@gooday_corp/gooday-api-client 1.3.30 → 1.3.32
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 +336 -0
- package/package.json +1 -1
package/api.ts
CHANGED
|
@@ -680,6 +680,25 @@ export interface BlockoutResponseDTO {
|
|
|
680
680
|
*/
|
|
681
681
|
'statusCode': number;
|
|
682
682
|
}
|
|
683
|
+
/**
|
|
684
|
+
*
|
|
685
|
+
* @export
|
|
686
|
+
* @interface BookingCollaboratorDetailResponseDTO
|
|
687
|
+
*/
|
|
688
|
+
export interface BookingCollaboratorDetailResponseDTO {
|
|
689
|
+
/**
|
|
690
|
+
* statusCode
|
|
691
|
+
* @type {number}
|
|
692
|
+
* @memberof BookingCollaboratorDetailResponseDTO
|
|
693
|
+
*/
|
|
694
|
+
'statusCode': number;
|
|
695
|
+
/**
|
|
696
|
+
*
|
|
697
|
+
* @type {Array<UserEntity>}
|
|
698
|
+
* @memberof BookingCollaboratorDetailResponseDTO
|
|
699
|
+
*/
|
|
700
|
+
'data': Array<UserEntity>;
|
|
701
|
+
}
|
|
683
702
|
/**
|
|
684
703
|
*
|
|
685
704
|
* @export
|
|
@@ -10278,6 +10297,43 @@ export const BookingApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
10278
10297
|
options: localVarRequestOptions,
|
|
10279
10298
|
};
|
|
10280
10299
|
},
|
|
10300
|
+
/**
|
|
10301
|
+
*
|
|
10302
|
+
* @param {string} id
|
|
10303
|
+
* @param {*} [options] Override http request option.
|
|
10304
|
+
* @throws {RequiredError}
|
|
10305
|
+
*/
|
|
10306
|
+
bookingControllerBookingCollaboratorDetail: async (id: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
10307
|
+
// verify required parameter 'id' is not null or undefined
|
|
10308
|
+
assertParamExists('bookingControllerBookingCollaboratorDetail', 'id', id)
|
|
10309
|
+
const localVarPath = `/v1/booking/collaborator-details/{id}`
|
|
10310
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
10311
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
10312
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
10313
|
+
let baseOptions;
|
|
10314
|
+
if (configuration) {
|
|
10315
|
+
baseOptions = configuration.baseOptions;
|
|
10316
|
+
}
|
|
10317
|
+
|
|
10318
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
10319
|
+
const localVarHeaderParameter = {} as any;
|
|
10320
|
+
const localVarQueryParameter = {} as any;
|
|
10321
|
+
|
|
10322
|
+
// authentication bearer required
|
|
10323
|
+
// http bearer authentication required
|
|
10324
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
10325
|
+
|
|
10326
|
+
|
|
10327
|
+
|
|
10328
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
10329
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
10330
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
10331
|
+
|
|
10332
|
+
return {
|
|
10333
|
+
url: toPathString(localVarUrlObj),
|
|
10334
|
+
options: localVarRequestOptions,
|
|
10335
|
+
};
|
|
10336
|
+
},
|
|
10281
10337
|
/**
|
|
10282
10338
|
*
|
|
10283
10339
|
* @param {BookingConfirmPayload} bookingConfirmPayload
|
|
@@ -10748,6 +10804,39 @@ export const BookingApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
10748
10804
|
options: localVarRequestOptions,
|
|
10749
10805
|
};
|
|
10750
10806
|
},
|
|
10807
|
+
/**
|
|
10808
|
+
*
|
|
10809
|
+
* @param {*} [options] Override http request option.
|
|
10810
|
+
* @throws {RequiredError}
|
|
10811
|
+
*/
|
|
10812
|
+
bookingControllerTrendingEvents: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
10813
|
+
const localVarPath = `/v1/booking/trending-events`;
|
|
10814
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
10815
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
10816
|
+
let baseOptions;
|
|
10817
|
+
if (configuration) {
|
|
10818
|
+
baseOptions = configuration.baseOptions;
|
|
10819
|
+
}
|
|
10820
|
+
|
|
10821
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
10822
|
+
const localVarHeaderParameter = {} as any;
|
|
10823
|
+
const localVarQueryParameter = {} as any;
|
|
10824
|
+
|
|
10825
|
+
// authentication bearer required
|
|
10826
|
+
// http bearer authentication required
|
|
10827
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
10828
|
+
|
|
10829
|
+
|
|
10830
|
+
|
|
10831
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
10832
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
10833
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
10834
|
+
|
|
10835
|
+
return {
|
|
10836
|
+
url: toPathString(localVarUrlObj),
|
|
10837
|
+
options: localVarRequestOptions,
|
|
10838
|
+
};
|
|
10839
|
+
},
|
|
10751
10840
|
/**
|
|
10752
10841
|
*
|
|
10753
10842
|
* @param {string} id
|
|
@@ -10813,6 +10902,18 @@ export const BookingApiFp = function(configuration?: Configuration) {
|
|
|
10813
10902
|
const localVarOperationServerBasePath = operationServerMap['BookingApi.bookingControllerAcceptBookingInvite']?.[localVarOperationServerIndex]?.url;
|
|
10814
10903
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
10815
10904
|
},
|
|
10905
|
+
/**
|
|
10906
|
+
*
|
|
10907
|
+
* @param {string} id
|
|
10908
|
+
* @param {*} [options] Override http request option.
|
|
10909
|
+
* @throws {RequiredError}
|
|
10910
|
+
*/
|
|
10911
|
+
async bookingControllerBookingCollaboratorDetail(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BookingCollaboratorDetailResponseDTO>> {
|
|
10912
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.bookingControllerBookingCollaboratorDetail(id, options);
|
|
10913
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
10914
|
+
const localVarOperationServerBasePath = operationServerMap['BookingApi.bookingControllerBookingCollaboratorDetail']?.[localVarOperationServerIndex]?.url;
|
|
10915
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
10916
|
+
},
|
|
10816
10917
|
/**
|
|
10817
10918
|
*
|
|
10818
10919
|
* @param {BookingConfirmPayload} bookingConfirmPayload
|
|
@@ -10958,6 +11059,17 @@ export const BookingApiFp = function(configuration?: Configuration) {
|
|
|
10958
11059
|
const localVarOperationServerBasePath = operationServerMap['BookingApi.bookingControllerRescheduleBooking']?.[localVarOperationServerIndex]?.url;
|
|
10959
11060
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
10960
11061
|
},
|
|
11062
|
+
/**
|
|
11063
|
+
*
|
|
11064
|
+
* @param {*} [options] Override http request option.
|
|
11065
|
+
* @throws {RequiredError}
|
|
11066
|
+
*/
|
|
11067
|
+
async bookingControllerTrendingEvents(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<FindBookingResponseDTO>> {
|
|
11068
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.bookingControllerTrendingEvents(options);
|
|
11069
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
11070
|
+
const localVarOperationServerBasePath = operationServerMap['BookingApi.bookingControllerTrendingEvents']?.[localVarOperationServerIndex]?.url;
|
|
11071
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
11072
|
+
},
|
|
10961
11073
|
/**
|
|
10962
11074
|
*
|
|
10963
11075
|
* @param {string} id
|
|
@@ -10990,6 +11102,15 @@ export const BookingApiFactory = function (configuration?: Configuration, basePa
|
|
|
10990
11102
|
bookingControllerAcceptBookingInvite(acceptBookingInvitePayload: AcceptBookingInvitePayload, options?: RawAxiosRequestConfig): AxiosPromise<BookingRequestResponseDTO> {
|
|
10991
11103
|
return localVarFp.bookingControllerAcceptBookingInvite(acceptBookingInvitePayload, options).then((request) => request(axios, basePath));
|
|
10992
11104
|
},
|
|
11105
|
+
/**
|
|
11106
|
+
*
|
|
11107
|
+
* @param {string} id
|
|
11108
|
+
* @param {*} [options] Override http request option.
|
|
11109
|
+
* @throws {RequiredError}
|
|
11110
|
+
*/
|
|
11111
|
+
bookingControllerBookingCollaboratorDetail(id: string, options?: RawAxiosRequestConfig): AxiosPromise<BookingCollaboratorDetailResponseDTO> {
|
|
11112
|
+
return localVarFp.bookingControllerBookingCollaboratorDetail(id, options).then((request) => request(axios, basePath));
|
|
11113
|
+
},
|
|
10993
11114
|
/**
|
|
10994
11115
|
*
|
|
10995
11116
|
* @param {BookingConfirmPayload} bookingConfirmPayload
|
|
@@ -11099,6 +11220,14 @@ export const BookingApiFactory = function (configuration?: Configuration, basePa
|
|
|
11099
11220
|
bookingControllerRescheduleBooking(id: string, rescheduleBookingPayload: RescheduleBookingPayload, options?: RawAxiosRequestConfig): AxiosPromise<BookingResponseDTO> {
|
|
11100
11221
|
return localVarFp.bookingControllerRescheduleBooking(id, rescheduleBookingPayload, options).then((request) => request(axios, basePath));
|
|
11101
11222
|
},
|
|
11223
|
+
/**
|
|
11224
|
+
*
|
|
11225
|
+
* @param {*} [options] Override http request option.
|
|
11226
|
+
* @throws {RequiredError}
|
|
11227
|
+
*/
|
|
11228
|
+
bookingControllerTrendingEvents(options?: RawAxiosRequestConfig): AxiosPromise<FindBookingResponseDTO> {
|
|
11229
|
+
return localVarFp.bookingControllerTrendingEvents(options).then((request) => request(axios, basePath));
|
|
11230
|
+
},
|
|
11102
11231
|
/**
|
|
11103
11232
|
*
|
|
11104
11233
|
* @param {string} id
|
|
@@ -11130,6 +11259,17 @@ export class BookingApi extends BaseAPI {
|
|
|
11130
11259
|
return BookingApiFp(this.configuration).bookingControllerAcceptBookingInvite(acceptBookingInvitePayload, options).then((request) => request(this.axios, this.basePath));
|
|
11131
11260
|
}
|
|
11132
11261
|
|
|
11262
|
+
/**
|
|
11263
|
+
*
|
|
11264
|
+
* @param {string} id
|
|
11265
|
+
* @param {*} [options] Override http request option.
|
|
11266
|
+
* @throws {RequiredError}
|
|
11267
|
+
* @memberof BookingApi
|
|
11268
|
+
*/
|
|
11269
|
+
public bookingControllerBookingCollaboratorDetail(id: string, options?: RawAxiosRequestConfig) {
|
|
11270
|
+
return BookingApiFp(this.configuration).bookingControllerBookingCollaboratorDetail(id, options).then((request) => request(this.axios, this.basePath));
|
|
11271
|
+
}
|
|
11272
|
+
|
|
11133
11273
|
/**
|
|
11134
11274
|
*
|
|
11135
11275
|
* @param {BookingConfirmPayload} bookingConfirmPayload
|
|
@@ -11263,6 +11403,16 @@ export class BookingApi extends BaseAPI {
|
|
|
11263
11403
|
return BookingApiFp(this.configuration).bookingControllerRescheduleBooking(id, rescheduleBookingPayload, options).then((request) => request(this.axios, this.basePath));
|
|
11264
11404
|
}
|
|
11265
11405
|
|
|
11406
|
+
/**
|
|
11407
|
+
*
|
|
11408
|
+
* @param {*} [options] Override http request option.
|
|
11409
|
+
* @throws {RequiredError}
|
|
11410
|
+
* @memberof BookingApi
|
|
11411
|
+
*/
|
|
11412
|
+
public bookingControllerTrendingEvents(options?: RawAxiosRequestConfig) {
|
|
11413
|
+
return BookingApiFp(this.configuration).bookingControllerTrendingEvents(options).then((request) => request(this.axios, this.basePath));
|
|
11414
|
+
}
|
|
11415
|
+
|
|
11266
11416
|
/**
|
|
11267
11417
|
*
|
|
11268
11418
|
* @param {string} id
|
|
@@ -11810,6 +11960,39 @@ export const BusinessApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
11810
11960
|
options: localVarRequestOptions,
|
|
11811
11961
|
};
|
|
11812
11962
|
},
|
|
11963
|
+
/**
|
|
11964
|
+
*
|
|
11965
|
+
* @param {*} [options] Override http request option.
|
|
11966
|
+
* @throws {RequiredError}
|
|
11967
|
+
*/
|
|
11968
|
+
businessTypeControllerHighlyRecommended: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
11969
|
+
const localVarPath = `/v1/business/highlyRecommended`;
|
|
11970
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
11971
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
11972
|
+
let baseOptions;
|
|
11973
|
+
if (configuration) {
|
|
11974
|
+
baseOptions = configuration.baseOptions;
|
|
11975
|
+
}
|
|
11976
|
+
|
|
11977
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
11978
|
+
const localVarHeaderParameter = {} as any;
|
|
11979
|
+
const localVarQueryParameter = {} as any;
|
|
11980
|
+
|
|
11981
|
+
// authentication bearer required
|
|
11982
|
+
// http bearer authentication required
|
|
11983
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
11984
|
+
|
|
11985
|
+
|
|
11986
|
+
|
|
11987
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
11988
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
11989
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
11990
|
+
|
|
11991
|
+
return {
|
|
11992
|
+
url: toPathString(localVarUrlObj),
|
|
11993
|
+
options: localVarRequestOptions,
|
|
11994
|
+
};
|
|
11995
|
+
},
|
|
11813
11996
|
/**
|
|
11814
11997
|
*
|
|
11815
11998
|
* @param {*} [options] Override http request option.
|
|
@@ -12275,6 +12458,17 @@ export const BusinessApiFp = function(configuration?: Configuration) {
|
|
|
12275
12458
|
const localVarOperationServerBasePath = operationServerMap['BusinessApi.businessTypeControllerGetBusinessVenue']?.[localVarOperationServerIndex]?.url;
|
|
12276
12459
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
12277
12460
|
},
|
|
12461
|
+
/**
|
|
12462
|
+
*
|
|
12463
|
+
* @param {*} [options] Override http request option.
|
|
12464
|
+
* @throws {RequiredError}
|
|
12465
|
+
*/
|
|
12466
|
+
async businessTypeControllerHighlyRecommended(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CategoryListResponse>> {
|
|
12467
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.businessTypeControllerHighlyRecommended(options);
|
|
12468
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
12469
|
+
const localVarOperationServerBasePath = operationServerMap['BusinessApi.businessTypeControllerHighlyRecommended']?.[localVarOperationServerIndex]?.url;
|
|
12470
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
12471
|
+
},
|
|
12278
12472
|
/**
|
|
12279
12473
|
*
|
|
12280
12474
|
* @param {*} [options] Override http request option.
|
|
@@ -12504,6 +12698,14 @@ export const BusinessApiFactory = function (configuration?: Configuration, baseP
|
|
|
12504
12698
|
businessTypeControllerGetBusinessVenue(getBusinessVenueDto: GetBusinessVenueDto, options?: RawAxiosRequestConfig): AxiosPromise<BusinessVenueResponseDTO> {
|
|
12505
12699
|
return localVarFp.businessTypeControllerGetBusinessVenue(getBusinessVenueDto, options).then((request) => request(axios, basePath));
|
|
12506
12700
|
},
|
|
12701
|
+
/**
|
|
12702
|
+
*
|
|
12703
|
+
* @param {*} [options] Override http request option.
|
|
12704
|
+
* @throws {RequiredError}
|
|
12705
|
+
*/
|
|
12706
|
+
businessTypeControllerHighlyRecommended(options?: RawAxiosRequestConfig): AxiosPromise<CategoryListResponse> {
|
|
12707
|
+
return localVarFp.businessTypeControllerHighlyRecommended(options).then((request) => request(axios, basePath));
|
|
12708
|
+
},
|
|
12507
12709
|
/**
|
|
12508
12710
|
*
|
|
12509
12711
|
* @param {*} [options] Override http request option.
|
|
@@ -12737,6 +12939,16 @@ export class BusinessApi extends BaseAPI {
|
|
|
12737
12939
|
return BusinessApiFp(this.configuration).businessTypeControllerGetBusinessVenue(getBusinessVenueDto, options).then((request) => request(this.axios, this.basePath));
|
|
12738
12940
|
}
|
|
12739
12941
|
|
|
12942
|
+
/**
|
|
12943
|
+
*
|
|
12944
|
+
* @param {*} [options] Override http request option.
|
|
12945
|
+
* @throws {RequiredError}
|
|
12946
|
+
* @memberof BusinessApi
|
|
12947
|
+
*/
|
|
12948
|
+
public businessTypeControllerHighlyRecommended(options?: RawAxiosRequestConfig) {
|
|
12949
|
+
return BusinessApiFp(this.configuration).businessTypeControllerHighlyRecommended(options).then((request) => request(this.axios, this.basePath));
|
|
12950
|
+
}
|
|
12951
|
+
|
|
12740
12952
|
/**
|
|
12741
12953
|
*
|
|
12742
12954
|
* @param {*} [options] Override http request option.
|
|
@@ -21575,6 +21787,72 @@ export const WhatsOnApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
21575
21787
|
options: localVarRequestOptions,
|
|
21576
21788
|
};
|
|
21577
21789
|
},
|
|
21790
|
+
/**
|
|
21791
|
+
*
|
|
21792
|
+
* @param {*} [options] Override http request option.
|
|
21793
|
+
* @throws {RequiredError}
|
|
21794
|
+
*/
|
|
21795
|
+
whatsOnControllerPromotions: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
21796
|
+
const localVarPath = `/v1/whats-on/promotion`;
|
|
21797
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
21798
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
21799
|
+
let baseOptions;
|
|
21800
|
+
if (configuration) {
|
|
21801
|
+
baseOptions = configuration.baseOptions;
|
|
21802
|
+
}
|
|
21803
|
+
|
|
21804
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
21805
|
+
const localVarHeaderParameter = {} as any;
|
|
21806
|
+
const localVarQueryParameter = {} as any;
|
|
21807
|
+
|
|
21808
|
+
// authentication bearer required
|
|
21809
|
+
// http bearer authentication required
|
|
21810
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
21811
|
+
|
|
21812
|
+
|
|
21813
|
+
|
|
21814
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
21815
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
21816
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
21817
|
+
|
|
21818
|
+
return {
|
|
21819
|
+
url: toPathString(localVarUrlObj),
|
|
21820
|
+
options: localVarRequestOptions,
|
|
21821
|
+
};
|
|
21822
|
+
},
|
|
21823
|
+
/**
|
|
21824
|
+
*
|
|
21825
|
+
* @param {*} [options] Override http request option.
|
|
21826
|
+
* @throws {RequiredError}
|
|
21827
|
+
*/
|
|
21828
|
+
whatsOnControllerSponsored: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
21829
|
+
const localVarPath = `/v1/whats-on/sponsored`;
|
|
21830
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
21831
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
21832
|
+
let baseOptions;
|
|
21833
|
+
if (configuration) {
|
|
21834
|
+
baseOptions = configuration.baseOptions;
|
|
21835
|
+
}
|
|
21836
|
+
|
|
21837
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
21838
|
+
const localVarHeaderParameter = {} as any;
|
|
21839
|
+
const localVarQueryParameter = {} as any;
|
|
21840
|
+
|
|
21841
|
+
// authentication bearer required
|
|
21842
|
+
// http bearer authentication required
|
|
21843
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
21844
|
+
|
|
21845
|
+
|
|
21846
|
+
|
|
21847
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
21848
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
21849
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
21850
|
+
|
|
21851
|
+
return {
|
|
21852
|
+
url: toPathString(localVarUrlObj),
|
|
21853
|
+
options: localVarRequestOptions,
|
|
21854
|
+
};
|
|
21855
|
+
},
|
|
21578
21856
|
/**
|
|
21579
21857
|
*
|
|
21580
21858
|
* @param {WhatsOnFavoriteDTO} whatsOnFavoriteDTO
|
|
@@ -21840,6 +22118,28 @@ export const WhatsOnApiFp = function(configuration?: Configuration) {
|
|
|
21840
22118
|
const localVarOperationServerBasePath = operationServerMap['WhatsOnApi.whatsOnControllerMarkFavoriteWhatsOn']?.[localVarOperationServerIndex]?.url;
|
|
21841
22119
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
21842
22120
|
},
|
|
22121
|
+
/**
|
|
22122
|
+
*
|
|
22123
|
+
* @param {*} [options] Override http request option.
|
|
22124
|
+
* @throws {RequiredError}
|
|
22125
|
+
*/
|
|
22126
|
+
async whatsOnControllerPromotions(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WhatsOnResponseDTO>> {
|
|
22127
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.whatsOnControllerPromotions(options);
|
|
22128
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
22129
|
+
const localVarOperationServerBasePath = operationServerMap['WhatsOnApi.whatsOnControllerPromotions']?.[localVarOperationServerIndex]?.url;
|
|
22130
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
22131
|
+
},
|
|
22132
|
+
/**
|
|
22133
|
+
*
|
|
22134
|
+
* @param {*} [options] Override http request option.
|
|
22135
|
+
* @throws {RequiredError}
|
|
22136
|
+
*/
|
|
22137
|
+
async whatsOnControllerSponsored(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WhatsOnResponseDTO>> {
|
|
22138
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.whatsOnControllerSponsored(options);
|
|
22139
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
22140
|
+
const localVarOperationServerBasePath = operationServerMap['WhatsOnApi.whatsOnControllerSponsored']?.[localVarOperationServerIndex]?.url;
|
|
22141
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
22142
|
+
},
|
|
21843
22143
|
/**
|
|
21844
22144
|
*
|
|
21845
22145
|
* @param {WhatsOnFavoriteDTO} whatsOnFavoriteDTO
|
|
@@ -21972,6 +22272,22 @@ export const WhatsOnApiFactory = function (configuration?: Configuration, basePa
|
|
|
21972
22272
|
whatsOnControllerMarkFavoriteWhatsOn(whatsOnFavoriteDTO: WhatsOnFavoriteDTO, options?: RawAxiosRequestConfig): AxiosPromise<WhatsOnFavoriteResponse> {
|
|
21973
22273
|
return localVarFp.whatsOnControllerMarkFavoriteWhatsOn(whatsOnFavoriteDTO, options).then((request) => request(axios, basePath));
|
|
21974
22274
|
},
|
|
22275
|
+
/**
|
|
22276
|
+
*
|
|
22277
|
+
* @param {*} [options] Override http request option.
|
|
22278
|
+
* @throws {RequiredError}
|
|
22279
|
+
*/
|
|
22280
|
+
whatsOnControllerPromotions(options?: RawAxiosRequestConfig): AxiosPromise<WhatsOnResponseDTO> {
|
|
22281
|
+
return localVarFp.whatsOnControllerPromotions(options).then((request) => request(axios, basePath));
|
|
22282
|
+
},
|
|
22283
|
+
/**
|
|
22284
|
+
*
|
|
22285
|
+
* @param {*} [options] Override http request option.
|
|
22286
|
+
* @throws {RequiredError}
|
|
22287
|
+
*/
|
|
22288
|
+
whatsOnControllerSponsored(options?: RawAxiosRequestConfig): AxiosPromise<WhatsOnResponseDTO> {
|
|
22289
|
+
return localVarFp.whatsOnControllerSponsored(options).then((request) => request(axios, basePath));
|
|
22290
|
+
},
|
|
21975
22291
|
/**
|
|
21976
22292
|
*
|
|
21977
22293
|
* @param {WhatsOnFavoriteDTO} whatsOnFavoriteDTO
|
|
@@ -22108,6 +22424,26 @@ export class WhatsOnApi extends BaseAPI {
|
|
|
22108
22424
|
return WhatsOnApiFp(this.configuration).whatsOnControllerMarkFavoriteWhatsOn(whatsOnFavoriteDTO, options).then((request) => request(this.axios, this.basePath));
|
|
22109
22425
|
}
|
|
22110
22426
|
|
|
22427
|
+
/**
|
|
22428
|
+
*
|
|
22429
|
+
* @param {*} [options] Override http request option.
|
|
22430
|
+
* @throws {RequiredError}
|
|
22431
|
+
* @memberof WhatsOnApi
|
|
22432
|
+
*/
|
|
22433
|
+
public whatsOnControllerPromotions(options?: RawAxiosRequestConfig) {
|
|
22434
|
+
return WhatsOnApiFp(this.configuration).whatsOnControllerPromotions(options).then((request) => request(this.axios, this.basePath));
|
|
22435
|
+
}
|
|
22436
|
+
|
|
22437
|
+
/**
|
|
22438
|
+
*
|
|
22439
|
+
* @param {*} [options] Override http request option.
|
|
22440
|
+
* @throws {RequiredError}
|
|
22441
|
+
* @memberof WhatsOnApi
|
|
22442
|
+
*/
|
|
22443
|
+
public whatsOnControllerSponsored(options?: RawAxiosRequestConfig) {
|
|
22444
|
+
return WhatsOnApiFp(this.configuration).whatsOnControllerSponsored(options).then((request) => request(this.axios, this.basePath));
|
|
22445
|
+
}
|
|
22446
|
+
|
|
22111
22447
|
/**
|
|
22112
22448
|
*
|
|
22113
22449
|
* @param {WhatsOnFavoriteDTO} whatsOnFavoriteDTO
|