naftiko: 1.0.0-alpha2 info: label: Gong Data Privacy API — Data Privacy description: 'Gong Data Privacy API — Data Privacy. 4 operations. Lead operation: Gong Delete email address and associated data. Self-contained Naftiko capability covering one Gong business surface.' tags: - Gong - Data Privacy created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: GONG_API_KEY: GONG_API_KEY capability: consumes: - type: http namespace: data-privacy-data-privacy baseUri: https://api.gong.io/v2 description: Gong Data Privacy API — Data Privacy business capability. Self-contained, no shared references. resources: - name: data-privacy-email-delete path: /data-privacy/email-delete operations: - name: deleteemailaddressdata method: POST description: Gong Delete email address and associated data outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: data-privacy-email-references path: /data-privacy/email-references operations: - name: retrieveemailreferences method: GET description: Gong Retrieve email address references outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: emailAddress in: query type: string description: The email address to search for references. required: true - name: data-privacy-phone-delete path: /data-privacy/phone-delete operations: - name: deletephonenumberdata method: POST description: Gong Delete phone number and associated data outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: data-privacy-phone-references path: /data-privacy/phone-references operations: - name: retrievephonereferences method: GET description: Gong Retrieve phone number references outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: phoneNumber in: query type: string description: The phone number to search for references. required: true authentication: type: bearer token: '{{env.GONG_API_KEY}}' exposes: - type: rest namespace: data-privacy-data-privacy-rest port: 8080 description: REST adapter for Gong Data Privacy API — Data Privacy. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/data-privacy/email-delete name: data-privacy-email-delete description: REST surface for data-privacy-email-delete. operations: - method: POST name: deleteemailaddressdata description: Gong Delete email address and associated data call: data-privacy-data-privacy.deleteemailaddressdata with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/data-privacy/email-references name: data-privacy-email-references description: REST surface for data-privacy-email-references. operations: - method: GET name: retrieveemailreferences description: Gong Retrieve email address references call: data-privacy-data-privacy.retrieveemailreferences with: emailAddress: rest.emailAddress outputParameters: - type: object mapping: $. - path: /v1/data-privacy/phone-delete name: data-privacy-phone-delete description: REST surface for data-privacy-phone-delete. operations: - method: POST name: deletephonenumberdata description: Gong Delete phone number and associated data call: data-privacy-data-privacy.deletephonenumberdata with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/data-privacy/phone-references name: data-privacy-phone-references description: REST surface for data-privacy-phone-references. operations: - method: GET name: retrievephonereferences description: Gong Retrieve phone number references call: data-privacy-data-privacy.retrievephonereferences with: phoneNumber: rest.phoneNumber outputParameters: - type: object mapping: $. - type: mcp namespace: data-privacy-data-privacy-mcp port: 9090 transport: http description: MCP adapter for Gong Data Privacy API — Data Privacy. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: gong-delete-email-address-and description: Gong Delete email address and associated data hints: readOnly: false destructive: false idempotent: false call: data-privacy-data-privacy.deleteemailaddressdata with: body: tools.body outputParameters: - type: object mapping: $. - name: gong-retrieve-email-address-references description: Gong Retrieve email address references hints: readOnly: true destructive: false idempotent: true call: data-privacy-data-privacy.retrieveemailreferences with: emailAddress: tools.emailAddress outputParameters: - type: object mapping: $. - name: gong-delete-phone-number-and description: Gong Delete phone number and associated data hints: readOnly: false destructive: false idempotent: false call: data-privacy-data-privacy.deletephonenumberdata with: body: tools.body outputParameters: - type: object mapping: $. - name: gong-retrieve-phone-number-references description: Gong Retrieve phone number references hints: readOnly: true destructive: false idempotent: true call: data-privacy-data-privacy.retrievephonereferences with: phoneNumber: tools.phoneNumber outputParameters: - type: object mapping: $.