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