naftiko: 1.0.0-alpha2 info: label: Connector API — Billing automations description: 'Connector API — Billing automations. 5 operations. Lead operation: Add billing automations. Self-contained Naftiko capability covering one Mews business surface.' tags: - Mews - Billing automations created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: MEWS_API_KEY: MEWS_API_KEY capability: consumes: - type: http namespace: connector-billing-automations baseUri: https://api.mews.com description: Connector API — Billing automations business capability. Self-contained, no shared references. resources: - name: api-connector-v1-billingAutomations-add path: /api/connector/v1/billingAutomations/add operations: - name: billingautomationsadd method: POST description: Add billing automations outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: false - name: api-connector-v1-billingAutomations-delete path: /api/connector/v1/billingAutomations/delete operations: - name: billingautomationsdelete method: POST description: Delete billing automations outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: false - name: api-connector-v1-billingAutomations-getAll path: /api/connector/v1/billingAutomations/getAll operations: - name: billingautomationsgetall method: POST description: Get all billing automations outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: false - name: api-connector-v1-billingAutomations-update path: /api/connector/v1/billingAutomations/update operations: - name: billingautomationsupdate method: POST description: Update billing automations outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: false - name: api-connector-v1-billingAutomations-updateAssignments path: /api/connector/v1/billingAutomations/updateAssignments operations: - name: billingautomationsupdateassignments method: POST description: Update billing automations assignments outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: false exposes: - type: rest namespace: connector-billing-automations-rest port: 8080 description: REST adapter for Connector API — Billing automations. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/api/connector/v1/billingautomations/add name: api-connector-v1-billingautomations-add description: REST surface for api-connector-v1-billingAutomations-add. operations: - method: POST name: billingautomationsadd description: Add billing automations call: connector-billing-automations.billingautomationsadd with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/api/connector/v1/billingautomations/delete name: api-connector-v1-billingautomations-delete description: REST surface for api-connector-v1-billingAutomations-delete. operations: - method: POST name: billingautomationsdelete description: Delete billing automations call: connector-billing-automations.billingautomationsdelete with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/api/connector/v1/billingautomations/getall name: api-connector-v1-billingautomations-getall description: REST surface for api-connector-v1-billingAutomations-getAll. operations: - method: POST name: billingautomationsgetall description: Get all billing automations call: connector-billing-automations.billingautomationsgetall with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/api/connector/v1/billingautomations/update name: api-connector-v1-billingautomations-update description: REST surface for api-connector-v1-billingAutomations-update. operations: - method: POST name: billingautomationsupdate description: Update billing automations call: connector-billing-automations.billingautomationsupdate with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/api/connector/v1/billingautomations/updateassignments name: api-connector-v1-billingautomations-updateassignments description: REST surface for api-connector-v1-billingAutomations-updateAssignments. operations: - method: POST name: billingautomationsupdateassignments description: Update billing automations assignments call: connector-billing-automations.billingautomationsupdateassignments with: body: rest.body outputParameters: - type: object mapping: $. - type: mcp namespace: connector-billing-automations-mcp port: 9090 transport: http description: MCP adapter for Connector API — Billing automations. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: add-billing-automations description: Add billing automations hints: readOnly: false destructive: false idempotent: false call: connector-billing-automations.billingautomationsadd with: body: tools.body outputParameters: - type: object mapping: $. - name: delete-billing-automations description: Delete billing automations hints: readOnly: false destructive: false idempotent: false call: connector-billing-automations.billingautomationsdelete with: body: tools.body outputParameters: - type: object mapping: $. - name: get-all-billing-automations description: Get all billing automations hints: readOnly: true destructive: false idempotent: false call: connector-billing-automations.billingautomationsgetall with: body: tools.body outputParameters: - type: object mapping: $. - name: update-billing-automations description: Update billing automations hints: readOnly: false destructive: false idempotent: false call: connector-billing-automations.billingautomationsupdate with: body: tools.body outputParameters: - type: object mapping: $. - name: update-billing-automations-assignments description: Update billing automations assignments hints: readOnly: false destructive: false idempotent: false call: connector-billing-automations.billingautomationsupdateassignments with: body: tools.body outputParameters: - type: object mapping: $.