@wix/auto_sdk_online-programs_sections 1.0.17 → 1.0.18

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 (40) hide show
  1. package/build/cjs/index.js.map +1 -1
  2. package/build/cjs/index.typings.d.ts +2 -2
  3. package/build/cjs/index.typings.js.map +1 -1
  4. package/build/cjs/meta.d.ts +1 -1
  5. package/build/cjs/meta.js.map +1 -1
  6. package/build/es/index.mjs.map +1 -1
  7. package/build/es/index.typings.d.mts +2 -2
  8. package/build/es/index.typings.mjs.map +1 -1
  9. package/build/es/meta.d.mts +1 -1
  10. package/build/es/meta.mjs.map +1 -1
  11. package/build/internal/cjs/index.typings.d.ts +2 -2
  12. package/build/internal/cjs/meta.d.ts +1 -1
  13. package/build/internal/es/index.typings.d.mts +2 -2
  14. package/build/internal/es/meta.d.mts +1 -1
  15. package/package.json +4 -11
  16. package/build/cjs/schemas.d.ts +0 -509
  17. package/build/cjs/schemas.js +0 -810
  18. package/build/cjs/schemas.js.map +0 -1
  19. package/build/es/schemas.d.mts +0 -509
  20. package/build/es/schemas.mjs +0 -754
  21. package/build/es/schemas.mjs.map +0 -1
  22. package/build/internal/cjs/index.js +0 -1444
  23. package/build/internal/cjs/index.js.map +0 -1
  24. package/build/internal/cjs/index.typings.js +0 -1335
  25. package/build/internal/cjs/index.typings.js.map +0 -1
  26. package/build/internal/cjs/meta.js +0 -1026
  27. package/build/internal/cjs/meta.js.map +0 -1
  28. package/build/internal/cjs/schemas.d.ts +0 -509
  29. package/build/internal/cjs/schemas.js +0 -810
  30. package/build/internal/cjs/schemas.js.map +0 -1
  31. package/build/internal/es/index.mjs +0 -1402
  32. package/build/internal/es/index.mjs.map +0 -1
  33. package/build/internal/es/index.typings.mjs +0 -1292
  34. package/build/internal/es/index.typings.mjs.map +0 -1
  35. package/build/internal/es/meta.mjs +0 -982
  36. package/build/internal/es/meta.mjs.map +0 -1
  37. package/build/internal/es/schemas.d.mts +0 -509
  38. package/build/internal/es/schemas.mjs +0 -754
  39. package/build/internal/es/schemas.mjs.map +0 -1
  40. package/schemas/package.json +0 -3
@@ -1,1292 +0,0 @@
1
- // src/online-programs-v3-section-sections.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/online-programs-v3-section-sections.http.ts
10
- import { toURLSearchParams } from "@wix/sdk-runtime/rest-modules";
11
- import { transformSDKFloatToRESTFloat } from "@wix/sdk-runtime/transformations/float";
12
- import { transformRESTFloatToSDKFloat } from "@wix/sdk-runtime/transformations/float";
13
- import { transformSDKTimestampToRESTTimestamp } from "@wix/sdk-runtime/transformations/timestamp";
14
- import { transformRESTTimestampToSDKTimestamp } from "@wix/sdk-runtime/transformations/timestamp";
15
- import { transformSDKFieldMaskToRESTFieldMask } from "@wix/sdk-runtime/transformations/field-mask";
16
- import { transformPaths } from "@wix/sdk-runtime/transformations/transform-paths";
17
- import { resolveUrl } from "@wix/sdk-runtime/rest-modules";
18
- function resolveWixOnlineprogramsSectionsV3SectionsServiceUrl(opts) {
19
- const domainToMappings = {
20
- "bo._base_domain_": [
21
- {
22
- srcPath: "/program-sections-service",
23
- destPath: ""
24
- }
25
- ],
26
- "wixbo.ai": [
27
- {
28
- srcPath: "/program-sections-service",
29
- destPath: ""
30
- }
31
- ],
32
- "wix-bo.com": [
33
- {
34
- srcPath: "/program-sections-service",
35
- destPath: ""
36
- }
37
- ],
38
- "api._api_base_domain_": [
39
- {
40
- srcPath: "/program-sections-service",
41
- destPath: ""
42
- }
43
- ],
44
- "manage._base_domain_": [
45
- {
46
- srcPath: "/_api/program-sections-service",
47
- destPath: ""
48
- }
49
- ],
50
- "www._base_domain_": [
51
- {
52
- srcPath: "/_api/program-sections-service",
53
- destPath: ""
54
- }
55
- ],
56
- "*.dev.wix-code.com": [
57
- {
58
- srcPath: "/_api/program-sections-service",
59
- destPath: ""
60
- },
61
- {
62
- srcPath: "/program-sections-service",
63
- destPath: ""
64
- }
65
- ],
66
- "editor._base_domain_": [
67
- {
68
- srcPath: "/_api/program-sections-service",
69
- destPath: ""
70
- }
71
- ],
72
- "blocks._base_domain_": [
73
- {
74
- srcPath: "/_api/program-sections-service",
75
- destPath: ""
76
- }
77
- ],
78
- "create.editorx": [
79
- {
80
- srcPath: "/_api/program-sections-service",
81
- destPath: ""
82
- }
83
- ],
84
- "editor.wixapps.net": [
85
- {
86
- srcPath: "/_api/program-sections-service",
87
- destPath: ""
88
- },
89
- {
90
- srcPath: "/program-sections-service",
91
- destPath: ""
92
- }
93
- ],
94
- _: [
95
- {
96
- srcPath: "/program-sections-service",
97
- destPath: ""
98
- }
99
- ],
100
- "www.wixapis.com": [
101
- {
102
- srcPath: "/program-sections-service",
103
- destPath: ""
104
- },
105
- {
106
- srcPath: "/online-programs/v3/sections",
107
- destPath: "/v3/sections"
108
- },
109
- {
110
- srcPath: "/online-programs/v3/bulk/sections",
111
- destPath: "/v3/bulk/sections"
112
- }
113
- ]
114
- };
115
- return resolveUrl(Object.assign(opts, { domainToMappings }));
116
- }
117
- var PACKAGE_NAME = "@wix/auto_sdk_online-programs_sections";
118
- function createSection(payload) {
119
- function __createSection({ host }) {
120
- const serializedData = transformPaths(payload, [
121
- {
122
- transformFn: transformSDKTimestampToRESTTimestamp,
123
- paths: [
124
- { path: "section.createdDate" },
125
- { path: "section.updatedDate" },
126
- { path: "section.description.image.urlExpirationDate" },
127
- { path: "section.description.video.urlExpirationDate" },
128
- { path: "section.description.video.resolutions.urlExpirationDate" },
129
- {
130
- path: "section.description.video.resolutions.poster.urlExpirationDate"
131
- },
132
- { path: "section.description.video.posters.urlExpirationDate" }
133
- ]
134
- },
135
- {
136
- transformFn: transformSDKFloatToRESTFloat,
137
- paths: [
138
- { path: "section.ordering" },
139
- { path: "section.description.image.focalPoint.x" },
140
- { path: "section.description.image.focalPoint.y" },
141
- { path: "section.description.video.resolutions.poster.focalPoint.x" },
142
- { path: "section.description.video.resolutions.poster.focalPoint.y" },
143
- { path: "section.description.video.posters.focalPoint.x" },
144
- { path: "section.description.video.posters.focalPoint.y" }
145
- ]
146
- }
147
- ]);
148
- const metadata = {
149
- entityFqdn: "wix.online_programs.v3.section",
150
- method: "POST",
151
- methodFqn: "wix.onlineprograms.sections.v3.SectionsService.CreateSection",
152
- packageName: PACKAGE_NAME,
153
- migrationOptions: {
154
- optInTransformResponse: true
155
- },
156
- url: resolveWixOnlineprogramsSectionsV3SectionsServiceUrl({
157
- protoPath: "/v3/sections",
158
- data: serializedData,
159
- host
160
- }),
161
- data: serializedData,
162
- transformResponse: (payload2) => transformPaths(payload2, [
163
- {
164
- transformFn: transformRESTTimestampToSDKTimestamp,
165
- paths: [
166
- { path: "section.createdDate" },
167
- { path: "section.updatedDate" },
168
- { path: "section.description.image.urlExpirationDate" },
169
- { path: "section.description.video.urlExpirationDate" },
170
- {
171
- path: "section.description.video.resolutions.urlExpirationDate"
172
- },
173
- {
174
- path: "section.description.video.resolutions.poster.urlExpirationDate"
175
- },
176
- { path: "section.description.video.posters.urlExpirationDate" }
177
- ]
178
- },
179
- {
180
- transformFn: transformRESTFloatToSDKFloat,
181
- paths: [
182
- { path: "section.ordering" },
183
- { path: "section.description.image.focalPoint.x" },
184
- { path: "section.description.image.focalPoint.y" },
185
- {
186
- path: "section.description.video.resolutions.poster.focalPoint.x"
187
- },
188
- {
189
- path: "section.description.video.resolutions.poster.focalPoint.y"
190
- },
191
- { path: "section.description.video.posters.focalPoint.x" },
192
- { path: "section.description.video.posters.focalPoint.y" }
193
- ]
194
- }
195
- ])
196
- };
197
- return metadata;
198
- }
199
- return __createSection;
200
- }
201
- function bulkCreateSections(payload) {
202
- function __bulkCreateSections({ host }) {
203
- const serializedData = transformPaths(payload, [
204
- {
205
- transformFn: transformSDKTimestampToRESTTimestamp,
206
- paths: [
207
- { path: "sections.createdDate" },
208
- { path: "sections.updatedDate" },
209
- { path: "sections.description.image.urlExpirationDate" },
210
- { path: "sections.description.video.urlExpirationDate" },
211
- { path: "sections.description.video.resolutions.urlExpirationDate" },
212
- {
213
- path: "sections.description.video.resolutions.poster.urlExpirationDate"
214
- },
215
- { path: "sections.description.video.posters.urlExpirationDate" }
216
- ]
217
- },
218
- {
219
- transformFn: transformSDKFloatToRESTFloat,
220
- paths: [
221
- { path: "sections.ordering" },
222
- { path: "sections.description.image.focalPoint.x" },
223
- { path: "sections.description.image.focalPoint.y" },
224
- {
225
- path: "sections.description.video.resolutions.poster.focalPoint.x"
226
- },
227
- {
228
- path: "sections.description.video.resolutions.poster.focalPoint.y"
229
- },
230
- { path: "sections.description.video.posters.focalPoint.x" },
231
- { path: "sections.description.video.posters.focalPoint.y" }
232
- ]
233
- }
234
- ]);
235
- const metadata = {
236
- entityFqdn: "wix.online_programs.v3.section",
237
- method: "POST",
238
- methodFqn: "wix.onlineprograms.sections.v3.SectionsService.BulkCreateSections",
239
- packageName: PACKAGE_NAME,
240
- migrationOptions: {
241
- optInTransformResponse: true
242
- },
243
- url: resolveWixOnlineprogramsSectionsV3SectionsServiceUrl({
244
- protoPath: "/v3/bulk/sections/create",
245
- data: serializedData,
246
- host
247
- }),
248
- data: serializedData,
249
- transformResponse: (payload2) => transformPaths(payload2, [
250
- {
251
- transformFn: transformRESTTimestampToSDKTimestamp,
252
- paths: [
253
- { path: "results.item.createdDate" },
254
- { path: "results.item.updatedDate" },
255
- { path: "results.item.description.image.urlExpirationDate" },
256
- { path: "results.item.description.video.urlExpirationDate" },
257
- {
258
- path: "results.item.description.video.resolutions.urlExpirationDate"
259
- },
260
- {
261
- path: "results.item.description.video.resolutions.poster.urlExpirationDate"
262
- },
263
- {
264
- path: "results.item.description.video.posters.urlExpirationDate"
265
- }
266
- ]
267
- },
268
- {
269
- transformFn: transformRESTFloatToSDKFloat,
270
- paths: [
271
- { path: "results.item.ordering" },
272
- { path: "results.item.description.image.focalPoint.x" },
273
- { path: "results.item.description.image.focalPoint.y" },
274
- {
275
- path: "results.item.description.video.resolutions.poster.focalPoint.x"
276
- },
277
- {
278
- path: "results.item.description.video.resolutions.poster.focalPoint.y"
279
- },
280
- { path: "results.item.description.video.posters.focalPoint.x" },
281
- { path: "results.item.description.video.posters.focalPoint.y" }
282
- ]
283
- }
284
- ])
285
- };
286
- return metadata;
287
- }
288
- return __bulkCreateSections;
289
- }
290
- function getSection(payload) {
291
- function __getSection({ host }) {
292
- const metadata = {
293
- entityFqdn: "wix.online_programs.v3.section",
294
- method: "GET",
295
- methodFqn: "wix.onlineprograms.sections.v3.SectionsService.GetSection",
296
- packageName: PACKAGE_NAME,
297
- migrationOptions: {
298
- optInTransformResponse: true
299
- },
300
- url: resolveWixOnlineprogramsSectionsV3SectionsServiceUrl({
301
- protoPath: "/v3/sections/{sectionId}",
302
- data: payload,
303
- host
304
- }),
305
- params: toURLSearchParams(payload),
306
- transformResponse: (payload2) => transformPaths(payload2, [
307
- {
308
- transformFn: transformRESTTimestampToSDKTimestamp,
309
- paths: [
310
- { path: "section.createdDate" },
311
- { path: "section.updatedDate" },
312
- { path: "section.description.image.urlExpirationDate" },
313
- { path: "section.description.video.urlExpirationDate" },
314
- {
315
- path: "section.description.video.resolutions.urlExpirationDate"
316
- },
317
- {
318
- path: "section.description.video.resolutions.poster.urlExpirationDate"
319
- },
320
- { path: "section.description.video.posters.urlExpirationDate" }
321
- ]
322
- },
323
- {
324
- transformFn: transformRESTFloatToSDKFloat,
325
- paths: [
326
- { path: "section.ordering" },
327
- { path: "section.description.image.focalPoint.x" },
328
- { path: "section.description.image.focalPoint.y" },
329
- {
330
- path: "section.description.video.resolutions.poster.focalPoint.x"
331
- },
332
- {
333
- path: "section.description.video.resolutions.poster.focalPoint.y"
334
- },
335
- { path: "section.description.video.posters.focalPoint.x" },
336
- { path: "section.description.video.posters.focalPoint.y" }
337
- ]
338
- }
339
- ])
340
- };
341
- return metadata;
342
- }
343
- return __getSection;
344
- }
345
- function updateSection(payload) {
346
- function __updateSection({ host }) {
347
- const serializedData = transformPaths(payload, [
348
- {
349
- transformFn: transformSDKFieldMaskToRESTFieldMask,
350
- paths: [{ path: "fieldMask" }]
351
- },
352
- {
353
- transformFn: transformSDKTimestampToRESTTimestamp,
354
- paths: [
355
- { path: "section.createdDate" },
356
- { path: "section.updatedDate" },
357
- { path: "section.description.image.urlExpirationDate" },
358
- { path: "section.description.video.urlExpirationDate" },
359
- { path: "section.description.video.resolutions.urlExpirationDate" },
360
- {
361
- path: "section.description.video.resolutions.poster.urlExpirationDate"
362
- },
363
- { path: "section.description.video.posters.urlExpirationDate" }
364
- ]
365
- },
366
- {
367
- transformFn: transformSDKFloatToRESTFloat,
368
- paths: [
369
- { path: "section.ordering" },
370
- { path: "section.description.image.focalPoint.x" },
371
- { path: "section.description.image.focalPoint.y" },
372
- { path: "section.description.video.resolutions.poster.focalPoint.x" },
373
- { path: "section.description.video.resolutions.poster.focalPoint.y" },
374
- { path: "section.description.video.posters.focalPoint.x" },
375
- { path: "section.description.video.posters.focalPoint.y" }
376
- ]
377
- }
378
- ]);
379
- const metadata = {
380
- entityFqdn: "wix.online_programs.v3.section",
381
- method: "PATCH",
382
- methodFqn: "wix.onlineprograms.sections.v3.SectionsService.UpdateSection",
383
- packageName: PACKAGE_NAME,
384
- migrationOptions: {
385
- optInTransformResponse: true
386
- },
387
- url: resolveWixOnlineprogramsSectionsV3SectionsServiceUrl({
388
- protoPath: "/v3/sections/{section.id}",
389
- data: serializedData,
390
- host
391
- }),
392
- data: serializedData,
393
- transformResponse: (payload2) => transformPaths(payload2, [
394
- {
395
- transformFn: transformRESTTimestampToSDKTimestamp,
396
- paths: [
397
- { path: "section.createdDate" },
398
- { path: "section.updatedDate" },
399
- { path: "section.description.image.urlExpirationDate" },
400
- { path: "section.description.video.urlExpirationDate" },
401
- {
402
- path: "section.description.video.resolutions.urlExpirationDate"
403
- },
404
- {
405
- path: "section.description.video.resolutions.poster.urlExpirationDate"
406
- },
407
- { path: "section.description.video.posters.urlExpirationDate" }
408
- ]
409
- },
410
- {
411
- transformFn: transformRESTFloatToSDKFloat,
412
- paths: [
413
- { path: "section.ordering" },
414
- { path: "section.description.image.focalPoint.x" },
415
- { path: "section.description.image.focalPoint.y" },
416
- {
417
- path: "section.description.video.resolutions.poster.focalPoint.x"
418
- },
419
- {
420
- path: "section.description.video.resolutions.poster.focalPoint.y"
421
- },
422
- { path: "section.description.video.posters.focalPoint.x" },
423
- { path: "section.description.video.posters.focalPoint.y" }
424
- ]
425
- }
426
- ])
427
- };
428
- return metadata;
429
- }
430
- return __updateSection;
431
- }
432
- function deleteSection(payload) {
433
- function __deleteSection({ host }) {
434
- const metadata = {
435
- entityFqdn: "wix.online_programs.v3.section",
436
- method: "DELETE",
437
- methodFqn: "wix.onlineprograms.sections.v3.SectionsService.DeleteSection",
438
- packageName: PACKAGE_NAME,
439
- migrationOptions: {
440
- optInTransformResponse: true
441
- },
442
- url: resolveWixOnlineprogramsSectionsV3SectionsServiceUrl({
443
- protoPath: "/v3/sections/{sectionId}",
444
- data: payload,
445
- host
446
- }),
447
- params: toURLSearchParams(payload)
448
- };
449
- return metadata;
450
- }
451
- return __deleteSection;
452
- }
453
- function querySections(payload) {
454
- function __querySections({ host }) {
455
- const serializedData = transformPaths(payload, [
456
- {
457
- transformFn: transformSDKFloatToRESTFloat,
458
- paths: [
459
- { path: "query.sort.origin.latitude" },
460
- { path: "query.sort.origin.longitude" }
461
- ]
462
- }
463
- ]);
464
- const metadata = {
465
- entityFqdn: "wix.online_programs.v3.section",
466
- method: "POST",
467
- methodFqn: "wix.onlineprograms.sections.v3.SectionsService.QuerySections",
468
- packageName: PACKAGE_NAME,
469
- migrationOptions: {
470
- optInTransformResponse: true
471
- },
472
- url: resolveWixOnlineprogramsSectionsV3SectionsServiceUrl({
473
- protoPath: "/v3/sections/query",
474
- data: serializedData,
475
- host
476
- }),
477
- data: serializedData,
478
- transformResponse: (payload2) => transformPaths(payload2, [
479
- {
480
- transformFn: transformRESTTimestampToSDKTimestamp,
481
- paths: [
482
- { path: "sections.createdDate" },
483
- { path: "sections.updatedDate" },
484
- { path: "sections.description.image.urlExpirationDate" },
485
- { path: "sections.description.video.urlExpirationDate" },
486
- {
487
- path: "sections.description.video.resolutions.urlExpirationDate"
488
- },
489
- {
490
- path: "sections.description.video.resolutions.poster.urlExpirationDate"
491
- },
492
- { path: "sections.description.video.posters.urlExpirationDate" }
493
- ]
494
- },
495
- {
496
- transformFn: transformRESTFloatToSDKFloat,
497
- paths: [
498
- { path: "sections.ordering" },
499
- { path: "sections.description.image.focalPoint.x" },
500
- { path: "sections.description.image.focalPoint.y" },
501
- {
502
- path: "sections.description.video.resolutions.poster.focalPoint.x"
503
- },
504
- {
505
- path: "sections.description.video.resolutions.poster.focalPoint.y"
506
- },
507
- { path: "sections.description.video.posters.focalPoint.x" },
508
- { path: "sections.description.video.posters.focalPoint.y" }
509
- ]
510
- }
511
- ])
512
- };
513
- return metadata;
514
- }
515
- return __querySections;
516
- }
517
- function listSections(payload) {
518
- function __listSections({ host }) {
519
- const metadata = {
520
- entityFqdn: "wix.online_programs.v3.section",
521
- method: "GET",
522
- methodFqn: "wix.onlineprograms.sections.v3.SectionsService.ListSections",
523
- packageName: PACKAGE_NAME,
524
- migrationOptions: {
525
- optInTransformResponse: true
526
- },
527
- url: resolveWixOnlineprogramsSectionsV3SectionsServiceUrl({
528
- protoPath: "/v3/sections",
529
- data: payload,
530
- host
531
- }),
532
- params: toURLSearchParams(payload),
533
- transformResponse: (payload2) => transformPaths(payload2, [
534
- {
535
- transformFn: transformRESTTimestampToSDKTimestamp,
536
- paths: [
537
- { path: "sections.createdDate" },
538
- { path: "sections.updatedDate" },
539
- { path: "sections.description.image.urlExpirationDate" },
540
- { path: "sections.description.video.urlExpirationDate" },
541
- {
542
- path: "sections.description.video.resolutions.urlExpirationDate"
543
- },
544
- {
545
- path: "sections.description.video.resolutions.poster.urlExpirationDate"
546
- },
547
- { path: "sections.description.video.posters.urlExpirationDate" }
548
- ]
549
- },
550
- {
551
- transformFn: transformRESTFloatToSDKFloat,
552
- paths: [
553
- { path: "sections.ordering" },
554
- { path: "sections.description.image.focalPoint.x" },
555
- { path: "sections.description.image.focalPoint.y" },
556
- {
557
- path: "sections.description.video.resolutions.poster.focalPoint.x"
558
- },
559
- {
560
- path: "sections.description.video.resolutions.poster.focalPoint.y"
561
- },
562
- { path: "sections.description.video.posters.focalPoint.x" },
563
- { path: "sections.description.video.posters.focalPoint.y" }
564
- ]
565
- }
566
- ])
567
- };
568
- return metadata;
569
- }
570
- return __listSections;
571
- }
572
- function cloneSection(payload) {
573
- function __cloneSection({ host }) {
574
- const metadata = {
575
- entityFqdn: "wix.online_programs.v3.section",
576
- method: "POST",
577
- methodFqn: "wix.onlineprograms.sections.v3.SectionsService.CloneSection",
578
- packageName: PACKAGE_NAME,
579
- migrationOptions: {
580
- optInTransformResponse: true
581
- },
582
- url: resolveWixOnlineprogramsSectionsV3SectionsServiceUrl({
583
- protoPath: "/v3/sections/{sectionId}/clone",
584
- data: payload,
585
- host
586
- }),
587
- data: payload,
588
- transformResponse: (payload2) => transformPaths(payload2, [
589
- {
590
- transformFn: transformRESTTimestampToSDKTimestamp,
591
- paths: [
592
- { path: "section.createdDate" },
593
- { path: "section.updatedDate" },
594
- { path: "section.description.image.urlExpirationDate" },
595
- { path: "section.description.video.urlExpirationDate" },
596
- {
597
- path: "section.description.video.resolutions.urlExpirationDate"
598
- },
599
- {
600
- path: "section.description.video.resolutions.poster.urlExpirationDate"
601
- },
602
- { path: "section.description.video.posters.urlExpirationDate" }
603
- ]
604
- },
605
- {
606
- transformFn: transformRESTFloatToSDKFloat,
607
- paths: [
608
- { path: "section.ordering" },
609
- { path: "section.description.image.focalPoint.x" },
610
- { path: "section.description.image.focalPoint.y" },
611
- {
612
- path: "section.description.video.resolutions.poster.focalPoint.x"
613
- },
614
- {
615
- path: "section.description.video.resolutions.poster.focalPoint.y"
616
- },
617
- { path: "section.description.video.posters.focalPoint.x" },
618
- { path: "section.description.video.posters.focalPoint.y" }
619
- ]
620
- }
621
- ])
622
- };
623
- return metadata;
624
- }
625
- return __cloneSection;
626
- }
627
- function moveSection(payload) {
628
- function __moveSection({ host }) {
629
- const metadata = {
630
- entityFqdn: "wix.online_programs.v3.section",
631
- method: "PATCH",
632
- methodFqn: "wix.onlineprograms.sections.v3.SectionsService.MoveSection",
633
- packageName: PACKAGE_NAME,
634
- migrationOptions: {
635
- optInTransformResponse: true
636
- },
637
- url: resolveWixOnlineprogramsSectionsV3SectionsServiceUrl({
638
- protoPath: "/v3/sections/move",
639
- data: payload,
640
- host
641
- }),
642
- data: payload,
643
- transformResponse: (payload2) => transformPaths(payload2, [
644
- {
645
- transformFn: transformRESTTimestampToSDKTimestamp,
646
- paths: [
647
- { path: "section.createdDate" },
648
- { path: "section.updatedDate" },
649
- { path: "section.description.image.urlExpirationDate" },
650
- { path: "section.description.video.urlExpirationDate" },
651
- {
652
- path: "section.description.video.resolutions.urlExpirationDate"
653
- },
654
- {
655
- path: "section.description.video.resolutions.poster.urlExpirationDate"
656
- },
657
- { path: "section.description.video.posters.urlExpirationDate" }
658
- ]
659
- },
660
- {
661
- transformFn: transformRESTFloatToSDKFloat,
662
- paths: [
663
- { path: "section.ordering" },
664
- { path: "section.description.image.focalPoint.x" },
665
- { path: "section.description.image.focalPoint.y" },
666
- {
667
- path: "section.description.video.resolutions.poster.focalPoint.x"
668
- },
669
- {
670
- path: "section.description.video.resolutions.poster.focalPoint.y"
671
- },
672
- { path: "section.description.video.posters.focalPoint.x" },
673
- { path: "section.description.video.posters.focalPoint.y" }
674
- ]
675
- }
676
- ])
677
- };
678
- return metadata;
679
- }
680
- return __moveSection;
681
- }
682
- function publishSection(payload) {
683
- function __publishSection({ host }) {
684
- const metadata = {
685
- entityFqdn: "wix.online_programs.v3.section",
686
- method: "PATCH",
687
- methodFqn: "wix.onlineprograms.sections.v3.SectionsService.PublishSection",
688
- packageName: PACKAGE_NAME,
689
- migrationOptions: {
690
- optInTransformResponse: true
691
- },
692
- url: resolveWixOnlineprogramsSectionsV3SectionsServiceUrl({
693
- protoPath: "/v3/sections/publish",
694
- data: payload,
695
- host
696
- }),
697
- data: payload,
698
- transformResponse: (payload2) => transformPaths(payload2, [
699
- {
700
- transformFn: transformRESTTimestampToSDKTimestamp,
701
- paths: [
702
- { path: "section.createdDate" },
703
- { path: "section.updatedDate" },
704
- { path: "section.description.image.urlExpirationDate" },
705
- { path: "section.description.video.urlExpirationDate" },
706
- {
707
- path: "section.description.video.resolutions.urlExpirationDate"
708
- },
709
- {
710
- path: "section.description.video.resolutions.poster.urlExpirationDate"
711
- },
712
- { path: "section.description.video.posters.urlExpirationDate" }
713
- ]
714
- },
715
- {
716
- transformFn: transformRESTFloatToSDKFloat,
717
- paths: [
718
- { path: "section.ordering" },
719
- { path: "section.description.image.focalPoint.x" },
720
- { path: "section.description.image.focalPoint.y" },
721
- {
722
- path: "section.description.video.resolutions.poster.focalPoint.x"
723
- },
724
- {
725
- path: "section.description.video.resolutions.poster.focalPoint.y"
726
- },
727
- { path: "section.description.video.posters.focalPoint.x" },
728
- { path: "section.description.video.posters.focalPoint.y" }
729
- ]
730
- }
731
- ])
732
- };
733
- return metadata;
734
- }
735
- return __publishSection;
736
- }
737
-
738
- // src/online-programs-v3-section-sections.universal.ts
739
- import { transformSDKImageToRESTImage } from "@wix/sdk-runtime/transformations/image";
740
- import { transformRESTImageToSDKImage } from "@wix/sdk-runtime/transformations/image";
741
- import { transformSDKVideoV2ToRESTVideoV2 } from "@wix/sdk-runtime/transformations/video-v2";
742
- import { transformRESTVideoV2ToSDKVideoV2 } from "@wix/sdk-runtime/transformations/video-v2";
743
- import { transformPaths as transformPaths2 } from "@wix/sdk-runtime/transformations/transform-paths";
744
- import { createQueryUtils } from "@wix/sdk-runtime/query-builder-utils";
745
- var State = /* @__PURE__ */ ((State2) => {
746
- State2["DRAFT"] = "DRAFT";
747
- State2["PUBLISHED"] = "PUBLISHED";
748
- return State2;
749
- })(State || {});
750
- var Enum = /* @__PURE__ */ ((Enum2) => {
751
- Enum2["UNKNOWN"] = "UNKNOWN";
752
- Enum2["PROTECTED"] = "PROTECTED";
753
- Enum2["PRIVATE"] = "PRIVATE";
754
- Enum2["PUBLIC"] = "PUBLIC";
755
- Enum2["UNCHANGED"] = "UNCHANGED";
756
- Enum2["GROUP_PROTECTED"] = "GROUP_PROTECTED";
757
- return Enum2;
758
- })(Enum || {});
759
- var RequestedFields = /* @__PURE__ */ ((RequestedFields2) => {
760
- RequestedFields2["TOTAL_STEPS"] = "TOTAL_STEPS";
761
- return RequestedFields2;
762
- })(RequestedFields || {});
763
- var BulkActionType = /* @__PURE__ */ ((BulkActionType2) => {
764
- BulkActionType2["UNKNOWN_ACTION_TYPE"] = "UNKNOWN_ACTION_TYPE";
765
- BulkActionType2["INSERT"] = "INSERT";
766
- BulkActionType2["UPDATE"] = "UPDATE";
767
- BulkActionType2["DELETE"] = "DELETE";
768
- return BulkActionType2;
769
- })(BulkActionType || {});
770
- var DescriptionFieldSet = /* @__PURE__ */ ((DescriptionFieldSet2) => {
771
- DescriptionFieldSet2["STANDARD"] = "STANDARD";
772
- DescriptionFieldSet2["EXTENDED"] = "EXTENDED";
773
- return DescriptionFieldSet2;
774
- })(DescriptionFieldSet || {});
775
- var SortOrder = /* @__PURE__ */ ((SortOrder2) => {
776
- SortOrder2["ASC"] = "ASC";
777
- SortOrder2["DESC"] = "DESC";
778
- return SortOrder2;
779
- })(SortOrder || {});
780
- var SearchIndexingNotificationState = /* @__PURE__ */ ((SearchIndexingNotificationState2) => {
781
- SearchIndexingNotificationState2["Unknown"] = "Unknown";
782
- SearchIndexingNotificationState2["Off"] = "Off";
783
- SearchIndexingNotificationState2["On"] = "On";
784
- return SearchIndexingNotificationState2;
785
- })(SearchIndexingNotificationState || {});
786
- var WebhookIdentityType = /* @__PURE__ */ ((WebhookIdentityType2) => {
787
- WebhookIdentityType2["UNKNOWN"] = "UNKNOWN";
788
- WebhookIdentityType2["ANONYMOUS_VISITOR"] = "ANONYMOUS_VISITOR";
789
- WebhookIdentityType2["MEMBER"] = "MEMBER";
790
- WebhookIdentityType2["WIX_USER"] = "WIX_USER";
791
- WebhookIdentityType2["APP"] = "APP";
792
- return WebhookIdentityType2;
793
- })(WebhookIdentityType || {});
794
- async function createSection2(section, options) {
795
- const { httpClient, sideEffects } = arguments[2];
796
- const payload = transformPaths2(
797
- renameKeysFromSDKRequestToRESTRequest({
798
- section,
799
- fields: options?.fields
800
- }),
801
- [
802
- {
803
- transformFn: transformSDKImageToRESTImage,
804
- paths: [{ path: "section.description.image" }]
805
- },
806
- {
807
- transformFn: transformSDKVideoV2ToRESTVideoV2,
808
- paths: [{ path: "section.description.video" }]
809
- }
810
- ]
811
- );
812
- const reqOpts = createSection(payload);
813
- sideEffects?.onSiteCall?.();
814
- try {
815
- const result = await httpClient.request(reqOpts);
816
- sideEffects?.onSuccess?.(result);
817
- return renameKeysFromRESTResponseToSDKResponse(
818
- transformPaths2(result.data, [
819
- {
820
- transformFn: transformRESTImageToSDKImage,
821
- paths: [{ path: "section.description.image" }]
822
- },
823
- {
824
- transformFn: transformRESTVideoV2ToSDKVideoV2,
825
- paths: [{ path: "section.description.video" }]
826
- }
827
- ])
828
- )?.section;
829
- } catch (err) {
830
- const transformedError = sdkTransformError(
831
- err,
832
- {
833
- spreadPathsToArguments: {},
834
- explicitPathsToArguments: { section: "$[0]", fields: "$[1].fields" },
835
- singleArgumentUnchanged: false
836
- },
837
- ["section", "options"]
838
- );
839
- sideEffects?.onError?.(err);
840
- throw transformedError;
841
- }
842
- }
843
- async function bulkCreateSections2(sections, options) {
844
- const { httpClient, sideEffects } = arguments[2];
845
- const payload = transformPaths2(
846
- renameKeysFromSDKRequestToRESTRequest({
847
- sections,
848
- fields: options?.fields
849
- }),
850
- [
851
- {
852
- transformFn: transformSDKImageToRESTImage,
853
- paths: [{ path: "sections.description.image" }]
854
- },
855
- {
856
- transformFn: transformSDKVideoV2ToRESTVideoV2,
857
- paths: [{ path: "sections.description.video" }]
858
- }
859
- ]
860
- );
861
- const reqOpts = bulkCreateSections(payload);
862
- sideEffects?.onSiteCall?.();
863
- try {
864
- const result = await httpClient.request(reqOpts);
865
- sideEffects?.onSuccess?.(result);
866
- return renameKeysFromRESTResponseToSDKResponse(
867
- transformPaths2(result.data, [
868
- {
869
- transformFn: transformRESTImageToSDKImage,
870
- paths: [{ path: "results.item.description.image" }]
871
- },
872
- {
873
- transformFn: transformRESTVideoV2ToSDKVideoV2,
874
- paths: [{ path: "results.item.description.video" }]
875
- }
876
- ])
877
- );
878
- } catch (err) {
879
- const transformedError = sdkTransformError(
880
- err,
881
- {
882
- spreadPathsToArguments: {},
883
- explicitPathsToArguments: { sections: "$[0]", fields: "$[1].fields" },
884
- singleArgumentUnchanged: false
885
- },
886
- ["sections", "options"]
887
- );
888
- sideEffects?.onError?.(err);
889
- throw transformedError;
890
- }
891
- }
892
- async function getSection2(sectionId, options) {
893
- const { httpClient, sideEffects } = arguments[2];
894
- const payload = renameKeysFromSDKRequestToRESTRequest({
895
- sectionId,
896
- descriptionFieldSet: options?.descriptionFieldSet,
897
- fields: options?.fields
898
- });
899
- const reqOpts = getSection(payload);
900
- sideEffects?.onSiteCall?.();
901
- try {
902
- const result = await httpClient.request(reqOpts);
903
- sideEffects?.onSuccess?.(result);
904
- return renameKeysFromRESTResponseToSDKResponse(
905
- transformPaths2(result.data, [
906
- {
907
- transformFn: transformRESTImageToSDKImage,
908
- paths: [{ path: "section.description.image" }]
909
- },
910
- {
911
- transformFn: transformRESTVideoV2ToSDKVideoV2,
912
- paths: [{ path: "section.description.video" }]
913
- }
914
- ])
915
- )?.section;
916
- } catch (err) {
917
- const transformedError = sdkTransformError(
918
- err,
919
- {
920
- spreadPathsToArguments: {},
921
- explicitPathsToArguments: {
922
- sectionId: "$[0]",
923
- descriptionFieldSet: "$[1].descriptionFieldSet",
924
- fields: "$[1].fields"
925
- },
926
- singleArgumentUnchanged: false
927
- },
928
- ["sectionId", "options"]
929
- );
930
- sideEffects?.onError?.(err);
931
- throw transformedError;
932
- }
933
- }
934
- async function updateSection2(_id, options) {
935
- const { httpClient, sideEffects } = arguments[2];
936
- const payload = transformPaths2(
937
- renameKeysFromSDKRequestToRESTRequest({
938
- section: { ...options?.section, id: _id },
939
- fields: options?.fields
940
- }),
941
- [
942
- {
943
- transformFn: transformSDKImageToRESTImage,
944
- paths: [{ path: "section.description.image" }]
945
- },
946
- {
947
- transformFn: transformSDKVideoV2ToRESTVideoV2,
948
- paths: [{ path: "section.description.video" }]
949
- }
950
- ]
951
- );
952
- const reqOpts = updateSection(payload);
953
- sideEffects?.onSiteCall?.();
954
- try {
955
- const result = await httpClient.request(reqOpts);
956
- sideEffects?.onSuccess?.(result);
957
- return renameKeysFromRESTResponseToSDKResponse(
958
- transformPaths2(result.data, [
959
- {
960
- transformFn: transformRESTImageToSDKImage,
961
- paths: [{ path: "section.description.image" }]
962
- },
963
- {
964
- transformFn: transformRESTVideoV2ToSDKVideoV2,
965
- paths: [{ path: "section.description.video" }]
966
- }
967
- ])
968
- )?.section;
969
- } catch (err) {
970
- const transformedError = sdkTransformError(
971
- err,
972
- {
973
- spreadPathsToArguments: { section: "$[1].section" },
974
- explicitPathsToArguments: {
975
- "section.id": "$[0]",
976
- fields: "$[1].fields"
977
- },
978
- singleArgumentUnchanged: false
979
- },
980
- ["_id", "options"]
981
- );
982
- sideEffects?.onError?.(err);
983
- throw transformedError;
984
- }
985
- }
986
- async function deleteSection2(sectionId) {
987
- const { httpClient, sideEffects } = arguments[1];
988
- const payload = renameKeysFromSDKRequestToRESTRequest({
989
- sectionId
990
- });
991
- const reqOpts = deleteSection(payload);
992
- sideEffects?.onSiteCall?.();
993
- try {
994
- const result = await httpClient.request(reqOpts);
995
- sideEffects?.onSuccess?.(result);
996
- } catch (err) {
997
- const transformedError = sdkTransformError(
998
- err,
999
- {
1000
- spreadPathsToArguments: {},
1001
- explicitPathsToArguments: { sectionId: "$[0]" },
1002
- singleArgumentUnchanged: false
1003
- },
1004
- ["sectionId"]
1005
- );
1006
- sideEffects?.onError?.(err);
1007
- throw transformedError;
1008
- }
1009
- }
1010
- function querySections2(options) {
1011
- const { httpClient, sideEffects } = arguments[1];
1012
- return queryBuilder({
1013
- func: async (payload) => {
1014
- const reqOpts = querySections({
1015
- ...payload,
1016
- ...options ?? {}
1017
- });
1018
- sideEffects?.onSiteCall?.();
1019
- try {
1020
- const result = await httpClient.request(reqOpts);
1021
- sideEffects?.onSuccess?.(result);
1022
- return result;
1023
- } catch (err) {
1024
- sideEffects?.onError?.(err);
1025
- throw err;
1026
- }
1027
- },
1028
- requestTransformer: (query) => {
1029
- const args = [query, options];
1030
- return renameKeysFromSDKRequestToRESTRequest({
1031
- ...args?.[1],
1032
- query: args?.[0]
1033
- });
1034
- },
1035
- responseTransformer: ({ data }) => {
1036
- const transformedData = renameKeysFromRESTResponseToSDKResponse(
1037
- transformPaths2(data, [
1038
- {
1039
- transformFn: transformRESTImageToSDKImage,
1040
- paths: [{ path: "sections.description.image" }]
1041
- },
1042
- {
1043
- transformFn: transformRESTVideoV2ToSDKVideoV2,
1044
- paths: [{ path: "sections.description.video" }]
1045
- }
1046
- ])
1047
- );
1048
- return {
1049
- items: transformedData?.sections,
1050
- pagingMetadata: transformedData?.pagingMetadata
1051
- };
1052
- },
1053
- errorTransformer: (err) => {
1054
- const transformedError = sdkTransformError(err, {
1055
- spreadPathsToArguments: {},
1056
- explicitPathsToArguments: { query: "$[0]" },
1057
- singleArgumentUnchanged: false
1058
- });
1059
- throw transformedError;
1060
- },
1061
- pagingMethod: "CURSOR",
1062
- transformationPaths: {}
1063
- });
1064
- }
1065
- async function typedQuerySections(query, options) {
1066
- const { httpClient, sideEffects } = arguments[2];
1067
- const payload = renameKeysFromSDKRequestToRESTRequest({
1068
- query,
1069
- ...options
1070
- });
1071
- const reqOpts = querySections(payload);
1072
- sideEffects?.onSiteCall?.();
1073
- try {
1074
- const result = await httpClient.request(reqOpts);
1075
- sideEffects?.onSuccess?.(result);
1076
- return renameKeysFromRESTResponseToSDKResponse(
1077
- transformPaths2(result.data, [
1078
- {
1079
- transformFn: transformRESTImageToSDKImage,
1080
- paths: [{ path: "sections.description.image" }]
1081
- },
1082
- {
1083
- transformFn: transformRESTVideoV2ToSDKVideoV2,
1084
- paths: [{ path: "sections.description.video" }]
1085
- }
1086
- ])
1087
- );
1088
- } catch (err) {
1089
- const transformedError = sdkTransformError(
1090
- err,
1091
- {
1092
- spreadPathsToArguments: {},
1093
- explicitPathsToArguments: { query: "$[0]" },
1094
- singleArgumentUnchanged: false
1095
- },
1096
- ["query", "options"]
1097
- );
1098
- sideEffects?.onError?.(err);
1099
- throw transformedError;
1100
- }
1101
- }
1102
- var utils = {
1103
- query: /* @__PURE__ */ createQueryUtils()
1104
- };
1105
- async function listSections2(programId, options) {
1106
- const { httpClient, sideEffects } = arguments[2];
1107
- const payload = renameKeysFromSDKRequestToRESTRequest({
1108
- programId,
1109
- descriptionFieldSet: options?.descriptionFieldSet,
1110
- fields: options?.fields
1111
- });
1112
- const reqOpts = listSections(payload);
1113
- sideEffects?.onSiteCall?.();
1114
- try {
1115
- const result = await httpClient.request(reqOpts);
1116
- sideEffects?.onSuccess?.(result);
1117
- return renameKeysFromRESTResponseToSDKResponse(
1118
- transformPaths2(result.data, [
1119
- {
1120
- transformFn: transformRESTImageToSDKImage,
1121
- paths: [{ path: "sections.description.image" }]
1122
- },
1123
- {
1124
- transformFn: transformRESTVideoV2ToSDKVideoV2,
1125
- paths: [{ path: "sections.description.video" }]
1126
- }
1127
- ])
1128
- );
1129
- } catch (err) {
1130
- const transformedError = sdkTransformError(
1131
- err,
1132
- {
1133
- spreadPathsToArguments: {},
1134
- explicitPathsToArguments: {
1135
- programId: "$[0]",
1136
- descriptionFieldSet: "$[1].descriptionFieldSet",
1137
- fields: "$[1].fields"
1138
- },
1139
- singleArgumentUnchanged: false
1140
- },
1141
- ["programId", "options"]
1142
- );
1143
- sideEffects?.onError?.(err);
1144
- throw transformedError;
1145
- }
1146
- }
1147
- async function cloneSection2(sectionId, options) {
1148
- const { httpClient, sideEffects } = arguments[2];
1149
- const payload = renameKeysFromSDKRequestToRESTRequest({
1150
- sectionId,
1151
- fields: options?.fields
1152
- });
1153
- const reqOpts = cloneSection(payload);
1154
- sideEffects?.onSiteCall?.();
1155
- try {
1156
- const result = await httpClient.request(reqOpts);
1157
- sideEffects?.onSuccess?.(result);
1158
- return renameKeysFromRESTResponseToSDKResponse(
1159
- transformPaths2(result.data, [
1160
- {
1161
- transformFn: transformRESTImageToSDKImage,
1162
- paths: [{ path: "section.description.image" }]
1163
- },
1164
- {
1165
- transformFn: transformRESTVideoV2ToSDKVideoV2,
1166
- paths: [{ path: "section.description.video" }]
1167
- }
1168
- ])
1169
- );
1170
- } catch (err) {
1171
- const transformedError = sdkTransformError(
1172
- err,
1173
- {
1174
- spreadPathsToArguments: {},
1175
- explicitPathsToArguments: { sectionId: "$[0]", fields: "$[1].fields" },
1176
- singleArgumentUnchanged: false
1177
- },
1178
- ["sectionId", "options"]
1179
- );
1180
- sideEffects?.onError?.(err);
1181
- throw transformedError;
1182
- }
1183
- }
1184
- async function moveSection2(options) {
1185
- const { httpClient, sideEffects } = arguments[1];
1186
- const payload = renameKeysFromSDKRequestToRESTRequest({
1187
- sectionId: options?.sectionId,
1188
- afterSectionId: options?.afterSectionId,
1189
- revision: options?.revision,
1190
- fields: options?.fields
1191
- });
1192
- const reqOpts = moveSection(payload);
1193
- sideEffects?.onSiteCall?.();
1194
- try {
1195
- const result = await httpClient.request(reqOpts);
1196
- sideEffects?.onSuccess?.(result);
1197
- return renameKeysFromRESTResponseToSDKResponse(
1198
- transformPaths2(result.data, [
1199
- {
1200
- transformFn: transformRESTImageToSDKImage,
1201
- paths: [{ path: "section.description.image" }]
1202
- },
1203
- {
1204
- transformFn: transformRESTVideoV2ToSDKVideoV2,
1205
- paths: [{ path: "section.description.video" }]
1206
- }
1207
- ])
1208
- );
1209
- } catch (err) {
1210
- const transformedError = sdkTransformError(
1211
- err,
1212
- {
1213
- spreadPathsToArguments: {},
1214
- explicitPathsToArguments: {
1215
- sectionId: "$[0].sectionId",
1216
- afterSectionId: "$[0].afterSectionId",
1217
- revision: "$[0].revision",
1218
- fields: "$[0].fields"
1219
- },
1220
- singleArgumentUnchanged: false
1221
- },
1222
- ["options"]
1223
- );
1224
- sideEffects?.onError?.(err);
1225
- throw transformedError;
1226
- }
1227
- }
1228
- async function publishSection2(options) {
1229
- const { httpClient, sideEffects } = arguments[1];
1230
- const payload = renameKeysFromSDKRequestToRESTRequest({
1231
- sectionId: options?.sectionId,
1232
- revision: options?.revision,
1233
- fields: options?.fields
1234
- });
1235
- const reqOpts = publishSection(payload);
1236
- sideEffects?.onSiteCall?.();
1237
- try {
1238
- const result = await httpClient.request(reqOpts);
1239
- sideEffects?.onSuccess?.(result);
1240
- return renameKeysFromRESTResponseToSDKResponse(
1241
- transformPaths2(result.data, [
1242
- {
1243
- transformFn: transformRESTImageToSDKImage,
1244
- paths: [{ path: "section.description.image" }]
1245
- },
1246
- {
1247
- transformFn: transformRESTVideoV2ToSDKVideoV2,
1248
- paths: [{ path: "section.description.video" }]
1249
- }
1250
- ])
1251
- );
1252
- } catch (err) {
1253
- const transformedError = sdkTransformError(
1254
- err,
1255
- {
1256
- spreadPathsToArguments: {},
1257
- explicitPathsToArguments: {
1258
- sectionId: "$[0].sectionId",
1259
- revision: "$[0].revision",
1260
- fields: "$[0].fields"
1261
- },
1262
- singleArgumentUnchanged: false
1263
- },
1264
- ["options"]
1265
- );
1266
- sideEffects?.onError?.(err);
1267
- throw transformedError;
1268
- }
1269
- }
1270
- export {
1271
- BulkActionType,
1272
- DescriptionFieldSet,
1273
- Enum,
1274
- RequestedFields,
1275
- SearchIndexingNotificationState,
1276
- SortOrder,
1277
- State,
1278
- WebhookIdentityType,
1279
- bulkCreateSections2 as bulkCreateSections,
1280
- cloneSection2 as cloneSection,
1281
- createSection2 as createSection,
1282
- deleteSection2 as deleteSection,
1283
- getSection2 as getSection,
1284
- listSections2 as listSections,
1285
- moveSection2 as moveSection,
1286
- publishSection2 as publishSection,
1287
- querySections2 as querySections,
1288
- typedQuerySections,
1289
- updateSection2 as updateSection,
1290
- utils
1291
- };
1292
- //# sourceMappingURL=index.typings.mjs.map