@gooday_corp/gooday-api-client 1.0.12 → 1.0.14
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 +582 -1
- package/package.json +1 -1
package/api.ts
CHANGED
|
@@ -96,6 +96,12 @@ export interface AssistantEntity {
|
|
|
96
96
|
* @memberof AssistantEntity
|
|
97
97
|
*/
|
|
98
98
|
'configuration': object;
|
|
99
|
+
/**
|
|
100
|
+
* Attributes object for the assistant
|
|
101
|
+
* @type {object}
|
|
102
|
+
* @memberof AssistantEntity
|
|
103
|
+
*/
|
|
104
|
+
'attributes': object;
|
|
99
105
|
}
|
|
100
106
|
/**
|
|
101
107
|
*
|
|
@@ -172,6 +178,57 @@ export interface DeviceEntity {
|
|
|
172
178
|
*/
|
|
173
179
|
'status': string;
|
|
174
180
|
}
|
|
181
|
+
/**
|
|
182
|
+
*
|
|
183
|
+
* @export
|
|
184
|
+
* @interface FileNameUploadDTO
|
|
185
|
+
*/
|
|
186
|
+
export interface FileNameUploadDTO {
|
|
187
|
+
/**
|
|
188
|
+
* A message providing additional details about the response
|
|
189
|
+
* @type {string}
|
|
190
|
+
* @memberof FileNameUploadDTO
|
|
191
|
+
*/
|
|
192
|
+
'fileName': string;
|
|
193
|
+
/**
|
|
194
|
+
* A name of bucket where you have to upload the image
|
|
195
|
+
* @type {string}
|
|
196
|
+
* @memberof FileNameUploadDTO
|
|
197
|
+
*/
|
|
198
|
+
'bucketName': string;
|
|
199
|
+
}
|
|
200
|
+
/**
|
|
201
|
+
*
|
|
202
|
+
* @export
|
|
203
|
+
* @interface ForgotPasswordPayloadDTO
|
|
204
|
+
*/
|
|
205
|
+
export interface ForgotPasswordPayloadDTO {
|
|
206
|
+
/**
|
|
207
|
+
* Email
|
|
208
|
+
* @type {string}
|
|
209
|
+
* @memberof ForgotPasswordPayloadDTO
|
|
210
|
+
*/
|
|
211
|
+
'email': string;
|
|
212
|
+
}
|
|
213
|
+
/**
|
|
214
|
+
*
|
|
215
|
+
* @export
|
|
216
|
+
* @interface ForgotPasswordResponseDTO
|
|
217
|
+
*/
|
|
218
|
+
export interface ForgotPasswordResponseDTO {
|
|
219
|
+
/**
|
|
220
|
+
* statuscCode
|
|
221
|
+
* @type {number}
|
|
222
|
+
* @memberof ForgotPasswordResponseDTO
|
|
223
|
+
*/
|
|
224
|
+
'statusCode': number;
|
|
225
|
+
/**
|
|
226
|
+
* message
|
|
227
|
+
* @type {string}
|
|
228
|
+
* @memberof ForgotPasswordResponseDTO
|
|
229
|
+
*/
|
|
230
|
+
'message': string;
|
|
231
|
+
}
|
|
175
232
|
/**
|
|
176
233
|
*
|
|
177
234
|
* @export
|
|
@@ -293,6 +350,44 @@ export interface MyAssistantResponse {
|
|
|
293
350
|
*/
|
|
294
351
|
'data': AssistantEntity;
|
|
295
352
|
}
|
|
353
|
+
/**
|
|
354
|
+
*
|
|
355
|
+
* @export
|
|
356
|
+
* @interface NewPasswordPayloadDTO
|
|
357
|
+
*/
|
|
358
|
+
export interface NewPasswordPayloadDTO {
|
|
359
|
+
/**
|
|
360
|
+
* email
|
|
361
|
+
* @type {string}
|
|
362
|
+
* @memberof NewPasswordPayloadDTO
|
|
363
|
+
*/
|
|
364
|
+
'email': string;
|
|
365
|
+
/**
|
|
366
|
+
* New password User
|
|
367
|
+
* @type {string}
|
|
368
|
+
* @memberof NewPasswordPayloadDTO
|
|
369
|
+
*/
|
|
370
|
+
'password': string;
|
|
371
|
+
}
|
|
372
|
+
/**
|
|
373
|
+
*
|
|
374
|
+
* @export
|
|
375
|
+
* @interface NewPasswordResponseDTO
|
|
376
|
+
*/
|
|
377
|
+
export interface NewPasswordResponseDTO {
|
|
378
|
+
/**
|
|
379
|
+
* statuscCode
|
|
380
|
+
* @type {number}
|
|
381
|
+
* @memberof NewPasswordResponseDTO
|
|
382
|
+
*/
|
|
383
|
+
'statusCode': number;
|
|
384
|
+
/**
|
|
385
|
+
* message
|
|
386
|
+
* @type {string}
|
|
387
|
+
* @memberof NewPasswordResponseDTO
|
|
388
|
+
*/
|
|
389
|
+
'message': string;
|
|
390
|
+
}
|
|
296
391
|
/**
|
|
297
392
|
*
|
|
298
393
|
* @export
|
|
@@ -471,6 +566,44 @@ export const PriceEntityIntervalEnum = {
|
|
|
471
566
|
|
|
472
567
|
export type PriceEntityIntervalEnum = typeof PriceEntityIntervalEnum[keyof typeof PriceEntityIntervalEnum];
|
|
473
568
|
|
|
569
|
+
/**
|
|
570
|
+
*
|
|
571
|
+
* @export
|
|
572
|
+
* @interface ResetPasswordPayloadDTO
|
|
573
|
+
*/
|
|
574
|
+
export interface ResetPasswordPayloadDTO {
|
|
575
|
+
/**
|
|
576
|
+
* Old password for the user
|
|
577
|
+
* @type {string}
|
|
578
|
+
* @memberof ResetPasswordPayloadDTO
|
|
579
|
+
*/
|
|
580
|
+
'currentPasword': string;
|
|
581
|
+
/**
|
|
582
|
+
* The New password for the user account
|
|
583
|
+
* @type {string}
|
|
584
|
+
* @memberof ResetPasswordPayloadDTO
|
|
585
|
+
*/
|
|
586
|
+
'newPassword': string;
|
|
587
|
+
}
|
|
588
|
+
/**
|
|
589
|
+
*
|
|
590
|
+
* @export
|
|
591
|
+
* @interface ResetPasswordResponseDTO
|
|
592
|
+
*/
|
|
593
|
+
export interface ResetPasswordResponseDTO {
|
|
594
|
+
/**
|
|
595
|
+
* statuscCode
|
|
596
|
+
* @type {number}
|
|
597
|
+
* @memberof ResetPasswordResponseDTO
|
|
598
|
+
*/
|
|
599
|
+
'statusCode': number;
|
|
600
|
+
/**
|
|
601
|
+
* message
|
|
602
|
+
* @type {string}
|
|
603
|
+
* @memberof ResetPasswordResponseDTO
|
|
604
|
+
*/
|
|
605
|
+
'message': string;
|
|
606
|
+
}
|
|
474
607
|
/**
|
|
475
608
|
*
|
|
476
609
|
* @export
|
|
@@ -478,7 +611,7 @@ export type PriceEntityIntervalEnum = typeof PriceEntityIntervalEnum[keyof typeo
|
|
|
478
611
|
*/
|
|
479
612
|
export interface SignInDto {
|
|
480
613
|
/**
|
|
481
|
-
* Email
|
|
614
|
+
* Email
|
|
482
615
|
* @type {string}
|
|
483
616
|
* @memberof SignInDto
|
|
484
617
|
*/
|
|
@@ -534,6 +667,25 @@ export interface SignInResponseDto {
|
|
|
534
667
|
*/
|
|
535
668
|
'data': SignInResponse;
|
|
536
669
|
}
|
|
670
|
+
/**
|
|
671
|
+
*
|
|
672
|
+
* @export
|
|
673
|
+
* @interface SignedUrlResponseDTO
|
|
674
|
+
*/
|
|
675
|
+
export interface SignedUrlResponseDTO {
|
|
676
|
+
/**
|
|
677
|
+
* Status code of the response
|
|
678
|
+
* @type {number}
|
|
679
|
+
* @memberof SignedUrlResponseDTO
|
|
680
|
+
*/
|
|
681
|
+
'statusCode': number;
|
|
682
|
+
/**
|
|
683
|
+
* A pre-signed Url from the Google..
|
|
684
|
+
* @type {string}
|
|
685
|
+
* @memberof SignedUrlResponseDTO
|
|
686
|
+
*/
|
|
687
|
+
'signedUrl': string;
|
|
688
|
+
}
|
|
537
689
|
/**
|
|
538
690
|
*
|
|
539
691
|
* @export
|
|
@@ -558,6 +710,12 @@ export interface SignupDto {
|
|
|
558
710
|
* @memberof SignupDto
|
|
559
711
|
*/
|
|
560
712
|
'email': string;
|
|
713
|
+
/**
|
|
714
|
+
* User Profile Name
|
|
715
|
+
* @type {string}
|
|
716
|
+
* @memberof SignupDto
|
|
717
|
+
*/
|
|
718
|
+
'profile': string;
|
|
561
719
|
/**
|
|
562
720
|
* The password for the user account
|
|
563
721
|
* @type {string}
|
|
@@ -633,6 +791,12 @@ export interface UserEntity {
|
|
|
633
791
|
* @memberof UserEntity
|
|
634
792
|
*/
|
|
635
793
|
'lastName': string;
|
|
794
|
+
/**
|
|
795
|
+
* Profile Picture of User
|
|
796
|
+
* @type {string}
|
|
797
|
+
* @memberof UserEntity
|
|
798
|
+
*/
|
|
799
|
+
'profile': string;
|
|
636
800
|
/**
|
|
637
801
|
* Email address of the user
|
|
638
802
|
* @type {string}
|
|
@@ -873,6 +1037,115 @@ export class AIApi extends BaseAPI {
|
|
|
873
1037
|
*/
|
|
874
1038
|
export const AuthApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
875
1039
|
return {
|
|
1040
|
+
/**
|
|
1041
|
+
*
|
|
1042
|
+
* @param {NewPasswordPayloadDTO} newPasswordPayloadDTO
|
|
1043
|
+
* @param {*} [options] Override http request option.
|
|
1044
|
+
* @throws {RequiredError}
|
|
1045
|
+
*/
|
|
1046
|
+
authControllerCreateNewPassword: async (newPasswordPayloadDTO: NewPasswordPayloadDTO, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
1047
|
+
// verify required parameter 'newPasswordPayloadDTO' is not null or undefined
|
|
1048
|
+
assertParamExists('authControllerCreateNewPassword', 'newPasswordPayloadDTO', newPasswordPayloadDTO)
|
|
1049
|
+
const localVarPath = `/v1/auth/new-password`;
|
|
1050
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1051
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1052
|
+
let baseOptions;
|
|
1053
|
+
if (configuration) {
|
|
1054
|
+
baseOptions = configuration.baseOptions;
|
|
1055
|
+
}
|
|
1056
|
+
|
|
1057
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
1058
|
+
const localVarHeaderParameter = {} as any;
|
|
1059
|
+
const localVarQueryParameter = {} as any;
|
|
1060
|
+
|
|
1061
|
+
|
|
1062
|
+
|
|
1063
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
1064
|
+
|
|
1065
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1066
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1067
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
1068
|
+
localVarRequestOptions.data = serializeDataIfNeeded(newPasswordPayloadDTO, localVarRequestOptions, configuration)
|
|
1069
|
+
|
|
1070
|
+
return {
|
|
1071
|
+
url: toPathString(localVarUrlObj),
|
|
1072
|
+
options: localVarRequestOptions,
|
|
1073
|
+
};
|
|
1074
|
+
},
|
|
1075
|
+
/**
|
|
1076
|
+
*
|
|
1077
|
+
* @param {ForgotPasswordPayloadDTO} forgotPasswordPayloadDTO
|
|
1078
|
+
* @param {*} [options] Override http request option.
|
|
1079
|
+
* @throws {RequiredError}
|
|
1080
|
+
*/
|
|
1081
|
+
authControllerForgotPassword: async (forgotPasswordPayloadDTO: ForgotPasswordPayloadDTO, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
1082
|
+
// verify required parameter 'forgotPasswordPayloadDTO' is not null or undefined
|
|
1083
|
+
assertParamExists('authControllerForgotPassword', 'forgotPasswordPayloadDTO', forgotPasswordPayloadDTO)
|
|
1084
|
+
const localVarPath = `/v1/auth/forgot-password`;
|
|
1085
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1086
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1087
|
+
let baseOptions;
|
|
1088
|
+
if (configuration) {
|
|
1089
|
+
baseOptions = configuration.baseOptions;
|
|
1090
|
+
}
|
|
1091
|
+
|
|
1092
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
1093
|
+
const localVarHeaderParameter = {} as any;
|
|
1094
|
+
const localVarQueryParameter = {} as any;
|
|
1095
|
+
|
|
1096
|
+
|
|
1097
|
+
|
|
1098
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
1099
|
+
|
|
1100
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1101
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1102
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
1103
|
+
localVarRequestOptions.data = serializeDataIfNeeded(forgotPasswordPayloadDTO, localVarRequestOptions, configuration)
|
|
1104
|
+
|
|
1105
|
+
return {
|
|
1106
|
+
url: toPathString(localVarUrlObj),
|
|
1107
|
+
options: localVarRequestOptions,
|
|
1108
|
+
};
|
|
1109
|
+
},
|
|
1110
|
+
/**
|
|
1111
|
+
*
|
|
1112
|
+
* @param {ResetPasswordPayloadDTO} resetPasswordPayloadDTO
|
|
1113
|
+
* @param {*} [options] Override http request option.
|
|
1114
|
+
* @throws {RequiredError}
|
|
1115
|
+
*/
|
|
1116
|
+
authControllerResetPassword: async (resetPasswordPayloadDTO: ResetPasswordPayloadDTO, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
1117
|
+
// verify required parameter 'resetPasswordPayloadDTO' is not null or undefined
|
|
1118
|
+
assertParamExists('authControllerResetPassword', 'resetPasswordPayloadDTO', resetPasswordPayloadDTO)
|
|
1119
|
+
const localVarPath = `/v1/auth/reset-password`;
|
|
1120
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1121
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1122
|
+
let baseOptions;
|
|
1123
|
+
if (configuration) {
|
|
1124
|
+
baseOptions = configuration.baseOptions;
|
|
1125
|
+
}
|
|
1126
|
+
|
|
1127
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
1128
|
+
const localVarHeaderParameter = {} as any;
|
|
1129
|
+
const localVarQueryParameter = {} as any;
|
|
1130
|
+
|
|
1131
|
+
// authentication bearer required
|
|
1132
|
+
// http bearer authentication required
|
|
1133
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
1134
|
+
|
|
1135
|
+
|
|
1136
|
+
|
|
1137
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
1138
|
+
|
|
1139
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1140
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1141
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
1142
|
+
localVarRequestOptions.data = serializeDataIfNeeded(resetPasswordPayloadDTO, localVarRequestOptions, configuration)
|
|
1143
|
+
|
|
1144
|
+
return {
|
|
1145
|
+
url: toPathString(localVarUrlObj),
|
|
1146
|
+
options: localVarRequestOptions,
|
|
1147
|
+
};
|
|
1148
|
+
},
|
|
876
1149
|
/**
|
|
877
1150
|
*
|
|
878
1151
|
* @param {SignInDto} signInDto
|
|
@@ -992,6 +1265,42 @@ export const AuthApiAxiosParamCreator = function (configuration?: Configuration)
|
|
|
992
1265
|
export const AuthApiFp = function(configuration?: Configuration) {
|
|
993
1266
|
const localVarAxiosParamCreator = AuthApiAxiosParamCreator(configuration)
|
|
994
1267
|
return {
|
|
1268
|
+
/**
|
|
1269
|
+
*
|
|
1270
|
+
* @param {NewPasswordPayloadDTO} newPasswordPayloadDTO
|
|
1271
|
+
* @param {*} [options] Override http request option.
|
|
1272
|
+
* @throws {RequiredError}
|
|
1273
|
+
*/
|
|
1274
|
+
async authControllerCreateNewPassword(newPasswordPayloadDTO: NewPasswordPayloadDTO, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<NewPasswordResponseDTO>> {
|
|
1275
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.authControllerCreateNewPassword(newPasswordPayloadDTO, options);
|
|
1276
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
1277
|
+
const localVarOperationServerBasePath = operationServerMap['AuthApi.authControllerCreateNewPassword']?.[localVarOperationServerIndex]?.url;
|
|
1278
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1279
|
+
},
|
|
1280
|
+
/**
|
|
1281
|
+
*
|
|
1282
|
+
* @param {ForgotPasswordPayloadDTO} forgotPasswordPayloadDTO
|
|
1283
|
+
* @param {*} [options] Override http request option.
|
|
1284
|
+
* @throws {RequiredError}
|
|
1285
|
+
*/
|
|
1286
|
+
async authControllerForgotPassword(forgotPasswordPayloadDTO: ForgotPasswordPayloadDTO, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ForgotPasswordResponseDTO>> {
|
|
1287
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.authControllerForgotPassword(forgotPasswordPayloadDTO, options);
|
|
1288
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
1289
|
+
const localVarOperationServerBasePath = operationServerMap['AuthApi.authControllerForgotPassword']?.[localVarOperationServerIndex]?.url;
|
|
1290
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1291
|
+
},
|
|
1292
|
+
/**
|
|
1293
|
+
*
|
|
1294
|
+
* @param {ResetPasswordPayloadDTO} resetPasswordPayloadDTO
|
|
1295
|
+
* @param {*} [options] Override http request option.
|
|
1296
|
+
* @throws {RequiredError}
|
|
1297
|
+
*/
|
|
1298
|
+
async authControllerResetPassword(resetPasswordPayloadDTO: ResetPasswordPayloadDTO, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ResetPasswordResponseDTO>> {
|
|
1299
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.authControllerResetPassword(resetPasswordPayloadDTO, options);
|
|
1300
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
1301
|
+
const localVarOperationServerBasePath = operationServerMap['AuthApi.authControllerResetPassword']?.[localVarOperationServerIndex]?.url;
|
|
1302
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1303
|
+
},
|
|
995
1304
|
/**
|
|
996
1305
|
*
|
|
997
1306
|
* @param {SignInDto} signInDto
|
|
@@ -1038,6 +1347,33 @@ export const AuthApiFp = function(configuration?: Configuration) {
|
|
|
1038
1347
|
export const AuthApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
1039
1348
|
const localVarFp = AuthApiFp(configuration)
|
|
1040
1349
|
return {
|
|
1350
|
+
/**
|
|
1351
|
+
*
|
|
1352
|
+
* @param {NewPasswordPayloadDTO} newPasswordPayloadDTO
|
|
1353
|
+
* @param {*} [options] Override http request option.
|
|
1354
|
+
* @throws {RequiredError}
|
|
1355
|
+
*/
|
|
1356
|
+
authControllerCreateNewPassword(newPasswordPayloadDTO: NewPasswordPayloadDTO, options?: RawAxiosRequestConfig): AxiosPromise<NewPasswordResponseDTO> {
|
|
1357
|
+
return localVarFp.authControllerCreateNewPassword(newPasswordPayloadDTO, options).then((request) => request(axios, basePath));
|
|
1358
|
+
},
|
|
1359
|
+
/**
|
|
1360
|
+
*
|
|
1361
|
+
* @param {ForgotPasswordPayloadDTO} forgotPasswordPayloadDTO
|
|
1362
|
+
* @param {*} [options] Override http request option.
|
|
1363
|
+
* @throws {RequiredError}
|
|
1364
|
+
*/
|
|
1365
|
+
authControllerForgotPassword(forgotPasswordPayloadDTO: ForgotPasswordPayloadDTO, options?: RawAxiosRequestConfig): AxiosPromise<ForgotPasswordResponseDTO> {
|
|
1366
|
+
return localVarFp.authControllerForgotPassword(forgotPasswordPayloadDTO, options).then((request) => request(axios, basePath));
|
|
1367
|
+
},
|
|
1368
|
+
/**
|
|
1369
|
+
*
|
|
1370
|
+
* @param {ResetPasswordPayloadDTO} resetPasswordPayloadDTO
|
|
1371
|
+
* @param {*} [options] Override http request option.
|
|
1372
|
+
* @throws {RequiredError}
|
|
1373
|
+
*/
|
|
1374
|
+
authControllerResetPassword(resetPasswordPayloadDTO: ResetPasswordPayloadDTO, options?: RawAxiosRequestConfig): AxiosPromise<ResetPasswordResponseDTO> {
|
|
1375
|
+
return localVarFp.authControllerResetPassword(resetPasswordPayloadDTO, options).then((request) => request(axios, basePath));
|
|
1376
|
+
},
|
|
1041
1377
|
/**
|
|
1042
1378
|
*
|
|
1043
1379
|
* @param {SignInDto} signInDto
|
|
@@ -1075,6 +1411,39 @@ export const AuthApiFactory = function (configuration?: Configuration, basePath?
|
|
|
1075
1411
|
* @extends {BaseAPI}
|
|
1076
1412
|
*/
|
|
1077
1413
|
export class AuthApi extends BaseAPI {
|
|
1414
|
+
/**
|
|
1415
|
+
*
|
|
1416
|
+
* @param {NewPasswordPayloadDTO} newPasswordPayloadDTO
|
|
1417
|
+
* @param {*} [options] Override http request option.
|
|
1418
|
+
* @throws {RequiredError}
|
|
1419
|
+
* @memberof AuthApi
|
|
1420
|
+
*/
|
|
1421
|
+
public authControllerCreateNewPassword(newPasswordPayloadDTO: NewPasswordPayloadDTO, options?: RawAxiosRequestConfig) {
|
|
1422
|
+
return AuthApiFp(this.configuration).authControllerCreateNewPassword(newPasswordPayloadDTO, options).then((request) => request(this.axios, this.basePath));
|
|
1423
|
+
}
|
|
1424
|
+
|
|
1425
|
+
/**
|
|
1426
|
+
*
|
|
1427
|
+
* @param {ForgotPasswordPayloadDTO} forgotPasswordPayloadDTO
|
|
1428
|
+
* @param {*} [options] Override http request option.
|
|
1429
|
+
* @throws {RequiredError}
|
|
1430
|
+
* @memberof AuthApi
|
|
1431
|
+
*/
|
|
1432
|
+
public authControllerForgotPassword(forgotPasswordPayloadDTO: ForgotPasswordPayloadDTO, options?: RawAxiosRequestConfig) {
|
|
1433
|
+
return AuthApiFp(this.configuration).authControllerForgotPassword(forgotPasswordPayloadDTO, options).then((request) => request(this.axios, this.basePath));
|
|
1434
|
+
}
|
|
1435
|
+
|
|
1436
|
+
/**
|
|
1437
|
+
*
|
|
1438
|
+
* @param {ResetPasswordPayloadDTO} resetPasswordPayloadDTO
|
|
1439
|
+
* @param {*} [options] Override http request option.
|
|
1440
|
+
* @throws {RequiredError}
|
|
1441
|
+
* @memberof AuthApi
|
|
1442
|
+
*/
|
|
1443
|
+
public authControllerResetPassword(resetPasswordPayloadDTO: ResetPasswordPayloadDTO, options?: RawAxiosRequestConfig) {
|
|
1444
|
+
return AuthApiFp(this.configuration).authControllerResetPassword(resetPasswordPayloadDTO, options).then((request) => request(this.axios, this.basePath));
|
|
1445
|
+
}
|
|
1446
|
+
|
|
1078
1447
|
/**
|
|
1079
1448
|
*
|
|
1080
1449
|
* @param {SignInDto} signInDto
|
|
@@ -1221,6 +1590,112 @@ export class DeviceApi extends BaseAPI {
|
|
|
1221
1590
|
|
|
1222
1591
|
|
|
1223
1592
|
|
|
1593
|
+
/**
|
|
1594
|
+
* GcsApi - axios parameter creator
|
|
1595
|
+
* @export
|
|
1596
|
+
*/
|
|
1597
|
+
export const GcsApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
1598
|
+
return {
|
|
1599
|
+
/**
|
|
1600
|
+
*
|
|
1601
|
+
* @param {FileNameUploadDTO} fileNameUploadDTO
|
|
1602
|
+
* @param {*} [options] Override http request option.
|
|
1603
|
+
* @throws {RequiredError}
|
|
1604
|
+
*/
|
|
1605
|
+
gcpControllerUploadFile: async (fileNameUploadDTO: FileNameUploadDTO, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
1606
|
+
// verify required parameter 'fileNameUploadDTO' is not null or undefined
|
|
1607
|
+
assertParamExists('gcpControllerUploadFile', 'fileNameUploadDTO', fileNameUploadDTO)
|
|
1608
|
+
const localVarPath = `/v1/gcs/file`;
|
|
1609
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1610
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1611
|
+
let baseOptions;
|
|
1612
|
+
if (configuration) {
|
|
1613
|
+
baseOptions = configuration.baseOptions;
|
|
1614
|
+
}
|
|
1615
|
+
|
|
1616
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
1617
|
+
const localVarHeaderParameter = {} as any;
|
|
1618
|
+
const localVarQueryParameter = {} as any;
|
|
1619
|
+
|
|
1620
|
+
|
|
1621
|
+
|
|
1622
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
1623
|
+
|
|
1624
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1625
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1626
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
1627
|
+
localVarRequestOptions.data = serializeDataIfNeeded(fileNameUploadDTO, localVarRequestOptions, configuration)
|
|
1628
|
+
|
|
1629
|
+
return {
|
|
1630
|
+
url: toPathString(localVarUrlObj),
|
|
1631
|
+
options: localVarRequestOptions,
|
|
1632
|
+
};
|
|
1633
|
+
},
|
|
1634
|
+
}
|
|
1635
|
+
};
|
|
1636
|
+
|
|
1637
|
+
/**
|
|
1638
|
+
* GcsApi - functional programming interface
|
|
1639
|
+
* @export
|
|
1640
|
+
*/
|
|
1641
|
+
export const GcsApiFp = function(configuration?: Configuration) {
|
|
1642
|
+
const localVarAxiosParamCreator = GcsApiAxiosParamCreator(configuration)
|
|
1643
|
+
return {
|
|
1644
|
+
/**
|
|
1645
|
+
*
|
|
1646
|
+
* @param {FileNameUploadDTO} fileNameUploadDTO
|
|
1647
|
+
* @param {*} [options] Override http request option.
|
|
1648
|
+
* @throws {RequiredError}
|
|
1649
|
+
*/
|
|
1650
|
+
async gcpControllerUploadFile(fileNameUploadDTO: FileNameUploadDTO, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SignedUrlResponseDTO>> {
|
|
1651
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.gcpControllerUploadFile(fileNameUploadDTO, options);
|
|
1652
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
1653
|
+
const localVarOperationServerBasePath = operationServerMap['GcsApi.gcpControllerUploadFile']?.[localVarOperationServerIndex]?.url;
|
|
1654
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1655
|
+
},
|
|
1656
|
+
}
|
|
1657
|
+
};
|
|
1658
|
+
|
|
1659
|
+
/**
|
|
1660
|
+
* GcsApi - factory interface
|
|
1661
|
+
* @export
|
|
1662
|
+
*/
|
|
1663
|
+
export const GcsApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
1664
|
+
const localVarFp = GcsApiFp(configuration)
|
|
1665
|
+
return {
|
|
1666
|
+
/**
|
|
1667
|
+
*
|
|
1668
|
+
* @param {FileNameUploadDTO} fileNameUploadDTO
|
|
1669
|
+
* @param {*} [options] Override http request option.
|
|
1670
|
+
* @throws {RequiredError}
|
|
1671
|
+
*/
|
|
1672
|
+
gcpControllerUploadFile(fileNameUploadDTO: FileNameUploadDTO, options?: RawAxiosRequestConfig): AxiosPromise<SignedUrlResponseDTO> {
|
|
1673
|
+
return localVarFp.gcpControllerUploadFile(fileNameUploadDTO, options).then((request) => request(axios, basePath));
|
|
1674
|
+
},
|
|
1675
|
+
};
|
|
1676
|
+
};
|
|
1677
|
+
|
|
1678
|
+
/**
|
|
1679
|
+
* GcsApi - object-oriented interface
|
|
1680
|
+
* @export
|
|
1681
|
+
* @class GcsApi
|
|
1682
|
+
* @extends {BaseAPI}
|
|
1683
|
+
*/
|
|
1684
|
+
export class GcsApi extends BaseAPI {
|
|
1685
|
+
/**
|
|
1686
|
+
*
|
|
1687
|
+
* @param {FileNameUploadDTO} fileNameUploadDTO
|
|
1688
|
+
* @param {*} [options] Override http request option.
|
|
1689
|
+
* @throws {RequiredError}
|
|
1690
|
+
* @memberof GcsApi
|
|
1691
|
+
*/
|
|
1692
|
+
public gcpControllerUploadFile(fileNameUploadDTO: FileNameUploadDTO, options?: RawAxiosRequestConfig) {
|
|
1693
|
+
return GcsApiFp(this.configuration).gcpControllerUploadFile(fileNameUploadDTO, options).then((request) => request(this.axios, this.basePath));
|
|
1694
|
+
}
|
|
1695
|
+
}
|
|
1696
|
+
|
|
1697
|
+
|
|
1698
|
+
|
|
1224
1699
|
/**
|
|
1225
1700
|
* GoalsApi - axios parameter creator
|
|
1226
1701
|
* @export
|
|
@@ -1521,6 +1996,112 @@ export class PlansApi extends BaseAPI {
|
|
|
1521
1996
|
|
|
1522
1997
|
|
|
1523
1998
|
|
|
1999
|
+
/**
|
|
2000
|
+
* PostApi - axios parameter creator
|
|
2001
|
+
* @export
|
|
2002
|
+
*/
|
|
2003
|
+
export const PostApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
2004
|
+
return {
|
|
2005
|
+
/**
|
|
2006
|
+
*
|
|
2007
|
+
* @param {FileNameUploadDTO} fileNameUploadDTO
|
|
2008
|
+
* @param {*} [options] Override http request option.
|
|
2009
|
+
* @throws {RequiredError}
|
|
2010
|
+
*/
|
|
2011
|
+
gcpControllerUploadFile: async (fileNameUploadDTO: FileNameUploadDTO, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
2012
|
+
// verify required parameter 'fileNameUploadDTO' is not null or undefined
|
|
2013
|
+
assertParamExists('gcpControllerUploadFile', 'fileNameUploadDTO', fileNameUploadDTO)
|
|
2014
|
+
const localVarPath = `/v1/gcs/file`;
|
|
2015
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
2016
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2017
|
+
let baseOptions;
|
|
2018
|
+
if (configuration) {
|
|
2019
|
+
baseOptions = configuration.baseOptions;
|
|
2020
|
+
}
|
|
2021
|
+
|
|
2022
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
2023
|
+
const localVarHeaderParameter = {} as any;
|
|
2024
|
+
const localVarQueryParameter = {} as any;
|
|
2025
|
+
|
|
2026
|
+
|
|
2027
|
+
|
|
2028
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
2029
|
+
|
|
2030
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2031
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2032
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
2033
|
+
localVarRequestOptions.data = serializeDataIfNeeded(fileNameUploadDTO, localVarRequestOptions, configuration)
|
|
2034
|
+
|
|
2035
|
+
return {
|
|
2036
|
+
url: toPathString(localVarUrlObj),
|
|
2037
|
+
options: localVarRequestOptions,
|
|
2038
|
+
};
|
|
2039
|
+
},
|
|
2040
|
+
}
|
|
2041
|
+
};
|
|
2042
|
+
|
|
2043
|
+
/**
|
|
2044
|
+
* PostApi - functional programming interface
|
|
2045
|
+
* @export
|
|
2046
|
+
*/
|
|
2047
|
+
export const PostApiFp = function(configuration?: Configuration) {
|
|
2048
|
+
const localVarAxiosParamCreator = PostApiAxiosParamCreator(configuration)
|
|
2049
|
+
return {
|
|
2050
|
+
/**
|
|
2051
|
+
*
|
|
2052
|
+
* @param {FileNameUploadDTO} fileNameUploadDTO
|
|
2053
|
+
* @param {*} [options] Override http request option.
|
|
2054
|
+
* @throws {RequiredError}
|
|
2055
|
+
*/
|
|
2056
|
+
async gcpControllerUploadFile(fileNameUploadDTO: FileNameUploadDTO, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SignedUrlResponseDTO>> {
|
|
2057
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.gcpControllerUploadFile(fileNameUploadDTO, options);
|
|
2058
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
2059
|
+
const localVarOperationServerBasePath = operationServerMap['PostApi.gcpControllerUploadFile']?.[localVarOperationServerIndex]?.url;
|
|
2060
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2061
|
+
},
|
|
2062
|
+
}
|
|
2063
|
+
};
|
|
2064
|
+
|
|
2065
|
+
/**
|
|
2066
|
+
* PostApi - factory interface
|
|
2067
|
+
* @export
|
|
2068
|
+
*/
|
|
2069
|
+
export const PostApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
2070
|
+
const localVarFp = PostApiFp(configuration)
|
|
2071
|
+
return {
|
|
2072
|
+
/**
|
|
2073
|
+
*
|
|
2074
|
+
* @param {FileNameUploadDTO} fileNameUploadDTO
|
|
2075
|
+
* @param {*} [options] Override http request option.
|
|
2076
|
+
* @throws {RequiredError}
|
|
2077
|
+
*/
|
|
2078
|
+
gcpControllerUploadFile(fileNameUploadDTO: FileNameUploadDTO, options?: RawAxiosRequestConfig): AxiosPromise<SignedUrlResponseDTO> {
|
|
2079
|
+
return localVarFp.gcpControllerUploadFile(fileNameUploadDTO, options).then((request) => request(axios, basePath));
|
|
2080
|
+
},
|
|
2081
|
+
};
|
|
2082
|
+
};
|
|
2083
|
+
|
|
2084
|
+
/**
|
|
2085
|
+
* PostApi - object-oriented interface
|
|
2086
|
+
* @export
|
|
2087
|
+
* @class PostApi
|
|
2088
|
+
* @extends {BaseAPI}
|
|
2089
|
+
*/
|
|
2090
|
+
export class PostApi extends BaseAPI {
|
|
2091
|
+
/**
|
|
2092
|
+
*
|
|
2093
|
+
* @param {FileNameUploadDTO} fileNameUploadDTO
|
|
2094
|
+
* @param {*} [options] Override http request option.
|
|
2095
|
+
* @throws {RequiredError}
|
|
2096
|
+
* @memberof PostApi
|
|
2097
|
+
*/
|
|
2098
|
+
public gcpControllerUploadFile(fileNameUploadDTO: FileNameUploadDTO, options?: RawAxiosRequestConfig) {
|
|
2099
|
+
return PostApiFp(this.configuration).gcpControllerUploadFile(fileNameUploadDTO, options).then((request) => request(this.axios, this.basePath));
|
|
2100
|
+
}
|
|
2101
|
+
}
|
|
2102
|
+
|
|
2103
|
+
|
|
2104
|
+
|
|
1524
2105
|
/**
|
|
1525
2106
|
* UsersApi - axios parameter creator
|
|
1526
2107
|
* @export
|