naftiko: 1.0.0-alpha2 info: label: Telnyx API — SIM Card Orders description: 'Telnyx API — SIM Card Orders. 4 operations. Lead operation: Preview SIM card orders. Self-contained Naftiko capability covering one Telnyx business surface.' tags: - Telnyx - SIM Card Orders created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: TELNYX_API_KEY: TELNYX_API_KEY capability: consumes: - type: http namespace: telnyx-sim-card-orders baseUri: https://api.telnyx.com/v2 description: Telnyx API — SIM Card Orders business capability. Self-contained, no shared references. resources: - name: sim_card_order_preview path: /sim_card_order_preview operations: - name: previewsimcardorders method: POST description: Preview SIM card orders outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: false - name: sim_card_orders path: /sim_card_orders operations: - name: getsimcardorders method: GET description: Get all SIM card orders outputRawFormat: json outputParameters: - name: result type: object value: $. - name: createsimcardorder method: POST description: Create a SIM card order outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: sim_card_orders-id path: /sim_card_orders/{id} operations: - name: getsimcardorder method: GET description: Get a single SIM card order outputRawFormat: json outputParameters: - name: result type: object value: $. authentication: type: bearer token: '{{env.TELNYX_API_KEY}}' exposes: - type: rest namespace: telnyx-sim-card-orders-rest port: 8080 description: REST adapter for Telnyx API — SIM Card Orders. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/sim-card-order-preview name: sim-card-order-preview description: REST surface for sim_card_order_preview. operations: - method: POST name: previewsimcardorders description: Preview SIM card orders call: telnyx-sim-card-orders.previewsimcardorders with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/sim-card-orders name: sim-card-orders description: REST surface for sim_card_orders. operations: - method: GET name: getsimcardorders description: Get all SIM card orders call: telnyx-sim-card-orders.getsimcardorders outputParameters: - type: object mapping: $. - method: POST name: createsimcardorder description: Create a SIM card order call: telnyx-sim-card-orders.createsimcardorder with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/sim-card-orders/{id} name: sim-card-orders-id description: REST surface for sim_card_orders-id. operations: - method: GET name: getsimcardorder description: Get a single SIM card order call: telnyx-sim-card-orders.getsimcardorder outputParameters: - type: object mapping: $. - type: mcp namespace: telnyx-sim-card-orders-mcp port: 9090 transport: http description: MCP adapter for Telnyx API — SIM Card Orders. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: preview-sim-card-orders description: Preview SIM card orders hints: readOnly: false destructive: false idempotent: false call: telnyx-sim-card-orders.previewsimcardorders with: body: tools.body outputParameters: - type: object mapping: $. - name: get-all-sim-card-orders description: Get all SIM card orders hints: readOnly: true destructive: false idempotent: true call: telnyx-sim-card-orders.getsimcardorders outputParameters: - type: object mapping: $. - name: create-sim-card-order description: Create a SIM card order hints: readOnly: false destructive: false idempotent: false call: telnyx-sim-card-orders.createsimcardorder with: body: tools.body outputParameters: - type: object mapping: $. - name: get-single-sim-card-order description: Get a single SIM card order hints: readOnly: true destructive: false idempotent: true call: telnyx-sim-card-orders.getsimcardorder outputParameters: - type: object mapping: $.