@wix/auto_sdk_online-programs_sections 1.0.14 → 1.0.16

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 (49) hide show
  1. package/build/cjs/index.d.ts +18 -6
  2. package/build/cjs/index.js +163 -7
  3. package/build/cjs/index.js.map +1 -1
  4. package/build/cjs/index.typings.d.ts +63 -14
  5. package/build/cjs/index.typings.js +153 -6
  6. package/build/cjs/index.typings.js.map +1 -1
  7. package/build/cjs/meta.d.ts +35 -4
  8. package/build/cjs/meta.js +122 -4
  9. package/build/cjs/meta.js.map +1 -1
  10. package/build/cjs/schemas.d.ts +101 -1
  11. package/build/cjs/schemas.js +168 -21
  12. package/build/cjs/schemas.js.map +1 -1
  13. package/build/es/index.d.mts +18 -6
  14. package/build/es/index.mjs +162 -7
  15. package/build/es/index.mjs.map +1 -1
  16. package/build/es/index.typings.d.mts +63 -14
  17. package/build/es/index.typings.mjs +152 -6
  18. package/build/es/index.typings.mjs.map +1 -1
  19. package/build/es/meta.d.mts +35 -4
  20. package/build/es/meta.mjs +121 -4
  21. package/build/es/meta.mjs.map +1 -1
  22. package/build/es/schemas.d.mts +101 -1
  23. package/build/es/schemas.mjs +166 -21
  24. package/build/es/schemas.mjs.map +1 -1
  25. package/build/internal/cjs/index.d.ts +18 -6
  26. package/build/internal/cjs/index.js +163 -7
  27. package/build/internal/cjs/index.js.map +1 -1
  28. package/build/internal/cjs/index.typings.d.ts +165 -14
  29. package/build/internal/cjs/index.typings.js +153 -6
  30. package/build/internal/cjs/index.typings.js.map +1 -1
  31. package/build/internal/cjs/meta.d.ts +237 -4
  32. package/build/internal/cjs/meta.js +122 -4
  33. package/build/internal/cjs/meta.js.map +1 -1
  34. package/build/internal/cjs/schemas.d.ts +101 -1
  35. package/build/internal/cjs/schemas.js +168 -21
  36. package/build/internal/cjs/schemas.js.map +1 -1
  37. package/build/internal/es/index.d.mts +18 -6
  38. package/build/internal/es/index.mjs +162 -7
  39. package/build/internal/es/index.mjs.map +1 -1
  40. package/build/internal/es/index.typings.d.mts +165 -14
  41. package/build/internal/es/index.typings.mjs +152 -6
  42. package/build/internal/es/index.typings.mjs.map +1 -1
  43. package/build/internal/es/meta.d.mts +237 -4
  44. package/build/internal/es/meta.mjs +121 -4
  45. package/build/internal/es/meta.mjs.map +1 -1
  46. package/build/internal/es/schemas.d.mts +101 -1
  47. package/build/internal/es/schemas.mjs +166 -21
  48. package/build/internal/es/schemas.mjs.map +1 -1
  49. package/package.json +4 -4
@@ -1,6 +1,6 @@
1
1
  import { HttpClient, NonNullablePaths, MaybeContext, BuildRESTFunction } from '@wix/sdk-types';
2
- import { Section, CreateSectionOptions, BulkCreateSectionOptions, BulkCreateSectionResponse, GetSectionOptions, UpdateSectionOptions, ListSectionsOptions, ListSectionsResponse, CloneSectionOptions, CloneSectionResponse, MoveSectionOptions, MoveSectionResponse, PublishSectionOptions, PublishSectionResponse, SectionQuery, QuerySectionsOptions, typedQuerySections, SectionsQueryBuilder } from './index.typings.js';
3
- export { AccountInfo, ActionEvent, ApplicationError, BulkActionMetadata, BulkActionType, BulkActionTypeWithLiterals, BulkCloneSectionRequest, BulkCloneSectionResponse, BulkCreateSectionMigrationRequest, BulkCreateSectionMigrationResponse, BulkCreateSectionRequest, BulkSectionResult, CloneSectionRequest, CommonQueryWithEntityContext, CreateSectionRequest, CreateSectionResponse, CursorPaging, CursorPagingMetadata, CursorQuery, CursorQueryPagingMethodOneOf, Cursors, DeleteAllProgramSectionsRequest, DeleteAllProgramSectionsResponse, DeleteByFilterOperation, DeleteByIdsOperation, DeleteSectionRequest, DeleteSectionResponse, Description, DescriptionFieldSet, DescriptionFieldSetWithLiterals, DescriptionMediaOneOf, DocumentImage, DocumentPayload, DocumentUpdateOperation, DomainEvent, DomainEventBodyOneOf, Empty, EntityCreatedEvent, EntityDeletedEvent, EntityUpdatedEvent, Enum, EnumWithLiterals, ExtendedFields, FocalPoint, GetSectionRequest, GetSectionResponse, IdentificationData, IdentificationDataIdOneOf, IndexDocument, ItemMetadata, ListSectionsRequest, MessageEnvelope, MoveSectionRequest, PublishSectionRequest, QuerySectionsRequest, QuerySectionsResponse, RequestedFields, RequestedFieldsWithLiterals, RestoreInfo, RestoreSectionFromTrashRequest, RestoreSectionFromTrashResponse, SearchIndexingNotification, SearchIndexingNotificationState, SearchIndexingNotificationStateWithLiterals, SectionCloned, SectionDeleted, SectionMoved, SectionPublished, SectionQuerySpec, SectionUpdated, SectionsQueryResult, SortOrder, SortOrderWithLiterals, Sorting, State, StateWithLiterals, UpdateByFilterOperation, UpdateDocumentsEvent, UpdateDocumentsEventOperationOneOf, UpdateExistingOperation, UpdateSectionRequest, UpdateSectionResponse, VideoResolution, WebhookIdentityType, WebhookIdentityTypeWithLiterals, utils } from './index.typings.js';
2
+ import { Section, CreateSectionOptions, BulkCreateSectionsOptions, BulkCreateSectionsResponse, BulkCreateSectionOptions, BulkCreateSectionResponse, GetSectionOptions, UpdateSectionOptions, ListSectionsOptions, ListSectionsResponse, CloneSectionOptions, CloneSectionResponse, MoveSectionOptions, MoveSectionResponse, PublishSectionOptions, PublishSectionResponse, SectionQuery, QuerySectionsOptions, typedQuerySections, SectionsQueryBuilder } from './index.typings.js';
3
+ export { AccountInfo, ActionEvent, AddressLocation, ApplicationError, BulkActionMetadata, BulkActionType, BulkActionTypeWithLiterals, BulkCloneSectionRequest, BulkCloneSectionResponse, BulkCreateSectionMigrationRequest, BulkCreateSectionMigrationResponse, BulkCreateSectionRequest, BulkCreateSectionsRequest, BulkSectionResult, CloneSectionRequest, CommonQueryWithEntityContext, CreateSectionRequest, CreateSectionResponse, CursorPaging, CursorPagingMetadata, CursorQuery, CursorQueryPagingMethodOneOf, Cursors, DeleteAllProgramSectionsRequest, DeleteAllProgramSectionsResponse, DeleteByFilterOperation, DeleteByIdsOperation, DeleteSectionRequest, DeleteSectionResponse, Description, DescriptionFieldSet, DescriptionFieldSetWithLiterals, DescriptionMediaOneOf, DocumentImage, DocumentPayload, DocumentUpdateOperation, DomainEvent, DomainEventBodyOneOf, Empty, EntityCreatedEvent, EntityDeletedEvent, EntityUpdatedEvent, Enum, EnumWithLiterals, ExtendedFields, FocalPoint, GetSectionRequest, GetSectionResponse, IdentificationData, IdentificationDataIdOneOf, IndexDocument, ItemMetadata, ListSectionsRequest, MessageEnvelope, MoveSectionRequest, PublishSectionRequest, QuerySectionsRequest, QuerySectionsResponse, RequestedFields, RequestedFieldsWithLiterals, RestoreInfo, RestoreSectionFromTrashRequest, RestoreSectionFromTrashResponse, SearchIndexingNotification, SearchIndexingNotificationState, SearchIndexingNotificationStateWithLiterals, SectionCloned, SectionDeleted, SectionMoved, SectionPublished, SectionQuerySpec, SectionUpdated, SectionsQueryResult, SortOrder, SortOrderWithLiterals, Sorting, State, StateWithLiterals, UpdateByFilterOperation, UpdateDocumentsEvent, UpdateDocumentsEventOperationOneOf, UpdateExistingOperation, UpdateSectionRequest, UpdateSectionResponse, VideoResolution, WebhookIdentityType, WebhookIdentityTypeWithLiterals, utils } from './index.typings.js';
4
4
 
5
5
  declare function createSection$1(httpClient: HttpClient): CreateSectionSignature;
6
6
  interface CreateSectionSignature {
@@ -9,14 +9,14 @@ interface CreateSectionSignature {
9
9
  *
10
10
  * The section is added to the program identified by `section.program_id`. Provide that program ID in the request. Set `section.description.title` for the section title. `section.description.details`, `section.description.image`, and `section.description.video` are deprecated backward-compatibility fields. The stored ordering value is assigned automatically.
11
11
  *
12
- * To create multiple sections in a single API call, call [Bulk Create Section](https://dev.wix.com/docs/api-reference/business-management/online-programs/sections/bulk-create-section).
12
+ * To create multiple sections in a single API call, call [Bulk Create Sections](https://dev.wix.com/docs/api-reference/business-management/online-programs/sections/bulk-create-sections).
13
13
  * @param - Section to create. Must include `section.program_id`.
14
14
  * @returns Created section.
15
15
  */
16
16
  (section: Section, options?: CreateSectionOptions): Promise<NonNullablePaths<Section, `programId` | `description.title` | `state` | `oldTotalSteps` | `trialSection` | `ordering` | `delayInDays`, 3>>;
17
17
  }
18
- declare function bulkCreateSection$1(httpClient: HttpClient): BulkCreateSectionSignature;
19
- interface BulkCreateSectionSignature {
18
+ declare function bulkCreateSections$1(httpClient: HttpClient): BulkCreateSectionsSignature;
19
+ interface BulkCreateSectionsSignature {
20
20
  /**
21
21
  * Creates up to 100 sections in a single API call.
22
22
  *
@@ -25,6 +25,17 @@ interface BulkCreateSectionSignature {
25
25
  * To create a single section, call [Create Section](https://dev.wix.com/docs/api-reference/business-management/online-programs/sections/create-section).
26
26
  * @param - List of sections to create. Each section must include `program_id`, and all sections must belong to the same program.
27
27
  */
28
+ (sections: Section[], options?: BulkCreateSectionsOptions): Promise<NonNullablePaths<BulkCreateSectionsResponse, `results` | `results.${number}.itemMetadata.originalIndex` | `results.${number}.itemMetadata.success` | `results.${number}.itemMetadata.error.code` | `results.${number}.itemMetadata.error.description` | `results.${number}.item.programId` | `results.${number}.item.description.title` | `results.${number}.item.state` | `results.${number}.item.oldTotalSteps` | `results.${number}.item.trialSection` | `results.${number}.item.ordering` | `results.${number}.item.delayInDays` | `results.${number}.action` | `bulkActionMetadata.totalSuccesses` | `bulkActionMetadata.totalFailures` | `bulkActionMetadata.undetailedFailures`, 6>>;
29
+ }
30
+ declare function bulkCreateSection$1(httpClient: HttpClient): BulkCreateSectionSignature;
31
+ interface BulkCreateSectionSignature {
32
+ /**
33
+ * Deprecated. Use [Bulk Create Sections](https://dev.wix.com/docs/api-reference/business-management/online-programs/sections/bulk-create-sections).
34
+ *
35
+ * To create a single section, call [Create Section](https://dev.wix.com/docs/api-reference/business-management/online-programs/sections/create-section).
36
+ * @param - List of sections to create. Each section must include `program_id`, and all sections must belong to the same program.
37
+ * @deprecated
38
+ */
28
39
  (sections: Section[], options?: BulkCreateSectionOptions): Promise<NonNullablePaths<BulkCreateSectionResponse, `results` | `results.${number}.itemMetadata.originalIndex` | `results.${number}.itemMetadata.success` | `results.${number}.itemMetadata.error.code` | `results.${number}.itemMetadata.error.description` | `results.${number}.item.programId` | `results.${number}.item.description.title` | `results.${number}.item.state` | `results.${number}.item.oldTotalSteps` | `results.${number}.item.trialSection` | `results.${number}.item.ordering` | `results.${number}.item.delayInDays` | `results.${number}.action` | `bulkActionMetadata.totalSuccesses` | `bulkActionMetadata.totalFailures` | `bulkActionMetadata.undetailedFailures`, 6>>;
29
40
  }
30
41
  declare function getSection$1(httpClient: HttpClient): GetSectionSignature;
@@ -109,6 +120,7 @@ declare function customQuerySections(httpClient: HttpClient): {
109
120
  (options?: QuerySectionsOptions): SectionsQueryBuilder;
110
121
  };
111
122
  declare const createSection: MaybeContext<BuildRESTFunction<typeof createSection$1> & typeof createSection$1>;
123
+ declare const bulkCreateSections: MaybeContext<BuildRESTFunction<typeof bulkCreateSections$1> & typeof bulkCreateSections$1>;
112
124
  declare const bulkCreateSection: MaybeContext<BuildRESTFunction<typeof bulkCreateSection$1> & typeof bulkCreateSection$1>;
113
125
  declare const getSection: MaybeContext<BuildRESTFunction<typeof getSection$1> & typeof getSection$1>;
114
126
  declare const updateSection: MaybeContext<BuildRESTFunction<typeof updateSection$1> & typeof updateSection$1>;
@@ -119,4 +131,4 @@ declare const moveSection: MaybeContext<BuildRESTFunction<typeof moveSection$1>
119
131
  declare const publishSection: MaybeContext<BuildRESTFunction<typeof publishSection$1> & typeof publishSection$1>;
120
132
  declare const querySections: MaybeContext<BuildRESTFunction<typeof customQuerySections> & typeof customQuerySections>;
121
133
 
122
- export { BulkCreateSectionOptions, BulkCreateSectionResponse, CloneSectionOptions, CloneSectionResponse, CreateSectionOptions, GetSectionOptions, ListSectionsOptions, ListSectionsResponse, MoveSectionOptions, MoveSectionResponse, PublishSectionOptions, PublishSectionResponse, QuerySectionsOptions, Section, SectionQuery, SectionsQueryBuilder, UpdateSectionOptions, bulkCreateSection, cloneSection, createSection, deleteSection, getSection, listSections, moveSection, publishSection, querySections, updateSection };
134
+ export { BulkCreateSectionOptions, BulkCreateSectionResponse, BulkCreateSectionsOptions, BulkCreateSectionsResponse, CloneSectionOptions, CloneSectionResponse, CreateSectionOptions, GetSectionOptions, ListSectionsOptions, ListSectionsResponse, MoveSectionOptions, MoveSectionResponse, PublishSectionOptions, PublishSectionResponse, QuerySectionsOptions, Section, SectionQuery, SectionsQueryBuilder, UpdateSectionOptions, bulkCreateSection, bulkCreateSections, cloneSection, createSection, deleteSection, getSection, listSections, moveSection, publishSection, querySections, updateSection };
@@ -29,6 +29,7 @@ __export(index_exports, {
29
29
  State: () => State,
30
30
  WebhookIdentityType: () => WebhookIdentityType,
31
31
  bulkCreateSection: () => bulkCreateSection4,
32
+ bulkCreateSections: () => bulkCreateSections4,
32
33
  cloneSection: () => cloneSection4,
33
34
  createSection: () => createSection4,
34
35
  deleteSection: () => deleteSection4,
@@ -239,6 +240,95 @@ function createSection(payload) {
239
240
  }
240
241
  return __createSection;
241
242
  }
243
+ function bulkCreateSections(payload) {
244
+ function __bulkCreateSections({ host }) {
245
+ const serializedData = (0, import_transform_paths.transformPaths)(payload, [
246
+ {
247
+ transformFn: import_timestamp.transformSDKTimestampToRESTTimestamp,
248
+ paths: [
249
+ { path: "sections.createdDate" },
250
+ { path: "sections.updatedDate" },
251
+ { path: "sections.description.image.urlExpirationDate" },
252
+ { path: "sections.description.video.urlExpirationDate" },
253
+ { path: "sections.description.video.resolutions.urlExpirationDate" },
254
+ {
255
+ path: "sections.description.video.resolutions.poster.urlExpirationDate"
256
+ },
257
+ { path: "sections.description.video.posters.urlExpirationDate" }
258
+ ]
259
+ },
260
+ {
261
+ transformFn: import_float.transformSDKFloatToRESTFloat,
262
+ paths: [
263
+ { path: "sections.ordering" },
264
+ { path: "sections.description.image.focalPoint.x" },
265
+ { path: "sections.description.image.focalPoint.y" },
266
+ {
267
+ path: "sections.description.video.resolutions.poster.focalPoint.x"
268
+ },
269
+ {
270
+ path: "sections.description.video.resolutions.poster.focalPoint.y"
271
+ },
272
+ { path: "sections.description.video.posters.focalPoint.x" },
273
+ { path: "sections.description.video.posters.focalPoint.y" }
274
+ ]
275
+ }
276
+ ]);
277
+ const metadata = {
278
+ entityFqdn: "wix.online_programs.v3.section",
279
+ method: "POST",
280
+ methodFqn: "wix.onlineprograms.sections.v3.SectionsService.BulkCreateSections",
281
+ packageName: PACKAGE_NAME,
282
+ migrationOptions: {
283
+ optInTransformResponse: true
284
+ },
285
+ url: resolveWixOnlineprogramsSectionsV3SectionsServiceUrl({
286
+ protoPath: "/v3/bulk/sections/create",
287
+ data: serializedData,
288
+ host
289
+ }),
290
+ data: serializedData,
291
+ transformResponse: (payload2) => (0, import_transform_paths.transformPaths)(payload2, [
292
+ {
293
+ transformFn: import_timestamp2.transformRESTTimestampToSDKTimestamp,
294
+ paths: [
295
+ { path: "results.item.createdDate" },
296
+ { path: "results.item.updatedDate" },
297
+ { path: "results.item.description.image.urlExpirationDate" },
298
+ { path: "results.item.description.video.urlExpirationDate" },
299
+ {
300
+ path: "results.item.description.video.resolutions.urlExpirationDate"
301
+ },
302
+ {
303
+ path: "results.item.description.video.resolutions.poster.urlExpirationDate"
304
+ },
305
+ {
306
+ path: "results.item.description.video.posters.urlExpirationDate"
307
+ }
308
+ ]
309
+ },
310
+ {
311
+ transformFn: import_float2.transformRESTFloatToSDKFloat,
312
+ paths: [
313
+ { path: "results.item.ordering" },
314
+ { path: "results.item.description.image.focalPoint.x" },
315
+ { path: "results.item.description.image.focalPoint.y" },
316
+ {
317
+ path: "results.item.description.video.resolutions.poster.focalPoint.x"
318
+ },
319
+ {
320
+ path: "results.item.description.video.resolutions.poster.focalPoint.y"
321
+ },
322
+ { path: "results.item.description.video.posters.focalPoint.x" },
323
+ { path: "results.item.description.video.posters.focalPoint.y" }
324
+ ]
325
+ }
326
+ ])
327
+ };
328
+ return metadata;
329
+ }
330
+ return __bulkCreateSections;
331
+ }
242
332
  function bulkCreateSection(payload) {
243
333
  function __bulkCreateSection({ host }) {
244
334
  const serializedData = (0, import_transform_paths.transformPaths)(payload, [
@@ -282,7 +372,7 @@ function bulkCreateSection(payload) {
282
372
  optInTransformResponse: true
283
373
  },
284
374
  url: resolveWixOnlineprogramsSectionsV3SectionsServiceUrl({
285
- protoPath: "/v3/bulk/sections/create",
375
+ protoPath: "/v3/bulk/sections/create-deprecated",
286
376
  data: serializedData,
287
377
  host
288
378
  }),
@@ -493,6 +583,15 @@ function deleteSection(payload) {
493
583
  }
494
584
  function querySections(payload) {
495
585
  function __querySections({ host }) {
586
+ const serializedData = (0, import_transform_paths.transformPaths)(payload, [
587
+ {
588
+ transformFn: import_float.transformSDKFloatToRESTFloat,
589
+ paths: [
590
+ { path: "query.sort.origin.latitude" },
591
+ { path: "query.sort.origin.longitude" }
592
+ ]
593
+ }
594
+ ]);
496
595
  const metadata = {
497
596
  entityFqdn: "wix.online_programs.v3.section",
498
597
  method: "POST",
@@ -503,10 +602,10 @@ function querySections(payload) {
503
602
  },
504
603
  url: resolveWixOnlineprogramsSectionsV3SectionsServiceUrl({
505
604
  protoPath: "/v3/sections/query",
506
- data: payload,
605
+ data: serializedData,
507
606
  host
508
607
  }),
509
- data: payload,
608
+ data: serializedData,
510
609
  transformResponse: (payload2) => (0, import_transform_paths.transformPaths)(payload2, [
511
610
  {
512
611
  transformFn: import_timestamp2.transformRESTTimestampToSDKTimestamp,
@@ -872,6 +971,55 @@ async function createSection2(section, options) {
872
971
  throw transformedError;
873
972
  }
874
973
  }
974
+ async function bulkCreateSections2(sections, options) {
975
+ const { httpClient, sideEffects } = arguments[2];
976
+ const payload = (0, import_transform_paths2.transformPaths)(
977
+ (0, import_rename_all_nested_keys.renameKeysFromSDKRequestToRESTRequest)({
978
+ sections,
979
+ fields: options?.fields
980
+ }),
981
+ [
982
+ {
983
+ transformFn: import_image.transformSDKImageToRESTImage,
984
+ paths: [{ path: "sections.description.image" }]
985
+ },
986
+ {
987
+ transformFn: import_video_v2.transformSDKVideoV2ToRESTVideoV2,
988
+ paths: [{ path: "sections.description.video" }]
989
+ }
990
+ ]
991
+ );
992
+ const reqOpts = bulkCreateSections(payload);
993
+ sideEffects?.onSiteCall?.();
994
+ try {
995
+ const result = await httpClient.request(reqOpts);
996
+ sideEffects?.onSuccess?.(result);
997
+ return (0, import_rename_all_nested_keys.renameKeysFromRESTResponseToSDKResponse)(
998
+ (0, import_transform_paths2.transformPaths)(result.data, [
999
+ {
1000
+ transformFn: import_image2.transformRESTImageToSDKImage,
1001
+ paths: [{ path: "results.item.description.image" }]
1002
+ },
1003
+ {
1004
+ transformFn: import_video_v22.transformRESTVideoV2ToSDKVideoV2,
1005
+ paths: [{ path: "results.item.description.video" }]
1006
+ }
1007
+ ])
1008
+ );
1009
+ } catch (err) {
1010
+ const transformedError = (0, import_transform_error.transformError)(
1011
+ err,
1012
+ {
1013
+ spreadPathsToArguments: {},
1014
+ explicitPathsToArguments: { sections: "$[0]", fields: "$[1].fields" },
1015
+ singleArgumentUnchanged: false
1016
+ },
1017
+ ["sections", "options"]
1018
+ );
1019
+ sideEffects?.onError?.(err);
1020
+ throw transformedError;
1021
+ }
1022
+ }
875
1023
  async function bulkCreateSection2(sections, options) {
876
1024
  const { httpClient, sideEffects } = arguments[2];
877
1025
  const payload = (0, import_transform_paths2.transformPaths)(
@@ -1132,9 +1280,7 @@ async function typedQuerySections(query, options) {
1132
1280
  }
1133
1281
  }
1134
1282
  var utils = {
1135
- query: {
1136
- ...(0, import_query_builder_utils.createQueryUtils)()
1137
- }
1283
+ query: /* @__PURE__ */ (0, import_query_builder_utils.createQueryUtils)()
1138
1284
  };
1139
1285
  async function listSections2(programId, options) {
1140
1286
  const { httpClient, sideEffects } = arguments[2];
@@ -1311,6 +1457,14 @@ function createSection3(httpClient) {
1311
1457
  { httpClient }
1312
1458
  );
1313
1459
  }
1460
+ function bulkCreateSections3(httpClient) {
1461
+ return (sections, options) => bulkCreateSections2(
1462
+ sections,
1463
+ options,
1464
+ // @ts-ignore
1465
+ { httpClient }
1466
+ );
1467
+ }
1314
1468
  function bulkCreateSection3(httpClient) {
1315
1469
  return (sections, options) => bulkCreateSection2(
1316
1470
  sections,
@@ -1392,7 +1546,7 @@ function publishSection3(httpClient) {
1392
1546
  var import_rest_modules3 = require("@wix/sdk-runtime/rest-modules");
1393
1547
  var import_query_method_router = require("@wix/sdk-runtime/query-method-router");
1394
1548
  function customQuerySections(httpClient) {
1395
- const router = (0, import_query_method_router.createQueryOverloadRouter)({
1549
+ const router = /* @__PURE__ */ (0, import_query_method_router.createQueryOverloadRouter)({
1396
1550
  builderQueryFunction: (options) => querySections3(httpClient)(options),
1397
1551
  typedQueryFunction: (query, options) => typedQuerySections2(httpClient)(query, options),
1398
1552
  hasOptionsParameter: true
@@ -1403,6 +1557,7 @@ function customQuerySections(httpClient) {
1403
1557
  return overloadedQuery;
1404
1558
  }
1405
1559
  var createSection4 = /* @__PURE__ */ (0, import_rest_modules3.createRESTModule)(createSection3);
1560
+ var bulkCreateSections4 = /* @__PURE__ */ (0, import_rest_modules3.createRESTModule)(bulkCreateSections3);
1406
1561
  var bulkCreateSection4 = /* @__PURE__ */ (0, import_rest_modules3.createRESTModule)(bulkCreateSection3);
1407
1562
  var getSection4 = /* @__PURE__ */ (0, import_rest_modules3.createRESTModule)(getSection3);
1408
1563
  var updateSection4 = /* @__PURE__ */ (0, import_rest_modules3.createRESTModule)(updateSection3);
@@ -1423,6 +1578,7 @@ var querySections4 = /* @__PURE__ */ (0, import_rest_modules3.createRESTModule)(
1423
1578
  State,
1424
1579
  WebhookIdentityType,
1425
1580
  bulkCreateSection,
1581
+ bulkCreateSections,
1426
1582
  cloneSection,
1427
1583
  createSection,
1428
1584
  deleteSection,