@rippling/rippling-sdk 0.2.0-alpha.109 → 0.2.0-alpha.111
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 +69 -7
- package/client.d.mts.map +1 -1
- package/client.d.ts +69 -7
- package/client.d.ts.map +1 -1
- package/client.js +69 -3
- package/client.js.map +1 -1
- package/client.mjs +69 -3
- package/client.mjs.map +1 -1
- package/core/platform/custom-objects/manager.d.mts +43 -23
- package/core/platform/custom-objects/manager.d.mts.map +1 -1
- package/core/platform/custom-objects/manager.d.ts +43 -23
- package/core/platform/custom-objects/manager.d.ts.map +1 -1
- package/core/platform/custom-objects/manager.js +21 -17
- package/core/platform/custom-objects/manager.js.map +1 -1
- package/core/platform/custom-objects/manager.mjs +21 -17
- package/core/platform/custom-objects/manager.mjs.map +1 -1
- package/core/platform/custom-objects.d.mts +1 -1
- package/core/platform/custom-objects.d.mts.map +1 -1
- package/core/platform/custom-objects.d.ts +1 -1
- package/core/platform/custom-objects.d.ts.map +1 -1
- package/core/platform/custom-objects.js.map +1 -1
- package/core/platform/custom-objects.mjs.map +1 -1
- package/examples/manifest/acp-agent/acp-agent.ts +27 -23
- package/index.d.mts +5 -0
- package/index.d.mts.map +1 -1
- package/index.d.ts +5 -0
- package/index.d.ts.map +1 -1
- package/index.js +11 -1
- package/index.js.map +1 -1
- package/index.mjs +5 -0
- package/index.mjs.map +1 -1
- package/lib/manifest/acp-agent.d.mts +1 -1
- package/lib/manifest/acp-agent.d.mts.map +1 -1
- package/lib/manifest/acp-agent.d.ts +1 -1
- package/lib/manifest/acp-agent.d.ts.map +1 -1
- package/lib/manifest/acp-agent.js +6 -0
- package/lib/manifest/acp-agent.js.map +1 -1
- package/lib/manifest/acp-agent.mjs +6 -0
- package/lib/manifest/acp-agent.mjs.map +1 -1
- package/lib/manifest/composition.d.mts +21 -0
- package/lib/manifest/composition.d.mts.map +1 -0
- package/lib/manifest/composition.d.ts +21 -0
- package/lib/manifest/composition.d.ts.map +1 -0
- package/lib/manifest/composition.js +103 -0
- package/lib/manifest/composition.js.map +1 -0
- package/lib/manifest/composition.mjs +99 -0
- package/lib/manifest/composition.mjs.map +1 -0
- package/lib/manifest/definitions/_object-records.d.mts +23 -0
- package/lib/manifest/definitions/_object-records.d.mts.map +1 -0
- package/lib/manifest/definitions/_object-records.d.ts +23 -0
- package/lib/manifest/definitions/_object-records.d.ts.map +1 -0
- package/lib/manifest/definitions/_object-records.js +153 -0
- package/lib/manifest/definitions/_object-records.js.map +1 -0
- package/lib/manifest/definitions/_object-records.mjs +149 -0
- package/lib/manifest/definitions/_object-records.mjs.map +1 -0
- package/lib/manifest/definitions/action.d.mts +7 -0
- package/lib/manifest/definitions/action.d.mts.map +1 -0
- package/lib/manifest/definitions/action.d.ts +7 -0
- package/lib/manifest/definitions/action.d.ts.map +1 -0
- package/lib/manifest/definitions/action.js +25 -0
- package/lib/manifest/definitions/action.js.map +1 -0
- package/lib/manifest/definitions/action.mjs +22 -0
- package/lib/manifest/definitions/action.mjs.map +1 -0
- package/lib/manifest/definitions/agent.d.mts +51 -0
- package/lib/manifest/definitions/agent.d.mts.map +1 -0
- package/lib/manifest/definitions/agent.d.ts +51 -0
- package/lib/manifest/definitions/agent.d.ts.map +1 -0
- package/lib/manifest/definitions/agent.js +65 -0
- package/lib/manifest/definitions/agent.js.map +1 -0
- package/lib/manifest/definitions/agent.mjs +59 -0
- package/lib/manifest/definitions/agent.mjs.map +1 -0
- package/lib/manifest/definitions/app.d.mts +3 -0
- package/lib/manifest/definitions/app.d.mts.map +1 -0
- package/lib/manifest/definitions/app.d.ts +3 -0
- package/lib/manifest/definitions/app.d.ts.map +1 -0
- package/lib/manifest/definitions/app.js +14 -0
- package/lib/manifest/definitions/app.js.map +1 -0
- package/lib/manifest/definitions/app.mjs +11 -0
- package/lib/manifest/definitions/app.mjs.map +1 -0
- package/lib/manifest/definitions/category.d.mts +9 -0
- package/lib/manifest/definitions/category.d.mts.map +1 -0
- package/lib/manifest/definitions/category.d.ts +9 -0
- package/lib/manifest/definitions/category.d.ts.map +1 -0
- package/lib/manifest/definitions/category.js +27 -0
- package/lib/manifest/definitions/category.js.map +1 -0
- package/lib/manifest/definitions/category.mjs +23 -0
- package/lib/manifest/definitions/category.mjs.map +1 -0
- package/lib/manifest/definitions/component.d.mts +101 -0
- package/lib/manifest/definitions/component.d.mts.map +1 -0
- package/lib/manifest/definitions/component.d.ts +101 -0
- package/lib/manifest/definitions/component.d.ts.map +1 -0
- package/lib/manifest/definitions/component.js +106 -0
- package/lib/manifest/definitions/component.js.map +1 -0
- package/lib/manifest/definitions/component.mjs +97 -0
- package/lib/manifest/definitions/component.mjs.map +1 -0
- package/lib/manifest/definitions/custom-field-section.d.mts +13 -0
- package/lib/manifest/definitions/custom-field-section.d.mts.map +1 -0
- package/lib/manifest/definitions/custom-field-section.d.ts +13 -0
- package/lib/manifest/definitions/custom-field-section.d.ts.map +1 -0
- package/lib/manifest/definitions/custom-field-section.js +15 -0
- package/lib/manifest/definitions/custom-field-section.js.map +1 -0
- package/lib/manifest/definitions/custom-field-section.mjs +12 -0
- package/lib/manifest/definitions/custom-field-section.mjs.map +1 -0
- package/lib/manifest/definitions/custom-field.d.mts +10 -0
- package/lib/manifest/definitions/custom-field.d.mts.map +1 -0
- package/lib/manifest/definitions/custom-field.d.ts +10 -0
- package/lib/manifest/definitions/custom-field.d.ts.map +1 -0
- package/lib/manifest/definitions/custom-field.js +18 -0
- package/lib/manifest/definitions/custom-field.js.map +1 -0
- package/lib/manifest/definitions/custom-field.mjs +15 -0
- package/lib/manifest/definitions/custom-field.mjs.map +1 -0
- package/lib/manifest/definitions/custom-object.d.mts +162 -0
- package/lib/manifest/definitions/custom-object.d.mts.map +1 -0
- package/lib/manifest/definitions/custom-object.d.ts +162 -0
- package/lib/manifest/definitions/custom-object.d.ts.map +1 -0
- package/lib/manifest/definitions/custom-object.js +412 -0
- package/lib/manifest/definitions/custom-object.js.map +1 -0
- package/lib/manifest/definitions/custom-object.mjs +386 -0
- package/lib/manifest/definitions/custom-object.mjs.map +1 -0
- package/lib/manifest/definitions/custom-skill.d.mts +8 -0
- package/lib/manifest/definitions/custom-skill.d.mts.map +1 -0
- package/lib/manifest/definitions/custom-skill.d.ts +8 -0
- package/lib/manifest/definitions/custom-skill.d.ts.map +1 -0
- package/lib/manifest/definitions/custom-skill.js +15 -0
- package/lib/manifest/definitions/custom-skill.js.map +1 -0
- package/lib/manifest/definitions/custom-skill.mjs +12 -0
- package/lib/manifest/definitions/custom-skill.mjs.map +1 -0
- package/lib/manifest/definitions/field-section.d.mts +7 -0
- package/lib/manifest/definitions/field-section.d.mts.map +1 -0
- package/lib/manifest/definitions/field-section.d.ts +7 -0
- package/lib/manifest/definitions/field-section.d.ts.map +1 -0
- package/lib/manifest/definitions/field-section.js +16 -0
- package/lib/manifest/definitions/field-section.js.map +1 -0
- package/lib/manifest/definitions/field-section.mjs +13 -0
- package/lib/manifest/definitions/field-section.mjs.map +1 -0
- package/lib/manifest/definitions/field.d.mts +38 -0
- package/lib/manifest/definitions/field.d.mts.map +1 -0
- package/lib/manifest/definitions/field.d.ts +38 -0
- package/lib/manifest/definitions/field.d.ts.map +1 -0
- package/lib/manifest/definitions/field.js +50 -0
- package/lib/manifest/definitions/field.js.map +1 -0
- package/lib/manifest/definitions/field.mjs +45 -0
- package/lib/manifest/definitions/field.mjs.map +1 -0
- package/lib/manifest/definitions/function.d.mts +61 -0
- package/lib/manifest/definitions/function.d.mts.map +1 -0
- package/lib/manifest/definitions/function.d.ts +61 -0
- package/lib/manifest/definitions/function.d.ts.map +1 -0
- package/lib/manifest/definitions/function.js +79 -0
- package/lib/manifest/definitions/function.js.map +1 -0
- package/lib/manifest/definitions/function.mjs +73 -0
- package/lib/manifest/definitions/function.mjs.map +1 -0
- package/lib/manifest/definitions/index.d.mts +22 -0
- package/lib/manifest/definitions/index.d.mts.map +1 -0
- package/lib/manifest/definitions/index.d.ts +22 -0
- package/lib/manifest/definitions/index.d.ts.map +1 -0
- package/lib/manifest/definitions/index.js +64 -0
- package/lib/manifest/definitions/index.js.map +1 -0
- package/lib/manifest/definitions/index.mjs +22 -0
- package/lib/manifest/definitions/index.mjs.map +1 -0
- package/lib/manifest/definitions/list-view.d.mts +9 -0
- package/lib/manifest/definitions/list-view.d.mts.map +1 -0
- package/lib/manifest/definitions/list-view.d.ts +9 -0
- package/lib/manifest/definitions/list-view.d.ts.map +1 -0
- package/lib/manifest/definitions/list-view.js +25 -0
- package/lib/manifest/definitions/list-view.js.map +1 -0
- package/lib/manifest/definitions/list-view.mjs +22 -0
- package/lib/manifest/definitions/list-view.mjs.map +1 -0
- package/lib/manifest/definitions/object-search-config.d.mts +13 -0
- package/lib/manifest/definitions/object-search-config.d.mts.map +1 -0
- package/lib/manifest/definitions/object-search-config.d.ts +13 -0
- package/lib/manifest/definitions/object-search-config.d.ts.map +1 -0
- package/lib/manifest/definitions/object-search-config.js +25 -0
- package/lib/manifest/definitions/object-search-config.js.map +1 -0
- package/lib/manifest/definitions/object-search-config.mjs +22 -0
- package/lib/manifest/definitions/object-search-config.mjs.map +1 -0
- package/lib/manifest/definitions/object-settings.d.mts +24 -0
- package/lib/manifest/definitions/object-settings.d.mts.map +1 -0
- package/lib/manifest/definitions/object-settings.d.ts +24 -0
- package/lib/manifest/definitions/object-settings.d.ts.map +1 -0
- package/lib/manifest/definitions/object-settings.js +32 -0
- package/lib/manifest/definitions/object-settings.js.map +1 -0
- package/lib/manifest/definitions/object-settings.mjs +29 -0
- package/lib/manifest/definitions/object-settings.mjs.map +1 -0
- package/lib/manifest/definitions/page-layout.d.mts +21 -0
- package/lib/manifest/definitions/page-layout.d.mts.map +1 -0
- package/lib/manifest/definitions/page-layout.d.ts +21 -0
- package/lib/manifest/definitions/page-layout.d.ts.map +1 -0
- package/lib/manifest/definitions/page-layout.js +155 -0
- package/lib/manifest/definitions/page-layout.js.map +1 -0
- package/lib/manifest/definitions/page-layout.mjs +152 -0
- package/lib/manifest/definitions/page-layout.mjs.map +1 -0
- package/lib/manifest/definitions/page.d.mts +8 -0
- package/lib/manifest/definitions/page.d.mts.map +1 -0
- package/lib/manifest/definitions/page.d.ts +8 -0
- package/lib/manifest/definitions/page.d.ts.map +1 -0
- package/lib/manifest/definitions/page.js +15 -0
- package/lib/manifest/definitions/page.js.map +1 -0
- package/lib/manifest/definitions/page.mjs +12 -0
- package/lib/manifest/definitions/page.mjs.map +1 -0
- package/lib/manifest/definitions/record-triggered-flow.d.mts +24 -0
- package/lib/manifest/definitions/record-triggered-flow.d.mts.map +1 -0
- package/lib/manifest/definitions/record-triggered-flow.d.ts +24 -0
- package/lib/manifest/definitions/record-triggered-flow.d.ts.map +1 -0
- package/lib/manifest/definitions/record-triggered-flow.js +28 -0
- package/lib/manifest/definitions/record-triggered-flow.js.map +1 -0
- package/lib/manifest/definitions/record-triggered-flow.mjs +25 -0
- package/lib/manifest/definitions/record-triggered-flow.mjs.map +1 -0
- package/lib/manifest/definitions/validation.d.mts +8 -0
- package/lib/manifest/definitions/validation.d.mts.map +1 -0
- package/lib/manifest/definitions/validation.d.ts +8 -0
- package/lib/manifest/definitions/validation.d.ts.map +1 -0
- package/lib/manifest/definitions/validation.js +24 -0
- package/lib/manifest/definitions/validation.js.map +1 -0
- package/lib/manifest/definitions/validation.mjs +21 -0
- package/lib/manifest/definitions/validation.mjs.map +1 -0
- package/lib/manifest/definitions/workflow.d.mts +10 -0
- package/lib/manifest/definitions/workflow.d.mts.map +1 -0
- package/lib/manifest/definitions/workflow.d.ts +10 -0
- package/lib/manifest/definitions/workflow.d.ts.map +1 -0
- package/lib/manifest/definitions/workflow.js +33 -0
- package/lib/manifest/definitions/workflow.js.map +1 -0
- package/lib/manifest/definitions/workflow.mjs +29 -0
- package/lib/manifest/definitions/workflow.mjs.map +1 -0
- package/lib/manifest/index.d.mts +3 -0
- package/lib/manifest/index.d.mts.map +1 -1
- package/lib/manifest/index.d.ts +3 -0
- package/lib/manifest/index.d.ts.map +1 -1
- package/lib/manifest/index.js +4 -0
- package/lib/manifest/index.js.map +1 -1
- package/lib/manifest/index.mjs +3 -0
- package/lib/manifest/index.mjs.map +1 -1
- package/lib/manifest/package-manifest.d.mts +17 -0
- package/lib/manifest/package-manifest.d.mts.map +1 -0
- package/lib/manifest/package-manifest.d.ts +17 -0
- package/lib/manifest/package-manifest.d.ts.map +1 -0
- package/lib/manifest/package-manifest.js +26 -0
- package/lib/manifest/package-manifest.js.map +1 -0
- package/lib/manifest/package-manifest.mjs +23 -0
- package/lib/manifest/package-manifest.mjs.map +1 -0
- package/package.json +1 -1
- package/resources/activity-log.d.mts +1 -1
- package/resources/activity-log.d.ts +1 -1
- package/resources/activity-log.js +1 -1
- package/resources/activity-log.mjs +1 -1
- package/resources/agents/sessions/messages.d.mts +10 -1
- package/resources/agents/sessions/messages.d.mts.map +1 -1
- package/resources/agents/sessions/messages.d.ts +10 -1
- package/resources/agents/sessions/messages.d.ts.map +1 -1
- package/resources/agents/sessions/sessions.d.mts +30 -3
- package/resources/agents/sessions/sessions.d.mts.map +1 -1
- package/resources/agents/sessions/sessions.d.ts +30 -3
- package/resources/agents/sessions/sessions.d.ts.map +1 -1
- package/resources/agents/sessions/sessions.js.map +1 -1
- package/resources/agents/sessions/sessions.mjs.map +1 -1
- package/resources/bills.d.mts +1343 -0
- package/resources/bills.d.mts.map +1 -0
- package/resources/bills.d.ts +1343 -0
- package/resources/bills.d.ts.map +1 -0
- package/resources/bills.js +214 -0
- package/resources/bills.js.map +1 -0
- package/resources/bills.mjs +210 -0
- package/resources/bills.mjs.map +1 -0
- package/resources/card-transactions.d.mts +607 -49
- package/resources/card-transactions.d.mts.map +1 -1
- package/resources/card-transactions.d.ts +607 -49
- package/resources/card-transactions.d.ts.map +1 -1
- package/resources/card-transactions.js +73 -12
- package/resources/card-transactions.js.map +1 -1
- package/resources/card-transactions.mjs +73 -12
- package/resources/card-transactions.mjs.map +1 -1
- package/resources/custom-objects/custom-objects.d.mts +39 -3
- package/resources/custom-objects/custom-objects.d.mts.map +1 -1
- package/resources/custom-objects/custom-objects.d.ts +39 -3
- package/resources/custom-objects/custom-objects.d.ts.map +1 -1
- package/resources/custom-objects/custom-objects.js +38 -2
- package/resources/custom-objects/custom-objects.js.map +1 -1
- package/resources/custom-objects/custom-objects.mjs +38 -2
- package/resources/custom-objects/custom-objects.mjs.map +1 -1
- package/resources/custom-objects/fields.d.mts +44 -0
- package/resources/custom-objects/fields.d.mts.map +1 -1
- package/resources/custom-objects/fields.d.ts +44 -0
- package/resources/custom-objects/fields.d.ts.map +1 -1
- package/resources/custom-objects/fields.js +44 -0
- package/resources/custom-objects/fields.js.map +1 -1
- package/resources/custom-objects/fields.mjs +44 -0
- package/resources/custom-objects/fields.mjs.map +1 -1
- package/resources/custom-objects/index.d.mts +2 -1
- package/resources/custom-objects/index.d.mts.map +1 -1
- package/resources/custom-objects/index.d.ts +2 -1
- package/resources/custom-objects/index.d.ts.map +1 -1
- package/resources/custom-objects/index.js +5 -3
- package/resources/custom-objects/index.js.map +1 -1
- package/resources/custom-objects/index.mjs +2 -1
- package/resources/custom-objects/index.mjs.map +1 -1
- package/resources/custom-objects/list-views/capabilities.d.mts +63 -0
- package/resources/custom-objects/list-views/capabilities.d.mts.map +1 -0
- package/resources/custom-objects/list-views/capabilities.d.ts +63 -0
- package/resources/custom-objects/list-views/capabilities.d.ts.map +1 -0
- package/resources/custom-objects/list-views/capabilities.js +48 -0
- package/resources/custom-objects/list-views/capabilities.js.map +1 -0
- package/resources/custom-objects/list-views/capabilities.mjs +44 -0
- package/resources/custom-objects/list-views/capabilities.mjs.map +1 -0
- package/resources/custom-objects/list-views/default.d.mts +69 -0
- package/resources/custom-objects/list-views/default.d.mts.map +1 -0
- package/resources/custom-objects/list-views/default.d.ts +69 -0
- package/resources/custom-objects/list-views/default.d.ts.map +1 -0
- package/resources/custom-objects/list-views/default.js +59 -0
- package/resources/custom-objects/list-views/default.js.map +1 -0
- package/resources/custom-objects/list-views/default.mjs +55 -0
- package/resources/custom-objects/list-views/default.mjs.map +1 -0
- package/resources/custom-objects/list-views/index.d.mts +4 -0
- package/resources/custom-objects/list-views/index.d.mts.map +1 -0
- package/resources/custom-objects/list-views/index.d.ts +4 -0
- package/resources/custom-objects/list-views/index.d.ts.map +1 -0
- package/resources/custom-objects/list-views/index.js +11 -0
- package/resources/custom-objects/list-views/index.js.map +1 -0
- package/resources/custom-objects/list-views/index.mjs +5 -0
- package/resources/custom-objects/list-views/index.mjs.map +1 -0
- package/resources/custom-objects/list-views/list-views.d.mts +806 -0
- package/resources/custom-objects/list-views/list-views.d.mts.map +1 -0
- package/resources/custom-objects/list-views/list-views.d.ts +806 -0
- package/resources/custom-objects/list-views/list-views.d.ts.map +1 -0
- package/resources/custom-objects/list-views/list-views.js +314 -0
- package/resources/custom-objects/list-views/list-views.js.map +1 -0
- package/resources/custom-objects/list-views/list-views.mjs +309 -0
- package/resources/custom-objects/list-views/list-views.mjs.map +1 -0
- package/resources/custom-objects/list-views.d.mts +2 -0
- package/resources/custom-objects/list-views.d.mts.map +1 -0
- package/resources/custom-objects/list-views.d.ts +2 -0
- package/resources/custom-objects/list-views.d.ts.map +1 -0
- package/resources/custom-objects/list-views.js +6 -0
- package/resources/custom-objects/list-views.js.map +1 -0
- package/resources/custom-objects/list-views.mjs +3 -0
- package/resources/custom-objects/list-views.mjs.map +1 -0
- package/resources/custom-objects/records/capabilities.d.mts +61 -0
- package/resources/custom-objects/records/capabilities.d.mts.map +1 -0
- package/resources/custom-objects/records/capabilities.d.ts +61 -0
- package/resources/custom-objects/records/capabilities.d.ts.map +1 -0
- package/resources/custom-objects/records/capabilities.js +47 -0
- package/resources/custom-objects/records/capabilities.js.map +1 -0
- package/resources/custom-objects/records/capabilities.mjs +43 -0
- package/resources/custom-objects/records/capabilities.mjs.map +1 -0
- package/resources/custom-objects/records/index.d.mts +3 -0
- package/resources/custom-objects/records/index.d.mts.map +1 -0
- package/resources/custom-objects/records/index.d.ts +3 -0
- package/resources/custom-objects/records/index.d.ts.map +1 -0
- package/resources/custom-objects/records/index.js +9 -0
- package/resources/custom-objects/records/index.js.map +1 -0
- package/resources/custom-objects/records/index.mjs +4 -0
- package/resources/custom-objects/records/index.mjs.map +1 -0
- package/resources/custom-objects/records/records.d.mts +787 -0
- package/resources/custom-objects/records/records.d.mts.map +1 -0
- package/resources/custom-objects/records/records.d.ts +787 -0
- package/resources/custom-objects/records/records.d.ts.map +1 -0
- package/resources/custom-objects/records/records.js +543 -0
- package/resources/custom-objects/records/records.js.map +1 -0
- package/resources/custom-objects/records/records.mjs +538 -0
- package/resources/custom-objects/records/records.mjs.map +1 -0
- package/resources/custom-objects/records.d.mts +1 -561
- package/resources/custom-objects/records.d.mts.map +1 -1
- package/resources/custom-objects/records.d.ts +1 -561
- package/resources/custom-objects/records.d.ts.map +1 -1
- package/resources/custom-objects/records.js +2 -444
- package/resources/custom-objects/records.js.map +1 -1
- package/resources/custom-objects/records.mjs +1 -442
- package/resources/custom-objects/records.mjs.map +1 -1
- package/resources/devices.d.mts +2 -2
- package/resources/devices.d.mts.map +1 -1
- package/resources/devices.d.ts +2 -2
- package/resources/devices.d.ts.map +1 -1
- package/resources/draft-transitions.d.mts +241 -307
- package/resources/draft-transitions.d.mts.map +1 -1
- package/resources/draft-transitions.d.ts +241 -307
- package/resources/draft-transitions.d.ts.map +1 -1
- package/resources/draft-transitions.js +49 -23
- package/resources/draft-transitions.js.map +1 -1
- package/resources/draft-transitions.mjs +49 -23
- package/resources/draft-transitions.mjs.map +1 -1
- package/resources/employee-documents.d.mts +2 -2
- package/resources/employee-documents.d.ts +2 -2
- package/resources/{spend-categories.d.mts → finance-categories.d.mts} +21 -18
- package/resources/finance-categories.d.mts.map +1 -0
- package/resources/{spend-categories.d.ts → finance-categories.d.ts} +21 -18
- package/resources/finance-categories.d.ts.map +1 -0
- package/resources/{spend-categories.js → finance-categories.js} +14 -11
- package/resources/finance-categories.js.map +1 -0
- package/resources/{spend-categories.mjs → finance-categories.mjs} +12 -9
- package/resources/finance-categories.mjs.map +1 -0
- package/resources/finance-vendors.d.mts +154 -0
- package/resources/finance-vendors.d.mts.map +1 -0
- package/resources/finance-vendors.d.ts +154 -0
- package/resources/finance-vendors.d.ts.map +1 -0
- package/resources/finance-vendors.js +87 -0
- package/resources/finance-vendors.js.map +1 -0
- package/resources/finance-vendors.mjs +83 -0
- package/resources/finance-vendors.mjs.map +1 -0
- package/resources/functions/executions.d.mts +4 -1
- package/resources/functions/executions.d.mts.map +1 -1
- package/resources/functions/executions.d.ts +4 -1
- package/resources/functions/executions.d.ts.map +1 -1
- package/resources/functions/executions.js +4 -1
- package/resources/functions/executions.js.map +1 -1
- package/resources/functions/executions.mjs +4 -1
- package/resources/functions/executions.mjs.map +1 -1
- package/resources/functions/functions.d.mts +192 -4
- package/resources/functions/functions.d.mts.map +1 -1
- package/resources/functions/functions.d.ts +192 -4
- package/resources/functions/functions.d.ts.map +1 -1
- package/resources/functions/functions.js +72 -4
- package/resources/functions/functions.js.map +1 -1
- package/resources/functions/functions.mjs +72 -4
- package/resources/functions/functions.mjs.map +1 -1
- package/resources/hire-requirements.d.mts +98 -9
- package/resources/hire-requirements.d.mts.map +1 -1
- package/resources/hire-requirements.d.ts +98 -9
- package/resources/hire-requirements.d.ts.map +1 -1
- package/resources/hire-requirements.js +23 -4
- package/resources/hire-requirements.js.map +1 -1
- package/resources/hire-requirements.mjs +23 -4
- package/resources/hire-requirements.mjs.map +1 -1
- package/resources/hires.d.mts +1636 -510
- package/resources/hires.d.mts.map +1 -1
- package/resources/hires.d.ts +1636 -510
- package/resources/hires.d.ts.map +1 -1
- package/resources/hires.js +10 -4
- package/resources/hires.js.map +1 -1
- package/resources/hires.mjs +10 -4
- package/resources/hires.mjs.map +1 -1
- package/resources/index.d.mts +11 -3
- package/resources/index.d.mts.map +1 -1
- package/resources/index.d.ts +11 -3
- package/resources/index.d.ts.map +1 -1
- package/resources/index.js +21 -5
- package/resources/index.js.map +1 -1
- package/resources/index.mjs +9 -1
- package/resources/index.mjs.map +1 -1
- package/resources/leave-requests.d.mts +11 -2
- package/resources/leave-requests.d.mts.map +1 -1
- package/resources/leave-requests.d.ts +11 -2
- package/resources/leave-requests.d.ts.map +1 -1
- package/resources/leave-requests.js +11 -2
- package/resources/leave-requests.js.map +1 -1
- package/resources/leave-requests.mjs +11 -2
- package/resources/leave-requests.mjs.map +1 -1
- package/resources/object-categories.d.mts +2 -1
- package/resources/object-categories.d.mts.map +1 -1
- package/resources/object-categories.d.ts +2 -1
- package/resources/object-categories.d.ts.map +1 -1
- package/resources/object-categories.js +2 -1
- package/resources/object-categories.js.map +1 -1
- package/resources/object-categories.mjs +2 -1
- package/resources/object-categories.mjs.map +1 -1
- package/resources/package-components/extract.d.mts +121 -0
- package/resources/package-components/extract.d.mts.map +1 -0
- package/resources/package-components/extract.d.ts +121 -0
- package/resources/package-components/extract.d.ts.map +1 -0
- package/resources/package-components/extract.js +69 -0
- package/resources/package-components/extract.js.map +1 -0
- package/resources/package-components/extract.mjs +65 -0
- package/resources/package-components/extract.mjs.map +1 -0
- package/resources/package-components/index.d.mts +4 -0
- package/resources/package-components/index.d.mts.map +1 -0
- package/resources/package-components/index.d.ts +4 -0
- package/resources/package-components/index.d.ts.map +1 -0
- package/resources/package-components/index.js +11 -0
- package/resources/package-components/index.js.map +1 -0
- package/resources/package-components/index.mjs +5 -0
- package/resources/package-components/index.mjs.map +1 -0
- package/resources/package-components/package-components.d.mts +99 -0
- package/resources/package-components/package-components.d.mts.map +1 -0
- package/resources/package-components/package-components.d.ts +99 -0
- package/resources/package-components/package-components.d.ts.map +1 -0
- package/resources/package-components/package-components.js +63 -0
- package/resources/package-components/package-components.js.map +1 -0
- package/resources/package-components/package-components.mjs +58 -0
- package/resources/package-components/package-components.mjs.map +1 -0
- package/resources/package-components/types.d.mts +56 -0
- package/resources/package-components/types.d.mts.map +1 -0
- package/resources/package-components/types.d.ts +56 -0
- package/resources/package-components/types.d.ts.map +1 -0
- package/resources/package-components/types.js +40 -0
- package/resources/package-components/types.js.map +1 -0
- package/resources/package-components/types.mjs +36 -0
- package/resources/package-components/types.mjs.map +1 -0
- package/resources/package-components.d.mts +2 -0
- package/resources/package-components.d.mts.map +1 -0
- package/resources/package-components.d.ts +2 -0
- package/resources/package-components.d.ts.map +1 -0
- package/resources/package-components.js +6 -0
- package/resources/package-components.js.map +1 -0
- package/resources/package-components.mjs +3 -0
- package/resources/package-components.mjs.map +1 -0
- package/resources/package-installs.d.mts +96 -9
- package/resources/package-installs.d.mts.map +1 -1
- package/resources/package-installs.d.ts +96 -9
- package/resources/package-installs.d.ts.map +1 -1
- package/resources/package-installs.js +20 -3
- package/resources/package-installs.js.map +1 -1
- package/resources/package-installs.mjs +20 -3
- package/resources/package-installs.mjs.map +1 -1
- package/resources/package-managed-installs.d.mts +104 -7
- package/resources/package-managed-installs.d.mts.map +1 -1
- package/resources/package-managed-installs.d.ts +104 -7
- package/resources/package-managed-installs.d.ts.map +1 -1
- package/resources/package-managed-installs.js +22 -3
- package/resources/package-managed-installs.js.map +1 -1
- package/resources/package-managed-installs.mjs +22 -3
- package/resources/package-managed-installs.mjs.map +1 -1
- package/resources/package-manifests/index.d.mts +4 -0
- package/resources/package-manifests/index.d.mts.map +1 -0
- package/resources/package-manifests/index.d.ts +4 -0
- package/resources/package-manifests/index.d.ts.map +1 -0
- package/resources/package-manifests/index.js +11 -0
- package/resources/package-manifests/index.js.map +1 -0
- package/resources/package-manifests/index.mjs +5 -0
- package/resources/package-manifests/index.mjs.map +1 -0
- package/resources/package-manifests/package-manifests.d.mts +14 -0
- package/resources/package-manifests/package-manifests.d.mts.map +1 -0
- package/resources/package-manifests/package-manifests.d.ts +14 -0
- package/resources/package-manifests/package-manifests.d.ts.map +1 -0
- package/resources/package-manifests/package-manifests.js +21 -0
- package/resources/package-manifests/package-manifests.js.map +1 -0
- package/resources/package-manifests/package-manifests.mjs +16 -0
- package/resources/package-manifests/package-manifests.mjs.map +1 -0
- package/resources/package-manifests/packages/index.d.mts +3 -0
- package/resources/package-manifests/packages/index.d.mts.map +1 -0
- package/resources/package-manifests/packages/index.d.ts +3 -0
- package/resources/package-manifests/packages/index.d.ts.map +1 -0
- package/resources/package-manifests/packages/index.js +9 -0
- package/resources/package-manifests/packages/index.js.map +1 -0
- package/resources/package-manifests/packages/index.mjs +4 -0
- package/resources/package-manifests/packages/index.mjs.map +1 -0
- package/resources/package-manifests/packages/packages.d.mts +10 -0
- package/resources/package-manifests/packages/packages.d.mts.map +1 -0
- package/resources/package-manifests/packages/packages.d.ts +10 -0
- package/resources/package-manifests/packages/packages.d.ts.map +1 -0
- package/resources/package-manifests/packages/packages.js +17 -0
- package/resources/package-manifests/packages/packages.js.map +1 -0
- package/resources/package-manifests/packages/packages.mjs +12 -0
- package/resources/package-manifests/packages/packages.mjs.map +1 -0
- package/resources/package-manifests/packages/versions.d.mts +199 -0
- package/resources/package-manifests/packages/versions.d.mts.map +1 -0
- package/resources/package-manifests/packages/versions.d.ts +199 -0
- package/resources/package-manifests/packages/versions.d.ts.map +1 -0
- package/resources/package-manifests/packages/versions.js +68 -0
- package/resources/package-manifests/packages/versions.js.map +1 -0
- package/resources/package-manifests/packages/versions.mjs +64 -0
- package/resources/package-manifests/packages/versions.mjs.map +1 -0
- package/resources/package-manifests/packages.d.mts +2 -0
- package/resources/package-manifests/packages.d.mts.map +1 -0
- package/resources/package-manifests/packages.d.ts +2 -0
- package/resources/package-manifests/packages.d.ts.map +1 -0
- package/resources/package-manifests/packages.js +6 -0
- package/resources/package-manifests/packages.js.map +1 -0
- package/resources/package-manifests/packages.mjs +3 -0
- package/resources/package-manifests/packages.mjs.map +1 -0
- package/resources/package-manifests/versions.d.mts +84 -0
- package/resources/package-manifests/versions.d.mts.map +1 -0
- package/resources/package-manifests/versions.d.ts +84 -0
- package/resources/package-manifests/versions.d.ts.map +1 -0
- package/resources/package-manifests/versions.js +44 -0
- package/resources/package-manifests/versions.js.map +1 -0
- package/resources/package-manifests/versions.mjs +40 -0
- package/resources/package-manifests/versions.mjs.map +1 -0
- package/resources/package-manifests.d.mts +2 -0
- package/resources/package-manifests.d.mts.map +1 -0
- package/resources/package-manifests.d.ts +2 -0
- package/resources/package-manifests.d.ts.map +1 -0
- package/resources/package-manifests.js +6 -0
- package/resources/package-manifests.js.map +1 -0
- package/resources/package-manifests.mjs +3 -0
- package/resources/package-manifests.mjs.map +1 -0
- package/resources/package-versions/package-versions.d.mts +104 -14
- package/resources/package-versions/package-versions.d.mts.map +1 -1
- package/resources/package-versions/package-versions.d.ts +104 -14
- package/resources/package-versions/package-versions.d.ts.map +1 -1
- package/resources/package-versions/package-versions.js +30 -9
- package/resources/package-versions/package-versions.js.map +1 -1
- package/resources/package-versions/package-versions.mjs +30 -9
- package/resources/package-versions/package-versions.mjs.map +1 -1
- package/resources/package-versions/publish.d.mts +40 -4
- package/resources/package-versions/publish.d.mts.map +1 -1
- package/resources/package-versions/publish.d.ts +40 -4
- package/resources/package-versions/publish.d.ts.map +1 -1
- package/resources/package-versions/publish.js +8 -2
- package/resources/package-versions/publish.js.map +1 -1
- package/resources/package-versions/publish.mjs +8 -2
- package/resources/package-versions/publish.mjs.map +1 -1
- package/resources/packages/next-versions.d.mts +40 -4
- package/resources/packages/next-versions.d.mts.map +1 -1
- package/resources/packages/next-versions.d.ts +40 -4
- package/resources/packages/next-versions.d.ts.map +1 -1
- package/resources/packages/next-versions.js +8 -2
- package/resources/packages/next-versions.js.map +1 -1
- package/resources/packages/next-versions.mjs +8 -2
- package/resources/packages/next-versions.mjs.map +1 -1
- package/resources/packages/versions.d.mts +80 -9
- package/resources/packages/versions.d.mts.map +1 -1
- package/resources/packages/versions.d.ts +80 -9
- package/resources/packages/versions.d.ts.map +1 -1
- package/resources/packages/versions.js +16 -5
- package/resources/packages/versions.js.map +1 -1
- package/resources/packages/versions.mjs +16 -5
- package/resources/packages/versions.mjs.map +1 -1
- package/resources/payroll-runs/off-cycle.d.mts +17 -9
- package/resources/payroll-runs/off-cycle.d.mts.map +1 -1
- package/resources/payroll-runs/off-cycle.d.ts +17 -9
- package/resources/payroll-runs/off-cycle.d.ts.map +1 -1
- package/resources/payroll-runs/off-cycle.js +9 -5
- package/resources/payroll-runs/off-cycle.js.map +1 -1
- package/resources/payroll-runs/off-cycle.mjs +9 -5
- package/resources/payroll-runs/off-cycle.mjs.map +1 -1
- package/resources/permissions/index.d.mts +3 -0
- package/resources/permissions/index.d.mts.map +1 -0
- package/resources/permissions/index.d.ts +3 -0
- package/resources/permissions/index.d.ts.map +1 -0
- package/resources/permissions/index.js +9 -0
- package/resources/permissions/index.js.map +1 -0
- package/resources/permissions/index.mjs +4 -0
- package/resources/permissions/index.mjs.map +1 -0
- package/resources/permissions/permission-profiles.d.mts +43 -0
- package/resources/permissions/permission-profiles.d.mts.map +1 -0
- package/resources/permissions/permission-profiles.d.ts +43 -0
- package/resources/permissions/permission-profiles.d.ts.map +1 -0
- package/resources/permissions/permission-profiles.js +36 -0
- package/resources/permissions/permission-profiles.js.map +1 -0
- package/resources/permissions/permission-profiles.mjs +32 -0
- package/resources/permissions/permission-profiles.mjs.map +1 -0
- package/resources/permissions/permissions.d.mts +10 -0
- package/resources/permissions/permissions.d.mts.map +1 -0
- package/resources/permissions/permissions.d.ts +10 -0
- package/resources/permissions/permissions.d.ts.map +1 -0
- package/resources/permissions/permissions.js +17 -0
- package/resources/permissions/permissions.js.map +1 -0
- package/resources/permissions/permissions.mjs +12 -0
- package/resources/permissions/permissions.mjs.map +1 -0
- package/resources/permissions.d.mts +2 -0
- package/resources/permissions.d.mts.map +1 -0
- package/resources/permissions.d.ts +2 -0
- package/resources/permissions.d.ts.map +1 -0
- package/resources/permissions.js +6 -0
- package/resources/permissions.js.map +1 -0
- package/resources/permissions.mjs +3 -0
- package/resources/permissions.mjs.map +1 -0
- package/resources/record-detail-reference-options.d.mts +111 -0
- package/resources/record-detail-reference-options.d.mts.map +1 -0
- package/resources/record-detail-reference-options.d.ts +111 -0
- package/resources/record-detail-reference-options.d.ts.map +1 -0
- package/resources/record-detail-reference-options.js +54 -0
- package/resources/record-detail-reference-options.js.map +1 -0
- package/resources/record-detail-reference-options.mjs +50 -0
- package/resources/record-detail-reference-options.mjs.map +1 -0
- package/resources/record-detail-related-records.d.mts +1070 -0
- package/resources/record-detail-related-records.d.mts.map +1 -0
- package/resources/record-detail-related-records.d.ts +1070 -0
- package/resources/record-detail-related-records.d.ts.map +1 -0
- package/resources/record-detail-related-records.js +49 -0
- package/resources/record-detail-related-records.js.map +1 -0
- package/resources/record-detail-related-records.mjs +45 -0
- package/resources/record-detail-related-records.mjs.map +1 -0
- package/resources/record-details.d.mts +1227 -0
- package/resources/record-details.d.mts.map +1 -0
- package/resources/record-details.d.ts +1227 -0
- package/resources/record-details.d.ts.map +1 -0
- package/resources/record-details.js +71 -0
- package/resources/record-details.js.map +1 -0
- package/resources/record-details.mjs +67 -0
- package/resources/record-details.mjs.map +1 -0
- package/resources/reimbursements.d.mts +2158 -90
- package/resources/reimbursements.d.mts.map +1 -1
- package/resources/reimbursements.d.ts +2158 -90
- package/resources/reimbursements.d.ts.map +1 -1
- package/resources/reimbursements.js +306 -16
- package/resources/reimbursements.js.map +1 -1
- package/resources/reimbursements.mjs +306 -16
- package/resources/reimbursements.mjs.map +1 -1
- package/resources/report-runs.d.mts +2 -1
- package/resources/report-runs.d.mts.map +1 -1
- package/resources/report-runs.d.ts +2 -1
- package/resources/report-runs.d.ts.map +1 -1
- package/resources/report-runs.js +2 -1
- package/resources/report-runs.js.map +1 -1
- package/resources/report-runs.mjs +2 -1
- package/resources/report-runs.mjs.map +1 -1
- package/resources/sandboxes.d.mts +20 -624
- package/resources/sandboxes.d.mts.map +1 -1
- package/resources/sandboxes.d.ts +20 -624
- package/resources/sandboxes.d.ts.map +1 -1
- package/resources/sandboxes.js +5 -60
- package/resources/sandboxes.js.map +1 -1
- package/resources/sandboxes.mjs +5 -60
- package/resources/sandboxes.mjs.map +1 -1
- package/src/client.ts +180 -17
- package/src/core/platform/custom-objects/manager.ts +65 -42
- package/src/core/platform/custom-objects.ts +3 -0
- package/src/index.ts +17 -0
- package/src/lib/manifest/acp-agent.ts +7 -1
- package/src/lib/manifest/composition.ts +133 -0
- package/src/lib/manifest/definitions/README.md +89 -0
- package/src/lib/manifest/definitions/_object-records.ts +225 -0
- package/src/lib/manifest/definitions/action.ts +31 -0
- package/src/lib/manifest/definitions/agent.ts +149 -0
- package/src/lib/manifest/definitions/app.ts +12 -0
- package/src/lib/manifest/definitions/category.ts +35 -0
- package/src/lib/manifest/definitions/component.ts +241 -0
- package/src/lib/manifest/definitions/custom-field-section.ts +39 -0
- package/src/lib/manifest/definitions/custom-field.ts +32 -0
- package/src/lib/manifest/definitions/custom-object.ts +791 -0
- package/src/lib/manifest/definitions/custom-skill.ts +28 -0
- package/src/lib/manifest/definitions/field-section.ts +31 -0
- package/src/lib/manifest/definitions/field.ts +119 -0
- package/src/lib/manifest/definitions/function.ts +198 -0
- package/src/lib/manifest/definitions/index.ts +91 -0
- package/src/lib/manifest/definitions/list-view.ts +48 -0
- package/src/lib/manifest/definitions/object-search-config.ts +44 -0
- package/src/lib/manifest/definitions/object-settings.ts +61 -0
- package/src/lib/manifest/definitions/page-layout.ts +218 -0
- package/src/lib/manifest/definitions/page.ts +28 -0
- package/src/lib/manifest/definitions/record-triggered-flow.ts +71 -0
- package/src/lib/manifest/definitions/validation.ts +46 -0
- package/src/lib/manifest/definitions/workflow.ts +62 -0
- package/src/lib/manifest/index.ts +4 -0
- package/src/lib/manifest/package-manifest.ts +40 -0
- package/src/resources/activity-log.ts +1 -1
- package/src/resources/agents/sessions/messages.ts +10 -1
- package/src/resources/agents/sessions/sessions.ts +30 -3
- package/src/resources/bills.ts +1660 -0
- package/src/resources/card-transactions.ts +742 -49
- package/src/resources/custom-objects/custom-objects.ts +62 -2
- package/src/resources/custom-objects/fields.ts +44 -0
- package/src/resources/custom-objects/index.ts +13 -1
- package/src/resources/custom-objects/list-views/capabilities.ts +72 -0
- package/src/resources/custom-objects/list-views/default.ts +87 -0
- package/src/resources/custom-objects/list-views/index.ts +15 -0
- package/src/resources/custom-objects/list-views/list-views.ts +973 -0
- package/src/resources/custom-objects/list-views.ts +3 -0
- package/src/resources/custom-objects/records/capabilities.ts +73 -0
- package/src/resources/custom-objects/records/index.ts +21 -0
- package/src/resources/custom-objects/records/records.ts +955 -0
- package/src/resources/custom-objects/records.ts +1 -703
- package/src/resources/devices.ts +2 -0
- package/src/resources/draft-transitions.ts +276 -347
- package/src/resources/employee-documents.ts +2 -2
- package/src/resources/{spend-categories.ts → finance-categories.ts} +26 -23
- package/src/resources/finance-vendors.ts +191 -0
- package/src/resources/functions/executions.ts +4 -1
- package/src/resources/functions/functions.ts +216 -4
- package/src/resources/hire-requirements.ts +107 -9
- package/src/resources/hires.ts +1768 -539
- package/src/resources/index.ts +51 -7
- package/src/resources/leave-requests.ts +11 -2
- package/src/resources/object-categories.ts +2 -1
- package/src/resources/package-components/extract.ts +139 -0
- package/src/resources/package-components/index.ts +10 -0
- package/src/resources/package-components/package-components.ts +134 -0
- package/src/resources/package-components/types.ts +64 -0
- package/src/resources/package-components.ts +3 -0
- package/src/resources/package-installs.ts +120 -9
- package/src/resources/package-managed-installs.ts +146 -7
- package/src/resources/package-manifests/index.ts +5 -0
- package/src/resources/package-manifests/package-manifests.ts +21 -0
- package/src/resources/package-manifests/packages/index.ts +4 -0
- package/src/resources/package-manifests/packages/packages.ts +19 -0
- package/src/resources/package-manifests/packages/versions.ts +237 -0
- package/src/resources/package-manifests/packages.ts +3 -0
- package/src/resources/package-manifests/versions.ts +96 -0
- package/src/resources/package-manifests.ts +3 -0
- package/src/resources/package-versions/package-versions.ts +117 -14
- package/src/resources/package-versions/publish.ts +46 -4
- package/src/resources/packages/next-versions.ts +46 -4
- package/src/resources/packages/versions.ts +92 -9
- package/src/resources/payroll-runs/off-cycle.ts +17 -9
- package/src/resources/permissions/index.ts +4 -0
- package/src/resources/permissions/permission-profiles.ts +50 -0
- package/src/resources/permissions/permissions.ts +20 -0
- package/src/resources/permissions.ts +3 -0
- package/src/resources/record-detail-reference-options.ts +142 -0
- package/src/resources/record-detail-related-records.ts +1380 -0
- package/src/resources/record-details.ts +1554 -0
- package/src/resources/reimbursements.ts +2591 -126
- package/src/resources/report-runs.ts +2 -1
- package/src/resources/sandboxes.ts +48 -742
- 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
- package/resources/spend-categories.d.mts.map +0 -1
- package/resources/spend-categories.d.ts.map +0 -1
- package/resources/spend-categories.js.map +0 -1
- package/resources/spend-categories.mjs.map +0 -1
package/src/resources/hires.ts
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
2
|
|
|
3
3
|
import { APIResource } from '../core/resource';
|
|
4
|
+
import * as Shared from './shared';
|
|
4
5
|
import { APIPromise } from '../core/api-promise';
|
|
5
6
|
import { buildHeaders } from '../internal/headers';
|
|
6
7
|
import { RequestOptions } from '../internal/request-options';
|
|
@@ -10,9 +11,15 @@ import { RequestOptions } from '../internal/request-options';
|
|
|
10
11
|
*/
|
|
11
12
|
export class Hires extends APIResource {
|
|
12
13
|
/**
|
|
13
|
-
* Create or resume hire records for admin review.
|
|
14
|
-
*
|
|
15
|
-
*
|
|
14
|
+
* Create or resume hire records for admin review. When Auto-Hire is enabled,
|
|
15
|
+
* eligible US hires may be submitted automatically and return
|
|
16
|
+
* auto_hire_processing. EOR stays on admin review. Starting with
|
|
17
|
+
* Rippling-Api-Version: 2025-08-01, US own-entity contractors are supported when
|
|
18
|
+
* employment_type_id resolves to a contractor employment type. See GET
|
|
19
|
+
* /hire-requirements/ for the required and ignored fields. Idempotency-Key is
|
|
20
|
+
* required. Direct hire and EOR are supported in AU, BR, CA, CH, CN, CO, DE, ES,
|
|
21
|
+
* FR, GB, HK, IE, IN, MX, NL, NZ, PH, TW, US, and UY. Use POST /draft-hires/ for
|
|
22
|
+
* the legacy draft-hire write path.
|
|
16
23
|
*
|
|
17
24
|
* @example HTTP
|
|
18
25
|
* Representative request and response shapes.
|
|
@@ -29,7 +36,7 @@ export class Hires extends APIResource {
|
|
|
29
36
|
* {
|
|
30
37
|
* "compensation": {
|
|
31
38
|
* "base_pay_amount": {},
|
|
32
|
-
* "base_pay_period": "
|
|
39
|
+
* "base_pay_period": "YEAR"
|
|
33
40
|
* },
|
|
34
41
|
* "employment": {
|
|
35
42
|
* "employment_type_id": "employment_type_id",
|
|
@@ -95,7 +102,9 @@ export interface HireCreateResponse {
|
|
|
95
102
|
export namespace HireCreateResponse {
|
|
96
103
|
export interface Result {
|
|
97
104
|
/**
|
|
98
|
-
* ready_for_review, incomplete, or failed.
|
|
105
|
+
* ready_for_review, auto_hire_processing, incomplete, or failed.
|
|
106
|
+
* auto_hire_processing includes hires awaiting approval or asynchronous
|
|
107
|
+
* completion.
|
|
99
108
|
*/
|
|
100
109
|
status: string;
|
|
101
110
|
|
|
@@ -126,7 +135,7 @@ export namespace HireCreateResponse {
|
|
|
126
135
|
missing_required_fields?: Array<string>;
|
|
127
136
|
|
|
128
137
|
/**
|
|
129
|
-
*
|
|
138
|
+
* Actions for duplicate, rehire, or Auto-Hire failures and blockers.
|
|
130
139
|
*/
|
|
131
140
|
next_actions?: Array<Result.NextAction>;
|
|
132
141
|
|
|
@@ -156,7 +165,24 @@ export namespace HireCreateResponse {
|
|
|
156
165
|
|
|
157
166
|
export interface NextAction {
|
|
158
167
|
/**
|
|
159
|
-
* Machine-readable next action.
|
|
168
|
+
* Machine-readable next action. Supported values:
|
|
169
|
+
*
|
|
170
|
+
* - `continue_existing_hire`: Continue the matching in-progress hire.
|
|
171
|
+
* - `provide_rehire_choice`: Choose how to rehire the matching former worker.
|
|
172
|
+
*
|
|
173
|
+
* When Auto-Hire is enabled and blocked or fails to start:
|
|
174
|
+
*
|
|
175
|
+
* - `assign_device_in_rippling`: Assign a device in Rippling.
|
|
176
|
+
* - `provide_document_values`: Complete missing document details.
|
|
177
|
+
* - `review_devices_in_rippling`: Review devices in Rippling.
|
|
178
|
+
* - `review_documents_in_rippling`: Review documents in Rippling.
|
|
179
|
+
* - `review_work_email_in_rippling`: Review work email in Rippling.
|
|
180
|
+
* - `review_work_pattern_in_rippling`: Review the work pattern in Rippling.
|
|
181
|
+
* - `review_retirement_in_rippling`: Review retirement enrollment in Rippling.
|
|
182
|
+
* - `configure_offer_notification`: Configure the offer notification.
|
|
183
|
+
* - `provide_missing_hire_input`: Complete missing hire details.
|
|
184
|
+
* - `review_hire_in_rippling`: Review the hire in Rippling.
|
|
185
|
+
* - `resolve_hire_issue_in_rippling`: Resolve the hire issue in Rippling.
|
|
160
186
|
*/
|
|
161
187
|
code: string;
|
|
162
188
|
|
|
@@ -188,7 +214,8 @@ export namespace HireCreateParams {
|
|
|
188
214
|
*/
|
|
189
215
|
export interface Hire {
|
|
190
216
|
/**
|
|
191
|
-
*
|
|
217
|
+
* Base pay and any additional compensation offered for this job. Monetary values
|
|
218
|
+
* contain an ISO 4217 currency code and decimal amount.
|
|
192
219
|
*/
|
|
193
220
|
compensation: Hire.Compensation;
|
|
194
221
|
|
|
@@ -198,12 +225,14 @@ export namespace HireCreateParams {
|
|
|
198
225
|
employment: Hire.Employment;
|
|
199
226
|
|
|
200
227
|
/**
|
|
201
|
-
*
|
|
228
|
+
* The person's legal name and the email address or mobile number used to send
|
|
229
|
+
* their invitation.
|
|
202
230
|
*/
|
|
203
231
|
personal: Hire.Personal;
|
|
204
232
|
|
|
205
233
|
/**
|
|
206
|
-
*
|
|
234
|
+
* Where the person will work. Provide either a Rippling work-location ID or mark
|
|
235
|
+
* the hire as remote, and always provide the work country.
|
|
207
236
|
*/
|
|
208
237
|
work_location: Hire.WorkLocation;
|
|
209
238
|
|
|
@@ -213,66 +242,399 @@ export namespace HireCreateParams {
|
|
|
213
242
|
client_request_id?: string;
|
|
214
243
|
|
|
215
244
|
/**
|
|
216
|
-
*
|
|
245
|
+
* Values for company-configured custom fields collected during hiring. Use each
|
|
246
|
+
* field's configured ID and value shape; omit this array when no custom hiring
|
|
247
|
+
* fields are being supplied.
|
|
217
248
|
*/
|
|
218
249
|
custom_fields?: Array<Hire.CustomField>;
|
|
219
250
|
|
|
220
251
|
/**
|
|
221
|
-
*
|
|
252
|
+
* Employment model for this hire: direct_hire employs the person through the
|
|
253
|
+
* company's own legal entity; eor employs the person through Rippling's
|
|
254
|
+
* employer-of-record service. Defaults to direct_hire when omitted.
|
|
222
255
|
*/
|
|
223
256
|
hire_type?: string;
|
|
224
257
|
|
|
225
258
|
/**
|
|
226
|
-
*
|
|
227
|
-
*
|
|
259
|
+
* References that associate this hire with recruiting, headcount planning, a prior
|
|
260
|
+
* employment record, or an existing Rippling hiring process. These references
|
|
261
|
+
* control hiring behavior; they are not arbitrary metadata. Omit the object when
|
|
262
|
+
* no association applies.
|
|
228
263
|
*/
|
|
229
264
|
related_records?: Hire.RelatedRecords;
|
|
230
265
|
}
|
|
231
266
|
|
|
232
267
|
export namespace Hire {
|
|
233
268
|
/**
|
|
234
|
-
*
|
|
269
|
+
* Base pay and any additional compensation offered for this job. Monetary values
|
|
270
|
+
* contain an ISO 4217 currency code and decimal amount.
|
|
235
271
|
*/
|
|
236
272
|
export interface Compensation {
|
|
237
273
|
/**
|
|
238
|
-
*
|
|
274
|
+
* Gross base-pay rate for one base_pay_period, before bonuses, commission, equity,
|
|
275
|
+
* or allowances. Provide currency_type as a three-letter ISO 4217 code and value
|
|
276
|
+
* as a nonnegative decimal amount. Use zero when the hire has no base pay,
|
|
277
|
+
* including supported zero-pay contractor arrangements. Brazil EOR requires BRL,
|
|
278
|
+
* Colombia EOR requires COP, and Philippines EOR requires PHP. Direct hires using
|
|
279
|
+
* Rippling Standard Global Payroll also require their country's currency: BRL for
|
|
280
|
+
* Brazil, COP for Colombia, or PHP for Philippines. For every Philippines hire,
|
|
281
|
+
* supplying any capped monthly allowance also requires base pay in PHP. Direct
|
|
282
|
+
* hires outside Rippling Standard Global Payroll may use another base-pay currency
|
|
283
|
+
* when those allowances are omitted. Before POST /hires/, call GET
|
|
284
|
+
* /hire-requirements/ with country_code, hire_type, and legal_entity_id from GET
|
|
285
|
+
* /company-legal-entities/ for direct hire to resolve the accepted currency.
|
|
286
|
+
* Entity-specific direct-hire currency rules remain unresolved without
|
|
287
|
+
* legal_entity_id. A wrong currency fails the hire item with invalid_request
|
|
288
|
+
* before creation.
|
|
239
289
|
*/
|
|
240
290
|
base_pay_amount: Compensation.BasePayAmount;
|
|
241
291
|
|
|
242
292
|
/**
|
|
243
|
-
*
|
|
293
|
+
* Unit of time represented by base_pay_amount: YEAR, MONTH, WEEK, DAY, or HOUR.
|
|
294
|
+
* For example, an annual salary uses YEAR and an hourly rate uses HOUR. Brazil EOR
|
|
295
|
+
* and Colombia EOR do not accept HOUR. Colombia EOR accepts YEAR, MONTH, WEEK, or
|
|
296
|
+
* DAY. Philippines EOR requires YEAR for salaried employment types and HOUR for
|
|
297
|
+
* hourly employment types. Starting with API version 2025-08-01, contractor
|
|
298
|
+
* PAY_AS_YOU_GO compensation requires HOUR, MILESTONE requires YEAR, and FIXED
|
|
299
|
+
* accepts any listed unit.
|
|
244
300
|
*/
|
|
245
|
-
base_pay_period:
|
|
301
|
+
base_pay_period: 'YEAR' | 'MONTH' | 'WEEK' | 'DAY' | 'HOUR';
|
|
246
302
|
|
|
247
303
|
/**
|
|
248
|
-
*
|
|
304
|
+
* Uruguay EOR annual car allowance. Optional for Uruguay EOR. This is not
|
|
305
|
+
* compensation.car_allowance, which is the Mexico direct-hire allowance. Omit this
|
|
306
|
+
* for Uruguay direct hire and for every other country. currency_type must match
|
|
307
|
+
* compensation.base_pay_amount.currency_type.
|
|
308
|
+
*/
|
|
309
|
+
annual_car_allowance?: Compensation.AnnualCarAllowance;
|
|
310
|
+
|
|
311
|
+
/**
|
|
312
|
+
* Mexico direct hire car allowance. This is not compensation.annual_car_allowance,
|
|
313
|
+
* which is the Uruguay EOR annual amount. Provide only when listed by GET
|
|
314
|
+
* /hire-requirements/ for the selected country and hire type. currency_type, such
|
|
315
|
+
* as MXN, must match compensation.base_pay_amount.currency_type.
|
|
316
|
+
*/
|
|
317
|
+
car_allowance?: Compensation.CarAllowance;
|
|
318
|
+
|
|
319
|
+
/**
|
|
320
|
+
* Mexico Christmas bonus in days, from 15 to 30. Required for Mexico EOR. For
|
|
321
|
+
* direct hire, provide only when listed by GET /hire-requirements/ for the
|
|
322
|
+
* selected country and hire type.
|
|
323
|
+
*/
|
|
324
|
+
christmas_bonus_days?: number;
|
|
325
|
+
|
|
326
|
+
/**
|
|
327
|
+
* Optional monthly Christmas or anniversary gift allowance for Philippines direct
|
|
328
|
+
* hire and EOR. Omit for other countries. Send PHP from zero to 500 per month.
|
|
329
|
+
* currency_type must be PHP and match compensation.base_pay_amount.currency_type
|
|
330
|
+
* for every Philippines hire. Direct hires with non-PHP base pay must omit this
|
|
331
|
+
* allowance. No currency conversion is performed. Amounts round to the PHP cent
|
|
332
|
+
* using ROUND_HALF_UP. Omission leaves the allowance unset; zero means no
|
|
333
|
+
* allowance and is stored as unset. The cap is checked after rounding. Negative or
|
|
334
|
+
* nonfinite amounts are rejected during request validation; an excessive amount or
|
|
335
|
+
* currency mismatch fails the hire item with invalid_request before creation.
|
|
336
|
+
*/
|
|
337
|
+
christmas_or_anniversary_gift?: Compensation.ChristmasOrAnniversaryGift;
|
|
338
|
+
|
|
339
|
+
/**
|
|
340
|
+
* Variable sales compensation expected when the person meets target.
|
|
341
|
+
* on_target_amount is required; provide payment_frequency where required by GET
|
|
342
|
+
* /hire-requirements/. Starting with API version 2025-08-01, this field does not
|
|
343
|
+
* apply to contractor hires and is reported in ignored_fields.
|
|
249
344
|
*/
|
|
250
345
|
commission?: Compensation.Commission;
|
|
251
346
|
|
|
252
347
|
/**
|
|
253
|
-
*
|
|
348
|
+
* Equity grant offered with the job. amount is the grant's monetary value;
|
|
349
|
+
* num_shares and frequency provide additional grant terms when known. Starting
|
|
350
|
+
* with API version 2025-08-01, this field does not apply to contractor hires and
|
|
351
|
+
* is reported in ignored_fields.
|
|
254
352
|
*/
|
|
255
353
|
equity?: Compensation.Equity;
|
|
256
354
|
|
|
257
355
|
/**
|
|
258
|
-
*
|
|
356
|
+
* Mexico direct hire grocery coupon. Provide only when listed by GET
|
|
357
|
+
* /hire-requirements/ for the selected country and hire type. currency_type, such
|
|
358
|
+
* as MXN, must match compensation.base_pay_amount.currency_type.
|
|
359
|
+
*/
|
|
360
|
+
grocery_coupon?: Compensation.GroceryCoupon;
|
|
361
|
+
|
|
362
|
+
/**
|
|
363
|
+
* Uruguay EOR annual healthcare allowance. Optional for Uruguay EOR. Omit this for
|
|
364
|
+
* Uruguay direct hire and for every other country. currency_type must match
|
|
365
|
+
* compensation.base_pay_amount.currency_type.
|
|
366
|
+
*/
|
|
367
|
+
healthcare_allowance?: Compensation.HealthcareAllowance;
|
|
368
|
+
|
|
369
|
+
/**
|
|
370
|
+
* Uruguay EOR annual housing allowance. Optional for Uruguay EOR. Omit this for
|
|
371
|
+
* Uruguay direct hire and for every other country. currency_type must match
|
|
372
|
+
* compensation.base_pay_amount.currency_type.
|
|
373
|
+
*/
|
|
374
|
+
housing_allowance?: Compensation.HousingAllowance;
|
|
375
|
+
|
|
376
|
+
/**
|
|
377
|
+
* Whether the worker's employment agreement includes the standard incentive-plan
|
|
378
|
+
* provision for Colombia or Philippines direct hire or EOR. True includes the
|
|
379
|
+
* provision; false omits it. This choice does not specify a bonus amount, target
|
|
380
|
+
* bonus, or commission. Omit when no choice is needed. Availability depends on the
|
|
381
|
+
* company's compensation configuration. Before POST /hires/, call GET
|
|
382
|
+
* /hire-requirements/ with country_code, hire_type, employment_type_id from GET
|
|
383
|
+
* /employment-types/, contract_type (INDEFINITE or FIXED), and legal_entity_id
|
|
384
|
+
* from GET /company-legal-entities/ for direct hire; omit legal_entity_id for EOR.
|
|
385
|
+
* Read this field's available value. If available is absent, availability is
|
|
386
|
+
* unresolved. An unavailable choice, including false, fails the hire item with
|
|
387
|
+
* invalid_request before creation. Rejected for other countries.
|
|
388
|
+
*/
|
|
389
|
+
incentive_plan?: boolean;
|
|
390
|
+
|
|
391
|
+
/**
|
|
392
|
+
* Uruguay EOR annual internet allowance. Required for Uruguay EOR. When
|
|
393
|
+
* currency_type is UYU, value must be at least 9600 per year. currency_type must
|
|
394
|
+
* match compensation.base_pay_amount.currency_type.
|
|
395
|
+
*/
|
|
396
|
+
internet_allowance?: Compensation.InternetAllowance;
|
|
397
|
+
|
|
398
|
+
/**
|
|
399
|
+
* Optional monthly laundry allowance for Philippines direct hire and EOR. Omit for
|
|
400
|
+
* other countries. Send PHP from zero to 400 per month. currency_type must be PHP
|
|
401
|
+
* and match compensation.base_pay_amount.currency_type for every Philippines hire.
|
|
402
|
+
* Direct hires with non-PHP base pay must omit this allowance. No currency
|
|
403
|
+
* conversion is performed. Amounts round to the PHP cent using ROUND_HALF_UP.
|
|
404
|
+
* Omission leaves the allowance unset; zero means no allowance and is stored as
|
|
405
|
+
* unset. The cap is checked after rounding. Negative or nonfinite amounts are
|
|
406
|
+
* rejected during request validation; an excessive amount or currency mismatch
|
|
407
|
+
* fails the hire item with invalid_request before creation.
|
|
408
|
+
*/
|
|
409
|
+
laundry_allowance?: Compensation.LaundryAllowance;
|
|
410
|
+
|
|
411
|
+
/**
|
|
412
|
+
* Uruguay EOR annual meal allowance. Required for Uruguay EOR. When currency_type
|
|
413
|
+
* is UYU, value must be at least 48000 per year. currency_type must match
|
|
414
|
+
* compensation.base_pay_amount.currency_type.
|
|
415
|
+
*/
|
|
416
|
+
meal_allowance?: Compensation.MealAllowance;
|
|
417
|
+
|
|
418
|
+
/**
|
|
419
|
+
* Optional monthly medical assistance allowance for Philippines direct hire and
|
|
420
|
+
* EOR. Omit for other countries. Send PHP from zero to 1000 per month.
|
|
421
|
+
* currency_type must be PHP and match compensation.base_pay_amount.currency_type
|
|
422
|
+
* for every Philippines hire. Direct hires with non-PHP base pay must omit this
|
|
423
|
+
* allowance. No currency conversion is performed. Amounts round to the PHP cent
|
|
424
|
+
* using ROUND_HALF_UP. Omission leaves the allowance unset; zero means no
|
|
425
|
+
* allowance and is stored as unset. The cap is checked after rounding. Negative or
|
|
426
|
+
* nonfinite amounts are rejected during request validation; an excessive amount or
|
|
427
|
+
* currency mismatch fails the hire item with invalid_request before creation.
|
|
428
|
+
*/
|
|
429
|
+
medical_assistance_allowance?: Compensation.MedicalAssistanceAllowance;
|
|
430
|
+
|
|
431
|
+
/**
|
|
432
|
+
* Optional monthly medical cash allowance for Philippines direct hire and EOR.
|
|
433
|
+
* Omit for other countries. Send PHP from zero to 333.33 per month. currency_type
|
|
434
|
+
* must be PHP and match compensation.base_pay_amount.currency_type for every
|
|
435
|
+
* Philippines hire. Direct hires with non-PHP base pay must omit this allowance.
|
|
436
|
+
* No currency conversion is performed. Amounts round to the PHP cent using
|
|
437
|
+
* ROUND_HALF_UP. Omission leaves the allowance unset; zero means no allowance and
|
|
438
|
+
* is stored as unset. The cap is checked after rounding. Negative or nonfinite
|
|
439
|
+
* amounts are rejected during request validation; an excessive amount or currency
|
|
440
|
+
* mismatch fails the hire item with invalid_request before creation.
|
|
441
|
+
*/
|
|
442
|
+
medical_cash_allowance?: Compensation.MedicalCashAllowance;
|
|
443
|
+
|
|
444
|
+
/**
|
|
445
|
+
* Optional monthly internet allowance for Philippines direct hire and EOR. Omit
|
|
446
|
+
* for other countries. Send PHP from zero to 850 per month. currency_type must be
|
|
447
|
+
* PHP and match compensation.base_pay_amount.currency_type for every Philippines
|
|
448
|
+
* hire. Direct hires with non-PHP base pay must omit this allowance. No currency
|
|
449
|
+
* conversion is performed. Amounts round to the PHP cent using ROUND_HALF_UP.
|
|
450
|
+
* Omission leaves the allowance unset; zero means no allowance and is stored as
|
|
451
|
+
* unset. The cap is checked after rounding. Negative or nonfinite amounts are
|
|
452
|
+
* rejected during request validation; an excessive amount or currency mismatch
|
|
453
|
+
* fails the hire item with invalid_request before creation.
|
|
454
|
+
*/
|
|
455
|
+
monthly_internet_allowance?: Compensation.MonthlyInternetAllowance;
|
|
456
|
+
|
|
457
|
+
/**
|
|
458
|
+
* Uruguay EOR annual pension allowance. Optional for Uruguay EOR. Omit this for
|
|
459
|
+
* Uruguay direct hire and for every other country. currency_type must match
|
|
460
|
+
* compensation.base_pay_amount.currency_type.
|
|
461
|
+
*/
|
|
462
|
+
pension_allowance?: Compensation.PensionAllowance;
|
|
463
|
+
|
|
464
|
+
/**
|
|
465
|
+
* Uruguay EOR annual phone allowance. Optional for Uruguay EOR. Omit this for
|
|
466
|
+
* Uruguay direct hire and for every other country. currency_type must match
|
|
467
|
+
* compensation.base_pay_amount.currency_type.
|
|
468
|
+
*/
|
|
469
|
+
phone_allowance?: Compensation.PhoneAllowance;
|
|
470
|
+
|
|
471
|
+
/**
|
|
472
|
+
* Optional monthly productivity incentive allowance for Philippines direct hire
|
|
473
|
+
* and EOR. Omit for other countries. Send PHP from zero to 1000 per month.
|
|
474
|
+
* currency_type must be PHP and match compensation.base_pay_amount.currency_type
|
|
475
|
+
* for every Philippines hire. Direct hires with non-PHP base pay must omit this
|
|
476
|
+
* allowance. No currency conversion is performed. Amounts round to the PHP cent
|
|
477
|
+
* using ROUND_HALF_UP. Omission leaves the allowance unset; zero means no
|
|
478
|
+
* allowance and is stored as unset. The cap is checked after rounding. Negative or
|
|
479
|
+
* nonfinite amounts are rejected during request validation; an excessive amount or
|
|
480
|
+
* currency mismatch fails the hire item with invalid_request before creation.
|
|
481
|
+
*/
|
|
482
|
+
productivity_incentive_allowance?: Compensation.ProductivityIncentiveAllowance;
|
|
483
|
+
|
|
484
|
+
/**
|
|
485
|
+
* One-time relocation reimbursement or benefit offered for this hire. amount is
|
|
486
|
+
* required when the object is provided. Starting with API version 2025-08-01, this
|
|
487
|
+
* field does not apply to contractor hires and is reported in ignored_fields.
|
|
488
|
+
* Mexico direct hire rejects this field; use relocation_expense instead. Mexico
|
|
489
|
+
* EOR accepts it only when the company's EOR compensation types include
|
|
490
|
+
* RELOCATION_BONUS and the relocation feature is enabled for that company and
|
|
491
|
+
* Mexico. No Platform API read exposes this company-specific eligibility; check
|
|
492
|
+
* the company's Mexico EOR compensation settings in Rippling before sending. If
|
|
493
|
+
* unavailable, the hire item fails with invalid_request before creation. Colombia
|
|
494
|
+
* and Philippines direct hire and EOR also require relocation to be offered by the
|
|
495
|
+
* country's compensation configuration and enabled for the company. Before POST
|
|
496
|
+
* /hires/, call GET /hire-requirements/ with country_code, hire_type,
|
|
497
|
+
* employment_type_id from GET /employment-types/, contract_type (INDEFINITE or
|
|
498
|
+
* FIXED), and legal_entity_id from GET /company-legal-entities/ for direct hire;
|
|
499
|
+
* omit legal_entity_id for EOR. Read this field's available value. If available is
|
|
500
|
+
* absent, availability is unresolved. If unavailable, the hire item fails with
|
|
501
|
+
* invalid_request before creation. Its currency must match base pay for those
|
|
502
|
+
* countries.
|
|
259
503
|
*/
|
|
260
504
|
relocation?: Compensation.Relocation;
|
|
261
505
|
|
|
262
506
|
/**
|
|
263
|
-
*
|
|
507
|
+
* Mexico direct hire relocation expense. Provide only when listed by GET
|
|
508
|
+
* /hire-requirements/ for the selected country and hire type. This is not
|
|
509
|
+
* compensation.relocation. currency_type, such as MXN, must match
|
|
510
|
+
* compensation.base_pay_amount.currency_type.
|
|
511
|
+
*/
|
|
512
|
+
relocation_expense?: Compensation.RelocationExpense;
|
|
513
|
+
|
|
514
|
+
/**
|
|
515
|
+
* Recurring allowance paid for remote-work expenses. Provide only when listed by
|
|
516
|
+
* GET /hire-requirements/ for the selected country and hire type; use a zero
|
|
517
|
+
* amount when the catalog requires the field but no allowance is offered.
|
|
518
|
+
* Switzerland maps this to the Swiss remote-working allowance. Mexico maps this to
|
|
519
|
+
* the Mexico remote work allowance: direct hire sends it when selected. Mexico EOR
|
|
520
|
+
* sets it automatically and rejects a caller-supplied value.
|
|
521
|
+
*/
|
|
522
|
+
remote_working_allowance?: Compensation.RemoteWorkingAllowance;
|
|
523
|
+
|
|
524
|
+
/**
|
|
525
|
+
* Optional monthly rice allowance for Philippines direct hire and EOR. Omit for
|
|
526
|
+
* other countries. Send PHP from zero to 2500 per month. currency_type must be PHP
|
|
527
|
+
* and match compensation.base_pay_amount.currency_type for every Philippines hire.
|
|
528
|
+
* Direct hires with non-PHP base pay must omit this allowance. No currency
|
|
529
|
+
* conversion is performed. Amounts round to the PHP cent using ROUND_HALF_UP.
|
|
530
|
+
* Omission leaves the allowance unset; zero means no allowance and is stored as
|
|
531
|
+
* unset. The cap is checked after rounding. Negative or nonfinite amounts are
|
|
532
|
+
* rejected during request validation; an excessive amount or currency mismatch
|
|
533
|
+
* fails the hire item with invalid_request before creation.
|
|
534
|
+
*/
|
|
535
|
+
rice_allowance?: Compensation.RiceAllowance;
|
|
536
|
+
|
|
537
|
+
/**
|
|
538
|
+
* Mexico direct hire savings fund percent as a numeric string without the percent
|
|
539
|
+
* sign, such as 10. Allowed range is 0 to 100. Provide only when listed by GET
|
|
540
|
+
* /hire-requirements/ for the selected country and hire type.
|
|
541
|
+
*/
|
|
542
|
+
savings_fund_percent?: string;
|
|
543
|
+
|
|
544
|
+
/**
|
|
545
|
+
* One-time payment offered for accepting or starting the job. When provided,
|
|
546
|
+
* amount and schedule are required; payment_days is optional. Starting with API
|
|
547
|
+
* version 2025-08-01, this field does not apply to contractor hires and is
|
|
548
|
+
* reported in ignored_fields.
|
|
264
549
|
*/
|
|
265
550
|
signing_bonus?: Compensation.SigningBonus;
|
|
266
551
|
|
|
267
552
|
/**
|
|
268
|
-
*
|
|
553
|
+
* Uruguay EOR annual special allowance. Optional for Uruguay EOR. Omit this for
|
|
554
|
+
* Uruguay direct hire and for every other country. currency_type must match
|
|
555
|
+
* compensation.base_pay_amount.currency_type.
|
|
556
|
+
*/
|
|
557
|
+
special_allowance?: Compensation.SpecialAllowance;
|
|
558
|
+
|
|
559
|
+
/**
|
|
560
|
+
* Bonus earned for meeting the role's target performance. Express the target as
|
|
561
|
+
* exactly one of a monetary amount or a percentage of base pay; provide
|
|
562
|
+
* payment_frequency where required by GET /hire-requirements/. Starting with API
|
|
563
|
+
* version 2025-08-01, this field does not apply to contractor hires and is
|
|
564
|
+
* reported in ignored_fields.
|
|
269
565
|
*/
|
|
270
566
|
target_bonus?: Compensation.TargetBonus;
|
|
567
|
+
|
|
568
|
+
/**
|
|
569
|
+
* Mexico direct hire telecommunications and electricity allowance. Required for
|
|
570
|
+
* every Mexico direct hire. currency_type, such as MXN, must match
|
|
571
|
+
* compensation.base_pay_amount.currency_type.
|
|
572
|
+
*/
|
|
573
|
+
telecom_allowance?: Compensation.TelecomAllowance;
|
|
574
|
+
|
|
575
|
+
/**
|
|
576
|
+
* Contractually required thirteenth-month salary payment. Provide only when listed
|
|
577
|
+
* by GET /hire-requirements/ for the selected country and hire type. Brazil EOR
|
|
578
|
+
* calculates this automatically as one-twelfth of annual base pay in BRL, rounded
|
|
579
|
+
* down to the cent. To annualize base_pay_amount.value, multiply by 260 for DAY,
|
|
580
|
+
* 52 for WEEK, 12 for MONTH, or 1 for YEAR, using base_pay_period. Brazil EOR
|
|
581
|
+
* rejects a caller-supplied value.
|
|
582
|
+
*/
|
|
583
|
+
thirteenth_month_bonus?: Compensation.ThirteenthMonthBonus;
|
|
584
|
+
|
|
585
|
+
/**
|
|
586
|
+
* Optional monthly uniform and clothing allowance for Philippines direct hire and
|
|
587
|
+
* EOR. Omit for other countries. Send PHP from zero to 666.67 per month.
|
|
588
|
+
* currency_type must be PHP and match compensation.base_pay_amount.currency_type
|
|
589
|
+
* for every Philippines hire. Direct hires with non-PHP base pay must omit this
|
|
590
|
+
* allowance. No currency conversion is performed. Amounts round to the PHP cent
|
|
591
|
+
* using ROUND_HALF_UP. Omission leaves the allowance unset; zero means no
|
|
592
|
+
* allowance and is stored as unset. The cap is checked after rounding. Negative or
|
|
593
|
+
* nonfinite amounts are rejected during request validation; an excessive amount or
|
|
594
|
+
* currency mismatch fails the hire item with invalid_request before creation.
|
|
595
|
+
*/
|
|
596
|
+
uniform_and_clothing_allowance?: Compensation.UniformAndClothingAllowance;
|
|
597
|
+
|
|
598
|
+
/**
|
|
599
|
+
* Uruguay EOR annual vacation allowance. Optional for Uruguay EOR. Omit this for
|
|
600
|
+
* Uruguay direct hire and for every other country. currency_type must match
|
|
601
|
+
* compensation.base_pay_amount.currency_type.
|
|
602
|
+
*/
|
|
603
|
+
vacation_allowance?: Compensation.VacationAllowance;
|
|
604
|
+
|
|
605
|
+
/**
|
|
606
|
+
* Mexico vacation premium percent as a numeric string without the percent sign,
|
|
607
|
+
* such as 25. Required for Mexico EOR and must be 25. For direct hire, provide
|
|
608
|
+
* only when listed by GET /hire-requirements/ for the selected country and hire
|
|
609
|
+
* type; allowed range is 25 to 100. Omitting it does not apply a default.
|
|
610
|
+
*/
|
|
611
|
+
vacation_premium_percent?: string;
|
|
612
|
+
|
|
613
|
+
/**
|
|
614
|
+
* Uruguay EOR annual work-from-home allowance. Optional for Uruguay EOR. Omit this
|
|
615
|
+
* for Uruguay direct hire and for every other country. currency_type must match
|
|
616
|
+
* compensation.base_pay_amount.currency_type.
|
|
617
|
+
*/
|
|
618
|
+
work_from_home_allowance?: Compensation.WorkFromHomeAllowance;
|
|
271
619
|
}
|
|
272
620
|
|
|
273
621
|
export namespace Compensation {
|
|
274
622
|
/**
|
|
275
|
-
*
|
|
623
|
+
* Gross base-pay rate for one base_pay_period, before bonuses, commission, equity,
|
|
624
|
+
* or allowances. Provide currency_type as a three-letter ISO 4217 code and value
|
|
625
|
+
* as a nonnegative decimal amount. Use zero when the hire has no base pay,
|
|
626
|
+
* including supported zero-pay contractor arrangements. Brazil EOR requires BRL,
|
|
627
|
+
* Colombia EOR requires COP, and Philippines EOR requires PHP. Direct hires using
|
|
628
|
+
* Rippling Standard Global Payroll also require their country's currency: BRL for
|
|
629
|
+
* Brazil, COP for Colombia, or PHP for Philippines. For every Philippines hire,
|
|
630
|
+
* supplying any capped monthly allowance also requires base pay in PHP. Direct
|
|
631
|
+
* hires outside Rippling Standard Global Payroll may use another base-pay currency
|
|
632
|
+
* when those allowances are omitted. Before POST /hires/, call GET
|
|
633
|
+
* /hire-requirements/ with country_code, hire_type, and legal_entity_id from GET
|
|
634
|
+
* /company-legal-entities/ for direct hire to resolve the accepted currency.
|
|
635
|
+
* Entity-specific direct-hire currency rules remain unresolved without
|
|
636
|
+
* legal_entity_id. A wrong currency fails the hire item with invalid_request
|
|
637
|
+
* before creation.
|
|
276
638
|
*/
|
|
277
639
|
export interface BasePayAmount {
|
|
278
640
|
/**
|
|
@@ -287,24 +649,88 @@ export namespace HireCreateParams {
|
|
|
287
649
|
}
|
|
288
650
|
|
|
289
651
|
/**
|
|
290
|
-
*
|
|
652
|
+
* Uruguay EOR annual car allowance. Optional for Uruguay EOR. This is not
|
|
653
|
+
* compensation.car_allowance, which is the Mexico direct-hire allowance. Omit this
|
|
654
|
+
* for Uruguay direct hire and for every other country. currency_type must match
|
|
655
|
+
* compensation.base_pay_amount.currency_type.
|
|
656
|
+
*/
|
|
657
|
+
export interface AnnualCarAllowance {
|
|
658
|
+
/**
|
|
659
|
+
* The currency type, ex: USD, EUR, etc.
|
|
660
|
+
*/
|
|
661
|
+
currency_type?: string;
|
|
662
|
+
|
|
663
|
+
/**
|
|
664
|
+
* The decimal amount for the currency.
|
|
665
|
+
*/
|
|
666
|
+
value?: number;
|
|
667
|
+
}
|
|
668
|
+
|
|
669
|
+
/**
|
|
670
|
+
* Mexico direct hire car allowance. This is not compensation.annual_car_allowance,
|
|
671
|
+
* which is the Uruguay EOR annual amount. Provide only when listed by GET
|
|
672
|
+
* /hire-requirements/ for the selected country and hire type. currency_type, such
|
|
673
|
+
* as MXN, must match compensation.base_pay_amount.currency_type.
|
|
674
|
+
*/
|
|
675
|
+
export interface CarAllowance {
|
|
676
|
+
/**
|
|
677
|
+
* The currency type, ex: USD, EUR, etc.
|
|
678
|
+
*/
|
|
679
|
+
currency_type?: string;
|
|
680
|
+
|
|
681
|
+
/**
|
|
682
|
+
* The decimal amount for the currency.
|
|
683
|
+
*/
|
|
684
|
+
value?: number;
|
|
685
|
+
}
|
|
686
|
+
|
|
687
|
+
/**
|
|
688
|
+
* Optional monthly Christmas or anniversary gift allowance for Philippines direct
|
|
689
|
+
* hire and EOR. Omit for other countries. Send PHP from zero to 500 per month.
|
|
690
|
+
* currency_type must be PHP and match compensation.base_pay_amount.currency_type
|
|
691
|
+
* for every Philippines hire. Direct hires with non-PHP base pay must omit this
|
|
692
|
+
* allowance. No currency conversion is performed. Amounts round to the PHP cent
|
|
693
|
+
* using ROUND_HALF_UP. Omission leaves the allowance unset; zero means no
|
|
694
|
+
* allowance and is stored as unset. The cap is checked after rounding. Negative or
|
|
695
|
+
* nonfinite amounts are rejected during request validation; an excessive amount or
|
|
696
|
+
* currency mismatch fails the hire item with invalid_request before creation.
|
|
697
|
+
*/
|
|
698
|
+
export interface ChristmasOrAnniversaryGift {
|
|
699
|
+
/**
|
|
700
|
+
* The currency type, ex: USD, EUR, etc.
|
|
701
|
+
*/
|
|
702
|
+
currency_type?: string;
|
|
703
|
+
|
|
704
|
+
/**
|
|
705
|
+
* The decimal amount for the currency.
|
|
706
|
+
*/
|
|
707
|
+
value?: number;
|
|
708
|
+
}
|
|
709
|
+
|
|
710
|
+
/**
|
|
711
|
+
* Variable sales compensation expected when the person meets target.
|
|
712
|
+
* on_target_amount is required; provide payment_frequency where required by GET
|
|
713
|
+
* /hire-requirements/. Starting with API version 2025-08-01, this field does not
|
|
714
|
+
* apply to contractor hires and is reported in ignored_fields.
|
|
291
715
|
*/
|
|
292
716
|
export interface Commission {
|
|
293
717
|
/**
|
|
294
|
-
*
|
|
718
|
+
* Expected total commission for a full year when the person meets target, using
|
|
719
|
+
* currency_type as a three-letter ISO 4217 code and value as the decimal amount.
|
|
295
720
|
*/
|
|
296
721
|
on_target_amount: Commission.OnTargetAmount;
|
|
297
722
|
|
|
298
723
|
/**
|
|
299
|
-
* How often
|
|
300
|
-
*
|
|
724
|
+
* How often commission is paid: MONTH, QUARTER, or YEAR. Required when indicated
|
|
725
|
+
* by GET /hire-requirements/ for the selected country and hire type.
|
|
301
726
|
*/
|
|
302
|
-
payment_frequency?:
|
|
727
|
+
payment_frequency?: 'MONTH' | 'QUARTER' | 'YEAR';
|
|
303
728
|
}
|
|
304
729
|
|
|
305
730
|
export namespace Commission {
|
|
306
731
|
/**
|
|
307
|
-
*
|
|
732
|
+
* Expected total commission for a full year when the person meets target, using
|
|
733
|
+
* currency_type as a three-letter ISO 4217 code and value as the decimal amount.
|
|
308
734
|
*/
|
|
309
735
|
export interface OnTargetAmount {
|
|
310
736
|
/**
|
|
@@ -320,28 +746,34 @@ export namespace HireCreateParams {
|
|
|
320
746
|
}
|
|
321
747
|
|
|
322
748
|
/**
|
|
323
|
-
*
|
|
749
|
+
* Equity grant offered with the job. amount is the grant's monetary value;
|
|
750
|
+
* num_shares and frequency provide additional grant terms when known. Starting
|
|
751
|
+
* with API version 2025-08-01, this field does not apply to contractor hires and
|
|
752
|
+
* is reported in ignored_fields.
|
|
324
753
|
*/
|
|
325
754
|
export interface Equity {
|
|
326
755
|
/**
|
|
327
|
-
*
|
|
756
|
+
* Monetary value assigned to the equity grant, using currency_type as a
|
|
757
|
+
* three-letter ISO 4217 code and value as the decimal amount.
|
|
328
758
|
*/
|
|
329
759
|
amount: Equity.Amount;
|
|
330
760
|
|
|
331
761
|
/**
|
|
332
|
-
*
|
|
762
|
+
* Grant frequency when applicable: ONE_TIME or ANNUAL.
|
|
333
763
|
*/
|
|
334
|
-
frequency?:
|
|
764
|
+
frequency?: 'ONE_TIME' | 'ANNUAL';
|
|
335
765
|
|
|
336
766
|
/**
|
|
337
|
-
*
|
|
767
|
+
* Number of shares or units included in the grant, when the grant is expressed in
|
|
768
|
+
* shares.
|
|
338
769
|
*/
|
|
339
770
|
num_shares?: number;
|
|
340
771
|
}
|
|
341
772
|
|
|
342
773
|
export namespace Equity {
|
|
343
774
|
/**
|
|
344
|
-
*
|
|
775
|
+
* Monetary value assigned to the equity grant, using currency_type as a
|
|
776
|
+
* three-letter ISO 4217 code and value as the decimal amount.
|
|
345
777
|
*/
|
|
346
778
|
export interface Amount {
|
|
347
779
|
/**
|
|
@@ -357,18 +789,271 @@ export namespace HireCreateParams {
|
|
|
357
789
|
}
|
|
358
790
|
|
|
359
791
|
/**
|
|
360
|
-
*
|
|
792
|
+
* Mexico direct hire grocery coupon. Provide only when listed by GET
|
|
793
|
+
* /hire-requirements/ for the selected country and hire type. currency_type, such
|
|
794
|
+
* as MXN, must match compensation.base_pay_amount.currency_type.
|
|
795
|
+
*/
|
|
796
|
+
export interface GroceryCoupon {
|
|
797
|
+
/**
|
|
798
|
+
* The currency type, ex: USD, EUR, etc.
|
|
799
|
+
*/
|
|
800
|
+
currency_type?: string;
|
|
801
|
+
|
|
802
|
+
/**
|
|
803
|
+
* The decimal amount for the currency.
|
|
804
|
+
*/
|
|
805
|
+
value?: number;
|
|
806
|
+
}
|
|
807
|
+
|
|
808
|
+
/**
|
|
809
|
+
* Uruguay EOR annual healthcare allowance. Optional for Uruguay EOR. Omit this for
|
|
810
|
+
* Uruguay direct hire and for every other country. currency_type must match
|
|
811
|
+
* compensation.base_pay_amount.currency_type.
|
|
812
|
+
*/
|
|
813
|
+
export interface HealthcareAllowance {
|
|
814
|
+
/**
|
|
815
|
+
* The currency type, ex: USD, EUR, etc.
|
|
816
|
+
*/
|
|
817
|
+
currency_type?: string;
|
|
818
|
+
|
|
819
|
+
/**
|
|
820
|
+
* The decimal amount for the currency.
|
|
821
|
+
*/
|
|
822
|
+
value?: number;
|
|
823
|
+
}
|
|
824
|
+
|
|
825
|
+
/**
|
|
826
|
+
* Uruguay EOR annual housing allowance. Optional for Uruguay EOR. Omit this for
|
|
827
|
+
* Uruguay direct hire and for every other country. currency_type must match
|
|
828
|
+
* compensation.base_pay_amount.currency_type.
|
|
829
|
+
*/
|
|
830
|
+
export interface HousingAllowance {
|
|
831
|
+
/**
|
|
832
|
+
* The currency type, ex: USD, EUR, etc.
|
|
833
|
+
*/
|
|
834
|
+
currency_type?: string;
|
|
835
|
+
|
|
836
|
+
/**
|
|
837
|
+
* The decimal amount for the currency.
|
|
838
|
+
*/
|
|
839
|
+
value?: number;
|
|
840
|
+
}
|
|
841
|
+
|
|
842
|
+
/**
|
|
843
|
+
* Uruguay EOR annual internet allowance. Required for Uruguay EOR. When
|
|
844
|
+
* currency_type is UYU, value must be at least 9600 per year. currency_type must
|
|
845
|
+
* match compensation.base_pay_amount.currency_type.
|
|
846
|
+
*/
|
|
847
|
+
export interface InternetAllowance {
|
|
848
|
+
/**
|
|
849
|
+
* The currency type, ex: USD, EUR, etc.
|
|
850
|
+
*/
|
|
851
|
+
currency_type?: string;
|
|
852
|
+
|
|
853
|
+
/**
|
|
854
|
+
* The decimal amount for the currency.
|
|
855
|
+
*/
|
|
856
|
+
value?: number;
|
|
857
|
+
}
|
|
858
|
+
|
|
859
|
+
/**
|
|
860
|
+
* Optional monthly laundry allowance for Philippines direct hire and EOR. Omit for
|
|
861
|
+
* other countries. Send PHP from zero to 400 per month. currency_type must be PHP
|
|
862
|
+
* and match compensation.base_pay_amount.currency_type for every Philippines hire.
|
|
863
|
+
* Direct hires with non-PHP base pay must omit this allowance. No currency
|
|
864
|
+
* conversion is performed. Amounts round to the PHP cent using ROUND_HALF_UP.
|
|
865
|
+
* Omission leaves the allowance unset; zero means no allowance and is stored as
|
|
866
|
+
* unset. The cap is checked after rounding. Negative or nonfinite amounts are
|
|
867
|
+
* rejected during request validation; an excessive amount or currency mismatch
|
|
868
|
+
* fails the hire item with invalid_request before creation.
|
|
869
|
+
*/
|
|
870
|
+
export interface LaundryAllowance {
|
|
871
|
+
/**
|
|
872
|
+
* The currency type, ex: USD, EUR, etc.
|
|
873
|
+
*/
|
|
874
|
+
currency_type?: string;
|
|
875
|
+
|
|
876
|
+
/**
|
|
877
|
+
* The decimal amount for the currency.
|
|
878
|
+
*/
|
|
879
|
+
value?: number;
|
|
880
|
+
}
|
|
881
|
+
|
|
882
|
+
/**
|
|
883
|
+
* Uruguay EOR annual meal allowance. Required for Uruguay EOR. When currency_type
|
|
884
|
+
* is UYU, value must be at least 48000 per year. currency_type must match
|
|
885
|
+
* compensation.base_pay_amount.currency_type.
|
|
886
|
+
*/
|
|
887
|
+
export interface MealAllowance {
|
|
888
|
+
/**
|
|
889
|
+
* The currency type, ex: USD, EUR, etc.
|
|
890
|
+
*/
|
|
891
|
+
currency_type?: string;
|
|
892
|
+
|
|
893
|
+
/**
|
|
894
|
+
* The decimal amount for the currency.
|
|
895
|
+
*/
|
|
896
|
+
value?: number;
|
|
897
|
+
}
|
|
898
|
+
|
|
899
|
+
/**
|
|
900
|
+
* Optional monthly medical assistance allowance for Philippines direct hire and
|
|
901
|
+
* EOR. Omit for other countries. Send PHP from zero to 1000 per month.
|
|
902
|
+
* currency_type must be PHP and match compensation.base_pay_amount.currency_type
|
|
903
|
+
* for every Philippines hire. Direct hires with non-PHP base pay must omit this
|
|
904
|
+
* allowance. No currency conversion is performed. Amounts round to the PHP cent
|
|
905
|
+
* using ROUND_HALF_UP. Omission leaves the allowance unset; zero means no
|
|
906
|
+
* allowance and is stored as unset. The cap is checked after rounding. Negative or
|
|
907
|
+
* nonfinite amounts are rejected during request validation; an excessive amount or
|
|
908
|
+
* currency mismatch fails the hire item with invalid_request before creation.
|
|
909
|
+
*/
|
|
910
|
+
export interface MedicalAssistanceAllowance {
|
|
911
|
+
/**
|
|
912
|
+
* The currency type, ex: USD, EUR, etc.
|
|
913
|
+
*/
|
|
914
|
+
currency_type?: string;
|
|
915
|
+
|
|
916
|
+
/**
|
|
917
|
+
* The decimal amount for the currency.
|
|
918
|
+
*/
|
|
919
|
+
value?: number;
|
|
920
|
+
}
|
|
921
|
+
|
|
922
|
+
/**
|
|
923
|
+
* Optional monthly medical cash allowance for Philippines direct hire and EOR.
|
|
924
|
+
* Omit for other countries. Send PHP from zero to 333.33 per month. currency_type
|
|
925
|
+
* must be PHP and match compensation.base_pay_amount.currency_type for every
|
|
926
|
+
* Philippines hire. Direct hires with non-PHP base pay must omit this allowance.
|
|
927
|
+
* No currency conversion is performed. Amounts round to the PHP cent using
|
|
928
|
+
* ROUND_HALF_UP. Omission leaves the allowance unset; zero means no allowance and
|
|
929
|
+
* is stored as unset. The cap is checked after rounding. Negative or nonfinite
|
|
930
|
+
* amounts are rejected during request validation; an excessive amount or currency
|
|
931
|
+
* mismatch fails the hire item with invalid_request before creation.
|
|
932
|
+
*/
|
|
933
|
+
export interface MedicalCashAllowance {
|
|
934
|
+
/**
|
|
935
|
+
* The currency type, ex: USD, EUR, etc.
|
|
936
|
+
*/
|
|
937
|
+
currency_type?: string;
|
|
938
|
+
|
|
939
|
+
/**
|
|
940
|
+
* The decimal amount for the currency.
|
|
941
|
+
*/
|
|
942
|
+
value?: number;
|
|
943
|
+
}
|
|
944
|
+
|
|
945
|
+
/**
|
|
946
|
+
* Optional monthly internet allowance for Philippines direct hire and EOR. Omit
|
|
947
|
+
* for other countries. Send PHP from zero to 850 per month. currency_type must be
|
|
948
|
+
* PHP and match compensation.base_pay_amount.currency_type for every Philippines
|
|
949
|
+
* hire. Direct hires with non-PHP base pay must omit this allowance. No currency
|
|
950
|
+
* conversion is performed. Amounts round to the PHP cent using ROUND_HALF_UP.
|
|
951
|
+
* Omission leaves the allowance unset; zero means no allowance and is stored as
|
|
952
|
+
* unset. The cap is checked after rounding. Negative or nonfinite amounts are
|
|
953
|
+
* rejected during request validation; an excessive amount or currency mismatch
|
|
954
|
+
* fails the hire item with invalid_request before creation.
|
|
955
|
+
*/
|
|
956
|
+
export interface MonthlyInternetAllowance {
|
|
957
|
+
/**
|
|
958
|
+
* The currency type, ex: USD, EUR, etc.
|
|
959
|
+
*/
|
|
960
|
+
currency_type?: string;
|
|
961
|
+
|
|
962
|
+
/**
|
|
963
|
+
* The decimal amount for the currency.
|
|
964
|
+
*/
|
|
965
|
+
value?: number;
|
|
966
|
+
}
|
|
967
|
+
|
|
968
|
+
/**
|
|
969
|
+
* Uruguay EOR annual pension allowance. Optional for Uruguay EOR. Omit this for
|
|
970
|
+
* Uruguay direct hire and for every other country. currency_type must match
|
|
971
|
+
* compensation.base_pay_amount.currency_type.
|
|
972
|
+
*/
|
|
973
|
+
export interface PensionAllowance {
|
|
974
|
+
/**
|
|
975
|
+
* The currency type, ex: USD, EUR, etc.
|
|
976
|
+
*/
|
|
977
|
+
currency_type?: string;
|
|
978
|
+
|
|
979
|
+
/**
|
|
980
|
+
* The decimal amount for the currency.
|
|
981
|
+
*/
|
|
982
|
+
value?: number;
|
|
983
|
+
}
|
|
984
|
+
|
|
985
|
+
/**
|
|
986
|
+
* Uruguay EOR annual phone allowance. Optional for Uruguay EOR. Omit this for
|
|
987
|
+
* Uruguay direct hire and for every other country. currency_type must match
|
|
988
|
+
* compensation.base_pay_amount.currency_type.
|
|
989
|
+
*/
|
|
990
|
+
export interface PhoneAllowance {
|
|
991
|
+
/**
|
|
992
|
+
* The currency type, ex: USD, EUR, etc.
|
|
993
|
+
*/
|
|
994
|
+
currency_type?: string;
|
|
995
|
+
|
|
996
|
+
/**
|
|
997
|
+
* The decimal amount for the currency.
|
|
998
|
+
*/
|
|
999
|
+
value?: number;
|
|
1000
|
+
}
|
|
1001
|
+
|
|
1002
|
+
/**
|
|
1003
|
+
* Optional monthly productivity incentive allowance for Philippines direct hire
|
|
1004
|
+
* and EOR. Omit for other countries. Send PHP from zero to 1000 per month.
|
|
1005
|
+
* currency_type must be PHP and match compensation.base_pay_amount.currency_type
|
|
1006
|
+
* for every Philippines hire. Direct hires with non-PHP base pay must omit this
|
|
1007
|
+
* allowance. No currency conversion is performed. Amounts round to the PHP cent
|
|
1008
|
+
* using ROUND_HALF_UP. Omission leaves the allowance unset; zero means no
|
|
1009
|
+
* allowance and is stored as unset. The cap is checked after rounding. Negative or
|
|
1010
|
+
* nonfinite amounts are rejected during request validation; an excessive amount or
|
|
1011
|
+
* currency mismatch fails the hire item with invalid_request before creation.
|
|
1012
|
+
*/
|
|
1013
|
+
export interface ProductivityIncentiveAllowance {
|
|
1014
|
+
/**
|
|
1015
|
+
* The currency type, ex: USD, EUR, etc.
|
|
1016
|
+
*/
|
|
1017
|
+
currency_type?: string;
|
|
1018
|
+
|
|
1019
|
+
/**
|
|
1020
|
+
* The decimal amount for the currency.
|
|
1021
|
+
*/
|
|
1022
|
+
value?: number;
|
|
1023
|
+
}
|
|
1024
|
+
|
|
1025
|
+
/**
|
|
1026
|
+
* One-time relocation reimbursement or benefit offered for this hire. amount is
|
|
1027
|
+
* required when the object is provided. Starting with API version 2025-08-01, this
|
|
1028
|
+
* field does not apply to contractor hires and is reported in ignored_fields.
|
|
1029
|
+
* Mexico direct hire rejects this field; use relocation_expense instead. Mexico
|
|
1030
|
+
* EOR accepts it only when the company's EOR compensation types include
|
|
1031
|
+
* RELOCATION_BONUS and the relocation feature is enabled for that company and
|
|
1032
|
+
* Mexico. No Platform API read exposes this company-specific eligibility; check
|
|
1033
|
+
* the company's Mexico EOR compensation settings in Rippling before sending. If
|
|
1034
|
+
* unavailable, the hire item fails with invalid_request before creation. Colombia
|
|
1035
|
+
* and Philippines direct hire and EOR also require relocation to be offered by the
|
|
1036
|
+
* country's compensation configuration and enabled for the company. Before POST
|
|
1037
|
+
* /hires/, call GET /hire-requirements/ with country_code, hire_type,
|
|
1038
|
+
* employment_type_id from GET /employment-types/, contract_type (INDEFINITE or
|
|
1039
|
+
* FIXED), and legal_entity_id from GET /company-legal-entities/ for direct hire;
|
|
1040
|
+
* omit legal_entity_id for EOR. Read this field's available value. If available is
|
|
1041
|
+
* absent, availability is unresolved. If unavailable, the hire item fails with
|
|
1042
|
+
* invalid_request before creation. Its currency must match base pay for those
|
|
1043
|
+
* countries.
|
|
361
1044
|
*/
|
|
362
1045
|
export interface Relocation {
|
|
363
1046
|
/**
|
|
364
|
-
*
|
|
1047
|
+
* Total relocation reimbursement or benefit, using currency_type as a three-letter
|
|
1048
|
+
* ISO 4217 code and value as the decimal amount.
|
|
365
1049
|
*/
|
|
366
1050
|
amount: Relocation.Amount;
|
|
367
1051
|
}
|
|
368
1052
|
|
|
369
1053
|
export namespace Relocation {
|
|
370
1054
|
/**
|
|
371
|
-
*
|
|
1055
|
+
* Total relocation reimbursement or benefit, using currency_type as a three-letter
|
|
1056
|
+
* ISO 4217 code and value as the decimal amount.
|
|
372
1057
|
*/
|
|
373
1058
|
export interface Amount {
|
|
374
1059
|
/**
|
|
@@ -384,28 +1069,96 @@ export namespace HireCreateParams {
|
|
|
384
1069
|
}
|
|
385
1070
|
|
|
386
1071
|
/**
|
|
387
|
-
*
|
|
1072
|
+
* Mexico direct hire relocation expense. Provide only when listed by GET
|
|
1073
|
+
* /hire-requirements/ for the selected country and hire type. This is not
|
|
1074
|
+
* compensation.relocation. currency_type, such as MXN, must match
|
|
1075
|
+
* compensation.base_pay_amount.currency_type.
|
|
1076
|
+
*/
|
|
1077
|
+
export interface RelocationExpense {
|
|
1078
|
+
/**
|
|
1079
|
+
* The currency type, ex: USD, EUR, etc.
|
|
1080
|
+
*/
|
|
1081
|
+
currency_type?: string;
|
|
1082
|
+
|
|
1083
|
+
/**
|
|
1084
|
+
* The decimal amount for the currency.
|
|
1085
|
+
*/
|
|
1086
|
+
value?: number;
|
|
1087
|
+
}
|
|
1088
|
+
|
|
1089
|
+
/**
|
|
1090
|
+
* Recurring allowance paid for remote-work expenses. Provide only when listed by
|
|
1091
|
+
* GET /hire-requirements/ for the selected country and hire type; use a zero
|
|
1092
|
+
* amount when the catalog requires the field but no allowance is offered.
|
|
1093
|
+
* Switzerland maps this to the Swiss remote-working allowance. Mexico maps this to
|
|
1094
|
+
* the Mexico remote work allowance: direct hire sends it when selected. Mexico EOR
|
|
1095
|
+
* sets it automatically and rejects a caller-supplied value.
|
|
1096
|
+
*/
|
|
1097
|
+
export interface RemoteWorkingAllowance {
|
|
1098
|
+
/**
|
|
1099
|
+
* The currency type, ex: USD, EUR, etc.
|
|
1100
|
+
*/
|
|
1101
|
+
currency_type?: string;
|
|
1102
|
+
|
|
1103
|
+
/**
|
|
1104
|
+
* The decimal amount for the currency.
|
|
1105
|
+
*/
|
|
1106
|
+
value?: number;
|
|
1107
|
+
}
|
|
1108
|
+
|
|
1109
|
+
/**
|
|
1110
|
+
* Optional monthly rice allowance for Philippines direct hire and EOR. Omit for
|
|
1111
|
+
* other countries. Send PHP from zero to 2500 per month. currency_type must be PHP
|
|
1112
|
+
* and match compensation.base_pay_amount.currency_type for every Philippines hire.
|
|
1113
|
+
* Direct hires with non-PHP base pay must omit this allowance. No currency
|
|
1114
|
+
* conversion is performed. Amounts round to the PHP cent using ROUND_HALF_UP.
|
|
1115
|
+
* Omission leaves the allowance unset; zero means no allowance and is stored as
|
|
1116
|
+
* unset. The cap is checked after rounding. Negative or nonfinite amounts are
|
|
1117
|
+
* rejected during request validation; an excessive amount or currency mismatch
|
|
1118
|
+
* fails the hire item with invalid_request before creation.
|
|
1119
|
+
*/
|
|
1120
|
+
export interface RiceAllowance {
|
|
1121
|
+
/**
|
|
1122
|
+
* The currency type, ex: USD, EUR, etc.
|
|
1123
|
+
*/
|
|
1124
|
+
currency_type?: string;
|
|
1125
|
+
|
|
1126
|
+
/**
|
|
1127
|
+
* The decimal amount for the currency.
|
|
1128
|
+
*/
|
|
1129
|
+
value?: number;
|
|
1130
|
+
}
|
|
1131
|
+
|
|
1132
|
+
/**
|
|
1133
|
+
* One-time payment offered for accepting or starting the job. When provided,
|
|
1134
|
+
* amount and schedule are required; payment_days is optional. Starting with API
|
|
1135
|
+
* version 2025-08-01, this field does not apply to contractor hires and is
|
|
1136
|
+
* reported in ignored_fields.
|
|
388
1137
|
*/
|
|
389
1138
|
export interface SigningBonus {
|
|
390
1139
|
/**
|
|
391
|
-
*
|
|
1140
|
+
* Total one-time signing bonus, using currency_type as a three-letter ISO 4217
|
|
1141
|
+
* code and value as the decimal amount.
|
|
392
1142
|
*/
|
|
393
1143
|
amount: SigningBonus.Amount;
|
|
394
1144
|
|
|
395
1145
|
/**
|
|
396
|
-
*
|
|
1146
|
+
* Payment event or schedule for the signing bonus, for example FIRST_PAYROLL. Use
|
|
1147
|
+
* an allowed value returned by GET /hire-requirements/.
|
|
397
1148
|
*/
|
|
398
1149
|
schedule: string;
|
|
399
1150
|
|
|
400
1151
|
/**
|
|
401
|
-
*
|
|
1152
|
+
* Number of days after the applicable start or schedule event when the bonus is
|
|
1153
|
+
* paid, if used.
|
|
402
1154
|
*/
|
|
403
1155
|
payment_days?: number;
|
|
404
1156
|
}
|
|
405
1157
|
|
|
406
1158
|
export namespace SigningBonus {
|
|
407
1159
|
/**
|
|
408
|
-
*
|
|
1160
|
+
* Total one-time signing bonus, using currency_type as a three-letter ISO 4217
|
|
1161
|
+
* code and value as the decimal amount.
|
|
409
1162
|
*/
|
|
410
1163
|
export interface Amount {
|
|
411
1164
|
/**
|
|
@@ -421,29 +1174,54 @@ export namespace HireCreateParams {
|
|
|
421
1174
|
}
|
|
422
1175
|
|
|
423
1176
|
/**
|
|
424
|
-
*
|
|
1177
|
+
* Uruguay EOR annual special allowance. Optional for Uruguay EOR. Omit this for
|
|
1178
|
+
* Uruguay direct hire and for every other country. currency_type must match
|
|
1179
|
+
* compensation.base_pay_amount.currency_type.
|
|
1180
|
+
*/
|
|
1181
|
+
export interface SpecialAllowance {
|
|
1182
|
+
/**
|
|
1183
|
+
* The currency type, ex: USD, EUR, etc.
|
|
1184
|
+
*/
|
|
1185
|
+
currency_type?: string;
|
|
1186
|
+
|
|
1187
|
+
/**
|
|
1188
|
+
* The decimal amount for the currency.
|
|
1189
|
+
*/
|
|
1190
|
+
value?: number;
|
|
1191
|
+
}
|
|
1192
|
+
|
|
1193
|
+
/**
|
|
1194
|
+
* Bonus earned for meeting the role's target performance. Express the target as
|
|
1195
|
+
* exactly one of a monetary amount or a percentage of base pay; provide
|
|
1196
|
+
* payment_frequency where required by GET /hire-requirements/. Starting with API
|
|
1197
|
+
* version 2025-08-01, this field does not apply to contractor hires and is
|
|
1198
|
+
* reported in ignored_fields.
|
|
425
1199
|
*/
|
|
426
1200
|
export interface TargetBonus {
|
|
427
1201
|
/**
|
|
428
|
-
* Target bonus
|
|
1202
|
+
* Target bonus amount using currency_type as a three-letter ISO 4217 code and
|
|
1203
|
+
* value as the decimal amount. Provide exactly one of amount or percent.
|
|
429
1204
|
*/
|
|
430
1205
|
amount?: TargetBonus.Amount;
|
|
431
1206
|
|
|
432
1207
|
/**
|
|
433
|
-
* How often target bonus is paid
|
|
434
|
-
*
|
|
1208
|
+
* How often the target bonus is paid: MONTH, QUARTER, SEMI_ANNUAL, or YEAR.
|
|
1209
|
+
* Required when indicated by GET /hire-requirements/ for the selected country and
|
|
1210
|
+
* hire type.
|
|
435
1211
|
*/
|
|
436
|
-
payment_frequency?:
|
|
1212
|
+
payment_frequency?: 'MONTH' | 'QUARTER' | 'SEMI_ANNUAL' | 'YEAR';
|
|
437
1213
|
|
|
438
1214
|
/**
|
|
439
|
-
* Target bonus as a
|
|
1215
|
+
* Target bonus as a percentage of base pay, written as a numeric string without
|
|
1216
|
+
* the percent sign, for example 15. Provide exactly one of amount or percent.
|
|
440
1217
|
*/
|
|
441
1218
|
percent?: string;
|
|
442
1219
|
}
|
|
443
1220
|
|
|
444
1221
|
export namespace TargetBonus {
|
|
445
1222
|
/**
|
|
446
|
-
* Target bonus
|
|
1223
|
+
* Target bonus amount using currency_type as a three-letter ISO 4217 code and
|
|
1224
|
+
* value as the decimal amount. Provide exactly one of amount or percent.
|
|
447
1225
|
*/
|
|
448
1226
|
export interface Amount {
|
|
449
1227
|
/**
|
|
@@ -457,262 +1235,315 @@ export namespace HireCreateParams {
|
|
|
457
1235
|
value?: number;
|
|
458
1236
|
}
|
|
459
1237
|
}
|
|
460
|
-
}
|
|
461
1238
|
|
|
462
|
-
/**
|
|
463
|
-
* The job: title, hours, and country-specific details.
|
|
464
|
-
*/
|
|
465
|
-
export interface Employment {
|
|
466
1239
|
/**
|
|
467
|
-
*
|
|
1240
|
+
* Mexico direct hire telecommunications and electricity allowance. Required for
|
|
1241
|
+
* every Mexico direct hire. currency_type, such as MXN, must match
|
|
1242
|
+
* compensation.base_pay_amount.currency_type.
|
|
468
1243
|
*/
|
|
469
|
-
|
|
470
|
-
|
|
471
|
-
|
|
472
|
-
|
|
473
|
-
|
|
474
|
-
start_date: string;
|
|
475
|
-
|
|
476
|
-
/**
|
|
477
|
-
* Job title.
|
|
478
|
-
*/
|
|
479
|
-
title: string;
|
|
480
|
-
|
|
481
|
-
/**
|
|
482
|
-
* Required for FR EOR. Field of work, such as Engineering.
|
|
483
|
-
*/
|
|
484
|
-
applicable_fields_of_work?: string;
|
|
485
|
-
|
|
486
|
-
/**
|
|
487
|
-
* Required for AU, CA, IN, and GB EOR. True if this person is authorized to work
|
|
488
|
-
* in the country.
|
|
489
|
-
*/
|
|
490
|
-
authorized_to_work?: boolean;
|
|
491
|
-
|
|
492
|
-
/**
|
|
493
|
-
* Required for ES EOR. Collective agreement area.
|
|
494
|
-
*/
|
|
495
|
-
cba_area?: string;
|
|
496
|
-
|
|
497
|
-
/**
|
|
498
|
-
* Collective bargaining agreement code.
|
|
499
|
-
*/
|
|
500
|
-
cba_code?: string;
|
|
501
|
-
|
|
502
|
-
/**
|
|
503
|
-
* Collective bargaining agreement group.
|
|
504
|
-
*/
|
|
505
|
-
cba_group?: string;
|
|
506
|
-
|
|
507
|
-
/**
|
|
508
|
-
* Collective bargaining agreement level.
|
|
509
|
-
*/
|
|
510
|
-
cba_level?: string;
|
|
511
|
-
|
|
512
|
-
/**
|
|
513
|
-
* Set to true if this person earns tips.
|
|
514
|
-
*/
|
|
515
|
-
collects_tips?: boolean;
|
|
516
|
-
|
|
517
|
-
/**
|
|
518
|
-
* Required for EOR outside the US. True if this person is moving from another EOR.
|
|
519
|
-
*/
|
|
520
|
-
coming_from_another_eor?: boolean;
|
|
521
|
-
|
|
522
|
-
/**
|
|
523
|
-
* Date this person first joined the company, if earlier than start_date.
|
|
524
|
-
*/
|
|
525
|
-
company_start_date?: string;
|
|
526
|
-
|
|
527
|
-
/**
|
|
528
|
-
* Required for FR EOR. Project description for this hire.
|
|
529
|
-
*/
|
|
530
|
-
consultant_project_description?: string;
|
|
531
|
-
|
|
532
|
-
/**
|
|
533
|
-
* Ongoing or fixed-term employment contract.
|
|
534
|
-
*/
|
|
535
|
-
contract?: Employment.Contract;
|
|
536
|
-
|
|
537
|
-
/**
|
|
538
|
-
* Country-specific contract subtype.
|
|
539
|
-
*/
|
|
540
|
-
contract_subtype?: string;
|
|
541
|
-
|
|
542
|
-
/**
|
|
543
|
-
* Required for CN EOR. City used for social contributions, such as SHANGHAI.
|
|
544
|
-
*/
|
|
545
|
-
contributing_city?: string;
|
|
1244
|
+
export interface TelecomAllowance {
|
|
1245
|
+
/**
|
|
1246
|
+
* The currency type, ex: USD, EUR, etc.
|
|
1247
|
+
*/
|
|
1248
|
+
currency_type?: string;
|
|
546
1249
|
|
|
547
|
-
|
|
548
|
-
|
|
549
|
-
|
|
550
|
-
|
|
1250
|
+
/**
|
|
1251
|
+
* The decimal amount for the currency.
|
|
1252
|
+
*/
|
|
1253
|
+
value?: number;
|
|
1254
|
+
}
|
|
551
1255
|
|
|
552
1256
|
/**
|
|
553
|
-
*
|
|
1257
|
+
* Contractually required thirteenth-month salary payment. Provide only when listed
|
|
1258
|
+
* by GET /hire-requirements/ for the selected country and hire type. Brazil EOR
|
|
1259
|
+
* calculates this automatically as one-twelfth of annual base pay in BRL, rounded
|
|
1260
|
+
* down to the cent. To annualize base_pay_amount.value, multiply by 260 for DAY,
|
|
1261
|
+
* 52 for WEEK, 12 for MONTH, or 1 for YEAR, using base_pay_period. Brazil EOR
|
|
1262
|
+
* rejects a caller-supplied value.
|
|
554
1263
|
*/
|
|
555
|
-
|
|
1264
|
+
export interface ThirteenthMonthBonus {
|
|
1265
|
+
/**
|
|
1266
|
+
* The currency type, ex: USD, EUR, etc.
|
|
1267
|
+
*/
|
|
1268
|
+
currency_type?: string;
|
|
556
1269
|
|
|
557
|
-
|
|
558
|
-
|
|
559
|
-
|
|
560
|
-
|
|
1270
|
+
/**
|
|
1271
|
+
* The decimal amount for the currency.
|
|
1272
|
+
*/
|
|
1273
|
+
value?: number;
|
|
1274
|
+
}
|
|
561
1275
|
|
|
562
1276
|
/**
|
|
563
|
-
*
|
|
1277
|
+
* Optional monthly uniform and clothing allowance for Philippines direct hire and
|
|
1278
|
+
* EOR. Omit for other countries. Send PHP from zero to 666.67 per month.
|
|
1279
|
+
* currency_type must be PHP and match compensation.base_pay_amount.currency_type
|
|
1280
|
+
* for every Philippines hire. Direct hires with non-PHP base pay must omit this
|
|
1281
|
+
* allowance. No currency conversion is performed. Amounts round to the PHP cent
|
|
1282
|
+
* using ROUND_HALF_UP. Omission leaves the allowance unset; zero means no
|
|
1283
|
+
* allowance and is stored as unset. The cap is checked after rounding. Negative or
|
|
1284
|
+
* nonfinite amounts are rejected during request validation; an excessive amount or
|
|
1285
|
+
* currency mismatch fails the hire item with invalid_request before creation.
|
|
564
1286
|
*/
|
|
565
|
-
|
|
1287
|
+
export interface UniformAndClothingAllowance {
|
|
1288
|
+
/**
|
|
1289
|
+
* The currency type, ex: USD, EUR, etc.
|
|
1290
|
+
*/
|
|
1291
|
+
currency_type?: string;
|
|
566
1292
|
|
|
567
|
-
|
|
568
|
-
|
|
569
|
-
|
|
570
|
-
|
|
1293
|
+
/**
|
|
1294
|
+
* The decimal amount for the currency.
|
|
1295
|
+
*/
|
|
1296
|
+
value?: number;
|
|
1297
|
+
}
|
|
571
1298
|
|
|
572
1299
|
/**
|
|
573
|
-
*
|
|
1300
|
+
* Uruguay EOR annual vacation allowance. Optional for Uruguay EOR. Omit this for
|
|
1301
|
+
* Uruguay direct hire and for every other country. currency_type must match
|
|
1302
|
+
* compensation.base_pay_amount.currency_type.
|
|
574
1303
|
*/
|
|
575
|
-
|
|
1304
|
+
export interface VacationAllowance {
|
|
1305
|
+
/**
|
|
1306
|
+
* The currency type, ex: USD, EUR, etc.
|
|
1307
|
+
*/
|
|
1308
|
+
currency_type?: string;
|
|
576
1309
|
|
|
577
|
-
|
|
578
|
-
|
|
579
|
-
|
|
580
|
-
|
|
1310
|
+
/**
|
|
1311
|
+
* The decimal amount for the currency.
|
|
1312
|
+
*/
|
|
1313
|
+
value?: number;
|
|
1314
|
+
}
|
|
581
1315
|
|
|
582
1316
|
/**
|
|
583
|
-
*
|
|
1317
|
+
* Uruguay EOR annual work-from-home allowance. Optional for Uruguay EOR. Omit this
|
|
1318
|
+
* for Uruguay direct hire and for every other country. currency_type must match
|
|
1319
|
+
* compensation.base_pay_amount.currency_type.
|
|
584
1320
|
*/
|
|
585
|
-
|
|
1321
|
+
export interface WorkFromHomeAllowance {
|
|
1322
|
+
/**
|
|
1323
|
+
* The currency type, ex: USD, EUR, etc.
|
|
1324
|
+
*/
|
|
1325
|
+
currency_type?: string;
|
|
586
1326
|
|
|
587
|
-
|
|
588
|
-
|
|
589
|
-
|
|
590
|
-
|
|
1327
|
+
/**
|
|
1328
|
+
* The decimal amount for the currency.
|
|
1329
|
+
*/
|
|
1330
|
+
value?: number;
|
|
1331
|
+
}
|
|
1332
|
+
}
|
|
591
1333
|
|
|
1334
|
+
/**
|
|
1335
|
+
* The job: title, hours, and country-specific details.
|
|
1336
|
+
*/
|
|
1337
|
+
export interface Employment {
|
|
592
1338
|
/**
|
|
593
|
-
*
|
|
1339
|
+
* Employment type id from GET /employment-types/. Starting with API version
|
|
1340
|
+
* 2025-08-01, a contractor employment type changes which fields are required or
|
|
1341
|
+
* ignored. Call GET /hire-requirements/ for the applicable rules.
|
|
594
1342
|
*/
|
|
595
|
-
|
|
1343
|
+
employment_type_id: string;
|
|
596
1344
|
|
|
597
1345
|
/**
|
|
598
|
-
*
|
|
1346
|
+
* Start date in YYYY-MM-DD format.
|
|
599
1347
|
*/
|
|
600
|
-
|
|
1348
|
+
start_date: string;
|
|
601
1349
|
|
|
602
1350
|
/**
|
|
603
|
-
*
|
|
1351
|
+
* Job title.
|
|
604
1352
|
*/
|
|
605
|
-
|
|
1353
|
+
title: string;
|
|
606
1354
|
|
|
607
1355
|
/**
|
|
608
|
-
*
|
|
1356
|
+
* Colombia statutory occupational-risk insurance contribution percentage, based on
|
|
1357
|
+
* the work's hazard class: class I (minimal risk) is 0.5220; class II (low risk)
|
|
1358
|
+
* is 1.0440; class III (medium risk) is 2.4360; class IV (high risk) is 4.3500;
|
|
1359
|
+
* class V (maximum risk) is 6.9600. Select the rate for the employer-assessed
|
|
1360
|
+
* occupational risk class. Send the exact numeric string without a percent sign.
|
|
1361
|
+
* Other values reject the whole request during schema validation. Required for
|
|
1362
|
+
* Colombia direct hire when the selected legal entity uses Rippling Standard
|
|
1363
|
+
* Global Payroll; rejected for other entities, EOR, and other countries. Before
|
|
1364
|
+
* POST /hires/, call GET /hire-requirements/ with country_code=CO,
|
|
1365
|
+
* hire_type=direct_hire, and legal_entity_id from GET /company-legal-entities/ to
|
|
1366
|
+
* resolve this field's availability and requiredness. Without legal_entity_id,
|
|
1367
|
+
* these rules remain unresolved. An incorrect or missing value fails the hire item
|
|
1368
|
+
* with invalid_request before creation.
|
|
609
1369
|
*/
|
|
610
|
-
|
|
1370
|
+
arl_risk_percentage?: '0.5220' | '1.0440' | '2.4360' | '4.3500' | '6.9600';
|
|
611
1371
|
|
|
612
1372
|
/**
|
|
613
|
-
*
|
|
1373
|
+
* Whether the person is legally authorized to work in the work_location country.
|
|
1374
|
+
* Provide only when listed by GET /hire-requirements/; true confirms authorization
|
|
1375
|
+
* and false may make the hire ineligible.
|
|
614
1376
|
*/
|
|
615
|
-
|
|
1377
|
+
authorized_to_work?: boolean;
|
|
616
1378
|
|
|
617
1379
|
/**
|
|
618
|
-
*
|
|
1380
|
+
* Brazil Classificação Brasileira de Ocupações occupation code, formatted as
|
|
1381
|
+
* NNNN-NN, such as 2124-05. Required for Brazil EOR and for direct hires whose
|
|
1382
|
+
* legal entity uses Rippling Standard Global Payroll; optional for other Brazil
|
|
1383
|
+
* direct hires. Resolve this requirement by calling GET /hire-requirements/ with
|
|
1384
|
+
* country_code=BR, hire_type=direct_hire, and legal_entity_id set to the selected
|
|
1385
|
+
* entity's id from GET /company-legal-entities/. Missing a required code causes
|
|
1386
|
+
* the hire item to fail with invalid_request before creation.
|
|
619
1387
|
*/
|
|
620
|
-
|
|
1388
|
+
cbo_code?: string;
|
|
621
1389
|
|
|
622
1390
|
/**
|
|
623
|
-
*
|
|
1391
|
+
* Collective-bargaining coverage and the applicable agreement identifiers.
|
|
624
1392
|
*/
|
|
625
|
-
|
|
1393
|
+
collective_bargaining?: Employment.CollectiveBargaining;
|
|
626
1394
|
|
|
627
1395
|
/**
|
|
628
|
-
*
|
|
1396
|
+
* Mexico EOR. Free-text description of equipment the company assigns. Optional.
|
|
629
1397
|
*/
|
|
630
|
-
|
|
1398
|
+
company_equipment?: string;
|
|
631
1399
|
|
|
632
1400
|
/**
|
|
633
|
-
*
|
|
1401
|
+
* Whether the hiring company conducts business involving cryptocurrency or another
|
|
1402
|
+
* digital currency. Required for China EOR hires. A true value may make the hire
|
|
1403
|
+
* ineligible for the selected EOR service.
|
|
634
1404
|
*/
|
|
635
|
-
|
|
1405
|
+
company_uses_digital_currency?: boolean;
|
|
636
1406
|
|
|
637
1407
|
/**
|
|
638
|
-
*
|
|
1408
|
+
* Employment term: ongoing with no predetermined end or fixed for a defined term.
|
|
639
1409
|
*/
|
|
640
|
-
|
|
1410
|
+
contract?: Employment.Contract;
|
|
641
1411
|
|
|
642
1412
|
/**
|
|
643
|
-
*
|
|
1413
|
+
* COMPANY_OWN_ENTITY hires the contractor on the company's own legal entity. Send
|
|
1414
|
+
* that entity in employment.legal_entity_id. Send this when the company is fully
|
|
1415
|
+
* migrated to Global Payroll and the work location is in a Contractor of Record
|
|
1416
|
+
* state. Omit for non-contractor hires. When the hiring flow requires it and it is
|
|
1417
|
+
* omitted, the hire stays incomplete.
|
|
644
1418
|
*/
|
|
645
|
-
|
|
1419
|
+
contractor_paying_entity_type?: 'COMPANY_OWN_ENTITY';
|
|
646
1420
|
|
|
647
1421
|
/**
|
|
648
|
-
*
|
|
1422
|
+
* Colombia social-security contributor category. DEPENDENT means a worker under a
|
|
1423
|
+
* standard employment contract. PENSIONER means a pensioner who continues to work.
|
|
1424
|
+
* APPRENTICE means a worker under a learning contract (contrato de aprendizaje).
|
|
1425
|
+
* PRODUCTIVE_APPRENTICE means an apprentice in the productive phase of that
|
|
1426
|
+
* contract. RETIREMENT_PENSIONER means a retired pensioner receiving retirement
|
|
1427
|
+
* benefits. Required for Colombia direct hire when the selected legal entity uses
|
|
1428
|
+
* Rippling Standard Global Payroll; rejected for other entities, EOR, and other
|
|
1429
|
+
* countries. Before POST /hires/, call GET /hire-requirements/ with
|
|
1430
|
+
* country_code=CO, hire_type=direct_hire, and legal_entity_id from GET
|
|
1431
|
+
* /company-legal-entities/ to resolve this field's availability and requiredness.
|
|
1432
|
+
* Without legal_entity_id, these rules remain unresolved. An incorrect or missing
|
|
1433
|
+
* value fails the hire item with invalid_request before creation.
|
|
649
1434
|
*/
|
|
650
|
-
|
|
1435
|
+
contributor_type?:
|
|
1436
|
+
| 'DEPENDENT'
|
|
1437
|
+
| 'PENSIONER'
|
|
1438
|
+
| 'APPRENTICE'
|
|
1439
|
+
| 'PRODUCTIVE_APPRENTICE'
|
|
1440
|
+
| 'RETIREMENT_PENSIONER';
|
|
651
1441
|
|
|
652
1442
|
/**
|
|
653
|
-
*
|
|
1443
|
+
* Mexico direct hire. THIRTY_DAYS divides monthly pay by 30.
|
|
1444
|
+
* THIRTY_POINT_FOUR_DAYS divides monthly pay by 30.4. Required when the selected
|
|
1445
|
+
* legal entity uses Rippling Global Payroll; otherwise optional. Check the
|
|
1446
|
+
* entity's Global Payroll settings in Rippling.
|
|
654
1447
|
*/
|
|
655
|
-
|
|
1448
|
+
daily_salary_basis?: 'THIRTY_DAYS' | 'THIRTY_POINT_FOUR_DAYS';
|
|
656
1449
|
|
|
657
1450
|
/**
|
|
658
|
-
*
|
|
1451
|
+
* Department id from GET /departments/.
|
|
659
1452
|
*/
|
|
660
|
-
|
|
1453
|
+
department_id?: string;
|
|
661
1454
|
|
|
662
1455
|
/**
|
|
663
|
-
*
|
|
1456
|
+
* Plain-text summary of the role's primary responsibilities and day-to-day work.
|
|
664
1457
|
*/
|
|
665
|
-
|
|
1458
|
+
duties?: string;
|
|
666
1459
|
|
|
667
1460
|
/**
|
|
668
|
-
*
|
|
1461
|
+
* Employment model for a Germany EOR hire. Use AUG for employee leasing or
|
|
1462
|
+
* CONSULTANT for a remote consultant engagement. CONSULTANT is valid only when
|
|
1463
|
+
* work_location.is_remote is true.
|
|
669
1464
|
*/
|
|
670
|
-
|
|
1465
|
+
employment_model?: 'AUG' | 'CONSULTANT';
|
|
671
1466
|
|
|
672
1467
|
/**
|
|
673
|
-
*
|
|
1468
|
+
* Professional field and consulting-project details required by the hire context.
|
|
674
1469
|
*/
|
|
675
|
-
|
|
1470
|
+
engagement?: Employment.Engagement;
|
|
676
1471
|
|
|
677
1472
|
/**
|
|
678
|
-
*
|
|
1473
|
+
* Confirms that the caller has reviewed and accepts the estimated EOR costs and
|
|
1474
|
+
* applicable Rippling EOR terms for this hire. Required for EOR hires and must be
|
|
1475
|
+
* true; false means the hire cannot proceed. See
|
|
1476
|
+
* https://help.rippling.com/s/article/850659217136 and
|
|
1477
|
+
* https://app.rippling.com/legal/eor.
|
|
679
1478
|
*/
|
|
680
|
-
|
|
1479
|
+
eor_costs_acknowledged?: boolean;
|
|
681
1480
|
|
|
682
1481
|
/**
|
|
683
|
-
*
|
|
1482
|
+
* Confirms that the caller has reviewed and accepts Rippling's EOR eligibility
|
|
1483
|
+
* conditions for this proposed hire, including the EOR screenout guidance.
|
|
1484
|
+
* Required for EOR hires and must be true; false means the hire cannot proceed.
|
|
1485
|
+
* See https://help.rippling.com/s/article/757822852718.
|
|
684
1486
|
*/
|
|
685
|
-
|
|
1487
|
+
eor_eligibility_terms_acknowledged?: boolean;
|
|
686
1488
|
|
|
687
1489
|
/**
|
|
688
|
-
*
|
|
1490
|
+
* Previous employer-of-record provider and tenure details. Required for Colombia
|
|
1491
|
+
* and Philippines EOR when is_eor_transfer is true. Rejected when is_eor_transfer
|
|
1492
|
+
* is false or omitted, for direct hire, or for other countries. Missing or
|
|
1493
|
+
* incompatible details fail the hire item with invalid_request before creation.
|
|
689
1494
|
*/
|
|
690
|
-
|
|
1495
|
+
eor_transfer_details?: Employment.EorTransferDetails;
|
|
691
1496
|
|
|
692
1497
|
/**
|
|
693
|
-
*
|
|
1498
|
+
* Colombian employer-affiliated family compensation fund (caja de compensacion
|
|
1499
|
+
* familiar), which provides social benefits to workers and their families.
|
|
1500
|
+
* Identifies the fund receiving the employer's required payroll contributions for
|
|
1501
|
+
* this worker. Select the employer's affiliated fund using an exact allowed value
|
|
1502
|
+
* from GET /hire-requirements/. Required for Colombia direct hire when the
|
|
1503
|
+
* selected legal entity uses Rippling Standard Global Payroll; rejected for other
|
|
1504
|
+
* entities, EOR, and other countries. Before POST /hires/, call GET
|
|
1505
|
+
* /hire-requirements/ with country_code=CO, hire_type=direct_hire, and
|
|
1506
|
+
* legal_entity_id from GET /company-legal-entities/ to resolve this field's
|
|
1507
|
+
* availability and requiredness. Without legal_entity_id, these rules remain
|
|
1508
|
+
* unresolved. An incorrect or missing value fails the hire item with
|
|
1509
|
+
* invalid_request before creation.
|
|
694
1510
|
*/
|
|
695
|
-
|
|
1511
|
+
family_compensation_fund?: string;
|
|
696
1512
|
|
|
697
1513
|
/**
|
|
698
|
-
*
|
|
1514
|
+
* Additional German framework-agreement clauses that are not already represented
|
|
1515
|
+
* by compensation, hours, or vacation.
|
|
699
1516
|
*/
|
|
700
|
-
|
|
1517
|
+
framework_agreement?: Employment.FrameworkAgreement;
|
|
701
1518
|
|
|
702
1519
|
/**
|
|
703
|
-
*
|
|
1520
|
+
* French Professions et Catégories Socioprofessionnelles (PCS) code that
|
|
1521
|
+
* classifies the occupation performed by this role, such as 100X. Use a code
|
|
1522
|
+
* allowed by GET /hire-requirements/.
|
|
704
1523
|
*/
|
|
705
|
-
|
|
1524
|
+
french_occupation_classification_code?: string;
|
|
706
1525
|
|
|
707
1526
|
/**
|
|
708
|
-
*
|
|
1527
|
+
* Taiwan EOR gender. Uses the same GenderIdentification values as workers.gender.
|
|
1528
|
+
* The Taiwan hiring flow accepts MALE and FEMALE. NONBINARY is accepted only when
|
|
1529
|
+
* the company has non-binary gender enabled. The other GenderIdentification values
|
|
1530
|
+
* are rejected. Omit this for Taiwan direct hire and for every other country.
|
|
709
1531
|
*/
|
|
710
|
-
|
|
1532
|
+
gender?:
|
|
1533
|
+
| 'MALE'
|
|
1534
|
+
| 'FEMALE'
|
|
1535
|
+
| 'NONBINARY'
|
|
1536
|
+
| 'UNDETERMINED'
|
|
1537
|
+
| 'DIVERSE'
|
|
1538
|
+
| 'DOES_NOT_APPLY'
|
|
1539
|
+
| 'PREFER_NOT_TO_SAY';
|
|
711
1540
|
|
|
712
1541
|
/**
|
|
713
|
-
* Required for
|
|
1542
|
+
* Required for Taiwan EOR. Whether the person is a citizen of Taiwan. Send true.
|
|
1543
|
+
* False is rejected because the visa questions that follow are not on this API
|
|
1544
|
+
* yet.
|
|
714
1545
|
*/
|
|
715
|
-
|
|
1546
|
+
has_citizenship_of_country?: boolean;
|
|
716
1547
|
|
|
717
1548
|
/**
|
|
718
1549
|
* Required for GB and IE EOR. True if this hire is from a merger or acquisition.
|
|
@@ -720,257 +1551,342 @@ export namespace HireCreateParams {
|
|
|
720
1551
|
hired_due_to_merger?: boolean;
|
|
721
1552
|
|
|
722
1553
|
/**
|
|
723
|
-
*
|
|
724
|
-
|
|
725
|
-
|
|
726
|
-
|
|
727
|
-
/**
|
|
728
|
-
* Required for CN EOR. True if the company works with digital currency.
|
|
1554
|
+
* Taiwan EOR home address. This is the same Address object used elsewhere. type
|
|
1555
|
+
* and formatted may be omitted; formatted is read-only. Taiwan EOR only. Omit this
|
|
1556
|
+
* for Taiwan direct hire and for every other country.
|
|
729
1557
|
*/
|
|
730
|
-
|
|
1558
|
+
home_address?: Shared.Address;
|
|
731
1559
|
|
|
732
1560
|
/**
|
|
733
|
-
*
|
|
1561
|
+
* Required for Uruguay EOR. Whether the company provides home-office equipment.
|
|
1562
|
+
* Send true or false. Omit this for Uruguay direct hire and for every other
|
|
1563
|
+
* country.
|
|
734
1564
|
*/
|
|
735
|
-
|
|
1565
|
+
home_office_equipment_provided?: boolean;
|
|
736
1566
|
|
|
737
1567
|
/**
|
|
738
|
-
*
|
|
1568
|
+
* Required for Taiwan EOR. Whether the person intends to leave Taiwan. Send false.
|
|
1569
|
+
* True is rejected because the reason question that follows is not on this API
|
|
1570
|
+
* yet.
|
|
739
1571
|
*/
|
|
740
|
-
|
|
1572
|
+
intention_to_leave_country?: boolean;
|
|
741
1573
|
|
|
742
1574
|
/**
|
|
743
|
-
*
|
|
1575
|
+
* Whether the worker's employment is transferring from another employer-of-record
|
|
1576
|
+
* provider. Send true for an EOR-to-EOR transfer and false when this is not an EOR
|
|
1577
|
+
* transfer. Required for EOR hires outside the United States.
|
|
744
1578
|
*/
|
|
745
|
-
|
|
1579
|
+
is_eor_transfer?: boolean;
|
|
746
1580
|
|
|
747
1581
|
/**
|
|
748
|
-
*
|
|
1582
|
+
* Whether the role is legally or contractually classified as shift work, rather
|
|
1583
|
+
* than merely having hours outside a typical workday. Send true when the
|
|
1584
|
+
* applicable employment terms designate the worker as a shift worker; send false
|
|
1585
|
+
* when they do not. Required only when listed by GET /hire-requirements/.
|
|
749
1586
|
*/
|
|
750
1587
|
is_shift_worker?: boolean;
|
|
751
1588
|
|
|
752
1589
|
/**
|
|
753
|
-
*
|
|
754
|
-
*
|
|
1590
|
+
* Whether the role's primary work is technology-focused. Required for China EOR
|
|
1591
|
+
* hires when social_contribution_city is SHANGHAI or BEIJING; omit it for other
|
|
1592
|
+
* cities.
|
|
755
1593
|
*/
|
|
756
|
-
|
|
1594
|
+
is_technology_focused_role?: boolean;
|
|
757
1595
|
|
|
758
1596
|
/**
|
|
759
|
-
*
|
|
1597
|
+
* US EEO-1 job category for the role. Use a value returned by GET
|
|
1598
|
+
* /hire-requirements/. Omit for contractor hires.
|
|
760
1599
|
*/
|
|
761
|
-
|
|
1600
|
+
job_classification?: string;
|
|
762
1601
|
|
|
763
1602
|
/**
|
|
764
|
-
* Job function
|
|
1603
|
+
* Job function that categorizes the type of work performed by this role. Send an
|
|
1604
|
+
* id returned by GET /job-functions/.
|
|
765
1605
|
*/
|
|
766
1606
|
job_function_id?: string;
|
|
767
1607
|
|
|
768
1608
|
/**
|
|
769
|
-
*
|
|
770
|
-
|
|
771
|
-
|
|
772
|
-
|
|
773
|
-
/**
|
|
774
|
-
* Legal entity id from GET /legal-entities/. Required for direct_hire. Omit for
|
|
775
|
-
* eor.
|
|
1609
|
+
* Send the legal entity id from GET /company-legal-entities/. Required for
|
|
1610
|
+
* direct_hire; omit for eor. Rippling validates that the selected entity belongs
|
|
1611
|
+
* to the company and supports the requested hire.
|
|
776
1612
|
*/
|
|
777
1613
|
legal_entity_id?: string;
|
|
778
1614
|
|
|
779
1615
|
/**
|
|
780
|
-
*
|
|
1616
|
+
* Job level for the role within the company's job architecture. Send an id
|
|
1617
|
+
* returned by GET /levels/.
|
|
781
1618
|
*/
|
|
782
1619
|
level_id?: string;
|
|
783
1620
|
|
|
784
|
-
/**
|
|
785
|
-
* Unpaid lunch break length in minutes.
|
|
786
|
-
*/
|
|
787
|
-
lunch_break_minutes?: number;
|
|
788
|
-
|
|
789
1621
|
/**
|
|
790
1622
|
* Manager worker id from GET /workers/. Omit or null for no manager.
|
|
791
1623
|
*/
|
|
792
1624
|
manager_id?: string;
|
|
793
1625
|
|
|
794
1626
|
/**
|
|
795
|
-
*
|
|
796
|
-
|
|
797
|
-
|
|
798
|
-
|
|
799
|
-
|
|
800
|
-
*
|
|
801
|
-
*/
|
|
802
|
-
minimum_contract_length_value?: number;
|
|
803
|
-
|
|
804
|
-
/**
|
|
805
|
-
* Required for FR EOR when a mission applies. Description of the mission or
|
|
806
|
-
* project.
|
|
807
|
-
*/
|
|
808
|
-
mission_description?: string;
|
|
809
|
-
|
|
810
|
-
/**
|
|
811
|
-
* Modern award that covers this job, if any.
|
|
812
|
-
*/
|
|
813
|
-
modern_award?: string;
|
|
814
|
-
|
|
815
|
-
/**
|
|
816
|
-
* Classification under that modern award.
|
|
817
|
-
*/
|
|
818
|
-
modern_award_classification?: string;
|
|
819
|
-
|
|
820
|
-
/**
|
|
821
|
-
* Sub-level within that modern award classification.
|
|
822
|
-
*/
|
|
823
|
-
modern_award_sub_level?: string;
|
|
824
|
-
|
|
825
|
-
/**
|
|
826
|
-
* Months of experience at this level before joining.
|
|
827
|
-
*/
|
|
828
|
-
months_of_experience_at_level?: number;
|
|
829
|
-
|
|
830
|
-
/**
|
|
831
|
-
* Set to true if they work remotely more than two days a week.
|
|
832
|
-
*/
|
|
833
|
-
more_than_two_remote_days?: boolean;
|
|
834
|
-
|
|
835
|
-
/**
|
|
836
|
-
* Extra employer MPF contribution, if you offer one.
|
|
1627
|
+
* Confirms that the proposed hire satisfies Rippling's country-specific EOR
|
|
1628
|
+
* eligibility screening criteria. Required for Hong Kong, Switzerland, New
|
|
1629
|
+
* Zealand, Mexico, Colombia, Philippines, Uruguay, and Taiwan EOR hires. Must be
|
|
1630
|
+
* `true`; `false` means the hire cannot proceed. Rippling maps this assertion to
|
|
1631
|
+
* the applicable country-specific screening response. See
|
|
1632
|
+
* https://help.rippling.com/s/article/757822852718.
|
|
837
1633
|
*/
|
|
838
|
-
|
|
1634
|
+
meets_eor_eligibility_criteria?: boolean;
|
|
839
1635
|
|
|
840
1636
|
/**
|
|
841
|
-
*
|
|
1637
|
+
* Australian modern-award coverage and classification for this job. Required for
|
|
1638
|
+
* Australian hires. Send coverage NOT_COVERED when no award applies; otherwise
|
|
1639
|
+
* send COVERED with the applicable award and classification identifiers.
|
|
842
1640
|
*/
|
|
843
|
-
|
|
1641
|
+
modern_award?: Employment.ModernAward;
|
|
844
1642
|
|
|
845
1643
|
/**
|
|
846
|
-
*
|
|
1644
|
+
* Whether the proposed employment terms include a non-compete restriction. Provide
|
|
1645
|
+
* only when listed by GET /hire-requirements/. For Colombia and Philippines EOR,
|
|
1646
|
+
* this chooses the country's standard non-compete and/or non-solicit clause as a
|
|
1647
|
+
* whole: true includes it and false omits it. These restrictions cannot be
|
|
1648
|
+
* selected separately through this field. Required for those EOR hires; omit for
|
|
1649
|
+
* their direct hires. Do not send for Brazil EOR; it is rejected. Use
|
|
1650
|
+
* non_solicitation for the separate Brazil EOR non-solicitation clause.
|
|
847
1651
|
*/
|
|
848
1652
|
non_compete?: boolean;
|
|
849
1653
|
|
|
850
1654
|
/**
|
|
851
|
-
*
|
|
852
|
-
* agreement.
|
|
1655
|
+
* Whether to include a non-solicitation clause in the worker's employment
|
|
1656
|
+
* agreement. Required for Brazil EOR: true includes the clause and false excludes
|
|
1657
|
+
* it. Rejected for all other hire contexts.
|
|
853
1658
|
*/
|
|
854
|
-
|
|
1659
|
+
non_solicitation?: boolean;
|
|
855
1660
|
|
|
856
1661
|
/**
|
|
857
|
-
*
|
|
1662
|
+
* Notice-period arrangement for ending employment: standard or a custom period.
|
|
858
1663
|
*/
|
|
859
1664
|
notice?: Employment.Notice;
|
|
860
1665
|
|
|
861
1666
|
/**
|
|
862
|
-
*
|
|
1667
|
+
* The role's overtime classification under applicable employment law. EXEMPT means
|
|
1668
|
+
* overtime requirements do not apply; NON_EXEMPT means the worker may be entitled
|
|
1669
|
+
* to overtime pay. Omit for contractor hires. Required for Colombia hires and
|
|
1670
|
+
* Philippines direct hire. Colombia EOR INTEGRAL salary requires EXEMPT. Do not
|
|
1671
|
+
* send for Philippines EOR: worker_category determines it. Do not send for Brazil
|
|
1672
|
+
* EOR; Brazil EOR derives this from position_of_trust.
|
|
863
1673
|
*/
|
|
864
|
-
|
|
1674
|
+
overtime_classification?: 'EXEMPT' | 'NON_EXEMPT';
|
|
865
1675
|
|
|
866
1676
|
/**
|
|
867
|
-
*
|
|
1677
|
+
* Whether the hiring company owns a legal entity in the worker's country. Required
|
|
1678
|
+
* only when listed by GET /hire-requirements/; for Netherlands EOR hires, this
|
|
1679
|
+
* answer determines the applicable hiring path.
|
|
868
1680
|
*/
|
|
869
|
-
|
|
1681
|
+
owns_entity_in_country?: boolean;
|
|
870
1682
|
|
|
871
1683
|
/**
|
|
872
|
-
*
|
|
1684
|
+
* Mexico EOR. True when pay is in a currency other than Mexican pesos. Optional.
|
|
1685
|
+
* Omitting this uses false.
|
|
873
1686
|
*/
|
|
874
|
-
|
|
1687
|
+
paid_in_foreign_currency?: boolean;
|
|
875
1688
|
|
|
876
1689
|
/**
|
|
877
|
-
*
|
|
1690
|
+
* Annual company-provided paid sick-day allowance, excluding any separate
|
|
1691
|
+
* statutory entitlement. Provide only when listed by GET /hire-requirements/.
|
|
878
1692
|
*/
|
|
879
1693
|
paid_sick_days?: number;
|
|
880
1694
|
|
|
881
1695
|
/**
|
|
882
|
-
*
|
|
1696
|
+
* Required for Uruguay EOR. Date the passport or identification document was
|
|
1697
|
+
* issued, as YYYY-MM-DD. Omit this for Uruguay direct hire and for every other
|
|
1698
|
+
* country.
|
|
883
1699
|
*/
|
|
884
|
-
|
|
1700
|
+
passport_issue_date?: string;
|
|
885
1701
|
|
|
886
1702
|
/**
|
|
887
|
-
*
|
|
1703
|
+
* Required for Uruguay EOR. Place that issued the passport or identification
|
|
1704
|
+
* document. Omit this for Uruguay direct hire and for every other country.
|
|
888
1705
|
*/
|
|
889
|
-
|
|
1706
|
+
passport_issue_location?: string;
|
|
890
1707
|
|
|
891
1708
|
/**
|
|
892
|
-
*
|
|
1709
|
+
* Required for Uruguay EOR. Passport or national ID number. Omit this for Uruguay
|
|
1710
|
+
* direct hire and for every other country.
|
|
893
1711
|
*/
|
|
894
|
-
|
|
1712
|
+
passport_number?: string;
|
|
895
1713
|
|
|
896
1714
|
/**
|
|
897
|
-
*
|
|
1715
|
+
* Required for Mexico direct hire and EOR, and Brazil EOR. Rejected for Brazil
|
|
1716
|
+
* direct hire and all other countries. True when this worker is a manager or
|
|
1717
|
+
* director in a position of trust; otherwise false. For Brazil EOR only, Rippling
|
|
1718
|
+
* derives overtime_classification from this answer. True makes the worker exempt
|
|
1719
|
+
* from overtime (EXEMPT); false makes them non-exempt (NON_EXEMPT). Do not send
|
|
1720
|
+
* overtime_classification for Brazil EOR.
|
|
898
1721
|
*/
|
|
899
|
-
|
|
1722
|
+
position_of_trust?: boolean;
|
|
900
1723
|
|
|
901
1724
|
/**
|
|
902
|
-
*
|
|
1725
|
+
* Probation arrangement for the employment: standard, a shorter custom period, or
|
|
1726
|
+
* none.
|
|
903
1727
|
*/
|
|
904
|
-
|
|
1728
|
+
probation?: Employment.Probation;
|
|
905
1729
|
|
|
906
1730
|
/**
|
|
907
|
-
*
|
|
1731
|
+
* Whether the worker is expected to receive tips as part of this job. Omit for
|
|
1732
|
+
* contractor hires.
|
|
908
1733
|
*/
|
|
909
|
-
|
|
1734
|
+
receives_tips?: boolean;
|
|
910
1735
|
|
|
911
1736
|
/**
|
|
912
|
-
*
|
|
913
|
-
*
|
|
914
|
-
*
|
|
915
|
-
*
|
|
1737
|
+
* The role's usual working days and, where required, its local daily start and end
|
|
1738
|
+
* times. This describes the regular work pattern; weekly_hours remains the total
|
|
1739
|
+
* expected hours per week. For Mexico EOR and Brazil hires, only days is accepted.
|
|
1740
|
+
* For Brazil hires, days must be nonempty when the object is supplied. Omitting
|
|
1741
|
+
* the object defaults to Monday through Friday for Mexico EOR and Brazil hires.
|
|
1742
|
+
* Omit for Colombia hires and Philippines direct hire. Required for Philippines
|
|
1743
|
+
* EOR only when weekly_work_schedule is not enabled; include days, start_time,
|
|
1744
|
+
* end_time, and time_zone. When weekly_work_schedule is enabled, omit this object
|
|
1745
|
+
* and supply that schedule instead. Before POST /hires/, call GET
|
|
1746
|
+
* /hire-requirements/ with country_code and hire_type to resolve schedule
|
|
1747
|
+
* availability and requiredness for the company.
|
|
916
1748
|
*/
|
|
917
|
-
|
|
1749
|
+
regular_working_hours?: Employment.RegularWorkingHours;
|
|
918
1750
|
|
|
919
1751
|
/**
|
|
920
|
-
*
|
|
1752
|
+
* Whether the employment terms require the worker to complete training for this
|
|
1753
|
+
* role. For Spanish direct hires, send true when training is required and false
|
|
1754
|
+
* when it is not.
|
|
921
1755
|
*/
|
|
922
|
-
|
|
1756
|
+
requires_training?: boolean;
|
|
923
1757
|
|
|
924
1758
|
/**
|
|
925
|
-
*
|
|
1759
|
+
* Mexico direct hire pay mix. FIXED is salary only. MIXED is salary plus bonus.
|
|
1760
|
+
* VARIABLE is a small base salary and a larger bonus. Required when the selected
|
|
1761
|
+
* legal entity uses Rippling Global Payroll; otherwise optional. Check the
|
|
1762
|
+
* entity's Global Payroll settings in Rippling.
|
|
926
1763
|
*/
|
|
927
|
-
|
|
1764
|
+
salary_composition?: 'FIXED' | 'MIXED' | 'VARIABLE';
|
|
928
1765
|
|
|
929
1766
|
/**
|
|
930
|
-
*
|
|
931
|
-
*
|
|
1767
|
+
* Colombia salary arrangement: ORDINARY or INTEGRAL. Required for EOR and direct
|
|
1768
|
+
* hire using Rippling Standard Global Payroll; rejected for other entities and
|
|
1769
|
+
* countries. For EOR, INTEGRAL requires EXEMPT overtime classification and has no
|
|
1770
|
+
* separate severance, severance interest, or service bonus. For ORDINARY, Rippling
|
|
1771
|
+
* calculates these components from base pay. Before POST /hires/, call GET
|
|
1772
|
+
* /hire-requirements/ with country_code=CO and hire_type=eor, or
|
|
1773
|
+
* hire_type=direct_hire and legal_entity_id from GET /company-legal-entities/, to
|
|
1774
|
+
* resolve this field's availability and requiredness. Direct-hire rules remain
|
|
1775
|
+
* unresolved without legal_entity_id. An incorrect or missing value fails the hire
|
|
1776
|
+
* item with invalid_request before creation.
|
|
932
1777
|
*/
|
|
933
|
-
|
|
1778
|
+
salary_type?: 'ORDINARY' | 'INTEGRAL';
|
|
934
1779
|
|
|
935
1780
|
/**
|
|
936
|
-
*
|
|
1781
|
+
* The role's recurring schedule pattern: FIXED_SCHEDULE for a consistent schedule
|
|
1782
|
+
* or ROTATING_SHIFT_SCHEDULE for shifts that rotate. Provide only when listed by
|
|
1783
|
+
* GET /hire-requirements/.
|
|
937
1784
|
*/
|
|
938
|
-
|
|
1785
|
+
schedule_type?: 'FIXED_SCHEDULE' | 'ROTATING_SHIFT_SCHEDULE';
|
|
939
1786
|
|
|
940
1787
|
/**
|
|
941
|
-
*
|
|
1788
|
+
* US Standard Occupational Classification code for the job, such as 15-1252. Omit
|
|
1789
|
+
* for contractor hires.
|
|
942
1790
|
*/
|
|
943
|
-
|
|
1791
|
+
soc_code?: string;
|
|
944
1792
|
|
|
945
1793
|
/**
|
|
946
|
-
*
|
|
1794
|
+
* Chinese city whose local social-insurance and statutory contribution rules apply
|
|
1795
|
+
* to the worker, such as SHANGHAI or BEIJING. Required for China EOR hires. Use a
|
|
1796
|
+
* value returned by GET /hire-requirements/.
|
|
947
1797
|
*/
|
|
948
|
-
|
|
1798
|
+
social_contribution_city?: string;
|
|
949
1799
|
|
|
950
1800
|
/**
|
|
951
|
-
*
|
|
1801
|
+
* Country-specific statutory contract code. For Spain, use an allowed value
|
|
1802
|
+
* returned by GET /hire-requirements/ that is compatible with contract.type and
|
|
1803
|
+
* employment_type_id.
|
|
952
1804
|
*/
|
|
953
|
-
|
|
1805
|
+
statutory_contract_classification?: string;
|
|
954
1806
|
|
|
955
1807
|
/**
|
|
956
|
-
*
|
|
1808
|
+
* Statutory employment classification for the role. For Germany, choose the
|
|
1809
|
+
* applicable value returned by GET /hire-requirements/, such as EMPLOYEE,
|
|
1810
|
+
* APPRENTICE, WORKING_STUDENT, INTERN, MARGINALLY_EMPLOYED, SHORT_TERM_WORK, or
|
|
1811
|
+
* MANAGING_DIRECTOR. Rippling derives the internal classification workflow from
|
|
1812
|
+
* this value.
|
|
957
1813
|
*/
|
|
958
|
-
|
|
1814
|
+
statutory_job_classification?: string;
|
|
959
1815
|
|
|
960
1816
|
/**
|
|
961
|
-
*
|
|
1817
|
+
* Employment documents required to prepare the hire.
|
|
962
1818
|
*/
|
|
963
|
-
|
|
1819
|
+
supporting_documents?: Employment.SupportingDocuments;
|
|
964
1820
|
|
|
965
1821
|
/**
|
|
966
|
-
*
|
|
1822
|
+
* Required for Taiwan EOR. Taiwan tax identification number. Omit this for Taiwan
|
|
1823
|
+
* direct hire and for every other country.
|
|
967
1824
|
*/
|
|
968
|
-
|
|
1825
|
+
tax_id?: string;
|
|
969
1826
|
|
|
970
1827
|
/**
|
|
971
|
-
*
|
|
1828
|
+
* Teams the worker should belong to. Send team ids returned by GET /teams/. Omit
|
|
1829
|
+
* for no team assignments.
|
|
972
1830
|
*/
|
|
973
|
-
|
|
1831
|
+
team_ids?: Array<string>;
|
|
1832
|
+
|
|
1833
|
+
/**
|
|
1834
|
+
* Abbreviated name of the worker's Brazilian labor union. Required only for Brazil
|
|
1835
|
+
* direct hires whose legal entity uses Rippling Standard Global Payroll; rejected
|
|
1836
|
+
* for other hires. Resolve this requirement by calling GET /hire-requirements/
|
|
1837
|
+
* with country_code=BR, hire_type=direct_hire, and legal_entity_id set to the
|
|
1838
|
+
* selected entity's id from GET /company-legal-entities/. For Brazil direct hire,
|
|
1839
|
+
* violating this entity-specific requirement causes the hire item to fail with
|
|
1840
|
+
* invalid_request before creation.
|
|
1841
|
+
*/
|
|
1842
|
+
union_abbreviation?: string;
|
|
1843
|
+
|
|
1844
|
+
/**
|
|
1845
|
+
* Brazilian labor union's CNPJ registration number, formatted as
|
|
1846
|
+
* NN.NNN.NNN/NNNN-NN, such as 12.345.678/0001-90. Required only for Brazil direct
|
|
1847
|
+
* hires whose legal entity uses Rippling Standard Global Payroll; rejected for
|
|
1848
|
+
* other hires. Resolve this requirement by calling GET /hire-requirements/ with
|
|
1849
|
+
* country_code=BR, hire_type=direct_hire, and legal_entity_id set to the selected
|
|
1850
|
+
* entity's id from GET /company-legal-entities/. For Brazil direct hire, violating
|
|
1851
|
+
* this entity-specific requirement causes the hire item to fail with
|
|
1852
|
+
* invalid_request before creation.
|
|
1853
|
+
*/
|
|
1854
|
+
union_cnpj?: string;
|
|
1855
|
+
|
|
1856
|
+
/**
|
|
1857
|
+
* Name of the worker's Brazilian labor union. Required only for Brazil direct
|
|
1858
|
+
* hires whose legal entity uses Rippling Standard Global Payroll; rejected for
|
|
1859
|
+
* other hires. Resolve this requirement by calling GET /hire-requirements/ with
|
|
1860
|
+
* country_code=BR, hire_type=direct_hire, and legal_entity_id set to the selected
|
|
1861
|
+
* entity's id from GET /company-legal-entities/. For Brazil direct hire, violating
|
|
1862
|
+
* this entity-specific requirement causes the hire item to fail with
|
|
1863
|
+
* invalid_request before creation.
|
|
1864
|
+
*/
|
|
1865
|
+
union_name?: string;
|
|
1866
|
+
|
|
1867
|
+
/**
|
|
1868
|
+
* Month of the Brazilian labor union's annual collective bargaining negotiation,
|
|
1869
|
+
* using an uppercase English month name such as JANUARY. Required only for Brazil
|
|
1870
|
+
* direct hires whose legal entity uses Rippling Standard Global Payroll; rejected
|
|
1871
|
+
* for other hires. Resolve this requirement by calling GET /hire-requirements/
|
|
1872
|
+
* with country_code=BR, hire_type=direct_hire, and legal_entity_id set to the
|
|
1873
|
+
* selected entity's id from GET /company-legal-entities/. For Brazil direct hire,
|
|
1874
|
+
* violating this entity-specific requirement causes the hire item to fail with
|
|
1875
|
+
* invalid_request before creation.
|
|
1876
|
+
*/
|
|
1877
|
+
union_negotiation_month?:
|
|
1878
|
+
| 'JANUARY'
|
|
1879
|
+
| 'FEBRUARY'
|
|
1880
|
+
| 'MARCH'
|
|
1881
|
+
| 'APRIL'
|
|
1882
|
+
| 'MAY'
|
|
1883
|
+
| 'JUNE'
|
|
1884
|
+
| 'JULY'
|
|
1885
|
+
| 'AUGUST'
|
|
1886
|
+
| 'SEPTEMBER'
|
|
1887
|
+
| 'OCTOBER'
|
|
1888
|
+
| 'NOVEMBER'
|
|
1889
|
+
| 'DECEMBER';
|
|
974
1890
|
|
|
975
1891
|
/**
|
|
976
1892
|
* Set to true to start tenure on the start date. False keeps a prior tenure date
|
|
@@ -979,42 +1895,50 @@ export namespace HireCreateParams {
|
|
|
979
1895
|
use_default_tenure?: boolean;
|
|
980
1896
|
|
|
981
1897
|
/**
|
|
982
|
-
*
|
|
1898
|
+
* How annual paid vacation is determined: statutory entitlement or a custom annual
|
|
1899
|
+
* allowance. For Philippines EOR, custom vacation adds nonstatutory
|
|
1900
|
+
* additional_days instead of replacing total entitlement. Do not send for Colombia
|
|
1901
|
+
* or Philippines direct hire, or Brazil EOR, including an empty object.
|
|
983
1902
|
*/
|
|
984
1903
|
vacation?: Employment.Vacation;
|
|
985
1904
|
|
|
986
1905
|
/**
|
|
987
|
-
*
|
|
988
|
-
|
|
989
|
-
vacation_entitlement?: string;
|
|
990
|
-
|
|
991
|
-
/**
|
|
992
|
-
* Required for GB EOR. Vacation days that can roll over.
|
|
1906
|
+
* Maximum unused vacation days the worker may carry into the next leave year.
|
|
1907
|
+
* Provide only when listed by GET /hire-requirements/.
|
|
993
1908
|
*/
|
|
994
1909
|
vacation_rollover_days?: number;
|
|
995
1910
|
|
|
996
1911
|
/**
|
|
997
|
-
*
|
|
998
|
-
*
|
|
999
|
-
*
|
|
1000
|
-
*/
|
|
1001
|
-
variable_compensation_plan_file_id?: string;
|
|
1002
|
-
|
|
1003
|
-
/**
|
|
1004
|
-
* Hours this person is expected to work each week, such as 40. Full-time is
|
|
1005
|
-
* usually 40.
|
|
1912
|
+
* Expected working hours per week. Supports whole or fractional hours, such as 40
|
|
1913
|
+
* or 37.5. Rippling derives any internal weekly-hours classification from this
|
|
1914
|
+
* value. Omit for contractor hires.
|
|
1006
1915
|
*/
|
|
1007
1916
|
weekly_hours?: string;
|
|
1008
1917
|
|
|
1009
1918
|
/**
|
|
1010
|
-
*
|
|
1919
|
+
* Recurring work schedule for Colombia and Philippines direct hire or EOR when
|
|
1920
|
+
* working-hours schedules are enabled for the company and country and work-pattern
|
|
1921
|
+
* auto-assignment is disabled. Required in that configuration; rejected otherwise
|
|
1922
|
+
* and for other countries. Omit regular_working_hours when sending this object.
|
|
1923
|
+
* Before POST /hires/, call GET /hire-requirements/ with country_code and
|
|
1924
|
+
* hire_type to resolve schedule availability and requiredness for the company. A
|
|
1925
|
+
* missing schedule or incompatible company configuration fails the hire item with
|
|
1926
|
+
* invalid_request before creation. Colombia and Philippines hires with
|
|
1927
|
+
* work-pattern auto-assignment enabled cannot be created through this API, even
|
|
1928
|
+
* when this object is omitted; complete those hires in Rippling. They fail with
|
|
1929
|
+
* invalid_request before creation. Malformed objects reject the whole request
|
|
1930
|
+
* during schema validation. Paid-hour spans and weekly totals are also checked
|
|
1931
|
+
* before creation. Country-specific schedule policy is checked while saving hiring
|
|
1932
|
+
* pages; a policy violation can leave an incomplete hire with an id and
|
|
1933
|
+
* validation_failed errors.
|
|
1011
1934
|
*/
|
|
1012
|
-
|
|
1935
|
+
weekly_work_schedule?: Employment.WeeklyWorkSchedule;
|
|
1013
1936
|
|
|
1014
1937
|
/**
|
|
1015
|
-
* Work
|
|
1938
|
+
* Required for Uruguay EOR. Work authorization document number. Omit this for
|
|
1939
|
+
* Uruguay direct hire and for every other country.
|
|
1016
1940
|
*/
|
|
1017
|
-
|
|
1941
|
+
work_authorization_document_number?: string;
|
|
1018
1942
|
|
|
1019
1943
|
/**
|
|
1020
1944
|
* Work email for the hire.
|
|
@@ -1022,366 +1946,632 @@ export namespace HireCreateParams {
|
|
|
1022
1946
|
work_email?: string;
|
|
1023
1947
|
|
|
1024
1948
|
/**
|
|
1025
|
-
*
|
|
1026
|
-
|
|
1027
|
-
|
|
1028
|
-
|
|
1029
|
-
|
|
1030
|
-
*
|
|
1949
|
+
* Set to false to skip work-email assignment for this hire, including generation
|
|
1950
|
+
* by company policy. Do not combine false with a nonempty employment.work_email.
|
|
1951
|
+
* Set to true to enable the normal work-email flow. For a newly created hire,
|
|
1952
|
+
* true, omission, and null have the same behavior. Omission or null preserves any
|
|
1953
|
+
* saved work-email preference. If related_records.existing_role_id identifies a
|
|
1954
|
+
* hire that has already moved beyond creation, an explicit true or false can
|
|
1955
|
+
* return that hire as incomplete with a validation error.
|
|
1031
1956
|
*/
|
|
1032
|
-
|
|
1957
|
+
work_email_required?: boolean;
|
|
1033
1958
|
|
|
1034
1959
|
/**
|
|
1035
|
-
*
|
|
1960
|
+
* Required for Mexico direct hire. DAY_SHIFT_48_HOURS, NIGHT_SHIFT_42_HOURS, or
|
|
1961
|
+
* DAY_SHIFT_45_HOURS.
|
|
1036
1962
|
*/
|
|
1037
|
-
|
|
1963
|
+
work_shift?: 'DAY_SHIFT_48_HOURS' | 'NIGHT_SHIFT_42_HOURS' | 'DAY_SHIFT_45_HOURS';
|
|
1038
1964
|
|
|
1039
1965
|
/**
|
|
1040
|
-
*
|
|
1966
|
+
* Required for Philippines EOR; rejected for direct hire and other countries.
|
|
1967
|
+
* OTHER means other workers and produces NON_EXEMPT overtime classification.
|
|
1968
|
+
* MANAGERIAL means managerial workers; OFFICERS_OR_MEMBERS_OF_MANAGERIAL_STAFF
|
|
1969
|
+
* means officers or members of managerial staff; FIELD_PERSONNEL means field
|
|
1970
|
+
* personnel. Each of these three produces EXEMPT classification. Do not send
|
|
1971
|
+
* overtime_classification for Philippines EOR.
|
|
1041
1972
|
*/
|
|
1042
|
-
|
|
1973
|
+
worker_category?:
|
|
1974
|
+
| 'MANAGERIAL'
|
|
1975
|
+
| 'OFFICERS_OR_MEMBERS_OF_MANAGERIAL_STAFF'
|
|
1976
|
+
| 'FIELD_PERSONNEL'
|
|
1977
|
+
| 'OTHER';
|
|
1043
1978
|
|
|
1044
1979
|
/**
|
|
1045
|
-
*
|
|
1980
|
+
* Worker's professional qualification for a Switzerland EOR role, such as
|
|
1981
|
+
* Engineer. This is plain text, not a Rippling resource identifier. Provide it
|
|
1982
|
+
* only when GET /hire-requirements/ lists worker_qualification for the selected
|
|
1983
|
+
* country and hire type.
|
|
1046
1984
|
*/
|
|
1047
|
-
|
|
1985
|
+
worker_qualification?: string;
|
|
1048
1986
|
|
|
1049
1987
|
/**
|
|
1050
|
-
*
|
|
1988
|
+
* Working-hours system that legally applies to a China EOR role. Use
|
|
1989
|
+
* STANDARD_WORKING_HOURS for a role governed by the standard daily and weekly
|
|
1990
|
+
* limits, or FLEXIBLE_WORKING_HOURS when an approved flexible-hours system
|
|
1991
|
+
* applies. Required for China EOR hires.
|
|
1051
1992
|
*/
|
|
1052
|
-
|
|
1993
|
+
working_hours_arrangement?: 'STANDARD_WORKING_HOURS' | 'FLEXIBLE_WORKING_HOURS';
|
|
1053
1994
|
|
|
1054
1995
|
/**
|
|
1055
|
-
*
|
|
1996
|
+
* Whether the worker will perform work in Germany's construction industry.
|
|
1997
|
+
* Required for Germany EOR hires. Rippling EOR does not currently support these
|
|
1998
|
+
* roles, so true makes the hire ineligible.
|
|
1056
1999
|
*/
|
|
1057
|
-
|
|
1058
|
-
|
|
1059
|
-
/**
|
|
1060
|
-
* France working time unit, DAYS or HOURS.
|
|
1061
|
-
*/
|
|
1062
|
-
working_time_tracked_in?: string;
|
|
2000
|
+
works_in_construction_industry?: boolean;
|
|
1063
2001
|
}
|
|
1064
2002
|
|
|
1065
2003
|
export namespace Employment {
|
|
1066
2004
|
/**
|
|
1067
|
-
*
|
|
2005
|
+
* Collective-bargaining coverage and the applicable agreement identifiers.
|
|
1068
2006
|
*/
|
|
1069
|
-
export interface
|
|
2007
|
+
export interface CollectiveBargaining {
|
|
2008
|
+
/**
|
|
2009
|
+
* Official country-specific identifier of the applicable collective bargaining
|
|
2010
|
+
* agreement. This is an external statutory code, not a Rippling resource ID; GET
|
|
2011
|
+
* /hire-requirements/ describes its source and format for the selected country.
|
|
2012
|
+
*/
|
|
2013
|
+
agreement_code?: string;
|
|
2014
|
+
|
|
2015
|
+
/**
|
|
2016
|
+
* Name of the employer's applicable collective labor or bargaining agreement.
|
|
2017
|
+
* Provide it only when a named agreement applies; other union activity does not
|
|
2018
|
+
* require a name. Use an allowed value from GET /hire-requirements/.
|
|
2019
|
+
*/
|
|
2020
|
+
agreement_name?: string;
|
|
2021
|
+
|
|
2022
|
+
/**
|
|
2023
|
+
* Geographic or industry area governed by the agreement.
|
|
2024
|
+
*/
|
|
2025
|
+
area?: string;
|
|
2026
|
+
|
|
1070
2027
|
/**
|
|
1071
|
-
*
|
|
2028
|
+
* Whether a collective bargaining agreement covers the worker.
|
|
1072
2029
|
*/
|
|
1073
|
-
|
|
2030
|
+
coverage?: 'COVERED' | 'NOT_COVERED';
|
|
1074
2031
|
|
|
1075
2032
|
/**
|
|
1076
|
-
*
|
|
1077
|
-
* Required when type is FIXED; omit for INDEFINITE.
|
|
2033
|
+
* Worker group or category within the applicable agreement.
|
|
1078
2034
|
*/
|
|
1079
|
-
|
|
2035
|
+
group?: string;
|
|
1080
2036
|
|
|
1081
2037
|
/**
|
|
1082
|
-
*
|
|
1083
|
-
*
|
|
2038
|
+
* Whether the employer has a collective labor agreement, collective bargaining
|
|
2039
|
+
* agreement, or other union activity in place. This is an employer-level fact and
|
|
2040
|
+
* is distinct from whether an agreement covers this worker.
|
|
1084
2041
|
*/
|
|
1085
|
-
|
|
2042
|
+
has_union_activity?: boolean;
|
|
1086
2043
|
}
|
|
1087
2044
|
|
|
1088
2045
|
/**
|
|
1089
|
-
*
|
|
2046
|
+
* Employment term: ongoing with no predetermined end or fixed for a defined term.
|
|
1090
2047
|
*/
|
|
1091
|
-
export interface
|
|
2048
|
+
export interface Contract {
|
|
2049
|
+
/**
|
|
2050
|
+
* Whether employment is ongoing or fixed-term. Use INDEFINITE when there is no
|
|
2051
|
+
* predetermined end and FIXED when the employment is limited to a defined term.
|
|
2052
|
+
*/
|
|
2053
|
+
type: 'FIXED' | 'INDEFINITE';
|
|
2054
|
+
|
|
1092
2055
|
/**
|
|
1093
|
-
*
|
|
2056
|
+
* Exact fixed-term length. Use only with type FIXED; omit for INDEFINITE.
|
|
1094
2057
|
*/
|
|
1095
|
-
|
|
2058
|
+
duration?: Contract.Duration;
|
|
1096
2059
|
|
|
1097
2060
|
/**
|
|
1098
|
-
*
|
|
2061
|
+
* Minimum contract length guaranteed to the worker, distinct from the exact total
|
|
2062
|
+
* duration.
|
|
1099
2063
|
*/
|
|
1100
|
-
|
|
2064
|
+
minimum_guaranteed_duration?: Contract.MinimumGuaranteedDuration;
|
|
1101
2065
|
|
|
1102
2066
|
/**
|
|
1103
|
-
*
|
|
2067
|
+
* Mission-specific contract facts, only when listed by GET /hire-requirements/.
|
|
1104
2068
|
*/
|
|
1105
|
-
|
|
2069
|
+
mission?: Contract.Mission;
|
|
1106
2070
|
|
|
1107
2071
|
/**
|
|
1108
|
-
*
|
|
2072
|
+
* Exact number of prior fixed-term contracts with this worker, excluding the
|
|
2073
|
+
* contract being created. Required for Philippines EOR FIXED contracts. The
|
|
2074
|
+
* supported counts for this hiring flow are the integer 0 (no prior fixed-term
|
|
2075
|
+
* contracts) or 1 (exactly one prior fixed-term contract). Other values reject the
|
|
2076
|
+
* whole request during schema validation. Omit for direct hire and other
|
|
2077
|
+
* countries: supplying this field rejects the whole request during schema
|
|
2078
|
+
* validation. For Philippines EOR, a missing value on FIXED or a supplied value on
|
|
2079
|
+
* INDEFINITE fails the hire item with invalid_request before creation.
|
|
1109
2080
|
*/
|
|
1110
|
-
|
|
2081
|
+
previous_fixed_term_contracts?: 0 | 1;
|
|
2082
|
+
}
|
|
1111
2083
|
|
|
2084
|
+
export namespace Contract {
|
|
1112
2085
|
/**
|
|
1113
|
-
*
|
|
2086
|
+
* Exact fixed-term length. Use only with type FIXED; omit for INDEFINITE.
|
|
1114
2087
|
*/
|
|
1115
|
-
|
|
2088
|
+
export interface Duration {
|
|
2089
|
+
/**
|
|
2090
|
+
* Duration unit: DAYS, WEEKS, MONTHS, or YEARS.
|
|
2091
|
+
*/
|
|
2092
|
+
unit: 'DAYS' | 'WEEKS' | 'MONTHS' | 'YEARS';
|
|
2093
|
+
|
|
2094
|
+
/**
|
|
2095
|
+
* Positive number of duration units.
|
|
2096
|
+
*/
|
|
2097
|
+
value: number;
|
|
2098
|
+
}
|
|
1116
2099
|
|
|
1117
2100
|
/**
|
|
1118
|
-
*
|
|
2101
|
+
* Minimum contract length guaranteed to the worker, distinct from the exact total
|
|
2102
|
+
* duration.
|
|
1119
2103
|
*/
|
|
1120
|
-
|
|
2104
|
+
export interface MinimumGuaranteedDuration {
|
|
2105
|
+
/**
|
|
2106
|
+
* Duration unit: DAYS, WEEKS, MONTHS, or YEARS.
|
|
2107
|
+
*/
|
|
2108
|
+
unit: 'DAYS' | 'WEEKS' | 'MONTHS' | 'YEARS';
|
|
2109
|
+
|
|
2110
|
+
/**
|
|
2111
|
+
* Positive number of duration units.
|
|
2112
|
+
*/
|
|
2113
|
+
value: number;
|
|
2114
|
+
}
|
|
1121
2115
|
|
|
1122
2116
|
/**
|
|
1123
|
-
*
|
|
2117
|
+
* Mission-specific contract facts, only when listed by GET /hire-requirements/.
|
|
1124
2118
|
*/
|
|
1125
|
-
|
|
2119
|
+
export interface Mission {
|
|
2120
|
+
/**
|
|
2121
|
+
* Whether the assignment or project has a defined completion timeline.
|
|
2122
|
+
*/
|
|
2123
|
+
has_defined_timeline: boolean;
|
|
2124
|
+
|
|
2125
|
+
/**
|
|
2126
|
+
* Description of the mission or project. Required when has_defined_timeline is
|
|
2127
|
+
* true; omit when there is no defined mission timeline.
|
|
2128
|
+
*/
|
|
2129
|
+
description?: string;
|
|
2130
|
+
}
|
|
1126
2131
|
}
|
|
1127
2132
|
|
|
1128
2133
|
/**
|
|
1129
|
-
*
|
|
2134
|
+
* Professional field and consulting-project details required by the hire context.
|
|
1130
2135
|
*/
|
|
1131
|
-
export interface
|
|
2136
|
+
export interface Engagement {
|
|
1132
2137
|
/**
|
|
1133
|
-
*
|
|
2138
|
+
* Description of the client project and the work the worker will perform.
|
|
1134
2139
|
*/
|
|
1135
|
-
|
|
2140
|
+
consulting_project_description: string;
|
|
1136
2141
|
|
|
1137
2142
|
/**
|
|
1138
|
-
*
|
|
2143
|
+
* Professional field in which the worker will perform the engagement.
|
|
1139
2144
|
*/
|
|
1140
|
-
|
|
2145
|
+
field_of_work: string;
|
|
1141
2146
|
}
|
|
1142
2147
|
|
|
1143
2148
|
/**
|
|
1144
|
-
*
|
|
2149
|
+
* Previous employer-of-record provider and tenure details. Required for Colombia
|
|
2150
|
+
* and Philippines EOR when is_eor_transfer is true. Rejected when is_eor_transfer
|
|
2151
|
+
* is false or omitted, for direct hire, or for other countries. Missing or
|
|
2152
|
+
* incompatible details fail the hire item with invalid_request before creation.
|
|
1145
2153
|
*/
|
|
1146
|
-
export interface
|
|
2154
|
+
export interface EorTransferDetails {
|
|
1147
2155
|
/**
|
|
1148
|
-
*
|
|
2156
|
+
* Previous employer-of-record provider code. PEBL identifies Pebl (formerly
|
|
2157
|
+
* Velocity Global). Required for Colombia or Philippines EOR when is_eor_transfer
|
|
2158
|
+
* is true. Choose OTHER and supply other_provider_name when the provider is not
|
|
2159
|
+
* listed.
|
|
1149
2160
|
*/
|
|
1150
|
-
|
|
2161
|
+
previous_provider:
|
|
2162
|
+
| 'ATLAS'
|
|
2163
|
+
| 'DEEL'
|
|
2164
|
+
| 'GLOBALIZATION_PARTNERS'
|
|
2165
|
+
| 'GOGLOBAL'
|
|
2166
|
+
| 'OYSTER'
|
|
2167
|
+
| 'PAPAYA_GLOBAL'
|
|
2168
|
+
| 'PEBL'
|
|
2169
|
+
| 'REMOTE'
|
|
2170
|
+
| 'OTHER';
|
|
1151
2171
|
|
|
1152
2172
|
/**
|
|
1153
|
-
*
|
|
2173
|
+
* Date the worker started with the prior employer-of-record provider, in
|
|
2174
|
+
* YYYY-MM-DD format. Required for the transfer and must be before today.
|
|
1154
2175
|
*/
|
|
1155
|
-
|
|
1156
|
-
}
|
|
2176
|
+
previous_start_date: string;
|
|
1157
2177
|
|
|
1158
|
-
/**
|
|
1159
|
-
* Required for DE EOR. Framework agreement monthly gross salary.
|
|
1160
|
-
*/
|
|
1161
|
-
export interface FrameworkMonthlyGrossSalary {
|
|
1162
2178
|
/**
|
|
1163
|
-
*
|
|
2179
|
+
* Whether to recognize tenure from previous_start_date. Send an explicit true to
|
|
2180
|
+
* recognize it or false to start tenure with the new employment. Required for the
|
|
2181
|
+
* transfer.
|
|
1164
2182
|
*/
|
|
1165
|
-
|
|
2183
|
+
recognize_previous_tenure: boolean;
|
|
1166
2184
|
|
|
1167
2185
|
/**
|
|
1168
|
-
*
|
|
2186
|
+
* Name of the previous employer-of-record provider. Required only when
|
|
2187
|
+
* previous_provider is OTHER; rejected for a listed provider.
|
|
1169
2188
|
*/
|
|
1170
|
-
|
|
2189
|
+
other_provider_name?: string;
|
|
2190
|
+
|
|
2191
|
+
/**
|
|
2192
|
+
* Days excluded from recognized prior tenure. Accepted only when
|
|
2193
|
+
* recognize_previous_tenure is true and this country's tenure-gap configuration is
|
|
2194
|
+
* enabled; rejected otherwise. Before POST /hires/, call GET /hire-requirements/
|
|
2195
|
+
* with country_code and hire_type=eor to read this field's available value for the
|
|
2196
|
+
* company's country configuration. Omission uses zero gap days when available.
|
|
2197
|
+
* Send a nonnegative integer no greater than the days from previous_start_date
|
|
2198
|
+
* through today. An incompatible or excessive value fails the hire item with
|
|
2199
|
+
* invalid_request before creation.
|
|
2200
|
+
*/
|
|
2201
|
+
tenure_gap_days?: number;
|
|
1171
2202
|
}
|
|
1172
2203
|
|
|
1173
2204
|
/**
|
|
1174
|
-
*
|
|
2205
|
+
* Additional German framework-agreement clauses that are not already represented
|
|
2206
|
+
* by compensation, hours, or vacation.
|
|
1175
2207
|
*/
|
|
1176
|
-
export interface
|
|
2208
|
+
export interface FrameworkAgreement {
|
|
1177
2209
|
/**
|
|
1178
|
-
*
|
|
2210
|
+
* Additional benefits stated in the framework agreement.
|
|
1179
2211
|
*/
|
|
1180
|
-
|
|
2212
|
+
additional_benefits: string;
|
|
1181
2213
|
|
|
1182
2214
|
/**
|
|
1183
|
-
*
|
|
2215
|
+
* Framework-agreement continued-remuneration terms.
|
|
1184
2216
|
*/
|
|
1185
|
-
|
|
1186
|
-
}
|
|
2217
|
+
continued_remuneration_terms: string;
|
|
1187
2218
|
|
|
1188
|
-
/**
|
|
1189
|
-
* Extra employer MPF contribution, if you offer one.
|
|
1190
|
-
*/
|
|
1191
|
-
export interface MpfVoluntaryEmployerContribution {
|
|
1192
2219
|
/**
|
|
1193
|
-
*
|
|
2220
|
+
* Other essential working conditions in the framework agreement.
|
|
1194
2221
|
*/
|
|
1195
|
-
|
|
2222
|
+
other_working_conditions: string;
|
|
1196
2223
|
|
|
1197
2224
|
/**
|
|
1198
|
-
*
|
|
2225
|
+
* Framework-agreement overtime-pay terms.
|
|
1199
2226
|
*/
|
|
1200
|
-
|
|
2227
|
+
overtime_pay_terms: string;
|
|
2228
|
+
|
|
2229
|
+
/**
|
|
2230
|
+
* Rest-period terms stated in the framework agreement.
|
|
2231
|
+
*/
|
|
2232
|
+
rest_periods: string;
|
|
2233
|
+
|
|
2234
|
+
/**
|
|
2235
|
+
* Shared facilities available to the worker.
|
|
2236
|
+
*/
|
|
2237
|
+
shared_facilities: string;
|
|
2238
|
+
|
|
2239
|
+
/**
|
|
2240
|
+
* Surcharges required by the framework agreement.
|
|
2241
|
+
*/
|
|
2242
|
+
surcharges: string;
|
|
1201
2243
|
|
|
1202
2244
|
/**
|
|
1203
|
-
*
|
|
2245
|
+
* Framework-agreement variable-compensation terms.
|
|
1204
2246
|
*/
|
|
1205
|
-
|
|
2247
|
+
variable_compensation_terms: string;
|
|
2248
|
+
|
|
2249
|
+
/**
|
|
2250
|
+
* Functional workwear supplied for the engagement.
|
|
2251
|
+
*/
|
|
2252
|
+
work_wear: string;
|
|
1206
2253
|
}
|
|
1207
2254
|
|
|
1208
|
-
|
|
2255
|
+
/**
|
|
2256
|
+
* Australian modern-award coverage and classification for this job. Required for
|
|
2257
|
+
* Australian hires. Send coverage NOT_COVERED when no award applies; otherwise
|
|
2258
|
+
* send COVERED with the applicable award and classification identifiers.
|
|
2259
|
+
*/
|
|
2260
|
+
export interface ModernAward {
|
|
1209
2261
|
/**
|
|
1210
|
-
*
|
|
2262
|
+
* Whether an Australian modern award covers this job. Use NOT_COVERED when no
|
|
2263
|
+
* modern award applies. Use COVERED together with award_id and classification_id
|
|
2264
|
+
* when one applies.
|
|
1211
2265
|
*/
|
|
1212
|
-
|
|
1213
|
-
/**
|
|
1214
|
-
* The currency type, ex: USD, EUR, etc.
|
|
1215
|
-
*/
|
|
1216
|
-
currency_type?: string;
|
|
2266
|
+
coverage: 'COVERED' | 'NOT_COVERED';
|
|
1217
2267
|
|
|
1218
|
-
|
|
1219
|
-
|
|
1220
|
-
|
|
1221
|
-
|
|
1222
|
-
|
|
2268
|
+
/**
|
|
2269
|
+
* Identifier of the Australian modern award governing the job. Required when
|
|
2270
|
+
* coverage is COVERED; omit when coverage is NOT_COVERED. Select a currently
|
|
2271
|
+
* active identifier from award_id.allowed_values returned by GET
|
|
2272
|
+
* /hire-requirements/. This is a catalog identifier, not an expandable Platform
|
|
2273
|
+
* API relationship.
|
|
2274
|
+
*/
|
|
2275
|
+
award_id?: string;
|
|
2276
|
+
|
|
2277
|
+
/**
|
|
2278
|
+
* Identifier of the worker's classification within the selected modern award. This
|
|
2279
|
+
* classification captures the applicable level or sub-level. Required when
|
|
2280
|
+
* coverage is COVERED; omit when coverage is NOT_COVERED. Select an identifier
|
|
2281
|
+
* from classification_id.allowed_values returned by GET /hire-requirements/ and
|
|
2282
|
+
* use allowed_value_parents to match it to award_id. This is a catalog identifier,
|
|
2283
|
+
* not an expandable Platform API relationship.
|
|
2284
|
+
*/
|
|
2285
|
+
classification_id?: string;
|
|
1223
2286
|
}
|
|
1224
2287
|
|
|
1225
2288
|
/**
|
|
1226
|
-
*
|
|
2289
|
+
* Notice-period arrangement for ending employment: standard or a custom period.
|
|
1227
2290
|
*/
|
|
1228
2291
|
export interface Notice {
|
|
1229
2292
|
/**
|
|
1230
|
-
*
|
|
2293
|
+
* Notice-period arrangement for ending employment. STANDARD_NOTICE applies the
|
|
2294
|
+
* standard period; CUSTOM_NOTICE supplies a specific period.
|
|
1231
2295
|
*/
|
|
1232
|
-
type:
|
|
2296
|
+
type: 'STANDARD_NOTICE' | 'CUSTOM_NOTICE';
|
|
1233
2297
|
|
|
1234
2298
|
/**
|
|
1235
|
-
*
|
|
2299
|
+
* Number of notice-period units. Required for CUSTOM_NOTICE; omit for
|
|
2300
|
+
* STANDARD_NOTICE.
|
|
1236
2301
|
*/
|
|
1237
2302
|
quantity?: number;
|
|
1238
2303
|
|
|
1239
2304
|
/**
|
|
1240
|
-
*
|
|
2305
|
+
* Unit for the custom notice period: DAYS, WEEKS, MONTHS, or YEARS. Required for
|
|
2306
|
+
* CUSTOM_NOTICE; omit for STANDARD_NOTICE.
|
|
1241
2307
|
*/
|
|
1242
|
-
unit?:
|
|
2308
|
+
unit?: 'DAYS' | 'WEEKS' | 'MONTHS' | 'YEARS';
|
|
1243
2309
|
}
|
|
1244
2310
|
|
|
1245
2311
|
/**
|
|
1246
|
-
*
|
|
2312
|
+
* Probation arrangement for the employment: standard, a shorter custom period, or
|
|
2313
|
+
* none.
|
|
1247
2314
|
*/
|
|
1248
2315
|
export interface Probation {
|
|
1249
2316
|
/**
|
|
1250
|
-
*
|
|
2317
|
+
* Probation arrangement for the employment. STANDARD_PROBATION applies the
|
|
2318
|
+
* standard period, SHORTER_PROBATION supplies a shorter custom period, and
|
|
2319
|
+
* FORGO_PROBATION means no probation.
|
|
1251
2320
|
*/
|
|
1252
|
-
type:
|
|
2321
|
+
type: 'STANDARD_PROBATION' | 'SHORTER_PROBATION' | 'FORGO_PROBATION';
|
|
1253
2322
|
|
|
1254
2323
|
/**
|
|
1255
|
-
*
|
|
2324
|
+
* Number of probation units. Required for SHORTER_PROBATION; omit otherwise.
|
|
1256
2325
|
*/
|
|
1257
2326
|
quantity?: number;
|
|
1258
2327
|
|
|
1259
2328
|
/**
|
|
1260
|
-
*
|
|
2329
|
+
* Unit for the custom probation length: DAYS, WEEKS, MONTHS, or YEARS. Required
|
|
2330
|
+
* for SHORTER_PROBATION; omit otherwise.
|
|
1261
2331
|
*/
|
|
1262
|
-
unit?:
|
|
2332
|
+
unit?: 'DAYS' | 'WEEKS' | 'MONTHS' | 'YEARS';
|
|
1263
2333
|
}
|
|
1264
2334
|
|
|
1265
2335
|
/**
|
|
1266
|
-
*
|
|
2336
|
+
* The role's usual working days and, where required, its local daily start and end
|
|
2337
|
+
* times. This describes the regular work pattern; weekly_hours remains the total
|
|
2338
|
+
* expected hours per week. For Mexico EOR and Brazil hires, only days is accepted.
|
|
2339
|
+
* For Brazil hires, days must be nonempty when the object is supplied. Omitting
|
|
2340
|
+
* the object defaults to Monday through Friday for Mexico EOR and Brazil hires.
|
|
2341
|
+
* Omit for Colombia hires and Philippines direct hire. Required for Philippines
|
|
2342
|
+
* EOR only when weekly_work_schedule is not enabled; include days, start_time,
|
|
2343
|
+
* end_time, and time_zone. When weekly_work_schedule is enabled, omit this object
|
|
2344
|
+
* and supply that schedule instead. Before POST /hires/, call GET
|
|
2345
|
+
* /hire-requirements/ with country_code and hire_type to resolve schedule
|
|
2346
|
+
* availability and requiredness for the company.
|
|
1267
2347
|
*/
|
|
1268
|
-
export interface
|
|
2348
|
+
export interface RegularWorkingHours {
|
|
1269
2349
|
/**
|
|
1270
|
-
*
|
|
2350
|
+
* Weekdays the worker ordinarily works. Use uppercase values such as MONDAY and
|
|
2351
|
+
* FRIDAY. For Mexico EOR and Brazil hires, this is the only accepted member of
|
|
2352
|
+
* regular_working_hours. For Brazil hires, days must be nonempty when the object
|
|
2353
|
+
* is supplied. Omitting the whole object defaults to Monday through Friday for
|
|
2354
|
+
* Mexico EOR and Brazil hires.
|
|
1271
2355
|
*/
|
|
1272
|
-
|
|
2356
|
+
days: Array<'MONDAY' | 'TUESDAY' | 'WEDNESDAY' | 'THURSDAY' | 'FRIDAY' | 'SATURDAY' | 'SUNDAY'>;
|
|
1273
2357
|
|
|
1274
2358
|
/**
|
|
1275
|
-
*
|
|
2359
|
+
* Number of days ordinarily worked per week, such as 5.
|
|
1276
2360
|
*/
|
|
1277
|
-
|
|
1278
|
-
}
|
|
2361
|
+
days_per_week?: number;
|
|
1279
2362
|
|
|
1280
|
-
/**
|
|
1281
|
-
* Required for CH EOR. Currency type and value for the 13th month bonus.
|
|
1282
|
-
*/
|
|
1283
|
-
export interface ThirteenthMonthBonus {
|
|
1284
2363
|
/**
|
|
1285
|
-
*
|
|
2364
|
+
* Number of days ordinarily worked per year, when the country tracks annual
|
|
2365
|
+
* working days.
|
|
1286
2366
|
*/
|
|
1287
|
-
|
|
2367
|
+
days_per_year?: number;
|
|
1288
2368
|
|
|
1289
2369
|
/**
|
|
1290
|
-
*
|
|
2370
|
+
* Usual local end time on a working day in HH:MM:SS format, such as 17:00:00. This
|
|
2371
|
+
* is a wall-clock time in time_zone, not a UTC timestamp. Do not send for Mexico
|
|
2372
|
+
* EOR or Brazil hires.
|
|
1291
2373
|
*/
|
|
1292
|
-
|
|
2374
|
+
end_time?: string;
|
|
2375
|
+
|
|
2376
|
+
/**
|
|
2377
|
+
* Expected hours for each weekday. Use null for a day off.
|
|
2378
|
+
*/
|
|
2379
|
+
hours_by_weekday?: RegularWorkingHours.HoursByWeekday;
|
|
2380
|
+
|
|
2381
|
+
/**
|
|
2382
|
+
* Usual local start time on a working day in HH:MM:SS format, such as 09:00:00.
|
|
2383
|
+
* This is a wall-clock time in time_zone, not a UTC timestamp. Do not send for
|
|
2384
|
+
* Mexico EOR or Brazil hires.
|
|
2385
|
+
*/
|
|
2386
|
+
start_time?: string;
|
|
2387
|
+
|
|
2388
|
+
/**
|
|
2389
|
+
* IANA time zone used to interpret start_time and end_time, such as
|
|
2390
|
+
* Australia/Sydney or Europe/London. Do not send for Mexico EOR or Brazil hires.
|
|
2391
|
+
*/
|
|
2392
|
+
time_zone?: string;
|
|
2393
|
+
|
|
2394
|
+
/**
|
|
2395
|
+
* Unit used to track working time when required by the country: DAYS or HOURS.
|
|
2396
|
+
*/
|
|
2397
|
+
tracking_unit?: 'DAYS' | 'HOURS';
|
|
2398
|
+
}
|
|
2399
|
+
|
|
2400
|
+
export namespace RegularWorkingHours {
|
|
2401
|
+
/**
|
|
2402
|
+
* Expected hours for each weekday. Use null for a day off.
|
|
2403
|
+
*/
|
|
2404
|
+
export interface HoursByWeekday {
|
|
2405
|
+
/**
|
|
2406
|
+
* Hours worked on Friday; null means the day is off.
|
|
2407
|
+
*/
|
|
2408
|
+
friday?: string;
|
|
2409
|
+
|
|
2410
|
+
/**
|
|
2411
|
+
* Hours worked on Monday; null means the day is off.
|
|
2412
|
+
*/
|
|
2413
|
+
monday?: string;
|
|
2414
|
+
|
|
2415
|
+
/**
|
|
2416
|
+
* Hours worked on Saturday; null means the day is off.
|
|
2417
|
+
*/
|
|
2418
|
+
saturday?: string;
|
|
2419
|
+
|
|
2420
|
+
/**
|
|
2421
|
+
* Hours worked on Sunday; null means the day is off.
|
|
2422
|
+
*/
|
|
2423
|
+
sunday?: string;
|
|
2424
|
+
|
|
2425
|
+
/**
|
|
2426
|
+
* Hours worked on Thursday; null means the day is off.
|
|
2427
|
+
*/
|
|
2428
|
+
thursday?: string;
|
|
2429
|
+
|
|
2430
|
+
/**
|
|
2431
|
+
* Hours worked on Tuesday; null means the day is off.
|
|
2432
|
+
*/
|
|
2433
|
+
tuesday?: string;
|
|
2434
|
+
|
|
2435
|
+
/**
|
|
2436
|
+
* Hours worked on Wednesday; null means the day is off.
|
|
2437
|
+
*/
|
|
2438
|
+
wednesday?: string;
|
|
2439
|
+
}
|
|
1293
2440
|
}
|
|
1294
2441
|
|
|
1295
2442
|
/**
|
|
1296
|
-
*
|
|
2443
|
+
* Employment documents required to prepare the hire.
|
|
1297
2444
|
*/
|
|
1298
|
-
export interface
|
|
2445
|
+
export interface SupportingDocuments {
|
|
1299
2446
|
/**
|
|
1300
|
-
*
|
|
2447
|
+
* Id of the confirmed company-owned PDF or Word resume uploaded through POST
|
|
2448
|
+
* /files/.
|
|
1301
2449
|
*/
|
|
1302
|
-
|
|
2450
|
+
resume_file_id?: string;
|
|
1303
2451
|
|
|
1304
2452
|
/**
|
|
1305
|
-
*
|
|
2453
|
+
* Id of the confirmed company-owned PDF or Word variable-compensation plan.
|
|
1306
2454
|
*/
|
|
1307
|
-
|
|
2455
|
+
variable_compensation_plan_file_id?: string;
|
|
1308
2456
|
}
|
|
1309
2457
|
|
|
1310
2458
|
/**
|
|
1311
|
-
*
|
|
2459
|
+
* How annual paid vacation is determined: statutory entitlement or a custom annual
|
|
2460
|
+
* allowance. For Philippines EOR, custom vacation adds nonstatutory
|
|
2461
|
+
* additional_days instead of replacing total entitlement. Do not send for Colombia
|
|
2462
|
+
* or Philippines direct hire, or Brazil EOR, including an empty object.
|
|
1312
2463
|
*/
|
|
1313
2464
|
export interface Vacation {
|
|
1314
2465
|
/**
|
|
1315
|
-
*
|
|
2466
|
+
* How annual paid vacation is determined. Use STATUTORY_VACATION to apply the
|
|
2467
|
+
* statutory entitlement or CUSTOM_VACATION to provide a specific annual allowance
|
|
2468
|
+
* in days. For Philippines EOR, CUSTOM_VACATION instead supplies additional
|
|
2469
|
+
* nonstatutory days through additional_days. Colombia EOR accepts only
|
|
2470
|
+
* STATUTORY_VACATION. Omit the vacation object for Colombia and Philippines direct
|
|
2471
|
+
* hire.
|
|
2472
|
+
*/
|
|
2473
|
+
type: 'STATUTORY_VACATION' | 'CUSTOM_VACATION';
|
|
2474
|
+
|
|
2475
|
+
/**
|
|
2476
|
+
* Company-provided annual vacation days in addition to statutory entitlement.
|
|
2477
|
+
* Required for Philippines EOR CUSTOM_VACATION. Omit for STATUTORY_VACATION,
|
|
2478
|
+
* direct hire, and other countries. This is not the total annual vacation
|
|
2479
|
+
* allowance.
|
|
1316
2480
|
*/
|
|
1317
|
-
|
|
2481
|
+
additional_days?: number;
|
|
1318
2482
|
|
|
1319
2483
|
/**
|
|
1320
|
-
*
|
|
2484
|
+
* Annual vacation allowance in days. Required for CUSTOM_VACATION except
|
|
2485
|
+
* Philippines EOR, which rejects days and uses additional_days. Omit for
|
|
2486
|
+
* STATUTORY_VACATION.
|
|
1321
2487
|
*/
|
|
1322
2488
|
days?: number;
|
|
1323
2489
|
}
|
|
1324
2490
|
|
|
1325
2491
|
/**
|
|
1326
|
-
*
|
|
1327
|
-
|
|
1328
|
-
|
|
2492
|
+
* Recurring work schedule for Colombia and Philippines direct hire or EOR when
|
|
2493
|
+
* working-hours schedules are enabled for the company and country and work-pattern
|
|
2494
|
+
* auto-assignment is disabled. Required in that configuration; rejected otherwise
|
|
2495
|
+
* and for other countries. Omit regular_working_hours when sending this object.
|
|
2496
|
+
* Before POST /hires/, call GET /hire-requirements/ with country_code and
|
|
2497
|
+
* hire_type to resolve schedule availability and requiredness for the company. A
|
|
2498
|
+
* missing schedule or incompatible company configuration fails the hire item with
|
|
2499
|
+
* invalid_request before creation. Colombia and Philippines hires with
|
|
2500
|
+
* work-pattern auto-assignment enabled cannot be created through this API, even
|
|
2501
|
+
* when this object is omitted; complete those hires in Rippling. They fail with
|
|
2502
|
+
* invalid_request before creation. Malformed objects reject the whole request
|
|
2503
|
+
* during schema validation. Paid-hour spans and weekly totals are also checked
|
|
2504
|
+
* before creation. Country-specific schedule policy is checked while saving hiring
|
|
2505
|
+
* pages; a policy violation can leave an incomplete hire with an id and
|
|
2506
|
+
* validation_failed errors.
|
|
2507
|
+
*/
|
|
2508
|
+
export interface WeeklyWorkSchedule {
|
|
1329
2509
|
/**
|
|
1330
|
-
*
|
|
2510
|
+
* One-week or two-week repeating schedule, including days off and paid hours.
|
|
2511
|
+
* Before POST /hires/, call GET /hire-requirements/ with country_code and
|
|
2512
|
+
* hire_type to resolve schedule availability and requiredness for the company.
|
|
1331
2513
|
*/
|
|
1332
|
-
recurrence:
|
|
2514
|
+
recurrence: WeeklyWorkSchedule.Recurrence;
|
|
1333
2515
|
|
|
1334
2516
|
/**
|
|
1335
|
-
* IANA time zone for the schedule,
|
|
2517
|
+
* IANA time zone for all local times in the schedule, such as America/Bogota or
|
|
2518
|
+
* Asia/Manila.
|
|
1336
2519
|
*/
|
|
1337
2520
|
schedule_time_zone: string;
|
|
1338
2521
|
|
|
1339
2522
|
/**
|
|
1340
|
-
* First
|
|
2523
|
+
* First weekday in the recurring cycle, using uppercase such as MONDAY.
|
|
1341
2524
|
*/
|
|
1342
|
-
start_day_of_week:
|
|
2525
|
+
start_day_of_week: 'MONDAY' | 'TUESDAY' | 'WEDNESDAY' | 'THURSDAY' | 'FRIDAY' | 'SATURDAY' | 'SUNDAY';
|
|
1343
2526
|
|
|
1344
2527
|
/**
|
|
1345
|
-
*
|
|
2528
|
+
* Date in YYYY-MM-DD on which the first day of a two-week cycle occurs. Required
|
|
2529
|
+
* for a two-week cycle; omit for a one-week cycle. Its weekday must match
|
|
2530
|
+
* start_day_of_week.
|
|
1346
2531
|
*/
|
|
1347
|
-
|
|
2532
|
+
anchor_date?: string;
|
|
1348
2533
|
}
|
|
1349
2534
|
|
|
1350
|
-
export namespace
|
|
2535
|
+
export namespace WeeklyWorkSchedule {
|
|
1351
2536
|
/**
|
|
1352
|
-
*
|
|
2537
|
+
* One-week or two-week repeating schedule, including days off and paid hours.
|
|
2538
|
+
* Before POST /hires/, call GET /hire-requirements/ with country_code and
|
|
2539
|
+
* hire_type to resolve schedule availability and requiredness for the company.
|
|
1353
2540
|
*/
|
|
1354
2541
|
export interface Recurrence {
|
|
1355
2542
|
/**
|
|
1356
|
-
*
|
|
2543
|
+
* Ordered days starting on start_day_of_week: exactly 7 days for one week or 14
|
|
2544
|
+
* for two weeks. Send an empty object for each day off.
|
|
1357
2545
|
*/
|
|
1358
2546
|
expansion: Array<Recurrence.Expansion>;
|
|
1359
2547
|
|
|
1360
2548
|
/**
|
|
1361
|
-
* Number of
|
|
2549
|
+
* Number of weeks in the repeating cycle: 1 or 2.
|
|
1362
2550
|
*/
|
|
1363
|
-
length:
|
|
2551
|
+
length: 1 | 2;
|
|
1364
2552
|
|
|
1365
2553
|
/**
|
|
1366
|
-
* Recurrence unit.
|
|
2554
|
+
* Recurrence unit. Send WEEKS.
|
|
1367
2555
|
*/
|
|
1368
|
-
unit:
|
|
2556
|
+
unit: 'WEEKS';
|
|
1369
2557
|
}
|
|
1370
2558
|
|
|
1371
2559
|
export namespace Recurrence {
|
|
1372
2560
|
export interface Expansion {
|
|
1373
2561
|
/**
|
|
1374
|
-
*
|
|
2562
|
+
* Paid working hours for this day as a decimal string greater than zero and at
|
|
2563
|
+
* most 24 hours, excluding unpaid breaks. May be shorter than the start-to-end
|
|
2564
|
+
* span.
|
|
1375
2565
|
*/
|
|
1376
2566
|
duration?: string;
|
|
1377
2567
|
|
|
1378
2568
|
/**
|
|
1379
|
-
*
|
|
2569
|
+
* Local end time in HH:MM:SS. An earlier time ends on the following day.
|
|
1380
2570
|
*/
|
|
1381
2571
|
end_time?: string;
|
|
1382
2572
|
|
|
1383
2573
|
/**
|
|
1384
|
-
*
|
|
2574
|
+
* Local start time in HH:MM:SS. Omit all members for a day off.
|
|
1385
2575
|
*/
|
|
1386
2576
|
start_time?: string;
|
|
1387
2577
|
}
|
|
@@ -1390,96 +2580,135 @@ export namespace HireCreateParams {
|
|
|
1390
2580
|
}
|
|
1391
2581
|
|
|
1392
2582
|
/**
|
|
1393
|
-
*
|
|
2583
|
+
* The person's legal name and the email address or mobile number used to send
|
|
2584
|
+
* their invitation.
|
|
1394
2585
|
*/
|
|
1395
2586
|
export interface Personal {
|
|
1396
2587
|
/**
|
|
1397
|
-
*
|
|
2588
|
+
* Person's legal given name as it should appear on employment and payroll records.
|
|
1398
2589
|
*/
|
|
1399
2590
|
first_name: string;
|
|
1400
2591
|
|
|
1401
2592
|
/**
|
|
1402
|
-
*
|
|
2593
|
+
* Person's legal family name as it should appear on employment and payroll
|
|
2594
|
+
* records.
|
|
1403
2595
|
*/
|
|
1404
2596
|
last_name: string;
|
|
1405
2597
|
|
|
1406
2598
|
/**
|
|
1407
|
-
* Email
|
|
2599
|
+
* Email address where the person should receive their Rippling invitation. At
|
|
2600
|
+
* least one of invite_email or invite_phone is required; both may be provided.
|
|
1408
2601
|
*/
|
|
1409
2602
|
invite_email?: string;
|
|
1410
2603
|
|
|
1411
2604
|
/**
|
|
1412
|
-
* Mobile number
|
|
1413
|
-
*
|
|
2605
|
+
* Mobile number where the person should receive their Rippling invitation, in
|
|
2606
|
+
* international format including the country calling code, for example
|
|
2607
|
+
* +14155550123. At least one of invite_email or invite_phone is required; both may
|
|
2608
|
+
* be provided.
|
|
1414
2609
|
*/
|
|
1415
2610
|
invite_phone?: string;
|
|
2611
|
+
|
|
2612
|
+
/**
|
|
2613
|
+
* Person's nationality as an ISO 3166-1 alpha-2 country code, such as FR for
|
|
2614
|
+
* French nationality. Provide it only when listed by GET /hire-requirements/. This
|
|
2615
|
+
* is not the country where the person works.
|
|
2616
|
+
*/
|
|
2617
|
+
nationality_code?: string;
|
|
1416
2618
|
}
|
|
1417
2619
|
|
|
1418
2620
|
/**
|
|
1419
|
-
*
|
|
2621
|
+
* Where the person will work. Provide either a Rippling work-location ID or mark
|
|
2622
|
+
* the hire as remote, and always provide the work country.
|
|
1420
2623
|
*/
|
|
1421
2624
|
export interface WorkLocation {
|
|
1422
2625
|
/**
|
|
1423
|
-
*
|
|
2626
|
+
* Two-letter ISO 3166-1 country code for the place where the person performs the
|
|
2627
|
+
* work, such as US or CA. Required for both office-based and remote hires and used
|
|
2628
|
+
* to determine country-specific hiring requirements.
|
|
1424
2629
|
*/
|
|
1425
2630
|
country_code: string;
|
|
1426
2631
|
|
|
1427
2632
|
/**
|
|
1428
|
-
*
|
|
1429
|
-
*
|
|
2633
|
+
* Whether the person works remotely rather than from a company work location. When
|
|
2634
|
+
* true, omit location_id and provide country_code plus state_code when applicable.
|
|
2635
|
+
* Defaults to false.
|
|
1430
2636
|
*/
|
|
1431
2637
|
is_remote?: boolean;
|
|
1432
2638
|
|
|
1433
2639
|
/**
|
|
1434
|
-
*
|
|
2640
|
+
* Rippling work-location ID for the office or site where the person will work.
|
|
2641
|
+
* Obtain it from GET /work-locations/. Required when is_remote is false; omit when
|
|
2642
|
+
* is_remote is true.
|
|
1435
2643
|
*/
|
|
1436
2644
|
location_id?: string;
|
|
1437
2645
|
|
|
1438
2646
|
/**
|
|
1439
|
-
*
|
|
2647
|
+
* State, province, or region code for a remote work location, such as CA for
|
|
2648
|
+
* California. Supply it when the selected country requires a regional location;
|
|
2649
|
+
* omit it for an office-based hire whose work-location record already identifies
|
|
2650
|
+
* the region.
|
|
1440
2651
|
*/
|
|
1441
2652
|
state_code?: string;
|
|
1442
2653
|
}
|
|
1443
2654
|
|
|
1444
2655
|
export interface CustomField {
|
|
1445
2656
|
/**
|
|
1446
|
-
*
|
|
2657
|
+
* Identifier of a company-configured custom field collected during hiring. Use a
|
|
2658
|
+
* field configured for the hiring company.
|
|
1447
2659
|
*/
|
|
1448
2660
|
field_id: string;
|
|
1449
2661
|
|
|
1450
2662
|
/**
|
|
1451
|
-
*
|
|
2663
|
+
* Value for the selected custom field. Its JSON type and allowed options depend on
|
|
2664
|
+
* that field's configuration in Rippling.
|
|
1452
2665
|
*/
|
|
1453
2666
|
value: unknown;
|
|
1454
2667
|
}
|
|
1455
2668
|
|
|
1456
2669
|
/**
|
|
1457
|
-
*
|
|
1458
|
-
*
|
|
2670
|
+
* References that associate this hire with recruiting, headcount planning, a prior
|
|
2671
|
+
* employment record, or an existing Rippling hiring process. These references
|
|
2672
|
+
* control hiring behavior; they are not arbitrary metadata. Omit the object when
|
|
2673
|
+
* no association applies.
|
|
1459
2674
|
*/
|
|
1460
2675
|
export interface RelatedRecords {
|
|
1461
2676
|
/**
|
|
1462
|
-
*
|
|
2677
|
+
* Rippling Recruiting applicant/application ID for the ATS application that
|
|
2678
|
+
* produced this hire. Obtain it from GET /candidate-applications/. Omit when the
|
|
2679
|
+
* hire is not linked to a Rippling ATS application.
|
|
1463
2680
|
*/
|
|
1464
2681
|
ats_applicant_id?: string;
|
|
1465
2682
|
|
|
1466
2683
|
/**
|
|
1467
|
-
*
|
|
2684
|
+
* Rippling role ID for an in-progress hire to continue instead of starting another
|
|
2685
|
+
* hiring process. Use the ID returned by a prior hire result when instructed to
|
|
2686
|
+
* continue that hire.
|
|
1468
2687
|
*/
|
|
1469
2688
|
existing_role_id?: string;
|
|
1470
2689
|
|
|
1471
2690
|
/**
|
|
1472
|
-
*
|
|
2691
|
+
* Rippling headcount-position ID for the approved or open position this person
|
|
2692
|
+
* will fill. Obtain it from GET /headcount-positions/.
|
|
1473
2693
|
*/
|
|
1474
2694
|
headcount_position_id?: string;
|
|
1475
2695
|
|
|
1476
2696
|
/**
|
|
1477
|
-
*
|
|
2697
|
+
* How to initialize the rehire identified by rehire_role_id. REUSE_WORKER_DETAILS
|
|
2698
|
+
* prefills eligible non-compensation details from the prior employment record,
|
|
2699
|
+
* while NEW_WORKER_DETAILS starts those hiring questions without that prefill.
|
|
2700
|
+
* Both choices rehire the existing person identified by rehire_role_id. The
|
|
2701
|
+
* request's required first_name and last_name do not replace that person's
|
|
2702
|
+
* identity; invite_email or invite_phone supplies the invitation destination for
|
|
2703
|
+
* the new role. Required with rehire_role_id; omit otherwise.
|
|
1478
2704
|
*/
|
|
1479
|
-
rehire_choice?:
|
|
2705
|
+
rehire_choice?: 'REUSE_WORKER_DETAILS' | 'NEW_WORKER_DETAILS';
|
|
1480
2706
|
|
|
1481
2707
|
/**
|
|
1482
|
-
*
|
|
2708
|
+
* Rippling role ID for this person's prior employment record: the previous role
|
|
2709
|
+
* being rehired. When POST /hires/ reports a possible_rehire next action, use its
|
|
2710
|
+
* target_id here. Providing this ID starts a rehire and also requires
|
|
2711
|
+
* rehire_choice.
|
|
1483
2712
|
*/
|
|
1484
2713
|
rehire_role_id?: string;
|
|
1485
2714
|
}
|