naftiko: 1.0.0-alpha2 info: label: Telnyx API — Regulatory Requirements description: 'Telnyx API — Regulatory Requirements. 2 operations. Lead operation: Retrieve regulatory requirements for a list of phone numbers. Self-contained Naftiko capability covering one Telnyx business surface.' tags: - Telnyx - Regulatory Requirements created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: TELNYX_API_KEY: TELNYX_API_KEY capability: consumes: - type: http namespace: telnyx-regulatory-requirements baseUri: https://api.telnyx.com/v2 description: Telnyx API — Regulatory Requirements business capability. Self-contained, no shared references. resources: - name: phone_numbers_regulatory_requirements path: /phone_numbers_regulatory_requirements operations: - name: listregulatoryrequirementsphonenumbers method: GET description: Retrieve regulatory requirements for a list of phone numbers outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: filter in: query type: object description: 'Consolidated filter parameter (deepObject style). Originally: filter[phone_number]' - name: regulatory_requirements path: /regulatory_requirements operations: - name: listregulatoryrequirements method: GET description: Retrieve regulatory requirements outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: filter in: query type: object description: 'Consolidated filter parameter (deepObject style). Originally: filter[phone_number], filter[requirement_group_id], filter[country_code], filter[phone_number_type' authentication: type: bearer token: '{{env.TELNYX_API_KEY}}' exposes: - type: rest namespace: telnyx-regulatory-requirements-rest port: 8080 description: REST adapter for Telnyx API — Regulatory Requirements. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/phone-numbers-regulatory-requirements name: phone-numbers-regulatory-requirements description: REST surface for phone_numbers_regulatory_requirements. operations: - method: GET name: listregulatoryrequirementsphonenumbers description: Retrieve regulatory requirements for a list of phone numbers call: telnyx-regulatory-requirements.listregulatoryrequirementsphonenumbers with: filter: rest.filter outputParameters: - type: object mapping: $. - path: /v1/regulatory-requirements name: regulatory-requirements description: REST surface for regulatory_requirements. operations: - method: GET name: listregulatoryrequirements description: Retrieve regulatory requirements call: telnyx-regulatory-requirements.listregulatoryrequirements with: filter: rest.filter outputParameters: - type: object mapping: $. - type: mcp namespace: telnyx-regulatory-requirements-mcp port: 9090 transport: http description: MCP adapter for Telnyx API — Regulatory Requirements. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: retrieve-regulatory-requirements-list-phone description: Retrieve regulatory requirements for a list of phone numbers hints: readOnly: true destructive: false idempotent: true call: telnyx-regulatory-requirements.listregulatoryrequirementsphonenumbers with: filter: tools.filter outputParameters: - type: object mapping: $. - name: retrieve-regulatory-requirements description: Retrieve regulatory requirements hints: readOnly: true destructive: false idempotent: true call: telnyx-regulatory-requirements.listregulatoryrequirements with: filter: tools.filter outputParameters: - type: object mapping: $.