ch-admin-api-client-typescript 5.20.20 → 5.20.25
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/dev-supports-api.d.ts +55 -0
- package/lib/api/dev-supports-api.d.ts.map +1 -1
- package/lib/api/dev-supports-api.js +92 -0
- package/lib/api/hospital-branches-api.d.ts +12 -3
- package/lib/api/hospital-branches-api.d.ts.map +1 -1
- package/lib/api/hospital-branches-api.js +12 -6
- package/lib/api/hospital-groups-api.d.ts +12 -3
- package/lib/api/hospital-groups-api.d.ts.map +1 -1
- package/lib/api/hospital-groups-api.js +12 -6
- package/lib/api/hospitals-api.d.ts +140 -0
- package/lib/api/hospitals-api.d.ts.map +1 -1
- package/lib/api/hospitals-api.js +198 -0
- package/lib/models/create-web-app-command.d.ts +6 -0
- package/lib/models/create-web-app-command.d.ts.map +1 -1
- package/lib/models/index.d.ts +4 -0
- package/lib/models/index.d.ts.map +1 -1
- package/lib/models/index.js +4 -0
- package/lib/models/translate-page-command.d.ts +44 -0
- package/lib/models/translate-page-command.d.ts.map +1 -0
- package/lib/models/translate-page-command.js +15 -0
- package/lib/models/translate-page-section-command.d.ts +50 -0
- package/lib/models/translate-page-section-command.d.ts.map +1 -0
- package/lib/models/translate-page-section-command.js +15 -0
- package/lib/models/translation-batch-result-model.d.ts +54 -0
- package/lib/models/translation-batch-result-model.d.ts.map +1 -0
- package/lib/models/translation-batch-result-model.js +15 -0
- package/lib/models/translation-charaters-model.d.ts +37 -0
- package/lib/models/translation-charaters-model.d.ts.map +1 -0
- package/lib/models/translation-charaters-model.js +15 -0
- package/lib/models/update-web-app-command.d.ts +6 -0
- package/lib/models/update-web-app-command.d.ts.map +1 -1
- package/lib/models/web-app-item-model.d.ts +6 -0
- package/lib/models/web-app-item-model.d.ts.map +1 -1
- package/lib/models/web-app-model.d.ts +6 -0
- package/lib/models/web-app-model.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/.openapi-generator/FILES +4 -0
- package/src/api/dev-supports-api.ts +102 -0
- package/src/api/hospital-branches-api.ts +20 -6
- package/src/api/hospital-groups-api.ts +20 -6
- package/src/api/hospitals-api.ts +241 -0
- package/src/models/create-web-app-command.ts +6 -0
- package/src/models/index.ts +4 -0
- package/src/models/translate-page-command.ts +51 -0
- package/src/models/translate-page-section-command.ts +57 -0
- package/src/models/translation-batch-result-model.ts +57 -0
- package/src/models/translation-charaters-model.ts +42 -0
- package/src/models/update-web-app-command.ts +6 -0
- package/src/models/web-app-item-model.ts +6 -0
- package/src/models/web-app-model.ts +6 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"web-app-item-model.d.ts","sourceRoot":"","sources":["../../src/models/web-app-item-model.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAKH,OAAO,EAAE,oBAAoB,EAAE,MAAM,0BAA0B,CAAC;AAGhE,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAE/C;;;;GAIG;AACH,MAAM,WAAW,eAAe;IAC5B;;;;OAIG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;;;OAIG;IACH,cAAc,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC/B;;;;OAIG;IACH,OAAO,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACxB;;;;OAIG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB;;;;OAIG;IACH,cAAc,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC/B;;;;OAIG;IACH,cAAc,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC/B;;;;OAIG;IACH,eAAe,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAChC;;;;OAIG;IACH,SAAS,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC1B;;;;OAIG;IACH,UAAU,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC3B;;;;OAIG;IACH,UAAU,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC3B;;;;OAIG;IACH,cAAc,CAAC,EAAE,YAAY,CAAC;IAC9B;;;;OAIG;IACH,QAAQ,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACzB;;;;OAIG;IACH,iBAAiB,CAAC,EAAE,oBAAoB,CAAC;CAC5C"}
|
|
1
|
+
{"version":3,"file":"web-app-item-model.d.ts","sourceRoot":"","sources":["../../src/models/web-app-item-model.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAKH,OAAO,EAAE,oBAAoB,EAAE,MAAM,0BAA0B,CAAC;AAGhE,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAE/C;;;;GAIG;AACH,MAAM,WAAW,eAAe;IAC5B;;;;OAIG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;;;OAIG;IACH,cAAc,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC/B;;;;OAIG;IACH,OAAO,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACxB;;;;OAIG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB;;;;OAIG;IACH,cAAc,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC/B;;;;OAIG;IACH,cAAc,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC/B;;;;OAIG;IACH,eAAe,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAChC;;;;OAIG;IACH,SAAS,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC1B;;;;OAIG;IACH,UAAU,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC3B;;;;OAIG;IACH,UAAU,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC3B;;;;OAIG;IACH,cAAc,CAAC,EAAE,YAAY,CAAC;IAC9B;;;;OAIG;IACH,QAAQ,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACzB;;;;OAIG;IACH,mCAAmC,CAAC,EAAE,OAAO,CAAC;IAC9C;;;;OAIG;IACH,iBAAiB,CAAC,EAAE,oBAAoB,CAAC;CAC5C"}
|
|
@@ -90,6 +90,12 @@ export interface WebAppModel {
|
|
|
90
90
|
* @memberof WebAppModel
|
|
91
91
|
*/
|
|
92
92
|
'region'?: string | null;
|
|
93
|
+
/**
|
|
94
|
+
*
|
|
95
|
+
* @type {boolean}
|
|
96
|
+
* @memberof WebAppModel
|
|
97
|
+
*/
|
|
98
|
+
'useCustomDomainRedirectionFromWww'?: boolean;
|
|
93
99
|
/**
|
|
94
100
|
*
|
|
95
101
|
* @type {AuditableEntityModel}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"web-app-model.d.ts","sourceRoot":"","sources":["../../src/models/web-app-model.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAKH,OAAO,EAAE,oBAAoB,EAAE,MAAM,0BAA0B,CAAC;AAGhE,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAG/C,OAAO,EAAE,sBAAsB,EAAE,MAAM,6BAA6B,CAAC;AAErE;;;;GAIG;AACH,MAAM,WAAW,WAAW;IACxB;;;;OAIG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;;;OAIG;IACH,cAAc,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC/B;;;;OAIG;IACH,OAAO,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACxB;;;;OAIG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB;;;;OAIG;IACH,cAAc,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC/B;;;;OAIG;IACH,cAAc,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC/B;;;;OAIG;IACH,eAAe,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAChC;;;;OAIG;IACH,SAAS,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC1B;;;;OAIG;IACH,UAAU,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC3B;;;;OAIG;IACH,UAAU,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC3B;;;;OAIG;IACH,cAAc,CAAC,EAAE,YAAY,CAAC;IAC9B;;;;OAIG;IACH,QAAQ,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACzB;;;;OAIG;IACH,iBAAiB,CAAC,EAAE,oBAAoB,CAAC;IACzC;;;;OAIG;IACH,oBAAoB,CAAC,EAAE,KAAK,CAAC,sBAAsB,CAAC,GAAG,IAAI,CAAC;CAC/D"}
|
|
1
|
+
{"version":3,"file":"web-app-model.d.ts","sourceRoot":"","sources":["../../src/models/web-app-model.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAKH,OAAO,EAAE,oBAAoB,EAAE,MAAM,0BAA0B,CAAC;AAGhE,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAG/C,OAAO,EAAE,sBAAsB,EAAE,MAAM,6BAA6B,CAAC;AAErE;;;;GAIG;AACH,MAAM,WAAW,WAAW;IACxB;;;;OAIG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;;;OAIG;IACH,cAAc,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC/B;;;;OAIG;IACH,OAAO,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACxB;;;;OAIG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB;;;;OAIG;IACH,cAAc,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC/B;;;;OAIG;IACH,cAAc,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC/B;;;;OAIG;IACH,eAAe,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAChC;;;;OAIG;IACH,SAAS,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC1B;;;;OAIG;IACH,UAAU,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC3B;;;;OAIG;IACH,UAAU,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC3B;;;;OAIG;IACH,cAAc,CAAC,EAAE,YAAY,CAAC;IAC9B;;;;OAIG;IACH,QAAQ,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACzB;;;;OAIG;IACH,mCAAmC,CAAC,EAAE,OAAO,CAAC;IAC9C;;;;OAIG;IACH,iBAAiB,CAAC,EAAE,oBAAoB,CAAC;IACzC;;;;OAIG;IACH,oBAAoB,CAAC,EAAE,KAAK,CAAC,sBAAsB,CAAC,GAAG,IAAI,CAAC;CAC/D"}
|
package/package.json
CHANGED
|
@@ -535,8 +535,12 @@ models/translate-hospital-command.ts
|
|
|
535
535
|
models/translate-hospital-service-command.ts
|
|
536
536
|
models/translate-hospital-specialty-command.ts
|
|
537
537
|
models/translate-landing-command.ts
|
|
538
|
+
models/translate-page-command.ts
|
|
539
|
+
models/translate-page-section-command.ts
|
|
538
540
|
models/translate-specialty-command.ts
|
|
539
541
|
models/translate-specialty-type-command.ts
|
|
542
|
+
models/translation-batch-result-model.ts
|
|
543
|
+
models/translation-charaters-model.ts
|
|
540
544
|
models/translation-contents-model.ts
|
|
541
545
|
models/translation-contents-target-model.ts
|
|
542
546
|
models/translation-target-entities.ts
|
|
@@ -21,6 +21,8 @@ import { DUMMY_BASE_URL, assertParamExists, setApiKeyToObject, setBasicAuthToObj
|
|
|
21
21
|
// @ts-ignore
|
|
22
22
|
import { BASE_PATH, COLLECTION_FORMATS, RequestArgs, BaseAPI, RequiredError } from '../base';
|
|
23
23
|
// @ts-ignore
|
|
24
|
+
import { ProblemDetails } from '../models';
|
|
25
|
+
// @ts-ignore
|
|
24
26
|
import { TranslationContentsModel } from '../models';
|
|
25
27
|
// @ts-ignore
|
|
26
28
|
import { TranslationTargetEntities } from '../models';
|
|
@@ -30,6 +32,50 @@ import { TranslationTargetEntities } from '../models';
|
|
|
30
32
|
*/
|
|
31
33
|
export const DevSupportsApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
32
34
|
return {
|
|
35
|
+
/**
|
|
36
|
+
*
|
|
37
|
+
* @summary Generate missing favicons for all webapps
|
|
38
|
+
* @param {Array<string>} [webAppIds]
|
|
39
|
+
* @param {boolean} [dryRun]
|
|
40
|
+
* @param {*} [options] Override http request option.
|
|
41
|
+
* @throws {RequiredError}
|
|
42
|
+
*/
|
|
43
|
+
apiV1DevsupportsGeneratemissingfaviconsPost: async (webAppIds?: Array<string>, dryRun?: boolean, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
44
|
+
const localVarPath = `/api/v1/devsupports/generatemissingfavicons`;
|
|
45
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
46
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
47
|
+
let baseOptions;
|
|
48
|
+
if (configuration) {
|
|
49
|
+
baseOptions = configuration.baseOptions;
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
53
|
+
const localVarHeaderParameter = {} as any;
|
|
54
|
+
const localVarQueryParameter = {} as any;
|
|
55
|
+
|
|
56
|
+
// authentication oauth2 required
|
|
57
|
+
// oauth required
|
|
58
|
+
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
|
|
59
|
+
|
|
60
|
+
if (webAppIds) {
|
|
61
|
+
localVarQueryParameter['webAppIds'] = webAppIds;
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
if (dryRun !== undefined) {
|
|
65
|
+
localVarQueryParameter['dryRun'] = dryRun;
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
|
|
69
|
+
|
|
70
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
71
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
72
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
73
|
+
|
|
74
|
+
return {
|
|
75
|
+
url: toPathString(localVarUrlObj),
|
|
76
|
+
options: localVarRequestOptions,
|
|
77
|
+
};
|
|
78
|
+
},
|
|
33
79
|
/**
|
|
34
80
|
*
|
|
35
81
|
* @summary Find missing translated content, translate all found contents
|
|
@@ -108,6 +154,18 @@ export const DevSupportsApiAxiosParamCreator = function (configuration?: Configu
|
|
|
108
154
|
export const DevSupportsApiFp = function(configuration?: Configuration) {
|
|
109
155
|
const localVarAxiosParamCreator = DevSupportsApiAxiosParamCreator(configuration)
|
|
110
156
|
return {
|
|
157
|
+
/**
|
|
158
|
+
*
|
|
159
|
+
* @summary Generate missing favicons for all webapps
|
|
160
|
+
* @param {Array<string>} [webAppIds]
|
|
161
|
+
* @param {boolean} [dryRun]
|
|
162
|
+
* @param {*} [options] Override http request option.
|
|
163
|
+
* @throws {RequiredError}
|
|
164
|
+
*/
|
|
165
|
+
async apiV1DevsupportsGeneratemissingfaviconsPost(webAppIds?: Array<string>, dryRun?: boolean, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<string>> {
|
|
166
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1DevsupportsGeneratemissingfaviconsPost(webAppIds, dryRun, options);
|
|
167
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
168
|
+
},
|
|
111
169
|
/**
|
|
112
170
|
*
|
|
113
171
|
* @summary Find missing translated content, translate all found contents
|
|
@@ -134,6 +192,17 @@ export const DevSupportsApiFp = function(configuration?: Configuration) {
|
|
|
134
192
|
export const DevSupportsApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
135
193
|
const localVarFp = DevSupportsApiFp(configuration)
|
|
136
194
|
return {
|
|
195
|
+
/**
|
|
196
|
+
*
|
|
197
|
+
* @summary Generate missing favicons for all webapps
|
|
198
|
+
* @param {Array<string>} [webAppIds]
|
|
199
|
+
* @param {boolean} [dryRun]
|
|
200
|
+
* @param {*} [options] Override http request option.
|
|
201
|
+
* @throws {RequiredError}
|
|
202
|
+
*/
|
|
203
|
+
apiV1DevsupportsGeneratemissingfaviconsPost(webAppIds?: Array<string>, dryRun?: boolean, options?: any): AxiosPromise<string> {
|
|
204
|
+
return localVarFp.apiV1DevsupportsGeneratemissingfaviconsPost(webAppIds, dryRun, options).then((request) => request(axios, basePath));
|
|
205
|
+
},
|
|
137
206
|
/**
|
|
138
207
|
*
|
|
139
208
|
* @summary Find missing translated content, translate all found contents
|
|
@@ -152,6 +221,27 @@ export const DevSupportsApiFactory = function (configuration?: Configuration, ba
|
|
|
152
221
|
};
|
|
153
222
|
};
|
|
154
223
|
|
|
224
|
+
/**
|
|
225
|
+
* Request parameters for apiV1DevsupportsGeneratemissingfaviconsPost operation in DevSupportsApi.
|
|
226
|
+
* @export
|
|
227
|
+
* @interface DevSupportsApiApiV1DevsupportsGeneratemissingfaviconsPostRequest
|
|
228
|
+
*/
|
|
229
|
+
export interface DevSupportsApiApiV1DevsupportsGeneratemissingfaviconsPostRequest {
|
|
230
|
+
/**
|
|
231
|
+
*
|
|
232
|
+
* @type {Array<string>}
|
|
233
|
+
* @memberof DevSupportsApiApiV1DevsupportsGeneratemissingfaviconsPost
|
|
234
|
+
*/
|
|
235
|
+
readonly webAppIds?: Array<string>
|
|
236
|
+
|
|
237
|
+
/**
|
|
238
|
+
*
|
|
239
|
+
* @type {boolean}
|
|
240
|
+
* @memberof DevSupportsApiApiV1DevsupportsGeneratemissingfaviconsPost
|
|
241
|
+
*/
|
|
242
|
+
readonly dryRun?: boolean
|
|
243
|
+
}
|
|
244
|
+
|
|
155
245
|
/**
|
|
156
246
|
* Request parameters for apiV1DevsupportsTranslatePost operation in DevSupportsApi.
|
|
157
247
|
* @export
|
|
@@ -208,6 +298,18 @@ export interface DevSupportsApiApiV1DevsupportsTranslatePostRequest {
|
|
|
208
298
|
* @extends {BaseAPI}
|
|
209
299
|
*/
|
|
210
300
|
export class DevSupportsApi extends BaseAPI {
|
|
301
|
+
/**
|
|
302
|
+
*
|
|
303
|
+
* @summary Generate missing favicons for all webapps
|
|
304
|
+
* @param {DevSupportsApiApiV1DevsupportsGeneratemissingfaviconsPostRequest} requestParameters Request parameters.
|
|
305
|
+
* @param {*} [options] Override http request option.
|
|
306
|
+
* @throws {RequiredError}
|
|
307
|
+
* @memberof DevSupportsApi
|
|
308
|
+
*/
|
|
309
|
+
public apiV1DevsupportsGeneratemissingfaviconsPost(requestParameters: DevSupportsApiApiV1DevsupportsGeneratemissingfaviconsPostRequest = {}, options?: AxiosRequestConfig) {
|
|
310
|
+
return DevSupportsApiFp(this.configuration).apiV1DevsupportsGeneratemissingfaviconsPost(requestParameters.webAppIds, requestParameters.dryRun, options).then((request) => request(this.axios, this.basePath));
|
|
311
|
+
}
|
|
312
|
+
|
|
211
313
|
/**
|
|
212
314
|
*
|
|
213
315
|
* @summary Find missing translated content, translate all found contents
|
|
@@ -47,13 +47,14 @@ export const HospitalBranchesApiAxiosParamCreator = function (configuration?: Co
|
|
|
47
47
|
* @param {string} [hospitalGroupId]
|
|
48
48
|
* @param {string} [hospitalId]
|
|
49
49
|
* @param {string} [languageCode]
|
|
50
|
+
* @param {boolean} [showHidden]
|
|
50
51
|
* @param {number} [page]
|
|
51
52
|
* @param {number} [limit]
|
|
52
53
|
* @param {Date} [lastRetrieved]
|
|
53
54
|
* @param {*} [options] Override http request option.
|
|
54
55
|
* @throws {RequiredError}
|
|
55
56
|
*/
|
|
56
|
-
apiV1HospitalbranchesGet: async (id?: string, hospitalGroupId?: string, hospitalId?: string, languageCode?: string, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
57
|
+
apiV1HospitalbranchesGet: async (id?: string, hospitalGroupId?: string, hospitalId?: string, languageCode?: string, showHidden?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
57
58
|
const localVarPath = `/api/v1/hospitalbranches`;
|
|
58
59
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
59
60
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -86,6 +87,10 @@ export const HospitalBranchesApiAxiosParamCreator = function (configuration?: Co
|
|
|
86
87
|
localVarQueryParameter['LanguageCode'] = languageCode;
|
|
87
88
|
}
|
|
88
89
|
|
|
90
|
+
if (showHidden !== undefined) {
|
|
91
|
+
localVarQueryParameter['ShowHidden'] = showHidden;
|
|
92
|
+
}
|
|
93
|
+
|
|
89
94
|
if (page !== undefined) {
|
|
90
95
|
localVarQueryParameter['page'] = page;
|
|
91
96
|
}
|
|
@@ -466,14 +471,15 @@ export const HospitalBranchesApiFp = function(configuration?: Configuration) {
|
|
|
466
471
|
* @param {string} [hospitalGroupId]
|
|
467
472
|
* @param {string} [hospitalId]
|
|
468
473
|
* @param {string} [languageCode]
|
|
474
|
+
* @param {boolean} [showHidden]
|
|
469
475
|
* @param {number} [page]
|
|
470
476
|
* @param {number} [limit]
|
|
471
477
|
* @param {Date} [lastRetrieved]
|
|
472
478
|
* @param {*} [options] Override http request option.
|
|
473
479
|
* @throws {RequiredError}
|
|
474
480
|
*/
|
|
475
|
-
async apiV1HospitalbranchesGet(id?: string, hospitalGroupId?: string, hospitalId?: string, languageCode?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<HospitalBranchesModel>> {
|
|
476
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1HospitalbranchesGet(id, hospitalGroupId, hospitalId, languageCode, page, limit, lastRetrieved, options);
|
|
481
|
+
async apiV1HospitalbranchesGet(id?: string, hospitalGroupId?: string, hospitalId?: string, languageCode?: string, showHidden?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<HospitalBranchesModel>> {
|
|
482
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1HospitalbranchesGet(id, hospitalGroupId, hospitalId, languageCode, showHidden, page, limit, lastRetrieved, options);
|
|
477
483
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
478
484
|
},
|
|
479
485
|
/**
|
|
@@ -589,14 +595,15 @@ export const HospitalBranchesApiFactory = function (configuration?: Configuratio
|
|
|
589
595
|
* @param {string} [hospitalGroupId]
|
|
590
596
|
* @param {string} [hospitalId]
|
|
591
597
|
* @param {string} [languageCode]
|
|
598
|
+
* @param {boolean} [showHidden]
|
|
592
599
|
* @param {number} [page]
|
|
593
600
|
* @param {number} [limit]
|
|
594
601
|
* @param {Date} [lastRetrieved]
|
|
595
602
|
* @param {*} [options] Override http request option.
|
|
596
603
|
* @throws {RequiredError}
|
|
597
604
|
*/
|
|
598
|
-
apiV1HospitalbranchesGet(id?: string, hospitalGroupId?: string, hospitalId?: string, languageCode?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<HospitalBranchesModel> {
|
|
599
|
-
return localVarFp.apiV1HospitalbranchesGet(id, hospitalGroupId, hospitalId, languageCode, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
|
|
605
|
+
apiV1HospitalbranchesGet(id?: string, hospitalGroupId?: string, hospitalId?: string, languageCode?: string, showHidden?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<HospitalBranchesModel> {
|
|
606
|
+
return localVarFp.apiV1HospitalbranchesGet(id, hospitalGroupId, hospitalId, languageCode, showHidden, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
|
|
600
607
|
},
|
|
601
608
|
/**
|
|
602
609
|
*
|
|
@@ -723,6 +730,13 @@ export interface HospitalBranchesApiApiV1HospitalbranchesGetRequest {
|
|
|
723
730
|
*/
|
|
724
731
|
readonly languageCode?: string
|
|
725
732
|
|
|
733
|
+
/**
|
|
734
|
+
*
|
|
735
|
+
* @type {boolean}
|
|
736
|
+
* @memberof HospitalBranchesApiApiV1HospitalbranchesGet
|
|
737
|
+
*/
|
|
738
|
+
readonly showHidden?: boolean
|
|
739
|
+
|
|
726
740
|
/**
|
|
727
741
|
*
|
|
728
742
|
* @type {number}
|
|
@@ -929,7 +943,7 @@ export class HospitalBranchesApi extends BaseAPI {
|
|
|
929
943
|
* @memberof HospitalBranchesApi
|
|
930
944
|
*/
|
|
931
945
|
public apiV1HospitalbranchesGet(requestParameters: HospitalBranchesApiApiV1HospitalbranchesGetRequest = {}, options?: AxiosRequestConfig) {
|
|
932
|
-
return HospitalBranchesApiFp(this.configuration).apiV1HospitalbranchesGet(requestParameters.id, requestParameters.hospitalGroupId, requestParameters.hospitalId, requestParameters.languageCode, requestParameters.page, requestParameters.limit, requestParameters.lastRetrieved, options).then((request) => request(this.axios, this.basePath));
|
|
946
|
+
return HospitalBranchesApiFp(this.configuration).apiV1HospitalbranchesGet(requestParameters.id, requestParameters.hospitalGroupId, requestParameters.hospitalId, requestParameters.languageCode, requestParameters.showHidden, requestParameters.page, requestParameters.limit, requestParameters.lastRetrieved, options).then((request) => request(this.axios, this.basePath));
|
|
933
947
|
}
|
|
934
948
|
|
|
935
949
|
/**
|
|
@@ -43,13 +43,14 @@ export const HospitalGroupsApiAxiosParamCreator = function (configuration?: Conf
|
|
|
43
43
|
* @param {string} [hospitalId]
|
|
44
44
|
* @param {string} [languageCode]
|
|
45
45
|
* @param {string} [name]
|
|
46
|
+
* @param {boolean} [showHidden]
|
|
46
47
|
* @param {number} [page]
|
|
47
48
|
* @param {number} [limit]
|
|
48
49
|
* @param {Date} [lastRetrieved]
|
|
49
50
|
* @param {*} [options] Override http request option.
|
|
50
51
|
* @throws {RequiredError}
|
|
51
52
|
*/
|
|
52
|
-
apiV1HospitalgroupsGet: async (hospitalGroupId?: string, hospitalId?: string, languageCode?: string, name?: string, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
53
|
+
apiV1HospitalgroupsGet: async (hospitalGroupId?: string, hospitalId?: string, languageCode?: string, name?: string, showHidden?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
53
54
|
const localVarPath = `/api/v1/hospitalgroups`;
|
|
54
55
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
55
56
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -82,6 +83,10 @@ export const HospitalGroupsApiAxiosParamCreator = function (configuration?: Conf
|
|
|
82
83
|
localVarQueryParameter['Name'] = name;
|
|
83
84
|
}
|
|
84
85
|
|
|
86
|
+
if (showHidden !== undefined) {
|
|
87
|
+
localVarQueryParameter['ShowHidden'] = showHidden;
|
|
88
|
+
}
|
|
89
|
+
|
|
85
90
|
if (page !== undefined) {
|
|
86
91
|
localVarQueryParameter['page'] = page;
|
|
87
92
|
}
|
|
@@ -328,14 +333,15 @@ export const HospitalGroupsApiFp = function(configuration?: Configuration) {
|
|
|
328
333
|
* @param {string} [hospitalId]
|
|
329
334
|
* @param {string} [languageCode]
|
|
330
335
|
* @param {string} [name]
|
|
336
|
+
* @param {boolean} [showHidden]
|
|
331
337
|
* @param {number} [page]
|
|
332
338
|
* @param {number} [limit]
|
|
333
339
|
* @param {Date} [lastRetrieved]
|
|
334
340
|
* @param {*} [options] Override http request option.
|
|
335
341
|
* @throws {RequiredError}
|
|
336
342
|
*/
|
|
337
|
-
async apiV1HospitalgroupsGet(hospitalGroupId?: string, hospitalId?: string, languageCode?: string, name?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<HospitalGroupsModel>> {
|
|
338
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1HospitalgroupsGet(hospitalGroupId, hospitalId, languageCode, name, page, limit, lastRetrieved, options);
|
|
343
|
+
async apiV1HospitalgroupsGet(hospitalGroupId?: string, hospitalId?: string, languageCode?: string, name?: string, showHidden?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<HospitalGroupsModel>> {
|
|
344
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1HospitalgroupsGet(hospitalGroupId, hospitalId, languageCode, name, showHidden, page, limit, lastRetrieved, options);
|
|
339
345
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
340
346
|
},
|
|
341
347
|
/**
|
|
@@ -413,14 +419,15 @@ export const HospitalGroupsApiFactory = function (configuration?: Configuration,
|
|
|
413
419
|
* @param {string} [hospitalId]
|
|
414
420
|
* @param {string} [languageCode]
|
|
415
421
|
* @param {string} [name]
|
|
422
|
+
* @param {boolean} [showHidden]
|
|
416
423
|
* @param {number} [page]
|
|
417
424
|
* @param {number} [limit]
|
|
418
425
|
* @param {Date} [lastRetrieved]
|
|
419
426
|
* @param {*} [options] Override http request option.
|
|
420
427
|
* @throws {RequiredError}
|
|
421
428
|
*/
|
|
422
|
-
apiV1HospitalgroupsGet(hospitalGroupId?: string, hospitalId?: string, languageCode?: string, name?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<HospitalGroupsModel> {
|
|
423
|
-
return localVarFp.apiV1HospitalgroupsGet(hospitalGroupId, hospitalId, languageCode, name, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
|
|
429
|
+
apiV1HospitalgroupsGet(hospitalGroupId?: string, hospitalId?: string, languageCode?: string, name?: string, showHidden?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<HospitalGroupsModel> {
|
|
430
|
+
return localVarFp.apiV1HospitalgroupsGet(hospitalGroupId, hospitalId, languageCode, name, showHidden, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
|
|
424
431
|
},
|
|
425
432
|
/**
|
|
426
433
|
*
|
|
@@ -512,6 +519,13 @@ export interface HospitalGroupsApiApiV1HospitalgroupsGetRequest {
|
|
|
512
519
|
*/
|
|
513
520
|
readonly name?: string
|
|
514
521
|
|
|
522
|
+
/**
|
|
523
|
+
*
|
|
524
|
+
* @type {boolean}
|
|
525
|
+
* @memberof HospitalGroupsApiApiV1HospitalgroupsGet
|
|
526
|
+
*/
|
|
527
|
+
readonly showHidden?: boolean
|
|
528
|
+
|
|
515
529
|
/**
|
|
516
530
|
*
|
|
517
531
|
* @type {number}
|
|
@@ -641,7 +655,7 @@ export class HospitalGroupsApi extends BaseAPI {
|
|
|
641
655
|
* @memberof HospitalGroupsApi
|
|
642
656
|
*/
|
|
643
657
|
public apiV1HospitalgroupsGet(requestParameters: HospitalGroupsApiApiV1HospitalgroupsGetRequest = {}, options?: AxiosRequestConfig) {
|
|
644
|
-
return HospitalGroupsApiFp(this.configuration).apiV1HospitalgroupsGet(requestParameters.hospitalGroupId, requestParameters.hospitalId, requestParameters.languageCode, requestParameters.name, requestParameters.page, requestParameters.limit, requestParameters.lastRetrieved, options).then((request) => request(this.axios, this.basePath));
|
|
658
|
+
return HospitalGroupsApiFp(this.configuration).apiV1HospitalgroupsGet(requestParameters.hospitalGroupId, requestParameters.hospitalId, requestParameters.languageCode, requestParameters.name, requestParameters.showHidden, requestParameters.page, requestParameters.limit, requestParameters.lastRetrieved, options).then((request) => request(this.axios, this.basePath));
|
|
645
659
|
}
|
|
646
660
|
|
|
647
661
|
/**
|
package/src/api/hospitals-api.ts
CHANGED
|
@@ -217,6 +217,12 @@ import { TranslateHospitalSpecialtyCommand } from '../models';
|
|
|
217
217
|
// @ts-ignore
|
|
218
218
|
import { TranslateLandingCommand } from '../models';
|
|
219
219
|
// @ts-ignore
|
|
220
|
+
import { TranslatePageCommand } from '../models';
|
|
221
|
+
// @ts-ignore
|
|
222
|
+
import { TranslatePageSectionCommand } from '../models';
|
|
223
|
+
// @ts-ignore
|
|
224
|
+
import { TranslationBatchResultModel } from '../models';
|
|
225
|
+
// @ts-ignore
|
|
220
226
|
import { UpdateHospitalBankAccountInfoCommand } from '../models';
|
|
221
227
|
// @ts-ignore
|
|
222
228
|
import { UpdateHospitalCommand } from '../models';
|
|
@@ -4494,6 +4500,102 @@ export const HospitalsApiAxiosParamCreator = function (configuration?: Configura
|
|
|
4494
4500
|
options: localVarRequestOptions,
|
|
4495
4501
|
};
|
|
4496
4502
|
},
|
|
4503
|
+
/**
|
|
4504
|
+
*
|
|
4505
|
+
* @summary Translate pageBlocks in section
|
|
4506
|
+
* @param {string} hospitalId
|
|
4507
|
+
* @param {string} pageItemId
|
|
4508
|
+
* @param {string} pageSectionId
|
|
4509
|
+
* @param {TranslatePageSectionCommand} [translatePageSectionCommand]
|
|
4510
|
+
* @param {*} [options] Override http request option.
|
|
4511
|
+
* @throws {RequiredError}
|
|
4512
|
+
*/
|
|
4513
|
+
apiV1HospitalsHospitalIdPagesPageItemIdSectionsPageSectionIdTranslatePost: async (hospitalId: string, pageItemId: string, pageSectionId: string, translatePageSectionCommand?: TranslatePageSectionCommand, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
4514
|
+
// verify required parameter 'hospitalId' is not null or undefined
|
|
4515
|
+
assertParamExists('apiV1HospitalsHospitalIdPagesPageItemIdSectionsPageSectionIdTranslatePost', 'hospitalId', hospitalId)
|
|
4516
|
+
// verify required parameter 'pageItemId' is not null or undefined
|
|
4517
|
+
assertParamExists('apiV1HospitalsHospitalIdPagesPageItemIdSectionsPageSectionIdTranslatePost', 'pageItemId', pageItemId)
|
|
4518
|
+
// verify required parameter 'pageSectionId' is not null or undefined
|
|
4519
|
+
assertParamExists('apiV1HospitalsHospitalIdPagesPageItemIdSectionsPageSectionIdTranslatePost', 'pageSectionId', pageSectionId)
|
|
4520
|
+
const localVarPath = `/api/v1/hospitals/{hospitalId}/pages/{pageItemId}/sections/{pageSectionId}/translate`
|
|
4521
|
+
.replace(`{${"hospitalId"}}`, encodeURIComponent(String(hospitalId)))
|
|
4522
|
+
.replace(`{${"pageItemId"}}`, encodeURIComponent(String(pageItemId)))
|
|
4523
|
+
.replace(`{${"pageSectionId"}}`, encodeURIComponent(String(pageSectionId)));
|
|
4524
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
4525
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
4526
|
+
let baseOptions;
|
|
4527
|
+
if (configuration) {
|
|
4528
|
+
baseOptions = configuration.baseOptions;
|
|
4529
|
+
}
|
|
4530
|
+
|
|
4531
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
4532
|
+
const localVarHeaderParameter = {} as any;
|
|
4533
|
+
const localVarQueryParameter = {} as any;
|
|
4534
|
+
|
|
4535
|
+
// authentication oauth2 required
|
|
4536
|
+
// oauth required
|
|
4537
|
+
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
|
|
4538
|
+
|
|
4539
|
+
|
|
4540
|
+
|
|
4541
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
4542
|
+
|
|
4543
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
4544
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4545
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
4546
|
+
localVarRequestOptions.data = serializeDataIfNeeded(translatePageSectionCommand, localVarRequestOptions, configuration)
|
|
4547
|
+
|
|
4548
|
+
return {
|
|
4549
|
+
url: toPathString(localVarUrlObj),
|
|
4550
|
+
options: localVarRequestOptions,
|
|
4551
|
+
};
|
|
4552
|
+
},
|
|
4553
|
+
/**
|
|
4554
|
+
*
|
|
4555
|
+
* @summary Translate page
|
|
4556
|
+
* @param {string} hospitalId
|
|
4557
|
+
* @param {string} pageItemId
|
|
4558
|
+
* @param {TranslatePageCommand} [translatePageCommand]
|
|
4559
|
+
* @param {*} [options] Override http request option.
|
|
4560
|
+
* @throws {RequiredError}
|
|
4561
|
+
*/
|
|
4562
|
+
apiV1HospitalsHospitalIdPagesPageItemIdTranslatePost: async (hospitalId: string, pageItemId: string, translatePageCommand?: TranslatePageCommand, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
4563
|
+
// verify required parameter 'hospitalId' is not null or undefined
|
|
4564
|
+
assertParamExists('apiV1HospitalsHospitalIdPagesPageItemIdTranslatePost', 'hospitalId', hospitalId)
|
|
4565
|
+
// verify required parameter 'pageItemId' is not null or undefined
|
|
4566
|
+
assertParamExists('apiV1HospitalsHospitalIdPagesPageItemIdTranslatePost', 'pageItemId', pageItemId)
|
|
4567
|
+
const localVarPath = `/api/v1/hospitals/{hospitalId}/pages/{pageItemId}/translate`
|
|
4568
|
+
.replace(`{${"hospitalId"}}`, encodeURIComponent(String(hospitalId)))
|
|
4569
|
+
.replace(`{${"pageItemId"}}`, encodeURIComponent(String(pageItemId)));
|
|
4570
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
4571
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
4572
|
+
let baseOptions;
|
|
4573
|
+
if (configuration) {
|
|
4574
|
+
baseOptions = configuration.baseOptions;
|
|
4575
|
+
}
|
|
4576
|
+
|
|
4577
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
4578
|
+
const localVarHeaderParameter = {} as any;
|
|
4579
|
+
const localVarQueryParameter = {} as any;
|
|
4580
|
+
|
|
4581
|
+
// authentication oauth2 required
|
|
4582
|
+
// oauth required
|
|
4583
|
+
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
|
|
4584
|
+
|
|
4585
|
+
|
|
4586
|
+
|
|
4587
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
4588
|
+
|
|
4589
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
4590
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4591
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
4592
|
+
localVarRequestOptions.data = serializeDataIfNeeded(translatePageCommand, localVarRequestOptions, configuration)
|
|
4593
|
+
|
|
4594
|
+
return {
|
|
4595
|
+
url: toPathString(localVarUrlObj),
|
|
4596
|
+
options: localVarRequestOptions,
|
|
4597
|
+
};
|
|
4598
|
+
},
|
|
4497
4599
|
/**
|
|
4498
4600
|
*
|
|
4499
4601
|
* @summary Create page
|
|
@@ -10008,6 +10110,33 @@ export const HospitalsApiFp = function(configuration?: Configuration) {
|
|
|
10008
10110
|
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1HospitalsHospitalIdPagesPageItemIdReactivatePut(hospitalId, pageItemId, options);
|
|
10009
10111
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
10010
10112
|
},
|
|
10113
|
+
/**
|
|
10114
|
+
*
|
|
10115
|
+
* @summary Translate pageBlocks in section
|
|
10116
|
+
* @param {string} hospitalId
|
|
10117
|
+
* @param {string} pageItemId
|
|
10118
|
+
* @param {string} pageSectionId
|
|
10119
|
+
* @param {TranslatePageSectionCommand} [translatePageSectionCommand]
|
|
10120
|
+
* @param {*} [options] Override http request option.
|
|
10121
|
+
* @throws {RequiredError}
|
|
10122
|
+
*/
|
|
10123
|
+
async apiV1HospitalsHospitalIdPagesPageItemIdSectionsPageSectionIdTranslatePost(hospitalId: string, pageItemId: string, pageSectionId: string, translatePageSectionCommand?: TranslatePageSectionCommand, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<TranslationBatchResultModel>> {
|
|
10124
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1HospitalsHospitalIdPagesPageItemIdSectionsPageSectionIdTranslatePost(hospitalId, pageItemId, pageSectionId, translatePageSectionCommand, options);
|
|
10125
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
10126
|
+
},
|
|
10127
|
+
/**
|
|
10128
|
+
*
|
|
10129
|
+
* @summary Translate page
|
|
10130
|
+
* @param {string} hospitalId
|
|
10131
|
+
* @param {string} pageItemId
|
|
10132
|
+
* @param {TranslatePageCommand} [translatePageCommand]
|
|
10133
|
+
* @param {*} [options] Override http request option.
|
|
10134
|
+
* @throws {RequiredError}
|
|
10135
|
+
*/
|
|
10136
|
+
async apiV1HospitalsHospitalIdPagesPageItemIdTranslatePost(hospitalId: string, pageItemId: string, translatePageCommand?: TranslatePageCommand, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<TranslationBatchResultModel>> {
|
|
10137
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1HospitalsHospitalIdPagesPageItemIdTranslatePost(hospitalId, pageItemId, translatePageCommand, options);
|
|
10138
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
10139
|
+
},
|
|
10011
10140
|
/**
|
|
10012
10141
|
*
|
|
10013
10142
|
* @summary Create page
|
|
@@ -12242,6 +12371,31 @@ export const HospitalsApiFactory = function (configuration?: Configuration, base
|
|
|
12242
12371
|
apiV1HospitalsHospitalIdPagesPageItemIdReactivatePut(hospitalId: string, pageItemId: string, options?: any): AxiosPromise<boolean> {
|
|
12243
12372
|
return localVarFp.apiV1HospitalsHospitalIdPagesPageItemIdReactivatePut(hospitalId, pageItemId, options).then((request) => request(axios, basePath));
|
|
12244
12373
|
},
|
|
12374
|
+
/**
|
|
12375
|
+
*
|
|
12376
|
+
* @summary Translate pageBlocks in section
|
|
12377
|
+
* @param {string} hospitalId
|
|
12378
|
+
* @param {string} pageItemId
|
|
12379
|
+
* @param {string} pageSectionId
|
|
12380
|
+
* @param {TranslatePageSectionCommand} [translatePageSectionCommand]
|
|
12381
|
+
* @param {*} [options] Override http request option.
|
|
12382
|
+
* @throws {RequiredError}
|
|
12383
|
+
*/
|
|
12384
|
+
apiV1HospitalsHospitalIdPagesPageItemIdSectionsPageSectionIdTranslatePost(hospitalId: string, pageItemId: string, pageSectionId: string, translatePageSectionCommand?: TranslatePageSectionCommand, options?: any): AxiosPromise<TranslationBatchResultModel> {
|
|
12385
|
+
return localVarFp.apiV1HospitalsHospitalIdPagesPageItemIdSectionsPageSectionIdTranslatePost(hospitalId, pageItemId, pageSectionId, translatePageSectionCommand, options).then((request) => request(axios, basePath));
|
|
12386
|
+
},
|
|
12387
|
+
/**
|
|
12388
|
+
*
|
|
12389
|
+
* @summary Translate page
|
|
12390
|
+
* @param {string} hospitalId
|
|
12391
|
+
* @param {string} pageItemId
|
|
12392
|
+
* @param {TranslatePageCommand} [translatePageCommand]
|
|
12393
|
+
* @param {*} [options] Override http request option.
|
|
12394
|
+
* @throws {RequiredError}
|
|
12395
|
+
*/
|
|
12396
|
+
apiV1HospitalsHospitalIdPagesPageItemIdTranslatePost(hospitalId: string, pageItemId: string, translatePageCommand?: TranslatePageCommand, options?: any): AxiosPromise<TranslationBatchResultModel> {
|
|
12397
|
+
return localVarFp.apiV1HospitalsHospitalIdPagesPageItemIdTranslatePost(hospitalId, pageItemId, translatePageCommand, options).then((request) => request(axios, basePath));
|
|
12398
|
+
},
|
|
12245
12399
|
/**
|
|
12246
12400
|
*
|
|
12247
12401
|
* @summary Create page
|
|
@@ -16024,6 +16178,69 @@ export interface HospitalsApiApiV1HospitalsHospitalIdPagesPageItemIdReactivatePu
|
|
|
16024
16178
|
readonly pageItemId: string
|
|
16025
16179
|
}
|
|
16026
16180
|
|
|
16181
|
+
/**
|
|
16182
|
+
* Request parameters for apiV1HospitalsHospitalIdPagesPageItemIdSectionsPageSectionIdTranslatePost operation in HospitalsApi.
|
|
16183
|
+
* @export
|
|
16184
|
+
* @interface HospitalsApiApiV1HospitalsHospitalIdPagesPageItemIdSectionsPageSectionIdTranslatePostRequest
|
|
16185
|
+
*/
|
|
16186
|
+
export interface HospitalsApiApiV1HospitalsHospitalIdPagesPageItemIdSectionsPageSectionIdTranslatePostRequest {
|
|
16187
|
+
/**
|
|
16188
|
+
*
|
|
16189
|
+
* @type {string}
|
|
16190
|
+
* @memberof HospitalsApiApiV1HospitalsHospitalIdPagesPageItemIdSectionsPageSectionIdTranslatePost
|
|
16191
|
+
*/
|
|
16192
|
+
readonly hospitalId: string
|
|
16193
|
+
|
|
16194
|
+
/**
|
|
16195
|
+
*
|
|
16196
|
+
* @type {string}
|
|
16197
|
+
* @memberof HospitalsApiApiV1HospitalsHospitalIdPagesPageItemIdSectionsPageSectionIdTranslatePost
|
|
16198
|
+
*/
|
|
16199
|
+
readonly pageItemId: string
|
|
16200
|
+
|
|
16201
|
+
/**
|
|
16202
|
+
*
|
|
16203
|
+
* @type {string}
|
|
16204
|
+
* @memberof HospitalsApiApiV1HospitalsHospitalIdPagesPageItemIdSectionsPageSectionIdTranslatePost
|
|
16205
|
+
*/
|
|
16206
|
+
readonly pageSectionId: string
|
|
16207
|
+
|
|
16208
|
+
/**
|
|
16209
|
+
*
|
|
16210
|
+
* @type {TranslatePageSectionCommand}
|
|
16211
|
+
* @memberof HospitalsApiApiV1HospitalsHospitalIdPagesPageItemIdSectionsPageSectionIdTranslatePost
|
|
16212
|
+
*/
|
|
16213
|
+
readonly translatePageSectionCommand?: TranslatePageSectionCommand
|
|
16214
|
+
}
|
|
16215
|
+
|
|
16216
|
+
/**
|
|
16217
|
+
* Request parameters for apiV1HospitalsHospitalIdPagesPageItemIdTranslatePost operation in HospitalsApi.
|
|
16218
|
+
* @export
|
|
16219
|
+
* @interface HospitalsApiApiV1HospitalsHospitalIdPagesPageItemIdTranslatePostRequest
|
|
16220
|
+
*/
|
|
16221
|
+
export interface HospitalsApiApiV1HospitalsHospitalIdPagesPageItemIdTranslatePostRequest {
|
|
16222
|
+
/**
|
|
16223
|
+
*
|
|
16224
|
+
* @type {string}
|
|
16225
|
+
* @memberof HospitalsApiApiV1HospitalsHospitalIdPagesPageItemIdTranslatePost
|
|
16226
|
+
*/
|
|
16227
|
+
readonly hospitalId: string
|
|
16228
|
+
|
|
16229
|
+
/**
|
|
16230
|
+
*
|
|
16231
|
+
* @type {string}
|
|
16232
|
+
* @memberof HospitalsApiApiV1HospitalsHospitalIdPagesPageItemIdTranslatePost
|
|
16233
|
+
*/
|
|
16234
|
+
readonly pageItemId: string
|
|
16235
|
+
|
|
16236
|
+
/**
|
|
16237
|
+
*
|
|
16238
|
+
* @type {TranslatePageCommand}
|
|
16239
|
+
* @memberof HospitalsApiApiV1HospitalsHospitalIdPagesPageItemIdTranslatePost
|
|
16240
|
+
*/
|
|
16241
|
+
readonly translatePageCommand?: TranslatePageCommand
|
|
16242
|
+
}
|
|
16243
|
+
|
|
16027
16244
|
/**
|
|
16028
16245
|
* Request parameters for apiV1HospitalsHospitalIdPagesPost operation in HospitalsApi.
|
|
16029
16246
|
* @export
|
|
@@ -19979,6 +20196,30 @@ export class HospitalsApi extends BaseAPI {
|
|
|
19979
20196
|
return HospitalsApiFp(this.configuration).apiV1HospitalsHospitalIdPagesPageItemIdReactivatePut(requestParameters.hospitalId, requestParameters.pageItemId, options).then((request) => request(this.axios, this.basePath));
|
|
19980
20197
|
}
|
|
19981
20198
|
|
|
20199
|
+
/**
|
|
20200
|
+
*
|
|
20201
|
+
* @summary Translate pageBlocks in section
|
|
20202
|
+
* @param {HospitalsApiApiV1HospitalsHospitalIdPagesPageItemIdSectionsPageSectionIdTranslatePostRequest} requestParameters Request parameters.
|
|
20203
|
+
* @param {*} [options] Override http request option.
|
|
20204
|
+
* @throws {RequiredError}
|
|
20205
|
+
* @memberof HospitalsApi
|
|
20206
|
+
*/
|
|
20207
|
+
public apiV1HospitalsHospitalIdPagesPageItemIdSectionsPageSectionIdTranslatePost(requestParameters: HospitalsApiApiV1HospitalsHospitalIdPagesPageItemIdSectionsPageSectionIdTranslatePostRequest, options?: AxiosRequestConfig) {
|
|
20208
|
+
return HospitalsApiFp(this.configuration).apiV1HospitalsHospitalIdPagesPageItemIdSectionsPageSectionIdTranslatePost(requestParameters.hospitalId, requestParameters.pageItemId, requestParameters.pageSectionId, requestParameters.translatePageSectionCommand, options).then((request) => request(this.axios, this.basePath));
|
|
20209
|
+
}
|
|
20210
|
+
|
|
20211
|
+
/**
|
|
20212
|
+
*
|
|
20213
|
+
* @summary Translate page
|
|
20214
|
+
* @param {HospitalsApiApiV1HospitalsHospitalIdPagesPageItemIdTranslatePostRequest} requestParameters Request parameters.
|
|
20215
|
+
* @param {*} [options] Override http request option.
|
|
20216
|
+
* @throws {RequiredError}
|
|
20217
|
+
* @memberof HospitalsApi
|
|
20218
|
+
*/
|
|
20219
|
+
public apiV1HospitalsHospitalIdPagesPageItemIdTranslatePost(requestParameters: HospitalsApiApiV1HospitalsHospitalIdPagesPageItemIdTranslatePostRequest, options?: AxiosRequestConfig) {
|
|
20220
|
+
return HospitalsApiFp(this.configuration).apiV1HospitalsHospitalIdPagesPageItemIdTranslatePost(requestParameters.hospitalId, requestParameters.pageItemId, requestParameters.translatePageCommand, options).then((request) => request(this.axios, this.basePath));
|
|
20221
|
+
}
|
|
20222
|
+
|
|
19982
20223
|
/**
|
|
19983
20224
|
*
|
|
19984
20225
|
* @summary Create page
|