@rippling/rippling-sdk 0.2.0-alpha.86 → 0.2.0-alpha.88
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/client.d.mts +15 -0
- package/client.d.mts.map +1 -1
- package/client.d.ts +15 -0
- package/client.d.ts.map +1 -1
- package/client.js +15 -0
- package/client.js.map +1 -1
- package/client.mjs +15 -0
- package/client.mjs.map +1 -1
- package/lib/leave-programs/advanced.d.mts +5 -0
- package/lib/leave-programs/advanced.d.mts.map +1 -0
- package/lib/leave-programs/advanced.d.ts +5 -0
- package/lib/leave-programs/advanced.d.ts.map +1 -0
- package/lib/leave-programs/advanced.js +13 -0
- package/lib/leave-programs/advanced.js.map +1 -0
- package/lib/leave-programs/advanced.mjs +4 -0
- package/lib/leave-programs/advanced.mjs.map +1 -0
- package/lib/leave-programs/context.d.mts +3 -0
- package/lib/leave-programs/context.d.mts.map +1 -0
- package/lib/leave-programs/context.d.ts +3 -0
- package/lib/leave-programs/context.d.ts.map +1 -0
- package/lib/leave-programs/context.js +89 -0
- package/lib/leave-programs/context.js.map +1 -0
- package/lib/leave-programs/context.mjs +86 -0
- package/lib/leave-programs/context.mjs.map +1 -0
- package/lib/leave-programs/define-company-leave-program.d.mts +3 -0
- package/lib/leave-programs/define-company-leave-program.d.mts.map +1 -0
- package/lib/leave-programs/define-company-leave-program.d.ts +3 -0
- package/lib/leave-programs/define-company-leave-program.d.ts.map +1 -0
- package/lib/leave-programs/define-company-leave-program.js +47 -0
- package/lib/leave-programs/define-company-leave-program.js.map +1 -0
- package/lib/leave-programs/define-company-leave-program.mjs +44 -0
- package/lib/leave-programs/define-company-leave-program.mjs.map +1 -0
- package/lib/leave-programs/duration.d.mts +5 -0
- package/lib/leave-programs/duration.d.mts.map +1 -0
- package/lib/leave-programs/duration.d.ts +5 -0
- package/lib/leave-programs/duration.d.ts.map +1 -0
- package/lib/leave-programs/duration.js +21 -0
- package/lib/leave-programs/duration.js.map +1 -0
- package/lib/leave-programs/duration.mjs +16 -0
- package/lib/leave-programs/duration.mjs.map +1 -0
- package/lib/leave-programs/pay.d.mts +4 -0
- package/lib/leave-programs/pay.d.mts.map +1 -0
- package/lib/leave-programs/pay.d.ts +4 -0
- package/lib/leave-programs/pay.d.ts.map +1 -0
- package/lib/leave-programs/pay.js +20 -0
- package/lib/leave-programs/pay.js.map +1 -0
- package/lib/leave-programs/pay.mjs +16 -0
- package/lib/leave-programs/pay.mjs.map +1 -0
- package/lib/leave-programs/policy-builder.d.mts +20 -0
- package/lib/leave-programs/policy-builder.d.mts.map +1 -0
- package/lib/leave-programs/policy-builder.d.ts +20 -0
- package/lib/leave-programs/policy-builder.d.ts.map +1 -0
- package/lib/leave-programs/policy-builder.js +89 -0
- package/lib/leave-programs/policy-builder.js.map +1 -0
- package/lib/leave-programs/policy-builder.mjs +85 -0
- package/lib/leave-programs/policy-builder.mjs.map +1 -0
- package/lib/leave-programs/recipes/parental-top-up-policy.d.mts +25 -0
- package/lib/leave-programs/recipes/parental-top-up-policy.d.mts.map +1 -0
- package/lib/leave-programs/recipes/parental-top-up-policy.d.ts +25 -0
- package/lib/leave-programs/recipes/parental-top-up-policy.d.ts.map +1 -0
- package/lib/leave-programs/recipes/parental-top-up-policy.js +56 -0
- package/lib/leave-programs/recipes/parental-top-up-policy.js.map +1 -0
- package/lib/leave-programs/recipes/parental-top-up-policy.mjs +53 -0
- package/lib/leave-programs/recipes/parental-top-up-policy.mjs.map +1 -0
- package/lib/leave-programs/testing.d.mts +8 -0
- package/lib/leave-programs/testing.d.mts.map +1 -0
- package/lib/leave-programs/testing.d.ts +8 -0
- package/lib/leave-programs/testing.d.ts.map +1 -0
- package/lib/leave-programs/testing.js +11 -0
- package/lib/leave-programs/testing.js.map +1 -0
- package/lib/leave-programs/testing.mjs +7 -0
- package/lib/leave-programs/testing.mjs.map +1 -0
- package/lib/leave-programs/types.d.mts +223 -0
- package/lib/leave-programs/types.d.mts.map +1 -0
- package/lib/leave-programs/types.d.ts +223 -0
- package/lib/leave-programs/types.d.ts.map +1 -0
- package/lib/leave-programs/types.js +10 -0
- package/lib/leave-programs/types.js.map +1 -0
- package/lib/leave-programs/types.mjs +7 -0
- package/lib/leave-programs/types.mjs.map +1 -0
- package/lib/leave-programs.d.mts +7 -0
- package/lib/leave-programs.d.mts.map +1 -0
- package/lib/leave-programs.d.ts +7 -0
- package/lib/leave-programs.d.ts.map +1 -0
- package/lib/leave-programs.js +19 -0
- package/lib/leave-programs.js.map +1 -0
- package/lib/leave-programs.mjs +7 -0
- package/lib/leave-programs.mjs.map +1 -0
- package/package.json +1 -1
- package/resources/agents/agents.d.mts +208 -0
- package/resources/agents/agents.d.mts.map +1 -0
- package/resources/agents/agents.d.ts +208 -0
- package/resources/agents/agents.d.ts.map +1 -0
- package/resources/agents/agents.js +64 -0
- package/resources/agents/agents.js.map +1 -0
- package/resources/agents/agents.mjs +59 -0
- package/resources/agents/agents.mjs.map +1 -0
- package/resources/agents/deployments.d.mts +180 -0
- package/resources/agents/deployments.d.mts.map +1 -0
- package/resources/agents/deployments.d.ts +180 -0
- package/resources/agents/deployments.d.ts.map +1 -0
- package/resources/agents/deployments.js +32 -0
- package/resources/agents/deployments.js.map +1 -0
- package/resources/agents/deployments.mjs +28 -0
- package/resources/agents/deployments.mjs.map +1 -0
- package/resources/agents/index.d.mts +5 -0
- package/resources/agents/index.d.mts.map +1 -0
- package/resources/agents/index.d.ts +5 -0
- package/resources/agents/index.d.ts.map +1 -0
- package/resources/agents/index.js +13 -0
- package/resources/agents/index.js.map +1 -0
- package/resources/agents/index.mjs +6 -0
- package/resources/agents/index.mjs.map +1 -0
- package/resources/agents/sessions/events.d.mts +80 -0
- package/resources/agents/sessions/events.d.mts.map +1 -0
- package/resources/agents/sessions/events.d.ts +80 -0
- package/resources/agents/sessions/events.d.ts.map +1 -0
- package/resources/agents/sessions/events.js +19 -0
- package/resources/agents/sessions/events.js.map +1 -0
- package/resources/agents/sessions/events.mjs +15 -0
- package/resources/agents/sessions/events.mjs.map +1 -0
- package/resources/agents/sessions/index.d.mts +4 -0
- package/resources/agents/sessions/index.d.mts.map +1 -0
- package/resources/agents/sessions/index.d.ts +4 -0
- package/resources/agents/sessions/index.d.ts.map +1 -0
- package/resources/agents/sessions/index.js +11 -0
- package/resources/agents/sessions/index.js.map +1 -0
- package/resources/agents/sessions/index.mjs +5 -0
- package/resources/agents/sessions/index.mjs.map +1 -0
- package/resources/agents/sessions/messages.d.mts +60 -0
- package/resources/agents/sessions/messages.d.mts.map +1 -0
- package/resources/agents/sessions/messages.d.ts +60 -0
- package/resources/agents/sessions/messages.d.ts.map +1 -0
- package/resources/agents/sessions/messages.js +19 -0
- package/resources/agents/sessions/messages.js.map +1 -0
- package/resources/agents/sessions/messages.mjs +15 -0
- package/resources/agents/sessions/messages.mjs.map +1 -0
- package/resources/agents/sessions/sessions.d.mts +157 -0
- package/resources/agents/sessions/sessions.d.mts.map +1 -0
- package/resources/agents/sessions/sessions.d.ts +157 -0
- package/resources/agents/sessions/sessions.d.ts.map +1 -0
- package/resources/agents/sessions/sessions.js +48 -0
- package/resources/agents/sessions/sessions.js.map +1 -0
- package/resources/agents/sessions/sessions.mjs +43 -0
- package/resources/agents/sessions/sessions.mjs.map +1 -0
- package/resources/agents/sessions.d.mts +2 -0
- package/resources/agents/sessions.d.mts.map +1 -0
- package/resources/agents/sessions.d.ts +2 -0
- package/resources/agents/sessions.d.ts.map +1 -0
- package/resources/agents/sessions.js +6 -0
- package/resources/agents/sessions.js.map +1 -0
- package/resources/agents/sessions.mjs +3 -0
- package/resources/agents/sessions.mjs.map +1 -0
- package/resources/agents/source-revisions.d.mts +195 -0
- package/resources/agents/source-revisions.d.mts.map +1 -0
- package/resources/agents/source-revisions.d.ts +195 -0
- package/resources/agents/source-revisions.d.ts.map +1 -0
- package/resources/agents/source-revisions.js +32 -0
- package/resources/agents/source-revisions.js.map +1 -0
- package/resources/agents/source-revisions.mjs +28 -0
- package/resources/agents/source-revisions.mjs.map +1 -0
- package/resources/agents.d.mts +2 -0
- package/resources/agents.d.mts.map +1 -0
- package/resources/agents.d.ts +2 -0
- package/resources/agents.d.ts.map +1 -0
- package/resources/agents.js +6 -0
- package/resources/agents.js.map +1 -0
- package/resources/agents.mjs +3 -0
- package/resources/agents.mjs.map +1 -0
- package/resources/break-policies.d.mts +1 -1
- package/resources/break-policies.d.ts +1 -1
- package/resources/break-policies.js +1 -1
- package/resources/break-policies.mjs +1 -1
- package/resources/break-types.d.mts +1 -1
- package/resources/break-types.d.ts +1 -1
- package/resources/break-types.js +1 -1
- package/resources/break-types.mjs +1 -1
- package/resources/business-structure-paths.d.mts +1 -1
- package/resources/business-structure-paths.d.ts +1 -1
- package/resources/business-structure-paths.js +1 -1
- package/resources/business-structure-paths.mjs +1 -1
- package/resources/candidate-applications.d.mts +1 -1
- package/resources/candidate-applications.d.ts +1 -1
- package/resources/candidate-applications.js +1 -1
- package/resources/candidate-applications.mjs +1 -1
- package/resources/candidates.d.mts +1 -1
- package/resources/candidates.d.ts +1 -1
- package/resources/candidates.js +1 -1
- package/resources/candidates.mjs +1 -1
- package/resources/company-legal-entities.d.mts +1 -1
- package/resources/company-legal-entities.d.ts +1 -1
- package/resources/company-legal-entities.js +1 -1
- package/resources/company-legal-entities.mjs +1 -1
- package/resources/company-legal-entity-workers.d.mts +1 -1
- package/resources/company-legal-entity-workers.d.ts +1 -1
- package/resources/company-legal-entity-workers.js +1 -1
- package/resources/company-legal-entity-workers.mjs +1 -1
- package/resources/compensation-bands-details.d.mts +1 -1
- package/resources/compensation-bands-details.d.ts +1 -1
- package/resources/compensation-bands-details.js +1 -1
- package/resources/compensation-bands-details.mjs +1 -1
- package/resources/compensations.d.mts +1 -1
- package/resources/compensations.d.ts +1 -1
- package/resources/compensations.js +1 -1
- package/resources/compensations.mjs +1 -1
- package/resources/device-orders.d.mts +1 -1
- package/resources/device-orders.d.ts +1 -1
- package/resources/device-orders.js +1 -1
- package/resources/device-orders.mjs +1 -1
- package/resources/devices.d.mts +1 -1
- package/resources/devices.d.ts +1 -1
- package/resources/devices.js +1 -1
- package/resources/devices.mjs +1 -1
- package/resources/functions/deployments.d.mts +2 -2
- package/resources/functions/deployments.d.ts +2 -2
- package/resources/functions/deployments.js +2 -2
- package/resources/functions/deployments.mjs +2 -2
- package/resources/functions/executions.d.mts +2 -2
- package/resources/functions/executions.d.ts +2 -2
- package/resources/functions/executions.js +2 -2
- package/resources/functions/executions.mjs +2 -2
- package/resources/functions/functions.d.mts +1 -1
- package/resources/functions/functions.d.ts +1 -1
- package/resources/functions/functions.js +1 -1
- package/resources/functions/functions.mjs +1 -1
- package/resources/headcount-positions.d.mts +1 -1
- package/resources/headcount-positions.d.ts +1 -1
- package/resources/headcount-positions.js +1 -1
- package/resources/headcount-positions.mjs +1 -1
- package/resources/headcount-priorities.d.mts +1 -1
- package/resources/headcount-priorities.d.ts +1 -1
- package/resources/headcount-priorities.js +1 -1
- package/resources/headcount-priorities.mjs +1 -1
- package/resources/index.d.mts +3 -0
- package/resources/index.d.mts.map +1 -1
- package/resources/index.d.ts +3 -0
- package/resources/index.d.ts.map +1 -1
- package/resources/index.js +8 -2
- package/resources/index.js.map +1 -1
- package/resources/index.mjs +3 -0
- package/resources/index.mjs.map +1 -1
- package/resources/job-assignments.d.mts +2 -2
- package/resources/job-assignments.d.ts +2 -2
- package/resources/job-assignments.js +2 -2
- package/resources/job-assignments.mjs +2 -2
- package/resources/job-codes.d.mts +2 -2
- package/resources/job-codes.d.ts +2 -2
- package/resources/job-codes.js +2 -2
- package/resources/job-codes.mjs +2 -2
- package/resources/job-dimensions.d.mts +1 -1
- package/resources/job-dimensions.d.ts +1 -1
- package/resources/job-dimensions.js +1 -1
- package/resources/job-dimensions.mjs +1 -1
- package/resources/job-pay-rate-exceptions.d.mts +2 -2
- package/resources/job-pay-rate-exceptions.d.ts +2 -2
- package/resources/job-pay-rate-exceptions.js +2 -2
- package/resources/job-pay-rate-exceptions.mjs +2 -2
- package/resources/job-requisitions.d.mts +1 -1
- package/resources/job-requisitions.d.ts +1 -1
- package/resources/job-requisitions.js +1 -1
- package/resources/job-requisitions.mjs +1 -1
- package/resources/kiosk-badges.d.mts +1 -1
- package/resources/kiosk-badges.d.ts +1 -1
- package/resources/kiosk-badges.js +1 -1
- package/resources/kiosk-badges.mjs +1 -1
- package/resources/leave-accruals.d.mts +1 -1
- package/resources/leave-accruals.d.ts +1 -1
- package/resources/leave-accruals.js +1 -1
- package/resources/leave-accruals.mjs +1 -1
- package/resources/leave-balances.d.mts +1 -1
- package/resources/leave-balances.d.ts +1 -1
- package/resources/leave-balances.js +1 -1
- package/resources/leave-balances.mjs +1 -1
- package/resources/leave-program-evaluations.d.mts +5 -0
- package/resources/leave-program-evaluations.d.mts.map +1 -1
- package/resources/leave-program-evaluations.d.ts +5 -0
- package/resources/leave-program-evaluations.d.ts.map +1 -1
- package/resources/leave-requests.d.mts +1 -1
- package/resources/leave-requests.d.ts +1 -1
- package/resources/leave-requests.js +1 -1
- package/resources/leave-requests.mjs +1 -1
- package/resources/leave-types.d.mts +1 -1
- package/resources/leave-types.d.ts +1 -1
- package/resources/leave-types.js +1 -1
- package/resources/leave-types.mjs +1 -1
- package/resources/legal-entities.d.mts +1 -1
- package/resources/legal-entities.d.ts +1 -1
- package/resources/legal-entities.js +1 -1
- package/resources/legal-entities.mjs +1 -1
- package/resources/levels.d.mts +1 -1
- package/resources/levels.d.ts +1 -1
- package/resources/levels.js +1 -1
- package/resources/levels.mjs +1 -1
- package/resources/location-factors.d.mts +1 -1
- package/resources/location-factors.d.ts +1 -1
- package/resources/location-factors.js +1 -1
- package/resources/location-factors.mjs +1 -1
- package/resources/packages/index.d.mts +3 -0
- package/resources/packages/index.d.mts.map +1 -0
- package/resources/packages/index.d.ts +3 -0
- package/resources/packages/index.d.ts.map +1 -0
- package/resources/packages/index.js +9 -0
- package/resources/packages/index.js.map +1 -0
- package/resources/packages/index.mjs +4 -0
- package/resources/packages/index.mjs.map +1 -0
- package/resources/packages/packages.d.mts +239 -0
- package/resources/packages/packages.d.mts.map +1 -0
- package/resources/packages/packages.d.ts +239 -0
- package/resources/packages/packages.d.ts.map +1 -0
- package/resources/packages/packages.js +60 -0
- package/resources/packages/packages.js.map +1 -0
- package/resources/packages/packages.mjs +55 -0
- package/resources/packages/packages.mjs.map +1 -0
- package/resources/packages/versions.d.mts +72 -0
- package/resources/packages/versions.d.mts.map +1 -0
- package/resources/packages/versions.d.ts +72 -0
- package/resources/packages/versions.d.ts.map +1 -0
- package/resources/packages/versions.js +19 -0
- package/resources/packages/versions.js.map +1 -0
- package/resources/packages/versions.mjs +15 -0
- package/resources/packages/versions.mjs.map +1 -0
- package/resources/packages.d.mts +2 -0
- package/resources/packages.d.mts.map +1 -0
- package/resources/packages.d.ts +2 -0
- package/resources/packages.d.ts.map +1 -0
- package/resources/packages.js +6 -0
- package/resources/packages.js.map +1 -0
- package/resources/packages.mjs +3 -0
- package/resources/packages.mjs.map +1 -0
- package/resources/scheduled-job-assignments.d.mts +1 -1
- package/resources/scheduled-job-assignments.d.ts +1 -1
- package/resources/scheduled-job-assignments.js +1 -1
- package/resources/scheduled-job-assignments.mjs +1 -1
- package/resources/schedules.d.mts +1 -1
- package/resources/schedules.d.ts +1 -1
- package/resources/schedules.js +1 -1
- package/resources/schedules.mjs +1 -1
- package/resources/shift-assignments.d.mts +1 -1
- package/resources/shift-assignments.d.ts +1 -1
- package/resources/shift-assignments.js +1 -1
- package/resources/shift-assignments.mjs +1 -1
- package/resources/shift-inputs.d.mts +1 -1
- package/resources/shift-inputs.d.ts +1 -1
- package/resources/shift-inputs.js +1 -1
- package/resources/shift-inputs.mjs +1 -1
- package/resources/shiftassignments.d.mts +1 -1
- package/resources/shiftassignments.d.ts +1 -1
- package/resources/shiftassignments.js +1 -1
- package/resources/shiftassignments.mjs +1 -1
- package/resources/sites.d.mts +571 -0
- package/resources/sites.d.mts.map +1 -0
- package/resources/sites.d.ts +571 -0
- package/resources/sites.d.ts.map +1 -0
- package/resources/sites.js +151 -0
- package/resources/sites.js.map +1 -0
- package/resources/sites.mjs +147 -0
- package/resources/sites.mjs.map +1 -0
- package/resources/software-deployments.d.mts +1 -1
- package/resources/software-deployments.d.ts +1 -1
- package/resources/software-deployments.js +1 -1
- package/resources/software-deployments.mjs +1 -1
- package/resources/time-cards.d.mts +1 -1
- package/resources/time-cards.d.ts +1 -1
- package/resources/time-cards.js +1 -1
- package/resources/time-cards.mjs +1 -1
- package/resources/time-entries.d.mts +1 -1
- package/resources/time-entries.d.ts +1 -1
- package/resources/time-entries.js +1 -1
- package/resources/time-entries.mjs +1 -1
- package/resources/tracks.d.mts +1 -1
- package/resources/tracks.d.ts +1 -1
- package/resources/tracks.js +1 -1
- package/resources/tracks.mjs +1 -1
- package/resources/unassigned-shifts.d.mts +2 -2
- package/resources/unassigned-shifts.d.ts +2 -2
- package/resources/unassigned-shifts.js +2 -2
- package/resources/unassigned-shifts.mjs +2 -2
- package/resources/unassignedshifts.d.mts +1 -1
- package/resources/unassignedshifts.d.ts +1 -1
- package/resources/unassignedshifts.js +1 -1
- package/resources/unassignedshifts.mjs +1 -1
- package/resources/worker-time-splits.d.mts +1 -1
- package/resources/worker-time-splits.d.ts +1 -1
- package/resources/worker-time-splits.js +1 -1
- package/resources/worker-time-splits.mjs +1 -1
- package/src/client.ts +91 -0
- package/src/lib/leave-programs/README.md +160 -0
- package/src/lib/leave-programs/advanced.ts +11 -0
- package/src/lib/leave-programs/context.ts +101 -0
- package/src/lib/leave-programs/define-company-leave-program.ts +58 -0
- package/src/lib/leave-programs/duration.ts +20 -0
- package/src/lib/leave-programs/pay.ts +18 -0
- package/src/lib/leave-programs/policy-builder.ts +113 -0
- package/src/lib/leave-programs/recipes/parental-top-up-policy.ts +85 -0
- package/src/lib/leave-programs/testing.ts +16 -0
- package/src/lib/leave-programs/types.ts +274 -0
- package/src/lib/leave-programs.ts +35 -0
- package/src/resources/agents/agents.ts +340 -0
- package/src/resources/agents/deployments.ts +249 -0
- package/src/resources/agents/index.ts +40 -0
- package/src/resources/agents/sessions/events.ts +107 -0
- package/src/resources/agents/sessions/index.ts +13 -0
- package/src/resources/agents/sessions/messages.ts +83 -0
- package/src/resources/agents/sessions/sessions.ts +226 -0
- package/src/resources/agents/sessions.ts +3 -0
- package/src/resources/agents/source-revisions.ts +267 -0
- package/src/resources/agents.ts +3 -0
- package/src/resources/break-policies.ts +1 -1
- package/src/resources/break-types.ts +1 -1
- package/src/resources/business-structure-paths.ts +1 -1
- package/src/resources/candidate-applications.ts +1 -1
- package/src/resources/candidates.ts +1 -1
- package/src/resources/company-legal-entities.ts +1 -1
- package/src/resources/company-legal-entity-workers.ts +1 -1
- package/src/resources/compensation-bands-details.ts +1 -1
- package/src/resources/compensations.ts +1 -1
- package/src/resources/device-orders.ts +1 -1
- package/src/resources/devices.ts +1 -1
- package/src/resources/functions/deployments.ts +2 -2
- package/src/resources/functions/executions.ts +2 -2
- package/src/resources/functions/functions.ts +1 -1
- package/src/resources/headcount-positions.ts +1 -1
- package/src/resources/headcount-priorities.ts +1 -1
- package/src/resources/index.ts +38 -0
- package/src/resources/job-assignments.ts +2 -2
- package/src/resources/job-codes.ts +2 -2
- package/src/resources/job-dimensions.ts +1 -1
- package/src/resources/job-pay-rate-exceptions.ts +2 -2
- package/src/resources/job-requisitions.ts +1 -1
- package/src/resources/kiosk-badges.ts +1 -1
- package/src/resources/leave-accruals.ts +1 -1
- package/src/resources/leave-balances.ts +1 -1
- package/src/resources/leave-program-evaluations.ts +6 -0
- package/src/resources/leave-requests.ts +1 -1
- package/src/resources/leave-types.ts +1 -1
- package/src/resources/legal-entities.ts +1 -1
- package/src/resources/levels.ts +1 -1
- package/src/resources/location-factors.ts +1 -1
- package/src/resources/packages/index.ts +14 -0
- package/src/resources/packages/packages.ts +329 -0
- package/src/resources/packages/versions.ts +98 -0
- package/src/resources/packages.ts +3 -0
- package/src/resources/scheduled-job-assignments.ts +1 -1
- package/src/resources/schedules.ts +1 -1
- package/src/resources/shift-assignments.ts +1 -1
- package/src/resources/shift-inputs.ts +1 -1
- package/src/resources/shiftassignments.ts +1 -1
- package/src/resources/sites.ts +725 -0
- package/src/resources/software-deployments.ts +1 -1
- package/src/resources/time-cards.ts +1 -1
- package/src/resources/time-entries.ts +1 -1
- package/src/resources/tracks.ts +1 -1
- package/src/resources/unassigned-shifts.ts +2 -2
- package/src/resources/unassignedshifts.ts +1 -1
- package/src/resources/worker-time-splits.ts +1 -1
- package/src/version.ts +1 -1
- package/version.d.mts +1 -1
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/version.mjs +1 -1
|
@@ -0,0 +1,151 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
3
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
+
exports.Sites = void 0;
|
|
5
|
+
const resource_1 = require("../core/resource.js");
|
|
6
|
+
const pagination_1 = require("../core/pagination.js");
|
|
7
|
+
const headers_1 = require("../internal/headers.js");
|
|
8
|
+
const path_1 = require("../internal/utils/path.js");
|
|
9
|
+
class Sites extends resource_1.APIResource {
|
|
10
|
+
/**
|
|
11
|
+
* Retrieves sites that the user has view or edit access on. Optional query param
|
|
12
|
+
* name filters by case-insensitive substring on display name. Use GET
|
|
13
|
+
* /sites/{api_name}/ for an exact api_name lookup.
|
|
14
|
+
*
|
|
15
|
+
* @example
|
|
16
|
+
* ```ts
|
|
17
|
+
* // Automatically fetches more pages as needed.
|
|
18
|
+
* for await (const siteListResponse of client.sites.list()) {
|
|
19
|
+
* // ...
|
|
20
|
+
* }
|
|
21
|
+
* ```
|
|
22
|
+
*/
|
|
23
|
+
list(options) {
|
|
24
|
+
return this._client.getAPIList('/sites/', (pagination_1.PageCursorURL), options);
|
|
25
|
+
}
|
|
26
|
+
/**
|
|
27
|
+
* Create a new site from a staged upload.
|
|
28
|
+
*
|
|
29
|
+
* @example
|
|
30
|
+
* ```ts
|
|
31
|
+
* const site = await client.sites.create({
|
|
32
|
+
* api_name: 'my_portal',
|
|
33
|
+
* file_id: 'file_id_1',
|
|
34
|
+
* name: 'My Portal',
|
|
35
|
+
* entry_path: 'index.html',
|
|
36
|
+
* });
|
|
37
|
+
* ```
|
|
38
|
+
*/
|
|
39
|
+
create(body, options) {
|
|
40
|
+
return this._client.post('/sites/', { body, ...options });
|
|
41
|
+
}
|
|
42
|
+
/**
|
|
43
|
+
* Retrieve a specific site.
|
|
44
|
+
*
|
|
45
|
+
* @example
|
|
46
|
+
* ```ts
|
|
47
|
+
* const site = await client.sites.retrieve('employee_portal');
|
|
48
|
+
* ```
|
|
49
|
+
*/
|
|
50
|
+
retrieve(apiName, options) {
|
|
51
|
+
return this._client.get((0, path_1.path) `/sites/${apiName}/`, options);
|
|
52
|
+
}
|
|
53
|
+
/**
|
|
54
|
+
* Update a site. To replace the bundle, pass a file_id from
|
|
55
|
+
* upload-batches/presign.
|
|
56
|
+
*
|
|
57
|
+
* @example
|
|
58
|
+
* ```ts
|
|
59
|
+
* const site = await client.sites.update('employee_portal', {
|
|
60
|
+
* entry_path: 'index.html',
|
|
61
|
+
* file_id: 'file_id_1',
|
|
62
|
+
* name: 'My Portal',
|
|
63
|
+
* });
|
|
64
|
+
* ```
|
|
65
|
+
*/
|
|
66
|
+
update(apiName, body = {}, options) {
|
|
67
|
+
return this._client.patch((0, path_1.path) `/sites/${apiName}/`, { body, ...options });
|
|
68
|
+
}
|
|
69
|
+
/**
|
|
70
|
+
* Delete a site.
|
|
71
|
+
*
|
|
72
|
+
* @example
|
|
73
|
+
* ```ts
|
|
74
|
+
* await client.sites.delete('employee_portal');
|
|
75
|
+
* ```
|
|
76
|
+
*/
|
|
77
|
+
delete(apiName, options) {
|
|
78
|
+
return this._client.delete((0, path_1.path) `/sites/${apiName}/`, {
|
|
79
|
+
...options,
|
|
80
|
+
headers: (0, headers_1.buildHeaders)([{ Accept: '*/*' }, options?.headers]),
|
|
81
|
+
});
|
|
82
|
+
}
|
|
83
|
+
/**
|
|
84
|
+
* Create staged upload records and return presigned S3 POST credentials.
|
|
85
|
+
*
|
|
86
|
+
* @example
|
|
87
|
+
* ```ts
|
|
88
|
+
* const response = await client.sites.uploadBatchesPresign({
|
|
89
|
+
* file_intents: [
|
|
90
|
+
* { client_ref: 'index', file_name: 'index.html' },
|
|
91
|
+
* ],
|
|
92
|
+
* });
|
|
93
|
+
* ```
|
|
94
|
+
*/
|
|
95
|
+
uploadBatchesPresign(body, options) {
|
|
96
|
+
return this._client.post('/sites/upload-batches/presign/', { body, ...options });
|
|
97
|
+
}
|
|
98
|
+
/**
|
|
99
|
+
* List files and persisted directories from the active bundle manifest.
|
|
100
|
+
*
|
|
101
|
+
* @example
|
|
102
|
+
* ```ts
|
|
103
|
+
* const response = await client.sites.files(
|
|
104
|
+
* 'employee_portal',
|
|
105
|
+
* );
|
|
106
|
+
* ```
|
|
107
|
+
*/
|
|
108
|
+
files(apiName, query = {}, options) {
|
|
109
|
+
return this._client.get((0, path_1.path) `/sites/${apiName}/files/`, { query, ...options });
|
|
110
|
+
}
|
|
111
|
+
/**
|
|
112
|
+
* Apply file and directory operations atomically against the active bundle.
|
|
113
|
+
*
|
|
114
|
+
* @example
|
|
115
|
+
* ```ts
|
|
116
|
+
* const response = await client.sites.fileOperations('employee_portal', {
|
|
117
|
+
* base_bundle_id: 'bundle_id',
|
|
118
|
+
* operations: [
|
|
119
|
+
* {
|
|
120
|
+
* op: 'put',
|
|
121
|
+
* kind: 'file',
|
|
122
|
+
* path: 'assets/logo.png',
|
|
123
|
+
* file_id: 'file_id_1',
|
|
124
|
+
* },
|
|
125
|
+
* {
|
|
126
|
+
* op: 'put',
|
|
127
|
+
* kind: 'directory',
|
|
128
|
+
* path: 'assets/images',
|
|
129
|
+
* },
|
|
130
|
+
* {
|
|
131
|
+
* op: 'rename',
|
|
132
|
+
* kind: 'file',
|
|
133
|
+
* from_path: 'home.html',
|
|
134
|
+
* to_path: 'index.html',
|
|
135
|
+
* },
|
|
136
|
+
* {
|
|
137
|
+
* op: 'delete',
|
|
138
|
+
* kind: 'file',
|
|
139
|
+
* path: 'old.js',
|
|
140
|
+
* },
|
|
141
|
+
* ],
|
|
142
|
+
* entry_path: 'index.html',
|
|
143
|
+
* });
|
|
144
|
+
* ```
|
|
145
|
+
*/
|
|
146
|
+
fileOperations(apiName, body, options) {
|
|
147
|
+
return this._client.post((0, path_1.path) `/sites/${apiName}/file-operations/`, { body, ...options });
|
|
148
|
+
}
|
|
149
|
+
}
|
|
150
|
+
exports.Sites = Sites;
|
|
151
|
+
//# sourceMappingURL=sites.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sites.js","sourceRoot":"","sources":["../src/resources/sites.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,kDAA+C;AAG/C,sDAAgE;AAChE,oDAAmD;AAEnD,oDAA8C;AAE9C,MAAa,KAAM,SAAQ,sBAAW;IACpC;;;;;;;;;;;;OAYG;IACH,IAAI,CAAC,OAAwB;QAC3B,OAAO,IAAI,CAAC,OAAO,CAAC,UAAU,CAAC,SAAS,EAAE,CAAA,0BAA+B,CAAA,EAAE,OAAO,CAAC,CAAC;IACtF,CAAC;IAED;;;;;;;;;;;;OAYG;IACH,MAAM,CAAC,IAAsB,EAAE,OAAwB;QACrD,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,SAAS,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC5D,CAAC;IAED;;;;;;;OAOG;IACH,QAAQ,CAAC,OAAe,EAAE,OAAwB;QAChD,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAA,WAAI,EAAA,UAAU,OAAO,GAAG,EAAE,OAAO,CAAC,CAAC;IAC7D,CAAC;IAED;;;;;;;;;;;;OAYG;IACH,MAAM,CACJ,OAAe,EACf,OAA4C,EAAE,EAC9C,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,IAAA,WAAI,EAAA,UAAU,OAAO,GAAG,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC5E,CAAC;IAED;;;;;;;OAOG;IACH,MAAM,CAAC,OAAe,EAAE,OAAwB;QAC9C,OAAO,IAAI,CAAC,OAAO,CAAC,MAAM,CAAC,IAAA,WAAI,EAAA,UAAU,OAAO,GAAG,EAAE;YACnD,GAAG,OAAO;YACV,OAAO,EAAE,IAAA,sBAAY,EAAC,CAAC,EAAE,MAAM,EAAE,KAAK,EAAE,EAAE,OAAO,EAAE,OAAO,CAAC,CAAC;SAC7D,CAAC,CAAC;IACL,CAAC;IAED;;;;;;;;;;;OAWG;IACH,oBAAoB,CAClB,IAAoC,EACpC,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,gCAAgC,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACnF,CAAC;IAED;;;;;;;;;OASG;IACH,KAAK,CACH,OAAe,EACf,QAA4C,EAAE,EAC9C,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAA,WAAI,EAAA,UAAU,OAAO,SAAS,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACjF,CAAC;IAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OAkCG;IACH,cAAc,CACZ,OAAe,EACf,IAA8B,EAC9B,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,IAAA,WAAI,EAAA,UAAU,OAAO,mBAAmB,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC3F,CAAC;CACF;AAlKD,sBAkKC"}
|
|
@@ -0,0 +1,147 @@
|
|
|
1
|
+
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
+
import { APIResource } from "../core/resource.mjs";
|
|
3
|
+
import { PageCursorURL } from "../core/pagination.mjs";
|
|
4
|
+
import { buildHeaders } from "../internal/headers.mjs";
|
|
5
|
+
import { path } from "../internal/utils/path.mjs";
|
|
6
|
+
export class Sites extends APIResource {
|
|
7
|
+
/**
|
|
8
|
+
* Retrieves sites that the user has view or edit access on. Optional query param
|
|
9
|
+
* name filters by case-insensitive substring on display name. Use GET
|
|
10
|
+
* /sites/{api_name}/ for an exact api_name lookup.
|
|
11
|
+
*
|
|
12
|
+
* @example
|
|
13
|
+
* ```ts
|
|
14
|
+
* // Automatically fetches more pages as needed.
|
|
15
|
+
* for await (const siteListResponse of client.sites.list()) {
|
|
16
|
+
* // ...
|
|
17
|
+
* }
|
|
18
|
+
* ```
|
|
19
|
+
*/
|
|
20
|
+
list(options) {
|
|
21
|
+
return this._client.getAPIList('/sites/', (PageCursorURL), options);
|
|
22
|
+
}
|
|
23
|
+
/**
|
|
24
|
+
* Create a new site from a staged upload.
|
|
25
|
+
*
|
|
26
|
+
* @example
|
|
27
|
+
* ```ts
|
|
28
|
+
* const site = await client.sites.create({
|
|
29
|
+
* api_name: 'my_portal',
|
|
30
|
+
* file_id: 'file_id_1',
|
|
31
|
+
* name: 'My Portal',
|
|
32
|
+
* entry_path: 'index.html',
|
|
33
|
+
* });
|
|
34
|
+
* ```
|
|
35
|
+
*/
|
|
36
|
+
create(body, options) {
|
|
37
|
+
return this._client.post('/sites/', { body, ...options });
|
|
38
|
+
}
|
|
39
|
+
/**
|
|
40
|
+
* Retrieve a specific site.
|
|
41
|
+
*
|
|
42
|
+
* @example
|
|
43
|
+
* ```ts
|
|
44
|
+
* const site = await client.sites.retrieve('employee_portal');
|
|
45
|
+
* ```
|
|
46
|
+
*/
|
|
47
|
+
retrieve(apiName, options) {
|
|
48
|
+
return this._client.get(path `/sites/${apiName}/`, options);
|
|
49
|
+
}
|
|
50
|
+
/**
|
|
51
|
+
* Update a site. To replace the bundle, pass a file_id from
|
|
52
|
+
* upload-batches/presign.
|
|
53
|
+
*
|
|
54
|
+
* @example
|
|
55
|
+
* ```ts
|
|
56
|
+
* const site = await client.sites.update('employee_portal', {
|
|
57
|
+
* entry_path: 'index.html',
|
|
58
|
+
* file_id: 'file_id_1',
|
|
59
|
+
* name: 'My Portal',
|
|
60
|
+
* });
|
|
61
|
+
* ```
|
|
62
|
+
*/
|
|
63
|
+
update(apiName, body = {}, options) {
|
|
64
|
+
return this._client.patch(path `/sites/${apiName}/`, { body, ...options });
|
|
65
|
+
}
|
|
66
|
+
/**
|
|
67
|
+
* Delete a site.
|
|
68
|
+
*
|
|
69
|
+
* @example
|
|
70
|
+
* ```ts
|
|
71
|
+
* await client.sites.delete('employee_portal');
|
|
72
|
+
* ```
|
|
73
|
+
*/
|
|
74
|
+
delete(apiName, options) {
|
|
75
|
+
return this._client.delete(path `/sites/${apiName}/`, {
|
|
76
|
+
...options,
|
|
77
|
+
headers: buildHeaders([{ Accept: '*/*' }, options?.headers]),
|
|
78
|
+
});
|
|
79
|
+
}
|
|
80
|
+
/**
|
|
81
|
+
* Create staged upload records and return presigned S3 POST credentials.
|
|
82
|
+
*
|
|
83
|
+
* @example
|
|
84
|
+
* ```ts
|
|
85
|
+
* const response = await client.sites.uploadBatchesPresign({
|
|
86
|
+
* file_intents: [
|
|
87
|
+
* { client_ref: 'index', file_name: 'index.html' },
|
|
88
|
+
* ],
|
|
89
|
+
* });
|
|
90
|
+
* ```
|
|
91
|
+
*/
|
|
92
|
+
uploadBatchesPresign(body, options) {
|
|
93
|
+
return this._client.post('/sites/upload-batches/presign/', { body, ...options });
|
|
94
|
+
}
|
|
95
|
+
/**
|
|
96
|
+
* List files and persisted directories from the active bundle manifest.
|
|
97
|
+
*
|
|
98
|
+
* @example
|
|
99
|
+
* ```ts
|
|
100
|
+
* const response = await client.sites.files(
|
|
101
|
+
* 'employee_portal',
|
|
102
|
+
* );
|
|
103
|
+
* ```
|
|
104
|
+
*/
|
|
105
|
+
files(apiName, query = {}, options) {
|
|
106
|
+
return this._client.get(path `/sites/${apiName}/files/`, { query, ...options });
|
|
107
|
+
}
|
|
108
|
+
/**
|
|
109
|
+
* Apply file and directory operations atomically against the active bundle.
|
|
110
|
+
*
|
|
111
|
+
* @example
|
|
112
|
+
* ```ts
|
|
113
|
+
* const response = await client.sites.fileOperations('employee_portal', {
|
|
114
|
+
* base_bundle_id: 'bundle_id',
|
|
115
|
+
* operations: [
|
|
116
|
+
* {
|
|
117
|
+
* op: 'put',
|
|
118
|
+
* kind: 'file',
|
|
119
|
+
* path: 'assets/logo.png',
|
|
120
|
+
* file_id: 'file_id_1',
|
|
121
|
+
* },
|
|
122
|
+
* {
|
|
123
|
+
* op: 'put',
|
|
124
|
+
* kind: 'directory',
|
|
125
|
+
* path: 'assets/images',
|
|
126
|
+
* },
|
|
127
|
+
* {
|
|
128
|
+
* op: 'rename',
|
|
129
|
+
* kind: 'file',
|
|
130
|
+
* from_path: 'home.html',
|
|
131
|
+
* to_path: 'index.html',
|
|
132
|
+
* },
|
|
133
|
+
* {
|
|
134
|
+
* op: 'delete',
|
|
135
|
+
* kind: 'file',
|
|
136
|
+
* path: 'old.js',
|
|
137
|
+
* },
|
|
138
|
+
* ],
|
|
139
|
+
* entry_path: 'index.html',
|
|
140
|
+
* });
|
|
141
|
+
* ```
|
|
142
|
+
*/
|
|
143
|
+
fileOperations(apiName, body, options) {
|
|
144
|
+
return this._client.post(path `/sites/${apiName}/file-operations/`, { body, ...options });
|
|
145
|
+
}
|
|
146
|
+
}
|
|
147
|
+
//# sourceMappingURL=sites.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sites.mjs","sourceRoot":"","sources":["../src/resources/sites.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF,OAAO,EAAE,WAAW,EAAE,6BAAyB;AAG/C,OAAO,EAAE,aAAa,EAAe,+BAA2B;AAChE,OAAO,EAAE,YAAY,EAAE,gCAA4B;AAEnD,OAAO,EAAE,IAAI,EAAE,mCAA+B;AAE9C,MAAM,OAAO,KAAM,SAAQ,WAAW;IACpC;;;;;;;;;;;;OAYG;IACH,IAAI,CAAC,OAAwB;QAC3B,OAAO,IAAI,CAAC,OAAO,CAAC,UAAU,CAAC,SAAS,EAAE,CAAA,aAA+B,CAAA,EAAE,OAAO,CAAC,CAAC;IACtF,CAAC;IAED;;;;;;;;;;;;OAYG;IACH,MAAM,CAAC,IAAsB,EAAE,OAAwB;QACrD,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,SAAS,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC5D,CAAC;IAED;;;;;;;OAOG;IACH,QAAQ,CAAC,OAAe,EAAE,OAAwB;QAChD,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAI,CAAA,UAAU,OAAO,GAAG,EAAE,OAAO,CAAC,CAAC;IAC7D,CAAC;IAED;;;;;;;;;;;;OAYG;IACH,MAAM,CACJ,OAAe,EACf,OAA4C,EAAE,EAC9C,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,IAAI,CAAA,UAAU,OAAO,GAAG,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC5E,CAAC;IAED;;;;;;;OAOG;IACH,MAAM,CAAC,OAAe,EAAE,OAAwB;QAC9C,OAAO,IAAI,CAAC,OAAO,CAAC,MAAM,CAAC,IAAI,CAAA,UAAU,OAAO,GAAG,EAAE;YACnD,GAAG,OAAO;YACV,OAAO,EAAE,YAAY,CAAC,CAAC,EAAE,MAAM,EAAE,KAAK,EAAE,EAAE,OAAO,EAAE,OAAO,CAAC,CAAC;SAC7D,CAAC,CAAC;IACL,CAAC;IAED;;;;;;;;;;;OAWG;IACH,oBAAoB,CAClB,IAAoC,EACpC,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,gCAAgC,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACnF,CAAC;IAED;;;;;;;;;OASG;IACH,KAAK,CACH,OAAe,EACf,QAA4C,EAAE,EAC9C,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAI,CAAA,UAAU,OAAO,SAAS,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACjF,CAAC;IAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OAkCG;IACH,cAAc,CACZ,OAAe,EACf,IAA8B,EAC9B,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,IAAI,CAAA,UAAU,OAAO,mBAAmB,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC3F,CAAC;CACF"}
|
|
@@ -10,7 +10,7 @@ export declare class SoftwareDeployments extends APIResource {
|
|
|
10
10
|
/**
|
|
11
11
|
* A list of software deployments.
|
|
12
12
|
*
|
|
13
|
-
* - Requires: `API Tier
|
|
13
|
+
* - Requires: `API Tier 1`
|
|
14
14
|
* - Filterable fields: `software_id`, `active_group_type`
|
|
15
15
|
* - Expandable fields: `software`
|
|
16
16
|
* - Sortable fields: `id`, `created_at`, `updated_at`
|
|
@@ -10,7 +10,7 @@ export declare class SoftwareDeployments extends APIResource {
|
|
|
10
10
|
/**
|
|
11
11
|
* A list of software deployments.
|
|
12
12
|
*
|
|
13
|
-
* - Requires: `API Tier
|
|
13
|
+
* - Requires: `API Tier 1`
|
|
14
14
|
* - Filterable fields: `software_id`, `active_group_type`
|
|
15
15
|
* - Expandable fields: `software`
|
|
16
16
|
* - Sortable fields: `id`, `created_at`, `updated_at`
|
|
@@ -13,7 +13,7 @@ class SoftwareDeployments extends resource_1.APIResource {
|
|
|
13
13
|
/**
|
|
14
14
|
* A list of software deployments.
|
|
15
15
|
*
|
|
16
|
-
* - Requires: `API Tier
|
|
16
|
+
* - Requires: `API Tier 1`
|
|
17
17
|
* - Filterable fields: `software_id`, `active_group_type`
|
|
18
18
|
* - Expandable fields: `software`
|
|
19
19
|
* - Sortable fields: `id`, `created_at`, `updated_at`
|
|
@@ -10,7 +10,7 @@ export class SoftwareDeployments extends APIResource {
|
|
|
10
10
|
/**
|
|
11
11
|
* A list of software deployments.
|
|
12
12
|
*
|
|
13
|
-
* - Requires: `API Tier
|
|
13
|
+
* - Requires: `API Tier 1`
|
|
14
14
|
* - Filterable fields: `software_id`, `active_group_type`
|
|
15
15
|
* - Expandable fields: `software`
|
|
16
16
|
* - Sortable fields: `id`, `created_at`, `updated_at`
|
|
@@ -11,7 +11,7 @@ export declare class TimeCards extends APIResource {
|
|
|
11
11
|
/**
|
|
12
12
|
* A list of time cards.
|
|
13
13
|
*
|
|
14
|
-
* - Requires: `API Tier
|
|
14
|
+
* - Requires: `API Tier 1`
|
|
15
15
|
* - Filterable fields: `pay_period.start_date`, `worker_id`
|
|
16
16
|
* - Expandable fields: `worker`
|
|
17
17
|
* - Sortable fields: `id`, `created_at`, `updated_at`
|
|
@@ -11,7 +11,7 @@ export declare class TimeCards extends APIResource {
|
|
|
11
11
|
/**
|
|
12
12
|
* A list of time cards.
|
|
13
13
|
*
|
|
14
|
-
* - Requires: `API Tier
|
|
14
|
+
* - Requires: `API Tier 1`
|
|
15
15
|
* - Filterable fields: `pay_period.start_date`, `worker_id`
|
|
16
16
|
* - Expandable fields: `worker`
|
|
17
17
|
* - Sortable fields: `id`, `created_at`, `updated_at`
|
package/resources/time-cards.js
CHANGED
|
@@ -12,7 +12,7 @@ class TimeCards extends resource_1.APIResource {
|
|
|
12
12
|
/**
|
|
13
13
|
* A list of time cards.
|
|
14
14
|
*
|
|
15
|
-
* - Requires: `API Tier
|
|
15
|
+
* - Requires: `API Tier 1`
|
|
16
16
|
* - Filterable fields: `pay_period.start_date`, `worker_id`
|
|
17
17
|
* - Expandable fields: `worker`
|
|
18
18
|
* - Sortable fields: `id`, `created_at`, `updated_at`
|
package/resources/time-cards.mjs
CHANGED
|
@@ -9,7 +9,7 @@ export class TimeCards extends APIResource {
|
|
|
9
9
|
/**
|
|
10
10
|
* A list of time cards.
|
|
11
11
|
*
|
|
12
|
-
* - Requires: `API Tier
|
|
12
|
+
* - Requires: `API Tier 1`
|
|
13
13
|
* - Filterable fields: `pay_period.start_date`, `worker_id`
|
|
14
14
|
* - Expandable fields: `worker`
|
|
15
15
|
* - Sortable fields: `id`, `created_at`, `updated_at`
|
|
@@ -12,7 +12,7 @@ export declare class TimeEntries extends APIResource {
|
|
|
12
12
|
/**
|
|
13
13
|
* A list of time entries.
|
|
14
14
|
*
|
|
15
|
-
* - Requires: `API Tier
|
|
15
|
+
* - Requires: `API Tier 1`
|
|
16
16
|
* - Filterable fields: `worker_id`, `start_time`, `pay_period.start_date`,
|
|
17
17
|
* `updated_at`
|
|
18
18
|
* - Expandable fields: `worker`, `time_card`
|
|
@@ -12,7 +12,7 @@ export declare class TimeEntries extends APIResource {
|
|
|
12
12
|
/**
|
|
13
13
|
* A list of time entries.
|
|
14
14
|
*
|
|
15
|
-
* - Requires: `API Tier
|
|
15
|
+
* - Requires: `API Tier 1`
|
|
16
16
|
* - Filterable fields: `worker_id`, `start_time`, `pay_period.start_date`,
|
|
17
17
|
* `updated_at`
|
|
18
18
|
* - Expandable fields: `worker`, `time_card`
|
|
@@ -13,7 +13,7 @@ class TimeEntries extends resource_1.APIResource {
|
|
|
13
13
|
/**
|
|
14
14
|
* A list of time entries.
|
|
15
15
|
*
|
|
16
|
-
* - Requires: `API Tier
|
|
16
|
+
* - Requires: `API Tier 1`
|
|
17
17
|
* - Filterable fields: `worker_id`, `start_time`, `pay_period.start_date`,
|
|
18
18
|
* `updated_at`
|
|
19
19
|
* - Expandable fields: `worker`, `time_card`
|
|
@@ -10,7 +10,7 @@ export class TimeEntries extends APIResource {
|
|
|
10
10
|
/**
|
|
11
11
|
* A list of time entries.
|
|
12
12
|
*
|
|
13
|
-
* - Requires: `API Tier
|
|
13
|
+
* - Requires: `API Tier 1`
|
|
14
14
|
* - Filterable fields: `worker_id`, `start_time`, `pay_period.start_date`,
|
|
15
15
|
* `updated_at`
|
|
16
16
|
* - Expandable fields: `worker`, `time_card`
|
package/resources/tracks.d.mts
CHANGED
|
@@ -10,7 +10,7 @@ export declare class Tracks extends APIResource {
|
|
|
10
10
|
/**
|
|
11
11
|
* A list of tracks.
|
|
12
12
|
*
|
|
13
|
-
* - Requires: `API Tier
|
|
13
|
+
* - Requires: `API Tier 1`
|
|
14
14
|
* - Sortable fields: `id`, `created_at`, `updated_at`
|
|
15
15
|
*/
|
|
16
16
|
list(query?: TrackListParams | null | undefined, options?: RequestOptions): PagePromise<TracksPageCursorURL, Track>;
|
package/resources/tracks.d.ts
CHANGED
|
@@ -10,7 +10,7 @@ export declare class Tracks extends APIResource {
|
|
|
10
10
|
/**
|
|
11
11
|
* A list of tracks.
|
|
12
12
|
*
|
|
13
|
-
* - Requires: `API Tier
|
|
13
|
+
* - Requires: `API Tier 1`
|
|
14
14
|
* - Sortable fields: `id`, `created_at`, `updated_at`
|
|
15
15
|
*/
|
|
16
16
|
list(query?: TrackListParams | null | undefined, options?: RequestOptions): PagePromise<TracksPageCursorURL, Track>;
|
package/resources/tracks.js
CHANGED
package/resources/tracks.mjs
CHANGED
|
@@ -11,7 +11,7 @@ export declare class UnassignedShifts extends APIResource {
|
|
|
11
11
|
* Update custom fields for a unassigned shift. The request body should contain a
|
|
12
12
|
* dictionary mapping custom field names to their values.
|
|
13
13
|
*
|
|
14
|
-
* - Requires: `API Tier
|
|
14
|
+
* - Requires: `API Tier 1`
|
|
15
15
|
*
|
|
16
16
|
* @example
|
|
17
17
|
* ```ts
|
|
@@ -24,7 +24,7 @@ export declare class UnassignedShifts extends APIResource {
|
|
|
24
24
|
* Assign a worker to an unassigned shift (open shift). The shift must be an open
|
|
25
25
|
* shift and not at capacity.
|
|
26
26
|
*
|
|
27
|
-
* - Requires: `API Tier
|
|
27
|
+
* - Requires: `API Tier 1`
|
|
28
28
|
*
|
|
29
29
|
* @example
|
|
30
30
|
* ```ts
|
|
@@ -11,7 +11,7 @@ export declare class UnassignedShifts extends APIResource {
|
|
|
11
11
|
* Update custom fields for a unassigned shift. The request body should contain a
|
|
12
12
|
* dictionary mapping custom field names to their values.
|
|
13
13
|
*
|
|
14
|
-
* - Requires: `API Tier
|
|
14
|
+
* - Requires: `API Tier 1`
|
|
15
15
|
*
|
|
16
16
|
* @example
|
|
17
17
|
* ```ts
|
|
@@ -24,7 +24,7 @@ export declare class UnassignedShifts extends APIResource {
|
|
|
24
24
|
* Assign a worker to an unassigned shift (open shift). The shift must be an open
|
|
25
25
|
* shift and not at capacity.
|
|
26
26
|
*
|
|
27
|
-
* - Requires: `API Tier
|
|
27
|
+
* - Requires: `API Tier 1`
|
|
28
28
|
*
|
|
29
29
|
* @example
|
|
30
30
|
* ```ts
|
|
@@ -12,7 +12,7 @@ class UnassignedShifts extends resource_1.APIResource {
|
|
|
12
12
|
* Update custom fields for a unassigned shift. The request body should contain a
|
|
13
13
|
* dictionary mapping custom field names to their values.
|
|
14
14
|
*
|
|
15
|
-
* - Requires: `API Tier
|
|
15
|
+
* - Requires: `API Tier 1`
|
|
16
16
|
*
|
|
17
17
|
* @example
|
|
18
18
|
* ```ts
|
|
@@ -27,7 +27,7 @@ class UnassignedShifts extends resource_1.APIResource {
|
|
|
27
27
|
* Assign a worker to an unassigned shift (open shift). The shift must be an open
|
|
28
28
|
* shift and not at capacity.
|
|
29
29
|
*
|
|
30
|
-
* - Requires: `API Tier
|
|
30
|
+
* - Requires: `API Tier 1`
|
|
31
31
|
*
|
|
32
32
|
* @example
|
|
33
33
|
* ```ts
|
|
@@ -9,7 +9,7 @@ export class UnassignedShifts extends APIResource {
|
|
|
9
9
|
* Update custom fields for a unassigned shift. The request body should contain a
|
|
10
10
|
* dictionary mapping custom field names to their values.
|
|
11
11
|
*
|
|
12
|
-
* - Requires: `API Tier
|
|
12
|
+
* - Requires: `API Tier 1`
|
|
13
13
|
*
|
|
14
14
|
* @example
|
|
15
15
|
* ```ts
|
|
@@ -24,7 +24,7 @@ export class UnassignedShifts extends APIResource {
|
|
|
24
24
|
* Assign a worker to an unassigned shift (open shift). The shift must be an open
|
|
25
25
|
* shift and not at capacity.
|
|
26
26
|
*
|
|
27
|
-
* - Requires: `API Tier
|
|
27
|
+
* - Requires: `API Tier 1`
|
|
28
28
|
*
|
|
29
29
|
* @example
|
|
30
30
|
* ```ts
|
|
@@ -11,7 +11,7 @@ export declare class Unassignedshifts extends APIResource {
|
|
|
11
11
|
/**
|
|
12
12
|
* A list of unassigned shifts.
|
|
13
13
|
*
|
|
14
|
-
* - Requires: `API Tier
|
|
14
|
+
* - Requires: `API Tier 1`
|
|
15
15
|
* - Filterable fields: `schedule_id`, `shift_data.start_time`,
|
|
16
16
|
* `shift_data.end_time`
|
|
17
17
|
* - Expandable fields: `schedule`
|
|
@@ -11,7 +11,7 @@ export declare class Unassignedshifts extends APIResource {
|
|
|
11
11
|
/**
|
|
12
12
|
* A list of unassigned shifts.
|
|
13
13
|
*
|
|
14
|
-
* - Requires: `API Tier
|
|
14
|
+
* - Requires: `API Tier 1`
|
|
15
15
|
* - Filterable fields: `schedule_id`, `shift_data.start_time`,
|
|
16
16
|
* `shift_data.end_time`
|
|
17
17
|
* - Expandable fields: `schedule`
|
|
@@ -12,7 +12,7 @@ class Unassignedshifts extends resource_1.APIResource {
|
|
|
12
12
|
/**
|
|
13
13
|
* A list of unassigned shifts.
|
|
14
14
|
*
|
|
15
|
-
* - Requires: `API Tier
|
|
15
|
+
* - Requires: `API Tier 1`
|
|
16
16
|
* - Filterable fields: `schedule_id`, `shift_data.start_time`,
|
|
17
17
|
* `shift_data.end_time`
|
|
18
18
|
* - Expandable fields: `schedule`
|
|
@@ -9,7 +9,7 @@ export class Unassignedshifts extends APIResource {
|
|
|
9
9
|
/**
|
|
10
10
|
* A list of unassigned shifts.
|
|
11
11
|
*
|
|
12
|
-
* - Requires: `API Tier
|
|
12
|
+
* - Requires: `API Tier 1`
|
|
13
13
|
* - Filterable fields: `schedule_id`, `shift_data.start_time`,
|
|
14
14
|
* `shift_data.end_time`
|
|
15
15
|
* - Expandable fields: `schedule`
|
|
@@ -12,7 +12,7 @@ export declare class WorkerTimeSplits extends APIResource {
|
|
|
12
12
|
/**
|
|
13
13
|
* A list of worker time splits.
|
|
14
14
|
*
|
|
15
|
-
* - Requires: `API Tier
|
|
15
|
+
* - Requires: `API Tier 1`
|
|
16
16
|
* - Filterable fields: `worker_id`, `is_enabled`, `updated_at`
|
|
17
17
|
* - Expandable fields: `worker`, `job_codes`
|
|
18
18
|
* - Sortable fields: `id`, `created_at`, `updated_at`
|
|
@@ -12,7 +12,7 @@ export declare class WorkerTimeSplits extends APIResource {
|
|
|
12
12
|
/**
|
|
13
13
|
* A list of worker time splits.
|
|
14
14
|
*
|
|
15
|
-
* - Requires: `API Tier
|
|
15
|
+
* - Requires: `API Tier 1`
|
|
16
16
|
* - Filterable fields: `worker_id`, `is_enabled`, `updated_at`
|
|
17
17
|
* - Expandable fields: `worker`, `job_codes`
|
|
18
18
|
* - Sortable fields: `id`, `created_at`, `updated_at`
|
|
@@ -13,7 +13,7 @@ class WorkerTimeSplits extends resource_1.APIResource {
|
|
|
13
13
|
/**
|
|
14
14
|
* A list of worker time splits.
|
|
15
15
|
*
|
|
16
|
-
* - Requires: `API Tier
|
|
16
|
+
* - Requires: `API Tier 1`
|
|
17
17
|
* - Filterable fields: `worker_id`, `is_enabled`, `updated_at`
|
|
18
18
|
* - Expandable fields: `worker`, `job_codes`
|
|
19
19
|
* - Sortable fields: `id`, `created_at`, `updated_at`
|
|
@@ -10,7 +10,7 @@ export class WorkerTimeSplits extends APIResource {
|
|
|
10
10
|
/**
|
|
11
11
|
* A list of worker time splits.
|
|
12
12
|
*
|
|
13
|
-
* - Requires: `API Tier
|
|
13
|
+
* - Requires: `API Tier 1`
|
|
14
14
|
* - Filterable fields: `worker_id`, `is_enabled`, `updated_at`
|
|
15
15
|
* - Expandable fields: `worker`, `job_codes`
|
|
16
16
|
* - Sortable fields: `id`, `created_at`, `updated_at`
|