@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
|
+
import { APIResource } from "../core/resource.js";
|
|
2
|
+
import * as BusinessPartnersAPI from "./business-partners.js";
|
|
3
|
+
import * as WorkersAPI from "./workers.js";
|
|
4
|
+
import { APIPromise } from "../core/api-promise.js";
|
|
5
|
+
import { PageCursorURL, PagePromise } from "../core/pagination.js";
|
|
6
|
+
import { RequestOptions } from "../internal/request-options.js";
|
|
7
|
+
export declare class Shiftassignments extends APIResource {
|
|
8
|
+
/**
|
|
9
|
+
* Retrieve a specific shift assignment
|
|
10
|
+
*/
|
|
11
|
+
retrieve(id: string, query?: ShiftassignmentRetrieveParams | null | undefined, options?: RequestOptions): APIPromise<ShiftassignmentRetrieveResponse>;
|
|
12
|
+
/**
|
|
13
|
+
* A List of shift assignments
|
|
14
|
+
*
|
|
15
|
+
* - Requires: `API Tier 2`
|
|
16
|
+
* - Filterable fields: `worker_id`, `schedule_id`, `shift_data.start_time`,
|
|
17
|
+
* `shift_data.end_time`
|
|
18
|
+
* - Expandable fields: `worker`, `schedule`
|
|
19
|
+
* - Sortable fields: `id`, `created_at`, `updated_at`
|
|
20
|
+
*/
|
|
21
|
+
list(query?: ShiftassignmentListParams | null | undefined, options?: RequestOptions): PagePromise<ShiftassignmentListResponsesPageCursorURL, ShiftassignmentListResponse>;
|
|
22
|
+
}
|
|
23
|
+
export type ShiftassignmentListResponsesPageCursorURL = PageCursorURL<ShiftassignmentListResponse>;
|
|
24
|
+
/**
|
|
25
|
+
* Meta information for the response.
|
|
26
|
+
*/
|
|
27
|
+
export interface ShiftassignmentRetrieveResponse extends BusinessPartnersAPI.Meta {
|
|
28
|
+
/**
|
|
29
|
+
* Identifier field
|
|
30
|
+
*/
|
|
31
|
+
id: string;
|
|
32
|
+
/**
|
|
33
|
+
* Whether the shift assignment can be edited
|
|
34
|
+
*/
|
|
35
|
+
can_edit: boolean;
|
|
36
|
+
/**
|
|
37
|
+
* Record creation date
|
|
38
|
+
*/
|
|
39
|
+
created_at: string;
|
|
40
|
+
/**
|
|
41
|
+
* Whether the shift assignment is published. If true, the published_version will
|
|
42
|
+
* be the same as the shift_data
|
|
43
|
+
*/
|
|
44
|
+
is_published: boolean;
|
|
45
|
+
/**
|
|
46
|
+
* Record update date
|
|
47
|
+
*/
|
|
48
|
+
updated_at: string;
|
|
49
|
+
/**
|
|
50
|
+
* The published version of the shift assignment, if it exists. If filled but
|
|
51
|
+
* is_published is false, the shift_data is the latest version.
|
|
52
|
+
*/
|
|
53
|
+
published_version?: ShiftassignmentRetrieveResponse.PublishedVersion;
|
|
54
|
+
/**
|
|
55
|
+
* The schedule
|
|
56
|
+
*
|
|
57
|
+
* Expandable field
|
|
58
|
+
*/
|
|
59
|
+
schedule?: ShiftassignmentRetrieveResponse.Schedule;
|
|
60
|
+
/**
|
|
61
|
+
* The ID of the schedule
|
|
62
|
+
*/
|
|
63
|
+
schedule_id?: string;
|
|
64
|
+
/**
|
|
65
|
+
* The data of the shift
|
|
66
|
+
*/
|
|
67
|
+
shift_data?: ShiftassignmentRetrieveResponse.ShiftData;
|
|
68
|
+
/**
|
|
69
|
+
* The worker
|
|
70
|
+
*
|
|
71
|
+
* Expandable field
|
|
72
|
+
*/
|
|
73
|
+
worker?: WorkersAPI.Worker;
|
|
74
|
+
/**
|
|
75
|
+
* The ID of the worker
|
|
76
|
+
*/
|
|
77
|
+
worker_id?: string;
|
|
78
|
+
}
|
|
79
|
+
export declare namespace ShiftassignmentRetrieveResponse {
|
|
80
|
+
/**
|
|
81
|
+
* The published version of the shift assignment, if it exists. If filled but
|
|
82
|
+
* is_published is false, the shift_data is the latest version.
|
|
83
|
+
*/
|
|
84
|
+
interface PublishedVersion {
|
|
85
|
+
/**
|
|
86
|
+
* The end time of the shift
|
|
87
|
+
*/
|
|
88
|
+
end_time: string;
|
|
89
|
+
/**
|
|
90
|
+
* The breaks of the shift
|
|
91
|
+
*/
|
|
92
|
+
shift_breaks: Array<PublishedVersion.ShiftBreak>;
|
|
93
|
+
/**
|
|
94
|
+
* The segments of the shift
|
|
95
|
+
*/
|
|
96
|
+
shift_segments: Array<PublishedVersion.ShiftSegment>;
|
|
97
|
+
/**
|
|
98
|
+
* The start time of the shift
|
|
99
|
+
*/
|
|
100
|
+
start_time: string;
|
|
101
|
+
}
|
|
102
|
+
namespace PublishedVersion {
|
|
103
|
+
interface ShiftBreak {
|
|
104
|
+
/**
|
|
105
|
+
* The end time of the shift break
|
|
106
|
+
*/
|
|
107
|
+
end_time: string;
|
|
108
|
+
/**
|
|
109
|
+
* The start time of the shift break
|
|
110
|
+
*/
|
|
111
|
+
start_time: string;
|
|
112
|
+
/**
|
|
113
|
+
* The type of the shift break
|
|
114
|
+
*/
|
|
115
|
+
type: string;
|
|
116
|
+
}
|
|
117
|
+
interface ShiftSegment {
|
|
118
|
+
/**
|
|
119
|
+
* The end time of the shift segment
|
|
120
|
+
*/
|
|
121
|
+
end_time: string;
|
|
122
|
+
/**
|
|
123
|
+
* The start time of the shift segment
|
|
124
|
+
*/
|
|
125
|
+
start_time: string;
|
|
126
|
+
/**
|
|
127
|
+
* The IDs of the job codes associated with the shift segment
|
|
128
|
+
*/
|
|
129
|
+
job_codes_id?: Array<string>;
|
|
130
|
+
}
|
|
131
|
+
}
|
|
132
|
+
/**
|
|
133
|
+
* The schedule
|
|
134
|
+
*
|
|
135
|
+
* Expandable field
|
|
136
|
+
*/
|
|
137
|
+
interface Schedule {
|
|
138
|
+
/**
|
|
139
|
+
* Identifier field
|
|
140
|
+
*/
|
|
141
|
+
id: string;
|
|
142
|
+
/**
|
|
143
|
+
* Record creation date
|
|
144
|
+
*/
|
|
145
|
+
created_at: string;
|
|
146
|
+
/**
|
|
147
|
+
* Record update date
|
|
148
|
+
*/
|
|
149
|
+
updated_at: string;
|
|
150
|
+
/**
|
|
151
|
+
* Whether the requesting role can edit the schedule.
|
|
152
|
+
*/
|
|
153
|
+
can_edit?: boolean;
|
|
154
|
+
/**
|
|
155
|
+
* The managers of the schedule.
|
|
156
|
+
*
|
|
157
|
+
* Expandable field
|
|
158
|
+
*/
|
|
159
|
+
managers?: Array<WorkersAPI.Worker>;
|
|
160
|
+
/**
|
|
161
|
+
* The IDs of the managers of the schedule.
|
|
162
|
+
*/
|
|
163
|
+
managers_id?: Array<string>;
|
|
164
|
+
/**
|
|
165
|
+
* The members of the schedule.
|
|
166
|
+
*
|
|
167
|
+
* Expandable field
|
|
168
|
+
*/
|
|
169
|
+
members?: Array<WorkersAPI.Worker>;
|
|
170
|
+
/**
|
|
171
|
+
* The IDs of the members of the schedule.
|
|
172
|
+
*/
|
|
173
|
+
members_id?: Array<string>;
|
|
174
|
+
/**
|
|
175
|
+
* The name of the schedule.
|
|
176
|
+
*/
|
|
177
|
+
name?: string;
|
|
178
|
+
/**
|
|
179
|
+
* The observers of the schedule.
|
|
180
|
+
*
|
|
181
|
+
* Expandable field
|
|
182
|
+
*/
|
|
183
|
+
observers?: Array<WorkersAPI.Worker>;
|
|
184
|
+
/**
|
|
185
|
+
* The IDs of the observers of the schedule.
|
|
186
|
+
*/
|
|
187
|
+
observers_id?: Array<string>;
|
|
188
|
+
}
|
|
189
|
+
/**
|
|
190
|
+
* The data of the shift
|
|
191
|
+
*/
|
|
192
|
+
interface ShiftData {
|
|
193
|
+
/**
|
|
194
|
+
* The end time of the shift
|
|
195
|
+
*/
|
|
196
|
+
end_time: string;
|
|
197
|
+
/**
|
|
198
|
+
* The breaks of the shift
|
|
199
|
+
*/
|
|
200
|
+
shift_breaks: Array<ShiftData.ShiftBreak>;
|
|
201
|
+
/**
|
|
202
|
+
* The segments of the shift
|
|
203
|
+
*/
|
|
204
|
+
shift_segments: Array<ShiftData.ShiftSegment>;
|
|
205
|
+
/**
|
|
206
|
+
* The start time of the shift
|
|
207
|
+
*/
|
|
208
|
+
start_time: string;
|
|
209
|
+
}
|
|
210
|
+
namespace ShiftData {
|
|
211
|
+
interface ShiftBreak {
|
|
212
|
+
/**
|
|
213
|
+
* The end time of the shift break
|
|
214
|
+
*/
|
|
215
|
+
end_time: string;
|
|
216
|
+
/**
|
|
217
|
+
* The start time of the shift break
|
|
218
|
+
*/
|
|
219
|
+
start_time: string;
|
|
220
|
+
/**
|
|
221
|
+
* The type of the shift break
|
|
222
|
+
*/
|
|
223
|
+
type: string;
|
|
224
|
+
}
|
|
225
|
+
interface ShiftSegment {
|
|
226
|
+
/**
|
|
227
|
+
* The end time of the shift segment
|
|
228
|
+
*/
|
|
229
|
+
end_time: string;
|
|
230
|
+
/**
|
|
231
|
+
* The start time of the shift segment
|
|
232
|
+
*/
|
|
233
|
+
start_time: string;
|
|
234
|
+
/**
|
|
235
|
+
* The IDs of the job codes associated with the shift segment
|
|
236
|
+
*/
|
|
237
|
+
job_codes_id?: Array<string>;
|
|
238
|
+
}
|
|
239
|
+
}
|
|
240
|
+
}
|
|
241
|
+
export interface ShiftassignmentListResponse {
|
|
242
|
+
/**
|
|
243
|
+
* Identifier field
|
|
244
|
+
*/
|
|
245
|
+
id: string;
|
|
246
|
+
/**
|
|
247
|
+
* Whether the shift assignment can be edited
|
|
248
|
+
*/
|
|
249
|
+
can_edit: boolean;
|
|
250
|
+
/**
|
|
251
|
+
* Record creation date
|
|
252
|
+
*/
|
|
253
|
+
created_at: string;
|
|
254
|
+
/**
|
|
255
|
+
* Whether the shift assignment is published. If true, the published_version will
|
|
256
|
+
* be the same as the shift_data
|
|
257
|
+
*/
|
|
258
|
+
is_published: boolean;
|
|
259
|
+
/**
|
|
260
|
+
* Record update date
|
|
261
|
+
*/
|
|
262
|
+
updated_at: string;
|
|
263
|
+
/**
|
|
264
|
+
* The published version of the shift assignment, if it exists. If filled but
|
|
265
|
+
* is_published is false, the shift_data is the latest version.
|
|
266
|
+
*/
|
|
267
|
+
published_version?: ShiftassignmentListResponse.PublishedVersion;
|
|
268
|
+
/**
|
|
269
|
+
* The schedule
|
|
270
|
+
*
|
|
271
|
+
* Expandable field
|
|
272
|
+
*/
|
|
273
|
+
schedule?: ShiftassignmentListResponse.Schedule;
|
|
274
|
+
/**
|
|
275
|
+
* The ID of the schedule
|
|
276
|
+
*/
|
|
277
|
+
schedule_id?: string;
|
|
278
|
+
/**
|
|
279
|
+
* The data of the shift
|
|
280
|
+
*/
|
|
281
|
+
shift_data?: ShiftassignmentListResponse.ShiftData;
|
|
282
|
+
/**
|
|
283
|
+
* The worker
|
|
284
|
+
*
|
|
285
|
+
* Expandable field
|
|
286
|
+
*/
|
|
287
|
+
worker?: WorkersAPI.Worker;
|
|
288
|
+
/**
|
|
289
|
+
* The ID of the worker
|
|
290
|
+
*/
|
|
291
|
+
worker_id?: string;
|
|
292
|
+
}
|
|
293
|
+
export declare namespace ShiftassignmentListResponse {
|
|
294
|
+
/**
|
|
295
|
+
* The published version of the shift assignment, if it exists. If filled but
|
|
296
|
+
* is_published is false, the shift_data is the latest version.
|
|
297
|
+
*/
|
|
298
|
+
interface PublishedVersion {
|
|
299
|
+
/**
|
|
300
|
+
* The end time of the shift
|
|
301
|
+
*/
|
|
302
|
+
end_time: string;
|
|
303
|
+
/**
|
|
304
|
+
* The breaks of the shift
|
|
305
|
+
*/
|
|
306
|
+
shift_breaks: Array<PublishedVersion.ShiftBreak>;
|
|
307
|
+
/**
|
|
308
|
+
* The segments of the shift
|
|
309
|
+
*/
|
|
310
|
+
shift_segments: Array<PublishedVersion.ShiftSegment>;
|
|
311
|
+
/**
|
|
312
|
+
* The start time of the shift
|
|
313
|
+
*/
|
|
314
|
+
start_time: string;
|
|
315
|
+
}
|
|
316
|
+
namespace PublishedVersion {
|
|
317
|
+
interface ShiftBreak {
|
|
318
|
+
/**
|
|
319
|
+
* The end time of the shift break
|
|
320
|
+
*/
|
|
321
|
+
end_time: string;
|
|
322
|
+
/**
|
|
323
|
+
* The start time of the shift break
|
|
324
|
+
*/
|
|
325
|
+
start_time: string;
|
|
326
|
+
/**
|
|
327
|
+
* The type of the shift break
|
|
328
|
+
*/
|
|
329
|
+
type: string;
|
|
330
|
+
}
|
|
331
|
+
interface ShiftSegment {
|
|
332
|
+
/**
|
|
333
|
+
* The end time of the shift segment
|
|
334
|
+
*/
|
|
335
|
+
end_time: string;
|
|
336
|
+
/**
|
|
337
|
+
* The start time of the shift segment
|
|
338
|
+
*/
|
|
339
|
+
start_time: string;
|
|
340
|
+
/**
|
|
341
|
+
* The IDs of the job codes associated with the shift segment
|
|
342
|
+
*/
|
|
343
|
+
job_codes_id?: Array<string>;
|
|
344
|
+
}
|
|
345
|
+
}
|
|
346
|
+
/**
|
|
347
|
+
* The schedule
|
|
348
|
+
*
|
|
349
|
+
* Expandable field
|
|
350
|
+
*/
|
|
351
|
+
interface Schedule {
|
|
352
|
+
/**
|
|
353
|
+
* Identifier field
|
|
354
|
+
*/
|
|
355
|
+
id: string;
|
|
356
|
+
/**
|
|
357
|
+
* Record creation date
|
|
358
|
+
*/
|
|
359
|
+
created_at: string;
|
|
360
|
+
/**
|
|
361
|
+
* Record update date
|
|
362
|
+
*/
|
|
363
|
+
updated_at: string;
|
|
364
|
+
/**
|
|
365
|
+
* Whether the requesting role can edit the schedule.
|
|
366
|
+
*/
|
|
367
|
+
can_edit?: boolean;
|
|
368
|
+
/**
|
|
369
|
+
* The managers of the schedule.
|
|
370
|
+
*
|
|
371
|
+
* Expandable field
|
|
372
|
+
*/
|
|
373
|
+
managers?: Array<WorkersAPI.Worker>;
|
|
374
|
+
/**
|
|
375
|
+
* The IDs of the managers of the schedule.
|
|
376
|
+
*/
|
|
377
|
+
managers_id?: Array<string>;
|
|
378
|
+
/**
|
|
379
|
+
* The members of the schedule.
|
|
380
|
+
*
|
|
381
|
+
* Expandable field
|
|
382
|
+
*/
|
|
383
|
+
members?: Array<WorkersAPI.Worker>;
|
|
384
|
+
/**
|
|
385
|
+
* The IDs of the members of the schedule.
|
|
386
|
+
*/
|
|
387
|
+
members_id?: Array<string>;
|
|
388
|
+
/**
|
|
389
|
+
* The name of the schedule.
|
|
390
|
+
*/
|
|
391
|
+
name?: string;
|
|
392
|
+
/**
|
|
393
|
+
* The observers of the schedule.
|
|
394
|
+
*
|
|
395
|
+
* Expandable field
|
|
396
|
+
*/
|
|
397
|
+
observers?: Array<WorkersAPI.Worker>;
|
|
398
|
+
/**
|
|
399
|
+
* The IDs of the observers of the schedule.
|
|
400
|
+
*/
|
|
401
|
+
observers_id?: Array<string>;
|
|
402
|
+
}
|
|
403
|
+
/**
|
|
404
|
+
* The data of the shift
|
|
405
|
+
*/
|
|
406
|
+
interface ShiftData {
|
|
407
|
+
/**
|
|
408
|
+
* The end time of the shift
|
|
409
|
+
*/
|
|
410
|
+
end_time: string;
|
|
411
|
+
/**
|
|
412
|
+
* The breaks of the shift
|
|
413
|
+
*/
|
|
414
|
+
shift_breaks: Array<ShiftData.ShiftBreak>;
|
|
415
|
+
/**
|
|
416
|
+
* The segments of the shift
|
|
417
|
+
*/
|
|
418
|
+
shift_segments: Array<ShiftData.ShiftSegment>;
|
|
419
|
+
/**
|
|
420
|
+
* The start time of the shift
|
|
421
|
+
*/
|
|
422
|
+
start_time: string;
|
|
423
|
+
}
|
|
424
|
+
namespace ShiftData {
|
|
425
|
+
interface ShiftBreak {
|
|
426
|
+
/**
|
|
427
|
+
* The end time of the shift break
|
|
428
|
+
*/
|
|
429
|
+
end_time: string;
|
|
430
|
+
/**
|
|
431
|
+
* The start time of the shift break
|
|
432
|
+
*/
|
|
433
|
+
start_time: string;
|
|
434
|
+
/**
|
|
435
|
+
* The type of the shift break
|
|
436
|
+
*/
|
|
437
|
+
type: string;
|
|
438
|
+
}
|
|
439
|
+
interface ShiftSegment {
|
|
440
|
+
/**
|
|
441
|
+
* The end time of the shift segment
|
|
442
|
+
*/
|
|
443
|
+
end_time: string;
|
|
444
|
+
/**
|
|
445
|
+
* The start time of the shift segment
|
|
446
|
+
*/
|
|
447
|
+
start_time: string;
|
|
448
|
+
/**
|
|
449
|
+
* The IDs of the job codes associated with the shift segment
|
|
450
|
+
*/
|
|
451
|
+
job_codes_id?: Array<string>;
|
|
452
|
+
}
|
|
453
|
+
}
|
|
454
|
+
}
|
|
455
|
+
export interface ShiftassignmentRetrieveParams {
|
|
456
|
+
expand?: string;
|
|
457
|
+
}
|
|
458
|
+
export interface ShiftassignmentListParams {
|
|
459
|
+
expand?: string;
|
|
460
|
+
filter?: string;
|
|
461
|
+
order_by?: string;
|
|
462
|
+
}
|
|
463
|
+
export declare namespace Shiftassignments {
|
|
464
|
+
export { type ShiftassignmentRetrieveResponse as ShiftassignmentRetrieveResponse, type ShiftassignmentListResponse as ShiftassignmentListResponse, type ShiftassignmentListResponsesPageCursorURL as ShiftassignmentListResponsesPageCursorURL, type ShiftassignmentRetrieveParams as ShiftassignmentRetrieveParams, type ShiftassignmentListParams as ShiftassignmentListParams, };
|
|
465
|
+
}
|
|
466
|
+
//# sourceMappingURL=shiftassignments.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"shiftassignments.d.ts","sourceRoot":"","sources":["../src/resources/shiftassignments.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,mBAAmB;OACxB,KAAK,UAAU;OACf,EAAE,UAAU,EAAE;OACd,EAAE,aAAa,EAAE,WAAW,EAAE;OAC9B,EAAE,cAAc,EAAE;AAGzB,qBAAa,gBAAiB,SAAQ,WAAW;IAC/C;;OAEG;IACH,QAAQ,CACN,EAAE,EAAE,MAAM,EACV,KAAK,GAAE,6BAA6B,GAAG,IAAI,GAAG,SAAc,EAC5D,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,+BAA+B,CAAC;IAI9C;;;;;;;;OAQG;IACH,IAAI,CACF,KAAK,GAAE,yBAAyB,GAAG,IAAI,GAAG,SAAc,EACxD,OAAO,CAAC,EAAE,cAAc,GACvB,WAAW,CAAC,yCAAyC,EAAE,2BAA2B,CAAC;CAMvF;AAED,MAAM,MAAM,yCAAyC,GAAG,aAAa,CAAC,2BAA2B,CAAC,CAAC;AAEnG;;GAEG;AACH,MAAM,WAAW,+BAAgC,SAAQ,mBAAmB,CAAC,IAAI;IAC/E;;OAEG;IACH,EAAE,EAAE,MAAM,CAAC;IAEX;;OAEG;IACH,QAAQ,EAAE,OAAO,CAAC;IAElB;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC;IAEnB;;;OAGG;IACH,YAAY,EAAE,OAAO,CAAC;IAEtB;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC;IAEnB;;;OAGG;IACH,iBAAiB,CAAC,EAAE,+BAA+B,CAAC,gBAAgB,CAAC;IAErE;;;;OAIG;IACH,QAAQ,CAAC,EAAE,+BAA+B,CAAC,QAAQ,CAAC;IAEpD;;OA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EAAE,MAAM,CAAC;CACjB;AAED,MAAM,WAAW,yBAAyB;IACxC,MAAM,CAAC,EAAE,MAAM,CAAC;IAEhB,MAAM,CAAC,EAAE,MAAM,CAAC;IAEhB,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB;AAED,MAAM,CAAC,OAAO,WAAW,gBAAgB,CAAC;IACxC,OAAO,EACL,KAAK,+BAA+B,IAAI,+BAA+B,EACvE,KAAK,2BAA2B,IAAI,2BAA2B,EAC/D,KAAK,yCAAyC,IAAI,yCAAyC,EAC3F,KAAK,6BAA6B,IAAI,6BAA6B,EACnE,KAAK,yBAAyB,IAAI,yBAAyB,GAC5D,CAAC;CACH"}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
3
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
+
exports.Shiftassignments = void 0;
|
|
5
|
+
const resource_1 = require("../core/resource.js");
|
|
6
|
+
const pagination_1 = require("../core/pagination.js");
|
|
7
|
+
const path_1 = require("../internal/utils/path.js");
|
|
8
|
+
class Shiftassignments extends resource_1.APIResource {
|
|
9
|
+
/**
|
|
10
|
+
* Retrieve a specific shift assignment
|
|
11
|
+
*/
|
|
12
|
+
retrieve(id, query = {}, options) {
|
|
13
|
+
return this._client.get((0, path_1.path) `/shiftassignments/${id}`, { query, ...options });
|
|
14
|
+
}
|
|
15
|
+
/**
|
|
16
|
+
* A List of shift assignments
|
|
17
|
+
*
|
|
18
|
+
* - Requires: `API Tier 2`
|
|
19
|
+
* - Filterable fields: `worker_id`, `schedule_id`, `shift_data.start_time`,
|
|
20
|
+
* `shift_data.end_time`
|
|
21
|
+
* - Expandable fields: `worker`, `schedule`
|
|
22
|
+
* - Sortable fields: `id`, `created_at`, `updated_at`
|
|
23
|
+
*/
|
|
24
|
+
list(query = {}, options) {
|
|
25
|
+
return this._client.getAPIList('/shiftassignments', (pagination_1.PageCursorURL), {
|
|
26
|
+
query,
|
|
27
|
+
...options,
|
|
28
|
+
});
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
exports.Shiftassignments = Shiftassignments;
|
|
32
|
+
//# sourceMappingURL=shiftassignments.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"shiftassignments.js","sourceRoot":"","sources":["../src/resources/shiftassignments.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,kDAA+C;AAI/C,sDAAgE;AAEhE,oDAA8C;AAE9C,MAAa,gBAAiB,SAAQ,sBAAW;IAC/C;;OAEG;IACH,QAAQ,CACN,EAAU,EACV,QAA0D,EAAE,EAC5D,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAA,WAAI,EAAA,qBAAqB,EAAE,EAAE,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAChF,CAAC;IAED;;;;;;;;OAQG;IACH,IAAI,CACF,QAAsD,EAAE,EACxD,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,UAAU,CAAC,mBAAmB,EAAE,CAAA,0BAA0C,CAAA,EAAE;YAC9F,KAAK;YACL,GAAG,OAAO;SACX,CAAC,CAAC;IACL,CAAC;CACF;AA9BD,4CA8BC"}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
+
import { APIResource } from "../core/resource.mjs";
|
|
3
|
+
import { PageCursorURL } from "../core/pagination.mjs";
|
|
4
|
+
import { path } from "../internal/utils/path.mjs";
|
|
5
|
+
export class Shiftassignments extends APIResource {
|
|
6
|
+
/**
|
|
7
|
+
* Retrieve a specific shift assignment
|
|
8
|
+
*/
|
|
9
|
+
retrieve(id, query = {}, options) {
|
|
10
|
+
return this._client.get(path `/shiftassignments/${id}`, { query, ...options });
|
|
11
|
+
}
|
|
12
|
+
/**
|
|
13
|
+
* A List of shift assignments
|
|
14
|
+
*
|
|
15
|
+
* - Requires: `API Tier 2`
|
|
16
|
+
* - Filterable fields: `worker_id`, `schedule_id`, `shift_data.start_time`,
|
|
17
|
+
* `shift_data.end_time`
|
|
18
|
+
* - Expandable fields: `worker`, `schedule`
|
|
19
|
+
* - Sortable fields: `id`, `created_at`, `updated_at`
|
|
20
|
+
*/
|
|
21
|
+
list(query = {}, options) {
|
|
22
|
+
return this._client.getAPIList('/shiftassignments', (PageCursorURL), {
|
|
23
|
+
query,
|
|
24
|
+
...options,
|
|
25
|
+
});
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
//# sourceMappingURL=shiftassignments.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"shiftassignments.mjs","sourceRoot":"","sources":["../src/resources/shiftassignments.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;OAIf,EAAE,aAAa,EAAe;OAE9B,EAAE,IAAI,EAAE;AAEf,MAAM,OAAO,gBAAiB,SAAQ,WAAW;IAC/C;;OAEG;IACH,QAAQ,CACN,EAAU,EACV,QAA0D,EAAE,EAC5D,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAI,CAAA,qBAAqB,EAAE,EAAE,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAChF,CAAC;IAED;;;;;;;;OAQG;IACH,IAAI,CACF,QAAsD,EAAE,EACxD,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,UAAU,CAAC,mBAAmB,EAAE,CAAA,aAA0C,CAAA,EAAE;YAC9F,KAAK;YACL,GAAG,OAAO;SACX,CAAC,CAAC;IACL,CAAC;CACF"}
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
import { APIResource } from "../core/resource.mjs";
|
|
2
|
+
import * as CompaniesAPI from "./companies.mjs";
|
|
3
|
+
import { APIPromise } from "../core/api-promise.mjs";
|
|
4
|
+
import { RequestOptions } from "../internal/request-options.mjs";
|
|
5
|
+
export declare class SSOMeResource extends APIResource {
|
|
6
|
+
/**
|
|
7
|
+
* SSO information of the current user
|
|
8
|
+
*
|
|
9
|
+
* - Requires: `API Tier 1`
|
|
10
|
+
* - Expandable fields: `company`
|
|
11
|
+
*/
|
|
12
|
+
retrieve(query?: SSOMeRetrieveParams | null | undefined, options?: RequestOptions): APIPromise<SSOMe>;
|
|
13
|
+
}
|
|
14
|
+
export interface SSOMe {
|
|
15
|
+
/**
|
|
16
|
+
* Identifier field
|
|
17
|
+
*/
|
|
18
|
+
id: string;
|
|
19
|
+
/**
|
|
20
|
+
* Record creation date
|
|
21
|
+
*/
|
|
22
|
+
created_at: string;
|
|
23
|
+
/**
|
|
24
|
+
* Record update date
|
|
25
|
+
*/
|
|
26
|
+
updated_at: string;
|
|
27
|
+
/**
|
|
28
|
+
* The company of the user.
|
|
29
|
+
*
|
|
30
|
+
* Expandable field
|
|
31
|
+
*/
|
|
32
|
+
company?: CompaniesAPI.Company;
|
|
33
|
+
/**
|
|
34
|
+
* The company ID of the user.
|
|
35
|
+
*/
|
|
36
|
+
company_id?: string;
|
|
37
|
+
/**
|
|
38
|
+
* The user's work email address.
|
|
39
|
+
*/
|
|
40
|
+
work_email?: string;
|
|
41
|
+
}
|
|
42
|
+
export interface SSOMeRetrieveParams {
|
|
43
|
+
expand?: string;
|
|
44
|
+
}
|
|
45
|
+
export declare namespace SSOMeResource {
|
|
46
|
+
export { type SSOMe as SSOMe, type SSOMeRetrieveParams as SSOMeRetrieveParams };
|
|
47
|
+
}
|
|
48
|
+
//# sourceMappingURL=sso-me.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sso-me.d.mts","sourceRoot":"","sources":["../src/resources/sso-me.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,YAAY;OACjB,EAAE,UAAU,EAAE;OACd,EAAE,cAAc,EAAE;AAEzB,qBAAa,aAAc,SAAQ,WAAW;IAC5C;;;;;OAKG;IACH,QAAQ,CAAC,KAAK,GAAE,mBAAmB,GAAG,IAAI,GAAG,SAAc,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,KAAK,CAAC;CAG1G;AAED,MAAM,WAAW,KAAK;IACpB;;OAEG;IACH,EAAE,EAAE,MAAM,CAAC;IAEX;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC;IAEnB;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC;IAEnB;;;;OAIG;IACH,OAAO,CAAC,EAAE,YAAY,CAAC,OAAO,CAAC;IAE/B;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;IAEpB;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB;AAED,MAAM,WAAW,mBAAmB;IAClC,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AAED,MAAM,CAAC,OAAO,WAAW,aAAa,CAAC;IACrC,OAAO,EAAE,KAAK,KAAK,IAAI,KAAK,EAAE,KAAK,mBAAmB,IAAI,mBAAmB,EAAE,CAAC;CACjF"}
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
import { APIResource } from "../core/resource.js";
|
|
2
|
+
import * as CompaniesAPI from "./companies.js";
|
|
3
|
+
import { APIPromise } from "../core/api-promise.js";
|
|
4
|
+
import { RequestOptions } from "../internal/request-options.js";
|
|
5
|
+
export declare class SSOMeResource extends APIResource {
|
|
6
|
+
/**
|
|
7
|
+
* SSO information of the current user
|
|
8
|
+
*
|
|
9
|
+
* - Requires: `API Tier 1`
|
|
10
|
+
* - Expandable fields: `company`
|
|
11
|
+
*/
|
|
12
|
+
retrieve(query?: SSOMeRetrieveParams | null | undefined, options?: RequestOptions): APIPromise<SSOMe>;
|
|
13
|
+
}
|
|
14
|
+
export interface SSOMe {
|
|
15
|
+
/**
|
|
16
|
+
* Identifier field
|
|
17
|
+
*/
|
|
18
|
+
id: string;
|
|
19
|
+
/**
|
|
20
|
+
* Record creation date
|
|
21
|
+
*/
|
|
22
|
+
created_at: string;
|
|
23
|
+
/**
|
|
24
|
+
* Record update date
|
|
25
|
+
*/
|
|
26
|
+
updated_at: string;
|
|
27
|
+
/**
|
|
28
|
+
* The company of the user.
|
|
29
|
+
*
|
|
30
|
+
* Expandable field
|
|
31
|
+
*/
|
|
32
|
+
company?: CompaniesAPI.Company;
|
|
33
|
+
/**
|
|
34
|
+
* The company ID of the user.
|
|
35
|
+
*/
|
|
36
|
+
company_id?: string;
|
|
37
|
+
/**
|
|
38
|
+
* The user's work email address.
|
|
39
|
+
*/
|
|
40
|
+
work_email?: string;
|
|
41
|
+
}
|
|
42
|
+
export interface SSOMeRetrieveParams {
|
|
43
|
+
expand?: string;
|
|
44
|
+
}
|
|
45
|
+
export declare namespace SSOMeResource {
|
|
46
|
+
export { type SSOMe as SSOMe, type SSOMeRetrieveParams as SSOMeRetrieveParams };
|
|
47
|
+
}
|
|
48
|
+
//# sourceMappingURL=sso-me.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sso-me.d.ts","sourceRoot":"","sources":["../src/resources/sso-me.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,YAAY;OACjB,EAAE,UAAU,EAAE;OACd,EAAE,cAAc,EAAE;AAEzB,qBAAa,aAAc,SAAQ,WAAW;IAC5C;;;;;OAKG;IACH,QAAQ,CAAC,KAAK,GAAE,mBAAmB,GAAG,IAAI,GAAG,SAAc,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,KAAK,CAAC;CAG1G;AAED,MAAM,WAAW,KAAK;IACpB;;OAEG;IACH,EAAE,EAAE,MAAM,CAAC;IAEX;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC;IAEnB;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC;IAEnB;;;;OAIG;IACH,OAAO,CAAC,EAAE,YAAY,CAAC,OAAO,CAAC;IAE/B;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;IAEpB;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB;AAED,MAAM,WAAW,mBAAmB;IAClC,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AAED,MAAM,CAAC,OAAO,WAAW,aAAa,CAAC;IACrC,OAAO,EAAE,KAAK,KAAK,IAAI,KAAK,EAAE,KAAK,mBAAmB,IAAI,mBAAmB,EAAE,CAAC;CACjF"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
3
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
+
exports.SSOMeResource = void 0;
|
|
5
|
+
const resource_1 = require("../core/resource.js");
|
|
6
|
+
class SSOMeResource extends resource_1.APIResource {
|
|
7
|
+
/**
|
|
8
|
+
* SSO information of the current user
|
|
9
|
+
*
|
|
10
|
+
* - Requires: `API Tier 1`
|
|
11
|
+
* - Expandable fields: `company`
|
|
12
|
+
*/
|
|
13
|
+
retrieve(query = {}, options) {
|
|
14
|
+
return this._client.get('/sso-me', { query, ...options });
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
exports.SSOMeResource = SSOMeResource;
|
|
18
|
+
//# sourceMappingURL=sso-me.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sso-me.js","sourceRoot":"","sources":["../src/resources/sso-me.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,kDAA+C;AAK/C,MAAa,aAAc,SAAQ,sBAAW;IAC5C;;;;;OAKG;IACH,QAAQ,CAAC,QAAgD,EAAE,EAAE,OAAwB;QACnF,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,SAAS,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC5D,CAAC;CACF;AAVD,sCAUC"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
+
import { APIResource } from "../core/resource.mjs";
|
|
3
|
+
export class SSOMeResource extends APIResource {
|
|
4
|
+
/**
|
|
5
|
+
* SSO information of the current user
|
|
6
|
+
*
|
|
7
|
+
* - Requires: `API Tier 1`
|
|
8
|
+
* - Expandable fields: `company`
|
|
9
|
+
*/
|
|
10
|
+
retrieve(query = {}, options) {
|
|
11
|
+
return this._client.get('/sso-me', { query, ...options });
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
//# sourceMappingURL=sso-me.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sso-me.mjs","sourceRoot":"","sources":["../src/resources/sso-me.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;AAKtB,MAAM,OAAO,aAAc,SAAQ,WAAW;IAC5C;;;;;OAKG;IACH,QAAQ,CAAC,QAAgD,EAAE,EAAE,OAAwB;QACnF,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,SAAS,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC5D,CAAC;CACF"}
|