@gooday_corp/gooday-api-client 1.1.26 → 1.1.28
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 +1710 -164
- 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
|
|
@@ -723,6 +736,19 @@ export interface CreatePaymentLinkDTO {
|
|
|
723
736
|
*/
|
|
724
737
|
'user': string;
|
|
725
738
|
}
|
|
739
|
+
/**
|
|
740
|
+
*
|
|
741
|
+
* @export
|
|
742
|
+
* @interface DeclineFriendshipRequestPayload
|
|
743
|
+
*/
|
|
744
|
+
export interface DeclineFriendshipRequestPayload {
|
|
745
|
+
/**
|
|
746
|
+
*
|
|
747
|
+
* @type {string}
|
|
748
|
+
* @memberof DeclineFriendshipRequestPayload
|
|
749
|
+
*/
|
|
750
|
+
'from': string;
|
|
751
|
+
}
|
|
726
752
|
/**
|
|
727
753
|
*
|
|
728
754
|
* @export
|
|
@@ -823,6 +849,19 @@ export interface EmployeesSizeListResponse {
|
|
|
823
849
|
*/
|
|
824
850
|
'data': Array<EmployeesSizeEntity>;
|
|
825
851
|
}
|
|
852
|
+
/**
|
|
853
|
+
*
|
|
854
|
+
* @export
|
|
855
|
+
* @interface FeedbackPayloadDTO
|
|
856
|
+
*/
|
|
857
|
+
export interface FeedbackPayloadDTO {
|
|
858
|
+
/**
|
|
859
|
+
* Feedback content or message
|
|
860
|
+
* @type {string}
|
|
861
|
+
* @memberof FeedbackPayloadDTO
|
|
862
|
+
*/
|
|
863
|
+
'content': string;
|
|
864
|
+
}
|
|
826
865
|
/**
|
|
827
866
|
*
|
|
828
867
|
* @export
|
|
@@ -874,6 +913,87 @@ export interface ForgotPasswordResponseDTO {
|
|
|
874
913
|
*/
|
|
875
914
|
'message': string;
|
|
876
915
|
}
|
|
916
|
+
/**
|
|
917
|
+
*
|
|
918
|
+
* @export
|
|
919
|
+
* @interface FriendsDTO
|
|
920
|
+
*/
|
|
921
|
+
export interface FriendsDTO {
|
|
922
|
+
/**
|
|
923
|
+
* statusCode
|
|
924
|
+
* @type {number}
|
|
925
|
+
* @memberof FriendsDTO
|
|
926
|
+
*/
|
|
927
|
+
'statusCode': number;
|
|
928
|
+
/**
|
|
929
|
+
* User
|
|
930
|
+
* @type {Array<UserEntity>}
|
|
931
|
+
* @memberof FriendsDTO
|
|
932
|
+
*/
|
|
933
|
+
'data': Array<UserEntity>;
|
|
934
|
+
}
|
|
935
|
+
/**
|
|
936
|
+
*
|
|
937
|
+
* @export
|
|
938
|
+
* @interface FriendsResponseDTO
|
|
939
|
+
*/
|
|
940
|
+
export interface FriendsResponseDTO {
|
|
941
|
+
/**
|
|
942
|
+
* statusCode
|
|
943
|
+
* @type {number}
|
|
944
|
+
* @memberof FriendsResponseDTO
|
|
945
|
+
*/
|
|
946
|
+
'statusCode': number;
|
|
947
|
+
/**
|
|
948
|
+
*
|
|
949
|
+
* @type {boolean}
|
|
950
|
+
* @memberof FriendsResponseDTO
|
|
951
|
+
*/
|
|
952
|
+
'success': boolean;
|
|
953
|
+
}
|
|
954
|
+
/**
|
|
955
|
+
*
|
|
956
|
+
* @export
|
|
957
|
+
* @interface FriendshipStatusCheck
|
|
958
|
+
*/
|
|
959
|
+
export interface FriendshipStatusCheck {
|
|
960
|
+
/**
|
|
961
|
+
*
|
|
962
|
+
* @type {string}
|
|
963
|
+
* @memberof FriendshipStatusCheck
|
|
964
|
+
*/
|
|
965
|
+
'to': string;
|
|
966
|
+
}
|
|
967
|
+
/**
|
|
968
|
+
*
|
|
969
|
+
* @export
|
|
970
|
+
* @interface FriendshipStatusDTO
|
|
971
|
+
*/
|
|
972
|
+
export interface FriendshipStatusDTO {
|
|
973
|
+
/**
|
|
974
|
+
* statusCode
|
|
975
|
+
* @type {number}
|
|
976
|
+
* @memberof FriendshipStatusDTO
|
|
977
|
+
*/
|
|
978
|
+
'statusCode': number;
|
|
979
|
+
/**
|
|
980
|
+
*
|
|
981
|
+
* @type {string}
|
|
982
|
+
* @memberof FriendshipStatusDTO
|
|
983
|
+
*/
|
|
984
|
+
'success': FriendshipStatusDTOSuccessEnum;
|
|
985
|
+
}
|
|
986
|
+
|
|
987
|
+
export const FriendshipStatusDTOSuccessEnum = {
|
|
988
|
+
Pending: 'PENDING',
|
|
989
|
+
Confirmed: 'CONFIRMED',
|
|
990
|
+
Rejected: 'REJECTED',
|
|
991
|
+
Cancelled: 'CANCELLED',
|
|
992
|
+
Unknown: 'UNKNOWN'
|
|
993
|
+
} as const;
|
|
994
|
+
|
|
995
|
+
export type FriendshipStatusDTOSuccessEnum = typeof FriendshipStatusDTOSuccessEnum[keyof typeof FriendshipStatusDTOSuccessEnum];
|
|
996
|
+
|
|
877
997
|
/**
|
|
878
998
|
*
|
|
879
999
|
* @export
|
|
@@ -911,6 +1031,38 @@ export interface GetBusinessVenueDto {
|
|
|
911
1031
|
*/
|
|
912
1032
|
'limit'?: number;
|
|
913
1033
|
}
|
|
1034
|
+
/**
|
|
1035
|
+
*
|
|
1036
|
+
* @export
|
|
1037
|
+
* @interface GetNotificationDTO
|
|
1038
|
+
*/
|
|
1039
|
+
export interface GetNotificationDTO {
|
|
1040
|
+
/**
|
|
1041
|
+
* statusCode
|
|
1042
|
+
* @type {number}
|
|
1043
|
+
* @memberof GetNotificationDTO
|
|
1044
|
+
*/
|
|
1045
|
+
'statusCode': number;
|
|
1046
|
+
/**
|
|
1047
|
+
* Notifications
|
|
1048
|
+
* @type {Array<NotificationEntity>}
|
|
1049
|
+
* @memberof GetNotificationDTO
|
|
1050
|
+
*/
|
|
1051
|
+
'data': Array<NotificationEntity>;
|
|
1052
|
+
}
|
|
1053
|
+
/**
|
|
1054
|
+
*
|
|
1055
|
+
* @export
|
|
1056
|
+
* @interface GetUserDTO
|
|
1057
|
+
*/
|
|
1058
|
+
export interface GetUserDTO {
|
|
1059
|
+
/**
|
|
1060
|
+
* 66f135c95a81ce68c9015414
|
|
1061
|
+
* @type {string}
|
|
1062
|
+
* @memberof GetUserDTO
|
|
1063
|
+
*/
|
|
1064
|
+
'id': string;
|
|
1065
|
+
}
|
|
914
1066
|
/**
|
|
915
1067
|
*
|
|
916
1068
|
* @export
|
|
@@ -981,6 +1133,37 @@ export interface GoogleVerificationPayloadDTO {
|
|
|
981
1133
|
*/
|
|
982
1134
|
'token': string;
|
|
983
1135
|
}
|
|
1136
|
+
/**
|
|
1137
|
+
*
|
|
1138
|
+
* @export
|
|
1139
|
+
* @interface HelpCenterPayloadDTO
|
|
1140
|
+
*/
|
|
1141
|
+
export interface HelpCenterPayloadDTO {
|
|
1142
|
+
/**
|
|
1143
|
+
* First name of the user
|
|
1144
|
+
* @type {string}
|
|
1145
|
+
* @memberof HelpCenterPayloadDTO
|
|
1146
|
+
*/
|
|
1147
|
+
'firstName': string;
|
|
1148
|
+
/**
|
|
1149
|
+
* Last name of the user
|
|
1150
|
+
* @type {string}
|
|
1151
|
+
* @memberof HelpCenterPayloadDTO
|
|
1152
|
+
*/
|
|
1153
|
+
'lastName': string;
|
|
1154
|
+
/**
|
|
1155
|
+
* Feedback content or message
|
|
1156
|
+
* @type {string}
|
|
1157
|
+
* @memberof HelpCenterPayloadDTO
|
|
1158
|
+
*/
|
|
1159
|
+
'content': string;
|
|
1160
|
+
/**
|
|
1161
|
+
* User email address
|
|
1162
|
+
* @type {string}
|
|
1163
|
+
* @memberof HelpCenterPayloadDTO
|
|
1164
|
+
*/
|
|
1165
|
+
'email': string;
|
|
1166
|
+
}
|
|
984
1167
|
/**
|
|
985
1168
|
*
|
|
986
1169
|
* @export
|
|
@@ -1267,6 +1450,141 @@ export interface NewPasswordResponseDTO {
|
|
|
1267
1450
|
*/
|
|
1268
1451
|
'message': string;
|
|
1269
1452
|
}
|
|
1453
|
+
/**
|
|
1454
|
+
*
|
|
1455
|
+
* @export
|
|
1456
|
+
* @interface NotificationEntity
|
|
1457
|
+
*/
|
|
1458
|
+
export interface NotificationEntity {
|
|
1459
|
+
/**
|
|
1460
|
+
* The title of the notification
|
|
1461
|
+
* @type {string}
|
|
1462
|
+
* @memberof NotificationEntity
|
|
1463
|
+
*/
|
|
1464
|
+
'_id': string;
|
|
1465
|
+
/**
|
|
1466
|
+
* The title of the notification
|
|
1467
|
+
* @type {string}
|
|
1468
|
+
* @memberof NotificationEntity
|
|
1469
|
+
*/
|
|
1470
|
+
'title': string;
|
|
1471
|
+
/**
|
|
1472
|
+
* The message content of the notification
|
|
1473
|
+
* @type {string}
|
|
1474
|
+
* @memberof NotificationEntity
|
|
1475
|
+
*/
|
|
1476
|
+
'message': string;
|
|
1477
|
+
/**
|
|
1478
|
+
* The ID of the recipient (optional)
|
|
1479
|
+
* @type {string}
|
|
1480
|
+
* @memberof NotificationEntity
|
|
1481
|
+
*/
|
|
1482
|
+
'recipientId'?: string;
|
|
1483
|
+
/**
|
|
1484
|
+
* The badge number (optional)
|
|
1485
|
+
* @type {number}
|
|
1486
|
+
* @memberof NotificationEntity
|
|
1487
|
+
*/
|
|
1488
|
+
'badge'?: number;
|
|
1489
|
+
/**
|
|
1490
|
+
* The user associated with the notification
|
|
1491
|
+
* @type {string}
|
|
1492
|
+
* @memberof NotificationEntity
|
|
1493
|
+
*/
|
|
1494
|
+
'user': string;
|
|
1495
|
+
/**
|
|
1496
|
+
* The channel through which the notification is sent
|
|
1497
|
+
* @type {string}
|
|
1498
|
+
* @memberof NotificationEntity
|
|
1499
|
+
*/
|
|
1500
|
+
'channel': NotificationEntityChannelEnum;
|
|
1501
|
+
/**
|
|
1502
|
+
* The type of the notification (optional)
|
|
1503
|
+
* @type {string}
|
|
1504
|
+
* @memberof NotificationEntity
|
|
1505
|
+
*/
|
|
1506
|
+
'type'?: NotificationEntityTypeEnum;
|
|
1507
|
+
/**
|
|
1508
|
+
* The status of the notification
|
|
1509
|
+
* @type {string}
|
|
1510
|
+
* @memberof NotificationEntity
|
|
1511
|
+
*/
|
|
1512
|
+
'status': NotificationEntityStatusEnum;
|
|
1513
|
+
/**
|
|
1514
|
+
* The scheduled time for the notification (optional)
|
|
1515
|
+
* @type {string}
|
|
1516
|
+
* @memberof NotificationEntity
|
|
1517
|
+
*/
|
|
1518
|
+
'scheduledAt'?: string;
|
|
1519
|
+
/**
|
|
1520
|
+
* Additional metadata associated with the notification (optional)
|
|
1521
|
+
* @type {object}
|
|
1522
|
+
* @memberof NotificationEntity
|
|
1523
|
+
*/
|
|
1524
|
+
'metadata'?: object;
|
|
1525
|
+
/**
|
|
1526
|
+
* Indicates if the notification has been read (optional)
|
|
1527
|
+
* @type {boolean}
|
|
1528
|
+
* @memberof NotificationEntity
|
|
1529
|
+
*/
|
|
1530
|
+
'isRead': boolean;
|
|
1531
|
+
}
|
|
1532
|
+
|
|
1533
|
+
export const NotificationEntityChannelEnum = {
|
|
1534
|
+
PushNotification: 'push-notification',
|
|
1535
|
+
Email: 'email'
|
|
1536
|
+
} as const;
|
|
1537
|
+
|
|
1538
|
+
export type NotificationEntityChannelEnum = typeof NotificationEntityChannelEnum[keyof typeof NotificationEntityChannelEnum];
|
|
1539
|
+
export const NotificationEntityTypeEnum = {
|
|
1540
|
+
UserSignup: 'user_signup',
|
|
1541
|
+
EmailVerification: 'email_verification',
|
|
1542
|
+
Promotion: 'promotion',
|
|
1543
|
+
SystemAlert: 'system_alert',
|
|
1544
|
+
FriendRequest: 'friend_request'
|
|
1545
|
+
} as const;
|
|
1546
|
+
|
|
1547
|
+
export type NotificationEntityTypeEnum = typeof NotificationEntityTypeEnum[keyof typeof NotificationEntityTypeEnum];
|
|
1548
|
+
export const NotificationEntityStatusEnum = {
|
|
1549
|
+
Pending: 'pending',
|
|
1550
|
+
Sent: 'sent',
|
|
1551
|
+
Failed: 'failed'
|
|
1552
|
+
} as const;
|
|
1553
|
+
|
|
1554
|
+
export type NotificationEntityStatusEnum = typeof NotificationEntityStatusEnum[keyof typeof NotificationEntityStatusEnum];
|
|
1555
|
+
|
|
1556
|
+
/**
|
|
1557
|
+
*
|
|
1558
|
+
* @export
|
|
1559
|
+
* @interface NotificationReadDTO
|
|
1560
|
+
*/
|
|
1561
|
+
export interface NotificationReadDTO {
|
|
1562
|
+
/**
|
|
1563
|
+
* Notification Id
|
|
1564
|
+
* @type {string}
|
|
1565
|
+
* @memberof NotificationReadDTO
|
|
1566
|
+
*/
|
|
1567
|
+
'notificationId': string;
|
|
1568
|
+
}
|
|
1569
|
+
/**
|
|
1570
|
+
*
|
|
1571
|
+
* @export
|
|
1572
|
+
* @interface NotificationReadResponseDTO
|
|
1573
|
+
*/
|
|
1574
|
+
export interface NotificationReadResponseDTO {
|
|
1575
|
+
/**
|
|
1576
|
+
* statusCode
|
|
1577
|
+
* @type {number}
|
|
1578
|
+
* @memberof NotificationReadResponseDTO
|
|
1579
|
+
*/
|
|
1580
|
+
'statusCode': number;
|
|
1581
|
+
/**
|
|
1582
|
+
*
|
|
1583
|
+
* @type {boolean}
|
|
1584
|
+
* @memberof NotificationReadResponseDTO
|
|
1585
|
+
*/
|
|
1586
|
+
'data': boolean;
|
|
1587
|
+
}
|
|
1270
1588
|
/**
|
|
1271
1589
|
*
|
|
1272
1590
|
* @export
|
|
@@ -1527,6 +1845,19 @@ export interface PriceRangeListResponse {
|
|
|
1527
1845
|
*/
|
|
1528
1846
|
'data': Array<PriceRangeEntity>;
|
|
1529
1847
|
}
|
|
1848
|
+
/**
|
|
1849
|
+
*
|
|
1850
|
+
* @export
|
|
1851
|
+
* @interface RemoveFriendshipRequestPayload
|
|
1852
|
+
*/
|
|
1853
|
+
export interface RemoveFriendshipRequestPayload {
|
|
1854
|
+
/**
|
|
1855
|
+
*
|
|
1856
|
+
* @type {string}
|
|
1857
|
+
* @memberof RemoveFriendshipRequestPayload
|
|
1858
|
+
*/
|
|
1859
|
+
'from': string;
|
|
1860
|
+
}
|
|
1530
1861
|
/**
|
|
1531
1862
|
*
|
|
1532
1863
|
* @export
|
|
@@ -1565,6 +1896,19 @@ export interface ResetPasswordResponseDTO {
|
|
|
1565
1896
|
*/
|
|
1566
1897
|
'message': string;
|
|
1567
1898
|
}
|
|
1899
|
+
/**
|
|
1900
|
+
*
|
|
1901
|
+
* @export
|
|
1902
|
+
* @interface SendFriendshipRequestPayload
|
|
1903
|
+
*/
|
|
1904
|
+
export interface SendFriendshipRequestPayload {
|
|
1905
|
+
/**
|
|
1906
|
+
*
|
|
1907
|
+
* @type {string}
|
|
1908
|
+
* @memberof SendFriendshipRequestPayload
|
|
1909
|
+
*/
|
|
1910
|
+
'to': string;
|
|
1911
|
+
}
|
|
1568
1912
|
/**
|
|
1569
1913
|
*
|
|
1570
1914
|
* @export
|
|
@@ -1821,6 +2165,12 @@ export interface UserEntity {
|
|
|
1821
2165
|
* @memberof UserEntity
|
|
1822
2166
|
*/
|
|
1823
2167
|
'lastName': string;
|
|
2168
|
+
/**
|
|
2169
|
+
* Is account deactivated?
|
|
2170
|
+
* @type {boolean}
|
|
2171
|
+
* @memberof UserEntity
|
|
2172
|
+
*/
|
|
2173
|
+
'isDeleted': boolean;
|
|
1824
2174
|
/**
|
|
1825
2175
|
* Email address of the user
|
|
1826
2176
|
* @type {string}
|
|
@@ -1893,6 +2243,12 @@ export interface UserEntity {
|
|
|
1893
2243
|
* @memberof UserEntity
|
|
1894
2244
|
*/
|
|
1895
2245
|
'business'?: BusinessEntity;
|
|
2246
|
+
/**
|
|
2247
|
+
* User permissions
|
|
2248
|
+
* @type {UserPermissionDTO}
|
|
2249
|
+
* @memberof UserEntity
|
|
2250
|
+
*/
|
|
2251
|
+
'permissions': UserPermissionDTO;
|
|
1896
2252
|
/**
|
|
1897
2253
|
* Action user has to perform
|
|
1898
2254
|
* @type {Array<string>}
|
|
@@ -1927,6 +2283,67 @@ export interface UserMeDTO {
|
|
|
1927
2283
|
*/
|
|
1928
2284
|
'data': UserEntity;
|
|
1929
2285
|
}
|
|
2286
|
+
/**
|
|
2287
|
+
*
|
|
2288
|
+
* @export
|
|
2289
|
+
* @interface UserPermissionDTO
|
|
2290
|
+
*/
|
|
2291
|
+
export interface UserPermissionDTO {
|
|
2292
|
+
/**
|
|
2293
|
+
* Specifies if the user has granted location access permission.
|
|
2294
|
+
* @type {boolean}
|
|
2295
|
+
* @memberof UserPermissionDTO
|
|
2296
|
+
*/
|
|
2297
|
+
'locationAccessPermission'?: boolean;
|
|
2298
|
+
/**
|
|
2299
|
+
* Specifies if the user has granted access to the device timezone.
|
|
2300
|
+
* @type {boolean}
|
|
2301
|
+
* @memberof UserPermissionDTO
|
|
2302
|
+
*/
|
|
2303
|
+
'deviceTimezone'?: boolean;
|
|
2304
|
+
/**
|
|
2305
|
+
* Specifies if the user has granted permission for timezone settings.
|
|
2306
|
+
* @type {boolean}
|
|
2307
|
+
* @memberof UserPermissionDTO
|
|
2308
|
+
*/
|
|
2309
|
+
'timezone'?: boolean;
|
|
2310
|
+
/**
|
|
2311
|
+
* Specifies if the user has granted calendar access permission.
|
|
2312
|
+
* @type {boolean}
|
|
2313
|
+
* @memberof UserPermissionDTO
|
|
2314
|
+
*/
|
|
2315
|
+
'calendar'?: boolean;
|
|
2316
|
+
/**
|
|
2317
|
+
* Specifies if the user has granted access to tasks.
|
|
2318
|
+
* @type {boolean}
|
|
2319
|
+
* @memberof UserPermissionDTO
|
|
2320
|
+
*/
|
|
2321
|
+
'tasks'?: boolean;
|
|
2322
|
+
/**
|
|
2323
|
+
* Specifies if the user has granted access to reminders.
|
|
2324
|
+
* @type {boolean}
|
|
2325
|
+
* @memberof UserPermissionDTO
|
|
2326
|
+
*/
|
|
2327
|
+
'reminders'?: boolean;
|
|
2328
|
+
/**
|
|
2329
|
+
* Specifies if the user has granted access to the waitlist feature.
|
|
2330
|
+
* @type {boolean}
|
|
2331
|
+
* @memberof UserPermissionDTO
|
|
2332
|
+
*/
|
|
2333
|
+
'waitlist'?: boolean;
|
|
2334
|
+
/**
|
|
2335
|
+
* Specifies if the user has granted access to the booking feature.
|
|
2336
|
+
* @type {boolean}
|
|
2337
|
+
* @memberof UserPermissionDTO
|
|
2338
|
+
*/
|
|
2339
|
+
'booking'?: boolean;
|
|
2340
|
+
/**
|
|
2341
|
+
* Specifies if the user has granted access to the invites feature.
|
|
2342
|
+
* @type {boolean}
|
|
2343
|
+
* @memberof UserPermissionDTO
|
|
2344
|
+
*/
|
|
2345
|
+
'invites'?: boolean;
|
|
2346
|
+
}
|
|
1930
2347
|
/**
|
|
1931
2348
|
*
|
|
1932
2349
|
* @export
|
|
@@ -1957,15 +2374,21 @@ export type UserPlanDTONameEnum = typeof UserPlanDTONameEnum[keyof typeof UserPl
|
|
|
1957
2374
|
/**
|
|
1958
2375
|
*
|
|
1959
2376
|
* @export
|
|
1960
|
-
* @interface
|
|
2377
|
+
* @interface UserSyncDTO
|
|
1961
2378
|
*/
|
|
1962
|
-
export interface
|
|
2379
|
+
export interface UserSyncDTO {
|
|
1963
2380
|
/**
|
|
1964
2381
|
* User location
|
|
1965
2382
|
* @type {Array<number>}
|
|
1966
|
-
* @memberof
|
|
2383
|
+
* @memberof UserSyncDTO
|
|
1967
2384
|
*/
|
|
1968
2385
|
'location': Array<number>;
|
|
2386
|
+
/**
|
|
2387
|
+
* Timezone
|
|
2388
|
+
* @type {string}
|
|
2389
|
+
* @memberof UserSyncDTO
|
|
2390
|
+
*/
|
|
2391
|
+
'timezone'?: string;
|
|
1969
2392
|
}
|
|
1970
2393
|
/**
|
|
1971
2394
|
*
|
|
@@ -2165,6 +2588,187 @@ export class AIApi extends BaseAPI {
|
|
|
2165
2588
|
|
|
2166
2589
|
|
|
2167
2590
|
|
|
2591
|
+
/**
|
|
2592
|
+
* AppApi - axios parameter creator
|
|
2593
|
+
* @export
|
|
2594
|
+
*/
|
|
2595
|
+
export const AppApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
2596
|
+
return {
|
|
2597
|
+
/**
|
|
2598
|
+
*
|
|
2599
|
+
* @param {FeedbackPayloadDTO} feedbackPayloadDTO
|
|
2600
|
+
* @param {*} [options] Override http request option.
|
|
2601
|
+
* @throws {RequiredError}
|
|
2602
|
+
*/
|
|
2603
|
+
appResponseControllerFeedbackResponse: async (feedbackPayloadDTO: FeedbackPayloadDTO, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
2604
|
+
// verify required parameter 'feedbackPayloadDTO' is not null or undefined
|
|
2605
|
+
assertParamExists('appResponseControllerFeedbackResponse', 'feedbackPayloadDTO', feedbackPayloadDTO)
|
|
2606
|
+
const localVarPath = `/v1/feedback`;
|
|
2607
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
2608
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2609
|
+
let baseOptions;
|
|
2610
|
+
if (configuration) {
|
|
2611
|
+
baseOptions = configuration.baseOptions;
|
|
2612
|
+
}
|
|
2613
|
+
|
|
2614
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
2615
|
+
const localVarHeaderParameter = {} as any;
|
|
2616
|
+
const localVarQueryParameter = {} as any;
|
|
2617
|
+
|
|
2618
|
+
// authentication bearer required
|
|
2619
|
+
// http bearer authentication required
|
|
2620
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
2621
|
+
|
|
2622
|
+
|
|
2623
|
+
|
|
2624
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
2625
|
+
|
|
2626
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2627
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2628
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
2629
|
+
localVarRequestOptions.data = serializeDataIfNeeded(feedbackPayloadDTO, localVarRequestOptions, configuration)
|
|
2630
|
+
|
|
2631
|
+
return {
|
|
2632
|
+
url: toPathString(localVarUrlObj),
|
|
2633
|
+
options: localVarRequestOptions,
|
|
2634
|
+
};
|
|
2635
|
+
},
|
|
2636
|
+
/**
|
|
2637
|
+
*
|
|
2638
|
+
* @param {HelpCenterPayloadDTO} helpCenterPayloadDTO
|
|
2639
|
+
* @param {*} [options] Override http request option.
|
|
2640
|
+
* @throws {RequiredError}
|
|
2641
|
+
*/
|
|
2642
|
+
appResponseControllerHelpCenterResponse: async (helpCenterPayloadDTO: HelpCenterPayloadDTO, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
2643
|
+
// verify required parameter 'helpCenterPayloadDTO' is not null or undefined
|
|
2644
|
+
assertParamExists('appResponseControllerHelpCenterResponse', 'helpCenterPayloadDTO', helpCenterPayloadDTO)
|
|
2645
|
+
const localVarPath = `/v1/help-center`;
|
|
2646
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
2647
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2648
|
+
let baseOptions;
|
|
2649
|
+
if (configuration) {
|
|
2650
|
+
baseOptions = configuration.baseOptions;
|
|
2651
|
+
}
|
|
2652
|
+
|
|
2653
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
2654
|
+
const localVarHeaderParameter = {} as any;
|
|
2655
|
+
const localVarQueryParameter = {} as any;
|
|
2656
|
+
|
|
2657
|
+
// authentication bearer required
|
|
2658
|
+
// http bearer authentication required
|
|
2659
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
2660
|
+
|
|
2661
|
+
|
|
2662
|
+
|
|
2663
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
2664
|
+
|
|
2665
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2666
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2667
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
2668
|
+
localVarRequestOptions.data = serializeDataIfNeeded(helpCenterPayloadDTO, localVarRequestOptions, configuration)
|
|
2669
|
+
|
|
2670
|
+
return {
|
|
2671
|
+
url: toPathString(localVarUrlObj),
|
|
2672
|
+
options: localVarRequestOptions,
|
|
2673
|
+
};
|
|
2674
|
+
},
|
|
2675
|
+
}
|
|
2676
|
+
};
|
|
2677
|
+
|
|
2678
|
+
/**
|
|
2679
|
+
* AppApi - functional programming interface
|
|
2680
|
+
* @export
|
|
2681
|
+
*/
|
|
2682
|
+
export const AppApiFp = function(configuration?: Configuration) {
|
|
2683
|
+
const localVarAxiosParamCreator = AppApiAxiosParamCreator(configuration)
|
|
2684
|
+
return {
|
|
2685
|
+
/**
|
|
2686
|
+
*
|
|
2687
|
+
* @param {FeedbackPayloadDTO} feedbackPayloadDTO
|
|
2688
|
+
* @param {*} [options] Override http request option.
|
|
2689
|
+
* @throws {RequiredError}
|
|
2690
|
+
*/
|
|
2691
|
+
async appResponseControllerFeedbackResponse(feedbackPayloadDTO: FeedbackPayloadDTO, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
2692
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.appResponseControllerFeedbackResponse(feedbackPayloadDTO, options);
|
|
2693
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
2694
|
+
const localVarOperationServerBasePath = operationServerMap['AppApi.appResponseControllerFeedbackResponse']?.[localVarOperationServerIndex]?.url;
|
|
2695
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2696
|
+
},
|
|
2697
|
+
/**
|
|
2698
|
+
*
|
|
2699
|
+
* @param {HelpCenterPayloadDTO} helpCenterPayloadDTO
|
|
2700
|
+
* @param {*} [options] Override http request option.
|
|
2701
|
+
* @throws {RequiredError}
|
|
2702
|
+
*/
|
|
2703
|
+
async appResponseControllerHelpCenterResponse(helpCenterPayloadDTO: HelpCenterPayloadDTO, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
2704
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.appResponseControllerHelpCenterResponse(helpCenterPayloadDTO, options);
|
|
2705
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
2706
|
+
const localVarOperationServerBasePath = operationServerMap['AppApi.appResponseControllerHelpCenterResponse']?.[localVarOperationServerIndex]?.url;
|
|
2707
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2708
|
+
},
|
|
2709
|
+
}
|
|
2710
|
+
};
|
|
2711
|
+
|
|
2712
|
+
/**
|
|
2713
|
+
* AppApi - factory interface
|
|
2714
|
+
* @export
|
|
2715
|
+
*/
|
|
2716
|
+
export const AppApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
2717
|
+
const localVarFp = AppApiFp(configuration)
|
|
2718
|
+
return {
|
|
2719
|
+
/**
|
|
2720
|
+
*
|
|
2721
|
+
* @param {FeedbackPayloadDTO} feedbackPayloadDTO
|
|
2722
|
+
* @param {*} [options] Override http request option.
|
|
2723
|
+
* @throws {RequiredError}
|
|
2724
|
+
*/
|
|
2725
|
+
appResponseControllerFeedbackResponse(feedbackPayloadDTO: FeedbackPayloadDTO, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
2726
|
+
return localVarFp.appResponseControllerFeedbackResponse(feedbackPayloadDTO, options).then((request) => request(axios, basePath));
|
|
2727
|
+
},
|
|
2728
|
+
/**
|
|
2729
|
+
*
|
|
2730
|
+
* @param {HelpCenterPayloadDTO} helpCenterPayloadDTO
|
|
2731
|
+
* @param {*} [options] Override http request option.
|
|
2732
|
+
* @throws {RequiredError}
|
|
2733
|
+
*/
|
|
2734
|
+
appResponseControllerHelpCenterResponse(helpCenterPayloadDTO: HelpCenterPayloadDTO, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
2735
|
+
return localVarFp.appResponseControllerHelpCenterResponse(helpCenterPayloadDTO, options).then((request) => request(axios, basePath));
|
|
2736
|
+
},
|
|
2737
|
+
};
|
|
2738
|
+
};
|
|
2739
|
+
|
|
2740
|
+
/**
|
|
2741
|
+
* AppApi - object-oriented interface
|
|
2742
|
+
* @export
|
|
2743
|
+
* @class AppApi
|
|
2744
|
+
* @extends {BaseAPI}
|
|
2745
|
+
*/
|
|
2746
|
+
export class AppApi extends BaseAPI {
|
|
2747
|
+
/**
|
|
2748
|
+
*
|
|
2749
|
+
* @param {FeedbackPayloadDTO} feedbackPayloadDTO
|
|
2750
|
+
* @param {*} [options] Override http request option.
|
|
2751
|
+
* @throws {RequiredError}
|
|
2752
|
+
* @memberof AppApi
|
|
2753
|
+
*/
|
|
2754
|
+
public appResponseControllerFeedbackResponse(feedbackPayloadDTO: FeedbackPayloadDTO, options?: RawAxiosRequestConfig) {
|
|
2755
|
+
return AppApiFp(this.configuration).appResponseControllerFeedbackResponse(feedbackPayloadDTO, options).then((request) => request(this.axios, this.basePath));
|
|
2756
|
+
}
|
|
2757
|
+
|
|
2758
|
+
/**
|
|
2759
|
+
*
|
|
2760
|
+
* @param {HelpCenterPayloadDTO} helpCenterPayloadDTO
|
|
2761
|
+
* @param {*} [options] Override http request option.
|
|
2762
|
+
* @throws {RequiredError}
|
|
2763
|
+
* @memberof AppApi
|
|
2764
|
+
*/
|
|
2765
|
+
public appResponseControllerHelpCenterResponse(helpCenterPayloadDTO: HelpCenterPayloadDTO, options?: RawAxiosRequestConfig) {
|
|
2766
|
+
return AppApiFp(this.configuration).appResponseControllerHelpCenterResponse(helpCenterPayloadDTO, options).then((request) => request(this.axios, this.basePath));
|
|
2767
|
+
}
|
|
2768
|
+
}
|
|
2769
|
+
|
|
2770
|
+
|
|
2771
|
+
|
|
2168
2772
|
/**
|
|
2169
2773
|
* AuthApi - axios parameter creator
|
|
2170
2774
|
* @export
|
|
@@ -3706,21 +4310,21 @@ export class DeviceApi extends BaseAPI {
|
|
|
3706
4310
|
|
|
3707
4311
|
|
|
3708
4312
|
/**
|
|
3709
|
-
*
|
|
4313
|
+
* FriendsApi - axios parameter creator
|
|
3710
4314
|
* @export
|
|
3711
4315
|
*/
|
|
3712
|
-
export const
|
|
4316
|
+
export const FriendsApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
3713
4317
|
return {
|
|
3714
4318
|
/**
|
|
3715
4319
|
*
|
|
3716
|
-
* @param {
|
|
4320
|
+
* @param {ApproveFriendshipRequestPayload} approveFriendshipRequestPayload
|
|
3717
4321
|
* @param {*} [options] Override http request option.
|
|
3718
4322
|
* @throws {RequiredError}
|
|
3719
4323
|
*/
|
|
3720
|
-
|
|
3721
|
-
// verify required parameter '
|
|
3722
|
-
assertParamExists('
|
|
3723
|
-
const localVarPath = `/v1/
|
|
4324
|
+
friendControllerApproveFriendRequest: async (approveFriendshipRequestPayload: ApproveFriendshipRequestPayload, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
4325
|
+
// verify required parameter 'approveFriendshipRequestPayload' is not null or undefined
|
|
4326
|
+
assertParamExists('friendControllerApproveFriendRequest', 'approveFriendshipRequestPayload', approveFriendshipRequestPayload)
|
|
4327
|
+
const localVarPath = `/v1/friend/approve-request`;
|
|
3724
4328
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
3725
4329
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
3726
4330
|
let baseOptions;
|
|
@@ -3732,6 +4336,10 @@ export const GcsApiAxiosParamCreator = function (configuration?: Configuration)
|
|
|
3732
4336
|
const localVarHeaderParameter = {} as any;
|
|
3733
4337
|
const localVarQueryParameter = {} as any;
|
|
3734
4338
|
|
|
4339
|
+
// authentication bearer required
|
|
4340
|
+
// http bearer authentication required
|
|
4341
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
4342
|
+
|
|
3735
4343
|
|
|
3736
4344
|
|
|
3737
4345
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
@@ -3739,91 +4347,66 @@ export const GcsApiAxiosParamCreator = function (configuration?: Configuration)
|
|
|
3739
4347
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
3740
4348
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3741
4349
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
3742
|
-
localVarRequestOptions.data = serializeDataIfNeeded(
|
|
4350
|
+
localVarRequestOptions.data = serializeDataIfNeeded(approveFriendshipRequestPayload, localVarRequestOptions, configuration)
|
|
3743
4351
|
|
|
3744
4352
|
return {
|
|
3745
4353
|
url: toPathString(localVarUrlObj),
|
|
3746
4354
|
options: localVarRequestOptions,
|
|
3747
4355
|
};
|
|
3748
4356
|
},
|
|
3749
|
-
}
|
|
3750
|
-
};
|
|
3751
|
-
|
|
3752
|
-
/**
|
|
3753
|
-
* GcsApi - functional programming interface
|
|
3754
|
-
* @export
|
|
3755
|
-
*/
|
|
3756
|
-
export const GcsApiFp = function(configuration?: Configuration) {
|
|
3757
|
-
const localVarAxiosParamCreator = GcsApiAxiosParamCreator(configuration)
|
|
3758
|
-
return {
|
|
3759
4357
|
/**
|
|
3760
4358
|
*
|
|
3761
|
-
* @param {
|
|
4359
|
+
* @param {DeclineFriendshipRequestPayload} declineFriendshipRequestPayload
|
|
3762
4360
|
* @param {*} [options] Override http request option.
|
|
3763
4361
|
* @throws {RequiredError}
|
|
3764
4362
|
*/
|
|
3765
|
-
async
|
|
3766
|
-
|
|
3767
|
-
|
|
3768
|
-
const
|
|
3769
|
-
|
|
3770
|
-
|
|
3771
|
-
|
|
3772
|
-
|
|
4363
|
+
friendControllerDeclineFriendRequest: async (declineFriendshipRequestPayload: DeclineFriendshipRequestPayload, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
4364
|
+
// verify required parameter 'declineFriendshipRequestPayload' is not null or undefined
|
|
4365
|
+
assertParamExists('friendControllerDeclineFriendRequest', 'declineFriendshipRequestPayload', declineFriendshipRequestPayload)
|
|
4366
|
+
const localVarPath = `/v1/friend/decline-request`;
|
|
4367
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
4368
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
4369
|
+
let baseOptions;
|
|
4370
|
+
if (configuration) {
|
|
4371
|
+
baseOptions = configuration.baseOptions;
|
|
4372
|
+
}
|
|
3773
4373
|
|
|
3774
|
-
|
|
3775
|
-
|
|
3776
|
-
|
|
3777
|
-
*/
|
|
3778
|
-
export const GcsApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
3779
|
-
const localVarFp = GcsApiFp(configuration)
|
|
3780
|
-
return {
|
|
3781
|
-
/**
|
|
3782
|
-
*
|
|
3783
|
-
* @param {FileNameUploadDTO} fileNameUploadDTO
|
|
3784
|
-
* @param {*} [options] Override http request option.
|
|
3785
|
-
* @throws {RequiredError}
|
|
3786
|
-
*/
|
|
3787
|
-
gcpControllerUploadFile(fileNameUploadDTO: FileNameUploadDTO, options?: RawAxiosRequestConfig): AxiosPromise<SignedUrlResponseDTO> {
|
|
3788
|
-
return localVarFp.gcpControllerUploadFile(fileNameUploadDTO, options).then((request) => request(axios, basePath));
|
|
3789
|
-
},
|
|
3790
|
-
};
|
|
3791
|
-
};
|
|
4374
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
4375
|
+
const localVarHeaderParameter = {} as any;
|
|
4376
|
+
const localVarQueryParameter = {} as any;
|
|
3792
4377
|
|
|
3793
|
-
|
|
3794
|
-
|
|
3795
|
-
|
|
3796
|
-
* @class GcsApi
|
|
3797
|
-
* @extends {BaseAPI}
|
|
3798
|
-
*/
|
|
3799
|
-
export class GcsApi extends BaseAPI {
|
|
3800
|
-
/**
|
|
3801
|
-
*
|
|
3802
|
-
* @param {FileNameUploadDTO} fileNameUploadDTO
|
|
3803
|
-
* @param {*} [options] Override http request option.
|
|
3804
|
-
* @throws {RequiredError}
|
|
3805
|
-
* @memberof GcsApi
|
|
3806
|
-
*/
|
|
3807
|
-
public gcpControllerUploadFile(fileNameUploadDTO: FileNameUploadDTO, options?: RawAxiosRequestConfig) {
|
|
3808
|
-
return GcsApiFp(this.configuration).gcpControllerUploadFile(fileNameUploadDTO, options).then((request) => request(this.axios, this.basePath));
|
|
3809
|
-
}
|
|
3810
|
-
}
|
|
4378
|
+
// authentication bearer required
|
|
4379
|
+
// http bearer authentication required
|
|
4380
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
3811
4381
|
|
|
3812
4382
|
|
|
4383
|
+
|
|
4384
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
3813
4385
|
|
|
3814
|
-
|
|
3815
|
-
|
|
3816
|
-
|
|
3817
|
-
|
|
3818
|
-
|
|
3819
|
-
|
|
4386
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
4387
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4388
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
4389
|
+
localVarRequestOptions.data = serializeDataIfNeeded(declineFriendshipRequestPayload, localVarRequestOptions, configuration)
|
|
4390
|
+
|
|
4391
|
+
return {
|
|
4392
|
+
url: toPathString(localVarUrlObj),
|
|
4393
|
+
options: localVarRequestOptions,
|
|
4394
|
+
};
|
|
4395
|
+
},
|
|
3820
4396
|
/**
|
|
3821
4397
|
*
|
|
4398
|
+
* @param {number} page
|
|
4399
|
+
* @param {number} pageSize
|
|
4400
|
+
* @param {string} [query]
|
|
3822
4401
|
* @param {*} [options] Override http request option.
|
|
3823
4402
|
* @throws {RequiredError}
|
|
3824
4403
|
*/
|
|
3825
|
-
|
|
3826
|
-
|
|
4404
|
+
friendControllerFindFriends: async (page: number, pageSize: number, query?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
4405
|
+
// verify required parameter 'page' is not null or undefined
|
|
4406
|
+
assertParamExists('friendControllerFindFriends', 'page', page)
|
|
4407
|
+
// verify required parameter 'pageSize' is not null or undefined
|
|
4408
|
+
assertParamExists('friendControllerFindFriends', 'pageSize', pageSize)
|
|
4409
|
+
const localVarPath = `/v1/friend/find`;
|
|
3827
4410
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
3828
4411
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
3829
4412
|
let baseOptions;
|
|
@@ -3835,6 +4418,22 @@ export const GoalsApiAxiosParamCreator = function (configuration?: Configuration
|
|
|
3835
4418
|
const localVarHeaderParameter = {} as any;
|
|
3836
4419
|
const localVarQueryParameter = {} as any;
|
|
3837
4420
|
|
|
4421
|
+
// authentication bearer required
|
|
4422
|
+
// http bearer authentication required
|
|
4423
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
4424
|
+
|
|
4425
|
+
if (query !== undefined) {
|
|
4426
|
+
localVarQueryParameter['query'] = query;
|
|
4427
|
+
}
|
|
4428
|
+
|
|
4429
|
+
if (page !== undefined) {
|
|
4430
|
+
localVarQueryParameter['page'] = page;
|
|
4431
|
+
}
|
|
4432
|
+
|
|
4433
|
+
if (pageSize !== undefined) {
|
|
4434
|
+
localVarQueryParameter['pageSize'] = pageSize;
|
|
4435
|
+
}
|
|
4436
|
+
|
|
3838
4437
|
|
|
3839
4438
|
|
|
3840
4439
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -3846,15 +4445,566 @@ export const GoalsApiAxiosParamCreator = function (configuration?: Configuration
|
|
|
3846
4445
|
options: localVarRequestOptions,
|
|
3847
4446
|
};
|
|
3848
4447
|
},
|
|
3849
|
-
|
|
3850
|
-
|
|
3851
|
-
|
|
3852
|
-
|
|
3853
|
-
|
|
3854
|
-
|
|
3855
|
-
|
|
3856
|
-
|
|
3857
|
-
|
|
4448
|
+
/**
|
|
4449
|
+
*
|
|
4450
|
+
* @param {FriendshipStatusCheck} friendshipStatusCheck
|
|
4451
|
+
* @param {*} [options] Override http request option.
|
|
4452
|
+
* @throws {RequiredError}
|
|
4453
|
+
*/
|
|
4454
|
+
friendControllerGetFriendshipStatus: async (friendshipStatusCheck: FriendshipStatusCheck, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
4455
|
+
// verify required parameter 'friendshipStatusCheck' is not null or undefined
|
|
4456
|
+
assertParamExists('friendControllerGetFriendshipStatus', 'friendshipStatusCheck', friendshipStatusCheck)
|
|
4457
|
+
const localVarPath = `/v1/friend/status`;
|
|
4458
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
4459
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
4460
|
+
let baseOptions;
|
|
4461
|
+
if (configuration) {
|
|
4462
|
+
baseOptions = configuration.baseOptions;
|
|
4463
|
+
}
|
|
4464
|
+
|
|
4465
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
4466
|
+
const localVarHeaderParameter = {} as any;
|
|
4467
|
+
const localVarQueryParameter = {} as any;
|
|
4468
|
+
|
|
4469
|
+
// authentication bearer required
|
|
4470
|
+
// http bearer authentication required
|
|
4471
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
4472
|
+
|
|
4473
|
+
|
|
4474
|
+
|
|
4475
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
4476
|
+
|
|
4477
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
4478
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4479
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
4480
|
+
localVarRequestOptions.data = serializeDataIfNeeded(friendshipStatusCheck, localVarRequestOptions, configuration)
|
|
4481
|
+
|
|
4482
|
+
return {
|
|
4483
|
+
url: toPathString(localVarUrlObj),
|
|
4484
|
+
options: localVarRequestOptions,
|
|
4485
|
+
};
|
|
4486
|
+
},
|
|
4487
|
+
/**
|
|
4488
|
+
*
|
|
4489
|
+
* @param {*} [options] Override http request option.
|
|
4490
|
+
* @throws {RequiredError}
|
|
4491
|
+
*/
|
|
4492
|
+
friendControllerListMyFriends: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
4493
|
+
const localVarPath = `/v1/friend/list`;
|
|
4494
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
4495
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
4496
|
+
let baseOptions;
|
|
4497
|
+
if (configuration) {
|
|
4498
|
+
baseOptions = configuration.baseOptions;
|
|
4499
|
+
}
|
|
4500
|
+
|
|
4501
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
4502
|
+
const localVarHeaderParameter = {} as any;
|
|
4503
|
+
const localVarQueryParameter = {} as any;
|
|
4504
|
+
|
|
4505
|
+
// authentication bearer required
|
|
4506
|
+
// http bearer authentication required
|
|
4507
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
4508
|
+
|
|
4509
|
+
|
|
4510
|
+
|
|
4511
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
4512
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4513
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
4514
|
+
|
|
4515
|
+
return {
|
|
4516
|
+
url: toPathString(localVarUrlObj),
|
|
4517
|
+
options: localVarRequestOptions,
|
|
4518
|
+
};
|
|
4519
|
+
},
|
|
4520
|
+
/**
|
|
4521
|
+
*
|
|
4522
|
+
* @param {RemoveFriendshipRequestPayload} removeFriendshipRequestPayload
|
|
4523
|
+
* @param {*} [options] Override http request option.
|
|
4524
|
+
* @throws {RequiredError}
|
|
4525
|
+
*/
|
|
4526
|
+
friendControllerRemoveFriendById: async (removeFriendshipRequestPayload: RemoveFriendshipRequestPayload, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
4527
|
+
// verify required parameter 'removeFriendshipRequestPayload' is not null or undefined
|
|
4528
|
+
assertParamExists('friendControllerRemoveFriendById', 'removeFriendshipRequestPayload', removeFriendshipRequestPayload)
|
|
4529
|
+
const localVarPath = `/v1/friend/remove`;
|
|
4530
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
4531
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
4532
|
+
let baseOptions;
|
|
4533
|
+
if (configuration) {
|
|
4534
|
+
baseOptions = configuration.baseOptions;
|
|
4535
|
+
}
|
|
4536
|
+
|
|
4537
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
4538
|
+
const localVarHeaderParameter = {} as any;
|
|
4539
|
+
const localVarQueryParameter = {} as any;
|
|
4540
|
+
|
|
4541
|
+
// authentication bearer required
|
|
4542
|
+
// http bearer authentication required
|
|
4543
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
4544
|
+
|
|
4545
|
+
|
|
4546
|
+
|
|
4547
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
4548
|
+
|
|
4549
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
4550
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4551
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
4552
|
+
localVarRequestOptions.data = serializeDataIfNeeded(removeFriendshipRequestPayload, localVarRequestOptions, configuration)
|
|
4553
|
+
|
|
4554
|
+
return {
|
|
4555
|
+
url: toPathString(localVarUrlObj),
|
|
4556
|
+
options: localVarRequestOptions,
|
|
4557
|
+
};
|
|
4558
|
+
},
|
|
4559
|
+
/**
|
|
4560
|
+
*
|
|
4561
|
+
* @param {SendFriendshipRequestPayload} sendFriendshipRequestPayload
|
|
4562
|
+
* @param {*} [options] Override http request option.
|
|
4563
|
+
* @throws {RequiredError}
|
|
4564
|
+
*/
|
|
4565
|
+
friendControllerSendFriendRequest: async (sendFriendshipRequestPayload: SendFriendshipRequestPayload, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
4566
|
+
// verify required parameter 'sendFriendshipRequestPayload' is not null or undefined
|
|
4567
|
+
assertParamExists('friendControllerSendFriendRequest', 'sendFriendshipRequestPayload', sendFriendshipRequestPayload)
|
|
4568
|
+
const localVarPath = `/v1/friend/send-request`;
|
|
4569
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
4570
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
4571
|
+
let baseOptions;
|
|
4572
|
+
if (configuration) {
|
|
4573
|
+
baseOptions = configuration.baseOptions;
|
|
4574
|
+
}
|
|
4575
|
+
|
|
4576
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
4577
|
+
const localVarHeaderParameter = {} as any;
|
|
4578
|
+
const localVarQueryParameter = {} as any;
|
|
4579
|
+
|
|
4580
|
+
// authentication bearer required
|
|
4581
|
+
// http bearer authentication required
|
|
4582
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
4583
|
+
|
|
4584
|
+
|
|
4585
|
+
|
|
4586
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
4587
|
+
|
|
4588
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
4589
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4590
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
4591
|
+
localVarRequestOptions.data = serializeDataIfNeeded(sendFriendshipRequestPayload, localVarRequestOptions, configuration)
|
|
4592
|
+
|
|
4593
|
+
return {
|
|
4594
|
+
url: toPathString(localVarUrlObj),
|
|
4595
|
+
options: localVarRequestOptions,
|
|
4596
|
+
};
|
|
4597
|
+
},
|
|
4598
|
+
}
|
|
4599
|
+
};
|
|
4600
|
+
|
|
4601
|
+
/**
|
|
4602
|
+
* FriendsApi - functional programming interface
|
|
4603
|
+
* @export
|
|
4604
|
+
*/
|
|
4605
|
+
export const FriendsApiFp = function(configuration?: Configuration) {
|
|
4606
|
+
const localVarAxiosParamCreator = FriendsApiAxiosParamCreator(configuration)
|
|
4607
|
+
return {
|
|
4608
|
+
/**
|
|
4609
|
+
*
|
|
4610
|
+
* @param {ApproveFriendshipRequestPayload} approveFriendshipRequestPayload
|
|
4611
|
+
* @param {*} [options] Override http request option.
|
|
4612
|
+
* @throws {RequiredError}
|
|
4613
|
+
*/
|
|
4614
|
+
async friendControllerApproveFriendRequest(approveFriendshipRequestPayload: ApproveFriendshipRequestPayload, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<FriendsResponseDTO>> {
|
|
4615
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.friendControllerApproveFriendRequest(approveFriendshipRequestPayload, options);
|
|
4616
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
4617
|
+
const localVarOperationServerBasePath = operationServerMap['FriendsApi.friendControllerApproveFriendRequest']?.[localVarOperationServerIndex]?.url;
|
|
4618
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4619
|
+
},
|
|
4620
|
+
/**
|
|
4621
|
+
*
|
|
4622
|
+
* @param {DeclineFriendshipRequestPayload} declineFriendshipRequestPayload
|
|
4623
|
+
* @param {*} [options] Override http request option.
|
|
4624
|
+
* @throws {RequiredError}
|
|
4625
|
+
*/
|
|
4626
|
+
async friendControllerDeclineFriendRequest(declineFriendshipRequestPayload: DeclineFriendshipRequestPayload, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<FriendsResponseDTO>> {
|
|
4627
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.friendControllerDeclineFriendRequest(declineFriendshipRequestPayload, options);
|
|
4628
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
4629
|
+
const localVarOperationServerBasePath = operationServerMap['FriendsApi.friendControllerDeclineFriendRequest']?.[localVarOperationServerIndex]?.url;
|
|
4630
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4631
|
+
},
|
|
4632
|
+
/**
|
|
4633
|
+
*
|
|
4634
|
+
* @param {number} page
|
|
4635
|
+
* @param {number} pageSize
|
|
4636
|
+
* @param {string} [query]
|
|
4637
|
+
* @param {*} [options] Override http request option.
|
|
4638
|
+
* @throws {RequiredError}
|
|
4639
|
+
*/
|
|
4640
|
+
async friendControllerFindFriends(page: number, pageSize: number, query?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<FriendsDTO>> {
|
|
4641
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.friendControllerFindFriends(page, pageSize, query, options);
|
|
4642
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
4643
|
+
const localVarOperationServerBasePath = operationServerMap['FriendsApi.friendControllerFindFriends']?.[localVarOperationServerIndex]?.url;
|
|
4644
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4645
|
+
},
|
|
4646
|
+
/**
|
|
4647
|
+
*
|
|
4648
|
+
* @param {FriendshipStatusCheck} friendshipStatusCheck
|
|
4649
|
+
* @param {*} [options] Override http request option.
|
|
4650
|
+
* @throws {RequiredError}
|
|
4651
|
+
*/
|
|
4652
|
+
async friendControllerGetFriendshipStatus(friendshipStatusCheck: FriendshipStatusCheck, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<FriendshipStatusDTO>> {
|
|
4653
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.friendControllerGetFriendshipStatus(friendshipStatusCheck, options);
|
|
4654
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
4655
|
+
const localVarOperationServerBasePath = operationServerMap['FriendsApi.friendControllerGetFriendshipStatus']?.[localVarOperationServerIndex]?.url;
|
|
4656
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4657
|
+
},
|
|
4658
|
+
/**
|
|
4659
|
+
*
|
|
4660
|
+
* @param {*} [options] Override http request option.
|
|
4661
|
+
* @throws {RequiredError}
|
|
4662
|
+
*/
|
|
4663
|
+
async friendControllerListMyFriends(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<FriendsDTO>> {
|
|
4664
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.friendControllerListMyFriends(options);
|
|
4665
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
4666
|
+
const localVarOperationServerBasePath = operationServerMap['FriendsApi.friendControllerListMyFriends']?.[localVarOperationServerIndex]?.url;
|
|
4667
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4668
|
+
},
|
|
4669
|
+
/**
|
|
4670
|
+
*
|
|
4671
|
+
* @param {RemoveFriendshipRequestPayload} removeFriendshipRequestPayload
|
|
4672
|
+
* @param {*} [options] Override http request option.
|
|
4673
|
+
* @throws {RequiredError}
|
|
4674
|
+
*/
|
|
4675
|
+
async friendControllerRemoveFriendById(removeFriendshipRequestPayload: RemoveFriendshipRequestPayload, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<FriendsResponseDTO>> {
|
|
4676
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.friendControllerRemoveFriendById(removeFriendshipRequestPayload, options);
|
|
4677
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
4678
|
+
const localVarOperationServerBasePath = operationServerMap['FriendsApi.friendControllerRemoveFriendById']?.[localVarOperationServerIndex]?.url;
|
|
4679
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4680
|
+
},
|
|
4681
|
+
/**
|
|
4682
|
+
*
|
|
4683
|
+
* @param {SendFriendshipRequestPayload} sendFriendshipRequestPayload
|
|
4684
|
+
* @param {*} [options] Override http request option.
|
|
4685
|
+
* @throws {RequiredError}
|
|
4686
|
+
*/
|
|
4687
|
+
async friendControllerSendFriendRequest(sendFriendshipRequestPayload: SendFriendshipRequestPayload, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<FriendsResponseDTO>> {
|
|
4688
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.friendControllerSendFriendRequest(sendFriendshipRequestPayload, options);
|
|
4689
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
4690
|
+
const localVarOperationServerBasePath = operationServerMap['FriendsApi.friendControllerSendFriendRequest']?.[localVarOperationServerIndex]?.url;
|
|
4691
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4692
|
+
},
|
|
4693
|
+
}
|
|
4694
|
+
};
|
|
4695
|
+
|
|
4696
|
+
/**
|
|
4697
|
+
* FriendsApi - factory interface
|
|
4698
|
+
* @export
|
|
4699
|
+
*/
|
|
4700
|
+
export const FriendsApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
4701
|
+
const localVarFp = FriendsApiFp(configuration)
|
|
4702
|
+
return {
|
|
4703
|
+
/**
|
|
4704
|
+
*
|
|
4705
|
+
* @param {ApproveFriendshipRequestPayload} approveFriendshipRequestPayload
|
|
4706
|
+
* @param {*} [options] Override http request option.
|
|
4707
|
+
* @throws {RequiredError}
|
|
4708
|
+
*/
|
|
4709
|
+
friendControllerApproveFriendRequest(approveFriendshipRequestPayload: ApproveFriendshipRequestPayload, options?: RawAxiosRequestConfig): AxiosPromise<FriendsResponseDTO> {
|
|
4710
|
+
return localVarFp.friendControllerApproveFriendRequest(approveFriendshipRequestPayload, options).then((request) => request(axios, basePath));
|
|
4711
|
+
},
|
|
4712
|
+
/**
|
|
4713
|
+
*
|
|
4714
|
+
* @param {DeclineFriendshipRequestPayload} declineFriendshipRequestPayload
|
|
4715
|
+
* @param {*} [options] Override http request option.
|
|
4716
|
+
* @throws {RequiredError}
|
|
4717
|
+
*/
|
|
4718
|
+
friendControllerDeclineFriendRequest(declineFriendshipRequestPayload: DeclineFriendshipRequestPayload, options?: RawAxiosRequestConfig): AxiosPromise<FriendsResponseDTO> {
|
|
4719
|
+
return localVarFp.friendControllerDeclineFriendRequest(declineFriendshipRequestPayload, options).then((request) => request(axios, basePath));
|
|
4720
|
+
},
|
|
4721
|
+
/**
|
|
4722
|
+
*
|
|
4723
|
+
* @param {number} page
|
|
4724
|
+
* @param {number} pageSize
|
|
4725
|
+
* @param {string} [query]
|
|
4726
|
+
* @param {*} [options] Override http request option.
|
|
4727
|
+
* @throws {RequiredError}
|
|
4728
|
+
*/
|
|
4729
|
+
friendControllerFindFriends(page: number, pageSize: number, query?: string, options?: RawAxiosRequestConfig): AxiosPromise<FriendsDTO> {
|
|
4730
|
+
return localVarFp.friendControllerFindFriends(page, pageSize, query, options).then((request) => request(axios, basePath));
|
|
4731
|
+
},
|
|
4732
|
+
/**
|
|
4733
|
+
*
|
|
4734
|
+
* @param {FriendshipStatusCheck} friendshipStatusCheck
|
|
4735
|
+
* @param {*} [options] Override http request option.
|
|
4736
|
+
* @throws {RequiredError}
|
|
4737
|
+
*/
|
|
4738
|
+
friendControllerGetFriendshipStatus(friendshipStatusCheck: FriendshipStatusCheck, options?: RawAxiosRequestConfig): AxiosPromise<FriendshipStatusDTO> {
|
|
4739
|
+
return localVarFp.friendControllerGetFriendshipStatus(friendshipStatusCheck, options).then((request) => request(axios, basePath));
|
|
4740
|
+
},
|
|
4741
|
+
/**
|
|
4742
|
+
*
|
|
4743
|
+
* @param {*} [options] Override http request option.
|
|
4744
|
+
* @throws {RequiredError}
|
|
4745
|
+
*/
|
|
4746
|
+
friendControllerListMyFriends(options?: RawAxiosRequestConfig): AxiosPromise<FriendsDTO> {
|
|
4747
|
+
return localVarFp.friendControllerListMyFriends(options).then((request) => request(axios, basePath));
|
|
4748
|
+
},
|
|
4749
|
+
/**
|
|
4750
|
+
*
|
|
4751
|
+
* @param {RemoveFriendshipRequestPayload} removeFriendshipRequestPayload
|
|
4752
|
+
* @param {*} [options] Override http request option.
|
|
4753
|
+
* @throws {RequiredError}
|
|
4754
|
+
*/
|
|
4755
|
+
friendControllerRemoveFriendById(removeFriendshipRequestPayload: RemoveFriendshipRequestPayload, options?: RawAxiosRequestConfig): AxiosPromise<FriendsResponseDTO> {
|
|
4756
|
+
return localVarFp.friendControllerRemoveFriendById(removeFriendshipRequestPayload, options).then((request) => request(axios, basePath));
|
|
4757
|
+
},
|
|
4758
|
+
/**
|
|
4759
|
+
*
|
|
4760
|
+
* @param {SendFriendshipRequestPayload} sendFriendshipRequestPayload
|
|
4761
|
+
* @param {*} [options] Override http request option.
|
|
4762
|
+
* @throws {RequiredError}
|
|
4763
|
+
*/
|
|
4764
|
+
friendControllerSendFriendRequest(sendFriendshipRequestPayload: SendFriendshipRequestPayload, options?: RawAxiosRequestConfig): AxiosPromise<FriendsResponseDTO> {
|
|
4765
|
+
return localVarFp.friendControllerSendFriendRequest(sendFriendshipRequestPayload, options).then((request) => request(axios, basePath));
|
|
4766
|
+
},
|
|
4767
|
+
};
|
|
4768
|
+
};
|
|
4769
|
+
|
|
4770
|
+
/**
|
|
4771
|
+
* FriendsApi - object-oriented interface
|
|
4772
|
+
* @export
|
|
4773
|
+
* @class FriendsApi
|
|
4774
|
+
* @extends {BaseAPI}
|
|
4775
|
+
*/
|
|
4776
|
+
export class FriendsApi extends BaseAPI {
|
|
4777
|
+
/**
|
|
4778
|
+
*
|
|
4779
|
+
* @param {ApproveFriendshipRequestPayload} approveFriendshipRequestPayload
|
|
4780
|
+
* @param {*} [options] Override http request option.
|
|
4781
|
+
* @throws {RequiredError}
|
|
4782
|
+
* @memberof FriendsApi
|
|
4783
|
+
*/
|
|
4784
|
+
public friendControllerApproveFriendRequest(approveFriendshipRequestPayload: ApproveFriendshipRequestPayload, options?: RawAxiosRequestConfig) {
|
|
4785
|
+
return FriendsApiFp(this.configuration).friendControllerApproveFriendRequest(approveFriendshipRequestPayload, options).then((request) => request(this.axios, this.basePath));
|
|
4786
|
+
}
|
|
4787
|
+
|
|
4788
|
+
/**
|
|
4789
|
+
*
|
|
4790
|
+
* @param {DeclineFriendshipRequestPayload} declineFriendshipRequestPayload
|
|
4791
|
+
* @param {*} [options] Override http request option.
|
|
4792
|
+
* @throws {RequiredError}
|
|
4793
|
+
* @memberof FriendsApi
|
|
4794
|
+
*/
|
|
4795
|
+
public friendControllerDeclineFriendRequest(declineFriendshipRequestPayload: DeclineFriendshipRequestPayload, options?: RawAxiosRequestConfig) {
|
|
4796
|
+
return FriendsApiFp(this.configuration).friendControllerDeclineFriendRequest(declineFriendshipRequestPayload, options).then((request) => request(this.axios, this.basePath));
|
|
4797
|
+
}
|
|
4798
|
+
|
|
4799
|
+
/**
|
|
4800
|
+
*
|
|
4801
|
+
* @param {number} page
|
|
4802
|
+
* @param {number} pageSize
|
|
4803
|
+
* @param {string} [query]
|
|
4804
|
+
* @param {*} [options] Override http request option.
|
|
4805
|
+
* @throws {RequiredError}
|
|
4806
|
+
* @memberof FriendsApi
|
|
4807
|
+
*/
|
|
4808
|
+
public friendControllerFindFriends(page: number, pageSize: number, query?: string, options?: RawAxiosRequestConfig) {
|
|
4809
|
+
return FriendsApiFp(this.configuration).friendControllerFindFriends(page, pageSize, query, options).then((request) => request(this.axios, this.basePath));
|
|
4810
|
+
}
|
|
4811
|
+
|
|
4812
|
+
/**
|
|
4813
|
+
*
|
|
4814
|
+
* @param {FriendshipStatusCheck} friendshipStatusCheck
|
|
4815
|
+
* @param {*} [options] Override http request option.
|
|
4816
|
+
* @throws {RequiredError}
|
|
4817
|
+
* @memberof FriendsApi
|
|
4818
|
+
*/
|
|
4819
|
+
public friendControllerGetFriendshipStatus(friendshipStatusCheck: FriendshipStatusCheck, options?: RawAxiosRequestConfig) {
|
|
4820
|
+
return FriendsApiFp(this.configuration).friendControllerGetFriendshipStatus(friendshipStatusCheck, options).then((request) => request(this.axios, this.basePath));
|
|
4821
|
+
}
|
|
4822
|
+
|
|
4823
|
+
/**
|
|
4824
|
+
*
|
|
4825
|
+
* @param {*} [options] Override http request option.
|
|
4826
|
+
* @throws {RequiredError}
|
|
4827
|
+
* @memberof FriendsApi
|
|
4828
|
+
*/
|
|
4829
|
+
public friendControllerListMyFriends(options?: RawAxiosRequestConfig) {
|
|
4830
|
+
return FriendsApiFp(this.configuration).friendControllerListMyFriends(options).then((request) => request(this.axios, this.basePath));
|
|
4831
|
+
}
|
|
4832
|
+
|
|
4833
|
+
/**
|
|
4834
|
+
*
|
|
4835
|
+
* @param {RemoveFriendshipRequestPayload} removeFriendshipRequestPayload
|
|
4836
|
+
* @param {*} [options] Override http request option.
|
|
4837
|
+
* @throws {RequiredError}
|
|
4838
|
+
* @memberof FriendsApi
|
|
4839
|
+
*/
|
|
4840
|
+
public friendControllerRemoveFriendById(removeFriendshipRequestPayload: RemoveFriendshipRequestPayload, options?: RawAxiosRequestConfig) {
|
|
4841
|
+
return FriendsApiFp(this.configuration).friendControllerRemoveFriendById(removeFriendshipRequestPayload, options).then((request) => request(this.axios, this.basePath));
|
|
4842
|
+
}
|
|
4843
|
+
|
|
4844
|
+
/**
|
|
4845
|
+
*
|
|
4846
|
+
* @param {SendFriendshipRequestPayload} sendFriendshipRequestPayload
|
|
4847
|
+
* @param {*} [options] Override http request option.
|
|
4848
|
+
* @throws {RequiredError}
|
|
4849
|
+
* @memberof FriendsApi
|
|
4850
|
+
*/
|
|
4851
|
+
public friendControllerSendFriendRequest(sendFriendshipRequestPayload: SendFriendshipRequestPayload, options?: RawAxiosRequestConfig) {
|
|
4852
|
+
return FriendsApiFp(this.configuration).friendControllerSendFriendRequest(sendFriendshipRequestPayload, options).then((request) => request(this.axios, this.basePath));
|
|
4853
|
+
}
|
|
4854
|
+
}
|
|
4855
|
+
|
|
4856
|
+
|
|
4857
|
+
|
|
4858
|
+
/**
|
|
4859
|
+
* GcsApi - axios parameter creator
|
|
4860
|
+
* @export
|
|
4861
|
+
*/
|
|
4862
|
+
export const GcsApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
4863
|
+
return {
|
|
4864
|
+
/**
|
|
4865
|
+
*
|
|
4866
|
+
* @param {FileNameUploadDTO} fileNameUploadDTO
|
|
4867
|
+
* @param {*} [options] Override http request option.
|
|
4868
|
+
* @throws {RequiredError}
|
|
4869
|
+
*/
|
|
4870
|
+
gcpControllerUploadFile: async (fileNameUploadDTO: FileNameUploadDTO, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
4871
|
+
// verify required parameter 'fileNameUploadDTO' is not null or undefined
|
|
4872
|
+
assertParamExists('gcpControllerUploadFile', 'fileNameUploadDTO', fileNameUploadDTO)
|
|
4873
|
+
const localVarPath = `/v1/gcs/file`;
|
|
4874
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
4875
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
4876
|
+
let baseOptions;
|
|
4877
|
+
if (configuration) {
|
|
4878
|
+
baseOptions = configuration.baseOptions;
|
|
4879
|
+
}
|
|
4880
|
+
|
|
4881
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
4882
|
+
const localVarHeaderParameter = {} as any;
|
|
4883
|
+
const localVarQueryParameter = {} as any;
|
|
4884
|
+
|
|
4885
|
+
|
|
4886
|
+
|
|
4887
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
4888
|
+
|
|
4889
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
4890
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4891
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
4892
|
+
localVarRequestOptions.data = serializeDataIfNeeded(fileNameUploadDTO, localVarRequestOptions, configuration)
|
|
4893
|
+
|
|
4894
|
+
return {
|
|
4895
|
+
url: toPathString(localVarUrlObj),
|
|
4896
|
+
options: localVarRequestOptions,
|
|
4897
|
+
};
|
|
4898
|
+
},
|
|
4899
|
+
}
|
|
4900
|
+
};
|
|
4901
|
+
|
|
4902
|
+
/**
|
|
4903
|
+
* GcsApi - functional programming interface
|
|
4904
|
+
* @export
|
|
4905
|
+
*/
|
|
4906
|
+
export const GcsApiFp = function(configuration?: Configuration) {
|
|
4907
|
+
const localVarAxiosParamCreator = GcsApiAxiosParamCreator(configuration)
|
|
4908
|
+
return {
|
|
4909
|
+
/**
|
|
4910
|
+
*
|
|
4911
|
+
* @param {FileNameUploadDTO} fileNameUploadDTO
|
|
4912
|
+
* @param {*} [options] Override http request option.
|
|
4913
|
+
* @throws {RequiredError}
|
|
4914
|
+
*/
|
|
4915
|
+
async gcpControllerUploadFile(fileNameUploadDTO: FileNameUploadDTO, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SignedUrlResponseDTO>> {
|
|
4916
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.gcpControllerUploadFile(fileNameUploadDTO, options);
|
|
4917
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
4918
|
+
const localVarOperationServerBasePath = operationServerMap['GcsApi.gcpControllerUploadFile']?.[localVarOperationServerIndex]?.url;
|
|
4919
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4920
|
+
},
|
|
4921
|
+
}
|
|
4922
|
+
};
|
|
4923
|
+
|
|
4924
|
+
/**
|
|
4925
|
+
* GcsApi - factory interface
|
|
4926
|
+
* @export
|
|
4927
|
+
*/
|
|
4928
|
+
export const GcsApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
4929
|
+
const localVarFp = GcsApiFp(configuration)
|
|
4930
|
+
return {
|
|
4931
|
+
/**
|
|
4932
|
+
*
|
|
4933
|
+
* @param {FileNameUploadDTO} fileNameUploadDTO
|
|
4934
|
+
* @param {*} [options] Override http request option.
|
|
4935
|
+
* @throws {RequiredError}
|
|
4936
|
+
*/
|
|
4937
|
+
gcpControllerUploadFile(fileNameUploadDTO: FileNameUploadDTO, options?: RawAxiosRequestConfig): AxiosPromise<SignedUrlResponseDTO> {
|
|
4938
|
+
return localVarFp.gcpControllerUploadFile(fileNameUploadDTO, options).then((request) => request(axios, basePath));
|
|
4939
|
+
},
|
|
4940
|
+
};
|
|
4941
|
+
};
|
|
4942
|
+
|
|
4943
|
+
/**
|
|
4944
|
+
* GcsApi - object-oriented interface
|
|
4945
|
+
* @export
|
|
4946
|
+
* @class GcsApi
|
|
4947
|
+
* @extends {BaseAPI}
|
|
4948
|
+
*/
|
|
4949
|
+
export class GcsApi extends BaseAPI {
|
|
4950
|
+
/**
|
|
4951
|
+
*
|
|
4952
|
+
* @param {FileNameUploadDTO} fileNameUploadDTO
|
|
4953
|
+
* @param {*} [options] Override http request option.
|
|
4954
|
+
* @throws {RequiredError}
|
|
4955
|
+
* @memberof GcsApi
|
|
4956
|
+
*/
|
|
4957
|
+
public gcpControllerUploadFile(fileNameUploadDTO: FileNameUploadDTO, options?: RawAxiosRequestConfig) {
|
|
4958
|
+
return GcsApiFp(this.configuration).gcpControllerUploadFile(fileNameUploadDTO, options).then((request) => request(this.axios, this.basePath));
|
|
4959
|
+
}
|
|
4960
|
+
}
|
|
4961
|
+
|
|
4962
|
+
|
|
4963
|
+
|
|
4964
|
+
/**
|
|
4965
|
+
* GoalsApi - axios parameter creator
|
|
4966
|
+
* @export
|
|
4967
|
+
*/
|
|
4968
|
+
export const GoalsApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
4969
|
+
return {
|
|
4970
|
+
/**
|
|
4971
|
+
*
|
|
4972
|
+
* @param {*} [options] Override http request option.
|
|
4973
|
+
* @throws {RequiredError}
|
|
4974
|
+
*/
|
|
4975
|
+
goalControllerListGoals: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
4976
|
+
const localVarPath = `/v1/goals`;
|
|
4977
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
4978
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
4979
|
+
let baseOptions;
|
|
4980
|
+
if (configuration) {
|
|
4981
|
+
baseOptions = configuration.baseOptions;
|
|
4982
|
+
}
|
|
4983
|
+
|
|
4984
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
4985
|
+
const localVarHeaderParameter = {} as any;
|
|
4986
|
+
const localVarQueryParameter = {} as any;
|
|
4987
|
+
|
|
4988
|
+
|
|
4989
|
+
|
|
4990
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
4991
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4992
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
4993
|
+
|
|
4994
|
+
return {
|
|
4995
|
+
url: toPathString(localVarUrlObj),
|
|
4996
|
+
options: localVarRequestOptions,
|
|
4997
|
+
};
|
|
4998
|
+
},
|
|
4999
|
+
}
|
|
5000
|
+
};
|
|
5001
|
+
|
|
5002
|
+
/**
|
|
5003
|
+
* GoalsApi - functional programming interface
|
|
5004
|
+
* @export
|
|
5005
|
+
*/
|
|
5006
|
+
export const GoalsApiFp = function(configuration?: Configuration) {
|
|
5007
|
+
const localVarAxiosParamCreator = GoalsApiAxiosParamCreator(configuration)
|
|
3858
5008
|
return {
|
|
3859
5009
|
/**
|
|
3860
5010
|
*
|
|
@@ -4128,48 +5278,233 @@ export class IntegrationApi extends BaseAPI {
|
|
|
4128
5278
|
|
|
4129
5279
|
/**
|
|
4130
5280
|
*
|
|
4131
|
-
* @param {CalendarAccessDTO} calendarAccessDTO
|
|
5281
|
+
* @param {CalendarAccessDTO} calendarAccessDTO
|
|
5282
|
+
* @param {*} [options] Override http request option.
|
|
5283
|
+
* @throws {RequiredError}
|
|
5284
|
+
* @memberof IntegrationApi
|
|
5285
|
+
*/
|
|
5286
|
+
public integrationControllerGoogleCalendarAccess(calendarAccessDTO: CalendarAccessDTO, options?: RawAxiosRequestConfig) {
|
|
5287
|
+
return IntegrationApiFp(this.configuration).integrationControllerGoogleCalendarAccess(calendarAccessDTO, options).then((request) => request(this.axios, this.basePath));
|
|
5288
|
+
}
|
|
5289
|
+
|
|
5290
|
+
/**
|
|
5291
|
+
*
|
|
5292
|
+
* @param {MicrosoftCalendarAccessDTO} microsoftCalendarAccessDTO
|
|
5293
|
+
* @param {*} [options] Override http request option.
|
|
5294
|
+
* @throws {RequiredError}
|
|
5295
|
+
* @memberof IntegrationApi
|
|
5296
|
+
*/
|
|
5297
|
+
public integrationControllerMicrosoftCalendar(microsoftCalendarAccessDTO: MicrosoftCalendarAccessDTO, options?: RawAxiosRequestConfig) {
|
|
5298
|
+
return IntegrationApiFp(this.configuration).integrationControllerMicrosoftCalendar(microsoftCalendarAccessDTO, options).then((request) => request(this.axios, this.basePath));
|
|
5299
|
+
}
|
|
5300
|
+
}
|
|
5301
|
+
|
|
5302
|
+
|
|
5303
|
+
|
|
5304
|
+
/**
|
|
5305
|
+
* LocationApi - axios parameter creator
|
|
5306
|
+
* @export
|
|
5307
|
+
*/
|
|
5308
|
+
export const LocationApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
5309
|
+
return {
|
|
5310
|
+
/**
|
|
5311
|
+
*
|
|
5312
|
+
* @param {string} place
|
|
5313
|
+
* @param {string} label
|
|
5314
|
+
* @param {*} [options] Override http request option.
|
|
5315
|
+
* @throws {RequiredError}
|
|
5316
|
+
*/
|
|
5317
|
+
locationControllerFetchCoordinates: async (place: string, label: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
5318
|
+
// verify required parameter 'place' is not null or undefined
|
|
5319
|
+
assertParamExists('locationControllerFetchCoordinates', 'place', place)
|
|
5320
|
+
// verify required parameter 'label' is not null or undefined
|
|
5321
|
+
assertParamExists('locationControllerFetchCoordinates', 'label', label)
|
|
5322
|
+
const localVarPath = `/v1/locations-coordinates`;
|
|
5323
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
5324
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
5325
|
+
let baseOptions;
|
|
5326
|
+
if (configuration) {
|
|
5327
|
+
baseOptions = configuration.baseOptions;
|
|
5328
|
+
}
|
|
5329
|
+
|
|
5330
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
5331
|
+
const localVarHeaderParameter = {} as any;
|
|
5332
|
+
const localVarQueryParameter = {} as any;
|
|
5333
|
+
|
|
5334
|
+
if (place !== undefined) {
|
|
5335
|
+
localVarQueryParameter['place'] = place;
|
|
5336
|
+
}
|
|
5337
|
+
|
|
5338
|
+
if (label !== undefined) {
|
|
5339
|
+
localVarQueryParameter['label'] = label;
|
|
5340
|
+
}
|
|
5341
|
+
|
|
5342
|
+
|
|
5343
|
+
|
|
5344
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
5345
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
5346
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
5347
|
+
|
|
5348
|
+
return {
|
|
5349
|
+
url: toPathString(localVarUrlObj),
|
|
5350
|
+
options: localVarRequestOptions,
|
|
5351
|
+
};
|
|
5352
|
+
},
|
|
5353
|
+
/**
|
|
5354
|
+
*
|
|
5355
|
+
* @param {string} place
|
|
5356
|
+
* @param {*} [options] Override http request option.
|
|
5357
|
+
* @throws {RequiredError}
|
|
5358
|
+
*/
|
|
5359
|
+
locationControllerFetchLocations: async (place: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
5360
|
+
// verify required parameter 'place' is not null or undefined
|
|
5361
|
+
assertParamExists('locationControllerFetchLocations', 'place', place)
|
|
5362
|
+
const localVarPath = `/v1/locations`;
|
|
5363
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
5364
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
5365
|
+
let baseOptions;
|
|
5366
|
+
if (configuration) {
|
|
5367
|
+
baseOptions = configuration.baseOptions;
|
|
5368
|
+
}
|
|
5369
|
+
|
|
5370
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
5371
|
+
const localVarHeaderParameter = {} as any;
|
|
5372
|
+
const localVarQueryParameter = {} as any;
|
|
5373
|
+
|
|
5374
|
+
if (place !== undefined) {
|
|
5375
|
+
localVarQueryParameter['place'] = place;
|
|
5376
|
+
}
|
|
5377
|
+
|
|
5378
|
+
|
|
5379
|
+
|
|
5380
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
5381
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
5382
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
5383
|
+
|
|
5384
|
+
return {
|
|
5385
|
+
url: toPathString(localVarUrlObj),
|
|
5386
|
+
options: localVarRequestOptions,
|
|
5387
|
+
};
|
|
5388
|
+
},
|
|
5389
|
+
}
|
|
5390
|
+
};
|
|
5391
|
+
|
|
5392
|
+
/**
|
|
5393
|
+
* LocationApi - functional programming interface
|
|
5394
|
+
* @export
|
|
5395
|
+
*/
|
|
5396
|
+
export const LocationApiFp = function(configuration?: Configuration) {
|
|
5397
|
+
const localVarAxiosParamCreator = LocationApiAxiosParamCreator(configuration)
|
|
5398
|
+
return {
|
|
5399
|
+
/**
|
|
5400
|
+
*
|
|
5401
|
+
* @param {string} place
|
|
5402
|
+
* @param {string} label
|
|
5403
|
+
* @param {*} [options] Override http request option.
|
|
5404
|
+
* @throws {RequiredError}
|
|
5405
|
+
*/
|
|
5406
|
+
async locationControllerFetchCoordinates(place: string, label: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<LocationCoordinatesResponse>> {
|
|
5407
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.locationControllerFetchCoordinates(place, label, options);
|
|
5408
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
5409
|
+
const localVarOperationServerBasePath = operationServerMap['LocationApi.locationControllerFetchCoordinates']?.[localVarOperationServerIndex]?.url;
|
|
5410
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
5411
|
+
},
|
|
5412
|
+
/**
|
|
5413
|
+
*
|
|
5414
|
+
* @param {string} place
|
|
5415
|
+
* @param {*} [options] Override http request option.
|
|
5416
|
+
* @throws {RequiredError}
|
|
5417
|
+
*/
|
|
5418
|
+
async locationControllerFetchLocations(place: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<LocationEntityResponse>> {
|
|
5419
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.locationControllerFetchLocations(place, options);
|
|
5420
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
5421
|
+
const localVarOperationServerBasePath = operationServerMap['LocationApi.locationControllerFetchLocations']?.[localVarOperationServerIndex]?.url;
|
|
5422
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
5423
|
+
},
|
|
5424
|
+
}
|
|
5425
|
+
};
|
|
5426
|
+
|
|
5427
|
+
/**
|
|
5428
|
+
* LocationApi - factory interface
|
|
5429
|
+
* @export
|
|
5430
|
+
*/
|
|
5431
|
+
export const LocationApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
5432
|
+
const localVarFp = LocationApiFp(configuration)
|
|
5433
|
+
return {
|
|
5434
|
+
/**
|
|
5435
|
+
*
|
|
5436
|
+
* @param {string} place
|
|
5437
|
+
* @param {string} label
|
|
5438
|
+
* @param {*} [options] Override http request option.
|
|
5439
|
+
* @throws {RequiredError}
|
|
5440
|
+
*/
|
|
5441
|
+
locationControllerFetchCoordinates(place: string, label: string, options?: RawAxiosRequestConfig): AxiosPromise<LocationCoordinatesResponse> {
|
|
5442
|
+
return localVarFp.locationControllerFetchCoordinates(place, label, options).then((request) => request(axios, basePath));
|
|
5443
|
+
},
|
|
5444
|
+
/**
|
|
5445
|
+
*
|
|
5446
|
+
* @param {string} place
|
|
5447
|
+
* @param {*} [options] Override http request option.
|
|
5448
|
+
* @throws {RequiredError}
|
|
5449
|
+
*/
|
|
5450
|
+
locationControllerFetchLocations(place: string, options?: RawAxiosRequestConfig): AxiosPromise<LocationEntityResponse> {
|
|
5451
|
+
return localVarFp.locationControllerFetchLocations(place, options).then((request) => request(axios, basePath));
|
|
5452
|
+
},
|
|
5453
|
+
};
|
|
5454
|
+
};
|
|
5455
|
+
|
|
5456
|
+
/**
|
|
5457
|
+
* LocationApi - object-oriented interface
|
|
5458
|
+
* @export
|
|
5459
|
+
* @class LocationApi
|
|
5460
|
+
* @extends {BaseAPI}
|
|
5461
|
+
*/
|
|
5462
|
+
export class LocationApi extends BaseAPI {
|
|
5463
|
+
/**
|
|
5464
|
+
*
|
|
5465
|
+
* @param {string} place
|
|
5466
|
+
* @param {string} label
|
|
4132
5467
|
* @param {*} [options] Override http request option.
|
|
4133
5468
|
* @throws {RequiredError}
|
|
4134
|
-
* @memberof
|
|
5469
|
+
* @memberof LocationApi
|
|
4135
5470
|
*/
|
|
4136
|
-
public
|
|
4137
|
-
return
|
|
5471
|
+
public locationControllerFetchCoordinates(place: string, label: string, options?: RawAxiosRequestConfig) {
|
|
5472
|
+
return LocationApiFp(this.configuration).locationControllerFetchCoordinates(place, label, options).then((request) => request(this.axios, this.basePath));
|
|
4138
5473
|
}
|
|
4139
5474
|
|
|
4140
5475
|
/**
|
|
4141
5476
|
*
|
|
4142
|
-
* @param {
|
|
5477
|
+
* @param {string} place
|
|
4143
5478
|
* @param {*} [options] Override http request option.
|
|
4144
5479
|
* @throws {RequiredError}
|
|
4145
|
-
* @memberof
|
|
5480
|
+
* @memberof LocationApi
|
|
4146
5481
|
*/
|
|
4147
|
-
public
|
|
4148
|
-
return
|
|
5482
|
+
public locationControllerFetchLocations(place: string, options?: RawAxiosRequestConfig) {
|
|
5483
|
+
return LocationApiFp(this.configuration).locationControllerFetchLocations(place, options).then((request) => request(this.axios, this.basePath));
|
|
4149
5484
|
}
|
|
4150
5485
|
}
|
|
4151
5486
|
|
|
4152
5487
|
|
|
4153
5488
|
|
|
4154
5489
|
/**
|
|
4155
|
-
*
|
|
5490
|
+
* NotificationApi - axios parameter creator
|
|
4156
5491
|
* @export
|
|
4157
5492
|
*/
|
|
4158
|
-
export const
|
|
5493
|
+
export const NotificationApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
4159
5494
|
return {
|
|
4160
5495
|
/**
|
|
4161
5496
|
*
|
|
4162
|
-
* @param {
|
|
4163
|
-
* @param {
|
|
5497
|
+
* @param {number} page
|
|
5498
|
+
* @param {number} pageSize
|
|
4164
5499
|
* @param {*} [options] Override http request option.
|
|
4165
5500
|
* @throws {RequiredError}
|
|
4166
5501
|
*/
|
|
4167
|
-
|
|
4168
|
-
// verify required parameter '
|
|
4169
|
-
assertParamExists('
|
|
4170
|
-
// verify required parameter '
|
|
4171
|
-
assertParamExists('
|
|
4172
|
-
const localVarPath = `/v1/
|
|
5502
|
+
notificationControllerGetNotification: async (page: number, pageSize: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
5503
|
+
// verify required parameter 'page' is not null or undefined
|
|
5504
|
+
assertParamExists('notificationControllerGetNotification', 'page', page)
|
|
5505
|
+
// verify required parameter 'pageSize' is not null or undefined
|
|
5506
|
+
assertParamExists('notificationControllerGetNotification', 'pageSize', pageSize)
|
|
5507
|
+
const localVarPath = `/v1/notification`;
|
|
4173
5508
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
4174
5509
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
4175
5510
|
let baseOptions;
|
|
@@ -4181,12 +5516,16 @@ export const LocationApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
4181
5516
|
const localVarHeaderParameter = {} as any;
|
|
4182
5517
|
const localVarQueryParameter = {} as any;
|
|
4183
5518
|
|
|
4184
|
-
|
|
4185
|
-
|
|
5519
|
+
// authentication bearer required
|
|
5520
|
+
// http bearer authentication required
|
|
5521
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
5522
|
+
|
|
5523
|
+
if (page !== undefined) {
|
|
5524
|
+
localVarQueryParameter['page'] = page;
|
|
4186
5525
|
}
|
|
4187
5526
|
|
|
4188
|
-
if (
|
|
4189
|
-
localVarQueryParameter['
|
|
5527
|
+
if (pageSize !== undefined) {
|
|
5528
|
+
localVarQueryParameter['pageSize'] = pageSize;
|
|
4190
5529
|
}
|
|
4191
5530
|
|
|
4192
5531
|
|
|
@@ -4202,14 +5541,14 @@ export const LocationApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
4202
5541
|
},
|
|
4203
5542
|
/**
|
|
4204
5543
|
*
|
|
4205
|
-
* @param {
|
|
5544
|
+
* @param {NotificationReadDTO} notificationReadDTO
|
|
4206
5545
|
* @param {*} [options] Override http request option.
|
|
4207
5546
|
* @throws {RequiredError}
|
|
4208
5547
|
*/
|
|
4209
|
-
|
|
4210
|
-
// verify required parameter '
|
|
4211
|
-
assertParamExists('
|
|
4212
|
-
const localVarPath = `/v1/
|
|
5548
|
+
notificationControllerReadNotification: async (notificationReadDTO: NotificationReadDTO, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
5549
|
+
// verify required parameter 'notificationReadDTO' is not null or undefined
|
|
5550
|
+
assertParamExists('notificationControllerReadNotification', 'notificationReadDTO', notificationReadDTO)
|
|
5551
|
+
const localVarPath = `/v1/notification/read`;
|
|
4213
5552
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
4214
5553
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
4215
5554
|
let baseOptions;
|
|
@@ -4217,19 +5556,22 @@ export const LocationApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
4217
5556
|
baseOptions = configuration.baseOptions;
|
|
4218
5557
|
}
|
|
4219
5558
|
|
|
4220
|
-
const localVarRequestOptions = { method: '
|
|
5559
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
4221
5560
|
const localVarHeaderParameter = {} as any;
|
|
4222
5561
|
const localVarQueryParameter = {} as any;
|
|
4223
5562
|
|
|
4224
|
-
|
|
4225
|
-
|
|
4226
|
-
|
|
5563
|
+
// authentication bearer required
|
|
5564
|
+
// http bearer authentication required
|
|
5565
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
4227
5566
|
|
|
4228
5567
|
|
|
4229
5568
|
|
|
5569
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
5570
|
+
|
|
4230
5571
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
4231
5572
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4232
5573
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
5574
|
+
localVarRequestOptions.data = serializeDataIfNeeded(notificationReadDTO, localVarRequestOptions, configuration)
|
|
4233
5575
|
|
|
4234
5576
|
return {
|
|
4235
5577
|
url: toPathString(localVarUrlObj),
|
|
@@ -4240,97 +5582,97 @@ export const LocationApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
4240
5582
|
};
|
|
4241
5583
|
|
|
4242
5584
|
/**
|
|
4243
|
-
*
|
|
5585
|
+
* NotificationApi - functional programming interface
|
|
4244
5586
|
* @export
|
|
4245
5587
|
*/
|
|
4246
|
-
export const
|
|
4247
|
-
const localVarAxiosParamCreator =
|
|
5588
|
+
export const NotificationApiFp = function(configuration?: Configuration) {
|
|
5589
|
+
const localVarAxiosParamCreator = NotificationApiAxiosParamCreator(configuration)
|
|
4248
5590
|
return {
|
|
4249
5591
|
/**
|
|
4250
5592
|
*
|
|
4251
|
-
* @param {
|
|
4252
|
-
* @param {
|
|
5593
|
+
* @param {number} page
|
|
5594
|
+
* @param {number} pageSize
|
|
4253
5595
|
* @param {*} [options] Override http request option.
|
|
4254
5596
|
* @throws {RequiredError}
|
|
4255
5597
|
*/
|
|
4256
|
-
async
|
|
4257
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
5598
|
+
async notificationControllerGetNotification(page: number, pageSize: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetNotificationDTO>> {
|
|
5599
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.notificationControllerGetNotification(page, pageSize, options);
|
|
4258
5600
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
4259
|
-
const localVarOperationServerBasePath = operationServerMap['
|
|
5601
|
+
const localVarOperationServerBasePath = operationServerMap['NotificationApi.notificationControllerGetNotification']?.[localVarOperationServerIndex]?.url;
|
|
4260
5602
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4261
5603
|
},
|
|
4262
5604
|
/**
|
|
4263
5605
|
*
|
|
4264
|
-
* @param {
|
|
5606
|
+
* @param {NotificationReadDTO} notificationReadDTO
|
|
4265
5607
|
* @param {*} [options] Override http request option.
|
|
4266
5608
|
* @throws {RequiredError}
|
|
4267
5609
|
*/
|
|
4268
|
-
async
|
|
4269
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
5610
|
+
async notificationControllerReadNotification(notificationReadDTO: NotificationReadDTO, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<NotificationReadResponseDTO>> {
|
|
5611
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.notificationControllerReadNotification(notificationReadDTO, options);
|
|
4270
5612
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
4271
|
-
const localVarOperationServerBasePath = operationServerMap['
|
|
5613
|
+
const localVarOperationServerBasePath = operationServerMap['NotificationApi.notificationControllerReadNotification']?.[localVarOperationServerIndex]?.url;
|
|
4272
5614
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4273
5615
|
},
|
|
4274
5616
|
}
|
|
4275
5617
|
};
|
|
4276
5618
|
|
|
4277
5619
|
/**
|
|
4278
|
-
*
|
|
5620
|
+
* NotificationApi - factory interface
|
|
4279
5621
|
* @export
|
|
4280
5622
|
*/
|
|
4281
|
-
export const
|
|
4282
|
-
const localVarFp =
|
|
5623
|
+
export const NotificationApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
5624
|
+
const localVarFp = NotificationApiFp(configuration)
|
|
4283
5625
|
return {
|
|
4284
5626
|
/**
|
|
4285
5627
|
*
|
|
4286
|
-
* @param {
|
|
4287
|
-
* @param {
|
|
5628
|
+
* @param {number} page
|
|
5629
|
+
* @param {number} pageSize
|
|
4288
5630
|
* @param {*} [options] Override http request option.
|
|
4289
5631
|
* @throws {RequiredError}
|
|
4290
5632
|
*/
|
|
4291
|
-
|
|
4292
|
-
return localVarFp.
|
|
5633
|
+
notificationControllerGetNotification(page: number, pageSize: number, options?: RawAxiosRequestConfig): AxiosPromise<GetNotificationDTO> {
|
|
5634
|
+
return localVarFp.notificationControllerGetNotification(page, pageSize, options).then((request) => request(axios, basePath));
|
|
4293
5635
|
},
|
|
4294
5636
|
/**
|
|
4295
5637
|
*
|
|
4296
|
-
* @param {
|
|
5638
|
+
* @param {NotificationReadDTO} notificationReadDTO
|
|
4297
5639
|
* @param {*} [options] Override http request option.
|
|
4298
5640
|
* @throws {RequiredError}
|
|
4299
5641
|
*/
|
|
4300
|
-
|
|
4301
|
-
return localVarFp.
|
|
5642
|
+
notificationControllerReadNotification(notificationReadDTO: NotificationReadDTO, options?: RawAxiosRequestConfig): AxiosPromise<NotificationReadResponseDTO> {
|
|
5643
|
+
return localVarFp.notificationControllerReadNotification(notificationReadDTO, options).then((request) => request(axios, basePath));
|
|
4302
5644
|
},
|
|
4303
5645
|
};
|
|
4304
5646
|
};
|
|
4305
5647
|
|
|
4306
5648
|
/**
|
|
4307
|
-
*
|
|
5649
|
+
* NotificationApi - object-oriented interface
|
|
4308
5650
|
* @export
|
|
4309
|
-
* @class
|
|
5651
|
+
* @class NotificationApi
|
|
4310
5652
|
* @extends {BaseAPI}
|
|
4311
5653
|
*/
|
|
4312
|
-
export class
|
|
5654
|
+
export class NotificationApi extends BaseAPI {
|
|
4313
5655
|
/**
|
|
4314
5656
|
*
|
|
4315
|
-
* @param {
|
|
4316
|
-
* @param {
|
|
5657
|
+
* @param {number} page
|
|
5658
|
+
* @param {number} pageSize
|
|
4317
5659
|
* @param {*} [options] Override http request option.
|
|
4318
5660
|
* @throws {RequiredError}
|
|
4319
|
-
* @memberof
|
|
5661
|
+
* @memberof NotificationApi
|
|
4320
5662
|
*/
|
|
4321
|
-
public
|
|
4322
|
-
return
|
|
5663
|
+
public notificationControllerGetNotification(page: number, pageSize: number, options?: RawAxiosRequestConfig) {
|
|
5664
|
+
return NotificationApiFp(this.configuration).notificationControllerGetNotification(page, pageSize, options).then((request) => request(this.axios, this.basePath));
|
|
4323
5665
|
}
|
|
4324
5666
|
|
|
4325
5667
|
/**
|
|
4326
5668
|
*
|
|
4327
|
-
* @param {
|
|
5669
|
+
* @param {NotificationReadDTO} notificationReadDTO
|
|
4328
5670
|
* @param {*} [options] Override http request option.
|
|
4329
5671
|
* @throws {RequiredError}
|
|
4330
|
-
* @memberof
|
|
5672
|
+
* @memberof NotificationApi
|
|
4331
5673
|
*/
|
|
4332
|
-
public
|
|
4333
|
-
return
|
|
5674
|
+
public notificationControllerReadNotification(notificationReadDTO: NotificationReadDTO, options?: RawAxiosRequestConfig) {
|
|
5675
|
+
return NotificationApiFp(this.configuration).notificationControllerReadNotification(notificationReadDTO, options).then((request) => request(this.axios, this.basePath));
|
|
4334
5676
|
}
|
|
4335
5677
|
}
|
|
4336
5678
|
|
|
@@ -4818,6 +6160,39 @@ export class PlansApi extends BaseAPI {
|
|
|
4818
6160
|
*/
|
|
4819
6161
|
export const UsersApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
4820
6162
|
return {
|
|
6163
|
+
/**
|
|
6164
|
+
*
|
|
6165
|
+
* @param {*} [options] Override http request option.
|
|
6166
|
+
* @throws {RequiredError}
|
|
6167
|
+
*/
|
|
6168
|
+
usersControllerDeactivateAccount: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
6169
|
+
const localVarPath = `/v1/user/deactivate`;
|
|
6170
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
6171
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
6172
|
+
let baseOptions;
|
|
6173
|
+
if (configuration) {
|
|
6174
|
+
baseOptions = configuration.baseOptions;
|
|
6175
|
+
}
|
|
6176
|
+
|
|
6177
|
+
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
|
|
6178
|
+
const localVarHeaderParameter = {} as any;
|
|
6179
|
+
const localVarQueryParameter = {} as any;
|
|
6180
|
+
|
|
6181
|
+
// authentication bearer required
|
|
6182
|
+
// http bearer authentication required
|
|
6183
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
6184
|
+
|
|
6185
|
+
|
|
6186
|
+
|
|
6187
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
6188
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
6189
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
6190
|
+
|
|
6191
|
+
return {
|
|
6192
|
+
url: toPathString(localVarUrlObj),
|
|
6193
|
+
options: localVarRequestOptions,
|
|
6194
|
+
};
|
|
6195
|
+
},
|
|
4821
6196
|
/**
|
|
4822
6197
|
*
|
|
4823
6198
|
* @param {*} [options] Override http request option.
|
|
@@ -4851,6 +6226,45 @@ export const UsersApiAxiosParamCreator = function (configuration?: Configuration
|
|
|
4851
6226
|
options: localVarRequestOptions,
|
|
4852
6227
|
};
|
|
4853
6228
|
},
|
|
6229
|
+
/**
|
|
6230
|
+
*
|
|
6231
|
+
* @param {GetUserDTO} getUserDTO
|
|
6232
|
+
* @param {*} [options] Override http request option.
|
|
6233
|
+
* @throws {RequiredError}
|
|
6234
|
+
*/
|
|
6235
|
+
usersControllerGetUser: async (getUserDTO: GetUserDTO, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
6236
|
+
// verify required parameter 'getUserDTO' is not null or undefined
|
|
6237
|
+
assertParamExists('usersControllerGetUser', 'getUserDTO', getUserDTO)
|
|
6238
|
+
const localVarPath = `/v1/user/get-user`;
|
|
6239
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
6240
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
6241
|
+
let baseOptions;
|
|
6242
|
+
if (configuration) {
|
|
6243
|
+
baseOptions = configuration.baseOptions;
|
|
6244
|
+
}
|
|
6245
|
+
|
|
6246
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
6247
|
+
const localVarHeaderParameter = {} as any;
|
|
6248
|
+
const localVarQueryParameter = {} as any;
|
|
6249
|
+
|
|
6250
|
+
// authentication bearer required
|
|
6251
|
+
// http bearer authentication required
|
|
6252
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
6253
|
+
|
|
6254
|
+
|
|
6255
|
+
|
|
6256
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
6257
|
+
|
|
6258
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
6259
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
6260
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
6261
|
+
localVarRequestOptions.data = serializeDataIfNeeded(getUserDTO, localVarRequestOptions, configuration)
|
|
6262
|
+
|
|
6263
|
+
return {
|
|
6264
|
+
url: toPathString(localVarUrlObj),
|
|
6265
|
+
options: localVarRequestOptions,
|
|
6266
|
+
};
|
|
6267
|
+
},
|
|
4854
6268
|
/**
|
|
4855
6269
|
*
|
|
4856
6270
|
* @param {OnBoardingDTO} onBoardingDTO
|
|
@@ -4892,14 +6306,14 @@ export const UsersApiAxiosParamCreator = function (configuration?: Configuration
|
|
|
4892
6306
|
},
|
|
4893
6307
|
/**
|
|
4894
6308
|
*
|
|
4895
|
-
* @param {
|
|
6309
|
+
* @param {UserSyncDTO} userSyncDTO
|
|
4896
6310
|
* @param {*} [options] Override http request option.
|
|
4897
6311
|
* @throws {RequiredError}
|
|
4898
6312
|
*/
|
|
4899
|
-
|
|
4900
|
-
// verify required parameter '
|
|
4901
|
-
assertParamExists('
|
|
4902
|
-
const localVarPath = `/v1/user/sync
|
|
6313
|
+
usersControllerSyncUserInfo: async (userSyncDTO: UserSyncDTO, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
6314
|
+
// verify required parameter 'userSyncDTO' is not null or undefined
|
|
6315
|
+
assertParamExists('usersControllerSyncUserInfo', 'userSyncDTO', userSyncDTO)
|
|
6316
|
+
const localVarPath = `/v1/user/sync-info`;
|
|
4903
6317
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
4904
6318
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
4905
6319
|
let baseOptions;
|
|
@@ -4922,7 +6336,46 @@ export const UsersApiAxiosParamCreator = function (configuration?: Configuration
|
|
|
4922
6336
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
4923
6337
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4924
6338
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
4925
|
-
localVarRequestOptions.data = serializeDataIfNeeded(
|
|
6339
|
+
localVarRequestOptions.data = serializeDataIfNeeded(userSyncDTO, localVarRequestOptions, configuration)
|
|
6340
|
+
|
|
6341
|
+
return {
|
|
6342
|
+
url: toPathString(localVarUrlObj),
|
|
6343
|
+
options: localVarRequestOptions,
|
|
6344
|
+
};
|
|
6345
|
+
},
|
|
6346
|
+
/**
|
|
6347
|
+
*
|
|
6348
|
+
* @param {UserPermissionDTO} userPermissionDTO
|
|
6349
|
+
* @param {*} [options] Override http request option.
|
|
6350
|
+
* @throws {RequiredError}
|
|
6351
|
+
*/
|
|
6352
|
+
usersControllerSyncUserPermissions: async (userPermissionDTO: UserPermissionDTO, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
6353
|
+
// verify required parameter 'userPermissionDTO' is not null or undefined
|
|
6354
|
+
assertParamExists('usersControllerSyncUserPermissions', 'userPermissionDTO', userPermissionDTO)
|
|
6355
|
+
const localVarPath = `/v1/user/permissions`;
|
|
6356
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
6357
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
6358
|
+
let baseOptions;
|
|
6359
|
+
if (configuration) {
|
|
6360
|
+
baseOptions = configuration.baseOptions;
|
|
6361
|
+
}
|
|
6362
|
+
|
|
6363
|
+
const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
|
|
6364
|
+
const localVarHeaderParameter = {} as any;
|
|
6365
|
+
const localVarQueryParameter = {} as any;
|
|
6366
|
+
|
|
6367
|
+
// authentication bearer required
|
|
6368
|
+
// http bearer authentication required
|
|
6369
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
6370
|
+
|
|
6371
|
+
|
|
6372
|
+
|
|
6373
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
6374
|
+
|
|
6375
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
6376
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
6377
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
6378
|
+
localVarRequestOptions.data = serializeDataIfNeeded(userPermissionDTO, localVarRequestOptions, configuration)
|
|
4926
6379
|
|
|
4927
6380
|
return {
|
|
4928
6381
|
url: toPathString(localVarUrlObj),
|
|
@@ -4939,6 +6392,17 @@ export const UsersApiAxiosParamCreator = function (configuration?: Configuration
|
|
|
4939
6392
|
export const UsersApiFp = function(configuration?: Configuration) {
|
|
4940
6393
|
const localVarAxiosParamCreator = UsersApiAxiosParamCreator(configuration)
|
|
4941
6394
|
return {
|
|
6395
|
+
/**
|
|
6396
|
+
*
|
|
6397
|
+
* @param {*} [options] Override http request option.
|
|
6398
|
+
* @throws {RequiredError}
|
|
6399
|
+
*/
|
|
6400
|
+
async usersControllerDeactivateAccount(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<OnBoardingResponseDTO>> {
|
|
6401
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.usersControllerDeactivateAccount(options);
|
|
6402
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
6403
|
+
const localVarOperationServerBasePath = operationServerMap['UsersApi.usersControllerDeactivateAccount']?.[localVarOperationServerIndex]?.url;
|
|
6404
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
6405
|
+
},
|
|
4942
6406
|
/**
|
|
4943
6407
|
*
|
|
4944
6408
|
* @param {*} [options] Override http request option.
|
|
@@ -4950,6 +6414,18 @@ export const UsersApiFp = function(configuration?: Configuration) {
|
|
|
4950
6414
|
const localVarOperationServerBasePath = operationServerMap['UsersApi.usersControllerGetMe']?.[localVarOperationServerIndex]?.url;
|
|
4951
6415
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4952
6416
|
},
|
|
6417
|
+
/**
|
|
6418
|
+
*
|
|
6419
|
+
* @param {GetUserDTO} getUserDTO
|
|
6420
|
+
* @param {*} [options] Override http request option.
|
|
6421
|
+
* @throws {RequiredError}
|
|
6422
|
+
*/
|
|
6423
|
+
async usersControllerGetUser(getUserDTO: GetUserDTO, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<OnBoardingResponseDTO>> {
|
|
6424
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.usersControllerGetUser(getUserDTO, options);
|
|
6425
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
6426
|
+
const localVarOperationServerBasePath = operationServerMap['UsersApi.usersControllerGetUser']?.[localVarOperationServerIndex]?.url;
|
|
6427
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
6428
|
+
},
|
|
4953
6429
|
/**
|
|
4954
6430
|
*
|
|
4955
6431
|
* @param {OnBoardingDTO} onBoardingDTO
|
|
@@ -4964,14 +6440,26 @@ export const UsersApiFp = function(configuration?: Configuration) {
|
|
|
4964
6440
|
},
|
|
4965
6441
|
/**
|
|
4966
6442
|
*
|
|
4967
|
-
* @param {
|
|
6443
|
+
* @param {UserSyncDTO} userSyncDTO
|
|
6444
|
+
* @param {*} [options] Override http request option.
|
|
6445
|
+
* @throws {RequiredError}
|
|
6446
|
+
*/
|
|
6447
|
+
async usersControllerSyncUserInfo(userSyncDTO: UserSyncDTO, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<OnBoardingResponseDTO>> {
|
|
6448
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.usersControllerSyncUserInfo(userSyncDTO, options);
|
|
6449
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
6450
|
+
const localVarOperationServerBasePath = operationServerMap['UsersApi.usersControllerSyncUserInfo']?.[localVarOperationServerIndex]?.url;
|
|
6451
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
6452
|
+
},
|
|
6453
|
+
/**
|
|
6454
|
+
*
|
|
6455
|
+
* @param {UserPermissionDTO} userPermissionDTO
|
|
4968
6456
|
* @param {*} [options] Override http request option.
|
|
4969
6457
|
* @throws {RequiredError}
|
|
4970
6458
|
*/
|
|
4971
|
-
async
|
|
4972
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
6459
|
+
async usersControllerSyncUserPermissions(userPermissionDTO: UserPermissionDTO, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<OnBoardingResponseDTO>> {
|
|
6460
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.usersControllerSyncUserPermissions(userPermissionDTO, options);
|
|
4973
6461
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
4974
|
-
const localVarOperationServerBasePath = operationServerMap['UsersApi.
|
|
6462
|
+
const localVarOperationServerBasePath = operationServerMap['UsersApi.usersControllerSyncUserPermissions']?.[localVarOperationServerIndex]?.url;
|
|
4975
6463
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4976
6464
|
},
|
|
4977
6465
|
}
|
|
@@ -4984,6 +6472,14 @@ export const UsersApiFp = function(configuration?: Configuration) {
|
|
|
4984
6472
|
export const UsersApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
4985
6473
|
const localVarFp = UsersApiFp(configuration)
|
|
4986
6474
|
return {
|
|
6475
|
+
/**
|
|
6476
|
+
*
|
|
6477
|
+
* @param {*} [options] Override http request option.
|
|
6478
|
+
* @throws {RequiredError}
|
|
6479
|
+
*/
|
|
6480
|
+
usersControllerDeactivateAccount(options?: RawAxiosRequestConfig): AxiosPromise<OnBoardingResponseDTO> {
|
|
6481
|
+
return localVarFp.usersControllerDeactivateAccount(options).then((request) => request(axios, basePath));
|
|
6482
|
+
},
|
|
4987
6483
|
/**
|
|
4988
6484
|
*
|
|
4989
6485
|
* @param {*} [options] Override http request option.
|
|
@@ -4992,6 +6488,15 @@ export const UsersApiFactory = function (configuration?: Configuration, basePath
|
|
|
4992
6488
|
usersControllerGetMe(options?: RawAxiosRequestConfig): AxiosPromise<UserMeDTO> {
|
|
4993
6489
|
return localVarFp.usersControllerGetMe(options).then((request) => request(axios, basePath));
|
|
4994
6490
|
},
|
|
6491
|
+
/**
|
|
6492
|
+
*
|
|
6493
|
+
* @param {GetUserDTO} getUserDTO
|
|
6494
|
+
* @param {*} [options] Override http request option.
|
|
6495
|
+
* @throws {RequiredError}
|
|
6496
|
+
*/
|
|
6497
|
+
usersControllerGetUser(getUserDTO: GetUserDTO, options?: RawAxiosRequestConfig): AxiosPromise<OnBoardingResponseDTO> {
|
|
6498
|
+
return localVarFp.usersControllerGetUser(getUserDTO, options).then((request) => request(axios, basePath));
|
|
6499
|
+
},
|
|
4995
6500
|
/**
|
|
4996
6501
|
*
|
|
4997
6502
|
* @param {OnBoardingDTO} onBoardingDTO
|
|
@@ -5003,12 +6508,21 @@ export const UsersApiFactory = function (configuration?: Configuration, basePath
|
|
|
5003
6508
|
},
|
|
5004
6509
|
/**
|
|
5005
6510
|
*
|
|
5006
|
-
* @param {
|
|
6511
|
+
* @param {UserSyncDTO} userSyncDTO
|
|
6512
|
+
* @param {*} [options] Override http request option.
|
|
6513
|
+
* @throws {RequiredError}
|
|
6514
|
+
*/
|
|
6515
|
+
usersControllerSyncUserInfo(userSyncDTO: UserSyncDTO, options?: RawAxiosRequestConfig): AxiosPromise<OnBoardingResponseDTO> {
|
|
6516
|
+
return localVarFp.usersControllerSyncUserInfo(userSyncDTO, options).then((request) => request(axios, basePath));
|
|
6517
|
+
},
|
|
6518
|
+
/**
|
|
6519
|
+
*
|
|
6520
|
+
* @param {UserPermissionDTO} userPermissionDTO
|
|
5007
6521
|
* @param {*} [options] Override http request option.
|
|
5008
6522
|
* @throws {RequiredError}
|
|
5009
6523
|
*/
|
|
5010
|
-
|
|
5011
|
-
return localVarFp.
|
|
6524
|
+
usersControllerSyncUserPermissions(userPermissionDTO: UserPermissionDTO, options?: RawAxiosRequestConfig): AxiosPromise<OnBoardingResponseDTO> {
|
|
6525
|
+
return localVarFp.usersControllerSyncUserPermissions(userPermissionDTO, options).then((request) => request(axios, basePath));
|
|
5012
6526
|
},
|
|
5013
6527
|
};
|
|
5014
6528
|
};
|
|
@@ -5020,6 +6534,16 @@ export const UsersApiFactory = function (configuration?: Configuration, basePath
|
|
|
5020
6534
|
* @extends {BaseAPI}
|
|
5021
6535
|
*/
|
|
5022
6536
|
export class UsersApi extends BaseAPI {
|
|
6537
|
+
/**
|
|
6538
|
+
*
|
|
6539
|
+
* @param {*} [options] Override http request option.
|
|
6540
|
+
* @throws {RequiredError}
|
|
6541
|
+
* @memberof UsersApi
|
|
6542
|
+
*/
|
|
6543
|
+
public usersControllerDeactivateAccount(options?: RawAxiosRequestConfig) {
|
|
6544
|
+
return UsersApiFp(this.configuration).usersControllerDeactivateAccount(options).then((request) => request(this.axios, this.basePath));
|
|
6545
|
+
}
|
|
6546
|
+
|
|
5023
6547
|
/**
|
|
5024
6548
|
*
|
|
5025
6549
|
* @param {*} [options] Override http request option.
|
|
@@ -5030,6 +6554,17 @@ export class UsersApi extends BaseAPI {
|
|
|
5030
6554
|
return UsersApiFp(this.configuration).usersControllerGetMe(options).then((request) => request(this.axios, this.basePath));
|
|
5031
6555
|
}
|
|
5032
6556
|
|
|
6557
|
+
/**
|
|
6558
|
+
*
|
|
6559
|
+
* @param {GetUserDTO} getUserDTO
|
|
6560
|
+
* @param {*} [options] Override http request option.
|
|
6561
|
+
* @throws {RequiredError}
|
|
6562
|
+
* @memberof UsersApi
|
|
6563
|
+
*/
|
|
6564
|
+
public usersControllerGetUser(getUserDTO: GetUserDTO, options?: RawAxiosRequestConfig) {
|
|
6565
|
+
return UsersApiFp(this.configuration).usersControllerGetUser(getUserDTO, options).then((request) => request(this.axios, this.basePath));
|
|
6566
|
+
}
|
|
6567
|
+
|
|
5033
6568
|
/**
|
|
5034
6569
|
*
|
|
5035
6570
|
* @param {OnBoardingDTO} onBoardingDTO
|
|
@@ -5043,13 +6578,24 @@ export class UsersApi extends BaseAPI {
|
|
|
5043
6578
|
|
|
5044
6579
|
/**
|
|
5045
6580
|
*
|
|
5046
|
-
* @param {
|
|
6581
|
+
* @param {UserSyncDTO} userSyncDTO
|
|
6582
|
+
* @param {*} [options] Override http request option.
|
|
6583
|
+
* @throws {RequiredError}
|
|
6584
|
+
* @memberof UsersApi
|
|
6585
|
+
*/
|
|
6586
|
+
public usersControllerSyncUserInfo(userSyncDTO: UserSyncDTO, options?: RawAxiosRequestConfig) {
|
|
6587
|
+
return UsersApiFp(this.configuration).usersControllerSyncUserInfo(userSyncDTO, options).then((request) => request(this.axios, this.basePath));
|
|
6588
|
+
}
|
|
6589
|
+
|
|
6590
|
+
/**
|
|
6591
|
+
*
|
|
6592
|
+
* @param {UserPermissionDTO} userPermissionDTO
|
|
5047
6593
|
* @param {*} [options] Override http request option.
|
|
5048
6594
|
* @throws {RequiredError}
|
|
5049
6595
|
* @memberof UsersApi
|
|
5050
6596
|
*/
|
|
5051
|
-
public
|
|
5052
|
-
return UsersApiFp(this.configuration).
|
|
6597
|
+
public usersControllerSyncUserPermissions(userPermissionDTO: UserPermissionDTO, options?: RawAxiosRequestConfig) {
|
|
6598
|
+
return UsersApiFp(this.configuration).usersControllerSyncUserPermissions(userPermissionDTO, options).then((request) => request(this.axios, this.basePath));
|
|
5053
6599
|
}
|
|
5054
6600
|
}
|
|
5055
6601
|
|