@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,2621 @@
|
|
|
1
|
+
import { APIResource } from "../core/resource.js";
|
|
2
|
+
import { APIPromise } from "../core/api-promise.js";
|
|
3
|
+
import { RequestOptions } from "../internal/request-options.js";
|
|
4
|
+
/**
|
|
5
|
+
* Custom object datarows defined by the company
|
|
6
|
+
*/
|
|
7
|
+
export declare class RecordDetails extends APIResource {
|
|
8
|
+
/**
|
|
9
|
+
* Retrieves a Custom Object record's readable values, edit capabilities, and
|
|
10
|
+
* effective saved page layout.
|
|
11
|
+
*
|
|
12
|
+
* Use this response to render a record page or prepare an edit through the
|
|
13
|
+
* canonical record PATCH endpoint. Includes discoverable direct fields outside the
|
|
14
|
+
* layout. Unreadable fields retain metadata with null, MASKED values; saved
|
|
15
|
+
* visibility conditions and field permissions determine the returned placements.
|
|
16
|
+
* Related-list sections describe the target object, relationship field, and
|
|
17
|
+
* configured columns without embedding row contents. Metadata-administration
|
|
18
|
+
* scopes are not required. Masked values contain no raw data. Values use the
|
|
19
|
+
* formats documented by data_type. References contain a scalar identifier and
|
|
20
|
+
* optional permitted display, not an expanded resource.
|
|
21
|
+
*
|
|
22
|
+
* @example HTTP
|
|
23
|
+
* Representative request and response shapes.
|
|
24
|
+
* ```
|
|
25
|
+
* GET /record-details/{record_id}/?object_api_name=object_api_name&layout_api_name=default HTTP/1.1
|
|
26
|
+
* Host: rest.ripplingapis.com
|
|
27
|
+
* Accept: application/json
|
|
28
|
+
* Rippling-Api-Version: 2024-08-01
|
|
29
|
+
*
|
|
30
|
+
* HTTP/1.1 200 OK
|
|
31
|
+
* Content-Type: application/json
|
|
32
|
+
*
|
|
33
|
+
* {
|
|
34
|
+
* "id": "string",
|
|
35
|
+
* "object_api_name": "string",
|
|
36
|
+
* "updated_at": "2025-01-01T00:00:00Z",
|
|
37
|
+
* "capabilities": {
|
|
38
|
+
* "editable": false,
|
|
39
|
+
* "deletable": false,
|
|
40
|
+
* "locked": false
|
|
41
|
+
* },
|
|
42
|
+
* "layout": {
|
|
43
|
+
* "api_name": "string",
|
|
44
|
+
* "header": {
|
|
45
|
+
* "title_field": "string",
|
|
46
|
+
* "description_field": "string",
|
|
47
|
+
* "fields": [
|
|
48
|
+
* "string"
|
|
49
|
+
* ]
|
|
50
|
+
* },
|
|
51
|
+
* "tabs": [
|
|
52
|
+
* {
|
|
53
|
+
* "id": "string",
|
|
54
|
+
* "label": "string",
|
|
55
|
+
* "sections": []
|
|
56
|
+
* }
|
|
57
|
+
* ]
|
|
58
|
+
* },
|
|
59
|
+
* "fields": {},
|
|
60
|
+
* "actions": [
|
|
61
|
+
* {
|
|
62
|
+
* "id": "string",
|
|
63
|
+
* "api_name": "string",
|
|
64
|
+
* "name": "string",
|
|
65
|
+
* "function_api_name": "string",
|
|
66
|
+
* "visibility_preferences": [
|
|
67
|
+
* "LIST_VIEW"
|
|
68
|
+
* ]
|
|
69
|
+
* }
|
|
70
|
+
* ]
|
|
71
|
+
* }
|
|
72
|
+
* ```
|
|
73
|
+
*/
|
|
74
|
+
retrieve(recordID: string, query: RecordDetailRetrieveParams, options?: RequestOptions): APIPromise<RecordDetailRetrieveResponse>;
|
|
75
|
+
/**
|
|
76
|
+
* Retrieves one permissioned, singular, nonpaginated Create context without
|
|
77
|
+
* persisting a record.
|
|
78
|
+
*
|
|
79
|
+
* @example HTTP
|
|
80
|
+
* Representative request and response shapes.
|
|
81
|
+
* ```
|
|
82
|
+
* GET /record-details/?object_api_name=object_api_name&layout_api_name=default HTTP/1.1
|
|
83
|
+
* Host: rest.ripplingapis.com
|
|
84
|
+
* Accept: application/json
|
|
85
|
+
* Rippling-Api-Version: 2024-08-01
|
|
86
|
+
*
|
|
87
|
+
* HTTP/1.1 200 OK
|
|
88
|
+
* Content-Type: application/json
|
|
89
|
+
*
|
|
90
|
+
* {
|
|
91
|
+
* "object_api_name": "string",
|
|
92
|
+
* "layout": {
|
|
93
|
+
* "api_name": "string",
|
|
94
|
+
* "header": {
|
|
95
|
+
* "title_field": "string",
|
|
96
|
+
* "description_field": "string",
|
|
97
|
+
* "fields": [
|
|
98
|
+
* "string"
|
|
99
|
+
* ]
|
|
100
|
+
* },
|
|
101
|
+
* "tabs": [
|
|
102
|
+
* {
|
|
103
|
+
* "id": "string",
|
|
104
|
+
* "label": "string",
|
|
105
|
+
* "sections": []
|
|
106
|
+
* }
|
|
107
|
+
* ]
|
|
108
|
+
* },
|
|
109
|
+
* "fields": {},
|
|
110
|
+
* "blockers": [
|
|
111
|
+
* {
|
|
112
|
+
* "code": "REQUIRED_INPUT_UNAVAILABLE",
|
|
113
|
+
* "field_api_name": "string",
|
|
114
|
+
* "message": "string"
|
|
115
|
+
* }
|
|
116
|
+
* ],
|
|
117
|
+
* "actions": [
|
|
118
|
+
* {
|
|
119
|
+
* "id": "string",
|
|
120
|
+
* "api_name": "string",
|
|
121
|
+
* "name": "string",
|
|
122
|
+
* "function_api_name": "string",
|
|
123
|
+
* "visibility_preferences": [
|
|
124
|
+
* "LIST_VIEW"
|
|
125
|
+
* ]
|
|
126
|
+
* }
|
|
127
|
+
* ]
|
|
128
|
+
* }
|
|
129
|
+
* ```
|
|
130
|
+
*/
|
|
131
|
+
retrieveCreate(query: RecordDetailRetrieveCreateParams, options?: RequestOptions): APIPromise<RecordDetailRetrieveCreateResponse>;
|
|
132
|
+
}
|
|
133
|
+
/**
|
|
134
|
+
* Record values, edit capabilities, and the effective page layout for one readable
|
|
135
|
+
* Custom Object record.
|
|
136
|
+
*/
|
|
137
|
+
export interface RecordDetailRetrieveResponse {
|
|
138
|
+
/**
|
|
139
|
+
* Stable record identifier returned by the canonical Custom Object record list or
|
|
140
|
+
* query endpoint. Use it with object_api_name for canonical record GET and PATCH.
|
|
141
|
+
*/
|
|
142
|
+
id: string;
|
|
143
|
+
/**
|
|
144
|
+
* Complete authorized DETAIL_VIEW actions. Function execution and execution reads
|
|
145
|
+
* remain separately authorized.
|
|
146
|
+
*/
|
|
147
|
+
actions: Array<RecordDetailRetrieveResponse.Action>;
|
|
148
|
+
/**
|
|
149
|
+
* Permissions and lock state for this caller.
|
|
150
|
+
*/
|
|
151
|
+
capabilities: RecordDetailRetrieveResponse.Capabilities;
|
|
152
|
+
/**
|
|
153
|
+
* Discoverable direct fields plus read-only related fields used by the layout.
|
|
154
|
+
* Each value is the saved value loaded for this record. Unreadable fields retain
|
|
155
|
+
* metadata and layout placements with a null, MASKED value.
|
|
156
|
+
*/
|
|
157
|
+
fields: {
|
|
158
|
+
[key: string]: RecordDetailRetrieveResponse.DetailTextField | RecordDetailRetrieveResponse.DetailNumberField | RecordDetailRetrieveResponse.DetailBooleanField | RecordDetailRetrieveResponse.DetailDateField | RecordDetailRetrieveResponse.DetailDateTimeField | RecordDetailRetrieveResponse.DetailCurrencyField | RecordDetailRetrieveResponse.DetailChoiceField | RecordDetailRetrieveResponse.DetailMultiChoiceField | RecordDetailRetrieveResponse.DetailReferenceField | RecordDetailRetrieveResponse.DetailNativeReferenceField | RecordDetailRetrieveResponse.DetailPercentageField | RecordDetailRetrieveResponse.DetailTimeField | RecordDetailRetrieveResponse.DetailUnsupportedField;
|
|
159
|
+
};
|
|
160
|
+
/**
|
|
161
|
+
* Effective saved page layout.
|
|
162
|
+
*/
|
|
163
|
+
layout: RecordDetailRetrieveResponse.Layout;
|
|
164
|
+
/**
|
|
165
|
+
* Custom Object API name, such as equipment\_\_c, used to address this record's
|
|
166
|
+
* collection. Obtain it from the Custom Object definition or grid configuration.
|
|
167
|
+
*/
|
|
168
|
+
object_api_name: string;
|
|
169
|
+
/**
|
|
170
|
+
* ISO 8601 UTC timestamp of the loaded record version. Pass this exact value as
|
|
171
|
+
* lock_update_time in the canonical record PATCH to detect stale writes.
|
|
172
|
+
*/
|
|
173
|
+
updated_at: string;
|
|
174
|
+
}
|
|
175
|
+
export declare namespace RecordDetailRetrieveResponse {
|
|
176
|
+
/**
|
|
177
|
+
* A configured action the caller can attempt through the existing Function
|
|
178
|
+
* execution API.
|
|
179
|
+
*/
|
|
180
|
+
interface Action {
|
|
181
|
+
/**
|
|
182
|
+
* Stable native ObjectAction identifier.
|
|
183
|
+
*/
|
|
184
|
+
id: string;
|
|
185
|
+
/**
|
|
186
|
+
* Action API name; null for legacy actions.
|
|
187
|
+
*/
|
|
188
|
+
api_name: string | null;
|
|
189
|
+
/**
|
|
190
|
+
* Associated Function API name for the unchanged Function execution endpoints.
|
|
191
|
+
* Discovery does not grant execution or execution-read permission.
|
|
192
|
+
*/
|
|
193
|
+
function_api_name: string;
|
|
194
|
+
/**
|
|
195
|
+
* Action display label.
|
|
196
|
+
*/
|
|
197
|
+
name: string;
|
|
198
|
+
/**
|
|
199
|
+
* Configured action placements: LIST_VIEW appears in an object grid; DETAIL_VIEW
|
|
200
|
+
* appears on a record page.
|
|
201
|
+
*/
|
|
202
|
+
visibility_preferences: Array<'LIST_VIEW' | 'DETAIL_VIEW'>;
|
|
203
|
+
}
|
|
204
|
+
/**
|
|
205
|
+
* Permissions and lock state for this caller.
|
|
206
|
+
*/
|
|
207
|
+
interface Capabilities {
|
|
208
|
+
/**
|
|
209
|
+
* Whether you can attempt to delete this record through the API. Validation,
|
|
210
|
+
* business rules, or approvals may still prevent or defer deletion.
|
|
211
|
+
*/
|
|
212
|
+
deletable: boolean;
|
|
213
|
+
/**
|
|
214
|
+
* Whether at least one field represented in this response can be updated through
|
|
215
|
+
* the API.
|
|
216
|
+
*/
|
|
217
|
+
editable: boolean;
|
|
218
|
+
/**
|
|
219
|
+
* Whether an approval or business process has locked this record for writes. A
|
|
220
|
+
* pending approval does not necessarily lock a record.
|
|
221
|
+
*/
|
|
222
|
+
locked: boolean;
|
|
223
|
+
}
|
|
224
|
+
/**
|
|
225
|
+
* A discoverable field and its initial value and capabilities for the requested
|
|
226
|
+
* flow.
|
|
227
|
+
*/
|
|
228
|
+
interface DetailTextField {
|
|
229
|
+
/**
|
|
230
|
+
* Field key used by layout placements and canonical record PATCH changes. Direct
|
|
231
|
+
* keys come from the Custom Object field definition; dotted related keys are
|
|
232
|
+
* read-only.
|
|
233
|
+
*/
|
|
234
|
+
api_name: string;
|
|
235
|
+
/**
|
|
236
|
+
* TEXT and LONG_TEXT contain text; EMAIL, URL, and PHONE_NUMBER contain their
|
|
237
|
+
* respective textual values.
|
|
238
|
+
*/
|
|
239
|
+
data_type: 'TEXT' | 'LONG_TEXT' | 'EMAIL' | 'URL' | 'PHONE_NUMBER';
|
|
240
|
+
/**
|
|
241
|
+
* Whether you can attempt to supply or change this field through the canonical
|
|
242
|
+
* write API for the requested flow. This does not grant permission to browse
|
|
243
|
+
* reference targets; submitted reference identifiers are validated when written.
|
|
244
|
+
*/
|
|
245
|
+
editable: boolean;
|
|
246
|
+
/**
|
|
247
|
+
* Field display name.
|
|
248
|
+
*/
|
|
249
|
+
label: string;
|
|
250
|
+
/**
|
|
251
|
+
* Whether this field accepts multiple selections. True for SELECT; false for RADIO
|
|
252
|
+
* and scalar references.
|
|
253
|
+
*/
|
|
254
|
+
multiple: boolean;
|
|
255
|
+
/**
|
|
256
|
+
* Configured choice values; empty for non-choice fields.
|
|
257
|
+
*/
|
|
258
|
+
options: Array<string>;
|
|
259
|
+
/**
|
|
260
|
+
* Why the field is read-only, or null when editable. Precedence: PERMISSION_DENIED
|
|
261
|
+
* (no field read or update access), RECORD_LOCKED (writes locked), IMMUTABLE
|
|
262
|
+
* (cannot change), MANAGED_WRITE_RESTRICTED (application-managed or generated
|
|
263
|
+
* value), DERIVED (calculated value), MASKED (restricted value),
|
|
264
|
+
* REFERENCE_UNAVAILABLE (unavailable reference target), UNSUPPORTED (not accepted
|
|
265
|
+
* by this requested flow).
|
|
266
|
+
*/
|
|
267
|
+
read_only_reason: 'PERMISSION_DENIED' | 'RECORD_LOCKED' | 'IMMUTABLE' | 'MANAGED_WRITE_RESTRICTED' | 'DERIVED' | 'MASKED' | 'REFERENCE_UNAVAILABLE' | 'UNSUPPORTED' | null;
|
|
268
|
+
/**
|
|
269
|
+
* Whether a nonempty value is required by the field schema.
|
|
270
|
+
*/
|
|
271
|
+
required: boolean;
|
|
272
|
+
/**
|
|
273
|
+
* Readable text, including an empty string with value_state EMPTY; null when unset
|
|
274
|
+
* or masked.
|
|
275
|
+
*/
|
|
276
|
+
value: string | null;
|
|
277
|
+
/**
|
|
278
|
+
* State of the value supplied for this requested flow: PRESENT for a readable
|
|
279
|
+
* nonempty value, including false and zero; EMPTY for null, an empty string, or an
|
|
280
|
+
* empty array; MASKED when access to the field or a referenced value is
|
|
281
|
+
* restricted; or UNSUPPORTED when the endpoint does not represent the value.
|
|
282
|
+
* UNSUPPORTED does not determine edit permission.
|
|
283
|
+
*/
|
|
284
|
+
value_state: 'PRESENT' | 'EMPTY' | 'MASKED' | 'UNSUPPORTED';
|
|
285
|
+
/**
|
|
286
|
+
* Whether the field value supplied for this requested flow is readable. Create
|
|
287
|
+
* responses describe only an authorized initial value and do not grant access to
|
|
288
|
+
* any existing record. A referenced record may have separate access restrictions.
|
|
289
|
+
*/
|
|
290
|
+
viewable: boolean;
|
|
291
|
+
/**
|
|
292
|
+
* Maximum accepted characters, or null when unbounded.
|
|
293
|
+
*/
|
|
294
|
+
max_length?: number | null;
|
|
295
|
+
/**
|
|
296
|
+
* Target name for a supported reference: Employee or a Custom Object API name
|
|
297
|
+
* ending in \_\_c. Null for other fields and unsupported reference targets.
|
|
298
|
+
*/
|
|
299
|
+
reference_object?: string | null;
|
|
300
|
+
}
|
|
301
|
+
/**
|
|
302
|
+
* A discoverable field and its initial value and capabilities for the requested
|
|
303
|
+
* flow.
|
|
304
|
+
*/
|
|
305
|
+
interface DetailNumberField {
|
|
306
|
+
/**
|
|
307
|
+
* Field key used by layout placements and canonical record PATCH changes. Direct
|
|
308
|
+
* keys come from the Custom Object field definition; dotted related keys are
|
|
309
|
+
* read-only.
|
|
310
|
+
*/
|
|
311
|
+
api_name: string;
|
|
312
|
+
/**
|
|
313
|
+
* NUMBER contains a decimal quantity.
|
|
314
|
+
*/
|
|
315
|
+
data_type: 'NUMBER';
|
|
316
|
+
/**
|
|
317
|
+
* Whether you can attempt to supply or change this field through the canonical
|
|
318
|
+
* write API for the requested flow. This does not grant permission to browse
|
|
319
|
+
* reference targets; submitted reference identifiers are validated when written.
|
|
320
|
+
*/
|
|
321
|
+
editable: boolean;
|
|
322
|
+
/**
|
|
323
|
+
* Field display name.
|
|
324
|
+
*/
|
|
325
|
+
label: string;
|
|
326
|
+
/**
|
|
327
|
+
* Whether this field accepts multiple selections. True for SELECT; false for RADIO
|
|
328
|
+
* and scalar references.
|
|
329
|
+
*/
|
|
330
|
+
multiple: boolean;
|
|
331
|
+
/**
|
|
332
|
+
* Configured choice values; empty for non-choice fields.
|
|
333
|
+
*/
|
|
334
|
+
options: Array<string>;
|
|
335
|
+
/**
|
|
336
|
+
* Why the field is read-only, or null when editable. Precedence: PERMISSION_DENIED
|
|
337
|
+
* (no field read or update access), RECORD_LOCKED (writes locked), IMMUTABLE
|
|
338
|
+
* (cannot change), MANAGED_WRITE_RESTRICTED (application-managed or generated
|
|
339
|
+
* value), DERIVED (calculated value), MASKED (restricted value),
|
|
340
|
+
* REFERENCE_UNAVAILABLE (unavailable reference target), UNSUPPORTED (not accepted
|
|
341
|
+
* by this requested flow).
|
|
342
|
+
*/
|
|
343
|
+
read_only_reason: 'PERMISSION_DENIED' | 'RECORD_LOCKED' | 'IMMUTABLE' | 'MANAGED_WRITE_RESTRICTED' | 'DERIVED' | 'MASKED' | 'REFERENCE_UNAVAILABLE' | 'UNSUPPORTED' | null;
|
|
344
|
+
/**
|
|
345
|
+
* Whether a nonempty value is required by the field schema.
|
|
346
|
+
*/
|
|
347
|
+
required: boolean;
|
|
348
|
+
/**
|
|
349
|
+
* Decimal quantity encoded as a string to preserve precision, for example 12.50.
|
|
350
|
+
* Units follow the configured field's meaning. Null unless value_state is PRESENT.
|
|
351
|
+
*/
|
|
352
|
+
value: string | null;
|
|
353
|
+
/**
|
|
354
|
+
* State of the value supplied for this requested flow: PRESENT for a readable
|
|
355
|
+
* nonempty value, including false and zero; EMPTY for null, an empty string, or an
|
|
356
|
+
* empty array; MASKED when access to the field or a referenced value is
|
|
357
|
+
* restricted; or UNSUPPORTED when the endpoint does not represent the value.
|
|
358
|
+
* UNSUPPORTED does not determine edit permission.
|
|
359
|
+
*/
|
|
360
|
+
value_state: 'PRESENT' | 'EMPTY' | 'MASKED' | 'UNSUPPORTED';
|
|
361
|
+
/**
|
|
362
|
+
* Whether the field value supplied for this requested flow is readable. Create
|
|
363
|
+
* responses describe only an authorized initial value and do not grant access to
|
|
364
|
+
* any existing record. A referenced record may have separate access restrictions.
|
|
365
|
+
*/
|
|
366
|
+
viewable: boolean;
|
|
367
|
+
/**
|
|
368
|
+
* Configured decimal places, or null.
|
|
369
|
+
*/
|
|
370
|
+
num_of_decimal_places?: number | null;
|
|
371
|
+
/**
|
|
372
|
+
* Target name for a supported reference: Employee or a Custom Object API name
|
|
373
|
+
* ending in \_\_c. Null for other fields and unsupported reference targets.
|
|
374
|
+
*/
|
|
375
|
+
reference_object?: string | null;
|
|
376
|
+
}
|
|
377
|
+
/**
|
|
378
|
+
* A discoverable field and its initial value and capabilities for the requested
|
|
379
|
+
* flow.
|
|
380
|
+
*/
|
|
381
|
+
interface DetailBooleanField {
|
|
382
|
+
/**
|
|
383
|
+
* Field key used by layout placements and canonical record PATCH changes. Direct
|
|
384
|
+
* keys come from the Custom Object field definition; dotted related keys are
|
|
385
|
+
* read-only.
|
|
386
|
+
*/
|
|
387
|
+
api_name: string;
|
|
388
|
+
/**
|
|
389
|
+
* BOOLEAN contains true or false.
|
|
390
|
+
*/
|
|
391
|
+
data_type: 'BOOLEAN';
|
|
392
|
+
/**
|
|
393
|
+
* Whether you can attempt to supply or change this field through the canonical
|
|
394
|
+
* write API for the requested flow. This does not grant permission to browse
|
|
395
|
+
* reference targets; submitted reference identifiers are validated when written.
|
|
396
|
+
*/
|
|
397
|
+
editable: boolean;
|
|
398
|
+
/**
|
|
399
|
+
* Field display name.
|
|
400
|
+
*/
|
|
401
|
+
label: string;
|
|
402
|
+
/**
|
|
403
|
+
* Whether this field accepts multiple selections. True for SELECT; false for RADIO
|
|
404
|
+
* and scalar references.
|
|
405
|
+
*/
|
|
406
|
+
multiple: boolean;
|
|
407
|
+
/**
|
|
408
|
+
* Configured choice values; empty for non-choice fields.
|
|
409
|
+
*/
|
|
410
|
+
options: Array<string>;
|
|
411
|
+
/**
|
|
412
|
+
* Why the field is read-only, or null when editable. Precedence: PERMISSION_DENIED
|
|
413
|
+
* (no field read or update access), RECORD_LOCKED (writes locked), IMMUTABLE
|
|
414
|
+
* (cannot change), MANAGED_WRITE_RESTRICTED (application-managed or generated
|
|
415
|
+
* value), DERIVED (calculated value), MASKED (restricted value),
|
|
416
|
+
* REFERENCE_UNAVAILABLE (unavailable reference target), UNSUPPORTED (not accepted
|
|
417
|
+
* by this requested flow).
|
|
418
|
+
*/
|
|
419
|
+
read_only_reason: 'PERMISSION_DENIED' | 'RECORD_LOCKED' | 'IMMUTABLE' | 'MANAGED_WRITE_RESTRICTED' | 'DERIVED' | 'MASKED' | 'REFERENCE_UNAVAILABLE' | 'UNSUPPORTED' | null;
|
|
420
|
+
/**
|
|
421
|
+
* Whether a nonempty value is required by the field schema.
|
|
422
|
+
*/
|
|
423
|
+
required: boolean;
|
|
424
|
+
/**
|
|
425
|
+
* Whether the configured condition is true; null unless value_state is PRESENT.
|
|
426
|
+
*/
|
|
427
|
+
value: boolean | null;
|
|
428
|
+
/**
|
|
429
|
+
* State of the value supplied for this requested flow: PRESENT for a readable
|
|
430
|
+
* nonempty value, including false and zero; EMPTY for null, an empty string, or an
|
|
431
|
+
* empty array; MASKED when access to the field or a referenced value is
|
|
432
|
+
* restricted; or UNSUPPORTED when the endpoint does not represent the value.
|
|
433
|
+
* UNSUPPORTED does not determine edit permission.
|
|
434
|
+
*/
|
|
435
|
+
value_state: 'PRESENT' | 'EMPTY' | 'MASKED' | 'UNSUPPORTED';
|
|
436
|
+
/**
|
|
437
|
+
* Whether the field value supplied for this requested flow is readable. Create
|
|
438
|
+
* responses describe only an authorized initial value and do not grant access to
|
|
439
|
+
* any existing record. A referenced record may have separate access restrictions.
|
|
440
|
+
*/
|
|
441
|
+
viewable: boolean;
|
|
442
|
+
/**
|
|
443
|
+
* Target name for a supported reference: Employee or a Custom Object API name
|
|
444
|
+
* ending in \_\_c. Null for other fields and unsupported reference targets.
|
|
445
|
+
*/
|
|
446
|
+
reference_object?: string | null;
|
|
447
|
+
}
|
|
448
|
+
/**
|
|
449
|
+
* A discoverable field and its initial value and capabilities for the requested
|
|
450
|
+
* flow.
|
|
451
|
+
*/
|
|
452
|
+
interface DetailDateField {
|
|
453
|
+
/**
|
|
454
|
+
* Field key used by layout placements and canonical record PATCH changes. Direct
|
|
455
|
+
* keys come from the Custom Object field definition; dotted related keys are
|
|
456
|
+
* read-only.
|
|
457
|
+
*/
|
|
458
|
+
api_name: string;
|
|
459
|
+
/**
|
|
460
|
+
* DATE contains a calendar date without a time or timezone.
|
|
461
|
+
*/
|
|
462
|
+
data_type: 'DATE';
|
|
463
|
+
/**
|
|
464
|
+
* Whether you can attempt to supply or change this field through the canonical
|
|
465
|
+
* write API for the requested flow. This does not grant permission to browse
|
|
466
|
+
* reference targets; submitted reference identifiers are validated when written.
|
|
467
|
+
*/
|
|
468
|
+
editable: boolean;
|
|
469
|
+
/**
|
|
470
|
+
* Field display name.
|
|
471
|
+
*/
|
|
472
|
+
label: string;
|
|
473
|
+
/**
|
|
474
|
+
* Whether this field accepts multiple selections. True for SELECT; false for RADIO
|
|
475
|
+
* and scalar references.
|
|
476
|
+
*/
|
|
477
|
+
multiple: boolean;
|
|
478
|
+
/**
|
|
479
|
+
* Configured choice values; empty for non-choice fields.
|
|
480
|
+
*/
|
|
481
|
+
options: Array<string>;
|
|
482
|
+
/**
|
|
483
|
+
* Why the field is read-only, or null when editable. Precedence: PERMISSION_DENIED
|
|
484
|
+
* (no field read or update access), RECORD_LOCKED (writes locked), IMMUTABLE
|
|
485
|
+
* (cannot change), MANAGED_WRITE_RESTRICTED (application-managed or generated
|
|
486
|
+
* value), DERIVED (calculated value), MASKED (restricted value),
|
|
487
|
+
* REFERENCE_UNAVAILABLE (unavailable reference target), UNSUPPORTED (not accepted
|
|
488
|
+
* by this requested flow).
|
|
489
|
+
*/
|
|
490
|
+
read_only_reason: 'PERMISSION_DENIED' | 'RECORD_LOCKED' | 'IMMUTABLE' | 'MANAGED_WRITE_RESTRICTED' | 'DERIVED' | 'MASKED' | 'REFERENCE_UNAVAILABLE' | 'UNSUPPORTED' | null;
|
|
491
|
+
/**
|
|
492
|
+
* Whether a nonempty value is required by the field schema.
|
|
493
|
+
*/
|
|
494
|
+
required: boolean;
|
|
495
|
+
/**
|
|
496
|
+
* Calendar date in YYYY-MM-DD format, for example 2026-10-24; null unless
|
|
497
|
+
* value_state is PRESENT.
|
|
498
|
+
*/
|
|
499
|
+
value: string | null;
|
|
500
|
+
/**
|
|
501
|
+
* State of the value supplied for this requested flow: PRESENT for a readable
|
|
502
|
+
* nonempty value, including false and zero; EMPTY for null, an empty string, or an
|
|
503
|
+
* empty array; MASKED when access to the field or a referenced value is
|
|
504
|
+
* restricted; or UNSUPPORTED when the endpoint does not represent the value.
|
|
505
|
+
* UNSUPPORTED does not determine edit permission.
|
|
506
|
+
*/
|
|
507
|
+
value_state: 'PRESENT' | 'EMPTY' | 'MASKED' | 'UNSUPPORTED';
|
|
508
|
+
/**
|
|
509
|
+
* Whether the field value supplied for this requested flow is readable. Create
|
|
510
|
+
* responses describe only an authorized initial value and do not grant access to
|
|
511
|
+
* any existing record. A referenced record may have separate access restrictions.
|
|
512
|
+
*/
|
|
513
|
+
viewable: boolean;
|
|
514
|
+
/**
|
|
515
|
+
* Target name for a supported reference: Employee or a Custom Object API name
|
|
516
|
+
* ending in \_\_c. Null for other fields and unsupported reference targets.
|
|
517
|
+
*/
|
|
518
|
+
reference_object?: string | null;
|
|
519
|
+
}
|
|
520
|
+
/**
|
|
521
|
+
* A discoverable field and its initial value and capabilities for the requested
|
|
522
|
+
* flow.
|
|
523
|
+
*/
|
|
524
|
+
interface DetailDateTimeField {
|
|
525
|
+
/**
|
|
526
|
+
* Field key used by layout placements and canonical record PATCH changes. Direct
|
|
527
|
+
* keys come from the Custom Object field definition; dotted related keys are
|
|
528
|
+
* read-only.
|
|
529
|
+
*/
|
|
530
|
+
api_name: string;
|
|
531
|
+
/**
|
|
532
|
+
* DATETIME contains an instant with a timezone.
|
|
533
|
+
*/
|
|
534
|
+
data_type: 'DATETIME';
|
|
535
|
+
/**
|
|
536
|
+
* Whether you can attempt to supply or change this field through the canonical
|
|
537
|
+
* write API for the requested flow. This does not grant permission to browse
|
|
538
|
+
* reference targets; submitted reference identifiers are validated when written.
|
|
539
|
+
*/
|
|
540
|
+
editable: boolean;
|
|
541
|
+
/**
|
|
542
|
+
* Field display name.
|
|
543
|
+
*/
|
|
544
|
+
label: string;
|
|
545
|
+
/**
|
|
546
|
+
* Whether this field accepts multiple selections. True for SELECT; false for RADIO
|
|
547
|
+
* and scalar references.
|
|
548
|
+
*/
|
|
549
|
+
multiple: boolean;
|
|
550
|
+
/**
|
|
551
|
+
* Configured choice values; empty for non-choice fields.
|
|
552
|
+
*/
|
|
553
|
+
options: Array<string>;
|
|
554
|
+
/**
|
|
555
|
+
* Why the field is read-only, or null when editable. Precedence: PERMISSION_DENIED
|
|
556
|
+
* (no field read or update access), RECORD_LOCKED (writes locked), IMMUTABLE
|
|
557
|
+
* (cannot change), MANAGED_WRITE_RESTRICTED (application-managed or generated
|
|
558
|
+
* value), DERIVED (calculated value), MASKED (restricted value),
|
|
559
|
+
* REFERENCE_UNAVAILABLE (unavailable reference target), UNSUPPORTED (not accepted
|
|
560
|
+
* by this requested flow).
|
|
561
|
+
*/
|
|
562
|
+
read_only_reason: 'PERMISSION_DENIED' | 'RECORD_LOCKED' | 'IMMUTABLE' | 'MANAGED_WRITE_RESTRICTED' | 'DERIVED' | 'MASKED' | 'REFERENCE_UNAVAILABLE' | 'UNSUPPORTED' | null;
|
|
563
|
+
/**
|
|
564
|
+
* Whether a nonempty value is required by the field schema.
|
|
565
|
+
*/
|
|
566
|
+
required: boolean;
|
|
567
|
+
/**
|
|
568
|
+
* ISO 8601 timestamp with timezone and up to millisecond precision, matching
|
|
569
|
+
* native record JSON responses; null unless value_state is PRESENT. System audit
|
|
570
|
+
* timestamps are immutable.
|
|
571
|
+
*/
|
|
572
|
+
value: string | null;
|
|
573
|
+
/**
|
|
574
|
+
* State of the value supplied for this requested flow: PRESENT for a readable
|
|
575
|
+
* nonempty value, including false and zero; EMPTY for null, an empty string, or an
|
|
576
|
+
* empty array; MASKED when access to the field or a referenced value is
|
|
577
|
+
* restricted; or UNSUPPORTED when the endpoint does not represent the value.
|
|
578
|
+
* UNSUPPORTED does not determine edit permission.
|
|
579
|
+
*/
|
|
580
|
+
value_state: 'PRESENT' | 'EMPTY' | 'MASKED' | 'UNSUPPORTED';
|
|
581
|
+
/**
|
|
582
|
+
* Whether the field value supplied for this requested flow is readable. Create
|
|
583
|
+
* responses describe only an authorized initial value and do not grant access to
|
|
584
|
+
* any existing record. A referenced record may have separate access restrictions.
|
|
585
|
+
*/
|
|
586
|
+
viewable: boolean;
|
|
587
|
+
/**
|
|
588
|
+
* Target name for a supported reference: Employee or a Custom Object API name
|
|
589
|
+
* ending in \_\_c. Null for other fields and unsupported reference targets.
|
|
590
|
+
*/
|
|
591
|
+
reference_object?: string | null;
|
|
592
|
+
}
|
|
593
|
+
/**
|
|
594
|
+
* A discoverable field and its initial value and capabilities for the requested
|
|
595
|
+
* flow.
|
|
596
|
+
*/
|
|
597
|
+
interface DetailCurrencyField {
|
|
598
|
+
/**
|
|
599
|
+
* Field key used by layout placements and canonical record PATCH changes. Direct
|
|
600
|
+
* keys come from the Custom Object field definition; dotted related keys are
|
|
601
|
+
* read-only.
|
|
602
|
+
*/
|
|
603
|
+
api_name: string;
|
|
604
|
+
/**
|
|
605
|
+
* CURRENCY contains a monetary amount and its currency.
|
|
606
|
+
*/
|
|
607
|
+
data_type: 'CURRENCY';
|
|
608
|
+
/**
|
|
609
|
+
* Whether you can attempt to supply or change this field through the canonical
|
|
610
|
+
* write API for the requested flow. This does not grant permission to browse
|
|
611
|
+
* reference targets; submitted reference identifiers are validated when written.
|
|
612
|
+
*/
|
|
613
|
+
editable: boolean;
|
|
614
|
+
/**
|
|
615
|
+
* Field display name.
|
|
616
|
+
*/
|
|
617
|
+
label: string;
|
|
618
|
+
/**
|
|
619
|
+
* Whether this field accepts multiple selections. True for SELECT; false for RADIO
|
|
620
|
+
* and scalar references.
|
|
621
|
+
*/
|
|
622
|
+
multiple: boolean;
|
|
623
|
+
/**
|
|
624
|
+
* Configured choice values; empty for non-choice fields.
|
|
625
|
+
*/
|
|
626
|
+
options: Array<string>;
|
|
627
|
+
/**
|
|
628
|
+
* Why the field is read-only, or null when editable. Precedence: PERMISSION_DENIED
|
|
629
|
+
* (no field read or update access), RECORD_LOCKED (writes locked), IMMUTABLE
|
|
630
|
+
* (cannot change), MANAGED_WRITE_RESTRICTED (application-managed or generated
|
|
631
|
+
* value), DERIVED (calculated value), MASKED (restricted value),
|
|
632
|
+
* REFERENCE_UNAVAILABLE (unavailable reference target), UNSUPPORTED (not accepted
|
|
633
|
+
* by this requested flow).
|
|
634
|
+
*/
|
|
635
|
+
read_only_reason: 'PERMISSION_DENIED' | 'RECORD_LOCKED' | 'IMMUTABLE' | 'MANAGED_WRITE_RESTRICTED' | 'DERIVED' | 'MASKED' | 'REFERENCE_UNAVAILABLE' | 'UNSUPPORTED' | null;
|
|
636
|
+
/**
|
|
637
|
+
* Whether a nonempty value is required by the field schema.
|
|
638
|
+
*/
|
|
639
|
+
required: boolean;
|
|
640
|
+
/**
|
|
641
|
+
* Currency object with an ISO 4217 currency_type and decimal-string value, for
|
|
642
|
+
* example {"currency_type": "USD", "value": "25.00"}. The amount is in currency
|
|
643
|
+
* units, not cents. Null unless value_state is PRESENT.
|
|
644
|
+
*/
|
|
645
|
+
value: DetailCurrencyField.RecordDetailCurrency | null;
|
|
646
|
+
/**
|
|
647
|
+
* State of the value supplied for this requested flow: PRESENT for a readable
|
|
648
|
+
* nonempty value, including false and zero; EMPTY for null, an empty string, or an
|
|
649
|
+
* empty array; MASKED when access to the field or a referenced value is
|
|
650
|
+
* restricted; or UNSUPPORTED when the endpoint does not represent the value.
|
|
651
|
+
* UNSUPPORTED does not determine edit permission.
|
|
652
|
+
*/
|
|
653
|
+
value_state: 'PRESENT' | 'EMPTY' | 'MASKED' | 'UNSUPPORTED';
|
|
654
|
+
/**
|
|
655
|
+
* Whether the field value supplied for this requested flow is readable. Create
|
|
656
|
+
* responses describe only an authorized initial value and do not grant access to
|
|
657
|
+
* any existing record. A referenced record may have separate access restrictions.
|
|
658
|
+
*/
|
|
659
|
+
viewable: boolean;
|
|
660
|
+
/**
|
|
661
|
+
* Configured ISO 4217 currency code, or null when dynamic.
|
|
662
|
+
*/
|
|
663
|
+
currency?: string | null;
|
|
664
|
+
/**
|
|
665
|
+
* Configured decimal places, or null.
|
|
666
|
+
*/
|
|
667
|
+
num_of_decimal_places?: number | null;
|
|
668
|
+
/**
|
|
669
|
+
* Target name for a supported reference: Employee or a Custom Object API name
|
|
670
|
+
* ending in \_\_c. Null for other fields and unsupported reference targets.
|
|
671
|
+
*/
|
|
672
|
+
reference_object?: string | null;
|
|
673
|
+
}
|
|
674
|
+
namespace DetailCurrencyField {
|
|
675
|
+
/**
|
|
676
|
+
* Platform Currency serialized with a decimal string amount to preserve precision.
|
|
677
|
+
*/
|
|
678
|
+
interface RecordDetailCurrency {
|
|
679
|
+
/**
|
|
680
|
+
* ISO 4217 currency code, for example USD or EUR.
|
|
681
|
+
*/
|
|
682
|
+
currency_type: string;
|
|
683
|
+
/**
|
|
684
|
+
* Decimal monetary amount in currency units, for example 25.00; not integer cents.
|
|
685
|
+
*/
|
|
686
|
+
value: string;
|
|
687
|
+
}
|
|
688
|
+
}
|
|
689
|
+
/**
|
|
690
|
+
* A discoverable field and its initial value and capabilities for the requested
|
|
691
|
+
* flow.
|
|
692
|
+
*/
|
|
693
|
+
interface DetailChoiceField {
|
|
694
|
+
/**
|
|
695
|
+
* Field key used by layout placements and canonical record PATCH changes. Direct
|
|
696
|
+
* keys come from the Custom Object field definition; dotted related keys are
|
|
697
|
+
* read-only.
|
|
698
|
+
*/
|
|
699
|
+
api_name: string;
|
|
700
|
+
/**
|
|
701
|
+
* RADIO contains one configured choice.
|
|
702
|
+
*/
|
|
703
|
+
data_type: 'RADIO';
|
|
704
|
+
/**
|
|
705
|
+
* Whether you can attempt to supply or change this field through the canonical
|
|
706
|
+
* write API for the requested flow. This does not grant permission to browse
|
|
707
|
+
* reference targets; submitted reference identifiers are validated when written.
|
|
708
|
+
*/
|
|
709
|
+
editable: boolean;
|
|
710
|
+
/**
|
|
711
|
+
* Field display name.
|
|
712
|
+
*/
|
|
713
|
+
label: string;
|
|
714
|
+
/**
|
|
715
|
+
* Whether this field accepts multiple selections. True for SELECT; false for RADIO
|
|
716
|
+
* and scalar references.
|
|
717
|
+
*/
|
|
718
|
+
multiple: boolean;
|
|
719
|
+
/**
|
|
720
|
+
* Configured choice values; empty for non-choice fields.
|
|
721
|
+
*/
|
|
722
|
+
options: Array<string>;
|
|
723
|
+
/**
|
|
724
|
+
* Why the field is read-only, or null when editable. Precedence: PERMISSION_DENIED
|
|
725
|
+
* (no field read or update access), RECORD_LOCKED (writes locked), IMMUTABLE
|
|
726
|
+
* (cannot change), MANAGED_WRITE_RESTRICTED (application-managed or generated
|
|
727
|
+
* value), DERIVED (calculated value), MASKED (restricted value),
|
|
728
|
+
* REFERENCE_UNAVAILABLE (unavailable reference target), UNSUPPORTED (not accepted
|
|
729
|
+
* by this requested flow).
|
|
730
|
+
*/
|
|
731
|
+
read_only_reason: 'PERMISSION_DENIED' | 'RECORD_LOCKED' | 'IMMUTABLE' | 'MANAGED_WRITE_RESTRICTED' | 'DERIVED' | 'MASKED' | 'REFERENCE_UNAVAILABLE' | 'UNSUPPORTED' | null;
|
|
732
|
+
/**
|
|
733
|
+
* Whether a nonempty value is required by the field schema.
|
|
734
|
+
*/
|
|
735
|
+
required: boolean;
|
|
736
|
+
/**
|
|
737
|
+
* One value from options, or an empty string with value_state EMPTY; null when
|
|
738
|
+
* unset or masked.
|
|
739
|
+
*/
|
|
740
|
+
value: string | null;
|
|
741
|
+
/**
|
|
742
|
+
* State of the value supplied for this requested flow: PRESENT for a readable
|
|
743
|
+
* nonempty value, including false and zero; EMPTY for null, an empty string, or an
|
|
744
|
+
* empty array; MASKED when access to the field or a referenced value is
|
|
745
|
+
* restricted; or UNSUPPORTED when the endpoint does not represent the value.
|
|
746
|
+
* UNSUPPORTED does not determine edit permission.
|
|
747
|
+
*/
|
|
748
|
+
value_state: 'PRESENT' | 'EMPTY' | 'MASKED' | 'UNSUPPORTED';
|
|
749
|
+
/**
|
|
750
|
+
* Whether the field value supplied for this requested flow is readable. Create
|
|
751
|
+
* responses describe only an authorized initial value and do not grant access to
|
|
752
|
+
* any existing record. A referenced record may have separate access restrictions.
|
|
753
|
+
*/
|
|
754
|
+
viewable: boolean;
|
|
755
|
+
/**
|
|
756
|
+
* Target name for a supported reference: Employee or a Custom Object API name
|
|
757
|
+
* ending in \_\_c. Null for other fields and unsupported reference targets.
|
|
758
|
+
*/
|
|
759
|
+
reference_object?: string | null;
|
|
760
|
+
}
|
|
761
|
+
/**
|
|
762
|
+
* A discoverable field and its initial value and capabilities for the requested
|
|
763
|
+
* flow.
|
|
764
|
+
*/
|
|
765
|
+
interface DetailMultiChoiceField {
|
|
766
|
+
/**
|
|
767
|
+
* Field key used by layout placements and canonical record PATCH changes. Direct
|
|
768
|
+
* keys come from the Custom Object field definition; dotted related keys are
|
|
769
|
+
* read-only.
|
|
770
|
+
*/
|
|
771
|
+
api_name: string;
|
|
772
|
+
/**
|
|
773
|
+
* SELECT contains zero or more configured choices.
|
|
774
|
+
*/
|
|
775
|
+
data_type: 'SELECT';
|
|
776
|
+
/**
|
|
777
|
+
* Whether you can attempt to supply or change this field through the canonical
|
|
778
|
+
* write API for the requested flow. This does not grant permission to browse
|
|
779
|
+
* reference targets; submitted reference identifiers are validated when written.
|
|
780
|
+
*/
|
|
781
|
+
editable: boolean;
|
|
782
|
+
/**
|
|
783
|
+
* Field display name.
|
|
784
|
+
*/
|
|
785
|
+
label: string;
|
|
786
|
+
/**
|
|
787
|
+
* Whether this field accepts multiple selections. True for SELECT; false for RADIO
|
|
788
|
+
* and scalar references.
|
|
789
|
+
*/
|
|
790
|
+
multiple: boolean;
|
|
791
|
+
/**
|
|
792
|
+
* Configured choice values; empty for non-choice fields.
|
|
793
|
+
*/
|
|
794
|
+
options: Array<string>;
|
|
795
|
+
/**
|
|
796
|
+
* Why the field is read-only, or null when editable. Precedence: PERMISSION_DENIED
|
|
797
|
+
* (no field read or update access), RECORD_LOCKED (writes locked), IMMUTABLE
|
|
798
|
+
* (cannot change), MANAGED_WRITE_RESTRICTED (application-managed or generated
|
|
799
|
+
* value), DERIVED (calculated value), MASKED (restricted value),
|
|
800
|
+
* REFERENCE_UNAVAILABLE (unavailable reference target), UNSUPPORTED (not accepted
|
|
801
|
+
* by this requested flow).
|
|
802
|
+
*/
|
|
803
|
+
read_only_reason: 'PERMISSION_DENIED' | 'RECORD_LOCKED' | 'IMMUTABLE' | 'MANAGED_WRITE_RESTRICTED' | 'DERIVED' | 'MASKED' | 'REFERENCE_UNAVAILABLE' | 'UNSUPPORTED' | null;
|
|
804
|
+
/**
|
|
805
|
+
* Whether a nonempty value is required by the field schema.
|
|
806
|
+
*/
|
|
807
|
+
required: boolean;
|
|
808
|
+
/**
|
|
809
|
+
* Selected values from options. An empty selection is [] with value_state EMPTY;
|
|
810
|
+
* null when unset or masked.
|
|
811
|
+
*/
|
|
812
|
+
value: Array<string> | null;
|
|
813
|
+
/**
|
|
814
|
+
* State of the value supplied for this requested flow: PRESENT for a readable
|
|
815
|
+
* nonempty value, including false and zero; EMPTY for null, an empty string, or an
|
|
816
|
+
* empty array; MASKED when access to the field or a referenced value is
|
|
817
|
+
* restricted; or UNSUPPORTED when the endpoint does not represent the value.
|
|
818
|
+
* UNSUPPORTED does not determine edit permission.
|
|
819
|
+
*/
|
|
820
|
+
value_state: 'PRESENT' | 'EMPTY' | 'MASKED' | 'UNSUPPORTED';
|
|
821
|
+
/**
|
|
822
|
+
* Whether the field value supplied for this requested flow is readable. Create
|
|
823
|
+
* responses describe only an authorized initial value and do not grant access to
|
|
824
|
+
* any existing record. A referenced record may have separate access restrictions.
|
|
825
|
+
*/
|
|
826
|
+
viewable: boolean;
|
|
827
|
+
/**
|
|
828
|
+
* Target name for a supported reference: Employee or a Custom Object API name
|
|
829
|
+
* ending in \_\_c. Null for other fields and unsupported reference targets.
|
|
830
|
+
*/
|
|
831
|
+
reference_object?: string | null;
|
|
832
|
+
}
|
|
833
|
+
/**
|
|
834
|
+
* A discoverable field and its initial value and capabilities for the requested
|
|
835
|
+
* flow.
|
|
836
|
+
*/
|
|
837
|
+
interface DetailReferenceField {
|
|
838
|
+
/**
|
|
839
|
+
* Field key used by layout placements and canonical record PATCH changes. Direct
|
|
840
|
+
* keys come from the Custom Object field definition; dotted related keys are
|
|
841
|
+
* read-only.
|
|
842
|
+
*/
|
|
843
|
+
api_name: string;
|
|
844
|
+
/**
|
|
845
|
+
* OG_REFERENCE_FIELD identifies a reference to the object named by
|
|
846
|
+
* reference_object, including owner_role, created_by, and last_modified_by fields.
|
|
847
|
+
*/
|
|
848
|
+
data_type: 'OG_REFERENCE_FIELD';
|
|
849
|
+
/**
|
|
850
|
+
* Whether you can attempt to supply or change this field through the canonical
|
|
851
|
+
* write API for the requested flow. This does not grant permission to browse
|
|
852
|
+
* reference targets; submitted reference identifiers are validated when written.
|
|
853
|
+
*/
|
|
854
|
+
editable: boolean;
|
|
855
|
+
/**
|
|
856
|
+
* Field display name.
|
|
857
|
+
*/
|
|
858
|
+
label: string;
|
|
859
|
+
/**
|
|
860
|
+
* Whether this field accepts multiple selections. True for SELECT; false for RADIO
|
|
861
|
+
* and scalar references.
|
|
862
|
+
*/
|
|
863
|
+
multiple: boolean;
|
|
864
|
+
/**
|
|
865
|
+
* Configured choice values; empty for non-choice fields.
|
|
866
|
+
*/
|
|
867
|
+
options: Array<string>;
|
|
868
|
+
/**
|
|
869
|
+
* Why the field is read-only, or null when editable. Precedence: PERMISSION_DENIED
|
|
870
|
+
* (no field read or update access), RECORD_LOCKED (writes locked), IMMUTABLE
|
|
871
|
+
* (cannot change), MANAGED_WRITE_RESTRICTED (application-managed or generated
|
|
872
|
+
* value), DERIVED (calculated value), MASKED (restricted value),
|
|
873
|
+
* REFERENCE_UNAVAILABLE (unavailable reference target), UNSUPPORTED (not accepted
|
|
874
|
+
* by this requested flow).
|
|
875
|
+
*/
|
|
876
|
+
read_only_reason: 'PERMISSION_DENIED' | 'RECORD_LOCKED' | 'IMMUTABLE' | 'MANAGED_WRITE_RESTRICTED' | 'DERIVED' | 'MASKED' | 'REFERENCE_UNAVAILABLE' | 'UNSUPPORTED' | null;
|
|
877
|
+
/**
|
|
878
|
+
* Whether a nonempty value is required by the field schema.
|
|
879
|
+
*/
|
|
880
|
+
required: boolean;
|
|
881
|
+
/**
|
|
882
|
+
* Selected record identifier in the reference_object target; null when empty or
|
|
883
|
+
* masked. Use the Workers GET endpoint for Employee targets, or the Custom Object
|
|
884
|
+
* record GET endpoint for Custom Object targets.
|
|
885
|
+
*/
|
|
886
|
+
value: string | null;
|
|
887
|
+
/**
|
|
888
|
+
* State of the value supplied for this requested flow: PRESENT for a readable
|
|
889
|
+
* nonempty value, including false and zero; EMPTY for null, an empty string, or an
|
|
890
|
+
* empty array; MASKED when access to the field or a referenced value is
|
|
891
|
+
* restricted; or UNSUPPORTED when the endpoint does not represent the value.
|
|
892
|
+
* UNSUPPORTED does not determine edit permission.
|
|
893
|
+
*/
|
|
894
|
+
value_state: 'PRESENT' | 'EMPTY' | 'MASKED' | 'UNSUPPORTED';
|
|
895
|
+
/**
|
|
896
|
+
* Whether the field value supplied for this requested flow is readable. Create
|
|
897
|
+
* responses describe only an authorized initial value and do not grant access to
|
|
898
|
+
* any existing record. A referenced record may have separate access restrictions.
|
|
899
|
+
*/
|
|
900
|
+
viewable: boolean;
|
|
901
|
+
/**
|
|
902
|
+
* Permitted presentation of the selection, or null when unavailable. Empty and
|
|
903
|
+
* masked references have no presentation.
|
|
904
|
+
*/
|
|
905
|
+
display?: DetailReferenceField.ReferenceDisplay | null;
|
|
906
|
+
/**
|
|
907
|
+
* Target name for a supported reference: Employee or a Custom Object API name
|
|
908
|
+
* ending in \_\_c. Null for other fields and unsupported reference targets.
|
|
909
|
+
*/
|
|
910
|
+
reference_object?: string | null;
|
|
911
|
+
}
|
|
912
|
+
namespace DetailReferenceField {
|
|
913
|
+
/**
|
|
914
|
+
* Optional presentation of a readable reference, independent of its identifier.
|
|
915
|
+
*/
|
|
916
|
+
interface ReferenceDisplay {
|
|
917
|
+
/**
|
|
918
|
+
* Permitted display label; never synthesized from the identifier.
|
|
919
|
+
*/
|
|
920
|
+
label: string;
|
|
921
|
+
/**
|
|
922
|
+
* Permitted image URL, or null when unavailable.
|
|
923
|
+
*/
|
|
924
|
+
image_url?: string | null;
|
|
925
|
+
/**
|
|
926
|
+
* Permitted secondary text, or null when unavailable.
|
|
927
|
+
*/
|
|
928
|
+
secondary_label?: string | null;
|
|
929
|
+
}
|
|
930
|
+
}
|
|
931
|
+
/**
|
|
932
|
+
* A discoverable field and its initial value and capabilities for the requested
|
|
933
|
+
* flow.
|
|
934
|
+
*/
|
|
935
|
+
interface DetailNativeReferenceField {
|
|
936
|
+
/**
|
|
937
|
+
* Field key used by layout placements and canonical record PATCH changes. Direct
|
|
938
|
+
* keys come from the Custom Object field definition; dotted related keys are
|
|
939
|
+
* read-only.
|
|
940
|
+
*/
|
|
941
|
+
api_name: string;
|
|
942
|
+
/**
|
|
943
|
+
* NATIVE_EDGE identifies a relationship using the same selected identifier and
|
|
944
|
+
* optional presentation contract.
|
|
945
|
+
*/
|
|
946
|
+
data_type: 'NATIVE_EDGE';
|
|
947
|
+
/**
|
|
948
|
+
* Whether you can attempt to supply or change this field through the canonical
|
|
949
|
+
* write API for the requested flow. This does not grant permission to browse
|
|
950
|
+
* reference targets; submitted reference identifiers are validated when written.
|
|
951
|
+
*/
|
|
952
|
+
editable: boolean;
|
|
953
|
+
/**
|
|
954
|
+
* Field display name.
|
|
955
|
+
*/
|
|
956
|
+
label: string;
|
|
957
|
+
/**
|
|
958
|
+
* Whether this field accepts multiple selections. True for SELECT; false for RADIO
|
|
959
|
+
* and scalar references.
|
|
960
|
+
*/
|
|
961
|
+
multiple: boolean;
|
|
962
|
+
/**
|
|
963
|
+
* Configured choice values; empty for non-choice fields.
|
|
964
|
+
*/
|
|
965
|
+
options: Array<string>;
|
|
966
|
+
/**
|
|
967
|
+
* Why the field is read-only, or null when editable. Precedence: PERMISSION_DENIED
|
|
968
|
+
* (no field read or update access), RECORD_LOCKED (writes locked), IMMUTABLE
|
|
969
|
+
* (cannot change), MANAGED_WRITE_RESTRICTED (application-managed or generated
|
|
970
|
+
* value), DERIVED (calculated value), MASKED (restricted value),
|
|
971
|
+
* REFERENCE_UNAVAILABLE (unavailable reference target), UNSUPPORTED (not accepted
|
|
972
|
+
* by this requested flow).
|
|
973
|
+
*/
|
|
974
|
+
read_only_reason: 'PERMISSION_DENIED' | 'RECORD_LOCKED' | 'IMMUTABLE' | 'MANAGED_WRITE_RESTRICTED' | 'DERIVED' | 'MASKED' | 'REFERENCE_UNAVAILABLE' | 'UNSUPPORTED' | null;
|
|
975
|
+
/**
|
|
976
|
+
* Whether a nonempty value is required by the field schema.
|
|
977
|
+
*/
|
|
978
|
+
required: boolean;
|
|
979
|
+
/**
|
|
980
|
+
* Selected record identifier in the reference_object target; null when empty or
|
|
981
|
+
* masked. Use the Workers GET endpoint for Employee targets, or the Custom Object
|
|
982
|
+
* record GET endpoint for Custom Object targets.
|
|
983
|
+
*/
|
|
984
|
+
value: string | null;
|
|
985
|
+
/**
|
|
986
|
+
* State of the value supplied for this requested flow: PRESENT for a readable
|
|
987
|
+
* nonempty value, including false and zero; EMPTY for null, an empty string, or an
|
|
988
|
+
* empty array; MASKED when access to the field or a referenced value is
|
|
989
|
+
* restricted; or UNSUPPORTED when the endpoint does not represent the value.
|
|
990
|
+
* UNSUPPORTED does not determine edit permission.
|
|
991
|
+
*/
|
|
992
|
+
value_state: 'PRESENT' | 'EMPTY' | 'MASKED' | 'UNSUPPORTED';
|
|
993
|
+
/**
|
|
994
|
+
* Whether the field value supplied for this requested flow is readable. Create
|
|
995
|
+
* responses describe only an authorized initial value and do not grant access to
|
|
996
|
+
* any existing record. A referenced record may have separate access restrictions.
|
|
997
|
+
*/
|
|
998
|
+
viewable: boolean;
|
|
999
|
+
/**
|
|
1000
|
+
* Permitted presentation of the selection, or null when unavailable. Empty and
|
|
1001
|
+
* masked references have no presentation.
|
|
1002
|
+
*/
|
|
1003
|
+
display?: DetailNativeReferenceField.ReferenceDisplay | null;
|
|
1004
|
+
/**
|
|
1005
|
+
* Target name for a supported reference: Employee or a Custom Object API name
|
|
1006
|
+
* ending in \_\_c. Null for other fields and unsupported reference targets.
|
|
1007
|
+
*/
|
|
1008
|
+
reference_object?: string | null;
|
|
1009
|
+
}
|
|
1010
|
+
namespace DetailNativeReferenceField {
|
|
1011
|
+
/**
|
|
1012
|
+
* Optional presentation of a readable reference, independent of its identifier.
|
|
1013
|
+
*/
|
|
1014
|
+
interface ReferenceDisplay {
|
|
1015
|
+
/**
|
|
1016
|
+
* Permitted display label; never synthesized from the identifier.
|
|
1017
|
+
*/
|
|
1018
|
+
label: string;
|
|
1019
|
+
/**
|
|
1020
|
+
* Permitted image URL, or null when unavailable.
|
|
1021
|
+
*/
|
|
1022
|
+
image_url?: string | null;
|
|
1023
|
+
/**
|
|
1024
|
+
* Permitted secondary text, or null when unavailable.
|
|
1025
|
+
*/
|
|
1026
|
+
secondary_label?: string | null;
|
|
1027
|
+
}
|
|
1028
|
+
}
|
|
1029
|
+
/**
|
|
1030
|
+
* A discoverable field and its initial value and capabilities for the requested
|
|
1031
|
+
* flow.
|
|
1032
|
+
*/
|
|
1033
|
+
interface DetailPercentageField {
|
|
1034
|
+
/**
|
|
1035
|
+
* Field key used by layout placements and canonical record PATCH changes. Direct
|
|
1036
|
+
* keys come from the Custom Object field definition; dotted related keys are
|
|
1037
|
+
* read-only.
|
|
1038
|
+
*/
|
|
1039
|
+
api_name: string;
|
|
1040
|
+
/**
|
|
1041
|
+
* PERCENTAGE contains a decimal ratio, where 1 means 100%.
|
|
1042
|
+
*/
|
|
1043
|
+
data_type: 'PERCENTAGE';
|
|
1044
|
+
/**
|
|
1045
|
+
* Whether you can attempt to supply or change this field through the canonical
|
|
1046
|
+
* write API for the requested flow. This does not grant permission to browse
|
|
1047
|
+
* reference targets; submitted reference identifiers are validated when written.
|
|
1048
|
+
*/
|
|
1049
|
+
editable: boolean;
|
|
1050
|
+
/**
|
|
1051
|
+
* Field display name.
|
|
1052
|
+
*/
|
|
1053
|
+
label: string;
|
|
1054
|
+
/**
|
|
1055
|
+
* Whether this field accepts multiple selections. True for SELECT; false for RADIO
|
|
1056
|
+
* and scalar references.
|
|
1057
|
+
*/
|
|
1058
|
+
multiple: boolean;
|
|
1059
|
+
/**
|
|
1060
|
+
* Configured choice values; empty for non-choice fields.
|
|
1061
|
+
*/
|
|
1062
|
+
options: Array<string>;
|
|
1063
|
+
/**
|
|
1064
|
+
* Why the field is read-only, or null when editable. Precedence: PERMISSION_DENIED
|
|
1065
|
+
* (no field read or update access), RECORD_LOCKED (writes locked), IMMUTABLE
|
|
1066
|
+
* (cannot change), MANAGED_WRITE_RESTRICTED (application-managed or generated
|
|
1067
|
+
* value), DERIVED (calculated value), MASKED (restricted value),
|
|
1068
|
+
* REFERENCE_UNAVAILABLE (unavailable reference target), UNSUPPORTED (not accepted
|
|
1069
|
+
* by this requested flow).
|
|
1070
|
+
*/
|
|
1071
|
+
read_only_reason: 'PERMISSION_DENIED' | 'RECORD_LOCKED' | 'IMMUTABLE' | 'MANAGED_WRITE_RESTRICTED' | 'DERIVED' | 'MASKED' | 'REFERENCE_UNAVAILABLE' | 'UNSUPPORTED' | null;
|
|
1072
|
+
/**
|
|
1073
|
+
* Whether a nonempty value is required by the field schema.
|
|
1074
|
+
*/
|
|
1075
|
+
required: boolean;
|
|
1076
|
+
/**
|
|
1077
|
+
* JSON number containing a decimal ratio without a percent sign: 0, 0.3, 1 and 1.5
|
|
1078
|
+
* mean 0%, 30%, 100% and 150%. Null unless PRESENT.
|
|
1079
|
+
*/
|
|
1080
|
+
value: number | null;
|
|
1081
|
+
/**
|
|
1082
|
+
* State of the value supplied for this requested flow: PRESENT for a readable
|
|
1083
|
+
* nonempty value, including false and zero; EMPTY for null, an empty string, or an
|
|
1084
|
+
* empty array; MASKED when access to the field or a referenced value is
|
|
1085
|
+
* restricted; or UNSUPPORTED when the endpoint does not represent the value.
|
|
1086
|
+
* UNSUPPORTED does not determine edit permission.
|
|
1087
|
+
*/
|
|
1088
|
+
value_state: 'PRESENT' | 'EMPTY' | 'MASKED' | 'UNSUPPORTED';
|
|
1089
|
+
/**
|
|
1090
|
+
* Whether the field value supplied for this requested flow is readable. Create
|
|
1091
|
+
* responses describe only an authorized initial value and do not grant access to
|
|
1092
|
+
* any existing record. A referenced record may have separate access restrictions.
|
|
1093
|
+
*/
|
|
1094
|
+
viewable: boolean;
|
|
1095
|
+
/**
|
|
1096
|
+
* Configured decimal places, or null.
|
|
1097
|
+
*/
|
|
1098
|
+
num_of_decimal_places?: number | null;
|
|
1099
|
+
/**
|
|
1100
|
+
* Target name for a supported reference: Employee or a Custom Object API name
|
|
1101
|
+
* ending in \_\_c. Null for other fields and unsupported reference targets.
|
|
1102
|
+
*/
|
|
1103
|
+
reference_object?: string | null;
|
|
1104
|
+
}
|
|
1105
|
+
/**
|
|
1106
|
+
* A discoverable field and its initial value and capabilities for the requested
|
|
1107
|
+
* flow.
|
|
1108
|
+
*/
|
|
1109
|
+
interface DetailTimeField {
|
|
1110
|
+
/**
|
|
1111
|
+
* Field key used by layout placements and canonical record PATCH changes. Direct
|
|
1112
|
+
* keys come from the Custom Object field definition; dotted related keys are
|
|
1113
|
+
* read-only.
|
|
1114
|
+
*/
|
|
1115
|
+
api_name: string;
|
|
1116
|
+
/**
|
|
1117
|
+
* TIME contains a time of day.
|
|
1118
|
+
*/
|
|
1119
|
+
data_type: 'TIME';
|
|
1120
|
+
/**
|
|
1121
|
+
* Whether you can attempt to supply or change this field through the canonical
|
|
1122
|
+
* write API for the requested flow. This does not grant permission to browse
|
|
1123
|
+
* reference targets; submitted reference identifiers are validated when written.
|
|
1124
|
+
*/
|
|
1125
|
+
editable: boolean;
|
|
1126
|
+
/**
|
|
1127
|
+
* Field display name.
|
|
1128
|
+
*/
|
|
1129
|
+
label: string;
|
|
1130
|
+
/**
|
|
1131
|
+
* Whether this field accepts multiple selections. True for SELECT; false for RADIO
|
|
1132
|
+
* and scalar references.
|
|
1133
|
+
*/
|
|
1134
|
+
multiple: boolean;
|
|
1135
|
+
/**
|
|
1136
|
+
* Configured choice values; empty for non-choice fields.
|
|
1137
|
+
*/
|
|
1138
|
+
options: Array<string>;
|
|
1139
|
+
/**
|
|
1140
|
+
* Why the field is read-only, or null when editable. Precedence: PERMISSION_DENIED
|
|
1141
|
+
* (no field read or update access), RECORD_LOCKED (writes locked), IMMUTABLE
|
|
1142
|
+
* (cannot change), MANAGED_WRITE_RESTRICTED (application-managed or generated
|
|
1143
|
+
* value), DERIVED (calculated value), MASKED (restricted value),
|
|
1144
|
+
* REFERENCE_UNAVAILABLE (unavailable reference target), UNSUPPORTED (not accepted
|
|
1145
|
+
* by this requested flow).
|
|
1146
|
+
*/
|
|
1147
|
+
read_only_reason: 'PERMISSION_DENIED' | 'RECORD_LOCKED' | 'IMMUTABLE' | 'MANAGED_WRITE_RESTRICTED' | 'DERIVED' | 'MASKED' | 'REFERENCE_UNAVAILABLE' | 'UNSUPPORTED' | null;
|
|
1148
|
+
/**
|
|
1149
|
+
* Whether a nonempty value is required by the field schema.
|
|
1150
|
+
*/
|
|
1151
|
+
required: boolean;
|
|
1152
|
+
/**
|
|
1153
|
+
* Time of day in HH:MM:SS format; null unless PRESENT.
|
|
1154
|
+
*/
|
|
1155
|
+
value: string | null;
|
|
1156
|
+
/**
|
|
1157
|
+
* State of the value supplied for this requested flow: PRESENT for a readable
|
|
1158
|
+
* nonempty value, including false and zero; EMPTY for null, an empty string, or an
|
|
1159
|
+
* empty array; MASKED when access to the field or a referenced value is
|
|
1160
|
+
* restricted; or UNSUPPORTED when the endpoint does not represent the value.
|
|
1161
|
+
* UNSUPPORTED does not determine edit permission.
|
|
1162
|
+
*/
|
|
1163
|
+
value_state: 'PRESENT' | 'EMPTY' | 'MASKED' | 'UNSUPPORTED';
|
|
1164
|
+
/**
|
|
1165
|
+
* Whether the field value supplied for this requested flow is readable. Create
|
|
1166
|
+
* responses describe only an authorized initial value and do not grant access to
|
|
1167
|
+
* any existing record. A referenced record may have separate access restrictions.
|
|
1168
|
+
*/
|
|
1169
|
+
viewable: boolean;
|
|
1170
|
+
/**
|
|
1171
|
+
* Target name for a supported reference: Employee or a Custom Object API name
|
|
1172
|
+
* ending in \_\_c. Null for other fields and unsupported reference targets.
|
|
1173
|
+
*/
|
|
1174
|
+
reference_object?: string | null;
|
|
1175
|
+
}
|
|
1176
|
+
/**
|
|
1177
|
+
* A discoverable field and its initial value and capabilities for the requested
|
|
1178
|
+
* flow.
|
|
1179
|
+
*/
|
|
1180
|
+
interface DetailUnsupportedField {
|
|
1181
|
+
/**
|
|
1182
|
+
* Field key used by layout placements and canonical record PATCH changes. Direct
|
|
1183
|
+
* keys come from the Custom Object field definition; dotted related keys are
|
|
1184
|
+
* read-only.
|
|
1185
|
+
*/
|
|
1186
|
+
api_name: string;
|
|
1187
|
+
/**
|
|
1188
|
+
* Field types whose values this endpoint does not currently represent. Edit
|
|
1189
|
+
* permission is evaluated independently of value representation.
|
|
1190
|
+
*/
|
|
1191
|
+
data_type: 'ADDRESS' | 'REFERENCE_ID' | 'COORDINATE' | 'TIMESTAMPED_CURRENCY' | 'JSONB' | 'FILE';
|
|
1192
|
+
/**
|
|
1193
|
+
* Whether you can attempt to supply or change this field through the canonical
|
|
1194
|
+
* write API for the requested flow. This does not grant permission to browse
|
|
1195
|
+
* reference targets; submitted reference identifiers are validated when written.
|
|
1196
|
+
*/
|
|
1197
|
+
editable: boolean;
|
|
1198
|
+
/**
|
|
1199
|
+
* Field display name.
|
|
1200
|
+
*/
|
|
1201
|
+
label: string;
|
|
1202
|
+
/**
|
|
1203
|
+
* Whether this field accepts multiple selections. True for SELECT; false for RADIO
|
|
1204
|
+
* and scalar references.
|
|
1205
|
+
*/
|
|
1206
|
+
multiple: boolean;
|
|
1207
|
+
/**
|
|
1208
|
+
* Configured choice values; empty for non-choice fields.
|
|
1209
|
+
*/
|
|
1210
|
+
options: Array<string>;
|
|
1211
|
+
/**
|
|
1212
|
+
* Why the field is read-only, or null when editable. Precedence: PERMISSION_DENIED
|
|
1213
|
+
* (no field read or update access), RECORD_LOCKED (writes locked), IMMUTABLE
|
|
1214
|
+
* (cannot change), MANAGED_WRITE_RESTRICTED (application-managed or generated
|
|
1215
|
+
* value), DERIVED (calculated value), MASKED (restricted value),
|
|
1216
|
+
* REFERENCE_UNAVAILABLE (unavailable reference target), UNSUPPORTED (not accepted
|
|
1217
|
+
* by this requested flow).
|
|
1218
|
+
*/
|
|
1219
|
+
read_only_reason: 'PERMISSION_DENIED' | 'RECORD_LOCKED' | 'IMMUTABLE' | 'MANAGED_WRITE_RESTRICTED' | 'DERIVED' | 'MASKED' | 'REFERENCE_UNAVAILABLE' | 'UNSUPPORTED' | null;
|
|
1220
|
+
/**
|
|
1221
|
+
* Whether a nonempty value is required by the field schema.
|
|
1222
|
+
*/
|
|
1223
|
+
required: boolean;
|
|
1224
|
+
/**
|
|
1225
|
+
* Always null. UNSUPPORTED withholds the value representation; MASKED takes
|
|
1226
|
+
* precedence for a restricted value. Neither state grants write permission.
|
|
1227
|
+
*/
|
|
1228
|
+
value: null;
|
|
1229
|
+
/**
|
|
1230
|
+
* State of the value supplied for this requested flow: PRESENT for a readable
|
|
1231
|
+
* nonempty value, including false and zero; EMPTY for null, an empty string, or an
|
|
1232
|
+
* empty array; MASKED when access to the field or a referenced value is
|
|
1233
|
+
* restricted; or UNSUPPORTED when the endpoint does not represent the value.
|
|
1234
|
+
* UNSUPPORTED does not determine edit permission.
|
|
1235
|
+
*/
|
|
1236
|
+
value_state: 'PRESENT' | 'EMPTY' | 'MASKED' | 'UNSUPPORTED';
|
|
1237
|
+
/**
|
|
1238
|
+
* Whether the field value supplied for this requested flow is readable. Create
|
|
1239
|
+
* responses describe only an authorized initial value and do not grant access to
|
|
1240
|
+
* any existing record. A referenced record may have separate access restrictions.
|
|
1241
|
+
*/
|
|
1242
|
+
viewable: boolean;
|
|
1243
|
+
/**
|
|
1244
|
+
* Target name for a supported reference: Employee or a Custom Object API name
|
|
1245
|
+
* ending in \_\_c. Null for other fields and unsupported reference targets.
|
|
1246
|
+
*/
|
|
1247
|
+
reference_object?: string | null;
|
|
1248
|
+
}
|
|
1249
|
+
/**
|
|
1250
|
+
* Effective saved page layout.
|
|
1251
|
+
*/
|
|
1252
|
+
interface Layout {
|
|
1253
|
+
/**
|
|
1254
|
+
* Resolved saved layout API name.
|
|
1255
|
+
*/
|
|
1256
|
+
api_name: string;
|
|
1257
|
+
/**
|
|
1258
|
+
* Semantic record header.
|
|
1259
|
+
*/
|
|
1260
|
+
header: Layout.Header;
|
|
1261
|
+
/**
|
|
1262
|
+
* Ordered, visible tabs.
|
|
1263
|
+
*/
|
|
1264
|
+
tabs: Array<Layout.Tab>;
|
|
1265
|
+
}
|
|
1266
|
+
namespace Layout {
|
|
1267
|
+
/**
|
|
1268
|
+
* Semantic record header.
|
|
1269
|
+
*/
|
|
1270
|
+
interface Header {
|
|
1271
|
+
/**
|
|
1272
|
+
* Ordered summary field API names.
|
|
1273
|
+
*/
|
|
1274
|
+
fields: Array<string>;
|
|
1275
|
+
/**
|
|
1276
|
+
* Description field API name, or null when unavailable.
|
|
1277
|
+
*/
|
|
1278
|
+
description_field?: string | null;
|
|
1279
|
+
/**
|
|
1280
|
+
* Title field API name, or null when unavailable.
|
|
1281
|
+
*/
|
|
1282
|
+
title_field?: string | null;
|
|
1283
|
+
}
|
|
1284
|
+
/**
|
|
1285
|
+
* Ordered, visible tab of sections in the effective record page layout.
|
|
1286
|
+
*/
|
|
1287
|
+
interface Tab {
|
|
1288
|
+
/**
|
|
1289
|
+
* Stable tab identifier.
|
|
1290
|
+
*/
|
|
1291
|
+
id: string;
|
|
1292
|
+
/**
|
|
1293
|
+
* Tab display name.
|
|
1294
|
+
*/
|
|
1295
|
+
label: string;
|
|
1296
|
+
/**
|
|
1297
|
+
* Ordered, visible sections.
|
|
1298
|
+
*/
|
|
1299
|
+
sections: Array<Tab.Section>;
|
|
1300
|
+
}
|
|
1301
|
+
namespace Tab {
|
|
1302
|
+
/**
|
|
1303
|
+
* Visible group of field placements, a deferred related list, or explicitly
|
|
1304
|
+
* unsupported content.
|
|
1305
|
+
*/
|
|
1306
|
+
interface Section {
|
|
1307
|
+
/**
|
|
1308
|
+
* Section identifier scoped to the effective layout.
|
|
1309
|
+
*/
|
|
1310
|
+
id: string;
|
|
1311
|
+
/**
|
|
1312
|
+
* Suggested field columns; clients may adapt to available space.
|
|
1313
|
+
*/
|
|
1314
|
+
columns: number;
|
|
1315
|
+
/**
|
|
1316
|
+
* Ordered placements for a FIELDS section. Empty for RELATED_LIST and UNSUPPORTED
|
|
1317
|
+
* sections.
|
|
1318
|
+
*/
|
|
1319
|
+
fields: Array<Section.Field>;
|
|
1320
|
+
/**
|
|
1321
|
+
* Section display name.
|
|
1322
|
+
*/
|
|
1323
|
+
label: string;
|
|
1324
|
+
/**
|
|
1325
|
+
* FIELDS contains ordered field placements; RELATED_LIST describes a deferred
|
|
1326
|
+
* related-record grid without embedding its rows; UNSUPPORTED identifies visible
|
|
1327
|
+
* content this API cannot render.
|
|
1328
|
+
*/
|
|
1329
|
+
type: 'FIELDS' | 'RELATED_LIST' | 'UNSUPPORTED';
|
|
1330
|
+
/**
|
|
1331
|
+
* Ordered readable columns configured for a RELATED_LIST; empty for other
|
|
1332
|
+
* sections.
|
|
1333
|
+
*/
|
|
1334
|
+
column_field_api_names?: Array<string>;
|
|
1335
|
+
/**
|
|
1336
|
+
* Related Custom Object API name; null for other sections.
|
|
1337
|
+
*/
|
|
1338
|
+
object_api_name?: string | null;
|
|
1339
|
+
/**
|
|
1340
|
+
* CONTENT_NOT_SUPPORTED means this section requires a renderer outside this API;
|
|
1341
|
+
* RELATED_OBJECT_NOT_SUPPORTED means the related list targets a native object,
|
|
1342
|
+
* which this release cannot render. Null for supported field and Custom Object
|
|
1343
|
+
* related-list sections.
|
|
1344
|
+
*/
|
|
1345
|
+
reason?: 'CONTENT_NOT_SUPPORTED' | 'RELATED_OBJECT_NOT_SUPPORTED' | null;
|
|
1346
|
+
/**
|
|
1347
|
+
* Field on the related Custom Object that points to this record; null for other
|
|
1348
|
+
* sections.
|
|
1349
|
+
*/
|
|
1350
|
+
relationship_field_api_name?: string | null;
|
|
1351
|
+
}
|
|
1352
|
+
namespace Section {
|
|
1353
|
+
/**
|
|
1354
|
+
* Placement of a discoverable field in a saved layout; contains no field value.
|
|
1355
|
+
*/
|
|
1356
|
+
interface Field {
|
|
1357
|
+
/**
|
|
1358
|
+
* Field API name in the response fields map.
|
|
1359
|
+
*/
|
|
1360
|
+
field: string;
|
|
1361
|
+
/**
|
|
1362
|
+
* Whether this placement is read-only.
|
|
1363
|
+
*/
|
|
1364
|
+
read_only: boolean;
|
|
1365
|
+
}
|
|
1366
|
+
}
|
|
1367
|
+
}
|
|
1368
|
+
}
|
|
1369
|
+
}
|
|
1370
|
+
/**
|
|
1371
|
+
* Permissioned create form context; no record has been persisted.
|
|
1372
|
+
*/
|
|
1373
|
+
export interface RecordDetailRetrieveCreateResponse {
|
|
1374
|
+
/**
|
|
1375
|
+
* Empty: no record exists in create context.
|
|
1376
|
+
*/
|
|
1377
|
+
actions: Array<RecordDetailRetrieveCreateResponse.Action>;
|
|
1378
|
+
/**
|
|
1379
|
+
* Caller-safe reasons the form cannot be submitted. Hidden or unavailable field
|
|
1380
|
+
* names are not disclosed.
|
|
1381
|
+
*/
|
|
1382
|
+
blockers: Array<RecordDetailRetrieveCreateResponse.Blocker>;
|
|
1383
|
+
/**
|
|
1384
|
+
* Supported create inputs. Each value is the authorized configured default or
|
|
1385
|
+
* owner fallback for this create flow, or an EMPTY value when no eligible default
|
|
1386
|
+
* exists. Reference identifiers and display are presentation values; convert them
|
|
1387
|
+
* to the canonical record POST input shape when writing.
|
|
1388
|
+
*/
|
|
1389
|
+
fields: {
|
|
1390
|
+
[key: string]: RecordDetailRetrieveCreateResponse.DetailTextField | RecordDetailRetrieveCreateResponse.DetailNumberField | RecordDetailRetrieveCreateResponse.DetailBooleanField | RecordDetailRetrieveCreateResponse.DetailDateField | RecordDetailRetrieveCreateResponse.DetailDateTimeField | RecordDetailRetrieveCreateResponse.DetailCurrencyField | RecordDetailRetrieveCreateResponse.DetailChoiceField | RecordDetailRetrieveCreateResponse.DetailMultiChoiceField | RecordDetailRetrieveCreateResponse.DetailReferenceField | RecordDetailRetrieveCreateResponse.DetailNativeReferenceField | RecordDetailRetrieveCreateResponse.DetailPercentageField | RecordDetailRetrieveCreateResponse.DetailTimeField | RecordDetailRetrieveCreateResponse.DetailUnsupportedField;
|
|
1391
|
+
};
|
|
1392
|
+
/**
|
|
1393
|
+
* Effective create layout after visibility and permission filtering.
|
|
1394
|
+
*/
|
|
1395
|
+
layout: RecordDetailRetrieveCreateResponse.Layout;
|
|
1396
|
+
/**
|
|
1397
|
+
* Custom Object API name for this create context.
|
|
1398
|
+
*/
|
|
1399
|
+
object_api_name: string;
|
|
1400
|
+
}
|
|
1401
|
+
export declare namespace RecordDetailRetrieveCreateResponse {
|
|
1402
|
+
/**
|
|
1403
|
+
* A configured action the caller can attempt through the existing Function
|
|
1404
|
+
* execution API.
|
|
1405
|
+
*/
|
|
1406
|
+
interface Action {
|
|
1407
|
+
/**
|
|
1408
|
+
* Stable native ObjectAction identifier.
|
|
1409
|
+
*/
|
|
1410
|
+
id: string;
|
|
1411
|
+
/**
|
|
1412
|
+
* Action API name; null for legacy actions.
|
|
1413
|
+
*/
|
|
1414
|
+
api_name: string | null;
|
|
1415
|
+
/**
|
|
1416
|
+
* Associated Function API name for the unchanged Function execution endpoints.
|
|
1417
|
+
* Discovery does not grant execution or execution-read permission.
|
|
1418
|
+
*/
|
|
1419
|
+
function_api_name: string;
|
|
1420
|
+
/**
|
|
1421
|
+
* Action display label.
|
|
1422
|
+
*/
|
|
1423
|
+
name: string;
|
|
1424
|
+
/**
|
|
1425
|
+
* Configured action placements: LIST_VIEW appears in an object grid; DETAIL_VIEW
|
|
1426
|
+
* appears on a record page.
|
|
1427
|
+
*/
|
|
1428
|
+
visibility_preferences: Array<'LIST_VIEW' | 'DETAIL_VIEW'>;
|
|
1429
|
+
}
|
|
1430
|
+
interface Blocker {
|
|
1431
|
+
/**
|
|
1432
|
+
* REQUIRED_INPUT_UNAVAILABLE means a required input cannot be supplied through the
|
|
1433
|
+
* form; NO_SUPPORTED_INPUTS means the form has no supported inputs.
|
|
1434
|
+
*/
|
|
1435
|
+
code: 'REQUIRED_INPUT_UNAVAILABLE' | 'NO_SUPPORTED_INPUTS';
|
|
1436
|
+
/**
|
|
1437
|
+
* Caller-safe explanation of the blocker.
|
|
1438
|
+
*/
|
|
1439
|
+
message: string;
|
|
1440
|
+
/**
|
|
1441
|
+
* Field API name when safe to disclose; null when omitted to avoid exposing an
|
|
1442
|
+
* unavailable or hidden field.
|
|
1443
|
+
*/
|
|
1444
|
+
field_api_name?: string | null;
|
|
1445
|
+
}
|
|
1446
|
+
/**
|
|
1447
|
+
* A discoverable field and its initial value and capabilities for the requested
|
|
1448
|
+
* flow.
|
|
1449
|
+
*/
|
|
1450
|
+
interface DetailTextField {
|
|
1451
|
+
/**
|
|
1452
|
+
* Field key used by layout placements and canonical record PATCH changes. Direct
|
|
1453
|
+
* keys come from the Custom Object field definition; dotted related keys are
|
|
1454
|
+
* read-only.
|
|
1455
|
+
*/
|
|
1456
|
+
api_name: string;
|
|
1457
|
+
/**
|
|
1458
|
+
* TEXT and LONG_TEXT contain text; EMAIL, URL, and PHONE_NUMBER contain their
|
|
1459
|
+
* respective textual values.
|
|
1460
|
+
*/
|
|
1461
|
+
data_type: 'TEXT' | 'LONG_TEXT' | 'EMAIL' | 'URL' | 'PHONE_NUMBER';
|
|
1462
|
+
/**
|
|
1463
|
+
* Whether you can attempt to supply or change this field through the canonical
|
|
1464
|
+
* write API for the requested flow. This does not grant permission to browse
|
|
1465
|
+
* reference targets; submitted reference identifiers are validated when written.
|
|
1466
|
+
*/
|
|
1467
|
+
editable: boolean;
|
|
1468
|
+
/**
|
|
1469
|
+
* Field display name.
|
|
1470
|
+
*/
|
|
1471
|
+
label: string;
|
|
1472
|
+
/**
|
|
1473
|
+
* Whether this field accepts multiple selections. True for SELECT; false for RADIO
|
|
1474
|
+
* and scalar references.
|
|
1475
|
+
*/
|
|
1476
|
+
multiple: boolean;
|
|
1477
|
+
/**
|
|
1478
|
+
* Configured choice values; empty for non-choice fields.
|
|
1479
|
+
*/
|
|
1480
|
+
options: Array<string>;
|
|
1481
|
+
/**
|
|
1482
|
+
* Why the field is read-only, or null when editable. Precedence: PERMISSION_DENIED
|
|
1483
|
+
* (no field read or update access), RECORD_LOCKED (writes locked), IMMUTABLE
|
|
1484
|
+
* (cannot change), MANAGED_WRITE_RESTRICTED (application-managed or generated
|
|
1485
|
+
* value), DERIVED (calculated value), MASKED (restricted value),
|
|
1486
|
+
* REFERENCE_UNAVAILABLE (unavailable reference target), UNSUPPORTED (not accepted
|
|
1487
|
+
* by this requested flow).
|
|
1488
|
+
*/
|
|
1489
|
+
read_only_reason: 'PERMISSION_DENIED' | 'RECORD_LOCKED' | 'IMMUTABLE' | 'MANAGED_WRITE_RESTRICTED' | 'DERIVED' | 'MASKED' | 'REFERENCE_UNAVAILABLE' | 'UNSUPPORTED' | null;
|
|
1490
|
+
/**
|
|
1491
|
+
* Whether a nonempty value is required by the field schema.
|
|
1492
|
+
*/
|
|
1493
|
+
required: boolean;
|
|
1494
|
+
/**
|
|
1495
|
+
* Readable text, including an empty string with value_state EMPTY; null when unset
|
|
1496
|
+
* or masked.
|
|
1497
|
+
*/
|
|
1498
|
+
value: string | null;
|
|
1499
|
+
/**
|
|
1500
|
+
* State of the value supplied for this requested flow: PRESENT for a readable
|
|
1501
|
+
* nonempty value, including false and zero; EMPTY for null, an empty string, or an
|
|
1502
|
+
* empty array; MASKED when access to the field or a referenced value is
|
|
1503
|
+
* restricted; or UNSUPPORTED when the endpoint does not represent the value.
|
|
1504
|
+
* UNSUPPORTED does not determine edit permission.
|
|
1505
|
+
*/
|
|
1506
|
+
value_state: 'PRESENT' | 'EMPTY' | 'MASKED' | 'UNSUPPORTED';
|
|
1507
|
+
/**
|
|
1508
|
+
* Whether the field value supplied for this requested flow is readable. Create
|
|
1509
|
+
* responses describe only an authorized initial value and do not grant access to
|
|
1510
|
+
* any existing record. A referenced record may have separate access restrictions.
|
|
1511
|
+
*/
|
|
1512
|
+
viewable: boolean;
|
|
1513
|
+
/**
|
|
1514
|
+
* Maximum accepted characters, or null when unbounded.
|
|
1515
|
+
*/
|
|
1516
|
+
max_length?: number | null;
|
|
1517
|
+
/**
|
|
1518
|
+
* Target name for a supported reference: Employee or a Custom Object API name
|
|
1519
|
+
* ending in \_\_c. Null for other fields and unsupported reference targets.
|
|
1520
|
+
*/
|
|
1521
|
+
reference_object?: string | null;
|
|
1522
|
+
}
|
|
1523
|
+
/**
|
|
1524
|
+
* A discoverable field and its initial value and capabilities for the requested
|
|
1525
|
+
* flow.
|
|
1526
|
+
*/
|
|
1527
|
+
interface DetailNumberField {
|
|
1528
|
+
/**
|
|
1529
|
+
* Field key used by layout placements and canonical record PATCH changes. Direct
|
|
1530
|
+
* keys come from the Custom Object field definition; dotted related keys are
|
|
1531
|
+
* read-only.
|
|
1532
|
+
*/
|
|
1533
|
+
api_name: string;
|
|
1534
|
+
/**
|
|
1535
|
+
* NUMBER contains a decimal quantity.
|
|
1536
|
+
*/
|
|
1537
|
+
data_type: 'NUMBER';
|
|
1538
|
+
/**
|
|
1539
|
+
* Whether you can attempt to supply or change this field through the canonical
|
|
1540
|
+
* write API for the requested flow. This does not grant permission to browse
|
|
1541
|
+
* reference targets; submitted reference identifiers are validated when written.
|
|
1542
|
+
*/
|
|
1543
|
+
editable: boolean;
|
|
1544
|
+
/**
|
|
1545
|
+
* Field display name.
|
|
1546
|
+
*/
|
|
1547
|
+
label: string;
|
|
1548
|
+
/**
|
|
1549
|
+
* Whether this field accepts multiple selections. True for SELECT; false for RADIO
|
|
1550
|
+
* and scalar references.
|
|
1551
|
+
*/
|
|
1552
|
+
multiple: boolean;
|
|
1553
|
+
/**
|
|
1554
|
+
* Configured choice values; empty for non-choice fields.
|
|
1555
|
+
*/
|
|
1556
|
+
options: Array<string>;
|
|
1557
|
+
/**
|
|
1558
|
+
* Why the field is read-only, or null when editable. Precedence: PERMISSION_DENIED
|
|
1559
|
+
* (no field read or update access), RECORD_LOCKED (writes locked), IMMUTABLE
|
|
1560
|
+
* (cannot change), MANAGED_WRITE_RESTRICTED (application-managed or generated
|
|
1561
|
+
* value), DERIVED (calculated value), MASKED (restricted value),
|
|
1562
|
+
* REFERENCE_UNAVAILABLE (unavailable reference target), UNSUPPORTED (not accepted
|
|
1563
|
+
* by this requested flow).
|
|
1564
|
+
*/
|
|
1565
|
+
read_only_reason: 'PERMISSION_DENIED' | 'RECORD_LOCKED' | 'IMMUTABLE' | 'MANAGED_WRITE_RESTRICTED' | 'DERIVED' | 'MASKED' | 'REFERENCE_UNAVAILABLE' | 'UNSUPPORTED' | null;
|
|
1566
|
+
/**
|
|
1567
|
+
* Whether a nonempty value is required by the field schema.
|
|
1568
|
+
*/
|
|
1569
|
+
required: boolean;
|
|
1570
|
+
/**
|
|
1571
|
+
* Decimal quantity encoded as a string to preserve precision, for example 12.50.
|
|
1572
|
+
* Units follow the configured field's meaning. Null unless value_state is PRESENT.
|
|
1573
|
+
*/
|
|
1574
|
+
value: string | null;
|
|
1575
|
+
/**
|
|
1576
|
+
* State of the value supplied for this requested flow: PRESENT for a readable
|
|
1577
|
+
* nonempty value, including false and zero; EMPTY for null, an empty string, or an
|
|
1578
|
+
* empty array; MASKED when access to the field or a referenced value is
|
|
1579
|
+
* restricted; or UNSUPPORTED when the endpoint does not represent the value.
|
|
1580
|
+
* UNSUPPORTED does not determine edit permission.
|
|
1581
|
+
*/
|
|
1582
|
+
value_state: 'PRESENT' | 'EMPTY' | 'MASKED' | 'UNSUPPORTED';
|
|
1583
|
+
/**
|
|
1584
|
+
* Whether the field value supplied for this requested flow is readable. Create
|
|
1585
|
+
* responses describe only an authorized initial value and do not grant access to
|
|
1586
|
+
* any existing record. A referenced record may have separate access restrictions.
|
|
1587
|
+
*/
|
|
1588
|
+
viewable: boolean;
|
|
1589
|
+
/**
|
|
1590
|
+
* Configured decimal places, or null.
|
|
1591
|
+
*/
|
|
1592
|
+
num_of_decimal_places?: number | null;
|
|
1593
|
+
/**
|
|
1594
|
+
* Target name for a supported reference: Employee or a Custom Object API name
|
|
1595
|
+
* ending in \_\_c. Null for other fields and unsupported reference targets.
|
|
1596
|
+
*/
|
|
1597
|
+
reference_object?: string | null;
|
|
1598
|
+
}
|
|
1599
|
+
/**
|
|
1600
|
+
* A discoverable field and its initial value and capabilities for the requested
|
|
1601
|
+
* flow.
|
|
1602
|
+
*/
|
|
1603
|
+
interface DetailBooleanField {
|
|
1604
|
+
/**
|
|
1605
|
+
* Field key used by layout placements and canonical record PATCH changes. Direct
|
|
1606
|
+
* keys come from the Custom Object field definition; dotted related keys are
|
|
1607
|
+
* read-only.
|
|
1608
|
+
*/
|
|
1609
|
+
api_name: string;
|
|
1610
|
+
/**
|
|
1611
|
+
* BOOLEAN contains true or false.
|
|
1612
|
+
*/
|
|
1613
|
+
data_type: 'BOOLEAN';
|
|
1614
|
+
/**
|
|
1615
|
+
* Whether you can attempt to supply or change this field through the canonical
|
|
1616
|
+
* write API for the requested flow. This does not grant permission to browse
|
|
1617
|
+
* reference targets; submitted reference identifiers are validated when written.
|
|
1618
|
+
*/
|
|
1619
|
+
editable: boolean;
|
|
1620
|
+
/**
|
|
1621
|
+
* Field display name.
|
|
1622
|
+
*/
|
|
1623
|
+
label: string;
|
|
1624
|
+
/**
|
|
1625
|
+
* Whether this field accepts multiple selections. True for SELECT; false for RADIO
|
|
1626
|
+
* and scalar references.
|
|
1627
|
+
*/
|
|
1628
|
+
multiple: boolean;
|
|
1629
|
+
/**
|
|
1630
|
+
* Configured choice values; empty for non-choice fields.
|
|
1631
|
+
*/
|
|
1632
|
+
options: Array<string>;
|
|
1633
|
+
/**
|
|
1634
|
+
* Why the field is read-only, or null when editable. Precedence: PERMISSION_DENIED
|
|
1635
|
+
* (no field read or update access), RECORD_LOCKED (writes locked), IMMUTABLE
|
|
1636
|
+
* (cannot change), MANAGED_WRITE_RESTRICTED (application-managed or generated
|
|
1637
|
+
* value), DERIVED (calculated value), MASKED (restricted value),
|
|
1638
|
+
* REFERENCE_UNAVAILABLE (unavailable reference target), UNSUPPORTED (not accepted
|
|
1639
|
+
* by this requested flow).
|
|
1640
|
+
*/
|
|
1641
|
+
read_only_reason: 'PERMISSION_DENIED' | 'RECORD_LOCKED' | 'IMMUTABLE' | 'MANAGED_WRITE_RESTRICTED' | 'DERIVED' | 'MASKED' | 'REFERENCE_UNAVAILABLE' | 'UNSUPPORTED' | null;
|
|
1642
|
+
/**
|
|
1643
|
+
* Whether a nonempty value is required by the field schema.
|
|
1644
|
+
*/
|
|
1645
|
+
required: boolean;
|
|
1646
|
+
/**
|
|
1647
|
+
* Whether the configured condition is true; null unless value_state is PRESENT.
|
|
1648
|
+
*/
|
|
1649
|
+
value: boolean | null;
|
|
1650
|
+
/**
|
|
1651
|
+
* State of the value supplied for this requested flow: PRESENT for a readable
|
|
1652
|
+
* nonempty value, including false and zero; EMPTY for null, an empty string, or an
|
|
1653
|
+
* empty array; MASKED when access to the field or a referenced value is
|
|
1654
|
+
* restricted; or UNSUPPORTED when the endpoint does not represent the value.
|
|
1655
|
+
* UNSUPPORTED does not determine edit permission.
|
|
1656
|
+
*/
|
|
1657
|
+
value_state: 'PRESENT' | 'EMPTY' | 'MASKED' | 'UNSUPPORTED';
|
|
1658
|
+
/**
|
|
1659
|
+
* Whether the field value supplied for this requested flow is readable. Create
|
|
1660
|
+
* responses describe only an authorized initial value and do not grant access to
|
|
1661
|
+
* any existing record. A referenced record may have separate access restrictions.
|
|
1662
|
+
*/
|
|
1663
|
+
viewable: boolean;
|
|
1664
|
+
/**
|
|
1665
|
+
* Target name for a supported reference: Employee or a Custom Object API name
|
|
1666
|
+
* ending in \_\_c. Null for other fields and unsupported reference targets.
|
|
1667
|
+
*/
|
|
1668
|
+
reference_object?: string | null;
|
|
1669
|
+
}
|
|
1670
|
+
/**
|
|
1671
|
+
* A discoverable field and its initial value and capabilities for the requested
|
|
1672
|
+
* flow.
|
|
1673
|
+
*/
|
|
1674
|
+
interface DetailDateField {
|
|
1675
|
+
/**
|
|
1676
|
+
* Field key used by layout placements and canonical record PATCH changes. Direct
|
|
1677
|
+
* keys come from the Custom Object field definition; dotted related keys are
|
|
1678
|
+
* read-only.
|
|
1679
|
+
*/
|
|
1680
|
+
api_name: string;
|
|
1681
|
+
/**
|
|
1682
|
+
* DATE contains a calendar date without a time or timezone.
|
|
1683
|
+
*/
|
|
1684
|
+
data_type: 'DATE';
|
|
1685
|
+
/**
|
|
1686
|
+
* Whether you can attempt to supply or change this field through the canonical
|
|
1687
|
+
* write API for the requested flow. This does not grant permission to browse
|
|
1688
|
+
* reference targets; submitted reference identifiers are validated when written.
|
|
1689
|
+
*/
|
|
1690
|
+
editable: boolean;
|
|
1691
|
+
/**
|
|
1692
|
+
* Field display name.
|
|
1693
|
+
*/
|
|
1694
|
+
label: string;
|
|
1695
|
+
/**
|
|
1696
|
+
* Whether this field accepts multiple selections. True for SELECT; false for RADIO
|
|
1697
|
+
* and scalar references.
|
|
1698
|
+
*/
|
|
1699
|
+
multiple: boolean;
|
|
1700
|
+
/**
|
|
1701
|
+
* Configured choice values; empty for non-choice fields.
|
|
1702
|
+
*/
|
|
1703
|
+
options: Array<string>;
|
|
1704
|
+
/**
|
|
1705
|
+
* Why the field is read-only, or null when editable. Precedence: PERMISSION_DENIED
|
|
1706
|
+
* (no field read or update access), RECORD_LOCKED (writes locked), IMMUTABLE
|
|
1707
|
+
* (cannot change), MANAGED_WRITE_RESTRICTED (application-managed or generated
|
|
1708
|
+
* value), DERIVED (calculated value), MASKED (restricted value),
|
|
1709
|
+
* REFERENCE_UNAVAILABLE (unavailable reference target), UNSUPPORTED (not accepted
|
|
1710
|
+
* by this requested flow).
|
|
1711
|
+
*/
|
|
1712
|
+
read_only_reason: 'PERMISSION_DENIED' | 'RECORD_LOCKED' | 'IMMUTABLE' | 'MANAGED_WRITE_RESTRICTED' | 'DERIVED' | 'MASKED' | 'REFERENCE_UNAVAILABLE' | 'UNSUPPORTED' | null;
|
|
1713
|
+
/**
|
|
1714
|
+
* Whether a nonempty value is required by the field schema.
|
|
1715
|
+
*/
|
|
1716
|
+
required: boolean;
|
|
1717
|
+
/**
|
|
1718
|
+
* Calendar date in YYYY-MM-DD format, for example 2026-10-24; null unless
|
|
1719
|
+
* value_state is PRESENT.
|
|
1720
|
+
*/
|
|
1721
|
+
value: string | null;
|
|
1722
|
+
/**
|
|
1723
|
+
* State of the value supplied for this requested flow: PRESENT for a readable
|
|
1724
|
+
* nonempty value, including false and zero; EMPTY for null, an empty string, or an
|
|
1725
|
+
* empty array; MASKED when access to the field or a referenced value is
|
|
1726
|
+
* restricted; or UNSUPPORTED when the endpoint does not represent the value.
|
|
1727
|
+
* UNSUPPORTED does not determine edit permission.
|
|
1728
|
+
*/
|
|
1729
|
+
value_state: 'PRESENT' | 'EMPTY' | 'MASKED' | 'UNSUPPORTED';
|
|
1730
|
+
/**
|
|
1731
|
+
* Whether the field value supplied for this requested flow is readable. Create
|
|
1732
|
+
* responses describe only an authorized initial value and do not grant access to
|
|
1733
|
+
* any existing record. A referenced record may have separate access restrictions.
|
|
1734
|
+
*/
|
|
1735
|
+
viewable: boolean;
|
|
1736
|
+
/**
|
|
1737
|
+
* Target name for a supported reference: Employee or a Custom Object API name
|
|
1738
|
+
* ending in \_\_c. Null for other fields and unsupported reference targets.
|
|
1739
|
+
*/
|
|
1740
|
+
reference_object?: string | null;
|
|
1741
|
+
}
|
|
1742
|
+
/**
|
|
1743
|
+
* A discoverable field and its initial value and capabilities for the requested
|
|
1744
|
+
* flow.
|
|
1745
|
+
*/
|
|
1746
|
+
interface DetailDateTimeField {
|
|
1747
|
+
/**
|
|
1748
|
+
* Field key used by layout placements and canonical record PATCH changes. Direct
|
|
1749
|
+
* keys come from the Custom Object field definition; dotted related keys are
|
|
1750
|
+
* read-only.
|
|
1751
|
+
*/
|
|
1752
|
+
api_name: string;
|
|
1753
|
+
/**
|
|
1754
|
+
* DATETIME contains an instant with a timezone.
|
|
1755
|
+
*/
|
|
1756
|
+
data_type: 'DATETIME';
|
|
1757
|
+
/**
|
|
1758
|
+
* Whether you can attempt to supply or change this field through the canonical
|
|
1759
|
+
* write API for the requested flow. This does not grant permission to browse
|
|
1760
|
+
* reference targets; submitted reference identifiers are validated when written.
|
|
1761
|
+
*/
|
|
1762
|
+
editable: boolean;
|
|
1763
|
+
/**
|
|
1764
|
+
* Field display name.
|
|
1765
|
+
*/
|
|
1766
|
+
label: string;
|
|
1767
|
+
/**
|
|
1768
|
+
* Whether this field accepts multiple selections. True for SELECT; false for RADIO
|
|
1769
|
+
* and scalar references.
|
|
1770
|
+
*/
|
|
1771
|
+
multiple: boolean;
|
|
1772
|
+
/**
|
|
1773
|
+
* Configured choice values; empty for non-choice fields.
|
|
1774
|
+
*/
|
|
1775
|
+
options: Array<string>;
|
|
1776
|
+
/**
|
|
1777
|
+
* Why the field is read-only, or null when editable. Precedence: PERMISSION_DENIED
|
|
1778
|
+
* (no field read or update access), RECORD_LOCKED (writes locked), IMMUTABLE
|
|
1779
|
+
* (cannot change), MANAGED_WRITE_RESTRICTED (application-managed or generated
|
|
1780
|
+
* value), DERIVED (calculated value), MASKED (restricted value),
|
|
1781
|
+
* REFERENCE_UNAVAILABLE (unavailable reference target), UNSUPPORTED (not accepted
|
|
1782
|
+
* by this requested flow).
|
|
1783
|
+
*/
|
|
1784
|
+
read_only_reason: 'PERMISSION_DENIED' | 'RECORD_LOCKED' | 'IMMUTABLE' | 'MANAGED_WRITE_RESTRICTED' | 'DERIVED' | 'MASKED' | 'REFERENCE_UNAVAILABLE' | 'UNSUPPORTED' | null;
|
|
1785
|
+
/**
|
|
1786
|
+
* Whether a nonempty value is required by the field schema.
|
|
1787
|
+
*/
|
|
1788
|
+
required: boolean;
|
|
1789
|
+
/**
|
|
1790
|
+
* ISO 8601 timestamp with timezone and up to millisecond precision, matching
|
|
1791
|
+
* native record JSON responses; null unless value_state is PRESENT. System audit
|
|
1792
|
+
* timestamps are immutable.
|
|
1793
|
+
*/
|
|
1794
|
+
value: string | null;
|
|
1795
|
+
/**
|
|
1796
|
+
* State of the value supplied for this requested flow: PRESENT for a readable
|
|
1797
|
+
* nonempty value, including false and zero; EMPTY for null, an empty string, or an
|
|
1798
|
+
* empty array; MASKED when access to the field or a referenced value is
|
|
1799
|
+
* restricted; or UNSUPPORTED when the endpoint does not represent the value.
|
|
1800
|
+
* UNSUPPORTED does not determine edit permission.
|
|
1801
|
+
*/
|
|
1802
|
+
value_state: 'PRESENT' | 'EMPTY' | 'MASKED' | 'UNSUPPORTED';
|
|
1803
|
+
/**
|
|
1804
|
+
* Whether the field value supplied for this requested flow is readable. Create
|
|
1805
|
+
* responses describe only an authorized initial value and do not grant access to
|
|
1806
|
+
* any existing record. A referenced record may have separate access restrictions.
|
|
1807
|
+
*/
|
|
1808
|
+
viewable: boolean;
|
|
1809
|
+
/**
|
|
1810
|
+
* Target name for a supported reference: Employee or a Custom Object API name
|
|
1811
|
+
* ending in \_\_c. Null for other fields and unsupported reference targets.
|
|
1812
|
+
*/
|
|
1813
|
+
reference_object?: string | null;
|
|
1814
|
+
}
|
|
1815
|
+
/**
|
|
1816
|
+
* A discoverable field and its initial value and capabilities for the requested
|
|
1817
|
+
* flow.
|
|
1818
|
+
*/
|
|
1819
|
+
interface DetailCurrencyField {
|
|
1820
|
+
/**
|
|
1821
|
+
* Field key used by layout placements and canonical record PATCH changes. Direct
|
|
1822
|
+
* keys come from the Custom Object field definition; dotted related keys are
|
|
1823
|
+
* read-only.
|
|
1824
|
+
*/
|
|
1825
|
+
api_name: string;
|
|
1826
|
+
/**
|
|
1827
|
+
* CURRENCY contains a monetary amount and its currency.
|
|
1828
|
+
*/
|
|
1829
|
+
data_type: 'CURRENCY';
|
|
1830
|
+
/**
|
|
1831
|
+
* Whether you can attempt to supply or change this field through the canonical
|
|
1832
|
+
* write API for the requested flow. This does not grant permission to browse
|
|
1833
|
+
* reference targets; submitted reference identifiers are validated when written.
|
|
1834
|
+
*/
|
|
1835
|
+
editable: boolean;
|
|
1836
|
+
/**
|
|
1837
|
+
* Field display name.
|
|
1838
|
+
*/
|
|
1839
|
+
label: string;
|
|
1840
|
+
/**
|
|
1841
|
+
* Whether this field accepts multiple selections. True for SELECT; false for RADIO
|
|
1842
|
+
* and scalar references.
|
|
1843
|
+
*/
|
|
1844
|
+
multiple: boolean;
|
|
1845
|
+
/**
|
|
1846
|
+
* Configured choice values; empty for non-choice fields.
|
|
1847
|
+
*/
|
|
1848
|
+
options: Array<string>;
|
|
1849
|
+
/**
|
|
1850
|
+
* Why the field is read-only, or null when editable. Precedence: PERMISSION_DENIED
|
|
1851
|
+
* (no field read or update access), RECORD_LOCKED (writes locked), IMMUTABLE
|
|
1852
|
+
* (cannot change), MANAGED_WRITE_RESTRICTED (application-managed or generated
|
|
1853
|
+
* value), DERIVED (calculated value), MASKED (restricted value),
|
|
1854
|
+
* REFERENCE_UNAVAILABLE (unavailable reference target), UNSUPPORTED (not accepted
|
|
1855
|
+
* by this requested flow).
|
|
1856
|
+
*/
|
|
1857
|
+
read_only_reason: 'PERMISSION_DENIED' | 'RECORD_LOCKED' | 'IMMUTABLE' | 'MANAGED_WRITE_RESTRICTED' | 'DERIVED' | 'MASKED' | 'REFERENCE_UNAVAILABLE' | 'UNSUPPORTED' | null;
|
|
1858
|
+
/**
|
|
1859
|
+
* Whether a nonempty value is required by the field schema.
|
|
1860
|
+
*/
|
|
1861
|
+
required: boolean;
|
|
1862
|
+
/**
|
|
1863
|
+
* Currency object with an ISO 4217 currency_type and decimal-string value, for
|
|
1864
|
+
* example {"currency_type": "USD", "value": "25.00"}. The amount is in currency
|
|
1865
|
+
* units, not cents. Null unless value_state is PRESENT.
|
|
1866
|
+
*/
|
|
1867
|
+
value: DetailCurrencyField.RecordDetailCurrency | null;
|
|
1868
|
+
/**
|
|
1869
|
+
* State of the value supplied for this requested flow: PRESENT for a readable
|
|
1870
|
+
* nonempty value, including false and zero; EMPTY for null, an empty string, or an
|
|
1871
|
+
* empty array; MASKED when access to the field or a referenced value is
|
|
1872
|
+
* restricted; or UNSUPPORTED when the endpoint does not represent the value.
|
|
1873
|
+
* UNSUPPORTED does not determine edit permission.
|
|
1874
|
+
*/
|
|
1875
|
+
value_state: 'PRESENT' | 'EMPTY' | 'MASKED' | 'UNSUPPORTED';
|
|
1876
|
+
/**
|
|
1877
|
+
* Whether the field value supplied for this requested flow is readable. Create
|
|
1878
|
+
* responses describe only an authorized initial value and do not grant access to
|
|
1879
|
+
* any existing record. A referenced record may have separate access restrictions.
|
|
1880
|
+
*/
|
|
1881
|
+
viewable: boolean;
|
|
1882
|
+
/**
|
|
1883
|
+
* Configured ISO 4217 currency code, or null when dynamic.
|
|
1884
|
+
*/
|
|
1885
|
+
currency?: string | null;
|
|
1886
|
+
/**
|
|
1887
|
+
* Configured decimal places, or null.
|
|
1888
|
+
*/
|
|
1889
|
+
num_of_decimal_places?: number | null;
|
|
1890
|
+
/**
|
|
1891
|
+
* Target name for a supported reference: Employee or a Custom Object API name
|
|
1892
|
+
* ending in \_\_c. Null for other fields and unsupported reference targets.
|
|
1893
|
+
*/
|
|
1894
|
+
reference_object?: string | null;
|
|
1895
|
+
}
|
|
1896
|
+
namespace DetailCurrencyField {
|
|
1897
|
+
/**
|
|
1898
|
+
* Platform Currency serialized with a decimal string amount to preserve precision.
|
|
1899
|
+
*/
|
|
1900
|
+
interface RecordDetailCurrency {
|
|
1901
|
+
/**
|
|
1902
|
+
* ISO 4217 currency code, for example USD or EUR.
|
|
1903
|
+
*/
|
|
1904
|
+
currency_type: string;
|
|
1905
|
+
/**
|
|
1906
|
+
* Decimal monetary amount in currency units, for example 25.00; not integer cents.
|
|
1907
|
+
*/
|
|
1908
|
+
value: string;
|
|
1909
|
+
}
|
|
1910
|
+
}
|
|
1911
|
+
/**
|
|
1912
|
+
* A discoverable field and its initial value and capabilities for the requested
|
|
1913
|
+
* flow.
|
|
1914
|
+
*/
|
|
1915
|
+
interface DetailChoiceField {
|
|
1916
|
+
/**
|
|
1917
|
+
* Field key used by layout placements and canonical record PATCH changes. Direct
|
|
1918
|
+
* keys come from the Custom Object field definition; dotted related keys are
|
|
1919
|
+
* read-only.
|
|
1920
|
+
*/
|
|
1921
|
+
api_name: string;
|
|
1922
|
+
/**
|
|
1923
|
+
* RADIO contains one configured choice.
|
|
1924
|
+
*/
|
|
1925
|
+
data_type: 'RADIO';
|
|
1926
|
+
/**
|
|
1927
|
+
* Whether you can attempt to supply or change this field through the canonical
|
|
1928
|
+
* write API for the requested flow. This does not grant permission to browse
|
|
1929
|
+
* reference targets; submitted reference identifiers are validated when written.
|
|
1930
|
+
*/
|
|
1931
|
+
editable: boolean;
|
|
1932
|
+
/**
|
|
1933
|
+
* Field display name.
|
|
1934
|
+
*/
|
|
1935
|
+
label: string;
|
|
1936
|
+
/**
|
|
1937
|
+
* Whether this field accepts multiple selections. True for SELECT; false for RADIO
|
|
1938
|
+
* and scalar references.
|
|
1939
|
+
*/
|
|
1940
|
+
multiple: boolean;
|
|
1941
|
+
/**
|
|
1942
|
+
* Configured choice values; empty for non-choice fields.
|
|
1943
|
+
*/
|
|
1944
|
+
options: Array<string>;
|
|
1945
|
+
/**
|
|
1946
|
+
* Why the field is read-only, or null when editable. Precedence: PERMISSION_DENIED
|
|
1947
|
+
* (no field read or update access), RECORD_LOCKED (writes locked), IMMUTABLE
|
|
1948
|
+
* (cannot change), MANAGED_WRITE_RESTRICTED (application-managed or generated
|
|
1949
|
+
* value), DERIVED (calculated value), MASKED (restricted value),
|
|
1950
|
+
* REFERENCE_UNAVAILABLE (unavailable reference target), UNSUPPORTED (not accepted
|
|
1951
|
+
* by this requested flow).
|
|
1952
|
+
*/
|
|
1953
|
+
read_only_reason: 'PERMISSION_DENIED' | 'RECORD_LOCKED' | 'IMMUTABLE' | 'MANAGED_WRITE_RESTRICTED' | 'DERIVED' | 'MASKED' | 'REFERENCE_UNAVAILABLE' | 'UNSUPPORTED' | null;
|
|
1954
|
+
/**
|
|
1955
|
+
* Whether a nonempty value is required by the field schema.
|
|
1956
|
+
*/
|
|
1957
|
+
required: boolean;
|
|
1958
|
+
/**
|
|
1959
|
+
* One value from options, or an empty string with value_state EMPTY; null when
|
|
1960
|
+
* unset or masked.
|
|
1961
|
+
*/
|
|
1962
|
+
value: string | null;
|
|
1963
|
+
/**
|
|
1964
|
+
* State of the value supplied for this requested flow: PRESENT for a readable
|
|
1965
|
+
* nonempty value, including false and zero; EMPTY for null, an empty string, or an
|
|
1966
|
+
* empty array; MASKED when access to the field or a referenced value is
|
|
1967
|
+
* restricted; or UNSUPPORTED when the endpoint does not represent the value.
|
|
1968
|
+
* UNSUPPORTED does not determine edit permission.
|
|
1969
|
+
*/
|
|
1970
|
+
value_state: 'PRESENT' | 'EMPTY' | 'MASKED' | 'UNSUPPORTED';
|
|
1971
|
+
/**
|
|
1972
|
+
* Whether the field value supplied for this requested flow is readable. Create
|
|
1973
|
+
* responses describe only an authorized initial value and do not grant access to
|
|
1974
|
+
* any existing record. A referenced record may have separate access restrictions.
|
|
1975
|
+
*/
|
|
1976
|
+
viewable: boolean;
|
|
1977
|
+
/**
|
|
1978
|
+
* Target name for a supported reference: Employee or a Custom Object API name
|
|
1979
|
+
* ending in \_\_c. Null for other fields and unsupported reference targets.
|
|
1980
|
+
*/
|
|
1981
|
+
reference_object?: string | null;
|
|
1982
|
+
}
|
|
1983
|
+
/**
|
|
1984
|
+
* A discoverable field and its initial value and capabilities for the requested
|
|
1985
|
+
* flow.
|
|
1986
|
+
*/
|
|
1987
|
+
interface DetailMultiChoiceField {
|
|
1988
|
+
/**
|
|
1989
|
+
* Field key used by layout placements and canonical record PATCH changes. Direct
|
|
1990
|
+
* keys come from the Custom Object field definition; dotted related keys are
|
|
1991
|
+
* read-only.
|
|
1992
|
+
*/
|
|
1993
|
+
api_name: string;
|
|
1994
|
+
/**
|
|
1995
|
+
* SELECT contains zero or more configured choices.
|
|
1996
|
+
*/
|
|
1997
|
+
data_type: 'SELECT';
|
|
1998
|
+
/**
|
|
1999
|
+
* Whether you can attempt to supply or change this field through the canonical
|
|
2000
|
+
* write API for the requested flow. This does not grant permission to browse
|
|
2001
|
+
* reference targets; submitted reference identifiers are validated when written.
|
|
2002
|
+
*/
|
|
2003
|
+
editable: boolean;
|
|
2004
|
+
/**
|
|
2005
|
+
* Field display name.
|
|
2006
|
+
*/
|
|
2007
|
+
label: string;
|
|
2008
|
+
/**
|
|
2009
|
+
* Whether this field accepts multiple selections. True for SELECT; false for RADIO
|
|
2010
|
+
* and scalar references.
|
|
2011
|
+
*/
|
|
2012
|
+
multiple: boolean;
|
|
2013
|
+
/**
|
|
2014
|
+
* Configured choice values; empty for non-choice fields.
|
|
2015
|
+
*/
|
|
2016
|
+
options: Array<string>;
|
|
2017
|
+
/**
|
|
2018
|
+
* Why the field is read-only, or null when editable. Precedence: PERMISSION_DENIED
|
|
2019
|
+
* (no field read or update access), RECORD_LOCKED (writes locked), IMMUTABLE
|
|
2020
|
+
* (cannot change), MANAGED_WRITE_RESTRICTED (application-managed or generated
|
|
2021
|
+
* value), DERIVED (calculated value), MASKED (restricted value),
|
|
2022
|
+
* REFERENCE_UNAVAILABLE (unavailable reference target), UNSUPPORTED (not accepted
|
|
2023
|
+
* by this requested flow).
|
|
2024
|
+
*/
|
|
2025
|
+
read_only_reason: 'PERMISSION_DENIED' | 'RECORD_LOCKED' | 'IMMUTABLE' | 'MANAGED_WRITE_RESTRICTED' | 'DERIVED' | 'MASKED' | 'REFERENCE_UNAVAILABLE' | 'UNSUPPORTED' | null;
|
|
2026
|
+
/**
|
|
2027
|
+
* Whether a nonempty value is required by the field schema.
|
|
2028
|
+
*/
|
|
2029
|
+
required: boolean;
|
|
2030
|
+
/**
|
|
2031
|
+
* Selected values from options. An empty selection is [] with value_state EMPTY;
|
|
2032
|
+
* null when unset or masked.
|
|
2033
|
+
*/
|
|
2034
|
+
value: Array<string> | null;
|
|
2035
|
+
/**
|
|
2036
|
+
* State of the value supplied for this requested flow: PRESENT for a readable
|
|
2037
|
+
* nonempty value, including false and zero; EMPTY for null, an empty string, or an
|
|
2038
|
+
* empty array; MASKED when access to the field or a referenced value is
|
|
2039
|
+
* restricted; or UNSUPPORTED when the endpoint does not represent the value.
|
|
2040
|
+
* UNSUPPORTED does not determine edit permission.
|
|
2041
|
+
*/
|
|
2042
|
+
value_state: 'PRESENT' | 'EMPTY' | 'MASKED' | 'UNSUPPORTED';
|
|
2043
|
+
/**
|
|
2044
|
+
* Whether the field value supplied for this requested flow is readable. Create
|
|
2045
|
+
* responses describe only an authorized initial value and do not grant access to
|
|
2046
|
+
* any existing record. A referenced record may have separate access restrictions.
|
|
2047
|
+
*/
|
|
2048
|
+
viewable: boolean;
|
|
2049
|
+
/**
|
|
2050
|
+
* Target name for a supported reference: Employee or a Custom Object API name
|
|
2051
|
+
* ending in \_\_c. Null for other fields and unsupported reference targets.
|
|
2052
|
+
*/
|
|
2053
|
+
reference_object?: string | null;
|
|
2054
|
+
}
|
|
2055
|
+
/**
|
|
2056
|
+
* A discoverable field and its initial value and capabilities for the requested
|
|
2057
|
+
* flow.
|
|
2058
|
+
*/
|
|
2059
|
+
interface DetailReferenceField {
|
|
2060
|
+
/**
|
|
2061
|
+
* Field key used by layout placements and canonical record PATCH changes. Direct
|
|
2062
|
+
* keys come from the Custom Object field definition; dotted related keys are
|
|
2063
|
+
* read-only.
|
|
2064
|
+
*/
|
|
2065
|
+
api_name: string;
|
|
2066
|
+
/**
|
|
2067
|
+
* OG_REFERENCE_FIELD identifies a reference to the object named by
|
|
2068
|
+
* reference_object, including owner_role, created_by, and last_modified_by fields.
|
|
2069
|
+
*/
|
|
2070
|
+
data_type: 'OG_REFERENCE_FIELD';
|
|
2071
|
+
/**
|
|
2072
|
+
* Whether you can attempt to supply or change this field through the canonical
|
|
2073
|
+
* write API for the requested flow. This does not grant permission to browse
|
|
2074
|
+
* reference targets; submitted reference identifiers are validated when written.
|
|
2075
|
+
*/
|
|
2076
|
+
editable: boolean;
|
|
2077
|
+
/**
|
|
2078
|
+
* Field display name.
|
|
2079
|
+
*/
|
|
2080
|
+
label: string;
|
|
2081
|
+
/**
|
|
2082
|
+
* Whether this field accepts multiple selections. True for SELECT; false for RADIO
|
|
2083
|
+
* and scalar references.
|
|
2084
|
+
*/
|
|
2085
|
+
multiple: boolean;
|
|
2086
|
+
/**
|
|
2087
|
+
* Configured choice values; empty for non-choice fields.
|
|
2088
|
+
*/
|
|
2089
|
+
options: Array<string>;
|
|
2090
|
+
/**
|
|
2091
|
+
* Why the field is read-only, or null when editable. Precedence: PERMISSION_DENIED
|
|
2092
|
+
* (no field read or update access), RECORD_LOCKED (writes locked), IMMUTABLE
|
|
2093
|
+
* (cannot change), MANAGED_WRITE_RESTRICTED (application-managed or generated
|
|
2094
|
+
* value), DERIVED (calculated value), MASKED (restricted value),
|
|
2095
|
+
* REFERENCE_UNAVAILABLE (unavailable reference target), UNSUPPORTED (not accepted
|
|
2096
|
+
* by this requested flow).
|
|
2097
|
+
*/
|
|
2098
|
+
read_only_reason: 'PERMISSION_DENIED' | 'RECORD_LOCKED' | 'IMMUTABLE' | 'MANAGED_WRITE_RESTRICTED' | 'DERIVED' | 'MASKED' | 'REFERENCE_UNAVAILABLE' | 'UNSUPPORTED' | null;
|
|
2099
|
+
/**
|
|
2100
|
+
* Whether a nonempty value is required by the field schema.
|
|
2101
|
+
*/
|
|
2102
|
+
required: boolean;
|
|
2103
|
+
/**
|
|
2104
|
+
* Selected record identifier in the reference_object target; null when empty or
|
|
2105
|
+
* masked. Use the Workers GET endpoint for Employee targets, or the Custom Object
|
|
2106
|
+
* record GET endpoint for Custom Object targets.
|
|
2107
|
+
*/
|
|
2108
|
+
value: string | null;
|
|
2109
|
+
/**
|
|
2110
|
+
* State of the value supplied for this requested flow: PRESENT for a readable
|
|
2111
|
+
* nonempty value, including false and zero; EMPTY for null, an empty string, or an
|
|
2112
|
+
* empty array; MASKED when access to the field or a referenced value is
|
|
2113
|
+
* restricted; or UNSUPPORTED when the endpoint does not represent the value.
|
|
2114
|
+
* UNSUPPORTED does not determine edit permission.
|
|
2115
|
+
*/
|
|
2116
|
+
value_state: 'PRESENT' | 'EMPTY' | 'MASKED' | 'UNSUPPORTED';
|
|
2117
|
+
/**
|
|
2118
|
+
* Whether the field value supplied for this requested flow is readable. Create
|
|
2119
|
+
* responses describe only an authorized initial value and do not grant access to
|
|
2120
|
+
* any existing record. A referenced record may have separate access restrictions.
|
|
2121
|
+
*/
|
|
2122
|
+
viewable: boolean;
|
|
2123
|
+
/**
|
|
2124
|
+
* Permitted presentation of the selection, or null when unavailable. Empty and
|
|
2125
|
+
* masked references have no presentation.
|
|
2126
|
+
*/
|
|
2127
|
+
display?: DetailReferenceField.ReferenceDisplay | null;
|
|
2128
|
+
/**
|
|
2129
|
+
* Target name for a supported reference: Employee or a Custom Object API name
|
|
2130
|
+
* ending in \_\_c. Null for other fields and unsupported reference targets.
|
|
2131
|
+
*/
|
|
2132
|
+
reference_object?: string | null;
|
|
2133
|
+
}
|
|
2134
|
+
namespace DetailReferenceField {
|
|
2135
|
+
/**
|
|
2136
|
+
* Optional presentation of a readable reference, independent of its identifier.
|
|
2137
|
+
*/
|
|
2138
|
+
interface ReferenceDisplay {
|
|
2139
|
+
/**
|
|
2140
|
+
* Permitted display label; never synthesized from the identifier.
|
|
2141
|
+
*/
|
|
2142
|
+
label: string;
|
|
2143
|
+
/**
|
|
2144
|
+
* Permitted image URL, or null when unavailable.
|
|
2145
|
+
*/
|
|
2146
|
+
image_url?: string | null;
|
|
2147
|
+
/**
|
|
2148
|
+
* Permitted secondary text, or null when unavailable.
|
|
2149
|
+
*/
|
|
2150
|
+
secondary_label?: string | null;
|
|
2151
|
+
}
|
|
2152
|
+
}
|
|
2153
|
+
/**
|
|
2154
|
+
* A discoverable field and its initial value and capabilities for the requested
|
|
2155
|
+
* flow.
|
|
2156
|
+
*/
|
|
2157
|
+
interface DetailNativeReferenceField {
|
|
2158
|
+
/**
|
|
2159
|
+
* Field key used by layout placements and canonical record PATCH changes. Direct
|
|
2160
|
+
* keys come from the Custom Object field definition; dotted related keys are
|
|
2161
|
+
* read-only.
|
|
2162
|
+
*/
|
|
2163
|
+
api_name: string;
|
|
2164
|
+
/**
|
|
2165
|
+
* NATIVE_EDGE identifies a relationship using the same selected identifier and
|
|
2166
|
+
* optional presentation contract.
|
|
2167
|
+
*/
|
|
2168
|
+
data_type: 'NATIVE_EDGE';
|
|
2169
|
+
/**
|
|
2170
|
+
* Whether you can attempt to supply or change this field through the canonical
|
|
2171
|
+
* write API for the requested flow. This does not grant permission to browse
|
|
2172
|
+
* reference targets; submitted reference identifiers are validated when written.
|
|
2173
|
+
*/
|
|
2174
|
+
editable: boolean;
|
|
2175
|
+
/**
|
|
2176
|
+
* Field display name.
|
|
2177
|
+
*/
|
|
2178
|
+
label: string;
|
|
2179
|
+
/**
|
|
2180
|
+
* Whether this field accepts multiple selections. True for SELECT; false for RADIO
|
|
2181
|
+
* and scalar references.
|
|
2182
|
+
*/
|
|
2183
|
+
multiple: boolean;
|
|
2184
|
+
/**
|
|
2185
|
+
* Configured choice values; empty for non-choice fields.
|
|
2186
|
+
*/
|
|
2187
|
+
options: Array<string>;
|
|
2188
|
+
/**
|
|
2189
|
+
* Why the field is read-only, or null when editable. Precedence: PERMISSION_DENIED
|
|
2190
|
+
* (no field read or update access), RECORD_LOCKED (writes locked), IMMUTABLE
|
|
2191
|
+
* (cannot change), MANAGED_WRITE_RESTRICTED (application-managed or generated
|
|
2192
|
+
* value), DERIVED (calculated value), MASKED (restricted value),
|
|
2193
|
+
* REFERENCE_UNAVAILABLE (unavailable reference target), UNSUPPORTED (not accepted
|
|
2194
|
+
* by this requested flow).
|
|
2195
|
+
*/
|
|
2196
|
+
read_only_reason: 'PERMISSION_DENIED' | 'RECORD_LOCKED' | 'IMMUTABLE' | 'MANAGED_WRITE_RESTRICTED' | 'DERIVED' | 'MASKED' | 'REFERENCE_UNAVAILABLE' | 'UNSUPPORTED' | null;
|
|
2197
|
+
/**
|
|
2198
|
+
* Whether a nonempty value is required by the field schema.
|
|
2199
|
+
*/
|
|
2200
|
+
required: boolean;
|
|
2201
|
+
/**
|
|
2202
|
+
* Selected record identifier in the reference_object target; null when empty or
|
|
2203
|
+
* masked. Use the Workers GET endpoint for Employee targets, or the Custom Object
|
|
2204
|
+
* record GET endpoint for Custom Object targets.
|
|
2205
|
+
*/
|
|
2206
|
+
value: string | null;
|
|
2207
|
+
/**
|
|
2208
|
+
* State of the value supplied for this requested flow: PRESENT for a readable
|
|
2209
|
+
* nonempty value, including false and zero; EMPTY for null, an empty string, or an
|
|
2210
|
+
* empty array; MASKED when access to the field or a referenced value is
|
|
2211
|
+
* restricted; or UNSUPPORTED when the endpoint does not represent the value.
|
|
2212
|
+
* UNSUPPORTED does not determine edit permission.
|
|
2213
|
+
*/
|
|
2214
|
+
value_state: 'PRESENT' | 'EMPTY' | 'MASKED' | 'UNSUPPORTED';
|
|
2215
|
+
/**
|
|
2216
|
+
* Whether the field value supplied for this requested flow is readable. Create
|
|
2217
|
+
* responses describe only an authorized initial value and do not grant access to
|
|
2218
|
+
* any existing record. A referenced record may have separate access restrictions.
|
|
2219
|
+
*/
|
|
2220
|
+
viewable: boolean;
|
|
2221
|
+
/**
|
|
2222
|
+
* Permitted presentation of the selection, or null when unavailable. Empty and
|
|
2223
|
+
* masked references have no presentation.
|
|
2224
|
+
*/
|
|
2225
|
+
display?: DetailNativeReferenceField.ReferenceDisplay | null;
|
|
2226
|
+
/**
|
|
2227
|
+
* Target name for a supported reference: Employee or a Custom Object API name
|
|
2228
|
+
* ending in \_\_c. Null for other fields and unsupported reference targets.
|
|
2229
|
+
*/
|
|
2230
|
+
reference_object?: string | null;
|
|
2231
|
+
}
|
|
2232
|
+
namespace DetailNativeReferenceField {
|
|
2233
|
+
/**
|
|
2234
|
+
* Optional presentation of a readable reference, independent of its identifier.
|
|
2235
|
+
*/
|
|
2236
|
+
interface ReferenceDisplay {
|
|
2237
|
+
/**
|
|
2238
|
+
* Permitted display label; never synthesized from the identifier.
|
|
2239
|
+
*/
|
|
2240
|
+
label: string;
|
|
2241
|
+
/**
|
|
2242
|
+
* Permitted image URL, or null when unavailable.
|
|
2243
|
+
*/
|
|
2244
|
+
image_url?: string | null;
|
|
2245
|
+
/**
|
|
2246
|
+
* Permitted secondary text, or null when unavailable.
|
|
2247
|
+
*/
|
|
2248
|
+
secondary_label?: string | null;
|
|
2249
|
+
}
|
|
2250
|
+
}
|
|
2251
|
+
/**
|
|
2252
|
+
* A discoverable field and its initial value and capabilities for the requested
|
|
2253
|
+
* flow.
|
|
2254
|
+
*/
|
|
2255
|
+
interface DetailPercentageField {
|
|
2256
|
+
/**
|
|
2257
|
+
* Field key used by layout placements and canonical record PATCH changes. Direct
|
|
2258
|
+
* keys come from the Custom Object field definition; dotted related keys are
|
|
2259
|
+
* read-only.
|
|
2260
|
+
*/
|
|
2261
|
+
api_name: string;
|
|
2262
|
+
/**
|
|
2263
|
+
* PERCENTAGE contains a decimal ratio, where 1 means 100%.
|
|
2264
|
+
*/
|
|
2265
|
+
data_type: 'PERCENTAGE';
|
|
2266
|
+
/**
|
|
2267
|
+
* Whether you can attempt to supply or change this field through the canonical
|
|
2268
|
+
* write API for the requested flow. This does not grant permission to browse
|
|
2269
|
+
* reference targets; submitted reference identifiers are validated when written.
|
|
2270
|
+
*/
|
|
2271
|
+
editable: boolean;
|
|
2272
|
+
/**
|
|
2273
|
+
* Field display name.
|
|
2274
|
+
*/
|
|
2275
|
+
label: string;
|
|
2276
|
+
/**
|
|
2277
|
+
* Whether this field accepts multiple selections. True for SELECT; false for RADIO
|
|
2278
|
+
* and scalar references.
|
|
2279
|
+
*/
|
|
2280
|
+
multiple: boolean;
|
|
2281
|
+
/**
|
|
2282
|
+
* Configured choice values; empty for non-choice fields.
|
|
2283
|
+
*/
|
|
2284
|
+
options: Array<string>;
|
|
2285
|
+
/**
|
|
2286
|
+
* Why the field is read-only, or null when editable. Precedence: PERMISSION_DENIED
|
|
2287
|
+
* (no field read or update access), RECORD_LOCKED (writes locked), IMMUTABLE
|
|
2288
|
+
* (cannot change), MANAGED_WRITE_RESTRICTED (application-managed or generated
|
|
2289
|
+
* value), DERIVED (calculated value), MASKED (restricted value),
|
|
2290
|
+
* REFERENCE_UNAVAILABLE (unavailable reference target), UNSUPPORTED (not accepted
|
|
2291
|
+
* by this requested flow).
|
|
2292
|
+
*/
|
|
2293
|
+
read_only_reason: 'PERMISSION_DENIED' | 'RECORD_LOCKED' | 'IMMUTABLE' | 'MANAGED_WRITE_RESTRICTED' | 'DERIVED' | 'MASKED' | 'REFERENCE_UNAVAILABLE' | 'UNSUPPORTED' | null;
|
|
2294
|
+
/**
|
|
2295
|
+
* Whether a nonempty value is required by the field schema.
|
|
2296
|
+
*/
|
|
2297
|
+
required: boolean;
|
|
2298
|
+
/**
|
|
2299
|
+
* JSON number containing a decimal ratio without a percent sign: 0, 0.3, 1 and 1.5
|
|
2300
|
+
* mean 0%, 30%, 100% and 150%. Null unless PRESENT.
|
|
2301
|
+
*/
|
|
2302
|
+
value: number | null;
|
|
2303
|
+
/**
|
|
2304
|
+
* State of the value supplied for this requested flow: PRESENT for a readable
|
|
2305
|
+
* nonempty value, including false and zero; EMPTY for null, an empty string, or an
|
|
2306
|
+
* empty array; MASKED when access to the field or a referenced value is
|
|
2307
|
+
* restricted; or UNSUPPORTED when the endpoint does not represent the value.
|
|
2308
|
+
* UNSUPPORTED does not determine edit permission.
|
|
2309
|
+
*/
|
|
2310
|
+
value_state: 'PRESENT' | 'EMPTY' | 'MASKED' | 'UNSUPPORTED';
|
|
2311
|
+
/**
|
|
2312
|
+
* Whether the field value supplied for this requested flow is readable. Create
|
|
2313
|
+
* responses describe only an authorized initial value and do not grant access to
|
|
2314
|
+
* any existing record. A referenced record may have separate access restrictions.
|
|
2315
|
+
*/
|
|
2316
|
+
viewable: boolean;
|
|
2317
|
+
/**
|
|
2318
|
+
* Configured decimal places, or null.
|
|
2319
|
+
*/
|
|
2320
|
+
num_of_decimal_places?: number | null;
|
|
2321
|
+
/**
|
|
2322
|
+
* Target name for a supported reference: Employee or a Custom Object API name
|
|
2323
|
+
* ending in \_\_c. Null for other fields and unsupported reference targets.
|
|
2324
|
+
*/
|
|
2325
|
+
reference_object?: string | null;
|
|
2326
|
+
}
|
|
2327
|
+
/**
|
|
2328
|
+
* A discoverable field and its initial value and capabilities for the requested
|
|
2329
|
+
* flow.
|
|
2330
|
+
*/
|
|
2331
|
+
interface DetailTimeField {
|
|
2332
|
+
/**
|
|
2333
|
+
* Field key used by layout placements and canonical record PATCH changes. Direct
|
|
2334
|
+
* keys come from the Custom Object field definition; dotted related keys are
|
|
2335
|
+
* read-only.
|
|
2336
|
+
*/
|
|
2337
|
+
api_name: string;
|
|
2338
|
+
/**
|
|
2339
|
+
* TIME contains a time of day.
|
|
2340
|
+
*/
|
|
2341
|
+
data_type: 'TIME';
|
|
2342
|
+
/**
|
|
2343
|
+
* Whether you can attempt to supply or change this field through the canonical
|
|
2344
|
+
* write API for the requested flow. This does not grant permission to browse
|
|
2345
|
+
* reference targets; submitted reference identifiers are validated when written.
|
|
2346
|
+
*/
|
|
2347
|
+
editable: boolean;
|
|
2348
|
+
/**
|
|
2349
|
+
* Field display name.
|
|
2350
|
+
*/
|
|
2351
|
+
label: string;
|
|
2352
|
+
/**
|
|
2353
|
+
* Whether this field accepts multiple selections. True for SELECT; false for RADIO
|
|
2354
|
+
* and scalar references.
|
|
2355
|
+
*/
|
|
2356
|
+
multiple: boolean;
|
|
2357
|
+
/**
|
|
2358
|
+
* Configured choice values; empty for non-choice fields.
|
|
2359
|
+
*/
|
|
2360
|
+
options: Array<string>;
|
|
2361
|
+
/**
|
|
2362
|
+
* Why the field is read-only, or null when editable. Precedence: PERMISSION_DENIED
|
|
2363
|
+
* (no field read or update access), RECORD_LOCKED (writes locked), IMMUTABLE
|
|
2364
|
+
* (cannot change), MANAGED_WRITE_RESTRICTED (application-managed or generated
|
|
2365
|
+
* value), DERIVED (calculated value), MASKED (restricted value),
|
|
2366
|
+
* REFERENCE_UNAVAILABLE (unavailable reference target), UNSUPPORTED (not accepted
|
|
2367
|
+
* by this requested flow).
|
|
2368
|
+
*/
|
|
2369
|
+
read_only_reason: 'PERMISSION_DENIED' | 'RECORD_LOCKED' | 'IMMUTABLE' | 'MANAGED_WRITE_RESTRICTED' | 'DERIVED' | 'MASKED' | 'REFERENCE_UNAVAILABLE' | 'UNSUPPORTED' | null;
|
|
2370
|
+
/**
|
|
2371
|
+
* Whether a nonempty value is required by the field schema.
|
|
2372
|
+
*/
|
|
2373
|
+
required: boolean;
|
|
2374
|
+
/**
|
|
2375
|
+
* Time of day in HH:MM:SS format; null unless PRESENT.
|
|
2376
|
+
*/
|
|
2377
|
+
value: string | null;
|
|
2378
|
+
/**
|
|
2379
|
+
* State of the value supplied for this requested flow: PRESENT for a readable
|
|
2380
|
+
* nonempty value, including false and zero; EMPTY for null, an empty string, or an
|
|
2381
|
+
* empty array; MASKED when access to the field or a referenced value is
|
|
2382
|
+
* restricted; or UNSUPPORTED when the endpoint does not represent the value.
|
|
2383
|
+
* UNSUPPORTED does not determine edit permission.
|
|
2384
|
+
*/
|
|
2385
|
+
value_state: 'PRESENT' | 'EMPTY' | 'MASKED' | 'UNSUPPORTED';
|
|
2386
|
+
/**
|
|
2387
|
+
* Whether the field value supplied for this requested flow is readable. Create
|
|
2388
|
+
* responses describe only an authorized initial value and do not grant access to
|
|
2389
|
+
* any existing record. A referenced record may have separate access restrictions.
|
|
2390
|
+
*/
|
|
2391
|
+
viewable: boolean;
|
|
2392
|
+
/**
|
|
2393
|
+
* Target name for a supported reference: Employee or a Custom Object API name
|
|
2394
|
+
* ending in \_\_c. Null for other fields and unsupported reference targets.
|
|
2395
|
+
*/
|
|
2396
|
+
reference_object?: string | null;
|
|
2397
|
+
}
|
|
2398
|
+
/**
|
|
2399
|
+
* A discoverable field and its initial value and capabilities for the requested
|
|
2400
|
+
* flow.
|
|
2401
|
+
*/
|
|
2402
|
+
interface DetailUnsupportedField {
|
|
2403
|
+
/**
|
|
2404
|
+
* Field key used by layout placements and canonical record PATCH changes. Direct
|
|
2405
|
+
* keys come from the Custom Object field definition; dotted related keys are
|
|
2406
|
+
* read-only.
|
|
2407
|
+
*/
|
|
2408
|
+
api_name: string;
|
|
2409
|
+
/**
|
|
2410
|
+
* Field types whose values this endpoint does not currently represent. Edit
|
|
2411
|
+
* permission is evaluated independently of value representation.
|
|
2412
|
+
*/
|
|
2413
|
+
data_type: 'ADDRESS' | 'REFERENCE_ID' | 'COORDINATE' | 'TIMESTAMPED_CURRENCY' | 'JSONB' | 'FILE';
|
|
2414
|
+
/**
|
|
2415
|
+
* Whether you can attempt to supply or change this field through the canonical
|
|
2416
|
+
* write API for the requested flow. This does not grant permission to browse
|
|
2417
|
+
* reference targets; submitted reference identifiers are validated when written.
|
|
2418
|
+
*/
|
|
2419
|
+
editable: boolean;
|
|
2420
|
+
/**
|
|
2421
|
+
* Field display name.
|
|
2422
|
+
*/
|
|
2423
|
+
label: string;
|
|
2424
|
+
/**
|
|
2425
|
+
* Whether this field accepts multiple selections. True for SELECT; false for RADIO
|
|
2426
|
+
* and scalar references.
|
|
2427
|
+
*/
|
|
2428
|
+
multiple: boolean;
|
|
2429
|
+
/**
|
|
2430
|
+
* Configured choice values; empty for non-choice fields.
|
|
2431
|
+
*/
|
|
2432
|
+
options: Array<string>;
|
|
2433
|
+
/**
|
|
2434
|
+
* Why the field is read-only, or null when editable. Precedence: PERMISSION_DENIED
|
|
2435
|
+
* (no field read or update access), RECORD_LOCKED (writes locked), IMMUTABLE
|
|
2436
|
+
* (cannot change), MANAGED_WRITE_RESTRICTED (application-managed or generated
|
|
2437
|
+
* value), DERIVED (calculated value), MASKED (restricted value),
|
|
2438
|
+
* REFERENCE_UNAVAILABLE (unavailable reference target), UNSUPPORTED (not accepted
|
|
2439
|
+
* by this requested flow).
|
|
2440
|
+
*/
|
|
2441
|
+
read_only_reason: 'PERMISSION_DENIED' | 'RECORD_LOCKED' | 'IMMUTABLE' | 'MANAGED_WRITE_RESTRICTED' | 'DERIVED' | 'MASKED' | 'REFERENCE_UNAVAILABLE' | 'UNSUPPORTED' | null;
|
|
2442
|
+
/**
|
|
2443
|
+
* Whether a nonempty value is required by the field schema.
|
|
2444
|
+
*/
|
|
2445
|
+
required: boolean;
|
|
2446
|
+
/**
|
|
2447
|
+
* Always null. UNSUPPORTED withholds the value representation; MASKED takes
|
|
2448
|
+
* precedence for a restricted value. Neither state grants write permission.
|
|
2449
|
+
*/
|
|
2450
|
+
value: null;
|
|
2451
|
+
/**
|
|
2452
|
+
* State of the value supplied for this requested flow: PRESENT for a readable
|
|
2453
|
+
* nonempty value, including false and zero; EMPTY for null, an empty string, or an
|
|
2454
|
+
* empty array; MASKED when access to the field or a referenced value is
|
|
2455
|
+
* restricted; or UNSUPPORTED when the endpoint does not represent the value.
|
|
2456
|
+
* UNSUPPORTED does not determine edit permission.
|
|
2457
|
+
*/
|
|
2458
|
+
value_state: 'PRESENT' | 'EMPTY' | 'MASKED' | 'UNSUPPORTED';
|
|
2459
|
+
/**
|
|
2460
|
+
* Whether the field value supplied for this requested flow is readable. Create
|
|
2461
|
+
* responses describe only an authorized initial value and do not grant access to
|
|
2462
|
+
* any existing record. A referenced record may have separate access restrictions.
|
|
2463
|
+
*/
|
|
2464
|
+
viewable: boolean;
|
|
2465
|
+
/**
|
|
2466
|
+
* Target name for a supported reference: Employee or a Custom Object API name
|
|
2467
|
+
* ending in \_\_c. Null for other fields and unsupported reference targets.
|
|
2468
|
+
*/
|
|
2469
|
+
reference_object?: string | null;
|
|
2470
|
+
}
|
|
2471
|
+
/**
|
|
2472
|
+
* Effective create layout after visibility and permission filtering.
|
|
2473
|
+
*/
|
|
2474
|
+
interface Layout {
|
|
2475
|
+
/**
|
|
2476
|
+
* Resolved saved layout API name.
|
|
2477
|
+
*/
|
|
2478
|
+
api_name: string;
|
|
2479
|
+
/**
|
|
2480
|
+
* Semantic record header.
|
|
2481
|
+
*/
|
|
2482
|
+
header: Layout.Header;
|
|
2483
|
+
/**
|
|
2484
|
+
* Ordered, visible tabs.
|
|
2485
|
+
*/
|
|
2486
|
+
tabs: Array<Layout.Tab>;
|
|
2487
|
+
}
|
|
2488
|
+
namespace Layout {
|
|
2489
|
+
/**
|
|
2490
|
+
* Semantic record header.
|
|
2491
|
+
*/
|
|
2492
|
+
interface Header {
|
|
2493
|
+
/**
|
|
2494
|
+
* Ordered summary field API names.
|
|
2495
|
+
*/
|
|
2496
|
+
fields: Array<string>;
|
|
2497
|
+
/**
|
|
2498
|
+
* Description field API name, or null when unavailable.
|
|
2499
|
+
*/
|
|
2500
|
+
description_field?: string | null;
|
|
2501
|
+
/**
|
|
2502
|
+
* Title field API name, or null when unavailable.
|
|
2503
|
+
*/
|
|
2504
|
+
title_field?: string | null;
|
|
2505
|
+
}
|
|
2506
|
+
/**
|
|
2507
|
+
* Ordered, visible tab of sections in the effective record page layout.
|
|
2508
|
+
*/
|
|
2509
|
+
interface Tab {
|
|
2510
|
+
/**
|
|
2511
|
+
* Stable tab identifier.
|
|
2512
|
+
*/
|
|
2513
|
+
id: string;
|
|
2514
|
+
/**
|
|
2515
|
+
* Tab display name.
|
|
2516
|
+
*/
|
|
2517
|
+
label: string;
|
|
2518
|
+
/**
|
|
2519
|
+
* Ordered, visible sections.
|
|
2520
|
+
*/
|
|
2521
|
+
sections: Array<Tab.Section>;
|
|
2522
|
+
}
|
|
2523
|
+
namespace Tab {
|
|
2524
|
+
/**
|
|
2525
|
+
* Visible group of field placements, a deferred related list, or explicitly
|
|
2526
|
+
* unsupported content.
|
|
2527
|
+
*/
|
|
2528
|
+
interface Section {
|
|
2529
|
+
/**
|
|
2530
|
+
* Section identifier scoped to the effective layout.
|
|
2531
|
+
*/
|
|
2532
|
+
id: string;
|
|
2533
|
+
/**
|
|
2534
|
+
* Suggested field columns; clients may adapt to available space.
|
|
2535
|
+
*/
|
|
2536
|
+
columns: number;
|
|
2537
|
+
/**
|
|
2538
|
+
* Ordered placements for a FIELDS section. Empty for RELATED_LIST and UNSUPPORTED
|
|
2539
|
+
* sections.
|
|
2540
|
+
*/
|
|
2541
|
+
fields: Array<Section.Field>;
|
|
2542
|
+
/**
|
|
2543
|
+
* Section display name.
|
|
2544
|
+
*/
|
|
2545
|
+
label: string;
|
|
2546
|
+
/**
|
|
2547
|
+
* FIELDS contains ordered field placements; RELATED_LIST describes a deferred
|
|
2548
|
+
* related-record grid without embedding its rows; UNSUPPORTED identifies visible
|
|
2549
|
+
* content this API cannot render.
|
|
2550
|
+
*/
|
|
2551
|
+
type: 'FIELDS' | 'RELATED_LIST' | 'UNSUPPORTED';
|
|
2552
|
+
/**
|
|
2553
|
+
* Ordered readable columns configured for a RELATED_LIST; empty for other
|
|
2554
|
+
* sections.
|
|
2555
|
+
*/
|
|
2556
|
+
column_field_api_names?: Array<string>;
|
|
2557
|
+
/**
|
|
2558
|
+
* Related Custom Object API name; null for other sections.
|
|
2559
|
+
*/
|
|
2560
|
+
object_api_name?: string | null;
|
|
2561
|
+
/**
|
|
2562
|
+
* CONTENT_NOT_SUPPORTED means this section requires a renderer outside this API;
|
|
2563
|
+
* RELATED_OBJECT_NOT_SUPPORTED means the related list targets a native object,
|
|
2564
|
+
* which this release cannot render. Null for supported field and Custom Object
|
|
2565
|
+
* related-list sections.
|
|
2566
|
+
*/
|
|
2567
|
+
reason?: 'CONTENT_NOT_SUPPORTED' | 'RELATED_OBJECT_NOT_SUPPORTED' | null;
|
|
2568
|
+
/**
|
|
2569
|
+
* Field on the related Custom Object that points to this record; null for other
|
|
2570
|
+
* sections.
|
|
2571
|
+
*/
|
|
2572
|
+
relationship_field_api_name?: string | null;
|
|
2573
|
+
}
|
|
2574
|
+
namespace Section {
|
|
2575
|
+
/**
|
|
2576
|
+
* Placement of a discoverable field in a saved layout; contains no field value.
|
|
2577
|
+
*/
|
|
2578
|
+
interface Field {
|
|
2579
|
+
/**
|
|
2580
|
+
* Field API name in the response fields map.
|
|
2581
|
+
*/
|
|
2582
|
+
field: string;
|
|
2583
|
+
/**
|
|
2584
|
+
* Whether this placement is read-only.
|
|
2585
|
+
*/
|
|
2586
|
+
read_only: boolean;
|
|
2587
|
+
}
|
|
2588
|
+
}
|
|
2589
|
+
}
|
|
2590
|
+
}
|
|
2591
|
+
}
|
|
2592
|
+
export interface RecordDetailRetrieveParams {
|
|
2593
|
+
/**
|
|
2594
|
+
* Custom Object API name, such as equipment\_\_c. Obtain it from the Custom Object
|
|
2595
|
+
* definition or the grid's configured object.
|
|
2596
|
+
*/
|
|
2597
|
+
object_api_name: string;
|
|
2598
|
+
/**
|
|
2599
|
+
* Select the saved Custom Object page layout by API name. Omit to use default.
|
|
2600
|
+
* Keep the resolved layout.api_name from the detail response when loading related
|
|
2601
|
+
* sections.
|
|
2602
|
+
*/
|
|
2603
|
+
layout_api_name?: string;
|
|
2604
|
+
}
|
|
2605
|
+
export interface RecordDetailRetrieveCreateParams {
|
|
2606
|
+
/**
|
|
2607
|
+
* Custom Object API name, such as equipment\_\_c. Obtain it from the Custom Object
|
|
2608
|
+
* definition or the grid's configured object.
|
|
2609
|
+
*/
|
|
2610
|
+
object_api_name: string;
|
|
2611
|
+
/**
|
|
2612
|
+
* Select the saved Custom Object page layout by API name. Omit to use default.
|
|
2613
|
+
* Keep the resolved layout.api_name from the detail response when loading related
|
|
2614
|
+
* sections.
|
|
2615
|
+
*/
|
|
2616
|
+
layout_api_name?: string;
|
|
2617
|
+
}
|
|
2618
|
+
export declare namespace RecordDetails {
|
|
2619
|
+
export { type RecordDetailRetrieveResponse as RecordDetailRetrieveResponse, type RecordDetailRetrieveCreateResponse as RecordDetailRetrieveCreateResponse, type RecordDetailRetrieveParams as RecordDetailRetrieveParams, type RecordDetailRetrieveCreateParams as RecordDetailRetrieveCreateParams, };
|
|
2620
|
+
}
|
|
2621
|
+
//# sourceMappingURL=record-details.d.ts.map
|