naftiko: 1.0.0-alpha2 info: label: Endpoints — subpackage_forms description: 'Endpoints — subpackage_forms. 2 operations. Lead operation: Fetch multiple EOR Contract forms. Self-contained Naftiko capability covering one Deel business surface.' tags: - Deel - subpackage_forms created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: DEEL_API_KEY: DEEL_API_KEY capability: consumes: - type: http namespace: platform-endpoints-subpackage-forms baseUri: https://api.letsdeel.com/rest/v2 description: Endpoints — subpackage_forms business capability. Self-contained, no shared references. resources: - name: forms-eor-create-contract-definitions path: /forms/eor/create-contract/definitions operations: - name: fetchmultipleeorcontractforms method: POST description: Fetch multiple EOR Contract forms outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: limit in: query type: integer description: Maximum number of countries to return in a single response. Defaults to 10. - name: cursor in: query type: string description: Pagination cursor for fetching subsequent pages of results. - name: Authorization in: header type: string description: '## Authentication' required: true - name: body in: body type: object description: Request body (JSON). required: false - name: forms-eor-worker-additional-fields-country_code path: /forms/eor/worker-additional-fields/{country_code} operations: - name: getworkeradditionalfieldsforeor method: GET description: Get worker additional fields for (EOR) outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: country_code in: path type: string description: Country code required: true - name: Authorization in: header type: string description: '## Authentication' required: true authentication: type: bearer token: '{{env.DEEL_API_KEY}}' exposes: - type: rest namespace: platform-endpoints-subpackage-forms-rest port: 8080 description: REST adapter for Endpoints — subpackage_forms. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/forms/eor/create-contract/definitions name: forms-eor-create-contract-definitions description: REST surface for forms-eor-create-contract-definitions. operations: - method: POST name: fetchmultipleeorcontractforms description: Fetch multiple EOR Contract forms call: platform-endpoints-subpackage-forms.fetchmultipleeorcontractforms with: limit: rest.limit cursor: rest.cursor Authorization: rest.Authorization body: rest.body outputParameters: - type: object mapping: $. - path: /v1/forms/eor/worker-additional-fields/{country-code} name: forms-eor-worker-additional-fields-country-code description: REST surface for forms-eor-worker-additional-fields-country_code. operations: - method: GET name: getworkeradditionalfieldsforeor description: Get worker additional fields for (EOR) call: platform-endpoints-subpackage-forms.getworkeradditionalfieldsforeor with: country_code: rest.country_code Authorization: rest.Authorization outputParameters: - type: object mapping: $. - type: mcp namespace: platform-endpoints-subpackage-forms-mcp port: 9090 transport: http description: MCP adapter for Endpoints — subpackage_forms. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: fetch-multiple-eor-contract-forms description: Fetch multiple EOR Contract forms hints: readOnly: true destructive: false idempotent: false call: platform-endpoints-subpackage-forms.fetchmultipleeorcontractforms with: limit: tools.limit cursor: tools.cursor Authorization: tools.Authorization body: tools.body outputParameters: - type: object mapping: $. - name: get-worker-additional-fields-eor description: Get worker additional fields for (EOR) hints: readOnly: true destructive: false idempotent: true call: platform-endpoints-subpackage-forms.getworkeradditionalfieldsforeor with: country_code: tools.country_code Authorization: tools.Authorization outputParameters: - type: object mapping: $.