@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
|
@@ -4,19 +4,31 @@ import { APIResource } from '../core/resource';
|
|
|
4
4
|
import * as BusinessPartnersAPI from './business-partners';
|
|
5
5
|
import * as WorkersAPI from './workers';
|
|
6
6
|
import { APIPromise } from '../core/api-promise';
|
|
7
|
+
import { PageCursorURL, PagePromise } from '../core/pagination';
|
|
7
8
|
import { RequestOptions } from '../internal/request-options';
|
|
8
9
|
import { path } from '../internal/utils/path';
|
|
9
10
|
|
|
11
|
+
/**
|
|
12
|
+
* Leave accruals for workers
|
|
13
|
+
*/
|
|
10
14
|
export class LeaveAccruals extends APIResource {
|
|
11
15
|
/**
|
|
12
|
-
*
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
16
|
+
* A List of leave accruals
|
|
17
|
+
*
|
|
18
|
+
* - Requires: `API Tier 2`
|
|
19
|
+
* - Filterable fields: `worker_id`, `leave_type_id`, `accrual_date`
|
|
20
|
+
* - Expandable fields: `worker`, `grantor`
|
|
21
|
+
* - Sortable fields: `id`, `created_at`, `updated_at`, `accrual_date`,
|
|
22
|
+
* `expiration_date`
|
|
23
|
+
*/
|
|
24
|
+
list(
|
|
25
|
+
query: LeaveAccrualListParams | null | undefined = {},
|
|
17
26
|
options?: RequestOptions,
|
|
18
|
-
):
|
|
19
|
-
return this._client.
|
|
27
|
+
): PagePromise<LeaveAccrualListResponsesPageCursorURL, LeaveAccrualListResponse> {
|
|
28
|
+
return this._client.getAPIList('/leave-accruals', PageCursorURL<LeaveAccrualListResponse>, {
|
|
29
|
+
query,
|
|
30
|
+
...options,
|
|
31
|
+
});
|
|
20
32
|
}
|
|
21
33
|
|
|
22
34
|
/**
|
|
@@ -25,12 +37,28 @@ export class LeaveAccruals extends APIResource {
|
|
|
25
37
|
create(body: LeaveAccrualCreateParams, options?: RequestOptions): APIPromise<LeaveAccrualCreateResponse> {
|
|
26
38
|
return this._client.post('/leave-accruals', { body, ...options });
|
|
27
39
|
}
|
|
40
|
+
|
|
41
|
+
/**
|
|
42
|
+
* Retrieve a specific leave accrual
|
|
43
|
+
*/
|
|
44
|
+
retrieve(
|
|
45
|
+
id: string,
|
|
46
|
+
query: LeaveAccrualRetrieveParams | null | undefined = {},
|
|
47
|
+
options?: RequestOptions,
|
|
48
|
+
): APIPromise<LeaveAccrualRetrieveResponse> {
|
|
49
|
+
return this._client.get(path`/leave-accruals/${id}`, { query, ...options });
|
|
50
|
+
}
|
|
28
51
|
}
|
|
29
52
|
|
|
53
|
+
export type LeaveAccrualListResponsesPageCursorURL = PageCursorURL<LeaveAccrualListResponse>;
|
|
54
|
+
|
|
30
55
|
/**
|
|
31
|
-
*
|
|
56
|
+
* Leave accrual resource representing time off credits granted to employees.
|
|
57
|
+
*
|
|
58
|
+
* Leave accruals track the allocation of paid time off (vacation, sick days, etc.)
|
|
59
|
+
* to employees based on company policies, manual grants, or other accrual sources.
|
|
32
60
|
*/
|
|
33
|
-
export interface
|
|
61
|
+
export interface LeaveAccrualListResponse {
|
|
34
62
|
/**
|
|
35
63
|
* Identifier field
|
|
36
64
|
*/
|
|
@@ -67,6 +95,31 @@ export interface LeaveAccrualRetrieveResponse extends BusinessPartnersAPI.Meta {
|
|
|
67
95
|
*/
|
|
68
96
|
worker_id: string;
|
|
69
97
|
|
|
98
|
+
/**
|
|
99
|
+
* The type of accrual
|
|
100
|
+
*/
|
|
101
|
+
accrual_type?:
|
|
102
|
+
| 'AUTO'
|
|
103
|
+
| 'CARRYOVER_PENALTY'
|
|
104
|
+
| 'RESET_PENALTY'
|
|
105
|
+
| 'RESET_NEGATIVE_PENALTY'
|
|
106
|
+
| 'BALANCE_PENALTY'
|
|
107
|
+
| 'LEAVE_GRANT'
|
|
108
|
+
| 'BALANCE_CORRECTION_ADJUSTMENT'
|
|
109
|
+
| 'PAID_OUT'
|
|
110
|
+
| 'SUB_BALANCE_EXPIRATION'
|
|
111
|
+
| 'TANDA_ACCRUAL_BONUS'
|
|
112
|
+
| 'TILT_ADJUSTMENT'
|
|
113
|
+
| 'WORKFLOW_ACTION'
|
|
114
|
+
| 'EXPIRATION_DEDUCTION'
|
|
115
|
+
| 'EXPIRATION_PAYOUT'
|
|
116
|
+
| 'MANUAL_BALANCE_PAYOUT'
|
|
117
|
+
| 'CARRYOVER_PENALTY_PAYOUT'
|
|
118
|
+
| 'RESET_PENALTY_PAYOUT'
|
|
119
|
+
| 'HOLIDAY_ADJUSTMENT'
|
|
120
|
+
| 'HOURS_WORKED_TANDA'
|
|
121
|
+
| 'TENURE_MILESTONE';
|
|
122
|
+
|
|
70
123
|
/**
|
|
71
124
|
* The comment for this accrual. This is required if the leave policy requires a
|
|
72
125
|
* comment on accruals.
|
|
@@ -153,6 +206,31 @@ export interface LeaveAccrualCreateResponse {
|
|
|
153
206
|
*/
|
|
154
207
|
worker_id: string;
|
|
155
208
|
|
|
209
|
+
/**
|
|
210
|
+
* The type of accrual
|
|
211
|
+
*/
|
|
212
|
+
accrual_type?:
|
|
213
|
+
| 'AUTO'
|
|
214
|
+
| 'CARRYOVER_PENALTY'
|
|
215
|
+
| 'RESET_PENALTY'
|
|
216
|
+
| 'RESET_NEGATIVE_PENALTY'
|
|
217
|
+
| 'BALANCE_PENALTY'
|
|
218
|
+
| 'LEAVE_GRANT'
|
|
219
|
+
| 'BALANCE_CORRECTION_ADJUSTMENT'
|
|
220
|
+
| 'PAID_OUT'
|
|
221
|
+
| 'SUB_BALANCE_EXPIRATION'
|
|
222
|
+
| 'TANDA_ACCRUAL_BONUS'
|
|
223
|
+
| 'TILT_ADJUSTMENT'
|
|
224
|
+
| 'WORKFLOW_ACTION'
|
|
225
|
+
| 'EXPIRATION_DEDUCTION'
|
|
226
|
+
| 'EXPIRATION_PAYOUT'
|
|
227
|
+
| 'MANUAL_BALANCE_PAYOUT'
|
|
228
|
+
| 'CARRYOVER_PENALTY_PAYOUT'
|
|
229
|
+
| 'RESET_PENALTY_PAYOUT'
|
|
230
|
+
| 'HOLIDAY_ADJUSTMENT'
|
|
231
|
+
| 'HOURS_WORKED_TANDA'
|
|
232
|
+
| 'TENURE_MILESTONE';
|
|
233
|
+
|
|
156
234
|
/**
|
|
157
235
|
* The comment for this accrual. This is required if the leave policy requires a
|
|
158
236
|
* comment on accruals.
|
|
@@ -196,8 +274,122 @@ export interface LeaveAccrualCreateResponse {
|
|
|
196
274
|
worker?: WorkersAPI.Worker;
|
|
197
275
|
}
|
|
198
276
|
|
|
199
|
-
|
|
277
|
+
/**
|
|
278
|
+
* Meta information for the response.
|
|
279
|
+
*/
|
|
280
|
+
export interface LeaveAccrualRetrieveResponse extends BusinessPartnersAPI.Meta {
|
|
281
|
+
/**
|
|
282
|
+
* Identifier field
|
|
283
|
+
*/
|
|
284
|
+
id: string;
|
|
285
|
+
|
|
286
|
+
/**
|
|
287
|
+
* The date when this accrual becomes effective
|
|
288
|
+
*/
|
|
289
|
+
accrual_date: string;
|
|
290
|
+
|
|
291
|
+
/**
|
|
292
|
+
* Record creation date
|
|
293
|
+
*/
|
|
294
|
+
created_at: string;
|
|
295
|
+
|
|
296
|
+
/**
|
|
297
|
+
* The ID of the worker who granted this accrual. This is typically the Time Off
|
|
298
|
+
* admin.
|
|
299
|
+
*/
|
|
300
|
+
grantor_id: string;
|
|
301
|
+
|
|
302
|
+
/**
|
|
303
|
+
* The company leave type ID associated with this accrual
|
|
304
|
+
*/
|
|
305
|
+
leave_type_id: string;
|
|
306
|
+
|
|
307
|
+
/**
|
|
308
|
+
* Record update date
|
|
309
|
+
*/
|
|
310
|
+
updated_at: string;
|
|
311
|
+
|
|
312
|
+
/**
|
|
313
|
+
* The ID of the worker for whom the accrual is for
|
|
314
|
+
*/
|
|
315
|
+
worker_id: string;
|
|
316
|
+
|
|
317
|
+
/**
|
|
318
|
+
* The type of accrual
|
|
319
|
+
*/
|
|
320
|
+
accrual_type?:
|
|
321
|
+
| 'AUTO'
|
|
322
|
+
| 'CARRYOVER_PENALTY'
|
|
323
|
+
| 'RESET_PENALTY'
|
|
324
|
+
| 'RESET_NEGATIVE_PENALTY'
|
|
325
|
+
| 'BALANCE_PENALTY'
|
|
326
|
+
| 'LEAVE_GRANT'
|
|
327
|
+
| 'BALANCE_CORRECTION_ADJUSTMENT'
|
|
328
|
+
| 'PAID_OUT'
|
|
329
|
+
| 'SUB_BALANCE_EXPIRATION'
|
|
330
|
+
| 'TANDA_ACCRUAL_BONUS'
|
|
331
|
+
| 'TILT_ADJUSTMENT'
|
|
332
|
+
| 'WORKFLOW_ACTION'
|
|
333
|
+
| 'EXPIRATION_DEDUCTION'
|
|
334
|
+
| 'EXPIRATION_PAYOUT'
|
|
335
|
+
| 'MANUAL_BALANCE_PAYOUT'
|
|
336
|
+
| 'CARRYOVER_PENALTY_PAYOUT'
|
|
337
|
+
| 'RESET_PENALTY_PAYOUT'
|
|
338
|
+
| 'HOLIDAY_ADJUSTMENT'
|
|
339
|
+
| 'HOURS_WORKED_TANDA'
|
|
340
|
+
| 'TENURE_MILESTONE';
|
|
341
|
+
|
|
342
|
+
/**
|
|
343
|
+
* The comment for this accrual. This is required if the leave policy requires a
|
|
344
|
+
* comment on accruals.
|
|
345
|
+
*/
|
|
346
|
+
comment?: string;
|
|
347
|
+
|
|
348
|
+
/**
|
|
349
|
+
* The date when this accrual expires (if applicable)
|
|
350
|
+
*/
|
|
351
|
+
expiration_date?: string;
|
|
352
|
+
|
|
353
|
+
/**
|
|
354
|
+
* The worker who granted this accrual. This is typically the Time Off admin.
|
|
355
|
+
*
|
|
356
|
+
* Expandable field
|
|
357
|
+
*/
|
|
358
|
+
grantor?: WorkersAPI.Worker;
|
|
359
|
+
|
|
360
|
+
/**
|
|
361
|
+
* The monetary value of this accrual (for policies with monetary tracking)
|
|
362
|
+
*/
|
|
363
|
+
monetary_amount_accrued?: number;
|
|
364
|
+
|
|
365
|
+
/**
|
|
366
|
+
* The number of days accrued. It can be negative for deductions. This is
|
|
367
|
+
* applicable if the policy tracks in days.
|
|
368
|
+
*/
|
|
369
|
+
num_days?: number;
|
|
370
|
+
|
|
371
|
+
/**
|
|
372
|
+
* The number of hours accrued. It can be negative for deductions. This is
|
|
373
|
+
* applicable if the policy tracks in hours.
|
|
374
|
+
*/
|
|
375
|
+
num_hours?: number;
|
|
376
|
+
|
|
377
|
+
/**
|
|
378
|
+
* The worker for whom the accrual is for
|
|
379
|
+
*
|
|
380
|
+
* Expandable field
|
|
381
|
+
*/
|
|
382
|
+
worker?: WorkersAPI.Worker;
|
|
383
|
+
}
|
|
384
|
+
|
|
385
|
+
export interface LeaveAccrualListParams {
|
|
386
|
+
cursor?: string;
|
|
387
|
+
|
|
200
388
|
expand?: string;
|
|
389
|
+
|
|
390
|
+
filter?: string;
|
|
391
|
+
|
|
392
|
+
order_by?: string;
|
|
201
393
|
}
|
|
202
394
|
|
|
203
395
|
export interface LeaveAccrualCreateParams {
|
|
@@ -222,6 +414,31 @@ export interface LeaveAccrualCreateParams {
|
|
|
222
414
|
*/
|
|
223
415
|
worker_id: string;
|
|
224
416
|
|
|
417
|
+
/**
|
|
418
|
+
* The type of accrual
|
|
419
|
+
*/
|
|
420
|
+
accrual_type?:
|
|
421
|
+
| 'AUTO'
|
|
422
|
+
| 'CARRYOVER_PENALTY'
|
|
423
|
+
| 'RESET_PENALTY'
|
|
424
|
+
| 'RESET_NEGATIVE_PENALTY'
|
|
425
|
+
| 'BALANCE_PENALTY'
|
|
426
|
+
| 'LEAVE_GRANT'
|
|
427
|
+
| 'BALANCE_CORRECTION_ADJUSTMENT'
|
|
428
|
+
| 'PAID_OUT'
|
|
429
|
+
| 'SUB_BALANCE_EXPIRATION'
|
|
430
|
+
| 'TANDA_ACCRUAL_BONUS'
|
|
431
|
+
| 'TILT_ADJUSTMENT'
|
|
432
|
+
| 'WORKFLOW_ACTION'
|
|
433
|
+
| 'EXPIRATION_DEDUCTION'
|
|
434
|
+
| 'EXPIRATION_PAYOUT'
|
|
435
|
+
| 'MANUAL_BALANCE_PAYOUT'
|
|
436
|
+
| 'CARRYOVER_PENALTY_PAYOUT'
|
|
437
|
+
| 'RESET_PENALTY_PAYOUT'
|
|
438
|
+
| 'HOLIDAY_ADJUSTMENT'
|
|
439
|
+
| 'HOURS_WORKED_TANDA'
|
|
440
|
+
| 'TENURE_MILESTONE';
|
|
441
|
+
|
|
225
442
|
/**
|
|
226
443
|
* The comment for this accrual. This is required if the leave policy requires a
|
|
227
444
|
* comment on accruals.
|
|
@@ -251,11 +468,18 @@ export interface LeaveAccrualCreateParams {
|
|
|
251
468
|
num_hours?: number;
|
|
252
469
|
}
|
|
253
470
|
|
|
471
|
+
export interface LeaveAccrualRetrieveParams {
|
|
472
|
+
expand?: string;
|
|
473
|
+
}
|
|
474
|
+
|
|
254
475
|
export declare namespace LeaveAccruals {
|
|
255
476
|
export {
|
|
256
|
-
type
|
|
477
|
+
type LeaveAccrualListResponse as LeaveAccrualListResponse,
|
|
257
478
|
type LeaveAccrualCreateResponse as LeaveAccrualCreateResponse,
|
|
258
|
-
type
|
|
479
|
+
type LeaveAccrualRetrieveResponse as LeaveAccrualRetrieveResponse,
|
|
480
|
+
type LeaveAccrualListResponsesPageCursorURL as LeaveAccrualListResponsesPageCursorURL,
|
|
481
|
+
type LeaveAccrualListParams as LeaveAccrualListParams,
|
|
259
482
|
type LeaveAccrualCreateParams as LeaveAccrualCreateParams,
|
|
483
|
+
type LeaveAccrualRetrieveParams as LeaveAccrualRetrieveParams,
|
|
260
484
|
};
|
|
261
485
|
}
|
|
@@ -9,6 +9,9 @@ import { PageCursorURL, PagePromise } from '../core/pagination';
|
|
|
9
9
|
import { RequestOptions } from '../internal/request-options';
|
|
10
10
|
import { path } from '../internal/utils/path';
|
|
11
11
|
|
|
12
|
+
/**
|
|
13
|
+
* Leave balances for workers
|
|
14
|
+
*/
|
|
12
15
|
export class LeaveBalances extends APIResource {
|
|
13
16
|
/**
|
|
14
17
|
* A List of leave balances
|
|
@@ -9,6 +9,9 @@ import { PageCursorURL, PagePromise } from '../core/pagination';
|
|
|
9
9
|
import { RequestOptions } from '../internal/request-options';
|
|
10
10
|
import { path } from '../internal/utils/path';
|
|
11
11
|
|
|
12
|
+
/**
|
|
13
|
+
* Leave requests submitted by workers
|
|
14
|
+
*/
|
|
12
15
|
export class LeaveRequests extends APIResource {
|
|
13
16
|
/**
|
|
14
17
|
* A List of leave requests
|
|
@@ -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
|
+
* Leave types used by the company
|
|
12
|
+
*/
|
|
10
13
|
export class LeaveTypes extends APIResource {
|
|
11
14
|
/**
|
|
12
15
|
* A List of leave types
|
|
@@ -9,6 +9,9 @@ import { PageCursorURL, PagePromise } from '../core/pagination';
|
|
|
9
9
|
import { RequestOptions } from '../internal/request-options';
|
|
10
10
|
import { path } from '../internal/utils/path';
|
|
11
11
|
|
|
12
|
+
/**
|
|
13
|
+
* Legal entities registered by the company
|
|
14
|
+
*/
|
|
12
15
|
export class LegalEntities extends APIResource {
|
|
13
16
|
/**
|
|
14
17
|
* A List of legal entities
|
package/src/resources/levels.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
|
+
* Levels and tracks used by the company for workers
|
|
13
|
+
*/
|
|
11
14
|
export class Levels extends APIResource {
|
|
12
15
|
/**
|
|
13
16
|
* A List of levels
|
|
@@ -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
|
+
* Geographic compensation adjustment factors that modify base compensation based on location-specific market conditions and cost of living
|
|
12
|
+
*/
|
|
10
13
|
export class LocationFactors extends APIResource {
|
|
11
14
|
/**
|
|
12
15
|
* A List of location factors
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
+
|
|
3
|
+
import { APIResource } from '../../core/resource';
|
|
4
|
+
import { PageCursorURL, PagePromise } from '../../core/pagination';
|
|
5
|
+
import { RequestOptions } from '../../internal/request-options';
|
|
6
|
+
|
|
7
|
+
/**
|
|
8
|
+
* Custom objects defined by the company
|
|
9
|
+
*/
|
|
10
|
+
export class Components extends APIResource {
|
|
11
|
+
/**
|
|
12
|
+
* A List of metadata components
|
|
13
|
+
*
|
|
14
|
+
* - Requires: `API Tier 1`
|
|
15
|
+
*/
|
|
16
|
+
list(options?: RequestOptions): PagePromise<ComponentListResponsesPageCursorURL, ComponentListResponse> {
|
|
17
|
+
return this._client.getAPIList('/metadata/components', PageCursorURL<ComponentListResponse>, options);
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
export type ComponentListResponsesPageCursorURL = PageCursorURL<ComponentListResponse>;
|
|
22
|
+
|
|
23
|
+
/**
|
|
24
|
+
* Base DTO model shared across metadata endpoints.
|
|
25
|
+
*/
|
|
26
|
+
export interface ComponentListResponse {
|
|
27
|
+
/**
|
|
28
|
+
* Status of the operation
|
|
29
|
+
*/
|
|
30
|
+
status?: string;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
export declare namespace Components {
|
|
34
|
+
export {
|
|
35
|
+
type ComponentListResponse as ComponentListResponse,
|
|
36
|
+
type ComponentListResponsesPageCursorURL as ComponentListResponsesPageCursorURL,
|
|
37
|
+
};
|
|
38
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
+
|
|
3
|
+
export {
|
|
4
|
+
Components,
|
|
5
|
+
type ComponentListResponse,
|
|
6
|
+
type ComponentListResponsesPageCursorURL,
|
|
7
|
+
} from './components';
|
|
8
|
+
export { Metadata, type MetadataListResponse, type MetadataListResponsesPageCursorURL } from './metadata';
|
|
9
|
+
export { Summary, type SummaryListResponse, type SummaryListResponsesPageCursorURL } from './summary';
|
|
10
|
+
export { Types, type TypeListResponse, type TypeListResponsesPageCursorURL } from './types';
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
+
|
|
3
|
+
import { APIResource } from '../../core/resource';
|
|
4
|
+
import * as ComponentsAPI from './components';
|
|
5
|
+
import { ComponentListResponse, ComponentListResponsesPageCursorURL, Components } from './components';
|
|
6
|
+
import * as SummaryAPI from './summary';
|
|
7
|
+
import { Summary, SummaryListResponse, SummaryListResponsesPageCursorURL } from './summary';
|
|
8
|
+
import * as TypesAPI from './types';
|
|
9
|
+
import { TypeListResponse, TypeListResponsesPageCursorURL, Types } from './types';
|
|
10
|
+
import { PageCursorURL, PagePromise } from '../../core/pagination';
|
|
11
|
+
import { RequestOptions } from '../../internal/request-options';
|
|
12
|
+
|
|
13
|
+
/**
|
|
14
|
+
* Custom objects defined by the company
|
|
15
|
+
*/
|
|
16
|
+
export class Metadata extends APIResource {
|
|
17
|
+
components: ComponentsAPI.Components = new ComponentsAPI.Components(this._client);
|
|
18
|
+
summary: SummaryAPI.Summary = new SummaryAPI.Summary(this._client);
|
|
19
|
+
types: TypesAPI.Types = new TypesAPI.Types(this._client);
|
|
20
|
+
|
|
21
|
+
/**
|
|
22
|
+
* A List of metadata components
|
|
23
|
+
*
|
|
24
|
+
* - Requires: `API Tier 1`
|
|
25
|
+
*/
|
|
26
|
+
list(options?: RequestOptions): PagePromise<MetadataListResponsesPageCursorURL, MetadataListResponse> {
|
|
27
|
+
return this._client.getAPIList('/metadata', PageCursorURL<MetadataListResponse>, options);
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
export type MetadataListResponsesPageCursorURL = PageCursorURL<MetadataListResponse>;
|
|
32
|
+
|
|
33
|
+
/**
|
|
34
|
+
* Base DTO model shared across metadata endpoints.
|
|
35
|
+
*/
|
|
36
|
+
export interface MetadataListResponse {
|
|
37
|
+
/**
|
|
38
|
+
* Status of the operation
|
|
39
|
+
*/
|
|
40
|
+
status?: string;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
Metadata.Components = Components;
|
|
44
|
+
Metadata.Summary = Summary;
|
|
45
|
+
Metadata.Types = Types;
|
|
46
|
+
|
|
47
|
+
export declare namespace Metadata {
|
|
48
|
+
export {
|
|
49
|
+
type MetadataListResponse as MetadataListResponse,
|
|
50
|
+
type MetadataListResponsesPageCursorURL as MetadataListResponsesPageCursorURL,
|
|
51
|
+
};
|
|
52
|
+
|
|
53
|
+
export {
|
|
54
|
+
Components as Components,
|
|
55
|
+
type ComponentListResponse as ComponentListResponse,
|
|
56
|
+
type ComponentListResponsesPageCursorURL as ComponentListResponsesPageCursorURL,
|
|
57
|
+
};
|
|
58
|
+
|
|
59
|
+
export {
|
|
60
|
+
Summary as Summary,
|
|
61
|
+
type SummaryListResponse as SummaryListResponse,
|
|
62
|
+
type SummaryListResponsesPageCursorURL as SummaryListResponsesPageCursorURL,
|
|
63
|
+
};
|
|
64
|
+
|
|
65
|
+
export {
|
|
66
|
+
Types as Types,
|
|
67
|
+
type TypeListResponse as TypeListResponse,
|
|
68
|
+
type TypeListResponsesPageCursorURL as TypeListResponsesPageCursorURL,
|
|
69
|
+
};
|
|
70
|
+
}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
+
|
|
3
|
+
import { APIResource } from '../../core/resource';
|
|
4
|
+
import { PageCursorURL, PagePromise } from '../../core/pagination';
|
|
5
|
+
import { RequestOptions } from '../../internal/request-options';
|
|
6
|
+
|
|
7
|
+
/**
|
|
8
|
+
* Custom objects defined by the company
|
|
9
|
+
*/
|
|
10
|
+
export class Summary extends APIResource {
|
|
11
|
+
/**
|
|
12
|
+
* A List of metadata summary
|
|
13
|
+
*
|
|
14
|
+
* - Requires: `API Tier 1`
|
|
15
|
+
*/
|
|
16
|
+
list(options?: RequestOptions): PagePromise<SummaryListResponsesPageCursorURL, SummaryListResponse> {
|
|
17
|
+
return this._client.getAPIList('/metadata/summary', PageCursorURL<SummaryListResponse>, options);
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
export type SummaryListResponsesPageCursorURL = PageCursorURL<SummaryListResponse>;
|
|
22
|
+
|
|
23
|
+
/**
|
|
24
|
+
* Base DTO model shared across metadata endpoints.
|
|
25
|
+
*/
|
|
26
|
+
export interface SummaryListResponse {
|
|
27
|
+
/**
|
|
28
|
+
* Status of the operation
|
|
29
|
+
*/
|
|
30
|
+
status?: string;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
export declare namespace Summary {
|
|
34
|
+
export {
|
|
35
|
+
type SummaryListResponse as SummaryListResponse,
|
|
36
|
+
type SummaryListResponsesPageCursorURL as SummaryListResponsesPageCursorURL,
|
|
37
|
+
};
|
|
38
|
+
}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
+
|
|
3
|
+
import { APIResource } from '../../core/resource';
|
|
4
|
+
import { PageCursorURL, PagePromise } from '../../core/pagination';
|
|
5
|
+
import { RequestOptions } from '../../internal/request-options';
|
|
6
|
+
|
|
7
|
+
/**
|
|
8
|
+
* Custom objects defined by the company
|
|
9
|
+
*/
|
|
10
|
+
export class Types extends APIResource {
|
|
11
|
+
/**
|
|
12
|
+
* A List of metadata types
|
|
13
|
+
*
|
|
14
|
+
* - Requires: `API Tier 1`
|
|
15
|
+
*/
|
|
16
|
+
list(options?: RequestOptions): PagePromise<TypeListResponsesPageCursorURL, TypeListResponse> {
|
|
17
|
+
return this._client.getAPIList('/metadata/types', PageCursorURL<TypeListResponse>, options);
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
export type TypeListResponsesPageCursorURL = PageCursorURL<TypeListResponse>;
|
|
22
|
+
|
|
23
|
+
/**
|
|
24
|
+
* Base DTO model shared across metadata endpoints.
|
|
25
|
+
*/
|
|
26
|
+
export interface TypeListResponse {
|
|
27
|
+
/**
|
|
28
|
+
* Status of the operation
|
|
29
|
+
*/
|
|
30
|
+
status?: string;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
export declare namespace Types {
|
|
34
|
+
export {
|
|
35
|
+
type TypeListResponse as TypeListResponse,
|
|
36
|
+
type TypeListResponsesPageCursorURL as TypeListResponsesPageCursorURL,
|
|
37
|
+
};
|
|
38
|
+
}
|
|
@@ -7,6 +7,9 @@ import { buildHeaders } from '../internal/headers';
|
|
|
7
7
|
import { RequestOptions } from '../internal/request-options';
|
|
8
8
|
import { path } from '../internal/utils/path';
|
|
9
9
|
|
|
10
|
+
/**
|
|
11
|
+
* Object Categories defined by the company
|
|
12
|
+
*/
|
|
10
13
|
export class ObjectCategories extends APIResource {
|
|
11
14
|
/**
|
|
12
15
|
* A List of object categories
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
+
|
|
3
|
+
import { APIResource } from '../core/resource';
|
|
4
|
+
import { PageCursorURL, PagePromise } from '../core/pagination';
|
|
5
|
+
import { RequestOptions } from '../internal/request-options';
|
|
6
|
+
|
|
7
|
+
/**
|
|
8
|
+
* Custom objects defined by the company
|
|
9
|
+
*/
|
|
10
|
+
export class PlatformCapabilities extends APIResource {
|
|
11
|
+
/**
|
|
12
|
+
* A List of platform capabilities
|
|
13
|
+
*
|
|
14
|
+
* - Requires: `API Tier 1`
|
|
15
|
+
*/
|
|
16
|
+
list(
|
|
17
|
+
options?: RequestOptions,
|
|
18
|
+
): PagePromise<PlatformCapabilityListResponsesPageCursorURL, PlatformCapabilityListResponse> {
|
|
19
|
+
return this._client.getAPIList(
|
|
20
|
+
'/platform-capabilities',
|
|
21
|
+
PageCursorURL<PlatformCapabilityListResponse>,
|
|
22
|
+
options,
|
|
23
|
+
);
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
export type PlatformCapabilityListResponsesPageCursorURL = PageCursorURL<PlatformCapabilityListResponse>;
|
|
28
|
+
|
|
29
|
+
export interface PlatformCapabilityListResponse {
|
|
30
|
+
/**
|
|
31
|
+
* Schema version
|
|
32
|
+
*/
|
|
33
|
+
version: string;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
export declare namespace PlatformCapabilities {
|
|
37
|
+
export {
|
|
38
|
+
type PlatformCapabilityListResponse as PlatformCapabilityListResponse,
|
|
39
|
+
type PlatformCapabilityListResponsesPageCursorURL as PlatformCapabilityListResponsesPageCursorURL,
|
|
40
|
+
};
|
|
41
|
+
}
|