ch-api-client-typescript2 5.36.31 → 5.36.37
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/hospitals-api.d.ts +102 -0
- package/lib/api/hospitals-api.d.ts.map +1 -1
- package/lib/api/hospitals-api.js +156 -0
- package/lib/api/promotions-api.d.ts +134 -0
- package/lib/api/promotions-api.d.ts.map +1 -0
- package/lib/api/promotions-api.js +239 -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/index.d.ts +4 -0
- package/lib/models/index.d.ts.map +1 -1
- package/lib/models/index.js +4 -0
- package/lib/models/promotion-model.d.ts +99 -0
- package/lib/models/promotion-model.d.ts.map +1 -0
- package/lib/models/promotion-model.js +15 -0
- package/lib/models/promotion-type.d.ts +23 -0
- package/lib/models/promotion-type.d.ts.map +1 -0
- package/lib/models/promotion-type.js +26 -0
- package/lib/models/promotions-model.d.ts +33 -0
- package/lib/models/promotions-model.d.ts.map +1 -0
- package/lib/models/promotions-model.js +15 -0
- package/lib/models/web-app-metadata-model.d.ts +61 -0
- package/lib/models/web-app-metadata-model.d.ts.map +1 -0
- package/lib/models/web-app-metadata-model.js +15 -0
- package/package.json +1 -1
- package/src/.openapi-generator/FILES +5 -0
- package/src/api/hospitals-api.ts +178 -0
- package/src/api/promotions-api.ts +216 -0
- package/src/api.ts +1 -0
- package/src/models/index.ts +4 -0
- package/src/models/promotion-model.ts +108 -0
- package/src/models/promotion-type.ts +32 -0
- package/src/models/promotions-model.ts +42 -0
- package/src/models/web-app-metadata-model.ts +66 -0
|
@@ -0,0 +1,108 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* CloudHospital Api
|
|
5
|
+
* CloudHospital application with Swagger, Swashbuckle, and API versioning.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 2
|
|
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 { MediaModel } from './media-model';
|
|
19
|
+
// May contain unused imports in some cases
|
|
20
|
+
// @ts-ignore
|
|
21
|
+
import { PromotionType } from './promotion-type';
|
|
22
|
+
|
|
23
|
+
/**
|
|
24
|
+
*
|
|
25
|
+
* @export
|
|
26
|
+
* @interface PromotionModel
|
|
27
|
+
*/
|
|
28
|
+
export interface PromotionModel {
|
|
29
|
+
/**
|
|
30
|
+
*
|
|
31
|
+
* @type {string}
|
|
32
|
+
* @memberof PromotionModel
|
|
33
|
+
*/
|
|
34
|
+
'id'?: string;
|
|
35
|
+
/**
|
|
36
|
+
*
|
|
37
|
+
* @type {string}
|
|
38
|
+
* @memberof PromotionModel
|
|
39
|
+
*/
|
|
40
|
+
'hospitalId'?: string;
|
|
41
|
+
/**
|
|
42
|
+
*
|
|
43
|
+
* @type {string}
|
|
44
|
+
* @memberof PromotionModel
|
|
45
|
+
*/
|
|
46
|
+
'hospitalName'?: string | null;
|
|
47
|
+
/**
|
|
48
|
+
*
|
|
49
|
+
* @type {PromotionType}
|
|
50
|
+
* @memberof PromotionModel
|
|
51
|
+
*/
|
|
52
|
+
'promotionType'?: PromotionType;
|
|
53
|
+
/**
|
|
54
|
+
*
|
|
55
|
+
* @type {number}
|
|
56
|
+
* @memberof PromotionModel
|
|
57
|
+
*/
|
|
58
|
+
'order'?: number;
|
|
59
|
+
/**
|
|
60
|
+
*
|
|
61
|
+
* @type {Date}
|
|
62
|
+
* @memberof PromotionModel
|
|
63
|
+
*/
|
|
64
|
+
'start'?: Date | null;
|
|
65
|
+
/**
|
|
66
|
+
*
|
|
67
|
+
* @type {Date}
|
|
68
|
+
* @memberof PromotionModel
|
|
69
|
+
*/
|
|
70
|
+
'end'?: Date | null;
|
|
71
|
+
/**
|
|
72
|
+
*
|
|
73
|
+
* @type {boolean}
|
|
74
|
+
* @memberof PromotionModel
|
|
75
|
+
*/
|
|
76
|
+
'isActivated'?: boolean;
|
|
77
|
+
/**
|
|
78
|
+
*
|
|
79
|
+
* @type {string}
|
|
80
|
+
* @memberof PromotionModel
|
|
81
|
+
*/
|
|
82
|
+
'targetUrl'?: string | null;
|
|
83
|
+
/**
|
|
84
|
+
*
|
|
85
|
+
* @type {string}
|
|
86
|
+
* @memberof PromotionModel
|
|
87
|
+
*/
|
|
88
|
+
'languageCode'?: string | null;
|
|
89
|
+
/**
|
|
90
|
+
*
|
|
91
|
+
* @type {string}
|
|
92
|
+
* @memberof PromotionModel
|
|
93
|
+
*/
|
|
94
|
+
'name'?: string | null;
|
|
95
|
+
/**
|
|
96
|
+
*
|
|
97
|
+
* @type {string}
|
|
98
|
+
* @memberof PromotionModel
|
|
99
|
+
*/
|
|
100
|
+
'buttonTitle'?: string | null;
|
|
101
|
+
/**
|
|
102
|
+
*
|
|
103
|
+
* @type {Array<MediaModel>}
|
|
104
|
+
* @memberof PromotionModel
|
|
105
|
+
*/
|
|
106
|
+
'medias'?: Array<MediaModel> | null;
|
|
107
|
+
}
|
|
108
|
+
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* CloudHospital Api
|
|
5
|
+
* CloudHospital application with Swagger, Swashbuckle, and API versioning.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 2
|
|
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 PromotionType = {
|
|
24
|
+
PlainImage: 'PlainImage',
|
|
25
|
+
WithCta: 'WithCTA',
|
|
26
|
+
WithTextAndCta: 'WithTextAndCTA'
|
|
27
|
+
} as const;
|
|
28
|
+
|
|
29
|
+
export type PromotionType = typeof PromotionType[keyof typeof PromotionType];
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* CloudHospital Api
|
|
5
|
+
* CloudHospital application with Swagger, Swashbuckle, and API versioning.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 2
|
|
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 { PagedListMetaData } from './paged-list-meta-data';
|
|
19
|
+
// May contain unused imports in some cases
|
|
20
|
+
// @ts-ignore
|
|
21
|
+
import { PromotionModel } from './promotion-model';
|
|
22
|
+
|
|
23
|
+
/**
|
|
24
|
+
*
|
|
25
|
+
* @export
|
|
26
|
+
* @interface PromotionsModel
|
|
27
|
+
*/
|
|
28
|
+
export interface PromotionsModel {
|
|
29
|
+
/**
|
|
30
|
+
*
|
|
31
|
+
* @type {Array<PromotionModel>}
|
|
32
|
+
* @memberof PromotionsModel
|
|
33
|
+
*/
|
|
34
|
+
'items'?: Array<PromotionModel> | null;
|
|
35
|
+
/**
|
|
36
|
+
*
|
|
37
|
+
* @type {PagedListMetaData}
|
|
38
|
+
* @memberof PromotionsModel
|
|
39
|
+
*/
|
|
40
|
+
'metaData'?: PagedListMetaData;
|
|
41
|
+
}
|
|
42
|
+
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* CloudHospital Api
|
|
5
|
+
* CloudHospital application with Swagger, Swashbuckle, and API versioning.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 2
|
|
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 WebAppMetadataModel
|
|
21
|
+
*/
|
|
22
|
+
export interface WebAppMetadataModel {
|
|
23
|
+
/**
|
|
24
|
+
*
|
|
25
|
+
* @type {string}
|
|
26
|
+
* @memberof WebAppMetadataModel
|
|
27
|
+
*/
|
|
28
|
+
'id'?: string;
|
|
29
|
+
/**
|
|
30
|
+
*
|
|
31
|
+
* @type {string}
|
|
32
|
+
* @memberof WebAppMetadataModel
|
|
33
|
+
*/
|
|
34
|
+
'hospitalId'?: string;
|
|
35
|
+
/**
|
|
36
|
+
*
|
|
37
|
+
* @type {string}
|
|
38
|
+
* @memberof WebAppMetadataModel
|
|
39
|
+
*/
|
|
40
|
+
'colorPrimary'?: string | null;
|
|
41
|
+
/**
|
|
42
|
+
*
|
|
43
|
+
* @type {string}
|
|
44
|
+
* @memberof WebAppMetadataModel
|
|
45
|
+
*/
|
|
46
|
+
'colorSecondary'?: string | null;
|
|
47
|
+
/**
|
|
48
|
+
*
|
|
49
|
+
* @type {string}
|
|
50
|
+
* @memberof WebAppMetadataModel
|
|
51
|
+
*/
|
|
52
|
+
'colorNeutral'?: string | null;
|
|
53
|
+
/**
|
|
54
|
+
*
|
|
55
|
+
* @type {string}
|
|
56
|
+
* @memberof WebAppMetadataModel
|
|
57
|
+
*/
|
|
58
|
+
'colorDark'?: string | null;
|
|
59
|
+
/**
|
|
60
|
+
*
|
|
61
|
+
* @type {string}
|
|
62
|
+
* @memberof WebAppMetadataModel
|
|
63
|
+
*/
|
|
64
|
+
'colorLight'?: string | null;
|
|
65
|
+
}
|
|
66
|
+
|