@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
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"list-views.d.ts","sourceRoot":"","sources":["../../../src/resources/custom-objects/list-views/list-views.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,kCAA+B;AACrD,OAAO,KAAK,eAAe,0BAAuB;AAClD,OAAO,EAAE,YAAY,IAAI,2BAA2B,EAAE,0BAA0B,EAAE,0BAAuB;AACzG,OAAO,KAAK,UAAU,qBAAkB;AACxC,OAAO,EAAE,OAAO,EAAE,mBAAmB,EAAE,qBAAqB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,EACrD,KAAK,wBAAwB,IAAI,wBAAwB,EACzD,KAAK,sBAAsB,IAAI,sBAAsB,EACrD,KAAK,kCAAkC,IAAI,kCAAkC,EAC7E,KAAK,kBAAkB,IAAI,kBAAkB,EAC7C,KAAK,oBAAoB,IAAI,oBAAoB,EACjD,KAAK,oBAAoB,IAAI,oBAAoB,GAClD,CAAC;IAEF,OAAO,EACL,2BAA2B,IAAI,YAAY,EAC3C,KAAK,0BAA0B,IAAI,0BAA0B,GAC9D,CAAC;IAEF,OAAO,EACL,OAAO,IAAI,OAAO,EAClB,KAAK,qBAAqB,IAAI,qBAAqB,EACnD,KAAK,mBAAmB,IAAI,mBAAmB,GAChD,CAAC;CACH"}
|
|
@@ -0,0 +1,314 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
3
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
+
exports.ListViews = void 0;
|
|
5
|
+
const tslib_1 = require("../../../internal/tslib.js");
|
|
6
|
+
const resource_1 = require("../../../core/resource.js");
|
|
7
|
+
const CapabilitiesAPI = tslib_1.__importStar(require("./capabilities.js"));
|
|
8
|
+
const capabilities_1 = require("./capabilities.js");
|
|
9
|
+
const DefaultAPI = tslib_1.__importStar(require("./default.js"));
|
|
10
|
+
const default_1 = require("./default.js");
|
|
11
|
+
const pagination_1 = require("../../../core/pagination.js");
|
|
12
|
+
const headers_1 = require("../../../internal/headers.js");
|
|
13
|
+
const path_1 = require("../../../internal/utils/path.js");
|
|
14
|
+
/**
|
|
15
|
+
* Saved custom object list views visible to the requester
|
|
16
|
+
*/
|
|
17
|
+
class ListViews extends resource_1.APIResource {
|
|
18
|
+
constructor() {
|
|
19
|
+
super(...arguments);
|
|
20
|
+
this.capabilities = new CapabilitiesAPI.Capabilities(this._client);
|
|
21
|
+
this.default = new DefaultAPI.Default(this._client);
|
|
22
|
+
}
|
|
23
|
+
/**
|
|
24
|
+
* Lists shared views and the requester's private views. Saved views do not grant
|
|
25
|
+
* access to records or filter fields.
|
|
26
|
+
*
|
|
27
|
+
* @example SDK usage
|
|
28
|
+
* ```ts
|
|
29
|
+
* // Automatically fetches more pages as needed.
|
|
30
|
+
* for await (const listViewListResponse of client.customObjects.listViews.list(
|
|
31
|
+
* 'custom_object_api_name',
|
|
32
|
+
* )) {
|
|
33
|
+
* // ...
|
|
34
|
+
* }
|
|
35
|
+
* ```
|
|
36
|
+
*
|
|
37
|
+
* @example HTTP
|
|
38
|
+
* Representative request and response shapes.
|
|
39
|
+
* ```
|
|
40
|
+
* GET /custom-objects/{custom_object_api_name}/list-views/?limit=50&cursor=cursor HTTP/1.1
|
|
41
|
+
* Host: rest.ripplingapis.com
|
|
42
|
+
* Accept: application/json
|
|
43
|
+
* Rippling-Api-Version: 2024-08-01
|
|
44
|
+
*
|
|
45
|
+
* HTTP/1.1 200 OK
|
|
46
|
+
* Content-Type: application/json
|
|
47
|
+
*
|
|
48
|
+
* {
|
|
49
|
+
* "results": [
|
|
50
|
+
* {
|
|
51
|
+
* "id": "string",
|
|
52
|
+
* "created_at": "2025-01-01T00:00:00Z",
|
|
53
|
+
* "updated_at": "2025-01-01T00:00:00Z",
|
|
54
|
+
* "api_name": "string",
|
|
55
|
+
* "name": "string",
|
|
56
|
+
* "description": "string",
|
|
57
|
+
* "visibility": "PRIVATE",
|
|
58
|
+
* "record_scope": "ALL",
|
|
59
|
+
* "has_filter": false,
|
|
60
|
+
* "order_by": "string",
|
|
61
|
+
* "columns": [
|
|
62
|
+
* {}
|
|
63
|
+
* ],
|
|
64
|
+
* "is_default": false,
|
|
65
|
+
* "capabilities": {
|
|
66
|
+
* "can_update": "string",
|
|
67
|
+
* "can_delete": "string",
|
|
68
|
+
* "can_duplicate": "string",
|
|
69
|
+
* "can_share": "string",
|
|
70
|
+
* "can_set_default": "string"
|
|
71
|
+
* }
|
|
72
|
+
* }
|
|
73
|
+
* ],
|
|
74
|
+
* "next_link": "string"
|
|
75
|
+
* }
|
|
76
|
+
* ```
|
|
77
|
+
*/
|
|
78
|
+
list(customObjectAPIName, query = {}, options) {
|
|
79
|
+
return this._client.getAPIList((0, path_1.path) `/custom-objects/${customObjectAPIName}/list-views/`, (pagination_1.PageCursorURL), { query, ...options });
|
|
80
|
+
}
|
|
81
|
+
/**
|
|
82
|
+
* Creates a grid definition using ordered field API names, RQL, sorting,
|
|
83
|
+
* visibility, and record scope. This does not change records or the company
|
|
84
|
+
* default. Supply api_name for a stable retry identity: an existing active company
|
|
85
|
+
* name returns 409, so retrieve it before retrying. Omitting api_name generates a
|
|
86
|
+
* new name and retrying may create another view. An authorized caller can delete
|
|
87
|
+
* the view. Uses existing Custom Object read consent. Native permissions require
|
|
88
|
+
* ownership for private views and manage-object access for shared views, sharing,
|
|
89
|
+
* and company defaults. Object-read consent does not authorize schema or record
|
|
90
|
+
* writes.
|
|
91
|
+
*
|
|
92
|
+
* @example SDK usage
|
|
93
|
+
* ```ts
|
|
94
|
+
* const listView =
|
|
95
|
+
* await client.customObjects.listViews.create(
|
|
96
|
+
* 'custom_object_api_name',
|
|
97
|
+
* { columns: [{ field: 'field' }], name: 'name' },
|
|
98
|
+
* );
|
|
99
|
+
* ```
|
|
100
|
+
*
|
|
101
|
+
* @example HTTP
|
|
102
|
+
* Representative request and response shapes.
|
|
103
|
+
* ```
|
|
104
|
+
* POST /custom-objects/{custom_object_api_name}/list-views/ HTTP/1.1
|
|
105
|
+
* Host: rest.ripplingapis.com
|
|
106
|
+
* Content-Type: application/json
|
|
107
|
+
* Accept: application/json
|
|
108
|
+
* Rippling-Api-Version: 2024-08-01
|
|
109
|
+
*
|
|
110
|
+
* {
|
|
111
|
+
* "columns": [
|
|
112
|
+
* {
|
|
113
|
+
* "field": "field"
|
|
114
|
+
* }
|
|
115
|
+
* ],
|
|
116
|
+
* "name": "name"
|
|
117
|
+
* }
|
|
118
|
+
*
|
|
119
|
+
* HTTP/1.1 201 Created
|
|
120
|
+
* Content-Type: application/json
|
|
121
|
+
*
|
|
122
|
+
* {
|
|
123
|
+
* "id": "string",
|
|
124
|
+
* "created_at": "2025-01-01T00:00:00Z",
|
|
125
|
+
* "updated_at": "2025-01-01T00:00:00Z",
|
|
126
|
+
* "api_name": "string",
|
|
127
|
+
* "name": "string",
|
|
128
|
+
* "description": "string",
|
|
129
|
+
* "visibility": "PRIVATE",
|
|
130
|
+
* "record_scope": "ALL",
|
|
131
|
+
* "has_filter": false,
|
|
132
|
+
* "order_by": "string",
|
|
133
|
+
* "columns": [
|
|
134
|
+
* {
|
|
135
|
+
* "field": "string"
|
|
136
|
+
* }
|
|
137
|
+
* ],
|
|
138
|
+
* "is_default": false,
|
|
139
|
+
* "capabilities": {
|
|
140
|
+
* "can_update": false,
|
|
141
|
+
* "can_delete": false,
|
|
142
|
+
* "can_duplicate": false,
|
|
143
|
+
* "can_share": false,
|
|
144
|
+
* "can_set_default": false
|
|
145
|
+
* },
|
|
146
|
+
* "query": "string"
|
|
147
|
+
* }
|
|
148
|
+
* ```
|
|
149
|
+
*/
|
|
150
|
+
create(customObjectAPIName, body, options) {
|
|
151
|
+
return this._client.post((0, path_1.path) `/custom-objects/${customObjectAPIName}/list-views/`, { body, ...options });
|
|
152
|
+
}
|
|
153
|
+
/**
|
|
154
|
+
* Retrieves an accessible saved view. Views in another object/company or another
|
|
155
|
+
* requester's private views return not found.
|
|
156
|
+
*
|
|
157
|
+
* @example SDK usage
|
|
158
|
+
* ```ts
|
|
159
|
+
* const listView =
|
|
160
|
+
* await client.customObjects.listViews.retrieve(
|
|
161
|
+
* 'custom_object_api_name',
|
|
162
|
+
* 'view_api_name',
|
|
163
|
+
* );
|
|
164
|
+
* ```
|
|
165
|
+
*
|
|
166
|
+
* @example HTTP
|
|
167
|
+
* Representative request and response shapes.
|
|
168
|
+
* ```
|
|
169
|
+
* GET /custom-objects/{custom_object_api_name}/list-views/{view_api_name}/ HTTP/1.1
|
|
170
|
+
* Host: rest.ripplingapis.com
|
|
171
|
+
* Accept: application/json
|
|
172
|
+
* Rippling-Api-Version: 2024-08-01
|
|
173
|
+
*
|
|
174
|
+
* HTTP/1.1 200 OK
|
|
175
|
+
* Content-Type: application/json
|
|
176
|
+
*
|
|
177
|
+
* {
|
|
178
|
+
* "id": "string",
|
|
179
|
+
* "created_at": "2025-01-01T00:00:00Z",
|
|
180
|
+
* "updated_at": "2025-01-01T00:00:00Z",
|
|
181
|
+
* "api_name": "string",
|
|
182
|
+
* "name": "string",
|
|
183
|
+
* "description": "string",
|
|
184
|
+
* "visibility": "PRIVATE",
|
|
185
|
+
* "record_scope": "ALL",
|
|
186
|
+
* "has_filter": false,
|
|
187
|
+
* "order_by": "string",
|
|
188
|
+
* "columns": [
|
|
189
|
+
* {
|
|
190
|
+
* "field": "string"
|
|
191
|
+
* }
|
|
192
|
+
* ],
|
|
193
|
+
* "is_default": false,
|
|
194
|
+
* "capabilities": {
|
|
195
|
+
* "can_update": false,
|
|
196
|
+
* "can_delete": false,
|
|
197
|
+
* "can_duplicate": false,
|
|
198
|
+
* "can_share": false,
|
|
199
|
+
* "can_set_default": false
|
|
200
|
+
* },
|
|
201
|
+
* "query": "string"
|
|
202
|
+
* }
|
|
203
|
+
* ```
|
|
204
|
+
*/
|
|
205
|
+
retrieve(customObjectAPIName, viewAPIName, options) {
|
|
206
|
+
return this._client.get((0, path_1.path) `/custom-objects/${customObjectAPIName}/list-views/${viewAPIName}/`, options);
|
|
207
|
+
}
|
|
208
|
+
/**
|
|
209
|
+
* Updates only the supplied fields of an accessible saved view; omitted fields are
|
|
210
|
+
* preserved. Null clears description, query, or order_by. Supplied columns replace
|
|
211
|
+
* visible field selection and order. The API name is immutable and shared views
|
|
212
|
+
* cannot become private. The company default continues to reference this view
|
|
213
|
+
* after an edit. Repeating the same update preserves the saved configuration; to
|
|
214
|
+
* undo an edit, submit the previous values. Records are not modified. Uses
|
|
215
|
+
* existing Custom Object read consent. Native permissions require ownership for
|
|
216
|
+
* private views and manage-object access for shared views, sharing, and company
|
|
217
|
+
* defaults. Object-read consent does not authorize schema or record writes.
|
|
218
|
+
*
|
|
219
|
+
* @example SDK usage
|
|
220
|
+
* ```ts
|
|
221
|
+
* const listView =
|
|
222
|
+
* await client.customObjects.listViews.update(
|
|
223
|
+
* 'custom_object_api_name',
|
|
224
|
+
* 'view_api_name',
|
|
225
|
+
* );
|
|
226
|
+
* ```
|
|
227
|
+
*
|
|
228
|
+
* @example HTTP
|
|
229
|
+
* Representative request and response shapes.
|
|
230
|
+
* ```
|
|
231
|
+
* PATCH /custom-objects/{custom_object_api_name}/list-views/{view_api_name}/ HTTP/1.1
|
|
232
|
+
* Host: rest.ripplingapis.com
|
|
233
|
+
* Content-Type: application/json
|
|
234
|
+
* Accept: application/json
|
|
235
|
+
* Rippling-Api-Version: 2024-08-01
|
|
236
|
+
*
|
|
237
|
+
* {}
|
|
238
|
+
*
|
|
239
|
+
* HTTP/1.1 200 OK
|
|
240
|
+
* Content-Type: application/json
|
|
241
|
+
*
|
|
242
|
+
* {
|
|
243
|
+
* "id": "string",
|
|
244
|
+
* "created_at": "2025-01-01T00:00:00Z",
|
|
245
|
+
* "updated_at": "2025-01-01T00:00:00Z",
|
|
246
|
+
* "api_name": "string",
|
|
247
|
+
* "name": "string",
|
|
248
|
+
* "description": "string",
|
|
249
|
+
* "visibility": "PRIVATE",
|
|
250
|
+
* "record_scope": "ALL",
|
|
251
|
+
* "has_filter": false,
|
|
252
|
+
* "order_by": "string",
|
|
253
|
+
* "columns": [
|
|
254
|
+
* {
|
|
255
|
+
* "field": "string"
|
|
256
|
+
* }
|
|
257
|
+
* ],
|
|
258
|
+
* "is_default": false,
|
|
259
|
+
* "capabilities": {
|
|
260
|
+
* "can_update": false,
|
|
261
|
+
* "can_delete": false,
|
|
262
|
+
* "can_duplicate": false,
|
|
263
|
+
* "can_share": false,
|
|
264
|
+
* "can_set_default": false
|
|
265
|
+
* },
|
|
266
|
+
* "query": "string"
|
|
267
|
+
* }
|
|
268
|
+
* ```
|
|
269
|
+
*/
|
|
270
|
+
update(customObjectAPIName, viewAPIName, body, options) {
|
|
271
|
+
return this._client.patch((0, path_1.path) `/custom-objects/${customObjectAPIName}/list-views/${viewAPIName}/`, {
|
|
272
|
+
body,
|
|
273
|
+
...options,
|
|
274
|
+
});
|
|
275
|
+
}
|
|
276
|
+
/**
|
|
277
|
+
* Removes an accessible saved view from the active collection and clears the
|
|
278
|
+
* company default if it references this view. Records are not deleted. There is no
|
|
279
|
+
* public restore operation; retrieve the definition before deletion if you need to
|
|
280
|
+
* recreate it. A successful deletion returns 204 with no body; a retry after
|
|
281
|
+
* deletion returns 404. Uses existing Custom Object read consent. Native
|
|
282
|
+
* permissions require ownership for private views and manage-object access for
|
|
283
|
+
* shared views, sharing, and company defaults. Object-read consent does not
|
|
284
|
+
* authorize schema or record writes.
|
|
285
|
+
*
|
|
286
|
+
* @example SDK usage
|
|
287
|
+
* ```ts
|
|
288
|
+
* await client.customObjects.listViews.delete(
|
|
289
|
+
* 'custom_object_api_name',
|
|
290
|
+
* 'view_api_name',
|
|
291
|
+
* );
|
|
292
|
+
* ```
|
|
293
|
+
*
|
|
294
|
+
* @example HTTP
|
|
295
|
+
* Representative request and response shapes.
|
|
296
|
+
* ```
|
|
297
|
+
* DELETE /custom-objects/{custom_object_api_name}/list-views/{view_api_name}/ HTTP/1.1
|
|
298
|
+
* Host: rest.ripplingapis.com
|
|
299
|
+
* Rippling-Api-Version: 2024-08-01
|
|
300
|
+
*
|
|
301
|
+
* HTTP/1.1 204 No Content
|
|
302
|
+
* ```
|
|
303
|
+
*/
|
|
304
|
+
delete(customObjectAPIName, viewAPIName, options) {
|
|
305
|
+
return this._client.delete((0, path_1.path) `/custom-objects/${customObjectAPIName}/list-views/${viewAPIName}/`, {
|
|
306
|
+
...options,
|
|
307
|
+
headers: (0, headers_1.buildHeaders)([{ Accept: '*/*' }, options?.headers]),
|
|
308
|
+
});
|
|
309
|
+
}
|
|
310
|
+
}
|
|
311
|
+
exports.ListViews = ListViews;
|
|
312
|
+
ListViews.Capabilities = capabilities_1.Capabilities;
|
|
313
|
+
ListViews.Default = default_1.Default;
|
|
314
|
+
//# sourceMappingURL=list-views.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"list-views.js","sourceRoot":"","sources":["../../../src/resources/custom-objects/list-views/list-views.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;;AAEtF,wDAAqD;AACrD,2EAAkD;AAClD,oDAAyG;AACzG,iEAAwC;AACxC,0CAAgF;AAEhF,4DAAsE;AACtE,0DAAyD;AAEzD,0DAAoD;AAEpD;;GAEG;AACH,MAAa,SAAU,SAAQ,sBAAW;IAA1C;;QACE,iBAAY,GAAiC,IAAI,eAAe,CAAC,YAAY,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QAC5F,YAAO,GAAuB,IAAI,UAAU,CAAC,OAAO,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;IA0TrE,CAAC;IAxTC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OAsDG;IACH,IAAI,CACF,mBAA2B,EAC3B,QAA+C,EAAE,EACjD,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,UAAU,CAC5B,IAAA,WAAI,EAAA,mBAAmB,mBAAmB,cAAc,EACxD,CAAA,0BAAmC,CAAA,EACnC,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CACtB,CAAC;IACJ,CAAC;IAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OAoEG;IACH,MAAM,CACJ,mBAA2B,EAC3B,IAA0B,EAC1B,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,IAAA,WAAI,EAAA,mBAAmB,mBAAmB,cAAc,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC3G,CAAC;IAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OAmDG;IACH,QAAQ,CACN,mBAA2B,EAC3B,WAAmB,EACnB,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAA,WAAI,EAAA,mBAAmB,mBAAmB,eAAe,WAAW,GAAG,EAAE,OAAO,CAAC,CAAC;IAC5G,CAAC;IAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OA6DG;IACH,MAAM,CACJ,mBAA2B,EAC3B,WAAmB,EACnB,IAA0B,EAC1B,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,IAAA,WAAI,EAAA,mBAAmB,mBAAmB,eAAe,WAAW,GAAG,EAAE;YACjG,IAAI;YACJ,GAAG,OAAO;SACX,CAAC,CAAC;IACL,CAAC;IAED;;;;;;;;;;;;;;;;;;;;;;;;;;;OA2BG;IACH,MAAM,CAAC,mBAA2B,EAAE,WAAmB,EAAE,OAAwB;QAC/E,OAAO,IAAI,CAAC,OAAO,CAAC,MAAM,CAAC,IAAA,WAAI,EAAA,mBAAmB,mBAAmB,eAAe,WAAW,GAAG,EAAE;YAClG,GAAG,OAAO;YACV,OAAO,EAAE,IAAA,sBAAY,EAAC,CAAC,EAAE,MAAM,EAAE,KAAK,EAAE,EAAE,OAAO,EAAE,OAAO,CAAC,CAAC;SAC7D,CAAC,CAAC;IACL,CAAC;CACF;AA5TD,8BA4TC;AAumBD,SAAS,CAAC,YAAY,GAAG,2BAA2B,CAAC;AACrD,SAAS,CAAC,OAAO,GAAG,iBAAO,CAAC"}
|
|
@@ -0,0 +1,309 @@
|
|
|
1
|
+
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
+
import { APIResource } from "../../../core/resource.mjs";
|
|
3
|
+
import * as CapabilitiesAPI from "./capabilities.mjs";
|
|
4
|
+
import { Capabilities as CapabilitiesAPICapabilities } from "./capabilities.mjs";
|
|
5
|
+
import * as DefaultAPI from "./default.mjs";
|
|
6
|
+
import { Default } from "./default.mjs";
|
|
7
|
+
import { PageCursorURL } from "../../../core/pagination.mjs";
|
|
8
|
+
import { buildHeaders } from "../../../internal/headers.mjs";
|
|
9
|
+
import { path } from "../../../internal/utils/path.mjs";
|
|
10
|
+
/**
|
|
11
|
+
* Saved custom object list views visible to the requester
|
|
12
|
+
*/
|
|
13
|
+
export class ListViews extends APIResource {
|
|
14
|
+
constructor() {
|
|
15
|
+
super(...arguments);
|
|
16
|
+
this.capabilities = new CapabilitiesAPI.Capabilities(this._client);
|
|
17
|
+
this.default = new DefaultAPI.Default(this._client);
|
|
18
|
+
}
|
|
19
|
+
/**
|
|
20
|
+
* Lists shared views and the requester's private views. Saved views do not grant
|
|
21
|
+
* access to records or filter fields.
|
|
22
|
+
*
|
|
23
|
+
* @example SDK usage
|
|
24
|
+
* ```ts
|
|
25
|
+
* // Automatically fetches more pages as needed.
|
|
26
|
+
* for await (const listViewListResponse of client.customObjects.listViews.list(
|
|
27
|
+
* 'custom_object_api_name',
|
|
28
|
+
* )) {
|
|
29
|
+
* // ...
|
|
30
|
+
* }
|
|
31
|
+
* ```
|
|
32
|
+
*
|
|
33
|
+
* @example HTTP
|
|
34
|
+
* Representative request and response shapes.
|
|
35
|
+
* ```
|
|
36
|
+
* GET /custom-objects/{custom_object_api_name}/list-views/?limit=50&cursor=cursor HTTP/1.1
|
|
37
|
+
* Host: rest.ripplingapis.com
|
|
38
|
+
* Accept: application/json
|
|
39
|
+
* Rippling-Api-Version: 2024-08-01
|
|
40
|
+
*
|
|
41
|
+
* HTTP/1.1 200 OK
|
|
42
|
+
* Content-Type: application/json
|
|
43
|
+
*
|
|
44
|
+
* {
|
|
45
|
+
* "results": [
|
|
46
|
+
* {
|
|
47
|
+
* "id": "string",
|
|
48
|
+
* "created_at": "2025-01-01T00:00:00Z",
|
|
49
|
+
* "updated_at": "2025-01-01T00:00:00Z",
|
|
50
|
+
* "api_name": "string",
|
|
51
|
+
* "name": "string",
|
|
52
|
+
* "description": "string",
|
|
53
|
+
* "visibility": "PRIVATE",
|
|
54
|
+
* "record_scope": "ALL",
|
|
55
|
+
* "has_filter": false,
|
|
56
|
+
* "order_by": "string",
|
|
57
|
+
* "columns": [
|
|
58
|
+
* {}
|
|
59
|
+
* ],
|
|
60
|
+
* "is_default": false,
|
|
61
|
+
* "capabilities": {
|
|
62
|
+
* "can_update": "string",
|
|
63
|
+
* "can_delete": "string",
|
|
64
|
+
* "can_duplicate": "string",
|
|
65
|
+
* "can_share": "string",
|
|
66
|
+
* "can_set_default": "string"
|
|
67
|
+
* }
|
|
68
|
+
* }
|
|
69
|
+
* ],
|
|
70
|
+
* "next_link": "string"
|
|
71
|
+
* }
|
|
72
|
+
* ```
|
|
73
|
+
*/
|
|
74
|
+
list(customObjectAPIName, query = {}, options) {
|
|
75
|
+
return this._client.getAPIList(path `/custom-objects/${customObjectAPIName}/list-views/`, (PageCursorURL), { query, ...options });
|
|
76
|
+
}
|
|
77
|
+
/**
|
|
78
|
+
* Creates a grid definition using ordered field API names, RQL, sorting,
|
|
79
|
+
* visibility, and record scope. This does not change records or the company
|
|
80
|
+
* default. Supply api_name for a stable retry identity: an existing active company
|
|
81
|
+
* name returns 409, so retrieve it before retrying. Omitting api_name generates a
|
|
82
|
+
* new name and retrying may create another view. An authorized caller can delete
|
|
83
|
+
* the view. Uses existing Custom Object read consent. Native permissions require
|
|
84
|
+
* ownership for private views and manage-object access for shared views, sharing,
|
|
85
|
+
* and company defaults. Object-read consent does not authorize schema or record
|
|
86
|
+
* writes.
|
|
87
|
+
*
|
|
88
|
+
* @example SDK usage
|
|
89
|
+
* ```ts
|
|
90
|
+
* const listView =
|
|
91
|
+
* await client.customObjects.listViews.create(
|
|
92
|
+
* 'custom_object_api_name',
|
|
93
|
+
* { columns: [{ field: 'field' }], name: 'name' },
|
|
94
|
+
* );
|
|
95
|
+
* ```
|
|
96
|
+
*
|
|
97
|
+
* @example HTTP
|
|
98
|
+
* Representative request and response shapes.
|
|
99
|
+
* ```
|
|
100
|
+
* POST /custom-objects/{custom_object_api_name}/list-views/ HTTP/1.1
|
|
101
|
+
* Host: rest.ripplingapis.com
|
|
102
|
+
* Content-Type: application/json
|
|
103
|
+
* Accept: application/json
|
|
104
|
+
* Rippling-Api-Version: 2024-08-01
|
|
105
|
+
*
|
|
106
|
+
* {
|
|
107
|
+
* "columns": [
|
|
108
|
+
* {
|
|
109
|
+
* "field": "field"
|
|
110
|
+
* }
|
|
111
|
+
* ],
|
|
112
|
+
* "name": "name"
|
|
113
|
+
* }
|
|
114
|
+
*
|
|
115
|
+
* HTTP/1.1 201 Created
|
|
116
|
+
* Content-Type: application/json
|
|
117
|
+
*
|
|
118
|
+
* {
|
|
119
|
+
* "id": "string",
|
|
120
|
+
* "created_at": "2025-01-01T00:00:00Z",
|
|
121
|
+
* "updated_at": "2025-01-01T00:00:00Z",
|
|
122
|
+
* "api_name": "string",
|
|
123
|
+
* "name": "string",
|
|
124
|
+
* "description": "string",
|
|
125
|
+
* "visibility": "PRIVATE",
|
|
126
|
+
* "record_scope": "ALL",
|
|
127
|
+
* "has_filter": false,
|
|
128
|
+
* "order_by": "string",
|
|
129
|
+
* "columns": [
|
|
130
|
+
* {
|
|
131
|
+
* "field": "string"
|
|
132
|
+
* }
|
|
133
|
+
* ],
|
|
134
|
+
* "is_default": false,
|
|
135
|
+
* "capabilities": {
|
|
136
|
+
* "can_update": false,
|
|
137
|
+
* "can_delete": false,
|
|
138
|
+
* "can_duplicate": false,
|
|
139
|
+
* "can_share": false,
|
|
140
|
+
* "can_set_default": false
|
|
141
|
+
* },
|
|
142
|
+
* "query": "string"
|
|
143
|
+
* }
|
|
144
|
+
* ```
|
|
145
|
+
*/
|
|
146
|
+
create(customObjectAPIName, body, options) {
|
|
147
|
+
return this._client.post(path `/custom-objects/${customObjectAPIName}/list-views/`, { body, ...options });
|
|
148
|
+
}
|
|
149
|
+
/**
|
|
150
|
+
* Retrieves an accessible saved view. Views in another object/company or another
|
|
151
|
+
* requester's private views return not found.
|
|
152
|
+
*
|
|
153
|
+
* @example SDK usage
|
|
154
|
+
* ```ts
|
|
155
|
+
* const listView =
|
|
156
|
+
* await client.customObjects.listViews.retrieve(
|
|
157
|
+
* 'custom_object_api_name',
|
|
158
|
+
* 'view_api_name',
|
|
159
|
+
* );
|
|
160
|
+
* ```
|
|
161
|
+
*
|
|
162
|
+
* @example HTTP
|
|
163
|
+
* Representative request and response shapes.
|
|
164
|
+
* ```
|
|
165
|
+
* GET /custom-objects/{custom_object_api_name}/list-views/{view_api_name}/ HTTP/1.1
|
|
166
|
+
* Host: rest.ripplingapis.com
|
|
167
|
+
* Accept: application/json
|
|
168
|
+
* Rippling-Api-Version: 2024-08-01
|
|
169
|
+
*
|
|
170
|
+
* HTTP/1.1 200 OK
|
|
171
|
+
* Content-Type: application/json
|
|
172
|
+
*
|
|
173
|
+
* {
|
|
174
|
+
* "id": "string",
|
|
175
|
+
* "created_at": "2025-01-01T00:00:00Z",
|
|
176
|
+
* "updated_at": "2025-01-01T00:00:00Z",
|
|
177
|
+
* "api_name": "string",
|
|
178
|
+
* "name": "string",
|
|
179
|
+
* "description": "string",
|
|
180
|
+
* "visibility": "PRIVATE",
|
|
181
|
+
* "record_scope": "ALL",
|
|
182
|
+
* "has_filter": false,
|
|
183
|
+
* "order_by": "string",
|
|
184
|
+
* "columns": [
|
|
185
|
+
* {
|
|
186
|
+
* "field": "string"
|
|
187
|
+
* }
|
|
188
|
+
* ],
|
|
189
|
+
* "is_default": false,
|
|
190
|
+
* "capabilities": {
|
|
191
|
+
* "can_update": false,
|
|
192
|
+
* "can_delete": false,
|
|
193
|
+
* "can_duplicate": false,
|
|
194
|
+
* "can_share": false,
|
|
195
|
+
* "can_set_default": false
|
|
196
|
+
* },
|
|
197
|
+
* "query": "string"
|
|
198
|
+
* }
|
|
199
|
+
* ```
|
|
200
|
+
*/
|
|
201
|
+
retrieve(customObjectAPIName, viewAPIName, options) {
|
|
202
|
+
return this._client.get(path `/custom-objects/${customObjectAPIName}/list-views/${viewAPIName}/`, options);
|
|
203
|
+
}
|
|
204
|
+
/**
|
|
205
|
+
* Updates only the supplied fields of an accessible saved view; omitted fields are
|
|
206
|
+
* preserved. Null clears description, query, or order_by. Supplied columns replace
|
|
207
|
+
* visible field selection and order. The API name is immutable and shared views
|
|
208
|
+
* cannot become private. The company default continues to reference this view
|
|
209
|
+
* after an edit. Repeating the same update preserves the saved configuration; to
|
|
210
|
+
* undo an edit, submit the previous values. Records are not modified. Uses
|
|
211
|
+
* existing Custom Object read consent. Native permissions require ownership for
|
|
212
|
+
* private views and manage-object access for shared views, sharing, and company
|
|
213
|
+
* defaults. Object-read consent does not authorize schema or record writes.
|
|
214
|
+
*
|
|
215
|
+
* @example SDK usage
|
|
216
|
+
* ```ts
|
|
217
|
+
* const listView =
|
|
218
|
+
* await client.customObjects.listViews.update(
|
|
219
|
+
* 'custom_object_api_name',
|
|
220
|
+
* 'view_api_name',
|
|
221
|
+
* );
|
|
222
|
+
* ```
|
|
223
|
+
*
|
|
224
|
+
* @example HTTP
|
|
225
|
+
* Representative request and response shapes.
|
|
226
|
+
* ```
|
|
227
|
+
* PATCH /custom-objects/{custom_object_api_name}/list-views/{view_api_name}/ HTTP/1.1
|
|
228
|
+
* Host: rest.ripplingapis.com
|
|
229
|
+
* Content-Type: application/json
|
|
230
|
+
* Accept: application/json
|
|
231
|
+
* Rippling-Api-Version: 2024-08-01
|
|
232
|
+
*
|
|
233
|
+
* {}
|
|
234
|
+
*
|
|
235
|
+
* HTTP/1.1 200 OK
|
|
236
|
+
* Content-Type: application/json
|
|
237
|
+
*
|
|
238
|
+
* {
|
|
239
|
+
* "id": "string",
|
|
240
|
+
* "created_at": "2025-01-01T00:00:00Z",
|
|
241
|
+
* "updated_at": "2025-01-01T00:00:00Z",
|
|
242
|
+
* "api_name": "string",
|
|
243
|
+
* "name": "string",
|
|
244
|
+
* "description": "string",
|
|
245
|
+
* "visibility": "PRIVATE",
|
|
246
|
+
* "record_scope": "ALL",
|
|
247
|
+
* "has_filter": false,
|
|
248
|
+
* "order_by": "string",
|
|
249
|
+
* "columns": [
|
|
250
|
+
* {
|
|
251
|
+
* "field": "string"
|
|
252
|
+
* }
|
|
253
|
+
* ],
|
|
254
|
+
* "is_default": false,
|
|
255
|
+
* "capabilities": {
|
|
256
|
+
* "can_update": false,
|
|
257
|
+
* "can_delete": false,
|
|
258
|
+
* "can_duplicate": false,
|
|
259
|
+
* "can_share": false,
|
|
260
|
+
* "can_set_default": false
|
|
261
|
+
* },
|
|
262
|
+
* "query": "string"
|
|
263
|
+
* }
|
|
264
|
+
* ```
|
|
265
|
+
*/
|
|
266
|
+
update(customObjectAPIName, viewAPIName, body, options) {
|
|
267
|
+
return this._client.patch(path `/custom-objects/${customObjectAPIName}/list-views/${viewAPIName}/`, {
|
|
268
|
+
body,
|
|
269
|
+
...options,
|
|
270
|
+
});
|
|
271
|
+
}
|
|
272
|
+
/**
|
|
273
|
+
* Removes an accessible saved view from the active collection and clears the
|
|
274
|
+
* company default if it references this view. Records are not deleted. There is no
|
|
275
|
+
* public restore operation; retrieve the definition before deletion if you need to
|
|
276
|
+
* recreate it. A successful deletion returns 204 with no body; a retry after
|
|
277
|
+
* deletion returns 404. Uses existing Custom Object read consent. Native
|
|
278
|
+
* permissions require ownership for private views and manage-object access for
|
|
279
|
+
* shared views, sharing, and company defaults. Object-read consent does not
|
|
280
|
+
* authorize schema or record writes.
|
|
281
|
+
*
|
|
282
|
+
* @example SDK usage
|
|
283
|
+
* ```ts
|
|
284
|
+
* await client.customObjects.listViews.delete(
|
|
285
|
+
* 'custom_object_api_name',
|
|
286
|
+
* 'view_api_name',
|
|
287
|
+
* );
|
|
288
|
+
* ```
|
|
289
|
+
*
|
|
290
|
+
* @example HTTP
|
|
291
|
+
* Representative request and response shapes.
|
|
292
|
+
* ```
|
|
293
|
+
* DELETE /custom-objects/{custom_object_api_name}/list-views/{view_api_name}/ HTTP/1.1
|
|
294
|
+
* Host: rest.ripplingapis.com
|
|
295
|
+
* Rippling-Api-Version: 2024-08-01
|
|
296
|
+
*
|
|
297
|
+
* HTTP/1.1 204 No Content
|
|
298
|
+
* ```
|
|
299
|
+
*/
|
|
300
|
+
delete(customObjectAPIName, viewAPIName, options) {
|
|
301
|
+
return this._client.delete(path `/custom-objects/${customObjectAPIName}/list-views/${viewAPIName}/`, {
|
|
302
|
+
...options,
|
|
303
|
+
headers: buildHeaders([{ Accept: '*/*' }, options?.headers]),
|
|
304
|
+
});
|
|
305
|
+
}
|
|
306
|
+
}
|
|
307
|
+
ListViews.Capabilities = CapabilitiesAPICapabilities;
|
|
308
|
+
ListViews.Default = Default;
|
|
309
|
+
//# sourceMappingURL=list-views.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"list-views.mjs","sourceRoot":"","sources":["../../../src/resources/custom-objects/list-views/list-views.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF,OAAO,EAAE,WAAW,EAAE,mCAA+B;AACrD,OAAO,KAAK,eAAe,2BAAuB;AAClD,OAAO,EAAE,YAAY,IAAI,2BAA2B,EAA8B,2BAAuB;AACzG,OAAO,KAAK,UAAU,sBAAkB;AACxC,OAAO,EAAE,OAAO,EAA8C,sBAAkB;AAEhF,OAAO,EAAE,aAAa,EAAe,qCAAiC;AACtE,OAAO,EAAE,YAAY,EAAE,sCAAkC;AAEzD,OAAO,EAAE,IAAI,EAAE,yCAAqC;AAEpD;;GAEG;AACH,MAAM,OAAO,SAAU,SAAQ,WAAW;IAA1C;;QACE,iBAAY,GAAiC,IAAI,eAAe,CAAC,YAAY,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QAC5F,YAAO,GAAuB,IAAI,UAAU,CAAC,OAAO,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;IA0TrE,CAAC;IAxTC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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O,CAAC,MAAM,CAAC,IAAI,CAAA,mBAAmB,mBAAmB,eAAe,WAAW,GAAG,EAAE;YAClG,GAAG,OAAO;YACV,OAAO,EAAE,YAAY,CAAC,CAAC,EAAE,MAAM,EAAE,KAAK,EAAE,EAAE,OAAO,EAAE,OAAO,CAAC,CAAC;SAC7D,CAAC,CAAC;IACL,CAAC;CACF;AAumBD,SAAS,CAAC,YAAY,GAAG,2BAA2B,CAAC;AACrD,SAAS,CAAC,OAAO,GAAG,OAAO,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"list-views.d.mts","sourceRoot":"","sources":["../../src/resources/custom-objects/list-views.ts"],"names":[],"mappings":"AAEA,uCAAmC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"list-views.d.ts","sourceRoot":"","sources":["../../src/resources/custom-objects/list-views.ts"],"names":[],"mappings":"AAEA,sCAAmC"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
3
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
+
const tslib_1 = require("../../internal/tslib.js");
|
|
5
|
+
tslib_1.__exportStar(require("./list-views/index.js"), exports);
|
|
6
|
+
//# sourceMappingURL=list-views.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"list-views.js","sourceRoot":"","sources":["../../src/resources/custom-objects/list-views.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,gEAAmC"}
|