ch-api-client-typescript2 5.23.2 → 5.23.10
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/api/deals-api.d.ts +4 -4
- package/lib/api/deals-api.d.ts.map +1 -1
- package/lib/api/doctor-affiliations-api.d.ts +4 -4
- package/lib/api/doctor-affiliations-api.d.ts.map +1 -1
- package/lib/api/hospitals-api.d.ts +10 -75
- package/lib/api/hospitals-api.d.ts.map +1 -1
- package/lib/api/hospitals-api.js +0 -96
- package/lib/api/prescriptions-api.d.ts +198 -0
- package/lib/api/prescriptions-api.d.ts.map +1 -0
- package/lib/api/prescriptions-api.js +346 -0
- package/lib/api.d.ts +1 -0
- package/lib/api.d.ts.map +1 -1
- package/lib/api.js +1 -0
- package/lib/models/{appointment-timetables-model.d.ts → get-appointment-timetables-response-model.d.ts} +7 -7
- package/lib/models/get-appointment-timetables-response-model.d.ts.map +1 -0
- package/lib/models/index.d.ts +7 -2
- package/lib/models/index.d.ts.map +1 -1
- package/lib/models/index.js +7 -2
- package/lib/models/prescription-diagnosis-model.d.ts +37 -0
- package/lib/models/prescription-diagnosis-model.d.ts.map +1 -0
- package/lib/models/prescription-item-model.d.ts +151 -0
- package/lib/models/prescription-item-model.d.ts.map +1 -0
- package/lib/models/prescription-item-model.js +15 -0
- package/lib/models/prescription-medication-model.d.ts +79 -0
- package/lib/models/prescription-medication-model.d.ts.map +1 -0
- package/lib/models/prescription-medication-model.js +15 -0
- package/lib/models/prescription-model.d.ts +172 -0
- package/lib/models/prescription-model.d.ts.map +1 -0
- package/lib/models/prescription-model.js +15 -0
- package/lib/models/{create-landing-form-command.d.ts → prescription-symptom-model.d.ts} +14 -20
- package/lib/models/prescription-symptom-model.d.ts.map +1 -0
- package/lib/models/prescription-symptom-model.js +15 -0
- package/lib/models/prescriptions-model.d.ts +33 -0
- package/lib/models/prescriptions-model.d.ts.map +1 -0
- package/lib/models/prescriptions-model.js +15 -0
- package/package.json +1 -1
- package/src/.openapi-generator/FILES +8 -2
- package/src/api/deals-api.ts +4 -4
- package/src/api/doctor-affiliations-api.ts +4 -4
- package/src/api/hospitals-api.ts +8 -121
- package/src/api/prescriptions-api.ts +333 -0
- package/src/api.ts +1 -0
- package/src/models/{appointment-timetables-model.ts → get-appointment-timetables-response-model.ts} +6 -6
- package/src/models/index.ts +7 -2
- package/src/models/prescription-diagnosis-model.ts +42 -0
- package/src/models/prescription-item-model.ts +156 -0
- package/src/models/prescription-medication-model.ts +84 -0
- package/src/models/prescription-model.ts +183 -0
- package/src/models/{create-landing-form-command.ts → prescription-symptom-model.ts} +13 -19
- package/src/models/prescriptions-model.ts +42 -0
- package/lib/models/appointment-timetables-model.d.ts.map +0 -1
- package/lib/models/create-landing-form-command.d.ts.map +0 -1
- /package/lib/models/{appointment-timetables-model.js → get-appointment-timetables-response-model.js} +0 -0
- /package/lib/models/{create-landing-form-command.js → prescription-diagnosis-model.js} +0 -0
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Swagger UI - Cloud Hospital Api-INT
|
|
6
|
+
* Cloud Hospital application with Swagger, Swashbuckle, and API versioning.
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 2
|
|
9
|
+
* Contact: hyounoosung@icloudhospital.com
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -12,44 +12,38 @@
|
|
|
12
12
|
/**
|
|
13
13
|
*
|
|
14
14
|
* @export
|
|
15
|
-
* @interface
|
|
15
|
+
* @interface PrescriptionSymptomModel
|
|
16
16
|
*/
|
|
17
|
-
export interface
|
|
17
|
+
export interface PrescriptionSymptomModel {
|
|
18
18
|
/**
|
|
19
19
|
*
|
|
20
20
|
* @type {string}
|
|
21
|
-
* @memberof
|
|
21
|
+
* @memberof PrescriptionSymptomModel
|
|
22
22
|
*/
|
|
23
|
-
'
|
|
24
|
-
/**
|
|
25
|
-
*
|
|
26
|
-
* @type {number}
|
|
27
|
-
* @memberof CreateLandingFormCommand
|
|
28
|
-
*/
|
|
29
|
-
'boardId'?: number;
|
|
23
|
+
'id'?: string;
|
|
30
24
|
/**
|
|
31
25
|
*
|
|
32
26
|
* @type {string}
|
|
33
|
-
* @memberof
|
|
27
|
+
* @memberof PrescriptionSymptomModel
|
|
34
28
|
*/
|
|
35
|
-
'
|
|
29
|
+
'description'?: string | null;
|
|
36
30
|
/**
|
|
37
31
|
*
|
|
38
32
|
* @type {string}
|
|
39
|
-
* @memberof
|
|
33
|
+
* @memberof PrescriptionSymptomModel
|
|
40
34
|
*/
|
|
41
|
-
'
|
|
35
|
+
'since'?: string | null;
|
|
42
36
|
/**
|
|
43
37
|
*
|
|
44
38
|
* @type {string}
|
|
45
|
-
* @memberof
|
|
39
|
+
* @memberof PrescriptionSymptomModel
|
|
46
40
|
*/
|
|
47
|
-
'
|
|
41
|
+
'severity'?: string | null;
|
|
48
42
|
/**
|
|
49
43
|
*
|
|
50
|
-
* @type {
|
|
51
|
-
* @memberof
|
|
44
|
+
* @type {number}
|
|
45
|
+
* @memberof PrescriptionSymptomModel
|
|
52
46
|
*/
|
|
53
|
-
'
|
|
47
|
+
'order'?: number;
|
|
54
48
|
}
|
|
55
|
-
//# sourceMappingURL=
|
|
49
|
+
//# sourceMappingURL=prescription-symptom-model.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"prescription-symptom-model.d.ts","sourceRoot":"","sources":["../../src/models/prescription-symptom-model.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAIH;;;;GAIG;AACH,MAAM,WAAW,wBAAwB;IACrC;;;;OAIG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;;;OAIG;IACH,aAAa,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC9B;;;;OAIG;IACH,OAAO,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACxB;;;;OAIG;IACH,UAAU,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC3B;;;;OAIG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;CACpB"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Swagger UI - Cloud Hospital Api-INT
|
|
6
|
+
* Cloud Hospital application with Swagger, Swashbuckle, and API versioning.
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 2
|
|
9
|
+
* Contact: hyounoosung@icloudhospital.com
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Swagger UI - Cloud Hospital Api-INT
|
|
3
|
+
* Cloud Hospital application with Swagger, Swashbuckle, and API versioning.
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 2
|
|
6
|
+
* Contact: hyounoosung@icloudhospital.com
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import { PagedListMetaData } from './paged-list-meta-data';
|
|
13
|
+
import { PrescriptionItemModel } from './prescription-item-model';
|
|
14
|
+
/**
|
|
15
|
+
*
|
|
16
|
+
* @export
|
|
17
|
+
* @interface PrescriptionsModel
|
|
18
|
+
*/
|
|
19
|
+
export interface PrescriptionsModel {
|
|
20
|
+
/**
|
|
21
|
+
*
|
|
22
|
+
* @type {Array<PrescriptionItemModel>}
|
|
23
|
+
* @memberof PrescriptionsModel
|
|
24
|
+
*/
|
|
25
|
+
'items'?: Array<PrescriptionItemModel> | null;
|
|
26
|
+
/**
|
|
27
|
+
*
|
|
28
|
+
* @type {PagedListMetaData}
|
|
29
|
+
* @memberof PrescriptionsModel
|
|
30
|
+
*/
|
|
31
|
+
'metaData'?: PagedListMetaData;
|
|
32
|
+
}
|
|
33
|
+
//# sourceMappingURL=prescriptions-model.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"prescriptions-model.d.ts","sourceRoot":"","sources":["../../src/models/prescriptions-model.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAKH,OAAO,EAAE,iBAAiB,EAAE,MAAM,wBAAwB,CAAC;AAG3D,OAAO,EAAE,qBAAqB,EAAE,MAAM,2BAA2B,CAAC;AAElE;;;;GAIG;AACH,MAAM,WAAW,kBAAkB;IAC/B;;;;OAIG;IACH,OAAO,CAAC,EAAE,KAAK,CAAC,qBAAqB,CAAC,GAAG,IAAI,CAAC;IAC9C;;;;OAIG;IACH,UAAU,CAAC,EAAE,iBAAiB,CAAC;CAClC"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Swagger UI - Cloud Hospital Api-INT
|
|
6
|
+
* Cloud Hospital application with Swagger, Swashbuckle, and API versioning.
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 2
|
|
9
|
+
* Contact: hyounoosung@icloudhospital.com
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
package/package.json
CHANGED
|
@@ -30,6 +30,7 @@ api/notifications-api.ts
|
|
|
30
30
|
api/origins-api.ts
|
|
31
31
|
api/patients-api.ts
|
|
32
32
|
api/plans-api.ts
|
|
33
|
+
api/prescriptions-api.ts
|
|
33
34
|
api/profiles-api.ts
|
|
34
35
|
api/search-curations-api.ts
|
|
35
36
|
api/secure-containers-api.ts
|
|
@@ -67,7 +68,6 @@ models/appointment-status.ts
|
|
|
67
68
|
models/appointment-timetable-date-model.ts
|
|
68
69
|
models/appointment-timetable-status.ts
|
|
69
70
|
models/appointment-timetable-time-slot-model.ts
|
|
70
|
-
models/appointment-timetables-model.ts
|
|
71
71
|
models/appointment-type.ts
|
|
72
72
|
models/appointments-model.ts
|
|
73
73
|
models/article-contributor-document-model.ts
|
|
@@ -119,7 +119,6 @@ models/create-chat-user-command.ts
|
|
|
119
119
|
models/create-cors-command.ts
|
|
120
120
|
models/create-device-command.ts
|
|
121
121
|
models/create-device-login-command.ts
|
|
122
|
-
models/create-landing-form-command.ts
|
|
123
122
|
models/create-media-command.ts
|
|
124
123
|
models/create-patient-command.ts
|
|
125
124
|
models/create-profile-command.ts
|
|
@@ -199,6 +198,7 @@ models/feature-model.ts
|
|
|
199
198
|
models/footer-navigation-item-model.ts
|
|
200
199
|
models/gender.ts
|
|
201
200
|
models/geography-point.ts
|
|
201
|
+
models/get-appointment-timetables-response-model.ts
|
|
202
202
|
models/grade-document-model.ts
|
|
203
203
|
models/grade-model.ts
|
|
204
204
|
models/header-navigation-item-model.ts
|
|
@@ -308,6 +308,12 @@ models/platform.ts
|
|
|
308
308
|
models/policies-model.ts
|
|
309
309
|
models/policy-item-model.ts
|
|
310
310
|
models/policy-model.ts
|
|
311
|
+
models/prescription-diagnosis-model.ts
|
|
312
|
+
models/prescription-item-model.ts
|
|
313
|
+
models/prescription-medication-model.ts
|
|
314
|
+
models/prescription-model.ts
|
|
315
|
+
models/prescription-symptom-model.ts
|
|
316
|
+
models/prescriptions-model.ts
|
|
311
317
|
models/problem-details.ts
|
|
312
318
|
models/procedure.ts
|
|
313
319
|
models/recurring-interval.ts
|
package/src/api/deals-api.ts
CHANGED
|
@@ -21,8 +21,6 @@ import { DUMMY_BASE_URL, assertParamExists, setApiKeyToObject, setBasicAuthToObj
|
|
|
21
21
|
// @ts-ignore
|
|
22
22
|
import { BASE_PATH, COLLECTION_FORMATS, RequestArgs, BaseAPI, RequiredError } from '../base';
|
|
23
23
|
// @ts-ignore
|
|
24
|
-
import { AppointmentTimetablesModel } from '../models';
|
|
25
|
-
// @ts-ignore
|
|
26
24
|
import { DealModel } from '../models';
|
|
27
25
|
// @ts-ignore
|
|
28
26
|
import { DealPackageModel } from '../models';
|
|
@@ -37,6 +35,8 @@ import { DealsModel } from '../models';
|
|
|
37
35
|
// @ts-ignore
|
|
38
36
|
import { DealsSimpleModel } from '../models';
|
|
39
37
|
// @ts-ignore
|
|
38
|
+
import { GetAppointmentTimetablesResponseModel } from '../models';
|
|
39
|
+
// @ts-ignore
|
|
40
40
|
import { MarketingType } from '../models';
|
|
41
41
|
/**
|
|
42
42
|
* DealsApi - axios parameter creator
|
|
@@ -802,7 +802,7 @@ export const DealsApiFp = function(configuration?: Configuration) {
|
|
|
802
802
|
* @param {*} [options] Override http request option.
|
|
803
803
|
* @throws {RequiredError}
|
|
804
804
|
*/
|
|
805
|
-
async apiV2DealsDealIdPackagesPackageIdAppointmenttimetablesGet(dealId: string, packageId: string, year?: number, month?: number, timeZone?: string, isExternal?: boolean, isOnline?: boolean, appointmentIdExcluded?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
805
|
+
async apiV2DealsDealIdPackagesPackageIdAppointmenttimetablesGet(dealId: string, packageId: string, year?: number, month?: number, timeZone?: string, isExternal?: boolean, isOnline?: boolean, appointmentIdExcluded?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetAppointmentTimetablesResponseModel>> {
|
|
806
806
|
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2DealsDealIdPackagesPackageIdAppointmenttimetablesGet(dealId, packageId, year, month, timeZone, isExternal, isOnline, appointmentIdExcluded, options);
|
|
807
807
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
808
808
|
},
|
|
@@ -985,7 +985,7 @@ export const DealsApiFactory = function (configuration?: Configuration, basePath
|
|
|
985
985
|
* @param {*} [options] Override http request option.
|
|
986
986
|
* @throws {RequiredError}
|
|
987
987
|
*/
|
|
988
|
-
apiV2DealsDealIdPackagesPackageIdAppointmenttimetablesGet(dealId: string, packageId: string, year?: number, month?: number, timeZone?: string, isExternal?: boolean, isOnline?: boolean, appointmentIdExcluded?: string, options?: any): AxiosPromise<
|
|
988
|
+
apiV2DealsDealIdPackagesPackageIdAppointmenttimetablesGet(dealId: string, packageId: string, year?: number, month?: number, timeZone?: string, isExternal?: boolean, isOnline?: boolean, appointmentIdExcluded?: string, options?: any): AxiosPromise<GetAppointmentTimetablesResponseModel> {
|
|
989
989
|
return localVarFp.apiV2DealsDealIdPackagesPackageIdAppointmenttimetablesGet(dealId, packageId, year, month, timeZone, isExternal, isOnline, appointmentIdExcluded, options).then((request) => request(axios, basePath));
|
|
990
990
|
},
|
|
991
991
|
/**
|
|
@@ -21,12 +21,12 @@ import { DUMMY_BASE_URL, assertParamExists, setApiKeyToObject, setBasicAuthToObj
|
|
|
21
21
|
// @ts-ignore
|
|
22
22
|
import { BASE_PATH, COLLECTION_FORMATS, RequestArgs, BaseAPI, RequiredError } from '../base';
|
|
23
23
|
// @ts-ignore
|
|
24
|
-
import { AppointmentTimetablesModel } from '../models';
|
|
25
|
-
// @ts-ignore
|
|
26
24
|
import { DoctorAffiliationModel } from '../models';
|
|
27
25
|
// @ts-ignore
|
|
28
26
|
import { DoctorAffiliationsModel } from '../models';
|
|
29
27
|
// @ts-ignore
|
|
28
|
+
import { GetAppointmentTimetablesResponseModel } from '../models';
|
|
29
|
+
// @ts-ignore
|
|
30
30
|
import { MarketingType } from '../models';
|
|
31
31
|
// @ts-ignore
|
|
32
32
|
import { MediaModel } from '../models';
|
|
@@ -415,7 +415,7 @@ export const DoctorAffiliationsApiFp = function(configuration?: Configuration) {
|
|
|
415
415
|
* @param {*} [options] Override http request option.
|
|
416
416
|
* @throws {RequiredError}
|
|
417
417
|
*/
|
|
418
|
-
async apiV2DoctoraffiliationsDoctorAffiliationIdAppointmenttimetablesGet(doctorAffiliationId: string, year?: number, month?: number, timeZone?: string, isExternal?: boolean, isOnline?: boolean, appointmentIdExcluded?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
418
|
+
async apiV2DoctoraffiliationsDoctorAffiliationIdAppointmenttimetablesGet(doctorAffiliationId: string, year?: number, month?: number, timeZone?: string, isExternal?: boolean, isOnline?: boolean, appointmentIdExcluded?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetAppointmentTimetablesResponseModel>> {
|
|
419
419
|
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2DoctoraffiliationsDoctorAffiliationIdAppointmenttimetablesGet(doctorAffiliationId, year, month, timeZone, isExternal, isOnline, appointmentIdExcluded, options);
|
|
420
420
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
421
421
|
},
|
|
@@ -519,7 +519,7 @@ export const DoctorAffiliationsApiFactory = function (configuration?: Configurat
|
|
|
519
519
|
* @param {*} [options] Override http request option.
|
|
520
520
|
* @throws {RequiredError}
|
|
521
521
|
*/
|
|
522
|
-
apiV2DoctoraffiliationsDoctorAffiliationIdAppointmenttimetablesGet(doctorAffiliationId: string, year?: number, month?: number, timeZone?: string, isExternal?: boolean, isOnline?: boolean, appointmentIdExcluded?: string, options?: any): AxiosPromise<
|
|
522
|
+
apiV2DoctoraffiliationsDoctorAffiliationIdAppointmenttimetablesGet(doctorAffiliationId: string, year?: number, month?: number, timeZone?: string, isExternal?: boolean, isOnline?: boolean, appointmentIdExcluded?: string, options?: any): AxiosPromise<GetAppointmentTimetablesResponseModel> {
|
|
523
523
|
return localVarFp.apiV2DoctoraffiliationsDoctorAffiliationIdAppointmenttimetablesGet(doctorAffiliationId, year, month, timeZone, isExternal, isOnline, appointmentIdExcluded, options).then((request) => request(axios, basePath));
|
|
524
524
|
},
|
|
525
525
|
/**
|
package/src/api/hospitals-api.ts
CHANGED
|
@@ -21,8 +21,6 @@ import { DUMMY_BASE_URL, assertParamExists, setApiKeyToObject, setBasicAuthToObj
|
|
|
21
21
|
// @ts-ignore
|
|
22
22
|
import { BASE_PATH, COLLECTION_FORMATS, RequestArgs, BaseAPI, RequiredError } from '../base';
|
|
23
23
|
// @ts-ignore
|
|
24
|
-
import { AppointmentTimetablesModel } from '../models';
|
|
25
|
-
// @ts-ignore
|
|
26
24
|
import { ArticleModel } from '../models';
|
|
27
25
|
// @ts-ignore
|
|
28
26
|
import { BankAccountInfoModel } from '../models';
|
|
@@ -31,14 +29,14 @@ import { BankAccountInfosModel } from '../models';
|
|
|
31
29
|
// @ts-ignore
|
|
32
30
|
import { ContactType } from '../models';
|
|
33
31
|
// @ts-ignore
|
|
34
|
-
import { CreateLandingFormCommand } from '../models';
|
|
35
|
-
// @ts-ignore
|
|
36
32
|
import { DealModel } from '../models';
|
|
37
33
|
// @ts-ignore
|
|
38
34
|
import { DoctorAffiliationModel } from '../models';
|
|
39
35
|
// @ts-ignore
|
|
40
36
|
import { FooterNavigationItemModel } from '../models';
|
|
41
37
|
// @ts-ignore
|
|
38
|
+
import { GetAppointmentTimetablesResponseModel } from '../models';
|
|
39
|
+
// @ts-ignore
|
|
42
40
|
import { HospitalAccreditationModel } from '../models';
|
|
43
41
|
// @ts-ignore
|
|
44
42
|
import { HospitalAccreditationsModel } from '../models';
|
|
@@ -1495,52 +1493,6 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
|
|
|
1495
1493
|
options: localVarRequestOptions,
|
|
1496
1494
|
};
|
|
1497
1495
|
},
|
|
1498
|
-
/**
|
|
1499
|
-
*
|
|
1500
|
-
* @summary Create form data from landing page
|
|
1501
|
-
* @param {string} hospitalId
|
|
1502
|
-
* @param {string} landingId
|
|
1503
|
-
* @param {CreateLandingFormCommand} [createLandingFormCommand]
|
|
1504
|
-
* @param {*} [options] Override http request option.
|
|
1505
|
-
* @throws {RequiredError}
|
|
1506
|
-
*/
|
|
1507
|
-
apiV2HospitalsHospitalIdLandingsLandingIdFormsPost: async (hospitalId: string, landingId: string, createLandingFormCommand?: CreateLandingFormCommand, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
1508
|
-
// verify required parameter 'hospitalId' is not null or undefined
|
|
1509
|
-
assertParamExists('apiV2HospitalsHospitalIdLandingsLandingIdFormsPost', 'hospitalId', hospitalId)
|
|
1510
|
-
// verify required parameter 'landingId' is not null or undefined
|
|
1511
|
-
assertParamExists('apiV2HospitalsHospitalIdLandingsLandingIdFormsPost', 'landingId', landingId)
|
|
1512
|
-
const localVarPath = `/api/v2/hospitals/{hospitalId}/landings/{landingId}/forms`
|
|
1513
|
-
.replace(`{${"hospitalId"}}`, encodeURIComponent(String(hospitalId)))
|
|
1514
|
-
.replace(`{${"landingId"}}`, encodeURIComponent(String(landingId)));
|
|
1515
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1516
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1517
|
-
let baseOptions;
|
|
1518
|
-
if (configuration) {
|
|
1519
|
-
baseOptions = configuration.baseOptions;
|
|
1520
|
-
}
|
|
1521
|
-
|
|
1522
|
-
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
1523
|
-
const localVarHeaderParameter = {} as any;
|
|
1524
|
-
const localVarQueryParameter = {} as any;
|
|
1525
|
-
|
|
1526
|
-
// authentication oauth2 required
|
|
1527
|
-
// oauth required
|
|
1528
|
-
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_api", "IdentityServerApi"], configuration)
|
|
1529
|
-
|
|
1530
|
-
|
|
1531
|
-
|
|
1532
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
1533
|
-
|
|
1534
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1535
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1536
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
1537
|
-
localVarRequestOptions.data = serializeDataIfNeeded(createLandingFormCommand, localVarRequestOptions, configuration)
|
|
1538
|
-
|
|
1539
|
-
return {
|
|
1540
|
-
url: toPathString(localVarUrlObj),
|
|
1541
|
-
options: localVarRequestOptions,
|
|
1542
|
-
};
|
|
1543
|
-
},
|
|
1544
1496
|
/**
|
|
1545
1497
|
*
|
|
1546
1498
|
* @summary Get landing by id
|
|
@@ -3591,7 +3543,7 @@ export const HospitalsApiFp = function(configuration?: Configuration) {
|
|
|
3591
3543
|
* @param {*} [options] Override http request option.
|
|
3592
3544
|
* @throws {RequiredError}
|
|
3593
3545
|
*/
|
|
3594
|
-
async apiV2HospitalsHospitalIdAppointmenttimetablesGet(hospitalId: string, year?: number, month?: number, timeZone?: string, isExternal?: boolean, isOnline?: boolean, appointmentIdExcluded?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
3546
|
+
async apiV2HospitalsHospitalIdAppointmenttimetablesGet(hospitalId: string, year?: number, month?: number, timeZone?: string, isExternal?: boolean, isOnline?: boolean, appointmentIdExcluded?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetAppointmentTimetablesResponseModel>> {
|
|
3595
3547
|
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2HospitalsHospitalIdAppointmenttimetablesGet(hospitalId, year, month, timeZone, isExternal, isOnline, appointmentIdExcluded, options);
|
|
3596
3548
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
3597
3549
|
},
|
|
@@ -3880,19 +3832,6 @@ export const HospitalsApiFp = function(configuration?: Configuration) {
|
|
|
3880
3832
|
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2HospitalsHospitalIdLandingsGet(hospitalId, name, slug, languageCode, showHidden, page, limit, lastRetrieved, options);
|
|
3881
3833
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
3882
3834
|
},
|
|
3883
|
-
/**
|
|
3884
|
-
*
|
|
3885
|
-
* @summary Create form data from landing page
|
|
3886
|
-
* @param {string} hospitalId
|
|
3887
|
-
* @param {string} landingId
|
|
3888
|
-
* @param {CreateLandingFormCommand} [createLandingFormCommand]
|
|
3889
|
-
* @param {*} [options] Override http request option.
|
|
3890
|
-
* @throws {RequiredError}
|
|
3891
|
-
*/
|
|
3892
|
-
async apiV2HospitalsHospitalIdLandingsLandingIdFormsPost(hospitalId: string, landingId: string, createLandingFormCommand?: CreateLandingFormCommand, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<boolean>> {
|
|
3893
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2HospitalsHospitalIdLandingsLandingIdFormsPost(hospitalId, landingId, createLandingFormCommand, options);
|
|
3894
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
3895
|
-
},
|
|
3896
3835
|
/**
|
|
3897
3836
|
*
|
|
3898
3837
|
* @summary Get landing by id
|
|
@@ -4135,7 +4074,7 @@ export const HospitalsApiFp = function(configuration?: Configuration) {
|
|
|
4135
4074
|
* @param {*} [options] Override http request option.
|
|
4136
4075
|
* @throws {RequiredError}
|
|
4137
4076
|
*/
|
|
4138
|
-
async apiV2HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdAppointmenttimetablesGet(hospitalId: string, hospitalSpecialtyId: string, year?: number, month?: number, timeZone?: string, isExternal?: boolean, isOnline?: boolean, appointmentIdExcluded?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
4077
|
+
async apiV2HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdAppointmenttimetablesGet(hospitalId: string, hospitalSpecialtyId: string, year?: number, month?: number, timeZone?: string, isExternal?: boolean, isOnline?: boolean, appointmentIdExcluded?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetAppointmentTimetablesResponseModel>> {
|
|
4139
4078
|
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdAppointmenttimetablesGet(hospitalId, hospitalSpecialtyId, year, month, timeZone, isExternal, isOnline, appointmentIdExcluded, options);
|
|
4140
4079
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
4141
4080
|
},
|
|
@@ -4262,7 +4201,7 @@ export const HospitalsApiFp = function(configuration?: Configuration) {
|
|
|
4262
4201
|
* @param {*} [options] Override http request option.
|
|
4263
4202
|
* @throws {RequiredError}
|
|
4264
4203
|
*/
|
|
4265
|
-
async apiV2HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdAppointmenttimetablesGet(hospitalId: string, specialtyId: string, serviceId: string, year?: number, month?: number, timeZone?: string, isExternal?: boolean, isOnline?: boolean, appointmentIdExcluded?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
4204
|
+
async apiV2HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdAppointmenttimetablesGet(hospitalId: string, specialtyId: string, serviceId: string, year?: number, month?: number, timeZone?: string, isExternal?: boolean, isOnline?: boolean, appointmentIdExcluded?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetAppointmentTimetablesResponseModel>> {
|
|
4266
4205
|
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdAppointmenttimetablesGet(hospitalId, specialtyId, serviceId, year, month, timeZone, isExternal, isOnline, appointmentIdExcluded, options);
|
|
4267
4206
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
4268
4207
|
},
|
|
@@ -4501,7 +4440,7 @@ export const HospitalsApiFactory = function (configuration?: Configuration, base
|
|
|
4501
4440
|
* @param {*} [options] Override http request option.
|
|
4502
4441
|
* @throws {RequiredError}
|
|
4503
4442
|
*/
|
|
4504
|
-
apiV2HospitalsHospitalIdAppointmenttimetablesGet(hospitalId: string, year?: number, month?: number, timeZone?: string, isExternal?: boolean, isOnline?: boolean, appointmentIdExcluded?: string, options?: any): AxiosPromise<
|
|
4443
|
+
apiV2HospitalsHospitalIdAppointmenttimetablesGet(hospitalId: string, year?: number, month?: number, timeZone?: string, isExternal?: boolean, isOnline?: boolean, appointmentIdExcluded?: string, options?: any): AxiosPromise<GetAppointmentTimetablesResponseModel> {
|
|
4505
4444
|
return localVarFp.apiV2HospitalsHospitalIdAppointmenttimetablesGet(hospitalId, year, month, timeZone, isExternal, isOnline, appointmentIdExcluded, options).then((request) => request(axios, basePath));
|
|
4506
4445
|
},
|
|
4507
4446
|
/**
|
|
@@ -4770,18 +4709,6 @@ export const HospitalsApiFactory = function (configuration?: Configuration, base
|
|
|
4770
4709
|
apiV2HospitalsHospitalIdLandingsGet(hospitalId: string, name?: string, slug?: string, languageCode?: string, showHidden?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<LandingsModel> {
|
|
4771
4710
|
return localVarFp.apiV2HospitalsHospitalIdLandingsGet(hospitalId, name, slug, languageCode, showHidden, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
|
|
4772
4711
|
},
|
|
4773
|
-
/**
|
|
4774
|
-
*
|
|
4775
|
-
* @summary Create form data from landing page
|
|
4776
|
-
* @param {string} hospitalId
|
|
4777
|
-
* @param {string} landingId
|
|
4778
|
-
* @param {CreateLandingFormCommand} [createLandingFormCommand]
|
|
4779
|
-
* @param {*} [options] Override http request option.
|
|
4780
|
-
* @throws {RequiredError}
|
|
4781
|
-
*/
|
|
4782
|
-
apiV2HospitalsHospitalIdLandingsLandingIdFormsPost(hospitalId: string, landingId: string, createLandingFormCommand?: CreateLandingFormCommand, options?: any): AxiosPromise<boolean> {
|
|
4783
|
-
return localVarFp.apiV2HospitalsHospitalIdLandingsLandingIdFormsPost(hospitalId, landingId, createLandingFormCommand, options).then((request) => request(axios, basePath));
|
|
4784
|
-
},
|
|
4785
4712
|
/**
|
|
4786
4713
|
*
|
|
4787
4714
|
* @summary Get landing by id
|
|
@@ -5009,7 +4936,7 @@ export const HospitalsApiFactory = function (configuration?: Configuration, base
|
|
|
5009
4936
|
* @param {*} [options] Override http request option.
|
|
5010
4937
|
* @throws {RequiredError}
|
|
5011
4938
|
*/
|
|
5012
|
-
apiV2HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdAppointmenttimetablesGet(hospitalId: string, hospitalSpecialtyId: string, year?: number, month?: number, timeZone?: string, isExternal?: boolean, isOnline?: boolean, appointmentIdExcluded?: string, options?: any): AxiosPromise<
|
|
4939
|
+
apiV2HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdAppointmenttimetablesGet(hospitalId: string, hospitalSpecialtyId: string, year?: number, month?: number, timeZone?: string, isExternal?: boolean, isOnline?: boolean, appointmentIdExcluded?: string, options?: any): AxiosPromise<GetAppointmentTimetablesResponseModel> {
|
|
5013
4940
|
return localVarFp.apiV2HospitalsHospitalIdSpecialtiesHospitalSpecialtyIdAppointmenttimetablesGet(hospitalId, hospitalSpecialtyId, year, month, timeZone, isExternal, isOnline, appointmentIdExcluded, options).then((request) => request(axios, basePath));
|
|
5014
4941
|
},
|
|
5015
4942
|
/**
|
|
@@ -5129,7 +5056,7 @@ export const HospitalsApiFactory = function (configuration?: Configuration, base
|
|
|
5129
5056
|
* @param {*} [options] Override http request option.
|
|
5130
5057
|
* @throws {RequiredError}
|
|
5131
5058
|
*/
|
|
5132
|
-
apiV2HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdAppointmenttimetablesGet(hospitalId: string, specialtyId: string, serviceId: string, year?: number, month?: number, timeZone?: string, isExternal?: boolean, isOnline?: boolean, appointmentIdExcluded?: string, options?: any): AxiosPromise<
|
|
5059
|
+
apiV2HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdAppointmenttimetablesGet(hospitalId: string, specialtyId: string, serviceId: string, year?: number, month?: number, timeZone?: string, isExternal?: boolean, isOnline?: boolean, appointmentIdExcluded?: string, options?: any): AxiosPromise<GetAppointmentTimetablesResponseModel> {
|
|
5133
5060
|
return localVarFp.apiV2HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdAppointmenttimetablesGet(hospitalId, specialtyId, serviceId, year, month, timeZone, isExternal, isOnline, appointmentIdExcluded, options).then((request) => request(axios, basePath));
|
|
5134
5061
|
},
|
|
5135
5062
|
/**
|
|
@@ -6359,34 +6286,6 @@ export interface HospitalsApiApiV2HospitalsHospitalIdLandingsGetRequest {
|
|
|
6359
6286
|
readonly lastRetrieved?: Date
|
|
6360
6287
|
}
|
|
6361
6288
|
|
|
6362
|
-
/**
|
|
6363
|
-
* Request parameters for apiV2HospitalsHospitalIdLandingsLandingIdFormsPost operation in HospitalsApi.
|
|
6364
|
-
* @export
|
|
6365
|
-
* @interface HospitalsApiApiV2HospitalsHospitalIdLandingsLandingIdFormsPostRequest
|
|
6366
|
-
*/
|
|
6367
|
-
export interface HospitalsApiApiV2HospitalsHospitalIdLandingsLandingIdFormsPostRequest {
|
|
6368
|
-
/**
|
|
6369
|
-
*
|
|
6370
|
-
* @type {string}
|
|
6371
|
-
* @memberof HospitalsApiApiV2HospitalsHospitalIdLandingsLandingIdFormsPost
|
|
6372
|
-
*/
|
|
6373
|
-
readonly hospitalId: string
|
|
6374
|
-
|
|
6375
|
-
/**
|
|
6376
|
-
*
|
|
6377
|
-
* @type {string}
|
|
6378
|
-
* @memberof HospitalsApiApiV2HospitalsHospitalIdLandingsLandingIdFormsPost
|
|
6379
|
-
*/
|
|
6380
|
-
readonly landingId: string
|
|
6381
|
-
|
|
6382
|
-
/**
|
|
6383
|
-
*
|
|
6384
|
-
* @type {CreateLandingFormCommand}
|
|
6385
|
-
* @memberof HospitalsApiApiV2HospitalsHospitalIdLandingsLandingIdFormsPost
|
|
6386
|
-
*/
|
|
6387
|
-
readonly createLandingFormCommand?: CreateLandingFormCommand
|
|
6388
|
-
}
|
|
6389
|
-
|
|
6390
6289
|
/**
|
|
6391
6290
|
* Request parameters for apiV2HospitalsHospitalIdLandingsLandingIdGet operation in HospitalsApi.
|
|
6392
6291
|
* @export
|
|
@@ -8312,18 +8211,6 @@ export class HospitalsApi extends BaseAPI {
|
|
|
8312
8211
|
return HospitalsApiFp(this.configuration).apiV2HospitalsHospitalIdLandingsGet(requestParameters.hospitalId, requestParameters.name, requestParameters.slug, requestParameters.languageCode, requestParameters.showHidden, requestParameters.page, requestParameters.limit, requestParameters.lastRetrieved, options).then((request) => request(this.axios, this.basePath));
|
|
8313
8212
|
}
|
|
8314
8213
|
|
|
8315
|
-
/**
|
|
8316
|
-
*
|
|
8317
|
-
* @summary Create form data from landing page
|
|
8318
|
-
* @param {HospitalsApiApiV2HospitalsHospitalIdLandingsLandingIdFormsPostRequest} requestParameters Request parameters.
|
|
8319
|
-
* @param {*} [options] Override http request option.
|
|
8320
|
-
* @throws {RequiredError}
|
|
8321
|
-
* @memberof HospitalsApi
|
|
8322
|
-
*/
|
|
8323
|
-
public apiV2HospitalsHospitalIdLandingsLandingIdFormsPost(requestParameters: HospitalsApiApiV2HospitalsHospitalIdLandingsLandingIdFormsPostRequest, options?: AxiosRequestConfig) {
|
|
8324
|
-
return HospitalsApiFp(this.configuration).apiV2HospitalsHospitalIdLandingsLandingIdFormsPost(requestParameters.hospitalId, requestParameters.landingId, requestParameters.createLandingFormCommand, options).then((request) => request(this.axios, this.basePath));
|
|
8325
|
-
}
|
|
8326
|
-
|
|
8327
8214
|
/**
|
|
8328
8215
|
*
|
|
8329
8216
|
* @summary Get landing by id
|