@gooday_corp/gooday-api-client 1.0.15-beta → 1.0.16-beta
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 +108 -109
- package/package.json +1 -1
package/api.ts
CHANGED
|
@@ -135,7 +135,7 @@ export interface AttributesDto {
|
|
|
135
135
|
*/
|
|
136
136
|
'skills': Array<SkillDto>;
|
|
137
137
|
/**
|
|
138
|
-
* List of
|
|
138
|
+
* List of likes of assistants
|
|
139
139
|
* @type {Array<string>}
|
|
140
140
|
* @memberof AttributesDto
|
|
141
141
|
*/
|
|
@@ -229,7 +229,7 @@ export interface FileNameUploadDTO {
|
|
|
229
229
|
*/
|
|
230
230
|
export interface ForgotPasswordPayloadDTO {
|
|
231
231
|
/**
|
|
232
|
-
* Email
|
|
232
|
+
* User Email
|
|
233
233
|
* @type {string}
|
|
234
234
|
* @memberof ForgotPasswordPayloadDTO
|
|
235
235
|
*/
|
|
@@ -242,7 +242,7 @@ export interface ForgotPasswordPayloadDTO {
|
|
|
242
242
|
*/
|
|
243
243
|
export interface ForgotPasswordResponseDTO {
|
|
244
244
|
/**
|
|
245
|
-
*
|
|
245
|
+
* statusCode
|
|
246
246
|
* @type {number}
|
|
247
247
|
* @memberof ForgotPasswordResponseDTO
|
|
248
248
|
*/
|
|
@@ -915,6 +915,44 @@ export interface UserMeDTO {
|
|
|
915
915
|
*/
|
|
916
916
|
'data': UserEntity;
|
|
917
917
|
}
|
|
918
|
+
/**
|
|
919
|
+
*
|
|
920
|
+
* @export
|
|
921
|
+
* @interface VerifyOTPPayloadDTO
|
|
922
|
+
*/
|
|
923
|
+
export interface VerifyOTPPayloadDTO {
|
|
924
|
+
/**
|
|
925
|
+
* 6 digit otp from mail
|
|
926
|
+
* @type {string}
|
|
927
|
+
* @memberof VerifyOTPPayloadDTO
|
|
928
|
+
*/
|
|
929
|
+
'otp': string;
|
|
930
|
+
/**
|
|
931
|
+
* Email of user
|
|
932
|
+
* @type {string}
|
|
933
|
+
* @memberof VerifyOTPPayloadDTO
|
|
934
|
+
*/
|
|
935
|
+
'email': string;
|
|
936
|
+
}
|
|
937
|
+
/**
|
|
938
|
+
*
|
|
939
|
+
* @export
|
|
940
|
+
* @interface VerifyOTPResponseDTO
|
|
941
|
+
*/
|
|
942
|
+
export interface VerifyOTPResponseDTO {
|
|
943
|
+
/**
|
|
944
|
+
* The HTTP status code
|
|
945
|
+
* @type {number}
|
|
946
|
+
* @memberof VerifyOTPResponseDTO
|
|
947
|
+
*/
|
|
948
|
+
'statusCode': number;
|
|
949
|
+
/**
|
|
950
|
+
* The
|
|
951
|
+
* @type {string}
|
|
952
|
+
* @memberof VerifyOTPResponseDTO
|
|
953
|
+
*/
|
|
954
|
+
'message': string;
|
|
955
|
+
}
|
|
918
956
|
|
|
919
957
|
/**
|
|
920
958
|
* AIApi - axios parameter creator
|
|
@@ -1294,6 +1332,41 @@ export const AuthApiAxiosParamCreator = function (configuration?: Configuration)
|
|
|
1294
1332
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
1295
1333
|
localVarRequestOptions.data = serializeDataIfNeeded(signupDto, localVarRequestOptions, configuration)
|
|
1296
1334
|
|
|
1335
|
+
return {
|
|
1336
|
+
url: toPathString(localVarUrlObj),
|
|
1337
|
+
options: localVarRequestOptions,
|
|
1338
|
+
};
|
|
1339
|
+
},
|
|
1340
|
+
/**
|
|
1341
|
+
*
|
|
1342
|
+
* @param {VerifyOTPPayloadDTO} verifyOTPPayloadDTO
|
|
1343
|
+
* @param {*} [options] Override http request option.
|
|
1344
|
+
* @throws {RequiredError}
|
|
1345
|
+
*/
|
|
1346
|
+
authControllerVerifyOTP: async (verifyOTPPayloadDTO: VerifyOTPPayloadDTO, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
1347
|
+
// verify required parameter 'verifyOTPPayloadDTO' is not null or undefined
|
|
1348
|
+
assertParamExists('authControllerVerifyOTP', 'verifyOTPPayloadDTO', verifyOTPPayloadDTO)
|
|
1349
|
+
const localVarPath = `/v1/auth/verify-otp`;
|
|
1350
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1351
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1352
|
+
let baseOptions;
|
|
1353
|
+
if (configuration) {
|
|
1354
|
+
baseOptions = configuration.baseOptions;
|
|
1355
|
+
}
|
|
1356
|
+
|
|
1357
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
1358
|
+
const localVarHeaderParameter = {} as any;
|
|
1359
|
+
const localVarQueryParameter = {} as any;
|
|
1360
|
+
|
|
1361
|
+
|
|
1362
|
+
|
|
1363
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
1364
|
+
|
|
1365
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1366
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1367
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
1368
|
+
localVarRequestOptions.data = serializeDataIfNeeded(verifyOTPPayloadDTO, localVarRequestOptions, configuration)
|
|
1369
|
+
|
|
1297
1370
|
return {
|
|
1298
1371
|
url: toPathString(localVarUrlObj),
|
|
1299
1372
|
options: localVarRequestOptions,
|
|
@@ -1381,6 +1454,18 @@ export const AuthApiFp = function(configuration?: Configuration) {
|
|
|
1381
1454
|
const localVarOperationServerBasePath = operationServerMap['AuthApi.authControllerSignUp']?.[localVarOperationServerIndex]?.url;
|
|
1382
1455
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1383
1456
|
},
|
|
1457
|
+
/**
|
|
1458
|
+
*
|
|
1459
|
+
* @param {VerifyOTPPayloadDTO} verifyOTPPayloadDTO
|
|
1460
|
+
* @param {*} [options] Override http request option.
|
|
1461
|
+
* @throws {RequiredError}
|
|
1462
|
+
*/
|
|
1463
|
+
async authControllerVerifyOTP(verifyOTPPayloadDTO: VerifyOTPPayloadDTO, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<VerifyOTPResponseDTO>> {
|
|
1464
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.authControllerVerifyOTP(verifyOTPPayloadDTO, options);
|
|
1465
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
1466
|
+
const localVarOperationServerBasePath = operationServerMap['AuthApi.authControllerVerifyOTP']?.[localVarOperationServerIndex]?.url;
|
|
1467
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1468
|
+
},
|
|
1384
1469
|
}
|
|
1385
1470
|
};
|
|
1386
1471
|
|
|
@@ -1445,6 +1530,15 @@ export const AuthApiFactory = function (configuration?: Configuration, basePath?
|
|
|
1445
1530
|
authControllerSignUp(signupDto: SignupDto, options?: RawAxiosRequestConfig): AxiosPromise<SignupResponseDto> {
|
|
1446
1531
|
return localVarFp.authControllerSignUp(signupDto, options).then((request) => request(axios, basePath));
|
|
1447
1532
|
},
|
|
1533
|
+
/**
|
|
1534
|
+
*
|
|
1535
|
+
* @param {VerifyOTPPayloadDTO} verifyOTPPayloadDTO
|
|
1536
|
+
* @param {*} [options] Override http request option.
|
|
1537
|
+
* @throws {RequiredError}
|
|
1538
|
+
*/
|
|
1539
|
+
authControllerVerifyOTP(verifyOTPPayloadDTO: VerifyOTPPayloadDTO, options?: RawAxiosRequestConfig): AxiosPromise<VerifyOTPResponseDTO> {
|
|
1540
|
+
return localVarFp.authControllerVerifyOTP(verifyOTPPayloadDTO, options).then((request) => request(axios, basePath));
|
|
1541
|
+
},
|
|
1448
1542
|
};
|
|
1449
1543
|
};
|
|
1450
1544
|
|
|
@@ -1520,6 +1614,17 @@ export class AuthApi extends BaseAPI {
|
|
|
1520
1614
|
public authControllerSignUp(signupDto: SignupDto, options?: RawAxiosRequestConfig) {
|
|
1521
1615
|
return AuthApiFp(this.configuration).authControllerSignUp(signupDto, options).then((request) => request(this.axios, this.basePath));
|
|
1522
1616
|
}
|
|
1617
|
+
|
|
1618
|
+
/**
|
|
1619
|
+
*
|
|
1620
|
+
* @param {VerifyOTPPayloadDTO} verifyOTPPayloadDTO
|
|
1621
|
+
* @param {*} [options] Override http request option.
|
|
1622
|
+
* @throws {RequiredError}
|
|
1623
|
+
* @memberof AuthApi
|
|
1624
|
+
*/
|
|
1625
|
+
public authControllerVerifyOTP(verifyOTPPayloadDTO: VerifyOTPPayloadDTO, options?: RawAxiosRequestConfig) {
|
|
1626
|
+
return AuthApiFp(this.configuration).authControllerVerifyOTP(verifyOTPPayloadDTO, options).then((request) => request(this.axios, this.basePath));
|
|
1627
|
+
}
|
|
1523
1628
|
}
|
|
1524
1629
|
|
|
1525
1630
|
|
|
@@ -2040,112 +2145,6 @@ export class PlansApi extends BaseAPI {
|
|
|
2040
2145
|
|
|
2041
2146
|
|
|
2042
2147
|
|
|
2043
|
-
/**
|
|
2044
|
-
* PostApi - axios parameter creator
|
|
2045
|
-
* @export
|
|
2046
|
-
*/
|
|
2047
|
-
export const PostApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
2048
|
-
return {
|
|
2049
|
-
/**
|
|
2050
|
-
*
|
|
2051
|
-
* @param {FileNameUploadDTO} fileNameUploadDTO
|
|
2052
|
-
* @param {*} [options] Override http request option.
|
|
2053
|
-
* @throws {RequiredError}
|
|
2054
|
-
*/
|
|
2055
|
-
gcpControllerUploadFile: async (fileNameUploadDTO: FileNameUploadDTO, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
2056
|
-
// verify required parameter 'fileNameUploadDTO' is not null or undefined
|
|
2057
|
-
assertParamExists('gcpControllerUploadFile', 'fileNameUploadDTO', fileNameUploadDTO)
|
|
2058
|
-
const localVarPath = `/v1/gcs/file`;
|
|
2059
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
2060
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2061
|
-
let baseOptions;
|
|
2062
|
-
if (configuration) {
|
|
2063
|
-
baseOptions = configuration.baseOptions;
|
|
2064
|
-
}
|
|
2065
|
-
|
|
2066
|
-
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
2067
|
-
const localVarHeaderParameter = {} as any;
|
|
2068
|
-
const localVarQueryParameter = {} as any;
|
|
2069
|
-
|
|
2070
|
-
|
|
2071
|
-
|
|
2072
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
2073
|
-
|
|
2074
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2075
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2076
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
2077
|
-
localVarRequestOptions.data = serializeDataIfNeeded(fileNameUploadDTO, localVarRequestOptions, configuration)
|
|
2078
|
-
|
|
2079
|
-
return {
|
|
2080
|
-
url: toPathString(localVarUrlObj),
|
|
2081
|
-
options: localVarRequestOptions,
|
|
2082
|
-
};
|
|
2083
|
-
},
|
|
2084
|
-
}
|
|
2085
|
-
};
|
|
2086
|
-
|
|
2087
|
-
/**
|
|
2088
|
-
* PostApi - functional programming interface
|
|
2089
|
-
* @export
|
|
2090
|
-
*/
|
|
2091
|
-
export const PostApiFp = function(configuration?: Configuration) {
|
|
2092
|
-
const localVarAxiosParamCreator = PostApiAxiosParamCreator(configuration)
|
|
2093
|
-
return {
|
|
2094
|
-
/**
|
|
2095
|
-
*
|
|
2096
|
-
* @param {FileNameUploadDTO} fileNameUploadDTO
|
|
2097
|
-
* @param {*} [options] Override http request option.
|
|
2098
|
-
* @throws {RequiredError}
|
|
2099
|
-
*/
|
|
2100
|
-
async gcpControllerUploadFile(fileNameUploadDTO: FileNameUploadDTO, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SignedUrlResponseDTO>> {
|
|
2101
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.gcpControllerUploadFile(fileNameUploadDTO, options);
|
|
2102
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
2103
|
-
const localVarOperationServerBasePath = operationServerMap['PostApi.gcpControllerUploadFile']?.[localVarOperationServerIndex]?.url;
|
|
2104
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2105
|
-
},
|
|
2106
|
-
}
|
|
2107
|
-
};
|
|
2108
|
-
|
|
2109
|
-
/**
|
|
2110
|
-
* PostApi - factory interface
|
|
2111
|
-
* @export
|
|
2112
|
-
*/
|
|
2113
|
-
export const PostApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
2114
|
-
const localVarFp = PostApiFp(configuration)
|
|
2115
|
-
return {
|
|
2116
|
-
/**
|
|
2117
|
-
*
|
|
2118
|
-
* @param {FileNameUploadDTO} fileNameUploadDTO
|
|
2119
|
-
* @param {*} [options] Override http request option.
|
|
2120
|
-
* @throws {RequiredError}
|
|
2121
|
-
*/
|
|
2122
|
-
gcpControllerUploadFile(fileNameUploadDTO: FileNameUploadDTO, options?: RawAxiosRequestConfig): AxiosPromise<SignedUrlResponseDTO> {
|
|
2123
|
-
return localVarFp.gcpControllerUploadFile(fileNameUploadDTO, options).then((request) => request(axios, basePath));
|
|
2124
|
-
},
|
|
2125
|
-
};
|
|
2126
|
-
};
|
|
2127
|
-
|
|
2128
|
-
/**
|
|
2129
|
-
* PostApi - object-oriented interface
|
|
2130
|
-
* @export
|
|
2131
|
-
* @class PostApi
|
|
2132
|
-
* @extends {BaseAPI}
|
|
2133
|
-
*/
|
|
2134
|
-
export class PostApi extends BaseAPI {
|
|
2135
|
-
/**
|
|
2136
|
-
*
|
|
2137
|
-
* @param {FileNameUploadDTO} fileNameUploadDTO
|
|
2138
|
-
* @param {*} [options] Override http request option.
|
|
2139
|
-
* @throws {RequiredError}
|
|
2140
|
-
* @memberof PostApi
|
|
2141
|
-
*/
|
|
2142
|
-
public gcpControllerUploadFile(fileNameUploadDTO: FileNameUploadDTO, options?: RawAxiosRequestConfig) {
|
|
2143
|
-
return PostApiFp(this.configuration).gcpControllerUploadFile(fileNameUploadDTO, options).then((request) => request(this.axios, this.basePath));
|
|
2144
|
-
}
|
|
2145
|
-
}
|
|
2146
|
-
|
|
2147
|
-
|
|
2148
|
-
|
|
2149
2148
|
/**
|
|
2150
2149
|
* UsersApi - axios parameter creator
|
|
2151
2150
|
* @export
|