@wix/auto_sdk_blog_blog-cache 1.0.2 → 1.0.4

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 (134) hide show
  1. package/build/{internal/cjs/src/blog-v1-blog-cache-blog-cache.universal.d.ts → blog-v1-blog-cache-blog-cache.universal-CaCqSk3w.d.mts} +43 -78
  2. package/build/{cjs/src/blog-v1-blog-cache-blog-cache.universal.d.ts → blog-v1-blog-cache-blog-cache.universal-CaCqSk3w.d.ts} +43 -78
  3. package/build/index.d.mts +15 -0
  4. package/build/index.d.ts +15 -0
  5. package/build/index.js +468 -0
  6. package/build/index.js.map +1 -0
  7. package/build/index.mjs +439 -0
  8. package/build/index.mjs.map +1 -0
  9. package/build/internal/{es/src/blog-v1-blog-cache-blog-cache.universal.d.ts → blog-v1-blog-cache-blog-cache.universal-CaCqSk3w.d.mts} +43 -78
  10. package/build/{es/src/blog-v1-blog-cache-blog-cache.universal.d.ts → internal/blog-v1-blog-cache-blog-cache.universal-CaCqSk3w.d.ts} +43 -78
  11. package/build/internal/index.d.mts +15 -0
  12. package/build/internal/index.d.ts +15 -0
  13. package/build/internal/index.js +468 -0
  14. package/build/internal/index.js.map +1 -0
  15. package/build/internal/index.mjs +439 -0
  16. package/build/internal/index.mjs.map +1 -0
  17. package/build/internal/meta.d.mts +367 -0
  18. package/build/internal/meta.d.ts +367 -0
  19. package/build/internal/meta.js +158 -0
  20. package/build/internal/meta.js.map +1 -0
  21. package/build/internal/meta.mjs +131 -0
  22. package/build/internal/meta.mjs.map +1 -0
  23. package/build/meta.d.mts +367 -0
  24. package/build/meta.d.ts +367 -0
  25. package/build/meta.js +158 -0
  26. package/build/meta.js.map +1 -0
  27. package/build/meta.mjs +131 -0
  28. package/build/meta.mjs.map +1 -0
  29. package/package.json +13 -12
  30. package/build/cjs/index.d.ts +0 -1
  31. package/build/cjs/index.js +0 -18
  32. package/build/cjs/index.js.map +0 -1
  33. package/build/cjs/index.typings.d.ts +0 -1
  34. package/build/cjs/index.typings.js +0 -18
  35. package/build/cjs/index.typings.js.map +0 -1
  36. package/build/cjs/meta.d.ts +0 -1
  37. package/build/cjs/meta.js +0 -18
  38. package/build/cjs/meta.js.map +0 -1
  39. package/build/cjs/src/blog-v1-blog-cache-blog-cache.context.d.ts +0 -5
  40. package/build/cjs/src/blog-v1-blog-cache-blog-cache.context.js +0 -13
  41. package/build/cjs/src/blog-v1-blog-cache-blog-cache.context.js.map +0 -1
  42. package/build/cjs/src/blog-v1-blog-cache-blog-cache.http.d.ts +0 -3
  43. package/build/cjs/src/blog-v1-blog-cache-blog-cache.http.js +0 -112
  44. package/build/cjs/src/blog-v1-blog-cache-blog-cache.http.js.map +0 -1
  45. package/build/cjs/src/blog-v1-blog-cache-blog-cache.meta.d.ts +0 -13
  46. package/build/cjs/src/blog-v1-blog-cache-blog-cache.meta.js +0 -47
  47. package/build/cjs/src/blog-v1-blog-cache-blog-cache.meta.js.map +0 -1
  48. package/build/cjs/src/blog-v1-blog-cache-blog-cache.public.d.ts +0 -13
  49. package/build/cjs/src/blog-v1-blog-cache-blog-cache.public.js +0 -18
  50. package/build/cjs/src/blog-v1-blog-cache-blog-cache.public.js.map +0 -1
  51. package/build/cjs/src/blog-v1-blog-cache-blog-cache.types.d.ts +0 -738
  52. package/build/cjs/src/blog-v1-blog-cache-blog-cache.types.js +0 -289
  53. package/build/cjs/src/blog-v1-blog-cache-blog-cache.types.js.map +0 -1
  54. package/build/cjs/src/blog-v1-blog-cache-blog-cache.universal.js +0 -345
  55. package/build/cjs/src/blog-v1-blog-cache-blog-cache.universal.js.map +0 -1
  56. package/build/es/index.d.ts +0 -1
  57. package/build/es/index.js +0 -2
  58. package/build/es/index.js.map +0 -1
  59. package/build/es/index.typings.d.ts +0 -1
  60. package/build/es/index.typings.js +0 -2
  61. package/build/es/index.typings.js.map +0 -1
  62. package/build/es/meta.d.ts +0 -1
  63. package/build/es/meta.js +0 -2
  64. package/build/es/meta.js.map +0 -1
  65. package/build/es/package.json +0 -3
  66. package/build/es/src/blog-v1-blog-cache-blog-cache.context.d.ts +0 -5
  67. package/build/es/src/blog-v1-blog-cache-blog-cache.context.js +0 -5
  68. package/build/es/src/blog-v1-blog-cache-blog-cache.context.js.map +0 -1
  69. package/build/es/src/blog-v1-blog-cache-blog-cache.http.d.ts +0 -3
  70. package/build/es/src/blog-v1-blog-cache-blog-cache.http.js +0 -108
  71. package/build/es/src/blog-v1-blog-cache-blog-cache.http.js.map +0 -1
  72. package/build/es/src/blog-v1-blog-cache-blog-cache.meta.d.ts +0 -13
  73. package/build/es/src/blog-v1-blog-cache-blog-cache.meta.js +0 -20
  74. package/build/es/src/blog-v1-blog-cache-blog-cache.meta.js.map +0 -1
  75. package/build/es/src/blog-v1-blog-cache-blog-cache.public.d.ts +0 -13
  76. package/build/es/src/blog-v1-blog-cache-blog-cache.public.js +0 -9
  77. package/build/es/src/blog-v1-blog-cache-blog-cache.public.js.map +0 -1
  78. package/build/es/src/blog-v1-blog-cache-blog-cache.types.d.ts +0 -738
  79. package/build/es/src/blog-v1-blog-cache-blog-cache.types.js +0 -286
  80. package/build/es/src/blog-v1-blog-cache-blog-cache.types.js.map +0 -1
  81. package/build/es/src/blog-v1-blog-cache-blog-cache.universal.js +0 -318
  82. package/build/es/src/blog-v1-blog-cache-blog-cache.universal.js.map +0 -1
  83. package/build/internal/cjs/index.d.ts +0 -1
  84. package/build/internal/cjs/index.js +0 -18
  85. package/build/internal/cjs/index.js.map +0 -1
  86. package/build/internal/cjs/index.typings.d.ts +0 -1
  87. package/build/internal/cjs/index.typings.js +0 -18
  88. package/build/internal/cjs/index.typings.js.map +0 -1
  89. package/build/internal/cjs/meta.d.ts +0 -1
  90. package/build/internal/cjs/meta.js +0 -18
  91. package/build/internal/cjs/meta.js.map +0 -1
  92. package/build/internal/cjs/src/blog-v1-blog-cache-blog-cache.context.d.ts +0 -5
  93. package/build/internal/cjs/src/blog-v1-blog-cache-blog-cache.context.js +0 -13
  94. package/build/internal/cjs/src/blog-v1-blog-cache-blog-cache.context.js.map +0 -1
  95. package/build/internal/cjs/src/blog-v1-blog-cache-blog-cache.http.d.ts +0 -3
  96. package/build/internal/cjs/src/blog-v1-blog-cache-blog-cache.http.js +0 -112
  97. package/build/internal/cjs/src/blog-v1-blog-cache-blog-cache.http.js.map +0 -1
  98. package/build/internal/cjs/src/blog-v1-blog-cache-blog-cache.meta.d.ts +0 -13
  99. package/build/internal/cjs/src/blog-v1-blog-cache-blog-cache.meta.js +0 -47
  100. package/build/internal/cjs/src/blog-v1-blog-cache-blog-cache.meta.js.map +0 -1
  101. package/build/internal/cjs/src/blog-v1-blog-cache-blog-cache.public.d.ts +0 -13
  102. package/build/internal/cjs/src/blog-v1-blog-cache-blog-cache.public.js +0 -18
  103. package/build/internal/cjs/src/blog-v1-blog-cache-blog-cache.public.js.map +0 -1
  104. package/build/internal/cjs/src/blog-v1-blog-cache-blog-cache.types.d.ts +0 -738
  105. package/build/internal/cjs/src/blog-v1-blog-cache-blog-cache.types.js +0 -289
  106. package/build/internal/cjs/src/blog-v1-blog-cache-blog-cache.types.js.map +0 -1
  107. package/build/internal/cjs/src/blog-v1-blog-cache-blog-cache.universal.js +0 -345
  108. package/build/internal/cjs/src/blog-v1-blog-cache-blog-cache.universal.js.map +0 -1
  109. package/build/internal/es/index.d.ts +0 -1
  110. package/build/internal/es/index.js +0 -2
  111. package/build/internal/es/index.js.map +0 -1
  112. package/build/internal/es/index.typings.d.ts +0 -1
  113. package/build/internal/es/index.typings.js +0 -2
  114. package/build/internal/es/index.typings.js.map +0 -1
  115. package/build/internal/es/meta.d.ts +0 -1
  116. package/build/internal/es/meta.js +0 -2
  117. package/build/internal/es/meta.js.map +0 -1
  118. package/build/internal/es/src/blog-v1-blog-cache-blog-cache.context.d.ts +0 -5
  119. package/build/internal/es/src/blog-v1-blog-cache-blog-cache.context.js +0 -5
  120. package/build/internal/es/src/blog-v1-blog-cache-blog-cache.context.js.map +0 -1
  121. package/build/internal/es/src/blog-v1-blog-cache-blog-cache.http.d.ts +0 -3
  122. package/build/internal/es/src/blog-v1-blog-cache-blog-cache.http.js +0 -108
  123. package/build/internal/es/src/blog-v1-blog-cache-blog-cache.http.js.map +0 -1
  124. package/build/internal/es/src/blog-v1-blog-cache-blog-cache.meta.d.ts +0 -13
  125. package/build/internal/es/src/blog-v1-blog-cache-blog-cache.meta.js +0 -20
  126. package/build/internal/es/src/blog-v1-blog-cache-blog-cache.meta.js.map +0 -1
  127. package/build/internal/es/src/blog-v1-blog-cache-blog-cache.public.d.ts +0 -13
  128. package/build/internal/es/src/blog-v1-blog-cache-blog-cache.public.js +0 -9
  129. package/build/internal/es/src/blog-v1-blog-cache-blog-cache.public.js.map +0 -1
  130. package/build/internal/es/src/blog-v1-blog-cache-blog-cache.types.d.ts +0 -738
  131. package/build/internal/es/src/blog-v1-blog-cache-blog-cache.types.js +0 -286
  132. package/build/internal/es/src/blog-v1-blog-cache-blog-cache.types.js.map +0 -1
  133. package/build/internal/es/src/blog-v1-blog-cache-blog-cache.universal.js +0 -318
  134. package/build/internal/es/src/blog-v1-blog-cache-blog-cache.universal.js.map +0 -1
@@ -1,5 +1,5 @@
1
1
  /** BlogCache is the main entity of BlogCacheService */
2
- export interface BlogCache {
2
+ interface BlogCache {
3
3
  /**
4
4
  * MetaSite ID.
5
5
  * @format GUID
@@ -18,7 +18,7 @@ export interface BlogCache {
18
18
  */
19
19
  _updatedDate?: Date | null;
20
20
  }
21
- export interface SiteSupportedLanguage {
21
+ interface SiteSupportedLanguage {
22
22
  /**
23
23
  * Language code
24
24
  * @format LANGUAGE
@@ -31,7 +31,7 @@ export interface SiteSupportedLanguage {
31
31
  /** Resolution method. */
32
32
  resolutionMethod?: ResolutionMethod;
33
33
  }
34
- export declare enum LocaleStatus {
34
+ declare enum LocaleStatus {
35
35
  /** Value not specified */
36
36
  UNDEFINED_STATUS = "UNDEFINED_STATUS",
37
37
  /** Locale was added to site but was not activated */
@@ -41,7 +41,7 @@ export declare enum LocaleStatus {
41
41
  /** Default locale (always active) */
42
42
  DEFAULT = "DEFAULT"
43
43
  }
44
- export declare enum Flag {
44
+ declare enum Flag {
45
45
  UNDEFINED_FLAG_CODE = "UNDEFINED_FLAG_CODE",
46
46
  AFG = "AFG",
47
47
  AGO = "AGO",
@@ -290,12 +290,12 @@ export declare enum Flag {
290
290
  ZMB = "ZMB",
291
291
  ZWE = "ZWE"
292
292
  }
293
- export declare enum ResolutionMethod {
293
+ declare enum ResolutionMethod {
294
294
  QUERY_PARAM = "QUERY_PARAM",
295
295
  SUBDOMAIN = "SUBDOMAIN",
296
296
  SUBDIRECTORY = "SUBDIRECTORY"
297
297
  }
298
- export interface PagesData {
298
+ interface PagesData {
299
299
  /** Blog page. */
300
300
  blogPage?: PageInfo;
301
301
  /** Post page. */
@@ -307,7 +307,7 @@ export interface PagesData {
307
307
  */
308
308
  sitePrimaryUrl?: string | null;
309
309
  }
310
- export interface PageInfo {
310
+ interface PageInfo {
311
311
  /** Title. */
312
312
  title?: string;
313
313
  /** Page ID. */
@@ -333,7 +333,7 @@ export interface PageInfo {
333
333
  /** Platform apps. */
334
334
  platformApps?: string[];
335
335
  }
336
- export interface SiteProperties {
336
+ interface SiteProperties {
337
337
  /** Business name. */
338
338
  businessName?: string | null;
339
339
  /** Business logo. */
@@ -343,14 +343,14 @@ export interface SiteProperties {
343
343
  /** Description. */
344
344
  description?: string | null;
345
345
  }
346
- export interface GetBlogCacheRequest {
346
+ interface GetBlogCacheRequest {
347
347
  }
348
- export interface GetBlogCacheResponse {
348
+ interface GetBlogCacheResponse {
349
349
  /** Blog cache. */
350
350
  blogCache?: BlogCache;
351
351
  }
352
352
  /** Encapsulates all details written to the Greyhound topic when a site's properties are updated. */
353
- export interface SitePropertiesNotification {
353
+ interface SitePropertiesNotification {
354
354
  /** The site ID for which this update notification applies. */
355
355
  metasiteId?: string;
356
356
  /** The actual update event. */
@@ -364,7 +364,7 @@ export interface SitePropertiesNotification {
364
364
  changeContext?: ChangeContext;
365
365
  }
366
366
  /** The actual update event for a particular notification. */
367
- export interface SitePropertiesEvent {
367
+ interface SitePropertiesEvent {
368
368
  /** Version of the site's properties represented by this update. */
369
369
  version?: number;
370
370
  /** Set of properties that were updated - corresponds to the fields in "properties". */
@@ -372,7 +372,7 @@ export interface SitePropertiesEvent {
372
372
  /** Updated properties. */
373
373
  properties?: Properties;
374
374
  }
375
- export interface Properties {
375
+ interface Properties {
376
376
  /** Site categories. */
377
377
  categories?: Categories;
378
378
  /** Site locale. */
@@ -428,7 +428,7 @@ export interface Properties {
428
428
  /** Track clicks analytics. */
429
429
  trackClicksAnalytics?: boolean;
430
430
  }
431
- export interface Categories {
431
+ interface Categories {
432
432
  /** Primary site category. */
433
433
  primary?: string;
434
434
  /**
@@ -439,13 +439,13 @@ export interface Categories {
439
439
  /** Business Term Id */
440
440
  businessTermId?: string | null;
441
441
  }
442
- export interface Locale {
442
+ interface Locale {
443
443
  /** Two-letter language code in [ISO 639-1 alpha-2](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) format. */
444
444
  languageCode?: string;
445
445
  /** Two-letter country code in [ISO-3166 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2#Officially_assigned_code_elements) format. */
446
446
  country?: string;
447
447
  }
448
- export interface Address {
448
+ interface Address {
449
449
  /** Street name. */
450
450
  street?: string;
451
451
  /** City name. */
@@ -477,27 +477,27 @@ export interface Address {
477
477
  * This is used for display purposes. Used to add additional data about the address, such as "In the passage".
478
478
  * Free text. In addition, the user can state where to display the additional description - before, after, or instead of the address string.
479
479
  */
480
- export interface AddressHint {
480
+ interface AddressHint {
481
481
  /** Extra text displayed next to, or instead of, the actual address. */
482
482
  text?: string;
483
483
  /** Where the extra text should be displayed. */
484
484
  placement?: PlacementType;
485
485
  }
486
486
  /** Where the extra text should be displayed: before, after or instead of the actual address. */
487
- export declare enum PlacementType {
487
+ declare enum PlacementType {
488
488
  BEFORE = "BEFORE",
489
489
  AFTER = "AFTER",
490
490
  REPLACE = "REPLACE"
491
491
  }
492
492
  /** Geocoordinates for a particular address. */
493
- export interface GeoCoordinates {
493
+ interface GeoCoordinates {
494
494
  /** Latitude of the location. Must be between -90 and 90. */
495
495
  latitude?: number;
496
496
  /** Longitude of the location. Must be between -180 and 180. */
497
497
  longitude?: number;
498
498
  }
499
499
  /** Business schedule. Regular and exceptional time periods when the business is open or the service is available. */
500
- export interface BusinessSchedule {
500
+ interface BusinessSchedule {
501
501
  /**
502
502
  * Weekly recurring time periods when the business is regularly open or the service is available. Limited to 100 time periods.
503
503
  * @maxSize 100
@@ -510,7 +510,7 @@ export interface BusinessSchedule {
510
510
  specialHourPeriod?: SpecialHourPeriod[];
511
511
  }
512
512
  /** Weekly recurring time periods when the business is regularly open or the service is available. */
513
- export interface TimePeriod {
513
+ interface TimePeriod {
514
514
  /** Day of the week the period starts on. */
515
515
  openDay?: DayOfWeek;
516
516
  /**
@@ -529,7 +529,7 @@ export interface TimePeriod {
529
529
  closeTime?: string;
530
530
  }
531
531
  /** Enumerates the days of the week. */
532
- export declare enum DayOfWeek {
532
+ declare enum DayOfWeek {
533
533
  MONDAY = "MONDAY",
534
534
  TUESDAY = "TUESDAY",
535
535
  WEDNESDAY = "WEDNESDAY",
@@ -539,7 +539,7 @@ export declare enum DayOfWeek {
539
539
  SUNDAY = "SUNDAY"
540
540
  }
541
541
  /** Exception to the business's regular hours. The business can be open or closed during the exception. */
542
- export interface SpecialHourPeriod {
542
+ interface SpecialHourPeriod {
543
543
  /** Start date and time of the exception in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format and [Coordinated Universal Time (UTC)](https://en.wikipedia.org/wiki/Coordinated_Universal_Time). */
544
544
  startDate?: string;
545
545
  /** End date and time of the exception in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format and [Coordinated Universal Time (UTC)](https://en.wikipedia.org/wiki/Coordinated_Universal_Time). */
@@ -553,7 +553,7 @@ export interface SpecialHourPeriod {
553
553
  /** Additional info about the exception. For example, "We close earlier on New Year's Eve." */
554
554
  comment?: string;
555
555
  }
556
- export interface Multilingual {
556
+ interface Multilingual {
557
557
  /**
558
558
  * Supported languages list.
559
559
  * @maxSize 200
@@ -562,7 +562,7 @@ export interface Multilingual {
562
562
  /** Whether to redirect to user language. */
563
563
  autoRedirect?: boolean;
564
564
  }
565
- export interface SupportedLanguage {
565
+ interface SupportedLanguage {
566
566
  /** Two-letter language code in [ISO 639-1 alpha-2](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) format. */
567
567
  languageCode?: string;
568
568
  /** Locale. */
@@ -574,7 +574,7 @@ export interface SupportedLanguage {
574
574
  /** How the language will be resolved. For internal use. */
575
575
  resolutionMethod?: ResolutionMethod;
576
576
  }
577
- export interface ConsentPolicy {
577
+ interface ConsentPolicy {
578
578
  /** Whether the site uses cookies that are essential to site operation. Always `true`. */
579
579
  essential?: boolean | null;
580
580
  /** Whether the site uses cookies that affect site performance and other functional measurements. */
@@ -587,7 +587,7 @@ export interface ConsentPolicy {
587
587
  dataToThirdParty?: boolean | null;
588
588
  }
589
589
  /** A single mapping from the MetaSite ID to a particular service. */
590
- export interface Translation {
590
+ interface Translation {
591
591
  /** The service type. */
592
592
  serviceType?: string;
593
593
  /** The application definition ID; this only applies to services of type ThirdPartyApps. */
@@ -595,7 +595,7 @@ export interface Translation {
595
595
  /** The instance ID of the service. */
596
596
  instanceId?: string;
597
597
  }
598
- export interface ChangeContext extends ChangeContextPayloadOneOf {
598
+ interface ChangeContext extends ChangeContextPayloadOneOf {
599
599
  /** Properties were updated. */
600
600
  propertiesChange?: PropertiesChange;
601
601
  /** Default properties were created on site creation. */
@@ -604,7 +604,7 @@ export interface ChangeContext extends ChangeContextPayloadOneOf {
604
604
  siteCloned?: SiteCloned;
605
605
  }
606
606
  /** @oneof */
607
- export interface ChangeContextPayloadOneOf {
607
+ interface ChangeContextPayloadOneOf {
608
608
  /** Properties were updated. */
609
609
  propertiesChange?: PropertiesChange;
610
610
  /** Default properties were created on site creation. */
@@ -612,19 +612,19 @@ export interface ChangeContextPayloadOneOf {
612
612
  /** Properties were cloned on site cloning. */
613
613
  siteCloned?: SiteCloned;
614
614
  }
615
- export interface PropertiesChange {
615
+ interface PropertiesChange {
616
616
  }
617
- export interface SiteCreated {
617
+ interface SiteCreated {
618
618
  /** Origin template site id. */
619
619
  originTemplateId?: string | null;
620
620
  }
621
- export interface SiteCloned {
621
+ interface SiteCloned {
622
622
  /** Origin site id. */
623
623
  originMetaSiteId?: string;
624
624
  }
625
- export interface Empty {
625
+ interface Empty {
626
626
  }
627
- export interface UrlInvalidationNotification {
627
+ interface UrlInvalidationNotification {
628
628
  /**
629
629
  * Blog instance id.
630
630
  * @format GUID
@@ -636,7 +636,7 @@ export interface UrlInvalidationNotification {
636
636
  */
637
637
  metaSiteId?: string | null;
638
638
  }
639
- export interface DomainEvent extends DomainEventBodyOneOf {
639
+ interface DomainEvent extends DomainEventBodyOneOf {
640
640
  createdEvent?: EntityCreatedEvent;
641
641
  updatedEvent?: EntityUpdatedEvent;
642
642
  deletedEvent?: EntityDeletedEvent;
@@ -679,19 +679,19 @@ export interface DomainEvent extends DomainEventBodyOneOf {
679
679
  entityEventSequence?: string | null;
680
680
  }
681
681
  /** @oneof */
682
- export interface DomainEventBodyOneOf {
682
+ interface DomainEventBodyOneOf {
683
683
  createdEvent?: EntityCreatedEvent;
684
684
  updatedEvent?: EntityUpdatedEvent;
685
685
  deletedEvent?: EntityDeletedEvent;
686
686
  actionEvent?: ActionEvent;
687
687
  }
688
- export interface EntityCreatedEvent {
688
+ interface EntityCreatedEvent {
689
689
  entity?: string;
690
690
  }
691
- export interface RestoreInfo {
691
+ interface RestoreInfo {
692
692
  deletedDate?: Date | null;
693
693
  }
694
- export interface EntityUpdatedEvent {
694
+ interface EntityUpdatedEvent {
695
695
  /**
696
696
  * Since platformized APIs only expose PATCH and not PUT we can't assume that the fields sent from the client are the actual diff.
697
697
  * This means that to generate a list of changed fields (as opposed to sent fields) one needs to traverse both objects.
@@ -699,47 +699,12 @@ export interface EntityUpdatedEvent {
699
699
  */
700
700
  currentEntity?: string;
701
701
  }
702
- export interface EntityDeletedEvent {
702
+ interface EntityDeletedEvent {
703
703
  /** Entity that was deleted */
704
704
  deletedEntity?: string | null;
705
705
  }
706
- export interface ActionEvent {
706
+ interface ActionEvent {
707
707
  body?: string;
708
708
  }
709
- interface SiteSupportedLanguageNonNullableFields {
710
- languageCode: string;
711
- status: LocaleStatus;
712
- flag: Flag;
713
- resolutionMethod: ResolutionMethod;
714
- }
715
- interface PageInfoNonNullableFields {
716
- title: string;
717
- pageId: string;
718
- hidden: boolean;
719
- path: string;
720
- url: string;
721
- isSmProtected: boolean;
722
- isDynamic: boolean;
723
- platformApps: string[];
724
- }
725
- interface PagesDataNonNullableFields {
726
- blogPage?: PageInfoNonNullableFields;
727
- postPage?: PageInfoNonNullableFields;
728
- }
729
- interface BlogCacheNonNullableFields {
730
- siteSupportedLanguages: SiteSupportedLanguageNonNullableFields[];
731
- pagesData?: PagesDataNonNullableFields;
732
- }
733
- export interface GetBlogCacheResponseNonNullableFields {
734
- blogCache?: BlogCacheNonNullableFields;
735
- }
736
- /**
737
- * Gets blog cache.
738
- * @public
739
- * @documentationMaturity preview
740
- * @permissionId BLOG.READ_SETTINGS
741
- * @applicableIdentity VISITOR
742
- * @fqn wix.blog.v1.BlogCacheService.GetBlogCache
743
- */
744
- export declare function getBlogCache(): Promise<GetBlogCacheResponse & GetBlogCacheResponseNonNullableFields>;
745
- export {};
709
+
710
+ export { type Address as A, type BlogCache as B, type Categories as C, DayOfWeek as D, type Empty as E, Flag as F, type GetBlogCacheResponse as G, type ActionEvent as H, LocaleStatus as L, type Multilingual as M, PlacementType as P, ResolutionMethod as R, type SiteSupportedLanguage as S, type TimePeriod as T, type UrlInvalidationNotification as U, type PagesData as a, type PageInfo as b, type SiteProperties as c, type GetBlogCacheRequest as d, type SitePropertiesNotification as e, type SitePropertiesEvent as f, type Properties as g, type Locale as h, type AddressHint as i, type GeoCoordinates as j, type BusinessSchedule as k, type SpecialHourPeriod as l, type SupportedLanguage as m, type ConsentPolicy as n, type Translation as o, type ChangeContext as p, type ChangeContextPayloadOneOf as q, type PropertiesChange as r, type SiteCreated as s, type SiteCloned as t, type DomainEvent as u, type DomainEventBodyOneOf as v, type EntityCreatedEvent as w, type RestoreInfo as x, type EntityUpdatedEvent as y, type EntityDeletedEvent as z };
@@ -1,5 +1,5 @@
1
1
  /** BlogCache is the main entity of BlogCacheService */
2
- export interface BlogCache {
2
+ interface BlogCache {
3
3
  /**
4
4
  * MetaSite ID.
5
5
  * @format GUID
@@ -18,7 +18,7 @@ export interface BlogCache {
18
18
  */
19
19
  _updatedDate?: Date | null;
20
20
  }
21
- export interface SiteSupportedLanguage {
21
+ interface SiteSupportedLanguage {
22
22
  /**
23
23
  * Language code
24
24
  * @format LANGUAGE
@@ -31,7 +31,7 @@ export interface SiteSupportedLanguage {
31
31
  /** Resolution method. */
32
32
  resolutionMethod?: ResolutionMethod;
33
33
  }
34
- export declare enum LocaleStatus {
34
+ declare enum LocaleStatus {
35
35
  /** Value not specified */
36
36
  UNDEFINED_STATUS = "UNDEFINED_STATUS",
37
37
  /** Locale was added to site but was not activated */
@@ -41,7 +41,7 @@ export declare enum LocaleStatus {
41
41
  /** Default locale (always active) */
42
42
  DEFAULT = "DEFAULT"
43
43
  }
44
- export declare enum Flag {
44
+ declare enum Flag {
45
45
  UNDEFINED_FLAG_CODE = "UNDEFINED_FLAG_CODE",
46
46
  AFG = "AFG",
47
47
  AGO = "AGO",
@@ -290,12 +290,12 @@ export declare enum Flag {
290
290
  ZMB = "ZMB",
291
291
  ZWE = "ZWE"
292
292
  }
293
- export declare enum ResolutionMethod {
293
+ declare enum ResolutionMethod {
294
294
  QUERY_PARAM = "QUERY_PARAM",
295
295
  SUBDOMAIN = "SUBDOMAIN",
296
296
  SUBDIRECTORY = "SUBDIRECTORY"
297
297
  }
298
- export interface PagesData {
298
+ interface PagesData {
299
299
  /** Blog page. */
300
300
  blogPage?: PageInfo;
301
301
  /** Post page. */
@@ -307,7 +307,7 @@ export interface PagesData {
307
307
  */
308
308
  sitePrimaryUrl?: string | null;
309
309
  }
310
- export interface PageInfo {
310
+ interface PageInfo {
311
311
  /** Title. */
312
312
  title?: string;
313
313
  /** Page ID. */
@@ -333,7 +333,7 @@ export interface PageInfo {
333
333
  /** Platform apps. */
334
334
  platformApps?: string[];
335
335
  }
336
- export interface SiteProperties {
336
+ interface SiteProperties {
337
337
  /** Business name. */
338
338
  businessName?: string | null;
339
339
  /** Business logo. */
@@ -343,14 +343,14 @@ export interface SiteProperties {
343
343
  /** Description. */
344
344
  description?: string | null;
345
345
  }
346
- export interface GetBlogCacheRequest {
346
+ interface GetBlogCacheRequest {
347
347
  }
348
- export interface GetBlogCacheResponse {
348
+ interface GetBlogCacheResponse {
349
349
  /** Blog cache. */
350
350
  blogCache?: BlogCache;
351
351
  }
352
352
  /** Encapsulates all details written to the Greyhound topic when a site's properties are updated. */
353
- export interface SitePropertiesNotification {
353
+ interface SitePropertiesNotification {
354
354
  /** The site ID for which this update notification applies. */
355
355
  metasiteId?: string;
356
356
  /** The actual update event. */
@@ -364,7 +364,7 @@ export interface SitePropertiesNotification {
364
364
  changeContext?: ChangeContext;
365
365
  }
366
366
  /** The actual update event for a particular notification. */
367
- export interface SitePropertiesEvent {
367
+ interface SitePropertiesEvent {
368
368
  /** Version of the site's properties represented by this update. */
369
369
  version?: number;
370
370
  /** Set of properties that were updated - corresponds to the fields in "properties". */
@@ -372,7 +372,7 @@ export interface SitePropertiesEvent {
372
372
  /** Updated properties. */
373
373
  properties?: Properties;
374
374
  }
375
- export interface Properties {
375
+ interface Properties {
376
376
  /** Site categories. */
377
377
  categories?: Categories;
378
378
  /** Site locale. */
@@ -428,7 +428,7 @@ export interface Properties {
428
428
  /** Track clicks analytics. */
429
429
  trackClicksAnalytics?: boolean;
430
430
  }
431
- export interface Categories {
431
+ interface Categories {
432
432
  /** Primary site category. */
433
433
  primary?: string;
434
434
  /**
@@ -439,13 +439,13 @@ export interface Categories {
439
439
  /** Business Term Id */
440
440
  businessTermId?: string | null;
441
441
  }
442
- export interface Locale {
442
+ interface Locale {
443
443
  /** Two-letter language code in [ISO 639-1 alpha-2](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) format. */
444
444
  languageCode?: string;
445
445
  /** Two-letter country code in [ISO-3166 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2#Officially_assigned_code_elements) format. */
446
446
  country?: string;
447
447
  }
448
- export interface Address {
448
+ interface Address {
449
449
  /** Street name. */
450
450
  street?: string;
451
451
  /** City name. */
@@ -477,27 +477,27 @@ export interface Address {
477
477
  * This is used for display purposes. Used to add additional data about the address, such as "In the passage".
478
478
  * Free text. In addition, the user can state where to display the additional description - before, after, or instead of the address string.
479
479
  */
480
- export interface AddressHint {
480
+ interface AddressHint {
481
481
  /** Extra text displayed next to, or instead of, the actual address. */
482
482
  text?: string;
483
483
  /** Where the extra text should be displayed. */
484
484
  placement?: PlacementType;
485
485
  }
486
486
  /** Where the extra text should be displayed: before, after or instead of the actual address. */
487
- export declare enum PlacementType {
487
+ declare enum PlacementType {
488
488
  BEFORE = "BEFORE",
489
489
  AFTER = "AFTER",
490
490
  REPLACE = "REPLACE"
491
491
  }
492
492
  /** Geocoordinates for a particular address. */
493
- export interface GeoCoordinates {
493
+ interface GeoCoordinates {
494
494
  /** Latitude of the location. Must be between -90 and 90. */
495
495
  latitude?: number;
496
496
  /** Longitude of the location. Must be between -180 and 180. */
497
497
  longitude?: number;
498
498
  }
499
499
  /** Business schedule. Regular and exceptional time periods when the business is open or the service is available. */
500
- export interface BusinessSchedule {
500
+ interface BusinessSchedule {
501
501
  /**
502
502
  * Weekly recurring time periods when the business is regularly open or the service is available. Limited to 100 time periods.
503
503
  * @maxSize 100
@@ -510,7 +510,7 @@ export interface BusinessSchedule {
510
510
  specialHourPeriod?: SpecialHourPeriod[];
511
511
  }
512
512
  /** Weekly recurring time periods when the business is regularly open or the service is available. */
513
- export interface TimePeriod {
513
+ interface TimePeriod {
514
514
  /** Day of the week the period starts on. */
515
515
  openDay?: DayOfWeek;
516
516
  /**
@@ -529,7 +529,7 @@ export interface TimePeriod {
529
529
  closeTime?: string;
530
530
  }
531
531
  /** Enumerates the days of the week. */
532
- export declare enum DayOfWeek {
532
+ declare enum DayOfWeek {
533
533
  MONDAY = "MONDAY",
534
534
  TUESDAY = "TUESDAY",
535
535
  WEDNESDAY = "WEDNESDAY",
@@ -539,7 +539,7 @@ export declare enum DayOfWeek {
539
539
  SUNDAY = "SUNDAY"
540
540
  }
541
541
  /** Exception to the business's regular hours. The business can be open or closed during the exception. */
542
- export interface SpecialHourPeriod {
542
+ interface SpecialHourPeriod {
543
543
  /** Start date and time of the exception in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format and [Coordinated Universal Time (UTC)](https://en.wikipedia.org/wiki/Coordinated_Universal_Time). */
544
544
  startDate?: string;
545
545
  /** End date and time of the exception in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format and [Coordinated Universal Time (UTC)](https://en.wikipedia.org/wiki/Coordinated_Universal_Time). */
@@ -553,7 +553,7 @@ export interface SpecialHourPeriod {
553
553
  /** Additional info about the exception. For example, "We close earlier on New Year's Eve." */
554
554
  comment?: string;
555
555
  }
556
- export interface Multilingual {
556
+ interface Multilingual {
557
557
  /**
558
558
  * Supported languages list.
559
559
  * @maxSize 200
@@ -562,7 +562,7 @@ export interface Multilingual {
562
562
  /** Whether to redirect to user language. */
563
563
  autoRedirect?: boolean;
564
564
  }
565
- export interface SupportedLanguage {
565
+ interface SupportedLanguage {
566
566
  /** Two-letter language code in [ISO 639-1 alpha-2](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) format. */
567
567
  languageCode?: string;
568
568
  /** Locale. */
@@ -574,7 +574,7 @@ export interface SupportedLanguage {
574
574
  /** How the language will be resolved. For internal use. */
575
575
  resolutionMethod?: ResolutionMethod;
576
576
  }
577
- export interface ConsentPolicy {
577
+ interface ConsentPolicy {
578
578
  /** Whether the site uses cookies that are essential to site operation. Always `true`. */
579
579
  essential?: boolean | null;
580
580
  /** Whether the site uses cookies that affect site performance and other functional measurements. */
@@ -587,7 +587,7 @@ export interface ConsentPolicy {
587
587
  dataToThirdParty?: boolean | null;
588
588
  }
589
589
  /** A single mapping from the MetaSite ID to a particular service. */
590
- export interface Translation {
590
+ interface Translation {
591
591
  /** The service type. */
592
592
  serviceType?: string;
593
593
  /** The application definition ID; this only applies to services of type ThirdPartyApps. */
@@ -595,7 +595,7 @@ export interface Translation {
595
595
  /** The instance ID of the service. */
596
596
  instanceId?: string;
597
597
  }
598
- export interface ChangeContext extends ChangeContextPayloadOneOf {
598
+ interface ChangeContext extends ChangeContextPayloadOneOf {
599
599
  /** Properties were updated. */
600
600
  propertiesChange?: PropertiesChange;
601
601
  /** Default properties were created on site creation. */
@@ -604,7 +604,7 @@ export interface ChangeContext extends ChangeContextPayloadOneOf {
604
604
  siteCloned?: SiteCloned;
605
605
  }
606
606
  /** @oneof */
607
- export interface ChangeContextPayloadOneOf {
607
+ interface ChangeContextPayloadOneOf {
608
608
  /** Properties were updated. */
609
609
  propertiesChange?: PropertiesChange;
610
610
  /** Default properties were created on site creation. */
@@ -612,19 +612,19 @@ export interface ChangeContextPayloadOneOf {
612
612
  /** Properties were cloned on site cloning. */
613
613
  siteCloned?: SiteCloned;
614
614
  }
615
- export interface PropertiesChange {
615
+ interface PropertiesChange {
616
616
  }
617
- export interface SiteCreated {
617
+ interface SiteCreated {
618
618
  /** Origin template site id. */
619
619
  originTemplateId?: string | null;
620
620
  }
621
- export interface SiteCloned {
621
+ interface SiteCloned {
622
622
  /** Origin site id. */
623
623
  originMetaSiteId?: string;
624
624
  }
625
- export interface Empty {
625
+ interface Empty {
626
626
  }
627
- export interface UrlInvalidationNotification {
627
+ interface UrlInvalidationNotification {
628
628
  /**
629
629
  * Blog instance id.
630
630
  * @format GUID
@@ -636,7 +636,7 @@ export interface UrlInvalidationNotification {
636
636
  */
637
637
  metaSiteId?: string | null;
638
638
  }
639
- export interface DomainEvent extends DomainEventBodyOneOf {
639
+ interface DomainEvent extends DomainEventBodyOneOf {
640
640
  createdEvent?: EntityCreatedEvent;
641
641
  updatedEvent?: EntityUpdatedEvent;
642
642
  deletedEvent?: EntityDeletedEvent;
@@ -679,19 +679,19 @@ export interface DomainEvent extends DomainEventBodyOneOf {
679
679
  entityEventSequence?: string | null;
680
680
  }
681
681
  /** @oneof */
682
- export interface DomainEventBodyOneOf {
682
+ interface DomainEventBodyOneOf {
683
683
  createdEvent?: EntityCreatedEvent;
684
684
  updatedEvent?: EntityUpdatedEvent;
685
685
  deletedEvent?: EntityDeletedEvent;
686
686
  actionEvent?: ActionEvent;
687
687
  }
688
- export interface EntityCreatedEvent {
688
+ interface EntityCreatedEvent {
689
689
  entity?: string;
690
690
  }
691
- export interface RestoreInfo {
691
+ interface RestoreInfo {
692
692
  deletedDate?: Date | null;
693
693
  }
694
- export interface EntityUpdatedEvent {
694
+ interface EntityUpdatedEvent {
695
695
  /**
696
696
  * Since platformized APIs only expose PATCH and not PUT we can't assume that the fields sent from the client are the actual diff.
697
697
  * This means that to generate a list of changed fields (as opposed to sent fields) one needs to traverse both objects.
@@ -699,47 +699,12 @@ export interface EntityUpdatedEvent {
699
699
  */
700
700
  currentEntity?: string;
701
701
  }
702
- export interface EntityDeletedEvent {
702
+ interface EntityDeletedEvent {
703
703
  /** Entity that was deleted */
704
704
  deletedEntity?: string | null;
705
705
  }
706
- export interface ActionEvent {
706
+ interface ActionEvent {
707
707
  body?: string;
708
708
  }
709
- interface SiteSupportedLanguageNonNullableFields {
710
- languageCode: string;
711
- status: LocaleStatus;
712
- flag: Flag;
713
- resolutionMethod: ResolutionMethod;
714
- }
715
- interface PageInfoNonNullableFields {
716
- title: string;
717
- pageId: string;
718
- hidden: boolean;
719
- path: string;
720
- url: string;
721
- isSmProtected: boolean;
722
- isDynamic: boolean;
723
- platformApps: string[];
724
- }
725
- interface PagesDataNonNullableFields {
726
- blogPage?: PageInfoNonNullableFields;
727
- postPage?: PageInfoNonNullableFields;
728
- }
729
- interface BlogCacheNonNullableFields {
730
- siteSupportedLanguages: SiteSupportedLanguageNonNullableFields[];
731
- pagesData?: PagesDataNonNullableFields;
732
- }
733
- export interface GetBlogCacheResponseNonNullableFields {
734
- blogCache?: BlogCacheNonNullableFields;
735
- }
736
- /**
737
- * Gets blog cache.
738
- * @public
739
- * @documentationMaturity preview
740
- * @permissionId BLOG.READ_SETTINGS
741
- * @applicableIdentity VISITOR
742
- * @fqn wix.blog.v1.BlogCacheService.GetBlogCache
743
- */
744
- export declare function getBlogCache(): Promise<GetBlogCacheResponse & GetBlogCacheResponseNonNullableFields>;
745
- export {};
709
+
710
+ export { type Address as A, type BlogCache as B, type Categories as C, DayOfWeek as D, type Empty as E, Flag as F, type GetBlogCacheResponse as G, type ActionEvent as H, LocaleStatus as L, type Multilingual as M, PlacementType as P, ResolutionMethod as R, type SiteSupportedLanguage as S, type TimePeriod as T, type UrlInvalidationNotification as U, type PagesData as a, type PageInfo as b, type SiteProperties as c, type GetBlogCacheRequest as d, type SitePropertiesNotification as e, type SitePropertiesEvent as f, type Properties as g, type Locale as h, type AddressHint as i, type GeoCoordinates as j, type BusinessSchedule as k, type SpecialHourPeriod as l, type SupportedLanguage as m, type ConsentPolicy as n, type Translation as o, type ChangeContext as p, type ChangeContextPayloadOneOf as q, type PropertiesChange as r, type SiteCreated as s, type SiteCloned as t, type DomainEvent as u, type DomainEventBodyOneOf as v, type EntityCreatedEvent as w, type RestoreInfo as x, type EntityUpdatedEvent as y, type EntityDeletedEvent as z };