@gooday_corp/gooday-api-client 1.1.27 → 1.1.29
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 +1500 -98
- 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}
|
|
@@ -2239,21 +2589,21 @@ export class AIApi extends BaseAPI {
|
|
|
2239
2589
|
|
|
2240
2590
|
|
|
2241
2591
|
/**
|
|
2242
|
-
*
|
|
2592
|
+
* AppApi - axios parameter creator
|
|
2243
2593
|
* @export
|
|
2244
2594
|
*/
|
|
2245
|
-
export const
|
|
2595
|
+
export const AppApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
2246
2596
|
return {
|
|
2247
2597
|
/**
|
|
2248
2598
|
*
|
|
2249
|
-
* @param {
|
|
2599
|
+
* @param {FeedbackPayloadDTO} feedbackPayloadDTO
|
|
2250
2600
|
* @param {*} [options] Override http request option.
|
|
2251
2601
|
* @throws {RequiredError}
|
|
2252
2602
|
*/
|
|
2253
|
-
|
|
2254
|
-
// verify required parameter '
|
|
2255
|
-
assertParamExists('
|
|
2256
|
-
const localVarPath = `/v1/
|
|
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`;
|
|
2257
2607
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
2258
2608
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2259
2609
|
let baseOptions;
|
|
@@ -2265,6 +2615,10 @@ export const AuthApiAxiosParamCreator = function (configuration?: Configuration)
|
|
|
2265
2615
|
const localVarHeaderParameter = {} as any;
|
|
2266
2616
|
const localVarQueryParameter = {} as any;
|
|
2267
2617
|
|
|
2618
|
+
// authentication bearer required
|
|
2619
|
+
// http bearer authentication required
|
|
2620
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
2621
|
+
|
|
2268
2622
|
|
|
2269
2623
|
|
|
2270
2624
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
@@ -2272,7 +2626,7 @@ export const AuthApiAxiosParamCreator = function (configuration?: Configuration)
|
|
|
2272
2626
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2273
2627
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2274
2628
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
2275
|
-
localVarRequestOptions.data = serializeDataIfNeeded(
|
|
2629
|
+
localVarRequestOptions.data = serializeDataIfNeeded(feedbackPayloadDTO, localVarRequestOptions, configuration)
|
|
2276
2630
|
|
|
2277
2631
|
return {
|
|
2278
2632
|
url: toPathString(localVarUrlObj),
|
|
@@ -2281,14 +2635,14 @@ export const AuthApiAxiosParamCreator = function (configuration?: Configuration)
|
|
|
2281
2635
|
},
|
|
2282
2636
|
/**
|
|
2283
2637
|
*
|
|
2284
|
-
* @param {
|
|
2638
|
+
* @param {HelpCenterPayloadDTO} helpCenterPayloadDTO
|
|
2285
2639
|
* @param {*} [options] Override http request option.
|
|
2286
2640
|
* @throws {RequiredError}
|
|
2287
2641
|
*/
|
|
2288
|
-
|
|
2289
|
-
// verify required parameter '
|
|
2290
|
-
assertParamExists('
|
|
2291
|
-
const localVarPath = `/v1/
|
|
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`;
|
|
2292
2646
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
2293
2647
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2294
2648
|
let baseOptions;
|
|
@@ -2300,6 +2654,10 @@ export const AuthApiAxiosParamCreator = function (configuration?: Configuration)
|
|
|
2300
2654
|
const localVarHeaderParameter = {} as any;
|
|
2301
2655
|
const localVarQueryParameter = {} as any;
|
|
2302
2656
|
|
|
2657
|
+
// authentication bearer required
|
|
2658
|
+
// http bearer authentication required
|
|
2659
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
2660
|
+
|
|
2303
2661
|
|
|
2304
2662
|
|
|
2305
2663
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
@@ -2307,24 +2665,197 @@ export const AuthApiAxiosParamCreator = function (configuration?: Configuration)
|
|
|
2307
2665
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2308
2666
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2309
2667
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
2310
|
-
localVarRequestOptions.data = serializeDataIfNeeded(
|
|
2668
|
+
localVarRequestOptions.data = serializeDataIfNeeded(helpCenterPayloadDTO, localVarRequestOptions, configuration)
|
|
2311
2669
|
|
|
2312
2670
|
return {
|
|
2313
2671
|
url: toPathString(localVarUrlObj),
|
|
2314
2672
|
options: localVarRequestOptions,
|
|
2315
2673
|
};
|
|
2316
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 {
|
|
2317
2685
|
/**
|
|
2318
2686
|
*
|
|
2319
|
-
* @param {
|
|
2687
|
+
* @param {FeedbackPayloadDTO} feedbackPayloadDTO
|
|
2320
2688
|
* @param {*} [options] Override http request option.
|
|
2321
2689
|
* @throws {RequiredError}
|
|
2322
2690
|
*/
|
|
2323
|
-
|
|
2324
|
-
|
|
2325
|
-
|
|
2326
|
-
const
|
|
2327
|
-
|
|
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
|
+
|
|
2772
|
+
/**
|
|
2773
|
+
* AuthApi - axios parameter creator
|
|
2774
|
+
* @export
|
|
2775
|
+
*/
|
|
2776
|
+
export const AuthApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
2777
|
+
return {
|
|
2778
|
+
/**
|
|
2779
|
+
*
|
|
2780
|
+
* @param {SignupDto} signupDto
|
|
2781
|
+
* @param {*} [options] Override http request option.
|
|
2782
|
+
* @throws {RequiredError}
|
|
2783
|
+
*/
|
|
2784
|
+
authControllerBusinessRegister: async (signupDto: SignupDto, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
2785
|
+
// verify required parameter 'signupDto' is not null or undefined
|
|
2786
|
+
assertParamExists('authControllerBusinessRegister', 'signupDto', signupDto)
|
|
2787
|
+
const localVarPath = `/v1/auth/business-register`;
|
|
2788
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
2789
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2790
|
+
let baseOptions;
|
|
2791
|
+
if (configuration) {
|
|
2792
|
+
baseOptions = configuration.baseOptions;
|
|
2793
|
+
}
|
|
2794
|
+
|
|
2795
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
2796
|
+
const localVarHeaderParameter = {} as any;
|
|
2797
|
+
const localVarQueryParameter = {} as any;
|
|
2798
|
+
|
|
2799
|
+
|
|
2800
|
+
|
|
2801
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
2802
|
+
|
|
2803
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2804
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2805
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
2806
|
+
localVarRequestOptions.data = serializeDataIfNeeded(signupDto, localVarRequestOptions, configuration)
|
|
2807
|
+
|
|
2808
|
+
return {
|
|
2809
|
+
url: toPathString(localVarUrlObj),
|
|
2810
|
+
options: localVarRequestOptions,
|
|
2811
|
+
};
|
|
2812
|
+
},
|
|
2813
|
+
/**
|
|
2814
|
+
*
|
|
2815
|
+
* @param {NewPasswordPayloadDTO} newPasswordPayloadDTO
|
|
2816
|
+
* @param {*} [options] Override http request option.
|
|
2817
|
+
* @throws {RequiredError}
|
|
2818
|
+
*/
|
|
2819
|
+
authControllerCreateNewPassword: async (newPasswordPayloadDTO: NewPasswordPayloadDTO, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
2820
|
+
// verify required parameter 'newPasswordPayloadDTO' is not null or undefined
|
|
2821
|
+
assertParamExists('authControllerCreateNewPassword', 'newPasswordPayloadDTO', newPasswordPayloadDTO)
|
|
2822
|
+
const localVarPath = `/v1/auth/new-password`;
|
|
2823
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
2824
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2825
|
+
let baseOptions;
|
|
2826
|
+
if (configuration) {
|
|
2827
|
+
baseOptions = configuration.baseOptions;
|
|
2828
|
+
}
|
|
2829
|
+
|
|
2830
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
2831
|
+
const localVarHeaderParameter = {} as any;
|
|
2832
|
+
const localVarQueryParameter = {} as any;
|
|
2833
|
+
|
|
2834
|
+
|
|
2835
|
+
|
|
2836
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
2837
|
+
|
|
2838
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2839
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2840
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
2841
|
+
localVarRequestOptions.data = serializeDataIfNeeded(newPasswordPayloadDTO, localVarRequestOptions, configuration)
|
|
2842
|
+
|
|
2843
|
+
return {
|
|
2844
|
+
url: toPathString(localVarUrlObj),
|
|
2845
|
+
options: localVarRequestOptions,
|
|
2846
|
+
};
|
|
2847
|
+
},
|
|
2848
|
+
/**
|
|
2849
|
+
*
|
|
2850
|
+
* @param {ForgotPasswordPayloadDTO} forgotPasswordPayloadDTO
|
|
2851
|
+
* @param {*} [options] Override http request option.
|
|
2852
|
+
* @throws {RequiredError}
|
|
2853
|
+
*/
|
|
2854
|
+
authControllerForgotPassword: async (forgotPasswordPayloadDTO: ForgotPasswordPayloadDTO, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
2855
|
+
// verify required parameter 'forgotPasswordPayloadDTO' is not null or undefined
|
|
2856
|
+
assertParamExists('authControllerForgotPassword', 'forgotPasswordPayloadDTO', forgotPasswordPayloadDTO)
|
|
2857
|
+
const localVarPath = `/v1/auth/forgot-password`;
|
|
2858
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
2328
2859
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2329
2860
|
let baseOptions;
|
|
2330
2861
|
if (configuration) {
|
|
@@ -3779,21 +4310,21 @@ export class DeviceApi extends BaseAPI {
|
|
|
3779
4310
|
|
|
3780
4311
|
|
|
3781
4312
|
/**
|
|
3782
|
-
*
|
|
4313
|
+
* FriendsApi - axios parameter creator
|
|
3783
4314
|
* @export
|
|
3784
4315
|
*/
|
|
3785
|
-
export const
|
|
4316
|
+
export const FriendsApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
3786
4317
|
return {
|
|
3787
4318
|
/**
|
|
3788
4319
|
*
|
|
3789
|
-
* @param {
|
|
4320
|
+
* @param {ApproveFriendshipRequestPayload} approveFriendshipRequestPayload
|
|
3790
4321
|
* @param {*} [options] Override http request option.
|
|
3791
4322
|
* @throws {RequiredError}
|
|
3792
4323
|
*/
|
|
3793
|
-
|
|
3794
|
-
// verify required parameter '
|
|
3795
|
-
assertParamExists('
|
|
3796
|
-
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`;
|
|
3797
4328
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
3798
4329
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
3799
4330
|
let baseOptions;
|
|
@@ -3805,6 +4336,10 @@ export const GcsApiAxiosParamCreator = function (configuration?: Configuration)
|
|
|
3805
4336
|
const localVarHeaderParameter = {} as any;
|
|
3806
4337
|
const localVarQueryParameter = {} as any;
|
|
3807
4338
|
|
|
4339
|
+
// authentication bearer required
|
|
4340
|
+
// http bearer authentication required
|
|
4341
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
4342
|
+
|
|
3808
4343
|
|
|
3809
4344
|
|
|
3810
4345
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
@@ -3812,91 +4347,66 @@ export const GcsApiAxiosParamCreator = function (configuration?: Configuration)
|
|
|
3812
4347
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
3813
4348
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3814
4349
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
3815
|
-
localVarRequestOptions.data = serializeDataIfNeeded(
|
|
4350
|
+
localVarRequestOptions.data = serializeDataIfNeeded(approveFriendshipRequestPayload, localVarRequestOptions, configuration)
|
|
3816
4351
|
|
|
3817
4352
|
return {
|
|
3818
4353
|
url: toPathString(localVarUrlObj),
|
|
3819
4354
|
options: localVarRequestOptions,
|
|
3820
4355
|
};
|
|
3821
4356
|
},
|
|
3822
|
-
}
|
|
3823
|
-
};
|
|
3824
|
-
|
|
3825
|
-
/**
|
|
3826
|
-
* GcsApi - functional programming interface
|
|
3827
|
-
* @export
|
|
3828
|
-
*/
|
|
3829
|
-
export const GcsApiFp = function(configuration?: Configuration) {
|
|
3830
|
-
const localVarAxiosParamCreator = GcsApiAxiosParamCreator(configuration)
|
|
3831
|
-
return {
|
|
3832
4357
|
/**
|
|
3833
4358
|
*
|
|
3834
|
-
* @param {
|
|
4359
|
+
* @param {DeclineFriendshipRequestPayload} declineFriendshipRequestPayload
|
|
3835
4360
|
* @param {*} [options] Override http request option.
|
|
3836
4361
|
* @throws {RequiredError}
|
|
3837
4362
|
*/
|
|
3838
|
-
async
|
|
3839
|
-
|
|
3840
|
-
|
|
3841
|
-
const
|
|
3842
|
-
|
|
3843
|
-
|
|
3844
|
-
|
|
3845
|
-
|
|
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
|
+
}
|
|
3846
4373
|
|
|
3847
|
-
|
|
3848
|
-
|
|
3849
|
-
|
|
3850
|
-
*/
|
|
3851
|
-
export const GcsApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
3852
|
-
const localVarFp = GcsApiFp(configuration)
|
|
3853
|
-
return {
|
|
3854
|
-
/**
|
|
3855
|
-
*
|
|
3856
|
-
* @param {FileNameUploadDTO} fileNameUploadDTO
|
|
3857
|
-
* @param {*} [options] Override http request option.
|
|
3858
|
-
* @throws {RequiredError}
|
|
3859
|
-
*/
|
|
3860
|
-
gcpControllerUploadFile(fileNameUploadDTO: FileNameUploadDTO, options?: RawAxiosRequestConfig): AxiosPromise<SignedUrlResponseDTO> {
|
|
3861
|
-
return localVarFp.gcpControllerUploadFile(fileNameUploadDTO, options).then((request) => request(axios, basePath));
|
|
3862
|
-
},
|
|
3863
|
-
};
|
|
3864
|
-
};
|
|
4374
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
4375
|
+
const localVarHeaderParameter = {} as any;
|
|
4376
|
+
const localVarQueryParameter = {} as any;
|
|
3865
4377
|
|
|
3866
|
-
|
|
3867
|
-
|
|
3868
|
-
|
|
3869
|
-
* @class GcsApi
|
|
3870
|
-
* @extends {BaseAPI}
|
|
3871
|
-
*/
|
|
3872
|
-
export class GcsApi extends BaseAPI {
|
|
3873
|
-
/**
|
|
3874
|
-
*
|
|
3875
|
-
* @param {FileNameUploadDTO} fileNameUploadDTO
|
|
3876
|
-
* @param {*} [options] Override http request option.
|
|
3877
|
-
* @throws {RequiredError}
|
|
3878
|
-
* @memberof GcsApi
|
|
3879
|
-
*/
|
|
3880
|
-
public gcpControllerUploadFile(fileNameUploadDTO: FileNameUploadDTO, options?: RawAxiosRequestConfig) {
|
|
3881
|
-
return GcsApiFp(this.configuration).gcpControllerUploadFile(fileNameUploadDTO, options).then((request) => request(this.axios, this.basePath));
|
|
3882
|
-
}
|
|
3883
|
-
}
|
|
4378
|
+
// authentication bearer required
|
|
4379
|
+
// http bearer authentication required
|
|
4380
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
3884
4381
|
|
|
3885
4382
|
|
|
4383
|
+
|
|
4384
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
3886
4385
|
|
|
3887
|
-
|
|
3888
|
-
|
|
3889
|
-
|
|
3890
|
-
|
|
3891
|
-
|
|
3892
|
-
|
|
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
|
+
},
|
|
3893
4396
|
/**
|
|
3894
4397
|
*
|
|
4398
|
+
* @param {number} page
|
|
4399
|
+
* @param {number} pageSize
|
|
4400
|
+
* @param {string} [query]
|
|
3895
4401
|
* @param {*} [options] Override http request option.
|
|
3896
4402
|
* @throws {RequiredError}
|
|
3897
4403
|
*/
|
|
3898
|
-
|
|
3899
|
-
|
|
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`;
|
|
3900
4410
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
3901
4411
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
3902
4412
|
let baseOptions;
|
|
@@ -3908,6 +4418,22 @@ export const GoalsApiAxiosParamCreator = function (configuration?: Configuration
|
|
|
3908
4418
|
const localVarHeaderParameter = {} as any;
|
|
3909
4419
|
const localVarQueryParameter = {} as any;
|
|
3910
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
|
+
|
|
3911
4437
|
|
|
3912
4438
|
|
|
3913
4439
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -3919,13 +4445,564 @@ export const GoalsApiAxiosParamCreator = function (configuration?: Configuration
|
|
|
3919
4445
|
options: localVarRequestOptions,
|
|
3920
4446
|
};
|
|
3921
4447
|
},
|
|
3922
|
-
|
|
3923
|
-
|
|
3924
|
-
|
|
3925
|
-
|
|
3926
|
-
|
|
3927
|
-
|
|
3928
|
-
|
|
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
|
+
*/
|
|
3929
5006
|
export const GoalsApiFp = function(configuration?: Configuration) {
|
|
3930
5007
|
const localVarAxiosParamCreator = GoalsApiAxiosParamCreator(configuration)
|
|
3931
5008
|
return {
|
|
@@ -4409,6 +5486,198 @@ export class LocationApi extends BaseAPI {
|
|
|
4409
5486
|
|
|
4410
5487
|
|
|
4411
5488
|
|
|
5489
|
+
/**
|
|
5490
|
+
* NotificationApi - axios parameter creator
|
|
5491
|
+
* @export
|
|
5492
|
+
*/
|
|
5493
|
+
export const NotificationApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
5494
|
+
return {
|
|
5495
|
+
/**
|
|
5496
|
+
*
|
|
5497
|
+
* @param {number} page
|
|
5498
|
+
* @param {number} pageSize
|
|
5499
|
+
* @param {*} [options] Override http request option.
|
|
5500
|
+
* @throws {RequiredError}
|
|
5501
|
+
*/
|
|
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`;
|
|
5508
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
5509
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
5510
|
+
let baseOptions;
|
|
5511
|
+
if (configuration) {
|
|
5512
|
+
baseOptions = configuration.baseOptions;
|
|
5513
|
+
}
|
|
5514
|
+
|
|
5515
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
5516
|
+
const localVarHeaderParameter = {} as any;
|
|
5517
|
+
const localVarQueryParameter = {} as any;
|
|
5518
|
+
|
|
5519
|
+
// authentication bearer required
|
|
5520
|
+
// http bearer authentication required
|
|
5521
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
5522
|
+
|
|
5523
|
+
if (page !== undefined) {
|
|
5524
|
+
localVarQueryParameter['page'] = page;
|
|
5525
|
+
}
|
|
5526
|
+
|
|
5527
|
+
if (pageSize !== undefined) {
|
|
5528
|
+
localVarQueryParameter['pageSize'] = pageSize;
|
|
5529
|
+
}
|
|
5530
|
+
|
|
5531
|
+
|
|
5532
|
+
|
|
5533
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
5534
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
5535
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
5536
|
+
|
|
5537
|
+
return {
|
|
5538
|
+
url: toPathString(localVarUrlObj),
|
|
5539
|
+
options: localVarRequestOptions,
|
|
5540
|
+
};
|
|
5541
|
+
},
|
|
5542
|
+
/**
|
|
5543
|
+
*
|
|
5544
|
+
* @param {NotificationReadDTO} notificationReadDTO
|
|
5545
|
+
* @param {*} [options] Override http request option.
|
|
5546
|
+
* @throws {RequiredError}
|
|
5547
|
+
*/
|
|
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`;
|
|
5552
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
5553
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
5554
|
+
let baseOptions;
|
|
5555
|
+
if (configuration) {
|
|
5556
|
+
baseOptions = configuration.baseOptions;
|
|
5557
|
+
}
|
|
5558
|
+
|
|
5559
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
5560
|
+
const localVarHeaderParameter = {} as any;
|
|
5561
|
+
const localVarQueryParameter = {} as any;
|
|
5562
|
+
|
|
5563
|
+
// authentication bearer required
|
|
5564
|
+
// http bearer authentication required
|
|
5565
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
5566
|
+
|
|
5567
|
+
|
|
5568
|
+
|
|
5569
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
5570
|
+
|
|
5571
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
5572
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
5573
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
5574
|
+
localVarRequestOptions.data = serializeDataIfNeeded(notificationReadDTO, localVarRequestOptions, configuration)
|
|
5575
|
+
|
|
5576
|
+
return {
|
|
5577
|
+
url: toPathString(localVarUrlObj),
|
|
5578
|
+
options: localVarRequestOptions,
|
|
5579
|
+
};
|
|
5580
|
+
},
|
|
5581
|
+
}
|
|
5582
|
+
};
|
|
5583
|
+
|
|
5584
|
+
/**
|
|
5585
|
+
* NotificationApi - functional programming interface
|
|
5586
|
+
* @export
|
|
5587
|
+
*/
|
|
5588
|
+
export const NotificationApiFp = function(configuration?: Configuration) {
|
|
5589
|
+
const localVarAxiosParamCreator = NotificationApiAxiosParamCreator(configuration)
|
|
5590
|
+
return {
|
|
5591
|
+
/**
|
|
5592
|
+
*
|
|
5593
|
+
* @param {number} page
|
|
5594
|
+
* @param {number} pageSize
|
|
5595
|
+
* @param {*} [options] Override http request option.
|
|
5596
|
+
* @throws {RequiredError}
|
|
5597
|
+
*/
|
|
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);
|
|
5600
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
5601
|
+
const localVarOperationServerBasePath = operationServerMap['NotificationApi.notificationControllerGetNotification']?.[localVarOperationServerIndex]?.url;
|
|
5602
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
5603
|
+
},
|
|
5604
|
+
/**
|
|
5605
|
+
*
|
|
5606
|
+
* @param {NotificationReadDTO} notificationReadDTO
|
|
5607
|
+
* @param {*} [options] Override http request option.
|
|
5608
|
+
* @throws {RequiredError}
|
|
5609
|
+
*/
|
|
5610
|
+
async notificationControllerReadNotification(notificationReadDTO: NotificationReadDTO, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<NotificationReadResponseDTO>> {
|
|
5611
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.notificationControllerReadNotification(notificationReadDTO, options);
|
|
5612
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
5613
|
+
const localVarOperationServerBasePath = operationServerMap['NotificationApi.notificationControllerReadNotification']?.[localVarOperationServerIndex]?.url;
|
|
5614
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
5615
|
+
},
|
|
5616
|
+
}
|
|
5617
|
+
};
|
|
5618
|
+
|
|
5619
|
+
/**
|
|
5620
|
+
* NotificationApi - factory interface
|
|
5621
|
+
* @export
|
|
5622
|
+
*/
|
|
5623
|
+
export const NotificationApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
5624
|
+
const localVarFp = NotificationApiFp(configuration)
|
|
5625
|
+
return {
|
|
5626
|
+
/**
|
|
5627
|
+
*
|
|
5628
|
+
* @param {number} page
|
|
5629
|
+
* @param {number} pageSize
|
|
5630
|
+
* @param {*} [options] Override http request option.
|
|
5631
|
+
* @throws {RequiredError}
|
|
5632
|
+
*/
|
|
5633
|
+
notificationControllerGetNotification(page: number, pageSize: number, options?: RawAxiosRequestConfig): AxiosPromise<GetNotificationDTO> {
|
|
5634
|
+
return localVarFp.notificationControllerGetNotification(page, pageSize, options).then((request) => request(axios, basePath));
|
|
5635
|
+
},
|
|
5636
|
+
/**
|
|
5637
|
+
*
|
|
5638
|
+
* @param {NotificationReadDTO} notificationReadDTO
|
|
5639
|
+
* @param {*} [options] Override http request option.
|
|
5640
|
+
* @throws {RequiredError}
|
|
5641
|
+
*/
|
|
5642
|
+
notificationControllerReadNotification(notificationReadDTO: NotificationReadDTO, options?: RawAxiosRequestConfig): AxiosPromise<NotificationReadResponseDTO> {
|
|
5643
|
+
return localVarFp.notificationControllerReadNotification(notificationReadDTO, options).then((request) => request(axios, basePath));
|
|
5644
|
+
},
|
|
5645
|
+
};
|
|
5646
|
+
};
|
|
5647
|
+
|
|
5648
|
+
/**
|
|
5649
|
+
* NotificationApi - object-oriented interface
|
|
5650
|
+
* @export
|
|
5651
|
+
* @class NotificationApi
|
|
5652
|
+
* @extends {BaseAPI}
|
|
5653
|
+
*/
|
|
5654
|
+
export class NotificationApi extends BaseAPI {
|
|
5655
|
+
/**
|
|
5656
|
+
*
|
|
5657
|
+
* @param {number} page
|
|
5658
|
+
* @param {number} pageSize
|
|
5659
|
+
* @param {*} [options] Override http request option.
|
|
5660
|
+
* @throws {RequiredError}
|
|
5661
|
+
* @memberof NotificationApi
|
|
5662
|
+
*/
|
|
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));
|
|
5665
|
+
}
|
|
5666
|
+
|
|
5667
|
+
/**
|
|
5668
|
+
*
|
|
5669
|
+
* @param {NotificationReadDTO} notificationReadDTO
|
|
5670
|
+
* @param {*} [options] Override http request option.
|
|
5671
|
+
* @throws {RequiredError}
|
|
5672
|
+
* @memberof NotificationApi
|
|
5673
|
+
*/
|
|
5674
|
+
public notificationControllerReadNotification(notificationReadDTO: NotificationReadDTO, options?: RawAxiosRequestConfig) {
|
|
5675
|
+
return NotificationApiFp(this.configuration).notificationControllerReadNotification(notificationReadDTO, options).then((request) => request(this.axios, this.basePath));
|
|
5676
|
+
}
|
|
5677
|
+
}
|
|
5678
|
+
|
|
5679
|
+
|
|
5680
|
+
|
|
4412
5681
|
/**
|
|
4413
5682
|
* OAuthApi - axios parameter creator
|
|
4414
5683
|
* @export
|
|
@@ -4891,6 +6160,39 @@ export class PlansApi extends BaseAPI {
|
|
|
4891
6160
|
*/
|
|
4892
6161
|
export const UsersApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
4893
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
|
+
},
|
|
4894
6196
|
/**
|
|
4895
6197
|
*
|
|
4896
6198
|
* @param {*} [options] Override http request option.
|
|
@@ -4924,6 +6226,45 @@ export const UsersApiAxiosParamCreator = function (configuration?: Configuration
|
|
|
4924
6226
|
options: localVarRequestOptions,
|
|
4925
6227
|
};
|
|
4926
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
|
+
},
|
|
4927
6268
|
/**
|
|
4928
6269
|
*
|
|
4929
6270
|
* @param {OnBoardingDTO} onBoardingDTO
|
|
@@ -5051,6 +6392,17 @@ export const UsersApiAxiosParamCreator = function (configuration?: Configuration
|
|
|
5051
6392
|
export const UsersApiFp = function(configuration?: Configuration) {
|
|
5052
6393
|
const localVarAxiosParamCreator = UsersApiAxiosParamCreator(configuration)
|
|
5053
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
|
+
},
|
|
5054
6406
|
/**
|
|
5055
6407
|
*
|
|
5056
6408
|
* @param {*} [options] Override http request option.
|
|
@@ -5062,6 +6414,18 @@ export const UsersApiFp = function(configuration?: Configuration) {
|
|
|
5062
6414
|
const localVarOperationServerBasePath = operationServerMap['UsersApi.usersControllerGetMe']?.[localVarOperationServerIndex]?.url;
|
|
5063
6415
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
5064
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
|
+
},
|
|
5065
6429
|
/**
|
|
5066
6430
|
*
|
|
5067
6431
|
* @param {OnBoardingDTO} onBoardingDTO
|
|
@@ -5108,6 +6472,14 @@ export const UsersApiFp = function(configuration?: Configuration) {
|
|
|
5108
6472
|
export const UsersApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
5109
6473
|
const localVarFp = UsersApiFp(configuration)
|
|
5110
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
|
+
},
|
|
5111
6483
|
/**
|
|
5112
6484
|
*
|
|
5113
6485
|
* @param {*} [options] Override http request option.
|
|
@@ -5116,6 +6488,15 @@ export const UsersApiFactory = function (configuration?: Configuration, basePath
|
|
|
5116
6488
|
usersControllerGetMe(options?: RawAxiosRequestConfig): AxiosPromise<UserMeDTO> {
|
|
5117
6489
|
return localVarFp.usersControllerGetMe(options).then((request) => request(axios, basePath));
|
|
5118
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
|
+
},
|
|
5119
6500
|
/**
|
|
5120
6501
|
*
|
|
5121
6502
|
* @param {OnBoardingDTO} onBoardingDTO
|
|
@@ -5153,6 +6534,16 @@ export const UsersApiFactory = function (configuration?: Configuration, basePath
|
|
|
5153
6534
|
* @extends {BaseAPI}
|
|
5154
6535
|
*/
|
|
5155
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
|
+
|
|
5156
6547
|
/**
|
|
5157
6548
|
*
|
|
5158
6549
|
* @param {*} [options] Override http request option.
|
|
@@ -5163,6 +6554,17 @@ export class UsersApi extends BaseAPI {
|
|
|
5163
6554
|
return UsersApiFp(this.configuration).usersControllerGetMe(options).then((request) => request(this.axios, this.basePath));
|
|
5164
6555
|
}
|
|
5165
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
|
+
|
|
5166
6568
|
/**
|
|
5167
6569
|
*
|
|
5168
6570
|
* @param {OnBoardingDTO} onBoardingDTO
|