naftiko: 1.0.0-alpha2 info: label: Salesforce Streaming API — PushTopics description: 'Salesforce Streaming API — PushTopics. 5 operations. Lead operation: List PushTopics. Self-contained Naftiko capability covering one Salesforce Automation business surface.' tags: - Salesforce Automation - PushTopics created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: SALESFORCE_AUTOMATION_API_KEY: SALESFORCE_AUTOMATION_API_KEY capability: consumes: - type: http namespace: salesforce-streaming-pushtopics baseUri: https://{instance}.salesforce.com/services/data/v63.0 description: Salesforce Streaming API — PushTopics business capability. Self-contained, no shared references. resources: - name: sobjects-PushTopic path: /sobjects/PushTopic operations: - name: listpushtopics method: GET description: List PushTopics outputRawFormat: json outputParameters: - name: result type: object value: $. - name: createpushtopic method: POST description: Create a PushTopic outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: sobjects-PushTopic-pushTopicId path: /sobjects/PushTopic/{pushTopicId} operations: - name: getpushtopic method: GET description: Get a PushTopic outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: pushTopicId in: path type: string required: true - name: updatepushtopic method: PATCH description: Update a PushTopic outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: pushTopicId in: path type: string required: true - name: body in: body type: object description: Request body (JSON). required: true - name: deletepushtopic method: DELETE description: Delete a PushTopic outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: pushTopicId in: path type: string required: true authentication: type: bearer token: '{{env.SALESFORCE_AUTOMATION_API_KEY}}' exposes: - type: rest namespace: salesforce-streaming-pushtopics-rest port: 8080 description: REST adapter for Salesforce Streaming API — PushTopics. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/sobjects/pushtopic name: sobjects-pushtopic description: REST surface for sobjects-PushTopic. operations: - method: GET name: listpushtopics description: List PushTopics call: salesforce-streaming-pushtopics.listpushtopics outputParameters: - type: object mapping: $. - method: POST name: createpushtopic description: Create a PushTopic call: salesforce-streaming-pushtopics.createpushtopic with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/sobjects/pushtopic/{pushtopicid} name: sobjects-pushtopic-pushtopicid description: REST surface for sobjects-PushTopic-pushTopicId. operations: - method: GET name: getpushtopic description: Get a PushTopic call: salesforce-streaming-pushtopics.getpushtopic with: pushTopicId: rest.pushTopicId outputParameters: - type: object mapping: $. - method: PATCH name: updatepushtopic description: Update a PushTopic call: salesforce-streaming-pushtopics.updatepushtopic with: pushTopicId: rest.pushTopicId body: rest.body outputParameters: - type: object mapping: $. - method: DELETE name: deletepushtopic description: Delete a PushTopic call: salesforce-streaming-pushtopics.deletepushtopic with: pushTopicId: rest.pushTopicId outputParameters: - type: object mapping: $. - type: mcp namespace: salesforce-streaming-pushtopics-mcp port: 9090 transport: http description: MCP adapter for Salesforce Streaming API — PushTopics. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: list-pushtopics description: List PushTopics hints: readOnly: true destructive: false idempotent: true call: salesforce-streaming-pushtopics.listpushtopics outputParameters: - type: object mapping: $. - name: create-pushtopic description: Create a PushTopic hints: readOnly: false destructive: false idempotent: false call: salesforce-streaming-pushtopics.createpushtopic with: body: tools.body outputParameters: - type: object mapping: $. - name: get-pushtopic description: Get a PushTopic hints: readOnly: true destructive: false idempotent: true call: salesforce-streaming-pushtopics.getpushtopic with: pushTopicId: tools.pushTopicId outputParameters: - type: object mapping: $. - name: update-pushtopic description: Update a PushTopic hints: readOnly: false destructive: false idempotent: true call: salesforce-streaming-pushtopics.updatepushtopic with: pushTopicId: tools.pushTopicId body: tools.body outputParameters: - type: object mapping: $. - name: delete-pushtopic description: Delete a PushTopic hints: readOnly: false destructive: true idempotent: true call: salesforce-streaming-pushtopics.deletepushtopic with: pushTopicId: tools.pushTopicId outputParameters: - type: object mapping: $.