@rippling/rippling-sdk 0.2.0-alpha.85 → 0.2.0-alpha.87
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/client.d.mts +15 -0
- package/client.d.mts.map +1 -1
- package/client.d.ts +15 -0
- package/client.d.ts.map +1 -1
- package/client.js +15 -0
- package/client.js.map +1 -1
- package/client.mjs +15 -0
- package/client.mjs.map +1 -1
- 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/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/package.json +1 -1
- 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 +3 -0
- package/resources/agents/sessions/index.d.mts.map +1 -0
- package/resources/agents/sessions/index.d.ts +3 -0
- package/resources/agents/sessions/index.d.ts.map +1 -0
- package/resources/agents/sessions/index.js +9 -0
- package/resources/agents/sessions/index.js.map +1 -0
- package/resources/agents/sessions/index.mjs +4 -0
- package/resources/agents/sessions/index.mjs.map +1 -0
- package/resources/agents/sessions/sessions.d.mts +153 -0
- package/resources/agents/sessions/sessions.d.mts.map +1 -0
- package/resources/agents/sessions/sessions.d.ts +153 -0
- package/resources/agents/sessions/sessions.d.ts.map +1 -0
- package/resources/agents/sessions/sessions.js +44 -0
- package/resources/agents/sessions/sessions.js.map +1 -0
- package/resources/agents/sessions/sessions.mjs +39 -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/break-policies.d.mts +1 -1
- package/resources/break-policies.d.ts +1 -1
- package/resources/break-policies.js +1 -1
- package/resources/break-policies.mjs +1 -1
- package/resources/break-types.d.mts +1 -1
- package/resources/break-types.d.ts +1 -1
- package/resources/break-types.js +1 -1
- package/resources/break-types.mjs +1 -1
- package/resources/business-structure-paths.d.mts +1 -1
- package/resources/business-structure-paths.d.ts +1 -1
- package/resources/business-structure-paths.js +1 -1
- package/resources/business-structure-paths.mjs +1 -1
- package/resources/candidate-applications.d.mts +1 -1
- package/resources/candidate-applications.d.ts +1 -1
- package/resources/candidate-applications.js +1 -1
- package/resources/candidate-applications.mjs +1 -1
- package/resources/candidates.d.mts +1 -1
- package/resources/candidates.d.ts +1 -1
- package/resources/candidates.js +1 -1
- package/resources/candidates.mjs +1 -1
- package/resources/company-legal-entities.d.mts +1 -1
- package/resources/company-legal-entities.d.ts +1 -1
- package/resources/company-legal-entities.js +1 -1
- package/resources/company-legal-entities.mjs +1 -1
- package/resources/company-legal-entity-workers.d.mts +1 -1
- package/resources/company-legal-entity-workers.d.ts +1 -1
- package/resources/company-legal-entity-workers.js +1 -1
- package/resources/company-legal-entity-workers.mjs +1 -1
- package/resources/compensation-bands-details.d.mts +1 -1
- package/resources/compensation-bands-details.d.ts +1 -1
- package/resources/compensation-bands-details.js +1 -1
- package/resources/compensation-bands-details.mjs +1 -1
- package/resources/compensations.d.mts +1 -1
- package/resources/compensations.d.ts +1 -1
- package/resources/compensations.js +1 -1
- package/resources/compensations.mjs +1 -1
- package/resources/custom-objects/custom-objects.d.mts +7 -0
- package/resources/custom-objects/custom-objects.d.mts.map +1 -1
- package/resources/custom-objects/custom-objects.d.ts +7 -0
- package/resources/custom-objects/custom-objects.d.ts.map +1 -1
- package/resources/custom-objects/custom-objects.js.map +1 -1
- package/resources/custom-objects/custom-objects.mjs.map +1 -1
- package/resources/custom-objects/fields.d.mts +129 -54
- package/resources/custom-objects/fields.d.mts.map +1 -1
- package/resources/custom-objects/fields.d.ts +129 -54
- package/resources/custom-objects/fields.d.ts.map +1 -1
- package/resources/device-orders.d.mts +1 -1
- package/resources/device-orders.d.ts +1 -1
- package/resources/device-orders.js +1 -1
- package/resources/device-orders.mjs +1 -1
- package/resources/devices.d.mts +1 -1
- package/resources/devices.d.ts +1 -1
- package/resources/devices.js +1 -1
- package/resources/devices.mjs +1 -1
- package/resources/functions/deployments.d.mts +2 -2
- package/resources/functions/deployments.d.ts +2 -2
- package/resources/functions/deployments.js +2 -2
- package/resources/functions/deployments.mjs +2 -2
- package/resources/functions/executions.d.mts +2 -2
- package/resources/functions/executions.d.ts +2 -2
- package/resources/functions/executions.js +2 -2
- package/resources/functions/executions.mjs +2 -2
- package/resources/functions/functions.d.mts +1 -1
- package/resources/functions/functions.d.ts +1 -1
- package/resources/functions/functions.js +1 -1
- package/resources/functions/functions.mjs +1 -1
- package/resources/headcount-positions.d.mts +1 -1
- package/resources/headcount-positions.d.ts +1 -1
- package/resources/headcount-positions.js +1 -1
- package/resources/headcount-positions.mjs +1 -1
- package/resources/headcount-priorities.d.mts +1 -1
- package/resources/headcount-priorities.d.ts +1 -1
- package/resources/headcount-priorities.js +1 -1
- package/resources/headcount-priorities.mjs +1 -1
- package/resources/index.d.mts +3 -0
- package/resources/index.d.mts.map +1 -1
- package/resources/index.d.ts +3 -0
- package/resources/index.d.ts.map +1 -1
- package/resources/index.js +8 -2
- package/resources/index.js.map +1 -1
- package/resources/index.mjs +3 -0
- package/resources/index.mjs.map +1 -1
- package/resources/job-assignments.d.mts +2 -2
- package/resources/job-assignments.d.ts +2 -2
- package/resources/job-assignments.js +2 -2
- package/resources/job-assignments.mjs +2 -2
- package/resources/job-codes.d.mts +2 -2
- package/resources/job-codes.d.ts +2 -2
- package/resources/job-codes.js +2 -2
- package/resources/job-codes.mjs +2 -2
- package/resources/job-dimensions.d.mts +1 -1
- package/resources/job-dimensions.d.ts +1 -1
- package/resources/job-dimensions.js +1 -1
- package/resources/job-dimensions.mjs +1 -1
- package/resources/job-pay-rate-exceptions.d.mts +2 -2
- package/resources/job-pay-rate-exceptions.d.ts +2 -2
- package/resources/job-pay-rate-exceptions.js +2 -2
- package/resources/job-pay-rate-exceptions.mjs +2 -2
- package/resources/job-requisitions.d.mts +1 -1
- package/resources/job-requisitions.d.ts +1 -1
- package/resources/job-requisitions.js +1 -1
- package/resources/job-requisitions.mjs +1 -1
- package/resources/kiosk-badges.d.mts +1 -1
- package/resources/kiosk-badges.d.ts +1 -1
- package/resources/kiosk-badges.js +1 -1
- package/resources/kiosk-badges.mjs +1 -1
- package/resources/leave-accruals.d.mts +1 -1
- package/resources/leave-accruals.d.ts +1 -1
- package/resources/leave-accruals.js +1 -1
- package/resources/leave-accruals.mjs +1 -1
- package/resources/leave-balances.d.mts +1 -1
- package/resources/leave-balances.d.ts +1 -1
- package/resources/leave-balances.js +1 -1
- package/resources/leave-balances.mjs +1 -1
- package/resources/leave-requests.d.mts +1 -1
- package/resources/leave-requests.d.ts +1 -1
- package/resources/leave-requests.js +1 -1
- package/resources/leave-requests.mjs +1 -1
- package/resources/leave-types.d.mts +1 -1
- package/resources/leave-types.d.ts +1 -1
- package/resources/leave-types.js +1 -1
- package/resources/leave-types.mjs +1 -1
- package/resources/legal-entities.d.mts +1 -1
- package/resources/legal-entities.d.ts +1 -1
- package/resources/legal-entities.js +1 -1
- package/resources/legal-entities.mjs +1 -1
- package/resources/levels.d.mts +26 -5
- package/resources/levels.d.mts.map +1 -1
- package/resources/levels.d.ts +26 -5
- package/resources/levels.d.ts.map +1 -1
- package/resources/levels.js +1 -1
- package/resources/levels.mjs +1 -1
- package/resources/location-factors.d.mts +1 -1
- package/resources/location-factors.d.ts +1 -1
- package/resources/location-factors.js +1 -1
- package/resources/location-factors.mjs +1 -1
- package/resources/packages/index.d.mts +3 -0
- package/resources/packages/index.d.mts.map +1 -0
- package/resources/packages/index.d.ts +3 -0
- package/resources/packages/index.d.ts.map +1 -0
- package/resources/packages/index.js +9 -0
- package/resources/packages/index.js.map +1 -0
- package/resources/packages/index.mjs +4 -0
- package/resources/packages/index.mjs.map +1 -0
- package/resources/packages/packages.d.mts +239 -0
- package/resources/packages/packages.d.mts.map +1 -0
- package/resources/packages/packages.d.ts +239 -0
- package/resources/packages/packages.d.ts.map +1 -0
- package/resources/packages/packages.js +60 -0
- package/resources/packages/packages.js.map +1 -0
- package/resources/packages/packages.mjs +55 -0
- package/resources/packages/packages.mjs.map +1 -0
- package/resources/packages/versions.d.mts +72 -0
- package/resources/packages/versions.d.mts.map +1 -0
- package/resources/packages/versions.d.ts +72 -0
- package/resources/packages/versions.d.ts.map +1 -0
- package/resources/packages/versions.js +19 -0
- package/resources/packages/versions.js.map +1 -0
- package/resources/packages/versions.mjs +15 -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/scheduled-job-assignments.d.mts +1 -1
- package/resources/scheduled-job-assignments.d.ts +1 -1
- package/resources/scheduled-job-assignments.js +1 -1
- package/resources/scheduled-job-assignments.mjs +1 -1
- package/resources/schedules.d.mts +1 -1
- package/resources/schedules.d.ts +1 -1
- package/resources/schedules.js +1 -1
- package/resources/schedules.mjs +1 -1
- package/resources/shift-assignments.d.mts +1 -1
- package/resources/shift-assignments.d.ts +1 -1
- package/resources/shift-assignments.js +1 -1
- package/resources/shift-assignments.mjs +1 -1
- package/resources/shift-inputs.d.mts +1 -1
- package/resources/shift-inputs.d.ts +1 -1
- package/resources/shift-inputs.js +1 -1
- package/resources/shift-inputs.mjs +1 -1
- package/resources/shiftassignments.d.mts +1 -1
- package/resources/shiftassignments.d.ts +1 -1
- package/resources/shiftassignments.js +1 -1
- package/resources/shiftassignments.mjs +1 -1
- package/resources/sites.d.mts +572 -0
- package/resources/sites.d.mts.map +1 -0
- package/resources/sites.d.ts +572 -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 +1 -1
- package/resources/software-deployments.d.ts +1 -1
- package/resources/software-deployments.js +1 -1
- package/resources/software-deployments.mjs +1 -1
- package/resources/time-cards.d.mts +1 -1
- package/resources/time-cards.d.ts +1 -1
- package/resources/time-cards.js +1 -1
- package/resources/time-cards.mjs +1 -1
- package/resources/time-entries.d.mts +1 -1
- package/resources/time-entries.d.ts +1 -1
- package/resources/time-entries.js +1 -1
- package/resources/time-entries.mjs +1 -1
- package/resources/tracks.d.mts +1 -1
- package/resources/tracks.d.ts +1 -1
- package/resources/tracks.js +1 -1
- package/resources/tracks.mjs +1 -1
- package/resources/unassigned-shifts.d.mts +2 -2
- package/resources/unassigned-shifts.d.ts +2 -2
- package/resources/unassigned-shifts.js +2 -2
- package/resources/unassigned-shifts.mjs +2 -2
- package/resources/unassignedshifts.d.mts +1 -1
- package/resources/unassignedshifts.d.ts +1 -1
- package/resources/unassignedshifts.js +1 -1
- package/resources/unassignedshifts.mjs +1 -1
- package/resources/worker-time-splits.d.mts +1 -1
- package/resources/worker-time-splits.d.ts +1 -1
- package/resources/worker-time-splits.js +1 -1
- package/resources/worker-time-splits.mjs +1 -1
- package/src/client.ts +91 -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/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/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 +12 -0
- package/src/resources/agents/sessions/sessions.ts +216 -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/break-policies.ts +1 -1
- package/src/resources/break-types.ts +1 -1
- package/src/resources/business-structure-paths.ts +1 -1
- package/src/resources/candidate-applications.ts +1 -1
- package/src/resources/candidates.ts +1 -1
- package/src/resources/company-legal-entities.ts +1 -1
- package/src/resources/company-legal-entity-workers.ts +1 -1
- package/src/resources/compensation-bands-details.ts +1 -1
- package/src/resources/compensations.ts +1 -1
- package/src/resources/custom-objects/custom-objects.ts +8 -0
- package/src/resources/custom-objects/fields.ts +192 -59
- package/src/resources/device-orders.ts +1 -1
- package/src/resources/devices.ts +1 -1
- package/src/resources/functions/deployments.ts +2 -2
- package/src/resources/functions/executions.ts +2 -2
- package/src/resources/functions/functions.ts +1 -1
- package/src/resources/headcount-positions.ts +1 -1
- package/src/resources/headcount-priorities.ts +1 -1
- package/src/resources/index.ts +38 -0
- package/src/resources/job-assignments.ts +2 -2
- package/src/resources/job-codes.ts +2 -2
- package/src/resources/job-dimensions.ts +1 -1
- package/src/resources/job-pay-rate-exceptions.ts +2 -2
- package/src/resources/job-requisitions.ts +1 -1
- package/src/resources/kiosk-badges.ts +1 -1
- package/src/resources/leave-accruals.ts +1 -1
- package/src/resources/leave-balances.ts +1 -1
- package/src/resources/leave-requests.ts +1 -1
- package/src/resources/leave-types.ts +1 -1
- package/src/resources/legal-entities.ts +1 -1
- package/src/resources/levels.ts +29 -5
- package/src/resources/location-factors.ts +1 -1
- package/src/resources/packages/index.ts +14 -0
- package/src/resources/packages/packages.ts +329 -0
- package/src/resources/packages/versions.ts +98 -0
- package/src/resources/packages.ts +3 -0
- package/src/resources/scheduled-job-assignments.ts +1 -1
- package/src/resources/schedules.ts +1 -1
- package/src/resources/shift-assignments.ts +1 -1
- package/src/resources/shift-inputs.ts +1 -1
- package/src/resources/shiftassignments.ts +1 -1
- package/src/resources/sites.ts +736 -0
- package/src/resources/software-deployments.ts +1 -1
- package/src/resources/time-cards.ts +1 -1
- package/src/resources/time-entries.ts +1 -1
- package/src/resources/tracks.ts +1 -1
- package/src/resources/unassigned-shifts.ts +2 -2
- package/src/resources/unassignedshifts.ts +1 -1
- package/src/resources/worker-time-splits.ts +1 -1
- package/src/version.ts +1 -1
- package/version.d.mts +1 -1
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/version.mjs +1 -1
|
@@ -8,7 +8,7 @@ export declare class Candidates extends APIResource {
|
|
|
8
8
|
/**
|
|
9
9
|
* A list of candidates.
|
|
10
10
|
*
|
|
11
|
-
* - Requires: `API Tier
|
|
11
|
+
* - Requires: `API Tier 1`
|
|
12
12
|
* - Sortable fields: `id`, `created_at`, `updated_at`
|
|
13
13
|
*/
|
|
14
14
|
list(query?: CandidateListParams | null | undefined, options?: RequestOptions): PagePromise<CandidateListResponsesPageCursorURL, CandidateListResponse>;
|
|
@@ -8,7 +8,7 @@ export declare class Candidates extends APIResource {
|
|
|
8
8
|
/**
|
|
9
9
|
* A list of candidates.
|
|
10
10
|
*
|
|
11
|
-
* - Requires: `API Tier
|
|
11
|
+
* - Requires: `API Tier 1`
|
|
12
12
|
* - Sortable fields: `id`, `created_at`, `updated_at`
|
|
13
13
|
*/
|
|
14
14
|
list(query?: CandidateListParams | null | undefined, options?: RequestOptions): PagePromise<CandidateListResponsesPageCursorURL, CandidateListResponse>;
|
package/resources/candidates.js
CHANGED
package/resources/candidates.mjs
CHANGED
|
@@ -11,7 +11,7 @@ export declare class CompanyLegalEntities extends APIResource {
|
|
|
11
11
|
/**
|
|
12
12
|
* A list of company legal entities.
|
|
13
13
|
*
|
|
14
|
-
* - Requires: `API Tier
|
|
14
|
+
* - Requires: `API Tier 1`
|
|
15
15
|
* - Filterable fields: `country_code`
|
|
16
16
|
* - Sortable fields: `id`, `created_at`, `updated_at`
|
|
17
17
|
*/
|
|
@@ -11,7 +11,7 @@ export declare class CompanyLegalEntities extends APIResource {
|
|
|
11
11
|
/**
|
|
12
12
|
* A list of company legal entities.
|
|
13
13
|
*
|
|
14
|
-
* - Requires: `API Tier
|
|
14
|
+
* - Requires: `API Tier 1`
|
|
15
15
|
* - Filterable fields: `country_code`
|
|
16
16
|
* - Sortable fields: `id`, `created_at`, `updated_at`
|
|
17
17
|
*/
|
|
@@ -12,7 +12,7 @@ class CompanyLegalEntities extends resource_1.APIResource {
|
|
|
12
12
|
/**
|
|
13
13
|
* A list of company legal entities.
|
|
14
14
|
*
|
|
15
|
-
* - Requires: `API Tier
|
|
15
|
+
* - Requires: `API Tier 1`
|
|
16
16
|
* - Filterable fields: `country_code`
|
|
17
17
|
* - Sortable fields: `id`, `created_at`, `updated_at`
|
|
18
18
|
*/
|
|
@@ -9,7 +9,7 @@ export class CompanyLegalEntities extends APIResource {
|
|
|
9
9
|
/**
|
|
10
10
|
* A list of company legal entities.
|
|
11
11
|
*
|
|
12
|
-
* - Requires: `API Tier
|
|
12
|
+
* - Requires: `API Tier 1`
|
|
13
13
|
* - Filterable fields: `country_code`
|
|
14
14
|
* - Sortable fields: `id`, `created_at`, `updated_at`
|
|
15
15
|
*/
|
|
@@ -10,7 +10,7 @@ export declare class CompanyLegalEntityWorkers extends APIResource {
|
|
|
10
10
|
/**
|
|
11
11
|
* A list of company-legal-entity-workers.
|
|
12
12
|
*
|
|
13
|
-
* - Requires: `API Tier
|
|
13
|
+
* - Requires: `API Tier 1`
|
|
14
14
|
* - Filterable fields: `status`, `company_entity_id`
|
|
15
15
|
* - Sortable fields: `id`, `created_at`, `updated_at`
|
|
16
16
|
*/
|
|
@@ -10,7 +10,7 @@ export declare class CompanyLegalEntityWorkers extends APIResource {
|
|
|
10
10
|
/**
|
|
11
11
|
* A list of company-legal-entity-workers.
|
|
12
12
|
*
|
|
13
|
-
* - Requires: `API Tier
|
|
13
|
+
* - Requires: `API Tier 1`
|
|
14
14
|
* - Filterable fields: `status`, `company_entity_id`
|
|
15
15
|
* - Sortable fields: `id`, `created_at`, `updated_at`
|
|
16
16
|
*/
|
|
@@ -12,7 +12,7 @@ class CompanyLegalEntityWorkers extends resource_1.APIResource {
|
|
|
12
12
|
/**
|
|
13
13
|
* A list of company-legal-entity-workers.
|
|
14
14
|
*
|
|
15
|
-
* - Requires: `API Tier
|
|
15
|
+
* - Requires: `API Tier 1`
|
|
16
16
|
* - Filterable fields: `status`, `company_entity_id`
|
|
17
17
|
* - Sortable fields: `id`, `created_at`, `updated_at`
|
|
18
18
|
*/
|
|
@@ -9,7 +9,7 @@ export class CompanyLegalEntityWorkers extends APIResource {
|
|
|
9
9
|
/**
|
|
10
10
|
* A list of company-legal-entity-workers.
|
|
11
11
|
*
|
|
12
|
-
* - Requires: `API Tier
|
|
12
|
+
* - Requires: `API Tier 1`
|
|
13
13
|
* - Filterable fields: `status`, `company_entity_id`
|
|
14
14
|
* - Sortable fields: `id`, `created_at`, `updated_at`
|
|
15
15
|
*/
|
|
@@ -11,7 +11,7 @@ export declare class CompensationBandsDetails extends APIResource {
|
|
|
11
11
|
/**
|
|
12
12
|
* A list of compensation bands details.
|
|
13
13
|
*
|
|
14
|
-
* - Requires: `API Tier
|
|
14
|
+
* - Requires: `API Tier 1`
|
|
15
15
|
* - Filterable fields: `created_at`, `updated_at`, `internal_job_code`,
|
|
16
16
|
* `worker_id`
|
|
17
17
|
* - Expandable fields: `worker`
|
|
@@ -11,7 +11,7 @@ export declare class CompensationBandsDetails extends APIResource {
|
|
|
11
11
|
/**
|
|
12
12
|
* A list of compensation bands details.
|
|
13
13
|
*
|
|
14
|
-
* - Requires: `API Tier
|
|
14
|
+
* - Requires: `API Tier 1`
|
|
15
15
|
* - Filterable fields: `created_at`, `updated_at`, `internal_job_code`,
|
|
16
16
|
* `worker_id`
|
|
17
17
|
* - Expandable fields: `worker`
|
|
@@ -12,7 +12,7 @@ class CompensationBandsDetails extends resource_1.APIResource {
|
|
|
12
12
|
/**
|
|
13
13
|
* A list of compensation bands details.
|
|
14
14
|
*
|
|
15
|
-
* - Requires: `API Tier
|
|
15
|
+
* - Requires: `API Tier 1`
|
|
16
16
|
* - Filterable fields: `created_at`, `updated_at`, `internal_job_code`,
|
|
17
17
|
* `worker_id`
|
|
18
18
|
* - Expandable fields: `worker`
|
|
@@ -9,7 +9,7 @@ export class CompensationBandsDetails extends APIResource {
|
|
|
9
9
|
/**
|
|
10
10
|
* A list of compensation bands details.
|
|
11
11
|
*
|
|
12
|
-
* - Requires: `API Tier
|
|
12
|
+
* - Requires: `API Tier 1`
|
|
13
13
|
* - Filterable fields: `created_at`, `updated_at`, `internal_job_code`,
|
|
14
14
|
* `worker_id`
|
|
15
15
|
* - Expandable fields: `worker`
|
|
@@ -36,6 +36,7 @@ export declare class CustomObjects extends APIResource {
|
|
|
36
36
|
delete(customObjectAPIName: string, options?: RequestOptions): APIPromise<void>;
|
|
37
37
|
}
|
|
38
38
|
export type CustomObjectsPageCursorURL = PageCursorURL<CustomObject>;
|
|
39
|
+
/** Public custom-object DTO returned by the REST API. */
|
|
39
40
|
export interface CustomObject {
|
|
40
41
|
/**
|
|
41
42
|
* Identifier field
|
|
@@ -86,6 +87,7 @@ export interface CustomObject {
|
|
|
86
87
|
*/
|
|
87
88
|
owner_id?: string;
|
|
88
89
|
}
|
|
90
|
+
/** Request payload accepted by `client.customObjects.create(...)`. */
|
|
89
91
|
export interface CustomObjectCreateParams {
|
|
90
92
|
/**
|
|
91
93
|
* The category that this custom object belongs to.
|
|
@@ -100,6 +102,7 @@ export interface CustomObjectCreateParams {
|
|
|
100
102
|
*/
|
|
101
103
|
name?: string;
|
|
102
104
|
}
|
|
105
|
+
/** Request payload accepted by `client.customObjects.update(...)`. */
|
|
103
106
|
export interface CustomObjectUpdateParams {
|
|
104
107
|
/**
|
|
105
108
|
* The category that this custom object belongs to.
|
|
@@ -109,6 +112,10 @@ export interface CustomObjectUpdateParams {
|
|
|
109
112
|
* A description of the custom object.
|
|
110
113
|
*/
|
|
111
114
|
description?: string;
|
|
115
|
+
/**
|
|
116
|
+
* Whether to record the history of the custom object.
|
|
117
|
+
*/
|
|
118
|
+
enable_history?: boolean;
|
|
112
119
|
/**
|
|
113
120
|
* The name of the custom object.
|
|
114
121
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"custom-objects.d.mts","sourceRoot":"","sources":["../../src/resources/custom-objects/custom-objects.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,gCAA4B;AAClD,OAAO,KAAK,SAAS,qBAAiB;AACtC,OAAO,EACL,iBAAiB,EACjB,+BAA+B,EAC/B,iBAAiB,EACjB,iBAAiB,EACjB,MAAM,EACP,qBAAiB;AAClB,OAAO,KAAK,UAAU,sBAAkB;AACxC,OAAO,EACL,mBAAmB,EACnB,iCAAiC,EACjC,sBAAsB,EACtB,wBAAwB,EACxB,sBAAsB,EACtB,sBAAsB,EACtB,wBAAwB,EACxB,kBAAkB,EAClB,oBAAoB,EACpB,iBAAiB,EACjB,mBAAmB,EACnB,kBAAkB,EAClB,oBAAoB,EACpB,OAAO,EACR,sBAAkB;AACnB,OAAO,EAAE,UAAU,EAAE,mCAA+B;AACpD,OAAO,EAAE,aAAa,EAAE,WAAW,EAAE,kCAA8B;AAEnE,OAAO,EAAE,cAAc,EAAE,2CAAuC;AAGhE;;GAEG;AACH,qBAAa,aAAc,SAAQ,WAAW;IAC5C,MAAM,EAAE,SAAS,CAAC,MAAM,CAAsC;IAC9D,OAAO,EAAE,UAAU,CAAC,OAAO,CAAwC;IAEnE;;;;OAIG;IACH,IAAI,CA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AAI,kBAAkB,EAC7C,KAAK,sBAAsB,IAAI,sBAAsB,EACrD,KAAK,sBAAsB,IAAI,sBAAsB,EACrD,KAAK,sBAAsB,IAAI,sBAAsB,GACtD,CAAC;CACH"}
|
|
1
|
+
{"version":3,"file":"custom-objects.d.mts","sourceRoot":"","sources":["../../src/resources/custom-objects/custom-objects.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,gCAA4B;AAClD,OAAO,KAAK,SAAS,qBAAiB;AACtC,OAAO,EACL,iBAAiB,EACjB,+BAA+B,EAC/B,iBAAiB,EACjB,iBAAiB,EACjB,MAAM,EACP,qBAAiB;AAClB,OAAO,KAAK,UAAU,sBAAkB;AACxC,OAAO,EACL,mBAAmB,EACnB,iCAAiC,EACjC,sBAAsB,EACtB,wBAAwB,EACxB,sBAAsB,EACtB,sBAAsB,EACtB,wBAAwB,EACxB,kBAAkB,EAClB,oBAAoB,EACpB,iBAAiB,EACjB,mBAAmB,EACnB,kBAAkB,EAClB,oBAAoB,EACpB,OAAO,EACR,sBAAkB;AACnB,OAAO,EAAE,UAAU,EAAE,mCAA+B;AACpD,OAAO,EAAE,aAAa,EAAE,WAAW,EAAE,kCAA8B;AAEnE,OAAO,EAAE,cAAc,EAAE,2CAAuC;AAGhE;;GAEG;AACH,qBAAa,aAAc,SAAQ,WAAW;IAC5C,MAAM,EAAE,SAAS,CAAC,MAAM,CAAsC;IAC9D,OAAO,EAAE,UAAU,CAAC,OAAO,CAAwC;IAEnE;;;;OAIG;IACH,IAAI,CAAC,OAAO,CAAC,EAAE,cAAc,GAAG,WAAW,CAAC,0BAA0B,EAAE,YAAY,CAAC;IAIrF;;OAEG;IACH,MAAM,CACJ,IAAI,GAAE,wBAAwB,GAAG,IAAI,GAAG,SAAc,EACtD,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,YAAY,CAAC;IAI3B;;OAEG;IACH,QAAQ,CAAC,mBAAmB,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE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36
36
|
delete(customObjectAPIName: string, options?: RequestOptions): APIPromise<void>;
|
|
37
37
|
}
|
|
38
38
|
export type CustomObjectsPageCursorURL = PageCursorURL<CustomObject>;
|
|
39
|
+
/** Public custom-object DTO returned by the REST API. */
|
|
39
40
|
export interface CustomObject {
|
|
40
41
|
/**
|
|
41
42
|
* Identifier field
|
|
@@ -86,6 +87,7 @@ export interface CustomObject {
|
|
|
86
87
|
*/
|
|
87
88
|
owner_id?: string;
|
|
88
89
|
}
|
|
90
|
+
/** Request payload accepted by `client.customObjects.create(...)`. */
|
|
89
91
|
export interface CustomObjectCreateParams {
|
|
90
92
|
/**
|
|
91
93
|
* The category that this custom object belongs to.
|
|
@@ -100,6 +102,7 @@ export interface CustomObjectCreateParams {
|
|
|
100
102
|
*/
|
|
101
103
|
name?: string;
|
|
102
104
|
}
|
|
105
|
+
/** Request payload accepted by `client.customObjects.update(...)`. */
|
|
103
106
|
export interface CustomObjectUpdateParams {
|
|
104
107
|
/**
|
|
105
108
|
* The category that this custom object belongs to.
|
|
@@ -109,6 +112,10 @@ export interface CustomObjectUpdateParams {
|
|
|
109
112
|
* A description of the custom object.
|
|
110
113
|
*/
|
|
111
114
|
description?: string;
|
|
115
|
+
/**
|
|
116
|
+
* Whether to record the history of the custom object.
|
|
117
|
+
*/
|
|
118
|
+
enable_history?: boolean;
|
|
112
119
|
/**
|
|
113
120
|
* The name of the custom object.
|
|
114
121
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"custom-objects.d.ts","sourceRoot":"","sources":["../../src/resources/custom-objects/custom-objects.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,+BAA4B;AAClD,OAAO,KAAK,SAAS,oBAAiB;AACtC,OAAO,EACL,iBAAiB,EACjB,+BAA+B,EAC/B,iBAAiB,EACjB,iBAAiB,EACjB,MAAM,EACP,oBAAiB;AAClB,OAAO,KAAK,UAAU,qBAAkB;AACxC,OAAO,EACL,mBAAmB,EACnB,i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,+BAA+B,IAAI,+BAA+B,EACvE,KAAK,iBAAiB,IAAI,iBAAiB,EAC3C,KAAK,iBAAiB,IAAI,iBAAiB,GAC5C,CAAC;IAEF,OAAO,EACL,OAAO,IAAI,OAAO,EAClB,KAAK,mBAAmB,IAAI,mBAAmB,EAC/C,KAAK,oBAAoB,IAAI,oBAAoB,EACjD,KAAK,mBAAmB,IAAI,mBAAmB,EAC/C,KAAK,oBAAoB,IAAI,oBAAoB,EACjD,KAAK,wBAAwB,IAAI,wBAAwB,EACzD,KAAK,wBAAwB,IAAI,wBAAwB,EACzD,KAAK,iCAAiC,IAAI,iCAAiC,EAC3E,KAAK,kBAAkB,IAAI,kBAAkB,EAC7C,KAAK,iBAAiB,IAAI,iBAAiB,EAC3C,KAAK,kBAAkB,IAAI,kBAAkB,EAC7C,KAAK,sBAAsB,IAAI,sBAAsB,EACrD,KAAK,sBAAsB,IAAI,sBAAsB,EACrD,KAAK,sBAAsB,IAAI,sBAAsB,GACtD,CAAC;CACH"}
|
|
1
|
+
{"version":3,"file":"custom-objects.d.ts","sourceRoot":"","sources":["../../src/resources/custom-objects/custom-objects.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,+BAA4B;AAClD,OAAO,KAAK,SAAS,oBAAiB;AACtC,OAAO,EACL,iBAAiB,EACjB,+BAA+B,EAC/B,iBAAiB,EACjB,iBAAiB,EACjB,MAAM,EACP,oBAAiB;AAClB,OAAO,KAAK,UAAU,qBAAkB;AACxC,OAAO,EACL,mBAAmB,EACnB,iCAAiC,EACjC,sBAAsB,EACtB,wBAAwB,EACxB,sBAAsB,EACtB,sBAAsB,EACtB,wBAAwB,EACxB,kBAAkB,EAClB,oBAAoB,EACpB,iBAAiB,EACjB,mBAAmB,EACnB,kBAAkB,EAClB,oBAAoB,EACpB,OAAO,EACR,qBAAkB;AACnB,OAAO,EAAE,UAAU,EAAE,kCAA+B;AACpD,OAAO,EAAE,aAAa,EAAE,WAAW,EAAE,iCAA8B;AAE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AC;IACrE,CAAC;IAED;;OAEG;IACH,QAAQ,CAAC,mBAA2B,EAAE,OAAwB;QAC5D,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAA,WAAI,EAAA,mBAAmB,mBAAmB,GAAG,EAAE,OAAO,CAAC,CAAC;IAClF,CAAC;IAED;;OAEG;IACH,MAAM,CACJ,mBAA2B,EAC3B,OAAoD,EAAE,EACtD,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,IAAA,WAAI,EAAA,mBAAmB,mBAAmB,GAAG,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACjG,CAAC;IAED;;OAEG;IACH,MAAM,CAAC,mBAA2B,EAAE,OAAwB;QAC1D,OAAO,IAAI,CAAC,OAAO,CAAC,MAAM,CAAC,IAAA,WAAI,EAAA,mBAAmB,mBAAmB,GAAG,EAAE;YACxE,GAAG,OAAO;YACV,OAAO,EAAE,IAAA,sBAAY,EAAC,CAAC,EAAE,MAAM,EAAE,KAAK,EAAE,EAAE,OAAO,EAAE,OAAO,CAAC,CAAC;SAC7D,CAAC,CAAC;IACL,CAAC;CACF;AAlDD,sCAkDC;
|
|
1
|
+
{"version":3,"file":"custom-objects.js","sourceRoot":"","sources":["../../src/resources/custom-objects/custom-objects.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;;AAEtF,qDAAkD;AAClD,+DAAsC;AACtC,wCAMkB;AAClB,iEAAwC;AACxC,0CAemB;AAEnB,yDAAmE;AACnE,uDAAsD;AAEtD,uDAAiD;AAEjD;;GAEG;AACH,MAAa,aAAc,SAAQ,sBAAW;IAA9C;;QACE,WAAM,GAAqB,IAAI,SAAS,CAAC,MAAM,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QAC9D,YAAO,GAAuB,IAAI,UAAU,CAAC,OAAO,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;IAgDrE,CAAC;IA9CC;;;;OAIG;IACH,IAAI,CAAC,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AC,IAAI,CAAC,kBAAkB,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACrE,CAAC;IAED;;OAEG;IACH,QAAQ,CAAC,mBAA2B,EAAE,OAAwB;QAC5D,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAI,CAAA,mBAAmB,mBAAmB,GAAG,EAAE,OAAO,CAAC,CAAC;IAClF,CAAC;IAED;;OAEG;IACH,MAAM,CACJ,mBAA2B,EAC3B,OAAoD,EAAE,EACtD,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,IAAI,CAAA,mBAAmB,mBAAmB,GAAG,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACjG,CAAC;IAED;;OAEG;IACH,MAAM,CAAC,mBAA2B,EAAE,OAAwB;QAC1D,OAAO,IAAI,CAAC,OAAO,CAAC,MAAM,CAAC,IAAI,CAAA,mBAAmB,mBAAmB,GAAG,EAAE;YACxE,GAAG,OAAO;YACV,OAAO,EAAE,YAAY,CAAC,CAAC,EAAE,MAAM,EAAE,KAAK,EAAE,EAAE,OAAO,EAAE,OAAO,CAAC,CAAC;SAC7D,CAAC,CAAC;IACL,CAAC;CACF;AAsHD,aAAa,CAAC,MAAM,GAAG,MAAM,CAAC;AAC9B,aAAa,CAAC,OAAO,GAAG,OAAO,CAAC"}
|
|
@@ -30,6 +30,120 @@ export declare class Fields extends APIResource {
|
|
|
30
30
|
delete(customObjectAPIName: string, fieldAPIName: string, options?: RequestOptions): APIPromise<void>;
|
|
31
31
|
}
|
|
32
32
|
export type CustomObjectFieldsPageCursorURL = PageCursorURL<CustomObjectField>;
|
|
33
|
+
/** Supported wire-level field-type identifiers for custom-object fields. */
|
|
34
|
+
export type CustomObjectFieldType = 'TEXT' | 'LONG_TEXT' | 'EMAIL' | 'URL' | 'PHONE_NUMBER' | 'NUMBER' | 'CURRENCY' | 'PERCENTAGE' | 'DATE' | 'DATETIME' | 'TIME' | 'SELECT' | 'RADIO' | 'BOOLEAN' | 'FILE' | 'OG_REFERENCE_FIELD';
|
|
35
|
+
/** Structured `data_type` payload for text fields. */
|
|
36
|
+
export interface TextCustomObjectFieldDataType {
|
|
37
|
+
field_type: 'TEXT';
|
|
38
|
+
max_length?: number;
|
|
39
|
+
}
|
|
40
|
+
/** Structured `data_type` payload for long-text fields. */
|
|
41
|
+
export interface LongTextCustomObjectFieldDataType {
|
|
42
|
+
field_type: 'LONG_TEXT';
|
|
43
|
+
max_length?: number;
|
|
44
|
+
}
|
|
45
|
+
/** Structured `data_type` payload for email fields. */
|
|
46
|
+
export interface EmailCustomObjectFieldDataType {
|
|
47
|
+
field_type: 'EMAIL';
|
|
48
|
+
}
|
|
49
|
+
/** Structured `data_type` payload for URL fields. */
|
|
50
|
+
export interface URLCustomObjectFieldDataType {
|
|
51
|
+
field_type: 'URL';
|
|
52
|
+
}
|
|
53
|
+
/** Structured `data_type` payload for phone-number fields. */
|
|
54
|
+
export interface PhoneNumberCustomObjectFieldDataType {
|
|
55
|
+
field_type: 'PHONE_NUMBER';
|
|
56
|
+
}
|
|
57
|
+
/** Structured `data_type` payload for numeric fields. */
|
|
58
|
+
export interface NumberCustomObjectFieldDataType {
|
|
59
|
+
field_type: 'NUMBER';
|
|
60
|
+
num_of_decimal_places?: number;
|
|
61
|
+
}
|
|
62
|
+
/** Structured `data_type` payload for currency fields. */
|
|
63
|
+
export interface CurrencyCustomObjectFieldDataType {
|
|
64
|
+
field_type: 'CURRENCY';
|
|
65
|
+
currency?: string;
|
|
66
|
+
num_of_decimal_places?: number;
|
|
67
|
+
}
|
|
68
|
+
/** Structured `data_type` payload for percentage fields. */
|
|
69
|
+
export interface PercentageCustomObjectFieldDataType {
|
|
70
|
+
field_type: 'PERCENTAGE';
|
|
71
|
+
num_of_decimal_places?: number;
|
|
72
|
+
}
|
|
73
|
+
/** Structured `data_type` payload for date fields. */
|
|
74
|
+
export interface DateCustomObjectFieldDataType {
|
|
75
|
+
field_type: 'DATE';
|
|
76
|
+
}
|
|
77
|
+
/** Structured `data_type` payload for date-time fields. */
|
|
78
|
+
export interface DatetimeCustomObjectFieldDataType {
|
|
79
|
+
field_type: 'DATETIME';
|
|
80
|
+
}
|
|
81
|
+
/** Structured `data_type` payload for time-of-day fields. */
|
|
82
|
+
export interface TimeCustomObjectFieldDataType {
|
|
83
|
+
field_type: 'TIME';
|
|
84
|
+
}
|
|
85
|
+
/** Structured `data_type` payload for choice fields. */
|
|
86
|
+
export interface ChoiceCustomObjectFieldDataType {
|
|
87
|
+
field_type: 'SELECT' | 'RADIO';
|
|
88
|
+
options_list: string[];
|
|
89
|
+
}
|
|
90
|
+
/** Structured `data_type` payload for boolean fields. */
|
|
91
|
+
export interface BooleanCustomObjectFieldDataType {
|
|
92
|
+
field_type: 'BOOLEAN';
|
|
93
|
+
}
|
|
94
|
+
/** Structured `data_type` payload for file fields. */
|
|
95
|
+
export interface FileCustomObjectFieldDataType {
|
|
96
|
+
field_type: 'FILE';
|
|
97
|
+
supported_types?: string[];
|
|
98
|
+
}
|
|
99
|
+
/** Structured `data_type` payload for relationship fields. */
|
|
100
|
+
export interface ReferenceCustomObjectFieldDataType {
|
|
101
|
+
field_type: 'OG_REFERENCE_FIELD';
|
|
102
|
+
og_model_rql_name: string;
|
|
103
|
+
edge_type?: 'LOOKUP' | 'PARENT_CHILD';
|
|
104
|
+
related_data_label?: string;
|
|
105
|
+
lookup_filter_rql_condition?: string;
|
|
106
|
+
parent_child_type?: 'PRIMARY' | 'SECONDARY';
|
|
107
|
+
enable_parent_owner_inheritance?: boolean;
|
|
108
|
+
}
|
|
109
|
+
/** Typed `data_type` union for custom-object field create/update payloads. */
|
|
110
|
+
export type CustomObjectFieldDataType = TextCustomObjectFieldDataType | LongTextCustomObjectFieldDataType | EmailCustomObjectFieldDataType | URLCustomObjectFieldDataType | PhoneNumberCustomObjectFieldDataType | NumberCustomObjectFieldDataType | CurrencyCustomObjectFieldDataType | PercentageCustomObjectFieldDataType | DateCustomObjectFieldDataType | DatetimeCustomObjectFieldDataType | TimeCustomObjectFieldDataType | ChoiceCustomObjectFieldDataType | BooleanCustomObjectFieldDataType | FileCustomObjectFieldDataType | ReferenceCustomObjectFieldDataType;
|
|
111
|
+
/** Filter entry accepted by derived aggregated field metadata. */
|
|
112
|
+
export interface CustomObjectFieldDerivedAggregationFilter {
|
|
113
|
+
field_name: string;
|
|
114
|
+
filter_value: string;
|
|
115
|
+
operator: string;
|
|
116
|
+
}
|
|
117
|
+
/** Structured payload for derived aggregated field metadata. */
|
|
118
|
+
export interface CustomObjectFieldDerivedAggregatedField {
|
|
119
|
+
aggregation_function?: string;
|
|
120
|
+
child_model_name?: string;
|
|
121
|
+
currency_code?: string | null;
|
|
122
|
+
field_to_aggregate?: string;
|
|
123
|
+
filters?: CustomObjectFieldDerivedAggregationFilter[];
|
|
124
|
+
lookup_field_api_name?: string;
|
|
125
|
+
[key: string]: unknown;
|
|
126
|
+
}
|
|
127
|
+
/** Formula attribute metadata accepted by field create/update APIs. */
|
|
128
|
+
export type CustomObjectFieldFormulaAttrMetas = Record<string, unknown>;
|
|
129
|
+
/** Computed-field RQL definition metadata accepted by field create/update APIs. */
|
|
130
|
+
export type CustomObjectFieldRqlDefinition = Record<string, unknown>;
|
|
131
|
+
/** Legacy object-shaped field-section payload surfaced by the generated schema. */
|
|
132
|
+
export interface CustomObjectFieldSectionConfig {
|
|
133
|
+
name?: string;
|
|
134
|
+
section_id?: string;
|
|
135
|
+
[key: string]: unknown;
|
|
136
|
+
}
|
|
137
|
+
/** Field-section value accepted by the custom-object field APIs. */
|
|
138
|
+
export type CustomObjectFieldSection = string | CustomObjectFieldSectionConfig;
|
|
139
|
+
/** Name-field display / autonumber metadata accepted by field update APIs. */
|
|
140
|
+
export interface CustomObjectNameFieldDetails {
|
|
141
|
+
is_autonumber_field?: boolean;
|
|
142
|
+
autonumber_format?: string;
|
|
143
|
+
starting_number?: number;
|
|
144
|
+
[key: string]: unknown;
|
|
145
|
+
}
|
|
146
|
+
/** Public custom-object field DTO returned by the REST API. */
|
|
33
147
|
export interface CustomObjectField {
|
|
34
148
|
/**
|
|
35
149
|
* Identifier field
|
|
@@ -48,9 +162,9 @@ export interface CustomObjectField {
|
|
|
48
162
|
*/
|
|
49
163
|
custom_object: string;
|
|
50
164
|
/**
|
|
51
|
-
* The
|
|
165
|
+
* The field type
|
|
52
166
|
*/
|
|
53
|
-
data_type: unknown
|
|
167
|
+
data_type: CustomObjectFieldDataType | Record<string, unknown>;
|
|
54
168
|
/**
|
|
55
169
|
* whether the history is enable for the field
|
|
56
170
|
*/
|
|
@@ -84,29 +198,16 @@ export interface CustomObjectField {
|
|
|
84
198
|
*/
|
|
85
199
|
managed_package_install_id?: string;
|
|
86
200
|
}
|
|
87
|
-
export declare namespace CustomObjectField {
|
|
88
|
-
/**
|
|
89
|
-
* The data type configuration for the field.
|
|
90
|
-
*/
|
|
91
|
-
interface DataType {
|
|
92
|
-
/**
|
|
93
|
-
* Configured fractional scale for NUMBER, PERCENTAGE, and CURRENCY fields.
|
|
94
|
-
* Availability above the legacy per-type limit is capability-gated.
|
|
95
|
-
*/
|
|
96
|
-
num_of_decimal_places?: number;
|
|
97
|
-
[k: string]: unknown;
|
|
98
|
-
}
|
|
99
|
-
}
|
|
100
201
|
/** Request payload accepted by `client.customObjects.fields.create(...)`. */
|
|
101
202
|
export interface FieldCreateParams {
|
|
102
203
|
/**
|
|
103
204
|
* The data type configuration for the field.
|
|
104
205
|
*/
|
|
105
|
-
data_type?: unknown
|
|
206
|
+
data_type?: CustomObjectFieldDataType | Record<string, unknown>;
|
|
106
207
|
/**
|
|
107
208
|
* Configuration for derived aggregated fields.
|
|
108
209
|
*/
|
|
109
|
-
derived_aggregated_field?:
|
|
210
|
+
derived_aggregated_field?: CustomObjectFieldDerivedAggregatedField;
|
|
110
211
|
/**
|
|
111
212
|
* The formula for derived fields.
|
|
112
213
|
*/
|
|
@@ -122,7 +223,7 @@ export interface FieldCreateParams {
|
|
|
122
223
|
/**
|
|
123
224
|
* Metadata for formula attributes.
|
|
124
225
|
*/
|
|
125
|
-
formula_attr_metas?:
|
|
226
|
+
formula_attr_metas?: CustomObjectFieldFormulaAttrMetas;
|
|
126
227
|
/**
|
|
127
228
|
* Whether field values must be unique.
|
|
128
229
|
*/
|
|
@@ -138,31 +239,18 @@ export interface FieldCreateParams {
|
|
|
138
239
|
/**
|
|
139
240
|
* The RQL definition for computed fields.
|
|
140
241
|
*/
|
|
141
|
-
rql_definition?:
|
|
242
|
+
rql_definition?: CustomObjectFieldRqlDefinition;
|
|
142
243
|
/**
|
|
143
|
-
* The section configuration for the field.
|
|
244
|
+
* The section identifier or section configuration for the field.
|
|
144
245
|
*/
|
|
145
|
-
section?:
|
|
146
|
-
}
|
|
147
|
-
export declare namespace FieldCreateParams {
|
|
148
|
-
/**
|
|
149
|
-
* The data type configuration for the field.
|
|
150
|
-
*/
|
|
151
|
-
interface DataType {
|
|
152
|
-
/**
|
|
153
|
-
* Configured fractional scale for NUMBER, PERCENTAGE, and CURRENCY fields.
|
|
154
|
-
* Availability above the legacy per-type limit is capability-gated.
|
|
155
|
-
*/
|
|
156
|
-
num_of_decimal_places?: number;
|
|
157
|
-
[k: string]: unknown;
|
|
158
|
-
}
|
|
246
|
+
section?: CustomObjectFieldSection;
|
|
159
247
|
}
|
|
160
248
|
/** Request payload accepted by `client.customObjects.fields.update(...)`. */
|
|
161
249
|
export interface FieldUpdateParams {
|
|
162
250
|
/**
|
|
163
251
|
* The data type configuration for the field.
|
|
164
252
|
*/
|
|
165
|
-
data_type?: unknown
|
|
253
|
+
data_type?: CustomObjectFieldDataType | Record<string, unknown>;
|
|
166
254
|
/**
|
|
167
255
|
* The formula for derived fields.
|
|
168
256
|
*/
|
|
@@ -178,7 +266,7 @@ export interface FieldUpdateParams {
|
|
|
178
266
|
/**
|
|
179
267
|
* Metadata for formula attributes.
|
|
180
268
|
*/
|
|
181
|
-
formula_attr_metas?:
|
|
269
|
+
formula_attr_metas?: CustomObjectFieldFormulaAttrMetas;
|
|
182
270
|
/**
|
|
183
271
|
* Whether field values must be unique.
|
|
184
272
|
*/
|
|
@@ -190,7 +278,7 @@ export interface FieldUpdateParams {
|
|
|
190
278
|
/**
|
|
191
279
|
* Configuration for name field display.
|
|
192
280
|
*/
|
|
193
|
-
name_field_details?:
|
|
281
|
+
name_field_details?: CustomObjectNameFieldDetails;
|
|
194
282
|
/**
|
|
195
283
|
* Whether this field is required.
|
|
196
284
|
*/
|
|
@@ -198,26 +286,13 @@ export interface FieldUpdateParams {
|
|
|
198
286
|
/**
|
|
199
287
|
* The RQL definition for computed fields.
|
|
200
288
|
*/
|
|
201
|
-
rql_definition?:
|
|
289
|
+
rql_definition?: CustomObjectFieldRqlDefinition;
|
|
202
290
|
/**
|
|
203
|
-
* The section configuration for the field.
|
|
204
|
-
*/
|
|
205
|
-
section?: unknown;
|
|
206
|
-
}
|
|
207
|
-
export declare namespace FieldUpdateParams {
|
|
208
|
-
/**
|
|
209
|
-
* The data type configuration for the field.
|
|
291
|
+
* The section identifier or section configuration for the field.
|
|
210
292
|
*/
|
|
211
|
-
|
|
212
|
-
/**
|
|
213
|
-
* Configured fractional scale for NUMBER, PERCENTAGE, and CURRENCY fields.
|
|
214
|
-
* Availability above the legacy per-type limit is capability-gated.
|
|
215
|
-
*/
|
|
216
|
-
num_of_decimal_places?: number;
|
|
217
|
-
[k: string]: unknown;
|
|
218
|
-
}
|
|
293
|
+
section?: CustomObjectFieldSection;
|
|
219
294
|
}
|
|
220
295
|
export declare namespace Fields {
|
|
221
|
-
export { type CustomObjectField as CustomObjectField, type CustomObjectFieldsPageCursorURL as CustomObjectFieldsPageCursorURL, type FieldCreateParams as FieldCreateParams, type FieldUpdateParams as FieldUpdateParams, };
|
|
296
|
+
export { type CustomObjectFieldType as CustomObjectFieldType, type CustomObjectFieldDataType as CustomObjectFieldDataType, type CustomObjectFieldDerivedAggregationFilter as CustomObjectFieldDerivedAggregationFilter, type CustomObjectFieldDerivedAggregatedField as CustomObjectFieldDerivedAggregatedField, type CustomObjectFieldFormulaAttrMetas as CustomObjectFieldFormulaAttrMetas, type CustomObjectFieldRqlDefinition as CustomObjectFieldRqlDefinition, type CustomObjectFieldSectionConfig as CustomObjectFieldSectionConfig, type CustomObjectFieldSection as CustomObjectFieldSection, type CustomObjectNameFieldDetails as CustomObjectNameFieldDetails, type CustomObjectField as CustomObjectField, type CustomObjectFieldsPageCursorURL as CustomObjectFieldsPageCursorURL, type FieldCreateParams as FieldCreateParams, type FieldUpdateParams as FieldUpdateParams, };
|
|
222
297
|
}
|
|
223
298
|
//# sourceMappingURL=fields.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"fields.d.mts","sourceRoot":"","sources":["../../src/resources/custom-objects/fields.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,gCAA4B;AAClD,OAAO,EAAE,UAAU,EAAE,mCAA+B;AACpD,OAAO,EAAE,aAAa,EAAE,WAAW,EAAE,kCAA8B;AAEnE,OAAO,EAAE,cAAc,EAAE,2CAAuC;AAGhE;;GAEG;AACH,qBAAa,MAAO,SAAQ,WAAW;IACrC;;;;OAIG;IACH,IAAI,CACF,mBAAmB,EAAE,MAAM,EAC3B,OAAO,CAAC,EAAE,cAAc,GACvB,WAAW,CAAC,+BAA+B,EAAE,iBAAiB,CAAC;IAQlE;;OAEG;IACH,MAAM,CACJ,mBAAmB,EAAE,MAAM,EAC3B,IAAI,GAAE,iBAAiB,GAAG,IAAI,GAAG,SAAc,EAC/C,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,iBAAiB,CAAC;IAIhC;;OAEG;IACH,QAAQ,CACN,mBAAmB,EAAE,MAAM,EAC3B,YAAY,EAAE,MAAM,EACpB,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,iBAAiB,CAAC;IAIhC;;OAEG;IACH,MAAM,CACJ,mBAAmB,EAAE,MAAM,EAC3B,YAAY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