naftiko: 1.0.0-alpha2 info: label: Telnyx API — Push Credentials description: 'Telnyx API — Push Credentials. 4 operations. Lead operation: List mobile push credentials. Self-contained Naftiko capability covering one Telnyx business surface.' tags: - Telnyx - Push Credentials created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: TELNYX_API_KEY: TELNYX_API_KEY capability: consumes: - type: http namespace: telnyx-push-credentials baseUri: https://api.telnyx.com/v2 description: Telnyx API — Push Credentials business capability. Self-contained, no shared references. resources: - name: mobile_push_credentials path: /mobile_push_credentials operations: - name: listpushcredentials method: GET description: List mobile push credentials outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: filter in: query type: object description: 'Consolidated filter parameter (deepObject style). Originally: filter[type], filter[alias]' - name: createpushcredential method: POST description: Creates a new mobile push credential outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: mobile_push_credentials-push_credential_id path: /mobile_push_credentials/{push_credential_id} operations: - name: deletepushcredentialbyid method: DELETE description: Deletes a mobile push credential outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: push_credential_id in: path type: string description: The unique identifier of a mobile push credential required: true - name: getpushcredentialbyid method: GET description: Retrieves a mobile push credential outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: push_credential_id in: path type: string description: The unique identifier of a mobile push credential required: true authentication: type: bearer token: '{{env.TELNYX_API_KEY}}' exposes: - type: rest namespace: telnyx-push-credentials-rest port: 8080 description: REST adapter for Telnyx API — Push Credentials. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/mobile-push-credentials name: mobile-push-credentials description: REST surface for mobile_push_credentials. operations: - method: GET name: listpushcredentials description: List mobile push credentials call: telnyx-push-credentials.listpushcredentials with: filter: rest.filter outputParameters: - type: object mapping: $. - method: POST name: createpushcredential description: Creates a new mobile push credential call: telnyx-push-credentials.createpushcredential with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/mobile-push-credentials/{push-credential-id} name: mobile-push-credentials-push-credential-id description: REST surface for mobile_push_credentials-push_credential_id. operations: - method: DELETE name: deletepushcredentialbyid description: Deletes a mobile push credential call: telnyx-push-credentials.deletepushcredentialbyid with: push_credential_id: rest.push_credential_id outputParameters: - type: object mapping: $. - method: GET name: getpushcredentialbyid description: Retrieves a mobile push credential call: telnyx-push-credentials.getpushcredentialbyid with: push_credential_id: rest.push_credential_id outputParameters: - type: object mapping: $. - type: mcp namespace: telnyx-push-credentials-mcp port: 9090 transport: http description: MCP adapter for Telnyx API — Push Credentials. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: list-mobile-push-credentials description: List mobile push credentials hints: readOnly: true destructive: false idempotent: true call: telnyx-push-credentials.listpushcredentials with: filter: tools.filter outputParameters: - type: object mapping: $. - name: creates-new-mobile-push-credential description: Creates a new mobile push credential hints: readOnly: false destructive: false idempotent: false call: telnyx-push-credentials.createpushcredential with: body: tools.body outputParameters: - type: object mapping: $. - name: deletes-mobile-push-credential description: Deletes a mobile push credential hints: readOnly: false destructive: true idempotent: true call: telnyx-push-credentials.deletepushcredentialbyid with: push_credential_id: tools.push_credential_id outputParameters: - type: object mapping: $. - name: retrieves-mobile-push-credential description: Retrieves a mobile push credential hints: readOnly: true destructive: false idempotent: true call: telnyx-push-credentials.getpushcredentialbyid with: push_credential_id: tools.push_credential_id outputParameters: - type: object mapping: $.