@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
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"draft-transitions.d.ts","sourceRoot":"","sources":["../src/resources/draft-transitions.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,4BAAyB;AAC/C,OAAO,
|
|
1
|
+
{"version":3,"file":"draft-transitions.d.ts","sourceRoot":"","sources":["../src/resources/draft-transitions.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,4BAAyB;AAC/C,OAAO,EAAE,UAAU,EAAE,+BAA4B;AAEjD,OAAO,EAAE,cAAc,EAAE,uCAAoC;AAG7D;;GAEG;AACH,qBAAa,gBAAiB,SAAQ,WAAW;IAC/C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OA8CG;IACH,QAAQ,CAAC,EAAE,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,+BAA+B,CA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EtB;;mBAEG;gBACH,WAAW,CAAC,EAAE,MAAM,CAAC;aACtB;SACF;KACF;CACF;AAED,MAAM,CAAC,OAAO,WAAW,gBAAgB,CAAC;IACxC,OAAO,EACL,KAAK,+BAA+B,IAAI,+BAA+B,EACvE,KAAK,6BAA6B,IAAI,6BAA6B,EACnE,KAAK,2BAA2B,IAAI,2BAA2B,GAChE,CAAC;CACH"}
|
|
@@ -3,13 +3,17 @@
|
|
|
3
3
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
4
|
exports.DraftTransitions = void 0;
|
|
5
5
|
const resource_1 = require("../core/resource.js");
|
|
6
|
+
const headers_1 = require("../internal/headers.js");
|
|
6
7
|
const path_1 = require("../internal/utils/path.js");
|
|
7
8
|
/**
|
|
8
9
|
* Proposed changes to existing workers that can be reviewed in Rippling
|
|
9
10
|
*/
|
|
10
11
|
class DraftTransitions extends resource_1.APIResource {
|
|
11
12
|
/**
|
|
12
|
-
* Retrieve
|
|
13
|
+
* Retrieve the current result of an asynchronously processed draft transition
|
|
14
|
+
* request. Poll while status is ACCEPTED or PROCESSING. Other statuses are
|
|
15
|
+
* terminal; inspect warning_items and failed_items for details. Completed drafts
|
|
16
|
+
* still require review and application.
|
|
13
17
|
*
|
|
14
18
|
* @example HTTP
|
|
15
19
|
* Representative request and response shapes.
|
|
@@ -23,11 +27,32 @@ class DraftTransitions extends resource_1.APIResource {
|
|
|
23
27
|
* Content-Type: application/json
|
|
24
28
|
*
|
|
25
29
|
* {
|
|
26
|
-
* "
|
|
27
|
-
*
|
|
28
|
-
*
|
|
29
|
-
*
|
|
30
|
-
*
|
|
30
|
+
* "request_id": "string",
|
|
31
|
+
* "status": "ACCEPTED",
|
|
32
|
+
* "submitted_count": 0,
|
|
33
|
+
* "completed_count": 0,
|
|
34
|
+
* "warning_count": 0,
|
|
35
|
+
* "failed_count": 0,
|
|
36
|
+
* "warning_items": [
|
|
37
|
+
* {
|
|
38
|
+
* "index": 0,
|
|
39
|
+
* "worker_id": "string",
|
|
40
|
+
* "status": "ACCEPTED",
|
|
41
|
+
* "warnings": [
|
|
42
|
+
* {}
|
|
43
|
+
* ]
|
|
44
|
+
* }
|
|
45
|
+
* ],
|
|
46
|
+
* "failed_items": [
|
|
47
|
+
* {
|
|
48
|
+
* "index": 0,
|
|
49
|
+
* "worker_id": "string",
|
|
50
|
+
* "status": "ACCEPTED",
|
|
51
|
+
* "errors": [
|
|
52
|
+
* {}
|
|
53
|
+
* ]
|
|
54
|
+
* }
|
|
55
|
+
* ]
|
|
31
56
|
* }
|
|
32
57
|
* ```
|
|
33
58
|
*/
|
|
@@ -35,7 +60,11 @@ class DraftTransitions extends resource_1.APIResource {
|
|
|
35
60
|
return this._client.get((0, path_1.path) `/draft-transitions/${id}/`, options);
|
|
36
61
|
}
|
|
37
62
|
/**
|
|
38
|
-
*
|
|
63
|
+
* Accept a batch of draft employment changes for asynchronous processing. This
|
|
64
|
+
* creates drafts, not applied employment changes. Poll GET
|
|
65
|
+
* /draft-transitions/{id}/ using the returned request_id until processing reaches
|
|
66
|
+
* a terminal status; inspect warning_items and failed_items for item-level
|
|
67
|
+
* outcomes. Reuse the same Idempotency-Key and payload when retrying.
|
|
39
68
|
*
|
|
40
69
|
* @example HTTP
|
|
41
70
|
* Representative request and response shapes.
|
|
@@ -45,13 +74,14 @@ class DraftTransitions extends resource_1.APIResource {
|
|
|
45
74
|
* Content-Type: application/json
|
|
46
75
|
* Accept: application/json
|
|
47
76
|
* Rippling-Api-Version: 2024-08-01
|
|
77
|
+
* Idempotency-Key: Idempotency-Key
|
|
48
78
|
*
|
|
49
79
|
* {
|
|
50
80
|
* "effective_at": "effective_at",
|
|
51
81
|
* "items": [
|
|
52
82
|
* {
|
|
53
83
|
* "changes": {},
|
|
54
|
-
* "
|
|
84
|
+
* "worker_id": "worker_id"
|
|
55
85
|
* }
|
|
56
86
|
* ],
|
|
57
87
|
* "timezone": "timezone"
|
|
@@ -61,24 +91,20 @@ class DraftTransitions extends resource_1.APIResource {
|
|
|
61
91
|
* Content-Type: application/json
|
|
62
92
|
*
|
|
63
93
|
* {
|
|
64
|
-
* "
|
|
65
|
-
* "
|
|
66
|
-
* "
|
|
67
|
-
*
|
|
68
|
-
* "role_id": "string",
|
|
69
|
-
* "draft_grouping_preference": "APPEND_TO_MATCHING_DRAFT",
|
|
70
|
-
* "changes": {
|
|
71
|
-
* "employment_info": {},
|
|
72
|
-
* "work_location_info": {},
|
|
73
|
-
* "country_specific_info": {}
|
|
74
|
-
* }
|
|
75
|
-
* }
|
|
76
|
-
* ]
|
|
94
|
+
* "request_id": "string",
|
|
95
|
+
* "status": "ACCEPTED",
|
|
96
|
+
* "submitted_count": 0,
|
|
97
|
+
* "created": false
|
|
77
98
|
* }
|
|
78
99
|
* ```
|
|
79
100
|
*/
|
|
80
|
-
create(
|
|
81
|
-
|
|
101
|
+
create(params, options) {
|
|
102
|
+
const { 'Idempotency-Key': idempotencyKey, ...body } = params;
|
|
103
|
+
return this._client.post('/draft-transitions/', {
|
|
104
|
+
body,
|
|
105
|
+
...options,
|
|
106
|
+
headers: (0, headers_1.buildHeaders)([{ 'Idempotency-Key': idempotencyKey }, options?.headers]),
|
|
107
|
+
});
|
|
82
108
|
}
|
|
83
109
|
}
|
|
84
110
|
exports.DraftTransitions = DraftTransitions;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"draft-transitions.js","sourceRoot":"","sources":["../src/resources/draft-transitions.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,kDAA+C;
|
|
1
|
+
{"version":3,"file":"draft-transitions.js","sourceRoot":"","sources":["../src/resources/draft-transitions.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,kDAA+C;AAE/C,oDAAmD;AAEnD,oDAA8C;AAE9C;;GAEG;AACH,MAAa,gBAAiB,SAAQ,sBAAW;IAC/C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OA8CG;IACH,QAAQ,CAAC,EAAU,EAAE,OAAwB;QAC3C,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAA,WAAI,EAAA,sBAAsB,EAAE,GAAG,EAAE,OAAO,CAAC,CAAC;IACpE,CAAC;IAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OAsCG;IACH,MAAM,CACJ,MAAmC,EACnC,OAAwB;QAExB,MAAM,EAAE,iBAAiB,EAAE,cAAc,EAAE,GAAG,IAAI,EAAE,GAAG,MAAM,CAAC;QAC9D,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,qBAAqB,EAAE;YAC9C,IAAI;YACJ,GAAG,OAAO;YACV,OAAO,EAAE,IAAA,sBAAY,EAAC,CAAC,EAAE,iBAAiB,EAAE,cAAc,EAAE,EAAE,OAAO,EAAE,OAAO,CAAC,CAAC;SACjF,CAAC,CAAC;IACL,CAAC;CACF;AAtGD,4CAsGC"}
|
|
@@ -1,12 +1,16 @@
|
|
|
1
1
|
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
2
|
import { APIResource } from "../core/resource.mjs";
|
|
3
|
+
import { buildHeaders } from "../internal/headers.mjs";
|
|
3
4
|
import { path } from "../internal/utils/path.mjs";
|
|
4
5
|
/**
|
|
5
6
|
* Proposed changes to existing workers that can be reviewed in Rippling
|
|
6
7
|
*/
|
|
7
8
|
export class DraftTransitions extends APIResource {
|
|
8
9
|
/**
|
|
9
|
-
* Retrieve
|
|
10
|
+
* Retrieve the current result of an asynchronously processed draft transition
|
|
11
|
+
* request. Poll while status is ACCEPTED or PROCESSING. Other statuses are
|
|
12
|
+
* terminal; inspect warning_items and failed_items for details. Completed drafts
|
|
13
|
+
* still require review and application.
|
|
10
14
|
*
|
|
11
15
|
* @example HTTP
|
|
12
16
|
* Representative request and response shapes.
|
|
@@ -20,11 +24,32 @@ export class DraftTransitions extends APIResource {
|
|
|
20
24
|
* Content-Type: application/json
|
|
21
25
|
*
|
|
22
26
|
* {
|
|
23
|
-
* "
|
|
24
|
-
*
|
|
25
|
-
*
|
|
26
|
-
*
|
|
27
|
-
*
|
|
27
|
+
* "request_id": "string",
|
|
28
|
+
* "status": "ACCEPTED",
|
|
29
|
+
* "submitted_count": 0,
|
|
30
|
+
* "completed_count": 0,
|
|
31
|
+
* "warning_count": 0,
|
|
32
|
+
* "failed_count": 0,
|
|
33
|
+
* "warning_items": [
|
|
34
|
+
* {
|
|
35
|
+
* "index": 0,
|
|
36
|
+
* "worker_id": "string",
|
|
37
|
+
* "status": "ACCEPTED",
|
|
38
|
+
* "warnings": [
|
|
39
|
+
* {}
|
|
40
|
+
* ]
|
|
41
|
+
* }
|
|
42
|
+
* ],
|
|
43
|
+
* "failed_items": [
|
|
44
|
+
* {
|
|
45
|
+
* "index": 0,
|
|
46
|
+
* "worker_id": "string",
|
|
47
|
+
* "status": "ACCEPTED",
|
|
48
|
+
* "errors": [
|
|
49
|
+
* {}
|
|
50
|
+
* ]
|
|
51
|
+
* }
|
|
52
|
+
* ]
|
|
28
53
|
* }
|
|
29
54
|
* ```
|
|
30
55
|
*/
|
|
@@ -32,7 +57,11 @@ export class DraftTransitions extends APIResource {
|
|
|
32
57
|
return this._client.get(path `/draft-transitions/${id}/`, options);
|
|
33
58
|
}
|
|
34
59
|
/**
|
|
35
|
-
*
|
|
60
|
+
* Accept a batch of draft employment changes for asynchronous processing. This
|
|
61
|
+
* creates drafts, not applied employment changes. Poll GET
|
|
62
|
+
* /draft-transitions/{id}/ using the returned request_id until processing reaches
|
|
63
|
+
* a terminal status; inspect warning_items and failed_items for item-level
|
|
64
|
+
* outcomes. Reuse the same Idempotency-Key and payload when retrying.
|
|
36
65
|
*
|
|
37
66
|
* @example HTTP
|
|
38
67
|
* Representative request and response shapes.
|
|
@@ -42,13 +71,14 @@ export class DraftTransitions extends APIResource {
|
|
|
42
71
|
* Content-Type: application/json
|
|
43
72
|
* Accept: application/json
|
|
44
73
|
* Rippling-Api-Version: 2024-08-01
|
|
74
|
+
* Idempotency-Key: Idempotency-Key
|
|
45
75
|
*
|
|
46
76
|
* {
|
|
47
77
|
* "effective_at": "effective_at",
|
|
48
78
|
* "items": [
|
|
49
79
|
* {
|
|
50
80
|
* "changes": {},
|
|
51
|
-
* "
|
|
81
|
+
* "worker_id": "worker_id"
|
|
52
82
|
* }
|
|
53
83
|
* ],
|
|
54
84
|
* "timezone": "timezone"
|
|
@@ -58,24 +88,20 @@ export class DraftTransitions extends APIResource {
|
|
|
58
88
|
* Content-Type: application/json
|
|
59
89
|
*
|
|
60
90
|
* {
|
|
61
|
-
* "
|
|
62
|
-
* "
|
|
63
|
-
* "
|
|
64
|
-
*
|
|
65
|
-
* "role_id": "string",
|
|
66
|
-
* "draft_grouping_preference": "APPEND_TO_MATCHING_DRAFT",
|
|
67
|
-
* "changes": {
|
|
68
|
-
* "employment_info": {},
|
|
69
|
-
* "work_location_info": {},
|
|
70
|
-
* "country_specific_info": {}
|
|
71
|
-
* }
|
|
72
|
-
* }
|
|
73
|
-
* ]
|
|
91
|
+
* "request_id": "string",
|
|
92
|
+
* "status": "ACCEPTED",
|
|
93
|
+
* "submitted_count": 0,
|
|
94
|
+
* "created": false
|
|
74
95
|
* }
|
|
75
96
|
* ```
|
|
76
97
|
*/
|
|
77
|
-
create(
|
|
78
|
-
|
|
98
|
+
create(params, options) {
|
|
99
|
+
const { 'Idempotency-Key': idempotencyKey, ...body } = params;
|
|
100
|
+
return this._client.post('/draft-transitions/', {
|
|
101
|
+
body,
|
|
102
|
+
...options,
|
|
103
|
+
headers: buildHeaders([{ 'Idempotency-Key': idempotencyKey }, options?.headers]),
|
|
104
|
+
});
|
|
79
105
|
}
|
|
80
106
|
}
|
|
81
107
|
//# sourceMappingURL=draft-transitions.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"draft-transitions.mjs","sourceRoot":"","sources":["../src/resources/draft-transitions.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF,OAAO,EAAE,WAAW,EAAE,6BAAyB;
|
|
1
|
+
{"version":3,"file":"draft-transitions.mjs","sourceRoot":"","sources":["../src/resources/draft-transitions.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF,OAAO,EAAE,WAAW,EAAE,6BAAyB;AAE/C,OAAO,EAAE,YAAY,EAAE,gCAA4B;AAEnD,OAAO,EAAE,IAAI,EAAE,mCAA+B;AAE9C;;GAEG;AACH,MAAM,OAAO,gBAAiB,SAAQ,WAAW;IAC/C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OA8CG;IACH,QAAQ,CAAC,EAAU,EAAE,OAAwB;QAC3C,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAI,CAAA,sBAAsB,EAAE,GAAG,EAAE,OAAO,CAAC,CAAC;IACpE,CAAC;IAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OAsCG;IACH,MAAM,CACJ,MAAmC,EACnC,OAAwB;QAExB,MAAM,EAAE,iBAAiB,EAAE,cAAc,EAAE,GAAG,IAAI,EAAE,GAAG,MAAM,CAAC;QAC9D,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,qBAAqB,EAAE;YAC9C,IAAI;YACJ,GAAG,OAAO;YACV,OAAO,EAAE,YAAY,CAAC,CAAC,EAAE,iBAAiB,EAAE,cAAc,EAAE,EAAE,OAAO,EAAE,OAAO,CAAC,CAAC;SACjF,CAAC,CAAC;IACL,CAAC;CACF"}
|
|
@@ -66,7 +66,7 @@ export interface EmployeeDocumentCreateResponse {
|
|
|
66
66
|
created_at: string;
|
|
67
67
|
/**
|
|
68
68
|
* List of role/document items to process. No limit on number of items; total
|
|
69
|
-
* documents across all items must not exceed
|
|
69
|
+
* documents across all items must not exceed 40.
|
|
70
70
|
*/
|
|
71
71
|
items: Array<EmployeeDocumentCreateResponse.Item>;
|
|
72
72
|
/**
|
|
@@ -131,7 +131,7 @@ export declare namespace EmployeeDocumentCreateResponse {
|
|
|
131
131
|
export interface EmployeeDocumentCreateParams {
|
|
132
132
|
/**
|
|
133
133
|
* List of role/document items to process. No limit on number of items; total
|
|
134
|
-
* documents across all items must not exceed
|
|
134
|
+
* documents across all items must not exceed 40.
|
|
135
135
|
*/
|
|
136
136
|
items: Array<EmployeeDocumentCreateParams.Item>;
|
|
137
137
|
}
|
|
@@ -66,7 +66,7 @@ export interface EmployeeDocumentCreateResponse {
|
|
|
66
66
|
created_at: string;
|
|
67
67
|
/**
|
|
68
68
|
* List of role/document items to process. No limit on number of items; total
|
|
69
|
-
* documents across all items must not exceed
|
|
69
|
+
* documents across all items must not exceed 40.
|
|
70
70
|
*/
|
|
71
71
|
items: Array<EmployeeDocumentCreateResponse.Item>;
|
|
72
72
|
/**
|
|
@@ -131,7 +131,7 @@ export declare namespace EmployeeDocumentCreateResponse {
|
|
|
131
131
|
export interface EmployeeDocumentCreateParams {
|
|
132
132
|
/**
|
|
133
133
|
* List of role/document items to process. No limit on number of items; total
|
|
134
|
-
* documents across all items must not exceed
|
|
134
|
+
* documents across all items must not exceed 40.
|
|
135
135
|
*/
|
|
136
136
|
items: Array<EmployeeDocumentCreateParams.Item>;
|
|
137
137
|
}
|
|
@@ -3,18 +3,21 @@ import * as BusinessPartnersAPI from "./business-partners.mjs";
|
|
|
3
3
|
import { APIPromise } from "../core/api-promise.mjs";
|
|
4
4
|
import { PageCursorURL, PagePromise } from "../core/pagination.mjs";
|
|
5
5
|
import { RequestOptions } from "../internal/request-options.mjs";
|
|
6
|
-
|
|
6
|
+
/**
|
|
7
|
+
* Categories used to classify Finance transaction line items
|
|
8
|
+
*/
|
|
9
|
+
export declare class FinanceCategories extends APIResource {
|
|
7
10
|
/**
|
|
8
|
-
* A list of
|
|
11
|
+
* A list of finance categories.
|
|
9
12
|
*
|
|
10
|
-
* - Requires: `
|
|
13
|
+
* - Requires: `Spend Management Platform API`
|
|
11
14
|
* - Filterable fields: `name`
|
|
12
15
|
* - Sortable fields: `id`, `created_at`, `updated_at`
|
|
13
16
|
*
|
|
14
17
|
* @example HTTP
|
|
15
18
|
* Representative request and response shapes.
|
|
16
19
|
* ```
|
|
17
|
-
* GET /
|
|
20
|
+
* GET /finance-categories/?filter=filter&order_by=order_by&limit=50&cursor=cursor HTTP/1.1
|
|
18
21
|
* Host: rest.ripplingapis.com
|
|
19
22
|
* Accept: application/json
|
|
20
23
|
* Rippling-Api-Version: 2024-08-01
|
|
@@ -44,14 +47,14 @@ export declare class SpendCategories extends APIResource {
|
|
|
44
47
|
* }
|
|
45
48
|
* ```
|
|
46
49
|
*/
|
|
47
|
-
list(query?:
|
|
50
|
+
list(query?: FinanceCategoryListParams | null | undefined, options?: RequestOptions): PagePromise<FinanceCategoryListResponsesPageCursorURL, FinanceCategoryListResponse>;
|
|
48
51
|
/**
|
|
49
|
-
* Retrieve a specific
|
|
52
|
+
* Retrieve a specific finance category
|
|
50
53
|
*
|
|
51
54
|
* @example HTTP
|
|
52
55
|
* Representative request and response shapes.
|
|
53
56
|
* ```
|
|
54
|
-
* GET /
|
|
57
|
+
* GET /finance-categories/{id}/ HTTP/1.1
|
|
55
58
|
* Host: rest.ripplingapis.com
|
|
56
59
|
* Accept: application/json
|
|
57
60
|
* Rippling-Api-Version: 2024-08-01
|
|
@@ -68,15 +71,15 @@ export declare class SpendCategories extends APIResource {
|
|
|
68
71
|
* }
|
|
69
72
|
* ```
|
|
70
73
|
*/
|
|
71
|
-
retrieve(id: string, options?: RequestOptions): APIPromise<
|
|
74
|
+
retrieve(id: string, options?: RequestOptions): APIPromise<FinanceCategoryRetrieveResponse>;
|
|
72
75
|
}
|
|
73
|
-
export type
|
|
76
|
+
export type FinanceCategoryListResponsesPageCursorURL = PageCursorURL<FinanceCategoryListResponse>;
|
|
74
77
|
/**
|
|
75
|
-
* A
|
|
78
|
+
* A Finance category used to classify transaction line items.
|
|
76
79
|
*
|
|
77
80
|
* Inactive categories are included so historical transactions can still resolve their category.
|
|
78
81
|
*/
|
|
79
|
-
export interface
|
|
82
|
+
export interface FinanceCategoryListResponse {
|
|
80
83
|
/**
|
|
81
84
|
* Identifier field
|
|
82
85
|
*/
|
|
@@ -95,14 +98,14 @@ export interface SpendCategoryListResponse {
|
|
|
95
98
|
*/
|
|
96
99
|
active?: boolean;
|
|
97
100
|
/**
|
|
98
|
-
* Name of the
|
|
101
|
+
* Name of the Finance category.
|
|
99
102
|
*/
|
|
100
103
|
name?: string;
|
|
101
104
|
}
|
|
102
105
|
/**
|
|
103
106
|
* Meta information for the response.
|
|
104
107
|
*/
|
|
105
|
-
export interface
|
|
108
|
+
export interface FinanceCategoryRetrieveResponse extends BusinessPartnersAPI.Meta {
|
|
106
109
|
/**
|
|
107
110
|
* Identifier field
|
|
108
111
|
*/
|
|
@@ -121,11 +124,11 @@ export interface SpendCategoryRetrieveResponse extends BusinessPartnersAPI.Meta
|
|
|
121
124
|
*/
|
|
122
125
|
active?: boolean;
|
|
123
126
|
/**
|
|
124
|
-
* Name of the
|
|
127
|
+
* Name of the Finance category.
|
|
125
128
|
*/
|
|
126
129
|
name?: string;
|
|
127
130
|
}
|
|
128
|
-
export interface
|
|
131
|
+
export interface FinanceCategoryListParams {
|
|
129
132
|
cursor?: string;
|
|
130
133
|
filter?: string;
|
|
131
134
|
/**
|
|
@@ -134,7 +137,7 @@ export interface SpendCategoryListParams {
|
|
|
134
137
|
limit?: number;
|
|
135
138
|
order_by?: string;
|
|
136
139
|
}
|
|
137
|
-
export declare namespace
|
|
138
|
-
export { type
|
|
140
|
+
export declare namespace FinanceCategories {
|
|
141
|
+
export { type FinanceCategoryListResponse as FinanceCategoryListResponse, type FinanceCategoryRetrieveResponse as FinanceCategoryRetrieveResponse, type FinanceCategoryListResponsesPageCursorURL as FinanceCategoryListResponsesPageCursorURL, type FinanceCategoryListParams as FinanceCategoryListParams, };
|
|
139
142
|
}
|
|
140
|
-
//# sourceMappingURL=
|
|
143
|
+
//# sourceMappingURL=finance-categories.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"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CAAC;IAEjB;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;CACf;AAED,MAAM,WAAW,yBAAyB;IACxC,MAAM,CAAC,EAAE,MAAM,CAAC;IAEhB,MAAM,CAAC,EAAE,MAAM,CAAC;IAEhB;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IAEf,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB;AAED,MAAM,CAAC,OAAO,WAAW,iBAAiB,CAAC;IACzC,OAAO,EACL,KAAK,2BAA2B,IAAI,2BAA2B,EAC/D,KAAK,+BAA+B,IAAI,+BAA+B,EACvE,KAAK,yCAAyC,IAAI,yCAAyC,EAC3F,KAAK,yBAAyB,IAAI,yBAAyB,GAC5D,CAAC;CACH"}
|
|
@@ -3,18 +3,21 @@ import * as BusinessPartnersAPI from "./business-partners.js";
|
|
|
3
3
|
import { APIPromise } from "../core/api-promise.js";
|
|
4
4
|
import { PageCursorURL, PagePromise } from "../core/pagination.js";
|
|
5
5
|
import { RequestOptions } from "../internal/request-options.js";
|
|
6
|
-
|
|
6
|
+
/**
|
|
7
|
+
* Categories used to classify Finance transaction line items
|
|
8
|
+
*/
|
|
9
|
+
export declare class FinanceCategories extends APIResource {
|
|
7
10
|
/**
|
|
8
|
-
* A list of
|
|
11
|
+
* A list of finance categories.
|
|
9
12
|
*
|
|
10
|
-
* - Requires: `
|
|
13
|
+
* - Requires: `Spend Management Platform API`
|
|
11
14
|
* - Filterable fields: `name`
|
|
12
15
|
* - Sortable fields: `id`, `created_at`, `updated_at`
|
|
13
16
|
*
|
|
14
17
|
* @example HTTP
|
|
15
18
|
* Representative request and response shapes.
|
|
16
19
|
* ```
|
|
17
|
-
* GET /
|
|
20
|
+
* GET /finance-categories/?filter=filter&order_by=order_by&limit=50&cursor=cursor HTTP/1.1
|
|
18
21
|
* Host: rest.ripplingapis.com
|
|
19
22
|
* Accept: application/json
|
|
20
23
|
* Rippling-Api-Version: 2024-08-01
|
|
@@ -44,14 +47,14 @@ export declare class SpendCategories extends APIResource {
|
|
|
44
47
|
* }
|
|
45
48
|
* ```
|
|
46
49
|
*/
|
|
47
|
-
list(query?:
|
|
50
|
+
list(query?: FinanceCategoryListParams | null | undefined, options?: RequestOptions): PagePromise<FinanceCategoryListResponsesPageCursorURL, FinanceCategoryListResponse>;
|
|
48
51
|
/**
|
|
49
|
-
* Retrieve a specific
|
|
52
|
+
* Retrieve a specific finance category
|
|
50
53
|
*
|
|
51
54
|
* @example HTTP
|
|
52
55
|
* Representative request and response shapes.
|
|
53
56
|
* ```
|
|
54
|
-
* GET /
|
|
57
|
+
* GET /finance-categories/{id}/ HTTP/1.1
|
|
55
58
|
* Host: rest.ripplingapis.com
|
|
56
59
|
* Accept: application/json
|
|
57
60
|
* Rippling-Api-Version: 2024-08-01
|
|
@@ -68,15 +71,15 @@ export declare class SpendCategories extends APIResource {
|
|
|
68
71
|
* }
|
|
69
72
|
* ```
|
|
70
73
|
*/
|
|
71
|
-
retrieve(id: string, options?: RequestOptions): APIPromise<
|
|
74
|
+
retrieve(id: string, options?: RequestOptions): APIPromise<FinanceCategoryRetrieveResponse>;
|
|
72
75
|
}
|
|
73
|
-
export type
|
|
76
|
+
export type FinanceCategoryListResponsesPageCursorURL = PageCursorURL<FinanceCategoryListResponse>;
|
|
74
77
|
/**
|
|
75
|
-
* A
|
|
78
|
+
* A Finance category used to classify transaction line items.
|
|
76
79
|
*
|
|
77
80
|
* Inactive categories are included so historical transactions can still resolve their category.
|
|
78
81
|
*/
|
|
79
|
-
export interface
|
|
82
|
+
export interface FinanceCategoryListResponse {
|
|
80
83
|
/**
|
|
81
84
|
* Identifier field
|
|
82
85
|
*/
|
|
@@ -95,14 +98,14 @@ export interface SpendCategoryListResponse {
|
|
|
95
98
|
*/
|
|
96
99
|
active?: boolean;
|
|
97
100
|
/**
|
|
98
|
-
* Name of the
|
|
101
|
+
* Name of the Finance category.
|
|
99
102
|
*/
|
|
100
103
|
name?: string;
|
|
101
104
|
}
|
|
102
105
|
/**
|
|
103
106
|
* Meta information for the response.
|
|
104
107
|
*/
|
|
105
|
-
export interface
|
|
108
|
+
export interface FinanceCategoryRetrieveResponse extends BusinessPartnersAPI.Meta {
|
|
106
109
|
/**
|
|
107
110
|
* Identifier field
|
|
108
111
|
*/
|
|
@@ -121,11 +124,11 @@ export interface SpendCategoryRetrieveResponse extends BusinessPartnersAPI.Meta
|
|
|
121
124
|
*/
|
|
122
125
|
active?: boolean;
|
|
123
126
|
/**
|
|
124
|
-
* Name of the
|
|
127
|
+
* Name of the Finance category.
|
|
125
128
|
*/
|
|
126
129
|
name?: string;
|
|
127
130
|
}
|
|
128
|
-
export interface
|
|
131
|
+
export interface FinanceCategoryListParams {
|
|
129
132
|
cursor?: string;
|
|
130
133
|
filter?: string;
|
|
131
134
|
/**
|
|
@@ -134,7 +137,7 @@ export interface SpendCategoryListParams {
|
|
|
134
137
|
limit?: number;
|
|
135
138
|
order_by?: string;
|
|
136
139
|
}
|
|
137
|
-
export declare namespace
|
|
138
|
-
export { type
|
|
140
|
+
export declare namespace FinanceCategories {
|
|
141
|
+
export { type FinanceCategoryListResponse as FinanceCategoryListResponse, type FinanceCategoryRetrieveResponse as FinanceCategoryRetrieveResponse, type FinanceCategoryListResponsesPageCursorURL as FinanceCategoryListResponsesPageCursorURL, type FinanceCategoryListParams as FinanceCategoryListParams, };
|
|
139
142
|
}
|
|
140
|
-
//# sourceMappingURL=
|
|
143
|
+
//# sourceMappingURL=finance-categories.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"finance-categories.d.ts","sourceRoot":"","sources":["../src/resources/finance-categories.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,4BAAyB;AAC/C,OAAO,KAAK,mBAAmB,+BAA4B;AAC3D,OAAO,EAAE,UAAU,EAAE,+BAA4B;AACjD,OAAO,EAAE,aAAa,EAAE,WAAW,EAAE,8BAA2B;AAChE,OAAO,EAAE,cAAc,EAAE,uCAAoC;A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C,OAAO,WAAW,iBAAiB,CAAC;IACzC,OAAO,EACL,KAAK,2BAA2B,IAAI,2BAA2B,EAC/D,KAAK,+BAA+B,IAAI,+BAA+B,EACvE,KAAK,yCAAyC,IAAI,yCAAyC,EAC3F,KAAK,yBAAyB,IAAI,yBAAyB,GAC5D,CAAC;CACH"}
|
|
@@ -1,22 +1,25 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
3
3
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
-
exports.
|
|
4
|
+
exports.FinanceCategories = void 0;
|
|
5
5
|
const resource_1 = require("../core/resource.js");
|
|
6
6
|
const pagination_1 = require("../core/pagination.js");
|
|
7
7
|
const path_1 = require("../internal/utils/path.js");
|
|
8
|
-
|
|
8
|
+
/**
|
|
9
|
+
* Categories used to classify Finance transaction line items
|
|
10
|
+
*/
|
|
11
|
+
class FinanceCategories extends resource_1.APIResource {
|
|
9
12
|
/**
|
|
10
|
-
* A list of
|
|
13
|
+
* A list of finance categories.
|
|
11
14
|
*
|
|
12
|
-
* - Requires: `
|
|
15
|
+
* - Requires: `Spend Management Platform API`
|
|
13
16
|
* - Filterable fields: `name`
|
|
14
17
|
* - Sortable fields: `id`, `created_at`, `updated_at`
|
|
15
18
|
*
|
|
16
19
|
* @example HTTP
|
|
17
20
|
* Representative request and response shapes.
|
|
18
21
|
* ```
|
|
19
|
-
* GET /
|
|
22
|
+
* GET /finance-categories/?filter=filter&order_by=order_by&limit=50&cursor=cursor HTTP/1.1
|
|
20
23
|
* Host: rest.ripplingapis.com
|
|
21
24
|
* Accept: application/json
|
|
22
25
|
* Rippling-Api-Version: 2024-08-01
|
|
@@ -47,18 +50,18 @@ class SpendCategories extends resource_1.APIResource {
|
|
|
47
50
|
* ```
|
|
48
51
|
*/
|
|
49
52
|
list(query = {}, options) {
|
|
50
|
-
return this._client.getAPIList('/
|
|
53
|
+
return this._client.getAPIList('/finance-categories/', (pagination_1.PageCursorURL), {
|
|
51
54
|
query,
|
|
52
55
|
...options,
|
|
53
56
|
});
|
|
54
57
|
}
|
|
55
58
|
/**
|
|
56
|
-
* Retrieve a specific
|
|
59
|
+
* Retrieve a specific finance category
|
|
57
60
|
*
|
|
58
61
|
* @example HTTP
|
|
59
62
|
* Representative request and response shapes.
|
|
60
63
|
* ```
|
|
61
|
-
* GET /
|
|
64
|
+
* GET /finance-categories/{id}/ HTTP/1.1
|
|
62
65
|
* Host: rest.ripplingapis.com
|
|
63
66
|
* Accept: application/json
|
|
64
67
|
* Rippling-Api-Version: 2024-08-01
|
|
@@ -76,8 +79,8 @@ class SpendCategories extends resource_1.APIResource {
|
|
|
76
79
|
* ```
|
|
77
80
|
*/
|
|
78
81
|
retrieve(id, options) {
|
|
79
|
-
return this._client.get((0, path_1.path) `/
|
|
82
|
+
return this._client.get((0, path_1.path) `/finance-categories/${id}/`, options);
|
|
80
83
|
}
|
|
81
84
|
}
|
|
82
|
-
exports.
|
|
83
|
-
//# sourceMappingURL=
|
|
85
|
+
exports.FinanceCategories = FinanceCategories;
|
|
86
|
+
//# sourceMappingURL=finance-categories.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"finance-categories.js","sourceRoot":"","sources":["../src/resources/finance-categories.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,kDAA+C;AAG/C,sDAAgE;AAEhE,oDAA8C;AAE9C;;GAEG;AACH,MAAa,iBAAkB,SAAQ,sBAAW;IAChD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OAuCG;IACH,IAAI,CACF,QAAsD,EAAE,EACxD,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,UAAU,CAAC,sBAAsB,EAAE,CAAA,0BAA0C,CAAA,EAAE;YACjG,KAAK;YACL,GAAG,OAAO;SACX,CAAC,CAAC;IACL,CAAC;IAED;;;;;;;;;;;;;;;;;;;;;;OAsBG;IACH,QAAQ,CAAC,EAAU,EAAE,OAAwB;QAC3C,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAA,WAAI,EAAA,uBAAuB,EAAE,GAAG,EAAE,OAAO,CAAC,CAAC;IACrE,CAAC;CACF;AA7ED,8CA6EC"}
|