@gooday_corp/gooday-api-client 1.1.12-delta-6 → 1.1.12-delta-8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/api.ts +861 -700
- 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
|
|
@@ -165,24 +178,12 @@ export interface BusinessEntity {
|
|
|
165
178
|
* @memberof BusinessEntity
|
|
166
179
|
*/
|
|
167
180
|
'timing'?: Array<BusinessTiming>;
|
|
168
|
-
/**
|
|
169
|
-
* Business Current Timing
|
|
170
|
-
* @type {BusinessTiming}
|
|
171
|
-
* @memberof BusinessEntity
|
|
172
|
-
*/
|
|
173
|
-
'currentTime'?: BusinessTiming;
|
|
174
181
|
/**
|
|
175
182
|
* Business policies
|
|
176
183
|
* @type {string}
|
|
177
184
|
* @memberof BusinessEntity
|
|
178
185
|
*/
|
|
179
186
|
'policies'?: string;
|
|
180
|
-
/**
|
|
181
|
-
* Business Name
|
|
182
|
-
* @type {string}
|
|
183
|
-
* @memberof BusinessEntity
|
|
184
|
-
*/
|
|
185
|
-
'name'?: string;
|
|
186
187
|
/**
|
|
187
188
|
* Business cancellationFee
|
|
188
189
|
* @type {number}
|
|
@@ -203,10 +204,10 @@ export interface BusinessEntity {
|
|
|
203
204
|
'businessCountry'?: string;
|
|
204
205
|
/**
|
|
205
206
|
* Business Venue
|
|
206
|
-
* @type {Array<
|
|
207
|
+
* @type {Array<BusinessVenueDTO>}
|
|
207
208
|
* @memberof BusinessEntity
|
|
208
209
|
*/
|
|
209
|
-
'venues'?: Array<
|
|
210
|
+
'venues'?: Array<BusinessVenueDTO>;
|
|
210
211
|
/**
|
|
211
212
|
* Business Type
|
|
212
213
|
* @type {string}
|
|
@@ -235,45 +236,12 @@ export interface BusinessEntity {
|
|
|
235
236
|
|
|
236
237
|
export const BusinessEntityStatusEnum = {
|
|
237
238
|
Verified: 'VERIFIED',
|
|
238
|
-
InProgress: 'IN_PROGRESS',
|
|
239
239
|
Pending: 'PENDING',
|
|
240
240
|
QuoteRequested: 'QUOTE_REQUESTED'
|
|
241
241
|
} as const;
|
|
242
242
|
|
|
243
243
|
export type BusinessEntityStatusEnum = typeof BusinessEntityStatusEnum[keyof typeof BusinessEntityStatusEnum];
|
|
244
244
|
|
|
245
|
-
/**
|
|
246
|
-
*
|
|
247
|
-
* @export
|
|
248
|
-
* @interface BusinessFavoriteDTO
|
|
249
|
-
*/
|
|
250
|
-
export interface BusinessFavoriteDTO {
|
|
251
|
-
/**
|
|
252
|
-
* Business Venue Id
|
|
253
|
-
* @type {string}
|
|
254
|
-
* @memberof BusinessFavoriteDTO
|
|
255
|
-
*/
|
|
256
|
-
'venue': string;
|
|
257
|
-
}
|
|
258
|
-
/**
|
|
259
|
-
*
|
|
260
|
-
* @export
|
|
261
|
-
* @interface BusinessFavoriteResponse
|
|
262
|
-
*/
|
|
263
|
-
export interface BusinessFavoriteResponse {
|
|
264
|
-
/**
|
|
265
|
-
* statusCode
|
|
266
|
-
* @type {number}
|
|
267
|
-
* @memberof BusinessFavoriteResponse
|
|
268
|
-
*/
|
|
269
|
-
'statusCode': number;
|
|
270
|
-
/**
|
|
271
|
-
* Business Favorite
|
|
272
|
-
* @type {BusinessFavoriteDTO}
|
|
273
|
-
* @memberof BusinessFavoriteResponse
|
|
274
|
-
*/
|
|
275
|
-
'data': BusinessFavoriteDTO;
|
|
276
|
-
}
|
|
277
245
|
/**
|
|
278
246
|
*
|
|
279
247
|
* @export
|
|
@@ -298,12 +266,6 @@ export interface BusinessOnBoardingDTO {
|
|
|
298
266
|
* @memberof BusinessOnBoardingDTO
|
|
299
267
|
*/
|
|
300
268
|
'policies'?: string;
|
|
301
|
-
/**
|
|
302
|
-
* Business Name
|
|
303
|
-
* @type {string}
|
|
304
|
-
* @memberof BusinessOnBoardingDTO
|
|
305
|
-
*/
|
|
306
|
-
'name'?: string;
|
|
307
269
|
/**
|
|
308
270
|
* Business cancellationFee
|
|
309
271
|
* @type {number}
|
|
@@ -422,31 +384,6 @@ export interface BusinessTypeEntity {
|
|
|
422
384
|
* @memberof BusinessTypeEntity
|
|
423
385
|
*/
|
|
424
386
|
'name': string;
|
|
425
|
-
/**
|
|
426
|
-
* Business Image
|
|
427
|
-
* @type {BusinessTypeImageDTO}
|
|
428
|
-
* @memberof BusinessTypeEntity
|
|
429
|
-
*/
|
|
430
|
-
'images': BusinessTypeImageDTO;
|
|
431
|
-
}
|
|
432
|
-
/**
|
|
433
|
-
*
|
|
434
|
-
* @export
|
|
435
|
-
* @interface BusinessTypeImageDTO
|
|
436
|
-
*/
|
|
437
|
-
export interface BusinessTypeImageDTO {
|
|
438
|
-
/**
|
|
439
|
-
* Business Type Image Small
|
|
440
|
-
* @type {string}
|
|
441
|
-
* @memberof BusinessTypeImageDTO
|
|
442
|
-
*/
|
|
443
|
-
'small': string;
|
|
444
|
-
/**
|
|
445
|
-
* Business Type Image Large
|
|
446
|
-
* @type {string}
|
|
447
|
-
* @memberof BusinessTypeImageDTO
|
|
448
|
-
*/
|
|
449
|
-
'large': string;
|
|
450
387
|
}
|
|
451
388
|
/**
|
|
452
389
|
*
|
|
@@ -467,123 +404,30 @@ export interface BusinessTypeListResponse {
|
|
|
467
404
|
*/
|
|
468
405
|
'data': Array<BusinessTypeEntity>;
|
|
469
406
|
}
|
|
470
|
-
/**
|
|
471
|
-
*
|
|
472
|
-
* @export
|
|
473
|
-
* @interface BusinessUnFavoriteResponse
|
|
474
|
-
*/
|
|
475
|
-
export interface BusinessUnFavoriteResponse {
|
|
476
|
-
/**
|
|
477
|
-
* statusCode
|
|
478
|
-
* @type {number}
|
|
479
|
-
* @memberof BusinessUnFavoriteResponse
|
|
480
|
-
*/
|
|
481
|
-
'statusCode': number;
|
|
482
|
-
/**
|
|
483
|
-
* Business Favorite Rule
|
|
484
|
-
* @type {string}
|
|
485
|
-
* @memberof BusinessUnFavoriteResponse
|
|
486
|
-
*/
|
|
487
|
-
'message': string;
|
|
488
|
-
}
|
|
489
407
|
/**
|
|
490
408
|
*
|
|
491
409
|
* @export
|
|
492
410
|
* @interface BusinessVenueDTO
|
|
493
411
|
*/
|
|
494
412
|
export interface BusinessVenueDTO {
|
|
495
|
-
/**
|
|
496
|
-
* coverPhots
|
|
497
|
-
* @type {string}
|
|
498
|
-
* @memberof BusinessVenueDTO
|
|
499
|
-
*/
|
|
500
|
-
'coverPhoto': string;
|
|
501
413
|
/**
|
|
502
414
|
*
|
|
503
415
|
* @type {string}
|
|
504
416
|
* @memberof BusinessVenueDTO
|
|
505
417
|
*/
|
|
506
|
-
'
|
|
507
|
-
/**
|
|
508
|
-
*
|
|
509
|
-
* @type {LocationDTO}
|
|
510
|
-
* @memberof BusinessVenueDTO
|
|
511
|
-
*/
|
|
512
|
-
'location': LocationDTO;
|
|
418
|
+
'coverPhotos': string;
|
|
513
419
|
/**
|
|
514
420
|
*
|
|
515
421
|
* @type {string}
|
|
516
422
|
* @memberof BusinessVenueDTO
|
|
517
423
|
*/
|
|
518
|
-
'numberOfEmployee': string;
|
|
519
|
-
}
|
|
520
|
-
/**
|
|
521
|
-
*
|
|
522
|
-
* @export
|
|
523
|
-
* @interface BusinessVenueDetailsEntity
|
|
524
|
-
*/
|
|
525
|
-
export interface BusinessVenueDetailsEntity {
|
|
526
|
-
/**
|
|
527
|
-
* Unique identifier for the business venue
|
|
528
|
-
* @type {string}
|
|
529
|
-
* @memberof BusinessVenueDetailsEntity
|
|
530
|
-
*/
|
|
531
|
-
'_id'?: string;
|
|
532
|
-
/**
|
|
533
|
-
* coverPhots
|
|
534
|
-
* @type {string}
|
|
535
|
-
* @memberof BusinessVenueDetailsEntity
|
|
536
|
-
*/
|
|
537
|
-
'coverPhoto': string;
|
|
538
|
-
/**
|
|
539
|
-
*
|
|
540
|
-
* @type {string}
|
|
541
|
-
* @memberof BusinessVenueDetailsEntity
|
|
542
|
-
*/
|
|
543
424
|
'priceRange': string;
|
|
544
425
|
/**
|
|
545
426
|
*
|
|
546
427
|
* @type {LocationDTO}
|
|
547
|
-
* @memberof
|
|
428
|
+
* @memberof BusinessVenueDTO
|
|
548
429
|
*/
|
|
549
430
|
'location': LocationDTO;
|
|
550
|
-
/**
|
|
551
|
-
*
|
|
552
|
-
* @type {string}
|
|
553
|
-
* @memberof BusinessVenueDetailsEntity
|
|
554
|
-
*/
|
|
555
|
-
'numberOfEmployee': string;
|
|
556
|
-
/**
|
|
557
|
-
*
|
|
558
|
-
* @type {UserEntity}
|
|
559
|
-
* @memberof BusinessVenueDetailsEntity
|
|
560
|
-
*/
|
|
561
|
-
'user': UserEntity;
|
|
562
|
-
/**
|
|
563
|
-
*
|
|
564
|
-
* @type {BusinessEntity}
|
|
565
|
-
* @memberof BusinessVenueDetailsEntity
|
|
566
|
-
*/
|
|
567
|
-
'business': BusinessEntity;
|
|
568
|
-
}
|
|
569
|
-
/**
|
|
570
|
-
*
|
|
571
|
-
* @export
|
|
572
|
-
* @interface BusinessVenueResponseDTO
|
|
573
|
-
*/
|
|
574
|
-
export interface BusinessVenueResponseDTO {
|
|
575
|
-
/**
|
|
576
|
-
* statusCode
|
|
577
|
-
* @type {number}
|
|
578
|
-
* @memberof BusinessVenueResponseDTO
|
|
579
|
-
*/
|
|
580
|
-
'statusCode': number;
|
|
581
|
-
/**
|
|
582
|
-
* Business verification
|
|
583
|
-
* @type {Array<BusinessVenueDetailsEntity>}
|
|
584
|
-
* @memberof BusinessVenueResponseDTO
|
|
585
|
-
*/
|
|
586
|
-
'data': Array<BusinessVenueDetailsEntity>;
|
|
587
431
|
}
|
|
588
432
|
/**
|
|
589
433
|
*
|
|
@@ -648,12 +492,6 @@ export interface CategoryEntity {
|
|
|
648
492
|
* @memberof CategoryEntity
|
|
649
493
|
*/
|
|
650
494
|
'name': string;
|
|
651
|
-
/**
|
|
652
|
-
* Image of category
|
|
653
|
-
* @type {string}
|
|
654
|
-
* @memberof CategoryEntity
|
|
655
|
-
*/
|
|
656
|
-
'image': string;
|
|
657
495
|
/**
|
|
658
496
|
* Unique identifier or reference of the business Type
|
|
659
497
|
* @type {string}
|
|
@@ -717,6 +555,19 @@ export interface CreatePaymentLinkDTO {
|
|
|
717
555
|
*/
|
|
718
556
|
'user': string;
|
|
719
557
|
}
|
|
558
|
+
/**
|
|
559
|
+
*
|
|
560
|
+
* @export
|
|
561
|
+
* @interface DeclineFriendshipRequestPayload
|
|
562
|
+
*/
|
|
563
|
+
export interface DeclineFriendshipRequestPayload {
|
|
564
|
+
/**
|
|
565
|
+
*
|
|
566
|
+
* @type {string}
|
|
567
|
+
* @memberof DeclineFriendshipRequestPayload
|
|
568
|
+
*/
|
|
569
|
+
'from': string;
|
|
570
|
+
}
|
|
720
571
|
/**
|
|
721
572
|
*
|
|
722
573
|
* @export
|
|
@@ -871,52 +722,84 @@ export interface ForgotPasswordResponseDTO {
|
|
|
871
722
|
/**
|
|
872
723
|
*
|
|
873
724
|
* @export
|
|
874
|
-
* @interface
|
|
725
|
+
* @interface FriendsDTO
|
|
875
726
|
*/
|
|
876
|
-
export interface
|
|
727
|
+
export interface FriendsDTO {
|
|
877
728
|
/**
|
|
878
|
-
*
|
|
879
|
-
* @type {
|
|
880
|
-
* @memberof
|
|
729
|
+
* statusCode
|
|
730
|
+
* @type {number}
|
|
731
|
+
* @memberof FriendsDTO
|
|
881
732
|
*/
|
|
882
|
-
'
|
|
733
|
+
'statusCode': number;
|
|
883
734
|
/**
|
|
884
|
-
*
|
|
885
|
-
* @type {
|
|
886
|
-
* @memberof
|
|
735
|
+
* User
|
|
736
|
+
* @type {Array<UserEntity>}
|
|
737
|
+
* @memberof FriendsDTO
|
|
887
738
|
*/
|
|
888
|
-
'
|
|
739
|
+
'data': Array<UserEntity>;
|
|
740
|
+
}
|
|
741
|
+
/**
|
|
742
|
+
*
|
|
743
|
+
* @export
|
|
744
|
+
* @interface FriendsResponseDTO
|
|
745
|
+
*/
|
|
746
|
+
export interface FriendsResponseDTO {
|
|
889
747
|
/**
|
|
890
|
-
*
|
|
891
|
-
* @type {
|
|
892
|
-
* @memberof
|
|
748
|
+
* statusCode
|
|
749
|
+
* @type {number}
|
|
750
|
+
* @memberof FriendsResponseDTO
|
|
893
751
|
*/
|
|
894
|
-
'
|
|
752
|
+
'statusCode': number;
|
|
895
753
|
/**
|
|
896
|
-
*
|
|
897
|
-
* @type {
|
|
898
|
-
* @memberof
|
|
754
|
+
*
|
|
755
|
+
* @type {boolean}
|
|
756
|
+
* @memberof FriendsResponseDTO
|
|
899
757
|
*/
|
|
900
|
-
'
|
|
758
|
+
'success': boolean;
|
|
759
|
+
}
|
|
760
|
+
/**
|
|
761
|
+
*
|
|
762
|
+
* @export
|
|
763
|
+
* @interface FriendshipStatusCheck
|
|
764
|
+
*/
|
|
765
|
+
export interface FriendshipStatusCheck {
|
|
901
766
|
/**
|
|
902
|
-
*
|
|
903
|
-
* @type {
|
|
904
|
-
* @memberof
|
|
767
|
+
*
|
|
768
|
+
* @type {string}
|
|
769
|
+
* @memberof FriendshipStatusCheck
|
|
905
770
|
*/
|
|
906
|
-
'
|
|
771
|
+
'to': string;
|
|
772
|
+
}
|
|
773
|
+
/**
|
|
774
|
+
*
|
|
775
|
+
* @export
|
|
776
|
+
* @interface FriendshipStatusDTO
|
|
777
|
+
*/
|
|
778
|
+
export interface FriendshipStatusDTO {
|
|
907
779
|
/**
|
|
908
|
-
*
|
|
780
|
+
* statusCode
|
|
909
781
|
* @type {number}
|
|
910
|
-
* @memberof
|
|
782
|
+
* @memberof FriendshipStatusDTO
|
|
911
783
|
*/
|
|
912
|
-
'
|
|
784
|
+
'statusCode': number;
|
|
913
785
|
/**
|
|
914
|
-
*
|
|
915
|
-
* @type {
|
|
916
|
-
* @memberof
|
|
786
|
+
*
|
|
787
|
+
* @type {string}
|
|
788
|
+
* @memberof FriendshipStatusDTO
|
|
917
789
|
*/
|
|
918
|
-
'
|
|
790
|
+
'success': FriendshipStatusDTOSuccessEnum;
|
|
919
791
|
}
|
|
792
|
+
|
|
793
|
+
export const FriendshipStatusDTOSuccessEnum = {
|
|
794
|
+
Pending: 'PENDING',
|
|
795
|
+
Confirmed: 'CONFIRMED',
|
|
796
|
+
Rejected: 'REJECTED',
|
|
797
|
+
Cancelled: 'CANCELLED',
|
|
798
|
+
Unknown: 'UNKNOWN'
|
|
799
|
+
} as const;
|
|
800
|
+
|
|
801
|
+
export type FriendshipStatusDTOSuccessEnum = typeof FriendshipStatusDTOSuccessEnum[keyof typeof FriendshipStatusDTOSuccessEnum];
|
|
802
|
+
|
|
920
803
|
/**
|
|
921
804
|
*
|
|
922
805
|
* @export
|
|
@@ -1107,12 +990,6 @@ export interface LocationDTO {
|
|
|
1107
990
|
* @memberof LocationDTO
|
|
1108
991
|
*/
|
|
1109
992
|
'coordinates': Array<number>;
|
|
1110
|
-
/**
|
|
1111
|
-
*
|
|
1112
|
-
* @type {string}
|
|
1113
|
-
* @memberof LocationDTO
|
|
1114
|
-
*/
|
|
1115
|
-
'distance'?: string;
|
|
1116
993
|
/**
|
|
1117
994
|
*
|
|
1118
995
|
* @type {LocationMetaDTO}
|
|
@@ -1520,6 +1397,19 @@ export interface PriceRangeListResponse {
|
|
|
1520
1397
|
*/
|
|
1521
1398
|
'data': Array<PriceRangeEntity>;
|
|
1522
1399
|
}
|
|
1400
|
+
/**
|
|
1401
|
+
*
|
|
1402
|
+
* @export
|
|
1403
|
+
* @interface RemoveFriendshipRequestPayload
|
|
1404
|
+
*/
|
|
1405
|
+
export interface RemoveFriendshipRequestPayload {
|
|
1406
|
+
/**
|
|
1407
|
+
*
|
|
1408
|
+
* @type {string}
|
|
1409
|
+
* @memberof RemoveFriendshipRequestPayload
|
|
1410
|
+
*/
|
|
1411
|
+
'from': string;
|
|
1412
|
+
}
|
|
1523
1413
|
/**
|
|
1524
1414
|
*
|
|
1525
1415
|
* @export
|
|
@@ -1558,6 +1448,19 @@ export interface ResetPasswordResponseDTO {
|
|
|
1558
1448
|
*/
|
|
1559
1449
|
'message': string;
|
|
1560
1450
|
}
|
|
1451
|
+
/**
|
|
1452
|
+
*
|
|
1453
|
+
* @export
|
|
1454
|
+
* @interface SendFriendshipRequestPayload
|
|
1455
|
+
*/
|
|
1456
|
+
export interface SendFriendshipRequestPayload {
|
|
1457
|
+
/**
|
|
1458
|
+
*
|
|
1459
|
+
* @type {string}
|
|
1460
|
+
* @memberof SendFriendshipRequestPayload
|
|
1461
|
+
*/
|
|
1462
|
+
'to': string;
|
|
1463
|
+
}
|
|
1561
1464
|
/**
|
|
1562
1465
|
*
|
|
1563
1466
|
* @export
|
|
@@ -1658,12 +1561,6 @@ export interface SignupDto {
|
|
|
1658
1561
|
* @memberof SignupDto
|
|
1659
1562
|
*/
|
|
1660
1563
|
'lastName': string;
|
|
1661
|
-
/**
|
|
1662
|
-
* Contact Number For User
|
|
1663
|
-
* @type {string}
|
|
1664
|
-
* @memberof SignupDto
|
|
1665
|
-
*/
|
|
1666
|
-
'phoneNo': string;
|
|
1667
1564
|
/**
|
|
1668
1565
|
* The email of the user
|
|
1669
1566
|
* @type {string}
|
|
@@ -1796,12 +1693,6 @@ export interface UserEntity {
|
|
|
1796
1693
|
* @memberof UserEntity
|
|
1797
1694
|
*/
|
|
1798
1695
|
'_id': string;
|
|
1799
|
-
/**
|
|
1800
|
-
* Unique identifier for the Gooday user
|
|
1801
|
-
* @type {string}
|
|
1802
|
-
* @memberof UserEntity
|
|
1803
|
-
*/
|
|
1804
|
-
'goodayId': string;
|
|
1805
1696
|
/**
|
|
1806
1697
|
* First name of the user
|
|
1807
1698
|
* @type {string}
|
|
@@ -1820,12 +1711,6 @@ export interface UserEntity {
|
|
|
1820
1711
|
* @memberof UserEntity
|
|
1821
1712
|
*/
|
|
1822
1713
|
'email': string;
|
|
1823
|
-
/**
|
|
1824
|
-
* User location
|
|
1825
|
-
* @type {Array<number>}
|
|
1826
|
-
* @memberof UserEntity
|
|
1827
|
-
*/
|
|
1828
|
-
'location'?: Array<number>;
|
|
1829
1714
|
/**
|
|
1830
1715
|
* Nickname of the user
|
|
1831
1716
|
* @type {string}
|
|
@@ -1844,12 +1729,6 @@ export interface UserEntity {
|
|
|
1844
1729
|
* @memberof UserEntity
|
|
1845
1730
|
*/
|
|
1846
1731
|
'assistant': string;
|
|
1847
|
-
/**
|
|
1848
|
-
* Phone No
|
|
1849
|
-
* @type {string}
|
|
1850
|
-
* @memberof UserEntity
|
|
1851
|
-
*/
|
|
1852
|
-
'phoneNo': string;
|
|
1853
1732
|
/**
|
|
1854
1733
|
* Indicates whether the user\'s email has been verified
|
|
1855
1734
|
* @type {boolean}
|
|
@@ -1874,12 +1753,6 @@ export interface UserEntity {
|
|
|
1874
1753
|
* @memberof UserEntity
|
|
1875
1754
|
*/
|
|
1876
1755
|
'plan': UserPlanDTO;
|
|
1877
|
-
/**
|
|
1878
|
-
* Plan subscribed by the user
|
|
1879
|
-
* @type {BusinessEntity}
|
|
1880
|
-
* @memberof UserEntity
|
|
1881
|
-
*/
|
|
1882
|
-
'business'?: BusinessEntity;
|
|
1883
1756
|
/**
|
|
1884
1757
|
* Action user has to perform
|
|
1885
1758
|
* @type {Array<string>}
|
|
@@ -1941,19 +1814,6 @@ export const UserPlanDTONameEnum = {
|
|
|
1941
1814
|
|
|
1942
1815
|
export type UserPlanDTONameEnum = typeof UserPlanDTONameEnum[keyof typeof UserPlanDTONameEnum];
|
|
1943
1816
|
|
|
1944
|
-
/**
|
|
1945
|
-
*
|
|
1946
|
-
* @export
|
|
1947
|
-
* @interface UserSyncLocationDTO
|
|
1948
|
-
*/
|
|
1949
|
-
export interface UserSyncLocationDTO {
|
|
1950
|
-
/**
|
|
1951
|
-
* User location
|
|
1952
|
-
* @type {Array<number>}
|
|
1953
|
-
* @memberof UserSyncLocationDTO
|
|
1954
|
-
*/
|
|
1955
|
-
'location': Array<number>;
|
|
1956
|
-
}
|
|
1957
1817
|
/**
|
|
1958
1818
|
*
|
|
1959
1819
|
* @export
|
|
@@ -2886,7 +2746,7 @@ export const BusinessApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
2886
2746
|
* @throws {RequiredError}
|
|
2887
2747
|
*/
|
|
2888
2748
|
businessControllerListBusinesses: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
2889
|
-
const localVarPath = `/
|
|
2749
|
+
const localVarPath = `/business`;
|
|
2890
2750
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
2891
2751
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2892
2752
|
let baseOptions;
|
|
@@ -2911,14 +2771,11 @@ export const BusinessApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
2911
2771
|
},
|
|
2912
2772
|
/**
|
|
2913
2773
|
*
|
|
2914
|
-
* @param {GetBusinessVenueDto} getBusinessVenueDto
|
|
2915
2774
|
* @param {*} [options] Override http request option.
|
|
2916
2775
|
* @throws {RequiredError}
|
|
2917
2776
|
*/
|
|
2918
|
-
|
|
2919
|
-
|
|
2920
|
-
assertParamExists('businessTypeControllerGetBusinessVenue', 'getBusinessVenueDto', getBusinessVenueDto)
|
|
2921
|
-
const localVarPath = `/v1/business/business-venue`;
|
|
2777
|
+
businessTypeControllerListBusinessType: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
2778
|
+
const localVarPath = `/v1/business/list`;
|
|
2922
2779
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
2923
2780
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2924
2781
|
let baseOptions;
|
|
@@ -2926,7 +2783,7 @@ export const BusinessApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
2926
2783
|
baseOptions = configuration.baseOptions;
|
|
2927
2784
|
}
|
|
2928
2785
|
|
|
2929
|
-
const localVarRequestOptions = { method: '
|
|
2786
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
2930
2787
|
const localVarHeaderParameter = {} as any;
|
|
2931
2788
|
const localVarQueryParameter = {} as any;
|
|
2932
2789
|
|
|
@@ -2936,12 +2793,9 @@ export const BusinessApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
2936
2793
|
|
|
2937
2794
|
|
|
2938
2795
|
|
|
2939
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
2940
|
-
|
|
2941
2796
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2942
2797
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2943
2798
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
2944
|
-
localVarRequestOptions.data = serializeDataIfNeeded(getBusinessVenueDto, localVarRequestOptions, configuration)
|
|
2945
2799
|
|
|
2946
2800
|
return {
|
|
2947
2801
|
url: toPathString(localVarUrlObj),
|
|
@@ -2950,11 +2804,15 @@ export const BusinessApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
2950
2804
|
},
|
|
2951
2805
|
/**
|
|
2952
2806
|
*
|
|
2807
|
+
* @param {string} businessType
|
|
2953
2808
|
* @param {*} [options] Override http request option.
|
|
2954
2809
|
* @throws {RequiredError}
|
|
2955
2810
|
*/
|
|
2956
|
-
|
|
2957
|
-
|
|
2811
|
+
businessTypeControllerListCategories: async (businessType: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
2812
|
+
// verify required parameter 'businessType' is not null or undefined
|
|
2813
|
+
assertParamExists('businessTypeControllerListCategories', 'businessType', businessType)
|
|
2814
|
+
const localVarPath = `/v1/business/{businessType}/categories`
|
|
2815
|
+
.replace(`{${"businessType"}}`, encodeURIComponent(String(businessType)));
|
|
2958
2816
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
2959
2817
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2960
2818
|
let baseOptions;
|
|
@@ -2983,15 +2841,11 @@ export const BusinessApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
2983
2841
|
},
|
|
2984
2842
|
/**
|
|
2985
2843
|
*
|
|
2986
|
-
* @param {string} businessTypeId ID of the business type
|
|
2987
2844
|
* @param {*} [options] Override http request option.
|
|
2988
2845
|
* @throws {RequiredError}
|
|
2989
2846
|
*/
|
|
2990
|
-
|
|
2991
|
-
|
|
2992
|
-
assertParamExists('businessTypeControllerListCategories', 'businessTypeId', businessTypeId)
|
|
2993
|
-
const localVarPath = `/v1/business/{businessTypeId}/categories`
|
|
2994
|
-
.replace(`{${"businessTypeId"}}`, encodeURIComponent(String(businessTypeId)));
|
|
2847
|
+
businessTypeControllerListEmployeesSize: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
2848
|
+
const localVarPath = `/v1/business/employee-size`;
|
|
2995
2849
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
2996
2850
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2997
2851
|
let baseOptions;
|
|
@@ -3023,8 +2877,8 @@ export const BusinessApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
3023
2877
|
* @param {*} [options] Override http request option.
|
|
3024
2878
|
* @throws {RequiredError}
|
|
3025
2879
|
*/
|
|
3026
|
-
|
|
3027
|
-
const localVarPath = `/v1/business/
|
|
2880
|
+
businessTypeControllerListPriceRange: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
2881
|
+
const localVarPath = `/v1/business/price-range`;
|
|
3028
2882
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
3029
2883
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
3030
2884
|
let baseOptions;
|
|
@@ -3051,13 +2905,495 @@ export const BusinessApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
3051
2905
|
options: localVarRequestOptions,
|
|
3052
2906
|
};
|
|
3053
2907
|
},
|
|
2908
|
+
}
|
|
2909
|
+
};
|
|
2910
|
+
|
|
2911
|
+
/**
|
|
2912
|
+
* BusinessApi - functional programming interface
|
|
2913
|
+
* @export
|
|
2914
|
+
*/
|
|
2915
|
+
export const BusinessApiFp = function(configuration?: Configuration) {
|
|
2916
|
+
const localVarAxiosParamCreator = BusinessApiAxiosParamCreator(configuration)
|
|
2917
|
+
return {
|
|
3054
2918
|
/**
|
|
3055
2919
|
*
|
|
2920
|
+
* @param {BusinessOnBoardingDTO} businessOnBoardingDTO
|
|
3056
2921
|
* @param {*} [options] Override http request option.
|
|
3057
2922
|
* @throws {RequiredError}
|
|
3058
2923
|
*/
|
|
3059
|
-
|
|
3060
|
-
const
|
|
2924
|
+
async businessControllerBusinessOnboarding(businessOnBoardingDTO: BusinessOnBoardingDTO, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BusinessOnBoardingResponseDTO>> {
|
|
2925
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.businessControllerBusinessOnboarding(businessOnBoardingDTO, options);
|
|
2926
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
2927
|
+
const localVarOperationServerBasePath = operationServerMap['BusinessApi.businessControllerBusinessOnboarding']?.[localVarOperationServerIndex]?.url;
|
|
2928
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2929
|
+
},
|
|
2930
|
+
/**
|
|
2931
|
+
*
|
|
2932
|
+
* @param {*} [options] Override http request option.
|
|
2933
|
+
* @throws {RequiredError}
|
|
2934
|
+
*/
|
|
2935
|
+
async businessControllerGetMe(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BusinessOnBoardingResponseDTO>> {
|
|
2936
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.businessControllerGetMe(options);
|
|
2937
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
2938
|
+
const localVarOperationServerBasePath = operationServerMap['BusinessApi.businessControllerGetMe']?.[localVarOperationServerIndex]?.url;
|
|
2939
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2940
|
+
},
|
|
2941
|
+
/**
|
|
2942
|
+
*
|
|
2943
|
+
* @param {*} [options] Override http request option.
|
|
2944
|
+
* @throws {RequiredError}
|
|
2945
|
+
*/
|
|
2946
|
+
async businessControllerListBusinesses(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
2947
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.businessControllerListBusinesses(options);
|
|
2948
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
2949
|
+
const localVarOperationServerBasePath = operationServerMap['BusinessApi.businessControllerListBusinesses']?.[localVarOperationServerIndex]?.url;
|
|
2950
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2951
|
+
},
|
|
2952
|
+
/**
|
|
2953
|
+
*
|
|
2954
|
+
* @param {*} [options] Override http request option.
|
|
2955
|
+
* @throws {RequiredError}
|
|
2956
|
+
*/
|
|
2957
|
+
async businessTypeControllerListBusinessType(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BusinessTypeListResponse>> {
|
|
2958
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.businessTypeControllerListBusinessType(options);
|
|
2959
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
2960
|
+
const localVarOperationServerBasePath = operationServerMap['BusinessApi.businessTypeControllerListBusinessType']?.[localVarOperationServerIndex]?.url;
|
|
2961
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2962
|
+
},
|
|
2963
|
+
/**
|
|
2964
|
+
*
|
|
2965
|
+
* @param {string} businessType
|
|
2966
|
+
* @param {*} [options] Override http request option.
|
|
2967
|
+
* @throws {RequiredError}
|
|
2968
|
+
*/
|
|
2969
|
+
async businessTypeControllerListCategories(businessType: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CategoryListResponse>> {
|
|
2970
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.businessTypeControllerListCategories(businessType, options);
|
|
2971
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
2972
|
+
const localVarOperationServerBasePath = operationServerMap['BusinessApi.businessTypeControllerListCategories']?.[localVarOperationServerIndex]?.url;
|
|
2973
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2974
|
+
},
|
|
2975
|
+
/**
|
|
2976
|
+
*
|
|
2977
|
+
* @param {*} [options] Override http request option.
|
|
2978
|
+
* @throws {RequiredError}
|
|
2979
|
+
*/
|
|
2980
|
+
async businessTypeControllerListEmployeesSize(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<EmployeesSizeListResponse>> {
|
|
2981
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.businessTypeControllerListEmployeesSize(options);
|
|
2982
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
2983
|
+
const localVarOperationServerBasePath = operationServerMap['BusinessApi.businessTypeControllerListEmployeesSize']?.[localVarOperationServerIndex]?.url;
|
|
2984
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2985
|
+
},
|
|
2986
|
+
/**
|
|
2987
|
+
*
|
|
2988
|
+
* @param {*} [options] Override http request option.
|
|
2989
|
+
* @throws {RequiredError}
|
|
2990
|
+
*/
|
|
2991
|
+
async businessTypeControllerListPriceRange(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PriceRangeListResponse>> {
|
|
2992
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.businessTypeControllerListPriceRange(options);
|
|
2993
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
2994
|
+
const localVarOperationServerBasePath = operationServerMap['BusinessApi.businessTypeControllerListPriceRange']?.[localVarOperationServerIndex]?.url;
|
|
2995
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2996
|
+
},
|
|
2997
|
+
}
|
|
2998
|
+
};
|
|
2999
|
+
|
|
3000
|
+
/**
|
|
3001
|
+
* BusinessApi - factory interface
|
|
3002
|
+
* @export
|
|
3003
|
+
*/
|
|
3004
|
+
export const BusinessApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
3005
|
+
const localVarFp = BusinessApiFp(configuration)
|
|
3006
|
+
return {
|
|
3007
|
+
/**
|
|
3008
|
+
*
|
|
3009
|
+
* @param {BusinessOnBoardingDTO} businessOnBoardingDTO
|
|
3010
|
+
* @param {*} [options] Override http request option.
|
|
3011
|
+
* @throws {RequiredError}
|
|
3012
|
+
*/
|
|
3013
|
+
businessControllerBusinessOnboarding(businessOnBoardingDTO: BusinessOnBoardingDTO, options?: RawAxiosRequestConfig): AxiosPromise<BusinessOnBoardingResponseDTO> {
|
|
3014
|
+
return localVarFp.businessControllerBusinessOnboarding(businessOnBoardingDTO, options).then((request) => request(axios, basePath));
|
|
3015
|
+
},
|
|
3016
|
+
/**
|
|
3017
|
+
*
|
|
3018
|
+
* @param {*} [options] Override http request option.
|
|
3019
|
+
* @throws {RequiredError}
|
|
3020
|
+
*/
|
|
3021
|
+
businessControllerGetMe(options?: RawAxiosRequestConfig): AxiosPromise<BusinessOnBoardingResponseDTO> {
|
|
3022
|
+
return localVarFp.businessControllerGetMe(options).then((request) => request(axios, basePath));
|
|
3023
|
+
},
|
|
3024
|
+
/**
|
|
3025
|
+
*
|
|
3026
|
+
* @param {*} [options] Override http request option.
|
|
3027
|
+
* @throws {RequiredError}
|
|
3028
|
+
*/
|
|
3029
|
+
businessControllerListBusinesses(options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
3030
|
+
return localVarFp.businessControllerListBusinesses(options).then((request) => request(axios, basePath));
|
|
3031
|
+
},
|
|
3032
|
+
/**
|
|
3033
|
+
*
|
|
3034
|
+
* @param {*} [options] Override http request option.
|
|
3035
|
+
* @throws {RequiredError}
|
|
3036
|
+
*/
|
|
3037
|
+
businessTypeControllerListBusinessType(options?: RawAxiosRequestConfig): AxiosPromise<BusinessTypeListResponse> {
|
|
3038
|
+
return localVarFp.businessTypeControllerListBusinessType(options).then((request) => request(axios, basePath));
|
|
3039
|
+
},
|
|
3040
|
+
/**
|
|
3041
|
+
*
|
|
3042
|
+
* @param {string} businessType
|
|
3043
|
+
* @param {*} [options] Override http request option.
|
|
3044
|
+
* @throws {RequiredError}
|
|
3045
|
+
*/
|
|
3046
|
+
businessTypeControllerListCategories(businessType: string, options?: RawAxiosRequestConfig): AxiosPromise<CategoryListResponse> {
|
|
3047
|
+
return localVarFp.businessTypeControllerListCategories(businessType, options).then((request) => request(axios, basePath));
|
|
3048
|
+
},
|
|
3049
|
+
/**
|
|
3050
|
+
*
|
|
3051
|
+
* @param {*} [options] Override http request option.
|
|
3052
|
+
* @throws {RequiredError}
|
|
3053
|
+
*/
|
|
3054
|
+
businessTypeControllerListEmployeesSize(options?: RawAxiosRequestConfig): AxiosPromise<EmployeesSizeListResponse> {
|
|
3055
|
+
return localVarFp.businessTypeControllerListEmployeesSize(options).then((request) => request(axios, basePath));
|
|
3056
|
+
},
|
|
3057
|
+
/**
|
|
3058
|
+
*
|
|
3059
|
+
* @param {*} [options] Override http request option.
|
|
3060
|
+
* @throws {RequiredError}
|
|
3061
|
+
*/
|
|
3062
|
+
businessTypeControllerListPriceRange(options?: RawAxiosRequestConfig): AxiosPromise<PriceRangeListResponse> {
|
|
3063
|
+
return localVarFp.businessTypeControllerListPriceRange(options).then((request) => request(axios, basePath));
|
|
3064
|
+
},
|
|
3065
|
+
};
|
|
3066
|
+
};
|
|
3067
|
+
|
|
3068
|
+
/**
|
|
3069
|
+
* BusinessApi - object-oriented interface
|
|
3070
|
+
* @export
|
|
3071
|
+
* @class BusinessApi
|
|
3072
|
+
* @extends {BaseAPI}
|
|
3073
|
+
*/
|
|
3074
|
+
export class BusinessApi extends BaseAPI {
|
|
3075
|
+
/**
|
|
3076
|
+
*
|
|
3077
|
+
* @param {BusinessOnBoardingDTO} businessOnBoardingDTO
|
|
3078
|
+
* @param {*} [options] Override http request option.
|
|
3079
|
+
* @throws {RequiredError}
|
|
3080
|
+
* @memberof BusinessApi
|
|
3081
|
+
*/
|
|
3082
|
+
public businessControllerBusinessOnboarding(businessOnBoardingDTO: BusinessOnBoardingDTO, options?: RawAxiosRequestConfig) {
|
|
3083
|
+
return BusinessApiFp(this.configuration).businessControllerBusinessOnboarding(businessOnBoardingDTO, options).then((request) => request(this.axios, this.basePath));
|
|
3084
|
+
}
|
|
3085
|
+
|
|
3086
|
+
/**
|
|
3087
|
+
*
|
|
3088
|
+
* @param {*} [options] Override http request option.
|
|
3089
|
+
* @throws {RequiredError}
|
|
3090
|
+
* @memberof BusinessApi
|
|
3091
|
+
*/
|
|
3092
|
+
public businessControllerGetMe(options?: RawAxiosRequestConfig) {
|
|
3093
|
+
return BusinessApiFp(this.configuration).businessControllerGetMe(options).then((request) => request(this.axios, this.basePath));
|
|
3094
|
+
}
|
|
3095
|
+
|
|
3096
|
+
/**
|
|
3097
|
+
*
|
|
3098
|
+
* @param {*} [options] Override http request option.
|
|
3099
|
+
* @throws {RequiredError}
|
|
3100
|
+
* @memberof BusinessApi
|
|
3101
|
+
*/
|
|
3102
|
+
public businessControllerListBusinesses(options?: RawAxiosRequestConfig) {
|
|
3103
|
+
return BusinessApiFp(this.configuration).businessControllerListBusinesses(options).then((request) => request(this.axios, this.basePath));
|
|
3104
|
+
}
|
|
3105
|
+
|
|
3106
|
+
/**
|
|
3107
|
+
*
|
|
3108
|
+
* @param {*} [options] Override http request option.
|
|
3109
|
+
* @throws {RequiredError}
|
|
3110
|
+
* @memberof BusinessApi
|
|
3111
|
+
*/
|
|
3112
|
+
public businessTypeControllerListBusinessType(options?: RawAxiosRequestConfig) {
|
|
3113
|
+
return BusinessApiFp(this.configuration).businessTypeControllerListBusinessType(options).then((request) => request(this.axios, this.basePath));
|
|
3114
|
+
}
|
|
3115
|
+
|
|
3116
|
+
/**
|
|
3117
|
+
*
|
|
3118
|
+
* @param {string} businessType
|
|
3119
|
+
* @param {*} [options] Override http request option.
|
|
3120
|
+
* @throws {RequiredError}
|
|
3121
|
+
* @memberof BusinessApi
|
|
3122
|
+
*/
|
|
3123
|
+
public businessTypeControllerListCategories(businessType: string, options?: RawAxiosRequestConfig) {
|
|
3124
|
+
return BusinessApiFp(this.configuration).businessTypeControllerListCategories(businessType, options).then((request) => request(this.axios, this.basePath));
|
|
3125
|
+
}
|
|
3126
|
+
|
|
3127
|
+
/**
|
|
3128
|
+
*
|
|
3129
|
+
* @param {*} [options] Override http request option.
|
|
3130
|
+
* @throws {RequiredError}
|
|
3131
|
+
* @memberof BusinessApi
|
|
3132
|
+
*/
|
|
3133
|
+
public businessTypeControllerListEmployeesSize(options?: RawAxiosRequestConfig) {
|
|
3134
|
+
return BusinessApiFp(this.configuration).businessTypeControllerListEmployeesSize(options).then((request) => request(this.axios, this.basePath));
|
|
3135
|
+
}
|
|
3136
|
+
|
|
3137
|
+
/**
|
|
3138
|
+
*
|
|
3139
|
+
* @param {*} [options] Override http request option.
|
|
3140
|
+
* @throws {RequiredError}
|
|
3141
|
+
* @memberof BusinessApi
|
|
3142
|
+
*/
|
|
3143
|
+
public businessTypeControllerListPriceRange(options?: RawAxiosRequestConfig) {
|
|
3144
|
+
return BusinessApiFp(this.configuration).businessTypeControllerListPriceRange(options).then((request) => request(this.axios, this.basePath));
|
|
3145
|
+
}
|
|
3146
|
+
}
|
|
3147
|
+
|
|
3148
|
+
|
|
3149
|
+
|
|
3150
|
+
/**
|
|
3151
|
+
* BusinessVerificationApi - axios parameter creator
|
|
3152
|
+
* @export
|
|
3153
|
+
*/
|
|
3154
|
+
export const BusinessVerificationApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
3155
|
+
return {
|
|
3156
|
+
/**
|
|
3157
|
+
*
|
|
3158
|
+
* @param {BusinessVerificationControllerABNVerificationTypeEnum} type The type of business verification number (e.g., ABN, NZBN)
|
|
3159
|
+
* @param {string} businessNumber
|
|
3160
|
+
* @param {*} [options] Override http request option.
|
|
3161
|
+
* @throws {RequiredError}
|
|
3162
|
+
*/
|
|
3163
|
+
businessVerificationControllerABNVerification: async (type: BusinessVerificationControllerABNVerificationTypeEnum, businessNumber: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
3164
|
+
// verify required parameter 'type' is not null or undefined
|
|
3165
|
+
assertParamExists('businessVerificationControllerABNVerification', 'type', type)
|
|
3166
|
+
// verify required parameter 'businessNumber' is not null or undefined
|
|
3167
|
+
assertParamExists('businessVerificationControllerABNVerification', 'businessNumber', businessNumber)
|
|
3168
|
+
const localVarPath = `/v1/business/verify/{type}/{businessNumber}`
|
|
3169
|
+
.replace(`{${"type"}}`, encodeURIComponent(String(type)))
|
|
3170
|
+
.replace(`{${"businessNumber"}}`, encodeURIComponent(String(businessNumber)));
|
|
3171
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
3172
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
3173
|
+
let baseOptions;
|
|
3174
|
+
if (configuration) {
|
|
3175
|
+
baseOptions = configuration.baseOptions;
|
|
3176
|
+
}
|
|
3177
|
+
|
|
3178
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
3179
|
+
const localVarHeaderParameter = {} as any;
|
|
3180
|
+
const localVarQueryParameter = {} as any;
|
|
3181
|
+
|
|
3182
|
+
|
|
3183
|
+
|
|
3184
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
3185
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3186
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
3187
|
+
|
|
3188
|
+
return {
|
|
3189
|
+
url: toPathString(localVarUrlObj),
|
|
3190
|
+
options: localVarRequestOptions,
|
|
3191
|
+
};
|
|
3192
|
+
},
|
|
3193
|
+
}
|
|
3194
|
+
};
|
|
3195
|
+
|
|
3196
|
+
/**
|
|
3197
|
+
* BusinessVerificationApi - functional programming interface
|
|
3198
|
+
* @export
|
|
3199
|
+
*/
|
|
3200
|
+
export const BusinessVerificationApiFp = function(configuration?: Configuration) {
|
|
3201
|
+
const localVarAxiosParamCreator = BusinessVerificationApiAxiosParamCreator(configuration)
|
|
3202
|
+
return {
|
|
3203
|
+
/**
|
|
3204
|
+
*
|
|
3205
|
+
* @param {BusinessVerificationControllerABNVerificationTypeEnum} type The type of business verification number (e.g., ABN, NZBN)
|
|
3206
|
+
* @param {string} businessNumber
|
|
3207
|
+
* @param {*} [options] Override http request option.
|
|
3208
|
+
* @throws {RequiredError}
|
|
3209
|
+
*/
|
|
3210
|
+
async businessVerificationControllerABNVerification(type: BusinessVerificationControllerABNVerificationTypeEnum, businessNumber: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BusinessVerificationResponse>> {
|
|
3211
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.businessVerificationControllerABNVerification(type, businessNumber, options);
|
|
3212
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
3213
|
+
const localVarOperationServerBasePath = operationServerMap['BusinessVerificationApi.businessVerificationControllerABNVerification']?.[localVarOperationServerIndex]?.url;
|
|
3214
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
3215
|
+
},
|
|
3216
|
+
}
|
|
3217
|
+
};
|
|
3218
|
+
|
|
3219
|
+
/**
|
|
3220
|
+
* BusinessVerificationApi - factory interface
|
|
3221
|
+
* @export
|
|
3222
|
+
*/
|
|
3223
|
+
export const BusinessVerificationApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
3224
|
+
const localVarFp = BusinessVerificationApiFp(configuration)
|
|
3225
|
+
return {
|
|
3226
|
+
/**
|
|
3227
|
+
*
|
|
3228
|
+
* @param {BusinessVerificationControllerABNVerificationTypeEnum} type The type of business verification number (e.g., ABN, NZBN)
|
|
3229
|
+
* @param {string} businessNumber
|
|
3230
|
+
* @param {*} [options] Override http request option.
|
|
3231
|
+
* @throws {RequiredError}
|
|
3232
|
+
*/
|
|
3233
|
+
businessVerificationControllerABNVerification(type: BusinessVerificationControllerABNVerificationTypeEnum, businessNumber: string, options?: RawAxiosRequestConfig): AxiosPromise<BusinessVerificationResponse> {
|
|
3234
|
+
return localVarFp.businessVerificationControllerABNVerification(type, businessNumber, options).then((request) => request(axios, basePath));
|
|
3235
|
+
},
|
|
3236
|
+
};
|
|
3237
|
+
};
|
|
3238
|
+
|
|
3239
|
+
/**
|
|
3240
|
+
* BusinessVerificationApi - object-oriented interface
|
|
3241
|
+
* @export
|
|
3242
|
+
* @class BusinessVerificationApi
|
|
3243
|
+
* @extends {BaseAPI}
|
|
3244
|
+
*/
|
|
3245
|
+
export class BusinessVerificationApi extends BaseAPI {
|
|
3246
|
+
/**
|
|
3247
|
+
*
|
|
3248
|
+
* @param {BusinessVerificationControllerABNVerificationTypeEnum} type The type of business verification number (e.g., ABN, NZBN)
|
|
3249
|
+
* @param {string} businessNumber
|
|
3250
|
+
* @param {*} [options] Override http request option.
|
|
3251
|
+
* @throws {RequiredError}
|
|
3252
|
+
* @memberof BusinessVerificationApi
|
|
3253
|
+
*/
|
|
3254
|
+
public businessVerificationControllerABNVerification(type: BusinessVerificationControllerABNVerificationTypeEnum, businessNumber: string, options?: RawAxiosRequestConfig) {
|
|
3255
|
+
return BusinessVerificationApiFp(this.configuration).businessVerificationControllerABNVerification(type, businessNumber, options).then((request) => request(this.axios, this.basePath));
|
|
3256
|
+
}
|
|
3257
|
+
}
|
|
3258
|
+
|
|
3259
|
+
/**
|
|
3260
|
+
* @export
|
|
3261
|
+
*/
|
|
3262
|
+
export const BusinessVerificationControllerABNVerificationTypeEnum = {
|
|
3263
|
+
Abn: 'ABN',
|
|
3264
|
+
Nzbn: 'NZBN',
|
|
3265
|
+
Crn: 'CRN',
|
|
3266
|
+
Ein: 'EIN'
|
|
3267
|
+
} as const;
|
|
3268
|
+
export type BusinessVerificationControllerABNVerificationTypeEnum = typeof BusinessVerificationControllerABNVerificationTypeEnum[keyof typeof BusinessVerificationControllerABNVerificationTypeEnum];
|
|
3269
|
+
|
|
3270
|
+
|
|
3271
|
+
/**
|
|
3272
|
+
* DeviceApi - axios parameter creator
|
|
3273
|
+
* @export
|
|
3274
|
+
*/
|
|
3275
|
+
export const DeviceApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
3276
|
+
return {
|
|
3277
|
+
/**
|
|
3278
|
+
*
|
|
3279
|
+
* @param {AddDevicePayload} addDevicePayload
|
|
3280
|
+
* @param {*} [options] Override http request option.
|
|
3281
|
+
* @throws {RequiredError}
|
|
3282
|
+
*/
|
|
3283
|
+
deviceControllerAddDevice: async (addDevicePayload: AddDevicePayload, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
3284
|
+
// verify required parameter 'addDevicePayload' is not null or undefined
|
|
3285
|
+
assertParamExists('deviceControllerAddDevice', 'addDevicePayload', addDevicePayload)
|
|
3286
|
+
const localVarPath = `/v1/device`;
|
|
3287
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
3288
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
3289
|
+
let baseOptions;
|
|
3290
|
+
if (configuration) {
|
|
3291
|
+
baseOptions = configuration.baseOptions;
|
|
3292
|
+
}
|
|
3293
|
+
|
|
3294
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
3295
|
+
const localVarHeaderParameter = {} as any;
|
|
3296
|
+
const localVarQueryParameter = {} as any;
|
|
3297
|
+
|
|
3298
|
+
// authentication bearer required
|
|
3299
|
+
// http bearer authentication required
|
|
3300
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
3301
|
+
|
|
3302
|
+
|
|
3303
|
+
|
|
3304
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
3305
|
+
|
|
3306
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
3307
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3308
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
3309
|
+
localVarRequestOptions.data = serializeDataIfNeeded(addDevicePayload, localVarRequestOptions, configuration)
|
|
3310
|
+
|
|
3311
|
+
return {
|
|
3312
|
+
url: toPathString(localVarUrlObj),
|
|
3313
|
+
options: localVarRequestOptions,
|
|
3314
|
+
};
|
|
3315
|
+
},
|
|
3316
|
+
}
|
|
3317
|
+
};
|
|
3318
|
+
|
|
3319
|
+
/**
|
|
3320
|
+
* DeviceApi - functional programming interface
|
|
3321
|
+
* @export
|
|
3322
|
+
*/
|
|
3323
|
+
export const DeviceApiFp = function(configuration?: Configuration) {
|
|
3324
|
+
const localVarAxiosParamCreator = DeviceApiAxiosParamCreator(configuration)
|
|
3325
|
+
return {
|
|
3326
|
+
/**
|
|
3327
|
+
*
|
|
3328
|
+
* @param {AddDevicePayload} addDevicePayload
|
|
3329
|
+
* @param {*} [options] Override http request option.
|
|
3330
|
+
* @throws {RequiredError}
|
|
3331
|
+
*/
|
|
3332
|
+
async deviceControllerAddDevice(addDevicePayload: AddDevicePayload, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DeviceAddResponse>> {
|
|
3333
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.deviceControllerAddDevice(addDevicePayload, options);
|
|
3334
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
3335
|
+
const localVarOperationServerBasePath = operationServerMap['DeviceApi.deviceControllerAddDevice']?.[localVarOperationServerIndex]?.url;
|
|
3336
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
3337
|
+
},
|
|
3338
|
+
}
|
|
3339
|
+
};
|
|
3340
|
+
|
|
3341
|
+
/**
|
|
3342
|
+
* DeviceApi - factory interface
|
|
3343
|
+
* @export
|
|
3344
|
+
*/
|
|
3345
|
+
export const DeviceApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
3346
|
+
const localVarFp = DeviceApiFp(configuration)
|
|
3347
|
+
return {
|
|
3348
|
+
/**
|
|
3349
|
+
*
|
|
3350
|
+
* @param {AddDevicePayload} addDevicePayload
|
|
3351
|
+
* @param {*} [options] Override http request option.
|
|
3352
|
+
* @throws {RequiredError}
|
|
3353
|
+
*/
|
|
3354
|
+
deviceControllerAddDevice(addDevicePayload: AddDevicePayload, options?: RawAxiosRequestConfig): AxiosPromise<DeviceAddResponse> {
|
|
3355
|
+
return localVarFp.deviceControllerAddDevice(addDevicePayload, options).then((request) => request(axios, basePath));
|
|
3356
|
+
},
|
|
3357
|
+
};
|
|
3358
|
+
};
|
|
3359
|
+
|
|
3360
|
+
/**
|
|
3361
|
+
* DeviceApi - object-oriented interface
|
|
3362
|
+
* @export
|
|
3363
|
+
* @class DeviceApi
|
|
3364
|
+
* @extends {BaseAPI}
|
|
3365
|
+
*/
|
|
3366
|
+
export class DeviceApi extends BaseAPI {
|
|
3367
|
+
/**
|
|
3368
|
+
*
|
|
3369
|
+
* @param {AddDevicePayload} addDevicePayload
|
|
3370
|
+
* @param {*} [options] Override http request option.
|
|
3371
|
+
* @throws {RequiredError}
|
|
3372
|
+
* @memberof DeviceApi
|
|
3373
|
+
*/
|
|
3374
|
+
public deviceControllerAddDevice(addDevicePayload: AddDevicePayload, options?: RawAxiosRequestConfig) {
|
|
3375
|
+
return DeviceApiFp(this.configuration).deviceControllerAddDevice(addDevicePayload, options).then((request) => request(this.axios, this.basePath));
|
|
3376
|
+
}
|
|
3377
|
+
}
|
|
3378
|
+
|
|
3379
|
+
|
|
3380
|
+
|
|
3381
|
+
/**
|
|
3382
|
+
* FriendsApi - axios parameter creator
|
|
3383
|
+
* @export
|
|
3384
|
+
*/
|
|
3385
|
+
export const FriendsApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
3386
|
+
return {
|
|
3387
|
+
/**
|
|
3388
|
+
*
|
|
3389
|
+
* @param {ApproveFriendshipRequestPayload} approveFriendshipRequestPayload
|
|
3390
|
+
* @param {*} [options] Override http request option.
|
|
3391
|
+
* @throws {RequiredError}
|
|
3392
|
+
*/
|
|
3393
|
+
friendControllerApproveFriendRequest: async (approveFriendshipRequestPayload: ApproveFriendshipRequestPayload, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
3394
|
+
// verify required parameter 'approveFriendshipRequestPayload' is not null or undefined
|
|
3395
|
+
assertParamExists('friendControllerApproveFriendRequest', 'approveFriendshipRequestPayload', approveFriendshipRequestPayload)
|
|
3396
|
+
const localVarPath = `/v1/friend/approve-request`;
|
|
3061
3397
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
3062
3398
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
3063
3399
|
let baseOptions;
|
|
@@ -3065,7 +3401,7 @@ export const BusinessApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
3065
3401
|
baseOptions = configuration.baseOptions;
|
|
3066
3402
|
}
|
|
3067
3403
|
|
|
3068
|
-
const localVarRequestOptions = { method: '
|
|
3404
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
3069
3405
|
const localVarHeaderParameter = {} as any;
|
|
3070
3406
|
const localVarQueryParameter = {} as any;
|
|
3071
3407
|
|
|
@@ -3075,9 +3411,12 @@ export const BusinessApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
3075
3411
|
|
|
3076
3412
|
|
|
3077
3413
|
|
|
3414
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
3415
|
+
|
|
3078
3416
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
3079
3417
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3080
3418
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
3419
|
+
localVarRequestOptions.data = serializeDataIfNeeded(approveFriendshipRequestPayload, localVarRequestOptions, configuration)
|
|
3081
3420
|
|
|
3082
3421
|
return {
|
|
3083
3422
|
url: toPathString(localVarUrlObj),
|
|
@@ -3086,14 +3425,14 @@ export const BusinessApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
3086
3425
|
},
|
|
3087
3426
|
/**
|
|
3088
3427
|
*
|
|
3089
|
-
* @param {
|
|
3428
|
+
* @param {DeclineFriendshipRequestPayload} declineFriendshipRequestPayload
|
|
3090
3429
|
* @param {*} [options] Override http request option.
|
|
3091
3430
|
* @throws {RequiredError}
|
|
3092
3431
|
*/
|
|
3093
|
-
|
|
3094
|
-
// verify required parameter '
|
|
3095
|
-
assertParamExists('
|
|
3096
|
-
const localVarPath = `/v1/
|
|
3432
|
+
friendControllerDeclineFriendRequest: async (declineFriendshipRequestPayload: DeclineFriendshipRequestPayload, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
3433
|
+
// verify required parameter 'declineFriendshipRequestPayload' is not null or undefined
|
|
3434
|
+
assertParamExists('friendControllerDeclineFriendRequest', 'declineFriendshipRequestPayload', declineFriendshipRequestPayload)
|
|
3435
|
+
const localVarPath = `/v1/friend/decline-request`;
|
|
3097
3436
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
3098
3437
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
3099
3438
|
let baseOptions;
|
|
@@ -3116,7 +3455,7 @@ export const BusinessApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
3116
3455
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
3117
3456
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3118
3457
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
3119
|
-
localVarRequestOptions.data = serializeDataIfNeeded(
|
|
3458
|
+
localVarRequestOptions.data = serializeDataIfNeeded(declineFriendshipRequestPayload, localVarRequestOptions, configuration)
|
|
3120
3459
|
|
|
3121
3460
|
return {
|
|
3122
3461
|
url: toPathString(localVarUrlObj),
|
|
@@ -3125,14 +3464,18 @@ export const BusinessApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
3125
3464
|
},
|
|
3126
3465
|
/**
|
|
3127
3466
|
*
|
|
3128
|
-
* @param {
|
|
3467
|
+
* @param {number} page
|
|
3468
|
+
* @param {number} pageSize
|
|
3469
|
+
* @param {string} [query]
|
|
3129
3470
|
* @param {*} [options] Override http request option.
|
|
3130
3471
|
* @throws {RequiredError}
|
|
3131
3472
|
*/
|
|
3132
|
-
|
|
3133
|
-
// verify required parameter '
|
|
3134
|
-
assertParamExists('
|
|
3135
|
-
|
|
3473
|
+
friendControllerFindFriends: async (page: number, pageSize: number, query?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
3474
|
+
// verify required parameter 'page' is not null or undefined
|
|
3475
|
+
assertParamExists('friendControllerFindFriends', 'page', page)
|
|
3476
|
+
// verify required parameter 'pageSize' is not null or undefined
|
|
3477
|
+
assertParamExists('friendControllerFindFriends', 'pageSize', pageSize)
|
|
3478
|
+
const localVarPath = `/v1/friend/find`;
|
|
3136
3479
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
3137
3480
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
3138
3481
|
let baseOptions;
|
|
@@ -3140,7 +3483,7 @@ export const BusinessApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
3140
3483
|
baseOptions = configuration.baseOptions;
|
|
3141
3484
|
}
|
|
3142
3485
|
|
|
3143
|
-
const localVarRequestOptions = { method: '
|
|
3486
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
3144
3487
|
const localVarHeaderParameter = {} as any;
|
|
3145
3488
|
const localVarQueryParameter = {} as any;
|
|
3146
3489
|
|
|
@@ -3148,14 +3491,23 @@ export const BusinessApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
3148
3491
|
// http bearer authentication required
|
|
3149
3492
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
3150
3493
|
|
|
3494
|
+
if (query !== undefined) {
|
|
3495
|
+
localVarQueryParameter['query'] = query;
|
|
3496
|
+
}
|
|
3497
|
+
|
|
3498
|
+
if (page !== undefined) {
|
|
3499
|
+
localVarQueryParameter['page'] = page;
|
|
3500
|
+
}
|
|
3501
|
+
|
|
3502
|
+
if (pageSize !== undefined) {
|
|
3503
|
+
localVarQueryParameter['pageSize'] = pageSize;
|
|
3504
|
+
}
|
|
3151
3505
|
|
|
3152
|
-
|
|
3153
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
3154
3506
|
|
|
3507
|
+
|
|
3155
3508
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
3156
3509
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3157
3510
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
3158
|
-
localVarRequestOptions.data = serializeDataIfNeeded(businessFavoriteDTO, localVarRequestOptions, configuration)
|
|
3159
3511
|
|
|
3160
3512
|
return {
|
|
3161
3513
|
url: toPathString(localVarUrlObj),
|
|
@@ -3164,19 +3516,14 @@ export const BusinessApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
3164
3516
|
},
|
|
3165
3517
|
/**
|
|
3166
3518
|
*
|
|
3167
|
-
* @param {
|
|
3168
|
-
* @param {string} businessNumber
|
|
3519
|
+
* @param {FriendshipStatusCheck} friendshipStatusCheck
|
|
3169
3520
|
* @param {*} [options] Override http request option.
|
|
3170
3521
|
* @throws {RequiredError}
|
|
3171
3522
|
*/
|
|
3172
|
-
|
|
3173
|
-
// verify required parameter '
|
|
3174
|
-
assertParamExists('
|
|
3175
|
-
|
|
3176
|
-
assertParamExists('businessVerificationControllerABNVerification', 'businessNumber', businessNumber)
|
|
3177
|
-
const localVarPath = `/v1/business/verify/{type}/{businessNumber}`
|
|
3178
|
-
.replace(`{${"type"}}`, encodeURIComponent(String(type)))
|
|
3179
|
-
.replace(`{${"businessNumber"}}`, encodeURIComponent(String(businessNumber)));
|
|
3523
|
+
friendControllerGetFriendshipStatus: async (friendshipStatusCheck: FriendshipStatusCheck, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
3524
|
+
// verify required parameter 'friendshipStatusCheck' is not null or undefined
|
|
3525
|
+
assertParamExists('friendControllerGetFriendshipStatus', 'friendshipStatusCheck', friendshipStatusCheck)
|
|
3526
|
+
const localVarPath = `/v1/friend/status`;
|
|
3180
3527
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
3181
3528
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
3182
3529
|
let baseOptions;
|
|
@@ -3184,509 +3531,394 @@ export const BusinessApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
3184
3531
|
baseOptions = configuration.baseOptions;
|
|
3185
3532
|
}
|
|
3186
3533
|
|
|
3187
|
-
const localVarRequestOptions = { method: '
|
|
3534
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
3188
3535
|
const localVarHeaderParameter = {} as any;
|
|
3189
3536
|
const localVarQueryParameter = {} as any;
|
|
3190
3537
|
|
|
3538
|
+
// authentication bearer required
|
|
3539
|
+
// http bearer authentication required
|
|
3540
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
3541
|
+
|
|
3191
3542
|
|
|
3192
3543
|
|
|
3544
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
3545
|
+
|
|
3193
3546
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
3194
3547
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3195
3548
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
3549
|
+
localVarRequestOptions.data = serializeDataIfNeeded(friendshipStatusCheck, localVarRequestOptions, configuration)
|
|
3196
3550
|
|
|
3197
3551
|
return {
|
|
3198
3552
|
url: toPathString(localVarUrlObj),
|
|
3199
3553
|
options: localVarRequestOptions,
|
|
3200
3554
|
};
|
|
3201
3555
|
},
|
|
3202
|
-
}
|
|
3203
|
-
};
|
|
3204
|
-
|
|
3205
|
-
/**
|
|
3206
|
-
* BusinessApi - functional programming interface
|
|
3207
|
-
* @export
|
|
3208
|
-
*/
|
|
3209
|
-
export const BusinessApiFp = function(configuration?: Configuration) {
|
|
3210
|
-
const localVarAxiosParamCreator = BusinessApiAxiosParamCreator(configuration)
|
|
3211
|
-
return {
|
|
3212
|
-
/**
|
|
3213
|
-
*
|
|
3214
|
-
* @param {BusinessOnBoardingDTO} businessOnBoardingDTO
|
|
3215
|
-
* @param {*} [options] Override http request option.
|
|
3216
|
-
* @throws {RequiredError}
|
|
3217
|
-
*/
|
|
3218
|
-
async businessControllerBusinessOnboarding(businessOnBoardingDTO: BusinessOnBoardingDTO, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BusinessOnBoardingResponseDTO>> {
|
|
3219
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.businessControllerBusinessOnboarding(businessOnBoardingDTO, options);
|
|
3220
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
3221
|
-
const localVarOperationServerBasePath = operationServerMap['BusinessApi.businessControllerBusinessOnboarding']?.[localVarOperationServerIndex]?.url;
|
|
3222
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
3223
|
-
},
|
|
3224
|
-
/**
|
|
3225
|
-
*
|
|
3226
|
-
* @param {*} [options] Override http request option.
|
|
3227
|
-
* @throws {RequiredError}
|
|
3228
|
-
*/
|
|
3229
|
-
async businessControllerGetMe(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BusinessOnBoardingResponseDTO>> {
|
|
3230
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.businessControllerGetMe(options);
|
|
3231
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
3232
|
-
const localVarOperationServerBasePath = operationServerMap['BusinessApi.businessControllerGetMe']?.[localVarOperationServerIndex]?.url;
|
|
3233
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
3234
|
-
},
|
|
3235
3556
|
/**
|
|
3236
3557
|
*
|
|
3237
3558
|
* @param {*} [options] Override http request option.
|
|
3238
3559
|
* @throws {RequiredError}
|
|
3239
3560
|
*/
|
|
3240
|
-
async
|
|
3241
|
-
const
|
|
3242
|
-
|
|
3243
|
-
const
|
|
3244
|
-
|
|
3245
|
-
|
|
3246
|
-
|
|
3247
|
-
|
|
3248
|
-
|
|
3249
|
-
|
|
3250
|
-
|
|
3251
|
-
|
|
3252
|
-
|
|
3253
|
-
|
|
3254
|
-
|
|
3255
|
-
|
|
3256
|
-
|
|
3561
|
+
friendControllerListMyFriends: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
3562
|
+
const localVarPath = `/v1/friend/list`;
|
|
3563
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
3564
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
3565
|
+
let baseOptions;
|
|
3566
|
+
if (configuration) {
|
|
3567
|
+
baseOptions = configuration.baseOptions;
|
|
3568
|
+
}
|
|
3569
|
+
|
|
3570
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
3571
|
+
const localVarHeaderParameter = {} as any;
|
|
3572
|
+
const localVarQueryParameter = {} as any;
|
|
3573
|
+
|
|
3574
|
+
// authentication bearer required
|
|
3575
|
+
// http bearer authentication required
|
|
3576
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
3577
|
+
|
|
3578
|
+
|
|
3579
|
+
|
|
3580
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
3581
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3582
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
3583
|
+
|
|
3584
|
+
return {
|
|
3585
|
+
url: toPathString(localVarUrlObj),
|
|
3586
|
+
options: localVarRequestOptions,
|
|
3587
|
+
};
|
|
3257
3588
|
},
|
|
3258
3589
|
/**
|
|
3259
3590
|
*
|
|
3591
|
+
* @param {RemoveFriendshipRequestPayload} removeFriendshipRequestPayload
|
|
3260
3592
|
* @param {*} [options] Override http request option.
|
|
3261
3593
|
* @throws {RequiredError}
|
|
3262
3594
|
*/
|
|
3263
|
-
async
|
|
3264
|
-
|
|
3265
|
-
|
|
3266
|
-
const
|
|
3267
|
-
|
|
3595
|
+
friendControllerRemoveFriendById: async (removeFriendshipRequestPayload: RemoveFriendshipRequestPayload, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
3596
|
+
// verify required parameter 'removeFriendshipRequestPayload' is not null or undefined
|
|
3597
|
+
assertParamExists('friendControllerRemoveFriendById', 'removeFriendshipRequestPayload', removeFriendshipRequestPayload)
|
|
3598
|
+
const localVarPath = `/v1/friend/remove`;
|
|
3599
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
3600
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
3601
|
+
let baseOptions;
|
|
3602
|
+
if (configuration) {
|
|
3603
|
+
baseOptions = configuration.baseOptions;
|
|
3604
|
+
}
|
|
3605
|
+
|
|
3606
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
3607
|
+
const localVarHeaderParameter = {} as any;
|
|
3608
|
+
const localVarQueryParameter = {} as any;
|
|
3609
|
+
|
|
3610
|
+
// authentication bearer required
|
|
3611
|
+
// http bearer authentication required
|
|
3612
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
3613
|
+
|
|
3614
|
+
|
|
3615
|
+
|
|
3616
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
3617
|
+
|
|
3618
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
3619
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3620
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
3621
|
+
localVarRequestOptions.data = serializeDataIfNeeded(removeFriendshipRequestPayload, localVarRequestOptions, configuration)
|
|
3622
|
+
|
|
3623
|
+
return {
|
|
3624
|
+
url: toPathString(localVarUrlObj),
|
|
3625
|
+
options: localVarRequestOptions,
|
|
3626
|
+
};
|
|
3268
3627
|
},
|
|
3269
3628
|
/**
|
|
3270
3629
|
*
|
|
3271
|
-
* @param {
|
|
3630
|
+
* @param {SendFriendshipRequestPayload} sendFriendshipRequestPayload
|
|
3272
3631
|
* @param {*} [options] Override http request option.
|
|
3273
3632
|
* @throws {RequiredError}
|
|
3274
3633
|
*/
|
|
3275
|
-
async
|
|
3276
|
-
|
|
3277
|
-
|
|
3278
|
-
const
|
|
3279
|
-
|
|
3634
|
+
friendControllerSendFriendRequest: async (sendFriendshipRequestPayload: SendFriendshipRequestPayload, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
3635
|
+
// verify required parameter 'sendFriendshipRequestPayload' is not null or undefined
|
|
3636
|
+
assertParamExists('friendControllerSendFriendRequest', 'sendFriendshipRequestPayload', sendFriendshipRequestPayload)
|
|
3637
|
+
const localVarPath = `/v1/friend/send-request`;
|
|
3638
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
3639
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
3640
|
+
let baseOptions;
|
|
3641
|
+
if (configuration) {
|
|
3642
|
+
baseOptions = configuration.baseOptions;
|
|
3643
|
+
}
|
|
3644
|
+
|
|
3645
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
3646
|
+
const localVarHeaderParameter = {} as any;
|
|
3647
|
+
const localVarQueryParameter = {} as any;
|
|
3648
|
+
|
|
3649
|
+
// authentication bearer required
|
|
3650
|
+
// http bearer authentication required
|
|
3651
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
3652
|
+
|
|
3653
|
+
|
|
3654
|
+
|
|
3655
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
3656
|
+
|
|
3657
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
3658
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3659
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
3660
|
+
localVarRequestOptions.data = serializeDataIfNeeded(sendFriendshipRequestPayload, localVarRequestOptions, configuration)
|
|
3661
|
+
|
|
3662
|
+
return {
|
|
3663
|
+
url: toPathString(localVarUrlObj),
|
|
3664
|
+
options: localVarRequestOptions,
|
|
3665
|
+
};
|
|
3280
3666
|
},
|
|
3667
|
+
}
|
|
3668
|
+
};
|
|
3669
|
+
|
|
3670
|
+
/**
|
|
3671
|
+
* FriendsApi - functional programming interface
|
|
3672
|
+
* @export
|
|
3673
|
+
*/
|
|
3674
|
+
export const FriendsApiFp = function(configuration?: Configuration) {
|
|
3675
|
+
const localVarAxiosParamCreator = FriendsApiAxiosParamCreator(configuration)
|
|
3676
|
+
return {
|
|
3281
3677
|
/**
|
|
3282
3678
|
*
|
|
3679
|
+
* @param {ApproveFriendshipRequestPayload} approveFriendshipRequestPayload
|
|
3283
3680
|
* @param {*} [options] Override http request option.
|
|
3284
3681
|
* @throws {RequiredError}
|
|
3285
3682
|
*/
|
|
3286
|
-
async
|
|
3287
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
3683
|
+
async friendControllerApproveFriendRequest(approveFriendshipRequestPayload: ApproveFriendshipRequestPayload, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<FriendsResponseDTO>> {
|
|
3684
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.friendControllerApproveFriendRequest(approveFriendshipRequestPayload, options);
|
|
3288
3685
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
3289
|
-
const localVarOperationServerBasePath = operationServerMap['
|
|
3686
|
+
const localVarOperationServerBasePath = operationServerMap['FriendsApi.friendControllerApproveFriendRequest']?.[localVarOperationServerIndex]?.url;
|
|
3290
3687
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
3291
3688
|
},
|
|
3292
3689
|
/**
|
|
3293
3690
|
*
|
|
3691
|
+
* @param {DeclineFriendshipRequestPayload} declineFriendshipRequestPayload
|
|
3294
3692
|
* @param {*} [options] Override http request option.
|
|
3295
3693
|
* @throws {RequiredError}
|
|
3296
3694
|
*/
|
|
3297
|
-
async
|
|
3298
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
3695
|
+
async friendControllerDeclineFriendRequest(declineFriendshipRequestPayload: DeclineFriendshipRequestPayload, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<FriendsResponseDTO>> {
|
|
3696
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.friendControllerDeclineFriendRequest(declineFriendshipRequestPayload, options);
|
|
3299
3697
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
3300
|
-
const localVarOperationServerBasePath = operationServerMap['
|
|
3698
|
+
const localVarOperationServerBasePath = operationServerMap['FriendsApi.friendControllerDeclineFriendRequest']?.[localVarOperationServerIndex]?.url;
|
|
3301
3699
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
3302
3700
|
},
|
|
3303
3701
|
/**
|
|
3304
3702
|
*
|
|
3305
|
-
* @param {
|
|
3703
|
+
* @param {number} page
|
|
3704
|
+
* @param {number} pageSize
|
|
3705
|
+
* @param {string} [query]
|
|
3306
3706
|
* @param {*} [options] Override http request option.
|
|
3307
3707
|
* @throws {RequiredError}
|
|
3308
3708
|
*/
|
|
3309
|
-
async
|
|
3310
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
3709
|
+
async friendControllerFindFriends(page: number, pageSize: number, query?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<FriendsDTO>> {
|
|
3710
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.friendControllerFindFriends(page, pageSize, query, options);
|
|
3311
3711
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
3312
|
-
const localVarOperationServerBasePath = operationServerMap['
|
|
3712
|
+
const localVarOperationServerBasePath = operationServerMap['FriendsApi.friendControllerFindFriends']?.[localVarOperationServerIndex]?.url;
|
|
3313
3713
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
3314
3714
|
},
|
|
3315
3715
|
/**
|
|
3316
3716
|
*
|
|
3317
|
-
* @param {
|
|
3717
|
+
* @param {FriendshipStatusCheck} friendshipStatusCheck
|
|
3318
3718
|
* @param {*} [options] Override http request option.
|
|
3319
3719
|
* @throws {RequiredError}
|
|
3320
3720
|
*/
|
|
3321
|
-
async
|
|
3322
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
3721
|
+
async friendControllerGetFriendshipStatus(friendshipStatusCheck: FriendshipStatusCheck, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<FriendshipStatusDTO>> {
|
|
3722
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.friendControllerGetFriendshipStatus(friendshipStatusCheck, options);
|
|
3323
3723
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
3324
|
-
const localVarOperationServerBasePath = operationServerMap['
|
|
3724
|
+
const localVarOperationServerBasePath = operationServerMap['FriendsApi.friendControllerGetFriendshipStatus']?.[localVarOperationServerIndex]?.url;
|
|
3325
3725
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
3326
3726
|
},
|
|
3327
3727
|
/**
|
|
3328
3728
|
*
|
|
3329
|
-
* @param {BusinessVerificationControllerABNVerificationTypeEnum} type The type of business verification number (e.g., ABN, NZBN)
|
|
3330
|
-
* @param {string} businessNumber
|
|
3331
3729
|
* @param {*} [options] Override http request option.
|
|
3332
3730
|
* @throws {RequiredError}
|
|
3333
3731
|
*/
|
|
3334
|
-
async
|
|
3335
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
3732
|
+
async friendControllerListMyFriends(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<FriendsDTO>> {
|
|
3733
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.friendControllerListMyFriends(options);
|
|
3336
3734
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
3337
|
-
const localVarOperationServerBasePath = operationServerMap['
|
|
3338
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
3339
|
-
},
|
|
3340
|
-
}
|
|
3341
|
-
};
|
|
3342
|
-
|
|
3343
|
-
/**
|
|
3344
|
-
* BusinessApi - factory interface
|
|
3345
|
-
* @export
|
|
3346
|
-
*/
|
|
3347
|
-
export const BusinessApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
3348
|
-
const localVarFp = BusinessApiFp(configuration)
|
|
3349
|
-
return {
|
|
3350
|
-
/**
|
|
3351
|
-
*
|
|
3352
|
-
* @param {BusinessOnBoardingDTO} businessOnBoardingDTO
|
|
3353
|
-
* @param {*} [options] Override http request option.
|
|
3354
|
-
* @throws {RequiredError}
|
|
3355
|
-
*/
|
|
3356
|
-
businessControllerBusinessOnboarding(businessOnBoardingDTO: BusinessOnBoardingDTO, options?: RawAxiosRequestConfig): AxiosPromise<BusinessOnBoardingResponseDTO> {
|
|
3357
|
-
return localVarFp.businessControllerBusinessOnboarding(businessOnBoardingDTO, options).then((request) => request(axios, basePath));
|
|
3358
|
-
},
|
|
3359
|
-
/**
|
|
3360
|
-
*
|
|
3361
|
-
* @param {*} [options] Override http request option.
|
|
3362
|
-
* @throws {RequiredError}
|
|
3363
|
-
*/
|
|
3364
|
-
businessControllerGetMe(options?: RawAxiosRequestConfig): AxiosPromise<BusinessOnBoardingResponseDTO> {
|
|
3365
|
-
return localVarFp.businessControllerGetMe(options).then((request) => request(axios, basePath));
|
|
3735
|
+
const localVarOperationServerBasePath = operationServerMap['FriendsApi.friendControllerListMyFriends']?.[localVarOperationServerIndex]?.url;
|
|
3736
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
3366
3737
|
},
|
|
3367
3738
|
/**
|
|
3368
3739
|
*
|
|
3740
|
+
* @param {RemoveFriendshipRequestPayload} removeFriendshipRequestPayload
|
|
3369
3741
|
* @param {*} [options] Override http request option.
|
|
3370
3742
|
* @throws {RequiredError}
|
|
3371
3743
|
*/
|
|
3372
|
-
|
|
3373
|
-
|
|
3744
|
+
async friendControllerRemoveFriendById(removeFriendshipRequestPayload: RemoveFriendshipRequestPayload, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<FriendsResponseDTO>> {
|
|
3745
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.friendControllerRemoveFriendById(removeFriendshipRequestPayload, options);
|
|
3746
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
3747
|
+
const localVarOperationServerBasePath = operationServerMap['FriendsApi.friendControllerRemoveFriendById']?.[localVarOperationServerIndex]?.url;
|
|
3748
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
3374
3749
|
},
|
|
3375
3750
|
/**
|
|
3376
3751
|
*
|
|
3377
|
-
* @param {
|
|
3752
|
+
* @param {SendFriendshipRequestPayload} sendFriendshipRequestPayload
|
|
3378
3753
|
* @param {*} [options] Override http request option.
|
|
3379
3754
|
* @throws {RequiredError}
|
|
3380
3755
|
*/
|
|
3381
|
-
|
|
3382
|
-
|
|
3756
|
+
async friendControllerSendFriendRequest(sendFriendshipRequestPayload: SendFriendshipRequestPayload, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<FriendsResponseDTO>> {
|
|
3757
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.friendControllerSendFriendRequest(sendFriendshipRequestPayload, options);
|
|
3758
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
3759
|
+
const localVarOperationServerBasePath = operationServerMap['FriendsApi.friendControllerSendFriendRequest']?.[localVarOperationServerIndex]?.url;
|
|
3760
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
3383
3761
|
},
|
|
3762
|
+
}
|
|
3763
|
+
};
|
|
3764
|
+
|
|
3765
|
+
/**
|
|
3766
|
+
* FriendsApi - factory interface
|
|
3767
|
+
* @export
|
|
3768
|
+
*/
|
|
3769
|
+
export const FriendsApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
3770
|
+
const localVarFp = FriendsApiFp(configuration)
|
|
3771
|
+
return {
|
|
3384
3772
|
/**
|
|
3385
3773
|
*
|
|
3774
|
+
* @param {ApproveFriendshipRequestPayload} approveFriendshipRequestPayload
|
|
3386
3775
|
* @param {*} [options] Override http request option.
|
|
3387
3776
|
* @throws {RequiredError}
|
|
3388
3777
|
*/
|
|
3389
|
-
|
|
3390
|
-
return localVarFp.
|
|
3778
|
+
friendControllerApproveFriendRequest(approveFriendshipRequestPayload: ApproveFriendshipRequestPayload, options?: RawAxiosRequestConfig): AxiosPromise<FriendsResponseDTO> {
|
|
3779
|
+
return localVarFp.friendControllerApproveFriendRequest(approveFriendshipRequestPayload, options).then((request) => request(axios, basePath));
|
|
3391
3780
|
},
|
|
3392
3781
|
/**
|
|
3393
3782
|
*
|
|
3394
|
-
* @param {
|
|
3783
|
+
* @param {DeclineFriendshipRequestPayload} declineFriendshipRequestPayload
|
|
3395
3784
|
* @param {*} [options] Override http request option.
|
|
3396
3785
|
* @throws {RequiredError}
|
|
3397
3786
|
*/
|
|
3398
|
-
|
|
3399
|
-
return localVarFp.
|
|
3787
|
+
friendControllerDeclineFriendRequest(declineFriendshipRequestPayload: DeclineFriendshipRequestPayload, options?: RawAxiosRequestConfig): AxiosPromise<FriendsResponseDTO> {
|
|
3788
|
+
return localVarFp.friendControllerDeclineFriendRequest(declineFriendshipRequestPayload, options).then((request) => request(axios, basePath));
|
|
3400
3789
|
},
|
|
3401
3790
|
/**
|
|
3402
3791
|
*
|
|
3792
|
+
* @param {number} page
|
|
3793
|
+
* @param {number} pageSize
|
|
3794
|
+
* @param {string} [query]
|
|
3403
3795
|
* @param {*} [options] Override http request option.
|
|
3404
3796
|
* @throws {RequiredError}
|
|
3405
3797
|
*/
|
|
3406
|
-
|
|
3407
|
-
return localVarFp.
|
|
3798
|
+
friendControllerFindFriends(page: number, pageSize: number, query?: string, options?: RawAxiosRequestConfig): AxiosPromise<FriendsDTO> {
|
|
3799
|
+
return localVarFp.friendControllerFindFriends(page, pageSize, query, options).then((request) => request(axios, basePath));
|
|
3408
3800
|
},
|
|
3409
3801
|
/**
|
|
3410
3802
|
*
|
|
3803
|
+
* @param {FriendshipStatusCheck} friendshipStatusCheck
|
|
3411
3804
|
* @param {*} [options] Override http request option.
|
|
3412
3805
|
* @throws {RequiredError}
|
|
3413
3806
|
*/
|
|
3414
|
-
|
|
3415
|
-
return localVarFp.
|
|
3807
|
+
friendControllerGetFriendshipStatus(friendshipStatusCheck: FriendshipStatusCheck, options?: RawAxiosRequestConfig): AxiosPromise<FriendshipStatusDTO> {
|
|
3808
|
+
return localVarFp.friendControllerGetFriendshipStatus(friendshipStatusCheck, options).then((request) => request(axios, basePath));
|
|
3416
3809
|
},
|
|
3417
3810
|
/**
|
|
3418
3811
|
*
|
|
3419
|
-
* @param {BusinessFavoriteDTO} businessFavoriteDTO
|
|
3420
3812
|
* @param {*} [options] Override http request option.
|
|
3421
3813
|
* @throws {RequiredError}
|
|
3422
3814
|
*/
|
|
3423
|
-
|
|
3424
|
-
return localVarFp.
|
|
3815
|
+
friendControllerListMyFriends(options?: RawAxiosRequestConfig): AxiosPromise<FriendsDTO> {
|
|
3816
|
+
return localVarFp.friendControllerListMyFriends(options).then((request) => request(axios, basePath));
|
|
3425
3817
|
},
|
|
3426
3818
|
/**
|
|
3427
3819
|
*
|
|
3428
|
-
* @param {
|
|
3820
|
+
* @param {RemoveFriendshipRequestPayload} removeFriendshipRequestPayload
|
|
3429
3821
|
* @param {*} [options] Override http request option.
|
|
3430
3822
|
* @throws {RequiredError}
|
|
3431
3823
|
*/
|
|
3432
|
-
|
|
3433
|
-
return localVarFp.
|
|
3824
|
+
friendControllerRemoveFriendById(removeFriendshipRequestPayload: RemoveFriendshipRequestPayload, options?: RawAxiosRequestConfig): AxiosPromise<FriendsResponseDTO> {
|
|
3825
|
+
return localVarFp.friendControllerRemoveFriendById(removeFriendshipRequestPayload, options).then((request) => request(axios, basePath));
|
|
3434
3826
|
},
|
|
3435
3827
|
/**
|
|
3436
3828
|
*
|
|
3437
|
-
* @param {
|
|
3438
|
-
* @param {string} businessNumber
|
|
3829
|
+
* @param {SendFriendshipRequestPayload} sendFriendshipRequestPayload
|
|
3439
3830
|
* @param {*} [options] Override http request option.
|
|
3440
3831
|
* @throws {RequiredError}
|
|
3441
3832
|
*/
|
|
3442
|
-
|
|
3443
|
-
return localVarFp.
|
|
3833
|
+
friendControllerSendFriendRequest(sendFriendshipRequestPayload: SendFriendshipRequestPayload, options?: RawAxiosRequestConfig): AxiosPromise<FriendsResponseDTO> {
|
|
3834
|
+
return localVarFp.friendControllerSendFriendRequest(sendFriendshipRequestPayload, options).then((request) => request(axios, basePath));
|
|
3444
3835
|
},
|
|
3445
3836
|
};
|
|
3446
3837
|
};
|
|
3447
3838
|
|
|
3448
3839
|
/**
|
|
3449
|
-
*
|
|
3840
|
+
* FriendsApi - object-oriented interface
|
|
3450
3841
|
* @export
|
|
3451
|
-
* @class
|
|
3842
|
+
* @class FriendsApi
|
|
3452
3843
|
* @extends {BaseAPI}
|
|
3453
3844
|
*/
|
|
3454
|
-
export class
|
|
3455
|
-
/**
|
|
3456
|
-
*
|
|
3457
|
-
* @param {BusinessOnBoardingDTO} businessOnBoardingDTO
|
|
3458
|
-
* @param {*} [options] Override http request option.
|
|
3459
|
-
* @throws {RequiredError}
|
|
3460
|
-
* @memberof BusinessApi
|
|
3461
|
-
*/
|
|
3462
|
-
public businessControllerBusinessOnboarding(businessOnBoardingDTO: BusinessOnBoardingDTO, options?: RawAxiosRequestConfig) {
|
|
3463
|
-
return BusinessApiFp(this.configuration).businessControllerBusinessOnboarding(businessOnBoardingDTO, options).then((request) => request(this.axios, this.basePath));
|
|
3464
|
-
}
|
|
3465
|
-
|
|
3466
|
-
/**
|
|
3467
|
-
*
|
|
3468
|
-
* @param {*} [options] Override http request option.
|
|
3469
|
-
* @throws {RequiredError}
|
|
3470
|
-
* @memberof BusinessApi
|
|
3471
|
-
*/
|
|
3472
|
-
public businessControllerGetMe(options?: RawAxiosRequestConfig) {
|
|
3473
|
-
return BusinessApiFp(this.configuration).businessControllerGetMe(options).then((request) => request(this.axios, this.basePath));
|
|
3474
|
-
}
|
|
3475
|
-
|
|
3476
|
-
/**
|
|
3477
|
-
*
|
|
3478
|
-
* @param {*} [options] Override http request option.
|
|
3479
|
-
* @throws {RequiredError}
|
|
3480
|
-
* @memberof BusinessApi
|
|
3481
|
-
*/
|
|
3482
|
-
public businessControllerListBusinesses(options?: RawAxiosRequestConfig) {
|
|
3483
|
-
return BusinessApiFp(this.configuration).businessControllerListBusinesses(options).then((request) => request(this.axios, this.basePath));
|
|
3484
|
-
}
|
|
3485
|
-
|
|
3486
|
-
/**
|
|
3487
|
-
*
|
|
3488
|
-
* @param {GetBusinessVenueDto} getBusinessVenueDto
|
|
3489
|
-
* @param {*} [options] Override http request option.
|
|
3490
|
-
* @throws {RequiredError}
|
|
3491
|
-
* @memberof BusinessApi
|
|
3492
|
-
*/
|
|
3493
|
-
public businessTypeControllerGetBusinessVenue(getBusinessVenueDto: GetBusinessVenueDto, options?: RawAxiosRequestConfig) {
|
|
3494
|
-
return BusinessApiFp(this.configuration).businessTypeControllerGetBusinessVenue(getBusinessVenueDto, options).then((request) => request(this.axios, this.basePath));
|
|
3495
|
-
}
|
|
3496
|
-
|
|
3497
|
-
/**
|
|
3498
|
-
*
|
|
3499
|
-
* @param {*} [options] Override http request option.
|
|
3500
|
-
* @throws {RequiredError}
|
|
3501
|
-
* @memberof BusinessApi
|
|
3502
|
-
*/
|
|
3503
|
-
public businessTypeControllerListBusinessType(options?: RawAxiosRequestConfig) {
|
|
3504
|
-
return BusinessApiFp(this.configuration).businessTypeControllerListBusinessType(options).then((request) => request(this.axios, this.basePath));
|
|
3505
|
-
}
|
|
3506
|
-
|
|
3845
|
+
export class FriendsApi extends BaseAPI {
|
|
3507
3846
|
/**
|
|
3508
3847
|
*
|
|
3509
|
-
* @param {
|
|
3848
|
+
* @param {ApproveFriendshipRequestPayload} approveFriendshipRequestPayload
|
|
3510
3849
|
* @param {*} [options] Override http request option.
|
|
3511
3850
|
* @throws {RequiredError}
|
|
3512
|
-
* @memberof
|
|
3851
|
+
* @memberof FriendsApi
|
|
3513
3852
|
*/
|
|
3514
|
-
public
|
|
3515
|
-
return
|
|
3853
|
+
public friendControllerApproveFriendRequest(approveFriendshipRequestPayload: ApproveFriendshipRequestPayload, options?: RawAxiosRequestConfig) {
|
|
3854
|
+
return FriendsApiFp(this.configuration).friendControllerApproveFriendRequest(approveFriendshipRequestPayload, options).then((request) => request(this.axios, this.basePath));
|
|
3516
3855
|
}
|
|
3517
3856
|
|
|
3518
3857
|
/**
|
|
3519
3858
|
*
|
|
3859
|
+
* @param {DeclineFriendshipRequestPayload} declineFriendshipRequestPayload
|
|
3520
3860
|
* @param {*} [options] Override http request option.
|
|
3521
3861
|
* @throws {RequiredError}
|
|
3522
|
-
* @memberof
|
|
3862
|
+
* @memberof FriendsApi
|
|
3523
3863
|
*/
|
|
3524
|
-
public
|
|
3525
|
-
return
|
|
3864
|
+
public friendControllerDeclineFriendRequest(declineFriendshipRequestPayload: DeclineFriendshipRequestPayload, options?: RawAxiosRequestConfig) {
|
|
3865
|
+
return FriendsApiFp(this.configuration).friendControllerDeclineFriendRequest(declineFriendshipRequestPayload, options).then((request) => request(this.axios, this.basePath));
|
|
3526
3866
|
}
|
|
3527
3867
|
|
|
3528
3868
|
/**
|
|
3529
3869
|
*
|
|
3870
|
+
* @param {number} page
|
|
3871
|
+
* @param {number} pageSize
|
|
3872
|
+
* @param {string} [query]
|
|
3530
3873
|
* @param {*} [options] Override http request option.
|
|
3531
3874
|
* @throws {RequiredError}
|
|
3532
|
-
* @memberof
|
|
3875
|
+
* @memberof FriendsApi
|
|
3533
3876
|
*/
|
|
3534
|
-
public
|
|
3535
|
-
return
|
|
3877
|
+
public friendControllerFindFriends(page: number, pageSize: number, query?: string, options?: RawAxiosRequestConfig) {
|
|
3878
|
+
return FriendsApiFp(this.configuration).friendControllerFindFriends(page, pageSize, query, options).then((request) => request(this.axios, this.basePath));
|
|
3536
3879
|
}
|
|
3537
3880
|
|
|
3538
3881
|
/**
|
|
3539
3882
|
*
|
|
3540
|
-
* @param {
|
|
3883
|
+
* @param {FriendshipStatusCheck} friendshipStatusCheck
|
|
3541
3884
|
* @param {*} [options] Override http request option.
|
|
3542
3885
|
* @throws {RequiredError}
|
|
3543
|
-
* @memberof
|
|
3886
|
+
* @memberof FriendsApi
|
|
3544
3887
|
*/
|
|
3545
|
-
public
|
|
3546
|
-
return
|
|
3888
|
+
public friendControllerGetFriendshipStatus(friendshipStatusCheck: FriendshipStatusCheck, options?: RawAxiosRequestConfig) {
|
|
3889
|
+
return FriendsApiFp(this.configuration).friendControllerGetFriendshipStatus(friendshipStatusCheck, options).then((request) => request(this.axios, this.basePath));
|
|
3547
3890
|
}
|
|
3548
3891
|
|
|
3549
3892
|
/**
|
|
3550
3893
|
*
|
|
3551
|
-
* @param {BusinessFavoriteDTO} businessFavoriteDTO
|
|
3552
3894
|
* @param {*} [options] Override http request option.
|
|
3553
3895
|
* @throws {RequiredError}
|
|
3554
|
-
* @memberof
|
|
3896
|
+
* @memberof FriendsApi
|
|
3555
3897
|
*/
|
|
3556
|
-
public
|
|
3557
|
-
return
|
|
3898
|
+
public friendControllerListMyFriends(options?: RawAxiosRequestConfig) {
|
|
3899
|
+
return FriendsApiFp(this.configuration).friendControllerListMyFriends(options).then((request) => request(this.axios, this.basePath));
|
|
3558
3900
|
}
|
|
3559
3901
|
|
|
3560
3902
|
/**
|
|
3561
3903
|
*
|
|
3562
|
-
* @param {
|
|
3563
|
-
* @param {string} businessNumber
|
|
3904
|
+
* @param {RemoveFriendshipRequestPayload} removeFriendshipRequestPayload
|
|
3564
3905
|
* @param {*} [options] Override http request option.
|
|
3565
3906
|
* @throws {RequiredError}
|
|
3566
|
-
* @memberof
|
|
3907
|
+
* @memberof FriendsApi
|
|
3567
3908
|
*/
|
|
3568
|
-
public
|
|
3569
|
-
return
|
|
3570
|
-
}
|
|
3571
|
-
}
|
|
3572
|
-
|
|
3573
|
-
/**
|
|
3574
|
-
* @export
|
|
3575
|
-
*/
|
|
3576
|
-
export const BusinessVerificationControllerABNVerificationTypeEnum = {
|
|
3577
|
-
Abn: 'ABN',
|
|
3578
|
-
Nzbn: 'NZBN',
|
|
3579
|
-
Crn: 'CRN',
|
|
3580
|
-
Ein: 'EIN'
|
|
3581
|
-
} as const;
|
|
3582
|
-
export type BusinessVerificationControllerABNVerificationTypeEnum = typeof BusinessVerificationControllerABNVerificationTypeEnum[keyof typeof BusinessVerificationControllerABNVerificationTypeEnum];
|
|
3583
|
-
|
|
3584
|
-
|
|
3585
|
-
/**
|
|
3586
|
-
* DeviceApi - axios parameter creator
|
|
3587
|
-
* @export
|
|
3588
|
-
*/
|
|
3589
|
-
export const DeviceApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
3590
|
-
return {
|
|
3591
|
-
/**
|
|
3592
|
-
*
|
|
3593
|
-
* @param {AddDevicePayload} addDevicePayload
|
|
3594
|
-
* @param {*} [options] Override http request option.
|
|
3595
|
-
* @throws {RequiredError}
|
|
3596
|
-
*/
|
|
3597
|
-
deviceControllerAddDevice: async (addDevicePayload: AddDevicePayload, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
3598
|
-
// verify required parameter 'addDevicePayload' is not null or undefined
|
|
3599
|
-
assertParamExists('deviceControllerAddDevice', 'addDevicePayload', addDevicePayload)
|
|
3600
|
-
const localVarPath = `/v1/device`;
|
|
3601
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
3602
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
3603
|
-
let baseOptions;
|
|
3604
|
-
if (configuration) {
|
|
3605
|
-
baseOptions = configuration.baseOptions;
|
|
3606
|
-
}
|
|
3607
|
-
|
|
3608
|
-
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
3609
|
-
const localVarHeaderParameter = {} as any;
|
|
3610
|
-
const localVarQueryParameter = {} as any;
|
|
3611
|
-
|
|
3612
|
-
// authentication bearer required
|
|
3613
|
-
// http bearer authentication required
|
|
3614
|
-
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
3615
|
-
|
|
3616
|
-
|
|
3617
|
-
|
|
3618
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
3619
|
-
|
|
3620
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
3621
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3622
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
3623
|
-
localVarRequestOptions.data = serializeDataIfNeeded(addDevicePayload, localVarRequestOptions, configuration)
|
|
3624
|
-
|
|
3625
|
-
return {
|
|
3626
|
-
url: toPathString(localVarUrlObj),
|
|
3627
|
-
options: localVarRequestOptions,
|
|
3628
|
-
};
|
|
3629
|
-
},
|
|
3630
|
-
}
|
|
3631
|
-
};
|
|
3632
|
-
|
|
3633
|
-
/**
|
|
3634
|
-
* DeviceApi - functional programming interface
|
|
3635
|
-
* @export
|
|
3636
|
-
*/
|
|
3637
|
-
export const DeviceApiFp = function(configuration?: Configuration) {
|
|
3638
|
-
const localVarAxiosParamCreator = DeviceApiAxiosParamCreator(configuration)
|
|
3639
|
-
return {
|
|
3640
|
-
/**
|
|
3641
|
-
*
|
|
3642
|
-
* @param {AddDevicePayload} addDevicePayload
|
|
3643
|
-
* @param {*} [options] Override http request option.
|
|
3644
|
-
* @throws {RequiredError}
|
|
3645
|
-
*/
|
|
3646
|
-
async deviceControllerAddDevice(addDevicePayload: AddDevicePayload, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DeviceAddResponse>> {
|
|
3647
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.deviceControllerAddDevice(addDevicePayload, options);
|
|
3648
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
3649
|
-
const localVarOperationServerBasePath = operationServerMap['DeviceApi.deviceControllerAddDevice']?.[localVarOperationServerIndex]?.url;
|
|
3650
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
3651
|
-
},
|
|
3909
|
+
public friendControllerRemoveFriendById(removeFriendshipRequestPayload: RemoveFriendshipRequestPayload, options?: RawAxiosRequestConfig) {
|
|
3910
|
+
return FriendsApiFp(this.configuration).friendControllerRemoveFriendById(removeFriendshipRequestPayload, options).then((request) => request(this.axios, this.basePath));
|
|
3652
3911
|
}
|
|
3653
|
-
};
|
|
3654
|
-
|
|
3655
|
-
/**
|
|
3656
|
-
* DeviceApi - factory interface
|
|
3657
|
-
* @export
|
|
3658
|
-
*/
|
|
3659
|
-
export const DeviceApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
3660
|
-
const localVarFp = DeviceApiFp(configuration)
|
|
3661
|
-
return {
|
|
3662
|
-
/**
|
|
3663
|
-
*
|
|
3664
|
-
* @param {AddDevicePayload} addDevicePayload
|
|
3665
|
-
* @param {*} [options] Override http request option.
|
|
3666
|
-
* @throws {RequiredError}
|
|
3667
|
-
*/
|
|
3668
|
-
deviceControllerAddDevice(addDevicePayload: AddDevicePayload, options?: RawAxiosRequestConfig): AxiosPromise<DeviceAddResponse> {
|
|
3669
|
-
return localVarFp.deviceControllerAddDevice(addDevicePayload, options).then((request) => request(axios, basePath));
|
|
3670
|
-
},
|
|
3671
|
-
};
|
|
3672
|
-
};
|
|
3673
3912
|
|
|
3674
|
-
/**
|
|
3675
|
-
* DeviceApi - object-oriented interface
|
|
3676
|
-
* @export
|
|
3677
|
-
* @class DeviceApi
|
|
3678
|
-
* @extends {BaseAPI}
|
|
3679
|
-
*/
|
|
3680
|
-
export class DeviceApi extends BaseAPI {
|
|
3681
3913
|
/**
|
|
3682
3914
|
*
|
|
3683
|
-
* @param {
|
|
3915
|
+
* @param {SendFriendshipRequestPayload} sendFriendshipRequestPayload
|
|
3684
3916
|
* @param {*} [options] Override http request option.
|
|
3685
3917
|
* @throws {RequiredError}
|
|
3686
|
-
* @memberof
|
|
3918
|
+
* @memberof FriendsApi
|
|
3687
3919
|
*/
|
|
3688
|
-
public
|
|
3689
|
-
return
|
|
3920
|
+
public friendControllerSendFriendRequest(sendFriendshipRequestPayload: SendFriendshipRequestPayload, options?: RawAxiosRequestConfig) {
|
|
3921
|
+
return FriendsApiFp(this.configuration).friendControllerSendFriendRequest(sendFriendshipRequestPayload, options).then((request) => request(this.axios, this.basePath));
|
|
3690
3922
|
}
|
|
3691
3923
|
}
|
|
3692
3924
|
|
|
@@ -4873,45 +5105,6 @@ export const UsersApiAxiosParamCreator = function (configuration?: Configuration
|
|
|
4873
5105
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
4874
5106
|
localVarRequestOptions.data = serializeDataIfNeeded(onBoardingDTO, localVarRequestOptions, configuration)
|
|
4875
5107
|
|
|
4876
|
-
return {
|
|
4877
|
-
url: toPathString(localVarUrlObj),
|
|
4878
|
-
options: localVarRequestOptions,
|
|
4879
|
-
};
|
|
4880
|
-
},
|
|
4881
|
-
/**
|
|
4882
|
-
*
|
|
4883
|
-
* @param {UserSyncLocationDTO} userSyncLocationDTO
|
|
4884
|
-
* @param {*} [options] Override http request option.
|
|
4885
|
-
* @throws {RequiredError}
|
|
4886
|
-
*/
|
|
4887
|
-
usersControllerSyncUserLocation: async (userSyncLocationDTO: UserSyncLocationDTO, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
4888
|
-
// verify required parameter 'userSyncLocationDTO' is not null or undefined
|
|
4889
|
-
assertParamExists('usersControllerSyncUserLocation', 'userSyncLocationDTO', userSyncLocationDTO)
|
|
4890
|
-
const localVarPath = `/v1/user/sync/user/location`;
|
|
4891
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
4892
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
4893
|
-
let baseOptions;
|
|
4894
|
-
if (configuration) {
|
|
4895
|
-
baseOptions = configuration.baseOptions;
|
|
4896
|
-
}
|
|
4897
|
-
|
|
4898
|
-
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
4899
|
-
const localVarHeaderParameter = {} as any;
|
|
4900
|
-
const localVarQueryParameter = {} as any;
|
|
4901
|
-
|
|
4902
|
-
// authentication bearer required
|
|
4903
|
-
// http bearer authentication required
|
|
4904
|
-
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
4905
|
-
|
|
4906
|
-
|
|
4907
|
-
|
|
4908
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
4909
|
-
|
|
4910
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
4911
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4912
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
4913
|
-
localVarRequestOptions.data = serializeDataIfNeeded(userSyncLocationDTO, localVarRequestOptions, configuration)
|
|
4914
|
-
|
|
4915
5108
|
return {
|
|
4916
5109
|
url: toPathString(localVarUrlObj),
|
|
4917
5110
|
options: localVarRequestOptions,
|
|
@@ -4950,18 +5143,6 @@ export const UsersApiFp = function(configuration?: Configuration) {
|
|
|
4950
5143
|
const localVarOperationServerBasePath = operationServerMap['UsersApi.usersControllerOnBoarded']?.[localVarOperationServerIndex]?.url;
|
|
4951
5144
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4952
5145
|
},
|
|
4953
|
-
/**
|
|
4954
|
-
*
|
|
4955
|
-
* @param {UserSyncLocationDTO} userSyncLocationDTO
|
|
4956
|
-
* @param {*} [options] Override http request option.
|
|
4957
|
-
* @throws {RequiredError}
|
|
4958
|
-
*/
|
|
4959
|
-
async usersControllerSyncUserLocation(userSyncLocationDTO: UserSyncLocationDTO, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<OnBoardingResponseDTO>> {
|
|
4960
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.usersControllerSyncUserLocation(userSyncLocationDTO, options);
|
|
4961
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
4962
|
-
const localVarOperationServerBasePath = operationServerMap['UsersApi.usersControllerSyncUserLocation']?.[localVarOperationServerIndex]?.url;
|
|
4963
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4964
|
-
},
|
|
4965
5146
|
}
|
|
4966
5147
|
};
|
|
4967
5148
|
|
|
@@ -4989,15 +5170,6 @@ export const UsersApiFactory = function (configuration?: Configuration, basePath
|
|
|
4989
5170
|
usersControllerOnBoarded(onBoardingDTO: OnBoardingDTO, options?: RawAxiosRequestConfig): AxiosPromise<OnBoardingResponseDTO> {
|
|
4990
5171
|
return localVarFp.usersControllerOnBoarded(onBoardingDTO, options).then((request) => request(axios, basePath));
|
|
4991
5172
|
},
|
|
4992
|
-
/**
|
|
4993
|
-
*
|
|
4994
|
-
* @param {UserSyncLocationDTO} userSyncLocationDTO
|
|
4995
|
-
* @param {*} [options] Override http request option.
|
|
4996
|
-
* @throws {RequiredError}
|
|
4997
|
-
*/
|
|
4998
|
-
usersControllerSyncUserLocation(userSyncLocationDTO: UserSyncLocationDTO, options?: RawAxiosRequestConfig): AxiosPromise<OnBoardingResponseDTO> {
|
|
4999
|
-
return localVarFp.usersControllerSyncUserLocation(userSyncLocationDTO, options).then((request) => request(axios, basePath));
|
|
5000
|
-
},
|
|
5001
5173
|
};
|
|
5002
5174
|
};
|
|
5003
5175
|
|
|
@@ -5028,17 +5200,6 @@ export class UsersApi extends BaseAPI {
|
|
|
5028
5200
|
public usersControllerOnBoarded(onBoardingDTO: OnBoardingDTO, options?: RawAxiosRequestConfig) {
|
|
5029
5201
|
return UsersApiFp(this.configuration).usersControllerOnBoarded(onBoardingDTO, options).then((request) => request(this.axios, this.basePath));
|
|
5030
5202
|
}
|
|
5031
|
-
|
|
5032
|
-
/**
|
|
5033
|
-
*
|
|
5034
|
-
* @param {UserSyncLocationDTO} userSyncLocationDTO
|
|
5035
|
-
* @param {*} [options] Override http request option.
|
|
5036
|
-
* @throws {RequiredError}
|
|
5037
|
-
* @memberof UsersApi
|
|
5038
|
-
*/
|
|
5039
|
-
public usersControllerSyncUserLocation(userSyncLocationDTO: UserSyncLocationDTO, options?: RawAxiosRequestConfig) {
|
|
5040
|
-
return UsersApiFp(this.configuration).usersControllerSyncUserLocation(userSyncLocationDTO, options).then((request) => request(this.axios, this.basePath));
|
|
5041
|
-
}
|
|
5042
5203
|
}
|
|
5043
5204
|
|
|
5044
5205
|
|