@wix/auto_sdk_calendar_schedule-time-frames 1.0.12 → 1.0.14
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/cjs/src/calendar-v3-schedule-time-frame-schedule-time-frames.types.d.ts +16 -6
- package/build/cjs/src/calendar-v3-schedule-time-frame-schedule-time-frames.types.js.map +1 -1
- package/build/cjs/src/calendar-v3-schedule-time-frame-schedule-time-frames.universal.d.ts +16 -9
- package/build/cjs/src/calendar-v3-schedule-time-frame-schedule-time-frames.universal.js +0 -2
- package/build/cjs/src/calendar-v3-schedule-time-frame-schedule-time-frames.universal.js.map +1 -1
- package/build/es/src/calendar-v3-schedule-time-frame-schedule-time-frames.types.d.ts +16 -6
- package/build/es/src/calendar-v3-schedule-time-frame-schedule-time-frames.types.js.map +1 -1
- package/build/es/src/calendar-v3-schedule-time-frame-schedule-time-frames.universal.d.ts +16 -9
- package/build/es/src/calendar-v3-schedule-time-frame-schedule-time-frames.universal.js +0 -2
- package/build/es/src/calendar-v3-schedule-time-frame-schedule-time-frames.universal.js.map +1 -1
- package/build/internal/cjs/src/calendar-v3-schedule-time-frame-schedule-time-frames.types.d.ts +16 -6
- package/build/internal/cjs/src/calendar-v3-schedule-time-frame-schedule-time-frames.types.js.map +1 -1
- package/build/internal/cjs/src/calendar-v3-schedule-time-frame-schedule-time-frames.universal.d.ts +16 -9
- package/build/internal/cjs/src/calendar-v3-schedule-time-frame-schedule-time-frames.universal.js +0 -2
- package/build/internal/cjs/src/calendar-v3-schedule-time-frame-schedule-time-frames.universal.js.map +1 -1
- package/build/internal/es/src/calendar-v3-schedule-time-frame-schedule-time-frames.types.d.ts +16 -6
- package/build/internal/es/src/calendar-v3-schedule-time-frame-schedule-time-frames.types.js.map +1 -1
- package/build/internal/es/src/calendar-v3-schedule-time-frame-schedule-time-frames.universal.d.ts +16 -9
- package/build/internal/es/src/calendar-v3-schedule-time-frame-schedule-time-frames.universal.js +0 -2
- package/build/internal/es/src/calendar-v3-schedule-time-frame-schedule-time-frames.universal.js.map +1 -1
- package/package.json +2 -2
|
@@ -21,7 +21,7 @@ export interface ScheduleTimeFrame {
|
|
|
21
21
|
* + `INFINITE`: At least one recurring event within the schedule has no end date, meaning it follows an unlimited repetition pattern.
|
|
22
22
|
* @readonly
|
|
23
23
|
*/
|
|
24
|
-
status?:
|
|
24
|
+
status?: StatusWithLiterals;
|
|
25
25
|
/**
|
|
26
26
|
* Start date of the first [event](https://dev.wix.com/docs/rest/business-management/calendar/events-v3/event-object)
|
|
27
27
|
* within the schedule. Identical to `event.start.localDate`. Available only if
|
|
@@ -69,6 +69,8 @@ export declare enum Status {
|
|
|
69
69
|
/** At least one recurring event belonging to the schedule has an unlimited repetition pattern (no end date). */
|
|
70
70
|
INFINITE = "INFINITE"
|
|
71
71
|
}
|
|
72
|
+
/** @enumType */
|
|
73
|
+
export type StatusWithLiterals = Status | 'UNKNOWN_STATUS' | 'NONE' | 'FINITE' | 'INFINITE';
|
|
72
74
|
/** A date time with a time zone, having the UTC offset and date determined by the server. */
|
|
73
75
|
export interface ZonedDate {
|
|
74
76
|
/**
|
|
@@ -265,7 +267,7 @@ export interface AddressHint {
|
|
|
265
267
|
/** Extra text displayed next to, or instead of, the actual address. */
|
|
266
268
|
text?: string;
|
|
267
269
|
/** Where the extra text should be displayed. */
|
|
268
|
-
placement?:
|
|
270
|
+
placement?: PlacementTypeWithLiterals;
|
|
269
271
|
}
|
|
270
272
|
/** Where the extra text should be displayed: before, after or instead of the actual address. */
|
|
271
273
|
export declare enum PlacementType {
|
|
@@ -273,6 +275,8 @@ export declare enum PlacementType {
|
|
|
273
275
|
AFTER = "AFTER",
|
|
274
276
|
REPLACE = "REPLACE"
|
|
275
277
|
}
|
|
278
|
+
/** @enumType */
|
|
279
|
+
export type PlacementTypeWithLiterals = PlacementType | 'BEFORE' | 'AFTER' | 'REPLACE';
|
|
276
280
|
/** Geocoordinates for a particular address. */
|
|
277
281
|
export interface GeoCoordinates {
|
|
278
282
|
/** Latitude of the location. Must be between -90 and 90. */
|
|
@@ -296,14 +300,14 @@ export interface BusinessSchedule {
|
|
|
296
300
|
/** Weekly recurring time periods when the business is regularly open or the service is available. */
|
|
297
301
|
export interface TimePeriod {
|
|
298
302
|
/** Day of the week the period starts on. */
|
|
299
|
-
openDay?:
|
|
303
|
+
openDay?: DayOfWeekWithLiterals;
|
|
300
304
|
/**
|
|
301
305
|
* 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
|
|
302
306
|
* midnight at the end of the specified day.
|
|
303
307
|
*/
|
|
304
308
|
openTime?: string;
|
|
305
309
|
/** Day of the week the period ends on. */
|
|
306
|
-
closeDay?:
|
|
310
|
+
closeDay?: DayOfWeekWithLiterals;
|
|
307
311
|
/**
|
|
308
312
|
* 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
|
|
309
313
|
* midnight at the end of the specified day.
|
|
@@ -322,6 +326,8 @@ export declare enum DayOfWeek {
|
|
|
322
326
|
SATURDAY = "SATURDAY",
|
|
323
327
|
SUNDAY = "SUNDAY"
|
|
324
328
|
}
|
|
329
|
+
/** @enumType */
|
|
330
|
+
export type DayOfWeekWithLiterals = DayOfWeek | 'MONDAY' | 'TUESDAY' | 'WEDNESDAY' | 'THURSDAY' | 'FRIDAY' | 'SATURDAY' | 'SUNDAY';
|
|
325
331
|
/** Exception to the business's regular hours. The business can be open or closed during the exception. */
|
|
326
332
|
export interface SpecialHourPeriod {
|
|
327
333
|
/** 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). */
|
|
@@ -356,13 +362,15 @@ export interface SupportedLanguage {
|
|
|
356
362
|
/** Language icon. */
|
|
357
363
|
countryCode?: string;
|
|
358
364
|
/** How the language will be resolved. For internal use. */
|
|
359
|
-
resolutionMethod?:
|
|
365
|
+
resolutionMethod?: ResolutionMethodWithLiterals;
|
|
360
366
|
}
|
|
361
367
|
export declare enum ResolutionMethod {
|
|
362
368
|
QUERY_PARAM = "QUERY_PARAM",
|
|
363
369
|
SUBDOMAIN = "SUBDOMAIN",
|
|
364
370
|
SUBDIRECTORY = "SUBDIRECTORY"
|
|
365
371
|
}
|
|
372
|
+
/** @enumType */
|
|
373
|
+
export type ResolutionMethodWithLiterals = ResolutionMethod | 'QUERY_PARAM' | 'SUBDOMAIN' | 'SUBDIRECTORY';
|
|
366
374
|
export interface ConsentPolicy {
|
|
367
375
|
/** Whether the site uses cookies that are essential to site operation. Always `true`. */
|
|
368
376
|
essential?: boolean | null;
|
|
@@ -515,7 +523,7 @@ export interface IdentificationData extends IdentificationDataIdOneOf {
|
|
|
515
523
|
*/
|
|
516
524
|
appId?: string;
|
|
517
525
|
/** @readonly */
|
|
518
|
-
identityType?:
|
|
526
|
+
identityType?: WebhookIdentityTypeWithLiterals;
|
|
519
527
|
}
|
|
520
528
|
/** @oneof */
|
|
521
529
|
export interface IdentificationDataIdOneOf {
|
|
@@ -547,3 +555,5 @@ export declare enum WebhookIdentityType {
|
|
|
547
555
|
WIX_USER = "WIX_USER",
|
|
548
556
|
APP = "APP"
|
|
549
557
|
}
|
|
558
|
+
/** @enumType */
|
|
559
|
+
export type WebhookIdentityTypeWithLiterals = WebhookIdentityType | 'UNKNOWN' | 'ANONYMOUS_VISITOR' | 'MEMBER' | 'WIX_USER' | 'APP';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"calendar-v3-schedule-time-frame-schedule-time-frames.types.js","sourceRoot":"","sources":["../../../src/calendar-v3-schedule-time-frame-schedule-time-frames.types.ts"],"names":[],"mappings":";;;AA+DA,IAAY,MAQX;AARD,WAAY,MAAM;IAChB,2CAAiC,CAAA;IACjC,kIAAkI;IAClI,uBAAa,CAAA;IACb,+GAA+G;IAC/G,2BAAiB,CAAA;IACjB,gHAAgH;IAChH,+BAAqB,CAAA;AACvB,CAAC,EARW,MAAM,sBAAN,MAAM,QAQjB;
|
|
1
|
+
{"version":3,"file":"calendar-v3-schedule-time-frame-schedule-time-frames.types.js","sourceRoot":"","sources":["../../../src/calendar-v3-schedule-time-frame-schedule-time-frames.types.ts"],"names":[],"mappings":";;;AA+DA,IAAY,MAQX;AARD,WAAY,MAAM;IAChB,2CAAiC,CAAA;IACjC,kIAAkI;IAClI,uBAAa,CAAA;IACb,+GAA+G;IAC/G,2BAAiB,CAAA;IACjB,gHAAgH;IAChH,+BAAqB,CAAA;AACvB,CAAC,EARW,MAAM,sBAAN,MAAM,QAQjB;AA4ND,gGAAgG;AAChG,IAAY,aAIX;AAJD,WAAY,aAAa;IACvB,kCAAiB,CAAA;IACjB,gCAAe,CAAA;IACf,oCAAmB,CAAA;AACrB,CAAC,EAJW,aAAa,6BAAb,aAAa,QAIxB;AAmDD,uCAAuC;AACvC,IAAY,SAQX;AARD,WAAY,SAAS;IACnB,8BAAiB,CAAA;IACjB,gCAAmB,CAAA;IACnB,oCAAuB,CAAA;IACvB,kCAAqB,CAAA;IACrB,8BAAiB,CAAA;IACjB,kCAAqB,CAAA;IACrB,8BAAiB,CAAA;AACnB,CAAC,EARW,SAAS,yBAAT,SAAS,QAQpB;AAoDD,IAAY,gBAIX;AAJD,WAAY,gBAAgB;IAC1B,+CAA2B,CAAA;IAC3B,2CAAuB,CAAA;IACvB,iDAA6B,CAAA;AAC/B,CAAC,EAJW,gBAAgB,gCAAhB,gBAAgB,QAI3B;AA0MD,IAAY,mBAMX;AAND,WAAY,mBAAmB;IAC7B,0CAAmB,CAAA;IACnB,8DAAuC,CAAA;IACvC,wCAAiB,CAAA;IACjB,4CAAqB,CAAA;IACrB,kCAAW,CAAA;AACb,CAAC,EANW,mBAAmB,mCAAnB,mBAAmB,QAM9B"}
|
|
@@ -22,7 +22,7 @@ export interface ScheduleTimeFrame {
|
|
|
22
22
|
* + `INFINITE`: At least one recurring event within the schedule has no end date, meaning it follows an unlimited repetition pattern.
|
|
23
23
|
* @readonly
|
|
24
24
|
*/
|
|
25
|
-
status?:
|
|
25
|
+
status?: StatusWithLiterals;
|
|
26
26
|
/**
|
|
27
27
|
* Start date of the first [event](https://dev.wix.com/docs/sdk/backend-modules/calendar/events/introduction)
|
|
28
28
|
* within the schedule. Identical to `event.start.localDate`. Available only if
|
|
@@ -70,6 +70,8 @@ export declare enum Status {
|
|
|
70
70
|
/** At least one recurring event belonging to the schedule has an unlimited repetition pattern (no end date). */
|
|
71
71
|
INFINITE = "INFINITE"
|
|
72
72
|
}
|
|
73
|
+
/** @enumType */
|
|
74
|
+
export type StatusWithLiterals = Status | 'UNKNOWN_STATUS' | 'NONE' | 'FINITE' | 'INFINITE';
|
|
73
75
|
/** A date time with a time zone, having the UTC offset and date determined by the server. */
|
|
74
76
|
export interface ZonedDate {
|
|
75
77
|
/**
|
|
@@ -266,7 +268,7 @@ export interface AddressHint {
|
|
|
266
268
|
/** Extra text displayed next to, or instead of, the actual address. */
|
|
267
269
|
text?: string;
|
|
268
270
|
/** Where the extra text should be displayed. */
|
|
269
|
-
placement?:
|
|
271
|
+
placement?: PlacementTypeWithLiterals;
|
|
270
272
|
}
|
|
271
273
|
/** Where the extra text should be displayed: before, after or instead of the actual address. */
|
|
272
274
|
export declare enum PlacementType {
|
|
@@ -274,6 +276,8 @@ export declare enum PlacementType {
|
|
|
274
276
|
AFTER = "AFTER",
|
|
275
277
|
REPLACE = "REPLACE"
|
|
276
278
|
}
|
|
279
|
+
/** @enumType */
|
|
280
|
+
export type PlacementTypeWithLiterals = PlacementType | 'BEFORE' | 'AFTER' | 'REPLACE';
|
|
277
281
|
/** Geocoordinates for a particular address. */
|
|
278
282
|
export interface GeoCoordinates {
|
|
279
283
|
/** Latitude of the location. Must be between -90 and 90. */
|
|
@@ -297,14 +301,14 @@ export interface BusinessSchedule {
|
|
|
297
301
|
/** Weekly recurring time periods when the business is regularly open or the service is available. */
|
|
298
302
|
export interface TimePeriod {
|
|
299
303
|
/** Day of the week the period starts on. */
|
|
300
|
-
openDay?:
|
|
304
|
+
openDay?: DayOfWeekWithLiterals;
|
|
301
305
|
/**
|
|
302
306
|
* 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
|
|
303
307
|
* midnight at the end of the specified day.
|
|
304
308
|
*/
|
|
305
309
|
openTime?: string;
|
|
306
310
|
/** Day of the week the period ends on. */
|
|
307
|
-
closeDay?:
|
|
311
|
+
closeDay?: DayOfWeekWithLiterals;
|
|
308
312
|
/**
|
|
309
313
|
* 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
|
|
310
314
|
* midnight at the end of the specified day.
|
|
@@ -323,6 +327,8 @@ export declare enum DayOfWeek {
|
|
|
323
327
|
SATURDAY = "SATURDAY",
|
|
324
328
|
SUNDAY = "SUNDAY"
|
|
325
329
|
}
|
|
330
|
+
/** @enumType */
|
|
331
|
+
export type DayOfWeekWithLiterals = DayOfWeek | 'MONDAY' | 'TUESDAY' | 'WEDNESDAY' | 'THURSDAY' | 'FRIDAY' | 'SATURDAY' | 'SUNDAY';
|
|
326
332
|
/** Exception to the business's regular hours. The business can be open or closed during the exception. */
|
|
327
333
|
export interface SpecialHourPeriod {
|
|
328
334
|
/** 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). */
|
|
@@ -357,13 +363,15 @@ export interface SupportedLanguage {
|
|
|
357
363
|
/** Language icon. */
|
|
358
364
|
countryCode?: string;
|
|
359
365
|
/** How the language will be resolved. For internal use. */
|
|
360
|
-
resolutionMethod?:
|
|
366
|
+
resolutionMethod?: ResolutionMethodWithLiterals;
|
|
361
367
|
}
|
|
362
368
|
export declare enum ResolutionMethod {
|
|
363
369
|
QUERY_PARAM = "QUERY_PARAM",
|
|
364
370
|
SUBDOMAIN = "SUBDOMAIN",
|
|
365
371
|
SUBDIRECTORY = "SUBDIRECTORY"
|
|
366
372
|
}
|
|
373
|
+
/** @enumType */
|
|
374
|
+
export type ResolutionMethodWithLiterals = ResolutionMethod | 'QUERY_PARAM' | 'SUBDOMAIN' | 'SUBDIRECTORY';
|
|
367
375
|
export interface ConsentPolicy {
|
|
368
376
|
/** Whether the site uses cookies that are essential to site operation. Always `true`. */
|
|
369
377
|
essential?: boolean | null;
|
|
@@ -514,7 +522,7 @@ export interface IdentificationData extends IdentificationDataIdOneOf {
|
|
|
514
522
|
*/
|
|
515
523
|
appId?: string;
|
|
516
524
|
/** @readonly */
|
|
517
|
-
identityType?:
|
|
525
|
+
identityType?: WebhookIdentityTypeWithLiterals;
|
|
518
526
|
}
|
|
519
527
|
/** @oneof */
|
|
520
528
|
export interface IdentificationDataIdOneOf {
|
|
@@ -546,6 +554,8 @@ export declare enum WebhookIdentityType {
|
|
|
546
554
|
WIX_USER = "WIX_USER",
|
|
547
555
|
APP = "APP"
|
|
548
556
|
}
|
|
557
|
+
/** @enumType */
|
|
558
|
+
export type WebhookIdentityTypeWithLiterals = WebhookIdentityType | 'UNKNOWN' | 'ANONYMOUS_VISITOR' | 'MEMBER' | 'WIX_USER' | 'APP';
|
|
549
559
|
export interface BaseEventMetadata {
|
|
550
560
|
/**
|
|
551
561
|
* App instance ID.
|
|
@@ -624,7 +634,6 @@ export interface ScheduleTimeFrameUpdatedEnvelope {
|
|
|
624
634
|
* @webhook
|
|
625
635
|
* @eventType wix.calendar.v3.schedule_time_frame_updated
|
|
626
636
|
* @slug updated
|
|
627
|
-
* @documentationMaturity preview
|
|
628
637
|
*/
|
|
629
638
|
export declare function onScheduleTimeFrameUpdated(handler: (event: ScheduleTimeFrameUpdatedEnvelope) => void | Promise<void>): void;
|
|
630
639
|
type ScheduleTimeFrameNonNullablePaths = `status`;
|
|
@@ -633,7 +642,6 @@ type ScheduleTimeFrameNonNullablePaths = `status`;
|
|
|
633
642
|
* @param _id - [Schedule](https://dev.wix.com/docs/sdk/backend-modules/calendar/schedules/introduction)
|
|
634
643
|
* ID for which to retrieve the schedule time frame.
|
|
635
644
|
* @public
|
|
636
|
-
* @documentationMaturity preview
|
|
637
645
|
* @requiredField _id
|
|
638
646
|
* @permissionId CALENDAR.SCHEDULE_READ
|
|
639
647
|
* @permissionScope Read Bookings - Public Data
|
|
@@ -682,7 +690,6 @@ export interface GetScheduleTimeFrameOptions {
|
|
|
682
690
|
* Min: 1 schedule ID
|
|
683
691
|
* Max: 100 schedule IDs
|
|
684
692
|
* @public
|
|
685
|
-
* @documentationMaturity preview
|
|
686
693
|
* @requiredField ids
|
|
687
694
|
* @permissionId CALENDAR.SCHEDULE_READ
|
|
688
695
|
* @permissionScope Read Bookings - Public Data
|
|
@@ -74,7 +74,6 @@ var WebhookIdentityType;
|
|
|
74
74
|
* @param _id - [Schedule](https://dev.wix.com/docs/sdk/backend-modules/calendar/schedules/introduction)
|
|
75
75
|
* ID for which to retrieve the schedule time frame.
|
|
76
76
|
* @public
|
|
77
|
-
* @documentationMaturity preview
|
|
78
77
|
* @requiredField _id
|
|
79
78
|
* @permissionId CALENDAR.SCHEDULE_READ
|
|
80
79
|
* @permissionScope Read Bookings - Public Data
|
|
@@ -140,7 +139,6 @@ exports.getScheduleTimeFrame = getScheduleTimeFrame;
|
|
|
140
139
|
* Min: 1 schedule ID
|
|
141
140
|
* Max: 100 schedule IDs
|
|
142
141
|
* @public
|
|
143
|
-
* @documentationMaturity preview
|
|
144
142
|
* @requiredField ids
|
|
145
143
|
* @permissionId CALENDAR.SCHEDULE_READ
|
|
146
144
|
* @permissionScope Read Bookings - Public Data
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"calendar-v3-schedule-time-frame-schedule-time-frames.universal.js","sourceRoot":"","sources":["../../../src/calendar-v3-schedule-time-frame-schedule-time-frames.universal.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,sEAAuF;AACvF,oFAGiD;AAEjD,yIAA2H;AAiE3H,IAAY,MAQX;AARD,WAAY,MAAM;IAChB,2CAAiC,CAAA;IACjC,kIAAkI;IAClI,uBAAa,CAAA;IACb,+GAA+G;IAC/G,2BAAiB,CAAA;IACjB,gHAAgH;IAChH,+BAAqB,CAAA;AACvB,CAAC,EARW,MAAM,sBAAN,MAAM,QAQjB;
|
|
1
|
+
{"version":3,"file":"calendar-v3-schedule-time-frame-schedule-time-frames.universal.js","sourceRoot":"","sources":["../../../src/calendar-v3-schedule-time-frame-schedule-time-frames.universal.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,sEAAuF;AACvF,oFAGiD;AAEjD,yIAA2H;AAiE3H,IAAY,MAQX;AARD,WAAY,MAAM;IAChB,2CAAiC,CAAA;IACjC,kIAAkI;IAClI,uBAAa,CAAA;IACb,+GAA+G;IAC/G,2BAAiB,CAAA;IACjB,gHAAgH;IAChH,+BAAqB,CAAA;AACvB,CAAC,EARW,MAAM,sBAAN,MAAM,QAQjB;AA4ND,gGAAgG;AAChG,IAAY,aAIX;AAJD,WAAY,aAAa;IACvB,kCAAiB,CAAA;IACjB,gCAAe,CAAA;IACf,oCAAmB,CAAA;AACrB,CAAC,EAJW,aAAa,6BAAb,aAAa,QAIxB;AAmDD,uCAAuC;AACvC,IAAY,SAQX;AARD,WAAY,SAAS;IACnB,8BAAiB,CAAA;IACjB,gCAAmB,CAAA;IACnB,oCAAuB,CAAA;IACvB,kCAAqB,CAAA;IACrB,8BAAiB,CAAA;IACjB,kCAAqB,CAAA;IACrB,8BAAiB,CAAA;AACnB,CAAC,EARW,SAAS,yBAAT,SAAS,QAQpB;AAoDD,IAAY,gBAIX;AAJD,WAAY,gBAAgB;IAC1B,+CAA2B,CAAA;IAC3B,2CAAuB,CAAA;IACvB,iDAA6B,CAAA;AAC/B,CAAC,EAJW,gBAAgB,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,CAAC;IACzB,CAAC;AACH,CAAC;AAzCD,oDAyCC;AAWD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAqCG;AACI,KAAK,UAAU,sBAAsB,CAC1C,GAAa,EACb,OAAuC;IASvC,aAAa;IACb,MAAM,EAAE,UAAU,EAAE,WAAW,EAAE,GAAG,SAAS,CAAC,CAAC,CAG9C,CAAC;IAEF,MAAM,OAAO,GAAG,IAAA,8DAAqC,EAAC;QACpD,GAAG,EAAE,GAAG;QACR,QAAQ,EAAE,OAAO,EAAE,QAAQ;KAC5B,CAAC,CAAC;IAEH,MAAM,OAAO,GACX,wCAAwC,CAAC,sBAAsB,CAAC,OAAO,CAAC,CAAC;IAE3E,WAAW,EAAE,UAAU,EAAE,EAAE,CAAC;IAC5B,IAAI,CAAC;QACH,MAAM,MAAM,GAAG,MAAM,UAAU,CAAC,OAAO,CAAC,OAAO,CAAC,CAAC;QACjD,WAAW,EAAE,SAAS,EAAE,CAAC,MAAM,CAAC,CAAC;QAEjC,OAAO,IAAA,gEAAuC,EAAC,MAAM,CAAC,IAAI,CAAE,CAAC;IAC/D,CAAC;IAAC,OAAO,GAAQ,EAAE,CAAC;QAClB,MAAM,gBAAgB,GAAG,IAAA,gCAAiB,EACxC,GAAG,EACH;YACE,sBAAsB,EAAE,EAAE;YAC1B,wBAAwB,EAAE,EAAE,GAAG,EAAE,MAAM,EAAE,QAAQ,EAAE,eAAe,EAAE;YACpE,uBAAuB,EAAE,KAAK;SAC/B,EACD,CAAC,KAAK,EAAE,SAAS,CAAC,CACnB,CAAC;QACF,WAAW,EAAE,OAAO,EAAE,CAAC,GAAG,CAAC,CAAC;QAE5B,MAAM,gBAAgB,CAAC;IACzB,CAAC;AACH,CAAC;AA7CD,wDA6CC"}
|
|
@@ -21,7 +21,7 @@ export interface ScheduleTimeFrame {
|
|
|
21
21
|
* + `INFINITE`: At least one recurring event within the schedule has no end date, meaning it follows an unlimited repetition pattern.
|
|
22
22
|
* @readonly
|
|
23
23
|
*/
|
|
24
|
-
status?:
|
|
24
|
+
status?: StatusWithLiterals;
|
|
25
25
|
/**
|
|
26
26
|
* Start date of the first [event](https://dev.wix.com/docs/rest/business-management/calendar/events-v3/event-object)
|
|
27
27
|
* within the schedule. Identical to `event.start.localDate`. Available only if
|
|
@@ -69,6 +69,8 @@ export declare enum Status {
|
|
|
69
69
|
/** At least one recurring event belonging to the schedule has an unlimited repetition pattern (no end date). */
|
|
70
70
|
INFINITE = "INFINITE"
|
|
71
71
|
}
|
|
72
|
+
/** @enumType */
|
|
73
|
+
export type StatusWithLiterals = Status | 'UNKNOWN_STATUS' | 'NONE' | 'FINITE' | 'INFINITE';
|
|
72
74
|
/** A date time with a time zone, having the UTC offset and date determined by the server. */
|
|
73
75
|
export interface ZonedDate {
|
|
74
76
|
/**
|
|
@@ -265,7 +267,7 @@ export interface AddressHint {
|
|
|
265
267
|
/** Extra text displayed next to, or instead of, the actual address. */
|
|
266
268
|
text?: string;
|
|
267
269
|
/** Where the extra text should be displayed. */
|
|
268
|
-
placement?:
|
|
270
|
+
placement?: PlacementTypeWithLiterals;
|
|
269
271
|
}
|
|
270
272
|
/** Where the extra text should be displayed: before, after or instead of the actual address. */
|
|
271
273
|
export declare enum PlacementType {
|
|
@@ -273,6 +275,8 @@ export declare enum PlacementType {
|
|
|
273
275
|
AFTER = "AFTER",
|
|
274
276
|
REPLACE = "REPLACE"
|
|
275
277
|
}
|
|
278
|
+
/** @enumType */
|
|
279
|
+
export type PlacementTypeWithLiterals = PlacementType | 'BEFORE' | 'AFTER' | 'REPLACE';
|
|
276
280
|
/** Geocoordinates for a particular address. */
|
|
277
281
|
export interface GeoCoordinates {
|
|
278
282
|
/** Latitude of the location. Must be between -90 and 90. */
|
|
@@ -296,14 +300,14 @@ export interface BusinessSchedule {
|
|
|
296
300
|
/** Weekly recurring time periods when the business is regularly open or the service is available. */
|
|
297
301
|
export interface TimePeriod {
|
|
298
302
|
/** Day of the week the period starts on. */
|
|
299
|
-
openDay?:
|
|
303
|
+
openDay?: DayOfWeekWithLiterals;
|
|
300
304
|
/**
|
|
301
305
|
* 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
|
|
302
306
|
* midnight at the end of the specified day.
|
|
303
307
|
*/
|
|
304
308
|
openTime?: string;
|
|
305
309
|
/** Day of the week the period ends on. */
|
|
306
|
-
closeDay?:
|
|
310
|
+
closeDay?: DayOfWeekWithLiterals;
|
|
307
311
|
/**
|
|
308
312
|
* 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
|
|
309
313
|
* midnight at the end of the specified day.
|
|
@@ -322,6 +326,8 @@ export declare enum DayOfWeek {
|
|
|
322
326
|
SATURDAY = "SATURDAY",
|
|
323
327
|
SUNDAY = "SUNDAY"
|
|
324
328
|
}
|
|
329
|
+
/** @enumType */
|
|
330
|
+
export type DayOfWeekWithLiterals = DayOfWeek | 'MONDAY' | 'TUESDAY' | 'WEDNESDAY' | 'THURSDAY' | 'FRIDAY' | 'SATURDAY' | 'SUNDAY';
|
|
325
331
|
/** Exception to the business's regular hours. The business can be open or closed during the exception. */
|
|
326
332
|
export interface SpecialHourPeriod {
|
|
327
333
|
/** 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). */
|
|
@@ -356,13 +362,15 @@ export interface SupportedLanguage {
|
|
|
356
362
|
/** Language icon. */
|
|
357
363
|
countryCode?: string;
|
|
358
364
|
/** How the language will be resolved. For internal use. */
|
|
359
|
-
resolutionMethod?:
|
|
365
|
+
resolutionMethod?: ResolutionMethodWithLiterals;
|
|
360
366
|
}
|
|
361
367
|
export declare enum ResolutionMethod {
|
|
362
368
|
QUERY_PARAM = "QUERY_PARAM",
|
|
363
369
|
SUBDOMAIN = "SUBDOMAIN",
|
|
364
370
|
SUBDIRECTORY = "SUBDIRECTORY"
|
|
365
371
|
}
|
|
372
|
+
/** @enumType */
|
|
373
|
+
export type ResolutionMethodWithLiterals = ResolutionMethod | 'QUERY_PARAM' | 'SUBDOMAIN' | 'SUBDIRECTORY';
|
|
366
374
|
export interface ConsentPolicy {
|
|
367
375
|
/** Whether the site uses cookies that are essential to site operation. Always `true`. */
|
|
368
376
|
essential?: boolean | null;
|
|
@@ -515,7 +523,7 @@ export interface IdentificationData extends IdentificationDataIdOneOf {
|
|
|
515
523
|
*/
|
|
516
524
|
appId?: string;
|
|
517
525
|
/** @readonly */
|
|
518
|
-
identityType?:
|
|
526
|
+
identityType?: WebhookIdentityTypeWithLiterals;
|
|
519
527
|
}
|
|
520
528
|
/** @oneof */
|
|
521
529
|
export interface IdentificationDataIdOneOf {
|
|
@@ -547,3 +555,5 @@ export declare enum WebhookIdentityType {
|
|
|
547
555
|
WIX_USER = "WIX_USER",
|
|
548
556
|
APP = "APP"
|
|
549
557
|
}
|
|
558
|
+
/** @enumType */
|
|
559
|
+
export type WebhookIdentityTypeWithLiterals = WebhookIdentityType | 'UNKNOWN' | 'ANONYMOUS_VISITOR' | 'MEMBER' | 'WIX_USER' | 'APP';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"calendar-v3-schedule-time-frame-schedule-time-frames.types.js","sourceRoot":"","sources":["../../../src/calendar-v3-schedule-time-frame-schedule-time-frames.types.ts"],"names":[],"mappings":"AA+DA,MAAM,CAAN,IAAY,MAQX;AARD,WAAY,MAAM;IAChB,2CAAiC,CAAA;IACjC,kIAAkI;IAClI,uBAAa,CAAA;IACb,+GAA+G;IAC/G,2BAAiB,CAAA;IACjB,gHAAgH;IAChH,+BAAqB,CAAA;AACvB,CAAC,EARW,MAAM,KAAN,MAAM,QAQjB;
|
|
1
|
+
{"version":3,"file":"calendar-v3-schedule-time-frame-schedule-time-frames.types.js","sourceRoot":"","sources":["../../../src/calendar-v3-schedule-time-frame-schedule-time-frames.types.ts"],"names":[],"mappings":"AA+DA,MAAM,CAAN,IAAY,MAQX;AARD,WAAY,MAAM;IAChB,2CAAiC,CAAA;IACjC,kIAAkI;IAClI,uBAAa,CAAA;IACb,+GAA+G;IAC/G,2BAAiB,CAAA;IACjB,gHAAgH;IAChH,+BAAqB,CAAA;AACvB,CAAC,EARW,MAAM,KAAN,MAAM,QAQjB;AA4ND,gGAAgG;AAChG,MAAM,CAAN,IAAY,aAIX;AAJD,WAAY,aAAa;IACvB,kCAAiB,CAAA;IACjB,gCAAe,CAAA;IACf,oCAAmB,CAAA;AACrB,CAAC,EAJW,aAAa,KAAb,aAAa,QAIxB;AAmDD,uCAAuC;AACvC,MAAM,CAAN,IAAY,SAQX;AARD,WAAY,SAAS;IACnB,8BAAiB,CAAA;IACjB,gCAAmB,CAAA;IACnB,oCAAuB,CAAA;IACvB,kCAAqB,CAAA;IACrB,8BAAiB,CAAA;IACjB,kCAAqB,CAAA;IACrB,8BAAiB,CAAA;AACnB,CAAC,EARW,SAAS,KAAT,SAAS,QAQpB;AAoDD,MAAM,CAAN,IAAY,gBAIX;AAJD,WAAY,gBAAgB;IAC1B,+CAA2B,CAAA;IAC3B,2CAAuB,CAAA;IACvB,iDAA6B,CAAA;AAC/B,CAAC,EAJW,gBAAgB,KAAhB,gBAAgB,QAI3B;AA0MD,MAAM,CAAN,IAAY,mBAMX;AAND,WAAY,mBAAmB;IAC7B,0CAAmB,CAAA;IACnB,8DAAuC,CAAA;IACvC,wCAAiB,CAAA;IACjB,4CAAqB,CAAA;IACrB,kCAAW,CAAA;AACb,CAAC,EANW,mBAAmB,KAAnB,mBAAmB,QAM9B"}
|
|
@@ -22,7 +22,7 @@ export interface ScheduleTimeFrame {
|
|
|
22
22
|
* + `INFINITE`: At least one recurring event within the schedule has no end date, meaning it follows an unlimited repetition pattern.
|
|
23
23
|
* @readonly
|
|
24
24
|
*/
|
|
25
|
-
status?:
|
|
25
|
+
status?: StatusWithLiterals;
|
|
26
26
|
/**
|
|
27
27
|
* Start date of the first [event](https://dev.wix.com/docs/sdk/backend-modules/calendar/events/introduction)
|
|
28
28
|
* within the schedule. Identical to `event.start.localDate`. Available only if
|
|
@@ -70,6 +70,8 @@ export declare enum Status {
|
|
|
70
70
|
/** At least one recurring event belonging to the schedule has an unlimited repetition pattern (no end date). */
|
|
71
71
|
INFINITE = "INFINITE"
|
|
72
72
|
}
|
|
73
|
+
/** @enumType */
|
|
74
|
+
export type StatusWithLiterals = Status | 'UNKNOWN_STATUS' | 'NONE' | 'FINITE' | 'INFINITE';
|
|
73
75
|
/** A date time with a time zone, having the UTC offset and date determined by the server. */
|
|
74
76
|
export interface ZonedDate {
|
|
75
77
|
/**
|
|
@@ -266,7 +268,7 @@ export interface AddressHint {
|
|
|
266
268
|
/** Extra text displayed next to, or instead of, the actual address. */
|
|
267
269
|
text?: string;
|
|
268
270
|
/** Where the extra text should be displayed. */
|
|
269
|
-
placement?:
|
|
271
|
+
placement?: PlacementTypeWithLiterals;
|
|
270
272
|
}
|
|
271
273
|
/** Where the extra text should be displayed: before, after or instead of the actual address. */
|
|
272
274
|
export declare enum PlacementType {
|
|
@@ -274,6 +276,8 @@ export declare enum PlacementType {
|
|
|
274
276
|
AFTER = "AFTER",
|
|
275
277
|
REPLACE = "REPLACE"
|
|
276
278
|
}
|
|
279
|
+
/** @enumType */
|
|
280
|
+
export type PlacementTypeWithLiterals = PlacementType | 'BEFORE' | 'AFTER' | 'REPLACE';
|
|
277
281
|
/** Geocoordinates for a particular address. */
|
|
278
282
|
export interface GeoCoordinates {
|
|
279
283
|
/** Latitude of the location. Must be between -90 and 90. */
|
|
@@ -297,14 +301,14 @@ export interface BusinessSchedule {
|
|
|
297
301
|
/** Weekly recurring time periods when the business is regularly open or the service is available. */
|
|
298
302
|
export interface TimePeriod {
|
|
299
303
|
/** Day of the week the period starts on. */
|
|
300
|
-
openDay?:
|
|
304
|
+
openDay?: DayOfWeekWithLiterals;
|
|
301
305
|
/**
|
|
302
306
|
* 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
|
|
303
307
|
* midnight at the end of the specified day.
|
|
304
308
|
*/
|
|
305
309
|
openTime?: string;
|
|
306
310
|
/** Day of the week the period ends on. */
|
|
307
|
-
closeDay?:
|
|
311
|
+
closeDay?: DayOfWeekWithLiterals;
|
|
308
312
|
/**
|
|
309
313
|
* 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
|
|
310
314
|
* midnight at the end of the specified day.
|
|
@@ -323,6 +327,8 @@ export declare enum DayOfWeek {
|
|
|
323
327
|
SATURDAY = "SATURDAY",
|
|
324
328
|
SUNDAY = "SUNDAY"
|
|
325
329
|
}
|
|
330
|
+
/** @enumType */
|
|
331
|
+
export type DayOfWeekWithLiterals = DayOfWeek | 'MONDAY' | 'TUESDAY' | 'WEDNESDAY' | 'THURSDAY' | 'FRIDAY' | 'SATURDAY' | 'SUNDAY';
|
|
326
332
|
/** Exception to the business's regular hours. The business can be open or closed during the exception. */
|
|
327
333
|
export interface SpecialHourPeriod {
|
|
328
334
|
/** 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). */
|
|
@@ -357,13 +363,15 @@ export interface SupportedLanguage {
|
|
|
357
363
|
/** Language icon. */
|
|
358
364
|
countryCode?: string;
|
|
359
365
|
/** How the language will be resolved. For internal use. */
|
|
360
|
-
resolutionMethod?:
|
|
366
|
+
resolutionMethod?: ResolutionMethodWithLiterals;
|
|
361
367
|
}
|
|
362
368
|
export declare enum ResolutionMethod {
|
|
363
369
|
QUERY_PARAM = "QUERY_PARAM",
|
|
364
370
|
SUBDOMAIN = "SUBDOMAIN",
|
|
365
371
|
SUBDIRECTORY = "SUBDIRECTORY"
|
|
366
372
|
}
|
|
373
|
+
/** @enumType */
|
|
374
|
+
export type ResolutionMethodWithLiterals = ResolutionMethod | 'QUERY_PARAM' | 'SUBDOMAIN' | 'SUBDIRECTORY';
|
|
367
375
|
export interface ConsentPolicy {
|
|
368
376
|
/** Whether the site uses cookies that are essential to site operation. Always `true`. */
|
|
369
377
|
essential?: boolean | null;
|
|
@@ -514,7 +522,7 @@ export interface IdentificationData extends IdentificationDataIdOneOf {
|
|
|
514
522
|
*/
|
|
515
523
|
appId?: string;
|
|
516
524
|
/** @readonly */
|
|
517
|
-
identityType?:
|
|
525
|
+
identityType?: WebhookIdentityTypeWithLiterals;
|
|
518
526
|
}
|
|
519
527
|
/** @oneof */
|
|
520
528
|
export interface IdentificationDataIdOneOf {
|
|
@@ -546,6 +554,8 @@ export declare enum WebhookIdentityType {
|
|
|
546
554
|
WIX_USER = "WIX_USER",
|
|
547
555
|
APP = "APP"
|
|
548
556
|
}
|
|
557
|
+
/** @enumType */
|
|
558
|
+
export type WebhookIdentityTypeWithLiterals = WebhookIdentityType | 'UNKNOWN' | 'ANONYMOUS_VISITOR' | 'MEMBER' | 'WIX_USER' | 'APP';
|
|
549
559
|
export interface BaseEventMetadata {
|
|
550
560
|
/**
|
|
551
561
|
* App instance ID.
|
|
@@ -624,7 +634,6 @@ export interface ScheduleTimeFrameUpdatedEnvelope {
|
|
|
624
634
|
* @webhook
|
|
625
635
|
* @eventType wix.calendar.v3.schedule_time_frame_updated
|
|
626
636
|
* @slug updated
|
|
627
|
-
* @documentationMaturity preview
|
|
628
637
|
*/
|
|
629
638
|
export declare function onScheduleTimeFrameUpdated(handler: (event: ScheduleTimeFrameUpdatedEnvelope) => void | Promise<void>): void;
|
|
630
639
|
type ScheduleTimeFrameNonNullablePaths = `status`;
|
|
@@ -633,7 +642,6 @@ type ScheduleTimeFrameNonNullablePaths = `status`;
|
|
|
633
642
|
* @param _id - [Schedule](https://dev.wix.com/docs/sdk/backend-modules/calendar/schedules/introduction)
|
|
634
643
|
* ID for which to retrieve the schedule time frame.
|
|
635
644
|
* @public
|
|
636
|
-
* @documentationMaturity preview
|
|
637
645
|
* @requiredField _id
|
|
638
646
|
* @permissionId CALENDAR.SCHEDULE_READ
|
|
639
647
|
* @permissionScope Read Bookings - Public Data
|
|
@@ -682,7 +690,6 @@ export interface GetScheduleTimeFrameOptions {
|
|
|
682
690
|
* Min: 1 schedule ID
|
|
683
691
|
* Max: 100 schedule IDs
|
|
684
692
|
* @public
|
|
685
|
-
* @documentationMaturity preview
|
|
686
693
|
* @requiredField ids
|
|
687
694
|
* @permissionId CALENDAR.SCHEDULE_READ
|
|
688
695
|
* @permissionScope Read Bookings - Public Data
|
|
@@ -48,7 +48,6 @@ export var WebhookIdentityType;
|
|
|
48
48
|
* @param _id - [Schedule](https://dev.wix.com/docs/sdk/backend-modules/calendar/schedules/introduction)
|
|
49
49
|
* ID for which to retrieve the schedule time frame.
|
|
50
50
|
* @public
|
|
51
|
-
* @documentationMaturity preview
|
|
52
51
|
* @requiredField _id
|
|
53
52
|
* @permissionId CALENDAR.SCHEDULE_READ
|
|
54
53
|
* @permissionScope Read Bookings - Public Data
|
|
@@ -113,7 +112,6 @@ export async function getScheduleTimeFrame(_id, options) {
|
|
|
113
112
|
* Min: 1 schedule ID
|
|
114
113
|
* Max: 100 schedule IDs
|
|
115
114
|
* @public
|
|
116
|
-
* @documentationMaturity preview
|
|
117
115
|
* @requiredField ids
|
|
118
116
|
* @permissionId CALENDAR.SCHEDULE_READ
|
|
119
117
|
* @permissionScope Read Bookings - Public Data
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"calendar-v3-schedule-time-frame-schedule-time-frames.universal.js","sourceRoot":"","sources":["../../../src/calendar-v3-schedule-time-frame-schedule-time-frames.universal.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,IAAI,iBAAiB,EAAE,MAAM,kCAAkC,CAAC;AACvF,OAAO,EACL,qCAAqC,EACrC,uCAAuC,GACxC,MAAM,yCAAyC,CAAC;AAEjD,OAAO,KAAK,wCAAwC,MAAM,gEAAgE,CAAC;AAiE3H,MAAM,CAAN,IAAY,MAQX;AARD,WAAY,MAAM;IAChB,2CAAiC,CAAA;IACjC,kIAAkI;IAClI,uBAAa,CAAA;IACb,+GAA+G;IAC/G,2BAAiB,CAAA;IACjB,gHAAgH;IAChH,+BAAqB,CAAA;AACvB,CAAC,EARW,MAAM,KAAN,MAAM,QAQjB;
|
|
1
|
+
{"version":3,"file":"calendar-v3-schedule-time-frame-schedule-time-frames.universal.js","sourceRoot":"","sources":["../../../src/calendar-v3-schedule-time-frame-schedule-time-frames.universal.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,IAAI,iBAAiB,EAAE,MAAM,kCAAkC,CAAC;AACvF,OAAO,EACL,qCAAqC,EACrC,uCAAuC,GACxC,MAAM,yCAAyC,CAAC;AAEjD,OAAO,KAAK,wCAAwC,MAAM,gEAAgE,CAAC;AAiE3H,MAAM,CAAN,IAAY,MAQX;AARD,WAAY,MAAM;IAChB,2CAAiC,CAAA;IACjC,kIAAkI;IAClI,uBAAa,CAAA;IACb,+GAA+G;IAC/G,2BAAiB,CAAA;IACjB,gHAAgH;IAChH,+BAAqB,CAAA;AACvB,CAAC,EARW,MAAM,KAAN,MAAM,QAQjB;AA4ND,gGAAgG;AAChG,MAAM,CAAN,IAAY,aAIX;AAJD,WAAY,aAAa;IACvB,kCAAiB,CAAA;IACjB,gCAAe,CAAA;IACf,oCAAmB,CAAA;AACrB,CAAC,EAJW,aAAa,KAAb,aAAa,QAIxB;AAmDD,uCAAuC;AACvC,MAAM,CAAN,IAAY,SAQX;AARD,WAAY,SAAS;IACnB,8BAAiB,CAAA;IACjB,gCAAmB,CAAA;IACnB,oCAAuB,CAAA;IACvB,kCAAqB,CAAA;IACrB,8BAAiB,CAAA;IACjB,kCAAqB,CAAA;IACrB,8BAAiB,CAAA;AACnB,CAAC,EARW,SAAS,KAAT,SAAS,QAQpB;AAoDD,MAAM,CAAN,IAAY,gB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ts
CHANGED
|
@@ -21,7 +21,7 @@ export interface ScheduleTimeFrame {
|
|
|
21
21
|
* + `INFINITE`: At least one recurring event within the schedule has no end date, meaning it follows an unlimited repetition pattern.
|
|
22
22
|
* @readonly
|
|
23
23
|
*/
|
|
24
|
-
status?:
|
|
24
|
+
status?: StatusWithLiterals;
|
|
25
25
|
/**
|
|
26
26
|
* Start date of the first [event](https://dev.wix.com/docs/rest/business-management/calendar/events-v3/event-object)
|
|
27
27
|
* within the schedule. Identical to `event.start.localDate`. Available only if
|
|
@@ -69,6 +69,8 @@ export declare enum Status {
|
|
|
69
69
|
/** At least one recurring event belonging to the schedule has an unlimited repetition pattern (no end date). */
|
|
70
70
|
INFINITE = "INFINITE"
|
|
71
71
|
}
|
|
72
|
+
/** @enumType */
|
|
73
|
+
export type StatusWithLiterals = Status | 'UNKNOWN_STATUS' | 'NONE' | 'FINITE' | 'INFINITE';
|
|
72
74
|
/** A date time with a time zone, having the UTC offset and date determined by the server. */
|
|
73
75
|
export interface ZonedDate {
|
|
74
76
|
/**
|
|
@@ -265,7 +267,7 @@ export interface AddressHint {
|
|
|
265
267
|
/** Extra text displayed next to, or instead of, the actual address. */
|
|
266
268
|
text?: string;
|
|
267
269
|
/** Where the extra text should be displayed. */
|
|
268
|
-
placement?:
|
|
270
|
+
placement?: PlacementTypeWithLiterals;
|
|
269
271
|
}
|
|
270
272
|
/** Where the extra text should be displayed: before, after or instead of the actual address. */
|
|
271
273
|
export declare enum PlacementType {
|
|
@@ -273,6 +275,8 @@ export declare enum PlacementType {
|
|
|
273
275
|
AFTER = "AFTER",
|
|
274
276
|
REPLACE = "REPLACE"
|
|
275
277
|
}
|
|
278
|
+
/** @enumType */
|
|
279
|
+
export type PlacementTypeWithLiterals = PlacementType | 'BEFORE' | 'AFTER' | 'REPLACE';
|
|
276
280
|
/** Geocoordinates for a particular address. */
|
|
277
281
|
export interface GeoCoordinates {
|
|
278
282
|
/** Latitude of the location. Must be between -90 and 90. */
|
|
@@ -296,14 +300,14 @@ export interface BusinessSchedule {
|
|
|
296
300
|
/** Weekly recurring time periods when the business is regularly open or the service is available. */
|
|
297
301
|
export interface TimePeriod {
|
|
298
302
|
/** Day of the week the period starts on. */
|
|
299
|
-
openDay?:
|
|
303
|
+
openDay?: DayOfWeekWithLiterals;
|
|
300
304
|
/**
|
|
301
305
|
* 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
|
|
302
306
|
* midnight at the end of the specified day.
|
|
303
307
|
*/
|
|
304
308
|
openTime?: string;
|
|
305
309
|
/** Day of the week the period ends on. */
|
|
306
|
-
closeDay?:
|
|
310
|
+
closeDay?: DayOfWeekWithLiterals;
|
|
307
311
|
/**
|
|
308
312
|
* 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
|
|
309
313
|
* midnight at the end of the specified day.
|
|
@@ -322,6 +326,8 @@ export declare enum DayOfWeek {
|
|
|
322
326
|
SATURDAY = "SATURDAY",
|
|
323
327
|
SUNDAY = "SUNDAY"
|
|
324
328
|
}
|
|
329
|
+
/** @enumType */
|
|
330
|
+
export type DayOfWeekWithLiterals = DayOfWeek | 'MONDAY' | 'TUESDAY' | 'WEDNESDAY' | 'THURSDAY' | 'FRIDAY' | 'SATURDAY' | 'SUNDAY';
|
|
325
331
|
/** Exception to the business's regular hours. The business can be open or closed during the exception. */
|
|
326
332
|
export interface SpecialHourPeriod {
|
|
327
333
|
/** 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). */
|
|
@@ -356,13 +362,15 @@ export interface SupportedLanguage {
|
|
|
356
362
|
/** Language icon. */
|
|
357
363
|
countryCode?: string;
|
|
358
364
|
/** How the language will be resolved. For internal use. */
|
|
359
|
-
resolutionMethod?:
|
|
365
|
+
resolutionMethod?: ResolutionMethodWithLiterals;
|
|
360
366
|
}
|
|
361
367
|
export declare enum ResolutionMethod {
|
|
362
368
|
QUERY_PARAM = "QUERY_PARAM",
|
|
363
369
|
SUBDOMAIN = "SUBDOMAIN",
|
|
364
370
|
SUBDIRECTORY = "SUBDIRECTORY"
|
|
365
371
|
}
|
|
372
|
+
/** @enumType */
|
|
373
|
+
export type ResolutionMethodWithLiterals = ResolutionMethod | 'QUERY_PARAM' | 'SUBDOMAIN' | 'SUBDIRECTORY';
|
|
366
374
|
export interface ConsentPolicy {
|
|
367
375
|
/** Whether the site uses cookies that are essential to site operation. Always `true`. */
|
|
368
376
|
essential?: boolean | null;
|
|
@@ -515,7 +523,7 @@ export interface IdentificationData extends IdentificationDataIdOneOf {
|
|
|
515
523
|
*/
|
|
516
524
|
appId?: string;
|
|
517
525
|
/** @readonly */
|
|
518
|
-
identityType?:
|
|
526
|
+
identityType?: WebhookIdentityTypeWithLiterals;
|
|
519
527
|
}
|
|
520
528
|
/** @oneof */
|
|
521
529
|
export interface IdentificationDataIdOneOf {
|
|
@@ -547,3 +555,5 @@ export declare enum WebhookIdentityType {
|
|
|
547
555
|
WIX_USER = "WIX_USER",
|
|
548
556
|
APP = "APP"
|
|
549
557
|
}
|
|
558
|
+
/** @enumType */
|
|
559
|
+
export type WebhookIdentityTypeWithLiterals = WebhookIdentityType | 'UNKNOWN' | 'ANONYMOUS_VISITOR' | 'MEMBER' | 'WIX_USER' | 'APP';
|
package/build/internal/cjs/src/calendar-v3-schedule-time-frame-schedule-time-frames.types.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"calendar-v3-schedule-time-frame-schedule-time-frames.types.js","sourceRoot":"","sources":["../../../../src/calendar-v3-schedule-time-frame-schedule-time-frames.types.ts"],"names":[],"mappings":";;;AA+DA,IAAY,MAQX;AARD,WAAY,MAAM;IAChB,2CAAiC,CAAA;IACjC,kIAAkI;IAClI,uBAAa,CAAA;IACb,+GAA+G;IAC/G,2BAAiB,CAAA;IACjB,gHAAgH;IAChH,+BAAqB,CAAA;AACvB,CAAC,EARW,MAAM,sBAAN,MAAM,QAQjB;
|
|
1
|
+
{"version":3,"file":"calendar-v3-schedule-time-frame-schedule-time-frames.types.js","sourceRoot":"","sources":["../../../../src/calendar-v3-schedule-time-frame-schedule-time-frames.types.ts"],"names":[],"mappings":";;;AA+DA,IAAY,MAQX;AARD,WAAY,MAAM;IAChB,2CAAiC,CAAA;IACjC,kIAAkI;IAClI,uBAAa,CAAA;IACb,+GAA+G;IAC/G,2BAAiB,CAAA;IACjB,gHAAgH;IAChH,+BAAqB,CAAA;AACvB,CAAC,EARW,MAAM,sBAAN,MAAM,QAQjB;AA4ND,gGAAgG;AAChG,IAAY,aAIX;AAJD,WAAY,aAAa;IACvB,kCAAiB,CAAA;IACjB,gCAAe,CAAA;IACf,oCAAmB,CAAA;AACrB,CAAC,EAJW,aAAa,6BAAb,aAAa,QAIxB;AAmDD,uCAAuC;AACvC,IAAY,SAQX;AARD,WAAY,SAAS;IACnB,8BAAiB,CAAA;IACjB,gCAAmB,CAAA;IACnB,oCAAuB,CAAA;IACvB,kCAAqB,CAAA;IACrB,8BAAiB,CAAA;IACjB,kCAAqB,CAAA;IACrB,8BAAiB,CAAA;AACnB,CAAC,EARW,SAAS,yBAAT,SAAS,QAQpB;AAoDD,IAAY,gBAIX;AAJD,WAAY,gBAAgB;IAC1B,+CAA2B,CAAA;IAC3B,2CAAuB,CAAA;IACvB,iDAA6B,CAAA;AAC/B,CAAC,EAJW,gBAAgB,gCAAhB,gBAAgB,QAI3B;AA0MD,IAAY,mBAMX;AAND,WAAY,mBAAmB;IAC7B,0CAAmB,CAAA;IACnB,8DAAuC,CAAA;IACvC,wCAAiB,CAAA;IACjB,4CAAqB,CAAA;IACrB,kCAAW,CAAA;AACb,CAAC,EANW,mBAAmB,mCAAnB,mBAAmB,QAM9B"}
|
package/build/internal/cjs/src/calendar-v3-schedule-time-frame-schedule-time-frames.universal.d.ts
CHANGED
|
@@ -22,7 +22,7 @@ export interface ScheduleTimeFrame {
|
|
|
22
22
|
* + `INFINITE`: At least one recurring event within the schedule has no end date, meaning it follows an unlimited repetition pattern.
|
|
23
23
|
* @readonly
|
|
24
24
|
*/
|
|
25
|
-
status?:
|
|
25
|
+
status?: StatusWithLiterals;
|
|
26
26
|
/**
|
|
27
27
|
* Start date of the first [event](https://dev.wix.com/docs/sdk/backend-modules/calendar/events/introduction)
|
|
28
28
|
* within the schedule. Identical to `event.start.localDate`. Available only if
|
|
@@ -70,6 +70,8 @@ export declare enum Status {
|
|
|
70
70
|
/** At least one recurring event belonging to the schedule has an unlimited repetition pattern (no end date). */
|
|
71
71
|
INFINITE = "INFINITE"
|
|
72
72
|
}
|
|
73
|
+
/** @enumType */
|
|
74
|
+
export type StatusWithLiterals = Status | 'UNKNOWN_STATUS' | 'NONE' | 'FINITE' | 'INFINITE';
|
|
73
75
|
/** A date time with a time zone, having the UTC offset and date determined by the server. */
|
|
74
76
|
export interface ZonedDate {
|
|
75
77
|
/**
|
|
@@ -266,7 +268,7 @@ export interface AddressHint {
|
|
|
266
268
|
/** Extra text displayed next to, or instead of, the actual address. */
|
|
267
269
|
text?: string;
|
|
268
270
|
/** Where the extra text should be displayed. */
|
|
269
|
-
placement?:
|
|
271
|
+
placement?: PlacementTypeWithLiterals;
|
|
270
272
|
}
|
|
271
273
|
/** Where the extra text should be displayed: before, after or instead of the actual address. */
|
|
272
274
|
export declare enum PlacementType {
|
|
@@ -274,6 +276,8 @@ export declare enum PlacementType {
|
|
|
274
276
|
AFTER = "AFTER",
|
|
275
277
|
REPLACE = "REPLACE"
|
|
276
278
|
}
|
|
279
|
+
/** @enumType */
|
|
280
|
+
export type PlacementTypeWithLiterals = PlacementType | 'BEFORE' | 'AFTER' | 'REPLACE';
|
|
277
281
|
/** Geocoordinates for a particular address. */
|
|
278
282
|
export interface GeoCoordinates {
|
|
279
283
|
/** Latitude of the location. Must be between -90 and 90. */
|
|
@@ -297,14 +301,14 @@ export interface BusinessSchedule {
|
|
|
297
301
|
/** Weekly recurring time periods when the business is regularly open or the service is available. */
|
|
298
302
|
export interface TimePeriod {
|
|
299
303
|
/** Day of the week the period starts on. */
|
|
300
|
-
openDay?:
|
|
304
|
+
openDay?: DayOfWeekWithLiterals;
|
|
301
305
|
/**
|
|
302
306
|
* 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
|
|
303
307
|
* midnight at the end of the specified day.
|
|
304
308
|
*/
|
|
305
309
|
openTime?: string;
|
|
306
310
|
/** Day of the week the period ends on. */
|
|
307
|
-
closeDay?:
|
|
311
|
+
closeDay?: DayOfWeekWithLiterals;
|
|
308
312
|
/**
|
|
309
313
|
* 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
|
|
310
314
|
* midnight at the end of the specified day.
|
|
@@ -323,6 +327,8 @@ export declare enum DayOfWeek {
|
|
|
323
327
|
SATURDAY = "SATURDAY",
|
|
324
328
|
SUNDAY = "SUNDAY"
|
|
325
329
|
}
|
|
330
|
+
/** @enumType */
|
|
331
|
+
export type DayOfWeekWithLiterals = DayOfWeek | 'MONDAY' | 'TUESDAY' | 'WEDNESDAY' | 'THURSDAY' | 'FRIDAY' | 'SATURDAY' | 'SUNDAY';
|
|
326
332
|
/** Exception to the business's regular hours. The business can be open or closed during the exception. */
|
|
327
333
|
export interface SpecialHourPeriod {
|
|
328
334
|
/** 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). */
|
|
@@ -357,13 +363,15 @@ export interface SupportedLanguage {
|
|
|
357
363
|
/** Language icon. */
|
|
358
364
|
countryCode?: string;
|
|
359
365
|
/** How the language will be resolved. For internal use. */
|
|
360
|
-
resolutionMethod?:
|
|
366
|
+
resolutionMethod?: ResolutionMethodWithLiterals;
|
|
361
367
|
}
|
|
362
368
|
export declare enum ResolutionMethod {
|
|
363
369
|
QUERY_PARAM = "QUERY_PARAM",
|
|
364
370
|
SUBDOMAIN = "SUBDOMAIN",
|
|
365
371
|
SUBDIRECTORY = "SUBDIRECTORY"
|
|
366
372
|
}
|
|
373
|
+
/** @enumType */
|
|
374
|
+
export type ResolutionMethodWithLiterals = ResolutionMethod | 'QUERY_PARAM' | 'SUBDOMAIN' | 'SUBDIRECTORY';
|
|
367
375
|
export interface ConsentPolicy {
|
|
368
376
|
/** Whether the site uses cookies that are essential to site operation. Always `true`. */
|
|
369
377
|
essential?: boolean | null;
|
|
@@ -514,7 +522,7 @@ export interface IdentificationData extends IdentificationDataIdOneOf {
|
|
|
514
522
|
*/
|
|
515
523
|
appId?: string;
|
|
516
524
|
/** @readonly */
|
|
517
|
-
identityType?:
|
|
525
|
+
identityType?: WebhookIdentityTypeWithLiterals;
|
|
518
526
|
}
|
|
519
527
|
/** @oneof */
|
|
520
528
|
export interface IdentificationDataIdOneOf {
|
|
@@ -546,6 +554,8 @@ export declare enum WebhookIdentityType {
|
|
|
546
554
|
WIX_USER = "WIX_USER",
|
|
547
555
|
APP = "APP"
|
|
548
556
|
}
|
|
557
|
+
/** @enumType */
|
|
558
|
+
export type WebhookIdentityTypeWithLiterals = WebhookIdentityType | 'UNKNOWN' | 'ANONYMOUS_VISITOR' | 'MEMBER' | 'WIX_USER' | 'APP';
|
|
549
559
|
export interface BaseEventMetadata {
|
|
550
560
|
/**
|
|
551
561
|
* App instance ID.
|
|
@@ -624,7 +634,6 @@ export interface ScheduleTimeFrameUpdatedEnvelope {
|
|
|
624
634
|
* @webhook
|
|
625
635
|
* @eventType wix.calendar.v3.schedule_time_frame_updated
|
|
626
636
|
* @slug updated
|
|
627
|
-
* @documentationMaturity preview
|
|
628
637
|
*/
|
|
629
638
|
export declare function onScheduleTimeFrameUpdated(handler: (event: ScheduleTimeFrameUpdatedEnvelope) => void | Promise<void>): void;
|
|
630
639
|
type ScheduleTimeFrameNonNullablePaths = `status`;
|
|
@@ -633,7 +642,6 @@ type ScheduleTimeFrameNonNullablePaths = `status`;
|
|
|
633
642
|
* @param _id - [Schedule](https://dev.wix.com/docs/sdk/backend-modules/calendar/schedules/introduction)
|
|
634
643
|
* ID for which to retrieve the schedule time frame.
|
|
635
644
|
* @public
|
|
636
|
-
* @documentationMaturity preview
|
|
637
645
|
* @requiredField _id
|
|
638
646
|
* @permissionId CALENDAR.SCHEDULE_READ
|
|
639
647
|
* @permissionScope Read Bookings - Public Data
|
|
@@ -682,7 +690,6 @@ export interface GetScheduleTimeFrameOptions {
|
|
|
682
690
|
* Min: 1 schedule ID
|
|
683
691
|
* Max: 100 schedule IDs
|
|
684
692
|
* @public
|
|
685
|
-
* @documentationMaturity preview
|
|
686
693
|
* @requiredField ids
|
|
687
694
|
* @permissionId CALENDAR.SCHEDULE_READ
|
|
688
695
|
* @permissionScope Read Bookings - Public Data
|
package/build/internal/cjs/src/calendar-v3-schedule-time-frame-schedule-time-frames.universal.js
CHANGED
|
@@ -74,7 +74,6 @@ var WebhookIdentityType;
|
|
|
74
74
|
* @param _id - [Schedule](https://dev.wix.com/docs/sdk/backend-modules/calendar/schedules/introduction)
|
|
75
75
|
* ID for which to retrieve the schedule time frame.
|
|
76
76
|
* @public
|
|
77
|
-
* @documentationMaturity preview
|
|
78
77
|
* @requiredField _id
|
|
79
78
|
* @permissionId CALENDAR.SCHEDULE_READ
|
|
80
79
|
* @permissionScope Read Bookings - Public Data
|
|
@@ -140,7 +139,6 @@ exports.getScheduleTimeFrame = getScheduleTimeFrame;
|
|
|
140
139
|
* Min: 1 schedule ID
|
|
141
140
|
* Max: 100 schedule IDs
|
|
142
141
|
* @public
|
|
143
|
-
* @documentationMaturity preview
|
|
144
142
|
* @requiredField ids
|
|
145
143
|
* @permissionId CALENDAR.SCHEDULE_READ
|
|
146
144
|
* @permissionScope Read Bookings - Public Data
|
package/build/internal/cjs/src/calendar-v3-schedule-time-frame-schedule-time-frames.universal.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"calendar-v3-schedule-time-frame-schedule-time-frames.universal.js","sourceRoot":"","sources":["../../../../src/calendar-v3-schedule-time-frame-schedule-time-frames.universal.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,sEAAuF;AACvF,oFAGiD;AAEjD,yIAA2H;AAiE3H,IAAY,MAQX;AARD,WAAY,MAAM;IAChB,2CAAiC,CAAA;IACjC,kIAAkI;IAClI,uBAAa,CAAA;IACb,+GAA+G;IAC/G,2BAAiB,CAAA;IACjB,gHAAgH;IAChH,+BAAqB,CAAA;AACvB,CAAC,EARW,MAAM,sBAAN,MAAM,QAQjB;
|
|
1
|
+
{"version":3,"file":"calendar-v3-schedule-time-frame-schedule-time-frames.universal.js","sourceRoot":"","sources":["../../../../src/calendar-v3-schedule-time-frame-schedule-time-frames.universal.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,sEAAuF;AACvF,oFAGiD;AAEjD,yIAA2H;AAiE3H,IAAY,MAQX;AARD,WAAY,MAAM;IAChB,2CAAiC,CAAA;IACjC,kIAAkI;IAClI,uBAAa,CAAA;IACb,+GAA+G;IAC/G,2BAAiB,CAAA;IACjB,gHAAgH;IAChH,+BAAqB,CAAA;AACvB,CAAC,EARW,MAAM,sBAAN,MAAM,QAQjB;AA4ND,gGAAgG;AAChG,IAAY,aAIX;AAJD,WAAY,aAAa;IACvB,kCAAiB,CAAA;IACjB,gCAAe,CAAA;IACf,oCAAmB,CAAA;AACrB,CAAC,EAJW,aAAa,6BAAb,aAAa,QAIxB;AAmDD,uCAAuC;AACvC,IAAY,SAQX;AARD,WAAY,SAAS;IACnB,8BAAiB,CAAA;IACjB,gCAAmB,CAAA;IACnB,oCAAuB,CAAA;IACvB,kCAAqB,CAAA;IACrB,8BAAiB,CAAA;IACjB,kCAAqB,CAAA;IACrB,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BAAgB,CAAC;IACzB,CAAC;AACH,CAAC;AA7CD,wDA6CC"}
|
package/build/internal/es/src/calendar-v3-schedule-time-frame-schedule-time-frames.types.d.ts
CHANGED
|
@@ -21,7 +21,7 @@ export interface ScheduleTimeFrame {
|
|
|
21
21
|
* + `INFINITE`: At least one recurring event within the schedule has no end date, meaning it follows an unlimited repetition pattern.
|
|
22
22
|
* @readonly
|
|
23
23
|
*/
|
|
24
|
-
status?:
|
|
24
|
+
status?: StatusWithLiterals;
|
|
25
25
|
/**
|
|
26
26
|
* Start date of the first [event](https://dev.wix.com/docs/rest/business-management/calendar/events-v3/event-object)
|
|
27
27
|
* within the schedule. Identical to `event.start.localDate`. Available only if
|
|
@@ -69,6 +69,8 @@ export declare enum Status {
|
|
|
69
69
|
/** At least one recurring event belonging to the schedule has an unlimited repetition pattern (no end date). */
|
|
70
70
|
INFINITE = "INFINITE"
|
|
71
71
|
}
|
|
72
|
+
/** @enumType */
|
|
73
|
+
export type StatusWithLiterals = Status | 'UNKNOWN_STATUS' | 'NONE' | 'FINITE' | 'INFINITE';
|
|
72
74
|
/** A date time with a time zone, having the UTC offset and date determined by the server. */
|
|
73
75
|
export interface ZonedDate {
|
|
74
76
|
/**
|
|
@@ -265,7 +267,7 @@ export interface AddressHint {
|
|
|
265
267
|
/** Extra text displayed next to, or instead of, the actual address. */
|
|
266
268
|
text?: string;
|
|
267
269
|
/** Where the extra text should be displayed. */
|
|
268
|
-
placement?:
|
|
270
|
+
placement?: PlacementTypeWithLiterals;
|
|
269
271
|
}
|
|
270
272
|
/** Where the extra text should be displayed: before, after or instead of the actual address. */
|
|
271
273
|
export declare enum PlacementType {
|
|
@@ -273,6 +275,8 @@ export declare enum PlacementType {
|
|
|
273
275
|
AFTER = "AFTER",
|
|
274
276
|
REPLACE = "REPLACE"
|
|
275
277
|
}
|
|
278
|
+
/** @enumType */
|
|
279
|
+
export type PlacementTypeWithLiterals = PlacementType | 'BEFORE' | 'AFTER' | 'REPLACE';
|
|
276
280
|
/** Geocoordinates for a particular address. */
|
|
277
281
|
export interface GeoCoordinates {
|
|
278
282
|
/** Latitude of the location. Must be between -90 and 90. */
|
|
@@ -296,14 +300,14 @@ export interface BusinessSchedule {
|
|
|
296
300
|
/** Weekly recurring time periods when the business is regularly open or the service is available. */
|
|
297
301
|
export interface TimePeriod {
|
|
298
302
|
/** Day of the week the period starts on. */
|
|
299
|
-
openDay?:
|
|
303
|
+
openDay?: DayOfWeekWithLiterals;
|
|
300
304
|
/**
|
|
301
305
|
* 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
|
|
302
306
|
* midnight at the end of the specified day.
|
|
303
307
|
*/
|
|
304
308
|
openTime?: string;
|
|
305
309
|
/** Day of the week the period ends on. */
|
|
306
|
-
closeDay?:
|
|
310
|
+
closeDay?: DayOfWeekWithLiterals;
|
|
307
311
|
/**
|
|
308
312
|
* 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
|
|
309
313
|
* midnight at the end of the specified day.
|
|
@@ -322,6 +326,8 @@ export declare enum DayOfWeek {
|
|
|
322
326
|
SATURDAY = "SATURDAY",
|
|
323
327
|
SUNDAY = "SUNDAY"
|
|
324
328
|
}
|
|
329
|
+
/** @enumType */
|
|
330
|
+
export type DayOfWeekWithLiterals = DayOfWeek | 'MONDAY' | 'TUESDAY' | 'WEDNESDAY' | 'THURSDAY' | 'FRIDAY' | 'SATURDAY' | 'SUNDAY';
|
|
325
331
|
/** Exception to the business's regular hours. The business can be open or closed during the exception. */
|
|
326
332
|
export interface SpecialHourPeriod {
|
|
327
333
|
/** 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). */
|
|
@@ -356,13 +362,15 @@ export interface SupportedLanguage {
|
|
|
356
362
|
/** Language icon. */
|
|
357
363
|
countryCode?: string;
|
|
358
364
|
/** How the language will be resolved. For internal use. */
|
|
359
|
-
resolutionMethod?:
|
|
365
|
+
resolutionMethod?: ResolutionMethodWithLiterals;
|
|
360
366
|
}
|
|
361
367
|
export declare enum ResolutionMethod {
|
|
362
368
|
QUERY_PARAM = "QUERY_PARAM",
|
|
363
369
|
SUBDOMAIN = "SUBDOMAIN",
|
|
364
370
|
SUBDIRECTORY = "SUBDIRECTORY"
|
|
365
371
|
}
|
|
372
|
+
/** @enumType */
|
|
373
|
+
export type ResolutionMethodWithLiterals = ResolutionMethod | 'QUERY_PARAM' | 'SUBDOMAIN' | 'SUBDIRECTORY';
|
|
366
374
|
export interface ConsentPolicy {
|
|
367
375
|
/** Whether the site uses cookies that are essential to site operation. Always `true`. */
|
|
368
376
|
essential?: boolean | null;
|
|
@@ -515,7 +523,7 @@ export interface IdentificationData extends IdentificationDataIdOneOf {
|
|
|
515
523
|
*/
|
|
516
524
|
appId?: string;
|
|
517
525
|
/** @readonly */
|
|
518
|
-
identityType?:
|
|
526
|
+
identityType?: WebhookIdentityTypeWithLiterals;
|
|
519
527
|
}
|
|
520
528
|
/** @oneof */
|
|
521
529
|
export interface IdentificationDataIdOneOf {
|
|
@@ -547,3 +555,5 @@ export declare enum WebhookIdentityType {
|
|
|
547
555
|
WIX_USER = "WIX_USER",
|
|
548
556
|
APP = "APP"
|
|
549
557
|
}
|
|
558
|
+
/** @enumType */
|
|
559
|
+
export type WebhookIdentityTypeWithLiterals = WebhookIdentityType | 'UNKNOWN' | 'ANONYMOUS_VISITOR' | 'MEMBER' | 'WIX_USER' | 'APP';
|
package/build/internal/es/src/calendar-v3-schedule-time-frame-schedule-time-frames.types.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"calendar-v3-schedule-time-frame-schedule-time-frames.types.js","sourceRoot":"","sources":["../../../../src/calendar-v3-schedule-time-frame-schedule-time-frames.types.ts"],"names":[],"mappings":"AA+DA,MAAM,CAAN,IAAY,MAQX;AARD,WAAY,MAAM;IAChB,2CAAiC,CAAA;IACjC,kIAAkI;IAClI,uBAAa,CAAA;IACb,+GAA+G;IAC/G,2BAAiB,CAAA;IACjB,gHAAgH;IAChH,+BAAqB,CAAA;AACvB,CAAC,EARW,MAAM,KAAN,MAAM,QAQjB;
|
|
1
|
+
{"version":3,"file":"calendar-v3-schedule-time-frame-schedule-time-frames.types.js","sourceRoot":"","sources":["../../../../src/calendar-v3-schedule-time-frame-schedule-time-frames.types.ts"],"names":[],"mappings":"AA+DA,MAAM,CAAN,IAAY,MAQX;AARD,WAAY,MAAM;IAChB,2CAAiC,CAAA;IACjC,kIAAkI;IAClI,uBAAa,CAAA;IACb,+GAA+G;IAC/G,2BAAiB,CAAA;IACjB,gHAAgH;IAChH,+BAAqB,CAAA;AACvB,CAAC,EARW,MAAM,KAAN,MAAM,QAQjB;AA4ND,gGAAgG;AAChG,MAAM,CAAN,IAAY,aAIX;AAJD,WAAY,aAAa;IACvB,kCAAiB,CAAA;IACjB,gCAAe,CAAA;IACf,oCAAmB,CAAA;AACrB,CAAC,EAJW,aAAa,KAAb,aAAa,QAIxB;AAmDD,uCAAuC;AACvC,MAAM,CAAN,IAAY,SAQX;AARD,WAAY,SAAS;IACnB,8BAAiB,CAAA;IACjB,gCAAmB,CAAA;IACnB,oCAAuB,CAAA;IACvB,kCAAqB,CAAA;IACrB,8BAAiB,CAAA;IACjB,kCAAqB,CAAA;IACrB,8BAAiB,CAAA;AACnB,CAAC,EARW,SAAS,KAAT,SAAS,QAQpB;AAoDD,MAAM,CAAN,IAAY,gBAIX;AAJD,WAAY,gBAAgB;IAC1B,+CAA2B,CAAA;IAC3B,2CAAuB,CAAA;IACvB,iDAA6B,CAAA;AAC/B,CAAC,EAJW,gBAAgB,KAAhB,gBAAgB,QAI3B;AA0MD,MAAM,CAAN,IAAY,mBAMX;AAND,WAAY,mBAAmB;IAC7B,0CAAmB,CAAA;IACnB,8DAAuC,CAAA;IACvC,wCAAiB,CAAA;IACjB,4CAAqB,CAAA;IACrB,kCAAW,CAAA;AACb,CAAC,EANW,mBAAmB,KAAnB,mBAAmB,QAM9B"}
|
package/build/internal/es/src/calendar-v3-schedule-time-frame-schedule-time-frames.universal.d.ts
CHANGED
|
@@ -22,7 +22,7 @@ export interface ScheduleTimeFrame {
|
|
|
22
22
|
* + `INFINITE`: At least one recurring event within the schedule has no end date, meaning it follows an unlimited repetition pattern.
|
|
23
23
|
* @readonly
|
|
24
24
|
*/
|
|
25
|
-
status?:
|
|
25
|
+
status?: StatusWithLiterals;
|
|
26
26
|
/**
|
|
27
27
|
* Start date of the first [event](https://dev.wix.com/docs/sdk/backend-modules/calendar/events/introduction)
|
|
28
28
|
* within the schedule. Identical to `event.start.localDate`. Available only if
|
|
@@ -70,6 +70,8 @@ export declare enum Status {
|
|
|
70
70
|
/** At least one recurring event belonging to the schedule has an unlimited repetition pattern (no end date). */
|
|
71
71
|
INFINITE = "INFINITE"
|
|
72
72
|
}
|
|
73
|
+
/** @enumType */
|
|
74
|
+
export type StatusWithLiterals = Status | 'UNKNOWN_STATUS' | 'NONE' | 'FINITE' | 'INFINITE';
|
|
73
75
|
/** A date time with a time zone, having the UTC offset and date determined by the server. */
|
|
74
76
|
export interface ZonedDate {
|
|
75
77
|
/**
|
|
@@ -266,7 +268,7 @@ export interface AddressHint {
|
|
|
266
268
|
/** Extra text displayed next to, or instead of, the actual address. */
|
|
267
269
|
text?: string;
|
|
268
270
|
/** Where the extra text should be displayed. */
|
|
269
|
-
placement?:
|
|
271
|
+
placement?: PlacementTypeWithLiterals;
|
|
270
272
|
}
|
|
271
273
|
/** Where the extra text should be displayed: before, after or instead of the actual address. */
|
|
272
274
|
export declare enum PlacementType {
|
|
@@ -274,6 +276,8 @@ export declare enum PlacementType {
|
|
|
274
276
|
AFTER = "AFTER",
|
|
275
277
|
REPLACE = "REPLACE"
|
|
276
278
|
}
|
|
279
|
+
/** @enumType */
|
|
280
|
+
export type PlacementTypeWithLiterals = PlacementType | 'BEFORE' | 'AFTER' | 'REPLACE';
|
|
277
281
|
/** Geocoordinates for a particular address. */
|
|
278
282
|
export interface GeoCoordinates {
|
|
279
283
|
/** Latitude of the location. Must be between -90 and 90. */
|
|
@@ -297,14 +301,14 @@ export interface BusinessSchedule {
|
|
|
297
301
|
/** Weekly recurring time periods when the business is regularly open or the service is available. */
|
|
298
302
|
export interface TimePeriod {
|
|
299
303
|
/** Day of the week the period starts on. */
|
|
300
|
-
openDay?:
|
|
304
|
+
openDay?: DayOfWeekWithLiterals;
|
|
301
305
|
/**
|
|
302
306
|
* 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
|
|
303
307
|
* midnight at the end of the specified day.
|
|
304
308
|
*/
|
|
305
309
|
openTime?: string;
|
|
306
310
|
/** Day of the week the period ends on. */
|
|
307
|
-
closeDay?:
|
|
311
|
+
closeDay?: DayOfWeekWithLiterals;
|
|
308
312
|
/**
|
|
309
313
|
* 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
|
|
310
314
|
* midnight at the end of the specified day.
|
|
@@ -323,6 +327,8 @@ export declare enum DayOfWeek {
|
|
|
323
327
|
SATURDAY = "SATURDAY",
|
|
324
328
|
SUNDAY = "SUNDAY"
|
|
325
329
|
}
|
|
330
|
+
/** @enumType */
|
|
331
|
+
export type DayOfWeekWithLiterals = DayOfWeek | 'MONDAY' | 'TUESDAY' | 'WEDNESDAY' | 'THURSDAY' | 'FRIDAY' | 'SATURDAY' | 'SUNDAY';
|
|
326
332
|
/** Exception to the business's regular hours. The business can be open or closed during the exception. */
|
|
327
333
|
export interface SpecialHourPeriod {
|
|
328
334
|
/** 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). */
|
|
@@ -357,13 +363,15 @@ export interface SupportedLanguage {
|
|
|
357
363
|
/** Language icon. */
|
|
358
364
|
countryCode?: string;
|
|
359
365
|
/** How the language will be resolved. For internal use. */
|
|
360
|
-
resolutionMethod?:
|
|
366
|
+
resolutionMethod?: ResolutionMethodWithLiterals;
|
|
361
367
|
}
|
|
362
368
|
export declare enum ResolutionMethod {
|
|
363
369
|
QUERY_PARAM = "QUERY_PARAM",
|
|
364
370
|
SUBDOMAIN = "SUBDOMAIN",
|
|
365
371
|
SUBDIRECTORY = "SUBDIRECTORY"
|
|
366
372
|
}
|
|
373
|
+
/** @enumType */
|
|
374
|
+
export type ResolutionMethodWithLiterals = ResolutionMethod | 'QUERY_PARAM' | 'SUBDOMAIN' | 'SUBDIRECTORY';
|
|
367
375
|
export interface ConsentPolicy {
|
|
368
376
|
/** Whether the site uses cookies that are essential to site operation. Always `true`. */
|
|
369
377
|
essential?: boolean | null;
|
|
@@ -514,7 +522,7 @@ export interface IdentificationData extends IdentificationDataIdOneOf {
|
|
|
514
522
|
*/
|
|
515
523
|
appId?: string;
|
|
516
524
|
/** @readonly */
|
|
517
|
-
identityType?:
|
|
525
|
+
identityType?: WebhookIdentityTypeWithLiterals;
|
|
518
526
|
}
|
|
519
527
|
/** @oneof */
|
|
520
528
|
export interface IdentificationDataIdOneOf {
|
|
@@ -546,6 +554,8 @@ export declare enum WebhookIdentityType {
|
|
|
546
554
|
WIX_USER = "WIX_USER",
|
|
547
555
|
APP = "APP"
|
|
548
556
|
}
|
|
557
|
+
/** @enumType */
|
|
558
|
+
export type WebhookIdentityTypeWithLiterals = WebhookIdentityType | 'UNKNOWN' | 'ANONYMOUS_VISITOR' | 'MEMBER' | 'WIX_USER' | 'APP';
|
|
549
559
|
export interface BaseEventMetadata {
|
|
550
560
|
/**
|
|
551
561
|
* App instance ID.
|
|
@@ -624,7 +634,6 @@ export interface ScheduleTimeFrameUpdatedEnvelope {
|
|
|
624
634
|
* @webhook
|
|
625
635
|
* @eventType wix.calendar.v3.schedule_time_frame_updated
|
|
626
636
|
* @slug updated
|
|
627
|
-
* @documentationMaturity preview
|
|
628
637
|
*/
|
|
629
638
|
export declare function onScheduleTimeFrameUpdated(handler: (event: ScheduleTimeFrameUpdatedEnvelope) => void | Promise<void>): void;
|
|
630
639
|
type ScheduleTimeFrameNonNullablePaths = `status`;
|
|
@@ -633,7 +642,6 @@ type ScheduleTimeFrameNonNullablePaths = `status`;
|
|
|
633
642
|
* @param _id - [Schedule](https://dev.wix.com/docs/sdk/backend-modules/calendar/schedules/introduction)
|
|
634
643
|
* ID for which to retrieve the schedule time frame.
|
|
635
644
|
* @public
|
|
636
|
-
* @documentationMaturity preview
|
|
637
645
|
* @requiredField _id
|
|
638
646
|
* @permissionId CALENDAR.SCHEDULE_READ
|
|
639
647
|
* @permissionScope Read Bookings - Public Data
|
|
@@ -682,7 +690,6 @@ export interface GetScheduleTimeFrameOptions {
|
|
|
682
690
|
* Min: 1 schedule ID
|
|
683
691
|
* Max: 100 schedule IDs
|
|
684
692
|
* @public
|
|
685
|
-
* @documentationMaturity preview
|
|
686
693
|
* @requiredField ids
|
|
687
694
|
* @permissionId CALENDAR.SCHEDULE_READ
|
|
688
695
|
* @permissionScope Read Bookings - Public Data
|
package/build/internal/es/src/calendar-v3-schedule-time-frame-schedule-time-frames.universal.js
CHANGED
|
@@ -48,7 +48,6 @@ export var WebhookIdentityType;
|
|
|
48
48
|
* @param _id - [Schedule](https://dev.wix.com/docs/sdk/backend-modules/calendar/schedules/introduction)
|
|
49
49
|
* ID for which to retrieve the schedule time frame.
|
|
50
50
|
* @public
|
|
51
|
-
* @documentationMaturity preview
|
|
52
51
|
* @requiredField _id
|
|
53
52
|
* @permissionId CALENDAR.SCHEDULE_READ
|
|
54
53
|
* @permissionScope Read Bookings - Public Data
|
|
@@ -113,7 +112,6 @@ export async function getScheduleTimeFrame(_id, options) {
|
|
|
113
112
|
* Min: 1 schedule ID
|
|
114
113
|
* Max: 100 schedule IDs
|
|
115
114
|
* @public
|
|
116
|
-
* @documentationMaturity preview
|
|
117
115
|
* @requiredField ids
|
|
118
116
|
* @permissionId CALENDAR.SCHEDULE_READ
|
|
119
117
|
* @permissionScope Read Bookings - Public Data
|
package/build/internal/es/src/calendar-v3-schedule-time-frame-schedule-time-frames.universal.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"calendar-v3-schedule-time-frame-schedule-time-frames.universal.js","sourceRoot":"","sources":["../../../../src/calendar-v3-schedule-time-frame-schedule-time-frames.universal.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,IAAI,iBAAiB,EAAE,MAAM,kCAAkC,CAAC;AACvF,OAAO,EACL,qCAAqC,EACrC,uCAAuC,GACxC,MAAM,yCAAyC,CAAC;AAEjD,OAAO,KAAK,wCAAwC,MAAM,gEAAgE,CAAC;AAiE3H,MAAM,CAAN,IAAY,MAQX;AARD,WAAY,MAAM;IAChB,2CAAiC,CAAA;IACjC,kIAAkI;IAClI,uBAAa,CAAA;IACb,+GAA+G;IAC/G,2BAAiB,CAAA;IACjB,gHAAgH;IAChH,+BAAqB,CAAA;AACvB,CAAC,EARW,MAAM,KAAN,MAAM,QAQjB;
|
|
1
|
+
{"version":3,"file":"calendar-v3-schedule-time-frame-schedule-time-frames.universal.js","sourceRoot":"","sources":["../../../../src/calendar-v3-schedule-time-frame-schedule-time-frames.universal.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,IAAI,iBAAiB,EAAE,MAAM,kCAAkC,CAAC;AACvF,OAAO,EACL,qCAAqC,EACrC,uCAAuC,GACxC,MAAM,yCAAyC,CAAC;AAEjD,OAAO,KAAK,wCAAwC,MAAM,gEAAgE,CAAC;AAiE3H,MAAM,CAAN,IAAY,MAQX;AARD,WAAY,MAAM;IAChB,2CAAiC,CAAA;IACjC,kIAAkI;IAClI,uBAAa,CAAA;IACb,+GAA+G;IAC/G,2BAAiB,CAAA;IACjB,gHAAgH;IAChH,+BAAqB,CA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AAO,uCAAuC,CAAC,MAAM,CAAC,IAAI,CAAE,CAAC;IAC/D,CAAC;IAAC,OAAO,GAAQ,EAAE,CAAC;QAClB,MAAM,gBAAgB,GAAG,iBAAiB,CACxC,GAAG,EACH;YACE,sBAAsB,EAAE,EAAE;YAC1B,wBAAwB,EAAE,EAAE,GAAG,EAAE,MAAM,EAAE,QAAQ,EAAE,eAAe,EAAE;YACpE,uBAAuB,EAAE,KAAK;SAC/B,EACD,CAAC,KAAK,EAAE,SAAS,CAAC,CACnB,CAAC;QACF,WAAW,EAAE,OAAO,EAAE,CAAC,GAAG,CAAC,CAAC;QAE5B,MAAM,gBAAgB,CAAC;IACzB,CAAC;AACH,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wix/auto_sdk_calendar_schedule-time-frames",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.14",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"registry": "https://registry.npmjs.org/",
|
|
6
6
|
"access": "public"
|
|
@@ -48,5 +48,5 @@
|
|
|
48
48
|
"fqdn": "wix.calendar.v3.schedule_time_frame"
|
|
49
49
|
}
|
|
50
50
|
},
|
|
51
|
-
"falconPackageHash": "
|
|
51
|
+
"falconPackageHash": "b5c3e6b0ff287ae644a22487abdd6cd9495eb17461a0e90cfe4149f8"
|
|
52
52
|
}
|