{"id":19190006,"url":"https://github.com/ixoncloud/app-afas-connector","last_synced_at":"2026-06-15T02:33:44.424Z","repository":{"id":207156640,"uuid":"718558877","full_name":"ixoncloud/app-afas-connector","owner":"ixoncloud","description":"https://marketplace.ixon.cloud/en/apps/afas-connector","archived":false,"fork":false,"pushed_at":"2026-01-21T11:11:35.000Z","size":64,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-01-21T21:31:43.036Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ixoncloud.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-11-14T10:35:03.000Z","updated_at":"2026-01-21T11:11:39.000Z","dependencies_parsed_at":"2024-11-09T11:34:00.132Z","dependency_job_id":"32ddd3a6-6dda-4f3b-be04-c809f3265c90","html_url":"https://github.com/ixoncloud/app-afas-connector","commit_stats":null,"previous_names":["ixoncloud/app-afas-connector"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/ixoncloud/app-afas-connector","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ixoncloud%2Fapp-afas-connector","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ixoncloud%2Fapp-afas-connector/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ixoncloud%2Fapp-afas-connector/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ixoncloud%2Fapp-afas-connector/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ixoncloud","download_url":"https://codeload.github.com/ixoncloud/app-afas-connector/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ixoncloud%2Fapp-afas-connector/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34345577,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-15T02:00:07.085Z","response_time":63,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-09T11:32:36.241Z","updated_at":"2026-06-15T02:33:44.395Z","avatar_url":"https://github.com/ixoncloud.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# AFAS Document Connector App\n\nThis workspace contains the AFAS Document Connector App for IXON Cloud. It can be used to present machine specific documentation per machine in the IXON Cloud. It is based on the [IXON Cloud Custom Component Development Kit](https://developer.ixon.cloud/docs/custom-components) and [IXON Cloud Backend Component Workspace](https://github.com/ixoncloud/backend-component-workspace). Note that this app is built with [Svelte](https://svelte.dev/), [Typescript](https://www.typescriptlang.org/), [SCSS](https://sass-lang.com/) and [Python](https://www.python.org/). It requires you to be familiar with the [Node.js](https://nodejs.org/) ecosystem.\n\n## Testing locally\n\nInstall the dependencies...\n\n```sh\nnpm install\n```\n\n...login to your IXON Cloud account...\n\n```sh\nnpx cdk login\n```\n\n...and run the simulator:\n\n```sh\nnpx cdk simulate calculate-single-value\n```\n\n...this opens the simulator app in a browser and builds the component in watch-mode, which means that any changes to the component source files will trigger a rebuild and will auto-reload the simulator.\n\nTo run the Cloud Functions call:\n\n```sh\nmake run\n```\n\n...no additional commands are required, as this is automatically sets up your virtual environment and installs dependencies.\n\n## Documentation\n\nTo check out docs and examples on how to develop an App, visit [Custom Component Development Docs](https://developer.ixon.cloud/docs/custom-components) and [Cloud Functions Development Docs](https://developer.ixon.cloud/docs/cloud-functions-introduction).\n\nThe [@ixon-cdk/runner](https://www.npmjs.com/package/@ixon-cdk/runner) page has a complete overview of all commands that can be run in a component workspace project.\n\n## Context config\n\n```json\n{\n  \"token\": \"\u003ctoken\u003e\u003cversion\u003e1\u003c/version\u003e\u003cdata\u003etoken123\u003c/data\u003e\u003c/token\u003e\",\n  \"environment_id\": \"123456\",\n  \"dossier_per_project_connector\": \"conn_1\",\n  \"files_per_dossier_connector\": \"conn_2\",\n  \"project_id_custom_field_id\": \"comSerialNo\",\n  \"webhook_url\": \"https://hooks.zapier.com/hooks/catch/x/y/\"\n}\n```\n\ntoken is used to authenticate to afas: https://help.afas.nl/help/EN/SE/App_Cnr_Rest_Token.htm\nenvironment_id is used to select the correct environment in afas\ndossier_per_project_connector is used to get the dossier id for the project in afas\nfiles_per_dossier_connector is used to get the files for the dossier in afas\nproject_id_custom_field_id is used to map the project in afas to the agent or asset in IXON Cloud\nwebhook_url is optional used for logging when the download button is clicked\n\nexample for dossier_per_project_connector response from afas:\n\n```json\n{\n  'skip': -1,\n  'take': -1,\n  'rows': [\n    {\n      Project': '1-XXXX',\n      'Type_dossieritem': 77,\n      'Omschrijving':\n      'Ixon dossieritem',\n      'Instuurdatum': '2023-04-20T13:48:50Z',\n      'Onderwerp': '1-XXXX Installation manual',\n      'Dossieritem_bijlage': True,\n      'Dossieritem': 80967\n    }\n  ]\n}\n```\n\nthe rows array is filtered on Project and Dossieritem afterwards\n\nexample for files_per_dossier_connector response from afas:\n\n```json\n{\n  \"skip\": -1,\n  \"take\": -1,\n  \"rows\": [\n    {\n      \"Bijlage-Id\": 85458,\n      \"Dossieritem\": 80967,\n      \"Bijlage\": \"B8C08F324E40328F9C8EC483AEAB44DE\",\n      \"Naam\": \"1-XXXX Installation manual.pdf\",\n      \"Bestandsgrootte\": 3866,\n      \"Type_dossieritem\": 64,\n      \"Nummer\": 2\n    }\n  ]\n}\n```\n\nthe rows array will be filtered on Dossieritem afterwards\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fixoncloud%2Fapp-afas-connector","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fixoncloud%2Fapp-afas-connector","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fixoncloud%2Fapp-afas-connector/lists"}