ch-admin-api-client-typescript 5.36.76 → 5.36.82
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/countries-api.d.ts +306 -0
- package/lib/api/countries-api.d.ts.map +1 -1
- package/lib/api/countries-api.js +473 -0
- package/lib/models/chadmin-model.d.ts +3 -2
- package/lib/models/chadmin-model.d.ts.map +1 -1
- package/lib/models/chmanager-model.d.ts +3 -2
- package/lib/models/chmanager-model.d.ts.map +1 -1
- package/lib/models/country-item-model.d.ts +6 -0
- package/lib/models/country-item-model.d.ts.map +1 -1
- package/lib/models/country-language-item-model.d.ts +49 -0
- package/lib/models/country-language-item-model.d.ts.map +1 -0
- package/lib/models/country-language-item-model.js +15 -0
- package/lib/models/country-language-model.d.ts +49 -0
- package/lib/models/country-language-model.d.ts.map +1 -0
- package/lib/models/country-language-model.js +15 -0
- package/lib/models/country-languages-model.d.ts +33 -0
- package/lib/models/country-languages-model.d.ts.map +1 -0
- package/lib/models/country-languages-model.js +15 -0
- package/lib/models/country-model.d.ts +6 -0
- package/lib/models/country-model.d.ts.map +1 -1
- package/lib/models/create-country-command.d.ts +6 -0
- package/lib/models/create-country-command.d.ts.map +1 -1
- package/lib/models/doctor-model.d.ts +3 -2
- package/lib/models/doctor-model.d.ts.map +1 -1
- package/lib/models/index.d.ts +6 -0
- package/lib/models/index.d.ts.map +1 -1
- package/lib/models/index.js +6 -0
- package/lib/models/manager-model.d.ts +3 -2
- package/lib/models/manager-model.d.ts.map +1 -1
- package/lib/models/notification-code.d.ts +1 -0
- package/lib/models/notification-code.d.ts.map +1 -1
- package/lib/models/notification-code.js +2 -1
- package/lib/models/patient-model.d.ts +3 -2
- package/lib/models/patient-model.d.ts.map +1 -1
- package/lib/models/save-country-language-command.d.ts +25 -0
- package/lib/models/save-country-language-command.d.ts.map +1 -0
- package/lib/models/save-country-language-command.js +15 -0
- package/lib/models/sort-country-languages-command.d.ts +26 -0
- package/lib/models/sort-country-languages-command.d.ts.map +1 -0
- package/lib/models/sort-country-languages-command.js +15 -0
- package/lib/models/update-country-command.d.ts +6 -0
- package/lib/models/update-country-command.d.ts.map +1 -1
- package/lib/models/user-model.d.ts +3 -2
- package/lib/models/user-model.d.ts.map +1 -1
- package/lib/models/user-type.d.ts +26 -0
- package/lib/models/user-type.d.ts.map +1 -0
- package/lib/models/user-type.js +29 -0
- package/package.json +1 -1
- package/src/.openapi-generator/FILES +6 -0
- package/src/api/countries-api.ts +542 -0
- package/src/models/chadmin-model.ts +5 -2
- package/src/models/chmanager-model.ts +5 -2
- package/src/models/country-item-model.ts +6 -0
- package/src/models/country-language-item-model.ts +54 -0
- package/src/models/country-language-model.ts +54 -0
- package/src/models/country-languages-model.ts +42 -0
- package/src/models/country-model.ts +6 -0
- package/src/models/create-country-command.ts +6 -0
- package/src/models/doctor-model.ts +5 -2
- package/src/models/index.ts +6 -0
- package/src/models/manager-model.ts +5 -2
- package/src/models/notification-code.ts +2 -1
- package/src/models/patient-model.ts +5 -2
- package/src/models/save-country-language-command.ts +30 -0
- package/src/models/sort-country-languages-command.ts +33 -0
- package/src/models/update-country-command.ts +6 -0
- package/src/models/user-model.ts +5 -2
- package/src/models/user-type.ts +35 -0
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* CloudHospital Admin Api
|
|
5
|
+
* CloudHospital application with Swagger, Swashbuckle, and API versioning.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1
|
|
8
|
+
* Contact: developer@icloudhospital.com
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
/**
|
|
18
|
+
*
|
|
19
|
+
* @export
|
|
20
|
+
* @interface CountryLanguageItemModel
|
|
21
|
+
*/
|
|
22
|
+
export interface CountryLanguageItemModel {
|
|
23
|
+
/**
|
|
24
|
+
*
|
|
25
|
+
* @type {string}
|
|
26
|
+
* @memberof CountryLanguageItemModel
|
|
27
|
+
*/
|
|
28
|
+
'countryId'?: string;
|
|
29
|
+
/**
|
|
30
|
+
*
|
|
31
|
+
* @type {string}
|
|
32
|
+
* @memberof CountryLanguageItemModel
|
|
33
|
+
*/
|
|
34
|
+
'languageCode'?: string | null;
|
|
35
|
+
/**
|
|
36
|
+
*
|
|
37
|
+
* @type {number}
|
|
38
|
+
* @memberof CountryLanguageItemModel
|
|
39
|
+
*/
|
|
40
|
+
'order'?: number;
|
|
41
|
+
/**
|
|
42
|
+
*
|
|
43
|
+
* @type {string}
|
|
44
|
+
* @memberof CountryLanguageItemModel
|
|
45
|
+
*/
|
|
46
|
+
'languageName'?: string | null;
|
|
47
|
+
/**
|
|
48
|
+
*
|
|
49
|
+
* @type {string}
|
|
50
|
+
* @memberof CountryLanguageItemModel
|
|
51
|
+
*/
|
|
52
|
+
'languageLocalizedName'?: string | null;
|
|
53
|
+
}
|
|
54
|
+
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* CloudHospital Admin Api
|
|
5
|
+
* CloudHospital application with Swagger, Swashbuckle, and API versioning.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1
|
|
8
|
+
* Contact: developer@icloudhospital.com
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
/**
|
|
18
|
+
*
|
|
19
|
+
* @export
|
|
20
|
+
* @interface CountryLanguageModel
|
|
21
|
+
*/
|
|
22
|
+
export interface CountryLanguageModel {
|
|
23
|
+
/**
|
|
24
|
+
*
|
|
25
|
+
* @type {string}
|
|
26
|
+
* @memberof CountryLanguageModel
|
|
27
|
+
*/
|
|
28
|
+
'countryId'?: string;
|
|
29
|
+
/**
|
|
30
|
+
*
|
|
31
|
+
* @type {string}
|
|
32
|
+
* @memberof CountryLanguageModel
|
|
33
|
+
*/
|
|
34
|
+
'languageCode'?: string | null;
|
|
35
|
+
/**
|
|
36
|
+
*
|
|
37
|
+
* @type {number}
|
|
38
|
+
* @memberof CountryLanguageModel
|
|
39
|
+
*/
|
|
40
|
+
'order'?: number;
|
|
41
|
+
/**
|
|
42
|
+
*
|
|
43
|
+
* @type {string}
|
|
44
|
+
* @memberof CountryLanguageModel
|
|
45
|
+
*/
|
|
46
|
+
'languageName'?: string | null;
|
|
47
|
+
/**
|
|
48
|
+
*
|
|
49
|
+
* @type {string}
|
|
50
|
+
* @memberof CountryLanguageModel
|
|
51
|
+
*/
|
|
52
|
+
'languageLocalizedName'?: string | null;
|
|
53
|
+
}
|
|
54
|
+
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* CloudHospital Admin Api
|
|
5
|
+
* CloudHospital application with Swagger, Swashbuckle, and API versioning.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1
|
|
8
|
+
* Contact: developer@icloudhospital.com
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
// May contain unused imports in some cases
|
|
17
|
+
// @ts-ignore
|
|
18
|
+
import { CountryLanguageItemModel } from './country-language-item-model';
|
|
19
|
+
// May contain unused imports in some cases
|
|
20
|
+
// @ts-ignore
|
|
21
|
+
import { PagedListMetaData } from './paged-list-meta-data';
|
|
22
|
+
|
|
23
|
+
/**
|
|
24
|
+
*
|
|
25
|
+
* @export
|
|
26
|
+
* @interface CountryLanguagesModel
|
|
27
|
+
*/
|
|
28
|
+
export interface CountryLanguagesModel {
|
|
29
|
+
/**
|
|
30
|
+
*
|
|
31
|
+
* @type {Array<CountryLanguageItemModel>}
|
|
32
|
+
* @memberof CountryLanguagesModel
|
|
33
|
+
*/
|
|
34
|
+
'items'?: Array<CountryLanguageItemModel> | null;
|
|
35
|
+
/**
|
|
36
|
+
*
|
|
37
|
+
* @type {PagedListMetaData}
|
|
38
|
+
* @memberof CountryLanguagesModel
|
|
39
|
+
*/
|
|
40
|
+
'metaData'?: PagedListMetaData;
|
|
41
|
+
}
|
|
42
|
+
|
|
@@ -47,6 +47,12 @@ export interface CreateCountryCommand {
|
|
|
47
47
|
* @memberof CreateCountryCommand
|
|
48
48
|
*/
|
|
49
49
|
'content'?: string | null;
|
|
50
|
+
/**
|
|
51
|
+
*
|
|
52
|
+
* @type {string}
|
|
53
|
+
* @memberof CreateCountryCommand
|
|
54
|
+
*/
|
|
55
|
+
'countryCode'?: string | null;
|
|
50
56
|
/**
|
|
51
57
|
*
|
|
52
58
|
* @type {string}
|
|
@@ -25,6 +25,9 @@ import { Gender } from './gender';
|
|
|
25
25
|
// May contain unused imports in some cases
|
|
26
26
|
// @ts-ignore
|
|
27
27
|
import { UserLanguageModel } from './user-language-model';
|
|
28
|
+
// May contain unused imports in some cases
|
|
29
|
+
// @ts-ignore
|
|
30
|
+
import { UserType } from './user-type';
|
|
28
31
|
|
|
29
32
|
/**
|
|
30
33
|
*
|
|
@@ -118,10 +121,10 @@ export interface DoctorModel {
|
|
|
118
121
|
'auditableEntity'?: AuditableEntityModel;
|
|
119
122
|
/**
|
|
120
123
|
*
|
|
121
|
-
* @type {
|
|
124
|
+
* @type {UserType}
|
|
122
125
|
* @memberof DoctorModel
|
|
123
126
|
*/
|
|
124
|
-
'userType'?:
|
|
127
|
+
'userType'?: UserType;
|
|
125
128
|
/**
|
|
126
129
|
*
|
|
127
130
|
* @type {Array<UserLanguageModel>}
|
package/src/models/index.ts
CHANGED
|
@@ -88,6 +88,9 @@ export * from './contributor-sns-handles-model';
|
|
|
88
88
|
export * from './contributors-model';
|
|
89
89
|
export * from './countries-model';
|
|
90
90
|
export * from './country-item-model';
|
|
91
|
+
export * from './country-language-item-model';
|
|
92
|
+
export * from './country-language-model';
|
|
93
|
+
export * from './country-languages-model';
|
|
91
94
|
export * from './country-model';
|
|
92
95
|
export * from './country-sorting-command';
|
|
93
96
|
export * from './create-about-us-page-command';
|
|
@@ -402,6 +405,7 @@ export * from './reschedule-appointment-command';
|
|
|
402
405
|
export * from './review-type';
|
|
403
406
|
export * from './save-appointment-timetable-override-model';
|
|
404
407
|
export * from './save-appointment-timetable-overrides-result-model';
|
|
408
|
+
export * from './save-country-language-command';
|
|
405
409
|
export * from './save-deal-package-appointment-timetable-overrides-command';
|
|
406
410
|
export * from './save-doctor-affiliation-appointment-timetable-overrides-command';
|
|
407
411
|
export * from './save-footer-navigation-item-model';
|
|
@@ -439,6 +443,7 @@ export * from './set-hospital-into-form-template-command';
|
|
|
439
443
|
export * from './set-hospital-into-survey-form-command';
|
|
440
444
|
export * from './sns-handle-model';
|
|
441
445
|
export * from './sns-type';
|
|
446
|
+
export * from './sort-country-languages-command';
|
|
442
447
|
export * from './sort-footer-navigations-command';
|
|
443
448
|
export * from './sorting-item-model';
|
|
444
449
|
export * from './sorting-order';
|
|
@@ -577,6 +582,7 @@ export * from './uploaded-medias-model';
|
|
|
577
582
|
export * from './user';
|
|
578
583
|
export * from './user-language-model';
|
|
579
584
|
export * from './user-model';
|
|
585
|
+
export * from './user-type';
|
|
580
586
|
export * from './web-app-environment-model';
|
|
581
587
|
export * from './web-app-environments-model';
|
|
582
588
|
export * from './web-app-item-model';
|
|
@@ -25,6 +25,9 @@ import { ManagerAffiliationItemModel } from './manager-affiliation-item-model';
|
|
|
25
25
|
// May contain unused imports in some cases
|
|
26
26
|
// @ts-ignore
|
|
27
27
|
import { UserLanguageModel } from './user-language-model';
|
|
28
|
+
// May contain unused imports in some cases
|
|
29
|
+
// @ts-ignore
|
|
30
|
+
import { UserType } from './user-type';
|
|
28
31
|
|
|
29
32
|
/**
|
|
30
33
|
*
|
|
@@ -118,10 +121,10 @@ export interface ManagerModel {
|
|
|
118
121
|
'auditableEntity'?: AuditableEntityModel;
|
|
119
122
|
/**
|
|
120
123
|
*
|
|
121
|
-
* @type {
|
|
124
|
+
* @type {UserType}
|
|
122
125
|
* @memberof ManagerModel
|
|
123
126
|
*/
|
|
124
|
-
'userType'?:
|
|
127
|
+
'userType'?: UserType;
|
|
125
128
|
/**
|
|
126
129
|
*
|
|
127
130
|
* @type {Array<UserLanguageModel>}
|
|
@@ -55,7 +55,8 @@ export const NotificationCode = {
|
|
|
55
55
|
AppointmentRescheduleRequested: 'AppointmentRescheduleRequested',
|
|
56
56
|
AppointmentRescheduleRequestApproved: 'AppointmentRescheduleRequestApproved',
|
|
57
57
|
AppointmentReady: 'AppointmentReady',
|
|
58
|
-
HandoffRequested: 'HandoffRequested'
|
|
58
|
+
HandoffRequested: 'HandoffRequested',
|
|
59
|
+
SessionDeleted: 'SessionDeleted'
|
|
59
60
|
} as const;
|
|
60
61
|
|
|
61
62
|
export type NotificationCode = typeof NotificationCode[keyof typeof NotificationCode];
|
|
@@ -22,6 +22,9 @@ import { Gender } from './gender';
|
|
|
22
22
|
// May contain unused imports in some cases
|
|
23
23
|
// @ts-ignore
|
|
24
24
|
import { UserLanguageModel } from './user-language-model';
|
|
25
|
+
// May contain unused imports in some cases
|
|
26
|
+
// @ts-ignore
|
|
27
|
+
import { UserType } from './user-type';
|
|
25
28
|
|
|
26
29
|
/**
|
|
27
30
|
*
|
|
@@ -115,10 +118,10 @@ export interface PatientModel {
|
|
|
115
118
|
'auditableEntity'?: AuditableEntityModel;
|
|
116
119
|
/**
|
|
117
120
|
*
|
|
118
|
-
* @type {
|
|
121
|
+
* @type {UserType}
|
|
119
122
|
* @memberof PatientModel
|
|
120
123
|
*/
|
|
121
|
-
'userType'?:
|
|
124
|
+
'userType'?: UserType;
|
|
122
125
|
/**
|
|
123
126
|
*
|
|
124
127
|
* @type {Array<UserLanguageModel>}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* CloudHospital Admin Api
|
|
5
|
+
* CloudHospital application with Swagger, Swashbuckle, and API versioning.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1
|
|
8
|
+
* Contact: developer@icloudhospital.com
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
/**
|
|
18
|
+
*
|
|
19
|
+
* @export
|
|
20
|
+
* @interface SaveCountryLanguageCommand
|
|
21
|
+
*/
|
|
22
|
+
export interface SaveCountryLanguageCommand {
|
|
23
|
+
/**
|
|
24
|
+
*
|
|
25
|
+
* @type {number}
|
|
26
|
+
* @memberof SaveCountryLanguageCommand
|
|
27
|
+
*/
|
|
28
|
+
'order'?: number;
|
|
29
|
+
}
|
|
30
|
+
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* CloudHospital Admin Api
|
|
5
|
+
* CloudHospital application with Swagger, Swashbuckle, and API versioning.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1
|
|
8
|
+
* Contact: developer@icloudhospital.com
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
// May contain unused imports in some cases
|
|
17
|
+
// @ts-ignore
|
|
18
|
+
import { SortingItemModel } from './sorting-item-model';
|
|
19
|
+
|
|
20
|
+
/**
|
|
21
|
+
*
|
|
22
|
+
* @export
|
|
23
|
+
* @interface SortCountryLanguagesCommand
|
|
24
|
+
*/
|
|
25
|
+
export interface SortCountryLanguagesCommand {
|
|
26
|
+
/**
|
|
27
|
+
*
|
|
28
|
+
* @type {Array<SortingItemModel>}
|
|
29
|
+
* @memberof SortCountryLanguagesCommand
|
|
30
|
+
*/
|
|
31
|
+
'items'?: Array<SortingItemModel> | null;
|
|
32
|
+
}
|
|
33
|
+
|
package/src/models/user-model.ts
CHANGED
|
@@ -22,6 +22,9 @@ import { Gender } from './gender';
|
|
|
22
22
|
// May contain unused imports in some cases
|
|
23
23
|
// @ts-ignore
|
|
24
24
|
import { UserLanguageModel } from './user-language-model';
|
|
25
|
+
// May contain unused imports in some cases
|
|
26
|
+
// @ts-ignore
|
|
27
|
+
import { UserType } from './user-type';
|
|
25
28
|
|
|
26
29
|
/**
|
|
27
30
|
*
|
|
@@ -115,10 +118,10 @@ export interface UserModel {
|
|
|
115
118
|
'auditableEntity'?: AuditableEntityModel;
|
|
116
119
|
/**
|
|
117
120
|
*
|
|
118
|
-
* @type {
|
|
121
|
+
* @type {UserType}
|
|
119
122
|
* @memberof UserModel
|
|
120
123
|
*/
|
|
121
|
-
'userType'?:
|
|
124
|
+
'userType'?: UserType;
|
|
122
125
|
/**
|
|
123
126
|
*
|
|
124
127
|
* @type {Array<UserLanguageModel>}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* CloudHospital Admin Api
|
|
5
|
+
* CloudHospital application with Swagger, Swashbuckle, and API versioning.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1
|
|
8
|
+
* Contact: developer@icloudhospital.com
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
/**
|
|
18
|
+
*
|
|
19
|
+
* @export
|
|
20
|
+
* @enum {string}
|
|
21
|
+
*/
|
|
22
|
+
|
|
23
|
+
export const UserType = {
|
|
24
|
+
Patient: 'Patient',
|
|
25
|
+
Partner: 'Partner',
|
|
26
|
+
Doctor: 'Doctor',
|
|
27
|
+
Manager: 'Manager',
|
|
28
|
+
ChManager: 'CHManager',
|
|
29
|
+
ChAdmin: 'CHAdmin'
|
|
30
|
+
} as const;
|
|
31
|
+
|
|
32
|
+
export type UserType = typeof UserType[keyof typeof UserType];
|
|
33
|
+
|
|
34
|
+
|
|
35
|
+
|