@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
|
@@ -0,0 +1,1343 @@
|
|
|
1
|
+
import { APIResource } from "../core/resource.mjs";
|
|
2
|
+
import * as BusinessPartnersAPI from "./business-partners.mjs";
|
|
3
|
+
import * as WorkersAPI from "./workers.mjs";
|
|
4
|
+
import { APIPromise } from "../core/api-promise.mjs";
|
|
5
|
+
import { PageCursorURL, PagePromise } from "../core/pagination.mjs";
|
|
6
|
+
import { RequestOptions } from "../internal/request-options.mjs";
|
|
7
|
+
/**
|
|
8
|
+
* Vendor bills, including invoice and payment details
|
|
9
|
+
*/
|
|
10
|
+
export declare class Bills extends APIResource {
|
|
11
|
+
/**
|
|
12
|
+
* A list of bills.
|
|
13
|
+
*
|
|
14
|
+
* - Requires: `Spend Management Platform API`
|
|
15
|
+
* - Filterable fields: `worker_id`, `entity_id`, `vendor_id`, `submitter_id`,
|
|
16
|
+
* `invoice_date`
|
|
17
|
+
* - Expandable fields: `worker`, `vendor`, `submitter`
|
|
18
|
+
* - Sortable fields: `id`, `created_at`, `updated_at`, `invoice_date`
|
|
19
|
+
*
|
|
20
|
+
* @example HTTP
|
|
21
|
+
* Representative request and response shapes.
|
|
22
|
+
* ```
|
|
23
|
+
* GET /bills/?filter=filter&expand=expand&order_by=order_by&limit=50&cursor=cursor HTTP/1.1
|
|
24
|
+
* Host: rest.ripplingapis.com
|
|
25
|
+
* Accept: application/json
|
|
26
|
+
* Rippling-Api-Version: 2024-08-01
|
|
27
|
+
*
|
|
28
|
+
* HTTP/1.1 200 OK
|
|
29
|
+
* Content-Type: application/json
|
|
30
|
+
*
|
|
31
|
+
* {
|
|
32
|
+
* "__meta": {},
|
|
33
|
+
* "results": [
|
|
34
|
+
* {
|
|
35
|
+
* "id": "string",
|
|
36
|
+
* "created_at": "string",
|
|
37
|
+
* "updated_at": "string",
|
|
38
|
+
* "worker_id": "string",
|
|
39
|
+
* "worker": {
|
|
40
|
+
* "id": "string",
|
|
41
|
+
* "created_at": "string",
|
|
42
|
+
* "updated_at": "string",
|
|
43
|
+
* "user_id": "string",
|
|
44
|
+
* "user": {},
|
|
45
|
+
* "is_manager": "string",
|
|
46
|
+
* "manager_id": "string",
|
|
47
|
+
* "manager": {},
|
|
48
|
+
* "legal_entity_id": "string",
|
|
49
|
+
* "legal_entity": {},
|
|
50
|
+
* "country": "AF",
|
|
51
|
+
* "start_date": "string",
|
|
52
|
+
* "end_date": "string",
|
|
53
|
+
* "number": "string",
|
|
54
|
+
* "work_email": "string",
|
|
55
|
+
* "personal_email": "string",
|
|
56
|
+
* "status": "INIT",
|
|
57
|
+
* "location": {},
|
|
58
|
+
* "employment_type_id": "string",
|
|
59
|
+
* "employment_type": {},
|
|
60
|
+
* "gender": "MALE",
|
|
61
|
+
* "date_of_birth": "string",
|
|
62
|
+
* "race": "BLACK",
|
|
63
|
+
* "ethnicity": "HISPANIC_OR_LATINO",
|
|
64
|
+
* "citizenship": "AF",
|
|
65
|
+
* "compensation_id": "string",
|
|
66
|
+
* "compensation": {},
|
|
67
|
+
* "overtime_exemption": "EXEMPT"
|
|
68
|
+
* },
|
|
69
|
+
* "company_amount": {
|
|
70
|
+
* "currency_type": "string",
|
|
71
|
+
* "value": "string"
|
|
72
|
+
* },
|
|
73
|
+
* "merchant_amount": {
|
|
74
|
+
* "currency_type": "string",
|
|
75
|
+
* "value": "string"
|
|
76
|
+
* },
|
|
77
|
+
* "accounting_date": "string",
|
|
78
|
+
* "gl_sync_state": "NOT_FINALIZED",
|
|
79
|
+
* "approval_status": "DRAFT",
|
|
80
|
+
* "entity_id": "string",
|
|
81
|
+
* "vendor": {
|
|
82
|
+
* "id": "string",
|
|
83
|
+
* "created_at": "string",
|
|
84
|
+
* "updated_at": "string",
|
|
85
|
+
* "name": "string",
|
|
86
|
+
* "logo": "string",
|
|
87
|
+
* "is_archived": "string"
|
|
88
|
+
* },
|
|
89
|
+
* "gl_vendor": {
|
|
90
|
+
* "id": "string",
|
|
91
|
+
* "name": "string",
|
|
92
|
+
* "gl_vendor_id": "string"
|
|
93
|
+
* },
|
|
94
|
+
* "memo": "string",
|
|
95
|
+
* "attachments": [
|
|
96
|
+
* {}
|
|
97
|
+
* ],
|
|
98
|
+
* "line_items": [
|
|
99
|
+
* {}
|
|
100
|
+
* ],
|
|
101
|
+
* "vendor_id": "string",
|
|
102
|
+
* "transaction_type": "BILL_PAYMENT",
|
|
103
|
+
* "submitter_id": "string",
|
|
104
|
+
* "parent_bill_id": "string",
|
|
105
|
+
* "submitter": {
|
|
106
|
+
* "id": "string",
|
|
107
|
+
* "created_at": "string",
|
|
108
|
+
* "updated_at": "string",
|
|
109
|
+
* "user_id": "string",
|
|
110
|
+
* "user": {},
|
|
111
|
+
* "is_manager": "string",
|
|
112
|
+
* "manager_id": "string",
|
|
113
|
+
* "manager": {},
|
|
114
|
+
* "legal_entity_id": "string",
|
|
115
|
+
* "legal_entity": {},
|
|
116
|
+
* "country": "AF",
|
|
117
|
+
* "start_date": "string",
|
|
118
|
+
* "end_date": "string",
|
|
119
|
+
* "number": "string",
|
|
120
|
+
* "work_email": "string",
|
|
121
|
+
* "personal_email": "string",
|
|
122
|
+
* "status": "INIT",
|
|
123
|
+
* "location": {},
|
|
124
|
+
* "employment_type_id": "string",
|
|
125
|
+
* "employment_type": {},
|
|
126
|
+
* "gender": "MALE",
|
|
127
|
+
* "date_of_birth": "string",
|
|
128
|
+
* "race": "BLACK",
|
|
129
|
+
* "ethnicity": "HISPANIC_OR_LATINO",
|
|
130
|
+
* "citizenship": "AF",
|
|
131
|
+
* "compensation_id": "string",
|
|
132
|
+
* "compensation": {},
|
|
133
|
+
* "overtime_exemption": "EXEMPT",
|
|
134
|
+
* "department_id": "string",
|
|
135
|
+
* "department": {},
|
|
136
|
+
* "teams_id": [],
|
|
137
|
+
* "teams": [],
|
|
138
|
+
* "title": "string",
|
|
139
|
+
* "title_effective_date": "string",
|
|
140
|
+
* "level_id": "string",
|
|
141
|
+
* "level": {},
|
|
142
|
+
* "job_function_id": "string",
|
|
143
|
+
* "job_function": {},
|
|
144
|
+
* "termination_details": {},
|
|
145
|
+
* "pay_schedule_id": "string",
|
|
146
|
+
* "work_schedule": {},
|
|
147
|
+
* "compensation_grade": {},
|
|
148
|
+
* "original_start_date": "string",
|
|
149
|
+
* "custom_fields": [],
|
|
150
|
+
* "country_fields": {},
|
|
151
|
+
* "business_partners_id": [],
|
|
152
|
+
* "business_partners": []
|
|
153
|
+
* },
|
|
154
|
+
* "invoice_date": "string",
|
|
155
|
+
* "invoice": {
|
|
156
|
+
* "url": "string",
|
|
157
|
+
* "file_name": "string"
|
|
158
|
+
* },
|
|
159
|
+
* "payment_amount": {
|
|
160
|
+
* "currency_type": "string",
|
|
161
|
+
* "value": "string"
|
|
162
|
+
* },
|
|
163
|
+
* "payment_method_fee": {
|
|
164
|
+
* "currency_type": "string",
|
|
165
|
+
* "value": "string"
|
|
166
|
+
* },
|
|
167
|
+
* "invoice_number": "string",
|
|
168
|
+
* "due_date": "string",
|
|
169
|
+
* "vendor_paid_date": "string",
|
|
170
|
+
* "scheduled_payment_date": "string",
|
|
171
|
+
* "estimated_payment_arrival": "string",
|
|
172
|
+
* "payment_velocity": "TWO_DAY",
|
|
173
|
+
* "credit_method": "ACH",
|
|
174
|
+
* "payment_schedule_setting": "SCHEDULE_NOW",
|
|
175
|
+
* "vendor_memo": "string"
|
|
176
|
+
* }
|
|
177
|
+
* ],
|
|
178
|
+
* "next_link": "string"
|
|
179
|
+
* }
|
|
180
|
+
* ```
|
|
181
|
+
*/
|
|
182
|
+
list(query?: BillListParams | null | undefined, options?: RequestOptions): PagePromise<BillListResponsesPageCursorURL, BillListResponse>;
|
|
183
|
+
/**
|
|
184
|
+
* Retrieve a specific bill. Expandable fields: `worker`, `vendor`, `submitter`.
|
|
185
|
+
*
|
|
186
|
+
* @example HTTP
|
|
187
|
+
* Representative request and response shapes.
|
|
188
|
+
* ```
|
|
189
|
+
* GET /bills/{id}/?expand=expand HTTP/1.1
|
|
190
|
+
* Host: rest.ripplingapis.com
|
|
191
|
+
* Accept: application/json
|
|
192
|
+
* Rippling-Api-Version: 2024-08-01
|
|
193
|
+
*
|
|
194
|
+
* HTTP/1.1 200 OK
|
|
195
|
+
* Content-Type: application/json
|
|
196
|
+
*
|
|
197
|
+
* {
|
|
198
|
+
* "__meta": {
|
|
199
|
+
* "redacted_fields": [
|
|
200
|
+
* {}
|
|
201
|
+
* ]
|
|
202
|
+
* }
|
|
203
|
+
* }
|
|
204
|
+
* ```
|
|
205
|
+
*/
|
|
206
|
+
retrieve(id: string, query?: BillRetrieveParams | null | undefined, options?: RequestOptions): APIPromise<BillRetrieveResponse>;
|
|
207
|
+
}
|
|
208
|
+
export type BillListResponsesPageCursorURL = PageCursorURL<BillListResponse>;
|
|
209
|
+
/**
|
|
210
|
+
* A bill visible to the caller, including its invoice and payment details.
|
|
211
|
+
*/
|
|
212
|
+
export interface BillListResponse {
|
|
213
|
+
/**
|
|
214
|
+
* Identifier field
|
|
215
|
+
*/
|
|
216
|
+
id: string;
|
|
217
|
+
/**
|
|
218
|
+
* Record creation date
|
|
219
|
+
*/
|
|
220
|
+
created_at: string;
|
|
221
|
+
/**
|
|
222
|
+
* Record update date
|
|
223
|
+
*/
|
|
224
|
+
updated_at: string;
|
|
225
|
+
/**
|
|
226
|
+
* Date the transaction is booked in the accounting system, as an ISO 8601 date
|
|
227
|
+
* (YYYY-MM-DD).
|
|
228
|
+
*/
|
|
229
|
+
accounting_date?: string;
|
|
230
|
+
/**
|
|
231
|
+
* Approval state of the bill. `DRAFT`: not submitted. `PENDING`: awaiting required
|
|
232
|
+
* information before submission. `REQUESTED`: awaiting approval. `APPROVED`:
|
|
233
|
+
* approved. `REJECTED`: rejected. `FINALIZED`: finalized for payment. `ACTIONED`:
|
|
234
|
+
* paid. `CANCELLED`: cancelled. `FAILED`: payment failed.
|
|
235
|
+
*/
|
|
236
|
+
approval_status?: 'DRAFT' | 'PENDING' | 'REQUESTED' | 'APPROVED' | 'REJECTED' | 'FINALIZED' | 'ACTIONED' | 'CANCELLED' | 'FAILED';
|
|
237
|
+
/**
|
|
238
|
+
* Other attached files, including filenames and recorded upload metadata.
|
|
239
|
+
*/
|
|
240
|
+
attachments?: Array<BillListResponse.Attachment>;
|
|
241
|
+
/**
|
|
242
|
+
* Amount in the company's headquarters currency. The `value` is a decimal string.
|
|
243
|
+
*/
|
|
244
|
+
company_amount?: BillListResponse.CompanyAmount;
|
|
245
|
+
/**
|
|
246
|
+
* How the vendor is paid: ACH, WIRE, CHECK, GLOBAL_ORDER, EXISTING_CORPORATE_CARD,
|
|
247
|
+
* MANUALLY_PAID, or PAID_IN_FULL_VIA_VENDOR_CREDIT. GLOBAL_ORDER is an
|
|
248
|
+
* international transfer. PAID_IN_FULL_VIA_VENDOR_CREDIT means vendor credits
|
|
249
|
+
* cover the full bill, with no cash payment.
|
|
250
|
+
*/
|
|
251
|
+
credit_method?: 'ACH' | 'WIRE' | 'CHECK' | 'GLOBAL_ORDER' | 'EXISTING_CORPORATE_CARD' | 'MANUALLY_PAID' | 'PAID_IN_FULL_VIA_VENDOR_CREDIT';
|
|
252
|
+
/**
|
|
253
|
+
* Invoice due date, as an ISO 8601 date. A draft can omit it.
|
|
254
|
+
*/
|
|
255
|
+
due_date?: string;
|
|
256
|
+
/**
|
|
257
|
+
* ID of the legal entity the transaction belongs to. Use it with
|
|
258
|
+
* `/company-legal-entities/{id}/`.
|
|
259
|
+
*/
|
|
260
|
+
entity_id?: string;
|
|
261
|
+
/**
|
|
262
|
+
* Date the vendor is expected to receive the payment, as an ISO 8601 date. Null
|
|
263
|
+
* when not set.
|
|
264
|
+
*/
|
|
265
|
+
estimated_payment_arrival?: string;
|
|
266
|
+
/**
|
|
267
|
+
* State of the sync to the accounting system. `NOT_FINALIZED`: not ready for
|
|
268
|
+
* accounting review. `FOR_REVIEW`: ready for accounting review. `PENDING_SYNC`:
|
|
269
|
+
* sync is in progress. `SYNCED`: synced to the accounting system. `ERROR`: sync
|
|
270
|
+
* failed. `DO_NOT_SYNC`: marked to be excluded from sync. `EXPORTED`: exported for
|
|
271
|
+
* accounting. `NOT_SYNCABLE`: this record cannot be synced. `AUTO_SYNC`: ready to
|
|
272
|
+
* be synced automatically. Null when no sync state is set.
|
|
273
|
+
*/
|
|
274
|
+
gl_sync_state?: 'NOT_FINALIZED' | 'FOR_REVIEW' | 'PENDING_SYNC' | 'SYNCED' | 'ERROR' | 'DO_NOT_SYNC' | 'EXPORTED' | 'NOT_SYNCABLE' | 'AUTO_SYNC';
|
|
275
|
+
/**
|
|
276
|
+
* Vendor in the connected accounting system.
|
|
277
|
+
*/
|
|
278
|
+
gl_vendor?: BillListResponse.GlVendor;
|
|
279
|
+
/**
|
|
280
|
+
* Invoice file and its filename.
|
|
281
|
+
*/
|
|
282
|
+
invoice?: BillListResponse.Invoice;
|
|
283
|
+
/**
|
|
284
|
+
* Invoice date, as an ISO 8601 date (YYYY-MM-DD). Null when not set. Filters
|
|
285
|
+
* compare UTC calendar days: `eq` includes the whole day, `gt` starts the
|
|
286
|
+
* following day, and `lt` excludes the specified day. `ge` and `le` include the
|
|
287
|
+
* specified day; `in` matches any listed day.
|
|
288
|
+
*/
|
|
289
|
+
invoice_date?: string;
|
|
290
|
+
/**
|
|
291
|
+
* Invoice number. Null when the bill has no invoice number.
|
|
292
|
+
*/
|
|
293
|
+
invoice_number?: string;
|
|
294
|
+
/**
|
|
295
|
+
* Category splits of the transaction amount. Updates replace the entire list.
|
|
296
|
+
*/
|
|
297
|
+
line_items?: Array<BillListResponse.LineItem>;
|
|
298
|
+
/**
|
|
299
|
+
* Memo entered on the transaction.
|
|
300
|
+
*/
|
|
301
|
+
memo?: string;
|
|
302
|
+
/**
|
|
303
|
+
* Amount charged by the merchant, in the merchant currency. The `value` is a
|
|
304
|
+
* decimal string.
|
|
305
|
+
*/
|
|
306
|
+
merchant_amount?: BillListResponse.MerchantAmount;
|
|
307
|
+
/**
|
|
308
|
+
* ID of the bill this payment was split from. Use it with `/bills/{id}/`. Null
|
|
309
|
+
* when it is not a split bill.
|
|
310
|
+
*/
|
|
311
|
+
parent_bill_id?: string;
|
|
312
|
+
/**
|
|
313
|
+
* Amount paid to the vendor, in the payment currency. The `value` is a decimal
|
|
314
|
+
* string.
|
|
315
|
+
*/
|
|
316
|
+
payment_amount?: BillListResponse.PaymentAmount;
|
|
317
|
+
/**
|
|
318
|
+
* Payment method fee, in the company's headquarters currency. The `value` is a
|
|
319
|
+
* decimal string. Zero when there is no fee.
|
|
320
|
+
*/
|
|
321
|
+
payment_method_fee?: BillListResponse.PaymentMethodFee;
|
|
322
|
+
/**
|
|
323
|
+
* Payment scheduling choice: `SCHEDULE_NOW` to schedule payment, or `SKIP_FOR_NOW`
|
|
324
|
+
* to defer scheduling.
|
|
325
|
+
*/
|
|
326
|
+
payment_schedule_setting?: 'SCHEDULE_NOW' | 'SKIP_FOR_NOW';
|
|
327
|
+
/**
|
|
328
|
+
* Payment speed option: `TWO_DAY` (accelerated) or `FOUR_DAY` (standard). Use
|
|
329
|
+
* `estimated_payment_arrival` for the expected arrival date.
|
|
330
|
+
*/
|
|
331
|
+
payment_velocity?: 'TWO_DAY' | 'FOUR_DAY';
|
|
332
|
+
/**
|
|
333
|
+
* Date used to estimate vendor payment, as an ISO 8601 date. Null when not set.
|
|
334
|
+
*/
|
|
335
|
+
scheduled_payment_date?: string;
|
|
336
|
+
/**
|
|
337
|
+
* Submitting bill manager. Expand with `bills.read` and `workers.read`.
|
|
338
|
+
*
|
|
339
|
+
* Expandable field
|
|
340
|
+
*/
|
|
341
|
+
submitter?: WorkersAPI.Worker;
|
|
342
|
+
/**
|
|
343
|
+
* ID of the bill manager who submitted the bill. Use it with `/workers/{id}/`. Can
|
|
344
|
+
* differ from `worker_id`. Null before submission.
|
|
345
|
+
*/
|
|
346
|
+
submitter_id?: string;
|
|
347
|
+
/**
|
|
348
|
+
* Type of transaction: `BILL_PAYMENT`.
|
|
349
|
+
*/
|
|
350
|
+
transaction_type?: 'BILL_PAYMENT';
|
|
351
|
+
/**
|
|
352
|
+
* Vendor details. Expand with `bills.read` and `finance-vendors.read`.
|
|
353
|
+
*
|
|
354
|
+
* Expandable field
|
|
355
|
+
*/
|
|
356
|
+
vendor?: BillListResponse.Vendor;
|
|
357
|
+
/**
|
|
358
|
+
* ID of the Finance vendor. Use it with `/finance-vendors/{id}/`.
|
|
359
|
+
*/
|
|
360
|
+
vendor_id?: string;
|
|
361
|
+
/**
|
|
362
|
+
* Memo included on the payment to the vendor. Supported for ACH; null when not
|
|
363
|
+
* set.
|
|
364
|
+
*/
|
|
365
|
+
vendor_memo?: string;
|
|
366
|
+
/**
|
|
367
|
+
* Date the vendor is paid, as an ISO 8601 date. Null until paid.
|
|
368
|
+
*/
|
|
369
|
+
vendor_paid_date?: string;
|
|
370
|
+
/**
|
|
371
|
+
* Worker details. Expand with `bills.read` and `workers.read`.
|
|
372
|
+
*
|
|
373
|
+
* Expandable field
|
|
374
|
+
*/
|
|
375
|
+
worker?: WorkersAPI.Worker;
|
|
376
|
+
/**
|
|
377
|
+
* ID of the worker who made the transaction. Use it with `/workers/{id}/`.
|
|
378
|
+
*/
|
|
379
|
+
worker_id?: string;
|
|
380
|
+
}
|
|
381
|
+
export declare namespace BillListResponse {
|
|
382
|
+
/**
|
|
383
|
+
* A Finance transaction attachment with recorded upload details.
|
|
384
|
+
*/
|
|
385
|
+
interface Attachment {
|
|
386
|
+
/**
|
|
387
|
+
* URL for accessing the file.
|
|
388
|
+
*/
|
|
389
|
+
url: string;
|
|
390
|
+
/**
|
|
391
|
+
* Original file name, when recorded.
|
|
392
|
+
*/
|
|
393
|
+
file_name?: string;
|
|
394
|
+
/**
|
|
395
|
+
* When the attachment was uploaded, as an ISO 8601 date-time in UTC, when
|
|
396
|
+
* recorded.
|
|
397
|
+
*/
|
|
398
|
+
uploaded_at?: string;
|
|
399
|
+
/**
|
|
400
|
+
* ID of the worker who uploaded the attachment. Use it with `/workers/{id}/`.
|
|
401
|
+
*/
|
|
402
|
+
uploaded_by_id?: string;
|
|
403
|
+
}
|
|
404
|
+
/**
|
|
405
|
+
* Amount in the company's headquarters currency. The `value` is a decimal string.
|
|
406
|
+
*/
|
|
407
|
+
interface CompanyAmount {
|
|
408
|
+
/**
|
|
409
|
+
* The currency type, ex: USD, EUR, etc.
|
|
410
|
+
*/
|
|
411
|
+
currency_type?: string;
|
|
412
|
+
/**
|
|
413
|
+
* The decimal amount for the currency.
|
|
414
|
+
*/
|
|
415
|
+
value?: number;
|
|
416
|
+
}
|
|
417
|
+
/**
|
|
418
|
+
* Vendor in the connected accounting system.
|
|
419
|
+
*/
|
|
420
|
+
interface GlVendor {
|
|
421
|
+
/**
|
|
422
|
+
* ID of the accounting vendor in Rippling.
|
|
423
|
+
*/
|
|
424
|
+
id?: string;
|
|
425
|
+
/**
|
|
426
|
+
* ID of the vendor in the accounting system.
|
|
427
|
+
*/
|
|
428
|
+
gl_vendor_id?: string;
|
|
429
|
+
/**
|
|
430
|
+
* Name of the vendor in the accounting system.
|
|
431
|
+
*/
|
|
432
|
+
name?: string;
|
|
433
|
+
}
|
|
434
|
+
/**
|
|
435
|
+
* Invoice file and its filename.
|
|
436
|
+
*/
|
|
437
|
+
interface Invoice {
|
|
438
|
+
/**
|
|
439
|
+
* URL for accessing the file.
|
|
440
|
+
*/
|
|
441
|
+
url: string;
|
|
442
|
+
/**
|
|
443
|
+
* Original file name, when recorded.
|
|
444
|
+
*/
|
|
445
|
+
file_name?: string;
|
|
446
|
+
}
|
|
447
|
+
interface LineItem {
|
|
448
|
+
/**
|
|
449
|
+
* Unique identifier of this line item. Null for older line items that have not
|
|
450
|
+
* been assigned one yet.
|
|
451
|
+
*/
|
|
452
|
+
id?: string;
|
|
453
|
+
/**
|
|
454
|
+
* Whether this line is amortized.
|
|
455
|
+
*/
|
|
456
|
+
amortized?: boolean;
|
|
457
|
+
/**
|
|
458
|
+
* Amount of this split, in the merchant currency. The `value` is a decimal string.
|
|
459
|
+
*/
|
|
460
|
+
amount?: LineItem.Amount;
|
|
461
|
+
/**
|
|
462
|
+
* ID of the Finance category assigned to this split. Use it with
|
|
463
|
+
* `/finance-categories/{id}/`. The category name is in `category_name`.
|
|
464
|
+
*/
|
|
465
|
+
category_id?: string;
|
|
466
|
+
/**
|
|
467
|
+
* Name of the finance category.
|
|
468
|
+
*/
|
|
469
|
+
category_name?: string;
|
|
470
|
+
/**
|
|
471
|
+
* Selected dimension values, keyed by dimension ID. `DEPARTMENT` and
|
|
472
|
+
* `WORK_LOCATION` are the built-in keys. Get custom dimension IDs from
|
|
473
|
+
* `/job-dimensions/` and `/job-dimensions/{id}/`. Each choice `value` is a job
|
|
474
|
+
* code ID from `/job-codes/` and `/job-codes/{id}/`.
|
|
475
|
+
*/
|
|
476
|
+
dimension_choices?: {
|
|
477
|
+
[key: string]: LineItem.DimensionChoices;
|
|
478
|
+
};
|
|
479
|
+
/**
|
|
480
|
+
* End of the amortization period (YYYY-MM-DD).
|
|
481
|
+
*/
|
|
482
|
+
end_date?: string;
|
|
483
|
+
/**
|
|
484
|
+
* ERP amortization schedule associated with this line.
|
|
485
|
+
*/
|
|
486
|
+
gl_amortization_schedule?: LineItem.GlAmortizationSchedule;
|
|
487
|
+
/**
|
|
488
|
+
* ERP amortization template for this line.
|
|
489
|
+
*/
|
|
490
|
+
gl_amortization_template?: LineItem.GlAmortizationTemplate;
|
|
491
|
+
/**
|
|
492
|
+
* Whether this split is billed to `gl_customer` in the accounting system.
|
|
493
|
+
* `BILLABLE` means it is billed, `NOT_BILLABLE` means it is not. Null when not
|
|
494
|
+
* set.
|
|
495
|
+
*/
|
|
496
|
+
gl_billable?: 'BILLABLE' | 'NOT_BILLABLE';
|
|
497
|
+
/**
|
|
498
|
+
* ID of the customer record in the connected accounting integration. No public
|
|
499
|
+
* Rippling API is currently available to retrieve this accounting customer.
|
|
500
|
+
*/
|
|
501
|
+
gl_customer?: string;
|
|
502
|
+
/**
|
|
503
|
+
* Rippling ID of the accounting tax code. No public Rippling API is currently
|
|
504
|
+
* available to retrieve this accounting tax code.
|
|
505
|
+
*/
|
|
506
|
+
gl_tax_code?: string;
|
|
507
|
+
/**
|
|
508
|
+
* Memo entered on this split.
|
|
509
|
+
*/
|
|
510
|
+
memo?: string;
|
|
511
|
+
/**
|
|
512
|
+
* Prepaid asset account for Rippling-managed amortization.
|
|
513
|
+
*/
|
|
514
|
+
prepaid_account?: LineItem.PrepaidAccount;
|
|
515
|
+
/**
|
|
516
|
+
* Start of the amortization period (YYYY-MM-DD).
|
|
517
|
+
*/
|
|
518
|
+
start_date?: string;
|
|
519
|
+
/**
|
|
520
|
+
* Total tax amount for this line in the merchant currency.
|
|
521
|
+
*/
|
|
522
|
+
tax_amount?: LineItem.TaxAmount;
|
|
523
|
+
}
|
|
524
|
+
namespace LineItem {
|
|
525
|
+
/**
|
|
526
|
+
* Amount of this split, in the merchant currency. The `value` is a decimal string.
|
|
527
|
+
*/
|
|
528
|
+
interface Amount {
|
|
529
|
+
/**
|
|
530
|
+
* The currency type, ex: USD, EUR, etc.
|
|
531
|
+
*/
|
|
532
|
+
currency_type?: string;
|
|
533
|
+
/**
|
|
534
|
+
* The decimal amount for the currency.
|
|
535
|
+
*/
|
|
536
|
+
value?: number;
|
|
537
|
+
}
|
|
538
|
+
interface DimensionChoices {
|
|
539
|
+
/**
|
|
540
|
+
* Name of the dimension, such as Department.
|
|
541
|
+
*/
|
|
542
|
+
dimension_name?: string;
|
|
543
|
+
/**
|
|
544
|
+
* Display name of the selected dimension value.
|
|
545
|
+
*/
|
|
546
|
+
label?: string;
|
|
547
|
+
/**
|
|
548
|
+
* ID of the selected value. For `DEPARTMENT` use `/departments/{id}/`, for
|
|
549
|
+
* `WORK_LOCATION` use `/work-locations/{id}/`, and for a custom job dimension use
|
|
550
|
+
* `/job-codes/{id}/`.
|
|
551
|
+
*/
|
|
552
|
+
value?: string;
|
|
553
|
+
}
|
|
554
|
+
/**
|
|
555
|
+
* ERP amortization schedule associated with this line.
|
|
556
|
+
*/
|
|
557
|
+
interface GlAmortizationSchedule {
|
|
558
|
+
/**
|
|
559
|
+
* Rippling ID of the accounting integration that owns this object. No public
|
|
560
|
+
* Rippling API is currently available to retrieve this accounting integration.
|
|
561
|
+
*/
|
|
562
|
+
accounting_integration_id?: string;
|
|
563
|
+
/**
|
|
564
|
+
* Number of amortization periods.
|
|
565
|
+
*/
|
|
566
|
+
amortization_period?: number;
|
|
567
|
+
/**
|
|
568
|
+
* End of the ERP amortization schedule as an ISO 8601 timestamp (for example,
|
|
569
|
+
* 2026-12-31T00:00:00). May omit a timezone offset; an omitted offset does not
|
|
570
|
+
* indicate UTC. Null when not set.
|
|
571
|
+
*/
|
|
572
|
+
end_date?: string;
|
|
573
|
+
/**
|
|
574
|
+
* Object ID in the connected accounting system.
|
|
575
|
+
*/
|
|
576
|
+
gl_object_id?: string;
|
|
577
|
+
/**
|
|
578
|
+
* Type of object in the connected accounting system: GL_AMORTIZATION_TEMPLATE
|
|
579
|
+
* defines amortization rules; GL_AMORTIZATION_SCHEDULE tracks amortization;
|
|
580
|
+
* GL_AMORTIZATION_SCHEDULE_RECURRENCE is a schedule entry; GL_ACCOUNT is a general
|
|
581
|
+
* ledger account; GL_JOURNAL_ENTRY is a journal entry; GL_POSTING_PERIOD is an
|
|
582
|
+
* accounting period; GL_VENDOR, GL_CUSTOMER, and GL_EMPLOYEE identify a vendor,
|
|
583
|
+
* customer, and employee respectively; GL_SUBSIDIARY identifies a subsidiary. Null
|
|
584
|
+
* when not set.
|
|
585
|
+
*/
|
|
586
|
+
gl_object_type?: 'GL_AMORTIZATION_TEMPLATE' | 'GL_AMORTIZATION_SCHEDULE' | 'GL_AMORTIZATION_SCHEDULE_RECURRENCE' | 'GL_ACCOUNT' | 'GL_JOURNAL_ENTRY' | 'GL_POSTING_PERIOD' | 'GL_VENDOR' | 'GL_CUSTOMER' | 'GL_EMPLOYEE' | 'GL_SUBSIDIARY';
|
|
587
|
+
/**
|
|
588
|
+
* Accounting object name.
|
|
589
|
+
*/
|
|
590
|
+
name?: string;
|
|
591
|
+
/**
|
|
592
|
+
* Start of the ERP amortization schedule as an ISO 8601 timestamp (for example,
|
|
593
|
+
* 2026-01-01T00:00:00). May omit a timezone offset; an omitted offset does not
|
|
594
|
+
* indicate UTC. Null when not set.
|
|
595
|
+
*/
|
|
596
|
+
start_date?: string;
|
|
597
|
+
/**
|
|
598
|
+
* ERP amortization schedule status: NOT_STARTED means amortization has not begun;
|
|
599
|
+
* IN_PROGRESS means amortization is underway; COMPLETED means amortization is
|
|
600
|
+
* complete; ON_HOLD means amortization is paused. Null when not set.
|
|
601
|
+
*/
|
|
602
|
+
status?: 'NOT_STARTED' | 'IN_PROGRESS' | 'COMPLETED' | 'ON_HOLD';
|
|
603
|
+
/**
|
|
604
|
+
* Amount already amortized as reported by the ERP, in the same currency as
|
|
605
|
+
* total_amount. No currency conversion is applied; the schedule currency code is
|
|
606
|
+
* not available in this response.
|
|
607
|
+
*/
|
|
608
|
+
total_amortized_amount?: number;
|
|
609
|
+
/**
|
|
610
|
+
* Total schedule amount as reported by the ERP, without currency conversion. The
|
|
611
|
+
* schedule currency code is not available in this response.
|
|
612
|
+
*/
|
|
613
|
+
total_amount?: number;
|
|
614
|
+
}
|
|
615
|
+
/**
|
|
616
|
+
* ERP amortization template for this line.
|
|
617
|
+
*/
|
|
618
|
+
interface GlAmortizationTemplate {
|
|
619
|
+
/**
|
|
620
|
+
* Rippling ID of the accounting integration that owns this object. No public
|
|
621
|
+
* Rippling API is currently available to retrieve this accounting integration.
|
|
622
|
+
*/
|
|
623
|
+
accounting_integration_id?: string;
|
|
624
|
+
/**
|
|
625
|
+
* Object ID in the connected accounting system.
|
|
626
|
+
*/
|
|
627
|
+
gl_object_id?: string;
|
|
628
|
+
/**
|
|
629
|
+
* Type of object in the connected accounting system: GL_AMORTIZATION_TEMPLATE
|
|
630
|
+
* defines amortization rules; GL_AMORTIZATION_SCHEDULE tracks amortization;
|
|
631
|
+
* GL_AMORTIZATION_SCHEDULE_RECURRENCE is a schedule entry; GL_ACCOUNT is a general
|
|
632
|
+
* ledger account; GL_JOURNAL_ENTRY is a journal entry; GL_POSTING_PERIOD is an
|
|
633
|
+
* accounting period; GL_VENDOR, GL_CUSTOMER, and GL_EMPLOYEE identify a vendor,
|
|
634
|
+
* customer, and employee respectively; GL_SUBSIDIARY identifies a subsidiary. Null
|
|
635
|
+
* when not set.
|
|
636
|
+
*/
|
|
637
|
+
gl_object_type?: 'GL_AMORTIZATION_TEMPLATE' | 'GL_AMORTIZATION_SCHEDULE' | 'GL_AMORTIZATION_SCHEDULE_RECURRENCE' | 'GL_ACCOUNT' | 'GL_JOURNAL_ENTRY' | 'GL_POSTING_PERIOD' | 'GL_VENDOR' | 'GL_CUSTOMER' | 'GL_EMPLOYEE' | 'GL_SUBSIDIARY';
|
|
638
|
+
/**
|
|
639
|
+
* Accounting object name.
|
|
640
|
+
*/
|
|
641
|
+
name?: string;
|
|
642
|
+
}
|
|
643
|
+
/**
|
|
644
|
+
* Prepaid asset account for Rippling-managed amortization.
|
|
645
|
+
*/
|
|
646
|
+
interface PrepaidAccount {
|
|
647
|
+
/**
|
|
648
|
+
* Account ID in the connected accounting system.
|
|
649
|
+
*/
|
|
650
|
+
account_id?: string;
|
|
651
|
+
/**
|
|
652
|
+
* Account code.
|
|
653
|
+
*/
|
|
654
|
+
code?: string;
|
|
655
|
+
/**
|
|
656
|
+
* Account name.
|
|
657
|
+
*/
|
|
658
|
+
name?: string;
|
|
659
|
+
/**
|
|
660
|
+
* IDs of custom dimensions required by this account.
|
|
661
|
+
*/
|
|
662
|
+
required_custom_dimensions?: Array<string>;
|
|
663
|
+
/**
|
|
664
|
+
* Whether this account requires a department.
|
|
665
|
+
*/
|
|
666
|
+
requires_department?: boolean;
|
|
667
|
+
/**
|
|
668
|
+
* Whether this account requires a work location.
|
|
669
|
+
*/
|
|
670
|
+
requires_work_location?: boolean;
|
|
671
|
+
/**
|
|
672
|
+
* Accounting account type: RECEIVABLE for accounts receivable, PAYABLE for
|
|
673
|
+
* accounts payable, EXPENSE for expense accounts, or BANK for bank accounts. Null
|
|
674
|
+
* when not set.
|
|
675
|
+
*/
|
|
676
|
+
type?: 'RECEIVABLE' | 'PAYABLE' | 'EXPENSE' | 'BANK';
|
|
677
|
+
}
|
|
678
|
+
/**
|
|
679
|
+
* Total tax amount for this line in the merchant currency.
|
|
680
|
+
*/
|
|
681
|
+
interface TaxAmount {
|
|
682
|
+
/**
|
|
683
|
+
* The currency type, ex: USD, EUR, etc.
|
|
684
|
+
*/
|
|
685
|
+
currency_type?: string;
|
|
686
|
+
/**
|
|
687
|
+
* The decimal amount for the currency.
|
|
688
|
+
*/
|
|
689
|
+
value?: number;
|
|
690
|
+
}
|
|
691
|
+
}
|
|
692
|
+
/**
|
|
693
|
+
* Amount charged by the merchant, in the merchant currency. The `value` is a
|
|
694
|
+
* decimal string.
|
|
695
|
+
*/
|
|
696
|
+
interface MerchantAmount {
|
|
697
|
+
/**
|
|
698
|
+
* The currency type, ex: USD, EUR, etc.
|
|
699
|
+
*/
|
|
700
|
+
currency_type?: string;
|
|
701
|
+
/**
|
|
702
|
+
* The decimal amount for the currency.
|
|
703
|
+
*/
|
|
704
|
+
value?: number;
|
|
705
|
+
}
|
|
706
|
+
/**
|
|
707
|
+
* Amount paid to the vendor, in the payment currency. The `value` is a decimal
|
|
708
|
+
* string.
|
|
709
|
+
*/
|
|
710
|
+
interface PaymentAmount {
|
|
711
|
+
/**
|
|
712
|
+
* The currency type, ex: USD, EUR, etc.
|
|
713
|
+
*/
|
|
714
|
+
currency_type?: string;
|
|
715
|
+
/**
|
|
716
|
+
* The decimal amount for the currency.
|
|
717
|
+
*/
|
|
718
|
+
value?: number;
|
|
719
|
+
}
|
|
720
|
+
/**
|
|
721
|
+
* Payment method fee, in the company's headquarters currency. The `value` is a
|
|
722
|
+
* decimal string. Zero when there is no fee.
|
|
723
|
+
*/
|
|
724
|
+
interface PaymentMethodFee {
|
|
725
|
+
/**
|
|
726
|
+
* The currency type, ex: USD, EUR, etc.
|
|
727
|
+
*/
|
|
728
|
+
currency_type?: string;
|
|
729
|
+
/**
|
|
730
|
+
* The decimal amount for the currency.
|
|
731
|
+
*/
|
|
732
|
+
value?: number;
|
|
733
|
+
}
|
|
734
|
+
/**
|
|
735
|
+
* Vendor details. Expand with `bills.read` and `finance-vendors.read`.
|
|
736
|
+
*
|
|
737
|
+
* Expandable field
|
|
738
|
+
*/
|
|
739
|
+
interface Vendor {
|
|
740
|
+
/**
|
|
741
|
+
* Identifier field
|
|
742
|
+
*/
|
|
743
|
+
id: string;
|
|
744
|
+
/**
|
|
745
|
+
* Record creation date
|
|
746
|
+
*/
|
|
747
|
+
created_at: string;
|
|
748
|
+
/**
|
|
749
|
+
* Record update date
|
|
750
|
+
*/
|
|
751
|
+
updated_at: string;
|
|
752
|
+
/**
|
|
753
|
+
* Whether the vendor is archived. Archived vendors remain available for historical
|
|
754
|
+
* references.
|
|
755
|
+
*/
|
|
756
|
+
is_archived?: boolean;
|
|
757
|
+
/**
|
|
758
|
+
* URL of the vendor's logo. Null when no logo is available.
|
|
759
|
+
*/
|
|
760
|
+
logo?: string;
|
|
761
|
+
/**
|
|
762
|
+
* Canonical name of the Finance vendor. Name eq, ne, and in filters also match
|
|
763
|
+
* alternate names.
|
|
764
|
+
*/
|
|
765
|
+
name?: string;
|
|
766
|
+
}
|
|
767
|
+
}
|
|
768
|
+
/**
|
|
769
|
+
* Meta information for the response.
|
|
770
|
+
*/
|
|
771
|
+
export interface BillRetrieveResponse extends BusinessPartnersAPI.Meta {
|
|
772
|
+
/**
|
|
773
|
+
* Identifier field
|
|
774
|
+
*/
|
|
775
|
+
id: string;
|
|
776
|
+
/**
|
|
777
|
+
* Record creation date
|
|
778
|
+
*/
|
|
779
|
+
created_at: string;
|
|
780
|
+
/**
|
|
781
|
+
* Record update date
|
|
782
|
+
*/
|
|
783
|
+
updated_at: string;
|
|
784
|
+
/**
|
|
785
|
+
* Date the transaction is booked in the accounting system, as an ISO 8601 date
|
|
786
|
+
* (YYYY-MM-DD).
|
|
787
|
+
*/
|
|
788
|
+
accounting_date?: string;
|
|
789
|
+
/**
|
|
790
|
+
* Approval state of the bill. `DRAFT`: not submitted. `PENDING`: awaiting required
|
|
791
|
+
* information before submission. `REQUESTED`: awaiting approval. `APPROVED`:
|
|
792
|
+
* approved. `REJECTED`: rejected. `FINALIZED`: finalized for payment. `ACTIONED`:
|
|
793
|
+
* paid. `CANCELLED`: cancelled. `FAILED`: payment failed.
|
|
794
|
+
*/
|
|
795
|
+
approval_status?: 'DRAFT' | 'PENDING' | 'REQUESTED' | 'APPROVED' | 'REJECTED' | 'FINALIZED' | 'ACTIONED' | 'CANCELLED' | 'FAILED';
|
|
796
|
+
/**
|
|
797
|
+
* Other attached files, including filenames and recorded upload metadata.
|
|
798
|
+
*/
|
|
799
|
+
attachments?: Array<BillRetrieveResponse.Attachment>;
|
|
800
|
+
/**
|
|
801
|
+
* Amount in the company's headquarters currency. The `value` is a decimal string.
|
|
802
|
+
*/
|
|
803
|
+
company_amount?: BillRetrieveResponse.CompanyAmount;
|
|
804
|
+
/**
|
|
805
|
+
* How the vendor is paid: ACH, WIRE, CHECK, GLOBAL_ORDER, EXISTING_CORPORATE_CARD,
|
|
806
|
+
* MANUALLY_PAID, or PAID_IN_FULL_VIA_VENDOR_CREDIT. GLOBAL_ORDER is an
|
|
807
|
+
* international transfer. PAID_IN_FULL_VIA_VENDOR_CREDIT means vendor credits
|
|
808
|
+
* cover the full bill, with no cash payment.
|
|
809
|
+
*/
|
|
810
|
+
credit_method?: 'ACH' | 'WIRE' | 'CHECK' | 'GLOBAL_ORDER' | 'EXISTING_CORPORATE_CARD' | 'MANUALLY_PAID' | 'PAID_IN_FULL_VIA_VENDOR_CREDIT';
|
|
811
|
+
/**
|
|
812
|
+
* Invoice due date, as an ISO 8601 date. A draft can omit it.
|
|
813
|
+
*/
|
|
814
|
+
due_date?: string;
|
|
815
|
+
/**
|
|
816
|
+
* ID of the legal entity the transaction belongs to. Use it with
|
|
817
|
+
* `/company-legal-entities/{id}/`.
|
|
818
|
+
*/
|
|
819
|
+
entity_id?: string;
|
|
820
|
+
/**
|
|
821
|
+
* Date the vendor is expected to receive the payment, as an ISO 8601 date. Null
|
|
822
|
+
* when not set.
|
|
823
|
+
*/
|
|
824
|
+
estimated_payment_arrival?: string;
|
|
825
|
+
/**
|
|
826
|
+
* State of the sync to the accounting system. `NOT_FINALIZED`: not ready for
|
|
827
|
+
* accounting review. `FOR_REVIEW`: ready for accounting review. `PENDING_SYNC`:
|
|
828
|
+
* sync is in progress. `SYNCED`: synced to the accounting system. `ERROR`: sync
|
|
829
|
+
* failed. `DO_NOT_SYNC`: marked to be excluded from sync. `EXPORTED`: exported for
|
|
830
|
+
* accounting. `NOT_SYNCABLE`: this record cannot be synced. `AUTO_SYNC`: ready to
|
|
831
|
+
* be synced automatically. Null when no sync state is set.
|
|
832
|
+
*/
|
|
833
|
+
gl_sync_state?: 'NOT_FINALIZED' | 'FOR_REVIEW' | 'PENDING_SYNC' | 'SYNCED' | 'ERROR' | 'DO_NOT_SYNC' | 'EXPORTED' | 'NOT_SYNCABLE' | 'AUTO_SYNC';
|
|
834
|
+
/**
|
|
835
|
+
* Vendor in the connected accounting system.
|
|
836
|
+
*/
|
|
837
|
+
gl_vendor?: BillRetrieveResponse.GlVendor;
|
|
838
|
+
/**
|
|
839
|
+
* Invoice file and its filename.
|
|
840
|
+
*/
|
|
841
|
+
invoice?: BillRetrieveResponse.Invoice;
|
|
842
|
+
/**
|
|
843
|
+
* Invoice date, as an ISO 8601 date (YYYY-MM-DD). Null when not set. Filters
|
|
844
|
+
* compare UTC calendar days: `eq` includes the whole day, `gt` starts the
|
|
845
|
+
* following day, and `lt` excludes the specified day. `ge` and `le` include the
|
|
846
|
+
* specified day; `in` matches any listed day.
|
|
847
|
+
*/
|
|
848
|
+
invoice_date?: string;
|
|
849
|
+
/**
|
|
850
|
+
* Invoice number. Null when the bill has no invoice number.
|
|
851
|
+
*/
|
|
852
|
+
invoice_number?: string;
|
|
853
|
+
/**
|
|
854
|
+
* Category splits of the transaction amount. Updates replace the entire list.
|
|
855
|
+
*/
|
|
856
|
+
line_items?: Array<BillRetrieveResponse.LineItem>;
|
|
857
|
+
/**
|
|
858
|
+
* Memo entered on the transaction.
|
|
859
|
+
*/
|
|
860
|
+
memo?: string;
|
|
861
|
+
/**
|
|
862
|
+
* Amount charged by the merchant, in the merchant currency. The `value` is a
|
|
863
|
+
* decimal string.
|
|
864
|
+
*/
|
|
865
|
+
merchant_amount?: BillRetrieveResponse.MerchantAmount;
|
|
866
|
+
/**
|
|
867
|
+
* ID of the bill this payment was split from. Use it with `/bills/{id}/`. Null
|
|
868
|
+
* when it is not a split bill.
|
|
869
|
+
*/
|
|
870
|
+
parent_bill_id?: string;
|
|
871
|
+
/**
|
|
872
|
+
* Amount paid to the vendor, in the payment currency. The `value` is a decimal
|
|
873
|
+
* string.
|
|
874
|
+
*/
|
|
875
|
+
payment_amount?: BillRetrieveResponse.PaymentAmount;
|
|
876
|
+
/**
|
|
877
|
+
* Payment method fee, in the company's headquarters currency. The `value` is a
|
|
878
|
+
* decimal string. Zero when there is no fee.
|
|
879
|
+
*/
|
|
880
|
+
payment_method_fee?: BillRetrieveResponse.PaymentMethodFee;
|
|
881
|
+
/**
|
|
882
|
+
* Payment scheduling choice: `SCHEDULE_NOW` to schedule payment, or `SKIP_FOR_NOW`
|
|
883
|
+
* to defer scheduling.
|
|
884
|
+
*/
|
|
885
|
+
payment_schedule_setting?: 'SCHEDULE_NOW' | 'SKIP_FOR_NOW';
|
|
886
|
+
/**
|
|
887
|
+
* Payment speed option: `TWO_DAY` (accelerated) or `FOUR_DAY` (standard). Use
|
|
888
|
+
* `estimated_payment_arrival` for the expected arrival date.
|
|
889
|
+
*/
|
|
890
|
+
payment_velocity?: 'TWO_DAY' | 'FOUR_DAY';
|
|
891
|
+
/**
|
|
892
|
+
* Date used to estimate vendor payment, as an ISO 8601 date. Null when not set.
|
|
893
|
+
*/
|
|
894
|
+
scheduled_payment_date?: string;
|
|
895
|
+
/**
|
|
896
|
+
* Submitting bill manager. Expand with `bills.read` and `workers.read`.
|
|
897
|
+
*
|
|
898
|
+
* Expandable field
|
|
899
|
+
*/
|
|
900
|
+
submitter?: WorkersAPI.Worker;
|
|
901
|
+
/**
|
|
902
|
+
* ID of the bill manager who submitted the bill. Use it with `/workers/{id}/`. Can
|
|
903
|
+
* differ from `worker_id`. Null before submission.
|
|
904
|
+
*/
|
|
905
|
+
submitter_id?: string;
|
|
906
|
+
/**
|
|
907
|
+
* Type of transaction: `BILL_PAYMENT`.
|
|
908
|
+
*/
|
|
909
|
+
transaction_type?: 'BILL_PAYMENT';
|
|
910
|
+
/**
|
|
911
|
+
* Vendor details. Expand with `bills.read` and `finance-vendors.read`.
|
|
912
|
+
*
|
|
913
|
+
* Expandable field
|
|
914
|
+
*/
|
|
915
|
+
vendor?: BillRetrieveResponse.Vendor;
|
|
916
|
+
/**
|
|
917
|
+
* ID of the Finance vendor. Use it with `/finance-vendors/{id}/`.
|
|
918
|
+
*/
|
|
919
|
+
vendor_id?: string;
|
|
920
|
+
/**
|
|
921
|
+
* Memo included on the payment to the vendor. Supported for ACH; null when not
|
|
922
|
+
* set.
|
|
923
|
+
*/
|
|
924
|
+
vendor_memo?: string;
|
|
925
|
+
/**
|
|
926
|
+
* Date the vendor is paid, as an ISO 8601 date. Null until paid.
|
|
927
|
+
*/
|
|
928
|
+
vendor_paid_date?: string;
|
|
929
|
+
/**
|
|
930
|
+
* Worker details. Expand with `bills.read` and `workers.read`.
|
|
931
|
+
*
|
|
932
|
+
* Expandable field
|
|
933
|
+
*/
|
|
934
|
+
worker?: WorkersAPI.Worker;
|
|
935
|
+
/**
|
|
936
|
+
* ID of the worker who made the transaction. Use it with `/workers/{id}/`.
|
|
937
|
+
*/
|
|
938
|
+
worker_id?: string;
|
|
939
|
+
}
|
|
940
|
+
export declare namespace BillRetrieveResponse {
|
|
941
|
+
/**
|
|
942
|
+
* A Finance transaction attachment with recorded upload details.
|
|
943
|
+
*/
|
|
944
|
+
interface Attachment {
|
|
945
|
+
/**
|
|
946
|
+
* URL for accessing the file.
|
|
947
|
+
*/
|
|
948
|
+
url: string;
|
|
949
|
+
/**
|
|
950
|
+
* Original file name, when recorded.
|
|
951
|
+
*/
|
|
952
|
+
file_name?: string;
|
|
953
|
+
/**
|
|
954
|
+
* When the attachment was uploaded, as an ISO 8601 date-time in UTC, when
|
|
955
|
+
* recorded.
|
|
956
|
+
*/
|
|
957
|
+
uploaded_at?: string;
|
|
958
|
+
/**
|
|
959
|
+
* ID of the worker who uploaded the attachment. Use it with `/workers/{id}/`.
|
|
960
|
+
*/
|
|
961
|
+
uploaded_by_id?: string;
|
|
962
|
+
}
|
|
963
|
+
/**
|
|
964
|
+
* Amount in the company's headquarters currency. The `value` is a decimal string.
|
|
965
|
+
*/
|
|
966
|
+
interface CompanyAmount {
|
|
967
|
+
/**
|
|
968
|
+
* The currency type, ex: USD, EUR, etc.
|
|
969
|
+
*/
|
|
970
|
+
currency_type?: string;
|
|
971
|
+
/**
|
|
972
|
+
* The decimal amount for the currency.
|
|
973
|
+
*/
|
|
974
|
+
value?: number;
|
|
975
|
+
}
|
|
976
|
+
/**
|
|
977
|
+
* Vendor in the connected accounting system.
|
|
978
|
+
*/
|
|
979
|
+
interface GlVendor {
|
|
980
|
+
/**
|
|
981
|
+
* ID of the accounting vendor in Rippling.
|
|
982
|
+
*/
|
|
983
|
+
id?: string;
|
|
984
|
+
/**
|
|
985
|
+
* ID of the vendor in the accounting system.
|
|
986
|
+
*/
|
|
987
|
+
gl_vendor_id?: string;
|
|
988
|
+
/**
|
|
989
|
+
* Name of the vendor in the accounting system.
|
|
990
|
+
*/
|
|
991
|
+
name?: string;
|
|
992
|
+
}
|
|
993
|
+
/**
|
|
994
|
+
* Invoice file and its filename.
|
|
995
|
+
*/
|
|
996
|
+
interface Invoice {
|
|
997
|
+
/**
|
|
998
|
+
* URL for accessing the file.
|
|
999
|
+
*/
|
|
1000
|
+
url: string;
|
|
1001
|
+
/**
|
|
1002
|
+
* Original file name, when recorded.
|
|
1003
|
+
*/
|
|
1004
|
+
file_name?: string;
|
|
1005
|
+
}
|
|
1006
|
+
interface LineItem {
|
|
1007
|
+
/**
|
|
1008
|
+
* Unique identifier of this line item. Null for older line items that have not
|
|
1009
|
+
* been assigned one yet.
|
|
1010
|
+
*/
|
|
1011
|
+
id?: string;
|
|
1012
|
+
/**
|
|
1013
|
+
* Whether this line is amortized.
|
|
1014
|
+
*/
|
|
1015
|
+
amortized?: boolean;
|
|
1016
|
+
/**
|
|
1017
|
+
* Amount of this split, in the merchant currency. The `value` is a decimal string.
|
|
1018
|
+
*/
|
|
1019
|
+
amount?: LineItem.Amount;
|
|
1020
|
+
/**
|
|
1021
|
+
* ID of the Finance category assigned to this split. Use it with
|
|
1022
|
+
* `/finance-categories/{id}/`. The category name is in `category_name`.
|
|
1023
|
+
*/
|
|
1024
|
+
category_id?: string;
|
|
1025
|
+
/**
|
|
1026
|
+
* Name of the finance category.
|
|
1027
|
+
*/
|
|
1028
|
+
category_name?: string;
|
|
1029
|
+
/**
|
|
1030
|
+
* Selected dimension values, keyed by dimension ID. `DEPARTMENT` and
|
|
1031
|
+
* `WORK_LOCATION` are the built-in keys. Get custom dimension IDs from
|
|
1032
|
+
* `/job-dimensions/` and `/job-dimensions/{id}/`. Each choice `value` is a job
|
|
1033
|
+
* code ID from `/job-codes/` and `/job-codes/{id}/`.
|
|
1034
|
+
*/
|
|
1035
|
+
dimension_choices?: {
|
|
1036
|
+
[key: string]: LineItem.DimensionChoices;
|
|
1037
|
+
};
|
|
1038
|
+
/**
|
|
1039
|
+
* End of the amortization period (YYYY-MM-DD).
|
|
1040
|
+
*/
|
|
1041
|
+
end_date?: string;
|
|
1042
|
+
/**
|
|
1043
|
+
* ERP amortization schedule associated with this line.
|
|
1044
|
+
*/
|
|
1045
|
+
gl_amortization_schedule?: LineItem.GlAmortizationSchedule;
|
|
1046
|
+
/**
|
|
1047
|
+
* ERP amortization template for this line.
|
|
1048
|
+
*/
|
|
1049
|
+
gl_amortization_template?: LineItem.GlAmortizationTemplate;
|
|
1050
|
+
/**
|
|
1051
|
+
* Whether this split is billed to `gl_customer` in the accounting system.
|
|
1052
|
+
* `BILLABLE` means it is billed, `NOT_BILLABLE` means it is not. Null when not
|
|
1053
|
+
* set.
|
|
1054
|
+
*/
|
|
1055
|
+
gl_billable?: 'BILLABLE' | 'NOT_BILLABLE';
|
|
1056
|
+
/**
|
|
1057
|
+
* ID of the customer record in the connected accounting integration. No public
|
|
1058
|
+
* Rippling API is currently available to retrieve this accounting customer.
|
|
1059
|
+
*/
|
|
1060
|
+
gl_customer?: string;
|
|
1061
|
+
/**
|
|
1062
|
+
* Rippling ID of the accounting tax code. No public Rippling API is currently
|
|
1063
|
+
* available to retrieve this accounting tax code.
|
|
1064
|
+
*/
|
|
1065
|
+
gl_tax_code?: string;
|
|
1066
|
+
/**
|
|
1067
|
+
* Memo entered on this split.
|
|
1068
|
+
*/
|
|
1069
|
+
memo?: string;
|
|
1070
|
+
/**
|
|
1071
|
+
* Prepaid asset account for Rippling-managed amortization.
|
|
1072
|
+
*/
|
|
1073
|
+
prepaid_account?: LineItem.PrepaidAccount;
|
|
1074
|
+
/**
|
|
1075
|
+
* Start of the amortization period (YYYY-MM-DD).
|
|
1076
|
+
*/
|
|
1077
|
+
start_date?: string;
|
|
1078
|
+
/**
|
|
1079
|
+
* Total tax amount for this line in the merchant currency.
|
|
1080
|
+
*/
|
|
1081
|
+
tax_amount?: LineItem.TaxAmount;
|
|
1082
|
+
}
|
|
1083
|
+
namespace LineItem {
|
|
1084
|
+
/**
|
|
1085
|
+
* Amount of this split, in the merchant currency. The `value` is a decimal string.
|
|
1086
|
+
*/
|
|
1087
|
+
interface Amount {
|
|
1088
|
+
/**
|
|
1089
|
+
* The currency type, ex: USD, EUR, etc.
|
|
1090
|
+
*/
|
|
1091
|
+
currency_type?: string;
|
|
1092
|
+
/**
|
|
1093
|
+
* The decimal amount for the currency.
|
|
1094
|
+
*/
|
|
1095
|
+
value?: number;
|
|
1096
|
+
}
|
|
1097
|
+
interface DimensionChoices {
|
|
1098
|
+
/**
|
|
1099
|
+
* Name of the dimension, such as Department.
|
|
1100
|
+
*/
|
|
1101
|
+
dimension_name?: string;
|
|
1102
|
+
/**
|
|
1103
|
+
* Display name of the selected dimension value.
|
|
1104
|
+
*/
|
|
1105
|
+
label?: string;
|
|
1106
|
+
/**
|
|
1107
|
+
* ID of the selected value. For `DEPARTMENT` use `/departments/{id}/`, for
|
|
1108
|
+
* `WORK_LOCATION` use `/work-locations/{id}/`, and for a custom job dimension use
|
|
1109
|
+
* `/job-codes/{id}/`.
|
|
1110
|
+
*/
|
|
1111
|
+
value?: string;
|
|
1112
|
+
}
|
|
1113
|
+
/**
|
|
1114
|
+
* ERP amortization schedule associated with this line.
|
|
1115
|
+
*/
|
|
1116
|
+
interface GlAmortizationSchedule {
|
|
1117
|
+
/**
|
|
1118
|
+
* Rippling ID of the accounting integration that owns this object. No public
|
|
1119
|
+
* Rippling API is currently available to retrieve this accounting integration.
|
|
1120
|
+
*/
|
|
1121
|
+
accounting_integration_id?: string;
|
|
1122
|
+
/**
|
|
1123
|
+
* Number of amortization periods.
|
|
1124
|
+
*/
|
|
1125
|
+
amortization_period?: number;
|
|
1126
|
+
/**
|
|
1127
|
+
* End of the ERP amortization schedule as an ISO 8601 timestamp (for example,
|
|
1128
|
+
* 2026-12-31T00:00:00). May omit a timezone offset; an omitted offset does not
|
|
1129
|
+
* indicate UTC. Null when not set.
|
|
1130
|
+
*/
|
|
1131
|
+
end_date?: string;
|
|
1132
|
+
/**
|
|
1133
|
+
* Object ID in the connected accounting system.
|
|
1134
|
+
*/
|
|
1135
|
+
gl_object_id?: string;
|
|
1136
|
+
/**
|
|
1137
|
+
* Type of object in the connected accounting system: GL_AMORTIZATION_TEMPLATE
|
|
1138
|
+
* defines amortization rules; GL_AMORTIZATION_SCHEDULE tracks amortization;
|
|
1139
|
+
* GL_AMORTIZATION_SCHEDULE_RECURRENCE is a schedule entry; GL_ACCOUNT is a general
|
|
1140
|
+
* ledger account; GL_JOURNAL_ENTRY is a journal entry; GL_POSTING_PERIOD is an
|
|
1141
|
+
* accounting period; GL_VENDOR, GL_CUSTOMER, and GL_EMPLOYEE identify a vendor,
|
|
1142
|
+
* customer, and employee respectively; GL_SUBSIDIARY identifies a subsidiary. Null
|
|
1143
|
+
* when not set.
|
|
1144
|
+
*/
|
|
1145
|
+
gl_object_type?: 'GL_AMORTIZATION_TEMPLATE' | 'GL_AMORTIZATION_SCHEDULE' | 'GL_AMORTIZATION_SCHEDULE_RECURRENCE' | 'GL_ACCOUNT' | 'GL_JOURNAL_ENTRY' | 'GL_POSTING_PERIOD' | 'GL_VENDOR' | 'GL_CUSTOMER' | 'GL_EMPLOYEE' | 'GL_SUBSIDIARY';
|
|
1146
|
+
/**
|
|
1147
|
+
* Accounting object name.
|
|
1148
|
+
*/
|
|
1149
|
+
name?: string;
|
|
1150
|
+
/**
|
|
1151
|
+
* Start of the ERP amortization schedule as an ISO 8601 timestamp (for example,
|
|
1152
|
+
* 2026-01-01T00:00:00). May omit a timezone offset; an omitted offset does not
|
|
1153
|
+
* indicate UTC. Null when not set.
|
|
1154
|
+
*/
|
|
1155
|
+
start_date?: string;
|
|
1156
|
+
/**
|
|
1157
|
+
* ERP amortization schedule status: NOT_STARTED means amortization has not begun;
|
|
1158
|
+
* IN_PROGRESS means amortization is underway; COMPLETED means amortization is
|
|
1159
|
+
* complete; ON_HOLD means amortization is paused. Null when not set.
|
|
1160
|
+
*/
|
|
1161
|
+
status?: 'NOT_STARTED' | 'IN_PROGRESS' | 'COMPLETED' | 'ON_HOLD';
|
|
1162
|
+
/**
|
|
1163
|
+
* Amount already amortized as reported by the ERP, in the same currency as
|
|
1164
|
+
* total_amount. No currency conversion is applied; the schedule currency code is
|
|
1165
|
+
* not available in this response.
|
|
1166
|
+
*/
|
|
1167
|
+
total_amortized_amount?: number;
|
|
1168
|
+
/**
|
|
1169
|
+
* Total schedule amount as reported by the ERP, without currency conversion. The
|
|
1170
|
+
* schedule currency code is not available in this response.
|
|
1171
|
+
*/
|
|
1172
|
+
total_amount?: number;
|
|
1173
|
+
}
|
|
1174
|
+
/**
|
|
1175
|
+
* ERP amortization template for this line.
|
|
1176
|
+
*/
|
|
1177
|
+
interface GlAmortizationTemplate {
|
|
1178
|
+
/**
|
|
1179
|
+
* Rippling ID of the accounting integration that owns this object. No public
|
|
1180
|
+
* Rippling API is currently available to retrieve this accounting integration.
|
|
1181
|
+
*/
|
|
1182
|
+
accounting_integration_id?: string;
|
|
1183
|
+
/**
|
|
1184
|
+
* Object ID in the connected accounting system.
|
|
1185
|
+
*/
|
|
1186
|
+
gl_object_id?: string;
|
|
1187
|
+
/**
|
|
1188
|
+
* Type of object in the connected accounting system: GL_AMORTIZATION_TEMPLATE
|
|
1189
|
+
* defines amortization rules; GL_AMORTIZATION_SCHEDULE tracks amortization;
|
|
1190
|
+
* GL_AMORTIZATION_SCHEDULE_RECURRENCE is a schedule entry; GL_ACCOUNT is a general
|
|
1191
|
+
* ledger account; GL_JOURNAL_ENTRY is a journal entry; GL_POSTING_PERIOD is an
|
|
1192
|
+
* accounting period; GL_VENDOR, GL_CUSTOMER, and GL_EMPLOYEE identify a vendor,
|
|
1193
|
+
* customer, and employee respectively; GL_SUBSIDIARY identifies a subsidiary. Null
|
|
1194
|
+
* when not set.
|
|
1195
|
+
*/
|
|
1196
|
+
gl_object_type?: 'GL_AMORTIZATION_TEMPLATE' | 'GL_AMORTIZATION_SCHEDULE' | 'GL_AMORTIZATION_SCHEDULE_RECURRENCE' | 'GL_ACCOUNT' | 'GL_JOURNAL_ENTRY' | 'GL_POSTING_PERIOD' | 'GL_VENDOR' | 'GL_CUSTOMER' | 'GL_EMPLOYEE' | 'GL_SUBSIDIARY';
|
|
1197
|
+
/**
|
|
1198
|
+
* Accounting object name.
|
|
1199
|
+
*/
|
|
1200
|
+
name?: string;
|
|
1201
|
+
}
|
|
1202
|
+
/**
|
|
1203
|
+
* Prepaid asset account for Rippling-managed amortization.
|
|
1204
|
+
*/
|
|
1205
|
+
interface PrepaidAccount {
|
|
1206
|
+
/**
|
|
1207
|
+
* Account ID in the connected accounting system.
|
|
1208
|
+
*/
|
|
1209
|
+
account_id?: string;
|
|
1210
|
+
/**
|
|
1211
|
+
* Account code.
|
|
1212
|
+
*/
|
|
1213
|
+
code?: string;
|
|
1214
|
+
/**
|
|
1215
|
+
* Account name.
|
|
1216
|
+
*/
|
|
1217
|
+
name?: string;
|
|
1218
|
+
/**
|
|
1219
|
+
* IDs of custom dimensions required by this account.
|
|
1220
|
+
*/
|
|
1221
|
+
required_custom_dimensions?: Array<string>;
|
|
1222
|
+
/**
|
|
1223
|
+
* Whether this account requires a department.
|
|
1224
|
+
*/
|
|
1225
|
+
requires_department?: boolean;
|
|
1226
|
+
/**
|
|
1227
|
+
* Whether this account requires a work location.
|
|
1228
|
+
*/
|
|
1229
|
+
requires_work_location?: boolean;
|
|
1230
|
+
/**
|
|
1231
|
+
* Accounting account type: RECEIVABLE for accounts receivable, PAYABLE for
|
|
1232
|
+
* accounts payable, EXPENSE for expense accounts, or BANK for bank accounts. Null
|
|
1233
|
+
* when not set.
|
|
1234
|
+
*/
|
|
1235
|
+
type?: 'RECEIVABLE' | 'PAYABLE' | 'EXPENSE' | 'BANK';
|
|
1236
|
+
}
|
|
1237
|
+
/**
|
|
1238
|
+
* Total tax amount for this line in the merchant currency.
|
|
1239
|
+
*/
|
|
1240
|
+
interface TaxAmount {
|
|
1241
|
+
/**
|
|
1242
|
+
* The currency type, ex: USD, EUR, etc.
|
|
1243
|
+
*/
|
|
1244
|
+
currency_type?: string;
|
|
1245
|
+
/**
|
|
1246
|
+
* The decimal amount for the currency.
|
|
1247
|
+
*/
|
|
1248
|
+
value?: number;
|
|
1249
|
+
}
|
|
1250
|
+
}
|
|
1251
|
+
/**
|
|
1252
|
+
* Amount charged by the merchant, in the merchant currency. The `value` is a
|
|
1253
|
+
* decimal string.
|
|
1254
|
+
*/
|
|
1255
|
+
interface MerchantAmount {
|
|
1256
|
+
/**
|
|
1257
|
+
* The currency type, ex: USD, EUR, etc.
|
|
1258
|
+
*/
|
|
1259
|
+
currency_type?: string;
|
|
1260
|
+
/**
|
|
1261
|
+
* The decimal amount for the currency.
|
|
1262
|
+
*/
|
|
1263
|
+
value?: number;
|
|
1264
|
+
}
|
|
1265
|
+
/**
|
|
1266
|
+
* Amount paid to the vendor, in the payment currency. The `value` is a decimal
|
|
1267
|
+
* string.
|
|
1268
|
+
*/
|
|
1269
|
+
interface PaymentAmount {
|
|
1270
|
+
/**
|
|
1271
|
+
* The currency type, ex: USD, EUR, etc.
|
|
1272
|
+
*/
|
|
1273
|
+
currency_type?: string;
|
|
1274
|
+
/**
|
|
1275
|
+
* The decimal amount for the currency.
|
|
1276
|
+
*/
|
|
1277
|
+
value?: number;
|
|
1278
|
+
}
|
|
1279
|
+
/**
|
|
1280
|
+
* Payment method fee, in the company's headquarters currency. The `value` is a
|
|
1281
|
+
* decimal string. Zero when there is no fee.
|
|
1282
|
+
*/
|
|
1283
|
+
interface PaymentMethodFee {
|
|
1284
|
+
/**
|
|
1285
|
+
* The currency type, ex: USD, EUR, etc.
|
|
1286
|
+
*/
|
|
1287
|
+
currency_type?: string;
|
|
1288
|
+
/**
|
|
1289
|
+
* The decimal amount for the currency.
|
|
1290
|
+
*/
|
|
1291
|
+
value?: number;
|
|
1292
|
+
}
|
|
1293
|
+
/**
|
|
1294
|
+
* Vendor details. Expand with `bills.read` and `finance-vendors.read`.
|
|
1295
|
+
*
|
|
1296
|
+
* Expandable field
|
|
1297
|
+
*/
|
|
1298
|
+
interface Vendor {
|
|
1299
|
+
/**
|
|
1300
|
+
* Identifier field
|
|
1301
|
+
*/
|
|
1302
|
+
id: string;
|
|
1303
|
+
/**
|
|
1304
|
+
* Record creation date
|
|
1305
|
+
*/
|
|
1306
|
+
created_at: string;
|
|
1307
|
+
/**
|
|
1308
|
+
* Record update date
|
|
1309
|
+
*/
|
|
1310
|
+
updated_at: string;
|
|
1311
|
+
/**
|
|
1312
|
+
* Whether the vendor is archived. Archived vendors remain available for historical
|
|
1313
|
+
* references.
|
|
1314
|
+
*/
|
|
1315
|
+
is_archived?: boolean;
|
|
1316
|
+
/**
|
|
1317
|
+
* URL of the vendor's logo. Null when no logo is available.
|
|
1318
|
+
*/
|
|
1319
|
+
logo?: string;
|
|
1320
|
+
/**
|
|
1321
|
+
* Canonical name of the Finance vendor. Name eq, ne, and in filters also match
|
|
1322
|
+
* alternate names.
|
|
1323
|
+
*/
|
|
1324
|
+
name?: string;
|
|
1325
|
+
}
|
|
1326
|
+
}
|
|
1327
|
+
export interface BillListParams {
|
|
1328
|
+
cursor?: string;
|
|
1329
|
+
expand?: string;
|
|
1330
|
+
filter?: string;
|
|
1331
|
+
/**
|
|
1332
|
+
* The maximum number of results to return. Defaults to 50. Maximum is 100.
|
|
1333
|
+
*/
|
|
1334
|
+
limit?: number;
|
|
1335
|
+
order_by?: string;
|
|
1336
|
+
}
|
|
1337
|
+
export interface BillRetrieveParams {
|
|
1338
|
+
expand?: string;
|
|
1339
|
+
}
|
|
1340
|
+
export declare namespace Bills {
|
|
1341
|
+
export { type BillListResponse as BillListResponse, type BillRetrieveResponse as BillRetrieveResponse, type BillListResponsesPageCursorURL as BillListResponsesPageCursorURL, type BillListParams as BillListParams, type BillRetrieveParams as BillRetrieveParams, };
|
|
1342
|
+
}
|
|
1343
|
+
//# sourceMappingURL=bills.d.mts.map
|