@gooday_corp/gooday-api-client 1.2.85 → 1.2.87
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/api.ts +304 -240
- package/package.json +1 -1
package/api.ts
CHANGED
|
@@ -447,41 +447,53 @@ export interface BlockoutDeleteResponseDTO {
|
|
|
447
447
|
*/
|
|
448
448
|
export interface BlockoutEntity {
|
|
449
449
|
/**
|
|
450
|
-
*
|
|
451
|
-
* @type {
|
|
450
|
+
* Is recurring event
|
|
451
|
+
* @type {boolean}
|
|
452
452
|
* @memberof BlockoutEntity
|
|
453
453
|
*/
|
|
454
|
-
'
|
|
454
|
+
'isRecurring': boolean;
|
|
455
455
|
/**
|
|
456
|
-
*
|
|
456
|
+
* Duration in minutes
|
|
457
|
+
* @type {number}
|
|
458
|
+
* @memberof BlockoutEntity
|
|
459
|
+
*/
|
|
460
|
+
'duration': number;
|
|
461
|
+
/**
|
|
462
|
+
* Repeat interval for event
|
|
457
463
|
* @type {string}
|
|
458
464
|
* @memberof BlockoutEntity
|
|
459
465
|
*/
|
|
460
|
-
'
|
|
466
|
+
'repeat': BlockoutEntityRepeatEnum;
|
|
461
467
|
/**
|
|
462
|
-
* Start date
|
|
468
|
+
* Start date of an event
|
|
463
469
|
* @type {string}
|
|
464
470
|
* @memberof BlockoutEntity
|
|
465
471
|
*/
|
|
466
472
|
'startDate': string;
|
|
467
473
|
/**
|
|
468
|
-
* End date
|
|
474
|
+
* End date of an event
|
|
469
475
|
* @type {string}
|
|
470
476
|
* @memberof BlockoutEntity
|
|
471
477
|
*/
|
|
472
478
|
'endDate': string;
|
|
473
479
|
/**
|
|
474
|
-
*
|
|
480
|
+
* Recurrence pattern
|
|
475
481
|
* @type {string}
|
|
476
482
|
* @memberof BlockoutEntity
|
|
477
483
|
*/
|
|
478
|
-
'
|
|
484
|
+
'pattern'?: string;
|
|
479
485
|
/**
|
|
480
|
-
*
|
|
486
|
+
* Event id
|
|
487
|
+
* @type {string}
|
|
488
|
+
* @memberof BlockoutEntity
|
|
489
|
+
*/
|
|
490
|
+
'_id': string;
|
|
491
|
+
/**
|
|
492
|
+
* Event name
|
|
481
493
|
* @type {string}
|
|
482
494
|
* @memberof BlockoutEntity
|
|
483
495
|
*/
|
|
484
|
-
'
|
|
496
|
+
'title': string;
|
|
485
497
|
/**
|
|
486
498
|
*
|
|
487
499
|
* @type {Array<BusinessVenueDetailsEntity>}
|
|
@@ -494,25 +506,14 @@ export interface BlockoutEntity {
|
|
|
494
506
|
* @memberof BlockoutEntity
|
|
495
507
|
*/
|
|
496
508
|
'business': string;
|
|
497
|
-
/**
|
|
498
|
-
* Form
|
|
499
|
-
* @type {string}
|
|
500
|
-
* @memberof BlockoutEntity
|
|
501
|
-
*/
|
|
502
|
-
'from': string;
|
|
503
|
-
/**
|
|
504
|
-
* to
|
|
505
|
-
* @type {string}
|
|
506
|
-
* @memberof BlockoutEntity
|
|
507
|
-
*/
|
|
508
|
-
'to': string;
|
|
509
509
|
}
|
|
510
510
|
|
|
511
511
|
export const BlockoutEntityRepeatEnum = {
|
|
512
512
|
None: 'NONE',
|
|
513
|
-
|
|
514
|
-
|
|
515
|
-
|
|
513
|
+
Daily: 'DAILY',
|
|
514
|
+
Weekly: 'WEEKLY',
|
|
515
|
+
Monthly: 'MONTHLY',
|
|
516
|
+
Year: 'YEAR'
|
|
516
517
|
} as const;
|
|
517
518
|
|
|
518
519
|
export type BlockoutEntityRepeatEnum = typeof BlockoutEntityRepeatEnum[keyof typeof BlockoutEntityRepeatEnum];
|
|
@@ -524,60 +525,55 @@ export type BlockoutEntityRepeatEnum = typeof BlockoutEntityRepeatEnum[keyof typ
|
|
|
524
525
|
*/
|
|
525
526
|
export interface BlockoutPayloadDTO {
|
|
526
527
|
/**
|
|
527
|
-
*
|
|
528
|
-
* @type {string}
|
|
529
|
-
* @memberof BlockoutPayloadDTO
|
|
530
|
-
*/
|
|
531
|
-
'title': string;
|
|
532
|
-
/**
|
|
533
|
-
* Start date for the blockout
|
|
528
|
+
* Start date of event
|
|
534
529
|
* @type {string}
|
|
535
530
|
* @memberof BlockoutPayloadDTO
|
|
536
531
|
*/
|
|
537
532
|
'startDate': string;
|
|
538
533
|
/**
|
|
539
|
-
* End date
|
|
534
|
+
* End date of event
|
|
540
535
|
* @type {string}
|
|
541
536
|
* @memberof BlockoutPayloadDTO
|
|
542
537
|
*/
|
|
543
538
|
'endDate': string;
|
|
544
539
|
/**
|
|
545
|
-
*
|
|
540
|
+
* Start hour of an event
|
|
546
541
|
* @type {string}
|
|
547
542
|
* @memberof BlockoutPayloadDTO
|
|
548
543
|
*/
|
|
549
|
-
'
|
|
544
|
+
'from': string;
|
|
550
545
|
/**
|
|
551
|
-
*
|
|
546
|
+
* End hour of an event
|
|
552
547
|
* @type {string}
|
|
553
548
|
* @memberof BlockoutPayloadDTO
|
|
554
549
|
*/
|
|
555
|
-
'
|
|
550
|
+
'to': string;
|
|
556
551
|
/**
|
|
557
|
-
*
|
|
558
|
-
* @type {
|
|
552
|
+
*
|
|
553
|
+
* @type {string}
|
|
559
554
|
* @memberof BlockoutPayloadDTO
|
|
560
555
|
*/
|
|
561
|
-
'
|
|
556
|
+
'repeat': BlockoutPayloadDTORepeatEnum;
|
|
562
557
|
/**
|
|
563
|
-
*
|
|
558
|
+
* Name of block
|
|
564
559
|
* @type {string}
|
|
565
560
|
* @memberof BlockoutPayloadDTO
|
|
566
561
|
*/
|
|
567
|
-
'
|
|
562
|
+
'title': string;
|
|
568
563
|
/**
|
|
569
|
-
*
|
|
564
|
+
* Business Venue Id
|
|
570
565
|
* @type {string}
|
|
571
566
|
* @memberof BlockoutPayloadDTO
|
|
572
567
|
*/
|
|
573
|
-
'
|
|
568
|
+
'venue': string;
|
|
574
569
|
}
|
|
575
570
|
|
|
576
571
|
export const BlockoutPayloadDTORepeatEnum = {
|
|
577
572
|
None: 'NONE',
|
|
578
|
-
|
|
579
|
-
|
|
580
|
-
|
|
573
|
+
Daily: 'DAILY',
|
|
574
|
+
Weekly: 'WEEKLY',
|
|
575
|
+
Monthly: 'MONTHLY',
|
|
576
|
+
Year: 'YEAR'
|
|
581
577
|
} as const;
|
|
582
578
|
|
|
583
579
|
export type BlockoutPayloadDTORepeatEnum = typeof BlockoutPayloadDTORepeatEnum[keyof typeof BlockoutPayloadDTORepeatEnum];
|
|
@@ -1045,6 +1041,44 @@ export interface BookingResponseDTO {
|
|
|
1045
1041
|
*/
|
|
1046
1042
|
'data': BookingResponse;
|
|
1047
1043
|
}
|
|
1044
|
+
/**
|
|
1045
|
+
*
|
|
1046
|
+
* @export
|
|
1047
|
+
* @interface BookingRulesEntity
|
|
1048
|
+
*/
|
|
1049
|
+
export interface BookingRulesEntity {
|
|
1050
|
+
/**
|
|
1051
|
+
* Final booking relative time
|
|
1052
|
+
* @type {string}
|
|
1053
|
+
* @memberof BookingRulesEntity
|
|
1054
|
+
*/
|
|
1055
|
+
'finalBookingTimeRelative': string;
|
|
1056
|
+
/**
|
|
1057
|
+
* Final booking absolute time
|
|
1058
|
+
* @type {string}
|
|
1059
|
+
* @memberof BookingRulesEntity
|
|
1060
|
+
*/
|
|
1061
|
+
'finalBookingTimeAbsolute': string;
|
|
1062
|
+
}
|
|
1063
|
+
/**
|
|
1064
|
+
*
|
|
1065
|
+
* @export
|
|
1066
|
+
* @interface BookingRulesPayloadDTO
|
|
1067
|
+
*/
|
|
1068
|
+
export interface BookingRulesPayloadDTO {
|
|
1069
|
+
/**
|
|
1070
|
+
* Final booking relative time
|
|
1071
|
+
* @type {string}
|
|
1072
|
+
* @memberof BookingRulesPayloadDTO
|
|
1073
|
+
*/
|
|
1074
|
+
'finalBookingTimeRelative': string;
|
|
1075
|
+
/**
|
|
1076
|
+
* Final booking absolute time
|
|
1077
|
+
* @type {string}
|
|
1078
|
+
* @memberof BookingRulesPayloadDTO
|
|
1079
|
+
*/
|
|
1080
|
+
'finalBookingTimeAbsolute': string;
|
|
1081
|
+
}
|
|
1048
1082
|
/**
|
|
1049
1083
|
*
|
|
1050
1084
|
* @export
|
|
@@ -4800,6 +4834,25 @@ export interface PlanUpsertPayloadDTO {
|
|
|
4800
4834
|
*/
|
|
4801
4835
|
'plan': string;
|
|
4802
4836
|
}
|
|
4837
|
+
/**
|
|
4838
|
+
*
|
|
4839
|
+
* @export
|
|
4840
|
+
* @interface PrepaidServiceCapacityDTO
|
|
4841
|
+
*/
|
|
4842
|
+
export interface PrepaidServiceCapacityDTO {
|
|
4843
|
+
/**
|
|
4844
|
+
* Time duration
|
|
4845
|
+
* @type {TimeDuration}
|
|
4846
|
+
* @memberof PrepaidServiceCapacityDTO
|
|
4847
|
+
*/
|
|
4848
|
+
'time': TimeDuration;
|
|
4849
|
+
/**
|
|
4850
|
+
* Capacity
|
|
4851
|
+
* @type {number}
|
|
4852
|
+
* @memberof PrepaidServiceCapacityDTO
|
|
4853
|
+
*/
|
|
4854
|
+
'capacity': number;
|
|
4855
|
+
}
|
|
4803
4856
|
/**
|
|
4804
4857
|
*
|
|
4805
4858
|
* @export
|
|
@@ -4869,6 +4922,42 @@ export interface PrepaidServiceDiscount {
|
|
|
4869
4922
|
* @interface PrepaidServiceEntity
|
|
4870
4923
|
*/
|
|
4871
4924
|
export interface PrepaidServiceEntity {
|
|
4925
|
+
/**
|
|
4926
|
+
* Is recurring event
|
|
4927
|
+
* @type {boolean}
|
|
4928
|
+
* @memberof PrepaidServiceEntity
|
|
4929
|
+
*/
|
|
4930
|
+
'isRecurring': boolean;
|
|
4931
|
+
/**
|
|
4932
|
+
* Duration in minutes
|
|
4933
|
+
* @type {number}
|
|
4934
|
+
* @memberof PrepaidServiceEntity
|
|
4935
|
+
*/
|
|
4936
|
+
'duration': number;
|
|
4937
|
+
/**
|
|
4938
|
+
* Repeat interval for event
|
|
4939
|
+
* @type {string}
|
|
4940
|
+
* @memberof PrepaidServiceEntity
|
|
4941
|
+
*/
|
|
4942
|
+
'repeat': PrepaidServiceEntityRepeatEnum;
|
|
4943
|
+
/**
|
|
4944
|
+
* Start date of an event
|
|
4945
|
+
* @type {string}
|
|
4946
|
+
* @memberof PrepaidServiceEntity
|
|
4947
|
+
*/
|
|
4948
|
+
'startDate': string;
|
|
4949
|
+
/**
|
|
4950
|
+
* End date of an event
|
|
4951
|
+
* @type {string}
|
|
4952
|
+
* @memberof PrepaidServiceEntity
|
|
4953
|
+
*/
|
|
4954
|
+
'endDate': string;
|
|
4955
|
+
/**
|
|
4956
|
+
* Recurrence pattern
|
|
4957
|
+
* @type {string}
|
|
4958
|
+
* @memberof PrepaidServiceEntity
|
|
4959
|
+
*/
|
|
4960
|
+
'pattern'?: string;
|
|
4872
4961
|
/**
|
|
4873
4962
|
* Tag id
|
|
4874
4963
|
* @type {string}
|
|
@@ -4889,10 +4978,10 @@ export interface PrepaidServiceEntity {
|
|
|
4889
4978
|
'category': string;
|
|
4890
4979
|
/**
|
|
4891
4980
|
*
|
|
4892
|
-
* @type {Array<
|
|
4981
|
+
* @type {Array<PrepaidServiceCapacityDTO>}
|
|
4893
4982
|
* @memberof PrepaidServiceEntity
|
|
4894
4983
|
*/
|
|
4895
|
-
'
|
|
4984
|
+
'capacity': Array<PrepaidServiceCapacityDTO>;
|
|
4896
4985
|
/**
|
|
4897
4986
|
*
|
|
4898
4987
|
* @type {boolean}
|
|
@@ -4917,6 +5006,12 @@ export interface PrepaidServiceEntity {
|
|
|
4917
5006
|
* @memberof PrepaidServiceEntity
|
|
4918
5007
|
*/
|
|
4919
5008
|
'staffs': Array<BusinessStaffEntity>;
|
|
5009
|
+
/**
|
|
5010
|
+
*
|
|
5011
|
+
* @type {BookingRulesEntity}
|
|
5012
|
+
* @memberof PrepaidServiceEntity
|
|
5013
|
+
*/
|
|
5014
|
+
'rules': BookingRulesEntity;
|
|
4920
5015
|
/**
|
|
4921
5016
|
*
|
|
4922
5017
|
* @type {Array<StaffPrice>}
|
|
@@ -4935,12 +5030,6 @@ export interface PrepaidServiceEntity {
|
|
|
4935
5030
|
* @memberof PrepaidServiceEntity
|
|
4936
5031
|
*/
|
|
4937
5032
|
'business': string;
|
|
4938
|
-
/**
|
|
4939
|
-
*
|
|
4940
|
-
* @type {ServiceEndRepeat}
|
|
4941
|
-
* @memberof PrepaidServiceEntity
|
|
4942
|
-
*/
|
|
4943
|
-
'repeat': ServiceEndRepeat;
|
|
4944
5033
|
/**
|
|
4945
5034
|
*
|
|
4946
5035
|
* @type {number}
|
|
@@ -4990,6 +5079,17 @@ export interface PrepaidServiceEntity {
|
|
|
4990
5079
|
*/
|
|
4991
5080
|
'cancellationHours': string;
|
|
4992
5081
|
}
|
|
5082
|
+
|
|
5083
|
+
export const PrepaidServiceEntityRepeatEnum = {
|
|
5084
|
+
None: 'NONE',
|
|
5085
|
+
Daily: 'DAILY',
|
|
5086
|
+
Weekly: 'WEEKLY',
|
|
5087
|
+
Monthly: 'MONTHLY',
|
|
5088
|
+
Year: 'YEAR'
|
|
5089
|
+
} as const;
|
|
5090
|
+
|
|
5091
|
+
export type PrepaidServiceEntityRepeatEnum = typeof PrepaidServiceEntityRepeatEnum[keyof typeof PrepaidServiceEntityRepeatEnum];
|
|
5092
|
+
|
|
4993
5093
|
/**
|
|
4994
5094
|
*
|
|
4995
5095
|
* @export
|
|
@@ -5028,23 +5128,47 @@ export interface PrepaidServiceFindDTO {
|
|
|
5028
5128
|
*/
|
|
5029
5129
|
export interface PrepaidServicePayloadDTO {
|
|
5030
5130
|
/**
|
|
5031
|
-
*
|
|
5131
|
+
* Start date of event
|
|
5032
5132
|
* @type {string}
|
|
5033
5133
|
* @memberof PrepaidServicePayloadDTO
|
|
5034
5134
|
*/
|
|
5035
|
-
'
|
|
5135
|
+
'startDate': string;
|
|
5036
5136
|
/**
|
|
5037
|
-
*
|
|
5137
|
+
* End date of event
|
|
5038
5138
|
* @type {string}
|
|
5039
5139
|
* @memberof PrepaidServicePayloadDTO
|
|
5040
5140
|
*/
|
|
5041
|
-
'
|
|
5141
|
+
'endDate': string;
|
|
5142
|
+
/**
|
|
5143
|
+
* Start hour of an event
|
|
5144
|
+
* @type {string}
|
|
5145
|
+
* @memberof PrepaidServicePayloadDTO
|
|
5146
|
+
*/
|
|
5147
|
+
'from': string;
|
|
5148
|
+
/**
|
|
5149
|
+
* End hour of an event
|
|
5150
|
+
* @type {string}
|
|
5151
|
+
* @memberof PrepaidServicePayloadDTO
|
|
5152
|
+
*/
|
|
5153
|
+
'to': string;
|
|
5042
5154
|
/**
|
|
5043
5155
|
*
|
|
5044
|
-
* @type {
|
|
5156
|
+
* @type {string}
|
|
5045
5157
|
* @memberof PrepaidServicePayloadDTO
|
|
5046
5158
|
*/
|
|
5047
|
-
'
|
|
5159
|
+
'repeat': PrepaidServicePayloadDTORepeatEnum;
|
|
5160
|
+
/**
|
|
5161
|
+
* Service name
|
|
5162
|
+
* @type {string}
|
|
5163
|
+
* @memberof PrepaidServicePayloadDTO
|
|
5164
|
+
*/
|
|
5165
|
+
'name': string;
|
|
5166
|
+
/**
|
|
5167
|
+
* Category
|
|
5168
|
+
* @type {string}
|
|
5169
|
+
* @memberof PrepaidServicePayloadDTO
|
|
5170
|
+
*/
|
|
5171
|
+
'category': string;
|
|
5048
5172
|
/**
|
|
5049
5173
|
*
|
|
5050
5174
|
* @type {boolean}
|
|
@@ -5075,6 +5199,12 @@ export interface PrepaidServicePayloadDTO {
|
|
|
5075
5199
|
* @memberof PrepaidServicePayloadDTO
|
|
5076
5200
|
*/
|
|
5077
5201
|
'staffPrice': Array<StaffPrice>;
|
|
5202
|
+
/**
|
|
5203
|
+
* Booking rules
|
|
5204
|
+
* @type {BookingRulesPayloadDTO}
|
|
5205
|
+
* @memberof PrepaidServicePayloadDTO
|
|
5206
|
+
*/
|
|
5207
|
+
'rules': BookingRulesPayloadDTO;
|
|
5078
5208
|
/**
|
|
5079
5209
|
* Business venue
|
|
5080
5210
|
* @type {string}
|
|
@@ -5111,24 +5241,18 @@ export interface PrepaidServicePayloadDTO {
|
|
|
5111
5241
|
* @memberof PrepaidServicePayloadDTO
|
|
5112
5242
|
*/
|
|
5113
5243
|
'email': string;
|
|
5114
|
-
/**
|
|
5115
|
-
*
|
|
5116
|
-
* @type {ServiceEndRepeat}
|
|
5117
|
-
* @memberof PrepaidServicePayloadDTO
|
|
5118
|
-
*/
|
|
5119
|
-
'repeat'?: ServiceEndRepeat;
|
|
5120
5244
|
/**
|
|
5121
5245
|
*
|
|
5122
5246
|
* @type {Array<PrepaidServiceDiscount>}
|
|
5123
5247
|
* @memberof PrepaidServicePayloadDTO
|
|
5124
5248
|
*/
|
|
5125
|
-
'discounts'
|
|
5249
|
+
'discounts': Array<PrepaidServiceDiscount>;
|
|
5126
5250
|
/**
|
|
5127
5251
|
*
|
|
5128
|
-
* @type {Array<
|
|
5252
|
+
* @type {Array<PrepaidServiceCapacityDTO>}
|
|
5129
5253
|
* @memberof PrepaidServicePayloadDTO
|
|
5130
5254
|
*/
|
|
5131
|
-
'
|
|
5255
|
+
'capacity': Array<PrepaidServiceCapacityDTO>;
|
|
5132
5256
|
/**
|
|
5133
5257
|
*
|
|
5134
5258
|
* @type {number}
|
|
@@ -5142,6 +5266,17 @@ export interface PrepaidServicePayloadDTO {
|
|
|
5142
5266
|
*/
|
|
5143
5267
|
'cancellationHours': string;
|
|
5144
5268
|
}
|
|
5269
|
+
|
|
5270
|
+
export const PrepaidServicePayloadDTORepeatEnum = {
|
|
5271
|
+
None: 'NONE',
|
|
5272
|
+
Daily: 'DAILY',
|
|
5273
|
+
Weekly: 'WEEKLY',
|
|
5274
|
+
Monthly: 'MONTHLY',
|
|
5275
|
+
Year: 'YEAR'
|
|
5276
|
+
} as const;
|
|
5277
|
+
|
|
5278
|
+
export type PrepaidServicePayloadDTORepeatEnum = typeof PrepaidServicePayloadDTORepeatEnum[keyof typeof PrepaidServicePayloadDTORepeatEnum];
|
|
5279
|
+
|
|
5145
5280
|
/**
|
|
5146
5281
|
*
|
|
5147
5282
|
* @export
|
|
@@ -5161,25 +5296,6 @@ export interface PrepaidServiceResponseDTO {
|
|
|
5161
5296
|
*/
|
|
5162
5297
|
'statusCode': number;
|
|
5163
5298
|
}
|
|
5164
|
-
/**
|
|
5165
|
-
*
|
|
5166
|
-
* @export
|
|
5167
|
-
* @interface PrepaidServiceTimeDuration
|
|
5168
|
-
*/
|
|
5169
|
-
export interface PrepaidServiceTimeDuration {
|
|
5170
|
-
/**
|
|
5171
|
-
* Time duration
|
|
5172
|
-
* @type {TimeDuration}
|
|
5173
|
-
* @memberof PrepaidServiceTimeDuration
|
|
5174
|
-
*/
|
|
5175
|
-
'time': TimeDuration;
|
|
5176
|
-
/**
|
|
5177
|
-
* Capacity
|
|
5178
|
-
* @type {number}
|
|
5179
|
-
* @memberof PrepaidServiceTimeDuration
|
|
5180
|
-
*/
|
|
5181
|
-
'capacity': number;
|
|
5182
|
-
}
|
|
5183
5299
|
/**
|
|
5184
5300
|
*
|
|
5185
5301
|
* @export
|
|
@@ -5349,76 +5465,6 @@ export interface RenameCalendarPayload {
|
|
|
5349
5465
|
*/
|
|
5350
5466
|
'name': string;
|
|
5351
5467
|
}
|
|
5352
|
-
/**
|
|
5353
|
-
*
|
|
5354
|
-
* @export
|
|
5355
|
-
* @interface Repeat
|
|
5356
|
-
*/
|
|
5357
|
-
export interface Repeat {
|
|
5358
|
-
/**
|
|
5359
|
-
* Start date for the events
|
|
5360
|
-
* @type {string}
|
|
5361
|
-
* @memberof Repeat
|
|
5362
|
-
*/
|
|
5363
|
-
'startDate': string;
|
|
5364
|
-
/**
|
|
5365
|
-
* End date for the events
|
|
5366
|
-
* @type {string}
|
|
5367
|
-
* @memberof Repeat
|
|
5368
|
-
*/
|
|
5369
|
-
'endDate': string;
|
|
5370
|
-
/**
|
|
5371
|
-
* Form
|
|
5372
|
-
* @type {string}
|
|
5373
|
-
* @memberof Repeat
|
|
5374
|
-
*/
|
|
5375
|
-
'from': string;
|
|
5376
|
-
/**
|
|
5377
|
-
* to
|
|
5378
|
-
* @type {string}
|
|
5379
|
-
* @memberof Repeat
|
|
5380
|
-
*/
|
|
5381
|
-
'to': string;
|
|
5382
|
-
/**
|
|
5383
|
-
*
|
|
5384
|
-
* @type {string}
|
|
5385
|
-
* @memberof Repeat
|
|
5386
|
-
*/
|
|
5387
|
-
'finalBookingTime': RepeatFinalBookingTimeEnum;
|
|
5388
|
-
/**
|
|
5389
|
-
* to
|
|
5390
|
-
* @type {string}
|
|
5391
|
-
* @memberof Repeat
|
|
5392
|
-
*/
|
|
5393
|
-
'time': string;
|
|
5394
|
-
/**
|
|
5395
|
-
*
|
|
5396
|
-
* @type {string}
|
|
5397
|
-
* @memberof Repeat
|
|
5398
|
-
*/
|
|
5399
|
-
'repeat': RepeatRepeatEnum;
|
|
5400
|
-
/**
|
|
5401
|
-
*
|
|
5402
|
-
* @type {string}
|
|
5403
|
-
* @memberof Repeat
|
|
5404
|
-
*/
|
|
5405
|
-
'repeatEndDate': string;
|
|
5406
|
-
}
|
|
5407
|
-
|
|
5408
|
-
export const RepeatFinalBookingTimeEnum = {
|
|
5409
|
-
_5HourBeforeEventStarts: '5 hour before event starts'
|
|
5410
|
-
} as const;
|
|
5411
|
-
|
|
5412
|
-
export type RepeatFinalBookingTimeEnum = typeof RepeatFinalBookingTimeEnum[keyof typeof RepeatFinalBookingTimeEnum];
|
|
5413
|
-
export const RepeatRepeatEnum = {
|
|
5414
|
-
None: 'NONE',
|
|
5415
|
-
EveryWeek: 'EVERY_WEEK',
|
|
5416
|
-
EveryMonth: 'EVERY_MONTH',
|
|
5417
|
-
EveryYear: 'EVERY_YEAR'
|
|
5418
|
-
} as const;
|
|
5419
|
-
|
|
5420
|
-
export type RepeatRepeatEnum = typeof RepeatRepeatEnum[keyof typeof RepeatRepeatEnum];
|
|
5421
|
-
|
|
5422
5468
|
/**
|
|
5423
5469
|
*
|
|
5424
5470
|
* @export
|
|
@@ -5489,76 +5535,6 @@ export interface SendFriendshipRequestPayload {
|
|
|
5489
5535
|
*/
|
|
5490
5536
|
'to': string;
|
|
5491
5537
|
}
|
|
5492
|
-
/**
|
|
5493
|
-
*
|
|
5494
|
-
* @export
|
|
5495
|
-
* @interface ServiceEndRepeat
|
|
5496
|
-
*/
|
|
5497
|
-
export interface ServiceEndRepeat {
|
|
5498
|
-
/**
|
|
5499
|
-
* Start date for the events
|
|
5500
|
-
* @type {string}
|
|
5501
|
-
* @memberof ServiceEndRepeat
|
|
5502
|
-
*/
|
|
5503
|
-
'startDate': string;
|
|
5504
|
-
/**
|
|
5505
|
-
* End date for the events
|
|
5506
|
-
* @type {string}
|
|
5507
|
-
* @memberof ServiceEndRepeat
|
|
5508
|
-
*/
|
|
5509
|
-
'endDate': string;
|
|
5510
|
-
/**
|
|
5511
|
-
* Form
|
|
5512
|
-
* @type {string}
|
|
5513
|
-
* @memberof ServiceEndRepeat
|
|
5514
|
-
*/
|
|
5515
|
-
'from': string;
|
|
5516
|
-
/**
|
|
5517
|
-
* to
|
|
5518
|
-
* @type {string}
|
|
5519
|
-
* @memberof ServiceEndRepeat
|
|
5520
|
-
*/
|
|
5521
|
-
'to': string;
|
|
5522
|
-
/**
|
|
5523
|
-
*
|
|
5524
|
-
* @type {string}
|
|
5525
|
-
* @memberof ServiceEndRepeat
|
|
5526
|
-
*/
|
|
5527
|
-
'finalBookingTime': ServiceEndRepeatFinalBookingTimeEnum;
|
|
5528
|
-
/**
|
|
5529
|
-
* to
|
|
5530
|
-
* @type {string}
|
|
5531
|
-
* @memberof ServiceEndRepeat
|
|
5532
|
-
*/
|
|
5533
|
-
'time': string;
|
|
5534
|
-
/**
|
|
5535
|
-
*
|
|
5536
|
-
* @type {string}
|
|
5537
|
-
* @memberof ServiceEndRepeat
|
|
5538
|
-
*/
|
|
5539
|
-
'repeat': ServiceEndRepeatRepeatEnum;
|
|
5540
|
-
/**
|
|
5541
|
-
*
|
|
5542
|
-
* @type {string}
|
|
5543
|
-
* @memberof ServiceEndRepeat
|
|
5544
|
-
*/
|
|
5545
|
-
'repeatEndDate': string;
|
|
5546
|
-
}
|
|
5547
|
-
|
|
5548
|
-
export const ServiceEndRepeatFinalBookingTimeEnum = {
|
|
5549
|
-
_5HourBeforeEventStarts: '5 hour before event starts'
|
|
5550
|
-
} as const;
|
|
5551
|
-
|
|
5552
|
-
export type ServiceEndRepeatFinalBookingTimeEnum = typeof ServiceEndRepeatFinalBookingTimeEnum[keyof typeof ServiceEndRepeatFinalBookingTimeEnum];
|
|
5553
|
-
export const ServiceEndRepeatRepeatEnum = {
|
|
5554
|
-
None: 'NONE',
|
|
5555
|
-
EveryWeek: 'EVERY_WEEK',
|
|
5556
|
-
EveryMonth: 'EVERY_MONTH',
|
|
5557
|
-
EveryYear: 'EVERY_YEAR'
|
|
5558
|
-
} as const;
|
|
5559
|
-
|
|
5560
|
-
export type ServiceEndRepeatRepeatEnum = typeof ServiceEndRepeatRepeatEnum[keyof typeof ServiceEndRepeatRepeatEnum];
|
|
5561
|
-
|
|
5562
5538
|
/**
|
|
5563
5539
|
*
|
|
5564
5540
|
* @export
|
|
@@ -7163,6 +7139,42 @@ export interface WhatsOnDeleteResponseDTO {
|
|
|
7163
7139
|
* @interface WhatsOnEntity
|
|
7164
7140
|
*/
|
|
7165
7141
|
export interface WhatsOnEntity {
|
|
7142
|
+
/**
|
|
7143
|
+
* Is recurring event
|
|
7144
|
+
* @type {boolean}
|
|
7145
|
+
* @memberof WhatsOnEntity
|
|
7146
|
+
*/
|
|
7147
|
+
'isRecurring': boolean;
|
|
7148
|
+
/**
|
|
7149
|
+
* Duration in minutes
|
|
7150
|
+
* @type {number}
|
|
7151
|
+
* @memberof WhatsOnEntity
|
|
7152
|
+
*/
|
|
7153
|
+
'duration': number;
|
|
7154
|
+
/**
|
|
7155
|
+
* Repeat interval for event
|
|
7156
|
+
* @type {string}
|
|
7157
|
+
* @memberof WhatsOnEntity
|
|
7158
|
+
*/
|
|
7159
|
+
'repeat': WhatsOnEntityRepeatEnum;
|
|
7160
|
+
/**
|
|
7161
|
+
* Start date of an event
|
|
7162
|
+
* @type {string}
|
|
7163
|
+
* @memberof WhatsOnEntity
|
|
7164
|
+
*/
|
|
7165
|
+
'startDate': string;
|
|
7166
|
+
/**
|
|
7167
|
+
* End date of an event
|
|
7168
|
+
* @type {string}
|
|
7169
|
+
* @memberof WhatsOnEntity
|
|
7170
|
+
*/
|
|
7171
|
+
'endDate': string;
|
|
7172
|
+
/**
|
|
7173
|
+
* Recurrence pattern
|
|
7174
|
+
* @type {string}
|
|
7175
|
+
* @memberof WhatsOnEntity
|
|
7176
|
+
*/
|
|
7177
|
+
'pattern'?: string;
|
|
7166
7178
|
/**
|
|
7167
7179
|
* Event id
|
|
7168
7180
|
* @type {string}
|
|
@@ -7249,16 +7261,16 @@ export interface WhatsOnEntity {
|
|
|
7249
7261
|
'location'?: WhatsOnLocationDTO;
|
|
7250
7262
|
/**
|
|
7251
7263
|
*
|
|
7252
|
-
* @type {
|
|
7264
|
+
* @type {BookingRulesEntity}
|
|
7253
7265
|
* @memberof WhatsOnEntity
|
|
7254
7266
|
*/
|
|
7255
|
-
'
|
|
7267
|
+
'rules'?: BookingRulesEntity;
|
|
7256
7268
|
/**
|
|
7257
7269
|
*
|
|
7258
|
-
* @type {
|
|
7270
|
+
* @type {number}
|
|
7259
7271
|
* @memberof WhatsOnEntity
|
|
7260
7272
|
*/
|
|
7261
|
-
'
|
|
7273
|
+
'bookingFee': number;
|
|
7262
7274
|
/**
|
|
7263
7275
|
*
|
|
7264
7276
|
* @type {Array<string>}
|
|
@@ -7272,6 +7284,17 @@ export interface WhatsOnEntity {
|
|
|
7272
7284
|
*/
|
|
7273
7285
|
'favorite'?: number;
|
|
7274
7286
|
}
|
|
7287
|
+
|
|
7288
|
+
export const WhatsOnEntityRepeatEnum = {
|
|
7289
|
+
None: 'NONE',
|
|
7290
|
+
Daily: 'DAILY',
|
|
7291
|
+
Weekly: 'WEEKLY',
|
|
7292
|
+
Monthly: 'MONTHLY',
|
|
7293
|
+
Year: 'YEAR'
|
|
7294
|
+
} as const;
|
|
7295
|
+
|
|
7296
|
+
export type WhatsOnEntityRepeatEnum = typeof WhatsOnEntityRepeatEnum[keyof typeof WhatsOnEntityRepeatEnum];
|
|
7297
|
+
|
|
7275
7298
|
/**
|
|
7276
7299
|
*
|
|
7277
7300
|
* @export
|
|
@@ -7474,6 +7497,36 @@ export interface WhatsOnLocationMetaDTO {
|
|
|
7474
7497
|
* @interface WhatsOnPayloadDTO
|
|
7475
7498
|
*/
|
|
7476
7499
|
export interface WhatsOnPayloadDTO {
|
|
7500
|
+
/**
|
|
7501
|
+
* Start date of event
|
|
7502
|
+
* @type {string}
|
|
7503
|
+
* @memberof WhatsOnPayloadDTO
|
|
7504
|
+
*/
|
|
7505
|
+
'startDate': string;
|
|
7506
|
+
/**
|
|
7507
|
+
* End date of event
|
|
7508
|
+
* @type {string}
|
|
7509
|
+
* @memberof WhatsOnPayloadDTO
|
|
7510
|
+
*/
|
|
7511
|
+
'endDate': string;
|
|
7512
|
+
/**
|
|
7513
|
+
* Start hour of an event
|
|
7514
|
+
* @type {string}
|
|
7515
|
+
* @memberof WhatsOnPayloadDTO
|
|
7516
|
+
*/
|
|
7517
|
+
'from': string;
|
|
7518
|
+
/**
|
|
7519
|
+
* End hour of an event
|
|
7520
|
+
* @type {string}
|
|
7521
|
+
* @memberof WhatsOnPayloadDTO
|
|
7522
|
+
*/
|
|
7523
|
+
'to': string;
|
|
7524
|
+
/**
|
|
7525
|
+
*
|
|
7526
|
+
* @type {string}
|
|
7527
|
+
* @memberof WhatsOnPayloadDTO
|
|
7528
|
+
*/
|
|
7529
|
+
'repeat': WhatsOnPayloadDTORepeatEnum;
|
|
7477
7530
|
/**
|
|
7478
7531
|
* Event name
|
|
7479
7532
|
* @type {string}
|
|
@@ -7492,6 +7545,12 @@ export interface WhatsOnPayloadDTO {
|
|
|
7492
7545
|
* @memberof WhatsOnPayloadDTO
|
|
7493
7546
|
*/
|
|
7494
7547
|
'price': number;
|
|
7548
|
+
/**
|
|
7549
|
+
* Booking rules
|
|
7550
|
+
* @type {BookingRulesPayloadDTO}
|
|
7551
|
+
* @memberof WhatsOnPayloadDTO
|
|
7552
|
+
*/
|
|
7553
|
+
'rules': BookingRulesPayloadDTO;
|
|
7495
7554
|
/**
|
|
7496
7555
|
*
|
|
7497
7556
|
* @type {number}
|
|
@@ -7552,12 +7611,6 @@ export interface WhatsOnPayloadDTO {
|
|
|
7552
7611
|
* @memberof WhatsOnPayloadDTO
|
|
7553
7612
|
*/
|
|
7554
7613
|
'location'?: WhatsOnLocationDTO;
|
|
7555
|
-
/**
|
|
7556
|
-
*
|
|
7557
|
-
* @type {Repeat}
|
|
7558
|
-
* @memberof WhatsOnPayloadDTO
|
|
7559
|
-
*/
|
|
7560
|
-
'repeat'?: Repeat;
|
|
7561
7614
|
/**
|
|
7562
7615
|
*
|
|
7563
7616
|
* @type {Array<Discount>}
|
|
@@ -7565,6 +7618,17 @@ export interface WhatsOnPayloadDTO {
|
|
|
7565
7618
|
*/
|
|
7566
7619
|
'discounts'?: Array<Discount>;
|
|
7567
7620
|
}
|
|
7621
|
+
|
|
7622
|
+
export const WhatsOnPayloadDTORepeatEnum = {
|
|
7623
|
+
None: 'NONE',
|
|
7624
|
+
Daily: 'DAILY',
|
|
7625
|
+
Weekly: 'WEEKLY',
|
|
7626
|
+
Monthly: 'MONTHLY',
|
|
7627
|
+
Year: 'YEAR'
|
|
7628
|
+
} as const;
|
|
7629
|
+
|
|
7630
|
+
export type WhatsOnPayloadDTORepeatEnum = typeof WhatsOnPayloadDTORepeatEnum[keyof typeof WhatsOnPayloadDTORepeatEnum];
|
|
7631
|
+
|
|
7568
7632
|
/**
|
|
7569
7633
|
*
|
|
7570
7634
|
* @export
|