naftiko: 1.0.0-alpha2 info: label: Endpoints — subpackage_orders description: 'Endpoints — subpackage_orders. 2 operations. Lead operation: List IT orders. Self-contained Naftiko capability covering one Deel business surface.' tags: - Deel - subpackage_orders created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: DEEL_API_KEY: DEEL_API_KEY capability: consumes: - type: http namespace: it-endpoints-subpackage-orders baseUri: https://api.letsdeel.com/rest/v2 description: Endpoints — subpackage_orders business capability. Self-contained, no shared references. resources: - name: it-orders path: /it/orders operations: - name: getitorders method: GET description: List IT orders outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: cursor in: query type: string description: Indicates where the next page of results starts, as returned in a paginated list response - name: limit in: query type: integer description: Return a page of results with given number of records - name: Authorization in: header type: string description: '## Authentication' required: true - name: it-orders-order_id path: /it/orders/{order_id} operations: - name: getitorderbyid method: GET description: Retrieve an IT order outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: order_id in: path type: string description: Unique identifier of the IT order required: true - name: Authorization in: header type: string description: '## Authentication' required: true authentication: type: bearer token: '{{env.DEEL_API_KEY}}' exposes: - type: rest namespace: it-endpoints-subpackage-orders-rest port: 8080 description: REST adapter for Endpoints — subpackage_orders. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/it/orders name: it-orders description: REST surface for it-orders. operations: - method: GET name: getitorders description: List IT orders call: it-endpoints-subpackage-orders.getitorders with: cursor: rest.cursor limit: rest.limit Authorization: rest.Authorization outputParameters: - type: object mapping: $. - path: /v1/it/orders/{order-id} name: it-orders-order-id description: REST surface for it-orders-order_id. operations: - method: GET name: getitorderbyid description: Retrieve an IT order call: it-endpoints-subpackage-orders.getitorderbyid with: order_id: rest.order_id Authorization: rest.Authorization outputParameters: - type: object mapping: $. - type: mcp namespace: it-endpoints-subpackage-orders-mcp port: 9090 transport: http description: MCP adapter for Endpoints — subpackage_orders. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: list-it-orders description: List IT orders hints: readOnly: true destructive: false idempotent: true call: it-endpoints-subpackage-orders.getitorders with: cursor: tools.cursor limit: tools.limit Authorization: tools.Authorization outputParameters: - type: object mapping: $. - name: retrieve-it-order description: Retrieve an IT order hints: readOnly: true destructive: false idempotent: true call: it-endpoints-subpackage-orders.getitorderbyid with: order_id: tools.order_id Authorization: tools.Authorization outputParameters: - type: object mapping: $.