@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
|
@@ -0,0 +1,302 @@
|
|
|
1
|
+
import type { CustomObjectFieldDerivedAggregatedField, CustomObjectFieldFormulaAttrMetas, CustomObjectFieldRqlDefinition, CustomObjectFieldSection as RestCustomObjectFieldSection } from "../../../resources/custom-objects/fields.mjs";
|
|
2
|
+
import type { AnyCustomObjectDefinition, BooleanFieldDefinition, CurrencyFieldDefinition, CustomObjectIdentity, DateFieldDefinition, DatetimeFieldDefinition, EmailFieldDefinition, FileFieldDefinition, FormulaFieldDefinition, LongTextFieldDefinition, LookupFieldDefinition, LookupTarget, NativeModelTarget, NumberFieldDefinition, ParentChildFieldDefinition, PercentageFieldDefinition, PhoneFieldDefinition, RadioFieldDefinition, SectionDefinition, SelectFieldDefinition, TextFieldDefinition, TimeFieldDefinition, UrlFieldDefinition } from "./types.mjs";
|
|
3
|
+
/**
|
|
4
|
+
* Internal helper for field factories that expose `required` and `section`.
|
|
5
|
+
*
|
|
6
|
+
* @typeParam TRequired - Literal boolean carried through to derived input types.
|
|
7
|
+
* @typeParam TSectionKey - Allowed section-key union for the enclosing object.
|
|
8
|
+
*/
|
|
9
|
+
interface BooleanLikeProps<TRequired extends boolean, TSectionKey extends string | undefined> {
|
|
10
|
+
readonly required?: TRequired;
|
|
11
|
+
readonly section?: TSectionKey;
|
|
12
|
+
}
|
|
13
|
+
/**
|
|
14
|
+
* Internal helper for choice-based field factories.
|
|
15
|
+
*
|
|
16
|
+
* @typeParam TRequired - Literal boolean carried through to derived input types.
|
|
17
|
+
* @typeParam TSectionKey - Allowed section-key union for the enclosing object.
|
|
18
|
+
*/
|
|
19
|
+
interface ChoiceProps<TRequired extends boolean, TSectionKey extends string | undefined> extends BooleanLikeProps<TRequired, TSectionKey> {
|
|
20
|
+
readonly options: readonly string[];
|
|
21
|
+
}
|
|
22
|
+
/**
|
|
23
|
+
* Internal helper for numeric field factories that support decimal-place metadata.
|
|
24
|
+
*
|
|
25
|
+
* @typeParam TRequired - Literal boolean carried through to derived input types.
|
|
26
|
+
* @typeParam TSectionKey - Allowed section-key union for the enclosing object.
|
|
27
|
+
*/
|
|
28
|
+
interface NumericProps<TRequired extends boolean, TSectionKey extends string | undefined> extends BooleanLikeProps<TRequired, TSectionKey> {
|
|
29
|
+
readonly decimalPlaces?: number;
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* Internal presentation properties shared by every field factory.
|
|
33
|
+
*
|
|
34
|
+
* @typeParam TSectionKey - Allowed section-key union for the enclosing object.
|
|
35
|
+
*/
|
|
36
|
+
interface CommonFieldProps<TSectionKey extends string | undefined> {
|
|
37
|
+
readonly displayName: string;
|
|
38
|
+
readonly description: string;
|
|
39
|
+
readonly section?: TSectionKey;
|
|
40
|
+
readonly enableHistory?: boolean;
|
|
41
|
+
readonly formulaAttributeMetas?: CustomObjectFieldFormulaAttrMetas;
|
|
42
|
+
readonly derivedAggregatedField?: CustomObjectFieldDerivedAggregatedField;
|
|
43
|
+
readonly rqlDefinition?: CustomObjectFieldRqlDefinition;
|
|
44
|
+
readonly restSection?: RestCustomObjectFieldSection;
|
|
45
|
+
}
|
|
46
|
+
/**
|
|
47
|
+
* Declares a native Rippling model target for lookup fields.
|
|
48
|
+
*
|
|
49
|
+
* @param apiName - Native model API name, for example `'Employee'`.
|
|
50
|
+
* @returns Immutable native-model target descriptor for lookup fields.
|
|
51
|
+
* @typeParam TApiName - Native model api name, for example `'Employee'`.
|
|
52
|
+
*/
|
|
53
|
+
export declare function nativeModel<TApiName extends string>(apiName: TApiName): NativeModelTarget<TApiName>;
|
|
54
|
+
/**
|
|
55
|
+
* Defines a single-line text field.
|
|
56
|
+
*
|
|
57
|
+
* @param props - Text-field metadata and presentation properties.
|
|
58
|
+
* @returns Immutable text field definition.
|
|
59
|
+
* @typeParam TRequired - Whether the field is required during record creation.
|
|
60
|
+
* @typeParam TSectionKey - Allowed section-key union for the enclosing object.
|
|
61
|
+
*/
|
|
62
|
+
export declare function text<TRequired extends boolean = false, TSectionKey extends string | undefined = string | undefined>(props: CommonFieldProps<TSectionKey> & BooleanLikeProps<TRequired, TSectionKey> & {
|
|
63
|
+
readonly unique?: boolean;
|
|
64
|
+
readonly maxLength?: number;
|
|
65
|
+
}): TextFieldDefinition<TRequired, TSectionKey>;
|
|
66
|
+
/**
|
|
67
|
+
* Defines a multi-line text field.
|
|
68
|
+
*
|
|
69
|
+
* @param props - Long-text field metadata and presentation properties.
|
|
70
|
+
* @returns Immutable long-text field definition.
|
|
71
|
+
* @typeParam TRequired - Whether the field is required during record creation.
|
|
72
|
+
* @typeParam TSectionKey - Allowed section-key union for the enclosing object.
|
|
73
|
+
*/
|
|
74
|
+
export declare function longText<TRequired extends boolean = false, TSectionKey extends string | undefined = string | undefined>(props: CommonFieldProps<TSectionKey> & BooleanLikeProps<TRequired, TSectionKey> & {
|
|
75
|
+
readonly maxLength?: number;
|
|
76
|
+
}): LongTextFieldDefinition<TRequired, TSectionKey>;
|
|
77
|
+
/**
|
|
78
|
+
* Defines an email-address field.
|
|
79
|
+
*
|
|
80
|
+
* @param props - Email-field metadata and presentation properties.
|
|
81
|
+
* @returns Immutable email field definition.
|
|
82
|
+
* @typeParam TRequired - Whether the field is required during record creation.
|
|
83
|
+
* @typeParam TSectionKey - Allowed section-key union for the enclosing object.
|
|
84
|
+
*/
|
|
85
|
+
export declare function email<TRequired extends boolean = false, TSectionKey extends string | undefined = string | undefined>(props: CommonFieldProps<TSectionKey> & BooleanLikeProps<TRequired, TSectionKey> & {
|
|
86
|
+
readonly unique?: boolean;
|
|
87
|
+
}): EmailFieldDefinition<TRequired, TSectionKey>;
|
|
88
|
+
/**
|
|
89
|
+
* Defines a URL field.
|
|
90
|
+
*
|
|
91
|
+
* @param props - URL-field metadata and presentation properties.
|
|
92
|
+
* @returns Immutable URL field definition.
|
|
93
|
+
* @typeParam TRequired - Whether the field is required during record creation.
|
|
94
|
+
* @typeParam TSectionKey - Allowed section-key union for the enclosing object.
|
|
95
|
+
*/
|
|
96
|
+
export declare function url<TRequired extends boolean = false, TSectionKey extends string | undefined = string | undefined>(props: CommonFieldProps<TSectionKey> & BooleanLikeProps<TRequired, TSectionKey>): UrlFieldDefinition<TRequired, TSectionKey>;
|
|
97
|
+
/**
|
|
98
|
+
* Defines a phone-number field.
|
|
99
|
+
*
|
|
100
|
+
* @param props - Phone-field metadata and presentation properties.
|
|
101
|
+
* @returns Immutable phone field definition.
|
|
102
|
+
* @typeParam TRequired - Whether the field is required during record creation.
|
|
103
|
+
* @typeParam TSectionKey - Allowed section-key union for the enclosing object.
|
|
104
|
+
*/
|
|
105
|
+
export declare function phone<TRequired extends boolean = false, TSectionKey extends string | undefined = string | undefined>(props: CommonFieldProps<TSectionKey> & BooleanLikeProps<TRequired, TSectionKey>): PhoneFieldDefinition<TRequired, TSectionKey>;
|
|
106
|
+
/**
|
|
107
|
+
* Defines a numeric field.
|
|
108
|
+
*
|
|
109
|
+
* @param props - Number-field metadata and presentation properties.
|
|
110
|
+
* @returns Immutable number field definition.
|
|
111
|
+
* @typeParam TRequired - Whether the field is required during record creation.
|
|
112
|
+
* @typeParam TSectionKey - Allowed section-key union for the enclosing object.
|
|
113
|
+
*/
|
|
114
|
+
export declare function number<TRequired extends boolean = false, TSectionKey extends string | undefined = string | undefined>(props: CommonFieldProps<TSectionKey> & NumericProps<TRequired, TSectionKey> & {
|
|
115
|
+
readonly unique?: boolean;
|
|
116
|
+
}): NumberFieldDefinition<TRequired, TSectionKey>;
|
|
117
|
+
/**
|
|
118
|
+
* Defines a currency field.
|
|
119
|
+
*
|
|
120
|
+
* @param props - Currency-field metadata and presentation properties.
|
|
121
|
+
* @returns Immutable currency field definition.
|
|
122
|
+
* @typeParam TRequired - Whether the field is required during record creation.
|
|
123
|
+
* @typeParam TSectionKey - Allowed section-key union for the enclosing object.
|
|
124
|
+
*/
|
|
125
|
+
export declare function currency<TRequired extends boolean = false, TSectionKey extends string | undefined = string | undefined>(props: CommonFieldProps<TSectionKey> & NumericProps<TRequired, TSectionKey> & {
|
|
126
|
+
readonly currency?: string;
|
|
127
|
+
}): CurrencyFieldDefinition<TRequired, TSectionKey>;
|
|
128
|
+
/**
|
|
129
|
+
* Defines a percentage field.
|
|
130
|
+
*
|
|
131
|
+
* @param props - Percentage-field metadata and presentation properties.
|
|
132
|
+
* @returns Immutable percentage field definition.
|
|
133
|
+
* @typeParam TRequired - Whether the field is required during record creation.
|
|
134
|
+
* @typeParam TSectionKey - Allowed section-key union for the enclosing object.
|
|
135
|
+
*/
|
|
136
|
+
export declare function percentage<TRequired extends boolean = false, TSectionKey extends string | undefined = string | undefined>(props: CommonFieldProps<TSectionKey> & BooleanLikeProps<TRequired, TSectionKey>): PercentageFieldDefinition<TRequired, TSectionKey>;
|
|
137
|
+
/**
|
|
138
|
+
* Defines a date-only field.
|
|
139
|
+
*
|
|
140
|
+
* @param props - Date-field metadata and presentation properties.
|
|
141
|
+
* @returns Immutable date field definition.
|
|
142
|
+
* @typeParam TRequired - Whether the field is required during record creation.
|
|
143
|
+
* @typeParam TSectionKey - Allowed section-key union for the enclosing object.
|
|
144
|
+
*/
|
|
145
|
+
export declare function date<TRequired extends boolean = false, TSectionKey extends string | undefined = string | undefined>(props: CommonFieldProps<TSectionKey> & BooleanLikeProps<TRequired, TSectionKey>): DateFieldDefinition<TRequired, TSectionKey>;
|
|
146
|
+
/**
|
|
147
|
+
* Defines a date-time field.
|
|
148
|
+
*
|
|
149
|
+
* @param props - Datetime-field metadata and presentation properties.
|
|
150
|
+
* @returns Immutable datetime field definition.
|
|
151
|
+
* @typeParam TRequired - Whether the field is required during record creation.
|
|
152
|
+
* @typeParam TSectionKey - Allowed section-key union for the enclosing object.
|
|
153
|
+
*/
|
|
154
|
+
export declare function datetime<TRequired extends boolean = false, TSectionKey extends string | undefined = string | undefined>(props: CommonFieldProps<TSectionKey> & BooleanLikeProps<TRequired, TSectionKey>): DatetimeFieldDefinition<TRequired, TSectionKey>;
|
|
155
|
+
/**
|
|
156
|
+
* Defines a time-of-day field.
|
|
157
|
+
*
|
|
158
|
+
* @param props - Time-field metadata and presentation properties.
|
|
159
|
+
* @returns Immutable time field definition.
|
|
160
|
+
* @typeParam TRequired - Whether the field is required during record creation.
|
|
161
|
+
* @typeParam TSectionKey - Allowed section-key union for the enclosing object.
|
|
162
|
+
*/
|
|
163
|
+
export declare function time<TRequired extends boolean = false, TSectionKey extends string | undefined = string | undefined>(props: CommonFieldProps<TSectionKey> & BooleanLikeProps<TRequired, TSectionKey>): TimeFieldDefinition<TRequired, TSectionKey>;
|
|
164
|
+
/**
|
|
165
|
+
* Defines a multi-select choice field.
|
|
166
|
+
*
|
|
167
|
+
* @param props - Multi-select field metadata and presentation properties.
|
|
168
|
+
* @returns Immutable multi-select field definition.
|
|
169
|
+
* @typeParam TRequired - Whether the field is required during record creation.
|
|
170
|
+
* @typeParam TSectionKey - Allowed section-key union for the enclosing object.
|
|
171
|
+
*/
|
|
172
|
+
export declare function select<TRequired extends boolean = false, TSectionKey extends string | undefined = string | undefined>(props: CommonFieldProps<TSectionKey> & ChoiceProps<TRequired, TSectionKey>): SelectFieldDefinition<TRequired, TSectionKey>;
|
|
173
|
+
/**
|
|
174
|
+
* Defines a single-select radio field.
|
|
175
|
+
*
|
|
176
|
+
* @param props - Radio-field metadata and presentation properties.
|
|
177
|
+
* @returns Immutable radio field definition.
|
|
178
|
+
* @typeParam TRequired - Whether the field is required during record creation.
|
|
179
|
+
* @typeParam TSectionKey - Allowed section-key union for the enclosing object.
|
|
180
|
+
*/
|
|
181
|
+
export declare function radio<TRequired extends boolean = false, TSectionKey extends string | undefined = string | undefined>(props: CommonFieldProps<TSectionKey> & ChoiceProps<TRequired, TSectionKey>): RadioFieldDefinition<TRequired, TSectionKey>;
|
|
182
|
+
/**
|
|
183
|
+
* Defines a boolean field.
|
|
184
|
+
*
|
|
185
|
+
* @param props - Boolean-field metadata and presentation properties.
|
|
186
|
+
* @returns Immutable boolean field definition.
|
|
187
|
+
* @typeParam TRequired - Whether the field is required during record creation.
|
|
188
|
+
* @typeParam TSectionKey - Allowed section-key union for the enclosing object.
|
|
189
|
+
*/
|
|
190
|
+
export declare function boolean<TRequired extends boolean = false, TSectionKey extends string | undefined = string | undefined>(props: CommonFieldProps<TSectionKey> & BooleanLikeProps<TRequired, TSectionKey>): BooleanFieldDefinition<TRequired, TSectionKey>;
|
|
191
|
+
/**
|
|
192
|
+
* Defines a file attachment field.
|
|
193
|
+
*
|
|
194
|
+
* @param props - File-field metadata and presentation properties.
|
|
195
|
+
* @returns Immutable file field definition.
|
|
196
|
+
* @typeParam TRequired - Whether the field is required during record creation.
|
|
197
|
+
* @typeParam TSectionKey - Allowed section-key union for the enclosing object.
|
|
198
|
+
*/
|
|
199
|
+
export declare function file<TRequired extends boolean = false, TSectionKey extends string | undefined = string | undefined>(props: CommonFieldProps<TSectionKey> & BooleanLikeProps<TRequired, TSectionKey> & {
|
|
200
|
+
readonly allowedType: 'images' | 'documents' | 'any';
|
|
201
|
+
}): FileFieldDefinition<TRequired, TSectionKey>;
|
|
202
|
+
/**
|
|
203
|
+
* Defines a many-to-one lookup field.
|
|
204
|
+
*
|
|
205
|
+
* @param target - Target object or native model referenced by the lookup.
|
|
206
|
+
* @param props - Lookup-field metadata and presentation properties.
|
|
207
|
+
* @returns Immutable lookup field definition.
|
|
208
|
+
* @typeParam TTarget - Target object or native model referenced by the lookup.
|
|
209
|
+
* @typeParam TRequired - Whether the lookup is required during record creation.
|
|
210
|
+
* @typeParam TSectionKey - Allowed section-key union for the enclosing object.
|
|
211
|
+
*/
|
|
212
|
+
export declare function lookup<TTarget extends LookupTarget, TRequired extends boolean = false, TSectionKey extends string | undefined = string | undefined>(target: TTarget, props: CommonFieldProps<TSectionKey> & BooleanLikeProps<TRequired, TSectionKey> & {
|
|
213
|
+
readonly relatedDataLabel?: string;
|
|
214
|
+
readonly lookupFilterRqlCondition?: string;
|
|
215
|
+
}): LookupFieldDefinition<TTarget, TRequired, TSectionKey>;
|
|
216
|
+
/**
|
|
217
|
+
* Defines a parent-child relationship field.
|
|
218
|
+
*
|
|
219
|
+
* @param target - Parent object definition referenced by the relationship.
|
|
220
|
+
* @param props - Parent-child field metadata and presentation properties.
|
|
221
|
+
* @returns Immutable parent-child field definition.
|
|
222
|
+
* @typeParam TTarget - Parent object definition referenced by the relationship.
|
|
223
|
+
* @typeParam TSectionKey - Allowed section-key union for the enclosing object.
|
|
224
|
+
*/
|
|
225
|
+
export declare function parentChild<TTarget extends Pick<AnyCustomObjectDefinition, 'name' | 'apiName'>, TSectionKey extends string | undefined = string | undefined>(target: TTarget, props: CommonFieldProps<TSectionKey> & {
|
|
226
|
+
readonly relatedDataLabel?: string;
|
|
227
|
+
readonly parentChildType?: 'PRIMARY' | 'SECONDARY';
|
|
228
|
+
readonly enableParentOwnerInheritance?: boolean;
|
|
229
|
+
readonly section?: TSectionKey;
|
|
230
|
+
}): ParentChildFieldDefinition<CustomObjectIdentity<TTarget['name']>, TSectionKey>;
|
|
231
|
+
/** Public helper surface for read-only formula fields. */
|
|
232
|
+
export interface FormulaHelpers {
|
|
233
|
+
/**
|
|
234
|
+
* Defines a text-valued formula field.
|
|
235
|
+
*
|
|
236
|
+
* @typeParam TSectionKey - Allowed section-key union for the enclosing object.
|
|
237
|
+
*/
|
|
238
|
+
text<TSectionKey extends string | undefined = string | undefined>(props: CommonFieldProps<TSectionKey> & {
|
|
239
|
+
readonly formula: string;
|
|
240
|
+
readonly maxLength: number;
|
|
241
|
+
}): FormulaFieldDefinition<'formula-text', string, TSectionKey>;
|
|
242
|
+
/**
|
|
243
|
+
* Defines a numeric formula field.
|
|
244
|
+
*
|
|
245
|
+
* @typeParam TSectionKey - Allowed section-key union for the enclosing object.
|
|
246
|
+
*/
|
|
247
|
+
number<TSectionKey extends string | undefined = string | undefined>(props: CommonFieldProps<TSectionKey> & {
|
|
248
|
+
readonly formula: string;
|
|
249
|
+
}): FormulaFieldDefinition<'formula-number', number, TSectionKey>;
|
|
250
|
+
/**
|
|
251
|
+
* Defines a boolean formula field.
|
|
252
|
+
*
|
|
253
|
+
* @typeParam TSectionKey - Allowed section-key union for the enclosing object.
|
|
254
|
+
*/
|
|
255
|
+
boolean<TSectionKey extends string | undefined = string | undefined>(props: CommonFieldProps<TSectionKey> & {
|
|
256
|
+
readonly formula: string;
|
|
257
|
+
}): FormulaFieldDefinition<'formula-boolean', boolean, TSectionKey>;
|
|
258
|
+
/**
|
|
259
|
+
* Defines a currency-valued formula field.
|
|
260
|
+
*
|
|
261
|
+
* @typeParam TSectionKey - Allowed section-key union for the enclosing object.
|
|
262
|
+
*/
|
|
263
|
+
currency<TSectionKey extends string | undefined = string | undefined>(props: CommonFieldProps<TSectionKey> & {
|
|
264
|
+
readonly formula: string;
|
|
265
|
+
}): FormulaFieldDefinition<'formula-currency', number, TSectionKey>;
|
|
266
|
+
/**
|
|
267
|
+
* Defines a percentage-valued formula field.
|
|
268
|
+
*
|
|
269
|
+
* @typeParam TSectionKey - Allowed section-key union for the enclosing object.
|
|
270
|
+
*/
|
|
271
|
+
percentage<TSectionKey extends string | undefined = string | undefined>(props: CommonFieldProps<TSectionKey> & {
|
|
272
|
+
readonly formula: string;
|
|
273
|
+
}): FormulaFieldDefinition<'formula-percentage', number, TSectionKey>;
|
|
274
|
+
/**
|
|
275
|
+
* Defines a date-valued formula field.
|
|
276
|
+
*
|
|
277
|
+
* @typeParam TSectionKey - Allowed section-key union for the enclosing object.
|
|
278
|
+
*/
|
|
279
|
+
date<TSectionKey extends string | undefined = string | undefined>(props: CommonFieldProps<TSectionKey> & {
|
|
280
|
+
readonly formula: string;
|
|
281
|
+
}): FormulaFieldDefinition<'formula-date', string, TSectionKey>;
|
|
282
|
+
/**
|
|
283
|
+
* Defines a URL-valued formula field.
|
|
284
|
+
*
|
|
285
|
+
* @typeParam TSectionKey - Allowed section-key union for the enclosing object.
|
|
286
|
+
*/
|
|
287
|
+
url<TSectionKey extends string | undefined = string | undefined>(props: CommonFieldProps<TSectionKey> & {
|
|
288
|
+
readonly formula: string;
|
|
289
|
+
}): FormulaFieldDefinition<'formula-url', string, TSectionKey>;
|
|
290
|
+
}
|
|
291
|
+
/** Typed helpers for read-only formula fields. */
|
|
292
|
+
export declare const formula: FormulaHelpers;
|
|
293
|
+
/**
|
|
294
|
+
* Immutable helper for authoring section maps in reusable fragments.
|
|
295
|
+
*
|
|
296
|
+
* @param definitions - Section definitions to freeze and preserve as-is.
|
|
297
|
+
* @returns Frozen section-definition map retaining the caller's key/value types.
|
|
298
|
+
* @typeParam TSections - Concrete section map to preserve in the returned value.
|
|
299
|
+
*/
|
|
300
|
+
export declare function sections<TSections extends Readonly<Record<string, SectionDefinition>>>(definitions: TSections): TSections;
|
|
301
|
+
export {};
|
|
302
|
+
//# sourceMappingURL=fields.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"fields.d.mts","sourceRoot":"","sources":["../../../src/core/platform/custom-objects/fields.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,uCAAuC,EACvC,iCAAiC,EACjC,8BAA8B,EAC9B,wBAAwB,IAAI,4BAA4B,EACzD,qDAAiD;AAClD,OAAO,KAA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C,GAAG;QAAE,QAAQ,CAAC,OAAO,EAAE,MAAM,CAAA;KAAE,GAClE,sBAAsB,CAAC,cAAc,EAAE,MAAM,EAAE,WAAW,CAAC,CAAC;IAE/D;;;;OAIG;IACH,GAAG,CAAC,WAAW,SAAS,MAAM,GAAG,SAAS,GAAG,MAAM,GAAG,SAAS,EAC7D,KAAK,EAAE,gBAAgB,CAAC,WAAW,CAAC,GAAG;QAAE,QAAQ,CAAC,OAAO,EAAE,MAAM,CAAA;KAAE,GAClE,sBAAsB,CAAC,aAAa,EAAE,MAAM,EAAE,WAAW,CAAC,CAAC;CAC/D;AAED,kDAAkD;AAClD,eAAO,MAAM,OAAO,EAAE,cA0CpB,CAAC;AAEH;;;;;;GAMG;AACH,wBAAgB,QAAQ,CAAC,SAAS,SAAS,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,iBAAiB,CAAC,CAAC,EACpF,WAAW,EAAE,SAAS,GACrB,SAAS,CAEX"}
|
|
@@ -0,0 +1,302 @@
|
|
|
1
|
+
import type { CustomObjectFieldDerivedAggregatedField, CustomObjectFieldFormulaAttrMetas, CustomObjectFieldRqlDefinition, CustomObjectFieldSection as RestCustomObjectFieldSection } from "../../../resources/custom-objects/fields.js";
|
|
2
|
+
import type { AnyCustomObjectDefinition, BooleanFieldDefinition, CurrencyFieldDefinition, CustomObjectIdentity, DateFieldDefinition, DatetimeFieldDefinition, EmailFieldDefinition, FileFieldDefinition, FormulaFieldDefinition, LongTextFieldDefinition, LookupFieldDefinition, LookupTarget, NativeModelTarget, NumberFieldDefinition, ParentChildFieldDefinition, PercentageFieldDefinition, PhoneFieldDefinition, RadioFieldDefinition, SectionDefinition, SelectFieldDefinition, TextFieldDefinition, TimeFieldDefinition, UrlFieldDefinition } from "./types.js";
|
|
3
|
+
/**
|
|
4
|
+
* Internal helper for field factories that expose `required` and `section`.
|
|
5
|
+
*
|
|
6
|
+
* @typeParam TRequired - Literal boolean carried through to derived input types.
|
|
7
|
+
* @typeParam TSectionKey - Allowed section-key union for the enclosing object.
|
|
8
|
+
*/
|
|
9
|
+
interface BooleanLikeProps<TRequired extends boolean, TSectionKey extends string | undefined> {
|
|
10
|
+
readonly required?: TRequired;
|
|
11
|
+
readonly section?: TSectionKey;
|
|
12
|
+
}
|
|
13
|
+
/**
|
|
14
|
+
* Internal helper for choice-based field factories.
|
|
15
|
+
*
|
|
16
|
+
* @typeParam TRequired - Literal boolean carried through to derived input types.
|
|
17
|
+
* @typeParam TSectionKey - Allowed section-key union for the enclosing object.
|
|
18
|
+
*/
|
|
19
|
+
interface ChoiceProps<TRequired extends boolean, TSectionKey extends string | undefined> extends BooleanLikeProps<TRequired, TSectionKey> {
|
|
20
|
+
readonly options: readonly string[];
|
|
21
|
+
}
|
|
22
|
+
/**
|
|
23
|
+
* Internal helper for numeric field factories that support decimal-place metadata.
|
|
24
|
+
*
|
|
25
|
+
* @typeParam TRequired - Literal boolean carried through to derived input types.
|
|
26
|
+
* @typeParam TSectionKey - Allowed section-key union for the enclosing object.
|
|
27
|
+
*/
|
|
28
|
+
interface NumericProps<TRequired extends boolean, TSectionKey extends string | undefined> extends BooleanLikeProps<TRequired, TSectionKey> {
|
|
29
|
+
readonly decimalPlaces?: number;
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* Internal presentation properties shared by every field factory.
|
|
33
|
+
*
|
|
34
|
+
* @typeParam TSectionKey - Allowed section-key union for the enclosing object.
|
|
35
|
+
*/
|
|
36
|
+
interface CommonFieldProps<TSectionKey extends string | undefined> {
|
|
37
|
+
readonly displayName: string;
|
|
38
|
+
readonly description: string;
|
|
39
|
+
readonly section?: TSectionKey;
|
|
40
|
+
readonly enableHistory?: boolean;
|
|
41
|
+
readonly formulaAttributeMetas?: CustomObjectFieldFormulaAttrMetas;
|
|
42
|
+
readonly derivedAggregatedField?: CustomObjectFieldDerivedAggregatedField;
|
|
43
|
+
readonly rqlDefinition?: CustomObjectFieldRqlDefinition;
|
|
44
|
+
readonly restSection?: RestCustomObjectFieldSection;
|
|
45
|
+
}
|
|
46
|
+
/**
|
|
47
|
+
* Declares a native Rippling model target for lookup fields.
|
|
48
|
+
*
|
|
49
|
+
* @param apiName - Native model API name, for example `'Employee'`.
|
|
50
|
+
* @returns Immutable native-model target descriptor for lookup fields.
|
|
51
|
+
* @typeParam TApiName - Native model api name, for example `'Employee'`.
|
|
52
|
+
*/
|
|
53
|
+
export declare function nativeModel<TApiName extends string>(apiName: TApiName): NativeModelTarget<TApiName>;
|
|
54
|
+
/**
|
|
55
|
+
* Defines a single-line text field.
|
|
56
|
+
*
|
|
57
|
+
* @param props - Text-field metadata and presentation properties.
|
|
58
|
+
* @returns Immutable text field definition.
|
|
59
|
+
* @typeParam TRequired - Whether the field is required during record creation.
|
|
60
|
+
* @typeParam TSectionKey - Allowed section-key union for the enclosing object.
|
|
61
|
+
*/
|
|
62
|
+
export declare function text<TRequired extends boolean = false, TSectionKey extends string | undefined = string | undefined>(props: CommonFieldProps<TSectionKey> & BooleanLikeProps<TRequired, TSectionKey> & {
|
|
63
|
+
readonly unique?: boolean;
|
|
64
|
+
readonly maxLength?: number;
|
|
65
|
+
}): TextFieldDefinition<TRequired, TSectionKey>;
|
|
66
|
+
/**
|
|
67
|
+
* Defines a multi-line text field.
|
|
68
|
+
*
|
|
69
|
+
* @param props - Long-text field metadata and presentation properties.
|
|
70
|
+
* @returns Immutable long-text field definition.
|
|
71
|
+
* @typeParam TRequired - Whether the field is required during record creation.
|
|
72
|
+
* @typeParam TSectionKey - Allowed section-key union for the enclosing object.
|
|
73
|
+
*/
|
|
74
|
+
export declare function longText<TRequired extends boolean = false, TSectionKey extends string | undefined = string | undefined>(props: CommonFieldProps<TSectionKey> & BooleanLikeProps<TRequired, TSectionKey> & {
|
|
75
|
+
readonly maxLength?: number;
|
|
76
|
+
}): LongTextFieldDefinition<TRequired, TSectionKey>;
|
|
77
|
+
/**
|
|
78
|
+
* Defines an email-address field.
|
|
79
|
+
*
|
|
80
|
+
* @param props - Email-field metadata and presentation properties.
|
|
81
|
+
* @returns Immutable email field definition.
|
|
82
|
+
* @typeParam TRequired - Whether the field is required during record creation.
|
|
83
|
+
* @typeParam TSectionKey - Allowed section-key union for the enclosing object.
|
|
84
|
+
*/
|
|
85
|
+
export declare function email<TRequired extends boolean = false, TSectionKey extends string | undefined = string | undefined>(props: CommonFieldProps<TSectionKey> & BooleanLikeProps<TRequired, TSectionKey> & {
|
|
86
|
+
readonly unique?: boolean;
|
|
87
|
+
}): EmailFieldDefinition<TRequired, TSectionKey>;
|
|
88
|
+
/**
|
|
89
|
+
* Defines a URL field.
|
|
90
|
+
*
|
|
91
|
+
* @param props - URL-field metadata and presentation properties.
|
|
92
|
+
* @returns Immutable URL field definition.
|
|
93
|
+
* @typeParam TRequired - Whether the field is required during record creation.
|
|
94
|
+
* @typeParam TSectionKey - Allowed section-key union for the enclosing object.
|
|
95
|
+
*/
|
|
96
|
+
export declare function url<TRequired extends boolean = false, TSectionKey extends string | undefined = string | undefined>(props: CommonFieldProps<TSectionKey> & BooleanLikeProps<TRequired, TSectionKey>): UrlFieldDefinition<TRequired, TSectionKey>;
|
|
97
|
+
/**
|
|
98
|
+
* Defines a phone-number field.
|
|
99
|
+
*
|
|
100
|
+
* @param props - Phone-field metadata and presentation properties.
|
|
101
|
+
* @returns Immutable phone field definition.
|
|
102
|
+
* @typeParam TRequired - Whether the field is required during record creation.
|
|
103
|
+
* @typeParam TSectionKey - Allowed section-key union for the enclosing object.
|
|
104
|
+
*/
|
|
105
|
+
export declare function phone<TRequired extends boolean = false, TSectionKey extends string | undefined = string | undefined>(props: CommonFieldProps<TSectionKey> & BooleanLikeProps<TRequired, TSectionKey>): PhoneFieldDefinition<TRequired, TSectionKey>;
|
|
106
|
+
/**
|
|
107
|
+
* Defines a numeric field.
|
|
108
|
+
*
|
|
109
|
+
* @param props - Number-field metadata and presentation properties.
|
|
110
|
+
* @returns Immutable number field definition.
|
|
111
|
+
* @typeParam TRequired - Whether the field is required during record creation.
|
|
112
|
+
* @typeParam TSectionKey - Allowed section-key union for the enclosing object.
|
|
113
|
+
*/
|
|
114
|
+
export declare function number<TRequired extends boolean = false, TSectionKey extends string | undefined = string | undefined>(props: CommonFieldProps<TSectionKey> & NumericProps<TRequired, TSectionKey> & {
|
|
115
|
+
readonly unique?: boolean;
|
|
116
|
+
}): NumberFieldDefinition<TRequired, TSectionKey>;
|
|
117
|
+
/**
|
|
118
|
+
* Defines a currency field.
|
|
119
|
+
*
|
|
120
|
+
* @param props - Currency-field metadata and presentation properties.
|
|
121
|
+
* @returns Immutable currency field definition.
|
|
122
|
+
* @typeParam TRequired - Whether the field is required during record creation.
|
|
123
|
+
* @typeParam TSectionKey - Allowed section-key union for the enclosing object.
|
|
124
|
+
*/
|
|
125
|
+
export declare function currency<TRequired extends boolean = false, TSectionKey extends string | undefined = string | undefined>(props: CommonFieldProps<TSectionKey> & NumericProps<TRequired, TSectionKey> & {
|
|
126
|
+
readonly currency?: string;
|
|
127
|
+
}): CurrencyFieldDefinition<TRequired, TSectionKey>;
|
|
128
|
+
/**
|
|
129
|
+
* Defines a percentage field.
|
|
130
|
+
*
|
|
131
|
+
* @param props - Percentage-field metadata and presentation properties.
|
|
132
|
+
* @returns Immutable percentage field definition.
|
|
133
|
+
* @typeParam TRequired - Whether the field is required during record creation.
|
|
134
|
+
* @typeParam TSectionKey - Allowed section-key union for the enclosing object.
|
|
135
|
+
*/
|
|
136
|
+
export declare function percentage<TRequired extends boolean = false, TSectionKey extends string | undefined = string | undefined>(props: CommonFieldProps<TSectionKey> & BooleanLikeProps<TRequired, TSectionKey>): PercentageFieldDefinition<TRequired, TSectionKey>;
|
|
137
|
+
/**
|
|
138
|
+
* Defines a date-only field.
|
|
139
|
+
*
|
|
140
|
+
* @param props - Date-field metadata and presentation properties.
|
|
141
|
+
* @returns Immutable date field definition.
|
|
142
|
+
* @typeParam TRequired - Whether the field is required during record creation.
|
|
143
|
+
* @typeParam TSectionKey - Allowed section-key union for the enclosing object.
|
|
144
|
+
*/
|
|
145
|
+
export declare function date<TRequired extends boolean = false, TSectionKey extends string | undefined = string | undefined>(props: CommonFieldProps<TSectionKey> & BooleanLikeProps<TRequired, TSectionKey>): DateFieldDefinition<TRequired, TSectionKey>;
|
|
146
|
+
/**
|
|
147
|
+
* Defines a date-time field.
|
|
148
|
+
*
|
|
149
|
+
* @param props - Datetime-field metadata and presentation properties.
|
|
150
|
+
* @returns Immutable datetime field definition.
|
|
151
|
+
* @typeParam TRequired - Whether the field is required during record creation.
|
|
152
|
+
* @typeParam TSectionKey - Allowed section-key union for the enclosing object.
|
|
153
|
+
*/
|
|
154
|
+
export declare function datetime<TRequired extends boolean = false, TSectionKey extends string | undefined = string | undefined>(props: CommonFieldProps<TSectionKey> & BooleanLikeProps<TRequired, TSectionKey>): DatetimeFieldDefinition<TRequired, TSectionKey>;
|
|
155
|
+
/**
|
|
156
|
+
* Defines a time-of-day field.
|
|
157
|
+
*
|
|
158
|
+
* @param props - Time-field metadata and presentation properties.
|
|
159
|
+
* @returns Immutable time field definition.
|
|
160
|
+
* @typeParam TRequired - Whether the field is required during record creation.
|
|
161
|
+
* @typeParam TSectionKey - Allowed section-key union for the enclosing object.
|
|
162
|
+
*/
|
|
163
|
+
export declare function time<TRequired extends boolean = false, TSectionKey extends string | undefined = string | undefined>(props: CommonFieldProps<TSectionKey> & BooleanLikeProps<TRequired, TSectionKey>): TimeFieldDefinition<TRequired, TSectionKey>;
|
|
164
|
+
/**
|
|
165
|
+
* Defines a multi-select choice field.
|
|
166
|
+
*
|
|
167
|
+
* @param props - Multi-select field metadata and presentation properties.
|
|
168
|
+
* @returns Immutable multi-select field definition.
|
|
169
|
+
* @typeParam TRequired - Whether the field is required during record creation.
|
|
170
|
+
* @typeParam TSectionKey - Allowed section-key union for the enclosing object.
|
|
171
|
+
*/
|
|
172
|
+
export declare function select<TRequired extends boolean = false, TSectionKey extends string | undefined = string | undefined>(props: CommonFieldProps<TSectionKey> & ChoiceProps<TRequired, TSectionKey>): SelectFieldDefinition<TRequired, TSectionKey>;
|
|
173
|
+
/**
|
|
174
|
+
* Defines a single-select radio field.
|
|
175
|
+
*
|
|
176
|
+
* @param props - Radio-field metadata and presentation properties.
|
|
177
|
+
* @returns Immutable radio field definition.
|
|
178
|
+
* @typeParam TRequired - Whether the field is required during record creation.
|
|
179
|
+
* @typeParam TSectionKey - Allowed section-key union for the enclosing object.
|
|
180
|
+
*/
|
|
181
|
+
export declare function radio<TRequired extends boolean = false, TSectionKey extends string | undefined = string | undefined>(props: CommonFieldProps<TSectionKey> & ChoiceProps<TRequired, TSectionKey>): RadioFieldDefinition<TRequired, TSectionKey>;
|
|
182
|
+
/**
|
|
183
|
+
* Defines a boolean field.
|
|
184
|
+
*
|
|
185
|
+
* @param props - Boolean-field metadata and presentation properties.
|
|
186
|
+
* @returns Immutable boolean field definition.
|
|
187
|
+
* @typeParam TRequired - Whether the field is required during record creation.
|
|
188
|
+
* @typeParam TSectionKey - Allowed section-key union for the enclosing object.
|
|
189
|
+
*/
|
|
190
|
+
export declare function boolean<TRequired extends boolean = false, TSectionKey extends string | undefined = string | undefined>(props: CommonFieldProps<TSectionKey> & BooleanLikeProps<TRequired, TSectionKey>): BooleanFieldDefinition<TRequired, TSectionKey>;
|
|
191
|
+
/**
|
|
192
|
+
* Defines a file attachment field.
|
|
193
|
+
*
|
|
194
|
+
* @param props - File-field metadata and presentation properties.
|
|
195
|
+
* @returns Immutable file field definition.
|
|
196
|
+
* @typeParam TRequired - Whether the field is required during record creation.
|
|
197
|
+
* @typeParam TSectionKey - Allowed section-key union for the enclosing object.
|
|
198
|
+
*/
|
|
199
|
+
export declare function file<TRequired extends boolean = false, TSectionKey extends string | undefined = string | undefined>(props: CommonFieldProps<TSectionKey> & BooleanLikeProps<TRequired, TSectionKey> & {
|
|
200
|
+
readonly allowedType: 'images' | 'documents' | 'any';
|
|
201
|
+
}): FileFieldDefinition<TRequired, TSectionKey>;
|
|
202
|
+
/**
|
|
203
|
+
* Defines a many-to-one lookup field.
|
|
204
|
+
*
|
|
205
|
+
* @param target - Target object or native model referenced by the lookup.
|
|
206
|
+
* @param props - Lookup-field metadata and presentation properties.
|
|
207
|
+
* @returns Immutable lookup field definition.
|
|
208
|
+
* @typeParam TTarget - Target object or native model referenced by the lookup.
|
|
209
|
+
* @typeParam TRequired - Whether the lookup is required during record creation.
|
|
210
|
+
* @typeParam TSectionKey - Allowed section-key union for the enclosing object.
|
|
211
|
+
*/
|
|
212
|
+
export declare function lookup<TTarget extends LookupTarget, TRequired extends boolean = false, TSectionKey extends string | undefined = string | undefined>(target: TTarget, props: CommonFieldProps<TSectionKey> & BooleanLikeProps<TRequired, TSectionKey> & {
|
|
213
|
+
readonly relatedDataLabel?: string;
|
|
214
|
+
readonly lookupFilterRqlCondition?: string;
|
|
215
|
+
}): LookupFieldDefinition<TTarget, TRequired, TSectionKey>;
|
|
216
|
+
/**
|
|
217
|
+
* Defines a parent-child relationship field.
|
|
218
|
+
*
|
|
219
|
+
* @param target - Parent object definition referenced by the relationship.
|
|
220
|
+
* @param props - Parent-child field metadata and presentation properties.
|
|
221
|
+
* @returns Immutable parent-child field definition.
|
|
222
|
+
* @typeParam TTarget - Parent object definition referenced by the relationship.
|
|
223
|
+
* @typeParam TSectionKey - Allowed section-key union for the enclosing object.
|
|
224
|
+
*/
|
|
225
|
+
export declare function parentChild<TTarget extends Pick<AnyCustomObjectDefinition, 'name' | 'apiName'>, TSectionKey extends string | undefined = string | undefined>(target: TTarget, props: CommonFieldProps<TSectionKey> & {
|
|
226
|
+
readonly relatedDataLabel?: string;
|
|
227
|
+
readonly parentChildType?: 'PRIMARY' | 'SECONDARY';
|
|
228
|
+
readonly enableParentOwnerInheritance?: boolean;
|
|
229
|
+
readonly section?: TSectionKey;
|
|
230
|
+
}): ParentChildFieldDefinition<CustomObjectIdentity<TTarget['name']>, TSectionKey>;
|
|
231
|
+
/** Public helper surface for read-only formula fields. */
|
|
232
|
+
export interface FormulaHelpers {
|
|
233
|
+
/**
|
|
234
|
+
* Defines a text-valued formula field.
|
|
235
|
+
*
|
|
236
|
+
* @typeParam TSectionKey - Allowed section-key union for the enclosing object.
|
|
237
|
+
*/
|
|
238
|
+
text<TSectionKey extends string | undefined = string | undefined>(props: CommonFieldProps<TSectionKey> & {
|
|
239
|
+
readonly formula: string;
|
|
240
|
+
readonly maxLength: number;
|
|
241
|
+
}): FormulaFieldDefinition<'formula-text', string, TSectionKey>;
|
|
242
|
+
/**
|
|
243
|
+
* Defines a numeric formula field.
|
|
244
|
+
*
|
|
245
|
+
* @typeParam TSectionKey - Allowed section-key union for the enclosing object.
|
|
246
|
+
*/
|
|
247
|
+
number<TSectionKey extends string | undefined = string | undefined>(props: CommonFieldProps<TSectionKey> & {
|
|
248
|
+
readonly formula: string;
|
|
249
|
+
}): FormulaFieldDefinition<'formula-number', number, TSectionKey>;
|
|
250
|
+
/**
|
|
251
|
+
* Defines a boolean formula field.
|
|
252
|
+
*
|
|
253
|
+
* @typeParam TSectionKey - Allowed section-key union for the enclosing object.
|
|
254
|
+
*/
|
|
255
|
+
boolean<TSectionKey extends string | undefined = string | undefined>(props: CommonFieldProps<TSectionKey> & {
|
|
256
|
+
readonly formula: string;
|
|
257
|
+
}): FormulaFieldDefinition<'formula-boolean', boolean, TSectionKey>;
|
|
258
|
+
/**
|
|
259
|
+
* Defines a currency-valued formula field.
|
|
260
|
+
*
|
|
261
|
+
* @typeParam TSectionKey - Allowed section-key union for the enclosing object.
|
|
262
|
+
*/
|
|
263
|
+
currency<TSectionKey extends string | undefined = string | undefined>(props: CommonFieldProps<TSectionKey> & {
|
|
264
|
+
readonly formula: string;
|
|
265
|
+
}): FormulaFieldDefinition<'formula-currency', number, TSectionKey>;
|
|
266
|
+
/**
|
|
267
|
+
* Defines a percentage-valued formula field.
|
|
268
|
+
*
|
|
269
|
+
* @typeParam TSectionKey - Allowed section-key union for the enclosing object.
|
|
270
|
+
*/
|
|
271
|
+
percentage<TSectionKey extends string | undefined = string | undefined>(props: CommonFieldProps<TSectionKey> & {
|
|
272
|
+
readonly formula: string;
|
|
273
|
+
}): FormulaFieldDefinition<'formula-percentage', number, TSectionKey>;
|
|
274
|
+
/**
|
|
275
|
+
* Defines a date-valued formula field.
|
|
276
|
+
*
|
|
277
|
+
* @typeParam TSectionKey - Allowed section-key union for the enclosing object.
|
|
278
|
+
*/
|
|
279
|
+
date<TSectionKey extends string | undefined = string | undefined>(props: CommonFieldProps<TSectionKey> & {
|
|
280
|
+
readonly formula: string;
|
|
281
|
+
}): FormulaFieldDefinition<'formula-date', string, TSectionKey>;
|
|
282
|
+
/**
|
|
283
|
+
* Defines a URL-valued formula field.
|
|
284
|
+
*
|
|
285
|
+
* @typeParam TSectionKey - Allowed section-key union for the enclosing object.
|
|
286
|
+
*/
|
|
287
|
+
url<TSectionKey extends string | undefined = string | undefined>(props: CommonFieldProps<TSectionKey> & {
|
|
288
|
+
readonly formula: string;
|
|
289
|
+
}): FormulaFieldDefinition<'formula-url', string, TSectionKey>;
|
|
290
|
+
}
|
|
291
|
+
/** Typed helpers for read-only formula fields. */
|
|
292
|
+
export declare const formula: FormulaHelpers;
|
|
293
|
+
/**
|
|
294
|
+
* Immutable helper for authoring section maps in reusable fragments.
|
|
295
|
+
*
|
|
296
|
+
* @param definitions - Section definitions to freeze and preserve as-is.
|
|
297
|
+
* @returns Frozen section-definition map retaining the caller's key/value types.
|
|
298
|
+
* @typeParam TSections - Concrete section map to preserve in the returned value.
|
|
299
|
+
*/
|
|
300
|
+
export declare function sections<TSections extends Readonly<Record<string, SectionDefinition>>>(definitions: TSections): TSections;
|
|
301
|
+
export {};
|
|
302
|
+
//# sourceMappingURL=fields.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"fields.d.ts","sourceRoot":"","sources":["../../../src/core/platform/custom-objects/fields.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,uCAAuC,EACvC,iCAAiC,EACjC,8BAA8B,EAC9B,wBAAwB,IAAI,4BAA4B,EACzD,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