@wix/auto_sdk_blog_categories 1.0.42 → 1.0.43
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 +11 -2
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +17 -1
- package/build/cjs/index.typings.js +11 -2
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +12 -1
- package/build/cjs/meta.js +11 -2
- package/build/cjs/meta.js.map +1 -1
- package/build/es/index.d.mts +1 -1
- package/build/es/index.mjs +11 -2
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +17 -1
- package/build/es/index.typings.mjs +11 -2
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +12 -1
- package/build/es/meta.mjs +11 -2
- package/build/es/meta.mjs.map +1 -1
- package/build/internal/cjs/index.d.ts +1 -1
- package/build/internal/cjs/index.js +11 -2
- package/build/internal/cjs/index.js.map +1 -1
- package/build/internal/cjs/index.typings.d.ts +17 -1
- package/build/internal/cjs/index.typings.js +11 -2
- package/build/internal/cjs/index.typings.js.map +1 -1
- package/build/internal/cjs/meta.d.ts +12 -1
- package/build/internal/cjs/meta.js +11 -2
- package/build/internal/cjs/meta.js.map +1 -1
- package/build/internal/es/index.d.mts +1 -1
- package/build/internal/es/index.mjs +11 -2
- package/build/internal/es/index.mjs.map +1 -1
- package/build/internal/es/index.typings.d.mts +17 -1
- package/build/internal/es/index.typings.mjs +11 -2
- package/build/internal/es/index.typings.mjs.map +1 -1
- package/build/internal/es/meta.d.mts +12 -1
- package/build/internal/es/meta.mjs +11 -2
- package/build/internal/es/meta.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, 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';
|
|
3
|
+
export { AccountInfo, AccountInfoMetadata, ActionEvent, AddressLocation, 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
|
@@ -390,6 +390,15 @@ function listCategories(payload) {
|
|
|
390
390
|
}
|
|
391
391
|
function queryCategories(payload) {
|
|
392
392
|
function __queryCategories({ host }) {
|
|
393
|
+
const serializedData = (0, import_transform_paths.transformPaths)(payload, [
|
|
394
|
+
{
|
|
395
|
+
transformFn: import_float.transformSDKFloatToRESTFloat,
|
|
396
|
+
paths: [
|
|
397
|
+
{ path: "query.sort.origin.latitude" },
|
|
398
|
+
{ path: "query.sort.origin.longitude" }
|
|
399
|
+
]
|
|
400
|
+
}
|
|
401
|
+
]);
|
|
393
402
|
const metadata = {
|
|
394
403
|
entityFqdn: "wix.blog.v3.category",
|
|
395
404
|
method: "POST",
|
|
@@ -399,9 +408,9 @@ function queryCategories(payload) {
|
|
|
399
408
|
optInTransformResponse: true
|
|
400
409
|
},
|
|
401
410
|
url: resolveComWixpressNpmCommunitiesPlatformizedBlogV3CategoryServiceUrl(
|
|
402
|
-
{ protoPath: "/v3/categories/query", data:
|
|
411
|
+
{ protoPath: "/v3/categories/query", data: serializedData, host }
|
|
403
412
|
),
|
|
404
|
-
data:
|
|
413
|
+
data: serializedData,
|
|
405
414
|
transformResponse: (payload2) => (0, import_transform_paths.transformPaths)(payload2, [
|
|
406
415
|
{
|
|
407
416
|
transformFn: import_timestamp2.transformRESTTimestampToSDKTimestamp,
|