@wix/auto_sdk_blog_blog-cache 1.0.13 → 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} +48 -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} +48 -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} +48 -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} +48 -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 -714
  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 -714
  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 -714
  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 -714
  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,714 +0,0 @@
1
- /** BlogCache is the main entity of BlogCacheService */
2
- export interface BlogCache {
3
- /**
4
- * MetaSite ID.
5
- * @format GUID
6
- * @readonly
7
- */
8
- id?: string | null;
9
- /** Site supported languages. */
10
- siteSupportedLanguages?: SiteSupportedLanguage[];
11
- /** Pages data. */
12
- pagesData?: PagesData;
13
- /** Site properties. */
14
- siteProperties?: SiteProperties;
15
- /**
16
- * Date the blog cache was last updated
17
- * @readonly
18
- */
19
- updatedDate?: Date | null;
20
- }
21
- export interface SiteSupportedLanguage {
22
- /**
23
- * Language code
24
- * @format LANGUAGE
25
- */
26
- languageCode?: string;
27
- /** Locale status. */
28
- status?: LocaleStatusWithLiterals;
29
- /** Flag code. */
30
- flag?: FlagWithLiterals;
31
- /** Resolution method. */
32
- resolutionMethod?: ResolutionMethodWithLiterals;
33
- }
34
- export declare enum LocaleStatus {
35
- /** Value not specified */
36
- UNDEFINED_STATUS = "UNDEFINED_STATUS",
37
- /** Locale was added to site but was not activated */
38
- INACTIVE = "INACTIVE",
39
- /** Locale was added to site and activated */
40
- ACTIVE = "ACTIVE",
41
- /** Default locale (always active) */
42
- DEFAULT = "DEFAULT"
43
- }
44
- /** @enumType */
45
- export type LocaleStatusWithLiterals = LocaleStatus | 'UNDEFINED_STATUS' | 'INACTIVE' | 'ACTIVE' | 'DEFAULT';
46
- export declare enum Flag {
47
- UNDEFINED_FLAG_CODE = "UNDEFINED_FLAG_CODE",
48
- AFG = "AFG",
49
- AGO = "AGO",
50
- AIA = "AIA",
51
- ALA = "ALA",
52
- ALB = "ALB",
53
- AND = "AND",
54
- ARE = "ARE",
55
- ARG = "ARG",
56
- ARM = "ARM",
57
- ASM = "ASM",
58
- ATF = "ATF",
59
- ATG = "ATG",
60
- AUS = "AUS",
61
- AUT = "AUT",
62
- AZE = "AZE",
63
- BDI = "BDI",
64
- BEL = "BEL",
65
- BEN = "BEN",
66
- BES = "BES",
67
- BFA = "BFA",
68
- BGD = "BGD",
69
- BGR = "BGR",
70
- BHR = "BHR",
71
- BHS = "BHS",
72
- BIH = "BIH",
73
- BLM = "BLM",
74
- BLR = "BLR",
75
- BLZ = "BLZ",
76
- BMU = "BMU",
77
- BOL = "BOL",
78
- BRA = "BRA",
79
- BRB = "BRB",
80
- BRN = "BRN",
81
- BRT = "BRT",
82
- BTN = "BTN",
83
- BWA = "BWA",
84
- CAF = "CAF",
85
- CAN = "CAN",
86
- CAT = "CAT",
87
- CHE = "CHE",
88
- CHL = "CHL",
89
- CHN = "CHN",
90
- CIV = "CIV",
91
- CMR = "CMR",
92
- COD = "COD",
93
- COG = "COG",
94
- COL = "COL",
95
- COM = "COM",
96
- COR = "COR",
97
- CPV = "CPV",
98
- CRI = "CRI",
99
- CUB = "CUB",
100
- CUW = "CUW",
101
- CYM = "CYM",
102
- CZE = "CZE",
103
- DEU = "DEU",
104
- DJI = "DJI",
105
- DMA = "DMA",
106
- DNK = "DNK",
107
- DOM = "DOM",
108
- DZA = "DZA",
109
- ECU = "ECU",
110
- EGY = "EGY",
111
- ERI = "ERI",
112
- ESP = "ESP",
113
- EST = "EST",
114
- ETH = "ETH",
115
- EUR = "EUR",
116
- EUS = "EUS",
117
- FIN = "FIN",
118
- FJI = "FJI",
119
- FLK = "FLK",
120
- FRA = "FRA",
121
- FRO = "FRO",
122
- FSM = "FSM",
123
- GAB = "GAB",
124
- GBR = "GBR",
125
- GEO = "GEO",
126
- GGY = "GGY",
127
- GHA = "GHA",
128
- GIB = "GIB",
129
- GIN = "GIN",
130
- GLG = "GLG",
131
- GLO = "GLO",
132
- GLP = "GLP",
133
- GMB = "GMB",
134
- GNB = "GNB",
135
- GNQ = "GNQ",
136
- GRC = "GRC",
137
- GRD = "GRD",
138
- GRL = "GRL",
139
- GTM = "GTM",
140
- GUM = "GUM",
141
- GUY = "GUY",
142
- HKG = "HKG",
143
- HND = "HND",
144
- HRV = "HRV",
145
- HTI = "HTI",
146
- HUN = "HUN",
147
- IDN = "IDN",
148
- IMN = "IMN",
149
- IND = "IND",
150
- IOT = "IOT",
151
- IRL = "IRL",
152
- IRN = "IRN",
153
- IRQ = "IRQ",
154
- ISL = "ISL",
155
- ISR = "ISR",
156
- ITA = "ITA",
157
- JAM = "JAM",
158
- JEY = "JEY",
159
- JOR = "JOR",
160
- JPN = "JPN",
161
- KAZ = "KAZ",
162
- KEN = "KEN",
163
- KGZ = "KGZ",
164
- KHM = "KHM",
165
- KIR = "KIR",
166
- KNA = "KNA",
167
- KOR = "KOR",
168
- KUR = "KUR",
169
- KWT = "KWT",
170
- LAO = "LAO",
171
- LBN = "LBN",
172
- LBR = "LBR",
173
- LBY = "LBY",
174
- LCA = "LCA",
175
- LIE = "LIE",
176
- LKA = "LKA",
177
- LSO = "LSO",
178
- LTU = "LTU",
179
- LUX = "LUX",
180
- LVA = "LVA",
181
- MAC = "MAC",
182
- MAF = "MAF",
183
- MAR = "MAR",
184
- MCO = "MCO",
185
- MDA = "MDA",
186
- MDG = "MDG",
187
- MDV = "MDV",
188
- MEX = "MEX",
189
- MHL = "MHL",
190
- MKD = "MKD",
191
- MLI = "MLI",
192
- MLT = "MLT",
193
- MMR = "MMR",
194
- MNE = "MNE",
195
- MNG = "MNG",
196
- MNP = "MNP",
197
- MOZ = "MOZ",
198
- MRT = "MRT",
199
- MSR = "MSR",
200
- MTQ = "MTQ",
201
- MWI = "MWI",
202
- MYS = "MYS",
203
- MYT = "MYT",
204
- NAM = "NAM",
205
- NCL = "NCL",
206
- NER = "NER",
207
- NFK = "NFK",
208
- NGA = "NGA",
209
- NIC = "NIC",
210
- NIU = "NIU",
211
- NLD = "NLD",
212
- NOR = "NOR",
213
- NPL = "NPL",
214
- NRU = "NRU",
215
- NZL = "NZL",
216
- OMN = "OMN",
217
- PAK = "PAK",
218
- PAN = "PAN",
219
- PCN = "PCN",
220
- PER = "PER",
221
- PHL = "PHL",
222
- PLW = "PLW",
223
- PNG = "PNG",
224
- POL = "POL",
225
- PRI = "PRI",
226
- PRK = "PRK",
227
- PRT = "PRT",
228
- PRY = "PRY",
229
- PSE = "PSE",
230
- PYF = "PYF",
231
- QAT = "QAT",
232
- REU = "REU",
233
- ROU = "ROU",
234
- RUS = "RUS",
235
- RWA = "RWA",
236
- SAU = "SAU",
237
- SDN = "SDN",
238
- SEN = "SEN",
239
- SGP = "SGP",
240
- SGS = "SGS",
241
- SHN = "SHN",
242
- SJM = "SJM",
243
- SLB = "SLB",
244
- SLE = "SLE",
245
- SLV = "SLV",
246
- SMR = "SMR",
247
- SOM = "SOM",
248
- SPM = "SPM",
249
- SRB = "SRB",
250
- SSD = "SSD",
251
- STP = "STP",
252
- SUR = "SUR",
253
- SVK = "SVK",
254
- SVN = "SVN",
255
- SWE = "SWE",
256
- SWZ = "SWZ",
257
- SXM = "SXM",
258
- SYC = "SYC",
259
- SYR = "SYR",
260
- TCA = "TCA",
261
- TCD = "TCD",
262
- TGO = "TGO",
263
- THA = "THA",
264
- TJK = "TJK",
265
- TKL = "TKL",
266
- TKM = "TKM",
267
- TLS = "TLS",
268
- TON = "TON",
269
- TTO = "TTO",
270
- TUN = "TUN",
271
- TUR = "TUR",
272
- TUV = "TUV",
273
- TWN = "TWN",
274
- TZA = "TZA",
275
- UGA = "UGA",
276
- UKR = "UKR",
277
- URY = "URY",
278
- USA = "USA",
279
- UZB = "UZB",
280
- VAT = "VAT",
281
- VCT = "VCT",
282
- VEN = "VEN",
283
- VGB = "VGB",
284
- VIR = "VIR",
285
- VLC = "VLC",
286
- VNM = "VNM",
287
- VUT = "VUT",
288
- WLF = "WLF",
289
- WLS = "WLS",
290
- YEM = "YEM",
291
- ZAF = "ZAF",
292
- ZMB = "ZMB",
293
- ZWE = "ZWE"
294
- }
295
- /** @enumType */
296
- 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';
297
- export declare enum ResolutionMethod {
298
- QUERY_PARAM = "QUERY_PARAM",
299
- SUBDOMAIN = "SUBDOMAIN",
300
- SUBDIRECTORY = "SUBDIRECTORY"
301
- }
302
- /** @enumType */
303
- export type ResolutionMethodWithLiterals = ResolutionMethod | 'QUERY_PARAM' | 'SUBDOMAIN' | 'SUBDIRECTORY';
304
- export interface PagesData {
305
- /** Blog page. */
306
- blogPage?: PageInfo;
307
- /** Post page. */
308
- postPage?: PageInfo;
309
- /**
310
- * Site primary url.
311
- * @format WEB_URL
312
- * @readonly
313
- */
314
- sitePrimaryUrl?: string | null;
315
- }
316
- export interface PageInfo {
317
- /** Title. */
318
- title?: string;
319
- /** Page ID. */
320
- pageId?: string;
321
- /** Is hidden. */
322
- hidden?: boolean;
323
- /** Path. */
324
- path?: string;
325
- /** TPA page ID. */
326
- tpaPageId?: string | null;
327
- /** TPA embedded service ID. */
328
- tpaEmbeddedServiceId?: number | null;
329
- /** TPA app ID. */
330
- tpaAppId?: string | null;
331
- /** Page URL. */
332
- url?: string;
333
- /** Hidden path. */
334
- hiddenPath?: string | null;
335
- /** Is SM protected. */
336
- isSmProtected?: boolean;
337
- /** Is dynamic. */
338
- isDynamic?: boolean;
339
- /** Platform apps. */
340
- platformApps?: string[];
341
- }
342
- export interface SiteProperties {
343
- /** Business name. */
344
- businessName?: string | null;
345
- /** Business logo. */
346
- logo?: string | null;
347
- /** Site display name. */
348
- siteDisplayName?: string | null;
349
- /** Description. */
350
- description?: string | null;
351
- }
352
- export interface GetBlogCacheRequest {
353
- }
354
- export interface GetBlogCacheResponse {
355
- /** Blog cache. */
356
- blogCache?: BlogCache;
357
- }
358
- /** Encapsulates all details written to the Greyhound topic when a site's properties are updated. */
359
- export interface SitePropertiesNotification {
360
- /** The site ID for which this update notification applies. */
361
- metasiteId?: string;
362
- /** The actual update event. */
363
- event?: SitePropertiesEvent;
364
- /**
365
- * A convenience set of mappings from the MetaSite ID to its constituent services.
366
- * @maxSize 500
367
- */
368
- translations?: Translation[];
369
- /** Context of the notification */
370
- changeContext?: ChangeContext;
371
- }
372
- /** The actual update event for a particular notification. */
373
- export interface SitePropertiesEvent {
374
- /** Version of the site's properties represented by this update. */
375
- version?: number;
376
- /** Set of properties that were updated - corresponds to the fields in "properties". */
377
- fields?: string[];
378
- /** Updated properties. */
379
- properties?: Properties;
380
- }
381
- export interface Properties {
382
- /** Site categories. */
383
- categories?: Categories;
384
- /** Site locale. */
385
- locale?: Locale;
386
- /**
387
- * Site language.
388
- *
389
- * Two-letter language code in [ISO 639-1 alpha-2](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) format.
390
- */
391
- language?: string | null;
392
- /**
393
- * Site currency format used to bill customers.
394
- *
395
- * Three-letter currency code in [ISO-4217 alphabetic](https://en.wikipedia.org/wiki/ISO_4217#Active_codes) format.
396
- */
397
- paymentCurrency?: string | null;
398
- /** Timezone in `America/New_York` format. */
399
- timeZone?: string | null;
400
- /** Email address. */
401
- email?: string | null;
402
- /** Phone number. */
403
- phone?: string | null;
404
- /** Fax number. */
405
- fax?: string | null;
406
- /** Address. */
407
- address?: Address;
408
- /** Site display name. */
409
- siteDisplayName?: string | null;
410
- /** Business name. */
411
- businessName?: string | null;
412
- /** Path to the site's logo in Wix Media (without Wix Media base URL). */
413
- logo?: string | null;
414
- /** Site description. */
415
- description?: string | null;
416
- /**
417
- * Business schedule. Regular and exceptional time periods when the business is open or the service is available.
418
- *
419
- * __Note:__ Not supported by Wix Bookings.
420
- */
421
- businessSchedule?: BusinessSchedule;
422
- /** Supported languages of a site and the primary language. */
423
- multilingual?: Multilingual;
424
- /** Cookie policy the Wix user defined for their site (before the site visitor interacts with/limits it). */
425
- consentPolicy?: ConsentPolicy;
426
- /**
427
- * Supported values: `FITNESS SERVICE`, `RESTAURANT`, `BLOG`, `STORE`, `EVENT`, `UNKNOWN`.
428
- *
429
- * Site business type.
430
- */
431
- businessConfig?: string | null;
432
- /** External site URL that uses Wix as its headless business solution. */
433
- externalSiteUrl?: string | null;
434
- /** Track clicks analytics. */
435
- trackClicksAnalytics?: boolean;
436
- }
437
- export interface Categories {
438
- /** Primary site category. */
439
- primary?: string;
440
- /**
441
- * Secondary site category.
442
- * @maxSize 50
443
- */
444
- secondary?: string[];
445
- /** Business Term Id */
446
- businessTermId?: string | null;
447
- }
448
- export interface Locale {
449
- /** Two-letter language code in [ISO 639-1 alpha-2](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) format. */
450
- languageCode?: string;
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. */
452
- country?: string;
453
- }
454
- export interface Address {
455
- /** Street name. */
456
- street?: string;
457
- /** City name. */
458
- city?: string;
459
- /** Two-letter country code in an [ISO-3166 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) format. */
460
- country?: string;
461
- /** State. */
462
- state?: string;
463
- /**
464
- * Zip or postal code.
465
- * @maxLength 20
466
- */
467
- zip?: string;
468
- /** Extra information to be displayed in the address. */
469
- hint?: AddressHint;
470
- /** Whether this address represents a physical location. */
471
- isPhysical?: boolean;
472
- /** Google-formatted version of this address. */
473
- googleFormattedAddress?: string;
474
- /** Street number. */
475
- streetNumber?: string;
476
- /** Apartment number. */
477
- apartmentNumber?: string;
478
- /** Geographic coordinates of location. */
479
- coordinates?: GeoCoordinates;
480
- }
481
- /**
482
- * Extra information on displayed addresses.
483
- * This is used for display purposes. Used to add additional data about the address, such as "In the passage".
484
- * Free text. In addition, the user can state where to display the additional description - before, after, or instead of the address string.
485
- */
486
- export interface AddressHint {
487
- /** Extra text displayed next to, or instead of, the actual address. */
488
- text?: string;
489
- /** Where the extra text should be displayed. */
490
- placement?: PlacementTypeWithLiterals;
491
- }
492
- /** Where the extra text should be displayed: before, after or instead of the actual address. */
493
- export declare enum PlacementType {
494
- BEFORE = "BEFORE",
495
- AFTER = "AFTER",
496
- REPLACE = "REPLACE"
497
- }
498
- /** @enumType */
499
- export type PlacementTypeWithLiterals = PlacementType | 'BEFORE' | 'AFTER' | 'REPLACE';
500
- /** Geocoordinates for a particular address. */
501
- export interface GeoCoordinates {
502
- /** Latitude of the location. Must be between -90 and 90. */
503
- latitude?: number;
504
- /** Longitude of the location. Must be between -180 and 180. */
505
- longitude?: number;
506
- }
507
- /** Business schedule. Regular and exceptional time periods when the business is open or the service is available. */
508
- export interface BusinessSchedule {
509
- /**
510
- * Weekly recurring time periods when the business is regularly open or the service is available. Limited to 100 time periods.
511
- * @maxSize 100
512
- */
513
- periods?: TimePeriod[];
514
- /**
515
- * Exceptions to the business's regular hours. The business can be open or closed during the exception.
516
- * @maxSize 100
517
- */
518
- specialHourPeriod?: SpecialHourPeriod[];
519
- }
520
- /** Weekly recurring time periods when the business is regularly open or the service is available. */
521
- export interface TimePeriod {
522
- /** Day of the week the period starts on. */
523
- openDay?: DayOfWeekWithLiterals;
524
- /**
525
- * Time the period starts in 24-hour [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) extended format. Valid values are `00:00` to `24:00`, where `24:00` represents
526
- * midnight at the end of the specified day.
527
- */
528
- openTime?: string;
529
- /** Day of the week the period ends on. */
530
- closeDay?: DayOfWeekWithLiterals;
531
- /**
532
- * Time the period ends in 24-hour [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) extended format. Valid values are `00:00` to `24:00`, where `24:00` represents
533
- * midnight at the end of the specified day.
534
- *
535
- * __Note:__ If `openDay` and `closeDay` specify the same day of the week `closeTime` must be later than `openTime`.
536
- */
537
- closeTime?: string;
538
- }
539
- /** Enumerates the days of the week. */
540
- export declare enum DayOfWeek {
541
- MONDAY = "MONDAY",
542
- TUESDAY = "TUESDAY",
543
- WEDNESDAY = "WEDNESDAY",
544
- THURSDAY = "THURSDAY",
545
- FRIDAY = "FRIDAY",
546
- SATURDAY = "SATURDAY",
547
- SUNDAY = "SUNDAY"
548
- }
549
- /** @enumType */
550
- export type DayOfWeekWithLiterals = DayOfWeek | 'MONDAY' | 'TUESDAY' | 'WEDNESDAY' | 'THURSDAY' | 'FRIDAY' | 'SATURDAY' | 'SUNDAY';
551
- /** Exception to the business's regular hours. The business can be open or closed during the exception. */
552
- export interface SpecialHourPeriod {
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). */
554
- startDate?: string;
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). */
556
- endDate?: string;
557
- /**
558
- * Whether the business is closed (or the service is not available) during the exception.
559
- *
560
- * Default: `true`.
561
- */
562
- isClosed?: boolean;
563
- /** Additional info about the exception. For example, "We close earlier on New Year's Eve." */
564
- comment?: string;
565
- }
566
- export interface Multilingual {
567
- /**
568
- * Supported languages list.
569
- * @maxSize 200
570
- */
571
- supportedLanguages?: SupportedLanguage[];
572
- /** Whether to redirect to user language. */
573
- autoRedirect?: boolean;
574
- }
575
- export interface SupportedLanguage {
576
- /** Two-letter language code in [ISO 639-1 alpha-2](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) format. */
577
- languageCode?: string;
578
- /** Locale. */
579
- locale?: Locale;
580
- /** Whether the supported language is the primary language for the site. */
581
- isPrimary?: boolean;
582
- /** Language icon. */
583
- countryCode?: string;
584
- /** How the language will be resolved. For internal use. */
585
- resolutionMethod?: ResolutionMethodWithLiterals;
586
- /** Whether the supported language is the primary language for site visitors. */
587
- isVisitorPrimary?: boolean | null;
588
- }
589
- export interface ConsentPolicy {
590
- /** Whether the site uses cookies that are essential to site operation. Always `true`. */
591
- essential?: boolean | null;
592
- /** Whether the site uses cookies that affect site performance and other functional measurements. */
593
- functional?: boolean | null;
594
- /** Whether the site uses cookies that collect analytics about how the site is used (in order to improve it). */
595
- analytics?: boolean | null;
596
- /** Whether the site uses cookies that collect information allowing better customization of the experience for a current visitor. */
597
- advertising?: boolean | null;
598
- /** CCPA compliance flag. */
599
- dataToThirdParty?: boolean | null;
600
- }
601
- /** A single mapping from the MetaSite ID to a particular service. */
602
- export interface Translation {
603
- /** The service type. */
604
- serviceType?: string;
605
- /** The application definition ID; this only applies to services of type ThirdPartyApps. */
606
- appDefId?: string;
607
- /** The instance ID of the service. */
608
- instanceId?: string;
609
- }
610
- export interface ChangeContext extends ChangeContextPayloadOneOf {
611
- /** Properties were updated. */
612
- propertiesChange?: PropertiesChange;
613
- /** Default properties were created on site creation. */
614
- siteCreated?: SiteCreated;
615
- /** Properties were cloned on site cloning. */
616
- siteCloned?: SiteCloned;
617
- }
618
- /** @oneof */
619
- export interface ChangeContextPayloadOneOf {
620
- /** Properties were updated. */
621
- propertiesChange?: PropertiesChange;
622
- /** Default properties were created on site creation. */
623
- siteCreated?: SiteCreated;
624
- /** Properties were cloned on site cloning. */
625
- siteCloned?: SiteCloned;
626
- }
627
- export interface PropertiesChange {
628
- }
629
- export interface SiteCreated {
630
- /** Origin template site id. */
631
- originTemplateId?: string | null;
632
- }
633
- export interface SiteCloned {
634
- /** Origin site id. */
635
- originMetaSiteId?: string;
636
- }
637
- export interface Empty {
638
- }
639
- export interface UrlInvalidationNotification {
640
- /**
641
- * Blog instance id.
642
- * @format GUID
643
- */
644
- blogInstanceId?: string | null;
645
- /**
646
- * Meta site id.
647
- * @format GUID
648
- */
649
- metaSiteId?: string | null;
650
- }
651
- export interface DomainEvent extends DomainEventBodyOneOf {
652
- createdEvent?: EntityCreatedEvent;
653
- updatedEvent?: EntityUpdatedEvent;
654
- deletedEvent?: EntityDeletedEvent;
655
- actionEvent?: ActionEvent;
656
- /** Event ID. With this ID you can easily spot duplicated events and ignore them. */
657
- id?: string;
658
- /**
659
- * Fully Qualified Domain Name of an entity. This is a unique identifier assigned to the API main business entities.
660
- * For example, `wix.stores.catalog.product`, `wix.bookings.session`, `wix.payments.transaction`.
661
- */
662
- entityFqdn?: string;
663
- /**
664
- * Event action name, placed at the top level to make it easier for users to dispatch messages.
665
- * For example: `created`/`updated`/`deleted`/`started`/`completed`/`email_opened`.
666
- */
667
- slug?: string;
668
- /** ID of the entity associated with the event. */
669
- entityId?: string;
670
- /** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example, `2020-04-26T13:57:50.699Z`. */
671
- eventTime?: Date | null;
672
- /**
673
- * Whether the event was triggered as a result of a privacy regulation application
674
- * (for example, GDPR).
675
- */
676
- triggeredByAnonymizeRequest?: boolean | null;
677
- /** If present, indicates the action that triggered the event. */
678
- originatedFrom?: string | null;
679
- /**
680
- * A sequence number that indicates the order of updates to an entity. For example, if an entity was updated at 16:00 and then again at 16:01, the second update will always have a higher sequence number.
681
- * You can use this number to make sure you're handling updates in the right order. Just save the latest sequence number on your end and compare it to the one in each new message. If the new message has an older (lower) number, you can safely ignore it.
682
- */
683
- entityEventSequence?: string | null;
684
- }
685
- /** @oneof */
686
- export interface DomainEventBodyOneOf {
687
- createdEvent?: EntityCreatedEvent;
688
- updatedEvent?: EntityUpdatedEvent;
689
- deletedEvent?: EntityDeletedEvent;
690
- actionEvent?: ActionEvent;
691
- }
692
- export interface EntityCreatedEvent {
693
- entityAsJson?: string;
694
- /** Indicates the event was triggered by a restore-from-trashbin operation for a previously deleted entity */
695
- restoreInfo?: RestoreInfo;
696
- }
697
- export interface RestoreInfo {
698
- deletedDate?: Date | null;
699
- }
700
- export interface EntityUpdatedEvent {
701
- /**
702
- * Since platformized APIs only expose PATCH and not PUT we can't assume that the fields sent from the client are the actual diff.
703
- * This means that to generate a list of changed fields (as opposed to sent fields) one needs to traverse both objects.
704
- * We don't want to impose this on all developers and so we leave this traversal to the notification recipients which need it.
705
- */
706
- currentEntityAsJson?: string;
707
- }
708
- export interface EntityDeletedEvent {
709
- /** Entity that was deleted. */
710
- deletedEntityAsJson?: string | null;
711
- }
712
- export interface ActionEvent {
713
- bodyAsJson?: string;
714
- }