ch-admin-api-client-typescript 5.36.31 → 5.36.33

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 (38) hide show
  1. package/lib/api/promotions-api.d.ts +430 -0
  2. package/lib/api/promotions-api.d.ts.map +1 -0
  3. package/lib/api/promotions-api.js +719 -0
  4. package/lib/api.d.ts +1 -0
  5. package/lib/api.d.ts.map +1 -1
  6. package/lib/api.js +1 -0
  7. package/lib/models/create-promotion-command.d.ts +93 -0
  8. package/lib/models/create-promotion-command.d.ts.map +1 -0
  9. package/lib/models/create-promotion-command.js +15 -0
  10. package/lib/models/index.d.ts +6 -0
  11. package/lib/models/index.d.ts.map +1 -1
  12. package/lib/models/index.js +6 -0
  13. package/lib/models/promotion-item-model.d.ts +92 -0
  14. package/lib/models/promotion-item-model.d.ts.map +1 -0
  15. package/lib/models/promotion-item-model.js +15 -0
  16. package/lib/models/promotion-model.d.ts +99 -0
  17. package/lib/models/promotion-model.d.ts.map +1 -0
  18. package/lib/models/promotion-model.js +15 -0
  19. package/lib/models/promotion-type.d.ts +23 -0
  20. package/lib/models/promotion-type.d.ts.map +1 -0
  21. package/lib/models/promotion-type.js +26 -0
  22. package/lib/models/promotions-model.d.ts +33 -0
  23. package/lib/models/promotions-model.d.ts.map +1 -0
  24. package/lib/models/promotions-model.js +15 -0
  25. package/lib/models/update-promotion-command.d.ts +87 -0
  26. package/lib/models/update-promotion-command.d.ts.map +1 -0
  27. package/lib/models/update-promotion-command.js +15 -0
  28. package/package.json +1 -1
  29. package/src/.openapi-generator/FILES +7 -0
  30. package/src/api/promotions-api.ts +754 -0
  31. package/src/api.ts +1 -0
  32. package/src/models/create-promotion-command.ts +102 -0
  33. package/src/models/index.ts +6 -0
  34. package/src/models/promotion-item-model.ts +99 -0
  35. package/src/models/promotion-model.ts +108 -0
  36. package/src/models/promotion-type.ts +32 -0
  37. package/src/models/promotions-model.ts +42 -0
  38. package/src/models/update-promotion-command.ts +96 -0
package/src/api.ts CHANGED
@@ -56,6 +56,7 @@ export * from './api/payments-api';
56
56
  export * from './api/plans-api';
57
57
  export * from './api/prescriptions-api';
58
58
  export * from './api/profiles-api';
59
+ export * from './api/promotions-api';
59
60
  export * from './api/search-api';
60
61
  export * from './api/search-curations-api';
61
62
  export * from './api/service-reviews-api';
@@ -0,0 +1,102 @@
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 { 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 CreatePromotionCommand
27
+ */
28
+ export interface CreatePromotionCommand {
29
+ /**
30
+ *
31
+ * @type {string}
32
+ * @memberof CreatePromotionCommand
33
+ */
34
+ 'languageCode'?: string | null;
35
+ /**
36
+ *
37
+ * @type {string}
38
+ * @memberof CreatePromotionCommand
39
+ */
40
+ 'hospitalId'?: string;
41
+ /**
42
+ *
43
+ * @type {PromotionType}
44
+ * @memberof CreatePromotionCommand
45
+ */
46
+ 'promotionType'?: PromotionType;
47
+ /**
48
+ *
49
+ * @type {number}
50
+ * @memberof CreatePromotionCommand
51
+ */
52
+ 'order'?: number;
53
+ /**
54
+ *
55
+ * @type {Date}
56
+ * @memberof CreatePromotionCommand
57
+ */
58
+ 'start'?: Date | null;
59
+ /**
60
+ *
61
+ * @type {Date}
62
+ * @memberof CreatePromotionCommand
63
+ */
64
+ 'end'?: Date | null;
65
+ /**
66
+ *
67
+ * @type {boolean}
68
+ * @memberof CreatePromotionCommand
69
+ */
70
+ 'isActivated'?: boolean;
71
+ /**
72
+ *
73
+ * @type {string}
74
+ * @memberof CreatePromotionCommand
75
+ */
76
+ 'targetUrl'?: string | null;
77
+ /**
78
+ *
79
+ * @type {string}
80
+ * @memberof CreatePromotionCommand
81
+ */
82
+ 'name'?: string | null;
83
+ /**
84
+ *
85
+ * @type {string}
86
+ * @memberof CreatePromotionCommand
87
+ */
88
+ 'buttonTitle'?: string | null;
89
+ /**
90
+ *
91
+ * @type {boolean}
92
+ * @memberof CreatePromotionCommand
93
+ */
94
+ 'isConfirmed'?: boolean;
95
+ /**
96
+ *
97
+ * @type {Array<MediaModel>}
98
+ * @memberof CreatePromotionCommand
99
+ */
100
+ 'medias'?: Array<MediaModel> | null;
101
+ }
102
+
@@ -148,6 +148,7 @@ export * from './create-plan-hospital-command';
148
148
  export * from './create-policy-command';
149
149
  export * from './create-prescription-command';
150
150
  export * from './create-profile-command';
151
+ export * from './create-promotion-command';
151
152
  export * from './create-service-category-command';
152
153
  export * from './create-service-review-command';
153
154
  export * from './create-specialty-command';
@@ -391,6 +392,10 @@ export * from './prescription-symptom-item-model';
391
392
  export * from './prescriptions-model';
392
393
  export * from './problem-details';
393
394
  export * from './procedure';
395
+ export * from './promotion-item-model';
396
+ export * from './promotion-model';
397
+ export * from './promotion-type';
398
+ export * from './promotions-model';
394
399
  export * from './recurring-interval';
395
400
  export * from './refund-policy';
396
401
  export * from './refund-status';
@@ -560,6 +565,7 @@ export * from './update-plan-hospital-command';
560
565
  export * from './update-policy-command';
561
566
  export * from './update-prescription-command';
562
567
  export * from './update-profile-command';
568
+ export * from './update-promotion-command';
563
569
  export * from './update-service-category-command';
564
570
  export * from './update-service-review-command';
565
571
  export * from './update-specialty-command';
@@ -0,0 +1,99 @@
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 { PromotionType } from './promotion-type';
19
+
20
+ /**
21
+ *
22
+ * @export
23
+ * @interface PromotionItemModel
24
+ */
25
+ export interface PromotionItemModel {
26
+ /**
27
+ *
28
+ * @type {string}
29
+ * @memberof PromotionItemModel
30
+ */
31
+ 'id'?: string;
32
+ /**
33
+ *
34
+ * @type {string}
35
+ * @memberof PromotionItemModel
36
+ */
37
+ 'hospitalId'?: string;
38
+ /**
39
+ *
40
+ * @type {string}
41
+ * @memberof PromotionItemModel
42
+ */
43
+ 'hospitalName'?: string | null;
44
+ /**
45
+ *
46
+ * @type {PromotionType}
47
+ * @memberof PromotionItemModel
48
+ */
49
+ 'promotionType'?: PromotionType;
50
+ /**
51
+ *
52
+ * @type {number}
53
+ * @memberof PromotionItemModel
54
+ */
55
+ 'order'?: number;
56
+ /**
57
+ *
58
+ * @type {Date}
59
+ * @memberof PromotionItemModel
60
+ */
61
+ 'start'?: Date | null;
62
+ /**
63
+ *
64
+ * @type {Date}
65
+ * @memberof PromotionItemModel
66
+ */
67
+ 'end'?: Date | null;
68
+ /**
69
+ *
70
+ * @type {boolean}
71
+ * @memberof PromotionItemModel
72
+ */
73
+ 'isActivated'?: boolean;
74
+ /**
75
+ *
76
+ * @type {string}
77
+ * @memberof PromotionItemModel
78
+ */
79
+ 'targetUrl'?: string | null;
80
+ /**
81
+ *
82
+ * @type {string}
83
+ * @memberof PromotionItemModel
84
+ */
85
+ 'languageCode'?: string | null;
86
+ /**
87
+ *
88
+ * @type {string}
89
+ * @memberof PromotionItemModel
90
+ */
91
+ 'name'?: string | null;
92
+ /**
93
+ *
94
+ * @type {string}
95
+ * @memberof PromotionItemModel
96
+ */
97
+ 'buttonTitle'?: string | null;
98
+ }
99
+
@@ -0,0 +1,108 @@
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 { 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 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 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 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 { PagedListMetaData } from './paged-list-meta-data';
19
+ // May contain unused imports in some cases
20
+ // @ts-ignore
21
+ import { PromotionItemModel } from './promotion-item-model';
22
+
23
+ /**
24
+ *
25
+ * @export
26
+ * @interface PromotionsModel
27
+ */
28
+ export interface PromotionsModel {
29
+ /**
30
+ *
31
+ * @type {Array<PromotionItemModel>}
32
+ * @memberof PromotionsModel
33
+ */
34
+ 'items'?: Array<PromotionItemModel> | null;
35
+ /**
36
+ *
37
+ * @type {PagedListMetaData}
38
+ * @memberof PromotionsModel
39
+ */
40
+ 'metaData'?: PagedListMetaData;
41
+ }
42
+
@@ -0,0 +1,96 @@
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 { 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 UpdatePromotionCommand
27
+ */
28
+ export interface UpdatePromotionCommand {
29
+ /**
30
+ *
31
+ * @type {string}
32
+ * @memberof UpdatePromotionCommand
33
+ */
34
+ 'languageCode'?: string | null;
35
+ /**
36
+ *
37
+ * @type {PromotionType}
38
+ * @memberof UpdatePromotionCommand
39
+ */
40
+ 'promotionType'?: PromotionType;
41
+ /**
42
+ *
43
+ * @type {number}
44
+ * @memberof UpdatePromotionCommand
45
+ */
46
+ 'order'?: number;
47
+ /**
48
+ *
49
+ * @type {Date}
50
+ * @memberof UpdatePromotionCommand
51
+ */
52
+ 'start'?: Date | null;
53
+ /**
54
+ *
55
+ * @type {Date}
56
+ * @memberof UpdatePromotionCommand
57
+ */
58
+ 'end'?: Date | null;
59
+ /**
60
+ *
61
+ * @type {boolean}
62
+ * @memberof UpdatePromotionCommand
63
+ */
64
+ 'isActivated'?: boolean;
65
+ /**
66
+ *
67
+ * @type {string}
68
+ * @memberof UpdatePromotionCommand
69
+ */
70
+ 'targetUrl'?: string | null;
71
+ /**
72
+ *
73
+ * @type {string}
74
+ * @memberof UpdatePromotionCommand
75
+ */
76
+ 'name'?: string | null;
77
+ /**
78
+ *
79
+ * @type {string}
80
+ * @memberof UpdatePromotionCommand
81
+ */
82
+ 'buttonTitle'?: string | null;
83
+ /**
84
+ *
85
+ * @type {boolean}
86
+ * @memberof UpdatePromotionCommand
87
+ */
88
+ 'isConfirmed'?: boolean;
89
+ /**
90
+ *
91
+ * @type {Array<MediaModel>}
92
+ * @memberof UpdatePromotionCommand
93
+ */
94
+ 'medias'?: Array<MediaModel> | null;
95
+ }
96
+