naftiko: 1.0.0-alpha2 info: label: Customer Management — customer description: 'Customer Management — customer. 5 operations. Lead operation: TM Forum List or Find Customer Objects. Self-contained Naftiko capability covering one Tm Forum business surface.' tags: - Tm Forum - customer created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: TM_FORUM_API_KEY: TM_FORUM_API_KEY capability: consumes: - type: http namespace: tmf629-customer-management-customer baseUri: '' description: Customer Management — customer business capability. Self-contained, no shared references. resources: - name: customer path: /customer operations: - name: listcustomer method: GET description: TM Forum List or Find Customer Objects outputRawFormat: json outputParameters: - name: result type: object value: $. - name: createcustomer method: POST description: TM Forum Creates a Customer outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: false - name: customer-id path: /customer/{id} operations: - name: retrievecustomer method: GET description: TM Forum Retrieves a Customer by ID outputRawFormat: json outputParameters: - name: result type: object value: $. - name: patchcustomer method: PATCH description: TM Forum Updates Partially a Customer outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: false - name: deletecustomer method: DELETE description: TM Forum Deletes a Customer outputRawFormat: json outputParameters: - name: result type: object value: $. exposes: - type: rest namespace: tmf629-customer-management-customer-rest port: 8080 description: REST adapter for Customer Management — customer. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/customer name: customer description: REST surface for customer. operations: - method: GET name: listcustomer description: TM Forum List or Find Customer Objects call: tmf629-customer-management-customer.listcustomer outputParameters: - type: object mapping: $. - method: POST name: createcustomer description: TM Forum Creates a Customer call: tmf629-customer-management-customer.createcustomer with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/customer/{id} name: customer-id description: REST surface for customer-id. operations: - method: GET name: retrievecustomer description: TM Forum Retrieves a Customer by ID call: tmf629-customer-management-customer.retrievecustomer outputParameters: - type: object mapping: $. - method: PATCH name: patchcustomer description: TM Forum Updates Partially a Customer call: tmf629-customer-management-customer.patchcustomer with: body: rest.body outputParameters: - type: object mapping: $. - method: DELETE name: deletecustomer description: TM Forum Deletes a Customer call: tmf629-customer-management-customer.deletecustomer outputParameters: - type: object mapping: $. - type: mcp namespace: tmf629-customer-management-customer-mcp port: 9090 transport: http description: MCP adapter for Customer Management — customer. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: tm-forum-list-find-customer description: TM Forum List or Find Customer Objects hints: readOnly: true destructive: false idempotent: true call: tmf629-customer-management-customer.listcustomer outputParameters: - type: object mapping: $. - name: tm-forum-creates-customer description: TM Forum Creates a Customer hints: readOnly: false destructive: false idempotent: false call: tmf629-customer-management-customer.createcustomer with: body: tools.body outputParameters: - type: object mapping: $. - name: tm-forum-retrieves-customer-id description: TM Forum Retrieves a Customer by ID hints: readOnly: true destructive: false idempotent: true call: tmf629-customer-management-customer.retrievecustomer outputParameters: - type: object mapping: $. - name: tm-forum-updates-partially-customer description: TM Forum Updates Partially a Customer hints: readOnly: false destructive: false idempotent: true call: tmf629-customer-management-customer.patchcustomer with: body: tools.body outputParameters: - type: object mapping: $. - name: tm-forum-deletes-customer description: TM Forum Deletes a Customer hints: readOnly: false destructive: true idempotent: true call: tmf629-customer-management-customer.deletecustomer outputParameters: - type: object mapping: $.