@wix/auto_sdk_blog_categories 1.0.13 → 1.0.15

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 (117) hide show
  1. package/build/{internal/cjs/src/blog-v3-category-categories.universal.d.ts → cjs/blog-v3-category-categories.universal-CZqdXr9y.d.ts} +81 -291
  2. package/build/cjs/index.d.ts +119 -1
  3. package/build/cjs/index.js +935 -15
  4. package/build/cjs/index.js.map +1 -1
  5. package/build/cjs/meta.d.ts +461 -1
  6. package/build/cjs/meta.js +539 -15
  7. package/build/cjs/meta.js.map +1 -1
  8. package/build/{cjs/src/blog-v3-category-categories.universal.d.ts → es/blog-v3-category-categories.universal-CZqdXr9y.d.mts} +81 -291
  9. package/build/{internal/es/src/blog-v3-category-categories.public.d.ts → es/index.d.mts} +36 -16
  10. package/build/es/index.mjs +902 -0
  11. package/build/es/index.mjs.map +1 -0
  12. package/build/{internal/es/src/blog-v3-category-categories.types.d.ts → es/meta.d.mts} +65 -320
  13. package/build/es/meta.mjs +509 -0
  14. package/build/es/meta.mjs.map +1 -0
  15. package/build/{es/src/blog-v3-category-categories.universal.d.ts → internal/cjs/blog-v3-category-categories.universal-CZqdXr9y.d.ts} +81 -291
  16. package/build/internal/cjs/index.d.ts +119 -1
  17. package/build/internal/cjs/index.js +935 -15
  18. package/build/internal/cjs/index.js.map +1 -1
  19. package/build/internal/cjs/meta.d.ts +461 -1
  20. package/build/internal/cjs/meta.js +539 -15
  21. package/build/internal/cjs/meta.js.map +1 -1
  22. package/build/internal/es/{src/blog-v3-category-categories.universal.d.ts → blog-v3-category-categories.universal-CZqdXr9y.d.mts} +81 -291
  23. package/build/internal/{cjs/src/blog-v3-category-categories.public.d.ts → es/index.d.mts} +36 -16
  24. package/build/internal/es/index.mjs +902 -0
  25. package/build/internal/es/index.mjs.map +1 -0
  26. package/build/{cjs/src/blog-v3-category-categories.types.d.ts → internal/es/meta.d.mts} +65 -320
  27. package/build/internal/es/meta.mjs +509 -0
  28. package/build/internal/es/meta.mjs.map +1 -0
  29. package/package.json +9 -8
  30. package/build/cjs/index.typings.d.ts +0 -1
  31. package/build/cjs/index.typings.js +0 -18
  32. package/build/cjs/index.typings.js.map +0 -1
  33. package/build/cjs/src/blog-v3-category-categories.context.d.ts +0 -27
  34. package/build/cjs/src/blog-v3-category-categories.context.js +0 -33
  35. package/build/cjs/src/blog-v3-category-categories.context.js.map +0 -1
  36. package/build/cjs/src/blog-v3-category-categories.http.d.ts +0 -49
  37. package/build/cjs/src/blog-v3-category-categories.http.js +0 -408
  38. package/build/cjs/src/blog-v3-category-categories.http.js.map +0 -1
  39. package/build/cjs/src/blog-v3-category-categories.meta.d.ts +0 -27
  40. package/build/cjs/src/blog-v3-category-categories.meta.js +0 -161
  41. package/build/cjs/src/blog-v3-category-categories.meta.js.map +0 -1
  42. package/build/cjs/src/blog-v3-category-categories.public.d.ts +0 -99
  43. package/build/cjs/src/blog-v3-category-categories.public.js +0 -112
  44. package/build/cjs/src/blog-v3-category-categories.public.js.map +0 -1
  45. package/build/cjs/src/blog-v3-category-categories.types.js +0 -25
  46. package/build/cjs/src/blog-v3-category-categories.types.js.map +0 -1
  47. package/build/cjs/src/blog-v3-category-categories.universal.js +0 -513
  48. package/build/cjs/src/blog-v3-category-categories.universal.js.map +0 -1
  49. package/build/es/index.d.ts +0 -1
  50. package/build/es/index.js +0 -2
  51. package/build/es/index.js.map +0 -1
  52. package/build/es/index.typings.d.ts +0 -1
  53. package/build/es/index.typings.js +0 -2
  54. package/build/es/index.typings.js.map +0 -1
  55. package/build/es/meta.d.ts +0 -1
  56. package/build/es/meta.js +0 -2
  57. package/build/es/meta.js.map +0 -1
  58. package/build/es/src/blog-v3-category-categories.context.d.ts +0 -27
  59. package/build/es/src/blog-v3-category-categories.context.js +0 -27
  60. package/build/es/src/blog-v3-category-categories.context.js.map +0 -1
  61. package/build/es/src/blog-v3-category-categories.http.d.ts +0 -49
  62. package/build/es/src/blog-v3-category-categories.http.js +0 -398
  63. package/build/es/src/blog-v3-category-categories.http.js.map +0 -1
  64. package/build/es/src/blog-v3-category-categories.meta.d.ts +0 -27
  65. package/build/es/src/blog-v3-category-categories.meta.js +0 -128
  66. package/build/es/src/blog-v3-category-categories.meta.js.map +0 -1
  67. package/build/es/src/blog-v3-category-categories.public.d.ts +0 -99
  68. package/build/es/src/blog-v3-category-categories.public.js +0 -99
  69. package/build/es/src/blog-v3-category-categories.public.js.map +0 -1
  70. package/build/es/src/blog-v3-category-categories.types.d.ts +0 -716
  71. package/build/es/src/blog-v3-category-categories.types.js +0 -22
  72. package/build/es/src/blog-v3-category-categories.types.js.map +0 -1
  73. package/build/es/src/blog-v3-category-categories.universal.js +0 -480
  74. package/build/es/src/blog-v3-category-categories.universal.js.map +0 -1
  75. package/build/internal/cjs/index.typings.d.ts +0 -1
  76. package/build/internal/cjs/index.typings.js +0 -18
  77. package/build/internal/cjs/index.typings.js.map +0 -1
  78. package/build/internal/cjs/src/blog-v3-category-categories.context.d.ts +0 -27
  79. package/build/internal/cjs/src/blog-v3-category-categories.context.js +0 -33
  80. package/build/internal/cjs/src/blog-v3-category-categories.context.js.map +0 -1
  81. package/build/internal/cjs/src/blog-v3-category-categories.http.d.ts +0 -49
  82. package/build/internal/cjs/src/blog-v3-category-categories.http.js +0 -408
  83. package/build/internal/cjs/src/blog-v3-category-categories.http.js.map +0 -1
  84. package/build/internal/cjs/src/blog-v3-category-categories.meta.d.ts +0 -27
  85. package/build/internal/cjs/src/blog-v3-category-categories.meta.js +0 -161
  86. package/build/internal/cjs/src/blog-v3-category-categories.meta.js.map +0 -1
  87. package/build/internal/cjs/src/blog-v3-category-categories.public.js +0 -112
  88. package/build/internal/cjs/src/blog-v3-category-categories.public.js.map +0 -1
  89. package/build/internal/cjs/src/blog-v3-category-categories.types.d.ts +0 -716
  90. package/build/internal/cjs/src/blog-v3-category-categories.types.js +0 -25
  91. package/build/internal/cjs/src/blog-v3-category-categories.types.js.map +0 -1
  92. package/build/internal/cjs/src/blog-v3-category-categories.universal.js +0 -513
  93. package/build/internal/cjs/src/blog-v3-category-categories.universal.js.map +0 -1
  94. package/build/internal/es/index.d.ts +0 -1
  95. package/build/internal/es/index.js +0 -2
  96. package/build/internal/es/index.js.map +0 -1
  97. package/build/internal/es/index.typings.d.ts +0 -1
  98. package/build/internal/es/index.typings.js +0 -2
  99. package/build/internal/es/index.typings.js.map +0 -1
  100. package/build/internal/es/meta.d.ts +0 -1
  101. package/build/internal/es/meta.js +0 -2
  102. package/build/internal/es/meta.js.map +0 -1
  103. package/build/internal/es/src/blog-v3-category-categories.context.d.ts +0 -27
  104. package/build/internal/es/src/blog-v3-category-categories.context.js +0 -27
  105. package/build/internal/es/src/blog-v3-category-categories.context.js.map +0 -1
  106. package/build/internal/es/src/blog-v3-category-categories.http.d.ts +0 -49
  107. package/build/internal/es/src/blog-v3-category-categories.http.js +0 -398
  108. package/build/internal/es/src/blog-v3-category-categories.http.js.map +0 -1
  109. package/build/internal/es/src/blog-v3-category-categories.meta.d.ts +0 -27
  110. package/build/internal/es/src/blog-v3-category-categories.meta.js +0 -128
  111. package/build/internal/es/src/blog-v3-category-categories.meta.js.map +0 -1
  112. package/build/internal/es/src/blog-v3-category-categories.public.js +0 -99
  113. package/build/internal/es/src/blog-v3-category-categories.public.js.map +0 -1
  114. package/build/internal/es/src/blog-v3-category-categories.types.js +0 -22
  115. package/build/internal/es/src/blog-v3-category-categories.types.js.map +0 -1
  116. package/build/internal/es/src/blog-v3-category-categories.universal.js +0 -480
  117. package/build/internal/es/src/blog-v3-category-categories.universal.js.map +0 -1
@@ -1,27 +0,0 @@
1
- import { createCategory as publicCreateCategory, updateCategory as publicUpdateCategory, getCategory as publicGetCategory, getCategoryBySlug as publicGetCategoryBySlug, listCategories as publicListCategories, queryCategories as publicQueryCategories, deleteCategory as publicDeleteCategory } from './blog-v3-category-categories.public.js';
2
- import { createEventModule } from '@wix/sdk-runtime/event-definition-modules';
3
- import { BuildRESTFunction, MaybeContext } from '@wix/sdk-types';
4
- import { onCategoryCreated as publicOnCategoryCreated } from './blog-v3-category-categories.public.js';
5
- import { onCategoryDeleted as publicOnCategoryDeleted } from './blog-v3-category-categories.public.js';
6
- import { onCategoryUpdated as publicOnCategoryUpdated } from './blog-v3-category-categories.public.js';
7
- export declare const createCategory: MaybeContext<BuildRESTFunction<typeof publicCreateCategory> & typeof publicCreateCategory>;
8
- export declare const updateCategory: MaybeContext<BuildRESTFunction<typeof publicUpdateCategory> & typeof publicUpdateCategory>;
9
- export declare const getCategory: MaybeContext<BuildRESTFunction<typeof publicGetCategory> & typeof publicGetCategory>;
10
- export declare const getCategoryBySlug: MaybeContext<BuildRESTFunction<typeof publicGetCategoryBySlug> & typeof publicGetCategoryBySlug>;
11
- export declare const listCategories: MaybeContext<BuildRESTFunction<typeof publicListCategories> & typeof publicListCategories>;
12
- export declare const queryCategories: MaybeContext<BuildRESTFunction<typeof publicQueryCategories> & typeof publicQueryCategories>;
13
- export declare const deleteCategory: MaybeContext<BuildRESTFunction<typeof publicDeleteCategory> & typeof publicDeleteCategory>;
14
- /**
15
- * Triggered when a category is created.
16
- */
17
- export declare const onCategoryCreated: ReturnType<typeof createEventModule<typeof publicOnCategoryCreated>>;
18
- /**
19
- * Triggered when a category is deleted.
20
- */
21
- export declare const onCategoryDeleted: ReturnType<typeof createEventModule<typeof publicOnCategoryDeleted>>;
22
- /**
23
- * Triggered when a category is updated.
24
- */
25
- export declare const onCategoryUpdated: ReturnType<typeof createEventModule<typeof publicOnCategoryUpdated>>;
26
- export { Field, SortOrder, WebhookIdentityType, } from './blog-v3-category-categories.universal.js';
27
- export { Category, SeoSchema, Keyword, Tag, Settings, FocalPoint, CategoryTranslation, InitialCategoriesCopied, CreateCategoryRequest, CreateCategoryResponse, BulkCreateCategoriesRequest, BulkCreateCategoriesResponse, BulkCategoryResult, ItemMetadata, ApplicationError, BulkActionMetadata, BulkUpdateCategoriesRequest, MaskedCategory, BulkUpdateCategoriesResponse, UpdateCategoryRequest, UpdateCategoryResponse, GetCategoriesCountByLanguageRequest, GetCategoriesCountByLanguageResponse, CategoryLanguageCount, GetCategoryRequest, GetCategoryResponse, GetCategoryBySlugRequest, GetCategoryBySlugResponse, ListCategoriesRequest, BlogPaging, ListCategoriesResponse, MetaData, QueryCategoriesRequest, PlatformQuery, PlatformQueryPagingMethodOneOf, Sorting, Paging, CursorPaging, QueryCategoriesResponse, PagingMetadataV2, Cursors, BulkDeleteCategoryRequest, BulkDeleteCategoryResponse, DeleteCategoryRequest, DeleteCategoryResponse, DomainEvent, DomainEventBodyOneOf, EntityCreatedEvent, RestoreInfo, EntityUpdatedEvent, EntityDeletedEvent, ActionEvent, MessageEnvelope, IdentificationData, IdentificationDataIdOneOf, BaseEventMetadata, EventMetadata, CategoryCreatedEnvelope, CategoryDeletedEnvelope, CategoryUpdatedEnvelope, CreateCategoryOptions, UpdateCategory, UpdateCategoryOptions, GetCategoryOptions, GetCategoryBySlugOptions, ListCategoriesOptions, QueryCategoriesOptions, CategoriesQueryResult, CategoriesQueryBuilder, } from './blog-v3-category-categories.universal.js';
@@ -1,33 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.WebhookIdentityType = exports.SortOrder = exports.Field = exports.onCategoryUpdated = exports.onCategoryDeleted = exports.onCategoryCreated = exports.deleteCategory = exports.queryCategories = exports.listCategories = exports.getCategoryBySlug = exports.getCategory = exports.updateCategory = exports.createCategory = void 0;
4
- const blog_v3_category_categories_public_js_1 = require("./blog-v3-category-categories.public.js");
5
- const rest_modules_1 = require("@wix/sdk-runtime/rest-modules");
6
- const event_definition_modules_1 = require("@wix/sdk-runtime/event-definition-modules");
7
- const blog_v3_category_categories_public_js_2 = require("./blog-v3-category-categories.public.js");
8
- const blog_v3_category_categories_public_js_3 = require("./blog-v3-category-categories.public.js");
9
- const blog_v3_category_categories_public_js_4 = require("./blog-v3-category-categories.public.js");
10
- exports.createCategory = (0, rest_modules_1.createRESTModule)(blog_v3_category_categories_public_js_1.createCategory);
11
- exports.updateCategory = (0, rest_modules_1.createRESTModule)(blog_v3_category_categories_public_js_1.updateCategory);
12
- exports.getCategory = (0, rest_modules_1.createRESTModule)(blog_v3_category_categories_public_js_1.getCategory);
13
- exports.getCategoryBySlug = (0, rest_modules_1.createRESTModule)(blog_v3_category_categories_public_js_1.getCategoryBySlug);
14
- exports.listCategories = (0, rest_modules_1.createRESTModule)(blog_v3_category_categories_public_js_1.listCategories);
15
- exports.queryCategories = (0, rest_modules_1.createRESTModule)(blog_v3_category_categories_public_js_1.queryCategories);
16
- exports.deleteCategory = (0, rest_modules_1.createRESTModule)(blog_v3_category_categories_public_js_1.deleteCategory);
17
- /**
18
- * Triggered when a category is created.
19
- */
20
- exports.onCategoryCreated = (0, event_definition_modules_1.createEventModule)(blog_v3_category_categories_public_js_2.onCategoryCreated);
21
- /**
22
- * Triggered when a category is deleted.
23
- */
24
- exports.onCategoryDeleted = (0, event_definition_modules_1.createEventModule)(blog_v3_category_categories_public_js_3.onCategoryDeleted);
25
- /**
26
- * Triggered when a category is updated.
27
- */
28
- exports.onCategoryUpdated = (0, event_definition_modules_1.createEventModule)(blog_v3_category_categories_public_js_4.onCategoryUpdated);
29
- var blog_v3_category_categories_universal_js_1 = require("./blog-v3-category-categories.universal.js");
30
- Object.defineProperty(exports, "Field", { enumerable: true, get: function () { return blog_v3_category_categories_universal_js_1.Field; } });
31
- Object.defineProperty(exports, "SortOrder", { enumerable: true, get: function () { return blog_v3_category_categories_universal_js_1.SortOrder; } });
32
- Object.defineProperty(exports, "WebhookIdentityType", { enumerable: true, get: function () { return blog_v3_category_categories_universal_js_1.WebhookIdentityType; } });
33
- //# sourceMappingURL=blog-v3-category-categories.context.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"blog-v3-category-categories.context.js","sourceRoot":"","sources":["../../../src/blog-v3-category-categories.context.ts"],"names":[],"mappings":";;;AAAA,mGAQiD;AACjD,gEAAiE;AACjE,wFAA8E;AAE9E,mGAAuG;AACvG,mGAAuG;AACvG,mGAAuG;AAE1F,QAAA,cAAc,GAET,IAAA,+BAAgB,EAAC,sDAAoB,CAAC,CAAC;AAC5C,QAAA,cAAc,GAET,IAAA,+BAAgB,EAAC,sDAAoB,CAAC,CAAC;AAC5C,QAAA,WAAW,GAEN,IAAA,+BAAgB,EAAC,mDAAiB,CAAC,CAAC;AACzC,QAAA,iBAAiB,GAGZ,IAAA,+BAAgB,EAAC,yDAAuB,CAAC,CAAC;AAC/C,QAAA,cAAc,GAET,IAAA,+BAAgB,EAAC,sDAAoB,CAAC,CAAC;AAC5C,QAAA,eAAe,GAEV,IAAA,+BAAgB,EAAC,uDAAqB,CAAC,CAAC;AAC7C,QAAA,cAAc,GAET,IAAA,+BAAgB,EAAC,sDAAoB,CAAC,CAAC;AACzD;;GAEG;AACU,QAAA,iBAAiB,GAE1B,IAAA,4CAAiB,EAAC,yDAAuB,CAAC,CAAC;AAC/C;;GAEG;AACU,QAAA,iBAAiB,GAE1B,IAAA,4CAAiB,EAAC,yDAAuB,CAAC,CAAC;AAC/C;;GAEG;AACU,QAAA,iBAAiB,GAE1B,IAAA,4CAAiB,EAAC,yDAAuB,CAAC,CAAC;AAE/C,uGAIoD;AAHlD,iIAAA,KAAK,OAAA;AACL,qIAAA,SAAS,OAAA;AACT,+IAAA,mBAAmB,OAAA"}
@@ -1,49 +0,0 @@
1
- import { RequestOptionsFactory } from '@wix/sdk-types';
2
- /** Creates a category. */
3
- export declare function createCategory(payload: object): RequestOptionsFactory<any>;
4
- /** Updates a category. */
5
- export declare function updateCategory(payload: object): RequestOptionsFactory<any>;
6
- /** Gets a category with the specified ID. */
7
- export declare function getCategory(payload: object): RequestOptionsFactory<any>;
8
- /**
9
- * Gets a category with the specified slug.
10
- *
11
- * The slug is at the end of the URL of a specific category.
12
- * For example, if a category's URL is `https://example.com/blog/categories/famous-cats`, the slug is `famous-cats`.
13
- * The slug is a case-sensitive string that is derived from the category's label, unless specified otherwise.
14
- */
15
- export declare function getCategoryBySlug(payload: object): RequestOptionsFactory<any>;
16
- /**
17
- * Retrieves a list of up to 100 categories per request.
18
- *
19
- * If you pass a language filter to the method, it returns a list of up to 100 categories in the requested language.
20
- *
21
- * The categoies are displayed in order of their `displayPosition`, starting with `0`. The `displayPosition` is the position in which the categories
22
- * are displayed in the Category Menu page. By default, categories get added to the bottom of the Category Menu page with a `displayPosition` of `-1`.
23
- *
24
- * List Categories runs with these defaults, which you can override:
25
- * - `paging.limit` is `50`.
26
- * - `paging.offset` is `0`.
27
- *
28
- * List Categories is sorted by `displayPosition` in descending order. This cannot be overridden.
29
- */
30
- export declare function listCategories(payload: object): RequestOptionsFactory<any>;
31
- /**
32
- * Creates a query to retrieve a list of categories.
33
- *
34
- *
35
- * The Query Categories method builds a query to retrieve a list of up to 100 categories per language, and returns a [`CategoriesQueryBuilder`](https://dev.wix.com/docs/sdk/backend-modules/blog/categories/categories-query-builder/ascending) object.
36
- *
37
- * The response contains the query definition, which is typically used to run the query using the [`find()`](https://dev.wix.com/docs/sdk/backend-modules/blog/categories/categories-query-builder/find) method.
38
- *
39
- * You can refine the query by chaining `CategoriesQueryBuilder` methods to the query. `CategoriesQueryBuilder` methods enable you to sort, filter, and control the results that Query Categories returns. Any methods chained to the Query Categories method are applied in the order that they are called.
40
- *
41
- * Query Categories runs with these `CategoriesQueryBuilder` defaults, which you can override.
42
- * - [`limit(100)`](https://dev.wix.com/docs/sdk/backend-modules/blog/categories/categories-query-builder/limit)
43
- * - [`ascending(displayPosition)`](https://dev.wix.com/docs/sdk/backend-modules/blog/categories/categories-query-builder/ascending)
44
- *
45
- * The following `CategoriesQueryBuilder` methods are supported for Query Categories. For a full description of the `Categories` object, see the response for the [`items`](https://dev.wix.com/docs/sdk/backend-modules/blog/categories/categories-query-result/items) property in [`CategoriesQueryResult`](https://www.wix.com/velo/reference/wix-blog-backend/categories/categoriesqueryresult).
46
- */
47
- export declare function queryCategories(payload: object): RequestOptionsFactory<any>;
48
- /** Deletes a category. */
49
- export declare function deleteCategory(payload: object): RequestOptionsFactory<any>;
@@ -1,408 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.deleteCategory = exports.queryCategories = exports.listCategories = exports.getCategoryBySlug = exports.getCategory = exports.updateCategory = exports.createCategory = void 0;
4
- const rest_modules_1 = require("@wix/sdk-runtime/rest-modules");
5
- const float_1 = require("@wix/sdk-runtime/transformations/float");
6
- const float_2 = require("@wix/sdk-runtime/transformations/float");
7
- const timestamp_1 = require("@wix/sdk-runtime/transformations/timestamp");
8
- const timestamp_2 = require("@wix/sdk-runtime/transformations/timestamp");
9
- const field_mask_1 = require("@wix/sdk-runtime/transformations/field-mask");
10
- const transform_paths_1 = require("@wix/sdk-runtime/transformations/transform-paths");
11
- const rest_modules_2 = require("@wix/sdk-runtime/rest-modules");
12
- function resolveComWixpressNpmCommunitiesPlatformizedBlogV3CategoryServiceUrl(opts) {
13
- const domainToMappings = {
14
- 'manage._base_domain_': [
15
- {
16
- srcPath: '/_api/communities-blog-node-api/v3/categories',
17
- destPath: '/v3/categories',
18
- },
19
- {
20
- srcPath: '/_api/communities-blog-node-api/v3/bulk/category',
21
- destPath: '/v3/bulk/category',
22
- },
23
- {
24
- srcPath: '/_api/communities-blog-node-api/v3/bulk/categories',
25
- destPath: '/v3/bulk/categories',
26
- },
27
- ],
28
- '*.pub.wix-code.com': [
29
- {
30
- srcPath: '/_api/communities-blog-node-api/v3/categories',
31
- destPath: '/v3/categories',
32
- },
33
- ],
34
- 'bo._base_domain_': [
35
- {
36
- srcPath: '/_api/communities-blog-node-api/v3/categories',
37
- destPath: '/v3/categories',
38
- },
39
- ],
40
- 'wixbo.ai': [
41
- {
42
- srcPath: '/_api/communities-blog-node-api/v3/categories',
43
- destPath: '/v3/categories',
44
- },
45
- ],
46
- 'wix-bo.com': [
47
- {
48
- srcPath: '/_api/communities-blog-node-api/v3/categories',
49
- destPath: '/v3/categories',
50
- },
51
- ],
52
- 'editor.wixapps.net': [
53
- {
54
- srcPath: '/_api/communities-blog-node-api/v3/categories',
55
- destPath: '/v3/categories',
56
- },
57
- ],
58
- 'editor._base_domain_': [
59
- {
60
- srcPath: '/_api/communities-blog-node-api/v3/categories',
61
- destPath: '/v3/categories',
62
- },
63
- ],
64
- 'blocks._base_domain_': [
65
- {
66
- srcPath: '/_api/communities-blog-node-api/v3/categories',
67
- destPath: '/v3/categories',
68
- },
69
- ],
70
- 'create.editorx': [
71
- {
72
- srcPath: '/_api/communities-blog-node-api/v3/categories',
73
- destPath: '/v3/categories',
74
- },
75
- ],
76
- 'social-blog._base_domain_': [
77
- {
78
- srcPath: '/_api/communities-blog-node-api/v3/categories',
79
- destPath: '/v3/categories',
80
- },
81
- ],
82
- _: [
83
- {
84
- srcPath: '/_api/communities-blog-node-api/v3/categories',
85
- destPath: '/v3/categories',
86
- },
87
- ],
88
- 'apps._base_domain_': [
89
- {
90
- srcPath: '/_api/communities-blog-node-api/v3/categories',
91
- destPath: '/v3/categories',
92
- },
93
- ],
94
- 'www._base_domain_': [
95
- {
96
- srcPath: '/_api/communities-blog-node-api/v3/categories',
97
- destPath: '/v3/categories',
98
- },
99
- ],
100
- 'www.wixapis.com': [
101
- {
102
- srcPath: '/blog/v3/categories',
103
- destPath: '/v3/categories',
104
- },
105
- {
106
- srcPath: '/v3/categories',
107
- destPath: '/v3/categories',
108
- },
109
- ],
110
- '*.dev.wix-code.com': [
111
- {
112
- srcPath: '/_api/communities-blog-node-api/v3/categories',
113
- destPath: '/v3/categories',
114
- },
115
- ],
116
- 'api._api_base_domain_': [
117
- {
118
- srcPath: '/category-service-api-proxy',
119
- destPath: '',
120
- },
121
- ],
122
- };
123
- return (0, rest_modules_2.resolveUrl)(Object.assign(opts, { domainToMappings }));
124
- }
125
- const PACKAGE_NAME = '@wix/auto_sdk_blog_categories';
126
- /** Creates a category. */
127
- function createCategory(payload) {
128
- function __createCategory({ host }) {
129
- const serializedData = (0, transform_paths_1.transformPaths)(payload, [
130
- {
131
- transformFn: timestamp_1.transformSDKTimestampToRESTTimestamp,
132
- paths: [
133
- { path: 'category.updatedDate' },
134
- { path: 'category.coverImage.urlExpirationDate' },
135
- ],
136
- },
137
- {
138
- transformFn: float_1.transformSDKFloatToRESTFloat,
139
- paths: [
140
- { path: 'category.coverImage.focalPoint.x' },
141
- { path: 'category.coverImage.focalPoint.y' },
142
- ],
143
- },
144
- ]);
145
- const metadata = {
146
- entityFqdn: 'wix.blog.v3.category',
147
- method: 'POST',
148
- methodFqn: 'com.wixpress.npm.communities.platformized.blog.v3.CategoryService.CreateCategory',
149
- packageName: PACKAGE_NAME,
150
- url: resolveComWixpressNpmCommunitiesPlatformizedBlogV3CategoryServiceUrl({ protoPath: '/v3/categories', data: serializedData, host }),
151
- data: serializedData,
152
- transformResponse: (payload) => (0, transform_paths_1.transformPaths)(payload, [
153
- {
154
- transformFn: timestamp_2.transformRESTTimestampToSDKTimestamp,
155
- paths: [
156
- { path: 'category.updatedDate' },
157
- { path: 'category.coverImage.urlExpirationDate' },
158
- ],
159
- },
160
- {
161
- transformFn: float_2.transformRESTFloatToSDKFloat,
162
- paths: [
163
- { path: 'category.coverImage.focalPoint.x' },
164
- { path: 'category.coverImage.focalPoint.y' },
165
- ],
166
- },
167
- ]),
168
- };
169
- return metadata;
170
- }
171
- return __createCategory;
172
- }
173
- exports.createCategory = createCategory;
174
- /** Updates a category. */
175
- function updateCategory(payload) {
176
- function __updateCategory({ host }) {
177
- const serializedData = (0, transform_paths_1.transformPaths)(payload, [
178
- {
179
- transformFn: field_mask_1.transformSDKFieldMaskToRESTFieldMask,
180
- paths: [{ path: 'fieldMask' }],
181
- },
182
- {
183
- transformFn: timestamp_1.transformSDKTimestampToRESTTimestamp,
184
- paths: [
185
- { path: 'category.updatedDate' },
186
- { path: 'category.coverImage.urlExpirationDate' },
187
- ],
188
- },
189
- {
190
- transformFn: float_1.transformSDKFloatToRESTFloat,
191
- paths: [
192
- { path: 'category.coverImage.focalPoint.x' },
193
- { path: 'category.coverImage.focalPoint.y' },
194
- ],
195
- },
196
- ]);
197
- const metadata = {
198
- entityFqdn: 'wix.blog.v3.category',
199
- method: 'PATCH',
200
- methodFqn: 'com.wixpress.npm.communities.platformized.blog.v3.CategoryService.UpdateCategory',
201
- packageName: PACKAGE_NAME,
202
- url: resolveComWixpressNpmCommunitiesPlatformizedBlogV3CategoryServiceUrl({
203
- protoPath: '/v3/categories/{category.id}',
204
- data: serializedData,
205
- host,
206
- }),
207
- data: serializedData,
208
- transformResponse: (payload) => (0, transform_paths_1.transformPaths)(payload, [
209
- {
210
- transformFn: timestamp_2.transformRESTTimestampToSDKTimestamp,
211
- paths: [
212
- { path: 'category.updatedDate' },
213
- { path: 'category.coverImage.urlExpirationDate' },
214
- ],
215
- },
216
- {
217
- transformFn: float_2.transformRESTFloatToSDKFloat,
218
- paths: [
219
- { path: 'category.coverImage.focalPoint.x' },
220
- { path: 'category.coverImage.focalPoint.y' },
221
- ],
222
- },
223
- ]),
224
- };
225
- return metadata;
226
- }
227
- return __updateCategory;
228
- }
229
- exports.updateCategory = updateCategory;
230
- /** Gets a category with the specified ID. */
231
- function getCategory(payload) {
232
- function __getCategory({ host }) {
233
- const metadata = {
234
- entityFqdn: 'wix.blog.v3.category',
235
- method: 'GET',
236
- methodFqn: 'com.wixpress.npm.communities.platformized.blog.v3.CategoryService.GetCategory',
237
- packageName: PACKAGE_NAME,
238
- url: resolveComWixpressNpmCommunitiesPlatformizedBlogV3CategoryServiceUrl({ protoPath: '/v3/categories/{categoryId}', data: payload, host }),
239
- params: (0, rest_modules_1.toURLSearchParams)(payload),
240
- transformResponse: (payload) => (0, transform_paths_1.transformPaths)(payload, [
241
- {
242
- transformFn: timestamp_2.transformRESTTimestampToSDKTimestamp,
243
- paths: [
244
- { path: 'category.updatedDate' },
245
- { path: 'category.coverImage.urlExpirationDate' },
246
- ],
247
- },
248
- {
249
- transformFn: float_2.transformRESTFloatToSDKFloat,
250
- paths: [
251
- { path: 'category.coverImage.focalPoint.x' },
252
- { path: 'category.coverImage.focalPoint.y' },
253
- ],
254
- },
255
- ]),
256
- };
257
- return metadata;
258
- }
259
- return __getCategory;
260
- }
261
- exports.getCategory = getCategory;
262
- /**
263
- * Gets a category with the specified slug.
264
- *
265
- * The slug is at the end of the URL of a specific category.
266
- * For example, if a category's URL is `https://example.com/blog/categories/famous-cats`, the slug is `famous-cats`.
267
- * The slug is a case-sensitive string that is derived from the category's label, unless specified otherwise.
268
- */
269
- function getCategoryBySlug(payload) {
270
- function __getCategoryBySlug({ host }) {
271
- const metadata = {
272
- entityFqdn: 'wix.blog.v3.category',
273
- method: 'GET',
274
- methodFqn: 'com.wixpress.npm.communities.platformized.blog.v3.CategoryService.GetCategoryBySlug',
275
- packageName: PACKAGE_NAME,
276
- url: resolveComWixpressNpmCommunitiesPlatformizedBlogV3CategoryServiceUrl({ protoPath: '/v3/categories/slugs/{slug}', data: payload, host }),
277
- params: (0, rest_modules_1.toURLSearchParams)(payload),
278
- transformResponse: (payload) => (0, transform_paths_1.transformPaths)(payload, [
279
- {
280
- transformFn: timestamp_2.transformRESTTimestampToSDKTimestamp,
281
- paths: [
282
- { path: 'category.updatedDate' },
283
- { path: 'category.coverImage.urlExpirationDate' },
284
- ],
285
- },
286
- {
287
- transformFn: float_2.transformRESTFloatToSDKFloat,
288
- paths: [
289
- { path: 'category.coverImage.focalPoint.x' },
290
- { path: 'category.coverImage.focalPoint.y' },
291
- ],
292
- },
293
- ]),
294
- };
295
- return metadata;
296
- }
297
- return __getCategoryBySlug;
298
- }
299
- exports.getCategoryBySlug = getCategoryBySlug;
300
- /**
301
- * Retrieves a list of up to 100 categories per request.
302
- *
303
- * If you pass a language filter to the method, it returns a list of up to 100 categories in the requested language.
304
- *
305
- * The categoies are displayed in order of their `displayPosition`, starting with `0`. The `displayPosition` is the position in which the categories
306
- * are displayed in the Category Menu page. By default, categories get added to the bottom of the Category Menu page with a `displayPosition` of `-1`.
307
- *
308
- * List Categories runs with these defaults, which you can override:
309
- * - `paging.limit` is `50`.
310
- * - `paging.offset` is `0`.
311
- *
312
- * List Categories is sorted by `displayPosition` in descending order. This cannot be overridden.
313
- */
314
- function listCategories(payload) {
315
- function __listCategories({ host }) {
316
- const metadata = {
317
- entityFqdn: 'wix.blog.v3.category',
318
- method: 'GET',
319
- methodFqn: 'com.wixpress.npm.communities.platformized.blog.v3.CategoryService.ListCategories',
320
- packageName: PACKAGE_NAME,
321
- url: resolveComWixpressNpmCommunitiesPlatformizedBlogV3CategoryServiceUrl({ protoPath: '/v3/categories', data: payload, host }),
322
- params: (0, rest_modules_1.toURLSearchParams)(payload),
323
- transformResponse: (payload) => (0, transform_paths_1.transformPaths)(payload, [
324
- {
325
- transformFn: timestamp_2.transformRESTTimestampToSDKTimestamp,
326
- paths: [
327
- { path: 'categories.updatedDate' },
328
- { path: 'categories.coverImage.urlExpirationDate' },
329
- ],
330
- },
331
- {
332
- transformFn: float_2.transformRESTFloatToSDKFloat,
333
- paths: [
334
- { path: 'categories.coverImage.focalPoint.x' },
335
- { path: 'categories.coverImage.focalPoint.y' },
336
- ],
337
- },
338
- ]),
339
- };
340
- return metadata;
341
- }
342
- return __listCategories;
343
- }
344
- exports.listCategories = listCategories;
345
- /**
346
- * Creates a query to retrieve a list of categories.
347
- *
348
- *
349
- * The Query Categories method builds a query to retrieve a list of up to 100 categories per language, and returns a [`CategoriesQueryBuilder`](https://dev.wix.com/docs/sdk/backend-modules/blog/categories/categories-query-builder/ascending) object.
350
- *
351
- * The response contains the query definition, which is typically used to run the query using the [`find()`](https://dev.wix.com/docs/sdk/backend-modules/blog/categories/categories-query-builder/find) method.
352
- *
353
- * You can refine the query by chaining `CategoriesQueryBuilder` methods to the query. `CategoriesQueryBuilder` methods enable you to sort, filter, and control the results that Query Categories returns. Any methods chained to the Query Categories method are applied in the order that they are called.
354
- *
355
- * Query Categories runs with these `CategoriesQueryBuilder` defaults, which you can override.
356
- * - [`limit(100)`](https://dev.wix.com/docs/sdk/backend-modules/blog/categories/categories-query-builder/limit)
357
- * - [`ascending(displayPosition)`](https://dev.wix.com/docs/sdk/backend-modules/blog/categories/categories-query-builder/ascending)
358
- *
359
- * The following `CategoriesQueryBuilder` methods are supported for Query Categories. For a full description of the `Categories` object, see the response for the [`items`](https://dev.wix.com/docs/sdk/backend-modules/blog/categories/categories-query-result/items) property in [`CategoriesQueryResult`](https://www.wix.com/velo/reference/wix-blog-backend/categories/categoriesqueryresult).
360
- */
361
- function queryCategories(payload) {
362
- function __queryCategories({ host }) {
363
- const metadata = {
364
- entityFqdn: 'wix.blog.v3.category',
365
- method: 'POST',
366
- methodFqn: 'com.wixpress.npm.communities.platformized.blog.v3.CategoryService.QueryCategories',
367
- packageName: PACKAGE_NAME,
368
- url: resolveComWixpressNpmCommunitiesPlatformizedBlogV3CategoryServiceUrl({ protoPath: '/v3/categories/query', data: payload, host }),
369
- data: payload,
370
- transformResponse: (payload) => (0, transform_paths_1.transformPaths)(payload, [
371
- {
372
- transformFn: timestamp_2.transformRESTTimestampToSDKTimestamp,
373
- paths: [
374
- { path: 'categories.updatedDate' },
375
- { path: 'categories.coverImage.urlExpirationDate' },
376
- ],
377
- },
378
- {
379
- transformFn: float_2.transformRESTFloatToSDKFloat,
380
- paths: [
381
- { path: 'categories.coverImage.focalPoint.x' },
382
- { path: 'categories.coverImage.focalPoint.y' },
383
- ],
384
- },
385
- ]),
386
- };
387
- return metadata;
388
- }
389
- return __queryCategories;
390
- }
391
- exports.queryCategories = queryCategories;
392
- /** Deletes a category. */
393
- function deleteCategory(payload) {
394
- function __deleteCategory({ host }) {
395
- const metadata = {
396
- entityFqdn: 'wix.blog.v3.category',
397
- method: 'DELETE',
398
- methodFqn: 'com.wixpress.npm.communities.platformized.blog.v3.CategoryService.DeleteCategory',
399
- packageName: PACKAGE_NAME,
400
- url: resolveComWixpressNpmCommunitiesPlatformizedBlogV3CategoryServiceUrl({ protoPath: '/v3/categories/{categoryId}', data: payload, host }),
401
- params: (0, rest_modules_1.toURLSearchParams)(payload),
402
- };
403
- return metadata;
404
- }
405
- return __deleteCategory;
406
- }
407
- exports.deleteCategory = deleteCategory;
408
- //# sourceMappingURL=blog-v3-category-categories.http.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"blog-v3-category-categories.http.js","sourceRoot":"","sources":["../../../src/blog-v3-category-categories.http.ts"],"names":[],"mappings":";;;AAAA,gEAAkE;AAClE,kEAAsF;AACtF,kEAAsF;AACtF,0EAAkG;AAClG,0EAAkG;AAClG,4EAAmG;AACnG,sFAAkF;AAClF,gEAA2D;AAI3D,SAAS,oEAAoE,CAC3E,IAA8C;IAE9C,MAAM,gBAAgB,GAAG;QACvB,sBAAsB,EAAE;YACtB;gBACE,OAAO,EAAE,+CAA+C;gBACxD,QAAQ,EAAE,gBAAgB;aAC3B;YACD;gBACE,OAAO,EAAE,kDAAkD;gBAC3D,QAAQ,EAAE,mBAAmB;aAC9B;YACD;gBACE,OAAO,EAAE,oDAAoD;gBAC7D,QAAQ,EAAE,qBAAqB;aAChC;SACF;QACD,oBAAoB,EAAE;YACpB;gBACE,OAAO,EAAE,+CAA+C;gBACxD,QAAQ,EAAE,gBAAgB;aAC3B;SACF;QACD,kBAAkB,EAAE;YAClB;gBACE,OAAO,EAAE,+CAA+C;gBACxD,QAAQ,EAAE,gBAAgB;aAC3B;SACF;QACD,UAAU,EAAE;YACV;gBACE,OAAO,EAAE,+CAA+C;gBACxD,QAAQ,EAAE,gBAAgB;aAC3B;SACF;QACD,YAAY,EAAE;YACZ;gBACE,OAAO,EAAE,+CAA+C;gBACxD,QAAQ,EAAE,gBAAgB;aAC3B;SACF;QACD,oBAAoB,EAAE;YACpB;gBACE,OAAO,EAAE,+CAA+C;gBACxD,QAAQ,EAAE,gBAAgB;aAC3B;SACF;QACD,sBAAsB,EAAE;YACtB;gBACE,OAAO,EAAE,+CAA+C;gBACxD,QAAQ,EAAE,gBAAgB;aAC3B;SACF;QACD,sBAAsB,EAAE;YACtB;gBACE,OAAO,EAAE,+CAA+C;gBACx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0 @@
1
- import * as ambassadorWixBlogV3CategoryTypes from './blog-v3-category-categories.types.js';
2
- import * as ambassadorWixBlogV3CategoryUniversalTypes from './blog-v3-category-categories.universal.js';
3
- export type __PublicMethodMetaInfo<K = string, M = unknown, T = unknown, S = unknown, Q = unknown, R = unknown> = {
4
- getUrl: (context: any) => string;
5
- httpMethod: K;
6
- path: string;
7
- pathParams: M;
8
- __requestType: T;
9
- __originalRequestType: S;
10
- __responseType: Q;
11
- __originalResponseType: R;
12
- };
13
- export declare function createCategory(): __PublicMethodMetaInfo<'POST', {}, ambassadorWixBlogV3CategoryUniversalTypes.CreateCategoryRequest, ambassadorWixBlogV3CategoryTypes.CreateCategoryRequest, ambassadorWixBlogV3CategoryUniversalTypes.CreateCategoryResponse, ambassadorWixBlogV3CategoryTypes.CreateCategoryResponse>;
14
- export declare function updateCategory(): __PublicMethodMetaInfo<'PATCH', {
15
- categoryId: string;
16
- }, ambassadorWixBlogV3CategoryUniversalTypes.UpdateCategoryRequest, ambassadorWixBlogV3CategoryTypes.UpdateCategoryRequest, ambassadorWixBlogV3CategoryUniversalTypes.UpdateCategoryResponse, ambassadorWixBlogV3CategoryTypes.UpdateCategoryResponse>;
17
- export declare function getCategory(): __PublicMethodMetaInfo<'GET', {
18
- categoryId: string;
19
- }, ambassadorWixBlogV3CategoryUniversalTypes.GetCategoryRequest, ambassadorWixBlogV3CategoryTypes.GetCategoryRequest, ambassadorWixBlogV3CategoryUniversalTypes.GetCategoryResponse, ambassadorWixBlogV3CategoryTypes.GetCategoryResponse>;
20
- export declare function getCategoryBySlug(): __PublicMethodMetaInfo<'GET', {
21
- slug: string;
22
- }, ambassadorWixBlogV3CategoryUniversalTypes.GetCategoryBySlugRequest, ambassadorWixBlogV3CategoryTypes.GetCategoryBySlugRequest, ambassadorWixBlogV3CategoryUniversalTypes.GetCategoryBySlugResponse, ambassadorWixBlogV3CategoryTypes.GetCategoryBySlugResponse>;
23
- export declare function listCategories(): __PublicMethodMetaInfo<'GET', {}, ambassadorWixBlogV3CategoryUniversalTypes.ListCategoriesRequest, ambassadorWixBlogV3CategoryTypes.ListCategoriesRequest, ambassadorWixBlogV3CategoryUniversalTypes.ListCategoriesResponse, ambassadorWixBlogV3CategoryTypes.ListCategoriesResponse>;
24
- export declare function queryCategories(): __PublicMethodMetaInfo<'POST', {}, ambassadorWixBlogV3CategoryUniversalTypes.QueryCategoriesRequest, ambassadorWixBlogV3CategoryTypes.QueryCategoriesRequest, ambassadorWixBlogV3CategoryUniversalTypes.QueryCategoriesResponse, ambassadorWixBlogV3CategoryTypes.QueryCategoriesResponse>;
25
- export declare function deleteCategory(): __PublicMethodMetaInfo<'DELETE', {
26
- categoryId: string;
27
- }, ambassadorWixBlogV3CategoryUniversalTypes.DeleteCategoryRequest, ambassadorWixBlogV3CategoryTypes.DeleteCategoryRequest, ambassadorWixBlogV3CategoryUniversalTypes.DeleteCategoryResponse, ambassadorWixBlogV3CategoryTypes.DeleteCategoryResponse>;