@gooday_corp/gooday-api-client 1.3.16 → 1.3.17
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 +335 -52
- package/package.json +1 -1
package/api.ts
CHANGED
|
@@ -4001,6 +4001,43 @@ export interface FindHistoryResponseDTO {
|
|
|
4001
4001
|
*/
|
|
4002
4002
|
'data': Array<HistoryEntity>;
|
|
4003
4003
|
}
|
|
4004
|
+
/**
|
|
4005
|
+
*
|
|
4006
|
+
* @export
|
|
4007
|
+
* @interface FindMyFriendRequestPayload
|
|
4008
|
+
*/
|
|
4009
|
+
export interface FindMyFriendRequestPayload {
|
|
4010
|
+
/**
|
|
4011
|
+
*
|
|
4012
|
+
* @type {string}
|
|
4013
|
+
* @memberof FindMyFriendRequestPayload
|
|
4014
|
+
*/
|
|
4015
|
+
'search'?: string;
|
|
4016
|
+
/**
|
|
4017
|
+
*
|
|
4018
|
+
* @type {number}
|
|
4019
|
+
* @memberof FindMyFriendRequestPayload
|
|
4020
|
+
*/
|
|
4021
|
+
'page': number;
|
|
4022
|
+
/**
|
|
4023
|
+
*
|
|
4024
|
+
* @type {number}
|
|
4025
|
+
* @memberof FindMyFriendRequestPayload
|
|
4026
|
+
*/
|
|
4027
|
+
'pageSize': number;
|
|
4028
|
+
/**
|
|
4029
|
+
*
|
|
4030
|
+
* @type {string}
|
|
4031
|
+
* @memberof FindMyFriendRequestPayload
|
|
4032
|
+
*/
|
|
4033
|
+
'calendar'?: string;
|
|
4034
|
+
/**
|
|
4035
|
+
*
|
|
4036
|
+
* @type {string}
|
|
4037
|
+
* @memberof FindMyFriendRequestPayload
|
|
4038
|
+
*/
|
|
4039
|
+
'user'?: string;
|
|
4040
|
+
}
|
|
4004
4041
|
/**
|
|
4005
4042
|
*
|
|
4006
4043
|
* @export
|
|
@@ -4781,6 +4818,57 @@ export interface MicrosoftCalendarAccessDTO {
|
|
|
4781
4818
|
*/
|
|
4782
4819
|
'refreshToken': string;
|
|
4783
4820
|
}
|
|
4821
|
+
/**
|
|
4822
|
+
*
|
|
4823
|
+
* @export
|
|
4824
|
+
* @interface MutualFriendDTO
|
|
4825
|
+
*/
|
|
4826
|
+
export interface MutualFriendDTO {
|
|
4827
|
+
/**
|
|
4828
|
+
* statusCode
|
|
4829
|
+
* @type {number}
|
|
4830
|
+
* @memberof MutualFriendDTO
|
|
4831
|
+
*/
|
|
4832
|
+
'statusCode': number;
|
|
4833
|
+
/**
|
|
4834
|
+
*
|
|
4835
|
+
* @type {boolean}
|
|
4836
|
+
* @memberof MutualFriendDTO
|
|
4837
|
+
*/
|
|
4838
|
+
'success': boolean;
|
|
4839
|
+
}
|
|
4840
|
+
/**
|
|
4841
|
+
*
|
|
4842
|
+
* @export
|
|
4843
|
+
* @interface MutualFriendPayload
|
|
4844
|
+
*/
|
|
4845
|
+
export interface MutualFriendPayload {
|
|
4846
|
+
/**
|
|
4847
|
+
*
|
|
4848
|
+
* @type {string}
|
|
4849
|
+
* @memberof MutualFriendPayload
|
|
4850
|
+
*/
|
|
4851
|
+
'friendId': string;
|
|
4852
|
+
}
|
|
4853
|
+
/**
|
|
4854
|
+
*
|
|
4855
|
+
* @export
|
|
4856
|
+
* @interface MutualFriendsListDTO
|
|
4857
|
+
*/
|
|
4858
|
+
export interface MutualFriendsListDTO {
|
|
4859
|
+
/**
|
|
4860
|
+
* statusCode
|
|
4861
|
+
* @type {number}
|
|
4862
|
+
* @memberof MutualFriendsListDTO
|
|
4863
|
+
*/
|
|
4864
|
+
'statusCode': number;
|
|
4865
|
+
/**
|
|
4866
|
+
* User
|
|
4867
|
+
* @type {Array<UserEntity>}
|
|
4868
|
+
* @memberof MutualFriendsListDTO
|
|
4869
|
+
*/
|
|
4870
|
+
'data': Array<UserEntity>;
|
|
4871
|
+
}
|
|
4784
4872
|
/**
|
|
4785
4873
|
*
|
|
4786
4874
|
* @export
|
|
@@ -14276,6 +14364,45 @@ export const FriendsApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
14276
14364
|
options: localVarRequestOptions,
|
|
14277
14365
|
};
|
|
14278
14366
|
},
|
|
14367
|
+
/**
|
|
14368
|
+
*
|
|
14369
|
+
* @param {MutualFriendPayload} mutualFriendPayload
|
|
14370
|
+
* @param {*} [options] Override http request option.
|
|
14371
|
+
* @throws {RequiredError}
|
|
14372
|
+
*/
|
|
14373
|
+
friendControllerCreateMutualFriend: async (mutualFriendPayload: MutualFriendPayload, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
14374
|
+
// verify required parameter 'mutualFriendPayload' is not null or undefined
|
|
14375
|
+
assertParamExists('friendControllerCreateMutualFriend', 'mutualFriendPayload', mutualFriendPayload)
|
|
14376
|
+
const localVarPath = `/v1/friend/mutual`;
|
|
14377
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
14378
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
14379
|
+
let baseOptions;
|
|
14380
|
+
if (configuration) {
|
|
14381
|
+
baseOptions = configuration.baseOptions;
|
|
14382
|
+
}
|
|
14383
|
+
|
|
14384
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
14385
|
+
const localVarHeaderParameter = {} as any;
|
|
14386
|
+
const localVarQueryParameter = {} as any;
|
|
14387
|
+
|
|
14388
|
+
// authentication bearer required
|
|
14389
|
+
// http bearer authentication required
|
|
14390
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
14391
|
+
|
|
14392
|
+
|
|
14393
|
+
|
|
14394
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
14395
|
+
|
|
14396
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
14397
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
14398
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
14399
|
+
localVarRequestOptions.data = serializeDataIfNeeded(mutualFriendPayload, localVarRequestOptions, configuration)
|
|
14400
|
+
|
|
14401
|
+
return {
|
|
14402
|
+
url: toPathString(localVarUrlObj),
|
|
14403
|
+
options: localVarRequestOptions,
|
|
14404
|
+
};
|
|
14405
|
+
},
|
|
14279
14406
|
/**
|
|
14280
14407
|
*
|
|
14281
14408
|
* @param {DeclineFriendshipRequestPayload} declineFriendshipRequestPayload
|
|
@@ -14358,6 +14485,58 @@ export const FriendsApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
14358
14485
|
|
|
14359
14486
|
|
|
14360
14487
|
|
|
14488
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
14489
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
14490
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
14491
|
+
|
|
14492
|
+
return {
|
|
14493
|
+
url: toPathString(localVarUrlObj),
|
|
14494
|
+
options: localVarRequestOptions,
|
|
14495
|
+
};
|
|
14496
|
+
},
|
|
14497
|
+
/**
|
|
14498
|
+
*
|
|
14499
|
+
* @param {number} page
|
|
14500
|
+
* @param {number} pageSize
|
|
14501
|
+
* @param {string} [query]
|
|
14502
|
+
* @param {*} [options] Override http request option.
|
|
14503
|
+
* @throws {RequiredError}
|
|
14504
|
+
*/
|
|
14505
|
+
friendControllerFindMutualFriends: async (page: number, pageSize: number, query?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
14506
|
+
// verify required parameter 'page' is not null or undefined
|
|
14507
|
+
assertParamExists('friendControllerFindMutualFriends', 'page', page)
|
|
14508
|
+
// verify required parameter 'pageSize' is not null or undefined
|
|
14509
|
+
assertParamExists('friendControllerFindMutualFriends', 'pageSize', pageSize)
|
|
14510
|
+
const localVarPath = `/v1/friend/mutual`;
|
|
14511
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
14512
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
14513
|
+
let baseOptions;
|
|
14514
|
+
if (configuration) {
|
|
14515
|
+
baseOptions = configuration.baseOptions;
|
|
14516
|
+
}
|
|
14517
|
+
|
|
14518
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
14519
|
+
const localVarHeaderParameter = {} as any;
|
|
14520
|
+
const localVarQueryParameter = {} as any;
|
|
14521
|
+
|
|
14522
|
+
// authentication bearer required
|
|
14523
|
+
// http bearer authentication required
|
|
14524
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
14525
|
+
|
|
14526
|
+
if (query !== undefined) {
|
|
14527
|
+
localVarQueryParameter['query'] = query;
|
|
14528
|
+
}
|
|
14529
|
+
|
|
14530
|
+
if (page !== undefined) {
|
|
14531
|
+
localVarQueryParameter['page'] = page;
|
|
14532
|
+
}
|
|
14533
|
+
|
|
14534
|
+
if (pageSize !== undefined) {
|
|
14535
|
+
localVarQueryParameter['pageSize'] = pageSize;
|
|
14536
|
+
}
|
|
14537
|
+
|
|
14538
|
+
|
|
14539
|
+
|
|
14361
14540
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
14362
14541
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
14363
14542
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -14408,19 +14587,13 @@ export const FriendsApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
14408
14587
|
},
|
|
14409
14588
|
/**
|
|
14410
14589
|
*
|
|
14411
|
-
* @param {
|
|
14412
|
-
* @param {number} pageSize
|
|
14413
|
-
* @param {string} [search]
|
|
14414
|
-
* @param {string} [calendar]
|
|
14415
|
-
* @param {string} [user]
|
|
14590
|
+
* @param {FindMyFriendRequestPayload} findMyFriendRequestPayload
|
|
14416
14591
|
* @param {*} [options] Override http request option.
|
|
14417
14592
|
* @throws {RequiredError}
|
|
14418
14593
|
*/
|
|
14419
|
-
friendControllerListMyFriends: async (
|
|
14420
|
-
// verify required parameter '
|
|
14421
|
-
assertParamExists('friendControllerListMyFriends', '
|
|
14422
|
-
// verify required parameter 'pageSize' is not null or undefined
|
|
14423
|
-
assertParamExists('friendControllerListMyFriends', 'pageSize', pageSize)
|
|
14594
|
+
friendControllerListMyFriends: async (findMyFriendRequestPayload: FindMyFriendRequestPayload, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
14595
|
+
// verify required parameter 'findMyFriendRequestPayload' is not null or undefined
|
|
14596
|
+
assertParamExists('friendControllerListMyFriends', 'findMyFriendRequestPayload', findMyFriendRequestPayload)
|
|
14424
14597
|
const localVarPath = `/v1/friend/list`;
|
|
14425
14598
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
14426
14599
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -14429,7 +14602,7 @@ export const FriendsApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
14429
14602
|
baseOptions = configuration.baseOptions;
|
|
14430
14603
|
}
|
|
14431
14604
|
|
|
14432
|
-
const localVarRequestOptions = { method: '
|
|
14605
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
14433
14606
|
const localVarHeaderParameter = {} as any;
|
|
14434
14607
|
const localVarQueryParameter = {} as any;
|
|
14435
14608
|
|
|
@@ -14437,31 +14610,14 @@ export const FriendsApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
14437
14610
|
// http bearer authentication required
|
|
14438
14611
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
14439
14612
|
|
|
14440
|
-
if (search !== undefined) {
|
|
14441
|
-
localVarQueryParameter['search'] = search;
|
|
14442
|
-
}
|
|
14443
|
-
|
|
14444
|
-
if (page !== undefined) {
|
|
14445
|
-
localVarQueryParameter['page'] = page;
|
|
14446
|
-
}
|
|
14447
|
-
|
|
14448
|
-
if (pageSize !== undefined) {
|
|
14449
|
-
localVarQueryParameter['pageSize'] = pageSize;
|
|
14450
|
-
}
|
|
14451
|
-
|
|
14452
|
-
if (calendar !== undefined) {
|
|
14453
|
-
localVarQueryParameter['calendar'] = calendar;
|
|
14454
|
-
}
|
|
14455
|
-
|
|
14456
|
-
if (user !== undefined) {
|
|
14457
|
-
localVarQueryParameter['user'] = user;
|
|
14458
|
-
}
|
|
14459
|
-
|
|
14460
14613
|
|
|
14461
14614
|
|
|
14615
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
14616
|
+
|
|
14462
14617
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
14463
14618
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
14464
14619
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
14620
|
+
localVarRequestOptions.data = serializeDataIfNeeded(findMyFriendRequestPayload, localVarRequestOptions, configuration)
|
|
14465
14621
|
|
|
14466
14622
|
return {
|
|
14467
14623
|
url: toPathString(localVarUrlObj),
|
|
@@ -14507,6 +14663,43 @@ export const FriendsApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
14507
14663
|
options: localVarRequestOptions,
|
|
14508
14664
|
};
|
|
14509
14665
|
},
|
|
14666
|
+
/**
|
|
14667
|
+
*
|
|
14668
|
+
* @param {string} id
|
|
14669
|
+
* @param {*} [options] Override http request option.
|
|
14670
|
+
* @throws {RequiredError}
|
|
14671
|
+
*/
|
|
14672
|
+
friendControllerRemoveMutualFriend: async (id: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
14673
|
+
// verify required parameter 'id' is not null or undefined
|
|
14674
|
+
assertParamExists('friendControllerRemoveMutualFriend', 'id', id)
|
|
14675
|
+
const localVarPath = `/v1/friend/mutual/{id}`
|
|
14676
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
14677
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
14678
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
14679
|
+
let baseOptions;
|
|
14680
|
+
if (configuration) {
|
|
14681
|
+
baseOptions = configuration.baseOptions;
|
|
14682
|
+
}
|
|
14683
|
+
|
|
14684
|
+
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
|
|
14685
|
+
const localVarHeaderParameter = {} as any;
|
|
14686
|
+
const localVarQueryParameter = {} as any;
|
|
14687
|
+
|
|
14688
|
+
// authentication bearer required
|
|
14689
|
+
// http bearer authentication required
|
|
14690
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
14691
|
+
|
|
14692
|
+
|
|
14693
|
+
|
|
14694
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
14695
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
14696
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
14697
|
+
|
|
14698
|
+
return {
|
|
14699
|
+
url: toPathString(localVarUrlObj),
|
|
14700
|
+
options: localVarRequestOptions,
|
|
14701
|
+
};
|
|
14702
|
+
},
|
|
14510
14703
|
/**
|
|
14511
14704
|
*
|
|
14512
14705
|
* @param {SendFriendshipRequestPayload} sendFriendshipRequestPayload
|
|
@@ -14601,6 +14794,18 @@ export const FriendsApiFp = function(configuration?: Configuration) {
|
|
|
14601
14794
|
const localVarOperationServerBasePath = operationServerMap['FriendsApi.friendControllerApproveFriendRequest']?.[localVarOperationServerIndex]?.url;
|
|
14602
14795
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
14603
14796
|
},
|
|
14797
|
+
/**
|
|
14798
|
+
*
|
|
14799
|
+
* @param {MutualFriendPayload} mutualFriendPayload
|
|
14800
|
+
* @param {*} [options] Override http request option.
|
|
14801
|
+
* @throws {RequiredError}
|
|
14802
|
+
*/
|
|
14803
|
+
async friendControllerCreateMutualFriend(mutualFriendPayload: MutualFriendPayload, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<MutualFriendDTO>> {
|
|
14804
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.friendControllerCreateMutualFriend(mutualFriendPayload, options);
|
|
14805
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
14806
|
+
const localVarOperationServerBasePath = operationServerMap['FriendsApi.friendControllerCreateMutualFriend']?.[localVarOperationServerIndex]?.url;
|
|
14807
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
14808
|
+
},
|
|
14604
14809
|
/**
|
|
14605
14810
|
*
|
|
14606
14811
|
* @param {DeclineFriendshipRequestPayload} declineFriendshipRequestPayload
|
|
@@ -14627,6 +14832,20 @@ export const FriendsApiFp = function(configuration?: Configuration) {
|
|
|
14627
14832
|
const localVarOperationServerBasePath = operationServerMap['FriendsApi.friendControllerFindFriends']?.[localVarOperationServerIndex]?.url;
|
|
14628
14833
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
14629
14834
|
},
|
|
14835
|
+
/**
|
|
14836
|
+
*
|
|
14837
|
+
* @param {number} page
|
|
14838
|
+
* @param {number} pageSize
|
|
14839
|
+
* @param {string} [query]
|
|
14840
|
+
* @param {*} [options] Override http request option.
|
|
14841
|
+
* @throws {RequiredError}
|
|
14842
|
+
*/
|
|
14843
|
+
async friendControllerFindMutualFriends(page: number, pageSize: number, query?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<MutualFriendsListDTO>> {
|
|
14844
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.friendControllerFindMutualFriends(page, pageSize, query, options);
|
|
14845
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
14846
|
+
const localVarOperationServerBasePath = operationServerMap['FriendsApi.friendControllerFindMutualFriends']?.[localVarOperationServerIndex]?.url;
|
|
14847
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
14848
|
+
},
|
|
14630
14849
|
/**
|
|
14631
14850
|
*
|
|
14632
14851
|
* @param {FriendshipStatusCheck} friendshipStatusCheck
|
|
@@ -14641,16 +14860,12 @@ export const FriendsApiFp = function(configuration?: Configuration) {
|
|
|
14641
14860
|
},
|
|
14642
14861
|
/**
|
|
14643
14862
|
*
|
|
14644
|
-
* @param {
|
|
14645
|
-
* @param {number} pageSize
|
|
14646
|
-
* @param {string} [search]
|
|
14647
|
-
* @param {string} [calendar]
|
|
14648
|
-
* @param {string} [user]
|
|
14863
|
+
* @param {FindMyFriendRequestPayload} findMyFriendRequestPayload
|
|
14649
14864
|
* @param {*} [options] Override http request option.
|
|
14650
14865
|
* @throws {RequiredError}
|
|
14651
14866
|
*/
|
|
14652
|
-
async friendControllerListMyFriends(
|
|
14653
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.friendControllerListMyFriends(
|
|
14867
|
+
async friendControllerListMyFriends(findMyFriendRequestPayload: FindMyFriendRequestPayload, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<FriendsDTO>> {
|
|
14868
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.friendControllerListMyFriends(findMyFriendRequestPayload, options);
|
|
14654
14869
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
14655
14870
|
const localVarOperationServerBasePath = operationServerMap['FriendsApi.friendControllerListMyFriends']?.[localVarOperationServerIndex]?.url;
|
|
14656
14871
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -14667,6 +14882,18 @@ export const FriendsApiFp = function(configuration?: Configuration) {
|
|
|
14667
14882
|
const localVarOperationServerBasePath = operationServerMap['FriendsApi.friendControllerRemoveFriendById']?.[localVarOperationServerIndex]?.url;
|
|
14668
14883
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
14669
14884
|
},
|
|
14885
|
+
/**
|
|
14886
|
+
*
|
|
14887
|
+
* @param {string} id
|
|
14888
|
+
* @param {*} [options] Override http request option.
|
|
14889
|
+
* @throws {RequiredError}
|
|
14890
|
+
*/
|
|
14891
|
+
async friendControllerRemoveMutualFriend(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<MutualFriendDTO>> {
|
|
14892
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.friendControllerRemoveMutualFriend(id, options);
|
|
14893
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
14894
|
+
const localVarOperationServerBasePath = operationServerMap['FriendsApi.friendControllerRemoveMutualFriend']?.[localVarOperationServerIndex]?.url;
|
|
14895
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
14896
|
+
},
|
|
14670
14897
|
/**
|
|
14671
14898
|
*
|
|
14672
14899
|
* @param {SendFriendshipRequestPayload} sendFriendshipRequestPayload
|
|
@@ -14709,6 +14936,15 @@ export const FriendsApiFactory = function (configuration?: Configuration, basePa
|
|
|
14709
14936
|
friendControllerApproveFriendRequest(approveFriendshipRequestPayload: ApproveFriendshipRequestPayload, options?: RawAxiosRequestConfig): AxiosPromise<FriendsResponseDTO> {
|
|
14710
14937
|
return localVarFp.friendControllerApproveFriendRequest(approveFriendshipRequestPayload, options).then((request) => request(axios, basePath));
|
|
14711
14938
|
},
|
|
14939
|
+
/**
|
|
14940
|
+
*
|
|
14941
|
+
* @param {MutualFriendPayload} mutualFriendPayload
|
|
14942
|
+
* @param {*} [options] Override http request option.
|
|
14943
|
+
* @throws {RequiredError}
|
|
14944
|
+
*/
|
|
14945
|
+
friendControllerCreateMutualFriend(mutualFriendPayload: MutualFriendPayload, options?: RawAxiosRequestConfig): AxiosPromise<MutualFriendDTO> {
|
|
14946
|
+
return localVarFp.friendControllerCreateMutualFriend(mutualFriendPayload, options).then((request) => request(axios, basePath));
|
|
14947
|
+
},
|
|
14712
14948
|
/**
|
|
14713
14949
|
*
|
|
14714
14950
|
* @param {DeclineFriendshipRequestPayload} declineFriendshipRequestPayload
|
|
@@ -14729,6 +14965,17 @@ export const FriendsApiFactory = function (configuration?: Configuration, basePa
|
|
|
14729
14965
|
friendControllerFindFriends(page: number, pageSize: number, query?: string, options?: RawAxiosRequestConfig): AxiosPromise<FriendsDTO> {
|
|
14730
14966
|
return localVarFp.friendControllerFindFriends(page, pageSize, query, options).then((request) => request(axios, basePath));
|
|
14731
14967
|
},
|
|
14968
|
+
/**
|
|
14969
|
+
*
|
|
14970
|
+
* @param {number} page
|
|
14971
|
+
* @param {number} pageSize
|
|
14972
|
+
* @param {string} [query]
|
|
14973
|
+
* @param {*} [options] Override http request option.
|
|
14974
|
+
* @throws {RequiredError}
|
|
14975
|
+
*/
|
|
14976
|
+
friendControllerFindMutualFriends(page: number, pageSize: number, query?: string, options?: RawAxiosRequestConfig): AxiosPromise<MutualFriendsListDTO> {
|
|
14977
|
+
return localVarFp.friendControllerFindMutualFriends(page, pageSize, query, options).then((request) => request(axios, basePath));
|
|
14978
|
+
},
|
|
14732
14979
|
/**
|
|
14733
14980
|
*
|
|
14734
14981
|
* @param {FriendshipStatusCheck} friendshipStatusCheck
|
|
@@ -14740,16 +14987,12 @@ export const FriendsApiFactory = function (configuration?: Configuration, basePa
|
|
|
14740
14987
|
},
|
|
14741
14988
|
/**
|
|
14742
14989
|
*
|
|
14743
|
-
* @param {
|
|
14744
|
-
* @param {number} pageSize
|
|
14745
|
-
* @param {string} [search]
|
|
14746
|
-
* @param {string} [calendar]
|
|
14747
|
-
* @param {string} [user]
|
|
14990
|
+
* @param {FindMyFriendRequestPayload} findMyFriendRequestPayload
|
|
14748
14991
|
* @param {*} [options] Override http request option.
|
|
14749
14992
|
* @throws {RequiredError}
|
|
14750
14993
|
*/
|
|
14751
|
-
friendControllerListMyFriends(
|
|
14752
|
-
return localVarFp.friendControllerListMyFriends(
|
|
14994
|
+
friendControllerListMyFriends(findMyFriendRequestPayload: FindMyFriendRequestPayload, options?: RawAxiosRequestConfig): AxiosPromise<FriendsDTO> {
|
|
14995
|
+
return localVarFp.friendControllerListMyFriends(findMyFriendRequestPayload, options).then((request) => request(axios, basePath));
|
|
14753
14996
|
},
|
|
14754
14997
|
/**
|
|
14755
14998
|
*
|
|
@@ -14760,6 +15003,15 @@ export const FriendsApiFactory = function (configuration?: Configuration, basePa
|
|
|
14760
15003
|
friendControllerRemoveFriendById(removeFriendshipRequestPayload: RemoveFriendshipRequestPayload, options?: RawAxiosRequestConfig): AxiosPromise<FriendsResponseDTO> {
|
|
14761
15004
|
return localVarFp.friendControllerRemoveFriendById(removeFriendshipRequestPayload, options).then((request) => request(axios, basePath));
|
|
14762
15005
|
},
|
|
15006
|
+
/**
|
|
15007
|
+
*
|
|
15008
|
+
* @param {string} id
|
|
15009
|
+
* @param {*} [options] Override http request option.
|
|
15010
|
+
* @throws {RequiredError}
|
|
15011
|
+
*/
|
|
15012
|
+
friendControllerRemoveMutualFriend(id: string, options?: RawAxiosRequestConfig): AxiosPromise<MutualFriendDTO> {
|
|
15013
|
+
return localVarFp.friendControllerRemoveMutualFriend(id, options).then((request) => request(axios, basePath));
|
|
15014
|
+
},
|
|
14763
15015
|
/**
|
|
14764
15016
|
*
|
|
14765
15017
|
* @param {SendFriendshipRequestPayload} sendFriendshipRequestPayload
|
|
@@ -14798,6 +15050,17 @@ export class FriendsApi extends BaseAPI {
|
|
|
14798
15050
|
return FriendsApiFp(this.configuration).friendControllerApproveFriendRequest(approveFriendshipRequestPayload, options).then((request) => request(this.axios, this.basePath));
|
|
14799
15051
|
}
|
|
14800
15052
|
|
|
15053
|
+
/**
|
|
15054
|
+
*
|
|
15055
|
+
* @param {MutualFriendPayload} mutualFriendPayload
|
|
15056
|
+
* @param {*} [options] Override http request option.
|
|
15057
|
+
* @throws {RequiredError}
|
|
15058
|
+
* @memberof FriendsApi
|
|
15059
|
+
*/
|
|
15060
|
+
public friendControllerCreateMutualFriend(mutualFriendPayload: MutualFriendPayload, options?: RawAxiosRequestConfig) {
|
|
15061
|
+
return FriendsApiFp(this.configuration).friendControllerCreateMutualFriend(mutualFriendPayload, options).then((request) => request(this.axios, this.basePath));
|
|
15062
|
+
}
|
|
15063
|
+
|
|
14801
15064
|
/**
|
|
14802
15065
|
*
|
|
14803
15066
|
* @param {DeclineFriendshipRequestPayload} declineFriendshipRequestPayload
|
|
@@ -14822,6 +15085,19 @@ export class FriendsApi extends BaseAPI {
|
|
|
14822
15085
|
return FriendsApiFp(this.configuration).friendControllerFindFriends(page, pageSize, query, options).then((request) => request(this.axios, this.basePath));
|
|
14823
15086
|
}
|
|
14824
15087
|
|
|
15088
|
+
/**
|
|
15089
|
+
*
|
|
15090
|
+
* @param {number} page
|
|
15091
|
+
* @param {number} pageSize
|
|
15092
|
+
* @param {string} [query]
|
|
15093
|
+
* @param {*} [options] Override http request option.
|
|
15094
|
+
* @throws {RequiredError}
|
|
15095
|
+
* @memberof FriendsApi
|
|
15096
|
+
*/
|
|
15097
|
+
public friendControllerFindMutualFriends(page: number, pageSize: number, query?: string, options?: RawAxiosRequestConfig) {
|
|
15098
|
+
return FriendsApiFp(this.configuration).friendControllerFindMutualFriends(page, pageSize, query, options).then((request) => request(this.axios, this.basePath));
|
|
15099
|
+
}
|
|
15100
|
+
|
|
14825
15101
|
/**
|
|
14826
15102
|
*
|
|
14827
15103
|
* @param {FriendshipStatusCheck} friendshipStatusCheck
|
|
@@ -14835,17 +15111,13 @@ export class FriendsApi extends BaseAPI {
|
|
|
14835
15111
|
|
|
14836
15112
|
/**
|
|
14837
15113
|
*
|
|
14838
|
-
* @param {
|
|
14839
|
-
* @param {number} pageSize
|
|
14840
|
-
* @param {string} [search]
|
|
14841
|
-
* @param {string} [calendar]
|
|
14842
|
-
* @param {string} [user]
|
|
15114
|
+
* @param {FindMyFriendRequestPayload} findMyFriendRequestPayload
|
|
14843
15115
|
* @param {*} [options] Override http request option.
|
|
14844
15116
|
* @throws {RequiredError}
|
|
14845
15117
|
* @memberof FriendsApi
|
|
14846
15118
|
*/
|
|
14847
|
-
public friendControllerListMyFriends(
|
|
14848
|
-
return FriendsApiFp(this.configuration).friendControllerListMyFriends(
|
|
15119
|
+
public friendControllerListMyFriends(findMyFriendRequestPayload: FindMyFriendRequestPayload, options?: RawAxiosRequestConfig) {
|
|
15120
|
+
return FriendsApiFp(this.configuration).friendControllerListMyFriends(findMyFriendRequestPayload, options).then((request) => request(this.axios, this.basePath));
|
|
14849
15121
|
}
|
|
14850
15122
|
|
|
14851
15123
|
/**
|
|
@@ -14859,6 +15131,17 @@ export class FriendsApi extends BaseAPI {
|
|
|
14859
15131
|
return FriendsApiFp(this.configuration).friendControllerRemoveFriendById(removeFriendshipRequestPayload, options).then((request) => request(this.axios, this.basePath));
|
|
14860
15132
|
}
|
|
14861
15133
|
|
|
15134
|
+
/**
|
|
15135
|
+
*
|
|
15136
|
+
* @param {string} id
|
|
15137
|
+
* @param {*} [options] Override http request option.
|
|
15138
|
+
* @throws {RequiredError}
|
|
15139
|
+
* @memberof FriendsApi
|
|
15140
|
+
*/
|
|
15141
|
+
public friendControllerRemoveMutualFriend(id: string, options?: RawAxiosRequestConfig) {
|
|
15142
|
+
return FriendsApiFp(this.configuration).friendControllerRemoveMutualFriend(id, options).then((request) => request(this.axios, this.basePath));
|
|
15143
|
+
}
|
|
15144
|
+
|
|
14862
15145
|
/**
|
|
14863
15146
|
*
|
|
14864
15147
|
* @param {SendFriendshipRequestPayload} sendFriendshipRequestPayload
|