@wix/auto_sdk_blog_categories 1.0.34 → 1.0.35
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 +7 -9
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +6 -4
- package/build/cjs/index.typings.js +7 -9
- package/build/cjs/index.typings.js.map +1 -1
- package/build/es/index.d.mts +1 -1
- package/build/es/index.mjs +5 -5
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +6 -4
- package/build/es/index.typings.mjs +5 -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 +7 -9
- package/build/internal/cjs/index.js.map +1 -1
- package/build/internal/cjs/index.typings.d.ts +6 -4
- package/build/internal/cjs/index.typings.js +7 -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 +5 -5
- package/build/internal/es/index.mjs.map +1 -1
- package/build/internal/es/index.typings.d.mts +6 -4
- package/build/internal/es/index.typings.mjs +5 -5
- package/build/internal/es/index.typings.mjs.map +1 -1
- package/package.json +2 -2
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,9 @@ async function typedQueryCategories(query, options) {
|
|
|
818
816
|
throw transformedError;
|
|
819
817
|
}
|
|
820
818
|
}
|
|
821
|
-
var
|
|
819
|
+
var utils = {
|
|
820
|
+
...(0, import_query_builder_utils.createQueryUtils)()
|
|
821
|
+
};
|
|
822
822
|
async function deleteCategory2(categoryId) {
|
|
823
823
|
const { httpClient, sideEffects } = arguments[1];
|
|
824
824
|
const payload = (0, import_rename_all_nested_keys.renameKeysFromSDKRequestToRESTRequest)({
|
|
@@ -1008,9 +1008,6 @@ var onCategoryUpdated2 = (0, import_event_definition_modules.createEventModule)(
|
|
|
1008
1008
|
// Annotate the CommonJS export names for ESM import in node:
|
|
1009
1009
|
0 && (module.exports = {
|
|
1010
1010
|
Field,
|
|
1011
|
-
Filter,
|
|
1012
|
-
QueryBuilder,
|
|
1013
|
-
Sort,
|
|
1014
1011
|
SortOrder,
|
|
1015
1012
|
WebhookIdentityType,
|
|
1016
1013
|
createCategory,
|
|
@@ -1022,6 +1019,7 @@ var onCategoryUpdated2 = (0, import_event_definition_modules.createEventModule)(
|
|
|
1022
1019
|
onCategoryDeleted,
|
|
1023
1020
|
onCategoryUpdated,
|
|
1024
1021
|
queryCategories,
|
|
1025
|
-
updateCategory
|
|
1022
|
+
updateCategory,
|
|
1023
|
+
utils
|
|
1026
1024
|
});
|
|
1027
1025
|
//# sourceMappingURL=index.js.map
|