naftiko: 1.0.0-alpha2 info: label: Gong CRM API — CRM Integration description: 'Gong CRM API — CRM Integration. 3 operations. Lead operation: Gong Register a CRM integration. Self-contained Naftiko capability covering one Gong business surface.' tags: - Gong - CRM Integration created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: GONG_API_KEY: GONG_API_KEY capability: consumes: - type: http namespace: crm-crm-integration baseUri: https://api.gong.io/v2 description: Gong CRM API — CRM Integration business capability. Self-contained, no shared references. resources: - name: crm-integrations path: /crm/integrations operations: - name: registercrmintegration method: PUT description: Gong Register a CRM integration outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: getcrmintegrations method: GET description: Gong Get CRM integration details outputRawFormat: json outputParameters: - name: result type: object value: $. - name: deletecrmintegration method: DELETE description: Gong Delete a CRM integration outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: integrationId in: query type: string description: The unique identifier of the CRM integration to delete. required: true - name: clientRequestId in: query type: string description: A client-generated request ID for idempotency. authentication: type: bearer token: '{{env.GONG_API_KEY}}' exposes: - type: rest namespace: crm-crm-integration-rest port: 8080 description: REST adapter for Gong CRM API — CRM Integration. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/crm/integrations name: crm-integrations description: REST surface for crm-integrations. operations: - method: PUT name: registercrmintegration description: Gong Register a CRM integration call: crm-crm-integration.registercrmintegration with: body: rest.body outputParameters: - type: object mapping: $. - method: GET name: getcrmintegrations description: Gong Get CRM integration details call: crm-crm-integration.getcrmintegrations outputParameters: - type: object mapping: $. - method: DELETE name: deletecrmintegration description: Gong Delete a CRM integration call: crm-crm-integration.deletecrmintegration with: integrationId: rest.integrationId clientRequestId: rest.clientRequestId outputParameters: - type: object mapping: $. - type: mcp namespace: crm-crm-integration-mcp port: 9090 transport: http description: MCP adapter for Gong CRM API — CRM Integration. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: gong-register-crm-integration description: Gong Register a CRM integration hints: readOnly: false destructive: false idempotent: true call: crm-crm-integration.registercrmintegration with: body: tools.body outputParameters: - type: object mapping: $. - name: gong-get-crm-integration-details description: Gong Get CRM integration details hints: readOnly: true destructive: false idempotent: true call: crm-crm-integration.getcrmintegrations outputParameters: - type: object mapping: $. - name: gong-delete-crm-integration description: Gong Delete a CRM integration hints: readOnly: false destructive: true idempotent: true call: crm-crm-integration.deletecrmintegration with: integrationId: tools.integrationId clientRequestId: tools.clientRequestId outputParameters: - type: object mapping: $.