@gooday_corp/gooday-api-client 1.1.54 → 1.1.57-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 +83 -7
- package/package.json +1 -1
package/api.ts
CHANGED
|
@@ -3649,6 +3649,12 @@ export interface UserEntity {
|
|
|
3649
3649
|
* @memberof UserEntity
|
|
3650
3650
|
*/
|
|
3651
3651
|
'isDeleted': boolean;
|
|
3652
|
+
/**
|
|
3653
|
+
* Is account deleted?
|
|
3654
|
+
* @type {boolean}
|
|
3655
|
+
* @memberof UserEntity
|
|
3656
|
+
*/
|
|
3657
|
+
'isDeactivate': boolean;
|
|
3652
3658
|
/**
|
|
3653
3659
|
* Email address of the user
|
|
3654
3660
|
* @type {string}
|
|
@@ -7748,10 +7754,11 @@ export const FriendsApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
7748
7754
|
* @param {number} page
|
|
7749
7755
|
* @param {number} pageSize
|
|
7750
7756
|
* @param {string} [search]
|
|
7757
|
+
* @param {string} [calendar]
|
|
7751
7758
|
* @param {*} [options] Override http request option.
|
|
7752
7759
|
* @throws {RequiredError}
|
|
7753
7760
|
*/
|
|
7754
|
-
friendControllerListMyFriends: async (page: number, pageSize: number, search?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
7761
|
+
friendControllerListMyFriends: async (page: number, pageSize: number, search?: string, calendar?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
7755
7762
|
// verify required parameter 'page' is not null or undefined
|
|
7756
7763
|
assertParamExists('friendControllerListMyFriends', 'page', page)
|
|
7757
7764
|
// verify required parameter 'pageSize' is not null or undefined
|
|
@@ -7784,6 +7791,10 @@ export const FriendsApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
7784
7791
|
localVarQueryParameter['pageSize'] = pageSize;
|
|
7785
7792
|
}
|
|
7786
7793
|
|
|
7794
|
+
if (calendar !== undefined) {
|
|
7795
|
+
localVarQueryParameter['calendar'] = calendar;
|
|
7796
|
+
}
|
|
7797
|
+
|
|
7787
7798
|
|
|
7788
7799
|
|
|
7789
7800
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -7938,11 +7949,12 @@ export const FriendsApiFp = function(configuration?: Configuration) {
|
|
|
7938
7949
|
* @param {number} page
|
|
7939
7950
|
* @param {number} pageSize
|
|
7940
7951
|
* @param {string} [search]
|
|
7952
|
+
* @param {string} [calendar]
|
|
7941
7953
|
* @param {*} [options] Override http request option.
|
|
7942
7954
|
* @throws {RequiredError}
|
|
7943
7955
|
*/
|
|
7944
|
-
async friendControllerListMyFriends(page: number, pageSize: number, search?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<FriendsDTO>> {
|
|
7945
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.friendControllerListMyFriends(page, pageSize, search, options);
|
|
7956
|
+
async friendControllerListMyFriends(page: number, pageSize: number, search?: string, calendar?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<FriendsDTO>> {
|
|
7957
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.friendControllerListMyFriends(page, pageSize, search, calendar, options);
|
|
7946
7958
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
7947
7959
|
const localVarOperationServerBasePath = operationServerMap['FriendsApi.friendControllerListMyFriends']?.[localVarOperationServerIndex]?.url;
|
|
7948
7960
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -8024,11 +8036,12 @@ export const FriendsApiFactory = function (configuration?: Configuration, basePa
|
|
|
8024
8036
|
* @param {number} page
|
|
8025
8037
|
* @param {number} pageSize
|
|
8026
8038
|
* @param {string} [search]
|
|
8039
|
+
* @param {string} [calendar]
|
|
8027
8040
|
* @param {*} [options] Override http request option.
|
|
8028
8041
|
* @throws {RequiredError}
|
|
8029
8042
|
*/
|
|
8030
|
-
friendControllerListMyFriends(page: number, pageSize: number, search?: string, options?: RawAxiosRequestConfig): AxiosPromise<FriendsDTO> {
|
|
8031
|
-
return localVarFp.friendControllerListMyFriends(page, pageSize, search, options).then((request) => request(axios, basePath));
|
|
8043
|
+
friendControllerListMyFriends(page: number, pageSize: number, search?: string, calendar?: string, options?: RawAxiosRequestConfig): AxiosPromise<FriendsDTO> {
|
|
8044
|
+
return localVarFp.friendControllerListMyFriends(page, pageSize, search, calendar, options).then((request) => request(axios, basePath));
|
|
8032
8045
|
},
|
|
8033
8046
|
/**
|
|
8034
8047
|
*
|
|
@@ -8109,12 +8122,13 @@ export class FriendsApi extends BaseAPI {
|
|
|
8109
8122
|
* @param {number} page
|
|
8110
8123
|
* @param {number} pageSize
|
|
8111
8124
|
* @param {string} [search]
|
|
8125
|
+
* @param {string} [calendar]
|
|
8112
8126
|
* @param {*} [options] Override http request option.
|
|
8113
8127
|
* @throws {RequiredError}
|
|
8114
8128
|
* @memberof FriendsApi
|
|
8115
8129
|
*/
|
|
8116
|
-
public friendControllerListMyFriends(page: number, pageSize: number, search?: string, options?: RawAxiosRequestConfig) {
|
|
8117
|
-
return FriendsApiFp(this.configuration).friendControllerListMyFriends(page, pageSize, search, options).then((request) => request(this.axios, this.basePath));
|
|
8130
|
+
public friendControllerListMyFriends(page: number, pageSize: number, search?: string, calendar?: string, options?: RawAxiosRequestConfig) {
|
|
8131
|
+
return FriendsApiFp(this.configuration).friendControllerListMyFriends(page, pageSize, search, calendar, options).then((request) => request(this.axios, this.basePath));
|
|
8118
8132
|
}
|
|
8119
8133
|
|
|
8120
8134
|
/**
|
|
@@ -10898,6 +10912,39 @@ export const UsersApiAxiosParamCreator = function (configuration?: Configuration
|
|
|
10898
10912
|
|
|
10899
10913
|
|
|
10900
10914
|
|
|
10915
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
10916
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
10917
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
10918
|
+
|
|
10919
|
+
return {
|
|
10920
|
+
url: toPathString(localVarUrlObj),
|
|
10921
|
+
options: localVarRequestOptions,
|
|
10922
|
+
};
|
|
10923
|
+
},
|
|
10924
|
+
/**
|
|
10925
|
+
*
|
|
10926
|
+
* @param {*} [options] Override http request option.
|
|
10927
|
+
* @throws {RequiredError}
|
|
10928
|
+
*/
|
|
10929
|
+
usersControllerDeleteAccount: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
10930
|
+
const localVarPath = `/v1/user/delete`;
|
|
10931
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
10932
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
10933
|
+
let baseOptions;
|
|
10934
|
+
if (configuration) {
|
|
10935
|
+
baseOptions = configuration.baseOptions;
|
|
10936
|
+
}
|
|
10937
|
+
|
|
10938
|
+
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
|
|
10939
|
+
const localVarHeaderParameter = {} as any;
|
|
10940
|
+
const localVarQueryParameter = {} as any;
|
|
10941
|
+
|
|
10942
|
+
// authentication bearer required
|
|
10943
|
+
// http bearer authentication required
|
|
10944
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
10945
|
+
|
|
10946
|
+
|
|
10947
|
+
|
|
10901
10948
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
10902
10949
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
10903
10950
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -11195,6 +11242,17 @@ export const UsersApiFp = function(configuration?: Configuration) {
|
|
|
11195
11242
|
const localVarOperationServerBasePath = operationServerMap['UsersApi.usersControllerDeactivateAccount']?.[localVarOperationServerIndex]?.url;
|
|
11196
11243
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
11197
11244
|
},
|
|
11245
|
+
/**
|
|
11246
|
+
*
|
|
11247
|
+
* @param {*} [options] Override http request option.
|
|
11248
|
+
* @throws {RequiredError}
|
|
11249
|
+
*/
|
|
11250
|
+
async usersControllerDeleteAccount(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<OnBoardingResponseDTO>> {
|
|
11251
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.usersControllerDeleteAccount(options);
|
|
11252
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
11253
|
+
const localVarOperationServerBasePath = operationServerMap['UsersApi.usersControllerDeleteAccount']?.[localVarOperationServerIndex]?.url;
|
|
11254
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
11255
|
+
},
|
|
11198
11256
|
/**
|
|
11199
11257
|
*
|
|
11200
11258
|
* @param {*} [options] Override http request option.
|
|
@@ -11303,6 +11361,14 @@ export const UsersApiFactory = function (configuration?: Configuration, basePath
|
|
|
11303
11361
|
usersControllerDeactivateAccount(options?: RawAxiosRequestConfig): AxiosPromise<OnBoardingResponseDTO> {
|
|
11304
11362
|
return localVarFp.usersControllerDeactivateAccount(options).then((request) => request(axios, basePath));
|
|
11305
11363
|
},
|
|
11364
|
+
/**
|
|
11365
|
+
*
|
|
11366
|
+
* @param {*} [options] Override http request option.
|
|
11367
|
+
* @throws {RequiredError}
|
|
11368
|
+
*/
|
|
11369
|
+
usersControllerDeleteAccount(options?: RawAxiosRequestConfig): AxiosPromise<OnBoardingResponseDTO> {
|
|
11370
|
+
return localVarFp.usersControllerDeleteAccount(options).then((request) => request(axios, basePath));
|
|
11371
|
+
},
|
|
11306
11372
|
/**
|
|
11307
11373
|
*
|
|
11308
11374
|
* @param {*} [options] Override http request option.
|
|
@@ -11394,6 +11460,16 @@ export class UsersApi extends BaseAPI {
|
|
|
11394
11460
|
return UsersApiFp(this.configuration).usersControllerDeactivateAccount(options).then((request) => request(this.axios, this.basePath));
|
|
11395
11461
|
}
|
|
11396
11462
|
|
|
11463
|
+
/**
|
|
11464
|
+
*
|
|
11465
|
+
* @param {*} [options] Override http request option.
|
|
11466
|
+
* @throws {RequiredError}
|
|
11467
|
+
* @memberof UsersApi
|
|
11468
|
+
*/
|
|
11469
|
+
public usersControllerDeleteAccount(options?: RawAxiosRequestConfig) {
|
|
11470
|
+
return UsersApiFp(this.configuration).usersControllerDeleteAccount(options).then((request) => request(this.axios, this.basePath));
|
|
11471
|
+
}
|
|
11472
|
+
|
|
11397
11473
|
/**
|
|
11398
11474
|
*
|
|
11399
11475
|
* @param {*} [options] Override http request option.
|