@wix/auto_sdk_blog_categories 1.0.6 → 1.0.7
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 -0
- package/build/cjs/index.js +18 -0
- package/build/cjs/index.js.map +1 -0
- package/build/cjs/index.typings.d.ts +1 -0
- package/build/cjs/index.typings.js +18 -0
- package/build/cjs/index.typings.js.map +1 -0
- package/build/cjs/meta.d.ts +1 -0
- package/build/cjs/meta.js +18 -0
- package/build/cjs/meta.js.map +1 -0
- package/build/cjs/src/blog-v3-category-categories.context.d.ts +27 -0
- package/build/cjs/src/blog-v3-category-categories.context.js +33 -0
- package/build/cjs/src/blog-v3-category-categories.context.js.map +1 -0
- package/build/cjs/src/blog-v3-category-categories.http.d.ts +49 -0
- package/build/cjs/src/blog-v3-category-categories.http.js +408 -0
- package/build/cjs/src/blog-v3-category-categories.http.js.map +1 -0
- package/build/cjs/src/blog-v3-category-categories.meta.d.ts +27 -0
- package/build/cjs/src/blog-v3-category-categories.meta.js +161 -0
- package/build/cjs/src/blog-v3-category-categories.meta.js.map +1 -0
- package/build/{internal/index.d.ts → cjs/src/blog-v3-category-categories.public.d.ts} +16 -34
- package/build/cjs/src/blog-v3-category-categories.public.js +112 -0
- package/build/cjs/src/blog-v3-category-categories.public.js.map +1 -0
- package/build/cjs/src/blog-v3-category-categories.types.d.ts +718 -0
- package/build/cjs/src/blog-v3-category-categories.types.js +25 -0
- package/build/cjs/src/blog-v3-category-categories.types.js.map +1 -0
- package/build/{blog-v3-category-categories.universal-CF5HyUlx.d.mts → cjs/src/blog-v3-category-categories.universal.d.ts} +264 -74
- package/build/cjs/src/blog-v3-category-categories.universal.js +499 -0
- package/build/cjs/src/blog-v3-category-categories.universal.js.map +1 -0
- package/build/es/index.d.ts +1 -0
- package/build/es/index.js +2 -0
- package/build/es/index.js.map +1 -0
- package/build/es/index.typings.d.ts +1 -0
- package/build/es/index.typings.js +2 -0
- package/build/es/index.typings.js.map +1 -0
- package/build/es/meta.d.ts +1 -0
- package/build/es/meta.js +2 -0
- package/build/es/meta.js.map +1 -0
- package/build/es/package.json +3 -0
- package/build/es/src/blog-v3-category-categories.context.d.ts +27 -0
- package/build/es/src/blog-v3-category-categories.context.js +27 -0
- package/build/es/src/blog-v3-category-categories.context.js.map +1 -0
- package/build/es/src/blog-v3-category-categories.http.d.ts +49 -0
- package/build/es/src/blog-v3-category-categories.http.js +398 -0
- package/build/es/src/blog-v3-category-categories.http.js.map +1 -0
- package/build/es/src/blog-v3-category-categories.meta.d.ts +27 -0
- package/build/es/src/blog-v3-category-categories.meta.js +128 -0
- package/build/es/src/blog-v3-category-categories.meta.js.map +1 -0
- package/build/{index.d.ts → es/src/blog-v3-category-categories.public.d.ts} +16 -34
- package/build/es/src/blog-v3-category-categories.public.js +99 -0
- package/build/es/src/blog-v3-category-categories.public.js.map +1 -0
- package/build/es/src/blog-v3-category-categories.types.d.ts +718 -0
- package/build/es/src/blog-v3-category-categories.types.js +22 -0
- package/build/es/src/blog-v3-category-categories.types.js.map +1 -0
- package/build/{blog-v3-category-categories.universal-CF5HyUlx.d.ts → es/src/blog-v3-category-categories.universal.d.ts} +264 -74
- package/build/es/src/blog-v3-category-categories.universal.js +466 -0
- package/build/es/src/blog-v3-category-categories.universal.js.map +1 -0
- package/build/internal/cjs/index.d.ts +1 -0
- package/build/internal/cjs/index.js +18 -0
- package/build/internal/cjs/index.js.map +1 -0
- package/build/internal/cjs/index.typings.d.ts +1 -0
- package/build/internal/cjs/index.typings.js +18 -0
- package/build/internal/cjs/index.typings.js.map +1 -0
- package/build/internal/cjs/meta.d.ts +1 -0
- package/build/internal/cjs/meta.js +18 -0
- package/build/internal/cjs/meta.js.map +1 -0
- package/build/internal/cjs/src/blog-v3-category-categories.context.d.ts +27 -0
- package/build/internal/cjs/src/blog-v3-category-categories.context.js +33 -0
- package/build/internal/cjs/src/blog-v3-category-categories.context.js.map +1 -0
- package/build/internal/cjs/src/blog-v3-category-categories.http.d.ts +49 -0
- package/build/internal/cjs/src/blog-v3-category-categories.http.js +408 -0
- package/build/internal/cjs/src/blog-v3-category-categories.http.js.map +1 -0
- package/build/internal/cjs/src/blog-v3-category-categories.meta.d.ts +27 -0
- package/build/internal/cjs/src/blog-v3-category-categories.meta.js +161 -0
- package/build/internal/cjs/src/blog-v3-category-categories.meta.js.map +1 -0
- package/build/internal/{index.d.mts → cjs/src/blog-v3-category-categories.public.d.ts} +16 -34
- package/build/internal/cjs/src/blog-v3-category-categories.public.js +112 -0
- package/build/internal/cjs/src/blog-v3-category-categories.public.js.map +1 -0
- package/build/internal/cjs/src/blog-v3-category-categories.types.d.ts +718 -0
- package/build/internal/cjs/src/blog-v3-category-categories.types.js +25 -0
- package/build/internal/cjs/src/blog-v3-category-categories.types.js.map +1 -0
- package/build/internal/{blog-v3-category-categories.universal-CF5HyUlx.d.mts → cjs/src/blog-v3-category-categories.universal.d.ts} +264 -74
- package/build/internal/cjs/src/blog-v3-category-categories.universal.js +499 -0
- package/build/internal/cjs/src/blog-v3-category-categories.universal.js.map +1 -0
- package/build/internal/es/index.d.ts +1 -0
- package/build/internal/es/index.js +2 -0
- package/build/internal/es/index.js.map +1 -0
- package/build/internal/es/index.typings.d.ts +1 -0
- package/build/internal/es/index.typings.js +2 -0
- package/build/internal/es/index.typings.js.map +1 -0
- package/build/internal/es/meta.d.ts +1 -0
- package/build/internal/es/meta.js +2 -0
- package/build/internal/es/meta.js.map +1 -0
- package/build/internal/es/src/blog-v3-category-categories.context.d.ts +27 -0
- package/build/internal/es/src/blog-v3-category-categories.context.js +27 -0
- package/build/internal/es/src/blog-v3-category-categories.context.js.map +1 -0
- package/build/internal/es/src/blog-v3-category-categories.http.d.ts +49 -0
- package/build/internal/es/src/blog-v3-category-categories.http.js +398 -0
- package/build/internal/es/src/blog-v3-category-categories.http.js.map +1 -0
- package/build/internal/es/src/blog-v3-category-categories.meta.d.ts +27 -0
- package/build/internal/es/src/blog-v3-category-categories.meta.js +128 -0
- package/build/internal/es/src/blog-v3-category-categories.meta.js.map +1 -0
- package/build/{index.d.mts → internal/es/src/blog-v3-category-categories.public.d.ts} +16 -34
- package/build/internal/es/src/blog-v3-category-categories.public.js +99 -0
- package/build/internal/es/src/blog-v3-category-categories.public.js.map +1 -0
- package/build/internal/es/src/blog-v3-category-categories.types.d.ts +718 -0
- package/build/internal/es/src/blog-v3-category-categories.types.js +22 -0
- package/build/internal/es/src/blog-v3-category-categories.types.js.map +1 -0
- package/build/internal/{blog-v3-category-categories.universal-CF5HyUlx.d.ts → es/src/blog-v3-category-categories.universal.d.ts} +264 -74
- package/build/internal/es/src/blog-v3-category-categories.universal.js +466 -0
- package/build/internal/es/src/blog-v3-category-categories.universal.js.map +1 -0
- package/package.json +11 -12
- package/build/index.js +0 -938
- package/build/index.js.map +0 -1
- package/build/index.mjs +0 -902
- package/build/index.mjs.map +0 -1
- package/build/internal/index.js +0 -938
- package/build/internal/index.js.map +0 -1
- package/build/internal/index.mjs +0 -902
- package/build/internal/index.mjs.map +0 -1
- package/build/internal/meta.d.mts +0 -457
- package/build/internal/meta.d.ts +0 -457
- package/build/internal/meta.js +0 -542
- package/build/internal/meta.js.map +0 -1
- package/build/internal/meta.mjs +0 -509
- package/build/internal/meta.mjs.map +0 -1
- package/build/meta.d.mts +0 -457
- package/build/meta.d.ts +0 -457
- package/build/meta.js +0 -542
- package/build/meta.js.map +0 -1
- package/build/meta.mjs +0 -509
- package/build/meta.mjs.map +0 -1
@@ -1,4 +1,5 @@
|
|
1
|
-
|
1
|
+
import { NonNullablePaths } from '@wix/sdk-types';
|
2
|
+
export interface Category {
|
2
3
|
/**
|
3
4
|
* Category ID.
|
4
5
|
* @immutable
|
@@ -71,13 +72,13 @@ interface Category {
|
|
71
72
|
* The search engines use this information for ranking purposes, or to display snippets in the search results.
|
72
73
|
* This data will override other sources of tags (for example patterns) and will be included in the <head> section of the HTML document, while not being displayed on the page itself.
|
73
74
|
*/
|
74
|
-
interface SeoSchema {
|
75
|
+
export interface SeoSchema {
|
75
76
|
/** SEO tag information. */
|
76
77
|
tags?: Tag[];
|
77
78
|
/** SEO general settings. */
|
78
79
|
settings?: Settings;
|
79
80
|
}
|
80
|
-
interface Keyword {
|
81
|
+
export interface Keyword {
|
81
82
|
/** Keyword value. */
|
82
83
|
term?: string;
|
83
84
|
/** Whether the keyword is the main focus keyword. */
|
@@ -88,7 +89,7 @@ interface Keyword {
|
|
88
89
|
*/
|
89
90
|
origin?: string | null;
|
90
91
|
}
|
91
|
-
interface Tag {
|
92
|
+
export interface Tag {
|
92
93
|
/**
|
93
94
|
* SEO tag type.
|
94
95
|
*
|
@@ -110,7 +111,7 @@ interface Tag {
|
|
110
111
|
/** Whether the tag is disabled. */
|
111
112
|
disabled?: boolean;
|
112
113
|
}
|
113
|
-
interface Settings {
|
114
|
+
export interface Settings {
|
114
115
|
/**
|
115
116
|
* Whether the Auto Redirect feature, which creates `301 redirects` on a slug change, is enabled.
|
116
117
|
*
|
@@ -124,7 +125,7 @@ interface Settings {
|
|
124
125
|
*/
|
125
126
|
keywords?: Keyword[];
|
126
127
|
}
|
127
|
-
interface FocalPoint {
|
128
|
+
export interface FocalPoint {
|
128
129
|
/** X-coordinate of the focal point. */
|
129
130
|
x?: number;
|
130
131
|
/** Y-coordinate of the focal point. */
|
@@ -134,7 +135,7 @@ interface FocalPoint {
|
|
134
135
|
/** crop by width */
|
135
136
|
width?: number | null;
|
136
137
|
}
|
137
|
-
interface CategoryTranslation {
|
138
|
+
export interface CategoryTranslation {
|
138
139
|
/**
|
139
140
|
* Category ID.
|
140
141
|
* @format GUID
|
@@ -153,11 +154,11 @@ interface CategoryTranslation {
|
|
153
154
|
/** URL of this category page. */
|
154
155
|
url?: string;
|
155
156
|
}
|
156
|
-
interface InitialCategoriesCopied {
|
157
|
+
export interface InitialCategoriesCopied {
|
157
158
|
/** Number of categories copied. */
|
158
159
|
count?: number;
|
159
160
|
}
|
160
|
-
interface CreateCategoryRequest {
|
161
|
+
export interface CreateCategoryRequest {
|
161
162
|
/** Category info. */
|
162
163
|
category: Category;
|
163
164
|
/**
|
@@ -170,18 +171,18 @@ interface CreateCategoryRequest {
|
|
170
171
|
*/
|
171
172
|
fieldsets?: Field[];
|
172
173
|
}
|
173
|
-
declare enum Field {
|
174
|
+
export declare enum Field {
|
174
175
|
UNKNOWN = "UNKNOWN",
|
175
176
|
/** Includes Category url. */
|
176
177
|
URL = "URL",
|
177
178
|
/** Includes SEO data. */
|
178
179
|
SEO = "SEO"
|
179
180
|
}
|
180
|
-
interface CreateCategoryResponse {
|
181
|
+
export interface CreateCategoryResponse {
|
181
182
|
/** Category info. */
|
182
183
|
category?: Category;
|
183
184
|
}
|
184
|
-
interface BulkCreateCategoriesRequest {
|
185
|
+
export interface BulkCreateCategoriesRequest {
|
185
186
|
/**
|
186
187
|
* Categories to create.
|
187
188
|
* @minSize 1
|
@@ -200,19 +201,19 @@ interface BulkCreateCategoriesRequest {
|
|
200
201
|
*/
|
201
202
|
fieldsets?: Field[];
|
202
203
|
}
|
203
|
-
interface BulkCreateCategoriesResponse {
|
204
|
+
export interface BulkCreateCategoriesResponse {
|
204
205
|
/** Categories created by bulk action. */
|
205
206
|
results?: BulkCategoryResult[];
|
206
207
|
/** Bulk action metadata. */
|
207
208
|
bulkActionMetadata?: BulkActionMetadata;
|
208
209
|
}
|
209
|
-
interface BulkCategoryResult {
|
210
|
+
export interface BulkCategoryResult {
|
210
211
|
/** Bulk actions metadata for category. */
|
211
212
|
itemMetadata?: ItemMetadata;
|
212
213
|
/** Optional created category. */
|
213
214
|
item?: Category;
|
214
215
|
}
|
215
|
-
interface ItemMetadata {
|
216
|
+
export interface ItemMetadata {
|
216
217
|
/** Item ID. Should always be available, unless it's impossible (for example, when failing to create an item). */
|
217
218
|
_id?: string | null;
|
218
219
|
/** Index of the item within the request array. Allows for correlation between request and response items. */
|
@@ -222,7 +223,7 @@ interface ItemMetadata {
|
|
222
223
|
/** Details about the error in case of failure. */
|
223
224
|
error?: ApplicationError;
|
224
225
|
}
|
225
|
-
interface ApplicationError {
|
226
|
+
export interface ApplicationError {
|
226
227
|
/** Error code. */
|
227
228
|
code?: string;
|
228
229
|
/** Description of the error. */
|
@@ -230,7 +231,7 @@ interface ApplicationError {
|
|
230
231
|
/** Data related to the error. */
|
231
232
|
data?: Record<string, any> | null;
|
232
233
|
}
|
233
|
-
interface BulkActionMetadata {
|
234
|
+
export interface BulkActionMetadata {
|
234
235
|
/** Number of items that were successfully processed. */
|
235
236
|
totalSuccesses?: number;
|
236
237
|
/** Number of items that couldn't be processed. */
|
@@ -238,7 +239,7 @@ interface BulkActionMetadata {
|
|
238
239
|
/** Number of failures without details because detailed failure threshold was exceeded. */
|
239
240
|
undetailedFailures?: number;
|
240
241
|
}
|
241
|
-
interface BulkUpdateCategoriesRequest {
|
242
|
+
export interface BulkUpdateCategoriesRequest {
|
242
243
|
/**
|
243
244
|
* Categories to update.
|
244
245
|
* @minSize 1
|
@@ -257,19 +258,19 @@ interface BulkUpdateCategoriesRequest {
|
|
257
258
|
*/
|
258
259
|
fieldsets?: Field[];
|
259
260
|
}
|
260
|
-
interface MaskedCategory {
|
261
|
+
export interface MaskedCategory {
|
261
262
|
/** Category */
|
262
263
|
category?: Category;
|
263
264
|
/** Field mask of fields to update. */
|
264
265
|
fieldMask?: string[];
|
265
266
|
}
|
266
|
-
interface BulkUpdateCategoriesResponse {
|
267
|
+
export interface BulkUpdateCategoriesResponse {
|
267
268
|
/** Categories updated by bulk action. */
|
268
269
|
results?: BulkCategoryResult[];
|
269
270
|
/** Bulk action metadata. */
|
270
271
|
bulkActionMetadata?: BulkActionMetadata;
|
271
272
|
}
|
272
|
-
interface UpdateCategoryRequest {
|
273
|
+
export interface UpdateCategoryRequest {
|
273
274
|
/** Category info. */
|
274
275
|
category: Category;
|
275
276
|
/**
|
@@ -282,17 +283,17 @@ interface UpdateCategoryRequest {
|
|
282
283
|
*/
|
283
284
|
fieldsets?: Field[];
|
284
285
|
}
|
285
|
-
interface UpdateCategoryResponse {
|
286
|
+
export interface UpdateCategoryResponse {
|
286
287
|
/** Category info. */
|
287
288
|
category?: Category;
|
288
289
|
}
|
289
|
-
interface GetCategoriesCountByLanguageRequest {
|
290
|
+
export interface GetCategoriesCountByLanguageRequest {
|
290
291
|
}
|
291
|
-
interface GetCategoriesCountByLanguageResponse {
|
292
|
+
export interface GetCategoriesCountByLanguageResponse {
|
292
293
|
/** The language and it's count. */
|
293
294
|
categoriesLanguageCount?: CategoryLanguageCount[];
|
294
295
|
}
|
295
|
-
interface CategoryLanguageCount {
|
296
|
+
export interface CategoryLanguageCount {
|
296
297
|
/**
|
297
298
|
* 2-or-4-letter language code in [IETF BCP 47 language tag](https://en.wikipedia.org/wiki/IETF_language_tag) format.
|
298
299
|
* @format LANGUAGE_TAG
|
@@ -301,7 +302,7 @@ interface CategoryLanguageCount {
|
|
301
302
|
/** The count of Categories for the language. */
|
302
303
|
categoryCount?: number | null;
|
303
304
|
}
|
304
|
-
interface GetCategoryRequest {
|
305
|
+
export interface GetCategoryRequest {
|
305
306
|
/**
|
306
307
|
* Category ID.
|
307
308
|
* @minLength 1
|
@@ -318,11 +319,11 @@ interface GetCategoryRequest {
|
|
318
319
|
*/
|
319
320
|
fieldsets?: Field[];
|
320
321
|
}
|
321
|
-
interface GetCategoryResponse {
|
322
|
+
export interface GetCategoryResponse {
|
322
323
|
/** Category info. */
|
323
324
|
category?: Category;
|
324
325
|
}
|
325
|
-
interface GetCategoryBySlugRequest {
|
326
|
+
export interface GetCategoryBySlugRequest {
|
326
327
|
/**
|
327
328
|
* Slug of the category to retrieve.
|
328
329
|
* @minLength 1
|
@@ -345,11 +346,11 @@ interface GetCategoryBySlugRequest {
|
|
345
346
|
*/
|
346
347
|
language?: string | null;
|
347
348
|
}
|
348
|
-
interface GetCategoryBySlugResponse {
|
349
|
+
export interface GetCategoryBySlugResponse {
|
349
350
|
/** Category info. */
|
350
351
|
category?: Category;
|
351
352
|
}
|
352
|
-
interface ListCategoriesRequest {
|
353
|
+
export interface ListCategoriesRequest {
|
353
354
|
/** Pagination options. */
|
354
355
|
paging?: BlogPaging;
|
355
356
|
/**
|
@@ -371,7 +372,7 @@ interface ListCategoriesRequest {
|
|
371
372
|
*/
|
372
373
|
language?: string | null;
|
373
374
|
}
|
374
|
-
interface BlogPaging {
|
375
|
+
export interface BlogPaging {
|
375
376
|
/**
|
376
377
|
* Number of items to skip in the current sort order.
|
377
378
|
*
|
@@ -395,13 +396,13 @@ interface BlogPaging {
|
|
395
396
|
*/
|
396
397
|
cursor?: string | null;
|
397
398
|
}
|
398
|
-
interface ListCategoriesResponse {
|
399
|
+
export interface ListCategoriesResponse {
|
399
400
|
/** List of categories. */
|
400
401
|
categories?: Category[];
|
401
402
|
/** Details on the paged set of results returned. */
|
402
403
|
metaData?: MetaData;
|
403
404
|
}
|
404
|
-
interface MetaData {
|
405
|
+
export interface MetaData {
|
405
406
|
/** Number of items returned in this response. */
|
406
407
|
count?: number;
|
407
408
|
/** Requested offset. */
|
@@ -414,7 +415,7 @@ interface MetaData {
|
|
414
415
|
*/
|
415
416
|
cursor?: string | null;
|
416
417
|
}
|
417
|
-
interface QueryCategoriesRequest {
|
418
|
+
export interface QueryCategoriesRequest {
|
418
419
|
/** Query options. */
|
419
420
|
query?: PlatformQuery;
|
420
421
|
/**
|
@@ -427,7 +428,7 @@ interface QueryCategoriesRequest {
|
|
427
428
|
*/
|
428
429
|
fieldsets?: Field[];
|
429
430
|
}
|
430
|
-
interface PlatformQuery extends PlatformQueryPagingMethodOneOf {
|
431
|
+
export interface PlatformQuery extends PlatformQueryPagingMethodOneOf {
|
431
432
|
/** Paging options to limit and skip the number of items. */
|
432
433
|
paging?: Paging;
|
433
434
|
/** Cursor token pointing to a page of results. Not used in the first request. Following requests use the cursor token and not `filter` or `sort`. */
|
@@ -449,13 +450,13 @@ interface PlatformQuery extends PlatformQueryPagingMethodOneOf {
|
|
449
450
|
sort?: Sorting[];
|
450
451
|
}
|
451
452
|
/** @oneof */
|
452
|
-
interface PlatformQueryPagingMethodOneOf {
|
453
|
+
export interface PlatformQueryPagingMethodOneOf {
|
453
454
|
/** Paging options to limit and skip the number of items. */
|
454
455
|
paging?: Paging;
|
455
456
|
/** Cursor token pointing to a page of results. Not used in the first request. Following requests use the cursor token and not `filter` or `sort`. */
|
456
457
|
cursorPaging?: CursorPaging;
|
457
458
|
}
|
458
|
-
interface Sorting {
|
459
|
+
export interface Sorting {
|
459
460
|
/**
|
460
461
|
* Name of the field to sort by.
|
461
462
|
* @maxLength 512
|
@@ -464,11 +465,11 @@ interface Sorting {
|
|
464
465
|
/** Sort order. */
|
465
466
|
order?: SortOrder;
|
466
467
|
}
|
467
|
-
declare enum SortOrder {
|
468
|
+
export declare enum SortOrder {
|
468
469
|
ASC = "ASC",
|
469
470
|
DESC = "DESC"
|
470
471
|
}
|
471
|
-
interface Paging {
|
472
|
+
export interface Paging {
|
472
473
|
/**
|
473
474
|
* Number of items to load.
|
474
475
|
* @max 100
|
@@ -477,7 +478,7 @@ interface Paging {
|
|
477
478
|
/** Number of items to skip in the current sort order. */
|
478
479
|
offset?: number | null;
|
479
480
|
}
|
480
|
-
interface CursorPaging {
|
481
|
+
export interface CursorPaging {
|
481
482
|
/**
|
482
483
|
* Number of items to load.
|
483
484
|
* @max 100
|
@@ -493,13 +494,13 @@ interface CursorPaging {
|
|
493
494
|
*/
|
494
495
|
cursor?: string | null;
|
495
496
|
}
|
496
|
-
interface QueryCategoriesResponse {
|
497
|
+
export interface QueryCategoriesResponse {
|
497
498
|
/** List of categories. */
|
498
499
|
categories?: Category[];
|
499
500
|
/** Details on the paged set of results returned. */
|
500
501
|
pagingMetadata?: PagingMetadataV2;
|
501
502
|
}
|
502
|
-
interface PagingMetadataV2 {
|
503
|
+
export interface PagingMetadataV2 {
|
503
504
|
/** Number of items returned in the response. */
|
504
505
|
count?: number | null;
|
505
506
|
/** Offset that was requested. */
|
@@ -511,7 +512,7 @@ interface PagingMetadataV2 {
|
|
511
512
|
/** Cursors to navigate through the result pages using `next` and `prev`. Returned if cursor paging is used. */
|
512
513
|
cursors?: Cursors;
|
513
514
|
}
|
514
|
-
interface Cursors {
|
515
|
+
export interface Cursors {
|
515
516
|
/**
|
516
517
|
* Cursor pointing to next page in the list of results.
|
517
518
|
* @maxLength 2000
|
@@ -523,7 +524,7 @@ interface Cursors {
|
|
523
524
|
*/
|
524
525
|
prev?: string | null;
|
525
526
|
}
|
526
|
-
interface BulkDeleteCategoryRequest {
|
527
|
+
export interface BulkDeleteCategoryRequest {
|
527
528
|
/**
|
528
529
|
* Category IDs.
|
529
530
|
* @minSize 1
|
@@ -534,9 +535,9 @@ interface BulkDeleteCategoryRequest {
|
|
534
535
|
/** Should delete bypassing the trash-bin. */
|
535
536
|
permanent?: boolean;
|
536
537
|
}
|
537
|
-
interface BulkDeleteCategoryResponse {
|
538
|
+
export interface BulkDeleteCategoryResponse {
|
538
539
|
}
|
539
|
-
interface DeleteCategoryRequest {
|
540
|
+
export interface DeleteCategoryRequest {
|
540
541
|
/**
|
541
542
|
* Category ID.
|
542
543
|
* @minLength 1
|
@@ -544,9 +545,9 @@ interface DeleteCategoryRequest {
|
|
544
545
|
*/
|
545
546
|
categoryId: string;
|
546
547
|
}
|
547
|
-
interface DeleteCategoryResponse {
|
548
|
+
export interface DeleteCategoryResponse {
|
548
549
|
}
|
549
|
-
interface DomainEvent extends DomainEventBodyOneOf {
|
550
|
+
export interface DomainEvent extends DomainEventBodyOneOf {
|
550
551
|
createdEvent?: EntityCreatedEvent;
|
551
552
|
updatedEvent?: EntityUpdatedEvent;
|
552
553
|
deletedEvent?: EntityDeletedEvent;
|
@@ -589,19 +590,19 @@ interface DomainEvent extends DomainEventBodyOneOf {
|
|
589
590
|
entityEventSequence?: string | null;
|
590
591
|
}
|
591
592
|
/** @oneof */
|
592
|
-
interface DomainEventBodyOneOf {
|
593
|
+
export interface DomainEventBodyOneOf {
|
593
594
|
createdEvent?: EntityCreatedEvent;
|
594
595
|
updatedEvent?: EntityUpdatedEvent;
|
595
596
|
deletedEvent?: EntityDeletedEvent;
|
596
597
|
actionEvent?: ActionEvent;
|
597
598
|
}
|
598
|
-
interface EntityCreatedEvent {
|
599
|
+
export interface EntityCreatedEvent {
|
599
600
|
entity?: string;
|
600
601
|
}
|
601
|
-
interface RestoreInfo {
|
602
|
+
export interface RestoreInfo {
|
602
603
|
deletedDate?: Date | null;
|
603
604
|
}
|
604
|
-
interface EntityUpdatedEvent {
|
605
|
+
export interface EntityUpdatedEvent {
|
605
606
|
/**
|
606
607
|
* Since platformized APIs only expose PATCH and not PUT we can't assume that the fields sent from the client are the actual diff.
|
607
608
|
* This means that to generate a list of changed fields (as opposed to sent fields) one needs to traverse both objects.
|
@@ -609,14 +610,14 @@ interface EntityUpdatedEvent {
|
|
609
610
|
*/
|
610
611
|
currentEntity?: string;
|
611
612
|
}
|
612
|
-
interface EntityDeletedEvent {
|
613
|
+
export interface EntityDeletedEvent {
|
613
614
|
/** Entity that was deleted */
|
614
615
|
deletedEntity?: string | null;
|
615
616
|
}
|
616
|
-
interface ActionEvent {
|
617
|
+
export interface ActionEvent {
|
617
618
|
body?: string;
|
618
619
|
}
|
619
|
-
interface MessageEnvelope {
|
620
|
+
export interface MessageEnvelope {
|
620
621
|
/**
|
621
622
|
* App instance ID.
|
622
623
|
* @format GUID
|
@@ -632,7 +633,7 @@ interface MessageEnvelope {
|
|
632
633
|
/** Stringify payload. */
|
633
634
|
data?: string;
|
634
635
|
}
|
635
|
-
interface IdentificationData extends IdentificationDataIdOneOf {
|
636
|
+
export interface IdentificationData extends IdentificationDataIdOneOf {
|
636
637
|
/**
|
637
638
|
* ID of a site visitor that has not logged in to the site.
|
638
639
|
* @format GUID
|
@@ -657,7 +658,7 @@ interface IdentificationData extends IdentificationDataIdOneOf {
|
|
657
658
|
identityType?: WebhookIdentityType;
|
658
659
|
}
|
659
660
|
/** @oneof */
|
660
|
-
interface IdentificationDataIdOneOf {
|
661
|
+
export interface IdentificationDataIdOneOf {
|
661
662
|
/**
|
662
663
|
* ID of a site visitor that has not logged in to the site.
|
663
664
|
* @format GUID
|
@@ -679,14 +680,14 @@ interface IdentificationDataIdOneOf {
|
|
679
680
|
*/
|
680
681
|
appId?: string;
|
681
682
|
}
|
682
|
-
declare enum WebhookIdentityType {
|
683
|
+
export declare enum WebhookIdentityType {
|
683
684
|
UNKNOWN = "UNKNOWN",
|
684
685
|
ANONYMOUS_VISITOR = "ANONYMOUS_VISITOR",
|
685
686
|
MEMBER = "MEMBER",
|
686
687
|
WIX_USER = "WIX_USER",
|
687
688
|
APP = "APP"
|
688
689
|
}
|
689
|
-
interface BaseEventMetadata {
|
690
|
+
export interface BaseEventMetadata {
|
690
691
|
/**
|
691
692
|
* App instance ID.
|
692
693
|
* @format GUID
|
@@ -700,7 +701,7 @@ interface BaseEventMetadata {
|
|
700
701
|
/** The identification type and identity data. */
|
701
702
|
identity?: IdentificationData;
|
702
703
|
}
|
703
|
-
interface EventMetadata extends BaseEventMetadata {
|
704
|
+
export interface EventMetadata extends BaseEventMetadata {
|
704
705
|
/**
|
705
706
|
* Unique event ID.
|
706
707
|
* Allows clients to ignore duplicate webhooks.
|
@@ -738,18 +739,78 @@ interface EventMetadata extends BaseEventMetadata {
|
|
738
739
|
*/
|
739
740
|
entityEventSequence?: string | null;
|
740
741
|
}
|
741
|
-
interface CategoryCreatedEnvelope {
|
742
|
+
export interface CategoryCreatedEnvelope {
|
742
743
|
entity: Category;
|
743
744
|
metadata: EventMetadata;
|
744
745
|
}
|
745
|
-
|
746
|
+
/**
|
747
|
+
* Triggered when a category is created.
|
748
|
+
* @permissionScope Read Blog
|
749
|
+
* @permissionScopeId SCOPE.DC-BLOG.READ-BLOGS
|
750
|
+
* @permissionScope Manage Blog
|
751
|
+
* @permissionScopeId SCOPE.DC-BLOG.MANAGE-BLOG
|
752
|
+
* @permissionScope Read Draft Blog Posts
|
753
|
+
* @permissionScopeId SCOPE.DC-BLOG.READ-DRAFT-POSTS
|
754
|
+
* @permissionId BLOG.READ-CATEGORY
|
755
|
+
* @webhook
|
756
|
+
* @eventType wix.blog.v3.category_created
|
757
|
+
* @serviceIdentifier com.wixpress.npm.communities.platformized.blog.v3.CategoryService
|
758
|
+
* @slug created
|
759
|
+
*/
|
760
|
+
export declare function onCategoryCreated(handler: (event: CategoryCreatedEnvelope) => void | Promise<void>): void;
|
761
|
+
export interface CategoryDeletedEnvelope {
|
746
762
|
metadata: EventMetadata;
|
747
763
|
}
|
748
|
-
|
764
|
+
/**
|
765
|
+
* Triggered when a category is deleted.
|
766
|
+
* @permissionScope Read Blog
|
767
|
+
* @permissionScopeId SCOPE.DC-BLOG.READ-BLOGS
|
768
|
+
* @permissionScope Manage Blog
|
769
|
+
* @permissionScopeId SCOPE.DC-BLOG.MANAGE-BLOG
|
770
|
+
* @permissionScope Read Draft Blog Posts
|
771
|
+
* @permissionScopeId SCOPE.DC-BLOG.READ-DRAFT-POSTS
|
772
|
+
* @permissionId BLOG.READ-CATEGORY
|
773
|
+
* @webhook
|
774
|
+
* @eventType wix.blog.v3.category_deleted
|
775
|
+
* @serviceIdentifier com.wixpress.npm.communities.platformized.blog.v3.CategoryService
|
776
|
+
* @slug deleted
|
777
|
+
*/
|
778
|
+
export declare function onCategoryDeleted(handler: (event: CategoryDeletedEnvelope) => void | Promise<void>): void;
|
779
|
+
export interface CategoryUpdatedEnvelope {
|
749
780
|
entity: Category;
|
750
781
|
metadata: EventMetadata;
|
751
782
|
}
|
752
|
-
|
783
|
+
/**
|
784
|
+
* Triggered when a category is updated.
|
785
|
+
* @permissionScope Read Blog
|
786
|
+
* @permissionScopeId SCOPE.DC-BLOG.READ-BLOGS
|
787
|
+
* @permissionScope Manage Blog
|
788
|
+
* @permissionScopeId SCOPE.DC-BLOG.MANAGE-BLOG
|
789
|
+
* @permissionScope Read Draft Blog Posts
|
790
|
+
* @permissionScopeId SCOPE.DC-BLOG.READ-DRAFT-POSTS
|
791
|
+
* @permissionId BLOG.READ-CATEGORY
|
792
|
+
* @webhook
|
793
|
+
* @eventType wix.blog.v3.category_updated
|
794
|
+
* @serviceIdentifier com.wixpress.npm.communities.platformized.blog.v3.CategoryService
|
795
|
+
* @slug updated
|
796
|
+
*/
|
797
|
+
export declare function onCategoryUpdated(handler: (event: CategoryUpdatedEnvelope) => void | Promise<void>): void;
|
798
|
+
type CategoryNonNullablePaths = `_id` | `label` | `postCount` | `title` | `slug` | `seoData.tags` | `seoData.tags.${number}.type` | `seoData.tags.${number}.children` | `seoData.tags.${number}.custom` | `seoData.tags.${number}.disabled` | `seoData.settings.preventAutoRedirect` | `seoData.settings.keywords` | `seoData.settings.keywords.${number}.term` | `seoData.settings.keywords.${number}.isMain`;
|
799
|
+
/**
|
800
|
+
* Creates a category.
|
801
|
+
* @param category - Category info.
|
802
|
+
* @public
|
803
|
+
* @requiredField category
|
804
|
+
* @requiredField category.label
|
805
|
+
* @permissionId BLOG.CREATE-CATEGORY
|
806
|
+
* @permissionScope Manage Blog
|
807
|
+
* @permissionScopeId SCOPE.DC-BLOG.MANAGE-BLOG
|
808
|
+
* @applicableIdentity APP
|
809
|
+
* @returns Category info.
|
810
|
+
* @fqn com.wixpress.npm.communities.platformized.blog.v3.CategoryService.CreateCategory
|
811
|
+
*/
|
812
|
+
export declare function createCategory(category: NonNullablePaths<Category, `label`>, options?: CreateCategoryOptions): Promise<NonNullablePaths<Category, CategoryNonNullablePaths>>;
|
813
|
+
export interface CreateCategoryOptions {
|
753
814
|
/**
|
754
815
|
* List of additional category fields to include in the response. By default
|
755
816
|
* only the category’s base fields are returned. Base fields are all category fields that don't appear in the fieldset enum.
|
@@ -760,7 +821,21 @@ interface CreateCategoryOptions {
|
|
760
821
|
*/
|
761
822
|
fieldsets?: Field[];
|
762
823
|
}
|
763
|
-
|
824
|
+
/**
|
825
|
+
* Updates a category.
|
826
|
+
* @param _id - Category ID.
|
827
|
+
* @public
|
828
|
+
* @requiredField _id
|
829
|
+
* @requiredField category
|
830
|
+
* @permissionId BLOG.EDIT-CATEGORY
|
831
|
+
* @permissionScope Manage Blog
|
832
|
+
* @permissionScopeId SCOPE.DC-BLOG.MANAGE-BLOG
|
833
|
+
* @applicableIdentity APP
|
834
|
+
* @returns Category info.
|
835
|
+
* @fqn com.wixpress.npm.communities.platformized.blog.v3.CategoryService.UpdateCategory
|
836
|
+
*/
|
837
|
+
export declare function updateCategory(_id: string, category: UpdateCategory, options?: UpdateCategoryOptions): Promise<NonNullablePaths<Category, CategoryNonNullablePaths>>;
|
838
|
+
export interface UpdateCategory {
|
764
839
|
/**
|
765
840
|
* Category ID.
|
766
841
|
* @immutable
|
@@ -828,7 +903,7 @@ interface UpdateCategory {
|
|
828
903
|
*/
|
829
904
|
_updatedDate?: Date | null;
|
830
905
|
}
|
831
|
-
interface UpdateCategoryOptions {
|
906
|
+
export interface UpdateCategoryOptions {
|
832
907
|
/**
|
833
908
|
* List of additional category fields to include in the response. By default
|
834
909
|
* only the category’s base fields are returned. Base fields are all category fields that don't appear in the fieldset enum.
|
@@ -839,7 +914,27 @@ interface UpdateCategoryOptions {
|
|
839
914
|
*/
|
840
915
|
fieldsets?: Field[];
|
841
916
|
}
|
842
|
-
|
917
|
+
/**
|
918
|
+
* Gets a category with the specified ID.
|
919
|
+
* @param categoryId - Category ID.
|
920
|
+
* @public
|
921
|
+
* @requiredField categoryId
|
922
|
+
* @param options - Options specifying which fields to return.
|
923
|
+
* @permissionId BLOG.READ-CATEGORY
|
924
|
+
* @permissionScope Read Blog
|
925
|
+
* @permissionScopeId SCOPE.DC-BLOG.READ-BLOGS
|
926
|
+
* @permissionScope Manage Blog
|
927
|
+
* @permissionScopeId SCOPE.DC-BLOG.MANAGE-BLOG
|
928
|
+
* @permissionScope Read Draft Blog Posts
|
929
|
+
* @permissionScopeId SCOPE.DC-BLOG.READ-DRAFT-POSTS
|
930
|
+
* @applicableIdentity APP
|
931
|
+
* @applicableIdentity VISITOR
|
932
|
+
* @fqn com.wixpress.npm.communities.platformized.blog.v3.CategoryService.GetCategory
|
933
|
+
*/
|
934
|
+
export declare function getCategory(categoryId: string, options?: GetCategoryOptions): Promise<NonNullablePaths<GetCategoryResponse, {
|
935
|
+
[P in CategoryNonNullablePaths]: `category.${P}`;
|
936
|
+
}[CategoryNonNullablePaths]>>;
|
937
|
+
export interface GetCategoryOptions {
|
843
938
|
/**
|
844
939
|
* List of additional category fields to include in the response. By default
|
845
940
|
* only the category’s base fields are returned. Base fields are all category fields that don't appear in the fieldset enum.
|
@@ -850,7 +945,33 @@ interface GetCategoryOptions {
|
|
850
945
|
*/
|
851
946
|
fieldsets?: Field[];
|
852
947
|
}
|
853
|
-
|
948
|
+
/**
|
949
|
+
* Gets a category with the specified slug.
|
950
|
+
*
|
951
|
+
* The slug is at the end of the URL of a specific category.
|
952
|
+
* For example, if a category's URL is `https://example.com/blog/categories/famous-cats`, the slug is `famous-cats`.
|
953
|
+
* The slug is a case-sensitive string that is derived from the category's label, unless specified otherwise.
|
954
|
+
* @public
|
955
|
+
* @requiredField slug
|
956
|
+
* @param slug - Slug of the category to retrieve.
|
957
|
+
*
|
958
|
+
* The end of a category's URL. For example, `'https:/example.com/blog/category/{my-category-slug}'`. Case sensitive and generally based on the category `label` if not specified.
|
959
|
+
* @param options - Options specifying which fields to return.
|
960
|
+
* @permissionId BLOG.READ-CATEGORY
|
961
|
+
* @permissionScope Read Blog
|
962
|
+
* @permissionScopeId SCOPE.DC-BLOG.READ-BLOGS
|
963
|
+
* @permissionScope Manage Blog
|
964
|
+
* @permissionScopeId SCOPE.DC-BLOG.MANAGE-BLOG
|
965
|
+
* @permissionScope Read Draft Blog Posts
|
966
|
+
* @permissionScopeId SCOPE.DC-BLOG.READ-DRAFT-POSTS
|
967
|
+
* @applicableIdentity APP
|
968
|
+
* @applicableIdentity VISITOR
|
969
|
+
* @fqn com.wixpress.npm.communities.platformized.blog.v3.CategoryService.GetCategoryBySlug
|
970
|
+
*/
|
971
|
+
export declare function getCategoryBySlug(slug: string, options?: GetCategoryBySlugOptions): Promise<NonNullablePaths<GetCategoryBySlugResponse, {
|
972
|
+
[P in CategoryNonNullablePaths]: `category.${P}`;
|
973
|
+
}[CategoryNonNullablePaths]>>;
|
974
|
+
export interface GetCategoryBySlugOptions {
|
854
975
|
/**
|
855
976
|
* List of additional category fields to include in the response. By default
|
856
977
|
* only the category’s base fields are returned. Base fields are all category fields that don't appear in the fieldset enum.
|
@@ -867,7 +988,36 @@ interface GetCategoryBySlugOptions {
|
|
867
988
|
*/
|
868
989
|
language?: string | null;
|
869
990
|
}
|
870
|
-
|
991
|
+
/**
|
992
|
+
* Retrieves a list of up to 100 categories per request.
|
993
|
+
*
|
994
|
+
* If you pass a language filter to the method, it returns a list of up to 100 categories in the requested language.
|
995
|
+
*
|
996
|
+
* The categoies are displayed in order of their `displayPosition`, starting with `0`. The `displayPosition` is the position in which the categories
|
997
|
+
* 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`.
|
998
|
+
*
|
999
|
+
* List Categories runs with these defaults, which you can override:
|
1000
|
+
* - `paging.limit` is `50`.
|
1001
|
+
* - `paging.offset` is `0`.
|
1002
|
+
*
|
1003
|
+
* List Categories is sorted by `displayPosition` in descending order. This cannot be overridden.
|
1004
|
+
* @public
|
1005
|
+
* @param options - Filter and paging options.
|
1006
|
+
* @permissionId BLOG.READ-CATEGORY
|
1007
|
+
* @permissionScope Read Blog
|
1008
|
+
* @permissionScopeId SCOPE.DC-BLOG.READ-BLOGS
|
1009
|
+
* @permissionScope Manage Blog
|
1010
|
+
* @permissionScopeId SCOPE.DC-BLOG.MANAGE-BLOG
|
1011
|
+
* @permissionScope Read Draft Blog Posts
|
1012
|
+
* @permissionScopeId SCOPE.DC-BLOG.READ-DRAFT-POSTS
|
1013
|
+
* @applicableIdentity APP
|
1014
|
+
* @applicableIdentity VISITOR
|
1015
|
+
* @fqn com.wixpress.npm.communities.platformized.blog.v3.CategoryService.ListCategories
|
1016
|
+
*/
|
1017
|
+
export declare function listCategories(options?: ListCategoriesOptions): Promise<NonNullablePaths<ListCategoriesResponse, {
|
1018
|
+
[P in CategoryNonNullablePaths]: `categories.${number}.${P}`;
|
1019
|
+
}[CategoryNonNullablePaths] | `metaData.count` | `metaData.offset` | `metaData.total`>>;
|
1020
|
+
export interface ListCategoriesOptions {
|
871
1021
|
/** Pagination options. */
|
872
1022
|
paging?: BlogPaging;
|
873
1023
|
/**
|
@@ -889,7 +1039,36 @@ interface ListCategoriesOptions {
|
|
889
1039
|
*/
|
890
1040
|
language?: string | null;
|
891
1041
|
}
|
892
|
-
|
1042
|
+
/**
|
1043
|
+
* Creates a query to retrieve a list of categories.
|
1044
|
+
*
|
1045
|
+
*
|
1046
|
+
* 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.
|
1047
|
+
*
|
1048
|
+
* 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.
|
1049
|
+
*
|
1050
|
+
* 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.
|
1051
|
+
*
|
1052
|
+
* Query Categories runs with these `CategoriesQueryBuilder` defaults, which you can override.
|
1053
|
+
* - [`limit(100)`](https://dev.wix.com/docs/sdk/backend-modules/blog/categories/categories-query-builder/limit)
|
1054
|
+
* - [`ascending(displayPosition)`](https://dev.wix.com/docs/sdk/backend-modules/blog/categories/categories-query-builder/ascending)
|
1055
|
+
*
|
1056
|
+
* 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).
|
1057
|
+
* @public
|
1058
|
+
* @param options - Options specifying which fields to return.
|
1059
|
+
* @permissionScope Read Blog
|
1060
|
+
* @permissionScopeId SCOPE.DC-BLOG.READ-BLOGS
|
1061
|
+
* @permissionScope Manage Blog
|
1062
|
+
* @permissionScopeId SCOPE.DC-BLOG.MANAGE-BLOG
|
1063
|
+
* @permissionScope Read Draft Blog Posts
|
1064
|
+
* @permissionScopeId SCOPE.DC-BLOG.READ-DRAFT-POSTS
|
1065
|
+
* @permissionId BLOG.READ-CATEGORY
|
1066
|
+
* @applicableIdentity APP
|
1067
|
+
* @applicableIdentity VISITOR
|
1068
|
+
* @fqn com.wixpress.npm.communities.platformized.blog.v3.CategoryService.QueryCategories
|
1069
|
+
*/
|
1070
|
+
export declare function queryCategories(options?: QueryCategoriesOptions): CategoriesQueryBuilder;
|
1071
|
+
export interface QueryCategoriesOptions {
|
893
1072
|
/**
|
894
1073
|
|
895
1074
|
* @maxSize 10
|
@@ -905,13 +1084,13 @@ interface QueryOffsetResult {
|
|
905
1084
|
length: number;
|
906
1085
|
pageSize: number;
|
907
1086
|
}
|
908
|
-
interface CategoriesQueryResult extends QueryOffsetResult {
|
1087
|
+
export interface CategoriesQueryResult extends QueryOffsetResult {
|
909
1088
|
items: Category[];
|
910
1089
|
query: CategoriesQueryBuilder;
|
911
1090
|
next: () => Promise<CategoriesQueryResult>;
|
912
1091
|
prev: () => Promise<CategoriesQueryResult>;
|
913
1092
|
}
|
914
|
-
interface CategoriesQueryBuilder {
|
1093
|
+
export interface CategoriesQueryBuilder {
|
915
1094
|
/** @param propertyName - Property whose value is compared with `value`.
|
916
1095
|
* @param value - Value to compare against.
|
917
1096
|
*/
|
@@ -952,5 +1131,16 @@ interface CategoriesQueryBuilder {
|
|
952
1131
|
skip: (skip: number) => CategoriesQueryBuilder;
|
953
1132
|
find: () => Promise<CategoriesQueryResult>;
|
954
1133
|
}
|
955
|
-
|
956
|
-
|
1134
|
+
/**
|
1135
|
+
* Deletes a category.
|
1136
|
+
* @param categoryId - Category ID.
|
1137
|
+
* @public
|
1138
|
+
* @requiredField categoryId
|
1139
|
+
* @permissionId BLOG.DELETE-CATEGORY
|
1140
|
+
* @permissionScope Manage Blog
|
1141
|
+
* @permissionScopeId SCOPE.DC-BLOG.MANAGE-BLOG
|
1142
|
+
* @applicableIdentity APP
|
1143
|
+
* @fqn com.wixpress.npm.communities.platformized.blog.v3.CategoryService.DeleteCategory
|
1144
|
+
*/
|
1145
|
+
export declare function deleteCategory(categoryId: string): Promise<void>;
|
1146
|
+
export {};
|