@proteos/sdk 0.33.0 → 0.34.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-NZI4N4SK.cjs → chunk-HVO3UMFS.cjs} +12 -2
- package/dist/chunk-HVO3UMFS.cjs.map +1 -0
- package/dist/{chunk-JWLTUYS7.js → chunk-Y2TJBWC5.js} +12 -2
- package/dist/chunk-Y2TJBWC5.js.map +1 -0
- package/dist/index.cjs +91 -84
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +58 -4
- package/dist/index.d.ts +58 -4
- package/dist/index.js +9 -2
- package/dist/index.js.map +1 -1
- package/dist/meta/index.cjs +53 -53
- 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-v9RkMuKf.d.cts → types-CiCNPrXT.d.cts} +35 -2
- package/dist/{types-v9RkMuKf.d.ts → types-CiCNPrXT.d.ts} +35 -2
- package/package.json +1 -1
- package/src/conversation/index.ts +18 -0
- package/src/conversation/types.ts +19 -0
- package/src/index.ts +9 -0
- package/src/meta/layout/elements.ts +35 -0
- package/src/meta/layout/index.ts +1 -0
- package/src/meta/types.ts +6 -0
- package/src/workflow/index.ts +2 -0
- package/src/workflow/types.ts +56 -1
- package/dist/chunk-JWLTUYS7.js.map +0 -1
- package/dist/chunk-NZI4N4SK.cjs.map +0 -1
package/dist/meta/index.cjs
CHANGED
|
@@ -1,216 +1,216 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkHVO3UMFS_cjs = require('../chunk-HVO3UMFS.cjs');
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
Object.defineProperty(exports, "AppSchema", {
|
|
8
8
|
enumerable: true,
|
|
9
|
-
get: function () { return
|
|
9
|
+
get: function () { return chunkHVO3UMFS_cjs.AppSchema; }
|
|
10
10
|
});
|
|
11
11
|
Object.defineProperty(exports, "AttributeSchema", {
|
|
12
12
|
enumerable: true,
|
|
13
|
-
get: function () { return
|
|
13
|
+
get: function () { return chunkHVO3UMFS_cjs.AttributeSchema; }
|
|
14
14
|
});
|
|
15
15
|
Object.defineProperty(exports, "BUILT_IN_CONTROLS", {
|
|
16
16
|
enumerable: true,
|
|
17
|
-
get: function () { return
|
|
17
|
+
get: function () { return chunkHVO3UMFS_cjs.BUILT_IN_CONTROLS; }
|
|
18
18
|
});
|
|
19
19
|
Object.defineProperty(exports, "ColumnSchema", {
|
|
20
20
|
enumerable: true,
|
|
21
|
-
get: function () { return
|
|
21
|
+
get: function () { return chunkHVO3UMFS_cjs.ColumnSchema; }
|
|
22
22
|
});
|
|
23
23
|
Object.defineProperty(exports, "ComponentSchema", {
|
|
24
24
|
enumerable: true,
|
|
25
|
-
get: function () { return
|
|
25
|
+
get: function () { return chunkHVO3UMFS_cjs.ComponentSchema; }
|
|
26
26
|
});
|
|
27
27
|
Object.defineProperty(exports, "CurrencyAttributeMetaSchema", {
|
|
28
28
|
enumerable: true,
|
|
29
|
-
get: function () { return
|
|
29
|
+
get: function () { return chunkHVO3UMFS_cjs.CurrencyAttributeMetaSchema; }
|
|
30
30
|
});
|
|
31
31
|
Object.defineProperty(exports, "DesignReferenceSchema", {
|
|
32
32
|
enumerable: true,
|
|
33
|
-
get: function () { return
|
|
33
|
+
get: function () { return chunkHVO3UMFS_cjs.DesignReferenceSchema; }
|
|
34
34
|
});
|
|
35
35
|
Object.defineProperty(exports, "EntitySchema", {
|
|
36
36
|
enumerable: true,
|
|
37
|
-
get: function () { return
|
|
37
|
+
get: function () { return chunkHVO3UMFS_cjs.EntitySchema; }
|
|
38
38
|
});
|
|
39
39
|
Object.defineProperty(exports, "EntityWithSchemaSchema", {
|
|
40
40
|
enumerable: true,
|
|
41
|
-
get: function () { return
|
|
41
|
+
get: function () { return chunkHVO3UMFS_cjs.EntityWithSchemaSchema; }
|
|
42
42
|
});
|
|
43
43
|
Object.defineProperty(exports, "FileAttributeMetaSchema", {
|
|
44
44
|
enumerable: true,
|
|
45
|
-
get: function () { return
|
|
45
|
+
get: function () { return chunkHVO3UMFS_cjs.FileAttributeMetaSchema; }
|
|
46
46
|
});
|
|
47
47
|
Object.defineProperty(exports, "FilterElementSchema", {
|
|
48
48
|
enumerable: true,
|
|
49
|
-
get: function () { return
|
|
49
|
+
get: function () { return chunkHVO3UMFS_cjs.FilterElementSchema; }
|
|
50
50
|
});
|
|
51
51
|
Object.defineProperty(exports, "FilterGroupSchema", {
|
|
52
52
|
enumerable: true,
|
|
53
|
-
get: function () { return
|
|
53
|
+
get: function () { return chunkHVO3UMFS_cjs.FilterGroupSchema; }
|
|
54
54
|
});
|
|
55
55
|
Object.defineProperty(exports, "LayoutElementSchema", {
|
|
56
56
|
enumerable: true,
|
|
57
|
-
get: function () { return
|
|
57
|
+
get: function () { return chunkHVO3UMFS_cjs.LayoutElementSchema; }
|
|
58
58
|
});
|
|
59
59
|
Object.defineProperty(exports, "LayoutElementType", {
|
|
60
60
|
enumerable: true,
|
|
61
|
-
get: function () { return
|
|
61
|
+
get: function () { return chunkHVO3UMFS_cjs.LayoutElementType; }
|
|
62
62
|
});
|
|
63
63
|
Object.defineProperty(exports, "ListSchema", {
|
|
64
64
|
enumerable: true,
|
|
65
|
-
get: function () { return
|
|
65
|
+
get: function () { return chunkHVO3UMFS_cjs.ListSchema; }
|
|
66
66
|
});
|
|
67
67
|
Object.defineProperty(exports, "ListViewSchema", {
|
|
68
68
|
enumerable: true,
|
|
69
|
-
get: function () { return
|
|
69
|
+
get: function () { return chunkHVO3UMFS_cjs.ListViewSchema; }
|
|
70
70
|
});
|
|
71
71
|
Object.defineProperty(exports, "MenuConfigurationSchema", {
|
|
72
72
|
enumerable: true,
|
|
73
|
-
get: function () { return
|
|
73
|
+
get: function () { return chunkHVO3UMFS_cjs.MenuConfigurationSchema; }
|
|
74
74
|
});
|
|
75
75
|
Object.defineProperty(exports, "MenuItemSchema", {
|
|
76
76
|
enumerable: true,
|
|
77
|
-
get: function () { return
|
|
77
|
+
get: function () { return chunkHVO3UMFS_cjs.MenuItemSchema; }
|
|
78
78
|
});
|
|
79
79
|
Object.defineProperty(exports, "MenuItemType", {
|
|
80
80
|
enumerable: true,
|
|
81
|
-
get: function () { return
|
|
81
|
+
get: function () { return chunkHVO3UMFS_cjs.MenuItemType; }
|
|
82
82
|
});
|
|
83
83
|
Object.defineProperty(exports, "MetaClient", {
|
|
84
84
|
enumerable: true,
|
|
85
|
-
get: function () { return
|
|
85
|
+
get: function () { return chunkHVO3UMFS_cjs.MetaClient; }
|
|
86
86
|
});
|
|
87
87
|
Object.defineProperty(exports, "ModuleSchema", {
|
|
88
88
|
enumerable: true,
|
|
89
|
-
get: function () { return
|
|
89
|
+
get: function () { return chunkHVO3UMFS_cjs.ModuleSchema; }
|
|
90
90
|
});
|
|
91
91
|
Object.defineProperty(exports, "OnDeleteActionSchema", {
|
|
92
92
|
enumerable: true,
|
|
93
|
-
get: function () { return
|
|
93
|
+
get: function () { return chunkHVO3UMFS_cjs.OnDeleteActionSchema; }
|
|
94
94
|
});
|
|
95
95
|
Object.defineProperty(exports, "PAGE_BACKGROUND_TOKENS", {
|
|
96
96
|
enumerable: true,
|
|
97
|
-
get: function () { return
|
|
97
|
+
get: function () { return chunkHVO3UMFS_cjs.PAGE_BACKGROUND_TOKENS; }
|
|
98
98
|
});
|
|
99
99
|
Object.defineProperty(exports, "PLATFORM_ATTRIBUTE_NAMES", {
|
|
100
100
|
enumerable: true,
|
|
101
|
-
get: function () { return
|
|
101
|
+
get: function () { return chunkHVO3UMFS_cjs.PLATFORM_ATTRIBUTE_NAMES; }
|
|
102
102
|
});
|
|
103
103
|
Object.defineProperty(exports, "PageActionSchema", {
|
|
104
104
|
enumerable: true,
|
|
105
|
-
get: function () { return
|
|
105
|
+
get: function () { return chunkHVO3UMFS_cjs.PageActionSchema; }
|
|
106
106
|
});
|
|
107
107
|
Object.defineProperty(exports, "PageLayoutSchema", {
|
|
108
108
|
enumerable: true,
|
|
109
|
-
get: function () { return
|
|
109
|
+
get: function () { return chunkHVO3UMFS_cjs.PageLayoutSchema; }
|
|
110
110
|
});
|
|
111
111
|
Object.defineProperty(exports, "PageLayoutSidePanelSchema", {
|
|
112
112
|
enumerable: true,
|
|
113
|
-
get: function () { return
|
|
113
|
+
get: function () { return chunkHVO3UMFS_cjs.PageLayoutSidePanelSchema; }
|
|
114
114
|
});
|
|
115
115
|
Object.defineProperty(exports, "PageSchema", {
|
|
116
116
|
enumerable: true,
|
|
117
|
-
get: function () { return
|
|
117
|
+
get: function () { return chunkHVO3UMFS_cjs.PageSchema; }
|
|
118
118
|
});
|
|
119
119
|
Object.defineProperty(exports, "PageStyleSchema", {
|
|
120
120
|
enumerable: true,
|
|
121
|
-
get: function () { return
|
|
121
|
+
get: function () { return chunkHVO3UMFS_cjs.PageStyleSchema; }
|
|
122
122
|
});
|
|
123
123
|
Object.defineProperty(exports, "RelationAttributeMetaSchema", {
|
|
124
124
|
enumerable: true,
|
|
125
|
-
get: function () { return
|
|
125
|
+
get: function () { return chunkHVO3UMFS_cjs.RelationAttributeMetaSchema; }
|
|
126
126
|
});
|
|
127
127
|
Object.defineProperty(exports, "SizeValueSchema", {
|
|
128
128
|
enumerable: true,
|
|
129
|
-
get: function () { return
|
|
129
|
+
get: function () { return chunkHVO3UMFS_cjs.SizeValueSchema; }
|
|
130
130
|
});
|
|
131
131
|
Object.defineProperty(exports, "SortConfigSchema", {
|
|
132
132
|
enumerable: true,
|
|
133
|
-
get: function () { return
|
|
133
|
+
get: function () { return chunkHVO3UMFS_cjs.SortConfigSchema; }
|
|
134
134
|
});
|
|
135
135
|
Object.defineProperty(exports, "UserAttributeMetaSchema", {
|
|
136
136
|
enumerable: true,
|
|
137
|
-
get: function () { return
|
|
137
|
+
get: function () { return chunkHVO3UMFS_cjs.UserAttributeMetaSchema; }
|
|
138
138
|
});
|
|
139
139
|
Object.defineProperty(exports, "VariableSchema", {
|
|
140
140
|
enumerable: true,
|
|
141
|
-
get: function () { return
|
|
141
|
+
get: function () { return chunkHVO3UMFS_cjs.VariableSchema; }
|
|
142
142
|
});
|
|
143
143
|
Object.defineProperty(exports, "allCurrencyCodes", {
|
|
144
144
|
enumerable: true,
|
|
145
|
-
get: function () { return
|
|
145
|
+
get: function () { return chunkHVO3UMFS_cjs.allCurrencyCodes; }
|
|
146
146
|
});
|
|
147
147
|
Object.defineProperty(exports, "currencyLabel", {
|
|
148
148
|
enumerable: true,
|
|
149
|
-
get: function () { return
|
|
149
|
+
get: function () { return chunkHVO3UMFS_cjs.currencyLabel; }
|
|
150
150
|
});
|
|
151
151
|
Object.defineProperty(exports, "currencySymbol", {
|
|
152
152
|
enumerable: true,
|
|
153
|
-
get: function () { return
|
|
153
|
+
get: function () { return chunkHVO3UMFS_cjs.currencySymbol; }
|
|
154
154
|
});
|
|
155
155
|
Object.defineProperty(exports, "currencySymbolSide", {
|
|
156
156
|
enumerable: true,
|
|
157
|
-
get: function () { return
|
|
157
|
+
get: function () { return chunkHVO3UMFS_cjs.currencySymbolSide; }
|
|
158
158
|
});
|
|
159
159
|
Object.defineProperty(exports, "formatAmount", {
|
|
160
160
|
enumerable: true,
|
|
161
|
-
get: function () { return
|
|
161
|
+
get: function () { return chunkHVO3UMFS_cjs.formatAmount; }
|
|
162
162
|
});
|
|
163
163
|
Object.defineProperty(exports, "formatMoney", {
|
|
164
164
|
enumerable: true,
|
|
165
|
-
get: function () { return
|
|
165
|
+
get: function () { return chunkHVO3UMFS_cjs.formatMoney; }
|
|
166
166
|
});
|
|
167
167
|
Object.defineProperty(exports, "isBuiltInControl", {
|
|
168
168
|
enumerable: true,
|
|
169
|
-
get: function () { return
|
|
169
|
+
get: function () { return chunkHVO3UMFS_cjs.isBuiltInControl; }
|
|
170
170
|
});
|
|
171
171
|
Object.defineProperty(exports, "isPlatformAttributeName", {
|
|
172
172
|
enumerable: true,
|
|
173
|
-
get: function () { return
|
|
173
|
+
get: function () { return chunkHVO3UMFS_cjs.isPlatformAttributeName; }
|
|
174
174
|
});
|
|
175
175
|
Object.defineProperty(exports, "localeNumberSeparators", {
|
|
176
176
|
enumerable: true,
|
|
177
|
-
get: function () { return
|
|
177
|
+
get: function () { return chunkHVO3UMFS_cjs.localeNumberSeparators; }
|
|
178
178
|
});
|
|
179
179
|
Object.defineProperty(exports, "lookupCompatibleControls", {
|
|
180
180
|
enumerable: true,
|
|
181
|
-
get: function () { return
|
|
181
|
+
get: function () { return chunkHVO3UMFS_cjs.lookupCompatibleControls; }
|
|
182
182
|
});
|
|
183
183
|
Object.defineProperty(exports, "lookupControls", {
|
|
184
184
|
enumerable: true,
|
|
185
|
-
get: function () { return
|
|
185
|
+
get: function () { return chunkHVO3UMFS_cjs.lookupControls; }
|
|
186
186
|
});
|
|
187
187
|
Object.defineProperty(exports, "lookupPrimaryControl", {
|
|
188
188
|
enumerable: true,
|
|
189
|
-
get: function () { return
|
|
189
|
+
get: function () { return chunkHVO3UMFS_cjs.lookupPrimaryControl; }
|
|
190
190
|
});
|
|
191
191
|
Object.defineProperty(exports, "parseAmount", {
|
|
192
192
|
enumerable: true,
|
|
193
|
-
get: function () { return
|
|
193
|
+
get: function () { return chunkHVO3UMFS_cjs.parseAmount; }
|
|
194
194
|
});
|
|
195
195
|
Object.defineProperty(exports, "parseCurrencyMeta", {
|
|
196
196
|
enumerable: true,
|
|
197
|
-
get: function () { return
|
|
197
|
+
get: function () { return chunkHVO3UMFS_cjs.parseCurrencyMeta; }
|
|
198
198
|
});
|
|
199
199
|
Object.defineProperty(exports, "parseFileMeta", {
|
|
200
200
|
enumerable: true,
|
|
201
|
-
get: function () { return
|
|
201
|
+
get: function () { return chunkHVO3UMFS_cjs.parseFileMeta; }
|
|
202
202
|
});
|
|
203
203
|
Object.defineProperty(exports, "parseRelationMeta", {
|
|
204
204
|
enumerable: true,
|
|
205
|
-
get: function () { return
|
|
205
|
+
get: function () { return chunkHVO3UMFS_cjs.parseRelationMeta; }
|
|
206
206
|
});
|
|
207
207
|
Object.defineProperty(exports, "parseUserMeta", {
|
|
208
208
|
enumerable: true,
|
|
209
|
-
get: function () { return
|
|
209
|
+
get: function () { return chunkHVO3UMFS_cjs.parseUserMeta; }
|
|
210
210
|
});
|
|
211
211
|
Object.defineProperty(exports, "platformAttributes", {
|
|
212
212
|
enumerable: true,
|
|
213
|
-
get: function () { return
|
|
213
|
+
get: function () { return chunkHVO3UMFS_cjs.platformAttributes; }
|
|
214
214
|
});
|
|
215
215
|
//# sourceMappingURL=index.cjs.map
|
|
216
216
|
//# sourceMappingURL=index.cjs.map
|
package/dist/meta/index.d.cts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { e as App, f as AppSchema, g as AppService,
|
|
1
|
+
export { e as App, f as AppSchema, g as AppService, h as ArrayAttributeMeta, a as Attribute, bp as AttributeForLookup, bq as AttributeMeta, i as AttributeSchema, j as AttributeType, br as BUILT_IN_CONTROLS, bs as BuiltInControlSlug, l as Column, bt as ColumnElement, m as ColumnSchema, bu as CommonProps, n as ComparisonOperator, o as Component, bv as ComponentElement, p as ComponentSchema, q as ComponentService, bw as ControlBucket, r as CreateAppRequest, s as CreateComponentRequest, t as CreateDesignReferenceRequest, u as CreateEntityRequest, v as CreateListRequest, w as CreateListViewRequest, x as CreateMenuConfigurationRequest, y as CreatePageRequest, z as CreateVariableRequest, B as CurrencyAttributeMeta, D as CurrencyAttributeMetaSchema, E as CurrencySymbolSide, G as CurrencyValue, bx as DatetimeAttributeMeta, by as DatetimeFormat, K as DeployModuleRequest, M as DesignReference, N as DesignReferenceContent, O as DesignReferenceSchema, Q as DesignReferenceService, bz as DividerElement, S as Entity, T as EntitySchema, V as EntityService, W as EntityWithSchema, X as EntityWithSchemaSchema, Y as EnumAttributeMeta, Z as EnumValue, bA as FieldElement, _ as FileAttributeMeta, bB as FileAttributeMetaSchema, a0 as FilterElement, a1 as FilterElementSchema, a2 as FilterGroup, a3 as FilterGroupSchema, bC as LayoutAlign, bD as LayoutElement, bE as LayoutElementSchema, bF as LayoutElementType, bG as LayoutGap, bH as LayoutJustify, bI as LayoutTab, a4 as List, a5 as ListAppsOptions, a6 as ListComponentsOptions, a7 as ListDesignReferencesOptions, a8 as ListEntitiesOptions, aa as ListListViewsOptions, ab as ListListsOptions, ac as ListMenuConfigurationsOptions, ad as ListModulesOptions, ae as ListPagesOptions, af as ListSchema, ag as ListService, ah as ListVariablesOptions, ai as ListView, aj as ListViewSchema, ak as ListViewService, al as LogicalOperator, am as MenuConfiguration, an as MenuConfigurationSchema, ao as MenuConfigurationService, ap as MenuItem, aq as MenuItemSchema, ar as MenuItemType, as as MetaClient, at as MetaListOptions, au as Module, av as ModuleSchema, aw as ModuleService, ax as ModuleStatus, bJ as NumberAttributeMeta, bK as ObjectAttributeMeta, ay as OnDeleteAction, az as OnDeleteActionSchema, bL as PAGE_BACKGROUND_TOKENS, aA as PLATFORM_ATTRIBUTE_NAMES, aC as Page, aD as PageAction, aE as PageActionSchema, bM as PageBackgroundToken, aF as PageLayout, aG as PageLayoutSchema, bN as PageLayoutSidePanel, bO as PageLayoutSidePanelSchema, aH as PageSchema, aI as PageService, bP as PageStyle, bQ as PageStyleSchema, aJ as PageType, d as PublicAccessOperation, aK as PublicPageComponent, aL as PublicPageResponse, bR as RelatedListElement, bS as RelatedRecordElement, aM as RelationAttributeMeta, aN as RelationAttributeMetaSchema, bT as ResponsiveSizing, bU as RowElement, bV as SectionElement, bW as SizeValue, bX as SizeValueSchema, bY as SizingProps, aS as SortConfig, aT as SortConfigSchema, aU as SortDirection, bZ as StringAttributeMeta, b_ as StringFormat, b$ as TabsElement, c0 as TextElement, c1 as TextVariant, aX as UpdateAppRequest, aY as UpdateComponentRequest, aZ as UpdateDesignReferenceRequest, a_ as UpdateEntityRequest, a$ as UpdateListRequest, b0 as UpdateListViewRequest, b1 as UpdateMenuConfigurationRequest, b2 as UpdatePageRequest, b3 as UpdateVariableRequest, c2 as UserAttributeMeta, c3 as UserAttributeMetaSchema, b6 as Variable, b7 as VariableSchema, b8 as VariableService, b9 as allCurrencyCodes, bc as currencyLabel, bd as currencySymbol, be as currencySymbolSide, bf as formatAmount, bg as formatMoney, c4 as isBuiltInControl, bh as isPlatformAttributeName, bi as localeNumberSeparators, c5 as lookupCompatibleControls, c6 as lookupControls, c7 as lookupPrimaryControl, bj as parseAmount, bk as parseCurrencyMeta, bl as parseFileMeta, bm as parseRelationMeta, c8 as parseUserMeta, bn as platformAttributes } from '../types-CiCNPrXT.cjs';
|
|
2
2
|
import 'zod';
|
package/dist/meta/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { e as App, f as AppSchema, g as AppService,
|
|
1
|
+
export { e as App, f as AppSchema, g as AppService, h as ArrayAttributeMeta, a as Attribute, bp as AttributeForLookup, bq as AttributeMeta, i as AttributeSchema, j as AttributeType, br as BUILT_IN_CONTROLS, bs as BuiltInControlSlug, l as Column, bt as ColumnElement, m as ColumnSchema, bu as CommonProps, n as ComparisonOperator, o as Component, bv as ComponentElement, p as ComponentSchema, q as ComponentService, bw as ControlBucket, r as CreateAppRequest, s as CreateComponentRequest, t as CreateDesignReferenceRequest, u as CreateEntityRequest, v as CreateListRequest, w as CreateListViewRequest, x as CreateMenuConfigurationRequest, y as CreatePageRequest, z as CreateVariableRequest, B as CurrencyAttributeMeta, D as CurrencyAttributeMetaSchema, E as CurrencySymbolSide, G as CurrencyValue, bx as DatetimeAttributeMeta, by as DatetimeFormat, K as DeployModuleRequest, M as DesignReference, N as DesignReferenceContent, O as DesignReferenceSchema, Q as DesignReferenceService, bz as DividerElement, S as Entity, T as EntitySchema, V as EntityService, W as EntityWithSchema, X as EntityWithSchemaSchema, Y as EnumAttributeMeta, Z as EnumValue, bA as FieldElement, _ as FileAttributeMeta, bB as FileAttributeMetaSchema, a0 as FilterElement, a1 as FilterElementSchema, a2 as FilterGroup, a3 as FilterGroupSchema, bC as LayoutAlign, bD as LayoutElement, bE as LayoutElementSchema, bF as LayoutElementType, bG as LayoutGap, bH as LayoutJustify, bI as LayoutTab, a4 as List, a5 as ListAppsOptions, a6 as ListComponentsOptions, a7 as ListDesignReferencesOptions, a8 as ListEntitiesOptions, aa as ListListViewsOptions, ab as ListListsOptions, ac as ListMenuConfigurationsOptions, ad as ListModulesOptions, ae as ListPagesOptions, af as ListSchema, ag as ListService, ah as ListVariablesOptions, ai as ListView, aj as ListViewSchema, ak as ListViewService, al as LogicalOperator, am as MenuConfiguration, an as MenuConfigurationSchema, ao as MenuConfigurationService, ap as MenuItem, aq as MenuItemSchema, ar as MenuItemType, as as MetaClient, at as MetaListOptions, au as Module, av as ModuleSchema, aw as ModuleService, ax as ModuleStatus, bJ as NumberAttributeMeta, bK as ObjectAttributeMeta, ay as OnDeleteAction, az as OnDeleteActionSchema, bL as PAGE_BACKGROUND_TOKENS, aA as PLATFORM_ATTRIBUTE_NAMES, aC as Page, aD as PageAction, aE as PageActionSchema, bM as PageBackgroundToken, aF as PageLayout, aG as PageLayoutSchema, bN as PageLayoutSidePanel, bO as PageLayoutSidePanelSchema, aH as PageSchema, aI as PageService, bP as PageStyle, bQ as PageStyleSchema, aJ as PageType, d as PublicAccessOperation, aK as PublicPageComponent, aL as PublicPageResponse, bR as RelatedListElement, bS as RelatedRecordElement, aM as RelationAttributeMeta, aN as RelationAttributeMetaSchema, bT as ResponsiveSizing, bU as RowElement, bV as SectionElement, bW as SizeValue, bX as SizeValueSchema, bY as SizingProps, aS as SortConfig, aT as SortConfigSchema, aU as SortDirection, bZ as StringAttributeMeta, b_ as StringFormat, b$ as TabsElement, c0 as TextElement, c1 as TextVariant, aX as UpdateAppRequest, aY as UpdateComponentRequest, aZ as UpdateDesignReferenceRequest, a_ as UpdateEntityRequest, a$ as UpdateListRequest, b0 as UpdateListViewRequest, b1 as UpdateMenuConfigurationRequest, b2 as UpdatePageRequest, b3 as UpdateVariableRequest, c2 as UserAttributeMeta, c3 as UserAttributeMetaSchema, b6 as Variable, b7 as VariableSchema, b8 as VariableService, b9 as allCurrencyCodes, bc as currencyLabel, bd as currencySymbol, be as currencySymbolSide, bf as formatAmount, bg as formatMoney, c4 as isBuiltInControl, bh as isPlatformAttributeName, bi as localeNumberSeparators, c5 as lookupCompatibleControls, c6 as lookupControls, c7 as lookupPrimaryControl, bj as parseAmount, bk as parseCurrencyMeta, bl as parseFileMeta, bm as parseRelationMeta, c8 as parseUserMeta, bn as platformAttributes } from '../types-CiCNPrXT.js';
|
|
2
2
|
import 'zod';
|
package/dist/meta/index.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export { AppSchema, AttributeSchema, BUILT_IN_CONTROLS, ColumnSchema, ComponentSchema, CurrencyAttributeMetaSchema, DesignReferenceSchema, EntitySchema, EntityWithSchemaSchema, FileAttributeMetaSchema, FilterElementSchema, FilterGroupSchema, LayoutElementSchema, LayoutElementType, ListSchema, ListViewSchema, MenuConfigurationSchema, MenuItemSchema, MenuItemType, MetaClient, ModuleSchema, OnDeleteActionSchema, PAGE_BACKGROUND_TOKENS, PLATFORM_ATTRIBUTE_NAMES, PageActionSchema, PageLayoutSchema, PageLayoutSidePanelSchema, PageSchema, PageStyleSchema, RelationAttributeMetaSchema, SizeValueSchema, SortConfigSchema, UserAttributeMetaSchema, VariableSchema, allCurrencyCodes, currencyLabel, currencySymbol, currencySymbolSide, formatAmount, formatMoney, isBuiltInControl, isPlatformAttributeName, localeNumberSeparators, lookupCompatibleControls, lookupControls, lookupPrimaryControl, parseAmount, parseCurrencyMeta, parseFileMeta, parseRelationMeta, parseUserMeta, platformAttributes } from '../chunk-
|
|
1
|
+
export { AppSchema, AttributeSchema, BUILT_IN_CONTROLS, ColumnSchema, ComponentSchema, CurrencyAttributeMetaSchema, DesignReferenceSchema, EntitySchema, EntityWithSchemaSchema, FileAttributeMetaSchema, FilterElementSchema, FilterGroupSchema, LayoutElementSchema, LayoutElementType, ListSchema, ListViewSchema, MenuConfigurationSchema, MenuItemSchema, MenuItemType, MetaClient, ModuleSchema, OnDeleteActionSchema, PAGE_BACKGROUND_TOKENS, PLATFORM_ATTRIBUTE_NAMES, PageActionSchema, PageLayoutSchema, PageLayoutSidePanelSchema, PageSchema, PageStyleSchema, RelationAttributeMetaSchema, SizeValueSchema, SortConfigSchema, UserAttributeMetaSchema, VariableSchema, allCurrencyCodes, currencyLabel, currencySymbol, currencySymbolSide, formatAmount, formatMoney, isBuiltInControl, isPlatformAttributeName, localeNumberSeparators, lookupCompatibleControls, lookupControls, lookupPrimaryControl, parseAmount, parseCurrencyMeta, parseFileMeta, parseRelationMeta, parseUserMeta, platformAttributes } from '../chunk-Y2TJBWC5.js';
|
|
2
2
|
//# sourceMappingURL=index.js.map
|
|
3
3
|
//# sourceMappingURL=index.js.map
|
|
@@ -1423,6 +1423,7 @@ declare const LayoutElementType: {
|
|
|
1423
1423
|
readonly Tabs: "tabs";
|
|
1424
1424
|
readonly Field: "field";
|
|
1425
1425
|
readonly RelatedList: "related_list";
|
|
1426
|
+
readonly RelatedRecord: "related_record";
|
|
1426
1427
|
readonly Component: "component";
|
|
1427
1428
|
readonly Divider: "divider";
|
|
1428
1429
|
readonly Text: "text";
|
|
@@ -1496,6 +1497,30 @@ type RelatedListElement = CommonProps & {
|
|
|
1496
1497
|
*/
|
|
1497
1498
|
follows_parent_edit_mode?: boolean;
|
|
1498
1499
|
};
|
|
1500
|
+
/**
|
|
1501
|
+
* Renders the FIRST record of `related_entity_slug` that references the
|
|
1502
|
+
* current record through the `via_attribute` relation attribute — the
|
|
1503
|
+
* singular counterpart of `related_list`, addressing the relation the same
|
|
1504
|
+
* inbound way. The match is taken oldest-first so the choice is stable.
|
|
1505
|
+
*
|
|
1506
|
+
* `page_slug` optionally pins which record page supplies the layout; when
|
|
1507
|
+
* omitted (or dangling) the renderer falls back to the related entity's
|
|
1508
|
+
* default record page. The element renders that page bare — wrap it in a
|
|
1509
|
+
* `section` element for a title or collapse affordance.
|
|
1510
|
+
*/
|
|
1511
|
+
type RelatedRecordElement = CommonProps & {
|
|
1512
|
+
type: 'related_record';
|
|
1513
|
+
related_entity_slug: string;
|
|
1514
|
+
via_attribute: string;
|
|
1515
|
+
page_slug?: string;
|
|
1516
|
+
/**
|
|
1517
|
+
* When absent or true, the element enters edit mode together with the host
|
|
1518
|
+
* page's edit mode. False keeps it independent — editable only through its
|
|
1519
|
+
* own hover control. Either way the element saves the related record
|
|
1520
|
+
* itself; the host page's Save never covers it.
|
|
1521
|
+
*/
|
|
1522
|
+
follows_parent_edit_mode?: boolean;
|
|
1523
|
+
};
|
|
1499
1524
|
type ComponentElement = CommonProps & {
|
|
1500
1525
|
type: 'component';
|
|
1501
1526
|
component_slug: string;
|
|
@@ -1516,7 +1541,7 @@ type TextElement = CommonProps & {
|
|
|
1516
1541
|
variant: TextVariant;
|
|
1517
1542
|
content: string;
|
|
1518
1543
|
};
|
|
1519
|
-
type LayoutElement = RowElement | ColumnElement | SectionElement | TabsElement | FieldElement | RelatedListElement | ComponentElement | DividerElement | TextElement;
|
|
1544
|
+
type LayoutElement = RowElement | ColumnElement | SectionElement | TabsElement | FieldElement | RelatedListElement | RelatedRecordElement | ComponentElement | DividerElement | TextElement;
|
|
1520
1545
|
declare const LayoutElementSchema: z.ZodType<LayoutElement>;
|
|
1521
1546
|
|
|
1522
1547
|
/**
|
|
@@ -2719,6 +2744,8 @@ interface List extends AuditFields {
|
|
|
2719
2744
|
name: string;
|
|
2720
2745
|
entity_slug: string;
|
|
2721
2746
|
columns: Column[];
|
|
2747
|
+
/** Record page to open from this list; empty/absent = org default for the entity. */
|
|
2748
|
+
default_page_slug?: string;
|
|
2722
2749
|
sorting: SortConfig[];
|
|
2723
2750
|
filters: FilterGroup[];
|
|
2724
2751
|
}
|
|
@@ -2786,6 +2813,7 @@ declare const ListSchema: z.ZodObject<{
|
|
|
2786
2813
|
label: string;
|
|
2787
2814
|
attribute: string;
|
|
2788
2815
|
}>, "many">;
|
|
2816
|
+
default_page_slug: z.ZodOptional<z.ZodString>;
|
|
2789
2817
|
sorting: z.ZodArray<z.ZodObject<{
|
|
2790
2818
|
attribute: z.ZodString;
|
|
2791
2819
|
direction: z.ZodEnum<["asc", "desc"]>;
|
|
@@ -2822,6 +2850,7 @@ declare const ListSchema: z.ZodObject<{
|
|
|
2822
2850
|
direction: "asc" | "desc";
|
|
2823
2851
|
}[];
|
|
2824
2852
|
filters: FilterGroup[];
|
|
2853
|
+
default_page_slug?: string | undefined;
|
|
2825
2854
|
}, {
|
|
2826
2855
|
name: string;
|
|
2827
2856
|
created_at: string;
|
|
@@ -2847,6 +2876,7 @@ declare const ListSchema: z.ZodObject<{
|
|
|
2847
2876
|
direction: "asc" | "desc";
|
|
2848
2877
|
}[];
|
|
2849
2878
|
filters: FilterGroup[];
|
|
2879
|
+
default_page_slug?: string | undefined;
|
|
2850
2880
|
}>;
|
|
2851
2881
|
/**
|
|
2852
2882
|
* Options for listing lists.
|
|
@@ -2866,6 +2896,7 @@ interface CreateListRequest {
|
|
|
2866
2896
|
entity_slug: string;
|
|
2867
2897
|
name: string;
|
|
2868
2898
|
columns: Column[];
|
|
2899
|
+
default_page_slug?: string;
|
|
2869
2900
|
sorting: SortConfig[];
|
|
2870
2901
|
filters: FilterGroup[];
|
|
2871
2902
|
}
|
|
@@ -2876,6 +2907,8 @@ interface UpdateListRequest {
|
|
|
2876
2907
|
name?: string;
|
|
2877
2908
|
module_slug?: string;
|
|
2878
2909
|
columns?: Column[];
|
|
2910
|
+
/** Set to '' to clear back to the org default. */
|
|
2911
|
+
default_page_slug?: string;
|
|
2879
2912
|
sorting?: SortConfig[];
|
|
2880
2913
|
filters?: FilterGroup[];
|
|
2881
2914
|
}
|
|
@@ -3658,4 +3691,4 @@ interface DesignReferenceContent {
|
|
|
3658
3691
|
content: string;
|
|
3659
3692
|
}
|
|
3660
3693
|
|
|
3661
|
-
export {
|
|
3694
|
+
export { FileRefSchema as $, type AuditFields as A, type CurrencyAttributeMeta as B, type ClientOptions as C, CurrencyAttributeMetaSchema as D, type CurrencySymbolSide as E, type FileRef as F, type CurrencyValue as G, DEFAULT_OPTIONS as H, DEFAULT_PAGE_SIZE as I, DONE as J, type DeployModuleRequest as K, type ListOptions as L, type DesignReference as M, type DesignReferenceContent as N, DesignReferenceSchema as O, PageIterator as P, type DesignReferenceService as Q, type Done as R, type Entity as S, EntitySchema as T, type UserRef as U, type EntityService as V, type EntityWithSchema as W, EntityWithSchemaSchema as X, type EnumAttributeMeta as Y, type EnumValue as Z, type FileAttributeMeta as _, type Attribute as a, type UpdateListRequest as a$, type FilterElement as a0, FilterElementSchema as a1, type FilterGroup as a2, FilterGroupSchema as a3, type List as a4, type ListAppsOptions as a5, type ListComponentsOptions as a6, type ListDesignReferencesOptions as a7, type ListEntitiesOptions as a8, type ListFn as a9, PLATFORM_ATTRIBUTE_NAMES as aA, PLATFORM_USER_ID as aB, type Page as aC, type PageAction as aD, PageActionSchema as aE, type PageLayout as aF, PageLayoutSchema as aG, PageSchema as aH, type PageService as aI, type PageType as aJ, type PublicPageComponent as aK, type PublicPageResponse as aL, type RelationAttributeMeta as aM, RelationAttributeMetaSchema as aN, type RequestOptions as aO, type ResolvedClientOptions as aP, type ResponseMeta as aQ, ResponseMetaSchema as aR, type SortConfig as aS, SortConfigSchema as aT, type SortDirection as aU, type Timestamps as aV, type TokenProvider as aW, type UpdateAppRequest as aX, type UpdateComponentRequest as aY, type UpdateDesignReferenceRequest as aZ, type UpdateEntityRequest as a_, type ListListViewsOptions as aa, type ListListsOptions as ab, type ListMenuConfigurationsOptions as ac, type ListModulesOptions as ad, type ListPagesOptions as ae, ListSchema as af, type ListService as ag, type ListVariablesOptions as ah, type ListView as ai, ListViewSchema as aj, type ListViewService as ak, type LogicalOperator as al, type MenuConfiguration as am, MenuConfigurationSchema as an, type MenuConfigurationService as ao, type MenuItem as ap, MenuItemSchema as aq, MenuItemType as ar, MetaClient as as, type MetaListOptions as at, type Module as au, ModuleSchema as av, type ModuleService as aw, type ModuleStatus as ax, type OnDeleteAction as ay, OnDeleteActionSchema as az, type ListResult as b, type TabsElement as b$, type UpdateListViewRequest as b0, type UpdateMenuConfigurationRequest as b1, type UpdatePageRequest as b2, type UpdateVariableRequest as b3, UserRefSchema as b4, type UserType as b5, type Variable as b6, VariableSchema as b7, type VariableService as b8, allCurrencyCodes as b9, type FieldElement as bA, FileAttributeMetaSchema as bB, type LayoutAlign as bC, type LayoutElement as bD, LayoutElementSchema as bE, LayoutElementType as bF, type LayoutGap as bG, type LayoutJustify as bH, type LayoutTab as bI, type NumberAttributeMeta as bJ, type ObjectAttributeMeta as bK, PAGE_BACKGROUND_TOKENS as bL, type PageBackgroundToken as bM, type PageLayoutSidePanel as bN, PageLayoutSidePanelSchema as bO, type PageStyle as bP, PageStyleSchema as bQ, type RelatedListElement as bR, type RelatedRecordElement as bS, type ResponsiveSizing as bT, type RowElement as bU, type SectionElement as bV, type SizeValue as bW, SizeValueSchema as bX, type SizingProps as bY, type StringAttributeMeta as bZ, type StringFormat as b_, createIterator as ba, createListResultSchema as bb, currencyLabel as bc, currencySymbol as bd, currencySymbolSide as be, formatAmount as bf, formatMoney as bg, isPlatformAttributeName as bh, localeNumberSeparators as bi, parseAmount as bj, parseCurrencyMeta as bk, parseFileMeta as bl, parseRelationMeta as bm, platformAttributes as bn, resolveOptions as bo, type AttributeForLookup as bp, type AttributeMeta as bq, BUILT_IN_CONTROLS as br, type BuiltInControlSlug as bs, type ColumnElement as bt, type CommonProps as bu, type ComponentElement as bv, type ControlBucket as bw, type DatetimeAttributeMeta as bx, type DatetimeFormat as by, type DividerElement as bz, ProteosClient as c, type TextElement as c0, type TextVariant as c1, type UserAttributeMeta as c2, UserAttributeMetaSchema as c3, isBuiltInControl as c4, lookupCompatibleControls as c5, lookupControls as c6, lookupPrimaryControl as c7, parseUserMeta as c8, type PublicAccessOperation as d, type App as e, AppSchema as f, type AppService as g, type ArrayAttributeMeta as h, AttributeSchema as i, type AttributeType as j, AuditFieldsSchema as k, type Column as l, ColumnSchema as m, type ComparisonOperator as n, type Component as o, ComponentSchema as p, type ComponentService as q, type CreateAppRequest as r, type CreateComponentRequest as s, type CreateDesignReferenceRequest as t, type CreateEntityRequest as u, type CreateListRequest as v, type CreateListViewRequest as w, type CreateMenuConfigurationRequest as x, type CreatePageRequest as y, type CreateVariableRequest as z };
|
|
@@ -1423,6 +1423,7 @@ declare const LayoutElementType: {
|
|
|
1423
1423
|
readonly Tabs: "tabs";
|
|
1424
1424
|
readonly Field: "field";
|
|
1425
1425
|
readonly RelatedList: "related_list";
|
|
1426
|
+
readonly RelatedRecord: "related_record";
|
|
1426
1427
|
readonly Component: "component";
|
|
1427
1428
|
readonly Divider: "divider";
|
|
1428
1429
|
readonly Text: "text";
|
|
@@ -1496,6 +1497,30 @@ type RelatedListElement = CommonProps & {
|
|
|
1496
1497
|
*/
|
|
1497
1498
|
follows_parent_edit_mode?: boolean;
|
|
1498
1499
|
};
|
|
1500
|
+
/**
|
|
1501
|
+
* Renders the FIRST record of `related_entity_slug` that references the
|
|
1502
|
+
* current record through the `via_attribute` relation attribute — the
|
|
1503
|
+
* singular counterpart of `related_list`, addressing the relation the same
|
|
1504
|
+
* inbound way. The match is taken oldest-first so the choice is stable.
|
|
1505
|
+
*
|
|
1506
|
+
* `page_slug` optionally pins which record page supplies the layout; when
|
|
1507
|
+
* omitted (or dangling) the renderer falls back to the related entity's
|
|
1508
|
+
* default record page. The element renders that page bare — wrap it in a
|
|
1509
|
+
* `section` element for a title or collapse affordance.
|
|
1510
|
+
*/
|
|
1511
|
+
type RelatedRecordElement = CommonProps & {
|
|
1512
|
+
type: 'related_record';
|
|
1513
|
+
related_entity_slug: string;
|
|
1514
|
+
via_attribute: string;
|
|
1515
|
+
page_slug?: string;
|
|
1516
|
+
/**
|
|
1517
|
+
* When absent or true, the element enters edit mode together with the host
|
|
1518
|
+
* page's edit mode. False keeps it independent — editable only through its
|
|
1519
|
+
* own hover control. Either way the element saves the related record
|
|
1520
|
+
* itself; the host page's Save never covers it.
|
|
1521
|
+
*/
|
|
1522
|
+
follows_parent_edit_mode?: boolean;
|
|
1523
|
+
};
|
|
1499
1524
|
type ComponentElement = CommonProps & {
|
|
1500
1525
|
type: 'component';
|
|
1501
1526
|
component_slug: string;
|
|
@@ -1516,7 +1541,7 @@ type TextElement = CommonProps & {
|
|
|
1516
1541
|
variant: TextVariant;
|
|
1517
1542
|
content: string;
|
|
1518
1543
|
};
|
|
1519
|
-
type LayoutElement = RowElement | ColumnElement | SectionElement | TabsElement | FieldElement | RelatedListElement | ComponentElement | DividerElement | TextElement;
|
|
1544
|
+
type LayoutElement = RowElement | ColumnElement | SectionElement | TabsElement | FieldElement | RelatedListElement | RelatedRecordElement | ComponentElement | DividerElement | TextElement;
|
|
1520
1545
|
declare const LayoutElementSchema: z.ZodType<LayoutElement>;
|
|
1521
1546
|
|
|
1522
1547
|
/**
|
|
@@ -2719,6 +2744,8 @@ interface List extends AuditFields {
|
|
|
2719
2744
|
name: string;
|
|
2720
2745
|
entity_slug: string;
|
|
2721
2746
|
columns: Column[];
|
|
2747
|
+
/** Record page to open from this list; empty/absent = org default for the entity. */
|
|
2748
|
+
default_page_slug?: string;
|
|
2722
2749
|
sorting: SortConfig[];
|
|
2723
2750
|
filters: FilterGroup[];
|
|
2724
2751
|
}
|
|
@@ -2786,6 +2813,7 @@ declare const ListSchema: z.ZodObject<{
|
|
|
2786
2813
|
label: string;
|
|
2787
2814
|
attribute: string;
|
|
2788
2815
|
}>, "many">;
|
|
2816
|
+
default_page_slug: z.ZodOptional<z.ZodString>;
|
|
2789
2817
|
sorting: z.ZodArray<z.ZodObject<{
|
|
2790
2818
|
attribute: z.ZodString;
|
|
2791
2819
|
direction: z.ZodEnum<["asc", "desc"]>;
|
|
@@ -2822,6 +2850,7 @@ declare const ListSchema: z.ZodObject<{
|
|
|
2822
2850
|
direction: "asc" | "desc";
|
|
2823
2851
|
}[];
|
|
2824
2852
|
filters: FilterGroup[];
|
|
2853
|
+
default_page_slug?: string | undefined;
|
|
2825
2854
|
}, {
|
|
2826
2855
|
name: string;
|
|
2827
2856
|
created_at: string;
|
|
@@ -2847,6 +2876,7 @@ declare const ListSchema: z.ZodObject<{
|
|
|
2847
2876
|
direction: "asc" | "desc";
|
|
2848
2877
|
}[];
|
|
2849
2878
|
filters: FilterGroup[];
|
|
2879
|
+
default_page_slug?: string | undefined;
|
|
2850
2880
|
}>;
|
|
2851
2881
|
/**
|
|
2852
2882
|
* Options for listing lists.
|
|
@@ -2866,6 +2896,7 @@ interface CreateListRequest {
|
|
|
2866
2896
|
entity_slug: string;
|
|
2867
2897
|
name: string;
|
|
2868
2898
|
columns: Column[];
|
|
2899
|
+
default_page_slug?: string;
|
|
2869
2900
|
sorting: SortConfig[];
|
|
2870
2901
|
filters: FilterGroup[];
|
|
2871
2902
|
}
|
|
@@ -2876,6 +2907,8 @@ interface UpdateListRequest {
|
|
|
2876
2907
|
name?: string;
|
|
2877
2908
|
module_slug?: string;
|
|
2878
2909
|
columns?: Column[];
|
|
2910
|
+
/** Set to '' to clear back to the org default. */
|
|
2911
|
+
default_page_slug?: string;
|
|
2879
2912
|
sorting?: SortConfig[];
|
|
2880
2913
|
filters?: FilterGroup[];
|
|
2881
2914
|
}
|
|
@@ -3658,4 +3691,4 @@ interface DesignReferenceContent {
|
|
|
3658
3691
|
content: string;
|
|
3659
3692
|
}
|
|
3660
3693
|
|
|
3661
|
-
export {
|
|
3694
|
+
export { FileRefSchema as $, type AuditFields as A, type CurrencyAttributeMeta as B, type ClientOptions as C, CurrencyAttributeMetaSchema as D, type CurrencySymbolSide as E, type FileRef as F, type CurrencyValue as G, DEFAULT_OPTIONS as H, DEFAULT_PAGE_SIZE as I, DONE as J, type DeployModuleRequest as K, type ListOptions as L, type DesignReference as M, type DesignReferenceContent as N, DesignReferenceSchema as O, PageIterator as P, type DesignReferenceService as Q, type Done as R, type Entity as S, EntitySchema as T, type UserRef as U, type EntityService as V, type EntityWithSchema as W, EntityWithSchemaSchema as X, type EnumAttributeMeta as Y, type EnumValue as Z, type FileAttributeMeta as _, type Attribute as a, type UpdateListRequest as a$, type FilterElement as a0, FilterElementSchema as a1, type FilterGroup as a2, FilterGroupSchema as a3, type List as a4, type ListAppsOptions as a5, type ListComponentsOptions as a6, type ListDesignReferencesOptions as a7, type ListEntitiesOptions as a8, type ListFn as a9, PLATFORM_ATTRIBUTE_NAMES as aA, PLATFORM_USER_ID as aB, type Page as aC, type PageAction as aD, PageActionSchema as aE, type PageLayout as aF, PageLayoutSchema as aG, PageSchema as aH, type PageService as aI, type PageType as aJ, type PublicPageComponent as aK, type PublicPageResponse as aL, type RelationAttributeMeta as aM, RelationAttributeMetaSchema as aN, type RequestOptions as aO, type ResolvedClientOptions as aP, type ResponseMeta as aQ, ResponseMetaSchema as aR, type SortConfig as aS, SortConfigSchema as aT, type SortDirection as aU, type Timestamps as aV, type TokenProvider as aW, type UpdateAppRequest as aX, type UpdateComponentRequest as aY, type UpdateDesignReferenceRequest as aZ, type UpdateEntityRequest as a_, type ListListViewsOptions as aa, type ListListsOptions as ab, type ListMenuConfigurationsOptions as ac, type ListModulesOptions as ad, type ListPagesOptions as ae, ListSchema as af, type ListService as ag, type ListVariablesOptions as ah, type ListView as ai, ListViewSchema as aj, type ListViewService as ak, type LogicalOperator as al, type MenuConfiguration as am, MenuConfigurationSchema as an, type MenuConfigurationService as ao, type MenuItem as ap, MenuItemSchema as aq, MenuItemType as ar, MetaClient as as, type MetaListOptions as at, type Module as au, ModuleSchema as av, type ModuleService as aw, type ModuleStatus as ax, type OnDeleteAction as ay, OnDeleteActionSchema as az, type ListResult as b, type TabsElement as b$, type UpdateListViewRequest as b0, type UpdateMenuConfigurationRequest as b1, type UpdatePageRequest as b2, type UpdateVariableRequest as b3, UserRefSchema as b4, type UserType as b5, type Variable as b6, VariableSchema as b7, type VariableService as b8, allCurrencyCodes as b9, type FieldElement as bA, FileAttributeMetaSchema as bB, type LayoutAlign as bC, type LayoutElement as bD, LayoutElementSchema as bE, LayoutElementType as bF, type LayoutGap as bG, type LayoutJustify as bH, type LayoutTab as bI, type NumberAttributeMeta as bJ, type ObjectAttributeMeta as bK, PAGE_BACKGROUND_TOKENS as bL, type PageBackgroundToken as bM, type PageLayoutSidePanel as bN, PageLayoutSidePanelSchema as bO, type PageStyle as bP, PageStyleSchema as bQ, type RelatedListElement as bR, type RelatedRecordElement as bS, type ResponsiveSizing as bT, type RowElement as bU, type SectionElement as bV, type SizeValue as bW, SizeValueSchema as bX, type SizingProps as bY, type StringAttributeMeta as bZ, type StringFormat as b_, createIterator as ba, createListResultSchema as bb, currencyLabel as bc, currencySymbol as bd, currencySymbolSide as be, formatAmount as bf, formatMoney as bg, isPlatformAttributeName as bh, localeNumberSeparators as bi, parseAmount as bj, parseCurrencyMeta as bk, parseFileMeta as bl, parseRelationMeta as bm, platformAttributes as bn, resolveOptions as bo, type AttributeForLookup as bp, type AttributeMeta as bq, BUILT_IN_CONTROLS as br, type BuiltInControlSlug as bs, type ColumnElement as bt, type CommonProps as bu, type ComponentElement as bv, type ControlBucket as bw, type DatetimeAttributeMeta as bx, type DatetimeFormat as by, type DividerElement as bz, ProteosClient as c, type TextElement as c0, type TextVariant as c1, type UserAttributeMeta as c2, UserAttributeMetaSchema as c3, isBuiltInControl as c4, lookupCompatibleControls as c5, lookupControls as c6, lookupPrimaryControl as c7, parseUserMeta as c8, type PublicAccessOperation as d, type App as e, AppSchema as f, type AppService as g, type ArrayAttributeMeta as h, AttributeSchema as i, type AttributeType as j, AuditFieldsSchema as k, type Column as l, ColumnSchema as m, type ComparisonOperator as n, type Component as o, ComponentSchema as p, type ComponentService as q, type CreateAppRequest as r, type CreateComponentRequest as s, type CreateDesignReferenceRequest as t, type CreateEntityRequest as u, type CreateListRequest as v, type CreateListViewRequest as w, type CreateMenuConfigurationRequest as x, type CreatePageRequest as y, type CreateVariableRequest as z };
|
package/package.json
CHANGED
|
@@ -40,6 +40,7 @@ import type {
|
|
|
40
40
|
RecordPermissionEventRequest,
|
|
41
41
|
Room,
|
|
42
42
|
SendMessageRequest,
|
|
43
|
+
SyncConnectionRequest,
|
|
43
44
|
Transcription,
|
|
44
45
|
UnreadCounts,
|
|
45
46
|
UpdateAgentListenerRequest,
|
|
@@ -152,6 +153,15 @@ export interface ConnectionService {
|
|
|
152
153
|
delete(id: string): Promise<void>
|
|
153
154
|
/** Begin the connector's install flow; open the returned URL in a popup. */
|
|
154
155
|
install(id: string): Promise<InstallConnectionResponse>
|
|
156
|
+
/**
|
|
157
|
+
* Trigger a historical backfill ("sync all") on an email connection: the
|
|
158
|
+
* server fetches provider mail in the chosen range and ingests it through
|
|
159
|
+
* the normal pipeline (conversation filters, dedupe, agent listeners).
|
|
160
|
+
* Returns 202 with the connection already showing
|
|
161
|
+
* settings.sync_status='in_progress' — poll get(id) until it flips to
|
|
162
|
+
* done/failed. A running sync answers 409 (sync_already_running).
|
|
163
|
+
*/
|
|
164
|
+
sync(id: string, request: SyncConnectionRequest): Promise<Connection>
|
|
155
165
|
/** Search the contact addresses this connection can reach (org-deduped) for the compose picker. */
|
|
156
166
|
listContactAddresses(
|
|
157
167
|
connectionId: string,
|
|
@@ -201,6 +211,14 @@ class ConnectionServiceImpl implements ConnectionService {
|
|
|
201
211
|
)
|
|
202
212
|
}
|
|
203
213
|
|
|
214
|
+
sync(id: string, request: SyncConnectionRequest): Promise<Connection> {
|
|
215
|
+
return this.client.request(
|
|
216
|
+
'POST',
|
|
217
|
+
`${CONVERSATION_BASE_PATH}/connections/${encodeURIComponent(id)}/sync`,
|
|
218
|
+
request,
|
|
219
|
+
)
|
|
220
|
+
}
|
|
221
|
+
|
|
204
222
|
listContactAddresses(
|
|
205
223
|
connectionId: string,
|
|
206
224
|
query: ListContactAddressesQuery = {},
|