naftiko: 1.0.0-alpha2 info: label: Salesforce — Managed description: 'Salesforce — Managed. 5 operations. Lead operation: Salesforce Create Managed Event Subscription. Self-contained Naftiko capability covering one Salesforce business surface.' tags: - Salesforce - Managed created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: SALESFORCE_API_KEY: SALESFORCE_API_KEY capability: consumes: - type: http namespace: salesforce-managed baseUri: https://login.salesforce.com description: Salesforce — Managed business capability. Self-contained, no shared references. resources: - name: data-v64.0-tooling-sobjects-ManagedEventSubscription path: /data/v64.0/tooling/sobjects/ManagedEventSubscription operations: - name: createmanagedeventsubscription method: POST description: Salesforce Create Managed Event Subscription outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: data-v64.0-tooling-sobjects-ManagedEventSubscription-describe path: /data/v64.0/tooling/sobjects/ManagedEventSubscription/describe operations: - name: describemanagedeventsubscription method: GET description: Salesforce Describe Managed Event Subscription outputRawFormat: json outputParameters: - name: result type: object value: $. - name: data-v64.0-tooling-sobjects-ManagedEventSubscription-managedEventSubscriptionId path: /data/v64.0/tooling/sobjects/ManagedEventSubscription/{managedEventSubscriptionId} operations: - name: getmanagedeventsubscriptionbyid method: GET description: Salesforce Get Managed Event Subscription by Id outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: managedEventSubscriptionId in: path type: string required: true - name: updatemanagedeventsubscription method: PATCH description: Salesforce Update Managed Event Subscription outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: managedEventSubscriptionId in: path type: string required: true - name: body in: body type: object description: Request body (JSON). required: true - name: deletemanagedeventsubscription method: DELETE description: Salesforce Delete Managed Event Subscription outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: managedEventSubscriptionId in: path type: string required: true authentication: type: bearer token: '{{env.SALESFORCE_API_KEY}}' exposes: - type: rest namespace: salesforce-managed-rest port: 8080 description: REST adapter for Salesforce — Managed. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/data/v64-0/tooling/sobjects/managedeventsubscription name: data-v64-0-tooling-sobjects-managedeventsubscription description: REST surface for data-v64.0-tooling-sobjects-ManagedEventSubscription. operations: - method: POST name: createmanagedeventsubscription description: Salesforce Create Managed Event Subscription call: salesforce-managed.createmanagedeventsubscription with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/data/v64-0/tooling/sobjects/managedeventsubscription/describe name: data-v64-0-tooling-sobjects-managedeventsubscription-describe description: REST surface for data-v64.0-tooling-sobjects-ManagedEventSubscription-describe. operations: - method: GET name: describemanagedeventsubscription description: Salesforce Describe Managed Event Subscription call: salesforce-managed.describemanagedeventsubscription outputParameters: - type: object mapping: $. - path: /v1/data/v64-0/tooling/sobjects/managedeventsubscription/{managedeventsubscriptionid} name: data-v64-0-tooling-sobjects-managedeventsubscription-managedeventsubscriptionid description: REST surface for data-v64.0-tooling-sobjects-ManagedEventSubscription-managedEventSubscriptionId. operations: - method: GET name: getmanagedeventsubscriptionbyid description: Salesforce Get Managed Event Subscription by Id call: salesforce-managed.getmanagedeventsubscriptionbyid with: managedEventSubscriptionId: rest.managedEventSubscriptionId outputParameters: - type: object mapping: $. - method: PATCH name: updatemanagedeventsubscription description: Salesforce Update Managed Event Subscription call: salesforce-managed.updatemanagedeventsubscription with: managedEventSubscriptionId: rest.managedEventSubscriptionId body: rest.body outputParameters: - type: object mapping: $. - method: DELETE name: deletemanagedeventsubscription description: Salesforce Delete Managed Event Subscription call: salesforce-managed.deletemanagedeventsubscription with: managedEventSubscriptionId: rest.managedEventSubscriptionId outputParameters: - type: object mapping: $. - type: mcp namespace: salesforce-managed-mcp port: 9090 transport: http description: MCP adapter for Salesforce — Managed. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: salesforce-create-managed-event-subscription description: Salesforce Create Managed Event Subscription hints: readOnly: false destructive: false idempotent: false call: salesforce-managed.createmanagedeventsubscription with: body: tools.body outputParameters: - type: object mapping: $. - name: salesforce-describe-managed-event-subscription description: Salesforce Describe Managed Event Subscription hints: readOnly: true destructive: false idempotent: true call: salesforce-managed.describemanagedeventsubscription outputParameters: - type: object mapping: $. - name: salesforce-get-managed-event-subscription description: Salesforce Get Managed Event Subscription by Id hints: readOnly: true destructive: false idempotent: true call: salesforce-managed.getmanagedeventsubscriptionbyid with: managedEventSubscriptionId: tools.managedEventSubscriptionId outputParameters: - type: object mapping: $. - name: salesforce-update-managed-event-subscription description: Salesforce Update Managed Event Subscription hints: readOnly: false destructive: false idempotent: true call: salesforce-managed.updatemanagedeventsubscription with: managedEventSubscriptionId: tools.managedEventSubscriptionId body: tools.body outputParameters: - type: object mapping: $. - name: salesforce-delete-managed-event-subscription description: Salesforce Delete Managed Event Subscription hints: readOnly: false destructive: true idempotent: true call: salesforce-managed.deletemanagedeventsubscription with: managedEventSubscriptionId: tools.managedEventSubscriptionId outputParameters: - type: object mapping: $.