@rippling/rippling-sdk 0.2.0-alpha.25 → 0.2.0-alpha.27
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/LICENSE +1 -1
- package/client.d.mts +226 -14
- package/client.d.mts.map +1 -1
- package/client.d.ts +226 -14
- package/client.d.ts.map +1 -1
- package/client.js +236 -20
- package/client.js.map +1 -1
- package/client.mjs +236 -20
- package/client.mjs.map +1 -1
- package/functions.d.mts +4 -0
- package/functions.d.mts.map +1 -1
- package/functions.d.ts +4 -0
- package/functions.d.ts.map +1 -1
- package/functions.js +13 -1
- package/functions.js.map +1 -1
- package/functions.mjs +11 -0
- package/functions.mjs.map +1 -1
- package/internal/parse.d.mts.map +1 -1
- package/internal/parse.d.ts.map +1 -1
- package/internal/parse.js +5 -0
- package/internal/parse.js.map +1 -1
- package/internal/parse.mjs +5 -0
- package/internal/parse.mjs.map +1 -1
- package/internal/utils/query.d.mts +5 -0
- package/internal/utils/query.d.mts.map +1 -0
- package/internal/utils/query.d.ts +5 -0
- package/internal/utils/query.d.ts.map +1 -0
- package/internal/utils/query.js +23 -0
- package/internal/utils/query.js.map +1 -0
- package/internal/utils/query.mjs +20 -0
- package/internal/utils/query.mjs.map +1 -0
- package/internal/utils.d.mts +1 -0
- package/internal/utils.d.ts +1 -0
- package/internal/utils.js +1 -0
- package/internal/utils.js.map +1 -1
- package/internal/utils.mjs +1 -0
- package/package.json +12 -1
- package/resources/business-partner-groups.d.mts +3 -0
- package/resources/business-partner-groups.d.mts.map +1 -1
- package/resources/business-partner-groups.d.ts +3 -0
- package/resources/business-partner-groups.d.ts.map +1 -1
- package/resources/business-partner-groups.js +3 -0
- package/resources/business-partner-groups.js.map +1 -1
- package/resources/business-partner-groups.mjs +3 -0
- package/resources/business-partner-groups.mjs.map +1 -1
- package/resources/business-partners.d.mts +3 -0
- package/resources/business-partners.d.mts.map +1 -1
- package/resources/business-partners.d.ts +3 -0
- package/resources/business-partners.d.ts.map +1 -1
- package/resources/business-partners.js +3 -0
- package/resources/business-partners.js.map +1 -1
- package/resources/business-partners.mjs +3 -0
- package/resources/business-partners.mjs.map +1 -1
- package/resources/candidate-applications.d.mts +3 -0
- package/resources/candidate-applications.d.mts.map +1 -1
- package/resources/candidate-applications.d.ts +3 -0
- package/resources/candidate-applications.d.ts.map +1 -1
- package/resources/candidate-applications.js +3 -0
- package/resources/candidate-applications.js.map +1 -1
- package/resources/candidate-applications.mjs +3 -0
- package/resources/candidate-applications.mjs.map +1 -1
- package/resources/candidates.d.mts +3 -0
- package/resources/candidates.d.mts.map +1 -1
- package/resources/candidates.d.ts +3 -0
- package/resources/candidates.d.ts.map +1 -1
- package/resources/candidates.js +3 -0
- package/resources/candidates.js.map +1 -1
- package/resources/candidates.mjs +3 -0
- package/resources/candidates.mjs.map +1 -1
- package/resources/companies.d.mts +3 -0
- package/resources/companies.d.mts.map +1 -1
- package/resources/companies.d.ts +3 -0
- package/resources/companies.d.ts.map +1 -1
- package/resources/companies.js +3 -0
- package/resources/companies.js.map +1 -1
- package/resources/companies.mjs +3 -0
- package/resources/companies.mjs.map +1 -1
- package/resources/compensation-bands-details.d.mts +98 -0
- package/resources/compensation-bands-details.d.mts.map +1 -0
- package/resources/compensation-bands-details.d.ts +98 -0
- package/resources/compensation-bands-details.d.ts.map +1 -0
- package/resources/compensation-bands-details.js +32 -0
- package/resources/compensation-bands-details.js.map +1 -0
- package/resources/compensation-bands-details.mjs +28 -0
- package/resources/compensation-bands-details.mjs.map +1 -0
- package/resources/compensations.d.mts +3 -0
- package/resources/compensations.d.mts.map +1 -1
- package/resources/compensations.d.ts +3 -0
- package/resources/compensations.d.ts.map +1 -1
- package/resources/compensations.js +3 -0
- package/resources/compensations.js.map +1 -1
- package/resources/compensations.mjs +3 -0
- package/resources/compensations.mjs.map +1 -1
- package/resources/create-app-notification.d.mts +29 -0
- package/resources/create-app-notification.d.mts.map +1 -0
- package/resources/create-app-notification.d.ts +29 -0
- package/resources/create-app-notification.d.ts.map +1 -0
- package/resources/create-app-notification.js +18 -0
- package/resources/create-app-notification.js.map +1 -0
- package/resources/create-app-notification.mjs +14 -0
- package/resources/create-app-notification.mjs.map +1 -0
- package/resources/custom-apps.d.mts +261 -0
- package/resources/custom-apps.d.mts.map +1 -0
- package/resources/custom-apps.d.ts +261 -0
- package/resources/custom-apps.d.ts.map +1 -0
- package/resources/custom-apps.js +47 -0
- package/resources/custom-apps.js.map +1 -0
- package/resources/custom-apps.mjs +43 -0
- package/resources/custom-apps.mjs.map +1 -0
- package/resources/custom-fields.d.mts +3 -0
- package/resources/custom-fields.d.mts.map +1 -1
- package/resources/custom-fields.d.ts +3 -0
- package/resources/custom-fields.d.ts.map +1 -1
- package/resources/custom-fields.js +3 -0
- package/resources/custom-fields.js.map +1 -1
- package/resources/custom-fields.mjs +3 -0
- package/resources/custom-fields.mjs.map +1 -1
- package/resources/custom-objects/custom-objects.d.mts +3 -0
- package/resources/custom-objects/custom-objects.d.mts.map +1 -1
- package/resources/custom-objects/custom-objects.d.ts +3 -0
- package/resources/custom-objects/custom-objects.d.ts.map +1 -1
- package/resources/custom-objects/custom-objects.js +3 -0
- package/resources/custom-objects/custom-objects.js.map +1 -1
- package/resources/custom-objects/custom-objects.mjs +3 -0
- package/resources/custom-objects/custom-objects.mjs.map +1 -1
- package/resources/custom-objects/fields.d.mts +3 -0
- package/resources/custom-objects/fields.d.mts.map +1 -1
- package/resources/custom-objects/fields.d.ts +3 -0
- package/resources/custom-objects/fields.d.ts.map +1 -1
- package/resources/custom-objects/fields.js +3 -0
- package/resources/custom-objects/fields.js.map +1 -1
- package/resources/custom-objects/fields.mjs +3 -0
- package/resources/custom-objects/fields.mjs.map +1 -1
- package/resources/custom-objects/records.d.mts +3 -0
- package/resources/custom-objects/records.d.mts.map +1 -1
- package/resources/custom-objects/records.d.ts +3 -0
- package/resources/custom-objects/records.d.ts.map +1 -1
- package/resources/custom-objects/records.js +3 -0
- package/resources/custom-objects/records.js.map +1 -1
- package/resources/custom-objects/records.mjs +3 -0
- package/resources/custom-objects/records.mjs.map +1 -1
- package/resources/custom-pages.d.mts +201 -0
- package/resources/custom-pages.d.mts.map +1 -0
- package/resources/custom-pages.d.ts +201 -0
- package/resources/custom-pages.d.ts.map +1 -0
- package/resources/custom-pages.js +47 -0
- package/resources/custom-pages.js.map +1 -0
- package/resources/custom-pages.mjs +43 -0
- package/resources/custom-pages.mjs.map +1 -0
- package/resources/custom-settings.d.mts +270 -0
- package/resources/custom-settings.d.mts.map +1 -0
- package/resources/custom-settings.d.ts +270 -0
- package/resources/custom-settings.d.ts.map +1 -0
- package/resources/custom-settings.js +51 -0
- package/resources/custom-settings.js.map +1 -0
- package/resources/custom-settings.mjs +47 -0
- package/resources/custom-settings.mjs.map +1 -0
- package/resources/departments.d.mts +40 -1
- package/resources/departments.d.mts.map +1 -1
- package/resources/departments.d.ts +40 -1
- package/resources/departments.d.ts.map +1 -1
- package/resources/departments.js +15 -0
- package/resources/departments.js.map +1 -1
- package/resources/departments.mjs +15 -0
- package/resources/departments.mjs.map +1 -1
- package/resources/draft-hires.d.mts +30 -0
- package/resources/draft-hires.d.mts.map +1 -1
- package/resources/draft-hires.d.ts +30 -0
- package/resources/draft-hires.d.ts.map +1 -1
- package/resources/draft-hires.js +3 -0
- package/resources/draft-hires.js.map +1 -1
- package/resources/draft-hires.mjs +3 -0
- package/resources/draft-hires.mjs.map +1 -1
- package/resources/employment-types.d.mts +3 -0
- package/resources/employment-types.d.mts.map +1 -1
- package/resources/employment-types.d.ts +3 -0
- package/resources/employment-types.d.ts.map +1 -1
- package/resources/employment-types.js +3 -0
- package/resources/employment-types.js.map +1 -1
- package/resources/employment-types.mjs +3 -0
- package/resources/employment-types.mjs.map +1 -1
- package/resources/entitlements.d.mts +3 -0
- package/resources/entitlements.d.mts.map +1 -1
- package/resources/entitlements.d.ts +3 -0
- package/resources/entitlements.d.ts.map +1 -1
- package/resources/entitlements.js +3 -0
- package/resources/entitlements.js.map +1 -1
- package/resources/entitlements.mjs +3 -0
- package/resources/entitlements.mjs.map +1 -1
- package/resources/functions/deployments.d.mts +3 -0
- package/resources/functions/deployments.d.mts.map +1 -1
- package/resources/functions/deployments.d.ts +3 -0
- package/resources/functions/deployments.d.ts.map +1 -1
- package/resources/functions/deployments.js +3 -0
- package/resources/functions/deployments.js.map +1 -1
- package/resources/functions/deployments.mjs +3 -0
- package/resources/functions/deployments.mjs.map +1 -1
- package/resources/functions/executions.d.mts +9 -82
- package/resources/functions/executions.d.mts.map +1 -1
- package/resources/functions/executions.d.ts +9 -82
- package/resources/functions/executions.d.ts.map +1 -1
- package/resources/functions/executions.js +3 -0
- package/resources/functions/executions.js.map +1 -1
- package/resources/functions/executions.mjs +3 -0
- package/resources/functions/executions.mjs.map +1 -1
- package/resources/functions/functions.d.mts +17 -2
- package/resources/functions/functions.d.mts.map +1 -1
- package/resources/functions/functions.d.ts +17 -2
- package/resources/functions/functions.d.ts.map +1 -1
- package/resources/functions/functions.js +3 -0
- package/resources/functions/functions.js.map +1 -1
- package/resources/functions/functions.mjs +3 -0
- package/resources/functions/functions.mjs.map +1 -1
- package/resources/functions/index.d.mts +1 -1
- package/resources/functions/index.d.mts.map +1 -1
- package/resources/functions/index.d.ts +1 -1
- package/resources/functions/index.d.ts.map +1 -1
- package/resources/functions/index.js.map +1 -1
- package/resources/functions/index.mjs.map +1 -1
- package/resources/headcount-positions.d.mts +3 -0
- package/resources/headcount-positions.d.mts.map +1 -1
- package/resources/headcount-positions.d.ts +3 -0
- package/resources/headcount-positions.d.ts.map +1 -1
- package/resources/headcount-positions.js +3 -0
- package/resources/headcount-positions.js.map +1 -1
- package/resources/headcount-positions.mjs +3 -0
- package/resources/headcount-positions.mjs.map +1 -1
- package/resources/headcount-priorities.d.mts +3 -0
- package/resources/headcount-priorities.d.mts.map +1 -1
- package/resources/headcount-priorities.d.ts +3 -0
- package/resources/headcount-priorities.d.ts.map +1 -1
- package/resources/headcount-priorities.js +3 -0
- package/resources/headcount-priorities.js.map +1 -1
- package/resources/headcount-priorities.mjs +3 -0
- package/resources/headcount-priorities.mjs.map +1 -1
- package/resources/index.d.mts +20 -5
- package/resources/index.d.mts.map +1 -1
- package/resources/index.d.ts +20 -5
- package/resources/index.d.ts.map +1 -1
- package/resources/index.js +32 -1
- package/resources/index.js.map +1 -1
- package/resources/index.mjs +15 -0
- package/resources/index.mjs.map +1 -1
- package/resources/job-assignments.d.mts +73 -6
- package/resources/job-assignments.d.mts.map +1 -1
- package/resources/job-assignments.d.ts +73 -6
- package/resources/job-assignments.d.ts.map +1 -1
- package/resources/job-assignments.js +25 -0
- package/resources/job-assignments.js.map +1 -1
- package/resources/job-assignments.mjs +25 -0
- package/resources/job-assignments.mjs.map +1 -1
- package/resources/job-codes.d.mts +50 -1
- package/resources/job-codes.d.mts.map +1 -1
- package/resources/job-codes.d.ts +50 -1
- package/resources/job-codes.d.ts.map +1 -1
- package/resources/job-codes.js +3 -0
- package/resources/job-codes.js.map +1 -1
- package/resources/job-codes.mjs +3 -0
- package/resources/job-codes.mjs.map +1 -1
- package/resources/job-dimensions.d.mts +23 -0
- package/resources/job-dimensions.d.mts.map +1 -1
- package/resources/job-dimensions.d.ts +23 -0
- package/resources/job-dimensions.d.ts.map +1 -1
- package/resources/job-dimensions.js +3 -0
- package/resources/job-dimensions.js.map +1 -1
- package/resources/job-dimensions.mjs +3 -0
- package/resources/job-dimensions.mjs.map +1 -1
- package/resources/job-functions.d.mts +3 -0
- package/resources/job-functions.d.mts.map +1 -1
- package/resources/job-functions.d.ts +3 -0
- package/resources/job-functions.d.ts.map +1 -1
- package/resources/job-functions.js +3 -0
- package/resources/job-functions.js.map +1 -1
- package/resources/job-functions.mjs +3 -0
- package/resources/job-functions.mjs.map +1 -1
- package/resources/job-pay-rate-exceptions.d.mts +3 -0
- package/resources/job-pay-rate-exceptions.d.mts.map +1 -1
- package/resources/job-pay-rate-exceptions.d.ts +3 -0
- package/resources/job-pay-rate-exceptions.d.ts.map +1 -1
- package/resources/job-pay-rate-exceptions.js +3 -0
- package/resources/job-pay-rate-exceptions.js.map +1 -1
- package/resources/job-pay-rate-exceptions.mjs +3 -0
- package/resources/job-pay-rate-exceptions.mjs.map +1 -1
- package/resources/job-requisitions-write.d.mts +260 -0
- package/resources/job-requisitions-write.d.mts.map +1 -0
- package/resources/job-requisitions-write.d.ts +260 -0
- package/resources/job-requisitions-write.d.ts.map +1 -0
- package/resources/job-requisitions-write.js +18 -0
- package/resources/job-requisitions-write.js.map +1 -0
- package/resources/job-requisitions-write.mjs +14 -0
- package/resources/job-requisitions-write.mjs.map +1 -0
- package/resources/job-requisitions.d.mts +3 -0
- package/resources/job-requisitions.d.mts.map +1 -1
- package/resources/job-requisitions.d.ts +3 -0
- package/resources/job-requisitions.d.ts.map +1 -1
- package/resources/job-requisitions.js +3 -0
- package/resources/job-requisitions.js.map +1 -1
- package/resources/job-requisitions.mjs +3 -0
- package/resources/job-requisitions.mjs.map +1 -1
- package/resources/kiosk-badges.d.mts +3 -0
- package/resources/kiosk-badges.d.mts.map +1 -1
- package/resources/kiosk-badges.d.ts +3 -0
- package/resources/kiosk-badges.d.ts.map +1 -1
- package/resources/kiosk-badges.js +3 -0
- package/resources/kiosk-badges.js.map +1 -1
- package/resources/kiosk-badges.mjs +3 -0
- package/resources/kiosk-badges.mjs.map +1 -1
- package/resources/leave-accruals.d.mts +115 -6
- package/resources/leave-accruals.d.mts.map +1 -1
- package/resources/leave-accruals.d.ts +115 -6
- package/resources/leave-accruals.d.ts.map +1 -1
- package/resources/leave-accruals.js +22 -3
- package/resources/leave-accruals.js.map +1 -1
- package/resources/leave-accruals.mjs +22 -3
- package/resources/leave-accruals.mjs.map +1 -1
- package/resources/leave-balances.d.mts +3 -0
- package/resources/leave-balances.d.mts.map +1 -1
- package/resources/leave-balances.d.ts +3 -0
- package/resources/leave-balances.d.ts.map +1 -1
- package/resources/leave-balances.js +3 -0
- package/resources/leave-balances.js.map +1 -1
- package/resources/leave-balances.mjs +3 -0
- package/resources/leave-balances.mjs.map +1 -1
- package/resources/leave-requests.d.mts +3 -0
- package/resources/leave-requests.d.mts.map +1 -1
- package/resources/leave-requests.d.ts +3 -0
- package/resources/leave-requests.d.ts.map +1 -1
- package/resources/leave-requests.js +3 -0
- package/resources/leave-requests.js.map +1 -1
- package/resources/leave-requests.mjs +3 -0
- package/resources/leave-requests.mjs.map +1 -1
- package/resources/leave-types.d.mts +3 -0
- package/resources/leave-types.d.mts.map +1 -1
- package/resources/leave-types.d.ts +3 -0
- package/resources/leave-types.d.ts.map +1 -1
- package/resources/leave-types.js +3 -0
- package/resources/leave-types.js.map +1 -1
- package/resources/leave-types.mjs +3 -0
- package/resources/leave-types.mjs.map +1 -1
- package/resources/legal-entities.d.mts +3 -0
- package/resources/legal-entities.d.mts.map +1 -1
- package/resources/legal-entities.d.ts +3 -0
- package/resources/legal-entities.d.ts.map +1 -1
- package/resources/legal-entities.js +3 -0
- package/resources/legal-entities.js.map +1 -1
- package/resources/legal-entities.mjs +3 -0
- package/resources/legal-entities.mjs.map +1 -1
- package/resources/levels.d.mts +3 -0
- package/resources/levels.d.mts.map +1 -1
- package/resources/levels.d.ts +3 -0
- package/resources/levels.d.ts.map +1 -1
- package/resources/levels.js +3 -0
- package/resources/levels.js.map +1 -1
- package/resources/levels.mjs +3 -0
- package/resources/levels.mjs.map +1 -1
- package/resources/location-factors.d.mts +3 -0
- package/resources/location-factors.d.mts.map +1 -1
- package/resources/location-factors.d.ts +3 -0
- package/resources/location-factors.d.ts.map +1 -1
- package/resources/location-factors.js +3 -0
- package/resources/location-factors.js.map +1 -1
- package/resources/location-factors.mjs +3 -0
- package/resources/location-factors.mjs.map +1 -1
- package/resources/metadata/components.d.mts +28 -0
- package/resources/metadata/components.d.mts.map +1 -0
- package/resources/metadata/components.d.ts +28 -0
- package/resources/metadata/components.d.ts.map +1 -0
- package/resources/metadata/components.js +21 -0
- package/resources/metadata/components.js.map +1 -0
- package/resources/metadata/components.mjs +17 -0
- package/resources/metadata/components.mjs.map +1 -0
- package/resources/metadata/index.d.mts +5 -0
- package/resources/metadata/index.d.mts.map +1 -0
- package/resources/metadata/index.d.ts +5 -0
- package/resources/metadata/index.d.ts.map +1 -0
- package/resources/metadata/index.js +13 -0
- package/resources/metadata/index.js.map +1 -0
- package/resources/metadata/index.mjs +6 -0
- package/resources/metadata/index.mjs.map +1 -0
- package/resources/metadata/metadata.d.mts +40 -0
- package/resources/metadata/metadata.d.mts.map +1 -0
- package/resources/metadata/metadata.d.ts +40 -0
- package/resources/metadata/metadata.d.ts.map +1 -0
- package/resources/metadata/metadata.js +37 -0
- package/resources/metadata/metadata.js.map +1 -0
- package/resources/metadata/metadata.mjs +32 -0
- package/resources/metadata/metadata.mjs.map +1 -0
- package/resources/metadata/summary.d.mts +28 -0
- package/resources/metadata/summary.d.mts.map +1 -0
- package/resources/metadata/summary.d.ts +28 -0
- package/resources/metadata/summary.d.ts.map +1 -0
- package/resources/metadata/summary.js +21 -0
- package/resources/metadata/summary.js.map +1 -0
- package/resources/metadata/summary.mjs +17 -0
- package/resources/metadata/summary.mjs.map +1 -0
- package/resources/metadata/types.d.mts +28 -0
- package/resources/metadata/types.d.mts.map +1 -0
- package/resources/metadata/types.d.ts +28 -0
- package/resources/metadata/types.d.ts.map +1 -0
- package/resources/metadata/types.js +21 -0
- package/resources/metadata/types.js.map +1 -0
- package/resources/metadata/types.mjs +17 -0
- package/resources/metadata/types.mjs.map +1 -0
- package/resources/metadata.d.mts +2 -0
- package/resources/metadata.d.mts.map +1 -0
- package/resources/metadata.d.ts +2 -0
- package/resources/metadata.d.ts.map +1 -0
- package/resources/metadata.js +6 -0
- package/resources/metadata.js.map +1 -0
- package/resources/metadata.mjs +3 -0
- package/resources/metadata.mjs.map +1 -0
- package/resources/object-categories.d.mts +3 -0
- package/resources/object-categories.d.mts.map +1 -1
- package/resources/object-categories.d.ts +3 -0
- package/resources/object-categories.d.ts.map +1 -1
- package/resources/object-categories.js +3 -0
- package/resources/object-categories.js.map +1 -1
- package/resources/object-categories.mjs +3 -0
- package/resources/object-categories.mjs.map +1 -1
- package/resources/platform-capabilities.d.mts +25 -0
- package/resources/platform-capabilities.d.mts.map +1 -0
- package/resources/platform-capabilities.d.ts +25 -0
- package/resources/platform-capabilities.d.ts.map +1 -0
- package/resources/platform-capabilities.js +21 -0
- package/resources/platform-capabilities.js.map +1 -0
- package/resources/platform-capabilities.mjs +17 -0
- package/resources/platform-capabilities.mjs.map +1 -0
- package/resources/report-runs.d.mts +158 -0
- package/resources/report-runs.d.mts.map +1 -0
- package/resources/report-runs.d.ts +158 -0
- package/resources/report-runs.d.ts.map +1 -0
- package/resources/report-runs.js +25 -0
- package/resources/report-runs.js.map +1 -0
- package/resources/report-runs.mjs +21 -0
- package/resources/report-runs.mjs.map +1 -0
- package/resources/run-query.d.mts +39 -0
- package/resources/run-query.d.mts.map +1 -0
- package/resources/run-query.d.ts +39 -0
- package/resources/run-query.d.ts.map +1 -0
- package/resources/run-query.js +21 -0
- package/resources/run-query.js.map +1 -0
- package/resources/run-query.mjs +17 -0
- package/resources/run-query.mjs.map +1 -0
- package/resources/schedules.d.mts +3 -0
- package/resources/schedules.d.mts.map +1 -1
- package/resources/schedules.d.ts +3 -0
- package/resources/schedules.d.ts.map +1 -1
- package/resources/schedules.js +3 -0
- package/resources/schedules.js.map +1 -1
- package/resources/schedules.mjs +3 -0
- package/resources/schedules.mjs.map +1 -1
- package/resources/send-email.d.mts +33 -0
- package/resources/send-email.d.mts.map +1 -0
- package/resources/send-email.d.ts +33 -0
- package/resources/send-email.d.ts.map +1 -0
- package/resources/send-email.js +18 -0
- package/resources/send-email.js.map +1 -0
- package/resources/send-email.mjs +14 -0
- package/resources/send-email.mjs.map +1 -0
- package/resources/send-slack.d.mts +30 -0
- package/resources/send-slack.d.mts.map +1 -0
- package/resources/send-slack.d.ts +30 -0
- package/resources/send-slack.d.ts.map +1 -0
- package/resources/send-slack.js +18 -0
- package/resources/send-slack.js.map +1 -0
- package/resources/send-slack.mjs +14 -0
- package/resources/send-slack.mjs.map +1 -0
- package/resources/shared.d.mts +35 -0
- package/resources/shared.d.mts.map +1 -1
- package/resources/shared.d.ts +35 -0
- package/resources/shared.d.ts.map +1 -1
- package/resources/shift-assignments.d.mts +299 -0
- package/resources/shift-assignments.d.mts.map +1 -0
- package/resources/shift-assignments.d.ts +299 -0
- package/resources/shift-assignments.d.ts.map +1 -0
- package/resources/shift-assignments.js +28 -0
- package/resources/shift-assignments.js.map +1 -0
- package/resources/shift-assignments.mjs +24 -0
- package/resources/shift-assignments.mjs.map +1 -0
- package/resources/shift-inputs.d.mts +3 -0
- package/resources/shift-inputs.d.mts.map +1 -1
- package/resources/shift-inputs.d.ts +3 -0
- package/resources/shift-inputs.d.ts.map +1 -1
- package/resources/shift-inputs.js +3 -0
- package/resources/shift-inputs.js.map +1 -1
- package/resources/shift-inputs.mjs +3 -0
- package/resources/shift-inputs.mjs.map +1 -1
- package/resources/shiftassignments.d.mts +59 -4
- package/resources/shiftassignments.d.mts.map +1 -1
- package/resources/shiftassignments.d.ts +59 -4
- package/resources/shiftassignments.d.ts.map +1 -1
- package/resources/shiftassignments.js +3 -0
- package/resources/shiftassignments.js.map +1 -1
- package/resources/shiftassignments.mjs +3 -0
- package/resources/shiftassignments.mjs.map +1 -1
- package/resources/sso-me.d.mts +3 -0
- package/resources/sso-me.d.mts.map +1 -1
- package/resources/sso-me.d.ts +3 -0
- package/resources/sso-me.d.ts.map +1 -1
- package/resources/sso-me.js +3 -0
- package/resources/sso-me.js.map +1 -1
- package/resources/sso-me.mjs +3 -0
- package/resources/sso-me.mjs.map +1 -1
- package/resources/supergroups/exclusion-members.d.mts +6 -3
- package/resources/supergroups/exclusion-members.d.mts.map +1 -1
- package/resources/supergroups/exclusion-members.d.ts +6 -3
- package/resources/supergroups/exclusion-members.d.ts.map +1 -1
- package/resources/supergroups/exclusion-members.js +3 -0
- package/resources/supergroups/exclusion-members.js.map +1 -1
- package/resources/supergroups/exclusion-members.mjs +3 -0
- package/resources/supergroups/exclusion-members.mjs.map +1 -1
- package/resources/supergroups/inclusion-members.d.mts +6 -3
- package/resources/supergroups/inclusion-members.d.mts.map +1 -1
- package/resources/supergroups/inclusion-members.d.ts +6 -3
- package/resources/supergroups/inclusion-members.d.ts.map +1 -1
- package/resources/supergroups/inclusion-members.js +3 -0
- package/resources/supergroups/inclusion-members.js.map +1 -1
- package/resources/supergroups/inclusion-members.mjs +3 -0
- package/resources/supergroups/inclusion-members.mjs.map +1 -1
- package/resources/supergroups/index.d.mts +1 -1
- package/resources/supergroups/index.d.mts.map +1 -1
- package/resources/supergroups/index.d.ts +1 -1
- package/resources/supergroups/index.d.ts.map +1 -1
- package/resources/supergroups/index.js.map +1 -1
- package/resources/supergroups/index.mjs.map +1 -1
- package/resources/supergroups/members.d.mts +9 -37
- package/resources/supergroups/members.d.mts.map +1 -1
- package/resources/supergroups/members.d.ts +9 -37
- package/resources/supergroups/members.d.ts.map +1 -1
- package/resources/supergroups/members.js +3 -0
- package/resources/supergroups/members.js.map +1 -1
- package/resources/supergroups/members.mjs +3 -0
- package/resources/supergroups/members.mjs.map +1 -1
- package/resources/supergroups/supergroups.d.mts +5 -2
- package/resources/supergroups/supergroups.d.mts.map +1 -1
- package/resources/supergroups/supergroups.d.ts +5 -2
- package/resources/supergroups/supergroups.d.ts.map +1 -1
- package/resources/supergroups/supergroups.js +3 -0
- package/resources/supergroups/supergroups.js.map +1 -1
- package/resources/supergroups/supergroups.mjs +3 -0
- package/resources/supergroups/supergroups.mjs.map +1 -1
- package/resources/teams.d.mts +3 -0
- package/resources/teams.d.mts.map +1 -1
- package/resources/teams.d.ts +3 -0
- package/resources/teams.d.ts.map +1 -1
- package/resources/teams.js +3 -0
- package/resources/teams.js.map +1 -1
- package/resources/teams.mjs +3 -0
- package/resources/teams.mjs.map +1 -1
- package/resources/time-cards.d.mts +3 -0
- package/resources/time-cards.d.mts.map +1 -1
- package/resources/time-cards.d.ts +3 -0
- package/resources/time-cards.d.ts.map +1 -1
- package/resources/time-cards.js +3 -0
- package/resources/time-cards.js.map +1 -1
- package/resources/time-cards.mjs +3 -0
- package/resources/time-cards.mjs.map +1 -1
- package/resources/time-entries.d.mts +5 -1
- package/resources/time-entries.d.mts.map +1 -1
- package/resources/time-entries.d.ts +5 -1
- package/resources/time-entries.d.ts.map +1 -1
- package/resources/time-entries.js +5 -1
- package/resources/time-entries.js.map +1 -1
- package/resources/time-entries.mjs +5 -1
- package/resources/time-entries.mjs.map +1 -1
- package/resources/titles.d.mts +129 -0
- package/resources/titles.d.mts.map +1 -0
- package/resources/titles.d.ts +129 -0
- package/resources/titles.d.ts.map +1 -0
- package/resources/titles.js +51 -0
- package/resources/titles.js.map +1 -0
- package/resources/titles.mjs +47 -0
- package/resources/titles.mjs.map +1 -0
- package/resources/tracks.d.mts +3 -0
- package/resources/tracks.d.mts.map +1 -1
- package/resources/tracks.d.ts +3 -0
- package/resources/tracks.d.ts.map +1 -1
- package/resources/tracks.js +3 -0
- package/resources/tracks.js.map +1 -1
- package/resources/tracks.mjs +3 -0
- package/resources/tracks.mjs.map +1 -1
- package/resources/unassigned-shifts.d.mts +337 -0
- package/resources/unassigned-shifts.d.mts.map +1 -0
- package/resources/unassigned-shifts.d.ts +337 -0
- package/resources/unassigned-shifts.d.ts.map +1 -0
- package/resources/unassigned-shifts.js +45 -0
- package/resources/unassigned-shifts.js.map +1 -0
- package/resources/unassigned-shifts.mjs +41 -0
- package/resources/unassigned-shifts.mjs.map +1 -0
- package/resources/unassignedshifts.d.mts +385 -1
- package/resources/unassignedshifts.d.mts.map +1 -1
- package/resources/unassignedshifts.d.ts +385 -1
- package/resources/unassignedshifts.d.ts.map +1 -1
- package/resources/unassignedshifts.js +9 -0
- package/resources/unassignedshifts.js.map +1 -1
- package/resources/unassignedshifts.mjs +9 -0
- package/resources/unassignedshifts.mjs.map +1 -1
- package/resources/users.d.mts +3 -0
- package/resources/users.d.mts.map +1 -1
- package/resources/users.d.ts +3 -0
- package/resources/users.d.ts.map +1 -1
- package/resources/users.js +3 -0
- package/resources/users.js.map +1 -1
- package/resources/users.mjs +3 -0
- package/resources/users.mjs.map +1 -1
- package/resources/work-locations.d.mts +102 -1
- package/resources/work-locations.d.mts.map +1 -1
- package/resources/work-locations.d.ts +102 -1
- package/resources/work-locations.d.ts.map +1 -1
- package/resources/work-locations.js +25 -0
- package/resources/work-locations.js.map +1 -1
- package/resources/work-locations.mjs +25 -0
- package/resources/work-locations.mjs.map +1 -1
- package/resources/workers.d.mts +11 -4
- package/resources/workers.d.mts.map +1 -1
- package/resources/workers.d.ts +11 -4
- package/resources/workers.d.ts.map +1 -1
- package/resources/workers.js +3 -0
- package/resources/workers.js.map +1 -1
- package/resources/workers.mjs +3 -0
- package/resources/workers.mjs.map +1 -1
- package/src/client.ts +466 -30
- package/src/functions.ts +14 -0
- package/src/internal/parse.ts +6 -0
- package/src/internal/utils/query.ts +23 -0
- package/src/internal/utils.ts +1 -0
- package/src/resources/business-partner-groups.ts +3 -0
- package/src/resources/business-partners.ts +3 -0
- package/src/resources/candidate-applications.ts +3 -0
- package/src/resources/candidates.ts +3 -0
- package/src/resources/companies.ts +3 -0
- package/src/resources/compensation-bands-details.ts +143 -0
- package/src/resources/compensations.ts +3 -0
- package/src/resources/create-app-notification.ts +46 -0
- package/src/resources/custom-apps.ts +342 -0
- package/src/resources/custom-fields.ts +3 -0
- package/src/resources/custom-objects/custom-objects.ts +3 -0
- package/src/resources/custom-objects/fields.ts +3 -0
- package/src/resources/custom-objects/records.ts +3 -0
- package/src/resources/custom-pages.ts +277 -0
- package/src/resources/custom-settings.ts +371 -0
- package/src/resources/departments.ts +53 -0
- package/src/resources/draft-hires.ts +35 -0
- package/src/resources/employment-types.ts +3 -0
- package/src/resources/entitlements.ts +3 -0
- package/src/resources/functions/deployments.ts +3 -0
- package/src/resources/functions/executions.ts +11 -104
- package/src/resources/functions/functions.ts +22 -8
- package/src/resources/functions/index.ts +2 -4
- package/src/resources/headcount-positions.ts +3 -0
- package/src/resources/headcount-priorities.ts +3 -0
- package/src/resources/index.ts +104 -2
- package/src/resources/job-assignments.ts +98 -6
- package/src/resources/job-codes.ts +59 -1
- package/src/resources/job-dimensions.ts +27 -0
- package/src/resources/job-functions.ts +3 -0
- package/src/resources/job-pay-rate-exceptions.ts +3 -0
- package/src/resources/job-requisitions-write.ts +330 -0
- package/src/resources/job-requisitions.ts +3 -0
- package/src/resources/kiosk-badges.ts +3 -0
- package/src/resources/leave-accruals.ts +236 -12
- package/src/resources/leave-balances.ts +3 -0
- package/src/resources/leave-requests.ts +3 -0
- package/src/resources/leave-types.ts +3 -0
- package/src/resources/legal-entities.ts +3 -0
- package/src/resources/levels.ts +3 -0
- package/src/resources/location-factors.ts +3 -0
- package/src/resources/metadata/components.ts +38 -0
- package/src/resources/metadata/index.ts +10 -0
- package/src/resources/metadata/metadata.ts +70 -0
- package/src/resources/metadata/summary.ts +38 -0
- package/src/resources/metadata/types.ts +38 -0
- package/src/resources/metadata.ts +3 -0
- package/src/resources/object-categories.ts +3 -0
- package/src/resources/platform-capabilities.ts +41 -0
- package/src/resources/report-runs.ts +196 -0
- package/src/resources/run-query.ts +51 -0
- package/src/resources/schedules.ts +3 -0
- package/src/resources/send-email.ts +48 -0
- package/src/resources/send-slack.ts +42 -0
- package/src/resources/shared.ts +44 -0
- package/src/resources/shift-assignments.ts +365 -0
- package/src/resources/shift-inputs.ts +3 -0
- package/src/resources/shiftassignments.ts +73 -5
- package/src/resources/sso-me.ts +3 -0
- package/src/resources/supergroups/exclusion-members.ts +7 -4
- package/src/resources/supergroups/inclusion-members.ts +7 -4
- package/src/resources/supergroups/index.ts +1 -1
- package/src/resources/supergroups/members.ts +10 -49
- package/src/resources/supergroups/supergroups.ts +5 -7
- package/src/resources/teams.ts +3 -0
- package/src/resources/time-cards.ts +3 -0
- package/src/resources/time-entries.ts +5 -1
- package/src/resources/titles.ts +184 -0
- package/src/resources/tracks.ts +3 -0
- package/src/resources/unassigned-shifts.ts +418 -0
- package/src/resources/unassignedshifts.ts +470 -0
- package/src/resources/users.ts +3 -0
- package/src/resources/work-locations.ts +132 -0
- package/src/resources/workers.ts +11 -3
- 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,418 @@
|
|
|
1
|
+
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
+
|
|
3
|
+
import { APIResource } from '../core/resource';
|
|
4
|
+
import * as BusinessPartnersAPI from './business-partners';
|
|
5
|
+
import * as WorkersAPI from './workers';
|
|
6
|
+
import { APIPromise } from '../core/api-promise';
|
|
7
|
+
import { RequestOptions } from '../internal/request-options';
|
|
8
|
+
import { path } from '../internal/utils/path';
|
|
9
|
+
|
|
10
|
+
/**
|
|
11
|
+
* Unassigned shifts that are part of a schedule
|
|
12
|
+
*/
|
|
13
|
+
export class UnassignedShifts extends APIResource {
|
|
14
|
+
/**
|
|
15
|
+
* Update custom fields for a unassigned shift. The request body should contain a
|
|
16
|
+
* dictionary mapping custom field names to their values.
|
|
17
|
+
*
|
|
18
|
+
* - Requires: `API Tier 2`
|
|
19
|
+
*
|
|
20
|
+
* @example
|
|
21
|
+
* ```ts
|
|
22
|
+
* const response =
|
|
23
|
+
* await client.unassignedShifts.updateCustomfields('id');
|
|
24
|
+
* ```
|
|
25
|
+
*/
|
|
26
|
+
updateCustomfields(
|
|
27
|
+
id: string,
|
|
28
|
+
body: UnassignedShiftUpdateCustomfieldsParams,
|
|
29
|
+
options?: RequestOptions,
|
|
30
|
+
): APIPromise<UnassignedShiftUpdateCustomfieldsResponse> {
|
|
31
|
+
return this._client.patch(path`/unassignedshifts/${id}/customfields`, { body, ...options });
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
/**
|
|
35
|
+
* Assign a worker to an unassigned shift (open shift). The shift must be an open
|
|
36
|
+
* shift and not at capacity.
|
|
37
|
+
*
|
|
38
|
+
* - Requires: `API Tier 2`
|
|
39
|
+
*
|
|
40
|
+
* @example
|
|
41
|
+
* ```ts
|
|
42
|
+
* const response = await client.unassignedShifts.assign(
|
|
43
|
+
* 'id',
|
|
44
|
+
* { worker_id: 'worker_id' },
|
|
45
|
+
* );
|
|
46
|
+
* ```
|
|
47
|
+
*/
|
|
48
|
+
assign(
|
|
49
|
+
id: string,
|
|
50
|
+
body: UnassignedShiftAssignParams,
|
|
51
|
+
options?: RequestOptions,
|
|
52
|
+
): APIPromise<UnassignedShiftAssignResponse> {
|
|
53
|
+
return this._client.post(path`/unassignedshifts/${id}/assign`, { body, ...options });
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
/**
|
|
58
|
+
* Meta information for the response.
|
|
59
|
+
*/
|
|
60
|
+
export interface UnassignedShiftUpdateCustomfieldsResponse extends BusinessPartnersAPI.Meta {
|
|
61
|
+
/**
|
|
62
|
+
* Identifier field
|
|
63
|
+
*/
|
|
64
|
+
id: string;
|
|
65
|
+
|
|
66
|
+
/**
|
|
67
|
+
* Record creation date
|
|
68
|
+
*/
|
|
69
|
+
created_at: string;
|
|
70
|
+
|
|
71
|
+
/**
|
|
72
|
+
* Whether the shift is published
|
|
73
|
+
*/
|
|
74
|
+
is_published: boolean;
|
|
75
|
+
|
|
76
|
+
/**
|
|
77
|
+
* The ID of the schedule
|
|
78
|
+
*/
|
|
79
|
+
schedule_id: string;
|
|
80
|
+
|
|
81
|
+
/**
|
|
82
|
+
* The data of the shift
|
|
83
|
+
*/
|
|
84
|
+
shift_data: UnassignedShiftUpdateCustomfieldsResponse.ShiftData;
|
|
85
|
+
|
|
86
|
+
/**
|
|
87
|
+
* The target count of the shift
|
|
88
|
+
*/
|
|
89
|
+
target_count: number;
|
|
90
|
+
|
|
91
|
+
/**
|
|
92
|
+
* Record update date
|
|
93
|
+
*/
|
|
94
|
+
updated_at: string;
|
|
95
|
+
|
|
96
|
+
/**
|
|
97
|
+
* The number of assigned shifts
|
|
98
|
+
*/
|
|
99
|
+
assigned_count?: number;
|
|
100
|
+
|
|
101
|
+
/**
|
|
102
|
+
* The IDs of the assigned shifts that are part of this unassigned shift
|
|
103
|
+
*/
|
|
104
|
+
assigned_shift_ids?: Array<string>;
|
|
105
|
+
|
|
106
|
+
/**
|
|
107
|
+
* Custom fields for the unassigned shift
|
|
108
|
+
*/
|
|
109
|
+
custom_fields?: Array<unknown>;
|
|
110
|
+
|
|
111
|
+
/**
|
|
112
|
+
* Configuration for an open shift. If present, this is an open shift (workers can
|
|
113
|
+
* sign up). If absent/None, this is an empty shift (placeholder).
|
|
114
|
+
*/
|
|
115
|
+
open_shift_config?: unknown;
|
|
116
|
+
|
|
117
|
+
/**
|
|
118
|
+
* The published version of the shift
|
|
119
|
+
*/
|
|
120
|
+
published_version?: UnassignedShiftUpdateCustomfieldsResponse.PublishedVersion;
|
|
121
|
+
|
|
122
|
+
/**
|
|
123
|
+
* The schedule
|
|
124
|
+
*
|
|
125
|
+
* Expandable field
|
|
126
|
+
*/
|
|
127
|
+
schedule?: UnassignedShiftUpdateCustomfieldsResponse.Schedule;
|
|
128
|
+
}
|
|
129
|
+
|
|
130
|
+
export namespace UnassignedShiftUpdateCustomfieldsResponse {
|
|
131
|
+
/**
|
|
132
|
+
* The data of the shift
|
|
133
|
+
*/
|
|
134
|
+
export interface ShiftData {
|
|
135
|
+
/**
|
|
136
|
+
* The end time of the shift
|
|
137
|
+
*/
|
|
138
|
+
end_time: string;
|
|
139
|
+
|
|
140
|
+
/**
|
|
141
|
+
* The start time of the shift
|
|
142
|
+
*/
|
|
143
|
+
start_time: string;
|
|
144
|
+
|
|
145
|
+
/**
|
|
146
|
+
* Notes for the shift, max length 256 characters
|
|
147
|
+
*/
|
|
148
|
+
notes?: string;
|
|
149
|
+
|
|
150
|
+
/**
|
|
151
|
+
* The breaks of the shift
|
|
152
|
+
*/
|
|
153
|
+
shift_breaks?: Array<ShiftData.ShiftBreak>;
|
|
154
|
+
|
|
155
|
+
/**
|
|
156
|
+
* The segments of the shift
|
|
157
|
+
*/
|
|
158
|
+
shift_segments?: Array<ShiftData.ShiftSegment>;
|
|
159
|
+
}
|
|
160
|
+
|
|
161
|
+
export namespace ShiftData {
|
|
162
|
+
export interface ShiftBreak {
|
|
163
|
+
/**
|
|
164
|
+
* The duration of the shift break in minutes (input only for creation)
|
|
165
|
+
*/
|
|
166
|
+
duration_minutes: number;
|
|
167
|
+
|
|
168
|
+
/**
|
|
169
|
+
* The start time of the shift break
|
|
170
|
+
*/
|
|
171
|
+
start_time: string;
|
|
172
|
+
|
|
173
|
+
/**
|
|
174
|
+
* The type of the shift break
|
|
175
|
+
*/
|
|
176
|
+
type: 'MEAL' | 'REST';
|
|
177
|
+
|
|
178
|
+
/**
|
|
179
|
+
* The end time of the shift break (calculated from start_time + duration_minutes)
|
|
180
|
+
*/
|
|
181
|
+
end_time?: string;
|
|
182
|
+
}
|
|
183
|
+
|
|
184
|
+
export interface ShiftSegment {
|
|
185
|
+
/**
|
|
186
|
+
* The duration of the shift segment in minutes (input only for creation)
|
|
187
|
+
*/
|
|
188
|
+
duration_minutes: number;
|
|
189
|
+
|
|
190
|
+
/**
|
|
191
|
+
* The start time of the shift segment
|
|
192
|
+
*/
|
|
193
|
+
start_time: string;
|
|
194
|
+
|
|
195
|
+
/**
|
|
196
|
+
* The end time of the shift segment (calculated from start_time +
|
|
197
|
+
* duration_minutes)
|
|
198
|
+
*/
|
|
199
|
+
end_time?: string;
|
|
200
|
+
|
|
201
|
+
/**
|
|
202
|
+
* The IDs of the job codes associated with the shift segment
|
|
203
|
+
*/
|
|
204
|
+
job_codes_id?: Array<string>;
|
|
205
|
+
}
|
|
206
|
+
}
|
|
207
|
+
|
|
208
|
+
/**
|
|
209
|
+
* The published version of the shift
|
|
210
|
+
*/
|
|
211
|
+
export interface PublishedVersion {
|
|
212
|
+
/**
|
|
213
|
+
* The end time of the shift
|
|
214
|
+
*/
|
|
215
|
+
end_time: string;
|
|
216
|
+
|
|
217
|
+
/**
|
|
218
|
+
* The start time of the shift
|
|
219
|
+
*/
|
|
220
|
+
start_time: string;
|
|
221
|
+
|
|
222
|
+
/**
|
|
223
|
+
* Notes for the shift, max length 256 characters
|
|
224
|
+
*/
|
|
225
|
+
notes?: string;
|
|
226
|
+
|
|
227
|
+
/**
|
|
228
|
+
* The breaks of the shift
|
|
229
|
+
*/
|
|
230
|
+
shift_breaks?: Array<PublishedVersion.ShiftBreak>;
|
|
231
|
+
|
|
232
|
+
/**
|
|
233
|
+
* The segments of the shift
|
|
234
|
+
*/
|
|
235
|
+
shift_segments?: Array<PublishedVersion.ShiftSegment>;
|
|
236
|
+
}
|
|
237
|
+
|
|
238
|
+
export namespace PublishedVersion {
|
|
239
|
+
export interface ShiftBreak {
|
|
240
|
+
/**
|
|
241
|
+
* The duration of the shift break in minutes (input only for creation)
|
|
242
|
+
*/
|
|
243
|
+
duration_minutes: number;
|
|
244
|
+
|
|
245
|
+
/**
|
|
246
|
+
* The start time of the shift break
|
|
247
|
+
*/
|
|
248
|
+
start_time: string;
|
|
249
|
+
|
|
250
|
+
/**
|
|
251
|
+
* The type of the shift break
|
|
252
|
+
*/
|
|
253
|
+
type: 'MEAL' | 'REST';
|
|
254
|
+
|
|
255
|
+
/**
|
|
256
|
+
* The end time of the shift break (calculated from start_time + duration_minutes)
|
|
257
|
+
*/
|
|
258
|
+
end_time?: string;
|
|
259
|
+
}
|
|
260
|
+
|
|
261
|
+
export interface ShiftSegment {
|
|
262
|
+
/**
|
|
263
|
+
* The duration of the shift segment in minutes (input only for creation)
|
|
264
|
+
*/
|
|
265
|
+
duration_minutes: number;
|
|
266
|
+
|
|
267
|
+
/**
|
|
268
|
+
* The start time of the shift segment
|
|
269
|
+
*/
|
|
270
|
+
start_time: string;
|
|
271
|
+
|
|
272
|
+
/**
|
|
273
|
+
* The end time of the shift segment (calculated from start_time +
|
|
274
|
+
* duration_minutes)
|
|
275
|
+
*/
|
|
276
|
+
end_time?: string;
|
|
277
|
+
|
|
278
|
+
/**
|
|
279
|
+
* The IDs of the job codes associated with the shift segment
|
|
280
|
+
*/
|
|
281
|
+
job_codes_id?: Array<string>;
|
|
282
|
+
}
|
|
283
|
+
}
|
|
284
|
+
|
|
285
|
+
/**
|
|
286
|
+
* The schedule
|
|
287
|
+
*
|
|
288
|
+
* Expandable field
|
|
289
|
+
*/
|
|
290
|
+
export interface Schedule {
|
|
291
|
+
/**
|
|
292
|
+
* Identifier field
|
|
293
|
+
*/
|
|
294
|
+
id: string;
|
|
295
|
+
|
|
296
|
+
/**
|
|
297
|
+
* Record creation date
|
|
298
|
+
*/
|
|
299
|
+
created_at: string;
|
|
300
|
+
|
|
301
|
+
/**
|
|
302
|
+
* Record update date
|
|
303
|
+
*/
|
|
304
|
+
updated_at: string;
|
|
305
|
+
|
|
306
|
+
/**
|
|
307
|
+
* Whether the requesting role can edit the schedule.
|
|
308
|
+
*/
|
|
309
|
+
can_edit?: boolean;
|
|
310
|
+
|
|
311
|
+
/**
|
|
312
|
+
* The managers of the schedule.
|
|
313
|
+
*
|
|
314
|
+
* Expandable field
|
|
315
|
+
*/
|
|
316
|
+
managers?: Array<WorkersAPI.Worker>;
|
|
317
|
+
|
|
318
|
+
/**
|
|
319
|
+
* The IDs of the managers of the schedule.
|
|
320
|
+
*/
|
|
321
|
+
managers_id?: Array<string>;
|
|
322
|
+
|
|
323
|
+
/**
|
|
324
|
+
* The members of the schedule.
|
|
325
|
+
*
|
|
326
|
+
* Expandable field
|
|
327
|
+
*/
|
|
328
|
+
members?: Array<WorkersAPI.Worker>;
|
|
329
|
+
|
|
330
|
+
/**
|
|
331
|
+
* The IDs of the members of the schedule.
|
|
332
|
+
*/
|
|
333
|
+
members_id?: Array<string>;
|
|
334
|
+
|
|
335
|
+
/**
|
|
336
|
+
* The name of the schedule.
|
|
337
|
+
*/
|
|
338
|
+
name?: string;
|
|
339
|
+
|
|
340
|
+
/**
|
|
341
|
+
* The observers of the schedule.
|
|
342
|
+
*
|
|
343
|
+
* Expandable field
|
|
344
|
+
*/
|
|
345
|
+
observers?: Array<WorkersAPI.Worker>;
|
|
346
|
+
|
|
347
|
+
/**
|
|
348
|
+
* The IDs of the observers of the schedule.
|
|
349
|
+
*/
|
|
350
|
+
observers_id?: Array<string>;
|
|
351
|
+
|
|
352
|
+
/**
|
|
353
|
+
* The settings of the schedule.
|
|
354
|
+
*/
|
|
355
|
+
settings?: Schedule.Settings;
|
|
356
|
+
}
|
|
357
|
+
|
|
358
|
+
export namespace Schedule {
|
|
359
|
+
/**
|
|
360
|
+
* The settings of the schedule.
|
|
361
|
+
*/
|
|
362
|
+
export interface Settings {
|
|
363
|
+
/**
|
|
364
|
+
* The IANA timezone identifier for the schedule (e.g., 'America/New_York').
|
|
365
|
+
* Accepted values are defined by the tz database, listed here:
|
|
366
|
+
* https://en.wikipedia.org/wiki/List_of_tz_database_time_zones
|
|
367
|
+
*/
|
|
368
|
+
timezone?: string;
|
|
369
|
+
}
|
|
370
|
+
}
|
|
371
|
+
}
|
|
372
|
+
|
|
373
|
+
export interface UnassignedShiftAssignResponse {
|
|
374
|
+
/**
|
|
375
|
+
* The current number of assigned workers for this shift
|
|
376
|
+
*/
|
|
377
|
+
assigned_count?: number;
|
|
378
|
+
|
|
379
|
+
/**
|
|
380
|
+
* List of shift assignment IDs for this shift
|
|
381
|
+
*/
|
|
382
|
+
assigned_shift_ids?: Array<string>;
|
|
383
|
+
|
|
384
|
+
/**
|
|
385
|
+
* The ID of the newly created shift assignment
|
|
386
|
+
*/
|
|
387
|
+
assignment_id?: string;
|
|
388
|
+
|
|
389
|
+
/**
|
|
390
|
+
* The target number of workers for this shift
|
|
391
|
+
*/
|
|
392
|
+
target_count?: number;
|
|
393
|
+
}
|
|
394
|
+
|
|
395
|
+
export interface UnassignedShiftUpdateCustomfieldsParams {
|
|
396
|
+
/**
|
|
397
|
+
* Example custom field name. Replace with your actual custom field names.
|
|
398
|
+
*/
|
|
399
|
+
FieldName1?: string;
|
|
400
|
+
|
|
401
|
+
[k: string]: unknown;
|
|
402
|
+
}
|
|
403
|
+
|
|
404
|
+
export interface UnassignedShiftAssignParams {
|
|
405
|
+
/**
|
|
406
|
+
* The ID of the worker (role) to assign to the shift
|
|
407
|
+
*/
|
|
408
|
+
worker_id: string;
|
|
409
|
+
}
|
|
410
|
+
|
|
411
|
+
export declare namespace UnassignedShifts {
|
|
412
|
+
export {
|
|
413
|
+
type UnassignedShiftUpdateCustomfieldsResponse as UnassignedShiftUpdateCustomfieldsResponse,
|
|
414
|
+
type UnassignedShiftAssignResponse as UnassignedShiftAssignResponse,
|
|
415
|
+
type UnassignedShiftUpdateCustomfieldsParams as UnassignedShiftUpdateCustomfieldsParams,
|
|
416
|
+
type UnassignedShiftAssignParams as UnassignedShiftAssignParams,
|
|
417
|
+
};
|
|
418
|
+
}
|