@gooday_corp/gooday-api-client 1.1.26 → 1.1.27-delta

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.
Files changed (2) hide show
  1. package/api.ts +2955 -645
  2. package/package.json +1 -1
package/api.ts CHANGED
@@ -23,6 +23,45 @@ import type { RequestArgs } from './base';
23
23
  // @ts-ignore
24
24
  import { BASE_PATH, COLLECTION_FORMATS, BaseAPI, RequiredError, operationServerMap } from './base';
25
25
 
26
+ /**
27
+ *
28
+ * @export
29
+ * @interface AcceptBookingInvitePayload
30
+ */
31
+ export interface AcceptBookingInvitePayload {
32
+ /**
33
+ * ID of the booking
34
+ * @type {string}
35
+ * @memberof AcceptBookingInvitePayload
36
+ */
37
+ 'booking': string;
38
+ }
39
+ /**
40
+ *
41
+ * @export
42
+ * @interface AcceptCollaborateInvitePayload
43
+ */
44
+ export interface AcceptCollaborateInvitePayload {
45
+ /**
46
+ * The calendar identifier
47
+ * @type {string}
48
+ * @memberof AcceptCollaborateInvitePayload
49
+ */
50
+ 'calendar': string;
51
+ }
52
+ /**
53
+ *
54
+ * @export
55
+ * @interface AcceptEventInvitePayload
56
+ */
57
+ export interface AcceptEventInvitePayload {
58
+ /**
59
+ * ID of the event
60
+ * @type {string}
61
+ * @memberof AcceptEventInvitePayload
62
+ */
63
+ 'event': string;
64
+ }
26
65
  /**
27
66
  *
28
67
  * @export
@@ -60,6 +99,19 @@ export interface AddDevicePayload {
60
99
  */
61
100
  'version': string;
62
101
  }
102
+ /**
103
+ *
104
+ * @export
105
+ * @interface ApproveFriendshipRequestPayload
106
+ */
107
+ export interface ApproveFriendshipRequestPayload {
108
+ /**
109
+ *
110
+ * @type {string}
111
+ * @memberof ApproveFriendshipRequestPayload
112
+ */
113
+ 'from': string;
114
+ }
63
115
  /**
64
116
  *
65
117
  * @export
@@ -147,6 +199,169 @@ export interface AttributesDto {
147
199
  */
148
200
  'dislikes': Array<string>;
149
201
  }
202
+ /**
203
+ *
204
+ * @export
205
+ * @interface AvailableSlotsPayload
206
+ */
207
+ export interface AvailableSlotsPayload {
208
+ /**
209
+ * Start date for the events
210
+ * @type {string}
211
+ * @memberof AvailableSlotsPayload
212
+ */
213
+ 'startDate': string;
214
+ /**
215
+ * End date for the events
216
+ * @type {string}
217
+ * @memberof AvailableSlotsPayload
218
+ */
219
+ 'endDate': string;
220
+ /**
221
+ * The business associated with the booking
222
+ * @type {string}
223
+ * @memberof AvailableSlotsPayload
224
+ */
225
+ 'business': string;
226
+ /**
227
+ * List of collaborators associated with the booking
228
+ * @type {Array<string>}
229
+ * @memberof AvailableSlotsPayload
230
+ */
231
+ 'collaborators': Array<string>;
232
+ }
233
+ /**
234
+ *
235
+ * @export
236
+ * @interface BookingRequestResponseDTO
237
+ */
238
+ export interface BookingRequestResponseDTO {
239
+ /**
240
+ * statusCode
241
+ * @type {number}
242
+ * @memberof BookingRequestResponseDTO
243
+ */
244
+ 'statusCode': number;
245
+ /**
246
+ * Booking request response
247
+ * @type {boolean}
248
+ * @memberof BookingRequestResponseDTO
249
+ */
250
+ 'data': boolean;
251
+ }
252
+ /**
253
+ *
254
+ * @export
255
+ * @interface BookingResponse
256
+ */
257
+ export interface BookingResponse {
258
+ /**
259
+ * The unique identifier of the customer
260
+ * @type {string}
261
+ * @memberof BookingResponse
262
+ */
263
+ '_id': string;
264
+ /**
265
+ * The title of the booking
266
+ * @type {string}
267
+ * @memberof BookingResponse
268
+ */
269
+ 'title': string;
270
+ /**
271
+ * The start date of the booking
272
+ * @type {string}
273
+ * @memberof BookingResponse
274
+ */
275
+ 'startDate': string;
276
+ /**
277
+ * The end date of the booking
278
+ * @type {string}
279
+ * @memberof BookingResponse
280
+ */
281
+ 'endDate': string;
282
+ /**
283
+ * The venue of the booking
284
+ * @type {string}
285
+ * @memberof BookingResponse
286
+ */
287
+ 'venue': string;
288
+ /**
289
+ * The business associated with the booking
290
+ * @type {BusinessEntity}
291
+ * @memberof BookingResponse
292
+ */
293
+ 'business': BusinessEntity;
294
+ /**
295
+ * The user details
296
+ * @type {UserEntity}
297
+ * @memberof BookingResponse
298
+ */
299
+ 'users': UserEntity;
300
+ /**
301
+ * Notes attached with booking
302
+ * @type {string}
303
+ * @memberof BookingResponse
304
+ */
305
+ 'note': string;
306
+ /**
307
+ * Occasion id
308
+ * @type {string}
309
+ * @memberof BookingResponse
310
+ */
311
+ 'occasion': string;
312
+ /**
313
+ * Calendar attached with booking
314
+ * @type {string}
315
+ * @memberof BookingResponse
316
+ */
317
+ 'calendar': string;
318
+ /**
319
+ * Payment method Id
320
+ * @type {string}
321
+ * @memberof BookingResponse
322
+ */
323
+ 'paymentMethodId': string;
324
+ /**
325
+ * The list of customers associated with the booking
326
+ * @type {Array<CreateBookingCustomerPayload>}
327
+ * @memberof BookingResponse
328
+ */
329
+ 'customers': Array<CreateBookingCustomerPayload>;
330
+ /**
331
+ * Booking method
332
+ * @type {string}
333
+ * @memberof BookingResponse
334
+ */
335
+ 'method': BookingResponseMethodEnum;
336
+ }
337
+
338
+ export const BookingResponseMethodEnum = {
339
+ Call: 'CALL',
340
+ InPerson: 'IN_PERSON',
341
+ App: 'APP'
342
+ } as const;
343
+
344
+ export type BookingResponseMethodEnum = typeof BookingResponseMethodEnum[keyof typeof BookingResponseMethodEnum];
345
+
346
+ /**
347
+ *
348
+ * @export
349
+ * @interface BookingResponseDTO
350
+ */
351
+ export interface BookingResponseDTO {
352
+ /**
353
+ * statusCode
354
+ * @type {number}
355
+ * @memberof BookingResponseDTO
356
+ */
357
+ 'statusCode': number;
358
+ /**
359
+ * Booking response
360
+ * @type {BookingResponse}
361
+ * @memberof BookingResponseDTO
362
+ */
363
+ 'data': BookingResponse;
364
+ }
150
365
  /**
151
366
  *
152
367
  * @export
@@ -165,24 +380,12 @@ export interface BusinessEntity {
165
380
  * @memberof BusinessEntity
166
381
  */
167
382
  'timing'?: Array<BusinessTiming>;
168
- /**
169
- * Business Current Timing
170
- * @type {BusinessTiming}
171
- * @memberof BusinessEntity
172
- */
173
- 'currentTime'?: BusinessTiming;
174
383
  /**
175
384
  * Business policies
176
385
  * @type {string}
177
386
  * @memberof BusinessEntity
178
387
  */
179
388
  'policies'?: string;
180
- /**
181
- * Business Name
182
- * @type {string}
183
- * @memberof BusinessEntity
184
- */
185
- 'name'?: string;
186
389
  /**
187
390
  * Business cancellationFee
188
391
  * @type {number}
@@ -203,10 +406,10 @@ export interface BusinessEntity {
203
406
  'businessCountry'?: string;
204
407
  /**
205
408
  * Business Venue
206
- * @type {Array<string>}
409
+ * @type {Array<BusinessVenueDTO>}
207
410
  * @memberof BusinessEntity
208
411
  */
209
- 'venues'?: Array<string>;
412
+ 'venues'?: Array<BusinessVenueDTO>;
210
413
  /**
211
414
  * Business Type
212
415
  * @type {string}
@@ -235,45 +438,12 @@ export interface BusinessEntity {
235
438
 
236
439
  export const BusinessEntityStatusEnum = {
237
440
  Verified: 'VERIFIED',
238
- InProgress: 'IN_PROGRESS',
239
441
  Pending: 'PENDING',
240
442
  QuoteRequested: 'QUOTE_REQUESTED'
241
443
  } as const;
242
444
 
243
445
  export type BusinessEntityStatusEnum = typeof BusinessEntityStatusEnum[keyof typeof BusinessEntityStatusEnum];
244
446
 
245
- /**
246
- *
247
- * @export
248
- * @interface BusinessFavoriteDTO
249
- */
250
- export interface BusinessFavoriteDTO {
251
- /**
252
- * Business Venue Id
253
- * @type {string}
254
- * @memberof BusinessFavoriteDTO
255
- */
256
- 'venue': string;
257
- }
258
- /**
259
- *
260
- * @export
261
- * @interface BusinessFavoriteResponse
262
- */
263
- export interface BusinessFavoriteResponse {
264
- /**
265
- * statusCode
266
- * @type {number}
267
- * @memberof BusinessFavoriteResponse
268
- */
269
- 'statusCode': number;
270
- /**
271
- * Business Favorite
272
- * @type {BusinessFavoriteDTO}
273
- * @memberof BusinessFavoriteResponse
274
- */
275
- 'data': BusinessFavoriteDTO;
276
- }
277
447
  /**
278
448
  *
279
449
  * @export
@@ -298,12 +468,6 @@ export interface BusinessOnBoardingDTO {
298
468
  * @memberof BusinessOnBoardingDTO
299
469
  */
300
470
  'policies'?: string;
301
- /**
302
- * Business Name
303
- * @type {string}
304
- * @memberof BusinessOnBoardingDTO
305
- */
306
- 'name'?: string;
307
471
  /**
308
472
  * Business cancellationFee
309
473
  * @type {number}
@@ -422,37 +586,6 @@ export interface BusinessTypeEntity {
422
586
  * @memberof BusinessTypeEntity
423
587
  */
424
588
  'name': string;
425
- /**
426
- * Image background color
427
- * @type {string}
428
- * @memberof BusinessTypeEntity
429
- */
430
- 'backgroundColor': string;
431
- /**
432
- * Business Image
433
- * @type {BusinessTypeImageDTO}
434
- * @memberof BusinessTypeEntity
435
- */
436
- 'images': BusinessTypeImageDTO;
437
- }
438
- /**
439
- *
440
- * @export
441
- * @interface BusinessTypeImageDTO
442
- */
443
- export interface BusinessTypeImageDTO {
444
- /**
445
- * Business Type Image Small
446
- * @type {string}
447
- * @memberof BusinessTypeImageDTO
448
- */
449
- 'small': string;
450
- /**
451
- * Business Type Image Large
452
- * @type {string}
453
- * @memberof BusinessTypeImageDTO
454
- */
455
- 'large': string;
456
589
  }
457
590
  /**
458
591
  *
@@ -473,123 +606,30 @@ export interface BusinessTypeListResponse {
473
606
  */
474
607
  'data': Array<BusinessTypeEntity>;
475
608
  }
476
- /**
477
- *
478
- * @export
479
- * @interface BusinessUnFavoriteResponse
480
- */
481
- export interface BusinessUnFavoriteResponse {
482
- /**
483
- * statusCode
484
- * @type {number}
485
- * @memberof BusinessUnFavoriteResponse
486
- */
487
- 'statusCode': number;
488
- /**
489
- * Business Favorite Rule
490
- * @type {string}
491
- * @memberof BusinessUnFavoriteResponse
492
- */
493
- 'message': string;
494
- }
495
609
  /**
496
610
  *
497
611
  * @export
498
612
  * @interface BusinessVenueDTO
499
613
  */
500
614
  export interface BusinessVenueDTO {
501
- /**
502
- * coverPhots
503
- * @type {string}
504
- * @memberof BusinessVenueDTO
505
- */
506
- 'coverPhoto': string;
507
615
  /**
508
616
  *
509
617
  * @type {string}
510
618
  * @memberof BusinessVenueDTO
511
619
  */
512
- 'priceRange': string;
513
- /**
514
- *
515
- * @type {LocationDTO}
516
- * @memberof BusinessVenueDTO
517
- */
518
- 'location': LocationDTO;
620
+ 'coverPhotos': string;
519
621
  /**
520
622
  *
521
623
  * @type {string}
522
624
  * @memberof BusinessVenueDTO
523
625
  */
524
- 'numberOfEmployee': string;
525
- }
526
- /**
527
- *
528
- * @export
529
- * @interface BusinessVenueDetailsEntity
530
- */
531
- export interface BusinessVenueDetailsEntity {
532
- /**
533
- * Unique identifier for the business venue
534
- * @type {string}
535
- * @memberof BusinessVenueDetailsEntity
536
- */
537
- '_id'?: string;
538
- /**
539
- * coverPhots
540
- * @type {string}
541
- * @memberof BusinessVenueDetailsEntity
542
- */
543
- 'coverPhoto': string;
544
- /**
545
- *
546
- * @type {string}
547
- * @memberof BusinessVenueDetailsEntity
548
- */
549
626
  'priceRange': string;
550
627
  /**
551
628
  *
552
629
  * @type {LocationDTO}
553
- * @memberof BusinessVenueDetailsEntity
630
+ * @memberof BusinessVenueDTO
554
631
  */
555
632
  'location': LocationDTO;
556
- /**
557
- *
558
- * @type {string}
559
- * @memberof BusinessVenueDetailsEntity
560
- */
561
- 'numberOfEmployee': string;
562
- /**
563
- *
564
- * @type {UserEntity}
565
- * @memberof BusinessVenueDetailsEntity
566
- */
567
- 'user': UserEntity;
568
- /**
569
- *
570
- * @type {BusinessEntity}
571
- * @memberof BusinessVenueDetailsEntity
572
- */
573
- 'business': BusinessEntity;
574
- }
575
- /**
576
- *
577
- * @export
578
- * @interface BusinessVenueResponseDTO
579
- */
580
- export interface BusinessVenueResponseDTO {
581
- /**
582
- * statusCode
583
- * @type {number}
584
- * @memberof BusinessVenueResponseDTO
585
- */
586
- 'statusCode': number;
587
- /**
588
- * Business verification
589
- * @type {Array<BusinessVenueDetailsEntity>}
590
- * @memberof BusinessVenueResponseDTO
591
- */
592
- 'data': Array<BusinessVenueDetailsEntity>;
593
633
  }
594
634
  /**
595
635
  *
@@ -639,27 +679,193 @@ export interface CalendarAccessDTO {
639
679
  /**
640
680
  *
641
681
  * @export
642
- * @interface CategoryEntity
682
+ * @interface CalendarDTO
643
683
  */
644
- export interface CategoryEntity {
684
+ export interface CalendarDTO {
645
685
  /**
646
- * Unique identifier for the category
647
- * @type {string}
648
- * @memberof CategoryEntity
649
- */
650
- '_id': string;
686
+ * statusCode
687
+ * @type {number}
688
+ * @memberof CalendarDTO
689
+ */
690
+ 'statusCode': number;
651
691
  /**
652
- * name of the category
692
+ * Booking request response
693
+ * @type {boolean}
694
+ * @memberof CalendarDTO
695
+ */
696
+ 'data': boolean;
697
+ }
698
+ /**
699
+ *
700
+ * @export
701
+ * @interface CalendarEventsListPayload
702
+ */
703
+ export interface CalendarEventsListPayload {
704
+ /**
705
+ * Start date for the events
653
706
  * @type {string}
654
- * @memberof CategoryEntity
707
+ * @memberof CalendarEventsListPayload
708
+ */
709
+ 'startDate': string;
710
+ /**
711
+ * End date for the events
712
+ * @type {string}
713
+ * @memberof CalendarEventsListPayload
714
+ */
715
+ 'endDate': string;
716
+ }
717
+ /**
718
+ *
719
+ * @export
720
+ * @interface CalendarListResponse
721
+ */
722
+ export interface CalendarListResponse {
723
+ /**
724
+ * The calendar name
725
+ * @type {string}
726
+ * @memberof CalendarListResponse
655
727
  */
656
728
  'name': string;
657
729
  /**
658
- * Image of category
730
+ * The user details
731
+ * @type {UserEntity}
732
+ * @memberof CalendarListResponse
733
+ */
734
+ 'owner': UserEntity;
735
+ /**
736
+ * The user details
737
+ * @type {Array<UserEntity>}
738
+ * @memberof CalendarListResponse
739
+ */
740
+ 'collaborators': Array<UserEntity>;
741
+ /**
742
+ * CalendarType
743
+ * @type {string}
744
+ * @memberof CalendarListResponse
745
+ */
746
+ 'method': CalendarListResponseMethodEnum;
747
+ }
748
+
749
+ export const CalendarListResponseMethodEnum = {
750
+ Shared: 'SHARED',
751
+ Personal: 'PERSONAL'
752
+ } as const;
753
+
754
+ export type CalendarListResponseMethodEnum = typeof CalendarListResponseMethodEnum[keyof typeof CalendarListResponseMethodEnum];
755
+
756
+ /**
757
+ *
758
+ * @export
759
+ * @interface CalendarListResponseDTO
760
+ */
761
+ export interface CalendarListResponseDTO {
762
+ /**
763
+ * statusCode
764
+ * @type {number}
765
+ * @memberof CalendarListResponseDTO
766
+ */
767
+ 'statusCode': number;
768
+ /**
769
+ * Calendar response
770
+ * @type {Array<CalendarListResponse>}
771
+ * @memberof CalendarListResponseDTO
772
+ */
773
+ 'data': Array<CalendarListResponse>;
774
+ }
775
+ /**
776
+ *
777
+ * @export
778
+ * @interface CalendarResponseDTO
779
+ */
780
+ export interface CalendarResponseDTO {
781
+ /**
782
+ * statusCode
783
+ * @type {number}
784
+ * @memberof CalendarResponseDTO
785
+ */
786
+ 'statusCode': number;
787
+ /**
788
+ * Calendar response
789
+ * @type {CalendarListResponse}
790
+ * @memberof CalendarResponseDTO
791
+ */
792
+ 'data': CalendarListResponse;
793
+ }
794
+ /**
795
+ *
796
+ * @export
797
+ * @interface CalendarSlotResponse
798
+ */
799
+ export interface CalendarSlotResponse {
800
+ /**
801
+ * Date
802
+ * @type {string}
803
+ * @memberof CalendarSlotResponse
804
+ */
805
+ 'date': string;
806
+ /**
807
+ * Date
808
+ * @type {Array<CalendarSlots>}
809
+ * @memberof CalendarSlotResponse
810
+ */
811
+ 'slots': Array<CalendarSlots>;
812
+ }
813
+ /**
814
+ *
815
+ * @export
816
+ * @interface CalendarSlots
817
+ */
818
+ export interface CalendarSlots {
819
+ /**
820
+ * start
821
+ * @type {string}
822
+ * @memberof CalendarSlots
823
+ */
824
+ 'start': string;
825
+ /**
826
+ * end
827
+ * @type {string}
828
+ * @memberof CalendarSlots
829
+ */
830
+ 'end': string;
831
+ }
832
+ /**
833
+ *
834
+ * @export
835
+ * @interface CalendarSlotsDTO
836
+ */
837
+ export interface CalendarSlotsDTO {
838
+ /**
839
+ * statusCode
840
+ * @type {number}
841
+ * @memberof CalendarSlotsDTO
842
+ */
843
+ 'statusCode': number;
844
+ /**
845
+ * Calendar slots response
846
+ * @type {Array<CalendarSlotResponse>}
847
+ * @memberof CalendarSlotsDTO
848
+ */
849
+ 'data': Array<CalendarSlotResponse>;
850
+ }
851
+ /**
852
+ *
853
+ * @export
854
+ * @interface CategoryEntity
855
+ */
856
+ export interface CategoryEntity {
857
+ /**
858
+ * Unique identifier for the category
659
859
  * @type {string}
660
860
  * @memberof CategoryEntity
661
861
  */
662
- 'image': string;
862
+ '_id': string;
863
+ /**
864
+ * name of the category
865
+ * @type {string}
866
+ * @memberof CategoryEntity
867
+ */
868
+ 'name': string;
663
869
  /**
664
870
  * Unique identifier or reference of the business Type
665
871
  * @type {string}
@@ -686,6 +892,209 @@ export interface CategoryListResponse {
686
892
  */
687
893
  'data': Array<CategoryEntity>;
688
894
  }
895
+ /**
896
+ *
897
+ * @export
898
+ * @interface CreateBookingCustomerPayload
899
+ */
900
+ export interface CreateBookingCustomerPayload {
901
+ /**
902
+ * The unique identifier of the customer
903
+ * @type {string}
904
+ * @memberof CreateBookingCustomerPayload
905
+ */
906
+ '_id'?: string;
907
+ /**
908
+ * The name of the customer
909
+ * @type {string}
910
+ * @memberof CreateBookingCustomerPayload
911
+ */
912
+ 'name'?: string;
913
+ /**
914
+ * The mobile phone number of the customer
915
+ * @type {string}
916
+ * @memberof CreateBookingCustomerPayload
917
+ */
918
+ 'mobile'?: string;
919
+ /**
920
+ * The email address of the customer
921
+ * @type {string}
922
+ * @memberof CreateBookingCustomerPayload
923
+ */
924
+ 'email'?: string;
925
+ /**
926
+ * The goodayId for the customer
927
+ * @type {string}
928
+ * @memberof CreateBookingCustomerPayload
929
+ */
930
+ 'goodayId'?: string;
931
+ }
932
+ /**
933
+ *
934
+ * @export
935
+ * @interface CreateBookingPayload
936
+ */
937
+ export interface CreateBookingPayload {
938
+ /**
939
+ * The title of the booking
940
+ * @type {string}
941
+ * @memberof CreateBookingPayload
942
+ */
943
+ 'title': string;
944
+ /**
945
+ * The start date of the booking
946
+ * @type {string}
947
+ * @memberof CreateBookingPayload
948
+ */
949
+ 'startDate': string;
950
+ /**
951
+ * The end date of the booking
952
+ * @type {string}
953
+ * @memberof CreateBookingPayload
954
+ */
955
+ 'endDate': string;
956
+ /**
957
+ * The venue of the booking
958
+ * @type {string}
959
+ * @memberof CreateBookingPayload
960
+ */
961
+ 'venue': string;
962
+ /**
963
+ * The business associated with the booking
964
+ * @type {string}
965
+ * @memberof CreateBookingPayload
966
+ */
967
+ 'business': string;
968
+ /**
969
+ * Notes attached with booking
970
+ * @type {string}
971
+ * @memberof CreateBookingPayload
972
+ */
973
+ 'note': string;
974
+ /**
975
+ * Occasion id
976
+ * @type {string}
977
+ * @memberof CreateBookingPayload
978
+ */
979
+ 'occasion': string;
980
+ /**
981
+ * Calendar attached with booking
982
+ * @type {string}
983
+ * @memberof CreateBookingPayload
984
+ */
985
+ 'calendar': string;
986
+ /**
987
+ * Payment method Id
988
+ * @type {string}
989
+ * @memberof CreateBookingPayload
990
+ */
991
+ 'paymentMethodId': string;
992
+ /**
993
+ * The list of customers associated with the booking
994
+ * @type {Array<CreateBookingCustomerPayload>}
995
+ * @memberof CreateBookingPayload
996
+ */
997
+ 'customers': Array<CreateBookingCustomerPayload>;
998
+ /**
999
+ * Booking method
1000
+ * @type {string}
1001
+ * @memberof CreateBookingPayload
1002
+ */
1003
+ 'method': string;
1004
+ }
1005
+ /**
1006
+ *
1007
+ * @export
1008
+ * @interface CreateCalendarPayload
1009
+ */
1010
+ export interface CreateCalendarPayload {
1011
+ /**
1012
+ * Name of the calendar
1013
+ * @type {string}
1014
+ * @memberof CreateCalendarPayload
1015
+ */
1016
+ 'name': string;
1017
+ }
1018
+ /**
1019
+ *
1020
+ * @export
1021
+ * @interface CreateEventCustomerPayload
1022
+ */
1023
+ export interface CreateEventCustomerPayload {
1024
+ /**
1025
+ * The unique identifier of the customer
1026
+ * @type {string}
1027
+ * @memberof CreateEventCustomerPayload
1028
+ */
1029
+ '_id'?: string;
1030
+ /**
1031
+ * The name of the customer
1032
+ * @type {string}
1033
+ * @memberof CreateEventCustomerPayload
1034
+ */
1035
+ 'name'?: string;
1036
+ /**
1037
+ * The mobile phone number of the customer
1038
+ * @type {string}
1039
+ * @memberof CreateEventCustomerPayload
1040
+ */
1041
+ 'mobile'?: string;
1042
+ /**
1043
+ * The email address of the customer
1044
+ * @type {string}
1045
+ * @memberof CreateEventCustomerPayload
1046
+ */
1047
+ 'email'?: string;
1048
+ /**
1049
+ * The goodayId for the customer
1050
+ * @type {string}
1051
+ * @memberof CreateEventCustomerPayload
1052
+ */
1053
+ 'goodayId'?: string;
1054
+ }
1055
+ /**
1056
+ *
1057
+ * @export
1058
+ * @interface CreateEventPayload
1059
+ */
1060
+ export interface CreateEventPayload {
1061
+ /**
1062
+ * The title of the event
1063
+ * @type {string}
1064
+ * @memberof CreateEventPayload
1065
+ */
1066
+ 'title': string;
1067
+ /**
1068
+ * The start date of the event
1069
+ * @type {string}
1070
+ * @memberof CreateEventPayload
1071
+ */
1072
+ 'startDate': string;
1073
+ /**
1074
+ * The end date of the event
1075
+ * @type {string}
1076
+ * @memberof CreateEventPayload
1077
+ */
1078
+ 'endDate': string;
1079
+ /**
1080
+ * Notes attached with booking
1081
+ * @type {string}
1082
+ * @memberof CreateEventPayload
1083
+ */
1084
+ 'note': string;
1085
+ /**
1086
+ * Calendar attached with booking
1087
+ * @type {string}
1088
+ * @memberof CreateEventPayload
1089
+ */
1090
+ 'calendar': string;
1091
+ /**
1092
+ * The list of customers associated with the event
1093
+ * @type {Array<CreateEventCustomerPayload>}
1094
+ * @memberof CreateEventPayload
1095
+ */
1096
+ 'customers': Array<CreateEventCustomerPayload>;
1097
+ }
689
1098
  /**
690
1099
  *
691
1100
  * @export
@@ -723,6 +1132,19 @@ export interface CreatePaymentLinkDTO {
723
1132
  */
724
1133
  'user': string;
725
1134
  }
1135
+ /**
1136
+ *
1137
+ * @export
1138
+ * @interface DeclineFriendshipRequestPayload
1139
+ */
1140
+ export interface DeclineFriendshipRequestPayload {
1141
+ /**
1142
+ *
1143
+ * @type {string}
1144
+ * @memberof DeclineFriendshipRequestPayload
1145
+ */
1146
+ 'from': string;
1147
+ }
726
1148
  /**
727
1149
  *
728
1150
  * @export
@@ -826,36 +1248,144 @@ export interface EmployeesSizeListResponse {
826
1248
  /**
827
1249
  *
828
1250
  * @export
829
- * @interface FileNameUploadDTO
1251
+ * @interface EventDTO
830
1252
  */
831
- export interface FileNameUploadDTO {
1253
+ export interface EventDTO {
832
1254
  /**
833
- * A message providing additional details about the response
834
- * @type {string}
835
- * @memberof FileNameUploadDTO
1255
+ * statusCode
1256
+ * @type {number}
1257
+ * @memberof EventDTO
836
1258
  */
837
- 'fileName': string;
1259
+ 'statusCode': number;
838
1260
  /**
839
- * A name of bucket where you have to upload the image
840
- * @type {string}
841
- * @memberof FileNameUploadDTO
1261
+ * Event request response
1262
+ * @type {boolean}
1263
+ * @memberof EventDTO
842
1264
  */
843
- 'bucketName': string;
1265
+ 'data': boolean;
844
1266
  }
845
1267
  /**
846
1268
  *
847
1269
  * @export
848
- * @interface ForgotPasswordPayloadDTO
1270
+ * @interface EventResponse
849
1271
  */
850
- export interface ForgotPasswordPayloadDTO {
1272
+ export interface EventResponse {
851
1273
  /**
852
- * User Email
1274
+ * The unique identifier of the customer
853
1275
  * @type {string}
854
- * @memberof ForgotPasswordPayloadDTO
1276
+ * @memberof EventResponse
855
1277
  */
856
- 'email': string;
857
- }
858
- /**
1278
+ '_id': string;
1279
+ /**
1280
+ * The title of the booking
1281
+ * @type {string}
1282
+ * @memberof EventResponse
1283
+ */
1284
+ 'title': string;
1285
+ /**
1286
+ * The start date of the booking
1287
+ * @type {string}
1288
+ * @memberof EventResponse
1289
+ */
1290
+ 'startDate': string;
1291
+ /**
1292
+ * The end date of the booking
1293
+ * @type {string}
1294
+ * @memberof EventResponse
1295
+ */
1296
+ 'endDate': string;
1297
+ /**
1298
+ * Create event customer
1299
+ * @type {Array<CreateEventCustomerPayload>}
1300
+ * @memberof EventResponse
1301
+ */
1302
+ 'customers': Array<CreateEventCustomerPayload>;
1303
+ /**
1304
+ * The user details
1305
+ * @type {Array<UserEntity>}
1306
+ * @memberof EventResponse
1307
+ */
1308
+ 'users': Array<UserEntity>;
1309
+ /**
1310
+ * Notes attached with booking
1311
+ * @type {string}
1312
+ * @memberof EventResponse
1313
+ */
1314
+ 'note': string;
1315
+ /**
1316
+ * Occasion id
1317
+ * @type {string}
1318
+ * @memberof EventResponse
1319
+ */
1320
+ 'status': EventResponseStatusEnum;
1321
+ /**
1322
+ * Calendar attached with booking
1323
+ * @type {CalendarListResponse}
1324
+ * @memberof EventResponse
1325
+ */
1326
+ 'calendar': CalendarListResponse;
1327
+ }
1328
+
1329
+ export const EventResponseStatusEnum = {
1330
+ Confirmed: 'CONFIRMED',
1331
+ Unconfirmed: 'UNCONFIRMED',
1332
+ Rejected: 'REJECTED'
1333
+ } as const;
1334
+
1335
+ export type EventResponseStatusEnum = typeof EventResponseStatusEnum[keyof typeof EventResponseStatusEnum];
1336
+
1337
+ /**
1338
+ *
1339
+ * @export
1340
+ * @interface EventResponseDTO
1341
+ */
1342
+ export interface EventResponseDTO {
1343
+ /**
1344
+ * statusCode
1345
+ * @type {number}
1346
+ * @memberof EventResponseDTO
1347
+ */
1348
+ 'statusCode': number;
1349
+ /**
1350
+ * Event request response
1351
+ * @type {EventResponse}
1352
+ * @memberof EventResponseDTO
1353
+ */
1354
+ 'data': EventResponse;
1355
+ }
1356
+ /**
1357
+ *
1358
+ * @export
1359
+ * @interface FileNameUploadDTO
1360
+ */
1361
+ export interface FileNameUploadDTO {
1362
+ /**
1363
+ * A message providing additional details about the response
1364
+ * @type {string}
1365
+ * @memberof FileNameUploadDTO
1366
+ */
1367
+ 'fileName': string;
1368
+ /**
1369
+ * A name of bucket where you have to upload the image
1370
+ * @type {string}
1371
+ * @memberof FileNameUploadDTO
1372
+ */
1373
+ 'bucketName': string;
1374
+ }
1375
+ /**
1376
+ *
1377
+ * @export
1378
+ * @interface ForgotPasswordPayloadDTO
1379
+ */
1380
+ export interface ForgotPasswordPayloadDTO {
1381
+ /**
1382
+ * User Email
1383
+ * @type {string}
1384
+ * @memberof ForgotPasswordPayloadDTO
1385
+ */
1386
+ 'email': string;
1387
+ }
1388
+ /**
859
1389
  *
860
1390
  * @export
861
1391
  * @interface ForgotPasswordResponseDTO
@@ -877,40 +1407,84 @@ export interface ForgotPasswordResponseDTO {
877
1407
  /**
878
1408
  *
879
1409
  * @export
880
- * @interface GetBusinessVenueDto
1410
+ * @interface FriendsDTO
881
1411
  */
882
- export interface GetBusinessVenueDto {
1412
+ export interface FriendsDTO {
883
1413
  /**
884
- * Business type ID
885
- * @type {string}
886
- * @memberof GetBusinessVenueDto
1414
+ * statusCode
1415
+ * @type {number}
1416
+ * @memberof FriendsDTO
887
1417
  */
888
- 'type'?: string;
1418
+ 'statusCode': number;
889
1419
  /**
890
- * Business name search
891
- * @type {string}
892
- * @memberof GetBusinessVenueDto
1420
+ * User
1421
+ * @type {Array<UserEntity>}
1422
+ * @memberof FriendsDTO
1423
+ */
1424
+ 'data': Array<UserEntity>;
1425
+ }
1426
+ /**
1427
+ *
1428
+ * @export
1429
+ * @interface FriendsResponseDTO
1430
+ */
1431
+ export interface FriendsResponseDTO {
1432
+ /**
1433
+ * statusCode
1434
+ * @type {number}
1435
+ * @memberof FriendsResponseDTO
893
1436
  */
894
- 'search'?: string;
1437
+ 'statusCode': number;
1438
+ /**
1439
+ *
1440
+ * @type {boolean}
1441
+ * @memberof FriendsResponseDTO
1442
+ */
1443
+ 'success': boolean;
1444
+ }
1445
+ /**
1446
+ *
1447
+ * @export
1448
+ * @interface FriendshipStatusCheck
1449
+ */
1450
+ export interface FriendshipStatusCheck {
895
1451
  /**
896
- * Business category ID
1452
+ *
897
1453
  * @type {string}
898
- * @memberof GetBusinessVenueDto
1454
+ * @memberof FriendshipStatusCheck
899
1455
  */
900
- 'category'?: string;
1456
+ 'to': string;
1457
+ }
1458
+ /**
1459
+ *
1460
+ * @export
1461
+ * @interface FriendshipStatusDTO
1462
+ */
1463
+ export interface FriendshipStatusDTO {
901
1464
  /**
902
- * Page number for pagination
1465
+ * statusCode
903
1466
  * @type {number}
904
- * @memberof GetBusinessVenueDto
1467
+ * @memberof FriendshipStatusDTO
905
1468
  */
906
- 'page'?: number;
1469
+ 'statusCode': number;
907
1470
  /**
908
- * Number of items per page for pagination
909
- * @type {number}
910
- * @memberof GetBusinessVenueDto
1471
+ *
1472
+ * @type {string}
1473
+ * @memberof FriendshipStatusDTO
911
1474
  */
912
- 'limit'?: number;
1475
+ 'success': FriendshipStatusDTOSuccessEnum;
913
1476
  }
1477
+
1478
+ export const FriendshipStatusDTOSuccessEnum = {
1479
+ Pending: 'PENDING',
1480
+ Confirmed: 'CONFIRMED',
1481
+ Rejected: 'REJECTED',
1482
+ Cancelled: 'CANCELLED',
1483
+ Unknown: 'UNKNOWN'
1484
+ } as const;
1485
+
1486
+ export type FriendshipStatusDTOSuccessEnum = typeof FriendshipStatusDTOSuccessEnum[keyof typeof FriendshipStatusDTOSuccessEnum];
1487
+
914
1488
  /**
915
1489
  *
916
1490
  * @export
@@ -1101,12 +1675,6 @@ export interface LocationDTO {
1101
1675
  * @memberof LocationDTO
1102
1676
  */
1103
1677
  'coordinates': Array<number>;
1104
- /**
1105
- *
1106
- * @type {string}
1107
- * @memberof LocationDTO
1108
- */
1109
- 'distance'?: string;
1110
1678
  /**
1111
1679
  *
1112
1680
  * @type {LocationMetaDTO}
@@ -1429,19 +1997,6 @@ export interface PlanResponseDTO {
1429
1997
  */
1430
1998
  'data': Array<PlanEntity>;
1431
1999
  }
1432
- /**
1433
- *
1434
- * @export
1435
- * @interface PlanUpsertPayloadDTO
1436
- */
1437
- export interface PlanUpsertPayloadDTO {
1438
- /**
1439
- * Plan id
1440
- * @type {string}
1441
- * @memberof PlanUpsertPayloadDTO
1442
- */
1443
- 'plan': string;
1444
- }
1445
2000
  /**
1446
2001
  *
1447
2002
  * @export
@@ -1527,6 +2082,90 @@ export interface PriceRangeListResponse {
1527
2082
  */
1528
2083
  'data': Array<PriceRangeEntity>;
1529
2084
  }
2085
+ /**
2086
+ *
2087
+ * @export
2088
+ * @interface RejectBookingInvitePayload
2089
+ */
2090
+ export interface RejectBookingInvitePayload {
2091
+ /**
2092
+ * ID of the booking
2093
+ * @type {string}
2094
+ * @memberof RejectBookingInvitePayload
2095
+ */
2096
+ 'booking': string;
2097
+ }
2098
+ /**
2099
+ *
2100
+ * @export
2101
+ * @interface RejectCollaborateInvitePayload
2102
+ */
2103
+ export interface RejectCollaborateInvitePayload {
2104
+ /**
2105
+ * The calendar identifier
2106
+ * @type {string}
2107
+ * @memberof RejectCollaborateInvitePayload
2108
+ */
2109
+ 'calendar': string;
2110
+ }
2111
+ /**
2112
+ *
2113
+ * @export
2114
+ * @interface RejectEventInvitePayload
2115
+ */
2116
+ export interface RejectEventInvitePayload {
2117
+ /**
2118
+ * ID of the event
2119
+ * @type {string}
2120
+ * @memberof RejectEventInvitePayload
2121
+ */
2122
+ 'event': string;
2123
+ }
2124
+ /**
2125
+ *
2126
+ * @export
2127
+ * @interface RemoveCalendarPayload
2128
+ */
2129
+ export interface RemoveCalendarPayload {
2130
+ /**
2131
+ * The calendar identifier
2132
+ * @type {string}
2133
+ * @memberof RemoveCalendarPayload
2134
+ */
2135
+ 'calendar': string;
2136
+ }
2137
+ /**
2138
+ *
2139
+ * @export
2140
+ * @interface RemoveFriendshipRequestPayload
2141
+ */
2142
+ export interface RemoveFriendshipRequestPayload {
2143
+ /**
2144
+ *
2145
+ * @type {string}
2146
+ * @memberof RemoveFriendshipRequestPayload
2147
+ */
2148
+ 'from': string;
2149
+ }
2150
+ /**
2151
+ *
2152
+ * @export
2153
+ * @interface RenameCalendarPayload
2154
+ */
2155
+ export interface RenameCalendarPayload {
2156
+ /**
2157
+ * The calendar identifier
2158
+ * @type {string}
2159
+ * @memberof RenameCalendarPayload
2160
+ */
2161
+ 'calendar': string;
2162
+ /**
2163
+ * The new name for the calendar
2164
+ * @type {string}
2165
+ * @memberof RenameCalendarPayload
2166
+ */
2167
+ 'name': string;
2168
+ }
1530
2169
  /**
1531
2170
  *
1532
2171
  * @export
@@ -1565,6 +2204,38 @@ export interface ResetPasswordResponseDTO {
1565
2204
  */
1566
2205
  'message': string;
1567
2206
  }
2207
+ /**
2208
+ *
2209
+ * @export
2210
+ * @interface SendCollaborateInvitePayload
2211
+ */
2212
+ export interface SendCollaborateInvitePayload {
2213
+ /**
2214
+ * identifier of the collaborator
2215
+ * @type {string}
2216
+ * @memberof SendCollaborateInvitePayload
2217
+ */
2218
+ 'collaborator': string;
2219
+ /**
2220
+ * The calendar identifier
2221
+ * @type {string}
2222
+ * @memberof SendCollaborateInvitePayload
2223
+ */
2224
+ 'calendar': string;
2225
+ }
2226
+ /**
2227
+ *
2228
+ * @export
2229
+ * @interface SendFriendshipRequestPayload
2230
+ */
2231
+ export interface SendFriendshipRequestPayload {
2232
+ /**
2233
+ *
2234
+ * @type {string}
2235
+ * @memberof SendFriendshipRequestPayload
2236
+ */
2237
+ 'to': string;
2238
+ }
1568
2239
  /**
1569
2240
  *
1570
2241
  * @export
@@ -1665,18 +2336,6 @@ export interface SignupDto {
1665
2336
  * @memberof SignupDto
1666
2337
  */
1667
2338
  'lastName': string;
1668
- /**
1669
- * Contact Number For User
1670
- * @type {string}
1671
- * @memberof SignupDto
1672
- */
1673
- 'mobileNumber'?: string;
1674
- /**
1675
- * User gender
1676
- * @type {string}
1677
- * @memberof SignupDto
1678
- */
1679
- 'gender'?: string;
1680
2339
  /**
1681
2340
  * The email of the user
1682
2341
  * @type {string}
@@ -1756,40 +2415,46 @@ export interface SkillDto {
1756
2415
  /**
1757
2416
  *
1758
2417
  * @export
1759
- * @interface StripePaymentDTO
2418
+ * @interface StripPaymentDTO
1760
2419
  */
1761
- export interface StripePaymentDTO {
2420
+ export interface StripPaymentDTO {
1762
2421
  /**
1763
- * Stripe ephemeral Key
2422
+ * Strip Customer ID
1764
2423
  * @type {string}
1765
- * @memberof StripePaymentDTO
2424
+ * @memberof StripPaymentDTO
2425
+ */
2426
+ 'customerId': string;
2427
+ /**
2428
+ * Strip ephemeral Key
2429
+ * @type {string}
2430
+ * @memberof StripPaymentDTO
1766
2431
  */
1767
2432
  'ephemeralKey': string;
1768
2433
  /**
1769
- * Stripe ClientSecret
2434
+ * Strip ClientSecret
1770
2435
  * @type {string}
1771
- * @memberof StripePaymentDTO
2436
+ * @memberof StripPaymentDTO
1772
2437
  */
1773
2438
  'clientSecret': string;
1774
2439
  }
1775
2440
  /**
1776
2441
  *
1777
2442
  * @export
1778
- * @interface StripePlanUpsertResponseDTO
2443
+ * @interface StripePaymentIntentResponseDTO
1779
2444
  */
1780
- export interface StripePlanUpsertResponseDTO {
2445
+ export interface StripePaymentIntentResponseDTO {
1781
2446
  /**
1782
2447
  * statuscCode
1783
2448
  * @type {number}
1784
- * @memberof StripePlanUpsertResponseDTO
2449
+ * @memberof StripePaymentIntentResponseDTO
1785
2450
  */
1786
2451
  'statusCode': number;
1787
2452
  /**
1788
2453
  * Strip Intent Data
1789
- * @type {StripePaymentDTO}
1790
- * @memberof StripePlanUpsertResponseDTO
2454
+ * @type {StripPaymentDTO}
2455
+ * @memberof StripePaymentIntentResponseDTO
1791
2456
  */
1792
- 'data': StripePaymentDTO;
2457
+ 'data': StripPaymentDTO;
1793
2458
  }
1794
2459
  /**
1795
2460
  *
@@ -1803,12 +2468,6 @@ export interface UserEntity {
1803
2468
  * @memberof UserEntity
1804
2469
  */
1805
2470
  '_id': string;
1806
- /**
1807
- * Unique identifier for the Gooday user
1808
- * @type {string}
1809
- * @memberof UserEntity
1810
- */
1811
- 'goodayId': string;
1812
2471
  /**
1813
2472
  * First name of the user
1814
2473
  * @type {string}
@@ -1827,12 +2486,6 @@ export interface UserEntity {
1827
2486
  * @memberof UserEntity
1828
2487
  */
1829
2488
  'email': string;
1830
- /**
1831
- * User location
1832
- * @type {Array<number>}
1833
- * @memberof UserEntity
1834
- */
1835
- 'location'?: Array<number>;
1836
2489
  /**
1837
2490
  * Nickname of the user
1838
2491
  * @type {string}
@@ -1852,23 +2505,17 @@ export interface UserEntity {
1852
2505
  */
1853
2506
  'assistant': string;
1854
2507
  /**
1855
- * Phone No
1856
- * @type {string}
2508
+ * Indicates whether the user\'s email has been verified
2509
+ * @type {boolean}
1857
2510
  * @memberof UserEntity
1858
2511
  */
1859
- 'mobileNumber'?: string;
2512
+ 'isEmailVerified': boolean;
1860
2513
  /**
1861
- * User gender
2514
+ * Primary user calendar
1862
2515
  * @type {string}
1863
2516
  * @memberof UserEntity
1864
2517
  */
1865
- 'gender'?: string;
1866
- /**
1867
- * Indicates whether the user\'s email has been verified
1868
- * @type {boolean}
1869
- * @memberof UserEntity
1870
- */
1871
- 'isEmailVerified': boolean;
2518
+ 'calendar': string;
1872
2519
  /**
1873
2520
  * Role of the user in the system
1874
2521
  * @type {string}
@@ -1887,12 +2534,6 @@ export interface UserEntity {
1887
2534
  * @memberof UserEntity
1888
2535
  */
1889
2536
  'plan': UserPlanDTO;
1890
- /**
1891
- * Plan subscribed by the user
1892
- * @type {BusinessEntity}
1893
- * @memberof UserEntity
1894
- */
1895
- 'business'?: BusinessEntity;
1896
2537
  /**
1897
2538
  * Action user has to perform
1898
2539
  * @type {Array<string>}
@@ -1954,19 +2595,6 @@ export const UserPlanDTONameEnum = {
1954
2595
 
1955
2596
  export type UserPlanDTONameEnum = typeof UserPlanDTONameEnum[keyof typeof UserPlanDTONameEnum];
1956
2597
 
1957
- /**
1958
- *
1959
- * @export
1960
- * @interface UserSyncLocationDTO
1961
- */
1962
- export interface UserSyncLocationDTO {
1963
- /**
1964
- * User location
1965
- * @type {Array<number>}
1966
- * @memberof UserSyncLocationDTO
1967
- */
1968
- 'location': Array<number>;
1969
- }
1970
2598
  /**
1971
2599
  *
1972
2600
  * @export
@@ -2816,21 +3444,21 @@ export class AuthApi extends BaseAPI {
2816
3444
 
2817
3445
 
2818
3446
  /**
2819
- * BusinessApi - axios parameter creator
3447
+ * BookingApi - axios parameter creator
2820
3448
  * @export
2821
3449
  */
2822
- export const BusinessApiAxiosParamCreator = function (configuration?: Configuration) {
3450
+ export const BookingApiAxiosParamCreator = function (configuration?: Configuration) {
2823
3451
  return {
2824
3452
  /**
2825
3453
  *
2826
- * @param {BusinessOnBoardingDTO} businessOnBoardingDTO
3454
+ * @param {AcceptBookingInvitePayload} acceptBookingInvitePayload
2827
3455
  * @param {*} [options] Override http request option.
2828
3456
  * @throws {RequiredError}
2829
3457
  */
2830
- businessControllerBusinessOnboarding: async (businessOnBoardingDTO: BusinessOnBoardingDTO, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
2831
- // verify required parameter 'businessOnBoardingDTO' is not null or undefined
2832
- assertParamExists('businessControllerBusinessOnboarding', 'businessOnBoardingDTO', businessOnBoardingDTO)
2833
- const localVarPath = `/v1/business/onboarding`;
3458
+ bookingControllerAcceptBookingInvite: async (acceptBookingInvitePayload: AcceptBookingInvitePayload, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
3459
+ // verify required parameter 'acceptBookingInvitePayload' is not null or undefined
3460
+ assertParamExists('bookingControllerAcceptBookingInvite', 'acceptBookingInvitePayload', acceptBookingInvitePayload)
3461
+ const localVarPath = `/v1/booking/accept`;
2834
3462
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
2835
3463
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
2836
3464
  let baseOptions;
@@ -2838,7 +3466,7 @@ export const BusinessApiAxiosParamCreator = function (configuration?: Configurat
2838
3466
  baseOptions = configuration.baseOptions;
2839
3467
  }
2840
3468
 
2841
- const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
3469
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
2842
3470
  const localVarHeaderParameter = {} as any;
2843
3471
  const localVarQueryParameter = {} as any;
2844
3472
 
@@ -2853,7 +3481,7 @@ export const BusinessApiAxiosParamCreator = function (configuration?: Configurat
2853
3481
  setSearchParams(localVarUrlObj, localVarQueryParameter);
2854
3482
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
2855
3483
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
2856
- localVarRequestOptions.data = serializeDataIfNeeded(businessOnBoardingDTO, localVarRequestOptions, configuration)
3484
+ localVarRequestOptions.data = serializeDataIfNeeded(acceptBookingInvitePayload, localVarRequestOptions, configuration)
2857
3485
 
2858
3486
  return {
2859
3487
  url: toPathString(localVarUrlObj),
@@ -2862,11 +3490,14 @@ export const BusinessApiAxiosParamCreator = function (configuration?: Configurat
2862
3490
  },
2863
3491
  /**
2864
3492
  *
3493
+ * @param {CreateBookingPayload} createBookingPayload
2865
3494
  * @param {*} [options] Override http request option.
2866
3495
  * @throws {RequiredError}
2867
3496
  */
2868
- businessControllerGetMe: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
2869
- const localVarPath = `/v1/business/me`;
3497
+ bookingControllerCreateBooking: async (createBookingPayload: CreateBookingPayload, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
3498
+ // verify required parameter 'createBookingPayload' is not null or undefined
3499
+ assertParamExists('bookingControllerCreateBooking', 'createBookingPayload', createBookingPayload)
3500
+ const localVarPath = `/v1/booking`;
2870
3501
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
2871
3502
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
2872
3503
  let baseOptions;
@@ -2874,7 +3505,7 @@ export const BusinessApiAxiosParamCreator = function (configuration?: Configurat
2874
3505
  baseOptions = configuration.baseOptions;
2875
3506
  }
2876
3507
 
2877
- const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
3508
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
2878
3509
  const localVarHeaderParameter = {} as any;
2879
3510
  const localVarQueryParameter = {} as any;
2880
3511
 
@@ -2884,9 +3515,12 @@ export const BusinessApiAxiosParamCreator = function (configuration?: Configurat
2884
3515
 
2885
3516
 
2886
3517
 
3518
+ localVarHeaderParameter['Content-Type'] = 'application/json';
3519
+
2887
3520
  setSearchParams(localVarUrlObj, localVarQueryParameter);
2888
3521
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
2889
3522
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
3523
+ localVarRequestOptions.data = serializeDataIfNeeded(createBookingPayload, localVarRequestOptions, configuration)
2890
3524
 
2891
3525
  return {
2892
3526
  url: toPathString(localVarUrlObj),
@@ -2895,11 +3529,15 @@ export const BusinessApiAxiosParamCreator = function (configuration?: Configurat
2895
3529
  },
2896
3530
  /**
2897
3531
  *
3532
+ * @param {string} id
2898
3533
  * @param {*} [options] Override http request option.
2899
3534
  * @throws {RequiredError}
2900
3535
  */
2901
- businessControllerListBusinesses: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
2902
- const localVarPath = `/v1/business`;
3536
+ bookingControllerGetBooking: async (id: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
3537
+ // verify required parameter 'id' is not null or undefined
3538
+ assertParamExists('bookingControllerGetBooking', 'id', id)
3539
+ const localVarPath = `/v1/booking/{id}`
3540
+ .replace(`{${"id"}}`, encodeURIComponent(String(id)));
2903
3541
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
2904
3542
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
2905
3543
  let baseOptions;
@@ -2911,6 +3549,10 @@ export const BusinessApiAxiosParamCreator = function (configuration?: Configurat
2911
3549
  const localVarHeaderParameter = {} as any;
2912
3550
  const localVarQueryParameter = {} as any;
2913
3551
 
3552
+ // authentication bearer required
3553
+ // http bearer authentication required
3554
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
3555
+
2914
3556
 
2915
3557
 
2916
3558
  setSearchParams(localVarUrlObj, localVarQueryParameter);
@@ -2924,14 +3566,14 @@ export const BusinessApiAxiosParamCreator = function (configuration?: Configurat
2924
3566
  },
2925
3567
  /**
2926
3568
  *
2927
- * @param {GetBusinessVenueDto} getBusinessVenueDto
3569
+ * @param {RejectBookingInvitePayload} rejectBookingInvitePayload
2928
3570
  * @param {*} [options] Override http request option.
2929
3571
  * @throws {RequiredError}
2930
3572
  */
2931
- businessTypeControllerGetBusinessVenue: async (getBusinessVenueDto: GetBusinessVenueDto, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
2932
- // verify required parameter 'getBusinessVenueDto' is not null or undefined
2933
- assertParamExists('businessTypeControllerGetBusinessVenue', 'getBusinessVenueDto', getBusinessVenueDto)
2934
- const localVarPath = `/v1/business/business-venue`;
3573
+ bookingControllerRejectBookingInvite: async (rejectBookingInvitePayload: RejectBookingInvitePayload, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
3574
+ // verify required parameter 'rejectBookingInvitePayload' is not null or undefined
3575
+ assertParamExists('bookingControllerRejectBookingInvite', 'rejectBookingInvitePayload', rejectBookingInvitePayload)
3576
+ const localVarPath = `/v1/booking/reject`;
2935
3577
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
2936
3578
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
2937
3579
  let baseOptions;
@@ -2939,7 +3581,7 @@ export const BusinessApiAxiosParamCreator = function (configuration?: Configurat
2939
3581
  baseOptions = configuration.baseOptions;
2940
3582
  }
2941
3583
 
2942
- const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
3584
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
2943
3585
  const localVarHeaderParameter = {} as any;
2944
3586
  const localVarQueryParameter = {} as any;
2945
3587
 
@@ -2954,20 +3596,190 @@ export const BusinessApiAxiosParamCreator = function (configuration?: Configurat
2954
3596
  setSearchParams(localVarUrlObj, localVarQueryParameter);
2955
3597
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
2956
3598
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
2957
- localVarRequestOptions.data = serializeDataIfNeeded(getBusinessVenueDto, localVarRequestOptions, configuration)
3599
+ localVarRequestOptions.data = serializeDataIfNeeded(rejectBookingInvitePayload, localVarRequestOptions, configuration)
2958
3600
 
2959
3601
  return {
2960
3602
  url: toPathString(localVarUrlObj),
2961
3603
  options: localVarRequestOptions,
2962
3604
  };
2963
3605
  },
3606
+ }
3607
+ };
3608
+
3609
+ /**
3610
+ * BookingApi - functional programming interface
3611
+ * @export
3612
+ */
3613
+ export const BookingApiFp = function(configuration?: Configuration) {
3614
+ const localVarAxiosParamCreator = BookingApiAxiosParamCreator(configuration)
3615
+ return {
3616
+ /**
3617
+ *
3618
+ * @param {AcceptBookingInvitePayload} acceptBookingInvitePayload
3619
+ * @param {*} [options] Override http request option.
3620
+ * @throws {RequiredError}
3621
+ */
3622
+ async bookingControllerAcceptBookingInvite(acceptBookingInvitePayload: AcceptBookingInvitePayload, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BookingRequestResponseDTO>> {
3623
+ const localVarAxiosArgs = await localVarAxiosParamCreator.bookingControllerAcceptBookingInvite(acceptBookingInvitePayload, options);
3624
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
3625
+ const localVarOperationServerBasePath = operationServerMap['BookingApi.bookingControllerAcceptBookingInvite']?.[localVarOperationServerIndex]?.url;
3626
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
3627
+ },
2964
3628
  /**
2965
3629
  *
3630
+ * @param {CreateBookingPayload} createBookingPayload
2966
3631
  * @param {*} [options] Override http request option.
2967
3632
  * @throws {RequiredError}
2968
3633
  */
2969
- businessTypeControllerListBusinessType: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
2970
- const localVarPath = `/v1/business/list`;
3634
+ async bookingControllerCreateBooking(createBookingPayload: CreateBookingPayload, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BookingResponseDTO>> {
3635
+ const localVarAxiosArgs = await localVarAxiosParamCreator.bookingControllerCreateBooking(createBookingPayload, options);
3636
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
3637
+ const localVarOperationServerBasePath = operationServerMap['BookingApi.bookingControllerCreateBooking']?.[localVarOperationServerIndex]?.url;
3638
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
3639
+ },
3640
+ /**
3641
+ *
3642
+ * @param {string} id
3643
+ * @param {*} [options] Override http request option.
3644
+ * @throws {RequiredError}
3645
+ */
3646
+ async bookingControllerGetBooking(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BookingResponseDTO>> {
3647
+ const localVarAxiosArgs = await localVarAxiosParamCreator.bookingControllerGetBooking(id, options);
3648
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
3649
+ const localVarOperationServerBasePath = operationServerMap['BookingApi.bookingControllerGetBooking']?.[localVarOperationServerIndex]?.url;
3650
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
3651
+ },
3652
+ /**
3653
+ *
3654
+ * @param {RejectBookingInvitePayload} rejectBookingInvitePayload
3655
+ * @param {*} [options] Override http request option.
3656
+ * @throws {RequiredError}
3657
+ */
3658
+ async bookingControllerRejectBookingInvite(rejectBookingInvitePayload: RejectBookingInvitePayload, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BookingRequestResponseDTO>> {
3659
+ const localVarAxiosArgs = await localVarAxiosParamCreator.bookingControllerRejectBookingInvite(rejectBookingInvitePayload, options);
3660
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
3661
+ const localVarOperationServerBasePath = operationServerMap['BookingApi.bookingControllerRejectBookingInvite']?.[localVarOperationServerIndex]?.url;
3662
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
3663
+ },
3664
+ }
3665
+ };
3666
+
3667
+ /**
3668
+ * BookingApi - factory interface
3669
+ * @export
3670
+ */
3671
+ export const BookingApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
3672
+ const localVarFp = BookingApiFp(configuration)
3673
+ return {
3674
+ /**
3675
+ *
3676
+ * @param {AcceptBookingInvitePayload} acceptBookingInvitePayload
3677
+ * @param {*} [options] Override http request option.
3678
+ * @throws {RequiredError}
3679
+ */
3680
+ bookingControllerAcceptBookingInvite(acceptBookingInvitePayload: AcceptBookingInvitePayload, options?: RawAxiosRequestConfig): AxiosPromise<BookingRequestResponseDTO> {
3681
+ return localVarFp.bookingControllerAcceptBookingInvite(acceptBookingInvitePayload, options).then((request) => request(axios, basePath));
3682
+ },
3683
+ /**
3684
+ *
3685
+ * @param {CreateBookingPayload} createBookingPayload
3686
+ * @param {*} [options] Override http request option.
3687
+ * @throws {RequiredError}
3688
+ */
3689
+ bookingControllerCreateBooking(createBookingPayload: CreateBookingPayload, options?: RawAxiosRequestConfig): AxiosPromise<BookingResponseDTO> {
3690
+ return localVarFp.bookingControllerCreateBooking(createBookingPayload, options).then((request) => request(axios, basePath));
3691
+ },
3692
+ /**
3693
+ *
3694
+ * @param {string} id
3695
+ * @param {*} [options] Override http request option.
3696
+ * @throws {RequiredError}
3697
+ */
3698
+ bookingControllerGetBooking(id: string, options?: RawAxiosRequestConfig): AxiosPromise<BookingResponseDTO> {
3699
+ return localVarFp.bookingControllerGetBooking(id, options).then((request) => request(axios, basePath));
3700
+ },
3701
+ /**
3702
+ *
3703
+ * @param {RejectBookingInvitePayload} rejectBookingInvitePayload
3704
+ * @param {*} [options] Override http request option.
3705
+ * @throws {RequiredError}
3706
+ */
3707
+ bookingControllerRejectBookingInvite(rejectBookingInvitePayload: RejectBookingInvitePayload, options?: RawAxiosRequestConfig): AxiosPromise<BookingRequestResponseDTO> {
3708
+ return localVarFp.bookingControllerRejectBookingInvite(rejectBookingInvitePayload, options).then((request) => request(axios, basePath));
3709
+ },
3710
+ };
3711
+ };
3712
+
3713
+ /**
3714
+ * BookingApi - object-oriented interface
3715
+ * @export
3716
+ * @class BookingApi
3717
+ * @extends {BaseAPI}
3718
+ */
3719
+ export class BookingApi extends BaseAPI {
3720
+ /**
3721
+ *
3722
+ * @param {AcceptBookingInvitePayload} acceptBookingInvitePayload
3723
+ * @param {*} [options] Override http request option.
3724
+ * @throws {RequiredError}
3725
+ * @memberof BookingApi
3726
+ */
3727
+ public bookingControllerAcceptBookingInvite(acceptBookingInvitePayload: AcceptBookingInvitePayload, options?: RawAxiosRequestConfig) {
3728
+ return BookingApiFp(this.configuration).bookingControllerAcceptBookingInvite(acceptBookingInvitePayload, options).then((request) => request(this.axios, this.basePath));
3729
+ }
3730
+
3731
+ /**
3732
+ *
3733
+ * @param {CreateBookingPayload} createBookingPayload
3734
+ * @param {*} [options] Override http request option.
3735
+ * @throws {RequiredError}
3736
+ * @memberof BookingApi
3737
+ */
3738
+ public bookingControllerCreateBooking(createBookingPayload: CreateBookingPayload, options?: RawAxiosRequestConfig) {
3739
+ return BookingApiFp(this.configuration).bookingControllerCreateBooking(createBookingPayload, options).then((request) => request(this.axios, this.basePath));
3740
+ }
3741
+
3742
+ /**
3743
+ *
3744
+ * @param {string} id
3745
+ * @param {*} [options] Override http request option.
3746
+ * @throws {RequiredError}
3747
+ * @memberof BookingApi
3748
+ */
3749
+ public bookingControllerGetBooking(id: string, options?: RawAxiosRequestConfig) {
3750
+ return BookingApiFp(this.configuration).bookingControllerGetBooking(id, options).then((request) => request(this.axios, this.basePath));
3751
+ }
3752
+
3753
+ /**
3754
+ *
3755
+ * @param {RejectBookingInvitePayload} rejectBookingInvitePayload
3756
+ * @param {*} [options] Override http request option.
3757
+ * @throws {RequiredError}
3758
+ * @memberof BookingApi
3759
+ */
3760
+ public bookingControllerRejectBookingInvite(rejectBookingInvitePayload: RejectBookingInvitePayload, options?: RawAxiosRequestConfig) {
3761
+ return BookingApiFp(this.configuration).bookingControllerRejectBookingInvite(rejectBookingInvitePayload, options).then((request) => request(this.axios, this.basePath));
3762
+ }
3763
+ }
3764
+
3765
+
3766
+
3767
+ /**
3768
+ * BusinessApi - axios parameter creator
3769
+ * @export
3770
+ */
3771
+ export const BusinessApiAxiosParamCreator = function (configuration?: Configuration) {
3772
+ return {
3773
+ /**
3774
+ *
3775
+ * @param {BusinessOnBoardingDTO} businessOnBoardingDTO
3776
+ * @param {*} [options] Override http request option.
3777
+ * @throws {RequiredError}
3778
+ */
3779
+ businessControllerBusinessOnboarding: async (businessOnBoardingDTO: BusinessOnBoardingDTO, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
3780
+ // verify required parameter 'businessOnBoardingDTO' is not null or undefined
3781
+ assertParamExists('businessControllerBusinessOnboarding', 'businessOnBoardingDTO', businessOnBoardingDTO)
3782
+ const localVarPath = `/v1/business/onboarding`;
2971
3783
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
2972
3784
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
2973
3785
  let baseOptions;
@@ -2975,7 +3787,7 @@ export const BusinessApiAxiosParamCreator = function (configuration?: Configurat
2975
3787
  baseOptions = configuration.baseOptions;
2976
3788
  }
2977
3789
 
2978
- const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
3790
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
2979
3791
  const localVarHeaderParameter = {} as any;
2980
3792
  const localVarQueryParameter = {} as any;
2981
3793
 
@@ -2985,9 +3797,12 @@ export const BusinessApiAxiosParamCreator = function (configuration?: Configurat
2985
3797
 
2986
3798
 
2987
3799
 
3800
+ localVarHeaderParameter['Content-Type'] = 'application/json';
3801
+
2988
3802
  setSearchParams(localVarUrlObj, localVarQueryParameter);
2989
3803
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
2990
3804
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
3805
+ localVarRequestOptions.data = serializeDataIfNeeded(businessOnBoardingDTO, localVarRequestOptions, configuration)
2991
3806
 
2992
3807
  return {
2993
3808
  url: toPathString(localVarUrlObj),
@@ -2996,15 +3811,11 @@ export const BusinessApiAxiosParamCreator = function (configuration?: Configurat
2996
3811
  },
2997
3812
  /**
2998
3813
  *
2999
- * @param {string} businessTypeId ID of the business type
3000
3814
  * @param {*} [options] Override http request option.
3001
3815
  * @throws {RequiredError}
3002
3816
  */
3003
- businessTypeControllerListCategories: async (businessTypeId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
3004
- // verify required parameter 'businessTypeId' is not null or undefined
3005
- assertParamExists('businessTypeControllerListCategories', 'businessTypeId', businessTypeId)
3006
- const localVarPath = `/v1/business/{businessTypeId}/categories`
3007
- .replace(`{${"businessTypeId"}}`, encodeURIComponent(String(businessTypeId)));
3817
+ businessControllerGetMe: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
3818
+ const localVarPath = `/v1/business/me`;
3008
3819
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
3009
3820
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
3010
3821
  let baseOptions;
@@ -3036,8 +3847,8 @@ export const BusinessApiAxiosParamCreator = function (configuration?: Configurat
3036
3847
  * @param {*} [options] Override http request option.
3037
3848
  * @throws {RequiredError}
3038
3849
  */
3039
- businessTypeControllerListEmployeesSize: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
3040
- const localVarPath = `/v1/business/employee-size`;
3850
+ businessControllerListBusinesses: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
3851
+ const localVarPath = `/business`;
3041
3852
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
3042
3853
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
3043
3854
  let baseOptions;
@@ -3049,10 +3860,6 @@ export const BusinessApiAxiosParamCreator = function (configuration?: Configurat
3049
3860
  const localVarHeaderParameter = {} as any;
3050
3861
  const localVarQueryParameter = {} as any;
3051
3862
 
3052
- // authentication bearer required
3053
- // http bearer authentication required
3054
- await setBearerAuthToObject(localVarHeaderParameter, configuration)
3055
-
3056
3863
 
3057
3864
 
3058
3865
  setSearchParams(localVarUrlObj, localVarQueryParameter);
@@ -3069,8 +3876,8 @@ export const BusinessApiAxiosParamCreator = function (configuration?: Configurat
3069
3876
  * @param {*} [options] Override http request option.
3070
3877
  * @throws {RequiredError}
3071
3878
  */
3072
- businessTypeControllerListPriceRange: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
3073
- const localVarPath = `/v1/business/price-range`;
3879
+ businessTypeControllerListBusinessType: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
3880
+ const localVarPath = `/v1/business/list`;
3074
3881
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
3075
3882
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
3076
3883
  let baseOptions;
@@ -3099,14 +3906,15 @@ export const BusinessApiAxiosParamCreator = function (configuration?: Configurat
3099
3906
  },
3100
3907
  /**
3101
3908
  *
3102
- * @param {BusinessFavoriteDTO} businessFavoriteDTO
3909
+ * @param {string} businessType
3103
3910
  * @param {*} [options] Override http request option.
3104
3911
  * @throws {RequiredError}
3105
3912
  */
3106
- businessTypeControllerMarkBusinessAsFavorite: async (businessFavoriteDTO: BusinessFavoriteDTO, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
3107
- // verify required parameter 'businessFavoriteDTO' is not null or undefined
3108
- assertParamExists('businessTypeControllerMarkBusinessAsFavorite', 'businessFavoriteDTO', businessFavoriteDTO)
3109
- const localVarPath = `/v1/business/favorite`;
3913
+ businessTypeControllerListCategories: async (businessType: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
3914
+ // verify required parameter 'businessType' is not null or undefined
3915
+ assertParamExists('businessTypeControllerListCategories', 'businessType', businessType)
3916
+ const localVarPath = `/v1/business/{businessType}/categories`
3917
+ .replace(`{${"businessType"}}`, encodeURIComponent(String(businessType)));
3110
3918
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
3111
3919
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
3112
3920
  let baseOptions;
@@ -3114,7 +3922,7 @@ export const BusinessApiAxiosParamCreator = function (configuration?: Configurat
3114
3922
  baseOptions = configuration.baseOptions;
3115
3923
  }
3116
3924
 
3117
- const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
3925
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
3118
3926
  const localVarHeaderParameter = {} as any;
3119
3927
  const localVarQueryParameter = {} as any;
3120
3928
 
@@ -3124,12 +3932,9 @@ export const BusinessApiAxiosParamCreator = function (configuration?: Configurat
3124
3932
 
3125
3933
 
3126
3934
 
3127
- localVarHeaderParameter['Content-Type'] = 'application/json';
3128
-
3129
3935
  setSearchParams(localVarUrlObj, localVarQueryParameter);
3130
3936
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
3131
3937
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
3132
- localVarRequestOptions.data = serializeDataIfNeeded(businessFavoriteDTO, localVarRequestOptions, configuration)
3133
3938
 
3134
3939
  return {
3135
3940
  url: toPathString(localVarUrlObj),
@@ -3138,14 +3943,11 @@ export const BusinessApiAxiosParamCreator = function (configuration?: Configurat
3138
3943
  },
3139
3944
  /**
3140
3945
  *
3141
- * @param {BusinessFavoriteDTO} businessFavoriteDTO
3142
3946
  * @param {*} [options] Override http request option.
3143
3947
  * @throws {RequiredError}
3144
3948
  */
3145
- businessTypeControllerUnFavoriteBusiness: async (businessFavoriteDTO: BusinessFavoriteDTO, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
3146
- // verify required parameter 'businessFavoriteDTO' is not null or undefined
3147
- assertParamExists('businessTypeControllerUnFavoriteBusiness', 'businessFavoriteDTO', businessFavoriteDTO)
3148
- const localVarPath = `/v1/business/unfavorite`;
3949
+ businessTypeControllerListEmployeesSize: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
3950
+ const localVarPath = `/v1/business/employee-size`;
3149
3951
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
3150
3952
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
3151
3953
  let baseOptions;
@@ -3153,7 +3955,7 @@ export const BusinessApiAxiosParamCreator = function (configuration?: Configurat
3153
3955
  baseOptions = configuration.baseOptions;
3154
3956
  }
3155
3957
 
3156
- const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
3958
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
3157
3959
  const localVarHeaderParameter = {} as any;
3158
3960
  const localVarQueryParameter = {} as any;
3159
3961
 
@@ -3163,12 +3965,9 @@ export const BusinessApiAxiosParamCreator = function (configuration?: Configurat
3163
3965
 
3164
3966
 
3165
3967
 
3166
- localVarHeaderParameter['Content-Type'] = 'application/json';
3167
-
3168
3968
  setSearchParams(localVarUrlObj, localVarQueryParameter);
3169
3969
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
3170
3970
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
3171
- localVarRequestOptions.data = serializeDataIfNeeded(businessFavoriteDTO, localVarRequestOptions, configuration)
3172
3971
 
3173
3972
  return {
3174
3973
  url: toPathString(localVarUrlObj),
@@ -3177,19 +3976,11 @@ export const BusinessApiAxiosParamCreator = function (configuration?: Configurat
3177
3976
  },
3178
3977
  /**
3179
3978
  *
3180
- * @param {BusinessVerificationControllerABNVerificationTypeEnum} type The type of business verification number (e.g., ABN, NZBN)
3181
- * @param {string} businessNumber
3182
3979
  * @param {*} [options] Override http request option.
3183
3980
  * @throws {RequiredError}
3184
3981
  */
3185
- businessVerificationControllerABNVerification: async (type: BusinessVerificationControllerABNVerificationTypeEnum, businessNumber: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
3186
- // verify required parameter 'type' is not null or undefined
3187
- assertParamExists('businessVerificationControllerABNVerification', 'type', type)
3188
- // verify required parameter 'businessNumber' is not null or undefined
3189
- assertParamExists('businessVerificationControllerABNVerification', 'businessNumber', businessNumber)
3190
- const localVarPath = `/v1/business/verify/{type}/{businessNumber}`
3191
- .replace(`{${"type"}}`, encodeURIComponent(String(type)))
3192
- .replace(`{${"businessNumber"}}`, encodeURIComponent(String(businessNumber)));
3982
+ businessTypeControllerListPriceRange: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
3983
+ const localVarPath = `/v1/business/price-range`;
3193
3984
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
3194
3985
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
3195
3986
  let baseOptions;
@@ -3201,6 +3992,10 @@ export const BusinessApiAxiosParamCreator = function (configuration?: Configurat
3201
3992
  const localVarHeaderParameter = {} as any;
3202
3993
  const localVarQueryParameter = {} as any;
3203
3994
 
3995
+ // authentication bearer required
3996
+ // http bearer authentication required
3997
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
3998
+
3204
3999
 
3205
4000
 
3206
4001
  setSearchParams(localVarUrlObj, localVarQueryParameter);
@@ -3250,24 +4045,12 @@ export const BusinessApiFp = function(configuration?: Configuration) {
3250
4045
  * @param {*} [options] Override http request option.
3251
4046
  * @throws {RequiredError}
3252
4047
  */
3253
- async businessControllerListBusinesses(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<BusinessOnBoardingResponseDTO>>> {
4048
+ async businessControllerListBusinesses(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
3254
4049
  const localVarAxiosArgs = await localVarAxiosParamCreator.businessControllerListBusinesses(options);
3255
4050
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
3256
4051
  const localVarOperationServerBasePath = operationServerMap['BusinessApi.businessControllerListBusinesses']?.[localVarOperationServerIndex]?.url;
3257
4052
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
3258
4053
  },
3259
- /**
3260
- *
3261
- * @param {GetBusinessVenueDto} getBusinessVenueDto
3262
- * @param {*} [options] Override http request option.
3263
- * @throws {RequiredError}
3264
- */
3265
- async businessTypeControllerGetBusinessVenue(getBusinessVenueDto: GetBusinessVenueDto, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BusinessVenueResponseDTO>> {
3266
- const localVarAxiosArgs = await localVarAxiosParamCreator.businessTypeControllerGetBusinessVenue(getBusinessVenueDto, options);
3267
- const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
3268
- const localVarOperationServerBasePath = operationServerMap['BusinessApi.businessTypeControllerGetBusinessVenue']?.[localVarOperationServerIndex]?.url;
3269
- return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
3270
- },
3271
4054
  /**
3272
4055
  *
3273
4056
  * @param {*} [options] Override http request option.
@@ -3281,12 +4064,12 @@ export const BusinessApiFp = function(configuration?: Configuration) {
3281
4064
  },
3282
4065
  /**
3283
4066
  *
3284
- * @param {string} businessTypeId ID of the business type
4067
+ * @param {string} businessType
3285
4068
  * @param {*} [options] Override http request option.
3286
4069
  * @throws {RequiredError}
3287
4070
  */
3288
- async businessTypeControllerListCategories(businessTypeId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CategoryListResponse>> {
3289
- const localVarAxiosArgs = await localVarAxiosParamCreator.businessTypeControllerListCategories(businessTypeId, options);
4071
+ async businessTypeControllerListCategories(businessType: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CategoryListResponse>> {
4072
+ const localVarAxiosArgs = await localVarAxiosParamCreator.businessTypeControllerListCategories(businessType, options);
3290
4073
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
3291
4074
  const localVarOperationServerBasePath = operationServerMap['BusinessApi.businessTypeControllerListCategories']?.[localVarOperationServerIndex]?.url;
3292
4075
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
@@ -3313,43 +4096,6 @@ export const BusinessApiFp = function(configuration?: Configuration) {
3313
4096
  const localVarOperationServerBasePath = operationServerMap['BusinessApi.businessTypeControllerListPriceRange']?.[localVarOperationServerIndex]?.url;
3314
4097
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
3315
4098
  },
3316
- /**
3317
- *
3318
- * @param {BusinessFavoriteDTO} businessFavoriteDTO
3319
- * @param {*} [options] Override http request option.
3320
- * @throws {RequiredError}
3321
- */
3322
- async businessTypeControllerMarkBusinessAsFavorite(businessFavoriteDTO: BusinessFavoriteDTO, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BusinessFavoriteResponse>> {
3323
- const localVarAxiosArgs = await localVarAxiosParamCreator.businessTypeControllerMarkBusinessAsFavorite(businessFavoriteDTO, options);
3324
- const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
3325
- const localVarOperationServerBasePath = operationServerMap['BusinessApi.businessTypeControllerMarkBusinessAsFavorite']?.[localVarOperationServerIndex]?.url;
3326
- return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
3327
- },
3328
- /**
3329
- *
3330
- * @param {BusinessFavoriteDTO} businessFavoriteDTO
3331
- * @param {*} [options] Override http request option.
3332
- * @throws {RequiredError}
3333
- */
3334
- async businessTypeControllerUnFavoriteBusiness(businessFavoriteDTO: BusinessFavoriteDTO, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BusinessUnFavoriteResponse>> {
3335
- const localVarAxiosArgs = await localVarAxiosParamCreator.businessTypeControllerUnFavoriteBusiness(businessFavoriteDTO, options);
3336
- const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
3337
- const localVarOperationServerBasePath = operationServerMap['BusinessApi.businessTypeControllerUnFavoriteBusiness']?.[localVarOperationServerIndex]?.url;
3338
- return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
3339
- },
3340
- /**
3341
- *
3342
- * @param {BusinessVerificationControllerABNVerificationTypeEnum} type The type of business verification number (e.g., ABN, NZBN)
3343
- * @param {string} businessNumber
3344
- * @param {*} [options] Override http request option.
3345
- * @throws {RequiredError}
3346
- */
3347
- async businessVerificationControllerABNVerification(type: BusinessVerificationControllerABNVerificationTypeEnum, businessNumber: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BusinessVerificationResponse>> {
3348
- const localVarAxiosArgs = await localVarAxiosParamCreator.businessVerificationControllerABNVerification(type, businessNumber, options);
3349
- const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
3350
- const localVarOperationServerBasePath = operationServerMap['BusinessApi.businessVerificationControllerABNVerification']?.[localVarOperationServerIndex]?.url;
3351
- return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
3352
- },
3353
4099
  }
3354
4100
  };
3355
4101
 
@@ -3382,18 +4128,9 @@ export const BusinessApiFactory = function (configuration?: Configuration, baseP
3382
4128
  * @param {*} [options] Override http request option.
3383
4129
  * @throws {RequiredError}
3384
4130
  */
3385
- businessControllerListBusinesses(options?: RawAxiosRequestConfig): AxiosPromise<Array<BusinessOnBoardingResponseDTO>> {
4131
+ businessControllerListBusinesses(options?: RawAxiosRequestConfig): AxiosPromise<void> {
3386
4132
  return localVarFp.businessControllerListBusinesses(options).then((request) => request(axios, basePath));
3387
4133
  },
3388
- /**
3389
- *
3390
- * @param {GetBusinessVenueDto} getBusinessVenueDto
3391
- * @param {*} [options] Override http request option.
3392
- * @throws {RequiredError}
3393
- */
3394
- businessTypeControllerGetBusinessVenue(getBusinessVenueDto: GetBusinessVenueDto, options?: RawAxiosRequestConfig): AxiosPromise<BusinessVenueResponseDTO> {
3395
- return localVarFp.businessTypeControllerGetBusinessVenue(getBusinessVenueDto, options).then((request) => request(axios, basePath));
3396
- },
3397
4134
  /**
3398
4135
  *
3399
4136
  * @param {*} [options] Override http request option.
@@ -3404,12 +4141,12 @@ export const BusinessApiFactory = function (configuration?: Configuration, baseP
3404
4141
  },
3405
4142
  /**
3406
4143
  *
3407
- * @param {string} businessTypeId ID of the business type
4144
+ * @param {string} businessType
3408
4145
  * @param {*} [options] Override http request option.
3409
4146
  * @throws {RequiredError}
3410
4147
  */
3411
- businessTypeControllerListCategories(businessTypeId: string, options?: RawAxiosRequestConfig): AxiosPromise<CategoryListResponse> {
3412
- return localVarFp.businessTypeControllerListCategories(businessTypeId, options).then((request) => request(axios, basePath));
4148
+ businessTypeControllerListCategories(businessType: string, options?: RawAxiosRequestConfig): AxiosPromise<CategoryListResponse> {
4149
+ return localVarFp.businessTypeControllerListCategories(businessType, options).then((request) => request(axios, basePath));
3413
4150
  },
3414
4151
  /**
3415
4152
  *
@@ -3427,34 +4164,6 @@ export const BusinessApiFactory = function (configuration?: Configuration, baseP
3427
4164
  businessTypeControllerListPriceRange(options?: RawAxiosRequestConfig): AxiosPromise<PriceRangeListResponse> {
3428
4165
  return localVarFp.businessTypeControllerListPriceRange(options).then((request) => request(axios, basePath));
3429
4166
  },
3430
- /**
3431
- *
3432
- * @param {BusinessFavoriteDTO} businessFavoriteDTO
3433
- * @param {*} [options] Override http request option.
3434
- * @throws {RequiredError}
3435
- */
3436
- businessTypeControllerMarkBusinessAsFavorite(businessFavoriteDTO: BusinessFavoriteDTO, options?: RawAxiosRequestConfig): AxiosPromise<BusinessFavoriteResponse> {
3437
- return localVarFp.businessTypeControllerMarkBusinessAsFavorite(businessFavoriteDTO, options).then((request) => request(axios, basePath));
3438
- },
3439
- /**
3440
- *
3441
- * @param {BusinessFavoriteDTO} businessFavoriteDTO
3442
- * @param {*} [options] Override http request option.
3443
- * @throws {RequiredError}
3444
- */
3445
- businessTypeControllerUnFavoriteBusiness(businessFavoriteDTO: BusinessFavoriteDTO, options?: RawAxiosRequestConfig): AxiosPromise<BusinessUnFavoriteResponse> {
3446
- return localVarFp.businessTypeControllerUnFavoriteBusiness(businessFavoriteDTO, options).then((request) => request(axios, basePath));
3447
- },
3448
- /**
3449
- *
3450
- * @param {BusinessVerificationControllerABNVerificationTypeEnum} type The type of business verification number (e.g., ABN, NZBN)
3451
- * @param {string} businessNumber
3452
- * @param {*} [options] Override http request option.
3453
- * @throws {RequiredError}
3454
- */
3455
- businessVerificationControllerABNVerification(type: BusinessVerificationControllerABNVerificationTypeEnum, businessNumber: string, options?: RawAxiosRequestConfig): AxiosPromise<BusinessVerificationResponse> {
3456
- return localVarFp.businessVerificationControllerABNVerification(type, businessNumber, options).then((request) => request(axios, basePath));
3457
- },
3458
4167
  };
3459
4168
  };
3460
4169
 
@@ -3496,17 +4205,6 @@ export class BusinessApi extends BaseAPI {
3496
4205
  return BusinessApiFp(this.configuration).businessControllerListBusinesses(options).then((request) => request(this.axios, this.basePath));
3497
4206
  }
3498
4207
 
3499
- /**
3500
- *
3501
- * @param {GetBusinessVenueDto} getBusinessVenueDto
3502
- * @param {*} [options] Override http request option.
3503
- * @throws {RequiredError}
3504
- * @memberof BusinessApi
3505
- */
3506
- public businessTypeControllerGetBusinessVenue(getBusinessVenueDto: GetBusinessVenueDto, options?: RawAxiosRequestConfig) {
3507
- return BusinessApiFp(this.configuration).businessTypeControllerGetBusinessVenue(getBusinessVenueDto, options).then((request) => request(this.axios, this.basePath));
3508
- }
3509
-
3510
4208
  /**
3511
4209
  *
3512
4210
  * @param {*} [options] Override http request option.
@@ -3519,13 +4217,13 @@ export class BusinessApi extends BaseAPI {
3519
4217
 
3520
4218
  /**
3521
4219
  *
3522
- * @param {string} businessTypeId ID of the business type
4220
+ * @param {string} businessType
3523
4221
  * @param {*} [options] Override http request option.
3524
4222
  * @throws {RequiredError}
3525
4223
  * @memberof BusinessApi
3526
4224
  */
3527
- public businessTypeControllerListCategories(businessTypeId: string, options?: RawAxiosRequestConfig) {
3528
- return BusinessApiFp(this.configuration).businessTypeControllerListCategories(businessTypeId, options).then((request) => request(this.axios, this.basePath));
4225
+ public businessTypeControllerListCategories(businessType: string, options?: RawAxiosRequestConfig) {
4226
+ return BusinessApiFp(this.configuration).businessTypeControllerListCategories(businessType, options).then((request) => request(this.axios, this.basePath));
3529
4227
  }
3530
4228
 
3531
4229
  /**
@@ -3547,39 +4245,116 @@ export class BusinessApi extends BaseAPI {
3547
4245
  public businessTypeControllerListPriceRange(options?: RawAxiosRequestConfig) {
3548
4246
  return BusinessApiFp(this.configuration).businessTypeControllerListPriceRange(options).then((request) => request(this.axios, this.basePath));
3549
4247
  }
4248
+ }
3550
4249
 
3551
- /**
3552
- *
3553
- * @param {BusinessFavoriteDTO} businessFavoriteDTO
3554
- * @param {*} [options] Override http request option.
3555
- * @throws {RequiredError}
3556
- * @memberof BusinessApi
3557
- */
3558
- public businessTypeControllerMarkBusinessAsFavorite(businessFavoriteDTO: BusinessFavoriteDTO, options?: RawAxiosRequestConfig) {
3559
- return BusinessApiFp(this.configuration).businessTypeControllerMarkBusinessAsFavorite(businessFavoriteDTO, options).then((request) => request(this.axios, this.basePath));
3560
- }
3561
4250
 
3562
- /**
3563
- *
3564
- * @param {BusinessFavoriteDTO} businessFavoriteDTO
3565
- * @param {*} [options] Override http request option.
3566
- * @throws {RequiredError}
3567
- * @memberof BusinessApi
3568
- */
3569
- public businessTypeControllerUnFavoriteBusiness(businessFavoriteDTO: BusinessFavoriteDTO, options?: RawAxiosRequestConfig) {
3570
- return BusinessApiFp(this.configuration).businessTypeControllerUnFavoriteBusiness(businessFavoriteDTO, options).then((request) => request(this.axios, this.basePath));
4251
+
4252
+ /**
4253
+ * BusinessVerificationApi - axios parameter creator
4254
+ * @export
4255
+ */
4256
+ export const BusinessVerificationApiAxiosParamCreator = function (configuration?: Configuration) {
4257
+ return {
4258
+ /**
4259
+ *
4260
+ * @param {BusinessVerificationControllerABNVerificationTypeEnum} type The type of business verification number (e.g., ABN, NZBN)
4261
+ * @param {string} businessNumber
4262
+ * @param {*} [options] Override http request option.
4263
+ * @throws {RequiredError}
4264
+ */
4265
+ businessVerificationControllerABNVerification: async (type: BusinessVerificationControllerABNVerificationTypeEnum, businessNumber: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
4266
+ // verify required parameter 'type' is not null or undefined
4267
+ assertParamExists('businessVerificationControllerABNVerification', 'type', type)
4268
+ // verify required parameter 'businessNumber' is not null or undefined
4269
+ assertParamExists('businessVerificationControllerABNVerification', 'businessNumber', businessNumber)
4270
+ const localVarPath = `/v1/business/verify/{type}/{businessNumber}`
4271
+ .replace(`{${"type"}}`, encodeURIComponent(String(type)))
4272
+ .replace(`{${"businessNumber"}}`, encodeURIComponent(String(businessNumber)));
4273
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
4274
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
4275
+ let baseOptions;
4276
+ if (configuration) {
4277
+ baseOptions = configuration.baseOptions;
4278
+ }
4279
+
4280
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
4281
+ const localVarHeaderParameter = {} as any;
4282
+ const localVarQueryParameter = {} as any;
4283
+
4284
+
4285
+
4286
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
4287
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
4288
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
4289
+
4290
+ return {
4291
+ url: toPathString(localVarUrlObj),
4292
+ options: localVarRequestOptions,
4293
+ };
4294
+ },
4295
+ }
4296
+ };
4297
+
4298
+ /**
4299
+ * BusinessVerificationApi - functional programming interface
4300
+ * @export
4301
+ */
4302
+ export const BusinessVerificationApiFp = function(configuration?: Configuration) {
4303
+ const localVarAxiosParamCreator = BusinessVerificationApiAxiosParamCreator(configuration)
4304
+ return {
4305
+ /**
4306
+ *
4307
+ * @param {BusinessVerificationControllerABNVerificationTypeEnum} type The type of business verification number (e.g., ABN, NZBN)
4308
+ * @param {string} businessNumber
4309
+ * @param {*} [options] Override http request option.
4310
+ * @throws {RequiredError}
4311
+ */
4312
+ async businessVerificationControllerABNVerification(type: BusinessVerificationControllerABNVerificationTypeEnum, businessNumber: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BusinessVerificationResponse>> {
4313
+ const localVarAxiosArgs = await localVarAxiosParamCreator.businessVerificationControllerABNVerification(type, businessNumber, options);
4314
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
4315
+ const localVarOperationServerBasePath = operationServerMap['BusinessVerificationApi.businessVerificationControllerABNVerification']?.[localVarOperationServerIndex]?.url;
4316
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
4317
+ },
3571
4318
  }
4319
+ };
4320
+
4321
+ /**
4322
+ * BusinessVerificationApi - factory interface
4323
+ * @export
4324
+ */
4325
+ export const BusinessVerificationApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
4326
+ const localVarFp = BusinessVerificationApiFp(configuration)
4327
+ return {
4328
+ /**
4329
+ *
4330
+ * @param {BusinessVerificationControllerABNVerificationTypeEnum} type The type of business verification number (e.g., ABN, NZBN)
4331
+ * @param {string} businessNumber
4332
+ * @param {*} [options] Override http request option.
4333
+ * @throws {RequiredError}
4334
+ */
4335
+ businessVerificationControllerABNVerification(type: BusinessVerificationControllerABNVerificationTypeEnum, businessNumber: string, options?: RawAxiosRequestConfig): AxiosPromise<BusinessVerificationResponse> {
4336
+ return localVarFp.businessVerificationControllerABNVerification(type, businessNumber, options).then((request) => request(axios, basePath));
4337
+ },
4338
+ };
4339
+ };
3572
4340
 
4341
+ /**
4342
+ * BusinessVerificationApi - object-oriented interface
4343
+ * @export
4344
+ * @class BusinessVerificationApi
4345
+ * @extends {BaseAPI}
4346
+ */
4347
+ export class BusinessVerificationApi extends BaseAPI {
3573
4348
  /**
3574
4349
  *
3575
4350
  * @param {BusinessVerificationControllerABNVerificationTypeEnum} type The type of business verification number (e.g., ABN, NZBN)
3576
4351
  * @param {string} businessNumber
3577
4352
  * @param {*} [options] Override http request option.
3578
4353
  * @throws {RequiredError}
3579
- * @memberof BusinessApi
4354
+ * @memberof BusinessVerificationApi
3580
4355
  */
3581
4356
  public businessVerificationControllerABNVerification(type: BusinessVerificationControllerABNVerificationTypeEnum, businessNumber: string, options?: RawAxiosRequestConfig) {
3582
- return BusinessApiFp(this.configuration).businessVerificationControllerABNVerification(type, businessNumber, options).then((request) => request(this.axios, this.basePath));
4357
+ return BusinessVerificationApiFp(this.configuration).businessVerificationControllerABNVerification(type, businessNumber, options).then((request) => request(this.axios, this.basePath));
3583
4358
  }
3584
4359
  }
3585
4360
 
@@ -3595,22 +4370,1432 @@ export const BusinessVerificationControllerABNVerificationTypeEnum = {
3595
4370
  export type BusinessVerificationControllerABNVerificationTypeEnum = typeof BusinessVerificationControllerABNVerificationTypeEnum[keyof typeof BusinessVerificationControllerABNVerificationTypeEnum];
3596
4371
 
3597
4372
 
3598
- /**
3599
- * DeviceApi - axios parameter creator
3600
- * @export
3601
- */
3602
- export const DeviceApiAxiosParamCreator = function (configuration?: Configuration) {
3603
- return {
4373
+ /**
4374
+ * CalendarApi - axios parameter creator
4375
+ * @export
4376
+ */
4377
+ export const CalendarApiAxiosParamCreator = function (configuration?: Configuration) {
4378
+ return {
4379
+ /**
4380
+ *
4381
+ * @param {AcceptCollaborateInvitePayload} acceptCollaborateInvitePayload
4382
+ * @param {*} [options] Override http request option.
4383
+ * @throws {RequiredError}
4384
+ */
4385
+ calendarControllerAcceptCalendarInvite: async (acceptCollaborateInvitePayload: AcceptCollaborateInvitePayload, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
4386
+ // verify required parameter 'acceptCollaborateInvitePayload' is not null or undefined
4387
+ assertParamExists('calendarControllerAcceptCalendarInvite', 'acceptCollaborateInvitePayload', acceptCollaborateInvitePayload)
4388
+ const localVarPath = `/v1/calendar/invite/accept`;
4389
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
4390
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
4391
+ let baseOptions;
4392
+ if (configuration) {
4393
+ baseOptions = configuration.baseOptions;
4394
+ }
4395
+
4396
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
4397
+ const localVarHeaderParameter = {} as any;
4398
+ const localVarQueryParameter = {} as any;
4399
+
4400
+ // authentication bearer required
4401
+ // http bearer authentication required
4402
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
4403
+
4404
+
4405
+
4406
+ localVarHeaderParameter['Content-Type'] = 'application/json';
4407
+
4408
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
4409
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
4410
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
4411
+ localVarRequestOptions.data = serializeDataIfNeeded(acceptCollaborateInvitePayload, localVarRequestOptions, configuration)
4412
+
4413
+ return {
4414
+ url: toPathString(localVarUrlObj),
4415
+ options: localVarRequestOptions,
4416
+ };
4417
+ },
4418
+ /**
4419
+ *
4420
+ * @param {AvailableSlotsPayload} availableSlotsPayload
4421
+ * @param {*} [options] Override http request option.
4422
+ * @throws {RequiredError}
4423
+ */
4424
+ calendarControllerAvailableSlots: async (availableSlotsPayload: AvailableSlotsPayload, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
4425
+ // verify required parameter 'availableSlotsPayload' is not null or undefined
4426
+ assertParamExists('calendarControllerAvailableSlots', 'availableSlotsPayload', availableSlotsPayload)
4427
+ const localVarPath = `/v1/calendar/slots`;
4428
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
4429
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
4430
+ let baseOptions;
4431
+ if (configuration) {
4432
+ baseOptions = configuration.baseOptions;
4433
+ }
4434
+
4435
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
4436
+ const localVarHeaderParameter = {} as any;
4437
+ const localVarQueryParameter = {} as any;
4438
+
4439
+ // authentication bearer required
4440
+ // http bearer authentication required
4441
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
4442
+
4443
+
4444
+
4445
+ localVarHeaderParameter['Content-Type'] = 'application/json';
4446
+
4447
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
4448
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
4449
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
4450
+ localVarRequestOptions.data = serializeDataIfNeeded(availableSlotsPayload, localVarRequestOptions, configuration)
4451
+
4452
+ return {
4453
+ url: toPathString(localVarUrlObj),
4454
+ options: localVarRequestOptions,
4455
+ };
4456
+ },
4457
+ /**
4458
+ *
4459
+ * @param {string} id
4460
+ * @param {*} [options] Override http request option.
4461
+ * @throws {RequiredError}
4462
+ */
4463
+ calendarControllerCollaboratorsByCalendar: async (id: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
4464
+ // verify required parameter 'id' is not null or undefined
4465
+ assertParamExists('calendarControllerCollaboratorsByCalendar', 'id', id)
4466
+ const localVarPath = `/v1/calendar/{id}/collaborators`
4467
+ .replace(`{${"id"}}`, encodeURIComponent(String(id)));
4468
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
4469
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
4470
+ let baseOptions;
4471
+ if (configuration) {
4472
+ baseOptions = configuration.baseOptions;
4473
+ }
4474
+
4475
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
4476
+ const localVarHeaderParameter = {} as any;
4477
+ const localVarQueryParameter = {} as any;
4478
+
4479
+ // authentication bearer required
4480
+ // http bearer authentication required
4481
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
4482
+
4483
+
4484
+
4485
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
4486
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
4487
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
4488
+
4489
+ return {
4490
+ url: toPathString(localVarUrlObj),
4491
+ options: localVarRequestOptions,
4492
+ };
4493
+ },
4494
+ /**
4495
+ *
4496
+ * @param {CreateCalendarPayload} createCalendarPayload
4497
+ * @param {*} [options] Override http request option.
4498
+ * @throws {RequiredError}
4499
+ */
4500
+ calendarControllerCreateSharedCalendar: async (createCalendarPayload: CreateCalendarPayload, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
4501
+ // verify required parameter 'createCalendarPayload' is not null or undefined
4502
+ assertParamExists('calendarControllerCreateSharedCalendar', 'createCalendarPayload', createCalendarPayload)
4503
+ const localVarPath = `/v1/calendar`;
4504
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
4505
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
4506
+ let baseOptions;
4507
+ if (configuration) {
4508
+ baseOptions = configuration.baseOptions;
4509
+ }
4510
+
4511
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
4512
+ const localVarHeaderParameter = {} as any;
4513
+ const localVarQueryParameter = {} as any;
4514
+
4515
+ // authentication bearer required
4516
+ // http bearer authentication required
4517
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
4518
+
4519
+
4520
+
4521
+ localVarHeaderParameter['Content-Type'] = 'application/json';
4522
+
4523
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
4524
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
4525
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
4526
+ localVarRequestOptions.data = serializeDataIfNeeded(createCalendarPayload, localVarRequestOptions, configuration)
4527
+
4528
+ return {
4529
+ url: toPathString(localVarUrlObj),
4530
+ options: localVarRequestOptions,
4531
+ };
4532
+ },
4533
+ /**
4534
+ *
4535
+ * @param {CalendarEventsListPayload} calendarEventsListPayload
4536
+ * @param {*} [options] Override http request option.
4537
+ * @throws {RequiredError}
4538
+ */
4539
+ calendarControllerListEvents: async (calendarEventsListPayload: CalendarEventsListPayload, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
4540
+ // verify required parameter 'calendarEventsListPayload' is not null or undefined
4541
+ assertParamExists('calendarControllerListEvents', 'calendarEventsListPayload', calendarEventsListPayload)
4542
+ const localVarPath = `/v1/calendar/events`;
4543
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
4544
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
4545
+ let baseOptions;
4546
+ if (configuration) {
4547
+ baseOptions = configuration.baseOptions;
4548
+ }
4549
+
4550
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
4551
+ const localVarHeaderParameter = {} as any;
4552
+ const localVarQueryParameter = {} as any;
4553
+
4554
+ // authentication bearer required
4555
+ // http bearer authentication required
4556
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
4557
+
4558
+
4559
+
4560
+ localVarHeaderParameter['Content-Type'] = 'application/json';
4561
+
4562
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
4563
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
4564
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
4565
+ localVarRequestOptions.data = serializeDataIfNeeded(calendarEventsListPayload, localVarRequestOptions, configuration)
4566
+
4567
+ return {
4568
+ url: toPathString(localVarUrlObj),
4569
+ options: localVarRequestOptions,
4570
+ };
4571
+ },
4572
+ /**
4573
+ *
4574
+ * @param {*} [options] Override http request option.
4575
+ * @throws {RequiredError}
4576
+ */
4577
+ calendarControllerListMyCalendar: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
4578
+ const localVarPath = `/v1/calendar`;
4579
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
4580
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
4581
+ let baseOptions;
4582
+ if (configuration) {
4583
+ baseOptions = configuration.baseOptions;
4584
+ }
4585
+
4586
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
4587
+ const localVarHeaderParameter = {} as any;
4588
+ const localVarQueryParameter = {} as any;
4589
+
4590
+ // authentication bearer required
4591
+ // http bearer authentication required
4592
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
4593
+
4594
+
4595
+
4596
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
4597
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
4598
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
4599
+
4600
+ return {
4601
+ url: toPathString(localVarUrlObj),
4602
+ options: localVarRequestOptions,
4603
+ };
4604
+ },
4605
+ /**
4606
+ *
4607
+ * @param {RejectCollaborateInvitePayload} rejectCollaborateInvitePayload
4608
+ * @param {*} [options] Override http request option.
4609
+ * @throws {RequiredError}
4610
+ */
4611
+ calendarControllerRejectCalendarInvite: async (rejectCollaborateInvitePayload: RejectCollaborateInvitePayload, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
4612
+ // verify required parameter 'rejectCollaborateInvitePayload' is not null or undefined
4613
+ assertParamExists('calendarControllerRejectCalendarInvite', 'rejectCollaborateInvitePayload', rejectCollaborateInvitePayload)
4614
+ const localVarPath = `/v1/calendar/invite/reject`;
4615
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
4616
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
4617
+ let baseOptions;
4618
+ if (configuration) {
4619
+ baseOptions = configuration.baseOptions;
4620
+ }
4621
+
4622
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
4623
+ const localVarHeaderParameter = {} as any;
4624
+ const localVarQueryParameter = {} as any;
4625
+
4626
+ // authentication bearer required
4627
+ // http bearer authentication required
4628
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
4629
+
4630
+
4631
+
4632
+ localVarHeaderParameter['Content-Type'] = 'application/json';
4633
+
4634
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
4635
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
4636
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
4637
+ localVarRequestOptions.data = serializeDataIfNeeded(rejectCollaborateInvitePayload, localVarRequestOptions, configuration)
4638
+
4639
+ return {
4640
+ url: toPathString(localVarUrlObj),
4641
+ options: localVarRequestOptions,
4642
+ };
4643
+ },
4644
+ /**
4645
+ *
4646
+ * @param {RemoveCalendarPayload} removeCalendarPayload
4647
+ * @param {*} [options] Override http request option.
4648
+ * @throws {RequiredError}
4649
+ */
4650
+ calendarControllerRemoveCalendar: async (removeCalendarPayload: RemoveCalendarPayload, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
4651
+ // verify required parameter 'removeCalendarPayload' is not null or undefined
4652
+ assertParamExists('calendarControllerRemoveCalendar', 'removeCalendarPayload', removeCalendarPayload)
4653
+ const localVarPath = `/v1/calendar`;
4654
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
4655
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
4656
+ let baseOptions;
4657
+ if (configuration) {
4658
+ baseOptions = configuration.baseOptions;
4659
+ }
4660
+
4661
+ const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
4662
+ const localVarHeaderParameter = {} as any;
4663
+ const localVarQueryParameter = {} as any;
4664
+
4665
+ // authentication bearer required
4666
+ // http bearer authentication required
4667
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
4668
+
4669
+
4670
+
4671
+ localVarHeaderParameter['Content-Type'] = 'application/json';
4672
+
4673
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
4674
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
4675
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
4676
+ localVarRequestOptions.data = serializeDataIfNeeded(removeCalendarPayload, localVarRequestOptions, configuration)
4677
+
4678
+ return {
4679
+ url: toPathString(localVarUrlObj),
4680
+ options: localVarRequestOptions,
4681
+ };
4682
+ },
4683
+ /**
4684
+ *
4685
+ * @param {RenameCalendarPayload} renameCalendarPayload
4686
+ * @param {*} [options] Override http request option.
4687
+ * @throws {RequiredError}
4688
+ */
4689
+ calendarControllerRenameCalendar: async (renameCalendarPayload: RenameCalendarPayload, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
4690
+ // verify required parameter 'renameCalendarPayload' is not null or undefined
4691
+ assertParamExists('calendarControllerRenameCalendar', 'renameCalendarPayload', renameCalendarPayload)
4692
+ const localVarPath = `/v1/calendar/rename`;
4693
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
4694
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
4695
+ let baseOptions;
4696
+ if (configuration) {
4697
+ baseOptions = configuration.baseOptions;
4698
+ }
4699
+
4700
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
4701
+ const localVarHeaderParameter = {} as any;
4702
+ const localVarQueryParameter = {} as any;
4703
+
4704
+ // authentication bearer required
4705
+ // http bearer authentication required
4706
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
4707
+
4708
+
4709
+
4710
+ localVarHeaderParameter['Content-Type'] = 'application/json';
4711
+
4712
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
4713
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
4714
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
4715
+ localVarRequestOptions.data = serializeDataIfNeeded(renameCalendarPayload, localVarRequestOptions, configuration)
4716
+
4717
+ return {
4718
+ url: toPathString(localVarUrlObj),
4719
+ options: localVarRequestOptions,
4720
+ };
4721
+ },
4722
+ /**
4723
+ *
4724
+ * @param {SendCollaborateInvitePayload} sendCollaborateInvitePayload
4725
+ * @param {*} [options] Override http request option.
4726
+ * @throws {RequiredError}
4727
+ */
4728
+ calendarControllerSendCalendarInvite: async (sendCollaborateInvitePayload: SendCollaborateInvitePayload, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
4729
+ // verify required parameter 'sendCollaborateInvitePayload' is not null or undefined
4730
+ assertParamExists('calendarControllerSendCalendarInvite', 'sendCollaborateInvitePayload', sendCollaborateInvitePayload)
4731
+ const localVarPath = `/v1/calendar/invite`;
4732
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
4733
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
4734
+ let baseOptions;
4735
+ if (configuration) {
4736
+ baseOptions = configuration.baseOptions;
4737
+ }
4738
+
4739
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
4740
+ const localVarHeaderParameter = {} as any;
4741
+ const localVarQueryParameter = {} as any;
4742
+
4743
+ // authentication bearer required
4744
+ // http bearer authentication required
4745
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
4746
+
4747
+
4748
+
4749
+ localVarHeaderParameter['Content-Type'] = 'application/json';
4750
+
4751
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
4752
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
4753
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
4754
+ localVarRequestOptions.data = serializeDataIfNeeded(sendCollaborateInvitePayload, localVarRequestOptions, configuration)
4755
+
4756
+ return {
4757
+ url: toPathString(localVarUrlObj),
4758
+ options: localVarRequestOptions,
4759
+ };
4760
+ },
4761
+ }
4762
+ };
4763
+
4764
+ /**
4765
+ * CalendarApi - functional programming interface
4766
+ * @export
4767
+ */
4768
+ export const CalendarApiFp = function(configuration?: Configuration) {
4769
+ const localVarAxiosParamCreator = CalendarApiAxiosParamCreator(configuration)
4770
+ return {
4771
+ /**
4772
+ *
4773
+ * @param {AcceptCollaborateInvitePayload} acceptCollaborateInvitePayload
4774
+ * @param {*} [options] Override http request option.
4775
+ * @throws {RequiredError}
4776
+ */
4777
+ async calendarControllerAcceptCalendarInvite(acceptCollaborateInvitePayload: AcceptCollaborateInvitePayload, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CalendarDTO>> {
4778
+ const localVarAxiosArgs = await localVarAxiosParamCreator.calendarControllerAcceptCalendarInvite(acceptCollaborateInvitePayload, options);
4779
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
4780
+ const localVarOperationServerBasePath = operationServerMap['CalendarApi.calendarControllerAcceptCalendarInvite']?.[localVarOperationServerIndex]?.url;
4781
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
4782
+ },
4783
+ /**
4784
+ *
4785
+ * @param {AvailableSlotsPayload} availableSlotsPayload
4786
+ * @param {*} [options] Override http request option.
4787
+ * @throws {RequiredError}
4788
+ */
4789
+ async calendarControllerAvailableSlots(availableSlotsPayload: AvailableSlotsPayload, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CalendarSlotsDTO>> {
4790
+ const localVarAxiosArgs = await localVarAxiosParamCreator.calendarControllerAvailableSlots(availableSlotsPayload, options);
4791
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
4792
+ const localVarOperationServerBasePath = operationServerMap['CalendarApi.calendarControllerAvailableSlots']?.[localVarOperationServerIndex]?.url;
4793
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
4794
+ },
4795
+ /**
4796
+ *
4797
+ * @param {string} id
4798
+ * @param {*} [options] Override http request option.
4799
+ * @throws {RequiredError}
4800
+ */
4801
+ async calendarControllerCollaboratorsByCalendar(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
4802
+ const localVarAxiosArgs = await localVarAxiosParamCreator.calendarControllerCollaboratorsByCalendar(id, options);
4803
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
4804
+ const localVarOperationServerBasePath = operationServerMap['CalendarApi.calendarControllerCollaboratorsByCalendar']?.[localVarOperationServerIndex]?.url;
4805
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
4806
+ },
4807
+ /**
4808
+ *
4809
+ * @param {CreateCalendarPayload} createCalendarPayload
4810
+ * @param {*} [options] Override http request option.
4811
+ * @throws {RequiredError}
4812
+ */
4813
+ async calendarControllerCreateSharedCalendar(createCalendarPayload: CreateCalendarPayload, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CalendarResponseDTO>> {
4814
+ const localVarAxiosArgs = await localVarAxiosParamCreator.calendarControllerCreateSharedCalendar(createCalendarPayload, options);
4815
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
4816
+ const localVarOperationServerBasePath = operationServerMap['CalendarApi.calendarControllerCreateSharedCalendar']?.[localVarOperationServerIndex]?.url;
4817
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
4818
+ },
4819
+ /**
4820
+ *
4821
+ * @param {CalendarEventsListPayload} calendarEventsListPayload
4822
+ * @param {*} [options] Override http request option.
4823
+ * @throws {RequiredError}
4824
+ */
4825
+ async calendarControllerListEvents(calendarEventsListPayload: CalendarEventsListPayload, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
4826
+ const localVarAxiosArgs = await localVarAxiosParamCreator.calendarControllerListEvents(calendarEventsListPayload, options);
4827
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
4828
+ const localVarOperationServerBasePath = operationServerMap['CalendarApi.calendarControllerListEvents']?.[localVarOperationServerIndex]?.url;
4829
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
4830
+ },
4831
+ /**
4832
+ *
4833
+ * @param {*} [options] Override http request option.
4834
+ * @throws {RequiredError}
4835
+ */
4836
+ async calendarControllerListMyCalendar(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CalendarListResponseDTO>> {
4837
+ const localVarAxiosArgs = await localVarAxiosParamCreator.calendarControllerListMyCalendar(options);
4838
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
4839
+ const localVarOperationServerBasePath = operationServerMap['CalendarApi.calendarControllerListMyCalendar']?.[localVarOperationServerIndex]?.url;
4840
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
4841
+ },
4842
+ /**
4843
+ *
4844
+ * @param {RejectCollaborateInvitePayload} rejectCollaborateInvitePayload
4845
+ * @param {*} [options] Override http request option.
4846
+ * @throws {RequiredError}
4847
+ */
4848
+ async calendarControllerRejectCalendarInvite(rejectCollaborateInvitePayload: RejectCollaborateInvitePayload, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CalendarDTO>> {
4849
+ const localVarAxiosArgs = await localVarAxiosParamCreator.calendarControllerRejectCalendarInvite(rejectCollaborateInvitePayload, options);
4850
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
4851
+ const localVarOperationServerBasePath = operationServerMap['CalendarApi.calendarControllerRejectCalendarInvite']?.[localVarOperationServerIndex]?.url;
4852
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
4853
+ },
4854
+ /**
4855
+ *
4856
+ * @param {RemoveCalendarPayload} removeCalendarPayload
4857
+ * @param {*} [options] Override http request option.
4858
+ * @throws {RequiredError}
4859
+ */
4860
+ async calendarControllerRemoveCalendar(removeCalendarPayload: RemoveCalendarPayload, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CalendarDTO>> {
4861
+ const localVarAxiosArgs = await localVarAxiosParamCreator.calendarControllerRemoveCalendar(removeCalendarPayload, options);
4862
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
4863
+ const localVarOperationServerBasePath = operationServerMap['CalendarApi.calendarControllerRemoveCalendar']?.[localVarOperationServerIndex]?.url;
4864
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
4865
+ },
4866
+ /**
4867
+ *
4868
+ * @param {RenameCalendarPayload} renameCalendarPayload
4869
+ * @param {*} [options] Override http request option.
4870
+ * @throws {RequiredError}
4871
+ */
4872
+ async calendarControllerRenameCalendar(renameCalendarPayload: RenameCalendarPayload, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CalendarDTO>> {
4873
+ const localVarAxiosArgs = await localVarAxiosParamCreator.calendarControllerRenameCalendar(renameCalendarPayload, options);
4874
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
4875
+ const localVarOperationServerBasePath = operationServerMap['CalendarApi.calendarControllerRenameCalendar']?.[localVarOperationServerIndex]?.url;
4876
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
4877
+ },
4878
+ /**
4879
+ *
4880
+ * @param {SendCollaborateInvitePayload} sendCollaborateInvitePayload
4881
+ * @param {*} [options] Override http request option.
4882
+ * @throws {RequiredError}
4883
+ */
4884
+ async calendarControllerSendCalendarInvite(sendCollaborateInvitePayload: SendCollaborateInvitePayload, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CalendarDTO>> {
4885
+ const localVarAxiosArgs = await localVarAxiosParamCreator.calendarControllerSendCalendarInvite(sendCollaborateInvitePayload, options);
4886
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
4887
+ const localVarOperationServerBasePath = operationServerMap['CalendarApi.calendarControllerSendCalendarInvite']?.[localVarOperationServerIndex]?.url;
4888
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
4889
+ },
4890
+ }
4891
+ };
4892
+
4893
+ /**
4894
+ * CalendarApi - factory interface
4895
+ * @export
4896
+ */
4897
+ export const CalendarApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
4898
+ const localVarFp = CalendarApiFp(configuration)
4899
+ return {
4900
+ /**
4901
+ *
4902
+ * @param {AcceptCollaborateInvitePayload} acceptCollaborateInvitePayload
4903
+ * @param {*} [options] Override http request option.
4904
+ * @throws {RequiredError}
4905
+ */
4906
+ calendarControllerAcceptCalendarInvite(acceptCollaborateInvitePayload: AcceptCollaborateInvitePayload, options?: RawAxiosRequestConfig): AxiosPromise<CalendarDTO> {
4907
+ return localVarFp.calendarControllerAcceptCalendarInvite(acceptCollaborateInvitePayload, options).then((request) => request(axios, basePath));
4908
+ },
4909
+ /**
4910
+ *
4911
+ * @param {AvailableSlotsPayload} availableSlotsPayload
4912
+ * @param {*} [options] Override http request option.
4913
+ * @throws {RequiredError}
4914
+ */
4915
+ calendarControllerAvailableSlots(availableSlotsPayload: AvailableSlotsPayload, options?: RawAxiosRequestConfig): AxiosPromise<CalendarSlotsDTO> {
4916
+ return localVarFp.calendarControllerAvailableSlots(availableSlotsPayload, options).then((request) => request(axios, basePath));
4917
+ },
4918
+ /**
4919
+ *
4920
+ * @param {string} id
4921
+ * @param {*} [options] Override http request option.
4922
+ * @throws {RequiredError}
4923
+ */
4924
+ calendarControllerCollaboratorsByCalendar(id: string, options?: RawAxiosRequestConfig): AxiosPromise<void> {
4925
+ return localVarFp.calendarControllerCollaboratorsByCalendar(id, options).then((request) => request(axios, basePath));
4926
+ },
4927
+ /**
4928
+ *
4929
+ * @param {CreateCalendarPayload} createCalendarPayload
4930
+ * @param {*} [options] Override http request option.
4931
+ * @throws {RequiredError}
4932
+ */
4933
+ calendarControllerCreateSharedCalendar(createCalendarPayload: CreateCalendarPayload, options?: RawAxiosRequestConfig): AxiosPromise<CalendarResponseDTO> {
4934
+ return localVarFp.calendarControllerCreateSharedCalendar(createCalendarPayload, options).then((request) => request(axios, basePath));
4935
+ },
4936
+ /**
4937
+ *
4938
+ * @param {CalendarEventsListPayload} calendarEventsListPayload
4939
+ * @param {*} [options] Override http request option.
4940
+ * @throws {RequiredError}
4941
+ */
4942
+ calendarControllerListEvents(calendarEventsListPayload: CalendarEventsListPayload, options?: RawAxiosRequestConfig): AxiosPromise<void> {
4943
+ return localVarFp.calendarControllerListEvents(calendarEventsListPayload, options).then((request) => request(axios, basePath));
4944
+ },
4945
+ /**
4946
+ *
4947
+ * @param {*} [options] Override http request option.
4948
+ * @throws {RequiredError}
4949
+ */
4950
+ calendarControllerListMyCalendar(options?: RawAxiosRequestConfig): AxiosPromise<CalendarListResponseDTO> {
4951
+ return localVarFp.calendarControllerListMyCalendar(options).then((request) => request(axios, basePath));
4952
+ },
4953
+ /**
4954
+ *
4955
+ * @param {RejectCollaborateInvitePayload} rejectCollaborateInvitePayload
4956
+ * @param {*} [options] Override http request option.
4957
+ * @throws {RequiredError}
4958
+ */
4959
+ calendarControllerRejectCalendarInvite(rejectCollaborateInvitePayload: RejectCollaborateInvitePayload, options?: RawAxiosRequestConfig): AxiosPromise<CalendarDTO> {
4960
+ return localVarFp.calendarControllerRejectCalendarInvite(rejectCollaborateInvitePayload, options).then((request) => request(axios, basePath));
4961
+ },
4962
+ /**
4963
+ *
4964
+ * @param {RemoveCalendarPayload} removeCalendarPayload
4965
+ * @param {*} [options] Override http request option.
4966
+ * @throws {RequiredError}
4967
+ */
4968
+ calendarControllerRemoveCalendar(removeCalendarPayload: RemoveCalendarPayload, options?: RawAxiosRequestConfig): AxiosPromise<CalendarDTO> {
4969
+ return localVarFp.calendarControllerRemoveCalendar(removeCalendarPayload, options).then((request) => request(axios, basePath));
4970
+ },
4971
+ /**
4972
+ *
4973
+ * @param {RenameCalendarPayload} renameCalendarPayload
4974
+ * @param {*} [options] Override http request option.
4975
+ * @throws {RequiredError}
4976
+ */
4977
+ calendarControllerRenameCalendar(renameCalendarPayload: RenameCalendarPayload, options?: RawAxiosRequestConfig): AxiosPromise<CalendarDTO> {
4978
+ return localVarFp.calendarControllerRenameCalendar(renameCalendarPayload, options).then((request) => request(axios, basePath));
4979
+ },
4980
+ /**
4981
+ *
4982
+ * @param {SendCollaborateInvitePayload} sendCollaborateInvitePayload
4983
+ * @param {*} [options] Override http request option.
4984
+ * @throws {RequiredError}
4985
+ */
4986
+ calendarControllerSendCalendarInvite(sendCollaborateInvitePayload: SendCollaborateInvitePayload, options?: RawAxiosRequestConfig): AxiosPromise<CalendarDTO> {
4987
+ return localVarFp.calendarControllerSendCalendarInvite(sendCollaborateInvitePayload, options).then((request) => request(axios, basePath));
4988
+ },
4989
+ };
4990
+ };
4991
+
4992
+ /**
4993
+ * CalendarApi - object-oriented interface
4994
+ * @export
4995
+ * @class CalendarApi
4996
+ * @extends {BaseAPI}
4997
+ */
4998
+ export class CalendarApi extends BaseAPI {
4999
+ /**
5000
+ *
5001
+ * @param {AcceptCollaborateInvitePayload} acceptCollaborateInvitePayload
5002
+ * @param {*} [options] Override http request option.
5003
+ * @throws {RequiredError}
5004
+ * @memberof CalendarApi
5005
+ */
5006
+ public calendarControllerAcceptCalendarInvite(acceptCollaborateInvitePayload: AcceptCollaborateInvitePayload, options?: RawAxiosRequestConfig) {
5007
+ return CalendarApiFp(this.configuration).calendarControllerAcceptCalendarInvite(acceptCollaborateInvitePayload, options).then((request) => request(this.axios, this.basePath));
5008
+ }
5009
+
5010
+ /**
5011
+ *
5012
+ * @param {AvailableSlotsPayload} availableSlotsPayload
5013
+ * @param {*} [options] Override http request option.
5014
+ * @throws {RequiredError}
5015
+ * @memberof CalendarApi
5016
+ */
5017
+ public calendarControllerAvailableSlots(availableSlotsPayload: AvailableSlotsPayload, options?: RawAxiosRequestConfig) {
5018
+ return CalendarApiFp(this.configuration).calendarControllerAvailableSlots(availableSlotsPayload, options).then((request) => request(this.axios, this.basePath));
5019
+ }
5020
+
5021
+ /**
5022
+ *
5023
+ * @param {string} id
5024
+ * @param {*} [options] Override http request option.
5025
+ * @throws {RequiredError}
5026
+ * @memberof CalendarApi
5027
+ */
5028
+ public calendarControllerCollaboratorsByCalendar(id: string, options?: RawAxiosRequestConfig) {
5029
+ return CalendarApiFp(this.configuration).calendarControllerCollaboratorsByCalendar(id, options).then((request) => request(this.axios, this.basePath));
5030
+ }
5031
+
5032
+ /**
5033
+ *
5034
+ * @param {CreateCalendarPayload} createCalendarPayload
5035
+ * @param {*} [options] Override http request option.
5036
+ * @throws {RequiredError}
5037
+ * @memberof CalendarApi
5038
+ */
5039
+ public calendarControllerCreateSharedCalendar(createCalendarPayload: CreateCalendarPayload, options?: RawAxiosRequestConfig) {
5040
+ return CalendarApiFp(this.configuration).calendarControllerCreateSharedCalendar(createCalendarPayload, options).then((request) => request(this.axios, this.basePath));
5041
+ }
5042
+
5043
+ /**
5044
+ *
5045
+ * @param {CalendarEventsListPayload} calendarEventsListPayload
5046
+ * @param {*} [options] Override http request option.
5047
+ * @throws {RequiredError}
5048
+ * @memberof CalendarApi
5049
+ */
5050
+ public calendarControllerListEvents(calendarEventsListPayload: CalendarEventsListPayload, options?: RawAxiosRequestConfig) {
5051
+ return CalendarApiFp(this.configuration).calendarControllerListEvents(calendarEventsListPayload, options).then((request) => request(this.axios, this.basePath));
5052
+ }
5053
+
5054
+ /**
5055
+ *
5056
+ * @param {*} [options] Override http request option.
5057
+ * @throws {RequiredError}
5058
+ * @memberof CalendarApi
5059
+ */
5060
+ public calendarControllerListMyCalendar(options?: RawAxiosRequestConfig) {
5061
+ return CalendarApiFp(this.configuration).calendarControllerListMyCalendar(options).then((request) => request(this.axios, this.basePath));
5062
+ }
5063
+
5064
+ /**
5065
+ *
5066
+ * @param {RejectCollaborateInvitePayload} rejectCollaborateInvitePayload
5067
+ * @param {*} [options] Override http request option.
5068
+ * @throws {RequiredError}
5069
+ * @memberof CalendarApi
5070
+ */
5071
+ public calendarControllerRejectCalendarInvite(rejectCollaborateInvitePayload: RejectCollaborateInvitePayload, options?: RawAxiosRequestConfig) {
5072
+ return CalendarApiFp(this.configuration).calendarControllerRejectCalendarInvite(rejectCollaborateInvitePayload, options).then((request) => request(this.axios, this.basePath));
5073
+ }
5074
+
5075
+ /**
5076
+ *
5077
+ * @param {RemoveCalendarPayload} removeCalendarPayload
5078
+ * @param {*} [options] Override http request option.
5079
+ * @throws {RequiredError}
5080
+ * @memberof CalendarApi
5081
+ */
5082
+ public calendarControllerRemoveCalendar(removeCalendarPayload: RemoveCalendarPayload, options?: RawAxiosRequestConfig) {
5083
+ return CalendarApiFp(this.configuration).calendarControllerRemoveCalendar(removeCalendarPayload, options).then((request) => request(this.axios, this.basePath));
5084
+ }
5085
+
5086
+ /**
5087
+ *
5088
+ * @param {RenameCalendarPayload} renameCalendarPayload
5089
+ * @param {*} [options] Override http request option.
5090
+ * @throws {RequiredError}
5091
+ * @memberof CalendarApi
5092
+ */
5093
+ public calendarControllerRenameCalendar(renameCalendarPayload: RenameCalendarPayload, options?: RawAxiosRequestConfig) {
5094
+ return CalendarApiFp(this.configuration).calendarControllerRenameCalendar(renameCalendarPayload, options).then((request) => request(this.axios, this.basePath));
5095
+ }
5096
+
5097
+ /**
5098
+ *
5099
+ * @param {SendCollaborateInvitePayload} sendCollaborateInvitePayload
5100
+ * @param {*} [options] Override http request option.
5101
+ * @throws {RequiredError}
5102
+ * @memberof CalendarApi
5103
+ */
5104
+ public calendarControllerSendCalendarInvite(sendCollaborateInvitePayload: SendCollaborateInvitePayload, options?: RawAxiosRequestConfig) {
5105
+ return CalendarApiFp(this.configuration).calendarControllerSendCalendarInvite(sendCollaborateInvitePayload, options).then((request) => request(this.axios, this.basePath));
5106
+ }
5107
+ }
5108
+
5109
+
5110
+
5111
+ /**
5112
+ * DeviceApi - axios parameter creator
5113
+ * @export
5114
+ */
5115
+ export const DeviceApiAxiosParamCreator = function (configuration?: Configuration) {
5116
+ return {
5117
+ /**
5118
+ *
5119
+ * @param {AddDevicePayload} addDevicePayload
5120
+ * @param {*} [options] Override http request option.
5121
+ * @throws {RequiredError}
5122
+ */
5123
+ deviceControllerAddDevice: async (addDevicePayload: AddDevicePayload, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
5124
+ // verify required parameter 'addDevicePayload' is not null or undefined
5125
+ assertParamExists('deviceControllerAddDevice', 'addDevicePayload', addDevicePayload)
5126
+ const localVarPath = `/v1/device`;
5127
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
5128
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
5129
+ let baseOptions;
5130
+ if (configuration) {
5131
+ baseOptions = configuration.baseOptions;
5132
+ }
5133
+
5134
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
5135
+ const localVarHeaderParameter = {} as any;
5136
+ const localVarQueryParameter = {} as any;
5137
+
5138
+ // authentication bearer required
5139
+ // http bearer authentication required
5140
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
5141
+
5142
+
5143
+
5144
+ localVarHeaderParameter['Content-Type'] = 'application/json';
5145
+
5146
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
5147
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
5148
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
5149
+ localVarRequestOptions.data = serializeDataIfNeeded(addDevicePayload, localVarRequestOptions, configuration)
5150
+
5151
+ return {
5152
+ url: toPathString(localVarUrlObj),
5153
+ options: localVarRequestOptions,
5154
+ };
5155
+ },
5156
+ }
5157
+ };
5158
+
5159
+ /**
5160
+ * DeviceApi - functional programming interface
5161
+ * @export
5162
+ */
5163
+ export const DeviceApiFp = function(configuration?: Configuration) {
5164
+ const localVarAxiosParamCreator = DeviceApiAxiosParamCreator(configuration)
5165
+ return {
5166
+ /**
5167
+ *
5168
+ * @param {AddDevicePayload} addDevicePayload
5169
+ * @param {*} [options] Override http request option.
5170
+ * @throws {RequiredError}
5171
+ */
5172
+ async deviceControllerAddDevice(addDevicePayload: AddDevicePayload, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DeviceAddResponse>> {
5173
+ const localVarAxiosArgs = await localVarAxiosParamCreator.deviceControllerAddDevice(addDevicePayload, options);
5174
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
5175
+ const localVarOperationServerBasePath = operationServerMap['DeviceApi.deviceControllerAddDevice']?.[localVarOperationServerIndex]?.url;
5176
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
5177
+ },
5178
+ }
5179
+ };
5180
+
5181
+ /**
5182
+ * DeviceApi - factory interface
5183
+ * @export
5184
+ */
5185
+ export const DeviceApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
5186
+ const localVarFp = DeviceApiFp(configuration)
5187
+ return {
5188
+ /**
5189
+ *
5190
+ * @param {AddDevicePayload} addDevicePayload
5191
+ * @param {*} [options] Override http request option.
5192
+ * @throws {RequiredError}
5193
+ */
5194
+ deviceControllerAddDevice(addDevicePayload: AddDevicePayload, options?: RawAxiosRequestConfig): AxiosPromise<DeviceAddResponse> {
5195
+ return localVarFp.deviceControllerAddDevice(addDevicePayload, options).then((request) => request(axios, basePath));
5196
+ },
5197
+ };
5198
+ };
5199
+
5200
+ /**
5201
+ * DeviceApi - object-oriented interface
5202
+ * @export
5203
+ * @class DeviceApi
5204
+ * @extends {BaseAPI}
5205
+ */
5206
+ export class DeviceApi extends BaseAPI {
5207
+ /**
5208
+ *
5209
+ * @param {AddDevicePayload} addDevicePayload
5210
+ * @param {*} [options] Override http request option.
5211
+ * @throws {RequiredError}
5212
+ * @memberof DeviceApi
5213
+ */
5214
+ public deviceControllerAddDevice(addDevicePayload: AddDevicePayload, options?: RawAxiosRequestConfig) {
5215
+ return DeviceApiFp(this.configuration).deviceControllerAddDevice(addDevicePayload, options).then((request) => request(this.axios, this.basePath));
5216
+ }
5217
+ }
5218
+
5219
+
5220
+
5221
+ /**
5222
+ * EventsApi - axios parameter creator
5223
+ * @export
5224
+ */
5225
+ export const EventsApiAxiosParamCreator = function (configuration?: Configuration) {
5226
+ return {
5227
+ /**
5228
+ *
5229
+ * @param {AcceptEventInvitePayload} acceptEventInvitePayload
5230
+ * @param {*} [options] Override http request option.
5231
+ * @throws {RequiredError}
5232
+ */
5233
+ eventControllerAcceptEventInvite: async (acceptEventInvitePayload: AcceptEventInvitePayload, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
5234
+ // verify required parameter 'acceptEventInvitePayload' is not null or undefined
5235
+ assertParamExists('eventControllerAcceptEventInvite', 'acceptEventInvitePayload', acceptEventInvitePayload)
5236
+ const localVarPath = `/v1/event/accept`;
5237
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
5238
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
5239
+ let baseOptions;
5240
+ if (configuration) {
5241
+ baseOptions = configuration.baseOptions;
5242
+ }
5243
+
5244
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
5245
+ const localVarHeaderParameter = {} as any;
5246
+ const localVarQueryParameter = {} as any;
5247
+
5248
+ // authentication bearer required
5249
+ // http bearer authentication required
5250
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
5251
+
5252
+
5253
+
5254
+ localVarHeaderParameter['Content-Type'] = 'application/json';
5255
+
5256
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
5257
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
5258
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
5259
+ localVarRequestOptions.data = serializeDataIfNeeded(acceptEventInvitePayload, localVarRequestOptions, configuration)
5260
+
5261
+ return {
5262
+ url: toPathString(localVarUrlObj),
5263
+ options: localVarRequestOptions,
5264
+ };
5265
+ },
5266
+ /**
5267
+ *
5268
+ * @param {CreateEventPayload} createEventPayload
5269
+ * @param {*} [options] Override http request option.
5270
+ * @throws {RequiredError}
5271
+ */
5272
+ eventControllerCreateEvents: async (createEventPayload: CreateEventPayload, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
5273
+ // verify required parameter 'createEventPayload' is not null or undefined
5274
+ assertParamExists('eventControllerCreateEvents', 'createEventPayload', createEventPayload)
5275
+ const localVarPath = `/v1/event`;
5276
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
5277
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
5278
+ let baseOptions;
5279
+ if (configuration) {
5280
+ baseOptions = configuration.baseOptions;
5281
+ }
5282
+
5283
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
5284
+ const localVarHeaderParameter = {} as any;
5285
+ const localVarQueryParameter = {} as any;
5286
+
5287
+ // authentication bearer required
5288
+ // http bearer authentication required
5289
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
5290
+
5291
+
5292
+
5293
+ localVarHeaderParameter['Content-Type'] = 'application/json';
5294
+
5295
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
5296
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
5297
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
5298
+ localVarRequestOptions.data = serializeDataIfNeeded(createEventPayload, localVarRequestOptions, configuration)
5299
+
5300
+ return {
5301
+ url: toPathString(localVarUrlObj),
5302
+ options: localVarRequestOptions,
5303
+ };
5304
+ },
5305
+ /**
5306
+ *
5307
+ * @param {string} id
5308
+ * @param {*} [options] Override http request option.
5309
+ * @throws {RequiredError}
5310
+ */
5311
+ eventControllerEventDetail: async (id: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
5312
+ // verify required parameter 'id' is not null or undefined
5313
+ assertParamExists('eventControllerEventDetail', 'id', id)
5314
+ const localVarPath = `/v1/event/{id}`
5315
+ .replace(`{${"id"}}`, encodeURIComponent(String(id)));
5316
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
5317
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
5318
+ let baseOptions;
5319
+ if (configuration) {
5320
+ baseOptions = configuration.baseOptions;
5321
+ }
5322
+
5323
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
5324
+ const localVarHeaderParameter = {} as any;
5325
+ const localVarQueryParameter = {} as any;
5326
+
5327
+ // authentication bearer required
5328
+ // http bearer authentication required
5329
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
5330
+
5331
+
5332
+
5333
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
5334
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
5335
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
5336
+
5337
+ return {
5338
+ url: toPathString(localVarUrlObj),
5339
+ options: localVarRequestOptions,
5340
+ };
5341
+ },
5342
+ /**
5343
+ *
5344
+ * @param {RejectEventInvitePayload} rejectEventInvitePayload
5345
+ * @param {*} [options] Override http request option.
5346
+ * @throws {RequiredError}
5347
+ */
5348
+ eventControllerRejectEventInvite: async (rejectEventInvitePayload: RejectEventInvitePayload, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
5349
+ // verify required parameter 'rejectEventInvitePayload' is not null or undefined
5350
+ assertParamExists('eventControllerRejectEventInvite', 'rejectEventInvitePayload', rejectEventInvitePayload)
5351
+ const localVarPath = `/v1/event/reject`;
5352
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
5353
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
5354
+ let baseOptions;
5355
+ if (configuration) {
5356
+ baseOptions = configuration.baseOptions;
5357
+ }
5358
+
5359
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
5360
+ const localVarHeaderParameter = {} as any;
5361
+ const localVarQueryParameter = {} as any;
5362
+
5363
+ // authentication bearer required
5364
+ // http bearer authentication required
5365
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
5366
+
5367
+
5368
+
5369
+ localVarHeaderParameter['Content-Type'] = 'application/json';
5370
+
5371
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
5372
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
5373
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
5374
+ localVarRequestOptions.data = serializeDataIfNeeded(rejectEventInvitePayload, localVarRequestOptions, configuration)
5375
+
5376
+ return {
5377
+ url: toPathString(localVarUrlObj),
5378
+ options: localVarRequestOptions,
5379
+ };
5380
+ },
5381
+ }
5382
+ };
5383
+
5384
+ /**
5385
+ * EventsApi - functional programming interface
5386
+ * @export
5387
+ */
5388
+ export const EventsApiFp = function(configuration?: Configuration) {
5389
+ const localVarAxiosParamCreator = EventsApiAxiosParamCreator(configuration)
5390
+ return {
5391
+ /**
5392
+ *
5393
+ * @param {AcceptEventInvitePayload} acceptEventInvitePayload
5394
+ * @param {*} [options] Override http request option.
5395
+ * @throws {RequiredError}
5396
+ */
5397
+ async eventControllerAcceptEventInvite(acceptEventInvitePayload: AcceptEventInvitePayload, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<EventDTO>> {
5398
+ const localVarAxiosArgs = await localVarAxiosParamCreator.eventControllerAcceptEventInvite(acceptEventInvitePayload, options);
5399
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
5400
+ const localVarOperationServerBasePath = operationServerMap['EventsApi.eventControllerAcceptEventInvite']?.[localVarOperationServerIndex]?.url;
5401
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
5402
+ },
5403
+ /**
5404
+ *
5405
+ * @param {CreateEventPayload} createEventPayload
5406
+ * @param {*} [options] Override http request option.
5407
+ * @throws {RequiredError}
5408
+ */
5409
+ async eventControllerCreateEvents(createEventPayload: CreateEventPayload, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<EventResponseDTO>> {
5410
+ const localVarAxiosArgs = await localVarAxiosParamCreator.eventControllerCreateEvents(createEventPayload, options);
5411
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
5412
+ const localVarOperationServerBasePath = operationServerMap['EventsApi.eventControllerCreateEvents']?.[localVarOperationServerIndex]?.url;
5413
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
5414
+ },
5415
+ /**
5416
+ *
5417
+ * @param {string} id
5418
+ * @param {*} [options] Override http request option.
5419
+ * @throws {RequiredError}
5420
+ */
5421
+ async eventControllerEventDetail(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<EventResponseDTO>> {
5422
+ const localVarAxiosArgs = await localVarAxiosParamCreator.eventControllerEventDetail(id, options);
5423
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
5424
+ const localVarOperationServerBasePath = operationServerMap['EventsApi.eventControllerEventDetail']?.[localVarOperationServerIndex]?.url;
5425
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
5426
+ },
5427
+ /**
5428
+ *
5429
+ * @param {RejectEventInvitePayload} rejectEventInvitePayload
5430
+ * @param {*} [options] Override http request option.
5431
+ * @throws {RequiredError}
5432
+ */
5433
+ async eventControllerRejectEventInvite(rejectEventInvitePayload: RejectEventInvitePayload, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<EventDTO>> {
5434
+ const localVarAxiosArgs = await localVarAxiosParamCreator.eventControllerRejectEventInvite(rejectEventInvitePayload, options);
5435
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
5436
+ const localVarOperationServerBasePath = operationServerMap['EventsApi.eventControllerRejectEventInvite']?.[localVarOperationServerIndex]?.url;
5437
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
5438
+ },
5439
+ }
5440
+ };
5441
+
5442
+ /**
5443
+ * EventsApi - factory interface
5444
+ * @export
5445
+ */
5446
+ export const EventsApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
5447
+ const localVarFp = EventsApiFp(configuration)
5448
+ return {
5449
+ /**
5450
+ *
5451
+ * @param {AcceptEventInvitePayload} acceptEventInvitePayload
5452
+ * @param {*} [options] Override http request option.
5453
+ * @throws {RequiredError}
5454
+ */
5455
+ eventControllerAcceptEventInvite(acceptEventInvitePayload: AcceptEventInvitePayload, options?: RawAxiosRequestConfig): AxiosPromise<EventDTO> {
5456
+ return localVarFp.eventControllerAcceptEventInvite(acceptEventInvitePayload, options).then((request) => request(axios, basePath));
5457
+ },
5458
+ /**
5459
+ *
5460
+ * @param {CreateEventPayload} createEventPayload
5461
+ * @param {*} [options] Override http request option.
5462
+ * @throws {RequiredError}
5463
+ */
5464
+ eventControllerCreateEvents(createEventPayload: CreateEventPayload, options?: RawAxiosRequestConfig): AxiosPromise<EventResponseDTO> {
5465
+ return localVarFp.eventControllerCreateEvents(createEventPayload, options).then((request) => request(axios, basePath));
5466
+ },
5467
+ /**
5468
+ *
5469
+ * @param {string} id
5470
+ * @param {*} [options] Override http request option.
5471
+ * @throws {RequiredError}
5472
+ */
5473
+ eventControllerEventDetail(id: string, options?: RawAxiosRequestConfig): AxiosPromise<EventResponseDTO> {
5474
+ return localVarFp.eventControllerEventDetail(id, options).then((request) => request(axios, basePath));
5475
+ },
5476
+ /**
5477
+ *
5478
+ * @param {RejectEventInvitePayload} rejectEventInvitePayload
5479
+ * @param {*} [options] Override http request option.
5480
+ * @throws {RequiredError}
5481
+ */
5482
+ eventControllerRejectEventInvite(rejectEventInvitePayload: RejectEventInvitePayload, options?: RawAxiosRequestConfig): AxiosPromise<EventDTO> {
5483
+ return localVarFp.eventControllerRejectEventInvite(rejectEventInvitePayload, options).then((request) => request(axios, basePath));
5484
+ },
5485
+ };
5486
+ };
5487
+
5488
+ /**
5489
+ * EventsApi - object-oriented interface
5490
+ * @export
5491
+ * @class EventsApi
5492
+ * @extends {BaseAPI}
5493
+ */
5494
+ export class EventsApi extends BaseAPI {
5495
+ /**
5496
+ *
5497
+ * @param {AcceptEventInvitePayload} acceptEventInvitePayload
5498
+ * @param {*} [options] Override http request option.
5499
+ * @throws {RequiredError}
5500
+ * @memberof EventsApi
5501
+ */
5502
+ public eventControllerAcceptEventInvite(acceptEventInvitePayload: AcceptEventInvitePayload, options?: RawAxiosRequestConfig) {
5503
+ return EventsApiFp(this.configuration).eventControllerAcceptEventInvite(acceptEventInvitePayload, options).then((request) => request(this.axios, this.basePath));
5504
+ }
5505
+
5506
+ /**
5507
+ *
5508
+ * @param {CreateEventPayload} createEventPayload
5509
+ * @param {*} [options] Override http request option.
5510
+ * @throws {RequiredError}
5511
+ * @memberof EventsApi
5512
+ */
5513
+ public eventControllerCreateEvents(createEventPayload: CreateEventPayload, options?: RawAxiosRequestConfig) {
5514
+ return EventsApiFp(this.configuration).eventControllerCreateEvents(createEventPayload, options).then((request) => request(this.axios, this.basePath));
5515
+ }
5516
+
5517
+ /**
5518
+ *
5519
+ * @param {string} id
5520
+ * @param {*} [options] Override http request option.
5521
+ * @throws {RequiredError}
5522
+ * @memberof EventsApi
5523
+ */
5524
+ public eventControllerEventDetail(id: string, options?: RawAxiosRequestConfig) {
5525
+ return EventsApiFp(this.configuration).eventControllerEventDetail(id, options).then((request) => request(this.axios, this.basePath));
5526
+ }
5527
+
5528
+ /**
5529
+ *
5530
+ * @param {RejectEventInvitePayload} rejectEventInvitePayload
5531
+ * @param {*} [options] Override http request option.
5532
+ * @throws {RequiredError}
5533
+ * @memberof EventsApi
5534
+ */
5535
+ public eventControllerRejectEventInvite(rejectEventInvitePayload: RejectEventInvitePayload, options?: RawAxiosRequestConfig) {
5536
+ return EventsApiFp(this.configuration).eventControllerRejectEventInvite(rejectEventInvitePayload, options).then((request) => request(this.axios, this.basePath));
5537
+ }
5538
+ }
5539
+
5540
+
5541
+
5542
+ /**
5543
+ * FriendsApi - axios parameter creator
5544
+ * @export
5545
+ */
5546
+ export const FriendsApiAxiosParamCreator = function (configuration?: Configuration) {
5547
+ return {
5548
+ /**
5549
+ *
5550
+ * @param {ApproveFriendshipRequestPayload} approveFriendshipRequestPayload
5551
+ * @param {*} [options] Override http request option.
5552
+ * @throws {RequiredError}
5553
+ */
5554
+ friendControllerApproveFriendRequest: async (approveFriendshipRequestPayload: ApproveFriendshipRequestPayload, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
5555
+ // verify required parameter 'approveFriendshipRequestPayload' is not null or undefined
5556
+ assertParamExists('friendControllerApproveFriendRequest', 'approveFriendshipRequestPayload', approveFriendshipRequestPayload)
5557
+ const localVarPath = `/v1/friend/approve-request`;
5558
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
5559
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
5560
+ let baseOptions;
5561
+ if (configuration) {
5562
+ baseOptions = configuration.baseOptions;
5563
+ }
5564
+
5565
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
5566
+ const localVarHeaderParameter = {} as any;
5567
+ const localVarQueryParameter = {} as any;
5568
+
5569
+ // authentication bearer required
5570
+ // http bearer authentication required
5571
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
5572
+
5573
+
5574
+
5575
+ localVarHeaderParameter['Content-Type'] = 'application/json';
5576
+
5577
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
5578
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
5579
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
5580
+ localVarRequestOptions.data = serializeDataIfNeeded(approveFriendshipRequestPayload, localVarRequestOptions, configuration)
5581
+
5582
+ return {
5583
+ url: toPathString(localVarUrlObj),
5584
+ options: localVarRequestOptions,
5585
+ };
5586
+ },
5587
+ /**
5588
+ *
5589
+ * @param {DeclineFriendshipRequestPayload} declineFriendshipRequestPayload
5590
+ * @param {*} [options] Override http request option.
5591
+ * @throws {RequiredError}
5592
+ */
5593
+ friendControllerDeclineFriendRequest: async (declineFriendshipRequestPayload: DeclineFriendshipRequestPayload, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
5594
+ // verify required parameter 'declineFriendshipRequestPayload' is not null or undefined
5595
+ assertParamExists('friendControllerDeclineFriendRequest', 'declineFriendshipRequestPayload', declineFriendshipRequestPayload)
5596
+ const localVarPath = `/v1/friend/decline-request`;
5597
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
5598
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
5599
+ let baseOptions;
5600
+ if (configuration) {
5601
+ baseOptions = configuration.baseOptions;
5602
+ }
5603
+
5604
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
5605
+ const localVarHeaderParameter = {} as any;
5606
+ const localVarQueryParameter = {} as any;
5607
+
5608
+ // authentication bearer required
5609
+ // http bearer authentication required
5610
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
5611
+
5612
+
5613
+
5614
+ localVarHeaderParameter['Content-Type'] = 'application/json';
5615
+
5616
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
5617
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
5618
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
5619
+ localVarRequestOptions.data = serializeDataIfNeeded(declineFriendshipRequestPayload, localVarRequestOptions, configuration)
5620
+
5621
+ return {
5622
+ url: toPathString(localVarUrlObj),
5623
+ options: localVarRequestOptions,
5624
+ };
5625
+ },
5626
+ /**
5627
+ *
5628
+ * @param {number} page
5629
+ * @param {number} pageSize
5630
+ * @param {string} [query]
5631
+ * @param {*} [options] Override http request option.
5632
+ * @throws {RequiredError}
5633
+ */
5634
+ friendControllerFindFriends: async (page: number, pageSize: number, query?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
5635
+ // verify required parameter 'page' is not null or undefined
5636
+ assertParamExists('friendControllerFindFriends', 'page', page)
5637
+ // verify required parameter 'pageSize' is not null or undefined
5638
+ assertParamExists('friendControllerFindFriends', 'pageSize', pageSize)
5639
+ const localVarPath = `/v1/friend/find`;
5640
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
5641
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
5642
+ let baseOptions;
5643
+ if (configuration) {
5644
+ baseOptions = configuration.baseOptions;
5645
+ }
5646
+
5647
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
5648
+ const localVarHeaderParameter = {} as any;
5649
+ const localVarQueryParameter = {} as any;
5650
+
5651
+ // authentication bearer required
5652
+ // http bearer authentication required
5653
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
5654
+
5655
+ if (query !== undefined) {
5656
+ localVarQueryParameter['query'] = query;
5657
+ }
5658
+
5659
+ if (page !== undefined) {
5660
+ localVarQueryParameter['page'] = page;
5661
+ }
5662
+
5663
+ if (pageSize !== undefined) {
5664
+ localVarQueryParameter['pageSize'] = pageSize;
5665
+ }
5666
+
5667
+
5668
+
5669
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
5670
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
5671
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
5672
+
5673
+ return {
5674
+ url: toPathString(localVarUrlObj),
5675
+ options: localVarRequestOptions,
5676
+ };
5677
+ },
5678
+ /**
5679
+ *
5680
+ * @param {FriendshipStatusCheck} friendshipStatusCheck
5681
+ * @param {*} [options] Override http request option.
5682
+ * @throws {RequiredError}
5683
+ */
5684
+ friendControllerGetFriendshipStatus: async (friendshipStatusCheck: FriendshipStatusCheck, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
5685
+ // verify required parameter 'friendshipStatusCheck' is not null or undefined
5686
+ assertParamExists('friendControllerGetFriendshipStatus', 'friendshipStatusCheck', friendshipStatusCheck)
5687
+ const localVarPath = `/v1/friend/status`;
5688
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
5689
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
5690
+ let baseOptions;
5691
+ if (configuration) {
5692
+ baseOptions = configuration.baseOptions;
5693
+ }
5694
+
5695
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
5696
+ const localVarHeaderParameter = {} as any;
5697
+ const localVarQueryParameter = {} as any;
5698
+
5699
+ // authentication bearer required
5700
+ // http bearer authentication required
5701
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
5702
+
5703
+
5704
+
5705
+ localVarHeaderParameter['Content-Type'] = 'application/json';
5706
+
5707
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
5708
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
5709
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
5710
+ localVarRequestOptions.data = serializeDataIfNeeded(friendshipStatusCheck, localVarRequestOptions, configuration)
5711
+
5712
+ return {
5713
+ url: toPathString(localVarUrlObj),
5714
+ options: localVarRequestOptions,
5715
+ };
5716
+ },
5717
+ /**
5718
+ *
5719
+ * @param {*} [options] Override http request option.
5720
+ * @throws {RequiredError}
5721
+ */
5722
+ friendControllerListMyFriends: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
5723
+ const localVarPath = `/v1/friend/list`;
5724
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
5725
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
5726
+ let baseOptions;
5727
+ if (configuration) {
5728
+ baseOptions = configuration.baseOptions;
5729
+ }
5730
+
5731
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
5732
+ const localVarHeaderParameter = {} as any;
5733
+ const localVarQueryParameter = {} as any;
5734
+
5735
+ // authentication bearer required
5736
+ // http bearer authentication required
5737
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
5738
+
5739
+
5740
+
5741
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
5742
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
5743
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
5744
+
5745
+ return {
5746
+ url: toPathString(localVarUrlObj),
5747
+ options: localVarRequestOptions,
5748
+ };
5749
+ },
5750
+ /**
5751
+ *
5752
+ * @param {RemoveFriendshipRequestPayload} removeFriendshipRequestPayload
5753
+ * @param {*} [options] Override http request option.
5754
+ * @throws {RequiredError}
5755
+ */
5756
+ friendControllerRemoveFriendById: async (removeFriendshipRequestPayload: RemoveFriendshipRequestPayload, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
5757
+ // verify required parameter 'removeFriendshipRequestPayload' is not null or undefined
5758
+ assertParamExists('friendControllerRemoveFriendById', 'removeFriendshipRequestPayload', removeFriendshipRequestPayload)
5759
+ const localVarPath = `/v1/friend/remove`;
5760
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
5761
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
5762
+ let baseOptions;
5763
+ if (configuration) {
5764
+ baseOptions = configuration.baseOptions;
5765
+ }
5766
+
5767
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
5768
+ const localVarHeaderParameter = {} as any;
5769
+ const localVarQueryParameter = {} as any;
5770
+
5771
+ // authentication bearer required
5772
+ // http bearer authentication required
5773
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
5774
+
5775
+
5776
+
5777
+ localVarHeaderParameter['Content-Type'] = 'application/json';
5778
+
5779
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
5780
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
5781
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
5782
+ localVarRequestOptions.data = serializeDataIfNeeded(removeFriendshipRequestPayload, localVarRequestOptions, configuration)
5783
+
5784
+ return {
5785
+ url: toPathString(localVarUrlObj),
5786
+ options: localVarRequestOptions,
5787
+ };
5788
+ },
3604
5789
  /**
3605
5790
  *
3606
- * @param {AddDevicePayload} addDevicePayload
5791
+ * @param {SendFriendshipRequestPayload} sendFriendshipRequestPayload
3607
5792
  * @param {*} [options] Override http request option.
3608
5793
  * @throws {RequiredError}
3609
5794
  */
3610
- deviceControllerAddDevice: async (addDevicePayload: AddDevicePayload, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
3611
- // verify required parameter 'addDevicePayload' is not null or undefined
3612
- assertParamExists('deviceControllerAddDevice', 'addDevicePayload', addDevicePayload)
3613
- const localVarPath = `/v1/device`;
5795
+ friendControllerSendFriendRequest: async (sendFriendshipRequestPayload: SendFriendshipRequestPayload, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
5796
+ // verify required parameter 'sendFriendshipRequestPayload' is not null or undefined
5797
+ assertParamExists('friendControllerSendFriendRequest', 'sendFriendshipRequestPayload', sendFriendshipRequestPayload)
5798
+ const localVarPath = `/v1/friend/send-request`;
3614
5799
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
3615
5800
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
3616
5801
  let baseOptions;
@@ -3633,7 +5818,7 @@ export const DeviceApiAxiosParamCreator = function (configuration?: Configuratio
3633
5818
  setSearchParams(localVarUrlObj, localVarQueryParameter);
3634
5819
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
3635
5820
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
3636
- localVarRequestOptions.data = serializeDataIfNeeded(addDevicePayload, localVarRequestOptions, configuration)
5821
+ localVarRequestOptions.data = serializeDataIfNeeded(sendFriendshipRequestPayload, localVarRequestOptions, configuration)
3637
5822
 
3638
5823
  return {
3639
5824
  url: toPathString(localVarUrlObj),
@@ -3644,62 +5829,257 @@ export const DeviceApiAxiosParamCreator = function (configuration?: Configuratio
3644
5829
  };
3645
5830
 
3646
5831
  /**
3647
- * DeviceApi - functional programming interface
5832
+ * FriendsApi - functional programming interface
3648
5833
  * @export
3649
5834
  */
3650
- export const DeviceApiFp = function(configuration?: Configuration) {
3651
- const localVarAxiosParamCreator = DeviceApiAxiosParamCreator(configuration)
5835
+ export const FriendsApiFp = function(configuration?: Configuration) {
5836
+ const localVarAxiosParamCreator = FriendsApiAxiosParamCreator(configuration)
3652
5837
  return {
3653
5838
  /**
3654
5839
  *
3655
- * @param {AddDevicePayload} addDevicePayload
5840
+ * @param {ApproveFriendshipRequestPayload} approveFriendshipRequestPayload
3656
5841
  * @param {*} [options] Override http request option.
3657
5842
  * @throws {RequiredError}
3658
5843
  */
3659
- async deviceControllerAddDevice(addDevicePayload: AddDevicePayload, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DeviceAddResponse>> {
3660
- const localVarAxiosArgs = await localVarAxiosParamCreator.deviceControllerAddDevice(addDevicePayload, options);
5844
+ async friendControllerApproveFriendRequest(approveFriendshipRequestPayload: ApproveFriendshipRequestPayload, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<FriendsResponseDTO>> {
5845
+ const localVarAxiosArgs = await localVarAxiosParamCreator.friendControllerApproveFriendRequest(approveFriendshipRequestPayload, options);
3661
5846
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
3662
- const localVarOperationServerBasePath = operationServerMap['DeviceApi.deviceControllerAddDevice']?.[localVarOperationServerIndex]?.url;
5847
+ const localVarOperationServerBasePath = operationServerMap['FriendsApi.friendControllerApproveFriendRequest']?.[localVarOperationServerIndex]?.url;
5848
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
5849
+ },
5850
+ /**
5851
+ *
5852
+ * @param {DeclineFriendshipRequestPayload} declineFriendshipRequestPayload
5853
+ * @param {*} [options] Override http request option.
5854
+ * @throws {RequiredError}
5855
+ */
5856
+ async friendControllerDeclineFriendRequest(declineFriendshipRequestPayload: DeclineFriendshipRequestPayload, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<FriendsResponseDTO>> {
5857
+ const localVarAxiosArgs = await localVarAxiosParamCreator.friendControllerDeclineFriendRequest(declineFriendshipRequestPayload, options);
5858
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
5859
+ const localVarOperationServerBasePath = operationServerMap['FriendsApi.friendControllerDeclineFriendRequest']?.[localVarOperationServerIndex]?.url;
5860
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
5861
+ },
5862
+ /**
5863
+ *
5864
+ * @param {number} page
5865
+ * @param {number} pageSize
5866
+ * @param {string} [query]
5867
+ * @param {*} [options] Override http request option.
5868
+ * @throws {RequiredError}
5869
+ */
5870
+ async friendControllerFindFriends(page: number, pageSize: number, query?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<FriendsDTO>> {
5871
+ const localVarAxiosArgs = await localVarAxiosParamCreator.friendControllerFindFriends(page, pageSize, query, options);
5872
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
5873
+ const localVarOperationServerBasePath = operationServerMap['FriendsApi.friendControllerFindFriends']?.[localVarOperationServerIndex]?.url;
5874
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
5875
+ },
5876
+ /**
5877
+ *
5878
+ * @param {FriendshipStatusCheck} friendshipStatusCheck
5879
+ * @param {*} [options] Override http request option.
5880
+ * @throws {RequiredError}
5881
+ */
5882
+ async friendControllerGetFriendshipStatus(friendshipStatusCheck: FriendshipStatusCheck, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<FriendshipStatusDTO>> {
5883
+ const localVarAxiosArgs = await localVarAxiosParamCreator.friendControllerGetFriendshipStatus(friendshipStatusCheck, options);
5884
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
5885
+ const localVarOperationServerBasePath = operationServerMap['FriendsApi.friendControllerGetFriendshipStatus']?.[localVarOperationServerIndex]?.url;
5886
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
5887
+ },
5888
+ /**
5889
+ *
5890
+ * @param {*} [options] Override http request option.
5891
+ * @throws {RequiredError}
5892
+ */
5893
+ async friendControllerListMyFriends(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<FriendsDTO>> {
5894
+ const localVarAxiosArgs = await localVarAxiosParamCreator.friendControllerListMyFriends(options);
5895
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
5896
+ const localVarOperationServerBasePath = operationServerMap['FriendsApi.friendControllerListMyFriends']?.[localVarOperationServerIndex]?.url;
5897
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
5898
+ },
5899
+ /**
5900
+ *
5901
+ * @param {RemoveFriendshipRequestPayload} removeFriendshipRequestPayload
5902
+ * @param {*} [options] Override http request option.
5903
+ * @throws {RequiredError}
5904
+ */
5905
+ async friendControllerRemoveFriendById(removeFriendshipRequestPayload: RemoveFriendshipRequestPayload, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<FriendsResponseDTO>> {
5906
+ const localVarAxiosArgs = await localVarAxiosParamCreator.friendControllerRemoveFriendById(removeFriendshipRequestPayload, options);
5907
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
5908
+ const localVarOperationServerBasePath = operationServerMap['FriendsApi.friendControllerRemoveFriendById']?.[localVarOperationServerIndex]?.url;
5909
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
5910
+ },
5911
+ /**
5912
+ *
5913
+ * @param {SendFriendshipRequestPayload} sendFriendshipRequestPayload
5914
+ * @param {*} [options] Override http request option.
5915
+ * @throws {RequiredError}
5916
+ */
5917
+ async friendControllerSendFriendRequest(sendFriendshipRequestPayload: SendFriendshipRequestPayload, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<FriendsResponseDTO>> {
5918
+ const localVarAxiosArgs = await localVarAxiosParamCreator.friendControllerSendFriendRequest(sendFriendshipRequestPayload, options);
5919
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
5920
+ const localVarOperationServerBasePath = operationServerMap['FriendsApi.friendControllerSendFriendRequest']?.[localVarOperationServerIndex]?.url;
3663
5921
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
3664
5922
  },
3665
5923
  }
3666
5924
  };
3667
5925
 
3668
5926
  /**
3669
- * DeviceApi - factory interface
5927
+ * FriendsApi - factory interface
3670
5928
  * @export
3671
5929
  */
3672
- export const DeviceApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
3673
- const localVarFp = DeviceApiFp(configuration)
5930
+ export const FriendsApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
5931
+ const localVarFp = FriendsApiFp(configuration)
3674
5932
  return {
3675
5933
  /**
3676
5934
  *
3677
- * @param {AddDevicePayload} addDevicePayload
5935
+ * @param {ApproveFriendshipRequestPayload} approveFriendshipRequestPayload
3678
5936
  * @param {*} [options] Override http request option.
3679
5937
  * @throws {RequiredError}
3680
5938
  */
3681
- deviceControllerAddDevice(addDevicePayload: AddDevicePayload, options?: RawAxiosRequestConfig): AxiosPromise<DeviceAddResponse> {
3682
- return localVarFp.deviceControllerAddDevice(addDevicePayload, options).then((request) => request(axios, basePath));
5939
+ friendControllerApproveFriendRequest(approveFriendshipRequestPayload: ApproveFriendshipRequestPayload, options?: RawAxiosRequestConfig): AxiosPromise<FriendsResponseDTO> {
5940
+ return localVarFp.friendControllerApproveFriendRequest(approveFriendshipRequestPayload, options).then((request) => request(axios, basePath));
5941
+ },
5942
+ /**
5943
+ *
5944
+ * @param {DeclineFriendshipRequestPayload} declineFriendshipRequestPayload
5945
+ * @param {*} [options] Override http request option.
5946
+ * @throws {RequiredError}
5947
+ */
5948
+ friendControllerDeclineFriendRequest(declineFriendshipRequestPayload: DeclineFriendshipRequestPayload, options?: RawAxiosRequestConfig): AxiosPromise<FriendsResponseDTO> {
5949
+ return localVarFp.friendControllerDeclineFriendRequest(declineFriendshipRequestPayload, options).then((request) => request(axios, basePath));
5950
+ },
5951
+ /**
5952
+ *
5953
+ * @param {number} page
5954
+ * @param {number} pageSize
5955
+ * @param {string} [query]
5956
+ * @param {*} [options] Override http request option.
5957
+ * @throws {RequiredError}
5958
+ */
5959
+ friendControllerFindFriends(page: number, pageSize: number, query?: string, options?: RawAxiosRequestConfig): AxiosPromise<FriendsDTO> {
5960
+ return localVarFp.friendControllerFindFriends(page, pageSize, query, options).then((request) => request(axios, basePath));
5961
+ },
5962
+ /**
5963
+ *
5964
+ * @param {FriendshipStatusCheck} friendshipStatusCheck
5965
+ * @param {*} [options] Override http request option.
5966
+ * @throws {RequiredError}
5967
+ */
5968
+ friendControllerGetFriendshipStatus(friendshipStatusCheck: FriendshipStatusCheck, options?: RawAxiosRequestConfig): AxiosPromise<FriendshipStatusDTO> {
5969
+ return localVarFp.friendControllerGetFriendshipStatus(friendshipStatusCheck, options).then((request) => request(axios, basePath));
5970
+ },
5971
+ /**
5972
+ *
5973
+ * @param {*} [options] Override http request option.
5974
+ * @throws {RequiredError}
5975
+ */
5976
+ friendControllerListMyFriends(options?: RawAxiosRequestConfig): AxiosPromise<FriendsDTO> {
5977
+ return localVarFp.friendControllerListMyFriends(options).then((request) => request(axios, basePath));
5978
+ },
5979
+ /**
5980
+ *
5981
+ * @param {RemoveFriendshipRequestPayload} removeFriendshipRequestPayload
5982
+ * @param {*} [options] Override http request option.
5983
+ * @throws {RequiredError}
5984
+ */
5985
+ friendControllerRemoveFriendById(removeFriendshipRequestPayload: RemoveFriendshipRequestPayload, options?: RawAxiosRequestConfig): AxiosPromise<FriendsResponseDTO> {
5986
+ return localVarFp.friendControllerRemoveFriendById(removeFriendshipRequestPayload, options).then((request) => request(axios, basePath));
5987
+ },
5988
+ /**
5989
+ *
5990
+ * @param {SendFriendshipRequestPayload} sendFriendshipRequestPayload
5991
+ * @param {*} [options] Override http request option.
5992
+ * @throws {RequiredError}
5993
+ */
5994
+ friendControllerSendFriendRequest(sendFriendshipRequestPayload: SendFriendshipRequestPayload, options?: RawAxiosRequestConfig): AxiosPromise<FriendsResponseDTO> {
5995
+ return localVarFp.friendControllerSendFriendRequest(sendFriendshipRequestPayload, options).then((request) => request(axios, basePath));
3683
5996
  },
3684
5997
  };
3685
5998
  };
3686
5999
 
3687
6000
  /**
3688
- * DeviceApi - object-oriented interface
6001
+ * FriendsApi - object-oriented interface
3689
6002
  * @export
3690
- * @class DeviceApi
6003
+ * @class FriendsApi
3691
6004
  * @extends {BaseAPI}
3692
6005
  */
3693
- export class DeviceApi extends BaseAPI {
6006
+ export class FriendsApi extends BaseAPI {
3694
6007
  /**
3695
6008
  *
3696
- * @param {AddDevicePayload} addDevicePayload
6009
+ * @param {ApproveFriendshipRequestPayload} approveFriendshipRequestPayload
3697
6010
  * @param {*} [options] Override http request option.
3698
6011
  * @throws {RequiredError}
3699
- * @memberof DeviceApi
6012
+ * @memberof FriendsApi
3700
6013
  */
3701
- public deviceControllerAddDevice(addDevicePayload: AddDevicePayload, options?: RawAxiosRequestConfig) {
3702
- return DeviceApiFp(this.configuration).deviceControllerAddDevice(addDevicePayload, options).then((request) => request(this.axios, this.basePath));
6014
+ public friendControllerApproveFriendRequest(approveFriendshipRequestPayload: ApproveFriendshipRequestPayload, options?: RawAxiosRequestConfig) {
6015
+ return FriendsApiFp(this.configuration).friendControllerApproveFriendRequest(approveFriendshipRequestPayload, options).then((request) => request(this.axios, this.basePath));
6016
+ }
6017
+
6018
+ /**
6019
+ *
6020
+ * @param {DeclineFriendshipRequestPayload} declineFriendshipRequestPayload
6021
+ * @param {*} [options] Override http request option.
6022
+ * @throws {RequiredError}
6023
+ * @memberof FriendsApi
6024
+ */
6025
+ public friendControllerDeclineFriendRequest(declineFriendshipRequestPayload: DeclineFriendshipRequestPayload, options?: RawAxiosRequestConfig) {
6026
+ return FriendsApiFp(this.configuration).friendControllerDeclineFriendRequest(declineFriendshipRequestPayload, options).then((request) => request(this.axios, this.basePath));
6027
+ }
6028
+
6029
+ /**
6030
+ *
6031
+ * @param {number} page
6032
+ * @param {number} pageSize
6033
+ * @param {string} [query]
6034
+ * @param {*} [options] Override http request option.
6035
+ * @throws {RequiredError}
6036
+ * @memberof FriendsApi
6037
+ */
6038
+ public friendControllerFindFriends(page: number, pageSize: number, query?: string, options?: RawAxiosRequestConfig) {
6039
+ return FriendsApiFp(this.configuration).friendControllerFindFriends(page, pageSize, query, options).then((request) => request(this.axios, this.basePath));
6040
+ }
6041
+
6042
+ /**
6043
+ *
6044
+ * @param {FriendshipStatusCheck} friendshipStatusCheck
6045
+ * @param {*} [options] Override http request option.
6046
+ * @throws {RequiredError}
6047
+ * @memberof FriendsApi
6048
+ */
6049
+ public friendControllerGetFriendshipStatus(friendshipStatusCheck: FriendshipStatusCheck, options?: RawAxiosRequestConfig) {
6050
+ return FriendsApiFp(this.configuration).friendControllerGetFriendshipStatus(friendshipStatusCheck, options).then((request) => request(this.axios, this.basePath));
6051
+ }
6052
+
6053
+ /**
6054
+ *
6055
+ * @param {*} [options] Override http request option.
6056
+ * @throws {RequiredError}
6057
+ * @memberof FriendsApi
6058
+ */
6059
+ public friendControllerListMyFriends(options?: RawAxiosRequestConfig) {
6060
+ return FriendsApiFp(this.configuration).friendControllerListMyFriends(options).then((request) => request(this.axios, this.basePath));
6061
+ }
6062
+
6063
+ /**
6064
+ *
6065
+ * @param {RemoveFriendshipRequestPayload} removeFriendshipRequestPayload
6066
+ * @param {*} [options] Override http request option.
6067
+ * @throws {RequiredError}
6068
+ * @memberof FriendsApi
6069
+ */
6070
+ public friendControllerRemoveFriendById(removeFriendshipRequestPayload: RemoveFriendshipRequestPayload, options?: RawAxiosRequestConfig) {
6071
+ return FriendsApiFp(this.configuration).friendControllerRemoveFriendById(removeFriendshipRequestPayload, options).then((request) => request(this.axios, this.basePath));
6072
+ }
6073
+
6074
+ /**
6075
+ *
6076
+ * @param {SendFriendshipRequestPayload} sendFriendshipRequestPayload
6077
+ * @param {*} [options] Override http request option.
6078
+ * @throws {RequiredError}
6079
+ * @memberof FriendsApi
6080
+ */
6081
+ public friendControllerSendFriendRequest(sendFriendshipRequestPayload: SendFriendshipRequestPayload, options?: RawAxiosRequestConfig) {
6082
+ return FriendsApiFp(this.configuration).friendControllerSendFriendRequest(sendFriendshipRequestPayload, options).then((request) => request(this.axios, this.basePath));
3703
6083
  }
3704
6084
  }
3705
6085
 
@@ -3920,7 +6300,7 @@ export const IntegrationApiAxiosParamCreator = function (configuration?: Configu
3920
6300
  * @throws {RequiredError}
3921
6301
  */
3922
6302
  integrationControllerFetchIntegration: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
3923
- const localVarPath = `/v1/calendar`;
6303
+ const localVarPath = `/v1/integration`;
3924
6304
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
3925
6305
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
3926
6306
  let baseOptions;
@@ -3956,7 +6336,7 @@ export const IntegrationApiAxiosParamCreator = function (configuration?: Configu
3956
6336
  integrationControllerGoogleCalendarAccess: async (calendarAccessDTO: CalendarAccessDTO, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
3957
6337
  // verify required parameter 'calendarAccessDTO' is not null or undefined
3958
6338
  assertParamExists('integrationControllerGoogleCalendarAccess', 'calendarAccessDTO', calendarAccessDTO)
3959
- const localVarPath = `/v1/calendar/google`;
6339
+ const localVarPath = `/v1/integration/google`;
3960
6340
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
3961
6341
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
3962
6342
  let baseOptions;
@@ -3995,7 +6375,7 @@ export const IntegrationApiAxiosParamCreator = function (configuration?: Configu
3995
6375
  integrationControllerMicrosoftCalendar: async (microsoftCalendarAccessDTO: MicrosoftCalendarAccessDTO, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
3996
6376
  // verify required parameter 'microsoftCalendarAccessDTO' is not null or undefined
3997
6377
  assertParamExists('integrationControllerMicrosoftCalendar', 'microsoftCalendarAccessDTO', microsoftCalendarAccessDTO)
3998
- const localVarPath = `/v1/calendar/microsoft`;
6378
+ const localVarPath = `/v1/integration/microsoft`;
3999
6379
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
4000
6380
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
4001
6381
  let baseOptions;
@@ -4552,11 +6932,14 @@ export const PlansApiAxiosParamCreator = function (configuration?: Configuration
4552
6932
  },
4553
6933
  /**
4554
6934
  *
6935
+ * @param {string} planId Strip Plan ID
4555
6936
  * @param {*} [options] Override http request option.
4556
6937
  * @throws {RequiredError}
4557
6938
  */
4558
- paymentControllerGetPlans: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
4559
- const localVarPath = `/v1/payment/plans`;
6939
+ paymentControllerGetPaymentSecretForIntent: async (planId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
6940
+ // verify required parameter 'planId' is not null or undefined
6941
+ assertParamExists('paymentControllerGetPaymentSecretForIntent', 'planId', planId)
6942
+ const localVarPath = `/v1/payment/payment-secret-for-intent`;
4560
6943
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
4561
6944
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
4562
6945
  let baseOptions;
@@ -4568,6 +6951,14 @@ export const PlansApiAxiosParamCreator = function (configuration?: Configuration
4568
6951
  const localVarHeaderParameter = {} as any;
4569
6952
  const localVarQueryParameter = {} as any;
4570
6953
 
6954
+ // authentication bearer required
6955
+ // http bearer authentication required
6956
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
6957
+
6958
+ if (planId !== undefined) {
6959
+ localVarQueryParameter['planId'] = planId;
6960
+ }
6961
+
4571
6962
 
4572
6963
 
4573
6964
  setSearchParams(localVarUrlObj, localVarQueryParameter);
@@ -4581,14 +6972,11 @@ export const PlansApiAxiosParamCreator = function (configuration?: Configuration
4581
6972
  },
4582
6973
  /**
4583
6974
  *
4584
- * @param {PlanUpsertPayloadDTO} planUpsertPayloadDTO
4585
6975
  * @param {*} [options] Override http request option.
4586
6976
  * @throws {RequiredError}
4587
6977
  */
4588
- paymentControllerPlanUpsert: async (planUpsertPayloadDTO: PlanUpsertPayloadDTO, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
4589
- // verify required parameter 'planUpsertPayloadDTO' is not null or undefined
4590
- assertParamExists('paymentControllerPlanUpsert', 'planUpsertPayloadDTO', planUpsertPayloadDTO)
4591
- const localVarPath = `/v1/payment/plan`;
6978
+ paymentControllerGetPlans: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
6979
+ const localVarPath = `/v1/payment/plans`;
4592
6980
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
4593
6981
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
4594
6982
  let baseOptions;
@@ -4596,22 +6984,15 @@ export const PlansApiAxiosParamCreator = function (configuration?: Configuration
4596
6984
  baseOptions = configuration.baseOptions;
4597
6985
  }
4598
6986
 
4599
- const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
6987
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
4600
6988
  const localVarHeaderParameter = {} as any;
4601
6989
  const localVarQueryParameter = {} as any;
4602
6990
 
4603
- // authentication bearer required
4604
- // http bearer authentication required
4605
- await setBearerAuthToObject(localVarHeaderParameter, configuration)
4606
-
4607
6991
 
4608
6992
 
4609
- localVarHeaderParameter['Content-Type'] = 'application/json';
4610
-
4611
6993
  setSearchParams(localVarUrlObj, localVarQueryParameter);
4612
6994
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
4613
6995
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
4614
- localVarRequestOptions.data = serializeDataIfNeeded(planUpsertPayloadDTO, localVarRequestOptions, configuration)
4615
6996
 
4616
6997
  return {
4617
6998
  url: toPathString(localVarUrlObj),
@@ -4678,25 +7059,25 @@ export const PlansApiFp = function(configuration?: Configuration) {
4678
7059
  },
4679
7060
  /**
4680
7061
  *
7062
+ * @param {string} planId Strip Plan ID
4681
7063
  * @param {*} [options] Override http request option.
4682
7064
  * @throws {RequiredError}
4683
7065
  */
4684
- async paymentControllerGetPlans(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PlanResponseDTO>> {
4685
- const localVarAxiosArgs = await localVarAxiosParamCreator.paymentControllerGetPlans(options);
7066
+ async paymentControllerGetPaymentSecretForIntent(planId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<StripePaymentIntentResponseDTO>> {
7067
+ const localVarAxiosArgs = await localVarAxiosParamCreator.paymentControllerGetPaymentSecretForIntent(planId, options);
4686
7068
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
4687
- const localVarOperationServerBasePath = operationServerMap['PlansApi.paymentControllerGetPlans']?.[localVarOperationServerIndex]?.url;
7069
+ const localVarOperationServerBasePath = operationServerMap['PlansApi.paymentControllerGetPaymentSecretForIntent']?.[localVarOperationServerIndex]?.url;
4688
7070
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
4689
7071
  },
4690
7072
  /**
4691
7073
  *
4692
- * @param {PlanUpsertPayloadDTO} planUpsertPayloadDTO
4693
7074
  * @param {*} [options] Override http request option.
4694
7075
  * @throws {RequiredError}
4695
7076
  */
4696
- async paymentControllerPlanUpsert(planUpsertPayloadDTO: PlanUpsertPayloadDTO, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<StripePlanUpsertResponseDTO>> {
4697
- const localVarAxiosArgs = await localVarAxiosParamCreator.paymentControllerPlanUpsert(planUpsertPayloadDTO, options);
7077
+ async paymentControllerGetPlans(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PlanResponseDTO>> {
7078
+ const localVarAxiosArgs = await localVarAxiosParamCreator.paymentControllerGetPlans(options);
4698
7079
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
4699
- const localVarOperationServerBasePath = operationServerMap['PlansApi.paymentControllerPlanUpsert']?.[localVarOperationServerIndex]?.url;
7080
+ const localVarOperationServerBasePath = operationServerMap['PlansApi.paymentControllerGetPlans']?.[localVarOperationServerIndex]?.url;
4700
7081
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
4701
7082
  },
4702
7083
  /**
@@ -4732,20 +7113,20 @@ export const PlansApiFactory = function (configuration?: Configuration, basePath
4732
7113
  },
4733
7114
  /**
4734
7115
  *
7116
+ * @param {string} planId Strip Plan ID
4735
7117
  * @param {*} [options] Override http request option.
4736
7118
  * @throws {RequiredError}
4737
7119
  */
4738
- paymentControllerGetPlans(options?: RawAxiosRequestConfig): AxiosPromise<PlanResponseDTO> {
4739
- return localVarFp.paymentControllerGetPlans(options).then((request) => request(axios, basePath));
7120
+ paymentControllerGetPaymentSecretForIntent(planId: string, options?: RawAxiosRequestConfig): AxiosPromise<StripePaymentIntentResponseDTO> {
7121
+ return localVarFp.paymentControllerGetPaymentSecretForIntent(planId, options).then((request) => request(axios, basePath));
4740
7122
  },
4741
7123
  /**
4742
7124
  *
4743
- * @param {PlanUpsertPayloadDTO} planUpsertPayloadDTO
4744
7125
  * @param {*} [options] Override http request option.
4745
7126
  * @throws {RequiredError}
4746
7127
  */
4747
- paymentControllerPlanUpsert(planUpsertPayloadDTO: PlanUpsertPayloadDTO, options?: RawAxiosRequestConfig): AxiosPromise<StripePlanUpsertResponseDTO> {
4748
- return localVarFp.paymentControllerPlanUpsert(planUpsertPayloadDTO, options).then((request) => request(axios, basePath));
7128
+ paymentControllerGetPlans(options?: RawAxiosRequestConfig): AxiosPromise<PlanResponseDTO> {
7129
+ return localVarFp.paymentControllerGetPlans(options).then((request) => request(axios, basePath));
4749
7130
  },
4750
7131
  /**
4751
7132
  *
@@ -4779,23 +7160,23 @@ export class PlansApi extends BaseAPI {
4779
7160
 
4780
7161
  /**
4781
7162
  *
7163
+ * @param {string} planId Strip Plan ID
4782
7164
  * @param {*} [options] Override http request option.
4783
7165
  * @throws {RequiredError}
4784
7166
  * @memberof PlansApi
4785
7167
  */
4786
- public paymentControllerGetPlans(options?: RawAxiosRequestConfig) {
4787
- return PlansApiFp(this.configuration).paymentControllerGetPlans(options).then((request) => request(this.axios, this.basePath));
7168
+ public paymentControllerGetPaymentSecretForIntent(planId: string, options?: RawAxiosRequestConfig) {
7169
+ return PlansApiFp(this.configuration).paymentControllerGetPaymentSecretForIntent(planId, options).then((request) => request(this.axios, this.basePath));
4788
7170
  }
4789
7171
 
4790
7172
  /**
4791
7173
  *
4792
- * @param {PlanUpsertPayloadDTO} planUpsertPayloadDTO
4793
7174
  * @param {*} [options] Override http request option.
4794
7175
  * @throws {RequiredError}
4795
7176
  * @memberof PlansApi
4796
7177
  */
4797
- public paymentControllerPlanUpsert(planUpsertPayloadDTO: PlanUpsertPayloadDTO, options?: RawAxiosRequestConfig) {
4798
- return PlansApiFp(this.configuration).paymentControllerPlanUpsert(planUpsertPayloadDTO, options).then((request) => request(this.axios, this.basePath));
7178
+ public paymentControllerGetPlans(options?: RawAxiosRequestConfig) {
7179
+ return PlansApiFp(this.configuration).paymentControllerGetPlans(options).then((request) => request(this.axios, this.basePath));
4799
7180
  }
4800
7181
 
4801
7182
  /**
@@ -4885,45 +7266,6 @@ export const UsersApiAxiosParamCreator = function (configuration?: Configuration
4885
7266
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
4886
7267
  localVarRequestOptions.data = serializeDataIfNeeded(onBoardingDTO, localVarRequestOptions, configuration)
4887
7268
 
4888
- return {
4889
- url: toPathString(localVarUrlObj),
4890
- options: localVarRequestOptions,
4891
- };
4892
- },
4893
- /**
4894
- *
4895
- * @param {UserSyncLocationDTO} userSyncLocationDTO
4896
- * @param {*} [options] Override http request option.
4897
- * @throws {RequiredError}
4898
- */
4899
- usersControllerSyncUserLocation: async (userSyncLocationDTO: UserSyncLocationDTO, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
4900
- // verify required parameter 'userSyncLocationDTO' is not null or undefined
4901
- assertParamExists('usersControllerSyncUserLocation', 'userSyncLocationDTO', userSyncLocationDTO)
4902
- const localVarPath = `/v1/user/sync/user/location`;
4903
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
4904
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
4905
- let baseOptions;
4906
- if (configuration) {
4907
- baseOptions = configuration.baseOptions;
4908
- }
4909
-
4910
- const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
4911
- const localVarHeaderParameter = {} as any;
4912
- const localVarQueryParameter = {} as any;
4913
-
4914
- // authentication bearer required
4915
- // http bearer authentication required
4916
- await setBearerAuthToObject(localVarHeaderParameter, configuration)
4917
-
4918
-
4919
-
4920
- localVarHeaderParameter['Content-Type'] = 'application/json';
4921
-
4922
- setSearchParams(localVarUrlObj, localVarQueryParameter);
4923
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
4924
- localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
4925
- localVarRequestOptions.data = serializeDataIfNeeded(userSyncLocationDTO, localVarRequestOptions, configuration)
4926
-
4927
7269
  return {
4928
7270
  url: toPathString(localVarUrlObj),
4929
7271
  options: localVarRequestOptions,
@@ -4962,18 +7304,6 @@ export const UsersApiFp = function(configuration?: Configuration) {
4962
7304
  const localVarOperationServerBasePath = operationServerMap['UsersApi.usersControllerOnBoarded']?.[localVarOperationServerIndex]?.url;
4963
7305
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
4964
7306
  },
4965
- /**
4966
- *
4967
- * @param {UserSyncLocationDTO} userSyncLocationDTO
4968
- * @param {*} [options] Override http request option.
4969
- * @throws {RequiredError}
4970
- */
4971
- async usersControllerSyncUserLocation(userSyncLocationDTO: UserSyncLocationDTO, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<OnBoardingResponseDTO>> {
4972
- const localVarAxiosArgs = await localVarAxiosParamCreator.usersControllerSyncUserLocation(userSyncLocationDTO, options);
4973
- const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
4974
- const localVarOperationServerBasePath = operationServerMap['UsersApi.usersControllerSyncUserLocation']?.[localVarOperationServerIndex]?.url;
4975
- return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
4976
- },
4977
7307
  }
4978
7308
  };
4979
7309
 
@@ -5001,15 +7331,6 @@ export const UsersApiFactory = function (configuration?: Configuration, basePath
5001
7331
  usersControllerOnBoarded(onBoardingDTO: OnBoardingDTO, options?: RawAxiosRequestConfig): AxiosPromise<OnBoardingResponseDTO> {
5002
7332
  return localVarFp.usersControllerOnBoarded(onBoardingDTO, options).then((request) => request(axios, basePath));
5003
7333
  },
5004
- /**
5005
- *
5006
- * @param {UserSyncLocationDTO} userSyncLocationDTO
5007
- * @param {*} [options] Override http request option.
5008
- * @throws {RequiredError}
5009
- */
5010
- usersControllerSyncUserLocation(userSyncLocationDTO: UserSyncLocationDTO, options?: RawAxiosRequestConfig): AxiosPromise<OnBoardingResponseDTO> {
5011
- return localVarFp.usersControllerSyncUserLocation(userSyncLocationDTO, options).then((request) => request(axios, basePath));
5012
- },
5013
7334
  };
5014
7335
  };
5015
7336
 
@@ -5040,17 +7361,6 @@ export class UsersApi extends BaseAPI {
5040
7361
  public usersControllerOnBoarded(onBoardingDTO: OnBoardingDTO, options?: RawAxiosRequestConfig) {
5041
7362
  return UsersApiFp(this.configuration).usersControllerOnBoarded(onBoardingDTO, options).then((request) => request(this.axios, this.basePath));
5042
7363
  }
5043
-
5044
- /**
5045
- *
5046
- * @param {UserSyncLocationDTO} userSyncLocationDTO
5047
- * @param {*} [options] Override http request option.
5048
- * @throws {RequiredError}
5049
- * @memberof UsersApi
5050
- */
5051
- public usersControllerSyncUserLocation(userSyncLocationDTO: UserSyncLocationDTO, options?: RawAxiosRequestConfig) {
5052
- return UsersApiFp(this.configuration).usersControllerSyncUserLocation(userSyncLocationDTO, options).then((request) => request(this.axios, this.basePath));
5053
- }
5054
7364
  }
5055
7365
 
5056
7366