@gooday_corp/gooday-api-client 1.3.15 → 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 +509 -410
- package/package.json +1 -1
package/api.ts
CHANGED
|
@@ -23,6 +23,50 @@ import type { RequestArgs } from './base';
|
|
|
23
23
|
// @ts-ignore
|
|
24
24
|
import { BASE_PATH, COLLECTION_FORMATS, BaseAPI, RequiredError, operationServerMap } from './base';
|
|
25
25
|
|
|
26
|
+
/**
|
|
27
|
+
*
|
|
28
|
+
* @export
|
|
29
|
+
* @interface AISuggestionEntity
|
|
30
|
+
*/
|
|
31
|
+
export interface AISuggestionEntity {
|
|
32
|
+
/**
|
|
33
|
+
* Unique identifier for the assistant
|
|
34
|
+
* @type {string}
|
|
35
|
+
* @memberof AISuggestionEntity
|
|
36
|
+
*/
|
|
37
|
+
'_id': string;
|
|
38
|
+
/**
|
|
39
|
+
*
|
|
40
|
+
* @type {string}
|
|
41
|
+
* @memberof AISuggestionEntity
|
|
42
|
+
*/
|
|
43
|
+
'description': string;
|
|
44
|
+
/**
|
|
45
|
+
*
|
|
46
|
+
* @type {UserEntity}
|
|
47
|
+
* @memberof AISuggestionEntity
|
|
48
|
+
*/
|
|
49
|
+
'userId': UserEntity;
|
|
50
|
+
}
|
|
51
|
+
/**
|
|
52
|
+
*
|
|
53
|
+
* @export
|
|
54
|
+
* @interface AISuggestionListResponse
|
|
55
|
+
*/
|
|
56
|
+
export interface AISuggestionListResponse {
|
|
57
|
+
/**
|
|
58
|
+
* statusCode
|
|
59
|
+
* @type {number}
|
|
60
|
+
* @memberof AISuggestionListResponse
|
|
61
|
+
*/
|
|
62
|
+
'statusCode': number;
|
|
63
|
+
/**
|
|
64
|
+
* AISuggestion
|
|
65
|
+
* @type {Array<AISuggestionEntity>}
|
|
66
|
+
* @memberof AISuggestionListResponse
|
|
67
|
+
*/
|
|
68
|
+
'data': Array<AISuggestionEntity>;
|
|
69
|
+
}
|
|
26
70
|
/**
|
|
27
71
|
*
|
|
28
72
|
* @export
|
|
@@ -424,30 +468,6 @@ export interface BlockoutEntity {
|
|
|
424
468
|
* @memberof BlockoutEntity
|
|
425
469
|
*/
|
|
426
470
|
'pattern'?: string;
|
|
427
|
-
/**
|
|
428
|
-
*
|
|
429
|
-
* @type {string}
|
|
430
|
-
* @memberof BlockoutEntity
|
|
431
|
-
*/
|
|
432
|
-
'byDay'?: string;
|
|
433
|
-
/**
|
|
434
|
-
*
|
|
435
|
-
* @type {string}
|
|
436
|
-
* @memberof BlockoutEntity
|
|
437
|
-
*/
|
|
438
|
-
'byMonthDay'?: string;
|
|
439
|
-
/**
|
|
440
|
-
*
|
|
441
|
-
* @type {string}
|
|
442
|
-
* @memberof BlockoutEntity
|
|
443
|
-
*/
|
|
444
|
-
'byMonth'?: string;
|
|
445
|
-
/**
|
|
446
|
-
*
|
|
447
|
-
* @type {string}
|
|
448
|
-
* @memberof BlockoutEntity
|
|
449
|
-
*/
|
|
450
|
-
'repeatBy'?: string;
|
|
451
471
|
/**
|
|
452
472
|
* Event id
|
|
453
473
|
* @type {string}
|
|
@@ -520,30 +540,6 @@ export interface BlockoutPayloadDTO {
|
|
|
520
540
|
* @memberof BlockoutPayloadDTO
|
|
521
541
|
*/
|
|
522
542
|
'repeat': BlockoutPayloadDTORepeatEnum;
|
|
523
|
-
/**
|
|
524
|
-
*
|
|
525
|
-
* @type {string}
|
|
526
|
-
* @memberof BlockoutPayloadDTO
|
|
527
|
-
*/
|
|
528
|
-
'byDay'?: string;
|
|
529
|
-
/**
|
|
530
|
-
*
|
|
531
|
-
* @type {string}
|
|
532
|
-
* @memberof BlockoutPayloadDTO
|
|
533
|
-
*/
|
|
534
|
-
'byMonthDay'?: string;
|
|
535
|
-
/**
|
|
536
|
-
*
|
|
537
|
-
* @type {string}
|
|
538
|
-
* @memberof BlockoutPayloadDTO
|
|
539
|
-
*/
|
|
540
|
-
'byMonth'?: string;
|
|
541
|
-
/**
|
|
542
|
-
*
|
|
543
|
-
* @type {string}
|
|
544
|
-
* @memberof BlockoutPayloadDTO
|
|
545
|
-
*/
|
|
546
|
-
'repeatBy'?: string;
|
|
547
543
|
/**
|
|
548
544
|
* Name of block
|
|
549
545
|
* @type {string}
|
|
@@ -3117,30 +3113,6 @@ export interface CreateEventPayloadDTO {
|
|
|
3117
3113
|
* @memberof CreateEventPayloadDTO
|
|
3118
3114
|
*/
|
|
3119
3115
|
'repeat': CreateEventPayloadDTORepeatEnum;
|
|
3120
|
-
/**
|
|
3121
|
-
*
|
|
3122
|
-
* @type {string}
|
|
3123
|
-
* @memberof CreateEventPayloadDTO
|
|
3124
|
-
*/
|
|
3125
|
-
'byDay'?: string;
|
|
3126
|
-
/**
|
|
3127
|
-
*
|
|
3128
|
-
* @type {string}
|
|
3129
|
-
* @memberof CreateEventPayloadDTO
|
|
3130
|
-
*/
|
|
3131
|
-
'byMonthDay'?: string;
|
|
3132
|
-
/**
|
|
3133
|
-
*
|
|
3134
|
-
* @type {string}
|
|
3135
|
-
* @memberof CreateEventPayloadDTO
|
|
3136
|
-
*/
|
|
3137
|
-
'byMonth'?: string;
|
|
3138
|
-
/**
|
|
3139
|
-
*
|
|
3140
|
-
* @type {string}
|
|
3141
|
-
* @memberof CreateEventPayloadDTO
|
|
3142
|
-
*/
|
|
3143
|
-
'repeatBy'?: string;
|
|
3144
3116
|
/**
|
|
3145
3117
|
* The unique identifier of the customer
|
|
3146
3118
|
* @type {string}
|
|
@@ -4032,68 +4004,59 @@ export interface FindHistoryResponseDTO {
|
|
|
4032
4004
|
/**
|
|
4033
4005
|
*
|
|
4034
4006
|
* @export
|
|
4035
|
-
* @interface
|
|
4007
|
+
* @interface FindMyFriendRequestPayload
|
|
4036
4008
|
*/
|
|
4037
|
-
export interface
|
|
4009
|
+
export interface FindMyFriendRequestPayload {
|
|
4038
4010
|
/**
|
|
4039
|
-
*
|
|
4040
|
-
* @type {
|
|
4041
|
-
* @memberof
|
|
4011
|
+
*
|
|
4012
|
+
* @type {string}
|
|
4013
|
+
* @memberof FindMyFriendRequestPayload
|
|
4042
4014
|
*/
|
|
4043
|
-
'
|
|
4015
|
+
'search'?: string;
|
|
4044
4016
|
/**
|
|
4045
|
-
*
|
|
4046
|
-
* @type {
|
|
4047
|
-
* @memberof
|
|
4017
|
+
*
|
|
4018
|
+
* @type {number}
|
|
4019
|
+
* @memberof FindMyFriendRequestPayload
|
|
4048
4020
|
*/
|
|
4049
|
-
'
|
|
4050
|
-
}
|
|
4051
|
-
/**
|
|
4052
|
-
*
|
|
4053
|
-
* @export
|
|
4054
|
-
* @interface FindWhatsOnAndPrepaidService
|
|
4055
|
-
*/
|
|
4056
|
-
export interface FindWhatsOnAndPrepaidService {
|
|
4021
|
+
'page': number;
|
|
4057
4022
|
/**
|
|
4058
|
-
*
|
|
4059
|
-
* @type {
|
|
4060
|
-
* @memberof
|
|
4023
|
+
*
|
|
4024
|
+
* @type {number}
|
|
4025
|
+
* @memberof FindMyFriendRequestPayload
|
|
4061
4026
|
*/
|
|
4062
|
-
'
|
|
4027
|
+
'pageSize': number;
|
|
4063
4028
|
/**
|
|
4064
|
-
*
|
|
4029
|
+
*
|
|
4065
4030
|
* @type {string}
|
|
4066
|
-
* @memberof
|
|
4031
|
+
* @memberof FindMyFriendRequestPayload
|
|
4067
4032
|
*/
|
|
4068
|
-
'
|
|
4033
|
+
'calendar'?: string;
|
|
4069
4034
|
/**
|
|
4070
|
-
*
|
|
4035
|
+
*
|
|
4071
4036
|
* @type {string}
|
|
4072
|
-
* @memberof
|
|
4037
|
+
* @memberof FindMyFriendRequestPayload
|
|
4073
4038
|
*/
|
|
4074
|
-
'
|
|
4039
|
+
'user'?: string;
|
|
4040
|
+
}
|
|
4041
|
+
/**
|
|
4042
|
+
*
|
|
4043
|
+
* @export
|
|
4044
|
+
* @interface FindWaitlistResponseDTO
|
|
4045
|
+
*/
|
|
4046
|
+
export interface FindWaitlistResponseDTO {
|
|
4075
4047
|
/**
|
|
4076
|
-
*
|
|
4048
|
+
* statusCode
|
|
4077
4049
|
* @type {number}
|
|
4078
|
-
* @memberof
|
|
4050
|
+
* @memberof FindWaitlistResponseDTO
|
|
4079
4051
|
*/
|
|
4080
|
-
'
|
|
4052
|
+
'statusCode': number;
|
|
4081
4053
|
/**
|
|
4082
|
-
*
|
|
4083
|
-
* @type {
|
|
4084
|
-
* @memberof
|
|
4054
|
+
* Waitlist response
|
|
4055
|
+
* @type {Array<WaitlistEntity>}
|
|
4056
|
+
* @memberof FindWaitlistResponseDTO
|
|
4085
4057
|
*/
|
|
4086
|
-
'
|
|
4058
|
+
'data': Array<WaitlistEntity>;
|
|
4087
4059
|
}
|
|
4088
|
-
|
|
4089
|
-
export const FindWhatsOnAndPrepaidServiceViewEnum = {
|
|
4090
|
-
Daily: 'daily',
|
|
4091
|
-
Weekly: 'weekly',
|
|
4092
|
-
Monthly: 'monthly'
|
|
4093
|
-
} as const;
|
|
4094
|
-
|
|
4095
|
-
export type FindWhatsOnAndPrepaidServiceViewEnum = typeof FindWhatsOnAndPrepaidServiceViewEnum[keyof typeof FindWhatsOnAndPrepaidServiceViewEnum];
|
|
4096
|
-
|
|
4097
4060
|
/**
|
|
4098
4061
|
*
|
|
4099
4062
|
* @export
|
|
@@ -4855,6 +4818,57 @@ export interface MicrosoftCalendarAccessDTO {
|
|
|
4855
4818
|
*/
|
|
4856
4819
|
'refreshToken': string;
|
|
4857
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
|
+
}
|
|
4858
4872
|
/**
|
|
4859
4873
|
*
|
|
4860
4874
|
* @export
|
|
@@ -5084,7 +5098,6 @@ export const NotificationEntityTypeEnum = {
|
|
|
5084
5098
|
CalendarDetailsUpdate: 'CALENDAR_DETAILS_UPDATE',
|
|
5085
5099
|
CalendarRemove: 'CALENDAR_REMOVE',
|
|
5086
5100
|
BookingRescheduled: 'BOOKING_RESCHEDULED',
|
|
5087
|
-
BookingRescheduledBusiness: 'BOOKING_RESCHEDULED_BUSINESS',
|
|
5088
5101
|
EventRescheduled: 'EVENT_RESCHEDULED',
|
|
5089
5102
|
DailyBriefing: 'DAILY_BRIEFING',
|
|
5090
5103
|
Reminders: 'REMINDERS'
|
|
@@ -5491,30 +5504,6 @@ export interface PrepaidServiceEntity {
|
|
|
5491
5504
|
* @memberof PrepaidServiceEntity
|
|
5492
5505
|
*/
|
|
5493
5506
|
'pattern'?: string;
|
|
5494
|
-
/**
|
|
5495
|
-
*
|
|
5496
|
-
* @type {string}
|
|
5497
|
-
* @memberof PrepaidServiceEntity
|
|
5498
|
-
*/
|
|
5499
|
-
'byDay'?: string;
|
|
5500
|
-
/**
|
|
5501
|
-
*
|
|
5502
|
-
* @type {string}
|
|
5503
|
-
* @memberof PrepaidServiceEntity
|
|
5504
|
-
*/
|
|
5505
|
-
'byMonthDay'?: string;
|
|
5506
|
-
/**
|
|
5507
|
-
*
|
|
5508
|
-
* @type {string}
|
|
5509
|
-
* @memberof PrepaidServiceEntity
|
|
5510
|
-
*/
|
|
5511
|
-
'byMonth'?: string;
|
|
5512
|
-
/**
|
|
5513
|
-
*
|
|
5514
|
-
* @type {string}
|
|
5515
|
-
* @memberof PrepaidServiceEntity
|
|
5516
|
-
*/
|
|
5517
|
-
'repeatBy'?: string;
|
|
5518
5507
|
/**
|
|
5519
5508
|
* Tag id
|
|
5520
5509
|
* @type {string}
|
|
@@ -5714,30 +5703,6 @@ export interface PrepaidServicePayloadDTO {
|
|
|
5714
5703
|
* @memberof PrepaidServicePayloadDTO
|
|
5715
5704
|
*/
|
|
5716
5705
|
'repeat': PrepaidServicePayloadDTORepeatEnum;
|
|
5717
|
-
/**
|
|
5718
|
-
*
|
|
5719
|
-
* @type {string}
|
|
5720
|
-
* @memberof PrepaidServicePayloadDTO
|
|
5721
|
-
*/
|
|
5722
|
-
'byDay'?: string;
|
|
5723
|
-
/**
|
|
5724
|
-
*
|
|
5725
|
-
* @type {string}
|
|
5726
|
-
* @memberof PrepaidServicePayloadDTO
|
|
5727
|
-
*/
|
|
5728
|
-
'byMonthDay'?: string;
|
|
5729
|
-
/**
|
|
5730
|
-
*
|
|
5731
|
-
* @type {string}
|
|
5732
|
-
* @memberof PrepaidServicePayloadDTO
|
|
5733
|
-
*/
|
|
5734
|
-
'byMonth'?: string;
|
|
5735
|
-
/**
|
|
5736
|
-
*
|
|
5737
|
-
* @type {string}
|
|
5738
|
-
* @memberof PrepaidServicePayloadDTO
|
|
5739
|
-
*/
|
|
5740
|
-
'repeatBy'?: string;
|
|
5741
5706
|
/**
|
|
5742
5707
|
* Service name
|
|
5743
5708
|
* @type {string}
|
|
@@ -7836,30 +7801,6 @@ export interface WhatsOnEntity {
|
|
|
7836
7801
|
* @memberof WhatsOnEntity
|
|
7837
7802
|
*/
|
|
7838
7803
|
'pattern'?: string;
|
|
7839
|
-
/**
|
|
7840
|
-
*
|
|
7841
|
-
* @type {string}
|
|
7842
|
-
* @memberof WhatsOnEntity
|
|
7843
|
-
*/
|
|
7844
|
-
'byDay'?: string;
|
|
7845
|
-
/**
|
|
7846
|
-
*
|
|
7847
|
-
* @type {string}
|
|
7848
|
-
* @memberof WhatsOnEntity
|
|
7849
|
-
*/
|
|
7850
|
-
'byMonthDay'?: string;
|
|
7851
|
-
/**
|
|
7852
|
-
*
|
|
7853
|
-
* @type {string}
|
|
7854
|
-
* @memberof WhatsOnEntity
|
|
7855
|
-
*/
|
|
7856
|
-
'byMonth'?: string;
|
|
7857
|
-
/**
|
|
7858
|
-
*
|
|
7859
|
-
* @type {string}
|
|
7860
|
-
* @memberof WhatsOnEntity
|
|
7861
|
-
*/
|
|
7862
|
-
'repeatBy'?: string;
|
|
7863
7804
|
/**
|
|
7864
7805
|
* Event id
|
|
7865
7806
|
* @type {string}
|
|
@@ -8213,41 +8154,17 @@ export interface WhatsOnPayloadDTO {
|
|
|
8213
8154
|
*/
|
|
8214
8155
|
'repeat': WhatsOnPayloadDTORepeatEnum;
|
|
8215
8156
|
/**
|
|
8216
|
-
*
|
|
8157
|
+
* Event name
|
|
8217
8158
|
* @type {string}
|
|
8218
8159
|
* @memberof WhatsOnPayloadDTO
|
|
8219
8160
|
*/
|
|
8220
|
-
'
|
|
8161
|
+
'title': string;
|
|
8221
8162
|
/**
|
|
8222
8163
|
*
|
|
8223
|
-
* @type {string}
|
|
8164
|
+
* @type {Array<string>}
|
|
8224
8165
|
* @memberof WhatsOnPayloadDTO
|
|
8225
8166
|
*/
|
|
8226
|
-
'
|
|
8227
|
-
/**
|
|
8228
|
-
*
|
|
8229
|
-
* @type {string}
|
|
8230
|
-
* @memberof WhatsOnPayloadDTO
|
|
8231
|
-
*/
|
|
8232
|
-
'byMonth'?: string;
|
|
8233
|
-
/**
|
|
8234
|
-
*
|
|
8235
|
-
* @type {string}
|
|
8236
|
-
* @memberof WhatsOnPayloadDTO
|
|
8237
|
-
*/
|
|
8238
|
-
'repeatBy'?: string;
|
|
8239
|
-
/**
|
|
8240
|
-
* Event name
|
|
8241
|
-
* @type {string}
|
|
8242
|
-
* @memberof WhatsOnPayloadDTO
|
|
8243
|
-
*/
|
|
8244
|
-
'title': string;
|
|
8245
|
-
/**
|
|
8246
|
-
*
|
|
8247
|
-
* @type {Array<string>}
|
|
8248
|
-
* @memberof WhatsOnPayloadDTO
|
|
8249
|
-
*/
|
|
8250
|
-
'photos': Array<string>;
|
|
8167
|
+
'photos': Array<string>;
|
|
8251
8168
|
/**
|
|
8252
8169
|
*
|
|
8253
8170
|
* @type {number}
|
|
@@ -8420,6 +8337,39 @@ export interface WhatsOnUnFavoriteResponse {
|
|
|
8420
8337
|
*/
|
|
8421
8338
|
export const AIApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
8422
8339
|
return {
|
|
8340
|
+
/**
|
|
8341
|
+
*
|
|
8342
|
+
* @param {*} [options] Override http request option.
|
|
8343
|
+
* @throws {RequiredError}
|
|
8344
|
+
*/
|
|
8345
|
+
assistantControllerAiSuggestionList: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
8346
|
+
const localVarPath = `/v1/ai/suggestion/list`;
|
|
8347
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
8348
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
8349
|
+
let baseOptions;
|
|
8350
|
+
if (configuration) {
|
|
8351
|
+
baseOptions = configuration.baseOptions;
|
|
8352
|
+
}
|
|
8353
|
+
|
|
8354
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
8355
|
+
const localVarHeaderParameter = {} as any;
|
|
8356
|
+
const localVarQueryParameter = {} as any;
|
|
8357
|
+
|
|
8358
|
+
// authentication bearer required
|
|
8359
|
+
// http bearer authentication required
|
|
8360
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
8361
|
+
|
|
8362
|
+
|
|
8363
|
+
|
|
8364
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
8365
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
8366
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
8367
|
+
|
|
8368
|
+
return {
|
|
8369
|
+
url: toPathString(localVarUrlObj),
|
|
8370
|
+
options: localVarRequestOptions,
|
|
8371
|
+
};
|
|
8372
|
+
},
|
|
8423
8373
|
/**
|
|
8424
8374
|
*
|
|
8425
8375
|
* @param {*} [options] Override http request option.
|
|
@@ -8492,6 +8442,17 @@ export const AIApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
|
8492
8442
|
export const AIApiFp = function(configuration?: Configuration) {
|
|
8493
8443
|
const localVarAxiosParamCreator = AIApiAxiosParamCreator(configuration)
|
|
8494
8444
|
return {
|
|
8445
|
+
/**
|
|
8446
|
+
*
|
|
8447
|
+
* @param {*} [options] Override http request option.
|
|
8448
|
+
* @throws {RequiredError}
|
|
8449
|
+
*/
|
|
8450
|
+
async assistantControllerAiSuggestionList(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AISuggestionListResponse>> {
|
|
8451
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.assistantControllerAiSuggestionList(options);
|
|
8452
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
8453
|
+
const localVarOperationServerBasePath = operationServerMap['AIApi.assistantControllerAiSuggestionList']?.[localVarOperationServerIndex]?.url;
|
|
8454
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
8455
|
+
},
|
|
8495
8456
|
/**
|
|
8496
8457
|
*
|
|
8497
8458
|
* @param {*} [options] Override http request option.
|
|
@@ -8524,6 +8485,14 @@ export const AIApiFp = function(configuration?: Configuration) {
|
|
|
8524
8485
|
export const AIApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
8525
8486
|
const localVarFp = AIApiFp(configuration)
|
|
8526
8487
|
return {
|
|
8488
|
+
/**
|
|
8489
|
+
*
|
|
8490
|
+
* @param {*} [options] Override http request option.
|
|
8491
|
+
* @throws {RequiredError}
|
|
8492
|
+
*/
|
|
8493
|
+
assistantControllerAiSuggestionList(options?: RawAxiosRequestConfig): AxiosPromise<AISuggestionListResponse> {
|
|
8494
|
+
return localVarFp.assistantControllerAiSuggestionList(options).then((request) => request(axios, basePath));
|
|
8495
|
+
},
|
|
8527
8496
|
/**
|
|
8528
8497
|
*
|
|
8529
8498
|
* @param {*} [options] Override http request option.
|
|
@@ -8550,6 +8519,16 @@ export const AIApiFactory = function (configuration?: Configuration, basePath?:
|
|
|
8550
8519
|
* @extends {BaseAPI}
|
|
8551
8520
|
*/
|
|
8552
8521
|
export class AIApi extends BaseAPI {
|
|
8522
|
+
/**
|
|
8523
|
+
*
|
|
8524
|
+
* @param {*} [options] Override http request option.
|
|
8525
|
+
* @throws {RequiredError}
|
|
8526
|
+
* @memberof AIApi
|
|
8527
|
+
*/
|
|
8528
|
+
public assistantControllerAiSuggestionList(options?: RawAxiosRequestConfig) {
|
|
8529
|
+
return AIApiFp(this.configuration).assistantControllerAiSuggestionList(options).then((request) => request(this.axios, this.basePath));
|
|
8530
|
+
}
|
|
8531
|
+
|
|
8553
8532
|
/**
|
|
8554
8533
|
*
|
|
8555
8534
|
* @param {*} [options] Override http request option.
|
|
@@ -8760,6 +8739,41 @@ export class AppApi extends BaseAPI {
|
|
|
8760
8739
|
*/
|
|
8761
8740
|
export const AuthApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
8762
8741
|
return {
|
|
8742
|
+
/**
|
|
8743
|
+
*
|
|
8744
|
+
* @param {ForgotPasswordPayloadDTO} forgotPasswordPayloadDTO
|
|
8745
|
+
* @param {*} [options] Override http request option.
|
|
8746
|
+
* @throws {RequiredError}
|
|
8747
|
+
*/
|
|
8748
|
+
authControllerBusinessForgotPassword: async (forgotPasswordPayloadDTO: ForgotPasswordPayloadDTO, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
8749
|
+
// verify required parameter 'forgotPasswordPayloadDTO' is not null or undefined
|
|
8750
|
+
assertParamExists('authControllerBusinessForgotPassword', 'forgotPasswordPayloadDTO', forgotPasswordPayloadDTO)
|
|
8751
|
+
const localVarPath = `/v1/auth/business-forgot-password`;
|
|
8752
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
8753
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
8754
|
+
let baseOptions;
|
|
8755
|
+
if (configuration) {
|
|
8756
|
+
baseOptions = configuration.baseOptions;
|
|
8757
|
+
}
|
|
8758
|
+
|
|
8759
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
8760
|
+
const localVarHeaderParameter = {} as any;
|
|
8761
|
+
const localVarQueryParameter = {} as any;
|
|
8762
|
+
|
|
8763
|
+
|
|
8764
|
+
|
|
8765
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
8766
|
+
|
|
8767
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
8768
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
8769
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
8770
|
+
localVarRequestOptions.data = serializeDataIfNeeded(forgotPasswordPayloadDTO, localVarRequestOptions, configuration)
|
|
8771
|
+
|
|
8772
|
+
return {
|
|
8773
|
+
url: toPathString(localVarUrlObj),
|
|
8774
|
+
options: localVarRequestOptions,
|
|
8775
|
+
};
|
|
8776
|
+
},
|
|
8763
8777
|
/**
|
|
8764
8778
|
*
|
|
8765
8779
|
* @param {SignupDto} signupDto
|
|
@@ -9093,6 +9107,18 @@ export const AuthApiAxiosParamCreator = function (configuration?: Configuration)
|
|
|
9093
9107
|
export const AuthApiFp = function(configuration?: Configuration) {
|
|
9094
9108
|
const localVarAxiosParamCreator = AuthApiAxiosParamCreator(configuration)
|
|
9095
9109
|
return {
|
|
9110
|
+
/**
|
|
9111
|
+
*
|
|
9112
|
+
* @param {ForgotPasswordPayloadDTO} forgotPasswordPayloadDTO
|
|
9113
|
+
* @param {*} [options] Override http request option.
|
|
9114
|
+
* @throws {RequiredError}
|
|
9115
|
+
*/
|
|
9116
|
+
async authControllerBusinessForgotPassword(forgotPasswordPayloadDTO: ForgotPasswordPayloadDTO, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ForgotPasswordResponseDTO>> {
|
|
9117
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.authControllerBusinessForgotPassword(forgotPasswordPayloadDTO, options);
|
|
9118
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
9119
|
+
const localVarOperationServerBasePath = operationServerMap['AuthApi.authControllerBusinessForgotPassword']?.[localVarOperationServerIndex]?.url;
|
|
9120
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
9121
|
+
},
|
|
9096
9122
|
/**
|
|
9097
9123
|
*
|
|
9098
9124
|
* @param {SignupDto} signupDto
|
|
@@ -9211,6 +9237,15 @@ export const AuthApiFp = function(configuration?: Configuration) {
|
|
|
9211
9237
|
export const AuthApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
9212
9238
|
const localVarFp = AuthApiFp(configuration)
|
|
9213
9239
|
return {
|
|
9240
|
+
/**
|
|
9241
|
+
*
|
|
9242
|
+
* @param {ForgotPasswordPayloadDTO} forgotPasswordPayloadDTO
|
|
9243
|
+
* @param {*} [options] Override http request option.
|
|
9244
|
+
* @throws {RequiredError}
|
|
9245
|
+
*/
|
|
9246
|
+
authControllerBusinessForgotPassword(forgotPasswordPayloadDTO: ForgotPasswordPayloadDTO, options?: RawAxiosRequestConfig): AxiosPromise<ForgotPasswordResponseDTO> {
|
|
9247
|
+
return localVarFp.authControllerBusinessForgotPassword(forgotPasswordPayloadDTO, options).then((request) => request(axios, basePath));
|
|
9248
|
+
},
|
|
9214
9249
|
/**
|
|
9215
9250
|
*
|
|
9216
9251
|
* @param {SignupDto} signupDto
|
|
@@ -9302,6 +9337,17 @@ export const AuthApiFactory = function (configuration?: Configuration, basePath?
|
|
|
9302
9337
|
* @extends {BaseAPI}
|
|
9303
9338
|
*/
|
|
9304
9339
|
export class AuthApi extends BaseAPI {
|
|
9340
|
+
/**
|
|
9341
|
+
*
|
|
9342
|
+
* @param {ForgotPasswordPayloadDTO} forgotPasswordPayloadDTO
|
|
9343
|
+
* @param {*} [options] Override http request option.
|
|
9344
|
+
* @throws {RequiredError}
|
|
9345
|
+
* @memberof AuthApi
|
|
9346
|
+
*/
|
|
9347
|
+
public authControllerBusinessForgotPassword(forgotPasswordPayloadDTO: ForgotPasswordPayloadDTO, options?: RawAxiosRequestConfig) {
|
|
9348
|
+
return AuthApiFp(this.configuration).authControllerBusinessForgotPassword(forgotPasswordPayloadDTO, options).then((request) => request(this.axios, this.basePath));
|
|
9349
|
+
}
|
|
9350
|
+
|
|
9305
9351
|
/**
|
|
9306
9352
|
*
|
|
9307
9353
|
* @param {SignupDto} signupDto
|
|
@@ -10136,84 +10182,6 @@ export const BookingApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
10136
10182
|
options: localVarRequestOptions,
|
|
10137
10183
|
};
|
|
10138
10184
|
},
|
|
10139
|
-
/**
|
|
10140
|
-
*
|
|
10141
|
-
* @param {FindWhatsOnAndPrepaidService} findWhatsOnAndPrepaidService
|
|
10142
|
-
* @param {*} [options] Override http request option.
|
|
10143
|
-
* @throws {RequiredError}
|
|
10144
|
-
*/
|
|
10145
|
-
bookingControllerListPrepaidServiceBooking: async (findWhatsOnAndPrepaidService: FindWhatsOnAndPrepaidService, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
10146
|
-
// verify required parameter 'findWhatsOnAndPrepaidService' is not null or undefined
|
|
10147
|
-
assertParamExists('bookingControllerListPrepaidServiceBooking', 'findWhatsOnAndPrepaidService', findWhatsOnAndPrepaidService)
|
|
10148
|
-
const localVarPath = `/v1/booking/prepaid-service/list`;
|
|
10149
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
10150
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
10151
|
-
let baseOptions;
|
|
10152
|
-
if (configuration) {
|
|
10153
|
-
baseOptions = configuration.baseOptions;
|
|
10154
|
-
}
|
|
10155
|
-
|
|
10156
|
-
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
10157
|
-
const localVarHeaderParameter = {} as any;
|
|
10158
|
-
const localVarQueryParameter = {} as any;
|
|
10159
|
-
|
|
10160
|
-
// authentication bearer required
|
|
10161
|
-
// http bearer authentication required
|
|
10162
|
-
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
10163
|
-
|
|
10164
|
-
|
|
10165
|
-
|
|
10166
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
10167
|
-
|
|
10168
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
10169
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
10170
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
10171
|
-
localVarRequestOptions.data = serializeDataIfNeeded(findWhatsOnAndPrepaidService, localVarRequestOptions, configuration)
|
|
10172
|
-
|
|
10173
|
-
return {
|
|
10174
|
-
url: toPathString(localVarUrlObj),
|
|
10175
|
-
options: localVarRequestOptions,
|
|
10176
|
-
};
|
|
10177
|
-
},
|
|
10178
|
-
/**
|
|
10179
|
-
*
|
|
10180
|
-
* @param {FindWhatsOnAndPrepaidService} findWhatsOnAndPrepaidService
|
|
10181
|
-
* @param {*} [options] Override http request option.
|
|
10182
|
-
* @throws {RequiredError}
|
|
10183
|
-
*/
|
|
10184
|
-
bookingControllerListWhatsOnBooking: async (findWhatsOnAndPrepaidService: FindWhatsOnAndPrepaidService, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
10185
|
-
// verify required parameter 'findWhatsOnAndPrepaidService' is not null or undefined
|
|
10186
|
-
assertParamExists('bookingControllerListWhatsOnBooking', 'findWhatsOnAndPrepaidService', findWhatsOnAndPrepaidService)
|
|
10187
|
-
const localVarPath = `/v1/booking/whats-on/list`;
|
|
10188
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
10189
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
10190
|
-
let baseOptions;
|
|
10191
|
-
if (configuration) {
|
|
10192
|
-
baseOptions = configuration.baseOptions;
|
|
10193
|
-
}
|
|
10194
|
-
|
|
10195
|
-
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
10196
|
-
const localVarHeaderParameter = {} as any;
|
|
10197
|
-
const localVarQueryParameter = {} as any;
|
|
10198
|
-
|
|
10199
|
-
// authentication bearer required
|
|
10200
|
-
// http bearer authentication required
|
|
10201
|
-
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
10202
|
-
|
|
10203
|
-
|
|
10204
|
-
|
|
10205
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
10206
|
-
|
|
10207
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
10208
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
10209
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
10210
|
-
localVarRequestOptions.data = serializeDataIfNeeded(findWhatsOnAndPrepaidService, localVarRequestOptions, configuration)
|
|
10211
|
-
|
|
10212
|
-
return {
|
|
10213
|
-
url: toPathString(localVarUrlObj),
|
|
10214
|
-
options: localVarRequestOptions,
|
|
10215
|
-
};
|
|
10216
|
-
},
|
|
10217
10185
|
/**
|
|
10218
10186
|
*
|
|
10219
10187
|
* @param {RegularBookingAvailabilityPayloadDTO} regularBookingAvailabilityPayloadDTO
|
|
@@ -10484,30 +10452,6 @@ export const BookingApiFp = function(configuration?: Configuration) {
|
|
|
10484
10452
|
const localVarOperationServerBasePath = operationServerMap['BookingApi.bookingControllerListCustomerBooking']?.[localVarOperationServerIndex]?.url;
|
|
10485
10453
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
10486
10454
|
},
|
|
10487
|
-
/**
|
|
10488
|
-
*
|
|
10489
|
-
* @param {FindWhatsOnAndPrepaidService} findWhatsOnAndPrepaidService
|
|
10490
|
-
* @param {*} [options] Override http request option.
|
|
10491
|
-
* @throws {RequiredError}
|
|
10492
|
-
*/
|
|
10493
|
-
async bookingControllerListPrepaidServiceBooking(findWhatsOnAndPrepaidService: FindWhatsOnAndPrepaidService, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<FindBookingResponseDTO>> {
|
|
10494
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.bookingControllerListPrepaidServiceBooking(findWhatsOnAndPrepaidService, options);
|
|
10495
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
10496
|
-
const localVarOperationServerBasePath = operationServerMap['BookingApi.bookingControllerListPrepaidServiceBooking']?.[localVarOperationServerIndex]?.url;
|
|
10497
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
10498
|
-
},
|
|
10499
|
-
/**
|
|
10500
|
-
*
|
|
10501
|
-
* @param {FindWhatsOnAndPrepaidService} findWhatsOnAndPrepaidService
|
|
10502
|
-
* @param {*} [options] Override http request option.
|
|
10503
|
-
* @throws {RequiredError}
|
|
10504
|
-
*/
|
|
10505
|
-
async bookingControllerListWhatsOnBooking(findWhatsOnAndPrepaidService: FindWhatsOnAndPrepaidService, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<FindBookingResponseDTO>> {
|
|
10506
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.bookingControllerListWhatsOnBooking(findWhatsOnAndPrepaidService, options);
|
|
10507
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
10508
|
-
const localVarOperationServerBasePath = operationServerMap['BookingApi.bookingControllerListWhatsOnBooking']?.[localVarOperationServerIndex]?.url;
|
|
10509
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
10510
|
-
},
|
|
10511
10455
|
/**
|
|
10512
10456
|
*
|
|
10513
10457
|
* @param {RegularBookingAvailabilityPayloadDTO} regularBookingAvailabilityPayloadDTO
|
|
@@ -10640,24 +10584,6 @@ export const BookingApiFactory = function (configuration?: Configuration, basePa
|
|
|
10640
10584
|
bookingControllerListCustomerBooking(findCustomerBookingPayload: FindCustomerBookingPayload, options?: RawAxiosRequestConfig): AxiosPromise<FindBookingResponseDTO> {
|
|
10641
10585
|
return localVarFp.bookingControllerListCustomerBooking(findCustomerBookingPayload, options).then((request) => request(axios, basePath));
|
|
10642
10586
|
},
|
|
10643
|
-
/**
|
|
10644
|
-
*
|
|
10645
|
-
* @param {FindWhatsOnAndPrepaidService} findWhatsOnAndPrepaidService
|
|
10646
|
-
* @param {*} [options] Override http request option.
|
|
10647
|
-
* @throws {RequiredError}
|
|
10648
|
-
*/
|
|
10649
|
-
bookingControllerListPrepaidServiceBooking(findWhatsOnAndPrepaidService: FindWhatsOnAndPrepaidService, options?: RawAxiosRequestConfig): AxiosPromise<FindBookingResponseDTO> {
|
|
10650
|
-
return localVarFp.bookingControllerListPrepaidServiceBooking(findWhatsOnAndPrepaidService, options).then((request) => request(axios, basePath));
|
|
10651
|
-
},
|
|
10652
|
-
/**
|
|
10653
|
-
*
|
|
10654
|
-
* @param {FindWhatsOnAndPrepaidService} findWhatsOnAndPrepaidService
|
|
10655
|
-
* @param {*} [options] Override http request option.
|
|
10656
|
-
* @throws {RequiredError}
|
|
10657
|
-
*/
|
|
10658
|
-
bookingControllerListWhatsOnBooking(findWhatsOnAndPrepaidService: FindWhatsOnAndPrepaidService, options?: RawAxiosRequestConfig): AxiosPromise<FindBookingResponseDTO> {
|
|
10659
|
-
return localVarFp.bookingControllerListWhatsOnBooking(findWhatsOnAndPrepaidService, options).then((request) => request(axios, basePath));
|
|
10660
|
-
},
|
|
10661
10587
|
/**
|
|
10662
10588
|
*
|
|
10663
10589
|
* @param {RegularBookingAvailabilityPayloadDTO} regularBookingAvailabilityPayloadDTO
|
|
@@ -10794,28 +10720,6 @@ export class BookingApi extends BaseAPI {
|
|
|
10794
10720
|
return BookingApiFp(this.configuration).bookingControllerListCustomerBooking(findCustomerBookingPayload, options).then((request) => request(this.axios, this.basePath));
|
|
10795
10721
|
}
|
|
10796
10722
|
|
|
10797
|
-
/**
|
|
10798
|
-
*
|
|
10799
|
-
* @param {FindWhatsOnAndPrepaidService} findWhatsOnAndPrepaidService
|
|
10800
|
-
* @param {*} [options] Override http request option.
|
|
10801
|
-
* @throws {RequiredError}
|
|
10802
|
-
* @memberof BookingApi
|
|
10803
|
-
*/
|
|
10804
|
-
public bookingControllerListPrepaidServiceBooking(findWhatsOnAndPrepaidService: FindWhatsOnAndPrepaidService, options?: RawAxiosRequestConfig) {
|
|
10805
|
-
return BookingApiFp(this.configuration).bookingControllerListPrepaidServiceBooking(findWhatsOnAndPrepaidService, options).then((request) => request(this.axios, this.basePath));
|
|
10806
|
-
}
|
|
10807
|
-
|
|
10808
|
-
/**
|
|
10809
|
-
*
|
|
10810
|
-
* @param {FindWhatsOnAndPrepaidService} findWhatsOnAndPrepaidService
|
|
10811
|
-
* @param {*} [options] Override http request option.
|
|
10812
|
-
* @throws {RequiredError}
|
|
10813
|
-
* @memberof BookingApi
|
|
10814
|
-
*/
|
|
10815
|
-
public bookingControllerListWhatsOnBooking(findWhatsOnAndPrepaidService: FindWhatsOnAndPrepaidService, options?: RawAxiosRequestConfig) {
|
|
10816
|
-
return BookingApiFp(this.configuration).bookingControllerListWhatsOnBooking(findWhatsOnAndPrepaidService, options).then((request) => request(this.axios, this.basePath));
|
|
10817
|
-
}
|
|
10818
|
-
|
|
10819
10723
|
/**
|
|
10820
10724
|
*
|
|
10821
10725
|
* @param {RegularBookingAvailabilityPayloadDTO} regularBookingAvailabilityPayloadDTO
|
|
@@ -14460,6 +14364,45 @@ export const FriendsApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
14460
14364
|
options: localVarRequestOptions,
|
|
14461
14365
|
};
|
|
14462
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
|
+
},
|
|
14463
14406
|
/**
|
|
14464
14407
|
*
|
|
14465
14408
|
* @param {DeclineFriendshipRequestPayload} declineFriendshipRequestPayload
|
|
@@ -14542,6 +14485,58 @@ export const FriendsApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
14542
14485
|
|
|
14543
14486
|
|
|
14544
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
|
+
|
|
14545
14540
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
14546
14541
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
14547
14542
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -14592,19 +14587,13 @@ export const FriendsApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
14592
14587
|
},
|
|
14593
14588
|
/**
|
|
14594
14589
|
*
|
|
14595
|
-
* @param {
|
|
14596
|
-
* @param {number} pageSize
|
|
14597
|
-
* @param {string} [search]
|
|
14598
|
-
* @param {string} [calendar]
|
|
14599
|
-
* @param {string} [user]
|
|
14590
|
+
* @param {FindMyFriendRequestPayload} findMyFriendRequestPayload
|
|
14600
14591
|
* @param {*} [options] Override http request option.
|
|
14601
14592
|
* @throws {RequiredError}
|
|
14602
14593
|
*/
|
|
14603
|
-
friendControllerListMyFriends: async (
|
|
14604
|
-
// verify required parameter '
|
|
14605
|
-
assertParamExists('friendControllerListMyFriends', '
|
|
14606
|
-
// verify required parameter 'pageSize' is not null or undefined
|
|
14607
|
-
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)
|
|
14608
14597
|
const localVarPath = `/v1/friend/list`;
|
|
14609
14598
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
14610
14599
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -14613,7 +14602,7 @@ export const FriendsApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
14613
14602
|
baseOptions = configuration.baseOptions;
|
|
14614
14603
|
}
|
|
14615
14604
|
|
|
14616
|
-
const localVarRequestOptions = { method: '
|
|
14605
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
14617
14606
|
const localVarHeaderParameter = {} as any;
|
|
14618
14607
|
const localVarQueryParameter = {} as any;
|
|
14619
14608
|
|
|
@@ -14621,31 +14610,14 @@ export const FriendsApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
14621
14610
|
// http bearer authentication required
|
|
14622
14611
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
14623
14612
|
|
|
14624
|
-
if (search !== undefined) {
|
|
14625
|
-
localVarQueryParameter['search'] = search;
|
|
14626
|
-
}
|
|
14627
|
-
|
|
14628
|
-
if (page !== undefined) {
|
|
14629
|
-
localVarQueryParameter['page'] = page;
|
|
14630
|
-
}
|
|
14631
|
-
|
|
14632
|
-
if (pageSize !== undefined) {
|
|
14633
|
-
localVarQueryParameter['pageSize'] = pageSize;
|
|
14634
|
-
}
|
|
14635
|
-
|
|
14636
|
-
if (calendar !== undefined) {
|
|
14637
|
-
localVarQueryParameter['calendar'] = calendar;
|
|
14638
|
-
}
|
|
14639
|
-
|
|
14640
|
-
if (user !== undefined) {
|
|
14641
|
-
localVarQueryParameter['user'] = user;
|
|
14642
|
-
}
|
|
14643
|
-
|
|
14644
14613
|
|
|
14645
14614
|
|
|
14615
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
14616
|
+
|
|
14646
14617
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
14647
14618
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
14648
14619
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
14620
|
+
localVarRequestOptions.data = serializeDataIfNeeded(findMyFriendRequestPayload, localVarRequestOptions, configuration)
|
|
14649
14621
|
|
|
14650
14622
|
return {
|
|
14651
14623
|
url: toPathString(localVarUrlObj),
|
|
@@ -14691,6 +14663,43 @@ export const FriendsApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
14691
14663
|
options: localVarRequestOptions,
|
|
14692
14664
|
};
|
|
14693
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
|
+
},
|
|
14694
14703
|
/**
|
|
14695
14704
|
*
|
|
14696
14705
|
* @param {SendFriendshipRequestPayload} sendFriendshipRequestPayload
|
|
@@ -14785,6 +14794,18 @@ export const FriendsApiFp = function(configuration?: Configuration) {
|
|
|
14785
14794
|
const localVarOperationServerBasePath = operationServerMap['FriendsApi.friendControllerApproveFriendRequest']?.[localVarOperationServerIndex]?.url;
|
|
14786
14795
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
14787
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
|
+
},
|
|
14788
14809
|
/**
|
|
14789
14810
|
*
|
|
14790
14811
|
* @param {DeclineFriendshipRequestPayload} declineFriendshipRequestPayload
|
|
@@ -14811,6 +14832,20 @@ export const FriendsApiFp = function(configuration?: Configuration) {
|
|
|
14811
14832
|
const localVarOperationServerBasePath = operationServerMap['FriendsApi.friendControllerFindFriends']?.[localVarOperationServerIndex]?.url;
|
|
14812
14833
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
14813
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
|
+
},
|
|
14814
14849
|
/**
|
|
14815
14850
|
*
|
|
14816
14851
|
* @param {FriendshipStatusCheck} friendshipStatusCheck
|
|
@@ -14825,16 +14860,12 @@ export const FriendsApiFp = function(configuration?: Configuration) {
|
|
|
14825
14860
|
},
|
|
14826
14861
|
/**
|
|
14827
14862
|
*
|
|
14828
|
-
* @param {
|
|
14829
|
-
* @param {number} pageSize
|
|
14830
|
-
* @param {string} [search]
|
|
14831
|
-
* @param {string} [calendar]
|
|
14832
|
-
* @param {string} [user]
|
|
14863
|
+
* @param {FindMyFriendRequestPayload} findMyFriendRequestPayload
|
|
14833
14864
|
* @param {*} [options] Override http request option.
|
|
14834
14865
|
* @throws {RequiredError}
|
|
14835
14866
|
*/
|
|
14836
|
-
async friendControllerListMyFriends(
|
|
14837
|
-
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);
|
|
14838
14869
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
14839
14870
|
const localVarOperationServerBasePath = operationServerMap['FriendsApi.friendControllerListMyFriends']?.[localVarOperationServerIndex]?.url;
|
|
14840
14871
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -14851,6 +14882,18 @@ export const FriendsApiFp = function(configuration?: Configuration) {
|
|
|
14851
14882
|
const localVarOperationServerBasePath = operationServerMap['FriendsApi.friendControllerRemoveFriendById']?.[localVarOperationServerIndex]?.url;
|
|
14852
14883
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
14853
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
|
+
},
|
|
14854
14897
|
/**
|
|
14855
14898
|
*
|
|
14856
14899
|
* @param {SendFriendshipRequestPayload} sendFriendshipRequestPayload
|
|
@@ -14893,6 +14936,15 @@ export const FriendsApiFactory = function (configuration?: Configuration, basePa
|
|
|
14893
14936
|
friendControllerApproveFriendRequest(approveFriendshipRequestPayload: ApproveFriendshipRequestPayload, options?: RawAxiosRequestConfig): AxiosPromise<FriendsResponseDTO> {
|
|
14894
14937
|
return localVarFp.friendControllerApproveFriendRequest(approveFriendshipRequestPayload, options).then((request) => request(axios, basePath));
|
|
14895
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
|
+
},
|
|
14896
14948
|
/**
|
|
14897
14949
|
*
|
|
14898
14950
|
* @param {DeclineFriendshipRequestPayload} declineFriendshipRequestPayload
|
|
@@ -14913,6 +14965,17 @@ export const FriendsApiFactory = function (configuration?: Configuration, basePa
|
|
|
14913
14965
|
friendControllerFindFriends(page: number, pageSize: number, query?: string, options?: RawAxiosRequestConfig): AxiosPromise<FriendsDTO> {
|
|
14914
14966
|
return localVarFp.friendControllerFindFriends(page, pageSize, query, options).then((request) => request(axios, basePath));
|
|
14915
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
|
+
},
|
|
14916
14979
|
/**
|
|
14917
14980
|
*
|
|
14918
14981
|
* @param {FriendshipStatusCheck} friendshipStatusCheck
|
|
@@ -14924,16 +14987,12 @@ export const FriendsApiFactory = function (configuration?: Configuration, basePa
|
|
|
14924
14987
|
},
|
|
14925
14988
|
/**
|
|
14926
14989
|
*
|
|
14927
|
-
* @param {
|
|
14928
|
-
* @param {number} pageSize
|
|
14929
|
-
* @param {string} [search]
|
|
14930
|
-
* @param {string} [calendar]
|
|
14931
|
-
* @param {string} [user]
|
|
14990
|
+
* @param {FindMyFriendRequestPayload} findMyFriendRequestPayload
|
|
14932
14991
|
* @param {*} [options] Override http request option.
|
|
14933
14992
|
* @throws {RequiredError}
|
|
14934
14993
|
*/
|
|
14935
|
-
friendControllerListMyFriends(
|
|
14936
|
-
return localVarFp.friendControllerListMyFriends(
|
|
14994
|
+
friendControllerListMyFriends(findMyFriendRequestPayload: FindMyFriendRequestPayload, options?: RawAxiosRequestConfig): AxiosPromise<FriendsDTO> {
|
|
14995
|
+
return localVarFp.friendControllerListMyFriends(findMyFriendRequestPayload, options).then((request) => request(axios, basePath));
|
|
14937
14996
|
},
|
|
14938
14997
|
/**
|
|
14939
14998
|
*
|
|
@@ -14944,6 +15003,15 @@ export const FriendsApiFactory = function (configuration?: Configuration, basePa
|
|
|
14944
15003
|
friendControllerRemoveFriendById(removeFriendshipRequestPayload: RemoveFriendshipRequestPayload, options?: RawAxiosRequestConfig): AxiosPromise<FriendsResponseDTO> {
|
|
14945
15004
|
return localVarFp.friendControllerRemoveFriendById(removeFriendshipRequestPayload, options).then((request) => request(axios, basePath));
|
|
14946
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
|
+
},
|
|
14947
15015
|
/**
|
|
14948
15016
|
*
|
|
14949
15017
|
* @param {SendFriendshipRequestPayload} sendFriendshipRequestPayload
|
|
@@ -14982,6 +15050,17 @@ export class FriendsApi extends BaseAPI {
|
|
|
14982
15050
|
return FriendsApiFp(this.configuration).friendControllerApproveFriendRequest(approveFriendshipRequestPayload, options).then((request) => request(this.axios, this.basePath));
|
|
14983
15051
|
}
|
|
14984
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
|
+
|
|
14985
15064
|
/**
|
|
14986
15065
|
*
|
|
14987
15066
|
* @param {DeclineFriendshipRequestPayload} declineFriendshipRequestPayload
|
|
@@ -15006,6 +15085,19 @@ export class FriendsApi extends BaseAPI {
|
|
|
15006
15085
|
return FriendsApiFp(this.configuration).friendControllerFindFriends(page, pageSize, query, options).then((request) => request(this.axios, this.basePath));
|
|
15007
15086
|
}
|
|
15008
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
|
+
|
|
15009
15101
|
/**
|
|
15010
15102
|
*
|
|
15011
15103
|
* @param {FriendshipStatusCheck} friendshipStatusCheck
|
|
@@ -15019,17 +15111,13 @@ export class FriendsApi extends BaseAPI {
|
|
|
15019
15111
|
|
|
15020
15112
|
/**
|
|
15021
15113
|
*
|
|
15022
|
-
* @param {
|
|
15023
|
-
* @param {number} pageSize
|
|
15024
|
-
* @param {string} [search]
|
|
15025
|
-
* @param {string} [calendar]
|
|
15026
|
-
* @param {string} [user]
|
|
15114
|
+
* @param {FindMyFriendRequestPayload} findMyFriendRequestPayload
|
|
15027
15115
|
* @param {*} [options] Override http request option.
|
|
15028
15116
|
* @throws {RequiredError}
|
|
15029
15117
|
* @memberof FriendsApi
|
|
15030
15118
|
*/
|
|
15031
|
-
public friendControllerListMyFriends(
|
|
15032
|
-
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));
|
|
15033
15121
|
}
|
|
15034
15122
|
|
|
15035
15123
|
/**
|
|
@@ -15043,6 +15131,17 @@ export class FriendsApi extends BaseAPI {
|
|
|
15043
15131
|
return FriendsApiFp(this.configuration).friendControllerRemoveFriendById(removeFriendshipRequestPayload, options).then((request) => request(this.axios, this.basePath));
|
|
15044
15132
|
}
|
|
15045
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
|
+
|
|
15046
15145
|
/**
|
|
15047
15146
|
*
|
|
15048
15147
|
* @param {SendFriendshipRequestPayload} sendFriendshipRequestPayload
|