@gooday_corp/gooday-api-client 1.3.55 → 1.3.60
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/.openapi-generator/FILES +2 -0
- package/api.ts +471 -28
- package/docs/AIApi.md +61 -4
- package/docs/BookingApi.md +13 -5
- package/docs/BusinessApi.md +9 -2
- package/docs/CreateBookingPayload.md +1 -1
- package/docs/RescheduleBookingPayload.md +1 -1
- package/docs/TrendingFilterDTO.md +20 -0
- package/docs/WaitlistPayloadDTO.md +2 -2
- package/docs/WhatsOnApi.md +174 -3
- package/docs/WhatsOnFilterDTO.md +40 -0
- package/docs/WhatsOnFindDTO.md +2 -0
- package/package.json +1 -1
package/.openapi-generator/FILES
CHANGED
|
@@ -260,6 +260,7 @@ docs/TodoApi.md
|
|
|
260
260
|
docs/TodoDetailResponseDTO.md
|
|
261
261
|
docs/TodoEntity.md
|
|
262
262
|
docs/TodoListResponseDTO.md
|
|
263
|
+
docs/TrendingFilterDTO.md
|
|
263
264
|
docs/UndoPayloadDTO.md
|
|
264
265
|
docs/UndoResponseDTO.md
|
|
265
266
|
docs/UpdateTaskPayload.md
|
|
@@ -298,6 +299,7 @@ docs/WhatsOnFavoriteDTO.md
|
|
|
298
299
|
docs/WhatsOnFavoriteListResponseDTO.md
|
|
299
300
|
docs/WhatsOnFavoriteResponse.md
|
|
300
301
|
docs/WhatsOnFavoriteResponseDTO.md
|
|
302
|
+
docs/WhatsOnFilterDTO.md
|
|
301
303
|
docs/WhatsOnFindDTO.md
|
|
302
304
|
docs/WhatsOnLocationDTO.md
|
|
303
305
|
docs/WhatsOnLocationMetaDTO.md
|
package/api.ts
CHANGED
|
@@ -7398,6 +7398,19 @@ export interface TodoListResponseDTO {
|
|
|
7398
7398
|
*/
|
|
7399
7399
|
'data': Array<TodoEntity>;
|
|
7400
7400
|
}
|
|
7401
|
+
/**
|
|
7402
|
+
*
|
|
7403
|
+
* @export
|
|
7404
|
+
* @interface TrendingFilterDTO
|
|
7405
|
+
*/
|
|
7406
|
+
export interface TrendingFilterDTO {
|
|
7407
|
+
/**
|
|
7408
|
+
*
|
|
7409
|
+
* @type {string}
|
|
7410
|
+
* @memberof TrendingFilterDTO
|
|
7411
|
+
*/
|
|
7412
|
+
'category'?: string;
|
|
7413
|
+
}
|
|
7401
7414
|
/**
|
|
7402
7415
|
*
|
|
7403
7416
|
* @export
|
|
@@ -8613,6 +8626,79 @@ export interface WhatsOnFavoriteResponseDTO {
|
|
|
8613
8626
|
*/
|
|
8614
8627
|
'data': WhatsOnEntity;
|
|
8615
8628
|
}
|
|
8629
|
+
/**
|
|
8630
|
+
*
|
|
8631
|
+
* @export
|
|
8632
|
+
* @interface WhatsOnFilterDTO
|
|
8633
|
+
*/
|
|
8634
|
+
export interface WhatsOnFilterDTO {
|
|
8635
|
+
/**
|
|
8636
|
+
*
|
|
8637
|
+
* @type {number}
|
|
8638
|
+
* @memberof WhatsOnFilterDTO
|
|
8639
|
+
*/
|
|
8640
|
+
'page': number;
|
|
8641
|
+
/**
|
|
8642
|
+
*
|
|
8643
|
+
* @type {number}
|
|
8644
|
+
* @memberof WhatsOnFilterDTO
|
|
8645
|
+
*/
|
|
8646
|
+
'pageSize': number;
|
|
8647
|
+
/**
|
|
8648
|
+
*
|
|
8649
|
+
* @type {string}
|
|
8650
|
+
* @memberof WhatsOnFilterDTO
|
|
8651
|
+
*/
|
|
8652
|
+
'search'?: string;
|
|
8653
|
+
/**
|
|
8654
|
+
*
|
|
8655
|
+
* @type {Array<string>}
|
|
8656
|
+
* @memberof WhatsOnFilterDTO
|
|
8657
|
+
*/
|
|
8658
|
+
'category'?: Array<string>;
|
|
8659
|
+
/**
|
|
8660
|
+
*
|
|
8661
|
+
* @type {string}
|
|
8662
|
+
* @memberof WhatsOnFilterDTO
|
|
8663
|
+
*/
|
|
8664
|
+
'type'?: string;
|
|
8665
|
+
/**
|
|
8666
|
+
* Start date for the events
|
|
8667
|
+
* @type {string}
|
|
8668
|
+
* @memberof WhatsOnFilterDTO
|
|
8669
|
+
*/
|
|
8670
|
+
'date': string;
|
|
8671
|
+
/**
|
|
8672
|
+
*
|
|
8673
|
+
* @type {string}
|
|
8674
|
+
* @memberof WhatsOnFilterDTO
|
|
8675
|
+
*/
|
|
8676
|
+
'from'?: string;
|
|
8677
|
+
/**
|
|
8678
|
+
*
|
|
8679
|
+
* @type {string}
|
|
8680
|
+
* @memberof WhatsOnFilterDTO
|
|
8681
|
+
*/
|
|
8682
|
+
'to'?: string;
|
|
8683
|
+
/**
|
|
8684
|
+
*
|
|
8685
|
+
* @type {number}
|
|
8686
|
+
* @memberof WhatsOnFilterDTO
|
|
8687
|
+
*/
|
|
8688
|
+
'distance'?: number;
|
|
8689
|
+
/**
|
|
8690
|
+
* Minimum price filter
|
|
8691
|
+
* @type {number}
|
|
8692
|
+
* @memberof WhatsOnFilterDTO
|
|
8693
|
+
*/
|
|
8694
|
+
'minPrice'?: number;
|
|
8695
|
+
/**
|
|
8696
|
+
* Maximum price filter
|
|
8697
|
+
* @type {number}
|
|
8698
|
+
* @memberof WhatsOnFilterDTO
|
|
8699
|
+
*/
|
|
8700
|
+
'maxPrice'?: number;
|
|
8701
|
+
}
|
|
8616
8702
|
/**
|
|
8617
8703
|
*
|
|
8618
8704
|
* @export
|
|
@@ -8643,6 +8729,12 @@ export interface WhatsOnFindDTO {
|
|
|
8643
8729
|
* @memberof WhatsOnFindDTO
|
|
8644
8730
|
*/
|
|
8645
8731
|
'venue'?: string;
|
|
8732
|
+
/**
|
|
8733
|
+
*
|
|
8734
|
+
* @type {string}
|
|
8735
|
+
* @memberof WhatsOnFindDTO
|
|
8736
|
+
*/
|
|
8737
|
+
'businessType'?: string;
|
|
8646
8738
|
}
|
|
8647
8739
|
/**
|
|
8648
8740
|
*
|
|
@@ -8979,6 +9071,54 @@ export const AIApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
|
8979
9071
|
|
|
8980
9072
|
|
|
8981
9073
|
|
|
9074
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
9075
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
9076
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
9077
|
+
|
|
9078
|
+
return {
|
|
9079
|
+
url: toPathString(localVarUrlObj),
|
|
9080
|
+
options: localVarRequestOptions,
|
|
9081
|
+
};
|
|
9082
|
+
},
|
|
9083
|
+
/**
|
|
9084
|
+
*
|
|
9085
|
+
* @param {number} [page]
|
|
9086
|
+
* @param {number} [pageSize]
|
|
9087
|
+
* @param {string} [identifier]
|
|
9088
|
+
* @param {*} [options] Override http request option.
|
|
9089
|
+
* @throws {RequiredError}
|
|
9090
|
+
*/
|
|
9091
|
+
assistantControllerGenerateCategoriesFeed: async (page?: number, pageSize?: number, identifier?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
9092
|
+
const localVarPath = `/v1/ai/category-feed`;
|
|
9093
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
9094
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
9095
|
+
let baseOptions;
|
|
9096
|
+
if (configuration) {
|
|
9097
|
+
baseOptions = configuration.baseOptions;
|
|
9098
|
+
}
|
|
9099
|
+
|
|
9100
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
9101
|
+
const localVarHeaderParameter = {} as any;
|
|
9102
|
+
const localVarQueryParameter = {} as any;
|
|
9103
|
+
|
|
9104
|
+
// authentication bearer required
|
|
9105
|
+
// http bearer authentication required
|
|
9106
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
9107
|
+
|
|
9108
|
+
if (page !== undefined) {
|
|
9109
|
+
localVarQueryParameter['page'] = page;
|
|
9110
|
+
}
|
|
9111
|
+
|
|
9112
|
+
if (pageSize !== undefined) {
|
|
9113
|
+
localVarQueryParameter['pageSize'] = pageSize;
|
|
9114
|
+
}
|
|
9115
|
+
|
|
9116
|
+
if (identifier !== undefined) {
|
|
9117
|
+
localVarQueryParameter['identifier'] = identifier;
|
|
9118
|
+
}
|
|
9119
|
+
|
|
9120
|
+
|
|
9121
|
+
|
|
8982
9122
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
8983
9123
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
8984
9124
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -9116,6 +9256,20 @@ export const AIApiFp = function(configuration?: Configuration) {
|
|
|
9116
9256
|
const localVarOperationServerBasePath = operationServerMap['AIApi.assistantControllerAiSuggestionList']?.[localVarOperationServerIndex]?.url;
|
|
9117
9257
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
9118
9258
|
},
|
|
9259
|
+
/**
|
|
9260
|
+
*
|
|
9261
|
+
* @param {number} [page]
|
|
9262
|
+
* @param {number} [pageSize]
|
|
9263
|
+
* @param {string} [identifier]
|
|
9264
|
+
* @param {*} [options] Override http request option.
|
|
9265
|
+
* @throws {RequiredError}
|
|
9266
|
+
*/
|
|
9267
|
+
async assistantControllerGenerateCategoriesFeed(page?: number, pageSize?: number, identifier?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<HomeFeedListResponseDTO>> {
|
|
9268
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.assistantControllerGenerateCategoriesFeed(page, pageSize, identifier, options);
|
|
9269
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
9270
|
+
const localVarOperationServerBasePath = operationServerMap['AIApi.assistantControllerGenerateCategoriesFeed']?.[localVarOperationServerIndex]?.url;
|
|
9271
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
9272
|
+
},
|
|
9119
9273
|
/**
|
|
9120
9274
|
*
|
|
9121
9275
|
* @param {number} [page]
|
|
@@ -9171,6 +9325,17 @@ export const AIApiFactory = function (configuration?: Configuration, basePath?:
|
|
|
9171
9325
|
assistantControllerAiSuggestionList(page?: number, pageSize?: number, options?: RawAxiosRequestConfig): AxiosPromise<AISuggestionListResponse> {
|
|
9172
9326
|
return localVarFp.assistantControllerAiSuggestionList(page, pageSize, options).then((request) => request(axios, basePath));
|
|
9173
9327
|
},
|
|
9328
|
+
/**
|
|
9329
|
+
*
|
|
9330
|
+
* @param {number} [page]
|
|
9331
|
+
* @param {number} [pageSize]
|
|
9332
|
+
* @param {string} [identifier]
|
|
9333
|
+
* @param {*} [options] Override http request option.
|
|
9334
|
+
* @throws {RequiredError}
|
|
9335
|
+
*/
|
|
9336
|
+
assistantControllerGenerateCategoriesFeed(page?: number, pageSize?: number, identifier?: string, options?: RawAxiosRequestConfig): AxiosPromise<HomeFeedListResponseDTO> {
|
|
9337
|
+
return localVarFp.assistantControllerGenerateCategoriesFeed(page, pageSize, identifier, options).then((request) => request(axios, basePath));
|
|
9338
|
+
},
|
|
9174
9339
|
/**
|
|
9175
9340
|
*
|
|
9176
9341
|
* @param {number} [page]
|
|
@@ -9219,6 +9384,19 @@ export class AIApi extends BaseAPI {
|
|
|
9219
9384
|
return AIApiFp(this.configuration).assistantControllerAiSuggestionList(page, pageSize, options).then((request) => request(this.axios, this.basePath));
|
|
9220
9385
|
}
|
|
9221
9386
|
|
|
9387
|
+
/**
|
|
9388
|
+
*
|
|
9389
|
+
* @param {number} [page]
|
|
9390
|
+
* @param {number} [pageSize]
|
|
9391
|
+
* @param {string} [identifier]
|
|
9392
|
+
* @param {*} [options] Override http request option.
|
|
9393
|
+
* @throws {RequiredError}
|
|
9394
|
+
* @memberof AIApi
|
|
9395
|
+
*/
|
|
9396
|
+
public assistantControllerGenerateCategoriesFeed(page?: number, pageSize?: number, identifier?: string, options?: RawAxiosRequestConfig) {
|
|
9397
|
+
return AIApiFp(this.configuration).assistantControllerGenerateCategoriesFeed(page, pageSize, identifier, options).then((request) => request(this.axios, this.basePath));
|
|
9398
|
+
}
|
|
9399
|
+
|
|
9222
9400
|
/**
|
|
9223
9401
|
*
|
|
9224
9402
|
* @param {number} [page]
|
|
@@ -11122,10 +11300,13 @@ export const BookingApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
11122
11300
|
},
|
|
11123
11301
|
/**
|
|
11124
11302
|
*
|
|
11303
|
+
* @param {TrendingFilterDTO} trendingFilterDTO
|
|
11125
11304
|
* @param {*} [options] Override http request option.
|
|
11126
11305
|
* @throws {RequiredError}
|
|
11127
11306
|
*/
|
|
11128
|
-
bookingControllerTrendingEvents: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
11307
|
+
bookingControllerTrendingEvents: async (trendingFilterDTO: TrendingFilterDTO, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
11308
|
+
// verify required parameter 'trendingFilterDTO' is not null or undefined
|
|
11309
|
+
assertParamExists('bookingControllerTrendingEvents', 'trendingFilterDTO', trendingFilterDTO)
|
|
11129
11310
|
const localVarPath = `/v1/booking/trending-events`;
|
|
11130
11311
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
11131
11312
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -11144,9 +11325,12 @@ export const BookingApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
11144
11325
|
|
|
11145
11326
|
|
|
11146
11327
|
|
|
11328
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
11329
|
+
|
|
11147
11330
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
11148
11331
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
11149
11332
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
11333
|
+
localVarRequestOptions.data = serializeDataIfNeeded(trendingFilterDTO, localVarRequestOptions, configuration)
|
|
11150
11334
|
|
|
11151
11335
|
return {
|
|
11152
11336
|
url: toPathString(localVarUrlObj),
|
|
@@ -11377,11 +11561,12 @@ export const BookingApiFp = function(configuration?: Configuration) {
|
|
|
11377
11561
|
},
|
|
11378
11562
|
/**
|
|
11379
11563
|
*
|
|
11564
|
+
* @param {TrendingFilterDTO} trendingFilterDTO
|
|
11380
11565
|
* @param {*} [options] Override http request option.
|
|
11381
11566
|
* @throws {RequiredError}
|
|
11382
11567
|
*/
|
|
11383
|
-
async bookingControllerTrendingEvents(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<FindBookingResponseDTO>> {
|
|
11384
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.bookingControllerTrendingEvents(options);
|
|
11568
|
+
async bookingControllerTrendingEvents(trendingFilterDTO: TrendingFilterDTO, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<FindBookingResponseDTO>> {
|
|
11569
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.bookingControllerTrendingEvents(trendingFilterDTO, options);
|
|
11385
11570
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
11386
11571
|
const localVarOperationServerBasePath = operationServerMap['BookingApi.bookingControllerTrendingEvents']?.[localVarOperationServerIndex]?.url;
|
|
11387
11572
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -11538,11 +11723,12 @@ export const BookingApiFactory = function (configuration?: Configuration, basePa
|
|
|
11538
11723
|
},
|
|
11539
11724
|
/**
|
|
11540
11725
|
*
|
|
11726
|
+
* @param {TrendingFilterDTO} trendingFilterDTO
|
|
11541
11727
|
* @param {*} [options] Override http request option.
|
|
11542
11728
|
* @throws {RequiredError}
|
|
11543
11729
|
*/
|
|
11544
|
-
bookingControllerTrendingEvents(options?: RawAxiosRequestConfig): AxiosPromise<FindBookingResponseDTO> {
|
|
11545
|
-
return localVarFp.bookingControllerTrendingEvents(options).then((request) => request(axios, basePath));
|
|
11730
|
+
bookingControllerTrendingEvents(trendingFilterDTO: TrendingFilterDTO, options?: RawAxiosRequestConfig): AxiosPromise<FindBookingResponseDTO> {
|
|
11731
|
+
return localVarFp.bookingControllerTrendingEvents(trendingFilterDTO, options).then((request) => request(axios, basePath));
|
|
11546
11732
|
},
|
|
11547
11733
|
/**
|
|
11548
11734
|
*
|
|
@@ -11721,12 +11907,13 @@ export class BookingApi extends BaseAPI {
|
|
|
11721
11907
|
|
|
11722
11908
|
/**
|
|
11723
11909
|
*
|
|
11910
|
+
* @param {TrendingFilterDTO} trendingFilterDTO
|
|
11724
11911
|
* @param {*} [options] Override http request option.
|
|
11725
11912
|
* @throws {RequiredError}
|
|
11726
11913
|
* @memberof BookingApi
|
|
11727
11914
|
*/
|
|
11728
|
-
public bookingControllerTrendingEvents(options?: RawAxiosRequestConfig) {
|
|
11729
|
-
return BookingApiFp(this.configuration).bookingControllerTrendingEvents(options).then((request) => request(this.axios, this.basePath));
|
|
11915
|
+
public bookingControllerTrendingEvents(trendingFilterDTO: TrendingFilterDTO, options?: RawAxiosRequestConfig) {
|
|
11916
|
+
return BookingApiFp(this.configuration).bookingControllerTrendingEvents(trendingFilterDTO, options).then((request) => request(this.axios, this.basePath));
|
|
11730
11917
|
}
|
|
11731
11918
|
|
|
11732
11919
|
/**
|
|
@@ -12447,10 +12634,11 @@ export const BusinessApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
12447
12634
|
},
|
|
12448
12635
|
/**
|
|
12449
12636
|
*
|
|
12637
|
+
* @param {string} [id] Unique identifier for the category
|
|
12450
12638
|
* @param {*} [options] Override http request option.
|
|
12451
12639
|
* @throws {RequiredError}
|
|
12452
12640
|
*/
|
|
12453
|
-
businessTypeControllerListAllCategories: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
12641
|
+
businessTypeControllerListAllCategories: async (id?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
12454
12642
|
const localVarPath = `/v1/business/categories`;
|
|
12455
12643
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
12456
12644
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -12467,6 +12655,10 @@ export const BusinessApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
12467
12655
|
// http bearer authentication required
|
|
12468
12656
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
12469
12657
|
|
|
12658
|
+
if (id !== undefined) {
|
|
12659
|
+
localVarQueryParameter['id'] = id;
|
|
12660
|
+
}
|
|
12661
|
+
|
|
12470
12662
|
|
|
12471
12663
|
|
|
12472
12664
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -13004,11 +13196,12 @@ export const BusinessApiFp = function(configuration?: Configuration) {
|
|
|
13004
13196
|
},
|
|
13005
13197
|
/**
|
|
13006
13198
|
*
|
|
13199
|
+
* @param {string} [id] Unique identifier for the category
|
|
13007
13200
|
* @param {*} [options] Override http request option.
|
|
13008
13201
|
* @throws {RequiredError}
|
|
13009
13202
|
*/
|
|
13010
|
-
async businessTypeControllerListAllCategories(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CategoryListResponse>> {
|
|
13011
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.businessTypeControllerListAllCategories(options);
|
|
13203
|
+
async businessTypeControllerListAllCategories(id?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CategoryListResponse>> {
|
|
13204
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.businessTypeControllerListAllCategories(id, options);
|
|
13012
13205
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
13013
13206
|
const localVarOperationServerBasePath = operationServerMap['BusinessApi.businessTypeControllerListAllCategories']?.[localVarOperationServerIndex]?.url;
|
|
13014
13207
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -13288,11 +13481,12 @@ export const BusinessApiFactory = function (configuration?: Configuration, baseP
|
|
|
13288
13481
|
},
|
|
13289
13482
|
/**
|
|
13290
13483
|
*
|
|
13484
|
+
* @param {string} [id] Unique identifier for the category
|
|
13291
13485
|
* @param {*} [options] Override http request option.
|
|
13292
13486
|
* @throws {RequiredError}
|
|
13293
13487
|
*/
|
|
13294
|
-
businessTypeControllerListAllCategories(options?: RawAxiosRequestConfig): AxiosPromise<CategoryListResponse> {
|
|
13295
|
-
return localVarFp.businessTypeControllerListAllCategories(options).then((request) => request(axios, basePath));
|
|
13488
|
+
businessTypeControllerListAllCategories(id?: string, options?: RawAxiosRequestConfig): AxiosPromise<CategoryListResponse> {
|
|
13489
|
+
return localVarFp.businessTypeControllerListAllCategories(id, options).then((request) => request(axios, basePath));
|
|
13296
13490
|
},
|
|
13297
13491
|
/**
|
|
13298
13492
|
*
|
|
@@ -13583,12 +13777,13 @@ export class BusinessApi extends BaseAPI {
|
|
|
13583
13777
|
|
|
13584
13778
|
/**
|
|
13585
13779
|
*
|
|
13780
|
+
* @param {string} [id] Unique identifier for the category
|
|
13586
13781
|
* @param {*} [options] Override http request option.
|
|
13587
13782
|
* @throws {RequiredError}
|
|
13588
13783
|
* @memberof BusinessApi
|
|
13589
13784
|
*/
|
|
13590
|
-
public businessTypeControllerListAllCategories(options?: RawAxiosRequestConfig) {
|
|
13591
|
-
return BusinessApiFp(this.configuration).businessTypeControllerListAllCategories(options).then((request) => request(this.axios, this.basePath));
|
|
13785
|
+
public businessTypeControllerListAllCategories(id?: string, options?: RawAxiosRequestConfig) {
|
|
13786
|
+
return BusinessApiFp(this.configuration).businessTypeControllerListAllCategories(id, options).then((request) => request(this.axios, this.basePath));
|
|
13592
13787
|
}
|
|
13593
13788
|
|
|
13594
13789
|
/**
|
|
@@ -22452,6 +22647,84 @@ export const WhatsOnApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
22452
22647
|
options: localVarRequestOptions,
|
|
22453
22648
|
};
|
|
22454
22649
|
},
|
|
22650
|
+
/**
|
|
22651
|
+
*
|
|
22652
|
+
* @param {WhatsOnFilterDTO} whatsOnFilterDTO
|
|
22653
|
+
* @param {*} [options] Override http request option.
|
|
22654
|
+
* @throws {RequiredError}
|
|
22655
|
+
*/
|
|
22656
|
+
whatsOnControllerFilterWhatsOn: async (whatsOnFilterDTO: WhatsOnFilterDTO, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
22657
|
+
// verify required parameter 'whatsOnFilterDTO' is not null or undefined
|
|
22658
|
+
assertParamExists('whatsOnControllerFilterWhatsOn', 'whatsOnFilterDTO', whatsOnFilterDTO)
|
|
22659
|
+
const localVarPath = `/v1/whats-on/filter/list`;
|
|
22660
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
22661
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
22662
|
+
let baseOptions;
|
|
22663
|
+
if (configuration) {
|
|
22664
|
+
baseOptions = configuration.baseOptions;
|
|
22665
|
+
}
|
|
22666
|
+
|
|
22667
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
22668
|
+
const localVarHeaderParameter = {} as any;
|
|
22669
|
+
const localVarQueryParameter = {} as any;
|
|
22670
|
+
|
|
22671
|
+
// authentication bearer required
|
|
22672
|
+
// http bearer authentication required
|
|
22673
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
22674
|
+
|
|
22675
|
+
|
|
22676
|
+
|
|
22677
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
22678
|
+
|
|
22679
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
22680
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
22681
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
22682
|
+
localVarRequestOptions.data = serializeDataIfNeeded(whatsOnFilterDTO, localVarRequestOptions, configuration)
|
|
22683
|
+
|
|
22684
|
+
return {
|
|
22685
|
+
url: toPathString(localVarUrlObj),
|
|
22686
|
+
options: localVarRequestOptions,
|
|
22687
|
+
};
|
|
22688
|
+
},
|
|
22689
|
+
/**
|
|
22690
|
+
*
|
|
22691
|
+
* @param {WhatsOnFindDTO} whatsOnFindDTO
|
|
22692
|
+
* @param {*} [options] Override http request option.
|
|
22693
|
+
* @throws {RequiredError}
|
|
22694
|
+
*/
|
|
22695
|
+
whatsOnControllerFindCategoryBaseWhatsOn: async (whatsOnFindDTO: WhatsOnFindDTO, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
22696
|
+
// verify required parameter 'whatsOnFindDTO' is not null or undefined
|
|
22697
|
+
assertParamExists('whatsOnControllerFindCategoryBaseWhatsOn', 'whatsOnFindDTO', whatsOnFindDTO)
|
|
22698
|
+
const localVarPath = `/v1/whats-on/categories/list`;
|
|
22699
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
22700
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
22701
|
+
let baseOptions;
|
|
22702
|
+
if (configuration) {
|
|
22703
|
+
baseOptions = configuration.baseOptions;
|
|
22704
|
+
}
|
|
22705
|
+
|
|
22706
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
22707
|
+
const localVarHeaderParameter = {} as any;
|
|
22708
|
+
const localVarQueryParameter = {} as any;
|
|
22709
|
+
|
|
22710
|
+
// authentication bearer required
|
|
22711
|
+
// http bearer authentication required
|
|
22712
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
22713
|
+
|
|
22714
|
+
|
|
22715
|
+
|
|
22716
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
22717
|
+
|
|
22718
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
22719
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
22720
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
22721
|
+
localVarRequestOptions.data = serializeDataIfNeeded(whatsOnFindDTO, localVarRequestOptions, configuration)
|
|
22722
|
+
|
|
22723
|
+
return {
|
|
22724
|
+
url: toPathString(localVarUrlObj),
|
|
22725
|
+
options: localVarRequestOptions,
|
|
22726
|
+
};
|
|
22727
|
+
},
|
|
22455
22728
|
/**
|
|
22456
22729
|
*
|
|
22457
22730
|
* @param {string} id
|
|
@@ -22493,10 +22766,11 @@ export const WhatsOnApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
22493
22766
|
*
|
|
22494
22767
|
* @param {number} page
|
|
22495
22768
|
* @param {number} limit
|
|
22769
|
+
* @param {string} [category]
|
|
22496
22770
|
* @param {*} [options] Override http request option.
|
|
22497
22771
|
* @throws {RequiredError}
|
|
22498
22772
|
*/
|
|
22499
|
-
whatsOnControllerFindFavoriteWhatsOnList: async (page: number, limit: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
22773
|
+
whatsOnControllerFindFavoriteWhatsOnList: async (page: number, limit: number, category?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
22500
22774
|
// verify required parameter 'page' is not null or undefined
|
|
22501
22775
|
assertParamExists('whatsOnControllerFindFavoriteWhatsOnList', 'page', page)
|
|
22502
22776
|
// verify required parameter 'limit' is not null or undefined
|
|
@@ -22525,6 +22799,62 @@ export const WhatsOnApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
22525
22799
|
localVarQueryParameter['limit'] = limit;
|
|
22526
22800
|
}
|
|
22527
22801
|
|
|
22802
|
+
if (category !== undefined) {
|
|
22803
|
+
localVarQueryParameter['category'] = category;
|
|
22804
|
+
}
|
|
22805
|
+
|
|
22806
|
+
|
|
22807
|
+
|
|
22808
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
22809
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
22810
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
22811
|
+
|
|
22812
|
+
return {
|
|
22813
|
+
url: toPathString(localVarUrlObj),
|
|
22814
|
+
options: localVarRequestOptions,
|
|
22815
|
+
};
|
|
22816
|
+
},
|
|
22817
|
+
/**
|
|
22818
|
+
*
|
|
22819
|
+
* @param {number} page
|
|
22820
|
+
* @param {number} limit
|
|
22821
|
+
* @param {string} [category]
|
|
22822
|
+
* @param {*} [options] Override http request option.
|
|
22823
|
+
* @throws {RequiredError}
|
|
22824
|
+
*/
|
|
22825
|
+
whatsOnControllerFindMyFavoriteWhatsOnList: async (page: number, limit: number, category?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
22826
|
+
// verify required parameter 'page' is not null or undefined
|
|
22827
|
+
assertParamExists('whatsOnControllerFindMyFavoriteWhatsOnList', 'page', page)
|
|
22828
|
+
// verify required parameter 'limit' is not null or undefined
|
|
22829
|
+
assertParamExists('whatsOnControllerFindMyFavoriteWhatsOnList', 'limit', limit)
|
|
22830
|
+
const localVarPath = `/v1/whats-on/myfavorite`;
|
|
22831
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
22832
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
22833
|
+
let baseOptions;
|
|
22834
|
+
if (configuration) {
|
|
22835
|
+
baseOptions = configuration.baseOptions;
|
|
22836
|
+
}
|
|
22837
|
+
|
|
22838
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
22839
|
+
const localVarHeaderParameter = {} as any;
|
|
22840
|
+
const localVarQueryParameter = {} as any;
|
|
22841
|
+
|
|
22842
|
+
// authentication bearer required
|
|
22843
|
+
// http bearer authentication required
|
|
22844
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
22845
|
+
|
|
22846
|
+
if (page !== undefined) {
|
|
22847
|
+
localVarQueryParameter['page'] = page;
|
|
22848
|
+
}
|
|
22849
|
+
|
|
22850
|
+
if (limit !== undefined) {
|
|
22851
|
+
localVarQueryParameter['limit'] = limit;
|
|
22852
|
+
}
|
|
22853
|
+
|
|
22854
|
+
if (category !== undefined) {
|
|
22855
|
+
localVarQueryParameter['category'] = category;
|
|
22856
|
+
}
|
|
22857
|
+
|
|
22528
22858
|
|
|
22529
22859
|
|
|
22530
22860
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -22721,10 +23051,11 @@ export const WhatsOnApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
22721
23051
|
},
|
|
22722
23052
|
/**
|
|
22723
23053
|
*
|
|
23054
|
+
* @param {string} [businessType]
|
|
22724
23055
|
* @param {*} [options] Override http request option.
|
|
22725
23056
|
* @throws {RequiredError}
|
|
22726
23057
|
*/
|
|
22727
|
-
whatsOnControllerSponsored: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
23058
|
+
whatsOnControllerSponsored: async (businessType?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
22728
23059
|
const localVarPath = `/v1/whats-on/sponsored`;
|
|
22729
23060
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
22730
23061
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -22741,6 +23072,10 @@ export const WhatsOnApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
22741
23072
|
// http bearer authentication required
|
|
22742
23073
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
22743
23074
|
|
|
23075
|
+
if (businessType !== undefined) {
|
|
23076
|
+
localVarQueryParameter['businessType'] = businessType;
|
|
23077
|
+
}
|
|
23078
|
+
|
|
22744
23079
|
|
|
22745
23080
|
|
|
22746
23081
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -22956,6 +23291,30 @@ export const WhatsOnApiFp = function(configuration?: Configuration) {
|
|
|
22956
23291
|
const localVarOperationServerBasePath = operationServerMap['WhatsOnApi.whatsOnControllerDiscountCodeApply']?.[localVarOperationServerIndex]?.url;
|
|
22957
23292
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
22958
23293
|
},
|
|
23294
|
+
/**
|
|
23295
|
+
*
|
|
23296
|
+
* @param {WhatsOnFilterDTO} whatsOnFilterDTO
|
|
23297
|
+
* @param {*} [options] Override http request option.
|
|
23298
|
+
* @throws {RequiredError}
|
|
23299
|
+
*/
|
|
23300
|
+
async whatsOnControllerFilterWhatsOn(whatsOnFilterDTO: WhatsOnFilterDTO, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WhatsOnResponseDTO>> {
|
|
23301
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.whatsOnControllerFilterWhatsOn(whatsOnFilterDTO, options);
|
|
23302
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
23303
|
+
const localVarOperationServerBasePath = operationServerMap['WhatsOnApi.whatsOnControllerFilterWhatsOn']?.[localVarOperationServerIndex]?.url;
|
|
23304
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
23305
|
+
},
|
|
23306
|
+
/**
|
|
23307
|
+
*
|
|
23308
|
+
* @param {WhatsOnFindDTO} whatsOnFindDTO
|
|
23309
|
+
* @param {*} [options] Override http request option.
|
|
23310
|
+
* @throws {RequiredError}
|
|
23311
|
+
*/
|
|
23312
|
+
async whatsOnControllerFindCategoryBaseWhatsOn(whatsOnFindDTO: WhatsOnFindDTO, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WhatsOnResponseDTO>> {
|
|
23313
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.whatsOnControllerFindCategoryBaseWhatsOn(whatsOnFindDTO, options);
|
|
23314
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
23315
|
+
const localVarOperationServerBasePath = operationServerMap['WhatsOnApi.whatsOnControllerFindCategoryBaseWhatsOn']?.[localVarOperationServerIndex]?.url;
|
|
23316
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
23317
|
+
},
|
|
22959
23318
|
/**
|
|
22960
23319
|
*
|
|
22961
23320
|
* @param {string} id
|
|
@@ -22972,15 +23331,30 @@ export const WhatsOnApiFp = function(configuration?: Configuration) {
|
|
|
22972
23331
|
*
|
|
22973
23332
|
* @param {number} page
|
|
22974
23333
|
* @param {number} limit
|
|
23334
|
+
* @param {string} [category]
|
|
22975
23335
|
* @param {*} [options] Override http request option.
|
|
22976
23336
|
* @throws {RequiredError}
|
|
22977
23337
|
*/
|
|
22978
|
-
async whatsOnControllerFindFavoriteWhatsOnList(page: number, limit: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WhatsOnFavoriteListResponseDTO>> {
|
|
22979
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.whatsOnControllerFindFavoriteWhatsOnList(page, limit, options);
|
|
23338
|
+
async whatsOnControllerFindFavoriteWhatsOnList(page: number, limit: number, category?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WhatsOnFavoriteListResponseDTO>> {
|
|
23339
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.whatsOnControllerFindFavoriteWhatsOnList(page, limit, category, options);
|
|
22980
23340
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
22981
23341
|
const localVarOperationServerBasePath = operationServerMap['WhatsOnApi.whatsOnControllerFindFavoriteWhatsOnList']?.[localVarOperationServerIndex]?.url;
|
|
22982
23342
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
22983
23343
|
},
|
|
23344
|
+
/**
|
|
23345
|
+
*
|
|
23346
|
+
* @param {number} page
|
|
23347
|
+
* @param {number} limit
|
|
23348
|
+
* @param {string} [category]
|
|
23349
|
+
* @param {*} [options] Override http request option.
|
|
23350
|
+
* @throws {RequiredError}
|
|
23351
|
+
*/
|
|
23352
|
+
async whatsOnControllerFindMyFavoriteWhatsOnList(page: number, limit: number, category?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WhatsOnFavoriteListResponseDTO>> {
|
|
23353
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.whatsOnControllerFindMyFavoriteWhatsOnList(page, limit, category, options);
|
|
23354
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
23355
|
+
const localVarOperationServerBasePath = operationServerMap['WhatsOnApi.whatsOnControllerFindMyFavoriteWhatsOnList']?.[localVarOperationServerIndex]?.url;
|
|
23356
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
23357
|
+
},
|
|
22984
23358
|
/**
|
|
22985
23359
|
*
|
|
22986
23360
|
* @param {WhatsOnFindDTO} whatsOnFindDTO
|
|
@@ -23042,11 +23416,12 @@ export const WhatsOnApiFp = function(configuration?: Configuration) {
|
|
|
23042
23416
|
},
|
|
23043
23417
|
/**
|
|
23044
23418
|
*
|
|
23419
|
+
* @param {string} [businessType]
|
|
23045
23420
|
* @param {*} [options] Override http request option.
|
|
23046
23421
|
* @throws {RequiredError}
|
|
23047
23422
|
*/
|
|
23048
|
-
async whatsOnControllerSponsored(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WhatsOnResponseDTO>> {
|
|
23049
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.whatsOnControllerSponsored(options);
|
|
23423
|
+
async whatsOnControllerSponsored(businessType?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WhatsOnResponseDTO>> {
|
|
23424
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.whatsOnControllerSponsored(businessType, options);
|
|
23050
23425
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
23051
23426
|
const localVarOperationServerBasePath = operationServerMap['WhatsOnApi.whatsOnControllerSponsored']?.[localVarOperationServerIndex]?.url;
|
|
23052
23427
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -23137,6 +23512,24 @@ export const WhatsOnApiFactory = function (configuration?: Configuration, basePa
|
|
|
23137
23512
|
whatsOnControllerDiscountCodeApply(whatsDiscountCodePayloadDTO: WhatsDiscountCodePayloadDTO, options?: RawAxiosRequestConfig): AxiosPromise<WhatsDiscountCodeResponseDTO> {
|
|
23138
23513
|
return localVarFp.whatsOnControllerDiscountCodeApply(whatsDiscountCodePayloadDTO, options).then((request) => request(axios, basePath));
|
|
23139
23514
|
},
|
|
23515
|
+
/**
|
|
23516
|
+
*
|
|
23517
|
+
* @param {WhatsOnFilterDTO} whatsOnFilterDTO
|
|
23518
|
+
* @param {*} [options] Override http request option.
|
|
23519
|
+
* @throws {RequiredError}
|
|
23520
|
+
*/
|
|
23521
|
+
whatsOnControllerFilterWhatsOn(whatsOnFilterDTO: WhatsOnFilterDTO, options?: RawAxiosRequestConfig): AxiosPromise<WhatsOnResponseDTO> {
|
|
23522
|
+
return localVarFp.whatsOnControllerFilterWhatsOn(whatsOnFilterDTO, options).then((request) => request(axios, basePath));
|
|
23523
|
+
},
|
|
23524
|
+
/**
|
|
23525
|
+
*
|
|
23526
|
+
* @param {WhatsOnFindDTO} whatsOnFindDTO
|
|
23527
|
+
* @param {*} [options] Override http request option.
|
|
23528
|
+
* @throws {RequiredError}
|
|
23529
|
+
*/
|
|
23530
|
+
whatsOnControllerFindCategoryBaseWhatsOn(whatsOnFindDTO: WhatsOnFindDTO, options?: RawAxiosRequestConfig): AxiosPromise<WhatsOnResponseDTO> {
|
|
23531
|
+
return localVarFp.whatsOnControllerFindCategoryBaseWhatsOn(whatsOnFindDTO, options).then((request) => request(axios, basePath));
|
|
23532
|
+
},
|
|
23140
23533
|
/**
|
|
23141
23534
|
*
|
|
23142
23535
|
* @param {string} id
|
|
@@ -23150,11 +23543,23 @@ export const WhatsOnApiFactory = function (configuration?: Configuration, basePa
|
|
|
23150
23543
|
*
|
|
23151
23544
|
* @param {number} page
|
|
23152
23545
|
* @param {number} limit
|
|
23546
|
+
* @param {string} [category]
|
|
23153
23547
|
* @param {*} [options] Override http request option.
|
|
23154
23548
|
* @throws {RequiredError}
|
|
23155
23549
|
*/
|
|
23156
|
-
whatsOnControllerFindFavoriteWhatsOnList(page: number, limit: number, options?: RawAxiosRequestConfig): AxiosPromise<WhatsOnFavoriteListResponseDTO> {
|
|
23157
|
-
return localVarFp.whatsOnControllerFindFavoriteWhatsOnList(page, limit, options).then((request) => request(axios, basePath));
|
|
23550
|
+
whatsOnControllerFindFavoriteWhatsOnList(page: number, limit: number, category?: string, options?: RawAxiosRequestConfig): AxiosPromise<WhatsOnFavoriteListResponseDTO> {
|
|
23551
|
+
return localVarFp.whatsOnControllerFindFavoriteWhatsOnList(page, limit, category, options).then((request) => request(axios, basePath));
|
|
23552
|
+
},
|
|
23553
|
+
/**
|
|
23554
|
+
*
|
|
23555
|
+
* @param {number} page
|
|
23556
|
+
* @param {number} limit
|
|
23557
|
+
* @param {string} [category]
|
|
23558
|
+
* @param {*} [options] Override http request option.
|
|
23559
|
+
* @throws {RequiredError}
|
|
23560
|
+
*/
|
|
23561
|
+
whatsOnControllerFindMyFavoriteWhatsOnList(page: number, limit: number, category?: string, options?: RawAxiosRequestConfig): AxiosPromise<WhatsOnFavoriteListResponseDTO> {
|
|
23562
|
+
return localVarFp.whatsOnControllerFindMyFavoriteWhatsOnList(page, limit, category, options).then((request) => request(axios, basePath));
|
|
23158
23563
|
},
|
|
23159
23564
|
/**
|
|
23160
23565
|
*
|
|
@@ -23202,11 +23607,12 @@ export const WhatsOnApiFactory = function (configuration?: Configuration, basePa
|
|
|
23202
23607
|
},
|
|
23203
23608
|
/**
|
|
23204
23609
|
*
|
|
23610
|
+
* @param {string} [businessType]
|
|
23205
23611
|
* @param {*} [options] Override http request option.
|
|
23206
23612
|
* @throws {RequiredError}
|
|
23207
23613
|
*/
|
|
23208
|
-
whatsOnControllerSponsored(options?: RawAxiosRequestConfig): AxiosPromise<WhatsOnResponseDTO> {
|
|
23209
|
-
return localVarFp.whatsOnControllerSponsored(options).then((request) => request(axios, basePath));
|
|
23614
|
+
whatsOnControllerSponsored(businessType?: string, options?: RawAxiosRequestConfig): AxiosPromise<WhatsOnResponseDTO> {
|
|
23615
|
+
return localVarFp.whatsOnControllerSponsored(businessType, options).then((request) => request(axios, basePath));
|
|
23210
23616
|
},
|
|
23211
23617
|
/**
|
|
23212
23618
|
*
|
|
@@ -23288,6 +23694,28 @@ export class WhatsOnApi extends BaseAPI {
|
|
|
23288
23694
|
return WhatsOnApiFp(this.configuration).whatsOnControllerDiscountCodeApply(whatsDiscountCodePayloadDTO, options).then((request) => request(this.axios, this.basePath));
|
|
23289
23695
|
}
|
|
23290
23696
|
|
|
23697
|
+
/**
|
|
23698
|
+
*
|
|
23699
|
+
* @param {WhatsOnFilterDTO} whatsOnFilterDTO
|
|
23700
|
+
* @param {*} [options] Override http request option.
|
|
23701
|
+
* @throws {RequiredError}
|
|
23702
|
+
* @memberof WhatsOnApi
|
|
23703
|
+
*/
|
|
23704
|
+
public whatsOnControllerFilterWhatsOn(whatsOnFilterDTO: WhatsOnFilterDTO, options?: RawAxiosRequestConfig) {
|
|
23705
|
+
return WhatsOnApiFp(this.configuration).whatsOnControllerFilterWhatsOn(whatsOnFilterDTO, options).then((request) => request(this.axios, this.basePath));
|
|
23706
|
+
}
|
|
23707
|
+
|
|
23708
|
+
/**
|
|
23709
|
+
*
|
|
23710
|
+
* @param {WhatsOnFindDTO} whatsOnFindDTO
|
|
23711
|
+
* @param {*} [options] Override http request option.
|
|
23712
|
+
* @throws {RequiredError}
|
|
23713
|
+
* @memberof WhatsOnApi
|
|
23714
|
+
*/
|
|
23715
|
+
public whatsOnControllerFindCategoryBaseWhatsOn(whatsOnFindDTO: WhatsOnFindDTO, options?: RawAxiosRequestConfig) {
|
|
23716
|
+
return WhatsOnApiFp(this.configuration).whatsOnControllerFindCategoryBaseWhatsOn(whatsOnFindDTO, options).then((request) => request(this.axios, this.basePath));
|
|
23717
|
+
}
|
|
23718
|
+
|
|
23291
23719
|
/**
|
|
23292
23720
|
*
|
|
23293
23721
|
* @param {string} id
|
|
@@ -23303,12 +23731,26 @@ export class WhatsOnApi extends BaseAPI {
|
|
|
23303
23731
|
*
|
|
23304
23732
|
* @param {number} page
|
|
23305
23733
|
* @param {number} limit
|
|
23734
|
+
* @param {string} [category]
|
|
23735
|
+
* @param {*} [options] Override http request option.
|
|
23736
|
+
* @throws {RequiredError}
|
|
23737
|
+
* @memberof WhatsOnApi
|
|
23738
|
+
*/
|
|
23739
|
+
public whatsOnControllerFindFavoriteWhatsOnList(page: number, limit: number, category?: string, options?: RawAxiosRequestConfig) {
|
|
23740
|
+
return WhatsOnApiFp(this.configuration).whatsOnControllerFindFavoriteWhatsOnList(page, limit, category, options).then((request) => request(this.axios, this.basePath));
|
|
23741
|
+
}
|
|
23742
|
+
|
|
23743
|
+
/**
|
|
23744
|
+
*
|
|
23745
|
+
* @param {number} page
|
|
23746
|
+
* @param {number} limit
|
|
23747
|
+
* @param {string} [category]
|
|
23306
23748
|
* @param {*} [options] Override http request option.
|
|
23307
23749
|
* @throws {RequiredError}
|
|
23308
23750
|
* @memberof WhatsOnApi
|
|
23309
23751
|
*/
|
|
23310
|
-
public
|
|
23311
|
-
return WhatsOnApiFp(this.configuration).
|
|
23752
|
+
public whatsOnControllerFindMyFavoriteWhatsOnList(page: number, limit: number, category?: string, options?: RawAxiosRequestConfig) {
|
|
23753
|
+
return WhatsOnApiFp(this.configuration).whatsOnControllerFindMyFavoriteWhatsOnList(page, limit, category, options).then((request) => request(this.axios, this.basePath));
|
|
23312
23754
|
}
|
|
23313
23755
|
|
|
23314
23756
|
/**
|
|
@@ -23367,12 +23809,13 @@ export class WhatsOnApi extends BaseAPI {
|
|
|
23367
23809
|
|
|
23368
23810
|
/**
|
|
23369
23811
|
*
|
|
23812
|
+
* @param {string} [businessType]
|
|
23370
23813
|
* @param {*} [options] Override http request option.
|
|
23371
23814
|
* @throws {RequiredError}
|
|
23372
23815
|
* @memberof WhatsOnApi
|
|
23373
23816
|
*/
|
|
23374
|
-
public whatsOnControllerSponsored(options?: RawAxiosRequestConfig) {
|
|
23375
|
-
return WhatsOnApiFp(this.configuration).whatsOnControllerSponsored(options).then((request) => request(this.axios, this.basePath));
|
|
23817
|
+
public whatsOnControllerSponsored(businessType?: string, options?: RawAxiosRequestConfig) {
|
|
23818
|
+
return WhatsOnApiFp(this.configuration).whatsOnControllerSponsored(businessType, options).then((request) => request(this.axios, this.basePath));
|
|
23376
23819
|
}
|
|
23377
23820
|
|
|
23378
23821
|
/**
|
package/docs/AIApi.md
CHANGED
|
@@ -5,6 +5,7 @@ All URIs are relative to *http://localhost:8080*
|
|
|
5
5
|
|Method | HTTP request | Description|
|
|
6
6
|
|------------- | ------------- | -------------|
|
|
7
7
|
|[**assistantControllerAiSuggestionList**](#assistantcontrolleraisuggestionlist) | **GET** /v1/ai/suggestion/list | |
|
|
8
|
+
|[**assistantControllerGenerateCategoriesFeed**](#assistantcontrollergeneratecategoriesfeed) | **GET** /v1/ai/category-feed | |
|
|
8
9
|
|[**assistantControllerGenerateHomeFeed**](#assistantcontrollergeneratehomefeed) | **GET** /v1/ai/home-feed | |
|
|
9
10
|
|[**assistantControllerListAssistants**](#assistantcontrollerlistassistants) | **GET** /v1/assistant/list | |
|
|
10
11
|
|[**assistantControllerMyAssistant**](#assistantcontrollermyassistant) | **GET** /v1/assistant/me | |
|
|
@@ -55,6 +56,62 @@ const { status, data } = await apiInstance.assistantControllerAiSuggestionList(
|
|
|
55
56
|
- **Accept**: application/json
|
|
56
57
|
|
|
57
58
|
|
|
59
|
+
### HTTP response details
|
|
60
|
+
| Status code | Description | Response headers |
|
|
61
|
+
|-------------|-------------|------------------|
|
|
62
|
+
|**200** | | - |
|
|
63
|
+
|
|
64
|
+
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
|
65
|
+
|
|
66
|
+
# **assistantControllerGenerateCategoriesFeed**
|
|
67
|
+
> HomeFeedListResponseDTO assistantControllerGenerateCategoriesFeed()
|
|
68
|
+
|
|
69
|
+
|
|
70
|
+
### Example
|
|
71
|
+
|
|
72
|
+
```typescript
|
|
73
|
+
import {
|
|
74
|
+
AIApi,
|
|
75
|
+
Configuration
|
|
76
|
+
} from './api';
|
|
77
|
+
|
|
78
|
+
const configuration = new Configuration();
|
|
79
|
+
const apiInstance = new AIApi(configuration);
|
|
80
|
+
|
|
81
|
+
let page: number; // (optional) (default to 1)
|
|
82
|
+
let pageSize: number; // (optional) (default to 10)
|
|
83
|
+
let identifier: string; // (optional) (default to undefined)
|
|
84
|
+
|
|
85
|
+
const { status, data } = await apiInstance.assistantControllerGenerateCategoriesFeed(
|
|
86
|
+
page,
|
|
87
|
+
pageSize,
|
|
88
|
+
identifier
|
|
89
|
+
);
|
|
90
|
+
```
|
|
91
|
+
|
|
92
|
+
### Parameters
|
|
93
|
+
|
|
94
|
+
|Name | Type | Description | Notes|
|
|
95
|
+
|------------- | ------------- | ------------- | -------------|
|
|
96
|
+
| **page** | [**number**] | | (optional) defaults to 1|
|
|
97
|
+
| **pageSize** | [**number**] | | (optional) defaults to 10|
|
|
98
|
+
| **identifier** | [**string**] | | (optional) defaults to undefined|
|
|
99
|
+
|
|
100
|
+
|
|
101
|
+
### Return type
|
|
102
|
+
|
|
103
|
+
**HomeFeedListResponseDTO**
|
|
104
|
+
|
|
105
|
+
### Authorization
|
|
106
|
+
|
|
107
|
+
[bearer](../README.md#bearer)
|
|
108
|
+
|
|
109
|
+
### HTTP request headers
|
|
110
|
+
|
|
111
|
+
- **Content-Type**: Not defined
|
|
112
|
+
- **Accept**: application/json
|
|
113
|
+
|
|
114
|
+
|
|
58
115
|
### HTTP response details
|
|
59
116
|
| Status code | Description | Response headers |
|
|
60
117
|
|-------------|-------------|------------------|
|
|
@@ -77,8 +134,8 @@ import {
|
|
|
77
134
|
const configuration = new Configuration();
|
|
78
135
|
const apiInstance = new AIApi(configuration);
|
|
79
136
|
|
|
80
|
-
let page: number; // (optional) (default to
|
|
81
|
-
let pageSize: number; // (optional) (default to
|
|
137
|
+
let page: number; // (optional) (default to 1)
|
|
138
|
+
let pageSize: number; // (optional) (default to 10)
|
|
82
139
|
|
|
83
140
|
const { status, data } = await apiInstance.assistantControllerGenerateHomeFeed(
|
|
84
141
|
page,
|
|
@@ -90,8 +147,8 @@ const { status, data } = await apiInstance.assistantControllerGenerateHomeFeed(
|
|
|
90
147
|
|
|
91
148
|
|Name | Type | Description | Notes|
|
|
92
149
|
|------------- | ------------- | ------------- | -------------|
|
|
93
|
-
| **page** | [**number**] | | (optional) defaults to
|
|
94
|
-
| **pageSize** | [**number**] | | (optional) defaults to
|
|
150
|
+
| **page** | [**number**] | | (optional) defaults to 1|
|
|
151
|
+
| **pageSize** | [**number**] | | (optional) defaults to 10|
|
|
95
152
|
|
|
96
153
|
|
|
97
154
|
### Return type
|
package/docs/BookingApi.md
CHANGED
|
@@ -737,7 +737,7 @@ const { status, data } = await apiInstance.bookingControllerRescheduleBooking(
|
|
|
737
737
|
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
|
738
738
|
|
|
739
739
|
# **bookingControllerTrendingEvents**
|
|
740
|
-
> FindBookingResponseDTO bookingControllerTrendingEvents()
|
|
740
|
+
> FindBookingResponseDTO bookingControllerTrendingEvents(trendingFilterDTO)
|
|
741
741
|
|
|
742
742
|
|
|
743
743
|
### Example
|
|
@@ -745,17 +745,25 @@ const { status, data } = await apiInstance.bookingControllerRescheduleBooking(
|
|
|
745
745
|
```typescript
|
|
746
746
|
import {
|
|
747
747
|
BookingApi,
|
|
748
|
-
Configuration
|
|
748
|
+
Configuration,
|
|
749
|
+
TrendingFilterDTO
|
|
749
750
|
} from './api';
|
|
750
751
|
|
|
751
752
|
const configuration = new Configuration();
|
|
752
753
|
const apiInstance = new BookingApi(configuration);
|
|
753
754
|
|
|
754
|
-
|
|
755
|
+
let trendingFilterDTO: TrendingFilterDTO; //
|
|
756
|
+
|
|
757
|
+
const { status, data } = await apiInstance.bookingControllerTrendingEvents(
|
|
758
|
+
trendingFilterDTO
|
|
759
|
+
);
|
|
755
760
|
```
|
|
756
761
|
|
|
757
762
|
### Parameters
|
|
758
|
-
|
|
763
|
+
|
|
764
|
+
|Name | Type | Description | Notes|
|
|
765
|
+
|------------- | ------------- | ------------- | -------------|
|
|
766
|
+
| **trendingFilterDTO** | **TrendingFilterDTO**| | |
|
|
759
767
|
|
|
760
768
|
|
|
761
769
|
### Return type
|
|
@@ -768,7 +776,7 @@ This endpoint does not have any parameters.
|
|
|
768
776
|
|
|
769
777
|
### HTTP request headers
|
|
770
778
|
|
|
771
|
-
- **Content-Type**:
|
|
779
|
+
- **Content-Type**: application/json
|
|
772
780
|
- **Accept**: application/json
|
|
773
781
|
|
|
774
782
|
|
package/docs/BusinessApi.md
CHANGED
|
@@ -992,11 +992,18 @@ import {
|
|
|
992
992
|
const configuration = new Configuration();
|
|
993
993
|
const apiInstance = new BusinessApi(configuration);
|
|
994
994
|
|
|
995
|
-
|
|
995
|
+
let id: string; //Unique identifier for the category (optional) (default to undefined)
|
|
996
|
+
|
|
997
|
+
const { status, data } = await apiInstance.businessTypeControllerListAllCategories(
|
|
998
|
+
id
|
|
999
|
+
);
|
|
996
1000
|
```
|
|
997
1001
|
|
|
998
1002
|
### Parameters
|
|
999
|
-
|
|
1003
|
+
|
|
1004
|
+
|Name | Type | Description | Notes|
|
|
1005
|
+
|------------- | ------------- | ------------- | -------------|
|
|
1006
|
+
| **id** | [**string**] | Unique identifier for the category | (optional) defaults to undefined|
|
|
1000
1007
|
|
|
1001
1008
|
|
|
1002
1009
|
### Return type
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
Name | Type | Description | Notes
|
|
7
7
|
------------ | ------------- | ------------- | -------------
|
|
8
8
|
**title** | **string** | The title of the booking | [default to 'Default Booking Title']
|
|
9
|
-
**date** | **string** | The start date of the booking | [default to 2025-05-
|
|
9
|
+
**date** | **string** | The start date of the booking | [default to 2025-05-13T20:20:06+05:30]
|
|
10
10
|
**from** | **string** | | [optional] [default to undefined]
|
|
11
11
|
**to** | **string** | | [optional] [default to undefined]
|
|
12
12
|
**venue** | **string** | The venue of the booking | [default to undefined]
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
Name | Type | Description | Notes
|
|
7
7
|
------------ | ------------- | ------------- | -------------
|
|
8
|
-
**date** | **string** | The start date of the booking | [default to 2025-05-
|
|
8
|
+
**date** | **string** | The start date of the booking | [default to 2025-05-13T20:20:06+05:30]
|
|
9
9
|
**from** | **string** | | [optional] [default to undefined]
|
|
10
10
|
**to** | **string** | | [optional] [default to undefined]
|
|
11
11
|
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
# TrendingFilterDTO
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**category** | **string** | | [optional] [default to undefined]
|
|
9
|
+
|
|
10
|
+
## Example
|
|
11
|
+
|
|
12
|
+
```typescript
|
|
13
|
+
import { TrendingFilterDTO } from './api';
|
|
14
|
+
|
|
15
|
+
const instance: TrendingFilterDTO = {
|
|
16
|
+
category,
|
|
17
|
+
};
|
|
18
|
+
```
|
|
19
|
+
|
|
20
|
+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
|
@@ -5,8 +5,8 @@
|
|
|
5
5
|
|
|
6
6
|
Name | Type | Description | Notes
|
|
7
7
|
------------ | ------------- | ------------- | -------------
|
|
8
|
-
**startDate** | **string** | The start date of the waitlist | [default to 2025-05-
|
|
9
|
-
**endDate** | **string** | The end date of the waitlist | [default to 2025-05-
|
|
8
|
+
**startDate** | **string** | The start date of the waitlist | [default to 2025-05-13T20:20:06+05:30]
|
|
9
|
+
**endDate** | **string** | The end date of the waitlist | [default to 2025-05-13T21:20:06+05:30]
|
|
10
10
|
**venue** | **string** | The venue of the waitlist | [default to undefined]
|
|
11
11
|
**business** | **string** | The business associated with the waitlist | [default to undefined]
|
|
12
12
|
**collaborators** | [**Array<CreateWaitlistBookingCollaboratorPayload>**](CreateWaitlistBookingCollaboratorPayload.md) | The list of collaborators associated with the waitlist | [default to undefined]
|
package/docs/WhatsOnApi.md
CHANGED
|
@@ -7,8 +7,11 @@ All URIs are relative to *http://localhost:8080*
|
|
|
7
7
|
|[**whatsOnControllerCreateWhatsOn**](#whatsoncontrollercreatewhatson) | **POST** /v1/whats-on | |
|
|
8
8
|
|[**whatsOnControllerDeleteWhatsOn**](#whatsoncontrollerdeletewhatson) | **PUT** /v1/whats-on/delete/{id} | |
|
|
9
9
|
|[**whatsOnControllerDiscountCodeApply**](#whatsoncontrollerdiscountcodeapply) | **POST** /v1/whats-on/discount | |
|
|
10
|
+
|[**whatsOnControllerFilterWhatsOn**](#whatsoncontrollerfilterwhatson) | **POST** /v1/whats-on/filter/list | |
|
|
11
|
+
|[**whatsOnControllerFindCategoryBaseWhatsOn**](#whatsoncontrollerfindcategorybasewhatson) | **POST** /v1/whats-on/categories/list | |
|
|
10
12
|
|[**whatsOnControllerFindFavoriteWhatOnCount**](#whatsoncontrollerfindfavoritewhatoncount) | **GET** /v1/whats-on/favorite/count/{id} | |
|
|
11
13
|
|[**whatsOnControllerFindFavoriteWhatsOnList**](#whatsoncontrollerfindfavoritewhatsonlist) | **GET** /v1/whats-on/friends/favorite | |
|
|
14
|
+
|[**whatsOnControllerFindMyFavoriteWhatsOnList**](#whatsoncontrollerfindmyfavoritewhatsonlist) | **GET** /v1/whats-on/myfavorite | |
|
|
12
15
|
|[**whatsOnControllerFindWhatsOn**](#whatsoncontrollerfindwhatson) | **POST** /v1/whats-on/list | |
|
|
13
16
|
|[**whatsOnControllerFindWhatsOnById**](#whatsoncontrollerfindwhatsonbyid) | **GET** /v1/whats-on/favorite/{id} | |
|
|
14
17
|
|[**whatsOnControllerGetAllWhatsOn**](#whatsoncontrollergetallwhatson) | **POST** /v1/whats-on/public-list | |
|
|
@@ -165,6 +168,108 @@ const { status, data } = await apiInstance.whatsOnControllerDiscountCodeApply(
|
|
|
165
168
|
- **Accept**: application/json
|
|
166
169
|
|
|
167
170
|
|
|
171
|
+
### HTTP response details
|
|
172
|
+
| Status code | Description | Response headers |
|
|
173
|
+
|-------------|-------------|------------------|
|
|
174
|
+
|**200** | | - |
|
|
175
|
+
|
|
176
|
+
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
|
177
|
+
|
|
178
|
+
# **whatsOnControllerFilterWhatsOn**
|
|
179
|
+
> WhatsOnResponseDTO whatsOnControllerFilterWhatsOn(whatsOnFilterDTO)
|
|
180
|
+
|
|
181
|
+
|
|
182
|
+
### Example
|
|
183
|
+
|
|
184
|
+
```typescript
|
|
185
|
+
import {
|
|
186
|
+
WhatsOnApi,
|
|
187
|
+
Configuration,
|
|
188
|
+
WhatsOnFilterDTO
|
|
189
|
+
} from './api';
|
|
190
|
+
|
|
191
|
+
const configuration = new Configuration();
|
|
192
|
+
const apiInstance = new WhatsOnApi(configuration);
|
|
193
|
+
|
|
194
|
+
let whatsOnFilterDTO: WhatsOnFilterDTO; //
|
|
195
|
+
|
|
196
|
+
const { status, data } = await apiInstance.whatsOnControllerFilterWhatsOn(
|
|
197
|
+
whatsOnFilterDTO
|
|
198
|
+
);
|
|
199
|
+
```
|
|
200
|
+
|
|
201
|
+
### Parameters
|
|
202
|
+
|
|
203
|
+
|Name | Type | Description | Notes|
|
|
204
|
+
|------------- | ------------- | ------------- | -------------|
|
|
205
|
+
| **whatsOnFilterDTO** | **WhatsOnFilterDTO**| | |
|
|
206
|
+
|
|
207
|
+
|
|
208
|
+
### Return type
|
|
209
|
+
|
|
210
|
+
**WhatsOnResponseDTO**
|
|
211
|
+
|
|
212
|
+
### Authorization
|
|
213
|
+
|
|
214
|
+
[bearer](../README.md#bearer)
|
|
215
|
+
|
|
216
|
+
### HTTP request headers
|
|
217
|
+
|
|
218
|
+
- **Content-Type**: application/json
|
|
219
|
+
- **Accept**: application/json
|
|
220
|
+
|
|
221
|
+
|
|
222
|
+
### HTTP response details
|
|
223
|
+
| Status code | Description | Response headers |
|
|
224
|
+
|-------------|-------------|------------------|
|
|
225
|
+
|**200** | | - |
|
|
226
|
+
|
|
227
|
+
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
|
228
|
+
|
|
229
|
+
# **whatsOnControllerFindCategoryBaseWhatsOn**
|
|
230
|
+
> WhatsOnResponseDTO whatsOnControllerFindCategoryBaseWhatsOn(whatsOnFindDTO)
|
|
231
|
+
|
|
232
|
+
|
|
233
|
+
### Example
|
|
234
|
+
|
|
235
|
+
```typescript
|
|
236
|
+
import {
|
|
237
|
+
WhatsOnApi,
|
|
238
|
+
Configuration,
|
|
239
|
+
WhatsOnFindDTO
|
|
240
|
+
} from './api';
|
|
241
|
+
|
|
242
|
+
const configuration = new Configuration();
|
|
243
|
+
const apiInstance = new WhatsOnApi(configuration);
|
|
244
|
+
|
|
245
|
+
let whatsOnFindDTO: WhatsOnFindDTO; //
|
|
246
|
+
|
|
247
|
+
const { status, data } = await apiInstance.whatsOnControllerFindCategoryBaseWhatsOn(
|
|
248
|
+
whatsOnFindDTO
|
|
249
|
+
);
|
|
250
|
+
```
|
|
251
|
+
|
|
252
|
+
### Parameters
|
|
253
|
+
|
|
254
|
+
|Name | Type | Description | Notes|
|
|
255
|
+
|------------- | ------------- | ------------- | -------------|
|
|
256
|
+
| **whatsOnFindDTO** | **WhatsOnFindDTO**| | |
|
|
257
|
+
|
|
258
|
+
|
|
259
|
+
### Return type
|
|
260
|
+
|
|
261
|
+
**WhatsOnResponseDTO**
|
|
262
|
+
|
|
263
|
+
### Authorization
|
|
264
|
+
|
|
265
|
+
[bearer](../README.md#bearer)
|
|
266
|
+
|
|
267
|
+
### HTTP request headers
|
|
268
|
+
|
|
269
|
+
- **Content-Type**: application/json
|
|
270
|
+
- **Accept**: application/json
|
|
271
|
+
|
|
272
|
+
|
|
168
273
|
### HTTP response details
|
|
169
274
|
| Status code | Description | Response headers |
|
|
170
275
|
|-------------|-------------|------------------|
|
|
@@ -239,10 +344,12 @@ const apiInstance = new WhatsOnApi(configuration);
|
|
|
239
344
|
|
|
240
345
|
let page: number; // (default to undefined)
|
|
241
346
|
let limit: number; // (default to undefined)
|
|
347
|
+
let category: string; // (optional) (default to undefined)
|
|
242
348
|
|
|
243
349
|
const { status, data } = await apiInstance.whatsOnControllerFindFavoriteWhatsOnList(
|
|
244
350
|
page,
|
|
245
|
-
limit
|
|
351
|
+
limit,
|
|
352
|
+
category
|
|
246
353
|
);
|
|
247
354
|
```
|
|
248
355
|
|
|
@@ -252,6 +359,63 @@ const { status, data } = await apiInstance.whatsOnControllerFindFavoriteWhatsOnL
|
|
|
252
359
|
|------------- | ------------- | ------------- | -------------|
|
|
253
360
|
| **page** | [**number**] | | defaults to undefined|
|
|
254
361
|
| **limit** | [**number**] | | defaults to undefined|
|
|
362
|
+
| **category** | [**string**] | | (optional) defaults to undefined|
|
|
363
|
+
|
|
364
|
+
|
|
365
|
+
### Return type
|
|
366
|
+
|
|
367
|
+
**WhatsOnFavoriteListResponseDTO**
|
|
368
|
+
|
|
369
|
+
### Authorization
|
|
370
|
+
|
|
371
|
+
[bearer](../README.md#bearer)
|
|
372
|
+
|
|
373
|
+
### HTTP request headers
|
|
374
|
+
|
|
375
|
+
- **Content-Type**: Not defined
|
|
376
|
+
- **Accept**: application/json
|
|
377
|
+
|
|
378
|
+
|
|
379
|
+
### HTTP response details
|
|
380
|
+
| Status code | Description | Response headers |
|
|
381
|
+
|-------------|-------------|------------------|
|
|
382
|
+
|**200** | | - |
|
|
383
|
+
|
|
384
|
+
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
|
385
|
+
|
|
386
|
+
# **whatsOnControllerFindMyFavoriteWhatsOnList**
|
|
387
|
+
> WhatsOnFavoriteListResponseDTO whatsOnControllerFindMyFavoriteWhatsOnList()
|
|
388
|
+
|
|
389
|
+
|
|
390
|
+
### Example
|
|
391
|
+
|
|
392
|
+
```typescript
|
|
393
|
+
import {
|
|
394
|
+
WhatsOnApi,
|
|
395
|
+
Configuration
|
|
396
|
+
} from './api';
|
|
397
|
+
|
|
398
|
+
const configuration = new Configuration();
|
|
399
|
+
const apiInstance = new WhatsOnApi(configuration);
|
|
400
|
+
|
|
401
|
+
let page: number; // (default to undefined)
|
|
402
|
+
let limit: number; // (default to undefined)
|
|
403
|
+
let category: string; // (optional) (default to undefined)
|
|
404
|
+
|
|
405
|
+
const { status, data } = await apiInstance.whatsOnControllerFindMyFavoriteWhatsOnList(
|
|
406
|
+
page,
|
|
407
|
+
limit,
|
|
408
|
+
category
|
|
409
|
+
);
|
|
410
|
+
```
|
|
411
|
+
|
|
412
|
+
### Parameters
|
|
413
|
+
|
|
414
|
+
|Name | Type | Description | Notes|
|
|
415
|
+
|------------- | ------------- | ------------- | -------------|
|
|
416
|
+
| **page** | [**number**] | | defaults to undefined|
|
|
417
|
+
| **limit** | [**number**] | | defaults to undefined|
|
|
418
|
+
| **category** | [**string**] | | (optional) defaults to undefined|
|
|
255
419
|
|
|
256
420
|
|
|
257
421
|
### Return type
|
|
@@ -537,11 +701,18 @@ import {
|
|
|
537
701
|
const configuration = new Configuration();
|
|
538
702
|
const apiInstance = new WhatsOnApi(configuration);
|
|
539
703
|
|
|
540
|
-
|
|
704
|
+
let businessType: string; // (optional) (default to undefined)
|
|
705
|
+
|
|
706
|
+
const { status, data } = await apiInstance.whatsOnControllerSponsored(
|
|
707
|
+
businessType
|
|
708
|
+
);
|
|
541
709
|
```
|
|
542
710
|
|
|
543
711
|
### Parameters
|
|
544
|
-
|
|
712
|
+
|
|
713
|
+
|Name | Type | Description | Notes|
|
|
714
|
+
|------------- | ------------- | ------------- | -------------|
|
|
715
|
+
| **businessType** | [**string**] | | (optional) defaults to undefined|
|
|
545
716
|
|
|
546
717
|
|
|
547
718
|
### Return type
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
# WhatsOnFilterDTO
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**page** | **number** | | [default to undefined]
|
|
9
|
+
**pageSize** | **number** | | [default to undefined]
|
|
10
|
+
**search** | **string** | | [optional] [default to undefined]
|
|
11
|
+
**category** | **Array<string>** | | [optional] [default to undefined]
|
|
12
|
+
**type** | **string** | | [optional] [default to undefined]
|
|
13
|
+
**date** | **string** | Start date for the events | [default to undefined]
|
|
14
|
+
**from** | **string** | | [optional] [default to undefined]
|
|
15
|
+
**to** | **string** | | [optional] [default to undefined]
|
|
16
|
+
**distance** | **number** | | [optional] [default to undefined]
|
|
17
|
+
**minPrice** | **number** | Minimum price filter | [optional] [default to undefined]
|
|
18
|
+
**maxPrice** | **number** | Maximum price filter | [optional] [default to undefined]
|
|
19
|
+
|
|
20
|
+
## Example
|
|
21
|
+
|
|
22
|
+
```typescript
|
|
23
|
+
import { WhatsOnFilterDTO } from './api';
|
|
24
|
+
|
|
25
|
+
const instance: WhatsOnFilterDTO = {
|
|
26
|
+
page,
|
|
27
|
+
pageSize,
|
|
28
|
+
search,
|
|
29
|
+
category,
|
|
30
|
+
type,
|
|
31
|
+
date,
|
|
32
|
+
from,
|
|
33
|
+
to,
|
|
34
|
+
distance,
|
|
35
|
+
minPrice,
|
|
36
|
+
maxPrice,
|
|
37
|
+
};
|
|
38
|
+
```
|
|
39
|
+
|
|
40
|
+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
package/docs/WhatsOnFindDTO.md
CHANGED
|
@@ -9,6 +9,7 @@ Name | Type | Description | Notes
|
|
|
9
9
|
**pageSize** | **number** | | [default to undefined]
|
|
10
10
|
**search** | **string** | | [optional] [default to undefined]
|
|
11
11
|
**venue** | **string** | | [optional] [default to undefined]
|
|
12
|
+
**businessType** | **string** | | [optional] [default to undefined]
|
|
12
13
|
|
|
13
14
|
## Example
|
|
14
15
|
|
|
@@ -20,6 +21,7 @@ const instance: WhatsOnFindDTO = {
|
|
|
20
21
|
pageSize,
|
|
21
22
|
search,
|
|
22
23
|
venue,
|
|
24
|
+
businessType,
|
|
23
25
|
};
|
|
24
26
|
```
|
|
25
27
|
|