ch-api-client-typescript2 5.13.6 → 5.14.3

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 (97) hide show
  1. package/lib/api/curations-api.d.ts +262 -0
  2. package/lib/api/curations-api.d.ts.map +1 -0
  3. package/lib/api/curations-api.js +414 -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/article-document-model.d.ts +7 -0
  8. package/lib/models/article-document-model.d.ts.map +1 -1
  9. package/lib/models/auditable-entity-document-model.d.ts +49 -0
  10. package/lib/models/auditable-entity-document-model.d.ts.map +1 -0
  11. package/lib/models/contributor-document-model.d.ts +7 -0
  12. package/lib/models/contributor-document-model.d.ts.map +1 -1
  13. package/lib/models/country-document-model.d.ts +13 -0
  14. package/lib/models/country-document-model.d.ts.map +1 -1
  15. package/lib/models/country-model.d.ts +6 -6
  16. package/lib/models/country-model.d.ts.map +1 -1
  17. package/lib/models/country-sub-document-model.d.ts +6 -0
  18. package/lib/models/country-sub-document-model.d.ts.map +1 -1
  19. package/lib/models/curation-item-model.d.ts +73 -0
  20. package/lib/models/curation-item-model.d.ts.map +1 -0
  21. package/lib/models/curation-model.d.ts +80 -0
  22. package/lib/models/curation-model.d.ts.map +1 -0
  23. package/lib/models/curation-model.js +15 -0
  24. package/lib/models/curation-specialty-type-item-model.d.ts +50 -0
  25. package/lib/models/curation-specialty-type-item-model.d.ts.map +1 -0
  26. package/lib/models/curation-specialty-type-item-model.js +15 -0
  27. package/lib/models/curation-specialty-types-model.d.ts +33 -0
  28. package/lib/models/curation-specialty-types-model.d.ts.map +1 -0
  29. package/lib/models/curation-specialty-types-model.js +15 -0
  30. package/lib/models/deal-document-model.d.ts +7 -0
  31. package/lib/models/deal-document-model.d.ts.map +1 -1
  32. package/lib/models/deal-mapping-model.d.ts +3 -3
  33. package/lib/models/department-document-model.d.ts +13 -0
  34. package/lib/models/department-document-model.d.ts.map +1 -1
  35. package/lib/models/department-sub-document-model.d.ts +6 -0
  36. package/lib/models/department-sub-document-model.d.ts.map +1 -1
  37. package/lib/models/doctor-document-model.d.ts +7 -0
  38. package/lib/models/doctor-document-model.d.ts.map +1 -1
  39. package/lib/models/faq-category-document-model.d.ts +7 -0
  40. package/lib/models/faq-category-document-model.d.ts.map +1 -1
  41. package/lib/models/faq-document-model.d.ts +7 -0
  42. package/lib/models/faq-document-model.d.ts.map +1 -1
  43. package/lib/models/faq-item-model.d.ts +3 -3
  44. package/lib/models/faq-model.d.ts +3 -3
  45. package/lib/models/hospital-document-model.d.ts +7 -0
  46. package/lib/models/hospital-document-model.d.ts.map +1 -1
  47. package/lib/models/hospital-specialty-document-model.d.ts +7 -0
  48. package/lib/models/hospital-specialty-document-model.d.ts.map +1 -1
  49. package/lib/models/index.d.ts +7 -2
  50. package/lib/models/index.d.ts.map +1 -1
  51. package/lib/models/index.js +7 -2
  52. package/lib/models/service-document-model.d.ts +7 -0
  53. package/lib/models/service-document-model.d.ts.map +1 -1
  54. package/lib/models/{translation-simple-model.d.ts → simple-translation-model.d.ts} +9 -9
  55. package/lib/models/{translation-simple-model.d.ts.map → simple-translation-model.d.ts.map} +1 -1
  56. package/lib/models/simple-translation-model.js +15 -0
  57. package/lib/models/{translation-simple-with-description-model.d.ts → simple-translation-with-description-model.d.ts} +10 -10
  58. package/lib/models/{translation-simple-with-description-model.d.ts.map → simple-translation-with-description-model.d.ts.map} +1 -1
  59. package/lib/models/simple-translation-with-description-model.js +15 -0
  60. package/lib/models/specialty-document-model.d.ts +7 -0
  61. package/lib/models/specialty-document-model.d.ts.map +1 -1
  62. package/lib/models/specialty-type-item-model.d.ts +3 -3
  63. package/lib/models/specialty-type-model.d.ts +3 -3
  64. package/package.json +1 -1
  65. package/src/.openapi-generator/FILES +8 -2
  66. package/src/api/curations-api.ts +436 -0
  67. package/src/api.ts +1 -0
  68. package/src/models/article-document-model.ts +9 -0
  69. package/src/models/auditable-entity-document-model.ts +54 -0
  70. package/src/models/contributor-document-model.ts +9 -0
  71. package/src/models/country-document-model.ts +15 -0
  72. package/src/models/country-model.ts +6 -6
  73. package/src/models/country-sub-document-model.ts +6 -0
  74. package/src/models/curation-item-model.ts +78 -0
  75. package/src/models/curation-model.ts +87 -0
  76. package/src/models/curation-specialty-type-item-model.ts +57 -0
  77. package/src/models/curation-specialty-types-model.ts +42 -0
  78. package/src/models/deal-document-model.ts +9 -0
  79. package/src/models/deal-mapping-model.ts +3 -3
  80. package/src/models/department-document-model.ts +15 -0
  81. package/src/models/department-sub-document-model.ts +6 -0
  82. package/src/models/doctor-document-model.ts +9 -0
  83. package/src/models/faq-category-document-model.ts +9 -0
  84. package/src/models/faq-document-model.ts +9 -0
  85. package/src/models/faq-item-model.ts +3 -3
  86. package/src/models/faq-model.ts +3 -3
  87. package/src/models/hospital-document-model.ts +9 -0
  88. package/src/models/hospital-specialty-document-model.ts +9 -0
  89. package/src/models/index.ts +7 -2
  90. package/src/models/service-document-model.ts +9 -0
  91. package/src/models/{translation-simple-model.ts → simple-translation-model.ts} +8 -8
  92. package/src/models/{translation-simple-with-description-model.ts → simple-translation-with-description-model.ts} +9 -9
  93. package/src/models/specialty-document-model.ts +9 -0
  94. package/src/models/specialty-type-item-model.ts +3 -3
  95. package/src/models/specialty-type-model.ts +3 -3
  96. /package/lib/models/{translation-simple-model.js → auditable-entity-document-model.js} +0 -0
  97. /package/lib/models/{translation-simple-with-description-model.js → curation-item-model.js} +0 -0
@@ -1 +1 @@
1
- {"version":3,"file":"specialty-document-model.d.ts","sourceRoot":"","sources":["../../src/models/specialty-document-model.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAKH,OAAO,EAAE,0BAA0B,EAAE,MAAM,iCAAiC,CAAC;AAG7E,OAAO,EAAE,kBAAkB,EAAE,MAAM,wBAAwB,CAAC;AAG5D,OAAO,EAAE,wBAAwB,EAAE,MAAM,8BAA8B,CAAC;AAExE;;;;GAIG;AACH,MAA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document-model.d.ts","sourceRoot":"","sources":["../../src/models/specialty-document-model.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAKH,OAAO,EAAE,4BAA4B,EAAE,MAAM,mCAAmC,CAAC;AAGjF,OAAO,EAAE,0BAA0B,EAAE,MAAM,iCAAiC,CAAC;AAG7E,OAAO,EAAE,kBAAkB,EAAE,MAAM,wBAAwB,CAAC;AAG5D,OAAO,EAAE,wBAAwB,EAAE,MAAM,8BAA8B,CAAC;AAExE;;;;GAIG;AACH,MAAM,WAAW,sBAAsB;IACnC;;;;OAIG;IACH,IAAI,CAAC,EAAE,wBAAwB,CAAC;IAChC;;;;OAIG;IACH,IAAI,CAAC,EAAE,wBAAwB,CAAC;IAChC;;;;OAIG;IACH,IAAI,CAAC,EAAE,wBAAwB,CAAC;IAChC;;;;OAIG;IACH,IAAI,CAAC,EAAE,wBAAwB,CAAC;IAChC;;;;OAIG;IACH,IAAI,CAAC,EAAE,wBAAwB,CAAC;IAChC;;;;OAIG;IACH,IAAI,CAAC,EAAE,wBAAwB,CAAC;IAChC;;;;OAIG;IACH,IAAI,CAAC,EAAE,wBAAwB,CAAC;IAChC;;;;OAIG;IACH,IAAI,CAAC,EAAE,wBAAwB,CAAC;IAChC;;;;OAIG;IACH,IAAI,CAAC,EAAE,wBAAwB,CAAC;IAChC;;;;OAIG;IACH,IAAI,CAAC,EAAE,wBAAwB,CAAC;IAChC;;;;OAIG;IACH,IAAI,CAAC,EAAE,wBAAwB,CAAC;IAChC;;;;OAIG;IACH,IAAI,CAAC,EAAE,wBAAwB,CAAC;IAChC;;;;OAIG;IACH,IAAI,CAAC,EAAE,wBAAwB,CAAC;IAChC;;;;OAIG;IACH,IAAI,CAAC,EAAE,wBAAwB,CAAC;IAChC;;;;OAIG;IACH,IAAI,CAAC,EAAE,wBAAwB,CAAC;IAChC;;;;OAIG;IACH,IAAI,CAAC,EAAE,wBAAwB,CAAC;IAChC;;;;OAIG;IACH,IAAI,CAAC,EAAE,wBAAw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G,IAAI,CAAC;IACxB;;;;OAIG;IACH,gBAAgB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACjC;;;;OAIG;IACH,YAAY,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC7B;;;;OAIG;IACH,qBAAqB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACtC;;;;OAIG;IACH,QAAQ,CAAC,EAAE,KAAK,CAAC,kBAAkB,CAAC,GAAG,IAAI,CAAC;IAC5C;;;;OAIG;IACH,iBAAiB,CAAC,EAAE,4BAA4B,CAAC;CACpD"}
@@ -12,7 +12,7 @@
12
12
  import { AuditableEntity } from './auditable-entity';
13
13
  import { MarketingType } from './marketing-type';
14
14
  import { MediaModel } from './media-model';
15
- import { TranslationSimpleWithDescriptionModel } from './translation-simple-with-description-model';
15
+ import { SimpleTranslationWithDescriptionModel } from './simple-translation-with-description-model';
16
16
  /**
17
17
  *
18
18
  * @export
@@ -33,10 +33,10 @@ export interface SpecialtyTypeItemModel {
33
33
  'languageCode'?: string | null;
34
34
  /**
35
35
  *
36
- * @type {Array<TranslationSimpleWithDescriptionModel>}
36
+ * @type {Array<SimpleTranslationWithDescriptionModel>}
37
37
  * @memberof SpecialtyTypeItemModel
38
38
  */
39
- 'simpleTranslations'?: Array<TranslationSimpleWithDescriptionModel> | null;
39
+ 'simpleTranslations'?: Array<SimpleTranslationWithDescriptionModel> | null;
40
40
  /**
41
41
  *
42
42
  * @type {string}
@@ -13,7 +13,7 @@ import { AuditableEntity } from './auditable-entity';
13
13
  import { LocalizedUrlModel } from './localized-url-model';
14
14
  import { MarketingType } from './marketing-type';
15
15
  import { MediaModel } from './media-model';
16
- import { TranslationSimpleWithDescriptionModel } from './translation-simple-with-description-model';
16
+ import { SimpleTranslationWithDescriptionModel } from './simple-translation-with-description-model';
17
17
  /**
18
18
  *
19
19
  * @export
@@ -34,10 +34,10 @@ export interface SpecialtyTypeModel {
34
34
  'languageCode'?: string | null;
35
35
  /**
36
36
  *
37
- * @type {Array<TranslationSimpleWithDescriptionModel>}
37
+ * @type {Array<SimpleTranslationWithDescriptionModel>}
38
38
  * @memberof SpecialtyTypeModel
39
39
  */
40
- 'simpleTranslations'?: Array<TranslationSimpleWithDescriptionModel> | null;
40
+ 'simpleTranslations'?: Array<SimpleTranslationWithDescriptionModel> | null;
41
41
  /**
42
42
  *
43
43
  * @type {string}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ch-api-client-typescript2",
3
- "version": "5.13.6",
3
+ "version": "5.14.3",
4
4
  "description": "Openapi generated typescript-axios client for CloudHospital",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -14,6 +14,7 @@ api/communications-api.ts
14
14
  api/consultations-api.ts
15
15
  api/contributors-api.ts
16
16
  api/countries-api.ts
17
+ api/curations-api.ts
17
18
  api/deals-api.ts
18
19
  api/devices-api.ts
19
20
  api/doctor-affiliations-api.ts
@@ -82,6 +83,7 @@ models/article-tag-item-model.ts
82
83
  models/article-tag-model.ts
83
84
  models/article-tags-model.ts
84
85
  models/articles-model.ts
86
+ models/auditable-entity-document-model.ts
85
87
  models/auditable-entity-model.ts
86
88
  models/auditable-entity.ts
87
89
  models/award-model.ts
@@ -137,6 +139,10 @@ models/create-patient-command.ts
137
139
  models/create-profile-command.ts
138
140
  models/create-service-review-command.ts
139
141
  models/create-survey-result-command.ts
142
+ models/curation-item-model.ts
143
+ models/curation-model.ts
144
+ models/curation-specialty-type-item-model.ts
145
+ models/curation-specialty-types-model.ts
140
146
  models/day-of-week.ts
141
147
  models/deal-document-model.ts
142
148
  models/deal-item-model.ts
@@ -310,6 +316,8 @@ models/service-review-item-model.ts
310
316
  models/service-review-model.ts
311
317
  models/service-reviews-model.ts
312
318
  models/service-sub-document-model.ts
319
+ models/simple-translation-model.ts
320
+ models/simple-translation-with-description-model.ts
313
321
  models/sns-handle-document-model.ts
314
322
  models/sns-handle-model.ts
315
323
  models/sns-type.ts
@@ -341,8 +349,6 @@ models/tag-model.ts
341
349
  models/tags-model.ts
342
350
  models/translation-document-model.ts
343
351
  models/translation-item-document-model.ts
344
- models/translation-simple-model.ts
345
- models/translation-simple-with-description-model.ts
346
352
  models/update-appointment-command.ts
347
353
  models/update-booking-command.ts
348
354
  models/update-call-history-command.ts
@@ -0,0 +1,436 @@
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
+ import globalAxios, { AxiosPromise, AxiosInstance, AxiosRequestConfig } from 'axios';
17
+ import { Configuration } from '../configuration';
18
+ // Some imports not used depending on template conditions
19
+ // @ts-ignore
20
+ import { DUMMY_BASE_URL, assertParamExists, setApiKeyToObject, setBasicAuthToObject, setBearerAuthToObject, setOAuthToObject, setSearchParams, serializeDataIfNeeded, toPathString, createRequestFunction } from '../common';
21
+ // @ts-ignore
22
+ import { BASE_PATH, COLLECTION_FORMATS, RequestArgs, BaseAPI, RequiredError } from '../base';
23
+ // @ts-ignore
24
+ import { CurationModel } from '../models';
25
+ // @ts-ignore
26
+ import { CurationSpecialtyTypesModel } from '../models';
27
+ /**
28
+ * CurationsApi - axios parameter creator
29
+ * @export
30
+ */
31
+ export const CurationsApiAxiosParamCreator = function (configuration?: Configuration) {
32
+ return {
33
+ /**
34
+ *
35
+ * @summary
36
+ * @param {string} curationId
37
+ * @param {string} [languageCode]
38
+ * @param {*} [options] Override http request option.
39
+ * @throws {RequiredError}
40
+ */
41
+ apiV2CurationsCurationIdGet: async (curationId: string, languageCode?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
42
+ // verify required parameter 'curationId' is not null or undefined
43
+ assertParamExists('apiV2CurationsCurationIdGet', 'curationId', curationId)
44
+ const localVarPath = `/api/v2/curations/{curationId}`
45
+ .replace(`{${"curationId"}}`, encodeURIComponent(String(curationId)));
46
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
47
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
48
+ let baseOptions;
49
+ if (configuration) {
50
+ baseOptions = configuration.baseOptions;
51
+ }
52
+
53
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
54
+ const localVarHeaderParameter = {} as any;
55
+ const localVarQueryParameter = {} as any;
56
+
57
+ if (languageCode !== undefined) {
58
+ localVarQueryParameter['languageCode'] = languageCode;
59
+ }
60
+
61
+
62
+
63
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
64
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
65
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
66
+
67
+ return {
68
+ url: toPathString(localVarUrlObj),
69
+ options: localVarRequestOptions,
70
+ };
71
+ },
72
+ /**
73
+ *
74
+ * @summary Get all Curations.
75
+ * @param {string} countryId
76
+ * @param {string} [id]
77
+ * @param {string} [name]
78
+ * @param {string} [languageCode]
79
+ * @param {number} [page]
80
+ * @param {number} [limit]
81
+ * @param {Date} [lastRetrieved]
82
+ * @param {*} [options] Override http request option.
83
+ * @throws {RequiredError}
84
+ */
85
+ apiV2CurationsGet: async (countryId: string, id?: string, name?: string, languageCode?: string, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
86
+ // verify required parameter 'countryId' is not null or undefined
87
+ assertParamExists('apiV2CurationsGet', 'countryId', countryId)
88
+ const localVarPath = `/api/v2/curations`;
89
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
90
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
91
+ let baseOptions;
92
+ if (configuration) {
93
+ baseOptions = configuration.baseOptions;
94
+ }
95
+
96
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
97
+ const localVarHeaderParameter = {} as any;
98
+ const localVarQueryParameter = {} as any;
99
+
100
+ if (id !== undefined) {
101
+ localVarQueryParameter['Id'] = id;
102
+ }
103
+
104
+ if (name !== undefined) {
105
+ localVarQueryParameter['Name'] = name;
106
+ }
107
+
108
+ if (countryId !== undefined) {
109
+ localVarQueryParameter['CountryId'] = countryId;
110
+ }
111
+
112
+ if (languageCode !== undefined) {
113
+ localVarQueryParameter['LanguageCode'] = languageCode;
114
+ }
115
+
116
+ if (page !== undefined) {
117
+ localVarQueryParameter['page'] = page;
118
+ }
119
+
120
+ if (limit !== undefined) {
121
+ localVarQueryParameter['limit'] = limit;
122
+ }
123
+
124
+ if (lastRetrieved !== undefined) {
125
+ localVarQueryParameter['lastRetrieved'] = (lastRetrieved as any instanceof Date) ?
126
+ (lastRetrieved as any).toISOString() :
127
+ lastRetrieved;
128
+ }
129
+
130
+
131
+
132
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
133
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
134
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
135
+
136
+ return {
137
+ url: toPathString(localVarUrlObj),
138
+ options: localVarRequestOptions,
139
+ };
140
+ },
141
+ /**
142
+ *
143
+ * @summary Get Curation by slug
144
+ * @param {string} slug
145
+ * @param {string} [languageCode]
146
+ * @param {string} [previewSecret]
147
+ * @param {*} [options] Override http request option.
148
+ * @throws {RequiredError}
149
+ */
150
+ apiV2CurationsSlugGet: async (slug: string, languageCode?: string, previewSecret?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
151
+ // verify required parameter 'slug' is not null or undefined
152
+ assertParamExists('apiV2CurationsSlugGet', 'slug', slug)
153
+ const localVarPath = `/api/v2/curations/{slug}`
154
+ .replace(`{${"slug"}}`, encodeURIComponent(String(slug)));
155
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
156
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
157
+ let baseOptions;
158
+ if (configuration) {
159
+ baseOptions = configuration.baseOptions;
160
+ }
161
+
162
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
163
+ const localVarHeaderParameter = {} as any;
164
+ const localVarQueryParameter = {} as any;
165
+
166
+ if (languageCode !== undefined) {
167
+ localVarQueryParameter['languageCode'] = languageCode;
168
+ }
169
+
170
+ if (previewSecret !== undefined) {
171
+ localVarQueryParameter['previewSecret'] = previewSecret;
172
+ }
173
+
174
+
175
+
176
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
177
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
178
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
179
+
180
+ return {
181
+ url: toPathString(localVarUrlObj),
182
+ options: localVarRequestOptions,
183
+ };
184
+ },
185
+ }
186
+ };
187
+
188
+ /**
189
+ * CurationsApi - functional programming interface
190
+ * @export
191
+ */
192
+ export const CurationsApiFp = function(configuration?: Configuration) {
193
+ const localVarAxiosParamCreator = CurationsApiAxiosParamCreator(configuration)
194
+ return {
195
+ /**
196
+ *
197
+ * @summary
198
+ * @param {string} curationId
199
+ * @param {string} [languageCode]
200
+ * @param {*} [options] Override http request option.
201
+ * @throws {RequiredError}
202
+ */
203
+ async apiV2CurationsCurationIdGet(curationId: string, languageCode?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CurationModel>> {
204
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2CurationsCurationIdGet(curationId, languageCode, options);
205
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
206
+ },
207
+ /**
208
+ *
209
+ * @summary Get all Curations.
210
+ * @param {string} countryId
211
+ * @param {string} [id]
212
+ * @param {string} [name]
213
+ * @param {string} [languageCode]
214
+ * @param {number} [page]
215
+ * @param {number} [limit]
216
+ * @param {Date} [lastRetrieved]
217
+ * @param {*} [options] Override http request option.
218
+ * @throws {RequiredError}
219
+ */
220
+ async apiV2CurationsGet(countryId: string, id?: string, name?: string, languageCode?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CurationSpecialtyTypesModel>> {
221
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2CurationsGet(countryId, id, name, languageCode, page, limit, lastRetrieved, options);
222
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
223
+ },
224
+ /**
225
+ *
226
+ * @summary Get Curation by slug
227
+ * @param {string} slug
228
+ * @param {string} [languageCode]
229
+ * @param {string} [previewSecret]
230
+ * @param {*} [options] Override http request option.
231
+ * @throws {RequiredError}
232
+ */
233
+ async apiV2CurationsSlugGet(slug: string, languageCode?: string, previewSecret?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CurationModel>> {
234
+ const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2CurationsSlugGet(slug, languageCode, previewSecret, options);
235
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
236
+ },
237
+ }
238
+ };
239
+
240
+ /**
241
+ * CurationsApi - factory interface
242
+ * @export
243
+ */
244
+ export const CurationsApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
245
+ const localVarFp = CurationsApiFp(configuration)
246
+ return {
247
+ /**
248
+ *
249
+ * @summary
250
+ * @param {string} curationId
251
+ * @param {string} [languageCode]
252
+ * @param {*} [options] Override http request option.
253
+ * @throws {RequiredError}
254
+ */
255
+ apiV2CurationsCurationIdGet(curationId: string, languageCode?: string, options?: any): AxiosPromise<CurationModel> {
256
+ return localVarFp.apiV2CurationsCurationIdGet(curationId, languageCode, options).then((request) => request(axios, basePath));
257
+ },
258
+ /**
259
+ *
260
+ * @summary Get all Curations.
261
+ * @param {string} countryId
262
+ * @param {string} [id]
263
+ * @param {string} [name]
264
+ * @param {string} [languageCode]
265
+ * @param {number} [page]
266
+ * @param {number} [limit]
267
+ * @param {Date} [lastRetrieved]
268
+ * @param {*} [options] Override http request option.
269
+ * @throws {RequiredError}
270
+ */
271
+ apiV2CurationsGet(countryId: string, id?: string, name?: string, languageCode?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<CurationSpecialtyTypesModel> {
272
+ return localVarFp.apiV2CurationsGet(countryId, id, name, languageCode, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
273
+ },
274
+ /**
275
+ *
276
+ * @summary Get Curation by slug
277
+ * @param {string} slug
278
+ * @param {string} [languageCode]
279
+ * @param {string} [previewSecret]
280
+ * @param {*} [options] Override http request option.
281
+ * @throws {RequiredError}
282
+ */
283
+ apiV2CurationsSlugGet(slug: string, languageCode?: string, previewSecret?: string, options?: any): AxiosPromise<CurationModel> {
284
+ return localVarFp.apiV2CurationsSlugGet(slug, languageCode, previewSecret, options).then((request) => request(axios, basePath));
285
+ },
286
+ };
287
+ };
288
+
289
+ /**
290
+ * Request parameters for apiV2CurationsCurationIdGet operation in CurationsApi.
291
+ * @export
292
+ * @interface CurationsApiApiV2CurationsCurationIdGetRequest
293
+ */
294
+ export interface CurationsApiApiV2CurationsCurationIdGetRequest {
295
+ /**
296
+ *
297
+ * @type {string}
298
+ * @memberof CurationsApiApiV2CurationsCurationIdGet
299
+ */
300
+ readonly curationId: string
301
+
302
+ /**
303
+ *
304
+ * @type {string}
305
+ * @memberof CurationsApiApiV2CurationsCurationIdGet
306
+ */
307
+ readonly languageCode?: string
308
+ }
309
+
310
+ /**
311
+ * Request parameters for apiV2CurationsGet operation in CurationsApi.
312
+ * @export
313
+ * @interface CurationsApiApiV2CurationsGetRequest
314
+ */
315
+ export interface CurationsApiApiV2CurationsGetRequest {
316
+ /**
317
+ *
318
+ * @type {string}
319
+ * @memberof CurationsApiApiV2CurationsGet
320
+ */
321
+ readonly countryId: string
322
+
323
+ /**
324
+ *
325
+ * @type {string}
326
+ * @memberof CurationsApiApiV2CurationsGet
327
+ */
328
+ readonly id?: string
329
+
330
+ /**
331
+ *
332
+ * @type {string}
333
+ * @memberof CurationsApiApiV2CurationsGet
334
+ */
335
+ readonly name?: string
336
+
337
+ /**
338
+ *
339
+ * @type {string}
340
+ * @memberof CurationsApiApiV2CurationsGet
341
+ */
342
+ readonly languageCode?: string
343
+
344
+ /**
345
+ *
346
+ * @type {number}
347
+ * @memberof CurationsApiApiV2CurationsGet
348
+ */
349
+ readonly page?: number
350
+
351
+ /**
352
+ *
353
+ * @type {number}
354
+ * @memberof CurationsApiApiV2CurationsGet
355
+ */
356
+ readonly limit?: number
357
+
358
+ /**
359
+ *
360
+ * @type {Date}
361
+ * @memberof CurationsApiApiV2CurationsGet
362
+ */
363
+ readonly lastRetrieved?: Date
364
+ }
365
+
366
+ /**
367
+ * Request parameters for apiV2CurationsSlugGet operation in CurationsApi.
368
+ * @export
369
+ * @interface CurationsApiApiV2CurationsSlugGetRequest
370
+ */
371
+ export interface CurationsApiApiV2CurationsSlugGetRequest {
372
+ /**
373
+ *
374
+ * @type {string}
375
+ * @memberof CurationsApiApiV2CurationsSlugGet
376
+ */
377
+ readonly slug: string
378
+
379
+ /**
380
+ *
381
+ * @type {string}
382
+ * @memberof CurationsApiApiV2CurationsSlugGet
383
+ */
384
+ readonly languageCode?: string
385
+
386
+ /**
387
+ *
388
+ * @type {string}
389
+ * @memberof CurationsApiApiV2CurationsSlugGet
390
+ */
391
+ readonly previewSecret?: string
392
+ }
393
+
394
+ /**
395
+ * CurationsApi - object-oriented interface
396
+ * @export
397
+ * @class CurationsApi
398
+ * @extends {BaseAPI}
399
+ */
400
+ export class CurationsApi extends BaseAPI {
401
+ /**
402
+ *
403
+ * @summary
404
+ * @param {CurationsApiApiV2CurationsCurationIdGetRequest} requestParameters Request parameters.
405
+ * @param {*} [options] Override http request option.
406
+ * @throws {RequiredError}
407
+ * @memberof CurationsApi
408
+ */
409
+ public apiV2CurationsCurationIdGet(requestParameters: CurationsApiApiV2CurationsCurationIdGetRequest, options?: AxiosRequestConfig) {
410
+ return CurationsApiFp(this.configuration).apiV2CurationsCurationIdGet(requestParameters.curationId, requestParameters.languageCode, options).then((request) => request(this.axios, this.basePath));
411
+ }
412
+
413
+ /**
414
+ *
415
+ * @summary Get all Curations.
416
+ * @param {CurationsApiApiV2CurationsGetRequest} requestParameters Request parameters.
417
+ * @param {*} [options] Override http request option.
418
+ * @throws {RequiredError}
419
+ * @memberof CurationsApi
420
+ */
421
+ public apiV2CurationsGet(requestParameters: CurationsApiApiV2CurationsGetRequest, options?: AxiosRequestConfig) {
422
+ return CurationsApiFp(this.configuration).apiV2CurationsGet(requestParameters.countryId, requestParameters.id, requestParameters.name, requestParameters.languageCode, requestParameters.page, requestParameters.limit, requestParameters.lastRetrieved, options).then((request) => request(this.axios, this.basePath));
423
+ }
424
+
425
+ /**
426
+ *
427
+ * @summary Get Curation by slug
428
+ * @param {CurationsApiApiV2CurationsSlugGetRequest} requestParameters Request parameters.
429
+ * @param {*} [options] Override http request option.
430
+ * @throws {RequiredError}
431
+ * @memberof CurationsApi
432
+ */
433
+ public apiV2CurationsSlugGet(requestParameters: CurationsApiApiV2CurationsSlugGetRequest, options?: AxiosRequestConfig) {
434
+ return CurationsApiFp(this.configuration).apiV2CurationsSlugGet(requestParameters.slug, requestParameters.languageCode, requestParameters.previewSecret, options).then((request) => request(this.axios, this.basePath));
435
+ }
436
+ }
package/src/api.ts CHANGED
@@ -26,6 +26,7 @@ export * from './api/communications-api';
26
26
  export * from './api/consultations-api';
27
27
  export * from './api/contributors-api';
28
28
  export * from './api/countries-api';
29
+ export * from './api/curations-api';
29
30
  export * from './api/deals-api';
30
31
  export * from './api/devices-api';
31
32
  export * from './api/doctor-affiliations-api';
@@ -18,6 +18,9 @@
18
18
  import { ArticleContributorDocumentModel } from './article-contributor-document-model';
19
19
  // May contain unused imports in some cases
20
20
  // @ts-ignore
21
+ import { AuditableEntityDocumentModel } from './auditable-entity-document-model';
22
+ // May contain unused imports in some cases
23
+ // @ts-ignore
21
24
  import { HospitalSubDocumentModel } from './hospital-sub-document-model';
22
25
  // May contain unused imports in some cases
23
26
  // @ts-ignore
@@ -332,5 +335,11 @@ export interface ArticleDocumentModel {
332
335
  * @memberof ArticleDocumentModel
333
336
  */
334
337
  'ArticleContributors'?: Array<ArticleContributorDocumentModel> | null;
338
+ /**
339
+ *
340
+ * @type {AuditableEntityDocumentModel}
341
+ * @memberof ArticleDocumentModel
342
+ */
343
+ 'AuditableEntity'?: AuditableEntityDocumentModel;
335
344
  }
336
345
 
@@ -0,0 +1,54 @@
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 AuditableEntityDocumentModel
21
+ */
22
+ export interface AuditableEntityDocumentModel {
23
+ /**
24
+ *
25
+ * @type {string}
26
+ * @memberof AuditableEntityDocumentModel
27
+ */
28
+ 'CreatedBy'?: string | null;
29
+ /**
30
+ *
31
+ * @type {string}
32
+ * @memberof AuditableEntityDocumentModel
33
+ */
34
+ 'UpdatedBy'?: string | null;
35
+ /**
36
+ *
37
+ * @type {Date}
38
+ * @memberof AuditableEntityDocumentModel
39
+ */
40
+ 'CreatedDate'?: Date;
41
+ /**
42
+ *
43
+ * @type {Date}
44
+ * @memberof AuditableEntityDocumentModel
45
+ */
46
+ 'UpdatedDate'?: Date | null;
47
+ /**
48
+ *
49
+ * @type {boolean}
50
+ * @memberof AuditableEntityDocumentModel
51
+ */
52
+ 'IsHidden'?: boolean;
53
+ }
54
+
@@ -13,6 +13,9 @@
13
13
  */
14
14
 
15
15
 
16
+ // May contain unused imports in some cases
17
+ // @ts-ignore
18
+ import { AuditableEntityDocumentModel } from './auditable-entity-document-model';
16
19
  // May contain unused imports in some cases
17
20
  // @ts-ignore
18
21
  import { HospitalSubDocumentModel } from './hospital-sub-document-model';
@@ -275,5 +278,11 @@ export interface ContributorDocumentModel {
275
278
  * @memberof ContributorDocumentModel
276
279
  */
277
280
  'SnsHandles'?: Array<SnsHandleDocumentModel> | null;
281
+ /**
282
+ *
283
+ * @type {AuditableEntityDocumentModel}
284
+ * @memberof ContributorDocumentModel
285
+ */
286
+ 'AuditableEntity'?: AuditableEntityDocumentModel;
278
287
  }
279
288
 
@@ -13,6 +13,9 @@
13
13
  */
14
14
 
15
15
 
16
+ // May contain unused imports in some cases
17
+ // @ts-ignore
18
+ import { AuditableEntityDocumentModel } from './auditable-entity-document-model';
16
19
  // May contain unused imports in some cases
17
20
  // @ts-ignore
18
21
  import { MediaDocumentModel } from './media-document-model';
@@ -284,5 +287,17 @@ export interface CountryDocumentModel {
284
287
  * @memberof CountryDocumentModel
285
288
  */
286
289
  'Medias'?: Array<MediaDocumentModel> | null;
290
+ /**
291
+ *
292
+ * @type {number}
293
+ * @memberof CountryDocumentModel
294
+ */
295
+ 'Order'?: number;
296
+ /**
297
+ *
298
+ * @type {AuditableEntityDocumentModel}
299
+ * @memberof CountryDocumentModel
300
+ */
301
+ 'AuditableEntity'?: AuditableEntityDocumentModel;
287
302
  }
288
303