naftiko: 1.0.0-alpha2 info: label: Workday Payroll Input API — Payroll Adjustments description: 'Workday Payroll Input API — Payroll Adjustments. 3 operations. Lead operation: Workday Payroll List Payroll Adjustments. Self-contained Naftiko capability covering one Workday Payroll business surface.' tags: - Workday Payroll - Payroll Adjustments created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: WORKDAY_PAYROLL_API_KEY: WORKDAY_PAYROLL_API_KEY capability: consumes: - type: http namespace: payroll-input-payroll-adjustments baseUri: https://api.workday.com/payroll-input/v1 description: Workday Payroll Input API — Payroll Adjustments business capability. Self-contained, no shared references. resources: - name: adjustments path: /adjustments operations: - name: listpayrolladjustments method: GET description: Workday Payroll List Payroll Adjustments outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: workerId in: query type: string description: Filter by worker identifier - name: adjustmentType in: query type: string description: Filter by adjustment type - name: createpayrolladjustment method: POST description: Workday Payroll Create a Payroll Adjustment outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: adjustments-adjustmentId path: /adjustments/{adjustmentId} operations: - name: getpayrolladjustment method: GET description: Workday Payroll Get a Payroll Adjustment outputRawFormat: json outputParameters: - name: result type: object value: $. authentication: type: bearer token: '{{env.WORKDAY_PAYROLL_API_KEY}}' exposes: - type: rest namespace: payroll-input-payroll-adjustments-rest port: 8080 description: REST adapter for Workday Payroll Input API — Payroll Adjustments. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/adjustments name: adjustments description: REST surface for adjustments. operations: - method: GET name: listpayrolladjustments description: Workday Payroll List Payroll Adjustments call: payroll-input-payroll-adjustments.listpayrolladjustments with: workerId: rest.workerId adjustmentType: rest.adjustmentType outputParameters: - type: object mapping: $. - method: POST name: createpayrolladjustment description: Workday Payroll Create a Payroll Adjustment call: payroll-input-payroll-adjustments.createpayrolladjustment with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/adjustments/{adjustmentid} name: adjustments-adjustmentid description: REST surface for adjustments-adjustmentId. operations: - method: GET name: getpayrolladjustment description: Workday Payroll Get a Payroll Adjustment call: payroll-input-payroll-adjustments.getpayrolladjustment outputParameters: - type: object mapping: $. - type: mcp namespace: payroll-input-payroll-adjustments-mcp port: 9090 transport: http description: MCP adapter for Workday Payroll Input API — Payroll Adjustments. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: workday-payroll-list-payroll-adjustments description: Workday Payroll List Payroll Adjustments hints: readOnly: true destructive: false idempotent: true call: payroll-input-payroll-adjustments.listpayrolladjustments with: workerId: tools.workerId adjustmentType: tools.adjustmentType outputParameters: - type: object mapping: $. - name: workday-payroll-create-payroll-adjustment description: Workday Payroll Create a Payroll Adjustment hints: readOnly: false destructive: false idempotent: false call: payroll-input-payroll-adjustments.createpayrolladjustment with: body: tools.body outputParameters: - type: object mapping: $. - name: workday-payroll-get-payroll-adjustment description: Workday Payroll Get a Payroll Adjustment hints: readOnly: true destructive: false idempotent: true call: payroll-input-payroll-adjustments.getpayrolladjustment outputParameters: - type: object mapping: $.