@wix/auto_sdk_blog_blog-cache 1.0.28 → 1.0.30
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/cjs/index.d.ts +2 -2
- package/build/cjs/index.js +6 -267
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +9 -296
- package/build/cjs/index.typings.js +6 -267
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +8 -295
- package/build/cjs/meta.js +6 -267
- package/build/cjs/meta.js.map +1 -1
- package/build/es/index.d.mts +2 -2
- package/build/es/index.mjs +6 -265
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +9 -296
- package/build/es/index.typings.mjs +6 -265
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +8 -295
- package/build/es/meta.mjs +6 -265
- package/build/es/meta.mjs.map +1 -1
- package/build/internal/cjs/index.d.ts +2 -2
- package/build/internal/cjs/index.js +6 -267
- package/build/internal/cjs/index.js.map +1 -1
- package/build/internal/cjs/index.typings.d.ts +9 -296
- package/build/internal/cjs/index.typings.js +6 -267
- package/build/internal/cjs/index.typings.js.map +1 -1
- package/build/internal/cjs/meta.d.ts +8 -295
- package/build/internal/cjs/meta.js +6 -267
- package/build/internal/cjs/meta.js.map +1 -1
- package/build/internal/es/index.d.mts +2 -2
- package/build/internal/es/index.mjs +6 -265
- package/build/internal/es/index.mjs.map +1 -1
- package/build/internal/es/index.typings.d.mts +9 -296
- package/build/internal/es/index.typings.mjs +6 -265
- package/build/internal/es/index.typings.mjs.map +1 -1
- package/build/internal/es/meta.d.mts +8 -295
- package/build/internal/es/meta.mjs +6 -265
- package/build/internal/es/meta.mjs.map +1 -1
- package/package.json +4 -4
|
@@ -110,269 +110,6 @@ function getBlogCache(payload) {
|
|
|
110
110
|
}
|
|
111
111
|
|
|
112
112
|
// src/blog-v1-blog-cache-blog-cache.types.ts
|
|
113
|
-
var LocaleStatus = /* @__PURE__ */ ((LocaleStatus2) => {
|
|
114
|
-
LocaleStatus2["UNDEFINED_STATUS"] = "UNDEFINED_STATUS";
|
|
115
|
-
LocaleStatus2["INACTIVE"] = "INACTIVE";
|
|
116
|
-
LocaleStatus2["ACTIVE"] = "ACTIVE";
|
|
117
|
-
LocaleStatus2["DEFAULT"] = "DEFAULT";
|
|
118
|
-
return LocaleStatus2;
|
|
119
|
-
})(LocaleStatus || {});
|
|
120
|
-
var Flag = /* @__PURE__ */ ((Flag2) => {
|
|
121
|
-
Flag2["UNDEFINED_FLAG_CODE"] = "UNDEFINED_FLAG_CODE";
|
|
122
|
-
Flag2["AFG"] = "AFG";
|
|
123
|
-
Flag2["AGO"] = "AGO";
|
|
124
|
-
Flag2["AIA"] = "AIA";
|
|
125
|
-
Flag2["ALA"] = "ALA";
|
|
126
|
-
Flag2["ALB"] = "ALB";
|
|
127
|
-
Flag2["AND"] = "AND";
|
|
128
|
-
Flag2["ARE"] = "ARE";
|
|
129
|
-
Flag2["ARG"] = "ARG";
|
|
130
|
-
Flag2["ARM"] = "ARM";
|
|
131
|
-
Flag2["ASM"] = "ASM";
|
|
132
|
-
Flag2["ATF"] = "ATF";
|
|
133
|
-
Flag2["ATG"] = "ATG";
|
|
134
|
-
Flag2["AUS"] = "AUS";
|
|
135
|
-
Flag2["AUT"] = "AUT";
|
|
136
|
-
Flag2["AZE"] = "AZE";
|
|
137
|
-
Flag2["BDI"] = "BDI";
|
|
138
|
-
Flag2["BEL"] = "BEL";
|
|
139
|
-
Flag2["BEN"] = "BEN";
|
|
140
|
-
Flag2["BES"] = "BES";
|
|
141
|
-
Flag2["BFA"] = "BFA";
|
|
142
|
-
Flag2["BGD"] = "BGD";
|
|
143
|
-
Flag2["BGR"] = "BGR";
|
|
144
|
-
Flag2["BHR"] = "BHR";
|
|
145
|
-
Flag2["BHS"] = "BHS";
|
|
146
|
-
Flag2["BIH"] = "BIH";
|
|
147
|
-
Flag2["BLM"] = "BLM";
|
|
148
|
-
Flag2["BLR"] = "BLR";
|
|
149
|
-
Flag2["BLZ"] = "BLZ";
|
|
150
|
-
Flag2["BMU"] = "BMU";
|
|
151
|
-
Flag2["BOL"] = "BOL";
|
|
152
|
-
Flag2["BRA"] = "BRA";
|
|
153
|
-
Flag2["BRB"] = "BRB";
|
|
154
|
-
Flag2["BRN"] = "BRN";
|
|
155
|
-
Flag2["BRT"] = "BRT";
|
|
156
|
-
Flag2["BTN"] = "BTN";
|
|
157
|
-
Flag2["BWA"] = "BWA";
|
|
158
|
-
Flag2["CAF"] = "CAF";
|
|
159
|
-
Flag2["CAN"] = "CAN";
|
|
160
|
-
Flag2["CAT"] = "CAT";
|
|
161
|
-
Flag2["CHE"] = "CHE";
|
|
162
|
-
Flag2["CHL"] = "CHL";
|
|
163
|
-
Flag2["CHN"] = "CHN";
|
|
164
|
-
Flag2["CIV"] = "CIV";
|
|
165
|
-
Flag2["CMR"] = "CMR";
|
|
166
|
-
Flag2["COD"] = "COD";
|
|
167
|
-
Flag2["COG"] = "COG";
|
|
168
|
-
Flag2["COL"] = "COL";
|
|
169
|
-
Flag2["COM"] = "COM";
|
|
170
|
-
Flag2["COR"] = "COR";
|
|
171
|
-
Flag2["CPV"] = "CPV";
|
|
172
|
-
Flag2["CRI"] = "CRI";
|
|
173
|
-
Flag2["CUB"] = "CUB";
|
|
174
|
-
Flag2["CUW"] = "CUW";
|
|
175
|
-
Flag2["CYM"] = "CYM";
|
|
176
|
-
Flag2["CZE"] = "CZE";
|
|
177
|
-
Flag2["DEU"] = "DEU";
|
|
178
|
-
Flag2["DJI"] = "DJI";
|
|
179
|
-
Flag2["DMA"] = "DMA";
|
|
180
|
-
Flag2["DNK"] = "DNK";
|
|
181
|
-
Flag2["DOM"] = "DOM";
|
|
182
|
-
Flag2["DZA"] = "DZA";
|
|
183
|
-
Flag2["ECU"] = "ECU";
|
|
184
|
-
Flag2["EGY"] = "EGY";
|
|
185
|
-
Flag2["ERI"] = "ERI";
|
|
186
|
-
Flag2["ESP"] = "ESP";
|
|
187
|
-
Flag2["EST"] = "EST";
|
|
188
|
-
Flag2["ETH"] = "ETH";
|
|
189
|
-
Flag2["EUR"] = "EUR";
|
|
190
|
-
Flag2["EUS"] = "EUS";
|
|
191
|
-
Flag2["FIN"] = "FIN";
|
|
192
|
-
Flag2["FJI"] = "FJI";
|
|
193
|
-
Flag2["FLK"] = "FLK";
|
|
194
|
-
Flag2["FRA"] = "FRA";
|
|
195
|
-
Flag2["FRO"] = "FRO";
|
|
196
|
-
Flag2["FSM"] = "FSM";
|
|
197
|
-
Flag2["GAB"] = "GAB";
|
|
198
|
-
Flag2["GBR"] = "GBR";
|
|
199
|
-
Flag2["GEO"] = "GEO";
|
|
200
|
-
Flag2["GGY"] = "GGY";
|
|
201
|
-
Flag2["GHA"] = "GHA";
|
|
202
|
-
Flag2["GIB"] = "GIB";
|
|
203
|
-
Flag2["GIN"] = "GIN";
|
|
204
|
-
Flag2["GLG"] = "GLG";
|
|
205
|
-
Flag2["GLO"] = "GLO";
|
|
206
|
-
Flag2["GLP"] = "GLP";
|
|
207
|
-
Flag2["GMB"] = "GMB";
|
|
208
|
-
Flag2["GNB"] = "GNB";
|
|
209
|
-
Flag2["GNQ"] = "GNQ";
|
|
210
|
-
Flag2["GRC"] = "GRC";
|
|
211
|
-
Flag2["GRD"] = "GRD";
|
|
212
|
-
Flag2["GRL"] = "GRL";
|
|
213
|
-
Flag2["GTM"] = "GTM";
|
|
214
|
-
Flag2["GUM"] = "GUM";
|
|
215
|
-
Flag2["GUY"] = "GUY";
|
|
216
|
-
Flag2["HKG"] = "HKG";
|
|
217
|
-
Flag2["HND"] = "HND";
|
|
218
|
-
Flag2["HRV"] = "HRV";
|
|
219
|
-
Flag2["HTI"] = "HTI";
|
|
220
|
-
Flag2["HUN"] = "HUN";
|
|
221
|
-
Flag2["IDN"] = "IDN";
|
|
222
|
-
Flag2["IMN"] = "IMN";
|
|
223
|
-
Flag2["IND"] = "IND";
|
|
224
|
-
Flag2["IOT"] = "IOT";
|
|
225
|
-
Flag2["IRL"] = "IRL";
|
|
226
|
-
Flag2["IRN"] = "IRN";
|
|
227
|
-
Flag2["IRQ"] = "IRQ";
|
|
228
|
-
Flag2["ISL"] = "ISL";
|
|
229
|
-
Flag2["ISR"] = "ISR";
|
|
230
|
-
Flag2["ITA"] = "ITA";
|
|
231
|
-
Flag2["JAM"] = "JAM";
|
|
232
|
-
Flag2["JEY"] = "JEY";
|
|
233
|
-
Flag2["JOR"] = "JOR";
|
|
234
|
-
Flag2["JPN"] = "JPN";
|
|
235
|
-
Flag2["KAZ"] = "KAZ";
|
|
236
|
-
Flag2["KEN"] = "KEN";
|
|
237
|
-
Flag2["KGZ"] = "KGZ";
|
|
238
|
-
Flag2["KHM"] = "KHM";
|
|
239
|
-
Flag2["KIR"] = "KIR";
|
|
240
|
-
Flag2["KNA"] = "KNA";
|
|
241
|
-
Flag2["KOR"] = "KOR";
|
|
242
|
-
Flag2["KUR"] = "KUR";
|
|
243
|
-
Flag2["KWT"] = "KWT";
|
|
244
|
-
Flag2["LAO"] = "LAO";
|
|
245
|
-
Flag2["LBN"] = "LBN";
|
|
246
|
-
Flag2["LBR"] = "LBR";
|
|
247
|
-
Flag2["LBY"] = "LBY";
|
|
248
|
-
Flag2["LCA"] = "LCA";
|
|
249
|
-
Flag2["LIE"] = "LIE";
|
|
250
|
-
Flag2["LKA"] = "LKA";
|
|
251
|
-
Flag2["LSO"] = "LSO";
|
|
252
|
-
Flag2["LTU"] = "LTU";
|
|
253
|
-
Flag2["LUX"] = "LUX";
|
|
254
|
-
Flag2["LVA"] = "LVA";
|
|
255
|
-
Flag2["MAC"] = "MAC";
|
|
256
|
-
Flag2["MAF"] = "MAF";
|
|
257
|
-
Flag2["MAR"] = "MAR";
|
|
258
|
-
Flag2["MCO"] = "MCO";
|
|
259
|
-
Flag2["MDA"] = "MDA";
|
|
260
|
-
Flag2["MDG"] = "MDG";
|
|
261
|
-
Flag2["MDV"] = "MDV";
|
|
262
|
-
Flag2["MEX"] = "MEX";
|
|
263
|
-
Flag2["MHL"] = "MHL";
|
|
264
|
-
Flag2["MKD"] = "MKD";
|
|
265
|
-
Flag2["MLI"] = "MLI";
|
|
266
|
-
Flag2["MLT"] = "MLT";
|
|
267
|
-
Flag2["MMR"] = "MMR";
|
|
268
|
-
Flag2["MNE"] = "MNE";
|
|
269
|
-
Flag2["MNG"] = "MNG";
|
|
270
|
-
Flag2["MNP"] = "MNP";
|
|
271
|
-
Flag2["MOZ"] = "MOZ";
|
|
272
|
-
Flag2["MRT"] = "MRT";
|
|
273
|
-
Flag2["MSR"] = "MSR";
|
|
274
|
-
Flag2["MTQ"] = "MTQ";
|
|
275
|
-
Flag2["MWI"] = "MWI";
|
|
276
|
-
Flag2["MYS"] = "MYS";
|
|
277
|
-
Flag2["MYT"] = "MYT";
|
|
278
|
-
Flag2["NAM"] = "NAM";
|
|
279
|
-
Flag2["NCL"] = "NCL";
|
|
280
|
-
Flag2["NER"] = "NER";
|
|
281
|
-
Flag2["NFK"] = "NFK";
|
|
282
|
-
Flag2["NGA"] = "NGA";
|
|
283
|
-
Flag2["NIC"] = "NIC";
|
|
284
|
-
Flag2["NIU"] = "NIU";
|
|
285
|
-
Flag2["NLD"] = "NLD";
|
|
286
|
-
Flag2["NOR"] = "NOR";
|
|
287
|
-
Flag2["NPL"] = "NPL";
|
|
288
|
-
Flag2["NRU"] = "NRU";
|
|
289
|
-
Flag2["NZL"] = "NZL";
|
|
290
|
-
Flag2["OMN"] = "OMN";
|
|
291
|
-
Flag2["PAK"] = "PAK";
|
|
292
|
-
Flag2["PAN"] = "PAN";
|
|
293
|
-
Flag2["PCN"] = "PCN";
|
|
294
|
-
Flag2["PER"] = "PER";
|
|
295
|
-
Flag2["PHL"] = "PHL";
|
|
296
|
-
Flag2["PLW"] = "PLW";
|
|
297
|
-
Flag2["PNG"] = "PNG";
|
|
298
|
-
Flag2["POL"] = "POL";
|
|
299
|
-
Flag2["PRI"] = "PRI";
|
|
300
|
-
Flag2["PRK"] = "PRK";
|
|
301
|
-
Flag2["PRT"] = "PRT";
|
|
302
|
-
Flag2["PRY"] = "PRY";
|
|
303
|
-
Flag2["PSE"] = "PSE";
|
|
304
|
-
Flag2["PYF"] = "PYF";
|
|
305
|
-
Flag2["QAT"] = "QAT";
|
|
306
|
-
Flag2["REU"] = "REU";
|
|
307
|
-
Flag2["ROU"] = "ROU";
|
|
308
|
-
Flag2["RUS"] = "RUS";
|
|
309
|
-
Flag2["RWA"] = "RWA";
|
|
310
|
-
Flag2["SAU"] = "SAU";
|
|
311
|
-
Flag2["SDN"] = "SDN";
|
|
312
|
-
Flag2["SEN"] = "SEN";
|
|
313
|
-
Flag2["SGP"] = "SGP";
|
|
314
|
-
Flag2["SGS"] = "SGS";
|
|
315
|
-
Flag2["SHN"] = "SHN";
|
|
316
|
-
Flag2["SJM"] = "SJM";
|
|
317
|
-
Flag2["SLB"] = "SLB";
|
|
318
|
-
Flag2["SLE"] = "SLE";
|
|
319
|
-
Flag2["SLV"] = "SLV";
|
|
320
|
-
Flag2["SMR"] = "SMR";
|
|
321
|
-
Flag2["SOM"] = "SOM";
|
|
322
|
-
Flag2["SPM"] = "SPM";
|
|
323
|
-
Flag2["SRB"] = "SRB";
|
|
324
|
-
Flag2["SSD"] = "SSD";
|
|
325
|
-
Flag2["STP"] = "STP";
|
|
326
|
-
Flag2["SUR"] = "SUR";
|
|
327
|
-
Flag2["SVK"] = "SVK";
|
|
328
|
-
Flag2["SVN"] = "SVN";
|
|
329
|
-
Flag2["SWE"] = "SWE";
|
|
330
|
-
Flag2["SWZ"] = "SWZ";
|
|
331
|
-
Flag2["SXM"] = "SXM";
|
|
332
|
-
Flag2["SYC"] = "SYC";
|
|
333
|
-
Flag2["SYR"] = "SYR";
|
|
334
|
-
Flag2["TCA"] = "TCA";
|
|
335
|
-
Flag2["TCD"] = "TCD";
|
|
336
|
-
Flag2["TGO"] = "TGO";
|
|
337
|
-
Flag2["THA"] = "THA";
|
|
338
|
-
Flag2["TJK"] = "TJK";
|
|
339
|
-
Flag2["TKL"] = "TKL";
|
|
340
|
-
Flag2["TKM"] = "TKM";
|
|
341
|
-
Flag2["TLS"] = "TLS";
|
|
342
|
-
Flag2["TON"] = "TON";
|
|
343
|
-
Flag2["TTO"] = "TTO";
|
|
344
|
-
Flag2["TUN"] = "TUN";
|
|
345
|
-
Flag2["TUR"] = "TUR";
|
|
346
|
-
Flag2["TUV"] = "TUV";
|
|
347
|
-
Flag2["TWN"] = "TWN";
|
|
348
|
-
Flag2["TZA"] = "TZA";
|
|
349
|
-
Flag2["UGA"] = "UGA";
|
|
350
|
-
Flag2["UKR"] = "UKR";
|
|
351
|
-
Flag2["URY"] = "URY";
|
|
352
|
-
Flag2["USA"] = "USA";
|
|
353
|
-
Flag2["UZB"] = "UZB";
|
|
354
|
-
Flag2["VAT"] = "VAT";
|
|
355
|
-
Flag2["VCT"] = "VCT";
|
|
356
|
-
Flag2["VEN"] = "VEN";
|
|
357
|
-
Flag2["VGB"] = "VGB";
|
|
358
|
-
Flag2["VIR"] = "VIR";
|
|
359
|
-
Flag2["VLC"] = "VLC";
|
|
360
|
-
Flag2["VNM"] = "VNM";
|
|
361
|
-
Flag2["VUT"] = "VUT";
|
|
362
|
-
Flag2["WLF"] = "WLF";
|
|
363
|
-
Flag2["WLS"] = "WLS";
|
|
364
|
-
Flag2["YEM"] = "YEM";
|
|
365
|
-
Flag2["ZAF"] = "ZAF";
|
|
366
|
-
Flag2["ZMB"] = "ZMB";
|
|
367
|
-
Flag2["ZWE"] = "ZWE";
|
|
368
|
-
return Flag2;
|
|
369
|
-
})(Flag || {});
|
|
370
|
-
var ResolutionMethod = /* @__PURE__ */ ((ResolutionMethod2) => {
|
|
371
|
-
ResolutionMethod2["QUERY_PARAM"] = "QUERY_PARAM";
|
|
372
|
-
ResolutionMethod2["SUBDOMAIN"] = "SUBDOMAIN";
|
|
373
|
-
ResolutionMethod2["SUBDIRECTORY"] = "SUBDIRECTORY";
|
|
374
|
-
return ResolutionMethod2;
|
|
375
|
-
})(ResolutionMethod || {});
|
|
376
113
|
var Status = /* @__PURE__ */ ((Status2) => {
|
|
377
114
|
Status2["UNDEFINED_STATUS"] = "UNDEFINED_STATUS";
|
|
378
115
|
Status2["INACTIVE"] = "INACTIVE";
|
|
@@ -402,6 +139,12 @@ var DayOfWeek = /* @__PURE__ */ ((DayOfWeek2) => {
|
|
|
402
139
|
DayOfWeek2["SUNDAY"] = "SUNDAY";
|
|
403
140
|
return DayOfWeek2;
|
|
404
141
|
})(DayOfWeek || {});
|
|
142
|
+
var ResolutionMethod = /* @__PURE__ */ ((ResolutionMethod2) => {
|
|
143
|
+
ResolutionMethod2["QUERY_PARAM"] = "QUERY_PARAM";
|
|
144
|
+
ResolutionMethod2["SUBDOMAIN"] = "SUBDOMAIN";
|
|
145
|
+
ResolutionMethod2["SUBDIRECTORY"] = "SUBDIRECTORY";
|
|
146
|
+
return ResolutionMethod2;
|
|
147
|
+
})(ResolutionMethod || {});
|
|
405
148
|
|
|
406
149
|
// src/blog-v1-blog-cache-blog-cache.meta.ts
|
|
407
150
|
function getBlogCache2() {
|
|
@@ -424,8 +167,6 @@ function getBlogCache2() {
|
|
|
424
167
|
}
|
|
425
168
|
export {
|
|
426
169
|
DayOfWeek as DayOfWeekOriginal,
|
|
427
|
-
Flag as FlagOriginal,
|
|
428
|
-
LocaleStatus as LocaleStatusOriginal,
|
|
429
170
|
PlacementType as PlacementTypeOriginal,
|
|
430
171
|
ResolutionMethod as ResolutionMethodOriginal,
|
|
431
172
|
Status as StatusOriginal,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../src/blog-v1-blog-cache-blog-cache.http.ts","../../../src/blog-v1-blog-cache-blog-cache.types.ts","../../../src/blog-v1-blog-cache-blog-cache.meta.ts"],"sourcesContent":["import { toURLSearchParams } from '@wix/sdk-runtime/rest-modules';\nimport { transformRESTTimestampToSDKTimestamp } from '@wix/sdk-runtime/transformations/timestamp';\nimport { transformPaths } from '@wix/sdk-runtime/transformations/transform-paths';\nimport { resolveUrl } from '@wix/sdk-runtime/rest-modules';\nimport { ResolveUrlOpts } from '@wix/sdk-runtime/rest-modules';\nimport { RequestOptionsFactory } from '@wix/sdk-types';\n\nfunction resolveWixBlogV1BlogCacheServiceUrl(\n opts: Omit<ResolveUrlOpts, 'domainToMappings'>\n) {\n const domainToMappings = {\n 'bo._base_domain_': [\n {\n srcPath: '/_api/blog-cache-service',\n destPath: '',\n },\n ],\n 'wixbo.ai': [\n {\n srcPath: '/_api/blog-cache-service',\n destPath: '',\n },\n ],\n 'wix-bo.com': [\n {\n srcPath: '/_api/blog-cache-service',\n destPath: '',\n },\n ],\n 'manage._base_domain_': [\n {\n srcPath: '/_api/blog-cache-service',\n destPath: '',\n },\n ],\n 'apps._base_domain_': [\n {\n srcPath: '/_api/blog-cache-service',\n destPath: '',\n },\n ],\n 'editor._base_domain_': [\n {\n srcPath: '/_api/blog-cache-service',\n destPath: '',\n },\n ],\n 'blocks._base_domain_': [\n {\n srcPath: '/_api/blog-cache-service',\n destPath: '',\n },\n ],\n 'create.editorx': [\n {\n srcPath: '/_api/blog-cache-service',\n destPath: '',\n },\n ],\n _: [\n {\n srcPath: '/_api/blog-cache-service',\n destPath: '',\n },\n ],\n 'www._base_domain_': [\n {\n srcPath: '/_api/blog-cache-service',\n destPath: '',\n },\n ],\n '*.dev.wix-code.com': [\n {\n srcPath: '/_api/blog-cache-service',\n destPath: '',\n },\n ],\n 'api._api_base_domain_': [\n {\n srcPath: '/blog-cache-service',\n destPath: '',\n },\n ],\n };\n\n return resolveUrl(Object.assign(opts, { domainToMappings }));\n}\n\nconst PACKAGE_NAME = '@wix/auto_sdk_blog_blog-cache';\n\n/** Gets blog cache. */\nexport function getBlogCache(payload: object): RequestOptionsFactory<any> {\n function __getBlogCache({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.blog.v1.blog_cache',\n method: 'GET' as any,\n methodFqn: 'wix.blog.v1.BlogCacheService.GetBlogCache',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveWixBlogV1BlogCacheServiceUrl({\n protoPath: '/v1/blog-cache',\n data: payload,\n host,\n }),\n params: toURLSearchParams(payload),\n transformResponse: (payload: any) =>\n transformPaths(payload, [\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: [{ path: 'blogCache.updatedDate' }],\n },\n ]),\n };\n\n return metadata;\n }\n\n return __getBlogCache;\n}\n","/** BlogCache is the main entity of BlogCacheService */\nexport interface BlogCache {\n /**\n * MetaSite ID.\n * @format GUID\n * @readonly\n */\n id?: string | null;\n /** Site supported languages. */\n siteSupportedLanguages?: SiteSupportedLanguage[];\n /** Pages data. */\n pagesData?: PagesData;\n /** Site properties. */\n siteProperties?: SiteProperties;\n /**\n * Date the blog cache was last updated\n * @readonly\n */\n updatedDate?: Date | null;\n /**\n * Post page url mapping.\n * \"post/{{slug}}\"\n * @maxLength 1000\n */\n postPageUrlMapping?: string | null;\n}\n\nexport interface SiteSupportedLanguage {\n /**\n * Language code\n * @format LANGUAGE\n */\n languageCode?: string;\n /**\n * Locale status.\n * Deprecated: Use locale_status instead.\n * @deprecated\n * @replacedBy locale_status\n * @targetRemovalDate 2026-06-30\n */\n status?: LocaleStatusWithLiterals;\n /**\n * Flag code.\n * Deprecated: Use flag_code instead.\n * @deprecated\n * @replacedBy flag_code\n * @targetRemovalDate 2026-06-30\n */\n flag?: FlagWithLiterals;\n /**\n * Resolution method.\n * Deprecated: Use resolution_method instead.\n * @deprecated\n * @replacedBy resolution_method_value\n * @targetRemovalDate 2026-06-30\n */\n resolutionMethod?: ResolutionMethodWithLiterals;\n /** Locale status. */\n localeStatus?: StatusWithLiterals;\n /** Flag code. */\n flagCode?: string | null;\n /** Resolution method. */\n resolutionMethodValue?: ValueWithLiterals;\n}\n\nexport enum LocaleStatus {\n /** Value not specified */\n UNDEFINED_STATUS = 'UNDEFINED_STATUS',\n /** Locale was added to site but was not activated */\n INACTIVE = 'INACTIVE',\n /** Locale was added to site and activated */\n ACTIVE = 'ACTIVE',\n /** Default locale (always active) */\n DEFAULT = 'DEFAULT',\n}\n\n/** @enumType */\nexport type LocaleStatusWithLiterals =\n | LocaleStatus\n | 'UNDEFINED_STATUS'\n | 'INACTIVE'\n | 'ACTIVE'\n | 'DEFAULT';\n\nexport enum Flag {\n UNDEFINED_FLAG_CODE = 'UNDEFINED_FLAG_CODE',\n AFG = 'AFG',\n AGO = 'AGO',\n AIA = 'AIA',\n ALA = 'ALA',\n ALB = 'ALB',\n AND = 'AND',\n ARE = 'ARE',\n ARG = 'ARG',\n ARM = 'ARM',\n ASM = 'ASM',\n ATF = 'ATF',\n ATG = 'ATG',\n AUS = 'AUS',\n AUT = 'AUT',\n AZE = 'AZE',\n BDI = 'BDI',\n BEL = 'BEL',\n BEN = 'BEN',\n BES = 'BES',\n BFA = 'BFA',\n BGD = 'BGD',\n BGR = 'BGR',\n BHR = 'BHR',\n BHS = 'BHS',\n BIH = 'BIH',\n BLM = 'BLM',\n BLR = 'BLR',\n BLZ = 'BLZ',\n BMU = 'BMU',\n BOL = 'BOL',\n BRA = 'BRA',\n BRB = 'BRB',\n BRN = 'BRN',\n BRT = 'BRT',\n BTN = 'BTN',\n BWA = 'BWA',\n CAF = 'CAF',\n CAN = 'CAN',\n CAT = 'CAT',\n CHE = 'CHE',\n CHL = 'CHL',\n CHN = 'CHN',\n CIV = 'CIV',\n CMR = 'CMR',\n COD = 'COD',\n COG = 'COG',\n COL = 'COL',\n COM = 'COM',\n COR = 'COR',\n CPV = 'CPV',\n CRI = 'CRI',\n CUB = 'CUB',\n CUW = 'CUW',\n CYM = 'CYM',\n CZE = 'CZE',\n DEU = 'DEU',\n DJI = 'DJI',\n DMA = 'DMA',\n DNK = 'DNK',\n DOM = 'DOM',\n DZA = 'DZA',\n ECU = 'ECU',\n EGY = 'EGY',\n ERI = 'ERI',\n ESP = 'ESP',\n EST = 'EST',\n ETH = 'ETH',\n EUR = 'EUR',\n EUS = 'EUS',\n FIN = 'FIN',\n FJI = 'FJI',\n FLK = 'FLK',\n FRA = 'FRA',\n FRO = 'FRO',\n FSM = 'FSM',\n GAB = 'GAB',\n GBR = 'GBR',\n GEO = 'GEO',\n GGY = 'GGY',\n GHA = 'GHA',\n GIB = 'GIB',\n GIN = 'GIN',\n GLG = 'GLG',\n GLO = 'GLO',\n GLP = 'GLP',\n GMB = 'GMB',\n GNB = 'GNB',\n GNQ = 'GNQ',\n GRC = 'GRC',\n GRD = 'GRD',\n GRL = 'GRL',\n GTM = 'GTM',\n GUM = 'GUM',\n GUY = 'GUY',\n HKG = 'HKG',\n HND = 'HND',\n HRV = 'HRV',\n HTI = 'HTI',\n HUN = 'HUN',\n IDN = 'IDN',\n IMN = 'IMN',\n IND = 'IND',\n IOT = 'IOT',\n IRL = 'IRL',\n IRN = 'IRN',\n IRQ = 'IRQ',\n ISL = 'ISL',\n ISR = 'ISR',\n ITA = 'ITA',\n JAM = 'JAM',\n JEY = 'JEY',\n JOR = 'JOR',\n JPN = 'JPN',\n KAZ = 'KAZ',\n KEN = 'KEN',\n KGZ = 'KGZ',\n KHM = 'KHM',\n KIR = 'KIR',\n KNA = 'KNA',\n KOR = 'KOR',\n KUR = 'KUR',\n KWT = 'KWT',\n LAO = 'LAO',\n LBN = 'LBN',\n LBR = 'LBR',\n LBY = 'LBY',\n LCA = 'LCA',\n LIE = 'LIE',\n LKA = 'LKA',\n LSO = 'LSO',\n LTU = 'LTU',\n LUX = 'LUX',\n LVA = 'LVA',\n MAC = 'MAC',\n MAF = 'MAF',\n MAR = 'MAR',\n MCO = 'MCO',\n MDA = 'MDA',\n MDG = 'MDG',\n MDV = 'MDV',\n MEX = 'MEX',\n MHL = 'MHL',\n MKD = 'MKD',\n MLI = 'MLI',\n MLT = 'MLT',\n MMR = 'MMR',\n MNE = 'MNE',\n MNG = 'MNG',\n MNP = 'MNP',\n MOZ = 'MOZ',\n MRT = 'MRT',\n MSR = 'MSR',\n MTQ = 'MTQ',\n MWI = 'MWI',\n MYS = 'MYS',\n MYT = 'MYT',\n NAM = 'NAM',\n NCL = 'NCL',\n NER = 'NER',\n NFK = 'NFK',\n NGA = 'NGA',\n NIC = 'NIC',\n NIU = 'NIU',\n NLD = 'NLD',\n NOR = 'NOR',\n NPL = 'NPL',\n NRU = 'NRU',\n NZL = 'NZL',\n OMN = 'OMN',\n PAK = 'PAK',\n PAN = 'PAN',\n PCN = 'PCN',\n PER = 'PER',\n PHL = 'PHL',\n PLW = 'PLW',\n PNG = 'PNG',\n POL = 'POL',\n PRI = 'PRI',\n PRK = 'PRK',\n PRT = 'PRT',\n PRY = 'PRY',\n PSE = 'PSE',\n PYF = 'PYF',\n QAT = 'QAT',\n REU = 'REU',\n ROU = 'ROU',\n RUS = 'RUS',\n RWA = 'RWA',\n SAU = 'SAU',\n SDN = 'SDN',\n SEN = 'SEN',\n SGP = 'SGP',\n SGS = 'SGS',\n SHN = 'SHN',\n SJM = 'SJM',\n SLB = 'SLB',\n SLE = 'SLE',\n SLV = 'SLV',\n SMR = 'SMR',\n SOM = 'SOM',\n SPM = 'SPM',\n SRB = 'SRB',\n SSD = 'SSD',\n STP = 'STP',\n SUR = 'SUR',\n SVK = 'SVK',\n SVN = 'SVN',\n SWE = 'SWE',\n SWZ = 'SWZ',\n SXM = 'SXM',\n SYC = 'SYC',\n SYR = 'SYR',\n TCA = 'TCA',\n TCD = 'TCD',\n TGO = 'TGO',\n THA = 'THA',\n TJK = 'TJK',\n TKL = 'TKL',\n TKM = 'TKM',\n TLS = 'TLS',\n TON = 'TON',\n TTO = 'TTO',\n TUN = 'TUN',\n TUR = 'TUR',\n TUV = 'TUV',\n TWN = 'TWN',\n TZA = 'TZA',\n UGA = 'UGA',\n UKR = 'UKR',\n URY = 'URY',\n USA = 'USA',\n UZB = 'UZB',\n VAT = 'VAT',\n VCT = 'VCT',\n VEN = 'VEN',\n VGB = 'VGB',\n VIR = 'VIR',\n VLC = 'VLC',\n VNM = 'VNM',\n VUT = 'VUT',\n WLF = 'WLF',\n WLS = 'WLS',\n YEM = 'YEM',\n ZAF = 'ZAF',\n ZMB = 'ZMB',\n ZWE = 'ZWE',\n}\n\n/** @enumType */\nexport type FlagWithLiterals =\n | Flag\n | 'UNDEFINED_FLAG_CODE'\n | 'AFG'\n | 'AGO'\n | 'AIA'\n | 'ALA'\n | 'ALB'\n | 'AND'\n | 'ARE'\n | 'ARG'\n | 'ARM'\n | 'ASM'\n | 'ATF'\n | 'ATG'\n | 'AUS'\n | 'AUT'\n | 'AZE'\n | 'BDI'\n | 'BEL'\n | 'BEN'\n | 'BES'\n | 'BFA'\n | 'BGD'\n | 'BGR'\n | 'BHR'\n | 'BHS'\n | 'BIH'\n | 'BLM'\n | 'BLR'\n | 'BLZ'\n | 'BMU'\n | 'BOL'\n | 'BRA'\n | 'BRB'\n | 'BRN'\n | 'BRT'\n | 'BTN'\n | 'BWA'\n | 'CAF'\n | 'CAN'\n | 'CAT'\n | 'CHE'\n | 'CHL'\n | 'CHN'\n | 'CIV'\n | 'CMR'\n | 'COD'\n | 'COG'\n | 'COL'\n | 'COM'\n | 'COR'\n | 'CPV'\n | 'CRI'\n | 'CUB'\n | 'CUW'\n | 'CYM'\n | 'CZE'\n | 'DEU'\n | 'DJI'\n | 'DMA'\n | 'DNK'\n | 'DOM'\n | 'DZA'\n | 'ECU'\n | 'EGY'\n | 'ERI'\n | 'ESP'\n | 'EST'\n | 'ETH'\n | 'EUR'\n | 'EUS'\n | 'FIN'\n | 'FJI'\n | 'FLK'\n | 'FRA'\n | 'FRO'\n | 'FSM'\n | 'GAB'\n | 'GBR'\n | 'GEO'\n | 'GGY'\n | 'GHA'\n | 'GIB'\n | 'GIN'\n | 'GLG'\n | 'GLO'\n | 'GLP'\n | 'GMB'\n | 'GNB'\n | 'GNQ'\n | 'GRC'\n | 'GRD'\n | 'GRL'\n | 'GTM'\n | 'GUM'\n | 'GUY'\n | 'HKG'\n | 'HND'\n | 'HRV'\n | 'HTI'\n | 'HUN'\n | 'IDN'\n | 'IMN'\n | 'IND'\n | 'IOT'\n | 'IRL'\n | 'IRN'\n | 'IRQ'\n | 'ISL'\n | 'ISR'\n | 'ITA'\n | 'JAM'\n | 'JEY'\n | 'JOR'\n | 'JPN'\n | 'KAZ'\n | 'KEN'\n | 'KGZ'\n | 'KHM'\n | 'KIR'\n | 'KNA'\n | 'KOR'\n | 'KUR'\n | 'KWT'\n | 'LAO'\n | 'LBN'\n | 'LBR'\n | 'LBY'\n | 'LCA'\n | 'LIE'\n | 'LKA'\n | 'LSO'\n | 'LTU'\n | 'LUX'\n | 'LVA'\n | 'MAC'\n | 'MAF'\n | 'MAR'\n | 'MCO'\n | 'MDA'\n | 'MDG'\n | 'MDV'\n | 'MEX'\n | 'MHL'\n | 'MKD'\n | 'MLI'\n | 'MLT'\n | 'MMR'\n | 'MNE'\n | 'MNG'\n | 'MNP'\n | 'MOZ'\n | 'MRT'\n | 'MSR'\n | 'MTQ'\n | 'MWI'\n | 'MYS'\n | 'MYT'\n | 'NAM'\n | 'NCL'\n | 'NER'\n | 'NFK'\n | 'NGA'\n | 'NIC'\n | 'NIU'\n | 'NLD'\n | 'NOR'\n | 'NPL'\n | 'NRU'\n | 'NZL'\n | 'OMN'\n | 'PAK'\n | 'PAN'\n | 'PCN'\n | 'PER'\n | 'PHL'\n | 'PLW'\n | 'PNG'\n | 'POL'\n | 'PRI'\n | 'PRK'\n | 'PRT'\n | 'PRY'\n | 'PSE'\n | 'PYF'\n | 'QAT'\n | 'REU'\n | 'ROU'\n | 'RUS'\n | 'RWA'\n | 'SAU'\n | 'SDN'\n | 'SEN'\n | 'SGP'\n | 'SGS'\n | 'SHN'\n | 'SJM'\n | 'SLB'\n | 'SLE'\n | 'SLV'\n | 'SMR'\n | 'SOM'\n | 'SPM'\n | 'SRB'\n | 'SSD'\n | 'STP'\n | 'SUR'\n | 'SVK'\n | 'SVN'\n | 'SWE'\n | 'SWZ'\n | 'SXM'\n | 'SYC'\n | 'SYR'\n | 'TCA'\n | 'TCD'\n | 'TGO'\n | 'THA'\n | 'TJK'\n | 'TKL'\n | 'TKM'\n | 'TLS'\n | 'TON'\n | 'TTO'\n | 'TUN'\n | 'TUR'\n | 'TUV'\n | 'TWN'\n | 'TZA'\n | 'UGA'\n | 'UKR'\n | 'URY'\n | 'USA'\n | 'UZB'\n | 'VAT'\n | 'VCT'\n | 'VEN'\n | 'VGB'\n | 'VIR'\n | 'VLC'\n | 'VNM'\n | 'VUT'\n | 'WLF'\n | 'WLS'\n | 'YEM'\n | 'ZAF'\n | 'ZMB'\n | 'ZWE';\n\nexport enum ResolutionMethod {\n QUERY_PARAM = 'QUERY_PARAM',\n SUBDOMAIN = 'SUBDOMAIN',\n SUBDIRECTORY = 'SUBDIRECTORY',\n}\n\n/** @enumType */\nexport type ResolutionMethodWithLiterals =\n | ResolutionMethod\n | 'QUERY_PARAM'\n | 'SUBDOMAIN'\n | 'SUBDIRECTORY';\n\nexport enum Status {\n /** Value not specified. */\n UNDEFINED_STATUS = 'UNDEFINED_STATUS',\n /** Locale was added to site but was not activated. */\n INACTIVE = 'INACTIVE',\n /** Locale was added to site and activated. */\n ACTIVE = 'ACTIVE',\n /** Default locale (always active). */\n DEFAULT = 'DEFAULT',\n}\n\n/** @enumType */\nexport type StatusWithLiterals =\n | Status\n | 'UNDEFINED_STATUS'\n | 'INACTIVE'\n | 'ACTIVE'\n | 'DEFAULT';\n\nexport enum Value {\n /** Query parameter. */\n QUERY_PARAM = 'QUERY_PARAM',\n /** Subdomain. */\n SUBDOMAIN = 'SUBDOMAIN',\n /** Subdirectory. */\n SUBDIRECTORY = 'SUBDIRECTORY',\n}\n\n/** @enumType */\nexport type ValueWithLiterals =\n | Value\n | 'QUERY_PARAM'\n | 'SUBDOMAIN'\n | 'SUBDIRECTORY';\n\nexport interface PagesData {\n /** Blog page. */\n blogPage?: PageInfo;\n /** Post page. */\n postPage?: PageInfo;\n /**\n * Site primary url.\n * @format WEB_URL\n * @readonly\n */\n sitePrimaryUrl?: string | null;\n}\n\nexport interface PageInfo {\n /**\n * Title.\n * @deprecated Title.\n * @targetRemovalDate 2026-01-01\n */\n title?: string;\n /** Page ID. */\n pageId?: string;\n /** Is hidden. */\n hidden?: boolean;\n /** Path. */\n path?: string;\n /** TPA page ID. */\n tpaPageId?: string | null;\n /** TPA embedded service ID. */\n tpaEmbeddedServiceId?: number | null;\n /** TPA app ID. */\n tpaAppId?: string | null;\n /** Page URL. */\n url?: string;\n /**\n * Hidden path.\n * @deprecated Hidden path.\n * @targetRemovalDate 2026-01-01\n */\n hiddenPath?: string | null;\n /** Is SM protected. */\n isSmProtected?: boolean;\n /** Is dynamic. */\n isDynamic?: boolean;\n /** Platform apps. */\n platformApps?: string[];\n}\n\nexport interface SiteProperties {\n /** Business name. */\n businessName?: string | null;\n /** Business logo. */\n logo?: string | null;\n /** Site display name. */\n siteDisplayName?: string | null;\n /** Description. */\n description?: string | null;\n}\n\nexport interface GetBlogCacheRequest {}\n\nexport interface GetBlogCacheResponse {\n /** Blog cache. */\n blogCache?: BlogCache;\n}\n\n/** Encapsulates all details written to the Greyhound topic when a site's properties are updated. */\nexport interface SitePropertiesNotification {\n /** The site ID for which this update notification applies. */\n metasiteId?: string;\n /** The actual update event. */\n event?: SitePropertiesEvent;\n /**\n * A convenience set of mappings from the MetaSite ID to its constituent services.\n * @maxSize 500\n */\n translations?: Translation[];\n /** Context of the notification */\n changeContext?: ChangeContext;\n}\n\n/** The actual update event for a particular notification. */\nexport interface SitePropertiesEvent {\n /** Version of the site's properties represented by this update. */\n version?: number;\n /** Set of properties that were updated - corresponds to the fields in \"properties\". */\n fields?: string[];\n /** Updated properties. */\n properties?: Properties;\n}\n\nexport interface Properties {\n /** Site categories. */\n categories?: Categories;\n /** Site locale. */\n locale?: Locale;\n /**\n * Site language.\n *\n * Two-letter language code in [ISO 639-1 alpha-2](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) format.\n */\n language?: string | null;\n /**\n * Site currency format used to bill customers.\n *\n * Three-letter currency code in [ISO-4217 alphabetic](https://en.wikipedia.org/wiki/ISO_4217#Active_codes) format.\n */\n paymentCurrency?: string | null;\n /** Timezone in `America/New_York` format. */\n timeZone?: string | null;\n /** Email address. */\n email?: string | null;\n /** Phone number. */\n phone?: string | null;\n /** Fax number. */\n fax?: string | null;\n /** Address. */\n address?: Address;\n /** Site display name. */\n siteDisplayName?: string | null;\n /** Business name. */\n businessName?: string | null;\n /** Path to the site's logo in Wix Media (without Wix Media base URL). */\n logo?: string | null;\n /** Site description. */\n description?: string | null;\n /**\n * Business schedule. Regular and exceptional time periods when the business is open or the service is available.\n *\n * __Note:__ Not supported by Wix Bookings.\n */\n businessSchedule?: BusinessSchedule;\n /** Supported languages of a site and the primary language. */\n multilingual?: Multilingual;\n /** Cookie policy the Wix user defined for their site (before the site visitor interacts with/limits it). */\n consentPolicy?: ConsentPolicy;\n /**\n * Supported values: `FITNESS SERVICE`, `RESTAURANT`, `BLOG`, `STORE`, `EVENT`, `UNKNOWN`.\n *\n * Site business type.\n */\n businessConfig?: string | null;\n /** External site URL that uses Wix as its headless business solution. */\n externalSiteUrl?: string | null;\n /** Track clicks analytics. */\n trackClicksAnalytics?: boolean;\n}\n\nexport interface Categories {\n /** Primary site category. */\n primary?: string;\n /**\n * Secondary site category.\n * @maxSize 50\n */\n secondary?: string[];\n /** Business Term Id */\n businessTermId?: string | null;\n}\n\nexport interface Locale {\n /** Two-letter language code in [ISO 639-1 alpha-2](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) format. */\n languageCode?: string;\n /** Two-letter country code in [ISO-3166 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2#Officially_assigned_code_elements) format. */\n country?: string;\n}\n\nexport interface Address {\n /** Street name. */\n street?: string;\n /** City name. */\n city?: string;\n /** Two-letter country code in an [ISO-3166 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) format. */\n country?: string;\n /** State. */\n state?: string;\n /**\n * Zip or postal code.\n * @maxLength 20\n */\n zip?: string;\n /** Extra information to be displayed in the address. */\n hint?: AddressHint;\n /** Whether this address represents a physical location. */\n isPhysical?: boolean;\n /** Google-formatted version of this address. */\n googleFormattedAddress?: string;\n /** Street number. */\n streetNumber?: string;\n /** Apartment number. */\n apartmentNumber?: string;\n /** Geographic coordinates of location. */\n coordinates?: GeoCoordinates;\n}\n\n/**\n * Extra information on displayed addresses.\n * This is used for display purposes. Used to add additional data about the address, such as \"In the passage\".\n * Free text. In addition, the user can state where to display the additional description - before, after, or instead of the address string.\n */\nexport interface AddressHint {\n /** Extra text displayed next to, or instead of, the actual address. */\n text?: string;\n /** Where the extra text should be displayed. */\n placement?: PlacementTypeWithLiterals;\n}\n\n/** Where the extra text should be displayed: before, after or instead of the actual address. */\nexport enum PlacementType {\n BEFORE = 'BEFORE',\n AFTER = 'AFTER',\n REPLACE = 'REPLACE',\n}\n\n/** @enumType */\nexport type PlacementTypeWithLiterals =\n | PlacementType\n | 'BEFORE'\n | 'AFTER'\n | 'REPLACE';\n\n/** Geocoordinates for a particular address. */\nexport interface GeoCoordinates {\n /** Latitude of the location. Must be between -90 and 90. */\n latitude?: number;\n /** Longitude of the location. Must be between -180 and 180. */\n longitude?: number;\n}\n\n/** Business schedule. Regular and exceptional time periods when the business is open or the service is available. */\nexport interface BusinessSchedule {\n /**\n * Weekly recurring time periods when the business is regularly open or the service is available. Limited to 100 time periods.\n * @maxSize 100\n */\n periods?: TimePeriod[];\n /**\n * Exceptions to the business's regular hours. The business can be open or closed during the exception.\n * @maxSize 100\n */\n specialHourPeriod?: SpecialHourPeriod[];\n}\n\n/** Weekly recurring time periods when the business is regularly open or the service is available. */\nexport interface TimePeriod {\n /** Day of the week the period starts on. */\n openDay?: DayOfWeekWithLiterals;\n /**\n * 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\n * midnight at the end of the specified day.\n */\n openTime?: string;\n /** Day of the week the period ends on. */\n closeDay?: DayOfWeekWithLiterals;\n /**\n * 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\n * midnight at the end of the specified day.\n *\n * __Note:__ If `openDay` and `closeDay` specify the same day of the week `closeTime` must be later than `openTime`.\n */\n closeTime?: string;\n}\n\n/** Enumerates the days of the week. */\nexport enum DayOfWeek {\n MONDAY = 'MONDAY',\n TUESDAY = 'TUESDAY',\n WEDNESDAY = 'WEDNESDAY',\n THURSDAY = 'THURSDAY',\n FRIDAY = 'FRIDAY',\n SATURDAY = 'SATURDAY',\n SUNDAY = 'SUNDAY',\n}\n\n/** @enumType */\nexport type DayOfWeekWithLiterals =\n | DayOfWeek\n | 'MONDAY'\n | 'TUESDAY'\n | 'WEDNESDAY'\n | 'THURSDAY'\n | 'FRIDAY'\n | 'SATURDAY'\n | 'SUNDAY';\n\n/** Exception to the business's regular hours. The business can be open or closed during the exception. */\nexport interface SpecialHourPeriod {\n /** 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). */\n startDate?: string;\n /** 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). */\n endDate?: string;\n /**\n * Whether the business is closed (or the service is not available) during the exception.\n *\n * Default: `true`.\n */\n isClosed?: boolean;\n /** Additional info about the exception. For example, \"We close earlier on New Year's Eve.\" */\n comment?: string;\n}\n\nexport interface Multilingual {\n /**\n * Supported languages list.\n * @maxSize 200\n */\n supportedLanguages?: SupportedLanguage[];\n /** Whether to redirect to user language. */\n autoRedirect?: boolean;\n}\n\nexport interface SupportedLanguage {\n /** Two-letter language code in [ISO 639-1 alpha-2](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) format. */\n languageCode?: string;\n /** Locale. */\n locale?: Locale;\n /** Whether the supported language is the primary language for the site. */\n isPrimary?: boolean;\n /** Language icon. */\n countryCode?: string;\n /** How the language will be resolved. For internal use. */\n resolutionMethod?: ResolutionMethodWithLiterals;\n /** Whether the supported language is the primary language for site visitors. */\n isVisitorPrimary?: boolean | null;\n}\n\nexport interface ConsentPolicy {\n /** Whether the site uses cookies that are essential to site operation. Always `true`. */\n essential?: boolean | null;\n /** Whether the site uses cookies that affect site performance and other functional measurements. */\n functional?: boolean | null;\n /** Whether the site uses cookies that collect analytics about how the site is used (in order to improve it). */\n analytics?: boolean | null;\n /** Whether the site uses cookies that collect information allowing better customization of the experience for a current visitor. */\n advertising?: boolean | null;\n /** CCPA compliance flag. */\n dataToThirdParty?: boolean | null;\n}\n\n/** A single mapping from the MetaSite ID to a particular service. */\nexport interface Translation {\n /** The service type. */\n serviceType?: string;\n /** The application definition ID; this only applies to services of type ThirdPartyApps. */\n appDefId?: string;\n /** The instance ID of the service. */\n instanceId?: string;\n}\n\nexport interface ChangeContext extends ChangeContextPayloadOneOf {\n /** Properties were updated. */\n propertiesChange?: PropertiesChange;\n /** Default properties were created on site creation. */\n siteCreated?: SiteCreated;\n /** Properties were cloned on site cloning. */\n siteCloned?: SiteCloned;\n}\n\n/** @oneof */\nexport interface ChangeContextPayloadOneOf {\n /** Properties were updated. */\n propertiesChange?: PropertiesChange;\n /** Default properties were created on site creation. */\n siteCreated?: SiteCreated;\n /** Properties were cloned on site cloning. */\n siteCloned?: SiteCloned;\n}\n\nexport interface PropertiesChange {}\n\nexport interface SiteCreated {\n /** Origin template site id. */\n originTemplateId?: string | null;\n}\n\nexport interface SiteCloned {\n /** Origin site id. */\n originMetaSiteId?: string;\n}\n\nexport interface Empty {}\n\nexport interface UrlInvalidationNotification {\n /**\n * Blog instance id.\n * @format GUID\n */\n blogInstanceId?: string | null;\n /**\n * Meta site id.\n * @format GUID\n */\n metaSiteId?: string | null;\n}\n\nexport interface DomainEvent extends DomainEventBodyOneOf {\n createdEvent?: EntityCreatedEvent;\n updatedEvent?: EntityUpdatedEvent;\n deletedEvent?: EntityDeletedEvent;\n actionEvent?: ActionEvent;\n /** Event ID. With this ID you can easily spot duplicated events and ignore them. */\n id?: string;\n /**\n * Fully Qualified Domain Name of an entity. This is a unique identifier assigned to the API main business entities.\n * For example, `wix.stores.catalog.product`, `wix.bookings.session`, `wix.payments.transaction`.\n */\n entityFqdn?: string;\n /**\n * Event action name, placed at the top level to make it easier for users to dispatch messages.\n * For example: `created`/`updated`/`deleted`/`started`/`completed`/`email_opened`.\n */\n slug?: string;\n /** ID of the entity associated with the event. */\n entityId?: string;\n /** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example, `2020-04-26T13:57:50.699Z`. */\n eventTime?: Date | null;\n /**\n * Whether the event was triggered as a result of a privacy regulation application\n * (for example, GDPR).\n */\n triggeredByAnonymizeRequest?: boolean | null;\n /** If present, indicates the action that triggered the event. */\n originatedFrom?: string | null;\n /**\n * 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.\n * 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.\n */\n entityEventSequence?: string | null;\n}\n\n/** @oneof */\nexport interface DomainEventBodyOneOf {\n createdEvent?: EntityCreatedEvent;\n updatedEvent?: EntityUpdatedEvent;\n deletedEvent?: EntityDeletedEvent;\n actionEvent?: ActionEvent;\n}\n\nexport interface EntityCreatedEvent {\n entityAsJson?: string;\n /** Indicates the event was triggered by a restore-from-trashbin operation for a previously deleted entity */\n restoreInfo?: RestoreInfo;\n}\n\nexport interface RestoreInfo {\n deletedDate?: Date | null;\n}\n\nexport interface EntityUpdatedEvent {\n /**\n * Since platformized APIs only expose PATCH and not PUT we can't assume that the fields sent from the client are the actual diff.\n * This means that to generate a list of changed fields (as opposed to sent fields) one needs to traverse both objects.\n * We don't want to impose this on all developers and so we leave this traversal to the notification recipients which need it.\n */\n currentEntityAsJson?: string;\n}\n\nexport interface EntityDeletedEvent {\n /** Entity that was deleted. */\n deletedEntityAsJson?: string | null;\n}\n\nexport interface ActionEvent {\n bodyAsJson?: string;\n}\n","import * as ambassadorWixBlogV1BlogCache from './blog-v1-blog-cache-blog-cache.http.js';\nimport * as ambassadorWixBlogV1BlogCacheTypes from './blog-v1-blog-cache-blog-cache.types.js';\nimport * as ambassadorWixBlogV1BlogCacheUniversalTypes from './blog-v1-blog-cache-blog-cache.universal.js';\n\nexport type __PublicMethodMetaInfo<\n K = string,\n M = unknown,\n T = unknown,\n S = unknown,\n Q = unknown,\n R = unknown\n> = {\n getUrl: (context: any) => string;\n httpMethod: K;\n path: string;\n pathParams: M;\n __requestType: T;\n __originalRequestType: S;\n __responseType: Q;\n __originalResponseType: R;\n};\n\nexport function getBlogCache(): __PublicMethodMetaInfo<\n 'GET',\n {},\n ambassadorWixBlogV1BlogCacheUniversalTypes.GetBlogCacheRequest,\n ambassadorWixBlogV1BlogCacheTypes.GetBlogCacheRequest,\n ambassadorWixBlogV1BlogCacheUniversalTypes.GetBlogCacheResponse,\n ambassadorWixBlogV1BlogCacheTypes.GetBlogCacheResponse\n> {\n const payload = {} as any;\n\n const getRequestOptions = ambassadorWixBlogV1BlogCache.getBlogCache(payload);\n\n const getUrl = (context: any): string => {\n const { url } = getRequestOptions(context);\n return url!;\n };\n\n return {\n getUrl,\n httpMethod: 'GET',\n path: '/v1/blog-cache',\n pathParams: {},\n __requestType: null as any,\n __originalRequestType: null as any,\n __responseType: null as any,\n __originalResponseType: null as any,\n };\n}\n\nexport {\n BlogCache as BlogCacheOriginal,\n SiteSupportedLanguage as SiteSupportedLanguageOriginal,\n LocaleStatus as LocaleStatusOriginal,\n LocaleStatusWithLiterals as LocaleStatusWithLiteralsOriginal,\n Flag as FlagOriginal,\n FlagWithLiterals as FlagWithLiteralsOriginal,\n ResolutionMethod as ResolutionMethodOriginal,\n ResolutionMethodWithLiterals as ResolutionMethodWithLiteralsOriginal,\n Status as StatusOriginal,\n StatusWithLiterals as StatusWithLiteralsOriginal,\n Value as ValueOriginal,\n ValueWithLiterals as ValueWithLiteralsOriginal,\n PagesData as PagesDataOriginal,\n PageInfo as PageInfoOriginal,\n SiteProperties as SitePropertiesOriginal,\n GetBlogCacheRequest as GetBlogCacheRequestOriginal,\n GetBlogCacheResponse as GetBlogCacheResponseOriginal,\n SitePropertiesNotification as SitePropertiesNotificationOriginal,\n SitePropertiesEvent as SitePropertiesEventOriginal,\n Properties as PropertiesOriginal,\n Categories as CategoriesOriginal,\n Locale as LocaleOriginal,\n Address as AddressOriginal,\n AddressHint as AddressHintOriginal,\n PlacementType as PlacementTypeOriginal,\n PlacementTypeWithLiterals as PlacementTypeWithLiteralsOriginal,\n GeoCoordinates as GeoCoordinatesOriginal,\n BusinessSchedule as BusinessScheduleOriginal,\n TimePeriod as TimePeriodOriginal,\n DayOfWeek as DayOfWeekOriginal,\n DayOfWeekWithLiterals as DayOfWeekWithLiteralsOriginal,\n SpecialHourPeriod as SpecialHourPeriodOriginal,\n Multilingual as MultilingualOriginal,\n SupportedLanguage as SupportedLanguageOriginal,\n ConsentPolicy as ConsentPolicyOriginal,\n Translation as TranslationOriginal,\n ChangeContext as ChangeContextOriginal,\n ChangeContextPayloadOneOf as ChangeContextPayloadOneOfOriginal,\n PropertiesChange as PropertiesChangeOriginal,\n SiteCreated as SiteCreatedOriginal,\n SiteCloned as SiteClonedOriginal,\n Empty as EmptyOriginal,\n UrlInvalidationNotification as UrlInvalidationNotificationOriginal,\n DomainEvent as DomainEventOriginal,\n DomainEventBodyOneOf as DomainEventBodyOneOfOriginal,\n EntityCreatedEvent as EntityCreatedEventOriginal,\n RestoreInfo as RestoreInfoOriginal,\n EntityUpdatedEvent as EntityUpdatedEventOriginal,\n EntityDeletedEvent as EntityDeletedEventOriginal,\n ActionEvent as ActionEventOriginal,\n} from './blog-v1-blog-cache-blog-cache.types.js';\n"],"mappings":";AAAA,SAAS,yBAA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A,eAAY;AACZ,EAAAA,WAAA,cAAW;AACX,EAAAA,WAAA,YAAS;AACT,EAAAA,WAAA,cAAW;AACX,EAAAA,WAAA,YAAS;AAPC,SAAAA;AAAA,GAAA;;;AC32BL,SAASC,gBAOd;AACA,QAAM,UAAU,CAAC;AAEjB,QAAM,oBAAiD,aAAa,OAAO;AAE3E,QAAM,SAAS,CAAC,YAAyB;AACvC,UAAM,EAAE,IAAI,IAAI,kBAAkB,OAAO;AACzC,WAAO;AAAA,EACT;AAEA,SAAO;AAAA,IACL;AAAA,IACA,YAAY;AAAA,IACZ,MAAM;AAAA,IACN,YAAY,CAAC;AAAA,IACb,eAAe;AAAA,IACf,uBAAuB;AAAA,IACvB,gBAAgB;AAAA,IAChB,wBAAwB;AAAA,EAC1B;AACF;","names":["payload","LocaleStatus","Flag","ResolutionMethod","Status","Value","PlacementType","DayOfWeek","getBlogCache"]}
|
|
1
|
+
{"version":3,"sources":["../../../src/blog-v1-blog-cache-blog-cache.http.ts","../../../src/blog-v1-blog-cache-blog-cache.types.ts","../../../src/blog-v1-blog-cache-blog-cache.meta.ts"],"sourcesContent":["import { toURLSearchParams } from '@wix/sdk-runtime/rest-modules';\nimport { transformRESTTimestampToSDKTimestamp } from '@wix/sdk-runtime/transformations/timestamp';\nimport { transformPaths } from '@wix/sdk-runtime/transformations/transform-paths';\nimport { resolveUrl } from '@wix/sdk-runtime/rest-modules';\nimport { ResolveUrlOpts } from '@wix/sdk-runtime/rest-modules';\nimport { RequestOptionsFactory } from '@wix/sdk-types';\n\nfunction resolveWixBlogV1BlogCacheServiceUrl(\n opts: Omit<ResolveUrlOpts, 'domainToMappings'>\n) {\n const domainToMappings = {\n 'bo._base_domain_': [\n {\n srcPath: '/_api/blog-cache-service',\n destPath: '',\n },\n ],\n 'wixbo.ai': [\n {\n srcPath: '/_api/blog-cache-service',\n destPath: '',\n },\n ],\n 'wix-bo.com': [\n {\n srcPath: '/_api/blog-cache-service',\n destPath: '',\n },\n ],\n 'manage._base_domain_': [\n {\n srcPath: '/_api/blog-cache-service',\n destPath: '',\n },\n ],\n 'apps._base_domain_': [\n {\n srcPath: '/_api/blog-cache-service',\n destPath: '',\n },\n ],\n 'editor._base_domain_': [\n {\n srcPath: '/_api/blog-cache-service',\n destPath: '',\n },\n ],\n 'blocks._base_domain_': [\n {\n srcPath: '/_api/blog-cache-service',\n destPath: '',\n },\n ],\n 'create.editorx': [\n {\n srcPath: '/_api/blog-cache-service',\n destPath: '',\n },\n ],\n _: [\n {\n srcPath: '/_api/blog-cache-service',\n destPath: '',\n },\n ],\n 'www._base_domain_': [\n {\n srcPath: '/_api/blog-cache-service',\n destPath: '',\n },\n ],\n '*.dev.wix-code.com': [\n {\n srcPath: '/_api/blog-cache-service',\n destPath: '',\n },\n ],\n 'api._api_base_domain_': [\n {\n srcPath: '/blog-cache-service',\n destPath: '',\n },\n ],\n };\n\n return resolveUrl(Object.assign(opts, { domainToMappings }));\n}\n\nconst PACKAGE_NAME = '@wix/auto_sdk_blog_blog-cache';\n\n/** Gets blog cache. */\nexport function getBlogCache(payload: object): RequestOptionsFactory<any> {\n function __getBlogCache({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.blog.v1.blog_cache',\n method: 'GET' as any,\n methodFqn: 'wix.blog.v1.BlogCacheService.GetBlogCache',\n packageName: PACKAGE_NAME,\n migrationOptions: {\n optInTransformResponse: true,\n },\n url: resolveWixBlogV1BlogCacheServiceUrl({\n protoPath: '/v1/blog-cache',\n data: payload,\n host,\n }),\n params: toURLSearchParams(payload),\n transformResponse: (payload: any) =>\n transformPaths(payload, [\n {\n transformFn: transformRESTTimestampToSDKTimestamp,\n paths: [{ path: 'blogCache.updatedDate' }],\n },\n ]),\n };\n\n return metadata;\n }\n\n return __getBlogCache;\n}\n","/** BlogCache is the main entity of BlogCacheService */\nexport interface BlogCache {\n /**\n * MetaSite ID.\n * @format GUID\n * @readonly\n */\n id?: string | null;\n /** Site supported languages. */\n siteSupportedLanguages?: SiteSupportedLanguage[];\n /** Pages data. */\n pagesData?: PagesData;\n /** Site properties. */\n siteProperties?: SiteProperties;\n /**\n * Date the blog cache was last updated\n * @readonly\n */\n updatedDate?: Date | null;\n /**\n * Post page url mapping.\n * \"post/{{slug}}\"\n * @maxLength 1000\n */\n postPageUrlMapping?: string | null;\n}\n\nexport interface SiteSupportedLanguage {\n /**\n * Language code\n * @format LANGUAGE\n */\n languageCode?: string;\n /** Locale status. */\n localeStatus?: StatusWithLiterals;\n /** Flag code. */\n flagCode?: string | null;\n /** Resolution method. */\n resolutionMethodValue?: ValueWithLiterals;\n}\n\nexport enum Status {\n /** Value not specified. */\n UNDEFINED_STATUS = 'UNDEFINED_STATUS',\n /** Locale was added to site but was not activated. */\n INACTIVE = 'INACTIVE',\n /** Locale was added to site and activated. */\n ACTIVE = 'ACTIVE',\n /** Default locale (always active). */\n DEFAULT = 'DEFAULT',\n}\n\n/** @enumType */\nexport type StatusWithLiterals =\n | Status\n | 'UNDEFINED_STATUS'\n | 'INACTIVE'\n | 'ACTIVE'\n | 'DEFAULT';\n\nexport enum Value {\n /** Query parameter. */\n QUERY_PARAM = 'QUERY_PARAM',\n /** Subdomain. */\n SUBDOMAIN = 'SUBDOMAIN',\n /** Subdirectory. */\n SUBDIRECTORY = 'SUBDIRECTORY',\n}\n\n/** @enumType */\nexport type ValueWithLiterals =\n | Value\n | 'QUERY_PARAM'\n | 'SUBDOMAIN'\n | 'SUBDIRECTORY';\n\nexport interface PagesData {\n /** Blog page. */\n blogPage?: PageInfo;\n /** Post page. */\n postPage?: PageInfo;\n /**\n * Site primary url.\n * @format WEB_URL\n * @readonly\n */\n sitePrimaryUrl?: string | null;\n}\n\nexport interface PageInfo {\n /**\n * Title.\n * @deprecated Title.\n * @targetRemovalDate 2026-01-01\n */\n title?: string;\n /** Page ID. */\n pageId?: string;\n /** Is hidden. */\n hidden?: boolean;\n /** Path. */\n path?: string;\n /** TPA page ID. */\n tpaPageId?: string | null;\n /** TPA embedded service ID. */\n tpaEmbeddedServiceId?: number | null;\n /** TPA app ID. */\n tpaAppId?: string | null;\n /** Page URL. */\n url?: string;\n /**\n * Hidden path.\n * @deprecated Hidden path.\n * @targetRemovalDate 2026-01-01\n */\n hiddenPath?: string | null;\n /** Is SM protected. */\n isSmProtected?: boolean;\n /** Is dynamic. */\n isDynamic?: boolean;\n /** Platform apps. */\n platformApps?: string[];\n}\n\nexport interface SiteProperties {\n /** Business name. */\n businessName?: string | null;\n /** Business logo. */\n logo?: string | null;\n /** Site display name. */\n siteDisplayName?: string | null;\n /** Description. */\n description?: string | null;\n}\n\nexport interface GetBlogCacheRequest {}\n\nexport interface GetBlogCacheResponse {\n /** Blog cache. */\n blogCache?: BlogCache;\n}\n\n/** Encapsulates all details written to the Greyhound topic when a site's properties are updated. */\nexport interface SitePropertiesNotification {\n /** The site ID for which this update notification applies. */\n metasiteId?: string;\n /** The actual update event. */\n event?: SitePropertiesEvent;\n /**\n * A convenience set of mappings from the MetaSite ID to its constituent services.\n * @maxSize 500\n */\n translations?: Translation[];\n /** Context of the notification */\n changeContext?: ChangeContext;\n}\n\n/** The actual update event for a particular notification. */\nexport interface SitePropertiesEvent {\n /** Version of the site's properties represented by this update. */\n version?: number;\n /** Set of properties that were updated - corresponds to the fields in \"properties\". */\n fields?: string[];\n /** Updated properties. */\n properties?: Properties;\n}\n\nexport interface Properties {\n /** Site categories. */\n categories?: Categories;\n /** Site locale. */\n locale?: Locale;\n /**\n * Site language.\n *\n * Two-letter language code in [ISO 639-1 alpha-2](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) format.\n */\n language?: string | null;\n /**\n * Site currency format used to bill customers.\n *\n * Three-letter currency code in [ISO-4217 alphabetic](https://en.wikipedia.org/wiki/ISO_4217#Active_codes) format.\n */\n paymentCurrency?: string | null;\n /** Timezone in `America/New_York` format. */\n timeZone?: string | null;\n /** Email address. */\n email?: string | null;\n /** Phone number. */\n phone?: string | null;\n /** Fax number. */\n fax?: string | null;\n /** Address. */\n address?: Address;\n /** Site display name. */\n siteDisplayName?: string | null;\n /** Business name. */\n businessName?: string | null;\n /** Path to the site's logo in Wix Media (without Wix Media base URL). */\n logo?: string | null;\n /** Site description. */\n description?: string | null;\n /**\n * Business schedule. Regular and exceptional time periods when the business is open or the service is available.\n *\n * __Note:__ Not supported by Wix Bookings.\n */\n businessSchedule?: BusinessSchedule;\n /** Supported languages of a site and the primary language. */\n multilingual?: Multilingual;\n /** Cookie policy the Wix user defined for their site (before the site visitor interacts with/limits it). */\n consentPolicy?: ConsentPolicy;\n /**\n * Supported values: `FITNESS SERVICE`, `RESTAURANT`, `BLOG`, `STORE`, `EVENT`, `UNKNOWN`.\n *\n * Site business type.\n */\n businessConfig?: string | null;\n /** External site URL that uses Wix as its headless business solution. */\n externalSiteUrl?: string | null;\n /** Track clicks analytics. */\n trackClicksAnalytics?: boolean;\n}\n\nexport interface Categories {\n /** Primary site category. */\n primary?: string;\n /**\n * Secondary site category.\n * @maxSize 50\n */\n secondary?: string[];\n /** Business Term Id */\n businessTermId?: string | null;\n}\n\nexport interface Locale {\n /** Two-letter language code in [ISO 639-1 alpha-2](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) format. */\n languageCode?: string;\n /** Two-letter country code in [ISO-3166 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2#Officially_assigned_code_elements) format. */\n country?: string;\n}\n\nexport interface Address {\n /** Street name. */\n street?: string;\n /** City name. */\n city?: string;\n /** Two-letter country code in an [ISO-3166 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) format. */\n country?: string;\n /** State. */\n state?: string;\n /**\n * Zip or postal code.\n * @maxLength 20\n */\n zip?: string;\n /** Extra information to be displayed in the address. */\n hint?: AddressHint;\n /** Whether this address represents a physical location. */\n isPhysical?: boolean;\n /** Google-formatted version of this address. */\n googleFormattedAddress?: string;\n /** Street number. */\n streetNumber?: string;\n /** Apartment number. */\n apartmentNumber?: string;\n /** Geographic coordinates of location. */\n coordinates?: GeoCoordinates;\n}\n\n/**\n * Extra information on displayed addresses.\n * This is used for display purposes. Used to add additional data about the address, such as \"In the passage\".\n * Free text. In addition, the user can state where to display the additional description - before, after, or instead of the address string.\n */\nexport interface AddressHint {\n /** Extra text displayed next to, or instead of, the actual address. */\n text?: string;\n /** Where the extra text should be displayed. */\n placement?: PlacementTypeWithLiterals;\n}\n\n/** Where the extra text should be displayed: before, after or instead of the actual address. */\nexport enum PlacementType {\n BEFORE = 'BEFORE',\n AFTER = 'AFTER',\n REPLACE = 'REPLACE',\n}\n\n/** @enumType */\nexport type PlacementTypeWithLiterals =\n | PlacementType\n | 'BEFORE'\n | 'AFTER'\n | 'REPLACE';\n\n/** Geocoordinates for a particular address. */\nexport interface GeoCoordinates {\n /** Latitude of the location. Must be between -90 and 90. */\n latitude?: number;\n /** Longitude of the location. Must be between -180 and 180. */\n longitude?: number;\n}\n\n/** Business schedule. Regular and exceptional time periods when the business is open or the service is available. */\nexport interface BusinessSchedule {\n /**\n * Weekly recurring time periods when the business is regularly open or the service is available. Limited to 100 time periods.\n * @maxSize 100\n */\n periods?: TimePeriod[];\n /**\n * Exceptions to the business's regular hours. The business can be open or closed during the exception.\n * @maxSize 100\n */\n specialHourPeriod?: SpecialHourPeriod[];\n}\n\n/** Weekly recurring time periods when the business is regularly open or the service is available. */\nexport interface TimePeriod {\n /** Day of the week the period starts on. */\n openDay?: DayOfWeekWithLiterals;\n /**\n * 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\n * midnight at the end of the specified day.\n */\n openTime?: string;\n /** Day of the week the period ends on. */\n closeDay?: DayOfWeekWithLiterals;\n /**\n * 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\n * midnight at the end of the specified day.\n *\n * __Note:__ If `openDay` and `closeDay` specify the same day of the week `closeTime` must be later than `openTime`.\n */\n closeTime?: string;\n}\n\n/** Enumerates the days of the week. */\nexport enum DayOfWeek {\n MONDAY = 'MONDAY',\n TUESDAY = 'TUESDAY',\n WEDNESDAY = 'WEDNESDAY',\n THURSDAY = 'THURSDAY',\n FRIDAY = 'FRIDAY',\n SATURDAY = 'SATURDAY',\n SUNDAY = 'SUNDAY',\n}\n\n/** @enumType */\nexport type DayOfWeekWithLiterals =\n | DayOfWeek\n | 'MONDAY'\n | 'TUESDAY'\n | 'WEDNESDAY'\n | 'THURSDAY'\n | 'FRIDAY'\n | 'SATURDAY'\n | 'SUNDAY';\n\n/** Exception to the business's regular hours. The business can be open or closed during the exception. */\nexport interface SpecialHourPeriod {\n /** 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). */\n startDate?: string;\n /** 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). */\n endDate?: string;\n /**\n * Whether the business is closed (or the service is not available) during the exception.\n *\n * Default: `true`.\n */\n isClosed?: boolean;\n /** Additional info about the exception. For example, \"We close earlier on New Year's Eve.\" */\n comment?: string;\n}\n\nexport interface Multilingual {\n /**\n * Supported languages list.\n * @maxSize 200\n */\n supportedLanguages?: SupportedLanguage[];\n /** Whether to redirect to user language. */\n autoRedirect?: boolean;\n}\n\nexport interface SupportedLanguage {\n /** Two-letter language code in [ISO 639-1 alpha-2](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) format. */\n languageCode?: string;\n /** Locale. */\n locale?: Locale;\n /** Whether the supported language is the primary language for the site. */\n isPrimary?: boolean;\n /** Language icon. */\n countryCode?: string;\n /** How the language will be resolved. For internal use. */\n resolutionMethod?: ResolutionMethodWithLiterals;\n /** Whether the supported language is the primary language for site visitors. */\n isVisitorPrimary?: boolean | null;\n}\n\nexport enum ResolutionMethod {\n QUERY_PARAM = 'QUERY_PARAM',\n SUBDOMAIN = 'SUBDOMAIN',\n SUBDIRECTORY = 'SUBDIRECTORY',\n}\n\n/** @enumType */\nexport type ResolutionMethodWithLiterals =\n | ResolutionMethod\n | 'QUERY_PARAM'\n | 'SUBDOMAIN'\n | 'SUBDIRECTORY';\n\nexport interface ConsentPolicy {\n /** Whether the site uses cookies that are essential to site operation. Always `true`. */\n essential?: boolean | null;\n /** Whether the site uses cookies that affect site performance and other functional measurements. */\n functional?: boolean | null;\n /** Whether the site uses cookies that collect analytics about how the site is used (in order to improve it). */\n analytics?: boolean | null;\n /** Whether the site uses cookies that collect information allowing better customization of the experience for a current visitor. */\n advertising?: boolean | null;\n /** CCPA compliance flag. */\n dataToThirdParty?: boolean | null;\n}\n\n/** A single mapping from the MetaSite ID to a particular service. */\nexport interface Translation {\n /** The service type. */\n serviceType?: string;\n /** The application definition ID; this only applies to services of type ThirdPartyApps. */\n appDefId?: string;\n /** The instance ID of the service. */\n instanceId?: string;\n}\n\nexport interface ChangeContext extends ChangeContextPayloadOneOf {\n /** Properties were updated. */\n propertiesChange?: PropertiesChange;\n /** Default properties were created on site creation. */\n siteCreated?: SiteCreated;\n /** Properties were cloned on site cloning. */\n siteCloned?: SiteCloned;\n}\n\n/** @oneof */\nexport interface ChangeContextPayloadOneOf {\n /** Properties were updated. */\n propertiesChange?: PropertiesChange;\n /** Default properties were created on site creation. */\n siteCreated?: SiteCreated;\n /** Properties were cloned on site cloning. */\n siteCloned?: SiteCloned;\n}\n\nexport interface PropertiesChange {}\n\nexport interface SiteCreated {\n /** Origin template site id. */\n originTemplateId?: string | null;\n}\n\nexport interface SiteCloned {\n /** Origin site id. */\n originMetaSiteId?: string;\n}\n\nexport interface Empty {}\n\nexport interface UrlInvalidationNotification {\n /**\n * Blog instance id.\n * @format GUID\n */\n blogInstanceId?: string | null;\n /**\n * Meta site id.\n * @format GUID\n */\n metaSiteId?: string | null;\n}\n\nexport interface DomainEvent extends DomainEventBodyOneOf {\n createdEvent?: EntityCreatedEvent;\n updatedEvent?: EntityUpdatedEvent;\n deletedEvent?: EntityDeletedEvent;\n actionEvent?: ActionEvent;\n /** Event ID. With this ID you can easily spot duplicated events and ignore them. */\n id?: string;\n /**\n * Fully Qualified Domain Name of an entity. This is a unique identifier assigned to the API main business entities.\n * For example, `wix.stores.catalog.product`, `wix.bookings.session`, `wix.payments.transaction`.\n */\n entityFqdn?: string;\n /**\n * Event action name, placed at the top level to make it easier for users to dispatch messages.\n * For example: `created`/`updated`/`deleted`/`started`/`completed`/`email_opened`.\n */\n slug?: string;\n /** ID of the entity associated with the event. */\n entityId?: string;\n /** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example, `2020-04-26T13:57:50.699Z`. */\n eventTime?: Date | null;\n /**\n * Whether the event was triggered as a result of a privacy regulation application\n * (for example, GDPR).\n */\n triggeredByAnonymizeRequest?: boolean | null;\n /** If present, indicates the action that triggered the event. */\n originatedFrom?: string | null;\n /**\n * 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.\n * 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.\n */\n entityEventSequence?: string | null;\n}\n\n/** @oneof */\nexport interface DomainEventBodyOneOf {\n createdEvent?: EntityCreatedEvent;\n updatedEvent?: EntityUpdatedEvent;\n deletedEvent?: EntityDeletedEvent;\n actionEvent?: ActionEvent;\n}\n\nexport interface EntityCreatedEvent {\n entityAsJson?: string;\n /** Indicates the event was triggered by a restore-from-trashbin operation for a previously deleted entity */\n restoreInfo?: RestoreInfo;\n}\n\nexport interface RestoreInfo {\n deletedDate?: Date | null;\n}\n\nexport interface EntityUpdatedEvent {\n /**\n * Since platformized APIs only expose PATCH and not PUT we can't assume that the fields sent from the client are the actual diff.\n * This means that to generate a list of changed fields (as opposed to sent fields) one needs to traverse both objects.\n * We don't want to impose this on all developers and so we leave this traversal to the notification recipients which need it.\n */\n currentEntityAsJson?: string;\n}\n\nexport interface EntityDeletedEvent {\n /** Entity that was deleted. */\n deletedEntityAsJson?: string | null;\n}\n\nexport interface ActionEvent {\n bodyAsJson?: string;\n}\n","import * as ambassadorWixBlogV1BlogCache from './blog-v1-blog-cache-blog-cache.http.js';\nimport * as ambassadorWixBlogV1BlogCacheTypes from './blog-v1-blog-cache-blog-cache.types.js';\nimport * as ambassadorWixBlogV1BlogCacheUniversalTypes from './blog-v1-blog-cache-blog-cache.universal.js';\n\nexport type __PublicMethodMetaInfo<\n K = string,\n M = unknown,\n T = unknown,\n S = unknown,\n Q = unknown,\n R = unknown\n> = {\n getUrl: (context: any) => string;\n httpMethod: K;\n path: string;\n pathParams: M;\n __requestType: T;\n __originalRequestType: S;\n __responseType: Q;\n __originalResponseType: R;\n};\n\nexport function getBlogCache(): __PublicMethodMetaInfo<\n 'GET',\n {},\n ambassadorWixBlogV1BlogCacheUniversalTypes.GetBlogCacheRequest,\n ambassadorWixBlogV1BlogCacheTypes.GetBlogCacheRequest,\n ambassadorWixBlogV1BlogCacheUniversalTypes.GetBlogCacheResponse,\n ambassadorWixBlogV1BlogCacheTypes.GetBlogCacheResponse\n> {\n const payload = {} as any;\n\n const getRequestOptions = ambassadorWixBlogV1BlogCache.getBlogCache(payload);\n\n const getUrl = (context: any): string => {\n const { url } = getRequestOptions(context);\n return url!;\n };\n\n return {\n getUrl,\n httpMethod: 'GET',\n path: '/v1/blog-cache',\n pathParams: {},\n __requestType: null as any,\n __originalRequestType: null as any,\n __responseType: null as any,\n __originalResponseType: null as any,\n };\n}\n\nexport {\n BlogCache as BlogCacheOriginal,\n SiteSupportedLanguage as SiteSupportedLanguageOriginal,\n Status as StatusOriginal,\n StatusWithLiterals as StatusWithLiteralsOriginal,\n Value as ValueOriginal,\n ValueWithLiterals as ValueWithLiteralsOriginal,\n PagesData as PagesDataOriginal,\n PageInfo as PageInfoOriginal,\n SiteProperties as SitePropertiesOriginal,\n GetBlogCacheRequest as GetBlogCacheRequestOriginal,\n GetBlogCacheResponse as GetBlogCacheResponseOriginal,\n SitePropertiesNotification as SitePropertiesNotificationOriginal,\n SitePropertiesEvent as SitePropertiesEventOriginal,\n Properties as PropertiesOriginal,\n Categories as CategoriesOriginal,\n Locale as LocaleOriginal,\n Address as AddressOriginal,\n AddressHint as AddressHintOriginal,\n PlacementType as PlacementTypeOriginal,\n PlacementTypeWithLiterals as PlacementTypeWithLiteralsOriginal,\n GeoCoordinates as GeoCoordinatesOriginal,\n BusinessSchedule as BusinessScheduleOriginal,\n TimePeriod as TimePeriodOriginal,\n DayOfWeek as DayOfWeekOriginal,\n DayOfWeekWithLiterals as DayOfWeekWithLiteralsOriginal,\n SpecialHourPeriod as SpecialHourPeriodOriginal,\n Multilingual as MultilingualOriginal,\n SupportedLanguage as SupportedLanguageOriginal,\n ResolutionMethod as ResolutionMethodOriginal,\n ResolutionMethodWithLiterals as ResolutionMethodWithLiteralsOriginal,\n ConsentPolicy as ConsentPolicyOriginal,\n Translation as TranslationOriginal,\n ChangeContext as ChangeContextOriginal,\n ChangeContextPayloadOneOf as ChangeContextPayloadOneOfOriginal,\n PropertiesChange as PropertiesChangeOriginal,\n SiteCreated as SiteCreatedOriginal,\n SiteCloned as SiteClonedOriginal,\n Empty as EmptyOriginal,\n UrlInvalidationNotification as UrlInvalidationNotificationOriginal,\n DomainEvent as DomainEventOriginal,\n DomainEventBodyOneOf as DomainEventBodyOneOfOriginal,\n EntityCreatedEvent as EntityCreatedEventOriginal,\n RestoreInfo as RestoreInfoOriginal,\n EntityUpdatedEvent as EntityUpdatedEventOriginal,\n EntityDeletedEvent as EntityDeletedEventOriginal,\n ActionEvent as ActionEventOriginal,\n} from './blog-v1-blog-cache-blog-cache.types.js';\n"],"mappings":";AAAA,SAAS,yBAAyB;AAClC,SAAS,4CAA4C;AACrD,SAAS,sBAAsB;AAC/B,SAAS,kBAAkB;AAI3B,SAAS,oCACP,MACA;AACA,QAAM,mBAAmB;AAAA,IACvB,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;;;AC5XL,SAASC,gBAOd;AACA,QAAM,UAAU,CAAC;AAEjB,QAAM,oBAAiD,aAAa,OAAO;AAE3E,QAAM,SAAS,CAAC,YAAyB;AACvC,UAAM,EAAE,IAAI,IAAI,kBAAkB,OAAO;AACzC,WAAO;AAAA,EACT;AAEA,SAAO;AAAA,IACL;AAAA,IACA,YAAY;AAAA,IACZ,MAAM;AAAA,IACN,YAAY,CAAC;AAAA,IACb,eAAe;AAAA,IACf,uBAAuB;AAAA,IACvB,gBAAgB;AAAA,IAChB,wBAAwB;AAAA,EAC1B;AACF;","names":["payload","Status","Value","PlacementType","DayOfWeek","ResolutionMethod","getBlogCache"]}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wix/auto_sdk_blog_blog-cache",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.30",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/",
|
|
@@ -29,8 +29,8 @@
|
|
|
29
29
|
"service-plugins"
|
|
30
30
|
],
|
|
31
31
|
"dependencies": {
|
|
32
|
-
"@wix/sdk-runtime": "^1.0.
|
|
33
|
-
"@wix/sdk-types": "^1.
|
|
32
|
+
"@wix/sdk-runtime": "^1.0.6",
|
|
33
|
+
"@wix/sdk-types": "^1.17.3"
|
|
34
34
|
},
|
|
35
35
|
"devDependencies": {
|
|
36
36
|
"tsup": "^8.4.0",
|
|
@@ -50,5 +50,5 @@
|
|
|
50
50
|
"fqdn": "wix.blog.v1.blog_cache"
|
|
51
51
|
}
|
|
52
52
|
},
|
|
53
|
-
"falconPackageHash": "
|
|
53
|
+
"falconPackageHash": "4ba5e2553c9131b56799e306d9b12799f4889a6078ddbe521101730c"
|
|
54
54
|
}
|