@gooday_corp/gooday-api-client 1.2.116-beta → 1.2.116
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 +63 -65
- package/package.json +1 -1
package/api.ts
CHANGED
|
@@ -780,10 +780,10 @@ export interface BookingEntity {
|
|
|
780
780
|
'whatsOn': WhatsOnEntity;
|
|
781
781
|
/**
|
|
782
782
|
* Cancellation fee
|
|
783
|
-
* @type {
|
|
783
|
+
* @type {string}
|
|
784
784
|
* @memberof BookingEntity
|
|
785
785
|
*/
|
|
786
|
-
'cancellationFee'?:
|
|
786
|
+
'cancellationFee'?: string;
|
|
787
787
|
}
|
|
788
788
|
|
|
789
789
|
export const BookingEntityStatusEnum = {
|
|
@@ -7273,53 +7273,6 @@ export interface WaitlistResponseDTO {
|
|
|
7273
7273
|
*/
|
|
7274
7274
|
'data': WaitlistEntity;
|
|
7275
7275
|
}
|
|
7276
|
-
/**
|
|
7277
|
-
*
|
|
7278
|
-
* @export
|
|
7279
|
-
* @interface WaitlistStaff
|
|
7280
|
-
*/
|
|
7281
|
-
export interface WaitlistStaff {
|
|
7282
|
-
/**
|
|
7283
|
-
*
|
|
7284
|
-
* @type {number}
|
|
7285
|
-
* @memberof WaitlistStaff
|
|
7286
|
-
*/
|
|
7287
|
-
'page': number;
|
|
7288
|
-
/**
|
|
7289
|
-
*
|
|
7290
|
-
* @type {number}
|
|
7291
|
-
* @memberof WaitlistStaff
|
|
7292
|
-
*/
|
|
7293
|
-
'pageSize': number;
|
|
7294
|
-
/**
|
|
7295
|
-
*
|
|
7296
|
-
* @type {string}
|
|
7297
|
-
* @memberof WaitlistStaff
|
|
7298
|
-
*/
|
|
7299
|
-
'search'?: string;
|
|
7300
|
-
/**
|
|
7301
|
-
*
|
|
7302
|
-
* @type {string}
|
|
7303
|
-
* @memberof WaitlistStaff
|
|
7304
|
-
*/
|
|
7305
|
-
'venue'?: string;
|
|
7306
|
-
/**
|
|
7307
|
-
*
|
|
7308
|
-
* @type {Array<string>}
|
|
7309
|
-
* @memberof WaitlistStaff
|
|
7310
|
-
*/
|
|
7311
|
-
'status'?: Array<WaitlistStaffStatusEnum>;
|
|
7312
|
-
}
|
|
7313
|
-
|
|
7314
|
-
export const WaitlistStaffStatusEnum = {
|
|
7315
|
-
Pending: 'PENDING',
|
|
7316
|
-
Confirm: 'CONFIRM',
|
|
7317
|
-
ConnectedNoAnswer: 'CONNECTED_NO_ANSWER',
|
|
7318
|
-
Withdraw: 'WITHDRAW'
|
|
7319
|
-
} as const;
|
|
7320
|
-
|
|
7321
|
-
export type WaitlistStaffStatusEnum = typeof WaitlistStaffStatusEnum[keyof typeof WaitlistStaffStatusEnum];
|
|
7322
|
-
|
|
7323
7276
|
/**
|
|
7324
7277
|
*
|
|
7325
7278
|
* @export
|
|
@@ -19726,13 +19679,19 @@ export const WaitlistApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
19726
19679
|
},
|
|
19727
19680
|
/**
|
|
19728
19681
|
*
|
|
19729
|
-
* @param {
|
|
19682
|
+
* @param {number} page
|
|
19683
|
+
* @param {number} pageSize
|
|
19684
|
+
* @param {string} [search]
|
|
19685
|
+
* @param {string} [venue]
|
|
19686
|
+
* @param {Array<WaitlistControllerFindWaitlistStatusEnum>} [status]
|
|
19730
19687
|
* @param {*} [options] Override http request option.
|
|
19731
19688
|
* @throws {RequiredError}
|
|
19732
19689
|
*/
|
|
19733
|
-
waitlistControllerFindWaitlist: async (
|
|
19734
|
-
// verify required parameter '
|
|
19735
|
-
assertParamExists('waitlistControllerFindWaitlist', '
|
|
19690
|
+
waitlistControllerFindWaitlist: async (page: number, pageSize: number, search?: string, venue?: string, status?: Array<WaitlistControllerFindWaitlistStatusEnum>, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
19691
|
+
// verify required parameter 'page' is not null or undefined
|
|
19692
|
+
assertParamExists('waitlistControllerFindWaitlist', 'page', page)
|
|
19693
|
+
// verify required parameter 'pageSize' is not null or undefined
|
|
19694
|
+
assertParamExists('waitlistControllerFindWaitlist', 'pageSize', pageSize)
|
|
19736
19695
|
const localVarPath = `/v1/waitlist/list`;
|
|
19737
19696
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
19738
19697
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -19749,14 +19708,31 @@ export const WaitlistApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
19749
19708
|
// http bearer authentication required
|
|
19750
19709
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
19751
19710
|
|
|
19711
|
+
if (page !== undefined) {
|
|
19712
|
+
localVarQueryParameter['page'] = page;
|
|
19713
|
+
}
|
|
19714
|
+
|
|
19715
|
+
if (pageSize !== undefined) {
|
|
19716
|
+
localVarQueryParameter['pageSize'] = pageSize;
|
|
19717
|
+
}
|
|
19718
|
+
|
|
19719
|
+
if (search !== undefined) {
|
|
19720
|
+
localVarQueryParameter['search'] = search;
|
|
19721
|
+
}
|
|
19722
|
+
|
|
19723
|
+
if (venue !== undefined) {
|
|
19724
|
+
localVarQueryParameter['venue'] = venue;
|
|
19725
|
+
}
|
|
19726
|
+
|
|
19727
|
+
if (status) {
|
|
19728
|
+
localVarQueryParameter['status'] = status;
|
|
19729
|
+
}
|
|
19752
19730
|
|
|
19753
|
-
|
|
19754
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
19755
19731
|
|
|
19732
|
+
|
|
19756
19733
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
19757
19734
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
19758
19735
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
19759
|
-
localVarRequestOptions.data = serializeDataIfNeeded(waitlistStaff, localVarRequestOptions, configuration)
|
|
19760
19736
|
|
|
19761
19737
|
return {
|
|
19762
19738
|
url: toPathString(localVarUrlObj),
|
|
@@ -19830,12 +19806,16 @@ export const WaitlistApiFp = function(configuration?: Configuration) {
|
|
|
19830
19806
|
},
|
|
19831
19807
|
/**
|
|
19832
19808
|
*
|
|
19833
|
-
* @param {
|
|
19809
|
+
* @param {number} page
|
|
19810
|
+
* @param {number} pageSize
|
|
19811
|
+
* @param {string} [search]
|
|
19812
|
+
* @param {string} [venue]
|
|
19813
|
+
* @param {Array<WaitlistControllerFindWaitlistStatusEnum>} [status]
|
|
19834
19814
|
* @param {*} [options] Override http request option.
|
|
19835
19815
|
* @throws {RequiredError}
|
|
19836
19816
|
*/
|
|
19837
|
-
async waitlistControllerFindWaitlist(
|
|
19838
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.waitlistControllerFindWaitlist(
|
|
19817
|
+
async waitlistControllerFindWaitlist(page: number, pageSize: number, search?: string, venue?: string, status?: Array<WaitlistControllerFindWaitlistStatusEnum>, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<FindWaitlistResponseDTO>> {
|
|
19818
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.waitlistControllerFindWaitlist(page, pageSize, search, venue, status, options);
|
|
19839
19819
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
19840
19820
|
const localVarOperationServerBasePath = operationServerMap['WaitlistApi.waitlistControllerFindWaitlist']?.[localVarOperationServerIndex]?.url;
|
|
19841
19821
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -19874,12 +19854,16 @@ export const WaitlistApiFactory = function (configuration?: Configuration, baseP
|
|
|
19874
19854
|
},
|
|
19875
19855
|
/**
|
|
19876
19856
|
*
|
|
19877
|
-
* @param {
|
|
19857
|
+
* @param {number} page
|
|
19858
|
+
* @param {number} pageSize
|
|
19859
|
+
* @param {string} [search]
|
|
19860
|
+
* @param {string} [venue]
|
|
19861
|
+
* @param {Array<WaitlistControllerFindWaitlistStatusEnum>} [status]
|
|
19878
19862
|
* @param {*} [options] Override http request option.
|
|
19879
19863
|
* @throws {RequiredError}
|
|
19880
19864
|
*/
|
|
19881
|
-
waitlistControllerFindWaitlist(
|
|
19882
|
-
return localVarFp.waitlistControllerFindWaitlist(
|
|
19865
|
+
waitlistControllerFindWaitlist(page: number, pageSize: number, search?: string, venue?: string, status?: Array<WaitlistControllerFindWaitlistStatusEnum>, options?: RawAxiosRequestConfig): AxiosPromise<FindWaitlistResponseDTO> {
|
|
19866
|
+
return localVarFp.waitlistControllerFindWaitlist(page, pageSize, search, venue, status, options).then((request) => request(axios, basePath));
|
|
19883
19867
|
},
|
|
19884
19868
|
/**
|
|
19885
19869
|
*
|
|
@@ -19914,13 +19898,17 @@ export class WaitlistApi extends BaseAPI {
|
|
|
19914
19898
|
|
|
19915
19899
|
/**
|
|
19916
19900
|
*
|
|
19917
|
-
* @param {
|
|
19901
|
+
* @param {number} page
|
|
19902
|
+
* @param {number} pageSize
|
|
19903
|
+
* @param {string} [search]
|
|
19904
|
+
* @param {string} [venue]
|
|
19905
|
+
* @param {Array<WaitlistControllerFindWaitlistStatusEnum>} [status]
|
|
19918
19906
|
* @param {*} [options] Override http request option.
|
|
19919
19907
|
* @throws {RequiredError}
|
|
19920
19908
|
* @memberof WaitlistApi
|
|
19921
19909
|
*/
|
|
19922
|
-
public waitlistControllerFindWaitlist(
|
|
19923
|
-
return WaitlistApiFp(this.configuration).waitlistControllerFindWaitlist(
|
|
19910
|
+
public waitlistControllerFindWaitlist(page: number, pageSize: number, search?: string, venue?: string, status?: Array<WaitlistControllerFindWaitlistStatusEnum>, options?: RawAxiosRequestConfig) {
|
|
19911
|
+
return WaitlistApiFp(this.configuration).waitlistControllerFindWaitlist(page, pageSize, search, venue, status, options).then((request) => request(this.axios, this.basePath));
|
|
19924
19912
|
}
|
|
19925
19913
|
|
|
19926
19914
|
/**
|
|
@@ -19936,6 +19924,16 @@ export class WaitlistApi extends BaseAPI {
|
|
|
19936
19924
|
}
|
|
19937
19925
|
}
|
|
19938
19926
|
|
|
19927
|
+
/**
|
|
19928
|
+
* @export
|
|
19929
|
+
*/
|
|
19930
|
+
export const WaitlistControllerFindWaitlistStatusEnum = {
|
|
19931
|
+
Pending: 'PENDING',
|
|
19932
|
+
Confirm: 'CONFIRM',
|
|
19933
|
+
ConnectedNoAnswer: 'CONNECTED_NO_ANSWER',
|
|
19934
|
+
Withdraw: 'WITHDRAW'
|
|
19935
|
+
} as const;
|
|
19936
|
+
export type WaitlistControllerFindWaitlistStatusEnum = typeof WaitlistControllerFindWaitlistStatusEnum[keyof typeof WaitlistControllerFindWaitlistStatusEnum];
|
|
19939
19937
|
|
|
19940
19938
|
|
|
19941
19939
|
/**
|