naftiko: 1.0.0-alpha2 info: label: Telefónica SIM Swap API — SIM Swap description: 'Telefónica SIM Swap API — SIM Swap. 2 operations. Lead operation: Check SIM Swap. Self-contained Naftiko capability covering one Telefonica business surface.' tags: - Telefonica - SIM Swap created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: TELEFONICA_API_KEY: TELEFONICA_API_KEY capability: consumes: - type: http namespace: sim-swap-sim-swap baseUri: https://opengateway.telefonica.com/v1 description: Telefónica SIM Swap API — SIM Swap business capability. Self-contained, no shared references. resources: - name: sim-swap-check path: /sim-swap/check operations: - name: checksimswap method: POST description: Check SIM Swap outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: sim-swap-retrieve-date path: /sim-swap/retrieve-date operations: - name: getsimswapdate method: POST description: Get SIM Swap Date outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true exposes: - type: rest namespace: sim-swap-sim-swap-rest port: 8080 description: REST adapter for Telefónica SIM Swap API — SIM Swap. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/sim-swap/check name: sim-swap-check description: REST surface for sim-swap-check. operations: - method: POST name: checksimswap description: Check SIM Swap call: sim-swap-sim-swap.checksimswap with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/sim-swap/retrieve-date name: sim-swap-retrieve-date description: REST surface for sim-swap-retrieve-date. operations: - method: POST name: getsimswapdate description: Get SIM Swap Date call: sim-swap-sim-swap.getsimswapdate with: body: rest.body outputParameters: - type: object mapping: $. - type: mcp namespace: sim-swap-sim-swap-mcp port: 9090 transport: http description: MCP adapter for Telefónica SIM Swap API — SIM Swap. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: check-sim-swap description: Check SIM Swap hints: readOnly: true destructive: false idempotent: false call: sim-swap-sim-swap.checksimswap with: body: tools.body outputParameters: - type: object mapping: $. - name: get-sim-swap-date description: Get SIM Swap Date hints: readOnly: true destructive: false idempotent: false call: sim-swap-sim-swap.getsimswapdate with: body: tools.body outputParameters: - type: object mapping: $.