ch-admin-api-client-typescript 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.
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
@@ -0,0 +1,87 @@
1
+ /**
2
+ * CloudHospital Admin Api
3
+ * CloudHospital application with Swagger, Swashbuckle, and API versioning.
4
+ *
5
+ * The version of the OpenAPI document: 1
6
+ * Contact: developer@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
+ import { PromotionType } from './promotion-type';
14
+ /**
15
+ *
16
+ * @export
17
+ * @interface UpdatePromotionCommand
18
+ */
19
+ export interface UpdatePromotionCommand {
20
+ /**
21
+ *
22
+ * @type {string}
23
+ * @memberof UpdatePromotionCommand
24
+ */
25
+ 'languageCode'?: string | null;
26
+ /**
27
+ *
28
+ * @type {PromotionType}
29
+ * @memberof UpdatePromotionCommand
30
+ */
31
+ 'promotionType'?: PromotionType;
32
+ /**
33
+ *
34
+ * @type {number}
35
+ * @memberof UpdatePromotionCommand
36
+ */
37
+ 'order'?: number;
38
+ /**
39
+ *
40
+ * @type {Date}
41
+ * @memberof UpdatePromotionCommand
42
+ */
43
+ 'start'?: Date | null;
44
+ /**
45
+ *
46
+ * @type {Date}
47
+ * @memberof UpdatePromotionCommand
48
+ */
49
+ 'end'?: Date | null;
50
+ /**
51
+ *
52
+ * @type {boolean}
53
+ * @memberof UpdatePromotionCommand
54
+ */
55
+ 'isActivated'?: boolean;
56
+ /**
57
+ *
58
+ * @type {string}
59
+ * @memberof UpdatePromotionCommand
60
+ */
61
+ 'targetUrl'?: string | null;
62
+ /**
63
+ *
64
+ * @type {string}
65
+ * @memberof UpdatePromotionCommand
66
+ */
67
+ 'name'?: string | null;
68
+ /**
69
+ *
70
+ * @type {string}
71
+ * @memberof UpdatePromotionCommand
72
+ */
73
+ 'buttonTitle'?: string | null;
74
+ /**
75
+ *
76
+ * @type {boolean}
77
+ * @memberof UpdatePromotionCommand
78
+ */
79
+ 'isConfirmed'?: boolean;
80
+ /**
81
+ *
82
+ * @type {Array<MediaModel>}
83
+ * @memberof UpdatePromotionCommand
84
+ */
85
+ 'medias'?: Array<MediaModel> | null;
86
+ }
87
+ //# sourceMappingURL=update-promotion-command.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"update-promotion-command.d.ts","sourceRoot":"","sources":["../../src/models/update-promotion-command.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAKH,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAG3C,OAAO,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AAEjD;;;;GAIG;AACH,MAAM,WAAW,sBAAsB;IACnC;;;;OAIG;IACH,cAAc,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC/B;;;;OAIG;IACH,eAAe,CAAC,EAAE,aAAa,CAAC;IAChC;;;;OAIG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB;;;;OAIG;IACH,OAAO,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;IACtB;;;;OAIG;IACH,KAAK,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;IACpB;;;;OAIG;IACH,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB;;;;OAIG;IACH,WAAW,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC5B;;;;OAIG;IACH,MAAM,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACvB;;;;OAIG;IACH,aAAa,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC9B;;;;OAIG;IACH,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB;;;;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
+ * CloudHospital Admin Api
6
+ * CloudHospital application with Swagger, Swashbuckle, and API versioning.
7
+ *
8
+ * The version of the OpenAPI document: 1
9
+ * Contact: developer@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.36.31",
3
+ "version": "5.36.37",
4
4
  "description": "Openapi generated typescript-axios client for CloudHospital admin",
5
5
  "main": "lib/index.js",
6
6
  "types": "lib/index.d.ts",
@@ -44,6 +44,7 @@ api/payments-api.ts
44
44
  api/plans-api.ts
45
45
  api/prescriptions-api.ts
46
46
  api/profiles-api.ts
47
+ api/promotions-api.ts
47
48
  api/search-api.ts
48
49
  api/search-curations-api.ts
49
50
  api/service-reviews-api.ts
@@ -211,6 +212,7 @@ models/create-plan-hospital-command.ts
211
212
  models/create-policy-command.ts
212
213
  models/create-prescription-command.ts
213
214
  models/create-profile-command.ts
215
+ models/create-promotion-command.ts
214
216
  models/create-service-category-command.ts
215
217
  models/create-service-review-command.ts
216
218
  models/create-specialty-command.ts
@@ -455,6 +457,10 @@ models/prescription-symptom-item-model.ts
455
457
  models/prescriptions-model.ts
456
458
  models/problem-details.ts
457
459
  models/procedure.ts
460
+ models/promotion-item-model.ts
461
+ models/promotion-model.ts
462
+ models/promotion-type.ts
463
+ models/promotions-model.ts
458
464
  models/recurring-interval.ts
459
465
  models/refund-policy.ts
460
466
  models/refund-status.ts
@@ -624,6 +630,7 @@ models/update-plan-hospital-command.ts
624
630
  models/update-policy-command.ts
625
631
  models/update-prescription-command.ts
626
632
  models/update-profile-command.ts
633
+ models/update-promotion-command.ts
627
634
  models/update-service-category-command.ts
628
635
  models/update-service-review-command.ts
629
636
  models/update-specialty-command.ts