naftiko: 1.0.0-alpha2 info: label: PeopleSoft CRM API — Sales description: 'PeopleSoft CRM API — Sales. 1 operations. Lead operation: PeopleSoft List Opportunities. Self-contained Naftiko capability covering one Peoplesoft business surface.' tags: - Peoplesoft - Sales created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: PEOPLESOFT_API_KEY: PEOPLESOFT_API_KEY capability: consumes: - type: http namespace: crm-sales baseUri: https://{hostname}:{port}/psft/api/crm/v1 description: PeopleSoft CRM API — Sales business capability. Self-contained, no shared references. resources: - name: sales-opportunities path: /sales/opportunities operations: - name: listopportunities method: GET description: PeopleSoft List Opportunities outputRawFormat: json outputParameters: - name: result type: object value: $. authentication: type: basic username: '{{env.PEOPLESOFT_USER}}' password: '{{env.PEOPLESOFT_PASS}}' exposes: - type: rest namespace: crm-sales-rest port: 8080 description: REST adapter for PeopleSoft CRM API — Sales. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/sales/opportunities name: sales-opportunities description: REST surface for sales-opportunities. operations: - method: GET name: listopportunities description: PeopleSoft List Opportunities call: crm-sales.listopportunities outputParameters: - type: object mapping: $. - type: mcp namespace: crm-sales-mcp port: 9090 transport: http description: MCP adapter for PeopleSoft CRM API — Sales. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: peoplesoft-list-opportunities description: PeopleSoft List Opportunities hints: readOnly: true destructive: false idempotent: true call: crm-sales.listopportunities outputParameters: - type: object mapping: $.