@gooday_corp/gooday-api-client 1.2.60 → 1.2.62
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 +881 -278
- package/package.json +1 -1
package/api.ts
CHANGED
|
@@ -274,6 +274,12 @@ export interface AssistantEntity {
|
|
|
274
274
|
* @memberof AssistantEntity
|
|
275
275
|
*/
|
|
276
276
|
'attributes': AttributesDto;
|
|
277
|
+
/**
|
|
278
|
+
* Profile URL or path
|
|
279
|
+
* @type {string}
|
|
280
|
+
* @memberof AssistantEntity
|
|
281
|
+
*/
|
|
282
|
+
'profile': string;
|
|
277
283
|
}
|
|
278
284
|
/**
|
|
279
285
|
*
|
|
@@ -368,6 +374,12 @@ export interface AvailableSlotsPayload {
|
|
|
368
374
|
* @memberof AvailableSlotsPayload
|
|
369
375
|
*/
|
|
370
376
|
'business': string;
|
|
377
|
+
/**
|
|
378
|
+
*
|
|
379
|
+
* @type {string}
|
|
380
|
+
* @memberof AvailableSlotsPayload
|
|
381
|
+
*/
|
|
382
|
+
'venue': string;
|
|
371
383
|
/**
|
|
372
384
|
* List of collaborators associated with the booking
|
|
373
385
|
* @type {Array<string>}
|
|
@@ -396,6 +408,175 @@ export const AvailableSlotsPayloadViewEnum = {
|
|
|
396
408
|
|
|
397
409
|
export type AvailableSlotsPayloadViewEnum = typeof AvailableSlotsPayloadViewEnum[keyof typeof AvailableSlotsPayloadViewEnum];
|
|
398
410
|
|
|
411
|
+
/**
|
|
412
|
+
*
|
|
413
|
+
* @export
|
|
414
|
+
* @interface BlockoutDTO
|
|
415
|
+
*/
|
|
416
|
+
export interface BlockoutDTO {
|
|
417
|
+
/**
|
|
418
|
+
*
|
|
419
|
+
* @type {BlockoutEntity}
|
|
420
|
+
* @memberof BlockoutDTO
|
|
421
|
+
*/
|
|
422
|
+
'data': BlockoutEntity;
|
|
423
|
+
/**
|
|
424
|
+
* statusCode
|
|
425
|
+
* @type {number}
|
|
426
|
+
* @memberof BlockoutDTO
|
|
427
|
+
*/
|
|
428
|
+
'statusCode': number;
|
|
429
|
+
}
|
|
430
|
+
/**
|
|
431
|
+
*
|
|
432
|
+
* @export
|
|
433
|
+
* @interface BlockoutDeleteResponseDTO
|
|
434
|
+
*/
|
|
435
|
+
export interface BlockoutDeleteResponseDTO {
|
|
436
|
+
/**
|
|
437
|
+
* statusCode
|
|
438
|
+
* @type {number}
|
|
439
|
+
* @memberof BlockoutDeleteResponseDTO
|
|
440
|
+
*/
|
|
441
|
+
'statusCode': number;
|
|
442
|
+
}
|
|
443
|
+
/**
|
|
444
|
+
*
|
|
445
|
+
* @export
|
|
446
|
+
* @interface BlockoutEntity
|
|
447
|
+
*/
|
|
448
|
+
export interface BlockoutEntity {
|
|
449
|
+
/**
|
|
450
|
+
* Event id
|
|
451
|
+
* @type {string}
|
|
452
|
+
* @memberof BlockoutEntity
|
|
453
|
+
*/
|
|
454
|
+
'_id': string;
|
|
455
|
+
/**
|
|
456
|
+
* Event name
|
|
457
|
+
* @type {string}
|
|
458
|
+
* @memberof BlockoutEntity
|
|
459
|
+
*/
|
|
460
|
+
'title': string;
|
|
461
|
+
/**
|
|
462
|
+
* Start date for the events
|
|
463
|
+
* @type {string}
|
|
464
|
+
* @memberof BlockoutEntity
|
|
465
|
+
*/
|
|
466
|
+
'startDate': string;
|
|
467
|
+
/**
|
|
468
|
+
* End date for the events
|
|
469
|
+
* @type {string}
|
|
470
|
+
* @memberof BlockoutEntity
|
|
471
|
+
*/
|
|
472
|
+
'endDate': string;
|
|
473
|
+
/**
|
|
474
|
+
*
|
|
475
|
+
* @type {string}
|
|
476
|
+
* @memberof BlockoutEntity
|
|
477
|
+
*/
|
|
478
|
+
'repeat': BlockoutEntityRepeatEnum;
|
|
479
|
+
/**
|
|
480
|
+
* Repeat end date for the blockout
|
|
481
|
+
* @type {string}
|
|
482
|
+
* @memberof BlockoutEntity
|
|
483
|
+
*/
|
|
484
|
+
'endDateRepeat': string;
|
|
485
|
+
/**
|
|
486
|
+
*
|
|
487
|
+
* @type {Array<BusinessVenueDetailsEntity>}
|
|
488
|
+
* @memberof BlockoutEntity
|
|
489
|
+
*/
|
|
490
|
+
'venue': Array<BusinessVenueDetailsEntity>;
|
|
491
|
+
/**
|
|
492
|
+
*
|
|
493
|
+
* @type {string}
|
|
494
|
+
* @memberof BlockoutEntity
|
|
495
|
+
*/
|
|
496
|
+
'business': string;
|
|
497
|
+
}
|
|
498
|
+
|
|
499
|
+
export const BlockoutEntityRepeatEnum = {
|
|
500
|
+
None: 'NONE',
|
|
501
|
+
EveryWeek: 'EVERY_WEEK',
|
|
502
|
+
EveryMonth: 'EVERY_MONTH',
|
|
503
|
+
EveryYear: 'EVERY_YEAR'
|
|
504
|
+
} as const;
|
|
505
|
+
|
|
506
|
+
export type BlockoutEntityRepeatEnum = typeof BlockoutEntityRepeatEnum[keyof typeof BlockoutEntityRepeatEnum];
|
|
507
|
+
|
|
508
|
+
/**
|
|
509
|
+
*
|
|
510
|
+
* @export
|
|
511
|
+
* @interface BlockoutPayloadDTO
|
|
512
|
+
*/
|
|
513
|
+
export interface BlockoutPayloadDTO {
|
|
514
|
+
/**
|
|
515
|
+
* Event name
|
|
516
|
+
* @type {string}
|
|
517
|
+
* @memberof BlockoutPayloadDTO
|
|
518
|
+
*/
|
|
519
|
+
'title': string;
|
|
520
|
+
/**
|
|
521
|
+
* Start date for the blockout
|
|
522
|
+
* @type {string}
|
|
523
|
+
* @memberof BlockoutPayloadDTO
|
|
524
|
+
*/
|
|
525
|
+
'startDate': string;
|
|
526
|
+
/**
|
|
527
|
+
* End date for the blockout
|
|
528
|
+
* @type {string}
|
|
529
|
+
* @memberof BlockoutPayloadDTO
|
|
530
|
+
*/
|
|
531
|
+
'endDate': string;
|
|
532
|
+
/**
|
|
533
|
+
*
|
|
534
|
+
* @type {string}
|
|
535
|
+
* @memberof BlockoutPayloadDTO
|
|
536
|
+
*/
|
|
537
|
+
'repeat': BlockoutPayloadDTORepeatEnum;
|
|
538
|
+
/**
|
|
539
|
+
* Repeat end date for the events
|
|
540
|
+
* @type {string}
|
|
541
|
+
* @memberof BlockoutPayloadDTO
|
|
542
|
+
*/
|
|
543
|
+
'endDateRepeat': string;
|
|
544
|
+
/**
|
|
545
|
+
* Business venue
|
|
546
|
+
* @type {Array<string>}
|
|
547
|
+
* @memberof BlockoutPayloadDTO
|
|
548
|
+
*/
|
|
549
|
+
'venue': Array<string>;
|
|
550
|
+
}
|
|
551
|
+
|
|
552
|
+
export const BlockoutPayloadDTORepeatEnum = {
|
|
553
|
+
None: 'NONE',
|
|
554
|
+
EveryWeek: 'EVERY_WEEK',
|
|
555
|
+
EveryMonth: 'EVERY_MONTH',
|
|
556
|
+
EveryYear: 'EVERY_YEAR'
|
|
557
|
+
} as const;
|
|
558
|
+
|
|
559
|
+
export type BlockoutPayloadDTORepeatEnum = typeof BlockoutPayloadDTORepeatEnum[keyof typeof BlockoutPayloadDTORepeatEnum];
|
|
560
|
+
|
|
561
|
+
/**
|
|
562
|
+
*
|
|
563
|
+
* @export
|
|
564
|
+
* @interface BlockoutResponseDTO
|
|
565
|
+
*/
|
|
566
|
+
export interface BlockoutResponseDTO {
|
|
567
|
+
/**
|
|
568
|
+
*
|
|
569
|
+
* @type {Array<BlockoutEntity>}
|
|
570
|
+
* @memberof BlockoutResponseDTO
|
|
571
|
+
*/
|
|
572
|
+
'data': Array<BlockoutEntity>;
|
|
573
|
+
/**
|
|
574
|
+
* statusCode
|
|
575
|
+
* @type {number}
|
|
576
|
+
* @memberof BlockoutResponseDTO
|
|
577
|
+
*/
|
|
578
|
+
'statusCode': number;
|
|
579
|
+
}
|
|
399
580
|
/**
|
|
400
581
|
*
|
|
401
582
|
* @export
|
|
@@ -871,12 +1052,6 @@ export interface BusinessDetailsPayloadDTO {
|
|
|
871
1052
|
* @memberof BusinessDetailsPayloadDTO
|
|
872
1053
|
*/
|
|
873
1054
|
'businessCategory'?: string;
|
|
874
|
-
/**
|
|
875
|
-
* Business Timing
|
|
876
|
-
* @type {Array<BusinessTiming>}
|
|
877
|
-
* @memberof BusinessDetailsPayloadDTO
|
|
878
|
-
*/
|
|
879
|
-
'timing'?: Array<BusinessTiming>;
|
|
880
1055
|
/**
|
|
881
1056
|
* Business Venue
|
|
882
1057
|
* @type {BusinessVenueDTO}
|
|
@@ -950,18 +1125,6 @@ export interface BusinessEntity {
|
|
|
950
1125
|
* @memberof BusinessEntity
|
|
951
1126
|
*/
|
|
952
1127
|
'_id': string;
|
|
953
|
-
/**
|
|
954
|
-
* Business Timing
|
|
955
|
-
* @type {Array<BusinessTiming>}
|
|
956
|
-
* @memberof BusinessEntity
|
|
957
|
-
*/
|
|
958
|
-
'timing'?: Array<BusinessTiming>;
|
|
959
|
-
/**
|
|
960
|
-
* Business Current Timing
|
|
961
|
-
* @type {BusinessTiming}
|
|
962
|
-
* @memberof BusinessEntity
|
|
963
|
-
*/
|
|
964
|
-
'currentTime'?: BusinessTiming;
|
|
965
1128
|
/**
|
|
966
1129
|
* Business policies
|
|
967
1130
|
* @type {string}
|
|
@@ -1514,6 +1677,12 @@ export interface BusinessTime {
|
|
|
1514
1677
|
* @memberof BusinessTime
|
|
1515
1678
|
*/
|
|
1516
1679
|
'closeAt': string;
|
|
1680
|
+
/**
|
|
1681
|
+
* Business close time
|
|
1682
|
+
* @type {string}
|
|
1683
|
+
* @memberof BusinessTime
|
|
1684
|
+
*/
|
|
1685
|
+
'finalBookingTime': string;
|
|
1517
1686
|
}
|
|
1518
1687
|
/**
|
|
1519
1688
|
*
|
|
@@ -1640,6 +1809,12 @@ export interface BusinessVenueDTO {
|
|
|
1640
1809
|
* @memberof BusinessVenueDTO
|
|
1641
1810
|
*/
|
|
1642
1811
|
'coverPhoto': Array<string>;
|
|
1812
|
+
/**
|
|
1813
|
+
* Business Timing
|
|
1814
|
+
* @type {Array<BusinessTiming>}
|
|
1815
|
+
* @memberof BusinessVenueDTO
|
|
1816
|
+
*/
|
|
1817
|
+
'timing'?: Array<BusinessTiming>;
|
|
1643
1818
|
/**
|
|
1644
1819
|
*
|
|
1645
1820
|
* @type {string}
|
|
@@ -1815,6 +1990,18 @@ export interface BusinessVenueDetailsEntity {
|
|
|
1815
1990
|
* @memberof BusinessVenueDetailsEntity
|
|
1816
1991
|
*/
|
|
1817
1992
|
'furtherInstructions': string;
|
|
1993
|
+
/**
|
|
1994
|
+
*
|
|
1995
|
+
* @type {Array<BusinessTiming>}
|
|
1996
|
+
* @memberof BusinessVenueDetailsEntity
|
|
1997
|
+
*/
|
|
1998
|
+
'timing'?: Array<BusinessTiming>;
|
|
1999
|
+
/**
|
|
2000
|
+
* Business Current Timing
|
|
2001
|
+
* @type {BusinessTiming}
|
|
2002
|
+
* @memberof BusinessVenueDetailsEntity
|
|
2003
|
+
*/
|
|
2004
|
+
'currentTime'?: BusinessTiming;
|
|
1818
2005
|
}
|
|
1819
2006
|
/**
|
|
1820
2007
|
*
|
|
@@ -7292,18 +7479,545 @@ export const AuthApiAxiosParamCreator = function (configuration?: Configuration)
|
|
|
7292
7479
|
baseOptions = configuration.baseOptions;
|
|
7293
7480
|
}
|
|
7294
7481
|
|
|
7295
|
-
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
7482
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
7483
|
+
const localVarHeaderParameter = {} as any;
|
|
7484
|
+
const localVarQueryParameter = {} as any;
|
|
7485
|
+
|
|
7486
|
+
|
|
7487
|
+
|
|
7488
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
7489
|
+
|
|
7490
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
7491
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
7492
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
7493
|
+
localVarRequestOptions.data = serializeDataIfNeeded(signupDto, localVarRequestOptions, configuration)
|
|
7494
|
+
|
|
7495
|
+
return {
|
|
7496
|
+
url: toPathString(localVarUrlObj),
|
|
7497
|
+
options: localVarRequestOptions,
|
|
7498
|
+
};
|
|
7499
|
+
},
|
|
7500
|
+
/**
|
|
7501
|
+
*
|
|
7502
|
+
* @param {VerifyOTPPayloadDTO} verifyOTPPayloadDTO
|
|
7503
|
+
* @param {*} [options] Override http request option.
|
|
7504
|
+
* @throws {RequiredError}
|
|
7505
|
+
*/
|
|
7506
|
+
authControllerVerifyOTP: async (verifyOTPPayloadDTO: VerifyOTPPayloadDTO, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
7507
|
+
// verify required parameter 'verifyOTPPayloadDTO' is not null or undefined
|
|
7508
|
+
assertParamExists('authControllerVerifyOTP', 'verifyOTPPayloadDTO', verifyOTPPayloadDTO)
|
|
7509
|
+
const localVarPath = `/v1/auth/verify-otp`;
|
|
7510
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
7511
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
7512
|
+
let baseOptions;
|
|
7513
|
+
if (configuration) {
|
|
7514
|
+
baseOptions = configuration.baseOptions;
|
|
7515
|
+
}
|
|
7516
|
+
|
|
7517
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
7518
|
+
const localVarHeaderParameter = {} as any;
|
|
7519
|
+
const localVarQueryParameter = {} as any;
|
|
7520
|
+
|
|
7521
|
+
|
|
7522
|
+
|
|
7523
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
7524
|
+
|
|
7525
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
7526
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
7527
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
7528
|
+
localVarRequestOptions.data = serializeDataIfNeeded(verifyOTPPayloadDTO, localVarRequestOptions, configuration)
|
|
7529
|
+
|
|
7530
|
+
return {
|
|
7531
|
+
url: toPathString(localVarUrlObj),
|
|
7532
|
+
options: localVarRequestOptions,
|
|
7533
|
+
};
|
|
7534
|
+
},
|
|
7535
|
+
}
|
|
7536
|
+
};
|
|
7537
|
+
|
|
7538
|
+
/**
|
|
7539
|
+
* AuthApi - functional programming interface
|
|
7540
|
+
* @export
|
|
7541
|
+
*/
|
|
7542
|
+
export const AuthApiFp = function(configuration?: Configuration) {
|
|
7543
|
+
const localVarAxiosParamCreator = AuthApiAxiosParamCreator(configuration)
|
|
7544
|
+
return {
|
|
7545
|
+
/**
|
|
7546
|
+
*
|
|
7547
|
+
* @param {SignupDto} signupDto
|
|
7548
|
+
* @param {*} [options] Override http request option.
|
|
7549
|
+
* @throws {RequiredError}
|
|
7550
|
+
*/
|
|
7551
|
+
async authControllerBusinessRegister(signupDto: SignupDto, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SignupResponseDto>> {
|
|
7552
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.authControllerBusinessRegister(signupDto, options);
|
|
7553
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
7554
|
+
const localVarOperationServerBasePath = operationServerMap['AuthApi.authControllerBusinessRegister']?.[localVarOperationServerIndex]?.url;
|
|
7555
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
7556
|
+
},
|
|
7557
|
+
/**
|
|
7558
|
+
*
|
|
7559
|
+
* @param {NewPasswordPayloadDTO} newPasswordPayloadDTO
|
|
7560
|
+
* @param {*} [options] Override http request option.
|
|
7561
|
+
* @throws {RequiredError}
|
|
7562
|
+
*/
|
|
7563
|
+
async authControllerCreateNewPassword(newPasswordPayloadDTO: NewPasswordPayloadDTO, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<NewPasswordResponseDTO>> {
|
|
7564
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.authControllerCreateNewPassword(newPasswordPayloadDTO, options);
|
|
7565
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
7566
|
+
const localVarOperationServerBasePath = operationServerMap['AuthApi.authControllerCreateNewPassword']?.[localVarOperationServerIndex]?.url;
|
|
7567
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
7568
|
+
},
|
|
7569
|
+
/**
|
|
7570
|
+
*
|
|
7571
|
+
* @param {ForgotPasswordPayloadDTO} forgotPasswordPayloadDTO
|
|
7572
|
+
* @param {*} [options] Override http request option.
|
|
7573
|
+
* @throws {RequiredError}
|
|
7574
|
+
*/
|
|
7575
|
+
async authControllerForgotPassword(forgotPasswordPayloadDTO: ForgotPasswordPayloadDTO, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ForgotPasswordResponseDTO>> {
|
|
7576
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.authControllerForgotPassword(forgotPasswordPayloadDTO, options);
|
|
7577
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
7578
|
+
const localVarOperationServerBasePath = operationServerMap['AuthApi.authControllerForgotPassword']?.[localVarOperationServerIndex]?.url;
|
|
7579
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
7580
|
+
},
|
|
7581
|
+
/**
|
|
7582
|
+
*
|
|
7583
|
+
* @param {ForgotPasswordPayloadDTO} forgotPasswordPayloadDTO
|
|
7584
|
+
* @param {*} [options] Override http request option.
|
|
7585
|
+
* @throws {RequiredError}
|
|
7586
|
+
*/
|
|
7587
|
+
async authControllerResentOTP(forgotPasswordPayloadDTO: ForgotPasswordPayloadDTO, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ForgotPasswordResponseDTO>> {
|
|
7588
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.authControllerResentOTP(forgotPasswordPayloadDTO, options);
|
|
7589
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
7590
|
+
const localVarOperationServerBasePath = operationServerMap['AuthApi.authControllerResentOTP']?.[localVarOperationServerIndex]?.url;
|
|
7591
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
7592
|
+
},
|
|
7593
|
+
/**
|
|
7594
|
+
*
|
|
7595
|
+
* @param {ResetPasswordPayloadDTO} resetPasswordPayloadDTO
|
|
7596
|
+
* @param {*} [options] Override http request option.
|
|
7597
|
+
* @throws {RequiredError}
|
|
7598
|
+
*/
|
|
7599
|
+
async authControllerResetPassword(resetPasswordPayloadDTO: ResetPasswordPayloadDTO, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ResetPasswordResponseDTO>> {
|
|
7600
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.authControllerResetPassword(resetPasswordPayloadDTO, options);
|
|
7601
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
7602
|
+
const localVarOperationServerBasePath = operationServerMap['AuthApi.authControllerResetPassword']?.[localVarOperationServerIndex]?.url;
|
|
7603
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
7604
|
+
},
|
|
7605
|
+
/**
|
|
7606
|
+
*
|
|
7607
|
+
* @param {SignInDto} signInDto
|
|
7608
|
+
* @param {*} [options] Override http request option.
|
|
7609
|
+
* @throws {RequiredError}
|
|
7610
|
+
*/
|
|
7611
|
+
async authControllerSignIn(signInDto: SignInDto, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SignInResponseDto>> {
|
|
7612
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.authControllerSignIn(signInDto, options);
|
|
7613
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
7614
|
+
const localVarOperationServerBasePath = operationServerMap['AuthApi.authControllerSignIn']?.[localVarOperationServerIndex]?.url;
|
|
7615
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
7616
|
+
},
|
|
7617
|
+
/**
|
|
7618
|
+
*
|
|
7619
|
+
* @param {LoggedOutPayloadDTO} loggedOutPayloadDTO
|
|
7620
|
+
* @param {*} [options] Override http request option.
|
|
7621
|
+
* @throws {RequiredError}
|
|
7622
|
+
*/
|
|
7623
|
+
async authControllerSignOut(loggedOutPayloadDTO: LoggedOutPayloadDTO, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<LoggedOutResponse>> {
|
|
7624
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.authControllerSignOut(loggedOutPayloadDTO, options);
|
|
7625
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
7626
|
+
const localVarOperationServerBasePath = operationServerMap['AuthApi.authControllerSignOut']?.[localVarOperationServerIndex]?.url;
|
|
7627
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
7628
|
+
},
|
|
7629
|
+
/**
|
|
7630
|
+
*
|
|
7631
|
+
* @param {SignupDto} signupDto
|
|
7632
|
+
* @param {*} [options] Override http request option.
|
|
7633
|
+
* @throws {RequiredError}
|
|
7634
|
+
*/
|
|
7635
|
+
async authControllerSignUp(signupDto: SignupDto, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SignupResponseDto>> {
|
|
7636
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.authControllerSignUp(signupDto, options);
|
|
7637
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
7638
|
+
const localVarOperationServerBasePath = operationServerMap['AuthApi.authControllerSignUp']?.[localVarOperationServerIndex]?.url;
|
|
7639
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
7640
|
+
},
|
|
7641
|
+
/**
|
|
7642
|
+
*
|
|
7643
|
+
* @param {VerifyOTPPayloadDTO} verifyOTPPayloadDTO
|
|
7644
|
+
* @param {*} [options] Override http request option.
|
|
7645
|
+
* @throws {RequiredError}
|
|
7646
|
+
*/
|
|
7647
|
+
async authControllerVerifyOTP(verifyOTPPayloadDTO: VerifyOTPPayloadDTO, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<VerifyOTPResponseDTO>> {
|
|
7648
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.authControllerVerifyOTP(verifyOTPPayloadDTO, options);
|
|
7649
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
7650
|
+
const localVarOperationServerBasePath = operationServerMap['AuthApi.authControllerVerifyOTP']?.[localVarOperationServerIndex]?.url;
|
|
7651
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
7652
|
+
},
|
|
7653
|
+
}
|
|
7654
|
+
};
|
|
7655
|
+
|
|
7656
|
+
/**
|
|
7657
|
+
* AuthApi - factory interface
|
|
7658
|
+
* @export
|
|
7659
|
+
*/
|
|
7660
|
+
export const AuthApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
7661
|
+
const localVarFp = AuthApiFp(configuration)
|
|
7662
|
+
return {
|
|
7663
|
+
/**
|
|
7664
|
+
*
|
|
7665
|
+
* @param {SignupDto} signupDto
|
|
7666
|
+
* @param {*} [options] Override http request option.
|
|
7667
|
+
* @throws {RequiredError}
|
|
7668
|
+
*/
|
|
7669
|
+
authControllerBusinessRegister(signupDto: SignupDto, options?: RawAxiosRequestConfig): AxiosPromise<SignupResponseDto> {
|
|
7670
|
+
return localVarFp.authControllerBusinessRegister(signupDto, options).then((request) => request(axios, basePath));
|
|
7671
|
+
},
|
|
7672
|
+
/**
|
|
7673
|
+
*
|
|
7674
|
+
* @param {NewPasswordPayloadDTO} newPasswordPayloadDTO
|
|
7675
|
+
* @param {*} [options] Override http request option.
|
|
7676
|
+
* @throws {RequiredError}
|
|
7677
|
+
*/
|
|
7678
|
+
authControllerCreateNewPassword(newPasswordPayloadDTO: NewPasswordPayloadDTO, options?: RawAxiosRequestConfig): AxiosPromise<NewPasswordResponseDTO> {
|
|
7679
|
+
return localVarFp.authControllerCreateNewPassword(newPasswordPayloadDTO, options).then((request) => request(axios, basePath));
|
|
7680
|
+
},
|
|
7681
|
+
/**
|
|
7682
|
+
*
|
|
7683
|
+
* @param {ForgotPasswordPayloadDTO} forgotPasswordPayloadDTO
|
|
7684
|
+
* @param {*} [options] Override http request option.
|
|
7685
|
+
* @throws {RequiredError}
|
|
7686
|
+
*/
|
|
7687
|
+
authControllerForgotPassword(forgotPasswordPayloadDTO: ForgotPasswordPayloadDTO, options?: RawAxiosRequestConfig): AxiosPromise<ForgotPasswordResponseDTO> {
|
|
7688
|
+
return localVarFp.authControllerForgotPassword(forgotPasswordPayloadDTO, options).then((request) => request(axios, basePath));
|
|
7689
|
+
},
|
|
7690
|
+
/**
|
|
7691
|
+
*
|
|
7692
|
+
* @param {ForgotPasswordPayloadDTO} forgotPasswordPayloadDTO
|
|
7693
|
+
* @param {*} [options] Override http request option.
|
|
7694
|
+
* @throws {RequiredError}
|
|
7695
|
+
*/
|
|
7696
|
+
authControllerResentOTP(forgotPasswordPayloadDTO: ForgotPasswordPayloadDTO, options?: RawAxiosRequestConfig): AxiosPromise<ForgotPasswordResponseDTO> {
|
|
7697
|
+
return localVarFp.authControllerResentOTP(forgotPasswordPayloadDTO, options).then((request) => request(axios, basePath));
|
|
7698
|
+
},
|
|
7699
|
+
/**
|
|
7700
|
+
*
|
|
7701
|
+
* @param {ResetPasswordPayloadDTO} resetPasswordPayloadDTO
|
|
7702
|
+
* @param {*} [options] Override http request option.
|
|
7703
|
+
* @throws {RequiredError}
|
|
7704
|
+
*/
|
|
7705
|
+
authControllerResetPassword(resetPasswordPayloadDTO: ResetPasswordPayloadDTO, options?: RawAxiosRequestConfig): AxiosPromise<ResetPasswordResponseDTO> {
|
|
7706
|
+
return localVarFp.authControllerResetPassword(resetPasswordPayloadDTO, options).then((request) => request(axios, basePath));
|
|
7707
|
+
},
|
|
7708
|
+
/**
|
|
7709
|
+
*
|
|
7710
|
+
* @param {SignInDto} signInDto
|
|
7711
|
+
* @param {*} [options] Override http request option.
|
|
7712
|
+
* @throws {RequiredError}
|
|
7713
|
+
*/
|
|
7714
|
+
authControllerSignIn(signInDto: SignInDto, options?: RawAxiosRequestConfig): AxiosPromise<SignInResponseDto> {
|
|
7715
|
+
return localVarFp.authControllerSignIn(signInDto, options).then((request) => request(axios, basePath));
|
|
7716
|
+
},
|
|
7717
|
+
/**
|
|
7718
|
+
*
|
|
7719
|
+
* @param {LoggedOutPayloadDTO} loggedOutPayloadDTO
|
|
7720
|
+
* @param {*} [options] Override http request option.
|
|
7721
|
+
* @throws {RequiredError}
|
|
7722
|
+
*/
|
|
7723
|
+
authControllerSignOut(loggedOutPayloadDTO: LoggedOutPayloadDTO, options?: RawAxiosRequestConfig): AxiosPromise<LoggedOutResponse> {
|
|
7724
|
+
return localVarFp.authControllerSignOut(loggedOutPayloadDTO, options).then((request) => request(axios, basePath));
|
|
7725
|
+
},
|
|
7726
|
+
/**
|
|
7727
|
+
*
|
|
7728
|
+
* @param {SignupDto} signupDto
|
|
7729
|
+
* @param {*} [options] Override http request option.
|
|
7730
|
+
* @throws {RequiredError}
|
|
7731
|
+
*/
|
|
7732
|
+
authControllerSignUp(signupDto: SignupDto, options?: RawAxiosRequestConfig): AxiosPromise<SignupResponseDto> {
|
|
7733
|
+
return localVarFp.authControllerSignUp(signupDto, options).then((request) => request(axios, basePath));
|
|
7734
|
+
},
|
|
7735
|
+
/**
|
|
7736
|
+
*
|
|
7737
|
+
* @param {VerifyOTPPayloadDTO} verifyOTPPayloadDTO
|
|
7738
|
+
* @param {*} [options] Override http request option.
|
|
7739
|
+
* @throws {RequiredError}
|
|
7740
|
+
*/
|
|
7741
|
+
authControllerVerifyOTP(verifyOTPPayloadDTO: VerifyOTPPayloadDTO, options?: RawAxiosRequestConfig): AxiosPromise<VerifyOTPResponseDTO> {
|
|
7742
|
+
return localVarFp.authControllerVerifyOTP(verifyOTPPayloadDTO, options).then((request) => request(axios, basePath));
|
|
7743
|
+
},
|
|
7744
|
+
};
|
|
7745
|
+
};
|
|
7746
|
+
|
|
7747
|
+
/**
|
|
7748
|
+
* AuthApi - object-oriented interface
|
|
7749
|
+
* @export
|
|
7750
|
+
* @class AuthApi
|
|
7751
|
+
* @extends {BaseAPI}
|
|
7752
|
+
*/
|
|
7753
|
+
export class AuthApi extends BaseAPI {
|
|
7754
|
+
/**
|
|
7755
|
+
*
|
|
7756
|
+
* @param {SignupDto} signupDto
|
|
7757
|
+
* @param {*} [options] Override http request option.
|
|
7758
|
+
* @throws {RequiredError}
|
|
7759
|
+
* @memberof AuthApi
|
|
7760
|
+
*/
|
|
7761
|
+
public authControllerBusinessRegister(signupDto: SignupDto, options?: RawAxiosRequestConfig) {
|
|
7762
|
+
return AuthApiFp(this.configuration).authControllerBusinessRegister(signupDto, options).then((request) => request(this.axios, this.basePath));
|
|
7763
|
+
}
|
|
7764
|
+
|
|
7765
|
+
/**
|
|
7766
|
+
*
|
|
7767
|
+
* @param {NewPasswordPayloadDTO} newPasswordPayloadDTO
|
|
7768
|
+
* @param {*} [options] Override http request option.
|
|
7769
|
+
* @throws {RequiredError}
|
|
7770
|
+
* @memberof AuthApi
|
|
7771
|
+
*/
|
|
7772
|
+
public authControllerCreateNewPassword(newPasswordPayloadDTO: NewPasswordPayloadDTO, options?: RawAxiosRequestConfig) {
|
|
7773
|
+
return AuthApiFp(this.configuration).authControllerCreateNewPassword(newPasswordPayloadDTO, options).then((request) => request(this.axios, this.basePath));
|
|
7774
|
+
}
|
|
7775
|
+
|
|
7776
|
+
/**
|
|
7777
|
+
*
|
|
7778
|
+
* @param {ForgotPasswordPayloadDTO} forgotPasswordPayloadDTO
|
|
7779
|
+
* @param {*} [options] Override http request option.
|
|
7780
|
+
* @throws {RequiredError}
|
|
7781
|
+
* @memberof AuthApi
|
|
7782
|
+
*/
|
|
7783
|
+
public authControllerForgotPassword(forgotPasswordPayloadDTO: ForgotPasswordPayloadDTO, options?: RawAxiosRequestConfig) {
|
|
7784
|
+
return AuthApiFp(this.configuration).authControllerForgotPassword(forgotPasswordPayloadDTO, options).then((request) => request(this.axios, this.basePath));
|
|
7785
|
+
}
|
|
7786
|
+
|
|
7787
|
+
/**
|
|
7788
|
+
*
|
|
7789
|
+
* @param {ForgotPasswordPayloadDTO} forgotPasswordPayloadDTO
|
|
7790
|
+
* @param {*} [options] Override http request option.
|
|
7791
|
+
* @throws {RequiredError}
|
|
7792
|
+
* @memberof AuthApi
|
|
7793
|
+
*/
|
|
7794
|
+
public authControllerResentOTP(forgotPasswordPayloadDTO: ForgotPasswordPayloadDTO, options?: RawAxiosRequestConfig) {
|
|
7795
|
+
return AuthApiFp(this.configuration).authControllerResentOTP(forgotPasswordPayloadDTO, options).then((request) => request(this.axios, this.basePath));
|
|
7796
|
+
}
|
|
7797
|
+
|
|
7798
|
+
/**
|
|
7799
|
+
*
|
|
7800
|
+
* @param {ResetPasswordPayloadDTO} resetPasswordPayloadDTO
|
|
7801
|
+
* @param {*} [options] Override http request option.
|
|
7802
|
+
* @throws {RequiredError}
|
|
7803
|
+
* @memberof AuthApi
|
|
7804
|
+
*/
|
|
7805
|
+
public authControllerResetPassword(resetPasswordPayloadDTO: ResetPasswordPayloadDTO, options?: RawAxiosRequestConfig) {
|
|
7806
|
+
return AuthApiFp(this.configuration).authControllerResetPassword(resetPasswordPayloadDTO, options).then((request) => request(this.axios, this.basePath));
|
|
7807
|
+
}
|
|
7808
|
+
|
|
7809
|
+
/**
|
|
7810
|
+
*
|
|
7811
|
+
* @param {SignInDto} signInDto
|
|
7812
|
+
* @param {*} [options] Override http request option.
|
|
7813
|
+
* @throws {RequiredError}
|
|
7814
|
+
* @memberof AuthApi
|
|
7815
|
+
*/
|
|
7816
|
+
public authControllerSignIn(signInDto: SignInDto, options?: RawAxiosRequestConfig) {
|
|
7817
|
+
return AuthApiFp(this.configuration).authControllerSignIn(signInDto, options).then((request) => request(this.axios, this.basePath));
|
|
7818
|
+
}
|
|
7819
|
+
|
|
7820
|
+
/**
|
|
7821
|
+
*
|
|
7822
|
+
* @param {LoggedOutPayloadDTO} loggedOutPayloadDTO
|
|
7823
|
+
* @param {*} [options] Override http request option.
|
|
7824
|
+
* @throws {RequiredError}
|
|
7825
|
+
* @memberof AuthApi
|
|
7826
|
+
*/
|
|
7827
|
+
public authControllerSignOut(loggedOutPayloadDTO: LoggedOutPayloadDTO, options?: RawAxiosRequestConfig) {
|
|
7828
|
+
return AuthApiFp(this.configuration).authControllerSignOut(loggedOutPayloadDTO, options).then((request) => request(this.axios, this.basePath));
|
|
7829
|
+
}
|
|
7830
|
+
|
|
7831
|
+
/**
|
|
7832
|
+
*
|
|
7833
|
+
* @param {SignupDto} signupDto
|
|
7834
|
+
* @param {*} [options] Override http request option.
|
|
7835
|
+
* @throws {RequiredError}
|
|
7836
|
+
* @memberof AuthApi
|
|
7837
|
+
*/
|
|
7838
|
+
public authControllerSignUp(signupDto: SignupDto, options?: RawAxiosRequestConfig) {
|
|
7839
|
+
return AuthApiFp(this.configuration).authControllerSignUp(signupDto, options).then((request) => request(this.axios, this.basePath));
|
|
7840
|
+
}
|
|
7841
|
+
|
|
7842
|
+
/**
|
|
7843
|
+
*
|
|
7844
|
+
* @param {VerifyOTPPayloadDTO} verifyOTPPayloadDTO
|
|
7845
|
+
* @param {*} [options] Override http request option.
|
|
7846
|
+
* @throws {RequiredError}
|
|
7847
|
+
* @memberof AuthApi
|
|
7848
|
+
*/
|
|
7849
|
+
public authControllerVerifyOTP(verifyOTPPayloadDTO: VerifyOTPPayloadDTO, options?: RawAxiosRequestConfig) {
|
|
7850
|
+
return AuthApiFp(this.configuration).authControllerVerifyOTP(verifyOTPPayloadDTO, options).then((request) => request(this.axios, this.basePath));
|
|
7851
|
+
}
|
|
7852
|
+
}
|
|
7853
|
+
|
|
7854
|
+
|
|
7855
|
+
|
|
7856
|
+
/**
|
|
7857
|
+
* BlockoutApi - axios parameter creator
|
|
7858
|
+
* @export
|
|
7859
|
+
*/
|
|
7860
|
+
export const BlockoutApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
7861
|
+
return {
|
|
7862
|
+
/**
|
|
7863
|
+
*
|
|
7864
|
+
* @param {BlockoutPayloadDTO} blockoutPayloadDTO
|
|
7865
|
+
* @param {*} [options] Override http request option.
|
|
7866
|
+
* @throws {RequiredError}
|
|
7867
|
+
*/
|
|
7868
|
+
blockoutControllerCreateWhatsOn: async (blockoutPayloadDTO: BlockoutPayloadDTO, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
7869
|
+
// verify required parameter 'blockoutPayloadDTO' is not null or undefined
|
|
7870
|
+
assertParamExists('blockoutControllerCreateWhatsOn', 'blockoutPayloadDTO', blockoutPayloadDTO)
|
|
7871
|
+
const localVarPath = `/v1/blockout`;
|
|
7872
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
7873
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
7874
|
+
let baseOptions;
|
|
7875
|
+
if (configuration) {
|
|
7876
|
+
baseOptions = configuration.baseOptions;
|
|
7877
|
+
}
|
|
7878
|
+
|
|
7879
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
7880
|
+
const localVarHeaderParameter = {} as any;
|
|
7881
|
+
const localVarQueryParameter = {} as any;
|
|
7882
|
+
|
|
7883
|
+
// authentication bearer required
|
|
7884
|
+
// http bearer authentication required
|
|
7885
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
7886
|
+
|
|
7887
|
+
|
|
7888
|
+
|
|
7889
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
7890
|
+
|
|
7891
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
7892
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
7893
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
7894
|
+
localVarRequestOptions.data = serializeDataIfNeeded(blockoutPayloadDTO, localVarRequestOptions, configuration)
|
|
7895
|
+
|
|
7896
|
+
return {
|
|
7897
|
+
url: toPathString(localVarUrlObj),
|
|
7898
|
+
options: localVarRequestOptions,
|
|
7899
|
+
};
|
|
7900
|
+
},
|
|
7901
|
+
/**
|
|
7902
|
+
*
|
|
7903
|
+
* @param {string} id
|
|
7904
|
+
* @param {*} [options] Override http request option.
|
|
7905
|
+
* @throws {RequiredError}
|
|
7906
|
+
*/
|
|
7907
|
+
blockoutControllerDeleteBlockout: async (id: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
7908
|
+
// verify required parameter 'id' is not null or undefined
|
|
7909
|
+
assertParamExists('blockoutControllerDeleteBlockout', 'id', id)
|
|
7910
|
+
const localVarPath = `/v1/blockout/{id}`
|
|
7911
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
7912
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
7913
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
7914
|
+
let baseOptions;
|
|
7915
|
+
if (configuration) {
|
|
7916
|
+
baseOptions = configuration.baseOptions;
|
|
7917
|
+
}
|
|
7918
|
+
|
|
7919
|
+
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
|
|
7920
|
+
const localVarHeaderParameter = {} as any;
|
|
7921
|
+
const localVarQueryParameter = {} as any;
|
|
7922
|
+
|
|
7923
|
+
// authentication bearer required
|
|
7924
|
+
// http bearer authentication required
|
|
7925
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
7926
|
+
|
|
7927
|
+
|
|
7928
|
+
|
|
7929
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
7930
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
7931
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
7932
|
+
|
|
7933
|
+
return {
|
|
7934
|
+
url: toPathString(localVarUrlObj),
|
|
7935
|
+
options: localVarRequestOptions,
|
|
7936
|
+
};
|
|
7937
|
+
},
|
|
7938
|
+
/**
|
|
7939
|
+
*
|
|
7940
|
+
* @param {number} page
|
|
7941
|
+
* @param {number} pageSize
|
|
7942
|
+
* @param {Array<string>} [venue]
|
|
7943
|
+
* @param {*} [options] Override http request option.
|
|
7944
|
+
* @throws {RequiredError}
|
|
7945
|
+
*/
|
|
7946
|
+
blockoutControllerFindBlockout: async (page: number, pageSize: number, venue?: Array<string>, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
7947
|
+
// verify required parameter 'page' is not null or undefined
|
|
7948
|
+
assertParamExists('blockoutControllerFindBlockout', 'page', page)
|
|
7949
|
+
// verify required parameter 'pageSize' is not null or undefined
|
|
7950
|
+
assertParamExists('blockoutControllerFindBlockout', 'pageSize', pageSize)
|
|
7951
|
+
const localVarPath = `/v1/blockout`;
|
|
7952
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
7953
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
7954
|
+
let baseOptions;
|
|
7955
|
+
if (configuration) {
|
|
7956
|
+
baseOptions = configuration.baseOptions;
|
|
7957
|
+
}
|
|
7958
|
+
|
|
7959
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
7960
|
+
const localVarHeaderParameter = {} as any;
|
|
7961
|
+
const localVarQueryParameter = {} as any;
|
|
7962
|
+
|
|
7963
|
+
// authentication bearer required
|
|
7964
|
+
// http bearer authentication required
|
|
7965
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
7966
|
+
|
|
7967
|
+
if (page !== undefined) {
|
|
7968
|
+
localVarQueryParameter['page'] = page;
|
|
7969
|
+
}
|
|
7970
|
+
|
|
7971
|
+
if (pageSize !== undefined) {
|
|
7972
|
+
localVarQueryParameter['pageSize'] = pageSize;
|
|
7973
|
+
}
|
|
7974
|
+
|
|
7975
|
+
if (venue) {
|
|
7976
|
+
localVarQueryParameter['venue'] = venue;
|
|
7977
|
+
}
|
|
7978
|
+
|
|
7979
|
+
|
|
7980
|
+
|
|
7981
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
7982
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
7983
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
7984
|
+
|
|
7985
|
+
return {
|
|
7986
|
+
url: toPathString(localVarUrlObj),
|
|
7987
|
+
options: localVarRequestOptions,
|
|
7988
|
+
};
|
|
7989
|
+
},
|
|
7990
|
+
/**
|
|
7991
|
+
*
|
|
7992
|
+
* @param {string} id
|
|
7993
|
+
* @param {*} [options] Override http request option.
|
|
7994
|
+
* @throws {RequiredError}
|
|
7995
|
+
*/
|
|
7996
|
+
blockoutControllerFindBlockoutById: async (id: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
7997
|
+
// verify required parameter 'id' is not null or undefined
|
|
7998
|
+
assertParamExists('blockoutControllerFindBlockoutById', 'id', id)
|
|
7999
|
+
const localVarPath = `/v1/blockout/{id}`
|
|
8000
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
8001
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
8002
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
8003
|
+
let baseOptions;
|
|
8004
|
+
if (configuration) {
|
|
8005
|
+
baseOptions = configuration.baseOptions;
|
|
8006
|
+
}
|
|
8007
|
+
|
|
8008
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
7296
8009
|
const localVarHeaderParameter = {} as any;
|
|
7297
8010
|
const localVarQueryParameter = {} as any;
|
|
7298
8011
|
|
|
8012
|
+
// authentication bearer required
|
|
8013
|
+
// http bearer authentication required
|
|
8014
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
7299
8015
|
|
|
7300
|
-
|
|
7301
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
7302
8016
|
|
|
8017
|
+
|
|
7303
8018
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
7304
8019
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
7305
8020
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
7306
|
-
localVarRequestOptions.data = serializeDataIfNeeded(signupDto, localVarRequestOptions, configuration)
|
|
7307
8021
|
|
|
7308
8022
|
return {
|
|
7309
8023
|
url: toPathString(localVarUrlObj),
|
|
@@ -7312,14 +8026,18 @@ export const AuthApiAxiosParamCreator = function (configuration?: Configuration)
|
|
|
7312
8026
|
},
|
|
7313
8027
|
/**
|
|
7314
8028
|
*
|
|
7315
|
-
* @param {
|
|
8029
|
+
* @param {string} id
|
|
8030
|
+
* @param {BlockoutPayloadDTO} blockoutPayloadDTO
|
|
7316
8031
|
* @param {*} [options] Override http request option.
|
|
7317
8032
|
* @throws {RequiredError}
|
|
7318
8033
|
*/
|
|
7319
|
-
|
|
7320
|
-
// verify required parameter '
|
|
7321
|
-
assertParamExists('
|
|
7322
|
-
|
|
8034
|
+
blockoutControllerUpdateById: async (id: string, blockoutPayloadDTO: BlockoutPayloadDTO, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
8035
|
+
// verify required parameter 'id' is not null or undefined
|
|
8036
|
+
assertParamExists('blockoutControllerUpdateById', 'id', id)
|
|
8037
|
+
// verify required parameter 'blockoutPayloadDTO' is not null or undefined
|
|
8038
|
+
assertParamExists('blockoutControllerUpdateById', 'blockoutPayloadDTO', blockoutPayloadDTO)
|
|
8039
|
+
const localVarPath = `/v1/blockout/{id}`
|
|
8040
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
7323
8041
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
7324
8042
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
7325
8043
|
let baseOptions;
|
|
@@ -7327,10 +8045,14 @@ export const AuthApiAxiosParamCreator = function (configuration?: Configuration)
|
|
|
7327
8045
|
baseOptions = configuration.baseOptions;
|
|
7328
8046
|
}
|
|
7329
8047
|
|
|
7330
|
-
const localVarRequestOptions = { method: '
|
|
8048
|
+
const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
|
|
7331
8049
|
const localVarHeaderParameter = {} as any;
|
|
7332
8050
|
const localVarQueryParameter = {} as any;
|
|
7333
8051
|
|
|
8052
|
+
// authentication bearer required
|
|
8053
|
+
// http bearer authentication required
|
|
8054
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
8055
|
+
|
|
7334
8056
|
|
|
7335
8057
|
|
|
7336
8058
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
@@ -7338,7 +8060,7 @@ export const AuthApiAxiosParamCreator = function (configuration?: Configuration)
|
|
|
7338
8060
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
7339
8061
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
7340
8062
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
7341
|
-
localVarRequestOptions.data = serializeDataIfNeeded(
|
|
8063
|
+
localVarRequestOptions.data = serializeDataIfNeeded(blockoutPayloadDTO, localVarRequestOptions, configuration)
|
|
7342
8064
|
|
|
7343
8065
|
return {
|
|
7344
8066
|
url: toPathString(localVarUrlObj),
|
|
@@ -7349,318 +8071,199 @@ export const AuthApiAxiosParamCreator = function (configuration?: Configuration)
|
|
|
7349
8071
|
};
|
|
7350
8072
|
|
|
7351
8073
|
/**
|
|
7352
|
-
*
|
|
8074
|
+
* BlockoutApi - functional programming interface
|
|
7353
8075
|
* @export
|
|
7354
8076
|
*/
|
|
7355
|
-
export const
|
|
7356
|
-
const localVarAxiosParamCreator =
|
|
8077
|
+
export const BlockoutApiFp = function(configuration?: Configuration) {
|
|
8078
|
+
const localVarAxiosParamCreator = BlockoutApiAxiosParamCreator(configuration)
|
|
7357
8079
|
return {
|
|
7358
8080
|
/**
|
|
7359
8081
|
*
|
|
7360
|
-
* @param {
|
|
7361
|
-
* @param {*} [options] Override http request option.
|
|
7362
|
-
* @throws {RequiredError}
|
|
7363
|
-
*/
|
|
7364
|
-
async authControllerBusinessRegister(signupDto: SignupDto, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SignupResponseDto>> {
|
|
7365
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.authControllerBusinessRegister(signupDto, options);
|
|
7366
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
7367
|
-
const localVarOperationServerBasePath = operationServerMap['AuthApi.authControllerBusinessRegister']?.[localVarOperationServerIndex]?.url;
|
|
7368
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
7369
|
-
},
|
|
7370
|
-
/**
|
|
7371
|
-
*
|
|
7372
|
-
* @param {NewPasswordPayloadDTO} newPasswordPayloadDTO
|
|
7373
|
-
* @param {*} [options] Override http request option.
|
|
7374
|
-
* @throws {RequiredError}
|
|
7375
|
-
*/
|
|
7376
|
-
async authControllerCreateNewPassword(newPasswordPayloadDTO: NewPasswordPayloadDTO, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<NewPasswordResponseDTO>> {
|
|
7377
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.authControllerCreateNewPassword(newPasswordPayloadDTO, options);
|
|
7378
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
7379
|
-
const localVarOperationServerBasePath = operationServerMap['AuthApi.authControllerCreateNewPassword']?.[localVarOperationServerIndex]?.url;
|
|
7380
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
7381
|
-
},
|
|
7382
|
-
/**
|
|
7383
|
-
*
|
|
7384
|
-
* @param {ForgotPasswordPayloadDTO} forgotPasswordPayloadDTO
|
|
7385
|
-
* @param {*} [options] Override http request option.
|
|
7386
|
-
* @throws {RequiredError}
|
|
7387
|
-
*/
|
|
7388
|
-
async authControllerForgotPassword(forgotPasswordPayloadDTO: ForgotPasswordPayloadDTO, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ForgotPasswordResponseDTO>> {
|
|
7389
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.authControllerForgotPassword(forgotPasswordPayloadDTO, options);
|
|
7390
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
7391
|
-
const localVarOperationServerBasePath = operationServerMap['AuthApi.authControllerForgotPassword']?.[localVarOperationServerIndex]?.url;
|
|
7392
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
7393
|
-
},
|
|
7394
|
-
/**
|
|
7395
|
-
*
|
|
7396
|
-
* @param {ForgotPasswordPayloadDTO} forgotPasswordPayloadDTO
|
|
7397
|
-
* @param {*} [options] Override http request option.
|
|
7398
|
-
* @throws {RequiredError}
|
|
7399
|
-
*/
|
|
7400
|
-
async authControllerResentOTP(forgotPasswordPayloadDTO: ForgotPasswordPayloadDTO, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ForgotPasswordResponseDTO>> {
|
|
7401
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.authControllerResentOTP(forgotPasswordPayloadDTO, options);
|
|
7402
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
7403
|
-
const localVarOperationServerBasePath = operationServerMap['AuthApi.authControllerResentOTP']?.[localVarOperationServerIndex]?.url;
|
|
7404
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
7405
|
-
},
|
|
7406
|
-
/**
|
|
7407
|
-
*
|
|
7408
|
-
* @param {ResetPasswordPayloadDTO} resetPasswordPayloadDTO
|
|
8082
|
+
* @param {BlockoutPayloadDTO} blockoutPayloadDTO
|
|
7409
8083
|
* @param {*} [options] Override http request option.
|
|
7410
8084
|
* @throws {RequiredError}
|
|
7411
8085
|
*/
|
|
7412
|
-
async
|
|
7413
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
8086
|
+
async blockoutControllerCreateWhatsOn(blockoutPayloadDTO: BlockoutPayloadDTO, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BlockoutDTO>> {
|
|
8087
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.blockoutControllerCreateWhatsOn(blockoutPayloadDTO, options);
|
|
7414
8088
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
7415
|
-
const localVarOperationServerBasePath = operationServerMap['
|
|
8089
|
+
const localVarOperationServerBasePath = operationServerMap['BlockoutApi.blockoutControllerCreateWhatsOn']?.[localVarOperationServerIndex]?.url;
|
|
7416
8090
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
7417
8091
|
},
|
|
7418
8092
|
/**
|
|
7419
8093
|
*
|
|
7420
|
-
* @param {
|
|
8094
|
+
* @param {string} id
|
|
7421
8095
|
* @param {*} [options] Override http request option.
|
|
7422
8096
|
* @throws {RequiredError}
|
|
7423
8097
|
*/
|
|
7424
|
-
async
|
|
7425
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
8098
|
+
async blockoutControllerDeleteBlockout(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BlockoutDeleteResponseDTO>> {
|
|
8099
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.blockoutControllerDeleteBlockout(id, options);
|
|
7426
8100
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
7427
|
-
const localVarOperationServerBasePath = operationServerMap['
|
|
8101
|
+
const localVarOperationServerBasePath = operationServerMap['BlockoutApi.blockoutControllerDeleteBlockout']?.[localVarOperationServerIndex]?.url;
|
|
7428
8102
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
7429
8103
|
},
|
|
7430
8104
|
/**
|
|
7431
8105
|
*
|
|
7432
|
-
* @param {
|
|
8106
|
+
* @param {number} page
|
|
8107
|
+
* @param {number} pageSize
|
|
8108
|
+
* @param {Array<string>} [venue]
|
|
7433
8109
|
* @param {*} [options] Override http request option.
|
|
7434
8110
|
* @throws {RequiredError}
|
|
7435
8111
|
*/
|
|
7436
|
-
async
|
|
7437
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
8112
|
+
async blockoutControllerFindBlockout(page: number, pageSize: number, venue?: Array<string>, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BlockoutResponseDTO>> {
|
|
8113
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.blockoutControllerFindBlockout(page, pageSize, venue, options);
|
|
7438
8114
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
7439
|
-
const localVarOperationServerBasePath = operationServerMap['
|
|
8115
|
+
const localVarOperationServerBasePath = operationServerMap['BlockoutApi.blockoutControllerFindBlockout']?.[localVarOperationServerIndex]?.url;
|
|
7440
8116
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
7441
8117
|
},
|
|
7442
8118
|
/**
|
|
7443
8119
|
*
|
|
7444
|
-
* @param {
|
|
8120
|
+
* @param {string} id
|
|
7445
8121
|
* @param {*} [options] Override http request option.
|
|
7446
8122
|
* @throws {RequiredError}
|
|
7447
8123
|
*/
|
|
7448
|
-
async
|
|
7449
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
8124
|
+
async blockoutControllerFindBlockoutById(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BlockoutDTO>> {
|
|
8125
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.blockoutControllerFindBlockoutById(id, options);
|
|
7450
8126
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
7451
|
-
const localVarOperationServerBasePath = operationServerMap['
|
|
8127
|
+
const localVarOperationServerBasePath = operationServerMap['BlockoutApi.blockoutControllerFindBlockoutById']?.[localVarOperationServerIndex]?.url;
|
|
7452
8128
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
7453
8129
|
},
|
|
7454
8130
|
/**
|
|
7455
8131
|
*
|
|
7456
|
-
* @param {
|
|
8132
|
+
* @param {string} id
|
|
8133
|
+
* @param {BlockoutPayloadDTO} blockoutPayloadDTO
|
|
7457
8134
|
* @param {*} [options] Override http request option.
|
|
7458
8135
|
* @throws {RequiredError}
|
|
7459
8136
|
*/
|
|
7460
|
-
async
|
|
7461
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
8137
|
+
async blockoutControllerUpdateById(id: string, blockoutPayloadDTO: BlockoutPayloadDTO, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BlockoutDTO>> {
|
|
8138
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.blockoutControllerUpdateById(id, blockoutPayloadDTO, options);
|
|
7462
8139
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
7463
|
-
const localVarOperationServerBasePath = operationServerMap['
|
|
8140
|
+
const localVarOperationServerBasePath = operationServerMap['BlockoutApi.blockoutControllerUpdateById']?.[localVarOperationServerIndex]?.url;
|
|
7464
8141
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
7465
8142
|
},
|
|
7466
8143
|
}
|
|
7467
8144
|
};
|
|
7468
8145
|
|
|
7469
8146
|
/**
|
|
7470
|
-
*
|
|
8147
|
+
* BlockoutApi - factory interface
|
|
7471
8148
|
* @export
|
|
7472
8149
|
*/
|
|
7473
|
-
export const
|
|
7474
|
-
const localVarFp =
|
|
8150
|
+
export const BlockoutApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
8151
|
+
const localVarFp = BlockoutApiFp(configuration)
|
|
7475
8152
|
return {
|
|
7476
8153
|
/**
|
|
7477
8154
|
*
|
|
7478
|
-
* @param {
|
|
7479
|
-
* @param {*} [options] Override http request option.
|
|
7480
|
-
* @throws {RequiredError}
|
|
7481
|
-
*/
|
|
7482
|
-
authControllerBusinessRegister(signupDto: SignupDto, options?: RawAxiosRequestConfig): AxiosPromise<SignupResponseDto> {
|
|
7483
|
-
return localVarFp.authControllerBusinessRegister(signupDto, options).then((request) => request(axios, basePath));
|
|
7484
|
-
},
|
|
7485
|
-
/**
|
|
7486
|
-
*
|
|
7487
|
-
* @param {NewPasswordPayloadDTO} newPasswordPayloadDTO
|
|
7488
|
-
* @param {*} [options] Override http request option.
|
|
7489
|
-
* @throws {RequiredError}
|
|
7490
|
-
*/
|
|
7491
|
-
authControllerCreateNewPassword(newPasswordPayloadDTO: NewPasswordPayloadDTO, options?: RawAxiosRequestConfig): AxiosPromise<NewPasswordResponseDTO> {
|
|
7492
|
-
return localVarFp.authControllerCreateNewPassword(newPasswordPayloadDTO, options).then((request) => request(axios, basePath));
|
|
7493
|
-
},
|
|
7494
|
-
/**
|
|
7495
|
-
*
|
|
7496
|
-
* @param {ForgotPasswordPayloadDTO} forgotPasswordPayloadDTO
|
|
7497
|
-
* @param {*} [options] Override http request option.
|
|
7498
|
-
* @throws {RequiredError}
|
|
7499
|
-
*/
|
|
7500
|
-
authControllerForgotPassword(forgotPasswordPayloadDTO: ForgotPasswordPayloadDTO, options?: RawAxiosRequestConfig): AxiosPromise<ForgotPasswordResponseDTO> {
|
|
7501
|
-
return localVarFp.authControllerForgotPassword(forgotPasswordPayloadDTO, options).then((request) => request(axios, basePath));
|
|
7502
|
-
},
|
|
7503
|
-
/**
|
|
7504
|
-
*
|
|
7505
|
-
* @param {ForgotPasswordPayloadDTO} forgotPasswordPayloadDTO
|
|
7506
|
-
* @param {*} [options] Override http request option.
|
|
7507
|
-
* @throws {RequiredError}
|
|
7508
|
-
*/
|
|
7509
|
-
authControllerResentOTP(forgotPasswordPayloadDTO: ForgotPasswordPayloadDTO, options?: RawAxiosRequestConfig): AxiosPromise<ForgotPasswordResponseDTO> {
|
|
7510
|
-
return localVarFp.authControllerResentOTP(forgotPasswordPayloadDTO, options).then((request) => request(axios, basePath));
|
|
7511
|
-
},
|
|
7512
|
-
/**
|
|
7513
|
-
*
|
|
7514
|
-
* @param {ResetPasswordPayloadDTO} resetPasswordPayloadDTO
|
|
8155
|
+
* @param {BlockoutPayloadDTO} blockoutPayloadDTO
|
|
7515
8156
|
* @param {*} [options] Override http request option.
|
|
7516
8157
|
* @throws {RequiredError}
|
|
7517
8158
|
*/
|
|
7518
|
-
|
|
7519
|
-
return localVarFp.
|
|
8159
|
+
blockoutControllerCreateWhatsOn(blockoutPayloadDTO: BlockoutPayloadDTO, options?: RawAxiosRequestConfig): AxiosPromise<BlockoutDTO> {
|
|
8160
|
+
return localVarFp.blockoutControllerCreateWhatsOn(blockoutPayloadDTO, options).then((request) => request(axios, basePath));
|
|
7520
8161
|
},
|
|
7521
8162
|
/**
|
|
7522
8163
|
*
|
|
7523
|
-
* @param {
|
|
8164
|
+
* @param {string} id
|
|
7524
8165
|
* @param {*} [options] Override http request option.
|
|
7525
8166
|
* @throws {RequiredError}
|
|
7526
8167
|
*/
|
|
7527
|
-
|
|
7528
|
-
return localVarFp.
|
|
8168
|
+
blockoutControllerDeleteBlockout(id: string, options?: RawAxiosRequestConfig): AxiosPromise<BlockoutDeleteResponseDTO> {
|
|
8169
|
+
return localVarFp.blockoutControllerDeleteBlockout(id, options).then((request) => request(axios, basePath));
|
|
7529
8170
|
},
|
|
7530
8171
|
/**
|
|
7531
8172
|
*
|
|
7532
|
-
* @param {
|
|
8173
|
+
* @param {number} page
|
|
8174
|
+
* @param {number} pageSize
|
|
8175
|
+
* @param {Array<string>} [venue]
|
|
7533
8176
|
* @param {*} [options] Override http request option.
|
|
7534
8177
|
* @throws {RequiredError}
|
|
7535
8178
|
*/
|
|
7536
|
-
|
|
7537
|
-
return localVarFp.
|
|
8179
|
+
blockoutControllerFindBlockout(page: number, pageSize: number, venue?: Array<string>, options?: RawAxiosRequestConfig): AxiosPromise<BlockoutResponseDTO> {
|
|
8180
|
+
return localVarFp.blockoutControllerFindBlockout(page, pageSize, venue, options).then((request) => request(axios, basePath));
|
|
7538
8181
|
},
|
|
7539
8182
|
/**
|
|
7540
8183
|
*
|
|
7541
|
-
* @param {
|
|
8184
|
+
* @param {string} id
|
|
7542
8185
|
* @param {*} [options] Override http request option.
|
|
7543
8186
|
* @throws {RequiredError}
|
|
7544
8187
|
*/
|
|
7545
|
-
|
|
7546
|
-
return localVarFp.
|
|
8188
|
+
blockoutControllerFindBlockoutById(id: string, options?: RawAxiosRequestConfig): AxiosPromise<BlockoutDTO> {
|
|
8189
|
+
return localVarFp.blockoutControllerFindBlockoutById(id, options).then((request) => request(axios, basePath));
|
|
7547
8190
|
},
|
|
7548
8191
|
/**
|
|
7549
8192
|
*
|
|
7550
|
-
* @param {
|
|
8193
|
+
* @param {string} id
|
|
8194
|
+
* @param {BlockoutPayloadDTO} blockoutPayloadDTO
|
|
7551
8195
|
* @param {*} [options] Override http request option.
|
|
7552
8196
|
* @throws {RequiredError}
|
|
7553
8197
|
*/
|
|
7554
|
-
|
|
7555
|
-
return localVarFp.
|
|
8198
|
+
blockoutControllerUpdateById(id: string, blockoutPayloadDTO: BlockoutPayloadDTO, options?: RawAxiosRequestConfig): AxiosPromise<BlockoutDTO> {
|
|
8199
|
+
return localVarFp.blockoutControllerUpdateById(id, blockoutPayloadDTO, options).then((request) => request(axios, basePath));
|
|
7556
8200
|
},
|
|
7557
8201
|
};
|
|
7558
8202
|
};
|
|
7559
8203
|
|
|
7560
8204
|
/**
|
|
7561
|
-
*
|
|
8205
|
+
* BlockoutApi - object-oriented interface
|
|
7562
8206
|
* @export
|
|
7563
|
-
* @class
|
|
8207
|
+
* @class BlockoutApi
|
|
7564
8208
|
* @extends {BaseAPI}
|
|
7565
8209
|
*/
|
|
7566
|
-
export class
|
|
7567
|
-
/**
|
|
7568
|
-
*
|
|
7569
|
-
* @param {SignupDto} signupDto
|
|
7570
|
-
* @param {*} [options] Override http request option.
|
|
7571
|
-
* @throws {RequiredError}
|
|
7572
|
-
* @memberof AuthApi
|
|
7573
|
-
*/
|
|
7574
|
-
public authControllerBusinessRegister(signupDto: SignupDto, options?: RawAxiosRequestConfig) {
|
|
7575
|
-
return AuthApiFp(this.configuration).authControllerBusinessRegister(signupDto, options).then((request) => request(this.axios, this.basePath));
|
|
7576
|
-
}
|
|
7577
|
-
|
|
7578
|
-
/**
|
|
7579
|
-
*
|
|
7580
|
-
* @param {NewPasswordPayloadDTO} newPasswordPayloadDTO
|
|
7581
|
-
* @param {*} [options] Override http request option.
|
|
7582
|
-
* @throws {RequiredError}
|
|
7583
|
-
* @memberof AuthApi
|
|
7584
|
-
*/
|
|
7585
|
-
public authControllerCreateNewPassword(newPasswordPayloadDTO: NewPasswordPayloadDTO, options?: RawAxiosRequestConfig) {
|
|
7586
|
-
return AuthApiFp(this.configuration).authControllerCreateNewPassword(newPasswordPayloadDTO, options).then((request) => request(this.axios, this.basePath));
|
|
7587
|
-
}
|
|
7588
|
-
|
|
7589
|
-
/**
|
|
7590
|
-
*
|
|
7591
|
-
* @param {ForgotPasswordPayloadDTO} forgotPasswordPayloadDTO
|
|
7592
|
-
* @param {*} [options] Override http request option.
|
|
7593
|
-
* @throws {RequiredError}
|
|
7594
|
-
* @memberof AuthApi
|
|
7595
|
-
*/
|
|
7596
|
-
public authControllerForgotPassword(forgotPasswordPayloadDTO: ForgotPasswordPayloadDTO, options?: RawAxiosRequestConfig) {
|
|
7597
|
-
return AuthApiFp(this.configuration).authControllerForgotPassword(forgotPasswordPayloadDTO, options).then((request) => request(this.axios, this.basePath));
|
|
7598
|
-
}
|
|
7599
|
-
|
|
7600
|
-
/**
|
|
7601
|
-
*
|
|
7602
|
-
* @param {ForgotPasswordPayloadDTO} forgotPasswordPayloadDTO
|
|
7603
|
-
* @param {*} [options] Override http request option.
|
|
7604
|
-
* @throws {RequiredError}
|
|
7605
|
-
* @memberof AuthApi
|
|
7606
|
-
*/
|
|
7607
|
-
public authControllerResentOTP(forgotPasswordPayloadDTO: ForgotPasswordPayloadDTO, options?: RawAxiosRequestConfig) {
|
|
7608
|
-
return AuthApiFp(this.configuration).authControllerResentOTP(forgotPasswordPayloadDTO, options).then((request) => request(this.axios, this.basePath));
|
|
7609
|
-
}
|
|
7610
|
-
|
|
8210
|
+
export class BlockoutApi extends BaseAPI {
|
|
7611
8211
|
/**
|
|
7612
8212
|
*
|
|
7613
|
-
* @param {
|
|
8213
|
+
* @param {BlockoutPayloadDTO} blockoutPayloadDTO
|
|
7614
8214
|
* @param {*} [options] Override http request option.
|
|
7615
8215
|
* @throws {RequiredError}
|
|
7616
|
-
* @memberof
|
|
8216
|
+
* @memberof BlockoutApi
|
|
7617
8217
|
*/
|
|
7618
|
-
public
|
|
7619
|
-
return
|
|
8218
|
+
public blockoutControllerCreateWhatsOn(blockoutPayloadDTO: BlockoutPayloadDTO, options?: RawAxiosRequestConfig) {
|
|
8219
|
+
return BlockoutApiFp(this.configuration).blockoutControllerCreateWhatsOn(blockoutPayloadDTO, options).then((request) => request(this.axios, this.basePath));
|
|
7620
8220
|
}
|
|
7621
8221
|
|
|
7622
8222
|
/**
|
|
7623
8223
|
*
|
|
7624
|
-
* @param {
|
|
8224
|
+
* @param {string} id
|
|
7625
8225
|
* @param {*} [options] Override http request option.
|
|
7626
8226
|
* @throws {RequiredError}
|
|
7627
|
-
* @memberof
|
|
8227
|
+
* @memberof BlockoutApi
|
|
7628
8228
|
*/
|
|
7629
|
-
public
|
|
7630
|
-
return
|
|
8229
|
+
public blockoutControllerDeleteBlockout(id: string, options?: RawAxiosRequestConfig) {
|
|
8230
|
+
return BlockoutApiFp(this.configuration).blockoutControllerDeleteBlockout(id, options).then((request) => request(this.axios, this.basePath));
|
|
7631
8231
|
}
|
|
7632
8232
|
|
|
7633
8233
|
/**
|
|
7634
8234
|
*
|
|
7635
|
-
* @param {
|
|
8235
|
+
* @param {number} page
|
|
8236
|
+
* @param {number} pageSize
|
|
8237
|
+
* @param {Array<string>} [venue]
|
|
7636
8238
|
* @param {*} [options] Override http request option.
|
|
7637
8239
|
* @throws {RequiredError}
|
|
7638
|
-
* @memberof
|
|
8240
|
+
* @memberof BlockoutApi
|
|
7639
8241
|
*/
|
|
7640
|
-
public
|
|
7641
|
-
return
|
|
8242
|
+
public blockoutControllerFindBlockout(page: number, pageSize: number, venue?: Array<string>, options?: RawAxiosRequestConfig) {
|
|
8243
|
+
return BlockoutApiFp(this.configuration).blockoutControllerFindBlockout(page, pageSize, venue, options).then((request) => request(this.axios, this.basePath));
|
|
7642
8244
|
}
|
|
7643
8245
|
|
|
7644
8246
|
/**
|
|
7645
8247
|
*
|
|
7646
|
-
* @param {
|
|
8248
|
+
* @param {string} id
|
|
7647
8249
|
* @param {*} [options] Override http request option.
|
|
7648
8250
|
* @throws {RequiredError}
|
|
7649
|
-
* @memberof
|
|
8251
|
+
* @memberof BlockoutApi
|
|
7650
8252
|
*/
|
|
7651
|
-
public
|
|
7652
|
-
return
|
|
8253
|
+
public blockoutControllerFindBlockoutById(id: string, options?: RawAxiosRequestConfig) {
|
|
8254
|
+
return BlockoutApiFp(this.configuration).blockoutControllerFindBlockoutById(id, options).then((request) => request(this.axios, this.basePath));
|
|
7653
8255
|
}
|
|
7654
8256
|
|
|
7655
8257
|
/**
|
|
7656
8258
|
*
|
|
7657
|
-
* @param {
|
|
8259
|
+
* @param {string} id
|
|
8260
|
+
* @param {BlockoutPayloadDTO} blockoutPayloadDTO
|
|
7658
8261
|
* @param {*} [options] Override http request option.
|
|
7659
8262
|
* @throws {RequiredError}
|
|
7660
|
-
* @memberof
|
|
8263
|
+
* @memberof BlockoutApi
|
|
7661
8264
|
*/
|
|
7662
|
-
public
|
|
7663
|
-
return
|
|
8265
|
+
public blockoutControllerUpdateById(id: string, blockoutPayloadDTO: BlockoutPayloadDTO, options?: RawAxiosRequestConfig) {
|
|
8266
|
+
return BlockoutApiFp(this.configuration).blockoutControllerUpdateById(id, blockoutPayloadDTO, options).then((request) => request(this.axios, this.basePath));
|
|
7664
8267
|
}
|
|
7665
8268
|
}
|
|
7666
8269
|
|
|
@@ -8536,7 +9139,7 @@ export const BusinessApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
8536
9139
|
businessControllerUpdateBusinessDetails: async (businessDetailsPayloadDTO: BusinessDetailsPayloadDTO, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
8537
9140
|
// verify required parameter 'businessDetailsPayloadDTO' is not null or undefined
|
|
8538
9141
|
assertParamExists('businessControllerUpdateBusinessDetails', 'businessDetailsPayloadDTO', businessDetailsPayloadDTO)
|
|
8539
|
-
const localVarPath = `/v1/business/business`;
|
|
9142
|
+
const localVarPath = `/v1/business/business-details`;
|
|
8540
9143
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
8541
9144
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
8542
9145
|
let baseOptions;
|
|
@@ -17483,9 +18086,9 @@ export const WhatsOnApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
17483
18086
|
* @param {*} [options] Override http request option.
|
|
17484
18087
|
* @throws {RequiredError}
|
|
17485
18088
|
*/
|
|
17486
|
-
|
|
18089
|
+
whatsOnControllerCreateWhatsOn: async (whatsOnPayloadDTO: WhatsOnPayloadDTO, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
17487
18090
|
// verify required parameter 'whatsOnPayloadDTO' is not null or undefined
|
|
17488
|
-
assertParamExists('
|
|
18091
|
+
assertParamExists('whatsOnControllerCreateWhatsOn', 'whatsOnPayloadDTO', whatsOnPayloadDTO)
|
|
17489
18092
|
const localVarPath = `/v1/whats-on`;
|
|
17490
18093
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
17491
18094
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -17522,9 +18125,9 @@ export const WhatsOnApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
17522
18125
|
* @param {*} [options] Override http request option.
|
|
17523
18126
|
* @throws {RequiredError}
|
|
17524
18127
|
*/
|
|
17525
|
-
|
|
18128
|
+
whatsOnControllerDeleteWhatsOn: async (id: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
17526
18129
|
// verify required parameter 'id' is not null or undefined
|
|
17527
|
-
assertParamExists('
|
|
18130
|
+
assertParamExists('whatsOnControllerDeleteWhatsOn', 'id', id)
|
|
17528
18131
|
const localVarPath = `/v1/whats-on/{id}`
|
|
17529
18132
|
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
17530
18133
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
@@ -17559,9 +18162,9 @@ export const WhatsOnApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
17559
18162
|
* @param {*} [options] Override http request option.
|
|
17560
18163
|
* @throws {RequiredError}
|
|
17561
18164
|
*/
|
|
17562
|
-
|
|
18165
|
+
whatsOnControllerFindWhatsOn: async (whatsOnFindDTO: WhatsOnFindDTO, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
17563
18166
|
// verify required parameter 'whatsOnFindDTO' is not null or undefined
|
|
17564
|
-
assertParamExists('
|
|
18167
|
+
assertParamExists('whatsOnControllerFindWhatsOn', 'whatsOnFindDTO', whatsOnFindDTO)
|
|
17565
18168
|
const localVarPath = `/v1/whats-on/list`;
|
|
17566
18169
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
17567
18170
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -17595,12 +18198,15 @@ export const WhatsOnApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
17595
18198
|
/**
|
|
17596
18199
|
*
|
|
17597
18200
|
* @param {string} id
|
|
18201
|
+
* @param {WhatsOnPayloadDTO} whatsOnPayloadDTO
|
|
17598
18202
|
* @param {*} [options] Override http request option.
|
|
17599
18203
|
* @throws {RequiredError}
|
|
17600
18204
|
*/
|
|
17601
|
-
|
|
18205
|
+
whatsOnControllerUpdateById: async (id: string, whatsOnPayloadDTO: WhatsOnPayloadDTO, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
17602
18206
|
// verify required parameter 'id' is not null or undefined
|
|
17603
|
-
assertParamExists('
|
|
18207
|
+
assertParamExists('whatsOnControllerUpdateById', 'id', id)
|
|
18208
|
+
// verify required parameter 'whatsOnPayloadDTO' is not null or undefined
|
|
18209
|
+
assertParamExists('whatsOnControllerUpdateById', 'whatsOnPayloadDTO', whatsOnPayloadDTO)
|
|
17604
18210
|
const localVarPath = `/v1/whats-on/{id}`
|
|
17605
18211
|
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
17606
18212
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
@@ -17610,7 +18216,7 @@ export const WhatsOnApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
17610
18216
|
baseOptions = configuration.baseOptions;
|
|
17611
18217
|
}
|
|
17612
18218
|
|
|
17613
|
-
const localVarRequestOptions = { method: '
|
|
18219
|
+
const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
|
|
17614
18220
|
const localVarHeaderParameter = {} as any;
|
|
17615
18221
|
const localVarQueryParameter = {} as any;
|
|
17616
18222
|
|
|
@@ -17620,9 +18226,12 @@ export const WhatsOnApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
17620
18226
|
|
|
17621
18227
|
|
|
17622
18228
|
|
|
18229
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
18230
|
+
|
|
17623
18231
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
17624
18232
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
17625
18233
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
18234
|
+
localVarRequestOptions.data = serializeDataIfNeeded(whatsOnPayloadDTO, localVarRequestOptions, configuration)
|
|
17626
18235
|
|
|
17627
18236
|
return {
|
|
17628
18237
|
url: toPathString(localVarUrlObj),
|
|
@@ -17632,15 +18241,12 @@ export const WhatsOnApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
17632
18241
|
/**
|
|
17633
18242
|
*
|
|
17634
18243
|
* @param {string} id
|
|
17635
|
-
* @param {WhatsOnPayloadDTO} whatsOnPayloadDTO
|
|
17636
18244
|
* @param {*} [options] Override http request option.
|
|
17637
18245
|
* @throws {RequiredError}
|
|
17638
18246
|
*/
|
|
17639
|
-
|
|
18247
|
+
whatsOnControllerWhatsOnById: async (id: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
17640
18248
|
// verify required parameter 'id' is not null or undefined
|
|
17641
|
-
assertParamExists('
|
|
17642
|
-
// verify required parameter 'whatsOnPayloadDTO' is not null or undefined
|
|
17643
|
-
assertParamExists('whatsOnControllerUpdateTagById', 'whatsOnPayloadDTO', whatsOnPayloadDTO)
|
|
18249
|
+
assertParamExists('whatsOnControllerWhatsOnById', 'id', id)
|
|
17644
18250
|
const localVarPath = `/v1/whats-on/{id}`
|
|
17645
18251
|
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
17646
18252
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
@@ -17650,7 +18256,7 @@ export const WhatsOnApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
17650
18256
|
baseOptions = configuration.baseOptions;
|
|
17651
18257
|
}
|
|
17652
18258
|
|
|
17653
|
-
const localVarRequestOptions = { method: '
|
|
18259
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
17654
18260
|
const localVarHeaderParameter = {} as any;
|
|
17655
18261
|
const localVarQueryParameter = {} as any;
|
|
17656
18262
|
|
|
@@ -17660,12 +18266,9 @@ export const WhatsOnApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
17660
18266
|
|
|
17661
18267
|
|
|
17662
18268
|
|
|
17663
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
17664
|
-
|
|
17665
18269
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
17666
18270
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
17667
18271
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
17668
|
-
localVarRequestOptions.data = serializeDataIfNeeded(whatsOnPayloadDTO, localVarRequestOptions, configuration)
|
|
17669
18272
|
|
|
17670
18273
|
return {
|
|
17671
18274
|
url: toPathString(localVarUrlObj),
|
|
@@ -17688,10 +18291,10 @@ export const WhatsOnApiFp = function(configuration?: Configuration) {
|
|
|
17688
18291
|
* @param {*} [options] Override http request option.
|
|
17689
18292
|
* @throws {RequiredError}
|
|
17690
18293
|
*/
|
|
17691
|
-
async
|
|
17692
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
18294
|
+
async whatsOnControllerCreateWhatsOn(whatsOnPayloadDTO: WhatsOnPayloadDTO, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WhatsOnDTO>> {
|
|
18295
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.whatsOnControllerCreateWhatsOn(whatsOnPayloadDTO, options);
|
|
17693
18296
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
17694
|
-
const localVarOperationServerBasePath = operationServerMap['WhatsOnApi.
|
|
18297
|
+
const localVarOperationServerBasePath = operationServerMap['WhatsOnApi.whatsOnControllerCreateWhatsOn']?.[localVarOperationServerIndex]?.url;
|
|
17695
18298
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
17696
18299
|
},
|
|
17697
18300
|
/**
|
|
@@ -17700,10 +18303,10 @@ export const WhatsOnApiFp = function(configuration?: Configuration) {
|
|
|
17700
18303
|
* @param {*} [options] Override http request option.
|
|
17701
18304
|
* @throws {RequiredError}
|
|
17702
18305
|
*/
|
|
17703
|
-
async
|
|
17704
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
18306
|
+
async whatsOnControllerDeleteWhatsOn(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WhatsOnDeleteResponseDTO>> {
|
|
18307
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.whatsOnControllerDeleteWhatsOn(id, options);
|
|
17705
18308
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
17706
|
-
const localVarOperationServerBasePath = operationServerMap['WhatsOnApi.
|
|
18309
|
+
const localVarOperationServerBasePath = operationServerMap['WhatsOnApi.whatsOnControllerDeleteWhatsOn']?.[localVarOperationServerIndex]?.url;
|
|
17707
18310
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
17708
18311
|
},
|
|
17709
18312
|
/**
|
|
@@ -17712,35 +18315,35 @@ export const WhatsOnApiFp = function(configuration?: Configuration) {
|
|
|
17712
18315
|
* @param {*} [options] Override http request option.
|
|
17713
18316
|
* @throws {RequiredError}
|
|
17714
18317
|
*/
|
|
17715
|
-
async
|
|
17716
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
18318
|
+
async whatsOnControllerFindWhatsOn(whatsOnFindDTO: WhatsOnFindDTO, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WhatsOnResponseDTO>> {
|
|
18319
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.whatsOnControllerFindWhatsOn(whatsOnFindDTO, options);
|
|
17717
18320
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
17718
|
-
const localVarOperationServerBasePath = operationServerMap['WhatsOnApi.
|
|
18321
|
+
const localVarOperationServerBasePath = operationServerMap['WhatsOnApi.whatsOnControllerFindWhatsOn']?.[localVarOperationServerIndex]?.url;
|
|
17719
18322
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
17720
18323
|
},
|
|
17721
18324
|
/**
|
|
17722
18325
|
*
|
|
17723
18326
|
* @param {string} id
|
|
18327
|
+
* @param {WhatsOnPayloadDTO} whatsOnPayloadDTO
|
|
17724
18328
|
* @param {*} [options] Override http request option.
|
|
17725
18329
|
* @throws {RequiredError}
|
|
17726
18330
|
*/
|
|
17727
|
-
async
|
|
17728
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
18331
|
+
async whatsOnControllerUpdateById(id: string, whatsOnPayloadDTO: WhatsOnPayloadDTO, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WhatsOnDTO>> {
|
|
18332
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.whatsOnControllerUpdateById(id, whatsOnPayloadDTO, options);
|
|
17729
18333
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
17730
|
-
const localVarOperationServerBasePath = operationServerMap['WhatsOnApi.
|
|
18334
|
+
const localVarOperationServerBasePath = operationServerMap['WhatsOnApi.whatsOnControllerUpdateById']?.[localVarOperationServerIndex]?.url;
|
|
17731
18335
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
17732
18336
|
},
|
|
17733
18337
|
/**
|
|
17734
18338
|
*
|
|
17735
18339
|
* @param {string} id
|
|
17736
|
-
* @param {WhatsOnPayloadDTO} whatsOnPayloadDTO
|
|
17737
18340
|
* @param {*} [options] Override http request option.
|
|
17738
18341
|
* @throws {RequiredError}
|
|
17739
18342
|
*/
|
|
17740
|
-
async
|
|
17741
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
18343
|
+
async whatsOnControllerWhatsOnById(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WhatsOnDTO>> {
|
|
18344
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.whatsOnControllerWhatsOnById(id, options);
|
|
17742
18345
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
17743
|
-
const localVarOperationServerBasePath = operationServerMap['WhatsOnApi.
|
|
18346
|
+
const localVarOperationServerBasePath = operationServerMap['WhatsOnApi.whatsOnControllerWhatsOnById']?.[localVarOperationServerIndex]?.url;
|
|
17744
18347
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
17745
18348
|
},
|
|
17746
18349
|
}
|
|
@@ -17759,8 +18362,8 @@ export const WhatsOnApiFactory = function (configuration?: Configuration, basePa
|
|
|
17759
18362
|
* @param {*} [options] Override http request option.
|
|
17760
18363
|
* @throws {RequiredError}
|
|
17761
18364
|
*/
|
|
17762
|
-
|
|
17763
|
-
return localVarFp.
|
|
18365
|
+
whatsOnControllerCreateWhatsOn(whatsOnPayloadDTO: WhatsOnPayloadDTO, options?: RawAxiosRequestConfig): AxiosPromise<WhatsOnDTO> {
|
|
18366
|
+
return localVarFp.whatsOnControllerCreateWhatsOn(whatsOnPayloadDTO, options).then((request) => request(axios, basePath));
|
|
17764
18367
|
},
|
|
17765
18368
|
/**
|
|
17766
18369
|
*
|
|
@@ -17768,8 +18371,8 @@ export const WhatsOnApiFactory = function (configuration?: Configuration, basePa
|
|
|
17768
18371
|
* @param {*} [options] Override http request option.
|
|
17769
18372
|
* @throws {RequiredError}
|
|
17770
18373
|
*/
|
|
17771
|
-
|
|
17772
|
-
return localVarFp.
|
|
18374
|
+
whatsOnControllerDeleteWhatsOn(id: string, options?: RawAxiosRequestConfig): AxiosPromise<WhatsOnDeleteResponseDTO> {
|
|
18375
|
+
return localVarFp.whatsOnControllerDeleteWhatsOn(id, options).then((request) => request(axios, basePath));
|
|
17773
18376
|
},
|
|
17774
18377
|
/**
|
|
17775
18378
|
*
|
|
@@ -17777,27 +18380,27 @@ export const WhatsOnApiFactory = function (configuration?: Configuration, basePa
|
|
|
17777
18380
|
* @param {*} [options] Override http request option.
|
|
17778
18381
|
* @throws {RequiredError}
|
|
17779
18382
|
*/
|
|
17780
|
-
|
|
17781
|
-
return localVarFp.
|
|
18383
|
+
whatsOnControllerFindWhatsOn(whatsOnFindDTO: WhatsOnFindDTO, options?: RawAxiosRequestConfig): AxiosPromise<WhatsOnResponseDTO> {
|
|
18384
|
+
return localVarFp.whatsOnControllerFindWhatsOn(whatsOnFindDTO, options).then((request) => request(axios, basePath));
|
|
17782
18385
|
},
|
|
17783
18386
|
/**
|
|
17784
18387
|
*
|
|
17785
18388
|
* @param {string} id
|
|
18389
|
+
* @param {WhatsOnPayloadDTO} whatsOnPayloadDTO
|
|
17786
18390
|
* @param {*} [options] Override http request option.
|
|
17787
18391
|
* @throws {RequiredError}
|
|
17788
18392
|
*/
|
|
17789
|
-
|
|
17790
|
-
return localVarFp.
|
|
18393
|
+
whatsOnControllerUpdateById(id: string, whatsOnPayloadDTO: WhatsOnPayloadDTO, options?: RawAxiosRequestConfig): AxiosPromise<WhatsOnDTO> {
|
|
18394
|
+
return localVarFp.whatsOnControllerUpdateById(id, whatsOnPayloadDTO, options).then((request) => request(axios, basePath));
|
|
17791
18395
|
},
|
|
17792
18396
|
/**
|
|
17793
18397
|
*
|
|
17794
18398
|
* @param {string} id
|
|
17795
|
-
* @param {WhatsOnPayloadDTO} whatsOnPayloadDTO
|
|
17796
18399
|
* @param {*} [options] Override http request option.
|
|
17797
18400
|
* @throws {RequiredError}
|
|
17798
18401
|
*/
|
|
17799
|
-
|
|
17800
|
-
return localVarFp.
|
|
18402
|
+
whatsOnControllerWhatsOnById(id: string, options?: RawAxiosRequestConfig): AxiosPromise<WhatsOnDTO> {
|
|
18403
|
+
return localVarFp.whatsOnControllerWhatsOnById(id, options).then((request) => request(axios, basePath));
|
|
17801
18404
|
},
|
|
17802
18405
|
};
|
|
17803
18406
|
};
|
|
@@ -17816,8 +18419,8 @@ export class WhatsOnApi extends BaseAPI {
|
|
|
17816
18419
|
* @throws {RequiredError}
|
|
17817
18420
|
* @memberof WhatsOnApi
|
|
17818
18421
|
*/
|
|
17819
|
-
public
|
|
17820
|
-
return WhatsOnApiFp(this.configuration).
|
|
18422
|
+
public whatsOnControllerCreateWhatsOn(whatsOnPayloadDTO: WhatsOnPayloadDTO, options?: RawAxiosRequestConfig) {
|
|
18423
|
+
return WhatsOnApiFp(this.configuration).whatsOnControllerCreateWhatsOn(whatsOnPayloadDTO, options).then((request) => request(this.axios, this.basePath));
|
|
17821
18424
|
}
|
|
17822
18425
|
|
|
17823
18426
|
/**
|
|
@@ -17827,8 +18430,8 @@ export class WhatsOnApi extends BaseAPI {
|
|
|
17827
18430
|
* @throws {RequiredError}
|
|
17828
18431
|
* @memberof WhatsOnApi
|
|
17829
18432
|
*/
|
|
17830
|
-
public
|
|
17831
|
-
return WhatsOnApiFp(this.configuration).
|
|
18433
|
+
public whatsOnControllerDeleteWhatsOn(id: string, options?: RawAxiosRequestConfig) {
|
|
18434
|
+
return WhatsOnApiFp(this.configuration).whatsOnControllerDeleteWhatsOn(id, options).then((request) => request(this.axios, this.basePath));
|
|
17832
18435
|
}
|
|
17833
18436
|
|
|
17834
18437
|
/**
|
|
@@ -17838,31 +18441,31 @@ export class WhatsOnApi extends BaseAPI {
|
|
|
17838
18441
|
* @throws {RequiredError}
|
|
17839
18442
|
* @memberof WhatsOnApi
|
|
17840
18443
|
*/
|
|
17841
|
-
public
|
|
17842
|
-
return WhatsOnApiFp(this.configuration).
|
|
18444
|
+
public whatsOnControllerFindWhatsOn(whatsOnFindDTO: WhatsOnFindDTO, options?: RawAxiosRequestConfig) {
|
|
18445
|
+
return WhatsOnApiFp(this.configuration).whatsOnControllerFindWhatsOn(whatsOnFindDTO, options).then((request) => request(this.axios, this.basePath));
|
|
17843
18446
|
}
|
|
17844
18447
|
|
|
17845
18448
|
/**
|
|
17846
18449
|
*
|
|
17847
18450
|
* @param {string} id
|
|
18451
|
+
* @param {WhatsOnPayloadDTO} whatsOnPayloadDTO
|
|
17848
18452
|
* @param {*} [options] Override http request option.
|
|
17849
18453
|
* @throws {RequiredError}
|
|
17850
18454
|
* @memberof WhatsOnApi
|
|
17851
18455
|
*/
|
|
17852
|
-
public
|
|
17853
|
-
return WhatsOnApiFp(this.configuration).
|
|
18456
|
+
public whatsOnControllerUpdateById(id: string, whatsOnPayloadDTO: WhatsOnPayloadDTO, options?: RawAxiosRequestConfig) {
|
|
18457
|
+
return WhatsOnApiFp(this.configuration).whatsOnControllerUpdateById(id, whatsOnPayloadDTO, options).then((request) => request(this.axios, this.basePath));
|
|
17854
18458
|
}
|
|
17855
18459
|
|
|
17856
18460
|
/**
|
|
17857
18461
|
*
|
|
17858
18462
|
* @param {string} id
|
|
17859
|
-
* @param {WhatsOnPayloadDTO} whatsOnPayloadDTO
|
|
17860
18463
|
* @param {*} [options] Override http request option.
|
|
17861
18464
|
* @throws {RequiredError}
|
|
17862
18465
|
* @memberof WhatsOnApi
|
|
17863
18466
|
*/
|
|
17864
|
-
public
|
|
17865
|
-
return WhatsOnApiFp(this.configuration).
|
|
18467
|
+
public whatsOnControllerWhatsOnById(id: string, options?: RawAxiosRequestConfig) {
|
|
18468
|
+
return WhatsOnApiFp(this.configuration).whatsOnControllerWhatsOnById(id, options).then((request) => request(this.axios, this.basePath));
|
|
17866
18469
|
}
|
|
17867
18470
|
}
|
|
17868
18471
|
|