@gooday_corp/gooday-api-client 1.2.66 → 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.
Files changed (2) hide show
  1. package/api.ts +622 -38
  2. 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 = {
@@ -3066,6 +3090,31 @@ export interface DeviceEntity {
3066
3090
  */
3067
3091
  'status': string;
3068
3092
  }
3093
+ /**
3094
+ *
3095
+ * @export
3096
+ * @interface Discount
3097
+ */
3098
+ export interface Discount {
3099
+ /**
3100
+ *
3101
+ * @type {string}
3102
+ * @memberof Discount
3103
+ */
3104
+ '_id'?: string;
3105
+ /**
3106
+ *
3107
+ * @type {string}
3108
+ * @memberof Discount
3109
+ */
3110
+ 'name': string;
3111
+ /**
3112
+ *
3113
+ * @type {string}
3114
+ * @memberof Discount
3115
+ */
3116
+ 'percentage': string;
3117
+ }
3069
3118
  /**
3070
3119
  *
3071
3120
  * @export
@@ -4860,6 +4909,12 @@ export interface PrepaidServiceEntity {
4860
4909
  * @memberof PrepaidServiceEntity
4861
4910
  */
4862
4911
  'email': string;
4912
+ /**
4913
+ *
4914
+ * @type {Array<string>}
4915
+ * @memberof PrepaidServiceEntity
4916
+ */
4917
+ 'discount': Array<string>;
4863
4918
  }
4864
4919
 
4865
4920
  export const PrepaidServiceEntityCategoryEnum = {
@@ -5230,25 +5285,25 @@ export interface Repeat {
5230
5285
  * @type {string}
5231
5286
  * @memberof Repeat
5232
5287
  */
5233
- 'finalBookingTime': RepeatFinalBookingTimeEnum;
5288
+ 'finalBookingTime'?: RepeatFinalBookingTimeEnum;
5234
5289
  /**
5235
5290
  * to
5236
5291
  * @type {string}
5237
5292
  * @memberof Repeat
5238
5293
  */
5239
- 'time': string;
5294
+ 'time'?: string;
5240
5295
  /**
5241
5296
  *
5242
5297
  * @type {string}
5243
5298
  * @memberof Repeat
5244
5299
  */
5245
- 'repeat': RepeatRepeatEnum;
5300
+ 'repeat'?: RepeatRepeatEnum;
5246
5301
  /**
5247
5302
  *
5248
5303
  * @type {string}
5249
5304
  * @memberof Repeat
5250
5305
  */
5251
- 'repeatEndDate': string;
5306
+ 'repeatEndDate'?: string;
5252
5307
  }
5253
5308
 
5254
5309
  export const RepeatFinalBookingTimeEnum = {
@@ -5405,19 +5460,6 @@ export const ServiceEndRepeatRepeatEnum = {
5405
5460
 
5406
5461
  export type ServiceEndRepeatRepeatEnum = typeof ServiceEndRepeatRepeatEnum[keyof typeof ServiceEndRepeatRepeatEnum];
5407
5462
 
5408
- /**
5409
- *
5410
- * @export
5411
- * @interface Setting
5412
- */
5413
- export interface Setting {
5414
- /**
5415
- *
5416
- * @type {number}
5417
- * @memberof Setting
5418
- */
5419
- 'capacity': number;
5420
- }
5421
5463
  /**
5422
5464
  *
5423
5465
  * @export
@@ -6933,18 +6975,6 @@ export interface WhatsOnEntity {
6933
6975
  * @memberof WhatsOnEntity
6934
6976
  */
6935
6977
  'title': string;
6936
- /**
6937
- * Start date for the events
6938
- * @type {string}
6939
- * @memberof WhatsOnEntity
6940
- */
6941
- 'startDate': string;
6942
- /**
6943
- * End date for the events
6944
- * @type {string}
6945
- * @memberof WhatsOnEntity
6946
- */
6947
- 'endDate': string;
6948
6978
  /**
6949
6979
  *
6950
6980
  * @type {Array<string>}
@@ -6965,10 +6995,10 @@ export interface WhatsOnEntity {
6965
6995
  'description': string;
6966
6996
  /**
6967
6997
  *
6968
- * @type {Setting}
6998
+ * @type {number}
6969
6999
  * @memberof WhatsOnEntity
6970
7000
  */
6971
- 'setting': Setting;
7001
+ 'capacity': number;
6972
7002
  /**
6973
7003
  * Business venue
6974
7004
  * @type {string}
@@ -7013,10 +7043,10 @@ export interface WhatsOnEntity {
7013
7043
  'cancellationHours': string;
7014
7044
  /**
7015
7045
  *
7016
- * @type {LocationDTO}
7046
+ * @type {WhatsOnLocationDTO}
7017
7047
  * @memberof WhatsOnEntity
7018
7048
  */
7019
- 'location': LocationDTO;
7049
+ 'location'?: WhatsOnLocationDTO;
7020
7050
  /**
7021
7051
  *
7022
7052
  * @type {number}
@@ -7029,6 +7059,120 @@ export interface WhatsOnEntity {
7029
7059
  * @memberof WhatsOnEntity
7030
7060
  */
7031
7061
  'repeat': Repeat;
7062
+ /**
7063
+ *
7064
+ * @type {Array<string>}
7065
+ * @memberof WhatsOnEntity
7066
+ */
7067
+ 'discount': Array<string>;
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;
7032
7176
  }
7033
7177
  /**
7034
7178
  *
@@ -7061,6 +7205,63 @@ export interface WhatsOnFindDTO {
7061
7205
  */
7062
7206
  'venue'?: string;
7063
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
+ }
7064
7265
  /**
7065
7266
  *
7066
7267
  * @export
@@ -7099,10 +7300,10 @@ export interface WhatsOnPayloadDTO {
7099
7300
  'description': string;
7100
7301
  /**
7101
7302
  *
7102
- * @type {Setting}
7303
+ * @type {number}
7103
7304
  * @memberof WhatsOnPayloadDTO
7104
7305
  */
7105
- 'setting': Setting;
7306
+ 'capacity': number;
7106
7307
  /**
7107
7308
  * Business venue
7108
7309
  * @type {string}
@@ -7141,16 +7342,22 @@ export interface WhatsOnPayloadDTO {
7141
7342
  'cancellationHours': string;
7142
7343
  /**
7143
7344
  *
7144
- * @type {LocationDTO}
7345
+ * @type {WhatsOnLocationDTO}
7145
7346
  * @memberof WhatsOnPayloadDTO
7146
7347
  */
7147
- 'location': LocationDTO;
7348
+ 'location'?: WhatsOnLocationDTO;
7148
7349
  /**
7149
7350
  *
7150
7351
  * @type {Repeat}
7151
7352
  * @memberof WhatsOnPayloadDTO
7152
7353
  */
7153
- 'repeat': Repeat;
7354
+ 'repeat'?: Repeat;
7355
+ /**
7356
+ *
7357
+ * @type {Array<Discount>}
7358
+ * @memberof WhatsOnPayloadDTO
7359
+ */
7360
+ 'discounts'?: Array<Discount>;
7154
7361
  }
7155
7362
  /**
7156
7363
  *
@@ -7171,6 +7378,25 @@ export interface WhatsOnResponseDTO {
7171
7378
  */
7172
7379
  'statusCode': number;
7173
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
+ }
7174
7400
 
7175
7401
  /**
7176
7402
  * AIApi - axios parameter creator
@@ -18527,6 +18753,123 @@ export const WhatsOnApiAxiosParamCreator = function (configuration?: Configurati
18527
18753
 
18528
18754
 
18529
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
+
18530
18873
  setSearchParams(localVarUrlObj, localVarQueryParameter);
18531
18874
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
18532
18875
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
@@ -18575,6 +18918,84 @@ export const WhatsOnApiAxiosParamCreator = function (configuration?: Configurati
18575
18918
  options: localVarRequestOptions,
18576
18919
  };
18577
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
+ },
18578
18999
  /**
18579
19000
  *
18580
19001
  * @param {string} id
@@ -18689,6 +19110,43 @@ export const WhatsOnApiFp = function(configuration?: Configuration) {
18689
19110
  const localVarOperationServerBasePath = operationServerMap['WhatsOnApi.whatsOnControllerDeleteWhatsOn']?.[localVarOperationServerIndex]?.url;
18690
19111
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
18691
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
+ },
18692
19150
  /**
18693
19151
  *
18694
19152
  * @param {WhatsOnFindDTO} whatsOnFindDTO
@@ -18701,6 +19159,30 @@ export const WhatsOnApiFp = function(configuration?: Configuration) {
18701
19159
  const localVarOperationServerBasePath = operationServerMap['WhatsOnApi.whatsOnControllerFindWhatsOn']?.[localVarOperationServerIndex]?.url;
18702
19160
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
18703
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
+ },
18704
19186
  /**
18705
19187
  *
18706
19188
  * @param {string} id
@@ -18754,6 +19236,34 @@ export const WhatsOnApiFactory = function (configuration?: Configuration, basePa
18754
19236
  whatsOnControllerDeleteWhatsOn(id: string, options?: RawAxiosRequestConfig): AxiosPromise<WhatsOnDeleteResponseDTO> {
18755
19237
  return localVarFp.whatsOnControllerDeleteWhatsOn(id, options).then((request) => request(axios, basePath));
18756
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
+ },
18757
19267
  /**
18758
19268
  *
18759
19269
  * @param {WhatsOnFindDTO} whatsOnFindDTO
@@ -18763,6 +19273,24 @@ export const WhatsOnApiFactory = function (configuration?: Configuration, basePa
18763
19273
  whatsOnControllerFindWhatsOn(whatsOnFindDTO: WhatsOnFindDTO, options?: RawAxiosRequestConfig): AxiosPromise<WhatsOnResponseDTO> {
18764
19274
  return localVarFp.whatsOnControllerFindWhatsOn(whatsOnFindDTO, options).then((request) => request(axios, basePath));
18765
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
+ },
18766
19294
  /**
18767
19295
  *
18768
19296
  * @param {string} id
@@ -18814,6 +19342,40 @@ export class WhatsOnApi extends BaseAPI {
18814
19342
  return WhatsOnApiFp(this.configuration).whatsOnControllerDeleteWhatsOn(id, options).then((request) => request(this.axios, this.basePath));
18815
19343
  }
18816
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
+
18817
19379
  /**
18818
19380
  *
18819
19381
  * @param {WhatsOnFindDTO} whatsOnFindDTO
@@ -18825,6 +19387,28 @@ export class WhatsOnApi extends BaseAPI {
18825
19387
  return WhatsOnApiFp(this.configuration).whatsOnControllerFindWhatsOn(whatsOnFindDTO, options).then((request) => request(this.axios, this.basePath));
18826
19388
  }
18827
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
+
18828
19412
  /**
18829
19413
  *
18830
19414
  * @param {string} id
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gooday_corp/gooday-api-client",
3
- "version": "1.2.66",
3
+ "version": "1.2.68",
4
4
  "description": "API client for Gooday",
5
5
  "main": "index.ts",
6
6
  "scripts": {},