@wix/auto_sdk_widgets_widget-store 1.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (39) hide show
  1. package/build/cjs/index.d.ts +11 -0
  2. package/build/cjs/index.js +609 -0
  3. package/build/cjs/index.js.map +1 -0
  4. package/build/cjs/index.typings.d.ts +750 -0
  5. package/build/cjs/index.typings.js +529 -0
  6. package/build/cjs/index.typings.js.map +1 -0
  7. package/build/cjs/meta.d.ts +531 -0
  8. package/build/cjs/meta.js +420 -0
  9. package/build/cjs/meta.js.map +1 -0
  10. package/build/es/index.d.mts +11 -0
  11. package/build/es/index.mjs +575 -0
  12. package/build/es/index.mjs.map +1 -0
  13. package/build/es/index.typings.d.mts +750 -0
  14. package/build/es/index.typings.mjs +494 -0
  15. package/build/es/index.typings.mjs.map +1 -0
  16. package/build/es/meta.d.mts +531 -0
  17. package/build/es/meta.mjs +384 -0
  18. package/build/es/meta.mjs.map +1 -0
  19. package/build/es/package.json +3 -0
  20. package/build/internal/cjs/index.d.ts +85 -0
  21. package/build/internal/cjs/index.js +609 -0
  22. package/build/internal/cjs/index.js.map +1 -0
  23. package/build/internal/cjs/index.typings.d.ts +831 -0
  24. package/build/internal/cjs/index.typings.js +529 -0
  25. package/build/internal/cjs/index.typings.js.map +1 -0
  26. package/build/internal/cjs/meta.d.ts +531 -0
  27. package/build/internal/cjs/meta.js +420 -0
  28. package/build/internal/cjs/meta.js.map +1 -0
  29. package/build/internal/es/index.d.mts +85 -0
  30. package/build/internal/es/index.mjs +575 -0
  31. package/build/internal/es/index.mjs.map +1 -0
  32. package/build/internal/es/index.typings.d.mts +831 -0
  33. package/build/internal/es/index.typings.mjs +494 -0
  34. package/build/internal/es/index.typings.mjs.map +1 -0
  35. package/build/internal/es/meta.d.mts +531 -0
  36. package/build/internal/es/meta.mjs +384 -0
  37. package/build/internal/es/meta.mjs.map +1 -0
  38. package/meta/package.json +3 -0
  39. package/package.json +55 -0
@@ -0,0 +1,384 @@
1
+ // src/widgets-v1-widget-widget-store.http.ts
2
+ import { toURLSearchParams } from "@wix/sdk-runtime/rest-modules";
3
+ import { transformSDKTimestampToRESTTimestamp } from "@wix/sdk-runtime/transformations/timestamp";
4
+ import { transformRESTTimestampToSDKTimestamp } from "@wix/sdk-runtime/transformations/timestamp";
5
+ import { transformSDKFieldMaskToRESTFieldMask } from "@wix/sdk-runtime/transformations/field-mask";
6
+ import { transformPaths } from "@wix/sdk-runtime/transformations/transform-paths";
7
+ import { resolveUrl } from "@wix/sdk-runtime/rest-modules";
8
+ function resolveWixWidgetsV1WidgetStoreServiceUrl(opts) {
9
+ const domainToMappings = {};
10
+ return resolveUrl(Object.assign(opts, { domainToMappings }));
11
+ }
12
+ var PACKAGE_NAME = "@wix/auto_sdk_widgets_widget-store";
13
+ function createWidget(payload) {
14
+ function __createWidget({ host }) {
15
+ const serializedData = transformPaths(payload, [
16
+ {
17
+ transformFn: transformSDKTimestampToRESTTimestamp,
18
+ paths: [{ path: "widget.createdDate" }, { path: "widget.updatedDate" }]
19
+ }
20
+ ]);
21
+ const metadata = {
22
+ entityFqdn: "wix.widgets.v1.widget",
23
+ method: "POST",
24
+ methodFqn: "wix.widgets.v1.WidgetStoreService.CreateWidget",
25
+ packageName: PACKAGE_NAME,
26
+ migrationOptions: {
27
+ optInTransformResponse: true
28
+ },
29
+ url: resolveWixWidgetsV1WidgetStoreServiceUrl({
30
+ protoPath: "/v1/widgets",
31
+ data: serializedData,
32
+ host
33
+ }),
34
+ data: serializedData,
35
+ transformResponse: (payload2) => transformPaths(payload2, [
36
+ {
37
+ transformFn: transformRESTTimestampToSDKTimestamp,
38
+ paths: [
39
+ { path: "widget.createdDate" },
40
+ { path: "widget.updatedDate" }
41
+ ]
42
+ }
43
+ ])
44
+ };
45
+ return metadata;
46
+ }
47
+ return __createWidget;
48
+ }
49
+ function getWidget(payload) {
50
+ function __getWidget({ host }) {
51
+ const metadata = {
52
+ entityFqdn: "wix.widgets.v1.widget",
53
+ method: "GET",
54
+ methodFqn: "wix.widgets.v1.WidgetStoreService.GetWidget",
55
+ packageName: PACKAGE_NAME,
56
+ migrationOptions: {
57
+ optInTransformResponse: true
58
+ },
59
+ url: resolveWixWidgetsV1WidgetStoreServiceUrl({
60
+ protoPath: "/v1/widgets/{widgetId}",
61
+ data: payload,
62
+ host
63
+ }),
64
+ params: toURLSearchParams(payload),
65
+ transformResponse: (payload2) => transformPaths(payload2, [
66
+ {
67
+ transformFn: transformRESTTimestampToSDKTimestamp,
68
+ paths: [
69
+ { path: "widget.createdDate" },
70
+ { path: "widget.updatedDate" }
71
+ ]
72
+ }
73
+ ])
74
+ };
75
+ return metadata;
76
+ }
77
+ return __getWidget;
78
+ }
79
+ function updateWidget(payload) {
80
+ function __updateWidget({ host }) {
81
+ const serializedData = transformPaths(payload, [
82
+ {
83
+ transformFn: transformSDKFieldMaskToRESTFieldMask,
84
+ paths: [{ path: "fieldMask" }]
85
+ },
86
+ {
87
+ transformFn: transformSDKTimestampToRESTTimestamp,
88
+ paths: [{ path: "widget.createdDate" }, { path: "widget.updatedDate" }]
89
+ }
90
+ ]);
91
+ const metadata = {
92
+ entityFqdn: "wix.widgets.v1.widget",
93
+ method: "PATCH",
94
+ methodFqn: "wix.widgets.v1.WidgetStoreService.UpdateWidget",
95
+ packageName: PACKAGE_NAME,
96
+ migrationOptions: {
97
+ optInTransformResponse: true
98
+ },
99
+ url: resolveWixWidgetsV1WidgetStoreServiceUrl({
100
+ protoPath: "/v1/widgets/{widget.id}",
101
+ data: serializedData,
102
+ host
103
+ }),
104
+ data: serializedData,
105
+ transformResponse: (payload2) => transformPaths(payload2, [
106
+ {
107
+ transformFn: transformRESTTimestampToSDKTimestamp,
108
+ paths: [
109
+ { path: "widget.createdDate" },
110
+ { path: "widget.updatedDate" }
111
+ ]
112
+ }
113
+ ])
114
+ };
115
+ return metadata;
116
+ }
117
+ return __updateWidget;
118
+ }
119
+ function deleteWidget(payload) {
120
+ function __deleteWidget({ host }) {
121
+ const metadata = {
122
+ entityFqdn: "wix.widgets.v1.widget",
123
+ method: "DELETE",
124
+ methodFqn: "wix.widgets.v1.WidgetStoreService.DeleteWidget",
125
+ packageName: PACKAGE_NAME,
126
+ migrationOptions: {
127
+ optInTransformResponse: true
128
+ },
129
+ url: resolveWixWidgetsV1WidgetStoreServiceUrl({
130
+ protoPath: "/v1/widgets/{widgetId}",
131
+ data: payload,
132
+ host
133
+ }),
134
+ params: toURLSearchParams(payload)
135
+ };
136
+ return metadata;
137
+ }
138
+ return __deleteWidget;
139
+ }
140
+ function queryWidgets(payload) {
141
+ function __queryWidgets({ host }) {
142
+ const metadata = {
143
+ entityFqdn: "wix.widgets.v1.widget",
144
+ method: "GET",
145
+ methodFqn: "wix.widgets.v1.WidgetStoreService.QueryWidgets",
146
+ packageName: PACKAGE_NAME,
147
+ migrationOptions: {
148
+ optInTransformResponse: true
149
+ },
150
+ url: resolveWixWidgetsV1WidgetStoreServiceUrl({
151
+ protoPath: "/v1/widgets/query",
152
+ data: payload,
153
+ host
154
+ }),
155
+ params: toURLSearchParams(payload, true),
156
+ transformResponse: (payload2) => transformPaths(payload2, [
157
+ {
158
+ transformFn: transformRESTTimestampToSDKTimestamp,
159
+ paths: [
160
+ { path: "widgets.createdDate" },
161
+ { path: "widgets.updatedDate" }
162
+ ]
163
+ }
164
+ ]),
165
+ fallback: [
166
+ {
167
+ method: "POST",
168
+ url: resolveWixWidgetsV1WidgetStoreServiceUrl({
169
+ protoPath: "/v1/widgets/query",
170
+ data: payload,
171
+ host
172
+ }),
173
+ data: payload
174
+ }
175
+ ]
176
+ };
177
+ return metadata;
178
+ }
179
+ return __queryWidgets;
180
+ }
181
+ function bulkUpdateWidgetTags(payload) {
182
+ function __bulkUpdateWidgetTags({ host }) {
183
+ const metadata = {
184
+ entityFqdn: "wix.widgets.v1.widget",
185
+ method: "POST",
186
+ methodFqn: "wix.widgets.v1.WidgetStoreService.BulkUpdateWidgetTags",
187
+ packageName: PACKAGE_NAME,
188
+ migrationOptions: {
189
+ optInTransformResponse: true
190
+ },
191
+ url: resolveWixWidgetsV1WidgetStoreServiceUrl({
192
+ protoPath: "/v1/bulk/widgets/update-tags",
193
+ data: payload,
194
+ host
195
+ }),
196
+ data: payload
197
+ };
198
+ return metadata;
199
+ }
200
+ return __bulkUpdateWidgetTags;
201
+ }
202
+ function bulkUpdateWidgetTagsByFilter(payload) {
203
+ function __bulkUpdateWidgetTagsByFilter({ host }) {
204
+ const metadata = {
205
+ entityFqdn: "wix.widgets.v1.widget",
206
+ method: "POST",
207
+ methodFqn: "wix.widgets.v1.WidgetStoreService.BulkUpdateWidgetTagsByFilter",
208
+ packageName: PACKAGE_NAME,
209
+ migrationOptions: {
210
+ optInTransformResponse: true
211
+ },
212
+ url: resolveWixWidgetsV1WidgetStoreServiceUrl({
213
+ protoPath: "/v1/bulk/widgets/update-tags-by-filter",
214
+ data: payload,
215
+ host
216
+ }),
217
+ data: payload
218
+ };
219
+ return metadata;
220
+ }
221
+ return __bulkUpdateWidgetTagsByFilter;
222
+ }
223
+
224
+ // src/widgets-v1-widget-widget-store.types.ts
225
+ var WidgetStatus = /* @__PURE__ */ ((WidgetStatus2) => {
226
+ WidgetStatus2["ACTIVE"] = "ACTIVE";
227
+ WidgetStatus2["PAUSED"] = "PAUSED";
228
+ WidgetStatus2["DEPRECATED"] = "DEPRECATED";
229
+ return WidgetStatus2;
230
+ })(WidgetStatus || {});
231
+ var SortOrder = /* @__PURE__ */ ((SortOrder2) => {
232
+ SortOrder2["ASC"] = "ASC";
233
+ SortOrder2["DESC"] = "DESC";
234
+ return SortOrder2;
235
+ })(SortOrder || {});
236
+ var WebhookIdentityType = /* @__PURE__ */ ((WebhookIdentityType2) => {
237
+ WebhookIdentityType2["UNKNOWN"] = "UNKNOWN";
238
+ WebhookIdentityType2["ANONYMOUS_VISITOR"] = "ANONYMOUS_VISITOR";
239
+ WebhookIdentityType2["MEMBER"] = "MEMBER";
240
+ WebhookIdentityType2["WIX_USER"] = "WIX_USER";
241
+ WebhookIdentityType2["APP"] = "APP";
242
+ return WebhookIdentityType2;
243
+ })(WebhookIdentityType || {});
244
+
245
+ // src/widgets-v1-widget-widget-store.meta.ts
246
+ function createWidget2() {
247
+ const payload = {};
248
+ const getRequestOptions = createWidget(payload);
249
+ const getUrl = (context) => {
250
+ const { url } = getRequestOptions(context);
251
+ return url;
252
+ };
253
+ return {
254
+ getUrl,
255
+ httpMethod: "POST",
256
+ path: "/v1/widgets",
257
+ pathParams: {},
258
+ __requestType: null,
259
+ __originalRequestType: null,
260
+ __responseType: null,
261
+ __originalResponseType: null
262
+ };
263
+ }
264
+ function getWidget2() {
265
+ const payload = { widgetId: ":widgetId" };
266
+ const getRequestOptions = getWidget(payload);
267
+ const getUrl = (context) => {
268
+ const { url } = getRequestOptions(context);
269
+ return url;
270
+ };
271
+ return {
272
+ getUrl,
273
+ httpMethod: "GET",
274
+ path: "/v1/widgets/{widgetId}",
275
+ pathParams: { widgetId: "widgetId" },
276
+ __requestType: null,
277
+ __originalRequestType: null,
278
+ __responseType: null,
279
+ __originalResponseType: null
280
+ };
281
+ }
282
+ function updateWidget2() {
283
+ const payload = { widget: { id: ":widgetId" } };
284
+ const getRequestOptions = updateWidget(payload);
285
+ const getUrl = (context) => {
286
+ const { url } = getRequestOptions(context);
287
+ return url;
288
+ };
289
+ return {
290
+ getUrl,
291
+ httpMethod: "PATCH",
292
+ path: "/v1/widgets/{widget.id}",
293
+ pathParams: { widgetId: "widgetId" },
294
+ __requestType: null,
295
+ __originalRequestType: null,
296
+ __responseType: null,
297
+ __originalResponseType: null
298
+ };
299
+ }
300
+ function deleteWidget2() {
301
+ const payload = { widgetId: ":widgetId" };
302
+ const getRequestOptions = deleteWidget(payload);
303
+ const getUrl = (context) => {
304
+ const { url } = getRequestOptions(context);
305
+ return url;
306
+ };
307
+ return {
308
+ getUrl,
309
+ httpMethod: "DELETE",
310
+ path: "/v1/widgets/{widgetId}",
311
+ pathParams: { widgetId: "widgetId" },
312
+ __requestType: null,
313
+ __originalRequestType: null,
314
+ __responseType: null,
315
+ __originalResponseType: null
316
+ };
317
+ }
318
+ function queryWidgets2() {
319
+ const payload = {};
320
+ const getRequestOptions = queryWidgets(payload);
321
+ const getUrl = (context) => {
322
+ const { url } = getRequestOptions(context);
323
+ return url;
324
+ };
325
+ return {
326
+ getUrl,
327
+ httpMethod: "GET",
328
+ path: "/v1/widgets/query",
329
+ pathParams: {},
330
+ __requestType: null,
331
+ __originalRequestType: null,
332
+ __responseType: null,
333
+ __originalResponseType: null
334
+ };
335
+ }
336
+ function bulkUpdateWidgetTags2() {
337
+ const payload = {};
338
+ const getRequestOptions = bulkUpdateWidgetTags(payload);
339
+ const getUrl = (context) => {
340
+ const { url } = getRequestOptions(context);
341
+ return url;
342
+ };
343
+ return {
344
+ getUrl,
345
+ httpMethod: "POST",
346
+ path: "/v1/bulk/widgets/update-tags",
347
+ pathParams: {},
348
+ __requestType: null,
349
+ __originalRequestType: null,
350
+ __responseType: null,
351
+ __originalResponseType: null
352
+ };
353
+ }
354
+ function bulkUpdateWidgetTagsByFilter2() {
355
+ const payload = {};
356
+ const getRequestOptions = bulkUpdateWidgetTagsByFilter(payload);
357
+ const getUrl = (context) => {
358
+ const { url } = getRequestOptions(context);
359
+ return url;
360
+ };
361
+ return {
362
+ getUrl,
363
+ httpMethod: "POST",
364
+ path: "/v1/bulk/widgets/update-tags-by-filter",
365
+ pathParams: {},
366
+ __requestType: null,
367
+ __originalRequestType: null,
368
+ __responseType: null,
369
+ __originalResponseType: null
370
+ };
371
+ }
372
+ export {
373
+ SortOrder as SortOrderOriginal,
374
+ WebhookIdentityType as WebhookIdentityTypeOriginal,
375
+ WidgetStatus as WidgetStatusOriginal,
376
+ bulkUpdateWidgetTags2 as bulkUpdateWidgetTags,
377
+ bulkUpdateWidgetTagsByFilter2 as bulkUpdateWidgetTagsByFilter,
378
+ createWidget2 as createWidget,
379
+ deleteWidget2 as deleteWidget,
380
+ getWidget2 as getWidget,
381
+ queryWidgets2 as queryWidgets,
382
+ updateWidget2 as updateWidget
383
+ };
384
+ //# sourceMappingURL=meta.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../src/widgets-v1-widget-widget-store.http.ts","../../src/widgets-v1-widget-widget-store.types.ts","../../src/widgets-v1-widget-widget-store.meta.ts"],"sourcesContent":["import { toURLSearchParams } from '@wix/sdk-runtime/rest-modules';\nimport { transformSDKTimestampToRESTTimestamp } from '@wix/sdk-runtime/transformations/timestamp';\nimport { transformRESTTimestampToSDKTimestamp } from '@wix/sdk-runtime/transformations/timestamp';\nimport { transformSDKFieldMaskToRESTFieldMask } from '@wix/sdk-runtime/transformations/field-mask';\nimport { transformPaths } from '@wix/sdk-runtime/transformations/transform-paths';\nimport { resolveUrl } from '@wix/sdk-runtime/rest-modules';\nimport { ResolveUrlOpts } from '@wix/sdk-runtime/rest-modules';\nimport { RequestOptionsFactory } from '@wix/sdk-types';\n\nfunction resolveWixWidgetsV1WidgetStoreServiceUrl(\n opts: Omit<ResolveUrlOpts, 'domainToMappings'>\n) {\n const domainToMappings = {};\n\n return resolveUrl(Object.assign(opts, { domainToMappings }));\n}\n\nconst PACKAGE_NAME = '@wix/auto_sdk_widgets_widget-store';\n\n/** Creates a Widget. */\nexport function createWidget(payload: object): RequestOptionsFactory<any> {\n function __createWidget({ host }: any) {\n const serializedData = transformPaths(payload, [\n {\n transformFn: transformSDKTimestampToRESTTimestamp,\n paths: [{ path: 'widget.createdDate' }, { path: 'widget.updatedDate' }],\n },\n ]);\n const metadata = {\n entityFqdn: 'wix.widgets.v1.widget',\n method: 'POST' as any,\n methodFqn: 'wix.widgets.v1.WidgetStoreService.CreateWidget',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveWixWidgetsV1WidgetStoreServiceUrl({\n protoPath: '/v1/widgets',\n data: serializedData,\n host,\n }),\n data: serializedData,\n transformResponse: (payload: any) =>\n transformPaths(payload, [\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: [\n { path: 'widget.createdDate' },\n { path: 'widget.updatedDate' },\n ],\n },\n ]),\n };\n\n return metadata;\n }\n\n return __createWidget;\n}\n\n/** Retrieves a Widget. */\nexport function getWidget(payload: object): RequestOptionsFactory<any> {\n function __getWidget({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.widgets.v1.widget',\n method: 'GET' as any,\n methodFqn: 'wix.widgets.v1.WidgetStoreService.GetWidget',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveWixWidgetsV1WidgetStoreServiceUrl({\n protoPath: '/v1/widgets/{widgetId}',\n data: payload,\n host,\n }),\n params: toURLSearchParams(payload),\n transformResponse: (payload: any) =>\n transformPaths(payload, [\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: [\n { path: 'widget.createdDate' },\n { path: 'widget.updatedDate' },\n ],\n },\n ]),\n };\n\n return metadata;\n }\n\n return __getWidget;\n}\n\n/** Updates a Widget. */\nexport function updateWidget(payload: object): RequestOptionsFactory<any> {\n function __updateWidget({ host }: any) {\n const serializedData = transformPaths(payload, [\n {\n transformFn: transformSDKFieldMaskToRESTFieldMask,\n paths: [{ path: 'fieldMask' }],\n },\n {\n transformFn: transformSDKTimestampToRESTTimestamp,\n paths: [{ path: 'widget.createdDate' }, { path: 'widget.updatedDate' }],\n },\n ]);\n const metadata = {\n entityFqdn: 'wix.widgets.v1.widget',\n method: 'PATCH' as any,\n methodFqn: 'wix.widgets.v1.WidgetStoreService.UpdateWidget',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveWixWidgetsV1WidgetStoreServiceUrl({\n protoPath: '/v1/widgets/{widget.id}',\n data: serializedData,\n host,\n }),\n data: serializedData,\n transformResponse: (payload: any) =>\n transformPaths(payload, [\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: [\n { path: 'widget.createdDate' },\n { path: 'widget.updatedDate' },\n ],\n },\n ]),\n };\n\n return metadata;\n }\n\n return __updateWidget;\n}\n\n/** Deletes a Widget. */\nexport function deleteWidget(payload: object): RequestOptionsFactory<any> {\n function __deleteWidget({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.widgets.v1.widget',\n method: 'DELETE' as any,\n methodFqn: 'wix.widgets.v1.WidgetStoreService.DeleteWidget',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveWixWidgetsV1WidgetStoreServiceUrl({\n protoPath: '/v1/widgets/{widgetId}',\n data: payload,\n host,\n }),\n params: toURLSearchParams(payload),\n };\n\n return metadata;\n }\n\n return __deleteWidget;\n}\n\n/** Retrieves a list of Widgets by WQL query. */\nexport function queryWidgets(payload: object): RequestOptionsFactory<any> {\n function __queryWidgets({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.widgets.v1.widget',\n method: 'GET' as any,\n methodFqn: 'wix.widgets.v1.WidgetStoreService.QueryWidgets',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveWixWidgetsV1WidgetStoreServiceUrl({\n protoPath: '/v1/widgets/query',\n data: payload,\n host,\n }),\n params: toURLSearchParams(payload, true),\n transformResponse: (payload: any) =>\n transformPaths(payload, [\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: [\n { path: 'widgets.createdDate' },\n { path: 'widgets.updatedDate' },\n ],\n },\n ]),\n fallback: [\n {\n method: 'POST' as any,\n url: resolveWixWidgetsV1WidgetStoreServiceUrl({\n protoPath: '/v1/widgets/query',\n data: payload,\n host,\n }),\n data: payload,\n },\n ],\n };\n\n return metadata;\n }\n\n return __queryWidgets;\n}\n\n/** Synchronously updates tags on multiple Widgets by ID. */\nexport function bulkUpdateWidgetTags(\n payload: object\n): RequestOptionsFactory<any> {\n function __bulkUpdateWidgetTags({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.widgets.v1.widget',\n method: 'POST' as any,\n methodFqn: 'wix.widgets.v1.WidgetStoreService.BulkUpdateWidgetTags',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveWixWidgetsV1WidgetStoreServiceUrl({\n protoPath: '/v1/bulk/widgets/update-tags',\n data: payload,\n host,\n }),\n data: payload,\n };\n\n return metadata;\n }\n\n return __bulkUpdateWidgetTags;\n}\n\n/** Asynchronously updates tags on Widgets matching the provided filter. */\nexport function bulkUpdateWidgetTagsByFilter(\n payload: object\n): RequestOptionsFactory<any> {\n function __bulkUpdateWidgetTagsByFilter({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.widgets.v1.widget',\n method: 'POST' as any,\n methodFqn:\n 'wix.widgets.v1.WidgetStoreService.BulkUpdateWidgetTagsByFilter',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveWixWidgetsV1WidgetStoreServiceUrl({\n protoPath: '/v1/bulk/widgets/update-tags-by-filter',\n data: payload,\n host,\n }),\n data: payload,\n };\n\n return metadata;\n }\n\n return __bulkUpdateWidgetTagsByFilter;\n}\n","/** Registry entry describing a widget that can be offered within an app instance. */\nexport interface Widget {\n /**\n * Widget ID.\n * @format GUID\n * @readonly\n */\n id?: string | null;\n /**\n * Revision number, which increments by 1 each time the Widget is updated.\n * @readonly\n */\n revision?: string | null;\n /**\n * Date and time the Widget was created.\n * @readonly\n */\n createdDate?: Date | null;\n /**\n * Date and time the Widget was last updated.\n * @readonly\n */\n updatedDate?: Date | null;\n /**\n * Stable machine-readable key for the widget.\n * @minLength 1\n * @maxLength 120\n */\n key?: string;\n /**\n * Human-readable widget name.\n * @minLength 1\n * @maxLength 120\n */\n displayName?: string;\n /**\n * Short explanation of what the widget does.\n * @maxLength 1000\n */\n description?: string | null;\n /**\n * Platform or vendor that provides the widget.\n * @minLength 1\n * @maxLength 120\n */\n provider?: string;\n /**\n * Runtime used to execute the widget.\n * @minLength 1\n * @maxLength 120\n */\n runtime?: string;\n /**\n * Widget package or configuration version.\n * @maxLength 80\n */\n version?: string | null;\n /** Current lifecycle state of the widget. */\n status?: WidgetStatusWithLiterals;\n /**\n * Capability identifiers supported by the widget.\n * @maxSize 100\n * @maxLength 120\n */\n capabilities?: string[];\n /** Data Extensions. */\n extendedFields?: ExtendedFields;\n /** Tags. */\n tags?: Tags;\n}\n\nexport enum WidgetStatus {\n ACTIVE = 'ACTIVE',\n PAUSED = 'PAUSED',\n DEPRECATED = 'DEPRECATED',\n}\n\n/** @enumType */\nexport type WidgetStatusWithLiterals =\n | WidgetStatus\n | 'ACTIVE'\n | 'PAUSED'\n | 'DEPRECATED';\n\nexport interface ExtendedFields {\n /**\n * Extended field data. Each key corresponds to the namespace of the app that created the extended fields.\n * The value of each key is structured according to the schema defined when the extended fields were configured.\n *\n * You can only access fields for which you have the appropriate permissions.\n *\n * Learn more about [extended fields](https://dev.wix.com/docs/rest/articles/getting-started/extended-fields).\n */\n namespaces?: Record<string, Record<string, any>>;\n}\n\n/**\n * Common object for tags.\n * Should be use as in this example:\n * message Foo {\n * option (.wix.api.decomposite_of) = \"wix.commons.v2.tags.Foo\";\n * string id = 1;\n * ...\n * Tags tags = 5\n * }\n *\n * example of taggable entity\n * {\n * id: \"123\"\n * tags: {\n * public_tags: {\n * tag_ids:[\"11\",\"22\"]\n * },\n * private_tags: {\n * tag_ids: [\"33\", \"44\"]\n * }\n * }\n * }\n */\nexport interface Tags {\n /** Tags that require an additional permission in order to access them, normally not given to site members or visitors. */\n privateTags?: TagList;\n /** Tags that are exposed to anyone who has access to the labeled entity itself, including site members and visitors. */\n publicTags?: TagList;\n}\n\nexport interface TagList {\n /**\n * List of tag IDs.\n * @maxSize 100\n * @maxLength 5\n */\n tagIds?: string[];\n}\n\nexport interface WidgetTagsModified {\n /** Updated Widget. */\n widget?: Widget;\n /** Tags that were assigned to the Widget. */\n assignedTags?: Tags;\n /** Tags that were unassigned from the Widget. */\n unassignedTags?: Tags;\n}\n\nexport interface CreateWidgetRequest {\n /** Widget to be created. */\n widget: Widget;\n}\n\nexport interface CreateWidgetResponse {\n /** The created Widget. */\n widget?: Widget;\n}\n\nexport interface GetWidgetRequest {\n /**\n * ID of the Widget to retrieve.\n * @format GUID\n */\n widgetId: string;\n}\n\nexport interface GetWidgetResponse {\n /** The requested Widget. */\n widget?: Widget;\n}\n\nexport interface UpdateWidgetRequest {\n /** Widget to be updated, may be partial. */\n widget: Widget;\n}\n\nexport interface UpdateWidgetResponse {\n /** Updated Widget. */\n widget?: Widget;\n}\n\nexport interface DeleteWidgetRequest {\n /**\n * ID of the Widget to delete.\n * @format GUID\n */\n widgetId: string;\n}\n\nexport interface DeleteWidgetResponse {}\n\nexport interface QueryWidgetsRequest {\n /** WQL expression. */\n query?: CursorQuery;\n}\n\nexport interface CursorQuery extends CursorQueryPagingMethodOneOf {\n /**\n * Cursor paging options.\n *\n * Learn more about [cursor paging](https://dev.wix.com/docs/rest/articles/getting-started/api-query-language#cursor-paging).\n */\n cursorPaging?: CursorPaging;\n /**\n * Filter object.\n *\n * Learn more about the [filter section](https://dev.wix.com/docs/rest/articles/getting-started/api-query-language#the-filter-section).\n */\n filter?: Record<string, any> | null;\n /**\n * Sort object.\n *\n * Learn more about the [sort section](https://dev.wix.com/docs/rest/articles/getting-started/api-query-language#the-sort-section).\n * @maxSize 5\n */\n sort?: Sorting[];\n}\n\n/** @oneof */\nexport interface CursorQueryPagingMethodOneOf {\n /**\n * Cursor paging options.\n *\n * Learn more about [cursor paging](https://dev.wix.com/docs/rest/articles/getting-started/api-query-language#cursor-paging).\n */\n cursorPaging?: CursorPaging;\n}\n\nexport interface Sorting {\n /**\n * Name of the field to sort by.\n * @maxLength 512\n */\n fieldName?: string;\n /** Sort order. */\n order?: SortOrderWithLiterals;\n}\n\nexport enum SortOrder {\n ASC = 'ASC',\n DESC = 'DESC',\n}\n\n/** @enumType */\nexport type SortOrderWithLiterals = SortOrder | 'ASC' | 'DESC';\n\nexport interface CursorPaging {\n /**\n * Maximum number of items to return in the results.\n * @max 100\n */\n limit?: number | null;\n /**\n * Pointer to the next or previous page in the list of results.\n *\n * Pass the relevant cursor token from the `pagingMetadata` object in the previous call's response.\n * Not relevant for the first request.\n * @maxLength 16000\n */\n cursor?: string | null;\n}\n\nexport interface QueryWidgetsResponse {\n /** List of Widgets. */\n widgets?: Widget[];\n /** Paging metadata. */\n pagingMetadata?: CursorPagingMetadata;\n}\n\nexport interface CursorPagingMetadata {\n /** Number of items returned in current page. */\n count?: number | null;\n /** Cursor strings that point to the next page, previous page, or both. */\n cursors?: Cursors;\n /**\n * Whether there are more pages to retrieve following the current page.\n *\n * + `true`: Another page of results can be retrieved.\n * + `false`: This is the last page.\n */\n hasNext?: boolean | null;\n}\n\nexport interface Cursors {\n /**\n * Cursor string pointing to the next page in the list of results.\n * @maxLength 16000\n */\n next?: string | null;\n /**\n * Cursor pointing to the previous page in the list of results.\n * @maxLength 16000\n */\n prev?: string | null;\n}\n\nexport interface BulkUpdateWidgetTagsRequest {\n /**\n * IDs of Widgets whose tags will be updated.\n * @minSize 1\n * @maxSize 100\n * @format GUID\n */\n widgetIds: string[];\n /** Tags to assign. */\n assignTags?: Tags;\n /** Tags to unassign. */\n unassignTags?: Tags;\n}\n\nexport interface BulkUpdateWidgetTagsResponse {\n /**\n * Results.\n * @minSize 1\n * @maxSize 100\n */\n results?: BulkUpdateWidgetTagsResult[];\n /** Metadata regarding the bulk update operation. */\n bulkActionMetadata?: BulkActionMetadata;\n}\n\nexport interface ItemMetadata {\n /**\n * Item ID. Provided only whenever possible. For example, `itemId` can't be provided when item creation has failed.\n * @format GUID\n */\n id?: string | null;\n /** Index of the item within the request array. Allows for correlation between request and response items. */\n originalIndex?: number;\n /** Whether the requested action for this item was successful. When `false`, the `error` field is returned. */\n success?: boolean;\n /** Details about the error in case of failure. */\n error?: ApplicationError;\n}\n\nexport interface ApplicationError {\n /** Error code. */\n code?: string;\n /** Description of the error. */\n description?: string;\n /** Data related to the error. */\n data?: Record<string, any> | null;\n}\n\nexport interface BulkUpdateWidgetTagsResult {\n /** Metadata regarding the specific single update operation. */\n itemMetadata?: ItemMetadata;\n}\n\nexport interface BulkActionMetadata {\n /** Number of items that were successfully processed. */\n totalSuccesses?: number;\n /** Number of items that couldn't be processed. */\n totalFailures?: number;\n /** Number of failures without details because detailed failure threshold was exceeded. */\n undetailedFailures?: number;\n}\n\nexport interface BulkUpdateWidgetTagsByFilterRequest {\n /** Filter that selects Widgets whose tags will be updated. */\n filter: Record<string, any> | null;\n /** Tags to assign. */\n assignTags?: Tags;\n /** Tags to unassign. */\n unassignTags?: Tags;\n}\n\nexport interface BulkUpdateWidgetTagsByFilterResponse {\n /**\n * Job ID.\n * @format GUID\n */\n jobId?: string;\n}\n\nexport interface DomainEvent extends DomainEventBodyOneOf {\n createdEvent?: EntityCreatedEvent;\n updatedEvent?: EntityUpdatedEvent;\n deletedEvent?: EntityDeletedEvent;\n actionEvent?: ActionEvent;\n /** Event ID. With this ID you can easily spot duplicated events and ignore them. */\n id?: string;\n /**\n * Fully Qualified Domain Name of an entity. This is a unique identifier assigned to the API main business entities.\n * For example, `wix.stores.catalog.product`, `wix.bookings.session`, `wix.payments.transaction`.\n */\n entityFqdn?: string;\n /**\n * Event action name, placed at the top level to make it easier for users to dispatch messages.\n * For example: `created`/`updated`/`deleted`/`started`/`completed`/`email_opened`.\n */\n slug?: string;\n /** ID of the entity associated with the event. */\n entityId?: string;\n /** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example, `2020-04-26T13:57:50.699Z`. */\n eventTime?: Date | null;\n /**\n * Whether the event was triggered as a result of a privacy regulation application\n * (for example, GDPR).\n */\n triggeredByAnonymizeRequest?: boolean | null;\n /** If present, indicates the action that triggered the event. */\n originatedFrom?: string | null;\n /**\n * A sequence number that indicates the order of updates to an entity. For example, if an entity was updated at 16:00 and then again at 16:01, the second update will always have a higher sequence number.\n * You can use this number to make sure you're handling updates in the right order. Just save the latest sequence number on your end and compare it to the one in each new message. If the new message has an older (lower) number, you can safely ignore it.\n */\n entityEventSequence?: string | null;\n}\n\n/** @oneof */\nexport interface DomainEventBodyOneOf {\n createdEvent?: EntityCreatedEvent;\n updatedEvent?: EntityUpdatedEvent;\n deletedEvent?: EntityDeletedEvent;\n actionEvent?: ActionEvent;\n}\n\nexport interface EntityCreatedEvent {\n entityAsJson?: string;\n /** Indicates the event was triggered by a restore-from-trashbin operation for a previously deleted entity */\n restoreInfo?: RestoreInfo;\n}\n\nexport interface RestoreInfo {\n deletedDate?: Date | null;\n}\n\nexport interface EntityUpdatedEvent {\n /**\n * Since platformized APIs only expose PATCH and not PUT we can't assume that the fields sent from the client are the actual diff.\n * This means that to generate a list of changed fields (as opposed to sent fields) one needs to traverse both objects.\n * We don't want to impose this on all developers and so we leave this traversal to the notification recipients which need it.\n */\n currentEntityAsJson?: string;\n}\n\nexport interface EntityDeletedEvent {\n /** Entity that was deleted. */\n deletedEntityAsJson?: string | null;\n}\n\nexport interface ActionEvent {\n bodyAsJson?: string;\n}\n\nexport interface MessageEnvelope {\n /**\n * App instance ID.\n * @format GUID\n */\n instanceId?: string | null;\n /**\n * Event type.\n * @maxLength 150\n */\n eventType?: string;\n /** The identification type and identity data. */\n identity?: IdentificationData;\n /** Stringify payload. */\n data?: string;\n /** Details related to the account */\n accountInfo?: AccountInfo;\n}\n\nexport interface IdentificationData extends IdentificationDataIdOneOf {\n /**\n * ID of a site visitor that has not logged in to the site.\n * @format GUID\n */\n anonymousVisitorId?: string;\n /**\n * ID of a site visitor that has logged in to the site.\n * @format GUID\n */\n memberId?: string;\n /**\n * ID of a Wix user (site owner, contributor, etc.).\n * @format GUID\n */\n wixUserId?: string;\n /**\n * ID of an app.\n * @format GUID\n */\n appId?: string;\n /** @readonly */\n identityType?: WebhookIdentityTypeWithLiterals;\n}\n\n/** @oneof */\nexport interface IdentificationDataIdOneOf {\n /**\n * ID of a site visitor that has not logged in to the site.\n * @format GUID\n */\n anonymousVisitorId?: string;\n /**\n * ID of a site visitor that has logged in to the site.\n * @format GUID\n */\n memberId?: string;\n /**\n * ID of a Wix user (site owner, contributor, etc.).\n * @format GUID\n */\n wixUserId?: string;\n /**\n * ID of an app.\n * @format GUID\n */\n appId?: string;\n}\n\nexport enum WebhookIdentityType {\n UNKNOWN = 'UNKNOWN',\n ANONYMOUS_VISITOR = 'ANONYMOUS_VISITOR',\n MEMBER = 'MEMBER',\n WIX_USER = 'WIX_USER',\n APP = 'APP',\n}\n\n/** @enumType */\nexport type WebhookIdentityTypeWithLiterals =\n | WebhookIdentityType\n | 'UNKNOWN'\n | 'ANONYMOUS_VISITOR'\n | 'MEMBER'\n | 'WIX_USER'\n | 'APP';\n\nexport interface AccountInfo {\n /**\n * ID of the Wix account associated with the event.\n * @format GUID\n */\n accountId?: string | null;\n /**\n * ID of the parent Wix account. Only included when accountId belongs to a child account.\n * @format GUID\n */\n parentAccountId?: string | null;\n /**\n * ID of the Wix site associated with the event. Only included when the event is tied to a specific site.\n * @format GUID\n */\n siteId?: string | null;\n}\n\n/** @docsIgnore */\nexport type BulkUpdateWidgetTagsApplicationErrors = {\n code?: 'EMPTY_ASSIGN_AND_UNASSIGN_LISTS';\n description?: string;\n data?: Record<string, any>;\n};\n/** @docsIgnore */\nexport type BulkUpdateWidgetTagsByFilterApplicationErrors = {\n code?: 'EMPTY_ASSIGN_AND_UNASSIGN_LISTS';\n description?: string;\n data?: Record<string, any>;\n};\n","import * as ambassadorWixWidgetsV1Widget from './widgets-v1-widget-widget-store.http.js';\nimport * as ambassadorWixWidgetsV1WidgetTypes from './widgets-v1-widget-widget-store.types.js';\nimport * as ambassadorWixWidgetsV1WidgetUniversalTypes from './widgets-v1-widget-widget-store.universal.js';\n\nexport type __PublicMethodMetaInfo<\n K = string,\n M = unknown,\n T = unknown,\n S = unknown,\n Q = unknown,\n R = unknown\n> = {\n getUrl: (context: any) => string;\n httpMethod: K;\n path: string;\n pathParams: M;\n __requestType: T;\n __originalRequestType: S;\n __responseType: Q;\n __originalResponseType: R;\n};\n\nexport function createWidget(): __PublicMethodMetaInfo<\n 'POST',\n {},\n ambassadorWixWidgetsV1WidgetUniversalTypes.CreateWidgetRequest,\n ambassadorWixWidgetsV1WidgetTypes.CreateWidgetRequest,\n ambassadorWixWidgetsV1WidgetUniversalTypes.CreateWidgetResponse,\n ambassadorWixWidgetsV1WidgetTypes.CreateWidgetResponse\n> {\n const payload = {} as any;\n\n const getRequestOptions = ambassadorWixWidgetsV1Widget.createWidget(payload);\n\n const getUrl = (context: any): string => {\n const { url } = getRequestOptions(context);\n return url!;\n };\n\n return {\n getUrl,\n httpMethod: 'POST',\n path: '/v1/widgets',\n pathParams: {},\n __requestType: null as any,\n __originalRequestType: null as any,\n __responseType: null as any,\n __originalResponseType: null as any,\n };\n}\n\nexport function getWidget(): __PublicMethodMetaInfo<\n 'GET',\n { widgetId: string },\n ambassadorWixWidgetsV1WidgetUniversalTypes.GetWidgetRequest,\n ambassadorWixWidgetsV1WidgetTypes.GetWidgetRequest,\n ambassadorWixWidgetsV1WidgetUniversalTypes.GetWidgetResponse,\n ambassadorWixWidgetsV1WidgetTypes.GetWidgetResponse\n> {\n const payload = { widgetId: ':widgetId' } as any;\n\n const getRequestOptions = ambassadorWixWidgetsV1Widget.getWidget(payload);\n\n const getUrl = (context: any): string => {\n const { url } = getRequestOptions(context);\n return url!;\n };\n\n return {\n getUrl,\n httpMethod: 'GET',\n path: '/v1/widgets/{widgetId}',\n pathParams: { widgetId: 'widgetId' },\n __requestType: null as any,\n __originalRequestType: null as any,\n __responseType: null as any,\n __originalResponseType: null as any,\n };\n}\n\nexport function updateWidget(): __PublicMethodMetaInfo<\n 'PATCH',\n { widgetId: string },\n ambassadorWixWidgetsV1WidgetUniversalTypes.UpdateWidgetRequest,\n ambassadorWixWidgetsV1WidgetTypes.UpdateWidgetRequest,\n ambassadorWixWidgetsV1WidgetUniversalTypes.UpdateWidgetResponse,\n ambassadorWixWidgetsV1WidgetTypes.UpdateWidgetResponse\n> {\n const payload = { widget: { id: ':widgetId' } } as any;\n\n const getRequestOptions = ambassadorWixWidgetsV1Widget.updateWidget(payload);\n\n const getUrl = (context: any): string => {\n const { url } = getRequestOptions(context);\n return url!;\n };\n\n return {\n getUrl,\n httpMethod: 'PATCH',\n path: '/v1/widgets/{widget.id}',\n pathParams: { widgetId: 'widgetId' },\n __requestType: null as any,\n __originalRequestType: null as any,\n __responseType: null as any,\n __originalResponseType: null as any,\n };\n}\n\nexport function deleteWidget(): __PublicMethodMetaInfo<\n 'DELETE',\n { widgetId: string },\n ambassadorWixWidgetsV1WidgetUniversalTypes.DeleteWidgetRequest,\n ambassadorWixWidgetsV1WidgetTypes.DeleteWidgetRequest,\n ambassadorWixWidgetsV1WidgetUniversalTypes.DeleteWidgetResponse,\n ambassadorWixWidgetsV1WidgetTypes.DeleteWidgetResponse\n> {\n const payload = { widgetId: ':widgetId' } as any;\n\n const getRequestOptions = ambassadorWixWidgetsV1Widget.deleteWidget(payload);\n\n const getUrl = (context: any): string => {\n const { url } = getRequestOptions(context);\n return url!;\n };\n\n return {\n getUrl,\n httpMethod: 'DELETE',\n path: '/v1/widgets/{widgetId}',\n pathParams: { widgetId: 'widgetId' },\n __requestType: null as any,\n __originalRequestType: null as any,\n __responseType: null as any,\n __originalResponseType: null as any,\n };\n}\n\nexport function queryWidgets(): __PublicMethodMetaInfo<\n 'GET',\n {},\n ambassadorWixWidgetsV1WidgetUniversalTypes.QueryWidgetsRequest,\n ambassadorWixWidgetsV1WidgetTypes.QueryWidgetsRequest,\n ambassadorWixWidgetsV1WidgetUniversalTypes.QueryWidgetsResponse,\n ambassadorWixWidgetsV1WidgetTypes.QueryWidgetsResponse\n> {\n const payload = {} as any;\n\n const getRequestOptions = ambassadorWixWidgetsV1Widget.queryWidgets(payload);\n\n const getUrl = (context: any): string => {\n const { url } = getRequestOptions(context);\n return url!;\n };\n\n return {\n getUrl,\n httpMethod: 'GET',\n path: '/v1/widgets/query',\n pathParams: {},\n __requestType: null as any,\n __originalRequestType: null as any,\n __responseType: null as any,\n __originalResponseType: null as any,\n };\n}\n\nexport function bulkUpdateWidgetTags(): __PublicMethodMetaInfo<\n 'POST',\n {},\n ambassadorWixWidgetsV1WidgetUniversalTypes.BulkUpdateWidgetTagsRequest,\n ambassadorWixWidgetsV1WidgetTypes.BulkUpdateWidgetTagsRequest,\n ambassadorWixWidgetsV1WidgetUniversalTypes.BulkUpdateWidgetTagsResponse,\n ambassadorWixWidgetsV1WidgetTypes.BulkUpdateWidgetTagsResponse\n> {\n const payload = {} as any;\n\n const getRequestOptions =\n ambassadorWixWidgetsV1Widget.bulkUpdateWidgetTags(payload);\n\n const getUrl = (context: any): string => {\n const { url } = getRequestOptions(context);\n return url!;\n };\n\n return {\n getUrl,\n httpMethod: 'POST',\n path: '/v1/bulk/widgets/update-tags',\n pathParams: {},\n __requestType: null as any,\n __originalRequestType: null as any,\n __responseType: null as any,\n __originalResponseType: null as any,\n };\n}\n\nexport function bulkUpdateWidgetTagsByFilter(): __PublicMethodMetaInfo<\n 'POST',\n {},\n ambassadorWixWidgetsV1WidgetUniversalTypes.BulkUpdateWidgetTagsByFilterRequest,\n ambassadorWixWidgetsV1WidgetTypes.BulkUpdateWidgetTagsByFilterRequest,\n ambassadorWixWidgetsV1WidgetUniversalTypes.BulkUpdateWidgetTagsByFilterResponse,\n ambassadorWixWidgetsV1WidgetTypes.BulkUpdateWidgetTagsByFilterResponse\n> {\n const payload = {} as any;\n\n const getRequestOptions =\n ambassadorWixWidgetsV1Widget.bulkUpdateWidgetTagsByFilter(payload);\n\n const getUrl = (context: any): string => {\n const { url } = getRequestOptions(context);\n return url!;\n };\n\n return {\n getUrl,\n httpMethod: 'POST',\n path: '/v1/bulk/widgets/update-tags-by-filter',\n pathParams: {},\n __requestType: null as any,\n __originalRequestType: null as any,\n __responseType: null as any,\n __originalResponseType: null as any,\n };\n}\n\nexport {\n Widget as WidgetOriginal,\n WidgetStatus as WidgetStatusOriginal,\n WidgetStatusWithLiterals as WidgetStatusWithLiteralsOriginal,\n ExtendedFields as ExtendedFieldsOriginal,\n Tags as TagsOriginal,\n TagList as TagListOriginal,\n WidgetTagsModified as WidgetTagsModifiedOriginal,\n CreateWidgetRequest as CreateWidgetRequestOriginal,\n CreateWidgetResponse as CreateWidgetResponseOriginal,\n GetWidgetRequest as GetWidgetRequestOriginal,\n GetWidgetResponse as GetWidgetResponseOriginal,\n UpdateWidgetRequest as UpdateWidgetRequestOriginal,\n UpdateWidgetResponse as UpdateWidgetResponseOriginal,\n DeleteWidgetRequest as DeleteWidgetRequestOriginal,\n DeleteWidgetResponse as DeleteWidgetResponseOriginal,\n QueryWidgetsRequest as QueryWidgetsRequestOriginal,\n CursorQuery as CursorQueryOriginal,\n CursorQueryPagingMethodOneOf as CursorQueryPagingMethodOneOfOriginal,\n Sorting as SortingOriginal,\n SortOrder as SortOrderOriginal,\n SortOrderWithLiterals as SortOrderWithLiteralsOriginal,\n CursorPaging as CursorPagingOriginal,\n QueryWidgetsResponse as QueryWidgetsResponseOriginal,\n CursorPagingMetadata as CursorPagingMetadataOriginal,\n Cursors as CursorsOriginal,\n BulkUpdateWidgetTagsRequest as BulkUpdateWidgetTagsRequestOriginal,\n BulkUpdateWidgetTagsResponse as BulkUpdateWidgetTagsResponseOriginal,\n ItemMetadata as ItemMetadataOriginal,\n ApplicationError as ApplicationErrorOriginal,\n BulkUpdateWidgetTagsResult as BulkUpdateWidgetTagsResultOriginal,\n BulkActionMetadata as BulkActionMetadataOriginal,\n BulkUpdateWidgetTagsByFilterRequest as BulkUpdateWidgetTagsByFilterRequestOriginal,\n BulkUpdateWidgetTagsByFilterResponse as BulkUpdateWidgetTagsByFilterResponseOriginal,\n DomainEvent as DomainEventOriginal,\n DomainEventBodyOneOf as DomainEventBodyOneOfOriginal,\n EntityCreatedEvent as EntityCreatedEventOriginal,\n RestoreInfo as RestoreInfoOriginal,\n EntityUpdatedEvent as EntityUpdatedEventOriginal,\n EntityDeletedEvent as EntityDeletedEventOriginal,\n ActionEvent as ActionEventOriginal,\n MessageEnvelope as MessageEnvelopeOriginal,\n IdentificationData as IdentificationDataOriginal,\n IdentificationDataIdOneOf as IdentificationDataIdOneOfOriginal,\n WebhookIdentityType as WebhookIdentityTypeOriginal,\n WebhookIdentityTypeWithLiterals as WebhookIdentityTypeWithLiteralsOriginal,\n AccountInfo as AccountInfoOriginal,\n BulkUpdateWidgetTagsApplicationErrors as BulkUpdateWidgetTagsApplicationErrorsOriginal,\n BulkUpdateWidgetTagsByFilterApplicationErrors as BulkUpdateWidgetTagsByFilterApplicationErrorsOriginal,\n} from './widgets-v1-widget-widget-store.types.js';\n"],"mappings":";AAAA,SAAS,yBAAyB;AAClC,SAAS,4CAA4C;AACrD,SAAS,4CAA4C;AACrD,SAAS,4CAA4C;AACrD,SAAS,sBAAsB;AAC/B,SAAS,kBAAkB;AAI3B,SAAS,yCACP,MACA;AACA,QAAM,mBAAmB,CAAC;AAE1B,SAAO,WAAW,OAAO,OAAO,MAAM,EAAE,iBAAiB,CAAC,CAAC;AAC7D;AAEA,IAAM,eAAe;AAGd,SAAS,aAAa,SAA6C;AACxE,WAAS,eAAe,EAAE,KAAK,GAAQ;AACrC,UAAM,iBAAiB,eAAe,SAAS;AAAA,MAC7C;AAAA,QACE,aAAa;AAAA,QACb,OAAO,CAAC,EAAE,MAAM,qBAAqB,GAAG,EAAE,MAAM,qBAAqB,CAAC;AAAA,MACxE;AAAA,IACF,CAAC;AACD,UAAM,WAAW;AAAA,MACf,YAAY;AAAA,MACZ,QAAQ;AAAA,MACR,WAAW;AAAA,MACX,aAAa;AAAA,MACb,kBAAkB;AAAA,QAChB,wBAAwB;AAAA,MAC1B;AAAA,MACA,KAAK,yCAAyC;AAAA,QAC5C,WAAW;AAAA,QACX,MAAM;AAAA,QACN;AAAA,MACF,CAAC;AAAA,MACD,MAAM;AAAA,MACN,mBAAmB,CAACA,aAClB,eAAeA,UAAS;AAAA,QACtB;AAAA,UACE,aAAa;AAAA,UACb,OAAO;AAAA,YACL,EAAE,MAAM,qBAAqB;AAAA,YA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,EACT;AAEA,SAAO;AAAA,IACL;AAAA,IACA,YAAY;AAAA,IACZ,MAAM;AAAA,IACN,YAAY,CAAC;AAAA,IACb,eAAe;AAAA,IACf,uBAAuB;AAAA,IACvB,gBAAgB;AAAA,IAChB,wBAAwB;AAAA,EAC1B;AACF;","names":["payload","WidgetStatus","SortOrder","WebhookIdentityType","createWidget","getWidget","updateWidget","deleteWidget","queryWidgets","bulkUpdateWidgetTags","bulkUpdateWidgetTagsByFilter"]}
@@ -0,0 +1,3 @@
1
+ {
2
+ "type": "module"
3
+ }
@@ -0,0 +1,85 @@
1
+ import { HttpClient, NonNullablePaths, MaybeContext, BuildRESTFunction } from '@wix/sdk-types';
2
+ import { Widget, UpdateWidget, BulkUpdateWidgetTagsOptions, BulkUpdateWidgetTagsResponse, BulkUpdateWidgetTagsApplicationErrors, BulkUpdateWidgetTagsByFilterOptions, BulkUpdateWidgetTagsByFilterResponse, BulkUpdateWidgetTagsByFilterApplicationErrors, WidgetsQueryBuilder, WidgetQuery, typedQueryWidgets } from './index.typings.js';
3
+ export { AccountInfo, ActionEvent, ApplicationError, BulkActionMetadata, BulkUpdateWidgetTagsByFilterRequest, BulkUpdateWidgetTagsRequest, BulkUpdateWidgetTagsResult, CommonQueryWithEntityContext, CreateWidgetRequest, CreateWidgetResponse, CursorPaging, CursorPagingMetadata, CursorQuery, CursorQueryPagingMethodOneOf, Cursors, DeleteWidgetRequest, DeleteWidgetResponse, DomainEvent, DomainEventBodyOneOf, EntityCreatedEvent, EntityDeletedEvent, EntityUpdatedEvent, ExtendedFields, GetWidgetRequest, GetWidgetResponse, IdentificationData, IdentificationDataIdOneOf, ItemMetadata, MessageEnvelope, QueryWidgetsRequest, QueryWidgetsResponse, RestoreInfo, SortOrder, SortOrderWithLiterals, Sorting, TagList, Tags, UpdateWidgetRequest, UpdateWidgetResponse, WebhookIdentityType, WebhookIdentityTypeWithLiterals, WidgetQuerySpec, WidgetStatus, WidgetStatusWithLiterals, WidgetTagsModified, WidgetsQueryResult, utils } from './index.typings.js';
4
+
5
+ /** @internal */
6
+ declare function createWidget$1(httpClient: HttpClient): CreateWidgetSignature;
7
+ interface CreateWidgetSignature {
8
+ /**
9
+ * Creates a Widget.
10
+ * @param - Widget to be created.
11
+ * @returns The created Widget.
12
+ */
13
+ (widget: NonNullablePaths<Widget, `displayName` | `key` | `provider` | `runtime`, 2>): Promise<NonNullablePaths<Widget, `key` | `displayName` | `provider` | `runtime` | `status` | `capabilities` | `tags.privateTags.tagIds`, 4>>;
14
+ }
15
+ /** @internal */
16
+ declare function getWidget$1(httpClient: HttpClient): GetWidgetSignature;
17
+ interface GetWidgetSignature {
18
+ /**
19
+ * Retrieves a Widget.
20
+ * @param - ID of the Widget to retrieve.
21
+ * @returns The requested Widget.
22
+ */
23
+ (widgetId: string): Promise<NonNullablePaths<Widget, `key` | `displayName` | `provider` | `runtime` | `status` | `capabilities` | `tags.privateTags.tagIds`, 4>>;
24
+ }
25
+ /** @internal */
26
+ declare function updateWidget$1(httpClient: HttpClient): UpdateWidgetSignature;
27
+ interface UpdateWidgetSignature {
28
+ /**
29
+ * Updates a Widget.
30
+ * @param - Widget ID.
31
+ * @returns Updated Widget.
32
+ */
33
+ (_id: string, widget: NonNullablePaths<UpdateWidget, `revision`, 2>): Promise<NonNullablePaths<Widget, `key` | `displayName` | `provider` | `runtime` | `status` | `capabilities` | `tags.privateTags.tagIds`, 4>>;
34
+ }
35
+ /** @internal */
36
+ declare function deleteWidget$1(httpClient: HttpClient): DeleteWidgetSignature;
37
+ interface DeleteWidgetSignature {
38
+ /**
39
+ * Deletes a Widget.
40
+ * @param - ID of the Widget to delete.
41
+ */
42
+ (widgetId: string): Promise<void>;
43
+ }
44
+ /** @internal */
45
+ declare function bulkUpdateWidgetTags$1(httpClient: HttpClient): BulkUpdateWidgetTagsSignature;
46
+ interface BulkUpdateWidgetTagsSignature {
47
+ /**
48
+ * Synchronously updates tags on multiple Widgets by ID.
49
+ * @param - IDs of Widgets whose tags will be updated.
50
+ */
51
+ (widgetIds: string[], options?: BulkUpdateWidgetTagsOptions): Promise<NonNullablePaths<BulkUpdateWidgetTagsResponse, `results` | `results.${number}.itemMetadata.originalIndex` | `results.${number}.itemMetadata.success` | `results.${number}.itemMetadata.error.code` | `results.${number}.itemMetadata.error.description` | `bulkActionMetadata.totalSuccesses` | `bulkActionMetadata.totalFailures` | `bulkActionMetadata.undetailedFailures`, 6> & {
52
+ __applicationErrorsType?: BulkUpdateWidgetTagsApplicationErrors;
53
+ }>;
54
+ }
55
+ /** @internal */
56
+ declare function bulkUpdateWidgetTagsByFilter$1(httpClient: HttpClient): BulkUpdateWidgetTagsByFilterSignature;
57
+ interface BulkUpdateWidgetTagsByFilterSignature {
58
+ /**
59
+ * Asynchronously updates tags on Widgets matching the provided filter.
60
+ * @param - Filter that selects Widgets whose tags will be updated.
61
+ */
62
+ (filter: Record<string, any>, options?: BulkUpdateWidgetTagsByFilterOptions): Promise<NonNullablePaths<BulkUpdateWidgetTagsByFilterResponse, `jobId`, 2> & {
63
+ __applicationErrorsType?: BulkUpdateWidgetTagsByFilterApplicationErrors;
64
+ }>;
65
+ }
66
+
67
+ declare function customQueryWidgets(httpClient: HttpClient): {
68
+ (): WidgetsQueryBuilder;
69
+ (query: WidgetQuery): ReturnType<typeof typedQueryWidgets>;
70
+ };
71
+ /** @internal */
72
+ declare const createWidget: MaybeContext<BuildRESTFunction<typeof createWidget$1> & typeof createWidget$1>;
73
+ /** @internal */
74
+ declare const getWidget: MaybeContext<BuildRESTFunction<typeof getWidget$1> & typeof getWidget$1>;
75
+ /** @internal */
76
+ declare const updateWidget: MaybeContext<BuildRESTFunction<typeof updateWidget$1> & typeof updateWidget$1>;
77
+ /** @internal */
78
+ declare const deleteWidget: MaybeContext<BuildRESTFunction<typeof deleteWidget$1> & typeof deleteWidget$1>;
79
+ /** @internal */
80
+ declare const bulkUpdateWidgetTags: MaybeContext<BuildRESTFunction<typeof bulkUpdateWidgetTags$1> & typeof bulkUpdateWidgetTags$1>;
81
+ /** @internal */
82
+ declare const bulkUpdateWidgetTagsByFilter: MaybeContext<BuildRESTFunction<typeof bulkUpdateWidgetTagsByFilter$1> & typeof bulkUpdateWidgetTagsByFilter$1>;
83
+ declare const queryWidgets: MaybeContext<BuildRESTFunction<typeof customQueryWidgets> & typeof customQueryWidgets>;
84
+
85
+ export { BulkUpdateWidgetTagsApplicationErrors, BulkUpdateWidgetTagsByFilterApplicationErrors, BulkUpdateWidgetTagsByFilterOptions, BulkUpdateWidgetTagsByFilterResponse, BulkUpdateWidgetTagsOptions, BulkUpdateWidgetTagsResponse, UpdateWidget, Widget, WidgetQuery, WidgetsQueryBuilder, bulkUpdateWidgetTags, bulkUpdateWidgetTagsByFilter, createWidget, deleteWidget, getWidget, queryWidgets, updateWidget };