naftiko: 1.0.0-alpha2 info: label: Endpoints — subpackage_managers description: 'Endpoints — subpackage_managers. 2 operations. Lead operation: Create a Manager. Self-contained Naftiko capability covering one Deel business surface.' tags: - Deel - subpackage_managers created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: DEEL_API_KEY: DEEL_API_KEY capability: consumes: - type: http namespace: endpoints-1-subpackage-managers baseUri: https://api.letsdeel.com/rest/v2 description: Endpoints — subpackage_managers business capability. Self-contained, no shared references. resources: - name: managers path: /managers operations: - name: createmanager method: POST description: Create a Manager 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: getmanagers method: GET description: Retrieve List of Managers outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: limit in: query type: integer description: The number of records to return in the response. - name: offset in: query type: integer description: The offset or starting point for pagination. - name: Authorization in: header type: string description: '## Authentication' required: true authentication: type: bearer token: '{{env.DEEL_API_KEY}}' exposes: - type: rest namespace: endpoints-1-subpackage-managers-rest port: 8080 description: REST adapter for Endpoints — subpackage_managers. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/managers name: managers description: REST surface for managers. operations: - method: POST name: createmanager description: Create a Manager call: endpoints-1-subpackage-managers.createmanager with: Authorization: rest.Authorization body: rest.body outputParameters: - type: object mapping: $. - method: GET name: getmanagers description: Retrieve List of Managers call: endpoints-1-subpackage-managers.getmanagers with: limit: rest.limit offset: rest.offset Authorization: rest.Authorization outputParameters: - type: object mapping: $. - type: mcp namespace: endpoints-1-subpackage-managers-mcp port: 9090 transport: http description: MCP adapter for Endpoints — subpackage_managers. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: create-manager description: Create a Manager hints: readOnly: false destructive: false idempotent: false call: endpoints-1-subpackage-managers.createmanager with: Authorization: tools.Authorization body: tools.body outputParameters: - type: object mapping: $. - name: retrieve-list-managers description: Retrieve List of Managers hints: readOnly: true destructive: false idempotent: true call: endpoints-1-subpackage-managers.getmanagers with: limit: tools.limit offset: tools.offset Authorization: tools.Authorization outputParameters: - type: object mapping: $.