@wix/auto_sdk_blog_blog-cache 1.0.12 → 1.0.14

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-CTlpJiq7.d.mts} +50 -60
  2. package/build/{cjs/src/blog-v1-blog-cache-blog-cache.universal.d.ts → blog-v1-blog-cache-blog-cache.universal-CTlpJiq7.d.ts} +50 -60
  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-CTlpJiq7.d.mts} +50 -60
  10. package/build/{es/src/blog-v1-blog-cache-blog-cache.universal.d.ts → internal/blog-v1-blog-cache-blog-cache.universal-CTlpJiq7.d.ts} +50 -60
  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 +373 -0
  18. package/build/internal/meta.d.ts +373 -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 +373 -0
  24. package/build/meta.d.ts +373 -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 +12 -11
  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 -712
  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 -712
  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 -712
  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 -712
  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,6 +1,5 @@
1
- import { NonNullablePaths } from '@wix/sdk-types';
2
1
  /** BlogCache is the main entity of BlogCacheService */
3
- export interface BlogCache {
2
+ interface BlogCache {
4
3
  /**
5
4
  * MetaSite ID.
6
5
  * @format GUID
@@ -19,7 +18,7 @@ export interface BlogCache {
19
18
  */
20
19
  _updatedDate?: Date | null;
21
20
  }
22
- export interface SiteSupportedLanguage {
21
+ interface SiteSupportedLanguage {
23
22
  /**
24
23
  * Language code
25
24
  * @format LANGUAGE
@@ -32,7 +31,7 @@ export interface SiteSupportedLanguage {
32
31
  /** Resolution method. */
33
32
  resolutionMethod?: ResolutionMethodWithLiterals;
34
33
  }
35
- export declare enum LocaleStatus {
34
+ declare enum LocaleStatus {
36
35
  /** Value not specified */
37
36
  UNDEFINED_STATUS = "UNDEFINED_STATUS",
38
37
  /** Locale was added to site but was not activated */
@@ -43,8 +42,8 @@ export declare enum LocaleStatus {
43
42
  DEFAULT = "DEFAULT"
44
43
  }
45
44
  /** @enumType */
46
- export type LocaleStatusWithLiterals = LocaleStatus | 'UNDEFINED_STATUS' | 'INACTIVE' | 'ACTIVE' | 'DEFAULT';
47
- export declare enum Flag {
45
+ type LocaleStatusWithLiterals = LocaleStatus | 'UNDEFINED_STATUS' | 'INACTIVE' | 'ACTIVE' | 'DEFAULT';
46
+ declare enum Flag {
48
47
  UNDEFINED_FLAG_CODE = "UNDEFINED_FLAG_CODE",
49
48
  AFG = "AFG",
50
49
  AGO = "AGO",
@@ -294,15 +293,15 @@ export declare enum Flag {
294
293
  ZWE = "ZWE"
295
294
  }
296
295
  /** @enumType */
297
- export type FlagWithLiterals = Flag | 'UNDEFINED_FLAG_CODE' | 'AFG' | 'AGO' | 'AIA' | 'ALA' | 'ALB' | 'AND' | 'ARE' | 'ARG' | 'ARM' | 'ASM' | 'ATF' | 'ATG' | 'AUS' | 'AUT' | 'AZE' | 'BDI' | 'BEL' | 'BEN' | 'BES' | 'BFA' | 'BGD' | 'BGR' | 'BHR' | 'BHS' | 'BIH' | 'BLM' | 'BLR' | 'BLZ' | 'BMU' | 'BOL' | 'BRA' | 'BRB' | 'BRN' | 'BRT' | 'BTN' | 'BWA' | 'CAF' | 'CAN' | 'CAT' | 'CHE' | 'CHL' | 'CHN' | 'CIV' | 'CMR' | 'COD' | 'COG' | 'COL' | 'COM' | 'COR' | 'CPV' | 'CRI' | 'CUB' | 'CUW' | 'CYM' | 'CZE' | 'DEU' | 'DJI' | 'DMA' | 'DNK' | 'DOM' | 'DZA' | 'ECU' | 'EGY' | 'ERI' | 'ESP' | 'EST' | 'ETH' | 'EUR' | 'EUS' | 'FIN' | 'FJI' | 'FLK' | 'FRA' | 'FRO' | 'FSM' | 'GAB' | 'GBR' | 'GEO' | 'GGY' | 'GHA' | 'GIB' | 'GIN' | 'GLG' | 'GLO' | 'GLP' | 'GMB' | 'GNB' | 'GNQ' | 'GRC' | 'GRD' | 'GRL' | 'GTM' | 'GUM' | 'GUY' | 'HKG' | 'HND' | 'HRV' | 'HTI' | 'HUN' | 'IDN' | 'IMN' | 'IND' | 'IOT' | 'IRL' | 'IRN' | 'IRQ' | 'ISL' | 'ISR' | 'ITA' | 'JAM' | 'JEY' | 'JOR' | 'JPN' | 'KAZ' | 'KEN' | 'KGZ' | 'KHM' | 'KIR' | 'KNA' | 'KOR' | 'KUR' | 'KWT' | 'LAO' | 'LBN' | 'LBR' | 'LBY' | 'LCA' | 'LIE' | 'LKA' | 'LSO' | 'LTU' | 'LUX' | 'LVA' | 'MAC' | 'MAF' | 'MAR' | 'MCO' | 'MDA' | 'MDG' | 'MDV' | 'MEX' | 'MHL' | 'MKD' | 'MLI' | 'MLT' | 'MMR' | 'MNE' | 'MNG' | 'MNP' | 'MOZ' | 'MRT' | 'MSR' | 'MTQ' | 'MWI' | 'MYS' | 'MYT' | 'NAM' | 'NCL' | 'NER' | 'NFK' | 'NGA' | 'NIC' | 'NIU' | 'NLD' | 'NOR' | 'NPL' | 'NRU' | 'NZL' | 'OMN' | 'PAK' | 'PAN' | 'PCN' | 'PER' | 'PHL' | 'PLW' | 'PNG' | 'POL' | 'PRI' | 'PRK' | 'PRT' | 'PRY' | 'PSE' | 'PYF' | 'QAT' | 'REU' | 'ROU' | 'RUS' | 'RWA' | 'SAU' | 'SDN' | 'SEN' | 'SGP' | 'SGS' | 'SHN' | 'SJM' | 'SLB' | 'SLE' | 'SLV' | 'SMR' | 'SOM' | 'SPM' | 'SRB' | 'SSD' | 'STP' | 'SUR' | 'SVK' | 'SVN' | 'SWE' | 'SWZ' | 'SXM' | 'SYC' | 'SYR' | 'TCA' | 'TCD' | 'TGO' | 'THA' | 'TJK' | 'TKL' | 'TKM' | 'TLS' | 'TON' | 'TTO' | 'TUN' | 'TUR' | 'TUV' | 'TWN' | 'TZA' | 'UGA' | 'UKR' | 'URY' | 'USA' | 'UZB' | 'VAT' | 'VCT' | 'VEN' | 'VGB' | 'VIR' | 'VLC' | 'VNM' | 'VUT' | 'WLF' | 'WLS' | 'YEM' | 'ZAF' | 'ZMB' | 'ZWE';
298
- export declare enum ResolutionMethod {
296
+ type FlagWithLiterals = Flag | 'UNDEFINED_FLAG_CODE' | 'AFG' | 'AGO' | 'AIA' | 'ALA' | 'ALB' | 'AND' | 'ARE' | 'ARG' | 'ARM' | 'ASM' | 'ATF' | 'ATG' | 'AUS' | 'AUT' | 'AZE' | 'BDI' | 'BEL' | 'BEN' | 'BES' | 'BFA' | 'BGD' | 'BGR' | 'BHR' | 'BHS' | 'BIH' | 'BLM' | 'BLR' | 'BLZ' | 'BMU' | 'BOL' | 'BRA' | 'BRB' | 'BRN' | 'BRT' | 'BTN' | 'BWA' | 'CAF' | 'CAN' | 'CAT' | 'CHE' | 'CHL' | 'CHN' | 'CIV' | 'CMR' | 'COD' | 'COG' | 'COL' | 'COM' | 'COR' | 'CPV' | 'CRI' | 'CUB' | 'CUW' | 'CYM' | 'CZE' | 'DEU' | 'DJI' | 'DMA' | 'DNK' | 'DOM' | 'DZA' | 'ECU' | 'EGY' | 'ERI' | 'ESP' | 'EST' | 'ETH' | 'EUR' | 'EUS' | 'FIN' | 'FJI' | 'FLK' | 'FRA' | 'FRO' | 'FSM' | 'GAB' | 'GBR' | 'GEO' | 'GGY' | 'GHA' | 'GIB' | 'GIN' | 'GLG' | 'GLO' | 'GLP' | 'GMB' | 'GNB' | 'GNQ' | 'GRC' | 'GRD' | 'GRL' | 'GTM' | 'GUM' | 'GUY' | 'HKG' | 'HND' | 'HRV' | 'HTI' | 'HUN' | 'IDN' | 'IMN' | 'IND' | 'IOT' | 'IRL' | 'IRN' | 'IRQ' | 'ISL' | 'ISR' | 'ITA' | 'JAM' | 'JEY' | 'JOR' | 'JPN' | 'KAZ' | 'KEN' | 'KGZ' | 'KHM' | 'KIR' | 'KNA' | 'KOR' | 'KUR' | 'KWT' | 'LAO' | 'LBN' | 'LBR' | 'LBY' | 'LCA' | 'LIE' | 'LKA' | 'LSO' | 'LTU' | 'LUX' | 'LVA' | 'MAC' | 'MAF' | 'MAR' | 'MCO' | 'MDA' | 'MDG' | 'MDV' | 'MEX' | 'MHL' | 'MKD' | 'MLI' | 'MLT' | 'MMR' | 'MNE' | 'MNG' | 'MNP' | 'MOZ' | 'MRT' | 'MSR' | 'MTQ' | 'MWI' | 'MYS' | 'MYT' | 'NAM' | 'NCL' | 'NER' | 'NFK' | 'NGA' | 'NIC' | 'NIU' | 'NLD' | 'NOR' | 'NPL' | 'NRU' | 'NZL' | 'OMN' | 'PAK' | 'PAN' | 'PCN' | 'PER' | 'PHL' | 'PLW' | 'PNG' | 'POL' | 'PRI' | 'PRK' | 'PRT' | 'PRY' | 'PSE' | 'PYF' | 'QAT' | 'REU' | 'ROU' | 'RUS' | 'RWA' | 'SAU' | 'SDN' | 'SEN' | 'SGP' | 'SGS' | 'SHN' | 'SJM' | 'SLB' | 'SLE' | 'SLV' | 'SMR' | 'SOM' | 'SPM' | 'SRB' | 'SSD' | 'STP' | 'SUR' | 'SVK' | 'SVN' | 'SWE' | 'SWZ' | 'SXM' | 'SYC' | 'SYR' | 'TCA' | 'TCD' | 'TGO' | 'THA' | 'TJK' | 'TKL' | 'TKM' | 'TLS' | 'TON' | 'TTO' | 'TUN' | 'TUR' | 'TUV' | 'TWN' | 'TZA' | 'UGA' | 'UKR' | 'URY' | 'USA' | 'UZB' | 'VAT' | 'VCT' | 'VEN' | 'VGB' | 'VIR' | 'VLC' | 'VNM' | 'VUT' | 'WLF' | 'WLS' | 'YEM' | 'ZAF' | 'ZMB' | 'ZWE';
297
+ declare enum ResolutionMethod {
299
298
  QUERY_PARAM = "QUERY_PARAM",
300
299
  SUBDOMAIN = "SUBDOMAIN",
301
300
  SUBDIRECTORY = "SUBDIRECTORY"
302
301
  }
303
302
  /** @enumType */
304
- export type ResolutionMethodWithLiterals = ResolutionMethod | 'QUERY_PARAM' | 'SUBDOMAIN' | 'SUBDIRECTORY';
305
- export interface PagesData {
303
+ type ResolutionMethodWithLiterals = ResolutionMethod | 'QUERY_PARAM' | 'SUBDOMAIN' | 'SUBDIRECTORY';
304
+ interface PagesData {
306
305
  /** Blog page. */
307
306
  blogPage?: PageInfo;
308
307
  /** Post page. */
@@ -314,7 +313,7 @@ export interface PagesData {
314
313
  */
315
314
  sitePrimaryUrl?: string | null;
316
315
  }
317
- export interface PageInfo {
316
+ interface PageInfo {
318
317
  /** Title. */
319
318
  title?: string;
320
319
  /** Page ID. */
@@ -340,7 +339,7 @@ export interface PageInfo {
340
339
  /** Platform apps. */
341
340
  platformApps?: string[];
342
341
  }
343
- export interface SiteProperties {
342
+ interface SiteProperties {
344
343
  /** Business name. */
345
344
  businessName?: string | null;
346
345
  /** Business logo. */
@@ -350,14 +349,14 @@ export interface SiteProperties {
350
349
  /** Description. */
351
350
  description?: string | null;
352
351
  }
353
- export interface GetBlogCacheRequest {
352
+ interface GetBlogCacheRequest {
354
353
  }
355
- export interface GetBlogCacheResponse {
354
+ interface GetBlogCacheResponse {
356
355
  /** Blog cache. */
357
356
  blogCache?: BlogCache;
358
357
  }
359
358
  /** Encapsulates all details written to the Greyhound topic when a site's properties are updated. */
360
- export interface SitePropertiesNotification {
359
+ interface SitePropertiesNotification {
361
360
  /** The site ID for which this update notification applies. */
362
361
  metasiteId?: string;
363
362
  /** The actual update event. */
@@ -371,7 +370,7 @@ export interface SitePropertiesNotification {
371
370
  changeContext?: ChangeContext;
372
371
  }
373
372
  /** The actual update event for a particular notification. */
374
- export interface SitePropertiesEvent {
373
+ interface SitePropertiesEvent {
375
374
  /** Version of the site's properties represented by this update. */
376
375
  version?: number;
377
376
  /** Set of properties that were updated - corresponds to the fields in "properties". */
@@ -379,7 +378,7 @@ export interface SitePropertiesEvent {
379
378
  /** Updated properties. */
380
379
  properties?: Properties;
381
380
  }
382
- export interface Properties {
381
+ interface Properties {
383
382
  /** Site categories. */
384
383
  categories?: Categories;
385
384
  /** Site locale. */
@@ -435,7 +434,7 @@ export interface Properties {
435
434
  /** Track clicks analytics. */
436
435
  trackClicksAnalytics?: boolean;
437
436
  }
438
- export interface Categories {
437
+ interface Categories {
439
438
  /** Primary site category. */
440
439
  primary?: string;
441
440
  /**
@@ -446,13 +445,13 @@ export interface Categories {
446
445
  /** Business Term Id */
447
446
  businessTermId?: string | null;
448
447
  }
449
- export interface Locale {
448
+ interface Locale {
450
449
  /** Two-letter language code in [ISO 639-1 alpha-2](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) format. */
451
450
  languageCode?: string;
452
451
  /** Two-letter country code in [ISO-3166 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2#Officially_assigned_code_elements) format. */
453
452
  country?: string;
454
453
  }
455
- export interface Address {
454
+ interface Address {
456
455
  /** Street name. */
457
456
  street?: string;
458
457
  /** City name. */
@@ -484,29 +483,29 @@ export interface Address {
484
483
  * This is used for display purposes. Used to add additional data about the address, such as "In the passage".
485
484
  * Free text. In addition, the user can state where to display the additional description - before, after, or instead of the address string.
486
485
  */
487
- export interface AddressHint {
486
+ interface AddressHint {
488
487
  /** Extra text displayed next to, or instead of, the actual address. */
489
488
  text?: string;
490
489
  /** Where the extra text should be displayed. */
491
490
  placement?: PlacementTypeWithLiterals;
492
491
  }
493
492
  /** Where the extra text should be displayed: before, after or instead of the actual address. */
494
- export declare enum PlacementType {
493
+ declare enum PlacementType {
495
494
  BEFORE = "BEFORE",
496
495
  AFTER = "AFTER",
497
496
  REPLACE = "REPLACE"
498
497
  }
499
498
  /** @enumType */
500
- export type PlacementTypeWithLiterals = PlacementType | 'BEFORE' | 'AFTER' | 'REPLACE';
499
+ type PlacementTypeWithLiterals = PlacementType | 'BEFORE' | 'AFTER' | 'REPLACE';
501
500
  /** Geocoordinates for a particular address. */
502
- export interface GeoCoordinates {
501
+ interface GeoCoordinates {
503
502
  /** Latitude of the location. Must be between -90 and 90. */
504
503
  latitude?: number;
505
504
  /** Longitude of the location. Must be between -180 and 180. */
506
505
  longitude?: number;
507
506
  }
508
507
  /** Business schedule. Regular and exceptional time periods when the business is open or the service is available. */
509
- export interface BusinessSchedule {
508
+ interface BusinessSchedule {
510
509
  /**
511
510
  * Weekly recurring time periods when the business is regularly open or the service is available. Limited to 100 time periods.
512
511
  * @maxSize 100
@@ -519,7 +518,7 @@ export interface BusinessSchedule {
519
518
  specialHourPeriod?: SpecialHourPeriod[];
520
519
  }
521
520
  /** Weekly recurring time periods when the business is regularly open or the service is available. */
522
- export interface TimePeriod {
521
+ interface TimePeriod {
523
522
  /** Day of the week the period starts on. */
524
523
  openDay?: DayOfWeekWithLiterals;
525
524
  /**
@@ -538,7 +537,7 @@ export interface TimePeriod {
538
537
  closeTime?: string;
539
538
  }
540
539
  /** Enumerates the days of the week. */
541
- export declare enum DayOfWeek {
540
+ declare enum DayOfWeek {
542
541
  MONDAY = "MONDAY",
543
542
  TUESDAY = "TUESDAY",
544
543
  WEDNESDAY = "WEDNESDAY",
@@ -548,9 +547,9 @@ export declare enum DayOfWeek {
548
547
  SUNDAY = "SUNDAY"
549
548
  }
550
549
  /** @enumType */
551
- export type DayOfWeekWithLiterals = DayOfWeek | 'MONDAY' | 'TUESDAY' | 'WEDNESDAY' | 'THURSDAY' | 'FRIDAY' | 'SATURDAY' | 'SUNDAY';
550
+ type DayOfWeekWithLiterals = DayOfWeek | 'MONDAY' | 'TUESDAY' | 'WEDNESDAY' | 'THURSDAY' | 'FRIDAY' | 'SATURDAY' | 'SUNDAY';
552
551
  /** Exception to the business's regular hours. The business can be open or closed during the exception. */
553
- export interface SpecialHourPeriod {
552
+ interface SpecialHourPeriod {
554
553
  /** 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). */
555
554
  startDate?: string;
556
555
  /** 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). */
@@ -564,7 +563,7 @@ export interface SpecialHourPeriod {
564
563
  /** Additional info about the exception. For example, "We close earlier on New Year's Eve." */
565
564
  comment?: string;
566
565
  }
567
- export interface Multilingual {
566
+ interface Multilingual {
568
567
  /**
569
568
  * Supported languages list.
570
569
  * @maxSize 200
@@ -573,7 +572,7 @@ export interface Multilingual {
573
572
  /** Whether to redirect to user language. */
574
573
  autoRedirect?: boolean;
575
574
  }
576
- export interface SupportedLanguage {
575
+ interface SupportedLanguage {
577
576
  /** Two-letter language code in [ISO 639-1 alpha-2](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) format. */
578
577
  languageCode?: string;
579
578
  /** Locale. */
@@ -584,8 +583,10 @@ export interface SupportedLanguage {
584
583
  countryCode?: string;
585
584
  /** How the language will be resolved. For internal use. */
586
585
  resolutionMethod?: ResolutionMethodWithLiterals;
586
+ /** Whether the supported language is the primary language for site visitors. */
587
+ isVisitorPrimary?: boolean | null;
587
588
  }
588
- export interface ConsentPolicy {
589
+ interface ConsentPolicy {
589
590
  /** Whether the site uses cookies that are essential to site operation. Always `true`. */
590
591
  essential?: boolean | null;
591
592
  /** Whether the site uses cookies that affect site performance and other functional measurements. */
@@ -598,7 +599,7 @@ export interface ConsentPolicy {
598
599
  dataToThirdParty?: boolean | null;
599
600
  }
600
601
  /** A single mapping from the MetaSite ID to a particular service. */
601
- export interface Translation {
602
+ interface Translation {
602
603
  /** The service type. */
603
604
  serviceType?: string;
604
605
  /** The application definition ID; this only applies to services of type ThirdPartyApps. */
@@ -606,7 +607,7 @@ export interface Translation {
606
607
  /** The instance ID of the service. */
607
608
  instanceId?: string;
608
609
  }
609
- export interface ChangeContext extends ChangeContextPayloadOneOf {
610
+ interface ChangeContext extends ChangeContextPayloadOneOf {
610
611
  /** Properties were updated. */
611
612
  propertiesChange?: PropertiesChange;
612
613
  /** Default properties were created on site creation. */
@@ -615,7 +616,7 @@ export interface ChangeContext extends ChangeContextPayloadOneOf {
615
616
  siteCloned?: SiteCloned;
616
617
  }
617
618
  /** @oneof */
618
- export interface ChangeContextPayloadOneOf {
619
+ interface ChangeContextPayloadOneOf {
619
620
  /** Properties were updated. */
620
621
  propertiesChange?: PropertiesChange;
621
622
  /** Default properties were created on site creation. */
@@ -623,19 +624,19 @@ export interface ChangeContextPayloadOneOf {
623
624
  /** Properties were cloned on site cloning. */
624
625
  siteCloned?: SiteCloned;
625
626
  }
626
- export interface PropertiesChange {
627
+ interface PropertiesChange {
627
628
  }
628
- export interface SiteCreated {
629
+ interface SiteCreated {
629
630
  /** Origin template site id. */
630
631
  originTemplateId?: string | null;
631
632
  }
632
- export interface SiteCloned {
633
+ interface SiteCloned {
633
634
  /** Origin site id. */
634
635
  originMetaSiteId?: string;
635
636
  }
636
- export interface Empty {
637
+ interface Empty {
637
638
  }
638
- export interface UrlInvalidationNotification {
639
+ interface UrlInvalidationNotification {
639
640
  /**
640
641
  * Blog instance id.
641
642
  * @format GUID
@@ -647,7 +648,7 @@ export interface UrlInvalidationNotification {
647
648
  */
648
649
  metaSiteId?: string | null;
649
650
  }
650
- export interface DomainEvent extends DomainEventBodyOneOf {
651
+ interface DomainEvent extends DomainEventBodyOneOf {
651
652
  createdEvent?: EntityCreatedEvent;
652
653
  updatedEvent?: EntityUpdatedEvent;
653
654
  deletedEvent?: EntityDeletedEvent;
@@ -682,19 +683,19 @@ export interface DomainEvent extends DomainEventBodyOneOf {
682
683
  entityEventSequence?: string | null;
683
684
  }
684
685
  /** @oneof */
685
- export interface DomainEventBodyOneOf {
686
+ interface DomainEventBodyOneOf {
686
687
  createdEvent?: EntityCreatedEvent;
687
688
  updatedEvent?: EntityUpdatedEvent;
688
689
  deletedEvent?: EntityDeletedEvent;
689
690
  actionEvent?: ActionEvent;
690
691
  }
691
- export interface EntityCreatedEvent {
692
+ interface EntityCreatedEvent {
692
693
  entity?: string;
693
694
  }
694
- export interface RestoreInfo {
695
+ interface RestoreInfo {
695
696
  deletedDate?: Date | null;
696
697
  }
697
- export interface EntityUpdatedEvent {
698
+ interface EntityUpdatedEvent {
698
699
  /**
699
700
  * Since platformized APIs only expose PATCH and not PUT we can't assume that the fields sent from the client are the actual diff.
700
701
  * This means that to generate a list of changed fields (as opposed to sent fields) one needs to traverse both objects.
@@ -702,23 +703,12 @@ export interface EntityUpdatedEvent {
702
703
  */
703
704
  currentEntity?: string;
704
705
  }
705
- export interface EntityDeletedEvent {
706
+ interface EntityDeletedEvent {
706
707
  /** Entity that was deleted. */
707
708
  deletedEntity?: string | null;
708
709
  }
709
- export interface ActionEvent {
710
+ interface ActionEvent {
710
711
  body?: string;
711
712
  }
712
- type BlogCacheNonNullablePaths = `siteSupportedLanguages` | `siteSupportedLanguages.${number}.languageCode` | `siteSupportedLanguages.${number}.status` | `siteSupportedLanguages.${number}.flag` | `siteSupportedLanguages.${number}.resolutionMethod` | `pagesData.blogPage.title` | `pagesData.blogPage.pageId` | `pagesData.blogPage.hidden` | `pagesData.blogPage.path` | `pagesData.blogPage.url` | `pagesData.blogPage.isSmProtected` | `pagesData.blogPage.isDynamic` | `pagesData.blogPage.platformApps`;
713
- /**
714
- * Gets blog cache.
715
- * @public
716
- * @documentationMaturity preview
717
- * @permissionId BLOG.READ_SETTINGS
718
- * @applicableIdentity VISITOR
719
- * @fqn wix.blog.v1.BlogCacheService.GetBlogCache
720
- */
721
- export declare function getBlogCache(): Promise<NonNullablePaths<GetBlogCacheResponse, {
722
- [P in BlogCacheNonNullablePaths]: `blogCache.${P}`;
723
- }[BlogCacheNonNullablePaths]>>;
724
- export {};
713
+
714
+ 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 };