@rippling/rippling-sdk 0.2.0-alpha.109 → 0.2.0-alpha.111
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/client.d.mts +69 -7
- package/client.d.mts.map +1 -1
- package/client.d.ts +69 -7
- package/client.d.ts.map +1 -1
- package/client.js +69 -3
- package/client.js.map +1 -1
- package/client.mjs +69 -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/index.d.mts +5 -0
- package/index.d.mts.map +1 -1
- package/index.d.ts +5 -0
- package/index.d.ts.map +1 -1
- package/index.js +11 -1
- package/index.js.map +1 -1
- package/index.mjs +5 -0
- package/index.mjs.map +1 -1
- 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/composition.d.mts +21 -0
- package/lib/manifest/composition.d.mts.map +1 -0
- package/lib/manifest/composition.d.ts +21 -0
- package/lib/manifest/composition.d.ts.map +1 -0
- package/lib/manifest/composition.js +103 -0
- package/lib/manifest/composition.js.map +1 -0
- package/lib/manifest/composition.mjs +99 -0
- package/lib/manifest/composition.mjs.map +1 -0
- package/lib/manifest/definitions/_object-records.d.mts +23 -0
- package/lib/manifest/definitions/_object-records.d.mts.map +1 -0
- package/lib/manifest/definitions/_object-records.d.ts +23 -0
- package/lib/manifest/definitions/_object-records.d.ts.map +1 -0
- package/lib/manifest/definitions/_object-records.js +153 -0
- package/lib/manifest/definitions/_object-records.js.map +1 -0
- package/lib/manifest/definitions/_object-records.mjs +149 -0
- package/lib/manifest/definitions/_object-records.mjs.map +1 -0
- package/lib/manifest/definitions/action.d.mts +7 -0
- package/lib/manifest/definitions/action.d.mts.map +1 -0
- package/lib/manifest/definitions/action.d.ts +7 -0
- package/lib/manifest/definitions/action.d.ts.map +1 -0
- package/lib/manifest/definitions/action.js +25 -0
- package/lib/manifest/definitions/action.js.map +1 -0
- package/lib/manifest/definitions/action.mjs +22 -0
- package/lib/manifest/definitions/action.mjs.map +1 -0
- package/lib/manifest/definitions/agent.d.mts +51 -0
- package/lib/manifest/definitions/agent.d.mts.map +1 -0
- package/lib/manifest/definitions/agent.d.ts +51 -0
- package/lib/manifest/definitions/agent.d.ts.map +1 -0
- package/lib/manifest/definitions/agent.js +65 -0
- package/lib/manifest/definitions/agent.js.map +1 -0
- package/lib/manifest/definitions/agent.mjs +59 -0
- package/lib/manifest/definitions/agent.mjs.map +1 -0
- package/lib/manifest/definitions/app.d.mts +3 -0
- package/lib/manifest/definitions/app.d.mts.map +1 -0
- package/lib/manifest/definitions/app.d.ts +3 -0
- package/lib/manifest/definitions/app.d.ts.map +1 -0
- package/lib/manifest/definitions/app.js +14 -0
- package/lib/manifest/definitions/app.js.map +1 -0
- package/lib/manifest/definitions/app.mjs +11 -0
- package/lib/manifest/definitions/app.mjs.map +1 -0
- package/lib/manifest/definitions/category.d.mts +9 -0
- package/lib/manifest/definitions/category.d.mts.map +1 -0
- package/lib/manifest/definitions/category.d.ts +9 -0
- package/lib/manifest/definitions/category.d.ts.map +1 -0
- package/lib/manifest/definitions/category.js +27 -0
- package/lib/manifest/definitions/category.js.map +1 -0
- package/lib/manifest/definitions/category.mjs +23 -0
- package/lib/manifest/definitions/category.mjs.map +1 -0
- package/lib/manifest/definitions/component.d.mts +101 -0
- package/lib/manifest/definitions/component.d.mts.map +1 -0
- package/lib/manifest/definitions/component.d.ts +101 -0
- package/lib/manifest/definitions/component.d.ts.map +1 -0
- package/lib/manifest/definitions/component.js +106 -0
- package/lib/manifest/definitions/component.js.map +1 -0
- package/lib/manifest/definitions/component.mjs +97 -0
- package/lib/manifest/definitions/component.mjs.map +1 -0
- package/lib/manifest/definitions/custom-field-section.d.mts +13 -0
- package/lib/manifest/definitions/custom-field-section.d.mts.map +1 -0
- package/lib/manifest/definitions/custom-field-section.d.ts +13 -0
- package/lib/manifest/definitions/custom-field-section.d.ts.map +1 -0
- package/lib/manifest/definitions/custom-field-section.js +15 -0
- package/lib/manifest/definitions/custom-field-section.js.map +1 -0
- package/lib/manifest/definitions/custom-field-section.mjs +12 -0
- package/lib/manifest/definitions/custom-field-section.mjs.map +1 -0
- package/lib/manifest/definitions/custom-field.d.mts +10 -0
- package/lib/manifest/definitions/custom-field.d.mts.map +1 -0
- package/lib/manifest/definitions/custom-field.d.ts +10 -0
- package/lib/manifest/definitions/custom-field.d.ts.map +1 -0
- package/lib/manifest/definitions/custom-field.js +18 -0
- package/lib/manifest/definitions/custom-field.js.map +1 -0
- package/lib/manifest/definitions/custom-field.mjs +15 -0
- package/lib/manifest/definitions/custom-field.mjs.map +1 -0
- package/lib/manifest/definitions/custom-object.d.mts +162 -0
- package/lib/manifest/definitions/custom-object.d.mts.map +1 -0
- package/lib/manifest/definitions/custom-object.d.ts +162 -0
- package/lib/manifest/definitions/custom-object.d.ts.map +1 -0
- package/lib/manifest/definitions/custom-object.js +412 -0
- package/lib/manifest/definitions/custom-object.js.map +1 -0
- package/lib/manifest/definitions/custom-object.mjs +386 -0
- package/lib/manifest/definitions/custom-object.mjs.map +1 -0
- package/lib/manifest/definitions/custom-skill.d.mts +8 -0
- package/lib/manifest/definitions/custom-skill.d.mts.map +1 -0
- package/lib/manifest/definitions/custom-skill.d.ts +8 -0
- package/lib/manifest/definitions/custom-skill.d.ts.map +1 -0
- package/lib/manifest/definitions/custom-skill.js +15 -0
- package/lib/manifest/definitions/custom-skill.js.map +1 -0
- package/lib/manifest/definitions/custom-skill.mjs +12 -0
- package/lib/manifest/definitions/custom-skill.mjs.map +1 -0
- package/lib/manifest/definitions/field-section.d.mts +7 -0
- package/lib/manifest/definitions/field-section.d.mts.map +1 -0
- package/lib/manifest/definitions/field-section.d.ts +7 -0
- package/lib/manifest/definitions/field-section.d.ts.map +1 -0
- package/lib/manifest/definitions/field-section.js +16 -0
- package/lib/manifest/definitions/field-section.js.map +1 -0
- package/lib/manifest/definitions/field-section.mjs +13 -0
- package/lib/manifest/definitions/field-section.mjs.map +1 -0
- package/lib/manifest/definitions/field.d.mts +38 -0
- package/lib/manifest/definitions/field.d.mts.map +1 -0
- package/lib/manifest/definitions/field.d.ts +38 -0
- package/lib/manifest/definitions/field.d.ts.map +1 -0
- package/lib/manifest/definitions/field.js +50 -0
- package/lib/manifest/definitions/field.js.map +1 -0
- package/lib/manifest/definitions/field.mjs +45 -0
- package/lib/manifest/definitions/field.mjs.map +1 -0
- package/lib/manifest/definitions/function.d.mts +61 -0
- package/lib/manifest/definitions/function.d.mts.map +1 -0
- package/lib/manifest/definitions/function.d.ts +61 -0
- package/lib/manifest/definitions/function.d.ts.map +1 -0
- package/lib/manifest/definitions/function.js +79 -0
- package/lib/manifest/definitions/function.js.map +1 -0
- package/lib/manifest/definitions/function.mjs +73 -0
- package/lib/manifest/definitions/function.mjs.map +1 -0
- package/lib/manifest/definitions/index.d.mts +22 -0
- package/lib/manifest/definitions/index.d.mts.map +1 -0
- package/lib/manifest/definitions/index.d.ts +22 -0
- package/lib/manifest/definitions/index.d.ts.map +1 -0
- package/lib/manifest/definitions/index.js +64 -0
- package/lib/manifest/definitions/index.js.map +1 -0
- package/lib/manifest/definitions/index.mjs +22 -0
- package/lib/manifest/definitions/index.mjs.map +1 -0
- package/lib/manifest/definitions/list-view.d.mts +9 -0
- package/lib/manifest/definitions/list-view.d.mts.map +1 -0
- package/lib/manifest/definitions/list-view.d.ts +9 -0
- package/lib/manifest/definitions/list-view.d.ts.map +1 -0
- package/lib/manifest/definitions/list-view.js +25 -0
- package/lib/manifest/definitions/list-view.js.map +1 -0
- package/lib/manifest/definitions/list-view.mjs +22 -0
- package/lib/manifest/definitions/list-view.mjs.map +1 -0
- package/lib/manifest/definitions/object-search-config.d.mts +13 -0
- package/lib/manifest/definitions/object-search-config.d.mts.map +1 -0
- package/lib/manifest/definitions/object-search-config.d.ts +13 -0
- package/lib/manifest/definitions/object-search-config.d.ts.map +1 -0
- package/lib/manifest/definitions/object-search-config.js +25 -0
- package/lib/manifest/definitions/object-search-config.js.map +1 -0
- package/lib/manifest/definitions/object-search-config.mjs +22 -0
- package/lib/manifest/definitions/object-search-config.mjs.map +1 -0
- package/lib/manifest/definitions/object-settings.d.mts +24 -0
- package/lib/manifest/definitions/object-settings.d.mts.map +1 -0
- package/lib/manifest/definitions/object-settings.d.ts +24 -0
- package/lib/manifest/definitions/object-settings.d.ts.map +1 -0
- package/lib/manifest/definitions/object-settings.js +32 -0
- package/lib/manifest/definitions/object-settings.js.map +1 -0
- package/lib/manifest/definitions/object-settings.mjs +29 -0
- package/lib/manifest/definitions/object-settings.mjs.map +1 -0
- package/lib/manifest/definitions/page-layout.d.mts +21 -0
- package/lib/manifest/definitions/page-layout.d.mts.map +1 -0
- package/lib/manifest/definitions/page-layout.d.ts +21 -0
- package/lib/manifest/definitions/page-layout.d.ts.map +1 -0
- package/lib/manifest/definitions/page-layout.js +155 -0
- package/lib/manifest/definitions/page-layout.js.map +1 -0
- package/lib/manifest/definitions/page-layout.mjs +152 -0
- package/lib/manifest/definitions/page-layout.mjs.map +1 -0
- package/lib/manifest/definitions/page.d.mts +8 -0
- package/lib/manifest/definitions/page.d.mts.map +1 -0
- package/lib/manifest/definitions/page.d.ts +8 -0
- package/lib/manifest/definitions/page.d.ts.map +1 -0
- package/lib/manifest/definitions/page.js +15 -0
- package/lib/manifest/definitions/page.js.map +1 -0
- package/lib/manifest/definitions/page.mjs +12 -0
- package/lib/manifest/definitions/page.mjs.map +1 -0
- package/lib/manifest/definitions/record-triggered-flow.d.mts +24 -0
- package/lib/manifest/definitions/record-triggered-flow.d.mts.map +1 -0
- package/lib/manifest/definitions/record-triggered-flow.d.ts +24 -0
- package/lib/manifest/definitions/record-triggered-flow.d.ts.map +1 -0
- package/lib/manifest/definitions/record-triggered-flow.js +28 -0
- package/lib/manifest/definitions/record-triggered-flow.js.map +1 -0
- package/lib/manifest/definitions/record-triggered-flow.mjs +25 -0
- package/lib/manifest/definitions/record-triggered-flow.mjs.map +1 -0
- package/lib/manifest/definitions/validation.d.mts +8 -0
- package/lib/manifest/definitions/validation.d.mts.map +1 -0
- package/lib/manifest/definitions/validation.d.ts +8 -0
- package/lib/manifest/definitions/validation.d.ts.map +1 -0
- package/lib/manifest/definitions/validation.js +24 -0
- package/lib/manifest/definitions/validation.js.map +1 -0
- package/lib/manifest/definitions/validation.mjs +21 -0
- package/lib/manifest/definitions/validation.mjs.map +1 -0
- package/lib/manifest/definitions/workflow.d.mts +10 -0
- package/lib/manifest/definitions/workflow.d.mts.map +1 -0
- package/lib/manifest/definitions/workflow.d.ts +10 -0
- package/lib/manifest/definitions/workflow.d.ts.map +1 -0
- package/lib/manifest/definitions/workflow.js +33 -0
- package/lib/manifest/definitions/workflow.js.map +1 -0
- package/lib/manifest/definitions/workflow.mjs +29 -0
- package/lib/manifest/definitions/workflow.mjs.map +1 -0
- package/lib/manifest/index.d.mts +3 -0
- package/lib/manifest/index.d.mts.map +1 -1
- package/lib/manifest/index.d.ts +3 -0
- package/lib/manifest/index.d.ts.map +1 -1
- package/lib/manifest/index.js +4 -0
- package/lib/manifest/index.js.map +1 -1
- package/lib/manifest/index.mjs +3 -0
- package/lib/manifest/index.mjs.map +1 -1
- package/lib/manifest/package-manifest.d.mts +17 -0
- package/lib/manifest/package-manifest.d.mts.map +1 -0
- package/lib/manifest/package-manifest.d.ts +17 -0
- package/lib/manifest/package-manifest.d.ts.map +1 -0
- package/lib/manifest/package-manifest.js +26 -0
- package/lib/manifest/package-manifest.js.map +1 -0
- package/lib/manifest/package-manifest.mjs +23 -0
- package/lib/manifest/package-manifest.mjs.map +1 -0
- package/package.json +1 -1
- package/resources/activity-log.d.mts +1 -1
- package/resources/activity-log.d.ts +1 -1
- package/resources/activity-log.js +1 -1
- package/resources/activity-log.mjs +1 -1
- package/resources/agents/sessions/messages.d.mts +10 -1
- package/resources/agents/sessions/messages.d.mts.map +1 -1
- package/resources/agents/sessions/messages.d.ts +10 -1
- package/resources/agents/sessions/messages.d.ts.map +1 -1
- package/resources/agents/sessions/sessions.d.mts +30 -3
- package/resources/agents/sessions/sessions.d.mts.map +1 -1
- package/resources/agents/sessions/sessions.d.ts +30 -3
- package/resources/agents/sessions/sessions.d.ts.map +1 -1
- package/resources/agents/sessions/sessions.js.map +1 -1
- package/resources/agents/sessions/sessions.mjs.map +1 -1
- package/resources/bills.d.mts +1343 -0
- package/resources/bills.d.mts.map +1 -0
- package/resources/bills.d.ts +1343 -0
- package/resources/bills.d.ts.map +1 -0
- package/resources/bills.js +214 -0
- package/resources/bills.js.map +1 -0
- package/resources/bills.mjs +210 -0
- package/resources/bills.mjs.map +1 -0
- package/resources/card-transactions.d.mts +607 -49
- package/resources/card-transactions.d.mts.map +1 -1
- package/resources/card-transactions.d.ts +607 -49
- package/resources/card-transactions.d.ts.map +1 -1
- package/resources/card-transactions.js +73 -12
- package/resources/card-transactions.js.map +1 -1
- package/resources/card-transactions.mjs +73 -12
- package/resources/card-transactions.mjs.map +1 -1
- package/resources/custom-objects/custom-objects.d.mts +39 -3
- package/resources/custom-objects/custom-objects.d.mts.map +1 -1
- package/resources/custom-objects/custom-objects.d.ts +39 -3
- package/resources/custom-objects/custom-objects.d.ts.map +1 -1
- package/resources/custom-objects/custom-objects.js +38 -2
- package/resources/custom-objects/custom-objects.js.map +1 -1
- package/resources/custom-objects/custom-objects.mjs +38 -2
- package/resources/custom-objects/custom-objects.mjs.map +1 -1
- package/resources/custom-objects/fields.d.mts +44 -0
- package/resources/custom-objects/fields.d.mts.map +1 -1
- package/resources/custom-objects/fields.d.ts +44 -0
- package/resources/custom-objects/fields.d.ts.map +1 -1
- package/resources/custom-objects/fields.js +44 -0
- package/resources/custom-objects/fields.js.map +1 -1
- package/resources/custom-objects/fields.mjs +44 -0
- package/resources/custom-objects/fields.mjs.map +1 -1
- package/resources/custom-objects/index.d.mts +2 -1
- package/resources/custom-objects/index.d.mts.map +1 -1
- package/resources/custom-objects/index.d.ts +2 -1
- package/resources/custom-objects/index.d.ts.map +1 -1
- package/resources/custom-objects/index.js +5 -3
- package/resources/custom-objects/index.js.map +1 -1
- package/resources/custom-objects/index.mjs +2 -1
- package/resources/custom-objects/index.mjs.map +1 -1
- package/resources/custom-objects/list-views/capabilities.d.mts +63 -0
- package/resources/custom-objects/list-views/capabilities.d.mts.map +1 -0
- package/resources/custom-objects/list-views/capabilities.d.ts +63 -0
- package/resources/custom-objects/list-views/capabilities.d.ts.map +1 -0
- package/resources/custom-objects/list-views/capabilities.js +48 -0
- package/resources/custom-objects/list-views/capabilities.js.map +1 -0
- package/resources/custom-objects/list-views/capabilities.mjs +44 -0
- package/resources/custom-objects/list-views/capabilities.mjs.map +1 -0
- package/resources/custom-objects/list-views/default.d.mts +69 -0
- package/resources/custom-objects/list-views/default.d.mts.map +1 -0
- package/resources/custom-objects/list-views/default.d.ts +69 -0
- package/resources/custom-objects/list-views/default.d.ts.map +1 -0
- package/resources/custom-objects/list-views/default.js +59 -0
- package/resources/custom-objects/list-views/default.js.map +1 -0
- package/resources/custom-objects/list-views/default.mjs +55 -0
- package/resources/custom-objects/list-views/default.mjs.map +1 -0
- package/resources/custom-objects/list-views/index.d.mts +4 -0
- package/resources/custom-objects/list-views/index.d.mts.map +1 -0
- package/resources/custom-objects/list-views/index.d.ts +4 -0
- package/resources/custom-objects/list-views/index.d.ts.map +1 -0
- package/resources/custom-objects/list-views/index.js +11 -0
- package/resources/custom-objects/list-views/index.js.map +1 -0
- package/resources/custom-objects/list-views/index.mjs +5 -0
- package/resources/custom-objects/list-views/index.mjs.map +1 -0
- package/resources/custom-objects/list-views/list-views.d.mts +806 -0
- package/resources/custom-objects/list-views/list-views.d.mts.map +1 -0
- package/resources/custom-objects/list-views/list-views.d.ts +806 -0
- package/resources/custom-objects/list-views/list-views.d.ts.map +1 -0
- package/resources/custom-objects/list-views/list-views.js +314 -0
- package/resources/custom-objects/list-views/list-views.js.map +1 -0
- package/resources/custom-objects/list-views/list-views.mjs +309 -0
- package/resources/custom-objects/list-views/list-views.mjs.map +1 -0
- package/resources/custom-objects/list-views.d.mts +2 -0
- package/resources/custom-objects/list-views.d.mts.map +1 -0
- package/resources/custom-objects/list-views.d.ts +2 -0
- package/resources/custom-objects/list-views.d.ts.map +1 -0
- package/resources/custom-objects/list-views.js +6 -0
- package/resources/custom-objects/list-views.js.map +1 -0
- package/resources/custom-objects/list-views.mjs +3 -0
- package/resources/custom-objects/list-views.mjs.map +1 -0
- package/resources/custom-objects/records/capabilities.d.mts +61 -0
- package/resources/custom-objects/records/capabilities.d.mts.map +1 -0
- package/resources/custom-objects/records/capabilities.d.ts +61 -0
- package/resources/custom-objects/records/capabilities.d.ts.map +1 -0
- package/resources/custom-objects/records/capabilities.js +47 -0
- package/resources/custom-objects/records/capabilities.js.map +1 -0
- package/resources/custom-objects/records/capabilities.mjs +43 -0
- package/resources/custom-objects/records/capabilities.mjs.map +1 -0
- package/resources/custom-objects/records/index.d.mts +3 -0
- package/resources/custom-objects/records/index.d.mts.map +1 -0
- package/resources/custom-objects/records/index.d.ts +3 -0
- package/resources/custom-objects/records/index.d.ts.map +1 -0
- package/resources/custom-objects/records/index.js +9 -0
- package/resources/custom-objects/records/index.js.map +1 -0
- package/resources/custom-objects/records/index.mjs +4 -0
- package/resources/custom-objects/records/index.mjs.map +1 -0
- package/resources/custom-objects/records/records.d.mts +787 -0
- package/resources/custom-objects/records/records.d.mts.map +1 -0
- package/resources/custom-objects/records/records.d.ts +787 -0
- package/resources/custom-objects/records/records.d.ts.map +1 -0
- package/resources/custom-objects/records/records.js +543 -0
- package/resources/custom-objects/records/records.js.map +1 -0
- package/resources/custom-objects/records/records.mjs +538 -0
- package/resources/custom-objects/records/records.mjs.map +1 -0
- package/resources/custom-objects/records.d.mts +1 -561
- package/resources/custom-objects/records.d.mts.map +1 -1
- package/resources/custom-objects/records.d.ts +1 -561
- package/resources/custom-objects/records.d.ts.map +1 -1
- package/resources/custom-objects/records.js +2 -444
- package/resources/custom-objects/records.js.map +1 -1
- package/resources/custom-objects/records.mjs +1 -442
- package/resources/custom-objects/records.mjs.map +1 -1
- package/resources/devices.d.mts +2 -2
- package/resources/devices.d.mts.map +1 -1
- package/resources/devices.d.ts +2 -2
- package/resources/devices.d.ts.map +1 -1
- package/resources/draft-transitions.d.mts +241 -307
- package/resources/draft-transitions.d.mts.map +1 -1
- package/resources/draft-transitions.d.ts +241 -307
- package/resources/draft-transitions.d.ts.map +1 -1
- package/resources/draft-transitions.js +49 -23
- package/resources/draft-transitions.js.map +1 -1
- package/resources/draft-transitions.mjs +49 -23
- package/resources/draft-transitions.mjs.map +1 -1
- package/resources/employee-documents.d.mts +2 -2
- package/resources/employee-documents.d.ts +2 -2
- package/resources/{spend-categories.d.mts → finance-categories.d.mts} +21 -18
- package/resources/finance-categories.d.mts.map +1 -0
- package/resources/{spend-categories.d.ts → finance-categories.d.ts} +21 -18
- package/resources/finance-categories.d.ts.map +1 -0
- package/resources/{spend-categories.js → finance-categories.js} +14 -11
- package/resources/finance-categories.js.map +1 -0
- package/resources/{spend-categories.mjs → finance-categories.mjs} +12 -9
- package/resources/finance-categories.mjs.map +1 -0
- package/resources/finance-vendors.d.mts +154 -0
- package/resources/finance-vendors.d.mts.map +1 -0
- package/resources/finance-vendors.d.ts +154 -0
- package/resources/finance-vendors.d.ts.map +1 -0
- package/resources/finance-vendors.js +87 -0
- package/resources/finance-vendors.js.map +1 -0
- package/resources/finance-vendors.mjs +83 -0
- package/resources/finance-vendors.mjs.map +1 -0
- package/resources/functions/executions.d.mts +4 -1
- package/resources/functions/executions.d.mts.map +1 -1
- package/resources/functions/executions.d.ts +4 -1
- package/resources/functions/executions.d.ts.map +1 -1
- package/resources/functions/executions.js +4 -1
- package/resources/functions/executions.js.map +1 -1
- package/resources/functions/executions.mjs +4 -1
- package/resources/functions/executions.mjs.map +1 -1
- package/resources/functions/functions.d.mts +192 -4
- package/resources/functions/functions.d.mts.map +1 -1
- package/resources/functions/functions.d.ts +192 -4
- package/resources/functions/functions.d.ts.map +1 -1
- package/resources/functions/functions.js +72 -4
- package/resources/functions/functions.js.map +1 -1
- package/resources/functions/functions.mjs +72 -4
- package/resources/functions/functions.mjs.map +1 -1
- package/resources/hire-requirements.d.mts +98 -9
- package/resources/hire-requirements.d.mts.map +1 -1
- package/resources/hire-requirements.d.ts +98 -9
- package/resources/hire-requirements.d.ts.map +1 -1
- package/resources/hire-requirements.js +23 -4
- package/resources/hire-requirements.js.map +1 -1
- package/resources/hire-requirements.mjs +23 -4
- package/resources/hire-requirements.mjs.map +1 -1
- package/resources/hires.d.mts +1636 -510
- package/resources/hires.d.mts.map +1 -1
- package/resources/hires.d.ts +1636 -510
- package/resources/hires.d.ts.map +1 -1
- package/resources/hires.js +10 -4
- package/resources/hires.js.map +1 -1
- package/resources/hires.mjs +10 -4
- package/resources/hires.mjs.map +1 -1
- package/resources/index.d.mts +11 -3
- package/resources/index.d.mts.map +1 -1
- package/resources/index.d.ts +11 -3
- package/resources/index.d.ts.map +1 -1
- package/resources/index.js +21 -5
- package/resources/index.js.map +1 -1
- package/resources/index.mjs +9 -1
- package/resources/index.mjs.map +1 -1
- package/resources/leave-requests.d.mts +11 -2
- package/resources/leave-requests.d.mts.map +1 -1
- package/resources/leave-requests.d.ts +11 -2
- package/resources/leave-requests.d.ts.map +1 -1
- package/resources/leave-requests.js +11 -2
- package/resources/leave-requests.js.map +1 -1
- package/resources/leave-requests.mjs +11 -2
- package/resources/leave-requests.mjs.map +1 -1
- package/resources/object-categories.d.mts +2 -1
- package/resources/object-categories.d.mts.map +1 -1
- package/resources/object-categories.d.ts +2 -1
- package/resources/object-categories.d.ts.map +1 -1
- package/resources/object-categories.js +2 -1
- package/resources/object-categories.js.map +1 -1
- package/resources/object-categories.mjs +2 -1
- package/resources/object-categories.mjs.map +1 -1
- package/resources/package-components/extract.d.mts +121 -0
- package/resources/package-components/extract.d.mts.map +1 -0
- package/resources/package-components/extract.d.ts +121 -0
- package/resources/package-components/extract.d.ts.map +1 -0
- package/resources/package-components/extract.js +69 -0
- package/resources/package-components/extract.js.map +1 -0
- package/resources/package-components/extract.mjs +65 -0
- package/resources/package-components/extract.mjs.map +1 -0
- package/resources/package-components/index.d.mts +4 -0
- package/resources/package-components/index.d.mts.map +1 -0
- package/resources/package-components/index.d.ts +4 -0
- package/resources/package-components/index.d.ts.map +1 -0
- package/resources/package-components/index.js +11 -0
- package/resources/package-components/index.js.map +1 -0
- package/resources/package-components/index.mjs +5 -0
- package/resources/package-components/index.mjs.map +1 -0
- package/resources/package-components/package-components.d.mts +99 -0
- package/resources/package-components/package-components.d.mts.map +1 -0
- package/resources/package-components/package-components.d.ts +99 -0
- package/resources/package-components/package-components.d.ts.map +1 -0
- package/resources/package-components/package-components.js +63 -0
- package/resources/package-components/package-components.js.map +1 -0
- package/resources/package-components/package-components.mjs +58 -0
- package/resources/package-components/package-components.mjs.map +1 -0
- package/resources/package-components/types.d.mts +56 -0
- package/resources/package-components/types.d.mts.map +1 -0
- package/resources/package-components/types.d.ts +56 -0
- package/resources/package-components/types.d.ts.map +1 -0
- package/resources/package-components/types.js +40 -0
- package/resources/package-components/types.js.map +1 -0
- package/resources/package-components/types.mjs +36 -0
- package/resources/package-components/types.mjs.map +1 -0
- package/resources/package-components.d.mts +2 -0
- package/resources/package-components.d.mts.map +1 -0
- package/resources/package-components.d.ts +2 -0
- package/resources/package-components.d.ts.map +1 -0
- package/resources/package-components.js +6 -0
- package/resources/package-components.js.map +1 -0
- package/resources/package-components.mjs +3 -0
- package/resources/package-components.mjs.map +1 -0
- package/resources/package-installs.d.mts +96 -9
- package/resources/package-installs.d.mts.map +1 -1
- package/resources/package-installs.d.ts +96 -9
- package/resources/package-installs.d.ts.map +1 -1
- package/resources/package-installs.js +20 -3
- package/resources/package-installs.js.map +1 -1
- package/resources/package-installs.mjs +20 -3
- package/resources/package-installs.mjs.map +1 -1
- package/resources/package-managed-installs.d.mts +104 -7
- package/resources/package-managed-installs.d.mts.map +1 -1
- package/resources/package-managed-installs.d.ts +104 -7
- package/resources/package-managed-installs.d.ts.map +1 -1
- package/resources/package-managed-installs.js +22 -3
- package/resources/package-managed-installs.js.map +1 -1
- package/resources/package-managed-installs.mjs +22 -3
- package/resources/package-managed-installs.mjs.map +1 -1
- package/resources/package-manifests/index.d.mts +4 -0
- package/resources/package-manifests/index.d.mts.map +1 -0
- package/resources/package-manifests/index.d.ts +4 -0
- package/resources/package-manifests/index.d.ts.map +1 -0
- package/resources/package-manifests/index.js +11 -0
- package/resources/package-manifests/index.js.map +1 -0
- package/resources/package-manifests/index.mjs +5 -0
- package/resources/package-manifests/index.mjs.map +1 -0
- package/resources/package-manifests/package-manifests.d.mts +14 -0
- package/resources/package-manifests/package-manifests.d.mts.map +1 -0
- package/resources/package-manifests/package-manifests.d.ts +14 -0
- package/resources/package-manifests/package-manifests.d.ts.map +1 -0
- package/resources/package-manifests/package-manifests.js +21 -0
- package/resources/package-manifests/package-manifests.js.map +1 -0
- package/resources/package-manifests/package-manifests.mjs +16 -0
- package/resources/package-manifests/package-manifests.mjs.map +1 -0
- package/resources/package-manifests/packages/index.d.mts +3 -0
- package/resources/package-manifests/packages/index.d.mts.map +1 -0
- package/resources/package-manifests/packages/index.d.ts +3 -0
- package/resources/package-manifests/packages/index.d.ts.map +1 -0
- package/resources/package-manifests/packages/index.js +9 -0
- package/resources/package-manifests/packages/index.js.map +1 -0
- package/resources/package-manifests/packages/index.mjs +4 -0
- package/resources/package-manifests/packages/index.mjs.map +1 -0
- package/resources/package-manifests/packages/packages.d.mts +10 -0
- package/resources/package-manifests/packages/packages.d.mts.map +1 -0
- package/resources/package-manifests/packages/packages.d.ts +10 -0
- package/resources/package-manifests/packages/packages.d.ts.map +1 -0
- package/resources/package-manifests/packages/packages.js +17 -0
- package/resources/package-manifests/packages/packages.js.map +1 -0
- package/resources/package-manifests/packages/packages.mjs +12 -0
- package/resources/package-manifests/packages/packages.mjs.map +1 -0
- package/resources/package-manifests/packages/versions.d.mts +199 -0
- package/resources/package-manifests/packages/versions.d.mts.map +1 -0
- package/resources/package-manifests/packages/versions.d.ts +199 -0
- package/resources/package-manifests/packages/versions.d.ts.map +1 -0
- package/resources/package-manifests/packages/versions.js +68 -0
- package/resources/package-manifests/packages/versions.js.map +1 -0
- package/resources/package-manifests/packages/versions.mjs +64 -0
- package/resources/package-manifests/packages/versions.mjs.map +1 -0
- package/resources/package-manifests/packages.d.mts +2 -0
- package/resources/package-manifests/packages.d.mts.map +1 -0
- package/resources/package-manifests/packages.d.ts +2 -0
- package/resources/package-manifests/packages.d.ts.map +1 -0
- package/resources/package-manifests/packages.js +6 -0
- package/resources/package-manifests/packages.js.map +1 -0
- package/resources/package-manifests/packages.mjs +3 -0
- package/resources/package-manifests/packages.mjs.map +1 -0
- package/resources/package-manifests/versions.d.mts +84 -0
- package/resources/package-manifests/versions.d.mts.map +1 -0
- package/resources/package-manifests/versions.d.ts +84 -0
- package/resources/package-manifests/versions.d.ts.map +1 -0
- package/resources/package-manifests/versions.js +44 -0
- package/resources/package-manifests/versions.js.map +1 -0
- package/resources/package-manifests/versions.mjs +40 -0
- package/resources/package-manifests/versions.mjs.map +1 -0
- package/resources/package-manifests.d.mts +2 -0
- package/resources/package-manifests.d.mts.map +1 -0
- package/resources/package-manifests.d.ts +2 -0
- package/resources/package-manifests.d.ts.map +1 -0
- package/resources/package-manifests.js +6 -0
- package/resources/package-manifests.js.map +1 -0
- package/resources/package-manifests.mjs +3 -0
- package/resources/package-manifests.mjs.map +1 -0
- package/resources/package-versions/package-versions.d.mts +104 -14
- package/resources/package-versions/package-versions.d.mts.map +1 -1
- package/resources/package-versions/package-versions.d.ts +104 -14
- package/resources/package-versions/package-versions.d.ts.map +1 -1
- package/resources/package-versions/package-versions.js +30 -9
- package/resources/package-versions/package-versions.js.map +1 -1
- package/resources/package-versions/package-versions.mjs +30 -9
- package/resources/package-versions/package-versions.mjs.map +1 -1
- package/resources/package-versions/publish.d.mts +40 -4
- package/resources/package-versions/publish.d.mts.map +1 -1
- package/resources/package-versions/publish.d.ts +40 -4
- package/resources/package-versions/publish.d.ts.map +1 -1
- package/resources/package-versions/publish.js +8 -2
- package/resources/package-versions/publish.js.map +1 -1
- package/resources/package-versions/publish.mjs +8 -2
- package/resources/package-versions/publish.mjs.map +1 -1
- package/resources/packages/next-versions.d.mts +40 -4
- package/resources/packages/next-versions.d.mts.map +1 -1
- package/resources/packages/next-versions.d.ts +40 -4
- package/resources/packages/next-versions.d.ts.map +1 -1
- package/resources/packages/next-versions.js +8 -2
- package/resources/packages/next-versions.js.map +1 -1
- package/resources/packages/next-versions.mjs +8 -2
- package/resources/packages/next-versions.mjs.map +1 -1
- package/resources/packages/versions.d.mts +80 -9
- package/resources/packages/versions.d.mts.map +1 -1
- package/resources/packages/versions.d.ts +80 -9
- package/resources/packages/versions.d.ts.map +1 -1
- package/resources/packages/versions.js +16 -5
- package/resources/packages/versions.js.map +1 -1
- package/resources/packages/versions.mjs +16 -5
- package/resources/packages/versions.mjs.map +1 -1
- package/resources/payroll-runs/off-cycle.d.mts +17 -9
- package/resources/payroll-runs/off-cycle.d.mts.map +1 -1
- package/resources/payroll-runs/off-cycle.d.ts +17 -9
- package/resources/payroll-runs/off-cycle.d.ts.map +1 -1
- package/resources/payroll-runs/off-cycle.js +9 -5
- package/resources/payroll-runs/off-cycle.js.map +1 -1
- package/resources/payroll-runs/off-cycle.mjs +9 -5
- package/resources/payroll-runs/off-cycle.mjs.map +1 -1
- package/resources/permissions/index.d.mts +3 -0
- package/resources/permissions/index.d.mts.map +1 -0
- package/resources/permissions/index.d.ts +3 -0
- package/resources/permissions/index.d.ts.map +1 -0
- package/resources/permissions/index.js +9 -0
- package/resources/permissions/index.js.map +1 -0
- package/resources/permissions/index.mjs +4 -0
- package/resources/permissions/index.mjs.map +1 -0
- package/resources/permissions/permission-profiles.d.mts +43 -0
- package/resources/permissions/permission-profiles.d.mts.map +1 -0
- package/resources/permissions/permission-profiles.d.ts +43 -0
- package/resources/permissions/permission-profiles.d.ts.map +1 -0
- package/resources/permissions/permission-profiles.js +36 -0
- package/resources/permissions/permission-profiles.js.map +1 -0
- package/resources/permissions/permission-profiles.mjs +32 -0
- package/resources/permissions/permission-profiles.mjs.map +1 -0
- package/resources/permissions/permissions.d.mts +10 -0
- package/resources/permissions/permissions.d.mts.map +1 -0
- package/resources/permissions/permissions.d.ts +10 -0
- package/resources/permissions/permissions.d.ts.map +1 -0
- package/resources/permissions/permissions.js +17 -0
- package/resources/permissions/permissions.js.map +1 -0
- package/resources/permissions/permissions.mjs +12 -0
- package/resources/permissions/permissions.mjs.map +1 -0
- package/resources/permissions.d.mts +2 -0
- package/resources/permissions.d.mts.map +1 -0
- package/resources/permissions.d.ts +2 -0
- package/resources/permissions.d.ts.map +1 -0
- package/resources/permissions.js +6 -0
- package/resources/permissions.js.map +1 -0
- package/resources/permissions.mjs +3 -0
- package/resources/permissions.mjs.map +1 -0
- package/resources/record-detail-reference-options.d.mts +111 -0
- package/resources/record-detail-reference-options.d.mts.map +1 -0
- package/resources/record-detail-reference-options.d.ts +111 -0
- package/resources/record-detail-reference-options.d.ts.map +1 -0
- package/resources/record-detail-reference-options.js +54 -0
- package/resources/record-detail-reference-options.js.map +1 -0
- package/resources/record-detail-reference-options.mjs +50 -0
- package/resources/record-detail-reference-options.mjs.map +1 -0
- package/resources/record-detail-related-records.d.mts +1070 -0
- package/resources/record-detail-related-records.d.mts.map +1 -0
- package/resources/record-detail-related-records.d.ts +1070 -0
- package/resources/record-detail-related-records.d.ts.map +1 -0
- package/resources/record-detail-related-records.js +49 -0
- package/resources/record-detail-related-records.js.map +1 -0
- package/resources/record-detail-related-records.mjs +45 -0
- package/resources/record-detail-related-records.mjs.map +1 -0
- package/resources/record-details.d.mts +1227 -0
- package/resources/record-details.d.mts.map +1 -0
- package/resources/record-details.d.ts +1227 -0
- package/resources/record-details.d.ts.map +1 -0
- package/resources/record-details.js +71 -0
- package/resources/record-details.js.map +1 -0
- package/resources/record-details.mjs +67 -0
- package/resources/record-details.mjs.map +1 -0
- package/resources/reimbursements.d.mts +2158 -90
- package/resources/reimbursements.d.mts.map +1 -1
- package/resources/reimbursements.d.ts +2158 -90
- package/resources/reimbursements.d.ts.map +1 -1
- package/resources/reimbursements.js +306 -16
- package/resources/reimbursements.js.map +1 -1
- package/resources/reimbursements.mjs +306 -16
- package/resources/reimbursements.mjs.map +1 -1
- package/resources/report-runs.d.mts +2 -1
- package/resources/report-runs.d.mts.map +1 -1
- package/resources/report-runs.d.ts +2 -1
- package/resources/report-runs.d.ts.map +1 -1
- package/resources/report-runs.js +2 -1
- package/resources/report-runs.js.map +1 -1
- package/resources/report-runs.mjs +2 -1
- package/resources/report-runs.mjs.map +1 -1
- package/resources/sandboxes.d.mts +20 -624
- package/resources/sandboxes.d.mts.map +1 -1
- package/resources/sandboxes.d.ts +20 -624
- package/resources/sandboxes.d.ts.map +1 -1
- package/resources/sandboxes.js +5 -60
- package/resources/sandboxes.js.map +1 -1
- package/resources/sandboxes.mjs +5 -60
- package/resources/sandboxes.mjs.map +1 -1
- package/src/client.ts +180 -17
- package/src/core/platform/custom-objects/manager.ts +65 -42
- package/src/core/platform/custom-objects.ts +3 -0
- package/src/index.ts +17 -0
- package/src/lib/manifest/acp-agent.ts +7 -1
- package/src/lib/manifest/composition.ts +133 -0
- package/src/lib/manifest/definitions/README.md +89 -0
- package/src/lib/manifest/definitions/_object-records.ts +225 -0
- package/src/lib/manifest/definitions/action.ts +31 -0
- package/src/lib/manifest/definitions/agent.ts +149 -0
- package/src/lib/manifest/definitions/app.ts +12 -0
- package/src/lib/manifest/definitions/category.ts +35 -0
- package/src/lib/manifest/definitions/component.ts +241 -0
- package/src/lib/manifest/definitions/custom-field-section.ts +39 -0
- package/src/lib/manifest/definitions/custom-field.ts +32 -0
- package/src/lib/manifest/definitions/custom-object.ts +791 -0
- package/src/lib/manifest/definitions/custom-skill.ts +28 -0
- package/src/lib/manifest/definitions/field-section.ts +31 -0
- package/src/lib/manifest/definitions/field.ts +119 -0
- package/src/lib/manifest/definitions/function.ts +198 -0
- package/src/lib/manifest/definitions/index.ts +91 -0
- package/src/lib/manifest/definitions/list-view.ts +48 -0
- package/src/lib/manifest/definitions/object-search-config.ts +44 -0
- package/src/lib/manifest/definitions/object-settings.ts +61 -0
- package/src/lib/manifest/definitions/page-layout.ts +218 -0
- package/src/lib/manifest/definitions/page.ts +28 -0
- package/src/lib/manifest/definitions/record-triggered-flow.ts +71 -0
- package/src/lib/manifest/definitions/validation.ts +46 -0
- package/src/lib/manifest/definitions/workflow.ts +62 -0
- package/src/lib/manifest/index.ts +4 -0
- package/src/lib/manifest/package-manifest.ts +40 -0
- package/src/resources/activity-log.ts +1 -1
- package/src/resources/agents/sessions/messages.ts +10 -1
- package/src/resources/agents/sessions/sessions.ts +30 -3
- package/src/resources/bills.ts +1660 -0
- package/src/resources/card-transactions.ts +742 -49
- package/src/resources/custom-objects/custom-objects.ts +62 -2
- package/src/resources/custom-objects/fields.ts +44 -0
- package/src/resources/custom-objects/index.ts +13 -1
- package/src/resources/custom-objects/list-views/capabilities.ts +72 -0
- package/src/resources/custom-objects/list-views/default.ts +87 -0
- package/src/resources/custom-objects/list-views/index.ts +15 -0
- package/src/resources/custom-objects/list-views/list-views.ts +973 -0
- package/src/resources/custom-objects/list-views.ts +3 -0
- package/src/resources/custom-objects/records/capabilities.ts +73 -0
- package/src/resources/custom-objects/records/index.ts +21 -0
- package/src/resources/custom-objects/records/records.ts +955 -0
- package/src/resources/custom-objects/records.ts +1 -703
- package/src/resources/devices.ts +2 -0
- package/src/resources/draft-transitions.ts +276 -347
- package/src/resources/employee-documents.ts +2 -2
- package/src/resources/{spend-categories.ts → finance-categories.ts} +26 -23
- package/src/resources/finance-vendors.ts +191 -0
- package/src/resources/functions/executions.ts +4 -1
- package/src/resources/functions/functions.ts +216 -4
- package/src/resources/hire-requirements.ts +107 -9
- package/src/resources/hires.ts +1768 -539
- package/src/resources/index.ts +51 -7
- package/src/resources/leave-requests.ts +11 -2
- package/src/resources/object-categories.ts +2 -1
- package/src/resources/package-components/extract.ts +139 -0
- package/src/resources/package-components/index.ts +10 -0
- package/src/resources/package-components/package-components.ts +134 -0
- package/src/resources/package-components/types.ts +64 -0
- package/src/resources/package-components.ts +3 -0
- package/src/resources/package-installs.ts +120 -9
- package/src/resources/package-managed-installs.ts +146 -7
- package/src/resources/package-manifests/index.ts +5 -0
- package/src/resources/package-manifests/package-manifests.ts +21 -0
- package/src/resources/package-manifests/packages/index.ts +4 -0
- package/src/resources/package-manifests/packages/packages.ts +19 -0
- package/src/resources/package-manifests/packages/versions.ts +237 -0
- package/src/resources/package-manifests/packages.ts +3 -0
- package/src/resources/package-manifests/versions.ts +96 -0
- package/src/resources/package-manifests.ts +3 -0
- package/src/resources/package-versions/package-versions.ts +117 -14
- package/src/resources/package-versions/publish.ts +46 -4
- package/src/resources/packages/next-versions.ts +46 -4
- package/src/resources/packages/versions.ts +92 -9
- package/src/resources/payroll-runs/off-cycle.ts +17 -9
- package/src/resources/permissions/index.ts +4 -0
- package/src/resources/permissions/permission-profiles.ts +50 -0
- package/src/resources/permissions/permissions.ts +20 -0
- package/src/resources/permissions.ts +3 -0
- package/src/resources/record-detail-reference-options.ts +142 -0
- package/src/resources/record-detail-related-records.ts +1380 -0
- package/src/resources/record-details.ts +1554 -0
- package/src/resources/reimbursements.ts +2591 -126
- package/src/resources/report-runs.ts +2 -1
- package/src/resources/sandboxes.ts +48 -742
- package/src/version.ts +1 -1
- package/version.d.mts +1 -1
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/version.mjs +1 -1
- package/resources/spend-categories.d.mts.map +0 -1
- package/resources/spend-categories.d.ts.map +0 -1
- package/resources/spend-categories.js.map +0 -1
- package/resources/spend-categories.mjs.map +0 -1
|
@@ -0,0 +1,97 @@
|
|
|
1
|
+
/** New definitions compose explicitly; legacy constructors still register through their original scopes. */
|
|
2
|
+
export const detachedManifestScope = { _register() { } };
|
|
3
|
+
/** Shared by components whose backend writers require the custom API-name suffix. */
|
|
4
|
+
export function validateCustomApiName(apiName) {
|
|
5
|
+
if (typeof apiName !== 'string' || !apiName.endsWith('__c'))
|
|
6
|
+
throw new Error(`apiName must end with __c: ${apiName}`);
|
|
7
|
+
}
|
|
8
|
+
/** Decorate only a newly created instance; the existing class and serializer stay unchanged. */
|
|
9
|
+
export function withApiName(definition, apiName, extra = {}) {
|
|
10
|
+
const serialize = definition.toDict.bind(definition);
|
|
11
|
+
return Object.assign(definition, {
|
|
12
|
+
getApiName: () => apiName,
|
|
13
|
+
toDict: () => ({ ...serialize(), ...extra, api_name: apiName, identity_format_version: 2 }),
|
|
14
|
+
});
|
|
15
|
+
}
|
|
16
|
+
// Shared across SDK copies, and works for frozen schema definitions without mutating them.
|
|
17
|
+
const registryKey = Symbol.for('@rippling/sdk/component-registry/v3');
|
|
18
|
+
const shared = globalThis;
|
|
19
|
+
const registry = (shared[registryKey] ?? (shared[registryKey] = new WeakMap()));
|
|
20
|
+
export function registeredComponent(definition) {
|
|
21
|
+
return registry.get(definition);
|
|
22
|
+
}
|
|
23
|
+
/** Retains the exact factory signature, including its generic type parameters. */
|
|
24
|
+
export function defineComponent(implementation) {
|
|
25
|
+
const adapter = {
|
|
26
|
+
batchKey: implementation.compileBatch ?? implementation,
|
|
27
|
+
compileBatch(definitions, context) {
|
|
28
|
+
// Type erasure is confined to registry dispatch; authoring and each implementation stay typed.
|
|
29
|
+
const typed = definitions;
|
|
30
|
+
if (implementation.compileBatch != null)
|
|
31
|
+
return implementation.compileBatch(typed, context);
|
|
32
|
+
return typed.map((definition) => implementation.serialize != null ?
|
|
33
|
+
implementation.serialize(definition)
|
|
34
|
+
: definition.toDict());
|
|
35
|
+
},
|
|
36
|
+
};
|
|
37
|
+
const register = (definition, ...args) => {
|
|
38
|
+
const references = implementation.references?.(definition, ...args) ?? [];
|
|
39
|
+
const snapshot = typeof references === 'function' ? references : Object.freeze([...references]);
|
|
40
|
+
registry.set(definition, {
|
|
41
|
+
type: implementation.type,
|
|
42
|
+
references: typeof snapshot === 'function' ? snapshot : () => snapshot,
|
|
43
|
+
implementation: adapter,
|
|
44
|
+
});
|
|
45
|
+
return definition;
|
|
46
|
+
};
|
|
47
|
+
const define = new Proxy(implementation.define, {
|
|
48
|
+
apply(target, receiver, args) {
|
|
49
|
+
return register(Reflect.apply(target, receiver, args), ...args);
|
|
50
|
+
},
|
|
51
|
+
});
|
|
52
|
+
return { define, register };
|
|
53
|
+
}
|
|
54
|
+
/** Mirror backend identity and installation-map scopes, using wire fields rather than source IDs. */
|
|
55
|
+
export function entryKey({ config }) {
|
|
56
|
+
switch (config.type) {
|
|
57
|
+
case 'CUSTOM_OBJECT_FIELD':
|
|
58
|
+
return JSON.stringify([config.type, config.custom_object_api_name, config.field_api_name]);
|
|
59
|
+
case 'CUSTOM_OBJECT_FIELD_SECTION':
|
|
60
|
+
case 'CUSTOM_OBJECT_ACTION':
|
|
61
|
+
case 'CUSTOM_OBJECT_LIST_VIEW':
|
|
62
|
+
case 'CUSTOM_OBJECT_RECORD_TRIGGERED_FLOW':
|
|
63
|
+
case 'CUSTOM_OBJECT_VALIDATION_RULE':
|
|
64
|
+
// These components still use company-wide API-name lookups or installation maps.
|
|
65
|
+
return JSON.stringify([config.type, config.api_name]);
|
|
66
|
+
case 'CUSTOM_OBJECT_PAGE_LAYOUT':
|
|
67
|
+
return JSON.stringify([config.type, config.object_rql_name, config.api_name]);
|
|
68
|
+
case 'CUSTOM_FIELD_SECTION':
|
|
69
|
+
case 'CUSTOM_FIELD_V2':
|
|
70
|
+
return JSON.stringify([config.type, config.model_rql_name, config.api_name]);
|
|
71
|
+
case 'CUSTOM_OBJECT_SETTINGS':
|
|
72
|
+
return JSON.stringify([config.type, config.object_rql_name]);
|
|
73
|
+
case 'CUSTOM_OBJECT_SEARCH_CONFIG':
|
|
74
|
+
return JSON.stringify([config.type, config.model_rql_name]);
|
|
75
|
+
default:
|
|
76
|
+
return JSON.stringify([config.type, config.api_name]);
|
|
77
|
+
}
|
|
78
|
+
}
|
|
79
|
+
/** Deferred builds must retain the same detached configuration snapshot as manifest composition. */
|
|
80
|
+
function snapshotMetadata(config) {
|
|
81
|
+
return JSON.parse(JSON.stringify(config));
|
|
82
|
+
}
|
|
83
|
+
/** Shared source-build plumbing; each component supplies its own wire format. */
|
|
84
|
+
export function sourceEntry(metadata, source, build) {
|
|
85
|
+
const config = snapshotMetadata(metadata);
|
|
86
|
+
const href = source?.href;
|
|
87
|
+
return {
|
|
88
|
+
config,
|
|
89
|
+
...(href === undefined ?
|
|
90
|
+
{}
|
|
91
|
+
: {
|
|
92
|
+
buildKey: href,
|
|
93
|
+
build: async ({ bundle }) => build(config, await bundle(new URL(href))),
|
|
94
|
+
}),
|
|
95
|
+
};
|
|
96
|
+
}
|
|
97
|
+
//# sourceMappingURL=component.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"component.mjs","sourceRoot":"","sources":["../../../src/lib/manifest/definitions/component.ts"],"names":[],"mappings":"AAIA,4GAA4G;AAC5G,MAAM,CAAC,MAAM,qBAAqB,GAAkB,EAAE,SAAS,KAAI,CAAC,EAA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AED,oGAAoG;AACpG,SAAS,gBAAgB,CAA2B,MAAS;IAC3D,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,SAAS,CAAC,MAAM,CAAC,CAAM,CAAC;AACjD,CAAC;AAED,iFAAiF;AACjF,MAAM,UAAU,WAAW,CACzB,QAAW,EACX,MAAuB,EACvB,KAAwC;IAExC,MAAM,MAAM,GAAG,gBAAgB,CAAC,QAAQ,CAAC,CAAC;IAC1C,MAAM,IAAI,GAAG,MAAM,EAAE,IAAI,CAAC;IAC1B,OAAO;QACL,MAAM;QACN,GAAG,CAAC,IAAI,KAAK,SAAS,CAAC,CAAC;YACtB,EAAE;YACJ,CAAC,CAAC;gBACE,QAAQ,EAAE,IAAI;gBACd,KAAK,EAAE,KAAK,EAAE,EAAE,MAAM,EAAgB,EAAE,EAAE,CAAC,KAAK,CAAC,MAAM,EAAE,MAAM,MAAM,CAAC,IAAI,GAAG,CAAC,IAAI,CAAC,CAAC,CAAC;aACtF,CAAC;KACL,CAAC;AACJ,CAAC"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { CustomFieldSection, type CustomFieldSectionProps } from "../custom-field-section.mjs";
|
|
2
|
+
export type DefinedCustomFieldSection<TModel extends string> = CustomFieldSection & {
|
|
3
|
+
readonly [modelScope]: TModel;
|
|
4
|
+
};
|
|
5
|
+
export type DefineCustomFieldSectionProps<TModel extends string> = Omit<CustomFieldSectionProps, 'sectionId' | 'apiName' | 'modelRqlName'> & {
|
|
6
|
+
apiName: `${string}__cfs`;
|
|
7
|
+
modelName: string;
|
|
8
|
+
modelRqlName: TModel;
|
|
9
|
+
};
|
|
10
|
+
export declare function defineCustomFieldSection<const TModel extends string>(props: DefineCustomFieldSectionProps<TModel>): DefinedCustomFieldSection<TModel>;
|
|
11
|
+
declare const modelScope: unique symbol;
|
|
12
|
+
export {};
|
|
13
|
+
//# sourceMappingURL=custom-field-section.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"custom-field-section.d.mts","sourceRoot":"","sources":["../../../src/lib/manifest/definitions/custom-field-section.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,kBAAkB,EAAE,KAAK,uBAAuB,EAAE,oCAAgC;AAE3F,MAAM,MAAM,yBAAyB,CAAC,MAAM,SAAS,MAAM,IAAI,kBAAkB,GAAG;IAClF,QAAQ,CAAC,CAAC,UAAU,CAAC,EAAE,MAAM,CAAC;CAC/B,CAAC;AAEF,MAAM,MAAM,6BAA6B,CAAC,MAAM,SAAS,MAAM,IAAI,IAAI,CACrE,uBAAuB,EACvB,WAAW,GAAG,SAAS,GAAG,cAAc,CACzC,GAAG;IACF,OAAO,EAAE,GAAG,MAAM,OAAO,CAAC;IAC1B,SAAS,EAAE,MAAM,CAAC;IAClB,YAAY,EAAE,MAAM,CAAC;CACtB,CAAC;AAEF,wBAAgB,wBAAwB,CAAC,KAAK,CAAC,MAAM,SAAS,MAAM,EAClE,KAAK,EAAE,6BAA6B,CAAC,MAAM,CAAC,GAC3C,yBAAyB,CAAC,MAAM,CAAC,CAanC;AAED,OAAO,CAAC,MAAM,UAAU,EAAE,OAAO,MAAM,CAAC"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { CustomFieldSection, type CustomFieldSectionProps } from "../custom-field-section.js";
|
|
2
|
+
export type DefinedCustomFieldSection<TModel extends string> = CustomFieldSection & {
|
|
3
|
+
readonly [modelScope]: TModel;
|
|
4
|
+
};
|
|
5
|
+
export type DefineCustomFieldSectionProps<TModel extends string> = Omit<CustomFieldSectionProps, 'sectionId' | 'apiName' | 'modelRqlName'> & {
|
|
6
|
+
apiName: `${string}__cfs`;
|
|
7
|
+
modelName: string;
|
|
8
|
+
modelRqlName: TModel;
|
|
9
|
+
};
|
|
10
|
+
export declare function defineCustomFieldSection<const TModel extends string>(props: DefineCustomFieldSectionProps<TModel>): DefinedCustomFieldSection<TModel>;
|
|
11
|
+
declare const modelScope: unique symbol;
|
|
12
|
+
export {};
|
|
13
|
+
//# sourceMappingURL=custom-field-section.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"custom-field-section.d.ts","sourceRoot":"","sources":["../../../src/lib/manifest/definitions/custom-field-section.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,kBAAkB,EAAE,KAAK,uBAAuB,EAAE,mCAAgC;AAE3F,MAAM,MAAM,yBAAyB,CAAC,MAAM,SAAS,MAAM,IAAI,kBAAkB,GAAG;IAClF,QAAQ,CAAC,CAAC,UAAU,CAAC,EAAE,MAAM,CAAC;CAC/B,CAAC;AAEF,MAAM,MAAM,6BAA6B,CAAC,MAAM,SAAS,MAAM,IAAI,IAAI,CACrE,uBAAuB,EACvB,WAAW,GAAG,SAAS,GAAG,cAAc,CACzC,GAAG;IACF,OAAO,EAAE,GAAG,MAAM,OAAO,CAAC;IAC1B,SAAS,EAAE,MAAM,CAAC;IAClB,YAAY,EAAE,MAAM,CAAC;CACtB,CAAC;AAEF,wBAAgB,wBAAwB,CAAC,KAAK,CAAC,MAAM,SAAS,MAAM,EAClE,KAAK,EAAE,6BAA6B,CAAC,MAAM,CAAC,GAC3C,yBAAyB,CAAC,MAAM,CAAC,CAanC;AAED,OAAO,CAAC,MAAM,UAAU,EAAE,OAAO,MAAM,CAAC"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.defineCustomFieldSection = defineCustomFieldSection;
|
|
4
|
+
const component_1 = require("./component.js");
|
|
5
|
+
const custom_field_section_1 = require("../custom-field-section.js");
|
|
6
|
+
function defineCustomFieldSection(props) {
|
|
7
|
+
if (!/^[A-Za-z][A-Za-z0-9_]*__cfs$/.test(props.apiName))
|
|
8
|
+
throw new Error(`Native field section apiName must start with a letter, contain only letters, digits or underscores, and end with __cfs: ${props.apiName}`);
|
|
9
|
+
return customFieldSectionComponent.register((0, component_1.withApiName)(new custom_field_section_1.CustomFieldSection(component_1.detachedManifestScope, { ...props, sectionId: props.apiName }), props.apiName, { model_name: props.modelName }), props);
|
|
10
|
+
}
|
|
11
|
+
const customFieldSectionComponent = (0, component_1.defineComponent)({
|
|
12
|
+
type: 'CUSTOM_FIELD_SECTION',
|
|
13
|
+
define: defineCustomFieldSection,
|
|
14
|
+
});
|
|
15
|
+
//# sourceMappingURL=custom-field-section.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"custom-field-section.js","sourceRoot":"","sources":["../../../src/lib/manifest/definitions/custom-field-section.ts"],"names":[],"mappings":";;AAgBA,4DAeC;AA/BD,8CAA4G;AAC5G,qEAA2F;AAe3F,SAAgB,wBAAwB,CACtC,KAA4C;IAE5C,IAAI,CAAC,8BAA8B,CAAC,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC;QACrD,MAAM,IAAI,KAAK,CACb,2HAA2H,KAAK,CAAC,OAAO,EAAE,CAC3I,CAAC;IACJ,OAAO,2BAA2B,CAAC,QAAQ,CACzC,IAAA,uBAAW,EACT,IAAI,yCAAkB,CAAC,iCAAqB,EAAE,EAAE,GAAG,KAAK,EAAE,SAAS,EAAE,KAAK,CAAC,OAAO,EAAE,CAAC,EACrF,KAAK,CAAC,OAAO,EACb,EAAE,UAAU,EAAE,KAAK,CAAC,SAAS,EAAE,CACgB,EACjD,KAAK,CACN,CAAC;AACJ,CAAC;AAID,MAAM,2BAA2B,GAAyD,IAAA,2BAAe,EAAC;IACxG,IAAI,EAAE,sBAAsB;IAC5B,MAAM,EAAE,wBAAwB;CACjC,CAAC,CAAC"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { defineComponent, withApiName, detachedManifestScope } from "./component.mjs";
|
|
2
|
+
import { CustomFieldSection } from "../custom-field-section.mjs";
|
|
3
|
+
export function defineCustomFieldSection(props) {
|
|
4
|
+
if (!/^[A-Za-z][A-Za-z0-9_]*__cfs$/.test(props.apiName))
|
|
5
|
+
throw new Error(`Native field section apiName must start with a letter, contain only letters, digits or underscores, and end with __cfs: ${props.apiName}`);
|
|
6
|
+
return customFieldSectionComponent.register(withApiName(new CustomFieldSection(detachedManifestScope, { ...props, sectionId: props.apiName }), props.apiName, { model_name: props.modelName }), props);
|
|
7
|
+
}
|
|
8
|
+
const customFieldSectionComponent = defineComponent({
|
|
9
|
+
type: 'CUSTOM_FIELD_SECTION',
|
|
10
|
+
define: defineCustomFieldSection,
|
|
11
|
+
});
|
|
12
|
+
//# sourceMappingURL=custom-field-section.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"custom-field-section.mjs","sourceRoot":"","sources":["../../../src/lib/manifest/definitions/custom-field-section.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,WAAW,EAAE,qBAAqB,EAA4B,wBAAoB;AAC5G,OAAO,EAAE,kBAAkB,EAAgC,oCAAgC;AAe3F,MAAM,UAAU,wBAAwB,CACtC,KAA4C;IAE5C,IAAI,CAAC,8BAA8B,CAAC,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC;QACrD,MAAM,IAAI,KAAK,CACb,2HAA2H,KAAK,CAAC,OAAO,EAAE,CAC3I,CAAC;IACJ,OAAO,2BAA2B,CAAC,QAAQ,CACzC,WAAW,CACT,IAAI,kBAAkB,CAAC,qBAAqB,EAAE,EAAE,GAAG,KAAK,EAAE,SAAS,EAAE,KAAK,CAAC,OAAO,EAAE,CAAC,EACrF,KAAK,CAAC,OAAO,EACb,EAAE,UAAU,EAAE,KAAK,CAAC,SAAS,EAAE,CACgB,EACjD,KAAK,CACN,CAAC;AACJ,CAAC;AAID,MAAM,2BAA2B,GAAyD,eAAe,CAAC;IACxG,IAAI,EAAE,sBAAsB;IAC5B,MAAM,EAAE,wBAAwB;CACjC,CAAC,CAAC"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { CustomField, type CustomFieldProps } from "../custom-field.mjs";
|
|
2
|
+
import type { DefinedCustomFieldSection } from "./custom-field-section.mjs";
|
|
3
|
+
export type DefineCustomFieldProps<TModel extends string> = WithoutLegacyCustomFieldIdentity<CustomFieldProps<TModel>> & {
|
|
4
|
+
modelName: string;
|
|
5
|
+
section: DefinedCustomFieldSection<NoInfer<TModel>>;
|
|
6
|
+
};
|
|
7
|
+
export declare function defineCustomField<const TModel extends string>(props: DefineCustomFieldProps<TModel>): CustomField<TModel>;
|
|
8
|
+
type WithoutLegacyCustomFieldIdentity<T> = T extends unknown ? Omit<T, 'fieldId' | 'section'> : never;
|
|
9
|
+
export {};
|
|
10
|
+
//# sourceMappingURL=custom-field.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"custom-field.d.mts","sourceRoot":"","sources":["../../../src/lib/manifest/definitions/custom-field.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,WAAW,EAAE,KAAK,gBAAgB,EAAE,4BAAwB;AACrE,OAAO,KAAK,EAAE,yBAAyB,EAAE,mCAA+B;AAExE,MAAM,MAAM,sBAAsB,CAAC,MAAM,SAAS,MAAM,IAAI,gCAAgC,CAC1F,gBAAgB,CAAC,MAAM,CAAC,CACzB,GAAG;IAAE,SAAS,EAAE,MAAM,CAAC;IAAC,OAAO,EAAE,yBAAyB,CAAC,OAAO,CAAC,MAAM,CAAC,CAAC,CAAA;CAAE,CAAC;AAE/E,wBAAgB,iBAAiB,CAAC,KAAK,CAAC,MAAM,SAAS,MAAM,EAC3D,KAAK,EAAE,sBAAsB,CAAC,MAAM,CAAC,GACpC,WAAW,CAAC,MAAM,CAAC,CAarB;AAED,KAAK,gCAAgC,CAAC,CAAC,IAAI,CAAC,SAAS,OAAO,GAAG,IAAI,CAAC,CAAC,EAAE,SAAS,GAAG,SAAS,CAAC,GAAG,KAAK,CAAC"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { CustomField, type CustomFieldProps } from "../custom-field.js";
|
|
2
|
+
import type { DefinedCustomFieldSection } from "./custom-field-section.js";
|
|
3
|
+
export type DefineCustomFieldProps<TModel extends string> = WithoutLegacyCustomFieldIdentity<CustomFieldProps<TModel>> & {
|
|
4
|
+
modelName: string;
|
|
5
|
+
section: DefinedCustomFieldSection<NoInfer<TModel>>;
|
|
6
|
+
};
|
|
7
|
+
export declare function defineCustomField<const TModel extends string>(props: DefineCustomFieldProps<TModel>): CustomField<TModel>;
|
|
8
|
+
type WithoutLegacyCustomFieldIdentity<T> = T extends unknown ? Omit<T, 'fieldId' | 'section'> : never;
|
|
9
|
+
export {};
|
|
10
|
+
//# sourceMappingURL=custom-field.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"custom-field.d.ts","sourceRoot":"","sources":["../../../src/lib/manifest/definitions/custom-field.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,WAAW,EAAE,KAAK,gBAAgB,EAAE,2BAAwB;AACrE,OAAO,KAAK,EAAE,yBAAyB,EAAE,kCAA+B;AAExE,MAAM,MAAM,sBAAsB,CAAC,MAAM,SAAS,MAAM,IAAI,gCAAgC,CAC1F,gBAAgB,CAAC,MAAM,CAAC,CACzB,GAAG;IAAE,SAAS,EAAE,MAAM,CAAC;IAAC,OAAO,EAAE,yBAAyB,CAAC,OAAO,CAAC,MAAM,CAAC,CAAC,CAAA;CAAE,CAAC;AAE/E,wBAAgB,iBAAiB,CAAC,KAAK,CAAC,MAAM,SAAS,MAAM,EAC3D,KAAK,EAAE,sBAAsB,CAAC,MAAM,CAAC,GACpC,WAAW,CAAC,MAAM,CAAC,CAarB;AAED,KAAK,gCAAgC,CAAC,CAAC,IAAI,CAAC,SAAS,OAAO,GAAG,IAAI,CAAC,CAAC,EAAE,SAAS,GAAG,SAAS,CAAC,GAAG,KAAK,CAAC"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.defineCustomField = defineCustomField;
|
|
4
|
+
const component_1 = require("./component.js");
|
|
5
|
+
const custom_field_1 = require("../custom-field.js");
|
|
6
|
+
function defineCustomField(props) {
|
|
7
|
+
return customFieldComponent.register((0, component_1.withApiName)(new custom_field_1.CustomField(component_1.detachedManifestScope, {
|
|
8
|
+
...props,
|
|
9
|
+
...(props.rqlDefinitionFormula == null ? { collectDuring: props.collectDuring ?? 'NONE' } : {}),
|
|
10
|
+
fieldId: props.apiName,
|
|
11
|
+
}), props.apiName, { model_name: props.modelName }), props);
|
|
12
|
+
}
|
|
13
|
+
const customFieldComponent = (0, component_1.defineComponent)({
|
|
14
|
+
type: 'CUSTOM_FIELD_V2',
|
|
15
|
+
define: defineCustomField,
|
|
16
|
+
references: (_definition, props) => [props.section],
|
|
17
|
+
});
|
|
18
|
+
//# sourceMappingURL=custom-field.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"custom-field.js","sourceRoot":"","sources":["../../../src/lib/manifest/definitions/custom-field.ts"],"names":[],"mappings":";;AAQA,8CAeC;AAvBD,8CAA4G;AAC5G,qDAAqE;AAOrE,SAAgB,iBAAiB,CAC/B,KAAqC;IAErC,OAAO,oBAAoB,CAAC,QAAQ,CAClC,IAAA,uBAAW,EACT,IAAI,0BAAW,CAAC,iCAAqB,EAAE;QACrC,GAAG,KAAK;QACR,GAAG,CAAC,KAAK,CAAC,oBAAoB,IAAI,IAAI,CAAC,CAAC,CAAC,EAAE,aAAa,EAAE,KAAK,CAAC,aAAa,IAAI,MAAM,EAAE,CAAC,CAAC,CAAC,EAAE,CAAC;QAC/F,OAAO,EAAE,KAAK,CAAC,OAAO;KACgB,CAAC,EACzC,KAAK,CAAC,OAAO,EACb,EAAE,UAAU,EAAE,KAAK,CAAC,SAAS,EAAE,CAChC,EACD,KAAK,CACN,CAAC;AACJ,CAAC;AAID,MAAM,oBAAoB,GAAkD,IAAA,2BAAe,EAAC;IAC1F,IAAI,EAAE,iBAAiB;IACvB,MAAM,EAAE,iBAAiB;IACzB,UAAU,EAAE,CAAC,WAAW,EAAE,KAAK,EAAE,EAAE,CAAC,CAAC,KAAK,CAAC,OAAO,CAAC;CACpD,CAAC,CAAC"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { defineComponent, withApiName, detachedManifestScope } from "./component.mjs";
|
|
2
|
+
import { CustomField } from "../custom-field.mjs";
|
|
3
|
+
export function defineCustomField(props) {
|
|
4
|
+
return customFieldComponent.register(withApiName(new CustomField(detachedManifestScope, {
|
|
5
|
+
...props,
|
|
6
|
+
...(props.rqlDefinitionFormula == null ? { collectDuring: props.collectDuring ?? 'NONE' } : {}),
|
|
7
|
+
fieldId: props.apiName,
|
|
8
|
+
}), props.apiName, { model_name: props.modelName }), props);
|
|
9
|
+
}
|
|
10
|
+
const customFieldComponent = defineComponent({
|
|
11
|
+
type: 'CUSTOM_FIELD_V2',
|
|
12
|
+
define: defineCustomField,
|
|
13
|
+
references: (_definition, props) => [props.section],
|
|
14
|
+
});
|
|
15
|
+
//# sourceMappingURL=custom-field.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"custom-field.mjs","sourceRoot":"","sources":["../../../src/lib/manifest/definitions/custom-field.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,WAAW,EAAE,qBAAqB,EAA4B,wBAAoB;AAC5G,OAAO,EAAE,WAAW,EAAyB,4BAAwB;AAOrE,MAAM,UAAU,iBAAiB,CAC/B,KAAqC;IAErC,OAAO,oBAAoB,CAAC,QAAQ,CAClC,WAAW,CACT,IAAI,WAAW,CAAC,qBAAqB,EAAE;QACrC,GAAG,KAAK;QACR,GAAG,CAAC,KAAK,CAAC,oBAAoB,IAAI,IAAI,CAAC,CAAC,CAAC,EAAE,aAAa,EAAE,KAAK,CAAC,aAAa,IAAI,MAAM,EAAE,CAAC,CAAC,CAAC,EAAE,CAAC;QAC/F,OAAO,EAAE,KAAK,CAAC,OAAO;KACgB,CAAC,EACzC,KAAK,CAAC,OAAO,EACb,EAAE,UAAU,EAAE,KAAK,CAAC,SAAS,EAAE,CAChC,EACD,KAAK,CACN,CAAC;AACJ,CAAC;AAID,MAAM,oBAAoB,GAAkD,eAAe,CAAC;IAC1F,IAAI,EAAE,iBAAiB;IACvB,MAAM,EAAE,iBAAiB;IACzB,UAAU,EAAE,CAAC,WAAW,EAAE,KAAK,EAAE,EAAE,CAAC,CAAC,KAAK,CAAC,OAAO,CAAC;CACpD,CAAC,CAAC"}
|
|
@@ -0,0 +1,162 @@
|
|
|
1
|
+
import { CustomObject, type CustomObjectStandardFieldIdentifier } from "../custom-object.mjs";
|
|
2
|
+
import { Field } from "../field.mjs";
|
|
3
|
+
import { CustomObjectFieldSection } from "../custom-object-field-section.mjs";
|
|
4
|
+
import type { RipplingSDK } from "../../../client.mjs";
|
|
5
|
+
import { extendCustomObject as extendObject } from "../../../core/platform/custom-objects/definition.mjs";
|
|
6
|
+
import type { CustomObjectCategoryDefinition } from "../../../core/platform/custom-objects/category.mjs";
|
|
7
|
+
import type { CustomObjectRecordsClient, TypedBatchWriteOptions, TypedRecordPageOptions, TypedRecordQueryOptions, TypedRecordPage, TypedRecordWriteResult } from "../../../core/platform/custom-objects/manager.mjs";
|
|
8
|
+
import { type RqlFieldToken, type RqlComparableValue, type RqlFragment } from "../../../core/platform/custom-objects/rql.mjs";
|
|
9
|
+
import type { AnyCustomObjectDefinition, CustomObjectDefinition, FieldDefinitions, SectionDefinitions, NameFieldDefinition, RecordShape, LogicalCustomObjectName, LogicalCategoryName } from "../../../core/platform/custom-objects/types.mjs";
|
|
10
|
+
import type { RequestOptions } from "../../../internal/request-options.mjs";
|
|
11
|
+
import type { FieldListParams, CustomObjectField, CustomObjectFieldsPageCursorURL } from "../../../resources/custom-objects/fields.mjs";
|
|
12
|
+
import type { CustomObject as DeployedCustomObject } from "../../../resources/custom-objects/custom-objects.mjs";
|
|
13
|
+
import type { APIPromise } from "../../../core/api-promise.mjs";
|
|
14
|
+
import type { PagePromise } from "../../../core/pagination.mjs";
|
|
15
|
+
import type { ValueParser } from "./function.mjs";
|
|
16
|
+
import { type ObjectCreateInput, type ObjectUpdateInput, type ObjectBulkUpdateInput } from "./_object-records.mjs";
|
|
17
|
+
export type { ObjectCreateInput, ObjectUpdateInput, ObjectBulkUpdateInput } from "./_object-records.mjs";
|
|
18
|
+
export type DefineCustomObjectProps<A extends `${string}__c`, F extends FieldDefinitions, C extends string = `${Unsuffixed<A>}_category`, S extends SectionDefinitions = {}, N extends NameFieldDefinition = {
|
|
19
|
+
kind: 'text';
|
|
20
|
+
}> = Omit<ObjectOptions<S, F, N>, 'pluralLabel'> & {
|
|
21
|
+
apiName: A;
|
|
22
|
+
name: string;
|
|
23
|
+
pluralName?: string;
|
|
24
|
+
category?: CategoryInput<C>;
|
|
25
|
+
};
|
|
26
|
+
export type DefinedCustomObject<D extends {
|
|
27
|
+
fields: object;
|
|
28
|
+
apiName: string;
|
|
29
|
+
}> = Omit<D, 'fields' | 'inputs' | 'records' | 'schema'> & {
|
|
30
|
+
readonly fields: {
|
|
31
|
+
readonly [K in keyof D['fields']]: Omit<D['fields'][K], 'apiName'> & {
|
|
32
|
+
readonly apiName: `${Unsuffixed<Extract<K, string>>}__c`;
|
|
33
|
+
readonly objectApiName: D['apiName'];
|
|
34
|
+
};
|
|
35
|
+
};
|
|
36
|
+
readonly records: D extends AnyCustomObjectDefinition ? Readonly<ObjectRecords<D>> : never;
|
|
37
|
+
readonly schema: D extends AnyCustomObjectDefinition ? Readonly<ObjectSchema> : never;
|
|
38
|
+
readonly inputs: D extends AnyCustomObjectDefinition ? {
|
|
39
|
+
readonly create: ValueParser<ObjectCreateInput<D>>;
|
|
40
|
+
readonly update: ValueParser<ObjectUpdateInput<D>>;
|
|
41
|
+
} : never;
|
|
42
|
+
};
|
|
43
|
+
/** Authenticated records transport supplied at the operation's call site. */
|
|
44
|
+
export interface ObjectRecordsContext {
|
|
45
|
+
readonly customObjects: {
|
|
46
|
+
readonly records: CustomObjectRecordsClient;
|
|
47
|
+
};
|
|
48
|
+
}
|
|
49
|
+
/** Schema resources supplied at the operation's call site. */
|
|
50
|
+
export interface ObjectSchemaContext {
|
|
51
|
+
readonly customObjects: Pick<RipplingSDK['customObjects'], 'retrieve' | 'fields'>;
|
|
52
|
+
}
|
|
53
|
+
export type ObjectRecordListOptions<D extends AnyCustomObjectDefinition> = TypedRecordPageOptions & {
|
|
54
|
+
where?: ObjectFilter<D['apiName']>;
|
|
55
|
+
};
|
|
56
|
+
/** Typed record operations; writes return readable records or ID-only receipts. Supply an authenticated client at each call. */
|
|
57
|
+
export interface ObjectRecords<D extends AnyCustomObjectDefinition> {
|
|
58
|
+
create(ctx: ObjectRecordsContext, input: ObjectCreateInput<D>): Promise<TypedRecordWriteResult<D>>;
|
|
59
|
+
createMany(ctx: ObjectRecordsContext, rows: readonly ObjectCreateInput<D>[], options?: TypedBatchWriteOptions): Promise<readonly TypedRecordWriteResult<D>[]>;
|
|
60
|
+
get(ctx: ObjectRecordsContext, recordID: string): Promise<RecordShape<D>>;
|
|
61
|
+
getByExternalID(ctx: ObjectRecordsContext, externalID: string): Promise<RecordShape<D>>;
|
|
62
|
+
update(ctx: ObjectRecordsContext, recordID: string, patch: ObjectUpdateInput<D>): Promise<TypedRecordWriteResult<D>>;
|
|
63
|
+
updateMany(ctx: ObjectRecordsContext, rows: readonly ObjectBulkUpdateInput<D>[], options?: TypedBatchWriteOptions): Promise<readonly TypedRecordWriteResult<D>[]>;
|
|
64
|
+
delete(ctx: ObjectRecordsContext, recordID: string): Promise<void>;
|
|
65
|
+
deleteMany(ctx: ObjectRecordsContext, recordIDs: readonly string[], options?: TypedBatchWriteOptions): Promise<void>;
|
|
66
|
+
/** List records with optional typed filters and cursor pagination. */
|
|
67
|
+
list(ctx: ObjectRecordsContext, options?: ObjectRecordListOptions<D>): Promise<TypedRecordPage<D>>;
|
|
68
|
+
/** Run a raw RQL filter with cursor pagination. */
|
|
69
|
+
query(ctx: ObjectRecordsContext, options?: TypedRecordQueryOptions): Promise<TypedRecordPage<D>>;
|
|
70
|
+
}
|
|
71
|
+
/** Deployed object metadata, separate from the local field definitions. */
|
|
72
|
+
export interface ObjectSchema {
|
|
73
|
+
retrieve(ctx: ObjectSchemaContext, options?: RequestOptions): APIPromise<DeployedCustomObject>;
|
|
74
|
+
readonly fields: Readonly<ObjectSchemaFields>;
|
|
75
|
+
}
|
|
76
|
+
export interface ObjectSchemaFields {
|
|
77
|
+
list(ctx: ObjectSchemaContext, params?: FieldListParams, options?: RequestOptions): PagePromise<CustomObjectFieldsPageCursorURL, CustomObjectField>;
|
|
78
|
+
}
|
|
79
|
+
export interface CustomObjectOperations<D extends AnyCustomObjectDefinition> {
|
|
80
|
+
readonly records: Readonly<ObjectRecords<D>>;
|
|
81
|
+
readonly schema: Readonly<ObjectSchema>;
|
|
82
|
+
}
|
|
83
|
+
/** The same operations with the authenticated client supplied by client.objects(definition). */
|
|
84
|
+
export interface ObjectClient<D extends AnyCustomObjectDefinition> {
|
|
85
|
+
create(input: ObjectCreateInput<D>): Promise<TypedRecordWriteResult<D>>;
|
|
86
|
+
createMany(rows: readonly ObjectCreateInput<D>[], options?: TypedBatchWriteOptions): Promise<readonly TypedRecordWriteResult<D>[]>;
|
|
87
|
+
get(recordID: string): Promise<RecordShape<D>>;
|
|
88
|
+
getByExternalID(externalID: string): Promise<RecordShape<D>>;
|
|
89
|
+
update(recordID: string, patch: ObjectUpdateInput<D>): Promise<TypedRecordWriteResult<D>>;
|
|
90
|
+
updateMany(rows: readonly ObjectBulkUpdateInput<D>[], options?: TypedBatchWriteOptions): Promise<readonly TypedRecordWriteResult<D>[]>;
|
|
91
|
+
delete(recordID: string): Promise<void>;
|
|
92
|
+
deleteMany(recordIDs: readonly string[], options?: TypedBatchWriteOptions): Promise<void>;
|
|
93
|
+
list(options?: ObjectRecordListOptions<D>): Promise<TypedRecordPage<D>>;
|
|
94
|
+
query(options?: TypedRecordQueryOptions): Promise<TypedRecordPage<D>>;
|
|
95
|
+
schema: {
|
|
96
|
+
retrieve(options?: RequestOptions): APIPromise<DeployedCustomObject>;
|
|
97
|
+
};
|
|
98
|
+
fields: {
|
|
99
|
+
list(params?: FieldListParams, options?: RequestOptions): PagePromise<CustomObjectFieldsPageCursorURL, CustomObjectField>;
|
|
100
|
+
};
|
|
101
|
+
}
|
|
102
|
+
export type ObjectFilter<A extends string> = RqlFragment & {
|
|
103
|
+
readonly [filterOwner]: A;
|
|
104
|
+
};
|
|
105
|
+
export declare function defineCustomObject<const A extends `${string}__c`, const F extends FieldDefinitions, C extends string = `${Unsuffixed<A>}_category`, S extends SectionDefinitions = {}, N extends NameFieldDefinition = {
|
|
106
|
+
kind: 'text';
|
|
107
|
+
}>(props: DefineCustomObjectProps<A, F, C, S, N>): DefinedCustomObject<CustomObjectDefinition<LogicalCustomObjectName<Unsuffixed<A>>, LogicalCategoryName<C>, S, F, N>>;
|
|
108
|
+
/** Existing extension semantics, with the same additive field tokens and parsers. */
|
|
109
|
+
export declare function extendCustomObject<B extends AnyCustomObjectDefinition, S extends SectionDefinitions = {}, F extends FieldDefinitions = {}>(base: B, extension: Omit<Parameters<typeof extendObject<B, S, F>>[1], 'fields'> & {
|
|
110
|
+
fields?: Extract<keyof B['fields'], keyof F> extends never ? F & ApiNamedMap<F> : never;
|
|
111
|
+
sections?: ApiNamedMap<S>;
|
|
112
|
+
}): DefinedCustomObject<ReturnType<typeof extendObject<B, S, F>>>;
|
|
113
|
+
export declare const eq: <T, const A extends string>(field: FieldToken<T, A>, value: RqlComparableValue<NoInfer<T>> | null) => ObjectFilter<A>;
|
|
114
|
+
export declare const ne: <T, const A extends string>(field: FieldToken<T, A>, value: RqlComparableValue<NoInfer<T>> | null) => ObjectFilter<A>;
|
|
115
|
+
export declare const lt: <T extends string | number, const A extends string>(field: FieldToken<T | null, A>, value: NoInfer<T>) => ObjectFilter<A>;
|
|
116
|
+
export declare const lte: <T extends string | number, const A extends string>(field: FieldToken<T | null, A>, value: NoInfer<T>) => ObjectFilter<A>;
|
|
117
|
+
export declare const gt: <T extends string | number, const A extends string>(field: FieldToken<T | null, A>, value: NoInfer<T>) => ObjectFilter<A>;
|
|
118
|
+
export declare const gte: <T extends string | number, const A extends string>(field: FieldToken<T | null, A>, value: NoInfer<T>) => ObjectFilter<A>;
|
|
119
|
+
export declare const inArray: <T, const A extends string>(field: FieldToken<T, A>, values: readonly RqlComparableValue<NoInfer<T>>[]) => ObjectFilter<A>;
|
|
120
|
+
export declare const notInArray: <T, const A extends string>(field: FieldToken<T, A>, values: readonly RqlComparableValue<NoInfer<T>>[]) => ObjectFilter<A>;
|
|
121
|
+
export declare const isNull: <T, const A extends string>(field: FieldToken<T, A>) => ObjectFilter<A>;
|
|
122
|
+
export declare const isNotNull: <T, const A extends string>(field: FieldToken<T, A>) => ObjectFilter<A>;
|
|
123
|
+
export declare const and: <const A extends string>(first: ObjectFilter<A>, ...rest: ObjectFilter<NoInfer<A>>[]) => ObjectFilter<A>;
|
|
124
|
+
export declare const or: <const A extends string>(first: ObjectFilter<A>, ...rest: ObjectFilter<NoInfer<A>>[]) => ObjectFilter<A>;
|
|
125
|
+
export declare const not: <const A extends string>(filter: ObjectFilter<A>) => ObjectFilter<A>;
|
|
126
|
+
type Unsuffixed<N extends string> = N extends `${infer Name}__c` ? Name : N;
|
|
127
|
+
type ApiNamedMap<T> = {
|
|
128
|
+
[K in keyof T]: string extends K ? T[K] : K extends `${string}__c` ? T[K] : never;
|
|
129
|
+
};
|
|
130
|
+
type CategoryInput<N extends string> = `${N}__c` | CustomObjectCategoryDefinition<LogicalCategoryName<N>>;
|
|
131
|
+
type ObjectOptions<S extends SectionDefinitions, F extends FieldDefinitions, N extends NameFieldDefinition> = Pick<AnyCustomObjectDefinition, 'description' | 'pluralLabel' | 'icon' | 'ownerRole' | 'enableHistory'> & {
|
|
132
|
+
sections?: S & ApiNamedMap<S>;
|
|
133
|
+
fields: F & ApiNamedMap<F> & {
|
|
134
|
+
[K in keyof F]: string extends Exclude<F[K]['section'], undefined> ? F[K] : Exclude<F[K]['section'], undefined> extends keyof NoInfer<S> ? F[K] : never;
|
|
135
|
+
};
|
|
136
|
+
nameField?: N;
|
|
137
|
+
};
|
|
138
|
+
/** @internal Forward client helpers to the definition operations. */
|
|
139
|
+
export declare function createObjectClient<D extends AnyCustomObjectDefinition>(ctx: ObjectRecordsContext & ObjectSchemaContext, definition: D): ObjectClient<D>;
|
|
140
|
+
declare const filterOwner: unique symbol;
|
|
141
|
+
type FieldToken<T, A extends string> = Pick<RqlFieldToken<T>, 'apiName' | '__valueType__'> & {
|
|
142
|
+
readonly objectApiName: A;
|
|
143
|
+
};
|
|
144
|
+
declare const objectScope: unique symbol;
|
|
145
|
+
/** Carry parent identity through helpers while still accepting existing constructor instances. */
|
|
146
|
+
export type ObjectScoped<TObject extends ObjectReference, TDefinition> = TDefinition & {
|
|
147
|
+
readonly [objectScope]: TObject['apiName'];
|
|
148
|
+
};
|
|
149
|
+
export declare function scopedDefinition<TObject extends ObjectReference, TDefinition extends object>(_object: TObject, definition: TDefinition): ObjectScoped<TObject, TDefinition>;
|
|
150
|
+
export declare function fieldReferences<TObject extends ObjectReference>(owner: TObject, field: DefinitionFieldReference<TObject>): object[];
|
|
151
|
+
/** Keep dependency collection in sync with layout-driven field moves. */
|
|
152
|
+
export declare function trackFieldSection<T extends Field>(field: T, section: CustomObjectFieldSection): T;
|
|
153
|
+
export declare function fieldSectionReferences(field: Field): object[];
|
|
154
|
+
export type ObjectReference = AnyCustomObjectDefinition;
|
|
155
|
+
export type DefinitionFieldReference<TObject extends ObjectReference> = TObject['fields'][keyof TObject['fields']] | ObjectScoped<TObject, Field> | CustomObjectStandardFieldIdentifier;
|
|
156
|
+
export type SectionReference<TObject extends ObjectReference> = ObjectScoped<TObject, CustomObjectFieldSection> | Extract<keyof TObject['sections'], string> | 'general';
|
|
157
|
+
export declare function manifestSection<TObject extends ObjectReference>(object: TObject, reference: SectionReference<TObject>): CustomObjectFieldSection;
|
|
158
|
+
/** References and compilation reuse one materialized schema; authored children remain explicit roots. */
|
|
159
|
+
export declare function manifestObject(reference: ObjectReference): CustomObject;
|
|
160
|
+
/** Adapts a typed schema field to the existing layout, view, and rule component APIs. */
|
|
161
|
+
export declare function manifestField<TObject extends ObjectReference>(object: TObject, field: NoInfer<DefinitionFieldReference<TObject>>): Field;
|
|
162
|
+
//# sourceMappingURL=custom-object.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"custom-object.d.mts","sourceRoot":"","sources":["../../../src/lib/manifest/definitions/custom-object.ts"],"names":[],"mappings":"AAKA,OAAO,EACL,YAAY,EAEZ,KAAK,mCAAmC,EACzC,6BAAyB;AAC1B,OAAO,EAAE,KAAK,EAAE,qBAAiB;AACjC,OAAO,EAAE,wBAAwB,EAAE,2CAAuC;AAG1E,OAAO,KAAK,EAAE,WAAW,EAAE,4BAAwB;AACnD,OAAO,EAEL,kBAAkB,IAAI,YAAY,EACnC,6DAAyD;AAC1D,OAAO,KAAK,EAAE,8BAA8B,EAAE,2DAAuD;AACrG,OAAO,KAAK,EACV,yBAAyB,EACzB,sBAAsB,EACtB,sBAAsB,EACtB,uBAAuB,EACvB,eAAe,EACf,sBAAsB,EACvB,0DAAsD;AACvD,OAAO,EAEL,KAAK,aAAa,EAClB,KAAK,kBAAkB,EACvB,KAAK,WAAW,EACjB,sDAAkD;AACnD,OAAO,KAAK,EACV,yBAAyB,EAEzB,sBAAsB,EACtB,gBAAgB,EAChB,kBAAkB,EAClB,mBAAmB,EACnB,WAAW,EACX,uBAAuB,EACvB,mBAAmB,EACpB,wDAAoD;AACrD,OAAO,KAAK,EAAE,cAAc,EAAE,8CAA0C;AACxE,OAAO,KAAK,EACV,eAAe,EACf,iBAAiB,EACjB,+BAA+B,EAChC,qDAAiD;AAClD,OAAO,KAAK,EAAE,YAAY,IAAI,oBAAoB,EAAE,6DAAyD;AAC7G,OAAO,KAAK,EAAE,UAAU,EAAE,sCAAkC;AAC5D,OAAO,KAAK,EAAE,WAAW,EAAE,qCAAiC;AAY5D,OAAO,KAAK,EAAE,WA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