@gooday_corp/gooday-api-client 1.1.52 → 1.1.54

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 +14 -15
  2. package/package.json +1 -1
package/api.ts CHANGED
@@ -3118,10 +3118,10 @@ export interface ResetPasswordResponseDTO {
3118
3118
  export interface SendCollaborateInvitePayload {
3119
3119
  /**
3120
3120
  * identifier of the collaborator
3121
- * @type {string}
3121
+ * @type {Array<string>}
3122
3122
  * @memberof SendCollaborateInvitePayload
3123
3123
  */
3124
- 'collaborator': string;
3124
+ 'collaborator': Array<string>;
3125
3125
  /**
3126
3126
  * The calendar identifier
3127
3127
  * @type {string}
@@ -5595,12 +5595,15 @@ export const BusinessApiAxiosParamCreator = function (configuration?: Configurat
5595
5595
  },
5596
5596
  /**
5597
5597
  *
5598
- * @param {boolean} [favorite] Business Type Allow Return Favourite
5598
+ * @param {boolean} favorite
5599
5599
  * @param {*} [options] Override http request option.
5600
5600
  * @throws {RequiredError}
5601
5601
  */
5602
- businessTypeControllerListBusinessType: async (favorite?: boolean, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
5603
- const localVarPath = `/v1/business/list`;
5602
+ businessTypeControllerListBusinessType: async (favorite: boolean, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
5603
+ // verify required parameter 'favorite' is not null or undefined
5604
+ assertParamExists('businessTypeControllerListBusinessType', 'favorite', favorite)
5605
+ const localVarPath = `/v1/business/list{favorite}`
5606
+ .replace(`{${"favorite"}}`, encodeURIComponent(String(favorite)));
5604
5607
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
5605
5608
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
5606
5609
  let baseOptions;
@@ -5616,10 +5619,6 @@ export const BusinessApiAxiosParamCreator = function (configuration?: Configurat
5616
5619
  // http bearer authentication required
5617
5620
  await setBearerAuthToObject(localVarHeaderParameter, configuration)
5618
5621
 
5619
- if (favorite !== undefined) {
5620
- localVarQueryParameter['favorite'] = favorite;
5621
- }
5622
-
5623
5622
 
5624
5623
 
5625
5624
  setSearchParams(localVarUrlObj, localVarQueryParameter);
@@ -5907,11 +5906,11 @@ export const BusinessApiFp = function(configuration?: Configuration) {
5907
5906
  },
5908
5907
  /**
5909
5908
  *
5910
- * @param {boolean} [favorite] Business Type Allow Return Favourite
5909
+ * @param {boolean} favorite
5911
5910
  * @param {*} [options] Override http request option.
5912
5911
  * @throws {RequiredError}
5913
5912
  */
5914
- async businessTypeControllerListBusinessType(favorite?: boolean, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BusinessTypeListResponse>> {
5913
+ async businessTypeControllerListBusinessType(favorite: boolean, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BusinessTypeListResponse>> {
5915
5914
  const localVarAxiosArgs = await localVarAxiosParamCreator.businessTypeControllerListBusinessType(favorite, options);
5916
5915
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
5917
5916
  const localVarOperationServerBasePath = operationServerMap['BusinessApi.businessTypeControllerListBusinessType']?.[localVarOperationServerIndex]?.url;
@@ -6034,11 +6033,11 @@ export const BusinessApiFactory = function (configuration?: Configuration, baseP
6034
6033
  },
6035
6034
  /**
6036
6035
  *
6037
- * @param {boolean} [favorite] Business Type Allow Return Favourite
6036
+ * @param {boolean} favorite
6038
6037
  * @param {*} [options] Override http request option.
6039
6038
  * @throws {RequiredError}
6040
6039
  */
6041
- businessTypeControllerListBusinessType(favorite?: boolean, options?: RawAxiosRequestConfig): AxiosPromise<BusinessTypeListResponse> {
6040
+ businessTypeControllerListBusinessType(favorite: boolean, options?: RawAxiosRequestConfig): AxiosPromise<BusinessTypeListResponse> {
6042
6041
  return localVarFp.businessTypeControllerListBusinessType(favorite, options).then((request) => request(axios, basePath));
6043
6042
  },
6044
6043
  /**
@@ -6148,12 +6147,12 @@ export class BusinessApi extends BaseAPI {
6148
6147
 
6149
6148
  /**
6150
6149
  *
6151
- * @param {boolean} [favorite] Business Type Allow Return Favourite
6150
+ * @param {boolean} favorite
6152
6151
  * @param {*} [options] Override http request option.
6153
6152
  * @throws {RequiredError}
6154
6153
  * @memberof BusinessApi
6155
6154
  */
6156
- public businessTypeControllerListBusinessType(favorite?: boolean, options?: RawAxiosRequestConfig) {
6155
+ public businessTypeControllerListBusinessType(favorite: boolean, options?: RawAxiosRequestConfig) {
6157
6156
  return BusinessApiFp(this.configuration).businessTypeControllerListBusinessType(favorite, options).then((request) => request(this.axios, this.basePath));
6158
6157
  }
6159
6158
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gooday_corp/gooday-api-client",
3
- "version": "1.1.52",
3
+ "version": "1.1.54",
4
4
  "description": "API client for Gooday",
5
5
  "main": "index.ts",
6
6
  "scripts": {},