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