ch-admin-api-client-typescript 5.36.28 → 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 (55) hide show
  1. package/lib/api/form-templates-api.d.ts +12 -3
  2. package/lib/api/form-templates-api.d.ts.map +1 -1
  3. package/lib/api/form-templates-api.js +12 -6
  4. package/lib/api/promotions-api.d.ts +430 -0
  5. package/lib/api/promotions-api.d.ts.map +1 -0
  6. package/lib/api/promotions-api.js +719 -0
  7. package/lib/api/survey-forms-api.d.ts +12 -3
  8. package/lib/api/survey-forms-api.d.ts.map +1 -1
  9. package/lib/api/survey-forms-api.js +12 -6
  10. package/lib/api.d.ts +1 -0
  11. package/lib/api.d.ts.map +1 -1
  12. package/lib/api.js +1 -0
  13. package/lib/models/create-promotion-command.d.ts +93 -0
  14. package/lib/models/create-promotion-command.d.ts.map +1 -0
  15. package/lib/models/create-promotion-command.js +15 -0
  16. package/lib/models/form-template-item-model.d.ts +6 -6
  17. package/lib/models/form-template-item-model.d.ts.map +1 -1
  18. package/lib/models/form-template-model.d.ts +6 -6
  19. package/lib/models/form-template-model.d.ts.map +1 -1
  20. package/lib/models/index.d.ts +6 -0
  21. package/lib/models/index.d.ts.map +1 -1
  22. package/lib/models/index.js +6 -0
  23. package/lib/models/promotion-item-model.d.ts +92 -0
  24. package/lib/models/promotion-item-model.d.ts.map +1 -0
  25. package/lib/models/promotion-item-model.js +15 -0
  26. package/lib/models/promotion-model.d.ts +99 -0
  27. package/lib/models/promotion-model.d.ts.map +1 -0
  28. package/lib/models/promotion-model.js +15 -0
  29. package/lib/models/promotion-type.d.ts +23 -0
  30. package/lib/models/promotion-type.d.ts.map +1 -0
  31. package/lib/models/promotion-type.js +26 -0
  32. package/lib/models/promotions-model.d.ts +33 -0
  33. package/lib/models/promotions-model.d.ts.map +1 -0
  34. package/lib/models/promotions-model.js +15 -0
  35. package/lib/models/save-form-template-command.d.ts +6 -6
  36. package/lib/models/save-form-template-command.d.ts.map +1 -1
  37. package/lib/models/update-promotion-command.d.ts +87 -0
  38. package/lib/models/update-promotion-command.d.ts.map +1 -0
  39. package/lib/models/update-promotion-command.js +15 -0
  40. package/package.json +1 -1
  41. package/src/.openapi-generator/FILES +7 -0
  42. package/src/api/form-templates-api.ts +20 -6
  43. package/src/api/promotions-api.ts +754 -0
  44. package/src/api/survey-forms-api.ts +20 -6
  45. package/src/api.ts +1 -0
  46. package/src/models/create-promotion-command.ts +102 -0
  47. package/src/models/form-template-item-model.ts +6 -6
  48. package/src/models/form-template-model.ts +6 -6
  49. package/src/models/index.ts +6 -0
  50. package/src/models/promotion-item-model.ts +99 -0
  51. package/src/models/promotion-model.ts +108 -0
  52. package/src/models/promotion-type.ts +32 -0
  53. package/src/models/promotions-model.ts +42 -0
  54. package/src/models/save-form-template-command.ts +6 -6
  55. package/src/models/update-promotion-command.ts +96 -0
@@ -48,6 +48,7 @@ export const SurveyFormsApiAxiosParamCreator = function (configuration?: Configu
48
48
  * @param {string} [name]
49
49
  * @param {string} [languageCode]
50
50
  * @param {boolean} [showHidden]
51
+ * @param {boolean} [isShared]
51
52
  * @param {SurveyFormStatus} [status]
52
53
  * @param {number} [page]
53
54
  * @param {number} [limit]
@@ -55,7 +56,7 @@ export const SurveyFormsApiAxiosParamCreator = function (configuration?: Configu
55
56
  * @param {*} [options] Override http request option.
56
57
  * @throws {RequiredError}
57
58
  */
58
- apiV1SurveyformsGet: async (id?: string, hospitalId?: string, name?: string, languageCode?: string, showHidden?: boolean, status?: SurveyFormStatus, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
59
+ apiV1SurveyformsGet: async (id?: string, hospitalId?: string, name?: string, languageCode?: string, showHidden?: boolean, isShared?: boolean, status?: SurveyFormStatus, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
59
60
  const localVarPath = `/api/v1/surveyforms`;
60
61
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
61
62
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -92,6 +93,10 @@ export const SurveyFormsApiAxiosParamCreator = function (configuration?: Configu
92
93
  localVarQueryParameter['ShowHidden'] = showHidden;
93
94
  }
94
95
 
96
+ if (isShared !== undefined) {
97
+ localVarQueryParameter['IsShared'] = isShared;
98
+ }
99
+
95
100
  if (status !== undefined) {
96
101
  localVarQueryParameter['Status'] = status;
97
102
  }
@@ -441,6 +446,7 @@ export const SurveyFormsApiFp = function(configuration?: Configuration) {
441
446
  * @param {string} [name]
442
447
  * @param {string} [languageCode]
443
448
  * @param {boolean} [showHidden]
449
+ * @param {boolean} [isShared]
444
450
  * @param {SurveyFormStatus} [status]
445
451
  * @param {number} [page]
446
452
  * @param {number} [limit]
@@ -448,8 +454,8 @@ export const SurveyFormsApiFp = function(configuration?: Configuration) {
448
454
  * @param {*} [options] Override http request option.
449
455
  * @throws {RequiredError}
450
456
  */
451
- async apiV1SurveyformsGet(id?: string, hospitalId?: string, name?: string, languageCode?: string, showHidden?: boolean, status?: SurveyFormStatus, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SurveyFormsModel>> {
452
- const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1SurveyformsGet(id, hospitalId, name, languageCode, showHidden, status, page, limit, lastRetrieved, options);
457
+ async apiV1SurveyformsGet(id?: string, hospitalId?: string, name?: string, languageCode?: string, showHidden?: boolean, isShared?: boolean, status?: SurveyFormStatus, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SurveyFormsModel>> {
458
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1SurveyformsGet(id, hospitalId, name, languageCode, showHidden, isShared, status, page, limit, lastRetrieved, options);
453
459
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
454
460
  },
455
461
  /**
@@ -555,6 +561,7 @@ export const SurveyFormsApiFactory = function (configuration?: Configuration, ba
555
561
  * @param {string} [name]
556
562
  * @param {string} [languageCode]
557
563
  * @param {boolean} [showHidden]
564
+ * @param {boolean} [isShared]
558
565
  * @param {SurveyFormStatus} [status]
559
566
  * @param {number} [page]
560
567
  * @param {number} [limit]
@@ -562,8 +569,8 @@ export const SurveyFormsApiFactory = function (configuration?: Configuration, ba
562
569
  * @param {*} [options] Override http request option.
563
570
  * @throws {RequiredError}
564
571
  */
565
- apiV1SurveyformsGet(id?: string, hospitalId?: string, name?: string, languageCode?: string, showHidden?: boolean, status?: SurveyFormStatus, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<SurveyFormsModel> {
566
- return localVarFp.apiV1SurveyformsGet(id, hospitalId, name, languageCode, showHidden, status, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
572
+ apiV1SurveyformsGet(id?: string, hospitalId?: string, name?: string, languageCode?: string, showHidden?: boolean, isShared?: boolean, status?: SurveyFormStatus, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<SurveyFormsModel> {
573
+ return localVarFp.apiV1SurveyformsGet(id, hospitalId, name, languageCode, showHidden, isShared, status, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
567
574
  },
568
575
  /**
569
576
  *
@@ -687,6 +694,13 @@ export interface SurveyFormsApiApiV1SurveyformsGetRequest {
687
694
  */
688
695
  readonly showHidden?: boolean
689
696
 
697
+ /**
698
+ *
699
+ * @type {boolean}
700
+ * @memberof SurveyFormsApiApiV1SurveyformsGet
701
+ */
702
+ readonly isShared?: boolean
703
+
690
704
  /**
691
705
  *
692
706
  * @type {SurveyFormStatus}
@@ -886,7 +900,7 @@ export class SurveyFormsApi extends BaseAPI {
886
900
  * @memberof SurveyFormsApi
887
901
  */
888
902
  public apiV1SurveyformsGet(requestParameters: SurveyFormsApiApiV1SurveyformsGetRequest = {}, options?: AxiosRequestConfig) {
889
- return SurveyFormsApiFp(this.configuration).apiV1SurveyformsGet(requestParameters.id, requestParameters.hospitalId, requestParameters.name, requestParameters.languageCode, requestParameters.showHidden, requestParameters.status, requestParameters.page, requestParameters.limit, requestParameters.lastRetrieved, options).then((request) => request(this.axios, this.basePath));
903
+ return SurveyFormsApiFp(this.configuration).apiV1SurveyformsGet(requestParameters.id, requestParameters.hospitalId, requestParameters.name, requestParameters.languageCode, requestParameters.showHidden, requestParameters.isShared, requestParameters.status, requestParameters.page, requestParameters.limit, requestParameters.lastRetrieved, options).then((request) => request(this.axios, this.basePath));
890
904
  }
891
905
 
892
906
  /**
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
+
@@ -53,12 +53,6 @@ export interface FormTemplateItemModel {
53
53
  * @memberof FormTemplateItemModel
54
54
  */
55
55
  'status'?: FormTemplateStatus;
56
- /**
57
- *
58
- * @type {string}
59
- * @memberof FormTemplateItemModel
60
- */
61
- 'hospitalId'?: string | null;
62
56
  /**
63
57
  *
64
58
  * @type {string}
@@ -89,6 +83,12 @@ export interface FormTemplateItemModel {
89
83
  * @memberof FormTemplateItemModel
90
84
  */
91
85
  'formTemplateAffiliations'?: Array<FormTemplateAffiliationModel> | null;
86
+ /**
87
+ *
88
+ * @type {string}
89
+ * @memberof FormTemplateItemModel
90
+ */
91
+ 'hospitalId'?: string | null;
92
92
  /**
93
93
  *
94
94
  * @type {string}
@@ -56,12 +56,6 @@ export interface FormTemplateModel {
56
56
  * @memberof FormTemplateModel
57
57
  */
58
58
  'status'?: FormTemplateStatus;
59
- /**
60
- *
61
- * @type {string}
62
- * @memberof FormTemplateModel
63
- */
64
- 'hospitalId'?: string | null;
65
59
  /**
66
60
  *
67
61
  * @type {string}
@@ -92,6 +86,12 @@ export interface FormTemplateModel {
92
86
  * @memberof FormTemplateModel
93
87
  */
94
88
  'formTemplateAffiliations'?: Array<FormTemplateAffiliationModel> | null;
89
+ /**
90
+ *
91
+ * @type {string}
92
+ * @memberof FormTemplateModel
93
+ */
94
+ 'hospitalId'?: string | null;
95
95
  /**
96
96
  *
97
97
  * @type {string}
@@ -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
+
@@ -47,12 +47,6 @@ export interface SaveFormTemplateCommand {
47
47
  * @memberof SaveFormTemplateCommand
48
48
  */
49
49
  'status'?: FormTemplateStatus;
50
- /**
51
- *
52
- * @type {string}
53
- * @memberof SaveFormTemplateCommand
54
- */
55
- 'hospitalId'?: string | null;
56
50
  /**
57
51
  *
58
52
  * @type {string}
@@ -71,6 +65,12 @@ export interface SaveFormTemplateCommand {
71
65
  * @memberof SaveFormTemplateCommand
72
66
  */
73
67
  'isConfirmed'?: boolean;
68
+ /**
69
+ *
70
+ * @type {string}
71
+ * @memberof SaveFormTemplateCommand
72
+ */
73
+ 'hospitalId'?: string;
74
74
  /**
75
75
  *
76
76
  * @type {string}
@@ -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
+