@pitcher/canvas-ui 2025.12.16-081609-beta → 2025.12.16-082724-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.
@@ -28,7 +28,6 @@ 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;
32
31
  readonly "onUpdate:search"?: ((search: string, filters?: Record<string, any> | undefined) => any) | undefined;
33
32
  readonly "onUpdate:filters"?: ((filters: Record<string, any>) => any) | undefined;
34
33
  readonly "onUpdate:searchIn"?: ((searchIn: string) => any) | undefined;
@@ -147,7 +146,6 @@ declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import
147
146
  enableDependentFilters?: boolean;
148
147
  dependentFiltersEntity?: "file" | "canvas";
149
148
  contentType?: string[];
150
- tagsNotIn?: string[];
151
149
  }> & Readonly<{
152
150
  "onUpdate:search"?: ((search: string, filters?: Record<string, any> | undefined) => any) | undefined;
153
151
  "onUpdate:filters"?: ((filters: Record<string, any>) => any) | undefined;
@@ -163,7 +161,6 @@ declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import
163
161
  filters: Record<string, any>;
164
162
  initialSearchValue: string;
165
163
  includeDraftValues: boolean;
166
- tagsNotIn: string[];
167
164
  engagingIds: string[];
168
165
  popularIds: string[];
169
166
  recommendedIds: string[];
@@ -196,7 +193,6 @@ declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import
196
193
  filters: Record<string, any>;
197
194
  initialSearchValue: string;
198
195
  includeDraftValues: boolean;
199
- tagsNotIn: string[];
200
196
  engagingIds: string[];
201
197
  popularIds: string[];
202
198
  recommendedIds: string[];
@@ -230,12 +226,11 @@ declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import
230
226
  enableDependentFilters?: boolean;
231
227
  dependentFiltersEntity?: "file" | "canvas";
232
228
  contentType?: string[];
233
- tagsNotIn?: string[];
234
229
  }> & Readonly<{
235
230
  "onUpdate:search"?: ((search: string, filters?: Record<string, any> | undefined) => any) | undefined;
236
231
  "onUpdate:filters"?: ((filters: Record<string, any>) => any) | undefined;
237
232
  "onUpdate:searchIn"?: ((searchIn: string) => any) | undefined;
238
- }>, "clearSearch" | ("placeholder" | "filters" | "initialSearchValue" | "includeDraftValues" | "tagsNotIn" | "engagingIds" | "popularIds" | "recommendedIds" | "showLatestFilter" | "hideMetadataFilters" | "hideFilters" | "dependentFiltersEntity")> & import('vue').ShallowUnwrapRef<{
233
+ }>, "clearSearch" | ("placeholder" | "filters" | "initialSearchValue" | "includeDraftValues" | "engagingIds" | "popularIds" | "recommendedIds" | "showLatestFilter" | "hideMetadataFilters" | "hideFilters" | "dependentFiltersEntity")> & import('vue').ShallowUnwrapRef<{
239
234
  clearSearch: () => void;
240
235
  }> & {} & import('vue').ComponentCustomProperties & {} & {
241
236
  $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" | "ui-global-popup" | undefined;
392
+ app_type?: "canvas-popup" | "section-selector" | "sharebox" | 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" | "ui-global-popup" | undefined;
837
+ app_type?: "canvas-popup" | "section-selector" | "sharebox" | undefined;
838
838
  app_options?: {
839
839
  dimensions?: {
840
840
  width?: number | string | undefined;
@@ -30,7 +30,6 @@ 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;
34
33
  readonly "onUpdate:search"?: ((search: string, filters?: Record<string, any> | undefined) => any) | undefined;
35
34
  readonly "onUpdate:filters"?: ((filters: Record<string, any>) => any) | undefined;
36
35
  readonly "onUpdate:searchIn"?: ((searchIn: string) => any) | undefined;
@@ -149,7 +148,6 @@ declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import
149
148
  enableDependentFilters?: boolean;
150
149
  dependentFiltersEntity?: "file" | "canvas";
151
150
  contentType?: string[];
152
- tagsNotIn?: string[];
153
151
  }> & Readonly<{
154
152
  "onUpdate:search"?: ((search: string, filters?: Record<string, any> | undefined) => any) | undefined;
155
153
  "onUpdate:filters"?: ((filters: Record<string, any>) => any) | undefined;
@@ -165,7 +163,6 @@ declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import
165
163
  filters: Record<string, any>;
166
164
  initialSearchValue: string;
167
165
  includeDraftValues: boolean;
168
- tagsNotIn: string[];
169
166
  engagingIds: string[];
170
167
  popularIds: string[];
171
168
  recommendedIds: string[];
@@ -198,7 +195,6 @@ declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import
198
195
  filters: Record<string, any>;
199
196
  initialSearchValue: string;
200
197
  includeDraftValues: boolean;
201
- tagsNotIn: string[];
202
198
  engagingIds: string[];
203
199
  popularIds: string[];
204
200
  recommendedIds: string[];
@@ -232,12 +228,11 @@ declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import
232
228
  enableDependentFilters?: boolean;
233
229
  dependentFiltersEntity?: "file" | "canvas";
234
230
  contentType?: string[];
235
- tagsNotIn?: string[];
236
231
  }> & Readonly<{
237
232
  "onUpdate:search"?: ((search: string, filters?: Record<string, any> | undefined) => any) | undefined;
238
233
  "onUpdate:filters"?: ((filters: Record<string, any>) => any) | undefined;
239
234
  "onUpdate:searchIn"?: ((searchIn: string) => any) | undefined;
240
- }>, "clearSearch" | ("placeholder" | "filters" | "initialSearchValue" | "includeDraftValues" | "tagsNotIn" | "engagingIds" | "popularIds" | "recommendedIds" | "showLatestFilter" | "hideMetadataFilters" | "hideFilters" | "dependentFiltersEntity")> & import('vue').ShallowUnwrapRef<{
235
+ }>, "clearSearch" | ("placeholder" | "filters" | "initialSearchValue" | "includeDraftValues" | "engagingIds" | "popularIds" | "recommendedIds" | "showLatestFilter" | "hideMetadataFilters" | "hideFilters" | "dependentFiltersEntity")> & import('vue').ShallowUnwrapRef<{
241
236
  clearSearch: () => void;
242
237
  }> & {} & import('vue').ComponentCustomProperties & {} & {
243
238
  $slots: {
@@ -27,7 +27,6 @@ type __VLS_Props = {
27
27
  enableDependentFilters?: boolean;
28
28
  dependentFiltersEntity?: 'file' | 'canvas';
29
29
  contentType?: string[];
30
- tagsNotIn?: string[];
31
30
  };
32
31
  declare function clearSearch(): void;
33
32
  declare function __VLS_template(): {
@@ -128,7 +127,6 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {
128
127
  filters: Record<string, any>;
129
128
  initialSearchValue: string;
130
129
  includeDraftValues: boolean;
131
- tagsNotIn: string[];
132
130
  engagingIds: string[];
133
131
  popularIds: string[];
134
132
  recommendedIds: string[];
@@ -82,7 +82,6 @@ declare function __VLS_template(): {
82
82
  order: "asc" | "desc";
83
83
  };
84
84
  viewMode?: "table" | "list";
85
- excludedTags?: string[];
86
85
  }> & Readonly<{
87
86
  onSelect?: ((payload: {
88
87
  id: import('../CTableColumnsSettings/CTableColumnsSettings.vue').TableColumnSetting["id"];
@@ -128,7 +127,6 @@ declare function __VLS_template(): {
128
127
  "breadcrumb:click": (id: string | null) => any;
129
128
  "toggle-view-mode": () => any;
130
129
  }, import('vue').PublicProps, {
131
- excludedTags: string[];
132
130
  currentSort: {
133
131
  field: string;
134
132
  order: "asc" | "desc";
@@ -167,7 +165,6 @@ declare function __VLS_template(): {
167
165
  readonly enableDependentFilters?: boolean | undefined;
168
166
  readonly dependentFiltersEntity?: "file" | "canvas" | undefined;
169
167
  readonly contentType?: string[] | undefined;
170
- readonly tagsNotIn?: string[] | undefined;
171
168
  readonly "onUpdate:search"?: ((search: string, filters?: Record<string, any> | undefined) => any) | undefined;
172
169
  readonly "onUpdate:filters"?: ((filters: Record<string, any>) => any) | undefined;
173
170
  readonly "onUpdate:searchIn"?: ((searchIn: string) => any) | undefined;
@@ -286,7 +283,6 @@ declare function __VLS_template(): {
286
283
  enableDependentFilters?: boolean;
287
284
  dependentFiltersEntity?: "file" | "canvas";
288
285
  contentType?: string[];
289
- tagsNotIn?: string[];
290
286
  }> & Readonly<{
291
287
  "onUpdate:search"?: ((search: string, filters?: Record<string, any> | undefined) => any) | undefined;
292
288
  "onUpdate:filters"?: ((filters: Record<string, any>) => any) | undefined;
@@ -302,7 +298,6 @@ declare function __VLS_template(): {
302
298
  filters: Record<string, any>;
303
299
  initialSearchValue: string;
304
300
  includeDraftValues: boolean;
305
- tagsNotIn: string[];
306
301
  engagingIds: string[];
307
302
  popularIds: string[];
308
303
  recommendedIds: string[];
@@ -335,7 +330,6 @@ declare function __VLS_template(): {
335
330
  filters: Record<string, any>;
336
331
  initialSearchValue: string;
337
332
  includeDraftValues: boolean;
338
- tagsNotIn: string[];
339
333
  engagingIds: string[];
340
334
  popularIds: string[];
341
335
  recommendedIds: string[];
@@ -369,12 +363,11 @@ declare function __VLS_template(): {
369
363
  enableDependentFilters?: boolean;
370
364
  dependentFiltersEntity?: "file" | "canvas";
371
365
  contentType?: string[];
372
- tagsNotIn?: string[];
373
366
  }> & Readonly<{
374
367
  "onUpdate:search"?: ((search: string, filters?: Record<string, any> | undefined) => any) | undefined;
375
368
  "onUpdate:filters"?: ((filters: Record<string, any>) => any) | undefined;
376
369
  "onUpdate:searchIn"?: ((searchIn: string) => any) | undefined;
377
- }>, "clearSearch" | ("placeholder" | "filters" | "initialSearchValue" | "includeDraftValues" | "tagsNotIn" | "engagingIds" | "popularIds" | "recommendedIds" | "showLatestFilter" | "hideMetadataFilters" | "hideFilters" | "dependentFiltersEntity")> & import('vue').ShallowUnwrapRef<{
370
+ }>, "clearSearch" | ("placeholder" | "filters" | "initialSearchValue" | "includeDraftValues" | "engagingIds" | "popularIds" | "recommendedIds" | "showLatestFilter" | "hideMetadataFilters" | "hideFilters" | "dependentFiltersEntity")> & import('vue').ShallowUnwrapRef<{
378
371
  clearSearch: () => void;
379
372
  }> & {} & import('vue').ComponentCustomProperties & {} & {
380
373
  $slots: {
@@ -414,7 +407,6 @@ declare function __VLS_template(): {
414
407
  order: "asc" | "desc";
415
408
  };
416
409
  viewMode?: "table" | "list";
417
- excludedTags?: string[];
418
410
  }> & Readonly<{
419
411
  onSelect?: ((payload: {
420
412
  id: import('../CTableColumnsSettings/CTableColumnsSettings.vue').TableColumnSetting["id"];
@@ -439,7 +431,6 @@ declare function __VLS_template(): {
439
431
  }>, {
440
432
  clearSearch: () => void;
441
433
  }, {}, {}, {}, {
442
- excludedTags: string[];
443
434
  currentSort: {
444
435
  field: string;
445
436
  order: "asc" | "desc";
@@ -716,7 +707,6 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {
716
707
  order: "asc" | "desc";
717
708
  };
718
709
  viewMode?: "table" | "list";
719
- excludedTags?: string[];
720
710
  }> & Readonly<{
721
711
  onSelect?: ((payload: {
722
712
  id: import('../CTableColumnsSettings/CTableColumnsSettings.vue').TableColumnSetting["id"];
@@ -762,7 +752,6 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {
762
752
  "breadcrumb:click": (id: string | null) => any;
763
753
  "toggle-view-mode": () => any;
764
754
  }, import('vue').PublicProps, {
765
- excludedTags: string[];
766
755
  currentSort: {
767
756
  field: string;
768
757
  order: "asc" | "desc";
@@ -801,7 +790,6 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {
801
790
  readonly enableDependentFilters?: boolean | undefined;
802
791
  readonly dependentFiltersEntity?: "file" | "canvas" | undefined;
803
792
  readonly contentType?: string[] | undefined;
804
- readonly tagsNotIn?: string[] | undefined;
805
793
  readonly "onUpdate:search"?: ((search: string, filters?: Record<string, any> | undefined) => any) | undefined;
806
794
  readonly "onUpdate:filters"?: ((filters: Record<string, any>) => any) | undefined;
807
795
  readonly "onUpdate:searchIn"?: ((searchIn: string) => any) | undefined;
@@ -920,7 +908,6 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {
920
908
  enableDependentFilters?: boolean;
921
909
  dependentFiltersEntity?: "file" | "canvas";
922
910
  contentType?: string[];
923
- tagsNotIn?: string[];
924
911
  }> & Readonly<{
925
912
  "onUpdate:search"?: ((search: string, filters?: Record<string, any> | undefined) => any) | undefined;
926
913
  "onUpdate:filters"?: ((filters: Record<string, any>) => any) | undefined;
@@ -936,7 +923,6 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {
936
923
  filters: Record<string, any>;
937
924
  initialSearchValue: string;
938
925
  includeDraftValues: boolean;
939
- tagsNotIn: string[];
940
926
  engagingIds: string[];
941
927
  popularIds: string[];
942
928
  recommendedIds: string[];
@@ -969,7 +955,6 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {
969
955
  filters: Record<string, any>;
970
956
  initialSearchValue: string;
971
957
  includeDraftValues: boolean;
972
- tagsNotIn: string[];
973
958
  engagingIds: string[];
974
959
  popularIds: string[];
975
960
  recommendedIds: string[];
@@ -1003,12 +988,11 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {
1003
988
  enableDependentFilters?: boolean;
1004
989
  dependentFiltersEntity?: "file" | "canvas";
1005
990
  contentType?: string[];
1006
- tagsNotIn?: string[];
1007
991
  }> & Readonly<{
1008
992
  "onUpdate:search"?: ((search: string, filters?: Record<string, any> | undefined) => any) | undefined;
1009
993
  "onUpdate:filters"?: ((filters: Record<string, any>) => any) | undefined;
1010
994
  "onUpdate:searchIn"?: ((searchIn: string) => any) | undefined;
1011
- }>, "clearSearch" | ("placeholder" | "filters" | "initialSearchValue" | "includeDraftValues" | "tagsNotIn" | "engagingIds" | "popularIds" | "recommendedIds" | "showLatestFilter" | "hideMetadataFilters" | "hideFilters" | "dependentFiltersEntity")> & import('vue').ShallowUnwrapRef<{
995
+ }>, "clearSearch" | ("placeholder" | "filters" | "initialSearchValue" | "includeDraftValues" | "engagingIds" | "popularIds" | "recommendedIds" | "showLatestFilter" | "hideMetadataFilters" | "hideFilters" | "dependentFiltersEntity")> & import('vue').ShallowUnwrapRef<{
1012
996
  clearSearch: () => void;
1013
997
  }> & {} & import('vue').ComponentCustomProperties & {} & {
1014
998
  $slots: {
@@ -1048,7 +1032,6 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {
1048
1032
  order: "asc" | "desc";
1049
1033
  };
1050
1034
  viewMode?: "table" | "list";
1051
- excludedTags?: string[];
1052
1035
  }> & Readonly<{
1053
1036
  onSelect?: ((payload: {
1054
1037
  id: import('../CTableColumnsSettings/CTableColumnsSettings.vue').TableColumnSetting["id"];
@@ -1073,7 +1056,6 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {
1073
1056
  }>, {
1074
1057
  clearSearch: () => void;
1075
1058
  }, {}, {}, {}, {
1076
- excludedTags: string[];
1077
1059
  currentSort: {
1078
1060
  field: string;
1079
1061
  order: "asc" | "desc";
@@ -27,7 +27,6 @@ type __VLS_Props = {
27
27
  order: 'asc' | 'desc';
28
28
  };
29
29
  viewMode?: 'table' | 'list';
30
- excludedTags?: string[];
31
30
  };
32
31
  declare function clearSearch(): void;
33
32
  declare const _default: import('vue').DefineComponent<__VLS_Props, {
@@ -75,7 +74,6 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {
75
74
  "onBreadcrumb:click"?: ((id: string | null) => any) | undefined;
76
75
  "onToggle-view-mode"?: (() => any) | undefined;
77
76
  }>, {
78
- excludedTags: string[];
79
77
  currentSort: {
80
78
  field: string;
81
79
  order: "asc" | "desc";
@@ -114,7 +112,6 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {
114
112
  readonly enableDependentFilters?: boolean | undefined;
115
113
  readonly dependentFiltersEntity?: "file" | "canvas" | undefined;
116
114
  readonly contentType?: string[] | undefined;
117
- readonly tagsNotIn?: string[] | undefined;
118
115
  readonly "onUpdate:search"?: ((search: string, filters?: Record<string, any> | undefined) => any) | undefined;
119
116
  readonly "onUpdate:filters"?: ((filters: Record<string, any>) => any) | undefined;
120
117
  readonly "onUpdate:searchIn"?: ((searchIn: string) => any) | undefined;
@@ -233,7 +230,6 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {
233
230
  enableDependentFilters?: boolean;
234
231
  dependentFiltersEntity?: "file" | "canvas";
235
232
  contentType?: string[];
236
- tagsNotIn?: string[];
237
233
  }> & Readonly<{
238
234
  "onUpdate:search"?: ((search: string, filters?: Record<string, any> | undefined) => any) | undefined;
239
235
  "onUpdate:filters"?: ((filters: Record<string, any>) => any) | undefined;
@@ -249,7 +245,6 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {
249
245
  filters: Record<string, any>;
250
246
  initialSearchValue: string;
251
247
  includeDraftValues: boolean;
252
- tagsNotIn: string[];
253
248
  engagingIds: string[];
254
249
  popularIds: string[];
255
250
  recommendedIds: string[];
@@ -282,7 +277,6 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {
282
277
  filters: Record<string, any>;
283
278
  initialSearchValue: string;
284
279
  includeDraftValues: boolean;
285
- tagsNotIn: string[];
286
280
  engagingIds: string[];
287
281
  popularIds: string[];
288
282
  recommendedIds: string[];
@@ -316,12 +310,11 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {
316
310
  enableDependentFilters?: boolean;
317
311
  dependentFiltersEntity?: "file" | "canvas";
318
312
  contentType?: string[];
319
- tagsNotIn?: string[];
320
313
  }> & Readonly<{
321
314
  "onUpdate:search"?: ((search: string, filters?: Record<string, any> | undefined) => any) | undefined;
322
315
  "onUpdate:filters"?: ((filters: Record<string, any>) => any) | undefined;
323
316
  "onUpdate:searchIn"?: ((searchIn: string) => any) | undefined;
324
- }>, "clearSearch" | ("placeholder" | "filters" | "initialSearchValue" | "includeDraftValues" | "tagsNotIn" | "engagingIds" | "popularIds" | "recommendedIds" | "showLatestFilter" | "hideMetadataFilters" | "hideFilters" | "dependentFiltersEntity")> & import('vue').ShallowUnwrapRef<{
317
+ }>, "clearSearch" | ("placeholder" | "filters" | "initialSearchValue" | "includeDraftValues" | "engagingIds" | "popularIds" | "recommendedIds" | "showLatestFilter" | "hideMetadataFilters" | "hideFilters" | "dependentFiltersEntity")> & import('vue').ShallowUnwrapRef<{
325
318
  clearSearch: () => void;
326
319
  }> & {} & import('vue').ComponentCustomProperties & {} & {
327
320
  $slots: {
@@ -16,7 +16,6 @@ type Props = {
16
16
  externalFilters?: Record<string, any>;
17
17
  isDependentField?: boolean;
18
18
  systemFilteredIds?: string[];
19
- tagsNotIn?: string[];
20
19
  };
21
20
  declare const _default: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
22
21
  clear: () => any;
@@ -33,7 +32,6 @@ declare const _default: import('vue').DefineComponent<Props, {}, {}, {}, {}, imp
33
32
  isSection: boolean;
34
33
  isTemplate: boolean;
35
34
  ownerId: number | null;
36
- tagsNotIn: string[];
37
35
  limit: number;
38
36
  numeric: boolean;
39
37
  filterKey: string;
@@ -21,7 +21,6 @@ interface UseFilterSuggestionsOptions {
21
21
  isTemplate?: boolean;
22
22
  ownerId?: number | null;
23
23
  limit?: number;
24
- tagsNotIn?: string[];
25
24
  }
26
25
  export default function useFilterSuggestions(options?: UseFilterSuggestionsOptions): {
27
26
  suggestionsData: Ref<{
@@ -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, tagsNotIn, }?: {
14
+ handleFetch: (searchTerm: string, entity: MetadataFilterRequest["entity"], { includeNameSearch, includeDraftValues, isSection, isTemplate, isBlock, key, ownerId, searchMode, threshold, fetchAllUnique, contentType, }?: {
15
15
  includeNameSearch?: boolean;
16
16
  includeDraftValues?: boolean;
17
17
  isSection?: boolean;
@@ -23,9 +23,8 @@ export default function useMetadataSearch(options?: UseMetadataSearchOptions): {
23
23
  threshold?: number;
24
24
  fetchAllUnique?: boolean;
25
25
  contentType?: string[];
26
- tagsNotIn?: string[];
27
26
  }) => Promise<StyledAutoCompleteOption[]>;
28
- fetchUniqueValues: (entity: MetadataFilterRequest["entity"], { includeDraftValues, isSection, isTemplate, isBlock, key, ownerId, limit, and, tagsNotIn, }?: {
27
+ fetchUniqueValues: (entity: MetadataFilterRequest["entity"], { includeDraftValues, isSection, isTemplate, isBlock, key, ownerId, limit, and, }?: {
29
28
  includeDraftValues?: boolean;
30
29
  isSection?: boolean;
31
30
  isTemplate?: boolean;
@@ -37,7 +36,6 @@ export default function useMetadataSearch(options?: UseMetadataSearchOptions): {
37
36
  key: string;
38
37
  value: string;
39
38
  }>;
40
- tagsNotIn?: string[];
41
39
  }) => Promise<MetadataUniqueValuesResponse>;
42
40
  };
43
41
  export {};
@@ -238,6 +238,8 @@ 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>;
241
243
  getFolders(payload: import('../payload.types').FolderListRequest): Promise<import('../../main.lib').PaginatedFolderList>;
242
244
  getFolder(payload?: {
243
245
  id: import('../../main.lib').FolderRetrieve["id"];
@@ -1,4 +1,4 @@
1
- import { QueryPayload, CRMQueryPayload, UpsertCRMObjectsPayload, CRMSmartObjectValidationRulesPayload, CRMSmartObjectMetadataPayload, CRMSmartDeleteObjectsPayload } from '../../payload.types';
1
+ import { QueryPayload, CRMQueryPayload, UpsertCRMObjectsPayload, CRMSmartObjectValidationRulesPayload, CRMSmartObjectMetadataPayload, CRMSmartDeleteObjectsPayload, CRMCreatePayload, CRMUpsertPayload } 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,3 +113,43 @@ 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>;
package/lib/sdk/main.d.ts CHANGED
@@ -307,6 +307,8 @@ export declare function useApi(options?: ApiOptions): {
307
307
  crmSmartUpsertObjects(payload: import('./payload.types').UpsertCRMObjectsPayload): Promise<any>;
308
308
  crmSmartObjectValidationRules(payload: import('./payload.types').CRMSmartObjectValidationRulesPayload): Promise<any>;
309
309
  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>;
310
312
  getFolders(payload: import('./payload.types').FolderListRequest): Promise<import('../main.lib').PaginatedFolderList>;
311
313
  getFolder(payload?: {
312
314
  id: import('../main.lib').FolderRetrieve["id"];
@@ -588,6 +590,8 @@ export declare function useApi(options?: ApiOptions): {
588
590
  crmSmartUpsertObjects(payload: import('./payload.types').UpsertCRMObjectsPayload): Promise<any>;
589
591
  crmSmartObjectValidationRules(payload: import('./payload.types').CRMSmartObjectValidationRulesPayload): Promise<any>;
590
592
  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>;
591
595
  getFolders(payload: import('./payload.types').FolderListRequest): Promise<import('../main.lib').PaginatedFolderList>;
592
596
  getFolder(payload?: {
593
597
  id: import('../main.lib').FolderRetrieve["id"];
@@ -805,6 +809,8 @@ export declare function useApi(options?: ApiOptions): {
805
809
  crmSmartUpsertObjects(payload: import('./payload.types').UpsertCRMObjectsPayload): Promise<any>;
806
810
  crmSmartObjectValidationRules(payload: import('./payload.types').CRMSmartObjectValidationRulesPayload): Promise<any>;
807
811
  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>;
808
814
  getFolders(payload: import('./payload.types').FolderListRequest): Promise<import('../main.lib').PaginatedFolderList>;
809
815
  getFolder(payload?: {
810
816
  id: import('../main.lib').FolderRetrieve["id"];
@@ -361,3 +361,46 @@ 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
+ }
@@ -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' | 'ui-global-popup';
92
+ app_type?: 'canvas-popup' | 'section-selector' | 'sharebox';
93
93
  app_options?: AppTypeJsonOptions;
94
94
  order_override?: number;
95
95
  has_multiple_routes?: boolean;
@@ -23,7 +23,6 @@ export type MetadataSearchParams = MetadataFilterRequest & {
23
23
  cursor?: string;
24
24
  page_size?: number;
25
25
  fetch_all_unique?: boolean;
26
- tags_not_in?: string;
27
26
  };
28
27
  interface MetadataResultItem {
29
28
  id: string;
package/locale/de.json CHANGED
@@ -1893,14 +1893,6 @@
1893
1893
  "restoreDefaults": null,
1894
1894
  "show": null
1895
1895
  },
1896
- "CTemplateAccessInfo": {
1897
- "more": null,
1898
- "title": null
1899
- },
1900
- "CTemplateAccessManage": {
1901
- "setHome": null,
1902
- "templates": null
1903
- },
1904
1896
  "CTemplateManagementListItem": {
1905
1897
  "at": null,
1906
1898
  "defaultTemplate": null,
package/locale/el.json CHANGED
@@ -1831,6 +1831,14 @@
1831
1831
  "primaryActiontext": "Επιλογή αρχείων",
1832
1832
  "select": "Επιλογή"
1833
1833
  },
1834
+ "CTemplateAccessManage": {
1835
+ "templates": "Πρότυπο ({n}) | Πρότυπα ({n})",
1836
+ "setHome": "Ορισμός ως αρχικό πρότυπο"
1837
+ },
1838
+ "CTemplateAccessInfo": {
1839
+ "more": "και {n} περισσότερα",
1840
+ "title": "Πρότυπο ({n}) | Πρότυπα ({n})"
1841
+ },
1834
1842
  "CGroupsAccessInfo": {
1835
1843
  "more": "και {n} περισσότερα",
1836
1844
  "title": "Ομάδα ({n}) | Ομάδες ({n})"
@@ -1893,14 +1901,6 @@
1893
1901
  "restoreDefaults": "Επαναφορά προεπιλογών",
1894
1902
  "show": "Εμφάνιση"
1895
1903
  },
1896
- "CTemplateAccessInfo": {
1897
- "more": "και {n} περισσότερα",
1898
- "title": "Πρότυπο ({n}) | Πρότυπα ({n})"
1899
- },
1900
- "CTemplateAccessManage": {
1901
- "setHome": "Ορισμός ως αρχικό πρότυπο",
1902
- "templates": "Πρότυπο ({n}) | Πρότυπα ({n})"
1903
- },
1904
1904
  "CTemplateManagementListItem": {
1905
1905
  "at": "στις",
1906
1906
  "defaultTemplate": "Προεπιλεγμένο πρότυπο",
@@ -2831,4 +2831,4 @@
2831
2831
  "invalidNumber": "Μη έγκυρος αριθμός"
2832
2832
  }
2833
2833
  }
2834
- }
2834
+ }
package/locale/en.json CHANGED
@@ -1831,6 +1831,14 @@
1831
1831
  "primaryActiontext": "Select files",
1832
1832
  "select": "Select"
1833
1833
  },
1834
+ "CTemplateAccessManage": {
1835
+ "templates": "Template ({n}) | Templates ({n})",
1836
+ "setHome": "Set as home template"
1837
+ },
1838
+ "CTemplateAccessInfo": {
1839
+ "more": "and {n} more",
1840
+ "title": "Template ({n}) | Templates ({n})"
1841
+ },
1834
1842
  "CGroupsAccessInfo": {
1835
1843
  "more": "and {n} more",
1836
1844
  "title": "Group ({n}) | Groups ({n})"
@@ -1893,14 +1901,6 @@
1893
1901
  "restoreDefaults": "Restore defaults",
1894
1902
  "show": "Show"
1895
1903
  },
1896
- "CTemplateAccessInfo": {
1897
- "more": "and {n} more",
1898
- "title": "Template ({n}) | Templates ({n})"
1899
- },
1900
- "CTemplateAccessManage": {
1901
- "setHome": "Set as home template",
1902
- "templates": "Template ({n}) | Templates ({n})"
1903
- },
1904
1904
  "CTemplateManagementListItem": {
1905
1905
  "at": "at",
1906
1906
  "defaultTemplate": "Default template",
@@ -2831,4 +2831,4 @@
2831
2831
  "invalidNumber": "Invalid number"
2832
2832
  }
2833
2833
  }
2834
- }
2834
+ }