@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
|
@@ -21,9 +21,11 @@ export class LeaveProgramEvaluations extends APIResource {
|
|
|
21
21
|
|
|
22
22
|
export interface LeaveProgramEvaluationCreateResponse {
|
|
23
23
|
/**
|
|
24
|
-
* Combined leave plan derived from all non-ineligible program results.
|
|
24
|
+
* Combined leave plan derived from all non-ineligible program results. Join
|
|
25
|
+
* program_results by program_code for eligibility, pay rates, and gaps;
|
|
26
|
+
* program_contributions carry placement windows only.
|
|
25
27
|
*/
|
|
26
|
-
leave_plan:
|
|
28
|
+
leave_plan: LeaveProgramEvaluationCreateResponse.LeavePlan;
|
|
27
29
|
|
|
28
30
|
/**
|
|
29
31
|
* Structured evidence gaps reported by evaluated eligibility rules.
|
|
@@ -33,10 +35,311 @@ export interface LeaveProgramEvaluationCreateResponse {
|
|
|
33
35
|
/**
|
|
34
36
|
* Per-program rule outputs in evaluation order.
|
|
35
37
|
*/
|
|
36
|
-
program_results: Array<
|
|
38
|
+
program_results: Array<LeaveProgramEvaluationCreateResponse.ProgramResult>;
|
|
37
39
|
}
|
|
38
40
|
|
|
39
41
|
export namespace LeaveProgramEvaluationCreateResponse {
|
|
42
|
+
/**
|
|
43
|
+
* Combined leave plan derived from all non-ineligible program results. Join
|
|
44
|
+
* program_results by program_code for eligibility, pay rates, and gaps;
|
|
45
|
+
* program_contributions carry placement windows only.
|
|
46
|
+
*/
|
|
47
|
+
export interface LeavePlan {
|
|
48
|
+
/**
|
|
49
|
+
* Flattened balance adjustment directives from payable program results.
|
|
50
|
+
*/
|
|
51
|
+
balance_adjustments: Array<LeavePlan.BalanceAdjustment>;
|
|
52
|
+
|
|
53
|
+
/**
|
|
54
|
+
* Requested leave start date used for this plan.
|
|
55
|
+
*/
|
|
56
|
+
claim_start_date: string;
|
|
57
|
+
|
|
58
|
+
/**
|
|
59
|
+
* Contiguous spans where the same program set overlaps.
|
|
60
|
+
*/
|
|
61
|
+
coverage_segments: Array<LeavePlan.CoverageSegment>;
|
|
62
|
+
|
|
63
|
+
/**
|
|
64
|
+
* Flattened payroll earning directives from payable program results.
|
|
65
|
+
*/
|
|
66
|
+
earnings: Array<LeavePlan.Earning>;
|
|
67
|
+
|
|
68
|
+
/**
|
|
69
|
+
* Estimated per-paycheck amounts when claim_end_date and pay schedule are known.
|
|
70
|
+
*/
|
|
71
|
+
pay_periods: Array<LeavePlan.PayPeriod>;
|
|
72
|
+
|
|
73
|
+
/**
|
|
74
|
+
* Per-program placement windows on the claim.
|
|
75
|
+
*/
|
|
76
|
+
program_contributions: Array<LeavePlan.ProgramContribution>;
|
|
77
|
+
|
|
78
|
+
/**
|
|
79
|
+
* Requested leave end date used for this plan, if provided.
|
|
80
|
+
*/
|
|
81
|
+
claim_end_date?: string;
|
|
82
|
+
|
|
83
|
+
/**
|
|
84
|
+
* Merged bookable leave request directive, if any.
|
|
85
|
+
*/
|
|
86
|
+
leave_request?: LeavePlan.LeaveRequest;
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
export namespace LeavePlan {
|
|
90
|
+
export interface BalanceAdjustment {
|
|
91
|
+
/**
|
|
92
|
+
* Adjustment amount serialized as a decimal string.
|
|
93
|
+
*/
|
|
94
|
+
amount: string;
|
|
95
|
+
|
|
96
|
+
/**
|
|
97
|
+
* Leave type to adjust if applying the evaluation.
|
|
98
|
+
*/
|
|
99
|
+
leave_type: string;
|
|
100
|
+
|
|
101
|
+
/**
|
|
102
|
+
* Unit for the adjustment amount, such as WEEKS, DAYS, or HOURS.
|
|
103
|
+
*/
|
|
104
|
+
unit: string;
|
|
105
|
+
|
|
106
|
+
/**
|
|
107
|
+
* Accrual type to use when applying the adjustment.
|
|
108
|
+
*/
|
|
109
|
+
accrual_type?: string;
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
export interface CoverageSegment {
|
|
113
|
+
/**
|
|
114
|
+
* Programs active over this segment.
|
|
115
|
+
*/
|
|
116
|
+
program_codes: Array<string>;
|
|
117
|
+
|
|
118
|
+
/**
|
|
119
|
+
* Segment start date.
|
|
120
|
+
*/
|
|
121
|
+
start_date: string;
|
|
122
|
+
|
|
123
|
+
/**
|
|
124
|
+
* Segment end date, if known.
|
|
125
|
+
*/
|
|
126
|
+
end_date?: string;
|
|
127
|
+
}
|
|
128
|
+
|
|
129
|
+
export interface Earning {
|
|
130
|
+
/**
|
|
131
|
+
* Earning amount serialized as a decimal string.
|
|
132
|
+
*/
|
|
133
|
+
amount: string;
|
|
134
|
+
|
|
135
|
+
/**
|
|
136
|
+
* Earning type to use if booking a payroll earning from the evaluation.
|
|
137
|
+
*/
|
|
138
|
+
earning_type: string;
|
|
139
|
+
|
|
140
|
+
/**
|
|
141
|
+
* ISO 4217 currency code for the earning amount.
|
|
142
|
+
*/
|
|
143
|
+
currency?: string;
|
|
144
|
+
|
|
145
|
+
/**
|
|
146
|
+
* Number of benefit weeks represented by this earning, serialized as a decimal
|
|
147
|
+
* string.
|
|
148
|
+
*/
|
|
149
|
+
weeks?: string;
|
|
150
|
+
}
|
|
151
|
+
|
|
152
|
+
export interface PayPeriod {
|
|
153
|
+
/**
|
|
154
|
+
* Estimated program-level pay slices in this pay period.
|
|
155
|
+
*/
|
|
156
|
+
contributions: Array<PayPeriod.Contribution>;
|
|
157
|
+
|
|
158
|
+
/**
|
|
159
|
+
* Estimated pay period end date.
|
|
160
|
+
*/
|
|
161
|
+
period_end: string;
|
|
162
|
+
|
|
163
|
+
/**
|
|
164
|
+
* Estimated pay period start date.
|
|
165
|
+
*/
|
|
166
|
+
period_start: string;
|
|
167
|
+
|
|
168
|
+
/**
|
|
169
|
+
* Total estimated carrier-paid amount in this pay period.
|
|
170
|
+
*/
|
|
171
|
+
carrier_total?: PayPeriod.CarrierTotal;
|
|
172
|
+
|
|
173
|
+
/**
|
|
174
|
+
* Total estimated employer-paid amount in this pay period.
|
|
175
|
+
*/
|
|
176
|
+
employer_total?: PayPeriod.EmployerTotal;
|
|
177
|
+
|
|
178
|
+
/**
|
|
179
|
+
* Total estimated government-paid amount in this pay period.
|
|
180
|
+
*/
|
|
181
|
+
government_total?: PayPeriod.GovernmentTotal;
|
|
182
|
+
|
|
183
|
+
/**
|
|
184
|
+
* Total estimated amount in this pay period.
|
|
185
|
+
*/
|
|
186
|
+
total?: PayPeriod.Total;
|
|
187
|
+
}
|
|
188
|
+
|
|
189
|
+
export namespace PayPeriod {
|
|
190
|
+
export interface Contribution {
|
|
191
|
+
/**
|
|
192
|
+
* Estimated amount for this program slice.
|
|
193
|
+
*/
|
|
194
|
+
amount: Contribution.Amount;
|
|
195
|
+
|
|
196
|
+
/**
|
|
197
|
+
* Who pays the employee for this program slice.
|
|
198
|
+
*/
|
|
199
|
+
pay_source: 'GOVERNMENT' | 'CARRIER' | 'EMPLOYER';
|
|
200
|
+
|
|
201
|
+
/**
|
|
202
|
+
* Program contributing pay in this pay period.
|
|
203
|
+
*/
|
|
204
|
+
program_code: string;
|
|
205
|
+
}
|
|
206
|
+
|
|
207
|
+
export namespace Contribution {
|
|
208
|
+
/**
|
|
209
|
+
* Estimated amount for this program slice.
|
|
210
|
+
*/
|
|
211
|
+
export interface Amount {
|
|
212
|
+
/**
|
|
213
|
+
* Decimal monetary amount serialized as a string.
|
|
214
|
+
*/
|
|
215
|
+
amount: string;
|
|
216
|
+
|
|
217
|
+
/**
|
|
218
|
+
* ISO 4217 currency code for the amount.
|
|
219
|
+
*/
|
|
220
|
+
currency: string;
|
|
221
|
+
}
|
|
222
|
+
}
|
|
223
|
+
|
|
224
|
+
/**
|
|
225
|
+
* Total estimated carrier-paid amount in this pay period.
|
|
226
|
+
*/
|
|
227
|
+
export interface CarrierTotal {
|
|
228
|
+
/**
|
|
229
|
+
* Decimal monetary amount serialized as a string.
|
|
230
|
+
*/
|
|
231
|
+
amount: string;
|
|
232
|
+
|
|
233
|
+
/**
|
|
234
|
+
* ISO 4217 currency code for the amount.
|
|
235
|
+
*/
|
|
236
|
+
currency: string;
|
|
237
|
+
}
|
|
238
|
+
|
|
239
|
+
/**
|
|
240
|
+
* Total estimated employer-paid amount in this pay period.
|
|
241
|
+
*/
|
|
242
|
+
export interface EmployerTotal {
|
|
243
|
+
/**
|
|
244
|
+
* Decimal monetary amount serialized as a string.
|
|
245
|
+
*/
|
|
246
|
+
amount: string;
|
|
247
|
+
|
|
248
|
+
/**
|
|
249
|
+
* ISO 4217 currency code for the amount.
|
|
250
|
+
*/
|
|
251
|
+
currency: string;
|
|
252
|
+
}
|
|
253
|
+
|
|
254
|
+
/**
|
|
255
|
+
* Total estimated government-paid amount in this pay period.
|
|
256
|
+
*/
|
|
257
|
+
export interface GovernmentTotal {
|
|
258
|
+
/**
|
|
259
|
+
* Decimal monetary amount serialized as a string.
|
|
260
|
+
*/
|
|
261
|
+
amount: string;
|
|
262
|
+
|
|
263
|
+
/**
|
|
264
|
+
* ISO 4217 currency code for the amount.
|
|
265
|
+
*/
|
|
266
|
+
currency: string;
|
|
267
|
+
}
|
|
268
|
+
|
|
269
|
+
/**
|
|
270
|
+
* Total estimated amount in this pay period.
|
|
271
|
+
*/
|
|
272
|
+
export interface Total {
|
|
273
|
+
/**
|
|
274
|
+
* Decimal monetary amount serialized as a string.
|
|
275
|
+
*/
|
|
276
|
+
amount: string;
|
|
277
|
+
|
|
278
|
+
/**
|
|
279
|
+
* ISO 4217 currency code for the amount.
|
|
280
|
+
*/
|
|
281
|
+
currency: string;
|
|
282
|
+
}
|
|
283
|
+
}
|
|
284
|
+
|
|
285
|
+
export interface ProgramContribution {
|
|
286
|
+
/**
|
|
287
|
+
* Whether this program has an estimated pay rate.
|
|
288
|
+
*/
|
|
289
|
+
pay_status: 'NOT_APPLICABLE' | 'ESTIMATED';
|
|
290
|
+
|
|
291
|
+
/**
|
|
292
|
+
* Leave program code active on this claim window.
|
|
293
|
+
*/
|
|
294
|
+
program_code: string;
|
|
295
|
+
|
|
296
|
+
/**
|
|
297
|
+
* Program placement start date.
|
|
298
|
+
*/
|
|
299
|
+
start_date: string;
|
|
300
|
+
|
|
301
|
+
/**
|
|
302
|
+
* Program placement end date, if known.
|
|
303
|
+
*/
|
|
304
|
+
end_date?: string;
|
|
305
|
+
|
|
306
|
+
/**
|
|
307
|
+
* Leave type associated with this program placement.
|
|
308
|
+
*/
|
|
309
|
+
leave_type?: string;
|
|
310
|
+
|
|
311
|
+
/**
|
|
312
|
+
* Human-readable leave type label.
|
|
313
|
+
*/
|
|
314
|
+
leave_type_label?: string;
|
|
315
|
+
}
|
|
316
|
+
|
|
317
|
+
/**
|
|
318
|
+
* Merged bookable leave request directive, if any.
|
|
319
|
+
*/
|
|
320
|
+
export interface LeaveRequest {
|
|
321
|
+
/**
|
|
322
|
+
* Leave type to use if booking a leave request from the evaluation.
|
|
323
|
+
*/
|
|
324
|
+
leave_type: string;
|
|
325
|
+
|
|
326
|
+
/**
|
|
327
|
+
* Recommended leave request start date.
|
|
328
|
+
*/
|
|
329
|
+
start_date: string;
|
|
330
|
+
|
|
331
|
+
/**
|
|
332
|
+
* Recommended leave request end date, if known.
|
|
333
|
+
*/
|
|
334
|
+
end_date?: string;
|
|
335
|
+
|
|
336
|
+
/**
|
|
337
|
+
* Optional leave request status to use when booking.
|
|
338
|
+
*/
|
|
339
|
+
status?: string;
|
|
340
|
+
}
|
|
341
|
+
}
|
|
342
|
+
|
|
40
343
|
export interface MissingEvidence {
|
|
41
344
|
/**
|
|
42
345
|
* Expected answer type for this evidence key.
|
|
@@ -58,6 +361,302 @@ export namespace LeaveProgramEvaluationCreateResponse {
|
|
|
58
361
|
*/
|
|
59
362
|
program_codes: Array<string>;
|
|
60
363
|
}
|
|
364
|
+
|
|
365
|
+
export interface ProgramResult {
|
|
366
|
+
/**
|
|
367
|
+
* Derived eligibility status for this program.
|
|
368
|
+
*/
|
|
369
|
+
eligibility: 'eligible' | 'ineligible' | 'partially_eligible';
|
|
370
|
+
|
|
371
|
+
/**
|
|
372
|
+
* UNKNOWN evidence keys to fix before eligibility can be fully resolved.
|
|
373
|
+
*/
|
|
374
|
+
gaps: Array<string>;
|
|
375
|
+
|
|
376
|
+
/**
|
|
377
|
+
* Whether the result is eligible and not blocked by payment-blocking requirements.
|
|
378
|
+
*/
|
|
379
|
+
is_payable: boolean;
|
|
380
|
+
|
|
381
|
+
/**
|
|
382
|
+
* Leave program code evaluated by the rules engine.
|
|
383
|
+
*/
|
|
384
|
+
program_code: string;
|
|
385
|
+
|
|
386
|
+
/**
|
|
387
|
+
* Eligibility and assumption validations run for this program.
|
|
388
|
+
*/
|
|
389
|
+
program_validations: Array<ProgramResult.ProgramValidation>;
|
|
390
|
+
|
|
391
|
+
/**
|
|
392
|
+
* Legacy explanatory components for this program.
|
|
393
|
+
*/
|
|
394
|
+
components?: Array<ProgramResult.Component>;
|
|
395
|
+
|
|
396
|
+
/**
|
|
397
|
+
* Bookable directives emitted by this program.
|
|
398
|
+
*/
|
|
399
|
+
directives?: ProgramResult.Directives;
|
|
400
|
+
|
|
401
|
+
/**
|
|
402
|
+
* Time entitlement for this program, if any.
|
|
403
|
+
*/
|
|
404
|
+
entitlement?: ProgramResult.Entitlement;
|
|
405
|
+
|
|
406
|
+
/**
|
|
407
|
+
* Job-protection details for this program, if any.
|
|
408
|
+
*/
|
|
409
|
+
job_protection?: ProgramResult.JobProtection;
|
|
410
|
+
|
|
411
|
+
/**
|
|
412
|
+
* Estimated wage-replacement rate for this program, if any.
|
|
413
|
+
*/
|
|
414
|
+
pay_rate?: ProgramResult.PayRate;
|
|
415
|
+
|
|
416
|
+
/**
|
|
417
|
+
* Who pays the employee for this program's wage-replacement slice.
|
|
418
|
+
*/
|
|
419
|
+
pay_source?: 'GOVERNMENT' | 'CARRIER' | 'EMPLOYER';
|
|
420
|
+
|
|
421
|
+
/**
|
|
422
|
+
* Human-readable pay summary for this program.
|
|
423
|
+
*/
|
|
424
|
+
pay_summary?: string;
|
|
425
|
+
|
|
426
|
+
/**
|
|
427
|
+
* Outstanding artifacts or actions for this program.
|
|
428
|
+
*/
|
|
429
|
+
program_requirements?: Array<ProgramResult.ProgramRequirement>;
|
|
430
|
+
}
|
|
431
|
+
|
|
432
|
+
export namespace ProgramResult {
|
|
433
|
+
export interface ProgramValidation {
|
|
434
|
+
/**
|
|
435
|
+
* Human-readable validation message.
|
|
436
|
+
*/
|
|
437
|
+
message: string;
|
|
438
|
+
|
|
439
|
+
/**
|
|
440
|
+
* Validation outcome.
|
|
441
|
+
*/
|
|
442
|
+
outcome: 'PASSED' | 'FAILED' | 'UNKNOWN' | 'ASSUMED';
|
|
443
|
+
|
|
444
|
+
/**
|
|
445
|
+
* Machine-readable validation function that produced this outcome.
|
|
446
|
+
*/
|
|
447
|
+
validation_func: string;
|
|
448
|
+
|
|
449
|
+
/**
|
|
450
|
+
* Evidence key or field path inspected by the validation.
|
|
451
|
+
*/
|
|
452
|
+
data_source?: string;
|
|
453
|
+
|
|
454
|
+
/**
|
|
455
|
+
* Observed value at evaluation time, if available.
|
|
456
|
+
*/
|
|
457
|
+
value?: string;
|
|
458
|
+
}
|
|
459
|
+
|
|
460
|
+
export interface Component {
|
|
461
|
+
/**
|
|
462
|
+
* Category of explanatory result component.
|
|
463
|
+
*/
|
|
464
|
+
kind: 'ELIGIBILITY' | 'PAY' | 'TIME' | 'OTHER';
|
|
465
|
+
|
|
466
|
+
/**
|
|
467
|
+
* Human-readable summary for this component.
|
|
468
|
+
*/
|
|
469
|
+
summary: string;
|
|
470
|
+
|
|
471
|
+
/**
|
|
472
|
+
* Additional component-specific data.
|
|
473
|
+
*/
|
|
474
|
+
data?: unknown;
|
|
475
|
+
|
|
476
|
+
/**
|
|
477
|
+
* Optional machine-readable subtype for the component.
|
|
478
|
+
*/
|
|
479
|
+
subkind?: string;
|
|
480
|
+
}
|
|
481
|
+
|
|
482
|
+
/**
|
|
483
|
+
* Bookable directives emitted by this program.
|
|
484
|
+
*/
|
|
485
|
+
export interface Directives {
|
|
486
|
+
/**
|
|
487
|
+
* Balance adjustment directives emitted by payable program results.
|
|
488
|
+
*/
|
|
489
|
+
balance_adjustments?: Array<Directives.BalanceAdjustment>;
|
|
490
|
+
|
|
491
|
+
/**
|
|
492
|
+
* Payroll earning directives emitted by payable program results.
|
|
493
|
+
*/
|
|
494
|
+
earnings?: Array<Directives.Earning>;
|
|
495
|
+
|
|
496
|
+
/**
|
|
497
|
+
* Leave request directive emitted by payable program results.
|
|
498
|
+
*/
|
|
499
|
+
leave_request?: Directives.LeaveRequest;
|
|
500
|
+
}
|
|
501
|
+
|
|
502
|
+
export namespace Directives {
|
|
503
|
+
export interface BalanceAdjustment {
|
|
504
|
+
/**
|
|
505
|
+
* Adjustment amount serialized as a decimal string.
|
|
506
|
+
*/
|
|
507
|
+
amount: string;
|
|
508
|
+
|
|
509
|
+
/**
|
|
510
|
+
* Leave type to adjust if applying the evaluation.
|
|
511
|
+
*/
|
|
512
|
+
leave_type: string;
|
|
513
|
+
|
|
514
|
+
/**
|
|
515
|
+
* Unit for the adjustment amount, such as WEEKS, DAYS, or HOURS.
|
|
516
|
+
*/
|
|
517
|
+
unit: string;
|
|
518
|
+
|
|
519
|
+
/**
|
|
520
|
+
* Accrual type to use when applying the adjustment.
|
|
521
|
+
*/
|
|
522
|
+
accrual_type?: string;
|
|
523
|
+
}
|
|
524
|
+
|
|
525
|
+
export interface Earning {
|
|
526
|
+
/**
|
|
527
|
+
* Earning amount serialized as a decimal string.
|
|
528
|
+
*/
|
|
529
|
+
amount: string;
|
|
530
|
+
|
|
531
|
+
/**
|
|
532
|
+
* Earning type to use if booking a payroll earning from the evaluation.
|
|
533
|
+
*/
|
|
534
|
+
earning_type: string;
|
|
535
|
+
|
|
536
|
+
/**
|
|
537
|
+
* ISO 4217 currency code for the earning amount.
|
|
538
|
+
*/
|
|
539
|
+
currency?: string;
|
|
540
|
+
|
|
541
|
+
/**
|
|
542
|
+
* Number of benefit weeks represented by this earning, serialized as a decimal
|
|
543
|
+
* string.
|
|
544
|
+
*/
|
|
545
|
+
weeks?: string;
|
|
546
|
+
}
|
|
547
|
+
|
|
548
|
+
/**
|
|
549
|
+
* Leave request directive emitted by payable program results.
|
|
550
|
+
*/
|
|
551
|
+
export interface LeaveRequest {
|
|
552
|
+
/**
|
|
553
|
+
* Leave type to use if booking a leave request from the evaluation.
|
|
554
|
+
*/
|
|
555
|
+
leave_type: string;
|
|
556
|
+
|
|
557
|
+
/**
|
|
558
|
+
* Recommended leave request start date.
|
|
559
|
+
*/
|
|
560
|
+
start_date: string;
|
|
561
|
+
|
|
562
|
+
/**
|
|
563
|
+
* Recommended leave request end date, if known.
|
|
564
|
+
*/
|
|
565
|
+
end_date?: string;
|
|
566
|
+
|
|
567
|
+
/**
|
|
568
|
+
* Optional leave request status to use when booking.
|
|
569
|
+
*/
|
|
570
|
+
status?: string;
|
|
571
|
+
}
|
|
572
|
+
}
|
|
573
|
+
|
|
574
|
+
/**
|
|
575
|
+
* Time entitlement for this program, if any.
|
|
576
|
+
*/
|
|
577
|
+
export interface Entitlement {
|
|
578
|
+
/**
|
|
579
|
+
* Entitlement amount serialized as a decimal string.
|
|
580
|
+
*/
|
|
581
|
+
amount: string;
|
|
582
|
+
|
|
583
|
+
/**
|
|
584
|
+
* Leave type associated with the entitlement.
|
|
585
|
+
*/
|
|
586
|
+
leave_type: string;
|
|
587
|
+
|
|
588
|
+
/**
|
|
589
|
+
* Unit for the entitlement amount, such as WEEKS, DAYS, or HOURS.
|
|
590
|
+
*/
|
|
591
|
+
unit: string;
|
|
592
|
+
}
|
|
593
|
+
|
|
594
|
+
/**
|
|
595
|
+
* Job-protection details for this program, if any.
|
|
596
|
+
*/
|
|
597
|
+
export interface JobProtection {
|
|
598
|
+
/**
|
|
599
|
+
* Job-restoration right provided by the program.
|
|
600
|
+
*/
|
|
601
|
+
restoration: string;
|
|
602
|
+
|
|
603
|
+
/**
|
|
604
|
+
* Whether the program continues group health coverage.
|
|
605
|
+
*/
|
|
606
|
+
continues_group_health?: boolean;
|
|
607
|
+
}
|
|
608
|
+
|
|
609
|
+
/**
|
|
610
|
+
* Estimated wage-replacement rate for this program, if any.
|
|
611
|
+
*/
|
|
612
|
+
export interface PayRate {
|
|
613
|
+
/**
|
|
614
|
+
* Wage-replacement phases for the program.
|
|
615
|
+
*/
|
|
616
|
+
phases: Array<PayRate.Phase>;
|
|
617
|
+
}
|
|
618
|
+
|
|
619
|
+
export namespace PayRate {
|
|
620
|
+
export interface Phase {
|
|
621
|
+
/**
|
|
622
|
+
* Pay amount for this phase serialized as a decimal string.
|
|
623
|
+
*/
|
|
624
|
+
amount: string;
|
|
625
|
+
|
|
626
|
+
/**
|
|
627
|
+
* ISO 4217 currency code for this pay phase.
|
|
628
|
+
*/
|
|
629
|
+
currency?: string;
|
|
630
|
+
|
|
631
|
+
/**
|
|
632
|
+
* Number of days this phase lasts. Null means the phase runs to the window end.
|
|
633
|
+
*/
|
|
634
|
+
duration_days?: number;
|
|
635
|
+
|
|
636
|
+
/**
|
|
637
|
+
* Pay-rate unit for this phase, such as DAILY, WEEKLY, or BIWEEKLY.
|
|
638
|
+
*/
|
|
639
|
+
unit?: string;
|
|
640
|
+
}
|
|
641
|
+
}
|
|
642
|
+
|
|
643
|
+
export interface ProgramRequirement {
|
|
644
|
+
/**
|
|
645
|
+
* Machine-readable requirement key.
|
|
646
|
+
*/
|
|
647
|
+
key: string;
|
|
648
|
+
|
|
649
|
+
/**
|
|
650
|
+
* Human-readable requirement summary.
|
|
651
|
+
*/
|
|
652
|
+
summary: string;
|
|
653
|
+
|
|
654
|
+
/**
|
|
655
|
+
* Whether this requirement blocks payment until resolved.
|
|
656
|
+
*/
|
|
657
|
+
blocks_payment?: boolean;
|
|
658
|
+
}
|
|
659
|
+
}
|
|
61
660
|
}
|
|
62
661
|
|
|
63
662
|
export interface LeaveProgramEvaluationCreateParams {
|
|
@@ -87,6 +686,12 @@ export interface LeaveProgramEvaluationCreateParams {
|
|
|
87
686
|
*/
|
|
88
687
|
child_entered_family_date?: string;
|
|
89
688
|
|
|
689
|
+
/**
|
|
690
|
+
* Optional requested leave end date. When set, leave_plan.pay_periods includes
|
|
691
|
+
* estimated per-paycheck amounts for programs that publish pay rates.
|
|
692
|
+
*/
|
|
693
|
+
claim_end_date?: string;
|
|
694
|
+
|
|
90
695
|
/**
|
|
91
696
|
* Demo/test-company only evidence overrides for exercising eligibility scenarios
|
|
92
697
|
* when the role's real data would not qualify.
|
|
@@ -95,6 +700,8 @@ export interface LeaveProgramEvaluationCreateParams {
|
|
|
95
700
|
|
|
96
701
|
/**
|
|
97
702
|
* Optional parental leave relationship type for parental leave programs.
|
|
703
|
+
* Deprecated for most bonding evaluations, but still accepted for backwards
|
|
704
|
+
* compatibility with 2024-08-01 SDK callers.
|
|
98
705
|
*/
|
|
99
706
|
parental_leave_type?:
|
|
100
707
|
| 'birthing_parent'
|