@gooday_corp/gooday-api-client 1.1.12-delta-7 → 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 +871 -716
- 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,37 +384,6 @@ export interface BusinessTypeEntity {
|
|
|
422
384
|
* @memberof BusinessTypeEntity
|
|
423
385
|
*/
|
|
424
386
|
'name': string;
|
|
425
|
-
/**
|
|
426
|
-
* Image background color
|
|
427
|
-
* @type {string}
|
|
428
|
-
* @memberof BusinessTypeEntity
|
|
429
|
-
*/
|
|
430
|
-
'backgroundColor': string;
|
|
431
|
-
/**
|
|
432
|
-
* Business Image
|
|
433
|
-
* @type {BusinessTypeImageDTO}
|
|
434
|
-
* @memberof BusinessTypeEntity
|
|
435
|
-
*/
|
|
436
|
-
'images': BusinessTypeImageDTO;
|
|
437
|
-
}
|
|
438
|
-
/**
|
|
439
|
-
*
|
|
440
|
-
* @export
|
|
441
|
-
* @interface BusinessTypeImageDTO
|
|
442
|
-
*/
|
|
443
|
-
export interface BusinessTypeImageDTO {
|
|
444
|
-
/**
|
|
445
|
-
* Business Type Image Small
|
|
446
|
-
* @type {string}
|
|
447
|
-
* @memberof BusinessTypeImageDTO
|
|
448
|
-
*/
|
|
449
|
-
'small': string;
|
|
450
|
-
/**
|
|
451
|
-
* Business Type Image Large
|
|
452
|
-
* @type {string}
|
|
453
|
-
* @memberof BusinessTypeImageDTO
|
|
454
|
-
*/
|
|
455
|
-
'large': string;
|
|
456
387
|
}
|
|
457
388
|
/**
|
|
458
389
|
*
|
|
@@ -473,123 +404,30 @@ export interface BusinessTypeListResponse {
|
|
|
473
404
|
*/
|
|
474
405
|
'data': Array<BusinessTypeEntity>;
|
|
475
406
|
}
|
|
476
|
-
/**
|
|
477
|
-
*
|
|
478
|
-
* @export
|
|
479
|
-
* @interface BusinessUnFavoriteResponse
|
|
480
|
-
*/
|
|
481
|
-
export interface BusinessUnFavoriteResponse {
|
|
482
|
-
/**
|
|
483
|
-
* statusCode
|
|
484
|
-
* @type {number}
|
|
485
|
-
* @memberof BusinessUnFavoriteResponse
|
|
486
|
-
*/
|
|
487
|
-
'statusCode': number;
|
|
488
|
-
/**
|
|
489
|
-
* Business Favorite Rule
|
|
490
|
-
* @type {string}
|
|
491
|
-
* @memberof BusinessUnFavoriteResponse
|
|
492
|
-
*/
|
|
493
|
-
'message': string;
|
|
494
|
-
}
|
|
495
407
|
/**
|
|
496
408
|
*
|
|
497
409
|
* @export
|
|
498
410
|
* @interface BusinessVenueDTO
|
|
499
411
|
*/
|
|
500
412
|
export interface BusinessVenueDTO {
|
|
501
|
-
/**
|
|
502
|
-
* coverPhots
|
|
503
|
-
* @type {string}
|
|
504
|
-
* @memberof BusinessVenueDTO
|
|
505
|
-
*/
|
|
506
|
-
'coverPhoto': string;
|
|
507
413
|
/**
|
|
508
414
|
*
|
|
509
415
|
* @type {string}
|
|
510
416
|
* @memberof BusinessVenueDTO
|
|
511
417
|
*/
|
|
512
|
-
'
|
|
513
|
-
/**
|
|
514
|
-
*
|
|
515
|
-
* @type {LocationDTO}
|
|
516
|
-
* @memberof BusinessVenueDTO
|
|
517
|
-
*/
|
|
518
|
-
'location': LocationDTO;
|
|
418
|
+
'coverPhotos': string;
|
|
519
419
|
/**
|
|
520
420
|
*
|
|
521
421
|
* @type {string}
|
|
522
422
|
* @memberof BusinessVenueDTO
|
|
523
423
|
*/
|
|
524
|
-
'numberOfEmployee': string;
|
|
525
|
-
}
|
|
526
|
-
/**
|
|
527
|
-
*
|
|
528
|
-
* @export
|
|
529
|
-
* @interface BusinessVenueDetailsEntity
|
|
530
|
-
*/
|
|
531
|
-
export interface BusinessVenueDetailsEntity {
|
|
532
|
-
/**
|
|
533
|
-
* Unique identifier for the business venue
|
|
534
|
-
* @type {string}
|
|
535
|
-
* @memberof BusinessVenueDetailsEntity
|
|
536
|
-
*/
|
|
537
|
-
'_id'?: string;
|
|
538
|
-
/**
|
|
539
|
-
* coverPhots
|
|
540
|
-
* @type {string}
|
|
541
|
-
* @memberof BusinessVenueDetailsEntity
|
|
542
|
-
*/
|
|
543
|
-
'coverPhoto': string;
|
|
544
|
-
/**
|
|
545
|
-
*
|
|
546
|
-
* @type {string}
|
|
547
|
-
* @memberof BusinessVenueDetailsEntity
|
|
548
|
-
*/
|
|
549
424
|
'priceRange': string;
|
|
550
425
|
/**
|
|
551
426
|
*
|
|
552
427
|
* @type {LocationDTO}
|
|
553
|
-
* @memberof
|
|
428
|
+
* @memberof BusinessVenueDTO
|
|
554
429
|
*/
|
|
555
430
|
'location': LocationDTO;
|
|
556
|
-
/**
|
|
557
|
-
*
|
|
558
|
-
* @type {string}
|
|
559
|
-
* @memberof BusinessVenueDetailsEntity
|
|
560
|
-
*/
|
|
561
|
-
'numberOfEmployee': string;
|
|
562
|
-
/**
|
|
563
|
-
*
|
|
564
|
-
* @type {UserEntity}
|
|
565
|
-
* @memberof BusinessVenueDetailsEntity
|
|
566
|
-
*/
|
|
567
|
-
'user': UserEntity;
|
|
568
|
-
/**
|
|
569
|
-
*
|
|
570
|
-
* @type {BusinessEntity}
|
|
571
|
-
* @memberof BusinessVenueDetailsEntity
|
|
572
|
-
*/
|
|
573
|
-
'business': BusinessEntity;
|
|
574
|
-
}
|
|
575
|
-
/**
|
|
576
|
-
*
|
|
577
|
-
* @export
|
|
578
|
-
* @interface BusinessVenueResponseDTO
|
|
579
|
-
*/
|
|
580
|
-
export interface BusinessVenueResponseDTO {
|
|
581
|
-
/**
|
|
582
|
-
* statusCode
|
|
583
|
-
* @type {number}
|
|
584
|
-
* @memberof BusinessVenueResponseDTO
|
|
585
|
-
*/
|
|
586
|
-
'statusCode': number;
|
|
587
|
-
/**
|
|
588
|
-
* Business verification
|
|
589
|
-
* @type {Array<BusinessVenueDetailsEntity>}
|
|
590
|
-
* @memberof BusinessVenueResponseDTO
|
|
591
|
-
*/
|
|
592
|
-
'data': Array<BusinessVenueDetailsEntity>;
|
|
593
431
|
}
|
|
594
432
|
/**
|
|
595
433
|
*
|
|
@@ -654,12 +492,6 @@ export interface CategoryEntity {
|
|
|
654
492
|
* @memberof CategoryEntity
|
|
655
493
|
*/
|
|
656
494
|
'name': string;
|
|
657
|
-
/**
|
|
658
|
-
* Image of category
|
|
659
|
-
* @type {string}
|
|
660
|
-
* @memberof CategoryEntity
|
|
661
|
-
*/
|
|
662
|
-
'image': string;
|
|
663
495
|
/**
|
|
664
496
|
* Unique identifier or reference of the business Type
|
|
665
497
|
* @type {string}
|
|
@@ -723,6 +555,19 @@ export interface CreatePaymentLinkDTO {
|
|
|
723
555
|
*/
|
|
724
556
|
'user': string;
|
|
725
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
|
+
}
|
|
726
571
|
/**
|
|
727
572
|
*
|
|
728
573
|
* @export
|
|
@@ -877,40 +722,84 @@ export interface ForgotPasswordResponseDTO {
|
|
|
877
722
|
/**
|
|
878
723
|
*
|
|
879
724
|
* @export
|
|
880
|
-
* @interface
|
|
725
|
+
* @interface FriendsDTO
|
|
881
726
|
*/
|
|
882
|
-
export interface
|
|
727
|
+
export interface FriendsDTO {
|
|
883
728
|
/**
|
|
884
|
-
*
|
|
885
|
-
* @type {
|
|
886
|
-
* @memberof
|
|
729
|
+
* statusCode
|
|
730
|
+
* @type {number}
|
|
731
|
+
* @memberof FriendsDTO
|
|
887
732
|
*/
|
|
888
|
-
'
|
|
733
|
+
'statusCode': number;
|
|
889
734
|
/**
|
|
890
|
-
*
|
|
891
|
-
* @type {
|
|
892
|
-
* @memberof
|
|
735
|
+
* User
|
|
736
|
+
* @type {Array<UserEntity>}
|
|
737
|
+
* @memberof FriendsDTO
|
|
738
|
+
*/
|
|
739
|
+
'data': Array<UserEntity>;
|
|
740
|
+
}
|
|
741
|
+
/**
|
|
742
|
+
*
|
|
743
|
+
* @export
|
|
744
|
+
* @interface FriendsResponseDTO
|
|
745
|
+
*/
|
|
746
|
+
export interface FriendsResponseDTO {
|
|
747
|
+
/**
|
|
748
|
+
* statusCode
|
|
749
|
+
* @type {number}
|
|
750
|
+
* @memberof FriendsResponseDTO
|
|
751
|
+
*/
|
|
752
|
+
'statusCode': number;
|
|
753
|
+
/**
|
|
754
|
+
*
|
|
755
|
+
* @type {boolean}
|
|
756
|
+
* @memberof FriendsResponseDTO
|
|
893
757
|
*/
|
|
894
|
-
'
|
|
758
|
+
'success': boolean;
|
|
759
|
+
}
|
|
760
|
+
/**
|
|
761
|
+
*
|
|
762
|
+
* @export
|
|
763
|
+
* @interface FriendshipStatusCheck
|
|
764
|
+
*/
|
|
765
|
+
export interface FriendshipStatusCheck {
|
|
895
766
|
/**
|
|
896
|
-
*
|
|
767
|
+
*
|
|
897
768
|
* @type {string}
|
|
898
|
-
* @memberof
|
|
769
|
+
* @memberof FriendshipStatusCheck
|
|
899
770
|
*/
|
|
900
|
-
'
|
|
771
|
+
'to': string;
|
|
772
|
+
}
|
|
773
|
+
/**
|
|
774
|
+
*
|
|
775
|
+
* @export
|
|
776
|
+
* @interface FriendshipStatusDTO
|
|
777
|
+
*/
|
|
778
|
+
export interface FriendshipStatusDTO {
|
|
901
779
|
/**
|
|
902
|
-
*
|
|
780
|
+
* statusCode
|
|
903
781
|
* @type {number}
|
|
904
|
-
* @memberof
|
|
782
|
+
* @memberof FriendshipStatusDTO
|
|
905
783
|
*/
|
|
906
|
-
'
|
|
784
|
+
'statusCode': number;
|
|
907
785
|
/**
|
|
908
|
-
*
|
|
909
|
-
* @type {
|
|
910
|
-
* @memberof
|
|
786
|
+
*
|
|
787
|
+
* @type {string}
|
|
788
|
+
* @memberof FriendshipStatusDTO
|
|
911
789
|
*/
|
|
912
|
-
'
|
|
790
|
+
'success': FriendshipStatusDTOSuccessEnum;
|
|
913
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
|
+
|
|
914
803
|
/**
|
|
915
804
|
*
|
|
916
805
|
* @export
|
|
@@ -1101,12 +990,6 @@ export interface LocationDTO {
|
|
|
1101
990
|
* @memberof LocationDTO
|
|
1102
991
|
*/
|
|
1103
992
|
'coordinates': Array<number>;
|
|
1104
|
-
/**
|
|
1105
|
-
*
|
|
1106
|
-
* @type {string}
|
|
1107
|
-
* @memberof LocationDTO
|
|
1108
|
-
*/
|
|
1109
|
-
'distance'?: string;
|
|
1110
993
|
/**
|
|
1111
994
|
*
|
|
1112
995
|
* @type {LocationMetaDTO}
|
|
@@ -1514,6 +1397,19 @@ export interface PriceRangeListResponse {
|
|
|
1514
1397
|
*/
|
|
1515
1398
|
'data': Array<PriceRangeEntity>;
|
|
1516
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
|
+
}
|
|
1517
1413
|
/**
|
|
1518
1414
|
*
|
|
1519
1415
|
* @export
|
|
@@ -1552,6 +1448,19 @@ export interface ResetPasswordResponseDTO {
|
|
|
1552
1448
|
*/
|
|
1553
1449
|
'message': string;
|
|
1554
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
|
+
}
|
|
1555
1464
|
/**
|
|
1556
1465
|
*
|
|
1557
1466
|
* @export
|
|
@@ -1652,18 +1561,6 @@ export interface SignupDto {
|
|
|
1652
1561
|
* @memberof SignupDto
|
|
1653
1562
|
*/
|
|
1654
1563
|
'lastName': string;
|
|
1655
|
-
/**
|
|
1656
|
-
* Contact Number For User
|
|
1657
|
-
* @type {string}
|
|
1658
|
-
* @memberof SignupDto
|
|
1659
|
-
*/
|
|
1660
|
-
'mobileNumber'?: string;
|
|
1661
|
-
/**
|
|
1662
|
-
* User gender
|
|
1663
|
-
* @type {string}
|
|
1664
|
-
* @memberof SignupDto
|
|
1665
|
-
*/
|
|
1666
|
-
'gender'?: 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,18 +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
|
-
'mobileNumber'?: string;
|
|
1853
|
-
/**
|
|
1854
|
-
* User gender
|
|
1855
|
-
* @type {string}
|
|
1856
|
-
* @memberof UserEntity
|
|
1857
|
-
*/
|
|
1858
|
-
'gender'?: string;
|
|
1859
1732
|
/**
|
|
1860
1733
|
* Indicates whether the user\'s email has been verified
|
|
1861
1734
|
* @type {boolean}
|
|
@@ -1880,12 +1753,6 @@ export interface UserEntity {
|
|
|
1880
1753
|
* @memberof UserEntity
|
|
1881
1754
|
*/
|
|
1882
1755
|
'plan': UserPlanDTO;
|
|
1883
|
-
/**
|
|
1884
|
-
* Plan subscribed by the user
|
|
1885
|
-
* @type {BusinessEntity}
|
|
1886
|
-
* @memberof UserEntity
|
|
1887
|
-
*/
|
|
1888
|
-
'business'?: BusinessEntity;
|
|
1889
1756
|
/**
|
|
1890
1757
|
* Action user has to perform
|
|
1891
1758
|
* @type {Array<string>}
|
|
@@ -1947,19 +1814,6 @@ export const UserPlanDTONameEnum = {
|
|
|
1947
1814
|
|
|
1948
1815
|
export type UserPlanDTONameEnum = typeof UserPlanDTONameEnum[keyof typeof UserPlanDTONameEnum];
|
|
1949
1816
|
|
|
1950
|
-
/**
|
|
1951
|
-
*
|
|
1952
|
-
* @export
|
|
1953
|
-
* @interface UserSyncLocationDTO
|
|
1954
|
-
*/
|
|
1955
|
-
export interface UserSyncLocationDTO {
|
|
1956
|
-
/**
|
|
1957
|
-
* User location
|
|
1958
|
-
* @type {Array<number>}
|
|
1959
|
-
* @memberof UserSyncLocationDTO
|
|
1960
|
-
*/
|
|
1961
|
-
'location': Array<number>;
|
|
1962
|
-
}
|
|
1963
1817
|
/**
|
|
1964
1818
|
*
|
|
1965
1819
|
* @export
|
|
@@ -2892,7 +2746,7 @@ export const BusinessApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
2892
2746
|
* @throws {RequiredError}
|
|
2893
2747
|
*/
|
|
2894
2748
|
businessControllerListBusinesses: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
2895
|
-
const localVarPath = `/
|
|
2749
|
+
const localVarPath = `/business`;
|
|
2896
2750
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
2897
2751
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2898
2752
|
let baseOptions;
|
|
@@ -2917,14 +2771,11 @@ export const BusinessApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
2917
2771
|
},
|
|
2918
2772
|
/**
|
|
2919
2773
|
*
|
|
2920
|
-
* @param {GetBusinessVenueDto} getBusinessVenueDto
|
|
2921
2774
|
* @param {*} [options] Override http request option.
|
|
2922
2775
|
* @throws {RequiredError}
|
|
2923
2776
|
*/
|
|
2924
|
-
|
|
2925
|
-
|
|
2926
|
-
assertParamExists('businessTypeControllerGetBusinessVenue', 'getBusinessVenueDto', getBusinessVenueDto)
|
|
2927
|
-
const localVarPath = `/v1/business/business-venue`;
|
|
2777
|
+
businessTypeControllerListBusinessType: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
2778
|
+
const localVarPath = `/v1/business/list`;
|
|
2928
2779
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
2929
2780
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2930
2781
|
let baseOptions;
|
|
@@ -2932,7 +2783,7 @@ export const BusinessApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
2932
2783
|
baseOptions = configuration.baseOptions;
|
|
2933
2784
|
}
|
|
2934
2785
|
|
|
2935
|
-
const localVarRequestOptions = { method: '
|
|
2786
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
2936
2787
|
const localVarHeaderParameter = {} as any;
|
|
2937
2788
|
const localVarQueryParameter = {} as any;
|
|
2938
2789
|
|
|
@@ -2942,12 +2793,9 @@ export const BusinessApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
2942
2793
|
|
|
2943
2794
|
|
|
2944
2795
|
|
|
2945
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
2946
|
-
|
|
2947
2796
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2948
2797
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2949
2798
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
2950
|
-
localVarRequestOptions.data = serializeDataIfNeeded(getBusinessVenueDto, localVarRequestOptions, configuration)
|
|
2951
2799
|
|
|
2952
2800
|
return {
|
|
2953
2801
|
url: toPathString(localVarUrlObj),
|
|
@@ -2956,11 +2804,15 @@ export const BusinessApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
2956
2804
|
},
|
|
2957
2805
|
/**
|
|
2958
2806
|
*
|
|
2807
|
+
* @param {string} businessType
|
|
2959
2808
|
* @param {*} [options] Override http request option.
|
|
2960
2809
|
* @throws {RequiredError}
|
|
2961
2810
|
*/
|
|
2962
|
-
|
|
2963
|
-
|
|
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)));
|
|
2964
2816
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
2965
2817
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2966
2818
|
let baseOptions;
|
|
@@ -2989,15 +2841,11 @@ export const BusinessApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
2989
2841
|
},
|
|
2990
2842
|
/**
|
|
2991
2843
|
*
|
|
2992
|
-
* @param {string} businessTypeId ID of the business type
|
|
2993
2844
|
* @param {*} [options] Override http request option.
|
|
2994
2845
|
* @throws {RequiredError}
|
|
2995
2846
|
*/
|
|
2996
|
-
|
|
2997
|
-
|
|
2998
|
-
assertParamExists('businessTypeControllerListCategories', 'businessTypeId', businessTypeId)
|
|
2999
|
-
const localVarPath = `/v1/business/{businessTypeId}/categories`
|
|
3000
|
-
.replace(`{${"businessTypeId"}}`, encodeURIComponent(String(businessTypeId)));
|
|
2847
|
+
businessTypeControllerListEmployeesSize: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
2848
|
+
const localVarPath = `/v1/business/employee-size`;
|
|
3001
2849
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
3002
2850
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
3003
2851
|
let baseOptions;
|
|
@@ -3029,16 +2877,531 @@ export const BusinessApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
3029
2877
|
* @param {*} [options] Override http request option.
|
|
3030
2878
|
* @throws {RequiredError}
|
|
3031
2879
|
*/
|
|
3032
|
-
|
|
3033
|
-
const localVarPath = `/v1/business/
|
|
3034
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
2880
|
+
businessTypeControllerListPriceRange: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
2881
|
+
const localVarPath = `/v1/business/price-range`;
|
|
2882
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
2883
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2884
|
+
let baseOptions;
|
|
2885
|
+
if (configuration) {
|
|
2886
|
+
baseOptions = configuration.baseOptions;
|
|
2887
|
+
}
|
|
2888
|
+
|
|
2889
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
2890
|
+
const localVarHeaderParameter = {} as any;
|
|
2891
|
+
const localVarQueryParameter = {} as any;
|
|
2892
|
+
|
|
2893
|
+
// authentication bearer required
|
|
2894
|
+
// http bearer authentication required
|
|
2895
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
2896
|
+
|
|
2897
|
+
|
|
2898
|
+
|
|
2899
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2900
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2901
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
2902
|
+
|
|
2903
|
+
return {
|
|
2904
|
+
url: toPathString(localVarUrlObj),
|
|
2905
|
+
options: localVarRequestOptions,
|
|
2906
|
+
};
|
|
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 {
|
|
2918
|
+
/**
|
|
2919
|
+
*
|
|
2920
|
+
* @param {BusinessOnBoardingDTO} businessOnBoardingDTO
|
|
2921
|
+
* @param {*} [options] Override http request option.
|
|
2922
|
+
* @throws {RequiredError}
|
|
2923
|
+
*/
|
|
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`;
|
|
3397
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
3035
3398
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
3036
3399
|
let baseOptions;
|
|
3037
3400
|
if (configuration) {
|
|
3038
3401
|
baseOptions = configuration.baseOptions;
|
|
3039
3402
|
}
|
|
3040
3403
|
|
|
3041
|
-
const localVarRequestOptions = { method: '
|
|
3404
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
3042
3405
|
const localVarHeaderParameter = {} as any;
|
|
3043
3406
|
const localVarQueryParameter = {} as any;
|
|
3044
3407
|
|
|
@@ -3048,9 +3411,12 @@ export const BusinessApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
3048
3411
|
|
|
3049
3412
|
|
|
3050
3413
|
|
|
3414
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
3415
|
+
|
|
3051
3416
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
3052
3417
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3053
3418
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
3419
|
+
localVarRequestOptions.data = serializeDataIfNeeded(approveFriendshipRequestPayload, localVarRequestOptions, configuration)
|
|
3054
3420
|
|
|
3055
3421
|
return {
|
|
3056
3422
|
url: toPathString(localVarUrlObj),
|
|
@@ -3059,11 +3425,14 @@ export const BusinessApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
3059
3425
|
},
|
|
3060
3426
|
/**
|
|
3061
3427
|
*
|
|
3428
|
+
* @param {DeclineFriendshipRequestPayload} declineFriendshipRequestPayload
|
|
3062
3429
|
* @param {*} [options] Override http request option.
|
|
3063
3430
|
* @throws {RequiredError}
|
|
3064
3431
|
*/
|
|
3065
|
-
|
|
3066
|
-
|
|
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`;
|
|
3067
3436
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
3068
3437
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
3069
3438
|
let baseOptions;
|
|
@@ -3071,7 +3440,7 @@ export const BusinessApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
3071
3440
|
baseOptions = configuration.baseOptions;
|
|
3072
3441
|
}
|
|
3073
3442
|
|
|
3074
|
-
const localVarRequestOptions = { method: '
|
|
3443
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
3075
3444
|
const localVarHeaderParameter = {} as any;
|
|
3076
3445
|
const localVarQueryParameter = {} as any;
|
|
3077
3446
|
|
|
@@ -3081,9 +3450,12 @@ export const BusinessApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
3081
3450
|
|
|
3082
3451
|
|
|
3083
3452
|
|
|
3453
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
3454
|
+
|
|
3084
3455
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
3085
3456
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3086
3457
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
3458
|
+
localVarRequestOptions.data = serializeDataIfNeeded(declineFriendshipRequestPayload, localVarRequestOptions, configuration)
|
|
3087
3459
|
|
|
3088
3460
|
return {
|
|
3089
3461
|
url: toPathString(localVarUrlObj),
|
|
@@ -3092,14 +3464,18 @@ export const BusinessApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
3092
3464
|
},
|
|
3093
3465
|
/**
|
|
3094
3466
|
*
|
|
3095
|
-
* @param {
|
|
3467
|
+
* @param {number} page
|
|
3468
|
+
* @param {number} pageSize
|
|
3469
|
+
* @param {string} [query]
|
|
3096
3470
|
* @param {*} [options] Override http request option.
|
|
3097
3471
|
* @throws {RequiredError}
|
|
3098
3472
|
*/
|
|
3099
|
-
|
|
3100
|
-
// verify required parameter '
|
|
3101
|
-
assertParamExists('
|
|
3102
|
-
|
|
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`;
|
|
3103
3479
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
3104
3480
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
3105
3481
|
let baseOptions;
|
|
@@ -3107,7 +3483,7 @@ export const BusinessApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
3107
3483
|
baseOptions = configuration.baseOptions;
|
|
3108
3484
|
}
|
|
3109
3485
|
|
|
3110
|
-
const localVarRequestOptions = { method: '
|
|
3486
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
3111
3487
|
const localVarHeaderParameter = {} as any;
|
|
3112
3488
|
const localVarQueryParameter = {} as any;
|
|
3113
3489
|
|
|
@@ -3115,14 +3491,23 @@ export const BusinessApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
3115
3491
|
// http bearer authentication required
|
|
3116
3492
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
3117
3493
|
|
|
3494
|
+
if (query !== undefined) {
|
|
3495
|
+
localVarQueryParameter['query'] = query;
|
|
3496
|
+
}
|
|
3118
3497
|
|
|
3119
|
-
|
|
3120
|
-
|
|
3498
|
+
if (page !== undefined) {
|
|
3499
|
+
localVarQueryParameter['page'] = page;
|
|
3500
|
+
}
|
|
3121
3501
|
|
|
3502
|
+
if (pageSize !== undefined) {
|
|
3503
|
+
localVarQueryParameter['pageSize'] = pageSize;
|
|
3504
|
+
}
|
|
3505
|
+
|
|
3506
|
+
|
|
3507
|
+
|
|
3122
3508
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
3123
3509
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3124
3510
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
3125
|
-
localVarRequestOptions.data = serializeDataIfNeeded(businessFavoriteDTO, localVarRequestOptions, configuration)
|
|
3126
3511
|
|
|
3127
3512
|
return {
|
|
3128
3513
|
url: toPathString(localVarUrlObj),
|
|
@@ -3131,14 +3516,14 @@ export const BusinessApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
3131
3516
|
},
|
|
3132
3517
|
/**
|
|
3133
3518
|
*
|
|
3134
|
-
* @param {
|
|
3519
|
+
* @param {FriendshipStatusCheck} friendshipStatusCheck
|
|
3135
3520
|
* @param {*} [options] Override http request option.
|
|
3136
3521
|
* @throws {RequiredError}
|
|
3137
3522
|
*/
|
|
3138
|
-
|
|
3139
|
-
// verify required parameter '
|
|
3140
|
-
assertParamExists('
|
|
3141
|
-
const localVarPath = `/v1/
|
|
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`;
|
|
3142
3527
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
3143
3528
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
3144
3529
|
let baseOptions;
|
|
@@ -3161,7 +3546,7 @@ export const BusinessApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
3161
3546
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
3162
3547
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3163
3548
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
3164
|
-
localVarRequestOptions.data = serializeDataIfNeeded(
|
|
3549
|
+
localVarRequestOptions.data = serializeDataIfNeeded(friendshipStatusCheck, localVarRequestOptions, configuration)
|
|
3165
3550
|
|
|
3166
3551
|
return {
|
|
3167
3552
|
url: toPathString(localVarUrlObj),
|
|
@@ -3170,19 +3555,11 @@ export const BusinessApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
3170
3555
|
},
|
|
3171
3556
|
/**
|
|
3172
3557
|
*
|
|
3173
|
-
* @param {BusinessVerificationControllerABNVerificationTypeEnum} type The type of business verification number (e.g., ABN, NZBN)
|
|
3174
|
-
* @param {string} businessNumber
|
|
3175
3558
|
* @param {*} [options] Override http request option.
|
|
3176
3559
|
* @throws {RequiredError}
|
|
3177
3560
|
*/
|
|
3178
|
-
|
|
3179
|
-
|
|
3180
|
-
assertParamExists('businessVerificationControllerABNVerification', 'type', type)
|
|
3181
|
-
// verify required parameter 'businessNumber' is not null or undefined
|
|
3182
|
-
assertParamExists('businessVerificationControllerABNVerification', 'businessNumber', businessNumber)
|
|
3183
|
-
const localVarPath = `/v1/business/verify/{type}/{businessNumber}`
|
|
3184
|
-
.replace(`{${"type"}}`, encodeURIComponent(String(type)))
|
|
3185
|
-
.replace(`{${"businessNumber"}}`, encodeURIComponent(String(businessNumber)));
|
|
3561
|
+
friendControllerListMyFriends: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
3562
|
+
const localVarPath = `/v1/friend/list`;
|
|
3186
3563
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
3187
3564
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
3188
3565
|
let baseOptions;
|
|
@@ -3194,6 +3571,10 @@ export const BusinessApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
3194
3571
|
const localVarHeaderParameter = {} as any;
|
|
3195
3572
|
const localVarQueryParameter = {} as any;
|
|
3196
3573
|
|
|
3574
|
+
// authentication bearer required
|
|
3575
|
+
// http bearer authentication required
|
|
3576
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
3577
|
+
|
|
3197
3578
|
|
|
3198
3579
|
|
|
3199
3580
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -3205,494 +3586,339 @@ export const BusinessApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
3205
3586
|
options: localVarRequestOptions,
|
|
3206
3587
|
};
|
|
3207
3588
|
},
|
|
3208
|
-
}
|
|
3209
|
-
};
|
|
3210
|
-
|
|
3211
|
-
/**
|
|
3212
|
-
* BusinessApi - functional programming interface
|
|
3213
|
-
* @export
|
|
3214
|
-
*/
|
|
3215
|
-
export const BusinessApiFp = function(configuration?: Configuration) {
|
|
3216
|
-
const localVarAxiosParamCreator = BusinessApiAxiosParamCreator(configuration)
|
|
3217
|
-
return {
|
|
3218
|
-
/**
|
|
3219
|
-
*
|
|
3220
|
-
* @param {BusinessOnBoardingDTO} businessOnBoardingDTO
|
|
3221
|
-
* @param {*} [options] Override http request option.
|
|
3222
|
-
* @throws {RequiredError}
|
|
3223
|
-
*/
|
|
3224
|
-
async businessControllerBusinessOnboarding(businessOnBoardingDTO: BusinessOnBoardingDTO, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BusinessOnBoardingResponseDTO>> {
|
|
3225
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.businessControllerBusinessOnboarding(businessOnBoardingDTO, options);
|
|
3226
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
3227
|
-
const localVarOperationServerBasePath = operationServerMap['BusinessApi.businessControllerBusinessOnboarding']?.[localVarOperationServerIndex]?.url;
|
|
3228
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
3229
|
-
},
|
|
3230
|
-
/**
|
|
3231
|
-
*
|
|
3232
|
-
* @param {*} [options] Override http request option.
|
|
3233
|
-
* @throws {RequiredError}
|
|
3234
|
-
*/
|
|
3235
|
-
async businessControllerGetMe(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BusinessOnBoardingResponseDTO>> {
|
|
3236
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.businessControllerGetMe(options);
|
|
3237
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
3238
|
-
const localVarOperationServerBasePath = operationServerMap['BusinessApi.businessControllerGetMe']?.[localVarOperationServerIndex]?.url;
|
|
3239
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
3240
|
-
},
|
|
3241
|
-
/**
|
|
3242
|
-
*
|
|
3243
|
-
* @param {*} [options] Override http request option.
|
|
3244
|
-
* @throws {RequiredError}
|
|
3245
|
-
*/
|
|
3246
|
-
async businessControllerListBusinesses(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<BusinessOnBoardingResponseDTO>>> {
|
|
3247
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.businessControllerListBusinesses(options);
|
|
3248
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
3249
|
-
const localVarOperationServerBasePath = operationServerMap['BusinessApi.businessControllerListBusinesses']?.[localVarOperationServerIndex]?.url;
|
|
3250
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
3251
|
-
},
|
|
3252
|
-
/**
|
|
3253
|
-
*
|
|
3254
|
-
* @param {GetBusinessVenueDto} getBusinessVenueDto
|
|
3255
|
-
* @param {*} [options] Override http request option.
|
|
3256
|
-
* @throws {RequiredError}
|
|
3257
|
-
*/
|
|
3258
|
-
async businessTypeControllerGetBusinessVenue(getBusinessVenueDto: GetBusinessVenueDto, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BusinessVenueResponseDTO>> {
|
|
3259
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.businessTypeControllerGetBusinessVenue(getBusinessVenueDto, options);
|
|
3260
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
3261
|
-
const localVarOperationServerBasePath = operationServerMap['BusinessApi.businessTypeControllerGetBusinessVenue']?.[localVarOperationServerIndex]?.url;
|
|
3262
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
3263
|
-
},
|
|
3264
3589
|
/**
|
|
3265
3590
|
*
|
|
3591
|
+
* @param {RemoveFriendshipRequestPayload} removeFriendshipRequestPayload
|
|
3266
3592
|
* @param {*} [options] Override http request option.
|
|
3267
3593
|
* @throws {RequiredError}
|
|
3268
3594
|
*/
|
|
3269
|
-
async
|
|
3270
|
-
|
|
3271
|
-
|
|
3272
|
-
const
|
|
3273
|
-
|
|
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
|
+
};
|
|
3274
3627
|
},
|
|
3275
3628
|
/**
|
|
3276
3629
|
*
|
|
3277
|
-
* @param {
|
|
3630
|
+
* @param {SendFriendshipRequestPayload} sendFriendshipRequestPayload
|
|
3278
3631
|
* @param {*} [options] Override http request option.
|
|
3279
3632
|
* @throws {RequiredError}
|
|
3280
3633
|
*/
|
|
3281
|
-
async
|
|
3282
|
-
|
|
3283
|
-
|
|
3284
|
-
const
|
|
3285
|
-
|
|
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
|
+
};
|
|
3286
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 {
|
|
3287
3677
|
/**
|
|
3288
3678
|
*
|
|
3679
|
+
* @param {ApproveFriendshipRequestPayload} approveFriendshipRequestPayload
|
|
3289
3680
|
* @param {*} [options] Override http request option.
|
|
3290
3681
|
* @throws {RequiredError}
|
|
3291
3682
|
*/
|
|
3292
|
-
async
|
|
3293
|
-
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);
|
|
3294
3685
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
3295
|
-
const localVarOperationServerBasePath = operationServerMap['
|
|
3686
|
+
const localVarOperationServerBasePath = operationServerMap['FriendsApi.friendControllerApproveFriendRequest']?.[localVarOperationServerIndex]?.url;
|
|
3296
3687
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
3297
3688
|
},
|
|
3298
3689
|
/**
|
|
3299
3690
|
*
|
|
3691
|
+
* @param {DeclineFriendshipRequestPayload} declineFriendshipRequestPayload
|
|
3300
3692
|
* @param {*} [options] Override http request option.
|
|
3301
3693
|
* @throws {RequiredError}
|
|
3302
3694
|
*/
|
|
3303
|
-
async
|
|
3304
|
-
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);
|
|
3305
3697
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
3306
|
-
const localVarOperationServerBasePath = operationServerMap['
|
|
3698
|
+
const localVarOperationServerBasePath = operationServerMap['FriendsApi.friendControllerDeclineFriendRequest']?.[localVarOperationServerIndex]?.url;
|
|
3307
3699
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
3308
3700
|
},
|
|
3309
3701
|
/**
|
|
3310
3702
|
*
|
|
3311
|
-
* @param {
|
|
3703
|
+
* @param {number} page
|
|
3704
|
+
* @param {number} pageSize
|
|
3705
|
+
* @param {string} [query]
|
|
3312
3706
|
* @param {*} [options] Override http request option.
|
|
3313
3707
|
* @throws {RequiredError}
|
|
3314
3708
|
*/
|
|
3315
|
-
async
|
|
3316
|
-
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);
|
|
3317
3711
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
3318
|
-
const localVarOperationServerBasePath = operationServerMap['
|
|
3712
|
+
const localVarOperationServerBasePath = operationServerMap['FriendsApi.friendControllerFindFriends']?.[localVarOperationServerIndex]?.url;
|
|
3319
3713
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
3320
3714
|
},
|
|
3321
3715
|
/**
|
|
3322
3716
|
*
|
|
3323
|
-
* @param {
|
|
3717
|
+
* @param {FriendshipStatusCheck} friendshipStatusCheck
|
|
3324
3718
|
* @param {*} [options] Override http request option.
|
|
3325
3719
|
* @throws {RequiredError}
|
|
3326
3720
|
*/
|
|
3327
|
-
async
|
|
3328
|
-
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);
|
|
3329
3723
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
3330
|
-
const localVarOperationServerBasePath = operationServerMap['
|
|
3724
|
+
const localVarOperationServerBasePath = operationServerMap['FriendsApi.friendControllerGetFriendshipStatus']?.[localVarOperationServerIndex]?.url;
|
|
3331
3725
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
3332
3726
|
},
|
|
3333
3727
|
/**
|
|
3334
3728
|
*
|
|
3335
|
-
* @param {BusinessVerificationControllerABNVerificationTypeEnum} type The type of business verification number (e.g., ABN, NZBN)
|
|
3336
|
-
* @param {string} businessNumber
|
|
3337
3729
|
* @param {*} [options] Override http request option.
|
|
3338
3730
|
* @throws {RequiredError}
|
|
3339
3731
|
*/
|
|
3340
|
-
async
|
|
3341
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
3732
|
+
async friendControllerListMyFriends(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<FriendsDTO>> {
|
|
3733
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.friendControllerListMyFriends(options);
|
|
3342
3734
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
3343
|
-
const localVarOperationServerBasePath = operationServerMap['
|
|
3344
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
3345
|
-
},
|
|
3346
|
-
}
|
|
3347
|
-
};
|
|
3348
|
-
|
|
3349
|
-
/**
|
|
3350
|
-
* BusinessApi - factory interface
|
|
3351
|
-
* @export
|
|
3352
|
-
*/
|
|
3353
|
-
export const BusinessApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
3354
|
-
const localVarFp = BusinessApiFp(configuration)
|
|
3355
|
-
return {
|
|
3356
|
-
/**
|
|
3357
|
-
*
|
|
3358
|
-
* @param {BusinessOnBoardingDTO} businessOnBoardingDTO
|
|
3359
|
-
* @param {*} [options] Override http request option.
|
|
3360
|
-
* @throws {RequiredError}
|
|
3361
|
-
*/
|
|
3362
|
-
businessControllerBusinessOnboarding(businessOnBoardingDTO: BusinessOnBoardingDTO, options?: RawAxiosRequestConfig): AxiosPromise<BusinessOnBoardingResponseDTO> {
|
|
3363
|
-
return localVarFp.businessControllerBusinessOnboarding(businessOnBoardingDTO, options).then((request) => request(axios, basePath));
|
|
3364
|
-
},
|
|
3365
|
-
/**
|
|
3366
|
-
*
|
|
3367
|
-
* @param {*} [options] Override http request option.
|
|
3368
|
-
* @throws {RequiredError}
|
|
3369
|
-
*/
|
|
3370
|
-
businessControllerGetMe(options?: RawAxiosRequestConfig): AxiosPromise<BusinessOnBoardingResponseDTO> {
|
|
3371
|
-
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);
|
|
3372
3737
|
},
|
|
3373
3738
|
/**
|
|
3374
3739
|
*
|
|
3740
|
+
* @param {RemoveFriendshipRequestPayload} removeFriendshipRequestPayload
|
|
3375
3741
|
* @param {*} [options] Override http request option.
|
|
3376
3742
|
* @throws {RequiredError}
|
|
3377
3743
|
*/
|
|
3378
|
-
|
|
3379
|
-
|
|
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);
|
|
3380
3749
|
},
|
|
3381
3750
|
/**
|
|
3382
3751
|
*
|
|
3383
|
-
* @param {
|
|
3752
|
+
* @param {SendFriendshipRequestPayload} sendFriendshipRequestPayload
|
|
3384
3753
|
* @param {*} [options] Override http request option.
|
|
3385
3754
|
* @throws {RequiredError}
|
|
3386
3755
|
*/
|
|
3387
|
-
|
|
3388
|
-
|
|
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);
|
|
3389
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 {
|
|
3390
3772
|
/**
|
|
3391
3773
|
*
|
|
3774
|
+
* @param {ApproveFriendshipRequestPayload} approveFriendshipRequestPayload
|
|
3392
3775
|
* @param {*} [options] Override http request option.
|
|
3393
3776
|
* @throws {RequiredError}
|
|
3394
3777
|
*/
|
|
3395
|
-
|
|
3396
|
-
return localVarFp.
|
|
3778
|
+
friendControllerApproveFriendRequest(approveFriendshipRequestPayload: ApproveFriendshipRequestPayload, options?: RawAxiosRequestConfig): AxiosPromise<FriendsResponseDTO> {
|
|
3779
|
+
return localVarFp.friendControllerApproveFriendRequest(approveFriendshipRequestPayload, options).then((request) => request(axios, basePath));
|
|
3397
3780
|
},
|
|
3398
3781
|
/**
|
|
3399
3782
|
*
|
|
3400
|
-
* @param {
|
|
3783
|
+
* @param {DeclineFriendshipRequestPayload} declineFriendshipRequestPayload
|
|
3401
3784
|
* @param {*} [options] Override http request option.
|
|
3402
3785
|
* @throws {RequiredError}
|
|
3403
3786
|
*/
|
|
3404
|
-
|
|
3405
|
-
return localVarFp.
|
|
3787
|
+
friendControllerDeclineFriendRequest(declineFriendshipRequestPayload: DeclineFriendshipRequestPayload, options?: RawAxiosRequestConfig): AxiosPromise<FriendsResponseDTO> {
|
|
3788
|
+
return localVarFp.friendControllerDeclineFriendRequest(declineFriendshipRequestPayload, options).then((request) => request(axios, basePath));
|
|
3406
3789
|
},
|
|
3407
3790
|
/**
|
|
3408
3791
|
*
|
|
3792
|
+
* @param {number} page
|
|
3793
|
+
* @param {number} pageSize
|
|
3794
|
+
* @param {string} [query]
|
|
3409
3795
|
* @param {*} [options] Override http request option.
|
|
3410
3796
|
* @throws {RequiredError}
|
|
3411
3797
|
*/
|
|
3412
|
-
|
|
3413
|
-
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));
|
|
3414
3800
|
},
|
|
3415
3801
|
/**
|
|
3416
3802
|
*
|
|
3803
|
+
* @param {FriendshipStatusCheck} friendshipStatusCheck
|
|
3417
3804
|
* @param {*} [options] Override http request option.
|
|
3418
3805
|
* @throws {RequiredError}
|
|
3419
3806
|
*/
|
|
3420
|
-
|
|
3421
|
-
return localVarFp.
|
|
3807
|
+
friendControllerGetFriendshipStatus(friendshipStatusCheck: FriendshipStatusCheck, options?: RawAxiosRequestConfig): AxiosPromise<FriendshipStatusDTO> {
|
|
3808
|
+
return localVarFp.friendControllerGetFriendshipStatus(friendshipStatusCheck, options).then((request) => request(axios, basePath));
|
|
3422
3809
|
},
|
|
3423
3810
|
/**
|
|
3424
3811
|
*
|
|
3425
|
-
* @param {BusinessFavoriteDTO} businessFavoriteDTO
|
|
3426
3812
|
* @param {*} [options] Override http request option.
|
|
3427
3813
|
* @throws {RequiredError}
|
|
3428
3814
|
*/
|
|
3429
|
-
|
|
3430
|
-
return localVarFp.
|
|
3815
|
+
friendControllerListMyFriends(options?: RawAxiosRequestConfig): AxiosPromise<FriendsDTO> {
|
|
3816
|
+
return localVarFp.friendControllerListMyFriends(options).then((request) => request(axios, basePath));
|
|
3431
3817
|
},
|
|
3432
3818
|
/**
|
|
3433
3819
|
*
|
|
3434
|
-
* @param {
|
|
3820
|
+
* @param {RemoveFriendshipRequestPayload} removeFriendshipRequestPayload
|
|
3435
3821
|
* @param {*} [options] Override http request option.
|
|
3436
3822
|
* @throws {RequiredError}
|
|
3437
3823
|
*/
|
|
3438
|
-
|
|
3439
|
-
return localVarFp.
|
|
3824
|
+
friendControllerRemoveFriendById(removeFriendshipRequestPayload: RemoveFriendshipRequestPayload, options?: RawAxiosRequestConfig): AxiosPromise<FriendsResponseDTO> {
|
|
3825
|
+
return localVarFp.friendControllerRemoveFriendById(removeFriendshipRequestPayload, options).then((request) => request(axios, basePath));
|
|
3440
3826
|
},
|
|
3441
3827
|
/**
|
|
3442
3828
|
*
|
|
3443
|
-
* @param {
|
|
3444
|
-
* @param {string} businessNumber
|
|
3829
|
+
* @param {SendFriendshipRequestPayload} sendFriendshipRequestPayload
|
|
3445
3830
|
* @param {*} [options] Override http request option.
|
|
3446
3831
|
* @throws {RequiredError}
|
|
3447
3832
|
*/
|
|
3448
|
-
|
|
3449
|
-
return localVarFp.
|
|
3833
|
+
friendControllerSendFriendRequest(sendFriendshipRequestPayload: SendFriendshipRequestPayload, options?: RawAxiosRequestConfig): AxiosPromise<FriendsResponseDTO> {
|
|
3834
|
+
return localVarFp.friendControllerSendFriendRequest(sendFriendshipRequestPayload, options).then((request) => request(axios, basePath));
|
|
3450
3835
|
},
|
|
3451
3836
|
};
|
|
3452
3837
|
};
|
|
3453
3838
|
|
|
3454
3839
|
/**
|
|
3455
|
-
*
|
|
3840
|
+
* FriendsApi - object-oriented interface
|
|
3456
3841
|
* @export
|
|
3457
|
-
* @class
|
|
3842
|
+
* @class FriendsApi
|
|
3458
3843
|
* @extends {BaseAPI}
|
|
3459
3844
|
*/
|
|
3460
|
-
export class
|
|
3461
|
-
/**
|
|
3462
|
-
*
|
|
3463
|
-
* @param {BusinessOnBoardingDTO} businessOnBoardingDTO
|
|
3464
|
-
* @param {*} [options] Override http request option.
|
|
3465
|
-
* @throws {RequiredError}
|
|
3466
|
-
* @memberof BusinessApi
|
|
3467
|
-
*/
|
|
3468
|
-
public businessControllerBusinessOnboarding(businessOnBoardingDTO: BusinessOnBoardingDTO, options?: RawAxiosRequestConfig) {
|
|
3469
|
-
return BusinessApiFp(this.configuration).businessControllerBusinessOnboarding(businessOnBoardingDTO, options).then((request) => request(this.axios, this.basePath));
|
|
3470
|
-
}
|
|
3471
|
-
|
|
3472
|
-
/**
|
|
3473
|
-
*
|
|
3474
|
-
* @param {*} [options] Override http request option.
|
|
3475
|
-
* @throws {RequiredError}
|
|
3476
|
-
* @memberof BusinessApi
|
|
3477
|
-
*/
|
|
3478
|
-
public businessControllerGetMe(options?: RawAxiosRequestConfig) {
|
|
3479
|
-
return BusinessApiFp(this.configuration).businessControllerGetMe(options).then((request) => request(this.axios, this.basePath));
|
|
3480
|
-
}
|
|
3481
|
-
|
|
3482
|
-
/**
|
|
3483
|
-
*
|
|
3484
|
-
* @param {*} [options] Override http request option.
|
|
3485
|
-
* @throws {RequiredError}
|
|
3486
|
-
* @memberof BusinessApi
|
|
3487
|
-
*/
|
|
3488
|
-
public businessControllerListBusinesses(options?: RawAxiosRequestConfig) {
|
|
3489
|
-
return BusinessApiFp(this.configuration).businessControllerListBusinesses(options).then((request) => request(this.axios, this.basePath));
|
|
3490
|
-
}
|
|
3491
|
-
|
|
3492
|
-
/**
|
|
3493
|
-
*
|
|
3494
|
-
* @param {GetBusinessVenueDto} getBusinessVenueDto
|
|
3495
|
-
* @param {*} [options] Override http request option.
|
|
3496
|
-
* @throws {RequiredError}
|
|
3497
|
-
* @memberof BusinessApi
|
|
3498
|
-
*/
|
|
3499
|
-
public businessTypeControllerGetBusinessVenue(getBusinessVenueDto: GetBusinessVenueDto, options?: RawAxiosRequestConfig) {
|
|
3500
|
-
return BusinessApiFp(this.configuration).businessTypeControllerGetBusinessVenue(getBusinessVenueDto, options).then((request) => request(this.axios, this.basePath));
|
|
3501
|
-
}
|
|
3502
|
-
|
|
3503
|
-
/**
|
|
3504
|
-
*
|
|
3505
|
-
* @param {*} [options] Override http request option.
|
|
3506
|
-
* @throws {RequiredError}
|
|
3507
|
-
* @memberof BusinessApi
|
|
3508
|
-
*/
|
|
3509
|
-
public businessTypeControllerListBusinessType(options?: RawAxiosRequestConfig) {
|
|
3510
|
-
return BusinessApiFp(this.configuration).businessTypeControllerListBusinessType(options).then((request) => request(this.axios, this.basePath));
|
|
3511
|
-
}
|
|
3512
|
-
|
|
3845
|
+
export class FriendsApi extends BaseAPI {
|
|
3513
3846
|
/**
|
|
3514
3847
|
*
|
|
3515
|
-
* @param {
|
|
3848
|
+
* @param {ApproveFriendshipRequestPayload} approveFriendshipRequestPayload
|
|
3516
3849
|
* @param {*} [options] Override http request option.
|
|
3517
3850
|
* @throws {RequiredError}
|
|
3518
|
-
* @memberof
|
|
3851
|
+
* @memberof FriendsApi
|
|
3519
3852
|
*/
|
|
3520
|
-
public
|
|
3521
|
-
return
|
|
3853
|
+
public friendControllerApproveFriendRequest(approveFriendshipRequestPayload: ApproveFriendshipRequestPayload, options?: RawAxiosRequestConfig) {
|
|
3854
|
+
return FriendsApiFp(this.configuration).friendControllerApproveFriendRequest(approveFriendshipRequestPayload, options).then((request) => request(this.axios, this.basePath));
|
|
3522
3855
|
}
|
|
3523
3856
|
|
|
3524
3857
|
/**
|
|
3525
3858
|
*
|
|
3859
|
+
* @param {DeclineFriendshipRequestPayload} declineFriendshipRequestPayload
|
|
3526
3860
|
* @param {*} [options] Override http request option.
|
|
3527
3861
|
* @throws {RequiredError}
|
|
3528
|
-
* @memberof
|
|
3862
|
+
* @memberof FriendsApi
|
|
3529
3863
|
*/
|
|
3530
|
-
public
|
|
3531
|
-
return
|
|
3864
|
+
public friendControllerDeclineFriendRequest(declineFriendshipRequestPayload: DeclineFriendshipRequestPayload, options?: RawAxiosRequestConfig) {
|
|
3865
|
+
return FriendsApiFp(this.configuration).friendControllerDeclineFriendRequest(declineFriendshipRequestPayload, options).then((request) => request(this.axios, this.basePath));
|
|
3532
3866
|
}
|
|
3533
3867
|
|
|
3534
3868
|
/**
|
|
3535
3869
|
*
|
|
3870
|
+
* @param {number} page
|
|
3871
|
+
* @param {number} pageSize
|
|
3872
|
+
* @param {string} [query]
|
|
3536
3873
|
* @param {*} [options] Override http request option.
|
|
3537
3874
|
* @throws {RequiredError}
|
|
3538
|
-
* @memberof
|
|
3875
|
+
* @memberof FriendsApi
|
|
3539
3876
|
*/
|
|
3540
|
-
public
|
|
3541
|
-
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));
|
|
3542
3879
|
}
|
|
3543
3880
|
|
|
3544
3881
|
/**
|
|
3545
3882
|
*
|
|
3546
|
-
* @param {
|
|
3883
|
+
* @param {FriendshipStatusCheck} friendshipStatusCheck
|
|
3547
3884
|
* @param {*} [options] Override http request option.
|
|
3548
3885
|
* @throws {RequiredError}
|
|
3549
|
-
* @memberof
|
|
3886
|
+
* @memberof FriendsApi
|
|
3550
3887
|
*/
|
|
3551
|
-
public
|
|
3552
|
-
return
|
|
3888
|
+
public friendControllerGetFriendshipStatus(friendshipStatusCheck: FriendshipStatusCheck, options?: RawAxiosRequestConfig) {
|
|
3889
|
+
return FriendsApiFp(this.configuration).friendControllerGetFriendshipStatus(friendshipStatusCheck, options).then((request) => request(this.axios, this.basePath));
|
|
3553
3890
|
}
|
|
3554
3891
|
|
|
3555
3892
|
/**
|
|
3556
3893
|
*
|
|
3557
|
-
* @param {BusinessFavoriteDTO} businessFavoriteDTO
|
|
3558
3894
|
* @param {*} [options] Override http request option.
|
|
3559
3895
|
* @throws {RequiredError}
|
|
3560
|
-
* @memberof
|
|
3896
|
+
* @memberof FriendsApi
|
|
3561
3897
|
*/
|
|
3562
|
-
public
|
|
3563
|
-
return
|
|
3898
|
+
public friendControllerListMyFriends(options?: RawAxiosRequestConfig) {
|
|
3899
|
+
return FriendsApiFp(this.configuration).friendControllerListMyFriends(options).then((request) => request(this.axios, this.basePath));
|
|
3564
3900
|
}
|
|
3565
3901
|
|
|
3566
3902
|
/**
|
|
3567
3903
|
*
|
|
3568
|
-
* @param {
|
|
3569
|
-
* @param {string} businessNumber
|
|
3904
|
+
* @param {RemoveFriendshipRequestPayload} removeFriendshipRequestPayload
|
|
3570
3905
|
* @param {*} [options] Override http request option.
|
|
3571
3906
|
* @throws {RequiredError}
|
|
3572
|
-
* @memberof
|
|
3907
|
+
* @memberof FriendsApi
|
|
3573
3908
|
*/
|
|
3574
|
-
public
|
|
3575
|
-
return
|
|
3576
|
-
}
|
|
3577
|
-
}
|
|
3578
|
-
|
|
3579
|
-
/**
|
|
3580
|
-
* @export
|
|
3581
|
-
*/
|
|
3582
|
-
export const BusinessVerificationControllerABNVerificationTypeEnum = {
|
|
3583
|
-
Abn: 'ABN',
|
|
3584
|
-
Nzbn: 'NZBN',
|
|
3585
|
-
Crn: 'CRN',
|
|
3586
|
-
Ein: 'EIN'
|
|
3587
|
-
} as const;
|
|
3588
|
-
export type BusinessVerificationControllerABNVerificationTypeEnum = typeof BusinessVerificationControllerABNVerificationTypeEnum[keyof typeof BusinessVerificationControllerABNVerificationTypeEnum];
|
|
3589
|
-
|
|
3590
|
-
|
|
3591
|
-
/**
|
|
3592
|
-
* DeviceApi - axios parameter creator
|
|
3593
|
-
* @export
|
|
3594
|
-
*/
|
|
3595
|
-
export const DeviceApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
3596
|
-
return {
|
|
3597
|
-
/**
|
|
3598
|
-
*
|
|
3599
|
-
* @param {AddDevicePayload} addDevicePayload
|
|
3600
|
-
* @param {*} [options] Override http request option.
|
|
3601
|
-
* @throws {RequiredError}
|
|
3602
|
-
*/
|
|
3603
|
-
deviceControllerAddDevice: async (addDevicePayload: AddDevicePayload, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
3604
|
-
// verify required parameter 'addDevicePayload' is not null or undefined
|
|
3605
|
-
assertParamExists('deviceControllerAddDevice', 'addDevicePayload', addDevicePayload)
|
|
3606
|
-
const localVarPath = `/v1/device`;
|
|
3607
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
3608
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
3609
|
-
let baseOptions;
|
|
3610
|
-
if (configuration) {
|
|
3611
|
-
baseOptions = configuration.baseOptions;
|
|
3612
|
-
}
|
|
3613
|
-
|
|
3614
|
-
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
3615
|
-
const localVarHeaderParameter = {} as any;
|
|
3616
|
-
const localVarQueryParameter = {} as any;
|
|
3617
|
-
|
|
3618
|
-
// authentication bearer required
|
|
3619
|
-
// http bearer authentication required
|
|
3620
|
-
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
3621
|
-
|
|
3622
|
-
|
|
3623
|
-
|
|
3624
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
3625
|
-
|
|
3626
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
3627
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3628
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
3629
|
-
localVarRequestOptions.data = serializeDataIfNeeded(addDevicePayload, localVarRequestOptions, configuration)
|
|
3630
|
-
|
|
3631
|
-
return {
|
|
3632
|
-
url: toPathString(localVarUrlObj),
|
|
3633
|
-
options: localVarRequestOptions,
|
|
3634
|
-
};
|
|
3635
|
-
},
|
|
3636
|
-
}
|
|
3637
|
-
};
|
|
3638
|
-
|
|
3639
|
-
/**
|
|
3640
|
-
* DeviceApi - functional programming interface
|
|
3641
|
-
* @export
|
|
3642
|
-
*/
|
|
3643
|
-
export const DeviceApiFp = function(configuration?: Configuration) {
|
|
3644
|
-
const localVarAxiosParamCreator = DeviceApiAxiosParamCreator(configuration)
|
|
3645
|
-
return {
|
|
3646
|
-
/**
|
|
3647
|
-
*
|
|
3648
|
-
* @param {AddDevicePayload} addDevicePayload
|
|
3649
|
-
* @param {*} [options] Override http request option.
|
|
3650
|
-
* @throws {RequiredError}
|
|
3651
|
-
*/
|
|
3652
|
-
async deviceControllerAddDevice(addDevicePayload: AddDevicePayload, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DeviceAddResponse>> {
|
|
3653
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.deviceControllerAddDevice(addDevicePayload, options);
|
|
3654
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
3655
|
-
const localVarOperationServerBasePath = operationServerMap['DeviceApi.deviceControllerAddDevice']?.[localVarOperationServerIndex]?.url;
|
|
3656
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
3657
|
-
},
|
|
3909
|
+
public friendControllerRemoveFriendById(removeFriendshipRequestPayload: RemoveFriendshipRequestPayload, options?: RawAxiosRequestConfig) {
|
|
3910
|
+
return FriendsApiFp(this.configuration).friendControllerRemoveFriendById(removeFriendshipRequestPayload, options).then((request) => request(this.axios, this.basePath));
|
|
3658
3911
|
}
|
|
3659
|
-
};
|
|
3660
|
-
|
|
3661
|
-
/**
|
|
3662
|
-
* DeviceApi - factory interface
|
|
3663
|
-
* @export
|
|
3664
|
-
*/
|
|
3665
|
-
export const DeviceApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
3666
|
-
const localVarFp = DeviceApiFp(configuration)
|
|
3667
|
-
return {
|
|
3668
|
-
/**
|
|
3669
|
-
*
|
|
3670
|
-
* @param {AddDevicePayload} addDevicePayload
|
|
3671
|
-
* @param {*} [options] Override http request option.
|
|
3672
|
-
* @throws {RequiredError}
|
|
3673
|
-
*/
|
|
3674
|
-
deviceControllerAddDevice(addDevicePayload: AddDevicePayload, options?: RawAxiosRequestConfig): AxiosPromise<DeviceAddResponse> {
|
|
3675
|
-
return localVarFp.deviceControllerAddDevice(addDevicePayload, options).then((request) => request(axios, basePath));
|
|
3676
|
-
},
|
|
3677
|
-
};
|
|
3678
|
-
};
|
|
3679
3912
|
|
|
3680
|
-
/**
|
|
3681
|
-
* DeviceApi - object-oriented interface
|
|
3682
|
-
* @export
|
|
3683
|
-
* @class DeviceApi
|
|
3684
|
-
* @extends {BaseAPI}
|
|
3685
|
-
*/
|
|
3686
|
-
export class DeviceApi extends BaseAPI {
|
|
3687
3913
|
/**
|
|
3688
3914
|
*
|
|
3689
|
-
* @param {
|
|
3915
|
+
* @param {SendFriendshipRequestPayload} sendFriendshipRequestPayload
|
|
3690
3916
|
* @param {*} [options] Override http request option.
|
|
3691
3917
|
* @throws {RequiredError}
|
|
3692
|
-
* @memberof
|
|
3918
|
+
* @memberof FriendsApi
|
|
3693
3919
|
*/
|
|
3694
|
-
public
|
|
3695
|
-
return
|
|
3920
|
+
public friendControllerSendFriendRequest(sendFriendshipRequestPayload: SendFriendshipRequestPayload, options?: RawAxiosRequestConfig) {
|
|
3921
|
+
return FriendsApiFp(this.configuration).friendControllerSendFriendRequest(sendFriendshipRequestPayload, options).then((request) => request(this.axios, this.basePath));
|
|
3696
3922
|
}
|
|
3697
3923
|
}
|
|
3698
3924
|
|
|
@@ -4879,45 +5105,6 @@ export const UsersApiAxiosParamCreator = function (configuration?: Configuration
|
|
|
4879
5105
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
4880
5106
|
localVarRequestOptions.data = serializeDataIfNeeded(onBoardingDTO, localVarRequestOptions, configuration)
|
|
4881
5107
|
|
|
4882
|
-
return {
|
|
4883
|
-
url: toPathString(localVarUrlObj),
|
|
4884
|
-
options: localVarRequestOptions,
|
|
4885
|
-
};
|
|
4886
|
-
},
|
|
4887
|
-
/**
|
|
4888
|
-
*
|
|
4889
|
-
* @param {UserSyncLocationDTO} userSyncLocationDTO
|
|
4890
|
-
* @param {*} [options] Override http request option.
|
|
4891
|
-
* @throws {RequiredError}
|
|
4892
|
-
*/
|
|
4893
|
-
usersControllerSyncUserLocation: async (userSyncLocationDTO: UserSyncLocationDTO, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
4894
|
-
// verify required parameter 'userSyncLocationDTO' is not null or undefined
|
|
4895
|
-
assertParamExists('usersControllerSyncUserLocation', 'userSyncLocationDTO', userSyncLocationDTO)
|
|
4896
|
-
const localVarPath = `/v1/user/sync/user/location`;
|
|
4897
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
4898
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
4899
|
-
let baseOptions;
|
|
4900
|
-
if (configuration) {
|
|
4901
|
-
baseOptions = configuration.baseOptions;
|
|
4902
|
-
}
|
|
4903
|
-
|
|
4904
|
-
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
4905
|
-
const localVarHeaderParameter = {} as any;
|
|
4906
|
-
const localVarQueryParameter = {} as any;
|
|
4907
|
-
|
|
4908
|
-
// authentication bearer required
|
|
4909
|
-
// http bearer authentication required
|
|
4910
|
-
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
4911
|
-
|
|
4912
|
-
|
|
4913
|
-
|
|
4914
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
4915
|
-
|
|
4916
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
4917
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4918
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
4919
|
-
localVarRequestOptions.data = serializeDataIfNeeded(userSyncLocationDTO, localVarRequestOptions, configuration)
|
|
4920
|
-
|
|
4921
5108
|
return {
|
|
4922
5109
|
url: toPathString(localVarUrlObj),
|
|
4923
5110
|
options: localVarRequestOptions,
|
|
@@ -4956,18 +5143,6 @@ export const UsersApiFp = function(configuration?: Configuration) {
|
|
|
4956
5143
|
const localVarOperationServerBasePath = operationServerMap['UsersApi.usersControllerOnBoarded']?.[localVarOperationServerIndex]?.url;
|
|
4957
5144
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4958
5145
|
},
|
|
4959
|
-
/**
|
|
4960
|
-
*
|
|
4961
|
-
* @param {UserSyncLocationDTO} userSyncLocationDTO
|
|
4962
|
-
* @param {*} [options] Override http request option.
|
|
4963
|
-
* @throws {RequiredError}
|
|
4964
|
-
*/
|
|
4965
|
-
async usersControllerSyncUserLocation(userSyncLocationDTO: UserSyncLocationDTO, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<OnBoardingResponseDTO>> {
|
|
4966
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.usersControllerSyncUserLocation(userSyncLocationDTO, options);
|
|
4967
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
4968
|
-
const localVarOperationServerBasePath = operationServerMap['UsersApi.usersControllerSyncUserLocation']?.[localVarOperationServerIndex]?.url;
|
|
4969
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4970
|
-
},
|
|
4971
5146
|
}
|
|
4972
5147
|
};
|
|
4973
5148
|
|
|
@@ -4995,15 +5170,6 @@ export const UsersApiFactory = function (configuration?: Configuration, basePath
|
|
|
4995
5170
|
usersControllerOnBoarded(onBoardingDTO: OnBoardingDTO, options?: RawAxiosRequestConfig): AxiosPromise<OnBoardingResponseDTO> {
|
|
4996
5171
|
return localVarFp.usersControllerOnBoarded(onBoardingDTO, options).then((request) => request(axios, basePath));
|
|
4997
5172
|
},
|
|
4998
|
-
/**
|
|
4999
|
-
*
|
|
5000
|
-
* @param {UserSyncLocationDTO} userSyncLocationDTO
|
|
5001
|
-
* @param {*} [options] Override http request option.
|
|
5002
|
-
* @throws {RequiredError}
|
|
5003
|
-
*/
|
|
5004
|
-
usersControllerSyncUserLocation(userSyncLocationDTO: UserSyncLocationDTO, options?: RawAxiosRequestConfig): AxiosPromise<OnBoardingResponseDTO> {
|
|
5005
|
-
return localVarFp.usersControllerSyncUserLocation(userSyncLocationDTO, options).then((request) => request(axios, basePath));
|
|
5006
|
-
},
|
|
5007
5173
|
};
|
|
5008
5174
|
};
|
|
5009
5175
|
|
|
@@ -5034,17 +5200,6 @@ export class UsersApi extends BaseAPI {
|
|
|
5034
5200
|
public usersControllerOnBoarded(onBoardingDTO: OnBoardingDTO, options?: RawAxiosRequestConfig) {
|
|
5035
5201
|
return UsersApiFp(this.configuration).usersControllerOnBoarded(onBoardingDTO, options).then((request) => request(this.axios, this.basePath));
|
|
5036
5202
|
}
|
|
5037
|
-
|
|
5038
|
-
/**
|
|
5039
|
-
*
|
|
5040
|
-
* @param {UserSyncLocationDTO} userSyncLocationDTO
|
|
5041
|
-
* @param {*} [options] Override http request option.
|
|
5042
|
-
* @throws {RequiredError}
|
|
5043
|
-
* @memberof UsersApi
|
|
5044
|
-
*/
|
|
5045
|
-
public usersControllerSyncUserLocation(userSyncLocationDTO: UserSyncLocationDTO, options?: RawAxiosRequestConfig) {
|
|
5046
|
-
return UsersApiFp(this.configuration).usersControllerSyncUserLocation(userSyncLocationDTO, options).then((request) => request(this.axios, this.basePath));
|
|
5047
|
-
}
|
|
5048
5203
|
}
|
|
5049
5204
|
|
|
5050
5205
|
|