@wix/auto_sdk_online-programs_sections 1.0.12 → 1.0.13

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 (50) hide show
  1. package/build/cjs/index.d.ts +1 -1
  2. package/build/cjs/index.js +10 -4
  3. package/build/cjs/index.js.map +1 -1
  4. package/build/cjs/index.typings.d.ts +60 -35
  5. package/build/cjs/index.typings.js +10 -4
  6. package/build/cjs/index.typings.js.map +1 -1
  7. package/build/cjs/meta.d.ts +6 -8
  8. package/build/cjs/meta.js +0 -2
  9. package/build/cjs/meta.js.map +1 -1
  10. package/build/cjs/schemas.d.ts +628 -0
  11. package/build/cjs/schemas.js +876 -0
  12. package/build/cjs/schemas.js.map +1 -0
  13. package/build/es/index.d.mts +1 -1
  14. package/build/es/index.mjs +8 -3
  15. package/build/es/index.mjs.map +1 -1
  16. package/build/es/index.typings.d.mts +60 -35
  17. package/build/es/index.typings.mjs +8 -3
  18. package/build/es/index.typings.mjs.map +1 -1
  19. package/build/es/meta.d.mts +6 -8
  20. package/build/es/meta.mjs +0 -2
  21. package/build/es/meta.mjs.map +1 -1
  22. package/build/es/schemas.d.mts +628 -0
  23. package/build/es/schemas.mjs +818 -0
  24. package/build/es/schemas.mjs.map +1 -0
  25. package/build/internal/cjs/index.d.ts +1 -1
  26. package/build/internal/cjs/index.js +10 -4
  27. package/build/internal/cjs/index.js.map +1 -1
  28. package/build/internal/cjs/index.typings.d.ts +60 -35
  29. package/build/internal/cjs/index.typings.js +10 -4
  30. package/build/internal/cjs/index.typings.js.map +1 -1
  31. package/build/internal/cjs/meta.d.ts +6 -8
  32. package/build/internal/cjs/meta.js +0 -2
  33. package/build/internal/cjs/meta.js.map +1 -1
  34. package/build/internal/cjs/schemas.d.ts +628 -0
  35. package/build/internal/cjs/schemas.js +876 -0
  36. package/build/internal/cjs/schemas.js.map +1 -0
  37. package/build/internal/es/index.d.mts +1 -1
  38. package/build/internal/es/index.mjs +8 -3
  39. package/build/internal/es/index.mjs.map +1 -1
  40. package/build/internal/es/index.typings.d.mts +60 -35
  41. package/build/internal/es/index.typings.mjs +8 -3
  42. package/build/internal/es/index.typings.mjs.map +1 -1
  43. package/build/internal/es/meta.d.mts +6 -8
  44. package/build/internal/es/meta.mjs +0 -2
  45. package/build/internal/es/meta.mjs.map +1 -1
  46. package/build/internal/es/schemas.d.mts +628 -0
  47. package/build/internal/es/schemas.mjs +818 -0
  48. package/build/internal/es/schemas.mjs.map +1 -0
  49. package/package.json +12 -5
  50. package/schemas/package.json +3 -0
@@ -1,6 +1,6 @@
1
1
  import { HttpClient, NonNullablePaths, MaybeContext, BuildRESTFunction } from '@wix/sdk-types';
2
2
  import { Section, CreateSectionOptions, BulkCreateSectionOptions, BulkCreateSectionResponse, BulkCreateSectionMigrationResponse, 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, 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 } from './index.typings.js';
3
+ export { AccountInfo, ActionEvent, ApplicationError, BulkActionMetadata, BulkActionType, BulkActionTypeWithLiterals, BulkCloneSectionRequest, BulkCloneSectionResponse, BulkCreateSectionMigrationRequest, 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';
4
4
 
5
5
  declare function createSection$1(httpClient: HttpClient): CreateSectionSignature;
6
6
  interface CreateSectionSignature {
@@ -38,7 +38,8 @@ __export(index_exports, {
38
38
  moveSection: () => moveSection4,
39
39
  publishSection: () => publishSection4,
40
40
  querySections: () => querySections4,
41
- updateSection: () => updateSection4
41
+ updateSection: () => updateSection4,
42
+ utils: () => utils
42
43
  });
43
44
  module.exports = __toCommonJS(index_exports);
44
45
 
@@ -854,8 +855,8 @@ var import_image2 = require("@wix/sdk-runtime/transformations/image");
854
855
  var import_video_v2 = require("@wix/sdk-runtime/transformations/video-v2");
855
856
  var import_video_v22 = require("@wix/sdk-runtime/transformations/video-v2");
856
857
  var import_transform_paths2 = require("@wix/sdk-runtime/transformations/transform-paths");
858
+ var import_query_builder_utils = require("@wix/sdk-runtime/query-builder-utils");
857
859
  var State = /* @__PURE__ */ ((State2) => {
858
- State2["UNKNOWN_STATE"] = "UNKNOWN_STATE";
859
860
  State2["DRAFT"] = "DRAFT";
860
861
  State2["PUBLISHED"] = "PUBLISHED";
861
862
  return State2;
@@ -870,7 +871,6 @@ var Enum = /* @__PURE__ */ ((Enum2) => {
870
871
  return Enum2;
871
872
  })(Enum || {});
872
873
  var RequestedFields = /* @__PURE__ */ ((RequestedFields2) => {
873
- RequestedFields2["UNKNOWN_REQUESTED_FIELD"] = "UNKNOWN_REQUESTED_FIELD";
874
874
  RequestedFields2["TOTAL_STEPS"] = "TOTAL_STEPS";
875
875
  return RequestedFields2;
876
876
  })(RequestedFields || {});
@@ -1259,6 +1259,11 @@ async function typedQuerySections(query, options) {
1259
1259
  throw transformedError;
1260
1260
  }
1261
1261
  }
1262
+ var utils = {
1263
+ query: {
1264
+ ...(0, import_query_builder_utils.createQueryUtils)()
1265
+ }
1266
+ };
1262
1267
  async function listSections2(programId, options) {
1263
1268
  const { httpClient, sideEffects } = arguments[2];
1264
1269
  const payload = (0, import_rename_all_nested_keys.renameKeysFromSDKRequestToRESTRequest)({
@@ -1563,6 +1568,7 @@ var querySections4 = /* @__PURE__ */ (0, import_rest_modules3.createRESTModule)(
1563
1568
  moveSection,
1564
1569
  publishSection,
1565
1570
  querySections,
1566
- updateSection
1571
+ updateSection,
1572
+ utils
1567
1573
  });
1568
1574
  //# sourceMappingURL=index.js.map