@wix/auto_sdk_blog_categories 1.0.34 → 1.0.36
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 +9 -9
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +8 -4
- package/build/cjs/index.typings.js +9 -9
- package/build/cjs/index.typings.js.map +1 -1
- package/build/es/index.d.mts +1 -1
- package/build/es/index.mjs +7 -5
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +8 -4
- package/build/es/index.typings.mjs +7 -5
- package/build/es/index.typings.mjs.map +1 -1
- package/build/internal/cjs/index.d.ts +1 -1
- package/build/internal/cjs/index.js +9 -9
- package/build/internal/cjs/index.js.map +1 -1
- package/build/internal/cjs/index.typings.d.ts +8 -4
- package/build/internal/cjs/index.typings.js +9 -9
- package/build/internal/cjs/index.typings.js.map +1 -1
- package/build/internal/es/index.d.mts +1 -1
- package/build/internal/es/index.mjs +7 -5
- package/build/internal/es/index.mjs.map +1 -1
- package/build/internal/es/index.typings.d.mts +8 -4
- package/build/internal/es/index.typings.mjs +7 -5
- package/build/internal/es/index.typings.mjs.map +1 -1
- package/package.json +4 -4
package/build/cjs/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { HttpClient, NonNullablePaths, EventDefinition, MaybeContext, BuildRESTFunction, BuildEventDefinition } from '@wix/sdk-types';
|
|
2
2
|
import { Category, CreateCategoryOptions, UpdateCategory, UpdateCategoryOptions, GetCategoryOptions, GetCategoryResponse, GetCategoryBySlugOptions, GetCategoryBySlugResponse, ListCategoriesOptions, ListCategoriesResponse, CategoryCreatedEnvelope, CategoryDeletedEnvelope, CategoryUpdatedEnvelope, CategoryQuery, QueryCategoriesOptions, typedQueryCategories, CategoriesQueryBuilder } from './index.typings.js';
|
|
3
|
-
export { AccountInfo, AccountInfoMetadata, ActionEvent, ApplicationError, BaseEventMetadata, BlogPaging, BulkActionMetadata, BulkCategoryResult, BulkCreateCategoriesRequest, BulkCreateCategoriesResponse, BulkDeleteCategoryRequest, BulkDeleteCategoryResponse, BulkUpdateCategoriesRequest, BulkUpdateCategoriesResponse, CategoriesQueryResult, CategoryLanguageCount, CategoryQuerySpec, CategoryTranslation, CommonQueryWithEntityContext, CreateCategoryRequest, CreateCategoryResponse, CursorPaging, Cursors, DeleteCategoryRequest, DeleteCategoryResponse, DomainEvent, DomainEventBodyOneOf, EntityCreatedEvent, EntityDeletedEvent, EntityUpdatedEvent, EventMetadata, Field, FieldWithLiterals,
|
|
3
|
+
export { AccountInfo, AccountInfoMetadata, ActionEvent, ApplicationError, BaseEventMetadata, BlogPaging, BulkActionMetadata, BulkCategoryResult, BulkCreateCategoriesRequest, BulkCreateCategoriesResponse, BulkDeleteCategoryRequest, BulkDeleteCategoryResponse, BulkUpdateCategoriesRequest, BulkUpdateCategoriesResponse, CategoriesQueryResult, CategoryLanguageCount, CategoryQuerySpec, CategoryTranslation, CommonQueryWithEntityContext, CreateCategoryRequest, CreateCategoryResponse, CursorPaging, Cursors, DeleteCategoryRequest, DeleteCategoryResponse, DomainEvent, DomainEventBodyOneOf, EntityCreatedEvent, EntityDeletedEvent, EntityUpdatedEvent, EventMetadata, Field, FieldWithLiterals, FocalPoint, GetCategoriesCountByLanguageRequest, GetCategoriesCountByLanguageResponse, GetCategoryBySlugRequest, GetCategoryRequest, IdentificationData, IdentificationDataIdOneOf, InitialCategoriesCopied, ItemMetadata, Keyword, ListCategoriesRequest, MaskedCategory, MessageEnvelope, MetaData, Paging, PagingMetadataV2, PlatformQuery, PlatformQueryPagingMethodOneOf, QueryCategoriesRequest, QueryCategoriesResponse, RestoreInfo, SeoSchema, Settings, SortOrder, SortOrderWithLiterals, Sorting, Tag, UpdateCategoryRequest, UpdateCategoryResponse, WebhookIdentityType, WebhookIdentityTypeWithLiterals, utils } from './index.typings.js';
|
|
4
4
|
|
|
5
5
|
declare function createCategory$1(httpClient: HttpClient): CreateCategorySignature;
|
|
6
6
|
interface CreateCategorySignature {
|
package/build/cjs/index.js
CHANGED
|
@@ -21,9 +21,6 @@ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: tru
|
|
|
21
21
|
var index_exports = {};
|
|
22
22
|
__export(index_exports, {
|
|
23
23
|
Field: () => Field,
|
|
24
|
-
Filter: () => Filter,
|
|
25
|
-
QueryBuilder: () => QueryBuilder,
|
|
26
|
-
Sort: () => Sort,
|
|
27
24
|
SortOrder: () => SortOrder,
|
|
28
25
|
WebhookIdentityType: () => WebhookIdentityType,
|
|
29
26
|
createCategory: () => createCategory4,
|
|
@@ -35,7 +32,8 @@ __export(index_exports, {
|
|
|
35
32
|
onCategoryDeleted: () => onCategoryDeleted2,
|
|
36
33
|
onCategoryUpdated: () => onCategoryUpdated2,
|
|
37
34
|
queryCategories: () => queryCategories4,
|
|
38
|
-
updateCategory: () => updateCategory4
|
|
35
|
+
updateCategory: () => updateCategory4,
|
|
36
|
+
utils: () => utils
|
|
39
37
|
});
|
|
40
38
|
module.exports = __toCommonJS(index_exports);
|
|
41
39
|
|
|
@@ -818,7 +816,11 @@ async function typedQueryCategories(query, options) {
|
|
|
818
816
|
throw transformedError;
|
|
819
817
|
}
|
|
820
818
|
}
|
|
821
|
-
var
|
|
819
|
+
var utils = {
|
|
820
|
+
query: {
|
|
821
|
+
...(0, import_query_builder_utils.createQueryUtils)()
|
|
822
|
+
}
|
|
823
|
+
};
|
|
822
824
|
async function deleteCategory2(categoryId) {
|
|
823
825
|
const { httpClient, sideEffects } = arguments[1];
|
|
824
826
|
const payload = (0, import_rename_all_nested_keys.renameKeysFromSDKRequestToRESTRequest)({
|
|
@@ -1008,9 +1010,6 @@ var onCategoryUpdated2 = (0, import_event_definition_modules.createEventModule)(
|
|
|
1008
1010
|
// Annotate the CommonJS export names for ESM import in node:
|
|
1009
1011
|
0 && (module.exports = {
|
|
1010
1012
|
Field,
|
|
1011
|
-
Filter,
|
|
1012
|
-
QueryBuilder,
|
|
1013
|
-
Sort,
|
|
1014
1013
|
SortOrder,
|
|
1015
1014
|
WebhookIdentityType,
|
|
1016
1015
|
createCategory,
|
|
@@ -1022,6 +1021,7 @@ var onCategoryUpdated2 = (0, import_event_definition_modules.createEventModule)(
|
|
|
1022
1021
|
onCategoryDeleted,
|
|
1023
1022
|
onCategoryUpdated,
|
|
1024
1023
|
queryCategories,
|
|
1025
|
-
updateCategory
|
|
1024
|
+
updateCategory,
|
|
1025
|
+
utils
|
|
1026
1026
|
});
|
|
1027
1027
|
//# sourceMappingURL=index.js.map
|