ch-api-client-typescript2 5.90.57 → 5.90.65

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.
@@ -176,6 +176,89 @@ var DoctorAffiliationsApiAxiosParamCreator = function (configuration) {
176
176
  });
177
177
  });
178
178
  },
179
+ /**
180
+ *
181
+ * @summary Get formResults by doctorAffiliationId
182
+ * @param {string} doctorAffiliationId
183
+ * @param {FormResultByHospitalSortingField} [sortingField]
184
+ * @param {SortingDirection} [sortingDirection]
185
+ * @param {string} [languageCode]
186
+ * @param {Date} [startDate]
187
+ * @param {Date} [endDate]
188
+ * @param {FormTemplateType} [formTemplateType]
189
+ * @param {FormResultStatus} [status]
190
+ * @param {number} [page]
191
+ * @param {number} [limit]
192
+ * @param {Date} [lastRetrieved]
193
+ * @param {*} [options] Override http request option.
194
+ * @throws {RequiredError}
195
+ */
196
+ apiV2DoctoraffiliationsDoctorAffiliationIdFormresultsGet: function (doctorAffiliationId_1, sortingField_1, sortingDirection_1, languageCode_1, startDate_1, endDate_1, formTemplateType_1, status_1, page_1, limit_1, lastRetrieved_1) {
197
+ var args_1 = [];
198
+ for (var _i = 11; _i < arguments.length; _i++) {
199
+ args_1[_i - 11] = arguments[_i];
200
+ }
201
+ return __awaiter(_this, __spreadArray([doctorAffiliationId_1, sortingField_1, sortingDirection_1, languageCode_1, startDate_1, endDate_1, formTemplateType_1, status_1, page_1, limit_1, lastRetrieved_1], args_1, true), void 0, function (doctorAffiliationId, sortingField, sortingDirection, languageCode, startDate, endDate, formTemplateType, status, page, limit, lastRetrieved, options) {
202
+ var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
203
+ if (options === void 0) { options = {}; }
204
+ return __generator(this, function (_a) {
205
+ // verify required parameter 'doctorAffiliationId' is not null or undefined
206
+ (0, common_1.assertParamExists)('apiV2DoctoraffiliationsDoctorAffiliationIdFormresultsGet', 'doctorAffiliationId', doctorAffiliationId);
207
+ localVarPath = "/api/v2/doctoraffiliations/{doctorAffiliationId}/formresults"
208
+ .replace("{".concat("doctorAffiliationId", "}"), encodeURIComponent(String(doctorAffiliationId)));
209
+ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
210
+ if (configuration) {
211
+ baseOptions = configuration.baseOptions;
212
+ }
213
+ localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
214
+ localVarHeaderParameter = {};
215
+ localVarQueryParameter = {};
216
+ if (sortingField !== undefined) {
217
+ localVarQueryParameter['sortingField'] = sortingField;
218
+ }
219
+ if (sortingDirection !== undefined) {
220
+ localVarQueryParameter['sortingDirection'] = sortingDirection;
221
+ }
222
+ if (languageCode !== undefined) {
223
+ localVarQueryParameter['languageCode'] = languageCode;
224
+ }
225
+ if (startDate !== undefined) {
226
+ localVarQueryParameter['startDate'] = (startDate instanceof Date) ?
227
+ startDate.toISOString() :
228
+ startDate;
229
+ }
230
+ if (endDate !== undefined) {
231
+ localVarQueryParameter['endDate'] = (endDate instanceof Date) ?
232
+ endDate.toISOString() :
233
+ endDate;
234
+ }
235
+ if (formTemplateType !== undefined) {
236
+ localVarQueryParameter['formTemplateType'] = formTemplateType;
237
+ }
238
+ if (status !== undefined) {
239
+ localVarQueryParameter['status'] = status;
240
+ }
241
+ if (page !== undefined) {
242
+ localVarQueryParameter['page'] = page;
243
+ }
244
+ if (limit !== undefined) {
245
+ localVarQueryParameter['limit'] = limit;
246
+ }
247
+ if (lastRetrieved !== undefined) {
248
+ localVarQueryParameter['lastRetrieved'] = (lastRetrieved instanceof Date) ?
249
+ lastRetrieved.toISOString() :
250
+ lastRetrieved;
251
+ }
252
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
253
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
254
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
255
+ return [2 /*return*/, {
256
+ url: (0, common_1.toPathString)(localVarUrlObj),
257
+ options: localVarRequestOptions,
258
+ }];
259
+ });
260
+ });
261
+ },
179
262
  /**
180
263
  *
181
264
  * @summary Get all DoctorAffiliationMedias.
@@ -522,6 +605,36 @@ var DoctorAffiliationsApiFp = function (configuration) {
522
605
  });
523
606
  });
524
607
  },
608
+ /**
609
+ *
610
+ * @summary Get formResults by doctorAffiliationId
611
+ * @param {string} doctorAffiliationId
612
+ * @param {FormResultByHospitalSortingField} [sortingField]
613
+ * @param {SortingDirection} [sortingDirection]
614
+ * @param {string} [languageCode]
615
+ * @param {Date} [startDate]
616
+ * @param {Date} [endDate]
617
+ * @param {FormTemplateType} [formTemplateType]
618
+ * @param {FormResultStatus} [status]
619
+ * @param {number} [page]
620
+ * @param {number} [limit]
621
+ * @param {Date} [lastRetrieved]
622
+ * @param {*} [options] Override http request option.
623
+ * @throws {RequiredError}
624
+ */
625
+ apiV2DoctoraffiliationsDoctorAffiliationIdFormresultsGet: function (doctorAffiliationId, sortingField, sortingDirection, languageCode, startDate, endDate, formTemplateType, status, page, limit, lastRetrieved, options) {
626
+ return __awaiter(this, void 0, void 0, function () {
627
+ var localVarAxiosArgs;
628
+ return __generator(this, function (_a) {
629
+ switch (_a.label) {
630
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2DoctoraffiliationsDoctorAffiliationIdFormresultsGet(doctorAffiliationId, sortingField, sortingDirection, languageCode, startDate, endDate, formTemplateType, status, page, limit, lastRetrieved, options)];
631
+ case 1:
632
+ localVarAxiosArgs = _a.sent();
633
+ return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
634
+ }
635
+ });
636
+ });
637
+ },
525
638
  /**
526
639
  *
527
640
  * @summary Get all DoctorAffiliationMedias.
@@ -674,6 +787,26 @@ var DoctorAffiliationsApiFactory = function (configuration, basePath, axios) {
674
787
  apiV2DoctoraffiliationsDoctorAffiliationIdAppointmenttimetablesGet: function (doctorAffiliationId, year, month, timeZone, isExternal, isOnline, appointmentIdExcluded, excludeUnavailableTimeSlots, options) {
675
788
  return localVarFp.apiV2DoctoraffiliationsDoctorAffiliationIdAppointmenttimetablesGet(doctorAffiliationId, year, month, timeZone, isExternal, isOnline, appointmentIdExcluded, excludeUnavailableTimeSlots, options).then(function (request) { return request(axios, basePath); });
676
789
  },
790
+ /**
791
+ *
792
+ * @summary Get formResults by doctorAffiliationId
793
+ * @param {string} doctorAffiliationId
794
+ * @param {FormResultByHospitalSortingField} [sortingField]
795
+ * @param {SortingDirection} [sortingDirection]
796
+ * @param {string} [languageCode]
797
+ * @param {Date} [startDate]
798
+ * @param {Date} [endDate]
799
+ * @param {FormTemplateType} [formTemplateType]
800
+ * @param {FormResultStatus} [status]
801
+ * @param {number} [page]
802
+ * @param {number} [limit]
803
+ * @param {Date} [lastRetrieved]
804
+ * @param {*} [options] Override http request option.
805
+ * @throws {RequiredError}
806
+ */
807
+ apiV2DoctoraffiliationsDoctorAffiliationIdFormresultsGet: function (doctorAffiliationId, sortingField, sortingDirection, languageCode, startDate, endDate, formTemplateType, status, page, limit, lastRetrieved, options) {
808
+ return localVarFp.apiV2DoctoraffiliationsDoctorAffiliationIdFormresultsGet(doctorAffiliationId, sortingField, sortingDirection, languageCode, startDate, endDate, formTemplateType, status, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
809
+ },
677
810
  /**
678
811
  *
679
812
  * @summary Get all DoctorAffiliationMedias.
@@ -775,6 +908,18 @@ var DoctorAffiliationsApi = /** @class */ (function (_super) {
775
908
  var _this = this;
776
909
  return (0, exports.DoctorAffiliationsApiFp)(this.configuration).apiV2DoctoraffiliationsDoctorAffiliationIdAppointmenttimetablesGet(requestParameters.doctorAffiliationId, requestParameters.year, requestParameters.month, requestParameters.timeZone, requestParameters.isExternal, requestParameters.isOnline, requestParameters.appointmentIdExcluded, requestParameters.excludeUnavailableTimeSlots, options).then(function (request) { return request(_this.axios, _this.basePath); });
777
910
  };
911
+ /**
912
+ *
913
+ * @summary Get formResults by doctorAffiliationId
914
+ * @param {DoctorAffiliationsApiApiV2DoctoraffiliationsDoctorAffiliationIdFormresultsGetRequest} requestParameters Request parameters.
915
+ * @param {*} [options] Override http request option.
916
+ * @throws {RequiredError}
917
+ * @memberof DoctorAffiliationsApi
918
+ */
919
+ DoctorAffiliationsApi.prototype.apiV2DoctoraffiliationsDoctorAffiliationIdFormresultsGet = function (requestParameters, options) {
920
+ var _this = this;
921
+ return (0, exports.DoctorAffiliationsApiFp)(this.configuration).apiV2DoctoraffiliationsDoctorAffiliationIdFormresultsGet(requestParameters.doctorAffiliationId, requestParameters.sortingField, requestParameters.sortingDirection, requestParameters.languageCode, requestParameters.startDate, requestParameters.endDate, requestParameters.formTemplateType, requestParameters.status, requestParameters.page, requestParameters.limit, requestParameters.lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
922
+ };
778
923
  /**
779
924
  *
780
925
  * @summary Get all DoctorAffiliationMedias.
@@ -565,6 +565,32 @@ export declare const HospitalsApiAxiosParamCreator: (configuration?: Configurati
565
565
  * @throws {RequiredError}
566
566
  */
567
567
  apiV2HospitalsHospitalIdSecurefilesPost: (hospitalId: string, files?: Array<File>, options?: AxiosRequestConfig) => Promise<RequestArgs>;
568
+ /**
569
+ *
570
+ * @summary Get all HospitalServices by Hospital.
571
+ * @param {string} hospitalId
572
+ * @param {string} [xCloudhospitalPlatform] Platform identifier from request header
573
+ * @param {string} [id]
574
+ * @param {string} [name]
575
+ * @param {string} [slug]
576
+ * @param {string} [specialtyId]
577
+ * @param {string} [specialtyName]
578
+ * @param {string} [specialtyTypeId]
579
+ * @param {string} [specialtyTypeName]
580
+ * @param {string} [serviceCategoryId]
581
+ * @param {boolean} [appointmentEnabled]
582
+ * @param {MarketingType} [marketingType]
583
+ * @param {Procedure} [procedure]
584
+ * @param {Date} [created]
585
+ * @param {string} [languageCode]
586
+ * @param {boolean} [returnDefaultValue]
587
+ * @param {number} [page]
588
+ * @param {number} [limit]
589
+ * @param {Date} [lastRetrieved]
590
+ * @param {*} [options] Override http request option.
591
+ * @throws {RequiredError}
592
+ */
593
+ apiV2HospitalsHospitalIdServicesGet: (hospitalId: string, xCloudhospitalPlatform?: string, id?: string, name?: string, slug?: string, specialtyId?: string, specialtyName?: string, specialtyTypeId?: string, specialtyTypeName?: string, serviceCategoryId?: string, appointmentEnabled?: boolean, marketingType?: MarketingType, procedure?: Procedure, created?: Date, languageCode?: string, returnDefaultValue?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) => Promise<RequestArgs>;
568
594
  /**
569
595
  *
570
596
  * @summary Get all HospitalSpecialties.
@@ -1384,6 +1410,32 @@ export declare const HospitalsApiFp: (configuration?: Configuration) => {
1384
1410
  * @throws {RequiredError}
1385
1411
  */
1386
1412
  apiV2HospitalsHospitalIdSecurefilesPost(hospitalId: string, files?: Array<File>, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SecureFilesUploadedModel>>;
1413
+ /**
1414
+ *
1415
+ * @summary Get all HospitalServices by Hospital.
1416
+ * @param {string} hospitalId
1417
+ * @param {string} [xCloudhospitalPlatform] Platform identifier from request header
1418
+ * @param {string} [id]
1419
+ * @param {string} [name]
1420
+ * @param {string} [slug]
1421
+ * @param {string} [specialtyId]
1422
+ * @param {string} [specialtyName]
1423
+ * @param {string} [specialtyTypeId]
1424
+ * @param {string} [specialtyTypeName]
1425
+ * @param {string} [serviceCategoryId]
1426
+ * @param {boolean} [appointmentEnabled]
1427
+ * @param {MarketingType} [marketingType]
1428
+ * @param {Procedure} [procedure]
1429
+ * @param {Date} [created]
1430
+ * @param {string} [languageCode]
1431
+ * @param {boolean} [returnDefaultValue]
1432
+ * @param {number} [page]
1433
+ * @param {number} [limit]
1434
+ * @param {Date} [lastRetrieved]
1435
+ * @param {*} [options] Override http request option.
1436
+ * @throws {RequiredError}
1437
+ */
1438
+ apiV2HospitalsHospitalIdServicesGet(hospitalId: string, xCloudhospitalPlatform?: string, id?: string, name?: string, slug?: string, specialtyId?: string, specialtyName?: string, specialtyTypeId?: string, specialtyTypeName?: string, serviceCategoryId?: string, appointmentEnabled?: boolean, marketingType?: MarketingType, procedure?: Procedure, created?: Date, languageCode?: string, returnDefaultValue?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<HospitalServicesModel>>;
1387
1439
  /**
1388
1440
  *
1389
1441
  * @summary Get all HospitalSpecialties.
@@ -2203,6 +2255,32 @@ export declare const HospitalsApiFactory: (configuration?: Configuration, basePa
2203
2255
  * @throws {RequiredError}
2204
2256
  */
2205
2257
  apiV2HospitalsHospitalIdSecurefilesPost(hospitalId: string, files?: Array<File>, options?: any): AxiosPromise<SecureFilesUploadedModel>;
2258
+ /**
2259
+ *
2260
+ * @summary Get all HospitalServices by Hospital.
2261
+ * @param {string} hospitalId
2262
+ * @param {string} [xCloudhospitalPlatform] Platform identifier from request header
2263
+ * @param {string} [id]
2264
+ * @param {string} [name]
2265
+ * @param {string} [slug]
2266
+ * @param {string} [specialtyId]
2267
+ * @param {string} [specialtyName]
2268
+ * @param {string} [specialtyTypeId]
2269
+ * @param {string} [specialtyTypeName]
2270
+ * @param {string} [serviceCategoryId]
2271
+ * @param {boolean} [appointmentEnabled]
2272
+ * @param {MarketingType} [marketingType]
2273
+ * @param {Procedure} [procedure]
2274
+ * @param {Date} [created]
2275
+ * @param {string} [languageCode]
2276
+ * @param {boolean} [returnDefaultValue]
2277
+ * @param {number} [page]
2278
+ * @param {number} [limit]
2279
+ * @param {Date} [lastRetrieved]
2280
+ * @param {*} [options] Override http request option.
2281
+ * @throws {RequiredError}
2282
+ */
2283
+ apiV2HospitalsHospitalIdServicesGet(hospitalId: string, xCloudhospitalPlatform?: string, id?: string, name?: string, slug?: string, specialtyId?: string, specialtyName?: string, specialtyTypeId?: string, specialtyTypeName?: string, serviceCategoryId?: string, appointmentEnabled?: boolean, marketingType?: MarketingType, procedure?: Procedure, created?: Date, languageCode?: string, returnDefaultValue?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<HospitalServicesModel>;
2206
2284
  /**
2207
2285
  *
2208
2286
  * @summary Get all HospitalSpecialties.
@@ -4072,6 +4150,127 @@ export interface HospitalsApiApiV2HospitalsHospitalIdSecurefilesPostRequest {
4072
4150
  */
4073
4151
  readonly files?: Array<File>;
4074
4152
  }
4153
+ /**
4154
+ * Request parameters for apiV2HospitalsHospitalIdServicesGet operation in HospitalsApi.
4155
+ * @export
4156
+ * @interface HospitalsApiApiV2HospitalsHospitalIdServicesGetRequest
4157
+ */
4158
+ export interface HospitalsApiApiV2HospitalsHospitalIdServicesGetRequest {
4159
+ /**
4160
+ *
4161
+ * @type {string}
4162
+ * @memberof HospitalsApiApiV2HospitalsHospitalIdServicesGet
4163
+ */
4164
+ readonly hospitalId: string;
4165
+ /**
4166
+ * Platform identifier from request header
4167
+ * @type {string}
4168
+ * @memberof HospitalsApiApiV2HospitalsHospitalIdServicesGet
4169
+ */
4170
+ readonly xCloudhospitalPlatform?: string;
4171
+ /**
4172
+ *
4173
+ * @type {string}
4174
+ * @memberof HospitalsApiApiV2HospitalsHospitalIdServicesGet
4175
+ */
4176
+ readonly id?: string;
4177
+ /**
4178
+ *
4179
+ * @type {string}
4180
+ * @memberof HospitalsApiApiV2HospitalsHospitalIdServicesGet
4181
+ */
4182
+ readonly name?: string;
4183
+ /**
4184
+ *
4185
+ * @type {string}
4186
+ * @memberof HospitalsApiApiV2HospitalsHospitalIdServicesGet
4187
+ */
4188
+ readonly slug?: string;
4189
+ /**
4190
+ *
4191
+ * @type {string}
4192
+ * @memberof HospitalsApiApiV2HospitalsHospitalIdServicesGet
4193
+ */
4194
+ readonly specialtyId?: string;
4195
+ /**
4196
+ *
4197
+ * @type {string}
4198
+ * @memberof HospitalsApiApiV2HospitalsHospitalIdServicesGet
4199
+ */
4200
+ readonly specialtyName?: string;
4201
+ /**
4202
+ *
4203
+ * @type {string}
4204
+ * @memberof HospitalsApiApiV2HospitalsHospitalIdServicesGet
4205
+ */
4206
+ readonly specialtyTypeId?: string;
4207
+ /**
4208
+ *
4209
+ * @type {string}
4210
+ * @memberof HospitalsApiApiV2HospitalsHospitalIdServicesGet
4211
+ */
4212
+ readonly specialtyTypeName?: string;
4213
+ /**
4214
+ *
4215
+ * @type {string}
4216
+ * @memberof HospitalsApiApiV2HospitalsHospitalIdServicesGet
4217
+ */
4218
+ readonly serviceCategoryId?: string;
4219
+ /**
4220
+ *
4221
+ * @type {boolean}
4222
+ * @memberof HospitalsApiApiV2HospitalsHospitalIdServicesGet
4223
+ */
4224
+ readonly appointmentEnabled?: boolean;
4225
+ /**
4226
+ *
4227
+ * @type {MarketingType}
4228
+ * @memberof HospitalsApiApiV2HospitalsHospitalIdServicesGet
4229
+ */
4230
+ readonly marketingType?: MarketingType;
4231
+ /**
4232
+ *
4233
+ * @type {Procedure}
4234
+ * @memberof HospitalsApiApiV2HospitalsHospitalIdServicesGet
4235
+ */
4236
+ readonly procedure?: Procedure;
4237
+ /**
4238
+ *
4239
+ * @type {Date}
4240
+ * @memberof HospitalsApiApiV2HospitalsHospitalIdServicesGet
4241
+ */
4242
+ readonly created?: Date;
4243
+ /**
4244
+ *
4245
+ * @type {string}
4246
+ * @memberof HospitalsApiApiV2HospitalsHospitalIdServicesGet
4247
+ */
4248
+ readonly languageCode?: string;
4249
+ /**
4250
+ *
4251
+ * @type {boolean}
4252
+ * @memberof HospitalsApiApiV2HospitalsHospitalIdServicesGet
4253
+ */
4254
+ readonly returnDefaultValue?: boolean;
4255
+ /**
4256
+ *
4257
+ * @type {number}
4258
+ * @memberof HospitalsApiApiV2HospitalsHospitalIdServicesGet
4259
+ */
4260
+ readonly page?: number;
4261
+ /**
4262
+ *
4263
+ * @type {number}
4264
+ * @memberof HospitalsApiApiV2HospitalsHospitalIdServicesGet
4265
+ */
4266
+ readonly limit?: number;
4267
+ /**
4268
+ *
4269
+ * @type {Date}
4270
+ * @memberof HospitalsApiApiV2HospitalsHospitalIdServicesGet
4271
+ */
4272
+ readonly lastRetrieved?: Date;
4273
+ }
4075
4274
  /**
4076
4275
  * Request parameters for apiV2HospitalsHospitalIdSpecialtiesGet operation in HospitalsApi.
4077
4276
  * @export
@@ -5566,6 +5765,15 @@ export declare class HospitalsApi extends BaseAPI {
5566
5765
  * @memberof HospitalsApi
5567
5766
  */
5568
5767
  apiV2HospitalsHospitalIdSecurefilesPost(requestParameters: HospitalsApiApiV2HospitalsHospitalIdSecurefilesPostRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<SecureFilesUploadedModel, any>>;
5768
+ /**
5769
+ *
5770
+ * @summary Get all HospitalServices by Hospital.
5771
+ * @param {HospitalsApiApiV2HospitalsHospitalIdServicesGetRequest} requestParameters Request parameters.
5772
+ * @param {*} [options] Override http request option.
5773
+ * @throws {RequiredError}
5774
+ * @memberof HospitalsApi
5775
+ */
5776
+ apiV2HospitalsHospitalIdServicesGet(requestParameters: HospitalsApiApiV2HospitalsHospitalIdServicesGetRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<HospitalServicesModel, any>>;
5569
5777
  /**
5570
5778
  *
5571
5779
  * @summary Get all HospitalSpecialties.