@rippling/rippling-sdk 0.2.0-alpha.20
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 +201 -0
- package/api-promise.d.mts +2 -0
- package/api-promise.d.mts.map +1 -0
- package/api-promise.d.ts +2 -0
- package/api-promise.d.ts.map +1 -0
- package/api-promise.js +6 -0
- package/api-promise.js.map +1 -0
- package/api-promise.mjs +2 -0
- package/api-promise.mjs.map +1 -0
- package/client.d.mts +308 -0
- package/client.d.mts.map +1 -0
- package/client.d.ts +308 -0
- package/client.d.ts.map +1 -0
- package/client.js +592 -0
- package/client.js.map +1 -0
- package/client.mjs +588 -0
- package/client.mjs.map +1 -0
- package/core/api-promise.d.mts +46 -0
- package/core/api-promise.d.mts.map +1 -0
- package/core/api-promise.d.ts +46 -0
- package/core/api-promise.d.ts.map +1 -0
- package/core/api-promise.js +74 -0
- package/core/api-promise.js.map +1 -0
- package/core/api-promise.mjs +70 -0
- package/core/api-promise.mjs.map +1 -0
- package/core/error.d.mts +46 -0
- package/core/error.d.mts.map +1 -0
- package/core/error.d.ts +46 -0
- package/core/error.d.ts.map +1 -0
- package/core/error.js +113 -0
- package/core/error.js.map +1 -0
- package/core/error.mjs +97 -0
- package/core/error.mjs.map +1 -0
- package/core/pagination.d.mts +50 -0
- package/core/pagination.d.mts.map +1 -0
- package/core/pagination.d.ts +50 -0
- package/core/pagination.d.ts.map +1 -0
- package/core/pagination.js +104 -0
- package/core/pagination.js.map +1 -0
- package/core/pagination.mjs +98 -0
- package/core/pagination.mjs.map +1 -0
- package/core/resource.d.mts +6 -0
- package/core/resource.d.mts.map +1 -0
- package/core/resource.d.ts +6 -0
- package/core/resource.d.ts.map +1 -0
- package/core/resource.js +11 -0
- package/core/resource.js.map +1 -0
- package/core/resource.mjs +7 -0
- package/core/resource.mjs.map +1 -0
- package/core/uploads.d.mts +3 -0
- package/core/uploads.d.mts.map +1 -0
- package/core/uploads.d.ts +3 -0
- package/core/uploads.d.ts.map +1 -0
- package/core/uploads.js +6 -0
- package/core/uploads.js.map +1 -0
- package/core/uploads.mjs +2 -0
- package/core/uploads.mjs.map +1 -0
- package/error.d.mts +2 -0
- package/error.d.mts.map +1 -0
- package/error.d.ts +2 -0
- package/error.d.ts.map +1 -0
- package/error.js +6 -0
- package/error.js.map +1 -0
- package/error.mjs +2 -0
- package/error.mjs.map +1 -0
- package/functions.d.mts +68 -0
- package/functions.d.mts.map +1 -0
- package/functions.d.ts +68 -0
- package/functions.d.ts.map +1 -0
- package/functions.js +48 -0
- package/functions.js.map +1 -0
- package/functions.mjs +40 -0
- package/functions.mjs.map +1 -0
- package/index.d.mts +8 -0
- package/index.d.mts.map +1 -0
- package/index.d.ts +8 -0
- package/index.d.ts.map +1 -0
- package/index.js +34 -0
- package/index.js.map +1 -0
- package/index.mjs +9 -0
- package/index.mjs.map +1 -0
- package/internal/builtin-types.d.mts +73 -0
- package/internal/builtin-types.d.mts.map +1 -0
- package/internal/builtin-types.d.ts +73 -0
- package/internal/builtin-types.d.ts.map +1 -0
- package/internal/builtin-types.js +4 -0
- package/internal/builtin-types.js.map +1 -0
- package/internal/builtin-types.mjs +3 -0
- package/internal/builtin-types.mjs.map +1 -0
- package/internal/detect-platform.d.mts +15 -0
- package/internal/detect-platform.d.mts.map +1 -0
- package/internal/detect-platform.d.ts +15 -0
- package/internal/detect-platform.d.ts.map +1 -0
- package/internal/detect-platform.js +162 -0
- package/internal/detect-platform.js.map +1 -0
- package/internal/detect-platform.mjs +157 -0
- package/internal/detect-platform.mjs.map +1 -0
- package/internal/errors.d.mts +3 -0
- package/internal/errors.d.mts.map +1 -0
- package/internal/errors.d.ts +3 -0
- package/internal/errors.d.ts.map +1 -0
- package/internal/errors.js +41 -0
- package/internal/errors.js.map +1 -0
- package/internal/errors.mjs +36 -0
- package/internal/errors.mjs.map +1 -0
- package/internal/headers.d.mts +20 -0
- package/internal/headers.d.mts.map +1 -0
- package/internal/headers.d.ts +20 -0
- package/internal/headers.d.ts.map +1 -0
- package/internal/headers.js +79 -0
- package/internal/headers.js.map +1 -0
- package/internal/headers.mjs +74 -0
- package/internal/headers.mjs.map +1 -0
- package/internal/parse.d.mts +12 -0
- package/internal/parse.d.mts.map +1 -0
- package/internal/parse.d.ts +12 -0
- package/internal/parse.d.ts.map +1 -0
- package/internal/parse.js +35 -0
- package/internal/parse.js.map +1 -0
- package/internal/parse.mjs +32 -0
- package/internal/parse.mjs.map +1 -0
- package/internal/request-options.d.mts +75 -0
- package/internal/request-options.d.mts.map +1 -0
- package/internal/request-options.d.ts +75 -0
- package/internal/request-options.d.ts.map +1 -0
- package/internal/request-options.js +14 -0
- package/internal/request-options.js.map +1 -0
- package/internal/request-options.mjs +10 -0
- package/internal/request-options.mjs.map +1 -0
- package/internal/shim-types.d.mts +17 -0
- package/internal/shim-types.d.mts.map +1 -0
- package/internal/shim-types.d.ts +17 -0
- package/internal/shim-types.d.ts.map +1 -0
- package/internal/shim-types.js +4 -0
- package/internal/shim-types.js.map +1 -0
- package/internal/shim-types.mjs +3 -0
- package/internal/shim-types.mjs.map +1 -0
- package/internal/shims.d.mts +20 -0
- package/internal/shims.d.mts.map +1 -0
- package/internal/shims.d.ts +20 -0
- package/internal/shims.d.ts.map +1 -0
- package/internal/shims.js +92 -0
- package/internal/shims.js.map +1 -0
- package/internal/shims.mjs +85 -0
- package/internal/shims.mjs.map +1 -0
- package/internal/to-file.d.mts +45 -0
- package/internal/to-file.d.mts.map +1 -0
- package/internal/to-file.d.ts +45 -0
- package/internal/to-file.d.ts.map +1 -0
- package/internal/to-file.js +91 -0
- package/internal/to-file.js.map +1 -0
- package/internal/to-file.mjs +88 -0
- package/internal/to-file.mjs.map +1 -0
- package/internal/tslib.js +81 -0
- package/internal/tslib.mjs +17 -0
- package/internal/types.d.mts +69 -0
- package/internal/types.d.mts.map +1 -0
- package/internal/types.d.ts +69 -0
- package/internal/types.d.ts.map +1 -0
- package/internal/types.js +4 -0
- package/internal/types.js.map +1 -0
- package/internal/types.mjs +3 -0
- package/internal/types.mjs.map +1 -0
- package/internal/uploads.d.mts +42 -0
- package/internal/uploads.d.mts.map +1 -0
- package/internal/uploads.d.ts +42 -0
- package/internal/uploads.d.ts.map +1 -0
- package/internal/uploads.js +141 -0
- package/internal/uploads.js.map +1 -0
- package/internal/uploads.mjs +131 -0
- package/internal/uploads.mjs.map +1 -0
- package/internal/utils/base64.d.mts +3 -0
- package/internal/utils/base64.d.mts.map +1 -0
- package/internal/utils/base64.d.ts +3 -0
- package/internal/utils/base64.d.ts.map +1 -0
- package/internal/utils/base64.js +38 -0
- package/internal/utils/base64.js.map +1 -0
- package/internal/utils/base64.mjs +33 -0
- package/internal/utils/base64.mjs.map +1 -0
- package/internal/utils/bytes.d.mts +4 -0
- package/internal/utils/bytes.d.mts.map +1 -0
- package/internal/utils/bytes.d.ts +4 -0
- package/internal/utils/bytes.d.ts.map +1 -0
- package/internal/utils/bytes.js +31 -0
- package/internal/utils/bytes.js.map +1 -0
- package/internal/utils/bytes.mjs +26 -0
- package/internal/utils/bytes.mjs.map +1 -0
- package/internal/utils/env.d.mts +9 -0
- package/internal/utils/env.d.mts.map +1 -0
- package/internal/utils/env.d.ts +9 -0
- package/internal/utils/env.d.ts.map +1 -0
- package/internal/utils/env.js +22 -0
- package/internal/utils/env.js.map +1 -0
- package/internal/utils/env.mjs +18 -0
- package/internal/utils/env.mjs.map +1 -0
- package/internal/utils/log.d.mts +37 -0
- package/internal/utils/log.d.mts.map +1 -0
- package/internal/utils/log.d.ts +37 -0
- package/internal/utils/log.d.ts.map +1 -0
- package/internal/utils/log.js +85 -0
- package/internal/utils/log.js.map +1 -0
- package/internal/utils/log.mjs +79 -0
- package/internal/utils/log.mjs.map +1 -0
- package/internal/utils/path.d.mts +15 -0
- package/internal/utils/path.d.mts.map +1 -0
- package/internal/utils/path.d.ts +15 -0
- package/internal/utils/path.d.ts.map +1 -0
- package/internal/utils/path.js +79 -0
- package/internal/utils/path.js.map +1 -0
- package/internal/utils/path.mjs +74 -0
- package/internal/utils/path.mjs.map +1 -0
- package/internal/utils/sleep.d.mts +2 -0
- package/internal/utils/sleep.d.mts.map +1 -0
- package/internal/utils/sleep.d.ts +2 -0
- package/internal/utils/sleep.d.ts.map +1 -0
- package/internal/utils/sleep.js +7 -0
- package/internal/utils/sleep.js.map +1 -0
- package/internal/utils/sleep.mjs +3 -0
- package/internal/utils/sleep.mjs.map +1 -0
- package/internal/utils/uuid.d.mts +5 -0
- package/internal/utils/uuid.d.mts.map +1 -0
- package/internal/utils/uuid.d.ts +5 -0
- package/internal/utils/uuid.d.ts.map +1 -0
- package/internal/utils/uuid.js +19 -0
- package/internal/utils/uuid.js.map +1 -0
- package/internal/utils/uuid.mjs +15 -0
- package/internal/utils/uuid.mjs.map +1 -0
- package/internal/utils/values.d.mts +18 -0
- package/internal/utils/values.d.mts.map +1 -0
- package/internal/utils/values.d.ts +18 -0
- package/internal/utils/values.d.ts.map +1 -0
- package/internal/utils/values.js +112 -0
- package/internal/utils/values.js.map +1 -0
- package/internal/utils/values.mjs +94 -0
- package/internal/utils/values.mjs.map +1 -0
- package/internal/utils.d.mts +7 -0
- package/internal/utils.d.mts.map +1 -0
- package/internal/utils.d.ts +7 -0
- package/internal/utils.d.ts.map +1 -0
- package/internal/utils.js +11 -0
- package/internal/utils.js.map +1 -0
- package/internal/utils.mjs +8 -0
- package/internal/utils.mjs.map +1 -0
- package/package.json +158 -0
- package/pagination.d.mts +2 -0
- package/pagination.d.mts.map +1 -0
- package/pagination.d.ts +2 -0
- package/pagination.d.ts.map +1 -0
- package/pagination.js +6 -0
- package/pagination.js.map +1 -0
- package/pagination.mjs +2 -0
- package/pagination.mjs.map +1 -0
- package/resource.d.mts +2 -0
- package/resource.d.mts.map +1 -0
- package/resource.d.ts +2 -0
- package/resource.d.ts.map +1 -0
- package/resource.js +6 -0
- package/resource.js.map +1 -0
- package/resource.mjs +2 -0
- package/resource.mjs.map +1 -0
- package/resources/business-partner-groups.d.mts +94 -0
- package/resources/business-partner-groups.d.mts.map +1 -0
- package/resources/business-partner-groups.d.ts +94 -0
- package/resources/business-partner-groups.d.ts.map +1 -0
- package/resources/business-partner-groups.js +46 -0
- package/resources/business-partner-groups.js.map +1 -0
- package/resources/business-partner-groups.mjs +42 -0
- package/resources/business-partner-groups.mjs.map +1 -0
- package/resources/business-partners.d.mts +132 -0
- package/resources/business-partners.d.mts.map +1 -0
- package/resources/business-partners.d.ts +132 -0
- package/resources/business-partners.d.ts.map +1 -0
- package/resources/business-partners.js +47 -0
- package/resources/business-partners.js.map +1 -0
- package/resources/business-partners.mjs +43 -0
- package/resources/business-partners.mjs.map +1 -0
- package/resources/candidate-applications.d.mts +63 -0
- package/resources/candidate-applications.d.mts.map +1 -0
- package/resources/candidate-applications.d.ts +63 -0
- package/resources/candidate-applications.d.ts.map +1 -0
- package/resources/candidate-applications.js +20 -0
- package/resources/candidate-applications.js.map +1 -0
- package/resources/candidate-applications.mjs +16 -0
- package/resources/candidate-applications.mjs.map +1 -0
- package/resources/candidates.d.mts +54 -0
- package/resources/candidates.d.mts.map +1 -0
- package/resources/candidates.d.ts +54 -0
- package/resources/candidates.d.ts.map +1 -0
- package/resources/candidates.js +22 -0
- package/resources/candidates.js.map +1 -0
- package/resources/candidates.mjs +18 -0
- package/resources/candidates.mjs.map +1 -0
- package/resources/companies.d.mts +82 -0
- package/resources/companies.d.mts.map +1 -0
- package/resources/companies.d.ts +82 -0
- package/resources/companies.d.ts.map +1 -0
- package/resources/companies.js +20 -0
- package/resources/companies.js.map +1 -0
- package/resources/companies.mjs +16 -0
- package/resources/companies.mjs.map +1 -0
- package/resources/compensations.d.mts +250 -0
- package/resources/compensations.d.mts.map +1 -0
- package/resources/compensations.d.ts +250 -0
- package/resources/compensations.d.ts.map +1 -0
- package/resources/compensations.js +27 -0
- package/resources/compensations.js.map +1 -0
- package/resources/compensations.mjs +23 -0
- package/resources/compensations.mjs.map +1 -0
- package/resources/custom-fields.d.mts +50 -0
- package/resources/custom-fields.d.mts.map +1 -0
- package/resources/custom-fields.d.ts +50 -0
- package/resources/custom-fields.d.ts.map +1 -0
- package/resources/custom-fields.js +22 -0
- package/resources/custom-fields.js.map +1 -0
- package/resources/custom-fields.mjs +18 -0
- package/resources/custom-fields.mjs.map +1 -0
- package/resources/custom-objects/custom-objects.d.mts +103 -0
- package/resources/custom-objects/custom-objects.d.mts.map +1 -0
- package/resources/custom-objects/custom-objects.d.ts +103 -0
- package/resources/custom-objects/custom-objects.d.ts.map +1 -0
- package/resources/custom-objects/custom-objects.js +59 -0
- package/resources/custom-objects/custom-objects.js.map +1 -0
- package/resources/custom-objects/custom-objects.mjs +54 -0
- package/resources/custom-objects/custom-objects.mjs.map +1 -0
- package/resources/custom-objects/fields.d.mts +113 -0
- package/resources/custom-objects/fields.d.mts.map +1 -0
- package/resources/custom-objects/fields.d.ts +113 -0
- package/resources/custom-objects/fields.d.ts.map +1 -0
- package/resources/custom-objects/fields.js +50 -0
- package/resources/custom-objects/fields.js.map +1 -0
- package/resources/custom-objects/fields.mjs +46 -0
- package/resources/custom-objects/fields.mjs.map +1 -0
- package/resources/custom-objects/index.d.mts +4 -0
- package/resources/custom-objects/index.d.mts.map +1 -0
- package/resources/custom-objects/index.d.ts +4 -0
- package/resources/custom-objects/index.d.ts.map +1 -0
- package/resources/custom-objects/index.js +11 -0
- package/resources/custom-objects/index.js.map +1 -0
- package/resources/custom-objects/index.mjs +5 -0
- package/resources/custom-objects/index.mjs.map +1 -0
- package/resources/custom-objects/records.d.mts +143 -0
- package/resources/custom-objects/records.d.mts.map +1 -0
- package/resources/custom-objects/records.d.ts +143 -0
- package/resources/custom-objects/records.d.ts.map +1 -0
- package/resources/custom-objects/records.js +93 -0
- package/resources/custom-objects/records.js.map +1 -0
- package/resources/custom-objects/records.mjs +89 -0
- package/resources/custom-objects/records.mjs.map +1 -0
- package/resources/custom-objects.d.mts +2 -0
- package/resources/custom-objects.d.mts.map +1 -0
- package/resources/custom-objects.d.ts +2 -0
- package/resources/custom-objects.d.ts.map +1 -0
- package/resources/custom-objects.js +6 -0
- package/resources/custom-objects.js.map +1 -0
- package/resources/custom-objects.mjs +3 -0
- package/resources/custom-objects.mjs.map +1 -0
- package/resources/departments.d.mts +80 -0
- package/resources/departments.d.mts.map +1 -0
- package/resources/departments.d.ts +80 -0
- package/resources/departments.d.ts.map +1 -0
- package/resources/departments.js +27 -0
- package/resources/departments.js.map +1 -0
- package/resources/departments.mjs +23 -0
- package/resources/departments.mjs.map +1 -0
- package/resources/employment-types.d.mts +77 -0
- package/resources/employment-types.d.mts.map +1 -0
- package/resources/employment-types.d.ts +77 -0
- package/resources/employment-types.d.ts.map +1 -0
- package/resources/employment-types.js +29 -0
- package/resources/employment-types.js.map +1 -0
- package/resources/employment-types.mjs +25 -0
- package/resources/employment-types.mjs.map +1 -0
- package/resources/entitlements.d.mts +30 -0
- package/resources/entitlements.d.mts.map +1 -0
- package/resources/entitlements.d.ts +30 -0
- package/resources/entitlements.d.ts.map +1 -0
- package/resources/entitlements.js +18 -0
- package/resources/entitlements.js.map +1 -0
- package/resources/entitlements.mjs +14 -0
- package/resources/entitlements.mjs.map +1 -0
- package/resources/functions/deployments.d.mts +145 -0
- package/resources/functions/deployments.d.mts.map +1 -0
- package/resources/functions/deployments.d.ts +145 -0
- package/resources/functions/deployments.d.ts.map +1 -0
- package/resources/functions/deployments.js +40 -0
- package/resources/functions/deployments.js.map +1 -0
- package/resources/functions/deployments.mjs +36 -0
- package/resources/functions/deployments.mjs.map +1 -0
- package/resources/functions/executions.d.mts +188 -0
- package/resources/functions/executions.d.mts.map +1 -0
- package/resources/functions/executions.d.ts +188 -0
- package/resources/functions/executions.d.ts.map +1 -0
- package/resources/functions/executions.js +42 -0
- package/resources/functions/executions.js.map +1 -0
- package/resources/functions/executions.mjs +38 -0
- package/resources/functions/executions.mjs.map +1 -0
- package/resources/functions/functions.d.mts +129 -0
- package/resources/functions/functions.d.mts.map +1 -0
- package/resources/functions/functions.d.ts +129 -0
- package/resources/functions/functions.d.ts.map +1 -0
- package/resources/functions/functions.js +56 -0
- package/resources/functions/functions.js.map +1 -0
- package/resources/functions/functions.mjs +51 -0
- package/resources/functions/functions.mjs.map +1 -0
- package/resources/functions/index.d.mts +4 -0
- package/resources/functions/index.d.mts.map +1 -0
- package/resources/functions/index.d.ts +4 -0
- package/resources/functions/index.d.ts.map +1 -0
- package/resources/functions/index.js +11 -0
- package/resources/functions/index.js.map +1 -0
- package/resources/functions/index.mjs +5 -0
- package/resources/functions/index.mjs.map +1 -0
- package/resources/functions.d.mts +2 -0
- package/resources/functions.d.mts.map +1 -0
- package/resources/functions.d.ts +2 -0
- package/resources/functions.d.ts.map +1 -0
- package/resources/functions.js +6 -0
- package/resources/functions.js.map +1 -0
- package/resources/functions.mjs +3 -0
- package/resources/functions.mjs.map +1 -0
- package/resources/headcount-positions.d.mts +1059 -0
- package/resources/headcount-positions.d.mts.map +1 -0
- package/resources/headcount-positions.d.ts +1059 -0
- package/resources/headcount-positions.d.ts.map +1 -0
- package/resources/headcount-positions.js +41 -0
- package/resources/headcount-positions.js.map +1 -0
- package/resources/headcount-positions.mjs +37 -0
- package/resources/headcount-positions.mjs.map +1 -0
- package/resources/headcount-priorities.d.mts +65 -0
- package/resources/headcount-priorities.d.mts.map +1 -0
- package/resources/headcount-priorities.d.ts +65 -0
- package/resources/headcount-priorities.d.ts.map +1 -0
- package/resources/headcount-priorities.js +29 -0
- package/resources/headcount-priorities.js.map +1 -0
- package/resources/headcount-priorities.mjs +25 -0
- package/resources/headcount-priorities.mjs.map +1 -0
- package/resources/index.d.mts +42 -0
- package/resources/index.d.mts.map +1 -0
- package/resources/index.d.ts +42 -0
- package/resources/index.d.ts.map +1 -0
- package/resources/index.js +87 -0
- package/resources/index.js.map +1 -0
- package/resources/index.mjs +43 -0
- package/resources/index.mjs.map +1 -0
- package/resources/job-assignments.d.mts +161 -0
- package/resources/job-assignments.d.mts.map +1 -0
- package/resources/job-assignments.d.ts +161 -0
- package/resources/job-assignments.d.ts.map +1 -0
- package/resources/job-assignments.js +38 -0
- package/resources/job-assignments.js.map +1 -0
- package/resources/job-assignments.mjs +34 -0
- package/resources/job-assignments.mjs.map +1 -0
- package/resources/job-codes.d.mts +358 -0
- package/resources/job-codes.d.mts.map +1 -0
- package/resources/job-codes.d.ts +358 -0
- package/resources/job-codes.d.ts.map +1 -0
- package/resources/job-codes.js +61 -0
- package/resources/job-codes.js.map +1 -0
- package/resources/job-codes.mjs +57 -0
- package/resources/job-codes.mjs.map +1 -0
- package/resources/job-dimensions.d.mts +145 -0
- package/resources/job-dimensions.d.mts.map +1 -0
- package/resources/job-dimensions.d.ts +145 -0
- package/resources/job-dimensions.d.ts.map +1 -0
- package/resources/job-dimensions.js +49 -0
- package/resources/job-dimensions.js.map +1 -0
- package/resources/job-dimensions.mjs +45 -0
- package/resources/job-dimensions.mjs.map +1 -0
- package/resources/job-functions.d.mts +65 -0
- package/resources/job-functions.d.mts.map +1 -0
- package/resources/job-functions.d.ts +65 -0
- package/resources/job-functions.d.ts.map +1 -0
- package/resources/job-functions.js +29 -0
- package/resources/job-functions.js.map +1 -0
- package/resources/job-functions.mjs +25 -0
- package/resources/job-functions.mjs.map +1 -0
- package/resources/job-pay-rate-exceptions.d.mts +91 -0
- package/resources/job-pay-rate-exceptions.d.mts.map +1 -0
- package/resources/job-pay-rate-exceptions.d.ts +91 -0
- package/resources/job-pay-rate-exceptions.d.ts.map +1 -0
- package/resources/job-pay-rate-exceptions.js +41 -0
- package/resources/job-pay-rate-exceptions.js.map +1 -0
- package/resources/job-pay-rate-exceptions.mjs +37 -0
- package/resources/job-pay-rate-exceptions.mjs.map +1 -0
- package/resources/job-requisitions.d.mts +42 -0
- package/resources/job-requisitions.d.mts.map +1 -0
- package/resources/job-requisitions.d.ts +42 -0
- package/resources/job-requisitions.d.ts.map +1 -0
- package/resources/job-requisitions.js +19 -0
- package/resources/job-requisitions.js.map +1 -0
- package/resources/job-requisitions.mjs +15 -0
- package/resources/job-requisitions.mjs.map +1 -0
- package/resources/kiosk-badges.d.mts +247 -0
- package/resources/kiosk-badges.d.mts.map +1 -0
- package/resources/kiosk-badges.d.ts +247 -0
- package/resources/kiosk-badges.d.ts.map +1 -0
- package/resources/kiosk-badges.js +53 -0
- package/resources/kiosk-badges.js.map +1 -0
- package/resources/kiosk-badges.mjs +49 -0
- package/resources/kiosk-badges.mjs.map +1 -0
- package/resources/leave-balances.d.mts +88 -0
- package/resources/leave-balances.d.mts.map +1 -0
- package/resources/leave-balances.d.ts +88 -0
- package/resources/leave-balances.d.ts.map +1 -0
- package/resources/leave-balances.js +28 -0
- package/resources/leave-balances.js.map +1 -0
- package/resources/leave-balances.mjs +24 -0
- package/resources/leave-balances.mjs.map +1 -0
- package/resources/leave-requests.d.mts +731 -0
- package/resources/leave-requests.d.mts.map +1 -0
- package/resources/leave-requests.d.ts +731 -0
- package/resources/leave-requests.d.ts.map +1 -0
- package/resources/leave-requests.js +44 -0
- package/resources/leave-requests.js.map +1 -0
- package/resources/leave-requests.mjs +40 -0
- package/resources/leave-requests.mjs.map +1 -0
- package/resources/leave-types.d.mts +67 -0
- package/resources/leave-types.d.mts.map +1 -0
- package/resources/leave-types.d.ts +67 -0
- package/resources/leave-types.d.ts.map +1 -0
- package/resources/leave-types.js +27 -0
- package/resources/leave-types.js.map +1 -0
- package/resources/leave-types.mjs +23 -0
- package/resources/leave-types.mjs.map +1 -0
- package/resources/legal-entities.d.mts +117 -0
- package/resources/legal-entities.d.mts.map +1 -0
- package/resources/legal-entities.d.ts +117 -0
- package/resources/legal-entities.d.ts.map +1 -0
- package/resources/legal-entities.js +27 -0
- package/resources/legal-entities.js.map +1 -0
- package/resources/legal-entities.mjs +23 -0
- package/resources/legal-entities.mjs.map +1 -0
- package/resources/levels.d.mts +91 -0
- package/resources/levels.d.mts.map +1 -0
- package/resources/levels.d.ts +91 -0
- package/resources/levels.d.ts.map +1 -0
- package/resources/levels.js +27 -0
- package/resources/levels.js.map +1 -0
- package/resources/levels.mjs +23 -0
- package/resources/levels.mjs.map +1 -0
- package/resources/location-factors.d.mts +111 -0
- package/resources/location-factors.d.mts.map +1 -0
- package/resources/location-factors.d.ts +111 -0
- package/resources/location-factors.d.ts.map +1 -0
- package/resources/location-factors.js +29 -0
- package/resources/location-factors.js.map +1 -0
- package/resources/location-factors.mjs +25 -0
- package/resources/location-factors.mjs.map +1 -0
- package/resources/object-categories.d.mts +63 -0
- package/resources/object-categories.d.mts.map +1 -0
- package/resources/object-categories.d.ts +63 -0
- package/resources/object-categories.d.ts.map +1 -0
- package/resources/object-categories.js +47 -0
- package/resources/object-categories.js.map +1 -0
- package/resources/object-categories.mjs +43 -0
- package/resources/object-categories.mjs.map +1 -0
- package/resources/schedules.d.mts +139 -0
- package/resources/schedules.d.mts.map +1 -0
- package/resources/schedules.d.ts +139 -0
- package/resources/schedules.d.ts.map +1 -0
- package/resources/schedules.js +27 -0
- package/resources/schedules.js.map +1 -0
- package/resources/schedules.mjs +23 -0
- package/resources/schedules.mjs.map +1 -0
- package/resources/shared.d.mts +55 -0
- package/resources/shared.d.mts.map +1 -0
- package/resources/shared.d.ts +55 -0
- package/resources/shared.d.ts.map +1 -0
- package/resources/shared.js +4 -0
- package/resources/shared.js.map +1 -0
- package/resources/shared.mjs +3 -0
- package/resources/shared.mjs.map +1 -0
- package/resources/shift-inputs.d.mts +291 -0
- package/resources/shift-inputs.d.mts.map +1 -0
- package/resources/shift-inputs.d.ts +291 -0
- package/resources/shift-inputs.d.ts.map +1 -0
- package/resources/shift-inputs.js +53 -0
- package/resources/shift-inputs.js.map +1 -0
- package/resources/shift-inputs.mjs +49 -0
- package/resources/shift-inputs.mjs.map +1 -0
- package/resources/shiftassignments.d.mts +466 -0
- package/resources/shiftassignments.d.mts.map +1 -0
- package/resources/shiftassignments.d.ts +466 -0
- package/resources/shiftassignments.d.ts.map +1 -0
- package/resources/shiftassignments.js +32 -0
- package/resources/shiftassignments.js.map +1 -0
- package/resources/shiftassignments.mjs +28 -0
- package/resources/shiftassignments.mjs.map +1 -0
- package/resources/sso-me.d.mts +48 -0
- package/resources/sso-me.d.mts.map +1 -0
- package/resources/sso-me.d.ts +48 -0
- package/resources/sso-me.d.ts.map +1 -0
- package/resources/sso-me.js +18 -0
- package/resources/sso-me.js.map +1 -0
- package/resources/sso-me.mjs +14 -0
- package/resources/sso-me.mjs.map +1 -0
- package/resources/supergroups/exclusion-members.d.mts +56 -0
- package/resources/supergroups/exclusion-members.d.mts.map +1 -0
- package/resources/supergroups/exclusion-members.d.ts +56 -0
- package/resources/supergroups/exclusion-members.d.ts.map +1 -0
- package/resources/supergroups/exclusion-members.js +26 -0
- package/resources/supergroups/exclusion-members.js.map +1 -0
- package/resources/supergroups/exclusion-members.mjs +22 -0
- package/resources/supergroups/exclusion-members.mjs.map +1 -0
- package/resources/supergroups/inclusion-members.d.mts +56 -0
- package/resources/supergroups/inclusion-members.d.mts.map +1 -0
- package/resources/supergroups/inclusion-members.d.ts +56 -0
- package/resources/supergroups/inclusion-members.d.ts.map +1 -0
- package/resources/supergroups/inclusion-members.js +26 -0
- package/resources/supergroups/inclusion-members.js.map +1 -0
- package/resources/supergroups/inclusion-members.mjs +22 -0
- package/resources/supergroups/inclusion-members.mjs.map +1 -0
- package/resources/supergroups/index.d.mts +5 -0
- package/resources/supergroups/index.d.mts.map +1 -0
- package/resources/supergroups/index.d.ts +5 -0
- package/resources/supergroups/index.d.ts.map +1 -0
- package/resources/supergroups/index.js +13 -0
- package/resources/supergroups/index.js.map +1 -0
- package/resources/supergroups/index.mjs +6 -0
- package/resources/supergroups/index.mjs.map +1 -0
- package/resources/supergroups/members.d.mts +42 -0
- package/resources/supergroups/members.d.mts.map +1 -0
- package/resources/supergroups/members.d.ts +42 -0
- package/resources/supergroups/members.d.ts.map +1 -0
- package/resources/supergroups/members.js +23 -0
- package/resources/supergroups/members.js.map +1 -0
- package/resources/supergroups/members.mjs +19 -0
- package/resources/supergroups/members.mjs.map +1 -0
- package/resources/supergroups/supergroups.d.mts +123 -0
- package/resources/supergroups/supergroups.d.mts.map +1 -0
- package/resources/supergroups/supergroups.d.ts +123 -0
- package/resources/supergroups/supergroups.d.ts.map +1 -0
- package/resources/supergroups/supergroups.js +43 -0
- package/resources/supergroups/supergroups.js.map +1 -0
- package/resources/supergroups/supergroups.mjs +38 -0
- package/resources/supergroups/supergroups.mjs.map +1 -0
- package/resources/supergroups.d.mts +2 -0
- package/resources/supergroups.d.mts.map +1 -0
- package/resources/supergroups.d.ts +2 -0
- package/resources/supergroups.d.ts.map +1 -0
- package/resources/supergroups.js +6 -0
- package/resources/supergroups.js.map +1 -0
- package/resources/supergroups.mjs +3 -0
- package/resources/supergroups.mjs.map +1 -0
- package/resources/teams.d.mts +64 -0
- package/resources/teams.d.mts.map +1 -0
- package/resources/teams.d.ts +64 -0
- package/resources/teams.d.ts.map +1 -0
- package/resources/teams.js +27 -0
- package/resources/teams.js.map +1 -0
- package/resources/teams.mjs +23 -0
- package/resources/teams.mjs.map +1 -0
- package/resources/time-cards.d.mts +156 -0
- package/resources/time-cards.d.mts.map +1 -0
- package/resources/time-cards.d.ts +156 -0
- package/resources/time-cards.d.ts.map +1 -0
- package/resources/time-cards.js +28 -0
- package/resources/time-cards.js.map +1 -0
- package/resources/time-cards.mjs +24 -0
- package/resources/time-cards.mjs.map +1 -0
- package/resources/time-entries.d.mts +1494 -0
- package/resources/time-entries.d.mts.map +1 -0
- package/resources/time-entries.d.ts +1494 -0
- package/resources/time-entries.d.ts.map +1 -0
- package/resources/time-entries.js +53 -0
- package/resources/time-entries.js.map +1 -0
- package/resources/time-entries.mjs +49 -0
- package/resources/time-entries.mjs.map +1 -0
- package/resources/tracks.d.mts +49 -0
- package/resources/tracks.d.mts.map +1 -0
- package/resources/tracks.d.ts +49 -0
- package/resources/tracks.d.ts.map +1 -0
- package/resources/tracks.js +26 -0
- package/resources/tracks.js.map +1 -0
- package/resources/tracks.mjs +22 -0
- package/resources/tracks.mjs.map +1 -0
- package/resources/users.d.mts +200 -0
- package/resources/users.d.mts.map +1 -0
- package/resources/users.d.ts +200 -0
- package/resources/users.d.ts.map +1 -0
- package/resources/users.js +26 -0
- package/resources/users.js.map +1 -0
- package/resources/users.mjs +22 -0
- package/resources/users.mjs.map +1 -0
- package/resources/work-locations.d.mts +54 -0
- package/resources/work-locations.d.mts.map +1 -0
- package/resources/work-locations.d.ts +54 -0
- package/resources/work-locations.d.ts.map +1 -0
- package/resources/work-locations.js +26 -0
- package/resources/work-locations.js.map +1 -0
- package/resources/work-locations.mjs +22 -0
- package/resources/work-locations.mjs.map +1 -0
- package/resources/workers.d.mts +298 -0
- package/resources/workers.d.mts.map +1 -0
- package/resources/workers.d.ts +298 -0
- package/resources/workers.d.ts.map +1 -0
- package/resources/workers.js +31 -0
- package/resources/workers.js.map +1 -0
- package/resources/workers.mjs +27 -0
- package/resources/workers.mjs.map +1 -0
- package/resources.d.mts +2 -0
- package/resources.d.mts.map +1 -0
- package/resources.d.ts +2 -0
- package/resources.d.ts.map +1 -0
- package/resources.js +5 -0
- package/resources.js.map +1 -0
- package/resources.mjs +2 -0
- package/resources.mjs.map +1 -0
- package/src/api-promise.ts +2 -0
- package/src/client.ts +1518 -0
- package/src/core/README.md +3 -0
- package/src/core/api-promise.ts +92 -0
- package/src/core/error.ts +130 -0
- package/src/core/pagination.ts +155 -0
- package/src/core/resource.ts +11 -0
- package/src/core/uploads.ts +2 -0
- package/src/error.ts +2 -0
- package/src/functions.ts +114 -0
- package/src/index.ts +25 -0
- package/src/internal/README.md +3 -0
- package/src/internal/builtin-types.ts +93 -0
- package/src/internal/detect-platform.ts +196 -0
- package/src/internal/errors.ts +33 -0
- package/src/internal/headers.ts +97 -0
- package/src/internal/parse.ts +50 -0
- package/src/internal/request-options.ts +91 -0
- package/src/internal/shim-types.ts +26 -0
- package/src/internal/shims.ts +107 -0
- package/src/internal/to-file.ts +154 -0
- package/src/internal/types.ts +95 -0
- package/src/internal/uploads.ts +187 -0
- package/src/internal/utils/base64.ts +40 -0
- package/src/internal/utils/bytes.ts +32 -0
- package/src/internal/utils/env.ts +18 -0
- package/src/internal/utils/log.ts +126 -0
- package/src/internal/utils/path.ts +88 -0
- package/src/internal/utils/sleep.ts +3 -0
- package/src/internal/utils/uuid.ts +17 -0
- package/src/internal/utils/values.ts +105 -0
- package/src/internal/utils.ts +8 -0
- package/src/lib/.keep +4 -0
- package/src/pagination.ts +2 -0
- package/src/resource.ts +2 -0
- package/src/resources/business-partner-groups.ts +146 -0
- package/src/resources/business-partners.ts +190 -0
- package/src/resources/candidate-applications.ts +91 -0
- package/src/resources/candidates.ts +79 -0
- package/src/resources/companies.ts +110 -0
- package/src/resources/compensations.ts +313 -0
- package/src/resources/custom-fields.ts +93 -0
- package/src/resources/custom-objects/custom-objects.ts +206 -0
- package/src/resources/custom-objects/fields.ts +199 -0
- package/src/resources/custom-objects/index.ts +32 -0
- package/src/resources/custom-objects/records.ts +282 -0
- package/src/resources/custom-objects.ts +3 -0
- package/src/resources/departments.ts +115 -0
- package/src/resources/employment-types.ts +107 -0
- package/src/resources/entitlements.ts +44 -0
- package/src/resources/functions/deployments.ts +209 -0
- package/src/resources/functions/executions.ts +273 -0
- package/src/resources/functions/functions.ts +229 -0
- package/src/resources/functions/index.ts +32 -0
- package/src/resources/functions.ts +3 -0
- package/src/resources/headcount-positions.ts +1767 -0
- package/src/resources/headcount-priorities.ts +95 -0
- package/src/resources/index.ts +322 -0
- package/src/resources/job-assignments.ts +227 -0
- package/src/resources/job-codes.ts +466 -0
- package/src/resources/job-dimensions.ts +201 -0
- package/src/resources/job-functions.ts +95 -0
- package/src/resources/job-pay-rate-exceptions.ts +144 -0
- package/src/resources/job-requisitions.ts +61 -0
- package/src/resources/kiosk-badges.ts +343 -0
- package/src/resources/leave-balances.ts +125 -0
- package/src/resources/leave-requests.ts +928 -0
- package/src/resources/leave-types.ts +95 -0
- package/src/resources/legal-entities.ts +406 -0
- package/src/resources/levels.ts +128 -0
- package/src/resources/location-factors.ts +643 -0
- package/src/resources/object-categories.ts +107 -0
- package/src/resources/schedules.ts +187 -0
- package/src/resources/shared.ts +313 -0
- package/src/resources/shift-inputs.ts +398 -0
- package/src/resources/shiftassignments.ts +580 -0
- package/src/resources/sso-me.ts +60 -0
- package/src/resources/supergroups/exclusion-members.ts +88 -0
- package/src/resources/supergroups/inclusion-members.ts +88 -0
- package/src/resources/supergroups/index.ts +22 -0
- package/src/resources/supergroups/members.ts +66 -0
- package/src/resources/supergroups/supergroups.ts +199 -0
- package/src/resources/supergroups.ts +3 -0
- package/src/resources/teams.ts +96 -0
- package/src/resources/time-cards.ts +209 -0
- package/src/resources/time-entries.ts +1860 -0
- package/src/resources/tracks.ts +72 -0
- package/src/resources/users.ts +255 -0
- package/src/resources/work-locations.ts +78 -0
- package/src/resources/workers.ts +906 -0
- package/src/resources.ts +1 -0
- package/src/tsconfig.json +11 -0
- package/src/uploads.ts +2 -0
- package/src/version.ts +1 -0
- package/uploads.d.mts +2 -0
- package/uploads.d.mts.map +1 -0
- package/uploads.d.ts +2 -0
- package/uploads.d.ts.map +1 -0
- package/uploads.js +6 -0
- package/uploads.js.map +1 -0
- package/uploads.mjs +2 -0
- package/uploads.mjs.map +1 -0
- package/version.d.mts +2 -0
- package/version.d.mts.map +1 -0
- package/version.d.ts +2 -0
- package/version.d.ts.map +1 -0
- package/version.js +5 -0
- package/version.js.map +1 -0
- package/version.mjs +2 -0
- package/version.mjs.map +1 -0
|
@@ -0,0 +1,466 @@
|
|
|
1
|
+
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
+
|
|
3
|
+
import { APIResource } from '../core/resource';
|
|
4
|
+
import * as BusinessPartnersAPI from './business-partners';
|
|
5
|
+
import * as DepartmentsAPI from './departments';
|
|
6
|
+
import * as JobAssignmentsAPI from './job-assignments';
|
|
7
|
+
import { AttributeChangeDetailsPageCursorURL } from './job-assignments';
|
|
8
|
+
import * as JobDimensionsAPI from './job-dimensions';
|
|
9
|
+
import * as JobPayRateExceptionsAPI from './job-pay-rate-exceptions';
|
|
10
|
+
import * as Shared from './shared';
|
|
11
|
+
import * as WorkLocationsAPI from './work-locations';
|
|
12
|
+
import { APIPromise } from '../core/api-promise';
|
|
13
|
+
import { PageCursorURL, PagePromise } from '../core/pagination';
|
|
14
|
+
import { buildHeaders } from '../internal/headers';
|
|
15
|
+
import { RequestOptions } from '../internal/request-options';
|
|
16
|
+
import { path } from '../internal/utils/path';
|
|
17
|
+
|
|
18
|
+
export class JobCodes extends APIResource {
|
|
19
|
+
/**
|
|
20
|
+
* Create a new job code
|
|
21
|
+
*/
|
|
22
|
+
create(body: JobCodeCreateParams, options?: RequestOptions): APIPromise<JobCode> {
|
|
23
|
+
return this._client.post('/job-codes', { body, ...options });
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
/**
|
|
27
|
+
* Retrieve a specific job code
|
|
28
|
+
*/
|
|
29
|
+
retrieve(
|
|
30
|
+
id: string,
|
|
31
|
+
query: JobCodeRetrieveParams | null | undefined = {},
|
|
32
|
+
options?: RequestOptions,
|
|
33
|
+
): APIPromise<JobCodeRetrieveResponse> {
|
|
34
|
+
return this._client.get(path`/job-codes/${id}`, { query, ...options });
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
/**
|
|
38
|
+
* Updated a specific job code
|
|
39
|
+
*/
|
|
40
|
+
update(id: string, body: JobCodeUpdateParams, options?: RequestOptions): APIPromise<JobCode> {
|
|
41
|
+
return this._client.patch(path`/job-codes/${id}`, { body, ...options });
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
/**
|
|
45
|
+
* A List of job codes
|
|
46
|
+
*
|
|
47
|
+
* - Requires: `API Tier 2`
|
|
48
|
+
* - Filterable fields: `job_dimension_id`, `group_id`
|
|
49
|
+
* - Expandable fields: `job_dimension`, `work_location`, `department`,
|
|
50
|
+
* `pay_rate_exceptions`
|
|
51
|
+
* - Sortable fields: `id`, `created_at`, `updated_at`
|
|
52
|
+
*/
|
|
53
|
+
list(
|
|
54
|
+
query: JobCodeListParams | null | undefined = {},
|
|
55
|
+
options?: RequestOptions,
|
|
56
|
+
): PagePromise<JobCodesPageCursorURL, JobCode> {
|
|
57
|
+
return this._client.getAPIList('/job-codes', PageCursorURL<JobCode>, { query, ...options });
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
/**
|
|
61
|
+
* Delete a job code
|
|
62
|
+
*/
|
|
63
|
+
delete(id: string, options?: RequestOptions): APIPromise<void> {
|
|
64
|
+
return this._client.delete(path`/job-codes/${id}`, {
|
|
65
|
+
...options,
|
|
66
|
+
headers: buildHeaders([{ Accept: '*/*' }, options?.headers]),
|
|
67
|
+
});
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
/**
|
|
71
|
+
* A List of attribute change logs
|
|
72
|
+
*
|
|
73
|
+
* - Requires: `API Tier 2`
|
|
74
|
+
* - Expandable fields: `changed_by_worker`
|
|
75
|
+
* - Sortable fields: `id`
|
|
76
|
+
*/
|
|
77
|
+
listChangeLog(
|
|
78
|
+
jobCodeID: string,
|
|
79
|
+
query: JobCodeListChangeLogParams | null | undefined = {},
|
|
80
|
+
options?: RequestOptions,
|
|
81
|
+
): PagePromise<AttributeChangeDetailsPageCursorURL, JobAssignmentsAPI.AttributeChangeDetails> {
|
|
82
|
+
return this._client.getAPIList(
|
|
83
|
+
path`/job-codes/${jobCodeID}/change-log`,
|
|
84
|
+
PageCursorURL<JobAssignmentsAPI.AttributeChangeDetails>,
|
|
85
|
+
{ query, ...options },
|
|
86
|
+
);
|
|
87
|
+
}
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
export type JobCodesPageCursorURL = PageCursorURL<JobCode>;
|
|
91
|
+
|
|
92
|
+
export interface JobCode {
|
|
93
|
+
/**
|
|
94
|
+
* Identifier field
|
|
95
|
+
*/
|
|
96
|
+
id: string;
|
|
97
|
+
|
|
98
|
+
/**
|
|
99
|
+
* Record creation date
|
|
100
|
+
*/
|
|
101
|
+
created_at: string;
|
|
102
|
+
|
|
103
|
+
/**
|
|
104
|
+
* The ID of the job dimension this job code belongs to.
|
|
105
|
+
*/
|
|
106
|
+
job_dimension_id: string;
|
|
107
|
+
|
|
108
|
+
/**
|
|
109
|
+
* The name of the job dimension.
|
|
110
|
+
*/
|
|
111
|
+
name: string;
|
|
112
|
+
|
|
113
|
+
/**
|
|
114
|
+
* Record update date
|
|
115
|
+
*/
|
|
116
|
+
updated_at: string;
|
|
117
|
+
|
|
118
|
+
/**
|
|
119
|
+
* The custom location of the job code. This location will be used for tax
|
|
120
|
+
* calculation purposes if using US Payroll when an employee is working at this job
|
|
121
|
+
* code.
|
|
122
|
+
*/
|
|
123
|
+
custom_location?: JobCode.CustomLocation;
|
|
124
|
+
|
|
125
|
+
/**
|
|
126
|
+
* The department associated with the job code.
|
|
127
|
+
*
|
|
128
|
+
* Expandable field
|
|
129
|
+
*/
|
|
130
|
+
department?: DepartmentsAPI.Department;
|
|
131
|
+
|
|
132
|
+
/**
|
|
133
|
+
* The department associated with the job code.
|
|
134
|
+
*/
|
|
135
|
+
department_id?: string;
|
|
136
|
+
|
|
137
|
+
/**
|
|
138
|
+
* The unique identifier of the job code in an outside system.
|
|
139
|
+
*/
|
|
140
|
+
external_id?: string;
|
|
141
|
+
|
|
142
|
+
/**
|
|
143
|
+
* The ID of the job roster group.
|
|
144
|
+
*/
|
|
145
|
+
group_id?: string;
|
|
146
|
+
|
|
147
|
+
/**
|
|
148
|
+
* The job dimension this job code belongs to.
|
|
149
|
+
*
|
|
150
|
+
* Expandable field
|
|
151
|
+
*/
|
|
152
|
+
job_dimension?: JobDimensionsAPI.JobDimension;
|
|
153
|
+
|
|
154
|
+
/**
|
|
155
|
+
* The pay rate for job, if job code is associated with pay rate.
|
|
156
|
+
*/
|
|
157
|
+
pay_rate?: number;
|
|
158
|
+
|
|
159
|
+
/**
|
|
160
|
+
* Pay rate overrides for the job based on exception dimension values.
|
|
161
|
+
*
|
|
162
|
+
* Expandable field
|
|
163
|
+
*/
|
|
164
|
+
pay_rate_exceptions?: Array<JobPayRateExceptionsAPI.JobPayRateException>;
|
|
165
|
+
|
|
166
|
+
/**
|
|
167
|
+
* Pay rate overrides id for the job based on exception dimension values.
|
|
168
|
+
*/
|
|
169
|
+
pay_rate_exceptions_id?: Array<string>;
|
|
170
|
+
|
|
171
|
+
/**
|
|
172
|
+
* The work location associated with the job code.
|
|
173
|
+
*
|
|
174
|
+
* Expandable field
|
|
175
|
+
*/
|
|
176
|
+
work_location?: WorkLocationsAPI.WorkLocation;
|
|
177
|
+
|
|
178
|
+
/**
|
|
179
|
+
* The work location associated with the job code.
|
|
180
|
+
*/
|
|
181
|
+
work_location_id?: string;
|
|
182
|
+
}
|
|
183
|
+
|
|
184
|
+
export namespace JobCode {
|
|
185
|
+
/**
|
|
186
|
+
* The custom location of the job code. This location will be used for tax
|
|
187
|
+
* calculation purposes if using US Payroll when an employee is working at this job
|
|
188
|
+
* code.
|
|
189
|
+
*/
|
|
190
|
+
export interface CustomLocation {
|
|
191
|
+
/**
|
|
192
|
+
* The address of the custom location.
|
|
193
|
+
*/
|
|
194
|
+
address: Shared.Address;
|
|
195
|
+
}
|
|
196
|
+
}
|
|
197
|
+
|
|
198
|
+
export interface JobCodeRequest {
|
|
199
|
+
/**
|
|
200
|
+
* The ID of the job dimension this job code belongs to.
|
|
201
|
+
*/
|
|
202
|
+
job_dimension_id: string;
|
|
203
|
+
|
|
204
|
+
/**
|
|
205
|
+
* The name of the job dimension.
|
|
206
|
+
*/
|
|
207
|
+
name: string;
|
|
208
|
+
|
|
209
|
+
/**
|
|
210
|
+
* The custom location of the job code. This location will be used for tax
|
|
211
|
+
* calculation purposes if using US Payroll when an employee is working at this job
|
|
212
|
+
* code.
|
|
213
|
+
*/
|
|
214
|
+
custom_location?: JobCodeRequest.CustomLocation;
|
|
215
|
+
|
|
216
|
+
/**
|
|
217
|
+
* The unique identifier of the job code in an outside system.
|
|
218
|
+
*/
|
|
219
|
+
external_id?: string;
|
|
220
|
+
}
|
|
221
|
+
|
|
222
|
+
export namespace JobCodeRequest {
|
|
223
|
+
/**
|
|
224
|
+
* The custom location of the job code. This location will be used for tax
|
|
225
|
+
* calculation purposes if using US Payroll when an employee is working at this job
|
|
226
|
+
* code.
|
|
227
|
+
*/
|
|
228
|
+
export interface CustomLocation {
|
|
229
|
+
/**
|
|
230
|
+
* The address of the custom location.
|
|
231
|
+
*/
|
|
232
|
+
address: CustomLocation.Address;
|
|
233
|
+
}
|
|
234
|
+
|
|
235
|
+
export namespace CustomLocation {
|
|
236
|
+
/**
|
|
237
|
+
* The address of the custom location.
|
|
238
|
+
*/
|
|
239
|
+
export interface Address {
|
|
240
|
+
/**
|
|
241
|
+
* The country component, pursuant to SCIM RFC 7643 4.1.2.
|
|
242
|
+
*/
|
|
243
|
+
country?: Shared.CountryCode;
|
|
244
|
+
|
|
245
|
+
/**
|
|
246
|
+
* The city or locality component.
|
|
247
|
+
*/
|
|
248
|
+
locality?: string;
|
|
249
|
+
|
|
250
|
+
/**
|
|
251
|
+
* The zip code or postal code component, pursuant to SCIM RFC 7643 4.1.2.
|
|
252
|
+
*/
|
|
253
|
+
postal_code?: string;
|
|
254
|
+
|
|
255
|
+
/**
|
|
256
|
+
* The state or region component, pursuant to SCIM RFC 7643 4.1.2.
|
|
257
|
+
*/
|
|
258
|
+
region?: string;
|
|
259
|
+
|
|
260
|
+
/**
|
|
261
|
+
* The full street address component, which may include house number, street name,
|
|
262
|
+
* P.O. box, and multi-line extended street address information, pursuant to SCIM
|
|
263
|
+
* RFC 7643 4.1.2..
|
|
264
|
+
*/
|
|
265
|
+
street_address?: string;
|
|
266
|
+
|
|
267
|
+
/**
|
|
268
|
+
* The classification of the address.
|
|
269
|
+
*/
|
|
270
|
+
type?: 'HOME' | 'WORK' | 'OTHER';
|
|
271
|
+
}
|
|
272
|
+
}
|
|
273
|
+
}
|
|
274
|
+
|
|
275
|
+
/**
|
|
276
|
+
* Meta information for the response.
|
|
277
|
+
*/
|
|
278
|
+
export interface JobCodeRetrieveResponse extends BusinessPartnersAPI.Meta, JobCode {}
|
|
279
|
+
|
|
280
|
+
export interface JobCodeCreateParams {
|
|
281
|
+
/**
|
|
282
|
+
* The ID of the job dimension this job code belongs to.
|
|
283
|
+
*/
|
|
284
|
+
job_dimension_id: string;
|
|
285
|
+
|
|
286
|
+
/**
|
|
287
|
+
* The name of the job dimension.
|
|
288
|
+
*/
|
|
289
|
+
name: string;
|
|
290
|
+
|
|
291
|
+
/**
|
|
292
|
+
* The custom location of the job code. This location will be used for tax
|
|
293
|
+
* calculation purposes if using US Payroll when an employee is working at this job
|
|
294
|
+
* code.
|
|
295
|
+
*/
|
|
296
|
+
custom_location?: JobCodeCreateParams.CustomLocation;
|
|
297
|
+
|
|
298
|
+
/**
|
|
299
|
+
* The unique identifier of the job code in an outside system.
|
|
300
|
+
*/
|
|
301
|
+
external_id?: string;
|
|
302
|
+
}
|
|
303
|
+
|
|
304
|
+
export namespace JobCodeCreateParams {
|
|
305
|
+
/**
|
|
306
|
+
* The custom location of the job code. This location will be used for tax
|
|
307
|
+
* calculation purposes if using US Payroll when an employee is working at this job
|
|
308
|
+
* code.
|
|
309
|
+
*/
|
|
310
|
+
export interface CustomLocation {
|
|
311
|
+
/**
|
|
312
|
+
* The address of the custom location.
|
|
313
|
+
*/
|
|
314
|
+
address: CustomLocation.Address;
|
|
315
|
+
}
|
|
316
|
+
|
|
317
|
+
export namespace CustomLocation {
|
|
318
|
+
/**
|
|
319
|
+
* The address of the custom location.
|
|
320
|
+
*/
|
|
321
|
+
export interface Address {
|
|
322
|
+
/**
|
|
323
|
+
* The country component, pursuant to SCIM RFC 7643 4.1.2.
|
|
324
|
+
*/
|
|
325
|
+
country?: Shared.CountryCode;
|
|
326
|
+
|
|
327
|
+
/**
|
|
328
|
+
* The city or locality component.
|
|
329
|
+
*/
|
|
330
|
+
locality?: string;
|
|
331
|
+
|
|
332
|
+
/**
|
|
333
|
+
* The zip code or postal code component, pursuant to SCIM RFC 7643 4.1.2.
|
|
334
|
+
*/
|
|
335
|
+
postal_code?: string;
|
|
336
|
+
|
|
337
|
+
/**
|
|
338
|
+
* The state or region component, pursuant to SCIM RFC 7643 4.1.2.
|
|
339
|
+
*/
|
|
340
|
+
region?: string;
|
|
341
|
+
|
|
342
|
+
/**
|
|
343
|
+
* The full street address component, which may include house number, street name,
|
|
344
|
+
* P.O. box, and multi-line extended street address information, pursuant to SCIM
|
|
345
|
+
* RFC 7643 4.1.2..
|
|
346
|
+
*/
|
|
347
|
+
street_address?: string;
|
|
348
|
+
|
|
349
|
+
/**
|
|
350
|
+
* The classification of the address.
|
|
351
|
+
*/
|
|
352
|
+
type?: 'HOME' | 'WORK' | 'OTHER';
|
|
353
|
+
}
|
|
354
|
+
}
|
|
355
|
+
}
|
|
356
|
+
|
|
357
|
+
export interface JobCodeRetrieveParams {
|
|
358
|
+
expand?: string;
|
|
359
|
+
}
|
|
360
|
+
|
|
361
|
+
export interface JobCodeUpdateParams {
|
|
362
|
+
/**
|
|
363
|
+
* The ID of the job dimension this job code belongs to.
|
|
364
|
+
*/
|
|
365
|
+
job_dimension_id: string;
|
|
366
|
+
|
|
367
|
+
/**
|
|
368
|
+
* The name of the job dimension.
|
|
369
|
+
*/
|
|
370
|
+
name: string;
|
|
371
|
+
|
|
372
|
+
/**
|
|
373
|
+
* The custom location of the job code. This location will be used for tax
|
|
374
|
+
* calculation purposes if using US Payroll when an employee is working at this job
|
|
375
|
+
* code.
|
|
376
|
+
*/
|
|
377
|
+
custom_location?: JobCodeUpdateParams.CustomLocation;
|
|
378
|
+
|
|
379
|
+
/**
|
|
380
|
+
* The unique identifier of the job code in an outside system.
|
|
381
|
+
*/
|
|
382
|
+
external_id?: string;
|
|
383
|
+
}
|
|
384
|
+
|
|
385
|
+
export namespace JobCodeUpdateParams {
|
|
386
|
+
/**
|
|
387
|
+
* The custom location of the job code. This location will be used for tax
|
|
388
|
+
* calculation purposes if using US Payroll when an employee is working at this job
|
|
389
|
+
* code.
|
|
390
|
+
*/
|
|
391
|
+
export interface CustomLocation {
|
|
392
|
+
/**
|
|
393
|
+
* The address of the custom location.
|
|
394
|
+
*/
|
|
395
|
+
address: CustomLocation.Address;
|
|
396
|
+
}
|
|
397
|
+
|
|
398
|
+
export namespace CustomLocation {
|
|
399
|
+
/**
|
|
400
|
+
* The address of the custom location.
|
|
401
|
+
*/
|
|
402
|
+
export interface Address {
|
|
403
|
+
/**
|
|
404
|
+
* The country component, pursuant to SCIM RFC 7643 4.1.2.
|
|
405
|
+
*/
|
|
406
|
+
country?: Shared.CountryCode;
|
|
407
|
+
|
|
408
|
+
/**
|
|
409
|
+
* The city or locality component.
|
|
410
|
+
*/
|
|
411
|
+
locality?: string;
|
|
412
|
+
|
|
413
|
+
/**
|
|
414
|
+
* The zip code or postal code component, pursuant to SCIM RFC 7643 4.1.2.
|
|
415
|
+
*/
|
|
416
|
+
postal_code?: string;
|
|
417
|
+
|
|
418
|
+
/**
|
|
419
|
+
* The state or region component, pursuant to SCIM RFC 7643 4.1.2.
|
|
420
|
+
*/
|
|
421
|
+
region?: string;
|
|
422
|
+
|
|
423
|
+
/**
|
|
424
|
+
* The full street address component, which may include house number, street name,
|
|
425
|
+
* P.O. box, and multi-line extended street address information, pursuant to SCIM
|
|
426
|
+
* RFC 7643 4.1.2..
|
|
427
|
+
*/
|
|
428
|
+
street_address?: string;
|
|
429
|
+
|
|
430
|
+
/**
|
|
431
|
+
* The classification of the address.
|
|
432
|
+
*/
|
|
433
|
+
type?: 'HOME' | 'WORK' | 'OTHER';
|
|
434
|
+
}
|
|
435
|
+
}
|
|
436
|
+
}
|
|
437
|
+
|
|
438
|
+
export interface JobCodeListParams {
|
|
439
|
+
expand?: string;
|
|
440
|
+
|
|
441
|
+
filter?: string;
|
|
442
|
+
|
|
443
|
+
order_by?: string;
|
|
444
|
+
}
|
|
445
|
+
|
|
446
|
+
export interface JobCodeListChangeLogParams {
|
|
447
|
+
expand?: string;
|
|
448
|
+
|
|
449
|
+
order_by?: string;
|
|
450
|
+
}
|
|
451
|
+
|
|
452
|
+
export declare namespace JobCodes {
|
|
453
|
+
export {
|
|
454
|
+
type JobCode as JobCode,
|
|
455
|
+
type JobCodeRequest as JobCodeRequest,
|
|
456
|
+
type JobCodeRetrieveResponse as JobCodeRetrieveResponse,
|
|
457
|
+
type JobCodesPageCursorURL as JobCodesPageCursorURL,
|
|
458
|
+
type JobCodeCreateParams as JobCodeCreateParams,
|
|
459
|
+
type JobCodeRetrieveParams as JobCodeRetrieveParams,
|
|
460
|
+
type JobCodeUpdateParams as JobCodeUpdateParams,
|
|
461
|
+
type JobCodeListParams as JobCodeListParams,
|
|
462
|
+
type JobCodeListChangeLogParams as JobCodeListChangeLogParams,
|
|
463
|
+
};
|
|
464
|
+
}
|
|
465
|
+
|
|
466
|
+
export { type AttributeChangeDetailsPageCursorURL };
|
|
@@ -0,0 +1,201 @@
|
|
|
1
|
+
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
+
|
|
3
|
+
import { APIResource } from '../core/resource';
|
|
4
|
+
import * as BusinessPartnersAPI from './business-partners';
|
|
5
|
+
import { APIPromise } from '../core/api-promise';
|
|
6
|
+
import { PageCursorURL, PagePromise } from '../core/pagination';
|
|
7
|
+
import { buildHeaders } from '../internal/headers';
|
|
8
|
+
import { RequestOptions } from '../internal/request-options';
|
|
9
|
+
import { path } from '../internal/utils/path';
|
|
10
|
+
|
|
11
|
+
export class JobDimensions extends APIResource {
|
|
12
|
+
/**
|
|
13
|
+
* Create a new job dimension
|
|
14
|
+
*/
|
|
15
|
+
create(body: JobDimensionCreateParams, options?: RequestOptions): APIPromise<JobDimension> {
|
|
16
|
+
return this._client.post('/job-dimensions', { body, ...options });
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
/**
|
|
20
|
+
* Retrieve a specific job dimension
|
|
21
|
+
*/
|
|
22
|
+
retrieve(id: string, options?: RequestOptions): APIPromise<JobDimensionRetrieveResponse> {
|
|
23
|
+
return this._client.get(path`/job-dimensions/${id}`, options);
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
/**
|
|
27
|
+
* Updated a specific job dimension
|
|
28
|
+
*/
|
|
29
|
+
update(id: string, body: JobDimensionUpdateParams, options?: RequestOptions): APIPromise<JobDimension> {
|
|
30
|
+
return this._client.patch(path`/job-dimensions/${id}`, { body, ...options });
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
/**
|
|
34
|
+
* A List of job dimensions
|
|
35
|
+
*
|
|
36
|
+
* - Requires: `API Tier 2`
|
|
37
|
+
* - Filterable fields: `name`
|
|
38
|
+
* - Sortable fields: `id`, `created_at`, `updated_at`
|
|
39
|
+
*/
|
|
40
|
+
list(
|
|
41
|
+
query: JobDimensionListParams | null | undefined = {},
|
|
42
|
+
options?: RequestOptions,
|
|
43
|
+
): PagePromise<JobDimensionsPageCursorURL, JobDimension> {
|
|
44
|
+
return this._client.getAPIList('/job-dimensions', PageCursorURL<JobDimension>, { query, ...options });
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
/**
|
|
48
|
+
* Delete a job dimension
|
|
49
|
+
*/
|
|
50
|
+
delete(id: string, options?: RequestOptions): APIPromise<void> {
|
|
51
|
+
return this._client.delete(path`/job-dimensions/${id}`, {
|
|
52
|
+
...options,
|
|
53
|
+
headers: buildHeaders([{ Accept: '*/*' }, options?.headers]),
|
|
54
|
+
});
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
export type JobDimensionsPageCursorURL = PageCursorURL<JobDimension>;
|
|
59
|
+
|
|
60
|
+
export interface JobDimension {
|
|
61
|
+
/**
|
|
62
|
+
* Identifier field
|
|
63
|
+
*/
|
|
64
|
+
id: string;
|
|
65
|
+
|
|
66
|
+
/**
|
|
67
|
+
* Record creation date
|
|
68
|
+
*/
|
|
69
|
+
created_at: string;
|
|
70
|
+
|
|
71
|
+
/**
|
|
72
|
+
* The name of the job dimension
|
|
73
|
+
*/
|
|
74
|
+
name: string;
|
|
75
|
+
|
|
76
|
+
/**
|
|
77
|
+
* Record update date
|
|
78
|
+
*/
|
|
79
|
+
updated_at: string;
|
|
80
|
+
|
|
81
|
+
/**
|
|
82
|
+
* The unique identifier of the job dimension in a third party system
|
|
83
|
+
*/
|
|
84
|
+
external_id?: string;
|
|
85
|
+
|
|
86
|
+
/**
|
|
87
|
+
* The ID of the dimension roster group.
|
|
88
|
+
*/
|
|
89
|
+
group_id?: string;
|
|
90
|
+
|
|
91
|
+
/**
|
|
92
|
+
* Whether the job dimension includes codes related to a custom location. Only one
|
|
93
|
+
* dimension can have this set to true.
|
|
94
|
+
*/
|
|
95
|
+
includes_custom_location?: boolean;
|
|
96
|
+
|
|
97
|
+
/**
|
|
98
|
+
* The roster type of the dimension. PER_DIMENSION means that there is a group on
|
|
99
|
+
* the dimension level and employees within that group have access to all job codes
|
|
100
|
+
* in the dimension. PER_JOB_CODE means that each job code has its own group.
|
|
101
|
+
*/
|
|
102
|
+
roster_type?: 'PER_DIMENSION' | 'PER_JOB_CODE';
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
export interface JobDimensionRequest {
|
|
106
|
+
/**
|
|
107
|
+
* The name of the job dimension
|
|
108
|
+
*/
|
|
109
|
+
name: string;
|
|
110
|
+
|
|
111
|
+
/**
|
|
112
|
+
* The unique identifier of the job dimension in a third party system
|
|
113
|
+
*/
|
|
114
|
+
external_id?: string;
|
|
115
|
+
|
|
116
|
+
/**
|
|
117
|
+
* Whether the job dimension includes codes related to a custom location. Only one
|
|
118
|
+
* dimension can have this set to true.
|
|
119
|
+
*/
|
|
120
|
+
includes_custom_location?: boolean;
|
|
121
|
+
|
|
122
|
+
/**
|
|
123
|
+
* The roster type of the dimension. PER_DIMENSION means that there is a group on
|
|
124
|
+
* the dimension level and employees within that group have access to all job codes
|
|
125
|
+
* in the dimension. PER_JOB_CODE means that each job code has its own group.
|
|
126
|
+
*/
|
|
127
|
+
roster_type?: 'PER_DIMENSION' | 'PER_JOB_CODE';
|
|
128
|
+
}
|
|
129
|
+
|
|
130
|
+
/**
|
|
131
|
+
* Meta information for the response.
|
|
132
|
+
*/
|
|
133
|
+
export interface JobDimensionRetrieveResponse extends BusinessPartnersAPI.Meta, JobDimension {}
|
|
134
|
+
|
|
135
|
+
export interface JobDimensionCreateParams {
|
|
136
|
+
/**
|
|
137
|
+
* The name of the job dimension
|
|
138
|
+
*/
|
|
139
|
+
name: string;
|
|
140
|
+
|
|
141
|
+
/**
|
|
142
|
+
* The unique identifier of the job dimension in a third party system
|
|
143
|
+
*/
|
|
144
|
+
external_id?: string;
|
|
145
|
+
|
|
146
|
+
/**
|
|
147
|
+
* Whether the job dimension includes codes related to a custom location. Only one
|
|
148
|
+
* dimension can have this set to true.
|
|
149
|
+
*/
|
|
150
|
+
includes_custom_location?: boolean;
|
|
151
|
+
|
|
152
|
+
/**
|
|
153
|
+
* The roster type of the dimension. PER_DIMENSION means that there is a group on
|
|
154
|
+
* the dimension level and employees within that group have access to all job codes
|
|
155
|
+
* in the dimension. PER_JOB_CODE means that each job code has its own group.
|
|
156
|
+
*/
|
|
157
|
+
roster_type?: 'PER_DIMENSION' | 'PER_JOB_CODE';
|
|
158
|
+
}
|
|
159
|
+
|
|
160
|
+
export interface JobDimensionUpdateParams {
|
|
161
|
+
/**
|
|
162
|
+
* The name of the job dimension
|
|
163
|
+
*/
|
|
164
|
+
name: string;
|
|
165
|
+
|
|
166
|
+
/**
|
|
167
|
+
* The unique identifier of the job dimension in a third party system
|
|
168
|
+
*/
|
|
169
|
+
external_id?: string;
|
|
170
|
+
|
|
171
|
+
/**
|
|
172
|
+
* Whether the job dimension includes codes related to a custom location. Only one
|
|
173
|
+
* dimension can have this set to true.
|
|
174
|
+
*/
|
|
175
|
+
includes_custom_location?: boolean;
|
|
176
|
+
|
|
177
|
+
/**
|
|
178
|
+
* The roster type of the dimension. PER_DIMENSION means that there is a group on
|
|
179
|
+
* the dimension level and employees within that group have access to all job codes
|
|
180
|
+
* in the dimension. PER_JOB_CODE means that each job code has its own group.
|
|
181
|
+
*/
|
|
182
|
+
roster_type?: 'PER_DIMENSION' | 'PER_JOB_CODE';
|
|
183
|
+
}
|
|
184
|
+
|
|
185
|
+
export interface JobDimensionListParams {
|
|
186
|
+
filter?: string;
|
|
187
|
+
|
|
188
|
+
order_by?: string;
|
|
189
|
+
}
|
|
190
|
+
|
|
191
|
+
export declare namespace JobDimensions {
|
|
192
|
+
export {
|
|
193
|
+
type JobDimension as JobDimension,
|
|
194
|
+
type JobDimensionRequest as JobDimensionRequest,
|
|
195
|
+
type JobDimensionRetrieveResponse as JobDimensionRetrieveResponse,
|
|
196
|
+
type JobDimensionsPageCursorURL as JobDimensionsPageCursorURL,
|
|
197
|
+
type JobDimensionCreateParams as JobDimensionCreateParams,
|
|
198
|
+
type JobDimensionUpdateParams as JobDimensionUpdateParams,
|
|
199
|
+
type JobDimensionListParams as JobDimensionListParams,
|
|
200
|
+
};
|
|
201
|
+
}
|