ch-api-client-typescript2 2.8.1 → 2.8.4

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/lib/base.js CHANGED
@@ -16,10 +16,12 @@ var __extends = (this && this.__extends) || (function () {
16
16
  var extendStatics = function (d, b) {
17
17
  extendStatics = Object.setPrototypeOf ||
18
18
  ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
19
- function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
19
+ function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
20
20
  return extendStatics(d, b);
21
21
  };
22
22
  return function (d, b) {
23
+ if (typeof b !== "function" && b !== null)
24
+ throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
23
25
  extendStatics(d, b);
24
26
  function __() { this.constructor = d; }
25
27
  d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
package/lib/common.d.ts CHANGED
@@ -62,5 +62,5 @@ export declare const toPathString: (url: URL) => string;
62
62
  *
63
63
  * @export
64
64
  */
65
- export declare const createRequestFunction: (axiosArgs: RequestArgs, globalAxios: AxiosInstance, BASE_PATH: string, configuration?: Configuration | undefined) => <T = unknown, R = AxiosResponse<T>>(axios?: AxiosInstance, basePath?: string) => Promise<R>;
65
+ export declare const createRequestFunction: (axiosArgs: RequestArgs, globalAxios: AxiosInstance, BASE_PATH: string, configuration?: Configuration | undefined) => <T = unknown, R = AxiosResponse<T, any>>(axios?: AxiosInstance, basePath?: string) => Promise<R>;
66
66
  //# sourceMappingURL=common.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"common.d.ts","sourceRoot":"","sources":["../src/common.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAChD,OAAO,EAAiB,WAAW,EAAE,MAAM,QAAQ,CAAC;AACpD,OAAO,EAAE,aAAa,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AAErD;;;GAGG;AACH,eAAO,MAAM,cAAc,wBAAwB,CAAA;AAEnD;;;;GAIG;AACH,eAAO,MAAM,iBAAiB,iBAA2B,MAAM,aAAa,MAAM,cAAc,OAAO,SAItG,CAAA;AAED;;;GAGG;AACH,eAAO,MAAM,iBAAiB,WAA2B,GAAG,gBAAgB,MAAM,6DAOjF,CAAA;AAED;;;GAGG;AACH,eAAO,MAAM,oBAAoB,WAAqB,GAAG,oDAIxD,CAAA;AAED;;;GAGG;AACH,eAAO,MAAM,qBAAqB,WAA2B,GAAG,6DAO/D,CAAA;AAED;;;GAGG;AACH,eAAO,MAAM,gBAAgB,WAA2B,GAAG,QAAQ,MAAM,UAAU,MAAM,EAAE,6DAO1F,CAAA;AAED;;;GAGG;AACH,eAAO,MAAM,eAAe,QAAkB,GAAG,cAAc,GAAG,EAAE,SAenE,CAAA;AAED;;;GAGG;AACH,eAAO,MAAM,qBAAqB,UAAoB,GAAG,kBAAkB,GAAG,mDAQ7E,CAAA;AAED;;;GAGG;AACH,eAAO,MAAM,YAAY,QAAkB,GAAG,WAE7C,CAAA;AAED;;;GAGG;AACH,eAAO,MAAM,qBAAqB,cAAwB,WAAW,eAAe,aAAa,aAAa,MAAM,4FAC9D,aAAa,aAA0B,MAAM,eAIlG,CAAA"}
1
+ {"version":3,"file":"common.d.ts","sourceRoot":"","sources":["../src/common.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAChD,OAAO,EAAiB,WAAW,EAAE,MAAM,QAAQ,CAAC;AACpD,OAAO,EAAE,aAAa,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AAErD;;;GAGG;AACH,eAAO,MAAM,cAAc,wBAAwB,CAAA;AAEnD;;;;GAIG;AACH,eAAO,MAAM,iBAAiB,iBAA2B,MAAM,aAAa,MAAM,cAAc,OAAO,SAItG,CAAA;AAED;;;GAGG;AACH,eAAO,MAAM,iBAAiB,WAA2B,GAAG,gBAAgB,MAAM,6DAOjF,CAAA;AAED;;;GAGG;AACH,eAAO,MAAM,oBAAoB,WAAqB,GAAG,oDAIxD,CAAA;AAED;;;GAGG;AACH,eAAO,MAAM,qBAAqB,WAA2B,GAAG,6DAO/D,CAAA;AAED;;;GAGG;AACH,eAAO,MAAM,gBAAgB,WAA2B,GAAG,QAAQ,MAAM,UAAU,MAAM,EAAE,6DAO1F,CAAA;AAED;;;GAGG;AACH,eAAO,MAAM,eAAe,QAAkB,GAAG,cAAc,GAAG,EAAE,SAenE,CAAA;AAED;;;GAGG;AACH,eAAO,MAAM,qBAAqB,UAAoB,GAAG,kBAAkB,GAAG,mDAQ7E,CAAA;AAED;;;GAGG;AACH,eAAO,MAAM,YAAY,QAAkB,GAAG,WAE7C,CAAA;AAED;;;GAGG;AACH,eAAO,MAAM,qBAAqB,cAAwB,WAAW,eAAe,aAAa,aAAa,MAAM,iGAC9D,aAAa,aAA0B,MAAM,eAIlG,CAAA"}
package/lib/common.js CHANGED
@@ -72,16 +72,17 @@ exports.DUMMY_BASE_URL = 'https://example.com';
72
72
  * @throws {RequiredError}
73
73
  * @export
74
74
  */
75
- exports.assertParamExists = function (functionName, paramName, paramValue) {
75
+ var assertParamExists = function (functionName, paramName, paramValue) {
76
76
  if (paramValue === null || paramValue === undefined) {
77
- throw new base_1.RequiredError(paramName, "Required parameter " + paramName + " was null or undefined when calling " + functionName + ".");
77
+ throw new base_1.RequiredError(paramName, "Required parameter ".concat(paramName, " was null or undefined when calling ").concat(functionName, "."));
78
78
  }
79
79
  };
80
+ exports.assertParamExists = assertParamExists;
80
81
  /**
81
82
  *
82
83
  * @export
83
84
  */
84
- exports.setApiKeyToObject = function (object, keyParamName, configuration) {
85
+ var setApiKeyToObject = function (object, keyParamName, configuration) {
85
86
  return __awaiter(this, void 0, void 0, function () {
86
87
  var localVarApiKeyValue, _a;
87
88
  return __generator(this, function (_b) {
@@ -106,20 +107,22 @@ exports.setApiKeyToObject = function (object, keyParamName, configuration) {
106
107
  });
107
108
  });
108
109
  };
110
+ exports.setApiKeyToObject = setApiKeyToObject;
109
111
  /**
110
112
  *
111
113
  * @export
112
114
  */
113
- exports.setBasicAuthToObject = function (object, configuration) {
115
+ var setBasicAuthToObject = function (object, configuration) {
114
116
  if (configuration && (configuration.username || configuration.password)) {
115
117
  object["auth"] = { username: configuration.username, password: configuration.password };
116
118
  }
117
119
  };
120
+ exports.setBasicAuthToObject = setBasicAuthToObject;
118
121
  /**
119
122
  *
120
123
  * @export
121
124
  */
122
- exports.setBearerAuthToObject = function (object, configuration) {
125
+ var setBearerAuthToObject = function (object, configuration) {
123
126
  return __awaiter(this, void 0, void 0, function () {
124
127
  var accessToken, _a;
125
128
  return __generator(this, function (_b) {
@@ -144,11 +147,12 @@ exports.setBearerAuthToObject = function (object, configuration) {
144
147
  });
145
148
  });
146
149
  };
150
+ exports.setBearerAuthToObject = setBearerAuthToObject;
147
151
  /**
148
152
  *
149
153
  * @export
150
154
  */
151
- exports.setOAuthToObject = function (object, name, scopes, configuration) {
155
+ var setOAuthToObject = function (object, name, scopes, configuration) {
152
156
  return __awaiter(this, void 0, void 0, function () {
153
157
  var localVarAccessTokenValue, _a;
154
158
  return __generator(this, function (_b) {
@@ -173,11 +177,12 @@ exports.setOAuthToObject = function (object, name, scopes, configuration) {
173
177
  });
174
178
  });
175
179
  };
180
+ exports.setOAuthToObject = setOAuthToObject;
176
181
  /**
177
182
  *
178
183
  * @export
179
184
  */
180
- exports.setSearchParams = function (url) {
185
+ var setSearchParams = function (url) {
181
186
  var objects = [];
182
187
  for (var _i = 1; _i < arguments.length; _i++) {
183
188
  objects[_i - 1] = arguments[_i];
@@ -200,11 +205,12 @@ exports.setSearchParams = function (url) {
200
205
  }
201
206
  url.search = searchParams.toString();
202
207
  };
208
+ exports.setSearchParams = setSearchParams;
203
209
  /**
204
210
  *
205
211
  * @export
206
212
  */
207
- exports.serializeDataIfNeeded = function (value, requestOptions, configuration) {
213
+ var serializeDataIfNeeded = function (value, requestOptions, configuration) {
208
214
  var nonString = typeof value !== 'string';
209
215
  var needsSerialization = nonString && configuration && configuration.isJsonMime
210
216
  ? configuration.isJsonMime(requestOptions.headers['Content-Type'])
@@ -213,18 +219,20 @@ exports.serializeDataIfNeeded = function (value, requestOptions, configuration)
213
219
  ? JSON.stringify(value !== undefined ? value : {})
214
220
  : (value || "");
215
221
  };
222
+ exports.serializeDataIfNeeded = serializeDataIfNeeded;
216
223
  /**
217
224
  *
218
225
  * @export
219
226
  */
220
- exports.toPathString = function (url) {
227
+ var toPathString = function (url) {
221
228
  return url.pathname + url.search + url.hash;
222
229
  };
230
+ exports.toPathString = toPathString;
223
231
  /**
224
232
  *
225
233
  * @export
226
234
  */
227
- exports.createRequestFunction = function (axiosArgs, globalAxios, BASE_PATH, configuration) {
235
+ var createRequestFunction = function (axiosArgs, globalAxios, BASE_PATH, configuration) {
228
236
  return function (axios, basePath) {
229
237
  if (axios === void 0) { axios = globalAxios; }
230
238
  if (basePath === void 0) { basePath = BASE_PATH; }
@@ -232,3 +240,4 @@ exports.createRequestFunction = function (axiosArgs, globalAxios, BASE_PATH, con
232
240
  return axios.request(axiosRequestArgs);
233
241
  };
234
242
  };
243
+ exports.createRequestFunction = createRequestFunction;
package/lib/index.js CHANGED
@@ -14,13 +14,17 @@
14
14
  */
15
15
  var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
16
16
  if (k2 === undefined) k2 = k;
17
- Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
17
+ var desc = Object.getOwnPropertyDescriptor(m, k);
18
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
19
+ desc = { enumerable: true, get: function() { return m[k]; } };
20
+ }
21
+ Object.defineProperty(o, k2, desc);
18
22
  }) : (function(o, m, k, k2) {
19
23
  if (k2 === undefined) k2 = k;
20
24
  o[k2] = m[k];
21
25
  }));
22
26
  var __exportStar = (this && this.__exportStar) || function(m, exports) {
23
- for (var p in m) if (p !== "default" && !exports.hasOwnProperty(p)) __createBinding(exports, m, p);
27
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
24
28
  };
25
29
  Object.defineProperty(exports, "__esModule", { value: true });
26
30
  __exportStar(require("./api"), exports);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ch-api-client-typescript2",
3
- "version": "2.8.1",
3
+ "version": "2.8.4",
4
4
  "description": "Openapi generated typescript-axios client for CloudHospital",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -19,8 +19,8 @@
19
19
  "author": "hyounoosung@gmail.com",
20
20
  "license": "ISC",
21
21
  "dependencies": {
22
- "axios": "^0.21.0",
23
- "typescript": "^3.8.3"
22
+ "axios": "^0.26.1",
23
+ "typescript": "^4.6.2"
24
24
  },
25
25
  "devDependencies": {
26
26
  "@openapitools/openapi-generator-cli": "^2.1.7",
package/src/api.ts CHANGED
@@ -19508,6 +19508,8 @@ export const DoctorsApiAxiosParamCreator = function (configuration?: Configurati
19508
19508
  * @param {string} [languageCode]
19509
19509
  * @param {boolean} [returnDefaultValue]
19510
19510
  * @param {Array<string>} [ids]
19511
+ * @param {string} [specialtyId]
19512
+ * @param {boolean} [consultationEnabled]
19511
19513
  * @param {string} [id]
19512
19514
  * @param {string} [fullname]
19513
19515
  * @param {string} [email]
@@ -19521,7 +19523,7 @@ export const DoctorsApiAxiosParamCreator = function (configuration?: Configurati
19521
19523
  * @param {*} [options] Override http request option.
19522
19524
  * @throws {RequiredError}
19523
19525
  */
19524
- apiV2DoctorsGet: async (hospitalId?: string, languageCode?: string, returnDefaultValue?: boolean, ids?: Array<string>, id?: string, fullname?: string, email?: string, gender?: Gender, dateOfBirth?: Date, created?: Date, showHidden?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
19526
+ apiV2DoctorsGet: async (hospitalId?: string, languageCode?: string, returnDefaultValue?: boolean, ids?: Array<string>, specialtyId?: string, consultationEnabled?: boolean, id?: string, fullname?: string, email?: string, gender?: Gender, dateOfBirth?: Date, created?: Date, showHidden?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
19525
19527
  const localVarPath = `/api/v2/doctors`;
19526
19528
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
19527
19529
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -19550,6 +19552,14 @@ export const DoctorsApiAxiosParamCreator = function (configuration?: Configurati
19550
19552
  localVarQueryParameter['Ids'] = ids;
19551
19553
  }
19552
19554
 
19555
+ if (specialtyId !== undefined) {
19556
+ localVarQueryParameter['SpecialtyId'] = specialtyId;
19557
+ }
19558
+
19559
+ if (consultationEnabled !== undefined) {
19560
+ localVarQueryParameter['ConsultationEnabled'] = consultationEnabled;
19561
+ }
19562
+
19553
19563
  if (id !== undefined) {
19554
19564
  localVarQueryParameter['Id'] = id;
19555
19565
  }
@@ -19614,6 +19624,8 @@ export const DoctorsApiAxiosParamCreator = function (configuration?: Configurati
19614
19624
  * @param {string} [languageCode]
19615
19625
  * @param {boolean} [returnDefaultValue]
19616
19626
  * @param {Array<string>} [ids]
19627
+ * @param {string} [specialtyId]
19628
+ * @param {boolean} [consultationEnabled]
19617
19629
  * @param {string} [id]
19618
19630
  * @param {string} [fullname]
19619
19631
  * @param {string} [email]
@@ -19627,7 +19639,7 @@ export const DoctorsApiAxiosParamCreator = function (configuration?: Configurati
19627
19639
  * @param {*} [options] Override http request option.
19628
19640
  * @throws {RequiredError}
19629
19641
  */
19630
- apiV2DoctorsSimpleGet: async (hospitalId?: string, languageCode?: string, returnDefaultValue?: boolean, ids?: Array<string>, id?: string, fullname?: string, email?: string, gender?: Gender, dateOfBirth?: Date, created?: Date, showHidden?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
19642
+ apiV2DoctorsSimpleGet: async (hospitalId?: string, languageCode?: string, returnDefaultValue?: boolean, ids?: Array<string>, specialtyId?: string, consultationEnabled?: boolean, id?: string, fullname?: string, email?: string, gender?: Gender, dateOfBirth?: Date, created?: Date, showHidden?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
19631
19643
  const localVarPath = `/api/v2/doctors/simple`;
19632
19644
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
19633
19645
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -19656,6 +19668,14 @@ export const DoctorsApiAxiosParamCreator = function (configuration?: Configurati
19656
19668
  localVarQueryParameter['Ids'] = ids;
19657
19669
  }
19658
19670
 
19671
+ if (specialtyId !== undefined) {
19672
+ localVarQueryParameter['SpecialtyId'] = specialtyId;
19673
+ }
19674
+
19675
+ if (consultationEnabled !== undefined) {
19676
+ localVarQueryParameter['ConsultationEnabled'] = consultationEnabled;
19677
+ }
19678
+
19659
19679
  if (id !== undefined) {
19660
19680
  localVarQueryParameter['Id'] = id;
19661
19681
  }
@@ -19960,6 +19980,8 @@ export const DoctorsApiFp = function(configuration?: Configuration) {
19960
19980
  * @param {string} [languageCode]
19961
19981
  * @param {boolean} [returnDefaultValue]
19962
19982
  * @param {Array<string>} [ids]
19983
+ * @param {string} [specialtyId]
19984
+ * @param {boolean} [consultationEnabled]
19963
19985
  * @param {string} [id]
19964
19986
  * @param {string} [fullname]
19965
19987
  * @param {string} [email]
@@ -19973,8 +19995,8 @@ export const DoctorsApiFp = function(configuration?: Configuration) {
19973
19995
  * @param {*} [options] Override http request option.
19974
19996
  * @throws {RequiredError}
19975
19997
  */
19976
- async apiV2DoctorsGet(hospitalId?: string, languageCode?: string, returnDefaultValue?: boolean, ids?: Array<string>, id?: string, fullname?: string, email?: string, gender?: Gender, dateOfBirth?: Date, created?: Date, showHidden?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DoctorsModel>> {
19977
- const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2DoctorsGet(hospitalId, languageCode, returnDefaultValue, ids, id, fullname, email, gender, dateOfBirth, created, showHidden, page, limit, lastRetrieved, options);
19998
+ async apiV2DoctorsGet(hospitalId?: string, languageCode?: string, returnDefaultValue?: boolean, ids?: Array<string>, specialtyId?: string, consultationEnabled?: boolean, id?: string, fullname?: string, email?: string, gender?: Gender, dateOfBirth?: Date, created?: Date, showHidden?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DoctorsModel>> {
19999
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2DoctorsGet(hospitalId, languageCode, returnDefaultValue, ids, specialtyId, consultationEnabled, id, fullname, email, gender, dateOfBirth, created, showHidden, page, limit, lastRetrieved, options);
19978
20000
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
19979
20001
  },
19980
20002
  /**
@@ -19984,6 +20006,8 @@ export const DoctorsApiFp = function(configuration?: Configuration) {
19984
20006
  * @param {string} [languageCode]
19985
20007
  * @param {boolean} [returnDefaultValue]
19986
20008
  * @param {Array<string>} [ids]
20009
+ * @param {string} [specialtyId]
20010
+ * @param {boolean} [consultationEnabled]
19987
20011
  * @param {string} [id]
19988
20012
  * @param {string} [fullname]
19989
20013
  * @param {string} [email]
@@ -19997,8 +20021,8 @@ export const DoctorsApiFp = function(configuration?: Configuration) {
19997
20021
  * @param {*} [options] Override http request option.
19998
20022
  * @throws {RequiredError}
19999
20023
  */
20000
- async apiV2DoctorsSimpleGet(hospitalId?: string, languageCode?: string, returnDefaultValue?: boolean, ids?: Array<string>, id?: string, fullname?: string, email?: string, gender?: Gender, dateOfBirth?: Date, created?: Date, showHidden?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DoctorsSimpleModel>> {
20001
- const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2DoctorsSimpleGet(hospitalId, languageCode, returnDefaultValue, ids, id, fullname, email, gender, dateOfBirth, created, showHidden, page, limit, lastRetrieved, options);
20024
+ async apiV2DoctorsSimpleGet(hospitalId?: string, languageCode?: string, returnDefaultValue?: boolean, ids?: Array<string>, specialtyId?: string, consultationEnabled?: boolean, id?: string, fullname?: string, email?: string, gender?: Gender, dateOfBirth?: Date, created?: Date, showHidden?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DoctorsSimpleModel>> {
20025
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2DoctorsSimpleGet(hospitalId, languageCode, returnDefaultValue, ids, specialtyId, consultationEnabled, id, fullname, email, gender, dateOfBirth, created, showHidden, page, limit, lastRetrieved, options);
20002
20026
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
20003
20027
  },
20004
20028
  /**
@@ -20204,6 +20228,8 @@ export const DoctorsApiFactory = function (configuration?: Configuration, basePa
20204
20228
  * @param {string} [languageCode]
20205
20229
  * @param {boolean} [returnDefaultValue]
20206
20230
  * @param {Array<string>} [ids]
20231
+ * @param {string} [specialtyId]
20232
+ * @param {boolean} [consultationEnabled]
20207
20233
  * @param {string} [id]
20208
20234
  * @param {string} [fullname]
20209
20235
  * @param {string} [email]
@@ -20217,8 +20243,8 @@ export const DoctorsApiFactory = function (configuration?: Configuration, basePa
20217
20243
  * @param {*} [options] Override http request option.
20218
20244
  * @throws {RequiredError}
20219
20245
  */
20220
- apiV2DoctorsGet(hospitalId?: string, languageCode?: string, returnDefaultValue?: boolean, ids?: Array<string>, id?: string, fullname?: string, email?: string, gender?: Gender, dateOfBirth?: Date, created?: Date, showHidden?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<DoctorsModel> {
20221
- return localVarFp.apiV2DoctorsGet(hospitalId, languageCode, returnDefaultValue, ids, id, fullname, email, gender, dateOfBirth, created, showHidden, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
20246
+ apiV2DoctorsGet(hospitalId?: string, languageCode?: string, returnDefaultValue?: boolean, ids?: Array<string>, specialtyId?: string, consultationEnabled?: boolean, id?: string, fullname?: string, email?: string, gender?: Gender, dateOfBirth?: Date, created?: Date, showHidden?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<DoctorsModel> {
20247
+ return localVarFp.apiV2DoctorsGet(hospitalId, languageCode, returnDefaultValue, ids, specialtyId, consultationEnabled, id, fullname, email, gender, dateOfBirth, created, showHidden, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
20222
20248
  },
20223
20249
  /**
20224
20250
  *
@@ -20227,6 +20253,8 @@ export const DoctorsApiFactory = function (configuration?: Configuration, basePa
20227
20253
  * @param {string} [languageCode]
20228
20254
  * @param {boolean} [returnDefaultValue]
20229
20255
  * @param {Array<string>} [ids]
20256
+ * @param {string} [specialtyId]
20257
+ * @param {boolean} [consultationEnabled]
20230
20258
  * @param {string} [id]
20231
20259
  * @param {string} [fullname]
20232
20260
  * @param {string} [email]
@@ -20240,8 +20268,8 @@ export const DoctorsApiFactory = function (configuration?: Configuration, basePa
20240
20268
  * @param {*} [options] Override http request option.
20241
20269
  * @throws {RequiredError}
20242
20270
  */
20243
- apiV2DoctorsSimpleGet(hospitalId?: string, languageCode?: string, returnDefaultValue?: boolean, ids?: Array<string>, id?: string, fullname?: string, email?: string, gender?: Gender, dateOfBirth?: Date, created?: Date, showHidden?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<DoctorsSimpleModel> {
20244
- return localVarFp.apiV2DoctorsSimpleGet(hospitalId, languageCode, returnDefaultValue, ids, id, fullname, email, gender, dateOfBirth, created, showHidden, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
20271
+ apiV2DoctorsSimpleGet(hospitalId?: string, languageCode?: string, returnDefaultValue?: boolean, ids?: Array<string>, specialtyId?: string, consultationEnabled?: boolean, id?: string, fullname?: string, email?: string, gender?: Gender, dateOfBirth?: Date, created?: Date, showHidden?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<DoctorsSimpleModel> {
20272
+ return localVarFp.apiV2DoctorsSimpleGet(hospitalId, languageCode, returnDefaultValue, ids, specialtyId, consultationEnabled, id, fullname, email, gender, dateOfBirth, created, showHidden, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
20245
20273
  },
20246
20274
  /**
20247
20275
  *
@@ -20471,6 +20499,8 @@ export class DoctorsApi extends BaseAPI {
20471
20499
  * @param {string} [languageCode]
20472
20500
  * @param {boolean} [returnDefaultValue]
20473
20501
  * @param {Array<string>} [ids]
20502
+ * @param {string} [specialtyId]
20503
+ * @param {boolean} [consultationEnabled]
20474
20504
  * @param {string} [id]
20475
20505
  * @param {string} [fullname]
20476
20506
  * @param {string} [email]
@@ -20485,8 +20515,8 @@ export class DoctorsApi extends BaseAPI {
20485
20515
  * @throws {RequiredError}
20486
20516
  * @memberof DoctorsApi
20487
20517
  */
20488
- public apiV2DoctorsGet(hospitalId?: string, languageCode?: string, returnDefaultValue?: boolean, ids?: Array<string>, id?: string, fullname?: string, email?: string, gender?: Gender, dateOfBirth?: Date, created?: Date, showHidden?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
20489
- return DoctorsApiFp(this.configuration).apiV2DoctorsGet(hospitalId, languageCode, returnDefaultValue, ids, id, fullname, email, gender, dateOfBirth, created, showHidden, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
20518
+ public apiV2DoctorsGet(hospitalId?: string, languageCode?: string, returnDefaultValue?: boolean, ids?: Array<string>, specialtyId?: string, consultationEnabled?: boolean, id?: string, fullname?: string, email?: string, gender?: Gender, dateOfBirth?: Date, created?: Date, showHidden?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
20519
+ return DoctorsApiFp(this.configuration).apiV2DoctorsGet(hospitalId, languageCode, returnDefaultValue, ids, specialtyId, consultationEnabled, id, fullname, email, gender, dateOfBirth, created, showHidden, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
20490
20520
  }
20491
20521
 
20492
20522
  /**
@@ -20496,6 +20526,8 @@ export class DoctorsApi extends BaseAPI {
20496
20526
  * @param {string} [languageCode]
20497
20527
  * @param {boolean} [returnDefaultValue]
20498
20528
  * @param {Array<string>} [ids]
20529
+ * @param {string} [specialtyId]
20530
+ * @param {boolean} [consultationEnabled]
20499
20531
  * @param {string} [id]
20500
20532
  * @param {string} [fullname]
20501
20533
  * @param {string} [email]
@@ -20510,8 +20542,8 @@ export class DoctorsApi extends BaseAPI {
20510
20542
  * @throws {RequiredError}
20511
20543
  * @memberof DoctorsApi
20512
20544
  */
20513
- public apiV2DoctorsSimpleGet(hospitalId?: string, languageCode?: string, returnDefaultValue?: boolean, ids?: Array<string>, id?: string, fullname?: string, email?: string, gender?: Gender, dateOfBirth?: Date, created?: Date, showHidden?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
20514
- return DoctorsApiFp(this.configuration).apiV2DoctorsSimpleGet(hospitalId, languageCode, returnDefaultValue, ids, id, fullname, email, gender, dateOfBirth, created, showHidden, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
20545
+ public apiV2DoctorsSimpleGet(hospitalId?: string, languageCode?: string, returnDefaultValue?: boolean, ids?: Array<string>, specialtyId?: string, consultationEnabled?: boolean, id?: string, fullname?: string, email?: string, gender?: Gender, dateOfBirth?: Date, created?: Date, showHidden?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
20546
+ return DoctorsApiFp(this.configuration).apiV2DoctorsSimpleGet(hospitalId, languageCode, returnDefaultValue, ids, specialtyId, consultationEnabled, id, fullname, email, gender, dateOfBirth, created, showHidden, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
20515
20547
  }
20516
20548
 
20517
20549
  /**