@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,38 @@
|
|
|
1
|
+
import * as legacy from "../../../core/platform/custom-objects/fields.js";
|
|
2
|
+
import type { TextFieldDefinition, NumberFieldDefinition, RadioFieldDefinition } from "../../../core/platform/custom-objects/types.js";
|
|
3
|
+
import { Field, type FieldProps } from "../field.js";
|
|
4
|
+
import { type ObjectScoped, type ObjectReference, type SectionReference } from "./custom-object.js";
|
|
5
|
+
export type DefineFieldProps<TObject extends ObjectReference> = Omit<FieldProps, 'section'> & {
|
|
6
|
+
section: SectionReference<NoInfer<TObject>>;
|
|
7
|
+
};
|
|
8
|
+
export declare function defineField<TObject extends ObjectReference>(object: TObject, props: DefineFieldProps<TObject>): ObjectScoped<TObject, Field>;
|
|
9
|
+
/** Field factories for reusable definitions. Existing standalone factories remain available. */
|
|
10
|
+
export declare const fields: Readonly<Omit<typeof legacy, 'text' | 'number'> & {
|
|
11
|
+
text: typeof text;
|
|
12
|
+
number: typeof number;
|
|
13
|
+
choice: typeof choice;
|
|
14
|
+
}>;
|
|
15
|
+
interface Presentation<TNullable extends boolean, TSection extends string | undefined = string | undefined> {
|
|
16
|
+
label: string;
|
|
17
|
+
description?: string;
|
|
18
|
+
nullable?: TNullable;
|
|
19
|
+
section?: TSection;
|
|
20
|
+
}
|
|
21
|
+
type Required<TNullable extends boolean> = TNullable extends true ? false : true;
|
|
22
|
+
type Rules<TNullable extends boolean> = {
|
|
23
|
+
readonly nullable: TNullable;
|
|
24
|
+
};
|
|
25
|
+
declare function text<const TNullable extends boolean = false, const TSection extends string | undefined = string | undefined>(props: Presentation<TNullable, TSection> & {
|
|
26
|
+
maxLength?: number;
|
|
27
|
+
unique?: boolean;
|
|
28
|
+
}): TextFieldDefinition<Required<TNullable>, TSection> & Rules<TNullable>;
|
|
29
|
+
declare function number<const TNullable extends boolean = false, const TSection extends string | undefined = string | undefined>(props: Presentation<TNullable, TSection> & {
|
|
30
|
+
decimalPlaces?: number;
|
|
31
|
+
}): NumberFieldDefinition<Required<TNullable>, TSection> & Rules<TNullable>;
|
|
32
|
+
declare function choice<const TOptions extends readonly string[], const TNullable extends boolean = false, const TSection extends string | undefined = string | undefined>(props: Presentation<TNullable, TSection> & {
|
|
33
|
+
options: TOptions;
|
|
34
|
+
}): Omit<RadioFieldDefinition<Required<TNullable>, TSection>, '__valueType__'> & {
|
|
35
|
+
readonly __valueType__?: TOptions[number];
|
|
36
|
+
} & Rules<TNullable>;
|
|
37
|
+
export {};
|
|
38
|
+
//# sourceMappingURL=field.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"field.d.ts","sourceRoot":"","sources":["../../../src/lib/manifest/definitions/field.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,wDAAqD;AACvE,OAAO,KAAK,EACV,mBAAmB,EACnB,qBAAqB,EACrB,oBAAoB,EACrB,uDAAoD;AAErD,OAAO,EAAE,KAAK,EAAE,KAAK,UAAU,EAAE,oBAAiB;AAClD,OAAO,EAEL,KAAK,YAAY,EAKjB,KAAK,eAAe,EACpB,KAAK,gBAAgB,EACtB,2BAAwB;AAEzB,MAAM,MAAM,gBAAgB,CAAC,OAAO,SAAS,eAAe,IAAI,IAAI,CAAC,UAAU,EAAE,SAAS,CAAC,GAAG;IAC5F,OAAO,EAAE,gBAAgB,CAAC,OAAO,CAAC,OAAO,CAAC,CAAC,CAAC;CA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AC,SAAS,CAAC,CAMvE;AAED,iBAAS,MAAM,CACb,KAAK,CAAC,SAAS,SAAS,OAAO,GAAG,KAAK,EACvC,KAAK,CAAC,QAAQ,SAAS,MAAM,GAAG,SAAS,GAAG,MAAM,GAAG,SAAS,EAE9D,KAAK,EAAE,YAAY,CAAC,SAAS,EAAE,QAAQ,CAAC,GAAG;IAAE,aAAa,CAAC,EAAE,MAAM,CAAA;CAAE,GACpE,qBAAqB,CAAC,QAAQ,CAAC,SAAS,CAAC,EAAE,QAAQ,CAAC,GAAG,KAAK,CAAC,SAAS,CAAC,CAMzE;AAED,iBAAS,MAAM,CACb,KAAK,CAAC,QAAQ,SAAS,SAAS,MAAM,EAAE,EACxC,KAAK,CAAC,SAAS,SAAS,OAAO,GAAG,KAAK,EACvC,KAAK,CAAC,QAAQ,SAAS,MAAM,GAAG,SAAS,GAAG,MAAM,GAAG,SAAS,EAE9D,KAAK,EAAE,YAAY,CAAC,SAAS,EAAE,QAAQ,CAAC,GAAG;IAAE,OAAO,EAAE,QAAQ,CAAA;CAAE,GAC/D,IAAI,CAAC,oBAAoB,CAAC,QAAQ,CAAC,SAAS,CAAC,EAAE,QAAQ,CAAC,EAAE,eAAe,CAAC,GAAG;IAC9E,QAAQ,CAAC,aAAa,CAAC,EAAE,QAAQ,CAAC,MAAM,CAAC,CAAC;CAC3C,GAAG,KAAK,CAAC,SAAS,CAAC,CAKnB"}
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.fields = void 0;
|
|
4
|
+
exports.defineField = defineField;
|
|
5
|
+
const tslib_1 = require("../../../internal/tslib.js");
|
|
6
|
+
const legacy = tslib_1.__importStar(require("../../../core/platform/custom-objects/fields.js"));
|
|
7
|
+
const component_1 = require("./component.js");
|
|
8
|
+
const field_1 = require("../field.js");
|
|
9
|
+
const custom_object_1 = require("./custom-object.js");
|
|
10
|
+
function defineField(object, props) {
|
|
11
|
+
const section = (0, custom_object_1.manifestSection)(object, props.section);
|
|
12
|
+
const field = (0, custom_object_1.scopedDefinition)(object, (0, custom_object_1.trackFieldSection)(new field_1.Field((0, custom_object_1.manifestObject)(object), { ...props, section }), section));
|
|
13
|
+
return fieldComponent.register(field, object, props);
|
|
14
|
+
}
|
|
15
|
+
/** Field factories for reusable definitions. Existing standalone factories remain available. */
|
|
16
|
+
exports.fields = Object.freeze({ ...legacy, text, number, choice });
|
|
17
|
+
const fieldComponent = (0, component_1.defineComponent)({
|
|
18
|
+
type: 'CUSTOM_OBJECT_FIELD',
|
|
19
|
+
define: defineField,
|
|
20
|
+
references: (definition, object, props) => () => [
|
|
21
|
+
object,
|
|
22
|
+
...(0, custom_object_1.fieldSectionReferences)(definition),
|
|
23
|
+
...(props.summarySpec == null ?
|
|
24
|
+
[]
|
|
25
|
+
: [
|
|
26
|
+
props.summarySpec.aggregates,
|
|
27
|
+
props.summarySpec.lookup,
|
|
28
|
+
...props.summarySpec.filters.map((filter) => filter.field),
|
|
29
|
+
]),
|
|
30
|
+
],
|
|
31
|
+
});
|
|
32
|
+
function presentation(props) {
|
|
33
|
+
return {
|
|
34
|
+
displayName: props.label,
|
|
35
|
+
description: props.description ?? '',
|
|
36
|
+
required: !props.nullable,
|
|
37
|
+
nullable: (props.nullable ?? false),
|
|
38
|
+
...(props.section !== undefined ? { section: props.section } : {}),
|
|
39
|
+
};
|
|
40
|
+
}
|
|
41
|
+
function text(props) {
|
|
42
|
+
return legacy.text({ ...props, ...presentation(props) });
|
|
43
|
+
}
|
|
44
|
+
function number(props) {
|
|
45
|
+
return legacy.number({ ...props, ...presentation(props) });
|
|
46
|
+
}
|
|
47
|
+
function choice(props) {
|
|
48
|
+
return legacy.radio({ ...props, ...presentation(props) });
|
|
49
|
+
}
|
|
50
|
+
//# sourceMappingURL=field.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"field.js","sourceRoot":"","sources":["../../../src/lib/manifest/defin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S,YAAY,CACnB,KAAwC;IAExC,OAAO;QACL,WAAW,EAAE,KAAK,CAAC,KAAK;QACxB,WAAW,EAAE,KAAK,CAAC,WAAW,IAAI,EAAE;QACpC,QAAQ,EAAE,CAAC,KAAK,CAAC,QAA+B;QAChD,QAAQ,EAAE,CAAC,KAAK,CAAC,QAAQ,IAAI,KAAK,CAAc;QAChD,GAAG,CAAC,KAAK,CAAC,OAAO,KAAK,SAAS,CAAC,CAAC,CAAC,EAAE,OAAO,EAAE,KAAK,CAAC,OAAO,EAAE,CAAC,CAAC,CAAC,EAAE,CAAC;KACnE,CAAC;AACJ,CAAC;AAED,SAAS,IAAI,CAIX,KAAmF;IAEnF,OAAO,MAAM,CAAC,IAAI,CAAC,EAAE,GAAG,KAAK,EAAE,GAAG,YAAY,CAAC,KAAK,CAAC,EAAE,CAIrC,CAAC;AACrB,CAAC;AAED,SAAS,MAAM,CAIb,KAAqE;IAErE,OAAO,MAAM,CAAC,MAAM,CAAC,EAAE,GAAG,KAAK,EAAE,GAAG,YAAY,CAAC,KAAK,CAAC,EAAE,CAIvC,CAAC;AACrB,CAAC;AAED,SAAS,MAAM,CAKb,KAAgE;IAIhE,OAAO,MAAM,CAAC,KAAK,CAAC,EAAE,GAAG,KAAK,EAAE,GAAG,YAAY,CAAC,KAAK,CAAC,EAAE,CAGY,CAAC;AACvE,CAAC"}
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import * as legacy from "../../../core/platform/custom-objects/fields.mjs";
|
|
2
|
+
import { defineComponent } from "./component.mjs";
|
|
3
|
+
import { Field } from "../field.mjs";
|
|
4
|
+
import { scopedDefinition, manifestObject, manifestSection, trackFieldSection, fieldSectionReferences, } from "./custom-object.mjs";
|
|
5
|
+
export function defineField(object, props) {
|
|
6
|
+
const section = manifestSection(object, props.section);
|
|
7
|
+
const field = scopedDefinition(object, trackFieldSection(new Field(manifestObject(object), { ...props, section }), section));
|
|
8
|
+
return fieldComponent.register(field, object, props);
|
|
9
|
+
}
|
|
10
|
+
/** Field factories for reusable definitions. Existing standalone factories remain available. */
|
|
11
|
+
export const fields = Object.freeze({ ...legacy, text, number, choice });
|
|
12
|
+
const fieldComponent = defineComponent({
|
|
13
|
+
type: 'CUSTOM_OBJECT_FIELD',
|
|
14
|
+
define: defineField,
|
|
15
|
+
references: (definition, object, props) => () => [
|
|
16
|
+
object,
|
|
17
|
+
...fieldSectionReferences(definition),
|
|
18
|
+
...(props.summarySpec == null ?
|
|
19
|
+
[]
|
|
20
|
+
: [
|
|
21
|
+
props.summarySpec.aggregates,
|
|
22
|
+
props.summarySpec.lookup,
|
|
23
|
+
...props.summarySpec.filters.map((filter) => filter.field),
|
|
24
|
+
]),
|
|
25
|
+
],
|
|
26
|
+
});
|
|
27
|
+
function presentation(props) {
|
|
28
|
+
return {
|
|
29
|
+
displayName: props.label,
|
|
30
|
+
description: props.description ?? '',
|
|
31
|
+
required: !props.nullable,
|
|
32
|
+
nullable: (props.nullable ?? false),
|
|
33
|
+
...(props.section !== undefined ? { section: props.section } : {}),
|
|
34
|
+
};
|
|
35
|
+
}
|
|
36
|
+
function text(props) {
|
|
37
|
+
return legacy.text({ ...props, ...presentation(props) });
|
|
38
|
+
}
|
|
39
|
+
function number(props) {
|
|
40
|
+
return legacy.number({ ...props, ...presentation(props) });
|
|
41
|
+
}
|
|
42
|
+
function choice(props) {
|
|
43
|
+
return legacy.radio({ ...props, ...presentation(props) });
|
|
44
|
+
}
|
|
45
|
+
//# sourceMappingURL=field.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"field.mjs","sourceRoot":"","sources":["../../../src/lib/manifest/definitions/field.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,yDAAqD;AAMvE,OAAO,EAAE,eAAe,EAA4B,wBAAoB;AACxE,OAAO,EAAE,KAAK,EAAmB,qBAAiB;AAClD,OAAO,EACL,gBAAgB,EAEhB,cAAc,EACd,eAAe,EACf,iBAAiB,EACjB,sBAAsB,GAGvB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E;QACpC,QAAQ,EAAE,CAAC,KAAK,CAAC,QAA+B;QAChD,QAAQ,EAAE,CAAC,KAAK,CAAC,QAAQ,IAAI,KAAK,CAAc;QAChD,GAAG,CAAC,KAAK,CAAC,OAAO,KAAK,SAAS,CAAC,CAAC,CAAC,EAAE,OAAO,EAAE,KAAK,CAAC,OAAO,EAAE,CAAC,CAAC,CAAC,EAAE,CAAC;KACnE,CAAC;AACJ,CAAC;AAED,SAAS,IAAI,CAIX,KAAmF;IAEnF,OAAO,MAAM,CAAC,IAAI,CAAC,EAAE,GAAG,KAAK,EAAE,GAAG,YAAY,CAAC,KAAK,CAAC,EAAE,CAIrC,CAAC;AACrB,CAAC;AAED,SAAS,MAAM,CAIb,KAAqE;IAErE,OAAO,MAAM,CAAC,MAAM,CAAC,EAAE,GAAG,KAAK,EAAE,GAAG,YAAY,CAAC,KAAK,CAAC,EAAE,CAIvC,CAAC;AACrB,CAAC;AAED,SAAS,MAAM,CAKb,KAAgE;IAIhE,OAAO,MAAM,CAAC,KAAK,CAAC,EAAE,GAAG,KAAK,EAAE,GAAG,YAAY,CAAC,KAAK,CAAC,EAAE,CAGY,CAAC;AACvE,CAAC"}
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
import type { RipplingSDK } from "../../../client.mjs";
|
|
2
|
+
import { FunctionResponse, type FunctionContext } from "../../../functions.mjs";
|
|
3
|
+
import type { FunctionExecution, FunctionExecutionsPageCursorURL, ExecutionListLogsResponse } from "../../../resources/functions/executions.mjs";
|
|
4
|
+
import type { APIPromise } from "../../../core/api-promise.mjs";
|
|
5
|
+
import type { PagePromise } from "../../../core/pagination.mjs";
|
|
6
|
+
import { ManifestFunction, type ManifestFunctionProps } from "../manifest-function.mjs";
|
|
7
|
+
import type { RequestOptions } from "../../../internal/request-options.mjs";
|
|
8
|
+
import type { ExecutionListParams, ExecutionListLogsParams } from "../../../resources/functions/executions.mjs";
|
|
9
|
+
/** Parser shared by a function's caller and handler. */
|
|
10
|
+
export interface ValueParser<TValue> {
|
|
11
|
+
parse(value: unknown): TValue;
|
|
12
|
+
}
|
|
13
|
+
/** Authenticated execution resources supplied per call. */
|
|
14
|
+
export interface FunctionOperationsContext {
|
|
15
|
+
readonly functions: {
|
|
16
|
+
readonly executions: Pick<RipplingSDK['functions']['executions'], 'create' | 'list' | 'retrieve' | 'listLogs'>;
|
|
17
|
+
};
|
|
18
|
+
}
|
|
19
|
+
export interface DefinedFunctionProps<TInput, TOutput> extends ManifestFunctionProps {
|
|
20
|
+
/** Handler source file read unchanged by project export. Importing the definition performs no file I/O. */
|
|
21
|
+
source?: URL;
|
|
22
|
+
input?: ValueParser<TInput>;
|
|
23
|
+
output?: ValueParser<TOutput>;
|
|
24
|
+
}
|
|
25
|
+
/** Execution returned by a function with its declared input/output contract. */
|
|
26
|
+
export type FunctionExecutionResult<TInput, TOutput> = Omit<FunctionExecution, 'inputs' | 'outputs'> & {
|
|
27
|
+
inputs: TInput;
|
|
28
|
+
outputs?: TOutput;
|
|
29
|
+
};
|
|
30
|
+
export interface FunctionExecutions {
|
|
31
|
+
list(ctx: FunctionOperationsContext, params?: ExecutionListParams, options?: RequestOptions): PagePromise<FunctionExecutionsPageCursorURL, FunctionExecution>;
|
|
32
|
+
retrieve(ctx: FunctionOperationsContext, executionID: string, options?: RequestOptions): APIPromise<FunctionExecution>;
|
|
33
|
+
listLogs(ctx: FunctionOperationsContext, executionID: string, params?: Omit<ExecutionListLogsParams, 'function_api_name'>, options?: RequestOptions): APIPromise<ExecutionListLogsResponse>;
|
|
34
|
+
}
|
|
35
|
+
export interface FunctionClient<TInput, TOutput> {
|
|
36
|
+
execute(input: TInput, options?: RequestOptions): Promise<FunctionExecutionResult<TInput, TOutput>>;
|
|
37
|
+
executions: {
|
|
38
|
+
list(params?: ExecutionListParams, options?: RequestOptions): PagePromise<FunctionExecutionsPageCursorURL, FunctionExecution>;
|
|
39
|
+
retrieve(executionID: string, options?: RequestOptions): APIPromise<FunctionExecution>;
|
|
40
|
+
listLogs(executionID: string, params?: Omit<ExecutionListLogsParams, 'function_api_name'>, options?: RequestOptions): APIPromise<ExecutionListLogsResponse>;
|
|
41
|
+
};
|
|
42
|
+
}
|
|
43
|
+
export declare function defineFunction<TInput = unknown, TOutput = unknown>(props: DefinedFunctionProps<TInput, TOutput>): DefinedFunction<TInput, TOutput>;
|
|
44
|
+
/** A deployable function reference with the same input/output contract at each call site. */
|
|
45
|
+
export declare class DefinedFunction<TInput = unknown, TOutput = unknown> extends ManifestFunction {
|
|
46
|
+
private _source;
|
|
47
|
+
readonly input: ValueParser<TInput> | undefined;
|
|
48
|
+
readonly output: ValueParser<TOutput> | undefined;
|
|
49
|
+
readonly executions: FunctionExecutions;
|
|
50
|
+
constructor(props: DefinedFunctionProps<TInput, TOutput>);
|
|
51
|
+
get source(): URL | undefined;
|
|
52
|
+
/** Replaces inline code or a file-backed source with the supplied code. */
|
|
53
|
+
setCode(code: string): this;
|
|
54
|
+
/** Wraps a handler with the shared contract. Deployed source must be standalone or use declared npm dependencies. */
|
|
55
|
+
handler(handler: (input: TInput, context: FunctionContext) => TOutput | Promise<TOutput>): (event: TInput, context: FunctionContext) => Promise<FunctionResponse<TOutput>>;
|
|
56
|
+
/** Starts an execution. Asynchronous executions may not have outputs yet. */
|
|
57
|
+
execute(ctx: FunctionOperationsContext, input: TInput, options?: RequestOptions): Promise<FunctionExecutionResult<TInput, TOutput>>;
|
|
58
|
+
}
|
|
59
|
+
/** @internal Forward client helpers to the definition operations. */
|
|
60
|
+
export declare function createFunctionClient<TInput, TOutput>(ctx: FunctionOperationsContext, definition: DefinedFunction<TInput, TOutput>): FunctionClient<TInput, TOutput>;
|
|
61
|
+
//# sourceMappingURL=function.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"function.d.mts","sourceRoot":"","sources":["../../../src/lib/manifest/definitions/function.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,4BAAwB;AACnD,OAAO,EAAE,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3
|
+
import type { FunctionExecution, FunctionExecutionsPageCursorURL, ExecutionListLogsResponse } from "../../../resources/functions/executions.js";
|
|
4
|
+
import type { APIPromise } from "../../../core/api-promise.js";
|
|
5
|
+
import type { PagePromise } from "../../../core/pagination.js";
|
|
6
|
+
import { ManifestFunction, type ManifestFunctionProps } from "../manifest-function.js";
|
|
7
|
+
import type { RequestOptions } from "../../../internal/request-options.js";
|
|
8
|
+
import type { ExecutionListParams, ExecutionListLogsParams } from "../../../resources/functions/executions.js";
|
|
9
|
+
/** Parser shared by a function's caller and handler. */
|
|
10
|
+
export interface ValueParser<TValue> {
|
|
11
|
+
parse(value: unknown): TValue;
|
|
12
|
+
}
|
|
13
|
+
/** Authenticated execution resources supplied per call. */
|
|
14
|
+
export interface FunctionOperationsContext {
|
|
15
|
+
readonly functions: {
|
|
16
|
+
readonly executions: Pick<RipplingSDK['functions']['executions'], 'create' | 'list' | 'retrieve' | 'listLogs'>;
|
|
17
|
+
};
|
|
18
|
+
}
|
|
19
|
+
export interface DefinedFunctionProps<TInput, TOutput> extends ManifestFunctionProps {
|
|
20
|
+
/** Handler source file read unchanged by project export. Importing the definition performs no file I/O. */
|
|
21
|
+
source?: URL;
|
|
22
|
+
input?: ValueParser<TInput>;
|
|
23
|
+
output?: ValueParser<TOutput>;
|
|
24
|
+
}
|
|
25
|
+
/** Execution returned by a function with its declared input/output contract. */
|
|
26
|
+
export type FunctionExecutionResult<TInput, TOutput> = Omit<FunctionExecution, 'inputs' | 'outputs'> & {
|
|
27
|
+
inputs: TInput;
|
|
28
|
+
outputs?: TOutput;
|
|
29
|
+
};
|
|
30
|
+
export interface FunctionExecutions {
|
|
31
|
+
list(ctx: FunctionOperationsContext, params?: ExecutionListParams, options?: RequestOptions): PagePromise<FunctionExecutionsPageCursorURL, FunctionExecution>;
|
|
32
|
+
retrieve(ctx: FunctionOperationsContext, executionID: string, options?: RequestOptions): APIPromise<FunctionExecution>;
|
|
33
|
+
listLogs(ctx: FunctionOperationsContext, executionID: string, params?: Omit<ExecutionListLogsParams, 'function_api_name'>, options?: RequestOptions): APIPromise<ExecutionListLogsResponse>;
|
|
34
|
+
}
|
|
35
|
+
export interface FunctionClient<TInput, TOutput> {
|
|
36
|
+
execute(input: TInput, options?: RequestOptions): Promise<FunctionExecutionResult<TInput, TOutput>>;
|
|
37
|
+
executions: {
|
|
38
|
+
list(params?: ExecutionListParams, options?: RequestOptions): PagePromise<FunctionExecutionsPageCursorURL, FunctionExecution>;
|
|
39
|
+
retrieve(executionID: string, options?: RequestOptions): APIPromise<FunctionExecution>;
|
|
40
|
+
listLogs(executionID: string, params?: Omit<ExecutionListLogsParams, 'function_api_name'>, options?: RequestOptions): APIPromise<ExecutionListLogsResponse>;
|
|
41
|
+
};
|
|
42
|
+
}
|
|
43
|
+
export declare function defineFunction<TInput = unknown, TOutput = unknown>(props: DefinedFunctionProps<TInput, TOutput>): DefinedFunction<TInput, TOutput>;
|
|
44
|
+
/** A deployable function reference with the same input/output contract at each call site. */
|
|
45
|
+
export declare class DefinedFunction<TInput = unknown, TOutput = unknown> extends ManifestFunction {
|
|
46
|
+
private _source;
|
|
47
|
+
readonly input: ValueParser<TInput> | undefined;
|
|
48
|
+
readonly output: ValueParser<TOutput> | undefined;
|
|
49
|
+
readonly executions: FunctionExecutions;
|
|
50
|
+
constructor(props: DefinedFunctionProps<TInput, TOutput>);
|
|
51
|
+
get source(): URL | undefined;
|
|
52
|
+
/** Replaces inline code or a file-backed source with the supplied code. */
|
|
53
|
+
setCode(code: string): this;
|
|
54
|
+
/** Wraps a handler with the shared contract. Deployed source must be standalone or use declared npm dependencies. */
|
|
55
|
+
handler(handler: (input: TInput, context: FunctionContext) => TOutput | Promise<TOutput>): (event: TInput, context: FunctionContext) => Promise<FunctionResponse<TOutput>>;
|
|
56
|
+
/** Starts an execution. Asynchronous executions may not have outputs yet. */
|
|
57
|
+
execute(ctx: FunctionOperationsContext, input: TInput, options?: RequestOptions): Promise<FunctionExecutionResult<TInput, TOutput>>;
|
|
58
|
+
}
|
|
59
|
+
/** @internal Forward client helpers to the definition operations. */
|
|
60
|
+
export declare function createFunctionClient<TInput, TOutput>(ctx: FunctionOperationsContext, definition: DefinedFunction<TInput, TOutput>): FunctionClient<TInput, TOutput>;
|
|
61
|
+
//# sourceMappingURL=function.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"function.d.ts","sourceRoot":"","sources":["../../../src/lib/manifest/definitions/function.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,2BAAwB;AACnD,OAAO,EAAE,gBAAgB,EAAE,KAAK,eAAe,EAAE,8BAA2B;AAC5E,OAAO,KAAK,EACV,iBAAiB,EACjB,+BAA+B,EAC/B,yBAAyB,EAC1B,mDAAgD;AACjD,OAAO,KAAK,EAAE,UAAU,EAAE,qCAAkC;AAC5D,OAAO,KAAK,EAAE,WAAW,EAAE,oCAAiC;AAE5D,OAAO,EAAE,gBAAgB,EAAE,KAAK,qBAAqB,EAAE,gCAA6B;AACpF,OAAO,KAAK,EAAE,cAAc,EAAE,6CAA0C;AACxE,OAAO,KAAK,EAAE,mBAAmB,EAAE,uBAAuB,EAAE,mDAAgD;AAE5G,wDAAwD;AACxD,MAAM,WAAW,WAAW,CAAC,MAAM;IACjC,KAAK,CAAC,KAAK,EAAE,OAAO,GAAG,MAAM,CAAC;CAC/B;AAED,2DAA2D;AAC3D,MAAM,WAAW,yBAAyB;IACxC,QAAQ,CAAC,SAAS,EAAE;QAClB,QAAQ,CAAC,UAAU,EAAE,IAAI,CACvB,WAAW,CAAC,WAAW,CAAC,CAAC,YAAY,CAAC,EACtC,QAAQ,GAAG,MAAM,GAAG,UAAU,GAAG,UAAU,CAC5C,CAAC;KACH,CAAC;CACH;AAED,MAAM,WAAW,oBAAoB,CAAC,MAAM,EAAE,OAAO,CAAE,SAAQ,qBAAqB;IAClF,2GAA2G;IAC3G,MAAM,CAAC,EAAE,GAAG,CAAC;IACb,KAAK,CAAC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C,uBAAuB,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;CAgBrD;AAoBD,qEAAqE;AACrE,wBAAgB,oBAAoB,CAAC,MAAM,EAAE,OAAO,EAClD,GAAG,EAAE,yBAAyB,EAC9B,UAAU,EAAE,eAAe,CAAC,MAAM,EAAE,OAAO,CAAC,GAC3C,cAAc,CAAC,MAAM,EAAE,OAAO,CAAC,CAejC"}
|
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.DefinedFunction = void 0;
|
|
4
|
+
exports.defineFunction = defineFunction;
|
|
5
|
+
exports.createFunctionClient = createFunctionClient;
|
|
6
|
+
const functions_1 = require("../../../functions.js");
|
|
7
|
+
const component_1 = require("./component.js");
|
|
8
|
+
const manifest_function_1 = require("../manifest-function.js");
|
|
9
|
+
function defineFunction(props) {
|
|
10
|
+
return functionComponent.register(new DefinedFunction(props), props);
|
|
11
|
+
}
|
|
12
|
+
/** A deployable function reference with the same input/output contract at each call site. */
|
|
13
|
+
class DefinedFunction extends manifest_function_1.ManifestFunction {
|
|
14
|
+
constructor(props) {
|
|
15
|
+
super(component_1.detachedManifestScope, props);
|
|
16
|
+
this.executions = {
|
|
17
|
+
list: (ctx, params, options) => ctx.functions.executions.list(this.getApiName(), params, options),
|
|
18
|
+
retrieve: (ctx, executionID, options) => ctx.functions.executions.retrieve(executionID, { function_api_name: this.getApiName() }, options),
|
|
19
|
+
listLogs: (ctx, executionID, params = {}, options) => ctx.functions.executions.listLogs(executionID, { ...params, function_api_name: this.getApiName() }, options),
|
|
20
|
+
};
|
|
21
|
+
this.input = props.input;
|
|
22
|
+
this.output = props.output;
|
|
23
|
+
if (props.source !== undefined && props.code !== undefined)
|
|
24
|
+
throw new Error('Define a function with either source or code, not both.');
|
|
25
|
+
if (props.source !== undefined && props.source.protocol !== 'file:')
|
|
26
|
+
throw new Error('Component source must be a file URL.');
|
|
27
|
+
this._source = props.source === undefined ? undefined : new URL(props.source.href);
|
|
28
|
+
}
|
|
29
|
+
get source() {
|
|
30
|
+
return this._source;
|
|
31
|
+
}
|
|
32
|
+
/** Replaces inline code or a file-backed source with the supplied code. */
|
|
33
|
+
setCode(code) {
|
|
34
|
+
super.setCode(code);
|
|
35
|
+
this._source = undefined;
|
|
36
|
+
return this;
|
|
37
|
+
}
|
|
38
|
+
/** Wraps a handler with the shared contract. Deployed source must be standalone or use declared npm dependencies. */
|
|
39
|
+
handler(handler) {
|
|
40
|
+
return async (event, context) => {
|
|
41
|
+
const result = await handler(this.input == null ? event : this.input.parse(event), context);
|
|
42
|
+
return new functions_1.FunctionResponse({ body: this.output == null ? result : this.output.parse(result) });
|
|
43
|
+
};
|
|
44
|
+
}
|
|
45
|
+
/** Starts an execution. Asynchronous executions may not have outputs yet. */
|
|
46
|
+
async execute(ctx, input, options) {
|
|
47
|
+
const inputs = input;
|
|
48
|
+
const { outputs, ...execution } = await ctx.functions.executions.create(this.getApiName(), { inputs }, options);
|
|
49
|
+
const body = outputs?.body;
|
|
50
|
+
return {
|
|
51
|
+
...execution,
|
|
52
|
+
inputs,
|
|
53
|
+
...(outputs != null ?
|
|
54
|
+
{ outputs: this.output == null ? body : this.output.parse(body) }
|
|
55
|
+
: {}),
|
|
56
|
+
};
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
exports.DefinedFunction = DefinedFunction;
|
|
60
|
+
const functionComponent = (0, component_1.defineComponent)({
|
|
61
|
+
type: 'FUNCTION',
|
|
62
|
+
define: defineFunction,
|
|
63
|
+
serialize: (definition) => (0, component_1.sourceEntry)(definition.toDict(), definition.source, (config, code_draft) => ({
|
|
64
|
+
...config,
|
|
65
|
+
code_draft,
|
|
66
|
+
})),
|
|
67
|
+
});
|
|
68
|
+
/** @internal Forward client helpers to the definition operations. */
|
|
69
|
+
function createFunctionClient(ctx, definition) {
|
|
70
|
+
return {
|
|
71
|
+
execute: (input, options) => definition.execute(ctx, input, options),
|
|
72
|
+
executions: {
|
|
73
|
+
list: (params, options) => definition.executions.list(ctx, params, options),
|
|
74
|
+
retrieve: (executionID, options) => definition.executions.retrieve(ctx, executionID, options),
|
|
75
|
+
listLogs: (executionID, params, options) => definition.executions.listLogs(ctx, executionID, params, options),
|
|
76
|
+
},
|
|
77
|
+
};
|
|
78
|
+
}
|
|
79
|
+
//# sourceMappingURL=function.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"function.js","sourceRoot":"","sources":["../../../src/lib/manifest/definitions/function.ts"],"names":[],"mappings":";;;AA6EA,wCAIC;AAkGD,oDAkBC;AApMD,qDAA4E;AAQ5E,8CAAkF;AAClF,+DAAoF;AAmEpF,SAAgB,cAAc,CAC5B,KAA4C;IAE5C,OAAO,iBAAiB,CAAC,QAAQ,CAAC,IAAI,eAAe,CAAC,KAAK,CAAC,EAAE,KAAK,CAAC,CAAC;AACvE,CAAC;AAED,6FAA6F;AAC7F,MAAa,eAAqD,SAAQ,oCAAgB;IAuBxF,YAAY,KAA4C;QACtD,KAAK,CAAC,iCAAqB,EAAE,KAAK,CAAC,CAAC;QAnB7B,eAAU,GAAuB;YACxC,IAAI,EAAE,CAAC,GAA8B,EAAE,MAA4B,EAAE,OAAwB,EAAE,EAAE,CAC/F,GAAG,CAAC,SAAS,CAAC,UAAU,CAAC,IAAI,CAAC,IAAI,CAAC,UAAU,EAAE,EAAE,MAAM,EAAE,OAAO,CAAC;YACnE,QAAQ,EAAE,CAAC,GAA8B,EAAE,WAAmB,EAAE,OAAwB,EAAE,EAAE,CAC1F,GAAG,CAAC,SAAS,CAAC,UAAU,CAAC,QAAQ,CAAC,WAAW,EAAE,EAAE,iBAAiB,EAAE,IAAI,CAAC,UAAU,EAAE,EAAE,EAAE,OAAO,CAAC;YACnG,QAAQ,EAAE,CACR,GAA8B,EAC9B,WAAmB,EACnB,SAA6D,EAAE,EAC/D,OAAwB,EACxB,EAAE,CACF,GAAG,CAAC,SAAS,CAAC,UAAU,CAA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,OAAO;QACL,OAAO,EAAE,CAAC,KAAa,EAAE,OAAwB,EAAE,EAAE,CAAC,UAAU,CAAC,OAAO,CAAC,GAAG,EAAE,KAAK,EAAE,OAAO,CAAC;QAC7F,UAAU,EAAE;YACV,IAAI,EAAE,CAAC,MAA4B,EAAE,OAAwB,EAAE,EAAE,CAC/D,UAAU,CAAC,UAAU,CAAC,IAAI,CAAC,GAAG,EAAE,MAAM,EAAE,OAAO,CAAC;YAClD,QAAQ,EAAE,CAAC,WAAmB,EAAE,OAAwB,EAAE,EAAE,CAC1D,UAAU,CAAC,UAAU,CAAC,QAAQ,CAAC,GAAG,EAAE,WAAW,EAAE,OAAO,CAAC;YAC3D,QAAQ,EAAE,CACR,WAAmB,EACnB,MAA2D,EAC3D,OAAwB,EACxB,EAAE,CAAC,UAAU,CAAC,UAAU,CAAC,QAAQ,CAAC,GAAG,EAAE,WAAW,EAAE,MAAM,EAAE,OAAO,CAAC;SACvE;KACF,CAAC;AACJ,CAAC"}
|
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
import { FunctionResponse } from "../../../functions.mjs";
|
|
2
|
+
import { detachedManifestScope, defineComponent, sourceEntry } from "./component.mjs";
|
|
3
|
+
import { ManifestFunction } from "../manifest-function.mjs";
|
|
4
|
+
export function defineFunction(props) {
|
|
5
|
+
return functionComponent.register(new DefinedFunction(props), props);
|
|
6
|
+
}
|
|
7
|
+
/** A deployable function reference with the same input/output contract at each call site. */
|
|
8
|
+
export class DefinedFunction extends ManifestFunction {
|
|
9
|
+
constructor(props) {
|
|
10
|
+
super(detachedManifestScope, props);
|
|
11
|
+
this.executions = {
|
|
12
|
+
list: (ctx, params, options) => ctx.functions.executions.list(this.getApiName(), params, options),
|
|
13
|
+
retrieve: (ctx, executionID, options) => ctx.functions.executions.retrieve(executionID, { function_api_name: this.getApiName() }, options),
|
|
14
|
+
listLogs: (ctx, executionID, params = {}, options) => ctx.functions.executions.listLogs(executionID, { ...params, function_api_name: this.getApiName() }, options),
|
|
15
|
+
};
|
|
16
|
+
this.input = props.input;
|
|
17
|
+
this.output = props.output;
|
|
18
|
+
if (props.source !== undefined && props.code !== undefined)
|
|
19
|
+
throw new Error('Define a function with either source or code, not both.');
|
|
20
|
+
if (props.source !== undefined && props.source.protocol !== 'file:')
|
|
21
|
+
throw new Error('Component source must be a file URL.');
|
|
22
|
+
this._source = props.source === undefined ? undefined : new URL(props.source.href);
|
|
23
|
+
}
|
|
24
|
+
get source() {
|
|
25
|
+
return this._source;
|
|
26
|
+
}
|
|
27
|
+
/** Replaces inline code or a file-backed source with the supplied code. */
|
|
28
|
+
setCode(code) {
|
|
29
|
+
super.setCode(code);
|
|
30
|
+
this._source = undefined;
|
|
31
|
+
return this;
|
|
32
|
+
}
|
|
33
|
+
/** Wraps a handler with the shared contract. Deployed source must be standalone or use declared npm dependencies. */
|
|
34
|
+
handler(handler) {
|
|
35
|
+
return async (event, context) => {
|
|
36
|
+
const result = await handler(this.input == null ? event : this.input.parse(event), context);
|
|
37
|
+
return new FunctionResponse({ body: this.output == null ? result : this.output.parse(result) });
|
|
38
|
+
};
|
|
39
|
+
}
|
|
40
|
+
/** Starts an execution. Asynchronous executions may not have outputs yet. */
|
|
41
|
+
async execute(ctx, input, options) {
|
|
42
|
+
const inputs = input;
|
|
43
|
+
const { outputs, ...execution } = await ctx.functions.executions.create(this.getApiName(), { inputs }, options);
|
|
44
|
+
const body = outputs?.body;
|
|
45
|
+
return {
|
|
46
|
+
...execution,
|
|
47
|
+
inputs,
|
|
48
|
+
...(outputs != null ?
|
|
49
|
+
{ outputs: this.output == null ? body : this.output.parse(body) }
|
|
50
|
+
: {}),
|
|
51
|
+
};
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
const functionComponent = defineComponent({
|
|
55
|
+
type: 'FUNCTION',
|
|
56
|
+
define: defineFunction,
|
|
57
|
+
serialize: (definition) => sourceEntry(definition.toDict(), definition.source, (config, code_draft) => ({
|
|
58
|
+
...config,
|
|
59
|
+
code_draft,
|
|
60
|
+
})),
|
|
61
|
+
});
|
|
62
|
+
/** @internal Forward client helpers to the definition operations. */
|
|
63
|
+
export function createFunctionClient(ctx, definition) {
|
|
64
|
+
return {
|
|
65
|
+
execute: (input, options) => definition.execute(ctx, input, options),
|
|
66
|
+
executions: {
|
|
67
|
+
list: (params, options) => definition.executions.list(ctx, params, options),
|
|
68
|
+
retrieve: (executionID, options) => definition.executions.retrieve(ctx, executionID, options),
|
|
69
|
+
listLogs: (executionID, params, options) => definition.executions.listLogs(ctx, executionID, params, options),
|
|
70
|
+
},
|
|
71
|
+
};
|
|
72
|
+
}
|
|
73
|
+
//# sourceMappingURL=function.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"function.mjs","sourceRoot":"","sources":["../../../src/lib/manifest/definitions/function.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,gBAAgB,EAAwB,+BAA2B;AAQ5E,OAAO,EAAE,qBAAqB,EAAE,eAAe,EAAE,WAAW,EAAE,wBAAoB;AAClF,OAAO,EAAE,gBAAgB,EAA8B,iCAA6B;AAmEpF,MAAM,UAAU,cAAc,CAC5B,KAA4C;IAE5C,OAAO,iBAAiB,CAAC,QAAQ,CAAC,IAAI,eAAe,CAAC,KAAK,CAAC,EAAE,KAAK,CAAC,CAAC;AACvE,CAAC;AAED,6FAA6F;AAC7F,MAAM,OAAO,eAAqD,SAAQ,gBAAgB;IAuBxF,YAAY,KAA4C;QACtD,KAAK,CAAC,qBAAqB,EAAE,KAAK,CAAC,CAAC;QAnB7B,eAAU,GAAuB;YACxC,IAAI,EAAE,CAAC,GAA8B,EAAE,MAA4B,EAAE,OAAwB,EAAE,EAAE,CAC/F,GAAG,CAAC,SAAS,CAAC,UAAU,CAAC,IAAI,CAAC,IAAI,CAAC,UAAU,EAAE,EAAE,MAAM,EAAE,OAAO,CAAC;YACnE,QAAQ,EAAE,CAAC,GAA8B,EAAE,WAAmB,EAAE,OAAwB,EAAE,EAAE,CAC1F,GAAG,C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AM,EAAsB,EAAE,UAAU,CAAC,MAAM,EAAE,CAAC,MAAM,EAAE,UAAU,EAAE,EAAE,CAAC,CAAC;QAC/F,GAAG,MAAM;QACT,UAAU;KACX,CAAC,CAAC;CACN,CAAC,CAAC;AAEH,qEAAqE;AACrE,MAAM,UAAU,oBAAoB,CAClC,GAA8B,EAC9B,UAA4C;IAE5C,OAAO;QACL,OAAO,EAAE,CAAC,KAAa,EAAE,OAAwB,EAAE,EAAE,CAAC,UAAU,CAAC,OAAO,CAAC,GAAG,EAAE,KAAK,EAAE,OAAO,CAAC;QAC7F,UAAU,EAAE;YACV,IAAI,EAAE,CAAC,MAA4B,EAAE,OAAwB,EAAE,EAAE,CAC/D,UAAU,CAAC,UAAU,CAAC,IAAI,CAAC,GAAG,EAAE,MAAM,EAAE,OAAO,CAAC;YAClD,QAAQ,EAAE,CAAC,WAAmB,EAAE,OAAwB,EAAE,EAAE,CAC1D,UAAU,CAAC,UAAU,CAAC,QAAQ,CAAC,GAAG,EAAE,WAAW,EAAE,OAAO,CAAC;YAC3D,QAAQ,EAAE,CACR,WAAmB,EACnB,MAA2D,EAC3D,OAAwB,EACxB,EAAE,CAAC,UAAU,CAAC,UAAU,CAAC,QAAQ,CAAC,GAAG,EAAE,WAAW,EAAE,MAAM,EAAE,OAAO,CAAC;SACvE;KACF,CAAC;AACJ,CAAC"}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
/** Standalone component definitions composed by defineManifest. */
|
|
2
|
+
export { defineComponent, type ComponentImplementation, type MetadataConfig, type MetadataEntry, type BuildContext, type CompileContext, } from "./component.mjs";
|
|
3
|
+
export { defineAction, type DefineActionProps } from "./action.mjs";
|
|
4
|
+
export { defineAgent, DefinedAgent, type DefinedAgentProps, type AgentOperationsContext, type AgentSessions, type AgentOperations, type AgentClient, } from "./agent.mjs";
|
|
5
|
+
export { defineApp } from "./app.mjs";
|
|
6
|
+
export { defineCategory, defineCustomObjectCategory, type DefineCustomObjectCategoryProps } from "./category.mjs";
|
|
7
|
+
export { defineCustomField, type DefineCustomFieldProps } from "./custom-field.mjs";
|
|
8
|
+
export { defineCustomFieldSection, type DefinedCustomFieldSection, type DefineCustomFieldSectionProps, } from "./custom-field-section.mjs";
|
|
9
|
+
export { defineCustomObject, extendCustomObject, eq, ne, lt, lte, gt, gte, inArray, notInArray, isNull, isNotNull, and, or, not, type DefinedCustomObject, type CustomObjectOperations, type ObjectRecordsContext, type ObjectSchemaContext, type ObjectRecordListOptions, type DefineCustomObjectProps, type ObjectRecords, type ObjectCreateInput, type ObjectUpdateInput, type ObjectBulkUpdateInput, type ObjectSchema, type ObjectSchemaFields, type ObjectClient, type ObjectFilter, } from "./custom-object.mjs";
|
|
10
|
+
export { defineCustomSkill, type DefinedCustomSkillProps } from "./custom-skill.mjs";
|
|
11
|
+
export { defineField, fields, type DefineFieldProps } from "./field.mjs";
|
|
12
|
+
export { defineFieldSection, type DefineFieldSectionProps } from "./field-section.mjs";
|
|
13
|
+
export { defineFunction, DefinedFunction, type DefinedFunctionProps, type FunctionOperationsContext, type ValueParser, type FunctionExecutions, type FunctionExecutionResult, type FunctionClient, } from "./function.mjs";
|
|
14
|
+
export { defineListView, type DefineListViewProps } from "./list-view.mjs";
|
|
15
|
+
export { defineObjectSearchConfig, type DefineObjectSearchConfigProps, type DefinedObjectSearchConfig, } from "./object-search-config.mjs";
|
|
16
|
+
export { defineObjectSettings, type ObjectSettingsProps, type DefinedObjectSettings, } from "./object-settings.mjs";
|
|
17
|
+
export { definePage, type DefinePageProps } from "./page.mjs";
|
|
18
|
+
export { definePageLayout, type PageLayoutOptions, type DefinedPageLayout } from "./page-layout.mjs";
|
|
19
|
+
export { defineRecordTriggeredFlow, type DefinedRuleAction, type DefineRecordTriggeredFlowProps, } from "./record-triggered-flow.mjs";
|
|
20
|
+
export { defineValidation, type DefineValidationProps } from "./validation.mjs";
|
|
21
|
+
export { defineWorkflow, workflowFunction, type DefineWorkflowProps } from "./workflow.mjs";
|
|
22
|
+
//# sourceMappingURL=index.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.mts","sourceRoot":"","sources":["../../../src/lib/manifest/definitions/index.ts"],"names":[],"mappings":"AAAA,mEAAmE;AACnE,OAAO,EACL,eAAe,EACf,KAAK,uBAAuB,EAC5B,KAAK,cAAc,EACnB,KAAK,aAAa,EAClB,KAAK,YAAY,EACjB,KAAK,cAAc,GACpB,wBAAoB;AACrB,OAAO,EAAE,YAAY,EAAE,KAAK,iBAAiB,EAAE,qBAAiB;AAChE,OAAO,EACL,WAAW,EACX,YAAY,EACZ,KAAK,iBAAiB,EACtB,KAAK,sBAAsB,EAC3B,KAAK,aAAa,EAClB,KAAK,eAAe,EACpB,KAAK,WAAW,GACjB,oBAAgB;AACjB,OAAO,EAAE,SAAS,EAAE,kBAAc;AAClC,OAAO,EAAE,cAAc,EAAE,0BAA0B,EAAE,KAAK,+BAA+B,EAAE,uBAAmB;AAC9G,OAAO,EAAE,iBAAiB,EAAE,KAAK,sBAAsB,EAAE,2BAAuB;AAChF,OAAO,EACL,wBAAwB,EACxB,KAAK,yBAAyB,EAC9B,KAAK,6BAA6B,GACnC,mCAA+B;AAChC,OAAO,EACL,kBAAkB,EAClB,kBAAkB,EAClB,EAAE,EACF,EAAE,EACF,EAAE,EACF,GAAG,EACH,EAAE,EACF,GAAG,EACH,OAAO,EACP,UAAU,EACV,MAAM,EACN,SAAS,EACT,GAAG,EACH,EAAE,EACF,GAAG,EACH,KAAK,mBAAmB,EACxB,KAAK,sBAAsB,EAC3B,KAAK,oBAAoB,EACzB,KAAK,mBAAmB,EACxB,KAAK,uBAAuB,EAC5B,KAAK,uBAAuB,EAC5B,KAAK,aAAa,EAClB,KAAK,iBAAiB,EACtB,KAAK,iBAAiB,EACtB,KAAK,qBAAqB,EAC1B,KAAK,YAAY,EACjB,KAAK,kBAAkB,EACvB,KAAK,YAAY,EACjB,KAAK,YAAY,GAClB,4BAAwB;AACzB,OAAO,EAAE,iBAAiB,EAAE,KAAK,uBAAuB,EAAE,2BAAuB;AACjF,OAAO,EAAE,WAAW,EAAE,MAAM,EAAE,KAAK,gBAAgB,EAAE,oBAAgB;AACrE,OAAO,EAAE,kBAAkB,EAAE,KAAK,uBAAuB,EAAE,4BAAwB;AACnF,OAAO,EACL,cAAc,EACd,eAAe,EACf,KAAK,oBAAoB,EACzB,KAAK,yBAAyB,EAC9B,KAAK,WAAW,EAChB,KAAK,kBAAkB,EACvB,KAAK,uBAAuB,EAC5B,KAAK,cAAc,GACpB,uBAAmB;AACpB,OAAO,EAAE,cAAc,EAAE,KAAK,mBAAmB,EAAE,wBAAoB;AACvE,OAAO,EACL,wBAAwB,EACxB,KAAK,6BAA6B,EAClC,KAAK,yBAAyB,GAC/B,mCAA+B;AAChC,OAAO,EACL,oBAAoB,EACpB,KAAK,mBAAmB,EACxB,KAAK,qBAAqB,GAC3B,8BAA0B;AAC3B,OAAO,EAAE,UAAU,EAAE,KAAK,eAAe,EAAE,mBAAe;AAC1D,OAAO,EAAE,gBAAgB,EAAE,KAAK,iBAAiB,EAAE,KAAK,iBAAiB,EAAE,0BAAsB;AACjG,OAAO,EACL,yBAAyB,EACzB,KAAK,iBAAiB,EACtB,KAAK,8BAA8B,GACpC,oCAAgC;AACjC,OAAO,EAAE,gBAAgB,EAAE,KAAK,qBAAqB,EAAE,yBAAqB;AAC5E,OAAO,EAAE,cAAc,EAAE,gBAAgB,EAAE,KAAK,mBAAmB,EAAE,uBAAmB"}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
/** Standalone component definitions composed by defineManifest. */
|
|
2
|
+
export { defineComponent, type ComponentImplementation, type MetadataConfig, type MetadataEntry, type BuildContext, type CompileContext, } from "./component.js";
|
|
3
|
+
export { defineAction, type DefineActionProps } from "./action.js";
|
|
4
|
+
export { defineAgent, DefinedAgent, type DefinedAgentProps, type AgentOperationsContext, type AgentSessions, type AgentOperations, type AgentClient, } from "./agent.js";
|
|
5
|
+
export { defineApp } from "./app.js";
|
|
6
|
+
export { defineCategory, defineCustomObjectCategory, type DefineCustomObjectCategoryProps } from "./category.js";
|
|
7
|
+
export { defineCustomField, type DefineCustomFieldProps } from "./custom-field.js";
|
|
8
|
+
export { defineCustomFieldSection, type DefinedCustomFieldSection, type DefineCustomFieldSectionProps, } from "./custom-field-section.js";
|
|
9
|
+
export { defineCustomObject, extendCustomObject, eq, ne, lt, lte, gt, gte, inArray, notInArray, isNull, isNotNull, and, or, not, type DefinedCustomObject, type CustomObjectOperations, type ObjectRecordsContext, type ObjectSchemaContext, type ObjectRecordListOptions, type DefineCustomObjectProps, type ObjectRecords, type ObjectCreateInput, type ObjectUpdateInput, type ObjectBulkUpdateInput, type ObjectSchema, type ObjectSchemaFields, type ObjectClient, type ObjectFilter, } from "./custom-object.js";
|
|
10
|
+
export { defineCustomSkill, type DefinedCustomSkillProps } from "./custom-skill.js";
|
|
11
|
+
export { defineField, fields, type DefineFieldProps } from "./field.js";
|
|
12
|
+
export { defineFieldSection, type DefineFieldSectionProps } from "./field-section.js";
|
|
13
|
+
export { defineFunction, DefinedFunction, type DefinedFunctionProps, type FunctionOperationsContext, type ValueParser, type FunctionExecutions, type FunctionExecutionResult, type FunctionClient, } from "./function.js";
|
|
14
|
+
export { defineListView, type DefineListViewProps } from "./list-view.js";
|
|
15
|
+
export { defineObjectSearchConfig, type DefineObjectSearchConfigProps, type DefinedObjectSearchConfig, } from "./object-search-config.js";
|
|
16
|
+
export { defineObjectSettings, type ObjectSettingsProps, type DefinedObjectSettings, } from "./object-settings.js";
|
|
17
|
+
export { definePage, type DefinePageProps } from "./page.js";
|
|
18
|
+
export { definePageLayout, type PageLayoutOptions, type DefinedPageLayout } from "./page-layout.js";
|
|
19
|
+
export { defineRecordTriggeredFlow, type DefinedRuleAction, type DefineRecordTriggeredFlowProps, } from "./record-triggered-flow.js";
|
|
20
|
+
export { defineValidation, type DefineValidationProps } from "./validation.js";
|
|
21
|
+
export { defineWorkflow, workflowFunction, type DefineWorkflowProps } from "./workflow.js";
|
|
22
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/lib/manifest/definitions/index.ts"],"names":[],"mappings":"AAAA,mEAAmE;AACnE,OAAO,EACL,eAAe,EACf,KAAK,uBAAuB,EAC5B,KAAK,cAAc,EACnB,KAAK,aAAa,EAClB,KAAK,YAAY,EACjB,KAAK,cAAc,GACpB,uBAAoB;AACrB,OAAO,EAAE,YAAY,EAAE,KAAK,iBAAiB,EAAE,oBAAiB;AAChE,OAAO,EACL,WAAW,EACX,YAAY,EACZ,KAAK,iBAAiB,EACtB,KAAK,sBAAsB,EAC3B,KAAK,aAAa,EAClB,KAAK,eAAe,EACpB,KAAK,WAAW,GACjB,mBAAgB;AACjB,OAAO,EAAE,SAAS,EAAE,iBAAc;AAClC,OAAO,EAAE,cAAc,EAAE,0BAA0B,EAAE,KAAK,+BAA+B,EAAE,sBAAmB;AAC9G,OAAO,EAAE,iBAAiB,EAAE,KAAK,sBAAsB,EAAE,0BAAuB;AAChF,OAAO,EACL,wBAAwB,EACxB,KAAK,yBAAyB,EAC9B,KAAK,6BAA6B,GACnC,kCAA+B;AAChC,OAAO,EACL,kBAAkB,EAClB,kBAAkB,EAClB,EAAE,EACF,EAAE,EACF,EAAE,EACF,GAAG,EACH,EAAE,EACF,GAAG,EACH,OAAO,EACP,UAAU,EACV,MAAM,EACN,SAAS,EACT,GAAG,EACH,EAAE,EACF,GAAG,EACH,KAAK,mBAAmB,EACxB,KAAK,sBAAsB,EAC3B,KAAK,oBAAoB,EACzB,KAAK,mBAAmB,EACxB,KAAK,uBAAuB,EAC5B,KAAK,uBAAuB,EAC5B,KAAK,aAAa,EAClB,KAAK,iBAAiB,EACtB,KAAK,iBAAiB,EACtB,KAAK,qBAAqB,EAC1B,KAAK,YAAY,EACjB,KAAK,kBAAkB,EACvB,KAAK,YAAY,EACjB,KAAK,YAAY,GAClB,2BAAwB;AACzB,OAAO,EAAE,iBAAiB,EAAE,KAAK,uBAAuB,EAAE,0BAAuB;AACjF,OAAO,EAAE,WAAW,EAAE,MAAM,EAAE,KAAK,gBAAgB,EAAE,mBAAgB;AACrE,OAAO,EAAE,kBAAkB,EAAE,KAAK,uBAAuB,EAAE,2BAAwB;AACnF,OAAO,EACL,cAAc,EACd,eAAe,EACf,KAAK,oBAAoB,EACzB,KAAK,yBAAyB,EAC9B,KAAK,WAAW,EAChB,KAAK,kBAAkB,EACvB,KAAK,uBAAuB,EAC5B,KAAK,cAAc,GACpB,sBAAmB;AACpB,OAAO,EAAE,cAAc,EAAE,KAAK,mBAAmB,EAAE,uBAAoB;AACvE,OAAO,EACL,wBAAwB,EACxB,KAAK,6BAA6B,EAClC,KAAK,yBAAyB,GAC/B,kCAA+B;AAChC,OAAO,EACL,oBAAoB,EACpB,KAAK,mBAAmB,EACxB,KAAK,qBAAqB,GAC3B,6BAA0B;AAC3B,OAAO,EAAE,UAAU,EAAE,KAAK,eAAe,EAAE,kBAAe;AAC1D,OAAO,EAAE,gBAAgB,EAAE,KAAK,iBAAiB,EAAE,KAAK,iBAAiB,EAAE,yBAAsB;AACjG,OAAO,EACL,yBAAyB,EACzB,KAAK,iBAAiB,EACtB,KAAK,8BAA8B,GACpC,mCAAgC;AACjC,OAAO,EAAE,gBAAgB,EAAE,KAAK,qBAAqB,EAAE,wBAAqB;AAC5E,OAAO,EAAE,cAAc,EAAE,gBAAgB,EAAE,KAAK,mBAAmB,EAAE,sBAAmB"}
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.workflowFunction = exports.defineWorkflow = exports.defineValidation = exports.defineRecordTriggeredFlow = exports.definePageLayout = exports.definePage = exports.defineObjectSettings = exports.defineObjectSearchConfig = exports.defineListView = exports.DefinedFunction = exports.defineFunction = exports.defineFieldSection = exports.fields = exports.defineField = exports.defineCustomSkill = exports.not = exports.or = exports.and = exports.isNotNull = exports.isNull = exports.notInArray = exports.inArray = exports.gte = exports.gt = exports.lte = exports.lt = exports.ne = exports.eq = exports.extendCustomObject = exports.defineCustomObject = exports.defineCustomFieldSection = exports.defineCustomField = exports.defineCustomObjectCategory = exports.defineCategory = exports.defineApp = exports.DefinedAgent = exports.defineAgent = exports.defineAction = exports.defineComponent = void 0;
|
|
4
|
+
/** Standalone component definitions composed by defineManifest. */
|
|
5
|
+
var component_1 = require("./component.js");
|
|
6
|
+
Object.defineProperty(exports, "defineComponent", { enumerable: true, get: function () { return component_1.defineComponent; } });
|
|
7
|
+
var action_1 = require("./action.js");
|
|
8
|
+
Object.defineProperty(exports, "defineAction", { enumerable: true, get: function () { return action_1.defineAction; } });
|
|
9
|
+
var agent_1 = require("./agent.js");
|
|
10
|
+
Object.defineProperty(exports, "defineAgent", { enumerable: true, get: function () { return agent_1.defineAgent; } });
|
|
11
|
+
Object.defineProperty(exports, "DefinedAgent", { enumerable: true, get: function () { return agent_1.DefinedAgent; } });
|
|
12
|
+
var app_1 = require("./app.js");
|
|
13
|
+
Object.defineProperty(exports, "defineApp", { enumerable: true, get: function () { return app_1.defineApp; } });
|
|
14
|
+
var category_1 = require("./category.js");
|
|
15
|
+
Object.defineProperty(exports, "defineCategory", { enumerable: true, get: function () { return category_1.defineCategory; } });
|
|
16
|
+
Object.defineProperty(exports, "defineCustomObjectCategory", { enumerable: true, get: function () { return category_1.defineCustomObjectCategory; } });
|
|
17
|
+
var custom_field_1 = require("./custom-field.js");
|
|
18
|
+
Object.defineProperty(exports, "defineCustomField", { enumerable: true, get: function () { return custom_field_1.defineCustomField; } });
|
|
19
|
+
var custom_field_section_1 = require("./custom-field-section.js");
|
|
20
|
+
Object.defineProperty(exports, "defineCustomFieldSection", { enumerable: true, get: function () { return custom_field_section_1.defineCustomFieldSection; } });
|
|
21
|
+
var custom_object_1 = require("./custom-object.js");
|
|
22
|
+
Object.defineProperty(exports, "defineCustomObject", { enumerable: true, get: function () { return custom_object_1.defineCustomObject; } });
|
|
23
|
+
Object.defineProperty(exports, "extendCustomObject", { enumerable: true, get: function () { return custom_object_1.extendCustomObject; } });
|
|
24
|
+
Object.defineProperty(exports, "eq", { enumerable: true, get: function () { return custom_object_1.eq; } });
|
|
25
|
+
Object.defineProperty(exports, "ne", { enumerable: true, get: function () { return custom_object_1.ne; } });
|
|
26
|
+
Object.defineProperty(exports, "lt", { enumerable: true, get: function () { return custom_object_1.lt; } });
|
|
27
|
+
Object.defineProperty(exports, "lte", { enumerable: true, get: function () { return custom_object_1.lte; } });
|
|
28
|
+
Object.defineProperty(exports, "gt", { enumerable: true, get: function () { return custom_object_1.gt; } });
|
|
29
|
+
Object.defineProperty(exports, "gte", { enumerable: true, get: function () { return custom_object_1.gte; } });
|
|
30
|
+
Object.defineProperty(exports, "inArray", { enumerable: true, get: function () { return custom_object_1.inArray; } });
|
|
31
|
+
Object.defineProperty(exports, "notInArray", { enumerable: true, get: function () { return custom_object_1.notInArray; } });
|
|
32
|
+
Object.defineProperty(exports, "isNull", { enumerable: true, get: function () { return custom_object_1.isNull; } });
|
|
33
|
+
Object.defineProperty(exports, "isNotNull", { enumerable: true, get: function () { return custom_object_1.isNotNull; } });
|
|
34
|
+
Object.defineProperty(exports, "and", { enumerable: true, get: function () { return custom_object_1.and; } });
|
|
35
|
+
Object.defineProperty(exports, "or", { enumerable: true, get: function () { return custom_object_1.or; } });
|
|
36
|
+
Object.defineProperty(exports, "not", { enumerable: true, get: function () { return custom_object_1.not; } });
|
|
37
|
+
var custom_skill_1 = require("./custom-skill.js");
|
|
38
|
+
Object.defineProperty(exports, "defineCustomSkill", { enumerable: true, get: function () { return custom_skill_1.defineCustomSkill; } });
|
|
39
|
+
var field_1 = require("./field.js");
|
|
40
|
+
Object.defineProperty(exports, "defineField", { enumerable: true, get: function () { return field_1.defineField; } });
|
|
41
|
+
Object.defineProperty(exports, "fields", { enumerable: true, get: function () { return field_1.fields; } });
|
|
42
|
+
var field_section_1 = require("./field-section.js");
|
|
43
|
+
Object.defineProperty(exports, "defineFieldSection", { enumerable: true, get: function () { return field_section_1.defineFieldSection; } });
|
|
44
|
+
var function_1 = require("./function.js");
|
|
45
|
+
Object.defineProperty(exports, "defineFunction", { enumerable: true, get: function () { return function_1.defineFunction; } });
|
|
46
|
+
Object.defineProperty(exports, "DefinedFunction", { enumerable: true, get: function () { return function_1.DefinedFunction; } });
|
|
47
|
+
var list_view_1 = require("./list-view.js");
|
|
48
|
+
Object.defineProperty(exports, "defineListView", { enumerable: true, get: function () { return list_view_1.defineListView; } });
|
|
49
|
+
var object_search_config_1 = require("./object-search-config.js");
|
|
50
|
+
Object.defineProperty(exports, "defineObjectSearchConfig", { enumerable: true, get: function () { return object_search_config_1.defineObjectSearchConfig; } });
|
|
51
|
+
var object_settings_1 = require("./object-settings.js");
|
|
52
|
+
Object.defineProperty(exports, "defineObjectSettings", { enumerable: true, get: function () { return object_settings_1.defineObjectSettings; } });
|
|
53
|
+
var page_1 = require("./page.js");
|
|
54
|
+
Object.defineProperty(exports, "definePage", { enumerable: true, get: function () { return page_1.definePage; } });
|
|
55
|
+
var page_layout_1 = require("./page-layout.js");
|
|
56
|
+
Object.defineProperty(exports, "definePageLayout", { enumerable: true, get: function () { return page_layout_1.definePageLayout; } });
|
|
57
|
+
var record_triggered_flow_1 = require("./record-triggered-flow.js");
|
|
58
|
+
Object.defineProperty(exports, "defineRecordTriggeredFlow", { enumerable: true, get: function () { return record_triggered_flow_1.defineRecordTriggeredFlow; } });
|
|
59
|
+
var validation_1 = require("./validation.js");
|
|
60
|
+
Object.defineProperty(exports, "defineValidation", { enumerable: true, get: function () { return validation_1.defineValidation; } });
|
|
61
|
+
var workflow_1 = require("./workflow.js");
|
|
62
|
+
Object.defineProperty(exports, "defineWorkflow", { enumerable: true, get: function () { return workflow_1.defineWorkflow; } });
|
|
63
|
+
Object.defineProperty(exports, "workflowFunction", { enumerable: true, get: function () { return workflow_1.workflowFunction; } });
|
|
64
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/lib/manifest/definitions/index.ts"],"names":[],"mappings":";;;AAAA,mEAAmE;AACnE,4CAOqB;AANnB,4GAAA,eAAe,OAAA;AAOjB,sCAAgE;AAAvD,sGAAA,YAAY,OAAA;AACrB,oCAQiB;AAPf,oGAAA,WAAW,OAAA;AACX,qGAAA,YAAY,OAAA;AAOd,gCAAkC;AAAzB,gGAAA,SAAS,OAAA;AAClB,0CAA8G;AAArG,0GAAA,cAAc,OAAA;AAAE,sHAAA,0BAA0B,OAAA;AACnD,kDAAgF;AAAvE,iHAAA,iBAAiB,OAAA;AAC1B,kEAIgC;AAH9B,gIAAA,wBAAwB,OAAA;AAI1B,oDA8ByB;AA7BvB,mHAAA,kBAAkB,OAAA;AAClB,mHAAA,kBAAkB,OAAA;AAClB,mGAAA,EAAE,OAAA;AACF,mGAAA,EAAE,OAAA;AACF,mGAAA,EAAE,OAAA;AACF,oGAAA,GAAG,OAAA;AACH,mGAAA,EAAE,OAAA;AACF,oGAAA,GAAG,OAAA;AACH,wGAAA,OAAO,OAAA;AACP,2GAAA,UAAU,OAAA;AACV,uGAAA,MAAM,OAAA;AACN,0GAAA,SAAS,OAAA;AACT,oGAAA,GAAG,OAAA;AACH,mGAAA,EAAE,OAAA;AACF,oGAAA,GAAG,OAAA;AAgBL,kDAAiF;AAAxE,iHAAA,iBAAiB,OAAA;AAC1B,oCAAqE;AAA5D,oGAAA,WAAW,OAAA;AAAE,+FAAA,MAAM,OAAA;AAC5B,oDAAmF;AAA1E,mHAAA,kBAAkB,OAAA;AAC3B,0CASoB;AARlB,0GAAA,cAAc,OAAA;AACd,2GAAA,eAAe,OAAA;AAQjB,4CAAuE;AAA9D,2GAAA,cAAc,OAAA;AACvB,kEAIgC;AAH9B,gIAAA,wBAAwB,OAAA;AAI1B,wDAI2B;AAHzB,uHAAA,oBAAoB,OAAA;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