@gooday_corp/gooday-api-client 1.2.23 → 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 +2231 -335
- package/package.json +1 -1
package/api.ts
CHANGED
|
@@ -750,6 +750,12 @@ export interface BusinessOnBoardingDTO {
|
|
|
750
750
|
* @memberof BusinessOnBoardingDTO
|
|
751
751
|
*/
|
|
752
752
|
'assistant'?: string;
|
|
753
|
+
/**
|
|
754
|
+
*
|
|
755
|
+
* @type {string}
|
|
756
|
+
* @memberof BusinessOnBoardingDTO
|
|
757
|
+
*/
|
|
758
|
+
'cancellationDuration'?: string;
|
|
753
759
|
}
|
|
754
760
|
/**
|
|
755
761
|
*
|
|
@@ -1167,10 +1173,10 @@ export interface BusinessUnFavoriteResponse {
|
|
|
1167
1173
|
export interface BusinessVenueDTO {
|
|
1168
1174
|
/**
|
|
1169
1175
|
* coverPhots
|
|
1170
|
-
* @type {string}
|
|
1176
|
+
* @type {Array<string>}
|
|
1171
1177
|
* @memberof BusinessVenueDTO
|
|
1172
1178
|
*/
|
|
1173
|
-
'coverPhoto': string
|
|
1179
|
+
'coverPhoto': Array<string>;
|
|
1174
1180
|
/**
|
|
1175
1181
|
*
|
|
1176
1182
|
* @type {string}
|
|
@@ -1189,6 +1195,42 @@ export interface BusinessVenueDTO {
|
|
|
1189
1195
|
* @memberof BusinessVenueDTO
|
|
1190
1196
|
*/
|
|
1191
1197
|
'numberOfEmployee': string;
|
|
1198
|
+
/**
|
|
1199
|
+
*
|
|
1200
|
+
* @type {Array<string>}
|
|
1201
|
+
* @memberof BusinessVenueDTO
|
|
1202
|
+
*/
|
|
1203
|
+
'tags': Array<string>;
|
|
1204
|
+
/**
|
|
1205
|
+
*
|
|
1206
|
+
* @type {SocialMedia}
|
|
1207
|
+
* @memberof BusinessVenueDTO
|
|
1208
|
+
*/
|
|
1209
|
+
'socialMedia': SocialMedia;
|
|
1210
|
+
/**
|
|
1211
|
+
*
|
|
1212
|
+
* @type {Array<Contact>}
|
|
1213
|
+
* @memberof BusinessVenueDTO
|
|
1214
|
+
*/
|
|
1215
|
+
'contacts': Array<Contact>;
|
|
1216
|
+
/**
|
|
1217
|
+
*
|
|
1218
|
+
* @type {string}
|
|
1219
|
+
* @memberof BusinessVenueDTO
|
|
1220
|
+
*/
|
|
1221
|
+
'description': string;
|
|
1222
|
+
/**
|
|
1223
|
+
*
|
|
1224
|
+
* @type {string}
|
|
1225
|
+
* @memberof BusinessVenueDTO
|
|
1226
|
+
*/
|
|
1227
|
+
'averageBookingDuration': string;
|
|
1228
|
+
/**
|
|
1229
|
+
*
|
|
1230
|
+
* @type {string}
|
|
1231
|
+
* @memberof BusinessVenueDTO
|
|
1232
|
+
*/
|
|
1233
|
+
'furtherInstructions': string;
|
|
1192
1234
|
}
|
|
1193
1235
|
/**
|
|
1194
1236
|
*
|
|
@@ -1204,22 +1246,34 @@ export interface BusinessVenueDetailsEntity {
|
|
|
1204
1246
|
'_id'?: string;
|
|
1205
1247
|
/**
|
|
1206
1248
|
* coverPhots
|
|
1207
|
-
* @type {string}
|
|
1249
|
+
* @type {Array<string>}
|
|
1208
1250
|
* @memberof BusinessVenueDetailsEntity
|
|
1209
1251
|
*/
|
|
1210
|
-
'coverPhoto': string
|
|
1252
|
+
'coverPhoto': Array<string>;
|
|
1211
1253
|
/**
|
|
1212
1254
|
*
|
|
1213
1255
|
* @type {string}
|
|
1214
1256
|
* @memberof BusinessVenueDetailsEntity
|
|
1215
1257
|
*/
|
|
1216
1258
|
'priceRange': string;
|
|
1259
|
+
/**
|
|
1260
|
+
*
|
|
1261
|
+
* @type {string}
|
|
1262
|
+
* @memberof BusinessVenueDetailsEntity
|
|
1263
|
+
*/
|
|
1264
|
+
'description': string;
|
|
1217
1265
|
/**
|
|
1218
1266
|
*
|
|
1219
1267
|
* @type {LocationDTO}
|
|
1220
1268
|
* @memberof BusinessVenueDetailsEntity
|
|
1221
1269
|
*/
|
|
1222
1270
|
'location': LocationDTO;
|
|
1271
|
+
/**
|
|
1272
|
+
*
|
|
1273
|
+
* @type {Array<Contact>}
|
|
1274
|
+
* @memberof BusinessVenueDetailsEntity
|
|
1275
|
+
*/
|
|
1276
|
+
'contacts': Array<Contact>;
|
|
1223
1277
|
/**
|
|
1224
1278
|
*
|
|
1225
1279
|
* @type {string}
|
|
@@ -1238,6 +1292,30 @@ export interface BusinessVenueDetailsEntity {
|
|
|
1238
1292
|
* @memberof BusinessVenueDetailsEntity
|
|
1239
1293
|
*/
|
|
1240
1294
|
'business': BusinessEntity;
|
|
1295
|
+
/**
|
|
1296
|
+
*
|
|
1297
|
+
* @type {Array<string>}
|
|
1298
|
+
* @memberof BusinessVenueDetailsEntity
|
|
1299
|
+
*/
|
|
1300
|
+
'tags': Array<string>;
|
|
1301
|
+
/**
|
|
1302
|
+
*
|
|
1303
|
+
* @type {SocialMedia}
|
|
1304
|
+
* @memberof BusinessVenueDetailsEntity
|
|
1305
|
+
*/
|
|
1306
|
+
'socialMedia': SocialMedia;
|
|
1307
|
+
/**
|
|
1308
|
+
*
|
|
1309
|
+
* @type {string}
|
|
1310
|
+
* @memberof BusinessVenueDetailsEntity
|
|
1311
|
+
*/
|
|
1312
|
+
'averageBookingDuration': string;
|
|
1313
|
+
/**
|
|
1314
|
+
*
|
|
1315
|
+
* @type {string}
|
|
1316
|
+
* @memberof BusinessVenueDetailsEntity
|
|
1317
|
+
*/
|
|
1318
|
+
'furtherInstructions': string;
|
|
1241
1319
|
}
|
|
1242
1320
|
/**
|
|
1243
1321
|
*
|
|
@@ -1576,6 +1654,31 @@ export interface CategoryListResponse {
|
|
|
1576
1654
|
*/
|
|
1577
1655
|
'data': Array<CategoryEntity>;
|
|
1578
1656
|
}
|
|
1657
|
+
/**
|
|
1658
|
+
*
|
|
1659
|
+
* @export
|
|
1660
|
+
* @interface Contact
|
|
1661
|
+
*/
|
|
1662
|
+
export interface Contact {
|
|
1663
|
+
/**
|
|
1664
|
+
*
|
|
1665
|
+
* @type {string}
|
|
1666
|
+
* @memberof Contact
|
|
1667
|
+
*/
|
|
1668
|
+
'email'?: string;
|
|
1669
|
+
/**
|
|
1670
|
+
*
|
|
1671
|
+
* @type {string}
|
|
1672
|
+
* @memberof Contact
|
|
1673
|
+
*/
|
|
1674
|
+
'mobile'?: string;
|
|
1675
|
+
/**
|
|
1676
|
+
*
|
|
1677
|
+
* @type {string}
|
|
1678
|
+
* @memberof Contact
|
|
1679
|
+
*/
|
|
1680
|
+
'website'?: string;
|
|
1681
|
+
}
|
|
1579
1682
|
/**
|
|
1580
1683
|
*
|
|
1581
1684
|
* @export
|
|
@@ -2402,6 +2505,36 @@ export interface GetBusinessVenueDto {
|
|
|
2402
2505
|
* @memberof GetBusinessVenueDto
|
|
2403
2506
|
*/
|
|
2404
2507
|
'limit'?: number;
|
|
2508
|
+
/**
|
|
2509
|
+
*
|
|
2510
|
+
* @type {string}
|
|
2511
|
+
* @memberof GetBusinessVenueDto
|
|
2512
|
+
*/
|
|
2513
|
+
'price'?: string;
|
|
2514
|
+
/**
|
|
2515
|
+
*
|
|
2516
|
+
* @type {number}
|
|
2517
|
+
* @memberof GetBusinessVenueDto
|
|
2518
|
+
*/
|
|
2519
|
+
'people'?: number;
|
|
2520
|
+
/**
|
|
2521
|
+
*
|
|
2522
|
+
* @type {boolean}
|
|
2523
|
+
* @memberof GetBusinessVenueDto
|
|
2524
|
+
*/
|
|
2525
|
+
'available_today'?: boolean;
|
|
2526
|
+
/**
|
|
2527
|
+
*
|
|
2528
|
+
* @type {string}
|
|
2529
|
+
* @memberof GetBusinessVenueDto
|
|
2530
|
+
*/
|
|
2531
|
+
'distance'?: string;
|
|
2532
|
+
/**
|
|
2533
|
+
*
|
|
2534
|
+
* @type {string}
|
|
2535
|
+
* @memberof GetBusinessVenueDto
|
|
2536
|
+
*/
|
|
2537
|
+
'cuisine'?: string;
|
|
2405
2538
|
}
|
|
2406
2539
|
/**
|
|
2407
2540
|
*
|
|
@@ -3264,6 +3397,190 @@ export interface PlanUpsertPayloadDTO {
|
|
|
3264
3397
|
*/
|
|
3265
3398
|
'plan': string;
|
|
3266
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
|
+
}
|
|
3267
3584
|
/**
|
|
3268
3585
|
*
|
|
3269
3586
|
* @export
|
|
@@ -3503,6 +3820,19 @@ export interface SendFriendshipRequestPayload {
|
|
|
3503
3820
|
*/
|
|
3504
3821
|
'to': string;
|
|
3505
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
|
+
}
|
|
3506
3836
|
/**
|
|
3507
3837
|
*
|
|
3508
3838
|
* @export
|
|
@@ -3694,34 +4024,72 @@ export interface SkillDto {
|
|
|
3694
4024
|
/**
|
|
3695
4025
|
*
|
|
3696
4026
|
* @export
|
|
3697
|
-
* @interface
|
|
4027
|
+
* @interface SocialMedia
|
|
3698
4028
|
*/
|
|
3699
|
-
export interface
|
|
4029
|
+
export interface SocialMedia {
|
|
3700
4030
|
/**
|
|
3701
|
-
*
|
|
3702
|
-
* @type {string}
|
|
3703
|
-
* @memberof
|
|
4031
|
+
*
|
|
4032
|
+
* @type {Array<string>}
|
|
4033
|
+
* @memberof SocialMedia
|
|
3704
4034
|
*/
|
|
3705
|
-
'
|
|
4035
|
+
'images'?: Array<string>;
|
|
3706
4036
|
/**
|
|
3707
|
-
*
|
|
4037
|
+
*
|
|
3708
4038
|
* @type {string}
|
|
3709
|
-
* @memberof
|
|
4039
|
+
* @memberof SocialMedia
|
|
3710
4040
|
*/
|
|
3711
|
-
'
|
|
4041
|
+
'link'?: string;
|
|
3712
4042
|
}
|
|
3713
4043
|
/**
|
|
3714
4044
|
*
|
|
3715
4045
|
* @export
|
|
3716
|
-
* @interface
|
|
4046
|
+
* @interface StaffPrice
|
|
3717
4047
|
*/
|
|
3718
|
-
export interface
|
|
4048
|
+
export interface StaffPrice {
|
|
3719
4049
|
/**
|
|
3720
|
-
*
|
|
4050
|
+
*
|
|
3721
4051
|
* @type {number}
|
|
3722
|
-
* @memberof
|
|
4052
|
+
* @memberof StaffPrice
|
|
3723
4053
|
*/
|
|
3724
|
-
'
|
|
4054
|
+
'price': number;
|
|
4055
|
+
/**
|
|
4056
|
+
*
|
|
4057
|
+
* @type {string}
|
|
4058
|
+
* @memberof StaffPrice
|
|
4059
|
+
*/
|
|
4060
|
+
'staff': string;
|
|
4061
|
+
}
|
|
4062
|
+
/**
|
|
4063
|
+
*
|
|
4064
|
+
* @export
|
|
4065
|
+
* @interface StripePaymentDTO
|
|
4066
|
+
*/
|
|
4067
|
+
export interface StripePaymentDTO {
|
|
4068
|
+
/**
|
|
4069
|
+
* Stripe ephemeral Key
|
|
4070
|
+
* @type {string}
|
|
4071
|
+
* @memberof StripePaymentDTO
|
|
4072
|
+
*/
|
|
4073
|
+
'ephemeralKey': string;
|
|
4074
|
+
/**
|
|
4075
|
+
* Stripe ClientSecret
|
|
4076
|
+
* @type {string}
|
|
4077
|
+
* @memberof StripePaymentDTO
|
|
4078
|
+
*/
|
|
4079
|
+
'clientSecret': string;
|
|
4080
|
+
}
|
|
4081
|
+
/**
|
|
4082
|
+
*
|
|
4083
|
+
* @export
|
|
4084
|
+
* @interface StripePlanUpsertResponseDTO
|
|
4085
|
+
*/
|
|
4086
|
+
export interface StripePlanUpsertResponseDTO {
|
|
4087
|
+
/**
|
|
4088
|
+
* statusCode
|
|
4089
|
+
* @type {number}
|
|
4090
|
+
* @memberof StripePlanUpsertResponseDTO
|
|
4091
|
+
*/
|
|
4092
|
+
'statusCode': number;
|
|
3725
4093
|
/**
|
|
3726
4094
|
* Stripe Intent Data
|
|
3727
4095
|
* @type {StripePaymentDTO}
|
|
@@ -3761,6 +4129,191 @@ export interface StripeSetupPaymentIntentDTO {
|
|
|
3761
4129
|
*/
|
|
3762
4130
|
'clientSecret': string;
|
|
3763
4131
|
}
|
|
4132
|
+
/**
|
|
4133
|
+
*
|
|
4134
|
+
* @export
|
|
4135
|
+
* @interface TagPayloadDTO
|
|
4136
|
+
*/
|
|
4137
|
+
export interface TagPayloadDTO {
|
|
4138
|
+
/**
|
|
4139
|
+
* Tag name
|
|
4140
|
+
* @type {string}
|
|
4141
|
+
* @memberof TagPayloadDTO
|
|
4142
|
+
*/
|
|
4143
|
+
'name': string;
|
|
4144
|
+
/**
|
|
4145
|
+
* Tag category
|
|
4146
|
+
* @type {string}
|
|
4147
|
+
* @memberof TagPayloadDTO
|
|
4148
|
+
*/
|
|
4149
|
+
'category': TagPayloadDTOCategoryEnum;
|
|
4150
|
+
/**
|
|
4151
|
+
* Group name
|
|
4152
|
+
* @type {string}
|
|
4153
|
+
* @memberof TagPayloadDTO
|
|
4154
|
+
*/
|
|
4155
|
+
'group': string;
|
|
4156
|
+
/**
|
|
4157
|
+
* Tag icon
|
|
4158
|
+
* @type {string}
|
|
4159
|
+
* @memberof TagPayloadDTO
|
|
4160
|
+
*/
|
|
4161
|
+
'icon': string;
|
|
4162
|
+
/**
|
|
4163
|
+
*
|
|
4164
|
+
* @type {boolean}
|
|
4165
|
+
* @memberof TagPayloadDTO
|
|
4166
|
+
*/
|
|
4167
|
+
'allVenues': boolean;
|
|
4168
|
+
}
|
|
4169
|
+
|
|
4170
|
+
export const TagPayloadDTOCategoryEnum = {
|
|
4171
|
+
Booking: 'BOOKING',
|
|
4172
|
+
Customer: 'CUSTOMER'
|
|
4173
|
+
} as const;
|
|
4174
|
+
|
|
4175
|
+
export type TagPayloadDTOCategoryEnum = typeof TagPayloadDTOCategoryEnum[keyof typeof TagPayloadDTOCategoryEnum];
|
|
4176
|
+
|
|
4177
|
+
/**
|
|
4178
|
+
*
|
|
4179
|
+
* @export
|
|
4180
|
+
* @interface TagResponseDTO
|
|
4181
|
+
*/
|
|
4182
|
+
export interface TagResponseDTO {
|
|
4183
|
+
/**
|
|
4184
|
+
*
|
|
4185
|
+
* @type {TagsResponse}
|
|
4186
|
+
* @memberof TagResponseDTO
|
|
4187
|
+
*/
|
|
4188
|
+
'data': TagsResponse;
|
|
4189
|
+
/**
|
|
4190
|
+
* statusCode
|
|
4191
|
+
* @type {number}
|
|
4192
|
+
* @memberof TagResponseDTO
|
|
4193
|
+
*/
|
|
4194
|
+
'statusCode': number;
|
|
4195
|
+
}
|
|
4196
|
+
/**
|
|
4197
|
+
*
|
|
4198
|
+
* @export
|
|
4199
|
+
* @interface TagUpdatePayloadDTO
|
|
4200
|
+
*/
|
|
4201
|
+
export interface TagUpdatePayloadDTO {
|
|
4202
|
+
/**
|
|
4203
|
+
* Tag id
|
|
4204
|
+
* @type {string}
|
|
4205
|
+
* @memberof TagUpdatePayloadDTO
|
|
4206
|
+
*/
|
|
4207
|
+
'_id': string;
|
|
4208
|
+
/**
|
|
4209
|
+
* Tag name
|
|
4210
|
+
* @type {string}
|
|
4211
|
+
* @memberof TagUpdatePayloadDTO
|
|
4212
|
+
*/
|
|
4213
|
+
'name': string;
|
|
4214
|
+
/**
|
|
4215
|
+
* Tag category
|
|
4216
|
+
* @type {string}
|
|
4217
|
+
* @memberof TagUpdatePayloadDTO
|
|
4218
|
+
*/
|
|
4219
|
+
'category': TagUpdatePayloadDTOCategoryEnum;
|
|
4220
|
+
/**
|
|
4221
|
+
* Group name
|
|
4222
|
+
* @type {string}
|
|
4223
|
+
* @memberof TagUpdatePayloadDTO
|
|
4224
|
+
*/
|
|
4225
|
+
'group': string;
|
|
4226
|
+
/**
|
|
4227
|
+
* Tag icon
|
|
4228
|
+
* @type {string}
|
|
4229
|
+
* @memberof TagUpdatePayloadDTO
|
|
4230
|
+
*/
|
|
4231
|
+
'icon': string;
|
|
4232
|
+
/**
|
|
4233
|
+
*
|
|
4234
|
+
* @type {boolean}
|
|
4235
|
+
* @memberof TagUpdatePayloadDTO
|
|
4236
|
+
*/
|
|
4237
|
+
'allVenues': boolean;
|
|
4238
|
+
}
|
|
4239
|
+
|
|
4240
|
+
export const TagUpdatePayloadDTOCategoryEnum = {
|
|
4241
|
+
Booking: 'BOOKING',
|
|
4242
|
+
Customer: 'CUSTOMER'
|
|
4243
|
+
} as const;
|
|
4244
|
+
|
|
4245
|
+
export type TagUpdatePayloadDTOCategoryEnum = typeof TagUpdatePayloadDTOCategoryEnum[keyof typeof TagUpdatePayloadDTOCategoryEnum];
|
|
4246
|
+
|
|
4247
|
+
/**
|
|
4248
|
+
*
|
|
4249
|
+
* @export
|
|
4250
|
+
* @interface TagsResponse
|
|
4251
|
+
*/
|
|
4252
|
+
export interface TagsResponse {
|
|
4253
|
+
/**
|
|
4254
|
+
* Tag id
|
|
4255
|
+
* @type {string}
|
|
4256
|
+
* @memberof TagsResponse
|
|
4257
|
+
*/
|
|
4258
|
+
'_id': string;
|
|
4259
|
+
/**
|
|
4260
|
+
* Tag name
|
|
4261
|
+
* @type {string}
|
|
4262
|
+
* @memberof TagsResponse
|
|
4263
|
+
*/
|
|
4264
|
+
'name': string;
|
|
4265
|
+
/**
|
|
4266
|
+
* Tag category
|
|
4267
|
+
* @type {string}
|
|
4268
|
+
* @memberof TagsResponse
|
|
4269
|
+
*/
|
|
4270
|
+
'category': TagsResponseCategoryEnum;
|
|
4271
|
+
/**
|
|
4272
|
+
* Group name
|
|
4273
|
+
* @type {string}
|
|
4274
|
+
* @memberof TagsResponse
|
|
4275
|
+
*/
|
|
4276
|
+
'group': string;
|
|
4277
|
+
/**
|
|
4278
|
+
* Tag icon
|
|
4279
|
+
* @type {string}
|
|
4280
|
+
* @memberof TagsResponse
|
|
4281
|
+
*/
|
|
4282
|
+
'icon': string;
|
|
4283
|
+
/**
|
|
4284
|
+
*
|
|
4285
|
+
* @type {boolean}
|
|
4286
|
+
* @memberof TagsResponse
|
|
4287
|
+
*/
|
|
4288
|
+
'allVenues': boolean;
|
|
4289
|
+
}
|
|
4290
|
+
|
|
4291
|
+
export const TagsResponseCategoryEnum = {
|
|
4292
|
+
Booking: 'BOOKING',
|
|
4293
|
+
Customer: 'CUSTOMER'
|
|
4294
|
+
} as const;
|
|
4295
|
+
|
|
4296
|
+
export type TagsResponseCategoryEnum = typeof TagsResponseCategoryEnum[keyof typeof TagsResponseCategoryEnum];
|
|
4297
|
+
|
|
4298
|
+
/**
|
|
4299
|
+
*
|
|
4300
|
+
* @export
|
|
4301
|
+
* @interface TagsResponseDTO
|
|
4302
|
+
*/
|
|
4303
|
+
export interface TagsResponseDTO {
|
|
4304
|
+
/**
|
|
4305
|
+
*
|
|
4306
|
+
* @type {Array<TagsResponse>}
|
|
4307
|
+
* @memberof TagsResponseDTO
|
|
4308
|
+
*/
|
|
4309
|
+
'data': Array<TagsResponse>;
|
|
4310
|
+
/**
|
|
4311
|
+
* statusCode
|
|
4312
|
+
* @type {number}
|
|
4313
|
+
* @memberof TagsResponseDTO
|
|
4314
|
+
*/
|
|
4315
|
+
'statusCode': number;
|
|
4316
|
+
}
|
|
3764
4317
|
/**
|
|
3765
4318
|
*
|
|
3766
4319
|
* @export
|
|
@@ -4612,113 +5165,311 @@ export interface Weather {
|
|
|
4612
5165
|
/**
|
|
4613
5166
|
*
|
|
4614
5167
|
* @export
|
|
4615
|
-
* @interface
|
|
5168
|
+
* @interface WhatsOnDTO
|
|
4616
5169
|
*/
|
|
4617
|
-
export interface
|
|
5170
|
+
export interface WhatsOnDTO {
|
|
5171
|
+
/**
|
|
5172
|
+
*
|
|
5173
|
+
* @type {WhatsOnEntity}
|
|
5174
|
+
* @memberof WhatsOnDTO
|
|
5175
|
+
*/
|
|
5176
|
+
'data': WhatsOnEntity;
|
|
4618
5177
|
/**
|
|
4619
5178
|
* statusCode
|
|
4620
5179
|
* @type {number}
|
|
4621
|
-
* @memberof
|
|
5180
|
+
* @memberof WhatsOnDTO
|
|
4622
5181
|
*/
|
|
4623
5182
|
'statusCode': number;
|
|
4624
|
-
/**
|
|
4625
|
-
* Waitlist response
|
|
4626
|
-
* @type {Array<WaitlistEntity>}
|
|
4627
|
-
* @memberof WhitelistsResponseDTO
|
|
4628
|
-
*/
|
|
4629
|
-
'data': Array<WaitlistEntity>;
|
|
4630
5183
|
}
|
|
4631
|
-
|
|
4632
5184
|
/**
|
|
4633
|
-
*
|
|
5185
|
+
*
|
|
4634
5186
|
* @export
|
|
5187
|
+
* @interface WhatsOnDeleteResponseDTO
|
|
4635
5188
|
*/
|
|
4636
|
-
export
|
|
4637
|
-
|
|
4638
|
-
|
|
4639
|
-
|
|
4640
|
-
|
|
4641
|
-
|
|
4642
|
-
|
|
4643
|
-
|
|
4644
|
-
const localVarPath = `/v1/assistant/list`;
|
|
4645
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
4646
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
4647
|
-
let baseOptions;
|
|
4648
|
-
if (configuration) {
|
|
4649
|
-
baseOptions = configuration.baseOptions;
|
|
4650
|
-
}
|
|
4651
|
-
|
|
4652
|
-
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
4653
|
-
const localVarHeaderParameter = {} as any;
|
|
4654
|
-
const localVarQueryParameter = {} as any;
|
|
4655
|
-
|
|
4656
|
-
|
|
4657
|
-
|
|
4658
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
4659
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4660
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
4661
|
-
|
|
4662
|
-
return {
|
|
4663
|
-
url: toPathString(localVarUrlObj),
|
|
4664
|
-
options: localVarRequestOptions,
|
|
4665
|
-
};
|
|
4666
|
-
},
|
|
4667
|
-
/**
|
|
4668
|
-
*
|
|
4669
|
-
* @param {*} [options] Override http request option.
|
|
4670
|
-
* @throws {RequiredError}
|
|
4671
|
-
*/
|
|
4672
|
-
assistantControllerMyAssistant: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
4673
|
-
const localVarPath = `/v1/assistant/me`;
|
|
4674
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
4675
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
4676
|
-
let baseOptions;
|
|
4677
|
-
if (configuration) {
|
|
4678
|
-
baseOptions = configuration.baseOptions;
|
|
4679
|
-
}
|
|
4680
|
-
|
|
4681
|
-
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
4682
|
-
const localVarHeaderParameter = {} as any;
|
|
4683
|
-
const localVarQueryParameter = {} as any;
|
|
4684
|
-
|
|
4685
|
-
// authentication bearer required
|
|
4686
|
-
// http bearer authentication required
|
|
4687
|
-
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
4688
|
-
|
|
4689
|
-
|
|
4690
|
-
|
|
4691
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
4692
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4693
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
4694
|
-
|
|
4695
|
-
return {
|
|
4696
|
-
url: toPathString(localVarUrlObj),
|
|
4697
|
-
options: localVarRequestOptions,
|
|
4698
|
-
};
|
|
4699
|
-
},
|
|
4700
|
-
}
|
|
4701
|
-
};
|
|
4702
|
-
|
|
5189
|
+
export interface WhatsOnDeleteResponseDTO {
|
|
5190
|
+
/**
|
|
5191
|
+
* statusCode
|
|
5192
|
+
* @type {number}
|
|
5193
|
+
* @memberof WhatsOnDeleteResponseDTO
|
|
5194
|
+
*/
|
|
5195
|
+
'statusCode': number;
|
|
5196
|
+
}
|
|
4703
5197
|
/**
|
|
4704
|
-
*
|
|
5198
|
+
*
|
|
4705
5199
|
* @export
|
|
5200
|
+
* @interface WhatsOnEntity
|
|
4706
5201
|
*/
|
|
4707
|
-
export
|
|
4708
|
-
|
|
4709
|
-
|
|
4710
|
-
|
|
4711
|
-
|
|
4712
|
-
|
|
4713
|
-
|
|
4714
|
-
|
|
4715
|
-
|
|
4716
|
-
|
|
4717
|
-
|
|
4718
|
-
|
|
4719
|
-
|
|
4720
|
-
|
|
4721
|
-
|
|
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
|
+
/**
|
|
4722
5473
|
*
|
|
4723
5474
|
* @param {*} [options] Override http request option.
|
|
4724
5475
|
* @throws {RequiredError}
|
|
@@ -10957,22 +11708,21 @@ export class PlansApi extends BaseAPI {
|
|
|
10957
11708
|
|
|
10958
11709
|
|
|
10959
11710
|
/**
|
|
10960
|
-
*
|
|
11711
|
+
* PrepaidServiceApi - axios parameter creator
|
|
10961
11712
|
* @export
|
|
10962
11713
|
*/
|
|
10963
|
-
export const
|
|
11714
|
+
export const PrepaidServiceApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
10964
11715
|
return {
|
|
10965
11716
|
/**
|
|
10966
11717
|
*
|
|
10967
|
-
* @param {
|
|
11718
|
+
* @param {PrepaidServicePayloadDTO} prepaidServicePayloadDTO
|
|
10968
11719
|
* @param {*} [options] Override http request option.
|
|
10969
11720
|
* @throws {RequiredError}
|
|
10970
11721
|
*/
|
|
10971
|
-
|
|
10972
|
-
// verify required parameter '
|
|
10973
|
-
assertParamExists('
|
|
10974
|
-
const localVarPath = `/v1/
|
|
10975
|
-
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
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`;
|
|
10976
11726
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
10977
11727
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
10978
11728
|
let baseOptions;
|
|
@@ -10990,9 +11740,12 @@ export const TodoApiAxiosParamCreator = function (configuration?: Configuration)
|
|
|
10990
11740
|
|
|
10991
11741
|
|
|
10992
11742
|
|
|
11743
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
11744
|
+
|
|
10993
11745
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
10994
11746
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
10995
11747
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
11748
|
+
localVarRequestOptions.data = serializeDataIfNeeded(prepaidServicePayloadDTO, localVarRequestOptions, configuration)
|
|
10996
11749
|
|
|
10997
11750
|
return {
|
|
10998
11751
|
url: toPathString(localVarUrlObj),
|
|
@@ -11001,18 +11754,18 @@ export const TodoApiAxiosParamCreator = function (configuration?: Configuration)
|
|
|
11001
11754
|
},
|
|
11002
11755
|
/**
|
|
11003
11756
|
*
|
|
11004
|
-
* @param {
|
|
11005
|
-
* @param {
|
|
11757
|
+
* @param {number} page
|
|
11758
|
+
* @param {number} pageSize
|
|
11759
|
+
* @param {string} [venue]
|
|
11006
11760
|
* @param {*} [options] Override http request option.
|
|
11007
11761
|
* @throws {RequiredError}
|
|
11008
11762
|
*/
|
|
11009
|
-
|
|
11010
|
-
// verify required parameter '
|
|
11011
|
-
assertParamExists('
|
|
11012
|
-
// verify required parameter '
|
|
11013
|
-
assertParamExists('
|
|
11014
|
-
const localVarPath = `/v1/
|
|
11015
|
-
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
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`;
|
|
11016
11769
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
11017
11770
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
11018
11771
|
let baseOptions;
|
|
@@ -11020,7 +11773,7 @@ export const TodoApiAxiosParamCreator = function (configuration?: Configuration)
|
|
|
11020
11773
|
baseOptions = configuration.baseOptions;
|
|
11021
11774
|
}
|
|
11022
11775
|
|
|
11023
|
-
const localVarRequestOptions = { method: '
|
|
11776
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
11024
11777
|
const localVarHeaderParameter = {} as any;
|
|
11025
11778
|
const localVarQueryParameter = {} as any;
|
|
11026
11779
|
|
|
@@ -11028,14 +11781,23 @@ export const TodoApiAxiosParamCreator = function (configuration?: Configuration)
|
|
|
11028
11781
|
// http bearer authentication required
|
|
11029
11782
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
11030
11783
|
|
|
11784
|
+
if (page !== undefined) {
|
|
11785
|
+
localVarQueryParameter['page'] = page;
|
|
11786
|
+
}
|
|
11031
11787
|
|
|
11032
|
-
|
|
11033
|
-
|
|
11788
|
+
if (pageSize !== undefined) {
|
|
11789
|
+
localVarQueryParameter['pageSize'] = pageSize;
|
|
11790
|
+
}
|
|
11034
11791
|
|
|
11792
|
+
if (venue !== undefined) {
|
|
11793
|
+
localVarQueryParameter['venue'] = venue;
|
|
11794
|
+
}
|
|
11795
|
+
|
|
11796
|
+
|
|
11797
|
+
|
|
11035
11798
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
11036
11799
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
11037
11800
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
11038
|
-
localVarRequestOptions.data = serializeDataIfNeeded(assignTaskPayload, localVarRequestOptions, configuration)
|
|
11039
11801
|
|
|
11040
11802
|
return {
|
|
11041
11803
|
url: toPathString(localVarUrlObj),
|
|
@@ -11044,14 +11806,15 @@ export const TodoApiAxiosParamCreator = function (configuration?: Configuration)
|
|
|
11044
11806
|
},
|
|
11045
11807
|
/**
|
|
11046
11808
|
*
|
|
11047
|
-
* @param {
|
|
11809
|
+
* @param {string} id
|
|
11048
11810
|
* @param {*} [options] Override http request option.
|
|
11049
11811
|
* @throws {RequiredError}
|
|
11050
11812
|
*/
|
|
11051
|
-
|
|
11052
|
-
// verify required parameter '
|
|
11053
|
-
assertParamExists('
|
|
11054
|
-
const localVarPath = `/v1/
|
|
11813
|
+
prepaidServiceControllerServiceById: async (id: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
11814
|
+
// verify required parameter 'id' is not null or undefined
|
|
11815
|
+
assertParamExists('prepaidServiceControllerServiceById', 'id', id)
|
|
11816
|
+
const localVarPath = `/v1/prepaid-service/{id}`
|
|
11817
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
11055
11818
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
11056
11819
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
11057
11820
|
let baseOptions;
|
|
@@ -11059,7 +11822,7 @@ export const TodoApiAxiosParamCreator = function (configuration?: Configuration)
|
|
|
11059
11822
|
baseOptions = configuration.baseOptions;
|
|
11060
11823
|
}
|
|
11061
11824
|
|
|
11062
|
-
const localVarRequestOptions = { method: '
|
|
11825
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
11063
11826
|
const localVarHeaderParameter = {} as any;
|
|
11064
11827
|
const localVarQueryParameter = {} as any;
|
|
11065
11828
|
|
|
@@ -11069,12 +11832,9 @@ export const TodoApiAxiosParamCreator = function (configuration?: Configuration)
|
|
|
11069
11832
|
|
|
11070
11833
|
|
|
11071
11834
|
|
|
11072
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
11073
|
-
|
|
11074
11835
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
11075
11836
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
11076
11837
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
11077
|
-
localVarRequestOptions.data = serializeDataIfNeeded(createTaskPayload, localVarRequestOptions, configuration)
|
|
11078
11838
|
|
|
11079
11839
|
return {
|
|
11080
11840
|
url: toPathString(localVarUrlObj),
|
|
@@ -11083,14 +11843,18 @@ export const TodoApiAxiosParamCreator = function (configuration?: Configuration)
|
|
|
11083
11843
|
},
|
|
11084
11844
|
/**
|
|
11085
11845
|
*
|
|
11086
|
-
* @param {
|
|
11846
|
+
* @param {string} id
|
|
11847
|
+
* @param {PrepaidServicePayloadDTO} prepaidServicePayloadDTO
|
|
11087
11848
|
* @param {*} [options] Override http request option.
|
|
11088
11849
|
* @throws {RequiredError}
|
|
11089
11850
|
*/
|
|
11090
|
-
|
|
11091
|
-
// verify required parameter '
|
|
11092
|
-
assertParamExists('
|
|
11093
|
-
|
|
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)));
|
|
11094
11858
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
11095
11859
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
11096
11860
|
let baseOptions;
|
|
@@ -11098,7 +11862,7 @@ export const TodoApiAxiosParamCreator = function (configuration?: Configuration)
|
|
|
11098
11862
|
baseOptions = configuration.baseOptions;
|
|
11099
11863
|
}
|
|
11100
11864
|
|
|
11101
|
-
const localVarRequestOptions = { method: '
|
|
11865
|
+
const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
|
|
11102
11866
|
const localVarHeaderParameter = {} as any;
|
|
11103
11867
|
const localVarQueryParameter = {} as any;
|
|
11104
11868
|
|
|
@@ -11113,49 +11877,103 @@ export const TodoApiAxiosParamCreator = function (configuration?: Configuration)
|
|
|
11113
11877
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
11114
11878
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
11115
11879
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
11116
|
-
localVarRequestOptions.data = serializeDataIfNeeded(
|
|
11880
|
+
localVarRequestOptions.data = serializeDataIfNeeded(prepaidServicePayloadDTO, localVarRequestOptions, configuration)
|
|
11117
11881
|
|
|
11118
11882
|
return {
|
|
11119
11883
|
url: toPathString(localVarUrlObj),
|
|
11120
11884
|
options: localVarRequestOptions,
|
|
11121
11885
|
};
|
|
11122
11886
|
},
|
|
11887
|
+
}
|
|
11888
|
+
};
|
|
11889
|
+
|
|
11890
|
+
/**
|
|
11891
|
+
* PrepaidServiceApi - functional programming interface
|
|
11892
|
+
* @export
|
|
11893
|
+
*/
|
|
11894
|
+
export const PrepaidServiceApiFp = function(configuration?: Configuration) {
|
|
11895
|
+
const localVarAxiosParamCreator = PrepaidServiceApiAxiosParamCreator(configuration)
|
|
11896
|
+
return {
|
|
11897
|
+
/**
|
|
11898
|
+
*
|
|
11899
|
+
* @param {PrepaidServicePayloadDTO} prepaidServicePayloadDTO
|
|
11900
|
+
* @param {*} [options] Override http request option.
|
|
11901
|
+
* @throws {RequiredError}
|
|
11902
|
+
*/
|
|
11903
|
+
async prepaidServiceControllerCreateService(prepaidServicePayloadDTO: PrepaidServicePayloadDTO, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PrepaidServiceDTO>> {
|
|
11904
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.prepaidServiceControllerCreateService(prepaidServicePayloadDTO, options);
|
|
11905
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
11906
|
+
const localVarOperationServerBasePath = operationServerMap['PrepaidServiceApi.prepaidServiceControllerCreateService']?.[localVarOperationServerIndex]?.url;
|
|
11907
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
11908
|
+
},
|
|
11909
|
+
/**
|
|
11910
|
+
*
|
|
11911
|
+
* @param {number} page
|
|
11912
|
+
* @param {number} pageSize
|
|
11913
|
+
* @param {string} [venue]
|
|
11914
|
+
* @param {*} [options] Override http request option.
|
|
11915
|
+
* @throws {RequiredError}
|
|
11916
|
+
*/
|
|
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);
|
|
11919
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
11920
|
+
const localVarOperationServerBasePath = operationServerMap['PrepaidServiceApi.prepaidServiceControllerFindService']?.[localVarOperationServerIndex]?.url;
|
|
11921
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
11922
|
+
},
|
|
11123
11923
|
/**
|
|
11124
11924
|
*
|
|
11125
11925
|
* @param {string} id
|
|
11126
11926
|
* @param {*} [options] Override http request option.
|
|
11127
11927
|
* @throws {RequiredError}
|
|
11128
11928
|
*/
|
|
11129
|
-
|
|
11130
|
-
|
|
11131
|
-
|
|
11132
|
-
const
|
|
11133
|
-
|
|
11134
|
-
|
|
11135
|
-
|
|
11136
|
-
|
|
11137
|
-
|
|
11138
|
-
|
|
11139
|
-
|
|
11140
|
-
|
|
11141
|
-
|
|
11142
|
-
|
|
11143
|
-
const
|
|
11144
|
-
|
|
11145
|
-
|
|
11146
|
-
|
|
11147
|
-
|
|
11148
|
-
|
|
11149
|
-
|
|
11150
|
-
|
|
11151
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
11152
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
11153
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
11929
|
+
async prepaidServiceControllerServiceById(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PrepaidServiceDTO>> {
|
|
11930
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.prepaidServiceControllerServiceById(id, options);
|
|
11931
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
11932
|
+
const localVarOperationServerBasePath = operationServerMap['PrepaidServiceApi.prepaidServiceControllerServiceById']?.[localVarOperationServerIndex]?.url;
|
|
11933
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
11934
|
+
},
|
|
11935
|
+
/**
|
|
11936
|
+
*
|
|
11937
|
+
* @param {string} id
|
|
11938
|
+
* @param {PrepaidServicePayloadDTO} prepaidServicePayloadDTO
|
|
11939
|
+
* @param {*} [options] Override http request option.
|
|
11940
|
+
* @throws {RequiredError}
|
|
11941
|
+
*/
|
|
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);
|
|
11944
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
11945
|
+
const localVarOperationServerBasePath = operationServerMap['PrepaidServiceApi.prepaidServiceControllerUpdateTagById']?.[localVarOperationServerIndex]?.url;
|
|
11946
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
11947
|
+
},
|
|
11948
|
+
}
|
|
11949
|
+
};
|
|
11154
11950
|
|
|
11155
|
-
|
|
11156
|
-
|
|
11157
|
-
|
|
11158
|
-
|
|
11951
|
+
/**
|
|
11952
|
+
* PrepaidServiceApi - factory interface
|
|
11953
|
+
* @export
|
|
11954
|
+
*/
|
|
11955
|
+
export const PrepaidServiceApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
11956
|
+
const localVarFp = PrepaidServiceApiFp(configuration)
|
|
11957
|
+
return {
|
|
11958
|
+
/**
|
|
11959
|
+
*
|
|
11960
|
+
* @param {PrepaidServicePayloadDTO} prepaidServicePayloadDTO
|
|
11961
|
+
* @param {*} [options] Override http request option.
|
|
11962
|
+
* @throws {RequiredError}
|
|
11963
|
+
*/
|
|
11964
|
+
prepaidServiceControllerCreateService(prepaidServicePayloadDTO: PrepaidServicePayloadDTO, options?: RawAxiosRequestConfig): AxiosPromise<PrepaidServiceDTO> {
|
|
11965
|
+
return localVarFp.prepaidServiceControllerCreateService(prepaidServicePayloadDTO, options).then((request) => request(axios, basePath));
|
|
11966
|
+
},
|
|
11967
|
+
/**
|
|
11968
|
+
*
|
|
11969
|
+
* @param {number} page
|
|
11970
|
+
* @param {number} pageSize
|
|
11971
|
+
* @param {string} [venue]
|
|
11972
|
+
* @param {*} [options] Override http request option.
|
|
11973
|
+
* @throws {RequiredError}
|
|
11974
|
+
*/
|
|
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));
|
|
11159
11977
|
},
|
|
11160
11978
|
/**
|
|
11161
11979
|
*
|
|
@@ -11163,51 +11981,95 @@ export const TodoApiAxiosParamCreator = function (configuration?: Configuration)
|
|
|
11163
11981
|
* @param {*} [options] Override http request option.
|
|
11164
11982
|
* @throws {RequiredError}
|
|
11165
11983
|
*/
|
|
11166
|
-
|
|
11167
|
-
|
|
11168
|
-
|
|
11169
|
-
|
|
11170
|
-
|
|
11171
|
-
|
|
11172
|
-
|
|
11173
|
-
|
|
11174
|
-
|
|
11175
|
-
|
|
11176
|
-
|
|
11984
|
+
prepaidServiceControllerServiceById(id: string, options?: RawAxiosRequestConfig): AxiosPromise<PrepaidServiceDTO> {
|
|
11985
|
+
return localVarFp.prepaidServiceControllerServiceById(id, options).then((request) => request(axios, basePath));
|
|
11986
|
+
},
|
|
11987
|
+
/**
|
|
11988
|
+
*
|
|
11989
|
+
* @param {string} id
|
|
11990
|
+
* @param {PrepaidServicePayloadDTO} prepaidServicePayloadDTO
|
|
11991
|
+
* @param {*} [options] Override http request option.
|
|
11992
|
+
* @throws {RequiredError}
|
|
11993
|
+
*/
|
|
11994
|
+
prepaidServiceControllerUpdateTagById(id: string, prepaidServicePayloadDTO: PrepaidServicePayloadDTO, options?: RawAxiosRequestConfig): AxiosPromise<PrepaidServiceDTO> {
|
|
11995
|
+
return localVarFp.prepaidServiceControllerUpdateTagById(id, prepaidServicePayloadDTO, options).then((request) => request(axios, basePath));
|
|
11996
|
+
},
|
|
11997
|
+
};
|
|
11998
|
+
};
|
|
11177
11999
|
|
|
11178
|
-
|
|
11179
|
-
|
|
11180
|
-
|
|
12000
|
+
/**
|
|
12001
|
+
* PrepaidServiceApi - object-oriented interface
|
|
12002
|
+
* @export
|
|
12003
|
+
* @class PrepaidServiceApi
|
|
12004
|
+
* @extends {BaseAPI}
|
|
12005
|
+
*/
|
|
12006
|
+
export class PrepaidServiceApi extends BaseAPI {
|
|
12007
|
+
/**
|
|
12008
|
+
*
|
|
12009
|
+
* @param {PrepaidServicePayloadDTO} prepaidServicePayloadDTO
|
|
12010
|
+
* @param {*} [options] Override http request option.
|
|
12011
|
+
* @throws {RequiredError}
|
|
12012
|
+
* @memberof PrepaidServiceApi
|
|
12013
|
+
*/
|
|
12014
|
+
public prepaidServiceControllerCreateService(prepaidServicePayloadDTO: PrepaidServicePayloadDTO, options?: RawAxiosRequestConfig) {
|
|
12015
|
+
return PrepaidServiceApiFp(this.configuration).prepaidServiceControllerCreateService(prepaidServicePayloadDTO, options).then((request) => request(this.axios, this.basePath));
|
|
12016
|
+
}
|
|
11181
12017
|
|
|
11182
|
-
|
|
11183
|
-
|
|
11184
|
-
|
|
12018
|
+
/**
|
|
12019
|
+
*
|
|
12020
|
+
* @param {number} page
|
|
12021
|
+
* @param {number} pageSize
|
|
12022
|
+
* @param {string} [venue]
|
|
12023
|
+
* @param {*} [options] Override http request option.
|
|
12024
|
+
* @throws {RequiredError}
|
|
12025
|
+
* @memberof PrepaidServiceApi
|
|
12026
|
+
*/
|
|
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));
|
|
12029
|
+
}
|
|
12030
|
+
|
|
12031
|
+
/**
|
|
12032
|
+
*
|
|
12033
|
+
* @param {string} id
|
|
12034
|
+
* @param {*} [options] Override http request option.
|
|
12035
|
+
* @throws {RequiredError}
|
|
12036
|
+
* @memberof PrepaidServiceApi
|
|
12037
|
+
*/
|
|
12038
|
+
public prepaidServiceControllerServiceById(id: string, options?: RawAxiosRequestConfig) {
|
|
12039
|
+
return PrepaidServiceApiFp(this.configuration).prepaidServiceControllerServiceById(id, options).then((request) => request(this.axios, this.basePath));
|
|
12040
|
+
}
|
|
11185
12041
|
|
|
12042
|
+
/**
|
|
12043
|
+
*
|
|
12044
|
+
* @param {string} id
|
|
12045
|
+
* @param {PrepaidServicePayloadDTO} prepaidServicePayloadDTO
|
|
12046
|
+
* @param {*} [options] Override http request option.
|
|
12047
|
+
* @throws {RequiredError}
|
|
12048
|
+
* @memberof PrepaidServiceApi
|
|
12049
|
+
*/
|
|
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));
|
|
12052
|
+
}
|
|
12053
|
+
}
|
|
11186
12054
|
|
|
11187
|
-
|
|
11188
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
11189
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
11190
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
11191
12055
|
|
|
11192
|
-
|
|
11193
|
-
|
|
11194
|
-
|
|
11195
|
-
|
|
11196
|
-
|
|
12056
|
+
|
|
12057
|
+
/**
|
|
12058
|
+
* TagsApi - axios parameter creator
|
|
12059
|
+
* @export
|
|
12060
|
+
*/
|
|
12061
|
+
export const TagsApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
12062
|
+
return {
|
|
11197
12063
|
/**
|
|
11198
12064
|
*
|
|
11199
|
-
* @param {
|
|
11200
|
-
* @param {AddCollaboratorPayload} addCollaboratorPayload
|
|
12065
|
+
* @param {TagPayloadDTO} tagPayloadDTO
|
|
11201
12066
|
* @param {*} [options] Override http request option.
|
|
11202
12067
|
* @throws {RequiredError}
|
|
11203
12068
|
*/
|
|
11204
|
-
|
|
11205
|
-
// verify required parameter '
|
|
11206
|
-
assertParamExists('
|
|
11207
|
-
|
|
11208
|
-
assertParamExists('todoControllerInviteCollaborator', 'addCollaboratorPayload', addCollaboratorPayload)
|
|
11209
|
-
const localVarPath = `/v1/todo/{id}/collaborator`
|
|
11210
|
-
.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`;
|
|
11211
12073
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
11212
12074
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
11213
12075
|
let baseOptions;
|
|
@@ -11230,7 +12092,7 @@ export const TodoApiAxiosParamCreator = function (configuration?: Configuration)
|
|
|
11230
12092
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
11231
12093
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
11232
12094
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
11233
|
-
localVarRequestOptions.data = serializeDataIfNeeded(
|
|
12095
|
+
localVarRequestOptions.data = serializeDataIfNeeded(tagPayloadDTO, localVarRequestOptions, configuration)
|
|
11234
12096
|
|
|
11235
12097
|
return {
|
|
11236
12098
|
url: toPathString(localVarUrlObj),
|
|
@@ -11239,14 +12101,15 @@ export const TodoApiAxiosParamCreator = function (configuration?: Configuration)
|
|
|
11239
12101
|
},
|
|
11240
12102
|
/**
|
|
11241
12103
|
*
|
|
11242
|
-
* @param {
|
|
12104
|
+
* @param {string} id
|
|
11243
12105
|
* @param {*} [options] Override http request option.
|
|
11244
12106
|
* @throws {RequiredError}
|
|
11245
12107
|
*/
|
|
11246
|
-
|
|
11247
|
-
// verify required parameter '
|
|
11248
|
-
assertParamExists('
|
|
11249
|
-
const localVarPath = `/v1/
|
|
12108
|
+
tagsControllerDeleteTagById: async (id: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
12109
|
+
// verify required parameter 'id' is not null or undefined
|
|
12110
|
+
assertParamExists('tagsControllerDeleteTagById', 'id', id)
|
|
12111
|
+
const localVarPath = `/v1/tag/{id}`
|
|
12112
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
11250
12113
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
11251
12114
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
11252
12115
|
let baseOptions;
|
|
@@ -11254,7 +12117,7 @@ export const TodoApiAxiosParamCreator = function (configuration?: Configuration)
|
|
|
11254
12117
|
baseOptions = configuration.baseOptions;
|
|
11255
12118
|
}
|
|
11256
12119
|
|
|
11257
|
-
const localVarRequestOptions = { method: '
|
|
12120
|
+
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
|
|
11258
12121
|
const localVarHeaderParameter = {} as any;
|
|
11259
12122
|
const localVarQueryParameter = {} as any;
|
|
11260
12123
|
|
|
@@ -11264,12 +12127,9 @@ export const TodoApiAxiosParamCreator = function (configuration?: Configuration)
|
|
|
11264
12127
|
|
|
11265
12128
|
|
|
11266
12129
|
|
|
11267
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
11268
|
-
|
|
11269
12130
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
11270
12131
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
11271
12132
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
11272
|
-
localVarRequestOptions.data = serializeDataIfNeeded(listTaskListPayload, localVarRequestOptions, configuration)
|
|
11273
12133
|
|
|
11274
12134
|
return {
|
|
11275
12135
|
url: toPathString(localVarUrlObj),
|
|
@@ -11278,11 +12138,17 @@ export const TodoApiAxiosParamCreator = function (configuration?: Configuration)
|
|
|
11278
12138
|
},
|
|
11279
12139
|
/**
|
|
11280
12140
|
*
|
|
12141
|
+
* @param {number} page
|
|
12142
|
+
* @param {number} pageSize
|
|
11281
12143
|
* @param {*} [options] Override http request option.
|
|
11282
12144
|
* @throws {RequiredError}
|
|
11283
12145
|
*/
|
|
11284
|
-
|
|
11285
|
-
|
|
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`;
|
|
11286
12152
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
11287
12153
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
11288
12154
|
let baseOptions;
|
|
@@ -11298,6 +12164,14 @@ export const TodoApiAxiosParamCreator = function (configuration?: Configuration)
|
|
|
11298
12164
|
// http bearer authentication required
|
|
11299
12165
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
11300
12166
|
|
|
12167
|
+
if (page !== undefined) {
|
|
12168
|
+
localVarQueryParameter['page'] = page;
|
|
12169
|
+
}
|
|
12170
|
+
|
|
12171
|
+
if (pageSize !== undefined) {
|
|
12172
|
+
localVarQueryParameter['pageSize'] = pageSize;
|
|
12173
|
+
}
|
|
12174
|
+
|
|
11301
12175
|
|
|
11302
12176
|
|
|
11303
12177
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -11315,10 +12189,10 @@ export const TodoApiAxiosParamCreator = function (configuration?: Configuration)
|
|
|
11315
12189
|
* @param {*} [options] Override http request option.
|
|
11316
12190
|
* @throws {RequiredError}
|
|
11317
12191
|
*/
|
|
11318
|
-
|
|
12192
|
+
tagsControllerTagById: async (id: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
11319
12193
|
// verify required parameter 'id' is not null or undefined
|
|
11320
|
-
assertParamExists('
|
|
11321
|
-
const localVarPath = `/v1/
|
|
12194
|
+
assertParamExists('tagsControllerTagById', 'id', id)
|
|
12195
|
+
const localVarPath = `/v1/tag/{id}`
|
|
11322
12196
|
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
11323
12197
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
11324
12198
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -11327,10 +12201,14 @@ export const TodoApiAxiosParamCreator = function (configuration?: Configuration)
|
|
|
11327
12201
|
baseOptions = configuration.baseOptions;
|
|
11328
12202
|
}
|
|
11329
12203
|
|
|
11330
|
-
const localVarRequestOptions = { method: '
|
|
12204
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
11331
12205
|
const localVarHeaderParameter = {} as any;
|
|
11332
12206
|
const localVarQueryParameter = {} as any;
|
|
11333
12207
|
|
|
12208
|
+
// authentication bearer required
|
|
12209
|
+
// http bearer authentication required
|
|
12210
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
12211
|
+
|
|
11334
12212
|
|
|
11335
12213
|
|
|
11336
12214
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -11344,14 +12222,14 @@ export const TodoApiAxiosParamCreator = function (configuration?: Configuration)
|
|
|
11344
12222
|
},
|
|
11345
12223
|
/**
|
|
11346
12224
|
*
|
|
11347
|
-
* @param {
|
|
12225
|
+
* @param {TagUpdatePayloadDTO} tagUpdatePayloadDTO
|
|
11348
12226
|
* @param {*} [options] Override http request option.
|
|
11349
12227
|
* @throws {RequiredError}
|
|
11350
12228
|
*/
|
|
11351
|
-
|
|
11352
|
-
// verify required parameter '
|
|
11353
|
-
assertParamExists('
|
|
11354
|
-
const localVarPath = `/v1/
|
|
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`;
|
|
11355
12233
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
11356
12234
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
11357
12235
|
let baseOptions;
|
|
@@ -11359,7 +12237,7 @@ export const TodoApiAxiosParamCreator = function (configuration?: Configuration)
|
|
|
11359
12237
|
baseOptions = configuration.baseOptions;
|
|
11360
12238
|
}
|
|
11361
12239
|
|
|
11362
|
-
const localVarRequestOptions = { method: '
|
|
12240
|
+
const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
|
|
11363
12241
|
const localVarHeaderParameter = {} as any;
|
|
11364
12242
|
const localVarQueryParameter = {} as any;
|
|
11365
12243
|
|
|
@@ -11374,24 +12252,645 @@ export const TodoApiAxiosParamCreator = function (configuration?: Configuration)
|
|
|
11374
12252
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
11375
12253
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
11376
12254
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
11377
|
-
localVarRequestOptions.data = serializeDataIfNeeded(
|
|
12255
|
+
localVarRequestOptions.data = serializeDataIfNeeded(tagUpdatePayloadDTO, localVarRequestOptions, configuration)
|
|
11378
12256
|
|
|
11379
12257
|
return {
|
|
11380
12258
|
url: toPathString(localVarUrlObj),
|
|
11381
12259
|
options: localVarRequestOptions,
|
|
11382
12260
|
};
|
|
11383
12261
|
},
|
|
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 {
|
|
11384
12272
|
/**
|
|
11385
12273
|
*
|
|
11386
|
-
* @param {
|
|
12274
|
+
* @param {TagPayloadDTO} tagPayloadDTO
|
|
11387
12275
|
* @param {*} [options] Override http request option.
|
|
11388
12276
|
* @throws {RequiredError}
|
|
11389
12277
|
*/
|
|
11390
|
-
|
|
11391
|
-
|
|
11392
|
-
|
|
11393
|
-
const
|
|
11394
|
-
|
|
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> => {
|
|
12704
|
+
// verify required parameter 'id' is not null or undefined
|
|
12705
|
+
assertParamExists('todoControllerInviteCollaborator', 'id', id)
|
|
12706
|
+
// verify required parameter 'addCollaboratorPayload' is not null or undefined
|
|
12707
|
+
assertParamExists('todoControllerInviteCollaborator', 'addCollaboratorPayload', addCollaboratorPayload)
|
|
12708
|
+
const localVarPath = `/v1/todo/{id}/collaborator`
|
|
12709
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
12710
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
12711
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
12712
|
+
let baseOptions;
|
|
12713
|
+
if (configuration) {
|
|
12714
|
+
baseOptions = configuration.baseOptions;
|
|
12715
|
+
}
|
|
12716
|
+
|
|
12717
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
12718
|
+
const localVarHeaderParameter = {} as any;
|
|
12719
|
+
const localVarQueryParameter = {} as any;
|
|
12720
|
+
|
|
12721
|
+
// authentication bearer required
|
|
12722
|
+
// http bearer authentication required
|
|
12723
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
12724
|
+
|
|
12725
|
+
|
|
12726
|
+
|
|
12727
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
12728
|
+
|
|
12729
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
12730
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
12731
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
12732
|
+
localVarRequestOptions.data = serializeDataIfNeeded(addCollaboratorPayload, localVarRequestOptions, configuration)
|
|
12733
|
+
|
|
12734
|
+
return {
|
|
12735
|
+
url: toPathString(localVarUrlObj),
|
|
12736
|
+
options: localVarRequestOptions,
|
|
12737
|
+
};
|
|
12738
|
+
},
|
|
12739
|
+
/**
|
|
12740
|
+
*
|
|
12741
|
+
* @param {ListTaskListPayload} listTaskListPayload
|
|
12742
|
+
* @param {*} [options] Override http request option.
|
|
12743
|
+
* @throws {RequiredError}
|
|
12744
|
+
*/
|
|
12745
|
+
todoControllerListTasks: async (listTaskListPayload: ListTaskListPayload, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
12746
|
+
// verify required parameter 'listTaskListPayload' is not null or undefined
|
|
12747
|
+
assertParamExists('todoControllerListTasks', 'listTaskListPayload', listTaskListPayload)
|
|
12748
|
+
const localVarPath = `/v1/todo/task/list`;
|
|
12749
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
12750
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
12751
|
+
let baseOptions;
|
|
12752
|
+
if (configuration) {
|
|
12753
|
+
baseOptions = configuration.baseOptions;
|
|
12754
|
+
}
|
|
12755
|
+
|
|
12756
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
12757
|
+
const localVarHeaderParameter = {} as any;
|
|
12758
|
+
const localVarQueryParameter = {} as any;
|
|
12759
|
+
|
|
12760
|
+
// authentication bearer required
|
|
12761
|
+
// http bearer authentication required
|
|
12762
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
12763
|
+
|
|
12764
|
+
|
|
12765
|
+
|
|
12766
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
12767
|
+
|
|
12768
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
12769
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
12770
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
12771
|
+
localVarRequestOptions.data = serializeDataIfNeeded(listTaskListPayload, localVarRequestOptions, configuration)
|
|
12772
|
+
|
|
12773
|
+
return {
|
|
12774
|
+
url: toPathString(localVarUrlObj),
|
|
12775
|
+
options: localVarRequestOptions,
|
|
12776
|
+
};
|
|
12777
|
+
},
|
|
12778
|
+
/**
|
|
12779
|
+
*
|
|
12780
|
+
* @param {*} [options] Override http request option.
|
|
12781
|
+
* @throws {RequiredError}
|
|
12782
|
+
*/
|
|
12783
|
+
todoControllerListTodo: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
12784
|
+
const localVarPath = `/v1/todo`;
|
|
12785
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
12786
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
12787
|
+
let baseOptions;
|
|
12788
|
+
if (configuration) {
|
|
12789
|
+
baseOptions = configuration.baseOptions;
|
|
12790
|
+
}
|
|
12791
|
+
|
|
12792
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
12793
|
+
const localVarHeaderParameter = {} as any;
|
|
12794
|
+
const localVarQueryParameter = {} as any;
|
|
12795
|
+
|
|
12796
|
+
// authentication bearer required
|
|
12797
|
+
// http bearer authentication required
|
|
12798
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
12799
|
+
|
|
12800
|
+
|
|
12801
|
+
|
|
12802
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
12803
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
12804
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
12805
|
+
|
|
12806
|
+
return {
|
|
12807
|
+
url: toPathString(localVarUrlObj),
|
|
12808
|
+
options: localVarRequestOptions,
|
|
12809
|
+
};
|
|
12810
|
+
},
|
|
12811
|
+
/**
|
|
12812
|
+
*
|
|
12813
|
+
* @param {string} id
|
|
12814
|
+
* @param {*} [options] Override http request option.
|
|
12815
|
+
* @throws {RequiredError}
|
|
12816
|
+
*/
|
|
12817
|
+
todoControllerRejectTodo: async (id: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
12818
|
+
// verify required parameter 'id' is not null or undefined
|
|
12819
|
+
assertParamExists('todoControllerRejectTodo', 'id', id)
|
|
12820
|
+
const localVarPath = `/v1/todo/{id}/reject`
|
|
12821
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
12822
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
12823
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
12824
|
+
let baseOptions;
|
|
12825
|
+
if (configuration) {
|
|
12826
|
+
baseOptions = configuration.baseOptions;
|
|
12827
|
+
}
|
|
12828
|
+
|
|
12829
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
12830
|
+
const localVarHeaderParameter = {} as any;
|
|
12831
|
+
const localVarQueryParameter = {} as any;
|
|
12832
|
+
|
|
12833
|
+
|
|
12834
|
+
|
|
12835
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
12836
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
12837
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
12838
|
+
|
|
12839
|
+
return {
|
|
12840
|
+
url: toPathString(localVarUrlObj),
|
|
12841
|
+
options: localVarRequestOptions,
|
|
12842
|
+
};
|
|
12843
|
+
},
|
|
12844
|
+
/**
|
|
12845
|
+
*
|
|
12846
|
+
* @param {TaskListReorderPayloadDTO} taskListReorderPayloadDTO
|
|
12847
|
+
* @param {*} [options] Override http request option.
|
|
12848
|
+
* @throws {RequiredError}
|
|
12849
|
+
*/
|
|
12850
|
+
todoControllerReorderTask: async (taskListReorderPayloadDTO: TaskListReorderPayloadDTO, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
12851
|
+
// verify required parameter 'taskListReorderPayloadDTO' is not null or undefined
|
|
12852
|
+
assertParamExists('todoControllerReorderTask', 'taskListReorderPayloadDTO', taskListReorderPayloadDTO)
|
|
12853
|
+
const localVarPath = `/v1/todo/task/reorder`;
|
|
12854
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
12855
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
12856
|
+
let baseOptions;
|
|
12857
|
+
if (configuration) {
|
|
12858
|
+
baseOptions = configuration.baseOptions;
|
|
12859
|
+
}
|
|
12860
|
+
|
|
12861
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
12862
|
+
const localVarHeaderParameter = {} as any;
|
|
12863
|
+
const localVarQueryParameter = {} as any;
|
|
12864
|
+
|
|
12865
|
+
// authentication bearer required
|
|
12866
|
+
// http bearer authentication required
|
|
12867
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
12868
|
+
|
|
12869
|
+
|
|
12870
|
+
|
|
12871
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
12872
|
+
|
|
12873
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
12874
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
12875
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
12876
|
+
localVarRequestOptions.data = serializeDataIfNeeded(taskListReorderPayloadDTO, localVarRequestOptions, configuration)
|
|
12877
|
+
|
|
12878
|
+
return {
|
|
12879
|
+
url: toPathString(localVarUrlObj),
|
|
12880
|
+
options: localVarRequestOptions,
|
|
12881
|
+
};
|
|
12882
|
+
},
|
|
12883
|
+
/**
|
|
12884
|
+
*
|
|
12885
|
+
* @param {UndoPayloadDTO} undoPayloadDTO
|
|
12886
|
+
* @param {*} [options] Override http request option.
|
|
12887
|
+
* @throws {RequiredError}
|
|
12888
|
+
*/
|
|
12889
|
+
todoControllerUndo: async (undoPayloadDTO: UndoPayloadDTO, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
12890
|
+
// verify required parameter 'undoPayloadDTO' is not null or undefined
|
|
12891
|
+
assertParamExists('todoControllerUndo', 'undoPayloadDTO', undoPayloadDTO)
|
|
12892
|
+
const localVarPath = `/v1/todo/task/undo`;
|
|
12893
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
11395
12894
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
11396
12895
|
let baseOptions;
|
|
11397
12896
|
if (configuration) {
|
|
@@ -12672,56 +14171,334 @@ export class UsersApi extends BaseAPI {
|
|
|
12672
14171
|
|
|
12673
14172
|
/**
|
|
12674
14173
|
*
|
|
12675
|
-
* @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
|
|
12676
14450
|
* @param {*} [options] Override http request option.
|
|
12677
14451
|
* @throws {RequiredError}
|
|
12678
|
-
* @memberof
|
|
14452
|
+
* @memberof WaitlistApi
|
|
12679
14453
|
*/
|
|
12680
|
-
public
|
|
12681
|
-
return
|
|
14454
|
+
public waitlistControllerAddWaitlist(waitlistPayloadDTO: WaitlistPayloadDTO, options?: RawAxiosRequestConfig) {
|
|
14455
|
+
return WaitlistApiFp(this.configuration).waitlistControllerAddWaitlist(waitlistPayloadDTO, options).then((request) => request(this.axios, this.basePath));
|
|
12682
14456
|
}
|
|
12683
14457
|
|
|
12684
14458
|
/**
|
|
12685
14459
|
*
|
|
12686
|
-
* @param {
|
|
14460
|
+
* @param {string} id
|
|
14461
|
+
* @param {WaitlistPayloadDTO} waitlistPayloadDTO
|
|
12687
14462
|
* @param {*} [options] Override http request option.
|
|
12688
14463
|
* @throws {RequiredError}
|
|
12689
|
-
* @memberof
|
|
14464
|
+
* @memberof WaitlistApi
|
|
12690
14465
|
*/
|
|
12691
|
-
public
|
|
12692
|
-
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));
|
|
12693
14468
|
}
|
|
12694
14469
|
|
|
12695
14470
|
/**
|
|
12696
14471
|
*
|
|
12697
|
-
* @param {
|
|
14472
|
+
* @param {number} page
|
|
14473
|
+
* @param {number} pageSize
|
|
14474
|
+
* @param {string} [search]
|
|
12698
14475
|
* @param {*} [options] Override http request option.
|
|
12699
14476
|
* @throws {RequiredError}
|
|
12700
|
-
* @memberof
|
|
14477
|
+
* @memberof WaitlistApi
|
|
12701
14478
|
*/
|
|
12702
|
-
public
|
|
12703
|
-
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));
|
|
12704
14481
|
}
|
|
12705
14482
|
}
|
|
12706
14483
|
|
|
12707
14484
|
|
|
12708
14485
|
|
|
12709
14486
|
/**
|
|
12710
|
-
*
|
|
14487
|
+
* WhatsOnApi - axios parameter creator
|
|
12711
14488
|
* @export
|
|
12712
14489
|
*/
|
|
12713
|
-
export const
|
|
14490
|
+
export const WhatsOnApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
12714
14491
|
return {
|
|
12715
14492
|
/**
|
|
12716
14493
|
*
|
|
12717
|
-
* @param {
|
|
14494
|
+
* @param {WhatsOnPayloadDTO} whatsOnPayloadDTO
|
|
12718
14495
|
* @param {*} [options] Override http request option.
|
|
12719
14496
|
* @throws {RequiredError}
|
|
12720
14497
|
*/
|
|
12721
|
-
|
|
12722
|
-
// verify required parameter '
|
|
12723
|
-
assertParamExists('
|
|
12724
|
-
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`;
|
|
12725
14502
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
12726
14503
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
12727
14504
|
let baseOptions;
|
|
@@ -12744,7 +14521,7 @@ export const WaitlistApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
12744
14521
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
12745
14522
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
12746
14523
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
12747
|
-
localVarRequestOptions.data = serializeDataIfNeeded(
|
|
14524
|
+
localVarRequestOptions.data = serializeDataIfNeeded(whatsOnPayloadDTO, localVarRequestOptions, configuration)
|
|
12748
14525
|
|
|
12749
14526
|
return {
|
|
12750
14527
|
url: toPathString(localVarUrlObj),
|
|
@@ -12754,16 +14531,13 @@ export const WaitlistApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
12754
14531
|
/**
|
|
12755
14532
|
*
|
|
12756
14533
|
* @param {string} id
|
|
12757
|
-
* @param {WaitlistPayloadDTO} waitlistPayloadDTO
|
|
12758
14534
|
* @param {*} [options] Override http request option.
|
|
12759
14535
|
* @throws {RequiredError}
|
|
12760
14536
|
*/
|
|
12761
|
-
|
|
14537
|
+
whatsOnControllerDeleteTagById: async (id: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
12762
14538
|
// verify required parameter 'id' is not null or undefined
|
|
12763
|
-
assertParamExists('
|
|
12764
|
-
|
|
12765
|
-
assertParamExists('waitlistControllerAvailableSlots', 'waitlistPayloadDTO', waitlistPayloadDTO)
|
|
12766
|
-
const localVarPath = `/v1/waitlist/{id}`
|
|
14539
|
+
assertParamExists('whatsOnControllerDeleteTagById', 'id', id)
|
|
14540
|
+
const localVarPath = `/v1/whats-on/{id}`
|
|
12767
14541
|
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
12768
14542
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
12769
14543
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -12772,7 +14546,43 @@ export const WaitlistApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
12772
14546
|
baseOptions = configuration.baseOptions;
|
|
12773
14547
|
}
|
|
12774
14548
|
|
|
12775
|
-
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};
|
|
12776
14586
|
const localVarHeaderParameter = {} as any;
|
|
12777
14587
|
const localVarQueryParameter = {} as any;
|
|
12778
14588
|
|
|
@@ -12787,7 +14597,7 @@ export const WaitlistApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
12787
14597
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
12788
14598
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
12789
14599
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
12790
|
-
localVarRequestOptions.data = serializeDataIfNeeded(
|
|
14600
|
+
localVarRequestOptions.data = serializeDataIfNeeded(whatsOnFindDTO, localVarRequestOptions, configuration)
|
|
12791
14601
|
|
|
12792
14602
|
return {
|
|
12793
14603
|
url: toPathString(localVarUrlObj),
|
|
@@ -12796,18 +14606,15 @@ export const WaitlistApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
12796
14606
|
},
|
|
12797
14607
|
/**
|
|
12798
14608
|
*
|
|
12799
|
-
* @param {
|
|
12800
|
-
* @param {number} pageSize
|
|
12801
|
-
* @param {string} [search]
|
|
14609
|
+
* @param {string} id
|
|
12802
14610
|
* @param {*} [options] Override http request option.
|
|
12803
14611
|
* @throws {RequiredError}
|
|
12804
14612
|
*/
|
|
12805
|
-
|
|
12806
|
-
// verify required parameter '
|
|
12807
|
-
assertParamExists('
|
|
12808
|
-
|
|
12809
|
-
|
|
12810
|
-
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)));
|
|
12811
14618
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
12812
14619
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
12813
14620
|
let baseOptions;
|
|
@@ -12823,23 +14630,54 @@ export const WaitlistApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
12823
14630
|
// http bearer authentication required
|
|
12824
14631
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
12825
14632
|
|
|
12826
|
-
if (page !== undefined) {
|
|
12827
|
-
localVarQueryParameter['page'] = page;
|
|
12828
|
-
}
|
|
12829
14633
|
|
|
12830
|
-
|
|
12831
|
-
|
|
12832
|
-
}
|
|
14634
|
+
|
|
14635
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
14636
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
14637
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
12833
14638
|
|
|
12834
|
-
|
|
12835
|
-
|
|
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;
|
|
12836
14663
|
}
|
|
12837
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
|
+
|
|
12838
14673
|
|
|
12839
14674
|
|
|
14675
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
14676
|
+
|
|
12840
14677
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
12841
14678
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
12842
14679
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
14680
|
+
localVarRequestOptions.data = serializeDataIfNeeded(whatsOnPayloadDTO, localVarRequestOptions, configuration)
|
|
12843
14681
|
|
|
12844
14682
|
return {
|
|
12845
14683
|
url: toPathString(localVarUrlObj),
|
|
@@ -12850,135 +14688,193 @@ export const WaitlistApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
12850
14688
|
};
|
|
12851
14689
|
|
|
12852
14690
|
/**
|
|
12853
|
-
*
|
|
14691
|
+
* WhatsOnApi - functional programming interface
|
|
12854
14692
|
* @export
|
|
12855
14693
|
*/
|
|
12856
|
-
export const
|
|
12857
|
-
const localVarAxiosParamCreator =
|
|
14694
|
+
export const WhatsOnApiFp = function(configuration?: Configuration) {
|
|
14695
|
+
const localVarAxiosParamCreator = WhatsOnApiAxiosParamCreator(configuration)
|
|
12858
14696
|
return {
|
|
12859
14697
|
/**
|
|
12860
14698
|
*
|
|
12861
|
-
* @param {
|
|
14699
|
+
* @param {WhatsOnPayloadDTO} whatsOnPayloadDTO
|
|
12862
14700
|
* @param {*} [options] Override http request option.
|
|
12863
14701
|
* @throws {RequiredError}
|
|
12864
14702
|
*/
|
|
12865
|
-
async
|
|
12866
|
-
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);
|
|
12867
14705
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
12868
|
-
const localVarOperationServerBasePath = operationServerMap['
|
|
14706
|
+
const localVarOperationServerBasePath = operationServerMap['WhatsOnApi.whatsOnControllerCreateTag']?.[localVarOperationServerIndex]?.url;
|
|
12869
14707
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
12870
14708
|
},
|
|
12871
14709
|
/**
|
|
12872
14710
|
*
|
|
12873
14711
|
* @param {string} id
|
|
12874
|
-
* @param {WaitlistPayloadDTO} waitlistPayloadDTO
|
|
12875
14712
|
* @param {*} [options] Override http request option.
|
|
12876
14713
|
* @throws {RequiredError}
|
|
12877
14714
|
*/
|
|
12878
|
-
async
|
|
12879
|
-
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);
|
|
12880
14717
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
12881
|
-
const localVarOperationServerBasePath = operationServerMap['
|
|
14718
|
+
const localVarOperationServerBasePath = operationServerMap['WhatsOnApi.whatsOnControllerDeleteTagById']?.[localVarOperationServerIndex]?.url;
|
|
12882
14719
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
12883
14720
|
},
|
|
12884
14721
|
/**
|
|
12885
14722
|
*
|
|
12886
|
-
* @param {
|
|
12887
|
-
* @param {number} pageSize
|
|
12888
|
-
* @param {string} [search]
|
|
14723
|
+
* @param {WhatsOnFindDTO} whatsOnFindDTO
|
|
12889
14724
|
* @param {*} [options] Override http request option.
|
|
12890
14725
|
* @throws {RequiredError}
|
|
12891
14726
|
*/
|
|
12892
|
-
async
|
|
12893
|
-
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);
|
|
12894
14729
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
12895
|
-
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;
|
|
12896
14756
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
12897
14757
|
},
|
|
12898
14758
|
}
|
|
12899
14759
|
};
|
|
12900
14760
|
|
|
12901
14761
|
/**
|
|
12902
|
-
*
|
|
14762
|
+
* WhatsOnApi - factory interface
|
|
12903
14763
|
* @export
|
|
12904
14764
|
*/
|
|
12905
|
-
export const
|
|
12906
|
-
const localVarFp =
|
|
14765
|
+
export const WhatsOnApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
14766
|
+
const localVarFp = WhatsOnApiFp(configuration)
|
|
12907
14767
|
return {
|
|
12908
14768
|
/**
|
|
12909
14769
|
*
|
|
12910
|
-
* @param {
|
|
14770
|
+
* @param {WhatsOnPayloadDTO} whatsOnPayloadDTO
|
|
12911
14771
|
* @param {*} [options] Override http request option.
|
|
12912
14772
|
* @throws {RequiredError}
|
|
12913
14773
|
*/
|
|
12914
|
-
|
|
12915
|
-
return localVarFp.
|
|
14774
|
+
whatsOnControllerCreateTag(whatsOnPayloadDTO: WhatsOnPayloadDTO, options?: RawAxiosRequestConfig): AxiosPromise<WhatsOnDTO> {
|
|
14775
|
+
return localVarFp.whatsOnControllerCreateTag(whatsOnPayloadDTO, options).then((request) => request(axios, basePath));
|
|
12916
14776
|
},
|
|
12917
14777
|
/**
|
|
12918
14778
|
*
|
|
12919
14779
|
* @param {string} id
|
|
12920
|
-
* @param {WaitlistPayloadDTO} waitlistPayloadDTO
|
|
12921
14780
|
* @param {*} [options] Override http request option.
|
|
12922
14781
|
* @throws {RequiredError}
|
|
12923
14782
|
*/
|
|
12924
|
-
|
|
12925
|
-
return localVarFp.
|
|
14783
|
+
whatsOnControllerDeleteTagById(id: string, options?: RawAxiosRequestConfig): AxiosPromise<WhatsOnDeleteResponseDTO> {
|
|
14784
|
+
return localVarFp.whatsOnControllerDeleteTagById(id, options).then((request) => request(axios, basePath));
|
|
12926
14785
|
},
|
|
12927
14786
|
/**
|
|
12928
14787
|
*
|
|
12929
|
-
* @param {
|
|
12930
|
-
* @param {number} pageSize
|
|
12931
|
-
* @param {string} [search]
|
|
14788
|
+
* @param {WhatsOnFindDTO} whatsOnFindDTO
|
|
12932
14789
|
* @param {*} [options] Override http request option.
|
|
12933
14790
|
* @throws {RequiredError}
|
|
12934
14791
|
*/
|
|
12935
|
-
|
|
12936
|
-
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));
|
|
12937
14813
|
},
|
|
12938
14814
|
};
|
|
12939
14815
|
};
|
|
12940
14816
|
|
|
12941
14817
|
/**
|
|
12942
|
-
*
|
|
14818
|
+
* WhatsOnApi - object-oriented interface
|
|
12943
14819
|
* @export
|
|
12944
|
-
* @class
|
|
14820
|
+
* @class WhatsOnApi
|
|
12945
14821
|
* @extends {BaseAPI}
|
|
12946
14822
|
*/
|
|
12947
|
-
export class
|
|
14823
|
+
export class WhatsOnApi extends BaseAPI {
|
|
12948
14824
|
/**
|
|
12949
14825
|
*
|
|
12950
|
-
* @param {
|
|
14826
|
+
* @param {WhatsOnPayloadDTO} whatsOnPayloadDTO
|
|
12951
14827
|
* @param {*} [options] Override http request option.
|
|
12952
14828
|
* @throws {RequiredError}
|
|
12953
|
-
* @memberof
|
|
14829
|
+
* @memberof WhatsOnApi
|
|
12954
14830
|
*/
|
|
12955
|
-
public
|
|
12956
|
-
return
|
|
14831
|
+
public whatsOnControllerCreateTag(whatsOnPayloadDTO: WhatsOnPayloadDTO, options?: RawAxiosRequestConfig) {
|
|
14832
|
+
return WhatsOnApiFp(this.configuration).whatsOnControllerCreateTag(whatsOnPayloadDTO, options).then((request) => request(this.axios, this.basePath));
|
|
12957
14833
|
}
|
|
12958
14834
|
|
|
12959
14835
|
/**
|
|
12960
14836
|
*
|
|
12961
14837
|
* @param {string} id
|
|
12962
|
-
* @param {WaitlistPayloadDTO} waitlistPayloadDTO
|
|
12963
14838
|
* @param {*} [options] Override http request option.
|
|
12964
14839
|
* @throws {RequiredError}
|
|
12965
|
-
* @memberof
|
|
14840
|
+
* @memberof WhatsOnApi
|
|
12966
14841
|
*/
|
|
12967
|
-
public
|
|
12968
|
-
return
|
|
14842
|
+
public whatsOnControllerDeleteTagById(id: string, options?: RawAxiosRequestConfig) {
|
|
14843
|
+
return WhatsOnApiFp(this.configuration).whatsOnControllerDeleteTagById(id, options).then((request) => request(this.axios, this.basePath));
|
|
12969
14844
|
}
|
|
12970
14845
|
|
|
12971
14846
|
/**
|
|
12972
14847
|
*
|
|
12973
|
-
* @param {
|
|
12974
|
-
* @param {number} pageSize
|
|
12975
|
-
* @param {string} [search]
|
|
14848
|
+
* @param {WhatsOnFindDTO} whatsOnFindDTO
|
|
12976
14849
|
* @param {*} [options] Override http request option.
|
|
12977
14850
|
* @throws {RequiredError}
|
|
12978
|
-
* @memberof
|
|
14851
|
+
* @memberof WhatsOnApi
|
|
12979
14852
|
*/
|
|
12980
|
-
public
|
|
12981
|
-
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));
|
|
12982
14878
|
}
|
|
12983
14879
|
}
|
|
12984
14880
|
|