@rippling/rippling-sdk 0.2.0-alpha.100
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 +3 -0
- package/api-promise.d.mts.map +1 -0
- package/api-promise.d.ts +3 -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 +3 -0
- package/api-promise.mjs.map +1 -0
- package/client.d.mts +779 -0
- package/client.d.mts.map +1 -0
- package/client.d.ts +779 -0
- package/client.d.ts.map +1 -0
- package/client.js +1083 -0
- package/client.js.map +1 -0
- package/client.mjs +1079 -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/platform/custom-objects/category.d.mts +125 -0
- package/core/platform/custom-objects/category.d.mts.map +1 -0
- package/core/platform/custom-objects/category.d.ts +125 -0
- package/core/platform/custom-objects/category.d.ts.map +1 -0
- package/core/platform/custom-objects/category.js +188 -0
- package/core/platform/custom-objects/category.js.map +1 -0
- package/core/platform/custom-objects/category.mjs +178 -0
- package/core/platform/custom-objects/category.mjs.map +1 -0
- package/core/platform/custom-objects/definition.d.mts +147 -0
- package/core/platform/custom-objects/definition.d.mts.map +1 -0
- package/core/platform/custom-objects/definition.d.ts +147 -0
- package/core/platform/custom-objects/definition.d.ts.map +1 -0
- package/core/platform/custom-objects/definition.js +200 -0
- package/core/platform/custom-objects/definition.js.map +1 -0
- package/core/platform/custom-objects/definition.mjs +190 -0
- package/core/platform/custom-objects/definition.mjs.map +1 -0
- package/core/platform/custom-objects/fields.d.mts +302 -0
- package/core/platform/custom-objects/fields.d.mts.map +1 -0
- package/core/platform/custom-objects/fields.d.ts +302 -0
- package/core/platform/custom-objects/fields.d.ts.map +1 -0
- package/core/platform/custom-objects/fields.js +369 -0
- package/core/platform/custom-objects/fields.js.map +1 -0
- package/core/platform/custom-objects/fields.mjs +347 -0
- package/core/platform/custom-objects/fields.mjs.map +1 -0
- package/core/platform/custom-objects/function-runtime.d.mts +42 -0
- package/core/platform/custom-objects/function-runtime.d.mts.map +1 -0
- package/core/platform/custom-objects/function-runtime.d.ts +42 -0
- package/core/platform/custom-objects/function-runtime.d.ts.map +1 -0
- package/core/platform/custom-objects/function-runtime.js +38 -0
- package/core/platform/custom-objects/function-runtime.js.map +1 -0
- package/core/platform/custom-objects/function-runtime.mjs +35 -0
- package/core/platform/custom-objects/function-runtime.mjs.map +1 -0
- package/core/platform/custom-objects/lifecycle.d.mts +83 -0
- package/core/platform/custom-objects/lifecycle.d.mts.map +1 -0
- package/core/platform/custom-objects/lifecycle.d.ts +83 -0
- package/core/platform/custom-objects/lifecycle.d.ts.map +1 -0
- package/core/platform/custom-objects/lifecycle.js +372 -0
- package/core/platform/custom-objects/lifecycle.js.map +1 -0
- package/core/platform/custom-objects/lifecycle.mjs +367 -0
- package/core/platform/custom-objects/lifecycle.mjs.map +1 -0
- package/core/platform/custom-objects/manager.d.mts +354 -0
- package/core/platform/custom-objects/manager.d.mts.map +1 -0
- package/core/platform/custom-objects/manager.d.ts +354 -0
- package/core/platform/custom-objects/manager.d.ts.map +1 -0
- package/core/platform/custom-objects/manager.js +646 -0
- package/core/platform/custom-objects/manager.js.map +1 -0
- package/core/platform/custom-objects/manager.mjs +637 -0
- package/core/platform/custom-objects/manager.mjs.map +1 -0
- package/core/platform/custom-objects/provisioning.d.mts +138 -0
- package/core/platform/custom-objects/provisioning.d.mts.map +1 -0
- package/core/platform/custom-objects/provisioning.d.ts +138 -0
- package/core/platform/custom-objects/provisioning.d.ts.map +1 -0
- package/core/platform/custom-objects/provisioning.js +455 -0
- package/core/platform/custom-objects/provisioning.js.map +1 -0
- package/core/platform/custom-objects/provisioning.mjs +447 -0
- package/core/platform/custom-objects/provisioning.mjs.map +1 -0
- package/core/platform/custom-objects/rql.d.mts +122 -0
- package/core/platform/custom-objects/rql.d.mts.map +1 -0
- package/core/platform/custom-objects/rql.d.ts +122 -0
- package/core/platform/custom-objects/rql.d.ts.map +1 -0
- package/core/platform/custom-objects/rql.js +225 -0
- package/core/platform/custom-objects/rql.js.map +1 -0
- package/core/platform/custom-objects/rql.mjs +222 -0
- package/core/platform/custom-objects/rql.mjs.map +1 -0
- package/core/platform/custom-objects/schema-manager.d.mts +203 -0
- package/core/platform/custom-objects/schema-manager.d.mts.map +1 -0
- package/core/platform/custom-objects/schema-manager.d.ts +203 -0
- package/core/platform/custom-objects/schema-manager.d.ts.map +1 -0
- package/core/platform/custom-objects/schema-manager.js +256 -0
- package/core/platform/custom-objects/schema-manager.js.map +1 -0
- package/core/platform/custom-objects/schema-manager.mjs +249 -0
- package/core/platform/custom-objects/schema-manager.mjs.map +1 -0
- package/core/platform/custom-objects/typed-rql.d.mts +157 -0
- package/core/platform/custom-objects/typed-rql.d.mts.map +1 -0
- package/core/platform/custom-objects/typed-rql.d.ts +157 -0
- package/core/platform/custom-objects/typed-rql.d.ts.map +1 -0
- package/core/platform/custom-objects/typed-rql.js +583 -0
- package/core/platform/custom-objects/typed-rql.js.map +1 -0
- package/core/platform/custom-objects/typed-rql.mjs +580 -0
- package/core/platform/custom-objects/typed-rql.mjs.map +1 -0
- package/core/platform/custom-objects/types.d.mts +549 -0
- package/core/platform/custom-objects/types.d.mts.map +1 -0
- package/core/platform/custom-objects/types.d.ts +549 -0
- package/core/platform/custom-objects/types.d.ts.map +1 -0
- package/core/platform/custom-objects/types.js +20 -0
- package/core/platform/custom-objects/types.js.map +1 -0
- package/core/platform/custom-objects/types.mjs +17 -0
- package/core/platform/custom-objects/types.mjs.map +1 -0
- package/core/platform/custom-objects/validation.d.mts +97 -0
- package/core/platform/custom-objects/validation.d.mts.map +1 -0
- package/core/platform/custom-objects/validation.d.ts +97 -0
- package/core/platform/custom-objects/validation.d.ts.map +1 -0
- package/core/platform/custom-objects/validation.js +477 -0
- package/core/platform/custom-objects/validation.js.map +1 -0
- package/core/platform/custom-objects/validation.mjs +465 -0
- package/core/platform/custom-objects/validation.mjs.map +1 -0
- package/core/platform/custom-objects.d.mts +67 -0
- package/core/platform/custom-objects.d.mts.map +1 -0
- package/core/platform/custom-objects.d.ts +67 -0
- package/core/platform/custom-objects.d.ts.map +1 -0
- package/core/platform/custom-objects.js +118 -0
- package/core/platform/custom-objects.js.map +1 -0
- package/core/platform/custom-objects.mjs +45 -0
- package/core/platform/custom-objects.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 +3 -0
- package/error.d.mts.map +1 -0
- package/error.d.ts +3 -0
- package/error.d.ts.map +1 -0
- package/error.js +6 -0
- package/error.js.map +1 -0
- package/error.mjs +3 -0
- package/error.mjs.map +1 -0
- package/examples/.keep +4 -0
- package/examples/functions/durable.ts +85 -0
- package/examples/manifest/acp-agent/acp-agent.ts +50 -0
- package/examples/manifest/acp-agent/agent/index.ts +9 -0
- package/examples/manifest/custom-object-creation-workflow/custom-object-creation-workflow.ts +75 -0
- package/examples/manifest/custom-skill/custom-skill.ts +45 -0
- package/examples/manifest/dental-practice-management/dental-practice-management.ts +797 -0
- package/examples/manifest/dental-practice-management/functions/chair-schedule.ts +28 -0
- package/examples/manifest/dental-practice-management/functions/complete-visit.ts +110 -0
- package/examples/manifest/dental-practice-management/functions/operatory-list.ts +28 -0
- package/examples/manifest/dental-practice-management/functions/patient-list.ts +28 -0
- package/examples/manifest/dental-practice-management/functions/treatment-plan-list.ts +28 -0
- package/examples/manifest/existing-manifest-mutations/existing-manifest-mutations.ts +247 -0
- package/examples/manifest/field-service-dispatch/field-service-dispatch.ts +530 -0
- package/examples/manifest/grant-program-management/grant-program-management.ts +594 -0
- package/examples/manifest/gym-membership-management/functions/check-in-desk.ts +28 -0
- package/examples/manifest/gym-membership-management/functions/member-list.ts +28 -0
- package/examples/manifest/gym-membership-management/functions/today-schedule.ts +28 -0
- package/examples/manifest/gym-membership-management/functions/trainer-list.ts +28 -0
- package/examples/manifest/gym-membership-management/gym-membership-management.ts +728 -0
- package/examples/manifest/procurement-approval-hub/procurement-approval-hub.ts +554 -0
- package/examples/manifest/simple-todo-app/functions/mark-done.ts +48 -0
- package/examples/manifest/simple-todo-app/functions/todo-list.ts +28 -0
- package/examples/manifest/simple-todo-app/simple-todo-app.ts +188 -0
- package/examples/manifest/todo-app-without-object-list-view/functions/todo-page.ts +497 -0
- package/examples/manifest/todo-app-without-object-list-view/todo-app-without-object-list-view.ts +111 -0
- package/functions.d.mts +166 -0
- package/functions.d.mts.map +1 -0
- package/functions.d.ts +166 -0
- package/functions.d.ts.map +1 -0
- package/functions.js +60 -0
- package/functions.js.map +1 -0
- package/functions.mjs +51 -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 +40 -0
- package/internal/parse.js.map +1 -0
- package/internal/parse.mjs +37 -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 +26 -0
- package/internal/shims.d.mts.map +1 -0
- package/internal/shims.d.ts +26 -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 +85 -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 +87 -0
- package/internal/utils/log.js.map +1 -0
- package/internal/utils/log.mjs +81 -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/query.d.mts +5 -0
- package/internal/utils/query.d.mts.map +1 -0
- package/internal/utils/query.d.ts +5 -0
- package/internal/utils/query.d.ts.map +1 -0
- package/internal/utils/query.js +23 -0
- package/internal/utils/query.js.map +1 -0
- package/internal/utils/query.mjs +20 -0
- package/internal/utils/query.mjs.map +1 -0
- package/internal/utils/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 +8 -0
- package/internal/utils.d.mts.map +1 -0
- package/internal/utils.d.ts +8 -0
- package/internal/utils.d.ts.map +1 -0
- package/internal/utils.js +12 -0
- package/internal/utils.js.map +1 -0
- package/internal/utils.mjs +9 -0
- package/internal/utils.mjs.map +1 -0
- package/lib/leave-programs/advanced.d.mts +5 -0
- package/lib/leave-programs/advanced.d.mts.map +1 -0
- package/lib/leave-programs/advanced.d.ts +5 -0
- package/lib/leave-programs/advanced.d.ts.map +1 -0
- package/lib/leave-programs/advanced.js +13 -0
- package/lib/leave-programs/advanced.js.map +1 -0
- package/lib/leave-programs/advanced.mjs +4 -0
- package/lib/leave-programs/advanced.mjs.map +1 -0
- package/lib/leave-programs/context.d.mts +3 -0
- package/lib/leave-programs/context.d.mts.map +1 -0
- package/lib/leave-programs/context.d.ts +3 -0
- package/lib/leave-programs/context.d.ts.map +1 -0
- package/lib/leave-programs/context.js +89 -0
- package/lib/leave-programs/context.js.map +1 -0
- package/lib/leave-programs/context.mjs +86 -0
- package/lib/leave-programs/context.mjs.map +1 -0
- package/lib/leave-programs/define-company-leave-program.d.mts +3 -0
- package/lib/leave-programs/define-company-leave-program.d.mts.map +1 -0
- package/lib/leave-programs/define-company-leave-program.d.ts +3 -0
- package/lib/leave-programs/define-company-leave-program.d.ts.map +1 -0
- package/lib/leave-programs/define-company-leave-program.js +47 -0
- package/lib/leave-programs/define-company-leave-program.js.map +1 -0
- package/lib/leave-programs/define-company-leave-program.mjs +44 -0
- package/lib/leave-programs/define-company-leave-program.mjs.map +1 -0
- package/lib/leave-programs/duration.d.mts +5 -0
- package/lib/leave-programs/duration.d.mts.map +1 -0
- package/lib/leave-programs/duration.d.ts +5 -0
- package/lib/leave-programs/duration.d.ts.map +1 -0
- package/lib/leave-programs/duration.js +21 -0
- package/lib/leave-programs/duration.js.map +1 -0
- package/lib/leave-programs/duration.mjs +16 -0
- package/lib/leave-programs/duration.mjs.map +1 -0
- package/lib/leave-programs/pay.d.mts +4 -0
- package/lib/leave-programs/pay.d.mts.map +1 -0
- package/lib/leave-programs/pay.d.ts +4 -0
- package/lib/leave-programs/pay.d.ts.map +1 -0
- package/lib/leave-programs/pay.js +20 -0
- package/lib/leave-programs/pay.js.map +1 -0
- package/lib/leave-programs/pay.mjs +16 -0
- package/lib/leave-programs/pay.mjs.map +1 -0
- package/lib/leave-programs/policy-builder.d.mts +20 -0
- package/lib/leave-programs/policy-builder.d.mts.map +1 -0
- package/lib/leave-programs/policy-builder.d.ts +20 -0
- package/lib/leave-programs/policy-builder.d.ts.map +1 -0
- package/lib/leave-programs/policy-builder.js +89 -0
- package/lib/leave-programs/policy-builder.js.map +1 -0
- package/lib/leave-programs/policy-builder.mjs +85 -0
- package/lib/leave-programs/policy-builder.mjs.map +1 -0
- package/lib/leave-programs/recipes/parental-top-up-policy.d.mts +25 -0
- package/lib/leave-programs/recipes/parental-top-up-policy.d.mts.map +1 -0
- package/lib/leave-programs/recipes/parental-top-up-policy.d.ts +25 -0
- package/lib/leave-programs/recipes/parental-top-up-policy.d.ts.map +1 -0
- package/lib/leave-programs/recipes/parental-top-up-policy.js +56 -0
- package/lib/leave-programs/recipes/parental-top-up-policy.js.map +1 -0
- package/lib/leave-programs/recipes/parental-top-up-policy.mjs +53 -0
- package/lib/leave-programs/recipes/parental-top-up-policy.mjs.map +1 -0
- package/lib/leave-programs/testing.d.mts +8 -0
- package/lib/leave-programs/testing.d.mts.map +1 -0
- package/lib/leave-programs/testing.d.ts +8 -0
- package/lib/leave-programs/testing.d.ts.map +1 -0
- package/lib/leave-programs/testing.js +11 -0
- package/lib/leave-programs/testing.js.map +1 -0
- package/lib/leave-programs/testing.mjs +7 -0
- package/lib/leave-programs/testing.mjs.map +1 -0
- package/lib/leave-programs/types.d.mts +223 -0
- package/lib/leave-programs/types.d.mts.map +1 -0
- package/lib/leave-programs/types.d.ts +223 -0
- package/lib/leave-programs/types.d.ts.map +1 -0
- package/lib/leave-programs/types.js +10 -0
- package/lib/leave-programs/types.js.map +1 -0
- package/lib/leave-programs/types.mjs +7 -0
- package/lib/leave-programs/types.mjs.map +1 -0
- package/lib/leave-programs.d.mts +7 -0
- package/lib/leave-programs.d.mts.map +1 -0
- package/lib/leave-programs.d.ts +7 -0
- package/lib/leave-programs.d.ts.map +1 -0
- package/lib/leave-programs.js +19 -0
- package/lib/leave-programs.js.map +1 -0
- package/lib/leave-programs.mjs +7 -0
- package/lib/leave-programs.mjs.map +1 -0
- package/lib/manifest/_existing-component-fields.d.mts +11 -0
- package/lib/manifest/_existing-component-fields.d.mts.map +1 -0
- package/lib/manifest/_existing-component-fields.d.ts +11 -0
- package/lib/manifest/_existing-component-fields.d.ts.map +1 -0
- package/lib/manifest/_existing-component-fields.js +67 -0
- package/lib/manifest/_existing-component-fields.js.map +1 -0
- package/lib/manifest/_existing-component-fields.mjs +59 -0
- package/lib/manifest/_existing-component-fields.mjs.map +1 -0
- package/lib/manifest/_helpers.d.mts +95 -0
- package/lib/manifest/_helpers.d.mts.map +1 -0
- package/lib/manifest/_helpers.d.ts +95 -0
- package/lib/manifest/_helpers.d.ts.map +1 -0
- package/lib/manifest/_helpers.js +67 -0
- package/lib/manifest/_helpers.js.map +1 -0
- package/lib/manifest/_helpers.mjs +63 -0
- package/lib/manifest/_helpers.mjs.map +1 -0
- package/lib/manifest/acp-agent-source-files.d.mts +10 -0
- package/lib/manifest/acp-agent-source-files.d.mts.map +1 -0
- package/lib/manifest/acp-agent-source-files.d.ts +10 -0
- package/lib/manifest/acp-agent-source-files.d.ts.map +1 -0
- package/lib/manifest/acp-agent-source-files.js +42 -0
- package/lib/manifest/acp-agent-source-files.js.map +1 -0
- package/lib/manifest/acp-agent-source-files.mjs +38 -0
- package/lib/manifest/acp-agent-source-files.mjs.map +1 -0
- package/lib/manifest/acp-agent.d.mts +73 -0
- package/lib/manifest/acp-agent.d.mts.map +1 -0
- package/lib/manifest/acp-agent.d.ts +73 -0
- package/lib/manifest/acp-agent.d.ts.map +1 -0
- package/lib/manifest/acp-agent.js +131 -0
- package/lib/manifest/acp-agent.js.map +1 -0
- package/lib/manifest/acp-agent.mjs +127 -0
- package/lib/manifest/acp-agent.mjs.map +1 -0
- package/lib/manifest/agent.d.mts +60 -0
- package/lib/manifest/agent.d.mts.map +1 -0
- package/lib/manifest/agent.d.ts +60 -0
- package/lib/manifest/agent.d.ts.map +1 -0
- package/lib/manifest/agent.js +94 -0
- package/lib/manifest/agent.js.map +1 -0
- package/lib/manifest/agent.mjs +90 -0
- package/lib/manifest/agent.mjs.map +1 -0
- package/lib/manifest/app.d.mts +126 -0
- package/lib/manifest/app.d.mts.map +1 -0
- package/lib/manifest/app.d.ts +126 -0
- package/lib/manifest/app.d.ts.map +1 -0
- package/lib/manifest/app.js +143 -0
- package/lib/manifest/app.js.map +1 -0
- package/lib/manifest/app.mjs +139 -0
- package/lib/manifest/app.mjs.map +1 -0
- package/lib/manifest/business-event.d.mts +64 -0
- package/lib/manifest/business-event.d.mts.map +1 -0
- package/lib/manifest/business-event.d.ts +64 -0
- package/lib/manifest/business-event.d.ts.map +1 -0
- package/lib/manifest/business-event.js +64 -0
- package/lib/manifest/business-event.js.map +1 -0
- package/lib/manifest/business-event.mjs +60 -0
- package/lib/manifest/business-event.mjs.map +1 -0
- package/lib/manifest/category.d.mts +90 -0
- package/lib/manifest/category.d.mts.map +1 -0
- package/lib/manifest/category.d.ts +90 -0
- package/lib/manifest/category.d.ts.map +1 -0
- package/lib/manifest/category.js +95 -0
- package/lib/manifest/category.js.map +1 -0
- package/lib/manifest/category.mjs +91 -0
- package/lib/manifest/category.mjs.map +1 -0
- package/lib/manifest/custom-field-section.d.mts +30 -0
- package/lib/manifest/custom-field-section.d.mts.map +1 -0
- package/lib/manifest/custom-field-section.d.ts +30 -0
- package/lib/manifest/custom-field-section.d.ts.map +1 -0
- package/lib/manifest/custom-field-section.js +58 -0
- package/lib/manifest/custom-field-section.js.map +1 -0
- package/lib/manifest/custom-field-section.mjs +54 -0
- package/lib/manifest/custom-field-section.mjs.map +1 -0
- package/lib/manifest/custom-field.d.mts +123 -0
- package/lib/manifest/custom-field.d.mts.map +1 -0
- package/lib/manifest/custom-field.d.ts +123 -0
- package/lib/manifest/custom-field.d.ts.map +1 -0
- package/lib/manifest/custom-field.js +211 -0
- package/lib/manifest/custom-field.js.map +1 -0
- package/lib/manifest/custom-field.mjs +207 -0
- package/lib/manifest/custom-field.mjs.map +1 -0
- package/lib/manifest/custom-object-action.d.mts +45 -0
- package/lib/manifest/custom-object-action.d.mts.map +1 -0
- package/lib/manifest/custom-object-action.d.ts +45 -0
- package/lib/manifest/custom-object-action.d.ts.map +1 -0
- package/lib/manifest/custom-object-action.js +72 -0
- package/lib/manifest/custom-object-action.js.map +1 -0
- package/lib/manifest/custom-object-action.mjs +68 -0
- package/lib/manifest/custom-object-action.mjs.map +1 -0
- package/lib/manifest/custom-object-field-section.d.mts +88 -0
- package/lib/manifest/custom-object-field-section.d.mts.map +1 -0
- package/lib/manifest/custom-object-field-section.d.ts +88 -0
- package/lib/manifest/custom-object-field-section.d.ts.map +1 -0
- package/lib/manifest/custom-object-field-section.js +97 -0
- package/lib/manifest/custom-object-field-section.js.map +1 -0
- package/lib/manifest/custom-object-field-section.mjs +93 -0
- package/lib/manifest/custom-object-field-section.mjs.map +1 -0
- package/lib/manifest/custom-object-page-layout.d.mts +694 -0
- package/lib/manifest/custom-object-page-layout.d.mts.map +1 -0
- package/lib/manifest/custom-object-page-layout.d.ts +694 -0
- package/lib/manifest/custom-object-page-layout.d.ts.map +1 -0
- package/lib/manifest/custom-object-page-layout.js +1323 -0
- package/lib/manifest/custom-object-page-layout.js.map +1 -0
- package/lib/manifest/custom-object-page-layout.mjs +1319 -0
- package/lib/manifest/custom-object-page-layout.mjs.map +1 -0
- package/lib/manifest/custom-object.d.mts +329 -0
- package/lib/manifest/custom-object.d.mts.map +1 -0
- package/lib/manifest/custom-object.d.ts +329 -0
- package/lib/manifest/custom-object.d.ts.map +1 -0
- package/lib/manifest/custom-object.js +394 -0
- package/lib/manifest/custom-object.js.map +1 -0
- package/lib/manifest/custom-object.mjs +390 -0
- package/lib/manifest/custom-object.mjs.map +1 -0
- package/lib/manifest/custom-skill.d.mts +115 -0
- package/lib/manifest/custom-skill.d.mts.map +1 -0
- package/lib/manifest/custom-skill.d.ts +115 -0
- package/lib/manifest/custom-skill.d.ts.map +1 -0
- package/lib/manifest/custom-skill.js +127 -0
- package/lib/manifest/custom-skill.js.map +1 -0
- package/lib/manifest/custom-skill.mjs +123 -0
- package/lib/manifest/custom-skill.mjs.map +1 -0
- package/lib/manifest/existing-manifest-context.d.mts +109 -0
- package/lib/manifest/existing-manifest-context.d.mts.map +1 -0
- package/lib/manifest/existing-manifest-context.d.ts +109 -0
- package/lib/manifest/existing-manifest-context.d.ts.map +1 -0
- package/lib/manifest/existing-manifest-context.js +641 -0
- package/lib/manifest/existing-manifest-context.js.map +1 -0
- package/lib/manifest/existing-manifest-context.mjs +636 -0
- package/lib/manifest/existing-manifest-context.mjs.map +1 -0
- package/lib/manifest/field.d.mts +548 -0
- package/lib/manifest/field.d.mts.map +1 -0
- package/lib/manifest/field.d.ts +548 -0
- package/lib/manifest/field.d.ts.map +1 -0
- package/lib/manifest/field.js +645 -0
- package/lib/manifest/field.js.map +1 -0
- package/lib/manifest/field.mjs +622 -0
- package/lib/manifest/field.mjs.map +1 -0
- package/lib/manifest/index.d.mts +24 -0
- package/lib/manifest/index.d.mts.map +1 -0
- package/lib/manifest/index.d.ts +24 -0
- package/lib/manifest/index.d.ts.map +1 -0
- package/lib/manifest/index.js +74 -0
- package/lib/manifest/index.js.map +1 -0
- package/lib/manifest/index.mjs +27 -0
- package/lib/manifest/index.mjs.map +1 -0
- package/lib/manifest/list-view.d.mts +167 -0
- package/lib/manifest/list-view.d.mts.map +1 -0
- package/lib/manifest/list-view.d.ts +167 -0
- package/lib/manifest/list-view.d.ts.map +1 -0
- package/lib/manifest/list-view.js +145 -0
- package/lib/manifest/list-view.js.map +1 -0
- package/lib/manifest/list-view.mjs +141 -0
- package/lib/manifest/list-view.mjs.map +1 -0
- package/lib/manifest/manifest-builder.d.mts +163 -0
- package/lib/manifest/manifest-builder.d.mts.map +1 -0
- package/lib/manifest/manifest-builder.d.ts +163 -0
- package/lib/manifest/manifest-builder.d.ts.map +1 -0
- package/lib/manifest/manifest-builder.js +147 -0
- package/lib/manifest/manifest-builder.js.map +1 -0
- package/lib/manifest/manifest-builder.mjs +143 -0
- package/lib/manifest/manifest-builder.mjs.map +1 -0
- package/lib/manifest/manifest-function.d.mts +127 -0
- package/lib/manifest/manifest-function.d.mts.map +1 -0
- package/lib/manifest/manifest-function.d.ts +127 -0
- package/lib/manifest/manifest-function.d.ts.map +1 -0
- package/lib/manifest/manifest-function.js +127 -0
- package/lib/manifest/manifest-function.js.map +1 -0
- package/lib/manifest/manifest-function.mjs +123 -0
- package/lib/manifest/manifest-function.mjs.map +1 -0
- package/lib/manifest/node.d.mts +4 -0
- package/lib/manifest/node.d.mts.map +1 -0
- package/lib/manifest/node.d.ts +4 -0
- package/lib/manifest/node.d.ts.map +1 -0
- package/lib/manifest/node.js +9 -0
- package/lib/manifest/node.js.map +1 -0
- package/lib/manifest/node.mjs +4 -0
- package/lib/manifest/node.mjs.map +1 -0
- package/lib/manifest/rule.d.mts +147 -0
- package/lib/manifest/rule.d.mts.map +1 -0
- package/lib/manifest/rule.d.ts +147 -0
- package/lib/manifest/rule.d.ts.map +1 -0
- package/lib/manifest/rule.js +170 -0
- package/lib/manifest/rule.js.map +1 -0
- package/lib/manifest/rule.mjs +166 -0
- package/lib/manifest/rule.mjs.map +1 -0
- package/lib/manifest/sdui-page.d.mts +108 -0
- package/lib/manifest/sdui-page.d.mts.map +1 -0
- package/lib/manifest/sdui-page.d.ts +108 -0
- package/lib/manifest/sdui-page.d.ts.map +1 -0
- package/lib/manifest/sdui-page.js +123 -0
- package/lib/manifest/sdui-page.js.map +1 -0
- package/lib/manifest/sdui-page.mjs +119 -0
- package/lib/manifest/sdui-page.mjs.map +1 -0
- package/lib/manifest/validation.d.mts +133 -0
- package/lib/manifest/validation.d.mts.map +1 -0
- package/lib/manifest/validation.d.ts +133 -0
- package/lib/manifest/validation.d.ts.map +1 -0
- package/lib/manifest/validation.js +118 -0
- package/lib/manifest/validation.js.map +1 -0
- package/lib/manifest/validation.mjs +114 -0
- package/lib/manifest/validation.mjs.map +1 -0
- package/lib/manifest/workflow.d.mts +158 -0
- package/lib/manifest/workflow.d.mts.map +1 -0
- package/lib/manifest/workflow.d.ts +158 -0
- package/lib/manifest/workflow.d.ts.map +1 -0
- package/lib/manifest/workflow.js +51 -0
- package/lib/manifest/workflow.js.map +1 -0
- package/lib/manifest/workflow.mjs +47 -0
- package/lib/manifest/workflow.mjs.map +1 -0
- package/lib/manifest.d.mts +2 -0
- package/lib/manifest.d.mts.map +1 -0
- package/lib/manifest.d.ts +2 -0
- package/lib/manifest.d.ts.map +1 -0
- package/lib/manifest.js +5 -0
- package/lib/manifest.js.map +1 -0
- package/lib/manifest.mjs +2 -0
- package/lib/manifest.mjs.map +1 -0
- package/package.json +190 -0
- package/pagination.d.mts +3 -0
- package/pagination.d.mts.map +1 -0
- package/pagination.d.ts +3 -0
- package/pagination.d.ts.map +1 -0
- package/pagination.js +6 -0
- package/pagination.js.map +1 -0
- package/pagination.mjs +3 -0
- package/pagination.mjs.map +1 -0
- package/resource.d.mts +3 -0
- package/resource.d.mts.map +1 -0
- package/resource.d.ts +3 -0
- package/resource.d.ts.map +1 -0
- package/resource.js +6 -0
- package/resource.js.map +1 -0
- package/resource.mjs +3 -0
- package/resource.mjs.map +1 -0
- package/resources/agents/agents.d.mts +208 -0
- package/resources/agents/agents.d.mts.map +1 -0
- package/resources/agents/agents.d.ts +208 -0
- package/resources/agents/agents.d.ts.map +1 -0
- package/resources/agents/agents.js +64 -0
- package/resources/agents/agents.js.map +1 -0
- package/resources/agents/agents.mjs +59 -0
- package/resources/agents/agents.mjs.map +1 -0
- package/resources/agents/deployments.d.mts +180 -0
- package/resources/agents/deployments.d.mts.map +1 -0
- package/resources/agents/deployments.d.ts +180 -0
- package/resources/agents/deployments.d.ts.map +1 -0
- package/resources/agents/deployments.js +32 -0
- package/resources/agents/deployments.js.map +1 -0
- package/resources/agents/deployments.mjs +28 -0
- package/resources/agents/deployments.mjs.map +1 -0
- package/resources/agents/index.d.mts +5 -0
- package/resources/agents/index.d.mts.map +1 -0
- package/resources/agents/index.d.ts +5 -0
- package/resources/agents/index.d.ts.map +1 -0
- package/resources/agents/index.js +13 -0
- package/resources/agents/index.js.map +1 -0
- package/resources/agents/index.mjs +6 -0
- package/resources/agents/index.mjs.map +1 -0
- package/resources/agents/sessions/events.d.mts +80 -0
- package/resources/agents/sessions/events.d.mts.map +1 -0
- package/resources/agents/sessions/events.d.ts +80 -0
- package/resources/agents/sessions/events.d.ts.map +1 -0
- package/resources/agents/sessions/events.js +19 -0
- package/resources/agents/sessions/events.js.map +1 -0
- package/resources/agents/sessions/events.mjs +15 -0
- package/resources/agents/sessions/events.mjs.map +1 -0
- package/resources/agents/sessions/index.d.mts +5 -0
- package/resources/agents/sessions/index.d.mts.map +1 -0
- package/resources/agents/sessions/index.d.ts +5 -0
- package/resources/agents/sessions/index.d.ts.map +1 -0
- package/resources/agents/sessions/index.js +13 -0
- package/resources/agents/sessions/index.js.map +1 -0
- package/resources/agents/sessions/index.mjs +6 -0
- package/resources/agents/sessions/index.mjs.map +1 -0
- package/resources/agents/sessions/messages.d.mts +84 -0
- package/resources/agents/sessions/messages.d.mts.map +1 -0
- package/resources/agents/sessions/messages.d.ts +84 -0
- package/resources/agents/sessions/messages.d.ts.map +1 -0
- package/resources/agents/sessions/messages.js +19 -0
- package/resources/agents/sessions/messages.js.map +1 -0
- package/resources/agents/sessions/messages.mjs +15 -0
- package/resources/agents/sessions/messages.mjs.map +1 -0
- package/resources/agents/sessions/resume-state.d.mts +25 -0
- package/resources/agents/sessions/resume-state.d.mts.map +1 -0
- package/resources/agents/sessions/resume-state.d.ts +25 -0
- package/resources/agents/sessions/resume-state.d.ts.map +1 -0
- package/resources/agents/sessions/resume-state.js +19 -0
- package/resources/agents/sessions/resume-state.js.map +1 -0
- package/resources/agents/sessions/resume-state.mjs +15 -0
- package/resources/agents/sessions/resume-state.mjs.map +1 -0
- package/resources/agents/sessions/sessions.d.mts +248 -0
- package/resources/agents/sessions/sessions.d.mts.map +1 -0
- package/resources/agents/sessions/sessions.d.ts +248 -0
- package/resources/agents/sessions/sessions.d.ts.map +1 -0
- package/resources/agents/sessions/sessions.js +52 -0
- package/resources/agents/sessions/sessions.js.map +1 -0
- package/resources/agents/sessions/sessions.mjs +47 -0
- package/resources/agents/sessions/sessions.mjs.map +1 -0
- package/resources/agents/sessions.d.mts +2 -0
- package/resources/agents/sessions.d.mts.map +1 -0
- package/resources/agents/sessions.d.ts +2 -0
- package/resources/agents/sessions.d.ts.map +1 -0
- package/resources/agents/sessions.js +6 -0
- package/resources/agents/sessions.js.map +1 -0
- package/resources/agents/sessions.mjs +3 -0
- package/resources/agents/sessions.mjs.map +1 -0
- package/resources/agents/source-revisions.d.mts +195 -0
- package/resources/agents/source-revisions.d.mts.map +1 -0
- package/resources/agents/source-revisions.d.ts +195 -0
- package/resources/agents/source-revisions.d.ts.map +1 -0
- package/resources/agents/source-revisions.js +32 -0
- package/resources/agents/source-revisions.js.map +1 -0
- package/resources/agents/source-revisions.mjs +28 -0
- package/resources/agents/source-revisions.mjs.map +1 -0
- package/resources/agents.d.mts +2 -0
- package/resources/agents.d.mts.map +1 -0
- package/resources/agents.d.ts +2 -0
- package/resources/agents.d.ts.map +1 -0
- package/resources/agents.js +6 -0
- package/resources/agents.js.map +1 -0
- package/resources/agents.mjs +3 -0
- package/resources/agents.mjs.map +1 -0
- package/resources/app-users.d.mts +190 -0
- package/resources/app-users.d.mts.map +1 -0
- package/resources/app-users.d.ts +190 -0
- package/resources/app-users.d.ts.map +1 -0
- package/resources/app-users.js +32 -0
- package/resources/app-users.js.map +1 -0
- package/resources/app-users.mjs +28 -0
- package/resources/app-users.mjs.map +1 -0
- package/resources/background-check-candidates.d.mts +337 -0
- package/resources/background-check-candidates.d.mts.map +1 -0
- package/resources/background-check-candidates.d.ts +337 -0
- package/resources/background-check-candidates.d.ts.map +1 -0
- package/resources/background-check-candidates.js +52 -0
- package/resources/background-check-candidates.js.map +1 -0
- package/resources/background-check-candidates.mjs +48 -0
- package/resources/background-check-candidates.mjs.map +1 -0
- package/resources/break-policies.d.mts +95 -0
- package/resources/break-policies.d.mts.map +1 -0
- package/resources/break-policies.d.ts +95 -0
- package/resources/break-policies.d.ts.map +1 -0
- package/resources/break-policies.js +32 -0
- package/resources/break-policies.js.map +1 -0
- package/resources/break-policies.mjs +28 -0
- package/resources/break-policies.mjs.map +1 -0
- package/resources/break-types.d.mts +192 -0
- package/resources/break-types.d.mts.map +1 -0
- package/resources/break-types.d.ts +192 -0
- package/resources/break-types.d.ts.map +1 -0
- package/resources/break-types.js +34 -0
- package/resources/break-types.js.map +1 -0
- package/resources/break-types.mjs +30 -0
- package/resources/break-types.mjs.map +1 -0
- package/resources/business-partner-groups.d.mts +102 -0
- package/resources/business-partner-groups.d.mts.map +1 -0
- package/resources/business-partner-groups.d.ts +102 -0
- package/resources/business-partner-groups.d.ts.map +1 -0
- package/resources/business-partner-groups.js +49 -0
- package/resources/business-partner-groups.js.map +1 -0
- package/resources/business-partner-groups.mjs +45 -0
- package/resources/business-partner-groups.mjs.map +1 -0
- package/resources/business-partners.d.mts +140 -0
- package/resources/business-partners.d.mts.map +1 -0
- package/resources/business-partners.d.ts +140 -0
- package/resources/business-partners.d.ts.map +1 -0
- package/resources/business-partners.js +50 -0
- package/resources/business-partners.js.map +1 -0
- package/resources/business-partners.mjs +46 -0
- package/resources/business-partners.mjs.map +1 -0
- package/resources/business-structure-paths.d.mts +166 -0
- package/resources/business-structure-paths.d.mts.map +1 -0
- package/resources/business-structure-paths.d.ts +166 -0
- package/resources/business-structure-paths.d.ts.map +1 -0
- package/resources/business-structure-paths.js +46 -0
- package/resources/business-structure-paths.js.map +1 -0
- package/resources/business-structure-paths.mjs +42 -0
- package/resources/business-structure-paths.mjs.map +1 -0
- package/resources/candidate-applications.d.mts +75 -0
- package/resources/candidate-applications.d.mts.map +1 -0
- package/resources/candidate-applications.d.ts +75 -0
- package/resources/candidate-applications.d.ts.map +1 -0
- package/resources/candidate-applications.js +23 -0
- package/resources/candidate-applications.js.map +1 -0
- package/resources/candidate-applications.mjs +19 -0
- package/resources/candidate-applications.mjs.map +1 -0
- package/resources/candidates.d.mts +62 -0
- package/resources/candidates.d.mts.map +1 -0
- package/resources/candidates.d.ts +62 -0
- package/resources/candidates.d.ts.map +1 -0
- package/resources/candidates.js +25 -0
- package/resources/candidates.js.map +1 -0
- package/resources/candidates.mjs +21 -0
- package/resources/candidates.mjs.map +1 -0
- package/resources/companies.d.mts +90 -0
- package/resources/companies.d.mts.map +1 -0
- package/resources/companies.d.ts +90 -0
- package/resources/companies.d.ts.map +1 -0
- package/resources/companies.js +23 -0
- package/resources/companies.js.map +1 -0
- package/resources/companies.mjs +19 -0
- package/resources/companies.mjs.map +1 -0
- package/resources/company-legal-entities.d.mts +184 -0
- package/resources/company-legal-entities.d.mts.map +1 -0
- package/resources/company-legal-entities.d.ts +184 -0
- package/resources/company-legal-entities.d.ts.map +1 -0
- package/resources/company-legal-entities.js +30 -0
- package/resources/company-legal-entities.js.map +1 -0
- package/resources/company-legal-entities.mjs +26 -0
- package/resources/company-legal-entities.mjs.map +1 -0
- package/resources/company-legal-entity-workers.d.mts +83 -0
- package/resources/company-legal-entity-workers.d.mts.map +1 -0
- package/resources/company-legal-entity-workers.d.ts +83 -0
- package/resources/company-legal-entity-workers.d.ts.map +1 -0
- package/resources/company-legal-entity-workers.js +30 -0
- package/resources/company-legal-entity-workers.js.map +1 -0
- package/resources/company-legal-entity-workers.mjs +26 -0
- package/resources/company-legal-entity-workers.mjs.map +1 -0
- package/resources/compensation-bands-details.d.mts +102 -0
- package/resources/compensation-bands-details.d.mts.map +1 -0
- package/resources/compensation-bands-details.d.ts +102 -0
- package/resources/compensation-bands-details.d.ts.map +1 -0
- package/resources/compensation-bands-details.js +32 -0
- package/resources/compensation-bands-details.js.map +1 -0
- package/resources/compensation-bands-details.mjs +28 -0
- package/resources/compensation-bands-details.mjs.map +1 -0
- package/resources/compensations.d.mts +258 -0
- package/resources/compensations.d.mts.map +1 -0
- package/resources/compensations.d.ts +258 -0
- package/resources/compensations.d.ts.map +1 -0
- package/resources/compensations.js +30 -0
- package/resources/compensations.js.map +1 -0
- package/resources/compensations.mjs +26 -0
- package/resources/compensations.mjs.map +1 -0
- package/resources/custom-apps.d.mts +341 -0
- package/resources/custom-apps.d.mts.map +1 -0
- package/resources/custom-apps.d.ts +341 -0
- package/resources/custom-apps.d.ts.map +1 -0
- package/resources/custom-apps.js +47 -0
- package/resources/custom-apps.js.map +1 -0
- package/resources/custom-apps.mjs +43 -0
- package/resources/custom-apps.mjs.map +1 -0
- package/resources/custom-fields.d.mts +63 -0
- package/resources/custom-fields.d.mts.map +1 -0
- package/resources/custom-fields.d.ts +63 -0
- package/resources/custom-fields.d.ts.map +1 -0
- package/resources/custom-fields.js +25 -0
- package/resources/custom-fields.js.map +1 -0
- package/resources/custom-fields.mjs +21 -0
- package/resources/custom-fields.mjs.map +1 -0
- package/resources/custom-objects/custom-objects.d.mts +144 -0
- package/resources/custom-objects/custom-objects.d.mts.map +1 -0
- package/resources/custom-objects/custom-objects.d.ts +144 -0
- package/resources/custom-objects/custom-objects.d.ts.map +1 -0
- package/resources/custom-objects/custom-objects.js +62 -0
- package/resources/custom-objects/custom-objects.js.map +1 -0
- package/resources/custom-objects/custom-objects.mjs +57 -0
- package/resources/custom-objects/custom-objects.mjs.map +1 -0
- package/resources/custom-objects/fields.d.mts +305 -0
- package/resources/custom-objects/fields.d.mts.map +1 -0
- package/resources/custom-objects/fields.d.ts +305 -0
- package/resources/custom-objects/fields.d.ts.map +1 -0
- package/resources/custom-objects/fields.js +53 -0
- package/resources/custom-objects/fields.js.map +1 -0
- package/resources/custom-objects/fields.mjs +49 -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 +210 -0
- package/resources/custom-objects/records.d.mts.map +1 -0
- package/resources/custom-objects/records.d.ts +210 -0
- package/resources/custom-objects/records.d.ts.map +1 -0
- package/resources/custom-objects/records.js +96 -0
- package/resources/custom-objects/records.js.map +1 -0
- package/resources/custom-objects/records.mjs +92 -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/custom-pages.d.mts +177 -0
- package/resources/custom-pages.d.mts.map +1 -0
- package/resources/custom-pages.d.ts +177 -0
- package/resources/custom-pages.d.ts.map +1 -0
- package/resources/custom-pages.js +47 -0
- package/resources/custom-pages.js.map +1 -0
- package/resources/custom-pages.mjs +43 -0
- package/resources/custom-pages.mjs.map +1 -0
- package/resources/custom-settings.d.mts +274 -0
- package/resources/custom-settings.d.mts.map +1 -0
- package/resources/custom-settings.d.ts +274 -0
- package/resources/custom-settings.d.ts.map +1 -0
- package/resources/custom-settings.js +51 -0
- package/resources/custom-settings.js.map +1 -0
- package/resources/custom-settings.mjs +47 -0
- package/resources/custom-settings.mjs.map +1 -0
- package/resources/departments.d.mts +124 -0
- package/resources/departments.d.mts.map +1 -0
- package/resources/departments.d.ts +124 -0
- package/resources/departments.d.ts.map +1 -0
- package/resources/departments.js +42 -0
- package/resources/departments.js.map +1 -0
- package/resources/departments.mjs +38 -0
- package/resources/departments.mjs.map +1 -0
- package/resources/developer-program-application.d.mts +176 -0
- package/resources/developer-program-application.d.mts.map +1 -0
- package/resources/developer-program-application.d.ts +176 -0
- package/resources/developer-program-application.d.ts.map +1 -0
- package/resources/developer-program-application.js +27 -0
- package/resources/developer-program-application.js.map +1 -0
- package/resources/developer-program-application.mjs +23 -0
- package/resources/developer-program-application.mjs.map +1 -0
- package/resources/developer-users.d.mts +53 -0
- package/resources/developer-users.d.mts.map +1 -0
- package/resources/developer-users.d.ts +53 -0
- package/resources/developer-users.d.ts.map +1 -0
- package/resources/developer-users.js +25 -0
- package/resources/developer-users.js.map +1 -0
- package/resources/developer-users.mjs +21 -0
- package/resources/developer-users.mjs.map +1 -0
- package/resources/device-orders.d.mts +151 -0
- package/resources/device-orders.d.mts.map +1 -0
- package/resources/device-orders.d.ts +151 -0
- package/resources/device-orders.d.ts.map +1 -0
- package/resources/device-orders.js +34 -0
- package/resources/device-orders.js.map +1 -0
- package/resources/device-orders.mjs +30 -0
- package/resources/device-orders.mjs.map +1 -0
- package/resources/devices.d.mts +276 -0
- package/resources/devices.d.mts.map +1 -0
- package/resources/devices.d.ts +276 -0
- package/resources/devices.d.ts.map +1 -0
- package/resources/devices.js +32 -0
- package/resources/devices.js.map +1 -0
- package/resources/devices.mjs +28 -0
- package/resources/devices.mjs.map +1 -0
- package/resources/draft-hires.d.mts +496 -0
- package/resources/draft-hires.d.mts.map +1 -0
- package/resources/draft-hires.d.ts +496 -0
- package/resources/draft-hires.d.ts.map +1 -0
- package/resources/draft-hires.js +18 -0
- package/resources/draft-hires.js.map +1 -0
- package/resources/draft-hires.mjs +14 -0
- package/resources/draft-hires.mjs.map +1 -0
- package/resources/draft-transitions.d.mts +474 -0
- package/resources/draft-transitions.d.mts.map +1 -0
- package/resources/draft-transitions.d.ts +474 -0
- package/resources/draft-transitions.d.ts.map +1 -0
- package/resources/draft-transitions.js +25 -0
- package/resources/draft-transitions.js.map +1 -0
- package/resources/draft-transitions.mjs +21 -0
- package/resources/draft-transitions.mjs.map +1 -0
- package/resources/earning-types.d.mts +50 -0
- package/resources/earning-types.d.mts.map +1 -0
- package/resources/earning-types.d.ts +50 -0
- package/resources/earning-types.d.ts.map +1 -0
- package/resources/earning-types.js +24 -0
- package/resources/earning-types.js.map +1 -0
- package/resources/earning-types.mjs +20 -0
- package/resources/earning-types.mjs.map +1 -0
- package/resources/earnings-inputs.d.mts +244 -0
- package/resources/earnings-inputs.d.mts.map +1 -0
- package/resources/earnings-inputs.d.ts +244 -0
- package/resources/earnings-inputs.d.ts.map +1 -0
- package/resources/earnings-inputs.js +41 -0
- package/resources/earnings-inputs.js.map +1 -0
- package/resources/earnings-inputs.mjs +37 -0
- package/resources/earnings-inputs.mjs.map +1 -0
- package/resources/employee-documents.d.mts +153 -0
- package/resources/employee-documents.d.mts.map +1 -0
- package/resources/employee-documents.d.ts +153 -0
- package/resources/employee-documents.d.ts.map +1 -0
- package/resources/employee-documents.js +18 -0
- package/resources/employee-documents.js.map +1 -0
- package/resources/employee-documents.mjs +14 -0
- package/resources/employee-documents.mjs.map +1 -0
- package/resources/employment-types.d.mts +85 -0
- package/resources/employment-types.d.mts.map +1 -0
- package/resources/employment-types.d.ts +85 -0
- package/resources/employment-types.d.ts.map +1 -0
- package/resources/employment-types.js +32 -0
- package/resources/employment-types.js.map +1 -0
- package/resources/employment-types.mjs +28 -0
- package/resources/employment-types.mjs.map +1 -0
- package/resources/entitlements.d.mts +33 -0
- package/resources/entitlements.d.mts.map +1 -0
- package/resources/entitlements.d.ts +33 -0
- package/resources/entitlements.d.ts.map +1 -0
- package/resources/entitlements.js +21 -0
- package/resources/entitlements.js.map +1 -0
- package/resources/entitlements.mjs +17 -0
- package/resources/entitlements.mjs.map +1 -0
- package/resources/files.d.mts +164 -0
- package/resources/files.d.mts.map +1 -0
- package/resources/files.d.ts +164 -0
- package/resources/files.d.ts.map +1 -0
- package/resources/files.js +25 -0
- package/resources/files.js.map +1 -0
- package/resources/files.mjs +21 -0
- package/resources/files.mjs.map +1 -0
- package/resources/functions/deployments.d.mts +162 -0
- package/resources/functions/deployments.d.mts.map +1 -0
- package/resources/functions/deployments.d.ts +162 -0
- package/resources/functions/deployments.d.ts.map +1 -0
- package/resources/functions/deployments.js +43 -0
- package/resources/functions/deployments.js.map +1 -0
- package/resources/functions/deployments.mjs +39 -0
- package/resources/functions/deployments.mjs.map +1 -0
- package/resources/functions/executions.d.mts +126 -0
- package/resources/functions/executions.d.mts.map +1 -0
- package/resources/functions/executions.d.ts +126 -0
- package/resources/functions/executions.d.ts.map +1 -0
- package/resources/functions/executions.js +45 -0
- package/resources/functions/executions.js.map +1 -0
- package/resources/functions/executions.mjs +41 -0
- package/resources/functions/executions.mjs.map +1 -0
- package/resources/functions/functions.d.mts +143 -0
- package/resources/functions/functions.d.mts.map +1 -0
- package/resources/functions/functions.d.ts +143 -0
- package/resources/functions/functions.d.ts.map +1 -0
- package/resources/functions/functions.js +59 -0
- package/resources/functions/functions.js.map +1 -0
- package/resources/functions/functions.mjs +54 -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 +1097 -0
- package/resources/headcount-positions.d.mts.map +1 -0
- package/resources/headcount-positions.d.ts +1097 -0
- package/resources/headcount-positions.d.ts.map +1 -0
- package/resources/headcount-positions.js +44 -0
- package/resources/headcount-positions.js.map +1 -0
- package/resources/headcount-positions.mjs +40 -0
- package/resources/headcount-positions.mjs.map +1 -0
- package/resources/headcount-priorities.d.mts +73 -0
- package/resources/headcount-priorities.d.mts.map +1 -0
- package/resources/headcount-priorities.d.ts +73 -0
- package/resources/headcount-priorities.d.ts.map +1 -0
- package/resources/headcount-priorities.js +32 -0
- package/resources/headcount-priorities.js.map +1 -0
- package/resources/headcount-priorities.mjs +28 -0
- package/resources/headcount-priorities.mjs.map +1 -0
- package/resources/hire-requirements.d.mts +112 -0
- package/resources/hire-requirements.d.mts.map +1 -0
- package/resources/hire-requirements.d.ts +112 -0
- package/resources/hire-requirements.d.ts.map +1 -0
- package/resources/hire-requirements.js +19 -0
- package/resources/hire-requirements.js.map +1 -0
- package/resources/hire-requirements.mjs +15 -0
- package/resources/hire-requirements.mjs.map +1 -0
- package/resources/hires.d.mts +657 -0
- package/resources/hires.d.mts.map +1 -0
- package/resources/hires.d.ts +657 -0
- package/resources/hires.d.ts.map +1 -0
- package/resources/hires.js +25 -0
- package/resources/hires.js.map +1 -0
- package/resources/hires.mjs +21 -0
- package/resources/hires.mjs.map +1 -0
- package/resources/index.d.mts +102 -0
- package/resources/index.d.mts.map +1 -0
- package/resources/index.d.ts +102 -0
- package/resources/index.d.ts.map +1 -0
- package/resources/index.js +208 -0
- package/resources/index.js.map +1 -0
- package/resources/index.mjs +103 -0
- package/resources/index.mjs.map +1 -0
- package/resources/job-assignments.d.mts +268 -0
- package/resources/job-assignments.d.mts.map +1 -0
- package/resources/job-assignments.d.ts +268 -0
- package/resources/job-assignments.d.ts.map +1 -0
- package/resources/job-assignments.js +64 -0
- package/resources/job-assignments.js.map +1 -0
- package/resources/job-assignments.mjs +60 -0
- package/resources/job-assignments.mjs.map +1 -0
- package/resources/job-codes.d.mts +437 -0
- package/resources/job-codes.d.mts.map +1 -0
- package/resources/job-codes.d.ts +437 -0
- package/resources/job-codes.d.ts.map +1 -0
- package/resources/job-codes.js +64 -0
- package/resources/job-codes.js.map +1 -0
- package/resources/job-codes.mjs +60 -0
- package/resources/job-codes.mjs.map +1 -0
- package/resources/job-dimensions.d.mts +173 -0
- package/resources/job-dimensions.d.mts.map +1 -0
- package/resources/job-dimensions.d.ts +173 -0
- package/resources/job-dimensions.d.ts.map +1 -0
- package/resources/job-dimensions.js +52 -0
- package/resources/job-dimensions.js.map +1 -0
- package/resources/job-dimensions.mjs +48 -0
- package/resources/job-dimensions.mjs.map +1 -0
- package/resources/job-functions.d.mts +73 -0
- package/resources/job-functions.d.mts.map +1 -0
- package/resources/job-functions.d.ts +73 -0
- package/resources/job-functions.d.ts.map +1 -0
- package/resources/job-functions.js +32 -0
- package/resources/job-functions.js.map +1 -0
- package/resources/job-functions.mjs +28 -0
- package/resources/job-functions.mjs.map +1 -0
- package/resources/job-pay-rate-exceptions.d.mts +104 -0
- package/resources/job-pay-rate-exceptions.d.mts.map +1 -0
- package/resources/job-pay-rate-exceptions.d.ts +104 -0
- package/resources/job-pay-rate-exceptions.d.ts.map +1 -0
- package/resources/job-pay-rate-exceptions.js +44 -0
- package/resources/job-pay-rate-exceptions.js.map +1 -0
- package/resources/job-pay-rate-exceptions.mjs +40 -0
- package/resources/job-pay-rate-exceptions.mjs.map +1 -0
- package/resources/job-requisitions-write.d.mts +260 -0
- package/resources/job-requisitions-write.d.mts.map +1 -0
- package/resources/job-requisitions-write.d.ts +260 -0
- package/resources/job-requisitions-write.d.ts.map +1 -0
- package/resources/job-requisitions-write.js +18 -0
- package/resources/job-requisitions-write.js.map +1 -0
- package/resources/job-requisitions-write.mjs +14 -0
- package/resources/job-requisitions-write.mjs.map +1 -0
- package/resources/job-requisitions.d.mts +50 -0
- package/resources/job-requisitions.d.mts.map +1 -0
- package/resources/job-requisitions.d.ts +50 -0
- package/resources/job-requisitions.d.ts.map +1 -0
- package/resources/job-requisitions.js +25 -0
- package/resources/job-requisitions.js.map +1 -0
- package/resources/job-requisitions.mjs +21 -0
- package/resources/job-requisitions.mjs.map +1 -0
- package/resources/kiosk-badges.d.mts +255 -0
- package/resources/kiosk-badges.d.mts.map +1 -0
- package/resources/kiosk-badges.d.ts +255 -0
- package/resources/kiosk-badges.d.ts.map +1 -0
- package/resources/kiosk-badges.js +56 -0
- package/resources/kiosk-badges.js.map +1 -0
- package/resources/kiosk-badges.mjs +52 -0
- package/resources/kiosk-badges.mjs.map +1 -0
- package/resources/leave-accruals.d.mts +318 -0
- package/resources/leave-accruals.d.mts.map +1 -0
- package/resources/leave-accruals.d.ts +318 -0
- package/resources/leave-accruals.d.ts.map +1 -0
- package/resources/leave-accruals.js +41 -0
- package/resources/leave-accruals.js.map +1 -0
- package/resources/leave-accruals.mjs +37 -0
- package/resources/leave-accruals.mjs.map +1 -0
- package/resources/leave-balances.d.mts +106 -0
- package/resources/leave-balances.d.mts.map +1 -0
- package/resources/leave-balances.d.ts +106 -0
- package/resources/leave-balances.d.ts.map +1 -0
- package/resources/leave-balances.js +31 -0
- package/resources/leave-balances.js.map +1 -0
- package/resources/leave-balances.mjs +27 -0
- package/resources/leave-balances.mjs.map +1 -0
- package/resources/leave-program-evaluations.d.mts +599 -0
- package/resources/leave-program-evaluations.d.mts.map +1 -0
- package/resources/leave-program-evaluations.d.ts +599 -0
- package/resources/leave-program-evaluations.d.ts.map +1 -0
- package/resources/leave-program-evaluations.js +18 -0
- package/resources/leave-program-evaluations.js.map +1 -0
- package/resources/leave-program-evaluations.mjs +14 -0
- package/resources/leave-program-evaluations.mjs.map +1 -0
- package/resources/leave-requests.d.mts +739 -0
- package/resources/leave-requests.d.mts.map +1 -0
- package/resources/leave-requests.d.ts +739 -0
- package/resources/leave-requests.d.ts.map +1 -0
- package/resources/leave-requests.js +47 -0
- package/resources/leave-requests.js.map +1 -0
- package/resources/leave-requests.mjs +43 -0
- package/resources/leave-requests.mjs.map +1 -0
- package/resources/leave-types.d.mts +75 -0
- package/resources/leave-types.d.mts.map +1 -0
- package/resources/leave-types.d.ts +75 -0
- package/resources/leave-types.d.ts.map +1 -0
- package/resources/leave-types.js +30 -0
- package/resources/leave-types.js.map +1 -0
- package/resources/leave-types.mjs +26 -0
- package/resources/leave-types.mjs.map +1 -0
- package/resources/legal-entities.d.mts +125 -0
- package/resources/legal-entities.d.mts.map +1 -0
- package/resources/legal-entities.d.ts +125 -0
- package/resources/legal-entities.d.ts.map +1 -0
- package/resources/legal-entities.js +30 -0
- package/resources/legal-entities.js.map +1 -0
- package/resources/legal-entities.mjs +26 -0
- package/resources/legal-entities.mjs.map +1 -0
- package/resources/levels.d.mts +182 -0
- package/resources/levels.d.mts.map +1 -0
- package/resources/levels.d.ts +182 -0
- package/resources/levels.d.ts.map +1 -0
- package/resources/levels.js +52 -0
- package/resources/levels.js.map +1 -0
- package/resources/levels.mjs +48 -0
- package/resources/levels.mjs.map +1 -0
- package/resources/listing-submissions.d.mts +86 -0
- package/resources/listing-submissions.d.mts.map +1 -0
- package/resources/listing-submissions.d.ts +86 -0
- package/resources/listing-submissions.d.ts.map +1 -0
- package/resources/listing-submissions.js +31 -0
- package/resources/listing-submissions.js.map +1 -0
- package/resources/listing-submissions.mjs +27 -0
- package/resources/listing-submissions.mjs.map +1 -0
- package/resources/listing-transitions.d.mts +59 -0
- package/resources/listing-transitions.d.mts.map +1 -0
- package/resources/listing-transitions.d.ts +59 -0
- package/resources/listing-transitions.d.ts.map +1 -0
- package/resources/listing-transitions.js +24 -0
- package/resources/listing-transitions.js.map +1 -0
- package/resources/listing-transitions.mjs +20 -0
- package/resources/listing-transitions.mjs.map +1 -0
- package/resources/listing.d.mts +1818 -0
- package/resources/listing.d.mts.map +1 -0
- package/resources/listing.d.ts +1818 -0
- package/resources/listing.d.ts.map +1 -0
- package/resources/listing.js +70 -0
- package/resources/listing.js.map +1 -0
- package/resources/listing.mjs +66 -0
- package/resources/listing.mjs.map +1 -0
- package/resources/location-factors.d.mts +119 -0
- package/resources/location-factors.d.mts.map +1 -0
- package/resources/location-factors.d.ts +119 -0
- package/resources/location-factors.d.ts.map +1 -0
- package/resources/location-factors.js +32 -0
- package/resources/location-factors.js.map +1 -0
- package/resources/location-factors.mjs +28 -0
- package/resources/location-factors.mjs.map +1 -0
- package/resources/metadata/components.d.mts +303 -0
- package/resources/metadata/components.d.mts.map +1 -0
- package/resources/metadata/components.d.ts +303 -0
- package/resources/metadata/components.d.ts.map +1 -0
- package/resources/metadata/components.js +83 -0
- package/resources/metadata/components.js.map +1 -0
- package/resources/metadata/components.mjs +79 -0
- package/resources/metadata/components.mjs.map +1 -0
- package/resources/metadata/deployment-runs.d.mts +143 -0
- package/resources/metadata/deployment-runs.d.mts.map +1 -0
- package/resources/metadata/deployment-runs.d.ts +143 -0
- package/resources/metadata/deployment-runs.d.ts.map +1 -0
- package/resources/metadata/deployment-runs.js +73 -0
- package/resources/metadata/deployment-runs.js.map +1 -0
- package/resources/metadata/deployment-runs.mjs +69 -0
- package/resources/metadata/deployment-runs.mjs.map +1 -0
- package/resources/metadata/index.d.mts +7 -0
- package/resources/metadata/index.d.mts.map +1 -0
- package/resources/metadata/index.d.ts +7 -0
- package/resources/metadata/index.d.ts.map +1 -0
- package/resources/metadata/index.js +17 -0
- package/resources/metadata/index.js.map +1 -0
- package/resources/metadata/index.mjs +8 -0
- package/resources/metadata/index.mjs.map +1 -0
- package/resources/metadata/metadata.d.mts +163 -0
- package/resources/metadata/metadata.d.mts.map +1 -0
- package/resources/metadata/metadata.d.ts +163 -0
- package/resources/metadata/metadata.d.ts.map +1 -0
- package/resources/metadata/metadata.js +65 -0
- package/resources/metadata/metadata.js.map +1 -0
- package/resources/metadata/metadata.mjs +60 -0
- package/resources/metadata/metadata.mjs.map +1 -0
- package/resources/metadata/schema.d.mts +92 -0
- package/resources/metadata/schema.d.mts.map +1 -0
- package/resources/metadata/schema.d.ts +92 -0
- package/resources/metadata/schema.d.ts.map +1 -0
- package/resources/metadata/schema.js +27 -0
- package/resources/metadata/schema.js.map +1 -0
- package/resources/metadata/schema.mjs +23 -0
- package/resources/metadata/schema.mjs.map +1 -0
- package/resources/metadata/types.d.mts +46 -0
- package/resources/metadata/types.d.mts.map +1 -0
- package/resources/metadata/types.d.ts +46 -0
- package/resources/metadata/types.d.ts.map +1 -0
- package/resources/metadata/types.js +26 -0
- package/resources/metadata/types.js.map +1 -0
- package/resources/metadata/types.mjs +22 -0
- package/resources/metadata/types.mjs.map +1 -0
- package/resources/metadata/validation-runs.d.mts +143 -0
- package/resources/metadata/validation-runs.d.mts.map +1 -0
- package/resources/metadata/validation-runs.d.ts +143 -0
- package/resources/metadata/validation-runs.d.ts.map +1 -0
- package/resources/metadata/validation-runs.js +73 -0
- package/resources/metadata/validation-runs.js.map +1 -0
- package/resources/metadata/validation-runs.mjs +69 -0
- package/resources/metadata/validation-runs.mjs.map +1 -0
- package/resources/metadata.d.mts +2 -0
- package/resources/metadata.d.mts.map +1 -0
- package/resources/metadata.d.ts +2 -0
- package/resources/metadata.d.ts.map +1 -0
- package/resources/metadata.js +6 -0
- package/resources/metadata.js.map +1 -0
- package/resources/metadata.mjs +3 -0
- package/resources/metadata.mjs.map +1 -0
- package/resources/object-categories.d.mts +85 -0
- package/resources/object-categories.d.mts.map +1 -0
- package/resources/object-categories.d.ts +85 -0
- package/resources/object-categories.d.ts.map +1 -0
- package/resources/object-categories.js +53 -0
- package/resources/object-categories.js.map +1 -0
- package/resources/object-categories.mjs +49 -0
- package/resources/object-categories.mjs.map +1 -0
- package/resources/package-installs.d.mts +108 -0
- package/resources/package-installs.d.mts.map +1 -0
- package/resources/package-installs.d.ts +108 -0
- package/resources/package-installs.d.ts.map +1 -0
- package/resources/package-installs.js +25 -0
- package/resources/package-installs.js.map +1 -0
- package/resources/package-installs.mjs +21 -0
- package/resources/package-installs.mjs.map +1 -0
- package/resources/package-managed-installs.d.mts +119 -0
- package/resources/package-managed-installs.d.mts.map +1 -0
- package/resources/package-managed-installs.d.ts +119 -0
- package/resources/package-managed-installs.d.ts.map +1 -0
- package/resources/package-managed-installs.js +26 -0
- package/resources/package-managed-installs.js.map +1 -0
- package/resources/package-managed-installs.mjs +22 -0
- package/resources/package-managed-installs.mjs.map +1 -0
- package/resources/package-sandbox-links.d.mts +150 -0
- package/resources/package-sandbox-links.d.mts.map +1 -0
- package/resources/package-sandbox-links.d.ts +150 -0
- package/resources/package-sandbox-links.d.ts.map +1 -0
- package/resources/package-sandbox-links.js +25 -0
- package/resources/package-sandbox-links.js.map +1 -0
- package/resources/package-sandbox-links.mjs +21 -0
- package/resources/package-sandbox-links.mjs.map +1 -0
- package/resources/package-uninstalls.d.mts +128 -0
- package/resources/package-uninstalls.d.mts.map +1 -0
- package/resources/package-uninstalls.d.ts +128 -0
- package/resources/package-uninstalls.d.ts.map +1 -0
- package/resources/package-uninstalls.js +25 -0
- package/resources/package-uninstalls.js.map +1 -0
- package/resources/package-uninstalls.mjs +21 -0
- package/resources/package-uninstalls.mjs.map +1 -0
- package/resources/package-upgrades.d.mts +140 -0
- package/resources/package-upgrades.d.mts.map +1 -0
- package/resources/package-upgrades.d.ts +140 -0
- package/resources/package-upgrades.d.ts.map +1 -0
- package/resources/package-upgrades.js +25 -0
- package/resources/package-upgrades.js.map +1 -0
- package/resources/package-upgrades.mjs +21 -0
- package/resources/package-upgrades.mjs.map +1 -0
- package/resources/package-version-component-updates.d.mts +117 -0
- package/resources/package-version-component-updates.d.mts.map +1 -0
- package/resources/package-version-component-updates.d.ts +117 -0
- package/resources/package-version-component-updates.d.ts.map +1 -0
- package/resources/package-version-component-updates.js +33 -0
- package/resources/package-version-component-updates.js.map +1 -0
- package/resources/package-version-component-updates.mjs +29 -0
- package/resources/package-version-component-updates.mjs.map +1 -0
- package/resources/package-versions/index.d.mts +3 -0
- package/resources/package-versions/index.d.mts.map +1 -0
- package/resources/package-versions/index.d.ts +3 -0
- package/resources/package-versions/index.d.ts.map +1 -0
- package/resources/package-versions/index.js +9 -0
- package/resources/package-versions/index.js.map +1 -0
- package/resources/package-versions/index.mjs +4 -0
- package/resources/package-versions/index.mjs.map +1 -0
- package/resources/package-versions/package-versions.d.mts +114 -0
- package/resources/package-versions/package-versions.d.mts.map +1 -0
- package/resources/package-versions/package-versions.d.ts +114 -0
- package/resources/package-versions/package-versions.d.ts.map +1 -0
- package/resources/package-versions/package-versions.js +33 -0
- package/resources/package-versions/package-versions.js.map +1 -0
- package/resources/package-versions/package-versions.mjs +28 -0
- package/resources/package-versions/package-versions.mjs.map +1 -0
- package/resources/package-versions/publish.d.mts +58 -0
- package/resources/package-versions/publish.d.mts.map +1 -0
- package/resources/package-versions/publish.d.ts +58 -0
- package/resources/package-versions/publish.d.ts.map +1 -0
- package/resources/package-versions/publish.js +19 -0
- package/resources/package-versions/publish.js.map +1 -0
- package/resources/package-versions/publish.mjs +15 -0
- package/resources/package-versions/publish.mjs.map +1 -0
- package/resources/package-versions.d.mts +2 -0
- package/resources/package-versions.d.mts.map +1 -0
- package/resources/package-versions.d.ts +2 -0
- package/resources/package-versions.d.ts.map +1 -0
- package/resources/package-versions.js +6 -0
- package/resources/package-versions.js.map +1 -0
- package/resources/package-versions.mjs +3 -0
- package/resources/package-versions.mjs.map +1 -0
- package/resources/packages/available-upgrades.d.mts +33 -0
- package/resources/packages/available-upgrades.d.mts.map +1 -0
- package/resources/packages/available-upgrades.d.ts +33 -0
- package/resources/packages/available-upgrades.d.ts.map +1 -0
- package/resources/packages/available-upgrades.js +20 -0
- package/resources/packages/available-upgrades.js.map +1 -0
- package/resources/packages/available-upgrades.mjs +16 -0
- package/resources/packages/available-upgrades.mjs.map +1 -0
- package/resources/packages/index.d.mts +5 -0
- package/resources/packages/index.d.mts.map +1 -0
- package/resources/packages/index.d.ts +5 -0
- package/resources/packages/index.d.ts.map +1 -0
- package/resources/packages/index.js +13 -0
- package/resources/packages/index.js.map +1 -0
- package/resources/packages/index.mjs +6 -0
- package/resources/packages/index.mjs.map +1 -0
- package/resources/packages/next-versions.d.mts +70 -0
- package/resources/packages/next-versions.d.mts.map +1 -0
- package/resources/packages/next-versions.d.ts +70 -0
- package/resources/packages/next-versions.d.ts.map +1 -0
- package/resources/packages/next-versions.js +21 -0
- package/resources/packages/next-versions.js.map +1 -0
- package/resources/packages/next-versions.mjs +17 -0
- package/resources/packages/next-versions.mjs.map +1 -0
- package/resources/packages/packages.d.mts +251 -0
- package/resources/packages/packages.d.mts.map +1 -0
- package/resources/packages/packages.d.ts +251 -0
- package/resources/packages/packages.d.ts.map +1 -0
- package/resources/packages/packages.js +68 -0
- package/resources/packages/packages.js.map +1 -0
- package/resources/packages/packages.mjs +63 -0
- package/resources/packages/packages.mjs.map +1 -0
- package/resources/packages/versions.d.mts +123 -0
- package/resources/packages/versions.d.mts.map +1 -0
- package/resources/packages/versions.d.ts +123 -0
- package/resources/packages/versions.d.ts.map +1 -0
- package/resources/packages/versions.js +26 -0
- package/resources/packages/versions.js.map +1 -0
- package/resources/packages/versions.mjs +22 -0
- package/resources/packages/versions.mjs.map +1 -0
- package/resources/packages.d.mts +2 -0
- package/resources/packages.d.mts.map +1 -0
- package/resources/packages.d.ts +2 -0
- package/resources/packages.d.ts.map +1 -0
- package/resources/packages.js +6 -0
- package/resources/packages.js.map +1 -0
- package/resources/packages.mjs +3 -0
- package/resources/packages.mjs.map +1 -0
- package/resources/payroll-runs/index.d.mts +3 -0
- package/resources/payroll-runs/index.d.mts.map +1 -0
- package/resources/payroll-runs/index.d.ts +3 -0
- package/resources/payroll-runs/index.d.ts.map +1 -0
- package/resources/payroll-runs/index.js +9 -0
- package/resources/payroll-runs/index.js.map +1 -0
- package/resources/payroll-runs/index.mjs +4 -0
- package/resources/payroll-runs/index.mjs.map +1 -0
- package/resources/payroll-runs/payroll-runs.d.mts +204 -0
- package/resources/payroll-runs/payroll-runs.d.mts.map +1 -0
- package/resources/payroll-runs/payroll-runs.d.ts +204 -0
- package/resources/payroll-runs/payroll-runs.d.ts.map +1 -0
- package/resources/payroll-runs/payroll-runs.js +40 -0
- package/resources/payroll-runs/payroll-runs.js.map +1 -0
- package/resources/payroll-runs/payroll-runs.mjs +35 -0
- package/resources/payroll-runs/payroll-runs.mjs.map +1 -0
- package/resources/payroll-runs/worker-payroll-records.d.mts +204 -0
- package/resources/payroll-runs/worker-payroll-records.d.mts.map +1 -0
- package/resources/payroll-runs/worker-payroll-records.d.ts +204 -0
- package/resources/payroll-runs/worker-payroll-records.d.ts.map +1 -0
- package/resources/payroll-runs/worker-payroll-records.js +23 -0
- package/resources/payroll-runs/worker-payroll-records.js.map +1 -0
- package/resources/payroll-runs/worker-payroll-records.mjs +19 -0
- package/resources/payroll-runs/worker-payroll-records.mjs.map +1 -0
- package/resources/payroll-runs.d.mts +2 -0
- package/resources/payroll-runs.d.mts.map +1 -0
- package/resources/payroll-runs.d.ts +2 -0
- package/resources/payroll-runs.d.ts.map +1 -0
- package/resources/payroll-runs.js +6 -0
- package/resources/payroll-runs.js.map +1 -0
- package/resources/payroll-runs.mjs +3 -0
- package/resources/payroll-runs.mjs.map +1 -0
- package/resources/platform-capabilities.d.mts +25 -0
- package/resources/platform-capabilities.d.mts.map +1 -0
- package/resources/platform-capabilities.d.ts +25 -0
- package/resources/platform-capabilities.d.ts.map +1 -0
- package/resources/platform-capabilities.js +21 -0
- package/resources/platform-capabilities.js.map +1 -0
- package/resources/platform-capabilities.mjs +17 -0
- package/resources/platform-capabilities.mjs.map +1 -0
- package/resources/report-runs.d.mts +218 -0
- package/resources/report-runs.d.mts.map +1 -0
- package/resources/report-runs.d.ts +218 -0
- package/resources/report-runs.d.ts.map +1 -0
- package/resources/report-runs.js +25 -0
- package/resources/report-runs.js.map +1 -0
- package/resources/report-runs.mjs +21 -0
- package/resources/report-runs.mjs.map +1 -0
- package/resources/reports/available-filters.d.mts +49 -0
- package/resources/reports/available-filters.d.mts.map +1 -0
- package/resources/reports/available-filters.d.ts +49 -0
- package/resources/reports/available-filters.d.ts.map +1 -0
- package/resources/reports/available-filters.js +20 -0
- package/resources/reports/available-filters.js.map +1 -0
- package/resources/reports/available-filters.mjs +16 -0
- package/resources/reports/available-filters.mjs.map +1 -0
- package/resources/reports/index.d.mts +3 -0
- package/resources/reports/index.d.mts.map +1 -0
- package/resources/reports/index.d.ts +3 -0
- package/resources/reports/index.d.ts.map +1 -0
- package/resources/reports/index.js +9 -0
- package/resources/reports/index.js.map +1 -0
- package/resources/reports/index.mjs +4 -0
- package/resources/reports/index.mjs.map +1 -0
- package/resources/reports/reports.d.mts +85 -0
- package/resources/reports/reports.d.mts.map +1 -0
- package/resources/reports/reports.d.ts +85 -0
- package/resources/reports/reports.d.ts.map +1 -0
- package/resources/reports/reports.js +27 -0
- package/resources/reports/reports.js.map +1 -0
- package/resources/reports/reports.mjs +22 -0
- package/resources/reports/reports.mjs.map +1 -0
- package/resources/reports.d.mts +2 -0
- package/resources/reports.d.mts.map +1 -0
- package/resources/reports.d.ts +2 -0
- package/resources/reports.d.ts.map +1 -0
- package/resources/reports.js +6 -0
- package/resources/reports.js.map +1 -0
- package/resources/reports.mjs +3 -0
- package/resources/reports.mjs.map +1 -0
- package/resources/sandboxes.d.mts +904 -0
- package/resources/sandboxes.d.mts.map +1 -0
- package/resources/sandboxes.d.ts +904 -0
- package/resources/sandboxes.d.ts.map +1 -0
- package/resources/sandboxes.js +52 -0
- package/resources/sandboxes.js.map +1 -0
- package/resources/sandboxes.mjs +48 -0
- package/resources/sandboxes.mjs.map +1 -0
- package/resources/scheduled-job-assignments.d.mts +152 -0
- package/resources/scheduled-job-assignments.d.mts.map +1 -0
- package/resources/scheduled-job-assignments.d.ts +152 -0
- package/resources/scheduled-job-assignments.d.ts.map +1 -0
- package/resources/scheduled-job-assignments.js +39 -0
- package/resources/scheduled-job-assignments.js.map +1 -0
- package/resources/scheduled-job-assignments.mjs +35 -0
- package/resources/scheduled-job-assignments.mjs.map +1 -0
- package/resources/schedules.d.mts +397 -0
- package/resources/schedules.d.mts.map +1 -0
- package/resources/schedules.d.ts +397 -0
- package/resources/schedules.d.ts.map +1 -0
- package/resources/schedules.js +42 -0
- package/resources/schedules.js.map +1 -0
- package/resources/schedules.mjs +38 -0
- package/resources/schedules.mjs.map +1 -0
- package/resources/shared.d.mts +90 -0
- package/resources/shared.d.mts.map +1 -0
- package/resources/shared.d.ts +90 -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-assignments.d.mts +299 -0
- package/resources/shift-assignments.d.mts.map +1 -0
- package/resources/shift-assignments.d.ts +299 -0
- package/resources/shift-assignments.d.ts.map +1 -0
- package/resources/shift-assignments.js +28 -0
- package/resources/shift-assignments.js.map +1 -0
- package/resources/shift-assignments.mjs +24 -0
- package/resources/shift-assignments.mjs.map +1 -0
- package/resources/shift-inputs.d.mts +299 -0
- package/resources/shift-inputs.d.mts.map +1 -0
- package/resources/shift-inputs.d.ts +299 -0
- package/resources/shift-inputs.d.ts.map +1 -0
- package/resources/shift-inputs.js +56 -0
- package/resources/shift-inputs.js.map +1 -0
- package/resources/shift-inputs.mjs +52 -0
- package/resources/shift-inputs.mjs.map +1 -0
- package/resources/shiftassignments.d.mts +1252 -0
- package/resources/shiftassignments.d.mts.map +1 -0
- package/resources/shiftassignments.d.ts +1252 -0
- package/resources/shiftassignments.d.ts.map +1 -0
- package/resources/shiftassignments.js +47 -0
- package/resources/shiftassignments.js.map +1 -0
- package/resources/shiftassignments.mjs +43 -0
- package/resources/shiftassignments.mjs.map +1 -0
- package/resources/sites.d.mts +610 -0
- package/resources/sites.d.mts.map +1 -0
- package/resources/sites.d.ts +610 -0
- package/resources/sites.d.ts.map +1 -0
- package/resources/sites.js +154 -0
- package/resources/sites.js.map +1 -0
- package/resources/sites.mjs +150 -0
- package/resources/sites.mjs.map +1 -0
- package/resources/software-deployments.d.mts +472 -0
- package/resources/software-deployments.d.mts.map +1 -0
- package/resources/software-deployments.d.ts +472 -0
- package/resources/software-deployments.d.ts.map +1 -0
- package/resources/software-deployments.js +56 -0
- package/resources/software-deployments.js.map +1 -0
- package/resources/software-deployments.mjs +52 -0
- package/resources/software-deployments.mjs.map +1 -0
- package/resources/sso-me.d.mts +56 -0
- package/resources/sso-me.d.mts.map +1 -0
- package/resources/sso-me.d.ts +56 -0
- package/resources/sso-me.d.ts.map +1 -0
- package/resources/sso-me.js +21 -0
- package/resources/sso-me.js.map +1 -0
- package/resources/sso-me.mjs +17 -0
- package/resources/sso-me.mjs.map +1 -0
- package/resources/supergroups/exclusion-members.d.mts +66 -0
- package/resources/supergroups/exclusion-members.d.mts.map +1 -0
- package/resources/supergroups/exclusion-members.d.ts +66 -0
- package/resources/supergroups/exclusion-members.d.ts.map +1 -0
- package/resources/supergroups/exclusion-members.js +30 -0
- package/resources/supergroups/exclusion-members.js.map +1 -0
- package/resources/supergroups/exclusion-members.mjs +26 -0
- package/resources/supergroups/exclusion-members.mjs.map +1 -0
- package/resources/supergroups/inclusion-members.d.mts +66 -0
- package/resources/supergroups/inclusion-members.d.mts.map +1 -0
- package/resources/supergroups/inclusion-members.d.ts +66 -0
- package/resources/supergroups/inclusion-members.d.ts.map +1 -0
- package/resources/supergroups/inclusion-members.js +30 -0
- package/resources/supergroups/inclusion-members.js.map +1 -0
- package/resources/supergroups/inclusion-members.mjs +26 -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 +32 -0
- package/resources/supergroups/members.d.mts.map +1 -0
- package/resources/supergroups/members.d.ts +32 -0
- package/resources/supergroups/members.d.ts.map +1 -0
- package/resources/supergroups/members.js +24 -0
- package/resources/supergroups/members.js.map +1 -0
- package/resources/supergroups/members.mjs +20 -0
- package/resources/supergroups/members.mjs.map +1 -0
- package/resources/supergroups/supergroups.d.mts +131 -0
- package/resources/supergroups/supergroups.d.mts.map +1 -0
- package/resources/supergroups/supergroups.d.ts +131 -0
- package/resources/supergroups/supergroups.d.ts.map +1 -0
- package/resources/supergroups/supergroups.js +46 -0
- package/resources/supergroups/supergroups.js.map +1 -0
- package/resources/supergroups/supergroups.mjs +41 -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 +104 -0
- package/resources/teams.d.mts.map +1 -0
- package/resources/teams.d.ts +104 -0
- package/resources/teams.d.ts.map +1 -0
- package/resources/teams.js +52 -0
- package/resources/teams.js.map +1 -0
- package/resources/teams.mjs +48 -0
- package/resources/teams.mjs.map +1 -0
- package/resources/time-cards.d.mts +164 -0
- package/resources/time-cards.d.mts.map +1 -0
- package/resources/time-cards.d.ts +164 -0
- package/resources/time-cards.d.ts.map +1 -0
- package/resources/time-cards.js +31 -0
- package/resources/time-cards.js.map +1 -0
- package/resources/time-cards.mjs +27 -0
- package/resources/time-cards.mjs.map +1 -0
- package/resources/time-entries.d.mts +1503 -0
- package/resources/time-entries.d.mts.map +1 -0
- package/resources/time-entries.d.ts +1503 -0
- package/resources/time-entries.d.ts.map +1 -0
- package/resources/time-entries.js +57 -0
- package/resources/time-entries.js.map +1 -0
- package/resources/time-entries.mjs +53 -0
- package/resources/time-entries.mjs.map +1 -0
- package/resources/titles.d.mts +133 -0
- package/resources/titles.d.mts.map +1 -0
- package/resources/titles.d.ts +133 -0
- package/resources/titles.d.ts.map +1 -0
- package/resources/titles.js +51 -0
- package/resources/titles.js.map +1 -0
- package/resources/titles.mjs +47 -0
- package/resources/titles.mjs.map +1 -0
- package/resources/tracks.d.mts +101 -0
- package/resources/tracks.d.mts.map +1 -0
- package/resources/tracks.d.ts +101 -0
- package/resources/tracks.d.ts.map +1 -0
- package/resources/tracks.js +51 -0
- package/resources/tracks.js.map +1 -0
- package/resources/tracks.mjs +47 -0
- package/resources/tracks.mjs.map +1 -0
- package/resources/unassigned-shifts.d.mts +337 -0
- package/resources/unassigned-shifts.d.mts.map +1 -0
- package/resources/unassigned-shifts.d.ts +337 -0
- package/resources/unassigned-shifts.d.ts.map +1 -0
- package/resources/unassigned-shifts.js +45 -0
- package/resources/unassigned-shifts.js.map +1 -0
- package/resources/unassigned-shifts.mjs +41 -0
- package/resources/unassigned-shifts.mjs.map +1 -0
- package/resources/unassignedshifts.d.mts +1254 -0
- package/resources/unassignedshifts.d.mts.map +1 -0
- package/resources/unassignedshifts.d.ts +1254 -0
- package/resources/unassignedshifts.d.ts.map +1 -0
- package/resources/unassignedshifts.js +47 -0
- package/resources/unassignedshifts.js.map +1 -0
- package/resources/unassignedshifts.mjs +43 -0
- package/resources/unassignedshifts.mjs.map +1 -0
- package/resources/users.d.mts +208 -0
- package/resources/users.d.mts.map +1 -0
- package/resources/users.d.ts +208 -0
- package/resources/users.d.ts.map +1 -0
- package/resources/users.js +29 -0
- package/resources/users.js.map +1 -0
- package/resources/users.mjs +25 -0
- package/resources/users.mjs.map +1 -0
- package/resources/variable-compensation-payout-labels.d.mts +155 -0
- package/resources/variable-compensation-payout-labels.d.mts.map +1 -0
- package/resources/variable-compensation-payout-labels.d.ts +155 -0
- package/resources/variable-compensation-payout-labels.d.ts.map +1 -0
- package/resources/variable-compensation-payout-labels.js +41 -0
- package/resources/variable-compensation-payout-labels.js.map +1 -0
- package/resources/variable-compensation-payout-labels.mjs +37 -0
- package/resources/variable-compensation-payout-labels.mjs.map +1 -0
- package/resources/variable-compensation-payout-types.d.mts +334 -0
- package/resources/variable-compensation-payout-types.d.mts.map +1 -0
- package/resources/variable-compensation-payout-types.d.ts +334 -0
- package/resources/variable-compensation-payout-types.d.ts.map +1 -0
- package/resources/variable-compensation-payout-types.js +52 -0
- package/resources/variable-compensation-payout-types.js.map +1 -0
- package/resources/variable-compensation-payout-types.mjs +48 -0
- package/resources/variable-compensation-payout-types.mjs.map +1 -0
- package/resources/variable-compensation-payout-writes.d.mts +115 -0
- package/resources/variable-compensation-payout-writes.d.mts.map +1 -0
- package/resources/variable-compensation-payout-writes.d.ts +115 -0
- package/resources/variable-compensation-payout-writes.d.ts.map +1 -0
- package/resources/variable-compensation-payout-writes.js +19 -0
- package/resources/variable-compensation-payout-writes.js.map +1 -0
- package/resources/variable-compensation-payout-writes.mjs +15 -0
- package/resources/variable-compensation-payout-writes.mjs.map +1 -0
- package/resources/variable-compensation-payouts.d.mts +501 -0
- package/resources/variable-compensation-payouts.d.mts.map +1 -0
- package/resources/variable-compensation-payouts.d.ts +501 -0
- package/resources/variable-compensation-payouts.d.ts.map +1 -0
- package/resources/variable-compensation-payouts.js +41 -0
- package/resources/variable-compensation-payouts.js.map +1 -0
- package/resources/variable-compensation-payouts.mjs +37 -0
- package/resources/variable-compensation-payouts.mjs.map +1 -0
- package/resources/work-locations.d.mts +160 -0
- package/resources/work-locations.d.mts.map +1 -0
- package/resources/work-locations.d.ts +160 -0
- package/resources/work-locations.d.ts.map +1 -0
- package/resources/work-locations.js +51 -0
- package/resources/work-locations.js.map +1 -0
- package/resources/work-locations.mjs +47 -0
- package/resources/work-locations.mjs.map +1 -0
- package/resources/worker-change-fields.d.mts +44 -0
- package/resources/worker-change-fields.d.mts.map +1 -0
- package/resources/worker-change-fields.d.ts +44 -0
- package/resources/worker-change-fields.d.ts.map +1 -0
- package/resources/worker-change-fields.js +21 -0
- package/resources/worker-change-fields.js.map +1 -0
- package/resources/worker-change-fields.mjs +17 -0
- package/resources/worker-change-fields.mjs.map +1 -0
- package/resources/worker-changes.d.mts +271 -0
- package/resources/worker-changes.d.mts.map +1 -0
- package/resources/worker-changes.d.ts +271 -0
- package/resources/worker-changes.d.ts.map +1 -0
- package/resources/worker-changes.js +36 -0
- package/resources/worker-changes.js.map +1 -0
- package/resources/worker-changes.mjs +32 -0
- package/resources/worker-changes.mjs.map +1 -0
- package/resources/worker-time-splits.d.mts +375 -0
- package/resources/worker-time-splits.d.mts.map +1 -0
- package/resources/worker-time-splits.d.ts +375 -0
- package/resources/worker-time-splits.d.ts.map +1 -0
- package/resources/worker-time-splits.js +56 -0
- package/resources/worker-time-splits.js.map +1 -0
- package/resources/worker-time-splits.mjs +52 -0
- package/resources/worker-time-splits.mjs.map +1 -0
- package/resources/workers.d.mts +399 -0
- package/resources/workers.d.mts.map +1 -0
- package/resources/workers.d.ts +399 -0
- package/resources/workers.d.ts.map +1 -0
- package/resources/workers.js +34 -0
- package/resources/workers.js.map +1 -0
- package/resources/workers.mjs +30 -0
- package/resources/workers.mjs.map +1 -0
- package/resources/workflow-action-executions.d.mts +33 -0
- package/resources/workflow-action-executions.d.mts.map +1 -0
- package/resources/workflow-action-executions.d.ts +33 -0
- package/resources/workflow-action-executions.d.ts.map +1 -0
- package/resources/workflow-action-executions.js +18 -0
- package/resources/workflow-action-executions.js.map +1 -0
- package/resources/workflow-action-executions.mjs +14 -0
- package/resources/workflow-action-executions.mjs.map +1 -0
- package/resources/workflows.d.mts +768 -0
- package/resources/workflows.d.mts.map +1 -0
- package/resources/workflows.d.ts +768 -0
- package/resources/workflows.d.ts.map +1 -0
- package/resources/workflows.js +48 -0
- package/resources/workflows.js.map +1 -0
- package/resources/workflows.mjs +44 -0
- package/resources/workflows.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 +2996 -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/platform/custom-objects/category.ts +294 -0
- package/src/core/platform/custom-objects/definition.ts +373 -0
- package/src/core/platform/custom-objects/fields.ts +653 -0
- package/src/core/platform/custom-objects/function-runtime.ts +76 -0
- package/src/core/platform/custom-objects/lifecycle.ts +557 -0
- package/src/core/platform/custom-objects/manager.ts +959 -0
- package/src/core/platform/custom-objects/provisioning.ts +672 -0
- package/src/core/platform/custom-objects/rql.ts +375 -0
- package/src/core/platform/custom-objects/schema-manager.ts +351 -0
- package/src/core/platform/custom-objects/typed-rql.ts +1273 -0
- package/src/core/platform/custom-objects/types.ts +753 -0
- package/src/core/platform/custom-objects/validation.ts +573 -0
- package/src/core/platform/custom-objects.ts +269 -0
- package/src/core/resource.ts +11 -0
- package/src/core/uploads.ts +2 -0
- package/src/error.ts +2 -0
- package/src/functions.md +254 -0
- package/src/functions.ts +270 -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 +56 -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 +93 -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 +128 -0
- package/src/internal/utils/path.ts +88 -0
- package/src/internal/utils/query.ts +23 -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 +9 -0
- package/src/lib/.keep +4 -0
- package/src/lib/leave-programs/README.md +160 -0
- package/src/lib/leave-programs/advanced.ts +11 -0
- package/src/lib/leave-programs/context.ts +101 -0
- package/src/lib/leave-programs/define-company-leave-program.ts +58 -0
- package/src/lib/leave-programs/duration.ts +20 -0
- package/src/lib/leave-programs/pay.ts +18 -0
- package/src/lib/leave-programs/policy-builder.ts +113 -0
- package/src/lib/leave-programs/recipes/parental-top-up-policy.ts +85 -0
- package/src/lib/leave-programs/testing.ts +16 -0
- package/src/lib/leave-programs/types.ts +274 -0
- package/src/lib/leave-programs.ts +35 -0
- package/src/lib/manifest/_existing-component-fields.ts +96 -0
- package/src/lib/manifest/_helpers.ts +168 -0
- package/src/lib/manifest/acp-agent-source-files.ts +42 -0
- package/src/lib/manifest/acp-agent.ts +215 -0
- package/src/lib/manifest/agent.ts +141 -0
- package/src/lib/manifest/app.ts +233 -0
- package/src/lib/manifest/business-event.ts +72 -0
- package/src/lib/manifest/category.ts +129 -0
- package/src/lib/manifest/custom-field-section.ts +86 -0
- package/src/lib/manifest/custom-field.ts +420 -0
- package/src/lib/manifest/custom-object-action.ts +119 -0
- package/src/lib/manifest/custom-object-field-section.ts +137 -0
- package/src/lib/manifest/custom-object-page-layout.ts +2378 -0
- package/src/lib/manifest/custom-object.ts +544 -0
- package/src/lib/manifest/custom-skill.ts +205 -0
- package/src/lib/manifest/existing-manifest-context.ts +923 -0
- package/src/lib/manifest/field.ts +1065 -0
- package/src/lib/manifest/index.ts +284 -0
- package/src/lib/manifest/list-view.ts +253 -0
- package/src/lib/manifest/manifest-builder.ts +255 -0
- package/src/lib/manifest/manifest-function.ts +186 -0
- package/src/lib/manifest/node.ts +4 -0
- package/src/lib/manifest/rule.ts +291 -0
- package/src/lib/manifest/sdui-page.ts +175 -0
- package/src/lib/manifest/validation.ts +202 -0
- package/src/lib/manifest/workflow.ts +248 -0
- package/src/lib/manifest.ts +1 -0
- package/src/pagination.ts +2 -0
- package/src/resource.ts +2 -0
- package/src/resources/agents/agents.ts +340 -0
- package/src/resources/agents/deployments.ts +249 -0
- package/src/resources/agents/index.ts +40 -0
- package/src/resources/agents/sessions/events.ts +107 -0
- package/src/resources/agents/sessions/index.ts +14 -0
- package/src/resources/agents/sessions/messages.ts +111 -0
- package/src/resources/agents/sessions/resume-state.ts +32 -0
- package/src/resources/agents/sessions/sessions.ts +333 -0
- package/src/resources/agents/sessions.ts +3 -0
- package/src/resources/agents/source-revisions.ts +267 -0
- package/src/resources/agents.ts +3 -0
- package/src/resources/app-users.ts +275 -0
- package/src/resources/background-check-candidates.ts +434 -0
- package/src/resources/break-policies.ts +131 -0
- package/src/resources/break-types.ts +252 -0
- package/src/resources/business-partner-groups.ts +156 -0
- package/src/resources/business-partners.ts +200 -0
- package/src/resources/business-structure-paths.ts +240 -0
- package/src/resources/candidate-applications.ts +106 -0
- package/src/resources/candidates.ts +89 -0
- package/src/resources/companies.ts +120 -0
- package/src/resources/company-legal-entities.ts +242 -0
- package/src/resources/company-legal-entity-workers.ts +120 -0
- package/src/resources/compensation-bands-details.ts +148 -0
- package/src/resources/compensations.ts +323 -0
- package/src/resources/custom-apps.ts +442 -0
- package/src/resources/custom-fields.ts +109 -0
- package/src/resources/custom-objects/custom-objects.ts +258 -0
- package/src/resources/custom-objects/fields.ts +459 -0
- package/src/resources/custom-objects/index.ts +35 -0
- package/src/resources/custom-objects/records.ts +353 -0
- package/src/resources/custom-objects.ts +3 -0
- package/src/resources/custom-pages.ts +247 -0
- package/src/resources/custom-settings.ts +376 -0
- package/src/resources/departments.ts +175 -0
- package/src/resources/developer-program-application.ts +233 -0
- package/src/resources/developer-users.ts +77 -0
- package/src/resources/device-orders.ts +205 -0
- package/src/resources/devices.ts +501 -0
- package/src/resources/draft-hires.ts +599 -0
- package/src/resources/draft-transitions.ts +583 -0
- package/src/resources/earning-types.ts +72 -0
- package/src/resources/earnings-inputs.ts +322 -0
- package/src/resources/employee-documents.ts +183 -0
- package/src/resources/employment-types.ts +117 -0
- package/src/resources/entitlements.ts +47 -0
- package/src/resources/files.ts +203 -0
- package/src/resources/functions/deployments.ts +228 -0
- package/src/resources/functions/executions.ts +193 -0
- package/src/resources/functions/functions.ts +244 -0
- package/src/resources/functions/index.ts +31 -0
- package/src/resources/functions.ts +3 -0
- package/src/resources/headcount-positions.ts +1829 -0
- package/src/resources/headcount-priorities.ts +105 -0
- package/src/resources/hire-requirements.ts +140 -0
- package/src/resources/hires.ts +786 -0
- package/src/resources/index.ts +807 -0
- package/src/resources/job-assignments.ts +375 -0
- package/src/resources/job-codes.ts +562 -0
- package/src/resources/job-dimensions.ts +235 -0
- package/src/resources/job-functions.ts +105 -0
- package/src/resources/job-pay-rate-exceptions.ts +161 -0
- package/src/resources/job-requisitions-write.ts +330 -0
- package/src/resources/job-requisitions.ts +74 -0
- package/src/resources/kiosk-badges.ts +353 -0
- package/src/resources/leave-accruals.ts +490 -0
- package/src/resources/leave-balances.ts +147 -0
- package/src/resources/leave-program-evaluations.ts +737 -0
- package/src/resources/leave-requests.ts +938 -0
- package/src/resources/leave-types.ts +105 -0
- package/src/resources/legal-entities.ts +418 -0
- package/src/resources/levels.ts +254 -0
- package/src/resources/listing-submissions.ts +120 -0
- package/src/resources/listing-transitions.ts +84 -0
- package/src/resources/listing.ts +2297 -0
- package/src/resources/location-factors.ts +657 -0
- package/src/resources/metadata/components.ts +349 -0
- package/src/resources/metadata/deployment-runs.ts +186 -0
- package/src/resources/metadata/index.ts +30 -0
- package/src/resources/metadata/metadata.ts +237 -0
- package/src/resources/metadata/schema.ts +105 -0
- package/src/resources/metadata/types.ts +55 -0
- package/src/resources/metadata/validation-runs.ts +186 -0
- package/src/resources/metadata.ts +3 -0
- package/src/resources/object-categories.ts +138 -0
- package/src/resources/package-installs.ts +143 -0
- package/src/resources/package-managed-installs.ts +156 -0
- package/src/resources/package-sandbox-links.ts +195 -0
- package/src/resources/package-uninstalls.ts +168 -0
- package/src/resources/package-upgrades.ts +183 -0
- package/src/resources/package-version-component-updates.ts +154 -0
- package/src/resources/package-versions/index.ts +9 -0
- package/src/resources/package-versions/package-versions.ts +156 -0
- package/src/resources/package-versions/publish.ts +74 -0
- package/src/resources/package-versions.ts +3 -0
- package/src/resources/packages/available-upgrades.ts +51 -0
- package/src/resources/packages/index.ts +27 -0
- package/src/resources/packages/next-versions.ts +95 -0
- package/src/resources/packages/packages.ts +374 -0
- package/src/resources/packages/versions.ts +175 -0
- package/src/resources/packages.ts +3 -0
- package/src/resources/payroll-runs/index.ts +15 -0
- package/src/resources/payroll-runs/payroll-runs.ts +277 -0
- package/src/resources/payroll-runs/worker-payroll-records.ts +260 -0
- package/src/resources/payroll-runs.ts +3 -0
- package/src/resources/platform-capabilities.ts +41 -0
- package/src/resources/report-runs.ts +286 -0
- package/src/resources/reports/available-filters.ts +60 -0
- package/src/resources/reports/index.ts +4 -0
- package/src/resources/reports/reports.ts +112 -0
- package/src/resources/reports.ts +3 -0
- package/src/resources/sandboxes.ts +1094 -0
- package/src/resources/scheduled-job-assignments.ts +211 -0
- package/src/resources/schedules.ts +506 -0
- package/src/resources/shared.ts +359 -0
- package/src/resources/shift-assignments.ts +365 -0
- package/src/resources/shift-inputs.ts +408 -0
- package/src/resources/shiftassignments.ts +1534 -0
- package/src/resources/sites.ts +777 -0
- package/src/resources/software-deployments.ts +612 -0
- package/src/resources/sso-me.ts +70 -0
- package/src/resources/supergroups/exclusion-members.ts +101 -0
- package/src/resources/supergroups/inclusion-members.ts +101 -0
- package/src/resources/supergroups/index.ts +22 -0
- package/src/resources/supergroups/members.ts +51 -0
- package/src/resources/supergroups/supergroups.ts +204 -0
- package/src/resources/supergroups.ts +3 -0
- package/src/resources/teams.ts +161 -0
- package/src/resources/time-cards.ts +219 -0
- package/src/resources/time-entries.ts +1871 -0
- package/src/resources/titles.ts +189 -0
- package/src/resources/tracks.ts +152 -0
- package/src/resources/unassigned-shifts.ts +418 -0
- package/src/resources/unassignedshifts.ts +1542 -0
- package/src/resources/users.ts +265 -0
- package/src/resources/variable-compensation-payout-labels.ts +227 -0
- package/src/resources/variable-compensation-payout-types.ts +440 -0
- package/src/resources/variable-compensation-payout-writes.ts +146 -0
- package/src/resources/variable-compensation-payouts.ts +702 -0
- package/src/resources/work-locations.ts +217 -0
- package/src/resources/worker-change-fields.ts +63 -0
- package/src/resources/worker-changes.ts +359 -0
- package/src/resources/worker-time-splits.ts +485 -0
- package/src/resources/workers.ts +1028 -0
- package/src/resources/workflow-action-executions.ts +50 -0
- package/src/resources/workflows.ts +1434 -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 +3 -0
- package/uploads.d.mts.map +1 -0
- package/uploads.d.ts +3 -0
- package/uploads.d.ts.map +1 -0
- package/uploads.js +6 -0
- package/uploads.js.map +1 -0
- package/uploads.mjs +3 -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 @@
|
|
|
1
|
+
{"version":3,"file":"shim-types.mjs","sourceRoot":"","sources":["../src/internal/shim-types.ts"],"names":[],"mappings":"AAAA,sFAAsF"}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This module provides internal shims and utility functions for environments where certain Node.js or global types may not be available.
|
|
3
|
+
*
|
|
4
|
+
* These are used to ensure we can provide a consistent behaviour between different JavaScript environments and good error
|
|
5
|
+
* messages in cases where an environment isn't fully supported.
|
|
6
|
+
*/
|
|
7
|
+
import type { Fetch } from "./builtin-types.mjs";
|
|
8
|
+
import type { ReadableStream } from "./shim-types.mjs";
|
|
9
|
+
export declare function getDefaultFetch(): Fetch;
|
|
10
|
+
type ReadableStreamArgs = ConstructorParameters<typeof ReadableStream>;
|
|
11
|
+
export declare function makeReadableStream(...args: ReadableStreamArgs): ReadableStream;
|
|
12
|
+
export declare function ReadableStreamFrom<T>(iterable: Iterable<T> | AsyncIterable<T>): ReadableStream<T>;
|
|
13
|
+
/**
|
|
14
|
+
* Most browsers don't yet have async iterable support for ReadableStream,
|
|
15
|
+
* and Node has a very different way of reading bytes from its "ReadableStream".
|
|
16
|
+
*
|
|
17
|
+
* This polyfill was pulled from https://github.com/MattiasBuelens/web-streams-polyfill/pull/122#issuecomment-1627354490
|
|
18
|
+
*/
|
|
19
|
+
export declare function ReadableStreamToAsyncIterable<T>(stream: any): AsyncIterableIterator<T>;
|
|
20
|
+
/**
|
|
21
|
+
* Cancels a ReadableStream we don't need to consume.
|
|
22
|
+
* See https://undici.nodejs.org/#/?id=garbage-collection
|
|
23
|
+
*/
|
|
24
|
+
export declare function CancelReadableStream(stream: any): Promise<void>;
|
|
25
|
+
export {};
|
|
26
|
+
//# sourceMappingURL=shims.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"shims.d.mts","sourceRoot":"","sources":["../src/internal/shims.ts"],"names":[],"mappings":"AAEA;;;;;GAKG;AAEH,OAAO,KAAK,EAAE,KAAK,EAAE,4BAAwB;AAC7C,OAAO,KAAK,EAAE,cAAc,EAAE,yBAAqB;AAEnD,wBAAgB,eAAe,IAAI,KAAK,CAQvC;AAED,KAAK,kBAAkB,GAAG,qBAAqB,CAAC,OAAO,cAAc,CAAC,CAAC;AAEvE,wBAAgB,kBAAkB,CAAC,GAAG,IAAI,EAAE,kBAAkB,GAAG,cAAc,CAW9E;AAED,wBAAgB,kBAAkB,CAAC,CAAC,EAAE,QAAQ,EAAE,QAAQ,CAAC,CAAC,CAAC,GAAG,aAAa,CAAC,CAAC,CAAC,GAAG,cAAc,CAAC,CAAC,CAAC,CAkBjG;AAED;;;;;GAKG;AACH,wBAAgB,6BAA6B,CAAC,CAAC,EAAE,MAAM,EAAE,GAAG,GAAG,qBAAqB,CAAC,CAAC,CAAC,CAyBtF;AAED;;;GAGG;AACH,wBAAsB,oBAAoB,CAAC,MAAM,EAAE,GAAG,GAAG,OAAO,CAAC,IAAI,CAAC,CAYrE"}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This module provides internal shims and utility functions for environments where certain Node.js or global types may not be available.
|
|
3
|
+
*
|
|
4
|
+
* These are used to ensure we can provide a consistent behaviour between different JavaScript environments and good error
|
|
5
|
+
* messages in cases where an environment isn't fully supported.
|
|
6
|
+
*/
|
|
7
|
+
import type { Fetch } from "./builtin-types.js";
|
|
8
|
+
import type { ReadableStream } from "./shim-types.js";
|
|
9
|
+
export declare function getDefaultFetch(): Fetch;
|
|
10
|
+
type ReadableStreamArgs = ConstructorParameters<typeof ReadableStream>;
|
|
11
|
+
export declare function makeReadableStream(...args: ReadableStreamArgs): ReadableStream;
|
|
12
|
+
export declare function ReadableStreamFrom<T>(iterable: Iterable<T> | AsyncIterable<T>): ReadableStream<T>;
|
|
13
|
+
/**
|
|
14
|
+
* Most browsers don't yet have async iterable support for ReadableStream,
|
|
15
|
+
* and Node has a very different way of reading bytes from its "ReadableStream".
|
|
16
|
+
*
|
|
17
|
+
* This polyfill was pulled from https://github.com/MattiasBuelens/web-streams-polyfill/pull/122#issuecomment-1627354490
|
|
18
|
+
*/
|
|
19
|
+
export declare function ReadableStreamToAsyncIterable<T>(stream: any): AsyncIterableIterator<T>;
|
|
20
|
+
/**
|
|
21
|
+
* Cancels a ReadableStream we don't need to consume.
|
|
22
|
+
* See https://undici.nodejs.org/#/?id=garbage-collection
|
|
23
|
+
*/
|
|
24
|
+
export declare function CancelReadableStream(stream: any): Promise<void>;
|
|
25
|
+
export {};
|
|
26
|
+
//# sourceMappingURL=shims.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"shims.d.ts","sourceRoot":"","sources":["../src/internal/shims.ts"],"names":[],"mappings":"AAEA;;;;;GAKG;AAEH,OAAO,KAAK,EAAE,KAAK,EAAE,2BAAwB;AAC7C,OAAO,KAAK,EAAE,cAAc,EAAE,wBAAqB;AAEnD,wBAAgB,eAAe,IAAI,KAAK,CAQvC;AAED,KAAK,kBAAkB,GAAG,qBAAqB,CAAC,OAAO,cAAc,CAAC,CAAC;AAEvE,wBAAgB,kBAAkB,CAAC,GAAG,IAAI,EAAE,kBAAkB,GAAG,cAAc,CAW9E;AAED,wBAAgB,kBAAkB,CAAC,CAAC,EAAE,QAAQ,EAAE,QAAQ,CAAC,CAAC,CAAC,GAAG,aAAa,CAAC,CAAC,CAAC,GAAG,cAAc,CAAC,CAAC,CAAC,CAkBjG;AAED;;;;;GAKG;AACH,wBAAgB,6BAA6B,CAAC,CAAC,EAAE,MAAM,EAAE,GAAG,GAAG,qBAAqB,CAAC,CAAC,CAAC,CAyBtF;AAED;;;GAGG;AACH,wBAAsB,oBAAoB,CAAC,MAAM,EAAE,GAAG,GAAG,OAAO,CAAC,IAAI,CAAC,CAYrE"}
|
|
@@ -0,0 +1,92 @@
|
|
|
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.getDefaultFetch = getDefaultFetch;
|
|
5
|
+
exports.makeReadableStream = makeReadableStream;
|
|
6
|
+
exports.ReadableStreamFrom = ReadableStreamFrom;
|
|
7
|
+
exports.ReadableStreamToAsyncIterable = ReadableStreamToAsyncIterable;
|
|
8
|
+
exports.CancelReadableStream = CancelReadableStream;
|
|
9
|
+
function getDefaultFetch() {
|
|
10
|
+
if (typeof fetch !== 'undefined') {
|
|
11
|
+
return fetch;
|
|
12
|
+
}
|
|
13
|
+
throw new Error('`fetch` is not defined as a global; Either pass `fetch` to the client, `new RipplingSDK({ fetch })` or polyfill the global, `globalThis.fetch = fetch`');
|
|
14
|
+
}
|
|
15
|
+
function makeReadableStream(...args) {
|
|
16
|
+
const ReadableStream = globalThis.ReadableStream;
|
|
17
|
+
if (typeof ReadableStream === 'undefined') {
|
|
18
|
+
// Note: All of the platforms / runtimes we officially support already define
|
|
19
|
+
// `ReadableStream` as a global, so this should only ever be hit on unsupported runtimes.
|
|
20
|
+
throw new Error('`ReadableStream` is not defined as a global; You will need to polyfill it, `globalThis.ReadableStream = ReadableStream`');
|
|
21
|
+
}
|
|
22
|
+
return new ReadableStream(...args);
|
|
23
|
+
}
|
|
24
|
+
function ReadableStreamFrom(iterable) {
|
|
25
|
+
let iter = Symbol.asyncIterator in iterable ? iterable[Symbol.asyncIterator]() : iterable[Symbol.iterator]();
|
|
26
|
+
return makeReadableStream({
|
|
27
|
+
start() { },
|
|
28
|
+
async pull(controller) {
|
|
29
|
+
const { done, value } = await iter.next();
|
|
30
|
+
if (done) {
|
|
31
|
+
controller.close();
|
|
32
|
+
}
|
|
33
|
+
else {
|
|
34
|
+
controller.enqueue(value);
|
|
35
|
+
}
|
|
36
|
+
},
|
|
37
|
+
async cancel() {
|
|
38
|
+
await iter.return?.();
|
|
39
|
+
},
|
|
40
|
+
});
|
|
41
|
+
}
|
|
42
|
+
/**
|
|
43
|
+
* Most browsers don't yet have async iterable support for ReadableStream,
|
|
44
|
+
* and Node has a very different way of reading bytes from its "ReadableStream".
|
|
45
|
+
*
|
|
46
|
+
* This polyfill was pulled from https://github.com/MattiasBuelens/web-streams-polyfill/pull/122#issuecomment-1627354490
|
|
47
|
+
*/
|
|
48
|
+
function ReadableStreamToAsyncIterable(stream) {
|
|
49
|
+
if (stream[Symbol.asyncIterator])
|
|
50
|
+
return stream;
|
|
51
|
+
const reader = stream.getReader();
|
|
52
|
+
return {
|
|
53
|
+
async next() {
|
|
54
|
+
try {
|
|
55
|
+
const result = await reader.read();
|
|
56
|
+
if (result?.done)
|
|
57
|
+
reader.releaseLock(); // release lock when stream becomes closed
|
|
58
|
+
return result;
|
|
59
|
+
}
|
|
60
|
+
catch (e) {
|
|
61
|
+
reader.releaseLock(); // release lock when stream becomes errored
|
|
62
|
+
throw e;
|
|
63
|
+
}
|
|
64
|
+
},
|
|
65
|
+
async return() {
|
|
66
|
+
const cancelPromise = reader.cancel();
|
|
67
|
+
reader.releaseLock();
|
|
68
|
+
await cancelPromise;
|
|
69
|
+
return { done: true, value: undefined };
|
|
70
|
+
},
|
|
71
|
+
[Symbol.asyncIterator]() {
|
|
72
|
+
return this;
|
|
73
|
+
},
|
|
74
|
+
};
|
|
75
|
+
}
|
|
76
|
+
/**
|
|
77
|
+
* Cancels a ReadableStream we don't need to consume.
|
|
78
|
+
* See https://undici.nodejs.org/#/?id=garbage-collection
|
|
79
|
+
*/
|
|
80
|
+
async function CancelReadableStream(stream) {
|
|
81
|
+
if (stream === null || typeof stream !== 'object')
|
|
82
|
+
return;
|
|
83
|
+
if (stream[Symbol.asyncIterator]) {
|
|
84
|
+
await stream[Symbol.asyncIterator]().return?.();
|
|
85
|
+
return;
|
|
86
|
+
}
|
|
87
|
+
const reader = stream.getReader();
|
|
88
|
+
const cancelPromise = reader.cancel();
|
|
89
|
+
reader.releaseLock();
|
|
90
|
+
await cancelPromise;
|
|
91
|
+
}
|
|
92
|
+
//# sourceMappingURL=shims.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"shims.js","sourceRoot":"","sources":["../src/internal/shims.ts"],"names":[],"mappings":";AAAA,sFAAsF;;AAYtF,0CAQC;AAID,gDAWC;AAED,gDAkBC;AAQ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;AACtB,CAAC"}
|
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
+
export function getDefaultFetch() {
|
|
3
|
+
if (typeof fetch !== 'undefined') {
|
|
4
|
+
return fetch;
|
|
5
|
+
}
|
|
6
|
+
throw new Error('`fetch` is not defined as a global; Either pass `fetch` to the client, `new RipplingSDK({ fetch })` or polyfill the global, `globalThis.fetch = fetch`');
|
|
7
|
+
}
|
|
8
|
+
export function makeReadableStream(...args) {
|
|
9
|
+
const ReadableStream = globalThis.ReadableStream;
|
|
10
|
+
if (typeof ReadableStream === 'undefined') {
|
|
11
|
+
// Note: All of the platforms / runtimes we officially support already define
|
|
12
|
+
// `ReadableStream` as a global, so this should only ever be hit on unsupported runtimes.
|
|
13
|
+
throw new Error('`ReadableStream` is not defined as a global; You will need to polyfill it, `globalThis.ReadableStream = ReadableStream`');
|
|
14
|
+
}
|
|
15
|
+
return new ReadableStream(...args);
|
|
16
|
+
}
|
|
17
|
+
export function ReadableStreamFrom(iterable) {
|
|
18
|
+
let iter = Symbol.asyncIterator in iterable ? iterable[Symbol.asyncIterator]() : iterable[Symbol.iterator]();
|
|
19
|
+
return makeReadableStream({
|
|
20
|
+
start() { },
|
|
21
|
+
async pull(controller) {
|
|
22
|
+
const { done, value } = await iter.next();
|
|
23
|
+
if (done) {
|
|
24
|
+
controller.close();
|
|
25
|
+
}
|
|
26
|
+
else {
|
|
27
|
+
controller.enqueue(value);
|
|
28
|
+
}
|
|
29
|
+
},
|
|
30
|
+
async cancel() {
|
|
31
|
+
await iter.return?.();
|
|
32
|
+
},
|
|
33
|
+
});
|
|
34
|
+
}
|
|
35
|
+
/**
|
|
36
|
+
* Most browsers don't yet have async iterable support for ReadableStream,
|
|
37
|
+
* and Node has a very different way of reading bytes from its "ReadableStream".
|
|
38
|
+
*
|
|
39
|
+
* This polyfill was pulled from https://github.com/MattiasBuelens/web-streams-polyfill/pull/122#issuecomment-1627354490
|
|
40
|
+
*/
|
|
41
|
+
export function ReadableStreamToAsyncIterable(stream) {
|
|
42
|
+
if (stream[Symbol.asyncIterator])
|
|
43
|
+
return stream;
|
|
44
|
+
const reader = stream.getReader();
|
|
45
|
+
return {
|
|
46
|
+
async next() {
|
|
47
|
+
try {
|
|
48
|
+
const result = await reader.read();
|
|
49
|
+
if (result?.done)
|
|
50
|
+
reader.releaseLock(); // release lock when stream becomes closed
|
|
51
|
+
return result;
|
|
52
|
+
}
|
|
53
|
+
catch (e) {
|
|
54
|
+
reader.releaseLock(); // release lock when stream becomes errored
|
|
55
|
+
throw e;
|
|
56
|
+
}
|
|
57
|
+
},
|
|
58
|
+
async return() {
|
|
59
|
+
const cancelPromise = reader.cancel();
|
|
60
|
+
reader.releaseLock();
|
|
61
|
+
await cancelPromise;
|
|
62
|
+
return { done: true, value: undefined };
|
|
63
|
+
},
|
|
64
|
+
[Symbol.asyncIterator]() {
|
|
65
|
+
return this;
|
|
66
|
+
},
|
|
67
|
+
};
|
|
68
|
+
}
|
|
69
|
+
/**
|
|
70
|
+
* Cancels a ReadableStream we don't need to consume.
|
|
71
|
+
* See https://undici.nodejs.org/#/?id=garbage-collection
|
|
72
|
+
*/
|
|
73
|
+
export async function CancelReadableStream(stream) {
|
|
74
|
+
if (stream === null || typeof stream !== 'object')
|
|
75
|
+
return;
|
|
76
|
+
if (stream[Symbol.asyncIterator]) {
|
|
77
|
+
await stream[Symbol.asyncIterator]().return?.();
|
|
78
|
+
return;
|
|
79
|
+
}
|
|
80
|
+
const reader = stream.getReader();
|
|
81
|
+
const cancelPromise = reader.cancel();
|
|
82
|
+
reader.releaseLock();
|
|
83
|
+
await cancelPromise;
|
|
84
|
+
}
|
|
85
|
+
//# sourceMappingURL=shims.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"shims.mjs","sourceRoot":"","sources":["../src/internal/shims.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAYtF,MAAM,UAAU,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"}
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import type { FilePropertyBag } from "./builtin-types.mjs";
|
|
2
|
+
type BlobLikePart = string | ArrayBuffer | ArrayBufferView | BlobLike | DataView;
|
|
3
|
+
/**
|
|
4
|
+
* Intended to match DOM Blob, node-fetch Blob, node:buffer Blob, etc.
|
|
5
|
+
* Don't add arrayBuffer here, node-fetch doesn't have it
|
|
6
|
+
*/
|
|
7
|
+
interface BlobLike {
|
|
8
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Blob/size) */
|
|
9
|
+
readonly size: number;
|
|
10
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Blob/type) */
|
|
11
|
+
readonly type: string;
|
|
12
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Blob/text) */
|
|
13
|
+
text(): Promise<string>;
|
|
14
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Blob/slice) */
|
|
15
|
+
slice(start?: number, end?: number): BlobLike;
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* Intended to match DOM File, node:buffer File, undici File, etc.
|
|
19
|
+
*/
|
|
20
|
+
interface FileLike extends BlobLike {
|
|
21
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/File/lastModified) */
|
|
22
|
+
readonly lastModified: number;
|
|
23
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/File/name) */
|
|
24
|
+
readonly name?: string | undefined;
|
|
25
|
+
}
|
|
26
|
+
/**
|
|
27
|
+
* Intended to match DOM Response, node-fetch Response, undici Response, etc.
|
|
28
|
+
*/
|
|
29
|
+
export interface ResponseLike {
|
|
30
|
+
url: string;
|
|
31
|
+
blob(): Promise<BlobLike>;
|
|
32
|
+
}
|
|
33
|
+
export type ToFileInput = FileLike | ResponseLike | Exclude<BlobLikePart, string> | AsyncIterable<BlobLikePart>;
|
|
34
|
+
/**
|
|
35
|
+
* Helper for creating a {@link File} to pass to an SDK upload method from a variety of different data formats
|
|
36
|
+
* @param value the raw content of the file. Can be an {@link Uploadable}, BlobLikePart, or AsyncIterable of BlobLikeParts
|
|
37
|
+
* @param {string=} name the name of the file. If omitted, toFile will try to determine a file name from bits if possible
|
|
38
|
+
* @param {Object=} options additional properties
|
|
39
|
+
* @param {string=} options.type the MIME type of the content
|
|
40
|
+
* @param {number=} options.lastModified the last modified timestamp
|
|
41
|
+
* @returns a {@link File} with the given properties
|
|
42
|
+
*/
|
|
43
|
+
export declare function toFile(value: ToFileInput | PromiseLike<ToFileInput>, name?: string | null | undefined, options?: FilePropertyBag | undefined): Promise<File>;
|
|
44
|
+
export {};
|
|
45
|
+
//# sourceMappingURL=to-file.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"to-file.d.mts","sourceRoot":"","sources":["../src/internal/to-file.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,eAAe,EAAE,4BAAwB;AAGvD,KAAK,YAAY,GAAG,MAAM,GAAG,WAAW,GAAG,eAAe,GAAG,QAAQ,GAAG,QAAQ,CAAC;AAEjF;;;GAGG;AACH,UAAU,QAAQ;IAChB,4EAA4E;IAC5E,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;IACtB,4EAA4E;IAC5E,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;IACtB,4EAA4E;IAC5E,IAAI,IAAI,OAAO,CAAC,MAAM,CAAC,CAAC;IACxB,6EAA6E;IAC7E,KAAK,CAAC,KAAK,CAAC,EAAE,MAAM,EAAE,GAAG,CAAC,EAAE,MAAM,GAAG,QAAQ,CAAC;CAC/C;AAcD;;GAEG;AACH,UAAU,QAAS,SAAQ,QAAQ;IACjC,oFAAoF;IACpF,QAAQ,CAAC,YAAY,EAAE,MAAM,CAAC;IAC9B,4EAA4E;IAC5E,QAAQ,CAAC,IAAI,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CACpC;AAYD;;GAEG;AACH,MAAM,WAAW,YAAY;IAC3B,GAAG,EAAE,MAAM,CAAC;IACZ,IAAI,IAAI,OAAO,CAAC,QAAQ,CAAC,CAAC;CAC3B;AAQD,MAAM,MAAM,WAAW,GACnB,QAAQ,GACR,YAAY,GACZ,OAAO,CAAC,YAAY,EAAE,MAAM,CAAC,GAC7B,aAAa,CAAC,YAAY,CAAC,CAAC;AAEhC;;;;;;;;GAQG;AACH,wBAAsB,MAAM,CAC1B,KAAK,EAAE,WAAW,GAAG,WAAW,CAAC,WAAW,CAAC,EAC7C,IAAI,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,EAChC,OAAO,CAAC,EAAE,eAAe,GAAG,SAAS,GACpC,OAAO,CAAC,IAAI,CAAC,CAiCf"}
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import type { FilePropertyBag } from "./builtin-types.js";
|
|
2
|
+
type BlobLikePart = string | ArrayBuffer | ArrayBufferView | BlobLike | DataView;
|
|
3
|
+
/**
|
|
4
|
+
* Intended to match DOM Blob, node-fetch Blob, node:buffer Blob, etc.
|
|
5
|
+
* Don't add arrayBuffer here, node-fetch doesn't have it
|
|
6
|
+
*/
|
|
7
|
+
interface BlobLike {
|
|
8
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Blob/size) */
|
|
9
|
+
readonly size: number;
|
|
10
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Blob/type) */
|
|
11
|
+
readonly type: string;
|
|
12
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Blob/text) */
|
|
13
|
+
text(): Promise<string>;
|
|
14
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Blob/slice) */
|
|
15
|
+
slice(start?: number, end?: number): BlobLike;
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* Intended to match DOM File, node:buffer File, undici File, etc.
|
|
19
|
+
*/
|
|
20
|
+
interface FileLike extends BlobLike {
|
|
21
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/File/lastModified) */
|
|
22
|
+
readonly lastModified: number;
|
|
23
|
+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/File/name) */
|
|
24
|
+
readonly name?: string | undefined;
|
|
25
|
+
}
|
|
26
|
+
/**
|
|
27
|
+
* Intended to match DOM Response, node-fetch Response, undici Response, etc.
|
|
28
|
+
*/
|
|
29
|
+
export interface ResponseLike {
|
|
30
|
+
url: string;
|
|
31
|
+
blob(): Promise<BlobLike>;
|
|
32
|
+
}
|
|
33
|
+
export type ToFileInput = FileLike | ResponseLike | Exclude<BlobLikePart, string> | AsyncIterable<BlobLikePart>;
|
|
34
|
+
/**
|
|
35
|
+
* Helper for creating a {@link File} to pass to an SDK upload method from a variety of different data formats
|
|
36
|
+
* @param value the raw content of the file. Can be an {@link Uploadable}, BlobLikePart, or AsyncIterable of BlobLikeParts
|
|
37
|
+
* @param {string=} name the name of the file. If omitted, toFile will try to determine a file name from bits if possible
|
|
38
|
+
* @param {Object=} options additional properties
|
|
39
|
+
* @param {string=} options.type the MIME type of the content
|
|
40
|
+
* @param {number=} options.lastModified the last modified timestamp
|
|
41
|
+
* @returns a {@link File} with the given properties
|
|
42
|
+
*/
|
|
43
|
+
export declare function toFile(value: ToFileInput | PromiseLike<ToFileInput>, name?: string | null | undefined, options?: FilePropertyBag | undefined): Promise<File>;
|
|
44
|
+
export {};
|
|
45
|
+
//# sourceMappingURL=to-file.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"to-file.d.ts","sourceRoot":"","sources":["../src/internal/to-file.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,eAAe,EAAE,2BAAwB;AAGvD,KAAK,YAAY,GAAG,MAAM,GAAG,WAAW,GAAG,eAAe,GAAG,QAAQ,GAAG,QAAQ,CAAC;AAEjF;;;GAGG;AACH,UAAU,QAAQ;IAChB,4EAA4E;IAC5E,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;IACtB,4EAA4E;IAC5E,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;IACtB,4EAA4E;IAC5E,IAAI,IAAI,OAAO,CAAC,MAAM,CAAC,CAAC;IACxB,6EAA6E;IAC7E,KAAK,CAAC,KAAK,CAAC,EAAE,MAAM,EAAE,GAAG,CAAC,EAAE,MAAM,GAAG,QAAQ,CAAC;CAC/C;AAcD;;GAEG;AACH,UAAU,QAAS,SAAQ,QAAQ;IACjC,oFAAoF;IACpF,QAAQ,CAAC,YAAY,EAAE,MAAM,CAAC;IAC9B,4EAA4E;IAC5E,QAAQ,CAAC,IAAI,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CACpC;AAYD;;GAEG;AACH,MAAM,WAAW,YAAY;IAC3B,GAAG,EAAE,MAAM,CAAC;IACZ,IAAI,IAAI,OAAO,CAAC,QAAQ,CAAC,CAAC;CAC3B;AAQD,MAAM,MAAM,WAAW,GACnB,QAAQ,GACR,YAAY,GACZ,OAAO,CAAC,YAAY,EAAE,MAAM,CAAC,GAC7B,aAAa,CAAC,YAAY,CAAC,CAAC;AAEhC;;;;;;;;GAQG;AACH,wBAAsB,MAAM,CAC1B,KAAK,EAAE,WAAW,GAAG,WAAW,CAAC,WAAW,CAAC,EAC7C,IAAI,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,EAChC,OAAO,CAAC,EAAE,eAAe,GAAG,SAAS,GACpC,OAAO,CAAC,IAAI,CAAC,CAiCf"}
|
|
@@ -0,0 +1,91 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.toFile = toFile;
|
|
4
|
+
const uploads_1 = require("./uploads.js");
|
|
5
|
+
const uploads_2 = require("./uploads.js");
|
|
6
|
+
/**
|
|
7
|
+
* This check adds the arrayBuffer() method type because it is available and used at runtime
|
|
8
|
+
*/
|
|
9
|
+
const isBlobLike = (value) => value != null &&
|
|
10
|
+
typeof value === 'object' &&
|
|
11
|
+
typeof value.size === 'number' &&
|
|
12
|
+
typeof value.type === 'string' &&
|
|
13
|
+
typeof value.text === 'function' &&
|
|
14
|
+
typeof value.slice === 'function' &&
|
|
15
|
+
typeof value.arrayBuffer === 'function';
|
|
16
|
+
/**
|
|
17
|
+
* This check adds the arrayBuffer() method type because it is available and used at runtime
|
|
18
|
+
*/
|
|
19
|
+
const isFileLike = (value) => value != null &&
|
|
20
|
+
typeof value === 'object' &&
|
|
21
|
+
typeof value.name === 'string' &&
|
|
22
|
+
typeof value.lastModified === 'number' &&
|
|
23
|
+
isBlobLike(value);
|
|
24
|
+
const isResponseLike = (value) => value != null &&
|
|
25
|
+
typeof value === 'object' &&
|
|
26
|
+
typeof value.url === 'string' &&
|
|
27
|
+
typeof value.blob === 'function';
|
|
28
|
+
/**
|
|
29
|
+
* Helper for creating a {@link File} to pass to an SDK upload method from a variety of different data formats
|
|
30
|
+
* @param value the raw content of the file. Can be an {@link Uploadable}, BlobLikePart, or AsyncIterable of BlobLikeParts
|
|
31
|
+
* @param {string=} name the name of the file. If omitted, toFile will try to determine a file name from bits if possible
|
|
32
|
+
* @param {Object=} options additional properties
|
|
33
|
+
* @param {string=} options.type the MIME type of the content
|
|
34
|
+
* @param {number=} options.lastModified the last modified timestamp
|
|
35
|
+
* @returns a {@link File} with the given properties
|
|
36
|
+
*/
|
|
37
|
+
async function toFile(value, name, options) {
|
|
38
|
+
(0, uploads_2.checkFileSupport)();
|
|
39
|
+
// If it's a promise, resolve it.
|
|
40
|
+
value = await value;
|
|
41
|
+
// If we've been given a `File` we don't need to do anything
|
|
42
|
+
if (isFileLike(value)) {
|
|
43
|
+
if (value instanceof File) {
|
|
44
|
+
return value;
|
|
45
|
+
}
|
|
46
|
+
return (0, uploads_1.makeFile)([await value.arrayBuffer()], value.name);
|
|
47
|
+
}
|
|
48
|
+
if (isResponseLike(value)) {
|
|
49
|
+
const blob = await value.blob();
|
|
50
|
+
name || (name = new URL(value.url).pathname.split(/[\\/]/).pop());
|
|
51
|
+
return (0, uploads_1.makeFile)(await getBytes(blob), name, options);
|
|
52
|
+
}
|
|
53
|
+
const parts = await getBytes(value);
|
|
54
|
+
name || (name = (0, uploads_1.getName)(value));
|
|
55
|
+
if (!options?.type) {
|
|
56
|
+
const type = parts.find((part) => typeof part === 'object' && 'type' in part && part.type);
|
|
57
|
+
if (typeof type === 'string') {
|
|
58
|
+
options = { ...options, type };
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
return (0, uploads_1.makeFile)(parts, name, options);
|
|
62
|
+
}
|
|
63
|
+
async function getBytes(value) {
|
|
64
|
+
let parts = [];
|
|
65
|
+
if (typeof value === 'string' ||
|
|
66
|
+
ArrayBuffer.isView(value) || // includes Uint8Array, Buffer, etc.
|
|
67
|
+
value instanceof ArrayBuffer) {
|
|
68
|
+
parts.push(value);
|
|
69
|
+
}
|
|
70
|
+
else if (isBlobLike(value)) {
|
|
71
|
+
parts.push(value instanceof Blob ? value : await value.arrayBuffer());
|
|
72
|
+
}
|
|
73
|
+
else if ((0, uploads_1.isAsyncIterable)(value) // includes Readable, ReadableStream, etc.
|
|
74
|
+
) {
|
|
75
|
+
for await (const chunk of value) {
|
|
76
|
+
parts.push(...(await getBytes(chunk))); // TODO, consider validating?
|
|
77
|
+
}
|
|
78
|
+
}
|
|
79
|
+
else {
|
|
80
|
+
const constructor = value?.constructor?.name;
|
|
81
|
+
throw new Error(`Unexpected data type: ${typeof value}${constructor ? `; constructor: ${constructor}` : ''}${propsForError(value)}`);
|
|
82
|
+
}
|
|
83
|
+
return parts;
|
|
84
|
+
}
|
|
85
|
+
function propsForError(value) {
|
|
86
|
+
if (typeof value !== 'object' || value === null)
|
|
87
|
+
return '';
|
|
88
|
+
const props = Object.getOwnPropertyNames(value);
|
|
89
|
+
return `; props: [${props.map((p) => `"${p}"`).join(', ')}]`;
|
|
90
|
+
}
|
|
91
|
+
//# sourceMappingURL=to-file.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"to-file.js","sourceRoot":"","sources":["../src/internal/to-file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This check adds the arrayBuffer() method type because it is available and used at runtime
|
|
5
|
+
*/
|
|
6
|
+
const isBlobLike = (value) => value != null &&
|
|
7
|
+
typeof value === 'object' &&
|
|
8
|
+
typeof value.size === 'number' &&
|
|
9
|
+
typeof value.type === 'string' &&
|
|
10
|
+
typeof value.text === 'function' &&
|
|
11
|
+
typeof value.slice === 'function' &&
|
|
12
|
+
typeof value.arrayBuffer === 'function';
|
|
13
|
+
/**
|
|
14
|
+
* This check adds the arrayBuffer() method type because it is available and used at runtime
|
|
15
|
+
*/
|
|
16
|
+
const isFileLike = (value) => value != null &&
|
|
17
|
+
typeof value === 'object' &&
|
|
18
|
+
typeof value.name === 'string' &&
|
|
19
|
+
typeof value.lastModified === 'number' &&
|
|
20
|
+
isBlobLike(value);
|
|
21
|
+
const isResponseLike = (value) => value != null &&
|
|
22
|
+
typeof value === 'object' &&
|
|
23
|
+
typeof value.url === 'string' &&
|
|
24
|
+
typeof value.blob === 'function';
|
|
25
|
+
/**
|
|
26
|
+
* Helper for creating a {@link File} to pass to an SDK upload method from a variety of different data formats
|
|
27
|
+
* @param value the raw content of the file. Can be an {@link Uploadable}, BlobLikePart, or AsyncIterable of BlobLikeParts
|
|
28
|
+
* @param {string=} name the name of the file. If omitted, toFile will try to determine a file name from bits if possible
|
|
29
|
+
* @param {Object=} options additional properties
|
|
30
|
+
* @param {string=} options.type the MIME type of the content
|
|
31
|
+
* @param {number=} options.lastModified the last modified timestamp
|
|
32
|
+
* @returns a {@link File} with the given properties
|
|
33
|
+
*/
|
|
34
|
+
export async function toFile(value, name, options) {
|
|
35
|
+
checkFileSupport();
|
|
36
|
+
// If it's a promise, resolve it.
|
|
37
|
+
value = await value;
|
|
38
|
+
// If we've been given a `File` we don't need to do anything
|
|
39
|
+
if (isFileLike(value)) {
|
|
40
|
+
if (value instanceof File) {
|
|
41
|
+
return value;
|
|
42
|
+
}
|
|
43
|
+
return makeFile([await value.arrayBuffer()], value.name);
|
|
44
|
+
}
|
|
45
|
+
if (isResponseLike(value)) {
|
|
46
|
+
const blob = await value.blob();
|
|
47
|
+
name || (name = new URL(value.url).pathname.split(/[\\/]/).pop());
|
|
48
|
+
return makeFile(await getBytes(blob), name, options);
|
|
49
|
+
}
|
|
50
|
+
const parts = await getBytes(value);
|
|
51
|
+
name || (name = getName(value));
|
|
52
|
+
if (!options?.type) {
|
|
53
|
+
const type = parts.find((part) => typeof part === 'object' && 'type' in part && part.type);
|
|
54
|
+
if (typeof type === 'string') {
|
|
55
|
+
options = { ...options, type };
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
return makeFile(parts, name, options);
|
|
59
|
+
}
|
|
60
|
+
async function getBytes(value) {
|
|
61
|
+
let parts = [];
|
|
62
|
+
if (typeof value === 'string' ||
|
|
63
|
+
ArrayBuffer.isView(value) || // includes Uint8Array, Buffer, etc.
|
|
64
|
+
value instanceof ArrayBuffer) {
|
|
65
|
+
parts.push(value);
|
|
66
|
+
}
|
|
67
|
+
else if (isBlobLike(value)) {
|
|
68
|
+
parts.push(value instanceof Blob ? value : await value.arrayBuffer());
|
|
69
|
+
}
|
|
70
|
+
else if (isAsyncIterable(value) // includes Readable, ReadableStream, etc.
|
|
71
|
+
) {
|
|
72
|
+
for await (const chunk of value) {
|
|
73
|
+
parts.push(...(await getBytes(chunk))); // TODO, consider validating?
|
|
74
|
+
}
|
|
75
|
+
}
|
|
76
|
+
else {
|
|
77
|
+
const constructor = value?.constructor?.name;
|
|
78
|
+
throw new Error(`Unexpected data type: ${typeof value}${constructor ? `; constructor: ${constructor}` : ''}${propsForError(value)}`);
|
|
79
|
+
}
|
|
80
|
+
return parts;
|
|
81
|
+
}
|
|
82
|
+
function propsForError(value) {
|
|
83
|
+
if (typeof value !== 'object' || value === null)
|
|
84
|
+
return '';
|
|
85
|
+
const props = Object.getOwnPropertyNames(value);
|
|
86
|
+
return `; props: [${props.map((p) => `"${p}"`).join(', ')}]`;
|
|
87
|
+
}
|
|
88
|
+
//# sourceMappingURL=to-file.mjs.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|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.__setModuleDefault = exports.__createBinding = void 0;
|
|
4
|
+
exports.__classPrivateFieldSet = __classPrivateFieldSet;
|
|
5
|
+
exports.__classPrivateFieldGet = __classPrivateFieldGet;
|
|
6
|
+
exports.__importStar = __importStar;
|
|
7
|
+
exports.__exportStar = __exportStar;
|
|
8
|
+
exports.__importDefault = __importDefault;
|
|
9
|
+
function __classPrivateFieldSet(receiver, state, value, kind, f) {
|
|
10
|
+
if (kind === "m")
|
|
11
|
+
throw new TypeError("Private method is not writable");
|
|
12
|
+
if (kind === "a" && !f)
|
|
13
|
+
throw new TypeError("Private accessor was defined without a setter");
|
|
14
|
+
if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver))
|
|
15
|
+
throw new TypeError("Cannot write private member to an object whose class did not declare it");
|
|
16
|
+
return kind === "a" ? f.call(receiver, value) : f ? (f.value = value) : state.set(receiver, value), value;
|
|
17
|
+
}
|
|
18
|
+
function __classPrivateFieldGet(receiver, state, kind, f) {
|
|
19
|
+
if (kind === "a" && !f)
|
|
20
|
+
throw new TypeError("Private accessor was defined without a getter");
|
|
21
|
+
if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver))
|
|
22
|
+
throw new TypeError("Cannot read private member from an object whose class did not declare it");
|
|
23
|
+
return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
|
|
24
|
+
}
|
|
25
|
+
var __createBinding = Object.create
|
|
26
|
+
? function (o, m, k, k2) {
|
|
27
|
+
if (k2 === void 0)
|
|
28
|
+
k2 = k;
|
|
29
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
30
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
31
|
+
desc = {
|
|
32
|
+
enumerable: true,
|
|
33
|
+
get: function () {
|
|
34
|
+
return m[k];
|
|
35
|
+
},
|
|
36
|
+
};
|
|
37
|
+
}
|
|
38
|
+
Object.defineProperty(o, k2, desc);
|
|
39
|
+
}
|
|
40
|
+
: function (o, m, k, k2) {
|
|
41
|
+
if (k2 === void 0)
|
|
42
|
+
k2 = k;
|
|
43
|
+
o[k2] = m[k];
|
|
44
|
+
};
|
|
45
|
+
exports.__createBinding = __createBinding;
|
|
46
|
+
var __setModuleDefault = Object.create
|
|
47
|
+
? function (o, v) {
|
|
48
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
49
|
+
}
|
|
50
|
+
: function (o, v) {
|
|
51
|
+
o["default"] = v;
|
|
52
|
+
};
|
|
53
|
+
exports.__setModuleDefault = __setModuleDefault;
|
|
54
|
+
var ownKeys = function (o) {
|
|
55
|
+
ownKeys =
|
|
56
|
+
Object.getOwnPropertyNames ||
|
|
57
|
+
function (o2) {
|
|
58
|
+
var ar = [];
|
|
59
|
+
for (var k in o2)
|
|
60
|
+
if (Object.prototype.hasOwnProperty.call(o2, k))
|
|
61
|
+
ar[ar.length] = k;
|
|
62
|
+
return ar;
|
|
63
|
+
};
|
|
64
|
+
return ownKeys(o);
|
|
65
|
+
};
|
|
66
|
+
function __importStar(mod) {
|
|
67
|
+
if (mod && mod.__esModule)
|
|
68
|
+
return mod;
|
|
69
|
+
var result = {};
|
|
70
|
+
if (mod != null) {
|
|
71
|
+
for (var k = ownKeys(mod), i = 0; i < k.length; i++)
|
|
72
|
+
if (k[i] !== "default")
|
|
73
|
+
__createBinding(result, mod, k[i]);
|
|
74
|
+
}
|
|
75
|
+
__setModuleDefault(result, mod);
|
|
76
|
+
return result;
|
|
77
|
+
}
|
|
78
|
+
function __exportStar(m, o) {
|
|
79
|
+
for (var p in m)
|
|
80
|
+
if (p !== "default" && !Object.prototype.hasOwnProperty.call(o, p))
|
|
81
|
+
__createBinding(o, m, p);
|
|
82
|
+
}
|
|
83
|
+
function __importDefault(mod) {
|
|
84
|
+
return mod && mod.__esModule ? mod : { default: mod };
|
|
85
|
+
}
|