@gooday_corp/gooday-api-client 1.2.39 → 1.2.40
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 +72 -72
- package/package.json +1 -1
package/api.ts
CHANGED
|
@@ -15462,18 +15462,19 @@ export const WaitlistApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
15462
15462
|
},
|
|
15463
15463
|
/**
|
|
15464
15464
|
*
|
|
15465
|
-
* @param {
|
|
15466
|
-
* @param {
|
|
15465
|
+
* @param {number} page
|
|
15466
|
+
* @param {number} pageSize
|
|
15467
|
+
* @param {string} [search]
|
|
15468
|
+
* @param {string} [venue]
|
|
15467
15469
|
* @param {*} [options] Override http request option.
|
|
15468
15470
|
* @throws {RequiredError}
|
|
15469
15471
|
*/
|
|
15470
|
-
|
|
15471
|
-
// verify required parameter '
|
|
15472
|
-
assertParamExists('
|
|
15473
|
-
// verify required parameter '
|
|
15474
|
-
assertParamExists('
|
|
15475
|
-
const localVarPath = `/v1/waitlist
|
|
15476
|
-
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
15472
|
+
waitlistControllerFindWaitlist: async (page: number, pageSize: number, search?: string, venue?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
15473
|
+
// verify required parameter 'page' is not null or undefined
|
|
15474
|
+
assertParamExists('waitlistControllerFindWaitlist', 'page', page)
|
|
15475
|
+
// verify required parameter 'pageSize' is not null or undefined
|
|
15476
|
+
assertParamExists('waitlistControllerFindWaitlist', 'pageSize', pageSize)
|
|
15477
|
+
const localVarPath = `/v1/waitlist`;
|
|
15477
15478
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
15478
15479
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
15479
15480
|
let baseOptions;
|
|
@@ -15481,7 +15482,7 @@ export const WaitlistApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
15481
15482
|
baseOptions = configuration.baseOptions;
|
|
15482
15483
|
}
|
|
15483
15484
|
|
|
15484
|
-
const localVarRequestOptions = { method: '
|
|
15485
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
15485
15486
|
const localVarHeaderParameter = {} as any;
|
|
15486
15487
|
const localVarQueryParameter = {} as any;
|
|
15487
15488
|
|
|
@@ -15489,14 +15490,27 @@ export const WaitlistApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
15489
15490
|
// http bearer authentication required
|
|
15490
15491
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
15491
15492
|
|
|
15493
|
+
if (page !== undefined) {
|
|
15494
|
+
localVarQueryParameter['page'] = page;
|
|
15495
|
+
}
|
|
15496
|
+
|
|
15497
|
+
if (pageSize !== undefined) {
|
|
15498
|
+
localVarQueryParameter['pageSize'] = pageSize;
|
|
15499
|
+
}
|
|
15500
|
+
|
|
15501
|
+
if (search !== undefined) {
|
|
15502
|
+
localVarQueryParameter['search'] = search;
|
|
15503
|
+
}
|
|
15504
|
+
|
|
15505
|
+
if (venue !== undefined) {
|
|
15506
|
+
localVarQueryParameter['venue'] = venue;
|
|
15507
|
+
}
|
|
15492
15508
|
|
|
15493
|
-
|
|
15494
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
15495
15509
|
|
|
15510
|
+
|
|
15496
15511
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
15497
15512
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
15498
15513
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
15499
|
-
localVarRequestOptions.data = serializeDataIfNeeded(waitlistPayloadDTO, localVarRequestOptions, configuration)
|
|
15500
15514
|
|
|
15501
15515
|
return {
|
|
15502
15516
|
url: toPathString(localVarUrlObj),
|
|
@@ -15505,19 +15519,18 @@ export const WaitlistApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
15505
15519
|
},
|
|
15506
15520
|
/**
|
|
15507
15521
|
*
|
|
15508
|
-
* @param {
|
|
15509
|
-
* @param {
|
|
15510
|
-
* @param {string} [search]
|
|
15511
|
-
* @param {string} [venue]
|
|
15522
|
+
* @param {string} id
|
|
15523
|
+
* @param {WaitlistPayloadDTO} waitlistPayloadDTO
|
|
15512
15524
|
* @param {*} [options] Override http request option.
|
|
15513
15525
|
* @throws {RequiredError}
|
|
15514
15526
|
*/
|
|
15515
|
-
|
|
15516
|
-
// verify required parameter '
|
|
15517
|
-
assertParamExists('
|
|
15518
|
-
// verify required parameter '
|
|
15519
|
-
assertParamExists('
|
|
15520
|
-
const localVarPath = `/v1/waitlist
|
|
15527
|
+
waitlistControllerUpdateWaitlist: async (id: string, waitlistPayloadDTO: WaitlistPayloadDTO, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
15528
|
+
// verify required parameter 'id' is not null or undefined
|
|
15529
|
+
assertParamExists('waitlistControllerUpdateWaitlist', 'id', id)
|
|
15530
|
+
// verify required parameter 'waitlistPayloadDTO' is not null or undefined
|
|
15531
|
+
assertParamExists('waitlistControllerUpdateWaitlist', 'waitlistPayloadDTO', waitlistPayloadDTO)
|
|
15532
|
+
const localVarPath = `/v1/waitlist/{id}`
|
|
15533
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
15521
15534
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
15522
15535
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
15523
15536
|
let baseOptions;
|
|
@@ -15525,7 +15538,7 @@ export const WaitlistApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
15525
15538
|
baseOptions = configuration.baseOptions;
|
|
15526
15539
|
}
|
|
15527
15540
|
|
|
15528
|
-
const localVarRequestOptions = { method: '
|
|
15541
|
+
const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
|
|
15529
15542
|
const localVarHeaderParameter = {} as any;
|
|
15530
15543
|
const localVarQueryParameter = {} as any;
|
|
15531
15544
|
|
|
@@ -15533,27 +15546,14 @@ export const WaitlistApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
15533
15546
|
// http bearer authentication required
|
|
15534
15547
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
15535
15548
|
|
|
15536
|
-
if (page !== undefined) {
|
|
15537
|
-
localVarQueryParameter['page'] = page;
|
|
15538
|
-
}
|
|
15539
|
-
|
|
15540
|
-
if (pageSize !== undefined) {
|
|
15541
|
-
localVarQueryParameter['pageSize'] = pageSize;
|
|
15542
|
-
}
|
|
15543
|
-
|
|
15544
|
-
if (search !== undefined) {
|
|
15545
|
-
localVarQueryParameter['search'] = search;
|
|
15546
|
-
}
|
|
15547
|
-
|
|
15548
|
-
if (venue !== undefined) {
|
|
15549
|
-
localVarQueryParameter['venue'] = venue;
|
|
15550
|
-
}
|
|
15551
|
-
|
|
15552
15549
|
|
|
15553
15550
|
|
|
15551
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
15552
|
+
|
|
15554
15553
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
15555
15554
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
15556
15555
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
15556
|
+
localVarRequestOptions.data = serializeDataIfNeeded(waitlistPayloadDTO, localVarRequestOptions, configuration)
|
|
15557
15557
|
|
|
15558
15558
|
return {
|
|
15559
15559
|
url: toPathString(localVarUrlObj),
|
|
@@ -15584,30 +15584,30 @@ export const WaitlistApiFp = function(configuration?: Configuration) {
|
|
|
15584
15584
|
},
|
|
15585
15585
|
/**
|
|
15586
15586
|
*
|
|
15587
|
-
* @param {
|
|
15588
|
-
* @param {
|
|
15587
|
+
* @param {number} page
|
|
15588
|
+
* @param {number} pageSize
|
|
15589
|
+
* @param {string} [search]
|
|
15590
|
+
* @param {string} [venue]
|
|
15589
15591
|
* @param {*} [options] Override http request option.
|
|
15590
15592
|
* @throws {RequiredError}
|
|
15591
15593
|
*/
|
|
15592
|
-
async
|
|
15593
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
15594
|
+
async waitlistControllerFindWaitlist(page: number, pageSize: number, search?: string, venue?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<FindWaitlistResponseDTO>> {
|
|
15595
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.waitlistControllerFindWaitlist(page, pageSize, search, venue, options);
|
|
15594
15596
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
15595
|
-
const localVarOperationServerBasePath = operationServerMap['WaitlistApi.
|
|
15597
|
+
const localVarOperationServerBasePath = operationServerMap['WaitlistApi.waitlistControllerFindWaitlist']?.[localVarOperationServerIndex]?.url;
|
|
15596
15598
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
15597
15599
|
},
|
|
15598
15600
|
/**
|
|
15599
15601
|
*
|
|
15600
|
-
* @param {
|
|
15601
|
-
* @param {
|
|
15602
|
-
* @param {string} [search]
|
|
15603
|
-
* @param {string} [venue]
|
|
15602
|
+
* @param {string} id
|
|
15603
|
+
* @param {WaitlistPayloadDTO} waitlistPayloadDTO
|
|
15604
15604
|
* @param {*} [options] Override http request option.
|
|
15605
15605
|
* @throws {RequiredError}
|
|
15606
15606
|
*/
|
|
15607
|
-
async
|
|
15608
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
15607
|
+
async waitlistControllerUpdateWaitlist(id: string, waitlistPayloadDTO: WaitlistPayloadDTO, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WaitlistResponseDTO>> {
|
|
15608
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.waitlistControllerUpdateWaitlist(id, waitlistPayloadDTO, options);
|
|
15609
15609
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
15610
|
-
const localVarOperationServerBasePath = operationServerMap['WaitlistApi.
|
|
15610
|
+
const localVarOperationServerBasePath = operationServerMap['WaitlistApi.waitlistControllerUpdateWaitlist']?.[localVarOperationServerIndex]?.url;
|
|
15611
15611
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
15612
15612
|
},
|
|
15613
15613
|
}
|
|
@@ -15629,16 +15629,6 @@ export const WaitlistApiFactory = function (configuration?: Configuration, baseP
|
|
|
15629
15629
|
waitlistControllerAddWaitlist(waitlistPayloadDTO: WaitlistPayloadDTO, options?: RawAxiosRequestConfig): AxiosPromise<WaitlistResponseDTO> {
|
|
15630
15630
|
return localVarFp.waitlistControllerAddWaitlist(waitlistPayloadDTO, options).then((request) => request(axios, basePath));
|
|
15631
15631
|
},
|
|
15632
|
-
/**
|
|
15633
|
-
*
|
|
15634
|
-
* @param {string} id
|
|
15635
|
-
* @param {WaitlistPayloadDTO} waitlistPayloadDTO
|
|
15636
|
-
* @param {*} [options] Override http request option.
|
|
15637
|
-
* @throws {RequiredError}
|
|
15638
|
-
*/
|
|
15639
|
-
waitlistControllerAvailableSlots(id: string, waitlistPayloadDTO: WaitlistPayloadDTO, options?: RawAxiosRequestConfig): AxiosPromise<WaitlistResponseDTO> {
|
|
15640
|
-
return localVarFp.waitlistControllerAvailableSlots(id, waitlistPayloadDTO, options).then((request) => request(axios, basePath));
|
|
15641
|
-
},
|
|
15642
15632
|
/**
|
|
15643
15633
|
*
|
|
15644
15634
|
* @param {number} page
|
|
@@ -15651,6 +15641,16 @@ export const WaitlistApiFactory = function (configuration?: Configuration, baseP
|
|
|
15651
15641
|
waitlistControllerFindWaitlist(page: number, pageSize: number, search?: string, venue?: string, options?: RawAxiosRequestConfig): AxiosPromise<FindWaitlistResponseDTO> {
|
|
15652
15642
|
return localVarFp.waitlistControllerFindWaitlist(page, pageSize, search, venue, options).then((request) => request(axios, basePath));
|
|
15653
15643
|
},
|
|
15644
|
+
/**
|
|
15645
|
+
*
|
|
15646
|
+
* @param {string} id
|
|
15647
|
+
* @param {WaitlistPayloadDTO} waitlistPayloadDTO
|
|
15648
|
+
* @param {*} [options] Override http request option.
|
|
15649
|
+
* @throws {RequiredError}
|
|
15650
|
+
*/
|
|
15651
|
+
waitlistControllerUpdateWaitlist(id: string, waitlistPayloadDTO: WaitlistPayloadDTO, options?: RawAxiosRequestConfig): AxiosPromise<WaitlistResponseDTO> {
|
|
15652
|
+
return localVarFp.waitlistControllerUpdateWaitlist(id, waitlistPayloadDTO, options).then((request) => request(axios, basePath));
|
|
15653
|
+
},
|
|
15654
15654
|
};
|
|
15655
15655
|
};
|
|
15656
15656
|
|
|
@@ -15674,28 +15674,28 @@ export class WaitlistApi extends BaseAPI {
|
|
|
15674
15674
|
|
|
15675
15675
|
/**
|
|
15676
15676
|
*
|
|
15677
|
-
* @param {
|
|
15678
|
-
* @param {
|
|
15677
|
+
* @param {number} page
|
|
15678
|
+
* @param {number} pageSize
|
|
15679
|
+
* @param {string} [search]
|
|
15680
|
+
* @param {string} [venue]
|
|
15679
15681
|
* @param {*} [options] Override http request option.
|
|
15680
15682
|
* @throws {RequiredError}
|
|
15681
15683
|
* @memberof WaitlistApi
|
|
15682
15684
|
*/
|
|
15683
|
-
public
|
|
15684
|
-
return WaitlistApiFp(this.configuration).
|
|
15685
|
+
public waitlistControllerFindWaitlist(page: number, pageSize: number, search?: string, venue?: string, options?: RawAxiosRequestConfig) {
|
|
15686
|
+
return WaitlistApiFp(this.configuration).waitlistControllerFindWaitlist(page, pageSize, search, venue, options).then((request) => request(this.axios, this.basePath));
|
|
15685
15687
|
}
|
|
15686
15688
|
|
|
15687
15689
|
/**
|
|
15688
15690
|
*
|
|
15689
|
-
* @param {
|
|
15690
|
-
* @param {
|
|
15691
|
-
* @param {string} [search]
|
|
15692
|
-
* @param {string} [venue]
|
|
15691
|
+
* @param {string} id
|
|
15692
|
+
* @param {WaitlistPayloadDTO} waitlistPayloadDTO
|
|
15693
15693
|
* @param {*} [options] Override http request option.
|
|
15694
15694
|
* @throws {RequiredError}
|
|
15695
15695
|
* @memberof WaitlistApi
|
|
15696
15696
|
*/
|
|
15697
|
-
public
|
|
15698
|
-
return WaitlistApiFp(this.configuration).
|
|
15697
|
+
public waitlistControllerUpdateWaitlist(id: string, waitlistPayloadDTO: WaitlistPayloadDTO, options?: RawAxiosRequestConfig) {
|
|
15698
|
+
return WaitlistApiFp(this.configuration).waitlistControllerUpdateWaitlist(id, waitlistPayloadDTO, options).then((request) => request(this.axios, this.basePath));
|
|
15699
15699
|
}
|
|
15700
15700
|
}
|
|
15701
15701
|
|