@wix/auto_sdk_multilingual_translation-published-contents 1.0.28 → 1.0.30

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.
@@ -0,0 +1,541 @@
1
+ // src/multilingual-localization-public-v3-published-content-translation-published-contents.universal.ts
2
+ import { transformError as sdkTransformError } from "@wix/sdk-runtime/transform-error";
3
+ import { queryBuilder } from "@wix/sdk-runtime/query-builder";
4
+ import {
5
+ renameKeysFromSDKRequestToRESTRequest,
6
+ renameKeysFromRESTResponseToSDKResponse
7
+ } from "@wix/sdk-runtime/rename-all-nested-keys";
8
+
9
+ // src/multilingual-localization-public-v3-published-content-translation-published-contents.http.ts
10
+ import { transformRESTFloatToSDKFloat } from "@wix/sdk-runtime/transformations/float";
11
+ import { transformRESTTimestampToSDKTimestamp } from "@wix/sdk-runtime/transformations/timestamp";
12
+ import { transformPaths } from "@wix/sdk-runtime/transformations/transform-paths";
13
+ import { resolveUrl } from "@wix/sdk-runtime/rest-modules";
14
+ function resolveComWixpressLocalizationpublicV3TranslationPublishedContentUrl(opts) {
15
+ const domainToMappings = {
16
+ _: [
17
+ {
18
+ srcPath: "/localization-public",
19
+ destPath: ""
20
+ },
21
+ {
22
+ srcPath: "/translation-published-content/v3",
23
+ destPath: "/v3"
24
+ },
25
+ {
26
+ srcPath: "/_api/translation-published-content/v3",
27
+ destPath: "/v3"
28
+ }
29
+ ],
30
+ "cashier.wixapps.net": [
31
+ {
32
+ srcPath: "/multilingual/v1/public-localized-content",
33
+ destPath: "/v1/public-localized-content"
34
+ }
35
+ ],
36
+ "*.dev.wix-code.com": [
37
+ {
38
+ srcPath: "/_api/translation-published-content/v3",
39
+ destPath: "/v3"
40
+ }
41
+ ],
42
+ "manage._base_domain_": [
43
+ {
44
+ srcPath: "/_api/translation-published-content/v3",
45
+ destPath: "/v3"
46
+ }
47
+ ],
48
+ "editor._base_domain_": [
49
+ {
50
+ srcPath: "/_api/translation-published-content/v3",
51
+ destPath: "/v3"
52
+ }
53
+ ],
54
+ "blocks._base_domain_": [
55
+ {
56
+ srcPath: "/_api/translation-published-content/v3",
57
+ destPath: "/v3"
58
+ }
59
+ ],
60
+ "create.editorx": [
61
+ {
62
+ srcPath: "/_api/translation-published-content/v3",
63
+ destPath: "/v3"
64
+ }
65
+ ],
66
+ "www.wixapis.com": [
67
+ {
68
+ srcPath: "/translation-published-content/v3",
69
+ destPath: "/v3"
70
+ }
71
+ ]
72
+ };
73
+ return resolveUrl(Object.assign(opts, { domainToMappings }));
74
+ }
75
+ var PACKAGE_NAME = "@wix/auto_sdk_multilingual_translation-published-contents";
76
+ function queryPublishedContent(payload) {
77
+ function __queryPublishedContent({ host }) {
78
+ const metadata = {
79
+ entityFqdn: "wix.multilingual.localization_public.v3.published_content",
80
+ method: "POST",
81
+ methodFqn: "com.wixpress.localizationpublic.v3.TranslationPublishedContent.QueryPublishedContent",
82
+ packageName: PACKAGE_NAME,
83
+ url: resolveComWixpressLocalizationpublicV3TranslationPublishedContentUrl(
84
+ { protoPath: "/v3/published-contents/query", data: payload, host }
85
+ ),
86
+ data: payload,
87
+ transformResponse: (payload2) => transformPaths(payload2, [
88
+ {
89
+ transformFn: transformRESTFloatToSDKFloat,
90
+ paths: [
91
+ {
92
+ path: "publishedContent.fields.richContent.nodes.galleryData.items.image.media.duration"
93
+ },
94
+ {
95
+ path: "publishedContent.fields.richContent.nodes.galleryData.items.video.media.duration"
96
+ },
97
+ {
98
+ path: "publishedContent.fields.richContent.nodes.galleryData.items.video.thumbnail.duration"
99
+ },
100
+ {
101
+ path: "publishedContent.fields.richContent.nodes.galleryData.options.item.ratio"
102
+ },
103
+ {
104
+ path: "publishedContent.fields.richContent.nodes.imageData.image.duration"
105
+ },
106
+ {
107
+ path: "publishedContent.fields.richContent.nodes.mapData.mapSettings.lat"
108
+ },
109
+ {
110
+ path: "publishedContent.fields.richContent.nodes.mapData.mapSettings.lng"
111
+ },
112
+ {
113
+ path: "publishedContent.fields.richContent.nodes.pollData.poll.image.duration"
114
+ },
115
+ {
116
+ path: "publishedContent.fields.richContent.nodes.pollData.poll.options.image.duration"
117
+ },
118
+ {
119
+ path: "publishedContent.fields.richContent.nodes.pollData.design.poll.background.image.duration"
120
+ },
121
+ {
122
+ path: "publishedContent.fields.richContent.nodes.appEmbedData.image.duration"
123
+ },
124
+ {
125
+ path: "publishedContent.fields.richContent.nodes.videoData.video.duration"
126
+ },
127
+ {
128
+ path: "publishedContent.fields.richContent.nodes.videoData.thumbnail.duration"
129
+ },
130
+ {
131
+ path: "publishedContent.fields.richContent.nodes.audioData.audio.duration"
132
+ },
133
+ {
134
+ path: "publishedContent.fields.richContent.nodes.audioData.coverImage.duration"
135
+ },
136
+ { path: "publishedContent.fields.image.focalPoint.x" },
137
+ { path: "publishedContent.fields.image.focalPoint.y" },
138
+ {
139
+ path: "publishedContent.fields.video.resolutions.poster.focalPoint.x"
140
+ },
141
+ {
142
+ path: "publishedContent.fields.video.resolutions.poster.focalPoint.y"
143
+ },
144
+ { path: "publishedContent.fields.video.posters.focalPoint.x" },
145
+ { path: "publishedContent.fields.video.posters.focalPoint.y" },
146
+ {
147
+ path: "publishedContent.fields.document.thumbnail.focalPoint.x"
148
+ },
149
+ {
150
+ path: "publishedContent.fields.document.thumbnail.focalPoint.y"
151
+ }
152
+ ]
153
+ },
154
+ {
155
+ transformFn: transformRESTTimestampToSDKTimestamp,
156
+ paths: [
157
+ {
158
+ path: "publishedContent.fields.richContent.metadata.createdTimestamp"
159
+ },
160
+ {
161
+ path: "publishedContent.fields.richContent.metadata.updatedTimestamp"
162
+ },
163
+ { path: "publishedContent.fields.image.urlExpirationDate" },
164
+ { path: "publishedContent.fields.video.urlExpirationDate" },
165
+ {
166
+ path: "publishedContent.fields.video.resolutions.urlExpirationDate"
167
+ },
168
+ {
169
+ path: "publishedContent.fields.video.resolutions.poster.urlExpirationDate"
170
+ },
171
+ {
172
+ path: "publishedContent.fields.video.posters.urlExpirationDate"
173
+ },
174
+ { path: "publishedContent.fields.document.urlExpirationDate" },
175
+ {
176
+ path: "publishedContent.fields.document.thumbnail.urlExpirationDate"
177
+ }
178
+ ]
179
+ }
180
+ ]),
181
+ fallback: [
182
+ {
183
+ method: "POST",
184
+ url: resolveComWixpressLocalizationpublicV3TranslationPublishedContentUrl(
185
+ { protoPath: "/v3/published-contents/query", data: payload, host }
186
+ ),
187
+ data: payload
188
+ }
189
+ ]
190
+ };
191
+ return metadata;
192
+ }
193
+ return __queryPublishedContent;
194
+ }
195
+
196
+ // src/multilingual-localization-public-v3-published-content-translation-published-contents.universal.ts
197
+ import { transformRESTImageToSDKImage } from "@wix/sdk-runtime/transformations/image";
198
+ import { transformRESTVideoV2ToSDKVideoV2 } from "@wix/sdk-runtime/transformations/video-v2";
199
+ import { transformRESTDocumentToSDKDocument } from "@wix/sdk-runtime/transformations/document";
200
+ import { transformPaths as transformPaths2 } from "@wix/sdk-runtime/transformations/transform-paths";
201
+ var SchemaScope = /* @__PURE__ */ ((SchemaScope2) => {
202
+ SchemaScope2["UNKNOWN_SCOPE"] = "UNKNOWN_SCOPE";
203
+ SchemaScope2["GLOBAL"] = "GLOBAL";
204
+ SchemaScope2["SITE"] = "SITE";
205
+ return SchemaScope2;
206
+ })(SchemaScope || {});
207
+ var NodeType = /* @__PURE__ */ ((NodeType2) => {
208
+ NodeType2["PARAGRAPH"] = "PARAGRAPH";
209
+ NodeType2["TEXT"] = "TEXT";
210
+ NodeType2["HEADING"] = "HEADING";
211
+ NodeType2["BULLETED_LIST"] = "BULLETED_LIST";
212
+ NodeType2["ORDERED_LIST"] = "ORDERED_LIST";
213
+ NodeType2["LIST_ITEM"] = "LIST_ITEM";
214
+ NodeType2["BLOCKQUOTE"] = "BLOCKQUOTE";
215
+ NodeType2["CODE_BLOCK"] = "CODE_BLOCK";
216
+ NodeType2["VIDEO"] = "VIDEO";
217
+ NodeType2["DIVIDER"] = "DIVIDER";
218
+ NodeType2["FILE"] = "FILE";
219
+ NodeType2["GALLERY"] = "GALLERY";
220
+ NodeType2["GIF"] = "GIF";
221
+ NodeType2["HTML"] = "HTML";
222
+ NodeType2["IMAGE"] = "IMAGE";
223
+ NodeType2["LINK_PREVIEW"] = "LINK_PREVIEW";
224
+ NodeType2["MAP"] = "MAP";
225
+ NodeType2["POLL"] = "POLL";
226
+ NodeType2["APP_EMBED"] = "APP_EMBED";
227
+ NodeType2["BUTTON"] = "BUTTON";
228
+ NodeType2["COLLAPSIBLE_LIST"] = "COLLAPSIBLE_LIST";
229
+ NodeType2["TABLE"] = "TABLE";
230
+ NodeType2["EMBED"] = "EMBED";
231
+ NodeType2["COLLAPSIBLE_ITEM"] = "COLLAPSIBLE_ITEM";
232
+ NodeType2["COLLAPSIBLE_ITEM_TITLE"] = "COLLAPSIBLE_ITEM_TITLE";
233
+ NodeType2["COLLAPSIBLE_ITEM_BODY"] = "COLLAPSIBLE_ITEM_BODY";
234
+ NodeType2["TABLE_CELL"] = "TABLE_CELL";
235
+ NodeType2["TABLE_ROW"] = "TABLE_ROW";
236
+ NodeType2["EXTERNAL"] = "EXTERNAL";
237
+ NodeType2["AUDIO"] = "AUDIO";
238
+ NodeType2["CAPTION"] = "CAPTION";
239
+ NodeType2["LAYOUT"] = "LAYOUT";
240
+ NodeType2["LAYOUT_CELL"] = "LAYOUT_CELL";
241
+ return NodeType2;
242
+ })(NodeType || {});
243
+ var WidthType = /* @__PURE__ */ ((WidthType2) => {
244
+ WidthType2["CONTENT"] = "CONTENT";
245
+ WidthType2["SMALL"] = "SMALL";
246
+ WidthType2["ORIGINAL"] = "ORIGINAL";
247
+ WidthType2["FULL_WIDTH"] = "FULL_WIDTH";
248
+ return WidthType2;
249
+ })(WidthType || {});
250
+ var PluginContainerDataAlignment = /* @__PURE__ */ ((PluginContainerDataAlignment2) => {
251
+ PluginContainerDataAlignment2["CENTER"] = "CENTER";
252
+ PluginContainerDataAlignment2["LEFT"] = "LEFT";
253
+ PluginContainerDataAlignment2["RIGHT"] = "RIGHT";
254
+ return PluginContainerDataAlignment2;
255
+ })(PluginContainerDataAlignment || {});
256
+ var Type = /* @__PURE__ */ ((Type2) => {
257
+ Type2["LINK"] = "LINK";
258
+ Type2["ACTION"] = "ACTION";
259
+ return Type2;
260
+ })(Type || {});
261
+ var Target = /* @__PURE__ */ ((Target2) => {
262
+ Target2["SELF"] = "SELF";
263
+ Target2["BLANK"] = "BLANK";
264
+ Target2["PARENT"] = "PARENT";
265
+ Target2["TOP"] = "TOP";
266
+ return Target2;
267
+ })(Target || {});
268
+ var TextAlignment = /* @__PURE__ */ ((TextAlignment2) => {
269
+ TextAlignment2["AUTO"] = "AUTO";
270
+ TextAlignment2["LEFT"] = "LEFT";
271
+ TextAlignment2["RIGHT"] = "RIGHT";
272
+ TextAlignment2["CENTER"] = "CENTER";
273
+ TextAlignment2["JUSTIFY"] = "JUSTIFY";
274
+ return TextAlignment2;
275
+ })(TextAlignment || {});
276
+ var LineStyle = /* @__PURE__ */ ((LineStyle2) => {
277
+ LineStyle2["SINGLE"] = "SINGLE";
278
+ LineStyle2["DOUBLE"] = "DOUBLE";
279
+ LineStyle2["DASHED"] = "DASHED";
280
+ LineStyle2["DOTTED"] = "DOTTED";
281
+ return LineStyle2;
282
+ })(LineStyle || {});
283
+ var Width = /* @__PURE__ */ ((Width2) => {
284
+ Width2["LARGE"] = "LARGE";
285
+ Width2["MEDIUM"] = "MEDIUM";
286
+ Width2["SMALL"] = "SMALL";
287
+ return Width2;
288
+ })(Width || {});
289
+ var Alignment = /* @__PURE__ */ ((Alignment2) => {
290
+ Alignment2["CENTER"] = "CENTER";
291
+ Alignment2["LEFT"] = "LEFT";
292
+ Alignment2["RIGHT"] = "RIGHT";
293
+ return Alignment2;
294
+ })(Alignment || {});
295
+ var ViewMode = /* @__PURE__ */ ((ViewMode2) => {
296
+ ViewMode2["NONE"] = "NONE";
297
+ ViewMode2["FULL"] = "FULL";
298
+ ViewMode2["MINI"] = "MINI";
299
+ return ViewMode2;
300
+ })(ViewMode || {});
301
+ var LayoutType = /* @__PURE__ */ ((LayoutType2) => {
302
+ LayoutType2["COLLAGE"] = "COLLAGE";
303
+ LayoutType2["MASONRY"] = "MASONRY";
304
+ LayoutType2["GRID"] = "GRID";
305
+ LayoutType2["THUMBNAIL"] = "THUMBNAIL";
306
+ LayoutType2["SLIDER"] = "SLIDER";
307
+ LayoutType2["SLIDESHOW"] = "SLIDESHOW";
308
+ LayoutType2["PANORAMA"] = "PANORAMA";
309
+ LayoutType2["COLUMN"] = "COLUMN";
310
+ LayoutType2["MAGIC"] = "MAGIC";
311
+ LayoutType2["FULLSIZE"] = "FULLSIZE";
312
+ return LayoutType2;
313
+ })(LayoutType || {});
314
+ var Orientation = /* @__PURE__ */ ((Orientation2) => {
315
+ Orientation2["ROWS"] = "ROWS";
316
+ Orientation2["COLUMNS"] = "COLUMNS";
317
+ return Orientation2;
318
+ })(Orientation || {});
319
+ var Crop = /* @__PURE__ */ ((Crop2) => {
320
+ Crop2["FILL"] = "FILL";
321
+ Crop2["FIT"] = "FIT";
322
+ return Crop2;
323
+ })(Crop || {});
324
+ var ThumbnailsAlignment = /* @__PURE__ */ ((ThumbnailsAlignment2) => {
325
+ ThumbnailsAlignment2["TOP"] = "TOP";
326
+ ThumbnailsAlignment2["RIGHT"] = "RIGHT";
327
+ ThumbnailsAlignment2["BOTTOM"] = "BOTTOM";
328
+ ThumbnailsAlignment2["LEFT"] = "LEFT";
329
+ ThumbnailsAlignment2["NONE"] = "NONE";
330
+ return ThumbnailsAlignment2;
331
+ })(ThumbnailsAlignment || {});
332
+ var GIFType = /* @__PURE__ */ ((GIFType2) => {
333
+ GIFType2["NORMAL"] = "NORMAL";
334
+ GIFType2["STICKER"] = "STICKER";
335
+ return GIFType2;
336
+ })(GIFType || {});
337
+ var Source = /* @__PURE__ */ ((Source2) => {
338
+ Source2["HTML"] = "HTML";
339
+ Source2["ADSENSE"] = "ADSENSE";
340
+ return Source2;
341
+ })(Source || {});
342
+ var Position = /* @__PURE__ */ ((Position2) => {
343
+ Position2["START"] = "START";
344
+ Position2["END"] = "END";
345
+ Position2["TOP"] = "TOP";
346
+ Position2["HIDDEN"] = "HIDDEN";
347
+ return Position2;
348
+ })(Position || {});
349
+ var MapType = /* @__PURE__ */ ((MapType2) => {
350
+ MapType2["ROADMAP"] = "ROADMAP";
351
+ MapType2["SATELITE"] = "SATELITE";
352
+ MapType2["HYBRID"] = "HYBRID";
353
+ MapType2["TERRAIN"] = "TERRAIN";
354
+ return MapType2;
355
+ })(MapType || {});
356
+ var ViewRole = /* @__PURE__ */ ((ViewRole2) => {
357
+ ViewRole2["CREATOR"] = "CREATOR";
358
+ ViewRole2["VOTERS"] = "VOTERS";
359
+ ViewRole2["EVERYONE"] = "EVERYONE";
360
+ return ViewRole2;
361
+ })(ViewRole || {});
362
+ var VoteRole = /* @__PURE__ */ ((VoteRole2) => {
363
+ VoteRole2["SITE_MEMBERS"] = "SITE_MEMBERS";
364
+ VoteRole2["ALL"] = "ALL";
365
+ return VoteRole2;
366
+ })(VoteRole || {});
367
+ var PollLayoutType = /* @__PURE__ */ ((PollLayoutType2) => {
368
+ PollLayoutType2["LIST"] = "LIST";
369
+ PollLayoutType2["GRID"] = "GRID";
370
+ return PollLayoutType2;
371
+ })(PollLayoutType || {});
372
+ var PollLayoutDirection = /* @__PURE__ */ ((PollLayoutDirection2) => {
373
+ PollLayoutDirection2["LTR"] = "LTR";
374
+ PollLayoutDirection2["RTL"] = "RTL";
375
+ return PollLayoutDirection2;
376
+ })(PollLayoutDirection || {});
377
+ var BackgroundType = /* @__PURE__ */ ((BackgroundType2) => {
378
+ BackgroundType2["COLOR"] = "COLOR";
379
+ BackgroundType2["IMAGE"] = "IMAGE";
380
+ BackgroundType2["GRADIENT"] = "GRADIENT";
381
+ return BackgroundType2;
382
+ })(BackgroundType || {});
383
+ var DecorationType = /* @__PURE__ */ ((DecorationType2) => {
384
+ DecorationType2["BOLD"] = "BOLD";
385
+ DecorationType2["ITALIC"] = "ITALIC";
386
+ DecorationType2["UNDERLINE"] = "UNDERLINE";
387
+ DecorationType2["SPOILER"] = "SPOILER";
388
+ DecorationType2["ANCHOR"] = "ANCHOR";
389
+ DecorationType2["MENTION"] = "MENTION";
390
+ DecorationType2["LINK"] = "LINK";
391
+ DecorationType2["COLOR"] = "COLOR";
392
+ DecorationType2["FONT_SIZE"] = "FONT_SIZE";
393
+ DecorationType2["EXTERNAL"] = "EXTERNAL";
394
+ DecorationType2["STRIKETHROUGH"] = "STRIKETHROUGH";
395
+ DecorationType2["SUPERSCRIPT"] = "SUPERSCRIPT";
396
+ DecorationType2["SUBSCRIPT"] = "SUBSCRIPT";
397
+ return DecorationType2;
398
+ })(DecorationType || {});
399
+ var FontType = /* @__PURE__ */ ((FontType2) => {
400
+ FontType2["PX"] = "PX";
401
+ FontType2["EM"] = "EM";
402
+ return FontType2;
403
+ })(FontType || {});
404
+ var AppType = /* @__PURE__ */ ((AppType2) => {
405
+ AppType2["PRODUCT"] = "PRODUCT";
406
+ AppType2["EVENT"] = "EVENT";
407
+ AppType2["BOOKING"] = "BOOKING";
408
+ return AppType2;
409
+ })(AppType || {});
410
+ var InitialExpandedItems = /* @__PURE__ */ ((InitialExpandedItems2) => {
411
+ InitialExpandedItems2["FIRST"] = "FIRST";
412
+ InitialExpandedItems2["ALL"] = "ALL";
413
+ InitialExpandedItems2["NONE"] = "NONE";
414
+ return InitialExpandedItems2;
415
+ })(InitialExpandedItems || {});
416
+ var Direction = /* @__PURE__ */ ((Direction2) => {
417
+ Direction2["LTR"] = "LTR";
418
+ Direction2["RTL"] = "RTL";
419
+ return Direction2;
420
+ })(Direction || {});
421
+ var VerticalAlignment = /* @__PURE__ */ ((VerticalAlignment2) => {
422
+ VerticalAlignment2["TOP"] = "TOP";
423
+ VerticalAlignment2["MIDDLE"] = "MIDDLE";
424
+ VerticalAlignment2["BOTTOM"] = "BOTTOM";
425
+ return VerticalAlignment2;
426
+ })(VerticalAlignment || {});
427
+ var NullValue = /* @__PURE__ */ ((NullValue2) => {
428
+ NullValue2["NULL_VALUE"] = "NULL_VALUE";
429
+ return NullValue2;
430
+ })(NullValue || {});
431
+ var SortOrder = /* @__PURE__ */ ((SortOrder2) => {
432
+ SortOrder2["ASC"] = "ASC";
433
+ SortOrder2["DESC"] = "DESC";
434
+ return SortOrder2;
435
+ })(SortOrder || {});
436
+ var WebhookIdentityType = /* @__PURE__ */ ((WebhookIdentityType2) => {
437
+ WebhookIdentityType2["UNKNOWN"] = "UNKNOWN";
438
+ WebhookIdentityType2["ANONYMOUS_VISITOR"] = "ANONYMOUS_VISITOR";
439
+ WebhookIdentityType2["MEMBER"] = "MEMBER";
440
+ WebhookIdentityType2["WIX_USER"] = "WIX_USER";
441
+ WebhookIdentityType2["APP"] = "APP";
442
+ return WebhookIdentityType2;
443
+ })(WebhookIdentityType || {});
444
+ function queryPublishedContent2() {
445
+ const { httpClient, sideEffects } = arguments[0];
446
+ return queryBuilder({
447
+ func: async (payload) => {
448
+ const reqOpts = queryPublishedContent(
449
+ payload
450
+ );
451
+ sideEffects?.onSiteCall?.();
452
+ try {
453
+ const result = await httpClient.request(reqOpts);
454
+ sideEffects?.onSuccess?.(result);
455
+ return result;
456
+ } catch (err) {
457
+ sideEffects?.onError?.(err);
458
+ throw err;
459
+ }
460
+ },
461
+ requestTransformer: (query) => {
462
+ const args = [query, {}];
463
+ return renameKeysFromSDKRequestToRESTRequest(
464
+ { ...args?.[1], query: args?.[0] },
465
+ []
466
+ );
467
+ },
468
+ responseTransformer: ({
469
+ data
470
+ }) => {
471
+ const transformedData = renameKeysFromRESTResponseToSDKResponse(
472
+ transformPaths2(data, [
473
+ {
474
+ transformFn: transformRESTImageToSDKImage,
475
+ paths: [{ path: "publishedContent.fields.image" }]
476
+ },
477
+ {
478
+ transformFn: transformRESTVideoV2ToSDKVideoV2,
479
+ paths: [{ path: "publishedContent.fields.video" }]
480
+ },
481
+ {
482
+ transformFn: transformRESTDocumentToSDKDocument,
483
+ paths: [{ path: "publishedContent.fields.document" }]
484
+ }
485
+ ]),
486
+ ["publishedContent.fields.richContent"]
487
+ );
488
+ return {
489
+ items: transformedData?.publishedContent,
490
+ pagingMetadata: transformedData?.pagingMetadata
491
+ };
492
+ },
493
+ errorTransformer: (err) => {
494
+ const transformedError = sdkTransformError(err, {
495
+ spreadPathsToArguments: {},
496
+ explicitPathsToArguments: { query: "$[0]" },
497
+ singleArgumentUnchanged: false
498
+ });
499
+ throw transformedError;
500
+ },
501
+ pagingMethod: "CURSOR",
502
+ transformationPaths: {}
503
+ });
504
+ }
505
+ export {
506
+ Alignment,
507
+ AppType,
508
+ BackgroundType,
509
+ Crop,
510
+ DecorationType,
511
+ Direction,
512
+ FontType,
513
+ GIFType,
514
+ InitialExpandedItems,
515
+ LayoutType,
516
+ LineStyle,
517
+ MapType,
518
+ NodeType,
519
+ NullValue,
520
+ Orientation,
521
+ PluginContainerDataAlignment,
522
+ PollLayoutDirection,
523
+ PollLayoutType,
524
+ Position,
525
+ SchemaScope,
526
+ SortOrder,
527
+ Source,
528
+ Target,
529
+ TextAlignment,
530
+ ThumbnailsAlignment,
531
+ Type,
532
+ VerticalAlignment,
533
+ ViewMode,
534
+ ViewRole,
535
+ VoteRole,
536
+ WebhookIdentityType,
537
+ Width,
538
+ WidthType,
539
+ queryPublishedContent2 as queryPublishedContent
540
+ };
541
+ //# sourceMappingURL=index.typings.mjs.map