ch-api-client-typescript2 5.0.7 → 5.0.9

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 (68) hide show
  1. package/lib/api/hospitals-api.d.ts +65 -0
  2. package/lib/api/hospitals-api.d.ts.map +1 -1
  3. package/lib/api/hospitals-api.js +96 -0
  4. package/lib/models/about-us-page-model.d.ts +0 -7
  5. package/lib/models/about-us-page-model.d.ts.map +1 -1
  6. package/lib/models/article-model.d.ts +0 -7
  7. package/lib/models/article-model.d.ts.map +1 -1
  8. package/lib/models/contributor-model.d.ts +0 -7
  9. package/lib/models/contributor-model.d.ts.map +1 -1
  10. package/lib/models/country-model.d.ts +0 -7
  11. package/lib/models/country-model.d.ts.map +1 -1
  12. package/lib/models/create-landing-form-command.d.ts +61 -0
  13. package/lib/models/create-landing-form-command.d.ts.map +1 -0
  14. package/lib/models/deal-model.d.ts +0 -7
  15. package/lib/models/deal-model.d.ts.map +1 -1
  16. package/lib/models/doctor-affiliation-model.d.ts +0 -7
  17. package/lib/models/doctor-affiliation-model.d.ts.map +1 -1
  18. package/lib/models/faq-category-model.d.ts +0 -7
  19. package/lib/models/faq-category-model.d.ts.map +1 -1
  20. package/lib/models/faq-model.d.ts +0 -7
  21. package/lib/models/faq-model.d.ts.map +1 -1
  22. package/lib/models/hospital-model.d.ts +0 -7
  23. package/lib/models/hospital-model.d.ts.map +1 -1
  24. package/lib/models/hospital-service-model.d.ts +0 -7
  25. package/lib/models/hospital-service-model.d.ts.map +1 -1
  26. package/lib/models/hospital-specialty-model.d.ts +0 -7
  27. package/lib/models/hospital-specialty-model.d.ts.map +1 -1
  28. package/lib/models/index.d.ts +2 -1
  29. package/lib/models/index.d.ts.map +1 -1
  30. package/lib/models/index.js +2 -1
  31. package/lib/models/landing-model.d.ts +0 -7
  32. package/lib/models/landing-model.d.ts.map +1 -1
  33. package/lib/models/service-review-model.d.ts +0 -7
  34. package/lib/models/service-review-model.d.ts.map +1 -1
  35. package/lib/models/slug-change-log-document-model.d.ts +25 -0
  36. package/lib/models/slug-change-log-document-model.d.ts.map +1 -0
  37. package/lib/models/slug-change-log-document-model.js +15 -0
  38. package/lib/models/specialty-model.d.ts +0 -7
  39. package/lib/models/specialty-model.d.ts.map +1 -1
  40. package/lib/models/specialty-type-model.d.ts +0 -7
  41. package/lib/models/specialty-type-model.d.ts.map +1 -1
  42. package/lib/models/translation-document-model.d.ts +7 -0
  43. package/lib/models/translation-document-model.d.ts.map +1 -1
  44. package/package.json +1 -1
  45. package/src/.openapi-generator/FILES +2 -1
  46. package/src/api/hospitals-api.ts +113 -0
  47. package/src/models/about-us-page-model.ts +0 -9
  48. package/src/models/article-model.ts +0 -9
  49. package/src/models/contributor-model.ts +0 -9
  50. package/src/models/country-model.ts +0 -9
  51. package/src/models/create-landing-form-command.ts +66 -0
  52. package/src/models/deal-model.ts +0 -9
  53. package/src/models/doctor-affiliation-model.ts +0 -9
  54. package/src/models/faq-category-model.ts +0 -9
  55. package/src/models/faq-model.ts +0 -9
  56. package/src/models/hospital-model.ts +0 -9
  57. package/src/models/hospital-service-model.ts +0 -9
  58. package/src/models/hospital-specialty-model.ts +0 -9
  59. package/src/models/index.ts +2 -1
  60. package/src/models/landing-model.ts +0 -9
  61. package/src/models/service-review-model.ts +0 -9
  62. package/src/models/{slug-change-log-model.ts → slug-change-log-document-model.ts} +4 -22
  63. package/src/models/specialty-model.ts +0 -9
  64. package/src/models/specialty-type-model.ts +0 -9
  65. package/src/models/translation-document-model.ts +9 -0
  66. package/lib/models/slug-change-log-model.d.ts +0 -43
  67. package/lib/models/slug-change-log-model.d.ts.map +0 -1
  68. /package/lib/models/{slug-change-log-model.js → create-landing-form-command.js} +0 -0
@@ -22,9 +22,6 @@ import { LocalizedUrlModel } from './localized-url-model';
22
22
  // May contain unused imports in some cases
23
23
  // @ts-ignore
24
24
  import { MediaModel } from './media-model';
25
- // May contain unused imports in some cases
26
- // @ts-ignore
27
- import { SlugChangeLogModel } from './slug-change-log-model';
28
25
 
29
26
  /**
30
27
  *
@@ -110,12 +107,6 @@ export interface AboutUsPageModel {
110
107
  * @memberof AboutUsPageModel
111
108
  */
112
109
  'localizedUrls'?: Array<LocalizedUrlModel> | null;
113
- /**
114
- *
115
- * @type {Array<SlugChangeLogModel>}
116
- * @memberof AboutUsPageModel
117
- */
118
- 'slugChangeLogs'?: Array<SlugChangeLogModel> | null;
119
110
  /**
120
111
  *
121
112
  * @type {Array<MediaModel>}
@@ -28,9 +28,6 @@ import { MarketingType } from './marketing-type';
28
28
  // May contain unused imports in some cases
29
29
  // @ts-ignore
30
30
  import { MediaModel } from './media-model';
31
- // May contain unused imports in some cases
32
- // @ts-ignore
33
- import { SlugChangeLogModel } from './slug-change-log-model';
34
31
 
35
32
  /**
36
33
  *
@@ -182,12 +179,6 @@ export interface ArticleModel {
182
179
  * @memberof ArticleModel
183
180
  */
184
181
  'localizedUrls'?: Array<LocalizedUrlModel> | null;
185
- /**
186
- *
187
- * @type {Array<SlugChangeLogModel>}
188
- * @memberof ArticleModel
189
- */
190
- 'slugChangeLogs'?: Array<SlugChangeLogModel> | null;
191
182
  /**
192
183
  *
193
184
  * @type {string}
@@ -21,9 +21,6 @@ import { AuditableEntity } from './auditable-entity';
21
21
  import { LocalizedUrlModel } from './localized-url-model';
22
22
  // May contain unused imports in some cases
23
23
  // @ts-ignore
24
- import { SlugChangeLogModel } from './slug-change-log-model';
25
- // May contain unused imports in some cases
26
- // @ts-ignore
27
24
  import { SnsHandleModel } from './sns-handle-model';
28
25
 
29
26
  /**
@@ -146,11 +143,5 @@ export interface ContributorModel {
146
143
  * @memberof ContributorModel
147
144
  */
148
145
  'localizedUrls'?: Array<LocalizedUrlModel> | null;
149
- /**
150
- *
151
- * @type {Array<SlugChangeLogModel>}
152
- * @memberof ContributorModel
153
- */
154
- 'slugChangeLogs'?: Array<SlugChangeLogModel> | null;
155
146
  }
156
147
 
@@ -22,9 +22,6 @@ import { LocalizedUrlModel } from './localized-url-model';
22
22
  // May contain unused imports in some cases
23
23
  // @ts-ignore
24
24
  import { MediaModel } from './media-model';
25
- // May contain unused imports in some cases
26
- // @ts-ignore
27
- import { SlugChangeLogModel } from './slug-change-log-model';
28
25
 
29
26
  /**
30
27
  *
@@ -128,11 +125,5 @@ export interface CountryModel {
128
125
  * @memberof CountryModel
129
126
  */
130
127
  'medias'?: Array<MediaModel> | null;
131
- /**
132
- *
133
- * @type {Array<SlugChangeLogModel>}
134
- * @memberof CountryModel
135
- */
136
- 'slugChangeLogs'?: Array<SlugChangeLogModel> | null;
137
128
  }
138
129
 
@@ -0,0 +1,66 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Swagger UI - Cloud Hospital Api-INT
5
+ * Cloud Hospital application with Swagger, Swashbuckle, and API versioning.
6
+ *
7
+ * The version of the OpenAPI document: 2
8
+ * Contact: hyounoosung@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 CreateLandingFormCommand
21
+ */
22
+ export interface CreateLandingFormCommand {
23
+ /**
24
+ *
25
+ * @type {string}
26
+ * @memberof CreateLandingFormCommand
27
+ */
28
+ 'languageCode'?: string | null;
29
+ /**
30
+ *
31
+ * @type {number}
32
+ * @memberof CreateLandingFormCommand
33
+ */
34
+ 'boardId'?: number;
35
+ /**
36
+ *
37
+ * @type {string}
38
+ * @memberof CreateLandingFormCommand
39
+ */
40
+ 'name'?: string | null;
41
+ /**
42
+ *
43
+ * @type {string}
44
+ * @memberof CreateLandingFormCommand
45
+ */
46
+ 'phoneCountryCode'?: string | null;
47
+ /**
48
+ *
49
+ * @type {string}
50
+ * @memberof CreateLandingFormCommand
51
+ */
52
+ 'phone'?: string | null;
53
+ /**
54
+ *
55
+ * @type {string}
56
+ * @memberof CreateLandingFormCommand
57
+ */
58
+ 'email'?: string | null;
59
+ /**
60
+ *
61
+ * @type {string}
62
+ * @memberof CreateLandingFormCommand
63
+ */
64
+ 'description'?: string | null;
65
+ }
66
+
@@ -25,9 +25,6 @@ import { LocalizedUrlModel } from './localized-url-model';
25
25
  // May contain unused imports in some cases
26
26
  // @ts-ignore
27
27
  import { MarketingType } from './marketing-type';
28
- // May contain unused imports in some cases
29
- // @ts-ignore
30
- import { SlugChangeLogModel } from './slug-change-log-model';
31
28
 
32
29
  /**
33
30
  *
@@ -161,11 +158,5 @@ export interface DealModel {
161
158
  * @memberof DealModel
162
159
  */
163
160
  'serviceDuration'?: number;
164
- /**
165
- *
166
- * @type {Array<SlugChangeLogModel>}
167
- * @memberof DealModel
168
- */
169
- 'slugChangeLogs'?: Array<SlugChangeLogModel> | null;
170
161
  }
171
162
 
@@ -25,9 +25,6 @@ import { MarketingType } from './marketing-type';
25
25
  // May contain unused imports in some cases
26
26
  // @ts-ignore
27
27
  import { MediaModel } from './media-model';
28
- // May contain unused imports in some cases
29
- // @ts-ignore
30
- import { SlugChangeLogModel } from './slug-change-log-model';
31
28
 
32
29
  /**
33
30
  *
@@ -203,11 +200,5 @@ export interface DoctorAffiliationModel {
203
200
  * @memberof DoctorAffiliationModel
204
201
  */
205
202
  'medias'?: Array<MediaModel> | null;
206
- /**
207
- *
208
- * @type {Array<SlugChangeLogModel>}
209
- * @memberof DoctorAffiliationModel
210
- */
211
- 'slugChangeLogs'?: Array<SlugChangeLogModel> | null;
212
203
  }
213
204
 
@@ -19,9 +19,6 @@ import { AuditableEntity } from './auditable-entity';
19
19
  // May contain unused imports in some cases
20
20
  // @ts-ignore
21
21
  import { LocalizedUrlModel } from './localized-url-model';
22
- // May contain unused imports in some cases
23
- // @ts-ignore
24
- import { SlugChangeLogModel } from './slug-change-log-model';
25
22
 
26
23
  /**
27
24
  *
@@ -125,11 +122,5 @@ export interface FaqCategoryModel {
125
122
  * @memberof FaqCategoryModel
126
123
  */
127
124
  'localizedUrls'?: Array<LocalizedUrlModel> | null;
128
- /**
129
- *
130
- * @type {Array<SlugChangeLogModel>}
131
- * @memberof FaqCategoryModel
132
- */
133
- 'slugChangeLogs'?: Array<SlugChangeLogModel> | null;
134
125
  }
135
126
 
@@ -27,9 +27,6 @@ import { LocalizedUrlModel } from './localized-url-model';
27
27
  import { MediaModel } from './media-model';
28
28
  // May contain unused imports in some cases
29
29
  // @ts-ignore
30
- import { SlugChangeLogModel } from './slug-change-log-model';
31
- // May contain unused imports in some cases
32
- // @ts-ignore
33
30
  import { TranslationSimpleModel } from './translation-simple-model';
34
31
 
35
32
  /**
@@ -170,11 +167,5 @@ export interface FaqModel {
170
167
  * @memberof FaqModel
171
168
  */
172
169
  'customStyle'?: string | null;
173
- /**
174
- *
175
- * @type {Array<SlugChangeLogModel>}
176
- * @memberof FaqModel
177
- */
178
- 'slugChangeLogs'?: Array<SlugChangeLogModel> | null;
179
170
  }
180
171
 
@@ -45,9 +45,6 @@ import { MarketingType } from './marketing-type';
45
45
  import { MediaModel } from './media-model';
46
46
  // May contain unused imports in some cases
47
47
  // @ts-ignore
48
- import { SlugChangeLogModel } from './slug-change-log-model';
49
- // May contain unused imports in some cases
50
- // @ts-ignore
51
48
  import { SnsHandleModel } from './sns-handle-model';
52
49
  // May contain unused imports in some cases
53
50
  // @ts-ignore
@@ -191,12 +188,6 @@ export interface HospitalModel {
191
188
  * @memberof HospitalModel
192
189
  */
193
190
  'localizedUrls'?: Array<LocalizedUrlModel> | null;
194
- /**
195
- *
196
- * @type {Array<SlugChangeLogModel>}
197
- * @memberof HospitalModel
198
- */
199
- 'slugChangeLogs'?: Array<SlugChangeLogModel> | null;
200
191
  /**
201
192
  *
202
193
  * @type {number}
@@ -28,9 +28,6 @@ import { MediaModel } from './media-model';
28
28
  // May contain unused imports in some cases
29
29
  // @ts-ignore
30
30
  import { Procedure } from './procedure';
31
- // May contain unused imports in some cases
32
- // @ts-ignore
33
- import { SlugChangeLogModel } from './slug-change-log-model';
34
31
 
35
32
  /**
36
33
  *
@@ -206,12 +203,6 @@ export interface HospitalServiceModel {
206
203
  * @memberof HospitalServiceModel
207
204
  */
208
205
  'localizedUrls'?: Array<LocalizedUrlModel> | null;
209
- /**
210
- *
211
- * @type {Array<SlugChangeLogModel>}
212
- * @memberof HospitalServiceModel
213
- */
214
- 'slugChangeLogs'?: Array<SlugChangeLogModel> | null;
215
206
  /**
216
207
  *
217
208
  * @type {Array<MediaModel>}
@@ -28,9 +28,6 @@ import { MarketingType } from './marketing-type';
28
28
  // May contain unused imports in some cases
29
29
  // @ts-ignore
30
30
  import { MediaModel } from './media-model';
31
- // May contain unused imports in some cases
32
- // @ts-ignore
33
- import { SlugChangeLogModel } from './slug-change-log-model';
34
31
 
35
32
  /**
36
33
  *
@@ -194,12 +191,6 @@ export interface HospitalSpecialtyModel {
194
191
  * @memberof HospitalSpecialtyModel
195
192
  */
196
193
  'localizedUrls'?: Array<LocalizedUrlModel> | null;
197
- /**
198
- *
199
- * @type {Array<SlugChangeLogModel>}
200
- * @memberof HospitalSpecialtyModel
201
- */
202
- 'slugChangeLogs'?: Array<SlugChangeLogModel> | null;
203
194
  /**
204
195
  *
205
196
  * @type {Array<MediaModel>}
@@ -74,6 +74,7 @@ export * from './create-consultation-command';
74
74
  export * from './create-cors-command';
75
75
  export * from './create-device-command';
76
76
  export * from './create-device-login-command';
77
+ export * from './create-landing-form-command';
77
78
  export * from './create-media-command';
78
79
  export * from './create-patient-command';
79
80
  export * from './create-profile-command';
@@ -220,7 +221,7 @@ export * from './service-review-item-model';
220
221
  export * from './service-review-model';
221
222
  export * from './service-reviews-model';
222
223
  export * from './service-sub-document-model';
223
- export * from './slug-change-log-model';
224
+ export * from './slug-change-log-document-model';
224
225
  export * from './sns-handle-document-model';
225
226
  export * from './sns-handle-model';
226
227
  export * from './sns-type';
@@ -22,9 +22,6 @@ import { LocalizedUrlModel } from './localized-url-model';
22
22
  // May contain unused imports in some cases
23
23
  // @ts-ignore
24
24
  import { MediaModel } from './media-model';
25
- // May contain unused imports in some cases
26
- // @ts-ignore
27
- import { SlugChangeLogModel } from './slug-change-log-model';
28
25
 
29
26
  /**
30
27
  *
@@ -134,12 +131,6 @@ export interface LandingModel {
134
131
  * @memberof LandingModel
135
132
  */
136
133
  'localizedUrls'?: Array<LocalizedUrlModel> | null;
137
- /**
138
- *
139
- * @type {Array<SlugChangeLogModel>}
140
- * @memberof LandingModel
141
- */
142
- 'slugChangeLogs'?: Array<SlugChangeLogModel> | null;
143
134
  /**
144
135
  *
145
136
  * @type {Array<MediaModel>}
@@ -22,9 +22,6 @@ import { MediaModel } from './media-model';
22
22
  // May contain unused imports in some cases
23
23
  // @ts-ignore
24
24
  import { ReviewType } from './review-type';
25
- // May contain unused imports in some cases
26
- // @ts-ignore
27
- import { SlugChangeLogModel } from './slug-change-log-model';
28
25
 
29
26
  /**
30
27
  *
@@ -164,11 +161,5 @@ export interface ServiceReviewModel {
164
161
  * @memberof ServiceReviewModel
165
162
  */
166
163
  'auditableEntity'?: AuditableEntity;
167
- /**
168
- *
169
- * @type {Array<SlugChangeLogModel>}
170
- * @memberof ServiceReviewModel
171
- */
172
- 'slugChangeLogs'?: Array<SlugChangeLogModel> | null;
173
164
  }
174
165
 
@@ -17,32 +17,14 @@
17
17
  /**
18
18
  *
19
19
  * @export
20
- * @interface SlugChangeLogModel
20
+ * @interface SlugChangeLogDocumentModel
21
21
  */
22
- export interface SlugChangeLogModel {
22
+ export interface SlugChangeLogDocumentModel {
23
23
  /**
24
24
  *
25
25
  * @type {string}
26
- * @memberof SlugChangeLogModel
26
+ * @memberof SlugChangeLogDocumentModel
27
27
  */
28
- 'id'?: string;
29
- /**
30
- *
31
- * @type {Date}
32
- * @memberof SlugChangeLogModel
33
- */
34
- 'loggedDate'?: Date;
35
- /**
36
- *
37
- * @type {string}
38
- * @memberof SlugChangeLogModel
39
- */
40
- 'previousSlug'?: string | null;
41
- /**
42
- *
43
- * @type {string}
44
- * @memberof SlugChangeLogModel
45
- */
46
- 'currentSlug'?: string | null;
28
+ 'PreviousSlug'?: string | null;
47
29
  }
48
30
 
@@ -25,9 +25,6 @@ import { MarketingType } from './marketing-type';
25
25
  // May contain unused imports in some cases
26
26
  // @ts-ignore
27
27
  import { MediaModel } from './media-model';
28
- // May contain unused imports in some cases
29
- // @ts-ignore
30
- import { SlugChangeLogModel } from './slug-change-log-model';
31
28
 
32
29
  /**
33
30
  *
@@ -143,12 +140,6 @@ export interface SpecialtyModel {
143
140
  * @memberof SpecialtyModel
144
141
  */
145
142
  'localizedUrls'?: Array<LocalizedUrlModel> | null;
146
- /**
147
- *
148
- * @type {Array<SlugChangeLogModel>}
149
- * @memberof SpecialtyModel
150
- */
151
- 'slugChangeLogs'?: Array<SlugChangeLogModel> | null;
152
143
  /**
153
144
  *
154
145
  * @type {string}
@@ -27,9 +27,6 @@ import { MarketingType } from './marketing-type';
27
27
  import { MediaModel } from './media-model';
28
28
  // May contain unused imports in some cases
29
29
  // @ts-ignore
30
- import { SlugChangeLogModel } from './slug-change-log-model';
31
- // May contain unused imports in some cases
32
- // @ts-ignore
33
30
  import { TranslationSimpleWithDescriptionModel } from './translation-simple-with-description-model';
34
31
 
35
32
  /**
@@ -146,12 +143,6 @@ export interface SpecialtyTypeModel {
146
143
  * @memberof SpecialtyTypeModel
147
144
  */
148
145
  'localizedUrls'?: Array<LocalizedUrlModel> | null;
149
- /**
150
- *
151
- * @type {Array<SlugChangeLogModel>}
152
- * @memberof SpecialtyTypeModel
153
- */
154
- 'slugChangeLogs'?: Array<SlugChangeLogModel> | null;
155
146
  /**
156
147
  *
157
148
  * @type {string}
@@ -13,6 +13,9 @@
13
13
  */
14
14
 
15
15
 
16
+ // May contain unused imports in some cases
17
+ // @ts-ignore
18
+ import { SlugChangeLogDocumentModel } from './slug-change-log-document-model';
16
19
 
17
20
  /**
18
21
  *
@@ -62,5 +65,11 @@ export interface TranslationDocumentModel {
62
65
  * @memberof TranslationDocumentModel
63
66
  */
64
67
  'IsConfirmed'?: boolean;
68
+ /**
69
+ *
70
+ * @type {Array<SlugChangeLogDocumentModel>}
71
+ * @memberof TranslationDocumentModel
72
+ */
73
+ 'SlugChangeLogs'?: Array<SlugChangeLogDocumentModel> | null;
65
74
  }
66
75
 
@@ -1,43 +0,0 @@
1
- /**
2
- * Swagger UI - Cloud Hospital Api-INT
3
- * Cloud Hospital application with Swagger, Swashbuckle, and API versioning.
4
- *
5
- * The version of the OpenAPI document: 2
6
- * Contact: hyounoosung@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
- /**
13
- *
14
- * @export
15
- * @interface SlugChangeLogModel
16
- */
17
- export interface SlugChangeLogModel {
18
- /**
19
- *
20
- * @type {string}
21
- * @memberof SlugChangeLogModel
22
- */
23
- 'id'?: string;
24
- /**
25
- *
26
- * @type {Date}
27
- * @memberof SlugChangeLogModel
28
- */
29
- 'loggedDate'?: Date;
30
- /**
31
- *
32
- * @type {string}
33
- * @memberof SlugChangeLogModel
34
- */
35
- 'previousSlug'?: string | null;
36
- /**
37
- *
38
- * @type {string}
39
- * @memberof SlugChangeLogModel
40
- */
41
- 'currentSlug'?: string | null;
42
- }
43
- //# sourceMappingURL=slug-change-log-model.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"slug-change-log-model.d.ts","sourceRoot":"","sources":["../../src/models/slug-change-log-model.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAIH;;;;GAIG;AACH,MAAM,WAAW,kBAAkB;IAC/B;;;;OAIG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;;;OAIG;IACH,YAAY,CAAC,EAAE,IAAI,CAAC;IACpB;;;;OAIG;IACH,cAAc,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC/B;;;;OAIG;IACH,aAAa,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;CACjC"}