ch-admin-api-client-typescript 5.2.4 → 5.2.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (46) hide show
  1. package/lib/api/hospitals-api.d.ts +875 -28
  2. package/lib/api/hospitals-api.d.ts.map +1 -1
  3. package/lib/api/hospitals-api.js +1338 -72
  4. package/lib/api/survey-results-api.d.ts +12 -3
  5. package/lib/api/survey-results-api.d.ts.map +1 -1
  6. package/lib/api/survey-results-api.js +12 -6
  7. package/lib/models/create-policy-command.d.ts +74 -0
  8. package/lib/models/create-policy-command.d.ts.map +1 -0
  9. package/lib/models/create-policy-command.js +15 -0
  10. package/lib/models/footer-navigation-item-model.d.ts +61 -0
  11. package/lib/models/footer-navigation-item-model.d.ts.map +1 -0
  12. package/lib/models/footer-navigation-item-model.js +15 -0
  13. package/lib/models/index.d.ts +8 -0
  14. package/lib/models/index.d.ts.map +1 -1
  15. package/lib/models/index.js +8 -0
  16. package/lib/models/policies-model.d.ts +33 -0
  17. package/lib/models/policies-model.d.ts.map +1 -0
  18. package/lib/models/policies-model.js +15 -0
  19. package/lib/models/policy-item-model.d.ts +68 -0
  20. package/lib/models/policy-item-model.d.ts.map +1 -0
  21. package/lib/models/policy-item-model.js +15 -0
  22. package/lib/models/policy-model.d.ts +124 -0
  23. package/lib/models/policy-model.d.ts.map +1 -0
  24. package/lib/models/policy-model.js +15 -0
  25. package/lib/models/save-footer-navigation-item-model.d.ts +49 -0
  26. package/lib/models/save-footer-navigation-item-model.d.ts.map +1 -0
  27. package/lib/models/save-footer-navigation-item-model.js +15 -0
  28. package/lib/models/save-footer-navigations-command.d.ts +26 -0
  29. package/lib/models/save-footer-navigations-command.d.ts.map +1 -0
  30. package/lib/models/save-footer-navigations-command.js +15 -0
  31. package/lib/models/update-policy-command.d.ts +80 -0
  32. package/lib/models/update-policy-command.d.ts.map +1 -0
  33. package/lib/models/update-policy-command.js +15 -0
  34. package/package.json +1 -1
  35. package/src/.openapi-generator/FILES +8 -0
  36. package/src/api/hospitals-api.ts +1592 -112
  37. package/src/api/survey-results-api.ts +20 -6
  38. package/src/models/create-policy-command.ts +81 -0
  39. package/src/models/footer-navigation-item-model.ts +66 -0
  40. package/src/models/index.ts +8 -0
  41. package/src/models/policies-model.ts +42 -0
  42. package/src/models/policy-item-model.ts +75 -0
  43. package/src/models/policy-model.ts +135 -0
  44. package/src/models/save-footer-navigation-item-model.ts +54 -0
  45. package/src/models/save-footer-navigations-command.ts +33 -0
  46. package/src/models/update-policy-command.ts +87 -0
@@ -0,0 +1,124 @@
1
+ /**
2
+ * Swagger UI - Cloud Hospital Admin Api-INT
3
+ * Cloud Hospital application with Swagger, Swashbuckle, and API versioning.
4
+ *
5
+ * The version of the OpenAPI document: 1
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 { AuditableEntityModel } from './auditable-entity-model';
13
+ import { LocalizedUrlModel } from './localized-url-model';
14
+ import { MediaModel } from './media-model';
15
+ /**
16
+ *
17
+ * @export
18
+ * @interface PolicyModel
19
+ */
20
+ export interface PolicyModel {
21
+ /**
22
+ *
23
+ * @type {string}
24
+ * @memberof PolicyModel
25
+ */
26
+ 'id'?: string;
27
+ /**
28
+ *
29
+ * @type {string}
30
+ * @memberof PolicyModel
31
+ */
32
+ 'languageCode'?: string | null;
33
+ /**
34
+ *
35
+ * @type {string}
36
+ * @memberof PolicyModel
37
+ */
38
+ 'name'?: string | null;
39
+ /**
40
+ *
41
+ * @type {string}
42
+ * @memberof PolicyModel
43
+ */
44
+ 'slug'?: string | null;
45
+ /**
46
+ *
47
+ * @type {boolean}
48
+ * @memberof PolicyModel
49
+ */
50
+ 'confirmed'?: boolean;
51
+ /**
52
+ *
53
+ * @type {string}
54
+ * @memberof PolicyModel
55
+ */
56
+ 'photo'?: string | null;
57
+ /**
58
+ *
59
+ * @type {string}
60
+ * @memberof PolicyModel
61
+ */
62
+ 'photoThumbnail'?: string | null;
63
+ /**
64
+ *
65
+ * @type {AuditableEntityModel}
66
+ * @memberof PolicyModel
67
+ */
68
+ 'auditableEntity'?: AuditableEntityModel;
69
+ /**
70
+ *
71
+ * @type {string}
72
+ * @memberof PolicyModel
73
+ */
74
+ 'description'?: string | null;
75
+ /**
76
+ *
77
+ * @type {string}
78
+ * @memberof PolicyModel
79
+ */
80
+ 'overview'?: string | null;
81
+ /**
82
+ *
83
+ * @type {string}
84
+ * @memberof PolicyModel
85
+ */
86
+ 'content'?: string | null;
87
+ /**
88
+ *
89
+ * @type {string}
90
+ * @memberof PolicyModel
91
+ */
92
+ 'hospitalId'?: string;
93
+ /**
94
+ *
95
+ * @type {string}
96
+ * @memberof PolicyModel
97
+ */
98
+ 'hospitalName'?: string | null;
99
+ /**
100
+ *
101
+ * @type {string}
102
+ * @memberof PolicyModel
103
+ */
104
+ 'hospitalSlug'?: string | null;
105
+ /**
106
+ *
107
+ * @type {string}
108
+ * @memberof PolicyModel
109
+ */
110
+ 'customStyle'?: string | null;
111
+ /**
112
+ *
113
+ * @type {Array<LocalizedUrlModel>}
114
+ * @memberof PolicyModel
115
+ */
116
+ 'localizedUrls'?: Array<LocalizedUrlModel> | null;
117
+ /**
118
+ *
119
+ * @type {Array<MediaModel>}
120
+ * @memberof PolicyModel
121
+ */
122
+ 'medias'?: Array<MediaModel> | null;
123
+ }
124
+ //# sourceMappingURL=policy-model.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"policy-model.d.ts","sourceRoot":"","sources":["../../src/models/policy-model.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAKH,OAAO,EAAE,oBAAoB,EAAE,MAAM,0BAA0B,CAAC;AAGhE,OAAO,EAAE,iBAAiB,EAAE,MAAM,uBAAuB,CAAC;AAG1D,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAE3C;;;;GAI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agger, Swashbuckle, and API versioning.
7
+ *
8
+ * The version of the OpenAPI document: 1
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,49 @@
1
+ /**
2
+ * Swagger UI - Cloud Hospital Admin Api-INT
3
+ * Cloud Hospital application with Swagger, Swashbuckle, and API versioning.
4
+ *
5
+ * The version of the OpenAPI document: 1
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
+ /**
13
+ *
14
+ * @export
15
+ * @interface SaveFooterNavigationItemModel
16
+ */
17
+ export interface SaveFooterNavigationItemModel {
18
+ /**
19
+ *
20
+ * @type {string}
21
+ * @memberof SaveFooterNavigationItemModel
22
+ */
23
+ 'id'?: string | null;
24
+ /**
25
+ *
26
+ * @type {string}
27
+ * @memberof SaveFooterNavigationItemModel
28
+ */
29
+ 'name'?: string | null;
30
+ /**
31
+ *
32
+ * @type {string}
33
+ * @memberof SaveFooterNavigationItemModel
34
+ */
35
+ 'url'?: string | null;
36
+ /**
37
+ *
38
+ * @type {number}
39
+ * @memberof SaveFooterNavigationItemModel
40
+ */
41
+ 'order'?: number;
42
+ /**
43
+ *
44
+ * @type {Array<SaveFooterNavigationItemModel>}
45
+ * @memberof SaveFooterNavigationItemModel
46
+ */
47
+ 'subItems'?: Array<SaveFooterNavigationItemModel> | null;
48
+ }
49
+ //# sourceMappingURL=save-footer-navigation-item-model.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"save-footer-navigation-item-model.d.ts","sourceRoot":"","sources":["../../src/models/save-footer-navigation-item-model.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAIH;;;;GAIG;AACH,MAAM,WAAW,6BAA6B;IAC1C;;;;OAIG;IACH,IAAI,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACrB;;;;OAIG;IACH,MAAM,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACvB;;;;OAIG;IACH,KAAK,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACtB;;;;OAIG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB;;;;OAIG;IACH,UAAU,CAAC,EAAE,KAAK,CAAC,6BAA6B,CAAC,GAAG,IAAI,CAAC;CAC5D"}
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * Swagger UI - Cloud Hospital Admin Api-INT
6
+ * Cloud Hospital application with Swagger, Swashbuckle, and API versioning.
7
+ *
8
+ * The version of the OpenAPI document: 1
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,26 @@
1
+ /**
2
+ * Swagger UI - Cloud Hospital Admin Api-INT
3
+ * Cloud Hospital application with Swagger, Swashbuckle, and API versioning.
4
+ *
5
+ * The version of the OpenAPI document: 1
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 { SaveFooterNavigationItemModel } from './save-footer-navigation-item-model';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface SaveFooterNavigationsCommand
17
+ */
18
+ export interface SaveFooterNavigationsCommand {
19
+ /**
20
+ *
21
+ * @type {SaveFooterNavigationItemModel}
22
+ * @memberof SaveFooterNavigationsCommand
23
+ */
24
+ 'item'?: SaveFooterNavigationItemModel;
25
+ }
26
+ //# sourceMappingURL=save-footer-navigations-command.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"save-footer-navigations-command.d.ts","sourceRoot":"","sources":["../../src/models/save-footer-navigations-command.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAKH,OAAO,EAAE,6BAA6B,EAAE,MAAM,qCAAqC,CAAC;AAEpF;;;;GAIG;AACH,MAAM,WAAW,4BAA4B;IACzC;;;;OAIG;IACH,MAAM,CAAC,EAAE,6BAA6B,CAAC;CAC1C"}
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * Swagger UI - Cloud Hospital Admin Api-INT
6
+ * Cloud Hospital application with Swagger, Swashbuckle, and API versioning.
7
+ *
8
+ * The version of the OpenAPI document: 1
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,80 @@
1
+ /**
2
+ * Swagger UI - Cloud Hospital Admin Api-INT
3
+ * Cloud Hospital application with Swagger, Swashbuckle, and API versioning.
4
+ *
5
+ * The version of the OpenAPI document: 1
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 { MediaModel } from './media-model';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface UpdatePolicyCommand
17
+ */
18
+ export interface UpdatePolicyCommand {
19
+ /**
20
+ *
21
+ * @type {string}
22
+ * @memberof UpdatePolicyCommand
23
+ */
24
+ 'languageCode'?: string | null;
25
+ /**
26
+ *
27
+ * @type {string}
28
+ * @memberof UpdatePolicyCommand
29
+ */
30
+ 'name'?: string | null;
31
+ /**
32
+ *
33
+ * @type {string}
34
+ * @memberof UpdatePolicyCommand
35
+ */
36
+ 'slug'?: string | null;
37
+ /**
38
+ *
39
+ * @type {string}
40
+ * @memberof UpdatePolicyCommand
41
+ */
42
+ 'description'?: string | null;
43
+ /**
44
+ *
45
+ * @type {string}
46
+ * @memberof UpdatePolicyCommand
47
+ */
48
+ 'content'?: string | null;
49
+ /**
50
+ *
51
+ * @type {boolean}
52
+ * @memberof UpdatePolicyCommand
53
+ */
54
+ 'confirmed'?: boolean;
55
+ /**
56
+ *
57
+ * @type {string}
58
+ * @memberof UpdatePolicyCommand
59
+ */
60
+ 'customStyle'?: string | null;
61
+ /**
62
+ *
63
+ * @type {string}
64
+ * @memberof UpdatePolicyCommand
65
+ */
66
+ 'photo'?: string | null;
67
+ /**
68
+ *
69
+ * @type {string}
70
+ * @memberof UpdatePolicyCommand
71
+ */
72
+ 'photoThumbnail'?: string | null;
73
+ /**
74
+ *
75
+ * @type {Array<MediaModel>}
76
+ * @memberof UpdatePolicyCommand
77
+ */
78
+ 'medias'?: Array<MediaModel> | null;
79
+ }
80
+ //# sourceMappingURL=update-policy-command.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"update-policy-command.d.ts","sourceRoot":"","sources":["../../src/models/update-policy-command.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAKH,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAE3C;;;;GAIG;AACH,MAAM,WAAW,mBAAmB;IAChC;;;;OAIG;IACH,cAAc,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC/B;;;;OAIG;IACH,MAAM,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACvB;;;;OAIG;IACH,MAAM,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACvB;;;;OAIG;IACH,aAAa,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC9B;;;;OAIG;IACH,SAAS,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC1B;;;;OAIG;IACH,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB;;;;OAIG;IACH,aAAa,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC9B;;;;OAIG;IACH,OAAO,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACxB;;;;OAIG;IACH,gBAAgB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACjC;;;;OAIG;IACH,QAAQ,CAAC,EAAE,KAAK,CAAC,UAAU,CAAC,GAAG,IAAI,CAAC;CACvC"}
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * Swagger UI - Cloud Hospital Admin Api-INT
6
+ * Cloud Hospital application with Swagger, Swashbuckle, and API versioning.
7
+ *
8
+ * The version of the OpenAPI document: 1
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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ch-admin-api-client-typescript",
3
- "version": "5.2.4",
3
+ "version": "5.2.7",
4
4
  "description": "Openapi generated typescript-axios client for CloudHospital admin",
5
5
  "main": "lib/index.js",
6
6
  "types": "lib/index.d.ts",
@@ -180,6 +180,7 @@ models/create-media-command.ts
180
180
  models/create-patient-command.ts
181
181
  models/create-plan-command.ts
182
182
  models/create-plan-hospital-command.ts
183
+ models/create-policy-command.ts
183
184
  models/create-profile-command.ts
184
185
  models/create-service-category-command.ts
185
186
  models/create-service-review-command.ts
@@ -234,6 +235,7 @@ models/faq-tag-item-model.ts
234
235
  models/faq-tag-model.ts
235
236
  models/faq-tags-model.ts
236
237
  models/faqs-model.ts
238
+ models/footer-navigation-item-model.ts
237
239
  models/gender.ts
238
240
  models/grade-item-model.ts
239
241
  models/grade-model.ts
@@ -323,6 +325,9 @@ models/plan-item-model.ts
323
325
  models/plan-model.ts
324
326
  models/plans-model.ts
325
327
  models/platform.ts
328
+ models/policies-model.ts
329
+ models/policy-item-model.ts
330
+ models/policy-model.ts
326
331
  models/problem-details.ts
327
332
  models/procedure.ts
328
333
  models/recurring-interval.ts
@@ -337,6 +342,8 @@ models/save-appointment-timetable-overrides-result-model.ts
337
342
  models/save-deal-appointment-timetable-overrides-command.ts
338
343
  models/save-deal-package-appointment-timetable-overrides-command.ts
339
344
  models/save-doctor-affiliation-appointment-timetable-overrides-command.ts
345
+ models/save-footer-navigation-item-model.ts
346
+ models/save-footer-navigations-command.ts
340
347
  models/save-header-navigation-item-model.ts
341
348
  models/save-header-navigations-command.ts
342
349
  models/save-hospital-appointment-timetable-overrides-command.ts
@@ -445,6 +452,7 @@ models/update-media-command.ts
445
452
  models/update-patient-command.ts
446
453
  models/update-plan-command.ts
447
454
  models/update-plan-hospital-command.ts
455
+ models/update-policy-command.ts
448
456
  models/update-profile-command.ts
449
457
  models/update-service-category-command.ts
450
458
  models/update-service-review-command.ts