ch-api-client-typescript2 5.43.20 → 5.45.4
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.
- package/lib/api/curations-api.d.ts +148 -110
- package/lib/api/curations-api.d.ts.map +1 -1
- package/lib/api/curations-api.js +181 -104
- package/lib/api.d.ts +0 -1
- package/lib/api.d.ts.map +1 -1
- package/lib/api.js +0 -1
- package/lib/models/{curation-specialty-types-model.d.ts → curation-categories-model.d.ts} +8 -8
- package/lib/models/curation-categories-model.d.ts.map +1 -0
- package/lib/models/{search-curation-primary-item-model.d.ts → curation-category-model.d.ts} +13 -7
- package/lib/models/curation-category-model.d.ts.map +1 -0
- package/lib/models/curation-model.d.ts +8 -27
- package/lib/models/curation-model.d.ts.map +1 -1
- package/lib/models/curations-by-category-item-model.d.ts +49 -0
- package/lib/models/curations-by-category-item-model.d.ts.map +1 -0
- package/lib/models/curations-by-category-model.d.ts +44 -0
- package/lib/models/curations-by-category-model.d.ts.map +1 -0
- package/lib/models/doctor-item-model.d.ts +3 -10
- package/lib/models/doctor-item-model.d.ts.map +1 -1
- package/lib/models/doctor-model.d.ts +3 -10
- package/lib/models/doctor-model.d.ts.map +1 -1
- package/lib/models/index.d.ts +4 -6
- package/lib/models/index.d.ts.map +1 -1
- package/lib/models/index.js +4 -6
- package/lib/models/patient-model.d.ts +3 -10
- package/lib/models/patient-model.d.ts.map +1 -1
- package/lib/models/user-model.d.ts +3 -10
- package/lib/models/user-model.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/.openapi-generator/FILES +4 -7
- package/src/api/curations-api.ts +235 -155
- package/src/api.ts +0 -1
- package/src/models/{curation-specialty-types-model.ts → curation-categories-model.ts} +7 -7
- package/src/models/{search-curation-primary-item-model.ts → curation-category-model.ts} +12 -6
- package/src/models/curation-model.ts +8 -29
- package/src/models/{curation-item-model.ts → curations-by-category-item-model.ts} +10 -34
- package/src/models/{curation-specialty-type-item-model.ts → curations-by-category-model.ts} +12 -18
- package/src/models/doctor-item-model.ts +3 -12
- package/src/models/doctor-model.ts +3 -12
- package/src/models/index.ts +4 -6
- package/src/models/patient-model.ts +3 -12
- package/src/models/user-model.ts +3 -12
- package/lib/api/search-curations-api.d.ts +0 -198
- package/lib/api/search-curations-api.d.ts.map +0 -1
- package/lib/api/search-curations-api.js +0 -369
- package/lib/models/curation-item-model.d.ts +0 -73
- package/lib/models/curation-item-model.d.ts.map +0 -1
- package/lib/models/curation-specialty-type-item-model.d.ts +0 -50
- package/lib/models/curation-specialty-type-item-model.d.ts.map +0 -1
- package/lib/models/curation-specialty-types-model.d.ts.map +0 -1
- package/lib/models/search-curation-item-model.d.ts +0 -104
- package/lib/models/search-curation-item-model.d.ts.map +0 -1
- package/lib/models/search-curation-primary-item-model.d.ts.map +0 -1
- package/lib/models/search-curation-primary-item-model.js +0 -15
- package/lib/models/user-type.d.ts +0 -28
- package/lib/models/user-type.d.ts.map +0 -1
- package/lib/models/user-type.js +0 -31
- package/src/api/search-curations-api.ts +0 -332
- package/src/models/search-curation-item-model.ts +0 -111
- package/src/models/user-type.ts +0 -37
- /package/lib/models/{curation-item-model.js → curation-categories-model.js} +0 -0
- /package/lib/models/{curation-specialty-type-item-model.js → curation-category-model.js} +0 -0
- /package/lib/models/{curation-specialty-types-model.js → curations-by-category-item-model.js} +0 -0
- /package/lib/models/{search-curation-item-model.js → curations-by-category-model.js} +0 -0
package/lib/models/user-type.js
DELETED
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/* tslint:disable */
|
|
3
|
-
/* eslint-disable */
|
|
4
|
-
/**
|
|
5
|
-
* CloudHospital Api
|
|
6
|
-
* CloudHospital application with Swagger, Swashbuckle, and API versioning.
|
|
7
|
-
*
|
|
8
|
-
* The version of the OpenAPI document: 2
|
|
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 });
|
|
16
|
-
exports.UserType = void 0;
|
|
17
|
-
/**
|
|
18
|
-
*
|
|
19
|
-
* @export
|
|
20
|
-
* @enum {string}
|
|
21
|
-
*/
|
|
22
|
-
exports.UserType = {
|
|
23
|
-
Patient: 'Patient',
|
|
24
|
-
Partner: 'Partner',
|
|
25
|
-
Doctor: 'Doctor',
|
|
26
|
-
Manager: 'Manager',
|
|
27
|
-
ChManager: 'CHManager',
|
|
28
|
-
ChAdmin: 'CHAdmin',
|
|
29
|
-
ContentManager: 'ContentManager',
|
|
30
|
-
PatientManager: 'PatientManager'
|
|
31
|
-
};
|
|
@@ -1,332 +0,0 @@
|
|
|
1
|
-
/* tslint:disable */
|
|
2
|
-
/* eslint-disable */
|
|
3
|
-
/**
|
|
4
|
-
* CloudHospital Api
|
|
5
|
-
* CloudHospital application with Swagger, Swashbuckle, and API versioning.
|
|
6
|
-
*
|
|
7
|
-
* The version of the OpenAPI document: 2
|
|
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
|
-
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 { SearchCurationItemModel } from '../models';
|
|
25
|
-
/**
|
|
26
|
-
* SearchCurationsApi - axios parameter creator
|
|
27
|
-
* @export
|
|
28
|
-
*/
|
|
29
|
-
export const SearchCurationsApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
30
|
-
return {
|
|
31
|
-
/**
|
|
32
|
-
*
|
|
33
|
-
* @summary Get all search curations
|
|
34
|
-
* @param {string} [languageCode]
|
|
35
|
-
* @param {*} [options] Override http request option.
|
|
36
|
-
* @throws {RequiredError}
|
|
37
|
-
*/
|
|
38
|
-
apiV2SearchcurationsGet: async (languageCode?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
39
|
-
const localVarPath = `/api/v2/searchcurations`;
|
|
40
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
41
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
42
|
-
let baseOptions;
|
|
43
|
-
if (configuration) {
|
|
44
|
-
baseOptions = configuration.baseOptions;
|
|
45
|
-
}
|
|
46
|
-
|
|
47
|
-
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
48
|
-
const localVarHeaderParameter = {} as any;
|
|
49
|
-
const localVarQueryParameter = {} as any;
|
|
50
|
-
|
|
51
|
-
if (languageCode !== undefined) {
|
|
52
|
-
localVarQueryParameter['languageCode'] = languageCode;
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
58
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
59
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
60
|
-
|
|
61
|
-
return {
|
|
62
|
-
url: toPathString(localVarUrlObj),
|
|
63
|
-
options: localVarRequestOptions,
|
|
64
|
-
};
|
|
65
|
-
},
|
|
66
|
-
/**
|
|
67
|
-
*
|
|
68
|
-
* @summary Get search curation item by id
|
|
69
|
-
* @param {string} id
|
|
70
|
-
* @param {string} [languageCode]
|
|
71
|
-
* @param {*} [options] Override http request option.
|
|
72
|
-
* @throws {RequiredError}
|
|
73
|
-
*/
|
|
74
|
-
apiV2SearchcurationsIdGet: async (id: string, languageCode?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
75
|
-
// verify required parameter 'id' is not null or undefined
|
|
76
|
-
assertParamExists('apiV2SearchcurationsIdGet', 'id', id)
|
|
77
|
-
const localVarPath = `/api/v2/searchcurations/{id}`
|
|
78
|
-
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
79
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
80
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
81
|
-
let baseOptions;
|
|
82
|
-
if (configuration) {
|
|
83
|
-
baseOptions = configuration.baseOptions;
|
|
84
|
-
}
|
|
85
|
-
|
|
86
|
-
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
87
|
-
const localVarHeaderParameter = {} as any;
|
|
88
|
-
const localVarQueryParameter = {} as any;
|
|
89
|
-
|
|
90
|
-
if (languageCode !== undefined) {
|
|
91
|
-
localVarQueryParameter['languageCode'] = languageCode;
|
|
92
|
-
}
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
97
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
98
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
99
|
-
|
|
100
|
-
return {
|
|
101
|
-
url: toPathString(localVarUrlObj),
|
|
102
|
-
options: localVarRequestOptions,
|
|
103
|
-
};
|
|
104
|
-
},
|
|
105
|
-
/**
|
|
106
|
-
*
|
|
107
|
-
* @summary Get search curation item by slug
|
|
108
|
-
* @param {string} slug
|
|
109
|
-
* @param {string} [languageCode]
|
|
110
|
-
* @param {*} [options] Override http request option.
|
|
111
|
-
* @throws {RequiredError}
|
|
112
|
-
*/
|
|
113
|
-
apiV2SearchcurationsSlugGet: async (slug: string, languageCode?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
114
|
-
// verify required parameter 'slug' is not null or undefined
|
|
115
|
-
assertParamExists('apiV2SearchcurationsSlugGet', 'slug', slug)
|
|
116
|
-
const localVarPath = `/api/v2/searchcurations/{slug}`
|
|
117
|
-
.replace(`{${"slug"}}`, encodeURIComponent(String(slug)));
|
|
118
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
119
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
120
|
-
let baseOptions;
|
|
121
|
-
if (configuration) {
|
|
122
|
-
baseOptions = configuration.baseOptions;
|
|
123
|
-
}
|
|
124
|
-
|
|
125
|
-
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
126
|
-
const localVarHeaderParameter = {} as any;
|
|
127
|
-
const localVarQueryParameter = {} as any;
|
|
128
|
-
|
|
129
|
-
if (languageCode !== undefined) {
|
|
130
|
-
localVarQueryParameter['languageCode'] = languageCode;
|
|
131
|
-
}
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
136
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
137
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
138
|
-
|
|
139
|
-
return {
|
|
140
|
-
url: toPathString(localVarUrlObj),
|
|
141
|
-
options: localVarRequestOptions,
|
|
142
|
-
};
|
|
143
|
-
},
|
|
144
|
-
}
|
|
145
|
-
};
|
|
146
|
-
|
|
147
|
-
/**
|
|
148
|
-
* SearchCurationsApi - functional programming interface
|
|
149
|
-
* @export
|
|
150
|
-
*/
|
|
151
|
-
export const SearchCurationsApiFp = function(configuration?: Configuration) {
|
|
152
|
-
const localVarAxiosParamCreator = SearchCurationsApiAxiosParamCreator(configuration)
|
|
153
|
-
return {
|
|
154
|
-
/**
|
|
155
|
-
*
|
|
156
|
-
* @summary Get all search curations
|
|
157
|
-
* @param {string} [languageCode]
|
|
158
|
-
* @param {*} [options] Override http request option.
|
|
159
|
-
* @throws {RequiredError}
|
|
160
|
-
*/
|
|
161
|
-
async apiV2SearchcurationsGet(languageCode?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<SearchCurationItemModel>>> {
|
|
162
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2SearchcurationsGet(languageCode, options);
|
|
163
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
164
|
-
},
|
|
165
|
-
/**
|
|
166
|
-
*
|
|
167
|
-
* @summary Get search curation item by id
|
|
168
|
-
* @param {string} id
|
|
169
|
-
* @param {string} [languageCode]
|
|
170
|
-
* @param {*} [options] Override http request option.
|
|
171
|
-
* @throws {RequiredError}
|
|
172
|
-
*/
|
|
173
|
-
async apiV2SearchcurationsIdGet(id: string, languageCode?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SearchCurationItemModel>> {
|
|
174
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2SearchcurationsIdGet(id, languageCode, options);
|
|
175
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
176
|
-
},
|
|
177
|
-
/**
|
|
178
|
-
*
|
|
179
|
-
* @summary Get search curation item by slug
|
|
180
|
-
* @param {string} slug
|
|
181
|
-
* @param {string} [languageCode]
|
|
182
|
-
* @param {*} [options] Override http request option.
|
|
183
|
-
* @throws {RequiredError}
|
|
184
|
-
*/
|
|
185
|
-
async apiV2SearchcurationsSlugGet(slug: string, languageCode?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SearchCurationItemModel>> {
|
|
186
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2SearchcurationsSlugGet(slug, languageCode, options);
|
|
187
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
188
|
-
},
|
|
189
|
-
}
|
|
190
|
-
};
|
|
191
|
-
|
|
192
|
-
/**
|
|
193
|
-
* SearchCurationsApi - factory interface
|
|
194
|
-
* @export
|
|
195
|
-
*/
|
|
196
|
-
export const SearchCurationsApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
197
|
-
const localVarFp = SearchCurationsApiFp(configuration)
|
|
198
|
-
return {
|
|
199
|
-
/**
|
|
200
|
-
*
|
|
201
|
-
* @summary Get all search curations
|
|
202
|
-
* @param {string} [languageCode]
|
|
203
|
-
* @param {*} [options] Override http request option.
|
|
204
|
-
* @throws {RequiredError}
|
|
205
|
-
*/
|
|
206
|
-
apiV2SearchcurationsGet(languageCode?: string, options?: any): AxiosPromise<Array<SearchCurationItemModel>> {
|
|
207
|
-
return localVarFp.apiV2SearchcurationsGet(languageCode, options).then((request) => request(axios, basePath));
|
|
208
|
-
},
|
|
209
|
-
/**
|
|
210
|
-
*
|
|
211
|
-
* @summary Get search curation item by id
|
|
212
|
-
* @param {string} id
|
|
213
|
-
* @param {string} [languageCode]
|
|
214
|
-
* @param {*} [options] Override http request option.
|
|
215
|
-
* @throws {RequiredError}
|
|
216
|
-
*/
|
|
217
|
-
apiV2SearchcurationsIdGet(id: string, languageCode?: string, options?: any): AxiosPromise<SearchCurationItemModel> {
|
|
218
|
-
return localVarFp.apiV2SearchcurationsIdGet(id, languageCode, options).then((request) => request(axios, basePath));
|
|
219
|
-
},
|
|
220
|
-
/**
|
|
221
|
-
*
|
|
222
|
-
* @summary Get search curation item by slug
|
|
223
|
-
* @param {string} slug
|
|
224
|
-
* @param {string} [languageCode]
|
|
225
|
-
* @param {*} [options] Override http request option.
|
|
226
|
-
* @throws {RequiredError}
|
|
227
|
-
*/
|
|
228
|
-
apiV2SearchcurationsSlugGet(slug: string, languageCode?: string, options?: any): AxiosPromise<SearchCurationItemModel> {
|
|
229
|
-
return localVarFp.apiV2SearchcurationsSlugGet(slug, languageCode, options).then((request) => request(axios, basePath));
|
|
230
|
-
},
|
|
231
|
-
};
|
|
232
|
-
};
|
|
233
|
-
|
|
234
|
-
/**
|
|
235
|
-
* Request parameters for apiV2SearchcurationsGet operation in SearchCurationsApi.
|
|
236
|
-
* @export
|
|
237
|
-
* @interface SearchCurationsApiApiV2SearchcurationsGetRequest
|
|
238
|
-
*/
|
|
239
|
-
export interface SearchCurationsApiApiV2SearchcurationsGetRequest {
|
|
240
|
-
/**
|
|
241
|
-
*
|
|
242
|
-
* @type {string}
|
|
243
|
-
* @memberof SearchCurationsApiApiV2SearchcurationsGet
|
|
244
|
-
*/
|
|
245
|
-
readonly languageCode?: string
|
|
246
|
-
}
|
|
247
|
-
|
|
248
|
-
/**
|
|
249
|
-
* Request parameters for apiV2SearchcurationsIdGet operation in SearchCurationsApi.
|
|
250
|
-
* @export
|
|
251
|
-
* @interface SearchCurationsApiApiV2SearchcurationsIdGetRequest
|
|
252
|
-
*/
|
|
253
|
-
export interface SearchCurationsApiApiV2SearchcurationsIdGetRequest {
|
|
254
|
-
/**
|
|
255
|
-
*
|
|
256
|
-
* @type {string}
|
|
257
|
-
* @memberof SearchCurationsApiApiV2SearchcurationsIdGet
|
|
258
|
-
*/
|
|
259
|
-
readonly id: string
|
|
260
|
-
|
|
261
|
-
/**
|
|
262
|
-
*
|
|
263
|
-
* @type {string}
|
|
264
|
-
* @memberof SearchCurationsApiApiV2SearchcurationsIdGet
|
|
265
|
-
*/
|
|
266
|
-
readonly languageCode?: string
|
|
267
|
-
}
|
|
268
|
-
|
|
269
|
-
/**
|
|
270
|
-
* Request parameters for apiV2SearchcurationsSlugGet operation in SearchCurationsApi.
|
|
271
|
-
* @export
|
|
272
|
-
* @interface SearchCurationsApiApiV2SearchcurationsSlugGetRequest
|
|
273
|
-
*/
|
|
274
|
-
export interface SearchCurationsApiApiV2SearchcurationsSlugGetRequest {
|
|
275
|
-
/**
|
|
276
|
-
*
|
|
277
|
-
* @type {string}
|
|
278
|
-
* @memberof SearchCurationsApiApiV2SearchcurationsSlugGet
|
|
279
|
-
*/
|
|
280
|
-
readonly slug: string
|
|
281
|
-
|
|
282
|
-
/**
|
|
283
|
-
*
|
|
284
|
-
* @type {string}
|
|
285
|
-
* @memberof SearchCurationsApiApiV2SearchcurationsSlugGet
|
|
286
|
-
*/
|
|
287
|
-
readonly languageCode?: string
|
|
288
|
-
}
|
|
289
|
-
|
|
290
|
-
/**
|
|
291
|
-
* SearchCurationsApi - object-oriented interface
|
|
292
|
-
* @export
|
|
293
|
-
* @class SearchCurationsApi
|
|
294
|
-
* @extends {BaseAPI}
|
|
295
|
-
*/
|
|
296
|
-
export class SearchCurationsApi extends BaseAPI {
|
|
297
|
-
/**
|
|
298
|
-
*
|
|
299
|
-
* @summary Get all search curations
|
|
300
|
-
* @param {SearchCurationsApiApiV2SearchcurationsGetRequest} requestParameters Request parameters.
|
|
301
|
-
* @param {*} [options] Override http request option.
|
|
302
|
-
* @throws {RequiredError}
|
|
303
|
-
* @memberof SearchCurationsApi
|
|
304
|
-
*/
|
|
305
|
-
public apiV2SearchcurationsGet(requestParameters: SearchCurationsApiApiV2SearchcurationsGetRequest = {}, options?: AxiosRequestConfig) {
|
|
306
|
-
return SearchCurationsApiFp(this.configuration).apiV2SearchcurationsGet(requestParameters.languageCode, options).then((request) => request(this.axios, this.basePath));
|
|
307
|
-
}
|
|
308
|
-
|
|
309
|
-
/**
|
|
310
|
-
*
|
|
311
|
-
* @summary Get search curation item by id
|
|
312
|
-
* @param {SearchCurationsApiApiV2SearchcurationsIdGetRequest} requestParameters Request parameters.
|
|
313
|
-
* @param {*} [options] Override http request option.
|
|
314
|
-
* @throws {RequiredError}
|
|
315
|
-
* @memberof SearchCurationsApi
|
|
316
|
-
*/
|
|
317
|
-
public apiV2SearchcurationsIdGet(requestParameters: SearchCurationsApiApiV2SearchcurationsIdGetRequest, options?: AxiosRequestConfig) {
|
|
318
|
-
return SearchCurationsApiFp(this.configuration).apiV2SearchcurationsIdGet(requestParameters.id, requestParameters.languageCode, options).then((request) => request(this.axios, this.basePath));
|
|
319
|
-
}
|
|
320
|
-
|
|
321
|
-
/**
|
|
322
|
-
*
|
|
323
|
-
* @summary Get search curation item by slug
|
|
324
|
-
* @param {SearchCurationsApiApiV2SearchcurationsSlugGetRequest} requestParameters Request parameters.
|
|
325
|
-
* @param {*} [options] Override http request option.
|
|
326
|
-
* @throws {RequiredError}
|
|
327
|
-
* @memberof SearchCurationsApi
|
|
328
|
-
*/
|
|
329
|
-
public apiV2SearchcurationsSlugGet(requestParameters: SearchCurationsApiApiV2SearchcurationsSlugGetRequest, options?: AxiosRequestConfig) {
|
|
330
|
-
return SearchCurationsApiFp(this.configuration).apiV2SearchcurationsSlugGet(requestParameters.slug, requestParameters.languageCode, options).then((request) => request(this.axios, this.basePath));
|
|
331
|
-
}
|
|
332
|
-
}
|
|
@@ -1,111 +0,0 @@
|
|
|
1
|
-
/* tslint:disable */
|
|
2
|
-
/* eslint-disable */
|
|
3
|
-
/**
|
|
4
|
-
* CloudHospital Api
|
|
5
|
-
* CloudHospital application with Swagger, Swashbuckle, and API versioning.
|
|
6
|
-
*
|
|
7
|
-
* The version of the OpenAPI document: 2
|
|
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 { SearchCurationPrimaryItemModel } from './search-curation-primary-item-model';
|
|
19
|
-
|
|
20
|
-
/**
|
|
21
|
-
*
|
|
22
|
-
* @export
|
|
23
|
-
* @interface SearchCurationItemModel
|
|
24
|
-
*/
|
|
25
|
-
export interface SearchCurationItemModel {
|
|
26
|
-
/**
|
|
27
|
-
*
|
|
28
|
-
* @type {string}
|
|
29
|
-
* @memberof SearchCurationItemModel
|
|
30
|
-
*/
|
|
31
|
-
'id'?: string;
|
|
32
|
-
/**
|
|
33
|
-
*
|
|
34
|
-
* @type {SearchCurationPrimaryItemModel}
|
|
35
|
-
* @memberof SearchCurationItemModel
|
|
36
|
-
*/
|
|
37
|
-
'primary'?: SearchCurationPrimaryItemModel;
|
|
38
|
-
/**
|
|
39
|
-
*
|
|
40
|
-
* @type {string}
|
|
41
|
-
* @memberof SearchCurationItemModel
|
|
42
|
-
*/
|
|
43
|
-
'name'?: string | null;
|
|
44
|
-
/**
|
|
45
|
-
*
|
|
46
|
-
* @type {string}
|
|
47
|
-
* @memberof SearchCurationItemModel
|
|
48
|
-
*/
|
|
49
|
-
'url'?: string | null;
|
|
50
|
-
/**
|
|
51
|
-
*
|
|
52
|
-
* @type {string}
|
|
53
|
-
* @memberof SearchCurationItemModel
|
|
54
|
-
*/
|
|
55
|
-
'searchTerm'?: string | null;
|
|
56
|
-
/**
|
|
57
|
-
*
|
|
58
|
-
* @type {string}
|
|
59
|
-
* @memberof SearchCurationItemModel
|
|
60
|
-
*/
|
|
61
|
-
'description'?: string | null;
|
|
62
|
-
/**
|
|
63
|
-
*
|
|
64
|
-
* @type {string}
|
|
65
|
-
* @memberof SearchCurationItemModel
|
|
66
|
-
*/
|
|
67
|
-
'slug'?: string | null;
|
|
68
|
-
/**
|
|
69
|
-
*
|
|
70
|
-
* @type {string}
|
|
71
|
-
* @memberof SearchCurationItemModel
|
|
72
|
-
*/
|
|
73
|
-
'imageUrl'?: string | null;
|
|
74
|
-
/**
|
|
75
|
-
*
|
|
76
|
-
* @type {string}
|
|
77
|
-
* @memberof SearchCurationItemModel
|
|
78
|
-
*/
|
|
79
|
-
'imageThumbnailUrl'?: string | null;
|
|
80
|
-
/**
|
|
81
|
-
*
|
|
82
|
-
* @type {number}
|
|
83
|
-
* @memberof SearchCurationItemModel
|
|
84
|
-
*/
|
|
85
|
-
'level'?: number;
|
|
86
|
-
/**
|
|
87
|
-
*
|
|
88
|
-
* @type {number}
|
|
89
|
-
* @memberof SearchCurationItemModel
|
|
90
|
-
*/
|
|
91
|
-
'order'?: number;
|
|
92
|
-
/**
|
|
93
|
-
*
|
|
94
|
-
* @type {string}
|
|
95
|
-
* @memberof SearchCurationItemModel
|
|
96
|
-
*/
|
|
97
|
-
'parentId'?: string | null;
|
|
98
|
-
/**
|
|
99
|
-
*
|
|
100
|
-
* @type {Array<SearchCurationItemModel>}
|
|
101
|
-
* @memberof SearchCurationItemModel
|
|
102
|
-
*/
|
|
103
|
-
'subItems'?: Array<SearchCurationItemModel> | null;
|
|
104
|
-
/**
|
|
105
|
-
*
|
|
106
|
-
* @type {SearchCurationItemModel}
|
|
107
|
-
* @memberof SearchCurationItemModel
|
|
108
|
-
*/
|
|
109
|
-
'parent'?: SearchCurationItemModel;
|
|
110
|
-
}
|
|
111
|
-
|
package/src/models/user-type.ts
DELETED
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
/* tslint:disable */
|
|
2
|
-
/* eslint-disable */
|
|
3
|
-
/**
|
|
4
|
-
* CloudHospital Api
|
|
5
|
-
* CloudHospital application with Swagger, Swashbuckle, and API versioning.
|
|
6
|
-
*
|
|
7
|
-
* The version of the OpenAPI document: 2
|
|
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 UserType = {
|
|
24
|
-
Patient: 'Patient',
|
|
25
|
-
Partner: 'Partner',
|
|
26
|
-
Doctor: 'Doctor',
|
|
27
|
-
Manager: 'Manager',
|
|
28
|
-
ChManager: 'CHManager',
|
|
29
|
-
ChAdmin: 'CHAdmin',
|
|
30
|
-
ContentManager: 'ContentManager',
|
|
31
|
-
PatientManager: 'PatientManager'
|
|
32
|
-
} as const;
|
|
33
|
-
|
|
34
|
-
export type UserType = typeof UserType[keyof typeof UserType];
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
File without changes
|
|
File without changes
|
/package/lib/models/{curation-specialty-types-model.js → curations-by-category-item-model.js}
RENAMED
|
File without changes
|
|
File without changes
|