@gooday_corp/gooday-api-client 1.2.30 → 1.2.32

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.
Files changed (2) hide show
  1. package/api.ts +25 -15
  2. package/package.json +1 -1
package/api.ts CHANGED
@@ -782,6 +782,25 @@ export interface BusinessFavoriteDTO {
782
782
  */
783
783
  'venue': string;
784
784
  }
785
+ /**
786
+ *
787
+ * @export
788
+ * @interface BusinessFavoriteListResponseDTO
789
+ */
790
+ export interface BusinessFavoriteListResponseDTO {
791
+ /**
792
+ * statusCode
793
+ * @type {number}
794
+ * @memberof BusinessFavoriteListResponseDTO
795
+ */
796
+ 'statusCode': number;
797
+ /**
798
+ *
799
+ * @type {Array<BusinessVenueDetailsEntity>}
800
+ * @memberof BusinessFavoriteListResponseDTO
801
+ */
802
+ 'data': Array<BusinessVenueDetailsEntity>;
803
+ }
785
804
  /**
786
805
  *
787
806
  * @export
@@ -1063,7 +1082,7 @@ export interface BusinessStaffEntity {
1063
1082
  * @type {string}
1064
1083
  * @memberof BusinessStaffEntity
1065
1084
  */
1066
- 'date'?: string;
1085
+ 'dob'?: string;
1067
1086
  /**
1068
1087
  * Email of the staff member
1069
1088
  * @type {string}
@@ -3761,17 +3780,8 @@ export interface PrepaidServiceFindDTO {
3761
3780
  * @type {string}
3762
3781
  * @memberof PrepaidServiceFindDTO
3763
3782
  */
3764
- 'category': PrepaidServiceFindDTOCategoryEnum;
3783
+ 'category'?: string;
3765
3784
  }
3766
-
3767
- export const PrepaidServiceFindDTOCategoryEnum = {
3768
- Beginner: 'BEGINNER',
3769
- Intermediate: 'INTERMEDIATE',
3770
- Advanced: 'ADVANCED'
3771
- } as const;
3772
-
3773
- export type PrepaidServiceFindDTOCategoryEnum = typeof PrepaidServiceFindDTOCategoryEnum[keyof typeof PrepaidServiceFindDTOCategoryEnum];
3774
-
3775
3785
  /**
3776
3786
  *
3777
3787
  * @export
@@ -7506,8 +7516,8 @@ export const BusinessApiAxiosParamCreator = function (configuration?: Configurat
7506
7516
  businessTypeControllerFindFavoriteBusinessVenueCount: async (id: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
7507
7517
  // verify required parameter 'id' is not null or undefined
7508
7518
  assertParamExists('businessTypeControllerFindFavoriteBusinessVenueCount', 'id', id)
7509
- const localVarPath = `/v1/business/favorite/count`
7510
- .replace(`{${":id"}}`, encodeURIComponent(String(id)));
7519
+ const localVarPath = `/v1/business/favorite/count/{id}`
7520
+ .replace(`{${"id"}}`, encodeURIComponent(String(id)));
7511
7521
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
7512
7522
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
7513
7523
  let baseOptions;
@@ -8014,7 +8024,7 @@ export const BusinessApiFp = function(configuration?: Configuration) {
8014
8024
  * @param {*} [options] Override http request option.
8015
8025
  * @throws {RequiredError}
8016
8026
  */
8017
- async businessTypeControllerFindFriendsFavoriteBusinessVenueList(findFriendsFavoritesDTO: FindFriendsFavoritesDTO, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BusinessFavoriteCountResponseDTO>> {
8027
+ async businessTypeControllerFindFriendsFavoriteBusinessVenueList(findFriendsFavoritesDTO: FindFriendsFavoritesDTO, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BusinessFavoriteListResponseDTO>> {
8018
8028
  const localVarAxiosArgs = await localVarAxiosParamCreator.businessTypeControllerFindFriendsFavoriteBusinessVenueList(findFriendsFavoritesDTO, options);
8019
8029
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
8020
8030
  const localVarOperationServerBasePath = operationServerMap['BusinessApi.businessTypeControllerFindFriendsFavoriteBusinessVenueList']?.[localVarOperationServerIndex]?.url;
@@ -8229,7 +8239,7 @@ export const BusinessApiFactory = function (configuration?: Configuration, baseP
8229
8239
  * @param {*} [options] Override http request option.
8230
8240
  * @throws {RequiredError}
8231
8241
  */
8232
- businessTypeControllerFindFriendsFavoriteBusinessVenueList(findFriendsFavoritesDTO: FindFriendsFavoritesDTO, options?: RawAxiosRequestConfig): AxiosPromise<BusinessFavoriteCountResponseDTO> {
8242
+ businessTypeControllerFindFriendsFavoriteBusinessVenueList(findFriendsFavoritesDTO: FindFriendsFavoritesDTO, options?: RawAxiosRequestConfig): AxiosPromise<BusinessFavoriteListResponseDTO> {
8233
8243
  return localVarFp.businessTypeControllerFindFriendsFavoriteBusinessVenueList(findFriendsFavoritesDTO, options).then((request) => request(axios, basePath));
8234
8244
  },
8235
8245
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gooday_corp/gooday-api-client",
3
- "version": "1.2.30",
3
+ "version": "1.2.32",
4
4
  "description": "API client for Gooday",
5
5
  "main": "index.ts",
6
6
  "scripts": {},