@gooday_corp/gooday-api-client 1.3.32 → 1.3.33
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 +90 -362
- package/package.json +1 -1
package/api.ts
CHANGED
|
@@ -680,25 +680,6 @@ export interface BlockoutResponseDTO {
|
|
|
680
680
|
*/
|
|
681
681
|
'statusCode': number;
|
|
682
682
|
}
|
|
683
|
-
/**
|
|
684
|
-
*
|
|
685
|
-
* @export
|
|
686
|
-
* @interface BookingCollaboratorDetailResponseDTO
|
|
687
|
-
*/
|
|
688
|
-
export interface BookingCollaboratorDetailResponseDTO {
|
|
689
|
-
/**
|
|
690
|
-
* statusCode
|
|
691
|
-
* @type {number}
|
|
692
|
-
* @memberof BookingCollaboratorDetailResponseDTO
|
|
693
|
-
*/
|
|
694
|
-
'statusCode': number;
|
|
695
|
-
/**
|
|
696
|
-
*
|
|
697
|
-
* @type {Array<UserEntity>}
|
|
698
|
-
* @memberof BookingCollaboratorDetailResponseDTO
|
|
699
|
-
*/
|
|
700
|
-
'data': Array<UserEntity>;
|
|
701
|
-
}
|
|
702
683
|
/**
|
|
703
684
|
*
|
|
704
685
|
* @export
|
|
@@ -3277,35 +3258,11 @@ export type CreateEventPayloadDTORepeatEnum = typeof CreateEventPayloadDTORepeat
|
|
|
3277
3258
|
*/
|
|
3278
3259
|
export interface CreatePaymentLinkDTO {
|
|
3279
3260
|
/**
|
|
3280
|
-
*
|
|
3281
|
-
* @type {string}
|
|
3282
|
-
* @memberof CreatePaymentLinkDTO
|
|
3283
|
-
*/
|
|
3284
|
-
'currency': string;
|
|
3285
|
-
/**
|
|
3286
|
-
* Recurring interval for the payment
|
|
3287
|
-
* @type {string}
|
|
3288
|
-
* @memberof CreatePaymentLinkDTO
|
|
3289
|
-
*/
|
|
3290
|
-
'interval': string;
|
|
3291
|
-
/**
|
|
3292
|
-
* Amount to be charged in the smallest currency unit (e.g., cents for USD)
|
|
3293
|
-
* @type {number}
|
|
3294
|
-
* @memberof CreatePaymentLinkDTO
|
|
3295
|
-
*/
|
|
3296
|
-
'amount': number;
|
|
3297
|
-
/**
|
|
3298
|
-
* Name of the product or service for which payment is being made
|
|
3299
|
-
* @type {string}
|
|
3300
|
-
* @memberof CreatePaymentLinkDTO
|
|
3301
|
-
*/
|
|
3302
|
-
'name': string;
|
|
3303
|
-
/**
|
|
3304
|
-
* User Id
|
|
3261
|
+
* Product ID
|
|
3305
3262
|
* @type {string}
|
|
3306
3263
|
* @memberof CreatePaymentLinkDTO
|
|
3307
3264
|
*/
|
|
3308
|
-
'
|
|
3265
|
+
'productID': string;
|
|
3309
3266
|
}
|
|
3310
3267
|
/**
|
|
3311
3268
|
*
|
|
@@ -6249,6 +6206,25 @@ export interface PriceRangeListResponse {
|
|
|
6249
6206
|
*/
|
|
6250
6207
|
'data': Array<PriceRangeEntity>;
|
|
6251
6208
|
}
|
|
6209
|
+
/**
|
|
6210
|
+
*
|
|
6211
|
+
* @export
|
|
6212
|
+
* @interface ProductResponseDTO
|
|
6213
|
+
*/
|
|
6214
|
+
export interface ProductResponseDTO {
|
|
6215
|
+
/**
|
|
6216
|
+
*
|
|
6217
|
+
* @type {object}
|
|
6218
|
+
* @memberof ProductResponseDTO
|
|
6219
|
+
*/
|
|
6220
|
+
'data': object;
|
|
6221
|
+
/**
|
|
6222
|
+
* statusCode
|
|
6223
|
+
* @type {number}
|
|
6224
|
+
* @memberof ProductResponseDTO
|
|
6225
|
+
*/
|
|
6226
|
+
'statusCode': number;
|
|
6227
|
+
}
|
|
6252
6228
|
/**
|
|
6253
6229
|
*
|
|
6254
6230
|
* @export
|
|
@@ -10297,43 +10273,6 @@ export const BookingApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
10297
10273
|
options: localVarRequestOptions,
|
|
10298
10274
|
};
|
|
10299
10275
|
},
|
|
10300
|
-
/**
|
|
10301
|
-
*
|
|
10302
|
-
* @param {string} id
|
|
10303
|
-
* @param {*} [options] Override http request option.
|
|
10304
|
-
* @throws {RequiredError}
|
|
10305
|
-
*/
|
|
10306
|
-
bookingControllerBookingCollaboratorDetail: async (id: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
10307
|
-
// verify required parameter 'id' is not null or undefined
|
|
10308
|
-
assertParamExists('bookingControllerBookingCollaboratorDetail', 'id', id)
|
|
10309
|
-
const localVarPath = `/v1/booking/collaborator-details/{id}`
|
|
10310
|
-
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
10311
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
10312
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
10313
|
-
let baseOptions;
|
|
10314
|
-
if (configuration) {
|
|
10315
|
-
baseOptions = configuration.baseOptions;
|
|
10316
|
-
}
|
|
10317
|
-
|
|
10318
|
-
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
10319
|
-
const localVarHeaderParameter = {} as any;
|
|
10320
|
-
const localVarQueryParameter = {} as any;
|
|
10321
|
-
|
|
10322
|
-
// authentication bearer required
|
|
10323
|
-
// http bearer authentication required
|
|
10324
|
-
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
10325
|
-
|
|
10326
|
-
|
|
10327
|
-
|
|
10328
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
10329
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
10330
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
10331
|
-
|
|
10332
|
-
return {
|
|
10333
|
-
url: toPathString(localVarUrlObj),
|
|
10334
|
-
options: localVarRequestOptions,
|
|
10335
|
-
};
|
|
10336
|
-
},
|
|
10337
10276
|
/**
|
|
10338
10277
|
*
|
|
10339
10278
|
* @param {BookingConfirmPayload} bookingConfirmPayload
|
|
@@ -10804,39 +10743,6 @@ export const BookingApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
10804
10743
|
options: localVarRequestOptions,
|
|
10805
10744
|
};
|
|
10806
10745
|
},
|
|
10807
|
-
/**
|
|
10808
|
-
*
|
|
10809
|
-
* @param {*} [options] Override http request option.
|
|
10810
|
-
* @throws {RequiredError}
|
|
10811
|
-
*/
|
|
10812
|
-
bookingControllerTrendingEvents: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
10813
|
-
const localVarPath = `/v1/booking/trending-events`;
|
|
10814
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
10815
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
10816
|
-
let baseOptions;
|
|
10817
|
-
if (configuration) {
|
|
10818
|
-
baseOptions = configuration.baseOptions;
|
|
10819
|
-
}
|
|
10820
|
-
|
|
10821
|
-
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
10822
|
-
const localVarHeaderParameter = {} as any;
|
|
10823
|
-
const localVarQueryParameter = {} as any;
|
|
10824
|
-
|
|
10825
|
-
// authentication bearer required
|
|
10826
|
-
// http bearer authentication required
|
|
10827
|
-
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
10828
|
-
|
|
10829
|
-
|
|
10830
|
-
|
|
10831
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
10832
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
10833
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
10834
|
-
|
|
10835
|
-
return {
|
|
10836
|
-
url: toPathString(localVarUrlObj),
|
|
10837
|
-
options: localVarRequestOptions,
|
|
10838
|
-
};
|
|
10839
|
-
},
|
|
10840
10746
|
/**
|
|
10841
10747
|
*
|
|
10842
10748
|
* @param {string} id
|
|
@@ -10902,18 +10808,6 @@ export const BookingApiFp = function(configuration?: Configuration) {
|
|
|
10902
10808
|
const localVarOperationServerBasePath = operationServerMap['BookingApi.bookingControllerAcceptBookingInvite']?.[localVarOperationServerIndex]?.url;
|
|
10903
10809
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
10904
10810
|
},
|
|
10905
|
-
/**
|
|
10906
|
-
*
|
|
10907
|
-
* @param {string} id
|
|
10908
|
-
* @param {*} [options] Override http request option.
|
|
10909
|
-
* @throws {RequiredError}
|
|
10910
|
-
*/
|
|
10911
|
-
async bookingControllerBookingCollaboratorDetail(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BookingCollaboratorDetailResponseDTO>> {
|
|
10912
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.bookingControllerBookingCollaboratorDetail(id, options);
|
|
10913
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
10914
|
-
const localVarOperationServerBasePath = operationServerMap['BookingApi.bookingControllerBookingCollaboratorDetail']?.[localVarOperationServerIndex]?.url;
|
|
10915
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
10916
|
-
},
|
|
10917
10811
|
/**
|
|
10918
10812
|
*
|
|
10919
10813
|
* @param {BookingConfirmPayload} bookingConfirmPayload
|
|
@@ -11059,17 +10953,6 @@ export const BookingApiFp = function(configuration?: Configuration) {
|
|
|
11059
10953
|
const localVarOperationServerBasePath = operationServerMap['BookingApi.bookingControllerRescheduleBooking']?.[localVarOperationServerIndex]?.url;
|
|
11060
10954
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
11061
10955
|
},
|
|
11062
|
-
/**
|
|
11063
|
-
*
|
|
11064
|
-
* @param {*} [options] Override http request option.
|
|
11065
|
-
* @throws {RequiredError}
|
|
11066
|
-
*/
|
|
11067
|
-
async bookingControllerTrendingEvents(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<FindBookingResponseDTO>> {
|
|
11068
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.bookingControllerTrendingEvents(options);
|
|
11069
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
11070
|
-
const localVarOperationServerBasePath = operationServerMap['BookingApi.bookingControllerTrendingEvents']?.[localVarOperationServerIndex]?.url;
|
|
11071
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
11072
|
-
},
|
|
11073
10956
|
/**
|
|
11074
10957
|
*
|
|
11075
10958
|
* @param {string} id
|
|
@@ -11102,15 +10985,6 @@ export const BookingApiFactory = function (configuration?: Configuration, basePa
|
|
|
11102
10985
|
bookingControllerAcceptBookingInvite(acceptBookingInvitePayload: AcceptBookingInvitePayload, options?: RawAxiosRequestConfig): AxiosPromise<BookingRequestResponseDTO> {
|
|
11103
10986
|
return localVarFp.bookingControllerAcceptBookingInvite(acceptBookingInvitePayload, options).then((request) => request(axios, basePath));
|
|
11104
10987
|
},
|
|
11105
|
-
/**
|
|
11106
|
-
*
|
|
11107
|
-
* @param {string} id
|
|
11108
|
-
* @param {*} [options] Override http request option.
|
|
11109
|
-
* @throws {RequiredError}
|
|
11110
|
-
*/
|
|
11111
|
-
bookingControllerBookingCollaboratorDetail(id: string, options?: RawAxiosRequestConfig): AxiosPromise<BookingCollaboratorDetailResponseDTO> {
|
|
11112
|
-
return localVarFp.bookingControllerBookingCollaboratorDetail(id, options).then((request) => request(axios, basePath));
|
|
11113
|
-
},
|
|
11114
10988
|
/**
|
|
11115
10989
|
*
|
|
11116
10990
|
* @param {BookingConfirmPayload} bookingConfirmPayload
|
|
@@ -11220,14 +11094,6 @@ export const BookingApiFactory = function (configuration?: Configuration, basePa
|
|
|
11220
11094
|
bookingControllerRescheduleBooking(id: string, rescheduleBookingPayload: RescheduleBookingPayload, options?: RawAxiosRequestConfig): AxiosPromise<BookingResponseDTO> {
|
|
11221
11095
|
return localVarFp.bookingControllerRescheduleBooking(id, rescheduleBookingPayload, options).then((request) => request(axios, basePath));
|
|
11222
11096
|
},
|
|
11223
|
-
/**
|
|
11224
|
-
*
|
|
11225
|
-
* @param {*} [options] Override http request option.
|
|
11226
|
-
* @throws {RequiredError}
|
|
11227
|
-
*/
|
|
11228
|
-
bookingControllerTrendingEvents(options?: RawAxiosRequestConfig): AxiosPromise<FindBookingResponseDTO> {
|
|
11229
|
-
return localVarFp.bookingControllerTrendingEvents(options).then((request) => request(axios, basePath));
|
|
11230
|
-
},
|
|
11231
11097
|
/**
|
|
11232
11098
|
*
|
|
11233
11099
|
* @param {string} id
|
|
@@ -11259,17 +11125,6 @@ export class BookingApi extends BaseAPI {
|
|
|
11259
11125
|
return BookingApiFp(this.configuration).bookingControllerAcceptBookingInvite(acceptBookingInvitePayload, options).then((request) => request(this.axios, this.basePath));
|
|
11260
11126
|
}
|
|
11261
11127
|
|
|
11262
|
-
/**
|
|
11263
|
-
*
|
|
11264
|
-
* @param {string} id
|
|
11265
|
-
* @param {*} [options] Override http request option.
|
|
11266
|
-
* @throws {RequiredError}
|
|
11267
|
-
* @memberof BookingApi
|
|
11268
|
-
*/
|
|
11269
|
-
public bookingControllerBookingCollaboratorDetail(id: string, options?: RawAxiosRequestConfig) {
|
|
11270
|
-
return BookingApiFp(this.configuration).bookingControllerBookingCollaboratorDetail(id, options).then((request) => request(this.axios, this.basePath));
|
|
11271
|
-
}
|
|
11272
|
-
|
|
11273
11128
|
/**
|
|
11274
11129
|
*
|
|
11275
11130
|
* @param {BookingConfirmPayload} bookingConfirmPayload
|
|
@@ -11403,16 +11258,6 @@ export class BookingApi extends BaseAPI {
|
|
|
11403
11258
|
return BookingApiFp(this.configuration).bookingControllerRescheduleBooking(id, rescheduleBookingPayload, options).then((request) => request(this.axios, this.basePath));
|
|
11404
11259
|
}
|
|
11405
11260
|
|
|
11406
|
-
/**
|
|
11407
|
-
*
|
|
11408
|
-
* @param {*} [options] Override http request option.
|
|
11409
|
-
* @throws {RequiredError}
|
|
11410
|
-
* @memberof BookingApi
|
|
11411
|
-
*/
|
|
11412
|
-
public bookingControllerTrendingEvents(options?: RawAxiosRequestConfig) {
|
|
11413
|
-
return BookingApiFp(this.configuration).bookingControllerTrendingEvents(options).then((request) => request(this.axios, this.basePath));
|
|
11414
|
-
}
|
|
11415
|
-
|
|
11416
11261
|
/**
|
|
11417
11262
|
*
|
|
11418
11263
|
* @param {string} id
|
|
@@ -11960,39 +11805,6 @@ export const BusinessApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
11960
11805
|
options: localVarRequestOptions,
|
|
11961
11806
|
};
|
|
11962
11807
|
},
|
|
11963
|
-
/**
|
|
11964
|
-
*
|
|
11965
|
-
* @param {*} [options] Override http request option.
|
|
11966
|
-
* @throws {RequiredError}
|
|
11967
|
-
*/
|
|
11968
|
-
businessTypeControllerHighlyRecommended: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
11969
|
-
const localVarPath = `/v1/business/highlyRecommended`;
|
|
11970
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
11971
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
11972
|
-
let baseOptions;
|
|
11973
|
-
if (configuration) {
|
|
11974
|
-
baseOptions = configuration.baseOptions;
|
|
11975
|
-
}
|
|
11976
|
-
|
|
11977
|
-
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
11978
|
-
const localVarHeaderParameter = {} as any;
|
|
11979
|
-
const localVarQueryParameter = {} as any;
|
|
11980
|
-
|
|
11981
|
-
// authentication bearer required
|
|
11982
|
-
// http bearer authentication required
|
|
11983
|
-
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
11984
|
-
|
|
11985
|
-
|
|
11986
|
-
|
|
11987
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
11988
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
11989
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
11990
|
-
|
|
11991
|
-
return {
|
|
11992
|
-
url: toPathString(localVarUrlObj),
|
|
11993
|
-
options: localVarRequestOptions,
|
|
11994
|
-
};
|
|
11995
|
-
},
|
|
11996
11808
|
/**
|
|
11997
11809
|
*
|
|
11998
11810
|
* @param {*} [options] Override http request option.
|
|
@@ -12458,17 +12270,6 @@ export const BusinessApiFp = function(configuration?: Configuration) {
|
|
|
12458
12270
|
const localVarOperationServerBasePath = operationServerMap['BusinessApi.businessTypeControllerGetBusinessVenue']?.[localVarOperationServerIndex]?.url;
|
|
12459
12271
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
12460
12272
|
},
|
|
12461
|
-
/**
|
|
12462
|
-
*
|
|
12463
|
-
* @param {*} [options] Override http request option.
|
|
12464
|
-
* @throws {RequiredError}
|
|
12465
|
-
*/
|
|
12466
|
-
async businessTypeControllerHighlyRecommended(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CategoryListResponse>> {
|
|
12467
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.businessTypeControllerHighlyRecommended(options);
|
|
12468
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
12469
|
-
const localVarOperationServerBasePath = operationServerMap['BusinessApi.businessTypeControllerHighlyRecommended']?.[localVarOperationServerIndex]?.url;
|
|
12470
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
12471
|
-
},
|
|
12472
12273
|
/**
|
|
12473
12274
|
*
|
|
12474
12275
|
* @param {*} [options] Override http request option.
|
|
@@ -12698,14 +12499,6 @@ export const BusinessApiFactory = function (configuration?: Configuration, baseP
|
|
|
12698
12499
|
businessTypeControllerGetBusinessVenue(getBusinessVenueDto: GetBusinessVenueDto, options?: RawAxiosRequestConfig): AxiosPromise<BusinessVenueResponseDTO> {
|
|
12699
12500
|
return localVarFp.businessTypeControllerGetBusinessVenue(getBusinessVenueDto, options).then((request) => request(axios, basePath));
|
|
12700
12501
|
},
|
|
12701
|
-
/**
|
|
12702
|
-
*
|
|
12703
|
-
* @param {*} [options] Override http request option.
|
|
12704
|
-
* @throws {RequiredError}
|
|
12705
|
-
*/
|
|
12706
|
-
businessTypeControllerHighlyRecommended(options?: RawAxiosRequestConfig): AxiosPromise<CategoryListResponse> {
|
|
12707
|
-
return localVarFp.businessTypeControllerHighlyRecommended(options).then((request) => request(axios, basePath));
|
|
12708
|
-
},
|
|
12709
12502
|
/**
|
|
12710
12503
|
*
|
|
12711
12504
|
* @param {*} [options] Override http request option.
|
|
@@ -12939,16 +12732,6 @@ export class BusinessApi extends BaseAPI {
|
|
|
12939
12732
|
return BusinessApiFp(this.configuration).businessTypeControllerGetBusinessVenue(getBusinessVenueDto, options).then((request) => request(this.axios, this.basePath));
|
|
12940
12733
|
}
|
|
12941
12734
|
|
|
12942
|
-
/**
|
|
12943
|
-
*
|
|
12944
|
-
* @param {*} [options] Override http request option.
|
|
12945
|
-
* @throws {RequiredError}
|
|
12946
|
-
* @memberof BusinessApi
|
|
12947
|
-
*/
|
|
12948
|
-
public businessTypeControllerHighlyRecommended(options?: RawAxiosRequestConfig) {
|
|
12949
|
-
return BusinessApiFp(this.configuration).businessTypeControllerHighlyRecommended(options).then((request) => request(this.axios, this.basePath));
|
|
12950
|
-
}
|
|
12951
|
-
|
|
12952
12735
|
/**
|
|
12953
12736
|
*
|
|
12954
12737
|
* @param {*} [options] Override http request option.
|
|
@@ -17587,6 +17370,10 @@ export const PlansApiAxiosParamCreator = function (configuration?: Configuration
|
|
|
17587
17370
|
const localVarHeaderParameter = {} as any;
|
|
17588
17371
|
const localVarQueryParameter = {} as any;
|
|
17589
17372
|
|
|
17373
|
+
// authentication bearer required
|
|
17374
|
+
// http bearer authentication required
|
|
17375
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
17376
|
+
|
|
17590
17377
|
|
|
17591
17378
|
|
|
17592
17379
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
@@ -17712,6 +17499,39 @@ export const PlansApiAxiosParamCreator = function (configuration?: Configuration
|
|
|
17712
17499
|
|
|
17713
17500
|
|
|
17714
17501
|
|
|
17502
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
17503
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
17504
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
17505
|
+
|
|
17506
|
+
return {
|
|
17507
|
+
url: toPathString(localVarUrlObj),
|
|
17508
|
+
options: localVarRequestOptions,
|
|
17509
|
+
};
|
|
17510
|
+
},
|
|
17511
|
+
/**
|
|
17512
|
+
*
|
|
17513
|
+
* @param {string} id
|
|
17514
|
+
* @param {*} [options] Override http request option.
|
|
17515
|
+
* @throws {RequiredError}
|
|
17516
|
+
*/
|
|
17517
|
+
paymentControllerServiceById: async (id: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
17518
|
+
// verify required parameter 'id' is not null or undefined
|
|
17519
|
+
assertParamExists('paymentControllerServiceById', 'id', id)
|
|
17520
|
+
const localVarPath = `/v1/payment/stripe-plan/{id}`
|
|
17521
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
17522
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
17523
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
17524
|
+
let baseOptions;
|
|
17525
|
+
if (configuration) {
|
|
17526
|
+
baseOptions = configuration.baseOptions;
|
|
17527
|
+
}
|
|
17528
|
+
|
|
17529
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
17530
|
+
const localVarHeaderParameter = {} as any;
|
|
17531
|
+
const localVarQueryParameter = {} as any;
|
|
17532
|
+
|
|
17533
|
+
|
|
17534
|
+
|
|
17715
17535
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
17716
17536
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
17717
17537
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -17883,6 +17703,18 @@ export const PlansApiFp = function(configuration?: Configuration) {
|
|
|
17883
17703
|
const localVarOperationServerBasePath = operationServerMap['PlansApi.paymentControllerRevenueCatWebhook']?.[localVarOperationServerIndex]?.url;
|
|
17884
17704
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
17885
17705
|
},
|
|
17706
|
+
/**
|
|
17707
|
+
*
|
|
17708
|
+
* @param {string} id
|
|
17709
|
+
* @param {*} [options] Override http request option.
|
|
17710
|
+
* @throws {RequiredError}
|
|
17711
|
+
*/
|
|
17712
|
+
async paymentControllerServiceById(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ProductResponseDTO>> {
|
|
17713
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.paymentControllerServiceById(id, options);
|
|
17714
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
17715
|
+
const localVarOperationServerBasePath = operationServerMap['PlansApi.paymentControllerServiceById']?.[localVarOperationServerIndex]?.url;
|
|
17716
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
17717
|
+
},
|
|
17886
17718
|
/**
|
|
17887
17719
|
*
|
|
17888
17720
|
* @param {BookingPaymentPayloadDTO} bookingPaymentPayloadDTO
|
|
@@ -17974,6 +17806,15 @@ export const PlansApiFactory = function (configuration?: Configuration, basePath
|
|
|
17974
17806
|
paymentControllerRevenueCatWebhook(options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
17975
17807
|
return localVarFp.paymentControllerRevenueCatWebhook(options).then((request) => request(axios, basePath));
|
|
17976
17808
|
},
|
|
17809
|
+
/**
|
|
17810
|
+
*
|
|
17811
|
+
* @param {string} id
|
|
17812
|
+
* @param {*} [options] Override http request option.
|
|
17813
|
+
* @throws {RequiredError}
|
|
17814
|
+
*/
|
|
17815
|
+
paymentControllerServiceById(id: string, options?: RawAxiosRequestConfig): AxiosPromise<ProductResponseDTO> {
|
|
17816
|
+
return localVarFp.paymentControllerServiceById(id, options).then((request) => request(axios, basePath));
|
|
17817
|
+
},
|
|
17977
17818
|
/**
|
|
17978
17819
|
*
|
|
17979
17820
|
* @param {BookingPaymentPayloadDTO} bookingPaymentPayloadDTO
|
|
@@ -18073,6 +17914,17 @@ export class PlansApi extends BaseAPI {
|
|
|
18073
17914
|
return PlansApiFp(this.configuration).paymentControllerRevenueCatWebhook(options).then((request) => request(this.axios, this.basePath));
|
|
18074
17915
|
}
|
|
18075
17916
|
|
|
17917
|
+
/**
|
|
17918
|
+
*
|
|
17919
|
+
* @param {string} id
|
|
17920
|
+
* @param {*} [options] Override http request option.
|
|
17921
|
+
* @throws {RequiredError}
|
|
17922
|
+
* @memberof PlansApi
|
|
17923
|
+
*/
|
|
17924
|
+
public paymentControllerServiceById(id: string, options?: RawAxiosRequestConfig) {
|
|
17925
|
+
return PlansApiFp(this.configuration).paymentControllerServiceById(id, options).then((request) => request(this.axios, this.basePath));
|
|
17926
|
+
}
|
|
17927
|
+
|
|
18076
17928
|
/**
|
|
18077
17929
|
*
|
|
18078
17930
|
* @param {BookingPaymentPayloadDTO} bookingPaymentPayloadDTO
|
|
@@ -21787,72 +21639,6 @@ export const WhatsOnApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
21787
21639
|
options: localVarRequestOptions,
|
|
21788
21640
|
};
|
|
21789
21641
|
},
|
|
21790
|
-
/**
|
|
21791
|
-
*
|
|
21792
|
-
* @param {*} [options] Override http request option.
|
|
21793
|
-
* @throws {RequiredError}
|
|
21794
|
-
*/
|
|
21795
|
-
whatsOnControllerPromotions: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
21796
|
-
const localVarPath = `/v1/whats-on/promotion`;
|
|
21797
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
21798
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
21799
|
-
let baseOptions;
|
|
21800
|
-
if (configuration) {
|
|
21801
|
-
baseOptions = configuration.baseOptions;
|
|
21802
|
-
}
|
|
21803
|
-
|
|
21804
|
-
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
21805
|
-
const localVarHeaderParameter = {} as any;
|
|
21806
|
-
const localVarQueryParameter = {} as any;
|
|
21807
|
-
|
|
21808
|
-
// authentication bearer required
|
|
21809
|
-
// http bearer authentication required
|
|
21810
|
-
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
21811
|
-
|
|
21812
|
-
|
|
21813
|
-
|
|
21814
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
21815
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
21816
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
21817
|
-
|
|
21818
|
-
return {
|
|
21819
|
-
url: toPathString(localVarUrlObj),
|
|
21820
|
-
options: localVarRequestOptions,
|
|
21821
|
-
};
|
|
21822
|
-
},
|
|
21823
|
-
/**
|
|
21824
|
-
*
|
|
21825
|
-
* @param {*} [options] Override http request option.
|
|
21826
|
-
* @throws {RequiredError}
|
|
21827
|
-
*/
|
|
21828
|
-
whatsOnControllerSponsored: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
21829
|
-
const localVarPath = `/v1/whats-on/sponsored`;
|
|
21830
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
21831
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
21832
|
-
let baseOptions;
|
|
21833
|
-
if (configuration) {
|
|
21834
|
-
baseOptions = configuration.baseOptions;
|
|
21835
|
-
}
|
|
21836
|
-
|
|
21837
|
-
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
21838
|
-
const localVarHeaderParameter = {} as any;
|
|
21839
|
-
const localVarQueryParameter = {} as any;
|
|
21840
|
-
|
|
21841
|
-
// authentication bearer required
|
|
21842
|
-
// http bearer authentication required
|
|
21843
|
-
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
21844
|
-
|
|
21845
|
-
|
|
21846
|
-
|
|
21847
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
21848
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
21849
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
21850
|
-
|
|
21851
|
-
return {
|
|
21852
|
-
url: toPathString(localVarUrlObj),
|
|
21853
|
-
options: localVarRequestOptions,
|
|
21854
|
-
};
|
|
21855
|
-
},
|
|
21856
21642
|
/**
|
|
21857
21643
|
*
|
|
21858
21644
|
* @param {WhatsOnFavoriteDTO} whatsOnFavoriteDTO
|
|
@@ -22118,28 +21904,6 @@ export const WhatsOnApiFp = function(configuration?: Configuration) {
|
|
|
22118
21904
|
const localVarOperationServerBasePath = operationServerMap['WhatsOnApi.whatsOnControllerMarkFavoriteWhatsOn']?.[localVarOperationServerIndex]?.url;
|
|
22119
21905
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
22120
21906
|
},
|
|
22121
|
-
/**
|
|
22122
|
-
*
|
|
22123
|
-
* @param {*} [options] Override http request option.
|
|
22124
|
-
* @throws {RequiredError}
|
|
22125
|
-
*/
|
|
22126
|
-
async whatsOnControllerPromotions(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WhatsOnResponseDTO>> {
|
|
22127
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.whatsOnControllerPromotions(options);
|
|
22128
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
22129
|
-
const localVarOperationServerBasePath = operationServerMap['WhatsOnApi.whatsOnControllerPromotions']?.[localVarOperationServerIndex]?.url;
|
|
22130
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
22131
|
-
},
|
|
22132
|
-
/**
|
|
22133
|
-
*
|
|
22134
|
-
* @param {*} [options] Override http request option.
|
|
22135
|
-
* @throws {RequiredError}
|
|
22136
|
-
*/
|
|
22137
|
-
async whatsOnControllerSponsored(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WhatsOnResponseDTO>> {
|
|
22138
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.whatsOnControllerSponsored(options);
|
|
22139
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
22140
|
-
const localVarOperationServerBasePath = operationServerMap['WhatsOnApi.whatsOnControllerSponsored']?.[localVarOperationServerIndex]?.url;
|
|
22141
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
22142
|
-
},
|
|
22143
21907
|
/**
|
|
22144
21908
|
*
|
|
22145
21909
|
* @param {WhatsOnFavoriteDTO} whatsOnFavoriteDTO
|
|
@@ -22272,22 +22036,6 @@ export const WhatsOnApiFactory = function (configuration?: Configuration, basePa
|
|
|
22272
22036
|
whatsOnControllerMarkFavoriteWhatsOn(whatsOnFavoriteDTO: WhatsOnFavoriteDTO, options?: RawAxiosRequestConfig): AxiosPromise<WhatsOnFavoriteResponse> {
|
|
22273
22037
|
return localVarFp.whatsOnControllerMarkFavoriteWhatsOn(whatsOnFavoriteDTO, options).then((request) => request(axios, basePath));
|
|
22274
22038
|
},
|
|
22275
|
-
/**
|
|
22276
|
-
*
|
|
22277
|
-
* @param {*} [options] Override http request option.
|
|
22278
|
-
* @throws {RequiredError}
|
|
22279
|
-
*/
|
|
22280
|
-
whatsOnControllerPromotions(options?: RawAxiosRequestConfig): AxiosPromise<WhatsOnResponseDTO> {
|
|
22281
|
-
return localVarFp.whatsOnControllerPromotions(options).then((request) => request(axios, basePath));
|
|
22282
|
-
},
|
|
22283
|
-
/**
|
|
22284
|
-
*
|
|
22285
|
-
* @param {*} [options] Override http request option.
|
|
22286
|
-
* @throws {RequiredError}
|
|
22287
|
-
*/
|
|
22288
|
-
whatsOnControllerSponsored(options?: RawAxiosRequestConfig): AxiosPromise<WhatsOnResponseDTO> {
|
|
22289
|
-
return localVarFp.whatsOnControllerSponsored(options).then((request) => request(axios, basePath));
|
|
22290
|
-
},
|
|
22291
22039
|
/**
|
|
22292
22040
|
*
|
|
22293
22041
|
* @param {WhatsOnFavoriteDTO} whatsOnFavoriteDTO
|
|
@@ -22424,26 +22172,6 @@ export class WhatsOnApi extends BaseAPI {
|
|
|
22424
22172
|
return WhatsOnApiFp(this.configuration).whatsOnControllerMarkFavoriteWhatsOn(whatsOnFavoriteDTO, options).then((request) => request(this.axios, this.basePath));
|
|
22425
22173
|
}
|
|
22426
22174
|
|
|
22427
|
-
/**
|
|
22428
|
-
*
|
|
22429
|
-
* @param {*} [options] Override http request option.
|
|
22430
|
-
* @throws {RequiredError}
|
|
22431
|
-
* @memberof WhatsOnApi
|
|
22432
|
-
*/
|
|
22433
|
-
public whatsOnControllerPromotions(options?: RawAxiosRequestConfig) {
|
|
22434
|
-
return WhatsOnApiFp(this.configuration).whatsOnControllerPromotions(options).then((request) => request(this.axios, this.basePath));
|
|
22435
|
-
}
|
|
22436
|
-
|
|
22437
|
-
/**
|
|
22438
|
-
*
|
|
22439
|
-
* @param {*} [options] Override http request option.
|
|
22440
|
-
* @throws {RequiredError}
|
|
22441
|
-
* @memberof WhatsOnApi
|
|
22442
|
-
*/
|
|
22443
|
-
public whatsOnControllerSponsored(options?: RawAxiosRequestConfig) {
|
|
22444
|
-
return WhatsOnApiFp(this.configuration).whatsOnControllerSponsored(options).then((request) => request(this.axios, this.basePath));
|
|
22445
|
-
}
|
|
22446
|
-
|
|
22447
22175
|
/**
|
|
22448
22176
|
*
|
|
22449
22177
|
* @param {WhatsOnFavoriteDTO} whatsOnFavoriteDTO
|