@wix/auto_sdk_calendar_schedule-time-frames 1.0.1 → 1.0.2
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 +70 -16
- 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 +96 -18
- package/build/cjs/src/calendar-v3-schedule-time-frame-schedule-time-frames.universal.js +12 -0
- 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 +70 -16
- 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 +96 -18
- package/build/es/src/calendar-v3-schedule-time-frame-schedule-time-frames.universal.js +12 -0
- 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 +70 -16
- 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 +96 -18
- package/build/internal/cjs/src/calendar-v3-schedule-time-frame-schedule-time-frames.universal.js +12 -0
- 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 +70 -16
- 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 +96 -18
- package/build/internal/es/src/calendar-v3-schedule-time-frame-schedule-time-frames.universal.js +12 -0
- package/build/internal/es/src/calendar-v3-schedule-time-frame-schedule-time-frames.universal.js.map +1 -1
- package/package.json +2 -2
|
@@ -8,6 +8,7 @@ export interface ScheduleTimeFrame {
|
|
|
8
8
|
/**
|
|
9
9
|
* ID of the [schedule](https://dev.wix.com/docs/rest/business-management/calendar/schedules-v3/schedule-object)
|
|
10
10
|
* to which the time frame belongs.
|
|
11
|
+
* @format GUID
|
|
11
12
|
* @readonly
|
|
12
13
|
*/
|
|
13
14
|
id?: string | null;
|
|
@@ -74,6 +75,7 @@ export interface ZonedDate {
|
|
|
74
75
|
* Local date time in [ISO-8601 format](https://en.wikipedia.org/wiki/ISO_8601).
|
|
75
76
|
* For example, `2024-01-30T13:30:00`.
|
|
76
77
|
* Wix Calendar APIs ignore seconds.
|
|
78
|
+
* @format LOCAL_DATE_TIME
|
|
77
79
|
*/
|
|
78
80
|
localDate?: string | null;
|
|
79
81
|
/**
|
|
@@ -95,6 +97,7 @@ export interface GetScheduleTimeFrameRequest {
|
|
|
95
97
|
/**
|
|
96
98
|
* [Schedule](https://dev.wix.com/docs/rest/business-management/calendar/schedules-v3/schedule-object)
|
|
97
99
|
* ID for which to retrieve the schedule time frame.
|
|
100
|
+
* @format GUID
|
|
98
101
|
*/
|
|
99
102
|
id: string | null;
|
|
100
103
|
/**
|
|
@@ -114,6 +117,9 @@ export interface ListScheduleTimeFramesRequest {
|
|
|
114
117
|
*
|
|
115
118
|
* Min: 1 schedule ID
|
|
116
119
|
* Max: 100 schedule IDs
|
|
120
|
+
* @minSize 1
|
|
121
|
+
* @maxSize 100
|
|
122
|
+
* @format GUID
|
|
117
123
|
*/
|
|
118
124
|
ids: string[];
|
|
119
125
|
/**
|
|
@@ -133,7 +139,10 @@ export interface SitePropertiesNotification {
|
|
|
133
139
|
metasiteId?: string;
|
|
134
140
|
/** The actual update event. */
|
|
135
141
|
event?: SitePropertiesEvent;
|
|
136
|
-
/**
|
|
142
|
+
/**
|
|
143
|
+
* A convenience set of mappings from the MetaSite ID to its constituent services.
|
|
144
|
+
* @maxSize 500
|
|
145
|
+
*/
|
|
137
146
|
translations?: Translation[];
|
|
138
147
|
/** Context of the notification */
|
|
139
148
|
changeContext?: ChangeContext;
|
|
@@ -206,7 +215,10 @@ export interface Properties {
|
|
|
206
215
|
export interface Categories {
|
|
207
216
|
/** Primary site category. */
|
|
208
217
|
primary?: string;
|
|
209
|
-
/**
|
|
218
|
+
/**
|
|
219
|
+
* Secondary site category.
|
|
220
|
+
* @maxSize 50
|
|
221
|
+
*/
|
|
210
222
|
secondary?: string[];
|
|
211
223
|
/** Business Term Id */
|
|
212
224
|
businessTermId?: string | null;
|
|
@@ -226,7 +238,10 @@ export interface Address {
|
|
|
226
238
|
country?: string;
|
|
227
239
|
/** State. */
|
|
228
240
|
state?: string;
|
|
229
|
-
/**
|
|
241
|
+
/**
|
|
242
|
+
* Zip or postal code.
|
|
243
|
+
* @maxLength 20
|
|
244
|
+
*/
|
|
230
245
|
zip?: string;
|
|
231
246
|
/** Extra information to be displayed in the address. */
|
|
232
247
|
hint?: AddressHint;
|
|
@@ -267,9 +282,15 @@ export interface GeoCoordinates {
|
|
|
267
282
|
}
|
|
268
283
|
/** Business schedule. Regular and exceptional time periods when the business is open or the service is available. */
|
|
269
284
|
export interface BusinessSchedule {
|
|
270
|
-
/**
|
|
285
|
+
/**
|
|
286
|
+
* Weekly recurring time periods when the business is regularly open or the service is available. Limited to 100 time periods.
|
|
287
|
+
* @maxSize 100
|
|
288
|
+
*/
|
|
271
289
|
periods?: TimePeriod[];
|
|
272
|
-
/**
|
|
290
|
+
/**
|
|
291
|
+
* Exceptions to the business's regular hours. The business can be open or closed during the exception.
|
|
292
|
+
* @maxSize 100
|
|
293
|
+
*/
|
|
273
294
|
specialHourPeriod?: SpecialHourPeriod[];
|
|
274
295
|
}
|
|
275
296
|
/** Weekly recurring time periods when the business is regularly open or the service is available. */
|
|
@@ -317,7 +338,10 @@ export interface SpecialHourPeriod {
|
|
|
317
338
|
comment?: string;
|
|
318
339
|
}
|
|
319
340
|
export interface Multilingual {
|
|
320
|
-
/**
|
|
341
|
+
/**
|
|
342
|
+
* Supported languages list.
|
|
343
|
+
* @maxSize 200
|
|
344
|
+
*/
|
|
321
345
|
supportedLanguages?: SupportedLanguage[];
|
|
322
346
|
/** Whether to redirect to user language. */
|
|
323
347
|
autoRedirect?: boolean;
|
|
@@ -462,9 +486,15 @@ export interface ActionEvent {
|
|
|
462
486
|
bodyAsJson?: string;
|
|
463
487
|
}
|
|
464
488
|
export interface MessageEnvelope {
|
|
465
|
-
/**
|
|
489
|
+
/**
|
|
490
|
+
* App instance ID.
|
|
491
|
+
* @format GUID
|
|
492
|
+
*/
|
|
466
493
|
instanceId?: string | null;
|
|
467
|
-
/**
|
|
494
|
+
/**
|
|
495
|
+
* Event type.
|
|
496
|
+
* @maxLength 150
|
|
497
|
+
*/
|
|
468
498
|
eventType?: string;
|
|
469
499
|
/** The identification type and identity data. */
|
|
470
500
|
identity?: IdentificationData;
|
|
@@ -472,26 +502,50 @@ export interface MessageEnvelope {
|
|
|
472
502
|
data?: string;
|
|
473
503
|
}
|
|
474
504
|
export interface IdentificationData extends IdentificationDataIdOneOf {
|
|
475
|
-
/**
|
|
505
|
+
/**
|
|
506
|
+
* ID of a site visitor that has not logged in to the site.
|
|
507
|
+
* @format GUID
|
|
508
|
+
*/
|
|
476
509
|
anonymousVisitorId?: string;
|
|
477
|
-
/**
|
|
510
|
+
/**
|
|
511
|
+
* ID of a site visitor that has logged in to the site.
|
|
512
|
+
* @format GUID
|
|
513
|
+
*/
|
|
478
514
|
memberId?: string;
|
|
479
|
-
/**
|
|
515
|
+
/**
|
|
516
|
+
* ID of a Wix user (site owner, contributor, etc.).
|
|
517
|
+
* @format GUID
|
|
518
|
+
*/
|
|
480
519
|
wixUserId?: string;
|
|
481
|
-
/**
|
|
520
|
+
/**
|
|
521
|
+
* ID of an app.
|
|
522
|
+
* @format GUID
|
|
523
|
+
*/
|
|
482
524
|
appId?: string;
|
|
483
525
|
/** @readonly */
|
|
484
526
|
identityType?: WebhookIdentityType;
|
|
485
527
|
}
|
|
486
528
|
/** @oneof */
|
|
487
529
|
export interface IdentificationDataIdOneOf {
|
|
488
|
-
/**
|
|
530
|
+
/**
|
|
531
|
+
* ID of a site visitor that has not logged in to the site.
|
|
532
|
+
* @format GUID
|
|
533
|
+
*/
|
|
489
534
|
anonymousVisitorId?: string;
|
|
490
|
-
/**
|
|
535
|
+
/**
|
|
536
|
+
* ID of a site visitor that has logged in to the site.
|
|
537
|
+
* @format GUID
|
|
538
|
+
*/
|
|
491
539
|
memberId?: string;
|
|
492
|
-
/**
|
|
540
|
+
/**
|
|
541
|
+
* ID of a Wix user (site owner, contributor, etc.).
|
|
542
|
+
* @format GUID
|
|
543
|
+
*/
|
|
493
544
|
wixUserId?: string;
|
|
494
|
-
/**
|
|
545
|
+
/**
|
|
546
|
+
* ID of an app.
|
|
547
|
+
* @format GUID
|
|
548
|
+
*/
|
|
495
549
|
appId?: string;
|
|
496
550
|
}
|
|
497
551
|
export declare enum WebhookIdentityType {
|
|
@@ -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":";;;
|
|
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;AAoND,gGAAgG;AAChG,IAAY,aAIX;AAJD,WAAY,aAAa;IACvB,kCAAiB,CAAA;IACjB,gCAAe,CAAA;IACf,oCAAmB,CAAA;AACrB,CAAC,EAJW,aAAa,6BAAb,aAAa,QAIxB;AA4CD,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;AAyCD,IAAY,gBAIX;AAJD,WAAY,gBAAgB;IAC1B,+CAA2B,CAAA;IAC3B,2CAAuB,CAAA;IACvB,iDAA6B,CAAA;AAC/B,CAAC,EAJW,gBAAgB,gCAAhB,gBAAgB,QAI3B;AA2MD,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"}
|
|
@@ -8,6 +8,7 @@ export interface ScheduleTimeFrame {
|
|
|
8
8
|
/**
|
|
9
9
|
* ID of the [schedule](https://dev.wix.com/docs/sdk/backend-modules/calendar/schedules/introduction)
|
|
10
10
|
* to which the time frame belongs.
|
|
11
|
+
* @format GUID
|
|
11
12
|
* @readonly
|
|
12
13
|
*/
|
|
13
14
|
_id?: string | null;
|
|
@@ -74,6 +75,7 @@ export interface ZonedDate {
|
|
|
74
75
|
* Local date time in [ISO-8601 format](https://en.wikipedia.org/wiki/ISO_8601).
|
|
75
76
|
* For example, `2024-01-30T13:30:00`.
|
|
76
77
|
* Wix Calendar APIs ignore seconds.
|
|
78
|
+
* @format LOCAL_DATE_TIME
|
|
77
79
|
*/
|
|
78
80
|
localDate?: string | null;
|
|
79
81
|
/**
|
|
@@ -95,6 +97,7 @@ export interface GetScheduleTimeFrameRequest {
|
|
|
95
97
|
/**
|
|
96
98
|
* [Schedule](https://dev.wix.com/docs/sdk/backend-modules/calendar/schedules/introduction)
|
|
97
99
|
* ID for which to retrieve the schedule time frame.
|
|
100
|
+
* @format GUID
|
|
98
101
|
*/
|
|
99
102
|
_id: string | null;
|
|
100
103
|
/**
|
|
@@ -114,6 +117,9 @@ export interface ListScheduleTimeFramesRequest {
|
|
|
114
117
|
*
|
|
115
118
|
* Min: 1 schedule ID
|
|
116
119
|
* Max: 100 schedule IDs
|
|
120
|
+
* @minSize 1
|
|
121
|
+
* @maxSize 100
|
|
122
|
+
* @format GUID
|
|
117
123
|
*/
|
|
118
124
|
ids: string[];
|
|
119
125
|
/**
|
|
@@ -133,7 +139,10 @@ export interface SitePropertiesNotification {
|
|
|
133
139
|
metasiteId?: string;
|
|
134
140
|
/** The actual update event. */
|
|
135
141
|
event?: SitePropertiesEvent;
|
|
136
|
-
/**
|
|
142
|
+
/**
|
|
143
|
+
* A convenience set of mappings from the MetaSite ID to its constituent services.
|
|
144
|
+
* @maxSize 500
|
|
145
|
+
*/
|
|
137
146
|
translations?: Translation[];
|
|
138
147
|
/** Context of the notification */
|
|
139
148
|
changeContext?: ChangeContext;
|
|
@@ -206,7 +215,10 @@ export interface Properties {
|
|
|
206
215
|
export interface Categories {
|
|
207
216
|
/** Primary site category. */
|
|
208
217
|
primary?: string;
|
|
209
|
-
/**
|
|
218
|
+
/**
|
|
219
|
+
* Secondary site category.
|
|
220
|
+
* @maxSize 50
|
|
221
|
+
*/
|
|
210
222
|
secondary?: string[];
|
|
211
223
|
/** Business Term Id */
|
|
212
224
|
businessTermId?: string | null;
|
|
@@ -226,7 +238,10 @@ export interface Address {
|
|
|
226
238
|
country?: string;
|
|
227
239
|
/** State. */
|
|
228
240
|
state?: string;
|
|
229
|
-
/**
|
|
241
|
+
/**
|
|
242
|
+
* Zip or postal code.
|
|
243
|
+
* @maxLength 20
|
|
244
|
+
*/
|
|
230
245
|
zip?: string;
|
|
231
246
|
/** Extra information to be displayed in the address. */
|
|
232
247
|
hint?: AddressHint;
|
|
@@ -267,9 +282,15 @@ export interface GeoCoordinates {
|
|
|
267
282
|
}
|
|
268
283
|
/** Business schedule. Regular and exceptional time periods when the business is open or the service is available. */
|
|
269
284
|
export interface BusinessSchedule {
|
|
270
|
-
/**
|
|
285
|
+
/**
|
|
286
|
+
* Weekly recurring time periods when the business is regularly open or the service is available. Limited to 100 time periods.
|
|
287
|
+
* @maxSize 100
|
|
288
|
+
*/
|
|
271
289
|
periods?: TimePeriod[];
|
|
272
|
-
/**
|
|
290
|
+
/**
|
|
291
|
+
* Exceptions to the business's regular hours. The business can be open or closed during the exception.
|
|
292
|
+
* @maxSize 100
|
|
293
|
+
*/
|
|
273
294
|
specialHourPeriod?: SpecialHourPeriod[];
|
|
274
295
|
}
|
|
275
296
|
/** Weekly recurring time periods when the business is regularly open or the service is available. */
|
|
@@ -317,7 +338,10 @@ export interface SpecialHourPeriod {
|
|
|
317
338
|
comment?: string;
|
|
318
339
|
}
|
|
319
340
|
export interface Multilingual {
|
|
320
|
-
/**
|
|
341
|
+
/**
|
|
342
|
+
* Supported languages list.
|
|
343
|
+
* @maxSize 200
|
|
344
|
+
*/
|
|
321
345
|
supportedLanguages?: SupportedLanguage[];
|
|
322
346
|
/** Whether to redirect to user language. */
|
|
323
347
|
autoRedirect?: boolean;
|
|
@@ -460,9 +484,15 @@ export interface ActionEvent {
|
|
|
460
484
|
body?: string;
|
|
461
485
|
}
|
|
462
486
|
export interface MessageEnvelope {
|
|
463
|
-
/**
|
|
487
|
+
/**
|
|
488
|
+
* App instance ID.
|
|
489
|
+
* @format GUID
|
|
490
|
+
*/
|
|
464
491
|
instanceId?: string | null;
|
|
465
|
-
/**
|
|
492
|
+
/**
|
|
493
|
+
* Event type.
|
|
494
|
+
* @maxLength 150
|
|
495
|
+
*/
|
|
466
496
|
eventType?: string;
|
|
467
497
|
/** The identification type and identity data. */
|
|
468
498
|
identity?: IdentificationData;
|
|
@@ -470,26 +500,50 @@ export interface MessageEnvelope {
|
|
|
470
500
|
data?: string;
|
|
471
501
|
}
|
|
472
502
|
export interface IdentificationData extends IdentificationDataIdOneOf {
|
|
473
|
-
/**
|
|
503
|
+
/**
|
|
504
|
+
* ID of a site visitor that has not logged in to the site.
|
|
505
|
+
* @format GUID
|
|
506
|
+
*/
|
|
474
507
|
anonymousVisitorId?: string;
|
|
475
|
-
/**
|
|
508
|
+
/**
|
|
509
|
+
* ID of a site visitor that has logged in to the site.
|
|
510
|
+
* @format GUID
|
|
511
|
+
*/
|
|
476
512
|
memberId?: string;
|
|
477
|
-
/**
|
|
513
|
+
/**
|
|
514
|
+
* ID of a Wix user (site owner, contributor, etc.).
|
|
515
|
+
* @format GUID
|
|
516
|
+
*/
|
|
478
517
|
wixUserId?: string;
|
|
479
|
-
/**
|
|
518
|
+
/**
|
|
519
|
+
* ID of an app.
|
|
520
|
+
* @format GUID
|
|
521
|
+
*/
|
|
480
522
|
appId?: string;
|
|
481
523
|
/** @readonly */
|
|
482
524
|
identityType?: WebhookIdentityType;
|
|
483
525
|
}
|
|
484
526
|
/** @oneof */
|
|
485
527
|
export interface IdentificationDataIdOneOf {
|
|
486
|
-
/**
|
|
528
|
+
/**
|
|
529
|
+
* ID of a site visitor that has not logged in to the site.
|
|
530
|
+
* @format GUID
|
|
531
|
+
*/
|
|
487
532
|
anonymousVisitorId?: string;
|
|
488
|
-
/**
|
|
533
|
+
/**
|
|
534
|
+
* ID of a site visitor that has logged in to the site.
|
|
535
|
+
* @format GUID
|
|
536
|
+
*/
|
|
489
537
|
memberId?: string;
|
|
490
|
-
/**
|
|
538
|
+
/**
|
|
539
|
+
* ID of a Wix user (site owner, contributor, etc.).
|
|
540
|
+
* @format GUID
|
|
541
|
+
*/
|
|
491
542
|
wixUserId?: string;
|
|
492
|
-
/**
|
|
543
|
+
/**
|
|
544
|
+
* ID of an app.
|
|
545
|
+
* @format GUID
|
|
546
|
+
*/
|
|
493
547
|
appId?: string;
|
|
494
548
|
}
|
|
495
549
|
export declare enum WebhookIdentityType {
|
|
@@ -509,9 +563,15 @@ export interface ListScheduleTimeFramesResponseNonNullableFields {
|
|
|
509
563
|
scheduleTimeFrames: ScheduleTimeFrameNonNullableFields[];
|
|
510
564
|
}
|
|
511
565
|
export interface BaseEventMetadata {
|
|
512
|
-
/**
|
|
566
|
+
/**
|
|
567
|
+
* App instance ID.
|
|
568
|
+
* @format GUID
|
|
569
|
+
*/
|
|
513
570
|
instanceId?: string | null;
|
|
514
|
-
/**
|
|
571
|
+
/**
|
|
572
|
+
* Event type.
|
|
573
|
+
* @maxLength 150
|
|
574
|
+
*/
|
|
515
575
|
eventType?: string;
|
|
516
576
|
/** The identification type and identity data. */
|
|
517
577
|
identity?: IdentificationData;
|
|
@@ -566,6 +626,12 @@ export interface ScheduleTimeFrameUpdatedEnvelope {
|
|
|
566
626
|
* @permissionScopeId SCOPE.DC-BOOKINGS.READ-BOOKINGS-PUBLIC
|
|
567
627
|
* @permissionScope Read Calendar - Including PI
|
|
568
628
|
* @permissionScopeId SCOPE.DC-CALENDAR.READ-PI
|
|
629
|
+
* @permissionScope Manage Calendars
|
|
630
|
+
* @permissionScopeId SCOPE.DC-CALENDAR.MANAGE
|
|
631
|
+
* @permissionScope Manage Bookings
|
|
632
|
+
* @permissionScopeId SCOPE.DC-BOOKINGS.MANAGE-BOOKINGS
|
|
633
|
+
* @permissionScope Read Bookings - Including Participants
|
|
634
|
+
* @permissionScopeId SCOPE.DC-BOOKINGS.READ-BOOKINGS-SENSITIVE
|
|
569
635
|
* @permissionScope Read Bookings - all read permissions
|
|
570
636
|
* @permissionScopeId SCOPE.DC-BOOKINGS-MEGA.READ-BOOKINGS
|
|
571
637
|
* @permissionScope Read Bookings Calendar Availability
|
|
@@ -597,6 +663,12 @@ export declare function onScheduleTimeFrameUpdated(handler: (event: ScheduleTime
|
|
|
597
663
|
* @permissionScopeId SCOPE.DC-BOOKINGS.READ-BOOKINGS-PUBLIC
|
|
598
664
|
* @permissionScope Read Calendar - Including PI
|
|
599
665
|
* @permissionScopeId SCOPE.DC-CALENDAR.READ-PI
|
|
666
|
+
* @permissionScope Manage Calendars
|
|
667
|
+
* @permissionScopeId SCOPE.DC-CALENDAR.MANAGE
|
|
668
|
+
* @permissionScope Manage Bookings
|
|
669
|
+
* @permissionScopeId SCOPE.DC-BOOKINGS.MANAGE-BOOKINGS
|
|
670
|
+
* @permissionScope Read Bookings - Including Participants
|
|
671
|
+
* @permissionScopeId SCOPE.DC-BOOKINGS.READ-BOOKINGS-SENSITIVE
|
|
600
672
|
* @permissionScope Read Bookings - all read permissions
|
|
601
673
|
* @permissionScopeId SCOPE.DC-BOOKINGS-MEGA.READ-BOOKINGS
|
|
602
674
|
* @permissionScope Read Bookings Calendar Availability
|
|
@@ -640,6 +712,12 @@ export interface GetScheduleTimeFrameOptions {
|
|
|
640
712
|
* @permissionScopeId SCOPE.DC-BOOKINGS.READ-BOOKINGS-PUBLIC
|
|
641
713
|
* @permissionScope Read Calendar - Including PI
|
|
642
714
|
* @permissionScopeId SCOPE.DC-CALENDAR.READ-PI
|
|
715
|
+
* @permissionScope Manage Calendars
|
|
716
|
+
* @permissionScopeId SCOPE.DC-CALENDAR.MANAGE
|
|
717
|
+
* @permissionScope Manage Bookings
|
|
718
|
+
* @permissionScopeId SCOPE.DC-BOOKINGS.MANAGE-BOOKINGS
|
|
719
|
+
* @permissionScope Read Bookings - Including Participants
|
|
720
|
+
* @permissionScopeId SCOPE.DC-BOOKINGS.READ-BOOKINGS-SENSITIVE
|
|
643
721
|
* @permissionScope Read Bookings - all read permissions
|
|
644
722
|
* @permissionScopeId SCOPE.DC-BOOKINGS-MEGA.READ-BOOKINGS
|
|
645
723
|
* @permissionScope Read Bookings Calendar Availability
|
|
@@ -81,6 +81,12 @@ var WebhookIdentityType;
|
|
|
81
81
|
* @permissionScopeId SCOPE.DC-BOOKINGS.READ-BOOKINGS-PUBLIC
|
|
82
82
|
* @permissionScope Read Calendar - Including PI
|
|
83
83
|
* @permissionScopeId SCOPE.DC-CALENDAR.READ-PI
|
|
84
|
+
* @permissionScope Manage Calendars
|
|
85
|
+
* @permissionScopeId SCOPE.DC-CALENDAR.MANAGE
|
|
86
|
+
* @permissionScope Manage Bookings
|
|
87
|
+
* @permissionScopeId SCOPE.DC-BOOKINGS.MANAGE-BOOKINGS
|
|
88
|
+
* @permissionScope Read Bookings - Including Participants
|
|
89
|
+
* @permissionScopeId SCOPE.DC-BOOKINGS.READ-BOOKINGS-SENSITIVE
|
|
84
90
|
* @permissionScope Read Bookings - all read permissions
|
|
85
91
|
* @permissionScopeId SCOPE.DC-BOOKINGS-MEGA.READ-BOOKINGS
|
|
86
92
|
* @permissionScope Read Bookings Calendar Availability
|
|
@@ -141,6 +147,12 @@ exports.getScheduleTimeFrame = getScheduleTimeFrame;
|
|
|
141
147
|
* @permissionScopeId SCOPE.DC-BOOKINGS.READ-BOOKINGS-PUBLIC
|
|
142
148
|
* @permissionScope Read Calendar - Including PI
|
|
143
149
|
* @permissionScopeId SCOPE.DC-CALENDAR.READ-PI
|
|
150
|
+
* @permissionScope Manage Calendars
|
|
151
|
+
* @permissionScopeId SCOPE.DC-CALENDAR.MANAGE
|
|
152
|
+
* @permissionScope Manage Bookings
|
|
153
|
+
* @permissionScopeId SCOPE.DC-BOOKINGS.MANAGE-BOOKINGS
|
|
154
|
+
* @permissionScope Read Bookings - Including Participants
|
|
155
|
+
* @permissionScopeId SCOPE.DC-BOOKINGS.READ-BOOKINGS-SENSITIVE
|
|
144
156
|
* @permissionScope Read Bookings - all read permissions
|
|
145
157
|
* @permissionScopeId SCOPE.DC-BOOKINGS-MEGA.READ-BOOKINGS
|
|
146
158
|
* @permissionScope Read Bookings Calendar Availability
|
|
@@ -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;
|
|
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":"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"}
|
|
@@ -8,6 +8,7 @@ export interface ScheduleTimeFrame {
|
|
|
8
8
|
/**
|
|
9
9
|
* ID of the [schedule](https://dev.wix.com/docs/rest/business-management/calendar/schedules-v3/schedule-object)
|
|
10
10
|
* to which the time frame belongs.
|
|
11
|
+
* @format GUID
|
|
11
12
|
* @readonly
|
|
12
13
|
*/
|
|
13
14
|
id?: string | null;
|
|
@@ -74,6 +75,7 @@ export interface ZonedDate {
|
|
|
74
75
|
* Local date time in [ISO-8601 format](https://en.wikipedia.org/wiki/ISO_8601).
|
|
75
76
|
* For example, `2024-01-30T13:30:00`.
|
|
76
77
|
* Wix Calendar APIs ignore seconds.
|
|
78
|
+
* @format LOCAL_DATE_TIME
|
|
77
79
|
*/
|
|
78
80
|
localDate?: string | null;
|
|
79
81
|
/**
|
|
@@ -95,6 +97,7 @@ export interface GetScheduleTimeFrameRequest {
|
|
|
95
97
|
/**
|
|
96
98
|
* [Schedule](https://dev.wix.com/docs/rest/business-management/calendar/schedules-v3/schedule-object)
|
|
97
99
|
* ID for which to retrieve the schedule time frame.
|
|
100
|
+
* @format GUID
|
|
98
101
|
*/
|
|
99
102
|
id: string | null;
|
|
100
103
|
/**
|
|
@@ -114,6 +117,9 @@ export interface ListScheduleTimeFramesRequest {
|
|
|
114
117
|
*
|
|
115
118
|
* Min: 1 schedule ID
|
|
116
119
|
* Max: 100 schedule IDs
|
|
120
|
+
* @minSize 1
|
|
121
|
+
* @maxSize 100
|
|
122
|
+
* @format GUID
|
|
117
123
|
*/
|
|
118
124
|
ids: string[];
|
|
119
125
|
/**
|
|
@@ -133,7 +139,10 @@ export interface SitePropertiesNotification {
|
|
|
133
139
|
metasiteId?: string;
|
|
134
140
|
/** The actual update event. */
|
|
135
141
|
event?: SitePropertiesEvent;
|
|
136
|
-
/**
|
|
142
|
+
/**
|
|
143
|
+
* A convenience set of mappings from the MetaSite ID to its constituent services.
|
|
144
|
+
* @maxSize 500
|
|
145
|
+
*/
|
|
137
146
|
translations?: Translation[];
|
|
138
147
|
/** Context of the notification */
|
|
139
148
|
changeContext?: ChangeContext;
|
|
@@ -206,7 +215,10 @@ export interface Properties {
|
|
|
206
215
|
export interface Categories {
|
|
207
216
|
/** Primary site category. */
|
|
208
217
|
primary?: string;
|
|
209
|
-
/**
|
|
218
|
+
/**
|
|
219
|
+
* Secondary site category.
|
|
220
|
+
* @maxSize 50
|
|
221
|
+
*/
|
|
210
222
|
secondary?: string[];
|
|
211
223
|
/** Business Term Id */
|
|
212
224
|
businessTermId?: string | null;
|
|
@@ -226,7 +238,10 @@ export interface Address {
|
|
|
226
238
|
country?: string;
|
|
227
239
|
/** State. */
|
|
228
240
|
state?: string;
|
|
229
|
-
/**
|
|
241
|
+
/**
|
|
242
|
+
* Zip or postal code.
|
|
243
|
+
* @maxLength 20
|
|
244
|
+
*/
|
|
230
245
|
zip?: string;
|
|
231
246
|
/** Extra information to be displayed in the address. */
|
|
232
247
|
hint?: AddressHint;
|
|
@@ -267,9 +282,15 @@ export interface GeoCoordinates {
|
|
|
267
282
|
}
|
|
268
283
|
/** Business schedule. Regular and exceptional time periods when the business is open or the service is available. */
|
|
269
284
|
export interface BusinessSchedule {
|
|
270
|
-
/**
|
|
285
|
+
/**
|
|
286
|
+
* Weekly recurring time periods when the business is regularly open or the service is available. Limited to 100 time periods.
|
|
287
|
+
* @maxSize 100
|
|
288
|
+
*/
|
|
271
289
|
periods?: TimePeriod[];
|
|
272
|
-
/**
|
|
290
|
+
/**
|
|
291
|
+
* Exceptions to the business's regular hours. The business can be open or closed during the exception.
|
|
292
|
+
* @maxSize 100
|
|
293
|
+
*/
|
|
273
294
|
specialHourPeriod?: SpecialHourPeriod[];
|
|
274
295
|
}
|
|
275
296
|
/** Weekly recurring time periods when the business is regularly open or the service is available. */
|
|
@@ -317,7 +338,10 @@ export interface SpecialHourPeriod {
|
|
|
317
338
|
comment?: string;
|
|
318
339
|
}
|
|
319
340
|
export interface Multilingual {
|
|
320
|
-
/**
|
|
341
|
+
/**
|
|
342
|
+
* Supported languages list.
|
|
343
|
+
* @maxSize 200
|
|
344
|
+
*/
|
|
321
345
|
supportedLanguages?: SupportedLanguage[];
|
|
322
346
|
/** Whether to redirect to user language. */
|
|
323
347
|
autoRedirect?: boolean;
|
|
@@ -462,9 +486,15 @@ export interface ActionEvent {
|
|
|
462
486
|
bodyAsJson?: string;
|
|
463
487
|
}
|
|
464
488
|
export interface MessageEnvelope {
|
|
465
|
-
/**
|
|
489
|
+
/**
|
|
490
|
+
* App instance ID.
|
|
491
|
+
* @format GUID
|
|
492
|
+
*/
|
|
466
493
|
instanceId?: string | null;
|
|
467
|
-
/**
|
|
494
|
+
/**
|
|
495
|
+
* Event type.
|
|
496
|
+
* @maxLength 150
|
|
497
|
+
*/
|
|
468
498
|
eventType?: string;
|
|
469
499
|
/** The identification type and identity data. */
|
|
470
500
|
identity?: IdentificationData;
|
|
@@ -472,26 +502,50 @@ export interface MessageEnvelope {
|
|
|
472
502
|
data?: string;
|
|
473
503
|
}
|
|
474
504
|
export interface IdentificationData extends IdentificationDataIdOneOf {
|
|
475
|
-
/**
|
|
505
|
+
/**
|
|
506
|
+
* ID of a site visitor that has not logged in to the site.
|
|
507
|
+
* @format GUID
|
|
508
|
+
*/
|
|
476
509
|
anonymousVisitorId?: string;
|
|
477
|
-
/**
|
|
510
|
+
/**
|
|
511
|
+
* ID of a site visitor that has logged in to the site.
|
|
512
|
+
* @format GUID
|
|
513
|
+
*/
|
|
478
514
|
memberId?: string;
|
|
479
|
-
/**
|
|
515
|
+
/**
|
|
516
|
+
* ID of a Wix user (site owner, contributor, etc.).
|
|
517
|
+
* @format GUID
|
|
518
|
+
*/
|
|
480
519
|
wixUserId?: string;
|
|
481
|
-
/**
|
|
520
|
+
/**
|
|
521
|
+
* ID of an app.
|
|
522
|
+
* @format GUID
|
|
523
|
+
*/
|
|
482
524
|
appId?: string;
|
|
483
525
|
/** @readonly */
|
|
484
526
|
identityType?: WebhookIdentityType;
|
|
485
527
|
}
|
|
486
528
|
/** @oneof */
|
|
487
529
|
export interface IdentificationDataIdOneOf {
|
|
488
|
-
/**
|
|
530
|
+
/**
|
|
531
|
+
* ID of a site visitor that has not logged in to the site.
|
|
532
|
+
* @format GUID
|
|
533
|
+
*/
|
|
489
534
|
anonymousVisitorId?: string;
|
|
490
|
-
/**
|
|
535
|
+
/**
|
|
536
|
+
* ID of a site visitor that has logged in to the site.
|
|
537
|
+
* @format GUID
|
|
538
|
+
*/
|
|
491
539
|
memberId?: string;
|
|
492
|
-
/**
|
|
540
|
+
/**
|
|
541
|
+
* ID of a Wix user (site owner, contributor, etc.).
|
|
542
|
+
* @format GUID
|
|
543
|
+
*/
|
|
493
544
|
wixUserId?: string;
|
|
494
|
-
/**
|
|
545
|
+
/**
|
|
546
|
+
* ID of an app.
|
|
547
|
+
* @format GUID
|
|
548
|
+
*/
|
|
495
549
|
appId?: string;
|
|
496
550
|
}
|
|
497
551
|
export declare enum WebhookIdentityType {
|
|
@@ -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":"
|
|
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;AAoND,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;AA4CD,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;AAyCD,MAAM,CAAN,IAAY,gBAIX;AAJD,WAAY,gBAAgB;IAC1B,+CAA2B,CAAA;IAC3B,2CAAuB,CAAA;IACvB,iDAA6B,CAAA;AAC/B,CAAC,EAJW,gBAAgB,KAAhB,gBAAgB,QAI3B;AA2MD,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"}
|