naftiko: 1.0.0-alpha2 info: label: 1Password Partnership API — Accounts description: '1Password Partnership API — Accounts. 4 operations. Lead operation: 1Password Create a Partner Billing Account. Self-contained Naftiko capability covering one 1password business surface.' tags: - 1password - Accounts created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: 1PASSWORD_API_KEY: 1PASSWORD_API_KEY capability: consumes: - type: http namespace: partnership-accounts baseUri: https://billing.b5test.eu/api/v1 description: 1Password Partnership API — Accounts business capability. Self-contained, no shared references. resources: - name: partners-accounts path: /partners/accounts operations: - name: createpartneraccount method: POST description: 1Password Create a Partner Billing Account outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: partners-accounts-accountUid path: /partners/accounts/{accountUid} operations: - name: getpartneraccount method: GET description: 1Password Get Partner Billing Account Details outputRawFormat: json outputParameters: - name: result type: object value: $. - name: updatepartneraccount method: PATCH description: 1Password Update a Partner Billing Account outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: deletepartneraccount method: DELETE description: 1Password Delete a Partner Billing Account outputRawFormat: json outputParameters: - name: result type: object value: $. authentication: type: bearer token: '{{env.1PASSWORD_API_KEY}}' exposes: - type: rest namespace: partnership-accounts-rest port: 8080 description: REST adapter for 1Password Partnership API — Accounts. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/partners/accounts name: partners-accounts description: REST surface for partners-accounts. operations: - method: POST name: createpartneraccount description: 1Password Create a Partner Billing Account call: partnership-accounts.createpartneraccount with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/partners/accounts/{accountuid} name: partners-accounts-accountuid description: REST surface for partners-accounts-accountUid. operations: - method: GET name: getpartneraccount description: 1Password Get Partner Billing Account Details call: partnership-accounts.getpartneraccount outputParameters: - type: object mapping: $. - method: PATCH name: updatepartneraccount description: 1Password Update a Partner Billing Account call: partnership-accounts.updatepartneraccount with: body: rest.body outputParameters: - type: object mapping: $. - method: DELETE name: deletepartneraccount description: 1Password Delete a Partner Billing Account call: partnership-accounts.deletepartneraccount outputParameters: - type: object mapping: $. - type: mcp namespace: partnership-accounts-mcp port: 9090 transport: http description: MCP adapter for 1Password Partnership API — Accounts. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: 1password-create-partner-billing-account description: 1Password Create a Partner Billing Account hints: readOnly: false destructive: false idempotent: false call: partnership-accounts.createpartneraccount with: body: tools.body outputParameters: - type: object mapping: $. - name: 1password-get-partner-billing-account description: 1Password Get Partner Billing Account Details hints: readOnly: true destructive: false idempotent: true call: partnership-accounts.getpartneraccount outputParameters: - type: object mapping: $. - name: 1password-update-partner-billing-account description: 1Password Update a Partner Billing Account hints: readOnly: false destructive: false idempotent: true call: partnership-accounts.updatepartneraccount with: body: tools.body outputParameters: - type: object mapping: $. - name: 1password-delete-partner-billing-account description: 1Password Delete a Partner Billing Account hints: readOnly: false destructive: true idempotent: true call: partnership-accounts.deletepartneraccount outputParameters: - type: object mapping: $.