@gooday_corp/gooday-api-client 1.2.116 → 1.2.118
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 +68 -66
- 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 {object}
|
|
784
784
|
* @memberof BookingEntity
|
|
785
785
|
*/
|
|
786
|
-
'cancellationFee'?:
|
|
786
|
+
'cancellationFee'?: object;
|
|
787
787
|
}
|
|
788
788
|
|
|
789
789
|
export const BookingEntityStatusEnum = {
|
|
@@ -6130,7 +6130,7 @@ export interface StandardBookingSlotsPayload {
|
|
|
6130
6130
|
* @type {string}
|
|
6131
6131
|
* @memberof StandardBookingSlotsPayload
|
|
6132
6132
|
*/
|
|
6133
|
-
'id'
|
|
6133
|
+
'id'?: string;
|
|
6134
6134
|
}
|
|
6135
6135
|
/**
|
|
6136
6136
|
*
|
|
@@ -7273,6 +7273,53 @@ 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
|
+
|
|
7276
7323
|
/**
|
|
7277
7324
|
*
|
|
7278
7325
|
* @export
|
|
@@ -11157,7 +11204,7 @@ export const BusinessApiFp = function(configuration?: Configuration) {
|
|
|
11157
11204
|
* @param {*} [options] Override http request option.
|
|
11158
11205
|
* @throws {RequiredError}
|
|
11159
11206
|
*/
|
|
11160
|
-
async businessControllerListBusinesses(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<
|
|
11207
|
+
async businessControllerListBusinesses(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<BusinessEntity>>> {
|
|
11161
11208
|
const localVarAxiosArgs = await localVarAxiosParamCreator.businessControllerListBusinesses(options);
|
|
11162
11209
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
11163
11210
|
const localVarOperationServerBasePath = operationServerMap['BusinessApi.businessControllerListBusinesses']?.[localVarOperationServerIndex]?.url;
|
|
@@ -11422,7 +11469,7 @@ export const BusinessApiFactory = function (configuration?: Configuration, baseP
|
|
|
11422
11469
|
* @param {*} [options] Override http request option.
|
|
11423
11470
|
* @throws {RequiredError}
|
|
11424
11471
|
*/
|
|
11425
|
-
businessControllerListBusinesses(options?: RawAxiosRequestConfig): AxiosPromise<Array<
|
|
11472
|
+
businessControllerListBusinesses(options?: RawAxiosRequestConfig): AxiosPromise<Array<BusinessEntity>> {
|
|
11426
11473
|
return localVarFp.businessControllerListBusinesses(options).then((request) => request(axios, basePath));
|
|
11427
11474
|
},
|
|
11428
11475
|
/**
|
|
@@ -19679,19 +19726,13 @@ export const WaitlistApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
19679
19726
|
},
|
|
19680
19727
|
/**
|
|
19681
19728
|
*
|
|
19682
|
-
* @param {
|
|
19683
|
-
* @param {number} pageSize
|
|
19684
|
-
* @param {string} [search]
|
|
19685
|
-
* @param {string} [venue]
|
|
19686
|
-
* @param {Array<WaitlistControllerFindWaitlistStatusEnum>} [status]
|
|
19729
|
+
* @param {WaitlistStaff} waitlistStaff
|
|
19687
19730
|
* @param {*} [options] Override http request option.
|
|
19688
19731
|
* @throws {RequiredError}
|
|
19689
19732
|
*/
|
|
19690
|
-
waitlistControllerFindWaitlist: async (
|
|
19691
|
-
// verify required parameter '
|
|
19692
|
-
assertParamExists('waitlistControllerFindWaitlist', '
|
|
19693
|
-
// verify required parameter 'pageSize' is not null or undefined
|
|
19694
|
-
assertParamExists('waitlistControllerFindWaitlist', 'pageSize', pageSize)
|
|
19733
|
+
waitlistControllerFindWaitlist: async (waitlistStaff: WaitlistStaff, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
19734
|
+
// verify required parameter 'waitlistStaff' is not null or undefined
|
|
19735
|
+
assertParamExists('waitlistControllerFindWaitlist', 'waitlistStaff', waitlistStaff)
|
|
19695
19736
|
const localVarPath = `/v1/waitlist/list`;
|
|
19696
19737
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
19697
19738
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -19708,31 +19749,14 @@ export const WaitlistApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
19708
19749
|
// http bearer authentication required
|
|
19709
19750
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
19710
19751
|
|
|
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
|
-
}
|
|
19730
|
-
|
|
19731
19752
|
|
|
19732
19753
|
|
|
19754
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
19755
|
+
|
|
19733
19756
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
19734
19757
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
19735
19758
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
19759
|
+
localVarRequestOptions.data = serializeDataIfNeeded(waitlistStaff, localVarRequestOptions, configuration)
|
|
19736
19760
|
|
|
19737
19761
|
return {
|
|
19738
19762
|
url: toPathString(localVarUrlObj),
|
|
@@ -19806,16 +19830,12 @@ export const WaitlistApiFp = function(configuration?: Configuration) {
|
|
|
19806
19830
|
},
|
|
19807
19831
|
/**
|
|
19808
19832
|
*
|
|
19809
|
-
* @param {
|
|
19810
|
-
* @param {number} pageSize
|
|
19811
|
-
* @param {string} [search]
|
|
19812
|
-
* @param {string} [venue]
|
|
19813
|
-
* @param {Array<WaitlistControllerFindWaitlistStatusEnum>} [status]
|
|
19833
|
+
* @param {WaitlistStaff} waitlistStaff
|
|
19814
19834
|
* @param {*} [options] Override http request option.
|
|
19815
19835
|
* @throws {RequiredError}
|
|
19816
19836
|
*/
|
|
19817
|
-
async waitlistControllerFindWaitlist(
|
|
19818
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.waitlistControllerFindWaitlist(
|
|
19837
|
+
async waitlistControllerFindWaitlist(waitlistStaff: WaitlistStaff, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<FindWaitlistResponseDTO>> {
|
|
19838
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.waitlistControllerFindWaitlist(waitlistStaff, options);
|
|
19819
19839
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
19820
19840
|
const localVarOperationServerBasePath = operationServerMap['WaitlistApi.waitlistControllerFindWaitlist']?.[localVarOperationServerIndex]?.url;
|
|
19821
19841
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -19854,16 +19874,12 @@ export const WaitlistApiFactory = function (configuration?: Configuration, baseP
|
|
|
19854
19874
|
},
|
|
19855
19875
|
/**
|
|
19856
19876
|
*
|
|
19857
|
-
* @param {
|
|
19858
|
-
* @param {number} pageSize
|
|
19859
|
-
* @param {string} [search]
|
|
19860
|
-
* @param {string} [venue]
|
|
19861
|
-
* @param {Array<WaitlistControllerFindWaitlistStatusEnum>} [status]
|
|
19877
|
+
* @param {WaitlistStaff} waitlistStaff
|
|
19862
19878
|
* @param {*} [options] Override http request option.
|
|
19863
19879
|
* @throws {RequiredError}
|
|
19864
19880
|
*/
|
|
19865
|
-
waitlistControllerFindWaitlist(
|
|
19866
|
-
return localVarFp.waitlistControllerFindWaitlist(
|
|
19881
|
+
waitlistControllerFindWaitlist(waitlistStaff: WaitlistStaff, options?: RawAxiosRequestConfig): AxiosPromise<FindWaitlistResponseDTO> {
|
|
19882
|
+
return localVarFp.waitlistControllerFindWaitlist(waitlistStaff, options).then((request) => request(axios, basePath));
|
|
19867
19883
|
},
|
|
19868
19884
|
/**
|
|
19869
19885
|
*
|
|
@@ -19898,17 +19914,13 @@ export class WaitlistApi extends BaseAPI {
|
|
|
19898
19914
|
|
|
19899
19915
|
/**
|
|
19900
19916
|
*
|
|
19901
|
-
* @param {
|
|
19902
|
-
* @param {number} pageSize
|
|
19903
|
-
* @param {string} [search]
|
|
19904
|
-
* @param {string} [venue]
|
|
19905
|
-
* @param {Array<WaitlistControllerFindWaitlistStatusEnum>} [status]
|
|
19917
|
+
* @param {WaitlistStaff} waitlistStaff
|
|
19906
19918
|
* @param {*} [options] Override http request option.
|
|
19907
19919
|
* @throws {RequiredError}
|
|
19908
19920
|
* @memberof WaitlistApi
|
|
19909
19921
|
*/
|
|
19910
|
-
public waitlistControllerFindWaitlist(
|
|
19911
|
-
return WaitlistApiFp(this.configuration).waitlistControllerFindWaitlist(
|
|
19922
|
+
public waitlistControllerFindWaitlist(waitlistStaff: WaitlistStaff, options?: RawAxiosRequestConfig) {
|
|
19923
|
+
return WaitlistApiFp(this.configuration).waitlistControllerFindWaitlist(waitlistStaff, options).then((request) => request(this.axios, this.basePath));
|
|
19912
19924
|
}
|
|
19913
19925
|
|
|
19914
19926
|
/**
|
|
@@ -19924,16 +19936,6 @@ export class WaitlistApi extends BaseAPI {
|
|
|
19924
19936
|
}
|
|
19925
19937
|
}
|
|
19926
19938
|
|
|
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];
|
|
19937
19939
|
|
|
19938
19940
|
|
|
19939
19941
|
/**
|