@gooday_corp/gooday-api-client 1.1.12 → 1.1.14
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.openapi-generator/VERSION +1 -1
- package/api.ts +2810 -351
- package/package.json +1 -1
package/api.ts
CHANGED
|
@@ -60,6 +60,19 @@ export interface AddDevicePayload {
|
|
|
60
60
|
*/
|
|
61
61
|
'version': string;
|
|
62
62
|
}
|
|
63
|
+
/**
|
|
64
|
+
*
|
|
65
|
+
* @export
|
|
66
|
+
* @interface ApproveFriendshipRequestPayload
|
|
67
|
+
*/
|
|
68
|
+
export interface ApproveFriendshipRequestPayload {
|
|
69
|
+
/**
|
|
70
|
+
*
|
|
71
|
+
* @type {string}
|
|
72
|
+
* @memberof ApproveFriendshipRequestPayload
|
|
73
|
+
*/
|
|
74
|
+
'from': string;
|
|
75
|
+
}
|
|
63
76
|
/**
|
|
64
77
|
*
|
|
65
78
|
* @export
|
|
@@ -110,7 +123,7 @@ export interface AssistantEntity {
|
|
|
110
123
|
*/
|
|
111
124
|
export interface AssistantListResponse {
|
|
112
125
|
/**
|
|
113
|
-
*
|
|
126
|
+
* statusCode
|
|
114
127
|
* @type {number}
|
|
115
128
|
* @memberof AssistantListResponse
|
|
116
129
|
*/
|
|
@@ -165,12 +178,24 @@ export interface BusinessEntity {
|
|
|
165
178
|
* @memberof BusinessEntity
|
|
166
179
|
*/
|
|
167
180
|
'timing'?: Array<BusinessTiming>;
|
|
181
|
+
/**
|
|
182
|
+
* Business Current Timing
|
|
183
|
+
* @type {BusinessTiming}
|
|
184
|
+
* @memberof BusinessEntity
|
|
185
|
+
*/
|
|
186
|
+
'currentTime'?: BusinessTiming;
|
|
168
187
|
/**
|
|
169
188
|
* Business policies
|
|
170
189
|
* @type {string}
|
|
171
190
|
* @memberof BusinessEntity
|
|
172
191
|
*/
|
|
173
192
|
'policies'?: string;
|
|
193
|
+
/**
|
|
194
|
+
* Business Name
|
|
195
|
+
* @type {string}
|
|
196
|
+
* @memberof BusinessEntity
|
|
197
|
+
*/
|
|
198
|
+
'name'?: string;
|
|
174
199
|
/**
|
|
175
200
|
* Business cancellationFee
|
|
176
201
|
* @type {number}
|
|
@@ -191,10 +216,10 @@ export interface BusinessEntity {
|
|
|
191
216
|
'businessCountry'?: string;
|
|
192
217
|
/**
|
|
193
218
|
* Business Venue
|
|
194
|
-
* @type {Array<
|
|
219
|
+
* @type {Array<string>}
|
|
195
220
|
* @memberof BusinessEntity
|
|
196
221
|
*/
|
|
197
|
-
'venues'?: Array<
|
|
222
|
+
'venues'?: Array<string>;
|
|
198
223
|
/**
|
|
199
224
|
* Business Type
|
|
200
225
|
* @type {string}
|
|
@@ -223,12 +248,45 @@ export interface BusinessEntity {
|
|
|
223
248
|
|
|
224
249
|
export const BusinessEntityStatusEnum = {
|
|
225
250
|
Verified: 'VERIFIED',
|
|
251
|
+
InProgress: 'IN_PROGRESS',
|
|
226
252
|
Pending: 'PENDING',
|
|
227
253
|
QuoteRequested: 'QUOTE_REQUESTED'
|
|
228
254
|
} as const;
|
|
229
255
|
|
|
230
256
|
export type BusinessEntityStatusEnum = typeof BusinessEntityStatusEnum[keyof typeof BusinessEntityStatusEnum];
|
|
231
257
|
|
|
258
|
+
/**
|
|
259
|
+
*
|
|
260
|
+
* @export
|
|
261
|
+
* @interface BusinessFavoriteDTO
|
|
262
|
+
*/
|
|
263
|
+
export interface BusinessFavoriteDTO {
|
|
264
|
+
/**
|
|
265
|
+
* Business Venue Id
|
|
266
|
+
* @type {string}
|
|
267
|
+
* @memberof BusinessFavoriteDTO
|
|
268
|
+
*/
|
|
269
|
+
'venue': string;
|
|
270
|
+
}
|
|
271
|
+
/**
|
|
272
|
+
*
|
|
273
|
+
* @export
|
|
274
|
+
* @interface BusinessFavoriteResponse
|
|
275
|
+
*/
|
|
276
|
+
export interface BusinessFavoriteResponse {
|
|
277
|
+
/**
|
|
278
|
+
* statusCode
|
|
279
|
+
* @type {number}
|
|
280
|
+
* @memberof BusinessFavoriteResponse
|
|
281
|
+
*/
|
|
282
|
+
'statusCode': number;
|
|
283
|
+
/**
|
|
284
|
+
* Business Favorite
|
|
285
|
+
* @type {BusinessFavoriteDTO}
|
|
286
|
+
* @memberof BusinessFavoriteResponse
|
|
287
|
+
*/
|
|
288
|
+
'data': BusinessFavoriteDTO;
|
|
289
|
+
}
|
|
232
290
|
/**
|
|
233
291
|
*
|
|
234
292
|
* @export
|
|
@@ -253,6 +311,12 @@ export interface BusinessOnBoardingDTO {
|
|
|
253
311
|
* @memberof BusinessOnBoardingDTO
|
|
254
312
|
*/
|
|
255
313
|
'policies'?: string;
|
|
314
|
+
/**
|
|
315
|
+
* Business Name
|
|
316
|
+
* @type {string}
|
|
317
|
+
* @memberof BusinessOnBoardingDTO
|
|
318
|
+
*/
|
|
319
|
+
'name'?: string;
|
|
256
320
|
/**
|
|
257
321
|
* Business cancellationFee
|
|
258
322
|
* @type {number}
|
|
@@ -371,6 +435,37 @@ export interface BusinessTypeEntity {
|
|
|
371
435
|
* @memberof BusinessTypeEntity
|
|
372
436
|
*/
|
|
373
437
|
'name': string;
|
|
438
|
+
/**
|
|
439
|
+
* Image background color
|
|
440
|
+
* @type {string}
|
|
441
|
+
* @memberof BusinessTypeEntity
|
|
442
|
+
*/
|
|
443
|
+
'backgroundColor': string;
|
|
444
|
+
/**
|
|
445
|
+
* Business Image
|
|
446
|
+
* @type {BusinessTypeImageDTO}
|
|
447
|
+
* @memberof BusinessTypeEntity
|
|
448
|
+
*/
|
|
449
|
+
'images': BusinessTypeImageDTO;
|
|
450
|
+
}
|
|
451
|
+
/**
|
|
452
|
+
*
|
|
453
|
+
* @export
|
|
454
|
+
* @interface BusinessTypeImageDTO
|
|
455
|
+
*/
|
|
456
|
+
export interface BusinessTypeImageDTO {
|
|
457
|
+
/**
|
|
458
|
+
* Business Type Image Small
|
|
459
|
+
* @type {string}
|
|
460
|
+
* @memberof BusinessTypeImageDTO
|
|
461
|
+
*/
|
|
462
|
+
'small': string;
|
|
463
|
+
/**
|
|
464
|
+
* Business Type Image Large
|
|
465
|
+
* @type {string}
|
|
466
|
+
* @memberof BusinessTypeImageDTO
|
|
467
|
+
*/
|
|
468
|
+
'large': string;
|
|
374
469
|
}
|
|
375
470
|
/**
|
|
376
471
|
*
|
|
@@ -391,6 +486,25 @@ export interface BusinessTypeListResponse {
|
|
|
391
486
|
*/
|
|
392
487
|
'data': Array<BusinessTypeEntity>;
|
|
393
488
|
}
|
|
489
|
+
/**
|
|
490
|
+
*
|
|
491
|
+
* @export
|
|
492
|
+
* @interface BusinessUnFavoriteResponse
|
|
493
|
+
*/
|
|
494
|
+
export interface BusinessUnFavoriteResponse {
|
|
495
|
+
/**
|
|
496
|
+
* statusCode
|
|
497
|
+
* @type {number}
|
|
498
|
+
* @memberof BusinessUnFavoriteResponse
|
|
499
|
+
*/
|
|
500
|
+
'statusCode': number;
|
|
501
|
+
/**
|
|
502
|
+
* Business Favorite Rule
|
|
503
|
+
* @type {string}
|
|
504
|
+
* @memberof BusinessUnFavoriteResponse
|
|
505
|
+
*/
|
|
506
|
+
'message': string;
|
|
507
|
+
}
|
|
394
508
|
/**
|
|
395
509
|
*
|
|
396
510
|
* @export
|
|
@@ -398,23 +512,97 @@ export interface BusinessTypeListResponse {
|
|
|
398
512
|
*/
|
|
399
513
|
export interface BusinessVenueDTO {
|
|
400
514
|
/**
|
|
401
|
-
*
|
|
515
|
+
* coverPhots
|
|
402
516
|
* @type {string}
|
|
403
517
|
* @memberof BusinessVenueDTO
|
|
404
518
|
*/
|
|
405
|
-
'
|
|
519
|
+
'coverPhoto': string;
|
|
406
520
|
/**
|
|
407
521
|
*
|
|
408
522
|
* @type {string}
|
|
409
523
|
* @memberof BusinessVenueDTO
|
|
410
524
|
*/
|
|
411
525
|
'priceRange': string;
|
|
526
|
+
/**
|
|
527
|
+
*
|
|
528
|
+
* @type {LocationDTO}
|
|
529
|
+
* @memberof BusinessVenueDTO
|
|
530
|
+
*/
|
|
531
|
+
'location': LocationDTO;
|
|
412
532
|
/**
|
|
413
533
|
*
|
|
414
534
|
* @type {string}
|
|
415
535
|
* @memberof BusinessVenueDTO
|
|
416
536
|
*/
|
|
417
|
-
'
|
|
537
|
+
'numberOfEmployee': string;
|
|
538
|
+
}
|
|
539
|
+
/**
|
|
540
|
+
*
|
|
541
|
+
* @export
|
|
542
|
+
* @interface BusinessVenueDetailsEntity
|
|
543
|
+
*/
|
|
544
|
+
export interface BusinessVenueDetailsEntity {
|
|
545
|
+
/**
|
|
546
|
+
* Unique identifier for the business venue
|
|
547
|
+
* @type {string}
|
|
548
|
+
* @memberof BusinessVenueDetailsEntity
|
|
549
|
+
*/
|
|
550
|
+
'_id'?: string;
|
|
551
|
+
/**
|
|
552
|
+
* coverPhots
|
|
553
|
+
* @type {string}
|
|
554
|
+
* @memberof BusinessVenueDetailsEntity
|
|
555
|
+
*/
|
|
556
|
+
'coverPhoto': string;
|
|
557
|
+
/**
|
|
558
|
+
*
|
|
559
|
+
* @type {string}
|
|
560
|
+
* @memberof BusinessVenueDetailsEntity
|
|
561
|
+
*/
|
|
562
|
+
'priceRange': string;
|
|
563
|
+
/**
|
|
564
|
+
*
|
|
565
|
+
* @type {LocationDTO}
|
|
566
|
+
* @memberof BusinessVenueDetailsEntity
|
|
567
|
+
*/
|
|
568
|
+
'location': LocationDTO;
|
|
569
|
+
/**
|
|
570
|
+
*
|
|
571
|
+
* @type {string}
|
|
572
|
+
* @memberof BusinessVenueDetailsEntity
|
|
573
|
+
*/
|
|
574
|
+
'numberOfEmployee': string;
|
|
575
|
+
/**
|
|
576
|
+
*
|
|
577
|
+
* @type {UserEntity}
|
|
578
|
+
* @memberof BusinessVenueDetailsEntity
|
|
579
|
+
*/
|
|
580
|
+
'user': UserEntity;
|
|
581
|
+
/**
|
|
582
|
+
*
|
|
583
|
+
* @type {BusinessEntity}
|
|
584
|
+
* @memberof BusinessVenueDetailsEntity
|
|
585
|
+
*/
|
|
586
|
+
'business': BusinessEntity;
|
|
587
|
+
}
|
|
588
|
+
/**
|
|
589
|
+
*
|
|
590
|
+
* @export
|
|
591
|
+
* @interface BusinessVenueResponseDTO
|
|
592
|
+
*/
|
|
593
|
+
export interface BusinessVenueResponseDTO {
|
|
594
|
+
/**
|
|
595
|
+
* statusCode
|
|
596
|
+
* @type {number}
|
|
597
|
+
* @memberof BusinessVenueResponseDTO
|
|
598
|
+
*/
|
|
599
|
+
'statusCode': number;
|
|
600
|
+
/**
|
|
601
|
+
* Business verification
|
|
602
|
+
* @type {Array<BusinessVenueDetailsEntity>}
|
|
603
|
+
* @memberof BusinessVenueResponseDTO
|
|
604
|
+
*/
|
|
605
|
+
'data': Array<BusinessVenueDetailsEntity>;
|
|
418
606
|
}
|
|
419
607
|
/**
|
|
420
608
|
*
|
|
@@ -479,6 +667,12 @@ export interface CategoryEntity {
|
|
|
479
667
|
* @memberof CategoryEntity
|
|
480
668
|
*/
|
|
481
669
|
'name': string;
|
|
670
|
+
/**
|
|
671
|
+
* Image of category
|
|
672
|
+
* @type {string}
|
|
673
|
+
* @memberof CategoryEntity
|
|
674
|
+
*/
|
|
675
|
+
'image': string;
|
|
482
676
|
/**
|
|
483
677
|
* Unique identifier or reference of the business Type
|
|
484
678
|
* @type {string}
|
|
@@ -542,6 +736,19 @@ export interface CreatePaymentLinkDTO {
|
|
|
542
736
|
*/
|
|
543
737
|
'user': string;
|
|
544
738
|
}
|
|
739
|
+
/**
|
|
740
|
+
*
|
|
741
|
+
* @export
|
|
742
|
+
* @interface DeclineFriendshipRequestPayload
|
|
743
|
+
*/
|
|
744
|
+
export interface DeclineFriendshipRequestPayload {
|
|
745
|
+
/**
|
|
746
|
+
*
|
|
747
|
+
* @type {string}
|
|
748
|
+
* @memberof DeclineFriendshipRequestPayload
|
|
749
|
+
*/
|
|
750
|
+
'from': string;
|
|
751
|
+
}
|
|
545
752
|
/**
|
|
546
753
|
*
|
|
547
754
|
* @export
|
|
@@ -642,6 +849,19 @@ export interface EmployeesSizeListResponse {
|
|
|
642
849
|
*/
|
|
643
850
|
'data': Array<EmployeesSizeEntity>;
|
|
644
851
|
}
|
|
852
|
+
/**
|
|
853
|
+
*
|
|
854
|
+
* @export
|
|
855
|
+
* @interface FeedbackPayloadDTO
|
|
856
|
+
*/
|
|
857
|
+
export interface FeedbackPayloadDTO {
|
|
858
|
+
/**
|
|
859
|
+
* Feedback content or message
|
|
860
|
+
* @type {string}
|
|
861
|
+
* @memberof FeedbackPayloadDTO
|
|
862
|
+
*/
|
|
863
|
+
'content': string;
|
|
864
|
+
}
|
|
645
865
|
/**
|
|
646
866
|
*
|
|
647
867
|
* @export
|
|
@@ -693,6 +913,156 @@ export interface ForgotPasswordResponseDTO {
|
|
|
693
913
|
*/
|
|
694
914
|
'message': string;
|
|
695
915
|
}
|
|
916
|
+
/**
|
|
917
|
+
*
|
|
918
|
+
* @export
|
|
919
|
+
* @interface FriendsDTO
|
|
920
|
+
*/
|
|
921
|
+
export interface FriendsDTO {
|
|
922
|
+
/**
|
|
923
|
+
* statusCode
|
|
924
|
+
* @type {number}
|
|
925
|
+
* @memberof FriendsDTO
|
|
926
|
+
*/
|
|
927
|
+
'statusCode': number;
|
|
928
|
+
/**
|
|
929
|
+
* User
|
|
930
|
+
* @type {Array<UserEntity>}
|
|
931
|
+
* @memberof FriendsDTO
|
|
932
|
+
*/
|
|
933
|
+
'data': Array<UserEntity>;
|
|
934
|
+
}
|
|
935
|
+
/**
|
|
936
|
+
*
|
|
937
|
+
* @export
|
|
938
|
+
* @interface FriendsResponseDTO
|
|
939
|
+
*/
|
|
940
|
+
export interface FriendsResponseDTO {
|
|
941
|
+
/**
|
|
942
|
+
* statusCode
|
|
943
|
+
* @type {number}
|
|
944
|
+
* @memberof FriendsResponseDTO
|
|
945
|
+
*/
|
|
946
|
+
'statusCode': number;
|
|
947
|
+
/**
|
|
948
|
+
*
|
|
949
|
+
* @type {boolean}
|
|
950
|
+
* @memberof FriendsResponseDTO
|
|
951
|
+
*/
|
|
952
|
+
'success': boolean;
|
|
953
|
+
}
|
|
954
|
+
/**
|
|
955
|
+
*
|
|
956
|
+
* @export
|
|
957
|
+
* @interface FriendshipStatusCheck
|
|
958
|
+
*/
|
|
959
|
+
export interface FriendshipStatusCheck {
|
|
960
|
+
/**
|
|
961
|
+
*
|
|
962
|
+
* @type {string}
|
|
963
|
+
* @memberof FriendshipStatusCheck
|
|
964
|
+
*/
|
|
965
|
+
'to': string;
|
|
966
|
+
}
|
|
967
|
+
/**
|
|
968
|
+
*
|
|
969
|
+
* @export
|
|
970
|
+
* @interface FriendshipStatusDTO
|
|
971
|
+
*/
|
|
972
|
+
export interface FriendshipStatusDTO {
|
|
973
|
+
/**
|
|
974
|
+
* statusCode
|
|
975
|
+
* @type {number}
|
|
976
|
+
* @memberof FriendshipStatusDTO
|
|
977
|
+
*/
|
|
978
|
+
'statusCode': number;
|
|
979
|
+
/**
|
|
980
|
+
*
|
|
981
|
+
* @type {string}
|
|
982
|
+
* @memberof FriendshipStatusDTO
|
|
983
|
+
*/
|
|
984
|
+
'success': FriendshipStatusDTOSuccessEnum;
|
|
985
|
+
}
|
|
986
|
+
|
|
987
|
+
export const FriendshipStatusDTOSuccessEnum = {
|
|
988
|
+
Pending: 'PENDING',
|
|
989
|
+
Confirmed: 'CONFIRMED',
|
|
990
|
+
Rejected: 'REJECTED',
|
|
991
|
+
Cancelled: 'CANCELLED',
|
|
992
|
+
Unknown: 'UNKNOWN'
|
|
993
|
+
} as const;
|
|
994
|
+
|
|
995
|
+
export type FriendshipStatusDTOSuccessEnum = typeof FriendshipStatusDTOSuccessEnum[keyof typeof FriendshipStatusDTOSuccessEnum];
|
|
996
|
+
|
|
997
|
+
/**
|
|
998
|
+
*
|
|
999
|
+
* @export
|
|
1000
|
+
* @interface GetBusinessVenueDto
|
|
1001
|
+
*/
|
|
1002
|
+
export interface GetBusinessVenueDto {
|
|
1003
|
+
/**
|
|
1004
|
+
* Business type ID
|
|
1005
|
+
* @type {string}
|
|
1006
|
+
* @memberof GetBusinessVenueDto
|
|
1007
|
+
*/
|
|
1008
|
+
'type'?: string;
|
|
1009
|
+
/**
|
|
1010
|
+
* Business name search
|
|
1011
|
+
* @type {string}
|
|
1012
|
+
* @memberof GetBusinessVenueDto
|
|
1013
|
+
*/
|
|
1014
|
+
'search'?: string;
|
|
1015
|
+
/**
|
|
1016
|
+
* Business category ID
|
|
1017
|
+
* @type {string}
|
|
1018
|
+
* @memberof GetBusinessVenueDto
|
|
1019
|
+
*/
|
|
1020
|
+
'category'?: string;
|
|
1021
|
+
/**
|
|
1022
|
+
* Page number for pagination
|
|
1023
|
+
* @type {number}
|
|
1024
|
+
* @memberof GetBusinessVenueDto
|
|
1025
|
+
*/
|
|
1026
|
+
'page'?: number;
|
|
1027
|
+
/**
|
|
1028
|
+
* Number of items per page for pagination
|
|
1029
|
+
* @type {number}
|
|
1030
|
+
* @memberof GetBusinessVenueDto
|
|
1031
|
+
*/
|
|
1032
|
+
'limit'?: number;
|
|
1033
|
+
}
|
|
1034
|
+
/**
|
|
1035
|
+
*
|
|
1036
|
+
* @export
|
|
1037
|
+
* @interface GetNotificationDTO
|
|
1038
|
+
*/
|
|
1039
|
+
export interface GetNotificationDTO {
|
|
1040
|
+
/**
|
|
1041
|
+
* statusCode
|
|
1042
|
+
* @type {number}
|
|
1043
|
+
* @memberof GetNotificationDTO
|
|
1044
|
+
*/
|
|
1045
|
+
'statusCode': number;
|
|
1046
|
+
/**
|
|
1047
|
+
* Notifications
|
|
1048
|
+
* @type {Array<NotificationEntity>}
|
|
1049
|
+
* @memberof GetNotificationDTO
|
|
1050
|
+
*/
|
|
1051
|
+
'data': Array<NotificationEntity>;
|
|
1052
|
+
}
|
|
1053
|
+
/**
|
|
1054
|
+
*
|
|
1055
|
+
* @export
|
|
1056
|
+
* @interface GetUserDTO
|
|
1057
|
+
*/
|
|
1058
|
+
export interface GetUserDTO {
|
|
1059
|
+
/**
|
|
1060
|
+
* 66f135c95a81ce68c9015414
|
|
1061
|
+
* @type {string}
|
|
1062
|
+
* @memberof GetUserDTO
|
|
1063
|
+
*/
|
|
1064
|
+
'id': string;
|
|
1065
|
+
}
|
|
696
1066
|
/**
|
|
697
1067
|
*
|
|
698
1068
|
* @export
|
|
@@ -719,7 +1089,7 @@ export interface GoalEntity {
|
|
|
719
1089
|
*/
|
|
720
1090
|
export interface GoalListResponse {
|
|
721
1091
|
/**
|
|
722
|
-
*
|
|
1092
|
+
* statusCode
|
|
723
1093
|
* @type {number}
|
|
724
1094
|
* @memberof GoalListResponse
|
|
725
1095
|
*/
|
|
@@ -738,7 +1108,7 @@ export interface GoalListResponse {
|
|
|
738
1108
|
*/
|
|
739
1109
|
export interface GoogleOAuthResponseDTO {
|
|
740
1110
|
/**
|
|
741
|
-
*
|
|
1111
|
+
* statusCode
|
|
742
1112
|
* @type {number}
|
|
743
1113
|
* @memberof GoogleOAuthResponseDTO
|
|
744
1114
|
*/
|
|
@@ -766,19 +1136,50 @@ export interface GoogleVerificationPayloadDTO {
|
|
|
766
1136
|
/**
|
|
767
1137
|
*
|
|
768
1138
|
* @export
|
|
769
|
-
* @interface
|
|
1139
|
+
* @interface HelpCenterPayloadDTO
|
|
770
1140
|
*/
|
|
771
|
-
export interface
|
|
1141
|
+
export interface HelpCenterPayloadDTO {
|
|
772
1142
|
/**
|
|
773
|
-
*
|
|
1143
|
+
* First name of the user
|
|
774
1144
|
* @type {string}
|
|
775
|
-
* @memberof
|
|
1145
|
+
* @memberof HelpCenterPayloadDTO
|
|
776
1146
|
*/
|
|
777
|
-
'
|
|
1147
|
+
'firstName': string;
|
|
778
1148
|
/**
|
|
779
|
-
*
|
|
780
|
-
* @type {
|
|
781
|
-
* @memberof
|
|
1149
|
+
* Last name of the user
|
|
1150
|
+
* @type {string}
|
|
1151
|
+
* @memberof HelpCenterPayloadDTO
|
|
1152
|
+
*/
|
|
1153
|
+
'lastName': string;
|
|
1154
|
+
/**
|
|
1155
|
+
* Feedback content or message
|
|
1156
|
+
* @type {string}
|
|
1157
|
+
* @memberof HelpCenterPayloadDTO
|
|
1158
|
+
*/
|
|
1159
|
+
'content': string;
|
|
1160
|
+
/**
|
|
1161
|
+
* User email address
|
|
1162
|
+
* @type {string}
|
|
1163
|
+
* @memberof HelpCenterPayloadDTO
|
|
1164
|
+
*/
|
|
1165
|
+
'email': string;
|
|
1166
|
+
}
|
|
1167
|
+
/**
|
|
1168
|
+
*
|
|
1169
|
+
* @export
|
|
1170
|
+
* @interface IntegrationEntity
|
|
1171
|
+
*/
|
|
1172
|
+
export interface IntegrationEntity {
|
|
1173
|
+
/**
|
|
1174
|
+
* Unique identifier for the user
|
|
1175
|
+
* @type {string}
|
|
1176
|
+
* @memberof IntegrationEntity
|
|
1177
|
+
*/
|
|
1178
|
+
'user': string;
|
|
1179
|
+
/**
|
|
1180
|
+
* Status of the Integration
|
|
1181
|
+
* @type {boolean}
|
|
1182
|
+
* @memberof IntegrationEntity
|
|
782
1183
|
*/
|
|
783
1184
|
'isActive': boolean;
|
|
784
1185
|
/**
|
|
@@ -846,6 +1247,101 @@ export interface IntegrationsResponse {
|
|
|
846
1247
|
*/
|
|
847
1248
|
'data': Array<IntegrationEntity>;
|
|
848
1249
|
}
|
|
1250
|
+
/**
|
|
1251
|
+
*
|
|
1252
|
+
* @export
|
|
1253
|
+
* @interface LocationCoordinatesResponse
|
|
1254
|
+
*/
|
|
1255
|
+
export interface LocationCoordinatesResponse {
|
|
1256
|
+
/**
|
|
1257
|
+
* statusCode
|
|
1258
|
+
* @type {number}
|
|
1259
|
+
* @memberof LocationCoordinatesResponse
|
|
1260
|
+
*/
|
|
1261
|
+
'statusCode': number;
|
|
1262
|
+
/**
|
|
1263
|
+
* Location coordinate
|
|
1264
|
+
* @type {LocationDTO}
|
|
1265
|
+
* @memberof LocationCoordinatesResponse
|
|
1266
|
+
*/
|
|
1267
|
+
'data': LocationDTO;
|
|
1268
|
+
}
|
|
1269
|
+
/**
|
|
1270
|
+
*
|
|
1271
|
+
* @export
|
|
1272
|
+
* @interface LocationDTO
|
|
1273
|
+
*/
|
|
1274
|
+
export interface LocationDTO {
|
|
1275
|
+
/**
|
|
1276
|
+
*
|
|
1277
|
+
* @type {string}
|
|
1278
|
+
* @memberof LocationDTO
|
|
1279
|
+
*/
|
|
1280
|
+
'type': LocationDTOTypeEnum;
|
|
1281
|
+
/**
|
|
1282
|
+
*
|
|
1283
|
+
* @type {Array<number>}
|
|
1284
|
+
* @memberof LocationDTO
|
|
1285
|
+
*/
|
|
1286
|
+
'coordinates': Array<number>;
|
|
1287
|
+
/**
|
|
1288
|
+
*
|
|
1289
|
+
* @type {string}
|
|
1290
|
+
* @memberof LocationDTO
|
|
1291
|
+
*/
|
|
1292
|
+
'distance'?: string;
|
|
1293
|
+
/**
|
|
1294
|
+
*
|
|
1295
|
+
* @type {LocationMetaDTO}
|
|
1296
|
+
* @memberof LocationDTO
|
|
1297
|
+
*/
|
|
1298
|
+
'meta': LocationMetaDTO;
|
|
1299
|
+
}
|
|
1300
|
+
|
|
1301
|
+
export const LocationDTOTypeEnum = {
|
|
1302
|
+
Point: 'Point'
|
|
1303
|
+
} as const;
|
|
1304
|
+
|
|
1305
|
+
export type LocationDTOTypeEnum = typeof LocationDTOTypeEnum[keyof typeof LocationDTOTypeEnum];
|
|
1306
|
+
|
|
1307
|
+
/**
|
|
1308
|
+
*
|
|
1309
|
+
* @export
|
|
1310
|
+
* @interface LocationEntityResponse
|
|
1311
|
+
*/
|
|
1312
|
+
export interface LocationEntityResponse {
|
|
1313
|
+
/**
|
|
1314
|
+
* statusCode
|
|
1315
|
+
* @type {number}
|
|
1316
|
+
* @memberof LocationEntityResponse
|
|
1317
|
+
*/
|
|
1318
|
+
'statusCode': number;
|
|
1319
|
+
/**
|
|
1320
|
+
* Location places
|
|
1321
|
+
* @type {Array<Places>}
|
|
1322
|
+
* @memberof LocationEntityResponse
|
|
1323
|
+
*/
|
|
1324
|
+
'data': Array<Places>;
|
|
1325
|
+
}
|
|
1326
|
+
/**
|
|
1327
|
+
*
|
|
1328
|
+
* @export
|
|
1329
|
+
* @interface LocationMetaDTO
|
|
1330
|
+
*/
|
|
1331
|
+
export interface LocationMetaDTO {
|
|
1332
|
+
/**
|
|
1333
|
+
*
|
|
1334
|
+
* @type {string}
|
|
1335
|
+
* @memberof LocationMetaDTO
|
|
1336
|
+
*/
|
|
1337
|
+
'formattedAddress'?: string;
|
|
1338
|
+
/**
|
|
1339
|
+
*
|
|
1340
|
+
* @type {string}
|
|
1341
|
+
* @memberof LocationMetaDTO
|
|
1342
|
+
*/
|
|
1343
|
+
'shortFormattedAddress': string;
|
|
1344
|
+
}
|
|
849
1345
|
/**
|
|
850
1346
|
*
|
|
851
1347
|
* @export
|
|
@@ -904,7 +1400,7 @@ export interface MicrosoftCalendarAccessDTO {
|
|
|
904
1400
|
*/
|
|
905
1401
|
export interface MyAssistantResponse {
|
|
906
1402
|
/**
|
|
907
|
-
*
|
|
1403
|
+
* statusCode
|
|
908
1404
|
* @type {number}
|
|
909
1405
|
* @memberof MyAssistantResponse
|
|
910
1406
|
*/
|
|
@@ -942,7 +1438,7 @@ export interface NewPasswordPayloadDTO {
|
|
|
942
1438
|
*/
|
|
943
1439
|
export interface NewPasswordResponseDTO {
|
|
944
1440
|
/**
|
|
945
|
-
*
|
|
1441
|
+
* statusCode
|
|
946
1442
|
* @type {number}
|
|
947
1443
|
* @memberof NewPasswordResponseDTO
|
|
948
1444
|
*/
|
|
@@ -954,6 +1450,141 @@ export interface NewPasswordResponseDTO {
|
|
|
954
1450
|
*/
|
|
955
1451
|
'message': string;
|
|
956
1452
|
}
|
|
1453
|
+
/**
|
|
1454
|
+
*
|
|
1455
|
+
* @export
|
|
1456
|
+
* @interface NotificationEntity
|
|
1457
|
+
*/
|
|
1458
|
+
export interface NotificationEntity {
|
|
1459
|
+
/**
|
|
1460
|
+
* The title of the notification
|
|
1461
|
+
* @type {string}
|
|
1462
|
+
* @memberof NotificationEntity
|
|
1463
|
+
*/
|
|
1464
|
+
'_id': string;
|
|
1465
|
+
/**
|
|
1466
|
+
* The title of the notification
|
|
1467
|
+
* @type {string}
|
|
1468
|
+
* @memberof NotificationEntity
|
|
1469
|
+
*/
|
|
1470
|
+
'title': string;
|
|
1471
|
+
/**
|
|
1472
|
+
* The message content of the notification
|
|
1473
|
+
* @type {string}
|
|
1474
|
+
* @memberof NotificationEntity
|
|
1475
|
+
*/
|
|
1476
|
+
'message': string;
|
|
1477
|
+
/**
|
|
1478
|
+
* The ID of the recipient (optional)
|
|
1479
|
+
* @type {string}
|
|
1480
|
+
* @memberof NotificationEntity
|
|
1481
|
+
*/
|
|
1482
|
+
'recipientId'?: string;
|
|
1483
|
+
/**
|
|
1484
|
+
* The badge number (optional)
|
|
1485
|
+
* @type {number}
|
|
1486
|
+
* @memberof NotificationEntity
|
|
1487
|
+
*/
|
|
1488
|
+
'badge'?: number;
|
|
1489
|
+
/**
|
|
1490
|
+
* The user associated with the notification
|
|
1491
|
+
* @type {string}
|
|
1492
|
+
* @memberof NotificationEntity
|
|
1493
|
+
*/
|
|
1494
|
+
'user': string;
|
|
1495
|
+
/**
|
|
1496
|
+
* The channel through which the notification is sent
|
|
1497
|
+
* @type {string}
|
|
1498
|
+
* @memberof NotificationEntity
|
|
1499
|
+
*/
|
|
1500
|
+
'channel': NotificationEntityChannelEnum;
|
|
1501
|
+
/**
|
|
1502
|
+
* The type of the notification (optional)
|
|
1503
|
+
* @type {string}
|
|
1504
|
+
* @memberof NotificationEntity
|
|
1505
|
+
*/
|
|
1506
|
+
'type'?: NotificationEntityTypeEnum;
|
|
1507
|
+
/**
|
|
1508
|
+
* The status of the notification
|
|
1509
|
+
* @type {string}
|
|
1510
|
+
* @memberof NotificationEntity
|
|
1511
|
+
*/
|
|
1512
|
+
'status': NotificationEntityStatusEnum;
|
|
1513
|
+
/**
|
|
1514
|
+
* The scheduled time for the notification (optional)
|
|
1515
|
+
* @type {string}
|
|
1516
|
+
* @memberof NotificationEntity
|
|
1517
|
+
*/
|
|
1518
|
+
'scheduledAt'?: string;
|
|
1519
|
+
/**
|
|
1520
|
+
* Additional metadata associated with the notification (optional)
|
|
1521
|
+
* @type {object}
|
|
1522
|
+
* @memberof NotificationEntity
|
|
1523
|
+
*/
|
|
1524
|
+
'metadata'?: object;
|
|
1525
|
+
/**
|
|
1526
|
+
* Indicates if the notification has been read (optional)
|
|
1527
|
+
* @type {boolean}
|
|
1528
|
+
* @memberof NotificationEntity
|
|
1529
|
+
*/
|
|
1530
|
+
'isRead': boolean;
|
|
1531
|
+
}
|
|
1532
|
+
|
|
1533
|
+
export const NotificationEntityChannelEnum = {
|
|
1534
|
+
PushNotification: 'push-notification',
|
|
1535
|
+
Email: 'email'
|
|
1536
|
+
} as const;
|
|
1537
|
+
|
|
1538
|
+
export type NotificationEntityChannelEnum = typeof NotificationEntityChannelEnum[keyof typeof NotificationEntityChannelEnum];
|
|
1539
|
+
export const NotificationEntityTypeEnum = {
|
|
1540
|
+
UserSignup: 'user_signup',
|
|
1541
|
+
EmailVerification: 'email_verification',
|
|
1542
|
+
Promotion: 'promotion',
|
|
1543
|
+
SystemAlert: 'system_alert',
|
|
1544
|
+
FriendRequest: 'friend_request'
|
|
1545
|
+
} as const;
|
|
1546
|
+
|
|
1547
|
+
export type NotificationEntityTypeEnum = typeof NotificationEntityTypeEnum[keyof typeof NotificationEntityTypeEnum];
|
|
1548
|
+
export const NotificationEntityStatusEnum = {
|
|
1549
|
+
Pending: 'pending',
|
|
1550
|
+
Sent: 'sent',
|
|
1551
|
+
Failed: 'failed'
|
|
1552
|
+
} as const;
|
|
1553
|
+
|
|
1554
|
+
export type NotificationEntityStatusEnum = typeof NotificationEntityStatusEnum[keyof typeof NotificationEntityStatusEnum];
|
|
1555
|
+
|
|
1556
|
+
/**
|
|
1557
|
+
*
|
|
1558
|
+
* @export
|
|
1559
|
+
* @interface NotificationReadDTO
|
|
1560
|
+
*/
|
|
1561
|
+
export interface NotificationReadDTO {
|
|
1562
|
+
/**
|
|
1563
|
+
* Notification Id
|
|
1564
|
+
* @type {string}
|
|
1565
|
+
* @memberof NotificationReadDTO
|
|
1566
|
+
*/
|
|
1567
|
+
'notificationId': string;
|
|
1568
|
+
}
|
|
1569
|
+
/**
|
|
1570
|
+
*
|
|
1571
|
+
* @export
|
|
1572
|
+
* @interface NotificationReadResponseDTO
|
|
1573
|
+
*/
|
|
1574
|
+
export interface NotificationReadResponseDTO {
|
|
1575
|
+
/**
|
|
1576
|
+
* statusCode
|
|
1577
|
+
* @type {number}
|
|
1578
|
+
* @memberof NotificationReadResponseDTO
|
|
1579
|
+
*/
|
|
1580
|
+
'statusCode': number;
|
|
1581
|
+
/**
|
|
1582
|
+
*
|
|
1583
|
+
* @type {boolean}
|
|
1584
|
+
* @memberof NotificationReadResponseDTO
|
|
1585
|
+
*/
|
|
1586
|
+
'data': boolean;
|
|
1587
|
+
}
|
|
957
1588
|
/**
|
|
958
1589
|
*
|
|
959
1590
|
* @export
|
|
@@ -1010,6 +1641,25 @@ export interface OnBoardingResponseDTO {
|
|
|
1010
1641
|
*/
|
|
1011
1642
|
'data': UserEntity;
|
|
1012
1643
|
}
|
|
1644
|
+
/**
|
|
1645
|
+
*
|
|
1646
|
+
* @export
|
|
1647
|
+
* @interface Places
|
|
1648
|
+
*/
|
|
1649
|
+
export interface Places {
|
|
1650
|
+
/**
|
|
1651
|
+
*
|
|
1652
|
+
* @type {string}
|
|
1653
|
+
* @memberof Places
|
|
1654
|
+
*/
|
|
1655
|
+
'label': string;
|
|
1656
|
+
/**
|
|
1657
|
+
*
|
|
1658
|
+
* @type {string}
|
|
1659
|
+
* @memberof Places
|
|
1660
|
+
*/
|
|
1661
|
+
'value': string;
|
|
1662
|
+
}
|
|
1013
1663
|
/**
|
|
1014
1664
|
*
|
|
1015
1665
|
* @export
|
|
@@ -1097,6 +1747,19 @@ export interface PlanResponseDTO {
|
|
|
1097
1747
|
*/
|
|
1098
1748
|
'data': Array<PlanEntity>;
|
|
1099
1749
|
}
|
|
1750
|
+
/**
|
|
1751
|
+
*
|
|
1752
|
+
* @export
|
|
1753
|
+
* @interface PlanUpsertPayloadDTO
|
|
1754
|
+
*/
|
|
1755
|
+
export interface PlanUpsertPayloadDTO {
|
|
1756
|
+
/**
|
|
1757
|
+
* Plan id
|
|
1758
|
+
* @type {string}
|
|
1759
|
+
* @memberof PlanUpsertPayloadDTO
|
|
1760
|
+
*/
|
|
1761
|
+
'plan': string;
|
|
1762
|
+
}
|
|
1100
1763
|
/**
|
|
1101
1764
|
*
|
|
1102
1765
|
* @export
|
|
@@ -1182,6 +1845,19 @@ export interface PriceRangeListResponse {
|
|
|
1182
1845
|
*/
|
|
1183
1846
|
'data': Array<PriceRangeEntity>;
|
|
1184
1847
|
}
|
|
1848
|
+
/**
|
|
1849
|
+
*
|
|
1850
|
+
* @export
|
|
1851
|
+
* @interface RemoveFriendshipRequestPayload
|
|
1852
|
+
*/
|
|
1853
|
+
export interface RemoveFriendshipRequestPayload {
|
|
1854
|
+
/**
|
|
1855
|
+
*
|
|
1856
|
+
* @type {string}
|
|
1857
|
+
* @memberof RemoveFriendshipRequestPayload
|
|
1858
|
+
*/
|
|
1859
|
+
'from': string;
|
|
1860
|
+
}
|
|
1185
1861
|
/**
|
|
1186
1862
|
*
|
|
1187
1863
|
* @export
|
|
@@ -1208,7 +1884,7 @@ export interface ResetPasswordPayloadDTO {
|
|
|
1208
1884
|
*/
|
|
1209
1885
|
export interface ResetPasswordResponseDTO {
|
|
1210
1886
|
/**
|
|
1211
|
-
*
|
|
1887
|
+
* statusCode
|
|
1212
1888
|
* @type {number}
|
|
1213
1889
|
* @memberof ResetPasswordResponseDTO
|
|
1214
1890
|
*/
|
|
@@ -1220,6 +1896,19 @@ export interface ResetPasswordResponseDTO {
|
|
|
1220
1896
|
*/
|
|
1221
1897
|
'message': string;
|
|
1222
1898
|
}
|
|
1899
|
+
/**
|
|
1900
|
+
*
|
|
1901
|
+
* @export
|
|
1902
|
+
* @interface SendFriendshipRequestPayload
|
|
1903
|
+
*/
|
|
1904
|
+
export interface SendFriendshipRequestPayload {
|
|
1905
|
+
/**
|
|
1906
|
+
*
|
|
1907
|
+
* @type {string}
|
|
1908
|
+
* @memberof SendFriendshipRequestPayload
|
|
1909
|
+
*/
|
|
1910
|
+
'to': string;
|
|
1911
|
+
}
|
|
1223
1912
|
/**
|
|
1224
1913
|
*
|
|
1225
1914
|
* @export
|
|
@@ -1265,7 +1954,7 @@ export interface SignInResponse {
|
|
|
1265
1954
|
*/
|
|
1266
1955
|
export interface SignInResponseDto {
|
|
1267
1956
|
/**
|
|
1268
|
-
*
|
|
1957
|
+
* statusCode
|
|
1269
1958
|
* @type {number}
|
|
1270
1959
|
* @memberof SignInResponseDto
|
|
1271
1960
|
*/
|
|
@@ -1320,6 +2009,18 @@ export interface SignupDto {
|
|
|
1320
2009
|
* @memberof SignupDto
|
|
1321
2010
|
*/
|
|
1322
2011
|
'lastName': string;
|
|
2012
|
+
/**
|
|
2013
|
+
* Contact Number For User
|
|
2014
|
+
* @type {string}
|
|
2015
|
+
* @memberof SignupDto
|
|
2016
|
+
*/
|
|
2017
|
+
'mobileNumber'?: string;
|
|
2018
|
+
/**
|
|
2019
|
+
* User gender
|
|
2020
|
+
* @type {string}
|
|
2021
|
+
* @memberof SignupDto
|
|
2022
|
+
*/
|
|
2023
|
+
'gender'?: string;
|
|
1323
2024
|
/**
|
|
1324
2025
|
* The email of the user
|
|
1325
2026
|
* @type {string}
|
|
@@ -1359,7 +2060,7 @@ export interface SignupResponse {
|
|
|
1359
2060
|
*/
|
|
1360
2061
|
export interface SignupResponseDto {
|
|
1361
2062
|
/**
|
|
1362
|
-
*
|
|
2063
|
+
* statusCode
|
|
1363
2064
|
* @type {number}
|
|
1364
2065
|
* @memberof SignupResponseDto
|
|
1365
2066
|
*/
|
|
@@ -1399,46 +2100,72 @@ export interface SkillDto {
|
|
|
1399
2100
|
/**
|
|
1400
2101
|
*
|
|
1401
2102
|
* @export
|
|
1402
|
-
* @interface
|
|
2103
|
+
* @interface StripePaymentDTO
|
|
1403
2104
|
*/
|
|
1404
|
-
export interface
|
|
1405
|
-
/**
|
|
1406
|
-
* Strip Customer ID
|
|
1407
|
-
* @type {string}
|
|
1408
|
-
* @memberof StripPaymentDTO
|
|
1409
|
-
*/
|
|
1410
|
-
'customerId': string;
|
|
2105
|
+
export interface StripePaymentDTO {
|
|
1411
2106
|
/**
|
|
1412
|
-
*
|
|
2107
|
+
* Stripe ephemeral Key
|
|
1413
2108
|
* @type {string}
|
|
1414
|
-
* @memberof
|
|
2109
|
+
* @memberof StripePaymentDTO
|
|
1415
2110
|
*/
|
|
1416
2111
|
'ephemeralKey': string;
|
|
1417
2112
|
/**
|
|
1418
|
-
*
|
|
2113
|
+
* Stripe ClientSecret
|
|
1419
2114
|
* @type {string}
|
|
1420
|
-
* @memberof
|
|
2115
|
+
* @memberof StripePaymentDTO
|
|
1421
2116
|
*/
|
|
1422
2117
|
'clientSecret': string;
|
|
1423
2118
|
}
|
|
1424
2119
|
/**
|
|
1425
2120
|
*
|
|
1426
2121
|
* @export
|
|
1427
|
-
* @interface
|
|
2122
|
+
* @interface StripePlanUpsertResponseDTO
|
|
2123
|
+
*/
|
|
2124
|
+
export interface StripePlanUpsertResponseDTO {
|
|
2125
|
+
/**
|
|
2126
|
+
* statusCode
|
|
2127
|
+
* @type {number}
|
|
2128
|
+
* @memberof StripePlanUpsertResponseDTO
|
|
2129
|
+
*/
|
|
2130
|
+
'statusCode': number;
|
|
2131
|
+
/**
|
|
2132
|
+
* Stripe Intent Data
|
|
2133
|
+
* @type {StripePaymentDTO}
|
|
2134
|
+
* @memberof StripePlanUpsertResponseDTO
|
|
2135
|
+
*/
|
|
2136
|
+
'data': StripePaymentDTO;
|
|
2137
|
+
}
|
|
2138
|
+
/**
|
|
2139
|
+
*
|
|
2140
|
+
* @export
|
|
2141
|
+
* @interface StripeSetupIntentResponseDTO
|
|
1428
2142
|
*/
|
|
1429
|
-
export interface
|
|
2143
|
+
export interface StripeSetupIntentResponseDTO {
|
|
1430
2144
|
/**
|
|
1431
|
-
*
|
|
2145
|
+
* statusCode
|
|
1432
2146
|
* @type {number}
|
|
1433
|
-
* @memberof
|
|
2147
|
+
* @memberof StripeSetupIntentResponseDTO
|
|
1434
2148
|
*/
|
|
1435
2149
|
'statusCode': number;
|
|
1436
2150
|
/**
|
|
1437
|
-
*
|
|
1438
|
-
* @type {
|
|
1439
|
-
* @memberof
|
|
2151
|
+
* Stripe Setup Intent Data
|
|
2152
|
+
* @type {StripeSetupPaymentIntentDTO}
|
|
2153
|
+
* @memberof StripeSetupIntentResponseDTO
|
|
2154
|
+
*/
|
|
2155
|
+
'data': StripeSetupPaymentIntentDTO;
|
|
2156
|
+
}
|
|
2157
|
+
/**
|
|
2158
|
+
*
|
|
2159
|
+
* @export
|
|
2160
|
+
* @interface StripeSetupPaymentIntentDTO
|
|
2161
|
+
*/
|
|
2162
|
+
export interface StripeSetupPaymentIntentDTO {
|
|
2163
|
+
/**
|
|
2164
|
+
* Stripe Client Secret
|
|
2165
|
+
* @type {string}
|
|
2166
|
+
* @memberof StripeSetupPaymentIntentDTO
|
|
1440
2167
|
*/
|
|
1441
|
-
'
|
|
2168
|
+
'clientSecret': string;
|
|
1442
2169
|
}
|
|
1443
2170
|
/**
|
|
1444
2171
|
*
|
|
@@ -1452,6 +2179,12 @@ export interface UserEntity {
|
|
|
1452
2179
|
* @memberof UserEntity
|
|
1453
2180
|
*/
|
|
1454
2181
|
'_id': string;
|
|
2182
|
+
/**
|
|
2183
|
+
* Unique identifier for the Gooday user
|
|
2184
|
+
* @type {string}
|
|
2185
|
+
* @memberof UserEntity
|
|
2186
|
+
*/
|
|
2187
|
+
'goodayId': string;
|
|
1455
2188
|
/**
|
|
1456
2189
|
* First name of the user
|
|
1457
2190
|
* @type {string}
|
|
@@ -1464,12 +2197,24 @@ export interface UserEntity {
|
|
|
1464
2197
|
* @memberof UserEntity
|
|
1465
2198
|
*/
|
|
1466
2199
|
'lastName': string;
|
|
2200
|
+
/**
|
|
2201
|
+
* Is account deactivated?
|
|
2202
|
+
* @type {boolean}
|
|
2203
|
+
* @memberof UserEntity
|
|
2204
|
+
*/
|
|
2205
|
+
'isDeleted': boolean;
|
|
1467
2206
|
/**
|
|
1468
2207
|
* Email address of the user
|
|
1469
2208
|
* @type {string}
|
|
1470
2209
|
* @memberof UserEntity
|
|
1471
2210
|
*/
|
|
1472
2211
|
'email': string;
|
|
2212
|
+
/**
|
|
2213
|
+
* User location
|
|
2214
|
+
* @type {Array<number>}
|
|
2215
|
+
* @memberof UserEntity
|
|
2216
|
+
*/
|
|
2217
|
+
'location'?: Array<number>;
|
|
1473
2218
|
/**
|
|
1474
2219
|
* Nickname of the user
|
|
1475
2220
|
* @type {string}
|
|
@@ -1489,13 +2234,25 @@ export interface UserEntity {
|
|
|
1489
2234
|
*/
|
|
1490
2235
|
'assistant': string;
|
|
1491
2236
|
/**
|
|
1492
|
-
*
|
|
1493
|
-
* @type {
|
|
2237
|
+
* Phone No
|
|
2238
|
+
* @type {string}
|
|
1494
2239
|
* @memberof UserEntity
|
|
1495
2240
|
*/
|
|
1496
|
-
'
|
|
2241
|
+
'mobileNumber'?: string;
|
|
1497
2242
|
/**
|
|
1498
|
-
*
|
|
2243
|
+
* User gender
|
|
2244
|
+
* @type {string}
|
|
2245
|
+
* @memberof UserEntity
|
|
2246
|
+
*/
|
|
2247
|
+
'gender'?: string;
|
|
2248
|
+
/**
|
|
2249
|
+
* Indicates whether the user\'s email has been verified
|
|
2250
|
+
* @type {boolean}
|
|
2251
|
+
* @memberof UserEntity
|
|
2252
|
+
*/
|
|
2253
|
+
'isEmailVerified': boolean;
|
|
2254
|
+
/**
|
|
2255
|
+
* Role of the user in the system
|
|
1499
2256
|
* @type {string}
|
|
1500
2257
|
* @memberof UserEntity
|
|
1501
2258
|
*/
|
|
@@ -1512,6 +2269,18 @@ export interface UserEntity {
|
|
|
1512
2269
|
* @memberof UserEntity
|
|
1513
2270
|
*/
|
|
1514
2271
|
'plan': UserPlanDTO;
|
|
2272
|
+
/**
|
|
2273
|
+
* Plan subscribed by the user
|
|
2274
|
+
* @type {BusinessEntity}
|
|
2275
|
+
* @memberof UserEntity
|
|
2276
|
+
*/
|
|
2277
|
+
'business'?: BusinessEntity;
|
|
2278
|
+
/**
|
|
2279
|
+
* User permissions
|
|
2280
|
+
* @type {UserPermissionDTO}
|
|
2281
|
+
* @memberof UserEntity
|
|
2282
|
+
*/
|
|
2283
|
+
'permissions': UserPermissionDTO;
|
|
1515
2284
|
/**
|
|
1516
2285
|
* Action user has to perform
|
|
1517
2286
|
* @type {Array<string>}
|
|
@@ -1534,7 +2303,7 @@ export type UserEntityRoleEnum = typeof UserEntityRoleEnum[keyof typeof UserEnti
|
|
|
1534
2303
|
*/
|
|
1535
2304
|
export interface UserMeDTO {
|
|
1536
2305
|
/**
|
|
1537
|
-
*
|
|
2306
|
+
* statusCode
|
|
1538
2307
|
* @type {number}
|
|
1539
2308
|
* @memberof UserMeDTO
|
|
1540
2309
|
*/
|
|
@@ -1546,6 +2315,67 @@ export interface UserMeDTO {
|
|
|
1546
2315
|
*/
|
|
1547
2316
|
'data': UserEntity;
|
|
1548
2317
|
}
|
|
2318
|
+
/**
|
|
2319
|
+
*
|
|
2320
|
+
* @export
|
|
2321
|
+
* @interface UserPermissionDTO
|
|
2322
|
+
*/
|
|
2323
|
+
export interface UserPermissionDTO {
|
|
2324
|
+
/**
|
|
2325
|
+
* Specifies if the user has granted location access permission.
|
|
2326
|
+
* @type {boolean}
|
|
2327
|
+
* @memberof UserPermissionDTO
|
|
2328
|
+
*/
|
|
2329
|
+
'locationAccessPermission'?: boolean;
|
|
2330
|
+
/**
|
|
2331
|
+
* Specifies if the user has granted access to the device timezone.
|
|
2332
|
+
* @type {boolean}
|
|
2333
|
+
* @memberof UserPermissionDTO
|
|
2334
|
+
*/
|
|
2335
|
+
'deviceTimezone'?: boolean;
|
|
2336
|
+
/**
|
|
2337
|
+
* Specifies if the user has granted permission for timezone settings.
|
|
2338
|
+
* @type {boolean}
|
|
2339
|
+
* @memberof UserPermissionDTO
|
|
2340
|
+
*/
|
|
2341
|
+
'timezone'?: boolean;
|
|
2342
|
+
/**
|
|
2343
|
+
* Specifies if the user has granted calendar access permission.
|
|
2344
|
+
* @type {boolean}
|
|
2345
|
+
* @memberof UserPermissionDTO
|
|
2346
|
+
*/
|
|
2347
|
+
'calendar'?: boolean;
|
|
2348
|
+
/**
|
|
2349
|
+
* Specifies if the user has granted access to tasks.
|
|
2350
|
+
* @type {boolean}
|
|
2351
|
+
* @memberof UserPermissionDTO
|
|
2352
|
+
*/
|
|
2353
|
+
'tasks'?: boolean;
|
|
2354
|
+
/**
|
|
2355
|
+
* Specifies if the user has granted access to reminders.
|
|
2356
|
+
* @type {boolean}
|
|
2357
|
+
* @memberof UserPermissionDTO
|
|
2358
|
+
*/
|
|
2359
|
+
'reminders'?: boolean;
|
|
2360
|
+
/**
|
|
2361
|
+
* Specifies if the user has granted access to the waitlist feature.
|
|
2362
|
+
* @type {boolean}
|
|
2363
|
+
* @memberof UserPermissionDTO
|
|
2364
|
+
*/
|
|
2365
|
+
'waitlist'?: boolean;
|
|
2366
|
+
/**
|
|
2367
|
+
* Specifies if the user has granted access to the booking feature.
|
|
2368
|
+
* @type {boolean}
|
|
2369
|
+
* @memberof UserPermissionDTO
|
|
2370
|
+
*/
|
|
2371
|
+
'booking'?: boolean;
|
|
2372
|
+
/**
|
|
2373
|
+
* Specifies if the user has granted access to the invites feature.
|
|
2374
|
+
* @type {boolean}
|
|
2375
|
+
* @memberof UserPermissionDTO
|
|
2376
|
+
*/
|
|
2377
|
+
'invites'?: boolean;
|
|
2378
|
+
}
|
|
1549
2379
|
/**
|
|
1550
2380
|
*
|
|
1551
2381
|
* @export
|
|
@@ -1573,6 +2403,25 @@ export const UserPlanDTONameEnum = {
|
|
|
1573
2403
|
|
|
1574
2404
|
export type UserPlanDTONameEnum = typeof UserPlanDTONameEnum[keyof typeof UserPlanDTONameEnum];
|
|
1575
2405
|
|
|
2406
|
+
/**
|
|
2407
|
+
*
|
|
2408
|
+
* @export
|
|
2409
|
+
* @interface UserSyncDTO
|
|
2410
|
+
*/
|
|
2411
|
+
export interface UserSyncDTO {
|
|
2412
|
+
/**
|
|
2413
|
+
* User location
|
|
2414
|
+
* @type {Array<number>}
|
|
2415
|
+
* @memberof UserSyncDTO
|
|
2416
|
+
*/
|
|
2417
|
+
'location': Array<number>;
|
|
2418
|
+
/**
|
|
2419
|
+
* Timezone
|
|
2420
|
+
* @type {string}
|
|
2421
|
+
* @memberof UserSyncDTO
|
|
2422
|
+
*/
|
|
2423
|
+
'timezone'?: string;
|
|
2424
|
+
}
|
|
1576
2425
|
/**
|
|
1577
2426
|
*
|
|
1578
2427
|
* @export
|
|
@@ -1771,6 +2620,187 @@ export class AIApi extends BaseAPI {
|
|
|
1771
2620
|
|
|
1772
2621
|
|
|
1773
2622
|
|
|
2623
|
+
/**
|
|
2624
|
+
* AppApi - axios parameter creator
|
|
2625
|
+
* @export
|
|
2626
|
+
*/
|
|
2627
|
+
export const AppApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
2628
|
+
return {
|
|
2629
|
+
/**
|
|
2630
|
+
*
|
|
2631
|
+
* @param {FeedbackPayloadDTO} feedbackPayloadDTO
|
|
2632
|
+
* @param {*} [options] Override http request option.
|
|
2633
|
+
* @throws {RequiredError}
|
|
2634
|
+
*/
|
|
2635
|
+
appResponseControllerFeedbackResponse: async (feedbackPayloadDTO: FeedbackPayloadDTO, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
2636
|
+
// verify required parameter 'feedbackPayloadDTO' is not null or undefined
|
|
2637
|
+
assertParamExists('appResponseControllerFeedbackResponse', 'feedbackPayloadDTO', feedbackPayloadDTO)
|
|
2638
|
+
const localVarPath = `/v1/feedback`;
|
|
2639
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
2640
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2641
|
+
let baseOptions;
|
|
2642
|
+
if (configuration) {
|
|
2643
|
+
baseOptions = configuration.baseOptions;
|
|
2644
|
+
}
|
|
2645
|
+
|
|
2646
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
2647
|
+
const localVarHeaderParameter = {} as any;
|
|
2648
|
+
const localVarQueryParameter = {} as any;
|
|
2649
|
+
|
|
2650
|
+
// authentication bearer required
|
|
2651
|
+
// http bearer authentication required
|
|
2652
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
2653
|
+
|
|
2654
|
+
|
|
2655
|
+
|
|
2656
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
2657
|
+
|
|
2658
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2659
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2660
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
2661
|
+
localVarRequestOptions.data = serializeDataIfNeeded(feedbackPayloadDTO, localVarRequestOptions, configuration)
|
|
2662
|
+
|
|
2663
|
+
return {
|
|
2664
|
+
url: toPathString(localVarUrlObj),
|
|
2665
|
+
options: localVarRequestOptions,
|
|
2666
|
+
};
|
|
2667
|
+
},
|
|
2668
|
+
/**
|
|
2669
|
+
*
|
|
2670
|
+
* @param {HelpCenterPayloadDTO} helpCenterPayloadDTO
|
|
2671
|
+
* @param {*} [options] Override http request option.
|
|
2672
|
+
* @throws {RequiredError}
|
|
2673
|
+
*/
|
|
2674
|
+
appResponseControllerHelpCenterResponse: async (helpCenterPayloadDTO: HelpCenterPayloadDTO, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
2675
|
+
// verify required parameter 'helpCenterPayloadDTO' is not null or undefined
|
|
2676
|
+
assertParamExists('appResponseControllerHelpCenterResponse', 'helpCenterPayloadDTO', helpCenterPayloadDTO)
|
|
2677
|
+
const localVarPath = `/v1/help-center`;
|
|
2678
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
2679
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2680
|
+
let baseOptions;
|
|
2681
|
+
if (configuration) {
|
|
2682
|
+
baseOptions = configuration.baseOptions;
|
|
2683
|
+
}
|
|
2684
|
+
|
|
2685
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
2686
|
+
const localVarHeaderParameter = {} as any;
|
|
2687
|
+
const localVarQueryParameter = {} as any;
|
|
2688
|
+
|
|
2689
|
+
// authentication bearer required
|
|
2690
|
+
// http bearer authentication required
|
|
2691
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
2692
|
+
|
|
2693
|
+
|
|
2694
|
+
|
|
2695
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
2696
|
+
|
|
2697
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2698
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2699
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
2700
|
+
localVarRequestOptions.data = serializeDataIfNeeded(helpCenterPayloadDTO, localVarRequestOptions, configuration)
|
|
2701
|
+
|
|
2702
|
+
return {
|
|
2703
|
+
url: toPathString(localVarUrlObj),
|
|
2704
|
+
options: localVarRequestOptions,
|
|
2705
|
+
};
|
|
2706
|
+
},
|
|
2707
|
+
}
|
|
2708
|
+
};
|
|
2709
|
+
|
|
2710
|
+
/**
|
|
2711
|
+
* AppApi - functional programming interface
|
|
2712
|
+
* @export
|
|
2713
|
+
*/
|
|
2714
|
+
export const AppApiFp = function(configuration?: Configuration) {
|
|
2715
|
+
const localVarAxiosParamCreator = AppApiAxiosParamCreator(configuration)
|
|
2716
|
+
return {
|
|
2717
|
+
/**
|
|
2718
|
+
*
|
|
2719
|
+
* @param {FeedbackPayloadDTO} feedbackPayloadDTO
|
|
2720
|
+
* @param {*} [options] Override http request option.
|
|
2721
|
+
* @throws {RequiredError}
|
|
2722
|
+
*/
|
|
2723
|
+
async appResponseControllerFeedbackResponse(feedbackPayloadDTO: FeedbackPayloadDTO, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
2724
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.appResponseControllerFeedbackResponse(feedbackPayloadDTO, options);
|
|
2725
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
2726
|
+
const localVarOperationServerBasePath = operationServerMap['AppApi.appResponseControllerFeedbackResponse']?.[localVarOperationServerIndex]?.url;
|
|
2727
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2728
|
+
},
|
|
2729
|
+
/**
|
|
2730
|
+
*
|
|
2731
|
+
* @param {HelpCenterPayloadDTO} helpCenterPayloadDTO
|
|
2732
|
+
* @param {*} [options] Override http request option.
|
|
2733
|
+
* @throws {RequiredError}
|
|
2734
|
+
*/
|
|
2735
|
+
async appResponseControllerHelpCenterResponse(helpCenterPayloadDTO: HelpCenterPayloadDTO, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
2736
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.appResponseControllerHelpCenterResponse(helpCenterPayloadDTO, options);
|
|
2737
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
2738
|
+
const localVarOperationServerBasePath = operationServerMap['AppApi.appResponseControllerHelpCenterResponse']?.[localVarOperationServerIndex]?.url;
|
|
2739
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2740
|
+
},
|
|
2741
|
+
}
|
|
2742
|
+
};
|
|
2743
|
+
|
|
2744
|
+
/**
|
|
2745
|
+
* AppApi - factory interface
|
|
2746
|
+
* @export
|
|
2747
|
+
*/
|
|
2748
|
+
export const AppApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
2749
|
+
const localVarFp = AppApiFp(configuration)
|
|
2750
|
+
return {
|
|
2751
|
+
/**
|
|
2752
|
+
*
|
|
2753
|
+
* @param {FeedbackPayloadDTO} feedbackPayloadDTO
|
|
2754
|
+
* @param {*} [options] Override http request option.
|
|
2755
|
+
* @throws {RequiredError}
|
|
2756
|
+
*/
|
|
2757
|
+
appResponseControllerFeedbackResponse(feedbackPayloadDTO: FeedbackPayloadDTO, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
2758
|
+
return localVarFp.appResponseControllerFeedbackResponse(feedbackPayloadDTO, options).then((request) => request(axios, basePath));
|
|
2759
|
+
},
|
|
2760
|
+
/**
|
|
2761
|
+
*
|
|
2762
|
+
* @param {HelpCenterPayloadDTO} helpCenterPayloadDTO
|
|
2763
|
+
* @param {*} [options] Override http request option.
|
|
2764
|
+
* @throws {RequiredError}
|
|
2765
|
+
*/
|
|
2766
|
+
appResponseControllerHelpCenterResponse(helpCenterPayloadDTO: HelpCenterPayloadDTO, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
2767
|
+
return localVarFp.appResponseControllerHelpCenterResponse(helpCenterPayloadDTO, options).then((request) => request(axios, basePath));
|
|
2768
|
+
},
|
|
2769
|
+
};
|
|
2770
|
+
};
|
|
2771
|
+
|
|
2772
|
+
/**
|
|
2773
|
+
* AppApi - object-oriented interface
|
|
2774
|
+
* @export
|
|
2775
|
+
* @class AppApi
|
|
2776
|
+
* @extends {BaseAPI}
|
|
2777
|
+
*/
|
|
2778
|
+
export class AppApi extends BaseAPI {
|
|
2779
|
+
/**
|
|
2780
|
+
*
|
|
2781
|
+
* @param {FeedbackPayloadDTO} feedbackPayloadDTO
|
|
2782
|
+
* @param {*} [options] Override http request option.
|
|
2783
|
+
* @throws {RequiredError}
|
|
2784
|
+
* @memberof AppApi
|
|
2785
|
+
*/
|
|
2786
|
+
public appResponseControllerFeedbackResponse(feedbackPayloadDTO: FeedbackPayloadDTO, options?: RawAxiosRequestConfig) {
|
|
2787
|
+
return AppApiFp(this.configuration).appResponseControllerFeedbackResponse(feedbackPayloadDTO, options).then((request) => request(this.axios, this.basePath));
|
|
2788
|
+
}
|
|
2789
|
+
|
|
2790
|
+
/**
|
|
2791
|
+
*
|
|
2792
|
+
* @param {HelpCenterPayloadDTO} helpCenterPayloadDTO
|
|
2793
|
+
* @param {*} [options] Override http request option.
|
|
2794
|
+
* @throws {RequiredError}
|
|
2795
|
+
* @memberof AppApi
|
|
2796
|
+
*/
|
|
2797
|
+
public appResponseControllerHelpCenterResponse(helpCenterPayloadDTO: HelpCenterPayloadDTO, options?: RawAxiosRequestConfig) {
|
|
2798
|
+
return AppApiFp(this.configuration).appResponseControllerHelpCenterResponse(helpCenterPayloadDTO, options).then((request) => request(this.axios, this.basePath));
|
|
2799
|
+
}
|
|
2800
|
+
}
|
|
2801
|
+
|
|
2802
|
+
|
|
2803
|
+
|
|
1774
2804
|
/**
|
|
1775
2805
|
* AuthApi - axios parameter creator
|
|
1776
2806
|
* @export
|
|
@@ -2505,7 +3535,7 @@ export const BusinessApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
2505
3535
|
* @throws {RequiredError}
|
|
2506
3536
|
*/
|
|
2507
3537
|
businessControllerListBusinesses: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
2508
|
-
const localVarPath = `/business`;
|
|
3538
|
+
const localVarPath = `/v1/business`;
|
|
2509
3539
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
2510
3540
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2511
3541
|
let baseOptions;
|
|
@@ -2528,6 +3558,45 @@ export const BusinessApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
2528
3558
|
options: localVarRequestOptions,
|
|
2529
3559
|
};
|
|
2530
3560
|
},
|
|
3561
|
+
/**
|
|
3562
|
+
*
|
|
3563
|
+
* @param {GetBusinessVenueDto} getBusinessVenueDto
|
|
3564
|
+
* @param {*} [options] Override http request option.
|
|
3565
|
+
* @throws {RequiredError}
|
|
3566
|
+
*/
|
|
3567
|
+
businessTypeControllerGetBusinessVenue: async (getBusinessVenueDto: GetBusinessVenueDto, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
3568
|
+
// verify required parameter 'getBusinessVenueDto' is not null or undefined
|
|
3569
|
+
assertParamExists('businessTypeControllerGetBusinessVenue', 'getBusinessVenueDto', getBusinessVenueDto)
|
|
3570
|
+
const localVarPath = `/v1/business/business-venue`;
|
|
3571
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
3572
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
3573
|
+
let baseOptions;
|
|
3574
|
+
if (configuration) {
|
|
3575
|
+
baseOptions = configuration.baseOptions;
|
|
3576
|
+
}
|
|
3577
|
+
|
|
3578
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
3579
|
+
const localVarHeaderParameter = {} as any;
|
|
3580
|
+
const localVarQueryParameter = {} as any;
|
|
3581
|
+
|
|
3582
|
+
// authentication bearer required
|
|
3583
|
+
// http bearer authentication required
|
|
3584
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
3585
|
+
|
|
3586
|
+
|
|
3587
|
+
|
|
3588
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
3589
|
+
|
|
3590
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
3591
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3592
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
3593
|
+
localVarRequestOptions.data = serializeDataIfNeeded(getBusinessVenueDto, localVarRequestOptions, configuration)
|
|
3594
|
+
|
|
3595
|
+
return {
|
|
3596
|
+
url: toPathString(localVarUrlObj),
|
|
3597
|
+
options: localVarRequestOptions,
|
|
3598
|
+
};
|
|
3599
|
+
},
|
|
2531
3600
|
/**
|
|
2532
3601
|
*
|
|
2533
3602
|
* @param {*} [options] Override http request option.
|
|
@@ -2563,15 +3632,15 @@ export const BusinessApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
2563
3632
|
},
|
|
2564
3633
|
/**
|
|
2565
3634
|
*
|
|
2566
|
-
* @param {string}
|
|
3635
|
+
* @param {string} businessTypeId ID of the business type
|
|
2567
3636
|
* @param {*} [options] Override http request option.
|
|
2568
3637
|
* @throws {RequiredError}
|
|
2569
3638
|
*/
|
|
2570
|
-
businessTypeControllerListCategories: async (
|
|
2571
|
-
// verify required parameter '
|
|
2572
|
-
assertParamExists('businessTypeControllerListCategories', '
|
|
2573
|
-
const localVarPath = `/v1/business/{
|
|
2574
|
-
.replace(`{${"
|
|
3639
|
+
businessTypeControllerListCategories: async (businessTypeId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
3640
|
+
// verify required parameter 'businessTypeId' is not null or undefined
|
|
3641
|
+
assertParamExists('businessTypeControllerListCategories', 'businessTypeId', businessTypeId)
|
|
3642
|
+
const localVarPath = `/v1/business/{businessTypeId}/categories`
|
|
3643
|
+
.replace(`{${"businessTypeId"}}`, encodeURIComponent(String(businessTypeId)));
|
|
2575
3644
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
2576
3645
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2577
3646
|
let baseOptions;
|
|
@@ -2664,36 +3733,151 @@ export const BusinessApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
2664
3733
|
options: localVarRequestOptions,
|
|
2665
3734
|
};
|
|
2666
3735
|
},
|
|
2667
|
-
}
|
|
2668
|
-
};
|
|
2669
|
-
|
|
2670
|
-
/**
|
|
2671
|
-
* BusinessApi - functional programming interface
|
|
2672
|
-
* @export
|
|
2673
|
-
*/
|
|
2674
|
-
export const BusinessApiFp = function(configuration?: Configuration) {
|
|
2675
|
-
const localVarAxiosParamCreator = BusinessApiAxiosParamCreator(configuration)
|
|
2676
|
-
return {
|
|
2677
|
-
/**
|
|
2678
|
-
*
|
|
2679
|
-
* @param {BusinessOnBoardingDTO} businessOnBoardingDTO
|
|
2680
|
-
* @param {*} [options] Override http request option.
|
|
2681
|
-
* @throws {RequiredError}
|
|
2682
|
-
*/
|
|
2683
|
-
async businessControllerBusinessOnboarding(businessOnBoardingDTO: BusinessOnBoardingDTO, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BusinessOnBoardingResponseDTO>> {
|
|
2684
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.businessControllerBusinessOnboarding(businessOnBoardingDTO, options);
|
|
2685
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
2686
|
-
const localVarOperationServerBasePath = operationServerMap['BusinessApi.businessControllerBusinessOnboarding']?.[localVarOperationServerIndex]?.url;
|
|
2687
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2688
|
-
},
|
|
2689
3736
|
/**
|
|
2690
3737
|
*
|
|
3738
|
+
* @param {BusinessFavoriteDTO} businessFavoriteDTO
|
|
2691
3739
|
* @param {*} [options] Override http request option.
|
|
2692
3740
|
* @throws {RequiredError}
|
|
2693
3741
|
*/
|
|
2694
|
-
async
|
|
2695
|
-
|
|
2696
|
-
|
|
3742
|
+
businessTypeControllerMarkBusinessAsFavorite: async (businessFavoriteDTO: BusinessFavoriteDTO, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
3743
|
+
// verify required parameter 'businessFavoriteDTO' is not null or undefined
|
|
3744
|
+
assertParamExists('businessTypeControllerMarkBusinessAsFavorite', 'businessFavoriteDTO', businessFavoriteDTO)
|
|
3745
|
+
const localVarPath = `/v1/business/favorite`;
|
|
3746
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
3747
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
3748
|
+
let baseOptions;
|
|
3749
|
+
if (configuration) {
|
|
3750
|
+
baseOptions = configuration.baseOptions;
|
|
3751
|
+
}
|
|
3752
|
+
|
|
3753
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
3754
|
+
const localVarHeaderParameter = {} as any;
|
|
3755
|
+
const localVarQueryParameter = {} as any;
|
|
3756
|
+
|
|
3757
|
+
// authentication bearer required
|
|
3758
|
+
// http bearer authentication required
|
|
3759
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
3760
|
+
|
|
3761
|
+
|
|
3762
|
+
|
|
3763
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
3764
|
+
|
|
3765
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
3766
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3767
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
3768
|
+
localVarRequestOptions.data = serializeDataIfNeeded(businessFavoriteDTO, localVarRequestOptions, configuration)
|
|
3769
|
+
|
|
3770
|
+
return {
|
|
3771
|
+
url: toPathString(localVarUrlObj),
|
|
3772
|
+
options: localVarRequestOptions,
|
|
3773
|
+
};
|
|
3774
|
+
},
|
|
3775
|
+
/**
|
|
3776
|
+
*
|
|
3777
|
+
* @param {BusinessFavoriteDTO} businessFavoriteDTO
|
|
3778
|
+
* @param {*} [options] Override http request option.
|
|
3779
|
+
* @throws {RequiredError}
|
|
3780
|
+
*/
|
|
3781
|
+
businessTypeControllerUnFavoriteBusiness: async (businessFavoriteDTO: BusinessFavoriteDTO, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
3782
|
+
// verify required parameter 'businessFavoriteDTO' is not null or undefined
|
|
3783
|
+
assertParamExists('businessTypeControllerUnFavoriteBusiness', 'businessFavoriteDTO', businessFavoriteDTO)
|
|
3784
|
+
const localVarPath = `/v1/business/unfavorite`;
|
|
3785
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
3786
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
3787
|
+
let baseOptions;
|
|
3788
|
+
if (configuration) {
|
|
3789
|
+
baseOptions = configuration.baseOptions;
|
|
3790
|
+
}
|
|
3791
|
+
|
|
3792
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
3793
|
+
const localVarHeaderParameter = {} as any;
|
|
3794
|
+
const localVarQueryParameter = {} as any;
|
|
3795
|
+
|
|
3796
|
+
// authentication bearer required
|
|
3797
|
+
// http bearer authentication required
|
|
3798
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
3799
|
+
|
|
3800
|
+
|
|
3801
|
+
|
|
3802
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
3803
|
+
|
|
3804
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
3805
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3806
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
3807
|
+
localVarRequestOptions.data = serializeDataIfNeeded(businessFavoriteDTO, localVarRequestOptions, configuration)
|
|
3808
|
+
|
|
3809
|
+
return {
|
|
3810
|
+
url: toPathString(localVarUrlObj),
|
|
3811
|
+
options: localVarRequestOptions,
|
|
3812
|
+
};
|
|
3813
|
+
},
|
|
3814
|
+
/**
|
|
3815
|
+
*
|
|
3816
|
+
* @param {BusinessVerificationControllerABNVerificationTypeEnum} type The type of business verification number (e.g., ABN, NZBN)
|
|
3817
|
+
* @param {string} businessNumber
|
|
3818
|
+
* @param {*} [options] Override http request option.
|
|
3819
|
+
* @throws {RequiredError}
|
|
3820
|
+
*/
|
|
3821
|
+
businessVerificationControllerABNVerification: async (type: BusinessVerificationControllerABNVerificationTypeEnum, businessNumber: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
3822
|
+
// verify required parameter 'type' is not null or undefined
|
|
3823
|
+
assertParamExists('businessVerificationControllerABNVerification', 'type', type)
|
|
3824
|
+
// verify required parameter 'businessNumber' is not null or undefined
|
|
3825
|
+
assertParamExists('businessVerificationControllerABNVerification', 'businessNumber', businessNumber)
|
|
3826
|
+
const localVarPath = `/v1/business/verify/{type}/{businessNumber}`
|
|
3827
|
+
.replace(`{${"type"}}`, encodeURIComponent(String(type)))
|
|
3828
|
+
.replace(`{${"businessNumber"}}`, encodeURIComponent(String(businessNumber)));
|
|
3829
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
3830
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
3831
|
+
let baseOptions;
|
|
3832
|
+
if (configuration) {
|
|
3833
|
+
baseOptions = configuration.baseOptions;
|
|
3834
|
+
}
|
|
3835
|
+
|
|
3836
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
3837
|
+
const localVarHeaderParameter = {} as any;
|
|
3838
|
+
const localVarQueryParameter = {} as any;
|
|
3839
|
+
|
|
3840
|
+
|
|
3841
|
+
|
|
3842
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
3843
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3844
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
3845
|
+
|
|
3846
|
+
return {
|
|
3847
|
+
url: toPathString(localVarUrlObj),
|
|
3848
|
+
options: localVarRequestOptions,
|
|
3849
|
+
};
|
|
3850
|
+
},
|
|
3851
|
+
}
|
|
3852
|
+
};
|
|
3853
|
+
|
|
3854
|
+
/**
|
|
3855
|
+
* BusinessApi - functional programming interface
|
|
3856
|
+
* @export
|
|
3857
|
+
*/
|
|
3858
|
+
export const BusinessApiFp = function(configuration?: Configuration) {
|
|
3859
|
+
const localVarAxiosParamCreator = BusinessApiAxiosParamCreator(configuration)
|
|
3860
|
+
return {
|
|
3861
|
+
/**
|
|
3862
|
+
*
|
|
3863
|
+
* @param {BusinessOnBoardingDTO} businessOnBoardingDTO
|
|
3864
|
+
* @param {*} [options] Override http request option.
|
|
3865
|
+
* @throws {RequiredError}
|
|
3866
|
+
*/
|
|
3867
|
+
async businessControllerBusinessOnboarding(businessOnBoardingDTO: BusinessOnBoardingDTO, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BusinessOnBoardingResponseDTO>> {
|
|
3868
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.businessControllerBusinessOnboarding(businessOnBoardingDTO, options);
|
|
3869
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
3870
|
+
const localVarOperationServerBasePath = operationServerMap['BusinessApi.businessControllerBusinessOnboarding']?.[localVarOperationServerIndex]?.url;
|
|
3871
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
3872
|
+
},
|
|
3873
|
+
/**
|
|
3874
|
+
*
|
|
3875
|
+
* @param {*} [options] Override http request option.
|
|
3876
|
+
* @throws {RequiredError}
|
|
3877
|
+
*/
|
|
3878
|
+
async businessControllerGetMe(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BusinessOnBoardingResponseDTO>> {
|
|
3879
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.businessControllerGetMe(options);
|
|
3880
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
2697
3881
|
const localVarOperationServerBasePath = operationServerMap['BusinessApi.businessControllerGetMe']?.[localVarOperationServerIndex]?.url;
|
|
2698
3882
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2699
3883
|
},
|
|
@@ -2702,12 +3886,24 @@ export const BusinessApiFp = function(configuration?: Configuration) {
|
|
|
2702
3886
|
* @param {*} [options] Override http request option.
|
|
2703
3887
|
* @throws {RequiredError}
|
|
2704
3888
|
*/
|
|
2705
|
-
async businessControllerListBusinesses(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
3889
|
+
async businessControllerListBusinesses(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<BusinessOnBoardingResponseDTO>>> {
|
|
2706
3890
|
const localVarAxiosArgs = await localVarAxiosParamCreator.businessControllerListBusinesses(options);
|
|
2707
3891
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
2708
3892
|
const localVarOperationServerBasePath = operationServerMap['BusinessApi.businessControllerListBusinesses']?.[localVarOperationServerIndex]?.url;
|
|
2709
3893
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2710
3894
|
},
|
|
3895
|
+
/**
|
|
3896
|
+
*
|
|
3897
|
+
* @param {GetBusinessVenueDto} getBusinessVenueDto
|
|
3898
|
+
* @param {*} [options] Override http request option.
|
|
3899
|
+
* @throws {RequiredError}
|
|
3900
|
+
*/
|
|
3901
|
+
async businessTypeControllerGetBusinessVenue(getBusinessVenueDto: GetBusinessVenueDto, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BusinessVenueResponseDTO>> {
|
|
3902
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.businessTypeControllerGetBusinessVenue(getBusinessVenueDto, options);
|
|
3903
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
3904
|
+
const localVarOperationServerBasePath = operationServerMap['BusinessApi.businessTypeControllerGetBusinessVenue']?.[localVarOperationServerIndex]?.url;
|
|
3905
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
3906
|
+
},
|
|
2711
3907
|
/**
|
|
2712
3908
|
*
|
|
2713
3909
|
* @param {*} [options] Override http request option.
|
|
@@ -2721,12 +3917,12 @@ export const BusinessApiFp = function(configuration?: Configuration) {
|
|
|
2721
3917
|
},
|
|
2722
3918
|
/**
|
|
2723
3919
|
*
|
|
2724
|
-
* @param {string}
|
|
3920
|
+
* @param {string} businessTypeId ID of the business type
|
|
2725
3921
|
* @param {*} [options] Override http request option.
|
|
2726
3922
|
* @throws {RequiredError}
|
|
2727
3923
|
*/
|
|
2728
|
-
async businessTypeControllerListCategories(
|
|
2729
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.businessTypeControllerListCategories(
|
|
3924
|
+
async businessTypeControllerListCategories(businessTypeId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CategoryListResponse>> {
|
|
3925
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.businessTypeControllerListCategories(businessTypeId, options);
|
|
2730
3926
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
2731
3927
|
const localVarOperationServerBasePath = operationServerMap['BusinessApi.businessTypeControllerListCategories']?.[localVarOperationServerIndex]?.url;
|
|
2732
3928
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -2753,6 +3949,43 @@ export const BusinessApiFp = function(configuration?: Configuration) {
|
|
|
2753
3949
|
const localVarOperationServerBasePath = operationServerMap['BusinessApi.businessTypeControllerListPriceRange']?.[localVarOperationServerIndex]?.url;
|
|
2754
3950
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2755
3951
|
},
|
|
3952
|
+
/**
|
|
3953
|
+
*
|
|
3954
|
+
* @param {BusinessFavoriteDTO} businessFavoriteDTO
|
|
3955
|
+
* @param {*} [options] Override http request option.
|
|
3956
|
+
* @throws {RequiredError}
|
|
3957
|
+
*/
|
|
3958
|
+
async businessTypeControllerMarkBusinessAsFavorite(businessFavoriteDTO: BusinessFavoriteDTO, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BusinessFavoriteResponse>> {
|
|
3959
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.businessTypeControllerMarkBusinessAsFavorite(businessFavoriteDTO, options);
|
|
3960
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
3961
|
+
const localVarOperationServerBasePath = operationServerMap['BusinessApi.businessTypeControllerMarkBusinessAsFavorite']?.[localVarOperationServerIndex]?.url;
|
|
3962
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
3963
|
+
},
|
|
3964
|
+
/**
|
|
3965
|
+
*
|
|
3966
|
+
* @param {BusinessFavoriteDTO} businessFavoriteDTO
|
|
3967
|
+
* @param {*} [options] Override http request option.
|
|
3968
|
+
* @throws {RequiredError}
|
|
3969
|
+
*/
|
|
3970
|
+
async businessTypeControllerUnFavoriteBusiness(businessFavoriteDTO: BusinessFavoriteDTO, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BusinessUnFavoriteResponse>> {
|
|
3971
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.businessTypeControllerUnFavoriteBusiness(businessFavoriteDTO, options);
|
|
3972
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
3973
|
+
const localVarOperationServerBasePath = operationServerMap['BusinessApi.businessTypeControllerUnFavoriteBusiness']?.[localVarOperationServerIndex]?.url;
|
|
3974
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
3975
|
+
},
|
|
3976
|
+
/**
|
|
3977
|
+
*
|
|
3978
|
+
* @param {BusinessVerificationControllerABNVerificationTypeEnum} type The type of business verification number (e.g., ABN, NZBN)
|
|
3979
|
+
* @param {string} businessNumber
|
|
3980
|
+
* @param {*} [options] Override http request option.
|
|
3981
|
+
* @throws {RequiredError}
|
|
3982
|
+
*/
|
|
3983
|
+
async businessVerificationControllerABNVerification(type: BusinessVerificationControllerABNVerificationTypeEnum, businessNumber: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BusinessVerificationResponse>> {
|
|
3984
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.businessVerificationControllerABNVerification(type, businessNumber, options);
|
|
3985
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
3986
|
+
const localVarOperationServerBasePath = operationServerMap['BusinessApi.businessVerificationControllerABNVerification']?.[localVarOperationServerIndex]?.url;
|
|
3987
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
3988
|
+
},
|
|
2756
3989
|
}
|
|
2757
3990
|
};
|
|
2758
3991
|
|
|
@@ -2785,9 +4018,18 @@ export const BusinessApiFactory = function (configuration?: Configuration, baseP
|
|
|
2785
4018
|
* @param {*} [options] Override http request option.
|
|
2786
4019
|
* @throws {RequiredError}
|
|
2787
4020
|
*/
|
|
2788
|
-
businessControllerListBusinesses(options?: RawAxiosRequestConfig): AxiosPromise<
|
|
4021
|
+
businessControllerListBusinesses(options?: RawAxiosRequestConfig): AxiosPromise<Array<BusinessOnBoardingResponseDTO>> {
|
|
2789
4022
|
return localVarFp.businessControllerListBusinesses(options).then((request) => request(axios, basePath));
|
|
2790
4023
|
},
|
|
4024
|
+
/**
|
|
4025
|
+
*
|
|
4026
|
+
* @param {GetBusinessVenueDto} getBusinessVenueDto
|
|
4027
|
+
* @param {*} [options] Override http request option.
|
|
4028
|
+
* @throws {RequiredError}
|
|
4029
|
+
*/
|
|
4030
|
+
businessTypeControllerGetBusinessVenue(getBusinessVenueDto: GetBusinessVenueDto, options?: RawAxiosRequestConfig): AxiosPromise<BusinessVenueResponseDTO> {
|
|
4031
|
+
return localVarFp.businessTypeControllerGetBusinessVenue(getBusinessVenueDto, options).then((request) => request(axios, basePath));
|
|
4032
|
+
},
|
|
2791
4033
|
/**
|
|
2792
4034
|
*
|
|
2793
4035
|
* @param {*} [options] Override http request option.
|
|
@@ -2798,12 +4040,12 @@ export const BusinessApiFactory = function (configuration?: Configuration, baseP
|
|
|
2798
4040
|
},
|
|
2799
4041
|
/**
|
|
2800
4042
|
*
|
|
2801
|
-
* @param {string}
|
|
4043
|
+
* @param {string} businessTypeId ID of the business type
|
|
2802
4044
|
* @param {*} [options] Override http request option.
|
|
2803
4045
|
* @throws {RequiredError}
|
|
2804
4046
|
*/
|
|
2805
|
-
businessTypeControllerListCategories(
|
|
2806
|
-
return localVarFp.businessTypeControllerListCategories(
|
|
4047
|
+
businessTypeControllerListCategories(businessTypeId: string, options?: RawAxiosRequestConfig): AxiosPromise<CategoryListResponse> {
|
|
4048
|
+
return localVarFp.businessTypeControllerListCategories(businessTypeId, options).then((request) => request(axios, basePath));
|
|
2807
4049
|
},
|
|
2808
4050
|
/**
|
|
2809
4051
|
*
|
|
@@ -2821,6 +4063,34 @@ export const BusinessApiFactory = function (configuration?: Configuration, baseP
|
|
|
2821
4063
|
businessTypeControllerListPriceRange(options?: RawAxiosRequestConfig): AxiosPromise<PriceRangeListResponse> {
|
|
2822
4064
|
return localVarFp.businessTypeControllerListPriceRange(options).then((request) => request(axios, basePath));
|
|
2823
4065
|
},
|
|
4066
|
+
/**
|
|
4067
|
+
*
|
|
4068
|
+
* @param {BusinessFavoriteDTO} businessFavoriteDTO
|
|
4069
|
+
* @param {*} [options] Override http request option.
|
|
4070
|
+
* @throws {RequiredError}
|
|
4071
|
+
*/
|
|
4072
|
+
businessTypeControllerMarkBusinessAsFavorite(businessFavoriteDTO: BusinessFavoriteDTO, options?: RawAxiosRequestConfig): AxiosPromise<BusinessFavoriteResponse> {
|
|
4073
|
+
return localVarFp.businessTypeControllerMarkBusinessAsFavorite(businessFavoriteDTO, options).then((request) => request(axios, basePath));
|
|
4074
|
+
},
|
|
4075
|
+
/**
|
|
4076
|
+
*
|
|
4077
|
+
* @param {BusinessFavoriteDTO} businessFavoriteDTO
|
|
4078
|
+
* @param {*} [options] Override http request option.
|
|
4079
|
+
* @throws {RequiredError}
|
|
4080
|
+
*/
|
|
4081
|
+
businessTypeControllerUnFavoriteBusiness(businessFavoriteDTO: BusinessFavoriteDTO, options?: RawAxiosRequestConfig): AxiosPromise<BusinessUnFavoriteResponse> {
|
|
4082
|
+
return localVarFp.businessTypeControllerUnFavoriteBusiness(businessFavoriteDTO, options).then((request) => request(axios, basePath));
|
|
4083
|
+
},
|
|
4084
|
+
/**
|
|
4085
|
+
*
|
|
4086
|
+
* @param {BusinessVerificationControllerABNVerificationTypeEnum} type The type of business verification number (e.g., ABN, NZBN)
|
|
4087
|
+
* @param {string} businessNumber
|
|
4088
|
+
* @param {*} [options] Override http request option.
|
|
4089
|
+
* @throws {RequiredError}
|
|
4090
|
+
*/
|
|
4091
|
+
businessVerificationControllerABNVerification(type: BusinessVerificationControllerABNVerificationTypeEnum, businessNumber: string, options?: RawAxiosRequestConfig): AxiosPromise<BusinessVerificationResponse> {
|
|
4092
|
+
return localVarFp.businessVerificationControllerABNVerification(type, businessNumber, options).then((request) => request(axios, basePath));
|
|
4093
|
+
},
|
|
2824
4094
|
};
|
|
2825
4095
|
};
|
|
2826
4096
|
|
|
@@ -2862,6 +4132,17 @@ export class BusinessApi extends BaseAPI {
|
|
|
2862
4132
|
return BusinessApiFp(this.configuration).businessControllerListBusinesses(options).then((request) => request(this.axios, this.basePath));
|
|
2863
4133
|
}
|
|
2864
4134
|
|
|
4135
|
+
/**
|
|
4136
|
+
*
|
|
4137
|
+
* @param {GetBusinessVenueDto} getBusinessVenueDto
|
|
4138
|
+
* @param {*} [options] Override http request option.
|
|
4139
|
+
* @throws {RequiredError}
|
|
4140
|
+
* @memberof BusinessApi
|
|
4141
|
+
*/
|
|
4142
|
+
public businessTypeControllerGetBusinessVenue(getBusinessVenueDto: GetBusinessVenueDto, options?: RawAxiosRequestConfig) {
|
|
4143
|
+
return BusinessApiFp(this.configuration).businessTypeControllerGetBusinessVenue(getBusinessVenueDto, options).then((request) => request(this.axios, this.basePath));
|
|
4144
|
+
}
|
|
4145
|
+
|
|
2865
4146
|
/**
|
|
2866
4147
|
*
|
|
2867
4148
|
* @param {*} [options] Override http request option.
|
|
@@ -2874,13 +4155,13 @@ export class BusinessApi extends BaseAPI {
|
|
|
2874
4155
|
|
|
2875
4156
|
/**
|
|
2876
4157
|
*
|
|
2877
|
-
* @param {string}
|
|
4158
|
+
* @param {string} businessTypeId ID of the business type
|
|
2878
4159
|
* @param {*} [options] Override http request option.
|
|
2879
4160
|
* @throws {RequiredError}
|
|
2880
4161
|
* @memberof BusinessApi
|
|
2881
4162
|
*/
|
|
2882
|
-
public businessTypeControllerListCategories(
|
|
2883
|
-
return BusinessApiFp(this.configuration).businessTypeControllerListCategories(
|
|
4163
|
+
public businessTypeControllerListCategories(businessTypeId: string, options?: RawAxiosRequestConfig) {
|
|
4164
|
+
return BusinessApiFp(this.configuration).businessTypeControllerListCategories(businessTypeId, options).then((request) => request(this.axios, this.basePath));
|
|
2884
4165
|
}
|
|
2885
4166
|
|
|
2886
4167
|
/**
|
|
@@ -2902,31 +4183,70 @@ export class BusinessApi extends BaseAPI {
|
|
|
2902
4183
|
public businessTypeControllerListPriceRange(options?: RawAxiosRequestConfig) {
|
|
2903
4184
|
return BusinessApiFp(this.configuration).businessTypeControllerListPriceRange(options).then((request) => request(this.axios, this.basePath));
|
|
2904
4185
|
}
|
|
4186
|
+
|
|
4187
|
+
/**
|
|
4188
|
+
*
|
|
4189
|
+
* @param {BusinessFavoriteDTO} businessFavoriteDTO
|
|
4190
|
+
* @param {*} [options] Override http request option.
|
|
4191
|
+
* @throws {RequiredError}
|
|
4192
|
+
* @memberof BusinessApi
|
|
4193
|
+
*/
|
|
4194
|
+
public businessTypeControllerMarkBusinessAsFavorite(businessFavoriteDTO: BusinessFavoriteDTO, options?: RawAxiosRequestConfig) {
|
|
4195
|
+
return BusinessApiFp(this.configuration).businessTypeControllerMarkBusinessAsFavorite(businessFavoriteDTO, options).then((request) => request(this.axios, this.basePath));
|
|
4196
|
+
}
|
|
4197
|
+
|
|
4198
|
+
/**
|
|
4199
|
+
*
|
|
4200
|
+
* @param {BusinessFavoriteDTO} businessFavoriteDTO
|
|
4201
|
+
* @param {*} [options] Override http request option.
|
|
4202
|
+
* @throws {RequiredError}
|
|
4203
|
+
* @memberof BusinessApi
|
|
4204
|
+
*/
|
|
4205
|
+
public businessTypeControllerUnFavoriteBusiness(businessFavoriteDTO: BusinessFavoriteDTO, options?: RawAxiosRequestConfig) {
|
|
4206
|
+
return BusinessApiFp(this.configuration).businessTypeControllerUnFavoriteBusiness(businessFavoriteDTO, options).then((request) => request(this.axios, this.basePath));
|
|
4207
|
+
}
|
|
4208
|
+
|
|
4209
|
+
/**
|
|
4210
|
+
*
|
|
4211
|
+
* @param {BusinessVerificationControllerABNVerificationTypeEnum} type The type of business verification number (e.g., ABN, NZBN)
|
|
4212
|
+
* @param {string} businessNumber
|
|
4213
|
+
* @param {*} [options] Override http request option.
|
|
4214
|
+
* @throws {RequiredError}
|
|
4215
|
+
* @memberof BusinessApi
|
|
4216
|
+
*/
|
|
4217
|
+
public businessVerificationControllerABNVerification(type: BusinessVerificationControllerABNVerificationTypeEnum, businessNumber: string, options?: RawAxiosRequestConfig) {
|
|
4218
|
+
return BusinessApiFp(this.configuration).businessVerificationControllerABNVerification(type, businessNumber, options).then((request) => request(this.axios, this.basePath));
|
|
4219
|
+
}
|
|
2905
4220
|
}
|
|
2906
4221
|
|
|
4222
|
+
/**
|
|
4223
|
+
* @export
|
|
4224
|
+
*/
|
|
4225
|
+
export const BusinessVerificationControllerABNVerificationTypeEnum = {
|
|
4226
|
+
Abn: 'ABN',
|
|
4227
|
+
Nzbn: 'NZBN',
|
|
4228
|
+
Crn: 'CRN',
|
|
4229
|
+
Ein: 'EIN'
|
|
4230
|
+
} as const;
|
|
4231
|
+
export type BusinessVerificationControllerABNVerificationTypeEnum = typeof BusinessVerificationControllerABNVerificationTypeEnum[keyof typeof BusinessVerificationControllerABNVerificationTypeEnum];
|
|
2907
4232
|
|
|
2908
4233
|
|
|
2909
4234
|
/**
|
|
2910
|
-
*
|
|
4235
|
+
* DeviceApi - axios parameter creator
|
|
2911
4236
|
* @export
|
|
2912
4237
|
*/
|
|
2913
|
-
export const
|
|
4238
|
+
export const DeviceApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
2914
4239
|
return {
|
|
2915
4240
|
/**
|
|
2916
4241
|
*
|
|
2917
|
-
* @param {
|
|
2918
|
-
* @param {string} businessNumber
|
|
4242
|
+
* @param {AddDevicePayload} addDevicePayload
|
|
2919
4243
|
* @param {*} [options] Override http request option.
|
|
2920
4244
|
* @throws {RequiredError}
|
|
2921
4245
|
*/
|
|
2922
|
-
|
|
2923
|
-
// verify required parameter '
|
|
2924
|
-
assertParamExists('
|
|
2925
|
-
|
|
2926
|
-
assertParamExists('businessVerificationControllerABNVerification', 'businessNumber', businessNumber)
|
|
2927
|
-
const localVarPath = `/v1/business/verify/{type}/{businessNumber}`
|
|
2928
|
-
.replace(`{${"type"}}`, encodeURIComponent(String(type)))
|
|
2929
|
-
.replace(`{${"businessNumber"}}`, encodeURIComponent(String(businessNumber)));
|
|
4246
|
+
deviceControllerAddDevice: async (addDevicePayload: AddDevicePayload, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
4247
|
+
// verify required parameter 'addDevicePayload' is not null or undefined
|
|
4248
|
+
assertParamExists('deviceControllerAddDevice', 'addDevicePayload', addDevicePayload)
|
|
4249
|
+
const localVarPath = `/v1/device`;
|
|
2930
4250
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
2931
4251
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2932
4252
|
let baseOptions;
|
|
@@ -2934,15 +4254,674 @@ export const BusinessVerificationApiAxiosParamCreator = function (configuration?
|
|
|
2934
4254
|
baseOptions = configuration.baseOptions;
|
|
2935
4255
|
}
|
|
2936
4256
|
|
|
2937
|
-
const localVarRequestOptions = { method: '
|
|
4257
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
4258
|
+
const localVarHeaderParameter = {} as any;
|
|
4259
|
+
const localVarQueryParameter = {} as any;
|
|
4260
|
+
|
|
4261
|
+
// authentication bearer required
|
|
4262
|
+
// http bearer authentication required
|
|
4263
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
4264
|
+
|
|
4265
|
+
|
|
4266
|
+
|
|
4267
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
4268
|
+
|
|
4269
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
4270
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4271
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
4272
|
+
localVarRequestOptions.data = serializeDataIfNeeded(addDevicePayload, localVarRequestOptions, configuration)
|
|
4273
|
+
|
|
4274
|
+
return {
|
|
4275
|
+
url: toPathString(localVarUrlObj),
|
|
4276
|
+
options: localVarRequestOptions,
|
|
4277
|
+
};
|
|
4278
|
+
},
|
|
4279
|
+
}
|
|
4280
|
+
};
|
|
4281
|
+
|
|
4282
|
+
/**
|
|
4283
|
+
* DeviceApi - functional programming interface
|
|
4284
|
+
* @export
|
|
4285
|
+
*/
|
|
4286
|
+
export const DeviceApiFp = function(configuration?: Configuration) {
|
|
4287
|
+
const localVarAxiosParamCreator = DeviceApiAxiosParamCreator(configuration)
|
|
4288
|
+
return {
|
|
4289
|
+
/**
|
|
4290
|
+
*
|
|
4291
|
+
* @param {AddDevicePayload} addDevicePayload
|
|
4292
|
+
* @param {*} [options] Override http request option.
|
|
4293
|
+
* @throws {RequiredError}
|
|
4294
|
+
*/
|
|
4295
|
+
async deviceControllerAddDevice(addDevicePayload: AddDevicePayload, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DeviceAddResponse>> {
|
|
4296
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.deviceControllerAddDevice(addDevicePayload, options);
|
|
4297
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
4298
|
+
const localVarOperationServerBasePath = operationServerMap['DeviceApi.deviceControllerAddDevice']?.[localVarOperationServerIndex]?.url;
|
|
4299
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4300
|
+
},
|
|
4301
|
+
}
|
|
4302
|
+
};
|
|
4303
|
+
|
|
4304
|
+
/**
|
|
4305
|
+
* DeviceApi - factory interface
|
|
4306
|
+
* @export
|
|
4307
|
+
*/
|
|
4308
|
+
export const DeviceApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
4309
|
+
const localVarFp = DeviceApiFp(configuration)
|
|
4310
|
+
return {
|
|
4311
|
+
/**
|
|
4312
|
+
*
|
|
4313
|
+
* @param {AddDevicePayload} addDevicePayload
|
|
4314
|
+
* @param {*} [options] Override http request option.
|
|
4315
|
+
* @throws {RequiredError}
|
|
4316
|
+
*/
|
|
4317
|
+
deviceControllerAddDevice(addDevicePayload: AddDevicePayload, options?: RawAxiosRequestConfig): AxiosPromise<DeviceAddResponse> {
|
|
4318
|
+
return localVarFp.deviceControllerAddDevice(addDevicePayload, options).then((request) => request(axios, basePath));
|
|
4319
|
+
},
|
|
4320
|
+
};
|
|
4321
|
+
};
|
|
4322
|
+
|
|
4323
|
+
/**
|
|
4324
|
+
* DeviceApi - object-oriented interface
|
|
4325
|
+
* @export
|
|
4326
|
+
* @class DeviceApi
|
|
4327
|
+
* @extends {BaseAPI}
|
|
4328
|
+
*/
|
|
4329
|
+
export class DeviceApi extends BaseAPI {
|
|
4330
|
+
/**
|
|
4331
|
+
*
|
|
4332
|
+
* @param {AddDevicePayload} addDevicePayload
|
|
4333
|
+
* @param {*} [options] Override http request option.
|
|
4334
|
+
* @throws {RequiredError}
|
|
4335
|
+
* @memberof DeviceApi
|
|
4336
|
+
*/
|
|
4337
|
+
public deviceControllerAddDevice(addDevicePayload: AddDevicePayload, options?: RawAxiosRequestConfig) {
|
|
4338
|
+
return DeviceApiFp(this.configuration).deviceControllerAddDevice(addDevicePayload, options).then((request) => request(this.axios, this.basePath));
|
|
4339
|
+
}
|
|
4340
|
+
}
|
|
4341
|
+
|
|
4342
|
+
|
|
4343
|
+
|
|
4344
|
+
/**
|
|
4345
|
+
* FriendsApi - axios parameter creator
|
|
4346
|
+
* @export
|
|
4347
|
+
*/
|
|
4348
|
+
export const FriendsApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
4349
|
+
return {
|
|
4350
|
+
/**
|
|
4351
|
+
*
|
|
4352
|
+
* @param {ApproveFriendshipRequestPayload} approveFriendshipRequestPayload
|
|
4353
|
+
* @param {*} [options] Override http request option.
|
|
4354
|
+
* @throws {RequiredError}
|
|
4355
|
+
*/
|
|
4356
|
+
friendControllerApproveFriendRequest: async (approveFriendshipRequestPayload: ApproveFriendshipRequestPayload, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
4357
|
+
// verify required parameter 'approveFriendshipRequestPayload' is not null or undefined
|
|
4358
|
+
assertParamExists('friendControllerApproveFriendRequest', 'approveFriendshipRequestPayload', approveFriendshipRequestPayload)
|
|
4359
|
+
const localVarPath = `/v1/friend/approve-request`;
|
|
4360
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
4361
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
4362
|
+
let baseOptions;
|
|
4363
|
+
if (configuration) {
|
|
4364
|
+
baseOptions = configuration.baseOptions;
|
|
4365
|
+
}
|
|
4366
|
+
|
|
4367
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
4368
|
+
const localVarHeaderParameter = {} as any;
|
|
4369
|
+
const localVarQueryParameter = {} as any;
|
|
4370
|
+
|
|
4371
|
+
// authentication bearer required
|
|
4372
|
+
// http bearer authentication required
|
|
4373
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
4374
|
+
|
|
4375
|
+
|
|
4376
|
+
|
|
4377
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
4378
|
+
|
|
4379
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
4380
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4381
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
4382
|
+
localVarRequestOptions.data = serializeDataIfNeeded(approveFriendshipRequestPayload, localVarRequestOptions, configuration)
|
|
4383
|
+
|
|
4384
|
+
return {
|
|
4385
|
+
url: toPathString(localVarUrlObj),
|
|
4386
|
+
options: localVarRequestOptions,
|
|
4387
|
+
};
|
|
4388
|
+
},
|
|
4389
|
+
/**
|
|
4390
|
+
*
|
|
4391
|
+
* @param {DeclineFriendshipRequestPayload} declineFriendshipRequestPayload
|
|
4392
|
+
* @param {*} [options] Override http request option.
|
|
4393
|
+
* @throws {RequiredError}
|
|
4394
|
+
*/
|
|
4395
|
+
friendControllerDeclineFriendRequest: async (declineFriendshipRequestPayload: DeclineFriendshipRequestPayload, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
4396
|
+
// verify required parameter 'declineFriendshipRequestPayload' is not null or undefined
|
|
4397
|
+
assertParamExists('friendControllerDeclineFriendRequest', 'declineFriendshipRequestPayload', declineFriendshipRequestPayload)
|
|
4398
|
+
const localVarPath = `/v1/friend/decline-request`;
|
|
4399
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
4400
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
4401
|
+
let baseOptions;
|
|
4402
|
+
if (configuration) {
|
|
4403
|
+
baseOptions = configuration.baseOptions;
|
|
4404
|
+
}
|
|
4405
|
+
|
|
4406
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
4407
|
+
const localVarHeaderParameter = {} as any;
|
|
4408
|
+
const localVarQueryParameter = {} as any;
|
|
4409
|
+
|
|
4410
|
+
// authentication bearer required
|
|
4411
|
+
// http bearer authentication required
|
|
4412
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
4413
|
+
|
|
4414
|
+
|
|
4415
|
+
|
|
4416
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
4417
|
+
|
|
4418
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
4419
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4420
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
4421
|
+
localVarRequestOptions.data = serializeDataIfNeeded(declineFriendshipRequestPayload, localVarRequestOptions, configuration)
|
|
4422
|
+
|
|
4423
|
+
return {
|
|
4424
|
+
url: toPathString(localVarUrlObj),
|
|
4425
|
+
options: localVarRequestOptions,
|
|
4426
|
+
};
|
|
4427
|
+
},
|
|
4428
|
+
/**
|
|
4429
|
+
*
|
|
4430
|
+
* @param {number} page
|
|
4431
|
+
* @param {number} pageSize
|
|
4432
|
+
* @param {string} [query]
|
|
4433
|
+
* @param {*} [options] Override http request option.
|
|
4434
|
+
* @throws {RequiredError}
|
|
4435
|
+
*/
|
|
4436
|
+
friendControllerFindFriends: async (page: number, pageSize: number, query?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
4437
|
+
// verify required parameter 'page' is not null or undefined
|
|
4438
|
+
assertParamExists('friendControllerFindFriends', 'page', page)
|
|
4439
|
+
// verify required parameter 'pageSize' is not null or undefined
|
|
4440
|
+
assertParamExists('friendControllerFindFriends', 'pageSize', pageSize)
|
|
4441
|
+
const localVarPath = `/v1/friend/find`;
|
|
4442
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
4443
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
4444
|
+
let baseOptions;
|
|
4445
|
+
if (configuration) {
|
|
4446
|
+
baseOptions = configuration.baseOptions;
|
|
4447
|
+
}
|
|
4448
|
+
|
|
4449
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
4450
|
+
const localVarHeaderParameter = {} as any;
|
|
4451
|
+
const localVarQueryParameter = {} as any;
|
|
4452
|
+
|
|
4453
|
+
// authentication bearer required
|
|
4454
|
+
// http bearer authentication required
|
|
4455
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
4456
|
+
|
|
4457
|
+
if (query !== undefined) {
|
|
4458
|
+
localVarQueryParameter['query'] = query;
|
|
4459
|
+
}
|
|
4460
|
+
|
|
4461
|
+
if (page !== undefined) {
|
|
4462
|
+
localVarQueryParameter['page'] = page;
|
|
4463
|
+
}
|
|
4464
|
+
|
|
4465
|
+
if (pageSize !== undefined) {
|
|
4466
|
+
localVarQueryParameter['pageSize'] = pageSize;
|
|
4467
|
+
}
|
|
4468
|
+
|
|
4469
|
+
|
|
4470
|
+
|
|
4471
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
4472
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4473
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
4474
|
+
|
|
4475
|
+
return {
|
|
4476
|
+
url: toPathString(localVarUrlObj),
|
|
4477
|
+
options: localVarRequestOptions,
|
|
4478
|
+
};
|
|
4479
|
+
},
|
|
4480
|
+
/**
|
|
4481
|
+
*
|
|
4482
|
+
* @param {FriendshipStatusCheck} friendshipStatusCheck
|
|
4483
|
+
* @param {*} [options] Override http request option.
|
|
4484
|
+
* @throws {RequiredError}
|
|
4485
|
+
*/
|
|
4486
|
+
friendControllerGetFriendshipStatus: async (friendshipStatusCheck: FriendshipStatusCheck, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
4487
|
+
// verify required parameter 'friendshipStatusCheck' is not null or undefined
|
|
4488
|
+
assertParamExists('friendControllerGetFriendshipStatus', 'friendshipStatusCheck', friendshipStatusCheck)
|
|
4489
|
+
const localVarPath = `/v1/friend/status`;
|
|
4490
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
4491
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
4492
|
+
let baseOptions;
|
|
4493
|
+
if (configuration) {
|
|
4494
|
+
baseOptions = configuration.baseOptions;
|
|
4495
|
+
}
|
|
4496
|
+
|
|
4497
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
4498
|
+
const localVarHeaderParameter = {} as any;
|
|
4499
|
+
const localVarQueryParameter = {} as any;
|
|
4500
|
+
|
|
4501
|
+
// authentication bearer required
|
|
4502
|
+
// http bearer authentication required
|
|
4503
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
4504
|
+
|
|
4505
|
+
|
|
4506
|
+
|
|
4507
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
4508
|
+
|
|
4509
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
4510
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4511
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
4512
|
+
localVarRequestOptions.data = serializeDataIfNeeded(friendshipStatusCheck, localVarRequestOptions, configuration)
|
|
4513
|
+
|
|
4514
|
+
return {
|
|
4515
|
+
url: toPathString(localVarUrlObj),
|
|
4516
|
+
options: localVarRequestOptions,
|
|
4517
|
+
};
|
|
4518
|
+
},
|
|
4519
|
+
/**
|
|
4520
|
+
*
|
|
4521
|
+
* @param {*} [options] Override http request option.
|
|
4522
|
+
* @throws {RequiredError}
|
|
4523
|
+
*/
|
|
4524
|
+
friendControllerListMyFriends: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
4525
|
+
const localVarPath = `/v1/friend/list`;
|
|
4526
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
4527
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
4528
|
+
let baseOptions;
|
|
4529
|
+
if (configuration) {
|
|
4530
|
+
baseOptions = configuration.baseOptions;
|
|
4531
|
+
}
|
|
4532
|
+
|
|
4533
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
4534
|
+
const localVarHeaderParameter = {} as any;
|
|
4535
|
+
const localVarQueryParameter = {} as any;
|
|
4536
|
+
|
|
4537
|
+
// authentication bearer required
|
|
4538
|
+
// http bearer authentication required
|
|
4539
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
4540
|
+
|
|
4541
|
+
|
|
4542
|
+
|
|
4543
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
4544
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4545
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
4546
|
+
|
|
4547
|
+
return {
|
|
4548
|
+
url: toPathString(localVarUrlObj),
|
|
4549
|
+
options: localVarRequestOptions,
|
|
4550
|
+
};
|
|
4551
|
+
},
|
|
4552
|
+
/**
|
|
4553
|
+
*
|
|
4554
|
+
* @param {RemoveFriendshipRequestPayload} removeFriendshipRequestPayload
|
|
4555
|
+
* @param {*} [options] Override http request option.
|
|
4556
|
+
* @throws {RequiredError}
|
|
4557
|
+
*/
|
|
4558
|
+
friendControllerRemoveFriendById: async (removeFriendshipRequestPayload: RemoveFriendshipRequestPayload, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
4559
|
+
// verify required parameter 'removeFriendshipRequestPayload' is not null or undefined
|
|
4560
|
+
assertParamExists('friendControllerRemoveFriendById', 'removeFriendshipRequestPayload', removeFriendshipRequestPayload)
|
|
4561
|
+
const localVarPath = `/v1/friend/remove`;
|
|
4562
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
4563
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
4564
|
+
let baseOptions;
|
|
4565
|
+
if (configuration) {
|
|
4566
|
+
baseOptions = configuration.baseOptions;
|
|
4567
|
+
}
|
|
4568
|
+
|
|
4569
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
4570
|
+
const localVarHeaderParameter = {} as any;
|
|
4571
|
+
const localVarQueryParameter = {} as any;
|
|
4572
|
+
|
|
4573
|
+
// authentication bearer required
|
|
4574
|
+
// http bearer authentication required
|
|
4575
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
4576
|
+
|
|
4577
|
+
|
|
4578
|
+
|
|
4579
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
4580
|
+
|
|
4581
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
4582
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4583
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
4584
|
+
localVarRequestOptions.data = serializeDataIfNeeded(removeFriendshipRequestPayload, localVarRequestOptions, configuration)
|
|
4585
|
+
|
|
4586
|
+
return {
|
|
4587
|
+
url: toPathString(localVarUrlObj),
|
|
4588
|
+
options: localVarRequestOptions,
|
|
4589
|
+
};
|
|
4590
|
+
},
|
|
4591
|
+
/**
|
|
4592
|
+
*
|
|
4593
|
+
* @param {SendFriendshipRequestPayload} sendFriendshipRequestPayload
|
|
4594
|
+
* @param {*} [options] Override http request option.
|
|
4595
|
+
* @throws {RequiredError}
|
|
4596
|
+
*/
|
|
4597
|
+
friendControllerSendFriendRequest: async (sendFriendshipRequestPayload: SendFriendshipRequestPayload, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
4598
|
+
// verify required parameter 'sendFriendshipRequestPayload' is not null or undefined
|
|
4599
|
+
assertParamExists('friendControllerSendFriendRequest', 'sendFriendshipRequestPayload', sendFriendshipRequestPayload)
|
|
4600
|
+
const localVarPath = `/v1/friend/send-request`;
|
|
4601
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
4602
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
4603
|
+
let baseOptions;
|
|
4604
|
+
if (configuration) {
|
|
4605
|
+
baseOptions = configuration.baseOptions;
|
|
4606
|
+
}
|
|
4607
|
+
|
|
4608
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
4609
|
+
const localVarHeaderParameter = {} as any;
|
|
4610
|
+
const localVarQueryParameter = {} as any;
|
|
4611
|
+
|
|
4612
|
+
// authentication bearer required
|
|
4613
|
+
// http bearer authentication required
|
|
4614
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
4615
|
+
|
|
4616
|
+
|
|
4617
|
+
|
|
4618
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
4619
|
+
|
|
4620
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
4621
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4622
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
4623
|
+
localVarRequestOptions.data = serializeDataIfNeeded(sendFriendshipRequestPayload, localVarRequestOptions, configuration)
|
|
4624
|
+
|
|
4625
|
+
return {
|
|
4626
|
+
url: toPathString(localVarUrlObj),
|
|
4627
|
+
options: localVarRequestOptions,
|
|
4628
|
+
};
|
|
4629
|
+
},
|
|
4630
|
+
}
|
|
4631
|
+
};
|
|
4632
|
+
|
|
4633
|
+
/**
|
|
4634
|
+
* FriendsApi - functional programming interface
|
|
4635
|
+
* @export
|
|
4636
|
+
*/
|
|
4637
|
+
export const FriendsApiFp = function(configuration?: Configuration) {
|
|
4638
|
+
const localVarAxiosParamCreator = FriendsApiAxiosParamCreator(configuration)
|
|
4639
|
+
return {
|
|
4640
|
+
/**
|
|
4641
|
+
*
|
|
4642
|
+
* @param {ApproveFriendshipRequestPayload} approveFriendshipRequestPayload
|
|
4643
|
+
* @param {*} [options] Override http request option.
|
|
4644
|
+
* @throws {RequiredError}
|
|
4645
|
+
*/
|
|
4646
|
+
async friendControllerApproveFriendRequest(approveFriendshipRequestPayload: ApproveFriendshipRequestPayload, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<FriendsResponseDTO>> {
|
|
4647
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.friendControllerApproveFriendRequest(approveFriendshipRequestPayload, options);
|
|
4648
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
4649
|
+
const localVarOperationServerBasePath = operationServerMap['FriendsApi.friendControllerApproveFriendRequest']?.[localVarOperationServerIndex]?.url;
|
|
4650
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4651
|
+
},
|
|
4652
|
+
/**
|
|
4653
|
+
*
|
|
4654
|
+
* @param {DeclineFriendshipRequestPayload} declineFriendshipRequestPayload
|
|
4655
|
+
* @param {*} [options] Override http request option.
|
|
4656
|
+
* @throws {RequiredError}
|
|
4657
|
+
*/
|
|
4658
|
+
async friendControllerDeclineFriendRequest(declineFriendshipRequestPayload: DeclineFriendshipRequestPayload, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<FriendsResponseDTO>> {
|
|
4659
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.friendControllerDeclineFriendRequest(declineFriendshipRequestPayload, options);
|
|
4660
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
4661
|
+
const localVarOperationServerBasePath = operationServerMap['FriendsApi.friendControllerDeclineFriendRequest']?.[localVarOperationServerIndex]?.url;
|
|
4662
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4663
|
+
},
|
|
4664
|
+
/**
|
|
4665
|
+
*
|
|
4666
|
+
* @param {number} page
|
|
4667
|
+
* @param {number} pageSize
|
|
4668
|
+
* @param {string} [query]
|
|
4669
|
+
* @param {*} [options] Override http request option.
|
|
4670
|
+
* @throws {RequiredError}
|
|
4671
|
+
*/
|
|
4672
|
+
async friendControllerFindFriends(page: number, pageSize: number, query?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<FriendsDTO>> {
|
|
4673
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.friendControllerFindFriends(page, pageSize, query, options);
|
|
4674
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
4675
|
+
const localVarOperationServerBasePath = operationServerMap['FriendsApi.friendControllerFindFriends']?.[localVarOperationServerIndex]?.url;
|
|
4676
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4677
|
+
},
|
|
4678
|
+
/**
|
|
4679
|
+
*
|
|
4680
|
+
* @param {FriendshipStatusCheck} friendshipStatusCheck
|
|
4681
|
+
* @param {*} [options] Override http request option.
|
|
4682
|
+
* @throws {RequiredError}
|
|
4683
|
+
*/
|
|
4684
|
+
async friendControllerGetFriendshipStatus(friendshipStatusCheck: FriendshipStatusCheck, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<FriendshipStatusDTO>> {
|
|
4685
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.friendControllerGetFriendshipStatus(friendshipStatusCheck, options);
|
|
4686
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
4687
|
+
const localVarOperationServerBasePath = operationServerMap['FriendsApi.friendControllerGetFriendshipStatus']?.[localVarOperationServerIndex]?.url;
|
|
4688
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4689
|
+
},
|
|
4690
|
+
/**
|
|
4691
|
+
*
|
|
4692
|
+
* @param {*} [options] Override http request option.
|
|
4693
|
+
* @throws {RequiredError}
|
|
4694
|
+
*/
|
|
4695
|
+
async friendControllerListMyFriends(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<FriendsDTO>> {
|
|
4696
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.friendControllerListMyFriends(options);
|
|
4697
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
4698
|
+
const localVarOperationServerBasePath = operationServerMap['FriendsApi.friendControllerListMyFriends']?.[localVarOperationServerIndex]?.url;
|
|
4699
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4700
|
+
},
|
|
4701
|
+
/**
|
|
4702
|
+
*
|
|
4703
|
+
* @param {RemoveFriendshipRequestPayload} removeFriendshipRequestPayload
|
|
4704
|
+
* @param {*} [options] Override http request option.
|
|
4705
|
+
* @throws {RequiredError}
|
|
4706
|
+
*/
|
|
4707
|
+
async friendControllerRemoveFriendById(removeFriendshipRequestPayload: RemoveFriendshipRequestPayload, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<FriendsResponseDTO>> {
|
|
4708
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.friendControllerRemoveFriendById(removeFriendshipRequestPayload, options);
|
|
4709
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
4710
|
+
const localVarOperationServerBasePath = operationServerMap['FriendsApi.friendControllerRemoveFriendById']?.[localVarOperationServerIndex]?.url;
|
|
4711
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4712
|
+
},
|
|
4713
|
+
/**
|
|
4714
|
+
*
|
|
4715
|
+
* @param {SendFriendshipRequestPayload} sendFriendshipRequestPayload
|
|
4716
|
+
* @param {*} [options] Override http request option.
|
|
4717
|
+
* @throws {RequiredError}
|
|
4718
|
+
*/
|
|
4719
|
+
async friendControllerSendFriendRequest(sendFriendshipRequestPayload: SendFriendshipRequestPayload, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<FriendsResponseDTO>> {
|
|
4720
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.friendControllerSendFriendRequest(sendFriendshipRequestPayload, options);
|
|
4721
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
4722
|
+
const localVarOperationServerBasePath = operationServerMap['FriendsApi.friendControllerSendFriendRequest']?.[localVarOperationServerIndex]?.url;
|
|
4723
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4724
|
+
},
|
|
4725
|
+
}
|
|
4726
|
+
};
|
|
4727
|
+
|
|
4728
|
+
/**
|
|
4729
|
+
* FriendsApi - factory interface
|
|
4730
|
+
* @export
|
|
4731
|
+
*/
|
|
4732
|
+
export const FriendsApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
4733
|
+
const localVarFp = FriendsApiFp(configuration)
|
|
4734
|
+
return {
|
|
4735
|
+
/**
|
|
4736
|
+
*
|
|
4737
|
+
* @param {ApproveFriendshipRequestPayload} approveFriendshipRequestPayload
|
|
4738
|
+
* @param {*} [options] Override http request option.
|
|
4739
|
+
* @throws {RequiredError}
|
|
4740
|
+
*/
|
|
4741
|
+
friendControllerApproveFriendRequest(approveFriendshipRequestPayload: ApproveFriendshipRequestPayload, options?: RawAxiosRequestConfig): AxiosPromise<FriendsResponseDTO> {
|
|
4742
|
+
return localVarFp.friendControllerApproveFriendRequest(approveFriendshipRequestPayload, options).then((request) => request(axios, basePath));
|
|
4743
|
+
},
|
|
4744
|
+
/**
|
|
4745
|
+
*
|
|
4746
|
+
* @param {DeclineFriendshipRequestPayload} declineFriendshipRequestPayload
|
|
4747
|
+
* @param {*} [options] Override http request option.
|
|
4748
|
+
* @throws {RequiredError}
|
|
4749
|
+
*/
|
|
4750
|
+
friendControllerDeclineFriendRequest(declineFriendshipRequestPayload: DeclineFriendshipRequestPayload, options?: RawAxiosRequestConfig): AxiosPromise<FriendsResponseDTO> {
|
|
4751
|
+
return localVarFp.friendControllerDeclineFriendRequest(declineFriendshipRequestPayload, options).then((request) => request(axios, basePath));
|
|
4752
|
+
},
|
|
4753
|
+
/**
|
|
4754
|
+
*
|
|
4755
|
+
* @param {number} page
|
|
4756
|
+
* @param {number} pageSize
|
|
4757
|
+
* @param {string} [query]
|
|
4758
|
+
* @param {*} [options] Override http request option.
|
|
4759
|
+
* @throws {RequiredError}
|
|
4760
|
+
*/
|
|
4761
|
+
friendControllerFindFriends(page: number, pageSize: number, query?: string, options?: RawAxiosRequestConfig): AxiosPromise<FriendsDTO> {
|
|
4762
|
+
return localVarFp.friendControllerFindFriends(page, pageSize, query, options).then((request) => request(axios, basePath));
|
|
4763
|
+
},
|
|
4764
|
+
/**
|
|
4765
|
+
*
|
|
4766
|
+
* @param {FriendshipStatusCheck} friendshipStatusCheck
|
|
4767
|
+
* @param {*} [options] Override http request option.
|
|
4768
|
+
* @throws {RequiredError}
|
|
4769
|
+
*/
|
|
4770
|
+
friendControllerGetFriendshipStatus(friendshipStatusCheck: FriendshipStatusCheck, options?: RawAxiosRequestConfig): AxiosPromise<FriendshipStatusDTO> {
|
|
4771
|
+
return localVarFp.friendControllerGetFriendshipStatus(friendshipStatusCheck, options).then((request) => request(axios, basePath));
|
|
4772
|
+
},
|
|
4773
|
+
/**
|
|
4774
|
+
*
|
|
4775
|
+
* @param {*} [options] Override http request option.
|
|
4776
|
+
* @throws {RequiredError}
|
|
4777
|
+
*/
|
|
4778
|
+
friendControllerListMyFriends(options?: RawAxiosRequestConfig): AxiosPromise<FriendsDTO> {
|
|
4779
|
+
return localVarFp.friendControllerListMyFriends(options).then((request) => request(axios, basePath));
|
|
4780
|
+
},
|
|
4781
|
+
/**
|
|
4782
|
+
*
|
|
4783
|
+
* @param {RemoveFriendshipRequestPayload} removeFriendshipRequestPayload
|
|
4784
|
+
* @param {*} [options] Override http request option.
|
|
4785
|
+
* @throws {RequiredError}
|
|
4786
|
+
*/
|
|
4787
|
+
friendControllerRemoveFriendById(removeFriendshipRequestPayload: RemoveFriendshipRequestPayload, options?: RawAxiosRequestConfig): AxiosPromise<FriendsResponseDTO> {
|
|
4788
|
+
return localVarFp.friendControllerRemoveFriendById(removeFriendshipRequestPayload, options).then((request) => request(axios, basePath));
|
|
4789
|
+
},
|
|
4790
|
+
/**
|
|
4791
|
+
*
|
|
4792
|
+
* @param {SendFriendshipRequestPayload} sendFriendshipRequestPayload
|
|
4793
|
+
* @param {*} [options] Override http request option.
|
|
4794
|
+
* @throws {RequiredError}
|
|
4795
|
+
*/
|
|
4796
|
+
friendControllerSendFriendRequest(sendFriendshipRequestPayload: SendFriendshipRequestPayload, options?: RawAxiosRequestConfig): AxiosPromise<FriendsResponseDTO> {
|
|
4797
|
+
return localVarFp.friendControllerSendFriendRequest(sendFriendshipRequestPayload, options).then((request) => request(axios, basePath));
|
|
4798
|
+
},
|
|
4799
|
+
};
|
|
4800
|
+
};
|
|
4801
|
+
|
|
4802
|
+
/**
|
|
4803
|
+
* FriendsApi - object-oriented interface
|
|
4804
|
+
* @export
|
|
4805
|
+
* @class FriendsApi
|
|
4806
|
+
* @extends {BaseAPI}
|
|
4807
|
+
*/
|
|
4808
|
+
export class FriendsApi extends BaseAPI {
|
|
4809
|
+
/**
|
|
4810
|
+
*
|
|
4811
|
+
* @param {ApproveFriendshipRequestPayload} approveFriendshipRequestPayload
|
|
4812
|
+
* @param {*} [options] Override http request option.
|
|
4813
|
+
* @throws {RequiredError}
|
|
4814
|
+
* @memberof FriendsApi
|
|
4815
|
+
*/
|
|
4816
|
+
public friendControllerApproveFriendRequest(approveFriendshipRequestPayload: ApproveFriendshipRequestPayload, options?: RawAxiosRequestConfig) {
|
|
4817
|
+
return FriendsApiFp(this.configuration).friendControllerApproveFriendRequest(approveFriendshipRequestPayload, options).then((request) => request(this.axios, this.basePath));
|
|
4818
|
+
}
|
|
4819
|
+
|
|
4820
|
+
/**
|
|
4821
|
+
*
|
|
4822
|
+
* @param {DeclineFriendshipRequestPayload} declineFriendshipRequestPayload
|
|
4823
|
+
* @param {*} [options] Override http request option.
|
|
4824
|
+
* @throws {RequiredError}
|
|
4825
|
+
* @memberof FriendsApi
|
|
4826
|
+
*/
|
|
4827
|
+
public friendControllerDeclineFriendRequest(declineFriendshipRequestPayload: DeclineFriendshipRequestPayload, options?: RawAxiosRequestConfig) {
|
|
4828
|
+
return FriendsApiFp(this.configuration).friendControllerDeclineFriendRequest(declineFriendshipRequestPayload, options).then((request) => request(this.axios, this.basePath));
|
|
4829
|
+
}
|
|
4830
|
+
|
|
4831
|
+
/**
|
|
4832
|
+
*
|
|
4833
|
+
* @param {number} page
|
|
4834
|
+
* @param {number} pageSize
|
|
4835
|
+
* @param {string} [query]
|
|
4836
|
+
* @param {*} [options] Override http request option.
|
|
4837
|
+
* @throws {RequiredError}
|
|
4838
|
+
* @memberof FriendsApi
|
|
4839
|
+
*/
|
|
4840
|
+
public friendControllerFindFriends(page: number, pageSize: number, query?: string, options?: RawAxiosRequestConfig) {
|
|
4841
|
+
return FriendsApiFp(this.configuration).friendControllerFindFriends(page, pageSize, query, options).then((request) => request(this.axios, this.basePath));
|
|
4842
|
+
}
|
|
4843
|
+
|
|
4844
|
+
/**
|
|
4845
|
+
*
|
|
4846
|
+
* @param {FriendshipStatusCheck} friendshipStatusCheck
|
|
4847
|
+
* @param {*} [options] Override http request option.
|
|
4848
|
+
* @throws {RequiredError}
|
|
4849
|
+
* @memberof FriendsApi
|
|
4850
|
+
*/
|
|
4851
|
+
public friendControllerGetFriendshipStatus(friendshipStatusCheck: FriendshipStatusCheck, options?: RawAxiosRequestConfig) {
|
|
4852
|
+
return FriendsApiFp(this.configuration).friendControllerGetFriendshipStatus(friendshipStatusCheck, options).then((request) => request(this.axios, this.basePath));
|
|
4853
|
+
}
|
|
4854
|
+
|
|
4855
|
+
/**
|
|
4856
|
+
*
|
|
4857
|
+
* @param {*} [options] Override http request option.
|
|
4858
|
+
* @throws {RequiredError}
|
|
4859
|
+
* @memberof FriendsApi
|
|
4860
|
+
*/
|
|
4861
|
+
public friendControllerListMyFriends(options?: RawAxiosRequestConfig) {
|
|
4862
|
+
return FriendsApiFp(this.configuration).friendControllerListMyFriends(options).then((request) => request(this.axios, this.basePath));
|
|
4863
|
+
}
|
|
4864
|
+
|
|
4865
|
+
/**
|
|
4866
|
+
*
|
|
4867
|
+
* @param {RemoveFriendshipRequestPayload} removeFriendshipRequestPayload
|
|
4868
|
+
* @param {*} [options] Override http request option.
|
|
4869
|
+
* @throws {RequiredError}
|
|
4870
|
+
* @memberof FriendsApi
|
|
4871
|
+
*/
|
|
4872
|
+
public friendControllerRemoveFriendById(removeFriendshipRequestPayload: RemoveFriendshipRequestPayload, options?: RawAxiosRequestConfig) {
|
|
4873
|
+
return FriendsApiFp(this.configuration).friendControllerRemoveFriendById(removeFriendshipRequestPayload, options).then((request) => request(this.axios, this.basePath));
|
|
4874
|
+
}
|
|
4875
|
+
|
|
4876
|
+
/**
|
|
4877
|
+
*
|
|
4878
|
+
* @param {SendFriendshipRequestPayload} sendFriendshipRequestPayload
|
|
4879
|
+
* @param {*} [options] Override http request option.
|
|
4880
|
+
* @throws {RequiredError}
|
|
4881
|
+
* @memberof FriendsApi
|
|
4882
|
+
*/
|
|
4883
|
+
public friendControllerSendFriendRequest(sendFriendshipRequestPayload: SendFriendshipRequestPayload, options?: RawAxiosRequestConfig) {
|
|
4884
|
+
return FriendsApiFp(this.configuration).friendControllerSendFriendRequest(sendFriendshipRequestPayload, options).then((request) => request(this.axios, this.basePath));
|
|
4885
|
+
}
|
|
4886
|
+
}
|
|
4887
|
+
|
|
4888
|
+
|
|
4889
|
+
|
|
4890
|
+
/**
|
|
4891
|
+
* GcsApi - axios parameter creator
|
|
4892
|
+
* @export
|
|
4893
|
+
*/
|
|
4894
|
+
export const GcsApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
4895
|
+
return {
|
|
4896
|
+
/**
|
|
4897
|
+
*
|
|
4898
|
+
* @param {FileNameUploadDTO} fileNameUploadDTO
|
|
4899
|
+
* @param {*} [options] Override http request option.
|
|
4900
|
+
* @throws {RequiredError}
|
|
4901
|
+
*/
|
|
4902
|
+
gcpControllerUploadFile: async (fileNameUploadDTO: FileNameUploadDTO, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
4903
|
+
// verify required parameter 'fileNameUploadDTO' is not null or undefined
|
|
4904
|
+
assertParamExists('gcpControllerUploadFile', 'fileNameUploadDTO', fileNameUploadDTO)
|
|
4905
|
+
const localVarPath = `/v1/gcs/file`;
|
|
4906
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
4907
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
4908
|
+
let baseOptions;
|
|
4909
|
+
if (configuration) {
|
|
4910
|
+
baseOptions = configuration.baseOptions;
|
|
4911
|
+
}
|
|
4912
|
+
|
|
4913
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
2938
4914
|
const localVarHeaderParameter = {} as any;
|
|
2939
4915
|
const localVarQueryParameter = {} as any;
|
|
2940
4916
|
|
|
2941
4917
|
|
|
2942
4918
|
|
|
4919
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
4920
|
+
|
|
2943
4921
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2944
4922
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2945
4923
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
4924
|
+
localVarRequestOptions.data = serializeDataIfNeeded(fileNameUploadDTO, localVarRequestOptions, configuration)
|
|
2946
4925
|
|
|
2947
4926
|
return {
|
|
2948
4927
|
url: toPathString(localVarUrlObj),
|
|
@@ -2953,96 +4932,80 @@ export const BusinessVerificationApiAxiosParamCreator = function (configuration?
|
|
|
2953
4932
|
};
|
|
2954
4933
|
|
|
2955
4934
|
/**
|
|
2956
|
-
*
|
|
4935
|
+
* GcsApi - functional programming interface
|
|
2957
4936
|
* @export
|
|
2958
4937
|
*/
|
|
2959
|
-
export const
|
|
2960
|
-
const localVarAxiosParamCreator =
|
|
4938
|
+
export const GcsApiFp = function(configuration?: Configuration) {
|
|
4939
|
+
const localVarAxiosParamCreator = GcsApiAxiosParamCreator(configuration)
|
|
2961
4940
|
return {
|
|
2962
4941
|
/**
|
|
2963
4942
|
*
|
|
2964
|
-
* @param {
|
|
2965
|
-
* @param {string} businessNumber
|
|
4943
|
+
* @param {FileNameUploadDTO} fileNameUploadDTO
|
|
2966
4944
|
* @param {*} [options] Override http request option.
|
|
2967
4945
|
* @throws {RequiredError}
|
|
2968
4946
|
*/
|
|
2969
|
-
async
|
|
2970
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
4947
|
+
async gcpControllerUploadFile(fileNameUploadDTO: FileNameUploadDTO, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SignedUrlResponseDTO>> {
|
|
4948
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.gcpControllerUploadFile(fileNameUploadDTO, options);
|
|
2971
4949
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
2972
|
-
const localVarOperationServerBasePath = operationServerMap['
|
|
4950
|
+
const localVarOperationServerBasePath = operationServerMap['GcsApi.gcpControllerUploadFile']?.[localVarOperationServerIndex]?.url;
|
|
2973
4951
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2974
4952
|
},
|
|
2975
4953
|
}
|
|
2976
4954
|
};
|
|
2977
4955
|
|
|
2978
4956
|
/**
|
|
2979
|
-
*
|
|
4957
|
+
* GcsApi - factory interface
|
|
2980
4958
|
* @export
|
|
2981
4959
|
*/
|
|
2982
|
-
export const
|
|
2983
|
-
const localVarFp =
|
|
4960
|
+
export const GcsApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
4961
|
+
const localVarFp = GcsApiFp(configuration)
|
|
2984
4962
|
return {
|
|
2985
4963
|
/**
|
|
2986
4964
|
*
|
|
2987
|
-
* @param {
|
|
2988
|
-
* @param {string} businessNumber
|
|
4965
|
+
* @param {FileNameUploadDTO} fileNameUploadDTO
|
|
2989
4966
|
* @param {*} [options] Override http request option.
|
|
2990
4967
|
* @throws {RequiredError}
|
|
2991
4968
|
*/
|
|
2992
|
-
|
|
2993
|
-
return localVarFp.
|
|
4969
|
+
gcpControllerUploadFile(fileNameUploadDTO: FileNameUploadDTO, options?: RawAxiosRequestConfig): AxiosPromise<SignedUrlResponseDTO> {
|
|
4970
|
+
return localVarFp.gcpControllerUploadFile(fileNameUploadDTO, options).then((request) => request(axios, basePath));
|
|
2994
4971
|
},
|
|
2995
4972
|
};
|
|
2996
4973
|
};
|
|
2997
4974
|
|
|
2998
4975
|
/**
|
|
2999
|
-
*
|
|
4976
|
+
* GcsApi - object-oriented interface
|
|
3000
4977
|
* @export
|
|
3001
|
-
* @class
|
|
4978
|
+
* @class GcsApi
|
|
3002
4979
|
* @extends {BaseAPI}
|
|
3003
4980
|
*/
|
|
3004
|
-
export class
|
|
4981
|
+
export class GcsApi extends BaseAPI {
|
|
3005
4982
|
/**
|
|
3006
4983
|
*
|
|
3007
|
-
* @param {
|
|
3008
|
-
* @param {string} businessNumber
|
|
4984
|
+
* @param {FileNameUploadDTO} fileNameUploadDTO
|
|
3009
4985
|
* @param {*} [options] Override http request option.
|
|
3010
4986
|
* @throws {RequiredError}
|
|
3011
|
-
* @memberof
|
|
4987
|
+
* @memberof GcsApi
|
|
3012
4988
|
*/
|
|
3013
|
-
public
|
|
3014
|
-
return
|
|
4989
|
+
public gcpControllerUploadFile(fileNameUploadDTO: FileNameUploadDTO, options?: RawAxiosRequestConfig) {
|
|
4990
|
+
return GcsApiFp(this.configuration).gcpControllerUploadFile(fileNameUploadDTO, options).then((request) => request(this.axios, this.basePath));
|
|
3015
4991
|
}
|
|
3016
4992
|
}
|
|
3017
4993
|
|
|
3018
|
-
/**
|
|
3019
|
-
* @export
|
|
3020
|
-
*/
|
|
3021
|
-
export const BusinessVerificationControllerABNVerificationTypeEnum = {
|
|
3022
|
-
Abn: 'ABN',
|
|
3023
|
-
Nzbn: 'NZBN',
|
|
3024
|
-
Crn: 'CRN',
|
|
3025
|
-
Ein: 'EIN'
|
|
3026
|
-
} as const;
|
|
3027
|
-
export type BusinessVerificationControllerABNVerificationTypeEnum = typeof BusinessVerificationControllerABNVerificationTypeEnum[keyof typeof BusinessVerificationControllerABNVerificationTypeEnum];
|
|
3028
4994
|
|
|
3029
4995
|
|
|
3030
4996
|
/**
|
|
3031
|
-
*
|
|
4997
|
+
* GoalsApi - axios parameter creator
|
|
3032
4998
|
* @export
|
|
3033
4999
|
*/
|
|
3034
|
-
export const
|
|
5000
|
+
export const GoalsApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
3035
5001
|
return {
|
|
3036
5002
|
/**
|
|
3037
5003
|
*
|
|
3038
|
-
* @param {AddDevicePayload} addDevicePayload
|
|
3039
5004
|
* @param {*} [options] Override http request option.
|
|
3040
5005
|
* @throws {RequiredError}
|
|
3041
5006
|
*/
|
|
3042
|
-
|
|
3043
|
-
|
|
3044
|
-
assertParamExists('deviceControllerAddDevice', 'addDevicePayload', addDevicePayload)
|
|
3045
|
-
const localVarPath = `/v1/device`;
|
|
5007
|
+
goalControllerListGoals: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
5008
|
+
const localVarPath = `/v1/goals`;
|
|
3046
5009
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
3047
5010
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
3048
5011
|
let baseOptions;
|
|
@@ -3050,22 +5013,15 @@ export const DeviceApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
3050
5013
|
baseOptions = configuration.baseOptions;
|
|
3051
5014
|
}
|
|
3052
5015
|
|
|
3053
|
-
const localVarRequestOptions = { method: '
|
|
5016
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
3054
5017
|
const localVarHeaderParameter = {} as any;
|
|
3055
5018
|
const localVarQueryParameter = {} as any;
|
|
3056
5019
|
|
|
3057
|
-
// authentication bearer required
|
|
3058
|
-
// http bearer authentication required
|
|
3059
|
-
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
3060
|
-
|
|
3061
5020
|
|
|
3062
5021
|
|
|
3063
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
3064
|
-
|
|
3065
5022
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
3066
5023
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3067
5024
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
3068
|
-
localVarRequestOptions.data = serializeDataIfNeeded(addDevicePayload, localVarRequestOptions, configuration)
|
|
3069
5025
|
|
|
3070
5026
|
return {
|
|
3071
5027
|
url: toPathString(localVarUrlObj),
|
|
@@ -3076,83 +5032,113 @@ export const DeviceApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
3076
5032
|
};
|
|
3077
5033
|
|
|
3078
5034
|
/**
|
|
3079
|
-
*
|
|
5035
|
+
* GoalsApi - functional programming interface
|
|
3080
5036
|
* @export
|
|
3081
5037
|
*/
|
|
3082
|
-
export const
|
|
3083
|
-
const localVarAxiosParamCreator =
|
|
5038
|
+
export const GoalsApiFp = function(configuration?: Configuration) {
|
|
5039
|
+
const localVarAxiosParamCreator = GoalsApiAxiosParamCreator(configuration)
|
|
3084
5040
|
return {
|
|
3085
5041
|
/**
|
|
3086
5042
|
*
|
|
3087
|
-
* @param {AddDevicePayload} addDevicePayload
|
|
3088
5043
|
* @param {*} [options] Override http request option.
|
|
3089
5044
|
* @throws {RequiredError}
|
|
3090
5045
|
*/
|
|
3091
|
-
async
|
|
3092
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
5046
|
+
async goalControllerListGoals(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GoalListResponse>> {
|
|
5047
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.goalControllerListGoals(options);
|
|
3093
5048
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
3094
|
-
const localVarOperationServerBasePath = operationServerMap['
|
|
5049
|
+
const localVarOperationServerBasePath = operationServerMap['GoalsApi.goalControllerListGoals']?.[localVarOperationServerIndex]?.url;
|
|
3095
5050
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
3096
5051
|
},
|
|
3097
5052
|
}
|
|
3098
5053
|
};
|
|
3099
5054
|
|
|
3100
5055
|
/**
|
|
3101
|
-
*
|
|
5056
|
+
* GoalsApi - factory interface
|
|
3102
5057
|
* @export
|
|
3103
5058
|
*/
|
|
3104
|
-
export const
|
|
3105
|
-
const localVarFp =
|
|
5059
|
+
export const GoalsApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
5060
|
+
const localVarFp = GoalsApiFp(configuration)
|
|
3106
5061
|
return {
|
|
3107
5062
|
/**
|
|
3108
5063
|
*
|
|
3109
|
-
* @param {AddDevicePayload} addDevicePayload
|
|
3110
5064
|
* @param {*} [options] Override http request option.
|
|
3111
5065
|
* @throws {RequiredError}
|
|
3112
5066
|
*/
|
|
3113
|
-
|
|
3114
|
-
return localVarFp.
|
|
5067
|
+
goalControllerListGoals(options?: RawAxiosRequestConfig): AxiosPromise<GoalListResponse> {
|
|
5068
|
+
return localVarFp.goalControllerListGoals(options).then((request) => request(axios, basePath));
|
|
3115
5069
|
},
|
|
3116
5070
|
};
|
|
3117
5071
|
};
|
|
3118
5072
|
|
|
3119
5073
|
/**
|
|
3120
|
-
*
|
|
5074
|
+
* GoalsApi - object-oriented interface
|
|
3121
5075
|
* @export
|
|
3122
|
-
* @class
|
|
5076
|
+
* @class GoalsApi
|
|
3123
5077
|
* @extends {BaseAPI}
|
|
3124
5078
|
*/
|
|
3125
|
-
export class
|
|
5079
|
+
export class GoalsApi extends BaseAPI {
|
|
3126
5080
|
/**
|
|
3127
5081
|
*
|
|
3128
|
-
* @param {AddDevicePayload} addDevicePayload
|
|
3129
5082
|
* @param {*} [options] Override http request option.
|
|
3130
5083
|
* @throws {RequiredError}
|
|
3131
|
-
* @memberof
|
|
5084
|
+
* @memberof GoalsApi
|
|
3132
5085
|
*/
|
|
3133
|
-
public
|
|
3134
|
-
return
|
|
5086
|
+
public goalControllerListGoals(options?: RawAxiosRequestConfig) {
|
|
5087
|
+
return GoalsApiFp(this.configuration).goalControllerListGoals(options).then((request) => request(this.axios, this.basePath));
|
|
3135
5088
|
}
|
|
3136
5089
|
}
|
|
3137
5090
|
|
|
3138
5091
|
|
|
3139
5092
|
|
|
3140
5093
|
/**
|
|
3141
|
-
*
|
|
5094
|
+
* IntegrationApi - axios parameter creator
|
|
3142
5095
|
* @export
|
|
3143
5096
|
*/
|
|
3144
|
-
export const
|
|
5097
|
+
export const IntegrationApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
3145
5098
|
return {
|
|
3146
5099
|
/**
|
|
3147
5100
|
*
|
|
3148
|
-
* @param {FileNameUploadDTO} fileNameUploadDTO
|
|
3149
5101
|
* @param {*} [options] Override http request option.
|
|
3150
5102
|
* @throws {RequiredError}
|
|
3151
5103
|
*/
|
|
3152
|
-
|
|
3153
|
-
|
|
3154
|
-
|
|
3155
|
-
const
|
|
5104
|
+
integrationControllerFetchIntegration: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
5105
|
+
const localVarPath = `/v1/calendar`;
|
|
5106
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
5107
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
5108
|
+
let baseOptions;
|
|
5109
|
+
if (configuration) {
|
|
5110
|
+
baseOptions = configuration.baseOptions;
|
|
5111
|
+
}
|
|
5112
|
+
|
|
5113
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
5114
|
+
const localVarHeaderParameter = {} as any;
|
|
5115
|
+
const localVarQueryParameter = {} as any;
|
|
5116
|
+
|
|
5117
|
+
// authentication bearer required
|
|
5118
|
+
// http bearer authentication required
|
|
5119
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
5120
|
+
|
|
5121
|
+
|
|
5122
|
+
|
|
5123
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
5124
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
5125
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
5126
|
+
|
|
5127
|
+
return {
|
|
5128
|
+
url: toPathString(localVarUrlObj),
|
|
5129
|
+
options: localVarRequestOptions,
|
|
5130
|
+
};
|
|
5131
|
+
},
|
|
5132
|
+
/**
|
|
5133
|
+
*
|
|
5134
|
+
* @param {CalendarAccessDTO} calendarAccessDTO
|
|
5135
|
+
* @param {*} [options] Override http request option.
|
|
5136
|
+
* @throws {RequiredError}
|
|
5137
|
+
*/
|
|
5138
|
+
integrationControllerGoogleCalendarAccess: async (calendarAccessDTO: CalendarAccessDTO, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
5139
|
+
// verify required parameter 'calendarAccessDTO' is not null or undefined
|
|
5140
|
+
assertParamExists('integrationControllerGoogleCalendarAccess', 'calendarAccessDTO', calendarAccessDTO)
|
|
5141
|
+
const localVarPath = `/v1/calendar/google`;
|
|
3156
5142
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
3157
5143
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
3158
5144
|
let baseOptions;
|
|
@@ -3164,6 +5150,10 @@ export const GcsApiAxiosParamCreator = function (configuration?: Configuration)
|
|
|
3164
5150
|
const localVarHeaderParameter = {} as any;
|
|
3165
5151
|
const localVarQueryParameter = {} as any;
|
|
3166
5152
|
|
|
5153
|
+
// authentication bearer required
|
|
5154
|
+
// http bearer authentication required
|
|
5155
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
5156
|
+
|
|
3167
5157
|
|
|
3168
5158
|
|
|
3169
5159
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
@@ -3171,7 +5161,46 @@ export const GcsApiAxiosParamCreator = function (configuration?: Configuration)
|
|
|
3171
5161
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
3172
5162
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3173
5163
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
3174
|
-
localVarRequestOptions.data = serializeDataIfNeeded(
|
|
5164
|
+
localVarRequestOptions.data = serializeDataIfNeeded(calendarAccessDTO, localVarRequestOptions, configuration)
|
|
5165
|
+
|
|
5166
|
+
return {
|
|
5167
|
+
url: toPathString(localVarUrlObj),
|
|
5168
|
+
options: localVarRequestOptions,
|
|
5169
|
+
};
|
|
5170
|
+
},
|
|
5171
|
+
/**
|
|
5172
|
+
*
|
|
5173
|
+
* @param {MicrosoftCalendarAccessDTO} microsoftCalendarAccessDTO
|
|
5174
|
+
* @param {*} [options] Override http request option.
|
|
5175
|
+
* @throws {RequiredError}
|
|
5176
|
+
*/
|
|
5177
|
+
integrationControllerMicrosoftCalendar: async (microsoftCalendarAccessDTO: MicrosoftCalendarAccessDTO, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
5178
|
+
// verify required parameter 'microsoftCalendarAccessDTO' is not null or undefined
|
|
5179
|
+
assertParamExists('integrationControllerMicrosoftCalendar', 'microsoftCalendarAccessDTO', microsoftCalendarAccessDTO)
|
|
5180
|
+
const localVarPath = `/v1/calendar/microsoft`;
|
|
5181
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
5182
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
5183
|
+
let baseOptions;
|
|
5184
|
+
if (configuration) {
|
|
5185
|
+
baseOptions = configuration.baseOptions;
|
|
5186
|
+
}
|
|
5187
|
+
|
|
5188
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
5189
|
+
const localVarHeaderParameter = {} as any;
|
|
5190
|
+
const localVarQueryParameter = {} as any;
|
|
5191
|
+
|
|
5192
|
+
// authentication bearer required
|
|
5193
|
+
// http bearer authentication required
|
|
5194
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
5195
|
+
|
|
5196
|
+
|
|
5197
|
+
|
|
5198
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
5199
|
+
|
|
5200
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
5201
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
5202
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
5203
|
+
localVarRequestOptions.data = serializeDataIfNeeded(microsoftCalendarAccessDTO, localVarRequestOptions, configuration)
|
|
3175
5204
|
|
|
3176
5205
|
return {
|
|
3177
5206
|
url: toPathString(localVarUrlObj),
|
|
@@ -3182,80 +5211,187 @@ export const GcsApiAxiosParamCreator = function (configuration?: Configuration)
|
|
|
3182
5211
|
};
|
|
3183
5212
|
|
|
3184
5213
|
/**
|
|
3185
|
-
*
|
|
5214
|
+
* IntegrationApi - functional programming interface
|
|
3186
5215
|
* @export
|
|
3187
5216
|
*/
|
|
3188
|
-
export const
|
|
3189
|
-
const localVarAxiosParamCreator =
|
|
5217
|
+
export const IntegrationApiFp = function(configuration?: Configuration) {
|
|
5218
|
+
const localVarAxiosParamCreator = IntegrationApiAxiosParamCreator(configuration)
|
|
3190
5219
|
return {
|
|
3191
5220
|
/**
|
|
3192
5221
|
*
|
|
3193
|
-
* @param {FileNameUploadDTO} fileNameUploadDTO
|
|
3194
5222
|
* @param {*} [options] Override http request option.
|
|
3195
5223
|
* @throws {RequiredError}
|
|
3196
5224
|
*/
|
|
3197
|
-
async
|
|
3198
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
5225
|
+
async integrationControllerFetchIntegration(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<IntegrationsResponse>> {
|
|
5226
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.integrationControllerFetchIntegration(options);
|
|
3199
5227
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
3200
|
-
const localVarOperationServerBasePath = operationServerMap['
|
|
5228
|
+
const localVarOperationServerBasePath = operationServerMap['IntegrationApi.integrationControllerFetchIntegration']?.[localVarOperationServerIndex]?.url;
|
|
5229
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
5230
|
+
},
|
|
5231
|
+
/**
|
|
5232
|
+
*
|
|
5233
|
+
* @param {CalendarAccessDTO} calendarAccessDTO
|
|
5234
|
+
* @param {*} [options] Override http request option.
|
|
5235
|
+
* @throws {RequiredError}
|
|
5236
|
+
*/
|
|
5237
|
+
async integrationControllerGoogleCalendarAccess(calendarAccessDTO: CalendarAccessDTO, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<IntegrationResponse>> {
|
|
5238
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.integrationControllerGoogleCalendarAccess(calendarAccessDTO, options);
|
|
5239
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
5240
|
+
const localVarOperationServerBasePath = operationServerMap['IntegrationApi.integrationControllerGoogleCalendarAccess']?.[localVarOperationServerIndex]?.url;
|
|
5241
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
5242
|
+
},
|
|
5243
|
+
/**
|
|
5244
|
+
*
|
|
5245
|
+
* @param {MicrosoftCalendarAccessDTO} microsoftCalendarAccessDTO
|
|
5246
|
+
* @param {*} [options] Override http request option.
|
|
5247
|
+
* @throws {RequiredError}
|
|
5248
|
+
*/
|
|
5249
|
+
async integrationControllerMicrosoftCalendar(microsoftCalendarAccessDTO: MicrosoftCalendarAccessDTO, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<IntegrationResponse>> {
|
|
5250
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.integrationControllerMicrosoftCalendar(microsoftCalendarAccessDTO, options);
|
|
5251
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
5252
|
+
const localVarOperationServerBasePath = operationServerMap['IntegrationApi.integrationControllerMicrosoftCalendar']?.[localVarOperationServerIndex]?.url;
|
|
3201
5253
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
3202
5254
|
},
|
|
3203
5255
|
}
|
|
3204
5256
|
};
|
|
3205
5257
|
|
|
3206
5258
|
/**
|
|
3207
|
-
*
|
|
5259
|
+
* IntegrationApi - factory interface
|
|
3208
5260
|
* @export
|
|
3209
5261
|
*/
|
|
3210
|
-
export const
|
|
3211
|
-
const localVarFp =
|
|
5262
|
+
export const IntegrationApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
5263
|
+
const localVarFp = IntegrationApiFp(configuration)
|
|
3212
5264
|
return {
|
|
3213
5265
|
/**
|
|
3214
5266
|
*
|
|
3215
|
-
* @param {FileNameUploadDTO} fileNameUploadDTO
|
|
3216
5267
|
* @param {*} [options] Override http request option.
|
|
3217
5268
|
* @throws {RequiredError}
|
|
3218
5269
|
*/
|
|
3219
|
-
|
|
3220
|
-
return localVarFp.
|
|
5270
|
+
integrationControllerFetchIntegration(options?: RawAxiosRequestConfig): AxiosPromise<IntegrationsResponse> {
|
|
5271
|
+
return localVarFp.integrationControllerFetchIntegration(options).then((request) => request(axios, basePath));
|
|
5272
|
+
},
|
|
5273
|
+
/**
|
|
5274
|
+
*
|
|
5275
|
+
* @param {CalendarAccessDTO} calendarAccessDTO
|
|
5276
|
+
* @param {*} [options] Override http request option.
|
|
5277
|
+
* @throws {RequiredError}
|
|
5278
|
+
*/
|
|
5279
|
+
integrationControllerGoogleCalendarAccess(calendarAccessDTO: CalendarAccessDTO, options?: RawAxiosRequestConfig): AxiosPromise<IntegrationResponse> {
|
|
5280
|
+
return localVarFp.integrationControllerGoogleCalendarAccess(calendarAccessDTO, options).then((request) => request(axios, basePath));
|
|
5281
|
+
},
|
|
5282
|
+
/**
|
|
5283
|
+
*
|
|
5284
|
+
* @param {MicrosoftCalendarAccessDTO} microsoftCalendarAccessDTO
|
|
5285
|
+
* @param {*} [options] Override http request option.
|
|
5286
|
+
* @throws {RequiredError}
|
|
5287
|
+
*/
|
|
5288
|
+
integrationControllerMicrosoftCalendar(microsoftCalendarAccessDTO: MicrosoftCalendarAccessDTO, options?: RawAxiosRequestConfig): AxiosPromise<IntegrationResponse> {
|
|
5289
|
+
return localVarFp.integrationControllerMicrosoftCalendar(microsoftCalendarAccessDTO, options).then((request) => request(axios, basePath));
|
|
3221
5290
|
},
|
|
3222
5291
|
};
|
|
3223
5292
|
};
|
|
3224
5293
|
|
|
3225
5294
|
/**
|
|
3226
|
-
*
|
|
5295
|
+
* IntegrationApi - object-oriented interface
|
|
3227
5296
|
* @export
|
|
3228
|
-
* @class
|
|
5297
|
+
* @class IntegrationApi
|
|
3229
5298
|
* @extends {BaseAPI}
|
|
3230
5299
|
*/
|
|
3231
|
-
export class
|
|
5300
|
+
export class IntegrationApi extends BaseAPI {
|
|
3232
5301
|
/**
|
|
3233
5302
|
*
|
|
3234
|
-
* @param {FileNameUploadDTO} fileNameUploadDTO
|
|
3235
5303
|
* @param {*} [options] Override http request option.
|
|
3236
5304
|
* @throws {RequiredError}
|
|
3237
|
-
* @memberof
|
|
5305
|
+
* @memberof IntegrationApi
|
|
3238
5306
|
*/
|
|
3239
|
-
public
|
|
3240
|
-
return
|
|
5307
|
+
public integrationControllerFetchIntegration(options?: RawAxiosRequestConfig) {
|
|
5308
|
+
return IntegrationApiFp(this.configuration).integrationControllerFetchIntegration(options).then((request) => request(this.axios, this.basePath));
|
|
5309
|
+
}
|
|
5310
|
+
|
|
5311
|
+
/**
|
|
5312
|
+
*
|
|
5313
|
+
* @param {CalendarAccessDTO} calendarAccessDTO
|
|
5314
|
+
* @param {*} [options] Override http request option.
|
|
5315
|
+
* @throws {RequiredError}
|
|
5316
|
+
* @memberof IntegrationApi
|
|
5317
|
+
*/
|
|
5318
|
+
public integrationControllerGoogleCalendarAccess(calendarAccessDTO: CalendarAccessDTO, options?: RawAxiosRequestConfig) {
|
|
5319
|
+
return IntegrationApiFp(this.configuration).integrationControllerGoogleCalendarAccess(calendarAccessDTO, options).then((request) => request(this.axios, this.basePath));
|
|
5320
|
+
}
|
|
5321
|
+
|
|
5322
|
+
/**
|
|
5323
|
+
*
|
|
5324
|
+
* @param {MicrosoftCalendarAccessDTO} microsoftCalendarAccessDTO
|
|
5325
|
+
* @param {*} [options] Override http request option.
|
|
5326
|
+
* @throws {RequiredError}
|
|
5327
|
+
* @memberof IntegrationApi
|
|
5328
|
+
*/
|
|
5329
|
+
public integrationControllerMicrosoftCalendar(microsoftCalendarAccessDTO: MicrosoftCalendarAccessDTO, options?: RawAxiosRequestConfig) {
|
|
5330
|
+
return IntegrationApiFp(this.configuration).integrationControllerMicrosoftCalendar(microsoftCalendarAccessDTO, options).then((request) => request(this.axios, this.basePath));
|
|
3241
5331
|
}
|
|
3242
5332
|
}
|
|
3243
5333
|
|
|
3244
5334
|
|
|
3245
5335
|
|
|
3246
5336
|
/**
|
|
3247
|
-
*
|
|
5337
|
+
* LocationApi - axios parameter creator
|
|
3248
5338
|
* @export
|
|
3249
5339
|
*/
|
|
3250
|
-
export const
|
|
5340
|
+
export const LocationApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
3251
5341
|
return {
|
|
3252
5342
|
/**
|
|
3253
5343
|
*
|
|
5344
|
+
* @param {string} place
|
|
5345
|
+
* @param {string} label
|
|
3254
5346
|
* @param {*} [options] Override http request option.
|
|
3255
5347
|
* @throws {RequiredError}
|
|
3256
5348
|
*/
|
|
3257
|
-
|
|
3258
|
-
|
|
5349
|
+
locationControllerFetchCoordinates: async (place: string, label: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
5350
|
+
// verify required parameter 'place' is not null or undefined
|
|
5351
|
+
assertParamExists('locationControllerFetchCoordinates', 'place', place)
|
|
5352
|
+
// verify required parameter 'label' is not null or undefined
|
|
5353
|
+
assertParamExists('locationControllerFetchCoordinates', 'label', label)
|
|
5354
|
+
const localVarPath = `/v1/locations-coordinates`;
|
|
5355
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
5356
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
5357
|
+
let baseOptions;
|
|
5358
|
+
if (configuration) {
|
|
5359
|
+
baseOptions = configuration.baseOptions;
|
|
5360
|
+
}
|
|
5361
|
+
|
|
5362
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
5363
|
+
const localVarHeaderParameter = {} as any;
|
|
5364
|
+
const localVarQueryParameter = {} as any;
|
|
5365
|
+
|
|
5366
|
+
if (place !== undefined) {
|
|
5367
|
+
localVarQueryParameter['place'] = place;
|
|
5368
|
+
}
|
|
5369
|
+
|
|
5370
|
+
if (label !== undefined) {
|
|
5371
|
+
localVarQueryParameter['label'] = label;
|
|
5372
|
+
}
|
|
5373
|
+
|
|
5374
|
+
|
|
5375
|
+
|
|
5376
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
5377
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
5378
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
5379
|
+
|
|
5380
|
+
return {
|
|
5381
|
+
url: toPathString(localVarUrlObj),
|
|
5382
|
+
options: localVarRequestOptions,
|
|
5383
|
+
};
|
|
5384
|
+
},
|
|
5385
|
+
/**
|
|
5386
|
+
*
|
|
5387
|
+
* @param {string} place
|
|
5388
|
+
* @param {*} [options] Override http request option.
|
|
5389
|
+
* @throws {RequiredError}
|
|
5390
|
+
*/
|
|
5391
|
+
locationControllerFetchLocations: async (place: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
5392
|
+
// verify required parameter 'place' is not null or undefined
|
|
5393
|
+
assertParamExists('locationControllerFetchLocations', 'place', place)
|
|
5394
|
+
const localVarPath = `/v1/locations`;
|
|
3259
5395
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
3260
5396
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
3261
5397
|
let baseOptions;
|
|
@@ -3267,6 +5403,10 @@ export const GoalsApiAxiosParamCreator = function (configuration?: Configuration
|
|
|
3267
5403
|
const localVarHeaderParameter = {} as any;
|
|
3268
5404
|
const localVarQueryParameter = {} as any;
|
|
3269
5405
|
|
|
5406
|
+
if (place !== undefined) {
|
|
5407
|
+
localVarQueryParameter['place'] = place;
|
|
5408
|
+
}
|
|
5409
|
+
|
|
3270
5410
|
|
|
3271
5411
|
|
|
3272
5412
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -3282,77 +5422,121 @@ export const GoalsApiAxiosParamCreator = function (configuration?: Configuration
|
|
|
3282
5422
|
};
|
|
3283
5423
|
|
|
3284
5424
|
/**
|
|
3285
|
-
*
|
|
5425
|
+
* LocationApi - functional programming interface
|
|
3286
5426
|
* @export
|
|
3287
5427
|
*/
|
|
3288
|
-
export const
|
|
3289
|
-
const localVarAxiosParamCreator =
|
|
5428
|
+
export const LocationApiFp = function(configuration?: Configuration) {
|
|
5429
|
+
const localVarAxiosParamCreator = LocationApiAxiosParamCreator(configuration)
|
|
3290
5430
|
return {
|
|
3291
5431
|
/**
|
|
3292
5432
|
*
|
|
5433
|
+
* @param {string} place
|
|
5434
|
+
* @param {string} label
|
|
3293
5435
|
* @param {*} [options] Override http request option.
|
|
3294
5436
|
* @throws {RequiredError}
|
|
3295
5437
|
*/
|
|
3296
|
-
async
|
|
3297
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
5438
|
+
async locationControllerFetchCoordinates(place: string, label: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<LocationCoordinatesResponse>> {
|
|
5439
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.locationControllerFetchCoordinates(place, label, options);
|
|
3298
5440
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
3299
|
-
const localVarOperationServerBasePath = operationServerMap['
|
|
5441
|
+
const localVarOperationServerBasePath = operationServerMap['LocationApi.locationControllerFetchCoordinates']?.[localVarOperationServerIndex]?.url;
|
|
5442
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
5443
|
+
},
|
|
5444
|
+
/**
|
|
5445
|
+
*
|
|
5446
|
+
* @param {string} place
|
|
5447
|
+
* @param {*} [options] Override http request option.
|
|
5448
|
+
* @throws {RequiredError}
|
|
5449
|
+
*/
|
|
5450
|
+
async locationControllerFetchLocations(place: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<LocationEntityResponse>> {
|
|
5451
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.locationControllerFetchLocations(place, options);
|
|
5452
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
5453
|
+
const localVarOperationServerBasePath = operationServerMap['LocationApi.locationControllerFetchLocations']?.[localVarOperationServerIndex]?.url;
|
|
3300
5454
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
3301
5455
|
},
|
|
3302
5456
|
}
|
|
3303
5457
|
};
|
|
3304
5458
|
|
|
3305
5459
|
/**
|
|
3306
|
-
*
|
|
5460
|
+
* LocationApi - factory interface
|
|
3307
5461
|
* @export
|
|
3308
5462
|
*/
|
|
3309
|
-
export const
|
|
3310
|
-
const localVarFp =
|
|
5463
|
+
export const LocationApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
5464
|
+
const localVarFp = LocationApiFp(configuration)
|
|
3311
5465
|
return {
|
|
3312
5466
|
/**
|
|
3313
5467
|
*
|
|
5468
|
+
* @param {string} place
|
|
5469
|
+
* @param {string} label
|
|
3314
5470
|
* @param {*} [options] Override http request option.
|
|
3315
5471
|
* @throws {RequiredError}
|
|
3316
5472
|
*/
|
|
3317
|
-
|
|
3318
|
-
return localVarFp.
|
|
5473
|
+
locationControllerFetchCoordinates(place: string, label: string, options?: RawAxiosRequestConfig): AxiosPromise<LocationCoordinatesResponse> {
|
|
5474
|
+
return localVarFp.locationControllerFetchCoordinates(place, label, options).then((request) => request(axios, basePath));
|
|
5475
|
+
},
|
|
5476
|
+
/**
|
|
5477
|
+
*
|
|
5478
|
+
* @param {string} place
|
|
5479
|
+
* @param {*} [options] Override http request option.
|
|
5480
|
+
* @throws {RequiredError}
|
|
5481
|
+
*/
|
|
5482
|
+
locationControllerFetchLocations(place: string, options?: RawAxiosRequestConfig): AxiosPromise<LocationEntityResponse> {
|
|
5483
|
+
return localVarFp.locationControllerFetchLocations(place, options).then((request) => request(axios, basePath));
|
|
3319
5484
|
},
|
|
3320
5485
|
};
|
|
3321
5486
|
};
|
|
3322
5487
|
|
|
3323
5488
|
/**
|
|
3324
|
-
*
|
|
5489
|
+
* LocationApi - object-oriented interface
|
|
3325
5490
|
* @export
|
|
3326
|
-
* @class
|
|
5491
|
+
* @class LocationApi
|
|
3327
5492
|
* @extends {BaseAPI}
|
|
3328
5493
|
*/
|
|
3329
|
-
export class
|
|
5494
|
+
export class LocationApi extends BaseAPI {
|
|
3330
5495
|
/**
|
|
3331
5496
|
*
|
|
5497
|
+
* @param {string} place
|
|
5498
|
+
* @param {string} label
|
|
3332
5499
|
* @param {*} [options] Override http request option.
|
|
3333
5500
|
* @throws {RequiredError}
|
|
3334
|
-
* @memberof
|
|
5501
|
+
* @memberof LocationApi
|
|
3335
5502
|
*/
|
|
3336
|
-
public
|
|
3337
|
-
return
|
|
5503
|
+
public locationControllerFetchCoordinates(place: string, label: string, options?: RawAxiosRequestConfig) {
|
|
5504
|
+
return LocationApiFp(this.configuration).locationControllerFetchCoordinates(place, label, options).then((request) => request(this.axios, this.basePath));
|
|
5505
|
+
}
|
|
5506
|
+
|
|
5507
|
+
/**
|
|
5508
|
+
*
|
|
5509
|
+
* @param {string} place
|
|
5510
|
+
* @param {*} [options] Override http request option.
|
|
5511
|
+
* @throws {RequiredError}
|
|
5512
|
+
* @memberof LocationApi
|
|
5513
|
+
*/
|
|
5514
|
+
public locationControllerFetchLocations(place: string, options?: RawAxiosRequestConfig) {
|
|
5515
|
+
return LocationApiFp(this.configuration).locationControllerFetchLocations(place, options).then((request) => request(this.axios, this.basePath));
|
|
3338
5516
|
}
|
|
3339
5517
|
}
|
|
3340
5518
|
|
|
3341
5519
|
|
|
3342
5520
|
|
|
3343
5521
|
/**
|
|
3344
|
-
*
|
|
5522
|
+
* NotificationApi - axios parameter creator
|
|
3345
5523
|
* @export
|
|
3346
5524
|
*/
|
|
3347
|
-
export const
|
|
5525
|
+
export const NotificationApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
3348
5526
|
return {
|
|
3349
5527
|
/**
|
|
3350
5528
|
*
|
|
5529
|
+
* @param {number} page
|
|
5530
|
+
* @param {number} pageSize
|
|
3351
5531
|
* @param {*} [options] Override http request option.
|
|
3352
5532
|
* @throws {RequiredError}
|
|
3353
5533
|
*/
|
|
3354
|
-
|
|
3355
|
-
|
|
5534
|
+
notificationControllerGetNotification: async (page: number, pageSize: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
5535
|
+
// verify required parameter 'page' is not null or undefined
|
|
5536
|
+
assertParamExists('notificationControllerGetNotification', 'page', page)
|
|
5537
|
+
// verify required parameter 'pageSize' is not null or undefined
|
|
5538
|
+
assertParamExists('notificationControllerGetNotification', 'pageSize', pageSize)
|
|
5539
|
+
const localVarPath = `/v1/notification`;
|
|
3356
5540
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
3357
5541
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
3358
5542
|
let baseOptions;
|
|
@@ -3368,50 +5552,19 @@ export const IntegrationApiAxiosParamCreator = function (configuration?: Configu
|
|
|
3368
5552
|
// http bearer authentication required
|
|
3369
5553
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
3370
5554
|
|
|
3371
|
-
|
|
3372
|
-
|
|
3373
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
3374
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3375
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
3376
|
-
|
|
3377
|
-
return {
|
|
3378
|
-
url: toPathString(localVarUrlObj),
|
|
3379
|
-
options: localVarRequestOptions,
|
|
3380
|
-
};
|
|
3381
|
-
},
|
|
3382
|
-
/**
|
|
3383
|
-
*
|
|
3384
|
-
* @param {CalendarAccessDTO} calendarAccessDTO
|
|
3385
|
-
* @param {*} [options] Override http request option.
|
|
3386
|
-
* @throws {RequiredError}
|
|
3387
|
-
*/
|
|
3388
|
-
integrationControllerGoogleCalendarAccess: async (calendarAccessDTO: CalendarAccessDTO, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
3389
|
-
// verify required parameter 'calendarAccessDTO' is not null or undefined
|
|
3390
|
-
assertParamExists('integrationControllerGoogleCalendarAccess', 'calendarAccessDTO', calendarAccessDTO)
|
|
3391
|
-
const localVarPath = `/v1/calendar/google`;
|
|
3392
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
3393
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
3394
|
-
let baseOptions;
|
|
3395
|
-
if (configuration) {
|
|
3396
|
-
baseOptions = configuration.baseOptions;
|
|
5555
|
+
if (page !== undefined) {
|
|
5556
|
+
localVarQueryParameter['page'] = page;
|
|
3397
5557
|
}
|
|
3398
5558
|
|
|
3399
|
-
|
|
3400
|
-
|
|
3401
|
-
|
|
3402
|
-
|
|
3403
|
-
// authentication bearer required
|
|
3404
|
-
// http bearer authentication required
|
|
3405
|
-
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
5559
|
+
if (pageSize !== undefined) {
|
|
5560
|
+
localVarQueryParameter['pageSize'] = pageSize;
|
|
5561
|
+
}
|
|
3406
5562
|
|
|
3407
5563
|
|
|
3408
5564
|
|
|
3409
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
3410
|
-
|
|
3411
5565
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
3412
5566
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3413
5567
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
3414
|
-
localVarRequestOptions.data = serializeDataIfNeeded(calendarAccessDTO, localVarRequestOptions, configuration)
|
|
3415
5568
|
|
|
3416
5569
|
return {
|
|
3417
5570
|
url: toPathString(localVarUrlObj),
|
|
@@ -3420,14 +5573,14 @@ export const IntegrationApiAxiosParamCreator = function (configuration?: Configu
|
|
|
3420
5573
|
},
|
|
3421
5574
|
/**
|
|
3422
5575
|
*
|
|
3423
|
-
* @param {
|
|
5576
|
+
* @param {NotificationReadDTO} notificationReadDTO
|
|
3424
5577
|
* @param {*} [options] Override http request option.
|
|
3425
5578
|
* @throws {RequiredError}
|
|
3426
5579
|
*/
|
|
3427
|
-
|
|
3428
|
-
// verify required parameter '
|
|
3429
|
-
assertParamExists('
|
|
3430
|
-
const localVarPath = `/v1/
|
|
5580
|
+
notificationControllerReadNotification: async (notificationReadDTO: NotificationReadDTO, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
5581
|
+
// verify required parameter 'notificationReadDTO' is not null or undefined
|
|
5582
|
+
assertParamExists('notificationControllerReadNotification', 'notificationReadDTO', notificationReadDTO)
|
|
5583
|
+
const localVarPath = `/v1/notification/read`;
|
|
3431
5584
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
3432
5585
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
3433
5586
|
let baseOptions;
|
|
@@ -3450,7 +5603,7 @@ export const IntegrationApiAxiosParamCreator = function (configuration?: Configu
|
|
|
3450
5603
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
3451
5604
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3452
5605
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
3453
|
-
localVarRequestOptions.data = serializeDataIfNeeded(
|
|
5606
|
+
localVarRequestOptions.data = serializeDataIfNeeded(notificationReadDTO, localVarRequestOptions, configuration)
|
|
3454
5607
|
|
|
3455
5608
|
return {
|
|
3456
5609
|
url: toPathString(localVarUrlObj),
|
|
@@ -3461,123 +5614,97 @@ export const IntegrationApiAxiosParamCreator = function (configuration?: Configu
|
|
|
3461
5614
|
};
|
|
3462
5615
|
|
|
3463
5616
|
/**
|
|
3464
|
-
*
|
|
5617
|
+
* NotificationApi - functional programming interface
|
|
3465
5618
|
* @export
|
|
3466
5619
|
*/
|
|
3467
|
-
export const
|
|
3468
|
-
const localVarAxiosParamCreator =
|
|
5620
|
+
export const NotificationApiFp = function(configuration?: Configuration) {
|
|
5621
|
+
const localVarAxiosParamCreator = NotificationApiAxiosParamCreator(configuration)
|
|
3469
5622
|
return {
|
|
3470
5623
|
/**
|
|
3471
5624
|
*
|
|
5625
|
+
* @param {number} page
|
|
5626
|
+
* @param {number} pageSize
|
|
3472
5627
|
* @param {*} [options] Override http request option.
|
|
3473
5628
|
* @throws {RequiredError}
|
|
3474
5629
|
*/
|
|
3475
|
-
async
|
|
3476
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
3477
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
3478
|
-
const localVarOperationServerBasePath = operationServerMap['IntegrationApi.integrationControllerFetchIntegration']?.[localVarOperationServerIndex]?.url;
|
|
3479
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
3480
|
-
},
|
|
3481
|
-
/**
|
|
3482
|
-
*
|
|
3483
|
-
* @param {CalendarAccessDTO} calendarAccessDTO
|
|
3484
|
-
* @param {*} [options] Override http request option.
|
|
3485
|
-
* @throws {RequiredError}
|
|
3486
|
-
*/
|
|
3487
|
-
async integrationControllerGoogleCalendarAccess(calendarAccessDTO: CalendarAccessDTO, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<IntegrationResponse>> {
|
|
3488
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.integrationControllerGoogleCalendarAccess(calendarAccessDTO, options);
|
|
5630
|
+
async notificationControllerGetNotification(page: number, pageSize: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetNotificationDTO>> {
|
|
5631
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.notificationControllerGetNotification(page, pageSize, options);
|
|
3489
5632
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
3490
|
-
const localVarOperationServerBasePath = operationServerMap['
|
|
5633
|
+
const localVarOperationServerBasePath = operationServerMap['NotificationApi.notificationControllerGetNotification']?.[localVarOperationServerIndex]?.url;
|
|
3491
5634
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
3492
5635
|
},
|
|
3493
5636
|
/**
|
|
3494
5637
|
*
|
|
3495
|
-
* @param {
|
|
5638
|
+
* @param {NotificationReadDTO} notificationReadDTO
|
|
3496
5639
|
* @param {*} [options] Override http request option.
|
|
3497
5640
|
* @throws {RequiredError}
|
|
3498
5641
|
*/
|
|
3499
|
-
async
|
|
3500
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
5642
|
+
async notificationControllerReadNotification(notificationReadDTO: NotificationReadDTO, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<NotificationReadResponseDTO>> {
|
|
5643
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.notificationControllerReadNotification(notificationReadDTO, options);
|
|
3501
5644
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
3502
|
-
const localVarOperationServerBasePath = operationServerMap['
|
|
5645
|
+
const localVarOperationServerBasePath = operationServerMap['NotificationApi.notificationControllerReadNotification']?.[localVarOperationServerIndex]?.url;
|
|
3503
5646
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
3504
5647
|
},
|
|
3505
5648
|
}
|
|
3506
5649
|
};
|
|
3507
5650
|
|
|
3508
5651
|
/**
|
|
3509
|
-
*
|
|
5652
|
+
* NotificationApi - factory interface
|
|
3510
5653
|
* @export
|
|
3511
5654
|
*/
|
|
3512
|
-
export const
|
|
3513
|
-
const localVarFp =
|
|
5655
|
+
export const NotificationApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
5656
|
+
const localVarFp = NotificationApiFp(configuration)
|
|
3514
5657
|
return {
|
|
3515
5658
|
/**
|
|
3516
5659
|
*
|
|
5660
|
+
* @param {number} page
|
|
5661
|
+
* @param {number} pageSize
|
|
3517
5662
|
* @param {*} [options] Override http request option.
|
|
3518
5663
|
* @throws {RequiredError}
|
|
3519
5664
|
*/
|
|
3520
|
-
|
|
3521
|
-
return localVarFp.
|
|
3522
|
-
},
|
|
3523
|
-
/**
|
|
3524
|
-
*
|
|
3525
|
-
* @param {CalendarAccessDTO} calendarAccessDTO
|
|
3526
|
-
* @param {*} [options] Override http request option.
|
|
3527
|
-
* @throws {RequiredError}
|
|
3528
|
-
*/
|
|
3529
|
-
integrationControllerGoogleCalendarAccess(calendarAccessDTO: CalendarAccessDTO, options?: RawAxiosRequestConfig): AxiosPromise<IntegrationResponse> {
|
|
3530
|
-
return localVarFp.integrationControllerGoogleCalendarAccess(calendarAccessDTO, options).then((request) => request(axios, basePath));
|
|
5665
|
+
notificationControllerGetNotification(page: number, pageSize: number, options?: RawAxiosRequestConfig): AxiosPromise<GetNotificationDTO> {
|
|
5666
|
+
return localVarFp.notificationControllerGetNotification(page, pageSize, options).then((request) => request(axios, basePath));
|
|
3531
5667
|
},
|
|
3532
5668
|
/**
|
|
3533
5669
|
*
|
|
3534
|
-
* @param {
|
|
5670
|
+
* @param {NotificationReadDTO} notificationReadDTO
|
|
3535
5671
|
* @param {*} [options] Override http request option.
|
|
3536
5672
|
* @throws {RequiredError}
|
|
3537
5673
|
*/
|
|
3538
|
-
|
|
3539
|
-
return localVarFp.
|
|
5674
|
+
notificationControllerReadNotification(notificationReadDTO: NotificationReadDTO, options?: RawAxiosRequestConfig): AxiosPromise<NotificationReadResponseDTO> {
|
|
5675
|
+
return localVarFp.notificationControllerReadNotification(notificationReadDTO, options).then((request) => request(axios, basePath));
|
|
3540
5676
|
},
|
|
3541
5677
|
};
|
|
3542
5678
|
};
|
|
3543
5679
|
|
|
3544
5680
|
/**
|
|
3545
|
-
*
|
|
5681
|
+
* NotificationApi - object-oriented interface
|
|
3546
5682
|
* @export
|
|
3547
|
-
* @class
|
|
5683
|
+
* @class NotificationApi
|
|
3548
5684
|
* @extends {BaseAPI}
|
|
3549
5685
|
*/
|
|
3550
|
-
export class
|
|
3551
|
-
/**
|
|
3552
|
-
*
|
|
3553
|
-
* @param {*} [options] Override http request option.
|
|
3554
|
-
* @throws {RequiredError}
|
|
3555
|
-
* @memberof IntegrationApi
|
|
3556
|
-
*/
|
|
3557
|
-
public integrationControllerFetchIntegration(options?: RawAxiosRequestConfig) {
|
|
3558
|
-
return IntegrationApiFp(this.configuration).integrationControllerFetchIntegration(options).then((request) => request(this.axios, this.basePath));
|
|
3559
|
-
}
|
|
3560
|
-
|
|
5686
|
+
export class NotificationApi extends BaseAPI {
|
|
3561
5687
|
/**
|
|
3562
5688
|
*
|
|
3563
|
-
* @param {
|
|
5689
|
+
* @param {number} page
|
|
5690
|
+
* @param {number} pageSize
|
|
3564
5691
|
* @param {*} [options] Override http request option.
|
|
3565
5692
|
* @throws {RequiredError}
|
|
3566
|
-
* @memberof
|
|
5693
|
+
* @memberof NotificationApi
|
|
3567
5694
|
*/
|
|
3568
|
-
public
|
|
3569
|
-
return
|
|
5695
|
+
public notificationControllerGetNotification(page: number, pageSize: number, options?: RawAxiosRequestConfig) {
|
|
5696
|
+
return NotificationApiFp(this.configuration).notificationControllerGetNotification(page, pageSize, options).then((request) => request(this.axios, this.basePath));
|
|
3570
5697
|
}
|
|
3571
5698
|
|
|
3572
5699
|
/**
|
|
3573
5700
|
*
|
|
3574
|
-
* @param {
|
|
5701
|
+
* @param {NotificationReadDTO} notificationReadDTO
|
|
3575
5702
|
* @param {*} [options] Override http request option.
|
|
3576
5703
|
* @throws {RequiredError}
|
|
3577
|
-
* @memberof
|
|
5704
|
+
* @memberof NotificationApi
|
|
3578
5705
|
*/
|
|
3579
|
-
public
|
|
3580
|
-
return
|
|
5706
|
+
public notificationControllerReadNotification(notificationReadDTO: NotificationReadDTO, options?: RawAxiosRequestConfig) {
|
|
5707
|
+
return NotificationApiFp(this.configuration).notificationControllerReadNotification(notificationReadDTO, options).then((request) => request(this.axios, this.basePath));
|
|
3581
5708
|
}
|
|
3582
5709
|
}
|
|
3583
5710
|
|
|
@@ -3799,14 +5926,40 @@ export const PlansApiAxiosParamCreator = function (configuration?: Configuration
|
|
|
3799
5926
|
},
|
|
3800
5927
|
/**
|
|
3801
5928
|
*
|
|
3802
|
-
* @param {string} planId Strip Plan ID
|
|
3803
5929
|
* @param {*} [options] Override http request option.
|
|
3804
5930
|
* @throws {RequiredError}
|
|
3805
5931
|
*/
|
|
3806
|
-
|
|
3807
|
-
|
|
3808
|
-
|
|
3809
|
-
const
|
|
5932
|
+
paymentControllerCreateSetupIntent: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
5933
|
+
const localVarPath = `/v1/payment/create-setup-intent`;
|
|
5934
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
5935
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
5936
|
+
let baseOptions;
|
|
5937
|
+
if (configuration) {
|
|
5938
|
+
baseOptions = configuration.baseOptions;
|
|
5939
|
+
}
|
|
5940
|
+
|
|
5941
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
5942
|
+
const localVarHeaderParameter = {} as any;
|
|
5943
|
+
const localVarQueryParameter = {} as any;
|
|
5944
|
+
|
|
5945
|
+
|
|
5946
|
+
|
|
5947
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
5948
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
5949
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
5950
|
+
|
|
5951
|
+
return {
|
|
5952
|
+
url: toPathString(localVarUrlObj),
|
|
5953
|
+
options: localVarRequestOptions,
|
|
5954
|
+
};
|
|
5955
|
+
},
|
|
5956
|
+
/**
|
|
5957
|
+
*
|
|
5958
|
+
* @param {*} [options] Override http request option.
|
|
5959
|
+
* @throws {RequiredError}
|
|
5960
|
+
*/
|
|
5961
|
+
paymentControllerGetPlans: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
5962
|
+
const localVarPath = `/v1/payment/plans`;
|
|
3810
5963
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
3811
5964
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
3812
5965
|
let baseOptions;
|
|
@@ -3818,14 +5971,6 @@ export const PlansApiAxiosParamCreator = function (configuration?: Configuration
|
|
|
3818
5971
|
const localVarHeaderParameter = {} as any;
|
|
3819
5972
|
const localVarQueryParameter = {} as any;
|
|
3820
5973
|
|
|
3821
|
-
// authentication bearer required
|
|
3822
|
-
// http bearer authentication required
|
|
3823
|
-
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
3824
|
-
|
|
3825
|
-
if (planId !== undefined) {
|
|
3826
|
-
localVarQueryParameter['planId'] = planId;
|
|
3827
|
-
}
|
|
3828
|
-
|
|
3829
5974
|
|
|
3830
5975
|
|
|
3831
5976
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -3839,11 +5984,14 @@ export const PlansApiAxiosParamCreator = function (configuration?: Configuration
|
|
|
3839
5984
|
},
|
|
3840
5985
|
/**
|
|
3841
5986
|
*
|
|
5987
|
+
* @param {PlanUpsertPayloadDTO} planUpsertPayloadDTO
|
|
3842
5988
|
* @param {*} [options] Override http request option.
|
|
3843
5989
|
* @throws {RequiredError}
|
|
3844
5990
|
*/
|
|
3845
|
-
|
|
3846
|
-
|
|
5991
|
+
paymentControllerPlanUpsert: async (planUpsertPayloadDTO: PlanUpsertPayloadDTO, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
5992
|
+
// verify required parameter 'planUpsertPayloadDTO' is not null or undefined
|
|
5993
|
+
assertParamExists('paymentControllerPlanUpsert', 'planUpsertPayloadDTO', planUpsertPayloadDTO)
|
|
5994
|
+
const localVarPath = `/v1/payment/plan`;
|
|
3847
5995
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
3848
5996
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
3849
5997
|
let baseOptions;
|
|
@@ -3851,15 +5999,22 @@ export const PlansApiAxiosParamCreator = function (configuration?: Configuration
|
|
|
3851
5999
|
baseOptions = configuration.baseOptions;
|
|
3852
6000
|
}
|
|
3853
6001
|
|
|
3854
|
-
const localVarRequestOptions = { method: '
|
|
6002
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
3855
6003
|
const localVarHeaderParameter = {} as any;
|
|
3856
6004
|
const localVarQueryParameter = {} as any;
|
|
3857
6005
|
|
|
6006
|
+
// authentication bearer required
|
|
6007
|
+
// http bearer authentication required
|
|
6008
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
6009
|
+
|
|
3858
6010
|
|
|
3859
6011
|
|
|
6012
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
6013
|
+
|
|
3860
6014
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
3861
6015
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3862
6016
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
6017
|
+
localVarRequestOptions.data = serializeDataIfNeeded(planUpsertPayloadDTO, localVarRequestOptions, configuration)
|
|
3863
6018
|
|
|
3864
6019
|
return {
|
|
3865
6020
|
url: toPathString(localVarUrlObj),
|
|
@@ -3926,14 +6081,13 @@ export const PlansApiFp = function(configuration?: Configuration) {
|
|
|
3926
6081
|
},
|
|
3927
6082
|
/**
|
|
3928
6083
|
*
|
|
3929
|
-
* @param {string} planId Strip Plan ID
|
|
3930
6084
|
* @param {*} [options] Override http request option.
|
|
3931
6085
|
* @throws {RequiredError}
|
|
3932
6086
|
*/
|
|
3933
|
-
async
|
|
3934
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
6087
|
+
async paymentControllerCreateSetupIntent(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<StripeSetupIntentResponseDTO>> {
|
|
6088
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.paymentControllerCreateSetupIntent(options);
|
|
3935
6089
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
3936
|
-
const localVarOperationServerBasePath = operationServerMap['PlansApi.
|
|
6090
|
+
const localVarOperationServerBasePath = operationServerMap['PlansApi.paymentControllerCreateSetupIntent']?.[localVarOperationServerIndex]?.url;
|
|
3937
6091
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
3938
6092
|
},
|
|
3939
6093
|
/**
|
|
@@ -3947,6 +6101,18 @@ export const PlansApiFp = function(configuration?: Configuration) {
|
|
|
3947
6101
|
const localVarOperationServerBasePath = operationServerMap['PlansApi.paymentControllerGetPlans']?.[localVarOperationServerIndex]?.url;
|
|
3948
6102
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
3949
6103
|
},
|
|
6104
|
+
/**
|
|
6105
|
+
*
|
|
6106
|
+
* @param {PlanUpsertPayloadDTO} planUpsertPayloadDTO
|
|
6107
|
+
* @param {*} [options] Override http request option.
|
|
6108
|
+
* @throws {RequiredError}
|
|
6109
|
+
*/
|
|
6110
|
+
async paymentControllerPlanUpsert(planUpsertPayloadDTO: PlanUpsertPayloadDTO, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<StripePlanUpsertResponseDTO>> {
|
|
6111
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.paymentControllerPlanUpsert(planUpsertPayloadDTO, options);
|
|
6112
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
6113
|
+
const localVarOperationServerBasePath = operationServerMap['PlansApi.paymentControllerPlanUpsert']?.[localVarOperationServerIndex]?.url;
|
|
6114
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
6115
|
+
},
|
|
3950
6116
|
/**
|
|
3951
6117
|
*
|
|
3952
6118
|
* @param {string} stripeSignature
|
|
@@ -3980,12 +6146,11 @@ export const PlansApiFactory = function (configuration?: Configuration, basePath
|
|
|
3980
6146
|
},
|
|
3981
6147
|
/**
|
|
3982
6148
|
*
|
|
3983
|
-
* @param {string} planId Strip Plan ID
|
|
3984
6149
|
* @param {*} [options] Override http request option.
|
|
3985
6150
|
* @throws {RequiredError}
|
|
3986
6151
|
*/
|
|
3987
|
-
|
|
3988
|
-
return localVarFp.
|
|
6152
|
+
paymentControllerCreateSetupIntent(options?: RawAxiosRequestConfig): AxiosPromise<StripeSetupIntentResponseDTO> {
|
|
6153
|
+
return localVarFp.paymentControllerCreateSetupIntent(options).then((request) => request(axios, basePath));
|
|
3989
6154
|
},
|
|
3990
6155
|
/**
|
|
3991
6156
|
*
|
|
@@ -3995,6 +6160,15 @@ export const PlansApiFactory = function (configuration?: Configuration, basePath
|
|
|
3995
6160
|
paymentControllerGetPlans(options?: RawAxiosRequestConfig): AxiosPromise<PlanResponseDTO> {
|
|
3996
6161
|
return localVarFp.paymentControllerGetPlans(options).then((request) => request(axios, basePath));
|
|
3997
6162
|
},
|
|
6163
|
+
/**
|
|
6164
|
+
*
|
|
6165
|
+
* @param {PlanUpsertPayloadDTO} planUpsertPayloadDTO
|
|
6166
|
+
* @param {*} [options] Override http request option.
|
|
6167
|
+
* @throws {RequiredError}
|
|
6168
|
+
*/
|
|
6169
|
+
paymentControllerPlanUpsert(planUpsertPayloadDTO: PlanUpsertPayloadDTO, options?: RawAxiosRequestConfig): AxiosPromise<StripePlanUpsertResponseDTO> {
|
|
6170
|
+
return localVarFp.paymentControllerPlanUpsert(planUpsertPayloadDTO, options).then((request) => request(axios, basePath));
|
|
6171
|
+
},
|
|
3998
6172
|
/**
|
|
3999
6173
|
*
|
|
4000
6174
|
* @param {string} stripeSignature
|
|
@@ -4027,13 +6201,12 @@ export class PlansApi extends BaseAPI {
|
|
|
4027
6201
|
|
|
4028
6202
|
/**
|
|
4029
6203
|
*
|
|
4030
|
-
* @param {string} planId Strip Plan ID
|
|
4031
6204
|
* @param {*} [options] Override http request option.
|
|
4032
6205
|
* @throws {RequiredError}
|
|
4033
6206
|
* @memberof PlansApi
|
|
4034
6207
|
*/
|
|
4035
|
-
public
|
|
4036
|
-
return PlansApiFp(this.configuration).
|
|
6208
|
+
public paymentControllerCreateSetupIntent(options?: RawAxiosRequestConfig) {
|
|
6209
|
+
return PlansApiFp(this.configuration).paymentControllerCreateSetupIntent(options).then((request) => request(this.axios, this.basePath));
|
|
4037
6210
|
}
|
|
4038
6211
|
|
|
4039
6212
|
/**
|
|
@@ -4046,6 +6219,17 @@ export class PlansApi extends BaseAPI {
|
|
|
4046
6219
|
return PlansApiFp(this.configuration).paymentControllerGetPlans(options).then((request) => request(this.axios, this.basePath));
|
|
4047
6220
|
}
|
|
4048
6221
|
|
|
6222
|
+
/**
|
|
6223
|
+
*
|
|
6224
|
+
* @param {PlanUpsertPayloadDTO} planUpsertPayloadDTO
|
|
6225
|
+
* @param {*} [options] Override http request option.
|
|
6226
|
+
* @throws {RequiredError}
|
|
6227
|
+
* @memberof PlansApi
|
|
6228
|
+
*/
|
|
6229
|
+
public paymentControllerPlanUpsert(planUpsertPayloadDTO: PlanUpsertPayloadDTO, options?: RawAxiosRequestConfig) {
|
|
6230
|
+
return PlansApiFp(this.configuration).paymentControllerPlanUpsert(planUpsertPayloadDTO, options).then((request) => request(this.axios, this.basePath));
|
|
6231
|
+
}
|
|
6232
|
+
|
|
4049
6233
|
/**
|
|
4050
6234
|
*
|
|
4051
6235
|
* @param {string} stripeSignature
|
|
@@ -4066,6 +6250,39 @@ export class PlansApi extends BaseAPI {
|
|
|
4066
6250
|
*/
|
|
4067
6251
|
export const UsersApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
4068
6252
|
return {
|
|
6253
|
+
/**
|
|
6254
|
+
*
|
|
6255
|
+
* @param {*} [options] Override http request option.
|
|
6256
|
+
* @throws {RequiredError}
|
|
6257
|
+
*/
|
|
6258
|
+
usersControllerDeactivateAccount: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
6259
|
+
const localVarPath = `/v1/user/deactivate`;
|
|
6260
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
6261
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
6262
|
+
let baseOptions;
|
|
6263
|
+
if (configuration) {
|
|
6264
|
+
baseOptions = configuration.baseOptions;
|
|
6265
|
+
}
|
|
6266
|
+
|
|
6267
|
+
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
|
|
6268
|
+
const localVarHeaderParameter = {} as any;
|
|
6269
|
+
const localVarQueryParameter = {} as any;
|
|
6270
|
+
|
|
6271
|
+
// authentication bearer required
|
|
6272
|
+
// http bearer authentication required
|
|
6273
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
6274
|
+
|
|
6275
|
+
|
|
6276
|
+
|
|
6277
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
6278
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
6279
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
6280
|
+
|
|
6281
|
+
return {
|
|
6282
|
+
url: toPathString(localVarUrlObj),
|
|
6283
|
+
options: localVarRequestOptions,
|
|
6284
|
+
};
|
|
6285
|
+
},
|
|
4069
6286
|
/**
|
|
4070
6287
|
*
|
|
4071
6288
|
* @param {*} [options] Override http request option.
|
|
@@ -4099,6 +6316,45 @@ export const UsersApiAxiosParamCreator = function (configuration?: Configuration
|
|
|
4099
6316
|
options: localVarRequestOptions,
|
|
4100
6317
|
};
|
|
4101
6318
|
},
|
|
6319
|
+
/**
|
|
6320
|
+
*
|
|
6321
|
+
* @param {GetUserDTO} getUserDTO
|
|
6322
|
+
* @param {*} [options] Override http request option.
|
|
6323
|
+
* @throws {RequiredError}
|
|
6324
|
+
*/
|
|
6325
|
+
usersControllerGetUser: async (getUserDTO: GetUserDTO, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
6326
|
+
// verify required parameter 'getUserDTO' is not null or undefined
|
|
6327
|
+
assertParamExists('usersControllerGetUser', 'getUserDTO', getUserDTO)
|
|
6328
|
+
const localVarPath = `/v1/user/get-user`;
|
|
6329
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
6330
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
6331
|
+
let baseOptions;
|
|
6332
|
+
if (configuration) {
|
|
6333
|
+
baseOptions = configuration.baseOptions;
|
|
6334
|
+
}
|
|
6335
|
+
|
|
6336
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
6337
|
+
const localVarHeaderParameter = {} as any;
|
|
6338
|
+
const localVarQueryParameter = {} as any;
|
|
6339
|
+
|
|
6340
|
+
// authentication bearer required
|
|
6341
|
+
// http bearer authentication required
|
|
6342
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
6343
|
+
|
|
6344
|
+
|
|
6345
|
+
|
|
6346
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
6347
|
+
|
|
6348
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
6349
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
6350
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
6351
|
+
localVarRequestOptions.data = serializeDataIfNeeded(getUserDTO, localVarRequestOptions, configuration)
|
|
6352
|
+
|
|
6353
|
+
return {
|
|
6354
|
+
url: toPathString(localVarUrlObj),
|
|
6355
|
+
options: localVarRequestOptions,
|
|
6356
|
+
};
|
|
6357
|
+
},
|
|
4102
6358
|
/**
|
|
4103
6359
|
*
|
|
4104
6360
|
* @param {OnBoardingDTO} onBoardingDTO
|
|
@@ -4133,6 +6389,84 @@ export const UsersApiAxiosParamCreator = function (configuration?: Configuration
|
|
|
4133
6389
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
4134
6390
|
localVarRequestOptions.data = serializeDataIfNeeded(onBoardingDTO, localVarRequestOptions, configuration)
|
|
4135
6391
|
|
|
6392
|
+
return {
|
|
6393
|
+
url: toPathString(localVarUrlObj),
|
|
6394
|
+
options: localVarRequestOptions,
|
|
6395
|
+
};
|
|
6396
|
+
},
|
|
6397
|
+
/**
|
|
6398
|
+
*
|
|
6399
|
+
* @param {UserSyncDTO} userSyncDTO
|
|
6400
|
+
* @param {*} [options] Override http request option.
|
|
6401
|
+
* @throws {RequiredError}
|
|
6402
|
+
*/
|
|
6403
|
+
usersControllerSyncUserInfo: async (userSyncDTO: UserSyncDTO, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
6404
|
+
// verify required parameter 'userSyncDTO' is not null or undefined
|
|
6405
|
+
assertParamExists('usersControllerSyncUserInfo', 'userSyncDTO', userSyncDTO)
|
|
6406
|
+
const localVarPath = `/v1/user/sync-info`;
|
|
6407
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
6408
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
6409
|
+
let baseOptions;
|
|
6410
|
+
if (configuration) {
|
|
6411
|
+
baseOptions = configuration.baseOptions;
|
|
6412
|
+
}
|
|
6413
|
+
|
|
6414
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
6415
|
+
const localVarHeaderParameter = {} as any;
|
|
6416
|
+
const localVarQueryParameter = {} as any;
|
|
6417
|
+
|
|
6418
|
+
// authentication bearer required
|
|
6419
|
+
// http bearer authentication required
|
|
6420
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
6421
|
+
|
|
6422
|
+
|
|
6423
|
+
|
|
6424
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
6425
|
+
|
|
6426
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
6427
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
6428
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
6429
|
+
localVarRequestOptions.data = serializeDataIfNeeded(userSyncDTO, localVarRequestOptions, configuration)
|
|
6430
|
+
|
|
6431
|
+
return {
|
|
6432
|
+
url: toPathString(localVarUrlObj),
|
|
6433
|
+
options: localVarRequestOptions,
|
|
6434
|
+
};
|
|
6435
|
+
},
|
|
6436
|
+
/**
|
|
6437
|
+
*
|
|
6438
|
+
* @param {UserPermissionDTO} userPermissionDTO
|
|
6439
|
+
* @param {*} [options] Override http request option.
|
|
6440
|
+
* @throws {RequiredError}
|
|
6441
|
+
*/
|
|
6442
|
+
usersControllerSyncUserPermissions: async (userPermissionDTO: UserPermissionDTO, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
6443
|
+
// verify required parameter 'userPermissionDTO' is not null or undefined
|
|
6444
|
+
assertParamExists('usersControllerSyncUserPermissions', 'userPermissionDTO', userPermissionDTO)
|
|
6445
|
+
const localVarPath = `/v1/user/permissions`;
|
|
6446
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
6447
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
6448
|
+
let baseOptions;
|
|
6449
|
+
if (configuration) {
|
|
6450
|
+
baseOptions = configuration.baseOptions;
|
|
6451
|
+
}
|
|
6452
|
+
|
|
6453
|
+
const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
|
|
6454
|
+
const localVarHeaderParameter = {} as any;
|
|
6455
|
+
const localVarQueryParameter = {} as any;
|
|
6456
|
+
|
|
6457
|
+
// authentication bearer required
|
|
6458
|
+
// http bearer authentication required
|
|
6459
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
6460
|
+
|
|
6461
|
+
|
|
6462
|
+
|
|
6463
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
6464
|
+
|
|
6465
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
6466
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
6467
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
6468
|
+
localVarRequestOptions.data = serializeDataIfNeeded(userPermissionDTO, localVarRequestOptions, configuration)
|
|
6469
|
+
|
|
4136
6470
|
return {
|
|
4137
6471
|
url: toPathString(localVarUrlObj),
|
|
4138
6472
|
options: localVarRequestOptions,
|
|
@@ -4148,6 +6482,17 @@ export const UsersApiAxiosParamCreator = function (configuration?: Configuration
|
|
|
4148
6482
|
export const UsersApiFp = function(configuration?: Configuration) {
|
|
4149
6483
|
const localVarAxiosParamCreator = UsersApiAxiosParamCreator(configuration)
|
|
4150
6484
|
return {
|
|
6485
|
+
/**
|
|
6486
|
+
*
|
|
6487
|
+
* @param {*} [options] Override http request option.
|
|
6488
|
+
* @throws {RequiredError}
|
|
6489
|
+
*/
|
|
6490
|
+
async usersControllerDeactivateAccount(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<OnBoardingResponseDTO>> {
|
|
6491
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.usersControllerDeactivateAccount(options);
|
|
6492
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
6493
|
+
const localVarOperationServerBasePath = operationServerMap['UsersApi.usersControllerDeactivateAccount']?.[localVarOperationServerIndex]?.url;
|
|
6494
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
6495
|
+
},
|
|
4151
6496
|
/**
|
|
4152
6497
|
*
|
|
4153
6498
|
* @param {*} [options] Override http request option.
|
|
@@ -4159,6 +6504,18 @@ export const UsersApiFp = function(configuration?: Configuration) {
|
|
|
4159
6504
|
const localVarOperationServerBasePath = operationServerMap['UsersApi.usersControllerGetMe']?.[localVarOperationServerIndex]?.url;
|
|
4160
6505
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4161
6506
|
},
|
|
6507
|
+
/**
|
|
6508
|
+
*
|
|
6509
|
+
* @param {GetUserDTO} getUserDTO
|
|
6510
|
+
* @param {*} [options] Override http request option.
|
|
6511
|
+
* @throws {RequiredError}
|
|
6512
|
+
*/
|
|
6513
|
+
async usersControllerGetUser(getUserDTO: GetUserDTO, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<OnBoardingResponseDTO>> {
|
|
6514
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.usersControllerGetUser(getUserDTO, options);
|
|
6515
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
6516
|
+
const localVarOperationServerBasePath = operationServerMap['UsersApi.usersControllerGetUser']?.[localVarOperationServerIndex]?.url;
|
|
6517
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
6518
|
+
},
|
|
4162
6519
|
/**
|
|
4163
6520
|
*
|
|
4164
6521
|
* @param {OnBoardingDTO} onBoardingDTO
|
|
@@ -4171,6 +6528,30 @@ export const UsersApiFp = function(configuration?: Configuration) {
|
|
|
4171
6528
|
const localVarOperationServerBasePath = operationServerMap['UsersApi.usersControllerOnBoarded']?.[localVarOperationServerIndex]?.url;
|
|
4172
6529
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4173
6530
|
},
|
|
6531
|
+
/**
|
|
6532
|
+
*
|
|
6533
|
+
* @param {UserSyncDTO} userSyncDTO
|
|
6534
|
+
* @param {*} [options] Override http request option.
|
|
6535
|
+
* @throws {RequiredError}
|
|
6536
|
+
*/
|
|
6537
|
+
async usersControllerSyncUserInfo(userSyncDTO: UserSyncDTO, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<OnBoardingResponseDTO>> {
|
|
6538
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.usersControllerSyncUserInfo(userSyncDTO, options);
|
|
6539
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
6540
|
+
const localVarOperationServerBasePath = operationServerMap['UsersApi.usersControllerSyncUserInfo']?.[localVarOperationServerIndex]?.url;
|
|
6541
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
6542
|
+
},
|
|
6543
|
+
/**
|
|
6544
|
+
*
|
|
6545
|
+
* @param {UserPermissionDTO} userPermissionDTO
|
|
6546
|
+
* @param {*} [options] Override http request option.
|
|
6547
|
+
* @throws {RequiredError}
|
|
6548
|
+
*/
|
|
6549
|
+
async usersControllerSyncUserPermissions(userPermissionDTO: UserPermissionDTO, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<OnBoardingResponseDTO>> {
|
|
6550
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.usersControllerSyncUserPermissions(userPermissionDTO, options);
|
|
6551
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
6552
|
+
const localVarOperationServerBasePath = operationServerMap['UsersApi.usersControllerSyncUserPermissions']?.[localVarOperationServerIndex]?.url;
|
|
6553
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
6554
|
+
},
|
|
4174
6555
|
}
|
|
4175
6556
|
};
|
|
4176
6557
|
|
|
@@ -4181,6 +6562,14 @@ export const UsersApiFp = function(configuration?: Configuration) {
|
|
|
4181
6562
|
export const UsersApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
4182
6563
|
const localVarFp = UsersApiFp(configuration)
|
|
4183
6564
|
return {
|
|
6565
|
+
/**
|
|
6566
|
+
*
|
|
6567
|
+
* @param {*} [options] Override http request option.
|
|
6568
|
+
* @throws {RequiredError}
|
|
6569
|
+
*/
|
|
6570
|
+
usersControllerDeactivateAccount(options?: RawAxiosRequestConfig): AxiosPromise<OnBoardingResponseDTO> {
|
|
6571
|
+
return localVarFp.usersControllerDeactivateAccount(options).then((request) => request(axios, basePath));
|
|
6572
|
+
},
|
|
4184
6573
|
/**
|
|
4185
6574
|
*
|
|
4186
6575
|
* @param {*} [options] Override http request option.
|
|
@@ -4189,6 +6578,15 @@ export const UsersApiFactory = function (configuration?: Configuration, basePath
|
|
|
4189
6578
|
usersControllerGetMe(options?: RawAxiosRequestConfig): AxiosPromise<UserMeDTO> {
|
|
4190
6579
|
return localVarFp.usersControllerGetMe(options).then((request) => request(axios, basePath));
|
|
4191
6580
|
},
|
|
6581
|
+
/**
|
|
6582
|
+
*
|
|
6583
|
+
* @param {GetUserDTO} getUserDTO
|
|
6584
|
+
* @param {*} [options] Override http request option.
|
|
6585
|
+
* @throws {RequiredError}
|
|
6586
|
+
*/
|
|
6587
|
+
usersControllerGetUser(getUserDTO: GetUserDTO, options?: RawAxiosRequestConfig): AxiosPromise<OnBoardingResponseDTO> {
|
|
6588
|
+
return localVarFp.usersControllerGetUser(getUserDTO, options).then((request) => request(axios, basePath));
|
|
6589
|
+
},
|
|
4192
6590
|
/**
|
|
4193
6591
|
*
|
|
4194
6592
|
* @param {OnBoardingDTO} onBoardingDTO
|
|
@@ -4198,6 +6596,24 @@ export const UsersApiFactory = function (configuration?: Configuration, basePath
|
|
|
4198
6596
|
usersControllerOnBoarded(onBoardingDTO: OnBoardingDTO, options?: RawAxiosRequestConfig): AxiosPromise<OnBoardingResponseDTO> {
|
|
4199
6597
|
return localVarFp.usersControllerOnBoarded(onBoardingDTO, options).then((request) => request(axios, basePath));
|
|
4200
6598
|
},
|
|
6599
|
+
/**
|
|
6600
|
+
*
|
|
6601
|
+
* @param {UserSyncDTO} userSyncDTO
|
|
6602
|
+
* @param {*} [options] Override http request option.
|
|
6603
|
+
* @throws {RequiredError}
|
|
6604
|
+
*/
|
|
6605
|
+
usersControllerSyncUserInfo(userSyncDTO: UserSyncDTO, options?: RawAxiosRequestConfig): AxiosPromise<OnBoardingResponseDTO> {
|
|
6606
|
+
return localVarFp.usersControllerSyncUserInfo(userSyncDTO, options).then((request) => request(axios, basePath));
|
|
6607
|
+
},
|
|
6608
|
+
/**
|
|
6609
|
+
*
|
|
6610
|
+
* @param {UserPermissionDTO} userPermissionDTO
|
|
6611
|
+
* @param {*} [options] Override http request option.
|
|
6612
|
+
* @throws {RequiredError}
|
|
6613
|
+
*/
|
|
6614
|
+
usersControllerSyncUserPermissions(userPermissionDTO: UserPermissionDTO, options?: RawAxiosRequestConfig): AxiosPromise<OnBoardingResponseDTO> {
|
|
6615
|
+
return localVarFp.usersControllerSyncUserPermissions(userPermissionDTO, options).then((request) => request(axios, basePath));
|
|
6616
|
+
},
|
|
4201
6617
|
};
|
|
4202
6618
|
};
|
|
4203
6619
|
|
|
@@ -4208,6 +6624,16 @@ export const UsersApiFactory = function (configuration?: Configuration, basePath
|
|
|
4208
6624
|
* @extends {BaseAPI}
|
|
4209
6625
|
*/
|
|
4210
6626
|
export class UsersApi extends BaseAPI {
|
|
6627
|
+
/**
|
|
6628
|
+
*
|
|
6629
|
+
* @param {*} [options] Override http request option.
|
|
6630
|
+
* @throws {RequiredError}
|
|
6631
|
+
* @memberof UsersApi
|
|
6632
|
+
*/
|
|
6633
|
+
public usersControllerDeactivateAccount(options?: RawAxiosRequestConfig) {
|
|
6634
|
+
return UsersApiFp(this.configuration).usersControllerDeactivateAccount(options).then((request) => request(this.axios, this.basePath));
|
|
6635
|
+
}
|
|
6636
|
+
|
|
4211
6637
|
/**
|
|
4212
6638
|
*
|
|
4213
6639
|
* @param {*} [options] Override http request option.
|
|
@@ -4218,6 +6644,17 @@ export class UsersApi extends BaseAPI {
|
|
|
4218
6644
|
return UsersApiFp(this.configuration).usersControllerGetMe(options).then((request) => request(this.axios, this.basePath));
|
|
4219
6645
|
}
|
|
4220
6646
|
|
|
6647
|
+
/**
|
|
6648
|
+
*
|
|
6649
|
+
* @param {GetUserDTO} getUserDTO
|
|
6650
|
+
* @param {*} [options] Override http request option.
|
|
6651
|
+
* @throws {RequiredError}
|
|
6652
|
+
* @memberof UsersApi
|
|
6653
|
+
*/
|
|
6654
|
+
public usersControllerGetUser(getUserDTO: GetUserDTO, options?: RawAxiosRequestConfig) {
|
|
6655
|
+
return UsersApiFp(this.configuration).usersControllerGetUser(getUserDTO, options).then((request) => request(this.axios, this.basePath));
|
|
6656
|
+
}
|
|
6657
|
+
|
|
4221
6658
|
/**
|
|
4222
6659
|
*
|
|
4223
6660
|
* @param {OnBoardingDTO} onBoardingDTO
|
|
@@ -4228,6 +6665,28 @@ export class UsersApi extends BaseAPI {
|
|
|
4228
6665
|
public usersControllerOnBoarded(onBoardingDTO: OnBoardingDTO, options?: RawAxiosRequestConfig) {
|
|
4229
6666
|
return UsersApiFp(this.configuration).usersControllerOnBoarded(onBoardingDTO, options).then((request) => request(this.axios, this.basePath));
|
|
4230
6667
|
}
|
|
6668
|
+
|
|
6669
|
+
/**
|
|
6670
|
+
*
|
|
6671
|
+
* @param {UserSyncDTO} userSyncDTO
|
|
6672
|
+
* @param {*} [options] Override http request option.
|
|
6673
|
+
* @throws {RequiredError}
|
|
6674
|
+
* @memberof UsersApi
|
|
6675
|
+
*/
|
|
6676
|
+
public usersControllerSyncUserInfo(userSyncDTO: UserSyncDTO, options?: RawAxiosRequestConfig) {
|
|
6677
|
+
return UsersApiFp(this.configuration).usersControllerSyncUserInfo(userSyncDTO, options).then((request) => request(this.axios, this.basePath));
|
|
6678
|
+
}
|
|
6679
|
+
|
|
6680
|
+
/**
|
|
6681
|
+
*
|
|
6682
|
+
* @param {UserPermissionDTO} userPermissionDTO
|
|
6683
|
+
* @param {*} [options] Override http request option.
|
|
6684
|
+
* @throws {RequiredError}
|
|
6685
|
+
* @memberof UsersApi
|
|
6686
|
+
*/
|
|
6687
|
+
public usersControllerSyncUserPermissions(userPermissionDTO: UserPermissionDTO, options?: RawAxiosRequestConfig) {
|
|
6688
|
+
return UsersApiFp(this.configuration).usersControllerSyncUserPermissions(userPermissionDTO, options).then((request) => request(this.axios, this.basePath));
|
|
6689
|
+
}
|
|
4231
6690
|
}
|
|
4232
6691
|
|
|
4233
6692
|
|