@wix/auto_sdk_blog_posts 1.0.113 → 1.0.114

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (37) hide show
  1. package/build/cjs/index.d.ts +1 -1
  2. package/build/cjs/index.js +20 -20
  3. package/build/cjs/index.js.map +1 -1
  4. package/build/cjs/index.typings.d.ts +367 -367
  5. package/build/cjs/index.typings.js +20 -20
  6. package/build/cjs/index.typings.js.map +1 -1
  7. package/build/cjs/meta.d.ts +364 -364
  8. package/build/cjs/meta.js +20 -20
  9. package/build/cjs/meta.js.map +1 -1
  10. package/build/es/index.d.mts +1 -1
  11. package/build/es/index.mjs +20 -20
  12. package/build/es/index.mjs.map +1 -1
  13. package/build/es/index.typings.d.mts +367 -367
  14. package/build/es/index.typings.mjs +20 -20
  15. package/build/es/index.typings.mjs.map +1 -1
  16. package/build/es/meta.d.mts +364 -364
  17. package/build/es/meta.mjs +20 -20
  18. package/build/es/meta.mjs.map +1 -1
  19. package/build/internal/cjs/index.d.ts +1 -1
  20. package/build/internal/cjs/index.js +20 -20
  21. package/build/internal/cjs/index.js.map +1 -1
  22. package/build/internal/cjs/index.typings.d.ts +367 -367
  23. package/build/internal/cjs/index.typings.js +20 -20
  24. package/build/internal/cjs/index.typings.js.map +1 -1
  25. package/build/internal/cjs/meta.d.ts +364 -364
  26. package/build/internal/cjs/meta.js +20 -20
  27. package/build/internal/cjs/meta.js.map +1 -1
  28. package/build/internal/es/index.d.mts +1 -1
  29. package/build/internal/es/index.mjs +20 -20
  30. package/build/internal/es/index.mjs.map +1 -1
  31. package/build/internal/es/index.typings.d.mts +367 -367
  32. package/build/internal/es/index.typings.mjs +20 -20
  33. package/build/internal/es/index.typings.mjs.map +1 -1
  34. package/build/internal/es/meta.d.mts +364 -364
  35. package/build/internal/es/meta.mjs +20 -20
  36. package/build/internal/es/meta.mjs.map +1 -1
  37. package/package.json +2 -2
@@ -2235,135 +2235,414 @@ interface PostUnlikedInitiatorOneOf {
2235
2235
  */
2236
2236
  anonymousVisitorId?: string | null;
2237
2237
  }
2238
- interface ListTemplatesRequest {
2239
- /**
2240
- * Filter post templates by given template category ids
2241
- * @maxSize 50
2242
- * @format GUID
2243
- */
2244
- categoryIds?: string[];
2238
+ /** Get Blog Publications Count Stats request */
2239
+ interface QueryPublicationsCountStatsRequest {
2240
+ /** Start of time range to return, in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date and time format. */
2241
+ rangeStart?: Date | null;
2242
+ /** Non-inclusive end of time range to return, in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date and time format. */
2243
+ rangeEnd?: Date | null;
2244
+ /** Order of the returned results. */
2245
+ order?: QueryPublicationsCountStatsRequestOrderWithLiterals;
2246
+ /** Number of months to include in the response. */
2247
+ months?: number;
2245
2248
  /**
2246
- * Filter post templates by provided language
2249
+ * Language filter
2250
+ *
2251
+ * 2-or-4-letter language code in [IETF BCP 47 language tag](https://en.wikipedia.org/wiki/IETF_language_tag) format.
2247
2252
  * @format LANGUAGE_TAG
2248
2253
  */
2249
2254
  language?: string | null;
2250
- /** Returns post template categories when set to TRUE */
2251
- listTemplateCategories?: boolean;
2252
- /** Sort order by ascending/descending publish date. Default is ascending publish date sort */
2253
- sort?: GetPostTemplatesSortWithLiterals;
2254
- /** Pagination options. */
2255
- paging?: BlogPaging;
2255
+ /**
2256
+ * Timezone of the client.
2257
+ * @minLength 3
2258
+ * @maxLength 100
2259
+ */
2260
+ timeZone?: string | null;
2256
2261
  }
2257
- declare enum GetPostTemplatesSort {
2258
- /** Sort by ascending publishing date. */
2259
- PUBLISHED_DATE_ASC = "PUBLISHED_DATE_ASC",
2260
- /** Sort by descending publishing date. */
2261
- PUBLISHED_DATE_DESC = "PUBLISHED_DATE_DESC"
2262
+ declare enum QueryPublicationsCountStatsRequestOrder {
2263
+ UNKNOWN = "UNKNOWN",
2264
+ OLDEST = "OLDEST",
2265
+ NEWEST = "NEWEST"
2262
2266
  }
2263
2267
  /** @enumType */
2264
- type GetPostTemplatesSortWithLiterals = GetPostTemplatesSort | 'PUBLISHED_DATE_ASC' | 'PUBLISHED_DATE_DESC';
2265
- interface BlogPaging {
2268
+ type QueryPublicationsCountStatsRequestOrderWithLiterals = QueryPublicationsCountStatsRequestOrder | 'UNKNOWN' | 'OLDEST' | 'NEWEST';
2269
+ /** Get Blog Publications Count Stats response */
2270
+ interface QueryPublicationsCountStatsResponse {
2271
+ /** Chronologically ordered list of publications. */
2272
+ stats?: PeriodPublicationsCount[];
2273
+ }
2274
+ /** Publications count for a specific time period */
2275
+ interface PeriodPublicationsCount {
2276
+ /** Start of time range in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date and time format. */
2277
+ periodStart?: Date | null;
2278
+ /** Number of posts published during this month. */
2279
+ publicationsCount?: number;
2280
+ }
2281
+ /** Get Blog Post Count Stats request */
2282
+ interface QueryPostCountStatsRequest {
2283
+ /** Start of time range to return, in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date and time format. */
2284
+ rangeStart?: Date | null;
2266
2285
  /**
2267
- * Number of items to skip in the current sort order.
2286
+ * Order of returned results.
2268
2287
  *
2288
+ * - `OLDEST`: posts by date in ascending order.
2289
+ * - `NEWEST`: posts by date in descending order.
2269
2290
  *
2270
- * Default: `0`
2291
+ * Default: `OLDEST`
2271
2292
  */
2272
- offset?: number;
2293
+ order?: OrderWithLiterals;
2294
+ /** Number of months to include in response. */
2295
+ months?: number;
2273
2296
  /**
2274
- * Number of items to return.
2275
- *
2297
+ * Language filter.
2276
2298
  *
2277
- * Default:`50`
2278
- * @min 1
2279
- * @max 100
2299
+ * 2-or-4-letter language code in [IETF BCP 47 language tag](https://en.wikipedia.org/wiki/IETF_language_tag) format.
2300
+ * Pass a language to only receive the period post count for that specified language.
2301
+ * @format LANGUAGE_TAG
2280
2302
  */
2281
- limit?: number;
2303
+ language?: string | null;
2282
2304
  /**
2283
- * Pointer to the next or previous page in the list of results.
2284
- * @maxLength 2000
2305
+ * Time zone to use when calculating the start of the month.
2306
+ *
2307
+ * [UTC timezone offset](https://en.wikipedia.org/wiki/List_of_UTC_offsets) format. For example, New York time zone is `-05`.
2308
+ * @minLength 3
2309
+ * @maxLength 100
2285
2310
  */
2286
- cursor?: string | null;
2311
+ timeZone?: string | null;
2287
2312
  }
2288
- interface ListTemplatesResponse {
2289
- /** Available post templates */
2290
- postTemplates?: Post[];
2291
- /** Details on the paged set of posts templates returned. */
2292
- postTemplatesMetaData?: MetaData;
2293
- /** Post template categories. This value is returned empty unless asked explicitly */
2294
- templateCategories?: Category[];
2313
+ declare enum Order {
2314
+ UNKNOWN = "UNKNOWN",
2315
+ OLDEST = "OLDEST",
2316
+ NEWEST = "NEWEST"
2295
2317
  }
2296
- interface MetaData {
2297
- /** Number of items returned in this response. */
2298
- count?: number;
2299
- /** Requested offset. */
2300
- offset?: number;
2301
- /** Total number of items that match the query. */
2302
- total?: number;
2318
+ /** @enumType */
2319
+ type OrderWithLiterals = Order | 'UNKNOWN' | 'OLDEST' | 'NEWEST';
2320
+ /** Get Blog Post Count Stats response */
2321
+ interface QueryPostCountStatsResponse {
2322
+ /** List of published post counts by month. */
2323
+ stats?: PeriodPostCount[];
2324
+ }
2325
+ /** Post count for a specific time period */
2326
+ interface PeriodPostCount {
2327
+ /** Start of time range in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date and time format. */
2328
+ periodStart?: Date | null;
2329
+ /** Number of posts published during this month. */
2330
+ postCount?: number;
2331
+ }
2332
+ interface GetTotalPublicationsRequest {
2303
2333
  /**
2304
- * Pointer to the next or previous page in the list of results.
2305
- * @maxLength 2000
2334
+ * Language filter
2335
+ * @minLength 2
2336
+ * @format LANGUAGE_TAG
2306
2337
  */
2307
- cursor?: string | null;
2338
+ language?: string | null;
2308
2339
  }
2309
- interface Category {
2340
+ interface GetTotalPublicationsResponse {
2341
+ /** Total amount of publications. */
2342
+ total?: number;
2343
+ }
2344
+ interface GetTotalPostsRequest {
2310
2345
  /**
2311
- * Category ID.
2312
- * @immutable
2313
- * @maxLength 38
2346
+ * Language filter.
2347
+ *
2348
+ * 2-or-4-letter language code in [IETF BCP 47 language tag](https://en.wikipedia.org/wiki/IETF_language_tag) format.
2349
+ * Pass a language to receive the total amount of posts in that specified language.
2350
+ * @format LANGUAGE_TAG
2314
2351
  */
2315
- _id?: string;
2352
+ language?: string | null;
2353
+ }
2354
+ interface GetTotalPostsResponse {
2355
+ /** Total amount of published posts. */
2356
+ total?: number;
2357
+ }
2358
+ interface DomainEvent extends DomainEventBodyOneOf {
2359
+ createdEvent?: EntityCreatedEvent;
2360
+ updatedEvent?: EntityUpdatedEvent;
2361
+ deletedEvent?: EntityDeletedEvent;
2362
+ actionEvent?: ActionEvent;
2316
2363
  /**
2317
- * Category label. Displayed in the Category Menu.
2318
- * @maxLength 35
2364
+ * Unique event ID.
2365
+ * Allows clients to ignore duplicate webhooks.
2319
2366
  */
2320
- label?: string;
2367
+ _id?: string;
2321
2368
  /**
2322
- * Number of posts in the category.
2323
- * @readonly
2369
+ * Assumes actions are also always typed to an entity_type
2370
+ * Example: wix.stores.catalog.product, wix.bookings.session, wix.payments.transaction
2324
2371
  */
2325
- postCount?: number;
2372
+ entityFqdn?: string;
2326
2373
  /**
2327
- * The `url` of the page that lists every post with the specified category.
2328
- * @readonly
2374
+ * This is top level to ease client code dispatching of messages (switch on entity_fqdn+slug)
2375
+ * This is although the created/updated/deleted notion is duplication of the oneof types
2376
+ * Example: created/updated/deleted/started/completed/email_opened
2329
2377
  */
2330
- url?: string;
2378
+ slug?: string;
2379
+ /** ID of the entity associated with the event. */
2380
+ entityId?: string;
2381
+ /** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example: 2020-04-26T13:57:50.699Z */
2382
+ eventTime?: Date | null;
2331
2383
  /**
2332
- * Category description.
2333
- * @maxLength 500
2384
+ * Whether the event was triggered as a result of a privacy regulation application
2385
+ * (for example, GDPR).
2334
2386
  */
2335
- description?: string | null;
2387
+ triggeredByAnonymizeRequest?: boolean | null;
2388
+ /** If present, indicates the action that triggered the event. */
2389
+ originatedFrom?: string | null;
2336
2390
  /**
2337
- * Category title.
2338
- * @maxLength 200
2339
- * @deprecated Category title.
2340
- * @targetRemovalDate 2025-07-16
2391
+ * A sequence number defining the order of updates to the underlying entity.
2392
+ * For example, given that some entity was updated at 16:00 and than again at 16:01,
2393
+ * it is guaranteed that the sequence number of the second update is strictly higher than the first.
2394
+ * As the consumer, you can use this value to ensure that you handle messages in the correct order.
2395
+ * To do so, you will need to persist this number on your end, and compare the sequence number from the
2396
+ * message against the one you have stored. Given that the stored number is higher, you should ignore the message.
2341
2397
  */
2342
- title?: string;
2398
+ entityEventSequence?: string | null;
2399
+ }
2400
+ /** @oneof */
2401
+ interface DomainEventBodyOneOf {
2402
+ createdEvent?: EntityCreatedEvent;
2403
+ updatedEvent?: EntityUpdatedEvent;
2404
+ deletedEvent?: EntityDeletedEvent;
2405
+ actionEvent?: ActionEvent;
2406
+ }
2407
+ interface EntityCreatedEvent {
2408
+ entity?: string;
2409
+ }
2410
+ interface RestoreInfo {
2411
+ deletedDate?: Date | null;
2412
+ }
2413
+ interface EntityUpdatedEvent {
2343
2414
  /**
2344
- * Position of the category in the [Category Menu](https://support.wix.com/en/article/wix-blog-adding-and-customizing-a-category-menu).
2345
- * Categories are displayed in ascending order. Categories with a position of `-1` appear at the end of the sequence.
2346
- *
2347
- * Default: `-1`
2415
+ * Since platformized APIs only expose PATCH and not PUT we can't assume that the fields sent from the client are the actual diff.
2416
+ * This means that to generate a list of changed fields (as opposed to sent fields) one needs to traverse both objects.
2417
+ * We don't want to impose this on all developers and so we leave this traversal to the notification recipients which need it.
2348
2418
  */
2349
- displayPosition?: number | null;
2419
+ currentEntity?: string;
2420
+ }
2421
+ interface EntityDeletedEvent {
2422
+ /** Entity that was deleted */
2423
+ deletedEntity?: string | null;
2424
+ }
2425
+ interface ActionEvent {
2426
+ body?: string;
2427
+ }
2428
+ interface MessageEnvelope {
2350
2429
  /**
2351
- * ID of the category's translations. All translations of a single category share the same `translationId`.
2430
+ * App instance ID.
2352
2431
  * @format GUID
2353
2432
  */
2354
- translationId?: string | null;
2433
+ instanceId?: string | null;
2355
2434
  /**
2356
- * Category language.
2357
- *
2358
- * 2-or-4-letter language code in [IETF BCP 47 language tag](https://en.wikipedia.org/wiki/IETF_language_tag) format.
2359
- * @immutable
2435
+ * Event type.
2436
+ * @maxLength 150
2360
2437
  */
2361
- language?: string | null;
2438
+ eventType?: string;
2439
+ /** The identification type and identity data. */
2440
+ identity?: IdentificationData;
2441
+ /** Stringify payload. */
2442
+ data?: string;
2443
+ }
2444
+ interface IdentificationData extends IdentificationDataIdOneOf {
2362
2445
  /**
2363
- * 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`.
2364
- * @maxLength 100
2446
+ * ID of a site visitor that has not logged in to the site.
2447
+ * @format GUID
2365
2448
  */
2366
- slug?: string;
2449
+ anonymousVisitorId?: string;
2450
+ /**
2451
+ * ID of a site visitor that has logged in to the site.
2452
+ * @format GUID
2453
+ */
2454
+ memberId?: string;
2455
+ /**
2456
+ * ID of a Wix user (site owner, contributor, etc.).
2457
+ * @format GUID
2458
+ */
2459
+ wixUserId?: string;
2460
+ /**
2461
+ * ID of an app.
2462
+ * @format GUID
2463
+ */
2464
+ appId?: string;
2465
+ /** @readonly */
2466
+ identityType?: WebhookIdentityTypeWithLiterals;
2467
+ }
2468
+ /** @oneof */
2469
+ interface IdentificationDataIdOneOf {
2470
+ /**
2471
+ * ID of a site visitor that has not logged in to the site.
2472
+ * @format GUID
2473
+ */
2474
+ anonymousVisitorId?: string;
2475
+ /**
2476
+ * ID of a site visitor that has logged in to the site.
2477
+ * @format GUID
2478
+ */
2479
+ memberId?: string;
2480
+ /**
2481
+ * ID of a Wix user (site owner, contributor, etc.).
2482
+ * @format GUID
2483
+ */
2484
+ wixUserId?: string;
2485
+ /**
2486
+ * ID of an app.
2487
+ * @format GUID
2488
+ */
2489
+ appId?: string;
2490
+ }
2491
+ declare enum WebhookIdentityType {
2492
+ UNKNOWN = "UNKNOWN",
2493
+ ANONYMOUS_VISITOR = "ANONYMOUS_VISITOR",
2494
+ MEMBER = "MEMBER",
2495
+ WIX_USER = "WIX_USER",
2496
+ APP = "APP"
2497
+ }
2498
+ /** @enumType */
2499
+ type WebhookIdentityTypeWithLiterals = WebhookIdentityType | 'UNKNOWN' | 'ANONYMOUS_VISITOR' | 'MEMBER' | 'WIX_USER' | 'APP';
2500
+ interface AccountInfo {
2501
+ /**
2502
+ * ID of the Wix account associated with the event.
2503
+ * @format GUID
2504
+ */
2505
+ accountId?: string | null;
2506
+ /**
2507
+ * ID of the parent Wix account. Only included when accountId belongs to a child account.
2508
+ * @format GUID
2509
+ */
2510
+ parentAccountId?: string | null;
2511
+ /**
2512
+ * ID of the Wix site associated with the event. Only included when the event is tied to a specific site.
2513
+ * @format GUID
2514
+ */
2515
+ siteId?: string | null;
2516
+ }
2517
+ interface ListTemplatesRequest {
2518
+ /**
2519
+ * Filter post templates by given template category ids
2520
+ * @maxSize 50
2521
+ * @format GUID
2522
+ */
2523
+ categoryIds?: string[];
2524
+ /**
2525
+ * Filter post templates by provided language
2526
+ * @format LANGUAGE_TAG
2527
+ */
2528
+ language?: string | null;
2529
+ /** Returns post template categories when set to TRUE */
2530
+ listTemplateCategories?: boolean;
2531
+ /** Sort order by ascending/descending publish date. Default is ascending publish date sort */
2532
+ sort?: GetPostTemplatesSortWithLiterals;
2533
+ /** Pagination options. */
2534
+ paging?: BlogPaging;
2535
+ }
2536
+ declare enum GetPostTemplatesSort {
2537
+ /** Sort by ascending publishing date. */
2538
+ PUBLISHED_DATE_ASC = "PUBLISHED_DATE_ASC",
2539
+ /** Sort by descending publishing date. */
2540
+ PUBLISHED_DATE_DESC = "PUBLISHED_DATE_DESC"
2541
+ }
2542
+ /** @enumType */
2543
+ type GetPostTemplatesSortWithLiterals = GetPostTemplatesSort | 'PUBLISHED_DATE_ASC' | 'PUBLISHED_DATE_DESC';
2544
+ interface BlogPaging {
2545
+ /**
2546
+ * Number of items to skip in the current sort order.
2547
+ *
2548
+ *
2549
+ * Default: `0`
2550
+ */
2551
+ offset?: number;
2552
+ /**
2553
+ * Number of items to return.
2554
+ *
2555
+ *
2556
+ * Default:`50`
2557
+ * @min 1
2558
+ * @max 100
2559
+ */
2560
+ limit?: number;
2561
+ /**
2562
+ * Pointer to the next or previous page in the list of results.
2563
+ * @maxLength 2000
2564
+ */
2565
+ cursor?: string | null;
2566
+ }
2567
+ interface ListTemplatesResponse {
2568
+ /** Available post templates */
2569
+ postTemplates?: Post[];
2570
+ /** Details on the paged set of posts templates returned. */
2571
+ postTemplatesMetaData?: MetaData;
2572
+ /** Post template categories. This value is returned empty unless asked explicitly */
2573
+ templateCategories?: Category[];
2574
+ }
2575
+ interface MetaData {
2576
+ /** Number of items returned in this response. */
2577
+ count?: number;
2578
+ /** Requested offset. */
2579
+ offset?: number;
2580
+ /** Total number of items that match the query. */
2581
+ total?: number;
2582
+ /**
2583
+ * Pointer to the next or previous page in the list of results.
2584
+ * @maxLength 2000
2585
+ */
2586
+ cursor?: string | null;
2587
+ }
2588
+ interface Category {
2589
+ /**
2590
+ * Category ID.
2591
+ * @immutable
2592
+ * @maxLength 38
2593
+ */
2594
+ _id?: string;
2595
+ /**
2596
+ * Category label. Displayed in the Category Menu.
2597
+ * @maxLength 35
2598
+ */
2599
+ label?: string;
2600
+ /**
2601
+ * Number of posts in the category.
2602
+ * @readonly
2603
+ */
2604
+ postCount?: number;
2605
+ /**
2606
+ * The `url` of the page that lists every post with the specified category.
2607
+ * @readonly
2608
+ */
2609
+ url?: string;
2610
+ /**
2611
+ * Category description.
2612
+ * @maxLength 500
2613
+ */
2614
+ description?: string | null;
2615
+ /**
2616
+ * Category title.
2617
+ * @maxLength 200
2618
+ * @deprecated Category title.
2619
+ * @targetRemovalDate 2025-07-16
2620
+ */
2621
+ title?: string;
2622
+ /**
2623
+ * Position of the category in the [Category Menu](https://support.wix.com/en/article/wix-blog-adding-and-customizing-a-category-menu).
2624
+ * Categories are displayed in ascending order. Categories with a position of `-1` appear at the end of the sequence.
2625
+ *
2626
+ * Default: `-1`
2627
+ */
2628
+ displayPosition?: number | null;
2629
+ /**
2630
+ * ID of the category's translations. All translations of a single category share the same `translationId`.
2631
+ * @format GUID
2632
+ */
2633
+ translationId?: string | null;
2634
+ /**
2635
+ * Category language.
2636
+ *
2637
+ * 2-or-4-letter language code in [IETF BCP 47 language tag](https://en.wikipedia.org/wiki/IETF_language_tag) format.
2638
+ * @immutable
2639
+ */
2640
+ language?: string | null;
2641
+ /**
2642
+ * 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`.
2643
+ * @maxLength 100
2644
+ */
2645
+ slug?: string;
2367
2646
  /** SEO data. */
2368
2647
  seoData?: SeoSchema;
2369
2648
  /** Category cover image. */
@@ -2663,285 +2942,6 @@ interface DraftPostTranslation {
2663
2942
  /** Post URL. */
2664
2943
  url?: string;
2665
2944
  }
2666
- interface DomainEvent extends DomainEventBodyOneOf {
2667
- createdEvent?: EntityCreatedEvent;
2668
- updatedEvent?: EntityUpdatedEvent;
2669
- deletedEvent?: EntityDeletedEvent;
2670
- actionEvent?: ActionEvent;
2671
- /**
2672
- * Unique event ID.
2673
- * Allows clients to ignore duplicate webhooks.
2674
- */
2675
- _id?: string;
2676
- /**
2677
- * Assumes actions are also always typed to an entity_type
2678
- * Example: wix.stores.catalog.product, wix.bookings.session, wix.payments.transaction
2679
- */
2680
- entityFqdn?: string;
2681
- /**
2682
- * This is top level to ease client code dispatching of messages (switch on entity_fqdn+slug)
2683
- * This is although the created/updated/deleted notion is duplication of the oneof types
2684
- * Example: created/updated/deleted/started/completed/email_opened
2685
- */
2686
- slug?: string;
2687
- /** ID of the entity associated with the event. */
2688
- entityId?: string;
2689
- /** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example: 2020-04-26T13:57:50.699Z */
2690
- eventTime?: Date | null;
2691
- /**
2692
- * Whether the event was triggered as a result of a privacy regulation application
2693
- * (for example, GDPR).
2694
- */
2695
- triggeredByAnonymizeRequest?: boolean | null;
2696
- /** If present, indicates the action that triggered the event. */
2697
- originatedFrom?: string | null;
2698
- /**
2699
- * A sequence number defining the order of updates to the underlying entity.
2700
- * For example, given that some entity was updated at 16:00 and than again at 16:01,
2701
- * it is guaranteed that the sequence number of the second update is strictly higher than the first.
2702
- * As the consumer, you can use this value to ensure that you handle messages in the correct order.
2703
- * To do so, you will need to persist this number on your end, and compare the sequence number from the
2704
- * message against the one you have stored. Given that the stored number is higher, you should ignore the message.
2705
- */
2706
- entityEventSequence?: string | null;
2707
- }
2708
- /** @oneof */
2709
- interface DomainEventBodyOneOf {
2710
- createdEvent?: EntityCreatedEvent;
2711
- updatedEvent?: EntityUpdatedEvent;
2712
- deletedEvent?: EntityDeletedEvent;
2713
- actionEvent?: ActionEvent;
2714
- }
2715
- interface EntityCreatedEvent {
2716
- entity?: string;
2717
- }
2718
- interface RestoreInfo {
2719
- deletedDate?: Date | null;
2720
- }
2721
- interface EntityUpdatedEvent {
2722
- /**
2723
- * Since platformized APIs only expose PATCH and not PUT we can't assume that the fields sent from the client are the actual diff.
2724
- * This means that to generate a list of changed fields (as opposed to sent fields) one needs to traverse both objects.
2725
- * We don't want to impose this on all developers and so we leave this traversal to the notification recipients which need it.
2726
- */
2727
- currentEntity?: string;
2728
- }
2729
- interface EntityDeletedEvent {
2730
- /** Entity that was deleted */
2731
- deletedEntity?: string | null;
2732
- }
2733
- interface ActionEvent {
2734
- body?: string;
2735
- }
2736
- interface MessageEnvelope {
2737
- /**
2738
- * App instance ID.
2739
- * @format GUID
2740
- */
2741
- instanceId?: string | null;
2742
- /**
2743
- * Event type.
2744
- * @maxLength 150
2745
- */
2746
- eventType?: string;
2747
- /** The identification type and identity data. */
2748
- identity?: IdentificationData;
2749
- /** Stringify payload. */
2750
- data?: string;
2751
- }
2752
- interface IdentificationData extends IdentificationDataIdOneOf {
2753
- /**
2754
- * ID of a site visitor that has not logged in to the site.
2755
- * @format GUID
2756
- */
2757
- anonymousVisitorId?: string;
2758
- /**
2759
- * ID of a site visitor that has logged in to the site.
2760
- * @format GUID
2761
- */
2762
- memberId?: string;
2763
- /**
2764
- * ID of a Wix user (site owner, contributor, etc.).
2765
- * @format GUID
2766
- */
2767
- wixUserId?: string;
2768
- /**
2769
- * ID of an app.
2770
- * @format GUID
2771
- */
2772
- appId?: string;
2773
- /** @readonly */
2774
- identityType?: WebhookIdentityTypeWithLiterals;
2775
- }
2776
- /** @oneof */
2777
- interface IdentificationDataIdOneOf {
2778
- /**
2779
- * ID of a site visitor that has not logged in to the site.
2780
- * @format GUID
2781
- */
2782
- anonymousVisitorId?: string;
2783
- /**
2784
- * ID of a site visitor that has logged in to the site.
2785
- * @format GUID
2786
- */
2787
- memberId?: string;
2788
- /**
2789
- * ID of a Wix user (site owner, contributor, etc.).
2790
- * @format GUID
2791
- */
2792
- wixUserId?: string;
2793
- /**
2794
- * ID of an app.
2795
- * @format GUID
2796
- */
2797
- appId?: string;
2798
- }
2799
- declare enum WebhookIdentityType {
2800
- UNKNOWN = "UNKNOWN",
2801
- ANONYMOUS_VISITOR = "ANONYMOUS_VISITOR",
2802
- MEMBER = "MEMBER",
2803
- WIX_USER = "WIX_USER",
2804
- APP = "APP"
2805
- }
2806
- /** @enumType */
2807
- type WebhookIdentityTypeWithLiterals = WebhookIdentityType | 'UNKNOWN' | 'ANONYMOUS_VISITOR' | 'MEMBER' | 'WIX_USER' | 'APP';
2808
- interface AccountInfo {
2809
- /**
2810
- * ID of the Wix account associated with the event.
2811
- * @format GUID
2812
- */
2813
- accountId?: string | null;
2814
- /**
2815
- * ID of the parent Wix account. Only included when accountId belongs to a child account.
2816
- * @format GUID
2817
- */
2818
- parentAccountId?: string | null;
2819
- /**
2820
- * ID of the Wix site associated with the event. Only included when the event is tied to a specific site.
2821
- * @format GUID
2822
- */
2823
- siteId?: string | null;
2824
- }
2825
- /** Get Blog Publications Count Stats request */
2826
- interface QueryPublicationsCountStatsRequest {
2827
- /** Start of time range to return, in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date and time format. */
2828
- rangeStart?: Date | null;
2829
- /** Non-inclusive end of time range to return, in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date and time format. */
2830
- rangeEnd?: Date | null;
2831
- /** Order of the returned results. */
2832
- order?: QueryPublicationsCountStatsRequestOrderWithLiterals;
2833
- /** Number of months to include in the response. */
2834
- months?: number;
2835
- /**
2836
- * Language filter
2837
- *
2838
- * 2-or-4-letter language code in [IETF BCP 47 language tag](https://en.wikipedia.org/wiki/IETF_language_tag) format.
2839
- * @format LANGUAGE_TAG
2840
- */
2841
- language?: string | null;
2842
- /**
2843
- * Timezone of the client.
2844
- * @minLength 3
2845
- * @maxLength 100
2846
- */
2847
- timeZone?: string | null;
2848
- }
2849
- declare enum QueryPublicationsCountStatsRequestOrder {
2850
- UNKNOWN = "UNKNOWN",
2851
- OLDEST = "OLDEST",
2852
- NEWEST = "NEWEST"
2853
- }
2854
- /** @enumType */
2855
- type QueryPublicationsCountStatsRequestOrderWithLiterals = QueryPublicationsCountStatsRequestOrder | 'UNKNOWN' | 'OLDEST' | 'NEWEST';
2856
- /** Get Blog Publications Count Stats response */
2857
- interface QueryPublicationsCountStatsResponse {
2858
- /** Chronologically ordered list of publications. */
2859
- stats?: PeriodPublicationsCount[];
2860
- }
2861
- /** Publications count for a specific time period */
2862
- interface PeriodPublicationsCount {
2863
- /** Start of time range in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date and time format. */
2864
- periodStart?: Date | null;
2865
- /** Number of posts published during this month. */
2866
- publicationsCount?: number;
2867
- }
2868
- /** Get Blog Post Count Stats request */
2869
- interface QueryPostCountStatsRequest {
2870
- /** Start of time range to return, in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date and time format. */
2871
- rangeStart?: Date | null;
2872
- /**
2873
- * Order of returned results.
2874
- *
2875
- * - `OLDEST`: posts by date in ascending order.
2876
- * - `NEWEST`: posts by date in descending order.
2877
- *
2878
- * Default: `OLDEST`
2879
- */
2880
- order?: OrderWithLiterals;
2881
- /** Number of months to include in response. */
2882
- months?: number;
2883
- /**
2884
- * Language filter.
2885
- *
2886
- * 2-or-4-letter language code in [IETF BCP 47 language tag](https://en.wikipedia.org/wiki/IETF_language_tag) format.
2887
- * Pass a language to only receive the period post count for that specified language.
2888
- * @format LANGUAGE_TAG
2889
- */
2890
- language?: string | null;
2891
- /**
2892
- * Time zone to use when calculating the start of the month.
2893
- *
2894
- * [UTC timezone offset](https://en.wikipedia.org/wiki/List_of_UTC_offsets) format. For example, New York time zone is `-05`.
2895
- * @minLength 3
2896
- * @maxLength 100
2897
- */
2898
- timeZone?: string | null;
2899
- }
2900
- declare enum Order {
2901
- UNKNOWN = "UNKNOWN",
2902
- OLDEST = "OLDEST",
2903
- NEWEST = "NEWEST"
2904
- }
2905
- /** @enumType */
2906
- type OrderWithLiterals = Order | 'UNKNOWN' | 'OLDEST' | 'NEWEST';
2907
- /** Get Blog Post Count Stats response */
2908
- interface QueryPostCountStatsResponse {
2909
- /** List of published post counts by month. */
2910
- stats?: PeriodPostCount[];
2911
- }
2912
- /** Post count for a specific time period */
2913
- interface PeriodPostCount {
2914
- /** Start of time range in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date and time format. */
2915
- periodStart?: Date | null;
2916
- /** Number of posts published during this month. */
2917
- postCount?: number;
2918
- }
2919
- interface GetTotalPublicationsRequest {
2920
- /**
2921
- * Language filter
2922
- * @minLength 2
2923
- * @format LANGUAGE_TAG
2924
- */
2925
- language?: string | null;
2926
- }
2927
- interface GetTotalPublicationsResponse {
2928
- /** Total amount of publications. */
2929
- total?: number;
2930
- }
2931
- interface GetTotalPostsRequest {
2932
- /**
2933
- * Language filter.
2934
- *
2935
- * 2-or-4-letter language code in [IETF BCP 47 language tag](https://en.wikipedia.org/wiki/IETF_language_tag) format.
2936
- * Pass a language to receive the total amount of posts in that specified language.
2937
- * @format LANGUAGE_TAG
2938
- */
2939
- language?: string | null;
2940
- }
2941
- interface GetTotalPostsResponse {
2942
- /** Total amount of published posts. */
2943
- total?: number;
2944
- }
2945
2945
  interface GetTotalLikesPerMemberRequest {
2946
2946
  /**
2947
2947
  * Member ID.
@@ -4120,4 +4120,4 @@ type PostQuery = {
4120
4120
  */
4121
4121
  declare function getPostMetrics(postId: string): Promise<NonNullablePaths<GetPostMetricsResponse, `metrics.comments` | `metrics.likes` | `metrics.views`, 3>>;
4122
4122
 
4123
- export { type AccountInfo, type ActionEvent, Alignment, type AlignmentWithLiterals, type AnchorData, type AppEmbedData, type AppEmbedDataAppDataOneOf, AppType, type AppTypeWithLiterals, AspectRatio, type AspectRatioWithLiterals, type AudioData, type Background, type BackgroundBackgroundOneOf, type BackgroundImage, BackgroundType, type BackgroundTypeWithLiterals, type BaseEventMetadata, type BlockquoteData, type BlogPaging, type BookingData, type Border, type BorderColors, type BorderWidths, type BulkGetPostReactionsRequest, type BulkGetPostReactionsResponse, type BulletedListData, type ButtonData, ButtonDataType, type ButtonDataTypeWithLiterals, type ButtonStyles, type CaptionData, type CardStyles, type Category, type CategoryTranslation, type CellStyle, type CodeBlockData, type CollapsibleListData, type ColorData, type Colors, type CommonQueryWithEntityContext, type ConvertDraftJsToRichContentRequest, type ConvertDraftJsToRichContentResponse, type ConvertRichContentToDraftJsRequest, type ConvertRichContentToDraftJsResponse, type CoverMedia, type CoverMediaMediaOneOf, type CreateDraftPostFromTemplateRequest, type CreateDraftPostFromTemplateResponse, Crop, type CropWithLiterals, type CursorPaging, type Cursors, type Decoration, type DecorationDataOneOf, DecorationType, type DecorationTypeWithLiterals, type Design, DesignTarget, type DesignTargetWithLiterals, type Dimensions, Direction, type DirectionWithLiterals, type DividerData, DividerDataAlignment, type DividerDataAlignmentWithLiterals, type DocumentStyle, type DomainEvent, type DomainEventBodyOneOf, type DraftPost, type DraftPostTranslation, type EmbedData, type EmbedMedia, type EmbedThumbnail, type EmbedVideo, type EntityCreatedEvent, type EntityDeletedEvent, type EntityUpdatedEvent, type EventData, type EventMetadata, Field, type FieldWithLiterals, type FileData, type FileSource, type FileSourceDataOneOf, type FocalPoint, type FontFamilyData, type FontSizeData, FontType, type FontTypeWithLiterals, type GIF, type GIFData, GIFType, type GIFTypeWithLiterals, type GalleryData, type GalleryOptions, type GalleryOptionsLayout, type GetPostBySlugOptions, type GetPostBySlugRequest, type GetPostBySlugResponse, type GetPostCountPerMonthRequest, type GetPostCountPerMonthResponse, type GetPostMetricsRequest, type GetPostMetricsResponse, type GetPostOptions, type GetPostRequest, type GetPostResponse, GetPostTemplatesSort, type GetPostTemplatesSortWithLiterals, GetPostsSort, type GetPostsSortWithLiterals, type GetTemplateRequest, type GetTemplateResponse, type GetTotalLikesPerMemberRequest, type GetTotalLikesPerMemberResponse, type GetTotalPostsOptions, type GetTotalPostsRequest, type GetTotalPostsResponse, type GetTotalPublicationsRequest, type GetTotalPublicationsResponse, type Gradient, type HTMLData, type HTMLDataDataOneOf, type HeadingData, type Height, type IdentificationData, type IdentificationDataIdOneOf, type Image, type ImageData, type ImageDataStyles, ImagePosition, type ImagePositionWithLiterals, type ImageStyles, InitialExpandedItems, type InitialExpandedItemsWithLiterals, type InitialPostsCopied, type Item, type ItemDataOneOf, type ItemStyle, type Keyword, Layout, type LayoutCellData, type LayoutData, LayoutType, type LayoutTypeWithLiterals, type LayoutWithLiterals, type LikePostRequest, type LikePostResponse, LineStyle, type LineStyleWithLiterals, type Link, type LinkData, type LinkDataOneOf, type LinkPreviewData, type LinkPreviewDataStyles, type ListDemoPostsRequest, type ListDemoPostsResponse, type ListPostsArchiveRequest, type ListPostsArchiveResponse, type ListPostsOptions, type ListPostsRequest, type ListPostsResponse, type ListTemplatesRequest, type ListTemplatesResponse, type ListValue, type MapData, type MapSettings, MapType, type MapTypeWithLiterals, type Media, type MediaMediaOneOf, type MentionData, type MessageEnvelope, type MetaData, type Metadata, type Metrics, type ModerationDetails, ModerationStatusStatus, type ModerationStatusStatusWithLiterals, type Node, type NodeDataOneOf, type NodeStyle, NodeType, type NodeTypeWithLiterals, NullValue, type NullValueWithLiterals, type Oembed, type OldBlogMigratedEvent, type Option, type OptionDesign, type OptionLayout, Order, type OrderWithLiterals, type OrderedListData, Orientation, type OrientationWithLiterals, Origin, type OriginWithLiterals, type PDFSettings, type Paging, type PagingMetadataV2, type ParagraphData, type PeriodPostCount, type PeriodPublicationsCount, type Permissions, type PinPostRequest, type PinPostResponse, Placement, type PlacementWithLiterals, type PlatformQuery, type PlatformQueryPagingMethodOneOf, type PlaybackOptions, type PluginContainerData, PluginContainerDataAlignment, type PluginContainerDataAlignmentWithLiterals, type PluginContainerDataWidth, type PluginContainerDataWidthDataOneOf, type Poll, type PollData, type PollDataLayout, type PollDesign, type PollLayout, PollLayoutDirection, type PollLayoutDirectionWithLiterals, PollLayoutType, type PollLayoutTypeWithLiterals, type PollSettings, Position, type PositionWithLiterals, type Post, type PostCategoriesUpdated, type PostCountInfo, type PostCountPerMonth, type PostCountersUpdated, type PostCountersUpdatedInitiatorOneOf, type PostCreatedEnvelope, type PostDeletedEnvelope, PostFieldField, type PostFieldFieldWithLiterals, type PostLiked, type PostLikedEnvelope, type PostLikedInitiatorOneOf, type PostOwnerChanged, type PostQuery, type PostQuerySpec, type PostTagsUpdated, type PostTranslation, type PostUnliked, type PostUnlikedEnvelope, type PostUnlikedInitiatorOneOf, type PostUpdatedEnvelope, type PostsQueryBuilder, type PostsQueryResult, type PricingData, type QueryPostCountStatsOptions, type QueryPostCountStatsRequest, type QueryPostCountStatsResponse, type QueryPostsOptions, type QueryPostsRequest, type QueryPostsResponse, type QueryPublicationsCountStatsRequest, QueryPublicationsCountStatsRequestOrder, type QueryPublicationsCountStatsRequestOrderWithLiterals, type QueryPublicationsCountStatsResponse, type Reactions, type Rel, Resizing, type ResizingWithLiterals, ResponsivenessBehaviour, type ResponsivenessBehaviourWithLiterals, type RestoreInfo, type RibbonStyles, type RichContent, Scaling, type ScalingWithLiterals, type ScheduledPostPublished, type SeoSchema, type Settings, SortOrder, type SortOrderWithLiterals, type Sorting, Source, type SourceWithLiterals, type Spoiler, type SpoilerData, Status, type StatusWithLiterals, type Styles, type StylesBorder, StylesPosition, type StylesPositionWithLiterals, type TableCellData, type TableData, type Tag, Target, type TargetWithLiterals, TextAlignment, type TextAlignmentWithLiterals, type TextData, type TextNodeStyle, type TextStyle, type Thumbnails, ThumbnailsAlignment, type ThumbnailsAlignmentWithLiterals, Type, type TypeWithLiterals, type UnlikePostRequest, type UnlikePostResponse, type UnpinPostRequest, type UnpinPostResponse, type V1Media, VerticalAlignment, VerticalAlignmentAlignment, type VerticalAlignmentAlignmentWithLiterals, type VerticalAlignmentWithLiterals, type Video, type VideoData, type VideoResolution, ViewMode, type ViewModeWithLiterals, type ViewPostRequest, type ViewPostResponse, ViewRole, type ViewRoleWithLiterals, VoteRole, type VoteRoleWithLiterals, WebhookIdentityType, type WebhookIdentityTypeWithLiterals, Width, WidthType, type WidthTypeWithLiterals, type WidthWithLiterals, type WixMedia, getPost, getPostBySlug, getPostMetrics, getTotalPosts, listPosts, onPostCreated, onPostDeleted, onPostLiked, onPostUnliked, onPostUpdated, queryPostCountStats, queryPosts, typedQueryPosts };
4123
+ export { type AccountInfo, type AccountInfoMetadata, type ActionEvent, Alignment, type AlignmentWithLiterals, type AnchorData, type AppEmbedData, type AppEmbedDataAppDataOneOf, AppType, type AppTypeWithLiterals, AspectRatio, type AspectRatioWithLiterals, type AudioData, type Background, type BackgroundBackgroundOneOf, type BackgroundImage, BackgroundType, type BackgroundTypeWithLiterals, type BaseEventMetadata, type BlockquoteData, type BlogPaging, type BookingData, type Border, type BorderColors, type BorderWidths, type BulkGetPostReactionsRequest, type BulkGetPostReactionsResponse, type BulletedListData, type ButtonData, ButtonDataType, type ButtonDataTypeWithLiterals, type ButtonStyles, type CaptionData, type CardStyles, type Category, type CategoryTranslation, type CellStyle, type CodeBlockData, type CollapsibleListData, type ColorData, type Colors, type CommonQueryWithEntityContext, type ConvertDraftJsToRichContentRequest, type ConvertDraftJsToRichContentResponse, type ConvertRichContentToDraftJsRequest, type ConvertRichContentToDraftJsResponse, type CoverMedia, type CoverMediaMediaOneOf, type CreateDraftPostFromTemplateRequest, type CreateDraftPostFromTemplateResponse, Crop, type CropWithLiterals, type CursorPaging, type Cursors, type Decoration, type DecorationDataOneOf, DecorationType, type DecorationTypeWithLiterals, type Design, DesignTarget, type DesignTargetWithLiterals, type Dimensions, Direction, type DirectionWithLiterals, type DividerData, DividerDataAlignment, type DividerDataAlignmentWithLiterals, type DocumentStyle, type DomainEvent, type DomainEventBodyOneOf, type DraftPost, type DraftPostTranslation, type EmbedData, type EmbedMedia, type EmbedThumbnail, type EmbedVideo, type EntityCreatedEvent, type EntityDeletedEvent, type EntityUpdatedEvent, type EventData, type EventMetadata, Field, type FieldWithLiterals, type FileData, type FileSource, type FileSourceDataOneOf, type FocalPoint, type FontFamilyData, type FontSizeData, FontType, type FontTypeWithLiterals, type GIF, type GIFData, GIFType, type GIFTypeWithLiterals, type GalleryData, type GalleryOptions, type GalleryOptionsLayout, type GetPostBySlugOptions, type GetPostBySlugRequest, type GetPostBySlugResponse, type GetPostCountPerMonthRequest, type GetPostCountPerMonthResponse, type GetPostMetricsRequest, type GetPostMetricsResponse, type GetPostOptions, type GetPostRequest, type GetPostResponse, GetPostTemplatesSort, type GetPostTemplatesSortWithLiterals, GetPostsSort, type GetPostsSortWithLiterals, type GetTemplateRequest, type GetTemplateResponse, type GetTotalLikesPerMemberRequest, type GetTotalLikesPerMemberResponse, type GetTotalPostsOptions, type GetTotalPostsRequest, type GetTotalPostsResponse, type GetTotalPublicationsRequest, type GetTotalPublicationsResponse, type Gradient, type HTMLData, type HTMLDataDataOneOf, type HeadingData, type Height, type IdentificationData, type IdentificationDataIdOneOf, type Image, type ImageData, type ImageDataStyles, ImagePosition, type ImagePositionWithLiterals, type ImageStyles, InitialExpandedItems, type InitialExpandedItemsWithLiterals, type InitialPostsCopied, type Item, type ItemDataOneOf, type ItemStyle, type Keyword, Layout, type LayoutCellData, type LayoutData, LayoutType, type LayoutTypeWithLiterals, type LayoutWithLiterals, type LikePostRequest, type LikePostResponse, LineStyle, type LineStyleWithLiterals, type Link, type LinkData, type LinkDataOneOf, type LinkPreviewData, type LinkPreviewDataStyles, type ListDemoPostsRequest, type ListDemoPostsResponse, type ListPostsArchiveRequest, type ListPostsArchiveResponse, type ListPostsOptions, type ListPostsRequest, type ListPostsResponse, type ListTemplatesRequest, type ListTemplatesResponse, type ListValue, type MapData, type MapSettings, MapType, type MapTypeWithLiterals, type Media, type MediaMediaOneOf, type MentionData, type MessageEnvelope, type MetaData, type Metadata, type Metrics, type ModerationDetails, ModerationStatusStatus, type ModerationStatusStatusWithLiterals, type Node, type NodeDataOneOf, type NodeStyle, NodeType, type NodeTypeWithLiterals, NullValue, type NullValueWithLiterals, type Oembed, type OldBlogMigratedEvent, type Option, type OptionDesign, type OptionLayout, Order, type OrderWithLiterals, type OrderedListData, Orientation, type OrientationWithLiterals, Origin, type OriginWithLiterals, type PDFSettings, type Paging, type PagingMetadataV2, type ParagraphData, type PeriodPostCount, type PeriodPublicationsCount, type Permissions, type PinPostRequest, type PinPostResponse, Placement, type PlacementWithLiterals, type PlatformQuery, type PlatformQueryPagingMethodOneOf, type PlaybackOptions, type PluginContainerData, PluginContainerDataAlignment, type PluginContainerDataAlignmentWithLiterals, type PluginContainerDataWidth, type PluginContainerDataWidthDataOneOf, type Poll, type PollData, type PollDataLayout, type PollDesign, type PollLayout, PollLayoutDirection, type PollLayoutDirectionWithLiterals, PollLayoutType, type PollLayoutTypeWithLiterals, type PollSettings, Position, type PositionWithLiterals, type Post, type PostCategoriesUpdated, type PostCountInfo, type PostCountPerMonth, type PostCountersUpdated, type PostCountersUpdatedInitiatorOneOf, type PostCreatedEnvelope, type PostDeletedEnvelope, PostFieldField, type PostFieldFieldWithLiterals, type PostLiked, type PostLikedEnvelope, type PostLikedInitiatorOneOf, type PostOwnerChanged, type PostQuery, type PostQuerySpec, type PostTagsUpdated, type PostTranslation, type PostUnliked, type PostUnlikedEnvelope, type PostUnlikedInitiatorOneOf, type PostUpdatedEnvelope, type PostsQueryBuilder, type PostsQueryResult, type PricingData, type QueryPostCountStatsOptions, type QueryPostCountStatsRequest, type QueryPostCountStatsResponse, type QueryPostsOptions, type QueryPostsRequest, type QueryPostsResponse, type QueryPublicationsCountStatsRequest, QueryPublicationsCountStatsRequestOrder, type QueryPublicationsCountStatsRequestOrderWithLiterals, type QueryPublicationsCountStatsResponse, type Reactions, type Rel, Resizing, type ResizingWithLiterals, ResponsivenessBehaviour, type ResponsivenessBehaviourWithLiterals, type RestoreInfo, type RibbonStyles, type RichContent, Scaling, type ScalingWithLiterals, type ScheduledPostPublished, type SeoSchema, type Settings, SortOrder, type SortOrderWithLiterals, type Sorting, Source, type SourceWithLiterals, type Spoiler, type SpoilerData, Status, type StatusWithLiterals, type Styles, type StylesBorder, StylesPosition, type StylesPositionWithLiterals, type TableCellData, type TableData, type Tag, Target, type TargetWithLiterals, TextAlignment, type TextAlignmentWithLiterals, type TextData, type TextNodeStyle, type TextStyle, type Thumbnails, ThumbnailsAlignment, type ThumbnailsAlignmentWithLiterals, Type, type TypeWithLiterals, type UnlikePostRequest, type UnlikePostResponse, type UnpinPostRequest, type UnpinPostResponse, type V1Media, VerticalAlignment, VerticalAlignmentAlignment, type VerticalAlignmentAlignmentWithLiterals, type VerticalAlignmentWithLiterals, type Video, type VideoData, type VideoResolution, ViewMode, type ViewModeWithLiterals, type ViewPostRequest, type ViewPostResponse, ViewRole, type ViewRoleWithLiterals, VoteRole, type VoteRoleWithLiterals, WebhookIdentityType, type WebhookIdentityTypeWithLiterals, Width, WidthType, type WidthTypeWithLiterals, type WidthWithLiterals, type WixMedia, getPost, getPostBySlug, getPostMetrics, getTotalPosts, listPosts, onPostCreated, onPostDeleted, onPostLiked, onPostUnliked, onPostUpdated, queryPostCountStats, queryPosts, typedQueryPosts };