@rippling/rippling-sdk 0.2.0-alpha.110 → 0.2.0-alpha.112
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 +110 -0
- package/resources/record-detail-reference-options.d.mts.map +1 -0
- package/resources/record-detail-reference-options.d.ts +110 -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 +1129 -0
- package/resources/record-detail-related-records.d.mts.map +1 -0
- package/resources/record-detail-related-records.d.ts +1129 -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 +2621 -0
- package/resources/record-details.d.mts.map +1 -0
- package/resources/record-details.d.ts +2621 -0
- package/resources/record-details.d.ts.map +1 -0
- package/resources/record-details.js +141 -0
- package/resources/record-details.js.map +1 -0
- package/resources/record-details.mjs +137 -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/resources/worker-changes.d.mts +65 -10
- package/resources/worker-changes.d.mts.map +1 -1
- package/resources/worker-changes.d.ts +65 -10
- package/resources/worker-changes.d.ts.map +1 -1
- package/resources/worker-changes.js +3 -0
- package/resources/worker-changes.js.map +1 -1
- package/resources/worker-changes.mjs +3 -0
- package/resources/worker-changes.mjs.map +1 -1
- package/src/client.ts +160 -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 +53 -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 +141 -0
- package/src/resources/record-detail-related-records.ts +1457 -0
- package/src/resources/record-details.ts +3316 -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/resources/worker-changes.ts +71 -10
- 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
|
@@ -1,21 +1,26 @@
|
|
|
1
1
|
import { APIResource } from "../core/resource.mjs";
|
|
2
2
|
import * as BusinessPartnersAPI from "./business-partners.mjs";
|
|
3
|
+
import * as WorkersAPI from "./workers.mjs";
|
|
3
4
|
import { APIPromise } from "../core/api-promise.mjs";
|
|
4
5
|
import { PageCursorURL, PagePromise } from "../core/pagination.mjs";
|
|
5
6
|
import { RequestOptions } from "../internal/request-options.mjs";
|
|
7
|
+
/**
|
|
8
|
+
* Finance card transactions (posted charges) and authorizations (pending holds)
|
|
9
|
+
*/
|
|
6
10
|
export declare class CardTransactions extends APIResource {
|
|
7
11
|
/**
|
|
8
12
|
* A list of card transactions.
|
|
9
13
|
*
|
|
10
|
-
* - Requires: `
|
|
11
|
-
* - Filterable fields: `worker_id`, `
|
|
12
|
-
* `
|
|
14
|
+
* - Requires: `Spend Management Platform API`
|
|
15
|
+
* - Filterable fields: `worker_id`, `entity_id`, `vendor_id`, `transaction_date`,
|
|
16
|
+
* `transaction_type`, `card_id`
|
|
17
|
+
* - Expandable fields: `worker`, `vendor`
|
|
13
18
|
* - Sortable fields: `id`, `created_at`, `updated_at`, `transaction_date`
|
|
14
19
|
*
|
|
15
20
|
* @example HTTP
|
|
16
21
|
* Representative request and response shapes.
|
|
17
22
|
* ```
|
|
18
|
-
* GET /card-transactions/?filter=filter&order_by=order_by&limit=50&cursor=cursor HTTP/1.1
|
|
23
|
+
* GET /card-transactions/?filter=filter&expand=expand&order_by=order_by&limit=50&cursor=cursor HTTP/1.1
|
|
19
24
|
* Host: rest.ripplingapis.com
|
|
20
25
|
* Accept: application/json
|
|
21
26
|
* Rippling-Api-Version: 2024-08-01
|
|
@@ -38,6 +43,55 @@ export declare class CardTransactions extends APIResource {
|
|
|
38
43
|
* "created_at": "string",
|
|
39
44
|
* "updated_at": "string",
|
|
40
45
|
* "worker_id": "string",
|
|
46
|
+
* "worker": {
|
|
47
|
+
* "id": "string",
|
|
48
|
+
* "created_at": "string",
|
|
49
|
+
* "updated_at": "string",
|
|
50
|
+
* "user_id": "string",
|
|
51
|
+
* "user": {},
|
|
52
|
+
* "is_manager": "string",
|
|
53
|
+
* "manager_id": "string",
|
|
54
|
+
* "manager": {},
|
|
55
|
+
* "legal_entity_id": "string",
|
|
56
|
+
* "legal_entity": {},
|
|
57
|
+
* "country": "AF",
|
|
58
|
+
* "start_date": "string",
|
|
59
|
+
* "end_date": "string",
|
|
60
|
+
* "number": "string",
|
|
61
|
+
* "work_email": "string",
|
|
62
|
+
* "personal_email": "string",
|
|
63
|
+
* "status": "INIT",
|
|
64
|
+
* "location": {},
|
|
65
|
+
* "employment_type_id": "string",
|
|
66
|
+
* "employment_type": {},
|
|
67
|
+
* "gender": "MALE",
|
|
68
|
+
* "date_of_birth": "string",
|
|
69
|
+
* "race": "BLACK",
|
|
70
|
+
* "ethnicity": "HISPANIC_OR_LATINO",
|
|
71
|
+
* "citizenship": "AF",
|
|
72
|
+
* "compensation_id": "string",
|
|
73
|
+
* "compensation": {},
|
|
74
|
+
* "overtime_exemption": "EXEMPT",
|
|
75
|
+
* "department_id": "string",
|
|
76
|
+
* "department": {},
|
|
77
|
+
* "teams_id": [],
|
|
78
|
+
* "teams": [],
|
|
79
|
+
* "title": "string",
|
|
80
|
+
* "title_effective_date": "string",
|
|
81
|
+
* "level_id": "string",
|
|
82
|
+
* "level": {},
|
|
83
|
+
* "job_function_id": "string",
|
|
84
|
+
* "job_function": {},
|
|
85
|
+
* "termination_details": {},
|
|
86
|
+
* "pay_schedule_id": "string",
|
|
87
|
+
* "work_schedule": {},
|
|
88
|
+
* "compensation_grade": {},
|
|
89
|
+
* "original_start_date": "string",
|
|
90
|
+
* "custom_fields": [],
|
|
91
|
+
* "country_fields": {},
|
|
92
|
+
* "business_partners_id": [],
|
|
93
|
+
* "business_partners": []
|
|
94
|
+
* },
|
|
41
95
|
* "company_amount": {
|
|
42
96
|
* "currency_type": "string",
|
|
43
97
|
* "value": "string"
|
|
@@ -46,14 +100,17 @@ export declare class CardTransactions extends APIResource {
|
|
|
46
100
|
* "currency_type": "string",
|
|
47
101
|
* "value": "string"
|
|
48
102
|
* },
|
|
49
|
-
* "transaction_date": "string",
|
|
50
103
|
* "accounting_date": "string",
|
|
51
104
|
* "gl_sync_state": "NOT_FINALIZED",
|
|
52
105
|
* "approval_status": "DRAFT",
|
|
53
106
|
* "entity_id": "string",
|
|
54
107
|
* "vendor": {
|
|
55
108
|
* "id": "string",
|
|
56
|
-
* "
|
|
109
|
+
* "created_at": "string",
|
|
110
|
+
* "updated_at": "string",
|
|
111
|
+
* "name": "string",
|
|
112
|
+
* "logo": "string",
|
|
113
|
+
* "is_archived": "string"
|
|
57
114
|
* },
|
|
58
115
|
* "gl_vendor": {
|
|
59
116
|
* "id": "string",
|
|
@@ -61,13 +118,18 @@ export declare class CardTransactions extends APIResource {
|
|
|
61
118
|
* "gl_vendor_id": "string"
|
|
62
119
|
* },
|
|
63
120
|
* "memo": "string",
|
|
64
|
-
* "receipt": "string",
|
|
65
121
|
* "attachments": [
|
|
66
|
-
*
|
|
122
|
+
* {}
|
|
67
123
|
* ],
|
|
68
124
|
* "line_items": [
|
|
69
125
|
* {}
|
|
70
126
|
* ],
|
|
127
|
+
* "vendor_id": "string",
|
|
128
|
+
* "transaction_date": "string",
|
|
129
|
+
* "receipt": {
|
|
130
|
+
* "url": "string",
|
|
131
|
+
* "file_name": "string"
|
|
132
|
+
* },
|
|
71
133
|
* "transaction_type": "CARD_TRANSACTION",
|
|
72
134
|
* "authorization_state": "PENDING",
|
|
73
135
|
* "card_id": "string"
|
|
@@ -79,12 +141,12 @@ export declare class CardTransactions extends APIResource {
|
|
|
79
141
|
*/
|
|
80
142
|
list(query?: CardTransactionListParams | null | undefined, options?: RequestOptions): PagePromise<CardTransactionListResponsesPageCursorURL, CardTransactionListResponse>;
|
|
81
143
|
/**
|
|
82
|
-
* Retrieve a specific card transaction
|
|
144
|
+
* Retrieve a specific card transaction. Expandable fields: `worker`, `vendor`.
|
|
83
145
|
*
|
|
84
146
|
* @example HTTP
|
|
85
147
|
* Representative request and response shapes.
|
|
86
148
|
* ```
|
|
87
|
-
* GET /card-transactions/{id}
|
|
149
|
+
* GET /card-transactions/{id}/?expand=expand HTTP/1.1
|
|
88
150
|
* Host: rest.ripplingapis.com
|
|
89
151
|
* Accept: application/json
|
|
90
152
|
* Rippling-Api-Version: 2024-08-01
|
|
@@ -101,11 +163,11 @@ export declare class CardTransactions extends APIResource {
|
|
|
101
163
|
* }
|
|
102
164
|
* ```
|
|
103
165
|
*/
|
|
104
|
-
retrieve(id: string, options?: RequestOptions): APIPromise<CardTransactionRetrieveResponse>;
|
|
166
|
+
retrieve(id: string, query?: CardTransactionRetrieveParams | null | undefined, options?: RequestOptions): APIPromise<CardTransactionRetrieveResponse>;
|
|
105
167
|
}
|
|
106
168
|
export type CardTransactionListResponsesPageCursorURL = PageCursorURL<CardTransactionListResponse>;
|
|
107
169
|
/**
|
|
108
|
-
* A
|
|
170
|
+
* A Finance card transaction or authorization the caller can see.
|
|
109
171
|
*
|
|
110
172
|
* An authorization is a pending hold the card network places at the time of purchase. A card transaction
|
|
111
173
|
* is the posted charge. List returns both; retrieve returns one by ID. A transaction the
|
|
@@ -139,9 +201,9 @@ export interface CardTransactionListResponse {
|
|
|
139
201
|
*/
|
|
140
202
|
approval_status?: 'DRAFT' | 'PENDING' | 'REQUESTED' | 'APPROVED' | 'REJECTED' | 'FINALIZED' | 'ACTIONED' | 'CANCELLED' | 'FAILED';
|
|
141
203
|
/**
|
|
142
|
-
*
|
|
204
|
+
* Other attached files, including filenames and recorded upload metadata.
|
|
143
205
|
*/
|
|
144
|
-
attachments?: Array<
|
|
206
|
+
attachments?: Array<CardTransactionListResponse.Attachment>;
|
|
145
207
|
/**
|
|
146
208
|
* State of the card authorization. `PENDING`: an active hold awaiting completion.
|
|
147
209
|
* `CLOSED`: the authorization completed and the charge posted. `REVERSED`: the
|
|
@@ -150,8 +212,8 @@ export interface CardTransactionListResponse {
|
|
|
150
212
|
*/
|
|
151
213
|
authorization_state?: 'PENDING' | 'CLOSED' | 'REVERSED' | 'EXPIRED';
|
|
152
214
|
/**
|
|
153
|
-
* ID of the
|
|
154
|
-
* card.
|
|
215
|
+
* ID of the Finance card used. No public API is currently available to retrieve
|
|
216
|
+
* this card.
|
|
155
217
|
*/
|
|
156
218
|
card_id?: string;
|
|
157
219
|
/**
|
|
@@ -177,7 +239,7 @@ export interface CardTransactionListResponse {
|
|
|
177
239
|
*/
|
|
178
240
|
gl_vendor?: CardTransactionListResponse.GlVendor;
|
|
179
241
|
/**
|
|
180
|
-
* Category splits of the transaction amount.
|
|
242
|
+
* Category splits of the transaction amount. Updates replace the entire list.
|
|
181
243
|
*/
|
|
182
244
|
line_items?: Array<CardTransactionListResponse.LineItem>;
|
|
183
245
|
/**
|
|
@@ -190,9 +252,9 @@ export interface CardTransactionListResponse {
|
|
|
190
252
|
*/
|
|
191
253
|
merchant_amount?: CardTransactionListResponse.MerchantAmount;
|
|
192
254
|
/**
|
|
193
|
-
*
|
|
255
|
+
* Receipt file and its filename.
|
|
194
256
|
*/
|
|
195
|
-
receipt?:
|
|
257
|
+
receipt?: CardTransactionListResponse.Receipt;
|
|
196
258
|
/**
|
|
197
259
|
* When the purchase or authorization happened, as an ISO 8601 date-time in UTC.
|
|
198
260
|
*/
|
|
@@ -203,15 +265,49 @@ export interface CardTransactionListResponse {
|
|
|
203
265
|
*/
|
|
204
266
|
transaction_type?: 'CARD_TRANSACTION' | 'CARD_AUTHORIZATION';
|
|
205
267
|
/**
|
|
206
|
-
* Vendor
|
|
268
|
+
* Vendor details. Expand with `card-transactions.read` and `finance-vendors.read`.
|
|
269
|
+
*
|
|
270
|
+
* Expandable field
|
|
207
271
|
*/
|
|
208
272
|
vendor?: CardTransactionListResponse.Vendor;
|
|
273
|
+
/**
|
|
274
|
+
* ID of the Finance vendor. Use it with `/finance-vendors/{id}/`.
|
|
275
|
+
*/
|
|
276
|
+
vendor_id?: string;
|
|
277
|
+
/**
|
|
278
|
+
* Worker details. Expand with `card-transactions.read` and `workers.read`.
|
|
279
|
+
*
|
|
280
|
+
* Expandable field
|
|
281
|
+
*/
|
|
282
|
+
worker?: WorkersAPI.Worker;
|
|
209
283
|
/**
|
|
210
284
|
* ID of the worker who made the transaction. Use it with `/workers/{id}/`.
|
|
211
285
|
*/
|
|
212
286
|
worker_id?: string;
|
|
213
287
|
}
|
|
214
288
|
export declare namespace CardTransactionListResponse {
|
|
289
|
+
/**
|
|
290
|
+
* A Finance transaction attachment with recorded upload details.
|
|
291
|
+
*/
|
|
292
|
+
interface Attachment {
|
|
293
|
+
/**
|
|
294
|
+
* URL for accessing the file.
|
|
295
|
+
*/
|
|
296
|
+
url: string;
|
|
297
|
+
/**
|
|
298
|
+
* Original file name, when recorded.
|
|
299
|
+
*/
|
|
300
|
+
file_name?: string;
|
|
301
|
+
/**
|
|
302
|
+
* When the attachment was uploaded, as an ISO 8601 date-time in UTC, when
|
|
303
|
+
* recorded.
|
|
304
|
+
*/
|
|
305
|
+
uploaded_at?: string;
|
|
306
|
+
/**
|
|
307
|
+
* ID of the worker who uploaded the attachment. Use it with `/workers/{id}/`.
|
|
308
|
+
*/
|
|
309
|
+
uploaded_by_id?: string;
|
|
310
|
+
}
|
|
215
311
|
/**
|
|
216
312
|
* Amount in the company's headquarters currency. The `value` is a decimal string.
|
|
217
313
|
*/
|
|
@@ -243,26 +339,49 @@ export declare namespace CardTransactionListResponse {
|
|
|
243
339
|
name?: string;
|
|
244
340
|
}
|
|
245
341
|
interface LineItem {
|
|
342
|
+
/**
|
|
343
|
+
* Unique identifier of this line item. Null for older line items that have not
|
|
344
|
+
* been assigned one yet.
|
|
345
|
+
*/
|
|
346
|
+
id?: string;
|
|
347
|
+
/**
|
|
348
|
+
* Whether this line is amortized.
|
|
349
|
+
*/
|
|
350
|
+
amortized?: boolean;
|
|
246
351
|
/**
|
|
247
352
|
* Amount of this split, in the merchant currency. The `value` is a decimal string.
|
|
248
353
|
*/
|
|
249
354
|
amount?: LineItem.Amount;
|
|
250
355
|
/**
|
|
251
|
-
* ID of the
|
|
252
|
-
*
|
|
356
|
+
* ID of the Finance category assigned to this split. Use it with
|
|
357
|
+
* `/finance-categories/{id}/`. The category name is in `category_name`.
|
|
253
358
|
*/
|
|
254
359
|
category_id?: string;
|
|
255
360
|
/**
|
|
256
|
-
* Name of the
|
|
361
|
+
* Name of the finance category.
|
|
257
362
|
*/
|
|
258
363
|
category_name?: string;
|
|
259
364
|
/**
|
|
260
|
-
* Selected dimension values, keyed by dimension ID.
|
|
261
|
-
*
|
|
365
|
+
* Selected dimension values, keyed by dimension ID. `DEPARTMENT` and
|
|
366
|
+
* `WORK_LOCATION` are the built-in keys. Get custom dimension IDs from
|
|
367
|
+
* `/job-dimensions/` and `/job-dimensions/{id}/`. Each choice `value` is a job
|
|
368
|
+
* code ID from `/job-codes/` and `/job-codes/{id}/`.
|
|
262
369
|
*/
|
|
263
370
|
dimension_choices?: {
|
|
264
371
|
[key: string]: LineItem.DimensionChoices;
|
|
265
372
|
};
|
|
373
|
+
/**
|
|
374
|
+
* End of the amortization period (YYYY-MM-DD).
|
|
375
|
+
*/
|
|
376
|
+
end_date?: string;
|
|
377
|
+
/**
|
|
378
|
+
* ERP amortization schedule associated with this line.
|
|
379
|
+
*/
|
|
380
|
+
gl_amortization_schedule?: LineItem.GlAmortizationSchedule;
|
|
381
|
+
/**
|
|
382
|
+
* ERP amortization template for this line.
|
|
383
|
+
*/
|
|
384
|
+
gl_amortization_template?: LineItem.GlAmortizationTemplate;
|
|
266
385
|
/**
|
|
267
386
|
* Whether this split is billed to `gl_customer` in the accounting system.
|
|
268
387
|
* `BILLABLE` means it is billed, `NOT_BILLABLE` means it is not. Null when not
|
|
@@ -274,10 +393,27 @@ export declare namespace CardTransactionListResponse {
|
|
|
274
393
|
* Rippling API is currently available to retrieve this accounting customer.
|
|
275
394
|
*/
|
|
276
395
|
gl_customer?: string;
|
|
396
|
+
/**
|
|
397
|
+
* Rippling ID of the accounting tax code. No public Rippling API is currently
|
|
398
|
+
* available to retrieve this accounting tax code.
|
|
399
|
+
*/
|
|
400
|
+
gl_tax_code?: string;
|
|
277
401
|
/**
|
|
278
402
|
* Memo entered on this split.
|
|
279
403
|
*/
|
|
280
404
|
memo?: string;
|
|
405
|
+
/**
|
|
406
|
+
* Prepaid asset account for Rippling-managed amortization.
|
|
407
|
+
*/
|
|
408
|
+
prepaid_account?: LineItem.PrepaidAccount;
|
|
409
|
+
/**
|
|
410
|
+
* Start of the amortization period (YYYY-MM-DD).
|
|
411
|
+
*/
|
|
412
|
+
start_date?: string;
|
|
413
|
+
/**
|
|
414
|
+
* Total tax amount for this line in the merchant currency.
|
|
415
|
+
*/
|
|
416
|
+
tax_amount?: LineItem.TaxAmount;
|
|
281
417
|
}
|
|
282
418
|
namespace LineItem {
|
|
283
419
|
/**
|
|
@@ -303,10 +439,149 @@ export declare namespace CardTransactionListResponse {
|
|
|
303
439
|
*/
|
|
304
440
|
label?: string;
|
|
305
441
|
/**
|
|
306
|
-
* ID of the selected
|
|
442
|
+
* ID of the selected value. For `DEPARTMENT` use `/departments/{id}/`, for
|
|
443
|
+
* `WORK_LOCATION` use `/work-locations/{id}/`, and for a custom job dimension use
|
|
444
|
+
* `/job-codes/{id}/`.
|
|
307
445
|
*/
|
|
308
446
|
value?: string;
|
|
309
447
|
}
|
|
448
|
+
/**
|
|
449
|
+
* ERP amortization schedule associated with this line.
|
|
450
|
+
*/
|
|
451
|
+
interface GlAmortizationSchedule {
|
|
452
|
+
/**
|
|
453
|
+
* Rippling ID of the accounting integration that owns this object. No public
|
|
454
|
+
* Rippling API is currently available to retrieve this accounting integration.
|
|
455
|
+
*/
|
|
456
|
+
accounting_integration_id?: string;
|
|
457
|
+
/**
|
|
458
|
+
* Number of amortization periods.
|
|
459
|
+
*/
|
|
460
|
+
amortization_period?: number;
|
|
461
|
+
/**
|
|
462
|
+
* End of the ERP amortization schedule as an ISO 8601 timestamp (for example,
|
|
463
|
+
* 2026-12-31T00:00:00). May omit a timezone offset; an omitted offset does not
|
|
464
|
+
* indicate UTC. Null when not set.
|
|
465
|
+
*/
|
|
466
|
+
end_date?: string;
|
|
467
|
+
/**
|
|
468
|
+
* Object ID in the connected accounting system.
|
|
469
|
+
*/
|
|
470
|
+
gl_object_id?: string;
|
|
471
|
+
/**
|
|
472
|
+
* Type of object in the connected accounting system: GL_AMORTIZATION_TEMPLATE
|
|
473
|
+
* defines amortization rules; GL_AMORTIZATION_SCHEDULE tracks amortization;
|
|
474
|
+
* GL_AMORTIZATION_SCHEDULE_RECURRENCE is a schedule entry; GL_ACCOUNT is a general
|
|
475
|
+
* ledger account; GL_JOURNAL_ENTRY is a journal entry; GL_POSTING_PERIOD is an
|
|
476
|
+
* accounting period; GL_VENDOR, GL_CUSTOMER, and GL_EMPLOYEE identify a vendor,
|
|
477
|
+
* customer, and employee respectively; GL_SUBSIDIARY identifies a subsidiary. Null
|
|
478
|
+
* when not set.
|
|
479
|
+
*/
|
|
480
|
+
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';
|
|
481
|
+
/**
|
|
482
|
+
* Accounting object name.
|
|
483
|
+
*/
|
|
484
|
+
name?: string;
|
|
485
|
+
/**
|
|
486
|
+
* Start of the ERP amortization schedule as an ISO 8601 timestamp (for example,
|
|
487
|
+
* 2026-01-01T00:00:00). May omit a timezone offset; an omitted offset does not
|
|
488
|
+
* indicate UTC. Null when not set.
|
|
489
|
+
*/
|
|
490
|
+
start_date?: string;
|
|
491
|
+
/**
|
|
492
|
+
* ERP amortization schedule status: NOT_STARTED means amortization has not begun;
|
|
493
|
+
* IN_PROGRESS means amortization is underway; COMPLETED means amortization is
|
|
494
|
+
* complete; ON_HOLD means amortization is paused. Null when not set.
|
|
495
|
+
*/
|
|
496
|
+
status?: 'NOT_STARTED' | 'IN_PROGRESS' | 'COMPLETED' | 'ON_HOLD';
|
|
497
|
+
/**
|
|
498
|
+
* Amount already amortized as reported by the ERP, in the same currency as
|
|
499
|
+
* total_amount. No currency conversion is applied; the schedule currency code is
|
|
500
|
+
* not available in this response.
|
|
501
|
+
*/
|
|
502
|
+
total_amortized_amount?: number;
|
|
503
|
+
/**
|
|
504
|
+
* Total schedule amount as reported by the ERP, without currency conversion. The
|
|
505
|
+
* schedule currency code is not available in this response.
|
|
506
|
+
*/
|
|
507
|
+
total_amount?: number;
|
|
508
|
+
}
|
|
509
|
+
/**
|
|
510
|
+
* ERP amortization template for this line.
|
|
511
|
+
*/
|
|
512
|
+
interface GlAmortizationTemplate {
|
|
513
|
+
/**
|
|
514
|
+
* Rippling ID of the accounting integration that owns this object. No public
|
|
515
|
+
* Rippling API is currently available to retrieve this accounting integration.
|
|
516
|
+
*/
|
|
517
|
+
accounting_integration_id?: string;
|
|
518
|
+
/**
|
|
519
|
+
* Object ID in the connected accounting system.
|
|
520
|
+
*/
|
|
521
|
+
gl_object_id?: string;
|
|
522
|
+
/**
|
|
523
|
+
* Type of object in the connected accounting system: GL_AMORTIZATION_TEMPLATE
|
|
524
|
+
* defines amortization rules; GL_AMORTIZATION_SCHEDULE tracks amortization;
|
|
525
|
+
* GL_AMORTIZATION_SCHEDULE_RECURRENCE is a schedule entry; GL_ACCOUNT is a general
|
|
526
|
+
* ledger account; GL_JOURNAL_ENTRY is a journal entry; GL_POSTING_PERIOD is an
|
|
527
|
+
* accounting period; GL_VENDOR, GL_CUSTOMER, and GL_EMPLOYEE identify a vendor,
|
|
528
|
+
* customer, and employee respectively; GL_SUBSIDIARY identifies a subsidiary. Null
|
|
529
|
+
* when not set.
|
|
530
|
+
*/
|
|
531
|
+
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';
|
|
532
|
+
/**
|
|
533
|
+
* Accounting object name.
|
|
534
|
+
*/
|
|
535
|
+
name?: string;
|
|
536
|
+
}
|
|
537
|
+
/**
|
|
538
|
+
* Prepaid asset account for Rippling-managed amortization.
|
|
539
|
+
*/
|
|
540
|
+
interface PrepaidAccount {
|
|
541
|
+
/**
|
|
542
|
+
* Account ID in the connected accounting system.
|
|
543
|
+
*/
|
|
544
|
+
account_id?: string;
|
|
545
|
+
/**
|
|
546
|
+
* Account code.
|
|
547
|
+
*/
|
|
548
|
+
code?: string;
|
|
549
|
+
/**
|
|
550
|
+
* Account name.
|
|
551
|
+
*/
|
|
552
|
+
name?: string;
|
|
553
|
+
/**
|
|
554
|
+
* IDs of custom dimensions required by this account.
|
|
555
|
+
*/
|
|
556
|
+
required_custom_dimensions?: Array<string>;
|
|
557
|
+
/**
|
|
558
|
+
* Whether this account requires a department.
|
|
559
|
+
*/
|
|
560
|
+
requires_department?: boolean;
|
|
561
|
+
/**
|
|
562
|
+
* Whether this account requires a work location.
|
|
563
|
+
*/
|
|
564
|
+
requires_work_location?: boolean;
|
|
565
|
+
/**
|
|
566
|
+
* Accounting account type: RECEIVABLE for accounts receivable, PAYABLE for
|
|
567
|
+
* accounts payable, EXPENSE for expense accounts, or BANK for bank accounts. Null
|
|
568
|
+
* when not set.
|
|
569
|
+
*/
|
|
570
|
+
type?: 'RECEIVABLE' | 'PAYABLE' | 'EXPENSE' | 'BANK';
|
|
571
|
+
}
|
|
572
|
+
/**
|
|
573
|
+
* Total tax amount for this line in the merchant currency.
|
|
574
|
+
*/
|
|
575
|
+
interface TaxAmount {
|
|
576
|
+
/**
|
|
577
|
+
* The currency type, ex: USD, EUR, etc.
|
|
578
|
+
*/
|
|
579
|
+
currency_type?: string;
|
|
580
|
+
/**
|
|
581
|
+
* The decimal amount for the currency.
|
|
582
|
+
*/
|
|
583
|
+
value?: number;
|
|
584
|
+
}
|
|
310
585
|
}
|
|
311
586
|
/**
|
|
312
587
|
* Amount charged by the merchant, in the merchant currency. The `value` is a
|
|
@@ -323,15 +598,48 @@ export declare namespace CardTransactionListResponse {
|
|
|
323
598
|
value?: number;
|
|
324
599
|
}
|
|
325
600
|
/**
|
|
326
|
-
*
|
|
601
|
+
* Receipt file and its filename.
|
|
602
|
+
*/
|
|
603
|
+
interface Receipt {
|
|
604
|
+
/**
|
|
605
|
+
* URL for accessing the file.
|
|
606
|
+
*/
|
|
607
|
+
url: string;
|
|
608
|
+
/**
|
|
609
|
+
* Original file name, when recorded.
|
|
610
|
+
*/
|
|
611
|
+
file_name?: string;
|
|
612
|
+
}
|
|
613
|
+
/**
|
|
614
|
+
* Vendor details. Expand with `card-transactions.read` and `finance-vendors.read`.
|
|
615
|
+
*
|
|
616
|
+
* Expandable field
|
|
327
617
|
*/
|
|
328
618
|
interface Vendor {
|
|
329
619
|
/**
|
|
330
|
-
*
|
|
620
|
+
* Identifier field
|
|
331
621
|
*/
|
|
332
|
-
id
|
|
622
|
+
id: string;
|
|
623
|
+
/**
|
|
624
|
+
* Record creation date
|
|
625
|
+
*/
|
|
626
|
+
created_at: string;
|
|
627
|
+
/**
|
|
628
|
+
* Record update date
|
|
629
|
+
*/
|
|
630
|
+
updated_at: string;
|
|
333
631
|
/**
|
|
334
|
-
*
|
|
632
|
+
* Whether the vendor is archived. Archived vendors remain available for historical
|
|
633
|
+
* references.
|
|
634
|
+
*/
|
|
635
|
+
is_archived?: boolean;
|
|
636
|
+
/**
|
|
637
|
+
* URL of the vendor's logo. Null when no logo is available.
|
|
638
|
+
*/
|
|
639
|
+
logo?: string;
|
|
640
|
+
/**
|
|
641
|
+
* Canonical name of the Finance vendor. Name eq, ne, and in filters also match
|
|
642
|
+
* alternate names.
|
|
335
643
|
*/
|
|
336
644
|
name?: string;
|
|
337
645
|
}
|
|
@@ -367,9 +675,9 @@ export interface CardTransactionRetrieveResponse extends BusinessPartnersAPI.Met
|
|
|
367
675
|
*/
|
|
368
676
|
approval_status?: 'DRAFT' | 'PENDING' | 'REQUESTED' | 'APPROVED' | 'REJECTED' | 'FINALIZED' | 'ACTIONED' | 'CANCELLED' | 'FAILED';
|
|
369
677
|
/**
|
|
370
|
-
*
|
|
678
|
+
* Other attached files, including filenames and recorded upload metadata.
|
|
371
679
|
*/
|
|
372
|
-
attachments?: Array<
|
|
680
|
+
attachments?: Array<CardTransactionRetrieveResponse.Attachment>;
|
|
373
681
|
/**
|
|
374
682
|
* State of the card authorization. `PENDING`: an active hold awaiting completion.
|
|
375
683
|
* `CLOSED`: the authorization completed and the charge posted. `REVERSED`: the
|
|
@@ -378,8 +686,8 @@ export interface CardTransactionRetrieveResponse extends BusinessPartnersAPI.Met
|
|
|
378
686
|
*/
|
|
379
687
|
authorization_state?: 'PENDING' | 'CLOSED' | 'REVERSED' | 'EXPIRED';
|
|
380
688
|
/**
|
|
381
|
-
* ID of the
|
|
382
|
-
* card.
|
|
689
|
+
* ID of the Finance card used. No public API is currently available to retrieve
|
|
690
|
+
* this card.
|
|
383
691
|
*/
|
|
384
692
|
card_id?: string;
|
|
385
693
|
/**
|
|
@@ -405,7 +713,7 @@ export interface CardTransactionRetrieveResponse extends BusinessPartnersAPI.Met
|
|
|
405
713
|
*/
|
|
406
714
|
gl_vendor?: CardTransactionRetrieveResponse.GlVendor;
|
|
407
715
|
/**
|
|
408
|
-
* Category splits of the transaction amount.
|
|
716
|
+
* Category splits of the transaction amount. Updates replace the entire list.
|
|
409
717
|
*/
|
|
410
718
|
line_items?: Array<CardTransactionRetrieveResponse.LineItem>;
|
|
411
719
|
/**
|
|
@@ -418,9 +726,9 @@ export interface CardTransactionRetrieveResponse extends BusinessPartnersAPI.Met
|
|
|
418
726
|
*/
|
|
419
727
|
merchant_amount?: CardTransactionRetrieveResponse.MerchantAmount;
|
|
420
728
|
/**
|
|
421
|
-
*
|
|
729
|
+
* Receipt file and its filename.
|
|
422
730
|
*/
|
|
423
|
-
receipt?:
|
|
731
|
+
receipt?: CardTransactionRetrieveResponse.Receipt;
|
|
424
732
|
/**
|
|
425
733
|
* When the purchase or authorization happened, as an ISO 8601 date-time in UTC.
|
|
426
734
|
*/
|
|
@@ -431,15 +739,49 @@ export interface CardTransactionRetrieveResponse extends BusinessPartnersAPI.Met
|
|
|
431
739
|
*/
|
|
432
740
|
transaction_type?: 'CARD_TRANSACTION' | 'CARD_AUTHORIZATION';
|
|
433
741
|
/**
|
|
434
|
-
* Vendor
|
|
742
|
+
* Vendor details. Expand with `card-transactions.read` and `finance-vendors.read`.
|
|
743
|
+
*
|
|
744
|
+
* Expandable field
|
|
435
745
|
*/
|
|
436
746
|
vendor?: CardTransactionRetrieveResponse.Vendor;
|
|
747
|
+
/**
|
|
748
|
+
* ID of the Finance vendor. Use it with `/finance-vendors/{id}/`.
|
|
749
|
+
*/
|
|
750
|
+
vendor_id?: string;
|
|
751
|
+
/**
|
|
752
|
+
* Worker details. Expand with `card-transactions.read` and `workers.read`.
|
|
753
|
+
*
|
|
754
|
+
* Expandable field
|
|
755
|
+
*/
|
|
756
|
+
worker?: WorkersAPI.Worker;
|
|
437
757
|
/**
|
|
438
758
|
* ID of the worker who made the transaction. Use it with `/workers/{id}/`.
|
|
439
759
|
*/
|
|
440
760
|
worker_id?: string;
|
|
441
761
|
}
|
|
442
762
|
export declare namespace CardTransactionRetrieveResponse {
|
|
763
|
+
/**
|
|
764
|
+
* A Finance transaction attachment with recorded upload details.
|
|
765
|
+
*/
|
|
766
|
+
interface Attachment {
|
|
767
|
+
/**
|
|
768
|
+
* URL for accessing the file.
|
|
769
|
+
*/
|
|
770
|
+
url: string;
|
|
771
|
+
/**
|
|
772
|
+
* Original file name, when recorded.
|
|
773
|
+
*/
|
|
774
|
+
file_name?: string;
|
|
775
|
+
/**
|
|
776
|
+
* When the attachment was uploaded, as an ISO 8601 date-time in UTC, when
|
|
777
|
+
* recorded.
|
|
778
|
+
*/
|
|
779
|
+
uploaded_at?: string;
|
|
780
|
+
/**
|
|
781
|
+
* ID of the worker who uploaded the attachment. Use it with `/workers/{id}/`.
|
|
782
|
+
*/
|
|
783
|
+
uploaded_by_id?: string;
|
|
784
|
+
}
|
|
443
785
|
/**
|
|
444
786
|
* Amount in the company's headquarters currency. The `value` is a decimal string.
|
|
445
787
|
*/
|
|
@@ -471,26 +813,49 @@ export declare namespace CardTransactionRetrieveResponse {
|
|
|
471
813
|
name?: string;
|
|
472
814
|
}
|
|
473
815
|
interface LineItem {
|
|
816
|
+
/**
|
|
817
|
+
* Unique identifier of this line item. Null for older line items that have not
|
|
818
|
+
* been assigned one yet.
|
|
819
|
+
*/
|
|
820
|
+
id?: string;
|
|
821
|
+
/**
|
|
822
|
+
* Whether this line is amortized.
|
|
823
|
+
*/
|
|
824
|
+
amortized?: boolean;
|
|
474
825
|
/**
|
|
475
826
|
* Amount of this split, in the merchant currency. The `value` is a decimal string.
|
|
476
827
|
*/
|
|
477
828
|
amount?: LineItem.Amount;
|
|
478
829
|
/**
|
|
479
|
-
* ID of the
|
|
480
|
-
*
|
|
830
|
+
* ID of the Finance category assigned to this split. Use it with
|
|
831
|
+
* `/finance-categories/{id}/`. The category name is in `category_name`.
|
|
481
832
|
*/
|
|
482
833
|
category_id?: string;
|
|
483
834
|
/**
|
|
484
|
-
* Name of the
|
|
835
|
+
* Name of the finance category.
|
|
485
836
|
*/
|
|
486
837
|
category_name?: string;
|
|
487
838
|
/**
|
|
488
|
-
* Selected dimension values, keyed by dimension ID.
|
|
489
|
-
*
|
|
839
|
+
* Selected dimension values, keyed by dimension ID. `DEPARTMENT` and
|
|
840
|
+
* `WORK_LOCATION` are the built-in keys. Get custom dimension IDs from
|
|
841
|
+
* `/job-dimensions/` and `/job-dimensions/{id}/`. Each choice `value` is a job
|
|
842
|
+
* code ID from `/job-codes/` and `/job-codes/{id}/`.
|
|
490
843
|
*/
|
|
491
844
|
dimension_choices?: {
|
|
492
845
|
[key: string]: LineItem.DimensionChoices;
|
|
493
846
|
};
|
|
847
|
+
/**
|
|
848
|
+
* End of the amortization period (YYYY-MM-DD).
|
|
849
|
+
*/
|
|
850
|
+
end_date?: string;
|
|
851
|
+
/**
|
|
852
|
+
* ERP amortization schedule associated with this line.
|
|
853
|
+
*/
|
|
854
|
+
gl_amortization_schedule?: LineItem.GlAmortizationSchedule;
|
|
855
|
+
/**
|
|
856
|
+
* ERP amortization template for this line.
|
|
857
|
+
*/
|
|
858
|
+
gl_amortization_template?: LineItem.GlAmortizationTemplate;
|
|
494
859
|
/**
|
|
495
860
|
* Whether this split is billed to `gl_customer` in the accounting system.
|
|
496
861
|
* `BILLABLE` means it is billed, `NOT_BILLABLE` means it is not. Null when not
|
|
@@ -502,10 +867,27 @@ export declare namespace CardTransactionRetrieveResponse {
|
|
|
502
867
|
* Rippling API is currently available to retrieve this accounting customer.
|
|
503
868
|
*/
|
|
504
869
|
gl_customer?: string;
|
|
870
|
+
/**
|
|
871
|
+
* Rippling ID of the accounting tax code. No public Rippling API is currently
|
|
872
|
+
* available to retrieve this accounting tax code.
|
|
873
|
+
*/
|
|
874
|
+
gl_tax_code?: string;
|
|
505
875
|
/**
|
|
506
876
|
* Memo entered on this split.
|
|
507
877
|
*/
|
|
508
878
|
memo?: string;
|
|
879
|
+
/**
|
|
880
|
+
* Prepaid asset account for Rippling-managed amortization.
|
|
881
|
+
*/
|
|
882
|
+
prepaid_account?: LineItem.PrepaidAccount;
|
|
883
|
+
/**
|
|
884
|
+
* Start of the amortization period (YYYY-MM-DD).
|
|
885
|
+
*/
|
|
886
|
+
start_date?: string;
|
|
887
|
+
/**
|
|
888
|
+
* Total tax amount for this line in the merchant currency.
|
|
889
|
+
*/
|
|
890
|
+
tax_amount?: LineItem.TaxAmount;
|
|
509
891
|
}
|
|
510
892
|
namespace LineItem {
|
|
511
893
|
/**
|
|
@@ -531,10 +913,149 @@ export declare namespace CardTransactionRetrieveResponse {
|
|
|
531
913
|
*/
|
|
532
914
|
label?: string;
|
|
533
915
|
/**
|
|
534
|
-
* ID of the selected
|
|
916
|
+
* ID of the selected value. For `DEPARTMENT` use `/departments/{id}/`, for
|
|
917
|
+
* `WORK_LOCATION` use `/work-locations/{id}/`, and for a custom job dimension use
|
|
918
|
+
* `/job-codes/{id}/`.
|
|
535
919
|
*/
|
|
536
920
|
value?: string;
|
|
537
921
|
}
|
|
922
|
+
/**
|
|
923
|
+
* ERP amortization schedule associated with this line.
|
|
924
|
+
*/
|
|
925
|
+
interface GlAmortizationSchedule {
|
|
926
|
+
/**
|
|
927
|
+
* Rippling ID of the accounting integration that owns this object. No public
|
|
928
|
+
* Rippling API is currently available to retrieve this accounting integration.
|
|
929
|
+
*/
|
|
930
|
+
accounting_integration_id?: string;
|
|
931
|
+
/**
|
|
932
|
+
* Number of amortization periods.
|
|
933
|
+
*/
|
|
934
|
+
amortization_period?: number;
|
|
935
|
+
/**
|
|
936
|
+
* End of the ERP amortization schedule as an ISO 8601 timestamp (for example,
|
|
937
|
+
* 2026-12-31T00:00:00). May omit a timezone offset; an omitted offset does not
|
|
938
|
+
* indicate UTC. Null when not set.
|
|
939
|
+
*/
|
|
940
|
+
end_date?: string;
|
|
941
|
+
/**
|
|
942
|
+
* Object ID in the connected accounting system.
|
|
943
|
+
*/
|
|
944
|
+
gl_object_id?: string;
|
|
945
|
+
/**
|
|
946
|
+
* Type of object in the connected accounting system: GL_AMORTIZATION_TEMPLATE
|
|
947
|
+
* defines amortization rules; GL_AMORTIZATION_SCHEDULE tracks amortization;
|
|
948
|
+
* GL_AMORTIZATION_SCHEDULE_RECURRENCE is a schedule entry; GL_ACCOUNT is a general
|
|
949
|
+
* ledger account; GL_JOURNAL_ENTRY is a journal entry; GL_POSTING_PERIOD is an
|
|
950
|
+
* accounting period; GL_VENDOR, GL_CUSTOMER, and GL_EMPLOYEE identify a vendor,
|
|
951
|
+
* customer, and employee respectively; GL_SUBSIDIARY identifies a subsidiary. Null
|
|
952
|
+
* when not set.
|
|
953
|
+
*/
|
|
954
|
+
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';
|
|
955
|
+
/**
|
|
956
|
+
* Accounting object name.
|
|
957
|
+
*/
|
|
958
|
+
name?: string;
|
|
959
|
+
/**
|
|
960
|
+
* Start of the ERP amortization schedule as an ISO 8601 timestamp (for example,
|
|
961
|
+
* 2026-01-01T00:00:00). May omit a timezone offset; an omitted offset does not
|
|
962
|
+
* indicate UTC. Null when not set.
|
|
963
|
+
*/
|
|
964
|
+
start_date?: string;
|
|
965
|
+
/**
|
|
966
|
+
* ERP amortization schedule status: NOT_STARTED means amortization has not begun;
|
|
967
|
+
* IN_PROGRESS means amortization is underway; COMPLETED means amortization is
|
|
968
|
+
* complete; ON_HOLD means amortization is paused. Null when not set.
|
|
969
|
+
*/
|
|
970
|
+
status?: 'NOT_STARTED' | 'IN_PROGRESS' | 'COMPLETED' | 'ON_HOLD';
|
|
971
|
+
/**
|
|
972
|
+
* Amount already amortized as reported by the ERP, in the same currency as
|
|
973
|
+
* total_amount. No currency conversion is applied; the schedule currency code is
|
|
974
|
+
* not available in this response.
|
|
975
|
+
*/
|
|
976
|
+
total_amortized_amount?: number;
|
|
977
|
+
/**
|
|
978
|
+
* Total schedule amount as reported by the ERP, without currency conversion. The
|
|
979
|
+
* schedule currency code is not available in this response.
|
|
980
|
+
*/
|
|
981
|
+
total_amount?: number;
|
|
982
|
+
}
|
|
983
|
+
/**
|
|
984
|
+
* ERP amortization template for this line.
|
|
985
|
+
*/
|
|
986
|
+
interface GlAmortizationTemplate {
|
|
987
|
+
/**
|
|
988
|
+
* Rippling ID of the accounting integration that owns this object. No public
|
|
989
|
+
* Rippling API is currently available to retrieve this accounting integration.
|
|
990
|
+
*/
|
|
991
|
+
accounting_integration_id?: string;
|
|
992
|
+
/**
|
|
993
|
+
* Object ID in the connected accounting system.
|
|
994
|
+
*/
|
|
995
|
+
gl_object_id?: string;
|
|
996
|
+
/**
|
|
997
|
+
* Type of object in the connected accounting system: GL_AMORTIZATION_TEMPLATE
|
|
998
|
+
* defines amortization rules; GL_AMORTIZATION_SCHEDULE tracks amortization;
|
|
999
|
+
* GL_AMORTIZATION_SCHEDULE_RECURRENCE is a schedule entry; GL_ACCOUNT is a general
|
|
1000
|
+
* ledger account; GL_JOURNAL_ENTRY is a journal entry; GL_POSTING_PERIOD is an
|
|
1001
|
+
* accounting period; GL_VENDOR, GL_CUSTOMER, and GL_EMPLOYEE identify a vendor,
|
|
1002
|
+
* customer, and employee respectively; GL_SUBSIDIARY identifies a subsidiary. Null
|
|
1003
|
+
* when not set.
|
|
1004
|
+
*/
|
|
1005
|
+
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';
|
|
1006
|
+
/**
|
|
1007
|
+
* Accounting object name.
|
|
1008
|
+
*/
|
|
1009
|
+
name?: string;
|
|
1010
|
+
}
|
|
1011
|
+
/**
|
|
1012
|
+
* Prepaid asset account for Rippling-managed amortization.
|
|
1013
|
+
*/
|
|
1014
|
+
interface PrepaidAccount {
|
|
1015
|
+
/**
|
|
1016
|
+
* Account ID in the connected accounting system.
|
|
1017
|
+
*/
|
|
1018
|
+
account_id?: string;
|
|
1019
|
+
/**
|
|
1020
|
+
* Account code.
|
|
1021
|
+
*/
|
|
1022
|
+
code?: string;
|
|
1023
|
+
/**
|
|
1024
|
+
* Account name.
|
|
1025
|
+
*/
|
|
1026
|
+
name?: string;
|
|
1027
|
+
/**
|
|
1028
|
+
* IDs of custom dimensions required by this account.
|
|
1029
|
+
*/
|
|
1030
|
+
required_custom_dimensions?: Array<string>;
|
|
1031
|
+
/**
|
|
1032
|
+
* Whether this account requires a department.
|
|
1033
|
+
*/
|
|
1034
|
+
requires_department?: boolean;
|
|
1035
|
+
/**
|
|
1036
|
+
* Whether this account requires a work location.
|
|
1037
|
+
*/
|
|
1038
|
+
requires_work_location?: boolean;
|
|
1039
|
+
/**
|
|
1040
|
+
* Accounting account type: RECEIVABLE for accounts receivable, PAYABLE for
|
|
1041
|
+
* accounts payable, EXPENSE for expense accounts, or BANK for bank accounts. Null
|
|
1042
|
+
* when not set.
|
|
1043
|
+
*/
|
|
1044
|
+
type?: 'RECEIVABLE' | 'PAYABLE' | 'EXPENSE' | 'BANK';
|
|
1045
|
+
}
|
|
1046
|
+
/**
|
|
1047
|
+
* Total tax amount for this line in the merchant currency.
|
|
1048
|
+
*/
|
|
1049
|
+
interface TaxAmount {
|
|
1050
|
+
/**
|
|
1051
|
+
* The currency type, ex: USD, EUR, etc.
|
|
1052
|
+
*/
|
|
1053
|
+
currency_type?: string;
|
|
1054
|
+
/**
|
|
1055
|
+
* The decimal amount for the currency.
|
|
1056
|
+
*/
|
|
1057
|
+
value?: number;
|
|
1058
|
+
}
|
|
538
1059
|
}
|
|
539
1060
|
/**
|
|
540
1061
|
* Amount charged by the merchant, in the merchant currency. The `value` is a
|
|
@@ -551,21 +1072,55 @@ export declare namespace CardTransactionRetrieveResponse {
|
|
|
551
1072
|
value?: number;
|
|
552
1073
|
}
|
|
553
1074
|
/**
|
|
554
|
-
*
|
|
1075
|
+
* Receipt file and its filename.
|
|
1076
|
+
*/
|
|
1077
|
+
interface Receipt {
|
|
1078
|
+
/**
|
|
1079
|
+
* URL for accessing the file.
|
|
1080
|
+
*/
|
|
1081
|
+
url: string;
|
|
1082
|
+
/**
|
|
1083
|
+
* Original file name, when recorded.
|
|
1084
|
+
*/
|
|
1085
|
+
file_name?: string;
|
|
1086
|
+
}
|
|
1087
|
+
/**
|
|
1088
|
+
* Vendor details. Expand with `card-transactions.read` and `finance-vendors.read`.
|
|
1089
|
+
*
|
|
1090
|
+
* Expandable field
|
|
555
1091
|
*/
|
|
556
1092
|
interface Vendor {
|
|
557
1093
|
/**
|
|
558
|
-
*
|
|
1094
|
+
* Identifier field
|
|
559
1095
|
*/
|
|
560
|
-
id
|
|
1096
|
+
id: string;
|
|
1097
|
+
/**
|
|
1098
|
+
* Record creation date
|
|
1099
|
+
*/
|
|
1100
|
+
created_at: string;
|
|
561
1101
|
/**
|
|
562
|
-
*
|
|
1102
|
+
* Record update date
|
|
1103
|
+
*/
|
|
1104
|
+
updated_at: string;
|
|
1105
|
+
/**
|
|
1106
|
+
* Whether the vendor is archived. Archived vendors remain available for historical
|
|
1107
|
+
* references.
|
|
1108
|
+
*/
|
|
1109
|
+
is_archived?: boolean;
|
|
1110
|
+
/**
|
|
1111
|
+
* URL of the vendor's logo. Null when no logo is available.
|
|
1112
|
+
*/
|
|
1113
|
+
logo?: string;
|
|
1114
|
+
/**
|
|
1115
|
+
* Canonical name of the Finance vendor. Name eq, ne, and in filters also match
|
|
1116
|
+
* alternate names.
|
|
563
1117
|
*/
|
|
564
1118
|
name?: string;
|
|
565
1119
|
}
|
|
566
1120
|
}
|
|
567
1121
|
export interface CardTransactionListParams {
|
|
568
1122
|
cursor?: string;
|
|
1123
|
+
expand?: string;
|
|
569
1124
|
filter?: string;
|
|
570
1125
|
/**
|
|
571
1126
|
* The maximum number of results to return. Defaults to 50. Maximum is 100.
|
|
@@ -573,7 +1128,10 @@ export interface CardTransactionListParams {
|
|
|
573
1128
|
limit?: number;
|
|
574
1129
|
order_by?: string;
|
|
575
1130
|
}
|
|
1131
|
+
export interface CardTransactionRetrieveParams {
|
|
1132
|
+
expand?: string;
|
|
1133
|
+
}
|
|
576
1134
|
export declare namespace CardTransactions {
|
|
577
|
-
export { type CardTransactionListResponse as CardTransactionListResponse, type CardTransactionRetrieveResponse as CardTransactionRetrieveResponse, type CardTransactionListResponsesPageCursorURL as CardTransactionListResponsesPageCursorURL, type CardTransactionListParams as CardTransactionListParams, };
|
|
1135
|
+
export { type CardTransactionListResponse as CardTransactionListResponse, type CardTransactionRetrieveResponse as CardTransactionRetrieveResponse, type CardTransactionListResponsesPageCursorURL as CardTransactionListResponsesPageCursorURL, type CardTransactionListParams as CardTransactionListParams, type CardTransactionRetrieveParams as CardTransactionRetrieveParams, };
|
|
578
1136
|
}
|
|
579
1137
|
//# sourceMappingURL=card-transactions.d.mts.map
|