naftiko: 1.0.0-alpha2 info: label: Endpoints — subpackage_deelAsAService description: 'Endpoints — subpackage_deelAsAService. 2 operations. Lead operation: Modify bank account for an EOR employee. Self-contained Naftiko capability covering one Deel business surface.' tags: - Deel - subpackage_deelAsAService 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-deelasaservice baseUri: https://api.letsdeel.com/rest/v2 description: Endpoints — subpackage_deelAsAService business capability. Self-contained, no shared references. resources: - name: daas-banks-bank_id path: /daas/banks/{bank_id} operations: - name: patcheorbankaccount method: PATCH description: Modify bank account for an EOR employee outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: bank_id in: path type: string description: Unique identifier for a bank in UUID format. 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: daas-payslips path: /daas/payslips operations: - name: geteoremployeepayslips method: GET description: Get list of payslips for an EOR 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-deelasaservice-rest port: 8080 description: REST adapter for Endpoints — subpackage_deelAsAService. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/daas/banks/{bank-id} name: daas-banks-bank-id description: REST surface for daas-banks-bank_id. operations: - method: PATCH name: patcheorbankaccount description: Modify bank account for an EOR employee call: platform-endpoints-subpackage-deelasaservice.patcheorbankaccount with: bank_id: rest.bank_id Authorization: rest.Authorization body: rest.body outputParameters: - type: object mapping: $. - path: /v1/daas/payslips name: daas-payslips description: REST surface for daas-payslips. operations: - method: GET name: geteoremployeepayslips description: Get list of payslips for an EOR employee call: platform-endpoints-subpackage-deelasaservice.geteoremployeepayslips with: Authorization: rest.Authorization outputParameters: - type: object mapping: $. - type: mcp namespace: platform-endpoints-subpackage-deelasaservice-mcp port: 9090 transport: http description: MCP adapter for Endpoints — subpackage_deelAsAService. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: modify-bank-account-eor-employee description: Modify bank account for an EOR employee hints: readOnly: false destructive: false idempotent: true call: platform-endpoints-subpackage-deelasaservice.patcheorbankaccount with: bank_id: tools.bank_id Authorization: tools.Authorization body: tools.body outputParameters: - type: object mapping: $. - name: get-list-payslips-eor-employee description: Get list of payslips for an EOR employee hints: readOnly: true destructive: false idempotent: true call: platform-endpoints-subpackage-deelasaservice.geteoremployeepayslips with: Authorization: tools.Authorization outputParameters: - type: object mapping: $.