naftiko: 1.0.0-alpha2 info: label: Endpoints — subpackage_eorWorkerInformation description: 'Endpoints — subpackage_eorWorkerInformation. 4 operations. Lead operation: Add bank account. Self-contained Naftiko capability covering one Deel business surface.' tags: - Deel - subpackage_eorWorkerInformation 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-eorworkerinformation baseUri: https://api.letsdeel.com/rest/v2 description: Endpoints — subpackage_eorWorkerInformation business capability. Self-contained, no shared references. resources: - name: eor-workers-banks path: /eor/workers/banks operations: - name: createeorworkerbankaccount method: POST description: Add bank account outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: Authorization in: header type: string description: '## Authentication' required: true - name: body in: body type: object description: Request body (JSON). required: false - name: eor-workers-contracts-contract_id-additional-information path: /eor/workers/contracts/{contract_id}/additional-information operations: - name: creategpworkeradditionalinformation method: POST description: Add additional information outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: contract_id in: path type: string description: Deel contract id. required: true - name: Authorization in: header type: string description: '## Authentication' required: true - name: body in: body type: object description: Request body (JSON). required: false - name: updateeorworkeradditionalinformation method: PATCH description: Update additional information outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: contract_id in: path type: string description: Deel contract id. required: true - name: Authorization in: header type: string description: '## Authentication' required: true - name: body in: body type: object description: Request body (JSON). required: false - name: eor-workers-tax-documents path: /eor/workers/tax-documents operations: - name: geteorworkertaxdocuments method: GET description: List of tax documents for an employee outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - 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-eorworkerinformation-rest port: 8080 description: REST adapter for Endpoints — subpackage_eorWorkerInformation. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/eor/workers/banks name: eor-workers-banks description: REST surface for eor-workers-banks. operations: - method: POST name: createeorworkerbankaccount description: Add bank account call: platform-endpoints-subpackage-eorworkerinformation.createeorworkerbankaccount with: Authorization: rest.Authorization body: rest.body outputParameters: - type: object mapping: $. - path: /v1/eor/workers/contracts/{contract-id}/additional-information name: eor-workers-contracts-contract-id-additional-information description: REST surface for eor-workers-contracts-contract_id-additional-information. operations: - method: POST name: creategpworkeradditionalinformation description: Add additional information call: platform-endpoints-subpackage-eorworkerinformation.creategpworkeradditionalinformation with: contract_id: rest.contract_id Authorization: rest.Authorization body: rest.body outputParameters: - type: object mapping: $. - method: PATCH name: updateeorworkeradditionalinformation description: Update additional information call: platform-endpoints-subpackage-eorworkerinformation.updateeorworkeradditionalinformation with: contract_id: rest.contract_id Authorization: rest.Authorization body: rest.body outputParameters: - type: object mapping: $. - path: /v1/eor/workers/tax-documents name: eor-workers-tax-documents description: REST surface for eor-workers-tax-documents. operations: - method: GET name: geteorworkertaxdocuments description: List of tax documents for an employee call: platform-endpoints-subpackage-eorworkerinformation.geteorworkertaxdocuments with: Authorization: rest.Authorization outputParameters: - type: object mapping: $. - type: mcp namespace: platform-endpoints-subpackage-eorworkerinformation-mcp port: 9090 transport: http description: MCP adapter for Endpoints — subpackage_eorWorkerInformation. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: add-bank-account description: Add bank account hints: readOnly: false destructive: false idempotent: false call: platform-endpoints-subpackage-eorworkerinformation.createeorworkerbankaccount with: Authorization: tools.Authorization body: tools.body outputParameters: - type: object mapping: $. - name: add-additional-information description: Add additional information hints: readOnly: false destructive: false idempotent: false call: platform-endpoints-subpackage-eorworkerinformation.creategpworkeradditionalinformation with: contract_id: tools.contract_id Authorization: tools.Authorization body: tools.body outputParameters: - type: object mapping: $. - name: update-additional-information description: Update additional information hints: readOnly: false destructive: false idempotent: true call: platform-endpoints-subpackage-eorworkerinformation.updateeorworkeradditionalinformation with: contract_id: tools.contract_id Authorization: tools.Authorization body: tools.body outputParameters: - type: object mapping: $. - name: list-tax-documents-employee description: List of tax documents for an employee hints: readOnly: true destructive: false idempotent: true call: platform-endpoints-subpackage-eorworkerinformation.geteorworkertaxdocuments with: Authorization: tools.Authorization outputParameters: - type: object mapping: $.