@rippling/rippling-sdk 0.2.0-alpha.110 → 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 +58 -7
- package/client.d.mts.map +1 -1
- package/client.d.ts +58 -7
- package/client.d.ts.map +1 -1
- package/client.js +54 -3
- package/client.js.map +1 -1
- package/client.mjs +54 -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/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/definitions/_object-records.d.mts.map +1 -1
- package/lib/manifest/definitions/_object-records.d.ts.map +1 -1
- package/lib/manifest/definitions/_object-records.js +10 -8
- package/lib/manifest/definitions/_object-records.js.map +1 -1
- package/lib/manifest/definitions/_object-records.mjs +10 -8
- package/lib/manifest/definitions/_object-records.mjs.map +1 -1
- package/lib/manifest/definitions/custom-object.d.mts +10 -10
- package/lib/manifest/definitions/custom-object.d.mts.map +1 -1
- package/lib/manifest/definitions/custom-object.d.ts +10 -10
- package/lib/manifest/definitions/custom-object.d.ts.map +1 -1
- package/lib/manifest/definitions/custom-object.js.map +1 -1
- package/lib/manifest/definitions/custom-object.mjs.map +1 -1
- 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 +156 -17
- package/src/core/platform/custom-objects/manager.ts +65 -42
- package/src/core/platform/custom-objects.ts +3 -0
- package/src/lib/manifest/acp-agent.ts +7 -1
- package/src/lib/manifest/definitions/_object-records.ts +17 -10
- package/src/lib/manifest/definitions/custom-object.ts +14 -9
- 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
|
@@ -2,24 +2,29 @@
|
|
|
2
2
|
|
|
3
3
|
import { APIResource } from '../core/resource';
|
|
4
4
|
import * as BusinessPartnersAPI from './business-partners';
|
|
5
|
+
import * as WorkersAPI from './workers';
|
|
5
6
|
import { APIPromise } from '../core/api-promise';
|
|
6
7
|
import { PageCursorURL, PagePromise } from '../core/pagination';
|
|
7
8
|
import { RequestOptions } from '../internal/request-options';
|
|
8
9
|
import { path } from '../internal/utils/path';
|
|
9
10
|
|
|
11
|
+
/**
|
|
12
|
+
* Finance card transactions (posted charges) and authorizations (pending holds)
|
|
13
|
+
*/
|
|
10
14
|
export class CardTransactions extends APIResource {
|
|
11
15
|
/**
|
|
12
16
|
* A list of card transactions.
|
|
13
17
|
*
|
|
14
|
-
* - Requires: `
|
|
15
|
-
* - Filterable fields: `worker_id`, `
|
|
16
|
-
* `
|
|
18
|
+
* - Requires: `Spend Management Platform API`
|
|
19
|
+
* - Filterable fields: `worker_id`, `entity_id`, `vendor_id`, `transaction_date`,
|
|
20
|
+
* `transaction_type`, `card_id`
|
|
21
|
+
* - Expandable fields: `worker`, `vendor`
|
|
17
22
|
* - Sortable fields: `id`, `created_at`, `updated_at`, `transaction_date`
|
|
18
23
|
*
|
|
19
24
|
* @example HTTP
|
|
20
25
|
* Representative request and response shapes.
|
|
21
26
|
* ```
|
|
22
|
-
* GET /card-transactions/?filter=filter&order_by=order_by&limit=50&cursor=cursor HTTP/1.1
|
|
27
|
+
* GET /card-transactions/?filter=filter&expand=expand&order_by=order_by&limit=50&cursor=cursor HTTP/1.1
|
|
23
28
|
* Host: rest.ripplingapis.com
|
|
24
29
|
* Accept: application/json
|
|
25
30
|
* Rippling-Api-Version: 2024-08-01
|
|
@@ -42,6 +47,55 @@ export class CardTransactions extends APIResource {
|
|
|
42
47
|
* "created_at": "string",
|
|
43
48
|
* "updated_at": "string",
|
|
44
49
|
* "worker_id": "string",
|
|
50
|
+
* "worker": {
|
|
51
|
+
* "id": "string",
|
|
52
|
+
* "created_at": "string",
|
|
53
|
+
* "updated_at": "string",
|
|
54
|
+
* "user_id": "string",
|
|
55
|
+
* "user": {},
|
|
56
|
+
* "is_manager": "string",
|
|
57
|
+
* "manager_id": "string",
|
|
58
|
+
* "manager": {},
|
|
59
|
+
* "legal_entity_id": "string",
|
|
60
|
+
* "legal_entity": {},
|
|
61
|
+
* "country": "AF",
|
|
62
|
+
* "start_date": "string",
|
|
63
|
+
* "end_date": "string",
|
|
64
|
+
* "number": "string",
|
|
65
|
+
* "work_email": "string",
|
|
66
|
+
* "personal_email": "string",
|
|
67
|
+
* "status": "INIT",
|
|
68
|
+
* "location": {},
|
|
69
|
+
* "employment_type_id": "string",
|
|
70
|
+
* "employment_type": {},
|
|
71
|
+
* "gender": "MALE",
|
|
72
|
+
* "date_of_birth": "string",
|
|
73
|
+
* "race": "BLACK",
|
|
74
|
+
* "ethnicity": "HISPANIC_OR_LATINO",
|
|
75
|
+
* "citizenship": "AF",
|
|
76
|
+
* "compensation_id": "string",
|
|
77
|
+
* "compensation": {},
|
|
78
|
+
* "overtime_exemption": "EXEMPT",
|
|
79
|
+
* "department_id": "string",
|
|
80
|
+
* "department": {},
|
|
81
|
+
* "teams_id": [],
|
|
82
|
+
* "teams": [],
|
|
83
|
+
* "title": "string",
|
|
84
|
+
* "title_effective_date": "string",
|
|
85
|
+
* "level_id": "string",
|
|
86
|
+
* "level": {},
|
|
87
|
+
* "job_function_id": "string",
|
|
88
|
+
* "job_function": {},
|
|
89
|
+
* "termination_details": {},
|
|
90
|
+
* "pay_schedule_id": "string",
|
|
91
|
+
* "work_schedule": {},
|
|
92
|
+
* "compensation_grade": {},
|
|
93
|
+
* "original_start_date": "string",
|
|
94
|
+
* "custom_fields": [],
|
|
95
|
+
* "country_fields": {},
|
|
96
|
+
* "business_partners_id": [],
|
|
97
|
+
* "business_partners": []
|
|
98
|
+
* },
|
|
45
99
|
* "company_amount": {
|
|
46
100
|
* "currency_type": "string",
|
|
47
101
|
* "value": "string"
|
|
@@ -50,14 +104,17 @@ export class CardTransactions extends APIResource {
|
|
|
50
104
|
* "currency_type": "string",
|
|
51
105
|
* "value": "string"
|
|
52
106
|
* },
|
|
53
|
-
* "transaction_date": "string",
|
|
54
107
|
* "accounting_date": "string",
|
|
55
108
|
* "gl_sync_state": "NOT_FINALIZED",
|
|
56
109
|
* "approval_status": "DRAFT",
|
|
57
110
|
* "entity_id": "string",
|
|
58
111
|
* "vendor": {
|
|
59
112
|
* "id": "string",
|
|
60
|
-
* "
|
|
113
|
+
* "created_at": "string",
|
|
114
|
+
* "updated_at": "string",
|
|
115
|
+
* "name": "string",
|
|
116
|
+
* "logo": "string",
|
|
117
|
+
* "is_archived": "string"
|
|
61
118
|
* },
|
|
62
119
|
* "gl_vendor": {
|
|
63
120
|
* "id": "string",
|
|
@@ -65,13 +122,18 @@ export class CardTransactions extends APIResource {
|
|
|
65
122
|
* "gl_vendor_id": "string"
|
|
66
123
|
* },
|
|
67
124
|
* "memo": "string",
|
|
68
|
-
* "receipt": "string",
|
|
69
125
|
* "attachments": [
|
|
70
|
-
*
|
|
126
|
+
* {}
|
|
71
127
|
* ],
|
|
72
128
|
* "line_items": [
|
|
73
129
|
* {}
|
|
74
130
|
* ],
|
|
131
|
+
* "vendor_id": "string",
|
|
132
|
+
* "transaction_date": "string",
|
|
133
|
+
* "receipt": {
|
|
134
|
+
* "url": "string",
|
|
135
|
+
* "file_name": "string"
|
|
136
|
+
* },
|
|
75
137
|
* "transaction_type": "CARD_TRANSACTION",
|
|
76
138
|
* "authorization_state": "PENDING",
|
|
77
139
|
* "card_id": "string"
|
|
@@ -92,12 +154,12 @@ export class CardTransactions extends APIResource {
|
|
|
92
154
|
}
|
|
93
155
|
|
|
94
156
|
/**
|
|
95
|
-
* Retrieve a specific card transaction
|
|
157
|
+
* Retrieve a specific card transaction. Expandable fields: `worker`, `vendor`.
|
|
96
158
|
*
|
|
97
159
|
* @example HTTP
|
|
98
160
|
* Representative request and response shapes.
|
|
99
161
|
* ```
|
|
100
|
-
* GET /card-transactions/{id}
|
|
162
|
+
* GET /card-transactions/{id}/?expand=expand HTTP/1.1
|
|
101
163
|
* Host: rest.ripplingapis.com
|
|
102
164
|
* Accept: application/json
|
|
103
165
|
* Rippling-Api-Version: 2024-08-01
|
|
@@ -114,15 +176,19 @@ export class CardTransactions extends APIResource {
|
|
|
114
176
|
* }
|
|
115
177
|
* ```
|
|
116
178
|
*/
|
|
117
|
-
retrieve(
|
|
118
|
-
|
|
179
|
+
retrieve(
|
|
180
|
+
id: string,
|
|
181
|
+
query: CardTransactionRetrieveParams | null | undefined = {},
|
|
182
|
+
options?: RequestOptions,
|
|
183
|
+
): APIPromise<CardTransactionRetrieveResponse> {
|
|
184
|
+
return this._client.get(path`/card-transactions/${id}/`, { query, ...options });
|
|
119
185
|
}
|
|
120
186
|
}
|
|
121
187
|
|
|
122
188
|
export type CardTransactionListResponsesPageCursorURL = PageCursorURL<CardTransactionListResponse>;
|
|
123
189
|
|
|
124
190
|
/**
|
|
125
|
-
* A
|
|
191
|
+
* A Finance card transaction or authorization the caller can see.
|
|
126
192
|
*
|
|
127
193
|
* An authorization is a pending hold the card network places at the time of purchase. A card transaction
|
|
128
194
|
* is the posted charge. List returns both; retrieve returns one by ID. A transaction the
|
|
@@ -170,9 +236,9 @@ export interface CardTransactionListResponse {
|
|
|
170
236
|
| 'FAILED';
|
|
171
237
|
|
|
172
238
|
/**
|
|
173
|
-
*
|
|
239
|
+
* Other attached files, including filenames and recorded upload metadata.
|
|
174
240
|
*/
|
|
175
|
-
attachments?: Array<
|
|
241
|
+
attachments?: Array<CardTransactionListResponse.Attachment>;
|
|
176
242
|
|
|
177
243
|
/**
|
|
178
244
|
* State of the card authorization. `PENDING`: an active hold awaiting completion.
|
|
@@ -183,8 +249,8 @@ export interface CardTransactionListResponse {
|
|
|
183
249
|
authorization_state?: 'PENDING' | 'CLOSED' | 'REVERSED' | 'EXPIRED';
|
|
184
250
|
|
|
185
251
|
/**
|
|
186
|
-
* ID of the
|
|
187
|
-
* card.
|
|
252
|
+
* ID of the Finance card used. No public API is currently available to retrieve
|
|
253
|
+
* this card.
|
|
188
254
|
*/
|
|
189
255
|
card_id?: string;
|
|
190
256
|
|
|
@@ -224,7 +290,7 @@ export interface CardTransactionListResponse {
|
|
|
224
290
|
gl_vendor?: CardTransactionListResponse.GlVendor;
|
|
225
291
|
|
|
226
292
|
/**
|
|
227
|
-
* Category splits of the transaction amount.
|
|
293
|
+
* Category splits of the transaction amount. Updates replace the entire list.
|
|
228
294
|
*/
|
|
229
295
|
line_items?: Array<CardTransactionListResponse.LineItem>;
|
|
230
296
|
|
|
@@ -240,9 +306,9 @@ export interface CardTransactionListResponse {
|
|
|
240
306
|
merchant_amount?: CardTransactionListResponse.MerchantAmount;
|
|
241
307
|
|
|
242
308
|
/**
|
|
243
|
-
*
|
|
309
|
+
* Receipt file and its filename.
|
|
244
310
|
*/
|
|
245
|
-
receipt?:
|
|
311
|
+
receipt?: CardTransactionListResponse.Receipt;
|
|
246
312
|
|
|
247
313
|
/**
|
|
248
314
|
* When the purchase or authorization happened, as an ISO 8601 date-time in UTC.
|
|
@@ -256,10 +322,24 @@ export interface CardTransactionListResponse {
|
|
|
256
322
|
transaction_type?: 'CARD_TRANSACTION' | 'CARD_AUTHORIZATION';
|
|
257
323
|
|
|
258
324
|
/**
|
|
259
|
-
* Vendor
|
|
325
|
+
* Vendor details. Expand with `card-transactions.read` and `finance-vendors.read`.
|
|
326
|
+
*
|
|
327
|
+
* Expandable field
|
|
260
328
|
*/
|
|
261
329
|
vendor?: CardTransactionListResponse.Vendor;
|
|
262
330
|
|
|
331
|
+
/**
|
|
332
|
+
* ID of the Finance vendor. Use it with `/finance-vendors/{id}/`.
|
|
333
|
+
*/
|
|
334
|
+
vendor_id?: string;
|
|
335
|
+
|
|
336
|
+
/**
|
|
337
|
+
* Worker details. Expand with `card-transactions.read` and `workers.read`.
|
|
338
|
+
*
|
|
339
|
+
* Expandable field
|
|
340
|
+
*/
|
|
341
|
+
worker?: WorkersAPI.Worker;
|
|
342
|
+
|
|
263
343
|
/**
|
|
264
344
|
* ID of the worker who made the transaction. Use it with `/workers/{id}/`.
|
|
265
345
|
*/
|
|
@@ -267,6 +347,32 @@ export interface CardTransactionListResponse {
|
|
|
267
347
|
}
|
|
268
348
|
|
|
269
349
|
export namespace CardTransactionListResponse {
|
|
350
|
+
/**
|
|
351
|
+
* A Finance transaction attachment with recorded upload details.
|
|
352
|
+
*/
|
|
353
|
+
export interface Attachment {
|
|
354
|
+
/**
|
|
355
|
+
* URL for accessing the file.
|
|
356
|
+
*/
|
|
357
|
+
url: string;
|
|
358
|
+
|
|
359
|
+
/**
|
|
360
|
+
* Original file name, when recorded.
|
|
361
|
+
*/
|
|
362
|
+
file_name?: string;
|
|
363
|
+
|
|
364
|
+
/**
|
|
365
|
+
* When the attachment was uploaded, as an ISO 8601 date-time in UTC, when
|
|
366
|
+
* recorded.
|
|
367
|
+
*/
|
|
368
|
+
uploaded_at?: string;
|
|
369
|
+
|
|
370
|
+
/**
|
|
371
|
+
* ID of the worker who uploaded the attachment. Use it with `/workers/{id}/`.
|
|
372
|
+
*/
|
|
373
|
+
uploaded_by_id?: string;
|
|
374
|
+
}
|
|
375
|
+
|
|
270
376
|
/**
|
|
271
377
|
* Amount in the company's headquarters currency. The `value` is a decimal string.
|
|
272
378
|
*/
|
|
@@ -303,28 +409,56 @@ export namespace CardTransactionListResponse {
|
|
|
303
409
|
}
|
|
304
410
|
|
|
305
411
|
export interface LineItem {
|
|
412
|
+
/**
|
|
413
|
+
* Unique identifier of this line item. Null for older line items that have not
|
|
414
|
+
* been assigned one yet.
|
|
415
|
+
*/
|
|
416
|
+
id?: string;
|
|
417
|
+
|
|
418
|
+
/**
|
|
419
|
+
* Whether this line is amortized.
|
|
420
|
+
*/
|
|
421
|
+
amortized?: boolean;
|
|
422
|
+
|
|
306
423
|
/**
|
|
307
424
|
* Amount of this split, in the merchant currency. The `value` is a decimal string.
|
|
308
425
|
*/
|
|
309
426
|
amount?: LineItem.Amount;
|
|
310
427
|
|
|
311
428
|
/**
|
|
312
|
-
* ID of the
|
|
313
|
-
*
|
|
429
|
+
* ID of the Finance category assigned to this split. Use it with
|
|
430
|
+
* `/finance-categories/{id}/`. The category name is in `category_name`.
|
|
314
431
|
*/
|
|
315
432
|
category_id?: string;
|
|
316
433
|
|
|
317
434
|
/**
|
|
318
|
-
* Name of the
|
|
435
|
+
* Name of the finance category.
|
|
319
436
|
*/
|
|
320
437
|
category_name?: string;
|
|
321
438
|
|
|
322
439
|
/**
|
|
323
|
-
* Selected dimension values, keyed by dimension ID.
|
|
324
|
-
*
|
|
440
|
+
* Selected dimension values, keyed by dimension ID. `DEPARTMENT` and
|
|
441
|
+
* `WORK_LOCATION` are the built-in keys. Get custom dimension IDs from
|
|
442
|
+
* `/job-dimensions/` and `/job-dimensions/{id}/`. Each choice `value` is a job
|
|
443
|
+
* code ID from `/job-codes/` and `/job-codes/{id}/`.
|
|
325
444
|
*/
|
|
326
445
|
dimension_choices?: { [key: string]: LineItem.DimensionChoices };
|
|
327
446
|
|
|
447
|
+
/**
|
|
448
|
+
* End of the amortization period (YYYY-MM-DD).
|
|
449
|
+
*/
|
|
450
|
+
end_date?: string;
|
|
451
|
+
|
|
452
|
+
/**
|
|
453
|
+
* ERP amortization schedule associated with this line.
|
|
454
|
+
*/
|
|
455
|
+
gl_amortization_schedule?: LineItem.GlAmortizationSchedule;
|
|
456
|
+
|
|
457
|
+
/**
|
|
458
|
+
* ERP amortization template for this line.
|
|
459
|
+
*/
|
|
460
|
+
gl_amortization_template?: LineItem.GlAmortizationTemplate;
|
|
461
|
+
|
|
328
462
|
/**
|
|
329
463
|
* Whether this split is billed to `gl_customer` in the accounting system.
|
|
330
464
|
* `BILLABLE` means it is billed, `NOT_BILLABLE` means it is not. Null when not
|
|
@@ -338,10 +472,31 @@ export namespace CardTransactionListResponse {
|
|
|
338
472
|
*/
|
|
339
473
|
gl_customer?: string;
|
|
340
474
|
|
|
475
|
+
/**
|
|
476
|
+
* Rippling ID of the accounting tax code. No public Rippling API is currently
|
|
477
|
+
* available to retrieve this accounting tax code.
|
|
478
|
+
*/
|
|
479
|
+
gl_tax_code?: string;
|
|
480
|
+
|
|
341
481
|
/**
|
|
342
482
|
* Memo entered on this split.
|
|
343
483
|
*/
|
|
344
484
|
memo?: string;
|
|
485
|
+
|
|
486
|
+
/**
|
|
487
|
+
* Prepaid asset account for Rippling-managed amortization.
|
|
488
|
+
*/
|
|
489
|
+
prepaid_account?: LineItem.PrepaidAccount;
|
|
490
|
+
|
|
491
|
+
/**
|
|
492
|
+
* Start of the amortization period (YYYY-MM-DD).
|
|
493
|
+
*/
|
|
494
|
+
start_date?: string;
|
|
495
|
+
|
|
496
|
+
/**
|
|
497
|
+
* Total tax amount for this line in the merchant currency.
|
|
498
|
+
*/
|
|
499
|
+
tax_amount?: LineItem.TaxAmount;
|
|
345
500
|
}
|
|
346
501
|
|
|
347
502
|
export namespace LineItem {
|
|
@@ -372,10 +527,192 @@ export namespace CardTransactionListResponse {
|
|
|
372
527
|
label?: string;
|
|
373
528
|
|
|
374
529
|
/**
|
|
375
|
-
* ID of the selected
|
|
530
|
+
* ID of the selected value. For `DEPARTMENT` use `/departments/{id}/`, for
|
|
531
|
+
* `WORK_LOCATION` use `/work-locations/{id}/`, and for a custom job dimension use
|
|
532
|
+
* `/job-codes/{id}/`.
|
|
376
533
|
*/
|
|
377
534
|
value?: string;
|
|
378
535
|
}
|
|
536
|
+
|
|
537
|
+
/**
|
|
538
|
+
* ERP amortization schedule associated with this line.
|
|
539
|
+
*/
|
|
540
|
+
export interface GlAmortizationSchedule {
|
|
541
|
+
/**
|
|
542
|
+
* Rippling ID of the accounting integration that owns this object. No public
|
|
543
|
+
* Rippling API is currently available to retrieve this accounting integration.
|
|
544
|
+
*/
|
|
545
|
+
accounting_integration_id?: string;
|
|
546
|
+
|
|
547
|
+
/**
|
|
548
|
+
* Number of amortization periods.
|
|
549
|
+
*/
|
|
550
|
+
amortization_period?: number;
|
|
551
|
+
|
|
552
|
+
/**
|
|
553
|
+
* End of the ERP amortization schedule as an ISO 8601 timestamp (for example,
|
|
554
|
+
* 2026-12-31T00:00:00). May omit a timezone offset; an omitted offset does not
|
|
555
|
+
* indicate UTC. Null when not set.
|
|
556
|
+
*/
|
|
557
|
+
end_date?: string;
|
|
558
|
+
|
|
559
|
+
/**
|
|
560
|
+
* Object ID in the connected accounting system.
|
|
561
|
+
*/
|
|
562
|
+
gl_object_id?: string;
|
|
563
|
+
|
|
564
|
+
/**
|
|
565
|
+
* Type of object in the connected accounting system: GL_AMORTIZATION_TEMPLATE
|
|
566
|
+
* defines amortization rules; GL_AMORTIZATION_SCHEDULE tracks amortization;
|
|
567
|
+
* GL_AMORTIZATION_SCHEDULE_RECURRENCE is a schedule entry; GL_ACCOUNT is a general
|
|
568
|
+
* ledger account; GL_JOURNAL_ENTRY is a journal entry; GL_POSTING_PERIOD is an
|
|
569
|
+
* accounting period; GL_VENDOR, GL_CUSTOMER, and GL_EMPLOYEE identify a vendor,
|
|
570
|
+
* customer, and employee respectively; GL_SUBSIDIARY identifies a subsidiary. Null
|
|
571
|
+
* when not set.
|
|
572
|
+
*/
|
|
573
|
+
gl_object_type?:
|
|
574
|
+
| 'GL_AMORTIZATION_TEMPLATE'
|
|
575
|
+
| 'GL_AMORTIZATION_SCHEDULE'
|
|
576
|
+
| 'GL_AMORTIZATION_SCHEDULE_RECURRENCE'
|
|
577
|
+
| 'GL_ACCOUNT'
|
|
578
|
+
| 'GL_JOURNAL_ENTRY'
|
|
579
|
+
| 'GL_POSTING_PERIOD'
|
|
580
|
+
| 'GL_VENDOR'
|
|
581
|
+
| 'GL_CUSTOMER'
|
|
582
|
+
| 'GL_EMPLOYEE'
|
|
583
|
+
| 'GL_SUBSIDIARY';
|
|
584
|
+
|
|
585
|
+
/**
|
|
586
|
+
* Accounting object name.
|
|
587
|
+
*/
|
|
588
|
+
name?: string;
|
|
589
|
+
|
|
590
|
+
/**
|
|
591
|
+
* Start of the ERP amortization schedule as an ISO 8601 timestamp (for example,
|
|
592
|
+
* 2026-01-01T00:00:00). May omit a timezone offset; an omitted offset does not
|
|
593
|
+
* indicate UTC. Null when not set.
|
|
594
|
+
*/
|
|
595
|
+
start_date?: string;
|
|
596
|
+
|
|
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
|
+
/**
|
|
605
|
+
* Amount already amortized as reported by the ERP, in the same currency as
|
|
606
|
+
* total_amount. No currency conversion is applied; the schedule currency code is
|
|
607
|
+
* not available in this response.
|
|
608
|
+
*/
|
|
609
|
+
total_amortized_amount?: number;
|
|
610
|
+
|
|
611
|
+
/**
|
|
612
|
+
* Total schedule amount as reported by the ERP, without currency conversion. The
|
|
613
|
+
* schedule currency code is not available in this response.
|
|
614
|
+
*/
|
|
615
|
+
total_amount?: number;
|
|
616
|
+
}
|
|
617
|
+
|
|
618
|
+
/**
|
|
619
|
+
* ERP amortization template for this line.
|
|
620
|
+
*/
|
|
621
|
+
export interface GlAmortizationTemplate {
|
|
622
|
+
/**
|
|
623
|
+
* Rippling ID of the accounting integration that owns this object. No public
|
|
624
|
+
* Rippling API is currently available to retrieve this accounting integration.
|
|
625
|
+
*/
|
|
626
|
+
accounting_integration_id?: string;
|
|
627
|
+
|
|
628
|
+
/**
|
|
629
|
+
* Object ID in the connected accounting system.
|
|
630
|
+
*/
|
|
631
|
+
gl_object_id?: string;
|
|
632
|
+
|
|
633
|
+
/**
|
|
634
|
+
* Type of object in the connected accounting system: GL_AMORTIZATION_TEMPLATE
|
|
635
|
+
* defines amortization rules; GL_AMORTIZATION_SCHEDULE tracks amortization;
|
|
636
|
+
* GL_AMORTIZATION_SCHEDULE_RECURRENCE is a schedule entry; GL_ACCOUNT is a general
|
|
637
|
+
* ledger account; GL_JOURNAL_ENTRY is a journal entry; GL_POSTING_PERIOD is an
|
|
638
|
+
* accounting period; GL_VENDOR, GL_CUSTOMER, and GL_EMPLOYEE identify a vendor,
|
|
639
|
+
* customer, and employee respectively; GL_SUBSIDIARY identifies a subsidiary. Null
|
|
640
|
+
* when not set.
|
|
641
|
+
*/
|
|
642
|
+
gl_object_type?:
|
|
643
|
+
| 'GL_AMORTIZATION_TEMPLATE'
|
|
644
|
+
| 'GL_AMORTIZATION_SCHEDULE'
|
|
645
|
+
| 'GL_AMORTIZATION_SCHEDULE_RECURRENCE'
|
|
646
|
+
| 'GL_ACCOUNT'
|
|
647
|
+
| 'GL_JOURNAL_ENTRY'
|
|
648
|
+
| 'GL_POSTING_PERIOD'
|
|
649
|
+
| 'GL_VENDOR'
|
|
650
|
+
| 'GL_CUSTOMER'
|
|
651
|
+
| 'GL_EMPLOYEE'
|
|
652
|
+
| 'GL_SUBSIDIARY';
|
|
653
|
+
|
|
654
|
+
/**
|
|
655
|
+
* Accounting object name.
|
|
656
|
+
*/
|
|
657
|
+
name?: string;
|
|
658
|
+
}
|
|
659
|
+
|
|
660
|
+
/**
|
|
661
|
+
* Prepaid asset account for Rippling-managed amortization.
|
|
662
|
+
*/
|
|
663
|
+
export interface PrepaidAccount {
|
|
664
|
+
/**
|
|
665
|
+
* Account ID in the connected accounting system.
|
|
666
|
+
*/
|
|
667
|
+
account_id?: string;
|
|
668
|
+
|
|
669
|
+
/**
|
|
670
|
+
* Account code.
|
|
671
|
+
*/
|
|
672
|
+
code?: string;
|
|
673
|
+
|
|
674
|
+
/**
|
|
675
|
+
* Account name.
|
|
676
|
+
*/
|
|
677
|
+
name?: string;
|
|
678
|
+
|
|
679
|
+
/**
|
|
680
|
+
* IDs of custom dimensions required by this account.
|
|
681
|
+
*/
|
|
682
|
+
required_custom_dimensions?: Array<string>;
|
|
683
|
+
|
|
684
|
+
/**
|
|
685
|
+
* Whether this account requires a department.
|
|
686
|
+
*/
|
|
687
|
+
requires_department?: boolean;
|
|
688
|
+
|
|
689
|
+
/**
|
|
690
|
+
* Whether this account requires a work location.
|
|
691
|
+
*/
|
|
692
|
+
requires_work_location?: boolean;
|
|
693
|
+
|
|
694
|
+
/**
|
|
695
|
+
* Accounting account type: RECEIVABLE for accounts receivable, PAYABLE for
|
|
696
|
+
* accounts payable, EXPENSE for expense accounts, or BANK for bank accounts. Null
|
|
697
|
+
* when not set.
|
|
698
|
+
*/
|
|
699
|
+
type?: 'RECEIVABLE' | 'PAYABLE' | 'EXPENSE' | 'BANK';
|
|
700
|
+
}
|
|
701
|
+
|
|
702
|
+
/**
|
|
703
|
+
* Total tax amount for this line in the merchant currency.
|
|
704
|
+
*/
|
|
705
|
+
export interface TaxAmount {
|
|
706
|
+
/**
|
|
707
|
+
* The currency type, ex: USD, EUR, etc.
|
|
708
|
+
*/
|
|
709
|
+
currency_type?: string;
|
|
710
|
+
|
|
711
|
+
/**
|
|
712
|
+
* The decimal amount for the currency.
|
|
713
|
+
*/
|
|
714
|
+
value?: number;
|
|
715
|
+
}
|
|
379
716
|
}
|
|
380
717
|
|
|
381
718
|
/**
|
|
@@ -395,16 +732,55 @@ export namespace CardTransactionListResponse {
|
|
|
395
732
|
}
|
|
396
733
|
|
|
397
734
|
/**
|
|
398
|
-
*
|
|
735
|
+
* Receipt file and its filename.
|
|
736
|
+
*/
|
|
737
|
+
export interface Receipt {
|
|
738
|
+
/**
|
|
739
|
+
* URL for accessing the file.
|
|
740
|
+
*/
|
|
741
|
+
url: string;
|
|
742
|
+
|
|
743
|
+
/**
|
|
744
|
+
* Original file name, when recorded.
|
|
745
|
+
*/
|
|
746
|
+
file_name?: string;
|
|
747
|
+
}
|
|
748
|
+
|
|
749
|
+
/**
|
|
750
|
+
* Vendor details. Expand with `card-transactions.read` and `finance-vendors.read`.
|
|
751
|
+
*
|
|
752
|
+
* Expandable field
|
|
399
753
|
*/
|
|
400
754
|
export interface Vendor {
|
|
401
755
|
/**
|
|
402
|
-
*
|
|
756
|
+
* Identifier field
|
|
403
757
|
*/
|
|
404
|
-
id
|
|
758
|
+
id: string;
|
|
759
|
+
|
|
760
|
+
/**
|
|
761
|
+
* Record creation date
|
|
762
|
+
*/
|
|
763
|
+
created_at: string;
|
|
764
|
+
|
|
765
|
+
/**
|
|
766
|
+
* Record update date
|
|
767
|
+
*/
|
|
768
|
+
updated_at: string;
|
|
769
|
+
|
|
770
|
+
/**
|
|
771
|
+
* Whether the vendor is archived. Archived vendors remain available for historical
|
|
772
|
+
* references.
|
|
773
|
+
*/
|
|
774
|
+
is_archived?: boolean;
|
|
405
775
|
|
|
406
776
|
/**
|
|
407
|
-
*
|
|
777
|
+
* URL of the vendor's logo. Null when no logo is available.
|
|
778
|
+
*/
|
|
779
|
+
logo?: string;
|
|
780
|
+
|
|
781
|
+
/**
|
|
782
|
+
* Canonical name of the Finance vendor. Name eq, ne, and in filters also match
|
|
783
|
+
* alternate names.
|
|
408
784
|
*/
|
|
409
785
|
name?: string;
|
|
410
786
|
}
|
|
@@ -455,9 +831,9 @@ export interface CardTransactionRetrieveResponse extends BusinessPartnersAPI.Met
|
|
|
455
831
|
| 'FAILED';
|
|
456
832
|
|
|
457
833
|
/**
|
|
458
|
-
*
|
|
834
|
+
* Other attached files, including filenames and recorded upload metadata.
|
|
459
835
|
*/
|
|
460
|
-
attachments?: Array<
|
|
836
|
+
attachments?: Array<CardTransactionRetrieveResponse.Attachment>;
|
|
461
837
|
|
|
462
838
|
/**
|
|
463
839
|
* State of the card authorization. `PENDING`: an active hold awaiting completion.
|
|
@@ -468,8 +844,8 @@ export interface CardTransactionRetrieveResponse extends BusinessPartnersAPI.Met
|
|
|
468
844
|
authorization_state?: 'PENDING' | 'CLOSED' | 'REVERSED' | 'EXPIRED';
|
|
469
845
|
|
|
470
846
|
/**
|
|
471
|
-
* ID of the
|
|
472
|
-
* card.
|
|
847
|
+
* ID of the Finance card used. No public API is currently available to retrieve
|
|
848
|
+
* this card.
|
|
473
849
|
*/
|
|
474
850
|
card_id?: string;
|
|
475
851
|
|
|
@@ -509,7 +885,7 @@ export interface CardTransactionRetrieveResponse extends BusinessPartnersAPI.Met
|
|
|
509
885
|
gl_vendor?: CardTransactionRetrieveResponse.GlVendor;
|
|
510
886
|
|
|
511
887
|
/**
|
|
512
|
-
* Category splits of the transaction amount.
|
|
888
|
+
* Category splits of the transaction amount. Updates replace the entire list.
|
|
513
889
|
*/
|
|
514
890
|
line_items?: Array<CardTransactionRetrieveResponse.LineItem>;
|
|
515
891
|
|
|
@@ -525,9 +901,9 @@ export interface CardTransactionRetrieveResponse extends BusinessPartnersAPI.Met
|
|
|
525
901
|
merchant_amount?: CardTransactionRetrieveResponse.MerchantAmount;
|
|
526
902
|
|
|
527
903
|
/**
|
|
528
|
-
*
|
|
904
|
+
* Receipt file and its filename.
|
|
529
905
|
*/
|
|
530
|
-
receipt?:
|
|
906
|
+
receipt?: CardTransactionRetrieveResponse.Receipt;
|
|
531
907
|
|
|
532
908
|
/**
|
|
533
909
|
* When the purchase or authorization happened, as an ISO 8601 date-time in UTC.
|
|
@@ -541,10 +917,24 @@ export interface CardTransactionRetrieveResponse extends BusinessPartnersAPI.Met
|
|
|
541
917
|
transaction_type?: 'CARD_TRANSACTION' | 'CARD_AUTHORIZATION';
|
|
542
918
|
|
|
543
919
|
/**
|
|
544
|
-
* Vendor
|
|
920
|
+
* Vendor details. Expand with `card-transactions.read` and `finance-vendors.read`.
|
|
921
|
+
*
|
|
922
|
+
* Expandable field
|
|
545
923
|
*/
|
|
546
924
|
vendor?: CardTransactionRetrieveResponse.Vendor;
|
|
547
925
|
|
|
926
|
+
/**
|
|
927
|
+
* ID of the Finance vendor. Use it with `/finance-vendors/{id}/`.
|
|
928
|
+
*/
|
|
929
|
+
vendor_id?: string;
|
|
930
|
+
|
|
931
|
+
/**
|
|
932
|
+
* Worker details. Expand with `card-transactions.read` and `workers.read`.
|
|
933
|
+
*
|
|
934
|
+
* Expandable field
|
|
935
|
+
*/
|
|
936
|
+
worker?: WorkersAPI.Worker;
|
|
937
|
+
|
|
548
938
|
/**
|
|
549
939
|
* ID of the worker who made the transaction. Use it with `/workers/{id}/`.
|
|
550
940
|
*/
|
|
@@ -552,6 +942,32 @@ export interface CardTransactionRetrieveResponse extends BusinessPartnersAPI.Met
|
|
|
552
942
|
}
|
|
553
943
|
|
|
554
944
|
export namespace CardTransactionRetrieveResponse {
|
|
945
|
+
/**
|
|
946
|
+
* A Finance transaction attachment with recorded upload details.
|
|
947
|
+
*/
|
|
948
|
+
export interface Attachment {
|
|
949
|
+
/**
|
|
950
|
+
* URL for accessing the file.
|
|
951
|
+
*/
|
|
952
|
+
url: string;
|
|
953
|
+
|
|
954
|
+
/**
|
|
955
|
+
* Original file name, when recorded.
|
|
956
|
+
*/
|
|
957
|
+
file_name?: string;
|
|
958
|
+
|
|
959
|
+
/**
|
|
960
|
+
* When the attachment was uploaded, as an ISO 8601 date-time in UTC, when
|
|
961
|
+
* recorded.
|
|
962
|
+
*/
|
|
963
|
+
uploaded_at?: string;
|
|
964
|
+
|
|
965
|
+
/**
|
|
966
|
+
* ID of the worker who uploaded the attachment. Use it with `/workers/{id}/`.
|
|
967
|
+
*/
|
|
968
|
+
uploaded_by_id?: string;
|
|
969
|
+
}
|
|
970
|
+
|
|
555
971
|
/**
|
|
556
972
|
* Amount in the company's headquarters currency. The `value` is a decimal string.
|
|
557
973
|
*/
|
|
@@ -588,28 +1004,56 @@ export namespace CardTransactionRetrieveResponse {
|
|
|
588
1004
|
}
|
|
589
1005
|
|
|
590
1006
|
export 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
|
+
/**
|
|
1014
|
+
* Whether this line is amortized.
|
|
1015
|
+
*/
|
|
1016
|
+
amortized?: boolean;
|
|
1017
|
+
|
|
591
1018
|
/**
|
|
592
1019
|
* Amount of this split, in the merchant currency. The `value` is a decimal string.
|
|
593
1020
|
*/
|
|
594
1021
|
amount?: LineItem.Amount;
|
|
595
1022
|
|
|
596
1023
|
/**
|
|
597
|
-
* ID of the
|
|
598
|
-
*
|
|
1024
|
+
* ID of the Finance category assigned to this split. Use it with
|
|
1025
|
+
* `/finance-categories/{id}/`. The category name is in `category_name`.
|
|
599
1026
|
*/
|
|
600
1027
|
category_id?: string;
|
|
601
1028
|
|
|
602
1029
|
/**
|
|
603
|
-
* Name of the
|
|
1030
|
+
* Name of the finance category.
|
|
604
1031
|
*/
|
|
605
1032
|
category_name?: string;
|
|
606
1033
|
|
|
607
1034
|
/**
|
|
608
|
-
* Selected dimension values, keyed by dimension ID.
|
|
609
|
-
*
|
|
1035
|
+
* Selected dimension values, keyed by dimension ID. `DEPARTMENT` and
|
|
1036
|
+
* `WORK_LOCATION` are the built-in keys. Get custom dimension IDs from
|
|
1037
|
+
* `/job-dimensions/` and `/job-dimensions/{id}/`. Each choice `value` is a job
|
|
1038
|
+
* code ID from `/job-codes/` and `/job-codes/{id}/`.
|
|
610
1039
|
*/
|
|
611
1040
|
dimension_choices?: { [key: string]: LineItem.DimensionChoices };
|
|
612
1041
|
|
|
1042
|
+
/**
|
|
1043
|
+
* End of the amortization period (YYYY-MM-DD).
|
|
1044
|
+
*/
|
|
1045
|
+
end_date?: string;
|
|
1046
|
+
|
|
1047
|
+
/**
|
|
1048
|
+
* ERP amortization schedule associated with this line.
|
|
1049
|
+
*/
|
|
1050
|
+
gl_amortization_schedule?: LineItem.GlAmortizationSchedule;
|
|
1051
|
+
|
|
1052
|
+
/**
|
|
1053
|
+
* ERP amortization template for this line.
|
|
1054
|
+
*/
|
|
1055
|
+
gl_amortization_template?: LineItem.GlAmortizationTemplate;
|
|
1056
|
+
|
|
613
1057
|
/**
|
|
614
1058
|
* Whether this split is billed to `gl_customer` in the accounting system.
|
|
615
1059
|
* `BILLABLE` means it is billed, `NOT_BILLABLE` means it is not. Null when not
|
|
@@ -623,10 +1067,31 @@ export namespace CardTransactionRetrieveResponse {
|
|
|
623
1067
|
*/
|
|
624
1068
|
gl_customer?: string;
|
|
625
1069
|
|
|
1070
|
+
/**
|
|
1071
|
+
* Rippling ID of the accounting tax code. No public Rippling API is currently
|
|
1072
|
+
* available to retrieve this accounting tax code.
|
|
1073
|
+
*/
|
|
1074
|
+
gl_tax_code?: string;
|
|
1075
|
+
|
|
626
1076
|
/**
|
|
627
1077
|
* Memo entered on this split.
|
|
628
1078
|
*/
|
|
629
1079
|
memo?: string;
|
|
1080
|
+
|
|
1081
|
+
/**
|
|
1082
|
+
* Prepaid asset account for Rippling-managed amortization.
|
|
1083
|
+
*/
|
|
1084
|
+
prepaid_account?: LineItem.PrepaidAccount;
|
|
1085
|
+
|
|
1086
|
+
/**
|
|
1087
|
+
* Start of the amortization period (YYYY-MM-DD).
|
|
1088
|
+
*/
|
|
1089
|
+
start_date?: string;
|
|
1090
|
+
|
|
1091
|
+
/**
|
|
1092
|
+
* Total tax amount for this line in the merchant currency.
|
|
1093
|
+
*/
|
|
1094
|
+
tax_amount?: LineItem.TaxAmount;
|
|
630
1095
|
}
|
|
631
1096
|
|
|
632
1097
|
export namespace LineItem {
|
|
@@ -657,10 +1122,192 @@ export namespace CardTransactionRetrieveResponse {
|
|
|
657
1122
|
label?: string;
|
|
658
1123
|
|
|
659
1124
|
/**
|
|
660
|
-
* ID of the selected
|
|
1125
|
+
* ID of the selected value. For `DEPARTMENT` use `/departments/{id}/`, for
|
|
1126
|
+
* `WORK_LOCATION` use `/work-locations/{id}/`, and for a custom job dimension use
|
|
1127
|
+
* `/job-codes/{id}/`.
|
|
661
1128
|
*/
|
|
662
1129
|
value?: string;
|
|
663
1130
|
}
|
|
1131
|
+
|
|
1132
|
+
/**
|
|
1133
|
+
* ERP amortization schedule associated with this line.
|
|
1134
|
+
*/
|
|
1135
|
+
export interface GlAmortizationSchedule {
|
|
1136
|
+
/**
|
|
1137
|
+
* Rippling ID of the accounting integration that owns this object. No public
|
|
1138
|
+
* Rippling API is currently available to retrieve this accounting integration.
|
|
1139
|
+
*/
|
|
1140
|
+
accounting_integration_id?: string;
|
|
1141
|
+
|
|
1142
|
+
/**
|
|
1143
|
+
* Number of amortization periods.
|
|
1144
|
+
*/
|
|
1145
|
+
amortization_period?: number;
|
|
1146
|
+
|
|
1147
|
+
/**
|
|
1148
|
+
* End of the ERP amortization schedule as an ISO 8601 timestamp (for example,
|
|
1149
|
+
* 2026-12-31T00:00:00). May omit a timezone offset; an omitted offset does not
|
|
1150
|
+
* indicate UTC. Null when not set.
|
|
1151
|
+
*/
|
|
1152
|
+
end_date?: string;
|
|
1153
|
+
|
|
1154
|
+
/**
|
|
1155
|
+
* Object ID in the connected accounting system.
|
|
1156
|
+
*/
|
|
1157
|
+
gl_object_id?: string;
|
|
1158
|
+
|
|
1159
|
+
/**
|
|
1160
|
+
* Type of object in the connected accounting system: GL_AMORTIZATION_TEMPLATE
|
|
1161
|
+
* defines amortization rules; GL_AMORTIZATION_SCHEDULE tracks amortization;
|
|
1162
|
+
* GL_AMORTIZATION_SCHEDULE_RECURRENCE is a schedule entry; GL_ACCOUNT is a general
|
|
1163
|
+
* ledger account; GL_JOURNAL_ENTRY is a journal entry; GL_POSTING_PERIOD is an
|
|
1164
|
+
* accounting period; GL_VENDOR, GL_CUSTOMER, and GL_EMPLOYEE identify a vendor,
|
|
1165
|
+
* customer, and employee respectively; GL_SUBSIDIARY identifies a subsidiary. Null
|
|
1166
|
+
* when not set.
|
|
1167
|
+
*/
|
|
1168
|
+
gl_object_type?:
|
|
1169
|
+
| 'GL_AMORTIZATION_TEMPLATE'
|
|
1170
|
+
| 'GL_AMORTIZATION_SCHEDULE'
|
|
1171
|
+
| 'GL_AMORTIZATION_SCHEDULE_RECURRENCE'
|
|
1172
|
+
| 'GL_ACCOUNT'
|
|
1173
|
+
| 'GL_JOURNAL_ENTRY'
|
|
1174
|
+
| 'GL_POSTING_PERIOD'
|
|
1175
|
+
| 'GL_VENDOR'
|
|
1176
|
+
| 'GL_CUSTOMER'
|
|
1177
|
+
| 'GL_EMPLOYEE'
|
|
1178
|
+
| 'GL_SUBSIDIARY';
|
|
1179
|
+
|
|
1180
|
+
/**
|
|
1181
|
+
* Accounting object name.
|
|
1182
|
+
*/
|
|
1183
|
+
name?: string;
|
|
1184
|
+
|
|
1185
|
+
/**
|
|
1186
|
+
* Start of the ERP amortization schedule as an ISO 8601 timestamp (for example,
|
|
1187
|
+
* 2026-01-01T00:00:00). May omit a timezone offset; an omitted offset does not
|
|
1188
|
+
* indicate UTC. Null when not set.
|
|
1189
|
+
*/
|
|
1190
|
+
start_date?: string;
|
|
1191
|
+
|
|
1192
|
+
/**
|
|
1193
|
+
* ERP amortization schedule status: NOT_STARTED means amortization has not begun;
|
|
1194
|
+
* IN_PROGRESS means amortization is underway; COMPLETED means amortization is
|
|
1195
|
+
* complete; ON_HOLD means amortization is paused. Null when not set.
|
|
1196
|
+
*/
|
|
1197
|
+
status?: 'NOT_STARTED' | 'IN_PROGRESS' | 'COMPLETED' | 'ON_HOLD';
|
|
1198
|
+
|
|
1199
|
+
/**
|
|
1200
|
+
* Amount already amortized as reported by the ERP, in the same currency as
|
|
1201
|
+
* total_amount. No currency conversion is applied; the schedule currency code is
|
|
1202
|
+
* not available in this response.
|
|
1203
|
+
*/
|
|
1204
|
+
total_amortized_amount?: number;
|
|
1205
|
+
|
|
1206
|
+
/**
|
|
1207
|
+
* Total schedule amount as reported by the ERP, without currency conversion. The
|
|
1208
|
+
* schedule currency code is not available in this response.
|
|
1209
|
+
*/
|
|
1210
|
+
total_amount?: number;
|
|
1211
|
+
}
|
|
1212
|
+
|
|
1213
|
+
/**
|
|
1214
|
+
* ERP amortization template for this line.
|
|
1215
|
+
*/
|
|
1216
|
+
export interface GlAmortizationTemplate {
|
|
1217
|
+
/**
|
|
1218
|
+
* Rippling ID of the accounting integration that owns this object. No public
|
|
1219
|
+
* Rippling API is currently available to retrieve this accounting integration.
|
|
1220
|
+
*/
|
|
1221
|
+
accounting_integration_id?: string;
|
|
1222
|
+
|
|
1223
|
+
/**
|
|
1224
|
+
* Object ID in the connected accounting system.
|
|
1225
|
+
*/
|
|
1226
|
+
gl_object_id?: string;
|
|
1227
|
+
|
|
1228
|
+
/**
|
|
1229
|
+
* Type of object in the connected accounting system: GL_AMORTIZATION_TEMPLATE
|
|
1230
|
+
* defines amortization rules; GL_AMORTIZATION_SCHEDULE tracks amortization;
|
|
1231
|
+
* GL_AMORTIZATION_SCHEDULE_RECURRENCE is a schedule entry; GL_ACCOUNT is a general
|
|
1232
|
+
* ledger account; GL_JOURNAL_ENTRY is a journal entry; GL_POSTING_PERIOD is an
|
|
1233
|
+
* accounting period; GL_VENDOR, GL_CUSTOMER, and GL_EMPLOYEE identify a vendor,
|
|
1234
|
+
* customer, and employee respectively; GL_SUBSIDIARY identifies a subsidiary. Null
|
|
1235
|
+
* when not set.
|
|
1236
|
+
*/
|
|
1237
|
+
gl_object_type?:
|
|
1238
|
+
| 'GL_AMORTIZATION_TEMPLATE'
|
|
1239
|
+
| 'GL_AMORTIZATION_SCHEDULE'
|
|
1240
|
+
| 'GL_AMORTIZATION_SCHEDULE_RECURRENCE'
|
|
1241
|
+
| 'GL_ACCOUNT'
|
|
1242
|
+
| 'GL_JOURNAL_ENTRY'
|
|
1243
|
+
| 'GL_POSTING_PERIOD'
|
|
1244
|
+
| 'GL_VENDOR'
|
|
1245
|
+
| 'GL_CUSTOMER'
|
|
1246
|
+
| 'GL_EMPLOYEE'
|
|
1247
|
+
| 'GL_SUBSIDIARY';
|
|
1248
|
+
|
|
1249
|
+
/**
|
|
1250
|
+
* Accounting object name.
|
|
1251
|
+
*/
|
|
1252
|
+
name?: string;
|
|
1253
|
+
}
|
|
1254
|
+
|
|
1255
|
+
/**
|
|
1256
|
+
* Prepaid asset account for Rippling-managed amortization.
|
|
1257
|
+
*/
|
|
1258
|
+
export interface PrepaidAccount {
|
|
1259
|
+
/**
|
|
1260
|
+
* Account ID in the connected accounting system.
|
|
1261
|
+
*/
|
|
1262
|
+
account_id?: string;
|
|
1263
|
+
|
|
1264
|
+
/**
|
|
1265
|
+
* Account code.
|
|
1266
|
+
*/
|
|
1267
|
+
code?: string;
|
|
1268
|
+
|
|
1269
|
+
/**
|
|
1270
|
+
* Account name.
|
|
1271
|
+
*/
|
|
1272
|
+
name?: string;
|
|
1273
|
+
|
|
1274
|
+
/**
|
|
1275
|
+
* IDs of custom dimensions required by this account.
|
|
1276
|
+
*/
|
|
1277
|
+
required_custom_dimensions?: Array<string>;
|
|
1278
|
+
|
|
1279
|
+
/**
|
|
1280
|
+
* Whether this account requires a department.
|
|
1281
|
+
*/
|
|
1282
|
+
requires_department?: boolean;
|
|
1283
|
+
|
|
1284
|
+
/**
|
|
1285
|
+
* Whether this account requires a work location.
|
|
1286
|
+
*/
|
|
1287
|
+
requires_work_location?: boolean;
|
|
1288
|
+
|
|
1289
|
+
/**
|
|
1290
|
+
* Accounting account type: RECEIVABLE for accounts receivable, PAYABLE for
|
|
1291
|
+
* accounts payable, EXPENSE for expense accounts, or BANK for bank accounts. Null
|
|
1292
|
+
* when not set.
|
|
1293
|
+
*/
|
|
1294
|
+
type?: 'RECEIVABLE' | 'PAYABLE' | 'EXPENSE' | 'BANK';
|
|
1295
|
+
}
|
|
1296
|
+
|
|
1297
|
+
/**
|
|
1298
|
+
* Total tax amount for this line in the merchant currency.
|
|
1299
|
+
*/
|
|
1300
|
+
export interface TaxAmount {
|
|
1301
|
+
/**
|
|
1302
|
+
* The currency type, ex: USD, EUR, etc.
|
|
1303
|
+
*/
|
|
1304
|
+
currency_type?: string;
|
|
1305
|
+
|
|
1306
|
+
/**
|
|
1307
|
+
* The decimal amount for the currency.
|
|
1308
|
+
*/
|
|
1309
|
+
value?: number;
|
|
1310
|
+
}
|
|
664
1311
|
}
|
|
665
1312
|
|
|
666
1313
|
/**
|
|
@@ -680,16 +1327,55 @@ export namespace CardTransactionRetrieveResponse {
|
|
|
680
1327
|
}
|
|
681
1328
|
|
|
682
1329
|
/**
|
|
683
|
-
*
|
|
1330
|
+
* Receipt file and its filename.
|
|
1331
|
+
*/
|
|
1332
|
+
export interface Receipt {
|
|
1333
|
+
/**
|
|
1334
|
+
* URL for accessing the file.
|
|
1335
|
+
*/
|
|
1336
|
+
url: string;
|
|
1337
|
+
|
|
1338
|
+
/**
|
|
1339
|
+
* Original file name, when recorded.
|
|
1340
|
+
*/
|
|
1341
|
+
file_name?: string;
|
|
1342
|
+
}
|
|
1343
|
+
|
|
1344
|
+
/**
|
|
1345
|
+
* Vendor details. Expand with `card-transactions.read` and `finance-vendors.read`.
|
|
1346
|
+
*
|
|
1347
|
+
* Expandable field
|
|
684
1348
|
*/
|
|
685
1349
|
export interface Vendor {
|
|
686
1350
|
/**
|
|
687
|
-
*
|
|
1351
|
+
* Identifier field
|
|
688
1352
|
*/
|
|
689
|
-
id
|
|
1353
|
+
id: string;
|
|
1354
|
+
|
|
1355
|
+
/**
|
|
1356
|
+
* Record creation date
|
|
1357
|
+
*/
|
|
1358
|
+
created_at: string;
|
|
1359
|
+
|
|
1360
|
+
/**
|
|
1361
|
+
* Record update date
|
|
1362
|
+
*/
|
|
1363
|
+
updated_at: string;
|
|
1364
|
+
|
|
1365
|
+
/**
|
|
1366
|
+
* Whether the vendor is archived. Archived vendors remain available for historical
|
|
1367
|
+
* references.
|
|
1368
|
+
*/
|
|
1369
|
+
is_archived?: boolean;
|
|
1370
|
+
|
|
1371
|
+
/**
|
|
1372
|
+
* URL of the vendor's logo. Null when no logo is available.
|
|
1373
|
+
*/
|
|
1374
|
+
logo?: string;
|
|
690
1375
|
|
|
691
1376
|
/**
|
|
692
|
-
*
|
|
1377
|
+
* Canonical name of the Finance vendor. Name eq, ne, and in filters also match
|
|
1378
|
+
* alternate names.
|
|
693
1379
|
*/
|
|
694
1380
|
name?: string;
|
|
695
1381
|
}
|
|
@@ -698,6 +1384,8 @@ export namespace CardTransactionRetrieveResponse {
|
|
|
698
1384
|
export interface CardTransactionListParams {
|
|
699
1385
|
cursor?: string;
|
|
700
1386
|
|
|
1387
|
+
expand?: string;
|
|
1388
|
+
|
|
701
1389
|
filter?: string;
|
|
702
1390
|
|
|
703
1391
|
/**
|
|
@@ -708,11 +1396,16 @@ export interface CardTransactionListParams {
|
|
|
708
1396
|
order_by?: string;
|
|
709
1397
|
}
|
|
710
1398
|
|
|
1399
|
+
export interface CardTransactionRetrieveParams {
|
|
1400
|
+
expand?: string;
|
|
1401
|
+
}
|
|
1402
|
+
|
|
711
1403
|
export declare namespace CardTransactions {
|
|
712
1404
|
export {
|
|
713
1405
|
type CardTransactionListResponse as CardTransactionListResponse,
|
|
714
1406
|
type CardTransactionRetrieveResponse as CardTransactionRetrieveResponse,
|
|
715
1407
|
type CardTransactionListResponsesPageCursorURL as CardTransactionListResponsesPageCursorURL,
|
|
716
1408
|
type CardTransactionListParams as CardTransactionListParams,
|
|
1409
|
+
type CardTransactionRetrieveParams as CardTransactionRetrieveParams,
|
|
717
1410
|
};
|
|
718
1411
|
}
|