naftiko: 1.0.0-alpha2 info: label: Workday Time Tracking API — Time Clock Events description: 'Workday Time Tracking API — Time Clock Events. 2 operations. Lead operation: List Time Clock Events. Self-contained Naftiko capability covering one Workday Tracking System business surface.' tags: - Workday Tracking System - Time Clock Events created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: WORKDAY_TRACKING_SYSTEM_API_KEY: WORKDAY_TRACKING_SYSTEM_API_KEY capability: consumes: - type: http namespace: time-tracking-time-clock-events baseUri: https://{tenant}.workday.com/api/time-tracking/v1 description: Workday Time Tracking API — Time Clock Events business capability. Self-contained, no shared references. resources: - name: workers-workerId-timeClockEvents path: /workers/{workerId}/timeClockEvents operations: - name: listtimeclockevents method: GET description: List Time Clock Events outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: workerId in: path type: string description: The Workday ID of the worker required: true - name: startDate in: query type: string description: Start date for event retrieval (YYYY-MM-DD) - name: endDate in: query type: string description: End date for event retrieval (YYYY-MM-DD) - name: createtimeclockevent method: POST description: Create Time Clock Event outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: workerId in: path type: string description: The Workday ID of the worker required: true - name: body in: body type: object description: Request body (JSON). required: true authentication: type: bearer token: '{{env.WORKDAY_TRACKING_SYSTEM_API_KEY}}' exposes: - type: rest namespace: time-tracking-time-clock-events-rest port: 8080 description: REST adapter for Workday Time Tracking API — Time Clock Events. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/workers/{workerid}/timeclockevents name: workers-workerid-timeclockevents description: REST surface for workers-workerId-timeClockEvents. operations: - method: GET name: listtimeclockevents description: List Time Clock Events call: time-tracking-time-clock-events.listtimeclockevents with: workerId: rest.workerId startDate: rest.startDate endDate: rest.endDate outputParameters: - type: object mapping: $. - method: POST name: createtimeclockevent description: Create Time Clock Event call: time-tracking-time-clock-events.createtimeclockevent with: workerId: rest.workerId body: rest.body outputParameters: - type: object mapping: $. - type: mcp namespace: time-tracking-time-clock-events-mcp port: 9090 transport: http description: MCP adapter for Workday Time Tracking API — Time Clock Events. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: list-time-clock-events description: List Time Clock Events hints: readOnly: true destructive: false idempotent: true call: time-tracking-time-clock-events.listtimeclockevents with: workerId: tools.workerId startDate: tools.startDate endDate: tools.endDate outputParameters: - type: object mapping: $. - name: create-time-clock-event description: Create Time Clock Event hints: readOnly: false destructive: false idempotent: false call: time-tracking-time-clock-events.createtimeclockevent with: workerId: tools.workerId body: tools.body outputParameters: - type: object mapping: $.