@gooday_corp/gooday-api-client 1.2.25 → 1.2.26
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 +1580 -422
- package/package.json +1 -1
package/api.ts
CHANGED
|
@@ -3397,6 +3397,190 @@ export interface PlanUpsertPayloadDTO {
|
|
|
3397
3397
|
*/
|
|
3398
3398
|
'plan': string;
|
|
3399
3399
|
}
|
|
3400
|
+
/**
|
|
3401
|
+
*
|
|
3402
|
+
* @export
|
|
3403
|
+
* @interface PrepaidServiceDTO
|
|
3404
|
+
*/
|
|
3405
|
+
export interface PrepaidServiceDTO {
|
|
3406
|
+
/**
|
|
3407
|
+
*
|
|
3408
|
+
* @type {PrepaidServiceEntity}
|
|
3409
|
+
* @memberof PrepaidServiceDTO
|
|
3410
|
+
*/
|
|
3411
|
+
'data': PrepaidServiceEntity;
|
|
3412
|
+
/**
|
|
3413
|
+
* statusCode
|
|
3414
|
+
* @type {number}
|
|
3415
|
+
* @memberof PrepaidServiceDTO
|
|
3416
|
+
*/
|
|
3417
|
+
'statusCode': number;
|
|
3418
|
+
}
|
|
3419
|
+
/**
|
|
3420
|
+
*
|
|
3421
|
+
* @export
|
|
3422
|
+
* @interface PrepaidServiceEntity
|
|
3423
|
+
*/
|
|
3424
|
+
export interface PrepaidServiceEntity {
|
|
3425
|
+
/**
|
|
3426
|
+
* Tag id
|
|
3427
|
+
* @type {string}
|
|
3428
|
+
* @memberof PrepaidServiceEntity
|
|
3429
|
+
*/
|
|
3430
|
+
'_id': string;
|
|
3431
|
+
/**
|
|
3432
|
+
* Service name
|
|
3433
|
+
* @type {string}
|
|
3434
|
+
* @memberof PrepaidServiceEntity
|
|
3435
|
+
*/
|
|
3436
|
+
'name': string;
|
|
3437
|
+
/**
|
|
3438
|
+
* Category
|
|
3439
|
+
* @type {string}
|
|
3440
|
+
* @memberof PrepaidServiceEntity
|
|
3441
|
+
*/
|
|
3442
|
+
'category': PrepaidServiceEntityCategoryEnum;
|
|
3443
|
+
/**
|
|
3444
|
+
*
|
|
3445
|
+
* @type {string}
|
|
3446
|
+
* @memberof PrepaidServiceEntity
|
|
3447
|
+
*/
|
|
3448
|
+
'duration': string;
|
|
3449
|
+
/**
|
|
3450
|
+
*
|
|
3451
|
+
* @type {number}
|
|
3452
|
+
* @memberof PrepaidServiceEntity
|
|
3453
|
+
*/
|
|
3454
|
+
'capacity': number;
|
|
3455
|
+
/**
|
|
3456
|
+
*
|
|
3457
|
+
* @type {boolean}
|
|
3458
|
+
* @memberof PrepaidServiceEntity
|
|
3459
|
+
*/
|
|
3460
|
+
'staffSelection': boolean;
|
|
3461
|
+
/**
|
|
3462
|
+
*
|
|
3463
|
+
* @type {number}
|
|
3464
|
+
* @memberof PrepaidServiceEntity
|
|
3465
|
+
*/
|
|
3466
|
+
'price': number;
|
|
3467
|
+
/**
|
|
3468
|
+
*
|
|
3469
|
+
* @type {Array<BusinessStaffEntity>}
|
|
3470
|
+
* @memberof PrepaidServiceEntity
|
|
3471
|
+
*/
|
|
3472
|
+
'staffs': Array<BusinessStaffEntity>;
|
|
3473
|
+
/**
|
|
3474
|
+
*
|
|
3475
|
+
* @type {Array<StaffPrice>}
|
|
3476
|
+
* @memberof PrepaidServiceEntity
|
|
3477
|
+
*/
|
|
3478
|
+
'staffPrice': Array<StaffPrice>;
|
|
3479
|
+
/**
|
|
3480
|
+
* Business venue
|
|
3481
|
+
* @type {string}
|
|
3482
|
+
* @memberof PrepaidServiceEntity
|
|
3483
|
+
*/
|
|
3484
|
+
'venue': string;
|
|
3485
|
+
}
|
|
3486
|
+
|
|
3487
|
+
export const PrepaidServiceEntityCategoryEnum = {
|
|
3488
|
+
Beginner: 'BEGINNER',
|
|
3489
|
+
Intermediate: 'INTERMEDIATE',
|
|
3490
|
+
Advanced: 'ADVANCED'
|
|
3491
|
+
} as const;
|
|
3492
|
+
|
|
3493
|
+
export type PrepaidServiceEntityCategoryEnum = typeof PrepaidServiceEntityCategoryEnum[keyof typeof PrepaidServiceEntityCategoryEnum];
|
|
3494
|
+
|
|
3495
|
+
/**
|
|
3496
|
+
*
|
|
3497
|
+
* @export
|
|
3498
|
+
* @interface PrepaidServicePayloadDTO
|
|
3499
|
+
*/
|
|
3500
|
+
export interface PrepaidServicePayloadDTO {
|
|
3501
|
+
/**
|
|
3502
|
+
* Service name
|
|
3503
|
+
* @type {string}
|
|
3504
|
+
* @memberof PrepaidServicePayloadDTO
|
|
3505
|
+
*/
|
|
3506
|
+
'name': string;
|
|
3507
|
+
/**
|
|
3508
|
+
* Category
|
|
3509
|
+
* @type {string}
|
|
3510
|
+
* @memberof PrepaidServicePayloadDTO
|
|
3511
|
+
*/
|
|
3512
|
+
'category': PrepaidServicePayloadDTOCategoryEnum;
|
|
3513
|
+
/**
|
|
3514
|
+
*
|
|
3515
|
+
* @type {string}
|
|
3516
|
+
* @memberof PrepaidServicePayloadDTO
|
|
3517
|
+
*/
|
|
3518
|
+
'duration': string;
|
|
3519
|
+
/**
|
|
3520
|
+
*
|
|
3521
|
+
* @type {number}
|
|
3522
|
+
* @memberof PrepaidServicePayloadDTO
|
|
3523
|
+
*/
|
|
3524
|
+
'capacity': number;
|
|
3525
|
+
/**
|
|
3526
|
+
*
|
|
3527
|
+
* @type {boolean}
|
|
3528
|
+
* @memberof PrepaidServicePayloadDTO
|
|
3529
|
+
*/
|
|
3530
|
+
'staffSelection': boolean;
|
|
3531
|
+
/**
|
|
3532
|
+
*
|
|
3533
|
+
* @type {number}
|
|
3534
|
+
* @memberof PrepaidServicePayloadDTO
|
|
3535
|
+
*/
|
|
3536
|
+
'price': number;
|
|
3537
|
+
/**
|
|
3538
|
+
*
|
|
3539
|
+
* @type {Array<string>}
|
|
3540
|
+
* @memberof PrepaidServicePayloadDTO
|
|
3541
|
+
*/
|
|
3542
|
+
'staffs': Array<string>;
|
|
3543
|
+
/**
|
|
3544
|
+
*
|
|
3545
|
+
* @type {Array<StaffPrice>}
|
|
3546
|
+
* @memberof PrepaidServicePayloadDTO
|
|
3547
|
+
*/
|
|
3548
|
+
'staffPrice': Array<StaffPrice>;
|
|
3549
|
+
/**
|
|
3550
|
+
* Business venue
|
|
3551
|
+
* @type {string}
|
|
3552
|
+
* @memberof PrepaidServicePayloadDTO
|
|
3553
|
+
*/
|
|
3554
|
+
'venue': string;
|
|
3555
|
+
}
|
|
3556
|
+
|
|
3557
|
+
export const PrepaidServicePayloadDTOCategoryEnum = {
|
|
3558
|
+
Beginner: 'BEGINNER',
|
|
3559
|
+
Intermediate: 'INTERMEDIATE',
|
|
3560
|
+
Advanced: 'ADVANCED'
|
|
3561
|
+
} as const;
|
|
3562
|
+
|
|
3563
|
+
export type PrepaidServicePayloadDTOCategoryEnum = typeof PrepaidServicePayloadDTOCategoryEnum[keyof typeof PrepaidServicePayloadDTOCategoryEnum];
|
|
3564
|
+
|
|
3565
|
+
/**
|
|
3566
|
+
*
|
|
3567
|
+
* @export
|
|
3568
|
+
* @interface PrepaidServiceResponseDTO
|
|
3569
|
+
*/
|
|
3570
|
+
export interface PrepaidServiceResponseDTO {
|
|
3571
|
+
/**
|
|
3572
|
+
*
|
|
3573
|
+
* @type {Array<PrepaidServiceEntity>}
|
|
3574
|
+
* @memberof PrepaidServiceResponseDTO
|
|
3575
|
+
*/
|
|
3576
|
+
'data': Array<PrepaidServiceEntity>;
|
|
3577
|
+
/**
|
|
3578
|
+
* statusCode
|
|
3579
|
+
* @type {number}
|
|
3580
|
+
* @memberof PrepaidServiceResponseDTO
|
|
3581
|
+
*/
|
|
3582
|
+
'statusCode': number;
|
|
3583
|
+
}
|
|
3400
3584
|
/**
|
|
3401
3585
|
*
|
|
3402
3586
|
* @export
|
|
@@ -3636,6 +3820,19 @@ export interface SendFriendshipRequestPayload {
|
|
|
3636
3820
|
*/
|
|
3637
3821
|
'to': string;
|
|
3638
3822
|
}
|
|
3823
|
+
/**
|
|
3824
|
+
*
|
|
3825
|
+
* @export
|
|
3826
|
+
* @interface Setting
|
|
3827
|
+
*/
|
|
3828
|
+
export interface Setting {
|
|
3829
|
+
/**
|
|
3830
|
+
*
|
|
3831
|
+
* @type {string}
|
|
3832
|
+
* @memberof Setting
|
|
3833
|
+
*/
|
|
3834
|
+
'bookingDuration': string;
|
|
3835
|
+
}
|
|
3639
3836
|
/**
|
|
3640
3837
|
*
|
|
3641
3838
|
* @export
|
|
@@ -3843,6 +4040,25 @@ export interface SocialMedia {
|
|
|
3843
4040
|
*/
|
|
3844
4041
|
'link'?: string;
|
|
3845
4042
|
}
|
|
4043
|
+
/**
|
|
4044
|
+
*
|
|
4045
|
+
* @export
|
|
4046
|
+
* @interface StaffPrice
|
|
4047
|
+
*/
|
|
4048
|
+
export interface StaffPrice {
|
|
4049
|
+
/**
|
|
4050
|
+
*
|
|
4051
|
+
* @type {number}
|
|
4052
|
+
* @memberof StaffPrice
|
|
4053
|
+
*/
|
|
4054
|
+
'price': number;
|
|
4055
|
+
/**
|
|
4056
|
+
*
|
|
4057
|
+
* @type {string}
|
|
4058
|
+
* @memberof StaffPrice
|
|
4059
|
+
*/
|
|
4060
|
+
'staff': string;
|
|
4061
|
+
}
|
|
3846
4062
|
/**
|
|
3847
4063
|
*
|
|
3848
4064
|
* @export
|
|
@@ -4949,124 +5165,322 @@ export interface Weather {
|
|
|
4949
5165
|
/**
|
|
4950
5166
|
*
|
|
4951
5167
|
* @export
|
|
4952
|
-
* @interface
|
|
5168
|
+
* @interface WhatsOnDTO
|
|
4953
5169
|
*/
|
|
4954
|
-
export interface
|
|
5170
|
+
export interface WhatsOnDTO {
|
|
5171
|
+
/**
|
|
5172
|
+
*
|
|
5173
|
+
* @type {WhatsOnEntity}
|
|
5174
|
+
* @memberof WhatsOnDTO
|
|
5175
|
+
*/
|
|
5176
|
+
'data': WhatsOnEntity;
|
|
4955
5177
|
/**
|
|
4956
5178
|
* statusCode
|
|
4957
5179
|
* @type {number}
|
|
4958
|
-
* @memberof
|
|
5180
|
+
* @memberof WhatsOnDTO
|
|
4959
5181
|
*/
|
|
4960
5182
|
'statusCode': number;
|
|
4961
|
-
/**
|
|
4962
|
-
* Waitlist response
|
|
4963
|
-
* @type {Array<WaitlistEntity>}
|
|
4964
|
-
* @memberof WhitelistsResponseDTO
|
|
4965
|
-
*/
|
|
4966
|
-
'data': Array<WaitlistEntity>;
|
|
4967
5183
|
}
|
|
4968
|
-
|
|
4969
5184
|
/**
|
|
4970
|
-
*
|
|
5185
|
+
*
|
|
4971
5186
|
* @export
|
|
5187
|
+
* @interface WhatsOnDeleteResponseDTO
|
|
4972
5188
|
*/
|
|
4973
|
-
export
|
|
4974
|
-
|
|
4975
|
-
|
|
4976
|
-
|
|
4977
|
-
|
|
4978
|
-
|
|
4979
|
-
|
|
4980
|
-
|
|
4981
|
-
const localVarPath = `/v1/assistant/list`;
|
|
4982
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
4983
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
4984
|
-
let baseOptions;
|
|
4985
|
-
if (configuration) {
|
|
4986
|
-
baseOptions = configuration.baseOptions;
|
|
4987
|
-
}
|
|
4988
|
-
|
|
4989
|
-
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
4990
|
-
const localVarHeaderParameter = {} as any;
|
|
4991
|
-
const localVarQueryParameter = {} as any;
|
|
4992
|
-
|
|
4993
|
-
|
|
4994
|
-
|
|
4995
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
4996
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4997
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
4998
|
-
|
|
4999
|
-
return {
|
|
5000
|
-
url: toPathString(localVarUrlObj),
|
|
5001
|
-
options: localVarRequestOptions,
|
|
5002
|
-
};
|
|
5003
|
-
},
|
|
5004
|
-
/**
|
|
5005
|
-
*
|
|
5006
|
-
* @param {*} [options] Override http request option.
|
|
5007
|
-
* @throws {RequiredError}
|
|
5008
|
-
*/
|
|
5009
|
-
assistantControllerMyAssistant: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
5010
|
-
const localVarPath = `/v1/assistant/me`;
|
|
5011
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
5012
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
5013
|
-
let baseOptions;
|
|
5014
|
-
if (configuration) {
|
|
5015
|
-
baseOptions = configuration.baseOptions;
|
|
5016
|
-
}
|
|
5017
|
-
|
|
5018
|
-
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
5019
|
-
const localVarHeaderParameter = {} as any;
|
|
5020
|
-
const localVarQueryParameter = {} as any;
|
|
5021
|
-
|
|
5022
|
-
// authentication bearer required
|
|
5023
|
-
// http bearer authentication required
|
|
5024
|
-
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
5025
|
-
|
|
5026
|
-
|
|
5027
|
-
|
|
5028
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
5029
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
5030
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
5031
|
-
|
|
5032
|
-
return {
|
|
5033
|
-
url: toPathString(localVarUrlObj),
|
|
5034
|
-
options: localVarRequestOptions,
|
|
5035
|
-
};
|
|
5036
|
-
},
|
|
5037
|
-
}
|
|
5038
|
-
};
|
|
5039
|
-
|
|
5189
|
+
export interface WhatsOnDeleteResponseDTO {
|
|
5190
|
+
/**
|
|
5191
|
+
* statusCode
|
|
5192
|
+
* @type {number}
|
|
5193
|
+
* @memberof WhatsOnDeleteResponseDTO
|
|
5194
|
+
*/
|
|
5195
|
+
'statusCode': number;
|
|
5196
|
+
}
|
|
5040
5197
|
/**
|
|
5041
|
-
*
|
|
5198
|
+
*
|
|
5042
5199
|
* @export
|
|
5200
|
+
* @interface WhatsOnEntity
|
|
5043
5201
|
*/
|
|
5044
|
-
export
|
|
5045
|
-
|
|
5046
|
-
|
|
5047
|
-
|
|
5048
|
-
|
|
5049
|
-
|
|
5050
|
-
|
|
5051
|
-
|
|
5052
|
-
|
|
5053
|
-
|
|
5054
|
-
|
|
5055
|
-
|
|
5056
|
-
|
|
5057
|
-
|
|
5058
|
-
|
|
5059
|
-
|
|
5060
|
-
|
|
5061
|
-
|
|
5062
|
-
|
|
5063
|
-
|
|
5064
|
-
|
|
5065
|
-
|
|
5066
|
-
|
|
5067
|
-
|
|
5068
|
-
|
|
5069
|
-
|
|
5202
|
+
export interface WhatsOnEntity {
|
|
5203
|
+
/**
|
|
5204
|
+
* Event id
|
|
5205
|
+
* @type {string}
|
|
5206
|
+
* @memberof WhatsOnEntity
|
|
5207
|
+
*/
|
|
5208
|
+
'_id': string;
|
|
5209
|
+
/**
|
|
5210
|
+
* Event name
|
|
5211
|
+
* @type {string}
|
|
5212
|
+
* @memberof WhatsOnEntity
|
|
5213
|
+
*/
|
|
5214
|
+
'title': string;
|
|
5215
|
+
/**
|
|
5216
|
+
* Start date for the events
|
|
5217
|
+
* @type {string}
|
|
5218
|
+
* @memberof WhatsOnEntity
|
|
5219
|
+
*/
|
|
5220
|
+
'startDate': string;
|
|
5221
|
+
/**
|
|
5222
|
+
* End date for the events
|
|
5223
|
+
* @type {string}
|
|
5224
|
+
* @memberof WhatsOnEntity
|
|
5225
|
+
*/
|
|
5226
|
+
'endDate': string;
|
|
5227
|
+
/**
|
|
5228
|
+
*
|
|
5229
|
+
* @type {Array<string>}
|
|
5230
|
+
* @memberof WhatsOnEntity
|
|
5231
|
+
*/
|
|
5232
|
+
'photos': Array<string>;
|
|
5233
|
+
/**
|
|
5234
|
+
*
|
|
5235
|
+
* @type {number}
|
|
5236
|
+
* @memberof WhatsOnEntity
|
|
5237
|
+
*/
|
|
5238
|
+
'price': number;
|
|
5239
|
+
/**
|
|
5240
|
+
*
|
|
5241
|
+
* @type {string}
|
|
5242
|
+
* @memberof WhatsOnEntity
|
|
5243
|
+
*/
|
|
5244
|
+
'description': string;
|
|
5245
|
+
/**
|
|
5246
|
+
*
|
|
5247
|
+
* @type {Setting}
|
|
5248
|
+
* @memberof WhatsOnEntity
|
|
5249
|
+
*/
|
|
5250
|
+
'setting': Setting;
|
|
5251
|
+
/**
|
|
5252
|
+
* Business venue
|
|
5253
|
+
* @type {string}
|
|
5254
|
+
* @memberof WhatsOnEntity
|
|
5255
|
+
*/
|
|
5256
|
+
'venue': string;
|
|
5257
|
+
}
|
|
5258
|
+
/**
|
|
5259
|
+
*
|
|
5260
|
+
* @export
|
|
5261
|
+
* @interface WhatsOnFindDTO
|
|
5262
|
+
*/
|
|
5263
|
+
export interface WhatsOnFindDTO {
|
|
5264
|
+
/**
|
|
5265
|
+
*
|
|
5266
|
+
* @type {number}
|
|
5267
|
+
* @memberof WhatsOnFindDTO
|
|
5268
|
+
*/
|
|
5269
|
+
'page': number;
|
|
5270
|
+
/**
|
|
5271
|
+
*
|
|
5272
|
+
* @type {number}
|
|
5273
|
+
* @memberof WhatsOnFindDTO
|
|
5274
|
+
*/
|
|
5275
|
+
'pageSize': number;
|
|
5276
|
+
/**
|
|
5277
|
+
*
|
|
5278
|
+
* @type {string}
|
|
5279
|
+
* @memberof WhatsOnFindDTO
|
|
5280
|
+
*/
|
|
5281
|
+
'search'?: string;
|
|
5282
|
+
/**
|
|
5283
|
+
*
|
|
5284
|
+
* @type {string}
|
|
5285
|
+
* @memberof WhatsOnFindDTO
|
|
5286
|
+
*/
|
|
5287
|
+
'venue'?: string;
|
|
5288
|
+
}
|
|
5289
|
+
/**
|
|
5290
|
+
*
|
|
5291
|
+
* @export
|
|
5292
|
+
* @interface WhatsOnPayloadDTO
|
|
5293
|
+
*/
|
|
5294
|
+
export interface WhatsOnPayloadDTO {
|
|
5295
|
+
/**
|
|
5296
|
+
* Event name
|
|
5297
|
+
* @type {string}
|
|
5298
|
+
* @memberof WhatsOnPayloadDTO
|
|
5299
|
+
*/
|
|
5300
|
+
'title': string;
|
|
5301
|
+
/**
|
|
5302
|
+
* Start date for the events
|
|
5303
|
+
* @type {string}
|
|
5304
|
+
* @memberof WhatsOnPayloadDTO
|
|
5305
|
+
*/
|
|
5306
|
+
'startDate': string;
|
|
5307
|
+
/**
|
|
5308
|
+
* End date for the events
|
|
5309
|
+
* @type {string}
|
|
5310
|
+
* @memberof WhatsOnPayloadDTO
|
|
5311
|
+
*/
|
|
5312
|
+
'endDate': string;
|
|
5313
|
+
/**
|
|
5314
|
+
*
|
|
5315
|
+
* @type {Array<string>}
|
|
5316
|
+
* @memberof WhatsOnPayloadDTO
|
|
5317
|
+
*/
|
|
5318
|
+
'photos': Array<string>;
|
|
5319
|
+
/**
|
|
5320
|
+
*
|
|
5321
|
+
* @type {number}
|
|
5322
|
+
* @memberof WhatsOnPayloadDTO
|
|
5323
|
+
*/
|
|
5324
|
+
'price': number;
|
|
5325
|
+
/**
|
|
5326
|
+
*
|
|
5327
|
+
* @type {string}
|
|
5328
|
+
* @memberof WhatsOnPayloadDTO
|
|
5329
|
+
*/
|
|
5330
|
+
'description': string;
|
|
5331
|
+
/**
|
|
5332
|
+
*
|
|
5333
|
+
* @type {Setting}
|
|
5334
|
+
* @memberof WhatsOnPayloadDTO
|
|
5335
|
+
*/
|
|
5336
|
+
'setting': Setting;
|
|
5337
|
+
/**
|
|
5338
|
+
* Business venue
|
|
5339
|
+
* @type {string}
|
|
5340
|
+
* @memberof WhatsOnPayloadDTO
|
|
5341
|
+
*/
|
|
5342
|
+
'venue': string;
|
|
5343
|
+
}
|
|
5344
|
+
/**
|
|
5345
|
+
*
|
|
5346
|
+
* @export
|
|
5347
|
+
* @interface WhatsOnResponseDTO
|
|
5348
|
+
*/
|
|
5349
|
+
export interface WhatsOnResponseDTO {
|
|
5350
|
+
/**
|
|
5351
|
+
*
|
|
5352
|
+
* @type {Array<WhatsOnEntity>}
|
|
5353
|
+
* @memberof WhatsOnResponseDTO
|
|
5354
|
+
*/
|
|
5355
|
+
'data': Array<WhatsOnEntity>;
|
|
5356
|
+
/**
|
|
5357
|
+
* statusCode
|
|
5358
|
+
* @type {number}
|
|
5359
|
+
* @memberof WhatsOnResponseDTO
|
|
5360
|
+
*/
|
|
5361
|
+
'statusCode': number;
|
|
5362
|
+
}
|
|
5363
|
+
/**
|
|
5364
|
+
*
|
|
5365
|
+
* @export
|
|
5366
|
+
* @interface WhitelistsResponseDTO
|
|
5367
|
+
*/
|
|
5368
|
+
export interface WhitelistsResponseDTO {
|
|
5369
|
+
/**
|
|
5370
|
+
* statusCode
|
|
5371
|
+
* @type {number}
|
|
5372
|
+
* @memberof WhitelistsResponseDTO
|
|
5373
|
+
*/
|
|
5374
|
+
'statusCode': number;
|
|
5375
|
+
/**
|
|
5376
|
+
* Waitlist response
|
|
5377
|
+
* @type {Array<WaitlistEntity>}
|
|
5378
|
+
* @memberof WhitelistsResponseDTO
|
|
5379
|
+
*/
|
|
5380
|
+
'data': Array<WaitlistEntity>;
|
|
5381
|
+
}
|
|
5382
|
+
|
|
5383
|
+
/**
|
|
5384
|
+
* AIApi - axios parameter creator
|
|
5385
|
+
* @export
|
|
5386
|
+
*/
|
|
5387
|
+
export const AIApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
5388
|
+
return {
|
|
5389
|
+
/**
|
|
5390
|
+
*
|
|
5391
|
+
* @param {*} [options] Override http request option.
|
|
5392
|
+
* @throws {RequiredError}
|
|
5393
|
+
*/
|
|
5394
|
+
assistantControllerListAssistants: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
5395
|
+
const localVarPath = `/v1/assistant/list`;
|
|
5396
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
5397
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
5398
|
+
let baseOptions;
|
|
5399
|
+
if (configuration) {
|
|
5400
|
+
baseOptions = configuration.baseOptions;
|
|
5401
|
+
}
|
|
5402
|
+
|
|
5403
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
5404
|
+
const localVarHeaderParameter = {} as any;
|
|
5405
|
+
const localVarQueryParameter = {} as any;
|
|
5406
|
+
|
|
5407
|
+
|
|
5408
|
+
|
|
5409
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
5410
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
5411
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
5412
|
+
|
|
5413
|
+
return {
|
|
5414
|
+
url: toPathString(localVarUrlObj),
|
|
5415
|
+
options: localVarRequestOptions,
|
|
5416
|
+
};
|
|
5417
|
+
},
|
|
5418
|
+
/**
|
|
5419
|
+
*
|
|
5420
|
+
* @param {*} [options] Override http request option.
|
|
5421
|
+
* @throws {RequiredError}
|
|
5422
|
+
*/
|
|
5423
|
+
assistantControllerMyAssistant: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
5424
|
+
const localVarPath = `/v1/assistant/me`;
|
|
5425
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
5426
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
5427
|
+
let baseOptions;
|
|
5428
|
+
if (configuration) {
|
|
5429
|
+
baseOptions = configuration.baseOptions;
|
|
5430
|
+
}
|
|
5431
|
+
|
|
5432
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
5433
|
+
const localVarHeaderParameter = {} as any;
|
|
5434
|
+
const localVarQueryParameter = {} as any;
|
|
5435
|
+
|
|
5436
|
+
// authentication bearer required
|
|
5437
|
+
// http bearer authentication required
|
|
5438
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
5439
|
+
|
|
5440
|
+
|
|
5441
|
+
|
|
5442
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
5443
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
5444
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
5445
|
+
|
|
5446
|
+
return {
|
|
5447
|
+
url: toPathString(localVarUrlObj),
|
|
5448
|
+
options: localVarRequestOptions,
|
|
5449
|
+
};
|
|
5450
|
+
},
|
|
5451
|
+
}
|
|
5452
|
+
};
|
|
5453
|
+
|
|
5454
|
+
/**
|
|
5455
|
+
* AIApi - functional programming interface
|
|
5456
|
+
* @export
|
|
5457
|
+
*/
|
|
5458
|
+
export const AIApiFp = function(configuration?: Configuration) {
|
|
5459
|
+
const localVarAxiosParamCreator = AIApiAxiosParamCreator(configuration)
|
|
5460
|
+
return {
|
|
5461
|
+
/**
|
|
5462
|
+
*
|
|
5463
|
+
* @param {*} [options] Override http request option.
|
|
5464
|
+
* @throws {RequiredError}
|
|
5465
|
+
*/
|
|
5466
|
+
async assistantControllerListAssistants(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AssistantListResponse>> {
|
|
5467
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.assistantControllerListAssistants(options);
|
|
5468
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
5469
|
+
const localVarOperationServerBasePath = operationServerMap['AIApi.assistantControllerListAssistants']?.[localVarOperationServerIndex]?.url;
|
|
5470
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
5471
|
+
},
|
|
5472
|
+
/**
|
|
5473
|
+
*
|
|
5474
|
+
* @param {*} [options] Override http request option.
|
|
5475
|
+
* @throws {RequiredError}
|
|
5476
|
+
*/
|
|
5477
|
+
async assistantControllerMyAssistant(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<MyAssistantResponse>> {
|
|
5478
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.assistantControllerMyAssistant(options);
|
|
5479
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
5480
|
+
const localVarOperationServerBasePath = operationServerMap['AIApi.assistantControllerMyAssistant']?.[localVarOperationServerIndex]?.url;
|
|
5481
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
5482
|
+
},
|
|
5483
|
+
}
|
|
5070
5484
|
};
|
|
5071
5485
|
|
|
5072
5486
|
/**
|
|
@@ -11294,21 +11708,21 @@ export class PlansApi extends BaseAPI {
|
|
|
11294
11708
|
|
|
11295
11709
|
|
|
11296
11710
|
/**
|
|
11297
|
-
*
|
|
11711
|
+
* PrepaidServiceApi - axios parameter creator
|
|
11298
11712
|
* @export
|
|
11299
11713
|
*/
|
|
11300
|
-
export const
|
|
11714
|
+
export const PrepaidServiceApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
11301
11715
|
return {
|
|
11302
11716
|
/**
|
|
11303
11717
|
*
|
|
11304
|
-
* @param {
|
|
11718
|
+
* @param {PrepaidServicePayloadDTO} prepaidServicePayloadDTO
|
|
11305
11719
|
* @param {*} [options] Override http request option.
|
|
11306
11720
|
* @throws {RequiredError}
|
|
11307
11721
|
*/
|
|
11308
|
-
|
|
11309
|
-
// verify required parameter '
|
|
11310
|
-
assertParamExists('
|
|
11311
|
-
const localVarPath = `/v1/
|
|
11722
|
+
prepaidServiceControllerCreateService: async (prepaidServicePayloadDTO: PrepaidServicePayloadDTO, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
11723
|
+
// verify required parameter 'prepaidServicePayloadDTO' is not null or undefined
|
|
11724
|
+
assertParamExists('prepaidServiceControllerCreateService', 'prepaidServicePayloadDTO', prepaidServicePayloadDTO)
|
|
11725
|
+
const localVarPath = `/v1/prepaid-service`;
|
|
11312
11726
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
11313
11727
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
11314
11728
|
let baseOptions;
|
|
@@ -11331,7 +11745,7 @@ export const TagsApiAxiosParamCreator = function (configuration?: Configuration)
|
|
|
11331
11745
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
11332
11746
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
11333
11747
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
11334
|
-
localVarRequestOptions.data = serializeDataIfNeeded(
|
|
11748
|
+
localVarRequestOptions.data = serializeDataIfNeeded(prepaidServicePayloadDTO, localVarRequestOptions, configuration)
|
|
11335
11749
|
|
|
11336
11750
|
return {
|
|
11337
11751
|
url: toPathString(localVarUrlObj),
|
|
@@ -11340,15 +11754,18 @@ export const TagsApiAxiosParamCreator = function (configuration?: Configuration)
|
|
|
11340
11754
|
},
|
|
11341
11755
|
/**
|
|
11342
11756
|
*
|
|
11343
|
-
* @param {
|
|
11757
|
+
* @param {number} page
|
|
11758
|
+
* @param {number} pageSize
|
|
11759
|
+
* @param {string} [venue]
|
|
11344
11760
|
* @param {*} [options] Override http request option.
|
|
11345
11761
|
* @throws {RequiredError}
|
|
11346
11762
|
*/
|
|
11347
|
-
|
|
11348
|
-
// verify required parameter '
|
|
11349
|
-
assertParamExists('
|
|
11350
|
-
|
|
11351
|
-
|
|
11763
|
+
prepaidServiceControllerFindService: async (page: number, pageSize: number, venue?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
11764
|
+
// verify required parameter 'page' is not null or undefined
|
|
11765
|
+
assertParamExists('prepaidServiceControllerFindService', 'page', page)
|
|
11766
|
+
// verify required parameter 'pageSize' is not null or undefined
|
|
11767
|
+
assertParamExists('prepaidServiceControllerFindService', 'pageSize', pageSize)
|
|
11768
|
+
const localVarPath = `/v1/prepaid-service`;
|
|
11352
11769
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
11353
11770
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
11354
11771
|
let baseOptions;
|
|
@@ -11356,46 +11773,7 @@ export const TagsApiAxiosParamCreator = function (configuration?: Configuration)
|
|
|
11356
11773
|
baseOptions = configuration.baseOptions;
|
|
11357
11774
|
}
|
|
11358
11775
|
|
|
11359
|
-
const localVarRequestOptions = { method: '
|
|
11360
|
-
const localVarHeaderParameter = {} as any;
|
|
11361
|
-
const localVarQueryParameter = {} as any;
|
|
11362
|
-
|
|
11363
|
-
// authentication bearer required
|
|
11364
|
-
// http bearer authentication required
|
|
11365
|
-
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
11366
|
-
|
|
11367
|
-
|
|
11368
|
-
|
|
11369
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
11370
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
11371
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
11372
|
-
|
|
11373
|
-
return {
|
|
11374
|
-
url: toPathString(localVarUrlObj),
|
|
11375
|
-
options: localVarRequestOptions,
|
|
11376
|
-
};
|
|
11377
|
-
},
|
|
11378
|
-
/**
|
|
11379
|
-
*
|
|
11380
|
-
* @param {number} page
|
|
11381
|
-
* @param {number} pageSize
|
|
11382
|
-
* @param {*} [options] Override http request option.
|
|
11383
|
-
* @throws {RequiredError}
|
|
11384
|
-
*/
|
|
11385
|
-
tagsControllerFindTags: async (page: number, pageSize: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
11386
|
-
// verify required parameter 'page' is not null or undefined
|
|
11387
|
-
assertParamExists('tagsControllerFindTags', 'page', page)
|
|
11388
|
-
// verify required parameter 'pageSize' is not null or undefined
|
|
11389
|
-
assertParamExists('tagsControllerFindTags', 'pageSize', pageSize)
|
|
11390
|
-
const localVarPath = `/v1/tags`;
|
|
11391
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
11392
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
11393
|
-
let baseOptions;
|
|
11394
|
-
if (configuration) {
|
|
11395
|
-
baseOptions = configuration.baseOptions;
|
|
11396
|
-
}
|
|
11397
|
-
|
|
11398
|
-
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
11776
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
11399
11777
|
const localVarHeaderParameter = {} as any;
|
|
11400
11778
|
const localVarQueryParameter = {} as any;
|
|
11401
11779
|
|
|
@@ -11411,6 +11789,10 @@ export const TagsApiAxiosParamCreator = function (configuration?: Configuration)
|
|
|
11411
11789
|
localVarQueryParameter['pageSize'] = pageSize;
|
|
11412
11790
|
}
|
|
11413
11791
|
|
|
11792
|
+
if (venue !== undefined) {
|
|
11793
|
+
localVarQueryParameter['venue'] = venue;
|
|
11794
|
+
}
|
|
11795
|
+
|
|
11414
11796
|
|
|
11415
11797
|
|
|
11416
11798
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -11428,10 +11810,10 @@ export const TagsApiAxiosParamCreator = function (configuration?: Configuration)
|
|
|
11428
11810
|
* @param {*} [options] Override http request option.
|
|
11429
11811
|
* @throws {RequiredError}
|
|
11430
11812
|
*/
|
|
11431
|
-
|
|
11813
|
+
prepaidServiceControllerServiceById: async (id: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
11432
11814
|
// verify required parameter 'id' is not null or undefined
|
|
11433
|
-
assertParamExists('
|
|
11434
|
-
const localVarPath = `/v1/
|
|
11815
|
+
assertParamExists('prepaidServiceControllerServiceById', 'id', id)
|
|
11816
|
+
const localVarPath = `/v1/prepaid-service/{id}`
|
|
11435
11817
|
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
11436
11818
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
11437
11819
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -11461,14 +11843,18 @@ export const TagsApiAxiosParamCreator = function (configuration?: Configuration)
|
|
|
11461
11843
|
},
|
|
11462
11844
|
/**
|
|
11463
11845
|
*
|
|
11464
|
-
* @param {
|
|
11846
|
+
* @param {string} id
|
|
11847
|
+
* @param {PrepaidServicePayloadDTO} prepaidServicePayloadDTO
|
|
11465
11848
|
* @param {*} [options] Override http request option.
|
|
11466
11849
|
* @throws {RequiredError}
|
|
11467
11850
|
*/
|
|
11468
|
-
|
|
11469
|
-
// verify required parameter '
|
|
11470
|
-
assertParamExists('
|
|
11471
|
-
|
|
11851
|
+
prepaidServiceControllerUpdateTagById: async (id: string, prepaidServicePayloadDTO: PrepaidServicePayloadDTO, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
11852
|
+
// verify required parameter 'id' is not null or undefined
|
|
11853
|
+
assertParamExists('prepaidServiceControllerUpdateTagById', 'id', id)
|
|
11854
|
+
// verify required parameter 'prepaidServicePayloadDTO' is not null or undefined
|
|
11855
|
+
assertParamExists('prepaidServiceControllerUpdateTagById', 'prepaidServicePayloadDTO', prepaidServicePayloadDTO)
|
|
11856
|
+
const localVarPath = `/v1/prepaid-service/{id}`
|
|
11857
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
11472
11858
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
11473
11859
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
11474
11860
|
let baseOptions;
|
|
@@ -11491,7 +11877,7 @@ export const TagsApiAxiosParamCreator = function (configuration?: Configuration)
|
|
|
11491
11877
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
11492
11878
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
11493
11879
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
11494
|
-
localVarRequestOptions.data = serializeDataIfNeeded(
|
|
11880
|
+
localVarRequestOptions.data = serializeDataIfNeeded(prepaidServicePayloadDTO, localVarRequestOptions, configuration)
|
|
11495
11881
|
|
|
11496
11882
|
return {
|
|
11497
11883
|
url: toPathString(localVarUrlObj),
|
|
@@ -11502,47 +11888,36 @@ export const TagsApiAxiosParamCreator = function (configuration?: Configuration)
|
|
|
11502
11888
|
};
|
|
11503
11889
|
|
|
11504
11890
|
/**
|
|
11505
|
-
*
|
|
11891
|
+
* PrepaidServiceApi - functional programming interface
|
|
11506
11892
|
* @export
|
|
11507
11893
|
*/
|
|
11508
|
-
export const
|
|
11509
|
-
const localVarAxiosParamCreator =
|
|
11894
|
+
export const PrepaidServiceApiFp = function(configuration?: Configuration) {
|
|
11895
|
+
const localVarAxiosParamCreator = PrepaidServiceApiAxiosParamCreator(configuration)
|
|
11510
11896
|
return {
|
|
11511
11897
|
/**
|
|
11512
11898
|
*
|
|
11513
|
-
* @param {
|
|
11514
|
-
* @param {*} [options] Override http request option.
|
|
11515
|
-
* @throws {RequiredError}
|
|
11516
|
-
*/
|
|
11517
|
-
async tagsControllerCreateTag(tagPayloadDTO: TagPayloadDTO, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<TagResponseDTO>> {
|
|
11518
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.tagsControllerCreateTag(tagPayloadDTO, options);
|
|
11519
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
11520
|
-
const localVarOperationServerBasePath = operationServerMap['TagsApi.tagsControllerCreateTag']?.[localVarOperationServerIndex]?.url;
|
|
11521
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
11522
|
-
},
|
|
11523
|
-
/**
|
|
11524
|
-
*
|
|
11525
|
-
* @param {string} id
|
|
11899
|
+
* @param {PrepaidServicePayloadDTO} prepaidServicePayloadDTO
|
|
11526
11900
|
* @param {*} [options] Override http request option.
|
|
11527
11901
|
* @throws {RequiredError}
|
|
11528
11902
|
*/
|
|
11529
|
-
async
|
|
11530
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
11903
|
+
async prepaidServiceControllerCreateService(prepaidServicePayloadDTO: PrepaidServicePayloadDTO, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PrepaidServiceDTO>> {
|
|
11904
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.prepaidServiceControllerCreateService(prepaidServicePayloadDTO, options);
|
|
11531
11905
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
11532
|
-
const localVarOperationServerBasePath = operationServerMap['
|
|
11906
|
+
const localVarOperationServerBasePath = operationServerMap['PrepaidServiceApi.prepaidServiceControllerCreateService']?.[localVarOperationServerIndex]?.url;
|
|
11533
11907
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
11534
11908
|
},
|
|
11535
11909
|
/**
|
|
11536
11910
|
*
|
|
11537
11911
|
* @param {number} page
|
|
11538
11912
|
* @param {number} pageSize
|
|
11913
|
+
* @param {string} [venue]
|
|
11539
11914
|
* @param {*} [options] Override http request option.
|
|
11540
11915
|
* @throws {RequiredError}
|
|
11541
11916
|
*/
|
|
11542
|
-
async
|
|
11543
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
11917
|
+
async prepaidServiceControllerFindService(page: number, pageSize: number, venue?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PrepaidServiceResponseDTO>> {
|
|
11918
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.prepaidServiceControllerFindService(page, pageSize, venue, options);
|
|
11544
11919
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
11545
|
-
const localVarOperationServerBasePath = operationServerMap['
|
|
11920
|
+
const localVarOperationServerBasePath = operationServerMap['PrepaidServiceApi.prepaidServiceControllerFindService']?.[localVarOperationServerIndex]?.url;
|
|
11546
11921
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
11547
11922
|
},
|
|
11548
11923
|
/**
|
|
@@ -11551,61 +11926,54 @@ export const TagsApiFp = function(configuration?: Configuration) {
|
|
|
11551
11926
|
* @param {*} [options] Override http request option.
|
|
11552
11927
|
* @throws {RequiredError}
|
|
11553
11928
|
*/
|
|
11554
|
-
async
|
|
11555
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
11929
|
+
async prepaidServiceControllerServiceById(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PrepaidServiceDTO>> {
|
|
11930
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.prepaidServiceControllerServiceById(id, options);
|
|
11556
11931
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
11557
|
-
const localVarOperationServerBasePath = operationServerMap['
|
|
11932
|
+
const localVarOperationServerBasePath = operationServerMap['PrepaidServiceApi.prepaidServiceControllerServiceById']?.[localVarOperationServerIndex]?.url;
|
|
11558
11933
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
11559
11934
|
},
|
|
11560
11935
|
/**
|
|
11561
11936
|
*
|
|
11562
|
-
* @param {
|
|
11937
|
+
* @param {string} id
|
|
11938
|
+
* @param {PrepaidServicePayloadDTO} prepaidServicePayloadDTO
|
|
11563
11939
|
* @param {*} [options] Override http request option.
|
|
11564
11940
|
* @throws {RequiredError}
|
|
11565
11941
|
*/
|
|
11566
|
-
async
|
|
11567
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
11942
|
+
async prepaidServiceControllerUpdateTagById(id: string, prepaidServicePayloadDTO: PrepaidServicePayloadDTO, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PrepaidServiceDTO>> {
|
|
11943
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.prepaidServiceControllerUpdateTagById(id, prepaidServicePayloadDTO, options);
|
|
11568
11944
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
11569
|
-
const localVarOperationServerBasePath = operationServerMap['
|
|
11945
|
+
const localVarOperationServerBasePath = operationServerMap['PrepaidServiceApi.prepaidServiceControllerUpdateTagById']?.[localVarOperationServerIndex]?.url;
|
|
11570
11946
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
11571
11947
|
},
|
|
11572
11948
|
}
|
|
11573
11949
|
};
|
|
11574
11950
|
|
|
11575
11951
|
/**
|
|
11576
|
-
*
|
|
11952
|
+
* PrepaidServiceApi - factory interface
|
|
11577
11953
|
* @export
|
|
11578
11954
|
*/
|
|
11579
|
-
export const
|
|
11580
|
-
const localVarFp =
|
|
11955
|
+
export const PrepaidServiceApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
11956
|
+
const localVarFp = PrepaidServiceApiFp(configuration)
|
|
11581
11957
|
return {
|
|
11582
11958
|
/**
|
|
11583
11959
|
*
|
|
11584
|
-
* @param {
|
|
11585
|
-
* @param {*} [options] Override http request option.
|
|
11586
|
-
* @throws {RequiredError}
|
|
11587
|
-
*/
|
|
11588
|
-
tagsControllerCreateTag(tagPayloadDTO: TagPayloadDTO, options?: RawAxiosRequestConfig): AxiosPromise<TagResponseDTO> {
|
|
11589
|
-
return localVarFp.tagsControllerCreateTag(tagPayloadDTO, options).then((request) => request(axios, basePath));
|
|
11590
|
-
},
|
|
11591
|
-
/**
|
|
11592
|
-
*
|
|
11593
|
-
* @param {string} id
|
|
11960
|
+
* @param {PrepaidServicePayloadDTO} prepaidServicePayloadDTO
|
|
11594
11961
|
* @param {*} [options] Override http request option.
|
|
11595
11962
|
* @throws {RequiredError}
|
|
11596
11963
|
*/
|
|
11597
|
-
|
|
11598
|
-
return localVarFp.
|
|
11964
|
+
prepaidServiceControllerCreateService(prepaidServicePayloadDTO: PrepaidServicePayloadDTO, options?: RawAxiosRequestConfig): AxiosPromise<PrepaidServiceDTO> {
|
|
11965
|
+
return localVarFp.prepaidServiceControllerCreateService(prepaidServicePayloadDTO, options).then((request) => request(axios, basePath));
|
|
11599
11966
|
},
|
|
11600
11967
|
/**
|
|
11601
11968
|
*
|
|
11602
11969
|
* @param {number} page
|
|
11603
11970
|
* @param {number} pageSize
|
|
11971
|
+
* @param {string} [venue]
|
|
11604
11972
|
* @param {*} [options] Override http request option.
|
|
11605
11973
|
* @throws {RequiredError}
|
|
11606
11974
|
*/
|
|
11607
|
-
|
|
11608
|
-
return localVarFp.
|
|
11975
|
+
prepaidServiceControllerFindService(page: number, pageSize: number, venue?: string, options?: RawAxiosRequestConfig): AxiosPromise<PrepaidServiceResponseDTO> {
|
|
11976
|
+
return localVarFp.prepaidServiceControllerFindService(page, pageSize, venue, options).then((request) => request(axios, basePath));
|
|
11609
11977
|
},
|
|
11610
11978
|
/**
|
|
11611
11979
|
*
|
|
@@ -11613,60 +11981,51 @@ export const TagsApiFactory = function (configuration?: Configuration, basePath?
|
|
|
11613
11981
|
* @param {*} [options] Override http request option.
|
|
11614
11982
|
* @throws {RequiredError}
|
|
11615
11983
|
*/
|
|
11616
|
-
|
|
11617
|
-
return localVarFp.
|
|
11984
|
+
prepaidServiceControllerServiceById(id: string, options?: RawAxiosRequestConfig): AxiosPromise<PrepaidServiceDTO> {
|
|
11985
|
+
return localVarFp.prepaidServiceControllerServiceById(id, options).then((request) => request(axios, basePath));
|
|
11618
11986
|
},
|
|
11619
11987
|
/**
|
|
11620
11988
|
*
|
|
11621
|
-
* @param {
|
|
11989
|
+
* @param {string} id
|
|
11990
|
+
* @param {PrepaidServicePayloadDTO} prepaidServicePayloadDTO
|
|
11622
11991
|
* @param {*} [options] Override http request option.
|
|
11623
11992
|
* @throws {RequiredError}
|
|
11624
11993
|
*/
|
|
11625
|
-
|
|
11626
|
-
return localVarFp.
|
|
11994
|
+
prepaidServiceControllerUpdateTagById(id: string, prepaidServicePayloadDTO: PrepaidServicePayloadDTO, options?: RawAxiosRequestConfig): AxiosPromise<PrepaidServiceDTO> {
|
|
11995
|
+
return localVarFp.prepaidServiceControllerUpdateTagById(id, prepaidServicePayloadDTO, options).then((request) => request(axios, basePath));
|
|
11627
11996
|
},
|
|
11628
11997
|
};
|
|
11629
11998
|
};
|
|
11630
11999
|
|
|
11631
12000
|
/**
|
|
11632
|
-
*
|
|
12001
|
+
* PrepaidServiceApi - object-oriented interface
|
|
11633
12002
|
* @export
|
|
11634
|
-
* @class
|
|
12003
|
+
* @class PrepaidServiceApi
|
|
11635
12004
|
* @extends {BaseAPI}
|
|
11636
12005
|
*/
|
|
11637
|
-
export class
|
|
11638
|
-
/**
|
|
11639
|
-
*
|
|
11640
|
-
* @param {TagPayloadDTO} tagPayloadDTO
|
|
11641
|
-
* @param {*} [options] Override http request option.
|
|
11642
|
-
* @throws {RequiredError}
|
|
11643
|
-
* @memberof TagsApi
|
|
11644
|
-
*/
|
|
11645
|
-
public tagsControllerCreateTag(tagPayloadDTO: TagPayloadDTO, options?: RawAxiosRequestConfig) {
|
|
11646
|
-
return TagsApiFp(this.configuration).tagsControllerCreateTag(tagPayloadDTO, options).then((request) => request(this.axios, this.basePath));
|
|
11647
|
-
}
|
|
11648
|
-
|
|
12006
|
+
export class PrepaidServiceApi extends BaseAPI {
|
|
11649
12007
|
/**
|
|
11650
12008
|
*
|
|
11651
|
-
* @param {
|
|
12009
|
+
* @param {PrepaidServicePayloadDTO} prepaidServicePayloadDTO
|
|
11652
12010
|
* @param {*} [options] Override http request option.
|
|
11653
12011
|
* @throws {RequiredError}
|
|
11654
|
-
* @memberof
|
|
12012
|
+
* @memberof PrepaidServiceApi
|
|
11655
12013
|
*/
|
|
11656
|
-
public
|
|
11657
|
-
return
|
|
12014
|
+
public prepaidServiceControllerCreateService(prepaidServicePayloadDTO: PrepaidServicePayloadDTO, options?: RawAxiosRequestConfig) {
|
|
12015
|
+
return PrepaidServiceApiFp(this.configuration).prepaidServiceControllerCreateService(prepaidServicePayloadDTO, options).then((request) => request(this.axios, this.basePath));
|
|
11658
12016
|
}
|
|
11659
12017
|
|
|
11660
12018
|
/**
|
|
11661
12019
|
*
|
|
11662
12020
|
* @param {number} page
|
|
11663
12021
|
* @param {number} pageSize
|
|
12022
|
+
* @param {string} [venue]
|
|
11664
12023
|
* @param {*} [options] Override http request option.
|
|
11665
12024
|
* @throws {RequiredError}
|
|
11666
|
-
* @memberof
|
|
12025
|
+
* @memberof PrepaidServiceApi
|
|
11667
12026
|
*/
|
|
11668
|
-
public
|
|
11669
|
-
return
|
|
12027
|
+
public prepaidServiceControllerFindService(page: number, pageSize: number, venue?: string, options?: RawAxiosRequestConfig) {
|
|
12028
|
+
return PrepaidServiceApiFp(this.configuration).prepaidServiceControllerFindService(page, pageSize, venue, options).then((request) => request(this.axios, this.basePath));
|
|
11670
12029
|
}
|
|
11671
12030
|
|
|
11672
12031
|
/**
|
|
@@ -11674,43 +12033,43 @@ export class TagsApi extends BaseAPI {
|
|
|
11674
12033
|
* @param {string} id
|
|
11675
12034
|
* @param {*} [options] Override http request option.
|
|
11676
12035
|
* @throws {RequiredError}
|
|
11677
|
-
* @memberof
|
|
12036
|
+
* @memberof PrepaidServiceApi
|
|
11678
12037
|
*/
|
|
11679
|
-
public
|
|
11680
|
-
return
|
|
12038
|
+
public prepaidServiceControllerServiceById(id: string, options?: RawAxiosRequestConfig) {
|
|
12039
|
+
return PrepaidServiceApiFp(this.configuration).prepaidServiceControllerServiceById(id, options).then((request) => request(this.axios, this.basePath));
|
|
11681
12040
|
}
|
|
11682
12041
|
|
|
11683
12042
|
/**
|
|
11684
12043
|
*
|
|
11685
|
-
* @param {
|
|
12044
|
+
* @param {string} id
|
|
12045
|
+
* @param {PrepaidServicePayloadDTO} prepaidServicePayloadDTO
|
|
11686
12046
|
* @param {*} [options] Override http request option.
|
|
11687
12047
|
* @throws {RequiredError}
|
|
11688
|
-
* @memberof
|
|
12048
|
+
* @memberof PrepaidServiceApi
|
|
11689
12049
|
*/
|
|
11690
|
-
public
|
|
11691
|
-
return
|
|
12050
|
+
public prepaidServiceControllerUpdateTagById(id: string, prepaidServicePayloadDTO: PrepaidServicePayloadDTO, options?: RawAxiosRequestConfig) {
|
|
12051
|
+
return PrepaidServiceApiFp(this.configuration).prepaidServiceControllerUpdateTagById(id, prepaidServicePayloadDTO, options).then((request) => request(this.axios, this.basePath));
|
|
11692
12052
|
}
|
|
11693
12053
|
}
|
|
11694
12054
|
|
|
11695
12055
|
|
|
11696
12056
|
|
|
11697
12057
|
/**
|
|
11698
|
-
*
|
|
12058
|
+
* TagsApi - axios parameter creator
|
|
11699
12059
|
* @export
|
|
11700
12060
|
*/
|
|
11701
|
-
export const
|
|
12061
|
+
export const TagsApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
11702
12062
|
return {
|
|
11703
12063
|
/**
|
|
11704
12064
|
*
|
|
11705
|
-
* @param {
|
|
12065
|
+
* @param {TagPayloadDTO} tagPayloadDTO
|
|
11706
12066
|
* @param {*} [options] Override http request option.
|
|
11707
12067
|
* @throws {RequiredError}
|
|
11708
12068
|
*/
|
|
11709
|
-
|
|
11710
|
-
// verify required parameter '
|
|
11711
|
-
assertParamExists('
|
|
11712
|
-
const localVarPath = `/v1/
|
|
11713
|
-
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
12069
|
+
tagsControllerCreateTag: async (tagPayloadDTO: TagPayloadDTO, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
12070
|
+
// verify required parameter 'tagPayloadDTO' is not null or undefined
|
|
12071
|
+
assertParamExists('tagsControllerCreateTag', 'tagPayloadDTO', tagPayloadDTO)
|
|
12072
|
+
const localVarPath = `/v1/tag`;
|
|
11714
12073
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
11715
12074
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
11716
12075
|
let baseOptions;
|
|
@@ -11728,9 +12087,12 @@ export const TodoApiAxiosParamCreator = function (configuration?: Configuration)
|
|
|
11728
12087
|
|
|
11729
12088
|
|
|
11730
12089
|
|
|
12090
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
12091
|
+
|
|
11731
12092
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
11732
12093
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
11733
12094
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
12095
|
+
localVarRequestOptions.data = serializeDataIfNeeded(tagPayloadDTO, localVarRequestOptions, configuration)
|
|
11734
12096
|
|
|
11735
12097
|
return {
|
|
11736
12098
|
url: toPathString(localVarUrlObj),
|
|
@@ -11740,16 +12102,13 @@ export const TodoApiAxiosParamCreator = function (configuration?: Configuration)
|
|
|
11740
12102
|
/**
|
|
11741
12103
|
*
|
|
11742
12104
|
* @param {string} id
|
|
11743
|
-
* @param {AssignTaskPayload} assignTaskPayload
|
|
11744
12105
|
* @param {*} [options] Override http request option.
|
|
11745
12106
|
* @throws {RequiredError}
|
|
11746
12107
|
*/
|
|
11747
|
-
|
|
12108
|
+
tagsControllerDeleteTagById: async (id: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
11748
12109
|
// verify required parameter 'id' is not null or undefined
|
|
11749
|
-
assertParamExists('
|
|
11750
|
-
|
|
11751
|
-
assertParamExists('todoControllerAssignTask', 'assignTaskPayload', assignTaskPayload)
|
|
11752
|
-
const localVarPath = `/v1/todo/task/{id}/assign`
|
|
12110
|
+
assertParamExists('tagsControllerDeleteTagById', 'id', id)
|
|
12111
|
+
const localVarPath = `/v1/tag/{id}`
|
|
11753
12112
|
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
11754
12113
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
11755
12114
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -11758,7 +12117,7 @@ export const TodoApiAxiosParamCreator = function (configuration?: Configuration)
|
|
|
11758
12117
|
baseOptions = configuration.baseOptions;
|
|
11759
12118
|
}
|
|
11760
12119
|
|
|
11761
|
-
const localVarRequestOptions = { method: '
|
|
12120
|
+
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
|
|
11762
12121
|
const localVarHeaderParameter = {} as any;
|
|
11763
12122
|
const localVarQueryParameter = {} as any;
|
|
11764
12123
|
|
|
@@ -11768,12 +12127,9 @@ export const TodoApiAxiosParamCreator = function (configuration?: Configuration)
|
|
|
11768
12127
|
|
|
11769
12128
|
|
|
11770
12129
|
|
|
11771
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
11772
|
-
|
|
11773
12130
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
11774
12131
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
11775
12132
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
11776
|
-
localVarRequestOptions.data = serializeDataIfNeeded(assignTaskPayload, localVarRequestOptions, configuration)
|
|
11777
12133
|
|
|
11778
12134
|
return {
|
|
11779
12135
|
url: toPathString(localVarUrlObj),
|
|
@@ -11782,14 +12138,17 @@ export const TodoApiAxiosParamCreator = function (configuration?: Configuration)
|
|
|
11782
12138
|
},
|
|
11783
12139
|
/**
|
|
11784
12140
|
*
|
|
11785
|
-
* @param {
|
|
12141
|
+
* @param {number} page
|
|
12142
|
+
* @param {number} pageSize
|
|
11786
12143
|
* @param {*} [options] Override http request option.
|
|
11787
12144
|
* @throws {RequiredError}
|
|
11788
12145
|
*/
|
|
11789
|
-
|
|
11790
|
-
// verify required parameter '
|
|
11791
|
-
assertParamExists('
|
|
11792
|
-
|
|
12146
|
+
tagsControllerFindTags: async (page: number, pageSize: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
12147
|
+
// verify required parameter 'page' is not null or undefined
|
|
12148
|
+
assertParamExists('tagsControllerFindTags', 'page', page)
|
|
12149
|
+
// verify required parameter 'pageSize' is not null or undefined
|
|
12150
|
+
assertParamExists('tagsControllerFindTags', 'pageSize', pageSize)
|
|
12151
|
+
const localVarPath = `/v1/tags`;
|
|
11793
12152
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
11794
12153
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
11795
12154
|
let baseOptions;
|
|
@@ -11797,7 +12156,7 @@ export const TodoApiAxiosParamCreator = function (configuration?: Configuration)
|
|
|
11797
12156
|
baseOptions = configuration.baseOptions;
|
|
11798
12157
|
}
|
|
11799
12158
|
|
|
11800
|
-
const localVarRequestOptions = { method: '
|
|
12159
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
11801
12160
|
const localVarHeaderParameter = {} as any;
|
|
11802
12161
|
const localVarQueryParameter = {} as any;
|
|
11803
12162
|
|
|
@@ -11805,53 +12164,19 @@ export const TodoApiAxiosParamCreator = function (configuration?: Configuration)
|
|
|
11805
12164
|
// http bearer authentication required
|
|
11806
12165
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
11807
12166
|
|
|
11808
|
-
|
|
11809
|
-
|
|
11810
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
11811
|
-
|
|
11812
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
11813
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
11814
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
11815
|
-
localVarRequestOptions.data = serializeDataIfNeeded(createTaskPayload, localVarRequestOptions, configuration)
|
|
11816
|
-
|
|
11817
|
-
return {
|
|
11818
|
-
url: toPathString(localVarUrlObj),
|
|
11819
|
-
options: localVarRequestOptions,
|
|
11820
|
-
};
|
|
11821
|
-
},
|
|
11822
|
-
/**
|
|
11823
|
-
*
|
|
11824
|
-
* @param {CreateTodoPayload} createTodoPayload
|
|
11825
|
-
* @param {*} [options] Override http request option.
|
|
11826
|
-
* @throws {RequiredError}
|
|
11827
|
-
*/
|
|
11828
|
-
todoControllerCreateTodo: async (createTodoPayload: CreateTodoPayload, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
11829
|
-
// verify required parameter 'createTodoPayload' is not null or undefined
|
|
11830
|
-
assertParamExists('todoControllerCreateTodo', 'createTodoPayload', createTodoPayload)
|
|
11831
|
-
const localVarPath = `/v1/todo`;
|
|
11832
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
11833
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
11834
|
-
let baseOptions;
|
|
11835
|
-
if (configuration) {
|
|
11836
|
-
baseOptions = configuration.baseOptions;
|
|
12167
|
+
if (page !== undefined) {
|
|
12168
|
+
localVarQueryParameter['page'] = page;
|
|
11837
12169
|
}
|
|
11838
12170
|
|
|
11839
|
-
|
|
11840
|
-
|
|
11841
|
-
|
|
11842
|
-
|
|
11843
|
-
// authentication bearer required
|
|
11844
|
-
// http bearer authentication required
|
|
11845
|
-
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
12171
|
+
if (pageSize !== undefined) {
|
|
12172
|
+
localVarQueryParameter['pageSize'] = pageSize;
|
|
12173
|
+
}
|
|
11846
12174
|
|
|
11847
12175
|
|
|
11848
12176
|
|
|
11849
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
11850
|
-
|
|
11851
12177
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
11852
12178
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
11853
12179
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
11854
|
-
localVarRequestOptions.data = serializeDataIfNeeded(createTodoPayload, localVarRequestOptions, configuration)
|
|
11855
12180
|
|
|
11856
12181
|
return {
|
|
11857
12182
|
url: toPathString(localVarUrlObj),
|
|
@@ -11864,10 +12189,10 @@ export const TodoApiAxiosParamCreator = function (configuration?: Configuration)
|
|
|
11864
12189
|
* @param {*} [options] Override http request option.
|
|
11865
12190
|
* @throws {RequiredError}
|
|
11866
12191
|
*/
|
|
11867
|
-
|
|
12192
|
+
tagsControllerTagById: async (id: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
11868
12193
|
// verify required parameter 'id' is not null or undefined
|
|
11869
|
-
assertParamExists('
|
|
11870
|
-
const localVarPath = `/v1/
|
|
12194
|
+
assertParamExists('tagsControllerTagById', 'id', id)
|
|
12195
|
+
const localVarPath = `/v1/tag/{id}`
|
|
11871
12196
|
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
11872
12197
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
11873
12198
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -11876,7 +12201,7 @@ export const TodoApiAxiosParamCreator = function (configuration?: Configuration)
|
|
|
11876
12201
|
baseOptions = configuration.baseOptions;
|
|
11877
12202
|
}
|
|
11878
12203
|
|
|
11879
|
-
const localVarRequestOptions = { method: '
|
|
12204
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
11880
12205
|
const localVarHeaderParameter = {} as any;
|
|
11881
12206
|
const localVarQueryParameter = {} as any;
|
|
11882
12207
|
|
|
@@ -11897,15 +12222,14 @@ export const TodoApiAxiosParamCreator = function (configuration?: Configuration)
|
|
|
11897
12222
|
},
|
|
11898
12223
|
/**
|
|
11899
12224
|
*
|
|
11900
|
-
* @param {
|
|
12225
|
+
* @param {TagUpdatePayloadDTO} tagUpdatePayloadDTO
|
|
11901
12226
|
* @param {*} [options] Override http request option.
|
|
11902
12227
|
* @throws {RequiredError}
|
|
11903
12228
|
*/
|
|
11904
|
-
|
|
11905
|
-
// verify required parameter '
|
|
11906
|
-
assertParamExists('
|
|
11907
|
-
const localVarPath = `/v1/
|
|
11908
|
-
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
12229
|
+
tagsControllerUpdateTagById: async (tagUpdatePayloadDTO: TagUpdatePayloadDTO, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
12230
|
+
// verify required parameter 'tagUpdatePayloadDTO' is not null or undefined
|
|
12231
|
+
assertParamExists('tagsControllerUpdateTagById', 'tagUpdatePayloadDTO', tagUpdatePayloadDTO)
|
|
12232
|
+
const localVarPath = `/v1/tag`;
|
|
11909
12233
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
11910
12234
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
11911
12235
|
let baseOptions;
|
|
@@ -11913,7 +12237,7 @@ export const TodoApiAxiosParamCreator = function (configuration?: Configuration)
|
|
|
11913
12237
|
baseOptions = configuration.baseOptions;
|
|
11914
12238
|
}
|
|
11915
12239
|
|
|
11916
|
-
const localVarRequestOptions = { method: '
|
|
12240
|
+
const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
|
|
11917
12241
|
const localVarHeaderParameter = {} as any;
|
|
11918
12242
|
const localVarQueryParameter = {} as any;
|
|
11919
12243
|
|
|
@@ -11923,23 +12247,460 @@ export const TodoApiAxiosParamCreator = function (configuration?: Configuration)
|
|
|
11923
12247
|
|
|
11924
12248
|
|
|
11925
12249
|
|
|
12250
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
12251
|
+
|
|
11926
12252
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
11927
12253
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
11928
12254
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
12255
|
+
localVarRequestOptions.data = serializeDataIfNeeded(tagUpdatePayloadDTO, localVarRequestOptions, configuration)
|
|
11929
12256
|
|
|
11930
12257
|
return {
|
|
11931
12258
|
url: toPathString(localVarUrlObj),
|
|
11932
12259
|
options: localVarRequestOptions,
|
|
11933
12260
|
};
|
|
11934
12261
|
},
|
|
11935
|
-
|
|
11936
|
-
|
|
11937
|
-
|
|
11938
|
-
|
|
11939
|
-
|
|
11940
|
-
|
|
11941
|
-
|
|
11942
|
-
|
|
12262
|
+
}
|
|
12263
|
+
};
|
|
12264
|
+
|
|
12265
|
+
/**
|
|
12266
|
+
* TagsApi - functional programming interface
|
|
12267
|
+
* @export
|
|
12268
|
+
*/
|
|
12269
|
+
export const TagsApiFp = function(configuration?: Configuration) {
|
|
12270
|
+
const localVarAxiosParamCreator = TagsApiAxiosParamCreator(configuration)
|
|
12271
|
+
return {
|
|
12272
|
+
/**
|
|
12273
|
+
*
|
|
12274
|
+
* @param {TagPayloadDTO} tagPayloadDTO
|
|
12275
|
+
* @param {*} [options] Override http request option.
|
|
12276
|
+
* @throws {RequiredError}
|
|
12277
|
+
*/
|
|
12278
|
+
async tagsControllerCreateTag(tagPayloadDTO: TagPayloadDTO, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<TagResponseDTO>> {
|
|
12279
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.tagsControllerCreateTag(tagPayloadDTO, options);
|
|
12280
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
12281
|
+
const localVarOperationServerBasePath = operationServerMap['TagsApi.tagsControllerCreateTag']?.[localVarOperationServerIndex]?.url;
|
|
12282
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
12283
|
+
},
|
|
12284
|
+
/**
|
|
12285
|
+
*
|
|
12286
|
+
* @param {string} id
|
|
12287
|
+
* @param {*} [options] Override http request option.
|
|
12288
|
+
* @throws {RequiredError}
|
|
12289
|
+
*/
|
|
12290
|
+
async tagsControllerDeleteTagById(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<TagResponseDTO>> {
|
|
12291
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.tagsControllerDeleteTagById(id, options);
|
|
12292
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
12293
|
+
const localVarOperationServerBasePath = operationServerMap['TagsApi.tagsControllerDeleteTagById']?.[localVarOperationServerIndex]?.url;
|
|
12294
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
12295
|
+
},
|
|
12296
|
+
/**
|
|
12297
|
+
*
|
|
12298
|
+
* @param {number} page
|
|
12299
|
+
* @param {number} pageSize
|
|
12300
|
+
* @param {*} [options] Override http request option.
|
|
12301
|
+
* @throws {RequiredError}
|
|
12302
|
+
*/
|
|
12303
|
+
async tagsControllerFindTags(page: number, pageSize: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<TagsResponseDTO>> {
|
|
12304
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.tagsControllerFindTags(page, pageSize, options);
|
|
12305
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
12306
|
+
const localVarOperationServerBasePath = operationServerMap['TagsApi.tagsControllerFindTags']?.[localVarOperationServerIndex]?.url;
|
|
12307
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
12308
|
+
},
|
|
12309
|
+
/**
|
|
12310
|
+
*
|
|
12311
|
+
* @param {string} id
|
|
12312
|
+
* @param {*} [options] Override http request option.
|
|
12313
|
+
* @throws {RequiredError}
|
|
12314
|
+
*/
|
|
12315
|
+
async tagsControllerTagById(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<TagResponseDTO>> {
|
|
12316
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.tagsControllerTagById(id, options);
|
|
12317
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
12318
|
+
const localVarOperationServerBasePath = operationServerMap['TagsApi.tagsControllerTagById']?.[localVarOperationServerIndex]?.url;
|
|
12319
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
12320
|
+
},
|
|
12321
|
+
/**
|
|
12322
|
+
*
|
|
12323
|
+
* @param {TagUpdatePayloadDTO} tagUpdatePayloadDTO
|
|
12324
|
+
* @param {*} [options] Override http request option.
|
|
12325
|
+
* @throws {RequiredError}
|
|
12326
|
+
*/
|
|
12327
|
+
async tagsControllerUpdateTagById(tagUpdatePayloadDTO: TagUpdatePayloadDTO, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<TagResponseDTO>> {
|
|
12328
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.tagsControllerUpdateTagById(tagUpdatePayloadDTO, options);
|
|
12329
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
12330
|
+
const localVarOperationServerBasePath = operationServerMap['TagsApi.tagsControllerUpdateTagById']?.[localVarOperationServerIndex]?.url;
|
|
12331
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
12332
|
+
},
|
|
12333
|
+
}
|
|
12334
|
+
};
|
|
12335
|
+
|
|
12336
|
+
/**
|
|
12337
|
+
* TagsApi - factory interface
|
|
12338
|
+
* @export
|
|
12339
|
+
*/
|
|
12340
|
+
export const TagsApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
12341
|
+
const localVarFp = TagsApiFp(configuration)
|
|
12342
|
+
return {
|
|
12343
|
+
/**
|
|
12344
|
+
*
|
|
12345
|
+
* @param {TagPayloadDTO} tagPayloadDTO
|
|
12346
|
+
* @param {*} [options] Override http request option.
|
|
12347
|
+
* @throws {RequiredError}
|
|
12348
|
+
*/
|
|
12349
|
+
tagsControllerCreateTag(tagPayloadDTO: TagPayloadDTO, options?: RawAxiosRequestConfig): AxiosPromise<TagResponseDTO> {
|
|
12350
|
+
return localVarFp.tagsControllerCreateTag(tagPayloadDTO, options).then((request) => request(axios, basePath));
|
|
12351
|
+
},
|
|
12352
|
+
/**
|
|
12353
|
+
*
|
|
12354
|
+
* @param {string} id
|
|
12355
|
+
* @param {*} [options] Override http request option.
|
|
12356
|
+
* @throws {RequiredError}
|
|
12357
|
+
*/
|
|
12358
|
+
tagsControllerDeleteTagById(id: string, options?: RawAxiosRequestConfig): AxiosPromise<TagResponseDTO> {
|
|
12359
|
+
return localVarFp.tagsControllerDeleteTagById(id, options).then((request) => request(axios, basePath));
|
|
12360
|
+
},
|
|
12361
|
+
/**
|
|
12362
|
+
*
|
|
12363
|
+
* @param {number} page
|
|
12364
|
+
* @param {number} pageSize
|
|
12365
|
+
* @param {*} [options] Override http request option.
|
|
12366
|
+
* @throws {RequiredError}
|
|
12367
|
+
*/
|
|
12368
|
+
tagsControllerFindTags(page: number, pageSize: number, options?: RawAxiosRequestConfig): AxiosPromise<TagsResponseDTO> {
|
|
12369
|
+
return localVarFp.tagsControllerFindTags(page, pageSize, options).then((request) => request(axios, basePath));
|
|
12370
|
+
},
|
|
12371
|
+
/**
|
|
12372
|
+
*
|
|
12373
|
+
* @param {string} id
|
|
12374
|
+
* @param {*} [options] Override http request option.
|
|
12375
|
+
* @throws {RequiredError}
|
|
12376
|
+
*/
|
|
12377
|
+
tagsControllerTagById(id: string, options?: RawAxiosRequestConfig): AxiosPromise<TagResponseDTO> {
|
|
12378
|
+
return localVarFp.tagsControllerTagById(id, options).then((request) => request(axios, basePath));
|
|
12379
|
+
},
|
|
12380
|
+
/**
|
|
12381
|
+
*
|
|
12382
|
+
* @param {TagUpdatePayloadDTO} tagUpdatePayloadDTO
|
|
12383
|
+
* @param {*} [options] Override http request option.
|
|
12384
|
+
* @throws {RequiredError}
|
|
12385
|
+
*/
|
|
12386
|
+
tagsControllerUpdateTagById(tagUpdatePayloadDTO: TagUpdatePayloadDTO, options?: RawAxiosRequestConfig): AxiosPromise<TagResponseDTO> {
|
|
12387
|
+
return localVarFp.tagsControllerUpdateTagById(tagUpdatePayloadDTO, options).then((request) => request(axios, basePath));
|
|
12388
|
+
},
|
|
12389
|
+
};
|
|
12390
|
+
};
|
|
12391
|
+
|
|
12392
|
+
/**
|
|
12393
|
+
* TagsApi - object-oriented interface
|
|
12394
|
+
* @export
|
|
12395
|
+
* @class TagsApi
|
|
12396
|
+
* @extends {BaseAPI}
|
|
12397
|
+
*/
|
|
12398
|
+
export class TagsApi extends BaseAPI {
|
|
12399
|
+
/**
|
|
12400
|
+
*
|
|
12401
|
+
* @param {TagPayloadDTO} tagPayloadDTO
|
|
12402
|
+
* @param {*} [options] Override http request option.
|
|
12403
|
+
* @throws {RequiredError}
|
|
12404
|
+
* @memberof TagsApi
|
|
12405
|
+
*/
|
|
12406
|
+
public tagsControllerCreateTag(tagPayloadDTO: TagPayloadDTO, options?: RawAxiosRequestConfig) {
|
|
12407
|
+
return TagsApiFp(this.configuration).tagsControllerCreateTag(tagPayloadDTO, options).then((request) => request(this.axios, this.basePath));
|
|
12408
|
+
}
|
|
12409
|
+
|
|
12410
|
+
/**
|
|
12411
|
+
*
|
|
12412
|
+
* @param {string} id
|
|
12413
|
+
* @param {*} [options] Override http request option.
|
|
12414
|
+
* @throws {RequiredError}
|
|
12415
|
+
* @memberof TagsApi
|
|
12416
|
+
*/
|
|
12417
|
+
public tagsControllerDeleteTagById(id: string, options?: RawAxiosRequestConfig) {
|
|
12418
|
+
return TagsApiFp(this.configuration).tagsControllerDeleteTagById(id, options).then((request) => request(this.axios, this.basePath));
|
|
12419
|
+
}
|
|
12420
|
+
|
|
12421
|
+
/**
|
|
12422
|
+
*
|
|
12423
|
+
* @param {number} page
|
|
12424
|
+
* @param {number} pageSize
|
|
12425
|
+
* @param {*} [options] Override http request option.
|
|
12426
|
+
* @throws {RequiredError}
|
|
12427
|
+
* @memberof TagsApi
|
|
12428
|
+
*/
|
|
12429
|
+
public tagsControllerFindTags(page: number, pageSize: number, options?: RawAxiosRequestConfig) {
|
|
12430
|
+
return TagsApiFp(this.configuration).tagsControllerFindTags(page, pageSize, options).then((request) => request(this.axios, this.basePath));
|
|
12431
|
+
}
|
|
12432
|
+
|
|
12433
|
+
/**
|
|
12434
|
+
*
|
|
12435
|
+
* @param {string} id
|
|
12436
|
+
* @param {*} [options] Override http request option.
|
|
12437
|
+
* @throws {RequiredError}
|
|
12438
|
+
* @memberof TagsApi
|
|
12439
|
+
*/
|
|
12440
|
+
public tagsControllerTagById(id: string, options?: RawAxiosRequestConfig) {
|
|
12441
|
+
return TagsApiFp(this.configuration).tagsControllerTagById(id, options).then((request) => request(this.axios, this.basePath));
|
|
12442
|
+
}
|
|
12443
|
+
|
|
12444
|
+
/**
|
|
12445
|
+
*
|
|
12446
|
+
* @param {TagUpdatePayloadDTO} tagUpdatePayloadDTO
|
|
12447
|
+
* @param {*} [options] Override http request option.
|
|
12448
|
+
* @throws {RequiredError}
|
|
12449
|
+
* @memberof TagsApi
|
|
12450
|
+
*/
|
|
12451
|
+
public tagsControllerUpdateTagById(tagUpdatePayloadDTO: TagUpdatePayloadDTO, options?: RawAxiosRequestConfig) {
|
|
12452
|
+
return TagsApiFp(this.configuration).tagsControllerUpdateTagById(tagUpdatePayloadDTO, options).then((request) => request(this.axios, this.basePath));
|
|
12453
|
+
}
|
|
12454
|
+
}
|
|
12455
|
+
|
|
12456
|
+
|
|
12457
|
+
|
|
12458
|
+
/**
|
|
12459
|
+
* TodoApi - axios parameter creator
|
|
12460
|
+
* @export
|
|
12461
|
+
*/
|
|
12462
|
+
export const TodoApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
12463
|
+
return {
|
|
12464
|
+
/**
|
|
12465
|
+
*
|
|
12466
|
+
* @param {string} id
|
|
12467
|
+
* @param {*} [options] Override http request option.
|
|
12468
|
+
* @throws {RequiredError}
|
|
12469
|
+
*/
|
|
12470
|
+
todoControllerAcceptTodo: async (id: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
12471
|
+
// verify required parameter 'id' is not null or undefined
|
|
12472
|
+
assertParamExists('todoControllerAcceptTodo', 'id', id)
|
|
12473
|
+
const localVarPath = `/v1/todo/{id}/accept`
|
|
12474
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
12475
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
12476
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
12477
|
+
let baseOptions;
|
|
12478
|
+
if (configuration) {
|
|
12479
|
+
baseOptions = configuration.baseOptions;
|
|
12480
|
+
}
|
|
12481
|
+
|
|
12482
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
12483
|
+
const localVarHeaderParameter = {} as any;
|
|
12484
|
+
const localVarQueryParameter = {} as any;
|
|
12485
|
+
|
|
12486
|
+
// authentication bearer required
|
|
12487
|
+
// http bearer authentication required
|
|
12488
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
12489
|
+
|
|
12490
|
+
|
|
12491
|
+
|
|
12492
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
12493
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
12494
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
12495
|
+
|
|
12496
|
+
return {
|
|
12497
|
+
url: toPathString(localVarUrlObj),
|
|
12498
|
+
options: localVarRequestOptions,
|
|
12499
|
+
};
|
|
12500
|
+
},
|
|
12501
|
+
/**
|
|
12502
|
+
*
|
|
12503
|
+
* @param {string} id
|
|
12504
|
+
* @param {AssignTaskPayload} assignTaskPayload
|
|
12505
|
+
* @param {*} [options] Override http request option.
|
|
12506
|
+
* @throws {RequiredError}
|
|
12507
|
+
*/
|
|
12508
|
+
todoControllerAssignTask: async (id: string, assignTaskPayload: AssignTaskPayload, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
12509
|
+
// verify required parameter 'id' is not null or undefined
|
|
12510
|
+
assertParamExists('todoControllerAssignTask', 'id', id)
|
|
12511
|
+
// verify required parameter 'assignTaskPayload' is not null or undefined
|
|
12512
|
+
assertParamExists('todoControllerAssignTask', 'assignTaskPayload', assignTaskPayload)
|
|
12513
|
+
const localVarPath = `/v1/todo/task/{id}/assign`
|
|
12514
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
12515
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
12516
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
12517
|
+
let baseOptions;
|
|
12518
|
+
if (configuration) {
|
|
12519
|
+
baseOptions = configuration.baseOptions;
|
|
12520
|
+
}
|
|
12521
|
+
|
|
12522
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
12523
|
+
const localVarHeaderParameter = {} as any;
|
|
12524
|
+
const localVarQueryParameter = {} as any;
|
|
12525
|
+
|
|
12526
|
+
// authentication bearer required
|
|
12527
|
+
// http bearer authentication required
|
|
12528
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
12529
|
+
|
|
12530
|
+
|
|
12531
|
+
|
|
12532
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
12533
|
+
|
|
12534
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
12535
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
12536
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
12537
|
+
localVarRequestOptions.data = serializeDataIfNeeded(assignTaskPayload, localVarRequestOptions, configuration)
|
|
12538
|
+
|
|
12539
|
+
return {
|
|
12540
|
+
url: toPathString(localVarUrlObj),
|
|
12541
|
+
options: localVarRequestOptions,
|
|
12542
|
+
};
|
|
12543
|
+
},
|
|
12544
|
+
/**
|
|
12545
|
+
*
|
|
12546
|
+
* @param {CreateTaskPayload} createTaskPayload
|
|
12547
|
+
* @param {*} [options] Override http request option.
|
|
12548
|
+
* @throws {RequiredError}
|
|
12549
|
+
*/
|
|
12550
|
+
todoControllerCreateTask: async (createTaskPayload: CreateTaskPayload, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
12551
|
+
// verify required parameter 'createTaskPayload' is not null or undefined
|
|
12552
|
+
assertParamExists('todoControllerCreateTask', 'createTaskPayload', createTaskPayload)
|
|
12553
|
+
const localVarPath = `/v1/todo/task`;
|
|
12554
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
12555
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
12556
|
+
let baseOptions;
|
|
12557
|
+
if (configuration) {
|
|
12558
|
+
baseOptions = configuration.baseOptions;
|
|
12559
|
+
}
|
|
12560
|
+
|
|
12561
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
12562
|
+
const localVarHeaderParameter = {} as any;
|
|
12563
|
+
const localVarQueryParameter = {} as any;
|
|
12564
|
+
|
|
12565
|
+
// authentication bearer required
|
|
12566
|
+
// http bearer authentication required
|
|
12567
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
12568
|
+
|
|
12569
|
+
|
|
12570
|
+
|
|
12571
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
12572
|
+
|
|
12573
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
12574
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
12575
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
12576
|
+
localVarRequestOptions.data = serializeDataIfNeeded(createTaskPayload, localVarRequestOptions, configuration)
|
|
12577
|
+
|
|
12578
|
+
return {
|
|
12579
|
+
url: toPathString(localVarUrlObj),
|
|
12580
|
+
options: localVarRequestOptions,
|
|
12581
|
+
};
|
|
12582
|
+
},
|
|
12583
|
+
/**
|
|
12584
|
+
*
|
|
12585
|
+
* @param {CreateTodoPayload} createTodoPayload
|
|
12586
|
+
* @param {*} [options] Override http request option.
|
|
12587
|
+
* @throws {RequiredError}
|
|
12588
|
+
*/
|
|
12589
|
+
todoControllerCreateTodo: async (createTodoPayload: CreateTodoPayload, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
12590
|
+
// verify required parameter 'createTodoPayload' is not null or undefined
|
|
12591
|
+
assertParamExists('todoControllerCreateTodo', 'createTodoPayload', createTodoPayload)
|
|
12592
|
+
const localVarPath = `/v1/todo`;
|
|
12593
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
12594
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
12595
|
+
let baseOptions;
|
|
12596
|
+
if (configuration) {
|
|
12597
|
+
baseOptions = configuration.baseOptions;
|
|
12598
|
+
}
|
|
12599
|
+
|
|
12600
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
12601
|
+
const localVarHeaderParameter = {} as any;
|
|
12602
|
+
const localVarQueryParameter = {} as any;
|
|
12603
|
+
|
|
12604
|
+
// authentication bearer required
|
|
12605
|
+
// http bearer authentication required
|
|
12606
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
12607
|
+
|
|
12608
|
+
|
|
12609
|
+
|
|
12610
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
12611
|
+
|
|
12612
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
12613
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
12614
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
12615
|
+
localVarRequestOptions.data = serializeDataIfNeeded(createTodoPayload, localVarRequestOptions, configuration)
|
|
12616
|
+
|
|
12617
|
+
return {
|
|
12618
|
+
url: toPathString(localVarUrlObj),
|
|
12619
|
+
options: localVarRequestOptions,
|
|
12620
|
+
};
|
|
12621
|
+
},
|
|
12622
|
+
/**
|
|
12623
|
+
*
|
|
12624
|
+
* @param {string} id
|
|
12625
|
+
* @param {*} [options] Override http request option.
|
|
12626
|
+
* @throws {RequiredError}
|
|
12627
|
+
*/
|
|
12628
|
+
todoControllerDeleteTask: async (id: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
12629
|
+
// verify required parameter 'id' is not null or undefined
|
|
12630
|
+
assertParamExists('todoControllerDeleteTask', 'id', id)
|
|
12631
|
+
const localVarPath = `/v1/todo/task/{id}`
|
|
12632
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
12633
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
12634
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
12635
|
+
let baseOptions;
|
|
12636
|
+
if (configuration) {
|
|
12637
|
+
baseOptions = configuration.baseOptions;
|
|
12638
|
+
}
|
|
12639
|
+
|
|
12640
|
+
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
|
|
12641
|
+
const localVarHeaderParameter = {} as any;
|
|
12642
|
+
const localVarQueryParameter = {} as any;
|
|
12643
|
+
|
|
12644
|
+
// authentication bearer required
|
|
12645
|
+
// http bearer authentication required
|
|
12646
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
12647
|
+
|
|
12648
|
+
|
|
12649
|
+
|
|
12650
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
12651
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
12652
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
12653
|
+
|
|
12654
|
+
return {
|
|
12655
|
+
url: toPathString(localVarUrlObj),
|
|
12656
|
+
options: localVarRequestOptions,
|
|
12657
|
+
};
|
|
12658
|
+
},
|
|
12659
|
+
/**
|
|
12660
|
+
*
|
|
12661
|
+
* @param {string} id
|
|
12662
|
+
* @param {*} [options] Override http request option.
|
|
12663
|
+
* @throws {RequiredError}
|
|
12664
|
+
*/
|
|
12665
|
+
todoControllerDeleteTodo: async (id: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
12666
|
+
// verify required parameter 'id' is not null or undefined
|
|
12667
|
+
assertParamExists('todoControllerDeleteTodo', 'id', id)
|
|
12668
|
+
const localVarPath = `/v1/todo/{id}`
|
|
12669
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
12670
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
12671
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
12672
|
+
let baseOptions;
|
|
12673
|
+
if (configuration) {
|
|
12674
|
+
baseOptions = configuration.baseOptions;
|
|
12675
|
+
}
|
|
12676
|
+
|
|
12677
|
+
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
|
|
12678
|
+
const localVarHeaderParameter = {} as any;
|
|
12679
|
+
const localVarQueryParameter = {} as any;
|
|
12680
|
+
|
|
12681
|
+
// authentication bearer required
|
|
12682
|
+
// http bearer authentication required
|
|
12683
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
12684
|
+
|
|
12685
|
+
|
|
12686
|
+
|
|
12687
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
12688
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
12689
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
12690
|
+
|
|
12691
|
+
return {
|
|
12692
|
+
url: toPathString(localVarUrlObj),
|
|
12693
|
+
options: localVarRequestOptions,
|
|
12694
|
+
};
|
|
12695
|
+
},
|
|
12696
|
+
/**
|
|
12697
|
+
*
|
|
12698
|
+
* @param {string} id
|
|
12699
|
+
* @param {AddCollaboratorPayload} addCollaboratorPayload
|
|
12700
|
+
* @param {*} [options] Override http request option.
|
|
12701
|
+
* @throws {RequiredError}
|
|
12702
|
+
*/
|
|
12703
|
+
todoControllerInviteCollaborator: async (id: string, addCollaboratorPayload: AddCollaboratorPayload, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
11943
12704
|
// verify required parameter 'id' is not null or undefined
|
|
11944
12705
|
assertParamExists('todoControllerInviteCollaborator', 'id', id)
|
|
11945
12706
|
// verify required parameter 'addCollaboratorPayload' is not null or undefined
|
|
@@ -13410,56 +14171,334 @@ export class UsersApi extends BaseAPI {
|
|
|
13410
14171
|
|
|
13411
14172
|
/**
|
|
13412
14173
|
*
|
|
13413
|
-
* @param {UserSyncDTO} userSyncDTO
|
|
14174
|
+
* @param {UserSyncDTO} userSyncDTO
|
|
14175
|
+
* @param {*} [options] Override http request option.
|
|
14176
|
+
* @throws {RequiredError}
|
|
14177
|
+
* @memberof UsersApi
|
|
14178
|
+
*/
|
|
14179
|
+
public usersControllerSyncUserInfo(userSyncDTO: UserSyncDTO, options?: RawAxiosRequestConfig) {
|
|
14180
|
+
return UsersApiFp(this.configuration).usersControllerSyncUserInfo(userSyncDTO, options).then((request) => request(this.axios, this.basePath));
|
|
14181
|
+
}
|
|
14182
|
+
|
|
14183
|
+
/**
|
|
14184
|
+
*
|
|
14185
|
+
* @param {UserPermissionDTO} userPermissionDTO
|
|
14186
|
+
* @param {*} [options] Override http request option.
|
|
14187
|
+
* @throws {RequiredError}
|
|
14188
|
+
* @memberof UsersApi
|
|
14189
|
+
*/
|
|
14190
|
+
public usersControllerSyncUserPermissions(userPermissionDTO: UserPermissionDTO, options?: RawAxiosRequestConfig) {
|
|
14191
|
+
return UsersApiFp(this.configuration).usersControllerSyncUserPermissions(userPermissionDTO, options).then((request) => request(this.axios, this.basePath));
|
|
14192
|
+
}
|
|
14193
|
+
|
|
14194
|
+
/**
|
|
14195
|
+
*
|
|
14196
|
+
* @param {string} id User id
|
|
14197
|
+
* @param {*} [options] Override http request option.
|
|
14198
|
+
* @throws {RequiredError}
|
|
14199
|
+
* @memberof UsersApi
|
|
14200
|
+
*/
|
|
14201
|
+
public usersControllerUserActivity(id: string, options?: RawAxiosRequestConfig) {
|
|
14202
|
+
return UsersApiFp(this.configuration).usersControllerUserActivity(id, options).then((request) => request(this.axios, this.basePath));
|
|
14203
|
+
}
|
|
14204
|
+
}
|
|
14205
|
+
|
|
14206
|
+
|
|
14207
|
+
|
|
14208
|
+
/**
|
|
14209
|
+
* WaitlistApi - axios parameter creator
|
|
14210
|
+
* @export
|
|
14211
|
+
*/
|
|
14212
|
+
export const WaitlistApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
14213
|
+
return {
|
|
14214
|
+
/**
|
|
14215
|
+
*
|
|
14216
|
+
* @param {WaitlistPayloadDTO} waitlistPayloadDTO
|
|
14217
|
+
* @param {*} [options] Override http request option.
|
|
14218
|
+
* @throws {RequiredError}
|
|
14219
|
+
*/
|
|
14220
|
+
waitlistControllerAddWaitlist: async (waitlistPayloadDTO: WaitlistPayloadDTO, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
14221
|
+
// verify required parameter 'waitlistPayloadDTO' is not null or undefined
|
|
14222
|
+
assertParamExists('waitlistControllerAddWaitlist', 'waitlistPayloadDTO', waitlistPayloadDTO)
|
|
14223
|
+
const localVarPath = `/v1/waitlist`;
|
|
14224
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
14225
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
14226
|
+
let baseOptions;
|
|
14227
|
+
if (configuration) {
|
|
14228
|
+
baseOptions = configuration.baseOptions;
|
|
14229
|
+
}
|
|
14230
|
+
|
|
14231
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
14232
|
+
const localVarHeaderParameter = {} as any;
|
|
14233
|
+
const localVarQueryParameter = {} as any;
|
|
14234
|
+
|
|
14235
|
+
// authentication bearer required
|
|
14236
|
+
// http bearer authentication required
|
|
14237
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
14238
|
+
|
|
14239
|
+
|
|
14240
|
+
|
|
14241
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
14242
|
+
|
|
14243
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
14244
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
14245
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
14246
|
+
localVarRequestOptions.data = serializeDataIfNeeded(waitlistPayloadDTO, localVarRequestOptions, configuration)
|
|
14247
|
+
|
|
14248
|
+
return {
|
|
14249
|
+
url: toPathString(localVarUrlObj),
|
|
14250
|
+
options: localVarRequestOptions,
|
|
14251
|
+
};
|
|
14252
|
+
},
|
|
14253
|
+
/**
|
|
14254
|
+
*
|
|
14255
|
+
* @param {string} id
|
|
14256
|
+
* @param {WaitlistPayloadDTO} waitlistPayloadDTO
|
|
14257
|
+
* @param {*} [options] Override http request option.
|
|
14258
|
+
* @throws {RequiredError}
|
|
14259
|
+
*/
|
|
14260
|
+
waitlistControllerAvailableSlots: async (id: string, waitlistPayloadDTO: WaitlistPayloadDTO, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
14261
|
+
// verify required parameter 'id' is not null or undefined
|
|
14262
|
+
assertParamExists('waitlistControllerAvailableSlots', 'id', id)
|
|
14263
|
+
// verify required parameter 'waitlistPayloadDTO' is not null or undefined
|
|
14264
|
+
assertParamExists('waitlistControllerAvailableSlots', 'waitlistPayloadDTO', waitlistPayloadDTO)
|
|
14265
|
+
const localVarPath = `/v1/waitlist/{id}`
|
|
14266
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
14267
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
14268
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
14269
|
+
let baseOptions;
|
|
14270
|
+
if (configuration) {
|
|
14271
|
+
baseOptions = configuration.baseOptions;
|
|
14272
|
+
}
|
|
14273
|
+
|
|
14274
|
+
const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
|
|
14275
|
+
const localVarHeaderParameter = {} as any;
|
|
14276
|
+
const localVarQueryParameter = {} as any;
|
|
14277
|
+
|
|
14278
|
+
// authentication bearer required
|
|
14279
|
+
// http bearer authentication required
|
|
14280
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
14281
|
+
|
|
14282
|
+
|
|
14283
|
+
|
|
14284
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
14285
|
+
|
|
14286
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
14287
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
14288
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
14289
|
+
localVarRequestOptions.data = serializeDataIfNeeded(waitlistPayloadDTO, localVarRequestOptions, configuration)
|
|
14290
|
+
|
|
14291
|
+
return {
|
|
14292
|
+
url: toPathString(localVarUrlObj),
|
|
14293
|
+
options: localVarRequestOptions,
|
|
14294
|
+
};
|
|
14295
|
+
},
|
|
14296
|
+
/**
|
|
14297
|
+
*
|
|
14298
|
+
* @param {number} page
|
|
14299
|
+
* @param {number} pageSize
|
|
14300
|
+
* @param {string} [search]
|
|
14301
|
+
* @param {*} [options] Override http request option.
|
|
14302
|
+
* @throws {RequiredError}
|
|
14303
|
+
*/
|
|
14304
|
+
waitlistControllerFindBusinessStaffs: async (page: number, pageSize: number, search?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
14305
|
+
// verify required parameter 'page' is not null or undefined
|
|
14306
|
+
assertParamExists('waitlistControllerFindBusinessStaffs', 'page', page)
|
|
14307
|
+
// verify required parameter 'pageSize' is not null or undefined
|
|
14308
|
+
assertParamExists('waitlistControllerFindBusinessStaffs', 'pageSize', pageSize)
|
|
14309
|
+
const localVarPath = `/v1/waitlist`;
|
|
14310
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
14311
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
14312
|
+
let baseOptions;
|
|
14313
|
+
if (configuration) {
|
|
14314
|
+
baseOptions = configuration.baseOptions;
|
|
14315
|
+
}
|
|
14316
|
+
|
|
14317
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
14318
|
+
const localVarHeaderParameter = {} as any;
|
|
14319
|
+
const localVarQueryParameter = {} as any;
|
|
14320
|
+
|
|
14321
|
+
// authentication bearer required
|
|
14322
|
+
// http bearer authentication required
|
|
14323
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
14324
|
+
|
|
14325
|
+
if (page !== undefined) {
|
|
14326
|
+
localVarQueryParameter['page'] = page;
|
|
14327
|
+
}
|
|
14328
|
+
|
|
14329
|
+
if (pageSize !== undefined) {
|
|
14330
|
+
localVarQueryParameter['pageSize'] = pageSize;
|
|
14331
|
+
}
|
|
14332
|
+
|
|
14333
|
+
if (search !== undefined) {
|
|
14334
|
+
localVarQueryParameter['search'] = search;
|
|
14335
|
+
}
|
|
14336
|
+
|
|
14337
|
+
|
|
14338
|
+
|
|
14339
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
14340
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
14341
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
14342
|
+
|
|
14343
|
+
return {
|
|
14344
|
+
url: toPathString(localVarUrlObj),
|
|
14345
|
+
options: localVarRequestOptions,
|
|
14346
|
+
};
|
|
14347
|
+
},
|
|
14348
|
+
}
|
|
14349
|
+
};
|
|
14350
|
+
|
|
14351
|
+
/**
|
|
14352
|
+
* WaitlistApi - functional programming interface
|
|
14353
|
+
* @export
|
|
14354
|
+
*/
|
|
14355
|
+
export const WaitlistApiFp = function(configuration?: Configuration) {
|
|
14356
|
+
const localVarAxiosParamCreator = WaitlistApiAxiosParamCreator(configuration)
|
|
14357
|
+
return {
|
|
14358
|
+
/**
|
|
14359
|
+
*
|
|
14360
|
+
* @param {WaitlistPayloadDTO} waitlistPayloadDTO
|
|
14361
|
+
* @param {*} [options] Override http request option.
|
|
14362
|
+
* @throws {RequiredError}
|
|
14363
|
+
*/
|
|
14364
|
+
async waitlistControllerAddWaitlist(waitlistPayloadDTO: WaitlistPayloadDTO, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WaitlistResponseDTO>> {
|
|
14365
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.waitlistControllerAddWaitlist(waitlistPayloadDTO, options);
|
|
14366
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
14367
|
+
const localVarOperationServerBasePath = operationServerMap['WaitlistApi.waitlistControllerAddWaitlist']?.[localVarOperationServerIndex]?.url;
|
|
14368
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
14369
|
+
},
|
|
14370
|
+
/**
|
|
14371
|
+
*
|
|
14372
|
+
* @param {string} id
|
|
14373
|
+
* @param {WaitlistPayloadDTO} waitlistPayloadDTO
|
|
14374
|
+
* @param {*} [options] Override http request option.
|
|
14375
|
+
* @throws {RequiredError}
|
|
14376
|
+
*/
|
|
14377
|
+
async waitlistControllerAvailableSlots(id: string, waitlistPayloadDTO: WaitlistPayloadDTO, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WaitlistResponseDTO>> {
|
|
14378
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.waitlistControllerAvailableSlots(id, waitlistPayloadDTO, options);
|
|
14379
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
14380
|
+
const localVarOperationServerBasePath = operationServerMap['WaitlistApi.waitlistControllerAvailableSlots']?.[localVarOperationServerIndex]?.url;
|
|
14381
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
14382
|
+
},
|
|
14383
|
+
/**
|
|
14384
|
+
*
|
|
14385
|
+
* @param {number} page
|
|
14386
|
+
* @param {number} pageSize
|
|
14387
|
+
* @param {string} [search]
|
|
14388
|
+
* @param {*} [options] Override http request option.
|
|
14389
|
+
* @throws {RequiredError}
|
|
14390
|
+
*/
|
|
14391
|
+
async waitlistControllerFindBusinessStaffs(page: number, pageSize: number, search?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WhitelistsResponseDTO>> {
|
|
14392
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.waitlistControllerFindBusinessStaffs(page, pageSize, search, options);
|
|
14393
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
14394
|
+
const localVarOperationServerBasePath = operationServerMap['WaitlistApi.waitlistControllerFindBusinessStaffs']?.[localVarOperationServerIndex]?.url;
|
|
14395
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
14396
|
+
},
|
|
14397
|
+
}
|
|
14398
|
+
};
|
|
14399
|
+
|
|
14400
|
+
/**
|
|
14401
|
+
* WaitlistApi - factory interface
|
|
14402
|
+
* @export
|
|
14403
|
+
*/
|
|
14404
|
+
export const WaitlistApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
14405
|
+
const localVarFp = WaitlistApiFp(configuration)
|
|
14406
|
+
return {
|
|
14407
|
+
/**
|
|
14408
|
+
*
|
|
14409
|
+
* @param {WaitlistPayloadDTO} waitlistPayloadDTO
|
|
14410
|
+
* @param {*} [options] Override http request option.
|
|
14411
|
+
* @throws {RequiredError}
|
|
14412
|
+
*/
|
|
14413
|
+
waitlistControllerAddWaitlist(waitlistPayloadDTO: WaitlistPayloadDTO, options?: RawAxiosRequestConfig): AxiosPromise<WaitlistResponseDTO> {
|
|
14414
|
+
return localVarFp.waitlistControllerAddWaitlist(waitlistPayloadDTO, options).then((request) => request(axios, basePath));
|
|
14415
|
+
},
|
|
14416
|
+
/**
|
|
14417
|
+
*
|
|
14418
|
+
* @param {string} id
|
|
14419
|
+
* @param {WaitlistPayloadDTO} waitlistPayloadDTO
|
|
14420
|
+
* @param {*} [options] Override http request option.
|
|
14421
|
+
* @throws {RequiredError}
|
|
14422
|
+
*/
|
|
14423
|
+
waitlistControllerAvailableSlots(id: string, waitlistPayloadDTO: WaitlistPayloadDTO, options?: RawAxiosRequestConfig): AxiosPromise<WaitlistResponseDTO> {
|
|
14424
|
+
return localVarFp.waitlistControllerAvailableSlots(id, waitlistPayloadDTO, options).then((request) => request(axios, basePath));
|
|
14425
|
+
},
|
|
14426
|
+
/**
|
|
14427
|
+
*
|
|
14428
|
+
* @param {number} page
|
|
14429
|
+
* @param {number} pageSize
|
|
14430
|
+
* @param {string} [search]
|
|
14431
|
+
* @param {*} [options] Override http request option.
|
|
14432
|
+
* @throws {RequiredError}
|
|
14433
|
+
*/
|
|
14434
|
+
waitlistControllerFindBusinessStaffs(page: number, pageSize: number, search?: string, options?: RawAxiosRequestConfig): AxiosPromise<WhitelistsResponseDTO> {
|
|
14435
|
+
return localVarFp.waitlistControllerFindBusinessStaffs(page, pageSize, search, options).then((request) => request(axios, basePath));
|
|
14436
|
+
},
|
|
14437
|
+
};
|
|
14438
|
+
};
|
|
14439
|
+
|
|
14440
|
+
/**
|
|
14441
|
+
* WaitlistApi - object-oriented interface
|
|
14442
|
+
* @export
|
|
14443
|
+
* @class WaitlistApi
|
|
14444
|
+
* @extends {BaseAPI}
|
|
14445
|
+
*/
|
|
14446
|
+
export class WaitlistApi extends BaseAPI {
|
|
14447
|
+
/**
|
|
14448
|
+
*
|
|
14449
|
+
* @param {WaitlistPayloadDTO} waitlistPayloadDTO
|
|
13414
14450
|
* @param {*} [options] Override http request option.
|
|
13415
14451
|
* @throws {RequiredError}
|
|
13416
|
-
* @memberof
|
|
14452
|
+
* @memberof WaitlistApi
|
|
13417
14453
|
*/
|
|
13418
|
-
public
|
|
13419
|
-
return
|
|
14454
|
+
public waitlistControllerAddWaitlist(waitlistPayloadDTO: WaitlistPayloadDTO, options?: RawAxiosRequestConfig) {
|
|
14455
|
+
return WaitlistApiFp(this.configuration).waitlistControllerAddWaitlist(waitlistPayloadDTO, options).then((request) => request(this.axios, this.basePath));
|
|
13420
14456
|
}
|
|
13421
14457
|
|
|
13422
14458
|
/**
|
|
13423
14459
|
*
|
|
13424
|
-
* @param {
|
|
14460
|
+
* @param {string} id
|
|
14461
|
+
* @param {WaitlistPayloadDTO} waitlistPayloadDTO
|
|
13425
14462
|
* @param {*} [options] Override http request option.
|
|
13426
14463
|
* @throws {RequiredError}
|
|
13427
|
-
* @memberof
|
|
14464
|
+
* @memberof WaitlistApi
|
|
13428
14465
|
*/
|
|
13429
|
-
public
|
|
13430
|
-
return
|
|
14466
|
+
public waitlistControllerAvailableSlots(id: string, waitlistPayloadDTO: WaitlistPayloadDTO, options?: RawAxiosRequestConfig) {
|
|
14467
|
+
return WaitlistApiFp(this.configuration).waitlistControllerAvailableSlots(id, waitlistPayloadDTO, options).then((request) => request(this.axios, this.basePath));
|
|
13431
14468
|
}
|
|
13432
14469
|
|
|
13433
14470
|
/**
|
|
13434
14471
|
*
|
|
13435
|
-
* @param {
|
|
14472
|
+
* @param {number} page
|
|
14473
|
+
* @param {number} pageSize
|
|
14474
|
+
* @param {string} [search]
|
|
13436
14475
|
* @param {*} [options] Override http request option.
|
|
13437
14476
|
* @throws {RequiredError}
|
|
13438
|
-
* @memberof
|
|
14477
|
+
* @memberof WaitlistApi
|
|
13439
14478
|
*/
|
|
13440
|
-
public
|
|
13441
|
-
return
|
|
14479
|
+
public waitlistControllerFindBusinessStaffs(page: number, pageSize: number, search?: string, options?: RawAxiosRequestConfig) {
|
|
14480
|
+
return WaitlistApiFp(this.configuration).waitlistControllerFindBusinessStaffs(page, pageSize, search, options).then((request) => request(this.axios, this.basePath));
|
|
13442
14481
|
}
|
|
13443
14482
|
}
|
|
13444
14483
|
|
|
13445
14484
|
|
|
13446
14485
|
|
|
13447
14486
|
/**
|
|
13448
|
-
*
|
|
14487
|
+
* WhatsOnApi - axios parameter creator
|
|
13449
14488
|
* @export
|
|
13450
14489
|
*/
|
|
13451
|
-
export const
|
|
14490
|
+
export const WhatsOnApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
13452
14491
|
return {
|
|
13453
14492
|
/**
|
|
13454
14493
|
*
|
|
13455
|
-
* @param {
|
|
14494
|
+
* @param {WhatsOnPayloadDTO} whatsOnPayloadDTO
|
|
13456
14495
|
* @param {*} [options] Override http request option.
|
|
13457
14496
|
* @throws {RequiredError}
|
|
13458
14497
|
*/
|
|
13459
|
-
|
|
13460
|
-
// verify required parameter '
|
|
13461
|
-
assertParamExists('
|
|
13462
|
-
const localVarPath = `/v1/
|
|
14498
|
+
whatsOnControllerCreateTag: async (whatsOnPayloadDTO: WhatsOnPayloadDTO, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
14499
|
+
// verify required parameter 'whatsOnPayloadDTO' is not null or undefined
|
|
14500
|
+
assertParamExists('whatsOnControllerCreateTag', 'whatsOnPayloadDTO', whatsOnPayloadDTO)
|
|
14501
|
+
const localVarPath = `/v1/whats-on`;
|
|
13463
14502
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
13464
14503
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
13465
14504
|
let baseOptions;
|
|
@@ -13482,7 +14521,7 @@ export const WaitlistApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
13482
14521
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
13483
14522
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
13484
14523
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
13485
|
-
localVarRequestOptions.data = serializeDataIfNeeded(
|
|
14524
|
+
localVarRequestOptions.data = serializeDataIfNeeded(whatsOnPayloadDTO, localVarRequestOptions, configuration)
|
|
13486
14525
|
|
|
13487
14526
|
return {
|
|
13488
14527
|
url: toPathString(localVarUrlObj),
|
|
@@ -13492,16 +14531,13 @@ export const WaitlistApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
13492
14531
|
/**
|
|
13493
14532
|
*
|
|
13494
14533
|
* @param {string} id
|
|
13495
|
-
* @param {WaitlistPayloadDTO} waitlistPayloadDTO
|
|
13496
14534
|
* @param {*} [options] Override http request option.
|
|
13497
14535
|
* @throws {RequiredError}
|
|
13498
14536
|
*/
|
|
13499
|
-
|
|
14537
|
+
whatsOnControllerDeleteTagById: async (id: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
13500
14538
|
// verify required parameter 'id' is not null or undefined
|
|
13501
|
-
assertParamExists('
|
|
13502
|
-
|
|
13503
|
-
assertParamExists('waitlistControllerAvailableSlots', 'waitlistPayloadDTO', waitlistPayloadDTO)
|
|
13504
|
-
const localVarPath = `/v1/waitlist/{id}`
|
|
14539
|
+
assertParamExists('whatsOnControllerDeleteTagById', 'id', id)
|
|
14540
|
+
const localVarPath = `/v1/whats-on/{id}`
|
|
13505
14541
|
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
13506
14542
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
13507
14543
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -13510,7 +14546,43 @@ export const WaitlistApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
13510
14546
|
baseOptions = configuration.baseOptions;
|
|
13511
14547
|
}
|
|
13512
14548
|
|
|
13513
|
-
const localVarRequestOptions = { method: '
|
|
14549
|
+
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
|
|
14550
|
+
const localVarHeaderParameter = {} as any;
|
|
14551
|
+
const localVarQueryParameter = {} as any;
|
|
14552
|
+
|
|
14553
|
+
// authentication bearer required
|
|
14554
|
+
// http bearer authentication required
|
|
14555
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
14556
|
+
|
|
14557
|
+
|
|
14558
|
+
|
|
14559
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
14560
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
14561
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
14562
|
+
|
|
14563
|
+
return {
|
|
14564
|
+
url: toPathString(localVarUrlObj),
|
|
14565
|
+
options: localVarRequestOptions,
|
|
14566
|
+
};
|
|
14567
|
+
},
|
|
14568
|
+
/**
|
|
14569
|
+
*
|
|
14570
|
+
* @param {WhatsOnFindDTO} whatsOnFindDTO
|
|
14571
|
+
* @param {*} [options] Override http request option.
|
|
14572
|
+
* @throws {RequiredError}
|
|
14573
|
+
*/
|
|
14574
|
+
whatsOnControllerFindTags: async (whatsOnFindDTO: WhatsOnFindDTO, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
14575
|
+
// verify required parameter 'whatsOnFindDTO' is not null or undefined
|
|
14576
|
+
assertParamExists('whatsOnControllerFindTags', 'whatsOnFindDTO', whatsOnFindDTO)
|
|
14577
|
+
const localVarPath = `/v1/whats-on/list`;
|
|
14578
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
14579
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
14580
|
+
let baseOptions;
|
|
14581
|
+
if (configuration) {
|
|
14582
|
+
baseOptions = configuration.baseOptions;
|
|
14583
|
+
}
|
|
14584
|
+
|
|
14585
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
13514
14586
|
const localVarHeaderParameter = {} as any;
|
|
13515
14587
|
const localVarQueryParameter = {} as any;
|
|
13516
14588
|
|
|
@@ -13525,7 +14597,7 @@ export const WaitlistApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
13525
14597
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
13526
14598
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
13527
14599
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
13528
|
-
localVarRequestOptions.data = serializeDataIfNeeded(
|
|
14600
|
+
localVarRequestOptions.data = serializeDataIfNeeded(whatsOnFindDTO, localVarRequestOptions, configuration)
|
|
13529
14601
|
|
|
13530
14602
|
return {
|
|
13531
14603
|
url: toPathString(localVarUrlObj),
|
|
@@ -13534,18 +14606,15 @@ export const WaitlistApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
13534
14606
|
},
|
|
13535
14607
|
/**
|
|
13536
14608
|
*
|
|
13537
|
-
* @param {
|
|
13538
|
-
* @param {number} pageSize
|
|
13539
|
-
* @param {string} [search]
|
|
14609
|
+
* @param {string} id
|
|
13540
14610
|
* @param {*} [options] Override http request option.
|
|
13541
14611
|
* @throws {RequiredError}
|
|
13542
14612
|
*/
|
|
13543
|
-
|
|
13544
|
-
// verify required parameter '
|
|
13545
|
-
assertParamExists('
|
|
13546
|
-
|
|
13547
|
-
|
|
13548
|
-
const localVarPath = `/v1/waitlist`;
|
|
14613
|
+
whatsOnControllerTagById: async (id: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
14614
|
+
// verify required parameter 'id' is not null or undefined
|
|
14615
|
+
assertParamExists('whatsOnControllerTagById', 'id', id)
|
|
14616
|
+
const localVarPath = `/v1/whats-on/{id}`
|
|
14617
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
13549
14618
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
13550
14619
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
13551
14620
|
let baseOptions;
|
|
@@ -13561,23 +14630,54 @@ export const WaitlistApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
13561
14630
|
// http bearer authentication required
|
|
13562
14631
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
13563
14632
|
|
|
13564
|
-
if (page !== undefined) {
|
|
13565
|
-
localVarQueryParameter['page'] = page;
|
|
13566
|
-
}
|
|
13567
14633
|
|
|
13568
|
-
|
|
13569
|
-
|
|
13570
|
-
}
|
|
14634
|
+
|
|
14635
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
14636
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
14637
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
13571
14638
|
|
|
13572
|
-
|
|
13573
|
-
|
|
14639
|
+
return {
|
|
14640
|
+
url: toPathString(localVarUrlObj),
|
|
14641
|
+
options: localVarRequestOptions,
|
|
14642
|
+
};
|
|
14643
|
+
},
|
|
14644
|
+
/**
|
|
14645
|
+
*
|
|
14646
|
+
* @param {string} id
|
|
14647
|
+
* @param {WhatsOnPayloadDTO} whatsOnPayloadDTO
|
|
14648
|
+
* @param {*} [options] Override http request option.
|
|
14649
|
+
* @throws {RequiredError}
|
|
14650
|
+
*/
|
|
14651
|
+
whatsOnControllerUpdateTagById: async (id: string, whatsOnPayloadDTO: WhatsOnPayloadDTO, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
14652
|
+
// verify required parameter 'id' is not null or undefined
|
|
14653
|
+
assertParamExists('whatsOnControllerUpdateTagById', 'id', id)
|
|
14654
|
+
// verify required parameter 'whatsOnPayloadDTO' is not null or undefined
|
|
14655
|
+
assertParamExists('whatsOnControllerUpdateTagById', 'whatsOnPayloadDTO', whatsOnPayloadDTO)
|
|
14656
|
+
const localVarPath = `/v1/whats-on/{id}`
|
|
14657
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
14658
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
14659
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
14660
|
+
let baseOptions;
|
|
14661
|
+
if (configuration) {
|
|
14662
|
+
baseOptions = configuration.baseOptions;
|
|
13574
14663
|
}
|
|
13575
14664
|
|
|
14665
|
+
const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
|
|
14666
|
+
const localVarHeaderParameter = {} as any;
|
|
14667
|
+
const localVarQueryParameter = {} as any;
|
|
14668
|
+
|
|
14669
|
+
// authentication bearer required
|
|
14670
|
+
// http bearer authentication required
|
|
14671
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
14672
|
+
|
|
13576
14673
|
|
|
13577
14674
|
|
|
14675
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
14676
|
+
|
|
13578
14677
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
13579
14678
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
13580
14679
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
14680
|
+
localVarRequestOptions.data = serializeDataIfNeeded(whatsOnPayloadDTO, localVarRequestOptions, configuration)
|
|
13581
14681
|
|
|
13582
14682
|
return {
|
|
13583
14683
|
url: toPathString(localVarUrlObj),
|
|
@@ -13588,135 +14688,193 @@ export const WaitlistApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
13588
14688
|
};
|
|
13589
14689
|
|
|
13590
14690
|
/**
|
|
13591
|
-
*
|
|
14691
|
+
* WhatsOnApi - functional programming interface
|
|
13592
14692
|
* @export
|
|
13593
14693
|
*/
|
|
13594
|
-
export const
|
|
13595
|
-
const localVarAxiosParamCreator =
|
|
14694
|
+
export const WhatsOnApiFp = function(configuration?: Configuration) {
|
|
14695
|
+
const localVarAxiosParamCreator = WhatsOnApiAxiosParamCreator(configuration)
|
|
13596
14696
|
return {
|
|
13597
14697
|
/**
|
|
13598
14698
|
*
|
|
13599
|
-
* @param {
|
|
14699
|
+
* @param {WhatsOnPayloadDTO} whatsOnPayloadDTO
|
|
13600
14700
|
* @param {*} [options] Override http request option.
|
|
13601
14701
|
* @throws {RequiredError}
|
|
13602
14702
|
*/
|
|
13603
|
-
async
|
|
13604
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
14703
|
+
async whatsOnControllerCreateTag(whatsOnPayloadDTO: WhatsOnPayloadDTO, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WhatsOnDTO>> {
|
|
14704
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.whatsOnControllerCreateTag(whatsOnPayloadDTO, options);
|
|
13605
14705
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
13606
|
-
const localVarOperationServerBasePath = operationServerMap['
|
|
14706
|
+
const localVarOperationServerBasePath = operationServerMap['WhatsOnApi.whatsOnControllerCreateTag']?.[localVarOperationServerIndex]?.url;
|
|
13607
14707
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
13608
14708
|
},
|
|
13609
14709
|
/**
|
|
13610
14710
|
*
|
|
13611
14711
|
* @param {string} id
|
|
13612
|
-
* @param {WaitlistPayloadDTO} waitlistPayloadDTO
|
|
13613
14712
|
* @param {*} [options] Override http request option.
|
|
13614
14713
|
* @throws {RequiredError}
|
|
13615
14714
|
*/
|
|
13616
|
-
async
|
|
13617
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
14715
|
+
async whatsOnControllerDeleteTagById(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WhatsOnDeleteResponseDTO>> {
|
|
14716
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.whatsOnControllerDeleteTagById(id, options);
|
|
13618
14717
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
13619
|
-
const localVarOperationServerBasePath = operationServerMap['
|
|
14718
|
+
const localVarOperationServerBasePath = operationServerMap['WhatsOnApi.whatsOnControllerDeleteTagById']?.[localVarOperationServerIndex]?.url;
|
|
13620
14719
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
13621
14720
|
},
|
|
13622
14721
|
/**
|
|
13623
14722
|
*
|
|
13624
|
-
* @param {
|
|
13625
|
-
* @param {number} pageSize
|
|
13626
|
-
* @param {string} [search]
|
|
14723
|
+
* @param {WhatsOnFindDTO} whatsOnFindDTO
|
|
13627
14724
|
* @param {*} [options] Override http request option.
|
|
13628
14725
|
* @throws {RequiredError}
|
|
13629
14726
|
*/
|
|
13630
|
-
async
|
|
13631
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
14727
|
+
async whatsOnControllerFindTags(whatsOnFindDTO: WhatsOnFindDTO, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WhatsOnResponseDTO>> {
|
|
14728
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.whatsOnControllerFindTags(whatsOnFindDTO, options);
|
|
13632
14729
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
13633
|
-
const localVarOperationServerBasePath = operationServerMap['
|
|
14730
|
+
const localVarOperationServerBasePath = operationServerMap['WhatsOnApi.whatsOnControllerFindTags']?.[localVarOperationServerIndex]?.url;
|
|
14731
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
14732
|
+
},
|
|
14733
|
+
/**
|
|
14734
|
+
*
|
|
14735
|
+
* @param {string} id
|
|
14736
|
+
* @param {*} [options] Override http request option.
|
|
14737
|
+
* @throws {RequiredError}
|
|
14738
|
+
*/
|
|
14739
|
+
async whatsOnControllerTagById(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WhatsOnDTO>> {
|
|
14740
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.whatsOnControllerTagById(id, options);
|
|
14741
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
14742
|
+
const localVarOperationServerBasePath = operationServerMap['WhatsOnApi.whatsOnControllerTagById']?.[localVarOperationServerIndex]?.url;
|
|
14743
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
14744
|
+
},
|
|
14745
|
+
/**
|
|
14746
|
+
*
|
|
14747
|
+
* @param {string} id
|
|
14748
|
+
* @param {WhatsOnPayloadDTO} whatsOnPayloadDTO
|
|
14749
|
+
* @param {*} [options] Override http request option.
|
|
14750
|
+
* @throws {RequiredError}
|
|
14751
|
+
*/
|
|
14752
|
+
async whatsOnControllerUpdateTagById(id: string, whatsOnPayloadDTO: WhatsOnPayloadDTO, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WhatsOnDTO>> {
|
|
14753
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.whatsOnControllerUpdateTagById(id, whatsOnPayloadDTO, options);
|
|
14754
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
14755
|
+
const localVarOperationServerBasePath = operationServerMap['WhatsOnApi.whatsOnControllerUpdateTagById']?.[localVarOperationServerIndex]?.url;
|
|
13634
14756
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
13635
14757
|
},
|
|
13636
14758
|
}
|
|
13637
14759
|
};
|
|
13638
14760
|
|
|
13639
14761
|
/**
|
|
13640
|
-
*
|
|
14762
|
+
* WhatsOnApi - factory interface
|
|
13641
14763
|
* @export
|
|
13642
14764
|
*/
|
|
13643
|
-
export const
|
|
13644
|
-
const localVarFp =
|
|
14765
|
+
export const WhatsOnApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
14766
|
+
const localVarFp = WhatsOnApiFp(configuration)
|
|
13645
14767
|
return {
|
|
13646
14768
|
/**
|
|
13647
14769
|
*
|
|
13648
|
-
* @param {
|
|
14770
|
+
* @param {WhatsOnPayloadDTO} whatsOnPayloadDTO
|
|
13649
14771
|
* @param {*} [options] Override http request option.
|
|
13650
14772
|
* @throws {RequiredError}
|
|
13651
14773
|
*/
|
|
13652
|
-
|
|
13653
|
-
return localVarFp.
|
|
14774
|
+
whatsOnControllerCreateTag(whatsOnPayloadDTO: WhatsOnPayloadDTO, options?: RawAxiosRequestConfig): AxiosPromise<WhatsOnDTO> {
|
|
14775
|
+
return localVarFp.whatsOnControllerCreateTag(whatsOnPayloadDTO, options).then((request) => request(axios, basePath));
|
|
13654
14776
|
},
|
|
13655
14777
|
/**
|
|
13656
14778
|
*
|
|
13657
14779
|
* @param {string} id
|
|
13658
|
-
* @param {WaitlistPayloadDTO} waitlistPayloadDTO
|
|
13659
14780
|
* @param {*} [options] Override http request option.
|
|
13660
14781
|
* @throws {RequiredError}
|
|
13661
14782
|
*/
|
|
13662
|
-
|
|
13663
|
-
return localVarFp.
|
|
14783
|
+
whatsOnControllerDeleteTagById(id: string, options?: RawAxiosRequestConfig): AxiosPromise<WhatsOnDeleteResponseDTO> {
|
|
14784
|
+
return localVarFp.whatsOnControllerDeleteTagById(id, options).then((request) => request(axios, basePath));
|
|
13664
14785
|
},
|
|
13665
14786
|
/**
|
|
13666
14787
|
*
|
|
13667
|
-
* @param {
|
|
13668
|
-
* @param {number} pageSize
|
|
13669
|
-
* @param {string} [search]
|
|
14788
|
+
* @param {WhatsOnFindDTO} whatsOnFindDTO
|
|
13670
14789
|
* @param {*} [options] Override http request option.
|
|
13671
14790
|
* @throws {RequiredError}
|
|
13672
14791
|
*/
|
|
13673
|
-
|
|
13674
|
-
return localVarFp.
|
|
14792
|
+
whatsOnControllerFindTags(whatsOnFindDTO: WhatsOnFindDTO, options?: RawAxiosRequestConfig): AxiosPromise<WhatsOnResponseDTO> {
|
|
14793
|
+
return localVarFp.whatsOnControllerFindTags(whatsOnFindDTO, options).then((request) => request(axios, basePath));
|
|
14794
|
+
},
|
|
14795
|
+
/**
|
|
14796
|
+
*
|
|
14797
|
+
* @param {string} id
|
|
14798
|
+
* @param {*} [options] Override http request option.
|
|
14799
|
+
* @throws {RequiredError}
|
|
14800
|
+
*/
|
|
14801
|
+
whatsOnControllerTagById(id: string, options?: RawAxiosRequestConfig): AxiosPromise<WhatsOnDTO> {
|
|
14802
|
+
return localVarFp.whatsOnControllerTagById(id, options).then((request) => request(axios, basePath));
|
|
14803
|
+
},
|
|
14804
|
+
/**
|
|
14805
|
+
*
|
|
14806
|
+
* @param {string} id
|
|
14807
|
+
* @param {WhatsOnPayloadDTO} whatsOnPayloadDTO
|
|
14808
|
+
* @param {*} [options] Override http request option.
|
|
14809
|
+
* @throws {RequiredError}
|
|
14810
|
+
*/
|
|
14811
|
+
whatsOnControllerUpdateTagById(id: string, whatsOnPayloadDTO: WhatsOnPayloadDTO, options?: RawAxiosRequestConfig): AxiosPromise<WhatsOnDTO> {
|
|
14812
|
+
return localVarFp.whatsOnControllerUpdateTagById(id, whatsOnPayloadDTO, options).then((request) => request(axios, basePath));
|
|
13675
14813
|
},
|
|
13676
14814
|
};
|
|
13677
14815
|
};
|
|
13678
14816
|
|
|
13679
14817
|
/**
|
|
13680
|
-
*
|
|
14818
|
+
* WhatsOnApi - object-oriented interface
|
|
13681
14819
|
* @export
|
|
13682
|
-
* @class
|
|
14820
|
+
* @class WhatsOnApi
|
|
13683
14821
|
* @extends {BaseAPI}
|
|
13684
14822
|
*/
|
|
13685
|
-
export class
|
|
14823
|
+
export class WhatsOnApi extends BaseAPI {
|
|
13686
14824
|
/**
|
|
13687
14825
|
*
|
|
13688
|
-
* @param {
|
|
14826
|
+
* @param {WhatsOnPayloadDTO} whatsOnPayloadDTO
|
|
13689
14827
|
* @param {*} [options] Override http request option.
|
|
13690
14828
|
* @throws {RequiredError}
|
|
13691
|
-
* @memberof
|
|
14829
|
+
* @memberof WhatsOnApi
|
|
13692
14830
|
*/
|
|
13693
|
-
public
|
|
13694
|
-
return
|
|
14831
|
+
public whatsOnControllerCreateTag(whatsOnPayloadDTO: WhatsOnPayloadDTO, options?: RawAxiosRequestConfig) {
|
|
14832
|
+
return WhatsOnApiFp(this.configuration).whatsOnControllerCreateTag(whatsOnPayloadDTO, options).then((request) => request(this.axios, this.basePath));
|
|
13695
14833
|
}
|
|
13696
14834
|
|
|
13697
14835
|
/**
|
|
13698
14836
|
*
|
|
13699
14837
|
* @param {string} id
|
|
13700
|
-
* @param {WaitlistPayloadDTO} waitlistPayloadDTO
|
|
13701
14838
|
* @param {*} [options] Override http request option.
|
|
13702
14839
|
* @throws {RequiredError}
|
|
13703
|
-
* @memberof
|
|
14840
|
+
* @memberof WhatsOnApi
|
|
13704
14841
|
*/
|
|
13705
|
-
public
|
|
13706
|
-
return
|
|
14842
|
+
public whatsOnControllerDeleteTagById(id: string, options?: RawAxiosRequestConfig) {
|
|
14843
|
+
return WhatsOnApiFp(this.configuration).whatsOnControllerDeleteTagById(id, options).then((request) => request(this.axios, this.basePath));
|
|
13707
14844
|
}
|
|
13708
14845
|
|
|
13709
14846
|
/**
|
|
13710
14847
|
*
|
|
13711
|
-
* @param {
|
|
13712
|
-
* @param {number} pageSize
|
|
13713
|
-
* @param {string} [search]
|
|
14848
|
+
* @param {WhatsOnFindDTO} whatsOnFindDTO
|
|
13714
14849
|
* @param {*} [options] Override http request option.
|
|
13715
14850
|
* @throws {RequiredError}
|
|
13716
|
-
* @memberof
|
|
14851
|
+
* @memberof WhatsOnApi
|
|
13717
14852
|
*/
|
|
13718
|
-
public
|
|
13719
|
-
return
|
|
14853
|
+
public whatsOnControllerFindTags(whatsOnFindDTO: WhatsOnFindDTO, options?: RawAxiosRequestConfig) {
|
|
14854
|
+
return WhatsOnApiFp(this.configuration).whatsOnControllerFindTags(whatsOnFindDTO, options).then((request) => request(this.axios, this.basePath));
|
|
14855
|
+
}
|
|
14856
|
+
|
|
14857
|
+
/**
|
|
14858
|
+
*
|
|
14859
|
+
* @param {string} id
|
|
14860
|
+
* @param {*} [options] Override http request option.
|
|
14861
|
+
* @throws {RequiredError}
|
|
14862
|
+
* @memberof WhatsOnApi
|
|
14863
|
+
*/
|
|
14864
|
+
public whatsOnControllerTagById(id: string, options?: RawAxiosRequestConfig) {
|
|
14865
|
+
return WhatsOnApiFp(this.configuration).whatsOnControllerTagById(id, options).then((request) => request(this.axios, this.basePath));
|
|
14866
|
+
}
|
|
14867
|
+
|
|
14868
|
+
/**
|
|
14869
|
+
*
|
|
14870
|
+
* @param {string} id
|
|
14871
|
+
* @param {WhatsOnPayloadDTO} whatsOnPayloadDTO
|
|
14872
|
+
* @param {*} [options] Override http request option.
|
|
14873
|
+
* @throws {RequiredError}
|
|
14874
|
+
* @memberof WhatsOnApi
|
|
14875
|
+
*/
|
|
14876
|
+
public whatsOnControllerUpdateTagById(id: string, whatsOnPayloadDTO: WhatsOnPayloadDTO, options?: RawAxiosRequestConfig) {
|
|
14877
|
+
return WhatsOnApiFp(this.configuration).whatsOnControllerUpdateTagById(id, whatsOnPayloadDTO, options).then((request) => request(this.axios, this.basePath));
|
|
13720
14878
|
}
|
|
13721
14879
|
}
|
|
13722
14880
|
|