@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
|
@@ -40,7 +40,15 @@ export declare class Functions extends APIResource {
|
|
|
40
40
|
* "description": "string",
|
|
41
41
|
* "code_draft": "string",
|
|
42
42
|
* "dependencies": {},
|
|
43
|
-
* "is_async": false
|
|
43
|
+
* "is_async": false,
|
|
44
|
+
* "listed_in_custom_apps": false,
|
|
45
|
+
* "source_upload_instructions": {
|
|
46
|
+
* "url": "string",
|
|
47
|
+
* "method": "POST",
|
|
48
|
+
* "fields": {},
|
|
49
|
+
* "expires_at": "string",
|
|
50
|
+
* "archive": {}
|
|
51
|
+
* }
|
|
44
52
|
* }
|
|
45
53
|
* ],
|
|
46
54
|
* "next_link": "string"
|
|
@@ -74,7 +82,19 @@ export declare class Functions extends APIResource {
|
|
|
74
82
|
* "description": "string",
|
|
75
83
|
* "code_draft": "string",
|
|
76
84
|
* "dependencies": {},
|
|
77
|
-
* "is_async": false
|
|
85
|
+
* "is_async": false,
|
|
86
|
+
* "listed_in_custom_apps": false,
|
|
87
|
+
* "source_upload_instructions": {
|
|
88
|
+
* "url": "string",
|
|
89
|
+
* "method": "POST",
|
|
90
|
+
* "fields": {},
|
|
91
|
+
* "expires_at": "string",
|
|
92
|
+
* "archive": {
|
|
93
|
+
* "object_key": "string",
|
|
94
|
+
* "sha256": "string",
|
|
95
|
+
* "size_bytes": 0
|
|
96
|
+
* }
|
|
97
|
+
* }
|
|
78
98
|
* }
|
|
79
99
|
* ```
|
|
80
100
|
*/
|
|
@@ -102,7 +122,19 @@ export declare class Functions extends APIResource {
|
|
|
102
122
|
* "description": "string",
|
|
103
123
|
* "code_draft": "string",
|
|
104
124
|
* "dependencies": {},
|
|
105
|
-
* "is_async": false
|
|
125
|
+
* "is_async": false,
|
|
126
|
+
* "listed_in_custom_apps": false,
|
|
127
|
+
* "source_upload_instructions": {
|
|
128
|
+
* "url": "string",
|
|
129
|
+
* "method": "POST",
|
|
130
|
+
* "fields": {},
|
|
131
|
+
* "expires_at": "string",
|
|
132
|
+
* "archive": {
|
|
133
|
+
* "object_key": "string",
|
|
134
|
+
* "sha256": "string",
|
|
135
|
+
* "size_bytes": 0
|
|
136
|
+
* }
|
|
137
|
+
* }
|
|
106
138
|
* }
|
|
107
139
|
* ```
|
|
108
140
|
*/
|
|
@@ -133,11 +165,41 @@ export declare class Functions extends APIResource {
|
|
|
133
165
|
* "description": "string",
|
|
134
166
|
* "code_draft": "string",
|
|
135
167
|
* "dependencies": {},
|
|
136
|
-
* "is_async": false
|
|
168
|
+
* "is_async": false,
|
|
169
|
+
* "listed_in_custom_apps": false,
|
|
170
|
+
* "source_upload_instructions": {
|
|
171
|
+
* "url": "string",
|
|
172
|
+
* "method": "POST",
|
|
173
|
+
* "fields": {},
|
|
174
|
+
* "expires_at": "string",
|
|
175
|
+
* "archive": {
|
|
176
|
+
* "object_key": "string",
|
|
177
|
+
* "sha256": "string",
|
|
178
|
+
* "size_bytes": 0
|
|
179
|
+
* }
|
|
180
|
+
* }
|
|
137
181
|
* }
|
|
138
182
|
* ```
|
|
139
183
|
*/
|
|
140
184
|
update(functionAPIName: string, body?: FunctionUpdateParams | null | undefined, options?: RequestOptions): APIPromise<Function>;
|
|
185
|
+
/**
|
|
186
|
+
* Permanently delete a function. A successful 204 response has no body. Functions
|
|
187
|
+
* with dependencies cannot be deleted; resolve the dependencies identified in the
|
|
188
|
+
* 409 response and submit a new request. Do not automatically retry this request
|
|
189
|
+
* after an unknown outcome: after a successful deletion, subsequent requests
|
|
190
|
+
* return 404.
|
|
191
|
+
*
|
|
192
|
+
* @example HTTP
|
|
193
|
+
* Representative request and response shapes.
|
|
194
|
+
* ```
|
|
195
|
+
* DELETE /functions/{function_api_name}/ HTTP/1.1
|
|
196
|
+
* Host: rest.ripplingapis.com
|
|
197
|
+
* Rippling-Api-Version: 2024-08-01
|
|
198
|
+
*
|
|
199
|
+
* HTTP/1.1 204 No Content
|
|
200
|
+
* ```
|
|
201
|
+
*/
|
|
202
|
+
delete(functionAPIName: string, options?: RequestOptions): APIPromise<void>;
|
|
141
203
|
/**
|
|
142
204
|
* Create a new function dev bundle.
|
|
143
205
|
*
|
|
@@ -193,10 +255,74 @@ export interface Function {
|
|
|
193
255
|
* Whether this function runs asynchronously
|
|
194
256
|
*/
|
|
195
257
|
is_async?: boolean;
|
|
258
|
+
/**
|
|
259
|
+
* Whether this request-function is listed in the Custom Apps grid and navigation.
|
|
260
|
+
* Defaults to false on creation; omitted updates preserve the current value.
|
|
261
|
+
* Listing does not grant access or change deployment behavior. Only supported for
|
|
262
|
+
* request functions. Setting this field on an event function returns a validation
|
|
263
|
+
* error.
|
|
264
|
+
*/
|
|
265
|
+
listed_in_custom_apps?: boolean;
|
|
196
266
|
/**
|
|
197
267
|
* The function name
|
|
198
268
|
*/
|
|
199
269
|
name?: string;
|
|
270
|
+
/**
|
|
271
|
+
* Upload instructions returned only when source_upload was requested on create or
|
|
272
|
+
* update.
|
|
273
|
+
*/
|
|
274
|
+
source_upload_instructions?: Function.SourceUploadInstructions;
|
|
275
|
+
}
|
|
276
|
+
export declare namespace Function {
|
|
277
|
+
/**
|
|
278
|
+
* Upload instructions returned only when source_upload was requested on create or
|
|
279
|
+
* update.
|
|
280
|
+
*/
|
|
281
|
+
interface SourceUploadInstructions {
|
|
282
|
+
/**
|
|
283
|
+
* Archive reference for a subsequent deployment after the upload succeeds.
|
|
284
|
+
*/
|
|
285
|
+
archive: SourceUploadInstructions.Archive;
|
|
286
|
+
/**
|
|
287
|
+
* UTC expiration of the upload instructions, in RFC3339/ISO8601 format.
|
|
288
|
+
*/
|
|
289
|
+
expires_at: string;
|
|
290
|
+
/**
|
|
291
|
+
* Include every opaque signed field unchanged in the multipart/form-data POST,
|
|
292
|
+
* plus the ZIP file.
|
|
293
|
+
*/
|
|
294
|
+
fields: {
|
|
295
|
+
[key: string]: string;
|
|
296
|
+
};
|
|
297
|
+
/**
|
|
298
|
+
* HTTP method for the client-direct upload.
|
|
299
|
+
*/
|
|
300
|
+
method: 'POST';
|
|
301
|
+
/**
|
|
302
|
+
* Upload the ZIP directly to this URL, not through the Functions API.
|
|
303
|
+
*/
|
|
304
|
+
url: string;
|
|
305
|
+
}
|
|
306
|
+
namespace SourceUploadInstructions {
|
|
307
|
+
/**
|
|
308
|
+
* Archive reference for a subsequent deployment after the upload succeeds.
|
|
309
|
+
*/
|
|
310
|
+
interface Archive {
|
|
311
|
+
/**
|
|
312
|
+
* Tenant-scoped object key to use as the archive reference in the explicit
|
|
313
|
+
* deployment JSON.
|
|
314
|
+
*/
|
|
315
|
+
object_key: string;
|
|
316
|
+
/**
|
|
317
|
+
* SHA-256 of the ZIP bytes.
|
|
318
|
+
*/
|
|
319
|
+
sha256: string;
|
|
320
|
+
/**
|
|
321
|
+
* Exact ZIP size in bytes, returned as a JSON integer.
|
|
322
|
+
*/
|
|
323
|
+
size_bytes: number;
|
|
324
|
+
}
|
|
325
|
+
}
|
|
200
326
|
}
|
|
201
327
|
export interface FunctionCreateDevBundleResponse {
|
|
202
328
|
/**
|
|
@@ -233,10 +359,43 @@ export interface FunctionCreateParams {
|
|
|
233
359
|
* Whether this function runs asynchronously
|
|
234
360
|
*/
|
|
235
361
|
is_async?: boolean;
|
|
362
|
+
/**
|
|
363
|
+
* Whether this request-function is listed in the Custom Apps grid and navigation.
|
|
364
|
+
* Defaults to false on creation; omitted updates preserve the current value.
|
|
365
|
+
* Listing does not grant access or change deployment behavior. Only supported for
|
|
366
|
+
* request functions. Setting this field on an event function returns a validation
|
|
367
|
+
* error.
|
|
368
|
+
*/
|
|
369
|
+
listed_in_custom_apps?: boolean;
|
|
236
370
|
/**
|
|
237
371
|
* The function name
|
|
238
372
|
*/
|
|
239
373
|
name?: string;
|
|
374
|
+
/**
|
|
375
|
+
* Optional source ZIP checksum and size for request functions only. Create or
|
|
376
|
+
* update returns ephemeral source_upload_instructions; this input is not returned.
|
|
377
|
+
*/
|
|
378
|
+
source_upload?: FunctionCreateParams.SourceUpload;
|
|
379
|
+
/**
|
|
380
|
+
* Function type at creation. Defaults to event and cannot be changed afterward.
|
|
381
|
+
*/
|
|
382
|
+
type?: 'event' | 'request';
|
|
383
|
+
}
|
|
384
|
+
export declare namespace FunctionCreateParams {
|
|
385
|
+
/**
|
|
386
|
+
* Optional source ZIP checksum and size for request functions only. Create or
|
|
387
|
+
* update returns ephemeral source_upload_instructions; this input is not returned.
|
|
388
|
+
*/
|
|
389
|
+
interface SourceUpload {
|
|
390
|
+
/**
|
|
391
|
+
* SHA-256 of the exact ZIP bytes, written as 64 lowercase hexadecimal characters.
|
|
392
|
+
*/
|
|
393
|
+
sha256: string;
|
|
394
|
+
/**
|
|
395
|
+
* Exact ZIP size in bytes, from 1 through 67108864 (64 MiB).
|
|
396
|
+
*/
|
|
397
|
+
size_bytes: number;
|
|
398
|
+
}
|
|
240
399
|
}
|
|
241
400
|
export interface FunctionUpdateParams {
|
|
242
401
|
/**
|
|
@@ -251,10 +410,39 @@ export interface FunctionUpdateParams {
|
|
|
251
410
|
* The function description
|
|
252
411
|
*/
|
|
253
412
|
description?: string;
|
|
413
|
+
/**
|
|
414
|
+
* Whether this request-function is listed in the Custom Apps grid and navigation.
|
|
415
|
+
* Defaults to false on creation; omitted updates preserve the current value.
|
|
416
|
+
* Listing does not grant access or change deployment behavior. Only supported for
|
|
417
|
+
* request functions. Setting this field on an event function returns a validation
|
|
418
|
+
* error.
|
|
419
|
+
*/
|
|
420
|
+
listed_in_custom_apps?: boolean;
|
|
254
421
|
/**
|
|
255
422
|
* The function name
|
|
256
423
|
*/
|
|
257
424
|
name?: string;
|
|
425
|
+
/**
|
|
426
|
+
* Optional source ZIP checksum and size for request functions only. Create or
|
|
427
|
+
* update returns ephemeral source_upload_instructions; this input is not returned.
|
|
428
|
+
*/
|
|
429
|
+
source_upload?: FunctionUpdateParams.SourceUpload;
|
|
430
|
+
}
|
|
431
|
+
export declare namespace FunctionUpdateParams {
|
|
432
|
+
/**
|
|
433
|
+
* Optional source ZIP checksum and size for request functions only. Create or
|
|
434
|
+
* update returns ephemeral source_upload_instructions; this input is not returned.
|
|
435
|
+
*/
|
|
436
|
+
interface SourceUpload {
|
|
437
|
+
/**
|
|
438
|
+
* SHA-256 of the exact ZIP bytes, written as 64 lowercase hexadecimal characters.
|
|
439
|
+
*/
|
|
440
|
+
sha256: string;
|
|
441
|
+
/**
|
|
442
|
+
* Exact ZIP size in bytes, from 1 through 67108864 (64 MiB).
|
|
443
|
+
*/
|
|
444
|
+
size_bytes: number;
|
|
445
|
+
}
|
|
258
446
|
}
|
|
259
447
|
export interface FunctionCreateDevBundleParams {
|
|
260
448
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"functions.d.mts","sourceRoot":"","sources":["../../src/resources/functions/functions.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,gCAA4B;AAClD,OAAO,KAAK,cAAc,0BAAsB;AAChD,OAAO,EACL,sBAAsB,EACtB,wBAAwB,EACxB,0BAA0B,EAC1B,sBAAsB,EACtB,wBAAwB,EACxB,WAAW,EACX,kBAAkB,EACnB,0BAAsB;AACvB,OAAO,KAAK,aAAa,yBAAqB;AAC9C,OAAO,EACL,qBAAqB,EACrB,uBAAuB,EACvB,yBAAyB,EACzB,mBAAmB,EACnB,uBAAuB,EACvB,UAAU,EACV,iBAAiB,EACjB,+BAA+B,EAChC,yBAAqB;AACtB,OAAO,EAAE,UAAU,EAAE,mCAA+B;AACpD,OAAO,EAAE,aAAa,EAAE,WAAW,EAAE,kCAA8B;
|
|
1
|
+
{"version":3,"file":"functions.d.mts","sourceRoot":"","sources":["../../src/resources/functions/functions.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,gCAA4B;AAClD,OAAO,KAAK,cAAc,0BAAsB;AAChD,OAAO,EACL,sBAAsB,EACtB,wBAAwB,EACxB,0BAA0B,EAC1B,sBAAsB,EACtB,wBAAwB,EACxB,WAAW,EACX,kBAAkB,EACnB,0BAAsB;AACvB,OAAO,KAAK,aAAa,yBAAqB;AAC9C,OAAO,EACL,qBAAqB,EACrB,uBAAuB,EACvB,yBAAyB,EACzB,mBAAmB,EACnB,uBAAuB,EACvB,UAAU,EACV,iBAAiB,EACjB,+BAA+B,EAChC,yBAAqB;AACtB,OAAO,EAAE,UAAU,EAAE,mCAA+B;AACpD,OAAO,EAAE,aAAa,EAAE,WAAW,EAAE,kCAA8B;AAEnE,OAAO,EAAE,cAAc,EAAE,2CAAuC;AAGhE;;GAEG;AACH,qBAAa,SAAU,SAAQ,WAAW;IACxC,WAAW,EAAE,cAAc,CAAC,WAAW,CAAgD;IACvF,UAAU,EAAE,a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,WAAW,6BAA6B;CAAG;AAKjD,MAAM,CAAC,OAAO,WAAW,SAAS,CAAC;IACjC,OAAO,EACL,KAAK,QAAQ,IAAI,QAAQ,EACzB,KAAK,+BAA+B,IAAI,+BAA+B,EACvE,KAAK,sBAAsB,IAAI,sBAAsB,EACrD,KAAK,kBAAkB,IAAI,kBAAkB,EAC7C,KAAK,oBAAoB,IAAI,oBAAoB,EACjD,KAAK,oBAAoB,IAAI,oBAAoB,EACjD,KAAK,6BAA6B,IAAI,6BAA6B,GACpE,CAAC;IAEF,OAAO,EACL,WAAW,IAAI,WAAW,EAC1B,KAAK,kBAAkB,IAAI,kBAAkB,EAC7C,KAAK,sBAAsB,IAAI,sBAAsB,EACrD,KAAK,0BAA0B,IAAI,0BAA0B,EAC7D,KAAK,sBAAsB,IAAI,sBAAsB,EACrD,KAAK,wBAAwB,IAAI,wBAAwB,EACzD,KAAK,wBAAwB,IAAI,wBAAwB,GAC1D,CAAC;IAEF,OAAO,EACL,UAAU,IAAI,UAAU,EACxB,KAAK,iBAAiB,IAAI,iBAAiB,EAC3C,KAAK,yBAAyB,IAAI,yBAAyB,EAC3D,KAAK,+BAA+B,IAAI,+BAA+B,EACvE,KAAK,mBAAmB,IAAI,mBAAmB,EAC/C,KAAK,qBAAqB,IAAI,qBAAqB,EACnD,KAAK,uBAAuB,IAAI,uBAAuB,EACvD,KAAK,uBAAuB,IAAI,uBAAuB,GACxD,CAAC;CACH"}
|
|
@@ -40,7 +40,15 @@ export declare class Functions extends APIResource {
|
|
|
40
40
|
* "description": "string",
|
|
41
41
|
* "code_draft": "string",
|
|
42
42
|
* "dependencies": {},
|
|
43
|
-
* "is_async": false
|
|
43
|
+
* "is_async": false,
|
|
44
|
+
* "listed_in_custom_apps": false,
|
|
45
|
+
* "source_upload_instructions": {
|
|
46
|
+
* "url": "string",
|
|
47
|
+
* "method": "POST",
|
|
48
|
+
* "fields": {},
|
|
49
|
+
* "expires_at": "string",
|
|
50
|
+
* "archive": {}
|
|
51
|
+
* }
|
|
44
52
|
* }
|
|
45
53
|
* ],
|
|
46
54
|
* "next_link": "string"
|
|
@@ -74,7 +82,19 @@ export declare class Functions extends APIResource {
|
|
|
74
82
|
* "description": "string",
|
|
75
83
|
* "code_draft": "string",
|
|
76
84
|
* "dependencies": {},
|
|
77
|
-
* "is_async": false
|
|
85
|
+
* "is_async": false,
|
|
86
|
+
* "listed_in_custom_apps": false,
|
|
87
|
+
* "source_upload_instructions": {
|
|
88
|
+
* "url": "string",
|
|
89
|
+
* "method": "POST",
|
|
90
|
+
* "fields": {},
|
|
91
|
+
* "expires_at": "string",
|
|
92
|
+
* "archive": {
|
|
93
|
+
* "object_key": "string",
|
|
94
|
+
* "sha256": "string",
|
|
95
|
+
* "size_bytes": 0
|
|
96
|
+
* }
|
|
97
|
+
* }
|
|
78
98
|
* }
|
|
79
99
|
* ```
|
|
80
100
|
*/
|
|
@@ -102,7 +122,19 @@ export declare class Functions extends APIResource {
|
|
|
102
122
|
* "description": "string",
|
|
103
123
|
* "code_draft": "string",
|
|
104
124
|
* "dependencies": {},
|
|
105
|
-
* "is_async": false
|
|
125
|
+
* "is_async": false,
|
|
126
|
+
* "listed_in_custom_apps": false,
|
|
127
|
+
* "source_upload_instructions": {
|
|
128
|
+
* "url": "string",
|
|
129
|
+
* "method": "POST",
|
|
130
|
+
* "fields": {},
|
|
131
|
+
* "expires_at": "string",
|
|
132
|
+
* "archive": {
|
|
133
|
+
* "object_key": "string",
|
|
134
|
+
* "sha256": "string",
|
|
135
|
+
* "size_bytes": 0
|
|
136
|
+
* }
|
|
137
|
+
* }
|
|
106
138
|
* }
|
|
107
139
|
* ```
|
|
108
140
|
*/
|
|
@@ -133,11 +165,41 @@ export declare class Functions extends APIResource {
|
|
|
133
165
|
* "description": "string",
|
|
134
166
|
* "code_draft": "string",
|
|
135
167
|
* "dependencies": {},
|
|
136
|
-
* "is_async": false
|
|
168
|
+
* "is_async": false,
|
|
169
|
+
* "listed_in_custom_apps": false,
|
|
170
|
+
* "source_upload_instructions": {
|
|
171
|
+
* "url": "string",
|
|
172
|
+
* "method": "POST",
|
|
173
|
+
* "fields": {},
|
|
174
|
+
* "expires_at": "string",
|
|
175
|
+
* "archive": {
|
|
176
|
+
* "object_key": "string",
|
|
177
|
+
* "sha256": "string",
|
|
178
|
+
* "size_bytes": 0
|
|
179
|
+
* }
|
|
180
|
+
* }
|
|
137
181
|
* }
|
|
138
182
|
* ```
|
|
139
183
|
*/
|
|
140
184
|
update(functionAPIName: string, body?: FunctionUpdateParams | null | undefined, options?: RequestOptions): APIPromise<Function>;
|
|
185
|
+
/**
|
|
186
|
+
* Permanently delete a function. A successful 204 response has no body. Functions
|
|
187
|
+
* with dependencies cannot be deleted; resolve the dependencies identified in the
|
|
188
|
+
* 409 response and submit a new request. Do not automatically retry this request
|
|
189
|
+
* after an unknown outcome: after a successful deletion, subsequent requests
|
|
190
|
+
* return 404.
|
|
191
|
+
*
|
|
192
|
+
* @example HTTP
|
|
193
|
+
* Representative request and response shapes.
|
|
194
|
+
* ```
|
|
195
|
+
* DELETE /functions/{function_api_name}/ HTTP/1.1
|
|
196
|
+
* Host: rest.ripplingapis.com
|
|
197
|
+
* Rippling-Api-Version: 2024-08-01
|
|
198
|
+
*
|
|
199
|
+
* HTTP/1.1 204 No Content
|
|
200
|
+
* ```
|
|
201
|
+
*/
|
|
202
|
+
delete(functionAPIName: string, options?: RequestOptions): APIPromise<void>;
|
|
141
203
|
/**
|
|
142
204
|
* Create a new function dev bundle.
|
|
143
205
|
*
|
|
@@ -193,10 +255,74 @@ export interface Function {
|
|
|
193
255
|
* Whether this function runs asynchronously
|
|
194
256
|
*/
|
|
195
257
|
is_async?: boolean;
|
|
258
|
+
/**
|
|
259
|
+
* Whether this request-function is listed in the Custom Apps grid and navigation.
|
|
260
|
+
* Defaults to false on creation; omitted updates preserve the current value.
|
|
261
|
+
* Listing does not grant access or change deployment behavior. Only supported for
|
|
262
|
+
* request functions. Setting this field on an event function returns a validation
|
|
263
|
+
* error.
|
|
264
|
+
*/
|
|
265
|
+
listed_in_custom_apps?: boolean;
|
|
196
266
|
/**
|
|
197
267
|
* The function name
|
|
198
268
|
*/
|
|
199
269
|
name?: string;
|
|
270
|
+
/**
|
|
271
|
+
* Upload instructions returned only when source_upload was requested on create or
|
|
272
|
+
* update.
|
|
273
|
+
*/
|
|
274
|
+
source_upload_instructions?: Function.SourceUploadInstructions;
|
|
275
|
+
}
|
|
276
|
+
export declare namespace Function {
|
|
277
|
+
/**
|
|
278
|
+
* Upload instructions returned only when source_upload was requested on create or
|
|
279
|
+
* update.
|
|
280
|
+
*/
|
|
281
|
+
interface SourceUploadInstructions {
|
|
282
|
+
/**
|
|
283
|
+
* Archive reference for a subsequent deployment after the upload succeeds.
|
|
284
|
+
*/
|
|
285
|
+
archive: SourceUploadInstructions.Archive;
|
|
286
|
+
/**
|
|
287
|
+
* UTC expiration of the upload instructions, in RFC3339/ISO8601 format.
|
|
288
|
+
*/
|
|
289
|
+
expires_at: string;
|
|
290
|
+
/**
|
|
291
|
+
* Include every opaque signed field unchanged in the multipart/form-data POST,
|
|
292
|
+
* plus the ZIP file.
|
|
293
|
+
*/
|
|
294
|
+
fields: {
|
|
295
|
+
[key: string]: string;
|
|
296
|
+
};
|
|
297
|
+
/**
|
|
298
|
+
* HTTP method for the client-direct upload.
|
|
299
|
+
*/
|
|
300
|
+
method: 'POST';
|
|
301
|
+
/**
|
|
302
|
+
* Upload the ZIP directly to this URL, not through the Functions API.
|
|
303
|
+
*/
|
|
304
|
+
url: string;
|
|
305
|
+
}
|
|
306
|
+
namespace SourceUploadInstructions {
|
|
307
|
+
/**
|
|
308
|
+
* Archive reference for a subsequent deployment after the upload succeeds.
|
|
309
|
+
*/
|
|
310
|
+
interface Archive {
|
|
311
|
+
/**
|
|
312
|
+
* Tenant-scoped object key to use as the archive reference in the explicit
|
|
313
|
+
* deployment JSON.
|
|
314
|
+
*/
|
|
315
|
+
object_key: string;
|
|
316
|
+
/**
|
|
317
|
+
* SHA-256 of the ZIP bytes.
|
|
318
|
+
*/
|
|
319
|
+
sha256: string;
|
|
320
|
+
/**
|
|
321
|
+
* Exact ZIP size in bytes, returned as a JSON integer.
|
|
322
|
+
*/
|
|
323
|
+
size_bytes: number;
|
|
324
|
+
}
|
|
325
|
+
}
|
|
200
326
|
}
|
|
201
327
|
export interface FunctionCreateDevBundleResponse {
|
|
202
328
|
/**
|
|
@@ -233,10 +359,43 @@ export interface FunctionCreateParams {
|
|
|
233
359
|
* Whether this function runs asynchronously
|
|
234
360
|
*/
|
|
235
361
|
is_async?: boolean;
|
|
362
|
+
/**
|
|
363
|
+
* Whether this request-function is listed in the Custom Apps grid and navigation.
|
|
364
|
+
* Defaults to false on creation; omitted updates preserve the current value.
|
|
365
|
+
* Listing does not grant access or change deployment behavior. Only supported for
|
|
366
|
+
* request functions. Setting this field on an event function returns a validation
|
|
367
|
+
* error.
|
|
368
|
+
*/
|
|
369
|
+
listed_in_custom_apps?: boolean;
|
|
236
370
|
/**
|
|
237
371
|
* The function name
|
|
238
372
|
*/
|
|
239
373
|
name?: string;
|
|
374
|
+
/**
|
|
375
|
+
* Optional source ZIP checksum and size for request functions only. Create or
|
|
376
|
+
* update returns ephemeral source_upload_instructions; this input is not returned.
|
|
377
|
+
*/
|
|
378
|
+
source_upload?: FunctionCreateParams.SourceUpload;
|
|
379
|
+
/**
|
|
380
|
+
* Function type at creation. Defaults to event and cannot be changed afterward.
|
|
381
|
+
*/
|
|
382
|
+
type?: 'event' | 'request';
|
|
383
|
+
}
|
|
384
|
+
export declare namespace FunctionCreateParams {
|
|
385
|
+
/**
|
|
386
|
+
* Optional source ZIP checksum and size for request functions only. Create or
|
|
387
|
+
* update returns ephemeral source_upload_instructions; this input is not returned.
|
|
388
|
+
*/
|
|
389
|
+
interface SourceUpload {
|
|
390
|
+
/**
|
|
391
|
+
* SHA-256 of the exact ZIP bytes, written as 64 lowercase hexadecimal characters.
|
|
392
|
+
*/
|
|
393
|
+
sha256: string;
|
|
394
|
+
/**
|
|
395
|
+
* Exact ZIP size in bytes, from 1 through 67108864 (64 MiB).
|
|
396
|
+
*/
|
|
397
|
+
size_bytes: number;
|
|
398
|
+
}
|
|
240
399
|
}
|
|
241
400
|
export interface FunctionUpdateParams {
|
|
242
401
|
/**
|
|
@@ -251,10 +410,39 @@ export interface FunctionUpdateParams {
|
|
|
251
410
|
* The function description
|
|
252
411
|
*/
|
|
253
412
|
description?: string;
|
|
413
|
+
/**
|
|
414
|
+
* Whether this request-function is listed in the Custom Apps grid and navigation.
|
|
415
|
+
* Defaults to false on creation; omitted updates preserve the current value.
|
|
416
|
+
* Listing does not grant access or change deployment behavior. Only supported for
|
|
417
|
+
* request functions. Setting this field on an event function returns a validation
|
|
418
|
+
* error.
|
|
419
|
+
*/
|
|
420
|
+
listed_in_custom_apps?: boolean;
|
|
254
421
|
/**
|
|
255
422
|
* The function name
|
|
256
423
|
*/
|
|
257
424
|
name?: string;
|
|
425
|
+
/**
|
|
426
|
+
* Optional source ZIP checksum and size for request functions only. Create or
|
|
427
|
+
* update returns ephemeral source_upload_instructions; this input is not returned.
|
|
428
|
+
*/
|
|
429
|
+
source_upload?: FunctionUpdateParams.SourceUpload;
|
|
430
|
+
}
|
|
431
|
+
export declare namespace FunctionUpdateParams {
|
|
432
|
+
/**
|
|
433
|
+
* Optional source ZIP checksum and size for request functions only. Create or
|
|
434
|
+
* update returns ephemeral source_upload_instructions; this input is not returned.
|
|
435
|
+
*/
|
|
436
|
+
interface SourceUpload {
|
|
437
|
+
/**
|
|
438
|
+
* SHA-256 of the exact ZIP bytes, written as 64 lowercase hexadecimal characters.
|
|
439
|
+
*/
|
|
440
|
+
sha256: string;
|
|
441
|
+
/**
|
|
442
|
+
* Exact ZIP size in bytes, from 1 through 67108864 (64 MiB).
|
|
443
|
+
*/
|
|
444
|
+
size_bytes: number;
|
|
445
|
+
}
|
|
258
446
|
}
|
|
259
447
|
export interface FunctionCreateDevBundleParams {
|
|
260
448
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"functions.d.ts","sourceRoot":"","sources":["../../src/resources/functions/functions.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,+BAA4B;AAClD,OAAO,KAAK,cAAc,yBAAsB;AAChD,OAAO,EACL,sBAAsB,EACtB,wBAAwB,EACxB,0BAA0B,EAC1B,sBAAsB,EACtB,wBAAwB,EACxB,WAAW,EACX,kBAAkB,EACnB,yBAAsB;AACvB,OAAO,KAAK,aAAa,wBAAqB;AAC9C,OAAO,EACL,qBAAqB,EACrB,uBAAuB,EACvB,yBAAyB,EACzB,mBAAmB,EACnB,uBAAuB,EACvB,UAAU,EACV,iBAAiB,EACjB,+BAA+B,EAChC,wBAAqB;AACtB,OAAO,EAAE,UAAU,EAAE,kCAA+B;AACpD,OAAO,EAAE,aAAa,EAAE,WAAW,EAAE,iCAA8B;
|
|
1
|
+
{"version":3,"file":"functions.d.ts","sourceRoot":"","sources":["../../src/resources/functions/functions.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,+BAA4B;AAClD,OAAO,KAAK,cAAc,yBAAsB;AAChD,OAAO,EACL,sBAAsB,EACtB,wBAAwB,EACxB,0BAA0B,EAC1B,sBAAsB,EACtB,wBAAwB,EACxB,WAAW,EACX,kBAAkB,EACnB,yBAAsB;AACvB,OAAO,KAAK,aAAa,wBAAqB;AAC9C,OAAO,EACL,qBAAqB,EACrB,uBAAuB,EACvB,yBAAyB,EACzB,mBAAmB,EACnB,uBAAuB,EACvB,UAAU,EACV,iBAAiB,EACjB,+BAA+B,EAChC,wBAAqB;AACtB,OAAO,EAAE,UAAU,EAAE,kCAA+B;AACpD,OAAO,EAAE,aAAa,EAAE,WAAW,EAAE,iCAA8B;AAEnE,OAAO,EAAE,cAAc,EAAE,0CAAuC;AAGhE;;GAEG;AACH,qBAAa,SAAU,SAAQ,WAAW;IACxC,WAAW,EAAE,cAAc,CAAC,WAAW,CAAgD;IACvF,UAAU,EAA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AAM,WAAW,6BAA6B;CAAG;AAKjD,MAAM,CAAC,OAAO,WAAW,SAAS,CAAC;IACjC,OAAO,EACL,KAAK,QAAQ,IAAI,QAAQ,EACzB,KAAK,+BAA+B,IAAI,+BAA+B,EACvE,KAAK,sBAAsB,IAAI,sBAAsB,EACrD,KAAK,kBAAkB,IAAI,kBAAkB,EAC7C,KAAK,oBAAoB,IAAI,oBAAoB,EACjD,KAAK,oBAAoB,IAAI,oBAAoB,EACjD,KAAK,6BAA6B,IAAI,6BAA6B,GACpE,CAAC;IAEF,OAAO,EACL,WAAW,IAAI,WAAW,EAC1B,KAAK,kBAAkB,IAAI,kBAAkB,EAC7C,KAAK,sBAAsB,IAAI,sBAAsB,EACrD,KAAK,0BAA0B,IAAI,0BAA0B,EAC7D,KAAK,sBAAsB,IAAI,sBAAsB,EACrD,KAAK,wBAAwB,IAAI,wBAAwB,EACzD,KAAK,wBAAwB,IAAI,wBAAwB,GAC1D,CAAC;IAEF,OAAO,EACL,UAAU,IAAI,UAAU,EACxB,KAAK,iBAAiB,IAAI,iBAAiB,EAC3C,KAAK,yBAAyB,IAAI,yBAAyB,EAC3D,KAAK,+BAA+B,IAAI,+BAA+B,EACvE,KAAK,mBAAmB,IAAI,mBAAmB,EAC/C,KAAK,qBAAqB,IAAI,qBAAqB,EACnD,KAAK,uBAAuB,IAAI,uBAAuB,EACvD,KAAK,uBAAuB,IAAI,uBAAuB,GACxD,CAAC;CACH"}
|
|
@@ -9,6 +9,7 @@ const deployments_1 = require("./deployments.js");
|
|
|
9
9
|
const ExecutionsAPI = tslib_1.__importStar(require("./executions.js"));
|
|
10
10
|
const executions_1 = require("./executions.js");
|
|
11
11
|
const pagination_1 = require("../../core/pagination.js");
|
|
12
|
+
const headers_1 = require("../../internal/headers.js");
|
|
12
13
|
const path_1 = require("../../internal/utils/path.js");
|
|
13
14
|
/**
|
|
14
15
|
* Functions defined by the company
|
|
@@ -47,7 +48,15 @@ class Functions extends resource_1.APIResource {
|
|
|
47
48
|
* "description": "string",
|
|
48
49
|
* "code_draft": "string",
|
|
49
50
|
* "dependencies": {},
|
|
50
|
-
* "is_async": false
|
|
51
|
+
* "is_async": false,
|
|
52
|
+
* "listed_in_custom_apps": false,
|
|
53
|
+
* "source_upload_instructions": {
|
|
54
|
+
* "url": "string",
|
|
55
|
+
* "method": "POST",
|
|
56
|
+
* "fields": {},
|
|
57
|
+
* "expires_at": "string",
|
|
58
|
+
* "archive": {}
|
|
59
|
+
* }
|
|
51
60
|
* }
|
|
52
61
|
* ],
|
|
53
62
|
* "next_link": "string"
|
|
@@ -83,7 +92,19 @@ class Functions extends resource_1.APIResource {
|
|
|
83
92
|
* "description": "string",
|
|
84
93
|
* "code_draft": "string",
|
|
85
94
|
* "dependencies": {},
|
|
86
|
-
* "is_async": false
|
|
95
|
+
* "is_async": false,
|
|
96
|
+
* "listed_in_custom_apps": false,
|
|
97
|
+
* "source_upload_instructions": {
|
|
98
|
+
* "url": "string",
|
|
99
|
+
* "method": "POST",
|
|
100
|
+
* "fields": {},
|
|
101
|
+
* "expires_at": "string",
|
|
102
|
+
* "archive": {
|
|
103
|
+
* "object_key": "string",
|
|
104
|
+
* "sha256": "string",
|
|
105
|
+
* "size_bytes": 0
|
|
106
|
+
* }
|
|
107
|
+
* }
|
|
87
108
|
* }
|
|
88
109
|
* ```
|
|
89
110
|
*/
|
|
@@ -113,7 +134,19 @@ class Functions extends resource_1.APIResource {
|
|
|
113
134
|
* "description": "string",
|
|
114
135
|
* "code_draft": "string",
|
|
115
136
|
* "dependencies": {},
|
|
116
|
-
* "is_async": false
|
|
137
|
+
* "is_async": false,
|
|
138
|
+
* "listed_in_custom_apps": false,
|
|
139
|
+
* "source_upload_instructions": {
|
|
140
|
+
* "url": "string",
|
|
141
|
+
* "method": "POST",
|
|
142
|
+
* "fields": {},
|
|
143
|
+
* "expires_at": "string",
|
|
144
|
+
* "archive": {
|
|
145
|
+
* "object_key": "string",
|
|
146
|
+
* "sha256": "string",
|
|
147
|
+
* "size_bytes": 0
|
|
148
|
+
* }
|
|
149
|
+
* }
|
|
117
150
|
* }
|
|
118
151
|
* ```
|
|
119
152
|
*/
|
|
@@ -146,13 +179,48 @@ class Functions extends resource_1.APIResource {
|
|
|
146
179
|
* "description": "string",
|
|
147
180
|
* "code_draft": "string",
|
|
148
181
|
* "dependencies": {},
|
|
149
|
-
* "is_async": false
|
|
182
|
+
* "is_async": false,
|
|
183
|
+
* "listed_in_custom_apps": false,
|
|
184
|
+
* "source_upload_instructions": {
|
|
185
|
+
* "url": "string",
|
|
186
|
+
* "method": "POST",
|
|
187
|
+
* "fields": {},
|
|
188
|
+
* "expires_at": "string",
|
|
189
|
+
* "archive": {
|
|
190
|
+
* "object_key": "string",
|
|
191
|
+
* "sha256": "string",
|
|
192
|
+
* "size_bytes": 0
|
|
193
|
+
* }
|
|
194
|
+
* }
|
|
150
195
|
* }
|
|
151
196
|
* ```
|
|
152
197
|
*/
|
|
153
198
|
update(functionAPIName, body = {}, options) {
|
|
154
199
|
return this._client.patch((0, path_1.path) `/functions/${functionAPIName}/`, { body, ...options });
|
|
155
200
|
}
|
|
201
|
+
/**
|
|
202
|
+
* Permanently delete a function. A successful 204 response has no body. Functions
|
|
203
|
+
* with dependencies cannot be deleted; resolve the dependencies identified in the
|
|
204
|
+
* 409 response and submit a new request. Do not automatically retry this request
|
|
205
|
+
* after an unknown outcome: after a successful deletion, subsequent requests
|
|
206
|
+
* return 404.
|
|
207
|
+
*
|
|
208
|
+
* @example HTTP
|
|
209
|
+
* Representative request and response shapes.
|
|
210
|
+
* ```
|
|
211
|
+
* DELETE /functions/{function_api_name}/ HTTP/1.1
|
|
212
|
+
* Host: rest.ripplingapis.com
|
|
213
|
+
* Rippling-Api-Version: 2024-08-01
|
|
214
|
+
*
|
|
215
|
+
* HTTP/1.1 204 No Content
|
|
216
|
+
* ```
|
|
217
|
+
*/
|
|
218
|
+
delete(functionAPIName, options) {
|
|
219
|
+
return this._client.delete((0, path_1.path) `/functions/${functionAPIName}/`, {
|
|
220
|
+
...options,
|
|
221
|
+
headers: (0, headers_1.buildHeaders)([{ Accept: '*/*' }, options?.headers]),
|
|
222
|
+
});
|
|
223
|
+
}
|
|
156
224
|
/**
|
|
157
225
|
* Create a new function dev bundle.
|
|
158
226
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"functions.js","sourceRoot":"","sources":["../../src/resources/functions/functions.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;;AAEtF,qDAAkD;AAClD,yEAAgD;AAChD,kDAQuB;AACvB,uEAA8C;AAC9C,gDASsB;AAEtB,yDAAmE;
|
|
1
|
+
{"version":3,"file":"functions.js","sourceRoot":"","sources":["../../src/resources/functions/functions.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;;AAEtF,qDAAkD;AAClD,yEAAgD;AAChD,kDAQuB;AACvB,uEAA8C;AAC9C,gDASsB;AAEtB,yDAAmE;AACnE,uDAAsD;AAEtD,uDAAiD;AAEjD;;GAEG;AACH,MAAa,SAAU,SAAQ,sBAAW;IAA1C;;QACE,gBAAW,GAA+B,IAAI,cAAc,CAAC,WAAW,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QACvF,eAAU,GAA6B,IAAI,aAAa,CAAC,UAAU,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;IAiPpF,CAAC;IA/OC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OA0CG;IACH,IAAI,CACF,QAA+C,EAAE,EACjD,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,UAAU,CAAC,aAAa,EAAE,CAAA,0BAAuB,CAAA,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAChG,CAAC;IAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OAyCG;IACH,MAAM,CAAC,OAAgD,EAAE,EAAE,OAAwB;QACjF,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,a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