@wix/auto_sdk_blog_posts 1.0.113 → 1.0.115
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/cjs/index.d.ts +1 -1
- package/build/cjs/index.js +20 -20
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +497 -488
- package/build/cjs/index.typings.js +20 -20
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +497 -488
- package/build/cjs/meta.js +20 -20
- package/build/cjs/meta.js.map +1 -1
- package/build/es/index.d.mts +1 -1
- package/build/es/index.mjs +20 -20
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +497 -488
- package/build/es/index.typings.mjs +20 -20
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +497 -488
- package/build/es/meta.mjs +20 -20
- package/build/es/meta.mjs.map +1 -1
- package/build/internal/cjs/index.d.ts +1 -1
- package/build/internal/cjs/index.js +20 -20
- package/build/internal/cjs/index.js.map +1 -1
- package/build/internal/cjs/index.typings.d.ts +497 -488
- package/build/internal/cjs/index.typings.js +20 -20
- package/build/internal/cjs/index.typings.js.map +1 -1
- package/build/internal/cjs/meta.d.ts +497 -488
- package/build/internal/cjs/meta.js +20 -20
- package/build/internal/cjs/meta.js.map +1 -1
- package/build/internal/es/index.d.mts +1 -1
- package/build/internal/es/index.mjs +20 -20
- package/build/internal/es/index.mjs.map +1 -1
- package/build/internal/es/index.typings.d.mts +497 -488
- package/build/internal/es/index.typings.mjs +20 -20
- package/build/internal/es/index.typings.mjs.map +1 -1
- package/build/internal/es/meta.d.mts +497 -488
- package/build/internal/es/meta.mjs +20 -20
- package/build/internal/es/meta.mjs.map +1 -1
- package/package.json +2 -2
package/build/cjs/meta.d.ts
CHANGED
|
@@ -2280,433 +2280,125 @@ interface PostUnlikedInitiatorOneOf {
|
|
|
2280
2280
|
*/
|
|
2281
2281
|
anonymousVisitorId?: string | null;
|
|
2282
2282
|
}
|
|
2283
|
-
|
|
2284
|
-
|
|
2285
|
-
|
|
2286
|
-
|
|
2287
|
-
|
|
2288
|
-
|
|
2289
|
-
|
|
2290
|
-
|
|
2291
|
-
|
|
2292
|
-
|
|
2293
|
-
*/
|
|
2294
|
-
language?: string | null;
|
|
2295
|
-
/** Returns post template categories when set to TRUE */
|
|
2296
|
-
listTemplateCategories?: boolean;
|
|
2297
|
-
/** Sort order by ascending/descending publish date. Default is ascending publish date sort */
|
|
2298
|
-
sort?: GetPostTemplatesSortWithLiterals;
|
|
2299
|
-
/** Pagination options. */
|
|
2300
|
-
paging?: BlogPaging;
|
|
2301
|
-
}
|
|
2302
|
-
declare enum GetPostTemplatesSort {
|
|
2303
|
-
/** Sort by ascending publishing date. */
|
|
2304
|
-
PUBLISHED_DATE_ASC = "PUBLISHED_DATE_ASC",
|
|
2305
|
-
/** Sort by descending publishing date. */
|
|
2306
|
-
PUBLISHED_DATE_DESC = "PUBLISHED_DATE_DESC"
|
|
2307
|
-
}
|
|
2308
|
-
/** @enumType */
|
|
2309
|
-
type GetPostTemplatesSortWithLiterals = GetPostTemplatesSort | 'PUBLISHED_DATE_ASC' | 'PUBLISHED_DATE_DESC';
|
|
2310
|
-
interface BlogPaging {
|
|
2311
|
-
/**
|
|
2312
|
-
* Number of items to skip in the current sort order.
|
|
2313
|
-
*
|
|
2314
|
-
*
|
|
2315
|
-
* Default: `0`
|
|
2316
|
-
*/
|
|
2317
|
-
offset?: number;
|
|
2318
|
-
/**
|
|
2319
|
-
* Number of items to return.
|
|
2320
|
-
*
|
|
2321
|
-
*
|
|
2322
|
-
* Default:`50`
|
|
2323
|
-
* @min 1
|
|
2324
|
-
* @max 100
|
|
2325
|
-
*/
|
|
2326
|
-
limit?: number;
|
|
2327
|
-
/**
|
|
2328
|
-
* Pointer to the next or previous page in the list of results.
|
|
2329
|
-
* @maxLength 2000
|
|
2330
|
-
*/
|
|
2331
|
-
cursor?: string | null;
|
|
2332
|
-
}
|
|
2333
|
-
interface ListTemplatesResponse {
|
|
2334
|
-
/** Available post templates */
|
|
2335
|
-
postTemplates?: Post[];
|
|
2336
|
-
/** Details on the paged set of posts templates returned. */
|
|
2337
|
-
postTemplatesMetaData?: MetaData;
|
|
2338
|
-
/** Post template categories. This value is returned empty unless asked explicitly */
|
|
2339
|
-
templateCategories?: Category[];
|
|
2340
|
-
}
|
|
2341
|
-
interface MetaData {
|
|
2342
|
-
/** Number of items returned in this response. */
|
|
2343
|
-
count?: number;
|
|
2344
|
-
/** Requested offset. */
|
|
2345
|
-
offset?: number;
|
|
2346
|
-
/** Total number of items that match the query. */
|
|
2347
|
-
total?: number;
|
|
2348
|
-
/**
|
|
2349
|
-
* Pointer to the next or previous page in the list of results.
|
|
2350
|
-
* @maxLength 2000
|
|
2351
|
-
*/
|
|
2352
|
-
cursor?: string | null;
|
|
2353
|
-
}
|
|
2354
|
-
interface Category {
|
|
2355
|
-
/**
|
|
2356
|
-
* Category ID.
|
|
2357
|
-
* @immutable
|
|
2358
|
-
* @maxLength 38
|
|
2359
|
-
*/
|
|
2360
|
-
id?: string;
|
|
2361
|
-
/**
|
|
2362
|
-
* Category label. Displayed in the Category Menu.
|
|
2363
|
-
* @maxLength 35
|
|
2364
|
-
*/
|
|
2365
|
-
label?: string;
|
|
2366
|
-
/**
|
|
2367
|
-
* Number of posts in the category.
|
|
2368
|
-
* @readonly
|
|
2369
|
-
*/
|
|
2370
|
-
postCount?: number;
|
|
2371
|
-
/**
|
|
2372
|
-
* The `url` of the page that lists every post with the specified category.
|
|
2373
|
-
* @readonly
|
|
2374
|
-
*/
|
|
2375
|
-
url?: PageUrl;
|
|
2376
|
-
/**
|
|
2377
|
-
* Category description.
|
|
2378
|
-
* @maxLength 500
|
|
2379
|
-
*/
|
|
2380
|
-
description?: string | null;
|
|
2381
|
-
/**
|
|
2382
|
-
* Category title.
|
|
2383
|
-
* @maxLength 200
|
|
2384
|
-
* @deprecated Category title.
|
|
2385
|
-
* @targetRemovalDate 2025-07-16
|
|
2386
|
-
*/
|
|
2387
|
-
title?: string;
|
|
2388
|
-
/**
|
|
2389
|
-
* Position of the category in the [Category Menu](https://support.wix.com/en/article/wix-blog-adding-and-customizing-a-category-menu).
|
|
2390
|
-
* Categories are displayed in ascending order. Categories with a position of `-1` appear at the end of the sequence.
|
|
2391
|
-
*
|
|
2392
|
-
* Default: `-1`
|
|
2393
|
-
*/
|
|
2394
|
-
displayPosition?: number | null;
|
|
2395
|
-
/**
|
|
2396
|
-
* ID of the category's translations. All translations of a single category share the same `translationId`.
|
|
2397
|
-
* @format GUID
|
|
2398
|
-
*/
|
|
2399
|
-
translationId?: string | null;
|
|
2283
|
+
/** Get Blog Publications Count Stats request */
|
|
2284
|
+
interface QueryPublicationsCountStatsRequest {
|
|
2285
|
+
/** Start of time range to return, in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date and time format. */
|
|
2286
|
+
rangeStart?: Date | null;
|
|
2287
|
+
/** Non-inclusive end of time range to return, in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date and time format. */
|
|
2288
|
+
rangeEnd?: Date | null;
|
|
2289
|
+
/** Order of the returned results. */
|
|
2290
|
+
order?: QueryPublicationsCountStatsRequestOrderWithLiterals;
|
|
2291
|
+
/** Number of months to include in the response. */
|
|
2292
|
+
months?: number;
|
|
2400
2293
|
/**
|
|
2401
|
-
*
|
|
2294
|
+
* Language filter
|
|
2402
2295
|
*
|
|
2403
2296
|
* 2-or-4-letter language code in [IETF BCP 47 language tag](https://en.wikipedia.org/wiki/IETF_language_tag) format.
|
|
2404
|
-
* @immutable
|
|
2405
|
-
*/
|
|
2406
|
-
language?: string | null;
|
|
2407
|
-
/**
|
|
2408
|
-
* Part of a category's URL that refers to a specific category. For example, the slug of `https:/example.com/blog/category/famous-cats` is `famous-cats`.
|
|
2409
|
-
* @maxLength 100
|
|
2410
|
-
*/
|
|
2411
|
-
slug?: string;
|
|
2412
|
-
/** SEO data. */
|
|
2413
|
-
seoData?: SeoSchema;
|
|
2414
|
-
/** Category cover image. */
|
|
2415
|
-
coverImage?: Image;
|
|
2416
|
-
/**
|
|
2417
|
-
* Date and time the Category was last updated.
|
|
2418
|
-
* @readonly
|
|
2419
|
-
*/
|
|
2420
|
-
updatedDate?: Date | null;
|
|
2421
|
-
}
|
|
2422
|
-
interface CategoryTranslation {
|
|
2423
|
-
/**
|
|
2424
|
-
* Category ID.
|
|
2425
|
-
* @format GUID
|
|
2426
|
-
*/
|
|
2427
|
-
id?: string;
|
|
2428
|
-
/**
|
|
2429
|
-
* Label displayed in the categories menu on the site.
|
|
2430
|
-
* @maxLength 100
|
|
2431
|
-
*/
|
|
2432
|
-
label?: string | null;
|
|
2433
|
-
/**
|
|
2434
|
-
* Language of the category.
|
|
2435
2297
|
* @format LANGUAGE_TAG
|
|
2436
2298
|
*/
|
|
2437
2299
|
language?: string | null;
|
|
2438
|
-
/** URL of this category page. */
|
|
2439
|
-
url?: PageUrl;
|
|
2440
|
-
}
|
|
2441
|
-
interface GetTemplateRequest {
|
|
2442
2300
|
/**
|
|
2443
|
-
*
|
|
2444
|
-
* @
|
|
2301
|
+
* Timezone of the client.
|
|
2302
|
+
* @minLength 3
|
|
2303
|
+
* @maxLength 100
|
|
2445
2304
|
*/
|
|
2446
|
-
|
|
2305
|
+
timeZone?: string | null;
|
|
2447
2306
|
}
|
|
2448
|
-
|
|
2449
|
-
|
|
2450
|
-
|
|
2307
|
+
declare enum QueryPublicationsCountStatsRequestOrder {
|
|
2308
|
+
UNKNOWN = "UNKNOWN",
|
|
2309
|
+
OLDEST = "OLDEST",
|
|
2310
|
+
NEWEST = "NEWEST"
|
|
2451
2311
|
}
|
|
2452
|
-
|
|
2453
|
-
|
|
2454
|
-
|
|
2455
|
-
|
|
2456
|
-
|
|
2457
|
-
|
|
2312
|
+
/** @enumType */
|
|
2313
|
+
type QueryPublicationsCountStatsRequestOrderWithLiterals = QueryPublicationsCountStatsRequestOrder | 'UNKNOWN' | 'OLDEST' | 'NEWEST';
|
|
2314
|
+
/** Get Blog Publications Count Stats response */
|
|
2315
|
+
interface QueryPublicationsCountStatsResponse {
|
|
2316
|
+
/** Chronologically ordered list of publications. */
|
|
2317
|
+
stats?: PeriodPublicationsCount[];
|
|
2458
2318
|
}
|
|
2459
|
-
|
|
2460
|
-
|
|
2461
|
-
|
|
2319
|
+
/** Publications count for a specific time period */
|
|
2320
|
+
interface PeriodPublicationsCount {
|
|
2321
|
+
/** Start of time range in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date and time format. */
|
|
2322
|
+
periodStart?: Date | null;
|
|
2323
|
+
/** Number of posts published during this month. */
|
|
2324
|
+
publicationsCount?: number;
|
|
2462
2325
|
}
|
|
2463
|
-
|
|
2464
|
-
|
|
2465
|
-
|
|
2466
|
-
|
|
2467
|
-
* @maxLength 38
|
|
2468
|
-
*/
|
|
2469
|
-
id?: string;
|
|
2470
|
-
/**
|
|
2471
|
-
* Draft post title.
|
|
2472
|
-
* @maxLength 200
|
|
2473
|
-
*/
|
|
2474
|
-
title?: string;
|
|
2326
|
+
/** Get Blog Post Count Stats request */
|
|
2327
|
+
interface QueryPostCountStatsRequest {
|
|
2328
|
+
/** Start of time range to return, in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date and time format. */
|
|
2329
|
+
rangeStart?: Date | null;
|
|
2475
2330
|
/**
|
|
2476
|
-
*
|
|
2331
|
+
* Order of returned results.
|
|
2477
2332
|
*
|
|
2478
|
-
*
|
|
2479
|
-
*
|
|
2480
|
-
* @maxLength 500
|
|
2481
|
-
*/
|
|
2482
|
-
excerpt?: string | null;
|
|
2483
|
-
/** Whether the draft post is marked as featured. */
|
|
2484
|
-
featured?: boolean | null;
|
|
2485
|
-
/**
|
|
2486
|
-
* Category IDs of the draft post.
|
|
2487
|
-
* @maxSize 10
|
|
2488
|
-
* @maxLength 38
|
|
2489
|
-
*/
|
|
2490
|
-
categoryIds?: string[];
|
|
2491
|
-
/**
|
|
2492
|
-
* Draft post owner's member ID.
|
|
2493
|
-
* @format GUID
|
|
2494
|
-
*/
|
|
2495
|
-
memberId?: string | null;
|
|
2496
|
-
/**
|
|
2497
|
-
* Hashtags in the post.
|
|
2498
|
-
* @maxSize 100
|
|
2499
|
-
* @maxLength 100
|
|
2500
|
-
*/
|
|
2501
|
-
hashtags?: string[];
|
|
2502
|
-
/** Whether commenting on the draft post is enabled. */
|
|
2503
|
-
commentingEnabled?: boolean | null;
|
|
2504
|
-
/**
|
|
2505
|
-
* Estimated reading time of the draft post (calculated automatically).
|
|
2506
|
-
* @readonly
|
|
2507
|
-
*/
|
|
2508
|
-
minutesToRead?: number;
|
|
2509
|
-
/** Image placed at the top of the blog page. */
|
|
2510
|
-
heroImage?: Image;
|
|
2511
|
-
/**
|
|
2512
|
-
* Tag IDs the draft post is tagged with.
|
|
2513
|
-
* @maxSize 30
|
|
2514
|
-
* @maxLength 38
|
|
2515
|
-
*/
|
|
2516
|
-
tagIds?: string[];
|
|
2517
|
-
/**
|
|
2518
|
-
* IDs of posts related to this draft post.
|
|
2519
|
-
* @maxSize 3
|
|
2520
|
-
* @maxLength 38
|
|
2521
|
-
*/
|
|
2522
|
-
relatedPostIds?: string[];
|
|
2523
|
-
/**
|
|
2524
|
-
* Pricing plan IDs. Only relevant if a post is assigned to a specific pricing plan. See the Pricing Plans API for more info.
|
|
2525
|
-
* @maxSize 100
|
|
2526
|
-
* @format GUID
|
|
2527
|
-
*/
|
|
2528
|
-
pricingPlanIds?: string[];
|
|
2529
|
-
/**
|
|
2530
|
-
* ID of the draft post's translations.
|
|
2333
|
+
* - `OLDEST`: posts by date in ascending order.
|
|
2334
|
+
* - `NEWEST`: posts by date in descending order.
|
|
2531
2335
|
*
|
|
2532
|
-
*
|
|
2533
|
-
* Available only if the [Multilingual](https://support.wix.com/en/article/wix-multilingual-an-overview) app is installed.
|
|
2534
|
-
* @format GUID
|
|
2336
|
+
* Default: `OLDEST`
|
|
2535
2337
|
*/
|
|
2536
|
-
|
|
2338
|
+
order?: OrderWithLiterals;
|
|
2339
|
+
/** Number of months to include in response. */
|
|
2340
|
+
months?: number;
|
|
2537
2341
|
/**
|
|
2538
|
-
* Language
|
|
2342
|
+
* Language filter.
|
|
2539
2343
|
*
|
|
2540
2344
|
* 2-or-4-letter language code in [IETF BCP 47 language tag](https://en.wikipedia.org/wiki/IETF_language_tag) format.
|
|
2345
|
+
* Pass a language to only receive the period post count for that specified language.
|
|
2541
2346
|
* @format LANGUAGE_TAG
|
|
2542
2347
|
*/
|
|
2543
2348
|
language?: string | null;
|
|
2544
2349
|
/**
|
|
2545
|
-
*
|
|
2350
|
+
* Time zone to use when calculating the start of the month.
|
|
2546
2351
|
*
|
|
2547
|
-
*
|
|
2548
|
-
*
|
|
2549
|
-
* </widget>
|
|
2550
|
-
*/
|
|
2551
|
-
richContent?: RichContent;
|
|
2552
|
-
/**
|
|
2553
|
-
* Status of the draft post.
|
|
2554
|
-
* @readonly
|
|
2555
|
-
*/
|
|
2556
|
-
status?: StatusWithLiterals;
|
|
2557
|
-
/** Details of the draft post in review. Only relevant to posts submitted by guest writers. */
|
|
2558
|
-
moderationDetails?: ModerationDetails;
|
|
2559
|
-
/**
|
|
2560
|
-
* Indicates if there are changes made to the draft post that have not yet been published.
|
|
2561
|
-
* @readonly
|
|
2562
|
-
*/
|
|
2563
|
-
hasUnpublishedChanges?: boolean;
|
|
2564
|
-
/**
|
|
2565
|
-
* Date the draft post was last edited.
|
|
2566
|
-
* @readonly
|
|
2567
|
-
*/
|
|
2568
|
-
editedDate?: Date | null;
|
|
2569
|
-
/**
|
|
2570
|
-
* Date the draft post is scheduled to be published.
|
|
2571
|
-
* @readonly
|
|
2572
|
-
*/
|
|
2573
|
-
scheduledPublishDate?: Date | null;
|
|
2574
|
-
/** Date the post was first published. */
|
|
2575
|
-
firstPublishedDate?: Date | null;
|
|
2576
|
-
/** SEO data. */
|
|
2577
|
-
seoData?: SeoSchema;
|
|
2578
|
-
/**
|
|
2579
|
-
* Draft post URL preview. What the URL will look like once the post is published.
|
|
2580
|
-
* @readonly
|
|
2581
|
-
*/
|
|
2582
|
-
url?: PageUrl;
|
|
2583
|
-
/**
|
|
2584
|
-
* Date the draft post was first created.
|
|
2585
|
-
* @readonly
|
|
2586
|
-
*/
|
|
2587
|
-
createdDate?: Date | null;
|
|
2588
|
-
/**
|
|
2589
|
-
* SEO slug.
|
|
2352
|
+
* [UTC timezone offset](https://en.wikipedia.org/wiki/List_of_UTC_offsets) format. For example, New York time zone is `-05`.
|
|
2353
|
+
* @minLength 3
|
|
2590
2354
|
* @maxLength 100
|
|
2591
2355
|
*/
|
|
2592
|
-
|
|
2593
|
-
/** Post cover media. */
|
|
2594
|
-
media?: Media;
|
|
2595
|
-
/** Number of paragraphs to display in a paid content preview for non-paying users. */
|
|
2596
|
-
previewTextParagraph?: number | null;
|
|
2356
|
+
timeZone?: string | null;
|
|
2597
2357
|
}
|
|
2598
|
-
declare enum
|
|
2358
|
+
declare enum Order {
|
|
2599
2359
|
UNKNOWN = "UNKNOWN",
|
|
2600
|
-
|
|
2601
|
-
|
|
2602
|
-
/** Categories were changed */
|
|
2603
|
-
ADD_CATEGORIES = "ADD_CATEGORIES",
|
|
2604
|
-
/** Saved automatically */
|
|
2605
|
-
AUTO_SAVE = "AUTO_SAVE",
|
|
2606
|
-
/** Copied from template */
|
|
2607
|
-
COPY_TEMPLATE = "COPY_TEMPLATE",
|
|
2608
|
-
/** Imported */
|
|
2609
|
-
IMPORT = "IMPORT",
|
|
2610
|
-
/** Imported in bulk */
|
|
2611
|
-
IMPORT_BULK = "IMPORT_BULK",
|
|
2612
|
-
/** Imported with html import */
|
|
2613
|
-
IMPORT_HTML = "IMPORT_HTML",
|
|
2614
|
-
/** Patch import */
|
|
2615
|
-
IMPORT_PATCH = "IMPORT_PATCH",
|
|
2616
|
-
/** Changed language */
|
|
2617
|
-
LANGUAGE_CHANGE = "LANGUAGE_CHANGE",
|
|
2618
|
-
/** Saved manually */
|
|
2619
|
-
MANUAL_SAVE = "MANUAL_SAVE",
|
|
2620
|
-
/** Affected by migration */
|
|
2621
|
-
MIGRATION = "MIGRATION",
|
|
2622
|
-
/** Affected by moderation */
|
|
2623
|
-
MODERATION = "MODERATION",
|
|
2624
|
-
/** Moved to trash */
|
|
2625
|
-
MOVE_TO_TRASH = "MOVE_TO_TRASH",
|
|
2626
|
-
/** Pricing plans were changed */
|
|
2627
|
-
PRICING_PLANS_CHANGE = "PRICING_PLANS_CHANGE",
|
|
2628
|
-
/** Was provisioned */
|
|
2629
|
-
PROVISION = "PROVISION",
|
|
2630
|
-
/** Was published */
|
|
2631
|
-
PUBLISH = "PUBLISH",
|
|
2632
|
-
/** Owner was reassigned */
|
|
2633
|
-
REASSIGN_OWNER = "REASSIGN_OWNER",
|
|
2634
|
-
/** Was reblogged */
|
|
2635
|
-
REBLOG = "REBLOG",
|
|
2636
|
-
/** Was restored */
|
|
2637
|
-
RESTORE = "RESTORE",
|
|
2638
|
-
/** Reverted to draft */
|
|
2639
|
-
REVERT_TO_DRAFT = "REVERT_TO_DRAFT",
|
|
2640
|
-
/** Was translated */
|
|
2641
|
-
TRANSLATION = "TRANSLATION",
|
|
2642
|
-
/** Was unpublished */
|
|
2643
|
-
UNPUBLISH = "UNPUBLISH",
|
|
2644
|
-
/** Was unscheduled */
|
|
2645
|
-
UNSCHEDULE = "UNSCHEDULE",
|
|
2646
|
-
/** New edit session started which updated editing_session_id id */
|
|
2647
|
-
NEW_EDIT_SESSION = "NEW_EDIT_SESSION",
|
|
2648
|
-
/** Was scheduled by Later */
|
|
2649
|
-
SCHEDULING_SERVICE_SCHEDULE = "SCHEDULING_SERVICE_SCHEDULE",
|
|
2650
|
-
/** Was unscheduled by Later */
|
|
2651
|
-
SCHEDULING_SERVICE_UNSCHEDULE = "SCHEDULING_SERVICE_UNSCHEDULE",
|
|
2652
|
-
/** Was published by Later */
|
|
2653
|
-
SCHEDULING_SERVICE_PUBLISH = "SCHEDULING_SERVICE_PUBLISH",
|
|
2654
|
-
/** Was scheduled */
|
|
2655
|
-
SCHEDULE = "SCHEDULE",
|
|
2656
|
-
/** Was removed from moderation */
|
|
2657
|
-
REMOVE_FROM_MODERATION = "REMOVE_FROM_MODERATION",
|
|
2658
|
-
/** Was rejected from moderation */
|
|
2659
|
-
REJECT_FROM_MODERATION = "REJECT_FROM_MODERATION",
|
|
2660
|
-
/** Was approved in moderation */
|
|
2661
|
-
APPROVE_IN_MODERATION = "APPROVE_IN_MODERATION",
|
|
2662
|
-
/** Tag was deleted */
|
|
2663
|
-
DELETE_TAG = "DELETE_TAG",
|
|
2664
|
-
/** Post was pinned */
|
|
2665
|
-
PIN = "PIN",
|
|
2666
|
-
/** Post was unpinned */
|
|
2667
|
-
UNPIN = "UNPIN",
|
|
2668
|
-
/** Saved automatically by AI tool. */
|
|
2669
|
-
AI_AUTO_SAVE = "AI_AUTO_SAVE"
|
|
2360
|
+
OLDEST = "OLDEST",
|
|
2361
|
+
NEWEST = "NEWEST"
|
|
2670
2362
|
}
|
|
2671
2363
|
/** @enumType */
|
|
2672
|
-
type
|
|
2673
|
-
|
|
2674
|
-
|
|
2675
|
-
/**
|
|
2676
|
-
|
|
2677
|
-
/** Status indicating the draft post is unpublished. */
|
|
2678
|
-
UNPUBLISHED = "UNPUBLISHED",
|
|
2679
|
-
/** Status indicating the draft post is scheduled for publication. */
|
|
2680
|
-
SCHEDULED = "SCHEDULED",
|
|
2681
|
-
/** Status indicating the draft post is deleted. */
|
|
2682
|
-
DELETED = "DELETED",
|
|
2683
|
-
/** Status indicating the draft post is in review. */
|
|
2684
|
-
IN_REVIEW = "IN_REVIEW"
|
|
2364
|
+
type OrderWithLiterals = Order | 'UNKNOWN' | 'OLDEST' | 'NEWEST';
|
|
2365
|
+
/** Get Blog Post Count Stats response */
|
|
2366
|
+
interface QueryPostCountStatsResponse {
|
|
2367
|
+
/** List of published post counts by month. */
|
|
2368
|
+
stats?: PeriodPostCount[];
|
|
2685
2369
|
}
|
|
2686
|
-
/**
|
|
2687
|
-
|
|
2688
|
-
|
|
2689
|
-
|
|
2690
|
-
|
|
2691
|
-
|
|
2692
|
-
|
|
2693
|
-
|
|
2694
|
-
/** Post status. */
|
|
2695
|
-
status?: StatusWithLiterals;
|
|
2370
|
+
/** Post count for a specific time period */
|
|
2371
|
+
interface PeriodPostCount {
|
|
2372
|
+
/** Start of time range in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date and time format. */
|
|
2373
|
+
periodStart?: Date | null;
|
|
2374
|
+
/** Number of posts published during this month. */
|
|
2375
|
+
postCount?: number;
|
|
2376
|
+
}
|
|
2377
|
+
interface GetTotalPublicationsRequest {
|
|
2696
2378
|
/**
|
|
2697
|
-
* Language
|
|
2379
|
+
* Language filter
|
|
2380
|
+
* @minLength 2
|
|
2698
2381
|
* @format LANGUAGE_TAG
|
|
2699
2382
|
*/
|
|
2700
2383
|
language?: string | null;
|
|
2384
|
+
}
|
|
2385
|
+
interface GetTotalPublicationsResponse {
|
|
2386
|
+
/** Total amount of publications. */
|
|
2387
|
+
total?: number;
|
|
2388
|
+
}
|
|
2389
|
+
interface GetTotalPostsRequest {
|
|
2701
2390
|
/**
|
|
2702
|
-
*
|
|
2703
|
-
*
|
|
2391
|
+
* Language filter.
|
|
2392
|
+
*
|
|
2393
|
+
* 2-or-4-letter language code in [IETF BCP 47 language tag](https://en.wikipedia.org/wiki/IETF_language_tag) format.
|
|
2394
|
+
* Pass a language to receive the total amount of posts in that specified language.
|
|
2395
|
+
* @format LANGUAGE_TAG
|
|
2704
2396
|
*/
|
|
2705
|
-
|
|
2706
|
-
|
|
2707
|
-
|
|
2708
|
-
/**
|
|
2709
|
-
|
|
2397
|
+
language?: string | null;
|
|
2398
|
+
}
|
|
2399
|
+
interface GetTotalPostsResponse {
|
|
2400
|
+
/** Total amount of published posts. */
|
|
2401
|
+
total?: number;
|
|
2710
2402
|
}
|
|
2711
2403
|
interface DomainEvent extends DomainEventBodyOneOf {
|
|
2712
2404
|
createdEvent?: EntityCreatedEvent;
|
|
@@ -2862,132 +2554,440 @@ interface AccountInfo {
|
|
|
2862
2554
|
* ID of the parent Wix account. Only included when accountId belongs to a child account.
|
|
2863
2555
|
* @format GUID
|
|
2864
2556
|
*/
|
|
2865
|
-
parentAccountId?: string | null;
|
|
2557
|
+
parentAccountId?: string | null;
|
|
2558
|
+
/**
|
|
2559
|
+
* ID of the Wix site associated with the event. Only included when the event is tied to a specific site.
|
|
2560
|
+
* @format GUID
|
|
2561
|
+
*/
|
|
2562
|
+
siteId?: string | null;
|
|
2563
|
+
}
|
|
2564
|
+
interface ListTemplatesRequest {
|
|
2565
|
+
/**
|
|
2566
|
+
* Filter post templates by given template category ids
|
|
2567
|
+
* @maxSize 50
|
|
2568
|
+
* @format GUID
|
|
2569
|
+
*/
|
|
2570
|
+
categoryIds?: string[];
|
|
2571
|
+
/**
|
|
2572
|
+
* Filter post templates by provided language
|
|
2573
|
+
* @format LANGUAGE_TAG
|
|
2574
|
+
*/
|
|
2575
|
+
language?: string | null;
|
|
2576
|
+
/** Returns post template categories when set to TRUE */
|
|
2577
|
+
listTemplateCategories?: boolean;
|
|
2578
|
+
/** Sort order by ascending/descending publish date. Default is ascending publish date sort */
|
|
2579
|
+
sort?: GetPostTemplatesSortWithLiterals;
|
|
2580
|
+
/** Pagination options. */
|
|
2581
|
+
paging?: BlogPaging;
|
|
2582
|
+
}
|
|
2583
|
+
declare enum GetPostTemplatesSort {
|
|
2584
|
+
/** Sort by ascending publishing date. */
|
|
2585
|
+
PUBLISHED_DATE_ASC = "PUBLISHED_DATE_ASC",
|
|
2586
|
+
/** Sort by descending publishing date. */
|
|
2587
|
+
PUBLISHED_DATE_DESC = "PUBLISHED_DATE_DESC"
|
|
2588
|
+
}
|
|
2589
|
+
/** @enumType */
|
|
2590
|
+
type GetPostTemplatesSortWithLiterals = GetPostTemplatesSort | 'PUBLISHED_DATE_ASC' | 'PUBLISHED_DATE_DESC';
|
|
2591
|
+
interface BlogPaging {
|
|
2592
|
+
/**
|
|
2593
|
+
* Number of items to skip in the current sort order.
|
|
2594
|
+
*
|
|
2595
|
+
*
|
|
2596
|
+
* Default: `0`
|
|
2597
|
+
*/
|
|
2598
|
+
offset?: number;
|
|
2599
|
+
/**
|
|
2600
|
+
* Number of items to return.
|
|
2601
|
+
*
|
|
2602
|
+
*
|
|
2603
|
+
* Default:`50`
|
|
2604
|
+
* @min 1
|
|
2605
|
+
* @max 100
|
|
2606
|
+
*/
|
|
2607
|
+
limit?: number;
|
|
2608
|
+
/**
|
|
2609
|
+
* Pointer to the next or previous page in the list of results.
|
|
2610
|
+
* @maxLength 2000
|
|
2611
|
+
*/
|
|
2612
|
+
cursor?: string | null;
|
|
2613
|
+
}
|
|
2614
|
+
interface ListTemplatesResponse {
|
|
2615
|
+
/** Available post templates */
|
|
2616
|
+
postTemplates?: Post[];
|
|
2617
|
+
/** Details on the paged set of posts templates returned. */
|
|
2618
|
+
postTemplatesMetaData?: MetaData;
|
|
2619
|
+
/** Post template categories. This value is returned empty unless asked explicitly */
|
|
2620
|
+
templateCategories?: Category[];
|
|
2621
|
+
}
|
|
2622
|
+
interface MetaData {
|
|
2623
|
+
/** Number of items returned in this response. */
|
|
2624
|
+
count?: number;
|
|
2625
|
+
/** Requested offset. */
|
|
2626
|
+
offset?: number;
|
|
2627
|
+
/** Total number of items that match the query. */
|
|
2628
|
+
total?: number;
|
|
2629
|
+
/**
|
|
2630
|
+
* Pointer to the next or previous page in the list of results.
|
|
2631
|
+
* @maxLength 2000
|
|
2632
|
+
*/
|
|
2633
|
+
cursor?: string | null;
|
|
2634
|
+
}
|
|
2635
|
+
interface Category {
|
|
2636
|
+
/**
|
|
2637
|
+
* Category ID.
|
|
2638
|
+
* @immutable
|
|
2639
|
+
* @maxLength 38
|
|
2640
|
+
*/
|
|
2641
|
+
id?: string;
|
|
2642
|
+
/**
|
|
2643
|
+
* Category label. Displayed in the Category Menu.
|
|
2644
|
+
* @maxLength 35
|
|
2645
|
+
*/
|
|
2646
|
+
label?: string;
|
|
2647
|
+
/**
|
|
2648
|
+
* Number of posts in the category.
|
|
2649
|
+
* @readonly
|
|
2650
|
+
*/
|
|
2651
|
+
postCount?: number;
|
|
2652
|
+
/**
|
|
2653
|
+
* The `url` of the page that lists every post with the specified category.
|
|
2654
|
+
* @readonly
|
|
2655
|
+
*/
|
|
2656
|
+
url?: PageUrl;
|
|
2657
|
+
/**
|
|
2658
|
+
* Category description.
|
|
2659
|
+
* @maxLength 500
|
|
2660
|
+
*/
|
|
2661
|
+
description?: string | null;
|
|
2662
|
+
/**
|
|
2663
|
+
* Category title.
|
|
2664
|
+
* @maxLength 200
|
|
2665
|
+
* @deprecated Category title.
|
|
2666
|
+
* @targetRemovalDate 2025-07-16
|
|
2667
|
+
*/
|
|
2668
|
+
title?: string;
|
|
2669
|
+
/**
|
|
2670
|
+
* Position of the category in the [Category Menu](https://support.wix.com/en/article/wix-blog-adding-and-customizing-a-category-menu).
|
|
2671
|
+
* Categories are displayed in ascending order. Categories with a position of `-1` appear at the end of the sequence.
|
|
2672
|
+
*
|
|
2673
|
+
* Default: `-1`
|
|
2674
|
+
*/
|
|
2675
|
+
displayPosition?: number | null;
|
|
2676
|
+
/**
|
|
2677
|
+
* ID of the category's translations. All translations of a single category share the same `translationId`.
|
|
2678
|
+
* @format GUID
|
|
2679
|
+
*/
|
|
2680
|
+
translationId?: string | null;
|
|
2681
|
+
/**
|
|
2682
|
+
* Category language.
|
|
2683
|
+
*
|
|
2684
|
+
* 2-or-4-letter language code in [IETF BCP 47 language tag](https://en.wikipedia.org/wiki/IETF_language_tag) format.
|
|
2685
|
+
* @immutable
|
|
2686
|
+
*/
|
|
2687
|
+
language?: string | null;
|
|
2688
|
+
/**
|
|
2689
|
+
* Part of a category's URL that refers to a specific category. For example, the slug of `https:/example.com/blog/category/famous-cats` is `famous-cats`.
|
|
2690
|
+
* @maxLength 100
|
|
2691
|
+
*/
|
|
2692
|
+
slug?: string;
|
|
2693
|
+
/** SEO data. */
|
|
2694
|
+
seoData?: SeoSchema;
|
|
2695
|
+
/** Category cover image. */
|
|
2696
|
+
coverImage?: Image;
|
|
2697
|
+
/**
|
|
2698
|
+
* Date and time the Category was last updated.
|
|
2699
|
+
* @readonly
|
|
2700
|
+
*/
|
|
2701
|
+
updatedDate?: Date | null;
|
|
2702
|
+
}
|
|
2703
|
+
interface CategoryTranslation {
|
|
2704
|
+
/**
|
|
2705
|
+
* Category ID.
|
|
2706
|
+
* @format GUID
|
|
2707
|
+
*/
|
|
2708
|
+
id?: string;
|
|
2709
|
+
/**
|
|
2710
|
+
* Label displayed in the categories menu on the site.
|
|
2711
|
+
* @maxLength 100
|
|
2712
|
+
*/
|
|
2713
|
+
label?: string | null;
|
|
2714
|
+
/**
|
|
2715
|
+
* Language of the category.
|
|
2716
|
+
* @format LANGUAGE_TAG
|
|
2717
|
+
*/
|
|
2718
|
+
language?: string | null;
|
|
2719
|
+
/** URL of this category page. */
|
|
2720
|
+
url?: PageUrl;
|
|
2721
|
+
}
|
|
2722
|
+
interface GetTemplateRequest {
|
|
2723
|
+
/**
|
|
2724
|
+
* Post template id
|
|
2725
|
+
* @format GUID
|
|
2726
|
+
*/
|
|
2727
|
+
postTemplateId?: string;
|
|
2728
|
+
}
|
|
2729
|
+
interface GetTemplateResponse {
|
|
2730
|
+
/** Post template */
|
|
2731
|
+
postTemplate?: Post;
|
|
2732
|
+
}
|
|
2733
|
+
interface CreateDraftPostFromTemplateRequest {
|
|
2734
|
+
/**
|
|
2735
|
+
* Post template id
|
|
2736
|
+
* @format GUID
|
|
2737
|
+
*/
|
|
2738
|
+
postTemplateId?: string;
|
|
2739
|
+
}
|
|
2740
|
+
interface CreateDraftPostFromTemplateResponse {
|
|
2741
|
+
/** Created draft post */
|
|
2742
|
+
draftPost?: DraftPost;
|
|
2743
|
+
}
|
|
2744
|
+
interface DraftPost {
|
|
2745
|
+
/**
|
|
2746
|
+
* Draft post ID.
|
|
2747
|
+
* @readonly
|
|
2748
|
+
* @maxLength 38
|
|
2749
|
+
*/
|
|
2750
|
+
id?: string;
|
|
2751
|
+
/**
|
|
2752
|
+
* Draft post title.
|
|
2753
|
+
* @maxLength 200
|
|
2754
|
+
*/
|
|
2755
|
+
title?: string;
|
|
2756
|
+
/**
|
|
2757
|
+
* Draft post excerpt.
|
|
2758
|
+
*
|
|
2759
|
+
* If no excerpt has been manually set, an excerpt is automatically generated from the post's text.
|
|
2760
|
+
* This can be retrieved using the `GENERATED_EXCERPT` fieldset.
|
|
2761
|
+
* @maxLength 500
|
|
2762
|
+
*/
|
|
2763
|
+
excerpt?: string | null;
|
|
2764
|
+
/** Whether the draft post is marked as featured. */
|
|
2765
|
+
featured?: boolean | null;
|
|
2766
|
+
/**
|
|
2767
|
+
* Category IDs of the draft post.
|
|
2768
|
+
* @maxSize 10
|
|
2769
|
+
* @maxLength 38
|
|
2770
|
+
*/
|
|
2771
|
+
categoryIds?: string[];
|
|
2772
|
+
/**
|
|
2773
|
+
* Draft post owner's member ID.
|
|
2774
|
+
* @format GUID
|
|
2775
|
+
*/
|
|
2776
|
+
memberId?: string | null;
|
|
2777
|
+
/**
|
|
2778
|
+
* Hashtags in the post.
|
|
2779
|
+
* @maxSize 100
|
|
2780
|
+
* @maxLength 100
|
|
2781
|
+
*/
|
|
2782
|
+
hashtags?: string[];
|
|
2783
|
+
/** Whether commenting on the draft post is enabled. */
|
|
2784
|
+
commentingEnabled?: boolean | null;
|
|
2785
|
+
/**
|
|
2786
|
+
* Estimated reading time of the draft post (calculated automatically).
|
|
2787
|
+
* @readonly
|
|
2788
|
+
*/
|
|
2789
|
+
minutesToRead?: number;
|
|
2790
|
+
/** Image placed at the top of the blog page. */
|
|
2791
|
+
heroImage?: Image;
|
|
2792
|
+
/**
|
|
2793
|
+
* Tag IDs the draft post is tagged with.
|
|
2794
|
+
* @maxSize 30
|
|
2795
|
+
* @maxLength 38
|
|
2796
|
+
*/
|
|
2797
|
+
tagIds?: string[];
|
|
2798
|
+
/**
|
|
2799
|
+
* IDs of posts related to this draft post.
|
|
2800
|
+
* @maxSize 3
|
|
2801
|
+
* @maxLength 38
|
|
2802
|
+
*/
|
|
2803
|
+
relatedPostIds?: string[];
|
|
2804
|
+
/**
|
|
2805
|
+
* Pricing plan IDs. Only relevant if a post is assigned to a specific pricing plan. See the Pricing Plans API for more info.
|
|
2806
|
+
* @maxSize 100
|
|
2807
|
+
* @format GUID
|
|
2808
|
+
*/
|
|
2809
|
+
pricingPlanIds?: string[];
|
|
2866
2810
|
/**
|
|
2867
|
-
* ID of the
|
|
2811
|
+
* ID of the draft post's translations.
|
|
2812
|
+
*
|
|
2813
|
+
* All translations of a single post share the same `translationId`.
|
|
2814
|
+
* Available only if the [Multilingual](https://support.wix.com/en/article/wix-multilingual-an-overview) app is installed.
|
|
2868
2815
|
* @format GUID
|
|
2869
2816
|
*/
|
|
2870
|
-
|
|
2871
|
-
}
|
|
2872
|
-
/** Get Blog Publications Count Stats request */
|
|
2873
|
-
interface QueryPublicationsCountStatsRequest {
|
|
2874
|
-
/** Start of time range to return, in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date and time format. */
|
|
2875
|
-
rangeStart?: Date | null;
|
|
2876
|
-
/** Non-inclusive end of time range to return, in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date and time format. */
|
|
2877
|
-
rangeEnd?: Date | null;
|
|
2878
|
-
/** Order of the returned results. */
|
|
2879
|
-
order?: QueryPublicationsCountStatsRequestOrderWithLiterals;
|
|
2880
|
-
/** Number of months to include in the response. */
|
|
2881
|
-
months?: number;
|
|
2817
|
+
translationId?: string | null;
|
|
2882
2818
|
/**
|
|
2883
|
-
* Language
|
|
2819
|
+
* Language the draft post is written in.
|
|
2884
2820
|
*
|
|
2885
2821
|
* 2-or-4-letter language code in [IETF BCP 47 language tag](https://en.wikipedia.org/wiki/IETF_language_tag) format.
|
|
2886
2822
|
* @format LANGUAGE_TAG
|
|
2887
2823
|
*/
|
|
2888
2824
|
language?: string | null;
|
|
2889
2825
|
/**
|
|
2890
|
-
*
|
|
2891
|
-
*
|
|
2892
|
-
*
|
|
2826
|
+
* Draft Post rich content.
|
|
2827
|
+
*
|
|
2828
|
+
* <widget src="https://apps.wix.com/_serverless/ricos-playground-services/goto/api-component" plugins="image.gallery.video.audio.divider.linkButton.html.giphy.codeBlock.file.hashtag.lineSpacing.indent.link.textColor.textHighlight.heading.verticalEmbed.table.collapsibleList.poll" exampleid="72c23a25-524f-4f70-a260-4a2777b6f5d5">
|
|
2829
|
+
* <a href="https://dev.wix.com/docs/ricos/api-reference/ricos-document">See Ricos document reference</a>
|
|
2830
|
+
* </widget>
|
|
2893
2831
|
*/
|
|
2894
|
-
|
|
2895
|
-
}
|
|
2896
|
-
declare enum QueryPublicationsCountStatsRequestOrder {
|
|
2897
|
-
UNKNOWN = "UNKNOWN",
|
|
2898
|
-
OLDEST = "OLDEST",
|
|
2899
|
-
NEWEST = "NEWEST"
|
|
2900
|
-
}
|
|
2901
|
-
/** @enumType */
|
|
2902
|
-
type QueryPublicationsCountStatsRequestOrderWithLiterals = QueryPublicationsCountStatsRequestOrder | 'UNKNOWN' | 'OLDEST' | 'NEWEST';
|
|
2903
|
-
/** Get Blog Publications Count Stats response */
|
|
2904
|
-
interface QueryPublicationsCountStatsResponse {
|
|
2905
|
-
/** Chronologically ordered list of publications. */
|
|
2906
|
-
stats?: PeriodPublicationsCount[];
|
|
2907
|
-
}
|
|
2908
|
-
/** Publications count for a specific time period */
|
|
2909
|
-
interface PeriodPublicationsCount {
|
|
2910
|
-
/** Start of time range in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date and time format. */
|
|
2911
|
-
periodStart?: Date | null;
|
|
2912
|
-
/** Number of posts published during this month. */
|
|
2913
|
-
publicationsCount?: number;
|
|
2914
|
-
}
|
|
2915
|
-
/** Get Blog Post Count Stats request */
|
|
2916
|
-
interface QueryPostCountStatsRequest {
|
|
2917
|
-
/** Start of time range to return, in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date and time format. */
|
|
2918
|
-
rangeStart?: Date | null;
|
|
2832
|
+
richContent?: RichContent;
|
|
2919
2833
|
/**
|
|
2920
|
-
*
|
|
2921
|
-
*
|
|
2922
|
-
* - `OLDEST`: posts by date in ascending order.
|
|
2923
|
-
* - `NEWEST`: posts by date in descending order.
|
|
2924
|
-
*
|
|
2925
|
-
* Default: `OLDEST`
|
|
2834
|
+
* Status of the draft post.
|
|
2835
|
+
* @readonly
|
|
2926
2836
|
*/
|
|
2927
|
-
|
|
2928
|
-
/**
|
|
2929
|
-
|
|
2837
|
+
status?: StatusWithLiterals;
|
|
2838
|
+
/** Details of the draft post in review. Only relevant to posts submitted by guest writers. */
|
|
2839
|
+
moderationDetails?: ModerationDetails;
|
|
2930
2840
|
/**
|
|
2931
|
-
*
|
|
2932
|
-
*
|
|
2933
|
-
* 2-or-4-letter language code in [IETF BCP 47 language tag](https://en.wikipedia.org/wiki/IETF_language_tag) format.
|
|
2934
|
-
* Pass a language to only receive the period post count for that specified language.
|
|
2935
|
-
* @format LANGUAGE_TAG
|
|
2841
|
+
* Indicates if there are changes made to the draft post that have not yet been published.
|
|
2842
|
+
* @readonly
|
|
2936
2843
|
*/
|
|
2937
|
-
|
|
2844
|
+
hasUnpublishedChanges?: boolean;
|
|
2938
2845
|
/**
|
|
2939
|
-
*
|
|
2940
|
-
*
|
|
2941
|
-
|
|
2942
|
-
|
|
2846
|
+
* Date the draft post was last edited.
|
|
2847
|
+
* @readonly
|
|
2848
|
+
*/
|
|
2849
|
+
editedDate?: Date | null;
|
|
2850
|
+
/**
|
|
2851
|
+
* Date the draft post is scheduled to be published.
|
|
2852
|
+
* @readonly
|
|
2853
|
+
*/
|
|
2854
|
+
scheduledPublishDate?: Date | null;
|
|
2855
|
+
/** Date the post was first published. */
|
|
2856
|
+
firstPublishedDate?: Date | null;
|
|
2857
|
+
/** SEO data. */
|
|
2858
|
+
seoData?: SeoSchema;
|
|
2859
|
+
/**
|
|
2860
|
+
* Draft post URL preview. What the URL will look like once the post is published.
|
|
2861
|
+
* @readonly
|
|
2862
|
+
*/
|
|
2863
|
+
url?: PageUrl;
|
|
2864
|
+
/**
|
|
2865
|
+
* Date the draft post was first created.
|
|
2866
|
+
* @readonly
|
|
2867
|
+
*/
|
|
2868
|
+
createdDate?: Date | null;
|
|
2869
|
+
/**
|
|
2870
|
+
* SEO slug.
|
|
2943
2871
|
* @maxLength 100
|
|
2944
2872
|
*/
|
|
2945
|
-
|
|
2873
|
+
seoSlug?: string | null;
|
|
2874
|
+
/** Post cover media. */
|
|
2875
|
+
media?: Media;
|
|
2876
|
+
/** Number of paragraphs to display in a paid content preview for non-paying users. */
|
|
2877
|
+
previewTextParagraph?: number | null;
|
|
2946
2878
|
}
|
|
2947
|
-
declare enum
|
|
2879
|
+
declare enum Origin {
|
|
2948
2880
|
UNKNOWN = "UNKNOWN",
|
|
2949
|
-
|
|
2950
|
-
|
|
2881
|
+
/** Changed by admin */
|
|
2882
|
+
ADMIN = "ADMIN",
|
|
2883
|
+
/** Categories were changed */
|
|
2884
|
+
ADD_CATEGORIES = "ADD_CATEGORIES",
|
|
2885
|
+
/** Saved automatically */
|
|
2886
|
+
AUTO_SAVE = "AUTO_SAVE",
|
|
2887
|
+
/** Copied from template */
|
|
2888
|
+
COPY_TEMPLATE = "COPY_TEMPLATE",
|
|
2889
|
+
/** Imported */
|
|
2890
|
+
IMPORT = "IMPORT",
|
|
2891
|
+
/** Imported in bulk */
|
|
2892
|
+
IMPORT_BULK = "IMPORT_BULK",
|
|
2893
|
+
/** Imported with html import */
|
|
2894
|
+
IMPORT_HTML = "IMPORT_HTML",
|
|
2895
|
+
/** Patch import */
|
|
2896
|
+
IMPORT_PATCH = "IMPORT_PATCH",
|
|
2897
|
+
/** Changed language */
|
|
2898
|
+
LANGUAGE_CHANGE = "LANGUAGE_CHANGE",
|
|
2899
|
+
/** Saved manually */
|
|
2900
|
+
MANUAL_SAVE = "MANUAL_SAVE",
|
|
2901
|
+
/** Affected by migration */
|
|
2902
|
+
MIGRATION = "MIGRATION",
|
|
2903
|
+
/** Affected by moderation */
|
|
2904
|
+
MODERATION = "MODERATION",
|
|
2905
|
+
/** Moved to trash */
|
|
2906
|
+
MOVE_TO_TRASH = "MOVE_TO_TRASH",
|
|
2907
|
+
/** Pricing plans were changed */
|
|
2908
|
+
PRICING_PLANS_CHANGE = "PRICING_PLANS_CHANGE",
|
|
2909
|
+
/** Was provisioned */
|
|
2910
|
+
PROVISION = "PROVISION",
|
|
2911
|
+
/** Was published */
|
|
2912
|
+
PUBLISH = "PUBLISH",
|
|
2913
|
+
/** Owner was reassigned */
|
|
2914
|
+
REASSIGN_OWNER = "REASSIGN_OWNER",
|
|
2915
|
+
/** Was reblogged */
|
|
2916
|
+
REBLOG = "REBLOG",
|
|
2917
|
+
/** Was restored */
|
|
2918
|
+
RESTORE = "RESTORE",
|
|
2919
|
+
/** Reverted to draft */
|
|
2920
|
+
REVERT_TO_DRAFT = "REVERT_TO_DRAFT",
|
|
2921
|
+
/** Was translated */
|
|
2922
|
+
TRANSLATION = "TRANSLATION",
|
|
2923
|
+
/** Was unpublished */
|
|
2924
|
+
UNPUBLISH = "UNPUBLISH",
|
|
2925
|
+
/** Was unscheduled */
|
|
2926
|
+
UNSCHEDULE = "UNSCHEDULE",
|
|
2927
|
+
/** New edit session started which updated editing_session_id id */
|
|
2928
|
+
NEW_EDIT_SESSION = "NEW_EDIT_SESSION",
|
|
2929
|
+
/** Was scheduled by Later */
|
|
2930
|
+
SCHEDULING_SERVICE_SCHEDULE = "SCHEDULING_SERVICE_SCHEDULE",
|
|
2931
|
+
/** Was unscheduled by Later */
|
|
2932
|
+
SCHEDULING_SERVICE_UNSCHEDULE = "SCHEDULING_SERVICE_UNSCHEDULE",
|
|
2933
|
+
/** Was published by Later */
|
|
2934
|
+
SCHEDULING_SERVICE_PUBLISH = "SCHEDULING_SERVICE_PUBLISH",
|
|
2935
|
+
/** Was scheduled */
|
|
2936
|
+
SCHEDULE = "SCHEDULE",
|
|
2937
|
+
/** Was removed from moderation */
|
|
2938
|
+
REMOVE_FROM_MODERATION = "REMOVE_FROM_MODERATION",
|
|
2939
|
+
/** Was rejected from moderation */
|
|
2940
|
+
REJECT_FROM_MODERATION = "REJECT_FROM_MODERATION",
|
|
2941
|
+
/** Was approved in moderation */
|
|
2942
|
+
APPROVE_IN_MODERATION = "APPROVE_IN_MODERATION",
|
|
2943
|
+
/** Tag was deleted */
|
|
2944
|
+
DELETE_TAG = "DELETE_TAG",
|
|
2945
|
+
/** Post was pinned */
|
|
2946
|
+
PIN = "PIN",
|
|
2947
|
+
/** Post was unpinned */
|
|
2948
|
+
UNPIN = "UNPIN",
|
|
2949
|
+
/** Saved automatically by AI tool. */
|
|
2950
|
+
AI_AUTO_SAVE = "AI_AUTO_SAVE"
|
|
2951
2951
|
}
|
|
2952
2952
|
/** @enumType */
|
|
2953
|
-
type
|
|
2954
|
-
|
|
2955
|
-
|
|
2956
|
-
/**
|
|
2957
|
-
|
|
2958
|
-
|
|
2959
|
-
|
|
2960
|
-
|
|
2961
|
-
|
|
2962
|
-
|
|
2963
|
-
|
|
2964
|
-
|
|
2953
|
+
type OriginWithLiterals = Origin | 'UNKNOWN' | 'ADMIN' | 'ADD_CATEGORIES' | 'AUTO_SAVE' | 'COPY_TEMPLATE' | 'IMPORT' | 'IMPORT_BULK' | 'IMPORT_HTML' | 'IMPORT_PATCH' | 'LANGUAGE_CHANGE' | 'MANUAL_SAVE' | 'MIGRATION' | 'MODERATION' | 'MOVE_TO_TRASH' | 'PRICING_PLANS_CHANGE' | 'PROVISION' | 'PUBLISH' | 'REASSIGN_OWNER' | 'REBLOG' | 'RESTORE' | 'REVERT_TO_DRAFT' | 'TRANSLATION' | 'UNPUBLISH' | 'UNSCHEDULE' | 'NEW_EDIT_SESSION' | 'SCHEDULING_SERVICE_SCHEDULE' | 'SCHEDULING_SERVICE_UNSCHEDULE' | 'SCHEDULING_SERVICE_PUBLISH' | 'SCHEDULE' | 'REMOVE_FROM_MODERATION' | 'REJECT_FROM_MODERATION' | 'APPROVE_IN_MODERATION' | 'DELETE_TAG' | 'PIN' | 'UNPIN' | 'AI_AUTO_SAVE';
|
|
2954
|
+
declare enum Status {
|
|
2955
|
+
UNKNOWN = "UNKNOWN",
|
|
2956
|
+
/** Status indicating the draft post is published. */
|
|
2957
|
+
PUBLISHED = "PUBLISHED",
|
|
2958
|
+
/** Status indicating the draft post is unpublished. */
|
|
2959
|
+
UNPUBLISHED = "UNPUBLISHED",
|
|
2960
|
+
/** Status indicating the draft post is scheduled for publication. */
|
|
2961
|
+
SCHEDULED = "SCHEDULED",
|
|
2962
|
+
/** Status indicating the draft post is deleted. */
|
|
2963
|
+
DELETED = "DELETED",
|
|
2964
|
+
/** Status indicating the draft post is in review. */
|
|
2965
|
+
IN_REVIEW = "IN_REVIEW"
|
|
2965
2966
|
}
|
|
2966
|
-
|
|
2967
|
+
/** @enumType */
|
|
2968
|
+
type StatusWithLiterals = Status | 'UNKNOWN' | 'PUBLISHED' | 'UNPUBLISHED' | 'SCHEDULED' | 'DELETED' | 'IN_REVIEW';
|
|
2969
|
+
interface DraftPostTranslation {
|
|
2967
2970
|
/**
|
|
2968
|
-
*
|
|
2969
|
-
* @
|
|
2970
|
-
* @format LANGUAGE_TAG
|
|
2971
|
+
* Post ID.
|
|
2972
|
+
* @format GUID
|
|
2971
2973
|
*/
|
|
2972
|
-
|
|
2973
|
-
|
|
2974
|
-
|
|
2975
|
-
/** Total amount of publications. */
|
|
2976
|
-
total?: number;
|
|
2977
|
-
}
|
|
2978
|
-
interface GetTotalPostsRequest {
|
|
2974
|
+
id?: string;
|
|
2975
|
+
/** Post status. */
|
|
2976
|
+
status?: StatusWithLiterals;
|
|
2979
2977
|
/**
|
|
2980
|
-
* Language
|
|
2981
|
-
*
|
|
2982
|
-
* 2-or-4-letter language code in [IETF BCP 47 language tag](https://en.wikipedia.org/wiki/IETF_language_tag) format.
|
|
2983
|
-
* Pass a language to receive the total amount of posts in that specified language.
|
|
2978
|
+
* Language the post is written in.
|
|
2984
2979
|
* @format LANGUAGE_TAG
|
|
2985
2980
|
*/
|
|
2986
2981
|
language?: string | null;
|
|
2987
|
-
|
|
2988
|
-
|
|
2989
|
-
|
|
2990
|
-
|
|
2982
|
+
/**
|
|
2983
|
+
* Post slug. For example, 'post-slug'.
|
|
2984
|
+
* @maxLength 100
|
|
2985
|
+
*/
|
|
2986
|
+
slug?: string | null;
|
|
2987
|
+
/** SEO data. */
|
|
2988
|
+
seoData?: SeoSchema;
|
|
2989
|
+
/** Post URL. */
|
|
2990
|
+
url?: PageUrl;
|
|
2991
2991
|
}
|
|
2992
2992
|
interface GetTotalLikesPerMemberRequest {
|
|
2993
2993
|
/**
|
|
@@ -3496,6 +3496,15 @@ interface Reactions {
|
|
|
3496
3496
|
*/
|
|
3497
3497
|
liked?: boolean;
|
|
3498
3498
|
}
|
|
3499
|
+
interface DeletePostRequest {
|
|
3500
|
+
/**
|
|
3501
|
+
* Post id.
|
|
3502
|
+
* @format GUID
|
|
3503
|
+
*/
|
|
3504
|
+
postId?: string | null;
|
|
3505
|
+
}
|
|
3506
|
+
interface DeletePostResponse {
|
|
3507
|
+
}
|
|
3499
3508
|
interface ListDemoPostsRequest {
|
|
3500
3509
|
/**
|
|
3501
3510
|
* Whether to return only featured posts.
|
|
@@ -3699,4 +3708,4 @@ declare function getPostMetrics(): __PublicMethodMetaInfo<'GET', {
|
|
|
3699
3708
|
postId: string;
|
|
3700
3709
|
}, GetPostMetricsRequest$1, GetPostMetricsRequest, GetPostMetricsResponse$1, GetPostMetricsResponse>;
|
|
3701
3710
|
|
|
3702
|
-
export { type AccountInfo as AccountInfoOriginal, type ActionEvent as ActionEventOriginal, Alignment as AlignmentOriginal, type AlignmentWithLiterals as AlignmentWithLiteralsOriginal, type AnchorData as AnchorDataOriginal, type AppEmbedDataAppDataOneOf as AppEmbedDataAppDataOneOfOriginal, type AppEmbedData as AppEmbedDataOriginal, AppType as AppTypeOriginal, type AppTypeWithLiterals as AppTypeWithLiteralsOriginal, AspectRatio as AspectRatioOriginal, type AspectRatioWithLiterals as AspectRatioWithLiteralsOriginal, type AudioData as AudioDataOriginal, type BackgroundBackgroundOneOf as BackgroundBackgroundOneOfOriginal, type BackgroundImage as BackgroundImageOriginal, type Background as BackgroundOriginal, BackgroundType as BackgroundTypeOriginal, type BackgroundTypeWithLiterals as BackgroundTypeWithLiteralsOriginal, type BlockquoteData as BlockquoteDataOriginal, type BlogPaging as BlogPagingOriginal, type BookingData as BookingDataOriginal, type BorderColors as BorderColorsOriginal, type Border as BorderOriginal, type BorderWidths as BorderWidthsOriginal, type BulkGetPostReactionsRequest as BulkGetPostReactionsRequestOriginal, type BulkGetPostReactionsResponse as BulkGetPostReactionsResponseOriginal, type BulletedListData as BulletedListDataOriginal, type ButtonData as ButtonDataOriginal, ButtonDataType as ButtonDataTypeOriginal, type ButtonDataTypeWithLiterals as ButtonDataTypeWithLiteralsOriginal, type ButtonStyles as ButtonStylesOriginal, type CaptionData as CaptionDataOriginal, type CardStyles as CardStylesOriginal, type Category as CategoryOriginal, type CategoryTranslation as CategoryTranslationOriginal, type CellStyle as CellStyleOriginal, type CodeBlockData as CodeBlockDataOriginal, type CollapsibleListData as CollapsibleListDataOriginal, type ColorData as ColorDataOriginal, type Colors as ColorsOriginal, type ConvertDraftJsToRichContentRequest as ConvertDraftJsToRichContentRequestOriginal, type ConvertDraftJsToRichContentResponse as ConvertDraftJsToRichContentResponseOriginal, type ConvertRichContentToDraftJsRequest as ConvertRichContentToDraftJsRequestOriginal, type ConvertRichContentToDraftJsResponse as ConvertRichContentToDraftJsResponseOriginal, type CoverMediaMediaOneOf as CoverMediaMediaOneOfOriginal, type CoverMedia as CoverMediaOriginal, type CreateDraftPostFromTemplateRequest as CreateDraftPostFromTemplateRequestOriginal, type CreateDraftPostFromTemplateResponse as CreateDraftPostFromTemplateResponseOriginal, Crop as CropOriginal, type CropWithLiterals as CropWithLiteralsOriginal, type CursorPaging as CursorPagingOriginal, type Cursors as CursorsOriginal, type DecorationDataOneOf as DecorationDataOneOfOriginal, type Decoration as DecorationOriginal, DecorationType as DecorationTypeOriginal, type DecorationTypeWithLiterals as DecorationTypeWithLiteralsOriginal, type Design as DesignOriginal, DesignTarget as DesignTargetOriginal, type DesignTargetWithLiterals as DesignTargetWithLiteralsOriginal, type Dimensions as DimensionsOriginal, Direction as DirectionOriginal, type DirectionWithLiterals as DirectionWithLiteralsOriginal, DividerDataAlignment as DividerDataAlignmentOriginal, type DividerDataAlignmentWithLiterals as DividerDataAlignmentWithLiteralsOriginal, type DividerData as DividerDataOriginal, type DocumentStyle as DocumentStyleOriginal, type DomainEventBodyOneOf as DomainEventBodyOneOfOriginal, type DomainEvent as DomainEventOriginal, type DraftPost as DraftPostOriginal, type DraftPostTranslation as DraftPostTranslationOriginal, type EmbedData as EmbedDataOriginal, type EmbedMedia as EmbedMediaOriginal, type EmbedThumbnail as EmbedThumbnailOriginal, type EmbedVideo as EmbedVideoOriginal, type EntityCreatedEvent as EntityCreatedEventOriginal, type EntityDeletedEvent as EntityDeletedEventOriginal, type EntityUpdatedEvent as EntityUpdatedEventOriginal, type EventData as EventDataOriginal, Field as FieldOriginal, type FieldWithLiterals as FieldWithLiteralsOriginal, type FileData as FileDataOriginal, type FileSourceDataOneOf as FileSourceDataOneOfOriginal, type FileSource as FileSourceOriginal, type FocalPoint as FocalPointOriginal, type FontFamilyData as FontFamilyDataOriginal, type FontSizeData as FontSizeDataOriginal, FontType as FontTypeOriginal, type FontTypeWithLiterals as FontTypeWithLiteralsOriginal, type GIFData as GIFDataOriginal, type GIF as GIFOriginal, GIFType as GIFTypeOriginal, type GIFTypeWithLiterals as GIFTypeWithLiteralsOriginal, type GalleryData as GalleryDataOriginal, type GalleryOptionsLayout as GalleryOptionsLayoutOriginal, type GalleryOptions as GalleryOptionsOriginal, type GetPostBySlugRequest as GetPostBySlugRequestOriginal, type GetPostBySlugResponse as GetPostBySlugResponseOriginal, type GetPostCountPerMonthRequest as GetPostCountPerMonthRequestOriginal, type GetPostCountPerMonthResponse as GetPostCountPerMonthResponseOriginal, type GetPostMetricsRequest as GetPostMetricsRequestOriginal, type GetPostMetricsResponse as GetPostMetricsResponseOriginal, type GetPostRequest as GetPostRequestOriginal, type GetPostResponse as GetPostResponseOriginal, GetPostTemplatesSort as GetPostTemplatesSortOriginal, type GetPostTemplatesSortWithLiterals as GetPostTemplatesSortWithLiteralsOriginal, GetPostsSort as GetPostsSortOriginal, type GetPostsSortWithLiterals as GetPostsSortWithLiteralsOriginal, type GetTemplateRequest as GetTemplateRequestOriginal, type GetTemplateResponse as GetTemplateResponseOriginal, type GetTotalLikesPerMemberRequest as GetTotalLikesPerMemberRequestOriginal, type GetTotalLikesPerMemberResponse as GetTotalLikesPerMemberResponseOriginal, type GetTotalPostsRequest as GetTotalPostsRequestOriginal, type GetTotalPostsResponse as GetTotalPostsResponseOriginal, type GetTotalPublicationsRequest as GetTotalPublicationsRequestOriginal, type GetTotalPublicationsResponse as GetTotalPublicationsResponseOriginal, type Gradient as GradientOriginal, type HTMLDataDataOneOf as HTMLDataDataOneOfOriginal, type HTMLData as HTMLDataOriginal, type HeadingData as HeadingDataOriginal, type Height as HeightOriginal, type IdentificationDataIdOneOf as IdentificationDataIdOneOfOriginal, type IdentificationData as IdentificationDataOriginal, type ImageData as ImageDataOriginal, type ImageDataStyles as ImageDataStylesOriginal, type Image as ImageOriginal, ImagePosition as ImagePositionOriginal, type ImagePositionWithLiterals as ImagePositionWithLiteralsOriginal, type ImageStyles as ImageStylesOriginal, InitialExpandedItems as InitialExpandedItemsOriginal, type InitialExpandedItemsWithLiterals as InitialExpandedItemsWithLiteralsOriginal, type InitialPostsCopied as InitialPostsCopiedOriginal, type ItemDataOneOf as ItemDataOneOfOriginal, type ItemImage as ItemImageOriginal, type Item as ItemOriginal, type ItemStyle as ItemStyleOriginal, type ItemVideo as ItemVideoOriginal, type Keyword as KeywordOriginal, type LayoutCellData as LayoutCellDataOriginal, type LayoutData as LayoutDataOriginal, Layout as LayoutOriginal, LayoutType as LayoutTypeOriginal, type LayoutTypeWithLiterals as LayoutTypeWithLiteralsOriginal, type LayoutWithLiterals as LayoutWithLiteralsOriginal, type LikePostRequest as LikePostRequestOriginal, type LikePostResponse as LikePostResponseOriginal, LineStyle as LineStyleOriginal, type LineStyleWithLiterals as LineStyleWithLiteralsOriginal, type LinkDataOneOf as LinkDataOneOfOriginal, type LinkData as LinkDataOriginal, type Link as LinkOriginal, type LinkPreviewData as LinkPreviewDataOriginal, type LinkPreviewDataStyles as LinkPreviewDataStylesOriginal, type ListDemoPostsRequest as ListDemoPostsRequestOriginal, type ListDemoPostsResponse as ListDemoPostsResponseOriginal, type ListPostsArchiveRequest as ListPostsArchiveRequestOriginal, type ListPostsArchiveResponse as ListPostsArchiveResponseOriginal, type ListPostsRequest as ListPostsRequestOriginal, type ListPostsResponse as ListPostsResponseOriginal, type ListTemplatesRequest as ListTemplatesRequestOriginal, type ListTemplatesResponse as ListTemplatesResponseOriginal, type ListValue as ListValueOriginal, type MapData as MapDataOriginal, type MapSettings as MapSettingsOriginal, MapType as MapTypeOriginal, type MapTypeWithLiterals as MapTypeWithLiteralsOriginal, type MediaMediaOneOf as MediaMediaOneOfOriginal, type Media as MediaOriginal, type MentionData as MentionDataOriginal, type MessageEnvelope as MessageEnvelopeOriginal, type MetaData as MetaDataOriginal, type Metadata as MetadataOriginal, type Metrics as MetricsOriginal, type ModerationDetails as ModerationDetailsOriginal, ModerationStatusStatus as ModerationStatusStatusOriginal, type ModerationStatusStatusWithLiterals as ModerationStatusStatusWithLiteralsOriginal, type NodeDataOneOf as NodeDataOneOfOriginal, type Node as NodeOriginal, type NodeStyle as NodeStyleOriginal, NodeType as NodeTypeOriginal, type NodeTypeWithLiterals as NodeTypeWithLiteralsOriginal, NullValue as NullValueOriginal, type NullValueWithLiterals as NullValueWithLiteralsOriginal, type Oembed as OembedOriginal, type OldBlogMigratedEvent as OldBlogMigratedEventOriginal, type OptionDesign as OptionDesignOriginal, type OptionLayout as OptionLayoutOriginal, type Option as OptionOriginal, Order as OrderOriginal, type OrderWithLiterals as OrderWithLiteralsOriginal, type OrderedListData as OrderedListDataOriginal, Orientation as OrientationOriginal, type OrientationWithLiterals as OrientationWithLiteralsOriginal, Origin as OriginOriginal, type OriginWithLiterals as OriginWithLiteralsOriginal, type PDFSettings as PDFSettingsOriginal, type PageUrl as PageUrlOriginal, type PagingMetadataV2 as PagingMetadataV2Original, type Paging as PagingOriginal, type ParagraphData as ParagraphDataOriginal, type PeriodPostCount as PeriodPostCountOriginal, type PeriodPublicationsCount as PeriodPublicationsCountOriginal, type Permissions as PermissionsOriginal, type PinPostRequest as PinPostRequestOriginal, type PinPostResponse as PinPostResponseOriginal, Placement as PlacementOriginal, type PlacementWithLiterals as PlacementWithLiteralsOriginal, type PlatformQuery as PlatformQueryOriginal, type PlatformQueryPagingMethodOneOf as PlatformQueryPagingMethodOneOfOriginal, type PlaybackOptions as PlaybackOptionsOriginal, PluginContainerDataAlignment as PluginContainerDataAlignmentOriginal, type PluginContainerDataAlignmentWithLiterals as PluginContainerDataAlignmentWithLiteralsOriginal, type PluginContainerData as PluginContainerDataOriginal, type PluginContainerDataWidthDataOneOf as PluginContainerDataWidthDataOneOfOriginal, type PluginContainerDataWidth as PluginContainerDataWidthOriginal, type PollDataLayout as PollDataLayoutOriginal, type PollData as PollDataOriginal, type PollDesign as PollDesignOriginal, PollLayoutDirection as PollLayoutDirectionOriginal, type PollLayoutDirectionWithLiterals as PollLayoutDirectionWithLiteralsOriginal, type PollLayout as PollLayoutOriginal, PollLayoutType as PollLayoutTypeOriginal, type PollLayoutTypeWithLiterals as PollLayoutTypeWithLiteralsOriginal, type Poll as PollOriginal, type PollSettings as PollSettingsOriginal, Position as PositionOriginal, type PositionWithLiterals as PositionWithLiteralsOriginal, type PostCategoriesUpdated as PostCategoriesUpdatedOriginal, type PostCountInfo as PostCountInfoOriginal, type PostCountPerMonth as PostCountPerMonthOriginal, type PostCountersUpdatedInitiatorOneOf as PostCountersUpdatedInitiatorOneOfOriginal, type PostCountersUpdated as PostCountersUpdatedOriginal, PostFieldField as PostFieldFieldOriginal, type PostFieldFieldWithLiterals as PostFieldFieldWithLiteralsOriginal, type PostLikedInitiatorOneOf as PostLikedInitiatorOneOfOriginal, type PostLiked as PostLikedOriginal, type Post as PostOriginal, type PostOwnerChanged as PostOwnerChangedOriginal, type PostTagsUpdated as PostTagsUpdatedOriginal, type PostTranslation as PostTranslationOriginal, type PostUnlikedInitiatorOneOf as PostUnlikedInitiatorOneOfOriginal, type PostUnliked as PostUnlikedOriginal, type PricingData as PricingDataOriginal, type QueryPostCountStatsRequest as QueryPostCountStatsRequestOriginal, type QueryPostCountStatsResponse as QueryPostCountStatsResponseOriginal, type QueryPostsRequest as QueryPostsRequestOriginal, type QueryPostsResponse as QueryPostsResponseOriginal, QueryPublicationsCountStatsRequestOrder as QueryPublicationsCountStatsRequestOrderOriginal, type QueryPublicationsCountStatsRequestOrderWithLiterals as QueryPublicationsCountStatsRequestOrderWithLiteralsOriginal, type QueryPublicationsCountStatsRequest as QueryPublicationsCountStatsRequestOriginal, type QueryPublicationsCountStatsResponse as QueryPublicationsCountStatsResponseOriginal, type Reactions as ReactionsOriginal, type Rel as RelOriginal, Resizing as ResizingOriginal, type ResizingWithLiterals as ResizingWithLiteralsOriginal, ResponsivenessBehaviour as ResponsivenessBehaviourOriginal, type ResponsivenessBehaviourWithLiterals as ResponsivenessBehaviourWithLiteralsOriginal, type RestoreInfo as RestoreInfoOriginal, type RibbonStyles as RibbonStylesOriginal, type RichContent as RichContentOriginal, Scaling as ScalingOriginal, type ScalingWithLiterals as ScalingWithLiteralsOriginal, type ScheduledPostPublished as ScheduledPostPublishedOriginal, type SeoSchema as SeoSchemaOriginal, type Settings as SettingsOriginal, SortOrder as SortOrderOriginal, type SortOrderWithLiterals as SortOrderWithLiteralsOriginal, type Sorting as SortingOriginal, Source as SourceOriginal, type SourceWithLiterals as SourceWithLiteralsOriginal, type SpoilerData as SpoilerDataOriginal, type Spoiler as SpoilerOriginal, Status as StatusOriginal, type StatusWithLiterals as StatusWithLiteralsOriginal, type StylesBorder as StylesBorderOriginal, type Styles as StylesOriginal, StylesPosition as StylesPositionOriginal, type StylesPositionWithLiterals as StylesPositionWithLiteralsOriginal, type TableCellData as TableCellDataOriginal, type TableData as TableDataOriginal, type Tag as TagOriginal, Target as TargetOriginal, type TargetWithLiterals as TargetWithLiteralsOriginal, TextAlignment as TextAlignmentOriginal, type TextAlignmentWithLiterals as TextAlignmentWithLiteralsOriginal, type TextData as TextDataOriginal, type TextNodeStyle as TextNodeStyleOriginal, type TextStyle as TextStyleOriginal, ThumbnailsAlignment as ThumbnailsAlignmentOriginal, type ThumbnailsAlignmentWithLiterals as ThumbnailsAlignmentWithLiteralsOriginal, type Thumbnails as ThumbnailsOriginal, Type as TypeOriginal, type TypeWithLiterals as TypeWithLiteralsOriginal, type UnlikePostRequest as UnlikePostRequestOriginal, type UnlikePostResponse as UnlikePostResponseOriginal, type UnpinPostRequest as UnpinPostRequestOriginal, type UnpinPostResponse as UnpinPostResponseOriginal, type V1Media as V1MediaOriginal, VerticalAlignmentAlignment as VerticalAlignmentAlignmentOriginal, type VerticalAlignmentAlignmentWithLiterals as VerticalAlignmentAlignmentWithLiteralsOriginal, VerticalAlignment as VerticalAlignmentOriginal, type VerticalAlignmentWithLiterals as VerticalAlignmentWithLiteralsOriginal, type VideoData as VideoDataOriginal, type Video as VideoOriginal, type VideoResolution as VideoResolutionOriginal, type VideoV2 as VideoV2Original, ViewMode as ViewModeOriginal, type ViewModeWithLiterals as ViewModeWithLiteralsOriginal, type ViewPostRequest as ViewPostRequestOriginal, type ViewPostResponse as ViewPostResponseOriginal, ViewRole as ViewRoleOriginal, type ViewRoleWithLiterals as ViewRoleWithLiteralsOriginal, VoteRole as VoteRoleOriginal, type VoteRoleWithLiterals as VoteRoleWithLiteralsOriginal, WebhookIdentityType as WebhookIdentityTypeOriginal, type WebhookIdentityTypeWithLiterals as WebhookIdentityTypeWithLiteralsOriginal, Width as WidthOriginal, WidthType as WidthTypeOriginal, type WidthTypeWithLiterals as WidthTypeWithLiteralsOriginal, type WidthWithLiterals as WidthWithLiteralsOriginal, type WixMedia as WixMediaOriginal, type __PublicMethodMetaInfo, getPost, getPostBySlug, getPostMetrics, getTotalPosts, listPosts, queryPostCountStats, queryPosts };
|
|
3711
|
+
export { type AccountInfo as AccountInfoOriginal, type ActionEvent as ActionEventOriginal, Alignment as AlignmentOriginal, type AlignmentWithLiterals as AlignmentWithLiteralsOriginal, type AnchorData as AnchorDataOriginal, type AppEmbedDataAppDataOneOf as AppEmbedDataAppDataOneOfOriginal, type AppEmbedData as AppEmbedDataOriginal, AppType as AppTypeOriginal, type AppTypeWithLiterals as AppTypeWithLiteralsOriginal, AspectRatio as AspectRatioOriginal, type AspectRatioWithLiterals as AspectRatioWithLiteralsOriginal, type AudioData as AudioDataOriginal, type BackgroundBackgroundOneOf as BackgroundBackgroundOneOfOriginal, type BackgroundImage as BackgroundImageOriginal, type Background as BackgroundOriginal, BackgroundType as BackgroundTypeOriginal, type BackgroundTypeWithLiterals as BackgroundTypeWithLiteralsOriginal, type BlockquoteData as BlockquoteDataOriginal, type BlogPaging as BlogPagingOriginal, type BookingData as BookingDataOriginal, type BorderColors as BorderColorsOriginal, type Border as BorderOriginal, type BorderWidths as BorderWidthsOriginal, type BulkGetPostReactionsRequest as BulkGetPostReactionsRequestOriginal, type BulkGetPostReactionsResponse as BulkGetPostReactionsResponseOriginal, type BulletedListData as BulletedListDataOriginal, type ButtonData as ButtonDataOriginal, ButtonDataType as ButtonDataTypeOriginal, type ButtonDataTypeWithLiterals as ButtonDataTypeWithLiteralsOriginal, type ButtonStyles as ButtonStylesOriginal, type CaptionData as CaptionDataOriginal, type CardStyles as CardStylesOriginal, type Category as CategoryOriginal, type CategoryTranslation as CategoryTranslationOriginal, type CellStyle as CellStyleOriginal, type CodeBlockData as CodeBlockDataOriginal, type CollapsibleListData as CollapsibleListDataOriginal, type ColorData as ColorDataOriginal, type Colors as ColorsOriginal, type ConvertDraftJsToRichContentRequest as ConvertDraftJsToRichContentRequestOriginal, type ConvertDraftJsToRichContentResponse as ConvertDraftJsToRichContentResponseOriginal, type ConvertRichContentToDraftJsRequest as ConvertRichContentToDraftJsRequestOriginal, type ConvertRichContentToDraftJsResponse as ConvertRichContentToDraftJsResponseOriginal, type CoverMediaMediaOneOf as CoverMediaMediaOneOfOriginal, type CoverMedia as CoverMediaOriginal, type CreateDraftPostFromTemplateRequest as CreateDraftPostFromTemplateRequestOriginal, type CreateDraftPostFromTemplateResponse as CreateDraftPostFromTemplateResponseOriginal, Crop as CropOriginal, type CropWithLiterals as CropWithLiteralsOriginal, type CursorPaging as CursorPagingOriginal, type Cursors as CursorsOriginal, type DecorationDataOneOf as DecorationDataOneOfOriginal, type Decoration as DecorationOriginal, DecorationType as DecorationTypeOriginal, type DecorationTypeWithLiterals as DecorationTypeWithLiteralsOriginal, type DeletePostRequest as DeletePostRequestOriginal, type DeletePostResponse as DeletePostResponseOriginal, type Design as DesignOriginal, DesignTarget as DesignTargetOriginal, type DesignTargetWithLiterals as DesignTargetWithLiteralsOriginal, type Dimensions as DimensionsOriginal, Direction as DirectionOriginal, type DirectionWithLiterals as DirectionWithLiteralsOriginal, DividerDataAlignment as DividerDataAlignmentOriginal, type DividerDataAlignmentWithLiterals as DividerDataAlignmentWithLiteralsOriginal, type DividerData as DividerDataOriginal, type DocumentStyle as DocumentStyleOriginal, type DomainEventBodyOneOf as DomainEventBodyOneOfOriginal, type DomainEvent as DomainEventOriginal, type DraftPost as DraftPostOriginal, type DraftPostTranslation as DraftPostTranslationOriginal, type EmbedData as EmbedDataOriginal, type EmbedMedia as EmbedMediaOriginal, type EmbedThumbnail as EmbedThumbnailOriginal, type EmbedVideo as EmbedVideoOriginal, type EntityCreatedEvent as EntityCreatedEventOriginal, type EntityDeletedEvent as EntityDeletedEventOriginal, type EntityUpdatedEvent as EntityUpdatedEventOriginal, type EventData as EventDataOriginal, Field as FieldOriginal, type FieldWithLiterals as FieldWithLiteralsOriginal, type FileData as FileDataOriginal, type FileSourceDataOneOf as FileSourceDataOneOfOriginal, type FileSource as FileSourceOriginal, type FocalPoint as FocalPointOriginal, type FontFamilyData as FontFamilyDataOriginal, type FontSizeData as FontSizeDataOriginal, FontType as FontTypeOriginal, type FontTypeWithLiterals as FontTypeWithLiteralsOriginal, type GIFData as GIFDataOriginal, type GIF as GIFOriginal, GIFType as GIFTypeOriginal, type GIFTypeWithLiterals as GIFTypeWithLiteralsOriginal, type GalleryData as GalleryDataOriginal, type GalleryOptionsLayout as GalleryOptionsLayoutOriginal, type GalleryOptions as GalleryOptionsOriginal, type GetPostBySlugRequest as GetPostBySlugRequestOriginal, type GetPostBySlugResponse as GetPostBySlugResponseOriginal, type GetPostCountPerMonthRequest as GetPostCountPerMonthRequestOriginal, type GetPostCountPerMonthResponse as GetPostCountPerMonthResponseOriginal, type GetPostMetricsRequest as GetPostMetricsRequestOriginal, type GetPostMetricsResponse as GetPostMetricsResponseOriginal, type GetPostRequest as GetPostRequestOriginal, type GetPostResponse as GetPostResponseOriginal, GetPostTemplatesSort as GetPostTemplatesSortOriginal, type GetPostTemplatesSortWithLiterals as GetPostTemplatesSortWithLiteralsOriginal, GetPostsSort as GetPostsSortOriginal, type GetPostsSortWithLiterals as GetPostsSortWithLiteralsOriginal, type GetTemplateRequest as GetTemplateRequestOriginal, type GetTemplateResponse as GetTemplateResponseOriginal, type GetTotalLikesPerMemberRequest as GetTotalLikesPerMemberRequestOriginal, type GetTotalLikesPerMemberResponse as GetTotalLikesPerMemberResponseOriginal, type GetTotalPostsRequest as GetTotalPostsRequestOriginal, type GetTotalPostsResponse as GetTotalPostsResponseOriginal, type GetTotalPublicationsRequest as GetTotalPublicationsRequestOriginal, type GetTotalPublicationsResponse as GetTotalPublicationsResponseOriginal, type Gradient as GradientOriginal, type HTMLDataDataOneOf as HTMLDataDataOneOfOriginal, type HTMLData as HTMLDataOriginal, type HeadingData as HeadingDataOriginal, type Height as HeightOriginal, type IdentificationDataIdOneOf as IdentificationDataIdOneOfOriginal, type IdentificationData as IdentificationDataOriginal, type ImageData as ImageDataOriginal, type ImageDataStyles as ImageDataStylesOriginal, type Image as ImageOriginal, ImagePosition as ImagePositionOriginal, type ImagePositionWithLiterals as ImagePositionWithLiteralsOriginal, type ImageStyles as ImageStylesOriginal, InitialExpandedItems as InitialExpandedItemsOriginal, type InitialExpandedItemsWithLiterals as InitialExpandedItemsWithLiteralsOriginal, type InitialPostsCopied as InitialPostsCopiedOriginal, type ItemDataOneOf as ItemDataOneOfOriginal, type ItemImage as ItemImageOriginal, type Item as ItemOriginal, type ItemStyle as ItemStyleOriginal, type ItemVideo as ItemVideoOriginal, type Keyword as KeywordOriginal, type LayoutCellData as LayoutCellDataOriginal, type LayoutData as LayoutDataOriginal, Layout as LayoutOriginal, LayoutType as LayoutTypeOriginal, type LayoutTypeWithLiterals as LayoutTypeWithLiteralsOriginal, type LayoutWithLiterals as LayoutWithLiteralsOriginal, type LikePostRequest as LikePostRequestOriginal, type LikePostResponse as LikePostResponseOriginal, LineStyle as LineStyleOriginal, type LineStyleWithLiterals as LineStyleWithLiteralsOriginal, type LinkDataOneOf as LinkDataOneOfOriginal, type LinkData as LinkDataOriginal, type Link as LinkOriginal, type LinkPreviewData as LinkPreviewDataOriginal, type LinkPreviewDataStyles as LinkPreviewDataStylesOriginal, type ListDemoPostsRequest as ListDemoPostsRequestOriginal, type ListDemoPostsResponse as ListDemoPostsResponseOriginal, type ListPostsArchiveRequest as ListPostsArchiveRequestOriginal, type ListPostsArchiveResponse as ListPostsArchiveResponseOriginal, type ListPostsRequest as ListPostsRequestOriginal, type ListPostsResponse as ListPostsResponseOriginal, type ListTemplatesRequest as ListTemplatesRequestOriginal, type ListTemplatesResponse as ListTemplatesResponseOriginal, type ListValue as ListValueOriginal, type MapData as MapDataOriginal, type MapSettings as MapSettingsOriginal, MapType as MapTypeOriginal, type MapTypeWithLiterals as MapTypeWithLiteralsOriginal, type MediaMediaOneOf as MediaMediaOneOfOriginal, type Media as MediaOriginal, type MentionData as MentionDataOriginal, type MessageEnvelope as MessageEnvelopeOriginal, type MetaData as MetaDataOriginal, type Metadata as MetadataOriginal, type Metrics as MetricsOriginal, type ModerationDetails as ModerationDetailsOriginal, ModerationStatusStatus as ModerationStatusStatusOriginal, type ModerationStatusStatusWithLiterals as ModerationStatusStatusWithLiteralsOriginal, type NodeDataOneOf as NodeDataOneOfOriginal, type Node as NodeOriginal, type NodeStyle as NodeStyleOriginal, NodeType as NodeTypeOriginal, type NodeTypeWithLiterals as NodeTypeWithLiteralsOriginal, NullValue as NullValueOriginal, type NullValueWithLiterals as NullValueWithLiteralsOriginal, type Oembed as OembedOriginal, type OldBlogMigratedEvent as OldBlogMigratedEventOriginal, type OptionDesign as OptionDesignOriginal, type OptionLayout as OptionLayoutOriginal, type Option as OptionOriginal, Order as OrderOriginal, type OrderWithLiterals as OrderWithLiteralsOriginal, type OrderedListData as OrderedListDataOriginal, Orientation as OrientationOriginal, type OrientationWithLiterals as OrientationWithLiteralsOriginal, Origin as OriginOriginal, type OriginWithLiterals as OriginWithLiteralsOriginal, type PDFSettings as PDFSettingsOriginal, type PageUrl as PageUrlOriginal, type PagingMetadataV2 as PagingMetadataV2Original, type Paging as PagingOriginal, type ParagraphData as ParagraphDataOriginal, type PeriodPostCount as PeriodPostCountOriginal, type PeriodPublicationsCount as PeriodPublicationsCountOriginal, type Permissions as PermissionsOriginal, type PinPostRequest as PinPostRequestOriginal, type PinPostResponse as PinPostResponseOriginal, Placement as PlacementOriginal, type PlacementWithLiterals as PlacementWithLiteralsOriginal, type PlatformQuery as PlatformQueryOriginal, type PlatformQueryPagingMethodOneOf as PlatformQueryPagingMethodOneOfOriginal, type PlaybackOptions as PlaybackOptionsOriginal, PluginContainerDataAlignment as PluginContainerDataAlignmentOriginal, type PluginContainerDataAlignmentWithLiterals as PluginContainerDataAlignmentWithLiteralsOriginal, type PluginContainerData as PluginContainerDataOriginal, type PluginContainerDataWidthDataOneOf as PluginContainerDataWidthDataOneOfOriginal, type PluginContainerDataWidth as PluginContainerDataWidthOriginal, type PollDataLayout as PollDataLayoutOriginal, type PollData as PollDataOriginal, type PollDesign as PollDesignOriginal, PollLayoutDirection as PollLayoutDirectionOriginal, type PollLayoutDirectionWithLiterals as PollLayoutDirectionWithLiteralsOriginal, type PollLayout as PollLayoutOriginal, PollLayoutType as PollLayoutTypeOriginal, type PollLayoutTypeWithLiterals as PollLayoutTypeWithLiteralsOriginal, type Poll as PollOriginal, type PollSettings as PollSettingsOriginal, Position as PositionOriginal, type PositionWithLiterals as PositionWithLiteralsOriginal, type PostCategoriesUpdated as PostCategoriesUpdatedOriginal, type PostCountInfo as PostCountInfoOriginal, type PostCountPerMonth as PostCountPerMonthOriginal, type PostCountersUpdatedInitiatorOneOf as PostCountersUpdatedInitiatorOneOfOriginal, type PostCountersUpdated as PostCountersUpdatedOriginal, PostFieldField as PostFieldFieldOriginal, type PostFieldFieldWithLiterals as PostFieldFieldWithLiteralsOriginal, type PostLikedInitiatorOneOf as PostLikedInitiatorOneOfOriginal, type PostLiked as PostLikedOriginal, type Post as PostOriginal, type PostOwnerChanged as PostOwnerChangedOriginal, type PostTagsUpdated as PostTagsUpdatedOriginal, type PostTranslation as PostTranslationOriginal, type PostUnlikedInitiatorOneOf as PostUnlikedInitiatorOneOfOriginal, type PostUnliked as PostUnlikedOriginal, type PricingData as PricingDataOriginal, type QueryPostCountStatsRequest as QueryPostCountStatsRequestOriginal, type QueryPostCountStatsResponse as QueryPostCountStatsResponseOriginal, type QueryPostsRequest as QueryPostsRequestOriginal, type QueryPostsResponse as QueryPostsResponseOriginal, QueryPublicationsCountStatsRequestOrder as QueryPublicationsCountStatsRequestOrderOriginal, type QueryPublicationsCountStatsRequestOrderWithLiterals as QueryPublicationsCountStatsRequestOrderWithLiteralsOriginal, type QueryPublicationsCountStatsRequest as QueryPublicationsCountStatsRequestOriginal, type QueryPublicationsCountStatsResponse as QueryPublicationsCountStatsResponseOriginal, type Reactions as ReactionsOriginal, type Rel as RelOriginal, Resizing as ResizingOriginal, type ResizingWithLiterals as ResizingWithLiteralsOriginal, ResponsivenessBehaviour as ResponsivenessBehaviourOriginal, type ResponsivenessBehaviourWithLiterals as ResponsivenessBehaviourWithLiteralsOriginal, type RestoreInfo as RestoreInfoOriginal, type RibbonStyles as RibbonStylesOriginal, type RichContent as RichContentOriginal, Scaling as ScalingOriginal, type ScalingWithLiterals as ScalingWithLiteralsOriginal, type ScheduledPostPublished as ScheduledPostPublishedOriginal, type SeoSchema as SeoSchemaOriginal, type Settings as SettingsOriginal, SortOrder as SortOrderOriginal, type SortOrderWithLiterals as SortOrderWithLiteralsOriginal, type Sorting as SortingOriginal, Source as SourceOriginal, type SourceWithLiterals as SourceWithLiteralsOriginal, type SpoilerData as SpoilerDataOriginal, type Spoiler as SpoilerOriginal, Status as StatusOriginal, type StatusWithLiterals as StatusWithLiteralsOriginal, type StylesBorder as StylesBorderOriginal, type Styles as StylesOriginal, StylesPosition as StylesPositionOriginal, type StylesPositionWithLiterals as StylesPositionWithLiteralsOriginal, type TableCellData as TableCellDataOriginal, type TableData as TableDataOriginal, type Tag as TagOriginal, Target as TargetOriginal, type TargetWithLiterals as TargetWithLiteralsOriginal, TextAlignment as TextAlignmentOriginal, type TextAlignmentWithLiterals as TextAlignmentWithLiteralsOriginal, type TextData as TextDataOriginal, type TextNodeStyle as TextNodeStyleOriginal, type TextStyle as TextStyleOriginal, ThumbnailsAlignment as ThumbnailsAlignmentOriginal, type ThumbnailsAlignmentWithLiterals as ThumbnailsAlignmentWithLiteralsOriginal, type Thumbnails as ThumbnailsOriginal, Type as TypeOriginal, type TypeWithLiterals as TypeWithLiteralsOriginal, type UnlikePostRequest as UnlikePostRequestOriginal, type UnlikePostResponse as UnlikePostResponseOriginal, type UnpinPostRequest as UnpinPostRequestOriginal, type UnpinPostResponse as UnpinPostResponseOriginal, type V1Media as V1MediaOriginal, VerticalAlignmentAlignment as VerticalAlignmentAlignmentOriginal, type VerticalAlignmentAlignmentWithLiterals as VerticalAlignmentAlignmentWithLiteralsOriginal, VerticalAlignment as VerticalAlignmentOriginal, type VerticalAlignmentWithLiterals as VerticalAlignmentWithLiteralsOriginal, type VideoData as VideoDataOriginal, type Video as VideoOriginal, type VideoResolution as VideoResolutionOriginal, type VideoV2 as VideoV2Original, ViewMode as ViewModeOriginal, type ViewModeWithLiterals as ViewModeWithLiteralsOriginal, type ViewPostRequest as ViewPostRequestOriginal, type ViewPostResponse as ViewPostResponseOriginal, ViewRole as ViewRoleOriginal, type ViewRoleWithLiterals as ViewRoleWithLiteralsOriginal, VoteRole as VoteRoleOriginal, type VoteRoleWithLiterals as VoteRoleWithLiteralsOriginal, WebhookIdentityType as WebhookIdentityTypeOriginal, type WebhookIdentityTypeWithLiterals as WebhookIdentityTypeWithLiteralsOriginal, Width as WidthOriginal, WidthType as WidthTypeOriginal, type WidthTypeWithLiterals as WidthTypeWithLiteralsOriginal, type WidthWithLiterals as WidthWithLiteralsOriginal, type WixMedia as WixMediaOriginal, type __PublicMethodMetaInfo, getPost, getPostBySlug, getPostMetrics, getTotalPosts, listPosts, queryPostCountStats, queryPosts };
|