naftiko: 1.0.0-alpha2 info: label: EOR Endpoints — subpackage_eorProjectAssignment description: 'EOR Endpoints — subpackage_eorProjectAssignment. 4 operations. Lead operation: Fetch EOR project assignment PDF. Self-contained Naftiko capability covering one Deel business surface.' tags: - Deel - subpackage_eorProjectAssignment created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: DEEL_API_KEY: DEEL_API_KEY capability: consumes: - type: http namespace: eor-endpoints-subpackage-eorprojectassignment baseUri: https://api.letsdeel.com/rest/v2 description: EOR Endpoints — subpackage_eorProjectAssignment business capability. Self-contained, no shared references. resources: - name: eor-contracts-contract_id-project-assignment path: /eor/contracts/{contract_id}/project-assignment operations: - name: getprojectassignment method: GET description: Fetch EOR project assignment PDF outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: contract_id in: path type: string description: The unique identifier of the employee contract. required: true - name: version in: query type: string description: This field is to ensure that the latest version of the project assignment PDF matches the version received from the webhook. If it is not sent, the version vali - name: Authorization in: header type: string description: '## Authentication' required: true - name: eor-contracts-contract_id-project-assignment-accept path: /eor/contracts/{contract_id}/project-assignment/accept operations: - name: acceptprojectassignment method: POST description: Accept EOR project assignment as client outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: contract_id in: path type: string description: The unique identifier of the employee contract. 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-contracts-contract_id-project-assignment-checkin path: /eor/contracts/{contract_id}/project-assignment/checkin operations: - name: getprojectassignmentcheckin method: GET description: Fetch Project Assignment Checkin Questionnaire Data outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: contract_id in: path type: string description: The unique identifier of the contract. required: true - name: version in: query type: string description: 'This field is to ensure that the latest version of the project assignment checkin matches the version received from the webhook. If it is not sent, the version ' - name: Authorization in: header type: string description: '## Authentication' required: true - name: checkinprojectassignment method: POST description: Submit Project Assignment Checkin Questionnaire Data outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: contract_id in: path type: string description: The unique identifier of the contract. required: true - name: Authorization in: header type: string description: '## Authentication' required: true - name: body in: body type: object description: Request body (JSON). required: false authentication: type: bearer token: '{{env.DEEL_API_KEY}}' exposes: - type: rest namespace: eor-endpoints-subpackage-eorprojectassignment-rest port: 8080 description: REST adapter for EOR Endpoints — subpackage_eorProjectAssignment. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/eor/contracts/{contract-id}/project-assignment name: eor-contracts-contract-id-project-assignment description: REST surface for eor-contracts-contract_id-project-assignment. operations: - method: GET name: getprojectassignment description: Fetch EOR project assignment PDF call: eor-endpoints-subpackage-eorprojectassignment.getprojectassignment with: contract_id: rest.contract_id version: rest.version Authorization: rest.Authorization outputParameters: - type: object mapping: $. - path: /v1/eor/contracts/{contract-id}/project-assignment/accept name: eor-contracts-contract-id-project-assignment-accept description: REST surface for eor-contracts-contract_id-project-assignment-accept. operations: - method: POST name: acceptprojectassignment description: Accept EOR project assignment as client call: eor-endpoints-subpackage-eorprojectassignment.acceptprojectassignment with: contract_id: rest.contract_id Authorization: rest.Authorization body: rest.body outputParameters: - type: object mapping: $. - path: /v1/eor/contracts/{contract-id}/project-assignment/checkin name: eor-contracts-contract-id-project-assignment-checkin description: REST surface for eor-contracts-contract_id-project-assignment-checkin. operations: - method: GET name: getprojectassignmentcheckin description: Fetch Project Assignment Checkin Questionnaire Data call: eor-endpoints-subpackage-eorprojectassignment.getprojectassignmentcheckin with: contract_id: rest.contract_id version: rest.version Authorization: rest.Authorization outputParameters: - type: object mapping: $. - method: POST name: checkinprojectassignment description: Submit Project Assignment Checkin Questionnaire Data call: eor-endpoints-subpackage-eorprojectassignment.checkinprojectassignment with: contract_id: rest.contract_id Authorization: rest.Authorization body: rest.body outputParameters: - type: object mapping: $. - type: mcp namespace: eor-endpoints-subpackage-eorprojectassignment-mcp port: 9090 transport: http description: MCP adapter for EOR Endpoints — subpackage_eorProjectAssignment. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: fetch-eor-project-assignment-pdf description: Fetch EOR project assignment PDF hints: readOnly: true destructive: false idempotent: true call: eor-endpoints-subpackage-eorprojectassignment.getprojectassignment with: contract_id: tools.contract_id version: tools.version Authorization: tools.Authorization outputParameters: - type: object mapping: $. - name: accept-eor-project-assignment-client description: Accept EOR project assignment as client hints: readOnly: false destructive: false idempotent: false call: eor-endpoints-subpackage-eorprojectassignment.acceptprojectassignment with: contract_id: tools.contract_id Authorization: tools.Authorization body: tools.body outputParameters: - type: object mapping: $. - name: fetch-project-assignment-checkin-questionnaire description: Fetch Project Assignment Checkin Questionnaire Data hints: readOnly: true destructive: false idempotent: true call: eor-endpoints-subpackage-eorprojectassignment.getprojectassignmentcheckin with: contract_id: tools.contract_id version: tools.version Authorization: tools.Authorization outputParameters: - type: object mapping: $. - name: submit-project-assignment-checkin-questionnaire description: Submit Project Assignment Checkin Questionnaire Data hints: readOnly: false destructive: false idempotent: false call: eor-endpoints-subpackage-eorprojectassignment.checkinprojectassignment with: contract_id: tools.contract_id Authorization: tools.Authorization body: tools.body outputParameters: - type: object mapping: $.