naftiko: 1.0.0-alpha2 info: label: Connector API — Account notes description: 'Connector API — Account notes. 4 operations. Lead operation: Add account notes. Self-contained Naftiko capability covering one Mews business surface.' tags: - Mews - Account notes created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: MEWS_API_KEY: MEWS_API_KEY capability: consumes: - type: http namespace: connector-account-notes baseUri: https://api.mews.com description: Connector API — Account notes business capability. Self-contained, no shared references. resources: - name: api-connector-v1-accountNotes-add path: /api/connector/v1/accountNotes/add operations: - name: accountnotesadd method: POST description: Add account notes 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-accountNotes-delete path: /api/connector/v1/accountNotes/delete operations: - name: accountnotesdelete method: POST description: Delete account notes 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-accountNotes-getAll path: /api/connector/v1/accountNotes/getAll operations: - name: accountnotesgetall method: POST description: Get all account notes 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-accountNotes-update path: /api/connector/v1/accountNotes/update operations: - name: accountnotesupdate method: POST description: Update account notes 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-account-notes-rest port: 8080 description: REST adapter for Connector API — Account notes. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/api/connector/v1/accountnotes/add name: api-connector-v1-accountnotes-add description: REST surface for api-connector-v1-accountNotes-add. operations: - method: POST name: accountnotesadd description: Add account notes call: connector-account-notes.accountnotesadd with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/api/connector/v1/accountnotes/delete name: api-connector-v1-accountnotes-delete description: REST surface for api-connector-v1-accountNotes-delete. operations: - method: POST name: accountnotesdelete description: Delete account notes call: connector-account-notes.accountnotesdelete with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/api/connector/v1/accountnotes/getall name: api-connector-v1-accountnotes-getall description: REST surface for api-connector-v1-accountNotes-getAll. operations: - method: POST name: accountnotesgetall description: Get all account notes call: connector-account-notes.accountnotesgetall with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/api/connector/v1/accountnotes/update name: api-connector-v1-accountnotes-update description: REST surface for api-connector-v1-accountNotes-update. operations: - method: POST name: accountnotesupdate description: Update account notes call: connector-account-notes.accountnotesupdate with: body: rest.body outputParameters: - type: object mapping: $. - type: mcp namespace: connector-account-notes-mcp port: 9090 transport: http description: MCP adapter for Connector API — Account notes. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: add-account-notes description: Add account notes hints: readOnly: false destructive: false idempotent: false call: connector-account-notes.accountnotesadd with: body: tools.body outputParameters: - type: object mapping: $. - name: delete-account-notes description: Delete account notes hints: readOnly: false destructive: false idempotent: false call: connector-account-notes.accountnotesdelete with: body: tools.body outputParameters: - type: object mapping: $. - name: get-all-account-notes description: Get all account notes hints: readOnly: true destructive: false idempotent: false call: connector-account-notes.accountnotesgetall with: body: tools.body outputParameters: - type: object mapping: $. - name: update-account-notes description: Update account notes hints: readOnly: false destructive: false idempotent: false call: connector-account-notes.accountnotesupdate with: body: tools.body outputParameters: - type: object mapping: $.