naftiko: 1.0.0-alpha2 info: label: Salesloft — External Id Mapping description: 'Salesloft — External Id Mapping. 3 operations. Lead operation: Salesloft List Team Mappings. Self-contained Naftiko capability covering one Salesloft business surface.' tags: - Salesloft - External Id Mapping created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: SALESLOFT_API_KEY: SALESLOFT_API_KEY capability: consumes: - type: http namespace: salesloft-external-id-mapping baseUri: http://{{salesloft_api_base_url}} description: Salesloft — External Id Mapping business capability. Self-contained, no shared references. resources: - name: external-configurations path: /external/configurations operations: - name: get method: GET description: Salesloft List Team Mappings outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: per_page in: query type: string - name: page in: query type: string - name: include_paging_counts in: query type: string - name: sort_by in: query type: string - name: sort_direction in: query type: string - name: external_type in: query type: string - name: deleted in: query type: string - name: external_id in: query type: string - name: object_type in: query type: string - name: object_id in: query type: string - name: external-mappings-id path: /external/mappings/{id} operations: - name: delete method: DELETE description: Salesloft Delete a Mapping outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: id in: path type: string required: true - name: mappings path: /mappings operations: - name: post method: POST description: Salesloft Create a Mapping outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: false authentication: type: bearer token: '{{env.SALESLOFT_API_KEY}}' exposes: - type: rest namespace: salesloft-external-id-mapping-rest port: 8080 description: REST adapter for Salesloft — External Id Mapping. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/external/configurations name: external-configurations description: REST surface for external-configurations. operations: - method: GET name: get description: Salesloft List Team Mappings call: salesloft-external-id-mapping.get with: per_page: rest.per_page page: rest.page include_paging_counts: rest.include_paging_counts sort_by: rest.sort_by sort_direction: rest.sort_direction external_type: rest.external_type deleted: rest.deleted external_id: rest.external_id object_type: rest.object_type object_id: rest.object_id outputParameters: - type: object mapping: $. - path: /v1/external/mappings/{id} name: external-mappings-id description: REST surface for external-mappings-id. operations: - method: DELETE name: delete description: Salesloft Delete a Mapping call: salesloft-external-id-mapping.delete with: id: rest.id outputParameters: - type: object mapping: $. - path: /v1/mappings name: mappings description: REST surface for mappings. operations: - method: POST name: post description: Salesloft Create a Mapping call: salesloft-external-id-mapping.post with: body: rest.body outputParameters: - type: object mapping: $. - type: mcp namespace: salesloft-external-id-mapping-mcp port: 9090 transport: http description: MCP adapter for Salesloft — External Id Mapping. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: salesloft-list-team-mappings description: Salesloft List Team Mappings hints: readOnly: true destructive: false idempotent: true call: salesloft-external-id-mapping.get with: per_page: tools.per_page page: tools.page include_paging_counts: tools.include_paging_counts sort_by: tools.sort_by sort_direction: tools.sort_direction external_type: tools.external_type deleted: tools.deleted external_id: tools.external_id object_type: tools.object_type object_id: tools.object_id outputParameters: - type: object mapping: $. - name: salesloft-delete-mapping description: Salesloft Delete a Mapping hints: readOnly: false destructive: true idempotent: true call: salesloft-external-id-mapping.delete with: id: tools.id outputParameters: - type: object mapping: $. - name: salesloft-create-mapping description: Salesloft Create a Mapping hints: readOnly: false destructive: false idempotent: false call: salesloft-external-id-mapping.post with: body: tools.body outputParameters: - type: object mapping: $.