@gooday_corp/gooday-api-client 1.2.51 → 1.2.53
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 +37 -13
- package/package.json +1 -1
package/api.ts
CHANGED
|
@@ -5291,10 +5291,10 @@ export interface TagPayloadDTO {
|
|
|
5291
5291
|
'icon': string;
|
|
5292
5292
|
/**
|
|
5293
5293
|
*
|
|
5294
|
-
* @type {
|
|
5294
|
+
* @type {Array<string>}
|
|
5295
5295
|
* @memberof TagPayloadDTO
|
|
5296
5296
|
*/
|
|
5297
|
-
'
|
|
5297
|
+
'venue': Array<string>;
|
|
5298
5298
|
}
|
|
5299
5299
|
|
|
5300
5300
|
export const TagPayloadDTOCategoryEnum = {
|
|
@@ -5361,10 +5361,10 @@ export interface TagUpdatePayloadDTO {
|
|
|
5361
5361
|
'icon': string;
|
|
5362
5362
|
/**
|
|
5363
5363
|
*
|
|
5364
|
-
* @type {
|
|
5364
|
+
* @type {Array<string>}
|
|
5365
5365
|
* @memberof TagUpdatePayloadDTO
|
|
5366
5366
|
*/
|
|
5367
|
-
'
|
|
5367
|
+
'venue': Array<string>;
|
|
5368
5368
|
}
|
|
5369
5369
|
|
|
5370
5370
|
export const TagUpdatePayloadDTOCategoryEnum = {
|
|
@@ -5412,10 +5412,10 @@ export interface TagsResponse {
|
|
|
5412
5412
|
'icon': string;
|
|
5413
5413
|
/**
|
|
5414
5414
|
*
|
|
5415
|
-
* @type {
|
|
5415
|
+
* @type {Array<string>}
|
|
5416
5416
|
* @memberof TagsResponse
|
|
5417
5417
|
*/
|
|
5418
|
-
'
|
|
5418
|
+
'venue': Array<string>;
|
|
5419
5419
|
}
|
|
5420
5420
|
|
|
5421
5421
|
export const TagsResponseCategoryEnum = {
|
|
@@ -14499,10 +14499,12 @@ export const TagsApiAxiosParamCreator = function (configuration?: Configuration)
|
|
|
14499
14499
|
*
|
|
14500
14500
|
* @param {number} page
|
|
14501
14501
|
* @param {number} pageSize
|
|
14502
|
+
* @param {Array<string>} [venue]
|
|
14503
|
+
* @param {Array<TagsControllerFindTagsCategoryEnum>} [category]
|
|
14502
14504
|
* @param {*} [options] Override http request option.
|
|
14503
14505
|
* @throws {RequiredError}
|
|
14504
14506
|
*/
|
|
14505
|
-
tagsControllerFindTags: async (page: number, pageSize: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
14507
|
+
tagsControllerFindTags: async (page: number, pageSize: number, venue?: Array<string>, category?: Array<TagsControllerFindTagsCategoryEnum>, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
14506
14508
|
// verify required parameter 'page' is not null or undefined
|
|
14507
14509
|
assertParamExists('tagsControllerFindTags', 'page', page)
|
|
14508
14510
|
// verify required parameter 'pageSize' is not null or undefined
|
|
@@ -14531,6 +14533,14 @@ export const TagsApiAxiosParamCreator = function (configuration?: Configuration)
|
|
|
14531
14533
|
localVarQueryParameter['pageSize'] = pageSize;
|
|
14532
14534
|
}
|
|
14533
14535
|
|
|
14536
|
+
if (venue) {
|
|
14537
|
+
localVarQueryParameter['venue'] = venue;
|
|
14538
|
+
}
|
|
14539
|
+
|
|
14540
|
+
if (category) {
|
|
14541
|
+
localVarQueryParameter['category'] = category;
|
|
14542
|
+
}
|
|
14543
|
+
|
|
14534
14544
|
|
|
14535
14545
|
|
|
14536
14546
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -14656,11 +14666,13 @@ export const TagsApiFp = function(configuration?: Configuration) {
|
|
|
14656
14666
|
*
|
|
14657
14667
|
* @param {number} page
|
|
14658
14668
|
* @param {number} pageSize
|
|
14669
|
+
* @param {Array<string>} [venue]
|
|
14670
|
+
* @param {Array<TagsControllerFindTagsCategoryEnum>} [category]
|
|
14659
14671
|
* @param {*} [options] Override http request option.
|
|
14660
14672
|
* @throws {RequiredError}
|
|
14661
14673
|
*/
|
|
14662
|
-
async tagsControllerFindTags(page: number, pageSize: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<TagsResponseDTO>> {
|
|
14663
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.tagsControllerFindTags(page, pageSize, options);
|
|
14674
|
+
async tagsControllerFindTags(page: number, pageSize: number, venue?: Array<string>, category?: Array<TagsControllerFindTagsCategoryEnum>, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<TagsResponseDTO>> {
|
|
14675
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.tagsControllerFindTags(page, pageSize, venue, category, options);
|
|
14664
14676
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
14665
14677
|
const localVarOperationServerBasePath = operationServerMap['TagsApi.tagsControllerFindTags']?.[localVarOperationServerIndex]?.url;
|
|
14666
14678
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -14721,11 +14733,13 @@ export const TagsApiFactory = function (configuration?: Configuration, basePath?
|
|
|
14721
14733
|
*
|
|
14722
14734
|
* @param {number} page
|
|
14723
14735
|
* @param {number} pageSize
|
|
14736
|
+
* @param {Array<string>} [venue]
|
|
14737
|
+
* @param {Array<TagsControllerFindTagsCategoryEnum>} [category]
|
|
14724
14738
|
* @param {*} [options] Override http request option.
|
|
14725
14739
|
* @throws {RequiredError}
|
|
14726
14740
|
*/
|
|
14727
|
-
tagsControllerFindTags(page: number, pageSize: number, options?: RawAxiosRequestConfig): AxiosPromise<TagsResponseDTO> {
|
|
14728
|
-
return localVarFp.tagsControllerFindTags(page, pageSize, options).then((request) => request(axios, basePath));
|
|
14741
|
+
tagsControllerFindTags(page: number, pageSize: number, venue?: Array<string>, category?: Array<TagsControllerFindTagsCategoryEnum>, options?: RawAxiosRequestConfig): AxiosPromise<TagsResponseDTO> {
|
|
14742
|
+
return localVarFp.tagsControllerFindTags(page, pageSize, venue, category, options).then((request) => request(axios, basePath));
|
|
14729
14743
|
},
|
|
14730
14744
|
/**
|
|
14731
14745
|
*
|
|
@@ -14781,12 +14795,14 @@ export class TagsApi extends BaseAPI {
|
|
|
14781
14795
|
*
|
|
14782
14796
|
* @param {number} page
|
|
14783
14797
|
* @param {number} pageSize
|
|
14798
|
+
* @param {Array<string>} [venue]
|
|
14799
|
+
* @param {Array<TagsControllerFindTagsCategoryEnum>} [category]
|
|
14784
14800
|
* @param {*} [options] Override http request option.
|
|
14785
14801
|
* @throws {RequiredError}
|
|
14786
14802
|
* @memberof TagsApi
|
|
14787
14803
|
*/
|
|
14788
|
-
public tagsControllerFindTags(page: number, pageSize: number, options?: RawAxiosRequestConfig) {
|
|
14789
|
-
return TagsApiFp(this.configuration).tagsControllerFindTags(page, pageSize, options).then((request) => request(this.axios, this.basePath));
|
|
14804
|
+
public tagsControllerFindTags(page: number, pageSize: number, venue?: Array<string>, category?: Array<TagsControllerFindTagsCategoryEnum>, options?: RawAxiosRequestConfig) {
|
|
14805
|
+
return TagsApiFp(this.configuration).tagsControllerFindTags(page, pageSize, venue, category, options).then((request) => request(this.axios, this.basePath));
|
|
14790
14806
|
}
|
|
14791
14807
|
|
|
14792
14808
|
/**
|
|
@@ -14812,6 +14828,14 @@ export class TagsApi extends BaseAPI {
|
|
|
14812
14828
|
}
|
|
14813
14829
|
}
|
|
14814
14830
|
|
|
14831
|
+
/**
|
|
14832
|
+
* @export
|
|
14833
|
+
*/
|
|
14834
|
+
export const TagsControllerFindTagsCategoryEnum = {
|
|
14835
|
+
Booking: 'BOOKING',
|
|
14836
|
+
Customer: 'CUSTOMER'
|
|
14837
|
+
} as const;
|
|
14838
|
+
export type TagsControllerFindTagsCategoryEnum = typeof TagsControllerFindTagsCategoryEnum[keyof typeof TagsControllerFindTagsCategoryEnum];
|
|
14815
14839
|
|
|
14816
14840
|
|
|
14817
14841
|
/**
|