@rippling/rippling-sdk 0.2.0-alpha.110 → 0.2.0-alpha.111
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/client.d.mts +58 -7
- package/client.d.mts.map +1 -1
- package/client.d.ts +58 -7
- package/client.d.ts.map +1 -1
- package/client.js +54 -3
- package/client.js.map +1 -1
- package/client.mjs +54 -3
- package/client.mjs.map +1 -1
- package/core/platform/custom-objects/manager.d.mts +43 -23
- package/core/platform/custom-objects/manager.d.mts.map +1 -1
- package/core/platform/custom-objects/manager.d.ts +43 -23
- package/core/platform/custom-objects/manager.d.ts.map +1 -1
- package/core/platform/custom-objects/manager.js +21 -17
- package/core/platform/custom-objects/manager.js.map +1 -1
- package/core/platform/custom-objects/manager.mjs +21 -17
- package/core/platform/custom-objects/manager.mjs.map +1 -1
- package/core/platform/custom-objects.d.mts +1 -1
- package/core/platform/custom-objects.d.mts.map +1 -1
- package/core/platform/custom-objects.d.ts +1 -1
- package/core/platform/custom-objects.d.ts.map +1 -1
- package/core/platform/custom-objects.js.map +1 -1
- package/core/platform/custom-objects.mjs.map +1 -1
- package/examples/manifest/acp-agent/acp-agent.ts +27 -23
- package/lib/manifest/acp-agent.d.mts +1 -1
- package/lib/manifest/acp-agent.d.mts.map +1 -1
- package/lib/manifest/acp-agent.d.ts +1 -1
- package/lib/manifest/acp-agent.d.ts.map +1 -1
- package/lib/manifest/acp-agent.js +6 -0
- package/lib/manifest/acp-agent.js.map +1 -1
- package/lib/manifest/acp-agent.mjs +6 -0
- package/lib/manifest/acp-agent.mjs.map +1 -1
- package/lib/manifest/definitions/_object-records.d.mts.map +1 -1
- package/lib/manifest/definitions/_object-records.d.ts.map +1 -1
- package/lib/manifest/definitions/_object-records.js +10 -8
- package/lib/manifest/definitions/_object-records.js.map +1 -1
- package/lib/manifest/definitions/_object-records.mjs +10 -8
- package/lib/manifest/definitions/_object-records.mjs.map +1 -1
- package/lib/manifest/definitions/custom-object.d.mts +10 -10
- package/lib/manifest/definitions/custom-object.d.mts.map +1 -1
- package/lib/manifest/definitions/custom-object.d.ts +10 -10
- package/lib/manifest/definitions/custom-object.d.ts.map +1 -1
- package/lib/manifest/definitions/custom-object.js.map +1 -1
- package/lib/manifest/definitions/custom-object.mjs.map +1 -1
- package/package.json +1 -1
- package/resources/activity-log.d.mts +1 -1
- package/resources/activity-log.d.ts +1 -1
- package/resources/activity-log.js +1 -1
- package/resources/activity-log.mjs +1 -1
- package/resources/agents/sessions/messages.d.mts +10 -1
- package/resources/agents/sessions/messages.d.mts.map +1 -1
- package/resources/agents/sessions/messages.d.ts +10 -1
- package/resources/agents/sessions/messages.d.ts.map +1 -1
- package/resources/agents/sessions/sessions.d.mts +30 -3
- package/resources/agents/sessions/sessions.d.mts.map +1 -1
- package/resources/agents/sessions/sessions.d.ts +30 -3
- package/resources/agents/sessions/sessions.d.ts.map +1 -1
- package/resources/agents/sessions/sessions.js.map +1 -1
- package/resources/agents/sessions/sessions.mjs.map +1 -1
- package/resources/bills.d.mts +1343 -0
- package/resources/bills.d.mts.map +1 -0
- package/resources/bills.d.ts +1343 -0
- package/resources/bills.d.ts.map +1 -0
- package/resources/bills.js +214 -0
- package/resources/bills.js.map +1 -0
- package/resources/bills.mjs +210 -0
- package/resources/bills.mjs.map +1 -0
- package/resources/card-transactions.d.mts +607 -49
- package/resources/card-transactions.d.mts.map +1 -1
- package/resources/card-transactions.d.ts +607 -49
- package/resources/card-transactions.d.ts.map +1 -1
- package/resources/card-transactions.js +73 -12
- package/resources/card-transactions.js.map +1 -1
- package/resources/card-transactions.mjs +73 -12
- package/resources/card-transactions.mjs.map +1 -1
- package/resources/custom-objects/custom-objects.d.mts +39 -3
- package/resources/custom-objects/custom-objects.d.mts.map +1 -1
- package/resources/custom-objects/custom-objects.d.ts +39 -3
- package/resources/custom-objects/custom-objects.d.ts.map +1 -1
- package/resources/custom-objects/custom-objects.js +38 -2
- package/resources/custom-objects/custom-objects.js.map +1 -1
- package/resources/custom-objects/custom-objects.mjs +38 -2
- package/resources/custom-objects/custom-objects.mjs.map +1 -1
- package/resources/custom-objects/fields.d.mts +44 -0
- package/resources/custom-objects/fields.d.mts.map +1 -1
- package/resources/custom-objects/fields.d.ts +44 -0
- package/resources/custom-objects/fields.d.ts.map +1 -1
- package/resources/custom-objects/fields.js +44 -0
- package/resources/custom-objects/fields.js.map +1 -1
- package/resources/custom-objects/fields.mjs +44 -0
- package/resources/custom-objects/fields.mjs.map +1 -1
- package/resources/custom-objects/index.d.mts +2 -1
- package/resources/custom-objects/index.d.mts.map +1 -1
- package/resources/custom-objects/index.d.ts +2 -1
- package/resources/custom-objects/index.d.ts.map +1 -1
- package/resources/custom-objects/index.js +5 -3
- package/resources/custom-objects/index.js.map +1 -1
- package/resources/custom-objects/index.mjs +2 -1
- package/resources/custom-objects/index.mjs.map +1 -1
- package/resources/custom-objects/list-views/capabilities.d.mts +63 -0
- package/resources/custom-objects/list-views/capabilities.d.mts.map +1 -0
- package/resources/custom-objects/list-views/capabilities.d.ts +63 -0
- package/resources/custom-objects/list-views/capabilities.d.ts.map +1 -0
- package/resources/custom-objects/list-views/capabilities.js +48 -0
- package/resources/custom-objects/list-views/capabilities.js.map +1 -0
- package/resources/custom-objects/list-views/capabilities.mjs +44 -0
- package/resources/custom-objects/list-views/capabilities.mjs.map +1 -0
- package/resources/custom-objects/list-views/default.d.mts +69 -0
- package/resources/custom-objects/list-views/default.d.mts.map +1 -0
- package/resources/custom-objects/list-views/default.d.ts +69 -0
- package/resources/custom-objects/list-views/default.d.ts.map +1 -0
- package/resources/custom-objects/list-views/default.js +59 -0
- package/resources/custom-objects/list-views/default.js.map +1 -0
- package/resources/custom-objects/list-views/default.mjs +55 -0
- package/resources/custom-objects/list-views/default.mjs.map +1 -0
- package/resources/custom-objects/list-views/index.d.mts +4 -0
- package/resources/custom-objects/list-views/index.d.mts.map +1 -0
- package/resources/custom-objects/list-views/index.d.ts +4 -0
- package/resources/custom-objects/list-views/index.d.ts.map +1 -0
- package/resources/custom-objects/list-views/index.js +11 -0
- package/resources/custom-objects/list-views/index.js.map +1 -0
- package/resources/custom-objects/list-views/index.mjs +5 -0
- package/resources/custom-objects/list-views/index.mjs.map +1 -0
- package/resources/custom-objects/list-views/list-views.d.mts +806 -0
- package/resources/custom-objects/list-views/list-views.d.mts.map +1 -0
- package/resources/custom-objects/list-views/list-views.d.ts +806 -0
- package/resources/custom-objects/list-views/list-views.d.ts.map +1 -0
- package/resources/custom-objects/list-views/list-views.js +314 -0
- package/resources/custom-objects/list-views/list-views.js.map +1 -0
- package/resources/custom-objects/list-views/list-views.mjs +309 -0
- package/resources/custom-objects/list-views/list-views.mjs.map +1 -0
- package/resources/custom-objects/list-views.d.mts +2 -0
- package/resources/custom-objects/list-views.d.mts.map +1 -0
- package/resources/custom-objects/list-views.d.ts +2 -0
- package/resources/custom-objects/list-views.d.ts.map +1 -0
- package/resources/custom-objects/list-views.js +6 -0
- package/resources/custom-objects/list-views.js.map +1 -0
- package/resources/custom-objects/list-views.mjs +3 -0
- package/resources/custom-objects/list-views.mjs.map +1 -0
- package/resources/custom-objects/records/capabilities.d.mts +61 -0
- package/resources/custom-objects/records/capabilities.d.mts.map +1 -0
- package/resources/custom-objects/records/capabilities.d.ts +61 -0
- package/resources/custom-objects/records/capabilities.d.ts.map +1 -0
- package/resources/custom-objects/records/capabilities.js +47 -0
- package/resources/custom-objects/records/capabilities.js.map +1 -0
- package/resources/custom-objects/records/capabilities.mjs +43 -0
- package/resources/custom-objects/records/capabilities.mjs.map +1 -0
- package/resources/custom-objects/records/index.d.mts +3 -0
- package/resources/custom-objects/records/index.d.mts.map +1 -0
- package/resources/custom-objects/records/index.d.ts +3 -0
- package/resources/custom-objects/records/index.d.ts.map +1 -0
- package/resources/custom-objects/records/index.js +9 -0
- package/resources/custom-objects/records/index.js.map +1 -0
- package/resources/custom-objects/records/index.mjs +4 -0
- package/resources/custom-objects/records/index.mjs.map +1 -0
- package/resources/custom-objects/records/records.d.mts +787 -0
- package/resources/custom-objects/records/records.d.mts.map +1 -0
- package/resources/custom-objects/records/records.d.ts +787 -0
- package/resources/custom-objects/records/records.d.ts.map +1 -0
- package/resources/custom-objects/records/records.js +543 -0
- package/resources/custom-objects/records/records.js.map +1 -0
- package/resources/custom-objects/records/records.mjs +538 -0
- package/resources/custom-objects/records/records.mjs.map +1 -0
- package/resources/custom-objects/records.d.mts +1 -561
- package/resources/custom-objects/records.d.mts.map +1 -1
- package/resources/custom-objects/records.d.ts +1 -561
- package/resources/custom-objects/records.d.ts.map +1 -1
- package/resources/custom-objects/records.js +2 -444
- package/resources/custom-objects/records.js.map +1 -1
- package/resources/custom-objects/records.mjs +1 -442
- package/resources/custom-objects/records.mjs.map +1 -1
- package/resources/devices.d.mts +2 -2
- package/resources/devices.d.mts.map +1 -1
- package/resources/devices.d.ts +2 -2
- package/resources/devices.d.ts.map +1 -1
- package/resources/draft-transitions.d.mts +241 -307
- package/resources/draft-transitions.d.mts.map +1 -1
- package/resources/draft-transitions.d.ts +241 -307
- package/resources/draft-transitions.d.ts.map +1 -1
- package/resources/draft-transitions.js +49 -23
- package/resources/draft-transitions.js.map +1 -1
- package/resources/draft-transitions.mjs +49 -23
- package/resources/draft-transitions.mjs.map +1 -1
- package/resources/employee-documents.d.mts +2 -2
- package/resources/employee-documents.d.ts +2 -2
- package/resources/{spend-categories.d.mts → finance-categories.d.mts} +21 -18
- package/resources/finance-categories.d.mts.map +1 -0
- package/resources/{spend-categories.d.ts → finance-categories.d.ts} +21 -18
- package/resources/finance-categories.d.ts.map +1 -0
- package/resources/{spend-categories.js → finance-categories.js} +14 -11
- package/resources/finance-categories.js.map +1 -0
- package/resources/{spend-categories.mjs → finance-categories.mjs} +12 -9
- package/resources/finance-categories.mjs.map +1 -0
- package/resources/finance-vendors.d.mts +154 -0
- package/resources/finance-vendors.d.mts.map +1 -0
- package/resources/finance-vendors.d.ts +154 -0
- package/resources/finance-vendors.d.ts.map +1 -0
- package/resources/finance-vendors.js +87 -0
- package/resources/finance-vendors.js.map +1 -0
- package/resources/finance-vendors.mjs +83 -0
- package/resources/finance-vendors.mjs.map +1 -0
- package/resources/functions/executions.d.mts +4 -1
- package/resources/functions/executions.d.mts.map +1 -1
- package/resources/functions/executions.d.ts +4 -1
- package/resources/functions/executions.d.ts.map +1 -1
- package/resources/functions/executions.js +4 -1
- package/resources/functions/executions.js.map +1 -1
- package/resources/functions/executions.mjs +4 -1
- package/resources/functions/executions.mjs.map +1 -1
- package/resources/functions/functions.d.mts +192 -4
- package/resources/functions/functions.d.mts.map +1 -1
- package/resources/functions/functions.d.ts +192 -4
- package/resources/functions/functions.d.ts.map +1 -1
- package/resources/functions/functions.js +72 -4
- package/resources/functions/functions.js.map +1 -1
- package/resources/functions/functions.mjs +72 -4
- package/resources/functions/functions.mjs.map +1 -1
- package/resources/hire-requirements.d.mts +98 -9
- package/resources/hire-requirements.d.mts.map +1 -1
- package/resources/hire-requirements.d.ts +98 -9
- package/resources/hire-requirements.d.ts.map +1 -1
- package/resources/hire-requirements.js +23 -4
- package/resources/hire-requirements.js.map +1 -1
- package/resources/hire-requirements.mjs +23 -4
- package/resources/hire-requirements.mjs.map +1 -1
- package/resources/hires.d.mts +1636 -510
- package/resources/hires.d.mts.map +1 -1
- package/resources/hires.d.ts +1636 -510
- package/resources/hires.d.ts.map +1 -1
- package/resources/hires.js +10 -4
- package/resources/hires.js.map +1 -1
- package/resources/hires.mjs +10 -4
- package/resources/hires.mjs.map +1 -1
- package/resources/index.d.mts +11 -3
- package/resources/index.d.mts.map +1 -1
- package/resources/index.d.ts +11 -3
- package/resources/index.d.ts.map +1 -1
- package/resources/index.js +21 -5
- package/resources/index.js.map +1 -1
- package/resources/index.mjs +9 -1
- package/resources/index.mjs.map +1 -1
- package/resources/leave-requests.d.mts +11 -2
- package/resources/leave-requests.d.mts.map +1 -1
- package/resources/leave-requests.d.ts +11 -2
- package/resources/leave-requests.d.ts.map +1 -1
- package/resources/leave-requests.js +11 -2
- package/resources/leave-requests.js.map +1 -1
- package/resources/leave-requests.mjs +11 -2
- package/resources/leave-requests.mjs.map +1 -1
- package/resources/object-categories.d.mts +2 -1
- package/resources/object-categories.d.mts.map +1 -1
- package/resources/object-categories.d.ts +2 -1
- package/resources/object-categories.d.ts.map +1 -1
- package/resources/object-categories.js +2 -1
- package/resources/object-categories.js.map +1 -1
- package/resources/object-categories.mjs +2 -1
- package/resources/object-categories.mjs.map +1 -1
- package/resources/package-components/extract.d.mts +121 -0
- package/resources/package-components/extract.d.mts.map +1 -0
- package/resources/package-components/extract.d.ts +121 -0
- package/resources/package-components/extract.d.ts.map +1 -0
- package/resources/package-components/extract.js +69 -0
- package/resources/package-components/extract.js.map +1 -0
- package/resources/package-components/extract.mjs +65 -0
- package/resources/package-components/extract.mjs.map +1 -0
- package/resources/package-components/index.d.mts +4 -0
- package/resources/package-components/index.d.mts.map +1 -0
- package/resources/package-components/index.d.ts +4 -0
- package/resources/package-components/index.d.ts.map +1 -0
- package/resources/package-components/index.js +11 -0
- package/resources/package-components/index.js.map +1 -0
- package/resources/package-components/index.mjs +5 -0
- package/resources/package-components/index.mjs.map +1 -0
- package/resources/package-components/package-components.d.mts +99 -0
- package/resources/package-components/package-components.d.mts.map +1 -0
- package/resources/package-components/package-components.d.ts +99 -0
- package/resources/package-components/package-components.d.ts.map +1 -0
- package/resources/package-components/package-components.js +63 -0
- package/resources/package-components/package-components.js.map +1 -0
- package/resources/package-components/package-components.mjs +58 -0
- package/resources/package-components/package-components.mjs.map +1 -0
- package/resources/package-components/types.d.mts +56 -0
- package/resources/package-components/types.d.mts.map +1 -0
- package/resources/package-components/types.d.ts +56 -0
- package/resources/package-components/types.d.ts.map +1 -0
- package/resources/package-components/types.js +40 -0
- package/resources/package-components/types.js.map +1 -0
- package/resources/package-components/types.mjs +36 -0
- package/resources/package-components/types.mjs.map +1 -0
- package/resources/package-components.d.mts +2 -0
- package/resources/package-components.d.mts.map +1 -0
- package/resources/package-components.d.ts +2 -0
- package/resources/package-components.d.ts.map +1 -0
- package/resources/package-components.js +6 -0
- package/resources/package-components.js.map +1 -0
- package/resources/package-components.mjs +3 -0
- package/resources/package-components.mjs.map +1 -0
- package/resources/package-installs.d.mts +96 -9
- package/resources/package-installs.d.mts.map +1 -1
- package/resources/package-installs.d.ts +96 -9
- package/resources/package-installs.d.ts.map +1 -1
- package/resources/package-installs.js +20 -3
- package/resources/package-installs.js.map +1 -1
- package/resources/package-installs.mjs +20 -3
- package/resources/package-installs.mjs.map +1 -1
- package/resources/package-managed-installs.d.mts +104 -7
- package/resources/package-managed-installs.d.mts.map +1 -1
- package/resources/package-managed-installs.d.ts +104 -7
- package/resources/package-managed-installs.d.ts.map +1 -1
- package/resources/package-managed-installs.js +22 -3
- package/resources/package-managed-installs.js.map +1 -1
- package/resources/package-managed-installs.mjs +22 -3
- package/resources/package-managed-installs.mjs.map +1 -1
- package/resources/package-manifests/index.d.mts +4 -0
- package/resources/package-manifests/index.d.mts.map +1 -0
- package/resources/package-manifests/index.d.ts +4 -0
- package/resources/package-manifests/index.d.ts.map +1 -0
- package/resources/package-manifests/index.js +11 -0
- package/resources/package-manifests/index.js.map +1 -0
- package/resources/package-manifests/index.mjs +5 -0
- package/resources/package-manifests/index.mjs.map +1 -0
- package/resources/package-manifests/package-manifests.d.mts +14 -0
- package/resources/package-manifests/package-manifests.d.mts.map +1 -0
- package/resources/package-manifests/package-manifests.d.ts +14 -0
- package/resources/package-manifests/package-manifests.d.ts.map +1 -0
- package/resources/package-manifests/package-manifests.js +21 -0
- package/resources/package-manifests/package-manifests.js.map +1 -0
- package/resources/package-manifests/package-manifests.mjs +16 -0
- package/resources/package-manifests/package-manifests.mjs.map +1 -0
- package/resources/package-manifests/packages/index.d.mts +3 -0
- package/resources/package-manifests/packages/index.d.mts.map +1 -0
- package/resources/package-manifests/packages/index.d.ts +3 -0
- package/resources/package-manifests/packages/index.d.ts.map +1 -0
- package/resources/package-manifests/packages/index.js +9 -0
- package/resources/package-manifests/packages/index.js.map +1 -0
- package/resources/package-manifests/packages/index.mjs +4 -0
- package/resources/package-manifests/packages/index.mjs.map +1 -0
- package/resources/package-manifests/packages/packages.d.mts +10 -0
- package/resources/package-manifests/packages/packages.d.mts.map +1 -0
- package/resources/package-manifests/packages/packages.d.ts +10 -0
- package/resources/package-manifests/packages/packages.d.ts.map +1 -0
- package/resources/package-manifests/packages/packages.js +17 -0
- package/resources/package-manifests/packages/packages.js.map +1 -0
- package/resources/package-manifests/packages/packages.mjs +12 -0
- package/resources/package-manifests/packages/packages.mjs.map +1 -0
- package/resources/package-manifests/packages/versions.d.mts +199 -0
- package/resources/package-manifests/packages/versions.d.mts.map +1 -0
- package/resources/package-manifests/packages/versions.d.ts +199 -0
- package/resources/package-manifests/packages/versions.d.ts.map +1 -0
- package/resources/package-manifests/packages/versions.js +68 -0
- package/resources/package-manifests/packages/versions.js.map +1 -0
- package/resources/package-manifests/packages/versions.mjs +64 -0
- package/resources/package-manifests/packages/versions.mjs.map +1 -0
- package/resources/package-manifests/packages.d.mts +2 -0
- package/resources/package-manifests/packages.d.mts.map +1 -0
- package/resources/package-manifests/packages.d.ts +2 -0
- package/resources/package-manifests/packages.d.ts.map +1 -0
- package/resources/package-manifests/packages.js +6 -0
- package/resources/package-manifests/packages.js.map +1 -0
- package/resources/package-manifests/packages.mjs +3 -0
- package/resources/package-manifests/packages.mjs.map +1 -0
- package/resources/package-manifests/versions.d.mts +84 -0
- package/resources/package-manifests/versions.d.mts.map +1 -0
- package/resources/package-manifests/versions.d.ts +84 -0
- package/resources/package-manifests/versions.d.ts.map +1 -0
- package/resources/package-manifests/versions.js +44 -0
- package/resources/package-manifests/versions.js.map +1 -0
- package/resources/package-manifests/versions.mjs +40 -0
- package/resources/package-manifests/versions.mjs.map +1 -0
- package/resources/package-manifests.d.mts +2 -0
- package/resources/package-manifests.d.mts.map +1 -0
- package/resources/package-manifests.d.ts +2 -0
- package/resources/package-manifests.d.ts.map +1 -0
- package/resources/package-manifests.js +6 -0
- package/resources/package-manifests.js.map +1 -0
- package/resources/package-manifests.mjs +3 -0
- package/resources/package-manifests.mjs.map +1 -0
- package/resources/package-versions/package-versions.d.mts +104 -14
- package/resources/package-versions/package-versions.d.mts.map +1 -1
- package/resources/package-versions/package-versions.d.ts +104 -14
- package/resources/package-versions/package-versions.d.ts.map +1 -1
- package/resources/package-versions/package-versions.js +30 -9
- package/resources/package-versions/package-versions.js.map +1 -1
- package/resources/package-versions/package-versions.mjs +30 -9
- package/resources/package-versions/package-versions.mjs.map +1 -1
- package/resources/package-versions/publish.d.mts +40 -4
- package/resources/package-versions/publish.d.mts.map +1 -1
- package/resources/package-versions/publish.d.ts +40 -4
- package/resources/package-versions/publish.d.ts.map +1 -1
- package/resources/package-versions/publish.js +8 -2
- package/resources/package-versions/publish.js.map +1 -1
- package/resources/package-versions/publish.mjs +8 -2
- package/resources/package-versions/publish.mjs.map +1 -1
- package/resources/packages/next-versions.d.mts +40 -4
- package/resources/packages/next-versions.d.mts.map +1 -1
- package/resources/packages/next-versions.d.ts +40 -4
- package/resources/packages/next-versions.d.ts.map +1 -1
- package/resources/packages/next-versions.js +8 -2
- package/resources/packages/next-versions.js.map +1 -1
- package/resources/packages/next-versions.mjs +8 -2
- package/resources/packages/next-versions.mjs.map +1 -1
- package/resources/packages/versions.d.mts +80 -9
- package/resources/packages/versions.d.mts.map +1 -1
- package/resources/packages/versions.d.ts +80 -9
- package/resources/packages/versions.d.ts.map +1 -1
- package/resources/packages/versions.js +16 -5
- package/resources/packages/versions.js.map +1 -1
- package/resources/packages/versions.mjs +16 -5
- package/resources/packages/versions.mjs.map +1 -1
- package/resources/payroll-runs/off-cycle.d.mts +17 -9
- package/resources/payroll-runs/off-cycle.d.mts.map +1 -1
- package/resources/payroll-runs/off-cycle.d.ts +17 -9
- package/resources/payroll-runs/off-cycle.d.ts.map +1 -1
- package/resources/payroll-runs/off-cycle.js +9 -5
- package/resources/payroll-runs/off-cycle.js.map +1 -1
- package/resources/payroll-runs/off-cycle.mjs +9 -5
- package/resources/payroll-runs/off-cycle.mjs.map +1 -1
- package/resources/permissions/index.d.mts +3 -0
- package/resources/permissions/index.d.mts.map +1 -0
- package/resources/permissions/index.d.ts +3 -0
- package/resources/permissions/index.d.ts.map +1 -0
- package/resources/permissions/index.js +9 -0
- package/resources/permissions/index.js.map +1 -0
- package/resources/permissions/index.mjs +4 -0
- package/resources/permissions/index.mjs.map +1 -0
- package/resources/permissions/permission-profiles.d.mts +43 -0
- package/resources/permissions/permission-profiles.d.mts.map +1 -0
- package/resources/permissions/permission-profiles.d.ts +43 -0
- package/resources/permissions/permission-profiles.d.ts.map +1 -0
- package/resources/permissions/permission-profiles.js +36 -0
- package/resources/permissions/permission-profiles.js.map +1 -0
- package/resources/permissions/permission-profiles.mjs +32 -0
- package/resources/permissions/permission-profiles.mjs.map +1 -0
- package/resources/permissions/permissions.d.mts +10 -0
- package/resources/permissions/permissions.d.mts.map +1 -0
- package/resources/permissions/permissions.d.ts +10 -0
- package/resources/permissions/permissions.d.ts.map +1 -0
- package/resources/permissions/permissions.js +17 -0
- package/resources/permissions/permissions.js.map +1 -0
- package/resources/permissions/permissions.mjs +12 -0
- package/resources/permissions/permissions.mjs.map +1 -0
- package/resources/permissions.d.mts +2 -0
- package/resources/permissions.d.mts.map +1 -0
- package/resources/permissions.d.ts +2 -0
- package/resources/permissions.d.ts.map +1 -0
- package/resources/permissions.js +6 -0
- package/resources/permissions.js.map +1 -0
- package/resources/permissions.mjs +3 -0
- package/resources/permissions.mjs.map +1 -0
- package/resources/record-detail-reference-options.d.mts +111 -0
- package/resources/record-detail-reference-options.d.mts.map +1 -0
- package/resources/record-detail-reference-options.d.ts +111 -0
- package/resources/record-detail-reference-options.d.ts.map +1 -0
- package/resources/record-detail-reference-options.js +54 -0
- package/resources/record-detail-reference-options.js.map +1 -0
- package/resources/record-detail-reference-options.mjs +50 -0
- package/resources/record-detail-reference-options.mjs.map +1 -0
- package/resources/record-detail-related-records.d.mts +1070 -0
- package/resources/record-detail-related-records.d.mts.map +1 -0
- package/resources/record-detail-related-records.d.ts +1070 -0
- package/resources/record-detail-related-records.d.ts.map +1 -0
- package/resources/record-detail-related-records.js +49 -0
- package/resources/record-detail-related-records.js.map +1 -0
- package/resources/record-detail-related-records.mjs +45 -0
- package/resources/record-detail-related-records.mjs.map +1 -0
- package/resources/record-details.d.mts +1227 -0
- package/resources/record-details.d.mts.map +1 -0
- package/resources/record-details.d.ts +1227 -0
- package/resources/record-details.d.ts.map +1 -0
- package/resources/record-details.js +71 -0
- package/resources/record-details.js.map +1 -0
- package/resources/record-details.mjs +67 -0
- package/resources/record-details.mjs.map +1 -0
- package/resources/reimbursements.d.mts +2158 -90
- package/resources/reimbursements.d.mts.map +1 -1
- package/resources/reimbursements.d.ts +2158 -90
- package/resources/reimbursements.d.ts.map +1 -1
- package/resources/reimbursements.js +306 -16
- package/resources/reimbursements.js.map +1 -1
- package/resources/reimbursements.mjs +306 -16
- package/resources/reimbursements.mjs.map +1 -1
- package/resources/report-runs.d.mts +2 -1
- package/resources/report-runs.d.mts.map +1 -1
- package/resources/report-runs.d.ts +2 -1
- package/resources/report-runs.d.ts.map +1 -1
- package/resources/report-runs.js +2 -1
- package/resources/report-runs.js.map +1 -1
- package/resources/report-runs.mjs +2 -1
- package/resources/report-runs.mjs.map +1 -1
- package/resources/sandboxes.d.mts +20 -624
- package/resources/sandboxes.d.mts.map +1 -1
- package/resources/sandboxes.d.ts +20 -624
- package/resources/sandboxes.d.ts.map +1 -1
- package/resources/sandboxes.js +5 -60
- package/resources/sandboxes.js.map +1 -1
- package/resources/sandboxes.mjs +5 -60
- package/resources/sandboxes.mjs.map +1 -1
- package/src/client.ts +156 -17
- package/src/core/platform/custom-objects/manager.ts +65 -42
- package/src/core/platform/custom-objects.ts +3 -0
- package/src/lib/manifest/acp-agent.ts +7 -1
- package/src/lib/manifest/definitions/_object-records.ts +17 -10
- package/src/lib/manifest/definitions/custom-object.ts +14 -9
- package/src/resources/activity-log.ts +1 -1
- package/src/resources/agents/sessions/messages.ts +10 -1
- package/src/resources/agents/sessions/sessions.ts +30 -3
- package/src/resources/bills.ts +1660 -0
- package/src/resources/card-transactions.ts +742 -49
- package/src/resources/custom-objects/custom-objects.ts +62 -2
- package/src/resources/custom-objects/fields.ts +44 -0
- package/src/resources/custom-objects/index.ts +13 -1
- package/src/resources/custom-objects/list-views/capabilities.ts +72 -0
- package/src/resources/custom-objects/list-views/default.ts +87 -0
- package/src/resources/custom-objects/list-views/index.ts +15 -0
- package/src/resources/custom-objects/list-views/list-views.ts +973 -0
- package/src/resources/custom-objects/list-views.ts +3 -0
- package/src/resources/custom-objects/records/capabilities.ts +73 -0
- package/src/resources/custom-objects/records/index.ts +21 -0
- package/src/resources/custom-objects/records/records.ts +955 -0
- package/src/resources/custom-objects/records.ts +1 -703
- package/src/resources/devices.ts +2 -0
- package/src/resources/draft-transitions.ts +276 -347
- package/src/resources/employee-documents.ts +2 -2
- package/src/resources/{spend-categories.ts → finance-categories.ts} +26 -23
- package/src/resources/finance-vendors.ts +191 -0
- package/src/resources/functions/executions.ts +4 -1
- package/src/resources/functions/functions.ts +216 -4
- package/src/resources/hire-requirements.ts +107 -9
- package/src/resources/hires.ts +1768 -539
- package/src/resources/index.ts +51 -7
- package/src/resources/leave-requests.ts +11 -2
- package/src/resources/object-categories.ts +2 -1
- package/src/resources/package-components/extract.ts +139 -0
- package/src/resources/package-components/index.ts +10 -0
- package/src/resources/package-components/package-components.ts +134 -0
- package/src/resources/package-components/types.ts +64 -0
- package/src/resources/package-components.ts +3 -0
- package/src/resources/package-installs.ts +120 -9
- package/src/resources/package-managed-installs.ts +146 -7
- package/src/resources/package-manifests/index.ts +5 -0
- package/src/resources/package-manifests/package-manifests.ts +21 -0
- package/src/resources/package-manifests/packages/index.ts +4 -0
- package/src/resources/package-manifests/packages/packages.ts +19 -0
- package/src/resources/package-manifests/packages/versions.ts +237 -0
- package/src/resources/package-manifests/packages.ts +3 -0
- package/src/resources/package-manifests/versions.ts +96 -0
- package/src/resources/package-manifests.ts +3 -0
- package/src/resources/package-versions/package-versions.ts +117 -14
- package/src/resources/package-versions/publish.ts +46 -4
- package/src/resources/packages/next-versions.ts +46 -4
- package/src/resources/packages/versions.ts +92 -9
- package/src/resources/payroll-runs/off-cycle.ts +17 -9
- package/src/resources/permissions/index.ts +4 -0
- package/src/resources/permissions/permission-profiles.ts +50 -0
- package/src/resources/permissions/permissions.ts +20 -0
- package/src/resources/permissions.ts +3 -0
- package/src/resources/record-detail-reference-options.ts +142 -0
- package/src/resources/record-detail-related-records.ts +1380 -0
- package/src/resources/record-details.ts +1554 -0
- package/src/resources/reimbursements.ts +2591 -126
- package/src/resources/report-runs.ts +2 -1
- package/src/resources/sandboxes.ts +48 -742
- package/src/version.ts +1 -1
- package/version.d.mts +1 -1
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/version.mjs +1 -1
- package/resources/spend-categories.d.mts.map +0 -1
- package/resources/spend-categories.d.ts.map +0 -1
- package/resources/spend-categories.js.map +0 -1
- package/resources/spend-categories.mjs.map +0 -1
|
@@ -10,7 +10,18 @@ import { path } from '../internal/utils/path';
|
|
|
10
10
|
*/
|
|
11
11
|
export class PackageInstalls extends APIResource {
|
|
12
12
|
/**
|
|
13
|
-
* Start installing a published package version asynchronously.
|
|
13
|
+
* Start installing a published package version asynchronously. Poll GET
|
|
14
|
+
* /package-installs/{tracker_id}/ for completion. A post-install function failure
|
|
15
|
+
* sets PackageInstallationTracker.status to COMPLETE_WITH_WARNINGS and puts
|
|
16
|
+
* warning details in error_message; installed components and data written by the
|
|
17
|
+
* function are retained. Read post_install_function_error_code to classify hook
|
|
18
|
+
* failures. When a run was created, post_install_function_api_name and
|
|
19
|
+
* post_install_function_run_id identify its Function execution. The activity is
|
|
20
|
+
* not automatically retried. Repeating an unmanaged installation can run the hook
|
|
21
|
+
* again and duplicate business data; hook authors must make initialization safe to
|
|
22
|
+
* repeat. Versions with a post-install function run it automatically after
|
|
23
|
+
* installation. The function runs with the installer's permissions and a token
|
|
24
|
+
* valid for 16 minutes with scope `read write`; product permissions still apply.
|
|
14
25
|
*
|
|
15
26
|
* @example HTTP
|
|
16
27
|
* Representative request and response shapes.
|
|
@@ -33,8 +44,11 @@ export class PackageInstalls extends APIResource {
|
|
|
33
44
|
* "created_at": "string",
|
|
34
45
|
* "updated_at": "string",
|
|
35
46
|
* "package_version_id": "string",
|
|
36
|
-
* "status": "
|
|
47
|
+
* "status": "IN_PROGRESS",
|
|
37
48
|
* "error_message": "string",
|
|
49
|
+
* "post_install_function_api_name": "string",
|
|
50
|
+
* "post_install_function_run_id": "string",
|
|
51
|
+
* "post_install_function_error_code": "POST_INSTALL_FUNCTION_MAPPING_MISSING",
|
|
38
52
|
* "installation_record_id": "string",
|
|
39
53
|
* "post_install_landing_component": {},
|
|
40
54
|
* "progress": [
|
|
@@ -69,8 +83,11 @@ export class PackageInstalls extends APIResource {
|
|
|
69
83
|
* "created_at": "string",
|
|
70
84
|
* "updated_at": "string",
|
|
71
85
|
* "package_version_id": "string",
|
|
72
|
-
* "status": "
|
|
86
|
+
* "status": "IN_PROGRESS",
|
|
73
87
|
* "error_message": "string",
|
|
88
|
+
* "post_install_function_api_name": "string",
|
|
89
|
+
* "post_install_function_run_id": "string",
|
|
90
|
+
* "post_install_function_error_code": "POST_INSTALL_FUNCTION_MAPPING_MISSING",
|
|
74
91
|
* "installation_record_id": "string",
|
|
75
92
|
* "post_install_landing_component": {},
|
|
76
93
|
* "progress": [
|
|
@@ -104,7 +121,9 @@ export interface PackageInstallCreateResponse {
|
|
|
104
121
|
updated_at: string;
|
|
105
122
|
|
|
106
123
|
/**
|
|
107
|
-
*
|
|
124
|
+
* Failure details when status is FAILED, or non-fatal warning details when status
|
|
125
|
+
* is COMPLETE_WITH_WARNINGS. Warnings do not roll back installed components or
|
|
126
|
+
* data written by the function.
|
|
108
127
|
*/
|
|
109
128
|
error_message?: string;
|
|
110
129
|
|
|
@@ -118,6 +137,41 @@ export interface PackageInstallCreateResponse {
|
|
|
118
137
|
*/
|
|
119
138
|
package_version_id?: string;
|
|
120
139
|
|
|
140
|
+
/**
|
|
141
|
+
* The installed Function's API name for retrieving its execution. Null if no hook
|
|
142
|
+
* was attempted or for older installations. Managed names include the package and
|
|
143
|
+
* install namespace.
|
|
144
|
+
*/
|
|
145
|
+
post_install_function_api_name?: string | null;
|
|
146
|
+
|
|
147
|
+
/**
|
|
148
|
+
* The last installation hook failure. Wire values start with
|
|
149
|
+
* POST*INSTALL_FUNCTION*: MAPPING_MISSING means the installed Function mapping is
|
|
150
|
+
* absent; DEPLOYMENT_NOT_FOUND means no deployment exists; DEPLOYMENT_FAILED means
|
|
151
|
+
* deployment failed; DEPLOYMENT_TIMEOUT means deployment readiness timed out;
|
|
152
|
+
* PERMISSION_DENIED means installer authorization failed; EXECUTION_FAILED means
|
|
153
|
+
* execution failed; EXECUTION_TIMEOUT means the hook activity timed out. Null on
|
|
154
|
+
* success, when no hook was attempted, or for older installations. Managed
|
|
155
|
+
* upgrades do not rerun the hook and preserve this outcome.
|
|
156
|
+
*/
|
|
157
|
+
post_install_function_error_code?:
|
|
158
|
+
| 'POST_INSTALL_FUNCTION_MAPPING_MISSING'
|
|
159
|
+
| 'POST_INSTALL_FUNCTION_DEPLOYMENT_NOT_FOUND'
|
|
160
|
+
| 'POST_INSTALL_FUNCTION_DEPLOYMENT_FAILED'
|
|
161
|
+
| 'POST_INSTALL_FUNCTION_DEPLOYMENT_TIMEOUT'
|
|
162
|
+
| 'POST_INSTALL_FUNCTION_PERMISSION_DENIED'
|
|
163
|
+
| 'POST_INSTALL_FUNCTION_EXECUTION_FAILED'
|
|
164
|
+
| 'POST_INSTALL_FUNCTION_EXECUTION_TIMEOUT'
|
|
165
|
+
| null;
|
|
166
|
+
|
|
167
|
+
/**
|
|
168
|
+
* The Function execution ID, recorded on success and failure when a run was
|
|
169
|
+
* created. Use with post_install_function_api_name at GET
|
|
170
|
+
* /functions/{function_api_name}/executions/{execution_id}/. Function execution
|
|
171
|
+
* permissions still apply. Null if no run was created or for older installations.
|
|
172
|
+
*/
|
|
173
|
+
post_install_function_run_id?: string | null;
|
|
174
|
+
|
|
121
175
|
/**
|
|
122
176
|
* Component to open after installation completes
|
|
123
177
|
*/
|
|
@@ -129,9 +183,11 @@ export interface PackageInstallCreateResponse {
|
|
|
129
183
|
progress?: Array<unknown>;
|
|
130
184
|
|
|
131
185
|
/**
|
|
132
|
-
* Installation status (IN_PROGRESS, COMPLETE, or FAILED)
|
|
186
|
+
* Installation status (IN_PROGRESS, COMPLETE, COMPLETE_WITH_WARNINGS, or FAILED).
|
|
187
|
+
* COMPLETE_WITH_WARNINGS means components were installed but post-processing or
|
|
188
|
+
* the post-install function failed. Read error_message for warning details.
|
|
133
189
|
*/
|
|
134
|
-
status?:
|
|
190
|
+
status?: 'IN_PROGRESS' | 'COMPLETE' | 'COMPLETE_WITH_WARNINGS' | 'FAILED' | 'UNINSTALLED';
|
|
135
191
|
}
|
|
136
192
|
|
|
137
193
|
/**
|
|
@@ -154,7 +210,9 @@ export interface PackageInstallRetrieveResponse {
|
|
|
154
210
|
updated_at: string;
|
|
155
211
|
|
|
156
212
|
/**
|
|
157
|
-
*
|
|
213
|
+
* Failure details when status is FAILED, or non-fatal warning details when status
|
|
214
|
+
* is COMPLETE_WITH_WARNINGS. Warnings do not roll back installed components or
|
|
215
|
+
* data written by the function.
|
|
158
216
|
*/
|
|
159
217
|
error_message?: string;
|
|
160
218
|
|
|
@@ -168,6 +226,41 @@ export interface PackageInstallRetrieveResponse {
|
|
|
168
226
|
*/
|
|
169
227
|
package_version_id?: string;
|
|
170
228
|
|
|
229
|
+
/**
|
|
230
|
+
* The installed Function's API name for retrieving its execution. Null if no hook
|
|
231
|
+
* was attempted or for older installations. Managed names include the package and
|
|
232
|
+
* install namespace.
|
|
233
|
+
*/
|
|
234
|
+
post_install_function_api_name?: string | null;
|
|
235
|
+
|
|
236
|
+
/**
|
|
237
|
+
* The last installation hook failure. Wire values start with
|
|
238
|
+
* POST*INSTALL_FUNCTION*: MAPPING_MISSING means the installed Function mapping is
|
|
239
|
+
* absent; DEPLOYMENT_NOT_FOUND means no deployment exists; DEPLOYMENT_FAILED means
|
|
240
|
+
* deployment failed; DEPLOYMENT_TIMEOUT means deployment readiness timed out;
|
|
241
|
+
* PERMISSION_DENIED means installer authorization failed; EXECUTION_FAILED means
|
|
242
|
+
* execution failed; EXECUTION_TIMEOUT means the hook activity timed out. Null on
|
|
243
|
+
* success, when no hook was attempted, or for older installations. Managed
|
|
244
|
+
* upgrades do not rerun the hook and preserve this outcome.
|
|
245
|
+
*/
|
|
246
|
+
post_install_function_error_code?:
|
|
247
|
+
| 'POST_INSTALL_FUNCTION_MAPPING_MISSING'
|
|
248
|
+
| 'POST_INSTALL_FUNCTION_DEPLOYMENT_NOT_FOUND'
|
|
249
|
+
| 'POST_INSTALL_FUNCTION_DEPLOYMENT_FAILED'
|
|
250
|
+
| 'POST_INSTALL_FUNCTION_DEPLOYMENT_TIMEOUT'
|
|
251
|
+
| 'POST_INSTALL_FUNCTION_PERMISSION_DENIED'
|
|
252
|
+
| 'POST_INSTALL_FUNCTION_EXECUTION_FAILED'
|
|
253
|
+
| 'POST_INSTALL_FUNCTION_EXECUTION_TIMEOUT'
|
|
254
|
+
| null;
|
|
255
|
+
|
|
256
|
+
/**
|
|
257
|
+
* The Function execution ID, recorded on success and failure when a run was
|
|
258
|
+
* created. Use with post_install_function_api_name at GET
|
|
259
|
+
* /functions/{function_api_name}/executions/{execution_id}/. Function execution
|
|
260
|
+
* permissions still apply. Null if no run was created or for older installations.
|
|
261
|
+
*/
|
|
262
|
+
post_install_function_run_id?: string | null;
|
|
263
|
+
|
|
171
264
|
/**
|
|
172
265
|
* Component to open after installation completes
|
|
173
266
|
*/
|
|
@@ -179,9 +272,11 @@ export interface PackageInstallRetrieveResponse {
|
|
|
179
272
|
progress?: Array<unknown>;
|
|
180
273
|
|
|
181
274
|
/**
|
|
182
|
-
* Installation status (IN_PROGRESS, COMPLETE, or FAILED)
|
|
275
|
+
* Installation status (IN_PROGRESS, COMPLETE, COMPLETE_WITH_WARNINGS, or FAILED).
|
|
276
|
+
* COMPLETE_WITH_WARNINGS means components were installed but post-processing or
|
|
277
|
+
* the post-install function failed. Read error_message for warning details.
|
|
183
278
|
*/
|
|
184
|
-
status?:
|
|
279
|
+
status?: 'IN_PROGRESS' | 'COMPLETE' | 'COMPLETE_WITH_WARNINGS' | 'FAILED' | 'UNINSTALLED';
|
|
185
280
|
}
|
|
186
281
|
|
|
187
282
|
export interface PackageInstallCreateParams {
|
|
@@ -189,6 +284,22 @@ export interface PackageInstallCreateParams {
|
|
|
189
284
|
* The published package version to install.
|
|
190
285
|
*/
|
|
191
286
|
version_id: string;
|
|
287
|
+
|
|
288
|
+
/**
|
|
289
|
+
* @deprecated Accepted for backward compatibility and ignored. Configured
|
|
290
|
+
* post-install functions always run after installation.
|
|
291
|
+
*/
|
|
292
|
+
allow_post_install_function?: boolean;
|
|
293
|
+
|
|
294
|
+
/**
|
|
295
|
+
* Optional service-account role id. Omit it to install as the authenticated
|
|
296
|
+
* caller. When set, the role must be a service account in the caller's company
|
|
297
|
+
* that the caller is allowed to assume. A missing role, a role in another company,
|
|
298
|
+
* a role that is not a service account, or a service account the caller cannot
|
|
299
|
+
* assume returns HTTP 400. Use a service-account role id this caller is allowed to
|
|
300
|
+
* assume. There is no public list endpoint for these ids.
|
|
301
|
+
*/
|
|
302
|
+
service_account_role_id?: string;
|
|
192
303
|
}
|
|
193
304
|
|
|
194
305
|
export declare namespace PackageInstalls {
|
|
@@ -11,7 +11,18 @@ import { path } from '../internal/utils/path';
|
|
|
11
11
|
export class PackageManagedInstalls extends APIResource {
|
|
12
12
|
/**
|
|
13
13
|
* Start installing a published managed package version asynchronously. Unmanaged
|
|
14
|
-
* packages must use POST /package-installs/ instead.
|
|
14
|
+
* packages must use POST /package-installs/ instead. Poll GET
|
|
15
|
+
* /package-managed-installs/{install_id}/ for completion. A post-install function
|
|
16
|
+
* failure sets ManagedPackageInstallation.status to ACTIVE_WITH_WARNINGS with
|
|
17
|
+
* details in warning_message. Installed components and data written by the
|
|
18
|
+
* function are retained. Read post_install_function_error_code to classify hook
|
|
19
|
+
* failures. When a run was created, post_install_function_api_name and
|
|
20
|
+
* post_install_function_run_id identify its Function execution. The activity is
|
|
21
|
+
* not automatically retried. Duplicate managed installs with the same install_key
|
|
22
|
+
* are rejected. Managed upgrades do not rerun the hook and preserve its recorded
|
|
23
|
+
* outcome. Versions with a post-install function run it automatically after
|
|
24
|
+
* installation. The function runs with the installer's permissions and a token
|
|
25
|
+
* valid for 16 minutes with scope `read write`; product permissions still apply.
|
|
15
26
|
*
|
|
16
27
|
* @example HTTP
|
|
17
28
|
* Representative request and response shapes.
|
|
@@ -38,7 +49,11 @@ export class PackageManagedInstalls extends APIResource {
|
|
|
38
49
|
* "package_key": "string",
|
|
39
50
|
* "install_key": "string",
|
|
40
51
|
* "installed_version_id": "string",
|
|
41
|
-
* "status": "
|
|
52
|
+
* "status": "ACTIVE",
|
|
53
|
+
* "warning_message": "string",
|
|
54
|
+
* "post_install_function_api_name": "string",
|
|
55
|
+
* "post_install_function_run_id": "string",
|
|
56
|
+
* "post_install_function_error_code": "POST_INSTALL_FUNCTION_MAPPING_MISSING",
|
|
42
57
|
* "progress": [
|
|
43
58
|
* null
|
|
44
59
|
* ],
|
|
@@ -74,7 +89,11 @@ export class PackageManagedInstalls extends APIResource {
|
|
|
74
89
|
* "package_key": "string",
|
|
75
90
|
* "install_key": "string",
|
|
76
91
|
* "installed_version_id": "string",
|
|
77
|
-
* "status": "
|
|
92
|
+
* "status": "ACTIVE",
|
|
93
|
+
* "warning_message": "string",
|
|
94
|
+
* "post_install_function_api_name": "string",
|
|
95
|
+
* "post_install_function_run_id": "string",
|
|
96
|
+
* "post_install_function_error_code": "POST_INSTALL_FUNCTION_MAPPING_MISSING",
|
|
78
97
|
* "progress": [
|
|
79
98
|
* null
|
|
80
99
|
* ],
|
|
@@ -121,6 +140,41 @@ export interface PackageManagedInstallCreateResponse {
|
|
|
121
140
|
*/
|
|
122
141
|
package_key?: string;
|
|
123
142
|
|
|
143
|
+
/**
|
|
144
|
+
* The installed Function's API name for retrieving its execution. Null if no hook
|
|
145
|
+
* was attempted or for older installations. Managed names include the package and
|
|
146
|
+
* install namespace.
|
|
147
|
+
*/
|
|
148
|
+
post_install_function_api_name?: string | null;
|
|
149
|
+
|
|
150
|
+
/**
|
|
151
|
+
* The last installation hook failure. Wire values start with
|
|
152
|
+
* POST*INSTALL_FUNCTION*: MAPPING_MISSING means the installed Function mapping is
|
|
153
|
+
* absent; DEPLOYMENT_NOT_FOUND means no deployment exists; DEPLOYMENT_FAILED means
|
|
154
|
+
* deployment failed; DEPLOYMENT_TIMEOUT means deployment readiness timed out;
|
|
155
|
+
* PERMISSION_DENIED means installer authorization failed; EXECUTION_FAILED means
|
|
156
|
+
* execution failed; EXECUTION_TIMEOUT means the hook activity timed out. Null on
|
|
157
|
+
* success, when no hook was attempted, or for older installations. Managed
|
|
158
|
+
* upgrades do not rerun the hook and preserve this outcome.
|
|
159
|
+
*/
|
|
160
|
+
post_install_function_error_code?:
|
|
161
|
+
| 'POST_INSTALL_FUNCTION_MAPPING_MISSING'
|
|
162
|
+
| 'POST_INSTALL_FUNCTION_DEPLOYMENT_NOT_FOUND'
|
|
163
|
+
| 'POST_INSTALL_FUNCTION_DEPLOYMENT_FAILED'
|
|
164
|
+
| 'POST_INSTALL_FUNCTION_DEPLOYMENT_TIMEOUT'
|
|
165
|
+
| 'POST_INSTALL_FUNCTION_PERMISSION_DENIED'
|
|
166
|
+
| 'POST_INSTALL_FUNCTION_EXECUTION_FAILED'
|
|
167
|
+
| 'POST_INSTALL_FUNCTION_EXECUTION_TIMEOUT'
|
|
168
|
+
| null;
|
|
169
|
+
|
|
170
|
+
/**
|
|
171
|
+
* The Function execution ID, recorded on success and failure when a run was
|
|
172
|
+
* created. Use with post_install_function_api_name at GET
|
|
173
|
+
* /functions/{function_api_name}/executions/{execution_id}/. Function execution
|
|
174
|
+
* permissions still apply. Null if no run was created or for older installations.
|
|
175
|
+
*/
|
|
176
|
+
post_install_function_run_id?: string | null;
|
|
177
|
+
|
|
124
178
|
/**
|
|
125
179
|
* Component to open after installation completes
|
|
126
180
|
*/
|
|
@@ -133,9 +187,26 @@ export interface PackageManagedInstallCreateResponse {
|
|
|
133
187
|
|
|
134
188
|
/**
|
|
135
189
|
* Managed install status (INSTALLING, UPDATING, UNINSTALLING, ACTIVE,
|
|
136
|
-
* ACTIVE_WITH_WARNINGS, UNINSTALLED, FAILED, or UNINSTALL_FAILED)
|
|
190
|
+
* ACTIVE_WITH_WARNINGS, UNINSTALLED, FAILED, or UNINSTALL_FAILED).
|
|
191
|
+
* ACTIVE_WITH_WARNINGS means components were installed but post-processing or the
|
|
192
|
+
* post-install function failed. Read warning_message for details. Installed
|
|
193
|
+
* components and data written by the function are retained.
|
|
194
|
+
*/
|
|
195
|
+
status?:
|
|
196
|
+
| 'ACTIVE'
|
|
197
|
+
| 'ACTIVE_WITH_WARNINGS'
|
|
198
|
+
| 'INSTALLING'
|
|
199
|
+
| 'UPDATING'
|
|
200
|
+
| 'UNINSTALLING'
|
|
201
|
+
| 'UNINSTALL_FAILED'
|
|
202
|
+
| 'UNINSTALLED'
|
|
203
|
+
| 'FAILED';
|
|
204
|
+
|
|
205
|
+
/**
|
|
206
|
+
* Non-fatal warning details when status is ACTIVE_WITH_WARNINGS. Null when there
|
|
207
|
+
* are no warnings or details were not recorded for an older installation.
|
|
137
208
|
*/
|
|
138
|
-
|
|
209
|
+
warning_message?: string | null;
|
|
139
210
|
}
|
|
140
211
|
|
|
141
212
|
/**
|
|
@@ -172,6 +243,41 @@ export interface PackageManagedInstallRetrieveResponse {
|
|
|
172
243
|
*/
|
|
173
244
|
package_key?: string;
|
|
174
245
|
|
|
246
|
+
/**
|
|
247
|
+
* The installed Function's API name for retrieving its execution. Null if no hook
|
|
248
|
+
* was attempted or for older installations. Managed names include the package and
|
|
249
|
+
* install namespace.
|
|
250
|
+
*/
|
|
251
|
+
post_install_function_api_name?: string | null;
|
|
252
|
+
|
|
253
|
+
/**
|
|
254
|
+
* The last installation hook failure. Wire values start with
|
|
255
|
+
* POST*INSTALL_FUNCTION*: MAPPING_MISSING means the installed Function mapping is
|
|
256
|
+
* absent; DEPLOYMENT_NOT_FOUND means no deployment exists; DEPLOYMENT_FAILED means
|
|
257
|
+
* deployment failed; DEPLOYMENT_TIMEOUT means deployment readiness timed out;
|
|
258
|
+
* PERMISSION_DENIED means installer authorization failed; EXECUTION_FAILED means
|
|
259
|
+
* execution failed; EXECUTION_TIMEOUT means the hook activity timed out. Null on
|
|
260
|
+
* success, when no hook was attempted, or for older installations. Managed
|
|
261
|
+
* upgrades do not rerun the hook and preserve this outcome.
|
|
262
|
+
*/
|
|
263
|
+
post_install_function_error_code?:
|
|
264
|
+
| 'POST_INSTALL_FUNCTION_MAPPING_MISSING'
|
|
265
|
+
| 'POST_INSTALL_FUNCTION_DEPLOYMENT_NOT_FOUND'
|
|
266
|
+
| 'POST_INSTALL_FUNCTION_DEPLOYMENT_FAILED'
|
|
267
|
+
| 'POST_INSTALL_FUNCTION_DEPLOYMENT_TIMEOUT'
|
|
268
|
+
| 'POST_INSTALL_FUNCTION_PERMISSION_DENIED'
|
|
269
|
+
| 'POST_INSTALL_FUNCTION_EXECUTION_FAILED'
|
|
270
|
+
| 'POST_INSTALL_FUNCTION_EXECUTION_TIMEOUT'
|
|
271
|
+
| null;
|
|
272
|
+
|
|
273
|
+
/**
|
|
274
|
+
* The Function execution ID, recorded on success and failure when a run was
|
|
275
|
+
* created. Use with post_install_function_api_name at GET
|
|
276
|
+
* /functions/{function_api_name}/executions/{execution_id}/. Function execution
|
|
277
|
+
* permissions still apply. Null if no run was created or for older installations.
|
|
278
|
+
*/
|
|
279
|
+
post_install_function_run_id?: string | null;
|
|
280
|
+
|
|
175
281
|
/**
|
|
176
282
|
* Component to open after installation completes
|
|
177
283
|
*/
|
|
@@ -184,9 +290,26 @@ export interface PackageManagedInstallRetrieveResponse {
|
|
|
184
290
|
|
|
185
291
|
/**
|
|
186
292
|
* Managed install status (INSTALLING, UPDATING, UNINSTALLING, ACTIVE,
|
|
187
|
-
* ACTIVE_WITH_WARNINGS, UNINSTALLED, FAILED, or UNINSTALL_FAILED)
|
|
293
|
+
* ACTIVE_WITH_WARNINGS, UNINSTALLED, FAILED, or UNINSTALL_FAILED).
|
|
294
|
+
* ACTIVE_WITH_WARNINGS means components were installed but post-processing or the
|
|
295
|
+
* post-install function failed. Read warning_message for details. Installed
|
|
296
|
+
* components and data written by the function are retained.
|
|
188
297
|
*/
|
|
189
|
-
status?:
|
|
298
|
+
status?:
|
|
299
|
+
| 'ACTIVE'
|
|
300
|
+
| 'ACTIVE_WITH_WARNINGS'
|
|
301
|
+
| 'INSTALLING'
|
|
302
|
+
| 'UPDATING'
|
|
303
|
+
| 'UNINSTALLING'
|
|
304
|
+
| 'UNINSTALL_FAILED'
|
|
305
|
+
| 'UNINSTALLED'
|
|
306
|
+
| 'FAILED';
|
|
307
|
+
|
|
308
|
+
/**
|
|
309
|
+
* Non-fatal warning details when status is ACTIVE_WITH_WARNINGS. Null when there
|
|
310
|
+
* are no warnings or details were not recorded for an older installation.
|
|
311
|
+
*/
|
|
312
|
+
warning_message?: string | null;
|
|
190
313
|
}
|
|
191
314
|
|
|
192
315
|
export interface PackageManagedInstallCreateParams {
|
|
@@ -204,6 +327,22 @@ export interface PackageManagedInstallCreateParams {
|
|
|
204
327
|
* The published package version to install.
|
|
205
328
|
*/
|
|
206
329
|
version_id: string;
|
|
330
|
+
|
|
331
|
+
/**
|
|
332
|
+
* @deprecated Accepted for backward compatibility and ignored. Configured
|
|
333
|
+
* post-install functions always run after installation.
|
|
334
|
+
*/
|
|
335
|
+
allow_post_install_function?: boolean;
|
|
336
|
+
|
|
337
|
+
/**
|
|
338
|
+
* Optional service-account role id. Omit it to install as the authenticated
|
|
339
|
+
* caller. When set, the role must be a service account in the caller's company
|
|
340
|
+
* that the caller is allowed to assume. A missing role, a role in another company,
|
|
341
|
+
* a role that is not a service account, or a service account the caller cannot
|
|
342
|
+
* assume returns HTTP 400. Use a service-account role id this caller is allowed to
|
|
343
|
+
* assume. There is no public list endpoint for these ids.
|
|
344
|
+
*/
|
|
345
|
+
service_account_role_id?: string;
|
|
207
346
|
}
|
|
208
347
|
|
|
209
348
|
export declare namespace PackageManagedInstalls {
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
+
|
|
3
|
+
import { APIResource } from '../../core/resource';
|
|
4
|
+
import * as VersionsAPI from './versions';
|
|
5
|
+
import { VersionRetrieveResponse, Versions } from './versions';
|
|
6
|
+
import * as PackagesAPI from './packages/packages';
|
|
7
|
+
import { Packages } from './packages/packages';
|
|
8
|
+
|
|
9
|
+
export class PackageManifests extends APIResource {
|
|
10
|
+
packages: PackagesAPI.Packages = new PackagesAPI.Packages(this._client);
|
|
11
|
+
versions: VersionsAPI.Versions = new VersionsAPI.Versions(this._client);
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
PackageManifests.Packages = Packages;
|
|
15
|
+
PackageManifests.Versions = Versions;
|
|
16
|
+
|
|
17
|
+
export declare namespace PackageManifests {
|
|
18
|
+
export { Packages as Packages };
|
|
19
|
+
|
|
20
|
+
export { Versions as Versions, type VersionRetrieveResponse as VersionRetrieveResponse };
|
|
21
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
+
|
|
3
|
+
import { APIResource } from '../../../core/resource';
|
|
4
|
+
import * as VersionsAPI from './versions';
|
|
5
|
+
import { VersionCreateParams, VersionCreateResponse, Versions } from './versions';
|
|
6
|
+
|
|
7
|
+
export class Packages extends APIResource {
|
|
8
|
+
versions: VersionsAPI.Versions = new VersionsAPI.Versions(this._client);
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
Packages.Versions = Versions;
|
|
12
|
+
|
|
13
|
+
export declare namespace Packages {
|
|
14
|
+
export {
|
|
15
|
+
Versions as Versions,
|
|
16
|
+
type VersionCreateResponse as VersionCreateResponse,
|
|
17
|
+
type VersionCreateParams as VersionCreateParams,
|
|
18
|
+
};
|
|
19
|
+
}
|