@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,365 @@
|
|
|
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
|
+
* Shift assignments assigned to workers
|
|
12
|
+
*/
|
|
13
|
+
export class ShiftAssignments extends APIResource {
|
|
14
|
+
/**
|
|
15
|
+
* Update custom fields for a shift assignment. 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.shiftAssignments.updateCustomfields('id');
|
|
24
|
+
* ```
|
|
25
|
+
*/
|
|
26
|
+
updateCustomfields(
|
|
27
|
+
id: string,
|
|
28
|
+
body: ShiftAssignmentUpdateCustomfieldsParams,
|
|
29
|
+
options?: RequestOptions,
|
|
30
|
+
): APIPromise<ShiftAssignmentUpdateCustomfieldsResponse> {
|
|
31
|
+
return this._client.patch(path`/shiftassignments/${id}/customfields`, { body, ...options });
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
/**
|
|
36
|
+
* Meta information for the response.
|
|
37
|
+
*/
|
|
38
|
+
export interface ShiftAssignmentUpdateCustomfieldsResponse extends BusinessPartnersAPI.Meta {
|
|
39
|
+
/**
|
|
40
|
+
* Identifier field
|
|
41
|
+
*/
|
|
42
|
+
id: string;
|
|
43
|
+
|
|
44
|
+
/**
|
|
45
|
+
* Record creation date
|
|
46
|
+
*/
|
|
47
|
+
created_at: string;
|
|
48
|
+
|
|
49
|
+
/**
|
|
50
|
+
* Whether the shift assignment is published. If true, the published_version will
|
|
51
|
+
* be the same as the shift_data
|
|
52
|
+
*/
|
|
53
|
+
is_published: boolean;
|
|
54
|
+
|
|
55
|
+
/**
|
|
56
|
+
* The ID of the schedule
|
|
57
|
+
*/
|
|
58
|
+
schedule_id: string;
|
|
59
|
+
|
|
60
|
+
/**
|
|
61
|
+
* The data of the shift
|
|
62
|
+
*/
|
|
63
|
+
shift_data: ShiftAssignmentUpdateCustomfieldsResponse.ShiftData;
|
|
64
|
+
|
|
65
|
+
/**
|
|
66
|
+
* Record update date
|
|
67
|
+
*/
|
|
68
|
+
updated_at: string;
|
|
69
|
+
|
|
70
|
+
/**
|
|
71
|
+
* The ID of the worker. Empty string '' to unassign if shift is from an open/empty
|
|
72
|
+
* shift.
|
|
73
|
+
*/
|
|
74
|
+
worker_id: string;
|
|
75
|
+
|
|
76
|
+
/**
|
|
77
|
+
* Whether the shift assignment can be edited
|
|
78
|
+
*/
|
|
79
|
+
can_edit?: boolean;
|
|
80
|
+
|
|
81
|
+
/**
|
|
82
|
+
* Custom fields for the shift assignment
|
|
83
|
+
*/
|
|
84
|
+
custom_fields?: Array<unknown>;
|
|
85
|
+
|
|
86
|
+
/**
|
|
87
|
+
* The published version of the shift assignment, if it exists. If filled but
|
|
88
|
+
* is_published is false, the shift_data is the latest version.
|
|
89
|
+
*/
|
|
90
|
+
published_version?: ShiftAssignmentUpdateCustomfieldsResponse.PublishedVersion;
|
|
91
|
+
|
|
92
|
+
/**
|
|
93
|
+
* The schedule
|
|
94
|
+
*
|
|
95
|
+
* Expandable field
|
|
96
|
+
*/
|
|
97
|
+
schedule?: ShiftAssignmentUpdateCustomfieldsResponse.Schedule;
|
|
98
|
+
|
|
99
|
+
/**
|
|
100
|
+
* The worker
|
|
101
|
+
*
|
|
102
|
+
* Expandable field
|
|
103
|
+
*/
|
|
104
|
+
worker?: WorkersAPI.Worker;
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
export namespace ShiftAssignmentUpdateCustomfieldsResponse {
|
|
108
|
+
/**
|
|
109
|
+
* The data of the shift
|
|
110
|
+
*/
|
|
111
|
+
export interface ShiftData {
|
|
112
|
+
/**
|
|
113
|
+
* The end time of the shift
|
|
114
|
+
*/
|
|
115
|
+
end_time: string;
|
|
116
|
+
|
|
117
|
+
/**
|
|
118
|
+
* The start time of the shift
|
|
119
|
+
*/
|
|
120
|
+
start_time: string;
|
|
121
|
+
|
|
122
|
+
/**
|
|
123
|
+
* Notes for the shift, max length 256 characters
|
|
124
|
+
*/
|
|
125
|
+
notes?: string;
|
|
126
|
+
|
|
127
|
+
/**
|
|
128
|
+
* The breaks of the shift
|
|
129
|
+
*/
|
|
130
|
+
shift_breaks?: Array<ShiftData.ShiftBreak>;
|
|
131
|
+
|
|
132
|
+
/**
|
|
133
|
+
* The segments of the shift
|
|
134
|
+
*/
|
|
135
|
+
shift_segments?: Array<ShiftData.ShiftSegment>;
|
|
136
|
+
}
|
|
137
|
+
|
|
138
|
+
export namespace ShiftData {
|
|
139
|
+
export interface ShiftBreak {
|
|
140
|
+
/**
|
|
141
|
+
* The duration of the shift break in minutes (input only for creation)
|
|
142
|
+
*/
|
|
143
|
+
duration_minutes: number;
|
|
144
|
+
|
|
145
|
+
/**
|
|
146
|
+
* The start time of the shift break
|
|
147
|
+
*/
|
|
148
|
+
start_time: string;
|
|
149
|
+
|
|
150
|
+
/**
|
|
151
|
+
* The type of the shift break
|
|
152
|
+
*/
|
|
153
|
+
type: 'MEAL' | 'REST';
|
|
154
|
+
|
|
155
|
+
/**
|
|
156
|
+
* The end time of the shift break (calculated from start_time + duration_minutes)
|
|
157
|
+
*/
|
|
158
|
+
end_time?: string;
|
|
159
|
+
}
|
|
160
|
+
|
|
161
|
+
export interface ShiftSegment {
|
|
162
|
+
/**
|
|
163
|
+
* The duration of the shift segment in minutes (input only for creation)
|
|
164
|
+
*/
|
|
165
|
+
duration_minutes: number;
|
|
166
|
+
|
|
167
|
+
/**
|
|
168
|
+
* The start time of the shift segment
|
|
169
|
+
*/
|
|
170
|
+
start_time: string;
|
|
171
|
+
|
|
172
|
+
/**
|
|
173
|
+
* The end time of the shift segment (calculated from start_time +
|
|
174
|
+
* duration_minutes)
|
|
175
|
+
*/
|
|
176
|
+
end_time?: string;
|
|
177
|
+
|
|
178
|
+
/**
|
|
179
|
+
* The IDs of the job codes associated with the shift segment
|
|
180
|
+
*/
|
|
181
|
+
job_codes_id?: Array<string>;
|
|
182
|
+
}
|
|
183
|
+
}
|
|
184
|
+
|
|
185
|
+
/**
|
|
186
|
+
* The published version of the shift assignment, if it exists. If filled but
|
|
187
|
+
* is_published is false, the shift_data is the latest version.
|
|
188
|
+
*/
|
|
189
|
+
export interface PublishedVersion {
|
|
190
|
+
/**
|
|
191
|
+
* The end time of the shift
|
|
192
|
+
*/
|
|
193
|
+
end_time: string;
|
|
194
|
+
|
|
195
|
+
/**
|
|
196
|
+
* The start time of the shift
|
|
197
|
+
*/
|
|
198
|
+
start_time: string;
|
|
199
|
+
|
|
200
|
+
/**
|
|
201
|
+
* Notes for the shift, max length 256 characters
|
|
202
|
+
*/
|
|
203
|
+
notes?: string;
|
|
204
|
+
|
|
205
|
+
/**
|
|
206
|
+
* The breaks of the shift
|
|
207
|
+
*/
|
|
208
|
+
shift_breaks?: Array<PublishedVersion.ShiftBreak>;
|
|
209
|
+
|
|
210
|
+
/**
|
|
211
|
+
* The segments of the shift
|
|
212
|
+
*/
|
|
213
|
+
shift_segments?: Array<PublishedVersion.ShiftSegment>;
|
|
214
|
+
}
|
|
215
|
+
|
|
216
|
+
export namespace PublishedVersion {
|
|
217
|
+
export interface ShiftBreak {
|
|
218
|
+
/**
|
|
219
|
+
* The duration of the shift break in minutes (input only for creation)
|
|
220
|
+
*/
|
|
221
|
+
duration_minutes: number;
|
|
222
|
+
|
|
223
|
+
/**
|
|
224
|
+
* The start time of the shift break
|
|
225
|
+
*/
|
|
226
|
+
start_time: string;
|
|
227
|
+
|
|
228
|
+
/**
|
|
229
|
+
* The type of the shift break
|
|
230
|
+
*/
|
|
231
|
+
type: 'MEAL' | 'REST';
|
|
232
|
+
|
|
233
|
+
/**
|
|
234
|
+
* The end time of the shift break (calculated from start_time + duration_minutes)
|
|
235
|
+
*/
|
|
236
|
+
end_time?: string;
|
|
237
|
+
}
|
|
238
|
+
|
|
239
|
+
export interface ShiftSegment {
|
|
240
|
+
/**
|
|
241
|
+
* The duration of the shift segment in minutes (input only for creation)
|
|
242
|
+
*/
|
|
243
|
+
duration_minutes: number;
|
|
244
|
+
|
|
245
|
+
/**
|
|
246
|
+
* The start time of the shift segment
|
|
247
|
+
*/
|
|
248
|
+
start_time: string;
|
|
249
|
+
|
|
250
|
+
/**
|
|
251
|
+
* The end time of the shift segment (calculated from start_time +
|
|
252
|
+
* duration_minutes)
|
|
253
|
+
*/
|
|
254
|
+
end_time?: string;
|
|
255
|
+
|
|
256
|
+
/**
|
|
257
|
+
* The IDs of the job codes associated with the shift segment
|
|
258
|
+
*/
|
|
259
|
+
job_codes_id?: Array<string>;
|
|
260
|
+
}
|
|
261
|
+
}
|
|
262
|
+
|
|
263
|
+
/**
|
|
264
|
+
* The schedule
|
|
265
|
+
*
|
|
266
|
+
* Expandable field
|
|
267
|
+
*/
|
|
268
|
+
export interface Schedule {
|
|
269
|
+
/**
|
|
270
|
+
* Identifier field
|
|
271
|
+
*/
|
|
272
|
+
id: string;
|
|
273
|
+
|
|
274
|
+
/**
|
|
275
|
+
* Record creation date
|
|
276
|
+
*/
|
|
277
|
+
created_at: string;
|
|
278
|
+
|
|
279
|
+
/**
|
|
280
|
+
* Record update date
|
|
281
|
+
*/
|
|
282
|
+
updated_at: string;
|
|
283
|
+
|
|
284
|
+
/**
|
|
285
|
+
* Whether the requesting role can edit the schedule.
|
|
286
|
+
*/
|
|
287
|
+
can_edit?: boolean;
|
|
288
|
+
|
|
289
|
+
/**
|
|
290
|
+
* The managers of the schedule.
|
|
291
|
+
*
|
|
292
|
+
* Expandable field
|
|
293
|
+
*/
|
|
294
|
+
managers?: Array<WorkersAPI.Worker>;
|
|
295
|
+
|
|
296
|
+
/**
|
|
297
|
+
* The IDs of the managers of the schedule.
|
|
298
|
+
*/
|
|
299
|
+
managers_id?: Array<string>;
|
|
300
|
+
|
|
301
|
+
/**
|
|
302
|
+
* The members of the schedule.
|
|
303
|
+
*
|
|
304
|
+
* Expandable field
|
|
305
|
+
*/
|
|
306
|
+
members?: Array<WorkersAPI.Worker>;
|
|
307
|
+
|
|
308
|
+
/**
|
|
309
|
+
* The IDs of the members of the schedule.
|
|
310
|
+
*/
|
|
311
|
+
members_id?: Array<string>;
|
|
312
|
+
|
|
313
|
+
/**
|
|
314
|
+
* The name of the schedule.
|
|
315
|
+
*/
|
|
316
|
+
name?: string;
|
|
317
|
+
|
|
318
|
+
/**
|
|
319
|
+
* The observers of the schedule.
|
|
320
|
+
*
|
|
321
|
+
* Expandable field
|
|
322
|
+
*/
|
|
323
|
+
observers?: Array<WorkersAPI.Worker>;
|
|
324
|
+
|
|
325
|
+
/**
|
|
326
|
+
* The IDs of the observers of the schedule.
|
|
327
|
+
*/
|
|
328
|
+
observers_id?: Array<string>;
|
|
329
|
+
|
|
330
|
+
/**
|
|
331
|
+
* The settings of the schedule.
|
|
332
|
+
*/
|
|
333
|
+
settings?: Schedule.Settings;
|
|
334
|
+
}
|
|
335
|
+
|
|
336
|
+
export namespace Schedule {
|
|
337
|
+
/**
|
|
338
|
+
* The settings of the schedule.
|
|
339
|
+
*/
|
|
340
|
+
export interface Settings {
|
|
341
|
+
/**
|
|
342
|
+
* The IANA timezone identifier for the schedule (e.g., 'America/New_York').
|
|
343
|
+
* Accepted values are defined by the tz database, listed here:
|
|
344
|
+
* https://en.wikipedia.org/wiki/List_of_tz_database_time_zones
|
|
345
|
+
*/
|
|
346
|
+
timezone?: string;
|
|
347
|
+
}
|
|
348
|
+
}
|
|
349
|
+
}
|
|
350
|
+
|
|
351
|
+
export interface ShiftAssignmentUpdateCustomfieldsParams {
|
|
352
|
+
/**
|
|
353
|
+
* Example custom field name. Replace with your actual custom field names.
|
|
354
|
+
*/
|
|
355
|
+
FieldName1?: string;
|
|
356
|
+
|
|
357
|
+
[k: string]: unknown;
|
|
358
|
+
}
|
|
359
|
+
|
|
360
|
+
export declare namespace ShiftAssignments {
|
|
361
|
+
export {
|
|
362
|
+
type ShiftAssignmentUpdateCustomfieldsResponse as ShiftAssignmentUpdateCustomfieldsResponse,
|
|
363
|
+
type ShiftAssignmentUpdateCustomfieldsParams as ShiftAssignmentUpdateCustomfieldsParams,
|
|
364
|
+
};
|
|
365
|
+
}
|
|
@@ -9,6 +9,9 @@ import { buildHeaders } from '../internal/headers';
|
|
|
9
9
|
import { RequestOptions } from '../internal/request-options';
|
|
10
10
|
import { path } from '../internal/utils/path';
|
|
11
11
|
|
|
12
|
+
/**
|
|
13
|
+
* Shift inputs used by the company
|
|
14
|
+
*/
|
|
12
15
|
export class ShiftInputs extends APIResource {
|
|
13
16
|
/**
|
|
14
17
|
* A List of shift inputs
|
|
@@ -8,6 +8,9 @@ import { PageCursorURL, PagePromise } from '../core/pagination';
|
|
|
8
8
|
import { RequestOptions } from '../internal/request-options';
|
|
9
9
|
import { path } from '../internal/utils/path';
|
|
10
10
|
|
|
11
|
+
/**
|
|
12
|
+
* Shift assignments assigned to workers
|
|
13
|
+
*/
|
|
11
14
|
export class Shiftassignments extends APIResource {
|
|
12
15
|
/**
|
|
13
16
|
* A List of shift assignments
|
|
@@ -106,6 +109,11 @@ export interface ShiftassignmentListResponse {
|
|
|
106
109
|
*/
|
|
107
110
|
can_edit?: boolean;
|
|
108
111
|
|
|
112
|
+
/**
|
|
113
|
+
* Custom fields for the shift assignment
|
|
114
|
+
*/
|
|
115
|
+
custom_fields?: Array<unknown>;
|
|
116
|
+
|
|
109
117
|
/**
|
|
110
118
|
* The published version of the shift assignment, if it exists. If filled but
|
|
111
119
|
* is_published is false, the shift_data is the latest version.
|
|
@@ -142,6 +150,11 @@ export namespace ShiftassignmentListResponse {
|
|
|
142
150
|
*/
|
|
143
151
|
start_time: string;
|
|
144
152
|
|
|
153
|
+
/**
|
|
154
|
+
* Notes for the shift, max length 256 characters
|
|
155
|
+
*/
|
|
156
|
+
notes?: string;
|
|
157
|
+
|
|
145
158
|
/**
|
|
146
159
|
* The breaks of the shift
|
|
147
160
|
*/
|
|
@@ -215,6 +228,11 @@ export namespace ShiftassignmentListResponse {
|
|
|
215
228
|
*/
|
|
216
229
|
start_time: string;
|
|
217
230
|
|
|
231
|
+
/**
|
|
232
|
+
* Notes for the shift, max length 256 characters
|
|
233
|
+
*/
|
|
234
|
+
notes?: string;
|
|
235
|
+
|
|
218
236
|
/**
|
|
219
237
|
* The breaks of the shift
|
|
220
238
|
*/
|
|
@@ -404,6 +422,11 @@ export interface ShiftassignmentCreateResponse {
|
|
|
404
422
|
*/
|
|
405
423
|
can_edit?: boolean;
|
|
406
424
|
|
|
425
|
+
/**
|
|
426
|
+
* Custom fields for the shift assignment
|
|
427
|
+
*/
|
|
428
|
+
custom_fields?: Array<unknown>;
|
|
429
|
+
|
|
407
430
|
/**
|
|
408
431
|
* The published version of the shift assignment, if it exists. If filled but
|
|
409
432
|
* is_published is false, the shift_data is the latest version.
|
|
@@ -440,6 +463,11 @@ export namespace ShiftassignmentCreateResponse {
|
|
|
440
463
|
*/
|
|
441
464
|
start_time: string;
|
|
442
465
|
|
|
466
|
+
/**
|
|
467
|
+
* Notes for the shift, max length 256 characters
|
|
468
|
+
*/
|
|
469
|
+
notes?: string;
|
|
470
|
+
|
|
443
471
|
/**
|
|
444
472
|
* The breaks of the shift
|
|
445
473
|
*/
|
|
@@ -513,6 +541,11 @@ export namespace ShiftassignmentCreateResponse {
|
|
|
513
541
|
*/
|
|
514
542
|
start_time: string;
|
|
515
543
|
|
|
544
|
+
/**
|
|
545
|
+
* Notes for the shift, max length 256 characters
|
|
546
|
+
*/
|
|
547
|
+
notes?: string;
|
|
548
|
+
|
|
516
549
|
/**
|
|
517
550
|
* The breaks of the shift
|
|
518
551
|
*/
|
|
@@ -705,6 +738,11 @@ export interface ShiftassignmentRetrieveResponse extends BusinessPartnersAPI.Met
|
|
|
705
738
|
*/
|
|
706
739
|
can_edit?: boolean;
|
|
707
740
|
|
|
741
|
+
/**
|
|
742
|
+
* Custom fields for the shift assignment
|
|
743
|
+
*/
|
|
744
|
+
custom_fields?: Array<unknown>;
|
|
745
|
+
|
|
708
746
|
/**
|
|
709
747
|
* The published version of the shift assignment, if it exists. If filled but
|
|
710
748
|
* is_published is false, the shift_data is the latest version.
|
|
@@ -741,6 +779,11 @@ export namespace ShiftassignmentRetrieveResponse {
|
|
|
741
779
|
*/
|
|
742
780
|
start_time: string;
|
|
743
781
|
|
|
782
|
+
/**
|
|
783
|
+
* Notes for the shift, max length 256 characters
|
|
784
|
+
*/
|
|
785
|
+
notes?: string;
|
|
786
|
+
|
|
744
787
|
/**
|
|
745
788
|
* The breaks of the shift
|
|
746
789
|
*/
|
|
@@ -814,6 +857,11 @@ export namespace ShiftassignmentRetrieveResponse {
|
|
|
814
857
|
*/
|
|
815
858
|
start_time: string;
|
|
816
859
|
|
|
860
|
+
/**
|
|
861
|
+
* Notes for the shift, max length 256 characters
|
|
862
|
+
*/
|
|
863
|
+
notes?: string;
|
|
864
|
+
|
|
817
865
|
/**
|
|
818
866
|
* The breaks of the shift
|
|
819
867
|
*/
|
|
@@ -1003,6 +1051,11 @@ export interface ShiftassignmentUpdateResponse {
|
|
|
1003
1051
|
*/
|
|
1004
1052
|
can_edit?: boolean;
|
|
1005
1053
|
|
|
1054
|
+
/**
|
|
1055
|
+
* Custom fields for the shift assignment
|
|
1056
|
+
*/
|
|
1057
|
+
custom_fields?: Array<unknown>;
|
|
1058
|
+
|
|
1006
1059
|
/**
|
|
1007
1060
|
* The published version of the shift assignment, if it exists. If filled but
|
|
1008
1061
|
* is_published is false, the shift_data is the latest version.
|
|
@@ -1039,6 +1092,11 @@ export namespace ShiftassignmentUpdateResponse {
|
|
|
1039
1092
|
*/
|
|
1040
1093
|
start_time: string;
|
|
1041
1094
|
|
|
1095
|
+
/**
|
|
1096
|
+
* Notes for the shift, max length 256 characters
|
|
1097
|
+
*/
|
|
1098
|
+
notes?: string;
|
|
1099
|
+
|
|
1042
1100
|
/**
|
|
1043
1101
|
* The breaks of the shift
|
|
1044
1102
|
*/
|
|
@@ -1112,6 +1170,11 @@ export namespace ShiftassignmentUpdateResponse {
|
|
|
1112
1170
|
*/
|
|
1113
1171
|
start_time: string;
|
|
1114
1172
|
|
|
1173
|
+
/**
|
|
1174
|
+
* Notes for the shift, max length 256 characters
|
|
1175
|
+
*/
|
|
1176
|
+
notes?: string;
|
|
1177
|
+
|
|
1115
1178
|
/**
|
|
1116
1179
|
* The breaks of the shift
|
|
1117
1180
|
*/
|
|
@@ -1307,6 +1370,11 @@ export namespace ShiftassignmentCreateParams {
|
|
|
1307
1370
|
*/
|
|
1308
1371
|
start_time: string;
|
|
1309
1372
|
|
|
1373
|
+
/**
|
|
1374
|
+
* Notes for the shift, max length 256 characters
|
|
1375
|
+
*/
|
|
1376
|
+
notes?: string;
|
|
1377
|
+
|
|
1310
1378
|
/**
|
|
1311
1379
|
* The breaks of the shift
|
|
1312
1380
|
*/
|
|
@@ -1366,11 +1434,6 @@ export interface ShiftassignmentUpdateParams {
|
|
|
1366
1434
|
*/
|
|
1367
1435
|
is_published: boolean;
|
|
1368
1436
|
|
|
1369
|
-
/**
|
|
1370
|
-
* The ID of the schedule
|
|
1371
|
-
*/
|
|
1372
|
-
schedule_id: string;
|
|
1373
|
-
|
|
1374
1437
|
/**
|
|
1375
1438
|
* The data of the shift
|
|
1376
1439
|
*/
|
|
@@ -1398,6 +1461,11 @@ export namespace ShiftassignmentUpdateParams {
|
|
|
1398
1461
|
*/
|
|
1399
1462
|
start_time: string;
|
|
1400
1463
|
|
|
1464
|
+
/**
|
|
1465
|
+
* Notes for the shift, max length 256 characters
|
|
1466
|
+
*/
|
|
1467
|
+
notes?: string;
|
|
1468
|
+
|
|
1401
1469
|
/**
|
|
1402
1470
|
* The breaks of the shift
|
|
1403
1471
|
*/
|
package/src/resources/sso-me.ts
CHANGED
|
@@ -5,6 +5,9 @@ import * as CompaniesAPI from './companies';
|
|
|
5
5
|
import { APIPromise } from '../core/api-promise';
|
|
6
6
|
import { RequestOptions } from '../internal/request-options';
|
|
7
7
|
|
|
8
|
+
/**
|
|
9
|
+
* Provides the user's SSO information
|
|
10
|
+
*/
|
|
8
11
|
export class SSOMeResource extends APIResource {
|
|
9
12
|
/**
|
|
10
13
|
* SSO information of the current user
|
|
@@ -1,13 +1,16 @@
|
|
|
1
1
|
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
2
|
|
|
3
3
|
import { APIResource } from '../../core/resource';
|
|
4
|
-
import * as
|
|
5
|
-
import { GroupMembersPageCursorURL } from '
|
|
4
|
+
import * as Shared from '../shared';
|
|
5
|
+
import { GroupMembersPageCursorURL } from '../shared';
|
|
6
6
|
import { APIPromise } from '../../core/api-promise';
|
|
7
7
|
import { PageCursorURL, PagePromise } from '../../core/pagination';
|
|
8
8
|
import { RequestOptions } from '../../internal/request-options';
|
|
9
9
|
import { path } from '../../internal/utils/path';
|
|
10
10
|
|
|
11
|
+
/**
|
|
12
|
+
* Supergroups used by the company
|
|
13
|
+
*/
|
|
11
14
|
export class ExclusionMembers extends APIResource {
|
|
12
15
|
/**
|
|
13
16
|
* Retrieve supergroup exclusion members matching the input parameters.
|
|
@@ -20,10 +23,10 @@ export class ExclusionMembers extends APIResource {
|
|
|
20
23
|
groupID: string,
|
|
21
24
|
query: ExclusionMemberListParams | null | undefined = {},
|
|
22
25
|
options?: RequestOptions,
|
|
23
|
-
): PagePromise<GroupMembersPageCursorURL,
|
|
26
|
+
): PagePromise<GroupMembersPageCursorURL, Shared.GroupMember> {
|
|
24
27
|
return this._client.getAPIList(
|
|
25
28
|
path`/supergroups/${groupID}/exclusion-members`,
|
|
26
|
-
PageCursorURL<
|
|
29
|
+
PageCursorURL<Shared.GroupMember>,
|
|
27
30
|
{ query, ...options },
|
|
28
31
|
);
|
|
29
32
|
}
|
|
@@ -1,13 +1,16 @@
|
|
|
1
1
|
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
2
|
|
|
3
3
|
import { APIResource } from '../../core/resource';
|
|
4
|
-
import * as
|
|
5
|
-
import { GroupMembersPageCursorURL } from '
|
|
4
|
+
import * as Shared from '../shared';
|
|
5
|
+
import { GroupMembersPageCursorURL } from '../shared';
|
|
6
6
|
import { APIPromise } from '../../core/api-promise';
|
|
7
7
|
import { PageCursorURL, PagePromise } from '../../core/pagination';
|
|
8
8
|
import { RequestOptions } from '../../internal/request-options';
|
|
9
9
|
import { path } from '../../internal/utils/path';
|
|
10
10
|
|
|
11
|
+
/**
|
|
12
|
+
* Supergroups used by the company
|
|
13
|
+
*/
|
|
11
14
|
export class InclusionMembers extends APIResource {
|
|
12
15
|
/**
|
|
13
16
|
* Retrieve supergroup inclusion members matching the input parameters.
|
|
@@ -20,10 +23,10 @@ export class InclusionMembers extends APIResource {
|
|
|
20
23
|
groupID: string,
|
|
21
24
|
query: InclusionMemberListParams | null | undefined = {},
|
|
22
25
|
options?: RequestOptions,
|
|
23
|
-
): PagePromise<GroupMembersPageCursorURL,
|
|
26
|
+
): PagePromise<GroupMembersPageCursorURL, Shared.GroupMember> {
|
|
24
27
|
return this._client.getAPIList(
|
|
25
28
|
path`/supergroups/${groupID}/inclusion-members`,
|
|
26
|
-
PageCursorURL<
|
|
29
|
+
PageCursorURL<Shared.GroupMember>,
|
|
27
30
|
{ query, ...options },
|
|
28
31
|
);
|
|
29
32
|
}
|
|
@@ -12,7 +12,7 @@ export {
|
|
|
12
12
|
type InclusionMemberListParams,
|
|
13
13
|
type InclusionMemberUpdateParams,
|
|
14
14
|
} from './inclusion-members';
|
|
15
|
-
export { Members, type
|
|
15
|
+
export { Members, type MemberListParams } from './members';
|
|
16
16
|
export {
|
|
17
17
|
Supergroups,
|
|
18
18
|
type Supergroup,
|