@wix/auto_sdk_blog_posts 1.0.33 → 1.0.35

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 (33) hide show
  1. package/build/cjs/index.d.ts +31 -24
  2. package/build/cjs/index.js +15 -10
  3. package/build/cjs/index.js.map +1 -1
  4. package/build/cjs/{blog-v3-post-posts.universal-hTPKKRYx.d.ts → index.typings.d.ts} +211 -1
  5. package/build/cjs/index.typings.js +1630 -0
  6. package/build/cjs/index.typings.js.map +1 -0
  7. package/build/cjs/meta.d.ts +2 -1
  8. package/build/cjs/meta.js.map +1 -1
  9. package/build/es/index.d.mts +31 -24
  10. package/build/es/index.mjs +15 -10
  11. package/build/es/index.mjs.map +1 -1
  12. package/build/es/{blog-v3-post-posts.universal-hTPKKRYx.d.mts → index.typings.d.mts} +211 -1
  13. package/build/es/index.typings.mjs +1559 -0
  14. package/build/es/index.typings.mjs.map +1 -0
  15. package/build/es/meta.d.mts +2 -1
  16. package/build/es/meta.mjs.map +1 -1
  17. package/build/internal/cjs/index.d.ts +31 -24
  18. package/build/internal/cjs/index.js +15 -10
  19. package/build/internal/cjs/index.js.map +1 -1
  20. package/build/internal/cjs/{blog-v3-post-posts.universal-D8MomLjA.d.ts → index.typings.d.ts} +211 -1
  21. package/build/internal/cjs/index.typings.js +1630 -0
  22. package/build/internal/cjs/index.typings.js.map +1 -0
  23. package/build/internal/cjs/meta.d.ts +2 -1
  24. package/build/internal/cjs/meta.js.map +1 -1
  25. package/build/internal/es/index.d.mts +31 -24
  26. package/build/internal/es/index.mjs +15 -10
  27. package/build/internal/es/index.mjs.map +1 -1
  28. package/build/internal/es/{blog-v3-post-posts.universal-D8MomLjA.d.mts → index.typings.d.mts} +211 -1
  29. package/build/internal/es/index.typings.mjs +1559 -0
  30. package/build/internal/es/index.typings.mjs.map +1 -0
  31. package/build/internal/es/meta.d.mts +2 -1
  32. package/build/internal/es/meta.mjs.map +1 -1
  33. package/package.json +3 -3
@@ -0,0 +1,1559 @@
1
+ // src/blog-v3-post-posts.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/blog-v3-post-posts.http.ts
10
+ import { toURLSearchParams } from "@wix/sdk-runtime/rest-modules";
11
+ import { transformRESTFloatToSDKFloat } from "@wix/sdk-runtime/transformations/float";
12
+ import { transformRESTBytesToSDKBytes } from "@wix/sdk-runtime/transformations/bytes";
13
+ import { transformSDKTimestampToRESTTimestamp } from "@wix/sdk-runtime/transformations/timestamp";
14
+ import { transformRESTTimestampToSDKTimestamp } from "@wix/sdk-runtime/transformations/timestamp";
15
+ import { transformPaths } from "@wix/sdk-runtime/transformations/transform-paths";
16
+ import { resolveUrl } from "@wix/sdk-runtime/rest-modules";
17
+ function resolveComWixpressNpmCommunitiesPlatformizedBlogV3PostServiceUrl(opts) {
18
+ const domainToMappings = {
19
+ "api._api_base_domain_": [
20
+ {
21
+ srcPath: "/communities-blog-node-api",
22
+ destPath: ""
23
+ }
24
+ ],
25
+ "www._base_domain_": [
26
+ {
27
+ srcPath: "/_api/communities-blog-node-api",
28
+ destPath: ""
29
+ },
30
+ {
31
+ srcPath: "/_api/communities-blog-node-api/v3/posts",
32
+ destPath: "/v3/posts"
33
+ },
34
+ {
35
+ srcPath: "/_api/communities-blog-node-api/v2/stats",
36
+ destPath: "/v2/stats"
37
+ }
38
+ ],
39
+ "apps._base_domain_": [
40
+ {
41
+ srcPath: "/_api/communities-blog-node-api",
42
+ destPath: ""
43
+ },
44
+ {
45
+ srcPath: "/_api/communities-blog-node-api/v3/posts",
46
+ destPath: "/v3/posts"
47
+ },
48
+ {
49
+ srcPath: "/_api/communities-blog-node-api/v2/stats",
50
+ destPath: "/v2/stats"
51
+ }
52
+ ],
53
+ _: [
54
+ {
55
+ srcPath: "/_api/communities-blog-node-api",
56
+ destPath: ""
57
+ },
58
+ {
59
+ srcPath: "/_api/communities-blog-node-api/_api/blogs/this",
60
+ destPath: "/_api/blogs/this"
61
+ },
62
+ {
63
+ srcPath: "/_api/communities-blog-node-api/_api/categories",
64
+ destPath: "/_api/categories"
65
+ },
66
+ {
67
+ srcPath: "/_api/communities-blog-node-api/_api/site-properties",
68
+ destPath: "/_api/site-properties"
69
+ },
70
+ {
71
+ srcPath: "/_api/communities-blog-node-api/_api/posts/content",
72
+ destPath: "/_api/posts/content"
73
+ },
74
+ {
75
+ srcPath: "/_api/communities-blog-node-api/v3/posts",
76
+ destPath: "/v3/posts"
77
+ },
78
+ {
79
+ srcPath: "/_api/communities-blog-node-api/v2/stats",
80
+ destPath: "/v2/stats"
81
+ }
82
+ ],
83
+ "editor._base_domain_": [
84
+ {
85
+ srcPath: "/_api/communities-blog-node-api",
86
+ destPath: ""
87
+ }
88
+ ],
89
+ "blocks._base_domain_": [
90
+ {
91
+ srcPath: "/_api/communities-blog-node-api",
92
+ destPath: ""
93
+ }
94
+ ],
95
+ "create.editorx": [
96
+ {
97
+ srcPath: "/_api/communities-blog-node-api",
98
+ destPath: ""
99
+ }
100
+ ],
101
+ "*.dev.wix-code.com": [
102
+ {
103
+ srcPath: "/_api/communities-blog-node-api",
104
+ destPath: ""
105
+ }
106
+ ],
107
+ "*.pub.wix-code.com": [
108
+ {
109
+ srcPath: "/_api/communities-blog-node-api",
110
+ destPath: ""
111
+ }
112
+ ],
113
+ "bo._base_domain_": [
114
+ {
115
+ srcPath: "/_api/communities-blog-node-api",
116
+ destPath: ""
117
+ },
118
+ {
119
+ srcPath: "/_api/communities-blog-node-api",
120
+ destPath: ""
121
+ }
122
+ ],
123
+ "wixbo.ai": [
124
+ {
125
+ srcPath: "/_api/communities-blog-node-api",
126
+ destPath: ""
127
+ },
128
+ {
129
+ srcPath: "/_api/communities-blog-node-api",
130
+ destPath: ""
131
+ }
132
+ ],
133
+ "wix-bo.com": [
134
+ {
135
+ srcPath: "/_api/communities-blog-node-api",
136
+ destPath: ""
137
+ },
138
+ {
139
+ srcPath: "/_api/communities-blog-node-api",
140
+ destPath: ""
141
+ }
142
+ ],
143
+ "manage._base_domain_": [
144
+ {
145
+ srcPath: "/_api/communities-blog-node-api",
146
+ destPath: ""
147
+ }
148
+ ],
149
+ "social-blog._base_domain_": [
150
+ {
151
+ srcPath: "/_api/communities-blog-node-api",
152
+ destPath: ""
153
+ }
154
+ ],
155
+ "editor.wixapps.net": [
156
+ {
157
+ srcPath: "/_api/communities-blog-node-api",
158
+ destPath: ""
159
+ }
160
+ ],
161
+ "dev._base_domain_": [
162
+ {
163
+ srcPath: "/_api/communities-blog-node-api",
164
+ destPath: ""
165
+ }
166
+ ],
167
+ "www.wixapis.com": [
168
+ {
169
+ srcPath: "/blog/v2",
170
+ destPath: "/v2"
171
+ },
172
+ {
173
+ srcPath: "/blog/v3",
174
+ destPath: "/v3"
175
+ },
176
+ {
177
+ srcPath: "/v2/stats",
178
+ destPath: "/v2/stats"
179
+ },
180
+ {
181
+ srcPath: "/v3/posts",
182
+ destPath: "/v3/posts"
183
+ },
184
+ {
185
+ srcPath: "/blog/v3/posts",
186
+ destPath: "/v3/posts"
187
+ },
188
+ {
189
+ srcPath: "/blog/v2/stats",
190
+ destPath: "/v2/stats"
191
+ },
192
+ {
193
+ srcPath: "/_api/v3/posts",
194
+ destPath: "/v3/posts"
195
+ }
196
+ ]
197
+ };
198
+ return resolveUrl(Object.assign(opts, { domainToMappings }));
199
+ }
200
+ function resolveComWixpressNpmCommunitiesPlatformizedBlogBlogStatsServiceUrl(opts) {
201
+ const domainToMappings = {
202
+ "api._api_base_domain_": [
203
+ {
204
+ srcPath: "/communities-blog-node-api",
205
+ destPath: ""
206
+ }
207
+ ],
208
+ "www._base_domain_": [
209
+ {
210
+ srcPath: "/_api/communities-blog-node-api",
211
+ destPath: ""
212
+ },
213
+ {
214
+ srcPath: "/_api/communities-blog-node-api/v3/posts",
215
+ destPath: "/v3/posts"
216
+ },
217
+ {
218
+ srcPath: "/_api/communities-blog-node-api/v2/stats",
219
+ destPath: "/v2/stats"
220
+ }
221
+ ],
222
+ "apps._base_domain_": [
223
+ {
224
+ srcPath: "/_api/communities-blog-node-api",
225
+ destPath: ""
226
+ },
227
+ {
228
+ srcPath: "/_api/communities-blog-node-api/v3/posts",
229
+ destPath: "/v3/posts"
230
+ },
231
+ {
232
+ srcPath: "/_api/communities-blog-node-api/v2/stats",
233
+ destPath: "/v2/stats"
234
+ }
235
+ ],
236
+ _: [
237
+ {
238
+ srcPath: "/_api/communities-blog-node-api",
239
+ destPath: ""
240
+ },
241
+ {
242
+ srcPath: "/_api/communities-blog-node-api/_api/blogs/this",
243
+ destPath: "/_api/blogs/this"
244
+ },
245
+ {
246
+ srcPath: "/_api/communities-blog-node-api/_api/categories",
247
+ destPath: "/_api/categories"
248
+ },
249
+ {
250
+ srcPath: "/_api/communities-blog-node-api/_api/site-properties",
251
+ destPath: "/_api/site-properties"
252
+ },
253
+ {
254
+ srcPath: "/_api/communities-blog-node-api/_api/posts/content",
255
+ destPath: "/_api/posts/content"
256
+ },
257
+ {
258
+ srcPath: "/_api/communities-blog-node-api/v3/posts",
259
+ destPath: "/v3/posts"
260
+ },
261
+ {
262
+ srcPath: "/_api/communities-blog-node-api/v2/stats",
263
+ destPath: "/v2/stats"
264
+ }
265
+ ],
266
+ "editor._base_domain_": [
267
+ {
268
+ srcPath: "/_api/communities-blog-node-api",
269
+ destPath: ""
270
+ }
271
+ ],
272
+ "blocks._base_domain_": [
273
+ {
274
+ srcPath: "/_api/communities-blog-node-api",
275
+ destPath: ""
276
+ }
277
+ ],
278
+ "create.editorx": [
279
+ {
280
+ srcPath: "/_api/communities-blog-node-api",
281
+ destPath: ""
282
+ }
283
+ ],
284
+ "*.dev.wix-code.com": [
285
+ {
286
+ srcPath: "/_api/communities-blog-node-api",
287
+ destPath: ""
288
+ }
289
+ ],
290
+ "*.pub.wix-code.com": [
291
+ {
292
+ srcPath: "/_api/communities-blog-node-api",
293
+ destPath: ""
294
+ }
295
+ ],
296
+ "bo._base_domain_": [
297
+ {
298
+ srcPath: "/_api/communities-blog-node-api",
299
+ destPath: ""
300
+ },
301
+ {
302
+ srcPath: "/_api/communities-blog-node-api",
303
+ destPath: ""
304
+ }
305
+ ],
306
+ "wixbo.ai": [
307
+ {
308
+ srcPath: "/_api/communities-blog-node-api",
309
+ destPath: ""
310
+ },
311
+ {
312
+ srcPath: "/_api/communities-blog-node-api",
313
+ destPath: ""
314
+ }
315
+ ],
316
+ "wix-bo.com": [
317
+ {
318
+ srcPath: "/_api/communities-blog-node-api",
319
+ destPath: ""
320
+ },
321
+ {
322
+ srcPath: "/_api/communities-blog-node-api",
323
+ destPath: ""
324
+ }
325
+ ],
326
+ "manage._base_domain_": [
327
+ {
328
+ srcPath: "/_api/communities-blog-node-api",
329
+ destPath: ""
330
+ }
331
+ ],
332
+ "social-blog._base_domain_": [
333
+ {
334
+ srcPath: "/_api/communities-blog-node-api",
335
+ destPath: ""
336
+ }
337
+ ],
338
+ "editor.wixapps.net": [
339
+ {
340
+ srcPath: "/_api/communities-blog-node-api",
341
+ destPath: ""
342
+ }
343
+ ],
344
+ "dev._base_domain_": [
345
+ {
346
+ srcPath: "/_api/communities-blog-node-api",
347
+ destPath: ""
348
+ }
349
+ ],
350
+ "www.wixapis.com": [
351
+ {
352
+ srcPath: "/blog/v2",
353
+ destPath: "/v2"
354
+ },
355
+ {
356
+ srcPath: "/blog/v3",
357
+ destPath: "/v3"
358
+ },
359
+ {
360
+ srcPath: "/v2/stats",
361
+ destPath: "/v2/stats"
362
+ },
363
+ {
364
+ srcPath: "/v3/posts",
365
+ destPath: "/v3/posts"
366
+ },
367
+ {
368
+ srcPath: "/blog/v3/posts",
369
+ destPath: "/v3/posts"
370
+ },
371
+ {
372
+ srcPath: "/blog/v2/stats",
373
+ destPath: "/v2/stats"
374
+ },
375
+ {
376
+ srcPath: "/_api/v3/posts",
377
+ destPath: "/v3/posts"
378
+ }
379
+ ]
380
+ };
381
+ return resolveUrl(Object.assign(opts, { domainToMappings }));
382
+ }
383
+ var PACKAGE_NAME = "@wix/auto_sdk_blog_posts";
384
+ function queryPostCountStats(payload) {
385
+ function __queryPostCountStats({ host }) {
386
+ const serializedData = transformPaths(payload, [
387
+ {
388
+ transformFn: transformSDKTimestampToRESTTimestamp,
389
+ paths: [{ path: "rangeStart" }, { path: "rangeEnd" }]
390
+ }
391
+ ]);
392
+ const metadata = {
393
+ entityFqdn: "wix.blog.v3.post",
394
+ method: "GET",
395
+ methodFqn: "com.wixpress.npm.communities.platformized.blog.BlogStatsService.QueryPostCountStats",
396
+ packageName: PACKAGE_NAME,
397
+ url: resolveComWixpressNpmCommunitiesPlatformizedBlogBlogStatsServiceUrl({
398
+ protoPath: "/v2/stats/post/count",
399
+ data: serializedData,
400
+ host
401
+ }),
402
+ params: toURLSearchParams(serializedData),
403
+ transformResponse: (payload2) => transformPaths(payload2, [
404
+ {
405
+ transformFn: transformRESTTimestampToSDKTimestamp,
406
+ paths: [{ path: "stats.periodStart" }]
407
+ }
408
+ ])
409
+ };
410
+ return metadata;
411
+ }
412
+ return __queryPostCountStats;
413
+ }
414
+ function getTotalPosts(payload) {
415
+ function __getTotalPosts({ host }) {
416
+ const metadata = {
417
+ entityFqdn: "wix.blog.v3.post",
418
+ method: "GET",
419
+ methodFqn: "com.wixpress.npm.communities.platformized.blog.BlogStatsService.GetTotalPosts",
420
+ packageName: PACKAGE_NAME,
421
+ url: resolveComWixpressNpmCommunitiesPlatformizedBlogBlogStatsServiceUrl({
422
+ protoPath: "/v2/stats/posts/total",
423
+ data: payload,
424
+ host
425
+ }),
426
+ params: toURLSearchParams(payload)
427
+ };
428
+ return metadata;
429
+ }
430
+ return __getTotalPosts;
431
+ }
432
+ function getPost(payload) {
433
+ function __getPost({ host }) {
434
+ const metadata = {
435
+ entityFqdn: "wix.blog.v3.post",
436
+ method: "GET",
437
+ methodFqn: "com.wixpress.npm.communities.platformized.blog.v3.PostService.GetPost",
438
+ packageName: PACKAGE_NAME,
439
+ url: resolveComWixpressNpmCommunitiesPlatformizedBlogV3PostServiceUrl({
440
+ protoPath: "/v3/posts/{postId}",
441
+ data: payload,
442
+ host
443
+ }),
444
+ params: toURLSearchParams(payload),
445
+ transformResponse: (payload2) => transformPaths(payload2, [
446
+ {
447
+ transformFn: transformRESTTimestampToSDKTimestamp,
448
+ paths: [
449
+ { path: "post.firstPublishedDate" },
450
+ { path: "post.lastPublishedDate" },
451
+ { path: "post.coverMedia.image.urlExpirationDate" },
452
+ { path: "post.coverMedia.video.thumbnail.urlExpirationDate" },
453
+ { path: "post.heroImage.urlExpirationDate" },
454
+ { path: "post.richContent.metadata.createdTimestamp" },
455
+ { path: "post.richContent.metadata.updatedTimestamp" },
456
+ { path: "post.moderationDetails.submittedDate" },
457
+ { path: "post.moderationDetails.moderationDate" },
458
+ { path: "post.media.wixMedia.image.urlExpirationDate" },
459
+ { path: "post.media.wixMedia.videoV2.urlExpirationDate" },
460
+ {
461
+ path: "post.media.wixMedia.videoV2.resolutions.urlExpirationDate"
462
+ },
463
+ {
464
+ path: "post.media.wixMedia.videoV2.resolutions.poster.urlExpirationDate"
465
+ },
466
+ { path: "post.media.wixMedia.videoV2.posters.urlExpirationDate" }
467
+ ]
468
+ },
469
+ {
470
+ transformFn: transformRESTBytesToSDKBytes,
471
+ paths: [{ path: "post.richContentCompressed" }]
472
+ },
473
+ {
474
+ transformFn: transformRESTFloatToSDKFloat,
475
+ paths: [
476
+ { path: "post.coverMedia.image.focalPoint.x" },
477
+ { path: "post.coverMedia.image.focalPoint.y" },
478
+ { path: "post.coverMedia.video.thumbnail.focalPoint.x" },
479
+ { path: "post.coverMedia.video.thumbnail.focalPoint.y" },
480
+ { path: "post.heroImage.focalPoint.x" },
481
+ { path: "post.heroImage.focalPoint.y" },
482
+ { path: "post.media.wixMedia.image.focalPoint.x" },
483
+ { path: "post.media.wixMedia.image.focalPoint.y" },
484
+ {
485
+ path: "post.media.wixMedia.videoV2.resolutions.poster.focalPoint.x"
486
+ },
487
+ {
488
+ path: "post.media.wixMedia.videoV2.resolutions.poster.focalPoint.y"
489
+ },
490
+ { path: "post.media.wixMedia.videoV2.posters.focalPoint.x" },
491
+ { path: "post.media.wixMedia.videoV2.posters.focalPoint.y" },
492
+ { path: "post.metrics.averageRating" },
493
+ {
494
+ path: "post.richContent.nodes.galleryData.items.image.media.duration"
495
+ },
496
+ {
497
+ path: "post.richContent.nodes.galleryData.items.video.media.duration"
498
+ },
499
+ {
500
+ path: "post.richContent.nodes.galleryData.items.video.thumbnail.duration"
501
+ },
502
+ { path: "post.richContent.nodes.galleryData.options.item.ratio" },
503
+ { path: "post.richContent.nodes.imageData.image.duration" },
504
+ { path: "post.richContent.nodes.mapData.mapSettings.lat" },
505
+ { path: "post.richContent.nodes.mapData.mapSettings.lng" },
506
+ { path: "post.richContent.nodes.pollData.poll.image.duration" },
507
+ {
508
+ path: "post.richContent.nodes.pollData.poll.options.image.duration"
509
+ },
510
+ {
511
+ path: "post.richContent.nodes.pollData.design.poll.background.image.duration"
512
+ },
513
+ { path: "post.richContent.nodes.appEmbedData.image.duration" },
514
+ { path: "post.richContent.nodes.videoData.video.duration" },
515
+ { path: "post.richContent.nodes.videoData.thumbnail.duration" },
516
+ { path: "post.richContent.nodes.audioData.audio.duration" },
517
+ { path: "post.richContent.nodes.audioData.coverImage.duration" }
518
+ ]
519
+ }
520
+ ])
521
+ };
522
+ return metadata;
523
+ }
524
+ return __getPost;
525
+ }
526
+ function getPostBySlug(payload) {
527
+ function __getPostBySlug({ host }) {
528
+ const metadata = {
529
+ entityFqdn: "wix.blog.v3.post",
530
+ method: "GET",
531
+ methodFqn: "com.wixpress.npm.communities.platformized.blog.v3.PostService.GetPostBySlug",
532
+ packageName: PACKAGE_NAME,
533
+ url: resolveComWixpressNpmCommunitiesPlatformizedBlogV3PostServiceUrl({
534
+ protoPath: "/v3/posts/slugs/{slug}",
535
+ data: payload,
536
+ host
537
+ }),
538
+ params: toURLSearchParams(payload),
539
+ transformResponse: (payload2) => transformPaths(payload2, [
540
+ {
541
+ transformFn: transformRESTTimestampToSDKTimestamp,
542
+ paths: [
543
+ { path: "post.firstPublishedDate" },
544
+ { path: "post.lastPublishedDate" },
545
+ { path: "post.coverMedia.image.urlExpirationDate" },
546
+ { path: "post.coverMedia.video.thumbnail.urlExpirationDate" },
547
+ { path: "post.heroImage.urlExpirationDate" },
548
+ { path: "post.richContent.metadata.createdTimestamp" },
549
+ { path: "post.richContent.metadata.updatedTimestamp" },
550
+ { path: "post.moderationDetails.submittedDate" },
551
+ { path: "post.moderationDetails.moderationDate" },
552
+ { path: "post.media.wixMedia.image.urlExpirationDate" },
553
+ { path: "post.media.wixMedia.videoV2.urlExpirationDate" },
554
+ {
555
+ path: "post.media.wixMedia.videoV2.resolutions.urlExpirationDate"
556
+ },
557
+ {
558
+ path: "post.media.wixMedia.videoV2.resolutions.poster.urlExpirationDate"
559
+ },
560
+ { path: "post.media.wixMedia.videoV2.posters.urlExpirationDate" }
561
+ ]
562
+ },
563
+ {
564
+ transformFn: transformRESTBytesToSDKBytes,
565
+ paths: [{ path: "post.richContentCompressed" }]
566
+ },
567
+ {
568
+ transformFn: transformRESTFloatToSDKFloat,
569
+ paths: [
570
+ { path: "post.coverMedia.image.focalPoint.x" },
571
+ { path: "post.coverMedia.image.focalPoint.y" },
572
+ { path: "post.coverMedia.video.thumbnail.focalPoint.x" },
573
+ { path: "post.coverMedia.video.thumbnail.focalPoint.y" },
574
+ { path: "post.heroImage.focalPoint.x" },
575
+ { path: "post.heroImage.focalPoint.y" },
576
+ { path: "post.media.wixMedia.image.focalPoint.x" },
577
+ { path: "post.media.wixMedia.image.focalPoint.y" },
578
+ {
579
+ path: "post.media.wixMedia.videoV2.resolutions.poster.focalPoint.x"
580
+ },
581
+ {
582
+ path: "post.media.wixMedia.videoV2.resolutions.poster.focalPoint.y"
583
+ },
584
+ { path: "post.media.wixMedia.videoV2.posters.focalPoint.x" },
585
+ { path: "post.media.wixMedia.videoV2.posters.focalPoint.y" },
586
+ { path: "post.metrics.averageRating" },
587
+ {
588
+ path: "post.richContent.nodes.galleryData.items.image.media.duration"
589
+ },
590
+ {
591
+ path: "post.richContent.nodes.galleryData.items.video.media.duration"
592
+ },
593
+ {
594
+ path: "post.richContent.nodes.galleryData.items.video.thumbnail.duration"
595
+ },
596
+ { path: "post.richContent.nodes.galleryData.options.item.ratio" },
597
+ { path: "post.richContent.nodes.imageData.image.duration" },
598
+ { path: "post.richContent.nodes.mapData.mapSettings.lat" },
599
+ { path: "post.richContent.nodes.mapData.mapSettings.lng" },
600
+ { path: "post.richContent.nodes.pollData.poll.image.duration" },
601
+ {
602
+ path: "post.richContent.nodes.pollData.poll.options.image.duration"
603
+ },
604
+ {
605
+ path: "post.richContent.nodes.pollData.design.poll.background.image.duration"
606
+ },
607
+ { path: "post.richContent.nodes.appEmbedData.image.duration" },
608
+ { path: "post.richContent.nodes.videoData.video.duration" },
609
+ { path: "post.richContent.nodes.videoData.thumbnail.duration" },
610
+ { path: "post.richContent.nodes.audioData.audio.duration" },
611
+ { path: "post.richContent.nodes.audioData.coverImage.duration" }
612
+ ]
613
+ }
614
+ ])
615
+ };
616
+ return metadata;
617
+ }
618
+ return __getPostBySlug;
619
+ }
620
+ function listPosts(payload) {
621
+ function __listPosts({ host }) {
622
+ const metadata = {
623
+ entityFqdn: "wix.blog.v3.post",
624
+ method: "GET",
625
+ methodFqn: "com.wixpress.npm.communities.platformized.blog.v3.PostService.ListPosts",
626
+ packageName: PACKAGE_NAME,
627
+ url: resolveComWixpressNpmCommunitiesPlatformizedBlogV3PostServiceUrl({
628
+ protoPath: "/v3/posts",
629
+ data: payload,
630
+ host
631
+ }),
632
+ params: toURLSearchParams(payload),
633
+ transformResponse: (payload2) => transformPaths(payload2, [
634
+ {
635
+ transformFn: transformRESTTimestampToSDKTimestamp,
636
+ paths: [
637
+ { path: "posts.firstPublishedDate" },
638
+ { path: "posts.lastPublishedDate" },
639
+ { path: "posts.coverMedia.image.urlExpirationDate" },
640
+ { path: "posts.coverMedia.video.thumbnail.urlExpirationDate" },
641
+ { path: "posts.heroImage.urlExpirationDate" },
642
+ { path: "posts.richContent.metadata.createdTimestamp" },
643
+ { path: "posts.richContent.metadata.updatedTimestamp" },
644
+ { path: "posts.moderationDetails.submittedDate" },
645
+ { path: "posts.moderationDetails.moderationDate" },
646
+ { path: "posts.media.wixMedia.image.urlExpirationDate" },
647
+ { path: "posts.media.wixMedia.videoV2.urlExpirationDate" },
648
+ {
649
+ path: "posts.media.wixMedia.videoV2.resolutions.urlExpirationDate"
650
+ },
651
+ {
652
+ path: "posts.media.wixMedia.videoV2.resolutions.poster.urlExpirationDate"
653
+ },
654
+ {
655
+ path: "posts.media.wixMedia.videoV2.posters.urlExpirationDate"
656
+ }
657
+ ]
658
+ },
659
+ {
660
+ transformFn: transformRESTBytesToSDKBytes,
661
+ paths: [{ path: "posts.richContentCompressed" }]
662
+ },
663
+ {
664
+ transformFn: transformRESTFloatToSDKFloat,
665
+ paths: [
666
+ { path: "posts.coverMedia.image.focalPoint.x" },
667
+ { path: "posts.coverMedia.image.focalPoint.y" },
668
+ { path: "posts.coverMedia.video.thumbnail.focalPoint.x" },
669
+ { path: "posts.coverMedia.video.thumbnail.focalPoint.y" },
670
+ { path: "posts.heroImage.focalPoint.x" },
671
+ { path: "posts.heroImage.focalPoint.y" },
672
+ { path: "posts.media.wixMedia.image.focalPoint.x" },
673
+ { path: "posts.media.wixMedia.image.focalPoint.y" },
674
+ {
675
+ path: "posts.media.wixMedia.videoV2.resolutions.poster.focalPoint.x"
676
+ },
677
+ {
678
+ path: "posts.media.wixMedia.videoV2.resolutions.poster.focalPoint.y"
679
+ },
680
+ { path: "posts.media.wixMedia.videoV2.posters.focalPoint.x" },
681
+ { path: "posts.media.wixMedia.videoV2.posters.focalPoint.y" },
682
+ { path: "posts.metrics.averageRating" },
683
+ {
684
+ path: "posts.richContent.nodes.galleryData.items.image.media.duration"
685
+ },
686
+ {
687
+ path: "posts.richContent.nodes.galleryData.items.video.media.duration"
688
+ },
689
+ {
690
+ path: "posts.richContent.nodes.galleryData.items.video.thumbnail.duration"
691
+ },
692
+ {
693
+ path: "posts.richContent.nodes.galleryData.options.item.ratio"
694
+ },
695
+ { path: "posts.richContent.nodes.imageData.image.duration" },
696
+ { path: "posts.richContent.nodes.mapData.mapSettings.lat" },
697
+ { path: "posts.richContent.nodes.mapData.mapSettings.lng" },
698
+ { path: "posts.richContent.nodes.pollData.poll.image.duration" },
699
+ {
700
+ path: "posts.richContent.nodes.pollData.poll.options.image.duration"
701
+ },
702
+ {
703
+ path: "posts.richContent.nodes.pollData.design.poll.background.image.duration"
704
+ },
705
+ { path: "posts.richContent.nodes.appEmbedData.image.duration" },
706
+ { path: "posts.richContent.nodes.videoData.video.duration" },
707
+ { path: "posts.richContent.nodes.videoData.thumbnail.duration" },
708
+ { path: "posts.richContent.nodes.audioData.audio.duration" },
709
+ { path: "posts.richContent.nodes.audioData.coverImage.duration" }
710
+ ]
711
+ }
712
+ ])
713
+ };
714
+ return metadata;
715
+ }
716
+ return __listPosts;
717
+ }
718
+ function queryPosts(payload) {
719
+ function __queryPosts({ host }) {
720
+ const metadata = {
721
+ entityFqdn: "wix.blog.v3.post",
722
+ method: "POST",
723
+ methodFqn: "com.wixpress.npm.communities.platformized.blog.v3.PostService.QueryPosts",
724
+ packageName: PACKAGE_NAME,
725
+ url: resolveComWixpressNpmCommunitiesPlatformizedBlogV3PostServiceUrl({
726
+ protoPath: "/v3/posts/query",
727
+ data: payload,
728
+ host
729
+ }),
730
+ data: payload,
731
+ transformResponse: (payload2) => transformPaths(payload2, [
732
+ {
733
+ transformFn: transformRESTTimestampToSDKTimestamp,
734
+ paths: [
735
+ { path: "posts.firstPublishedDate" },
736
+ { path: "posts.lastPublishedDate" },
737
+ { path: "posts.coverMedia.image.urlExpirationDate" },
738
+ { path: "posts.coverMedia.video.thumbnail.urlExpirationDate" },
739
+ { path: "posts.heroImage.urlExpirationDate" },
740
+ { path: "posts.richContent.metadata.createdTimestamp" },
741
+ { path: "posts.richContent.metadata.updatedTimestamp" },
742
+ { path: "posts.moderationDetails.submittedDate" },
743
+ { path: "posts.moderationDetails.moderationDate" },
744
+ { path: "posts.media.wixMedia.image.urlExpirationDate" },
745
+ { path: "posts.media.wixMedia.videoV2.urlExpirationDate" },
746
+ {
747
+ path: "posts.media.wixMedia.videoV2.resolutions.urlExpirationDate"
748
+ },
749
+ {
750
+ path: "posts.media.wixMedia.videoV2.resolutions.poster.urlExpirationDate"
751
+ },
752
+ {
753
+ path: "posts.media.wixMedia.videoV2.posters.urlExpirationDate"
754
+ }
755
+ ]
756
+ },
757
+ {
758
+ transformFn: transformRESTBytesToSDKBytes,
759
+ paths: [{ path: "posts.richContentCompressed" }]
760
+ },
761
+ {
762
+ transformFn: transformRESTFloatToSDKFloat,
763
+ paths: [
764
+ { path: "posts.coverMedia.image.focalPoint.x" },
765
+ { path: "posts.coverMedia.image.focalPoint.y" },
766
+ { path: "posts.coverMedia.video.thumbnail.focalPoint.x" },
767
+ { path: "posts.coverMedia.video.thumbnail.focalPoint.y" },
768
+ { path: "posts.heroImage.focalPoint.x" },
769
+ { path: "posts.heroImage.focalPoint.y" },
770
+ { path: "posts.media.wixMedia.image.focalPoint.x" },
771
+ { path: "posts.media.wixMedia.image.focalPoint.y" },
772
+ {
773
+ path: "posts.media.wixMedia.videoV2.resolutions.poster.focalPoint.x"
774
+ },
775
+ {
776
+ path: "posts.media.wixMedia.videoV2.resolutions.poster.focalPoint.y"
777
+ },
778
+ { path: "posts.media.wixMedia.videoV2.posters.focalPoint.x" },
779
+ { path: "posts.media.wixMedia.videoV2.posters.focalPoint.y" },
780
+ { path: "posts.metrics.averageRating" },
781
+ {
782
+ path: "posts.richContent.nodes.galleryData.items.image.media.duration"
783
+ },
784
+ {
785
+ path: "posts.richContent.nodes.galleryData.items.video.media.duration"
786
+ },
787
+ {
788
+ path: "posts.richContent.nodes.galleryData.items.video.thumbnail.duration"
789
+ },
790
+ {
791
+ path: "posts.richContent.nodes.galleryData.options.item.ratio"
792
+ },
793
+ { path: "posts.richContent.nodes.imageData.image.duration" },
794
+ { path: "posts.richContent.nodes.mapData.mapSettings.lat" },
795
+ { path: "posts.richContent.nodes.mapData.mapSettings.lng" },
796
+ { path: "posts.richContent.nodes.pollData.poll.image.duration" },
797
+ {
798
+ path: "posts.richContent.nodes.pollData.poll.options.image.duration"
799
+ },
800
+ {
801
+ path: "posts.richContent.nodes.pollData.design.poll.background.image.duration"
802
+ },
803
+ { path: "posts.richContent.nodes.appEmbedData.image.duration" },
804
+ { path: "posts.richContent.nodes.videoData.video.duration" },
805
+ { path: "posts.richContent.nodes.videoData.thumbnail.duration" },
806
+ { path: "posts.richContent.nodes.audioData.audio.duration" },
807
+ { path: "posts.richContent.nodes.audioData.coverImage.duration" }
808
+ ]
809
+ }
810
+ ])
811
+ };
812
+ return metadata;
813
+ }
814
+ return __queryPosts;
815
+ }
816
+ function getPostMetrics(payload) {
817
+ function __getPostMetrics({ host }) {
818
+ const metadata = {
819
+ entityFqdn: "wix.blog.v3.post",
820
+ method: "GET",
821
+ methodFqn: "com.wixpress.npm.communities.platformized.blog.v3.PostService.GetPostMetrics",
822
+ packageName: PACKAGE_NAME,
823
+ url: resolveComWixpressNpmCommunitiesPlatformizedBlogV3PostServiceUrl({
824
+ protoPath: "/v3/posts/{postId}/metrics",
825
+ data: payload,
826
+ host
827
+ }),
828
+ params: toURLSearchParams(payload),
829
+ transformResponse: (payload2) => transformPaths(payload2, [
830
+ {
831
+ transformFn: transformRESTFloatToSDKFloat,
832
+ paths: [{ path: "metrics.averageRating" }]
833
+ }
834
+ ])
835
+ };
836
+ return metadata;
837
+ }
838
+ return __getPostMetrics;
839
+ }
840
+
841
+ // src/blog-v3-post-posts.universal.ts
842
+ import { transformRESTImageToSDKImage } from "@wix/sdk-runtime/transformations/image";
843
+ import { transformRESTVideoV2ToSDKVideoV2 } from "@wix/sdk-runtime/transformations/video-v2";
844
+ import { transformRESTVideoToSDKVideo } from "@wix/sdk-runtime/transformations/video";
845
+ import { transformRESTPageURLToSDKPageURL } from "@wix/sdk-runtime/transformations/page-url";
846
+ import { transformPaths as transformPaths2 } from "@wix/sdk-runtime/transformations/transform-paths";
847
+ var NodeType = /* @__PURE__ */ ((NodeType2) => {
848
+ NodeType2["PARAGRAPH"] = "PARAGRAPH";
849
+ NodeType2["TEXT"] = "TEXT";
850
+ NodeType2["HEADING"] = "HEADING";
851
+ NodeType2["BULLETED_LIST"] = "BULLETED_LIST";
852
+ NodeType2["ORDERED_LIST"] = "ORDERED_LIST";
853
+ NodeType2["LIST_ITEM"] = "LIST_ITEM";
854
+ NodeType2["BLOCKQUOTE"] = "BLOCKQUOTE";
855
+ NodeType2["CODE_BLOCK"] = "CODE_BLOCK";
856
+ NodeType2["VIDEO"] = "VIDEO";
857
+ NodeType2["DIVIDER"] = "DIVIDER";
858
+ NodeType2["FILE"] = "FILE";
859
+ NodeType2["GALLERY"] = "GALLERY";
860
+ NodeType2["GIF"] = "GIF";
861
+ NodeType2["HTML"] = "HTML";
862
+ NodeType2["IMAGE"] = "IMAGE";
863
+ NodeType2["LINK_PREVIEW"] = "LINK_PREVIEW";
864
+ NodeType2["MAP"] = "MAP";
865
+ NodeType2["POLL"] = "POLL";
866
+ NodeType2["APP_EMBED"] = "APP_EMBED";
867
+ NodeType2["BUTTON"] = "BUTTON";
868
+ NodeType2["COLLAPSIBLE_LIST"] = "COLLAPSIBLE_LIST";
869
+ NodeType2["TABLE"] = "TABLE";
870
+ NodeType2["EMBED"] = "EMBED";
871
+ NodeType2["COLLAPSIBLE_ITEM"] = "COLLAPSIBLE_ITEM";
872
+ NodeType2["COLLAPSIBLE_ITEM_TITLE"] = "COLLAPSIBLE_ITEM_TITLE";
873
+ NodeType2["COLLAPSIBLE_ITEM_BODY"] = "COLLAPSIBLE_ITEM_BODY";
874
+ NodeType2["TABLE_CELL"] = "TABLE_CELL";
875
+ NodeType2["TABLE_ROW"] = "TABLE_ROW";
876
+ NodeType2["EXTERNAL"] = "EXTERNAL";
877
+ NodeType2["AUDIO"] = "AUDIO";
878
+ NodeType2["CAPTION"] = "CAPTION";
879
+ NodeType2["LAYOUT"] = "LAYOUT";
880
+ NodeType2["LAYOUT_CELL"] = "LAYOUT_CELL";
881
+ return NodeType2;
882
+ })(NodeType || {});
883
+ var WidthType = /* @__PURE__ */ ((WidthType2) => {
884
+ WidthType2["CONTENT"] = "CONTENT";
885
+ WidthType2["SMALL"] = "SMALL";
886
+ WidthType2["ORIGINAL"] = "ORIGINAL";
887
+ WidthType2["FULL_WIDTH"] = "FULL_WIDTH";
888
+ return WidthType2;
889
+ })(WidthType || {});
890
+ var PluginContainerDataAlignment = /* @__PURE__ */ ((PluginContainerDataAlignment2) => {
891
+ PluginContainerDataAlignment2["CENTER"] = "CENTER";
892
+ PluginContainerDataAlignment2["LEFT"] = "LEFT";
893
+ PluginContainerDataAlignment2["RIGHT"] = "RIGHT";
894
+ return PluginContainerDataAlignment2;
895
+ })(PluginContainerDataAlignment || {});
896
+ var Type = /* @__PURE__ */ ((Type2) => {
897
+ Type2["LINK"] = "LINK";
898
+ Type2["ACTION"] = "ACTION";
899
+ return Type2;
900
+ })(Type || {});
901
+ var Target = /* @__PURE__ */ ((Target2) => {
902
+ Target2["SELF"] = "SELF";
903
+ Target2["BLANK"] = "BLANK";
904
+ Target2["PARENT"] = "PARENT";
905
+ Target2["TOP"] = "TOP";
906
+ return Target2;
907
+ })(Target || {});
908
+ var TextAlignment = /* @__PURE__ */ ((TextAlignment2) => {
909
+ TextAlignment2["AUTO"] = "AUTO";
910
+ TextAlignment2["LEFT"] = "LEFT";
911
+ TextAlignment2["RIGHT"] = "RIGHT";
912
+ TextAlignment2["CENTER"] = "CENTER";
913
+ TextAlignment2["JUSTIFY"] = "JUSTIFY";
914
+ return TextAlignment2;
915
+ })(TextAlignment || {});
916
+ var LineStyle = /* @__PURE__ */ ((LineStyle2) => {
917
+ LineStyle2["SINGLE"] = "SINGLE";
918
+ LineStyle2["DOUBLE"] = "DOUBLE";
919
+ LineStyle2["DASHED"] = "DASHED";
920
+ LineStyle2["DOTTED"] = "DOTTED";
921
+ return LineStyle2;
922
+ })(LineStyle || {});
923
+ var Width = /* @__PURE__ */ ((Width2) => {
924
+ Width2["LARGE"] = "LARGE";
925
+ Width2["MEDIUM"] = "MEDIUM";
926
+ Width2["SMALL"] = "SMALL";
927
+ return Width2;
928
+ })(Width || {});
929
+ var Alignment = /* @__PURE__ */ ((Alignment2) => {
930
+ Alignment2["CENTER"] = "CENTER";
931
+ Alignment2["LEFT"] = "LEFT";
932
+ Alignment2["RIGHT"] = "RIGHT";
933
+ return Alignment2;
934
+ })(Alignment || {});
935
+ var ViewMode = /* @__PURE__ */ ((ViewMode2) => {
936
+ ViewMode2["NONE"] = "NONE";
937
+ ViewMode2["FULL"] = "FULL";
938
+ ViewMode2["MINI"] = "MINI";
939
+ return ViewMode2;
940
+ })(ViewMode || {});
941
+ var LayoutType = /* @__PURE__ */ ((LayoutType2) => {
942
+ LayoutType2["COLLAGE"] = "COLLAGE";
943
+ LayoutType2["MASONRY"] = "MASONRY";
944
+ LayoutType2["GRID"] = "GRID";
945
+ LayoutType2["THUMBNAIL"] = "THUMBNAIL";
946
+ LayoutType2["SLIDER"] = "SLIDER";
947
+ LayoutType2["SLIDESHOW"] = "SLIDESHOW";
948
+ LayoutType2["PANORAMA"] = "PANORAMA";
949
+ LayoutType2["COLUMN"] = "COLUMN";
950
+ LayoutType2["MAGIC"] = "MAGIC";
951
+ LayoutType2["FULLSIZE"] = "FULLSIZE";
952
+ return LayoutType2;
953
+ })(LayoutType || {});
954
+ var Orientation = /* @__PURE__ */ ((Orientation2) => {
955
+ Orientation2["ROWS"] = "ROWS";
956
+ Orientation2["COLUMNS"] = "COLUMNS";
957
+ return Orientation2;
958
+ })(Orientation || {});
959
+ var Crop = /* @__PURE__ */ ((Crop2) => {
960
+ Crop2["FILL"] = "FILL";
961
+ Crop2["FIT"] = "FIT";
962
+ return Crop2;
963
+ })(Crop || {});
964
+ var ThumbnailsAlignment = /* @__PURE__ */ ((ThumbnailsAlignment2) => {
965
+ ThumbnailsAlignment2["TOP"] = "TOP";
966
+ ThumbnailsAlignment2["RIGHT"] = "RIGHT";
967
+ ThumbnailsAlignment2["BOTTOM"] = "BOTTOM";
968
+ ThumbnailsAlignment2["LEFT"] = "LEFT";
969
+ ThumbnailsAlignment2["NONE"] = "NONE";
970
+ return ThumbnailsAlignment2;
971
+ })(ThumbnailsAlignment || {});
972
+ var GIFType = /* @__PURE__ */ ((GIFType2) => {
973
+ GIFType2["GIF"] = "GIF";
974
+ GIFType2["STICKER"] = "STICKER";
975
+ return GIFType2;
976
+ })(GIFType || {});
977
+ var Source = /* @__PURE__ */ ((Source2) => {
978
+ Source2["HTML"] = "HTML";
979
+ Source2["ADSENSE"] = "ADSENSE";
980
+ return Source2;
981
+ })(Source || {});
982
+ var Position = /* @__PURE__ */ ((Position2) => {
983
+ Position2["START"] = "START";
984
+ Position2["END"] = "END";
985
+ Position2["TOP"] = "TOP";
986
+ Position2["HIDDEN"] = "HIDDEN";
987
+ return Position2;
988
+ })(Position || {});
989
+ var MapType = /* @__PURE__ */ ((MapType2) => {
990
+ MapType2["ROADMAP"] = "ROADMAP";
991
+ MapType2["SATELITE"] = "SATELITE";
992
+ MapType2["HYBRID"] = "HYBRID";
993
+ MapType2["TERRAIN"] = "TERRAIN";
994
+ return MapType2;
995
+ })(MapType || {});
996
+ var ViewRole = /* @__PURE__ */ ((ViewRole2) => {
997
+ ViewRole2["CREATOR"] = "CREATOR";
998
+ ViewRole2["VOTERS"] = "VOTERS";
999
+ ViewRole2["EVERYONE"] = "EVERYONE";
1000
+ return ViewRole2;
1001
+ })(ViewRole || {});
1002
+ var VoteRole = /* @__PURE__ */ ((VoteRole2) => {
1003
+ VoteRole2["SITE_MEMBERS"] = "SITE_MEMBERS";
1004
+ VoteRole2["ALL"] = "ALL";
1005
+ return VoteRole2;
1006
+ })(VoteRole || {});
1007
+ var PollLayoutType = /* @__PURE__ */ ((PollLayoutType2) => {
1008
+ PollLayoutType2["LIST"] = "LIST";
1009
+ PollLayoutType2["GRID"] = "GRID";
1010
+ return PollLayoutType2;
1011
+ })(PollLayoutType || {});
1012
+ var PollLayoutDirection = /* @__PURE__ */ ((PollLayoutDirection2) => {
1013
+ PollLayoutDirection2["LTR"] = "LTR";
1014
+ PollLayoutDirection2["RTL"] = "RTL";
1015
+ return PollLayoutDirection2;
1016
+ })(PollLayoutDirection || {});
1017
+ var BackgroundType = /* @__PURE__ */ ((BackgroundType2) => {
1018
+ BackgroundType2["COLOR"] = "COLOR";
1019
+ BackgroundType2["IMAGE"] = "IMAGE";
1020
+ BackgroundType2["GRADIENT"] = "GRADIENT";
1021
+ return BackgroundType2;
1022
+ })(BackgroundType || {});
1023
+ var DecorationType = /* @__PURE__ */ ((DecorationType2) => {
1024
+ DecorationType2["BOLD"] = "BOLD";
1025
+ DecorationType2["ITALIC"] = "ITALIC";
1026
+ DecorationType2["UNDERLINE"] = "UNDERLINE";
1027
+ DecorationType2["SPOILER"] = "SPOILER";
1028
+ DecorationType2["ANCHOR"] = "ANCHOR";
1029
+ DecorationType2["MENTION"] = "MENTION";
1030
+ DecorationType2["LINK"] = "LINK";
1031
+ DecorationType2["COLOR"] = "COLOR";
1032
+ DecorationType2["FONT_SIZE"] = "FONT_SIZE";
1033
+ DecorationType2["EXTERNAL"] = "EXTERNAL";
1034
+ return DecorationType2;
1035
+ })(DecorationType || {});
1036
+ var FontType = /* @__PURE__ */ ((FontType2) => {
1037
+ FontType2["PX"] = "PX";
1038
+ FontType2["EM"] = "EM";
1039
+ return FontType2;
1040
+ })(FontType || {});
1041
+ var AppType = /* @__PURE__ */ ((AppType2) => {
1042
+ AppType2["PRODUCT"] = "PRODUCT";
1043
+ AppType2["EVENT"] = "EVENT";
1044
+ AppType2["BOOKING"] = "BOOKING";
1045
+ return AppType2;
1046
+ })(AppType || {});
1047
+ var InitialExpandedItems = /* @__PURE__ */ ((InitialExpandedItems2) => {
1048
+ InitialExpandedItems2["FIRST"] = "FIRST";
1049
+ InitialExpandedItems2["ALL"] = "ALL";
1050
+ InitialExpandedItems2["NONE"] = "NONE";
1051
+ return InitialExpandedItems2;
1052
+ })(InitialExpandedItems || {});
1053
+ var Direction = /* @__PURE__ */ ((Direction2) => {
1054
+ Direction2["LTR"] = "LTR";
1055
+ Direction2["RTL"] = "RTL";
1056
+ return Direction2;
1057
+ })(Direction || {});
1058
+ var VerticalAlignment = /* @__PURE__ */ ((VerticalAlignment2) => {
1059
+ VerticalAlignment2["TOP"] = "TOP";
1060
+ VerticalAlignment2["MIDDLE"] = "MIDDLE";
1061
+ VerticalAlignment2["BOTTOM"] = "BOTTOM";
1062
+ return VerticalAlignment2;
1063
+ })(VerticalAlignment || {});
1064
+ var NullValue = /* @__PURE__ */ ((NullValue2) => {
1065
+ NullValue2["NULL_VALUE"] = "NULL_VALUE";
1066
+ return NullValue2;
1067
+ })(NullValue || {});
1068
+ var ModerationStatusStatus = /* @__PURE__ */ ((ModerationStatusStatus2) => {
1069
+ ModerationStatusStatus2["UNKNOWN"] = "UNKNOWN";
1070
+ ModerationStatusStatus2["APPROVED"] = "APPROVED";
1071
+ ModerationStatusStatus2["REJECTED"] = "REJECTED";
1072
+ return ModerationStatusStatus2;
1073
+ })(ModerationStatusStatus || {});
1074
+ var QueryPublicationsCountStatsRequestOrder = /* @__PURE__ */ ((QueryPublicationsCountStatsRequestOrder2) => {
1075
+ QueryPublicationsCountStatsRequestOrder2["UNKNOWN"] = "UNKNOWN";
1076
+ QueryPublicationsCountStatsRequestOrder2["OLDEST"] = "OLDEST";
1077
+ QueryPublicationsCountStatsRequestOrder2["NEWEST"] = "NEWEST";
1078
+ return QueryPublicationsCountStatsRequestOrder2;
1079
+ })(QueryPublicationsCountStatsRequestOrder || {});
1080
+ var Order = /* @__PURE__ */ ((Order2) => {
1081
+ Order2["UNKNOWN"] = "UNKNOWN";
1082
+ Order2["OLDEST"] = "OLDEST";
1083
+ Order2["NEWEST"] = "NEWEST";
1084
+ return Order2;
1085
+ })(Order || {});
1086
+ var WebhookIdentityType = /* @__PURE__ */ ((WebhookIdentityType2) => {
1087
+ WebhookIdentityType2["UNKNOWN"] = "UNKNOWN";
1088
+ WebhookIdentityType2["ANONYMOUS_VISITOR"] = "ANONYMOUS_VISITOR";
1089
+ WebhookIdentityType2["MEMBER"] = "MEMBER";
1090
+ WebhookIdentityType2["WIX_USER"] = "WIX_USER";
1091
+ WebhookIdentityType2["APP"] = "APP";
1092
+ return WebhookIdentityType2;
1093
+ })(WebhookIdentityType || {});
1094
+ var GetPostTemplatesSort = /* @__PURE__ */ ((GetPostTemplatesSort2) => {
1095
+ GetPostTemplatesSort2["PUBLISHED_DATE_ASC"] = "PUBLISHED_DATE_ASC";
1096
+ GetPostTemplatesSort2["PUBLISHED_DATE_DESC"] = "PUBLISHED_DATE_DESC";
1097
+ return GetPostTemplatesSort2;
1098
+ })(GetPostTemplatesSort || {});
1099
+ var Origin = /* @__PURE__ */ ((Origin2) => {
1100
+ Origin2["UNKNOWN"] = "UNKNOWN";
1101
+ Origin2["ADMIN"] = "ADMIN";
1102
+ Origin2["ADD_CATEGORIES"] = "ADD_CATEGORIES";
1103
+ Origin2["AUTO_SAVE"] = "AUTO_SAVE";
1104
+ Origin2["COPY_TEMPLATE"] = "COPY_TEMPLATE";
1105
+ Origin2["IMPORT"] = "IMPORT";
1106
+ Origin2["IMPORT_BULK"] = "IMPORT_BULK";
1107
+ Origin2["IMPORT_HTML"] = "IMPORT_HTML";
1108
+ Origin2["IMPORT_PATCH"] = "IMPORT_PATCH";
1109
+ Origin2["LANGUAGE_CHANGE"] = "LANGUAGE_CHANGE";
1110
+ Origin2["MANUAL_SAVE"] = "MANUAL_SAVE";
1111
+ Origin2["MIGRATION"] = "MIGRATION";
1112
+ Origin2["MODERATION"] = "MODERATION";
1113
+ Origin2["MOVE_TO_TRASH"] = "MOVE_TO_TRASH";
1114
+ Origin2["PRICING_PLANS_CHANGE"] = "PRICING_PLANS_CHANGE";
1115
+ Origin2["PROVISION"] = "PROVISION";
1116
+ Origin2["PUBLISH"] = "PUBLISH";
1117
+ Origin2["REASSIGN_OWNER"] = "REASSIGN_OWNER";
1118
+ Origin2["REBLOG"] = "REBLOG";
1119
+ Origin2["RESTORE"] = "RESTORE";
1120
+ Origin2["REVERT_TO_DRAFT"] = "REVERT_TO_DRAFT";
1121
+ Origin2["TRANSLATION"] = "TRANSLATION";
1122
+ Origin2["UNPUBLISH"] = "UNPUBLISH";
1123
+ Origin2["UNSCHEDULE"] = "UNSCHEDULE";
1124
+ Origin2["NEW_EDIT_SESSION"] = "NEW_EDIT_SESSION";
1125
+ Origin2["SCHEDULING_SERVICE_SCHEDULE"] = "SCHEDULING_SERVICE_SCHEDULE";
1126
+ Origin2["SCHEDULING_SERVICE_UNSCHEDULE"] = "SCHEDULING_SERVICE_UNSCHEDULE";
1127
+ Origin2["SCHEDULING_SERVICE_PUBLISH"] = "SCHEDULING_SERVICE_PUBLISH";
1128
+ Origin2["SCHEDULE"] = "SCHEDULE";
1129
+ Origin2["REMOVE_FROM_MODERATION"] = "REMOVE_FROM_MODERATION";
1130
+ Origin2["REJECT_FROM_MODERATION"] = "REJECT_FROM_MODERATION";
1131
+ Origin2["APPROVE_IN_MODERATION"] = "APPROVE_IN_MODERATION";
1132
+ Origin2["DELETE_TAG"] = "DELETE_TAG";
1133
+ Origin2["PIN"] = "PIN";
1134
+ Origin2["UNPIN"] = "UNPIN";
1135
+ Origin2["AI_AUTO_SAVE"] = "AI_AUTO_SAVE";
1136
+ return Origin2;
1137
+ })(Origin || {});
1138
+ var Status = /* @__PURE__ */ ((Status2) => {
1139
+ Status2["UNKNOWN"] = "UNKNOWN";
1140
+ Status2["PUBLISHED"] = "PUBLISHED";
1141
+ Status2["UNPUBLISHED"] = "UNPUBLISHED";
1142
+ Status2["SCHEDULED"] = "SCHEDULED";
1143
+ Status2["DELETED"] = "DELETED";
1144
+ Status2["IN_REVIEW"] = "IN_REVIEW";
1145
+ return Status2;
1146
+ })(Status || {});
1147
+ var Field = /* @__PURE__ */ ((Field2) => {
1148
+ Field2["UNKNOWN"] = "UNKNOWN";
1149
+ Field2["TOTAL_COMMENTS"] = "TOTAL_COMMENTS";
1150
+ Field2["LIKE_COUNT"] = "LIKE_COUNT";
1151
+ Field2["VIEW_COUNT"] = "VIEW_COUNT";
1152
+ Field2["RATING_COUNT"] = "RATING_COUNT";
1153
+ return Field2;
1154
+ })(Field || {});
1155
+ var PostFieldField = /* @__PURE__ */ ((PostFieldField2) => {
1156
+ PostFieldField2["UNKNOWN"] = "UNKNOWN";
1157
+ PostFieldField2["URL"] = "URL";
1158
+ PostFieldField2["CONTENT_TEXT"] = "CONTENT_TEXT";
1159
+ PostFieldField2["METRICS"] = "METRICS";
1160
+ PostFieldField2["SEO"] = "SEO";
1161
+ PostFieldField2["CONTACT_ID"] = "CONTACT_ID";
1162
+ PostFieldField2["RICH_CONTENT"] = "RICH_CONTENT";
1163
+ PostFieldField2["REFERENCE_ID"] = "REFERENCE_ID";
1164
+ return PostFieldField2;
1165
+ })(PostFieldField || {});
1166
+ var GetPostsSort = /* @__PURE__ */ ((GetPostsSort2) => {
1167
+ GetPostsSort2["FEED"] = "FEED";
1168
+ GetPostsSort2["PUBLISHED_DATE_ASC"] = "PUBLISHED_DATE_ASC";
1169
+ GetPostsSort2["PUBLISHED_DATE_DESC"] = "PUBLISHED_DATE_DESC";
1170
+ GetPostsSort2["VIEW_COUNT"] = "VIEW_COUNT";
1171
+ GetPostsSort2["LIKE_COUNT"] = "LIKE_COUNT";
1172
+ GetPostsSort2["TITLE_ASC"] = "TITLE_ASC";
1173
+ GetPostsSort2["TITLE_DESC"] = "TITLE_DESC";
1174
+ return GetPostsSort2;
1175
+ })(GetPostsSort || {});
1176
+ var SortOrder = /* @__PURE__ */ ((SortOrder2) => {
1177
+ SortOrder2["ASC"] = "ASC";
1178
+ SortOrder2["DESC"] = "DESC";
1179
+ return SortOrder2;
1180
+ })(SortOrder || {});
1181
+ async function queryPostCountStats2(options) {
1182
+ const { httpClient, sideEffects } = arguments[1];
1183
+ const payload = renameKeysFromSDKRequestToRESTRequest(
1184
+ {
1185
+ rangeStart: options?.rangeStart,
1186
+ order: options?.order,
1187
+ months: options?.months,
1188
+ language: options?.language,
1189
+ timeZone: options?.timeZone
1190
+ },
1191
+ []
1192
+ );
1193
+ const reqOpts = queryPostCountStats(payload);
1194
+ sideEffects?.onSiteCall?.();
1195
+ try {
1196
+ const result = await httpClient.request(reqOpts);
1197
+ sideEffects?.onSuccess?.(result);
1198
+ return renameKeysFromRESTResponseToSDKResponse(result.data, []);
1199
+ } catch (err) {
1200
+ const transformedError = sdkTransformError(
1201
+ err,
1202
+ {
1203
+ spreadPathsToArguments: {},
1204
+ explicitPathsToArguments: {
1205
+ rangeStart: "$[0].rangeStart",
1206
+ order: "$[0].order",
1207
+ months: "$[0].months",
1208
+ language: "$[0].language",
1209
+ timeZone: "$[0].timeZone"
1210
+ },
1211
+ singleArgumentUnchanged: false
1212
+ },
1213
+ ["options"]
1214
+ );
1215
+ sideEffects?.onError?.(err);
1216
+ throw transformedError;
1217
+ }
1218
+ }
1219
+ async function getTotalPosts2(options) {
1220
+ const { httpClient, sideEffects } = arguments[1];
1221
+ const payload = renameKeysFromSDKRequestToRESTRequest(
1222
+ { language: options?.language },
1223
+ []
1224
+ );
1225
+ const reqOpts = getTotalPosts(payload);
1226
+ sideEffects?.onSiteCall?.();
1227
+ try {
1228
+ const result = await httpClient.request(reqOpts);
1229
+ sideEffects?.onSuccess?.(result);
1230
+ return renameKeysFromRESTResponseToSDKResponse(result.data, []);
1231
+ } catch (err) {
1232
+ const transformedError = sdkTransformError(
1233
+ err,
1234
+ {
1235
+ spreadPathsToArguments: {},
1236
+ explicitPathsToArguments: { language: "$[0].language" },
1237
+ singleArgumentUnchanged: false
1238
+ },
1239
+ ["options"]
1240
+ );
1241
+ sideEffects?.onError?.(err);
1242
+ throw transformedError;
1243
+ }
1244
+ }
1245
+ async function getPost2(postId, options) {
1246
+ const { httpClient, sideEffects } = arguments[2];
1247
+ const payload = renameKeysFromSDKRequestToRESTRequest(
1248
+ { postId, fieldsets: options?.fieldsets },
1249
+ []
1250
+ );
1251
+ const reqOpts = getPost(payload);
1252
+ sideEffects?.onSiteCall?.();
1253
+ try {
1254
+ const result = await httpClient.request(reqOpts);
1255
+ sideEffects?.onSuccess?.(result);
1256
+ return renameKeysFromRESTResponseToSDKResponse(
1257
+ transformPaths2(result.data, [
1258
+ {
1259
+ transformFn: transformRESTPageURLToSDKPageURL,
1260
+ paths: [{ path: "post.url" }, { path: "post.translations.url" }]
1261
+ },
1262
+ {
1263
+ transformFn: transformRESTImageToSDKImage,
1264
+ paths: [
1265
+ { path: "post.heroImage" },
1266
+ { path: "post.coverMedia.image" },
1267
+ { path: "post.media.wixMedia.image" }
1268
+ ]
1269
+ },
1270
+ {
1271
+ transformFn: transformRESTVideoToSDKVideo,
1272
+ paths: [{ path: "post.coverMedia.video" }]
1273
+ },
1274
+ {
1275
+ transformFn: transformRESTVideoV2ToSDKVideoV2,
1276
+ paths: [{ path: "post.media.wixMedia.videoV2" }]
1277
+ }
1278
+ ]),
1279
+ ["post.richContent", "post.rich_content"]
1280
+ );
1281
+ } catch (err) {
1282
+ const transformedError = sdkTransformError(
1283
+ err,
1284
+ {
1285
+ spreadPathsToArguments: {},
1286
+ explicitPathsToArguments: {
1287
+ postId: "$[0]",
1288
+ fieldsets: "$[1].fieldsets"
1289
+ },
1290
+ singleArgumentUnchanged: false
1291
+ },
1292
+ ["postId", "options"]
1293
+ );
1294
+ sideEffects?.onError?.(err);
1295
+ throw transformedError;
1296
+ }
1297
+ }
1298
+ async function getPostBySlug2(slug, options) {
1299
+ const { httpClient, sideEffects } = arguments[2];
1300
+ const payload = renameKeysFromSDKRequestToRESTRequest(
1301
+ { slug, fieldsets: options?.fieldsets },
1302
+ []
1303
+ );
1304
+ const reqOpts = getPostBySlug(payload);
1305
+ sideEffects?.onSiteCall?.();
1306
+ try {
1307
+ const result = await httpClient.request(reqOpts);
1308
+ sideEffects?.onSuccess?.(result);
1309
+ return renameKeysFromRESTResponseToSDKResponse(
1310
+ transformPaths2(result.data, [
1311
+ {
1312
+ transformFn: transformRESTPageURLToSDKPageURL,
1313
+ paths: [{ path: "post.url" }, { path: "post.translations.url" }]
1314
+ },
1315
+ {
1316
+ transformFn: transformRESTImageToSDKImage,
1317
+ paths: [
1318
+ { path: "post.heroImage" },
1319
+ { path: "post.coverMedia.image" },
1320
+ { path: "post.media.wixMedia.image" }
1321
+ ]
1322
+ },
1323
+ {
1324
+ transformFn: transformRESTVideoToSDKVideo,
1325
+ paths: [{ path: "post.coverMedia.video" }]
1326
+ },
1327
+ {
1328
+ transformFn: transformRESTVideoV2ToSDKVideoV2,
1329
+ paths: [{ path: "post.media.wixMedia.videoV2" }]
1330
+ }
1331
+ ]),
1332
+ ["post.richContent", "post.rich_content"]
1333
+ );
1334
+ } catch (err) {
1335
+ const transformedError = sdkTransformError(
1336
+ err,
1337
+ {
1338
+ spreadPathsToArguments: {},
1339
+ explicitPathsToArguments: { slug: "$[0]", fieldsets: "$[1].fieldsets" },
1340
+ singleArgumentUnchanged: false
1341
+ },
1342
+ ["slug", "options"]
1343
+ );
1344
+ sideEffects?.onError?.(err);
1345
+ throw transformedError;
1346
+ }
1347
+ }
1348
+ async function listPosts2(options) {
1349
+ const { httpClient, sideEffects } = arguments[1];
1350
+ const payload = renameKeysFromSDKRequestToRESTRequest(
1351
+ {
1352
+ featured: options?.featured,
1353
+ hashtags: options?.hashtags,
1354
+ categoryIds: options?.categoryIds,
1355
+ tagIds: options?.tagIds,
1356
+ sort: options?.sort,
1357
+ paging: options?.paging,
1358
+ language: options?.language,
1359
+ memberId: options?.memberId,
1360
+ fieldsets: options?.fieldsets
1361
+ },
1362
+ []
1363
+ );
1364
+ const reqOpts = listPosts(payload);
1365
+ sideEffects?.onSiteCall?.();
1366
+ try {
1367
+ const result = await httpClient.request(reqOpts);
1368
+ sideEffects?.onSuccess?.(result);
1369
+ return renameKeysFromRESTResponseToSDKResponse(
1370
+ transformPaths2(result.data, [
1371
+ {
1372
+ transformFn: transformRESTPageURLToSDKPageURL,
1373
+ paths: [{ path: "posts.url" }, { path: "posts.translations.url" }]
1374
+ },
1375
+ {
1376
+ transformFn: transformRESTImageToSDKImage,
1377
+ paths: [
1378
+ { path: "posts.heroImage" },
1379
+ { path: "posts.coverMedia.image" },
1380
+ { path: "posts.media.wixMedia.image" }
1381
+ ]
1382
+ },
1383
+ {
1384
+ transformFn: transformRESTVideoToSDKVideo,
1385
+ paths: [{ path: "posts.coverMedia.video" }]
1386
+ },
1387
+ {
1388
+ transformFn: transformRESTVideoV2ToSDKVideoV2,
1389
+ paths: [{ path: "posts.media.wixMedia.videoV2" }]
1390
+ }
1391
+ ]),
1392
+ ["posts.richContent", "posts.rich_content"]
1393
+ );
1394
+ } catch (err) {
1395
+ const transformedError = sdkTransformError(
1396
+ err,
1397
+ {
1398
+ spreadPathsToArguments: {},
1399
+ explicitPathsToArguments: {
1400
+ featured: "$[0].featured",
1401
+ hashtags: "$[0].hashtags",
1402
+ categoryIds: "$[0].categoryIds",
1403
+ tagIds: "$[0].tagIds",
1404
+ sort: "$[0].sort",
1405
+ paging: "$[0].paging",
1406
+ language: "$[0].language",
1407
+ memberId: "$[0].memberId",
1408
+ fieldsets: "$[0].fieldsets"
1409
+ },
1410
+ singleArgumentUnchanged: false
1411
+ },
1412
+ ["options"]
1413
+ );
1414
+ sideEffects?.onError?.(err);
1415
+ throw transformedError;
1416
+ }
1417
+ }
1418
+ function queryPosts2(options) {
1419
+ const { httpClient, sideEffects } = arguments[1];
1420
+ return queryBuilder({
1421
+ func: async (payload) => {
1422
+ const reqOpts = queryPosts({
1423
+ ...payload,
1424
+ ...options ?? {}
1425
+ });
1426
+ sideEffects?.onSiteCall?.();
1427
+ try {
1428
+ const result = await httpClient.request(reqOpts);
1429
+ sideEffects?.onSuccess?.(result);
1430
+ return result;
1431
+ } catch (err) {
1432
+ sideEffects?.onError?.(err);
1433
+ throw err;
1434
+ }
1435
+ },
1436
+ requestTransformer: (query) => {
1437
+ const args = [query, options];
1438
+ return renameKeysFromSDKRequestToRESTRequest(
1439
+ { ...args?.[1], query: args?.[0] },
1440
+ []
1441
+ );
1442
+ },
1443
+ responseTransformer: ({ data }) => {
1444
+ const transformedData = renameKeysFromRESTResponseToSDKResponse(
1445
+ transformPaths2(data, [
1446
+ {
1447
+ transformFn: transformRESTPageURLToSDKPageURL,
1448
+ paths: [{ path: "posts.url" }, { path: "posts.translations.url" }]
1449
+ },
1450
+ {
1451
+ transformFn: transformRESTImageToSDKImage,
1452
+ paths: [
1453
+ { path: "posts.heroImage" },
1454
+ { path: "posts.coverMedia.image" },
1455
+ { path: "posts.media.wixMedia.image" }
1456
+ ]
1457
+ },
1458
+ {
1459
+ transformFn: transformRESTVideoToSDKVideo,
1460
+ paths: [{ path: "posts.coverMedia.video" }]
1461
+ },
1462
+ {
1463
+ transformFn: transformRESTVideoV2ToSDKVideoV2,
1464
+ paths: [{ path: "posts.media.wixMedia.videoV2" }]
1465
+ }
1466
+ ]),
1467
+ ["posts.richContent", "posts.rich_content"]
1468
+ );
1469
+ return {
1470
+ items: transformedData?.posts,
1471
+ pagingMetadata: transformedData?.pagingMetadata
1472
+ };
1473
+ },
1474
+ errorTransformer: (err) => {
1475
+ const transformedError = sdkTransformError(err, {
1476
+ spreadPathsToArguments: {},
1477
+ explicitPathsToArguments: { query: "$[0]" },
1478
+ singleArgumentUnchanged: false
1479
+ });
1480
+ throw transformedError;
1481
+ },
1482
+ pagingMethod: "CURSOR",
1483
+ transformationPaths: {}
1484
+ });
1485
+ }
1486
+ async function getPostMetrics2(postId) {
1487
+ const { httpClient, sideEffects } = arguments[1];
1488
+ const payload = renameKeysFromSDKRequestToRESTRequest({ postId }, []);
1489
+ const reqOpts = getPostMetrics(payload);
1490
+ sideEffects?.onSiteCall?.();
1491
+ try {
1492
+ const result = await httpClient.request(reqOpts);
1493
+ sideEffects?.onSuccess?.(result);
1494
+ return renameKeysFromRESTResponseToSDKResponse(result.data, []);
1495
+ } catch (err) {
1496
+ const transformedError = sdkTransformError(
1497
+ err,
1498
+ {
1499
+ spreadPathsToArguments: {},
1500
+ explicitPathsToArguments: { postId: "$[0]" },
1501
+ singleArgumentUnchanged: false
1502
+ },
1503
+ ["postId"]
1504
+ );
1505
+ sideEffects?.onError?.(err);
1506
+ throw transformedError;
1507
+ }
1508
+ }
1509
+ export {
1510
+ Alignment,
1511
+ AppType,
1512
+ BackgroundType,
1513
+ Crop,
1514
+ DecorationType,
1515
+ Direction,
1516
+ Field,
1517
+ FontType,
1518
+ GIFType,
1519
+ GetPostTemplatesSort,
1520
+ GetPostsSort,
1521
+ InitialExpandedItems,
1522
+ LayoutType,
1523
+ LineStyle,
1524
+ MapType,
1525
+ ModerationStatusStatus,
1526
+ NodeType,
1527
+ NullValue,
1528
+ Order,
1529
+ Orientation,
1530
+ Origin,
1531
+ PluginContainerDataAlignment,
1532
+ PollLayoutDirection,
1533
+ PollLayoutType,
1534
+ Position,
1535
+ PostFieldField,
1536
+ QueryPublicationsCountStatsRequestOrder,
1537
+ SortOrder,
1538
+ Source,
1539
+ Status,
1540
+ Target,
1541
+ TextAlignment,
1542
+ ThumbnailsAlignment,
1543
+ Type,
1544
+ VerticalAlignment,
1545
+ ViewMode,
1546
+ ViewRole,
1547
+ VoteRole,
1548
+ WebhookIdentityType,
1549
+ Width,
1550
+ WidthType,
1551
+ getPost2 as getPost,
1552
+ getPostBySlug2 as getPostBySlug,
1553
+ getPostMetrics2 as getPostMetrics,
1554
+ getTotalPosts2 as getTotalPosts,
1555
+ listPosts2 as listPosts,
1556
+ queryPostCountStats2 as queryPostCountStats,
1557
+ queryPosts2 as queryPosts
1558
+ };
1559
+ //# sourceMappingURL=index.typings.mjs.map