@wix/auto_sdk_data_collections 1.0.10 → 1.0.12

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.
Files changed (134) hide show
  1. package/build/{es/src/data-v2-data-collection-collections.types.d.ts → data-v2-data-collection-collections.universal-DFG8hhGA.d.mts} +199 -144
  2. package/build/{cjs/src/data-v2-data-collection-collections.types.d.ts → data-v2-data-collection-collections.universal-DFG8hhGA.d.ts} +199 -144
  3. package/build/index.d.mts +75 -0
  4. package/build/index.d.ts +75 -0
  5. package/build/index.js +1278 -0
  6. package/build/index.js.map +1 -0
  7. package/build/index.mjs +1227 -0
  8. package/build/index.mjs.map +1 -0
  9. package/build/internal/{cjs/src/data-v2-data-collection-collections.types.d.ts → data-v2-data-collection-collections.universal-DZ3_N2Cv.d.mts} +230 -144
  10. package/build/internal/{es/src/data-v2-data-collection-collections.types.d.ts → data-v2-data-collection-collections.universal-DZ3_N2Cv.d.ts} +230 -144
  11. package/build/internal/index.d.mts +121 -0
  12. package/build/internal/index.d.ts +121 -0
  13. package/build/internal/index.js +1278 -0
  14. package/build/internal/index.js.map +1 -0
  15. package/build/internal/index.mjs +1227 -0
  16. package/build/internal/index.mjs.map +1 -0
  17. package/build/internal/meta.d.mts +882 -0
  18. package/build/internal/meta.d.ts +882 -0
  19. package/build/internal/meta.js +883 -0
  20. package/build/internal/meta.js.map +1 -0
  21. package/build/internal/meta.mjs +848 -0
  22. package/build/internal/meta.mjs.map +1 -0
  23. package/build/meta.d.mts +882 -0
  24. package/build/meta.d.ts +882 -0
  25. package/build/meta.js +883 -0
  26. package/build/meta.js.map +1 -0
  27. package/build/meta.mjs +848 -0
  28. package/build/meta.mjs.map +1 -0
  29. package/package.json +13 -12
  30. package/build/cjs/index.d.ts +0 -1
  31. package/build/cjs/index.js +0 -18
  32. package/build/cjs/index.js.map +0 -1
  33. package/build/cjs/index.typings.d.ts +0 -1
  34. package/build/cjs/index.typings.js +0 -18
  35. package/build/cjs/index.typings.js.map +0 -1
  36. package/build/cjs/meta.d.ts +0 -1
  37. package/build/cjs/meta.js +0 -18
  38. package/build/cjs/meta.js.map +0 -1
  39. package/build/cjs/src/data-v2-data-collection-collections.context.d.ts +0 -9
  40. package/build/cjs/src/data-v2-data-collection-collections.context.js +0 -39
  41. package/build/cjs/src/data-v2-data-collection-collections.context.js.map +0 -1
  42. package/build/cjs/src/data-v2-data-collection-collections.http.d.ts +0 -48
  43. package/build/cjs/src/data-v2-data-collection-collections.http.js +0 -704
  44. package/build/cjs/src/data-v2-data-collection-collections.http.js.map +0 -1
  45. package/build/cjs/src/data-v2-data-collection-collections.meta.d.ts +0 -27
  46. package/build/cjs/src/data-v2-data-collection-collections.meta.js +0 -199
  47. package/build/cjs/src/data-v2-data-collection-collections.meta.js.map +0 -1
  48. package/build/cjs/src/data-v2-data-collection-collections.public.d.ts +0 -69
  49. package/build/cjs/src/data-v2-data-collection-collections.public.js +0 -84
  50. package/build/cjs/src/data-v2-data-collection-collections.public.js.map +0 -1
  51. package/build/cjs/src/data-v2-data-collection-collections.types.js +0 -270
  52. package/build/cjs/src/data-v2-data-collection-collections.types.js.map +0 -1
  53. package/build/cjs/src/data-v2-data-collection-collections.universal.d.ts +0 -1572
  54. package/build/cjs/src/data-v2-data-collection-collections.universal.js +0 -704
  55. package/build/cjs/src/data-v2-data-collection-collections.universal.js.map +0 -1
  56. package/build/es/index.d.ts +0 -1
  57. package/build/es/index.js +0 -2
  58. package/build/es/index.js.map +0 -1
  59. package/build/es/index.typings.d.ts +0 -1
  60. package/build/es/index.typings.js +0 -2
  61. package/build/es/index.typings.js.map +0 -1
  62. package/build/es/meta.d.ts +0 -1
  63. package/build/es/meta.js +0 -2
  64. package/build/es/meta.js.map +0 -1
  65. package/build/es/package.json +0 -3
  66. package/build/es/src/data-v2-data-collection-collections.context.d.ts +0 -9
  67. package/build/es/src/data-v2-data-collection-collections.context.js +0 -17
  68. package/build/es/src/data-v2-data-collection-collections.context.js.map +0 -1
  69. package/build/es/src/data-v2-data-collection-collections.http.d.ts +0 -48
  70. package/build/es/src/data-v2-data-collection-collections.http.js +0 -692
  71. package/build/es/src/data-v2-data-collection-collections.http.js.map +0 -1
  72. package/build/es/src/data-v2-data-collection-collections.meta.d.ts +0 -27
  73. package/build/es/src/data-v2-data-collection-collections.meta.js +0 -164
  74. package/build/es/src/data-v2-data-collection-collections.meta.js.map +0 -1
  75. package/build/es/src/data-v2-data-collection-collections.public.d.ts +0 -69
  76. package/build/es/src/data-v2-data-collection-collections.public.js +0 -53
  77. package/build/es/src/data-v2-data-collection-collections.public.js.map +0 -1
  78. package/build/es/src/data-v2-data-collection-collections.types.js +0 -267
  79. package/build/es/src/data-v2-data-collection-collections.types.js.map +0 -1
  80. package/build/es/src/data-v2-data-collection-collections.universal.d.ts +0 -1572
  81. package/build/es/src/data-v2-data-collection-collections.universal.js +0 -669
  82. package/build/es/src/data-v2-data-collection-collections.universal.js.map +0 -1
  83. package/build/internal/cjs/index.d.ts +0 -1
  84. package/build/internal/cjs/index.js +0 -18
  85. package/build/internal/cjs/index.js.map +0 -1
  86. package/build/internal/cjs/index.typings.d.ts +0 -1
  87. package/build/internal/cjs/index.typings.js +0 -18
  88. package/build/internal/cjs/index.typings.js.map +0 -1
  89. package/build/internal/cjs/meta.d.ts +0 -1
  90. package/build/internal/cjs/meta.js +0 -18
  91. package/build/internal/cjs/meta.js.map +0 -1
  92. package/build/internal/cjs/src/data-v2-data-collection-collections.context.d.ts +0 -17
  93. package/build/internal/cjs/src/data-v2-data-collection-collections.context.js +0 -39
  94. package/build/internal/cjs/src/data-v2-data-collection-collections.context.js.map +0 -1
  95. package/build/internal/cjs/src/data-v2-data-collection-collections.http.d.ts +0 -48
  96. package/build/internal/cjs/src/data-v2-data-collection-collections.http.js +0 -704
  97. package/build/internal/cjs/src/data-v2-data-collection-collections.http.js.map +0 -1
  98. package/build/internal/cjs/src/data-v2-data-collection-collections.meta.d.ts +0 -27
  99. package/build/internal/cjs/src/data-v2-data-collection-collections.meta.js +0 -199
  100. package/build/internal/cjs/src/data-v2-data-collection-collections.meta.js.map +0 -1
  101. package/build/internal/cjs/src/data-v2-data-collection-collections.public.d.ts +0 -107
  102. package/build/internal/cjs/src/data-v2-data-collection-collections.public.js +0 -84
  103. package/build/internal/cjs/src/data-v2-data-collection-collections.public.js.map +0 -1
  104. package/build/internal/cjs/src/data-v2-data-collection-collections.types.js +0 -270
  105. package/build/internal/cjs/src/data-v2-data-collection-collections.types.js.map +0 -1
  106. package/build/internal/cjs/src/data-v2-data-collection-collections.universal.d.ts +0 -1679
  107. package/build/internal/cjs/src/data-v2-data-collection-collections.universal.js +0 -704
  108. package/build/internal/cjs/src/data-v2-data-collection-collections.universal.js.map +0 -1
  109. package/build/internal/es/index.d.ts +0 -1
  110. package/build/internal/es/index.js +0 -2
  111. package/build/internal/es/index.js.map +0 -1
  112. package/build/internal/es/index.typings.d.ts +0 -1
  113. package/build/internal/es/index.typings.js +0 -2
  114. package/build/internal/es/index.typings.js.map +0 -1
  115. package/build/internal/es/meta.d.ts +0 -1
  116. package/build/internal/es/meta.js +0 -2
  117. package/build/internal/es/meta.js.map +0 -1
  118. package/build/internal/es/src/data-v2-data-collection-collections.context.d.ts +0 -17
  119. package/build/internal/es/src/data-v2-data-collection-collections.context.js +0 -17
  120. package/build/internal/es/src/data-v2-data-collection-collections.context.js.map +0 -1
  121. package/build/internal/es/src/data-v2-data-collection-collections.http.d.ts +0 -48
  122. package/build/internal/es/src/data-v2-data-collection-collections.http.js +0 -692
  123. package/build/internal/es/src/data-v2-data-collection-collections.http.js.map +0 -1
  124. package/build/internal/es/src/data-v2-data-collection-collections.meta.d.ts +0 -27
  125. package/build/internal/es/src/data-v2-data-collection-collections.meta.js +0 -164
  126. package/build/internal/es/src/data-v2-data-collection-collections.meta.js.map +0 -1
  127. package/build/internal/es/src/data-v2-data-collection-collections.public.d.ts +0 -107
  128. package/build/internal/es/src/data-v2-data-collection-collections.public.js +0 -53
  129. package/build/internal/es/src/data-v2-data-collection-collections.public.js.map +0 -1
  130. package/build/internal/es/src/data-v2-data-collection-collections.types.js +0 -267
  131. package/build/internal/es/src/data-v2-data-collection-collections.types.js.map +0 -1
  132. package/build/internal/es/src/data-v2-data-collection-collections.universal.d.ts +0 -1679
  133. package/build/internal/es/src/data-v2-data-collection-collections.universal.js +0 -669
  134. package/build/internal/es/src/data-v2-data-collection-collections.universal.js.map +0 -1
@@ -1,704 +0,0 @@
1
- "use strict";
2
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
- if (k2 === undefined) k2 = k;
4
- var desc = Object.getOwnPropertyDescriptor(m, k);
5
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
- desc = { enumerable: true, get: function() { return m[k]; } };
7
- }
8
- Object.defineProperty(o, k2, desc);
9
- }) : (function(o, m, k, k2) {
10
- if (k2 === undefined) k2 = k;
11
- o[k2] = m[k];
12
- }));
13
- var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
14
- Object.defineProperty(o, "default", { enumerable: true, value: v });
15
- }) : function(o, v) {
16
- o["default"] = v;
17
- });
18
- var __importStar = (this && this.__importStar) || function (mod) {
19
- if (mod && mod.__esModule) return mod;
20
- var result = {};
21
- if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
22
- __setModuleDefault(result, mod);
23
- return result;
24
- };
25
- Object.defineProperty(exports, "__esModule", { value: true });
26
- exports.deleteDataCollectionField = exports.updateDataCollectionField = exports.createDataCollectionField = exports.restoreDataCollection = exports.deleteDataCollection = exports.updateDataCollection = exports.listDataCollections = exports.getDataCollection = exports.createDataCollection = exports.WebhookIdentityType = exports.IndexSource = exports.IndexStatus = exports.Order = exports.SortOrder = exports.Segment = exports.AccessLevel = exports.PagingMode = exports.PluginType = exports.Format = exports.Status = exports.Role = exports.FieldPluginType = exports.QueryOperator = exports.Type = exports.CollectionOperation = exports.DataOperation = exports.Direction = exports.CollectionType = void 0;
27
- const transform_error_1 = require("@wix/sdk-runtime/transform-error");
28
- const rename_all_nested_keys_1 = require("@wix/sdk-runtime/rename-all-nested-keys");
29
- const ambassadorWixDataV2DataCollection = __importStar(require("./data-v2-data-collection-collections.http.js"));
30
- var CollectionType;
31
- (function (CollectionType) {
32
- /** User-created collection. */
33
- CollectionType["NATIVE"] = "NATIVE";
34
- /** [Collection](https://support.wix.com/en/article/velo-working-with-wix-app-collections-and-code#what-are-wix-app-collections) created by a Wix app when it is installed. This type of collection can be modified dynamically by that app (for example, Wix Forms). */
35
- CollectionType["WIX_APP"] = "WIX_APP";
36
- /** Collection created by a Wix Blocks app. */
37
- CollectionType["BLOCKS_APP"] = "BLOCKS_APP";
38
- /** Collection located in externally connected storage. */
39
- CollectionType["EXTERNAL"] = "EXTERNAL";
40
- })(CollectionType || (exports.CollectionType = CollectionType = {}));
41
- var Direction;
42
- (function (Direction) {
43
- Direction["ASC"] = "ASC";
44
- Direction["DESC"] = "DESC";
45
- })(Direction || (exports.Direction = Direction = {}));
46
- var DataOperation;
47
- (function (DataOperation) {
48
- DataOperation["AGGREGATE"] = "AGGREGATE";
49
- DataOperation["BULK_INSERT"] = "BULK_INSERT";
50
- DataOperation["BULK_REMOVE"] = "BULK_REMOVE";
51
- DataOperation["BULK_SAVE"] = "BULK_SAVE";
52
- DataOperation["BULK_UPDATE"] = "BULK_UPDATE";
53
- DataOperation["COUNT"] = "COUNT";
54
- DataOperation["DISTINCT"] = "DISTINCT";
55
- DataOperation["FIND"] = "FIND";
56
- DataOperation["GET"] = "GET";
57
- DataOperation["INSERT"] = "INSERT";
58
- DataOperation["INSERT_REFERENCE"] = "INSERT_REFERENCE";
59
- DataOperation["IS_REFERENCED"] = "IS_REFERENCED";
60
- DataOperation["QUERY_REFERENCED"] = "QUERY_REFERENCED";
61
- DataOperation["REMOVE"] = "REMOVE";
62
- DataOperation["REMOVE_REFERENCE"] = "REMOVE_REFERENCE";
63
- DataOperation["REPLACE_REFERENCES"] = "REPLACE_REFERENCES";
64
- DataOperation["SAVE"] = "SAVE";
65
- DataOperation["TRUNCATE"] = "TRUNCATE";
66
- DataOperation["UPDATE"] = "UPDATE";
67
- DataOperation["PATCH"] = "PATCH";
68
- DataOperation["BULK_PATCH"] = "BULK_PATCH";
69
- })(DataOperation || (exports.DataOperation = DataOperation = {}));
70
- var CollectionOperation;
71
- (function (CollectionOperation) {
72
- /** Allows updating the collection's structure, for example adding, updating, or deleting fields. If not included, the collection's structure can't be changed. */
73
- CollectionOperation["UPDATE"] = "UPDATE";
74
- /** Allows deleting the entire collection. If not included, the collection can't be deleted. */
75
- CollectionOperation["REMOVE"] = "REMOVE";
76
- })(CollectionOperation || (exports.CollectionOperation = CollectionOperation = {}));
77
- var Type;
78
- (function (Type) {
79
- Type["UNKNOWN_FIELD_TYPE"] = "UNKNOWN_FIELD_TYPE";
80
- /** Plain-text string. */
81
- Type["TEXT"] = "TEXT";
82
- /** Number. */
83
- Type["NUMBER"] = "NUMBER";
84
- /** Date string in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format: `YYYY-MM-DD`. */
85
- Type["DATE"] = "DATE";
86
- /** [JavaScript Date object](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date) ([SDK](https://dev.wix.com/docs/sdk/backend-modules/data/data-types-in-wix-data)) or an object in the following format: `"someFieldKey": { "$date": "YYYY-MM-DDTHH:mm:ss.sssZ"}` ([REST](https://dev.wix.com/docs/rest/business-solutions/cms/data-types-in-wix-data)). */
87
- Type["DATETIME"] = "DATETIME";
88
- /** Web URL or a [Media Manager](https://dev.wix.com/docs/rest/assets/media/media-manager/introduction) URL. */
89
- Type["IMAGE"] = "IMAGE";
90
- /** Boolean `true` or `false` value. */
91
- Type["BOOLEAN"] = "BOOLEAN";
92
- /** Web URL or a [Media Manager](https://dev.wix.com/docs/rest/assets/media/media-manager/introduction) URL. */
93
- Type["DOCUMENT"] = "DOCUMENT";
94
- /** URL in one of the following formats: `http://`, `https://`, `ftp://`, `mailto:`, `sms:`, `tel:`. */
95
- Type["URL"] = "URL";
96
- /** [Rich-text](https://dev.wix.com/docs/rest/articles/getting-started/rich-text) string that may contain a subset of HTML tags. */
97
- Type["RICH_TEXT"] = "RICH_TEXT";
98
- /** Web URL or a [Media Manager](https://dev.wix.com/docs/rest/assets/media/media-manager/introduction) URL. */
99
- Type["VIDEO"] = "VIDEO";
100
- /** Any field type. */
101
- Type["ANY"] = "ANY";
102
- /** Array of strings. */
103
- Type["ARRAY_STRING"] = "ARRAY_STRING";
104
- /** Array of documents: web or [Media Manager](https://dev.wix.com/docs/rest/assets/media/media-manager/introduction) URLs. */
105
- Type["ARRAY_DOCUMENT"] = "ARRAY_DOCUMENT";
106
- /** Web URL or a [Media Manager](https://dev.wix.com/docs/rest/assets/media/media-manager/introduction) URL. */
107
- Type["AUDIO"] = "AUDIO";
108
- /** Time string in `hh:mm:ss.SSS` format. */
109
- Type["TIME"] = "TIME";
110
- /** Language codes in [ISO 639-1](https://en.wikipedia.org/wiki/List_of_ISO_639_language_codes) format. These may include country codes in [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2#officially_assigned_code_elements) format. */
111
- Type["LANGUAGE"] = "LANGUAGE";
112
- /** [Rich content](https://dev.wix.com/docs/ricos/getting-started/introduction). */
113
- Type["RICH_CONTENT"] = "RICH_CONTENT";
114
- /** Array of web or [Media Manager](https://dev.wix.com/docs/rest/assets/media/media-manager/introduction) URLs. */
115
- Type["MEDIA_GALLERY"] = "MEDIA_GALLERY";
116
- /** Physical address object ([SDK](https://dev.wix.com/docs/sdk/backend-modules/data/data-types-in-wix-data#address-object) | [REST](https://dev.wix.com/docs/rest/business-solutions/cms/data-types-in-wix-data#address-object)). */
117
- Type["ADDRESS"] = "ADDRESS";
118
- /** [Dynamic page link](https://support.wix.com/en/article/cms-linking-to-dynamic-pages). */
119
- Type["PAGE_LINK"] = "PAGE_LINK";
120
- /** Reference to another item in another collection. See Query Referenced Data Items ([SDK](https://dev.wix.com/docs/sdk/backend-modules/data/items/query-referenced) | [REST](https://dev.wix.com/docs/rest/business-solutions/cms/data-items/query-referenced-data-items)) to learn about item references. */
121
- Type["REFERENCE"] = "REFERENCE";
122
- /** References to multiple items in another collection. See Query Referenced Data Items ([SDK](https://dev.wix.com/docs/sdk/backend-modules/data/items/query-referenced) | [REST](https://dev.wix.com/docs/rest/business-solutions/cms/data-items/query-referenced-data-items)) to learn about item references. */
123
- Type["MULTI_REFERENCE"] = "MULTI_REFERENCE";
124
- /** JSON object. */
125
- Type["OBJECT"] = "OBJECT";
126
- /** Array. */
127
- Type["ARRAY"] = "ARRAY";
128
- /** Deprecated type that might appear in legacy collections. */
129
- Type["LEGACY_TIME"] = "LEGACY_TIME";
130
- /** Deprecated type that might appear in legacy collections. */
131
- Type["LEGACY_BOOK"] = "LEGACY_BOOK";
132
- /** Deprecated type that might appear in legacy collections. */
133
- Type["LEGACY_EXTERNAL_URL"] = "LEGACY_EXTERNAL_URL";
134
- /** Deprecated type that might appear in legacy collections. */
135
- Type["LEGACY_BROKEN_REFERENCE"] = "LEGACY_BROKEN_REFERENCE";
136
- /** Deprecated type that might appear in legacy collections. */
137
- Type["LEGACY_IMAGE"] = "LEGACY_IMAGE";
138
- /** Deprecated type that might appear in legacy collections. */
139
- Type["LEGACY_COLOR"] = "LEGACY_COLOR";
140
- /** Deprecated type that might appear in legacy collections. */
141
- Type["LEGACY_EXTERNAL_VIDEO"] = "LEGACY_EXTERNAL_VIDEO";
142
- })(Type || (exports.Type = Type = {}));
143
- var QueryOperator;
144
- (function (QueryOperator) {
145
- QueryOperator["EQ"] = "EQ";
146
- QueryOperator["LT"] = "LT";
147
- QueryOperator["GT"] = "GT";
148
- QueryOperator["NE"] = "NE";
149
- QueryOperator["LTE"] = "LTE";
150
- QueryOperator["GTE"] = "GTE";
151
- QueryOperator["STARTS_WITH"] = "STARTS_WITH";
152
- QueryOperator["ENDS_WITH"] = "ENDS_WITH";
153
- QueryOperator["CONTAINS"] = "CONTAINS";
154
- QueryOperator["HAS_SOME"] = "HAS_SOME";
155
- QueryOperator["HAS_ALL"] = "HAS_ALL";
156
- QueryOperator["EXISTS"] = "EXISTS";
157
- QueryOperator["URLIZED"] = "URLIZED";
158
- })(QueryOperator || (exports.QueryOperator = QueryOperator = {}));
159
- var FieldPluginType;
160
- (function (FieldPluginType) {
161
- /** Uknown plugin type. */
162
- FieldPluginType["UNKNOWN"] = "UNKNOWN";
163
- /** CMS-related field attributes */
164
- FieldPluginType["CMS"] = "CMS";
165
- })(FieldPluginType || (exports.FieldPluginType = FieldPluginType = {}));
166
- var Role;
167
- (function (Role) {
168
- /** Unknown role. */
169
- Role["UNKNOWN_ROLE"] = "UNKNOWN_ROLE";
170
- /** Site administrator. */
171
- Role["ADMIN"] = "ADMIN";
172
- /** Signed-in user who added content to this collection. */
173
- Role["SITE_MEMBER_AUTHOR"] = "SITE_MEMBER_AUTHOR";
174
- /** Any signed-in user. */
175
- Role["SITE_MEMBER"] = "SITE_MEMBER";
176
- /** Any site visitor. */
177
- Role["ANYONE"] = "ANYONE";
178
- })(Role || (exports.Role = Role = {}));
179
- var Status;
180
- (function (Status) {
181
- Status["UNKNOWN_PUBLISH_PLUGIN_STATUS"] = "UNKNOWN_PUBLISH_PLUGIN_STATUS";
182
- Status["PUBLISHED"] = "PUBLISHED";
183
- Status["DRAFT"] = "DRAFT";
184
- })(Status || (exports.Status = Status = {}));
185
- var Format;
186
- (function (Format) {
187
- Format["UNKNOWN_URLIZED_PLUGIN_FORMAT"] = "UNKNOWN_URLIZED_PLUGIN_FORMAT";
188
- /** Letters are converted to lower case and spaces are replaced with dashes before generating the encoded URL. */
189
- Format["ORIGINAL"] = "ORIGINAL";
190
- /** No changes are made before generating the encoded URL. */
191
- Format["PLAIN"] = "PLAIN";
192
- })(Format || (exports.Format = Format = {}));
193
- var PluginType;
194
- (function (PluginType) {
195
- /** Unknown plugin type. */
196
- PluginType["UNKNOWN_PLUGIN_TYPE"] = "UNKNOWN_PLUGIN_TYPE";
197
- /** Allows items to be marked as either draft or published. For each item you can set a publishing time when the item will become visible to site visitors. */
198
- PluginType["PUBLISH"] = "PUBLISH";
199
- /** Ensures the collection can have one item at most. Can only be applied to a new collection. */
200
- PluginType["SINGLE_ITEM"] = "SINGLE_ITEM";
201
- /** Generates item URLs for collections used by dynamic pages. */
202
- PluginType["URLIZED"] = "URLIZED";
203
- /** Deprecated. Will be removed in the future. */
204
- PluginType["GRIDAPPLESS"] = "GRIDAPPLESS";
205
- /** Indicates that the collection is translatable. This allows you to manage translation for selected fields using [Wix Multilingual](https://www.wix.com/app-market/wix-multilingual). */
206
- PluginType["MULTILINGUAL"] = "MULTILINGUAL";
207
- /** Indicates that collection is shared with current site. */
208
- PluginType["SHARED"] = "SHARED";
209
- /** Indicates that page link fields are persisted and can be updated. */
210
- PluginType["EDITABLE_PAGE_LINK"] = "EDITABLE_PAGE_LINK";
211
- /** CMS-specific collection properties. */
212
- PluginType["CMS"] = "CMS";
213
- })(PluginType || (exports.PluginType = PluginType = {}));
214
- var PagingMode;
215
- (function (PagingMode) {
216
- /** Offset-based paging. */
217
- PagingMode["OFFSET"] = "OFFSET";
218
- /** Cursor-based paging. */
219
- PagingMode["CURSOR"] = "CURSOR";
220
- })(PagingMode || (exports.PagingMode = PagingMode = {}));
221
- /**
222
- * Describes who can perform certain action.
223
- * Each level includes all levels below it (except UNDEFINED).
224
- */
225
- var AccessLevel;
226
- (function (AccessLevel) {
227
- /** Not set. */
228
- AccessLevel["UNDEFINED"] = "UNDEFINED";
229
- /** Any subject, including visitors. */
230
- AccessLevel["ANYONE"] = "ANYONE";
231
- /** Any signed-in user (both site members and collaborators). */
232
- AccessLevel["SITE_MEMBER"] = "SITE_MEMBER";
233
- /** Any signed-in user, but site members only have access to own items. */
234
- AccessLevel["SITE_MEMBER_AUTHOR"] = "SITE_MEMBER_AUTHOR";
235
- /** Site collaborator that has a role with CMS Access permission. */
236
- AccessLevel["CMS_EDITOR"] = "CMS_EDITOR";
237
- /** CMS administrators and users or roles granted with special access. */
238
- AccessLevel["PRIVILEGED"] = "PRIVILEGED";
239
- })(AccessLevel || (exports.AccessLevel = AccessLevel = {}));
240
- var Segment;
241
- (function (Segment) {
242
- Segment["UNKNOWN_SEGMENT"] = "UNKNOWN_SEGMENT";
243
- Segment["PUBLIC"] = "PUBLIC";
244
- Segment["DEV"] = "DEV";
245
- })(Segment || (exports.Segment = Segment = {}));
246
- var SortOrder;
247
- (function (SortOrder) {
248
- SortOrder["ASC"] = "ASC";
249
- SortOrder["DESC"] = "DESC";
250
- })(SortOrder || (exports.SortOrder = SortOrder = {}));
251
- /**
252
- * Order determines how values are ordered in the index. This is important when
253
- * ordering and/or range querying by indexed fields.
254
- */
255
- var Order;
256
- (function (Order) {
257
- Order["ASC"] = "ASC";
258
- Order["DESC"] = "DESC";
259
- })(Order || (exports.Order = Order = {}));
260
- var IndexStatus;
261
- (function (IndexStatus) {
262
- /** Place holder. Never returned by the service. */
263
- IndexStatus["UNKNOWN"] = "UNKNOWN";
264
- /** Index creation is in progress. */
265
- IndexStatus["BUILDING"] = "BUILDING";
266
- /** Index has been successfully created and can be used in queries. */
267
- IndexStatus["ACTIVE"] = "ACTIVE";
268
- /** Index is in the process of being dropped. */
269
- IndexStatus["DROPPING"] = "DROPPING";
270
- /** Index has been dropped successfully. */
271
- IndexStatus["DROPPED"] = "DROPPED";
272
- /** Index creation has failed. */
273
- IndexStatus["FAILED"] = "FAILED";
274
- /** Index contains incorrectly indexed data. */
275
- IndexStatus["INVALID"] = "INVALID";
276
- })(IndexStatus || (exports.IndexStatus = IndexStatus = {}));
277
- var IndexSource;
278
- (function (IndexSource) {
279
- /** Place holder. Never returned by the service. */
280
- IndexSource["UNKNOWN_INDEX_SOURCE"] = "UNKNOWN_INDEX_SOURCE";
281
- /** Index is created by the system, present for all collections. */
282
- IndexSource["SYSTEM"] = "SYSTEM";
283
- /** Index was created by a user via API or UI. */
284
- IndexSource["USER"] = "USER";
285
- /** Index is created automatically by the system based on user queries. */
286
- IndexSource["AUTO"] = "AUTO";
287
- })(IndexSource || (exports.IndexSource = IndexSource = {}));
288
- var WebhookIdentityType;
289
- (function (WebhookIdentityType) {
290
- WebhookIdentityType["UNKNOWN"] = "UNKNOWN";
291
- WebhookIdentityType["ANONYMOUS_VISITOR"] = "ANONYMOUS_VISITOR";
292
- WebhookIdentityType["MEMBER"] = "MEMBER";
293
- WebhookIdentityType["WIX_USER"] = "WIX_USER";
294
- WebhookIdentityType["APP"] = "APP";
295
- })(WebhookIdentityType || (exports.WebhookIdentityType = WebhookIdentityType = {}));
296
- /**
297
- * Creates a new data collection.
298
- *
299
- * The request body must include an ID, details for at least 1 field, and a permissions object. If any of these are missing, the collection isn't created.
300
- * @param collection - Collection details.
301
- * @public
302
- * @requiredField collection
303
- * @requiredField collection._id
304
- * @requiredField collection.fields.key
305
- * @requiredField collection.fields.type
306
- * @requiredField collection.permissions.insert
307
- * @requiredField collection.permissions.read
308
- * @requiredField collection.permissions.remove
309
- * @requiredField collection.permissions.update
310
- * @param options - Options for creating a data collection.
311
- * @permissionId WIX_DATA.CREATE_COLLECTION
312
- * @permissionScope Manage All Data Resources
313
- * @permissionScopeId SCOPE.DC-DATA.MANAGE-ALL
314
- * @permissionScope Manage Data Collections
315
- * @permissionScopeId SCOPE.DC-DATA.DATA-COLLECTIONS-MANAGE
316
- * @applicableIdentity APP
317
- * @returns Details of collection created.
318
- * @fqn com.wixpress.cloud.data.api.collectionservice.DataCollectionService.CreateDataCollection
319
- */
320
- async function createDataCollection(collection) {
321
- // @ts-ignore
322
- const { httpClient, sideEffects } = arguments[1];
323
- const payload = (0, rename_all_nested_keys_1.renameKeysFromSDKRequestToRESTRequest)({
324
- collection: collection,
325
- });
326
- const reqOpts = ambassadorWixDataV2DataCollection.createDataCollection(payload);
327
- sideEffects?.onSiteCall?.();
328
- try {
329
- const result = await httpClient.request(reqOpts);
330
- sideEffects?.onSuccess?.(result);
331
- return (0, rename_all_nested_keys_1.renameKeysFromRESTResponseToSDKResponse)(result.data)?.collection;
332
- }
333
- catch (err) {
334
- const transformedError = (0, transform_error_1.transformError)(err, {
335
- spreadPathsToArguments: {},
336
- explicitPathsToArguments: { collection: '$[0]' },
337
- singleArgumentUnchanged: false,
338
- }, ['collection']);
339
- sideEffects?.onError?.(err);
340
- throw transformedError;
341
- }
342
- }
343
- exports.createDataCollection = createDataCollection;
344
- /**
345
- * Retrieves a data collection by ID.
346
- * @param dataCollectionId - ID of the collection to retrieve.
347
- * @public
348
- * @requiredField dataCollectionId
349
- * @param options - Options for retrieving a data collection.
350
- * @permissionId WIX_DATA.GET_COLLECTION
351
- * @permissionScope Manage All Data Resources
352
- * @permissionScopeId SCOPE.DC-DATA.MANAGE-ALL
353
- * @permissionScope Manage Data Collections
354
- * @permissionScopeId SCOPE.DC-DATA.DATA-COLLECTIONS-MANAGE
355
- * @applicableIdentity APP
356
- * @applicableIdentity VISITOR
357
- * @returns Details of the collection requested.
358
- * @fqn com.wixpress.cloud.data.api.collectionservice.DataCollectionService.GetDataCollection
359
- */
360
- async function getDataCollection(dataCollectionId, options) {
361
- // @ts-ignore
362
- const { httpClient, sideEffects } = arguments[2];
363
- const payload = (0, rename_all_nested_keys_1.renameKeysFromSDKRequestToRESTRequest)({
364
- dataCollectionId: dataCollectionId,
365
- consistentRead: options?.consistentRead,
366
- fields: options?.fields,
367
- });
368
- const reqOpts = ambassadorWixDataV2DataCollection.getDataCollection(payload);
369
- sideEffects?.onSiteCall?.();
370
- try {
371
- const result = await httpClient.request(reqOpts);
372
- sideEffects?.onSuccess?.(result);
373
- return (0, rename_all_nested_keys_1.renameKeysFromRESTResponseToSDKResponse)(result.data)?.collection;
374
- }
375
- catch (err) {
376
- const transformedError = (0, transform_error_1.transformError)(err, {
377
- spreadPathsToArguments: {},
378
- explicitPathsToArguments: {
379
- dataCollectionId: '$[0]',
380
- consistentRead: '$[1].consistentRead',
381
- fields: '$[1].fields',
382
- },
383
- singleArgumentUnchanged: false,
384
- }, ['dataCollectionId', 'options']);
385
- sideEffects?.onError?.(err);
386
- throw transformedError;
387
- }
388
- }
389
- exports.getDataCollection = getDataCollection;
390
- /**
391
- * Retrieves a list of all data collections associated with the site or project.
392
- *
393
- * By default, the list is ordered by ID in ascending order.
394
- * @public
395
- * @param options - Options for retrieving a list of data collections.
396
- * @permissionId WIX_DATA.LIST_COLLECTIONS
397
- * @permissionScope Manage All Data Resources
398
- * @permissionScopeId SCOPE.DC-DATA.MANAGE-ALL
399
- * @permissionScope Manage Data Collections
400
- * @permissionScopeId SCOPE.DC-DATA.DATA-COLLECTIONS-MANAGE
401
- * @applicableIdentity APP
402
- * @fqn com.wixpress.cloud.data.api.collectionservice.DataCollectionService.ListDataCollections
403
- */
404
- async function listDataCollections(options) {
405
- // @ts-ignore
406
- const { httpClient, sideEffects } = arguments[1];
407
- const payload = (0, rename_all_nested_keys_1.renameKeysFromSDKRequestToRESTRequest)({
408
- sort: options?.sort,
409
- paging: options?.paging,
410
- consistentRead: options?.consistentRead,
411
- fields: options?.fields,
412
- });
413
- const reqOpts = ambassadorWixDataV2DataCollection.listDataCollections(payload);
414
- sideEffects?.onSiteCall?.();
415
- try {
416
- const result = await httpClient.request(reqOpts);
417
- sideEffects?.onSuccess?.(result);
418
- return (0, rename_all_nested_keys_1.renameKeysFromRESTResponseToSDKResponse)(result.data);
419
- }
420
- catch (err) {
421
- const transformedError = (0, transform_error_1.transformError)(err, {
422
- spreadPathsToArguments: {},
423
- explicitPathsToArguments: {
424
- sort: '$[0].sort',
425
- paging: '$[0].paging',
426
- consistentRead: '$[0].consistentRead',
427
- fields: '$[0].fields',
428
- },
429
- singleArgumentUnchanged: false,
430
- }, ['options']);
431
- sideEffects?.onError?.(err);
432
- throw transformedError;
433
- }
434
- }
435
- exports.listDataCollections = listDataCollections;
436
- /**
437
- * Updates a data collection.
438
- *
439
- * A collection ID, revision number, permissions, and at least 1 field must be provided within the `collection` body parameter.
440
- * If a collection with that ID exists, and if its current `revision` number matches the one provided, it is updated.
441
- * Otherwise, the request fails.
442
- *
443
- * When a collection is updated, its `updatedDate` property is changed to the current date and its `revision` property is incremented.
444
- *
445
- * > **Note:**
446
- * > After a collection is updated, it only contains the properties included in the Update Data Collection request. If the existing collection has properties with values and those properties
447
- * > aren't included in the updated collection details, their values are lost.
448
- * @param collection - Updated collection details. The existing collection is replaced with this version.
449
- * @public
450
- * @requiredField collection
451
- * @requiredField collection._id
452
- * @requiredField collection.fields.key
453
- * @requiredField collection.fields.type
454
- * @requiredField collection.permissions.insert
455
- * @requiredField collection.permissions.read
456
- * @requiredField collection.permissions.remove
457
- * @requiredField collection.permissions.update
458
- * @requiredField collection.revision
459
- * @param options - Options for updating a data collection.
460
- * @permissionId WIX_DATA.UPDATE_COLLECTION
461
- * @permissionScope Manage All Data Resources
462
- * @permissionScopeId SCOPE.DC-DATA.MANAGE-ALL
463
- * @permissionScope Manage Data Collections
464
- * @permissionScopeId SCOPE.DC-DATA.DATA-COLLECTIONS-MANAGE
465
- * @applicableIdentity APP
466
- * @returns Updated collection details.
467
- * @fqn com.wixpress.cloud.data.api.collectionservice.DataCollectionService.UpdateDataCollection
468
- */
469
- async function updateDataCollection(collection) {
470
- // @ts-ignore
471
- const { httpClient, sideEffects } = arguments[1];
472
- const payload = (0, rename_all_nested_keys_1.renameKeysFromSDKRequestToRESTRequest)({
473
- collection: collection,
474
- });
475
- const reqOpts = ambassadorWixDataV2DataCollection.updateDataCollection(payload);
476
- sideEffects?.onSiteCall?.();
477
- try {
478
- const result = await httpClient.request(reqOpts);
479
- sideEffects?.onSuccess?.(result);
480
- return (0, rename_all_nested_keys_1.renameKeysFromRESTResponseToSDKResponse)(result.data)?.collection;
481
- }
482
- catch (err) {
483
- const transformedError = (0, transform_error_1.transformError)(err, {
484
- spreadPathsToArguments: {},
485
- explicitPathsToArguments: { collection: '$[0]' },
486
- singleArgumentUnchanged: false,
487
- }, ['collection']);
488
- sideEffects?.onError?.(err);
489
- throw transformedError;
490
- }
491
- }
492
- exports.updateDataCollection = updateDataCollection;
493
- /**
494
- * Deletes a data collection.
495
- *
496
- * > **Note:**
497
- * > Once a collection is deleted, it can only be restored for limited amount of time.
498
- * @param dataCollectionId - ID of the collection to delete.
499
- * @public
500
- * @requiredField dataCollectionId
501
- * @permissionId WIX_DATA.DELETE_COLLECTION
502
- * @permissionScope Manage All Data Resources
503
- * @permissionScopeId SCOPE.DC-DATA.MANAGE-ALL
504
- * @permissionScope Manage Data Collections
505
- * @permissionScopeId SCOPE.DC-DATA.DATA-COLLECTIONS-MANAGE
506
- * @applicableIdentity APP
507
- * @fqn com.wixpress.cloud.data.api.collectionservice.DataCollectionService.DeleteDataCollection
508
- */
509
- async function deleteDataCollection(dataCollectionId) {
510
- // @ts-ignore
511
- const { httpClient, sideEffects } = arguments[1];
512
- const payload = (0, rename_all_nested_keys_1.renameKeysFromSDKRequestToRESTRequest)({
513
- dataCollectionId: dataCollectionId,
514
- });
515
- const reqOpts = ambassadorWixDataV2DataCollection.deleteDataCollection(payload);
516
- sideEffects?.onSiteCall?.();
517
- try {
518
- const result = await httpClient.request(reqOpts);
519
- sideEffects?.onSuccess?.(result);
520
- }
521
- catch (err) {
522
- const transformedError = (0, transform_error_1.transformError)(err, {
523
- spreadPathsToArguments: {},
524
- explicitPathsToArguments: { dataCollectionId: '$[0]' },
525
- singleArgumentUnchanged: false,
526
- }, ['dataCollectionId']);
527
- sideEffects?.onError?.(err);
528
- throw transformedError;
529
- }
530
- }
531
- exports.deleteDataCollection = deleteDataCollection;
532
- /**
533
- * Restores recently deleted collection.
534
- *
535
- * Fails with `WDE0025` if collection was deleted too long ago or has never existed.
536
- * @param dataCollectionId - Data Collection ID to restore
537
- * @internal
538
- * @documentationMaturity preview
539
- * @requiredField dataCollectionId
540
- * @permissionId WIX_DATA.CREATE_COLLECTION
541
- * @permissionScope Manage All Data Resources
542
- * @permissionScopeId SCOPE.DC-DATA.MANAGE-ALL
543
- * @permissionScope Manage Data Collections
544
- * @permissionScopeId SCOPE.DC-DATA.DATA-COLLECTIONS-MANAGE
545
- * @applicableIdentity APP
546
- * @fqn com.wixpress.cloud.data.api.collectionservice.DataCollectionService.RestoreDataCollection
547
- */
548
- async function restoreDataCollection(dataCollectionId) {
549
- // @ts-ignore
550
- const { httpClient, sideEffects } = arguments[1];
551
- const payload = (0, rename_all_nested_keys_1.renameKeysFromSDKRequestToRESTRequest)({
552
- dataCollectionId: dataCollectionId,
553
- });
554
- const reqOpts = ambassadorWixDataV2DataCollection.restoreDataCollection(payload);
555
- sideEffects?.onSiteCall?.();
556
- try {
557
- const result = await httpClient.request(reqOpts);
558
- sideEffects?.onSuccess?.(result);
559
- return (0, rename_all_nested_keys_1.renameKeysFromRESTResponseToSDKResponse)(result.data);
560
- }
561
- catch (err) {
562
- const transformedError = (0, transform_error_1.transformError)(err, {
563
- spreadPathsToArguments: {},
564
- explicitPathsToArguments: { dataCollectionId: '$[0]' },
565
- singleArgumentUnchanged: false,
566
- }, ['dataCollectionId']);
567
- sideEffects?.onError?.(err);
568
- throw transformedError;
569
- }
570
- }
571
- exports.restoreDataCollection = restoreDataCollection;
572
- /**
573
- * Adds new field to data collection schema
574
- * @param dataCollectionId - ID of data collection to update
575
- * @internal
576
- * @documentationMaturity preview
577
- * @requiredField dataCollectionId
578
- * @requiredField options
579
- * @requiredField options.field
580
- * @permissionId WIX_DATA.CREATE_COLLECTION_FIELD
581
- * @permissionScope Manage All Data Resources
582
- * @permissionScopeId SCOPE.DC-DATA.MANAGE-ALL
583
- * @permissionScope Manage Data Collections
584
- * @permissionScopeId SCOPE.DC-DATA.DATA-COLLECTIONS-MANAGE
585
- * @applicableIdentity APP
586
- * @fqn com.wixpress.cloud.data.api.collectionservice.DataCollectionService.CreateDataCollectionField
587
- */
588
- async function createDataCollectionField(dataCollectionId, options) {
589
- // @ts-ignore
590
- const { httpClient, sideEffects } = arguments[2];
591
- const payload = (0, rename_all_nested_keys_1.renameKeysFromSDKRequestToRESTRequest)({
592
- dataCollectionId: dataCollectionId,
593
- field: options?.field,
594
- });
595
- const reqOpts = ambassadorWixDataV2DataCollection.createDataCollectionField(payload);
596
- sideEffects?.onSiteCall?.();
597
- try {
598
- const result = await httpClient.request(reqOpts);
599
- sideEffects?.onSuccess?.(result);
600
- return (0, rename_all_nested_keys_1.renameKeysFromRESTResponseToSDKResponse)(result.data);
601
- }
602
- catch (err) {
603
- const transformedError = (0, transform_error_1.transformError)(err, {
604
- spreadPathsToArguments: {},
605
- explicitPathsToArguments: {
606
- dataCollectionId: '$[0]',
607
- field: '$[1].field',
608
- },
609
- singleArgumentUnchanged: false,
610
- }, ['dataCollectionId', 'options']);
611
- sideEffects?.onError?.(err);
612
- throw transformedError;
613
- }
614
- }
615
- exports.createDataCollectionField = createDataCollectionField;
616
- /**
617
- * Updates data collection field
618
- * @param dataCollectionId - ID of data collection to update
619
- * @internal
620
- * @documentationMaturity preview
621
- * @requiredField dataCollectionId
622
- * @requiredField options
623
- * @requiredField options.field
624
- * @permissionId WIX_DATA.UPDATE_COLLECTION_FIELD
625
- * @permissionScope Manage All Data Resources
626
- * @permissionScopeId SCOPE.DC-DATA.MANAGE-ALL
627
- * @permissionScope Manage Data Collections
628
- * @permissionScopeId SCOPE.DC-DATA.DATA-COLLECTIONS-MANAGE
629
- * @applicableIdentity APP
630
- * @fqn com.wixpress.cloud.data.api.collectionservice.DataCollectionService.UpdateDataCollectionField
631
- */
632
- async function updateDataCollectionField(dataCollectionId, options) {
633
- // @ts-ignore
634
- const { httpClient, sideEffects } = arguments[2];
635
- const payload = (0, rename_all_nested_keys_1.renameKeysFromSDKRequestToRESTRequest)({
636
- dataCollectionId: dataCollectionId,
637
- field: options?.field,
638
- });
639
- const reqOpts = ambassadorWixDataV2DataCollection.updateDataCollectionField(payload);
640
- sideEffects?.onSiteCall?.();
641
- try {
642
- const result = await httpClient.request(reqOpts);
643
- sideEffects?.onSuccess?.(result);
644
- return (0, rename_all_nested_keys_1.renameKeysFromRESTResponseToSDKResponse)(result.data);
645
- }
646
- catch (err) {
647
- const transformedError = (0, transform_error_1.transformError)(err, {
648
- spreadPathsToArguments: {},
649
- explicitPathsToArguments: {
650
- dataCollectionId: '$[0]',
651
- field: '$[1].field',
652
- },
653
- singleArgumentUnchanged: false,
654
- }, ['dataCollectionId', 'options']);
655
- sideEffects?.onError?.(err);
656
- throw transformedError;
657
- }
658
- }
659
- exports.updateDataCollectionField = updateDataCollectionField;
660
- /**
661
- * Deletes data collection field
662
- * @param dataCollectionId - ID of data collection to update
663
- * @internal
664
- * @documentationMaturity preview
665
- * @requiredField dataCollectionId
666
- * @requiredField options
667
- * @requiredField options.fieldKey
668
- * @permissionId WIX_DATA.DELETE_COLLECTION_FIELD
669
- * @permissionScope Manage All Data Resources
670
- * @permissionScopeId SCOPE.DC-DATA.MANAGE-ALL
671
- * @permissionScope Manage Data Collections
672
- * @permissionScopeId SCOPE.DC-DATA.DATA-COLLECTIONS-MANAGE
673
- * @applicableIdentity APP
674
- * @fqn com.wixpress.cloud.data.api.collectionservice.DataCollectionService.DeleteDataCollectionField
675
- */
676
- async function deleteDataCollectionField(dataCollectionId, options) {
677
- // @ts-ignore
678
- const { httpClient, sideEffects } = arguments[2];
679
- const payload = (0, rename_all_nested_keys_1.renameKeysFromSDKRequestToRESTRequest)({
680
- dataCollectionId: dataCollectionId,
681
- fieldKey: options?.fieldKey,
682
- });
683
- const reqOpts = ambassadorWixDataV2DataCollection.deleteDataCollectionField(payload);
684
- sideEffects?.onSiteCall?.();
685
- try {
686
- const result = await httpClient.request(reqOpts);
687
- sideEffects?.onSuccess?.(result);
688
- return (0, rename_all_nested_keys_1.renameKeysFromRESTResponseToSDKResponse)(result.data);
689
- }
690
- catch (err) {
691
- const transformedError = (0, transform_error_1.transformError)(err, {
692
- spreadPathsToArguments: {},
693
- explicitPathsToArguments: {
694
- dataCollectionId: '$[0]',
695
- fieldKey: '$[1].fieldKey',
696
- },
697
- singleArgumentUnchanged: false,
698
- }, ['dataCollectionId', 'options']);
699
- sideEffects?.onError?.(err);
700
- throw transformedError;
701
- }
702
- }
703
- exports.deleteDataCollectionField = deleteDataCollectionField;
704
- //# sourceMappingURL=data-v2-data-collection-collections.universal.js.map