@pitcher/canvas-ui 2025.12.16-082724-beta → 2025.12.16-082908-beta
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/canvas-ui.css +1 -1
- package/canvas-ui.js +60 -78
- package/canvas-ui.js.map +1 -1
- package/lib/apps/browser/components/Content/ActionsToolbar/ActionsToolbar.vue.d.ts +6 -1
- package/lib/apps/canvas-builder/composables/usePopupApps.d.ts +2 -2
- package/lib/apps/content-selector/components/Content/AllContent/List/FoldersFilesList.vue.d.ts +6 -1
- package/lib/components/CSearchFilters/CSearchFilters.vue.d.ts +2 -0
- package/lib/components/canvas-templates/CTemplateManagement.vue.d.ts +20 -2
- package/lib/components/canvas-templates/CTemplateManagementToolbar.vue.d.ts +8 -1
- package/lib/components/filters/CSearchFilter.vue.d.ts +2 -0
- package/lib/composables/useFilterSuggestions.d.ts +1 -0
- package/lib/composables/useMetadataSearch.d.ts +4 -2
- package/lib/sdk/api/HighLevelApi.d.ts +0 -2
- package/lib/sdk/api/modules/query.d.ts +1 -41
- package/lib/sdk/api/modules/ui/content.ui.d.ts +22 -1
- package/lib/sdk/api/modules/ui/index.d.ts +2 -0
- package/lib/sdk/api/modules/ui/types.ui.d.ts +12 -0
- package/lib/sdk/main.d.ts +6 -6
- package/lib/sdk/payload.types.d.ts +0 -43
- package/lib/types/app.d.ts +1 -1
- package/lib/types/core/MetadataFilter.d.ts +1 -0
- package/locale/de.json +8 -0
- package/locale/el.json +9 -9
- package/locale/en.json +9 -9
- package/locale/es.json +9 -9
- package/locale/fr.json +9 -9
- package/locale/it.json +8 -0
- package/locale/ja.json +8 -0
- package/locale/nl.json +8 -0
- package/locale/pl.json +8 -0
- package/locale/pt-br.json +8 -0
- package/locale/pt.json +8 -0
- package/locale/th.json +8 -0
- package/locale/tr.json +8 -0
- package/locale/zh.json +8 -0
- package/package.json +1 -1
|
@@ -28,6 +28,7 @@ declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import
|
|
|
28
28
|
readonly enableDependentFilters?: boolean | undefined;
|
|
29
29
|
readonly dependentFiltersEntity?: "file" | "canvas" | undefined;
|
|
30
30
|
readonly contentType?: string[] | undefined;
|
|
31
|
+
readonly tagsNotIn?: string[] | undefined;
|
|
31
32
|
readonly "onUpdate:search"?: ((search: string, filters?: Record<string, any> | undefined) => any) | undefined;
|
|
32
33
|
readonly "onUpdate:filters"?: ((filters: Record<string, any>) => any) | undefined;
|
|
33
34
|
readonly "onUpdate:searchIn"?: ((searchIn: string) => any) | undefined;
|
|
@@ -146,6 +147,7 @@ declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import
|
|
|
146
147
|
enableDependentFilters?: boolean;
|
|
147
148
|
dependentFiltersEntity?: "file" | "canvas";
|
|
148
149
|
contentType?: string[];
|
|
150
|
+
tagsNotIn?: string[];
|
|
149
151
|
}> & Readonly<{
|
|
150
152
|
"onUpdate:search"?: ((search: string, filters?: Record<string, any> | undefined) => any) | undefined;
|
|
151
153
|
"onUpdate:filters"?: ((filters: Record<string, any>) => any) | undefined;
|
|
@@ -161,6 +163,7 @@ declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import
|
|
|
161
163
|
filters: Record<string, any>;
|
|
162
164
|
initialSearchValue: string;
|
|
163
165
|
includeDraftValues: boolean;
|
|
166
|
+
tagsNotIn: string[];
|
|
164
167
|
engagingIds: string[];
|
|
165
168
|
popularIds: string[];
|
|
166
169
|
recommendedIds: string[];
|
|
@@ -193,6 +196,7 @@ declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import
|
|
|
193
196
|
filters: Record<string, any>;
|
|
194
197
|
initialSearchValue: string;
|
|
195
198
|
includeDraftValues: boolean;
|
|
199
|
+
tagsNotIn: string[];
|
|
196
200
|
engagingIds: string[];
|
|
197
201
|
popularIds: string[];
|
|
198
202
|
recommendedIds: string[];
|
|
@@ -226,11 +230,12 @@ declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import
|
|
|
226
230
|
enableDependentFilters?: boolean;
|
|
227
231
|
dependentFiltersEntity?: "file" | "canvas";
|
|
228
232
|
contentType?: string[];
|
|
233
|
+
tagsNotIn?: string[];
|
|
229
234
|
}> & Readonly<{
|
|
230
235
|
"onUpdate:search"?: ((search: string, filters?: Record<string, any> | undefined) => any) | undefined;
|
|
231
236
|
"onUpdate:filters"?: ((filters: Record<string, any>) => any) | undefined;
|
|
232
237
|
"onUpdate:searchIn"?: ((searchIn: string) => any) | undefined;
|
|
233
|
-
}>, "clearSearch" | ("placeholder" | "filters" | "initialSearchValue" | "includeDraftValues" | "engagingIds" | "popularIds" | "recommendedIds" | "showLatestFilter" | "hideMetadataFilters" | "hideFilters" | "dependentFiltersEntity")> & import('vue').ShallowUnwrapRef<{
|
|
238
|
+
}>, "clearSearch" | ("placeholder" | "filters" | "initialSearchValue" | "includeDraftValues" | "tagsNotIn" | "engagingIds" | "popularIds" | "recommendedIds" | "showLatestFilter" | "hideMetadataFilters" | "hideFilters" | "dependentFiltersEntity")> & import('vue').ShallowUnwrapRef<{
|
|
234
239
|
clearSearch: () => void;
|
|
235
240
|
}> & {} & import('vue').ComponentCustomProperties & {} & {
|
|
236
241
|
$slots: {
|
|
@@ -389,7 +389,7 @@ export declare function usePopupApps(): {
|
|
|
389
389
|
start_in_loading_mode?: boolean | undefined;
|
|
390
390
|
};
|
|
391
391
|
};
|
|
392
|
-
app_type?: "canvas-popup" | "section-selector" | "sharebox" | undefined;
|
|
392
|
+
app_type?: "canvas-popup" | "section-selector" | "sharebox" | "ui-global-popup" | undefined;
|
|
393
393
|
app_options?: {
|
|
394
394
|
dimensions?: {
|
|
395
395
|
width?: number | string | undefined;
|
|
@@ -834,7 +834,7 @@ export declare function usePopupApps(): {
|
|
|
834
834
|
start_in_loading_mode?: boolean | undefined;
|
|
835
835
|
};
|
|
836
836
|
};
|
|
837
|
-
app_type?: "canvas-popup" | "section-selector" | "sharebox" | undefined;
|
|
837
|
+
app_type?: "canvas-popup" | "section-selector" | "sharebox" | "ui-global-popup" | undefined;
|
|
838
838
|
app_options?: {
|
|
839
839
|
dimensions?: {
|
|
840
840
|
width?: number | string | undefined;
|
package/lib/apps/content-selector/components/Content/AllContent/List/FoldersFilesList.vue.d.ts
CHANGED
|
@@ -30,6 +30,7 @@ declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import
|
|
|
30
30
|
readonly enableDependentFilters?: boolean | undefined;
|
|
31
31
|
readonly dependentFiltersEntity?: "file" | "canvas" | undefined;
|
|
32
32
|
readonly contentType?: string[] | undefined;
|
|
33
|
+
readonly tagsNotIn?: string[] | undefined;
|
|
33
34
|
readonly "onUpdate:search"?: ((search: string, filters?: Record<string, any> | undefined) => any) | undefined;
|
|
34
35
|
readonly "onUpdate:filters"?: ((filters: Record<string, any>) => any) | undefined;
|
|
35
36
|
readonly "onUpdate:searchIn"?: ((searchIn: string) => any) | undefined;
|
|
@@ -148,6 +149,7 @@ declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import
|
|
|
148
149
|
enableDependentFilters?: boolean;
|
|
149
150
|
dependentFiltersEntity?: "file" | "canvas";
|
|
150
151
|
contentType?: string[];
|
|
152
|
+
tagsNotIn?: string[];
|
|
151
153
|
}> & Readonly<{
|
|
152
154
|
"onUpdate:search"?: ((search: string, filters?: Record<string, any> | undefined) => any) | undefined;
|
|
153
155
|
"onUpdate:filters"?: ((filters: Record<string, any>) => any) | undefined;
|
|
@@ -163,6 +165,7 @@ declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import
|
|
|
163
165
|
filters: Record<string, any>;
|
|
164
166
|
initialSearchValue: string;
|
|
165
167
|
includeDraftValues: boolean;
|
|
168
|
+
tagsNotIn: string[];
|
|
166
169
|
engagingIds: string[];
|
|
167
170
|
popularIds: string[];
|
|
168
171
|
recommendedIds: string[];
|
|
@@ -195,6 +198,7 @@ declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import
|
|
|
195
198
|
filters: Record<string, any>;
|
|
196
199
|
initialSearchValue: string;
|
|
197
200
|
includeDraftValues: boolean;
|
|
201
|
+
tagsNotIn: string[];
|
|
198
202
|
engagingIds: string[];
|
|
199
203
|
popularIds: string[];
|
|
200
204
|
recommendedIds: string[];
|
|
@@ -228,11 +232,12 @@ declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import
|
|
|
228
232
|
enableDependentFilters?: boolean;
|
|
229
233
|
dependentFiltersEntity?: "file" | "canvas";
|
|
230
234
|
contentType?: string[];
|
|
235
|
+
tagsNotIn?: string[];
|
|
231
236
|
}> & Readonly<{
|
|
232
237
|
"onUpdate:search"?: ((search: string, filters?: Record<string, any> | undefined) => any) | undefined;
|
|
233
238
|
"onUpdate:filters"?: ((filters: Record<string, any>) => any) | undefined;
|
|
234
239
|
"onUpdate:searchIn"?: ((searchIn: string) => any) | undefined;
|
|
235
|
-
}>, "clearSearch" | ("placeholder" | "filters" | "initialSearchValue" | "includeDraftValues" | "engagingIds" | "popularIds" | "recommendedIds" | "showLatestFilter" | "hideMetadataFilters" | "hideFilters" | "dependentFiltersEntity")> & import('vue').ShallowUnwrapRef<{
|
|
240
|
+
}>, "clearSearch" | ("placeholder" | "filters" | "initialSearchValue" | "includeDraftValues" | "tagsNotIn" | "engagingIds" | "popularIds" | "recommendedIds" | "showLatestFilter" | "hideMetadataFilters" | "hideFilters" | "dependentFiltersEntity")> & import('vue').ShallowUnwrapRef<{
|
|
236
241
|
clearSearch: () => void;
|
|
237
242
|
}> & {} & import('vue').ComponentCustomProperties & {} & {
|
|
238
243
|
$slots: {
|
|
@@ -27,6 +27,7 @@ type __VLS_Props = {
|
|
|
27
27
|
enableDependentFilters?: boolean;
|
|
28
28
|
dependentFiltersEntity?: 'file' | 'canvas';
|
|
29
29
|
contentType?: string[];
|
|
30
|
+
tagsNotIn?: string[];
|
|
30
31
|
};
|
|
31
32
|
declare function clearSearch(): void;
|
|
32
33
|
declare function __VLS_template(): {
|
|
@@ -127,6 +128,7 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {
|
|
|
127
128
|
filters: Record<string, any>;
|
|
128
129
|
initialSearchValue: string;
|
|
129
130
|
includeDraftValues: boolean;
|
|
131
|
+
tagsNotIn: string[];
|
|
130
132
|
engagingIds: string[];
|
|
131
133
|
popularIds: string[];
|
|
132
134
|
recommendedIds: string[];
|
|
@@ -82,6 +82,7 @@ declare function __VLS_template(): {
|
|
|
82
82
|
order: "asc" | "desc";
|
|
83
83
|
};
|
|
84
84
|
viewMode?: "table" | "list";
|
|
85
|
+
excludedTags?: string[];
|
|
85
86
|
}> & Readonly<{
|
|
86
87
|
onSelect?: ((payload: {
|
|
87
88
|
id: import('../CTableColumnsSettings/CTableColumnsSettings.vue').TableColumnSetting["id"];
|
|
@@ -127,6 +128,7 @@ declare function __VLS_template(): {
|
|
|
127
128
|
"breadcrumb:click": (id: string | null) => any;
|
|
128
129
|
"toggle-view-mode": () => any;
|
|
129
130
|
}, import('vue').PublicProps, {
|
|
131
|
+
excludedTags: string[];
|
|
130
132
|
currentSort: {
|
|
131
133
|
field: string;
|
|
132
134
|
order: "asc" | "desc";
|
|
@@ -165,6 +167,7 @@ declare function __VLS_template(): {
|
|
|
165
167
|
readonly enableDependentFilters?: boolean | undefined;
|
|
166
168
|
readonly dependentFiltersEntity?: "file" | "canvas" | undefined;
|
|
167
169
|
readonly contentType?: string[] | undefined;
|
|
170
|
+
readonly tagsNotIn?: string[] | undefined;
|
|
168
171
|
readonly "onUpdate:search"?: ((search: string, filters?: Record<string, any> | undefined) => any) | undefined;
|
|
169
172
|
readonly "onUpdate:filters"?: ((filters: Record<string, any>) => any) | undefined;
|
|
170
173
|
readonly "onUpdate:searchIn"?: ((searchIn: string) => any) | undefined;
|
|
@@ -283,6 +286,7 @@ declare function __VLS_template(): {
|
|
|
283
286
|
enableDependentFilters?: boolean;
|
|
284
287
|
dependentFiltersEntity?: "file" | "canvas";
|
|
285
288
|
contentType?: string[];
|
|
289
|
+
tagsNotIn?: string[];
|
|
286
290
|
}> & Readonly<{
|
|
287
291
|
"onUpdate:search"?: ((search: string, filters?: Record<string, any> | undefined) => any) | undefined;
|
|
288
292
|
"onUpdate:filters"?: ((filters: Record<string, any>) => any) | undefined;
|
|
@@ -298,6 +302,7 @@ declare function __VLS_template(): {
|
|
|
298
302
|
filters: Record<string, any>;
|
|
299
303
|
initialSearchValue: string;
|
|
300
304
|
includeDraftValues: boolean;
|
|
305
|
+
tagsNotIn: string[];
|
|
301
306
|
engagingIds: string[];
|
|
302
307
|
popularIds: string[];
|
|
303
308
|
recommendedIds: string[];
|
|
@@ -330,6 +335,7 @@ declare function __VLS_template(): {
|
|
|
330
335
|
filters: Record<string, any>;
|
|
331
336
|
initialSearchValue: string;
|
|
332
337
|
includeDraftValues: boolean;
|
|
338
|
+
tagsNotIn: string[];
|
|
333
339
|
engagingIds: string[];
|
|
334
340
|
popularIds: string[];
|
|
335
341
|
recommendedIds: string[];
|
|
@@ -363,11 +369,12 @@ declare function __VLS_template(): {
|
|
|
363
369
|
enableDependentFilters?: boolean;
|
|
364
370
|
dependentFiltersEntity?: "file" | "canvas";
|
|
365
371
|
contentType?: string[];
|
|
372
|
+
tagsNotIn?: string[];
|
|
366
373
|
}> & Readonly<{
|
|
367
374
|
"onUpdate:search"?: ((search: string, filters?: Record<string, any> | undefined) => any) | undefined;
|
|
368
375
|
"onUpdate:filters"?: ((filters: Record<string, any>) => any) | undefined;
|
|
369
376
|
"onUpdate:searchIn"?: ((searchIn: string) => any) | undefined;
|
|
370
|
-
}>, "clearSearch" | ("placeholder" | "filters" | "initialSearchValue" | "includeDraftValues" | "engagingIds" | "popularIds" | "recommendedIds" | "showLatestFilter" | "hideMetadataFilters" | "hideFilters" | "dependentFiltersEntity")> & import('vue').ShallowUnwrapRef<{
|
|
377
|
+
}>, "clearSearch" | ("placeholder" | "filters" | "initialSearchValue" | "includeDraftValues" | "tagsNotIn" | "engagingIds" | "popularIds" | "recommendedIds" | "showLatestFilter" | "hideMetadataFilters" | "hideFilters" | "dependentFiltersEntity")> & import('vue').ShallowUnwrapRef<{
|
|
371
378
|
clearSearch: () => void;
|
|
372
379
|
}> & {} & import('vue').ComponentCustomProperties & {} & {
|
|
373
380
|
$slots: {
|
|
@@ -407,6 +414,7 @@ declare function __VLS_template(): {
|
|
|
407
414
|
order: "asc" | "desc";
|
|
408
415
|
};
|
|
409
416
|
viewMode?: "table" | "list";
|
|
417
|
+
excludedTags?: string[];
|
|
410
418
|
}> & Readonly<{
|
|
411
419
|
onSelect?: ((payload: {
|
|
412
420
|
id: import('../CTableColumnsSettings/CTableColumnsSettings.vue').TableColumnSetting["id"];
|
|
@@ -431,6 +439,7 @@ declare function __VLS_template(): {
|
|
|
431
439
|
}>, {
|
|
432
440
|
clearSearch: () => void;
|
|
433
441
|
}, {}, {}, {}, {
|
|
442
|
+
excludedTags: string[];
|
|
434
443
|
currentSort: {
|
|
435
444
|
field: string;
|
|
436
445
|
order: "asc" | "desc";
|
|
@@ -707,6 +716,7 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {
|
|
|
707
716
|
order: "asc" | "desc";
|
|
708
717
|
};
|
|
709
718
|
viewMode?: "table" | "list";
|
|
719
|
+
excludedTags?: string[];
|
|
710
720
|
}> & Readonly<{
|
|
711
721
|
onSelect?: ((payload: {
|
|
712
722
|
id: import('../CTableColumnsSettings/CTableColumnsSettings.vue').TableColumnSetting["id"];
|
|
@@ -752,6 +762,7 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {
|
|
|
752
762
|
"breadcrumb:click": (id: string | null) => any;
|
|
753
763
|
"toggle-view-mode": () => any;
|
|
754
764
|
}, import('vue').PublicProps, {
|
|
765
|
+
excludedTags: string[];
|
|
755
766
|
currentSort: {
|
|
756
767
|
field: string;
|
|
757
768
|
order: "asc" | "desc";
|
|
@@ -790,6 +801,7 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {
|
|
|
790
801
|
readonly enableDependentFilters?: boolean | undefined;
|
|
791
802
|
readonly dependentFiltersEntity?: "file" | "canvas" | undefined;
|
|
792
803
|
readonly contentType?: string[] | undefined;
|
|
804
|
+
readonly tagsNotIn?: string[] | undefined;
|
|
793
805
|
readonly "onUpdate:search"?: ((search: string, filters?: Record<string, any> | undefined) => any) | undefined;
|
|
794
806
|
readonly "onUpdate:filters"?: ((filters: Record<string, any>) => any) | undefined;
|
|
795
807
|
readonly "onUpdate:searchIn"?: ((searchIn: string) => any) | undefined;
|
|
@@ -908,6 +920,7 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {
|
|
|
908
920
|
enableDependentFilters?: boolean;
|
|
909
921
|
dependentFiltersEntity?: "file" | "canvas";
|
|
910
922
|
contentType?: string[];
|
|
923
|
+
tagsNotIn?: string[];
|
|
911
924
|
}> & Readonly<{
|
|
912
925
|
"onUpdate:search"?: ((search: string, filters?: Record<string, any> | undefined) => any) | undefined;
|
|
913
926
|
"onUpdate:filters"?: ((filters: Record<string, any>) => any) | undefined;
|
|
@@ -923,6 +936,7 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {
|
|
|
923
936
|
filters: Record<string, any>;
|
|
924
937
|
initialSearchValue: string;
|
|
925
938
|
includeDraftValues: boolean;
|
|
939
|
+
tagsNotIn: string[];
|
|
926
940
|
engagingIds: string[];
|
|
927
941
|
popularIds: string[];
|
|
928
942
|
recommendedIds: string[];
|
|
@@ -955,6 +969,7 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {
|
|
|
955
969
|
filters: Record<string, any>;
|
|
956
970
|
initialSearchValue: string;
|
|
957
971
|
includeDraftValues: boolean;
|
|
972
|
+
tagsNotIn: string[];
|
|
958
973
|
engagingIds: string[];
|
|
959
974
|
popularIds: string[];
|
|
960
975
|
recommendedIds: string[];
|
|
@@ -988,11 +1003,12 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {
|
|
|
988
1003
|
enableDependentFilters?: boolean;
|
|
989
1004
|
dependentFiltersEntity?: "file" | "canvas";
|
|
990
1005
|
contentType?: string[];
|
|
1006
|
+
tagsNotIn?: string[];
|
|
991
1007
|
}> & Readonly<{
|
|
992
1008
|
"onUpdate:search"?: ((search: string, filters?: Record<string, any> | undefined) => any) | undefined;
|
|
993
1009
|
"onUpdate:filters"?: ((filters: Record<string, any>) => any) | undefined;
|
|
994
1010
|
"onUpdate:searchIn"?: ((searchIn: string) => any) | undefined;
|
|
995
|
-
}>, "clearSearch" | ("placeholder" | "filters" | "initialSearchValue" | "includeDraftValues" | "engagingIds" | "popularIds" | "recommendedIds" | "showLatestFilter" | "hideMetadataFilters" | "hideFilters" | "dependentFiltersEntity")> & import('vue').ShallowUnwrapRef<{
|
|
1011
|
+
}>, "clearSearch" | ("placeholder" | "filters" | "initialSearchValue" | "includeDraftValues" | "tagsNotIn" | "engagingIds" | "popularIds" | "recommendedIds" | "showLatestFilter" | "hideMetadataFilters" | "hideFilters" | "dependentFiltersEntity")> & import('vue').ShallowUnwrapRef<{
|
|
996
1012
|
clearSearch: () => void;
|
|
997
1013
|
}> & {} & import('vue').ComponentCustomProperties & {} & {
|
|
998
1014
|
$slots: {
|
|
@@ -1032,6 +1048,7 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {
|
|
|
1032
1048
|
order: "asc" | "desc";
|
|
1033
1049
|
};
|
|
1034
1050
|
viewMode?: "table" | "list";
|
|
1051
|
+
excludedTags?: string[];
|
|
1035
1052
|
}> & Readonly<{
|
|
1036
1053
|
onSelect?: ((payload: {
|
|
1037
1054
|
id: import('../CTableColumnsSettings/CTableColumnsSettings.vue').TableColumnSetting["id"];
|
|
@@ -1056,6 +1073,7 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {
|
|
|
1056
1073
|
}>, {
|
|
1057
1074
|
clearSearch: () => void;
|
|
1058
1075
|
}, {}, {}, {}, {
|
|
1076
|
+
excludedTags: string[];
|
|
1059
1077
|
currentSort: {
|
|
1060
1078
|
field: string;
|
|
1061
1079
|
order: "asc" | "desc";
|
|
@@ -27,6 +27,7 @@ type __VLS_Props = {
|
|
|
27
27
|
order: 'asc' | 'desc';
|
|
28
28
|
};
|
|
29
29
|
viewMode?: 'table' | 'list';
|
|
30
|
+
excludedTags?: string[];
|
|
30
31
|
};
|
|
31
32
|
declare function clearSearch(): void;
|
|
32
33
|
declare const _default: import('vue').DefineComponent<__VLS_Props, {
|
|
@@ -74,6 +75,7 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {
|
|
|
74
75
|
"onBreadcrumb:click"?: ((id: string | null) => any) | undefined;
|
|
75
76
|
"onToggle-view-mode"?: (() => any) | undefined;
|
|
76
77
|
}>, {
|
|
78
|
+
excludedTags: string[];
|
|
77
79
|
currentSort: {
|
|
78
80
|
field: string;
|
|
79
81
|
order: "asc" | "desc";
|
|
@@ -112,6 +114,7 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {
|
|
|
112
114
|
readonly enableDependentFilters?: boolean | undefined;
|
|
113
115
|
readonly dependentFiltersEntity?: "file" | "canvas" | undefined;
|
|
114
116
|
readonly contentType?: string[] | undefined;
|
|
117
|
+
readonly tagsNotIn?: string[] | undefined;
|
|
115
118
|
readonly "onUpdate:search"?: ((search: string, filters?: Record<string, any> | undefined) => any) | undefined;
|
|
116
119
|
readonly "onUpdate:filters"?: ((filters: Record<string, any>) => any) | undefined;
|
|
117
120
|
readonly "onUpdate:searchIn"?: ((searchIn: string) => any) | undefined;
|
|
@@ -230,6 +233,7 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {
|
|
|
230
233
|
enableDependentFilters?: boolean;
|
|
231
234
|
dependentFiltersEntity?: "file" | "canvas";
|
|
232
235
|
contentType?: string[];
|
|
236
|
+
tagsNotIn?: string[];
|
|
233
237
|
}> & Readonly<{
|
|
234
238
|
"onUpdate:search"?: ((search: string, filters?: Record<string, any> | undefined) => any) | undefined;
|
|
235
239
|
"onUpdate:filters"?: ((filters: Record<string, any>) => any) | undefined;
|
|
@@ -245,6 +249,7 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {
|
|
|
245
249
|
filters: Record<string, any>;
|
|
246
250
|
initialSearchValue: string;
|
|
247
251
|
includeDraftValues: boolean;
|
|
252
|
+
tagsNotIn: string[];
|
|
248
253
|
engagingIds: string[];
|
|
249
254
|
popularIds: string[];
|
|
250
255
|
recommendedIds: string[];
|
|
@@ -277,6 +282,7 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {
|
|
|
277
282
|
filters: Record<string, any>;
|
|
278
283
|
initialSearchValue: string;
|
|
279
284
|
includeDraftValues: boolean;
|
|
285
|
+
tagsNotIn: string[];
|
|
280
286
|
engagingIds: string[];
|
|
281
287
|
popularIds: string[];
|
|
282
288
|
recommendedIds: string[];
|
|
@@ -310,11 +316,12 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {
|
|
|
310
316
|
enableDependentFilters?: boolean;
|
|
311
317
|
dependentFiltersEntity?: "file" | "canvas";
|
|
312
318
|
contentType?: string[];
|
|
319
|
+
tagsNotIn?: string[];
|
|
313
320
|
}> & Readonly<{
|
|
314
321
|
"onUpdate:search"?: ((search: string, filters?: Record<string, any> | undefined) => any) | undefined;
|
|
315
322
|
"onUpdate:filters"?: ((filters: Record<string, any>) => any) | undefined;
|
|
316
323
|
"onUpdate:searchIn"?: ((searchIn: string) => any) | undefined;
|
|
317
|
-
}>, "clearSearch" | ("placeholder" | "filters" | "initialSearchValue" | "includeDraftValues" | "engagingIds" | "popularIds" | "recommendedIds" | "showLatestFilter" | "hideMetadataFilters" | "hideFilters" | "dependentFiltersEntity")> & import('vue').ShallowUnwrapRef<{
|
|
324
|
+
}>, "clearSearch" | ("placeholder" | "filters" | "initialSearchValue" | "includeDraftValues" | "tagsNotIn" | "engagingIds" | "popularIds" | "recommendedIds" | "showLatestFilter" | "hideMetadataFilters" | "hideFilters" | "dependentFiltersEntity")> & import('vue').ShallowUnwrapRef<{
|
|
318
325
|
clearSearch: () => void;
|
|
319
326
|
}> & {} & import('vue').ComponentCustomProperties & {} & {
|
|
320
327
|
$slots: {
|
|
@@ -16,6 +16,7 @@ type Props = {
|
|
|
16
16
|
externalFilters?: Record<string, any>;
|
|
17
17
|
isDependentField?: boolean;
|
|
18
18
|
systemFilteredIds?: string[];
|
|
19
|
+
tagsNotIn?: string[];
|
|
19
20
|
};
|
|
20
21
|
declare const _default: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
21
22
|
clear: () => any;
|
|
@@ -32,6 +33,7 @@ declare const _default: import('vue').DefineComponent<Props, {}, {}, {}, {}, imp
|
|
|
32
33
|
isSection: boolean;
|
|
33
34
|
isTemplate: boolean;
|
|
34
35
|
ownerId: number | null;
|
|
36
|
+
tagsNotIn: string[];
|
|
35
37
|
limit: number;
|
|
36
38
|
numeric: boolean;
|
|
37
39
|
filterKey: string;
|
|
@@ -11,7 +11,7 @@ interface UseMetadataSearchOptions {
|
|
|
11
11
|
includeSearchTermAsOption?: boolean;
|
|
12
12
|
}
|
|
13
13
|
export default function useMetadataSearch(options?: UseMetadataSearchOptions): {
|
|
14
|
-
handleFetch: (searchTerm: string, entity: MetadataFilterRequest["entity"], { includeNameSearch, includeDraftValues, isSection, isTemplate, isBlock, key, ownerId, searchMode, threshold, fetchAllUnique, contentType, }?: {
|
|
14
|
+
handleFetch: (searchTerm: string, entity: MetadataFilterRequest["entity"], { includeNameSearch, includeDraftValues, isSection, isTemplate, isBlock, key, ownerId, searchMode, threshold, fetchAllUnique, contentType, tagsNotIn, }?: {
|
|
15
15
|
includeNameSearch?: boolean;
|
|
16
16
|
includeDraftValues?: boolean;
|
|
17
17
|
isSection?: boolean;
|
|
@@ -23,8 +23,9 @@ export default function useMetadataSearch(options?: UseMetadataSearchOptions): {
|
|
|
23
23
|
threshold?: number;
|
|
24
24
|
fetchAllUnique?: boolean;
|
|
25
25
|
contentType?: string[];
|
|
26
|
+
tagsNotIn?: string[];
|
|
26
27
|
}) => Promise<StyledAutoCompleteOption[]>;
|
|
27
|
-
fetchUniqueValues: (entity: MetadataFilterRequest["entity"], { includeDraftValues, isSection, isTemplate, isBlock, key, ownerId, limit, and, }?: {
|
|
28
|
+
fetchUniqueValues: (entity: MetadataFilterRequest["entity"], { includeDraftValues, isSection, isTemplate, isBlock, key, ownerId, limit, and, tagsNotIn, }?: {
|
|
28
29
|
includeDraftValues?: boolean;
|
|
29
30
|
isSection?: boolean;
|
|
30
31
|
isTemplate?: boolean;
|
|
@@ -36,6 +37,7 @@ export default function useMetadataSearch(options?: UseMetadataSearchOptions): {
|
|
|
36
37
|
key: string;
|
|
37
38
|
value: string;
|
|
38
39
|
}>;
|
|
40
|
+
tagsNotIn?: string[];
|
|
39
41
|
}) => Promise<MetadataUniqueValuesResponse>;
|
|
40
42
|
};
|
|
41
43
|
export {};
|
|
@@ -238,8 +238,6 @@ export declare function createHighLevelApi(options?: ApiOptions): {
|
|
|
238
238
|
crmSmartUpsertObjects(payload: import('../payload.types').UpsertCRMObjectsPayload): Promise<any>;
|
|
239
239
|
crmSmartObjectValidationRules(payload: import('../payload.types').CRMSmartObjectValidationRulesPayload): Promise<any>;
|
|
240
240
|
crmSmartDeleteObjects(payload: import('../payload.types').CRMSmartDeleteObjectsPayload): Promise<any>;
|
|
241
|
-
crmCreate(payload: import('../payload.types').CRMCreatePayload): Promise<any>;
|
|
242
|
-
crmUpsert(payload: import('../payload.types').CRMUpsertPayload): Promise<any>;
|
|
243
241
|
getFolders(payload: import('../payload.types').FolderListRequest): Promise<import('../../main.lib').PaginatedFolderList>;
|
|
244
242
|
getFolder(payload?: {
|
|
245
243
|
id: import('../../main.lib').FolderRetrieve["id"];
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { QueryPayload, CRMQueryPayload, UpsertCRMObjectsPayload, CRMSmartObjectValidationRulesPayload, CRMSmartObjectMetadataPayload, CRMSmartDeleteObjectsPayload
|
|
1
|
+
import { QueryPayload, CRMQueryPayload, UpsertCRMObjectsPayload, CRMSmartObjectValidationRulesPayload, CRMSmartObjectMetadataPayload, CRMSmartDeleteObjectsPayload } from '../../payload.types';
|
|
2
2
|
export declare function query(payload: QueryPayload): Promise<any>;
|
|
3
3
|
export declare function crmQuery(payload: CRMQueryPayload): Promise<any>;
|
|
4
4
|
/**
|
|
@@ -113,43 +113,3 @@ export declare function crmSmartObjectValidationRules(payload: CRMSmartObjectVal
|
|
|
113
113
|
* })
|
|
114
114
|
*/
|
|
115
115
|
export declare function crmSmartDeleteObjects(payload: CRMSmartDeleteObjectsPayload): Promise<any>;
|
|
116
|
-
/**
|
|
117
|
-
* Creates new records in CRM (Web only).
|
|
118
|
-
* Uses Salesforce REST API to create records.
|
|
119
|
-
*
|
|
120
|
-
* @param {CRMCreatePayload} payload - The create payload containing sobject type and records.
|
|
121
|
-
* @returns {Promise<any>} - Promise resolving with the result of the create operation.
|
|
122
|
-
* @throws {Error} - Throws an error if the payload is invalid.
|
|
123
|
-
*
|
|
124
|
-
* @example
|
|
125
|
-
* // Web only method to create CRM records.
|
|
126
|
-
* api.crmCreate({
|
|
127
|
-
* sobject: 'Order__c',
|
|
128
|
-
* records: [
|
|
129
|
-
* { Account__c: '001xx000003DGbQAAW', Order_Date__c: '2024-01-15' },
|
|
130
|
-
* { Account__c: '001xx000003DGbRABW', Order_Date__c: '2024-01-16' }
|
|
131
|
-
* ]
|
|
132
|
-
* })
|
|
133
|
-
*/
|
|
134
|
-
export declare function crmCreate(payload: CRMCreatePayload): Promise<any>;
|
|
135
|
-
/**
|
|
136
|
-
* Upserts records in CRM (Web only).
|
|
137
|
-
* Uses Salesforce REST API to insert or update records based on external ID.
|
|
138
|
-
* If a record with matching external ID exists, it will be updated; otherwise, a new record is created.
|
|
139
|
-
*
|
|
140
|
-
* @param {CRMUpsertPayload} payload - The upsert payload containing sobject type, records, and external ID field.
|
|
141
|
-
* @returns {Promise<any>} - Promise resolving with the result of the upsert operation.
|
|
142
|
-
* @throws {Error} - Throws an error if the payload is invalid.
|
|
143
|
-
*
|
|
144
|
-
* @example
|
|
145
|
-
* // Web only method to upsert CRM records.
|
|
146
|
-
* api.crmUpsert({
|
|
147
|
-
* sobject: 'Order__c',
|
|
148
|
-
* records: [
|
|
149
|
-
* { External_Id__c: 'ORD-001', Account__c: '001xx000003DGbQAAW', Status__c: 'Submitted' },
|
|
150
|
-
* { External_Id__c: 'ORD-002', Account__c: '001xx000003DGbRABW', Status__c: 'Draft' }
|
|
151
|
-
* ],
|
|
152
|
-
* external_id_field: 'External_Id__c'
|
|
153
|
-
* })
|
|
154
|
-
*/
|
|
155
|
-
export declare function crmUpsert(payload: CRMUpsertPayload): Promise<any>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { UiSelectAgendaRequest, UiSelectAgendaResponse, UiSelectCollectionPlayerRequest, UiSelectCollectionPlayerResponse, UiSelectContentRequest, UiSelectContentResponse, UiOpenRequest, UiToastRequest, UiPreselectSfdcMeetingIdRequest, UiPreselectSfdcMeetingIdResponse } from './types.ui';
|
|
1
|
+
import { UiSelectAgendaRequest, UiSelectAgendaResponse, UiSelectCollectionPlayerRequest, UiSelectCollectionPlayerResponse, UiSelectContentRequest, UiSelectContentResponse, UiOpenRequest, UiToastRequest, UiPreselectSfdcMeetingIdRequest, UiPreselectSfdcMeetingIdResponse, UiOpenGlobalPopupResponse } from './types.ui';
|
|
2
2
|
/**
|
|
3
3
|
* @hidden
|
|
4
4
|
* @deprecated
|
|
@@ -84,3 +84,24 @@ export declare function selectCollectionContent(payload?: UiSelectCollectionPlay
|
|
|
84
84
|
* ```
|
|
85
85
|
*/
|
|
86
86
|
export declare function selectAgendaContent(payload?: UiSelectAgendaRequest): Promise<UiSelectAgendaResponse>;
|
|
87
|
+
/**
|
|
88
|
+
* Opens a global popup app by name.
|
|
89
|
+
*
|
|
90
|
+
* @example
|
|
91
|
+
* const api = useApi()
|
|
92
|
+
* api.openGlobalPopup('my-popup-app')
|
|
93
|
+
* api.openGlobalPopup('my-popup-app', { customData: 'value' })
|
|
94
|
+
*
|
|
95
|
+
* @param appName - The name of the app to open (must have app_type: 'ui-global-popup')
|
|
96
|
+
* @param extraContext - Extra context to pass to the app
|
|
97
|
+
* @returns Promise with the result of the operation
|
|
98
|
+
*/
|
|
99
|
+
export declare function openGlobalPopup(appName: string, extraContext?: Record<string, any>): Promise<UiOpenGlobalPopupResponse>;
|
|
100
|
+
/**
|
|
101
|
+
* Closes the currently open global popup app.
|
|
102
|
+
*
|
|
103
|
+
* @example
|
|
104
|
+
* const api = useApi()
|
|
105
|
+
* api.closeGlobalPopup()
|
|
106
|
+
*/
|
|
107
|
+
export declare function closeGlobalPopup(): Promise<void>;
|
|
@@ -155,6 +155,8 @@ declare const _default: {
|
|
|
155
155
|
preselectSfdcMeetingId(payload: import('./types.ui').UiPreselectSfdcMeetingIdRequest): Promise<import('./types.ui').UiPreselectSfdcMeetingIdResponse>;
|
|
156
156
|
selectCollectionContent(payload?: import('./types.ui').UiSelectCollectionPlayerRequest): Promise<import('./types.ui').UiSelectCollectionPlayerResponse>;
|
|
157
157
|
selectAgendaContent(payload?: import('./types.ui').UiSelectAgendaRequest): Promise<import('./types.ui').UiSelectAgendaResponse>;
|
|
158
|
+
openGlobalPopup(appName: string, extraContext?: Record<string, any>): Promise<import('./types.ui').UiOpenGlobalPopupResponse>;
|
|
159
|
+
closeGlobalPopup(): Promise<void>;
|
|
158
160
|
on: typeof on;
|
|
159
161
|
onMeetingCanceled: typeof onMeetingCanceled;
|
|
160
162
|
onCanvasUpdated: typeof onCanvasUpdated;
|
|
@@ -43,6 +43,8 @@ export declare const UI_API_METHOD_TYPES: {
|
|
|
43
43
|
readonly UI_APP_RESIZE: "ui_app_resize";
|
|
44
44
|
readonly UI_CLOSE_CANVAS_SECTION_EXECUTION: "ui_close_canvas_section_execution";
|
|
45
45
|
readonly UI_CLOSE_CANVAS_DRAWER: "ui_close_canvas_drawer";
|
|
46
|
+
readonly UI_OPEN_GLOBAL_POPUP: "ui_open_global_popup";
|
|
47
|
+
readonly UI_CLOSE_GLOBAL_POPUP: "ui_close_global_popup";
|
|
46
48
|
};
|
|
47
49
|
export declare const UI_MESSAGE_TYPES: {
|
|
48
50
|
readonly UI_MEETING_CANCELED: "ui_meeting_canceled";
|
|
@@ -319,3 +321,13 @@ export type UiPromptPiaResponseStreamedPayload = {
|
|
|
319
321
|
/** Current chunk of the response */
|
|
320
322
|
chunk: string;
|
|
321
323
|
};
|
|
324
|
+
export interface UiOpenGlobalPopupRequest {
|
|
325
|
+
/** Name of the app to open */
|
|
326
|
+
app_name: string;
|
|
327
|
+
/** Extra context to pass to the app */
|
|
328
|
+
extra_context?: Record<string, any>;
|
|
329
|
+
}
|
|
330
|
+
export interface UiOpenGlobalPopupResponse {
|
|
331
|
+
/** Whether the popup was successfully opened */
|
|
332
|
+
success: boolean;
|
|
333
|
+
}
|
package/lib/sdk/main.d.ts
CHANGED
|
@@ -67,6 +67,8 @@ export declare function useUi(): {
|
|
|
67
67
|
preselectSfdcMeetingId(payload: import('./api/modules/ui/types.ui').UiPreselectSfdcMeetingIdRequest): Promise<import('./api/modules/ui/types.ui').UiPreselectSfdcMeetingIdResponse>;
|
|
68
68
|
selectCollectionContent(payload?: import('./api/modules/ui/types.ui').UiSelectCollectionPlayerRequest): Promise<import('./api/modules/ui/types.ui').UiSelectCollectionPlayerResponse>;
|
|
69
69
|
selectAgendaContent(payload?: import('./api/modules/ui/types.ui').UiSelectAgendaRequest): Promise<import('./api/modules/ui/types.ui').UiSelectAgendaResponse>;
|
|
70
|
+
openGlobalPopup(appName: string, extraContext?: Record<string, any>): Promise<import('./api/modules/ui/types.ui').UiOpenGlobalPopupResponse>;
|
|
71
|
+
closeGlobalPopup(): Promise<void>;
|
|
70
72
|
on: <T extends keyof import('./api/modules/ui/types.ui').UiMessagePayloads>(type: T, handler: (data: import('./api/modules/ui/types.ui').UiMessagePayloads[T]) => Promise<void>) => Promise<() => void>;
|
|
71
73
|
onMeetingCanceled: (handler: (data: import('./api/modules/ui/types.ui').UiMeetingCanceledPayload) => Promise<void>) => Promise<() => void>;
|
|
72
74
|
onCanvasUpdated: (handler: (data: import('./api/modules/ui/types.ui').UiCanvasUpdatedPayload) => Promise<void>) => Promise<() => void>;
|
|
@@ -307,8 +309,6 @@ export declare function useApi(options?: ApiOptions): {
|
|
|
307
309
|
crmSmartUpsertObjects(payload: import('./payload.types').UpsertCRMObjectsPayload): Promise<any>;
|
|
308
310
|
crmSmartObjectValidationRules(payload: import('./payload.types').CRMSmartObjectValidationRulesPayload): Promise<any>;
|
|
309
311
|
crmSmartDeleteObjects(payload: import('./payload.types').CRMSmartDeleteObjectsPayload): Promise<any>;
|
|
310
|
-
crmCreate(payload: import('./payload.types').CRMCreatePayload): Promise<any>;
|
|
311
|
-
crmUpsert(payload: import('./payload.types').CRMUpsertPayload): Promise<any>;
|
|
312
312
|
getFolders(payload: import('./payload.types').FolderListRequest): Promise<import('../main.lib').PaginatedFolderList>;
|
|
313
313
|
getFolder(payload?: {
|
|
314
314
|
id: import('../main.lib').FolderRetrieve["id"];
|
|
@@ -454,6 +454,8 @@ export declare function useApi(options?: ApiOptions): {
|
|
|
454
454
|
preselectSfdcMeetingId(payload: import('./api/modules/ui/types.ui').UiPreselectSfdcMeetingIdRequest): Promise<import('./api/modules/ui/types.ui').UiPreselectSfdcMeetingIdResponse>;
|
|
455
455
|
selectCollectionContent(payload?: import('./api/modules/ui/types.ui').UiSelectCollectionPlayerRequest): Promise<import('./api/modules/ui/types.ui').UiSelectCollectionPlayerResponse>;
|
|
456
456
|
selectAgendaContent(payload?: import('./api/modules/ui/types.ui').UiSelectAgendaRequest): Promise<import('./api/modules/ui/types.ui').UiSelectAgendaResponse>;
|
|
457
|
+
openGlobalPopup(appName: string, extraContext?: Record<string, any>): Promise<import('./api/modules/ui/types.ui').UiOpenGlobalPopupResponse>;
|
|
458
|
+
closeGlobalPopup(): Promise<void>;
|
|
457
459
|
on: <T extends keyof import('./api/modules/ui/types.ui').UiMessagePayloads>(type: T, handler: (data: import('./api/modules/ui/types.ui').UiMessagePayloads[T]) => Promise<void>) => Promise<() => void>;
|
|
458
460
|
onMeetingCanceled: (handler: (data: import('./api/modules/ui/types.ui').UiMeetingCanceledPayload) => Promise<void>) => Promise<() => void>;
|
|
459
461
|
onCanvasUpdated: (handler: (data: import('./api/modules/ui/types.ui').UiCanvasUpdatedPayload) => Promise<void>) => Promise<() => void>;
|
|
@@ -590,8 +592,6 @@ export declare function useApi(options?: ApiOptions): {
|
|
|
590
592
|
crmSmartUpsertObjects(payload: import('./payload.types').UpsertCRMObjectsPayload): Promise<any>;
|
|
591
593
|
crmSmartObjectValidationRules(payload: import('./payload.types').CRMSmartObjectValidationRulesPayload): Promise<any>;
|
|
592
594
|
crmSmartDeleteObjects(payload: import('./payload.types').CRMSmartDeleteObjectsPayload): Promise<any>;
|
|
593
|
-
crmCreate(payload: import('./payload.types').CRMCreatePayload): Promise<any>;
|
|
594
|
-
crmUpsert(payload: import('./payload.types').CRMUpsertPayload): Promise<any>;
|
|
595
595
|
getFolders(payload: import('./payload.types').FolderListRequest): Promise<import('../main.lib').PaginatedFolderList>;
|
|
596
596
|
getFolder(payload?: {
|
|
597
597
|
id: import('../main.lib').FolderRetrieve["id"];
|
|
@@ -686,6 +686,8 @@ export declare function useApi(options?: ApiOptions): {
|
|
|
686
686
|
preselectSfdcMeetingId(payload: import('./api/modules/ui/types.ui').UiPreselectSfdcMeetingIdRequest): Promise<import('./api/modules/ui/types.ui').UiPreselectSfdcMeetingIdResponse>;
|
|
687
687
|
selectCollectionContent(payload?: import('./api/modules/ui/types.ui').UiSelectCollectionPlayerRequest): Promise<import('./api/modules/ui/types.ui').UiSelectCollectionPlayerResponse>;
|
|
688
688
|
selectAgendaContent(payload?: import('./api/modules/ui/types.ui').UiSelectAgendaRequest): Promise<import('./api/modules/ui/types.ui').UiSelectAgendaResponse>;
|
|
689
|
+
openGlobalPopup(appName: string, extraContext?: Record<string, any>): Promise<import('./api/modules/ui/types.ui').UiOpenGlobalPopupResponse>;
|
|
690
|
+
closeGlobalPopup(): Promise<void>;
|
|
689
691
|
on: <T extends keyof import('./api/modules/ui/types.ui').UiMessagePayloads>(type: T, handler: (data: import('./api/modules/ui/types.ui').UiMessagePayloads[T]) => Promise<void>) => Promise<() => void>;
|
|
690
692
|
onMeetingCanceled: (handler: (data: import('./api/modules/ui/types.ui').UiMeetingCanceledPayload) => Promise<void>) => Promise<() => void>;
|
|
691
693
|
onCanvasUpdated: (handler: (data: import('./api/modules/ui/types.ui').UiCanvasUpdatedPayload) => Promise<void>) => Promise<() => void>;
|
|
@@ -809,8 +811,6 @@ export declare function useApi(options?: ApiOptions): {
|
|
|
809
811
|
crmSmartUpsertObjects(payload: import('./payload.types').UpsertCRMObjectsPayload): Promise<any>;
|
|
810
812
|
crmSmartObjectValidationRules(payload: import('./payload.types').CRMSmartObjectValidationRulesPayload): Promise<any>;
|
|
811
813
|
crmSmartDeleteObjects(payload: import('./payload.types').CRMSmartDeleteObjectsPayload): Promise<any>;
|
|
812
|
-
crmCreate(payload: import('./payload.types').CRMCreatePayload): Promise<any>;
|
|
813
|
-
crmUpsert(payload: import('./payload.types').CRMUpsertPayload): Promise<any>;
|
|
814
814
|
getFolders(payload: import('./payload.types').FolderListRequest): Promise<import('../main.lib').PaginatedFolderList>;
|
|
815
815
|
getFolder(payload?: {
|
|
816
816
|
id: import('../main.lib').FolderRetrieve["id"];
|
|
@@ -361,46 +361,3 @@ export interface CRMSmartDeleteObjectsPayload {
|
|
|
361
361
|
*/
|
|
362
362
|
objects: CRMDeleteObject[];
|
|
363
363
|
}
|
|
364
|
-
/**
|
|
365
|
-
* Payload for creating CRM records (Web only).
|
|
366
|
-
* Uses Salesforce REST API to create records.
|
|
367
|
-
*/
|
|
368
|
-
export interface CRMCreatePayload {
|
|
369
|
-
/**
|
|
370
|
-
* The Salesforce object type (e.g., 'Account', 'Contact', 'Order__c').
|
|
371
|
-
*/
|
|
372
|
-
sobject: string;
|
|
373
|
-
/**
|
|
374
|
-
* Array of records to create. Each record is a key-value map of field names to values.
|
|
375
|
-
* Field names should use Salesforce API names (e.g., 'Account__c', 'Order_Date__c').
|
|
376
|
-
*/
|
|
377
|
-
records: Array<Record<string, unknown>>;
|
|
378
|
-
/**
|
|
379
|
-
* Optional name of the CRM service to use.
|
|
380
|
-
*/
|
|
381
|
-
service?: CRMServiceType;
|
|
382
|
-
}
|
|
383
|
-
/**
|
|
384
|
-
* Payload for upserting CRM records (Web only).
|
|
385
|
-
* Uses Salesforce REST API to insert or update records based on external ID.
|
|
386
|
-
*/
|
|
387
|
-
export interface CRMUpsertPayload {
|
|
388
|
-
/**
|
|
389
|
-
* The Salesforce object type (e.g., 'Account', 'Contact', 'Order__c').
|
|
390
|
-
*/
|
|
391
|
-
sobject: string;
|
|
392
|
-
/**
|
|
393
|
-
* Array of records to upsert. Each record is a key-value map of field names to values.
|
|
394
|
-
* Field names should use Salesforce API names (e.g., 'Account__c', 'Order_Date__c').
|
|
395
|
-
*/
|
|
396
|
-
records: Array<Record<string, unknown>>;
|
|
397
|
-
/**
|
|
398
|
-
* The external ID field used to match existing records for update.
|
|
399
|
-
* If a record with matching external ID exists, it will be updated; otherwise, a new record is created.
|
|
400
|
-
*/
|
|
401
|
-
external_id_field: string;
|
|
402
|
-
/**
|
|
403
|
-
* Optional name of the CRM service to use.
|
|
404
|
-
*/
|
|
405
|
-
service?: CRMServiceType;
|
|
406
|
-
}
|
package/lib/types/app.d.ts
CHANGED
|
@@ -89,7 +89,7 @@ export type AppJson = {
|
|
|
89
89
|
description?: string;
|
|
90
90
|
authors?: string[];
|
|
91
91
|
module: Record<EmbedLocation, Module>;
|
|
92
|
-
app_type?: 'canvas-popup' | 'section-selector' | 'sharebox';
|
|
92
|
+
app_type?: 'canvas-popup' | 'section-selector' | 'sharebox' | 'ui-global-popup';
|
|
93
93
|
app_options?: AppTypeJsonOptions;
|
|
94
94
|
order_override?: number;
|
|
95
95
|
has_multiple_routes?: boolean;
|