@rippling/rippling-sdk 0.2.0-alpha.110 → 0.2.0-alpha.112
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/client.d.mts +58 -7
- package/client.d.mts.map +1 -1
- package/client.d.ts +58 -7
- package/client.d.ts.map +1 -1
- package/client.js +54 -3
- package/client.js.map +1 -1
- package/client.mjs +54 -3
- package/client.mjs.map +1 -1
- package/core/platform/custom-objects/manager.d.mts +43 -23
- package/core/platform/custom-objects/manager.d.mts.map +1 -1
- package/core/platform/custom-objects/manager.d.ts +43 -23
- package/core/platform/custom-objects/manager.d.ts.map +1 -1
- package/core/platform/custom-objects/manager.js +21 -17
- package/core/platform/custom-objects/manager.js.map +1 -1
- package/core/platform/custom-objects/manager.mjs +21 -17
- package/core/platform/custom-objects/manager.mjs.map +1 -1
- package/core/platform/custom-objects.d.mts +1 -1
- package/core/platform/custom-objects.d.mts.map +1 -1
- package/core/platform/custom-objects.d.ts +1 -1
- package/core/platform/custom-objects.d.ts.map +1 -1
- package/core/platform/custom-objects.js.map +1 -1
- package/core/platform/custom-objects.mjs.map +1 -1
- package/examples/manifest/acp-agent/acp-agent.ts +27 -23
- package/lib/manifest/acp-agent.d.mts +1 -1
- package/lib/manifest/acp-agent.d.mts.map +1 -1
- package/lib/manifest/acp-agent.d.ts +1 -1
- package/lib/manifest/acp-agent.d.ts.map +1 -1
- package/lib/manifest/acp-agent.js +6 -0
- package/lib/manifest/acp-agent.js.map +1 -1
- package/lib/manifest/acp-agent.mjs +6 -0
- package/lib/manifest/acp-agent.mjs.map +1 -1
- package/lib/manifest/definitions/_object-records.d.mts.map +1 -1
- package/lib/manifest/definitions/_object-records.d.ts.map +1 -1
- package/lib/manifest/definitions/_object-records.js +10 -8
- package/lib/manifest/definitions/_object-records.js.map +1 -1
- package/lib/manifest/definitions/_object-records.mjs +10 -8
- package/lib/manifest/definitions/_object-records.mjs.map +1 -1
- package/lib/manifest/definitions/custom-object.d.mts +10 -10
- package/lib/manifest/definitions/custom-object.d.mts.map +1 -1
- package/lib/manifest/definitions/custom-object.d.ts +10 -10
- package/lib/manifest/definitions/custom-object.d.ts.map +1 -1
- package/lib/manifest/definitions/custom-object.js.map +1 -1
- package/lib/manifest/definitions/custom-object.mjs.map +1 -1
- package/package.json +1 -1
- package/resources/activity-log.d.mts +1 -1
- package/resources/activity-log.d.ts +1 -1
- package/resources/activity-log.js +1 -1
- package/resources/activity-log.mjs +1 -1
- package/resources/agents/sessions/messages.d.mts +10 -1
- package/resources/agents/sessions/messages.d.mts.map +1 -1
- package/resources/agents/sessions/messages.d.ts +10 -1
- package/resources/agents/sessions/messages.d.ts.map +1 -1
- package/resources/agents/sessions/sessions.d.mts +30 -3
- package/resources/agents/sessions/sessions.d.mts.map +1 -1
- package/resources/agents/sessions/sessions.d.ts +30 -3
- package/resources/agents/sessions/sessions.d.ts.map +1 -1
- package/resources/agents/sessions/sessions.js.map +1 -1
- package/resources/agents/sessions/sessions.mjs.map +1 -1
- package/resources/bills.d.mts +1343 -0
- package/resources/bills.d.mts.map +1 -0
- package/resources/bills.d.ts +1343 -0
- package/resources/bills.d.ts.map +1 -0
- package/resources/bills.js +214 -0
- package/resources/bills.js.map +1 -0
- package/resources/bills.mjs +210 -0
- package/resources/bills.mjs.map +1 -0
- package/resources/card-transactions.d.mts +607 -49
- package/resources/card-transactions.d.mts.map +1 -1
- package/resources/card-transactions.d.ts +607 -49
- package/resources/card-transactions.d.ts.map +1 -1
- package/resources/card-transactions.js +73 -12
- package/resources/card-transactions.js.map +1 -1
- package/resources/card-transactions.mjs +73 -12
- package/resources/card-transactions.mjs.map +1 -1
- package/resources/custom-objects/custom-objects.d.mts +39 -3
- package/resources/custom-objects/custom-objects.d.mts.map +1 -1
- package/resources/custom-objects/custom-objects.d.ts +39 -3
- package/resources/custom-objects/custom-objects.d.ts.map +1 -1
- package/resources/custom-objects/custom-objects.js +38 -2
- package/resources/custom-objects/custom-objects.js.map +1 -1
- package/resources/custom-objects/custom-objects.mjs +38 -2
- package/resources/custom-objects/custom-objects.mjs.map +1 -1
- package/resources/custom-objects/fields.d.mts +44 -0
- package/resources/custom-objects/fields.d.mts.map +1 -1
- package/resources/custom-objects/fields.d.ts +44 -0
- package/resources/custom-objects/fields.d.ts.map +1 -1
- package/resources/custom-objects/fields.js +44 -0
- package/resources/custom-objects/fields.js.map +1 -1
- package/resources/custom-objects/fields.mjs +44 -0
- package/resources/custom-objects/fields.mjs.map +1 -1
- package/resources/custom-objects/index.d.mts +2 -1
- package/resources/custom-objects/index.d.mts.map +1 -1
- package/resources/custom-objects/index.d.ts +2 -1
- package/resources/custom-objects/index.d.ts.map +1 -1
- package/resources/custom-objects/index.js +5 -3
- package/resources/custom-objects/index.js.map +1 -1
- package/resources/custom-objects/index.mjs +2 -1
- package/resources/custom-objects/index.mjs.map +1 -1
- package/resources/custom-objects/list-views/capabilities.d.mts +63 -0
- package/resources/custom-objects/list-views/capabilities.d.mts.map +1 -0
- package/resources/custom-objects/list-views/capabilities.d.ts +63 -0
- package/resources/custom-objects/list-views/capabilities.d.ts.map +1 -0
- package/resources/custom-objects/list-views/capabilities.js +48 -0
- package/resources/custom-objects/list-views/capabilities.js.map +1 -0
- package/resources/custom-objects/list-views/capabilities.mjs +44 -0
- package/resources/custom-objects/list-views/capabilities.mjs.map +1 -0
- package/resources/custom-objects/list-views/default.d.mts +69 -0
- package/resources/custom-objects/list-views/default.d.mts.map +1 -0
- package/resources/custom-objects/list-views/default.d.ts +69 -0
- package/resources/custom-objects/list-views/default.d.ts.map +1 -0
- package/resources/custom-objects/list-views/default.js +59 -0
- package/resources/custom-objects/list-views/default.js.map +1 -0
- package/resources/custom-objects/list-views/default.mjs +55 -0
- package/resources/custom-objects/list-views/default.mjs.map +1 -0
- package/resources/custom-objects/list-views/index.d.mts +4 -0
- package/resources/custom-objects/list-views/index.d.mts.map +1 -0
- package/resources/custom-objects/list-views/index.d.ts +4 -0
- package/resources/custom-objects/list-views/index.d.ts.map +1 -0
- package/resources/custom-objects/list-views/index.js +11 -0
- package/resources/custom-objects/list-views/index.js.map +1 -0
- package/resources/custom-objects/list-views/index.mjs +5 -0
- package/resources/custom-objects/list-views/index.mjs.map +1 -0
- package/resources/custom-objects/list-views/list-views.d.mts +806 -0
- package/resources/custom-objects/list-views/list-views.d.mts.map +1 -0
- package/resources/custom-objects/list-views/list-views.d.ts +806 -0
- package/resources/custom-objects/list-views/list-views.d.ts.map +1 -0
- package/resources/custom-objects/list-views/list-views.js +314 -0
- package/resources/custom-objects/list-views/list-views.js.map +1 -0
- package/resources/custom-objects/list-views/list-views.mjs +309 -0
- package/resources/custom-objects/list-views/list-views.mjs.map +1 -0
- package/resources/custom-objects/list-views.d.mts +2 -0
- package/resources/custom-objects/list-views.d.mts.map +1 -0
- package/resources/custom-objects/list-views.d.ts +2 -0
- package/resources/custom-objects/list-views.d.ts.map +1 -0
- package/resources/custom-objects/list-views.js +6 -0
- package/resources/custom-objects/list-views.js.map +1 -0
- package/resources/custom-objects/list-views.mjs +3 -0
- package/resources/custom-objects/list-views.mjs.map +1 -0
- package/resources/custom-objects/records/capabilities.d.mts +61 -0
- package/resources/custom-objects/records/capabilities.d.mts.map +1 -0
- package/resources/custom-objects/records/capabilities.d.ts +61 -0
- package/resources/custom-objects/records/capabilities.d.ts.map +1 -0
- package/resources/custom-objects/records/capabilities.js +47 -0
- package/resources/custom-objects/records/capabilities.js.map +1 -0
- package/resources/custom-objects/records/capabilities.mjs +43 -0
- package/resources/custom-objects/records/capabilities.mjs.map +1 -0
- package/resources/custom-objects/records/index.d.mts +3 -0
- package/resources/custom-objects/records/index.d.mts.map +1 -0
- package/resources/custom-objects/records/index.d.ts +3 -0
- package/resources/custom-objects/records/index.d.ts.map +1 -0
- package/resources/custom-objects/records/index.js +9 -0
- package/resources/custom-objects/records/index.js.map +1 -0
- package/resources/custom-objects/records/index.mjs +4 -0
- package/resources/custom-objects/records/index.mjs.map +1 -0
- package/resources/custom-objects/records/records.d.mts +787 -0
- package/resources/custom-objects/records/records.d.mts.map +1 -0
- package/resources/custom-objects/records/records.d.ts +787 -0
- package/resources/custom-objects/records/records.d.ts.map +1 -0
- package/resources/custom-objects/records/records.js +543 -0
- package/resources/custom-objects/records/records.js.map +1 -0
- package/resources/custom-objects/records/records.mjs +538 -0
- package/resources/custom-objects/records/records.mjs.map +1 -0
- package/resources/custom-objects/records.d.mts +1 -561
- package/resources/custom-objects/records.d.mts.map +1 -1
- package/resources/custom-objects/records.d.ts +1 -561
- package/resources/custom-objects/records.d.ts.map +1 -1
- package/resources/custom-objects/records.js +2 -444
- package/resources/custom-objects/records.js.map +1 -1
- package/resources/custom-objects/records.mjs +1 -442
- package/resources/custom-objects/records.mjs.map +1 -1
- package/resources/devices.d.mts +2 -2
- package/resources/devices.d.mts.map +1 -1
- package/resources/devices.d.ts +2 -2
- package/resources/devices.d.ts.map +1 -1
- package/resources/draft-transitions.d.mts +241 -307
- package/resources/draft-transitions.d.mts.map +1 -1
- package/resources/draft-transitions.d.ts +241 -307
- package/resources/draft-transitions.d.ts.map +1 -1
- package/resources/draft-transitions.js +49 -23
- package/resources/draft-transitions.js.map +1 -1
- package/resources/draft-transitions.mjs +49 -23
- package/resources/draft-transitions.mjs.map +1 -1
- package/resources/employee-documents.d.mts +2 -2
- package/resources/employee-documents.d.ts +2 -2
- package/resources/{spend-categories.d.mts → finance-categories.d.mts} +21 -18
- package/resources/finance-categories.d.mts.map +1 -0
- package/resources/{spend-categories.d.ts → finance-categories.d.ts} +21 -18
- package/resources/finance-categories.d.ts.map +1 -0
- package/resources/{spend-categories.js → finance-categories.js} +14 -11
- package/resources/finance-categories.js.map +1 -0
- package/resources/{spend-categories.mjs → finance-categories.mjs} +12 -9
- package/resources/finance-categories.mjs.map +1 -0
- package/resources/finance-vendors.d.mts +154 -0
- package/resources/finance-vendors.d.mts.map +1 -0
- package/resources/finance-vendors.d.ts +154 -0
- package/resources/finance-vendors.d.ts.map +1 -0
- package/resources/finance-vendors.js +87 -0
- package/resources/finance-vendors.js.map +1 -0
- package/resources/finance-vendors.mjs +83 -0
- package/resources/finance-vendors.mjs.map +1 -0
- package/resources/functions/executions.d.mts +4 -1
- package/resources/functions/executions.d.mts.map +1 -1
- package/resources/functions/executions.d.ts +4 -1
- package/resources/functions/executions.d.ts.map +1 -1
- package/resources/functions/executions.js +4 -1
- package/resources/functions/executions.js.map +1 -1
- package/resources/functions/executions.mjs +4 -1
- package/resources/functions/executions.mjs.map +1 -1
- package/resources/functions/functions.d.mts +192 -4
- package/resources/functions/functions.d.mts.map +1 -1
- package/resources/functions/functions.d.ts +192 -4
- package/resources/functions/functions.d.ts.map +1 -1
- package/resources/functions/functions.js +72 -4
- package/resources/functions/functions.js.map +1 -1
- package/resources/functions/functions.mjs +72 -4
- package/resources/functions/functions.mjs.map +1 -1
- package/resources/hire-requirements.d.mts +98 -9
- package/resources/hire-requirements.d.mts.map +1 -1
- package/resources/hire-requirements.d.ts +98 -9
- package/resources/hire-requirements.d.ts.map +1 -1
- package/resources/hire-requirements.js +23 -4
- package/resources/hire-requirements.js.map +1 -1
- package/resources/hire-requirements.mjs +23 -4
- package/resources/hire-requirements.mjs.map +1 -1
- package/resources/hires.d.mts +1636 -510
- package/resources/hires.d.mts.map +1 -1
- package/resources/hires.d.ts +1636 -510
- package/resources/hires.d.ts.map +1 -1
- package/resources/hires.js +10 -4
- package/resources/hires.js.map +1 -1
- package/resources/hires.mjs +10 -4
- package/resources/hires.mjs.map +1 -1
- package/resources/index.d.mts +11 -3
- package/resources/index.d.mts.map +1 -1
- package/resources/index.d.ts +11 -3
- package/resources/index.d.ts.map +1 -1
- package/resources/index.js +21 -5
- package/resources/index.js.map +1 -1
- package/resources/index.mjs +9 -1
- package/resources/index.mjs.map +1 -1
- package/resources/leave-requests.d.mts +11 -2
- package/resources/leave-requests.d.mts.map +1 -1
- package/resources/leave-requests.d.ts +11 -2
- package/resources/leave-requests.d.ts.map +1 -1
- package/resources/leave-requests.js +11 -2
- package/resources/leave-requests.js.map +1 -1
- package/resources/leave-requests.mjs +11 -2
- package/resources/leave-requests.mjs.map +1 -1
- package/resources/object-categories.d.mts +2 -1
- package/resources/object-categories.d.mts.map +1 -1
- package/resources/object-categories.d.ts +2 -1
- package/resources/object-categories.d.ts.map +1 -1
- package/resources/object-categories.js +2 -1
- package/resources/object-categories.js.map +1 -1
- package/resources/object-categories.mjs +2 -1
- package/resources/object-categories.mjs.map +1 -1
- package/resources/package-components/extract.d.mts +121 -0
- package/resources/package-components/extract.d.mts.map +1 -0
- package/resources/package-components/extract.d.ts +121 -0
- package/resources/package-components/extract.d.ts.map +1 -0
- package/resources/package-components/extract.js +69 -0
- package/resources/package-components/extract.js.map +1 -0
- package/resources/package-components/extract.mjs +65 -0
- package/resources/package-components/extract.mjs.map +1 -0
- package/resources/package-components/index.d.mts +4 -0
- package/resources/package-components/index.d.mts.map +1 -0
- package/resources/package-components/index.d.ts +4 -0
- package/resources/package-components/index.d.ts.map +1 -0
- package/resources/package-components/index.js +11 -0
- package/resources/package-components/index.js.map +1 -0
- package/resources/package-components/index.mjs +5 -0
- package/resources/package-components/index.mjs.map +1 -0
- package/resources/package-components/package-components.d.mts +99 -0
- package/resources/package-components/package-components.d.mts.map +1 -0
- package/resources/package-components/package-components.d.ts +99 -0
- package/resources/package-components/package-components.d.ts.map +1 -0
- package/resources/package-components/package-components.js +63 -0
- package/resources/package-components/package-components.js.map +1 -0
- package/resources/package-components/package-components.mjs +58 -0
- package/resources/package-components/package-components.mjs.map +1 -0
- package/resources/package-components/types.d.mts +56 -0
- package/resources/package-components/types.d.mts.map +1 -0
- package/resources/package-components/types.d.ts +56 -0
- package/resources/package-components/types.d.ts.map +1 -0
- package/resources/package-components/types.js +40 -0
- package/resources/package-components/types.js.map +1 -0
- package/resources/package-components/types.mjs +36 -0
- package/resources/package-components/types.mjs.map +1 -0
- package/resources/package-components.d.mts +2 -0
- package/resources/package-components.d.mts.map +1 -0
- package/resources/package-components.d.ts +2 -0
- package/resources/package-components.d.ts.map +1 -0
- package/resources/package-components.js +6 -0
- package/resources/package-components.js.map +1 -0
- package/resources/package-components.mjs +3 -0
- package/resources/package-components.mjs.map +1 -0
- package/resources/package-installs.d.mts +96 -9
- package/resources/package-installs.d.mts.map +1 -1
- package/resources/package-installs.d.ts +96 -9
- package/resources/package-installs.d.ts.map +1 -1
- package/resources/package-installs.js +20 -3
- package/resources/package-installs.js.map +1 -1
- package/resources/package-installs.mjs +20 -3
- package/resources/package-installs.mjs.map +1 -1
- package/resources/package-managed-installs.d.mts +104 -7
- package/resources/package-managed-installs.d.mts.map +1 -1
- package/resources/package-managed-installs.d.ts +104 -7
- package/resources/package-managed-installs.d.ts.map +1 -1
- package/resources/package-managed-installs.js +22 -3
- package/resources/package-managed-installs.js.map +1 -1
- package/resources/package-managed-installs.mjs +22 -3
- package/resources/package-managed-installs.mjs.map +1 -1
- package/resources/package-manifests/index.d.mts +4 -0
- package/resources/package-manifests/index.d.mts.map +1 -0
- package/resources/package-manifests/index.d.ts +4 -0
- package/resources/package-manifests/index.d.ts.map +1 -0
- package/resources/package-manifests/index.js +11 -0
- package/resources/package-manifests/index.js.map +1 -0
- package/resources/package-manifests/index.mjs +5 -0
- package/resources/package-manifests/index.mjs.map +1 -0
- package/resources/package-manifests/package-manifests.d.mts +14 -0
- package/resources/package-manifests/package-manifests.d.mts.map +1 -0
- package/resources/package-manifests/package-manifests.d.ts +14 -0
- package/resources/package-manifests/package-manifests.d.ts.map +1 -0
- package/resources/package-manifests/package-manifests.js +21 -0
- package/resources/package-manifests/package-manifests.js.map +1 -0
- package/resources/package-manifests/package-manifests.mjs +16 -0
- package/resources/package-manifests/package-manifests.mjs.map +1 -0
- package/resources/package-manifests/packages/index.d.mts +3 -0
- package/resources/package-manifests/packages/index.d.mts.map +1 -0
- package/resources/package-manifests/packages/index.d.ts +3 -0
- package/resources/package-manifests/packages/index.d.ts.map +1 -0
- package/resources/package-manifests/packages/index.js +9 -0
- package/resources/package-manifests/packages/index.js.map +1 -0
- package/resources/package-manifests/packages/index.mjs +4 -0
- package/resources/package-manifests/packages/index.mjs.map +1 -0
- package/resources/package-manifests/packages/packages.d.mts +10 -0
- package/resources/package-manifests/packages/packages.d.mts.map +1 -0
- package/resources/package-manifests/packages/packages.d.ts +10 -0
- package/resources/package-manifests/packages/packages.d.ts.map +1 -0
- package/resources/package-manifests/packages/packages.js +17 -0
- package/resources/package-manifests/packages/packages.js.map +1 -0
- package/resources/package-manifests/packages/packages.mjs +12 -0
- package/resources/package-manifests/packages/packages.mjs.map +1 -0
- package/resources/package-manifests/packages/versions.d.mts +199 -0
- package/resources/package-manifests/packages/versions.d.mts.map +1 -0
- package/resources/package-manifests/packages/versions.d.ts +199 -0
- package/resources/package-manifests/packages/versions.d.ts.map +1 -0
- package/resources/package-manifests/packages/versions.js +68 -0
- package/resources/package-manifests/packages/versions.js.map +1 -0
- package/resources/package-manifests/packages/versions.mjs +64 -0
- package/resources/package-manifests/packages/versions.mjs.map +1 -0
- package/resources/package-manifests/packages.d.mts +2 -0
- package/resources/package-manifests/packages.d.mts.map +1 -0
- package/resources/package-manifests/packages.d.ts +2 -0
- package/resources/package-manifests/packages.d.ts.map +1 -0
- package/resources/package-manifests/packages.js +6 -0
- package/resources/package-manifests/packages.js.map +1 -0
- package/resources/package-manifests/packages.mjs +3 -0
- package/resources/package-manifests/packages.mjs.map +1 -0
- package/resources/package-manifests/versions.d.mts +84 -0
- package/resources/package-manifests/versions.d.mts.map +1 -0
- package/resources/package-manifests/versions.d.ts +84 -0
- package/resources/package-manifests/versions.d.ts.map +1 -0
- package/resources/package-manifests/versions.js +44 -0
- package/resources/package-manifests/versions.js.map +1 -0
- package/resources/package-manifests/versions.mjs +40 -0
- package/resources/package-manifests/versions.mjs.map +1 -0
- package/resources/package-manifests.d.mts +2 -0
- package/resources/package-manifests.d.mts.map +1 -0
- package/resources/package-manifests.d.ts +2 -0
- package/resources/package-manifests.d.ts.map +1 -0
- package/resources/package-manifests.js +6 -0
- package/resources/package-manifests.js.map +1 -0
- package/resources/package-manifests.mjs +3 -0
- package/resources/package-manifests.mjs.map +1 -0
- package/resources/package-versions/package-versions.d.mts +104 -14
- package/resources/package-versions/package-versions.d.mts.map +1 -1
- package/resources/package-versions/package-versions.d.ts +104 -14
- package/resources/package-versions/package-versions.d.ts.map +1 -1
- package/resources/package-versions/package-versions.js +30 -9
- package/resources/package-versions/package-versions.js.map +1 -1
- package/resources/package-versions/package-versions.mjs +30 -9
- package/resources/package-versions/package-versions.mjs.map +1 -1
- package/resources/package-versions/publish.d.mts +40 -4
- package/resources/package-versions/publish.d.mts.map +1 -1
- package/resources/package-versions/publish.d.ts +40 -4
- package/resources/package-versions/publish.d.ts.map +1 -1
- package/resources/package-versions/publish.js +8 -2
- package/resources/package-versions/publish.js.map +1 -1
- package/resources/package-versions/publish.mjs +8 -2
- package/resources/package-versions/publish.mjs.map +1 -1
- package/resources/packages/next-versions.d.mts +40 -4
- package/resources/packages/next-versions.d.mts.map +1 -1
- package/resources/packages/next-versions.d.ts +40 -4
- package/resources/packages/next-versions.d.ts.map +1 -1
- package/resources/packages/next-versions.js +8 -2
- package/resources/packages/next-versions.js.map +1 -1
- package/resources/packages/next-versions.mjs +8 -2
- package/resources/packages/next-versions.mjs.map +1 -1
- package/resources/packages/versions.d.mts +80 -9
- package/resources/packages/versions.d.mts.map +1 -1
- package/resources/packages/versions.d.ts +80 -9
- package/resources/packages/versions.d.ts.map +1 -1
- package/resources/packages/versions.js +16 -5
- package/resources/packages/versions.js.map +1 -1
- package/resources/packages/versions.mjs +16 -5
- package/resources/packages/versions.mjs.map +1 -1
- package/resources/payroll-runs/off-cycle.d.mts +17 -9
- package/resources/payroll-runs/off-cycle.d.mts.map +1 -1
- package/resources/payroll-runs/off-cycle.d.ts +17 -9
- package/resources/payroll-runs/off-cycle.d.ts.map +1 -1
- package/resources/payroll-runs/off-cycle.js +9 -5
- package/resources/payroll-runs/off-cycle.js.map +1 -1
- package/resources/payroll-runs/off-cycle.mjs +9 -5
- package/resources/payroll-runs/off-cycle.mjs.map +1 -1
- package/resources/permissions/index.d.mts +3 -0
- package/resources/permissions/index.d.mts.map +1 -0
- package/resources/permissions/index.d.ts +3 -0
- package/resources/permissions/index.d.ts.map +1 -0
- package/resources/permissions/index.js +9 -0
- package/resources/permissions/index.js.map +1 -0
- package/resources/permissions/index.mjs +4 -0
- package/resources/permissions/index.mjs.map +1 -0
- package/resources/permissions/permission-profiles.d.mts +43 -0
- package/resources/permissions/permission-profiles.d.mts.map +1 -0
- package/resources/permissions/permission-profiles.d.ts +43 -0
- package/resources/permissions/permission-profiles.d.ts.map +1 -0
- package/resources/permissions/permission-profiles.js +36 -0
- package/resources/permissions/permission-profiles.js.map +1 -0
- package/resources/permissions/permission-profiles.mjs +32 -0
- package/resources/permissions/permission-profiles.mjs.map +1 -0
- package/resources/permissions/permissions.d.mts +10 -0
- package/resources/permissions/permissions.d.mts.map +1 -0
- package/resources/permissions/permissions.d.ts +10 -0
- package/resources/permissions/permissions.d.ts.map +1 -0
- package/resources/permissions/permissions.js +17 -0
- package/resources/permissions/permissions.js.map +1 -0
- package/resources/permissions/permissions.mjs +12 -0
- package/resources/permissions/permissions.mjs.map +1 -0
- package/resources/permissions.d.mts +2 -0
- package/resources/permissions.d.mts.map +1 -0
- package/resources/permissions.d.ts +2 -0
- package/resources/permissions.d.ts.map +1 -0
- package/resources/permissions.js +6 -0
- package/resources/permissions.js.map +1 -0
- package/resources/permissions.mjs +3 -0
- package/resources/permissions.mjs.map +1 -0
- package/resources/record-detail-reference-options.d.mts +110 -0
- package/resources/record-detail-reference-options.d.mts.map +1 -0
- package/resources/record-detail-reference-options.d.ts +110 -0
- package/resources/record-detail-reference-options.d.ts.map +1 -0
- package/resources/record-detail-reference-options.js +54 -0
- package/resources/record-detail-reference-options.js.map +1 -0
- package/resources/record-detail-reference-options.mjs +50 -0
- package/resources/record-detail-reference-options.mjs.map +1 -0
- package/resources/record-detail-related-records.d.mts +1129 -0
- package/resources/record-detail-related-records.d.mts.map +1 -0
- package/resources/record-detail-related-records.d.ts +1129 -0
- package/resources/record-detail-related-records.d.ts.map +1 -0
- package/resources/record-detail-related-records.js +49 -0
- package/resources/record-detail-related-records.js.map +1 -0
- package/resources/record-detail-related-records.mjs +45 -0
- package/resources/record-detail-related-records.mjs.map +1 -0
- package/resources/record-details.d.mts +2621 -0
- package/resources/record-details.d.mts.map +1 -0
- package/resources/record-details.d.ts +2621 -0
- package/resources/record-details.d.ts.map +1 -0
- package/resources/record-details.js +141 -0
- package/resources/record-details.js.map +1 -0
- package/resources/record-details.mjs +137 -0
- package/resources/record-details.mjs.map +1 -0
- package/resources/reimbursements.d.mts +2158 -90
- package/resources/reimbursements.d.mts.map +1 -1
- package/resources/reimbursements.d.ts +2158 -90
- package/resources/reimbursements.d.ts.map +1 -1
- package/resources/reimbursements.js +306 -16
- package/resources/reimbursements.js.map +1 -1
- package/resources/reimbursements.mjs +306 -16
- package/resources/reimbursements.mjs.map +1 -1
- package/resources/report-runs.d.mts +2 -1
- package/resources/report-runs.d.mts.map +1 -1
- package/resources/report-runs.d.ts +2 -1
- package/resources/report-runs.d.ts.map +1 -1
- package/resources/report-runs.js +2 -1
- package/resources/report-runs.js.map +1 -1
- package/resources/report-runs.mjs +2 -1
- package/resources/report-runs.mjs.map +1 -1
- package/resources/sandboxes.d.mts +20 -624
- package/resources/sandboxes.d.mts.map +1 -1
- package/resources/sandboxes.d.ts +20 -624
- package/resources/sandboxes.d.ts.map +1 -1
- package/resources/sandboxes.js +5 -60
- package/resources/sandboxes.js.map +1 -1
- package/resources/sandboxes.mjs +5 -60
- package/resources/sandboxes.mjs.map +1 -1
- package/resources/worker-changes.d.mts +65 -10
- package/resources/worker-changes.d.mts.map +1 -1
- package/resources/worker-changes.d.ts +65 -10
- package/resources/worker-changes.d.ts.map +1 -1
- package/resources/worker-changes.js +3 -0
- package/resources/worker-changes.js.map +1 -1
- package/resources/worker-changes.mjs +3 -0
- package/resources/worker-changes.mjs.map +1 -1
- package/src/client.ts +160 -17
- package/src/core/platform/custom-objects/manager.ts +65 -42
- package/src/core/platform/custom-objects.ts +3 -0
- package/src/lib/manifest/acp-agent.ts +7 -1
- package/src/lib/manifest/definitions/_object-records.ts +17 -10
- package/src/lib/manifest/definitions/custom-object.ts +14 -9
- package/src/resources/activity-log.ts +1 -1
- package/src/resources/agents/sessions/messages.ts +10 -1
- package/src/resources/agents/sessions/sessions.ts +30 -3
- package/src/resources/bills.ts +1660 -0
- package/src/resources/card-transactions.ts +742 -49
- package/src/resources/custom-objects/custom-objects.ts +62 -2
- package/src/resources/custom-objects/fields.ts +44 -0
- package/src/resources/custom-objects/index.ts +13 -1
- package/src/resources/custom-objects/list-views/capabilities.ts +72 -0
- package/src/resources/custom-objects/list-views/default.ts +87 -0
- package/src/resources/custom-objects/list-views/index.ts +15 -0
- package/src/resources/custom-objects/list-views/list-views.ts +973 -0
- package/src/resources/custom-objects/list-views.ts +3 -0
- package/src/resources/custom-objects/records/capabilities.ts +73 -0
- package/src/resources/custom-objects/records/index.ts +21 -0
- package/src/resources/custom-objects/records/records.ts +955 -0
- package/src/resources/custom-objects/records.ts +1 -703
- package/src/resources/devices.ts +2 -0
- package/src/resources/draft-transitions.ts +276 -347
- package/src/resources/employee-documents.ts +2 -2
- package/src/resources/{spend-categories.ts → finance-categories.ts} +26 -23
- package/src/resources/finance-vendors.ts +191 -0
- package/src/resources/functions/executions.ts +4 -1
- package/src/resources/functions/functions.ts +216 -4
- package/src/resources/hire-requirements.ts +107 -9
- package/src/resources/hires.ts +1768 -539
- package/src/resources/index.ts +53 -7
- package/src/resources/leave-requests.ts +11 -2
- package/src/resources/object-categories.ts +2 -1
- package/src/resources/package-components/extract.ts +139 -0
- package/src/resources/package-components/index.ts +10 -0
- package/src/resources/package-components/package-components.ts +134 -0
- package/src/resources/package-components/types.ts +64 -0
- package/src/resources/package-components.ts +3 -0
- package/src/resources/package-installs.ts +120 -9
- package/src/resources/package-managed-installs.ts +146 -7
- package/src/resources/package-manifests/index.ts +5 -0
- package/src/resources/package-manifests/package-manifests.ts +21 -0
- package/src/resources/package-manifests/packages/index.ts +4 -0
- package/src/resources/package-manifests/packages/packages.ts +19 -0
- package/src/resources/package-manifests/packages/versions.ts +237 -0
- package/src/resources/package-manifests/packages.ts +3 -0
- package/src/resources/package-manifests/versions.ts +96 -0
- package/src/resources/package-manifests.ts +3 -0
- package/src/resources/package-versions/package-versions.ts +117 -14
- package/src/resources/package-versions/publish.ts +46 -4
- package/src/resources/packages/next-versions.ts +46 -4
- package/src/resources/packages/versions.ts +92 -9
- package/src/resources/payroll-runs/off-cycle.ts +17 -9
- package/src/resources/permissions/index.ts +4 -0
- package/src/resources/permissions/permission-profiles.ts +50 -0
- package/src/resources/permissions/permissions.ts +20 -0
- package/src/resources/permissions.ts +3 -0
- package/src/resources/record-detail-reference-options.ts +141 -0
- package/src/resources/record-detail-related-records.ts +1457 -0
- package/src/resources/record-details.ts +3316 -0
- package/src/resources/reimbursements.ts +2591 -126
- package/src/resources/report-runs.ts +2 -1
- package/src/resources/sandboxes.ts +48 -742
- package/src/resources/worker-changes.ts +71 -10
- package/src/version.ts +1 -1
- package/version.d.mts +1 -1
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/version.mjs +1 -1
- package/resources/spend-categories.d.mts.map +0 -1
- package/resources/spend-categories.d.ts.map +0 -1
- package/resources/spend-categories.js.map +0 -1
- package/resources/spend-categories.mjs.map +0 -1
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
3
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
+
exports.Types = void 0;
|
|
5
|
+
const resource_1 = require("../../core/resource.js");
|
|
6
|
+
/**
|
|
7
|
+
* Author, publish, and install Unity Packages V2 packages
|
|
8
|
+
*/
|
|
9
|
+
class Types extends resource_1.APIResource {
|
|
10
|
+
/**
|
|
11
|
+
* Return the package builder's component types available to the authenticated
|
|
12
|
+
* role.
|
|
13
|
+
*
|
|
14
|
+
* @example HTTP
|
|
15
|
+
* Representative request and response shapes.
|
|
16
|
+
* ```
|
|
17
|
+
* GET /package-components/types/ HTTP/1.1
|
|
18
|
+
* Host: rest.ripplingapis.com
|
|
19
|
+
* Accept: application/json
|
|
20
|
+
* Rippling-Api-Version: 2024-08-01
|
|
21
|
+
*
|
|
22
|
+
* HTTP/1.1 200 OK
|
|
23
|
+
* Content-Type: application/json
|
|
24
|
+
*
|
|
25
|
+
* {
|
|
26
|
+
* "component_types": [
|
|
27
|
+
* {
|
|
28
|
+
* "type": "string",
|
|
29
|
+
* "display_name": "string"
|
|
30
|
+
* }
|
|
31
|
+
* ]
|
|
32
|
+
* }
|
|
33
|
+
* ```
|
|
34
|
+
*/
|
|
35
|
+
retrieve(options) {
|
|
36
|
+
return this._client.get('/package-components/types/', options);
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
exports.Types = Types;
|
|
40
|
+
//# sourceMappingURL=types.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.js","sourceRoot":"","sources":["../../src/resources/package-components/types.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,qDAAkD;AAIlD;;GAEG;AACH,MAAa,KAAM,SAAQ,sBAAW;IACpC;;;;;;;;;;;;;;;;;;;;;;;;OAwBG;IACH,QAAQ,CAAC,OAAwB;QAC/B,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,4BAA4B,EAAE,OAAO,CAAC,CAAC;IACjE,CAAC;CACF;AA7BD,sBA6BC"}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
+
import { APIResource } from "../../core/resource.mjs";
|
|
3
|
+
/**
|
|
4
|
+
* Author, publish, and install Unity Packages V2 packages
|
|
5
|
+
*/
|
|
6
|
+
export class Types extends APIResource {
|
|
7
|
+
/**
|
|
8
|
+
* Return the package builder's component types available to the authenticated
|
|
9
|
+
* role.
|
|
10
|
+
*
|
|
11
|
+
* @example HTTP
|
|
12
|
+
* Representative request and response shapes.
|
|
13
|
+
* ```
|
|
14
|
+
* GET /package-components/types/ HTTP/1.1
|
|
15
|
+
* Host: rest.ripplingapis.com
|
|
16
|
+
* Accept: application/json
|
|
17
|
+
* Rippling-Api-Version: 2024-08-01
|
|
18
|
+
*
|
|
19
|
+
* HTTP/1.1 200 OK
|
|
20
|
+
* Content-Type: application/json
|
|
21
|
+
*
|
|
22
|
+
* {
|
|
23
|
+
* "component_types": [
|
|
24
|
+
* {
|
|
25
|
+
* "type": "string",
|
|
26
|
+
* "display_name": "string"
|
|
27
|
+
* }
|
|
28
|
+
* ]
|
|
29
|
+
* }
|
|
30
|
+
* ```
|
|
31
|
+
*/
|
|
32
|
+
retrieve(options) {
|
|
33
|
+
return this._client.get('/package-components/types/', options);
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
//# sourceMappingURL=types.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.mjs","sourceRoot":"","sources":["../../src/resources/package-components/types.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF,OAAO,EAAE,WAAW,EAAE,gCAA4B;AAIlD;;GAEG;AACH,MAAM,OAAO,KAAM,SAAQ,WAAW;IACpC;;;;;;;;;;;;;;;;;;;;;;;;OAwBG;IACH,QAAQ,CAAC,OAAwB;QAC/B,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,4BAA4B,EAAE,OAAO,CAAC,CAAC;IACjE,CAAC;CACF"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"package-components.d.mts","sourceRoot":"","sources":["../src/resources/package-components.ts"],"names":[],"mappings":"AAEA,+CAA2C"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"package-components.d.ts","sourceRoot":"","sources":["../src/resources/package-components.ts"],"names":[],"mappings":"AAEA,8CAA2C"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
3
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
+
const tslib_1 = require("../internal/tslib.js");
|
|
5
|
+
tslib_1.__exportStar(require("./package-components/index.js"), exports);
|
|
6
|
+
//# sourceMappingURL=package-components.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"package-components.js","sourceRoot":"","sources":["../src/resources/package-components.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,wEAA2C"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"package-components.mjs","sourceRoot":"","sources":["../src/resources/package-components.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF,+CAA2C"}
|
|
@@ -6,7 +6,18 @@ import { RequestOptions } from "../internal/request-options.mjs";
|
|
|
6
6
|
*/
|
|
7
7
|
export declare class PackageInstalls extends APIResource {
|
|
8
8
|
/**
|
|
9
|
-
* Start installing a published package version asynchronously.
|
|
9
|
+
* Start installing a published package version asynchronously. Poll GET
|
|
10
|
+
* /package-installs/{tracker_id}/ for completion. A post-install function failure
|
|
11
|
+
* sets PackageInstallationTracker.status to COMPLETE_WITH_WARNINGS and puts
|
|
12
|
+
* warning details in error_message; installed components and data written by the
|
|
13
|
+
* function are retained. Read post_install_function_error_code to classify hook
|
|
14
|
+
* failures. When a run was created, post_install_function_api_name and
|
|
15
|
+
* post_install_function_run_id identify its Function execution. The activity is
|
|
16
|
+
* not automatically retried. Repeating an unmanaged installation can run the hook
|
|
17
|
+
* again and duplicate business data; hook authors must make initialization safe to
|
|
18
|
+
* repeat. Versions with a post-install function run it automatically after
|
|
19
|
+
* installation. The function runs with the installer's permissions and a token
|
|
20
|
+
* valid for 16 minutes with scope `read write`; product permissions still apply.
|
|
10
21
|
*
|
|
11
22
|
* @example HTTP
|
|
12
23
|
* Representative request and response shapes.
|
|
@@ -29,8 +40,11 @@ export declare class PackageInstalls extends APIResource {
|
|
|
29
40
|
* "created_at": "string",
|
|
30
41
|
* "updated_at": "string",
|
|
31
42
|
* "package_version_id": "string",
|
|
32
|
-
* "status": "
|
|
43
|
+
* "status": "IN_PROGRESS",
|
|
33
44
|
* "error_message": "string",
|
|
45
|
+
* "post_install_function_api_name": "string",
|
|
46
|
+
* "post_install_function_run_id": "string",
|
|
47
|
+
* "post_install_function_error_code": "POST_INSTALL_FUNCTION_MAPPING_MISSING",
|
|
34
48
|
* "installation_record_id": "string",
|
|
35
49
|
* "post_install_landing_component": {},
|
|
36
50
|
* "progress": [
|
|
@@ -59,8 +73,11 @@ export declare class PackageInstalls extends APIResource {
|
|
|
59
73
|
* "created_at": "string",
|
|
60
74
|
* "updated_at": "string",
|
|
61
75
|
* "package_version_id": "string",
|
|
62
|
-
* "status": "
|
|
76
|
+
* "status": "IN_PROGRESS",
|
|
63
77
|
* "error_message": "string",
|
|
78
|
+
* "post_install_function_api_name": "string",
|
|
79
|
+
* "post_install_function_run_id": "string",
|
|
80
|
+
* "post_install_function_error_code": "POST_INSTALL_FUNCTION_MAPPING_MISSING",
|
|
64
81
|
* "installation_record_id": "string",
|
|
65
82
|
* "post_install_landing_component": {},
|
|
66
83
|
* "progress": [
|
|
@@ -88,7 +105,9 @@ export interface PackageInstallCreateResponse {
|
|
|
88
105
|
*/
|
|
89
106
|
updated_at: string;
|
|
90
107
|
/**
|
|
91
|
-
*
|
|
108
|
+
* Failure details when status is FAILED, or non-fatal warning details when status
|
|
109
|
+
* is COMPLETE_WITH_WARNINGS. Warnings do not roll back installed components or
|
|
110
|
+
* data written by the function.
|
|
92
111
|
*/
|
|
93
112
|
error_message?: string;
|
|
94
113
|
/**
|
|
@@ -99,6 +118,30 @@ export interface PackageInstallCreateResponse {
|
|
|
99
118
|
* The package version being installed
|
|
100
119
|
*/
|
|
101
120
|
package_version_id?: string;
|
|
121
|
+
/**
|
|
122
|
+
* The installed Function's API name for retrieving its execution. Null if no hook
|
|
123
|
+
* was attempted or for older installations. Managed names include the package and
|
|
124
|
+
* install namespace.
|
|
125
|
+
*/
|
|
126
|
+
post_install_function_api_name?: string | null;
|
|
127
|
+
/**
|
|
128
|
+
* The last installation hook failure. Wire values start with
|
|
129
|
+
* POST*INSTALL_FUNCTION*: MAPPING_MISSING means the installed Function mapping is
|
|
130
|
+
* absent; DEPLOYMENT_NOT_FOUND means no deployment exists; DEPLOYMENT_FAILED means
|
|
131
|
+
* deployment failed; DEPLOYMENT_TIMEOUT means deployment readiness timed out;
|
|
132
|
+
* PERMISSION_DENIED means installer authorization failed; EXECUTION_FAILED means
|
|
133
|
+
* execution failed; EXECUTION_TIMEOUT means the hook activity timed out. Null on
|
|
134
|
+
* success, when no hook was attempted, or for older installations. Managed
|
|
135
|
+
* upgrades do not rerun the hook and preserve this outcome.
|
|
136
|
+
*/
|
|
137
|
+
post_install_function_error_code?: 'POST_INSTALL_FUNCTION_MAPPING_MISSING' | 'POST_INSTALL_FUNCTION_DEPLOYMENT_NOT_FOUND' | 'POST_INSTALL_FUNCTION_DEPLOYMENT_FAILED' | 'POST_INSTALL_FUNCTION_DEPLOYMENT_TIMEOUT' | 'POST_INSTALL_FUNCTION_PERMISSION_DENIED' | 'POST_INSTALL_FUNCTION_EXECUTION_FAILED' | 'POST_INSTALL_FUNCTION_EXECUTION_TIMEOUT' | null;
|
|
138
|
+
/**
|
|
139
|
+
* The Function execution ID, recorded on success and failure when a run was
|
|
140
|
+
* created. Use with post_install_function_api_name at GET
|
|
141
|
+
* /functions/{function_api_name}/executions/{execution_id}/. Function execution
|
|
142
|
+
* permissions still apply. Null if no run was created or for older installations.
|
|
143
|
+
*/
|
|
144
|
+
post_install_function_run_id?: string | null;
|
|
102
145
|
/**
|
|
103
146
|
* Component to open after installation completes
|
|
104
147
|
*/
|
|
@@ -108,9 +151,11 @@ export interface PackageInstallCreateResponse {
|
|
|
108
151
|
*/
|
|
109
152
|
progress?: Array<unknown>;
|
|
110
153
|
/**
|
|
111
|
-
* Installation status (IN_PROGRESS, COMPLETE, or FAILED)
|
|
154
|
+
* Installation status (IN_PROGRESS, COMPLETE, COMPLETE_WITH_WARNINGS, or FAILED).
|
|
155
|
+
* COMPLETE_WITH_WARNINGS means components were installed but post-processing or
|
|
156
|
+
* the post-install function failed. Read error_message for warning details.
|
|
112
157
|
*/
|
|
113
|
-
status?:
|
|
158
|
+
status?: 'IN_PROGRESS' | 'COMPLETE' | 'COMPLETE_WITH_WARNINGS' | 'FAILED' | 'UNINSTALLED';
|
|
114
159
|
}
|
|
115
160
|
/**
|
|
116
161
|
* Async package installation tracker for subscriber companies.
|
|
@@ -129,7 +174,9 @@ export interface PackageInstallRetrieveResponse {
|
|
|
129
174
|
*/
|
|
130
175
|
updated_at: string;
|
|
131
176
|
/**
|
|
132
|
-
*
|
|
177
|
+
* Failure details when status is FAILED, or non-fatal warning details when status
|
|
178
|
+
* is COMPLETE_WITH_WARNINGS. Warnings do not roll back installed components or
|
|
179
|
+
* data written by the function.
|
|
133
180
|
*/
|
|
134
181
|
error_message?: string;
|
|
135
182
|
/**
|
|
@@ -140,6 +187,30 @@ export interface PackageInstallRetrieveResponse {
|
|
|
140
187
|
* The package version being installed
|
|
141
188
|
*/
|
|
142
189
|
package_version_id?: string;
|
|
190
|
+
/**
|
|
191
|
+
* The installed Function's API name for retrieving its execution. Null if no hook
|
|
192
|
+
* was attempted or for older installations. Managed names include the package and
|
|
193
|
+
* install namespace.
|
|
194
|
+
*/
|
|
195
|
+
post_install_function_api_name?: string | null;
|
|
196
|
+
/**
|
|
197
|
+
* The last installation hook failure. Wire values start with
|
|
198
|
+
* POST*INSTALL_FUNCTION*: MAPPING_MISSING means the installed Function mapping is
|
|
199
|
+
* absent; DEPLOYMENT_NOT_FOUND means no deployment exists; DEPLOYMENT_FAILED means
|
|
200
|
+
* deployment failed; DEPLOYMENT_TIMEOUT means deployment readiness timed out;
|
|
201
|
+
* PERMISSION_DENIED means installer authorization failed; EXECUTION_FAILED means
|
|
202
|
+
* execution failed; EXECUTION_TIMEOUT means the hook activity timed out. Null on
|
|
203
|
+
* success, when no hook was attempted, or for older installations. Managed
|
|
204
|
+
* upgrades do not rerun the hook and preserve this outcome.
|
|
205
|
+
*/
|
|
206
|
+
post_install_function_error_code?: 'POST_INSTALL_FUNCTION_MAPPING_MISSING' | 'POST_INSTALL_FUNCTION_DEPLOYMENT_NOT_FOUND' | 'POST_INSTALL_FUNCTION_DEPLOYMENT_FAILED' | 'POST_INSTALL_FUNCTION_DEPLOYMENT_TIMEOUT' | 'POST_INSTALL_FUNCTION_PERMISSION_DENIED' | 'POST_INSTALL_FUNCTION_EXECUTION_FAILED' | 'POST_INSTALL_FUNCTION_EXECUTION_TIMEOUT' | null;
|
|
207
|
+
/**
|
|
208
|
+
* The Function execution ID, recorded on success and failure when a run was
|
|
209
|
+
* created. Use with post_install_function_api_name at GET
|
|
210
|
+
* /functions/{function_api_name}/executions/{execution_id}/. Function execution
|
|
211
|
+
* permissions still apply. Null if no run was created or for older installations.
|
|
212
|
+
*/
|
|
213
|
+
post_install_function_run_id?: string | null;
|
|
143
214
|
/**
|
|
144
215
|
* Component to open after installation completes
|
|
145
216
|
*/
|
|
@@ -149,15 +220,31 @@ export interface PackageInstallRetrieveResponse {
|
|
|
149
220
|
*/
|
|
150
221
|
progress?: Array<unknown>;
|
|
151
222
|
/**
|
|
152
|
-
* Installation status (IN_PROGRESS, COMPLETE, or FAILED)
|
|
223
|
+
* Installation status (IN_PROGRESS, COMPLETE, COMPLETE_WITH_WARNINGS, or FAILED).
|
|
224
|
+
* COMPLETE_WITH_WARNINGS means components were installed but post-processing or
|
|
225
|
+
* the post-install function failed. Read error_message for warning details.
|
|
153
226
|
*/
|
|
154
|
-
status?:
|
|
227
|
+
status?: 'IN_PROGRESS' | 'COMPLETE' | 'COMPLETE_WITH_WARNINGS' | 'FAILED' | 'UNINSTALLED';
|
|
155
228
|
}
|
|
156
229
|
export interface PackageInstallCreateParams {
|
|
157
230
|
/**
|
|
158
231
|
* The published package version to install.
|
|
159
232
|
*/
|
|
160
233
|
version_id: string;
|
|
234
|
+
/**
|
|
235
|
+
* @deprecated Accepted for backward compatibility and ignored. Configured
|
|
236
|
+
* post-install functions always run after installation.
|
|
237
|
+
*/
|
|
238
|
+
allow_post_install_function?: boolean;
|
|
239
|
+
/**
|
|
240
|
+
* Optional service-account role id. Omit it to install as the authenticated
|
|
241
|
+
* caller. When set, the role must be a service account in the caller's company
|
|
242
|
+
* that the caller is allowed to assume. A missing role, a role in another company,
|
|
243
|
+
* a role that is not a service account, or a service account the caller cannot
|
|
244
|
+
* assume returns HTTP 400. Use a service-account role id this caller is allowed to
|
|
245
|
+
* assume. There is no public list endpoint for these ids.
|
|
246
|
+
*/
|
|
247
|
+
service_account_role_id?: string;
|
|
161
248
|
}
|
|
162
249
|
export declare namespace PackageInstalls {
|
|
163
250
|
export { type PackageInstallCreateResponse as PackageInstallCreateResponse, type PackageInstallRetrieveResponse as PackageInstallRetrieveResponse, type PackageInstallCreateParams as PackageInstallCreateParams, };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"package-installs.d.mts","sourceRoot":"","sources":["../src/resources/package-installs.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,6BAAyB;AAC/C,OAAO,EAAE,UAAU,EAAE,gCAA4B;AACjD,OAAO,EAAE,cAAc,EAAE,wCAAoC;AAG7D;;GAEG;AACH,qBAAa,eAAgB,SAAQ,WAAW;IAC9C
|
|
1
|
+
{"version":3,"file":"package-installs.d.mts","sourceRoot":"","sources":["../src/resources/package-installs.ts"],"names":[],"mappings":"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"}
|
|
@@ -6,7 +6,18 @@ import { RequestOptions } from "../internal/request-options.js";
|
|
|
6
6
|
*/
|
|
7
7
|
export declare class PackageInstalls extends APIResource {
|
|
8
8
|
/**
|
|
9
|
-
* Start installing a published package version asynchronously.
|
|
9
|
+
* Start installing a published package version asynchronously. Poll GET
|
|
10
|
+
* /package-installs/{tracker_id}/ for completion. A post-install function failure
|
|
11
|
+
* sets PackageInstallationTracker.status to COMPLETE_WITH_WARNINGS and puts
|
|
12
|
+
* warning details in error_message; installed components and data written by the
|
|
13
|
+
* function are retained. Read post_install_function_error_code to classify hook
|
|
14
|
+
* failures. When a run was created, post_install_function_api_name and
|
|
15
|
+
* post_install_function_run_id identify its Function execution. The activity is
|
|
16
|
+
* not automatically retried. Repeating an unmanaged installation can run the hook
|
|
17
|
+
* again and duplicate business data; hook authors must make initialization safe to
|
|
18
|
+
* repeat. Versions with a post-install function run it automatically after
|
|
19
|
+
* installation. The function runs with the installer's permissions and a token
|
|
20
|
+
* valid for 16 minutes with scope `read write`; product permissions still apply.
|
|
10
21
|
*
|
|
11
22
|
* @example HTTP
|
|
12
23
|
* Representative request and response shapes.
|
|
@@ -29,8 +40,11 @@ export declare class PackageInstalls extends APIResource {
|
|
|
29
40
|
* "created_at": "string",
|
|
30
41
|
* "updated_at": "string",
|
|
31
42
|
* "package_version_id": "string",
|
|
32
|
-
* "status": "
|
|
43
|
+
* "status": "IN_PROGRESS",
|
|
33
44
|
* "error_message": "string",
|
|
45
|
+
* "post_install_function_api_name": "string",
|
|
46
|
+
* "post_install_function_run_id": "string",
|
|
47
|
+
* "post_install_function_error_code": "POST_INSTALL_FUNCTION_MAPPING_MISSING",
|
|
34
48
|
* "installation_record_id": "string",
|
|
35
49
|
* "post_install_landing_component": {},
|
|
36
50
|
* "progress": [
|
|
@@ -59,8 +73,11 @@ export declare class PackageInstalls extends APIResource {
|
|
|
59
73
|
* "created_at": "string",
|
|
60
74
|
* "updated_at": "string",
|
|
61
75
|
* "package_version_id": "string",
|
|
62
|
-
* "status": "
|
|
76
|
+
* "status": "IN_PROGRESS",
|
|
63
77
|
* "error_message": "string",
|
|
78
|
+
* "post_install_function_api_name": "string",
|
|
79
|
+
* "post_install_function_run_id": "string",
|
|
80
|
+
* "post_install_function_error_code": "POST_INSTALL_FUNCTION_MAPPING_MISSING",
|
|
64
81
|
* "installation_record_id": "string",
|
|
65
82
|
* "post_install_landing_component": {},
|
|
66
83
|
* "progress": [
|
|
@@ -88,7 +105,9 @@ export interface PackageInstallCreateResponse {
|
|
|
88
105
|
*/
|
|
89
106
|
updated_at: string;
|
|
90
107
|
/**
|
|
91
|
-
*
|
|
108
|
+
* Failure details when status is FAILED, or non-fatal warning details when status
|
|
109
|
+
* is COMPLETE_WITH_WARNINGS. Warnings do not roll back installed components or
|
|
110
|
+
* data written by the function.
|
|
92
111
|
*/
|
|
93
112
|
error_message?: string;
|
|
94
113
|
/**
|
|
@@ -99,6 +118,30 @@ export interface PackageInstallCreateResponse {
|
|
|
99
118
|
* The package version being installed
|
|
100
119
|
*/
|
|
101
120
|
package_version_id?: string;
|
|
121
|
+
/**
|
|
122
|
+
* The installed Function's API name for retrieving its execution. Null if no hook
|
|
123
|
+
* was attempted or for older installations. Managed names include the package and
|
|
124
|
+
* install namespace.
|
|
125
|
+
*/
|
|
126
|
+
post_install_function_api_name?: string | null;
|
|
127
|
+
/**
|
|
128
|
+
* The last installation hook failure. Wire values start with
|
|
129
|
+
* POST*INSTALL_FUNCTION*: MAPPING_MISSING means the installed Function mapping is
|
|
130
|
+
* absent; DEPLOYMENT_NOT_FOUND means no deployment exists; DEPLOYMENT_FAILED means
|
|
131
|
+
* deployment failed; DEPLOYMENT_TIMEOUT means deployment readiness timed out;
|
|
132
|
+
* PERMISSION_DENIED means installer authorization failed; EXECUTION_FAILED means
|
|
133
|
+
* execution failed; EXECUTION_TIMEOUT means the hook activity timed out. Null on
|
|
134
|
+
* success, when no hook was attempted, or for older installations. Managed
|
|
135
|
+
* upgrades do not rerun the hook and preserve this outcome.
|
|
136
|
+
*/
|
|
137
|
+
post_install_function_error_code?: 'POST_INSTALL_FUNCTION_MAPPING_MISSING' | 'POST_INSTALL_FUNCTION_DEPLOYMENT_NOT_FOUND' | 'POST_INSTALL_FUNCTION_DEPLOYMENT_FAILED' | 'POST_INSTALL_FUNCTION_DEPLOYMENT_TIMEOUT' | 'POST_INSTALL_FUNCTION_PERMISSION_DENIED' | 'POST_INSTALL_FUNCTION_EXECUTION_FAILED' | 'POST_INSTALL_FUNCTION_EXECUTION_TIMEOUT' | null;
|
|
138
|
+
/**
|
|
139
|
+
* The Function execution ID, recorded on success and failure when a run was
|
|
140
|
+
* created. Use with post_install_function_api_name at GET
|
|
141
|
+
* /functions/{function_api_name}/executions/{execution_id}/. Function execution
|
|
142
|
+
* permissions still apply. Null if no run was created or for older installations.
|
|
143
|
+
*/
|
|
144
|
+
post_install_function_run_id?: string | null;
|
|
102
145
|
/**
|
|
103
146
|
* Component to open after installation completes
|
|
104
147
|
*/
|
|
@@ -108,9 +151,11 @@ export interface PackageInstallCreateResponse {
|
|
|
108
151
|
*/
|
|
109
152
|
progress?: Array<unknown>;
|
|
110
153
|
/**
|
|
111
|
-
* Installation status (IN_PROGRESS, COMPLETE, or FAILED)
|
|
154
|
+
* Installation status (IN_PROGRESS, COMPLETE, COMPLETE_WITH_WARNINGS, or FAILED).
|
|
155
|
+
* COMPLETE_WITH_WARNINGS means components were installed but post-processing or
|
|
156
|
+
* the post-install function failed. Read error_message for warning details.
|
|
112
157
|
*/
|
|
113
|
-
status?:
|
|
158
|
+
status?: 'IN_PROGRESS' | 'COMPLETE' | 'COMPLETE_WITH_WARNINGS' | 'FAILED' | 'UNINSTALLED';
|
|
114
159
|
}
|
|
115
160
|
/**
|
|
116
161
|
* Async package installation tracker for subscriber companies.
|
|
@@ -129,7 +174,9 @@ export interface PackageInstallRetrieveResponse {
|
|
|
129
174
|
*/
|
|
130
175
|
updated_at: string;
|
|
131
176
|
/**
|
|
132
|
-
*
|
|
177
|
+
* Failure details when status is FAILED, or non-fatal warning details when status
|
|
178
|
+
* is COMPLETE_WITH_WARNINGS. Warnings do not roll back installed components or
|
|
179
|
+
* data written by the function.
|
|
133
180
|
*/
|
|
134
181
|
error_message?: string;
|
|
135
182
|
/**
|
|
@@ -140,6 +187,30 @@ export interface PackageInstallRetrieveResponse {
|
|
|
140
187
|
* The package version being installed
|
|
141
188
|
*/
|
|
142
189
|
package_version_id?: string;
|
|
190
|
+
/**
|
|
191
|
+
* The installed Function's API name for retrieving its execution. Null if no hook
|
|
192
|
+
* was attempted or for older installations. Managed names include the package and
|
|
193
|
+
* install namespace.
|
|
194
|
+
*/
|
|
195
|
+
post_install_function_api_name?: string | null;
|
|
196
|
+
/**
|
|
197
|
+
* The last installation hook failure. Wire values start with
|
|
198
|
+
* POST*INSTALL_FUNCTION*: MAPPING_MISSING means the installed Function mapping is
|
|
199
|
+
* absent; DEPLOYMENT_NOT_FOUND means no deployment exists; DEPLOYMENT_FAILED means
|
|
200
|
+
* deployment failed; DEPLOYMENT_TIMEOUT means deployment readiness timed out;
|
|
201
|
+
* PERMISSION_DENIED means installer authorization failed; EXECUTION_FAILED means
|
|
202
|
+
* execution failed; EXECUTION_TIMEOUT means the hook activity timed out. Null on
|
|
203
|
+
* success, when no hook was attempted, or for older installations. Managed
|
|
204
|
+
* upgrades do not rerun the hook and preserve this outcome.
|
|
205
|
+
*/
|
|
206
|
+
post_install_function_error_code?: 'POST_INSTALL_FUNCTION_MAPPING_MISSING' | 'POST_INSTALL_FUNCTION_DEPLOYMENT_NOT_FOUND' | 'POST_INSTALL_FUNCTION_DEPLOYMENT_FAILED' | 'POST_INSTALL_FUNCTION_DEPLOYMENT_TIMEOUT' | 'POST_INSTALL_FUNCTION_PERMISSION_DENIED' | 'POST_INSTALL_FUNCTION_EXECUTION_FAILED' | 'POST_INSTALL_FUNCTION_EXECUTION_TIMEOUT' | null;
|
|
207
|
+
/**
|
|
208
|
+
* The Function execution ID, recorded on success and failure when a run was
|
|
209
|
+
* created. Use with post_install_function_api_name at GET
|
|
210
|
+
* /functions/{function_api_name}/executions/{execution_id}/. Function execution
|
|
211
|
+
* permissions still apply. Null if no run was created or for older installations.
|
|
212
|
+
*/
|
|
213
|
+
post_install_function_run_id?: string | null;
|
|
143
214
|
/**
|
|
144
215
|
* Component to open after installation completes
|
|
145
216
|
*/
|
|
@@ -149,15 +220,31 @@ export interface PackageInstallRetrieveResponse {
|
|
|
149
220
|
*/
|
|
150
221
|
progress?: Array<unknown>;
|
|
151
222
|
/**
|
|
152
|
-
* Installation status (IN_PROGRESS, COMPLETE, or FAILED)
|
|
223
|
+
* Installation status (IN_PROGRESS, COMPLETE, COMPLETE_WITH_WARNINGS, or FAILED).
|
|
224
|
+
* COMPLETE_WITH_WARNINGS means components were installed but post-processing or
|
|
225
|
+
* the post-install function failed. Read error_message for warning details.
|
|
153
226
|
*/
|
|
154
|
-
status?:
|
|
227
|
+
status?: 'IN_PROGRESS' | 'COMPLETE' | 'COMPLETE_WITH_WARNINGS' | 'FAILED' | 'UNINSTALLED';
|
|
155
228
|
}
|
|
156
229
|
export interface PackageInstallCreateParams {
|
|
157
230
|
/**
|
|
158
231
|
* The published package version to install.
|
|
159
232
|
*/
|
|
160
233
|
version_id: string;
|
|
234
|
+
/**
|
|
235
|
+
* @deprecated Accepted for backward compatibility and ignored. Configured
|
|
236
|
+
* post-install functions always run after installation.
|
|
237
|
+
*/
|
|
238
|
+
allow_post_install_function?: boolean;
|
|
239
|
+
/**
|
|
240
|
+
* Optional service-account role id. Omit it to install as the authenticated
|
|
241
|
+
* caller. When set, the role must be a service account in the caller's company
|
|
242
|
+
* that the caller is allowed to assume. A missing role, a role in another company,
|
|
243
|
+
* a role that is not a service account, or a service account the caller cannot
|
|
244
|
+
* assume returns HTTP 400. Use a service-account role id this caller is allowed to
|
|
245
|
+
* assume. There is no public list endpoint for these ids.
|
|
246
|
+
*/
|
|
247
|
+
service_account_role_id?: string;
|
|
161
248
|
}
|
|
162
249
|
export declare namespace PackageInstalls {
|
|
163
250
|
export { type PackageInstallCreateResponse as PackageInstallCreateResponse, type PackageInstallRetrieveResponse as PackageInstallRetrieveResponse, type PackageInstallCreateParams as PackageInstallCreateParams, };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"package-installs.d.ts","sourceRoot":"","sources":["../src/resources/package-installs.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,4BAAyB;AAC/C,OAAO,EAAE,UAAU,EAAE,+BAA4B;AACjD,OAAO,EAAE,cAAc,EAAE,uCAAoC;AAG7D;;GAEG;AACH,qBAAa,eAAgB,SAAQ,WAAW;IAC9C
|
|
1
|
+
{"version":3,"file":"package-installs.d.ts","sourceRoot":"","sources":["../src/resources/package-installs.ts"],"names":[],"mappings":"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"}
|
|
@@ -9,7 +9,18 @@ const path_1 = require("../internal/utils/path.js");
|
|
|
9
9
|
*/
|
|
10
10
|
class PackageInstalls extends resource_1.APIResource {
|
|
11
11
|
/**
|
|
12
|
-
* Start installing a published package version asynchronously.
|
|
12
|
+
* Start installing a published package version asynchronously. Poll GET
|
|
13
|
+
* /package-installs/{tracker_id}/ for completion. A post-install function failure
|
|
14
|
+
* sets PackageInstallationTracker.status to COMPLETE_WITH_WARNINGS and puts
|
|
15
|
+
* warning details in error_message; installed components and data written by the
|
|
16
|
+
* function are retained. Read post_install_function_error_code to classify hook
|
|
17
|
+
* failures. When a run was created, post_install_function_api_name and
|
|
18
|
+
* post_install_function_run_id identify its Function execution. The activity is
|
|
19
|
+
* not automatically retried. Repeating an unmanaged installation can run the hook
|
|
20
|
+
* again and duplicate business data; hook authors must make initialization safe to
|
|
21
|
+
* repeat. Versions with a post-install function run it automatically after
|
|
22
|
+
* installation. The function runs with the installer's permissions and a token
|
|
23
|
+
* valid for 16 minutes with scope `read write`; product permissions still apply.
|
|
13
24
|
*
|
|
14
25
|
* @example HTTP
|
|
15
26
|
* Representative request and response shapes.
|
|
@@ -32,8 +43,11 @@ class PackageInstalls extends resource_1.APIResource {
|
|
|
32
43
|
* "created_at": "string",
|
|
33
44
|
* "updated_at": "string",
|
|
34
45
|
* "package_version_id": "string",
|
|
35
|
-
* "status": "
|
|
46
|
+
* "status": "IN_PROGRESS",
|
|
36
47
|
* "error_message": "string",
|
|
48
|
+
* "post_install_function_api_name": "string",
|
|
49
|
+
* "post_install_function_run_id": "string",
|
|
50
|
+
* "post_install_function_error_code": "POST_INSTALL_FUNCTION_MAPPING_MISSING",
|
|
37
51
|
* "installation_record_id": "string",
|
|
38
52
|
* "post_install_landing_component": {},
|
|
39
53
|
* "progress": [
|
|
@@ -64,8 +78,11 @@ class PackageInstalls extends resource_1.APIResource {
|
|
|
64
78
|
* "created_at": "string",
|
|
65
79
|
* "updated_at": "string",
|
|
66
80
|
* "package_version_id": "string",
|
|
67
|
-
* "status": "
|
|
81
|
+
* "status": "IN_PROGRESS",
|
|
68
82
|
* "error_message": "string",
|
|
83
|
+
* "post_install_function_api_name": "string",
|
|
84
|
+
* "post_install_function_run_id": "string",
|
|
85
|
+
* "post_install_function_error_code": "POST_INSTALL_FUNCTION_MAPPING_MISSING",
|
|
69
86
|
* "installation_record_id": "string",
|
|
70
87
|
* "post_install_landing_component": {},
|
|
71
88
|
* "progress": [
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"package-installs.js","sourceRoot":"","sources":["../src/resources/package-installs.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,kDAA+C;AAG/C,oDAA8C;AAE9C;;GAEG;AACH,MAAa,eAAgB,SAAQ,sBAAW;IAC9C
|
|
1
|
+
{"version":3,"file":"package-installs.js","sourceRoot":"","sources":["../src/resources/package-installs.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,kDAA+C;AAG/C,oDAA8C;AAE9C;;GAEG;AACH,MAAa,eAAgB,SAAQ,sBAAW;IAC9C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OA+CG;IACH,MAAM,CACJ,IAAgC,EAChC,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,oBAAoB,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACvE,CAAC;IAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OA+BG;IACH,QAAQ,CAAC,SAAiB,EAAE,OAAwB;QAClD,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAA,WAAI,EAAA,qBAAqB,SAAS,GAAG,EAAE,OAAO,CAAC,CAAC;IAC1E,CAAC;CACF;AA3FD,0CA2FC"}
|
|
@@ -6,7 +6,18 @@ import { path } from "../internal/utils/path.mjs";
|
|
|
6
6
|
*/
|
|
7
7
|
export class PackageInstalls extends APIResource {
|
|
8
8
|
/**
|
|
9
|
-
* Start installing a published package version asynchronously.
|
|
9
|
+
* Start installing a published package version asynchronously. Poll GET
|
|
10
|
+
* /package-installs/{tracker_id}/ for completion. A post-install function failure
|
|
11
|
+
* sets PackageInstallationTracker.status to COMPLETE_WITH_WARNINGS and puts
|
|
12
|
+
* warning details in error_message; installed components and data written by the
|
|
13
|
+
* function are retained. Read post_install_function_error_code to classify hook
|
|
14
|
+
* failures. When a run was created, post_install_function_api_name and
|
|
15
|
+
* post_install_function_run_id identify its Function execution. The activity is
|
|
16
|
+
* not automatically retried. Repeating an unmanaged installation can run the hook
|
|
17
|
+
* again and duplicate business data; hook authors must make initialization safe to
|
|
18
|
+
* repeat. Versions with a post-install function run it automatically after
|
|
19
|
+
* installation. The function runs with the installer's permissions and a token
|
|
20
|
+
* valid for 16 minutes with scope `read write`; product permissions still apply.
|
|
10
21
|
*
|
|
11
22
|
* @example HTTP
|
|
12
23
|
* Representative request and response shapes.
|
|
@@ -29,8 +40,11 @@ export class PackageInstalls extends APIResource {
|
|
|
29
40
|
* "created_at": "string",
|
|
30
41
|
* "updated_at": "string",
|
|
31
42
|
* "package_version_id": "string",
|
|
32
|
-
* "status": "
|
|
43
|
+
* "status": "IN_PROGRESS",
|
|
33
44
|
* "error_message": "string",
|
|
45
|
+
* "post_install_function_api_name": "string",
|
|
46
|
+
* "post_install_function_run_id": "string",
|
|
47
|
+
* "post_install_function_error_code": "POST_INSTALL_FUNCTION_MAPPING_MISSING",
|
|
34
48
|
* "installation_record_id": "string",
|
|
35
49
|
* "post_install_landing_component": {},
|
|
36
50
|
* "progress": [
|
|
@@ -61,8 +75,11 @@ export class PackageInstalls extends APIResource {
|
|
|
61
75
|
* "created_at": "string",
|
|
62
76
|
* "updated_at": "string",
|
|
63
77
|
* "package_version_id": "string",
|
|
64
|
-
* "status": "
|
|
78
|
+
* "status": "IN_PROGRESS",
|
|
65
79
|
* "error_message": "string",
|
|
80
|
+
* "post_install_function_api_name": "string",
|
|
81
|
+
* "post_install_function_run_id": "string",
|
|
82
|
+
* "post_install_function_error_code": "POST_INSTALL_FUNCTION_MAPPING_MISSING",
|
|
66
83
|
* "installation_record_id": "string",
|
|
67
84
|
* "post_install_landing_component": {},
|
|
68
85
|
* "progress": [
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"package-installs.mjs","sourceRoot":"","sources":["../src/resources/package-installs.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF,OAAO,EAAE,WAAW,EAAE,6BAAyB;AAG/C,OAAO,EAAE,IAAI,EAAE,mCAA+B;AAE9C;;GAEG;AACH,MAAM,OAAO,eAAgB,SAAQ,WAAW;IAC9C
|
|
1
|
+
{"version":3,"file":"package-installs.mjs","sourceRoot":"","sources":["../src/resources/package-installs.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF,OAAO,EAAE,WAAW,EAAE,6BAAyB;AAG/C,OAAO,EAAE,IAAI,EAAE,mCAA+B;AAE9C;;GAEG;AACH,MAAM,OAAO,eAAgB,SAAQ,WAAW;IAC9C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OA+CG;IACH,MAAM,CACJ,IAAgC,EAChC,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,oBAAoB,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACvE,CAAC;IAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OA+BG;IACH,QAAQ,CAAC,SAAiB,EAAE,OAAwB;QAClD,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAI,CAAA,qBAAqB,SAAS,GAAG,EAAE,OAAO,CAAC,CAAC;IAC1E,CAAC;CACF"}
|