@rippling/rippling-sdk 0.2.0-alpha.26 → 0.2.0-alpha.28
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/client.d.mts +195 -5
- package/client.d.mts.map +1 -1
- package/client.d.ts +195 -5
- package/client.d.ts.map +1 -1
- package/client.js +215 -20
- package/client.js.map +1 -1
- package/client.mjs +215 -20
- package/client.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 +7 -4
- package/resources/business-partner-groups.js.map +1 -1
- package/resources/business-partner-groups.mjs +7 -4
- 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 +7 -4
- package/resources/business-partners.js.map +1 -1
- package/resources/business-partners.mjs +7 -4
- 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 +4 -1
- package/resources/candidate-applications.js.map +1 -1
- package/resources/candidate-applications.mjs +4 -1
- 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 +4 -1
- package/resources/candidates.js.map +1 -1
- package/resources/candidates.mjs +4 -1
- 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 +4 -1
- package/resources/companies.js.map +1 -1
- package/resources/companies.mjs +4 -1
- package/resources/companies.mjs.map +1 -1
- package/resources/compensation-bands-details.d.mts +3 -0
- package/resources/compensation-bands-details.d.mts.map +1 -1
- package/resources/compensation-bands-details.d.ts +3 -0
- package/resources/compensation-bands-details.d.ts.map +1 -1
- package/resources/compensation-bands-details.js +5 -2
- package/resources/compensation-bands-details.js.map +1 -1
- package/resources/compensation-bands-details.mjs +5 -2
- package/resources/compensation-bands-details.mjs.map +1 -1
- 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 +5 -2
- package/resources/compensations.js.map +1 -1
- package/resources/compensations.mjs +5 -2
- 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 +341 -0
- package/resources/custom-apps.d.mts.map +1 -0
- package/resources/custom-apps.d.ts +341 -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 +4 -1
- package/resources/custom-fields.js.map +1 -1
- package/resources/custom-fields.mjs +4 -1
- 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 +177 -0
- package/resources/custom-pages.d.mts.map +1 -0
- package/resources/custom-pages.d.ts +177 -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.js +5 -5
- package/resources/custom-settings.js.map +1 -1
- package/resources/custom-settings.mjs +5 -5
- package/resources/custom-settings.mjs.map +1 -1
- package/resources/departments.d.mts +3 -0
- package/resources/departments.d.mts.map +1 -1
- package/resources/departments.d.ts +3 -0
- package/resources/departments.d.ts.map +1 -1
- package/resources/departments.js +7 -4
- package/resources/departments.js.map +1 -1
- package/resources/departments.mjs +7 -4
- package/resources/departments.mjs.map +1 -1
- package/resources/draft-hires.d.mts +3 -0
- package/resources/draft-hires.d.mts.map +1 -1
- package/resources/draft-hires.d.ts +3 -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 +5 -2
- package/resources/employment-types.js.map +1 -1
- package/resources/employment-types.mjs +5 -2
- 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 +4 -1
- package/resources/entitlements.js.map +1 -1
- package/resources/entitlements.mjs +4 -1
- 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 +3 -0
- package/resources/functions/executions.d.mts.map +1 -1
- package/resources/functions/executions.d.ts +3 -0
- 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 +15 -0
- package/resources/functions/functions.d.mts.map +1 -1
- package/resources/functions/functions.d.ts +15 -0
- 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/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 +5 -2
- package/resources/headcount-positions.js.map +1 -1
- package/resources/headcount-positions.mjs +5 -2
- 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 +5 -2
- package/resources/headcount-priorities.js.map +1 -1
- package/resources/headcount-priorities.mjs +5 -2
- package/resources/headcount-priorities.mjs.map +1 -1
- package/resources/index.d.mts +9 -1
- package/resources/index.d.mts.map +1 -1
- package/resources/index.d.ts +9 -1
- package/resources/index.d.ts.map +1 -1
- package/resources/index.js +18 -1
- package/resources/index.js.map +1 -1
- package/resources/index.mjs +8 -0
- package/resources/index.mjs.map +1 -1
- package/resources/job-assignments.d.mts +3 -0
- package/resources/job-assignments.d.mts.map +1 -1
- package/resources/job-assignments.d.ts +3 -0
- package/resources/job-assignments.d.ts.map +1 -1
- package/resources/job-assignments.js +9 -6
- package/resources/job-assignments.js.map +1 -1
- package/resources/job-assignments.mjs +9 -6
- package/resources/job-assignments.mjs.map +1 -1
- package/resources/job-codes.d.mts +3 -0
- package/resources/job-codes.d.mts.map +1 -1
- package/resources/job-codes.d.ts +3 -0
- package/resources/job-codes.d.ts.map +1 -1
- package/resources/job-codes.js +9 -6
- package/resources/job-codes.js.map +1 -1
- package/resources/job-codes.mjs +9 -6
- package/resources/job-codes.mjs.map +1 -1
- package/resources/job-dimensions.d.mts +3 -0
- package/resources/job-dimensions.d.mts.map +1 -1
- package/resources/job-dimensions.d.ts +3 -0
- package/resources/job-dimensions.d.ts.map +1 -1
- package/resources/job-dimensions.js +8 -5
- package/resources/job-dimensions.js.map +1 -1
- package/resources/job-dimensions.mjs +8 -5
- 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 +5 -2
- package/resources/job-functions.js.map +1 -1
- package/resources/job-functions.mjs +5 -2
- 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 +6 -3
- package/resources/job-pay-rate-exceptions.js.map +1 -1
- package/resources/job-pay-rate-exceptions.mjs +6 -3
- package/resources/job-pay-rate-exceptions.mjs.map +1 -1
- package/resources/job-requisitions-write.d.mts +3 -0
- package/resources/job-requisitions-write.d.mts.map +1 -1
- package/resources/job-requisitions-write.d.ts +3 -0
- package/resources/job-requisitions-write.d.ts.map +1 -1
- package/resources/job-requisitions-write.js +4 -1
- package/resources/job-requisitions-write.js.map +1 -1
- package/resources/job-requisitions-write.mjs +4 -1
- package/resources/job-requisitions-write.mjs.map +1 -1
- 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 +7 -1
- package/resources/job-requisitions.js.map +1 -1
- package/resources/job-requisitions.mjs +7 -1
- 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 +8 -5
- package/resources/kiosk-badges.js.map +1 -1
- package/resources/kiosk-badges.mjs +8 -5
- package/resources/kiosk-badges.mjs.map +1 -1
- package/resources/leave-accruals.d.mts +7 -4
- package/resources/leave-accruals.d.mts.map +1 -1
- package/resources/leave-accruals.d.ts +7 -4
- package/resources/leave-accruals.d.ts.map +1 -1
- package/resources/leave-accruals.js +6 -3
- package/resources/leave-accruals.js.map +1 -1
- package/resources/leave-accruals.mjs +6 -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 +5 -2
- package/resources/leave-balances.js.map +1 -1
- package/resources/leave-balances.mjs +5 -2
- 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 +7 -4
- package/resources/leave-requests.js.map +1 -1
- package/resources/leave-requests.mjs +7 -4
- 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 +5 -2
- package/resources/leave-types.js.map +1 -1
- package/resources/leave-types.mjs +5 -2
- 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 +5 -2
- package/resources/legal-entities.js.map +1 -1
- package/resources/legal-entities.mjs +5 -2
- 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 +5 -2
- package/resources/levels.js.map +1 -1
- package/resources/levels.mjs +5 -2
- 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 +5 -2
- package/resources/location-factors.js.map +1 -1
- package/resources/location-factors.mjs +5 -2
- 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 +21 -12
- package/resources/report-runs.d.mts.map +1 -1
- package/resources/report-runs.d.ts +21 -12
- package/resources/report-runs.d.ts.map +1 -1
- package/resources/report-runs.js +5 -2
- package/resources/report-runs.js.map +1 -1
- package/resources/report-runs.mjs +5 -2
- package/resources/report-runs.mjs.map +1 -1
- 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 +7 -4
- package/resources/schedules.js.map +1 -1
- package/resources/schedules.mjs +7 -4
- 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/shift-assignments.d.mts +3 -0
- package/resources/shift-assignments.d.mts.map +1 -1
- package/resources/shift-assignments.d.ts +3 -0
- package/resources/shift-assignments.d.ts.map +1 -1
- package/resources/shift-assignments.js +4 -1
- package/resources/shift-assignments.js.map +1 -1
- package/resources/shift-assignments.mjs +4 -1
- package/resources/shift-assignments.mjs.map +1 -1
- 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 +8 -5
- package/resources/shift-inputs.js.map +1 -1
- package/resources/shift-inputs.mjs +8 -5
- package/resources/shift-inputs.mjs.map +1 -1
- package/resources/shiftassignments.d.mts +3 -0
- package/resources/shiftassignments.d.mts.map +1 -1
- package/resources/shiftassignments.d.ts +3 -0
- package/resources/shiftassignments.d.ts.map +1 -1
- package/resources/shiftassignments.js +7 -4
- package/resources/shiftassignments.js.map +1 -1
- package/resources/shiftassignments.mjs +7 -4
- package/resources/shiftassignments.mjs.map +1 -1
- package/resources/sso-me.d.mts +6 -3
- package/resources/sso-me.d.mts.map +1 -1
- package/resources/sso-me.d.ts +6 -3
- package/resources/sso-me.d.ts.map +1 -1
- package/resources/sso-me.js +5 -2
- package/resources/sso-me.js.map +1 -1
- package/resources/sso-me.mjs +5 -2
- package/resources/sso-me.mjs.map +1 -1
- package/resources/supergroups/exclusion-members.d.mts +3 -0
- package/resources/supergroups/exclusion-members.d.mts.map +1 -1
- package/resources/supergroups/exclusion-members.d.ts +3 -0
- package/resources/supergroups/exclusion-members.d.ts.map +1 -1
- package/resources/supergroups/exclusion-members.js +5 -2
- package/resources/supergroups/exclusion-members.js.map +1 -1
- package/resources/supergroups/exclusion-members.mjs +5 -2
- package/resources/supergroups/exclusion-members.mjs.map +1 -1
- package/resources/supergroups/inclusion-members.d.mts +3 -0
- package/resources/supergroups/inclusion-members.d.mts.map +1 -1
- package/resources/supergroups/inclusion-members.d.ts +3 -0
- package/resources/supergroups/inclusion-members.d.ts.map +1 -1
- package/resources/supergroups/inclusion-members.js +5 -2
- package/resources/supergroups/inclusion-members.js.map +1 -1
- package/resources/supergroups/inclusion-members.mjs +5 -2
- package/resources/supergroups/inclusion-members.mjs.map +1 -1
- package/resources/supergroups/members.d.mts +3 -0
- package/resources/supergroups/members.d.mts.map +1 -1
- package/resources/supergroups/members.d.ts +3 -0
- package/resources/supergroups/members.d.ts.map +1 -1
- package/resources/supergroups/members.js +4 -4
- package/resources/supergroups/members.js.map +1 -1
- package/resources/supergroups/members.mjs +4 -4
- package/resources/supergroups/members.mjs.map +1 -1
- package/resources/supergroups/supergroups.d.mts +3 -0
- package/resources/supergroups/supergroups.d.mts.map +1 -1
- package/resources/supergroups/supergroups.d.ts +3 -0
- package/resources/supergroups/supergroups.d.ts.map +1 -1
- package/resources/supergroups/supergroups.js +5 -2
- package/resources/supergroups/supergroups.js.map +1 -1
- package/resources/supergroups/supergroups.mjs +5 -2
- 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 +5 -2
- package/resources/teams.js.map +1 -1
- package/resources/teams.mjs +5 -2
- 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 +5 -2
- package/resources/time-cards.js.map +1 -1
- package/resources/time-cards.mjs +5 -2
- 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 +10 -6
- package/resources/time-entries.js.map +1 -1
- package/resources/time-entries.mjs +10 -6
- package/resources/time-entries.mjs.map +1 -1
- package/resources/titles.d.mts +3 -0
- package/resources/titles.d.mts.map +1 -1
- package/resources/titles.d.ts +3 -0
- package/resources/titles.d.ts.map +1 -1
- package/resources/titles.js +8 -5
- package/resources/titles.js.map +1 -1
- package/resources/titles.mjs +8 -5
- package/resources/titles.mjs.map +1 -1
- 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 +5 -2
- package/resources/tracks.js.map +1 -1
- package/resources/tracks.mjs +5 -2
- package/resources/tracks.mjs.map +1 -1
- package/resources/unassigned-shifts.d.mts +3 -0
- package/resources/unassigned-shifts.d.mts.map +1 -1
- package/resources/unassigned-shifts.d.ts +3 -0
- package/resources/unassigned-shifts.d.ts.map +1 -1
- package/resources/unassigned-shifts.js +5 -2
- package/resources/unassigned-shifts.js.map +1 -1
- package/resources/unassigned-shifts.mjs +5 -2
- package/resources/unassigned-shifts.mjs.map +1 -1
- package/resources/unassignedshifts.d.mts +3 -0
- package/resources/unassignedshifts.d.mts.map +1 -1
- package/resources/unassignedshifts.d.ts +3 -0
- package/resources/unassignedshifts.d.ts.map +1 -1
- package/resources/unassignedshifts.js +7 -4
- package/resources/unassignedshifts.js.map +1 -1
- package/resources/unassignedshifts.mjs +7 -4
- 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 +5 -2
- package/resources/users.js.map +1 -1
- package/resources/users.mjs +5 -2
- package/resources/users.mjs.map +1 -1
- package/resources/work-locations.d.mts +7 -0
- package/resources/work-locations.d.mts.map +1 -1
- package/resources/work-locations.d.ts +7 -0
- package/resources/work-locations.d.ts.map +1 -1
- package/resources/work-locations.js +17 -4
- package/resources/work-locations.js.map +1 -1
- package/resources/work-locations.mjs +17 -4
- 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 +5 -2
- package/resources/workers.js.map +1 -1
- package/resources/workers.mjs +5 -2
- package/resources/workers.mjs.map +1 -1
- package/src/client.ts +315 -33
- 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 +7 -4
- package/src/resources/business-partners.ts +7 -4
- package/src/resources/candidate-applications.ts +4 -1
- package/src/resources/candidates.ts +4 -1
- package/src/resources/companies.ts +4 -1
- package/src/resources/compensation-bands-details.ts +5 -2
- package/src/resources/compensations.ts +5 -2
- package/src/resources/create-app-notification.ts +46 -0
- package/src/resources/custom-apps.ts +442 -0
- package/src/resources/custom-fields.ts +4 -1
- 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 +247 -0
- package/src/resources/custom-settings.ts +5 -5
- package/src/resources/departments.ts +7 -4
- package/src/resources/draft-hires.ts +3 -0
- package/src/resources/employment-types.ts +5 -2
- package/src/resources/entitlements.ts +4 -1
- package/src/resources/functions/deployments.ts +3 -0
- package/src/resources/functions/executions.ts +3 -0
- package/src/resources/functions/functions.ts +18 -0
- package/src/resources/headcount-positions.ts +5 -2
- package/src/resources/headcount-priorities.ts +5 -2
- package/src/resources/index.ts +39 -1
- package/src/resources/job-assignments.ts +9 -6
- package/src/resources/job-codes.ts +9 -6
- package/src/resources/job-dimensions.ts +8 -5
- package/src/resources/job-functions.ts +5 -2
- package/src/resources/job-pay-rate-exceptions.ts +6 -3
- package/src/resources/job-requisitions-write.ts +4 -1
- package/src/resources/job-requisitions.ts +7 -1
- package/src/resources/kiosk-badges.ts +8 -5
- package/src/resources/leave-accruals.ts +14 -7
- package/src/resources/leave-balances.ts +5 -2
- package/src/resources/leave-requests.ts +7 -4
- package/src/resources/leave-types.ts +5 -2
- package/src/resources/legal-entities.ts +5 -2
- package/src/resources/levels.ts +5 -2
- package/src/resources/location-factors.ts +5 -2
- 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 +24 -14
- package/src/resources/run-query.ts +51 -0
- package/src/resources/schedules.ts +7 -4
- package/src/resources/send-email.ts +48 -0
- package/src/resources/send-slack.ts +42 -0
- package/src/resources/shift-assignments.ts +4 -1
- package/src/resources/shift-inputs.ts +8 -5
- package/src/resources/shiftassignments.ts +7 -4
- package/src/resources/sso-me.ts +7 -4
- package/src/resources/supergroups/exclusion-members.ts +5 -2
- package/src/resources/supergroups/inclusion-members.ts +5 -2
- package/src/resources/supergroups/members.ts +8 -4
- package/src/resources/supergroups/supergroups.ts +5 -2
- package/src/resources/teams.ts +5 -2
- package/src/resources/time-cards.ts +5 -2
- package/src/resources/time-entries.ts +10 -6
- package/src/resources/titles.ts +8 -5
- package/src/resources/tracks.ts +5 -2
- package/src/resources/unassigned-shifts.ts +5 -2
- package/src/resources/unassignedshifts.ts +7 -4
- package/src/resources/users.ts +5 -2
- package/src/resources/work-locations.ts +18 -4
- package/src/resources/workers.ts +13 -5
- 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
package/src/resources/teams.ts
CHANGED
|
@@ -7,6 +7,9 @@ import { PageCursorURL, PagePromise } from '../core/pagination';
|
|
|
7
7
|
import { RequestOptions } from '../internal/request-options';
|
|
8
8
|
import { path } from '../internal/utils/path';
|
|
9
9
|
|
|
10
|
+
/**
|
|
11
|
+
* Teams at the company
|
|
12
|
+
*/
|
|
10
13
|
export class Teams extends APIResource {
|
|
11
14
|
/**
|
|
12
15
|
* A List of teams
|
|
@@ -19,7 +22,7 @@ export class Teams extends APIResource {
|
|
|
19
22
|
query: TeamListParams | null | undefined = {},
|
|
20
23
|
options?: RequestOptions,
|
|
21
24
|
): PagePromise<TeamsPageCursorURL, Team> {
|
|
22
|
-
return this._client.getAPIList('/teams', PageCursorURL<Team>, { query, ...options });
|
|
25
|
+
return this._client.getAPIList('/teams/', PageCursorURL<Team>, { query, ...options });
|
|
23
26
|
}
|
|
24
27
|
|
|
25
28
|
/**
|
|
@@ -30,7 +33,7 @@ export class Teams extends APIResource {
|
|
|
30
33
|
query: TeamRetrieveParams | null | undefined = {},
|
|
31
34
|
options?: RequestOptions,
|
|
32
35
|
): APIPromise<TeamRetrieveResponse> {
|
|
33
|
-
return this._client.get(path`/teams/${id}
|
|
36
|
+
return this._client.get(path`/teams/${id}/`, { query, ...options });
|
|
34
37
|
}
|
|
35
38
|
}
|
|
36
39
|
|
|
@@ -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
|
+
* Time entries submitted by workers
|
|
13
|
+
*/
|
|
11
14
|
export class TimeCards extends APIResource {
|
|
12
15
|
/**
|
|
13
16
|
* A List of time cards
|
|
@@ -21,7 +24,7 @@ export class TimeCards extends APIResource {
|
|
|
21
24
|
query: TimeCardListParams | null | undefined = {},
|
|
22
25
|
options?: RequestOptions,
|
|
23
26
|
): PagePromise<TimeCardsPageCursorURL, TimeCard> {
|
|
24
|
-
return this._client.getAPIList('/time-cards', PageCursorURL<TimeCard>, { query, ...options });
|
|
27
|
+
return this._client.getAPIList('/time-cards/', PageCursorURL<TimeCard>, { query, ...options });
|
|
25
28
|
}
|
|
26
29
|
|
|
27
30
|
/**
|
|
@@ -32,7 +35,7 @@ export class TimeCards extends APIResource {
|
|
|
32
35
|
query: TimeCardRetrieveParams | null | undefined = {},
|
|
33
36
|
options?: RequestOptions,
|
|
34
37
|
): APIPromise<TimeCardRetrieveResponse> {
|
|
35
|
-
return this._client.get(path`/time-cards/${id}
|
|
38
|
+
return this._client.get(path`/time-cards/${id}/`, { query, ...options });
|
|
36
39
|
}
|
|
37
40
|
}
|
|
38
41
|
|
|
@@ -10,12 +10,16 @@ import { buildHeaders } from '../internal/headers';
|
|
|
10
10
|
import { RequestOptions } from '../internal/request-options';
|
|
11
11
|
import { path } from '../internal/utils/path';
|
|
12
12
|
|
|
13
|
+
/**
|
|
14
|
+
* Time entries submitted by workers
|
|
15
|
+
*/
|
|
13
16
|
export class TimeEntries extends APIResource {
|
|
14
17
|
/**
|
|
15
18
|
* A List of time entries
|
|
16
19
|
*
|
|
17
20
|
* - Requires: `API Tier 2`
|
|
18
|
-
* - Filterable fields: `worker_id`, `start_time`, `pay_period.start_date
|
|
21
|
+
* - Filterable fields: `worker_id`, `start_time`, `pay_period.start_date`,
|
|
22
|
+
* `updated_at`
|
|
19
23
|
* - Expandable fields: `worker`, `time_card`
|
|
20
24
|
* - Sortable fields: `id`, `created_at`, `updated_at`
|
|
21
25
|
*/
|
|
@@ -23,7 +27,7 @@ export class TimeEntries extends APIResource {
|
|
|
23
27
|
query: TimeEntryListParams | null | undefined = {},
|
|
24
28
|
options?: RequestOptions,
|
|
25
29
|
): PagePromise<TimeEntryListResponsesPageCursorURL, TimeEntryListResponse> {
|
|
26
|
-
return this._client.getAPIList('/time-entries', PageCursorURL<TimeEntryListResponse>, {
|
|
30
|
+
return this._client.getAPIList('/time-entries/', PageCursorURL<TimeEntryListResponse>, {
|
|
27
31
|
query,
|
|
28
32
|
...options,
|
|
29
33
|
});
|
|
@@ -33,7 +37,7 @@ export class TimeEntries extends APIResource {
|
|
|
33
37
|
* Create a new time entry
|
|
34
38
|
*/
|
|
35
39
|
create(body: TimeEntryCreateParams, options?: RequestOptions): APIPromise<TimeEntryCreateResponse> {
|
|
36
|
-
return this._client.post('/time-entries', { body, ...options });
|
|
40
|
+
return this._client.post('/time-entries/', { body, ...options });
|
|
37
41
|
}
|
|
38
42
|
|
|
39
43
|
/**
|
|
@@ -44,7 +48,7 @@ export class TimeEntries extends APIResource {
|
|
|
44
48
|
query: TimeEntryRetrieveParams | null | undefined = {},
|
|
45
49
|
options?: RequestOptions,
|
|
46
50
|
): APIPromise<TimeEntryRetrieveResponse> {
|
|
47
|
-
return this._client.get(path`/time-entries/${id}
|
|
51
|
+
return this._client.get(path`/time-entries/${id}/`, { query, ...options });
|
|
48
52
|
}
|
|
49
53
|
|
|
50
54
|
/**
|
|
@@ -55,14 +59,14 @@ export class TimeEntries extends APIResource {
|
|
|
55
59
|
body: TimeEntryUpdateParams,
|
|
56
60
|
options?: RequestOptions,
|
|
57
61
|
): APIPromise<TimeEntryUpdateResponse> {
|
|
58
|
-
return this._client.patch(path`/time-entries/${id}
|
|
62
|
+
return this._client.patch(path`/time-entries/${id}/`, { body, ...options });
|
|
59
63
|
}
|
|
60
64
|
|
|
61
65
|
/**
|
|
62
66
|
* Delete a time entry
|
|
63
67
|
*/
|
|
64
68
|
delete(id: string, options?: RequestOptions): APIPromise<void> {
|
|
65
|
-
return this._client.delete(path`/time-entries/${id}
|
|
69
|
+
return this._client.delete(path`/time-entries/${id}/`, {
|
|
66
70
|
...options,
|
|
67
71
|
headers: buildHeaders([{ Accept: '*/*' }, options?.headers]),
|
|
68
72
|
});
|
package/src/resources/titles.ts
CHANGED
|
@@ -8,6 +8,9 @@ import { buildHeaders } from '../internal/headers';
|
|
|
8
8
|
import { RequestOptions } from '../internal/request-options';
|
|
9
9
|
import { path } from '../internal/utils/path';
|
|
10
10
|
|
|
11
|
+
/**
|
|
12
|
+
* Job titles used by the company
|
|
13
|
+
*/
|
|
11
14
|
export class Titles extends APIResource {
|
|
12
15
|
/**
|
|
13
16
|
* A List of titles
|
|
@@ -19,35 +22,35 @@ export class Titles extends APIResource {
|
|
|
19
22
|
query: TitleListParams | null | undefined = {},
|
|
20
23
|
options?: RequestOptions,
|
|
21
24
|
): PagePromise<TitleListResponsesPageCursorURL, TitleListResponse> {
|
|
22
|
-
return this._client.getAPIList('/titles', PageCursorURL<TitleListResponse>, { query, ...options });
|
|
25
|
+
return this._client.getAPIList('/titles/', PageCursorURL<TitleListResponse>, { query, ...options });
|
|
23
26
|
}
|
|
24
27
|
|
|
25
28
|
/**
|
|
26
29
|
* Create a new title
|
|
27
30
|
*/
|
|
28
31
|
create(body: TitleCreateParams, options?: RequestOptions): APIPromise<TitleCreateResponse> {
|
|
29
|
-
return this._client.post('/titles', { body, ...options });
|
|
32
|
+
return this._client.post('/titles/', { body, ...options });
|
|
30
33
|
}
|
|
31
34
|
|
|
32
35
|
/**
|
|
33
36
|
* Retrieve a specific title
|
|
34
37
|
*/
|
|
35
38
|
retrieve(id: string, options?: RequestOptions): APIPromise<TitleRetrieveResponse> {
|
|
36
|
-
return this._client.get(path`/titles/${id}
|
|
39
|
+
return this._client.get(path`/titles/${id}/`, options);
|
|
37
40
|
}
|
|
38
41
|
|
|
39
42
|
/**
|
|
40
43
|
* Updated a specific title
|
|
41
44
|
*/
|
|
42
45
|
update(id: string, body: TitleUpdateParams, options?: RequestOptions): APIPromise<TitleUpdateResponse> {
|
|
43
|
-
return this._client.patch(path`/titles/${id}
|
|
46
|
+
return this._client.patch(path`/titles/${id}/`, { body, ...options });
|
|
44
47
|
}
|
|
45
48
|
|
|
46
49
|
/**
|
|
47
50
|
* Delete a title
|
|
48
51
|
*/
|
|
49
52
|
delete(id: string, options?: RequestOptions): APIPromise<void> {
|
|
50
|
-
return this._client.delete(path`/titles/${id}
|
|
53
|
+
return this._client.delete(path`/titles/${id}/`, {
|
|
51
54
|
...options,
|
|
52
55
|
headers: buildHeaders([{ Accept: '*/*' }, options?.headers]),
|
|
53
56
|
});
|
package/src/resources/tracks.ts
CHANGED
|
@@ -7,6 +7,9 @@ import { PageCursorURL, PagePromise } from '../core/pagination';
|
|
|
7
7
|
import { RequestOptions } from '../internal/request-options';
|
|
8
8
|
import { path } from '../internal/utils/path';
|
|
9
9
|
|
|
10
|
+
/**
|
|
11
|
+
* Levels and tracks used by the company for workers
|
|
12
|
+
*/
|
|
10
13
|
export class Tracks extends APIResource {
|
|
11
14
|
/**
|
|
12
15
|
* A List of tracks
|
|
@@ -18,14 +21,14 @@ export class Tracks extends APIResource {
|
|
|
18
21
|
query: TrackListParams | null | undefined = {},
|
|
19
22
|
options?: RequestOptions,
|
|
20
23
|
): PagePromise<TracksPageCursorURL, Track> {
|
|
21
|
-
return this._client.getAPIList('/tracks', PageCursorURL<Track>, { query, ...options });
|
|
24
|
+
return this._client.getAPIList('/tracks/', PageCursorURL<Track>, { query, ...options });
|
|
22
25
|
}
|
|
23
26
|
|
|
24
27
|
/**
|
|
25
28
|
* Retrieve a specific track
|
|
26
29
|
*/
|
|
27
30
|
retrieve(id: string, options?: RequestOptions): APIPromise<TrackRetrieveResponse> {
|
|
28
|
-
return this._client.get(path`/tracks/${id}
|
|
31
|
+
return this._client.get(path`/tracks/${id}/`, options);
|
|
29
32
|
}
|
|
30
33
|
}
|
|
31
34
|
|
|
@@ -7,6 +7,9 @@ import { APIPromise } from '../core/api-promise';
|
|
|
7
7
|
import { RequestOptions } from '../internal/request-options';
|
|
8
8
|
import { path } from '../internal/utils/path';
|
|
9
9
|
|
|
10
|
+
/**
|
|
11
|
+
* Unassigned shifts that are part of a schedule
|
|
12
|
+
*/
|
|
10
13
|
export class UnassignedShifts extends APIResource {
|
|
11
14
|
/**
|
|
12
15
|
* Update custom fields for a unassigned shift. The request body should contain a
|
|
@@ -25,7 +28,7 @@ export class UnassignedShifts extends APIResource {
|
|
|
25
28
|
body: UnassignedShiftUpdateCustomfieldsParams,
|
|
26
29
|
options?: RequestOptions,
|
|
27
30
|
): APIPromise<UnassignedShiftUpdateCustomfieldsResponse> {
|
|
28
|
-
return this._client.patch(path`/unassignedshifts/${id}/customfields
|
|
31
|
+
return this._client.patch(path`/unassignedshifts/${id}/customfields/`, { body, ...options });
|
|
29
32
|
}
|
|
30
33
|
|
|
31
34
|
/**
|
|
@@ -47,7 +50,7 @@ export class UnassignedShifts extends APIResource {
|
|
|
47
50
|
body: UnassignedShiftAssignParams,
|
|
48
51
|
options?: RequestOptions,
|
|
49
52
|
): APIPromise<UnassignedShiftAssignResponse> {
|
|
50
|
-
return this._client.post(path`/unassignedshifts/${id}/assign
|
|
53
|
+
return this._client.post(path`/unassignedshifts/${id}/assign/`, { body, ...options });
|
|
51
54
|
}
|
|
52
55
|
}
|
|
53
56
|
|
|
@@ -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
|
+
* Unassigned shifts that are part of a schedule
|
|
13
|
+
*/
|
|
11
14
|
export class Unassignedshifts extends APIResource {
|
|
12
15
|
/**
|
|
13
16
|
* A List of unassigned shifts
|
|
@@ -22,7 +25,7 @@ export class Unassignedshifts extends APIResource {
|
|
|
22
25
|
query: UnassignedshiftListParams | null | undefined = {},
|
|
23
26
|
options?: RequestOptions,
|
|
24
27
|
): PagePromise<UnassignedshiftListResponsesPageCursorURL, UnassignedshiftListResponse> {
|
|
25
|
-
return this._client.getAPIList('/unassignedshifts', PageCursorURL<UnassignedshiftListResponse>, {
|
|
28
|
+
return this._client.getAPIList('/unassignedshifts/', PageCursorURL<UnassignedshiftListResponse>, {
|
|
26
29
|
query,
|
|
27
30
|
...options,
|
|
28
31
|
});
|
|
@@ -35,7 +38,7 @@ export class Unassignedshifts extends APIResource {
|
|
|
35
38
|
body: UnassignedshiftCreateParams,
|
|
36
39
|
options?: RequestOptions,
|
|
37
40
|
): APIPromise<UnassignedshiftCreateResponse> {
|
|
38
|
-
return this._client.post('/unassignedshifts', { body, ...options });
|
|
41
|
+
return this._client.post('/unassignedshifts/', { body, ...options });
|
|
39
42
|
}
|
|
40
43
|
|
|
41
44
|
/**
|
|
@@ -46,7 +49,7 @@ export class Unassignedshifts extends APIResource {
|
|
|
46
49
|
query: UnassignedshiftRetrieveParams | null | undefined = {},
|
|
47
50
|
options?: RequestOptions,
|
|
48
51
|
): APIPromise<UnassignedshiftRetrieveResponse> {
|
|
49
|
-
return this._client.get(path`/unassignedshifts/${id}
|
|
52
|
+
return this._client.get(path`/unassignedshifts/${id}/`, { query, ...options });
|
|
50
53
|
}
|
|
51
54
|
|
|
52
55
|
/**
|
|
@@ -57,7 +60,7 @@ export class Unassignedshifts extends APIResource {
|
|
|
57
60
|
body: UnassignedshiftUpdateParams,
|
|
58
61
|
options?: RequestOptions,
|
|
59
62
|
): APIPromise<UnassignedshiftUpdateResponse> {
|
|
60
|
-
return this._client.patch(path`/unassignedshifts/${id}
|
|
63
|
+
return this._client.patch(path`/unassignedshifts/${id}/`, { body, ...options });
|
|
61
64
|
}
|
|
62
65
|
}
|
|
63
66
|
|
package/src/resources/users.ts
CHANGED
|
@@ -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
|
+
* Users of the company
|
|
13
|
+
*/
|
|
11
14
|
export class Users extends APIResource {
|
|
12
15
|
/**
|
|
13
16
|
* A List of users
|
|
@@ -19,14 +22,14 @@ export class Users extends APIResource {
|
|
|
19
22
|
query: UserListParams | null | undefined = {},
|
|
20
23
|
options?: RequestOptions,
|
|
21
24
|
): PagePromise<UsersPageCursorURL, User> {
|
|
22
|
-
return this._client.getAPIList('/users', PageCursorURL<User>, { query, ...options });
|
|
25
|
+
return this._client.getAPIList('/users/', PageCursorURL<User>, { query, ...options });
|
|
23
26
|
}
|
|
24
27
|
|
|
25
28
|
/**
|
|
26
29
|
* Retrieve a specific user
|
|
27
30
|
*/
|
|
28
31
|
retrieve(id: string, options?: RequestOptions): APIPromise<UserRetrieveResponse> {
|
|
29
|
-
return this._client.get(path`/users/${id}
|
|
32
|
+
return this._client.get(path`/users/${id}/`, options);
|
|
30
33
|
}
|
|
31
34
|
}
|
|
32
35
|
|
|
@@ -5,9 +5,13 @@ import * as BusinessPartnersAPI from './business-partners';
|
|
|
5
5
|
import * as Shared from './shared';
|
|
6
6
|
import { APIPromise } from '../core/api-promise';
|
|
7
7
|
import { PageCursorURL, PagePromise } from '../core/pagination';
|
|
8
|
+
import { buildHeaders } from '../internal/headers';
|
|
8
9
|
import { RequestOptions } from '../internal/request-options';
|
|
9
10
|
import { path } from '../internal/utils/path';
|
|
10
11
|
|
|
12
|
+
/**
|
|
13
|
+
* Work locations used by the company
|
|
14
|
+
*/
|
|
11
15
|
export class WorkLocations extends APIResource {
|
|
12
16
|
/**
|
|
13
17
|
* A List of work locations
|
|
@@ -19,28 +23,38 @@ export class WorkLocations extends APIResource {
|
|
|
19
23
|
query: WorkLocationListParams | null | undefined = {},
|
|
20
24
|
options?: RequestOptions,
|
|
21
25
|
): PagePromise<WorkLocationsPageCursorURL, WorkLocation> {
|
|
22
|
-
return this._client.getAPIList('/work-locations', PageCursorURL<WorkLocation>, { query, ...options });
|
|
26
|
+
return this._client.getAPIList('/work-locations/', PageCursorURL<WorkLocation>, { query, ...options });
|
|
23
27
|
}
|
|
24
28
|
|
|
25
29
|
/**
|
|
26
30
|
* Create a new work location
|
|
27
31
|
*/
|
|
28
32
|
create(body: WorkLocationCreateParams, options?: RequestOptions): APIPromise<WorkLocation> {
|
|
29
|
-
return this._client.post('/work-locations', { body, ...options });
|
|
33
|
+
return this._client.post('/work-locations/', { body, ...options });
|
|
30
34
|
}
|
|
31
35
|
|
|
32
36
|
/**
|
|
33
37
|
* Retrieve a specific work location
|
|
34
38
|
*/
|
|
35
39
|
retrieve(id: string, options?: RequestOptions): APIPromise<WorkLocationRetrieveResponse> {
|
|
36
|
-
return this._client.get(path`/work-locations/${id}
|
|
40
|
+
return this._client.get(path`/work-locations/${id}/`, options);
|
|
37
41
|
}
|
|
38
42
|
|
|
39
43
|
/**
|
|
40
44
|
* Updated a specific work location
|
|
41
45
|
*/
|
|
42
46
|
update(id: string, body: WorkLocationUpdateParams, options?: RequestOptions): APIPromise<WorkLocation> {
|
|
43
|
-
return this._client.patch(path`/work-locations/${id}
|
|
47
|
+
return this._client.patch(path`/work-locations/${id}/`, { body, ...options });
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
/**
|
|
51
|
+
* Delete a work location
|
|
52
|
+
*/
|
|
53
|
+
delete(id: string, options?: RequestOptions): APIPromise<void> {
|
|
54
|
+
return this._client.delete(path`/work-locations/${id}/`, {
|
|
55
|
+
...options,
|
|
56
|
+
headers: buildHeaders([{ Accept: '*/*' }, options?.headers]),
|
|
57
|
+
});
|
|
44
58
|
}
|
|
45
59
|
}
|
|
46
60
|
|
package/src/resources/workers.ts
CHANGED
|
@@ -14,6 +14,9 @@ import { PageCursorURL, PagePromise } from '../core/pagination';
|
|
|
14
14
|
import { RequestOptions } from '../internal/request-options';
|
|
15
15
|
import { path } from '../internal/utils/path';
|
|
16
16
|
|
|
17
|
+
/**
|
|
18
|
+
* Workers who work or have worked at the company
|
|
19
|
+
*/
|
|
17
20
|
export class Workers extends APIResource {
|
|
18
21
|
/**
|
|
19
22
|
* A List of workers
|
|
@@ -30,7 +33,7 @@ export class Workers extends APIResource {
|
|
|
30
33
|
query: WorkerListParams | null | undefined = {},
|
|
31
34
|
options?: RequestOptions,
|
|
32
35
|
): PagePromise<WorkersPageCursorURL, Worker> {
|
|
33
|
-
return this._client.getAPIList('/workers', PageCursorURL<Worker>, { query, ...options });
|
|
36
|
+
return this._client.getAPIList('/workers/', PageCursorURL<Worker>, { query, ...options });
|
|
34
37
|
}
|
|
35
38
|
|
|
36
39
|
/**
|
|
@@ -41,7 +44,7 @@ export class Workers extends APIResource {
|
|
|
41
44
|
query: WorkerRetrieveParams | null | undefined = {},
|
|
42
45
|
options?: RequestOptions,
|
|
43
46
|
): APIPromise<WorkerRetrieveResponse> {
|
|
44
|
-
return this._client.get(path`/workers/${id}
|
|
47
|
+
return this._client.get(path`/workers/${id}/`, { query, ...options });
|
|
45
48
|
}
|
|
46
49
|
}
|
|
47
50
|
|
|
@@ -64,14 +67,18 @@ export interface Worker {
|
|
|
64
67
|
updated_at: string;
|
|
65
68
|
|
|
66
69
|
/**
|
|
67
|
-
* Worker's assigned business partners
|
|
70
|
+
* Worker's assigned business partners. This field is only populated when
|
|
71
|
+
* explicitly requested via the expand parameter (e.g., ?expand=business_partners).
|
|
72
|
+
* When expanded, returns an empty list ([]) if the worker has no business
|
|
73
|
+
* partners.
|
|
68
74
|
*
|
|
69
75
|
* Expandable field
|
|
70
76
|
*/
|
|
71
77
|
business_partners?: Array<BusinessPartnersAPI.BusinessPartner>;
|
|
72
78
|
|
|
73
79
|
/**
|
|
74
|
-
* Worker's assigned business partners unique identifiers
|
|
80
|
+
* Worker's assigned business partners unique identifiers. Returns an empty list
|
|
81
|
+
* ([]) if the worker has no business partners.
|
|
75
82
|
*/
|
|
76
83
|
business_partners_id?: Array<string>;
|
|
77
84
|
|
|
@@ -599,7 +606,7 @@ export interface Worker {
|
|
|
599
606
|
country_fields?: Worker.CountryFields;
|
|
600
607
|
|
|
601
608
|
/**
|
|
602
|
-
* Custom
|
|
609
|
+
* Custom field values defined on the Employee object for this worker
|
|
603
610
|
*
|
|
604
611
|
* Expandable field
|
|
605
612
|
*/
|
|
@@ -650,6 +657,7 @@ export interface Worker {
|
|
|
650
657
|
| 'ASIAN'
|
|
651
658
|
| 'AMERICAN_INDIAN_OR_ALASKA_NATIVE'
|
|
652
659
|
| 'TWO_OR_MORE_RACES'
|
|
660
|
+
| 'MIDDLE_EASTERN_OR_NORTH_AFRICAN'
|
|
653
661
|
| 'DECLINE_TO_SELF_IDENTIFY'
|
|
654
662
|
| 'AFRICAN'
|
|
655
663
|
| 'COLOURED'
|
package/src/version.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const VERSION = '0.2.0-alpha.
|
|
1
|
+
export const VERSION = '0.2.0-alpha.28'; // x-release-please-version
|
package/version.d.mts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const VERSION = "0.2.0-alpha.
|
|
1
|
+
export declare const VERSION = "0.2.0-alpha.28";
|
|
2
2
|
//# sourceMappingURL=version.d.mts.map
|
package/version.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const VERSION = "0.2.0-alpha.
|
|
1
|
+
export declare const VERSION = "0.2.0-alpha.28";
|
|
2
2
|
//# sourceMappingURL=version.d.ts.map
|
package/version.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.VERSION = void 0;
|
|
4
|
-
exports.VERSION = '0.2.0-alpha.
|
|
4
|
+
exports.VERSION = '0.2.0-alpha.28'; // x-release-please-version
|
|
5
5
|
//# sourceMappingURL=version.js.map
|
package/version.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export const VERSION = '0.2.0-alpha.
|
|
1
|
+
export const VERSION = '0.2.0-alpha.28'; // x-release-please-version
|
|
2
2
|
//# sourceMappingURL=version.mjs.map
|