@gooday_corp/gooday-api-client 1.0.17-beta → 1.0.17-zeta
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 +792 -92
- package/package.json +1 -1
package/api.ts
CHANGED
|
@@ -89,13 +89,19 @@ export interface AssistantEntity {
|
|
|
89
89
|
* @type {Array<string>}
|
|
90
90
|
* @memberof AssistantEntity
|
|
91
91
|
*/
|
|
92
|
-
'
|
|
92
|
+
'availability': Array<string>;
|
|
93
93
|
/**
|
|
94
94
|
* Configuration object for the assistant
|
|
95
95
|
* @type {object}
|
|
96
96
|
* @memberof AssistantEntity
|
|
97
97
|
*/
|
|
98
98
|
'configuration': object;
|
|
99
|
+
/**
|
|
100
|
+
* Attributes object for the assistant
|
|
101
|
+
* @type {AttributesDto}
|
|
102
|
+
* @memberof AssistantEntity
|
|
103
|
+
*/
|
|
104
|
+
'attributes': AttributesDto;
|
|
99
105
|
}
|
|
100
106
|
/**
|
|
101
107
|
*
|
|
@@ -116,6 +122,31 @@ export interface AssistantListResponse {
|
|
|
116
122
|
*/
|
|
117
123
|
'data': Array<AssistantEntity>;
|
|
118
124
|
}
|
|
125
|
+
/**
|
|
126
|
+
*
|
|
127
|
+
* @export
|
|
128
|
+
* @interface AttributesDto
|
|
129
|
+
*/
|
|
130
|
+
export interface AttributesDto {
|
|
131
|
+
/**
|
|
132
|
+
* List of skills with their titles and values
|
|
133
|
+
* @type {Array<SkillDto>}
|
|
134
|
+
* @memberof AttributesDto
|
|
135
|
+
*/
|
|
136
|
+
'skills': Array<SkillDto>;
|
|
137
|
+
/**
|
|
138
|
+
* List of likes of assistants
|
|
139
|
+
* @type {Array<string>}
|
|
140
|
+
* @memberof AttributesDto
|
|
141
|
+
*/
|
|
142
|
+
'likes': Array<string>;
|
|
143
|
+
/**
|
|
144
|
+
* List of disliking of assistants
|
|
145
|
+
* @type {Array<string>}
|
|
146
|
+
* @memberof AttributesDto
|
|
147
|
+
*/
|
|
148
|
+
'dislikes': Array<string>;
|
|
149
|
+
}
|
|
119
150
|
/**
|
|
120
151
|
*
|
|
121
152
|
* @export
|
|
@@ -128,12 +159,6 @@ export interface BusinessEntity {
|
|
|
128
159
|
* @memberof BusinessEntity
|
|
129
160
|
*/
|
|
130
161
|
'_id': string;
|
|
131
|
-
/**
|
|
132
|
-
* Unique identifier for the User
|
|
133
|
-
* @type {string}
|
|
134
|
-
* @memberof BusinessEntity
|
|
135
|
-
*/
|
|
136
|
-
'user': string;
|
|
137
162
|
/**
|
|
138
163
|
* Business Timing
|
|
139
164
|
* @type {Array<BusinessTiming>}
|
|
@@ -513,6 +538,57 @@ export interface EmployeesSizeListResponse {
|
|
|
513
538
|
*/
|
|
514
539
|
'data': Array<EmployeesSizeEntity>;
|
|
515
540
|
}
|
|
541
|
+
/**
|
|
542
|
+
*
|
|
543
|
+
* @export
|
|
544
|
+
* @interface FileNameUploadDTO
|
|
545
|
+
*/
|
|
546
|
+
export interface FileNameUploadDTO {
|
|
547
|
+
/**
|
|
548
|
+
* A message providing additional details about the response
|
|
549
|
+
* @type {string}
|
|
550
|
+
* @memberof FileNameUploadDTO
|
|
551
|
+
*/
|
|
552
|
+
'fileName': string;
|
|
553
|
+
/**
|
|
554
|
+
* A name of bucket where you have to upload the image
|
|
555
|
+
* @type {string}
|
|
556
|
+
* @memberof FileNameUploadDTO
|
|
557
|
+
*/
|
|
558
|
+
'bucketName': string;
|
|
559
|
+
}
|
|
560
|
+
/**
|
|
561
|
+
*
|
|
562
|
+
* @export
|
|
563
|
+
* @interface ForgotPasswordPayloadDTO
|
|
564
|
+
*/
|
|
565
|
+
export interface ForgotPasswordPayloadDTO {
|
|
566
|
+
/**
|
|
567
|
+
* User Email
|
|
568
|
+
* @type {string}
|
|
569
|
+
* @memberof ForgotPasswordPayloadDTO
|
|
570
|
+
*/
|
|
571
|
+
'email': string;
|
|
572
|
+
}
|
|
573
|
+
/**
|
|
574
|
+
*
|
|
575
|
+
* @export
|
|
576
|
+
* @interface ForgotPasswordResponseDTO
|
|
577
|
+
*/
|
|
578
|
+
export interface ForgotPasswordResponseDTO {
|
|
579
|
+
/**
|
|
580
|
+
* statusCode
|
|
581
|
+
* @type {number}
|
|
582
|
+
* @memberof ForgotPasswordResponseDTO
|
|
583
|
+
*/
|
|
584
|
+
'statusCode': number;
|
|
585
|
+
/**
|
|
586
|
+
* message
|
|
587
|
+
* @type {string}
|
|
588
|
+
* @memberof ForgotPasswordResponseDTO
|
|
589
|
+
*/
|
|
590
|
+
'message': string;
|
|
591
|
+
}
|
|
516
592
|
/**
|
|
517
593
|
*
|
|
518
594
|
* @export
|
|
@@ -634,6 +710,44 @@ export interface MyAssistantResponse {
|
|
|
634
710
|
*/
|
|
635
711
|
'data': AssistantEntity;
|
|
636
712
|
}
|
|
713
|
+
/**
|
|
714
|
+
*
|
|
715
|
+
* @export
|
|
716
|
+
* @interface NewPasswordPayloadDTO
|
|
717
|
+
*/
|
|
718
|
+
export interface NewPasswordPayloadDTO {
|
|
719
|
+
/**
|
|
720
|
+
* email
|
|
721
|
+
* @type {string}
|
|
722
|
+
* @memberof NewPasswordPayloadDTO
|
|
723
|
+
*/
|
|
724
|
+
'email': string;
|
|
725
|
+
/**
|
|
726
|
+
* New password User
|
|
727
|
+
* @type {string}
|
|
728
|
+
* @memberof NewPasswordPayloadDTO
|
|
729
|
+
*/
|
|
730
|
+
'password': string;
|
|
731
|
+
}
|
|
732
|
+
/**
|
|
733
|
+
*
|
|
734
|
+
* @export
|
|
735
|
+
* @interface NewPasswordResponseDTO
|
|
736
|
+
*/
|
|
737
|
+
export interface NewPasswordResponseDTO {
|
|
738
|
+
/**
|
|
739
|
+
* statuscCode
|
|
740
|
+
* @type {number}
|
|
741
|
+
* @memberof NewPasswordResponseDTO
|
|
742
|
+
*/
|
|
743
|
+
'statusCode': number;
|
|
744
|
+
/**
|
|
745
|
+
* message
|
|
746
|
+
* @type {string}
|
|
747
|
+
* @memberof NewPasswordResponseDTO
|
|
748
|
+
*/
|
|
749
|
+
'message': string;
|
|
750
|
+
}
|
|
637
751
|
/**
|
|
638
752
|
*
|
|
639
753
|
* @export
|
|
@@ -653,11 +767,11 @@ export interface OnBoardingDTO {
|
|
|
653
767
|
*/
|
|
654
768
|
'assistant'?: string;
|
|
655
769
|
/**
|
|
656
|
-
*
|
|
657
|
-
* @type {
|
|
770
|
+
*
|
|
771
|
+
* @type {UserPlanDTO}
|
|
658
772
|
* @memberof OnBoardingDTO
|
|
659
773
|
*/
|
|
660
|
-
'plan'?:
|
|
774
|
+
'plan'?: UserPlanDTO;
|
|
661
775
|
/**
|
|
662
776
|
* Date of Birth
|
|
663
777
|
* @type {string}
|
|
@@ -856,6 +970,44 @@ export interface PriceRangeListResponse {
|
|
|
856
970
|
*/
|
|
857
971
|
'data': Array<PriceRangeEntity>;
|
|
858
972
|
}
|
|
973
|
+
/**
|
|
974
|
+
*
|
|
975
|
+
* @export
|
|
976
|
+
* @interface ResetPasswordPayloadDTO
|
|
977
|
+
*/
|
|
978
|
+
export interface ResetPasswordPayloadDTO {
|
|
979
|
+
/**
|
|
980
|
+
* Old password for the user
|
|
981
|
+
* @type {string}
|
|
982
|
+
* @memberof ResetPasswordPayloadDTO
|
|
983
|
+
*/
|
|
984
|
+
'currentPasword': string;
|
|
985
|
+
/**
|
|
986
|
+
* The New password for the user account
|
|
987
|
+
* @type {string}
|
|
988
|
+
* @memberof ResetPasswordPayloadDTO
|
|
989
|
+
*/
|
|
990
|
+
'newPassword': string;
|
|
991
|
+
}
|
|
992
|
+
/**
|
|
993
|
+
*
|
|
994
|
+
* @export
|
|
995
|
+
* @interface ResetPasswordResponseDTO
|
|
996
|
+
*/
|
|
997
|
+
export interface ResetPasswordResponseDTO {
|
|
998
|
+
/**
|
|
999
|
+
* statuscCode
|
|
1000
|
+
* @type {number}
|
|
1001
|
+
* @memberof ResetPasswordResponseDTO
|
|
1002
|
+
*/
|
|
1003
|
+
'statusCode': number;
|
|
1004
|
+
/**
|
|
1005
|
+
* message
|
|
1006
|
+
* @type {string}
|
|
1007
|
+
* @memberof ResetPasswordResponseDTO
|
|
1008
|
+
*/
|
|
1009
|
+
'message': string;
|
|
1010
|
+
}
|
|
859
1011
|
/**
|
|
860
1012
|
*
|
|
861
1013
|
* @export
|
|
@@ -863,7 +1015,7 @@ export interface PriceRangeListResponse {
|
|
|
863
1015
|
*/
|
|
864
1016
|
export interface SignInDto {
|
|
865
1017
|
/**
|
|
866
|
-
* Email
|
|
1018
|
+
* Email
|
|
867
1019
|
* @type {string}
|
|
868
1020
|
* @memberof SignInDto
|
|
869
1021
|
*/
|
|
@@ -919,6 +1071,25 @@ export interface SignInResponseDto {
|
|
|
919
1071
|
*/
|
|
920
1072
|
'data': SignInResponse;
|
|
921
1073
|
}
|
|
1074
|
+
/**
|
|
1075
|
+
*
|
|
1076
|
+
* @export
|
|
1077
|
+
* @interface SignedUrlResponseDTO
|
|
1078
|
+
*/
|
|
1079
|
+
export interface SignedUrlResponseDTO {
|
|
1080
|
+
/**
|
|
1081
|
+
* Status code of the response
|
|
1082
|
+
* @type {number}
|
|
1083
|
+
* @memberof SignedUrlResponseDTO
|
|
1084
|
+
*/
|
|
1085
|
+
'statusCode': number;
|
|
1086
|
+
/**
|
|
1087
|
+
* A pre-signed Url from the Google..
|
|
1088
|
+
* @type {string}
|
|
1089
|
+
* @memberof SignedUrlResponseDTO
|
|
1090
|
+
*/
|
|
1091
|
+
'signedUrl': string;
|
|
1092
|
+
}
|
|
922
1093
|
/**
|
|
923
1094
|
*
|
|
924
1095
|
* @export
|
|
@@ -944,7 +1115,7 @@ export interface SignupDto {
|
|
|
944
1115
|
*/
|
|
945
1116
|
'email': string;
|
|
946
1117
|
/**
|
|
947
|
-
*
|
|
1118
|
+
* User Profile Name
|
|
948
1119
|
* @type {string}
|
|
949
1120
|
* @memberof SignupDto
|
|
950
1121
|
*/
|
|
@@ -994,6 +1165,25 @@ export interface SignupResponseDto {
|
|
|
994
1165
|
*/
|
|
995
1166
|
'data': SignupResponse;
|
|
996
1167
|
}
|
|
1168
|
+
/**
|
|
1169
|
+
*
|
|
1170
|
+
* @export
|
|
1171
|
+
* @interface SkillDto
|
|
1172
|
+
*/
|
|
1173
|
+
export interface SkillDto {
|
|
1174
|
+
/**
|
|
1175
|
+
* Title of the skill
|
|
1176
|
+
* @type {string}
|
|
1177
|
+
* @memberof SkillDto
|
|
1178
|
+
*/
|
|
1179
|
+
'title': string;
|
|
1180
|
+
/**
|
|
1181
|
+
* Value or rating of the skill out of 1
|
|
1182
|
+
* @type {number}
|
|
1183
|
+
* @memberof SkillDto
|
|
1184
|
+
*/
|
|
1185
|
+
'weightage': number;
|
|
1186
|
+
}
|
|
997
1187
|
/**
|
|
998
1188
|
*
|
|
999
1189
|
* @export
|
|
@@ -1062,10 +1252,10 @@ export interface UserEntity {
|
|
|
1062
1252
|
'goals': Array<string>;
|
|
1063
1253
|
/**
|
|
1064
1254
|
* Plan subscribed by the user
|
|
1065
|
-
* @type {
|
|
1255
|
+
* @type {UserPlanDTO}
|
|
1066
1256
|
* @memberof UserEntity
|
|
1067
1257
|
*/
|
|
1068
|
-
'plan':
|
|
1258
|
+
'plan': UserPlanDTO;
|
|
1069
1259
|
/**
|
|
1070
1260
|
* Action user has to perform
|
|
1071
1261
|
* @type {Array<string>}
|
|
@@ -1100,6 +1290,71 @@ export interface UserMeDTO {
|
|
|
1100
1290
|
*/
|
|
1101
1291
|
'data': UserEntity;
|
|
1102
1292
|
}
|
|
1293
|
+
/**
|
|
1294
|
+
*
|
|
1295
|
+
* @export
|
|
1296
|
+
* @interface UserPlanDTO
|
|
1297
|
+
*/
|
|
1298
|
+
export interface UserPlanDTO {
|
|
1299
|
+
/**
|
|
1300
|
+
* id
|
|
1301
|
+
* @type {string}
|
|
1302
|
+
* @memberof UserPlanDTO
|
|
1303
|
+
*/
|
|
1304
|
+
'name': UserPlanDTONameEnum;
|
|
1305
|
+
/**
|
|
1306
|
+
* id
|
|
1307
|
+
* @type {string}
|
|
1308
|
+
* @memberof UserPlanDTO
|
|
1309
|
+
*/
|
|
1310
|
+
'id': string;
|
|
1311
|
+
}
|
|
1312
|
+
|
|
1313
|
+
export const UserPlanDTONameEnum = {
|
|
1314
|
+
Free: 'Free',
|
|
1315
|
+
Pro: 'Pro'
|
|
1316
|
+
} as const;
|
|
1317
|
+
|
|
1318
|
+
export type UserPlanDTONameEnum = typeof UserPlanDTONameEnum[keyof typeof UserPlanDTONameEnum];
|
|
1319
|
+
|
|
1320
|
+
/**
|
|
1321
|
+
*
|
|
1322
|
+
* @export
|
|
1323
|
+
* @interface VerifyOTPPayloadDTO
|
|
1324
|
+
*/
|
|
1325
|
+
export interface VerifyOTPPayloadDTO {
|
|
1326
|
+
/**
|
|
1327
|
+
* 6 digit otp from mail
|
|
1328
|
+
* @type {string}
|
|
1329
|
+
* @memberof VerifyOTPPayloadDTO
|
|
1330
|
+
*/
|
|
1331
|
+
'otp': string;
|
|
1332
|
+
/**
|
|
1333
|
+
* Email of user
|
|
1334
|
+
* @type {string}
|
|
1335
|
+
* @memberof VerifyOTPPayloadDTO
|
|
1336
|
+
*/
|
|
1337
|
+
'email': string;
|
|
1338
|
+
}
|
|
1339
|
+
/**
|
|
1340
|
+
*
|
|
1341
|
+
* @export
|
|
1342
|
+
* @interface VerifyOTPResponseDTO
|
|
1343
|
+
*/
|
|
1344
|
+
export interface VerifyOTPResponseDTO {
|
|
1345
|
+
/**
|
|
1346
|
+
* The HTTP status code
|
|
1347
|
+
* @type {number}
|
|
1348
|
+
* @memberof VerifyOTPResponseDTO
|
|
1349
|
+
*/
|
|
1350
|
+
'statusCode': number;
|
|
1351
|
+
/**
|
|
1352
|
+
* The
|
|
1353
|
+
* @type {string}
|
|
1354
|
+
* @memberof VerifyOTPResponseDTO
|
|
1355
|
+
*/
|
|
1356
|
+
'message': string;
|
|
1357
|
+
}
|
|
1103
1358
|
|
|
1104
1359
|
/**
|
|
1105
1360
|
* AIApi - axios parameter creator
|
|
@@ -1303,14 +1558,14 @@ export const AuthApiAxiosParamCreator = function (configuration?: Configuration)
|
|
|
1303
1558
|
},
|
|
1304
1559
|
/**
|
|
1305
1560
|
*
|
|
1306
|
-
* @param {
|
|
1561
|
+
* @param {NewPasswordPayloadDTO} newPasswordPayloadDTO
|
|
1307
1562
|
* @param {*} [options] Override http request option.
|
|
1308
1563
|
* @throws {RequiredError}
|
|
1309
1564
|
*/
|
|
1310
|
-
|
|
1311
|
-
// verify required parameter '
|
|
1312
|
-
assertParamExists('
|
|
1313
|
-
const localVarPath = `/v1/auth/
|
|
1565
|
+
authControllerCreateNewPassword: async (newPasswordPayloadDTO: NewPasswordPayloadDTO, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
1566
|
+
// verify required parameter 'newPasswordPayloadDTO' is not null or undefined
|
|
1567
|
+
assertParamExists('authControllerCreateNewPassword', 'newPasswordPayloadDTO', newPasswordPayloadDTO)
|
|
1568
|
+
const localVarPath = `/v1/auth/new-password`;
|
|
1314
1569
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1315
1570
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1316
1571
|
let baseOptions;
|
|
@@ -1329,7 +1584,7 @@ export const AuthApiAxiosParamCreator = function (configuration?: Configuration)
|
|
|
1329
1584
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1330
1585
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1331
1586
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
1332
|
-
localVarRequestOptions.data = serializeDataIfNeeded(
|
|
1587
|
+
localVarRequestOptions.data = serializeDataIfNeeded(newPasswordPayloadDTO, localVarRequestOptions, configuration)
|
|
1333
1588
|
|
|
1334
1589
|
return {
|
|
1335
1590
|
url: toPathString(localVarUrlObj),
|
|
@@ -1338,14 +1593,14 @@ export const AuthApiAxiosParamCreator = function (configuration?: Configuration)
|
|
|
1338
1593
|
},
|
|
1339
1594
|
/**
|
|
1340
1595
|
*
|
|
1341
|
-
* @param {
|
|
1596
|
+
* @param {ForgotPasswordPayloadDTO} forgotPasswordPayloadDTO
|
|
1342
1597
|
* @param {*} [options] Override http request option.
|
|
1343
1598
|
* @throws {RequiredError}
|
|
1344
1599
|
*/
|
|
1345
|
-
|
|
1346
|
-
// verify required parameter '
|
|
1347
|
-
assertParamExists('
|
|
1348
|
-
const localVarPath = `/v1/auth/
|
|
1600
|
+
authControllerForgotPassword: async (forgotPasswordPayloadDTO: ForgotPasswordPayloadDTO, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
1601
|
+
// verify required parameter 'forgotPasswordPayloadDTO' is not null or undefined
|
|
1602
|
+
assertParamExists('authControllerForgotPassword', 'forgotPasswordPayloadDTO', forgotPasswordPayloadDTO)
|
|
1603
|
+
const localVarPath = `/v1/auth/forgot-password`;
|
|
1349
1604
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1350
1605
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1351
1606
|
let baseOptions;
|
|
@@ -1357,10 +1612,6 @@ export const AuthApiAxiosParamCreator = function (configuration?: Configuration)
|
|
|
1357
1612
|
const localVarHeaderParameter = {} as any;
|
|
1358
1613
|
const localVarQueryParameter = {} as any;
|
|
1359
1614
|
|
|
1360
|
-
// authentication bearer required
|
|
1361
|
-
// http bearer authentication required
|
|
1362
|
-
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
1363
|
-
|
|
1364
1615
|
|
|
1365
1616
|
|
|
1366
1617
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
@@ -1368,7 +1619,7 @@ export const AuthApiAxiosParamCreator = function (configuration?: Configuration)
|
|
|
1368
1619
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1369
1620
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1370
1621
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
1371
|
-
localVarRequestOptions.data = serializeDataIfNeeded(
|
|
1622
|
+
localVarRequestOptions.data = serializeDataIfNeeded(forgotPasswordPayloadDTO, localVarRequestOptions, configuration)
|
|
1372
1623
|
|
|
1373
1624
|
return {
|
|
1374
1625
|
url: toPathString(localVarUrlObj),
|
|
@@ -1377,14 +1628,14 @@ export const AuthApiAxiosParamCreator = function (configuration?: Configuration)
|
|
|
1377
1628
|
},
|
|
1378
1629
|
/**
|
|
1379
1630
|
*
|
|
1380
|
-
* @param {
|
|
1631
|
+
* @param {ForgotPasswordPayloadDTO} forgotPasswordPayloadDTO
|
|
1381
1632
|
* @param {*} [options] Override http request option.
|
|
1382
1633
|
* @throws {RequiredError}
|
|
1383
1634
|
*/
|
|
1384
|
-
|
|
1385
|
-
// verify required parameter '
|
|
1386
|
-
assertParamExists('
|
|
1387
|
-
const localVarPath = `/v1/auth/
|
|
1635
|
+
authControllerResentOTP: async (forgotPasswordPayloadDTO: ForgotPasswordPayloadDTO, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
1636
|
+
// verify required parameter 'forgotPasswordPayloadDTO' is not null or undefined
|
|
1637
|
+
assertParamExists('authControllerResentOTP', 'forgotPasswordPayloadDTO', forgotPasswordPayloadDTO)
|
|
1638
|
+
const localVarPath = `/v1/auth/resend-otp`;
|
|
1388
1639
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1389
1640
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1390
1641
|
let baseOptions;
|
|
@@ -1403,34 +1654,51 @@ export const AuthApiAxiosParamCreator = function (configuration?: Configuration)
|
|
|
1403
1654
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1404
1655
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1405
1656
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
1406
|
-
localVarRequestOptions.data = serializeDataIfNeeded(
|
|
1657
|
+
localVarRequestOptions.data = serializeDataIfNeeded(forgotPasswordPayloadDTO, localVarRequestOptions, configuration)
|
|
1407
1658
|
|
|
1408
1659
|
return {
|
|
1409
1660
|
url: toPathString(localVarUrlObj),
|
|
1410
1661
|
options: localVarRequestOptions,
|
|
1411
1662
|
};
|
|
1412
1663
|
},
|
|
1413
|
-
}
|
|
1414
|
-
};
|
|
1415
|
-
|
|
1416
|
-
/**
|
|
1417
|
-
* AuthApi - functional programming interface
|
|
1418
|
-
* @export
|
|
1419
|
-
*/
|
|
1420
|
-
export const AuthApiFp = function(configuration?: Configuration) {
|
|
1421
|
-
const localVarAxiosParamCreator = AuthApiAxiosParamCreator(configuration)
|
|
1422
|
-
return {
|
|
1423
1664
|
/**
|
|
1424
1665
|
*
|
|
1425
|
-
* @param {
|
|
1666
|
+
* @param {ResetPasswordPayloadDTO} resetPasswordPayloadDTO
|
|
1426
1667
|
* @param {*} [options] Override http request option.
|
|
1427
1668
|
* @throws {RequiredError}
|
|
1428
1669
|
*/
|
|
1429
|
-
async
|
|
1430
|
-
|
|
1431
|
-
|
|
1432
|
-
const
|
|
1433
|
-
|
|
1670
|
+
authControllerResetPassword: async (resetPasswordPayloadDTO: ResetPasswordPayloadDTO, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
1671
|
+
// verify required parameter 'resetPasswordPayloadDTO' is not null or undefined
|
|
1672
|
+
assertParamExists('authControllerResetPassword', 'resetPasswordPayloadDTO', resetPasswordPayloadDTO)
|
|
1673
|
+
const localVarPath = `/v1/auth/reset-password`;
|
|
1674
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1675
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1676
|
+
let baseOptions;
|
|
1677
|
+
if (configuration) {
|
|
1678
|
+
baseOptions = configuration.baseOptions;
|
|
1679
|
+
}
|
|
1680
|
+
|
|
1681
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
1682
|
+
const localVarHeaderParameter = {} as any;
|
|
1683
|
+
const localVarQueryParameter = {} as any;
|
|
1684
|
+
|
|
1685
|
+
// authentication bearer required
|
|
1686
|
+
// http bearer authentication required
|
|
1687
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
1688
|
+
|
|
1689
|
+
|
|
1690
|
+
|
|
1691
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
1692
|
+
|
|
1693
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1694
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1695
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
1696
|
+
localVarRequestOptions.data = serializeDataIfNeeded(resetPasswordPayloadDTO, localVarRequestOptions, configuration)
|
|
1697
|
+
|
|
1698
|
+
return {
|
|
1699
|
+
url: toPathString(localVarUrlObj),
|
|
1700
|
+
options: localVarRequestOptions,
|
|
1701
|
+
};
|
|
1434
1702
|
},
|
|
1435
1703
|
/**
|
|
1436
1704
|
*
|
|
@@ -1438,17 +1706,231 @@ export const AuthApiFp = function(configuration?: Configuration) {
|
|
|
1438
1706
|
* @param {*} [options] Override http request option.
|
|
1439
1707
|
* @throws {RequiredError}
|
|
1440
1708
|
*/
|
|
1441
|
-
async
|
|
1442
|
-
|
|
1443
|
-
|
|
1444
|
-
const
|
|
1445
|
-
|
|
1446
|
-
|
|
1447
|
-
|
|
1448
|
-
|
|
1449
|
-
|
|
1450
|
-
|
|
1451
|
-
|
|
1709
|
+
authControllerSignIn: async (signInDto: SignInDto, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
1710
|
+
// verify required parameter 'signInDto' is not null or undefined
|
|
1711
|
+
assertParamExists('authControllerSignIn', 'signInDto', signInDto)
|
|
1712
|
+
const localVarPath = `/v1/auth/user-login`;
|
|
1713
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1714
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1715
|
+
let baseOptions;
|
|
1716
|
+
if (configuration) {
|
|
1717
|
+
baseOptions = configuration.baseOptions;
|
|
1718
|
+
}
|
|
1719
|
+
|
|
1720
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
1721
|
+
const localVarHeaderParameter = {} as any;
|
|
1722
|
+
const localVarQueryParameter = {} as any;
|
|
1723
|
+
|
|
1724
|
+
|
|
1725
|
+
|
|
1726
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
1727
|
+
|
|
1728
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1729
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1730
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
1731
|
+
localVarRequestOptions.data = serializeDataIfNeeded(signInDto, localVarRequestOptions, configuration)
|
|
1732
|
+
|
|
1733
|
+
return {
|
|
1734
|
+
url: toPathString(localVarUrlObj),
|
|
1735
|
+
options: localVarRequestOptions,
|
|
1736
|
+
};
|
|
1737
|
+
},
|
|
1738
|
+
/**
|
|
1739
|
+
*
|
|
1740
|
+
* @param {LoggedOutPayloadDTO} loggedOutPayloadDTO
|
|
1741
|
+
* @param {*} [options] Override http request option.
|
|
1742
|
+
* @throws {RequiredError}
|
|
1743
|
+
*/
|
|
1744
|
+
authControllerSignOut: async (loggedOutPayloadDTO: LoggedOutPayloadDTO, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
1745
|
+
// verify required parameter 'loggedOutPayloadDTO' is not null or undefined
|
|
1746
|
+
assertParamExists('authControllerSignOut', 'loggedOutPayloadDTO', loggedOutPayloadDTO)
|
|
1747
|
+
const localVarPath = `/v1/auth/user-logout`;
|
|
1748
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1749
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1750
|
+
let baseOptions;
|
|
1751
|
+
if (configuration) {
|
|
1752
|
+
baseOptions = configuration.baseOptions;
|
|
1753
|
+
}
|
|
1754
|
+
|
|
1755
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
1756
|
+
const localVarHeaderParameter = {} as any;
|
|
1757
|
+
const localVarQueryParameter = {} as any;
|
|
1758
|
+
|
|
1759
|
+
// authentication bearer required
|
|
1760
|
+
// http bearer authentication required
|
|
1761
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
1762
|
+
|
|
1763
|
+
|
|
1764
|
+
|
|
1765
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
1766
|
+
|
|
1767
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1768
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1769
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
1770
|
+
localVarRequestOptions.data = serializeDataIfNeeded(loggedOutPayloadDTO, localVarRequestOptions, configuration)
|
|
1771
|
+
|
|
1772
|
+
return {
|
|
1773
|
+
url: toPathString(localVarUrlObj),
|
|
1774
|
+
options: localVarRequestOptions,
|
|
1775
|
+
};
|
|
1776
|
+
},
|
|
1777
|
+
/**
|
|
1778
|
+
*
|
|
1779
|
+
* @param {SignupDto} signupDto
|
|
1780
|
+
* @param {*} [options] Override http request option.
|
|
1781
|
+
* @throws {RequiredError}
|
|
1782
|
+
*/
|
|
1783
|
+
authControllerSignUp: async (signupDto: SignupDto, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
1784
|
+
// verify required parameter 'signupDto' is not null or undefined
|
|
1785
|
+
assertParamExists('authControllerSignUp', 'signupDto', signupDto)
|
|
1786
|
+
const localVarPath = `/v1/auth/user-register`;
|
|
1787
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1788
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1789
|
+
let baseOptions;
|
|
1790
|
+
if (configuration) {
|
|
1791
|
+
baseOptions = configuration.baseOptions;
|
|
1792
|
+
}
|
|
1793
|
+
|
|
1794
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
1795
|
+
const localVarHeaderParameter = {} as any;
|
|
1796
|
+
const localVarQueryParameter = {} as any;
|
|
1797
|
+
|
|
1798
|
+
|
|
1799
|
+
|
|
1800
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
1801
|
+
|
|
1802
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1803
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1804
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
1805
|
+
localVarRequestOptions.data = serializeDataIfNeeded(signupDto, localVarRequestOptions, configuration)
|
|
1806
|
+
|
|
1807
|
+
return {
|
|
1808
|
+
url: toPathString(localVarUrlObj),
|
|
1809
|
+
options: localVarRequestOptions,
|
|
1810
|
+
};
|
|
1811
|
+
},
|
|
1812
|
+
/**
|
|
1813
|
+
*
|
|
1814
|
+
* @param {VerifyOTPPayloadDTO} verifyOTPPayloadDTO
|
|
1815
|
+
* @param {*} [options] Override http request option.
|
|
1816
|
+
* @throws {RequiredError}
|
|
1817
|
+
*/
|
|
1818
|
+
authControllerVerifyOTP: async (verifyOTPPayloadDTO: VerifyOTPPayloadDTO, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
1819
|
+
// verify required parameter 'verifyOTPPayloadDTO' is not null or undefined
|
|
1820
|
+
assertParamExists('authControllerVerifyOTP', 'verifyOTPPayloadDTO', verifyOTPPayloadDTO)
|
|
1821
|
+
const localVarPath = `/v1/auth/verify-otp`;
|
|
1822
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1823
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1824
|
+
let baseOptions;
|
|
1825
|
+
if (configuration) {
|
|
1826
|
+
baseOptions = configuration.baseOptions;
|
|
1827
|
+
}
|
|
1828
|
+
|
|
1829
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
1830
|
+
const localVarHeaderParameter = {} as any;
|
|
1831
|
+
const localVarQueryParameter = {} as any;
|
|
1832
|
+
|
|
1833
|
+
|
|
1834
|
+
|
|
1835
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
1836
|
+
|
|
1837
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1838
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1839
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
1840
|
+
localVarRequestOptions.data = serializeDataIfNeeded(verifyOTPPayloadDTO, localVarRequestOptions, configuration)
|
|
1841
|
+
|
|
1842
|
+
return {
|
|
1843
|
+
url: toPathString(localVarUrlObj),
|
|
1844
|
+
options: localVarRequestOptions,
|
|
1845
|
+
};
|
|
1846
|
+
},
|
|
1847
|
+
}
|
|
1848
|
+
};
|
|
1849
|
+
|
|
1850
|
+
/**
|
|
1851
|
+
* AuthApi - functional programming interface
|
|
1852
|
+
* @export
|
|
1853
|
+
*/
|
|
1854
|
+
export const AuthApiFp = function(configuration?: Configuration) {
|
|
1855
|
+
const localVarAxiosParamCreator = AuthApiAxiosParamCreator(configuration)
|
|
1856
|
+
return {
|
|
1857
|
+
/**
|
|
1858
|
+
*
|
|
1859
|
+
* @param {SignupDto} signupDto
|
|
1860
|
+
* @param {*} [options] Override http request option.
|
|
1861
|
+
* @throws {RequiredError}
|
|
1862
|
+
*/
|
|
1863
|
+
async authControllerBusinessRegister(signupDto: SignupDto, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SignupResponseDto>> {
|
|
1864
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.authControllerBusinessRegister(signupDto, options);
|
|
1865
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
1866
|
+
const localVarOperationServerBasePath = operationServerMap['AuthApi.authControllerBusinessRegister']?.[localVarOperationServerIndex]?.url;
|
|
1867
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1868
|
+
},
|
|
1869
|
+
/**
|
|
1870
|
+
*
|
|
1871
|
+
* @param {NewPasswordPayloadDTO} newPasswordPayloadDTO
|
|
1872
|
+
* @param {*} [options] Override http request option.
|
|
1873
|
+
* @throws {RequiredError}
|
|
1874
|
+
*/
|
|
1875
|
+
async authControllerCreateNewPassword(newPasswordPayloadDTO: NewPasswordPayloadDTO, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<NewPasswordResponseDTO>> {
|
|
1876
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.authControllerCreateNewPassword(newPasswordPayloadDTO, options);
|
|
1877
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
1878
|
+
const localVarOperationServerBasePath = operationServerMap['AuthApi.authControllerCreateNewPassword']?.[localVarOperationServerIndex]?.url;
|
|
1879
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1880
|
+
},
|
|
1881
|
+
/**
|
|
1882
|
+
*
|
|
1883
|
+
* @param {ForgotPasswordPayloadDTO} forgotPasswordPayloadDTO
|
|
1884
|
+
* @param {*} [options] Override http request option.
|
|
1885
|
+
* @throws {RequiredError}
|
|
1886
|
+
*/
|
|
1887
|
+
async authControllerForgotPassword(forgotPasswordPayloadDTO: ForgotPasswordPayloadDTO, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ForgotPasswordResponseDTO>> {
|
|
1888
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.authControllerForgotPassword(forgotPasswordPayloadDTO, options);
|
|
1889
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
1890
|
+
const localVarOperationServerBasePath = operationServerMap['AuthApi.authControllerForgotPassword']?.[localVarOperationServerIndex]?.url;
|
|
1891
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1892
|
+
},
|
|
1893
|
+
/**
|
|
1894
|
+
*
|
|
1895
|
+
* @param {ForgotPasswordPayloadDTO} forgotPasswordPayloadDTO
|
|
1896
|
+
* @param {*} [options] Override http request option.
|
|
1897
|
+
* @throws {RequiredError}
|
|
1898
|
+
*/
|
|
1899
|
+
async authControllerResentOTP(forgotPasswordPayloadDTO: ForgotPasswordPayloadDTO, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ForgotPasswordResponseDTO>> {
|
|
1900
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.authControllerResentOTP(forgotPasswordPayloadDTO, options);
|
|
1901
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
1902
|
+
const localVarOperationServerBasePath = operationServerMap['AuthApi.authControllerResentOTP']?.[localVarOperationServerIndex]?.url;
|
|
1903
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1904
|
+
},
|
|
1905
|
+
/**
|
|
1906
|
+
*
|
|
1907
|
+
* @param {ResetPasswordPayloadDTO} resetPasswordPayloadDTO
|
|
1908
|
+
* @param {*} [options] Override http request option.
|
|
1909
|
+
* @throws {RequiredError}
|
|
1910
|
+
*/
|
|
1911
|
+
async authControllerResetPassword(resetPasswordPayloadDTO: ResetPasswordPayloadDTO, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ResetPasswordResponseDTO>> {
|
|
1912
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.authControllerResetPassword(resetPasswordPayloadDTO, options);
|
|
1913
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
1914
|
+
const localVarOperationServerBasePath = operationServerMap['AuthApi.authControllerResetPassword']?.[localVarOperationServerIndex]?.url;
|
|
1915
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1916
|
+
},
|
|
1917
|
+
/**
|
|
1918
|
+
*
|
|
1919
|
+
* @param {SignInDto} signInDto
|
|
1920
|
+
* @param {*} [options] Override http request option.
|
|
1921
|
+
* @throws {RequiredError}
|
|
1922
|
+
*/
|
|
1923
|
+
async authControllerSignIn(signInDto: SignInDto, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SignInResponseDto>> {
|
|
1924
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.authControllerSignIn(signInDto, options);
|
|
1925
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
1926
|
+
const localVarOperationServerBasePath = operationServerMap['AuthApi.authControllerSignIn']?.[localVarOperationServerIndex]?.url;
|
|
1927
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1928
|
+
},
|
|
1929
|
+
/**
|
|
1930
|
+
*
|
|
1931
|
+
* @param {LoggedOutPayloadDTO} loggedOutPayloadDTO
|
|
1932
|
+
* @param {*} [options] Override http request option.
|
|
1933
|
+
* @throws {RequiredError}
|
|
1452
1934
|
*/
|
|
1453
1935
|
async authControllerSignOut(loggedOutPayloadDTO: LoggedOutPayloadDTO, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<LoggedOutResponse>> {
|
|
1454
1936
|
const localVarAxiosArgs = await localVarAxiosParamCreator.authControllerSignOut(loggedOutPayloadDTO, options);
|
|
@@ -1468,6 +1950,18 @@ export const AuthApiFp = function(configuration?: Configuration) {
|
|
|
1468
1950
|
const localVarOperationServerBasePath = operationServerMap['AuthApi.authControllerSignUp']?.[localVarOperationServerIndex]?.url;
|
|
1469
1951
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1470
1952
|
},
|
|
1953
|
+
/**
|
|
1954
|
+
*
|
|
1955
|
+
* @param {VerifyOTPPayloadDTO} verifyOTPPayloadDTO
|
|
1956
|
+
* @param {*} [options] Override http request option.
|
|
1957
|
+
* @throws {RequiredError}
|
|
1958
|
+
*/
|
|
1959
|
+
async authControllerVerifyOTP(verifyOTPPayloadDTO: VerifyOTPPayloadDTO, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<VerifyOTPResponseDTO>> {
|
|
1960
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.authControllerVerifyOTP(verifyOTPPayloadDTO, options);
|
|
1961
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
1962
|
+
const localVarOperationServerBasePath = operationServerMap['AuthApi.authControllerVerifyOTP']?.[localVarOperationServerIndex]?.url;
|
|
1963
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1964
|
+
},
|
|
1471
1965
|
}
|
|
1472
1966
|
};
|
|
1473
1967
|
|
|
@@ -1487,6 +1981,42 @@ export const AuthApiFactory = function (configuration?: Configuration, basePath?
|
|
|
1487
1981
|
authControllerBusinessRegister(signupDto: SignupDto, options?: RawAxiosRequestConfig): AxiosPromise<SignupResponseDto> {
|
|
1488
1982
|
return localVarFp.authControllerBusinessRegister(signupDto, options).then((request) => request(axios, basePath));
|
|
1489
1983
|
},
|
|
1984
|
+
/**
|
|
1985
|
+
*
|
|
1986
|
+
* @param {NewPasswordPayloadDTO} newPasswordPayloadDTO
|
|
1987
|
+
* @param {*} [options] Override http request option.
|
|
1988
|
+
* @throws {RequiredError}
|
|
1989
|
+
*/
|
|
1990
|
+
authControllerCreateNewPassword(newPasswordPayloadDTO: NewPasswordPayloadDTO, options?: RawAxiosRequestConfig): AxiosPromise<NewPasswordResponseDTO> {
|
|
1991
|
+
return localVarFp.authControllerCreateNewPassword(newPasswordPayloadDTO, options).then((request) => request(axios, basePath));
|
|
1992
|
+
},
|
|
1993
|
+
/**
|
|
1994
|
+
*
|
|
1995
|
+
* @param {ForgotPasswordPayloadDTO} forgotPasswordPayloadDTO
|
|
1996
|
+
* @param {*} [options] Override http request option.
|
|
1997
|
+
* @throws {RequiredError}
|
|
1998
|
+
*/
|
|
1999
|
+
authControllerForgotPassword(forgotPasswordPayloadDTO: ForgotPasswordPayloadDTO, options?: RawAxiosRequestConfig): AxiosPromise<ForgotPasswordResponseDTO> {
|
|
2000
|
+
return localVarFp.authControllerForgotPassword(forgotPasswordPayloadDTO, options).then((request) => request(axios, basePath));
|
|
2001
|
+
},
|
|
2002
|
+
/**
|
|
2003
|
+
*
|
|
2004
|
+
* @param {ForgotPasswordPayloadDTO} forgotPasswordPayloadDTO
|
|
2005
|
+
* @param {*} [options] Override http request option.
|
|
2006
|
+
* @throws {RequiredError}
|
|
2007
|
+
*/
|
|
2008
|
+
authControllerResentOTP(forgotPasswordPayloadDTO: ForgotPasswordPayloadDTO, options?: RawAxiosRequestConfig): AxiosPromise<ForgotPasswordResponseDTO> {
|
|
2009
|
+
return localVarFp.authControllerResentOTP(forgotPasswordPayloadDTO, options).then((request) => request(axios, basePath));
|
|
2010
|
+
},
|
|
2011
|
+
/**
|
|
2012
|
+
*
|
|
2013
|
+
* @param {ResetPasswordPayloadDTO} resetPasswordPayloadDTO
|
|
2014
|
+
* @param {*} [options] Override http request option.
|
|
2015
|
+
* @throws {RequiredError}
|
|
2016
|
+
*/
|
|
2017
|
+
authControllerResetPassword(resetPasswordPayloadDTO: ResetPasswordPayloadDTO, options?: RawAxiosRequestConfig): AxiosPromise<ResetPasswordResponseDTO> {
|
|
2018
|
+
return localVarFp.authControllerResetPassword(resetPasswordPayloadDTO, options).then((request) => request(axios, basePath));
|
|
2019
|
+
},
|
|
1490
2020
|
/**
|
|
1491
2021
|
*
|
|
1492
2022
|
* @param {SignInDto} signInDto
|
|
@@ -1514,6 +2044,15 @@ export const AuthApiFactory = function (configuration?: Configuration, basePath?
|
|
|
1514
2044
|
authControllerSignUp(signupDto: SignupDto, options?: RawAxiosRequestConfig): AxiosPromise<SignupResponseDto> {
|
|
1515
2045
|
return localVarFp.authControllerSignUp(signupDto, options).then((request) => request(axios, basePath));
|
|
1516
2046
|
},
|
|
2047
|
+
/**
|
|
2048
|
+
*
|
|
2049
|
+
* @param {VerifyOTPPayloadDTO} verifyOTPPayloadDTO
|
|
2050
|
+
* @param {*} [options] Override http request option.
|
|
2051
|
+
* @throws {RequiredError}
|
|
2052
|
+
*/
|
|
2053
|
+
authControllerVerifyOTP(verifyOTPPayloadDTO: VerifyOTPPayloadDTO, options?: RawAxiosRequestConfig): AxiosPromise<VerifyOTPResponseDTO> {
|
|
2054
|
+
return localVarFp.authControllerVerifyOTP(verifyOTPPayloadDTO, options).then((request) => request(axios, basePath));
|
|
2055
|
+
},
|
|
1517
2056
|
};
|
|
1518
2057
|
};
|
|
1519
2058
|
|
|
@@ -1535,6 +2074,50 @@ export class AuthApi extends BaseAPI {
|
|
|
1535
2074
|
return AuthApiFp(this.configuration).authControllerBusinessRegister(signupDto, options).then((request) => request(this.axios, this.basePath));
|
|
1536
2075
|
}
|
|
1537
2076
|
|
|
2077
|
+
/**
|
|
2078
|
+
*
|
|
2079
|
+
* @param {NewPasswordPayloadDTO} newPasswordPayloadDTO
|
|
2080
|
+
* @param {*} [options] Override http request option.
|
|
2081
|
+
* @throws {RequiredError}
|
|
2082
|
+
* @memberof AuthApi
|
|
2083
|
+
*/
|
|
2084
|
+
public authControllerCreateNewPassword(newPasswordPayloadDTO: NewPasswordPayloadDTO, options?: RawAxiosRequestConfig) {
|
|
2085
|
+
return AuthApiFp(this.configuration).authControllerCreateNewPassword(newPasswordPayloadDTO, options).then((request) => request(this.axios, this.basePath));
|
|
2086
|
+
}
|
|
2087
|
+
|
|
2088
|
+
/**
|
|
2089
|
+
*
|
|
2090
|
+
* @param {ForgotPasswordPayloadDTO} forgotPasswordPayloadDTO
|
|
2091
|
+
* @param {*} [options] Override http request option.
|
|
2092
|
+
* @throws {RequiredError}
|
|
2093
|
+
* @memberof AuthApi
|
|
2094
|
+
*/
|
|
2095
|
+
public authControllerForgotPassword(forgotPasswordPayloadDTO: ForgotPasswordPayloadDTO, options?: RawAxiosRequestConfig) {
|
|
2096
|
+
return AuthApiFp(this.configuration).authControllerForgotPassword(forgotPasswordPayloadDTO, options).then((request) => request(this.axios, this.basePath));
|
|
2097
|
+
}
|
|
2098
|
+
|
|
2099
|
+
/**
|
|
2100
|
+
*
|
|
2101
|
+
* @param {ForgotPasswordPayloadDTO} forgotPasswordPayloadDTO
|
|
2102
|
+
* @param {*} [options] Override http request option.
|
|
2103
|
+
* @throws {RequiredError}
|
|
2104
|
+
* @memberof AuthApi
|
|
2105
|
+
*/
|
|
2106
|
+
public authControllerResentOTP(forgotPasswordPayloadDTO: ForgotPasswordPayloadDTO, options?: RawAxiosRequestConfig) {
|
|
2107
|
+
return AuthApiFp(this.configuration).authControllerResentOTP(forgotPasswordPayloadDTO, options).then((request) => request(this.axios, this.basePath));
|
|
2108
|
+
}
|
|
2109
|
+
|
|
2110
|
+
/**
|
|
2111
|
+
*
|
|
2112
|
+
* @param {ResetPasswordPayloadDTO} resetPasswordPayloadDTO
|
|
2113
|
+
* @param {*} [options] Override http request option.
|
|
2114
|
+
* @throws {RequiredError}
|
|
2115
|
+
* @memberof AuthApi
|
|
2116
|
+
*/
|
|
2117
|
+
public authControllerResetPassword(resetPasswordPayloadDTO: ResetPasswordPayloadDTO, options?: RawAxiosRequestConfig) {
|
|
2118
|
+
return AuthApiFp(this.configuration).authControllerResetPassword(resetPasswordPayloadDTO, options).then((request) => request(this.axios, this.basePath));
|
|
2119
|
+
}
|
|
2120
|
+
|
|
1538
2121
|
/**
|
|
1539
2122
|
*
|
|
1540
2123
|
* @param {SignInDto} signInDto
|
|
@@ -1567,6 +2150,17 @@ export class AuthApi extends BaseAPI {
|
|
|
1567
2150
|
public authControllerSignUp(signupDto: SignupDto, options?: RawAxiosRequestConfig) {
|
|
1568
2151
|
return AuthApiFp(this.configuration).authControllerSignUp(signupDto, options).then((request) => request(this.axios, this.basePath));
|
|
1569
2152
|
}
|
|
2153
|
+
|
|
2154
|
+
/**
|
|
2155
|
+
*
|
|
2156
|
+
* @param {VerifyOTPPayloadDTO} verifyOTPPayloadDTO
|
|
2157
|
+
* @param {*} [options] Override http request option.
|
|
2158
|
+
* @throws {RequiredError}
|
|
2159
|
+
* @memberof AuthApi
|
|
2160
|
+
*/
|
|
2161
|
+
public authControllerVerifyOTP(verifyOTPPayloadDTO: VerifyOTPPayloadDTO, options?: RawAxiosRequestConfig) {
|
|
2162
|
+
return AuthApiFp(this.configuration).authControllerVerifyOTP(verifyOTPPayloadDTO, options).then((request) => request(this.axios, this.basePath));
|
|
2163
|
+
}
|
|
1570
2164
|
}
|
|
1571
2165
|
|
|
1572
2166
|
|
|
@@ -1579,11 +2173,14 @@ export const BusinessApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
1579
2173
|
return {
|
|
1580
2174
|
/**
|
|
1581
2175
|
*
|
|
2176
|
+
* @param {BusinessOnBoardingDTO} businessOnBoardingDTO
|
|
1582
2177
|
* @param {*} [options] Override http request option.
|
|
1583
2178
|
* @throws {RequiredError}
|
|
1584
2179
|
*/
|
|
1585
|
-
|
|
1586
|
-
|
|
2180
|
+
businessControllerBusinessOnboarding: async (businessOnBoardingDTO: BusinessOnBoardingDTO, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
2181
|
+
// verify required parameter 'businessOnBoardingDTO' is not null or undefined
|
|
2182
|
+
assertParamExists('businessControllerBusinessOnboarding', 'businessOnBoardingDTO', businessOnBoardingDTO)
|
|
2183
|
+
const localVarPath = `/v1/business/onboarding`;
|
|
1587
2184
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1588
2185
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1589
2186
|
let baseOptions;
|
|
@@ -1591,7 +2188,7 @@ export const BusinessApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
1591
2188
|
baseOptions = configuration.baseOptions;
|
|
1592
2189
|
}
|
|
1593
2190
|
|
|
1594
|
-
const localVarRequestOptions = { method: '
|
|
2191
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
1595
2192
|
const localVarHeaderParameter = {} as any;
|
|
1596
2193
|
const localVarQueryParameter = {} as any;
|
|
1597
2194
|
|
|
@@ -1601,9 +2198,12 @@ export const BusinessApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
1601
2198
|
|
|
1602
2199
|
|
|
1603
2200
|
|
|
2201
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
2202
|
+
|
|
1604
2203
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1605
2204
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1606
2205
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
2206
|
+
localVarRequestOptions.data = serializeDataIfNeeded(businessOnBoardingDTO, localVarRequestOptions, configuration)
|
|
1607
2207
|
|
|
1608
2208
|
return {
|
|
1609
2209
|
url: toPathString(localVarUrlObj),
|
|
@@ -1612,14 +2212,11 @@ export const BusinessApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
1612
2212
|
},
|
|
1613
2213
|
/**
|
|
1614
2214
|
*
|
|
1615
|
-
* @param {BusinessOnBoardingDTO} businessOnBoardingDTO
|
|
1616
2215
|
* @param {*} [options] Override http request option.
|
|
1617
2216
|
* @throws {RequiredError}
|
|
1618
2217
|
*/
|
|
1619
|
-
|
|
1620
|
-
|
|
1621
|
-
assertParamExists('businessControllerBusinessOnboarding', 'businessOnBoardingDTO', businessOnBoardingDTO)
|
|
1622
|
-
const localVarPath = `/v1/business/onboarding`;
|
|
2218
|
+
businessControllerGetMe: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
2219
|
+
const localVarPath = `/v1/business/me`;
|
|
1623
2220
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1624
2221
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1625
2222
|
let baseOptions;
|
|
@@ -1627,7 +2224,7 @@ export const BusinessApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
1627
2224
|
baseOptions = configuration.baseOptions;
|
|
1628
2225
|
}
|
|
1629
2226
|
|
|
1630
|
-
const localVarRequestOptions = { method: '
|
|
2227
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
1631
2228
|
const localVarHeaderParameter = {} as any;
|
|
1632
2229
|
const localVarQueryParameter = {} as any;
|
|
1633
2230
|
|
|
@@ -1637,12 +2234,9 @@ export const BusinessApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
1637
2234
|
|
|
1638
2235
|
|
|
1639
2236
|
|
|
1640
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
1641
|
-
|
|
1642
2237
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1643
2238
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1644
2239
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
1645
|
-
localVarRequestOptions.data = serializeDataIfNeeded(businessOnBoardingDTO, localVarRequestOptions, configuration)
|
|
1646
2240
|
|
|
1647
2241
|
return {
|
|
1648
2242
|
url: toPathString(localVarUrlObj),
|
|
@@ -1797,25 +2391,25 @@ export const BusinessApiFp = function(configuration?: Configuration) {
|
|
|
1797
2391
|
return {
|
|
1798
2392
|
/**
|
|
1799
2393
|
*
|
|
2394
|
+
* @param {BusinessOnBoardingDTO} businessOnBoardingDTO
|
|
1800
2395
|
* @param {*} [options] Override http request option.
|
|
1801
2396
|
* @throws {RequiredError}
|
|
1802
2397
|
*/
|
|
1803
|
-
async
|
|
1804
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
2398
|
+
async businessControllerBusinessOnboarding(businessOnBoardingDTO: BusinessOnBoardingDTO, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BusinessOnBoardingResponseDTO>> {
|
|
2399
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.businessControllerBusinessOnboarding(businessOnBoardingDTO, options);
|
|
1805
2400
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
1806
|
-
const localVarOperationServerBasePath = operationServerMap['BusinessApi.
|
|
2401
|
+
const localVarOperationServerBasePath = operationServerMap['BusinessApi.businessControllerBusinessOnboarding']?.[localVarOperationServerIndex]?.url;
|
|
1807
2402
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1808
2403
|
},
|
|
1809
2404
|
/**
|
|
1810
2405
|
*
|
|
1811
|
-
* @param {BusinessOnBoardingDTO} businessOnBoardingDTO
|
|
1812
2406
|
* @param {*} [options] Override http request option.
|
|
1813
2407
|
* @throws {RequiredError}
|
|
1814
2408
|
*/
|
|
1815
|
-
async
|
|
1816
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
2409
|
+
async businessControllerGetMe(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BusinessOnBoardingResponseDTO>> {
|
|
2410
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.businessControllerGetMe(options);
|
|
1817
2411
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
1818
|
-
const localVarOperationServerBasePath = operationServerMap['BusinessApi.
|
|
2412
|
+
const localVarOperationServerBasePath = operationServerMap['BusinessApi.businessControllerGetMe']?.[localVarOperationServerIndex]?.url;
|
|
1819
2413
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1820
2414
|
},
|
|
1821
2415
|
/**
|
|
@@ -1875,20 +2469,20 @@ export const BusinessApiFactory = function (configuration?: Configuration, baseP
|
|
|
1875
2469
|
return {
|
|
1876
2470
|
/**
|
|
1877
2471
|
*
|
|
2472
|
+
* @param {BusinessOnBoardingDTO} businessOnBoardingDTO
|
|
1878
2473
|
* @param {*} [options] Override http request option.
|
|
1879
2474
|
* @throws {RequiredError}
|
|
1880
2475
|
*/
|
|
1881
|
-
|
|
1882
|
-
return localVarFp.
|
|
2476
|
+
businessControllerBusinessOnboarding(businessOnBoardingDTO: BusinessOnBoardingDTO, options?: RawAxiosRequestConfig): AxiosPromise<BusinessOnBoardingResponseDTO> {
|
|
2477
|
+
return localVarFp.businessControllerBusinessOnboarding(businessOnBoardingDTO, options).then((request) => request(axios, basePath));
|
|
1883
2478
|
},
|
|
1884
2479
|
/**
|
|
1885
2480
|
*
|
|
1886
|
-
* @param {BusinessOnBoardingDTO} businessOnBoardingDTO
|
|
1887
2481
|
* @param {*} [options] Override http request option.
|
|
1888
2482
|
* @throws {RequiredError}
|
|
1889
2483
|
*/
|
|
1890
|
-
|
|
1891
|
-
return localVarFp.
|
|
2484
|
+
businessControllerGetMe(options?: RawAxiosRequestConfig): AxiosPromise<BusinessOnBoardingResponseDTO> {
|
|
2485
|
+
return localVarFp.businessControllerGetMe(options).then((request) => request(axios, basePath));
|
|
1892
2486
|
},
|
|
1893
2487
|
/**
|
|
1894
2488
|
*
|
|
@@ -1935,23 +2529,23 @@ export const BusinessApiFactory = function (configuration?: Configuration, baseP
|
|
|
1935
2529
|
export class BusinessApi extends BaseAPI {
|
|
1936
2530
|
/**
|
|
1937
2531
|
*
|
|
2532
|
+
* @param {BusinessOnBoardingDTO} businessOnBoardingDTO
|
|
1938
2533
|
* @param {*} [options] Override http request option.
|
|
1939
2534
|
* @throws {RequiredError}
|
|
1940
2535
|
* @memberof BusinessApi
|
|
1941
2536
|
*/
|
|
1942
|
-
public
|
|
1943
|
-
return BusinessApiFp(this.configuration).
|
|
2537
|
+
public businessControllerBusinessOnboarding(businessOnBoardingDTO: BusinessOnBoardingDTO, options?: RawAxiosRequestConfig) {
|
|
2538
|
+
return BusinessApiFp(this.configuration).businessControllerBusinessOnboarding(businessOnBoardingDTO, options).then((request) => request(this.axios, this.basePath));
|
|
1944
2539
|
}
|
|
1945
2540
|
|
|
1946
2541
|
/**
|
|
1947
2542
|
*
|
|
1948
|
-
* @param {BusinessOnBoardingDTO} businessOnBoardingDTO
|
|
1949
2543
|
* @param {*} [options] Override http request option.
|
|
1950
2544
|
* @throws {RequiredError}
|
|
1951
2545
|
* @memberof BusinessApi
|
|
1952
2546
|
*/
|
|
1953
|
-
public
|
|
1954
|
-
return BusinessApiFp(this.configuration).
|
|
2547
|
+
public businessControllerGetMe(options?: RawAxiosRequestConfig) {
|
|
2548
|
+
return BusinessApiFp(this.configuration).businessControllerGetMe(options).then((request) => request(this.axios, this.basePath));
|
|
1955
2549
|
}
|
|
1956
2550
|
|
|
1957
2551
|
/**
|
|
@@ -2108,6 +2702,112 @@ export class DeviceApi extends BaseAPI {
|
|
|
2108
2702
|
|
|
2109
2703
|
|
|
2110
2704
|
|
|
2705
|
+
/**
|
|
2706
|
+
* GcsApi - axios parameter creator
|
|
2707
|
+
* @export
|
|
2708
|
+
*/
|
|
2709
|
+
export const GcsApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
2710
|
+
return {
|
|
2711
|
+
/**
|
|
2712
|
+
*
|
|
2713
|
+
* @param {FileNameUploadDTO} fileNameUploadDTO
|
|
2714
|
+
* @param {*} [options] Override http request option.
|
|
2715
|
+
* @throws {RequiredError}
|
|
2716
|
+
*/
|
|
2717
|
+
gcpControllerUploadFile: async (fileNameUploadDTO: FileNameUploadDTO, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
2718
|
+
// verify required parameter 'fileNameUploadDTO' is not null or undefined
|
|
2719
|
+
assertParamExists('gcpControllerUploadFile', 'fileNameUploadDTO', fileNameUploadDTO)
|
|
2720
|
+
const localVarPath = `/v1/gcs/file`;
|
|
2721
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
2722
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2723
|
+
let baseOptions;
|
|
2724
|
+
if (configuration) {
|
|
2725
|
+
baseOptions = configuration.baseOptions;
|
|
2726
|
+
}
|
|
2727
|
+
|
|
2728
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
2729
|
+
const localVarHeaderParameter = {} as any;
|
|
2730
|
+
const localVarQueryParameter = {} as any;
|
|
2731
|
+
|
|
2732
|
+
|
|
2733
|
+
|
|
2734
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
2735
|
+
|
|
2736
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2737
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2738
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
2739
|
+
localVarRequestOptions.data = serializeDataIfNeeded(fileNameUploadDTO, localVarRequestOptions, configuration)
|
|
2740
|
+
|
|
2741
|
+
return {
|
|
2742
|
+
url: toPathString(localVarUrlObj),
|
|
2743
|
+
options: localVarRequestOptions,
|
|
2744
|
+
};
|
|
2745
|
+
},
|
|
2746
|
+
}
|
|
2747
|
+
};
|
|
2748
|
+
|
|
2749
|
+
/**
|
|
2750
|
+
* GcsApi - functional programming interface
|
|
2751
|
+
* @export
|
|
2752
|
+
*/
|
|
2753
|
+
export const GcsApiFp = function(configuration?: Configuration) {
|
|
2754
|
+
const localVarAxiosParamCreator = GcsApiAxiosParamCreator(configuration)
|
|
2755
|
+
return {
|
|
2756
|
+
/**
|
|
2757
|
+
*
|
|
2758
|
+
* @param {FileNameUploadDTO} fileNameUploadDTO
|
|
2759
|
+
* @param {*} [options] Override http request option.
|
|
2760
|
+
* @throws {RequiredError}
|
|
2761
|
+
*/
|
|
2762
|
+
async gcpControllerUploadFile(fileNameUploadDTO: FileNameUploadDTO, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SignedUrlResponseDTO>> {
|
|
2763
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.gcpControllerUploadFile(fileNameUploadDTO, options);
|
|
2764
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
2765
|
+
const localVarOperationServerBasePath = operationServerMap['GcsApi.gcpControllerUploadFile']?.[localVarOperationServerIndex]?.url;
|
|
2766
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2767
|
+
},
|
|
2768
|
+
}
|
|
2769
|
+
};
|
|
2770
|
+
|
|
2771
|
+
/**
|
|
2772
|
+
* GcsApi - factory interface
|
|
2773
|
+
* @export
|
|
2774
|
+
*/
|
|
2775
|
+
export const GcsApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
2776
|
+
const localVarFp = GcsApiFp(configuration)
|
|
2777
|
+
return {
|
|
2778
|
+
/**
|
|
2779
|
+
*
|
|
2780
|
+
* @param {FileNameUploadDTO} fileNameUploadDTO
|
|
2781
|
+
* @param {*} [options] Override http request option.
|
|
2782
|
+
* @throws {RequiredError}
|
|
2783
|
+
*/
|
|
2784
|
+
gcpControllerUploadFile(fileNameUploadDTO: FileNameUploadDTO, options?: RawAxiosRequestConfig): AxiosPromise<SignedUrlResponseDTO> {
|
|
2785
|
+
return localVarFp.gcpControllerUploadFile(fileNameUploadDTO, options).then((request) => request(axios, basePath));
|
|
2786
|
+
},
|
|
2787
|
+
};
|
|
2788
|
+
};
|
|
2789
|
+
|
|
2790
|
+
/**
|
|
2791
|
+
* GcsApi - object-oriented interface
|
|
2792
|
+
* @export
|
|
2793
|
+
* @class GcsApi
|
|
2794
|
+
* @extends {BaseAPI}
|
|
2795
|
+
*/
|
|
2796
|
+
export class GcsApi extends BaseAPI {
|
|
2797
|
+
/**
|
|
2798
|
+
*
|
|
2799
|
+
* @param {FileNameUploadDTO} fileNameUploadDTO
|
|
2800
|
+
* @param {*} [options] Override http request option.
|
|
2801
|
+
* @throws {RequiredError}
|
|
2802
|
+
* @memberof GcsApi
|
|
2803
|
+
*/
|
|
2804
|
+
public gcpControllerUploadFile(fileNameUploadDTO: FileNameUploadDTO, options?: RawAxiosRequestConfig) {
|
|
2805
|
+
return GcsApiFp(this.configuration).gcpControllerUploadFile(fileNameUploadDTO, options).then((request) => request(this.axios, this.basePath));
|
|
2806
|
+
}
|
|
2807
|
+
}
|
|
2808
|
+
|
|
2809
|
+
|
|
2810
|
+
|
|
2111
2811
|
/**
|
|
2112
2812
|
* GoalsApi - axios parameter creator
|
|
2113
2813
|
* @export
|