@wix/blog 1.0.129 → 1.0.131
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/src/blog-v3-category.types.d.ts +33 -27
- package/build/cjs/src/blog-v3-category.types.js.map +1 -1
- package/build/cjs/src/blog-v3-category.universal.d.ts +33 -32
- package/build/cjs/src/blog-v3-category.universal.js.map +1 -1
- package/build/cjs/src/blog-v3-post.http.d.ts +2 -2
- package/build/cjs/src/blog-v3-post.http.js +2 -2
- package/build/cjs/src/blog-v3-post.types.d.ts +54 -48
- package/build/cjs/src/blog-v3-post.types.js.map +1 -1
- package/build/cjs/src/blog-v3-post.universal.d.ts +49 -31
- package/build/cjs/src/blog-v3-post.universal.js +2 -2
- package/build/cjs/src/blog-v3-post.universal.js.map +1 -1
- package/build/cjs/src/blog-v3-tag.types.d.ts +22 -21
- package/build/cjs/src/blog-v3-tag.types.js.map +1 -1
- package/build/cjs/src/blog-v3-tag.universal.d.ts +21 -19
- package/build/cjs/src/blog-v3-tag.universal.js.map +1 -1
- package/build/es/src/blog-v3-category.types.d.ts +33 -27
- package/build/es/src/blog-v3-category.types.js.map +1 -1
- package/build/es/src/blog-v3-category.universal.d.ts +33 -32
- package/build/es/src/blog-v3-category.universal.js.map +1 -1
- package/build/es/src/blog-v3-post.http.d.ts +2 -2
- package/build/es/src/blog-v3-post.http.js +2 -2
- package/build/es/src/blog-v3-post.types.d.ts +54 -48
- package/build/es/src/blog-v3-post.types.js.map +1 -1
- package/build/es/src/blog-v3-post.universal.d.ts +49 -31
- package/build/es/src/blog-v3-post.universal.js +2 -2
- package/build/es/src/blog-v3-post.universal.js.map +1 -1
- package/build/es/src/blog-v3-tag.types.d.ts +22 -21
- package/build/es/src/blog-v3-tag.types.js.map +1 -1
- package/build/es/src/blog-v3-tag.universal.d.ts +21 -19
- package/build/es/src/blog-v3-tag.universal.js.map +1 -1
- package/package.json +2 -2
|
@@ -40,12 +40,12 @@ export interface Category {
|
|
|
40
40
|
*/
|
|
41
41
|
rank?: number | null;
|
|
42
42
|
/**
|
|
43
|
-
* Category position in sequence. Categories with a lower display position are displayed first.
|
|
43
|
+
* Category position in sequence. Categories with a lower display position are displayed first. Categories with a position of `-1` appear at the end of the sequence.
|
|
44
44
|
*
|
|
45
45
|
* Default: `-1`
|
|
46
46
|
*/
|
|
47
47
|
displayPosition?: number | null;
|
|
48
|
-
/** ID of the category's translations. All translations of a single category
|
|
48
|
+
/** ID of the category's translations. All translations of a single category share the same `translationId`. */
|
|
49
49
|
translationId?: string | null;
|
|
50
50
|
/**
|
|
51
51
|
* Category language.
|
|
@@ -53,7 +53,7 @@ export interface Category {
|
|
|
53
53
|
* Two-letter language code in [ISO 639-1 alpha-2](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) format.
|
|
54
54
|
*/
|
|
55
55
|
language?: string;
|
|
56
|
-
/** Category slug. For example, 'category-slug'
|
|
56
|
+
/** Category slug. For example, `'category-slug'`. */
|
|
57
57
|
slug?: string;
|
|
58
58
|
/**
|
|
59
59
|
* Reserved for internal use.
|
|
@@ -172,9 +172,9 @@ export interface CreateCategoryRequest {
|
|
|
172
172
|
/** Category info. */
|
|
173
173
|
category?: Category;
|
|
174
174
|
/**
|
|
175
|
-
* List of category fields to
|
|
176
|
-
*
|
|
177
|
-
*
|
|
175
|
+
* List of additional category fields to include in the response. For example, use the `URL` fieldset to retrieve the url field in
|
|
176
|
+
* the response in addition to the category’s base fields. Base fields don’t include any of the supported fieldset values. By default
|
|
177
|
+
* only the category’s base fields are returned.
|
|
178
178
|
*/
|
|
179
179
|
fieldsets?: Field[];
|
|
180
180
|
}
|
|
@@ -200,9 +200,9 @@ export interface BulkCreateCategoriesRequest {
|
|
|
200
200
|
/** Whether to return the full created category entities in the response. */
|
|
201
201
|
returnFullEntity?: boolean;
|
|
202
202
|
/**
|
|
203
|
-
* List of category fields to
|
|
204
|
-
*
|
|
205
|
-
*
|
|
203
|
+
* List of additional category fields to include in the response. For example, use the `URL` fieldset to retrieve the url field in
|
|
204
|
+
* the response in addition to the category’s base fields. Base fields don’t include any of the supported fieldset values. By default
|
|
205
|
+
* only the category’s base fields are returned.
|
|
206
206
|
*/
|
|
207
207
|
fieldsets?: Field[];
|
|
208
208
|
}
|
|
@@ -247,9 +247,9 @@ export interface UpdateCategoryRequest {
|
|
|
247
247
|
/** Field mask of fields to update. */
|
|
248
248
|
fieldMask?: string[];
|
|
249
249
|
/**
|
|
250
|
-
* List of category fields to
|
|
251
|
-
*
|
|
252
|
-
*
|
|
250
|
+
* List of additional category fields to include in the response. For example, use the `URL` fieldset to retrieve the url field in
|
|
251
|
+
* the response in addition to the category’s base fields. Base fields don’t include any of the supported fieldset values. By default
|
|
252
|
+
* only the category’s base fields are returned.
|
|
253
253
|
*/
|
|
254
254
|
fieldsets?: Field[];
|
|
255
255
|
}
|
|
@@ -268,9 +268,9 @@ export interface GetCategoryRequest {
|
|
|
268
268
|
*/
|
|
269
269
|
fieldsToInclude?: Field[];
|
|
270
270
|
/**
|
|
271
|
-
* List of category fields to
|
|
272
|
-
*
|
|
273
|
-
*
|
|
271
|
+
* List of additional category fields to include in the response. For example, use the `URL` fieldset to retrieve the url field in
|
|
272
|
+
* the response in addition to the category’s base fields. Base fields don’t include any of the supported fieldset values. By default
|
|
273
|
+
* only the category’s base fields are returned.
|
|
274
274
|
*/
|
|
275
275
|
fieldsets?: Field[];
|
|
276
276
|
}
|
|
@@ -289,9 +289,9 @@ export interface GetCategoryBySlugRequest {
|
|
|
289
289
|
*/
|
|
290
290
|
fieldsToInclude?: Field[];
|
|
291
291
|
/**
|
|
292
|
-
* List of category fields to
|
|
293
|
-
*
|
|
294
|
-
*
|
|
292
|
+
* List of additional category fields to include in the response. For example, use the `URL` fieldset to retrieve the url field in
|
|
293
|
+
* the response in addition to the category’s base fields. Base fields don’t include any of the supported fieldset values. By default
|
|
294
|
+
* only the category’s base fields are returned.
|
|
295
295
|
*/
|
|
296
296
|
fieldsets?: Field[];
|
|
297
297
|
}
|
|
@@ -303,16 +303,17 @@ export interface ListCategoriesRequest {
|
|
|
303
303
|
/** Pagination options. */
|
|
304
304
|
paging?: BlogPaging;
|
|
305
305
|
/**
|
|
306
|
-
* List of category fields to be included in the response.
|
|
307
306
|
* __Deprecated.__ Use `fieldsets` instead.
|
|
308
307
|
*
|
|
309
308
|
* This parameter will be removed on June 30, 2023.
|
|
309
|
+
*
|
|
310
|
+
* List of category fields to be included in the response.
|
|
310
311
|
*/
|
|
311
312
|
fieldsToInclude?: Field[];
|
|
312
313
|
/**
|
|
313
|
-
* List of category fields to
|
|
314
|
-
*
|
|
315
|
-
*
|
|
314
|
+
* List of additional category fields to include in the response. For example, use the `URL` fieldset to retrieve the url field in
|
|
315
|
+
* the response in addition to the category’s base fields. Base fields don’t include any of the supported fieldset values. By default
|
|
316
|
+
* only the category’s base fields are returned.
|
|
316
317
|
*/
|
|
317
318
|
fieldsets?: Field[];
|
|
318
319
|
}
|
|
@@ -353,13 +354,18 @@ export interface QueryCategoriesRequest {
|
|
|
353
354
|
* Pagination options.
|
|
354
355
|
*/
|
|
355
356
|
paging?: BlogPaging;
|
|
356
|
-
/**
|
|
357
|
+
/**
|
|
358
|
+
* __Deprecated.__ Use `query` instead.
|
|
359
|
+
* This parameter will be removed on June 30, 2023.
|
|
360
|
+
*
|
|
361
|
+
* Filter object.
|
|
362
|
+
*/
|
|
357
363
|
filter?: Record<string, any> | null;
|
|
358
364
|
/**
|
|
359
365
|
* __Deprecated.__ Use `query` instead.
|
|
360
366
|
* This parameter will be removed on June 3, 2023.
|
|
361
367
|
*
|
|
362
|
-
* Sorting options.
|
|
368
|
+
* Sorting options.
|
|
363
369
|
*/
|
|
364
370
|
sort?: Sorting[];
|
|
365
371
|
/**
|
|
@@ -372,9 +378,9 @@ export interface QueryCategoriesRequest {
|
|
|
372
378
|
/** Query options. */
|
|
373
379
|
query?: PlatformQuery;
|
|
374
380
|
/**
|
|
375
|
-
* List of category fields to
|
|
376
|
-
*
|
|
377
|
-
*
|
|
381
|
+
* List of additional category fields to include in the response. For example, use the `URL` fieldset to retrieve the url field in
|
|
382
|
+
* the response in addition to the category’s base fields. Base fields don’t include any of the supported fieldset values. By default
|
|
383
|
+
* only the category’s base fields are returned.
|
|
378
384
|
*/
|
|
379
385
|
fieldsets?: Field[];
|
|
380
386
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"blog-v3-category.types.js","sourceRoot":"","sources":["../../../src/blog-v3-category.types.ts"],"names":[],"mappings":";;;AA+LA,IAAY,KAWX;AAXD,WAAY,KAAK;IACf,4BAAmB,CAAA;IACnB,6BAA6B;IAC7B,oBAAW,CAAA;IACX;;;OAGG;IACH,oCAA2B,CAAA;IAC3B,yBAAyB;IACzB,oBAAW,CAAA;AACb,CAAC,EAXW,KAAK,GAAL,aAAK,KAAL,aAAK,QAWhB;
|
|
1
|
+
{"version":3,"file":"blog-v3-category.types.js","sourceRoot":"","sources":["../../../src/blog-v3-category.types.ts"],"names":[],"mappings":";;;AA+LA,IAAY,KAWX;AAXD,WAAY,KAAK;IACf,4BAAmB,CAAA;IACnB,6BAA6B;IAC7B,oBAAW,CAAA;IACX;;;OAGG;IACH,oCAA2B,CAAA;IAC3B,yBAAyB;IACzB,oBAAW,CAAA;AACb,CAAC,EAXW,KAAK,GAAL,aAAK,KAAL,aAAK,QAWhB;AA6ND,IAAY,SAGX;AAHD,WAAY,SAAS;IACnB,wBAAW,CAAA;IACX,0BAAa,CAAA;AACf,CAAC,EAHW,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAGpB"}
|
|
@@ -125,9 +125,9 @@ export interface CreateCategoryRequest {
|
|
|
125
125
|
/** Category info. */
|
|
126
126
|
category?: Category;
|
|
127
127
|
/**
|
|
128
|
-
* List of category fields to
|
|
129
|
-
*
|
|
130
|
-
*
|
|
128
|
+
* List of additional category fields to include in the response. For example, use the `URL` fieldset to retrieve the url field in
|
|
129
|
+
* the response in addition to the category’s base fields. Base fields don’t include any of the supported fieldset values. By default
|
|
130
|
+
* only the category’s base fields are returned.
|
|
131
131
|
*/
|
|
132
132
|
fieldsets?: Field[];
|
|
133
133
|
}
|
|
@@ -153,9 +153,9 @@ export interface BulkCreateCategoriesRequest {
|
|
|
153
153
|
/** Whether to return the full created category entities in the response. */
|
|
154
154
|
returnFullEntity?: boolean;
|
|
155
155
|
/**
|
|
156
|
-
* List of category fields to
|
|
157
|
-
*
|
|
158
|
-
*
|
|
156
|
+
* List of additional category fields to include in the response. For example, use the `URL` fieldset to retrieve the url field in
|
|
157
|
+
* the response in addition to the category’s base fields. Base fields don’t include any of the supported fieldset values. By default
|
|
158
|
+
* only the category’s base fields are returned.
|
|
159
159
|
*/
|
|
160
160
|
fieldsets?: Field[];
|
|
161
161
|
}
|
|
@@ -200,9 +200,9 @@ export interface UpdateCategoryRequest {
|
|
|
200
200
|
/** Field mask of fields to update. */
|
|
201
201
|
fieldMask?: string[];
|
|
202
202
|
/**
|
|
203
|
-
* List of category fields to
|
|
204
|
-
*
|
|
205
|
-
*
|
|
203
|
+
* List of additional category fields to include in the response. For example, use the `URL` fieldset to retrieve the url field in
|
|
204
|
+
* the response in addition to the category’s base fields. Base fields don’t include any of the supported fieldset values. By default
|
|
205
|
+
* only the category’s base fields are returned.
|
|
206
206
|
*/
|
|
207
207
|
fieldsets?: Field[];
|
|
208
208
|
}
|
|
@@ -221,9 +221,9 @@ export interface GetCategoryRequest {
|
|
|
221
221
|
*/
|
|
222
222
|
fieldsToInclude?: Field[];
|
|
223
223
|
/**
|
|
224
|
-
* List of category fields to
|
|
225
|
-
*
|
|
226
|
-
*
|
|
224
|
+
* List of additional category fields to include in the response. For example, use the `URL` fieldset to retrieve the url field in
|
|
225
|
+
* the response in addition to the category’s base fields. Base fields don’t include any of the supported fieldset values. By default
|
|
226
|
+
* only the category’s base fields are returned.
|
|
227
227
|
*/
|
|
228
228
|
fieldsets?: Field[];
|
|
229
229
|
}
|
|
@@ -242,9 +242,9 @@ export interface GetCategoryBySlugRequest {
|
|
|
242
242
|
*/
|
|
243
243
|
fieldsToInclude?: Field[];
|
|
244
244
|
/**
|
|
245
|
-
* List of category fields to
|
|
246
|
-
*
|
|
247
|
-
*
|
|
245
|
+
* List of additional category fields to include in the response. For example, use the `URL` fieldset to retrieve the url field in
|
|
246
|
+
* the response in addition to the category’s base fields. Base fields don’t include any of the supported fieldset values. By default
|
|
247
|
+
* only the category’s base fields are returned.
|
|
248
248
|
*/
|
|
249
249
|
fieldsets?: Field[];
|
|
250
250
|
}
|
|
@@ -256,16 +256,17 @@ export interface ListCategoriesRequest {
|
|
|
256
256
|
/** Pagination options. */
|
|
257
257
|
paging?: BlogPaging;
|
|
258
258
|
/**
|
|
259
|
-
* List of category fields to be included in the response.
|
|
260
259
|
* __Deprecated.__ Use `fieldsets` instead.
|
|
261
260
|
*
|
|
262
261
|
* This parameter will be removed on June 30, 2023.
|
|
262
|
+
*
|
|
263
|
+
* List of category fields to be included in the response.
|
|
263
264
|
*/
|
|
264
265
|
fieldsToInclude?: Field[];
|
|
265
266
|
/**
|
|
266
|
-
* List of category fields to
|
|
267
|
-
*
|
|
268
|
-
*
|
|
267
|
+
* List of additional category fields to include in the response. For example, use the `URL` fieldset to retrieve the url field in
|
|
268
|
+
* the response in addition to the category’s base fields. Base fields don’t include any of the supported fieldset values. By default
|
|
269
|
+
* only the category’s base fields are returned.
|
|
269
270
|
*/
|
|
270
271
|
fieldsets?: Field[];
|
|
271
272
|
}
|
|
@@ -307,13 +308,18 @@ export interface QueryCategoriesRequest {
|
|
|
307
308
|
* Pagination options.
|
|
308
309
|
*/
|
|
309
310
|
paging?: BlogPaging;
|
|
310
|
-
/**
|
|
311
|
+
/**
|
|
312
|
+
* __Deprecated.__ Use `query` instead.
|
|
313
|
+
* This parameter will be removed on June 30, 2023.
|
|
314
|
+
*
|
|
315
|
+
* Filter object.
|
|
316
|
+
*/
|
|
311
317
|
filter?: Record<string, any> | null;
|
|
312
318
|
/**
|
|
313
319
|
* __Deprecated.__ Use `query` instead.
|
|
314
320
|
* This parameter will be removed on June 3, 2023.
|
|
315
321
|
*
|
|
316
|
-
* Sorting options.
|
|
322
|
+
* Sorting options.
|
|
317
323
|
*/
|
|
318
324
|
sort?: Sorting[];
|
|
319
325
|
/**
|
|
@@ -326,9 +332,9 @@ export interface QueryCategoriesRequest {
|
|
|
326
332
|
/** Query options. */
|
|
327
333
|
query?: PlatformQuery;
|
|
328
334
|
/**
|
|
329
|
-
* List of category fields to
|
|
330
|
-
*
|
|
331
|
-
*
|
|
335
|
+
* List of additional category fields to include in the response. For example, use the `URL` fieldset to retrieve the url field in
|
|
336
|
+
* the response in addition to the category’s base fields. Base fields don’t include any of the supported fieldset values. By default
|
|
337
|
+
* only the category’s base fields are returned.
|
|
332
338
|
*/
|
|
333
339
|
fieldsets?: Field[];
|
|
334
340
|
}
|
|
@@ -437,7 +443,7 @@ export interface DeleteCategoryResponse {
|
|
|
437
443
|
*/
|
|
438
444
|
export declare function getCategory(categoryId: string, options?: GetCategoryOptions): Promise<GetCategoryResponse>;
|
|
439
445
|
export interface GetCategoryOptions {
|
|
440
|
-
/**
|
|
446
|
+
/** Reserved for internal use. */
|
|
441
447
|
fieldsToInclude?: Field[];
|
|
442
448
|
/**
|
|
443
449
|
* List of category fields to be included in the response. By default, any fields not passed are not returned.
|
|
@@ -465,7 +471,7 @@ export interface GetCategoryOptions {
|
|
|
465
471
|
*/
|
|
466
472
|
export declare function getCategoryBySlug(slug: string, options?: GetCategoryBySlugOptions): Promise<GetCategoryBySlugResponse>;
|
|
467
473
|
export interface GetCategoryBySlugOptions {
|
|
468
|
-
/**
|
|
474
|
+
/** Reserved for internal use. */
|
|
469
475
|
fieldsToInclude?: Field[];
|
|
470
476
|
/**
|
|
471
477
|
* List of category fields to be included in the response. By default, any fields not passed are not returned.
|
|
@@ -487,12 +493,7 @@ export declare function listCategories(options?: ListCategoriesOptions): Promise
|
|
|
487
493
|
export interface ListCategoriesOptions {
|
|
488
494
|
/** Pagination options. */
|
|
489
495
|
paging?: BlogPaging;
|
|
490
|
-
/**
|
|
491
|
-
* List of category fields to be included in the response.
|
|
492
|
-
* __Deprecated.__ Use `fieldsets` instead.
|
|
493
|
-
*
|
|
494
|
-
* This parameter will be removed on June 30, 2023.
|
|
495
|
-
*/
|
|
496
|
+
/** Reserved for internal use. */
|
|
496
497
|
fieldsToInclude?: Field[];
|
|
497
498
|
/**
|
|
498
499
|
* List of category fields to be included in the response. By default, any fields not passed are not returned.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"blog-v3-category.universal.js","sourceRoot":"","sources":["../../../src/blog-v3-category.universal.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,kDAIiC;AAEjC,qFAAuE;AACvE,aAAa;AACb,4FAA6E;AAE7E,IAAI,SAAS,GAAG,KAAK,CAAC;AAEtB,SAAS,KAAK,CAAC,GAAG,IAAW;IAC3B,SAAS,IAAI,OAAO,CAAC,GAAG,CAAC,GAAG,IAAI,CAAC,CAAC;AACpC,CAAC;AAED,SAAS,SAAS,CAAC,GAAQ;IACzB,OAAO,GAAG,CAAC;AACb,CAAC;AAEY,QAAA,OAAO,GAAG;IACrB,cAAc,EAAE;QACd,EAAE,EAAE,GAAG,EAAE,CAAC,CAAC,SAAS,GAAG,IAAI,CAAC;QAC5B,GAAG,EAAE,GAAG,EAAE,CAAC,CAAC,SAAS,GAAG,KAAK,CAAC;KAC/B;CACF,CAAC;AACF,MAAM,aAAa,GAAG,GAAG,CAAC;AAC1B,MAAM,eAAe,GAAG,GAAG,CAAC;AAyI5B,IAAY,KAWX;AAXD,WAAY,KAAK;IACf,4BAAmB,CAAA;IACnB,6BAA6B;IAC7B,oBAAW,CAAA;IACX;;;OAGG;IACH,oCAA2B,CAAA;IAC3B,yBAAyB;IACzB,oBAAW,CAAA;AACb,CAAC,EAXW,KAAK,GAAL,aAAK,KAAL,aAAK,QAWhB;
|
|
1
|
+
{"version":3,"file":"blog-v3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returns a Promise that resolves to the number of posts per month within the specified time range.
|
|
66
66
|
*
|
|
67
|
-
* You can set the time range using the `rangeStart` and `months` properties. The time range always starts on the 1st of the month set in `rangeStart
|
|
67
|
+
* You can set the time range using the `rangeStart` and `months` properties. The time range always starts on the 1st day of the month set in `rangeStart` and includes the number of `months` following `rangeStart`. For example, if `rangeStart` is set to `'2022-03-13'` and `months` is set to `4`, the time range will be from `'2022-03-01'` until `'2022-06-30'`. The time range ends on the last day of the month.
|
|
68
68
|
*
|
|
69
|
-
* >**Note:** If there are no published posts in a specific month, that month is not included in the response. For example, let's say a blog has `0` posts dated in February 2022.
|
|
69
|
+
* >**Note:** If there are no published posts in a specific month, that month is not included in the response. For example, let's say a blog has `0` posts dated in February 2022. If `rangeStart` is set to `'2022-01-01'` and `months` is set to `3`, the response includes `postCount` values for January and March, but not February.
|
|
70
70
|
*/
|
|
71
71
|
export declare function queryPostCountStats(payload: QueryPostCountStatsRequest): RequestOptionsFactory<QueryPostCountStatsResponse>;
|
|
72
72
|
/**
|
|
@@ -784,9 +784,9 @@ exports.getPostMetrics = getPostMetrics;
|
|
|
784
784
|
*
|
|
785
785
|
* The `queryPostCountStats()` function returns a Promise that resolves to the number of posts per month within the specified time range.
|
|
786
786
|
*
|
|
787
|
-
* You can set the time range using the `rangeStart` and `months` properties. The time range always starts on the 1st of the month set in `rangeStart
|
|
787
|
+
* You can set the time range using the `rangeStart` and `months` properties. The time range always starts on the 1st day of the month set in `rangeStart` and includes the number of `months` following `rangeStart`. For example, if `rangeStart` is set to `'2022-03-13'` and `months` is set to `4`, the time range will be from `'2022-03-01'` until `'2022-06-30'`. The time range ends on the last day of the month.
|
|
788
788
|
*
|
|
789
|
-
* >**Note:** If there are no published posts in a specific month, that month is not included in the response. For example, let's say a blog has `0` posts dated in February 2022.
|
|
789
|
+
* >**Note:** If there are no published posts in a specific month, that month is not included in the response. For example, let's say a blog has `0` posts dated in February 2022. If `rangeStart` is set to `'2022-01-01'` and `months` is set to `3`, the response includes `postCount` values for January and March, but not February.
|
|
790
790
|
*/
|
|
791
791
|
function queryPostCountStats(payload) {
|
|
792
792
|
const { toJSON: toReq, fromJSON: fromReq } = ambassador_1.serializer(_queryPostCountStatsRequest, {});
|