@wix/auto_sdk_online-programs_sections 1.0.11 → 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.
- package/build/cjs/index.d.ts +1 -1
- package/build/cjs/index.js +10 -4
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +62 -35
- package/build/cjs/index.typings.js +10 -4
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +8 -8
- package/build/cjs/meta.js +0 -2
- package/build/cjs/meta.js.map +1 -1
- package/build/cjs/schemas.d.ts +628 -0
- package/build/cjs/schemas.js +876 -0
- package/build/cjs/schemas.js.map +1 -0
- package/build/es/index.d.mts +1 -1
- package/build/es/index.mjs +8 -3
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +62 -35
- package/build/es/index.typings.mjs +8 -3
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +8 -8
- package/build/es/meta.mjs +0 -2
- package/build/es/meta.mjs.map +1 -1
- package/build/es/schemas.d.mts +628 -0
- package/build/es/schemas.mjs +818 -0
- package/build/es/schemas.mjs.map +1 -0
- package/build/internal/cjs/index.d.ts +1 -1
- package/build/internal/cjs/index.js +10 -4
- package/build/internal/cjs/index.js.map +1 -1
- package/build/internal/cjs/index.typings.d.ts +62 -35
- package/build/internal/cjs/index.typings.js +10 -4
- package/build/internal/cjs/index.typings.js.map +1 -1
- package/build/internal/cjs/meta.d.ts +8 -8
- package/build/internal/cjs/meta.js +0 -2
- package/build/internal/cjs/meta.js.map +1 -1
- package/build/internal/cjs/schemas.d.ts +628 -0
- package/build/internal/cjs/schemas.js +876 -0
- package/build/internal/cjs/schemas.js.map +1 -0
- package/build/internal/es/index.d.mts +1 -1
- package/build/internal/es/index.mjs +8 -3
- package/build/internal/es/index.mjs.map +1 -1
- package/build/internal/es/index.typings.d.mts +62 -35
- package/build/internal/es/index.typings.mjs +8 -3
- package/build/internal/es/index.typings.mjs.map +1 -1
- package/build/internal/es/meta.d.mts +8 -8
- package/build/internal/es/meta.mjs +0 -2
- package/build/internal/es/meta.mjs.map +1 -1
- package/build/internal/es/schemas.d.mts +628 -0
- package/build/internal/es/schemas.mjs +818 -0
- package/build/internal/es/schemas.mjs.map +1 -0
- package/package.json +12 -5
- package/schemas/package.json +3 -0
package/build/cjs/index.d.ts
CHANGED
|
@@ -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 {
|
package/build/cjs/index.js
CHANGED
|
@@ -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
|