@rippling/rippling-sdk 0.2.0-alpha.82 → 0.2.0-alpha.84
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 +4 -4
- package/client.d.mts.map +1 -1
- package/client.d.ts +4 -4
- package/client.d.ts.map +1 -1
- package/client.js.map +1 -1
- 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/core/platform/manifest/custom-objects/action.d.mts +58 -0
- package/core/platform/manifest/custom-objects/action.d.mts.map +1 -0
- package/core/platform/manifest/custom-objects/action.d.ts +58 -0
- package/core/platform/manifest/custom-objects/action.d.ts.map +1 -0
- package/core/platform/manifest/custom-objects/action.js +44 -0
- package/core/platform/manifest/custom-objects/action.js.map +1 -0
- package/core/platform/manifest/custom-objects/action.mjs +40 -0
- package/core/platform/manifest/custom-objects/action.mjs.map +1 -0
- package/core/platform/manifest/custom-objects/conditions.d.mts +240 -0
- package/core/platform/manifest/custom-objects/conditions.d.mts.map +1 -0
- package/core/platform/manifest/custom-objects/conditions.d.ts +240 -0
- package/core/platform/manifest/custom-objects/conditions.d.ts.map +1 -0
- package/core/platform/manifest/custom-objects/conditions.js +326 -0
- package/core/platform/manifest/custom-objects/conditions.js.map +1 -0
- package/core/platform/manifest/custom-objects/conditions.mjs +321 -0
- package/core/platform/manifest/custom-objects/conditions.mjs.map +1 -0
- package/core/platform/manifest/custom-objects/existing.d.mts +87 -0
- package/core/platform/manifest/custom-objects/existing.d.mts.map +1 -0
- package/core/platform/manifest/custom-objects/existing.d.ts +87 -0
- package/core/platform/manifest/custom-objects/existing.d.ts.map +1 -0
- package/core/platform/manifest/custom-objects/existing.js +113 -0
- package/core/platform/manifest/custom-objects/existing.js.map +1 -0
- package/core/platform/manifest/custom-objects/existing.mjs +109 -0
- package/core/platform/manifest/custom-objects/existing.mjs.map +1 -0
- package/core/platform/manifest/custom-objects/field-resolution.d.mts +48 -0
- package/core/platform/manifest/custom-objects/field-resolution.d.mts.map +1 -0
- package/core/platform/manifest/custom-objects/field-resolution.d.ts +48 -0
- package/core/platform/manifest/custom-objects/field-resolution.d.ts.map +1 -0
- package/core/platform/manifest/custom-objects/field-resolution.js +61 -0
- package/core/platform/manifest/custom-objects/field-resolution.js.map +1 -0
- package/core/platform/manifest/custom-objects/field-resolution.mjs +58 -0
- package/core/platform/manifest/custom-objects/field-resolution.mjs.map +1 -0
- package/core/platform/manifest/custom-objects/function-file.d.mts +87 -0
- package/core/platform/manifest/custom-objects/function-file.d.mts.map +1 -0
- package/core/platform/manifest/custom-objects/function-file.d.ts +87 -0
- package/core/platform/manifest/custom-objects/function-file.d.ts.map +1 -0
- package/core/platform/manifest/custom-objects/function-file.js +76 -0
- package/core/platform/manifest/custom-objects/function-file.js.map +1 -0
- package/core/platform/manifest/custom-objects/function-file.mjs +69 -0
- package/core/platform/manifest/custom-objects/function-file.mjs.map +1 -0
- package/core/platform/manifest/custom-objects/list-view.d.mts +65 -0
- package/core/platform/manifest/custom-objects/list-view.d.mts.map +1 -0
- package/core/platform/manifest/custom-objects/list-view.d.ts +65 -0
- package/core/platform/manifest/custom-objects/list-view.d.ts.map +1 -0
- package/core/platform/manifest/custom-objects/list-view.js +33 -0
- package/core/platform/manifest/custom-objects/list-view.js.map +1 -0
- package/core/platform/manifest/custom-objects/list-view.mjs +30 -0
- package/core/platform/manifest/custom-objects/list-view.mjs.map +1 -0
- package/core/platform/manifest/custom-objects/object-list-page.d.mts +43 -0
- package/core/platform/manifest/custom-objects/object-list-page.d.mts.map +1 -0
- package/core/platform/manifest/custom-objects/object-list-page.d.ts +43 -0
- package/core/platform/manifest/custom-objects/object-list-page.d.ts.map +1 -0
- package/core/platform/manifest/custom-objects/object-list-page.js +54 -0
- package/core/platform/manifest/custom-objects/object-list-page.js.map +1 -0
- package/core/platform/manifest/custom-objects/object-list-page.mjs +50 -0
- package/core/platform/manifest/custom-objects/object-list-page.mjs.map +1 -0
- package/core/platform/manifest/custom-objects/page-layout.d.mts +142 -0
- package/core/platform/manifest/custom-objects/page-layout.d.mts.map +1 -0
- package/core/platform/manifest/custom-objects/page-layout.d.ts +142 -0
- package/core/platform/manifest/custom-objects/page-layout.d.ts.map +1 -0
- package/core/platform/manifest/custom-objects/page-layout.js +184 -0
- package/core/platform/manifest/custom-objects/page-layout.js.map +1 -0
- package/core/platform/manifest/custom-objects/page-layout.mjs +180 -0
- package/core/platform/manifest/custom-objects/page-layout.mjs.map +1 -0
- package/core/platform/manifest/custom-objects/register.d.mts +87 -0
- package/core/platform/manifest/custom-objects/register.d.mts.map +1 -0
- package/core/platform/manifest/custom-objects/register.d.ts +87 -0
- package/core/platform/manifest/custom-objects/register.d.ts.map +1 -0
- package/core/platform/manifest/custom-objects/register.js +395 -0
- package/core/platform/manifest/custom-objects/register.js.map +1 -0
- package/core/platform/manifest/custom-objects/register.mjs +391 -0
- package/core/platform/manifest/custom-objects/register.mjs.map +1 -0
- package/core/platform/manifest/custom-objects/rule.d.mts +113 -0
- package/core/platform/manifest/custom-objects/rule.d.mts.map +1 -0
- package/core/platform/manifest/custom-objects/rule.d.ts +113 -0
- package/core/platform/manifest/custom-objects/rule.d.ts.map +1 -0
- package/core/platform/manifest/custom-objects/rule.js +49 -0
- package/core/platform/manifest/custom-objects/rule.js.map +1 -0
- package/core/platform/manifest/custom-objects/rule.mjs +45 -0
- package/core/platform/manifest/custom-objects/rule.mjs.map +1 -0
- package/core/platform/manifest/custom-objects/sdui-page.d.mts +214 -0
- package/core/platform/manifest/custom-objects/sdui-page.d.mts.map +1 -0
- package/core/platform/manifest/custom-objects/sdui-page.d.ts +214 -0
- package/core/platform/manifest/custom-objects/sdui-page.d.ts.map +1 -0
- package/core/platform/manifest/custom-objects/sdui-page.js +194 -0
- package/core/platform/manifest/custom-objects/sdui-page.js.map +1 -0
- package/core/platform/manifest/custom-objects/sdui-page.mjs +182 -0
- package/core/platform/manifest/custom-objects/sdui-page.mjs.map +1 -0
- package/core/platform/manifest/custom-objects/typed-condition.d.mts +28 -0
- package/core/platform/manifest/custom-objects/typed-condition.d.mts.map +1 -0
- package/core/platform/manifest/custom-objects/typed-condition.d.ts +28 -0
- package/core/platform/manifest/custom-objects/typed-condition.d.ts.map +1 -0
- package/core/platform/manifest/custom-objects/typed-condition.js +434 -0
- package/core/platform/manifest/custom-objects/typed-condition.js.map +1 -0
- package/core/platform/manifest/custom-objects/typed-condition.mjs +431 -0
- package/core/platform/manifest/custom-objects/typed-condition.mjs.map +1 -0
- package/core/platform/manifest/custom-objects/types.d.mts +29 -0
- package/core/platform/manifest/custom-objects/types.d.mts.map +1 -0
- package/core/platform/manifest/custom-objects/types.d.ts +29 -0
- package/core/platform/manifest/custom-objects/types.d.ts.map +1 -0
- package/core/platform/manifest/custom-objects/types.js +3 -0
- package/core/platform/manifest/custom-objects/types.js.map +1 -0
- package/core/platform/manifest/custom-objects/types.mjs +2 -0
- package/core/platform/manifest/custom-objects/types.mjs.map +1 -0
- package/core/platform/manifest/custom-objects/validation.d.mts +44 -0
- package/core/platform/manifest/custom-objects/validation.d.mts.map +1 -0
- package/core/platform/manifest/custom-objects/validation.d.ts +44 -0
- package/core/platform/manifest/custom-objects/validation.d.ts.map +1 -0
- package/core/platform/manifest/custom-objects/validation.js +30 -0
- package/core/platform/manifest/custom-objects/validation.js.map +1 -0
- package/core/platform/manifest/custom-objects/validation.mjs +27 -0
- package/core/platform/manifest/custom-objects/validation.mjs.map +1 -0
- package/core/platform/manifest/custom-objects/workflow.d.mts +47 -0
- package/core/platform/manifest/custom-objects/workflow.d.mts.map +1 -0
- package/core/platform/manifest/custom-objects/workflow.d.ts +47 -0
- package/core/platform/manifest/custom-objects/workflow.d.ts.map +1 -0
- package/core/platform/manifest/custom-objects/workflow.js +38 -0
- package/core/platform/manifest/custom-objects/workflow.js.map +1 -0
- package/core/platform/manifest/custom-objects/workflow.mjs +34 -0
- package/core/platform/manifest/custom-objects/workflow.mjs.map +1 -0
- package/core/platform/manifest/custom-objects.d.mts +85 -0
- package/core/platform/manifest/custom-objects.d.mts.map +1 -0
- package/core/platform/manifest/custom-objects.d.ts +85 -0
- package/core/platform/manifest/custom-objects.d.ts.map +1 -0
- package/core/platform/manifest/custom-objects.js +84 -0
- package/core/platform/manifest/custom-objects.js.map +1 -0
- package/core/platform/manifest/custom-objects.mjs +55 -0
- package/core/platform/manifest/custom-objects.mjs.map +1 -0
- package/examples/manifest/custom-object-creation-workflow/custom-object-creation-workflow.ts +26 -44
- package/examples/manifest/custom-object-creation-workflow/functions/intake-request-created.ts +20 -0
- package/examples/manifest/custom-object-creation-workflow/schema.ts +29 -0
- package/examples/manifest/dental-practice-management/dental-practice-management.ts +142 -470
- package/examples/manifest/dental-practice-management/functions/chair-schedule.ts +13 -23
- package/examples/manifest/dental-practice-management/functions/complete-visit.ts +32 -55
- package/examples/manifest/dental-practice-management/functions/operatory-list.ts +13 -23
- package/examples/manifest/dental-practice-management/functions/patient-list.ts +13 -23
- package/examples/manifest/dental-practice-management/functions/treatment-plan-list.ts +13 -23
- package/examples/manifest/dental-practice-management/schema.ts +298 -0
- package/examples/manifest/existing-manifest-mutations/existing-manifest-mutations.ts +68 -23
- package/examples/manifest/field-service-dispatch/field-service-dispatch.ts +102 -375
- package/examples/manifest/field-service-dispatch/schema.ts +248 -0
- package/examples/manifest/grant-program-management/grant-program-management.ts +125 -419
- package/examples/manifest/grant-program-management/schema.ts +269 -0
- package/examples/manifest/gym-membership-management/functions/check-in-desk.ts +13 -23
- package/examples/manifest/gym-membership-management/functions/member-list.ts +13 -23
- package/examples/manifest/gym-membership-management/functions/today-schedule.ts +13 -23
- package/examples/manifest/gym-membership-management/functions/trainer-list.ts +13 -23
- package/examples/manifest/gym-membership-management/gym-membership-management.ts +92 -442
- package/examples/manifest/gym-membership-management/schema.ts +266 -0
- package/examples/manifest/procurement-approval-hub/functions/route-purchase-request.ts +20 -0
- package/examples/manifest/procurement-approval-hub/procurement-approval-hub.ts +122 -408
- package/examples/manifest/procurement-approval-hub/schema.ts +256 -0
- package/examples/manifest/simple-todo-app/functions/mark-done.ts +16 -12
- package/examples/manifest/simple-todo-app/functions/todo-list.ts +13 -23
- package/examples/manifest/simple-todo-app/schema.ts +60 -0
- package/examples/manifest/simple-todo-app/simple-todo-app.ts +40 -109
- package/examples/manifest/todo-app-without-object-list-view/functions/todo-page.ts +166 -193
- package/examples/manifest/todo-app-without-object-list-view/schema.ts +28 -0
- package/examples/manifest/todo-app-without-object-list-view/todo-app-without-object-list-view.ts +24 -47
- package/package.json +7 -13
- 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 +170 -15
- package/resources/custom-objects/fields.d.mts.map +1 -1
- package/resources/custom-objects/fields.d.ts +170 -15
- package/resources/custom-objects/fields.d.ts.map +1 -1
- package/resources/index.d.mts +2 -2
- package/resources/index.d.mts.map +1 -1
- package/resources/index.d.ts +2 -2
- package/resources/index.d.ts.map +1 -1
- package/resources/index.js.map +1 -1
- package/resources/index.mjs.map +1 -1
- package/resources/leave-program-evaluations.d.mts +510 -3
- package/resources/leave-program-evaluations.d.mts.map +1 -1
- package/resources/leave-program-evaluations.d.ts +510 -3
- package/resources/leave-program-evaluations.d.ts.map +1 -1
- package/resources/levels.d.mts +64 -2
- package/resources/levels.d.mts.map +1 -1
- package/resources/levels.d.ts +64 -2
- package/resources/levels.d.ts.map +1 -1
- package/resources/levels.js +22 -0
- package/resources/levels.js.map +1 -1
- package/resources/levels.mjs +22 -0
- package/resources/levels.mjs.map +1 -1
- package/resources/tracks.d.mts +45 -1
- package/resources/tracks.d.mts.map +1 -1
- package/resources/tracks.d.ts +45 -1
- package/resources/tracks.d.ts.map +1 -1
- package/resources/tracks.js +22 -0
- package/resources/tracks.js.map +1 -1
- package/resources/tracks.mjs +22 -0
- package/resources/tracks.mjs.map +1 -1
- package/src/client.ts +8 -0
- package/src/core/platform/README.md +20 -0
- package/src/core/platform/custom-objects/category.ts +294 -0
- package/src/core/platform/custom-objects/definition.ts +373 -0
- package/src/core/platform/custom-objects/fields.ts +653 -0
- package/src/core/platform/custom-objects/function-runtime.ts +76 -0
- package/src/core/platform/custom-objects/lifecycle.ts +557 -0
- package/src/core/platform/custom-objects/manager.ts +959 -0
- package/src/core/platform/custom-objects/provisioning.ts +672 -0
- package/src/core/platform/custom-objects/rql.ts +375 -0
- package/src/core/platform/custom-objects/schema-manager.ts +351 -0
- package/src/core/platform/custom-objects/typed-rql.ts +1273 -0
- package/src/core/platform/custom-objects/types.ts +753 -0
- package/src/core/platform/custom-objects/validation.ts +573 -0
- package/src/core/platform/custom-objects.ts +269 -0
- package/src/core/platform/manifest/README.md +26 -0
- package/src/core/platform/manifest/custom-objects/action.ts +87 -0
- package/src/core/platform/manifest/custom-objects/conditions.ts +762 -0
- package/src/core/platform/manifest/custom-objects/existing.ts +221 -0
- package/src/core/platform/manifest/custom-objects/field-resolution.ts +116 -0
- package/src/core/platform/manifest/custom-objects/function-file.ts +149 -0
- package/src/core/platform/manifest/custom-objects/list-view.ts +95 -0
- package/src/core/platform/manifest/custom-objects/object-list-page.ts +87 -0
- package/src/core/platform/manifest/custom-objects/page-layout.ts +380 -0
- package/src/core/platform/manifest/custom-objects/register.ts +555 -0
- package/src/core/platform/manifest/custom-objects/rule.ts +192 -0
- package/src/core/platform/manifest/custom-objects/sdui-page.ts +515 -0
- package/src/core/platform/manifest/custom-objects/typed-condition.ts +617 -0
- package/src/core/platform/manifest/custom-objects/types.ts +92 -0
- package/src/core/platform/manifest/custom-objects/validation.ts +70 -0
- package/src/core/platform/manifest/custom-objects/workflow.ts +71 -0
- package/src/core/platform/manifest/custom-objects.ts +203 -0
- package/src/pebble-sdui-web-custom-apps-shim.d.ts +3 -0
- package/src/resources/custom-objects/custom-objects.ts +8 -0
- package/src/resources/custom-objects/fields.ts +239 -14
- package/src/resources/index.ts +4 -0
- package/src/resources/leave-program-evaluations.ts +610 -3
- package/src/resources/levels.ts +93 -1
- package/src/resources/tracks.ts +70 -0
- package/src/tsconfig.json +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
|
@@ -77,6 +77,175 @@ export class Fields extends APIResource {
|
|
|
77
77
|
|
|
78
78
|
export type CustomObjectFieldsPageCursorURL = PageCursorURL<CustomObjectField>;
|
|
79
79
|
|
|
80
|
+
/** Supported wire-level field-type identifiers for custom-object fields. */
|
|
81
|
+
export type CustomObjectFieldType =
|
|
82
|
+
| 'TEXT'
|
|
83
|
+
| 'LONG_TEXT'
|
|
84
|
+
| 'EMAIL'
|
|
85
|
+
| 'URL'
|
|
86
|
+
| 'PHONE_NUMBER'
|
|
87
|
+
| 'NUMBER'
|
|
88
|
+
| 'CURRENCY'
|
|
89
|
+
| 'PERCENTAGE'
|
|
90
|
+
| 'DATE'
|
|
91
|
+
| 'DATETIME'
|
|
92
|
+
| 'TIME'
|
|
93
|
+
| 'SELECT'
|
|
94
|
+
| 'RADIO'
|
|
95
|
+
| 'BOOLEAN'
|
|
96
|
+
| 'FILE'
|
|
97
|
+
| 'OG_REFERENCE_FIELD';
|
|
98
|
+
|
|
99
|
+
/** Structured `data_type` payload for text fields. */
|
|
100
|
+
export interface TextCustomObjectFieldDataType {
|
|
101
|
+
field_type: 'TEXT';
|
|
102
|
+
max_length?: number;
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
/** Structured `data_type` payload for long-text fields. */
|
|
106
|
+
export interface LongTextCustomObjectFieldDataType {
|
|
107
|
+
field_type: 'LONG_TEXT';
|
|
108
|
+
max_length?: number;
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
/** Structured `data_type` payload for email fields. */
|
|
112
|
+
export interface EmailCustomObjectFieldDataType {
|
|
113
|
+
field_type: 'EMAIL';
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
/** Structured `data_type` payload for URL fields. */
|
|
117
|
+
export interface URLCustomObjectFieldDataType {
|
|
118
|
+
field_type: 'URL';
|
|
119
|
+
}
|
|
120
|
+
|
|
121
|
+
/** Structured `data_type` payload for phone-number fields. */
|
|
122
|
+
export interface PhoneNumberCustomObjectFieldDataType {
|
|
123
|
+
field_type: 'PHONE_NUMBER';
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
/** Structured `data_type` payload for numeric fields. */
|
|
127
|
+
export interface NumberCustomObjectFieldDataType {
|
|
128
|
+
field_type: 'NUMBER';
|
|
129
|
+
num_of_decimal_places?: number;
|
|
130
|
+
}
|
|
131
|
+
|
|
132
|
+
/** Structured `data_type` payload for currency fields. */
|
|
133
|
+
export interface CurrencyCustomObjectFieldDataType {
|
|
134
|
+
field_type: 'CURRENCY';
|
|
135
|
+
currency?: string;
|
|
136
|
+
num_of_decimal_places?: number;
|
|
137
|
+
}
|
|
138
|
+
|
|
139
|
+
/** Structured `data_type` payload for percentage fields. */
|
|
140
|
+
export interface PercentageCustomObjectFieldDataType {
|
|
141
|
+
field_type: 'PERCENTAGE';
|
|
142
|
+
num_of_decimal_places?: number;
|
|
143
|
+
}
|
|
144
|
+
|
|
145
|
+
/** Structured `data_type` payload for date fields. */
|
|
146
|
+
export interface DateCustomObjectFieldDataType {
|
|
147
|
+
field_type: 'DATE';
|
|
148
|
+
}
|
|
149
|
+
|
|
150
|
+
/** Structured `data_type` payload for date-time fields. */
|
|
151
|
+
export interface DatetimeCustomObjectFieldDataType {
|
|
152
|
+
field_type: 'DATETIME';
|
|
153
|
+
}
|
|
154
|
+
|
|
155
|
+
/** Structured `data_type` payload for time-of-day fields. */
|
|
156
|
+
export interface TimeCustomObjectFieldDataType {
|
|
157
|
+
field_type: 'TIME';
|
|
158
|
+
}
|
|
159
|
+
|
|
160
|
+
/** Structured `data_type` payload for choice fields. */
|
|
161
|
+
export interface ChoiceCustomObjectFieldDataType {
|
|
162
|
+
field_type: 'SELECT' | 'RADIO';
|
|
163
|
+
options_list: string[];
|
|
164
|
+
}
|
|
165
|
+
|
|
166
|
+
/** Structured `data_type` payload for boolean fields. */
|
|
167
|
+
export interface BooleanCustomObjectFieldDataType {
|
|
168
|
+
field_type: 'BOOLEAN';
|
|
169
|
+
}
|
|
170
|
+
|
|
171
|
+
/** Structured `data_type` payload for file fields. */
|
|
172
|
+
export interface FileCustomObjectFieldDataType {
|
|
173
|
+
field_type: 'FILE';
|
|
174
|
+
supported_types?: string[];
|
|
175
|
+
}
|
|
176
|
+
|
|
177
|
+
/** Structured `data_type` payload for relationship fields. */
|
|
178
|
+
export interface ReferenceCustomObjectFieldDataType {
|
|
179
|
+
field_type: 'OG_REFERENCE_FIELD';
|
|
180
|
+
og_model_rql_name: string;
|
|
181
|
+
edge_type?: 'LOOKUP' | 'PARENT_CHILD';
|
|
182
|
+
related_data_label?: string;
|
|
183
|
+
lookup_filter_rql_condition?: string;
|
|
184
|
+
parent_child_type?: 'PRIMARY' | 'SECONDARY';
|
|
185
|
+
enable_parent_owner_inheritance?: boolean;
|
|
186
|
+
}
|
|
187
|
+
|
|
188
|
+
/** Typed `data_type` union for custom-object field create/update payloads. */
|
|
189
|
+
export type CustomObjectFieldDataType =
|
|
190
|
+
| TextCustomObjectFieldDataType
|
|
191
|
+
| LongTextCustomObjectFieldDataType
|
|
192
|
+
| EmailCustomObjectFieldDataType
|
|
193
|
+
| URLCustomObjectFieldDataType
|
|
194
|
+
| PhoneNumberCustomObjectFieldDataType
|
|
195
|
+
| NumberCustomObjectFieldDataType
|
|
196
|
+
| CurrencyCustomObjectFieldDataType
|
|
197
|
+
| PercentageCustomObjectFieldDataType
|
|
198
|
+
| DateCustomObjectFieldDataType
|
|
199
|
+
| DatetimeCustomObjectFieldDataType
|
|
200
|
+
| TimeCustomObjectFieldDataType
|
|
201
|
+
| ChoiceCustomObjectFieldDataType
|
|
202
|
+
| BooleanCustomObjectFieldDataType
|
|
203
|
+
| FileCustomObjectFieldDataType
|
|
204
|
+
| ReferenceCustomObjectFieldDataType;
|
|
205
|
+
|
|
206
|
+
/** Filter entry accepted by derived aggregated field metadata. */
|
|
207
|
+
export interface CustomObjectFieldDerivedAggregationFilter {
|
|
208
|
+
field_name: string;
|
|
209
|
+
filter_value: string;
|
|
210
|
+
operator: string;
|
|
211
|
+
}
|
|
212
|
+
|
|
213
|
+
/** Structured payload for derived aggregated field metadata. */
|
|
214
|
+
export interface CustomObjectFieldDerivedAggregatedField {
|
|
215
|
+
aggregation_function?: string;
|
|
216
|
+
child_model_name?: string;
|
|
217
|
+
currency_code?: string | null;
|
|
218
|
+
field_to_aggregate?: string;
|
|
219
|
+
filters?: CustomObjectFieldDerivedAggregationFilter[];
|
|
220
|
+
lookup_field_api_name?: string;
|
|
221
|
+
[key: string]: unknown;
|
|
222
|
+
}
|
|
223
|
+
|
|
224
|
+
/** Formula attribute metadata accepted by field create/update APIs. */
|
|
225
|
+
export type CustomObjectFieldFormulaAttrMetas = Record<string, unknown>;
|
|
226
|
+
|
|
227
|
+
/** Computed-field RQL definition metadata accepted by field create/update APIs. */
|
|
228
|
+
export type CustomObjectFieldRqlDefinition = Record<string, unknown>;
|
|
229
|
+
|
|
230
|
+
/** Legacy object-shaped field-section payload surfaced by the generated schema. */
|
|
231
|
+
export interface CustomObjectFieldSectionConfig {
|
|
232
|
+
name?: string;
|
|
233
|
+
section_id?: string;
|
|
234
|
+
[key: string]: unknown;
|
|
235
|
+
}
|
|
236
|
+
|
|
237
|
+
/** Field-section value accepted by the custom-object field APIs. */
|
|
238
|
+
export type CustomObjectFieldSection = string | CustomObjectFieldSectionConfig;
|
|
239
|
+
|
|
240
|
+
/** Name-field display / autonumber metadata accepted by field update APIs. */
|
|
241
|
+
export interface CustomObjectNameFieldDetails {
|
|
242
|
+
is_autonumber_field?: boolean;
|
|
243
|
+
autonumber_format?: string;
|
|
244
|
+
starting_number?: number;
|
|
245
|
+
[key: string]: unknown;
|
|
246
|
+
}
|
|
247
|
+
|
|
248
|
+
/** Public custom-object field DTO returned by the REST API. */
|
|
80
249
|
export interface CustomObjectField {
|
|
81
250
|
/**
|
|
82
251
|
* Identifier field
|
|
@@ -99,9 +268,9 @@ export interface CustomObjectField {
|
|
|
99
268
|
custom_object: string;
|
|
100
269
|
|
|
101
270
|
/**
|
|
102
|
-
* The
|
|
271
|
+
* The data type configuration for the field.
|
|
103
272
|
*/
|
|
104
|
-
data_type: unknown
|
|
273
|
+
data_type: CustomObjectFieldDataType | Record<string, unknown>;
|
|
105
274
|
|
|
106
275
|
/**
|
|
107
276
|
* whether the history is enable for the field
|
|
@@ -144,16 +313,32 @@ export interface CustomObjectField {
|
|
|
144
313
|
managed_package_install_id?: string;
|
|
145
314
|
}
|
|
146
315
|
|
|
316
|
+
export namespace CustomObjectField {
|
|
317
|
+
/**
|
|
318
|
+
* The data type configuration for the field.
|
|
319
|
+
*/
|
|
320
|
+
export interface DataType {
|
|
321
|
+
/**
|
|
322
|
+
* Configured fractional scale for NUMBER, PERCENTAGE, and CURRENCY fields.
|
|
323
|
+
* Availability above the legacy per-type limit is capability-gated.
|
|
324
|
+
*/
|
|
325
|
+
num_of_decimal_places?: number;
|
|
326
|
+
|
|
327
|
+
[k: string]: unknown;
|
|
328
|
+
}
|
|
329
|
+
}
|
|
330
|
+
|
|
331
|
+
/** Request payload accepted by `client.customObjects.fields.create(...)`. */
|
|
147
332
|
export interface FieldCreateParams {
|
|
148
333
|
/**
|
|
149
334
|
* The data type configuration for the field.
|
|
150
335
|
*/
|
|
151
|
-
data_type?: unknown
|
|
336
|
+
data_type?: CustomObjectFieldDataType | Record<string, unknown>;
|
|
152
337
|
|
|
153
338
|
/**
|
|
154
339
|
* Configuration for derived aggregated fields.
|
|
155
340
|
*/
|
|
156
|
-
derived_aggregated_field?:
|
|
341
|
+
derived_aggregated_field?: CustomObjectFieldDerivedAggregatedField;
|
|
157
342
|
|
|
158
343
|
/**
|
|
159
344
|
* The formula for derived fields.
|
|
@@ -173,7 +358,7 @@ export interface FieldCreateParams {
|
|
|
173
358
|
/**
|
|
174
359
|
* Metadata for formula attributes.
|
|
175
360
|
*/
|
|
176
|
-
formula_attr_metas?:
|
|
361
|
+
formula_attr_metas?: CustomObjectFieldFormulaAttrMetas;
|
|
177
362
|
|
|
178
363
|
/**
|
|
179
364
|
* Whether field values must be unique.
|
|
@@ -193,19 +378,35 @@ export interface FieldCreateParams {
|
|
|
193
378
|
/**
|
|
194
379
|
* The RQL definition for computed fields.
|
|
195
380
|
*/
|
|
196
|
-
rql_definition?:
|
|
381
|
+
rql_definition?: CustomObjectFieldRqlDefinition;
|
|
382
|
+
|
|
383
|
+
/**
|
|
384
|
+
* The section identifier or section configuration for the field.
|
|
385
|
+
*/
|
|
386
|
+
section?: CustomObjectFieldSection;
|
|
387
|
+
}
|
|
197
388
|
|
|
389
|
+
export namespace FieldCreateParams {
|
|
198
390
|
/**
|
|
199
|
-
* The
|
|
391
|
+
* The data type configuration for the field.
|
|
200
392
|
*/
|
|
201
|
-
|
|
393
|
+
export interface DataType {
|
|
394
|
+
/**
|
|
395
|
+
* Configured fractional scale for NUMBER, PERCENTAGE, and CURRENCY fields.
|
|
396
|
+
* Availability above the legacy per-type limit is capability-gated.
|
|
397
|
+
*/
|
|
398
|
+
num_of_decimal_places?: number;
|
|
399
|
+
|
|
400
|
+
[k: string]: unknown;
|
|
401
|
+
}
|
|
202
402
|
}
|
|
203
403
|
|
|
404
|
+
/** Request payload accepted by `client.customObjects.fields.update(...)`. */
|
|
204
405
|
export interface FieldUpdateParams {
|
|
205
406
|
/**
|
|
206
407
|
* The data type configuration for the field.
|
|
207
408
|
*/
|
|
208
|
-
data_type?: unknown
|
|
409
|
+
data_type?: CustomObjectFieldDataType | Record<string, unknown>;
|
|
209
410
|
|
|
210
411
|
/**
|
|
211
412
|
* The formula for derived fields.
|
|
@@ -225,7 +426,7 @@ export interface FieldUpdateParams {
|
|
|
225
426
|
/**
|
|
226
427
|
* Metadata for formula attributes.
|
|
227
428
|
*/
|
|
228
|
-
formula_attr_metas?:
|
|
429
|
+
formula_attr_metas?: CustomObjectFieldFormulaAttrMetas;
|
|
229
430
|
|
|
230
431
|
/**
|
|
231
432
|
* Whether field values must be unique.
|
|
@@ -240,7 +441,7 @@ export interface FieldUpdateParams {
|
|
|
240
441
|
/**
|
|
241
442
|
* Configuration for name field display.
|
|
242
443
|
*/
|
|
243
|
-
name_field_details?:
|
|
444
|
+
name_field_details?: CustomObjectNameFieldDetails;
|
|
244
445
|
|
|
245
446
|
/**
|
|
246
447
|
* Whether this field is required.
|
|
@@ -250,16 +451,40 @@ export interface FieldUpdateParams {
|
|
|
250
451
|
/**
|
|
251
452
|
* The RQL definition for computed fields.
|
|
252
453
|
*/
|
|
253
|
-
rql_definition?:
|
|
454
|
+
rql_definition?: CustomObjectFieldRqlDefinition;
|
|
455
|
+
|
|
456
|
+
/**
|
|
457
|
+
* The section identifier or section configuration for the field.
|
|
458
|
+
*/
|
|
459
|
+
section?: CustomObjectFieldSection;
|
|
460
|
+
}
|
|
254
461
|
|
|
462
|
+
export namespace FieldUpdateParams {
|
|
255
463
|
/**
|
|
256
|
-
* The
|
|
464
|
+
* The data type configuration for the field.
|
|
257
465
|
*/
|
|
258
|
-
|
|
466
|
+
export interface DataType {
|
|
467
|
+
/**
|
|
468
|
+
* Configured fractional scale for NUMBER, PERCENTAGE, and CURRENCY fields.
|
|
469
|
+
* Availability above the legacy per-type limit is capability-gated.
|
|
470
|
+
*/
|
|
471
|
+
num_of_decimal_places?: number;
|
|
472
|
+
|
|
473
|
+
[k: string]: unknown;
|
|
474
|
+
}
|
|
259
475
|
}
|
|
260
476
|
|
|
261
477
|
export declare namespace Fields {
|
|
262
478
|
export {
|
|
479
|
+
type CustomObjectFieldType as CustomObjectFieldType,
|
|
480
|
+
type CustomObjectFieldDataType as CustomObjectFieldDataType,
|
|
481
|
+
type CustomObjectFieldDerivedAggregationFilter as CustomObjectFieldDerivedAggregationFilter,
|
|
482
|
+
type CustomObjectFieldDerivedAggregatedField as CustomObjectFieldDerivedAggregatedField,
|
|
483
|
+
type CustomObjectFieldFormulaAttrMetas as CustomObjectFieldFormulaAttrMetas,
|
|
484
|
+
type CustomObjectFieldRqlDefinition as CustomObjectFieldRqlDefinition,
|
|
485
|
+
type CustomObjectFieldSectionConfig as CustomObjectFieldSectionConfig,
|
|
486
|
+
type CustomObjectFieldSection as CustomObjectFieldSection,
|
|
487
|
+
type CustomObjectNameFieldDetails as CustomObjectNameFieldDetails,
|
|
263
488
|
type CustomObjectField as CustomObjectField,
|
|
264
489
|
type CustomObjectFieldsPageCursorURL as CustomObjectFieldsPageCursorURL,
|
|
265
490
|
type FieldCreateParams as FieldCreateParams,
|
package/src/resources/index.ts
CHANGED
|
@@ -352,7 +352,9 @@ export {
|
|
|
352
352
|
type Level,
|
|
353
353
|
type LevelRetrieveResponse,
|
|
354
354
|
type LevelListParams,
|
|
355
|
+
type LevelCreateParams,
|
|
355
356
|
type LevelRetrieveParams,
|
|
357
|
+
type LevelUpdateParams,
|
|
356
358
|
type LevelsPageCursorURL,
|
|
357
359
|
} from './levels';
|
|
358
360
|
export {
|
|
@@ -505,6 +507,8 @@ export {
|
|
|
505
507
|
type Track,
|
|
506
508
|
type TrackRetrieveResponse,
|
|
507
509
|
type TrackListParams,
|
|
510
|
+
type TrackCreateParams,
|
|
511
|
+
type TrackUpdateParams,
|
|
508
512
|
type TracksPageCursorURL,
|
|
509
513
|
} from './tracks';
|
|
510
514
|
export {
|