naftiko: 1.0.0-alpha2 info: label: Endpoints — subpackage_magicLink description: 'Endpoints — subpackage_magicLink. 1 operations. Lead operation: Create magic link. Self-contained Naftiko capability covering one Deel business surface.' tags: - Deel - subpackage_magicLink 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-magiclink baseUri: https://api.letsdeel.com/rest/v2 description: Endpoints — subpackage_magicLink business capability. Self-contained, no shared references. resources: - name: magic-link path: /magic-link operations: - name: createmagiclink method: POST description: Create magic link 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 authentication: type: bearer token: '{{env.DEEL_API_KEY}}' exposes: - type: rest namespace: endpoints-1-subpackage-magiclink-rest port: 8080 description: REST adapter for Endpoints — subpackage_magicLink. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/magic-link name: magic-link description: REST surface for magic-link. operations: - method: POST name: createmagiclink description: Create magic link call: endpoints-1-subpackage-magiclink.createmagiclink with: Authorization: rest.Authorization body: rest.body outputParameters: - type: object mapping: $. - type: mcp namespace: endpoints-1-subpackage-magiclink-mcp port: 9090 transport: http description: MCP adapter for Endpoints — subpackage_magicLink. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: create-magic-link description: Create magic link hints: readOnly: false destructive: false idempotent: false call: endpoints-1-subpackage-magiclink.createmagiclink with: Authorization: tools.Authorization body: tools.body outputParameters: - type: object mapping: $.