@gooday_corp/gooday-api-client 1.2.67 → 1.2.68
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 +573 -19
- package/package.json +1 -1
package/api.ts
CHANGED
|
@@ -494,6 +494,18 @@ export interface BlockoutEntity {
|
|
|
494
494
|
* @memberof BlockoutEntity
|
|
495
495
|
*/
|
|
496
496
|
'business': string;
|
|
497
|
+
/**
|
|
498
|
+
* Form
|
|
499
|
+
* @type {string}
|
|
500
|
+
* @memberof BlockoutEntity
|
|
501
|
+
*/
|
|
502
|
+
'from': string;
|
|
503
|
+
/**
|
|
504
|
+
* to
|
|
505
|
+
* @type {string}
|
|
506
|
+
* @memberof BlockoutEntity
|
|
507
|
+
*/
|
|
508
|
+
'to': string;
|
|
497
509
|
}
|
|
498
510
|
|
|
499
511
|
export const BlockoutEntityRepeatEnum = {
|
|
@@ -547,6 +559,18 @@ export interface BlockoutPayloadDTO {
|
|
|
547
559
|
* @memberof BlockoutPayloadDTO
|
|
548
560
|
*/
|
|
549
561
|
'venue': Array<string>;
|
|
562
|
+
/**
|
|
563
|
+
* Form
|
|
564
|
+
* @type {string}
|
|
565
|
+
* @memberof BlockoutPayloadDTO
|
|
566
|
+
*/
|
|
567
|
+
'from': string;
|
|
568
|
+
/**
|
|
569
|
+
* to
|
|
570
|
+
* @type {string}
|
|
571
|
+
* @memberof BlockoutPayloadDTO
|
|
572
|
+
*/
|
|
573
|
+
'to': string;
|
|
550
574
|
}
|
|
551
575
|
|
|
552
576
|
export const BlockoutPayloadDTORepeatEnum = {
|
|
@@ -3077,7 +3101,7 @@ export interface Discount {
|
|
|
3077
3101
|
* @type {string}
|
|
3078
3102
|
* @memberof Discount
|
|
3079
3103
|
*/
|
|
3080
|
-
'_id'
|
|
3104
|
+
'_id'?: string;
|
|
3081
3105
|
/**
|
|
3082
3106
|
*
|
|
3083
3107
|
* @type {string}
|
|
@@ -6951,18 +6975,6 @@ export interface WhatsOnEntity {
|
|
|
6951
6975
|
* @memberof WhatsOnEntity
|
|
6952
6976
|
*/
|
|
6953
6977
|
'title': string;
|
|
6954
|
-
/**
|
|
6955
|
-
* Start date for the events
|
|
6956
|
-
* @type {string}
|
|
6957
|
-
* @memberof WhatsOnEntity
|
|
6958
|
-
*/
|
|
6959
|
-
'startDate': string;
|
|
6960
|
-
/**
|
|
6961
|
-
* End date for the events
|
|
6962
|
-
* @type {string}
|
|
6963
|
-
* @memberof WhatsOnEntity
|
|
6964
|
-
*/
|
|
6965
|
-
'endDate': string;
|
|
6966
6978
|
/**
|
|
6967
6979
|
*
|
|
6968
6980
|
* @type {Array<string>}
|
|
@@ -7031,10 +7043,10 @@ export interface WhatsOnEntity {
|
|
|
7031
7043
|
'cancellationHours': string;
|
|
7032
7044
|
/**
|
|
7033
7045
|
*
|
|
7034
|
-
* @type {
|
|
7046
|
+
* @type {WhatsOnLocationDTO}
|
|
7035
7047
|
* @memberof WhatsOnEntity
|
|
7036
7048
|
*/
|
|
7037
|
-
'location'
|
|
7049
|
+
'location'?: WhatsOnLocationDTO;
|
|
7038
7050
|
/**
|
|
7039
7051
|
*
|
|
7040
7052
|
* @type {number}
|
|
@@ -7054,6 +7066,114 @@ export interface WhatsOnEntity {
|
|
|
7054
7066
|
*/
|
|
7055
7067
|
'discount': Array<string>;
|
|
7056
7068
|
}
|
|
7069
|
+
/**
|
|
7070
|
+
*
|
|
7071
|
+
* @export
|
|
7072
|
+
* @interface WhatsOnFavoriteCount
|
|
7073
|
+
*/
|
|
7074
|
+
export interface WhatsOnFavoriteCount {
|
|
7075
|
+
/**
|
|
7076
|
+
*
|
|
7077
|
+
* @type {number}
|
|
7078
|
+
* @memberof WhatsOnFavoriteCount
|
|
7079
|
+
*/
|
|
7080
|
+
'whatsOnFavorite': number;
|
|
7081
|
+
/**
|
|
7082
|
+
*
|
|
7083
|
+
* @type {number}
|
|
7084
|
+
* @memberof WhatsOnFavoriteCount
|
|
7085
|
+
*/
|
|
7086
|
+
'whatsOnFavoriteByFriend': number;
|
|
7087
|
+
}
|
|
7088
|
+
/**
|
|
7089
|
+
*
|
|
7090
|
+
* @export
|
|
7091
|
+
* @interface WhatsOnFavoriteCountResponseDTO
|
|
7092
|
+
*/
|
|
7093
|
+
export interface WhatsOnFavoriteCountResponseDTO {
|
|
7094
|
+
/**
|
|
7095
|
+
* statusCode
|
|
7096
|
+
* @type {number}
|
|
7097
|
+
* @memberof WhatsOnFavoriteCountResponseDTO
|
|
7098
|
+
*/
|
|
7099
|
+
'statusCode': number;
|
|
7100
|
+
/**
|
|
7101
|
+
*
|
|
7102
|
+
* @type {WhatsOnFavoriteCount}
|
|
7103
|
+
* @memberof WhatsOnFavoriteCountResponseDTO
|
|
7104
|
+
*/
|
|
7105
|
+
'data': WhatsOnFavoriteCount;
|
|
7106
|
+
}
|
|
7107
|
+
/**
|
|
7108
|
+
*
|
|
7109
|
+
* @export
|
|
7110
|
+
* @interface WhatsOnFavoriteDTO
|
|
7111
|
+
*/
|
|
7112
|
+
export interface WhatsOnFavoriteDTO {
|
|
7113
|
+
/**
|
|
7114
|
+
* WhatsOn Venue Id
|
|
7115
|
+
* @type {string}
|
|
7116
|
+
* @memberof WhatsOnFavoriteDTO
|
|
7117
|
+
*/
|
|
7118
|
+
'whatsOn': string;
|
|
7119
|
+
}
|
|
7120
|
+
/**
|
|
7121
|
+
*
|
|
7122
|
+
* @export
|
|
7123
|
+
* @interface WhatsOnFavoriteListResponseDTO
|
|
7124
|
+
*/
|
|
7125
|
+
export interface WhatsOnFavoriteListResponseDTO {
|
|
7126
|
+
/**
|
|
7127
|
+
* statusCode
|
|
7128
|
+
* @type {number}
|
|
7129
|
+
* @memberof WhatsOnFavoriteListResponseDTO
|
|
7130
|
+
*/
|
|
7131
|
+
'statusCode': number;
|
|
7132
|
+
/**
|
|
7133
|
+
*
|
|
7134
|
+
* @type {Array<WhatsOnEntity>}
|
|
7135
|
+
* @memberof WhatsOnFavoriteListResponseDTO
|
|
7136
|
+
*/
|
|
7137
|
+
'data': Array<WhatsOnEntity>;
|
|
7138
|
+
}
|
|
7139
|
+
/**
|
|
7140
|
+
*
|
|
7141
|
+
* @export
|
|
7142
|
+
* @interface WhatsOnFavoriteResponse
|
|
7143
|
+
*/
|
|
7144
|
+
export interface WhatsOnFavoriteResponse {
|
|
7145
|
+
/**
|
|
7146
|
+
* statusCode
|
|
7147
|
+
* @type {number}
|
|
7148
|
+
* @memberof WhatsOnFavoriteResponse
|
|
7149
|
+
*/
|
|
7150
|
+
'statusCode': number;
|
|
7151
|
+
/**
|
|
7152
|
+
* WhatsOn Favorite
|
|
7153
|
+
* @type {WhatsOnEntity}
|
|
7154
|
+
* @memberof WhatsOnFavoriteResponse
|
|
7155
|
+
*/
|
|
7156
|
+
'data': WhatsOnEntity;
|
|
7157
|
+
}
|
|
7158
|
+
/**
|
|
7159
|
+
*
|
|
7160
|
+
* @export
|
|
7161
|
+
* @interface WhatsOnFavoriteResponseDTO
|
|
7162
|
+
*/
|
|
7163
|
+
export interface WhatsOnFavoriteResponseDTO {
|
|
7164
|
+
/**
|
|
7165
|
+
* statusCode
|
|
7166
|
+
* @type {number}
|
|
7167
|
+
* @memberof WhatsOnFavoriteResponseDTO
|
|
7168
|
+
*/
|
|
7169
|
+
'statusCode': number;
|
|
7170
|
+
/**
|
|
7171
|
+
* WhatsOn Favorite
|
|
7172
|
+
* @type {WhatsOnEntity}
|
|
7173
|
+
* @memberof WhatsOnFavoriteResponseDTO
|
|
7174
|
+
*/
|
|
7175
|
+
'data': WhatsOnEntity;
|
|
7176
|
+
}
|
|
7057
7177
|
/**
|
|
7058
7178
|
*
|
|
7059
7179
|
* @export
|
|
@@ -7085,6 +7205,63 @@ export interface WhatsOnFindDTO {
|
|
|
7085
7205
|
*/
|
|
7086
7206
|
'venue'?: string;
|
|
7087
7207
|
}
|
|
7208
|
+
/**
|
|
7209
|
+
*
|
|
7210
|
+
* @export
|
|
7211
|
+
* @interface WhatsOnLocationDTO
|
|
7212
|
+
*/
|
|
7213
|
+
export interface WhatsOnLocationDTO {
|
|
7214
|
+
/**
|
|
7215
|
+
*
|
|
7216
|
+
* @type {string}
|
|
7217
|
+
* @memberof WhatsOnLocationDTO
|
|
7218
|
+
*/
|
|
7219
|
+
'type': WhatsOnLocationDTOTypeEnum;
|
|
7220
|
+
/**
|
|
7221
|
+
*
|
|
7222
|
+
* @type {Array<number>}
|
|
7223
|
+
* @memberof WhatsOnLocationDTO
|
|
7224
|
+
*/
|
|
7225
|
+
'coordinates': Array<number>;
|
|
7226
|
+
/**
|
|
7227
|
+
* Optional distance from a reference point.
|
|
7228
|
+
* @type {string}
|
|
7229
|
+
* @memberof WhatsOnLocationDTO
|
|
7230
|
+
*/
|
|
7231
|
+
'distance'?: string;
|
|
7232
|
+
/**
|
|
7233
|
+
* Meta information about the location.
|
|
7234
|
+
* @type {WhatsOnLocationMetaDTO}
|
|
7235
|
+
* @memberof WhatsOnLocationDTO
|
|
7236
|
+
*/
|
|
7237
|
+
'meta': WhatsOnLocationMetaDTO;
|
|
7238
|
+
}
|
|
7239
|
+
|
|
7240
|
+
export const WhatsOnLocationDTOTypeEnum = {
|
|
7241
|
+
Point: 'Point'
|
|
7242
|
+
} as const;
|
|
7243
|
+
|
|
7244
|
+
export type WhatsOnLocationDTOTypeEnum = typeof WhatsOnLocationDTOTypeEnum[keyof typeof WhatsOnLocationDTOTypeEnum];
|
|
7245
|
+
|
|
7246
|
+
/**
|
|
7247
|
+
*
|
|
7248
|
+
* @export
|
|
7249
|
+
* @interface WhatsOnLocationMetaDTO
|
|
7250
|
+
*/
|
|
7251
|
+
export interface WhatsOnLocationMetaDTO {
|
|
7252
|
+
/**
|
|
7253
|
+
*
|
|
7254
|
+
* @type {string}
|
|
7255
|
+
* @memberof WhatsOnLocationMetaDTO
|
|
7256
|
+
*/
|
|
7257
|
+
'formattedAddress'?: string;
|
|
7258
|
+
/**
|
|
7259
|
+
*
|
|
7260
|
+
* @type {string}
|
|
7261
|
+
* @memberof WhatsOnLocationMetaDTO
|
|
7262
|
+
*/
|
|
7263
|
+
'shortFormattedAddress': string;
|
|
7264
|
+
}
|
|
7088
7265
|
/**
|
|
7089
7266
|
*
|
|
7090
7267
|
* @export
|
|
@@ -7165,22 +7342,22 @@ export interface WhatsOnPayloadDTO {
|
|
|
7165
7342
|
'cancellationHours': string;
|
|
7166
7343
|
/**
|
|
7167
7344
|
*
|
|
7168
|
-
* @type {
|
|
7345
|
+
* @type {WhatsOnLocationDTO}
|
|
7169
7346
|
* @memberof WhatsOnPayloadDTO
|
|
7170
7347
|
*/
|
|
7171
|
-
'location'
|
|
7348
|
+
'location'?: WhatsOnLocationDTO;
|
|
7172
7349
|
/**
|
|
7173
7350
|
*
|
|
7174
7351
|
* @type {Repeat}
|
|
7175
7352
|
* @memberof WhatsOnPayloadDTO
|
|
7176
7353
|
*/
|
|
7177
|
-
'repeat'
|
|
7354
|
+
'repeat'?: Repeat;
|
|
7178
7355
|
/**
|
|
7179
7356
|
*
|
|
7180
7357
|
* @type {Array<Discount>}
|
|
7181
7358
|
* @memberof WhatsOnPayloadDTO
|
|
7182
7359
|
*/
|
|
7183
|
-
'discounts'
|
|
7360
|
+
'discounts'?: Array<Discount>;
|
|
7184
7361
|
}
|
|
7185
7362
|
/**
|
|
7186
7363
|
*
|
|
@@ -7201,6 +7378,25 @@ export interface WhatsOnResponseDTO {
|
|
|
7201
7378
|
*/
|
|
7202
7379
|
'statusCode': number;
|
|
7203
7380
|
}
|
|
7381
|
+
/**
|
|
7382
|
+
*
|
|
7383
|
+
* @export
|
|
7384
|
+
* @interface WhatsOnUnFavoriteResponse
|
|
7385
|
+
*/
|
|
7386
|
+
export interface WhatsOnUnFavoriteResponse {
|
|
7387
|
+
/**
|
|
7388
|
+
* statusCode
|
|
7389
|
+
* @type {number}
|
|
7390
|
+
* @memberof WhatsOnUnFavoriteResponse
|
|
7391
|
+
*/
|
|
7392
|
+
'statusCode': number;
|
|
7393
|
+
/**
|
|
7394
|
+
* WhatsOn Favorite Rule
|
|
7395
|
+
* @type {string}
|
|
7396
|
+
* @memberof WhatsOnUnFavoriteResponse
|
|
7397
|
+
*/
|
|
7398
|
+
'message': string;
|
|
7399
|
+
}
|
|
7204
7400
|
|
|
7205
7401
|
/**
|
|
7206
7402
|
* AIApi - axios parameter creator
|
|
@@ -18557,6 +18753,123 @@ export const WhatsOnApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
18557
18753
|
|
|
18558
18754
|
|
|
18559
18755
|
|
|
18756
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
18757
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
18758
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
18759
|
+
|
|
18760
|
+
return {
|
|
18761
|
+
url: toPathString(localVarUrlObj),
|
|
18762
|
+
options: localVarRequestOptions,
|
|
18763
|
+
};
|
|
18764
|
+
},
|
|
18765
|
+
/**
|
|
18766
|
+
*
|
|
18767
|
+
* @param {string} id
|
|
18768
|
+
* @param {*} [options] Override http request option.
|
|
18769
|
+
* @throws {RequiredError}
|
|
18770
|
+
*/
|
|
18771
|
+
whatsOnControllerFindFavoriteBusinessVenue: async (id: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
18772
|
+
// verify required parameter 'id' is not null or undefined
|
|
18773
|
+
assertParamExists('whatsOnControllerFindFavoriteBusinessVenue', 'id', id)
|
|
18774
|
+
const localVarPath = `/v1/whats-on/favorite/{id}`
|
|
18775
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
18776
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
18777
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
18778
|
+
let baseOptions;
|
|
18779
|
+
if (configuration) {
|
|
18780
|
+
baseOptions = configuration.baseOptions;
|
|
18781
|
+
}
|
|
18782
|
+
|
|
18783
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
18784
|
+
const localVarHeaderParameter = {} as any;
|
|
18785
|
+
const localVarQueryParameter = {} as any;
|
|
18786
|
+
|
|
18787
|
+
// authentication bearer required
|
|
18788
|
+
// http bearer authentication required
|
|
18789
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
18790
|
+
|
|
18791
|
+
|
|
18792
|
+
|
|
18793
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
18794
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
18795
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
18796
|
+
|
|
18797
|
+
return {
|
|
18798
|
+
url: toPathString(localVarUrlObj),
|
|
18799
|
+
options: localVarRequestOptions,
|
|
18800
|
+
};
|
|
18801
|
+
},
|
|
18802
|
+
/**
|
|
18803
|
+
*
|
|
18804
|
+
* @param {string} id
|
|
18805
|
+
* @param {*} [options] Override http request option.
|
|
18806
|
+
* @throws {RequiredError}
|
|
18807
|
+
*/
|
|
18808
|
+
whatsOnControllerFindFavoriteWhatOnCount: async (id: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
18809
|
+
// verify required parameter 'id' is not null or undefined
|
|
18810
|
+
assertParamExists('whatsOnControllerFindFavoriteWhatOnCount', 'id', id)
|
|
18811
|
+
const localVarPath = `/v1/whats-on/favorite/count/{id}`
|
|
18812
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
18813
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
18814
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
18815
|
+
let baseOptions;
|
|
18816
|
+
if (configuration) {
|
|
18817
|
+
baseOptions = configuration.baseOptions;
|
|
18818
|
+
}
|
|
18819
|
+
|
|
18820
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
18821
|
+
const localVarHeaderParameter = {} as any;
|
|
18822
|
+
const localVarQueryParameter = {} as any;
|
|
18823
|
+
|
|
18824
|
+
// authentication bearer required
|
|
18825
|
+
// http bearer authentication required
|
|
18826
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
18827
|
+
|
|
18828
|
+
|
|
18829
|
+
|
|
18830
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
18831
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
18832
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
18833
|
+
|
|
18834
|
+
return {
|
|
18835
|
+
url: toPathString(localVarUrlObj),
|
|
18836
|
+
options: localVarRequestOptions,
|
|
18837
|
+
};
|
|
18838
|
+
},
|
|
18839
|
+
/**
|
|
18840
|
+
*
|
|
18841
|
+
* @param {number} [page] Page number for pagination
|
|
18842
|
+
* @param {number} [limit] Number of items per page for pagination
|
|
18843
|
+
* @param {*} [options] Override http request option.
|
|
18844
|
+
* @throws {RequiredError}
|
|
18845
|
+
*/
|
|
18846
|
+
whatsOnControllerFindFriendsFavoriteBusinessVenueList: async (page?: number, limit?: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
18847
|
+
const localVarPath = `/v1/whats-on/friends/favorite`;
|
|
18848
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
18849
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
18850
|
+
let baseOptions;
|
|
18851
|
+
if (configuration) {
|
|
18852
|
+
baseOptions = configuration.baseOptions;
|
|
18853
|
+
}
|
|
18854
|
+
|
|
18855
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
18856
|
+
const localVarHeaderParameter = {} as any;
|
|
18857
|
+
const localVarQueryParameter = {} as any;
|
|
18858
|
+
|
|
18859
|
+
// authentication bearer required
|
|
18860
|
+
// http bearer authentication required
|
|
18861
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
18862
|
+
|
|
18863
|
+
if (page !== undefined) {
|
|
18864
|
+
localVarQueryParameter['page'] = page;
|
|
18865
|
+
}
|
|
18866
|
+
|
|
18867
|
+
if (limit !== undefined) {
|
|
18868
|
+
localVarQueryParameter['limit'] = limit;
|
|
18869
|
+
}
|
|
18870
|
+
|
|
18871
|
+
|
|
18872
|
+
|
|
18560
18873
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
18561
18874
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
18562
18875
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -18605,6 +18918,84 @@ export const WhatsOnApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
18605
18918
|
options: localVarRequestOptions,
|
|
18606
18919
|
};
|
|
18607
18920
|
},
|
|
18921
|
+
/**
|
|
18922
|
+
*
|
|
18923
|
+
* @param {WhatsOnFavoriteDTO} whatsOnFavoriteDTO
|
|
18924
|
+
* @param {*} [options] Override http request option.
|
|
18925
|
+
* @throws {RequiredError}
|
|
18926
|
+
*/
|
|
18927
|
+
whatsOnControllerMarkFavoriteWhatsOn: async (whatsOnFavoriteDTO: WhatsOnFavoriteDTO, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
18928
|
+
// verify required parameter 'whatsOnFavoriteDTO' is not null or undefined
|
|
18929
|
+
assertParamExists('whatsOnControllerMarkFavoriteWhatsOn', 'whatsOnFavoriteDTO', whatsOnFavoriteDTO)
|
|
18930
|
+
const localVarPath = `/v1/whats-on/favorite`;
|
|
18931
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
18932
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
18933
|
+
let baseOptions;
|
|
18934
|
+
if (configuration) {
|
|
18935
|
+
baseOptions = configuration.baseOptions;
|
|
18936
|
+
}
|
|
18937
|
+
|
|
18938
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
18939
|
+
const localVarHeaderParameter = {} as any;
|
|
18940
|
+
const localVarQueryParameter = {} as any;
|
|
18941
|
+
|
|
18942
|
+
// authentication bearer required
|
|
18943
|
+
// http bearer authentication required
|
|
18944
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
18945
|
+
|
|
18946
|
+
|
|
18947
|
+
|
|
18948
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
18949
|
+
|
|
18950
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
18951
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
18952
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
18953
|
+
localVarRequestOptions.data = serializeDataIfNeeded(whatsOnFavoriteDTO, localVarRequestOptions, configuration)
|
|
18954
|
+
|
|
18955
|
+
return {
|
|
18956
|
+
url: toPathString(localVarUrlObj),
|
|
18957
|
+
options: localVarRequestOptions,
|
|
18958
|
+
};
|
|
18959
|
+
},
|
|
18960
|
+
/**
|
|
18961
|
+
*
|
|
18962
|
+
* @param {WhatsOnFavoriteDTO} whatsOnFavoriteDTO
|
|
18963
|
+
* @param {*} [options] Override http request option.
|
|
18964
|
+
* @throws {RequiredError}
|
|
18965
|
+
*/
|
|
18966
|
+
whatsOnControllerUnfavoriteWhatsOn: async (whatsOnFavoriteDTO: WhatsOnFavoriteDTO, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
18967
|
+
// verify required parameter 'whatsOnFavoriteDTO' is not null or undefined
|
|
18968
|
+
assertParamExists('whatsOnControllerUnfavoriteWhatsOn', 'whatsOnFavoriteDTO', whatsOnFavoriteDTO)
|
|
18969
|
+
const localVarPath = `/v1/whats-on/unfavorite`;
|
|
18970
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
18971
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
18972
|
+
let baseOptions;
|
|
18973
|
+
if (configuration) {
|
|
18974
|
+
baseOptions = configuration.baseOptions;
|
|
18975
|
+
}
|
|
18976
|
+
|
|
18977
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
18978
|
+
const localVarHeaderParameter = {} as any;
|
|
18979
|
+
const localVarQueryParameter = {} as any;
|
|
18980
|
+
|
|
18981
|
+
// authentication bearer required
|
|
18982
|
+
// http bearer authentication required
|
|
18983
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
18984
|
+
|
|
18985
|
+
|
|
18986
|
+
|
|
18987
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
18988
|
+
|
|
18989
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
18990
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
18991
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
18992
|
+
localVarRequestOptions.data = serializeDataIfNeeded(whatsOnFavoriteDTO, localVarRequestOptions, configuration)
|
|
18993
|
+
|
|
18994
|
+
return {
|
|
18995
|
+
url: toPathString(localVarUrlObj),
|
|
18996
|
+
options: localVarRequestOptions,
|
|
18997
|
+
};
|
|
18998
|
+
},
|
|
18608
18999
|
/**
|
|
18609
19000
|
*
|
|
18610
19001
|
* @param {string} id
|
|
@@ -18719,6 +19110,43 @@ export const WhatsOnApiFp = function(configuration?: Configuration) {
|
|
|
18719
19110
|
const localVarOperationServerBasePath = operationServerMap['WhatsOnApi.whatsOnControllerDeleteWhatsOn']?.[localVarOperationServerIndex]?.url;
|
|
18720
19111
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
18721
19112
|
},
|
|
19113
|
+
/**
|
|
19114
|
+
*
|
|
19115
|
+
* @param {string} id
|
|
19116
|
+
* @param {*} [options] Override http request option.
|
|
19117
|
+
* @throws {RequiredError}
|
|
19118
|
+
*/
|
|
19119
|
+
async whatsOnControllerFindFavoriteBusinessVenue(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WhatsOnFavoriteResponseDTO>> {
|
|
19120
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.whatsOnControllerFindFavoriteBusinessVenue(id, options);
|
|
19121
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
19122
|
+
const localVarOperationServerBasePath = operationServerMap['WhatsOnApi.whatsOnControllerFindFavoriteBusinessVenue']?.[localVarOperationServerIndex]?.url;
|
|
19123
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
19124
|
+
},
|
|
19125
|
+
/**
|
|
19126
|
+
*
|
|
19127
|
+
* @param {string} id
|
|
19128
|
+
* @param {*} [options] Override http request option.
|
|
19129
|
+
* @throws {RequiredError}
|
|
19130
|
+
*/
|
|
19131
|
+
async whatsOnControllerFindFavoriteWhatOnCount(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WhatsOnFavoriteCountResponseDTO>> {
|
|
19132
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.whatsOnControllerFindFavoriteWhatOnCount(id, options);
|
|
19133
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
19134
|
+
const localVarOperationServerBasePath = operationServerMap['WhatsOnApi.whatsOnControllerFindFavoriteWhatOnCount']?.[localVarOperationServerIndex]?.url;
|
|
19135
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
19136
|
+
},
|
|
19137
|
+
/**
|
|
19138
|
+
*
|
|
19139
|
+
* @param {number} [page] Page number for pagination
|
|
19140
|
+
* @param {number} [limit] Number of items per page for pagination
|
|
19141
|
+
* @param {*} [options] Override http request option.
|
|
19142
|
+
* @throws {RequiredError}
|
|
19143
|
+
*/
|
|
19144
|
+
async whatsOnControllerFindFriendsFavoriteBusinessVenueList(page?: number, limit?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WhatsOnFavoriteListResponseDTO>> {
|
|
19145
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.whatsOnControllerFindFriendsFavoriteBusinessVenueList(page, limit, options);
|
|
19146
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
19147
|
+
const localVarOperationServerBasePath = operationServerMap['WhatsOnApi.whatsOnControllerFindFriendsFavoriteBusinessVenueList']?.[localVarOperationServerIndex]?.url;
|
|
19148
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
19149
|
+
},
|
|
18722
19150
|
/**
|
|
18723
19151
|
*
|
|
18724
19152
|
* @param {WhatsOnFindDTO} whatsOnFindDTO
|
|
@@ -18731,6 +19159,30 @@ export const WhatsOnApiFp = function(configuration?: Configuration) {
|
|
|
18731
19159
|
const localVarOperationServerBasePath = operationServerMap['WhatsOnApi.whatsOnControllerFindWhatsOn']?.[localVarOperationServerIndex]?.url;
|
|
18732
19160
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
18733
19161
|
},
|
|
19162
|
+
/**
|
|
19163
|
+
*
|
|
19164
|
+
* @param {WhatsOnFavoriteDTO} whatsOnFavoriteDTO
|
|
19165
|
+
* @param {*} [options] Override http request option.
|
|
19166
|
+
* @throws {RequiredError}
|
|
19167
|
+
*/
|
|
19168
|
+
async whatsOnControllerMarkFavoriteWhatsOn(whatsOnFavoriteDTO: WhatsOnFavoriteDTO, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WhatsOnFavoriteResponse>> {
|
|
19169
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.whatsOnControllerMarkFavoriteWhatsOn(whatsOnFavoriteDTO, options);
|
|
19170
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
19171
|
+
const localVarOperationServerBasePath = operationServerMap['WhatsOnApi.whatsOnControllerMarkFavoriteWhatsOn']?.[localVarOperationServerIndex]?.url;
|
|
19172
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
19173
|
+
},
|
|
19174
|
+
/**
|
|
19175
|
+
*
|
|
19176
|
+
* @param {WhatsOnFavoriteDTO} whatsOnFavoriteDTO
|
|
19177
|
+
* @param {*} [options] Override http request option.
|
|
19178
|
+
* @throws {RequiredError}
|
|
19179
|
+
*/
|
|
19180
|
+
async whatsOnControllerUnfavoriteWhatsOn(whatsOnFavoriteDTO: WhatsOnFavoriteDTO, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WhatsOnUnFavoriteResponse>> {
|
|
19181
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.whatsOnControllerUnfavoriteWhatsOn(whatsOnFavoriteDTO, options);
|
|
19182
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
19183
|
+
const localVarOperationServerBasePath = operationServerMap['WhatsOnApi.whatsOnControllerUnfavoriteWhatsOn']?.[localVarOperationServerIndex]?.url;
|
|
19184
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
19185
|
+
},
|
|
18734
19186
|
/**
|
|
18735
19187
|
*
|
|
18736
19188
|
* @param {string} id
|
|
@@ -18784,6 +19236,34 @@ export const WhatsOnApiFactory = function (configuration?: Configuration, basePa
|
|
|
18784
19236
|
whatsOnControllerDeleteWhatsOn(id: string, options?: RawAxiosRequestConfig): AxiosPromise<WhatsOnDeleteResponseDTO> {
|
|
18785
19237
|
return localVarFp.whatsOnControllerDeleteWhatsOn(id, options).then((request) => request(axios, basePath));
|
|
18786
19238
|
},
|
|
19239
|
+
/**
|
|
19240
|
+
*
|
|
19241
|
+
* @param {string} id
|
|
19242
|
+
* @param {*} [options] Override http request option.
|
|
19243
|
+
* @throws {RequiredError}
|
|
19244
|
+
*/
|
|
19245
|
+
whatsOnControllerFindFavoriteBusinessVenue(id: string, options?: RawAxiosRequestConfig): AxiosPromise<WhatsOnFavoriteResponseDTO> {
|
|
19246
|
+
return localVarFp.whatsOnControllerFindFavoriteBusinessVenue(id, options).then((request) => request(axios, basePath));
|
|
19247
|
+
},
|
|
19248
|
+
/**
|
|
19249
|
+
*
|
|
19250
|
+
* @param {string} id
|
|
19251
|
+
* @param {*} [options] Override http request option.
|
|
19252
|
+
* @throws {RequiredError}
|
|
19253
|
+
*/
|
|
19254
|
+
whatsOnControllerFindFavoriteWhatOnCount(id: string, options?: RawAxiosRequestConfig): AxiosPromise<WhatsOnFavoriteCountResponseDTO> {
|
|
19255
|
+
return localVarFp.whatsOnControllerFindFavoriteWhatOnCount(id, options).then((request) => request(axios, basePath));
|
|
19256
|
+
},
|
|
19257
|
+
/**
|
|
19258
|
+
*
|
|
19259
|
+
* @param {number} [page] Page number for pagination
|
|
19260
|
+
* @param {number} [limit] Number of items per page for pagination
|
|
19261
|
+
* @param {*} [options] Override http request option.
|
|
19262
|
+
* @throws {RequiredError}
|
|
19263
|
+
*/
|
|
19264
|
+
whatsOnControllerFindFriendsFavoriteBusinessVenueList(page?: number, limit?: number, options?: RawAxiosRequestConfig): AxiosPromise<WhatsOnFavoriteListResponseDTO> {
|
|
19265
|
+
return localVarFp.whatsOnControllerFindFriendsFavoriteBusinessVenueList(page, limit, options).then((request) => request(axios, basePath));
|
|
19266
|
+
},
|
|
18787
19267
|
/**
|
|
18788
19268
|
*
|
|
18789
19269
|
* @param {WhatsOnFindDTO} whatsOnFindDTO
|
|
@@ -18793,6 +19273,24 @@ export const WhatsOnApiFactory = function (configuration?: Configuration, basePa
|
|
|
18793
19273
|
whatsOnControllerFindWhatsOn(whatsOnFindDTO: WhatsOnFindDTO, options?: RawAxiosRequestConfig): AxiosPromise<WhatsOnResponseDTO> {
|
|
18794
19274
|
return localVarFp.whatsOnControllerFindWhatsOn(whatsOnFindDTO, options).then((request) => request(axios, basePath));
|
|
18795
19275
|
},
|
|
19276
|
+
/**
|
|
19277
|
+
*
|
|
19278
|
+
* @param {WhatsOnFavoriteDTO} whatsOnFavoriteDTO
|
|
19279
|
+
* @param {*} [options] Override http request option.
|
|
19280
|
+
* @throws {RequiredError}
|
|
19281
|
+
*/
|
|
19282
|
+
whatsOnControllerMarkFavoriteWhatsOn(whatsOnFavoriteDTO: WhatsOnFavoriteDTO, options?: RawAxiosRequestConfig): AxiosPromise<WhatsOnFavoriteResponse> {
|
|
19283
|
+
return localVarFp.whatsOnControllerMarkFavoriteWhatsOn(whatsOnFavoriteDTO, options).then((request) => request(axios, basePath));
|
|
19284
|
+
},
|
|
19285
|
+
/**
|
|
19286
|
+
*
|
|
19287
|
+
* @param {WhatsOnFavoriteDTO} whatsOnFavoriteDTO
|
|
19288
|
+
* @param {*} [options] Override http request option.
|
|
19289
|
+
* @throws {RequiredError}
|
|
19290
|
+
*/
|
|
19291
|
+
whatsOnControllerUnfavoriteWhatsOn(whatsOnFavoriteDTO: WhatsOnFavoriteDTO, options?: RawAxiosRequestConfig): AxiosPromise<WhatsOnUnFavoriteResponse> {
|
|
19292
|
+
return localVarFp.whatsOnControllerUnfavoriteWhatsOn(whatsOnFavoriteDTO, options).then((request) => request(axios, basePath));
|
|
19293
|
+
},
|
|
18796
19294
|
/**
|
|
18797
19295
|
*
|
|
18798
19296
|
* @param {string} id
|
|
@@ -18844,6 +19342,40 @@ export class WhatsOnApi extends BaseAPI {
|
|
|
18844
19342
|
return WhatsOnApiFp(this.configuration).whatsOnControllerDeleteWhatsOn(id, options).then((request) => request(this.axios, this.basePath));
|
|
18845
19343
|
}
|
|
18846
19344
|
|
|
19345
|
+
/**
|
|
19346
|
+
*
|
|
19347
|
+
* @param {string} id
|
|
19348
|
+
* @param {*} [options] Override http request option.
|
|
19349
|
+
* @throws {RequiredError}
|
|
19350
|
+
* @memberof WhatsOnApi
|
|
19351
|
+
*/
|
|
19352
|
+
public whatsOnControllerFindFavoriteBusinessVenue(id: string, options?: RawAxiosRequestConfig) {
|
|
19353
|
+
return WhatsOnApiFp(this.configuration).whatsOnControllerFindFavoriteBusinessVenue(id, options).then((request) => request(this.axios, this.basePath));
|
|
19354
|
+
}
|
|
19355
|
+
|
|
19356
|
+
/**
|
|
19357
|
+
*
|
|
19358
|
+
* @param {string} id
|
|
19359
|
+
* @param {*} [options] Override http request option.
|
|
19360
|
+
* @throws {RequiredError}
|
|
19361
|
+
* @memberof WhatsOnApi
|
|
19362
|
+
*/
|
|
19363
|
+
public whatsOnControllerFindFavoriteWhatOnCount(id: string, options?: RawAxiosRequestConfig) {
|
|
19364
|
+
return WhatsOnApiFp(this.configuration).whatsOnControllerFindFavoriteWhatOnCount(id, options).then((request) => request(this.axios, this.basePath));
|
|
19365
|
+
}
|
|
19366
|
+
|
|
19367
|
+
/**
|
|
19368
|
+
*
|
|
19369
|
+
* @param {number} [page] Page number for pagination
|
|
19370
|
+
* @param {number} [limit] Number of items per page for pagination
|
|
19371
|
+
* @param {*} [options] Override http request option.
|
|
19372
|
+
* @throws {RequiredError}
|
|
19373
|
+
* @memberof WhatsOnApi
|
|
19374
|
+
*/
|
|
19375
|
+
public whatsOnControllerFindFriendsFavoriteBusinessVenueList(page?: number, limit?: number, options?: RawAxiosRequestConfig) {
|
|
19376
|
+
return WhatsOnApiFp(this.configuration).whatsOnControllerFindFriendsFavoriteBusinessVenueList(page, limit, options).then((request) => request(this.axios, this.basePath));
|
|
19377
|
+
}
|
|
19378
|
+
|
|
18847
19379
|
/**
|
|
18848
19380
|
*
|
|
18849
19381
|
* @param {WhatsOnFindDTO} whatsOnFindDTO
|
|
@@ -18855,6 +19387,28 @@ export class WhatsOnApi extends BaseAPI {
|
|
|
18855
19387
|
return WhatsOnApiFp(this.configuration).whatsOnControllerFindWhatsOn(whatsOnFindDTO, options).then((request) => request(this.axios, this.basePath));
|
|
18856
19388
|
}
|
|
18857
19389
|
|
|
19390
|
+
/**
|
|
19391
|
+
*
|
|
19392
|
+
* @param {WhatsOnFavoriteDTO} whatsOnFavoriteDTO
|
|
19393
|
+
* @param {*} [options] Override http request option.
|
|
19394
|
+
* @throws {RequiredError}
|
|
19395
|
+
* @memberof WhatsOnApi
|
|
19396
|
+
*/
|
|
19397
|
+
public whatsOnControllerMarkFavoriteWhatsOn(whatsOnFavoriteDTO: WhatsOnFavoriteDTO, options?: RawAxiosRequestConfig) {
|
|
19398
|
+
return WhatsOnApiFp(this.configuration).whatsOnControllerMarkFavoriteWhatsOn(whatsOnFavoriteDTO, options).then((request) => request(this.axios, this.basePath));
|
|
19399
|
+
}
|
|
19400
|
+
|
|
19401
|
+
/**
|
|
19402
|
+
*
|
|
19403
|
+
* @param {WhatsOnFavoriteDTO} whatsOnFavoriteDTO
|
|
19404
|
+
* @param {*} [options] Override http request option.
|
|
19405
|
+
* @throws {RequiredError}
|
|
19406
|
+
* @memberof WhatsOnApi
|
|
19407
|
+
*/
|
|
19408
|
+
public whatsOnControllerUnfavoriteWhatsOn(whatsOnFavoriteDTO: WhatsOnFavoriteDTO, options?: RawAxiosRequestConfig) {
|
|
19409
|
+
return WhatsOnApiFp(this.configuration).whatsOnControllerUnfavoriteWhatsOn(whatsOnFavoriteDTO, options).then((request) => request(this.axios, this.basePath));
|
|
19410
|
+
}
|
|
19411
|
+
|
|
18858
19412
|
/**
|
|
18859
19413
|
*
|
|
18860
19414
|
* @param {string} id
|