@gooday_corp/gooday-api-client 1.2.75-beta → 1.2.78

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.
@@ -1 +1 @@
1
- 7.10.0
1
+ 7.11.0
package/api.ts CHANGED
@@ -447,41 +447,47 @@ export interface BlockoutDeleteResponseDTO {
447
447
  */
448
448
  export interface BlockoutEntity {
449
449
  /**
450
- * Event id
451
- * @type {string}
450
+ * Is recurring event
451
+ * @type {boolean}
452
452
  * @memberof BlockoutEntity
453
453
  */
454
- '_id': string;
454
+ 'isRecurring': boolean;
455
455
  /**
456
- * Event name
457
- * @type {string}
456
+ * Duration in minutes
457
+ * @type {number}
458
458
  * @memberof BlockoutEntity
459
459
  */
460
- 'title': string;
460
+ 'duration': number;
461
461
  /**
462
- * Start date for the events
462
+ * Start date of an event
463
463
  * @type {string}
464
464
  * @memberof BlockoutEntity
465
465
  */
466
466
  'startDate': string;
467
467
  /**
468
- * End date for the events
468
+ * End date of an event
469
469
  * @type {string}
470
470
  * @memberof BlockoutEntity
471
471
  */
472
472
  'endDate': string;
473
473
  /**
474
- *
474
+ * Recurrence pattern
475
475
  * @type {string}
476
476
  * @memberof BlockoutEntity
477
477
  */
478
- 'repeat': BlockoutEntityRepeatEnum;
478
+ 'pattern'?: string;
479
479
  /**
480
- * Repeat end date for the blockout
480
+ * Event id
481
+ * @type {string}
482
+ * @memberof BlockoutEntity
483
+ */
484
+ '_id': string;
485
+ /**
486
+ * Event name
481
487
  * @type {string}
482
488
  * @memberof BlockoutEntity
483
489
  */
484
- 'endDateRepeat': string;
490
+ 'title': string;
485
491
  /**
486
492
  *
487
493
  * @type {Array<BusinessVenueDetailsEntity>}
@@ -494,29 +500,7 @@ export interface BlockoutEntity {
494
500
  * @memberof BlockoutEntity
495
501
  */
496
502
  '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
503
  }
510
-
511
- export const BlockoutEntityRepeatEnum = {
512
- None: 'NONE',
513
- EveryWeek: 'EVERY_WEEK',
514
- EveryMonth: 'EVERY_MONTH',
515
- EveryYear: 'EVERY_YEAR'
516
- } as const;
517
-
518
- export type BlockoutEntityRepeatEnum = typeof BlockoutEntityRepeatEnum[keyof typeof BlockoutEntityRepeatEnum];
519
-
520
504
  /**
521
505
  *
522
506
  * @export
@@ -524,60 +508,55 @@ export type BlockoutEntityRepeatEnum = typeof BlockoutEntityRepeatEnum[keyof typ
524
508
  */
525
509
  export interface BlockoutPayloadDTO {
526
510
  /**
527
- * Event name
528
- * @type {string}
529
- * @memberof BlockoutPayloadDTO
530
- */
531
- 'title': string;
532
- /**
533
- * Start date for the blockout
511
+ * Start date of event
534
512
  * @type {string}
535
513
  * @memberof BlockoutPayloadDTO
536
514
  */
537
515
  'startDate': string;
538
516
  /**
539
- * End date for the blockout
517
+ * End date of event
540
518
  * @type {string}
541
519
  * @memberof BlockoutPayloadDTO
542
520
  */
543
521
  'endDate': string;
544
522
  /**
545
- *
523
+ * Start hour of an event
546
524
  * @type {string}
547
525
  * @memberof BlockoutPayloadDTO
548
526
  */
549
- 'repeat': BlockoutPayloadDTORepeatEnum;
527
+ 'from': string;
550
528
  /**
551
- * Repeat end date for the events
529
+ * End hour of an event
552
530
  * @type {string}
553
531
  * @memberof BlockoutPayloadDTO
554
532
  */
555
- 'endDateRepeat': string;
533
+ 'to': string;
556
534
  /**
557
- * Business venue
558
- * @type {Array<string>}
535
+ *
536
+ * @type {string}
559
537
  * @memberof BlockoutPayloadDTO
560
538
  */
561
- 'venue': Array<string>;
539
+ 'repeat': BlockoutPayloadDTORepeatEnum;
562
540
  /**
563
- * Form
541
+ * Name of block
564
542
  * @type {string}
565
543
  * @memberof BlockoutPayloadDTO
566
544
  */
567
- 'from': string;
545
+ 'title': string;
568
546
  /**
569
- * to
547
+ * Business Venue Id
570
548
  * @type {string}
571
549
  * @memberof BlockoutPayloadDTO
572
550
  */
573
- 'to': string;
551
+ 'venue': string;
574
552
  }
575
553
 
576
554
  export const BlockoutPayloadDTORepeatEnum = {
577
555
  None: 'NONE',
578
- EveryWeek: 'EVERY_WEEK',
579
- EveryMonth: 'EVERY_MONTH',
580
- EveryYear: 'EVERY_YEAR'
556
+ Daily: 'DAILY',
557
+ Weekly: 'WEEKLY',
558
+ Monthly: 'MONTHLY',
559
+ Year: 'YEAR'
581
560
  } as const;
582
561
 
583
562
  export type BlockoutPayloadDTORepeatEnum = typeof BlockoutPayloadDTORepeatEnum[keyof typeof BlockoutPayloadDTORepeatEnum];
@@ -2032,6 +2011,12 @@ export interface BusinessVenueDetailsEntity {
2032
2011
  * @memberof BusinessVenueDetailsEntity
2033
2012
  */
2034
2013
  'currentTime'?: BusinessTiming;
2014
+ /**
2015
+ *
2016
+ * @type {number}
2017
+ * @memberof BusinessVenueDetailsEntity
2018
+ */
2019
+ 'favoriteCount': number;
2035
2020
  }
2036
2021
  /**
2037
2022
  *
@@ -2450,6 +2435,12 @@ export interface CreateBookingPayload {
2450
2435
  * @memberof CreateBookingPayload
2451
2436
  */
2452
2437
  'venue': string;
2438
+ /**
2439
+ *
2440
+ * @type {string}
2441
+ * @memberof CreateBookingPayload
2442
+ */
2443
+ 'whatsOn'?: string;
2453
2444
  /**
2454
2445
  * The business associated with the booking
2455
2446
  * @type {string}
@@ -2528,12 +2519,6 @@ export interface CreateBookingPayload {
2528
2519
  * @memberof CreateBookingPayload
2529
2520
  */
2530
2521
  'paymentMethod': StripeSetupIntentPaymentResponse;
2531
- /**
2532
- *
2533
- * @type {string}
2534
- * @memberof CreateBookingPayload
2535
- */
2536
- 'whatsOn': string;
2537
2522
  }
2538
2523
  /**
2539
2524
  *
@@ -3413,13 +3398,13 @@ export const FindBookingPayloadViewEnum = {
3413
3398
 
3414
3399
  export type FindBookingPayloadViewEnum = typeof FindBookingPayloadViewEnum[keyof typeof FindBookingPayloadViewEnum];
3415
3400
  export const FindBookingPayloadStatusEnum = {
3416
- Booking: 'BOOKING',
3417
- Shared: 'SHARED',
3418
- Invites: 'INVITES',
3401
+ CheckedIn: 'CHECKED_IN',
3402
+ Confirmed: 'CONFIRMED',
3419
3403
  Unconfirmed: 'UNCONFIRMED',
3420
3404
  Rescheduled: 'RESCHEDULED',
3421
- Confirmed: 'CONFIRMED',
3422
- CheckIn: 'CHECK_IN'
3405
+ NoShow: 'NO_SHOW',
3406
+ Rejected: 'REJECTED',
3407
+ Cancelled: 'CANCELLED'
3423
3408
  } as const;
3424
3409
 
3425
3410
  export type FindBookingPayloadStatusEnum = typeof FindBookingPayloadStatusEnum[keyof typeof FindBookingPayloadStatusEnum];
@@ -4794,6 +4779,25 @@ export interface PlanUpsertPayloadDTO {
4794
4779
  */
4795
4780
  'plan': string;
4796
4781
  }
4782
+ /**
4783
+ *
4784
+ * @export
4785
+ * @interface PrepaidServiceCapacityDTO
4786
+ */
4787
+ export interface PrepaidServiceCapacityDTO {
4788
+ /**
4789
+ * Time duration
4790
+ * @type {TimeDuration}
4791
+ * @memberof PrepaidServiceCapacityDTO
4792
+ */
4793
+ 'time': TimeDuration;
4794
+ /**
4795
+ * Capacity
4796
+ * @type {number}
4797
+ * @memberof PrepaidServiceCapacityDTO
4798
+ */
4799
+ 'capacity': number;
4800
+ }
4797
4801
  /**
4798
4802
  *
4799
4803
  * @export
@@ -4863,6 +4867,36 @@ export interface PrepaidServiceDiscount {
4863
4867
  * @interface PrepaidServiceEntity
4864
4868
  */
4865
4869
  export interface PrepaidServiceEntity {
4870
+ /**
4871
+ * Is recurring event
4872
+ * @type {boolean}
4873
+ * @memberof PrepaidServiceEntity
4874
+ */
4875
+ 'isRecurring': boolean;
4876
+ /**
4877
+ * Duration in minutes
4878
+ * @type {number}
4879
+ * @memberof PrepaidServiceEntity
4880
+ */
4881
+ 'duration': number;
4882
+ /**
4883
+ * Start date of an event
4884
+ * @type {string}
4885
+ * @memberof PrepaidServiceEntity
4886
+ */
4887
+ 'startDate': string;
4888
+ /**
4889
+ * End date of an event
4890
+ * @type {string}
4891
+ * @memberof PrepaidServiceEntity
4892
+ */
4893
+ 'endDate': string;
4894
+ /**
4895
+ * Recurrence pattern
4896
+ * @type {string}
4897
+ * @memberof PrepaidServiceEntity
4898
+ */
4899
+ 'pattern'?: string;
4866
4900
  /**
4867
4901
  * Tag id
4868
4902
  * @type {string}
@@ -4883,10 +4917,10 @@ export interface PrepaidServiceEntity {
4883
4917
  'category': string;
4884
4918
  /**
4885
4919
  *
4886
- * @type {Array<PrepaidServiceTimeDuration>}
4920
+ * @type {Array<PrepaidServiceCapacityDTO>}
4887
4921
  * @memberof PrepaidServiceEntity
4888
4922
  */
4889
- 'duration': Array<PrepaidServiceTimeDuration>;
4923
+ 'capacity': Array<PrepaidServiceCapacityDTO>;
4890
4924
  /**
4891
4925
  *
4892
4926
  * @type {boolean}
@@ -4929,12 +4963,6 @@ export interface PrepaidServiceEntity {
4929
4963
  * @memberof PrepaidServiceEntity
4930
4964
  */
4931
4965
  'business': string;
4932
- /**
4933
- *
4934
- * @type {ServiceEndRepeat}
4935
- * @memberof PrepaidServiceEntity
4936
- */
4937
- 'repeat': ServiceEndRepeat;
4938
4966
  /**
4939
4967
  *
4940
4968
  * @type {number}
@@ -5022,23 +5050,47 @@ export interface PrepaidServiceFindDTO {
5022
5050
  */
5023
5051
  export interface PrepaidServicePayloadDTO {
5024
5052
  /**
5025
- * Service name
5053
+ * Start date of event
5026
5054
  * @type {string}
5027
5055
  * @memberof PrepaidServicePayloadDTO
5028
5056
  */
5029
- 'name': string;
5057
+ 'startDate': string;
5030
5058
  /**
5031
- * Category
5059
+ * End date of event
5032
5060
  * @type {string}
5033
5061
  * @memberof PrepaidServicePayloadDTO
5034
5062
  */
5035
- 'category': string;
5063
+ 'endDate': string;
5064
+ /**
5065
+ * Start hour of an event
5066
+ * @type {string}
5067
+ * @memberof PrepaidServicePayloadDTO
5068
+ */
5069
+ 'from': string;
5070
+ /**
5071
+ * End hour of an event
5072
+ * @type {string}
5073
+ * @memberof PrepaidServicePayloadDTO
5074
+ */
5075
+ 'to': string;
5036
5076
  /**
5037
5077
  *
5038
- * @type {number}
5078
+ * @type {string}
5039
5079
  * @memberof PrepaidServicePayloadDTO
5040
5080
  */
5041
- 'capacity': number;
5081
+ 'repeat': PrepaidServicePayloadDTORepeatEnum;
5082
+ /**
5083
+ * Service name
5084
+ * @type {string}
5085
+ * @memberof PrepaidServicePayloadDTO
5086
+ */
5087
+ 'name': string;
5088
+ /**
5089
+ * Category
5090
+ * @type {string}
5091
+ * @memberof PrepaidServicePayloadDTO
5092
+ */
5093
+ 'category': string;
5042
5094
  /**
5043
5095
  *
5044
5096
  * @type {boolean}
@@ -5105,12 +5157,6 @@ export interface PrepaidServicePayloadDTO {
5105
5157
  * @memberof PrepaidServicePayloadDTO
5106
5158
  */
5107
5159
  'email': string;
5108
- /**
5109
- *
5110
- * @type {ServiceEndRepeat}
5111
- * @memberof PrepaidServicePayloadDTO
5112
- */
5113
- 'repeat'?: ServiceEndRepeat;
5114
5160
  /**
5115
5161
  *
5116
5162
  * @type {Array<PrepaidServiceDiscount>}
@@ -5119,10 +5165,10 @@ export interface PrepaidServicePayloadDTO {
5119
5165
  'discounts': Array<PrepaidServiceDiscount>;
5120
5166
  /**
5121
5167
  *
5122
- * @type {Array<PrepaidServiceTimeDuration>}
5168
+ * @type {Array<PrepaidServiceCapacityDTO>}
5123
5169
  * @memberof PrepaidServicePayloadDTO
5124
5170
  */
5125
- 'duration': Array<PrepaidServiceTimeDuration>;
5171
+ 'capacity': Array<PrepaidServiceCapacityDTO>;
5126
5172
  /**
5127
5173
  *
5128
5174
  * @type {number}
@@ -5136,6 +5182,17 @@ export interface PrepaidServicePayloadDTO {
5136
5182
  */
5137
5183
  'cancellationHours': string;
5138
5184
  }
5185
+
5186
+ export const PrepaidServicePayloadDTORepeatEnum = {
5187
+ None: 'NONE',
5188
+ Daily: 'DAILY',
5189
+ Weekly: 'WEEKLY',
5190
+ Monthly: 'MONTHLY',
5191
+ Year: 'YEAR'
5192
+ } as const;
5193
+
5194
+ export type PrepaidServicePayloadDTORepeatEnum = typeof PrepaidServicePayloadDTORepeatEnum[keyof typeof PrepaidServicePayloadDTORepeatEnum];
5195
+
5139
5196
  /**
5140
5197
  *
5141
5198
  * @export
@@ -5155,25 +5212,6 @@ export interface PrepaidServiceResponseDTO {
5155
5212
  */
5156
5213
  'statusCode': number;
5157
5214
  }
5158
- /**
5159
- *
5160
- * @export
5161
- * @interface PrepaidServiceTimeDuration
5162
- */
5163
- export interface PrepaidServiceTimeDuration {
5164
- /**
5165
- * Time duration
5166
- * @type {TimeDuration}
5167
- * @memberof PrepaidServiceTimeDuration
5168
- */
5169
- 'time': TimeDuration;
5170
- /**
5171
- * Capacity
5172
- * @type {number}
5173
- * @memberof PrepaidServiceTimeDuration
5174
- */
5175
- 'capacity': number;
5176
- }
5177
5215
  /**
5178
5216
  *
5179
5217
  * @export
@@ -5343,76 +5381,6 @@ export interface RenameCalendarPayload {
5343
5381
  */
5344
5382
  'name': string;
5345
5383
  }
5346
- /**
5347
- *
5348
- * @export
5349
- * @interface Repeat
5350
- */
5351
- export interface Repeat {
5352
- /**
5353
- * Start date for the events
5354
- * @type {string}
5355
- * @memberof Repeat
5356
- */
5357
- 'startDate': string;
5358
- /**
5359
- * End date for the events
5360
- * @type {string}
5361
- * @memberof Repeat
5362
- */
5363
- 'endDate': string;
5364
- /**
5365
- * Form
5366
- * @type {string}
5367
- * @memberof Repeat
5368
- */
5369
- 'from': string;
5370
- /**
5371
- * to
5372
- * @type {string}
5373
- * @memberof Repeat
5374
- */
5375
- 'to': string;
5376
- /**
5377
- *
5378
- * @type {string}
5379
- * @memberof Repeat
5380
- */
5381
- 'finalBookingTime': RepeatFinalBookingTimeEnum;
5382
- /**
5383
- * to
5384
- * @type {string}
5385
- * @memberof Repeat
5386
- */
5387
- 'time': string;
5388
- /**
5389
- *
5390
- * @type {string}
5391
- * @memberof Repeat
5392
- */
5393
- 'repeat': RepeatRepeatEnum;
5394
- /**
5395
- *
5396
- * @type {string}
5397
- * @memberof Repeat
5398
- */
5399
- 'repeatEndDate': string;
5400
- }
5401
-
5402
- export const RepeatFinalBookingTimeEnum = {
5403
- _5HourBeforeEventStarts: '5 hour before event starts'
5404
- } as const;
5405
-
5406
- export type RepeatFinalBookingTimeEnum = typeof RepeatFinalBookingTimeEnum[keyof typeof RepeatFinalBookingTimeEnum];
5407
- export const RepeatRepeatEnum = {
5408
- None: 'NONE',
5409
- EveryWeek: 'EVERY_WEEK',
5410
- EveryMonth: 'EVERY_MONTH',
5411
- EveryYear: 'EVERY_YEAR'
5412
- } as const;
5413
-
5414
- export type RepeatRepeatEnum = typeof RepeatRepeatEnum[keyof typeof RepeatRepeatEnum];
5415
-
5416
5384
  /**
5417
5385
  *
5418
5386
  * @export
@@ -5483,76 +5451,6 @@ export interface SendFriendshipRequestPayload {
5483
5451
  */
5484
5452
  'to': string;
5485
5453
  }
5486
- /**
5487
- *
5488
- * @export
5489
- * @interface ServiceEndRepeat
5490
- */
5491
- export interface ServiceEndRepeat {
5492
- /**
5493
- * Start date for the events
5494
- * @type {string}
5495
- * @memberof ServiceEndRepeat
5496
- */
5497
- 'startDate': string;
5498
- /**
5499
- * End date for the events
5500
- * @type {string}
5501
- * @memberof ServiceEndRepeat
5502
- */
5503
- 'endDate': string;
5504
- /**
5505
- * Form
5506
- * @type {string}
5507
- * @memberof ServiceEndRepeat
5508
- */
5509
- 'from': string;
5510
- /**
5511
- * to
5512
- * @type {string}
5513
- * @memberof ServiceEndRepeat
5514
- */
5515
- 'to': string;
5516
- /**
5517
- *
5518
- * @type {string}
5519
- * @memberof ServiceEndRepeat
5520
- */
5521
- 'finalBookingTime': ServiceEndRepeatFinalBookingTimeEnum;
5522
- /**
5523
- * to
5524
- * @type {string}
5525
- * @memberof ServiceEndRepeat
5526
- */
5527
- 'time': string;
5528
- /**
5529
- *
5530
- * @type {string}
5531
- * @memberof ServiceEndRepeat
5532
- */
5533
- 'repeat': ServiceEndRepeatRepeatEnum;
5534
- /**
5535
- *
5536
- * @type {string}
5537
- * @memberof ServiceEndRepeat
5538
- */
5539
- 'repeatEndDate': string;
5540
- }
5541
-
5542
- export const ServiceEndRepeatFinalBookingTimeEnum = {
5543
- _5HourBeforeEventStarts: '5 hour before event starts'
5544
- } as const;
5545
-
5546
- export type ServiceEndRepeatFinalBookingTimeEnum = typeof ServiceEndRepeatFinalBookingTimeEnum[keyof typeof ServiceEndRepeatFinalBookingTimeEnum];
5547
- export const ServiceEndRepeatRepeatEnum = {
5548
- None: 'NONE',
5549
- EveryWeek: 'EVERY_WEEK',
5550
- EveryMonth: 'EVERY_MONTH',
5551
- EveryYear: 'EVERY_YEAR'
5552
- } as const;
5553
-
5554
- export type ServiceEndRepeatRepeatEnum = typeof ServiceEndRepeatRepeatEnum[keyof typeof ServiceEndRepeatRepeatEnum];
5555
-
5556
5454
  /**
5557
5455
  *
5558
5456
  * @export
@@ -6752,13 +6650,19 @@ export interface UserSyncDTO {
6752
6650
  * @type {Array<number>}
6753
6651
  * @memberof UserSyncDTO
6754
6652
  */
6755
- 'location': Array<number>;
6653
+ 'location'?: Array<number>;
6756
6654
  /**
6757
6655
  * Timezone
6758
6656
  * @type {string}
6759
6657
  * @memberof UserSyncDTO
6760
6658
  */
6761
6659
  'timezone'?: string;
6660
+ /**
6661
+ * User permissions
6662
+ * @type {UserPermissionDTO}
6663
+ * @memberof UserSyncDTO
6664
+ */
6665
+ 'permissions'?: UserPermissionDTO;
6762
6666
  }
6763
6667
  /**
6764
6668
  *
@@ -7157,6 +7061,36 @@ export interface WhatsOnDeleteResponseDTO {
7157
7061
  * @interface WhatsOnEntity
7158
7062
  */
7159
7063
  export interface WhatsOnEntity {
7064
+ /**
7065
+ * Is recurring event
7066
+ * @type {boolean}
7067
+ * @memberof WhatsOnEntity
7068
+ */
7069
+ 'isRecurring': boolean;
7070
+ /**
7071
+ * Duration in minutes
7072
+ * @type {number}
7073
+ * @memberof WhatsOnEntity
7074
+ */
7075
+ 'duration': number;
7076
+ /**
7077
+ * Start date of an event
7078
+ * @type {string}
7079
+ * @memberof WhatsOnEntity
7080
+ */
7081
+ 'startDate': string;
7082
+ /**
7083
+ * End date of an event
7084
+ * @type {string}
7085
+ * @memberof WhatsOnEntity
7086
+ */
7087
+ 'endDate': string;
7088
+ /**
7089
+ * Recurrence pattern
7090
+ * @type {string}
7091
+ * @memberof WhatsOnEntity
7092
+ */
7093
+ 'pattern'?: string;
7160
7094
  /**
7161
7095
  * Event id
7162
7096
  * @type {string}
@@ -7247,12 +7181,6 @@ export interface WhatsOnEntity {
7247
7181
  * @memberof WhatsOnEntity
7248
7182
  */
7249
7183
  'bookingFee': number;
7250
- /**
7251
- *
7252
- * @type {Repeat}
7253
- * @memberof WhatsOnEntity
7254
- */
7255
- 'repeat': Repeat;
7256
7184
  /**
7257
7185
  *
7258
7186
  * @type {Array<string>}
@@ -7468,6 +7396,36 @@ export interface WhatsOnLocationMetaDTO {
7468
7396
  * @interface WhatsOnPayloadDTO
7469
7397
  */
7470
7398
  export interface WhatsOnPayloadDTO {
7399
+ /**
7400
+ * Start date of event
7401
+ * @type {string}
7402
+ * @memberof WhatsOnPayloadDTO
7403
+ */
7404
+ 'startDate': string;
7405
+ /**
7406
+ * End date of event
7407
+ * @type {string}
7408
+ * @memberof WhatsOnPayloadDTO
7409
+ */
7410
+ 'endDate': string;
7411
+ /**
7412
+ * Start hour of an event
7413
+ * @type {string}
7414
+ * @memberof WhatsOnPayloadDTO
7415
+ */
7416
+ 'from': string;
7417
+ /**
7418
+ * End hour of an event
7419
+ * @type {string}
7420
+ * @memberof WhatsOnPayloadDTO
7421
+ */
7422
+ 'to': string;
7423
+ /**
7424
+ *
7425
+ * @type {string}
7426
+ * @memberof WhatsOnPayloadDTO
7427
+ */
7428
+ 'repeat': WhatsOnPayloadDTORepeatEnum;
7471
7429
  /**
7472
7430
  * Event name
7473
7431
  * @type {string}
@@ -7546,12 +7504,6 @@ export interface WhatsOnPayloadDTO {
7546
7504
  * @memberof WhatsOnPayloadDTO
7547
7505
  */
7548
7506
  'location'?: WhatsOnLocationDTO;
7549
- /**
7550
- *
7551
- * @type {Repeat}
7552
- * @memberof WhatsOnPayloadDTO
7553
- */
7554
- 'repeat'?: Repeat;
7555
7507
  /**
7556
7508
  *
7557
7509
  * @type {Array<Discount>}
@@ -7559,6 +7511,17 @@ export interface WhatsOnPayloadDTO {
7559
7511
  */
7560
7512
  'discounts'?: Array<Discount>;
7561
7513
  }
7514
+
7515
+ export const WhatsOnPayloadDTORepeatEnum = {
7516
+ None: 'NONE',
7517
+ Daily: 'DAILY',
7518
+ Weekly: 'WEEKLY',
7519
+ Monthly: 'MONTHLY',
7520
+ Year: 'YEAR'
7521
+ } as const;
7522
+
7523
+ export type WhatsOnPayloadDTORepeatEnum = typeof WhatsOnPayloadDTORepeatEnum[keyof typeof WhatsOnPayloadDTORepeatEnum];
7524
+
7562
7525
  /**
7563
7526
  *
7564
7527
  * @export
@@ -13247,10 +13210,11 @@ export const FriendsApiAxiosParamCreator = function (configuration?: Configurati
13247
13210
  * @param {number} pageSize
13248
13211
  * @param {string} [search]
13249
13212
  * @param {string} [calendar]
13213
+ * @param {string} [user]
13250
13214
  * @param {*} [options] Override http request option.
13251
13215
  * @throws {RequiredError}
13252
13216
  */
13253
- friendControllerListMyFriends: async (page: number, pageSize: number, search?: string, calendar?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
13217
+ friendControllerListMyFriends: async (page: number, pageSize: number, search?: string, calendar?: string, user?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
13254
13218
  // verify required parameter 'page' is not null or undefined
13255
13219
  assertParamExists('friendControllerListMyFriends', 'page', page)
13256
13220
  // verify required parameter 'pageSize' is not null or undefined
@@ -13287,6 +13251,10 @@ export const FriendsApiAxiosParamCreator = function (configuration?: Configurati
13287
13251
  localVarQueryParameter['calendar'] = calendar;
13288
13252
  }
13289
13253
 
13254
+ if (user !== undefined) {
13255
+ localVarQueryParameter['user'] = user;
13256
+ }
13257
+
13290
13258
 
13291
13259
 
13292
13260
  setSearchParams(localVarUrlObj, localVarQueryParameter);
@@ -13475,11 +13443,12 @@ export const FriendsApiFp = function(configuration?: Configuration) {
13475
13443
  * @param {number} pageSize
13476
13444
  * @param {string} [search]
13477
13445
  * @param {string} [calendar]
13446
+ * @param {string} [user]
13478
13447
  * @param {*} [options] Override http request option.
13479
13448
  * @throws {RequiredError}
13480
13449
  */
13481
- async friendControllerListMyFriends(page: number, pageSize: number, search?: string, calendar?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<FriendsDTO>> {
13482
- const localVarAxiosArgs = await localVarAxiosParamCreator.friendControllerListMyFriends(page, pageSize, search, calendar, options);
13450
+ async friendControllerListMyFriends(page: number, pageSize: number, search?: string, calendar?: string, user?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<FriendsDTO>> {
13451
+ const localVarAxiosArgs = await localVarAxiosParamCreator.friendControllerListMyFriends(page, pageSize, search, calendar, user, options);
13483
13452
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
13484
13453
  const localVarOperationServerBasePath = operationServerMap['FriendsApi.friendControllerListMyFriends']?.[localVarOperationServerIndex]?.url;
13485
13454
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
@@ -13573,11 +13542,12 @@ export const FriendsApiFactory = function (configuration?: Configuration, basePa
13573
13542
  * @param {number} pageSize
13574
13543
  * @param {string} [search]
13575
13544
  * @param {string} [calendar]
13545
+ * @param {string} [user]
13576
13546
  * @param {*} [options] Override http request option.
13577
13547
  * @throws {RequiredError}
13578
13548
  */
13579
- friendControllerListMyFriends(page: number, pageSize: number, search?: string, calendar?: string, options?: RawAxiosRequestConfig): AxiosPromise<FriendsDTO> {
13580
- return localVarFp.friendControllerListMyFriends(page, pageSize, search, calendar, options).then((request) => request(axios, basePath));
13549
+ friendControllerListMyFriends(page: number, pageSize: number, search?: string, calendar?: string, user?: string, options?: RawAxiosRequestConfig): AxiosPromise<FriendsDTO> {
13550
+ return localVarFp.friendControllerListMyFriends(page, pageSize, search, calendar, user, options).then((request) => request(axios, basePath));
13581
13551
  },
13582
13552
  /**
13583
13553
  *
@@ -13667,12 +13637,13 @@ export class FriendsApi extends BaseAPI {
13667
13637
  * @param {number} pageSize
13668
13638
  * @param {string} [search]
13669
13639
  * @param {string} [calendar]
13640
+ * @param {string} [user]
13670
13641
  * @param {*} [options] Override http request option.
13671
13642
  * @throws {RequiredError}
13672
13643
  * @memberof FriendsApi
13673
13644
  */
13674
- public friendControllerListMyFriends(page: number, pageSize: number, search?: string, calendar?: string, options?: RawAxiosRequestConfig) {
13675
- return FriendsApiFp(this.configuration).friendControllerListMyFriends(page, pageSize, search, calendar, options).then((request) => request(this.axios, this.basePath));
13645
+ public friendControllerListMyFriends(page: number, pageSize: number, search?: string, calendar?: string, user?: string, options?: RawAxiosRequestConfig) {
13646
+ return FriendsApiFp(this.configuration).friendControllerListMyFriends(page, pageSize, search, calendar, user, options).then((request) => request(this.axios, this.basePath));
13676
13647
  }
13677
13648
 
13678
13649
  /**
package/configuration.ts CHANGED
@@ -89,7 +89,13 @@ export class Configuration {
89
89
  this.accessToken = param.accessToken;
90
90
  this.basePath = param.basePath;
91
91
  this.serverIndex = param.serverIndex;
92
- this.baseOptions = param.baseOptions;
92
+ this.baseOptions = {
93
+ headers: {
94
+ ...param.baseOptions?.headers,
95
+ 'User-Agent': "OpenAPI-Generator/typescript-axios"
96
+ },
97
+ ...param.baseOptions
98
+ };
93
99
  this.formDataCtor = param.formDataCtor;
94
100
  }
95
101
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gooday_corp/gooday-api-client",
3
- "version": "1.2.75-beta",
3
+ "version": "1.2.78",
4
4
  "description": "API client for Gooday",
5
5
  "main": "index.ts",
6
6
  "scripts": {},