@proteos/sdk 0.75.0 → 0.77.0
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/dist/{chunk-3VQQEJV6.js → chunk-C5642XOH.js} +12 -4
- package/dist/chunk-C5642XOH.js.map +1 -0
- package/dist/{chunk-C4CH6CEY.cjs → chunk-Z773P4RO.cjs} +13 -3
- package/dist/chunk-Z773P4RO.cjs.map +1 -0
- package/dist/index.cjs +130 -122
- package/dist/index.d.cts +10 -8
- package/dist/index.d.ts +10 -8
- package/dist/index.js +2 -2
- package/dist/meta/index.cjs +102 -94
- package/dist/meta/index.d.cts +1 -1
- package/dist/meta/index.d.ts +1 -1
- package/dist/meta/index.js +1 -1
- package/dist/{types-Dp-AB2QZ.d.cts → types-Bn5y5wHZ.d.cts} +206 -23
- package/dist/{types-Dp-AB2QZ.d.ts → types-Bn5y5wHZ.d.ts} +206 -23
- package/package.json +3 -3
- package/src/conversation/types.ts +8 -6
- package/src/index.ts +3 -0
- package/src/meta/index.ts +3 -0
- package/src/meta/types.ts +52 -5
- package/dist/chunk-3VQQEJV6.js.map +0 -1
- package/dist/chunk-C4CH6CEY.cjs.map +0 -1
|
@@ -1669,6 +1669,12 @@ var ComponentSchema = AuditFieldsSchema.extend({
|
|
|
1669
1669
|
is_public: z.boolean().default(false)
|
|
1670
1670
|
});
|
|
1671
1671
|
var PageActionKindSchema = z.enum(["action", "workflow", "agent", "intent", "link"]);
|
|
1672
|
+
var PAGE_ACTION_MATCH_MAX_LIMIT = 25;
|
|
1673
|
+
var PageActionMatchSchema = z.object({
|
|
1674
|
+
filter: FilterGroupSchema.optional(),
|
|
1675
|
+
sort: z.string().optional(),
|
|
1676
|
+
limit: z.number().int().min(1).max(PAGE_ACTION_MATCH_MAX_LIMIT).optional()
|
|
1677
|
+
});
|
|
1672
1678
|
var PageActionSchema = z.object({
|
|
1673
1679
|
label: z.string(),
|
|
1674
1680
|
icon: z.string(),
|
|
@@ -1676,9 +1682,11 @@ var PageActionSchema = z.object({
|
|
|
1676
1682
|
action: z.string().optional(),
|
|
1677
1683
|
workflow: z.string().optional(),
|
|
1678
1684
|
agent: z.string().optional(),
|
|
1679
|
-
intent: z.enum(["create_record", "update_record"]).optional(),
|
|
1685
|
+
intent: z.enum(["create_record", "update_record", "upsert_record", "invoke_action", "invoke_workflow"]).optional(),
|
|
1680
1686
|
entity: z.string().optional(),
|
|
1681
1687
|
record: z.string().optional(),
|
|
1688
|
+
match: PageActionMatchSchema.optional(),
|
|
1689
|
+
field_scope: z.array(z.string()).optional(),
|
|
1682
1690
|
url: z.string().optional(),
|
|
1683
1691
|
params: z.record(z.string()).optional(),
|
|
1684
1692
|
inputs: z.record(z.string()).optional(),
|
|
@@ -1966,6 +1974,6 @@ var MetaClient = class {
|
|
|
1966
1974
|
}
|
|
1967
1975
|
};
|
|
1968
1976
|
|
|
1969
|
-
export { AppConfigurationSchema, AppHomeSchema, AppSchema, AttributeSchema, AuditFieldsSchema, BUILT_IN_CONTROLS, CALENDAR_MAX_OVERLAY_USERS, CALENDAR_VIEW_KINDS, CURRENT_USER, CURRENT_USER_DEFAULT, ColumnSchema, ComponentSchema, ContactAddressAttributeMetaSchema, CurrencyAttributeMetaSchema, DEFAULT_PAGE_SIZE, DONE, DesignReferenceSchema, EntityContactBindingSchema, EntityExtensionSchema, EntitySchema, EntityWithSchemaSchema, ExtensionPositionSchema, FileAttributeMetaSchema, FileRefSchema, FilterElementSchema, FilterGroupSchema, LayoutElementSchema, LayoutElementType, LayoutStepSchema, LayoutTabSchema, LengthValueSchema, ListExtensionColumnPlacementSchema, ListExtensionSchema, ListSchema, ListViewSchema, MENU_CONFIGURATION_EXTENSION_ANCHOR_ITEMS, MenuConfigurationExtensionPlacementSchema, MenuConfigurationExtensionPositionSchema, MenuConfigurationExtensionSchema, MenuConfigurationSchema, MenuItemSchema, MenuItemType, MetaClient, ModuleSchema, OnDeleteActionSchema, PAGE_BACKGROUND_COLOR_RE, PAGE_BACKGROUND_TOKENS, PAGE_EXTENSION_ANCHOR_MAIN, PAGE_EXTENSION_ANCHOR_SIDE_PANEL, PAGE_HEADERS, PLATFORM_ATTRIBUTE_NAMES, PLATFORM_USER_ID, PageActionSchema, PageExtensionPlacementSchema, PageExtensionSchema, PageIterator, PageLayoutSchema, PageLayoutSidePanelSchema, PageSchema, PageStyleSchema, PrincipalRefSchema, RECORD_TITLE_FIELD, RecordPageBindingSchema, RelationAttributeMetaSchema, ResponseMetaSchema, SizeValueSchema, SortConfigSchema, StyleSizeValueSchema, TriggerPageBindingSchema, UserAttributeMetaSchema, UserRefSchema, VariableSchema, acceptsCurrentUserDefault, allCurrencyCodes, bundleVersionOf, createIterator, createListResultSchema, currencyLabel, currencySymbol, currencySymbolSide, formatAmount, formatMoney, isBuiltInControl, isCurrentUser, isCurrentUserDefault, isLengthValue, isPageBackground, isPlatformAttributeName, isReservedAttributeName, isStyleSizeValue, isTitleQueryable, localeNumberSeparators, lookupCompatibleControls, lookupControls, lookupPrimaryControl, parseAmount, parseContactAddressMeta, parseCurrencyMeta, parseFileMeta, parsePrincipalMeta, parseRelationMeta, parseUserMeta, platformAttributes, titleTemplateVariables };
|
|
1970
|
-
//# sourceMappingURL=chunk-
|
|
1971
|
-
//# sourceMappingURL=chunk-
|
|
1977
|
+
export { AppConfigurationSchema, AppHomeSchema, AppSchema, AttributeSchema, AuditFieldsSchema, BUILT_IN_CONTROLS, CALENDAR_MAX_OVERLAY_USERS, CALENDAR_VIEW_KINDS, CURRENT_USER, CURRENT_USER_DEFAULT, ColumnSchema, ComponentSchema, ContactAddressAttributeMetaSchema, CurrencyAttributeMetaSchema, DEFAULT_PAGE_SIZE, DONE, DesignReferenceSchema, EntityContactBindingSchema, EntityExtensionSchema, EntitySchema, EntityWithSchemaSchema, ExtensionPositionSchema, FileAttributeMetaSchema, FileRefSchema, FilterElementSchema, FilterGroupSchema, LayoutElementSchema, LayoutElementType, LayoutStepSchema, LayoutTabSchema, LengthValueSchema, ListExtensionColumnPlacementSchema, ListExtensionSchema, ListSchema, ListViewSchema, MENU_CONFIGURATION_EXTENSION_ANCHOR_ITEMS, MenuConfigurationExtensionPlacementSchema, MenuConfigurationExtensionPositionSchema, MenuConfigurationExtensionSchema, MenuConfigurationSchema, MenuItemSchema, MenuItemType, MetaClient, ModuleSchema, OnDeleteActionSchema, PAGE_ACTION_MATCH_MAX_LIMIT, PAGE_BACKGROUND_COLOR_RE, PAGE_BACKGROUND_TOKENS, PAGE_EXTENSION_ANCHOR_MAIN, PAGE_EXTENSION_ANCHOR_SIDE_PANEL, PAGE_HEADERS, PLATFORM_ATTRIBUTE_NAMES, PLATFORM_USER_ID, PageActionMatchSchema, PageActionSchema, PageExtensionPlacementSchema, PageExtensionSchema, PageIterator, PageLayoutSchema, PageLayoutSidePanelSchema, PageSchema, PageStyleSchema, PrincipalRefSchema, RECORD_TITLE_FIELD, RecordPageBindingSchema, RelationAttributeMetaSchema, ResponseMetaSchema, SizeValueSchema, SortConfigSchema, StyleSizeValueSchema, TriggerPageBindingSchema, UserAttributeMetaSchema, UserRefSchema, VariableSchema, acceptsCurrentUserDefault, allCurrencyCodes, bundleVersionOf, createIterator, createListResultSchema, currencyLabel, currencySymbol, currencySymbolSide, formatAmount, formatMoney, isBuiltInControl, isCurrentUser, isCurrentUserDefault, isLengthValue, isPageBackground, isPlatformAttributeName, isReservedAttributeName, isStyleSizeValue, isTitleQueryable, localeNumberSeparators, lookupCompatibleControls, lookupControls, lookupPrimaryControl, parseAmount, parseContactAddressMeta, parseCurrencyMeta, parseFileMeta, parsePrincipalMeta, parseRelationMeta, parseUserMeta, platformAttributes, titleTemplateVariables };
|
|
1978
|
+
//# sourceMappingURL=chunk-C5642XOH.js.map
|
|
1979
|
+
//# sourceMappingURL=chunk-C5642XOH.js.map
|