ch-admin-api-client-typescript 5.32.0 → 5.33.1

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 (50) hide show
  1. package/lib/api/articles-api.d.ts +9 -9
  2. package/lib/api/articles-api.d.ts.map +1 -1
  3. package/lib/api/articles-api.js +11 -11
  4. package/lib/api/email-webhooks-api.d.ts +59 -13
  5. package/lib/api/email-webhooks-api.d.ts.map +1 -1
  6. package/lib/api/email-webhooks-api.js +48 -16
  7. package/lib/models/article-item-model.d.ts +3 -3
  8. package/lib/models/article-item-model.d.ts.map +1 -1
  9. package/lib/models/article-model.d.ts +3 -3
  10. package/lib/models/article-model.d.ts.map +1 -1
  11. package/lib/models/article-type.d.ts +24 -0
  12. package/lib/models/article-type.d.ts.map +1 -0
  13. package/lib/models/article-type.js +27 -0
  14. package/lib/models/create-article-command.d.ts +3 -3
  15. package/lib/models/create-article-command.d.ts.map +1 -1
  16. package/lib/models/{email-record-event-item-model.d.ts → email-record-event-model.d.ts} +26 -26
  17. package/lib/models/email-record-event-model.d.ts.map +1 -0
  18. package/lib/models/email-record-item-model.d.ts +80 -0
  19. package/lib/models/email-record-item-model.d.ts.map +1 -0
  20. package/lib/models/email-record-item-model.js +15 -0
  21. package/lib/models/email-record-model.d.ts +3 -3
  22. package/lib/models/email-record-model.d.ts.map +1 -1
  23. package/lib/models/email-records-model.d.ts +33 -0
  24. package/lib/models/email-records-model.d.ts.map +1 -0
  25. package/lib/models/email-records-model.js +15 -0
  26. package/lib/models/index.d.ts +4 -1
  27. package/lib/models/index.d.ts.map +1 -1
  28. package/lib/models/index.js +4 -1
  29. package/lib/models/marketing-type.d.ts +0 -1
  30. package/lib/models/marketing-type.d.ts.map +1 -1
  31. package/lib/models/marketing-type.js +1 -2
  32. package/lib/models/update-article-command.d.ts +3 -3
  33. package/lib/models/update-article-command.d.ts.map +1 -1
  34. package/package.json +1 -1
  35. package/src/.openapi-generator/FILES +4 -1
  36. package/src/api/articles-api.ts +15 -15
  37. package/src/api/email-webhooks-api.ts +93 -19
  38. package/src/models/article-item-model.ts +4 -4
  39. package/src/models/article-model.ts +4 -4
  40. package/src/models/article-type.ts +33 -0
  41. package/src/models/create-article-command.ts +3 -3
  42. package/src/models/{email-record-event-item-model.ts → email-record-event-model.ts} +25 -25
  43. package/src/models/email-record-item-model.ts +87 -0
  44. package/src/models/email-record-model.ts +3 -3
  45. package/src/models/email-records-model.ts +42 -0
  46. package/src/models/index.ts +4 -1
  47. package/src/models/marketing-type.ts +1 -2
  48. package/src/models/update-article-command.ts +3 -3
  49. package/lib/models/email-record-event-item-model.d.ts.map +0 -1
  50. /package/lib/models/{email-record-event-item-model.js → email-record-event-model.js} +0 -0
@@ -15,7 +15,7 @@
15
15
 
16
16
  // May contain unused imports in some cases
17
17
  // @ts-ignore
18
- import { EmailRecordEventItemModel } from './email-record-event-item-model';
18
+ import { EmailRecordEventModel } from './email-record-event-model';
19
19
  // May contain unused imports in some cases
20
20
  // @ts-ignore
21
21
  import { EmailStatus } from './email-status';
@@ -88,9 +88,9 @@ export interface EmailRecordModel {
88
88
  'updatedDate'?: Date | null;
89
89
  /**
90
90
  *
91
- * @type {Array<EmailRecordEventItemModel>}
91
+ * @type {Array<EmailRecordEventModel>}
92
92
  * @memberof EmailRecordModel
93
93
  */
94
- 'events'?: Array<EmailRecordEventItemModel> | null;
94
+ 'events'?: Array<EmailRecordEventModel> | null;
95
95
  }
96
96
 
@@ -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 { EmailRecordItemModel } from './email-record-item-model';
19
+ // May contain unused imports in some cases
20
+ // @ts-ignore
21
+ import { PagedListMetaData } from './paged-list-meta-data';
22
+
23
+ /**
24
+ *
25
+ * @export
26
+ * @interface EmailRecordsModel
27
+ */
28
+ export interface EmailRecordsModel {
29
+ /**
30
+ *
31
+ * @type {Array<EmailRecordItemModel>}
32
+ * @memberof EmailRecordsModel
33
+ */
34
+ 'items'?: Array<EmailRecordItemModel> | null;
35
+ /**
36
+ *
37
+ * @type {PagedListMetaData}
38
+ * @memberof EmailRecordsModel
39
+ */
40
+ 'metaData'?: PagedListMetaData;
41
+ }
42
+
@@ -39,6 +39,7 @@ export * from './article-status';
39
39
  export * from './article-tag-item-model';
40
40
  export * from './article-tag-model';
41
41
  export * from './article-tags-model';
42
+ export * from './article-type';
42
43
  export * from './articles-model';
43
44
  export * from './auditable-entity';
44
45
  export * from './auditable-entity-model';
@@ -203,8 +204,10 @@ export * from './doctor-specialty-model';
203
204
  export * from './doctors-model';
204
205
  export * from './doctors-simple-model';
205
206
  export * from './duration';
206
- export * from './email-record-event-item-model';
207
+ export * from './email-record-event-model';
208
+ export * from './email-record-item-model';
207
209
  export * from './email-record-model';
210
+ export * from './email-records-model';
208
211
  export * from './email-status';
209
212
  export * from './faq-categories-model';
210
213
  export * from './faq-category-item-model';
@@ -23,8 +23,7 @@
23
23
  export const MarketingType = {
24
24
  Both: 'Both',
25
25
  GeneralHealth: 'GeneralHealth',
26
- Beauty: 'Beauty',
27
- Tech: 'Tech'
26
+ Beauty: 'Beauty'
28
27
  } as const;
29
28
 
30
29
  export type MarketingType = typeof MarketingType[keyof typeof MarketingType];
@@ -21,7 +21,7 @@ import { ArticleStatus } from './article-status';
21
21
  import { ArticleTagItemModel } from './article-tag-item-model';
22
22
  // May contain unused imports in some cases
23
23
  // @ts-ignore
24
- import { MarketingType } from './marketing-type';
24
+ import { ArticleType } from './article-type';
25
25
  // May contain unused imports in some cases
26
26
  // @ts-ignore
27
27
  import { MediaModel } from './media-model';
@@ -64,10 +64,10 @@ export interface UpdateArticleCommand {
64
64
  'status'?: ArticleStatus;
65
65
  /**
66
66
  *
67
- * @type {MarketingType}
67
+ * @type {ArticleType}
68
68
  * @memberof UpdateArticleCommand
69
69
  */
70
- 'marketingType'?: MarketingType;
70
+ 'articleType'?: ArticleType;
71
71
  /**
72
72
  *
73
73
  * @type {string}
@@ -1 +0,0 @@
1
- {"version":3,"file":"email-record-event-item-model.d.ts","sourceRoot":"","sources":["../../src/models/email-record-event-item-model.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAKH,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAE7C;;;;GAIG;AACH,MAAM,WAAW,yBAAyB;IACtC;;;;OAIG;IACH,WAAW,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC5B;;;;OAIG;IACH,OAAO,CAAC,EAAE,WAAW,CAAC;IACtB;;;;OAIG;IACH,SAAS,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC1B;;;;OAIG;IACH,OAAO,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACxB;;;;OAIG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB;;;;OAIG;IACH,QAAQ,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACzB;;;;OAIG;IACH,WAAW,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC5B;;;;OAIG;IACH,IAAI,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACrB;;;;OAIG;IACH,QAAQ,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACzB;;;;OAIG;IACH,QAAQ,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACzB;;;;OAIG;IACH,UAAU,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC3B;;;;OAIG;IACH,KAAK,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACtB;;;;OAIG;IACH,KAAK,CAAC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