ch-admin-api-client-typescript 5.5.3 → 5.5.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/dev-supports-api.d.ts +125 -0
- package/lib/api/dev-supports-api.d.ts.map +1 -0
- package/lib/api/dev-supports-api.js +244 -0
- package/lib/api/hospitals-api.d.ts +139 -0
- package/lib/api/hospitals-api.d.ts.map +1 -1
- package/lib/api/hospitals-api.js +198 -0
- package/lib/api/specialties-api.d.ts +56 -0
- package/lib/api/specialties-api.d.ts.map +1 -1
- package/lib/api/specialties-api.js +90 -0
- package/lib/api/specialty-types-api.d.ts +56 -0
- package/lib/api/specialty-types-api.d.ts.map +1 -1
- package/lib/api/specialty-types-api.js +90 -0
- package/lib/api.d.ts +1 -0
- package/lib/api.d.ts.map +1 -1
- package/lib/api.js +1 -0
- package/lib/models/index.d.ts +7 -0
- package/lib/models/index.d.ts.map +1 -1
- package/lib/models/index.js +7 -0
- package/lib/models/translate-doctor-affiliation-command.d.ts +6 -0
- package/lib/models/translate-doctor-affiliation-command.d.ts.map +1 -1
- package/lib/models/translate-hospital-command.d.ts +6 -0
- package/lib/models/translate-hospital-command.d.ts.map +1 -1
- package/lib/models/translate-hospital-service-command.d.ts +44 -0
- package/lib/models/translate-hospital-service-command.d.ts.map +1 -0
- package/lib/models/translate-hospital-service-command.js +15 -0
- package/lib/models/translate-hospital-specialty-command.d.ts +44 -0
- package/lib/models/translate-hospital-specialty-command.d.ts.map +1 -0
- package/lib/models/translate-hospital-specialty-command.js +15 -0
- package/lib/models/translate-specialty-command.d.ts +44 -0
- package/lib/models/translate-specialty-command.d.ts.map +1 -0
- package/lib/models/translate-specialty-command.js +15 -0
- package/lib/models/translate-specialty-type-command.d.ts +44 -0
- package/lib/models/translate-specialty-type-command.d.ts.map +1 -0
- package/lib/models/translate-specialty-type-command.js +15 -0
- package/lib/models/translation-contents-model.d.ts +56 -0
- package/lib/models/translation-contents-model.d.ts.map +1 -0
- package/lib/models/translation-contents-model.js +15 -0
- package/lib/models/translation-contents-target-model.d.ts +43 -0
- package/lib/models/translation-contents-target-model.d.ts.map +1 -0
- package/lib/models/translation-contents-target-model.js +15 -0
- package/lib/models/translation-target-entities.d.ts +24 -0
- package/lib/models/translation-target-entities.d.ts.map +1 -0
- package/lib/models/translation-target-entities.js +27 -0
- package/package.json +1 -1
- package/src/.openapi-generator/FILES +8 -0
- package/src/api/dev-supports-api.ts +208 -0
- package/src/api/hospitals-api.ts +239 -0
- package/src/api/specialties-api.ts +100 -0
- package/src/api/specialty-types-api.ts +100 -0
- package/src/api.ts +1 -0
- package/src/models/index.ts +7 -0
- package/src/models/translate-doctor-affiliation-command.ts +6 -0
- package/src/models/translate-hospital-command.ts +6 -0
- package/src/models/translate-hospital-service-command.ts +51 -0
- package/src/models/translate-hospital-specialty-command.ts +51 -0
- package/src/models/translate-specialty-command.ts +51 -0
- package/src/models/translate-specialty-type-command.ts +51 -0
- package/src/models/translation-contents-model.ts +63 -0
- package/src/models/translation-contents-target-model.ts +48 -0
- package/src/models/translation-target-entities.ts +33 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"translation-contents-model.d.ts","sourceRoot":"","sources":["../../src/models/translation-contents-model.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAKH,OAAO,EAAE,8BAA8B,EAAE,MAAM,qCAAqC,CAAC;AAErF;;;;GAIG;AACH,MAAM,WAAW,wBAAwB;IACrC;;;;OAIG;IACH,cAAc,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC/B;;;;OAIG;IACH,OAAO,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACxB;;;;OAIG;IACH,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB;;;;OAIG;IACH,8BAA8B,CAAC,EAAE,MAAM,CAAC;IACxC;;;;OAIG;IACH,4BAA4B,CAAC,EAAE,MAAM,CAAC;IACtC;;;;OAIG;IACH,SAAS,CAAC,EAAE,KAAK,CAAC,8BAA8B,CAAC,GAAG,IAAI,CAAC;CAC5D"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Swagger UI - Cloud Hospital Admin Api-INT
|
|
6
|
+
* Cloud Hospital application with Swagger, Swashbuckle, and API versioning.
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1
|
|
9
|
+
* Contact: hyounoosung@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 });
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Swagger UI - Cloud Hospital Admin Api-INT
|
|
3
|
+
* Cloud Hospital application with Swagger, Swashbuckle, and API versioning.
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1
|
|
6
|
+
* Contact: hyounoosung@icloudhospital.com
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface TranslationContentsTargetModel
|
|
16
|
+
*/
|
|
17
|
+
export interface TranslationContentsTargetModel {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof TranslationContentsTargetModel
|
|
22
|
+
*/
|
|
23
|
+
'id'?: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof TranslationContentsTargetModel
|
|
28
|
+
*/
|
|
29
|
+
'targetEntity'?: string | null;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {boolean}
|
|
33
|
+
* @memberof TranslationContentsTargetModel
|
|
34
|
+
*/
|
|
35
|
+
'needToTranslate'?: boolean;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {number}
|
|
39
|
+
* @memberof TranslationContentsTargetModel
|
|
40
|
+
*/
|
|
41
|
+
'needToTranslateCount'?: number;
|
|
42
|
+
}
|
|
43
|
+
//# sourceMappingURL=translation-contents-target-model.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"translation-contents-target-model.d.ts","sourceRoot":"","sources":["../../src/models/translation-contents-target-model.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAIH;;;;GAIG;AACH,MAAM,WAAW,8BAA8B;IAC3C;;;;OAIG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;;;OAIG;IACH,cAAc,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC/B;;;;OAIG;IACH,iBAAiB,CAAC,EAAE,OAAO,CAAC;IAC5B;;;;OAIG;IACH,sBAAsB,CAAC,EAAE,MAAM,CAAC;CACnC"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Swagger UI - Cloud Hospital Admin Api-INT
|
|
6
|
+
* Cloud Hospital application with Swagger, Swashbuckle, and API versioning.
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1
|
|
9
|
+
* Contact: hyounoosung@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 });
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Swagger UI - Cloud Hospital Admin Api-INT
|
|
3
|
+
* Cloud Hospital application with Swagger, Swashbuckle, and API versioning.
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1
|
|
6
|
+
* Contact: hyounoosung@icloudhospital.com
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @enum {string}
|
|
16
|
+
*/
|
|
17
|
+
export declare const TranslationTargetEntities: {
|
|
18
|
+
readonly SpecialtyType: "SpecialtyType";
|
|
19
|
+
readonly Specialty: "Specialty";
|
|
20
|
+
readonly HospitalSpecialty: "HospitalSpecialty";
|
|
21
|
+
readonly HospitalService: "HospitalService";
|
|
22
|
+
};
|
|
23
|
+
export type TranslationTargetEntities = typeof TranslationTargetEntities[keyof typeof TranslationTargetEntities];
|
|
24
|
+
//# sourceMappingURL=translation-target-entities.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"translation-target-entities.d.ts","sourceRoot":"","sources":["../../src/models/translation-target-entities.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAIH;;;;GAIG;AAEH,eAAO,MAAM,yBAAyB;;;;;CAK5B,CAAC;AAEX,MAAM,MAAM,yBAAyB,GAAG,OAAO,yBAAyB,CAAC,MAAM,OAAO,yBAAyB,CAAC,CAAC"}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Swagger UI - Cloud Hospital Admin Api-INT
|
|
6
|
+
* Cloud Hospital application with Swagger, Swashbuckle, and API versioning.
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1
|
|
9
|
+
* Contact: hyounoosung@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.TranslationTargetEntities = void 0;
|
|
17
|
+
/**
|
|
18
|
+
*
|
|
19
|
+
* @export
|
|
20
|
+
* @enum {string}
|
|
21
|
+
*/
|
|
22
|
+
exports.TranslationTargetEntities = {
|
|
23
|
+
SpecialtyType: 'SpecialtyType',
|
|
24
|
+
Specialty: 'Specialty',
|
|
25
|
+
HospitalSpecialty: 'HospitalSpecialty',
|
|
26
|
+
HospitalService: 'HospitalService'
|
|
27
|
+
};
|
package/package.json
CHANGED
|
@@ -18,6 +18,7 @@ api/contributors-api.ts
|
|
|
18
18
|
api/countries-api.ts
|
|
19
19
|
api/dash-board-api.ts
|
|
20
20
|
api/deals-api.ts
|
|
21
|
+
api/dev-supports-api.ts
|
|
21
22
|
api/doctor-affiliations-api.ts
|
|
22
23
|
api/doctors-api.ts
|
|
23
24
|
api/email-marketings-api.ts
|
|
@@ -481,6 +482,13 @@ models/translate-all-options.ts
|
|
|
481
482
|
models/translate-command.ts
|
|
482
483
|
models/translate-doctor-affiliation-command.ts
|
|
483
484
|
models/translate-hospital-command.ts
|
|
485
|
+
models/translate-hospital-service-command.ts
|
|
486
|
+
models/translate-hospital-specialty-command.ts
|
|
487
|
+
models/translate-specialty-command.ts
|
|
488
|
+
models/translate-specialty-type-command.ts
|
|
489
|
+
models/translation-contents-model.ts
|
|
490
|
+
models/translation-contents-target-model.ts
|
|
491
|
+
models/translation-target-entities.ts
|
|
484
492
|
models/update-about-us-page-command.ts
|
|
485
493
|
models/update-account-command.ts
|
|
486
494
|
models/update-accreditation-command.ts
|
|
@@ -0,0 +1,208 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Swagger UI - Cloud Hospital Admin Api-INT
|
|
5
|
+
* Cloud Hospital application with Swagger, Swashbuckle, and API versioning.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1
|
|
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 { TranslationContentsModel } from '../models';
|
|
25
|
+
// @ts-ignore
|
|
26
|
+
import { TranslationTargetEntities } from '../models';
|
|
27
|
+
/**
|
|
28
|
+
* DevSupportsApi - axios parameter creator
|
|
29
|
+
* @export
|
|
30
|
+
*/
|
|
31
|
+
export const DevSupportsApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
32
|
+
return {
|
|
33
|
+
/**
|
|
34
|
+
*
|
|
35
|
+
* @summary Find missing translated content, translate all found contents
|
|
36
|
+
* @param {TranslationTargetEntities} targetEntity
|
|
37
|
+
* @param {string} basisLanguageCode
|
|
38
|
+
* @param {Array<string>} [translateToFields]
|
|
39
|
+
* @param {string} [id]
|
|
40
|
+
* @param {boolean} [isDryRun]
|
|
41
|
+
* @param {*} [options] Override http request option.
|
|
42
|
+
* @throws {RequiredError}
|
|
43
|
+
*/
|
|
44
|
+
apiV1DevsupportsTranslatePost: async (targetEntity: TranslationTargetEntities, basisLanguageCode: string, translateToFields?: Array<string>, id?: string, isDryRun?: boolean, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
45
|
+
// verify required parameter 'targetEntity' is not null or undefined
|
|
46
|
+
assertParamExists('apiV1DevsupportsTranslatePost', 'targetEntity', targetEntity)
|
|
47
|
+
// verify required parameter 'basisLanguageCode' is not null or undefined
|
|
48
|
+
assertParamExists('apiV1DevsupportsTranslatePost', 'basisLanguageCode', basisLanguageCode)
|
|
49
|
+
const localVarPath = `/api/v1/devsupports/translate`;
|
|
50
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
51
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
52
|
+
let baseOptions;
|
|
53
|
+
if (configuration) {
|
|
54
|
+
baseOptions = configuration.baseOptions;
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
58
|
+
const localVarHeaderParameter = {} as any;
|
|
59
|
+
const localVarQueryParameter = {} as any;
|
|
60
|
+
|
|
61
|
+
// authentication oauth2 required
|
|
62
|
+
// oauth required
|
|
63
|
+
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
|
|
64
|
+
|
|
65
|
+
if (targetEntity !== undefined) {
|
|
66
|
+
localVarQueryParameter['targetEntity'] = targetEntity;
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
if (basisLanguageCode !== undefined) {
|
|
70
|
+
localVarQueryParameter['basisLanguageCode'] = basisLanguageCode;
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
if (translateToFields) {
|
|
74
|
+
localVarQueryParameter['translateToFields'] = translateToFields;
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
if (id !== undefined) {
|
|
78
|
+
localVarQueryParameter['id'] = id;
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
if (isDryRun !== undefined) {
|
|
82
|
+
localVarQueryParameter['isDryRun'] = isDryRun;
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
|
|
86
|
+
|
|
87
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
88
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
89
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
90
|
+
|
|
91
|
+
return {
|
|
92
|
+
url: toPathString(localVarUrlObj),
|
|
93
|
+
options: localVarRequestOptions,
|
|
94
|
+
};
|
|
95
|
+
},
|
|
96
|
+
}
|
|
97
|
+
};
|
|
98
|
+
|
|
99
|
+
/**
|
|
100
|
+
* DevSupportsApi - functional programming interface
|
|
101
|
+
* @export
|
|
102
|
+
*/
|
|
103
|
+
export const DevSupportsApiFp = function(configuration?: Configuration) {
|
|
104
|
+
const localVarAxiosParamCreator = DevSupportsApiAxiosParamCreator(configuration)
|
|
105
|
+
return {
|
|
106
|
+
/**
|
|
107
|
+
*
|
|
108
|
+
* @summary Find missing translated content, translate all found contents
|
|
109
|
+
* @param {TranslationTargetEntities} targetEntity
|
|
110
|
+
* @param {string} basisLanguageCode
|
|
111
|
+
* @param {Array<string>} [translateToFields]
|
|
112
|
+
* @param {string} [id]
|
|
113
|
+
* @param {boolean} [isDryRun]
|
|
114
|
+
* @param {*} [options] Override http request option.
|
|
115
|
+
* @throws {RequiredError}
|
|
116
|
+
*/
|
|
117
|
+
async apiV1DevsupportsTranslatePost(targetEntity: TranslationTargetEntities, basisLanguageCode: string, translateToFields?: Array<string>, id?: string, isDryRun?: boolean, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<TranslationContentsModel>> {
|
|
118
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1DevsupportsTranslatePost(targetEntity, basisLanguageCode, translateToFields, id, isDryRun, options);
|
|
119
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
120
|
+
},
|
|
121
|
+
}
|
|
122
|
+
};
|
|
123
|
+
|
|
124
|
+
/**
|
|
125
|
+
* DevSupportsApi - factory interface
|
|
126
|
+
* @export
|
|
127
|
+
*/
|
|
128
|
+
export const DevSupportsApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
129
|
+
const localVarFp = DevSupportsApiFp(configuration)
|
|
130
|
+
return {
|
|
131
|
+
/**
|
|
132
|
+
*
|
|
133
|
+
* @summary Find missing translated content, translate all found contents
|
|
134
|
+
* @param {TranslationTargetEntities} targetEntity
|
|
135
|
+
* @param {string} basisLanguageCode
|
|
136
|
+
* @param {Array<string>} [translateToFields]
|
|
137
|
+
* @param {string} [id]
|
|
138
|
+
* @param {boolean} [isDryRun]
|
|
139
|
+
* @param {*} [options] Override http request option.
|
|
140
|
+
* @throws {RequiredError}
|
|
141
|
+
*/
|
|
142
|
+
apiV1DevsupportsTranslatePost(targetEntity: TranslationTargetEntities, basisLanguageCode: string, translateToFields?: Array<string>, id?: string, isDryRun?: boolean, options?: any): AxiosPromise<TranslationContentsModel> {
|
|
143
|
+
return localVarFp.apiV1DevsupportsTranslatePost(targetEntity, basisLanguageCode, translateToFields, id, isDryRun, options).then((request) => request(axios, basePath));
|
|
144
|
+
},
|
|
145
|
+
};
|
|
146
|
+
};
|
|
147
|
+
|
|
148
|
+
/**
|
|
149
|
+
* Request parameters for apiV1DevsupportsTranslatePost operation in DevSupportsApi.
|
|
150
|
+
* @export
|
|
151
|
+
* @interface DevSupportsApiApiV1DevsupportsTranslatePostRequest
|
|
152
|
+
*/
|
|
153
|
+
export interface DevSupportsApiApiV1DevsupportsTranslatePostRequest {
|
|
154
|
+
/**
|
|
155
|
+
*
|
|
156
|
+
* @type {TranslationTargetEntities}
|
|
157
|
+
* @memberof DevSupportsApiApiV1DevsupportsTranslatePost
|
|
158
|
+
*/
|
|
159
|
+
readonly targetEntity: TranslationTargetEntities
|
|
160
|
+
|
|
161
|
+
/**
|
|
162
|
+
*
|
|
163
|
+
* @type {string}
|
|
164
|
+
* @memberof DevSupportsApiApiV1DevsupportsTranslatePost
|
|
165
|
+
*/
|
|
166
|
+
readonly basisLanguageCode: string
|
|
167
|
+
|
|
168
|
+
/**
|
|
169
|
+
*
|
|
170
|
+
* @type {Array<string>}
|
|
171
|
+
* @memberof DevSupportsApiApiV1DevsupportsTranslatePost
|
|
172
|
+
*/
|
|
173
|
+
readonly translateToFields?: Array<string>
|
|
174
|
+
|
|
175
|
+
/**
|
|
176
|
+
*
|
|
177
|
+
* @type {string}
|
|
178
|
+
* @memberof DevSupportsApiApiV1DevsupportsTranslatePost
|
|
179
|
+
*/
|
|
180
|
+
readonly id?: string
|
|
181
|
+
|
|
182
|
+
/**
|
|
183
|
+
*
|
|
184
|
+
* @type {boolean}
|
|
185
|
+
* @memberof DevSupportsApiApiV1DevsupportsTranslatePost
|
|
186
|
+
*/
|
|
187
|
+
readonly isDryRun?: boolean
|
|
188
|
+
}
|
|
189
|
+
|
|
190
|
+
/**
|
|
191
|
+
* DevSupportsApi - object-oriented interface
|
|
192
|
+
* @export
|
|
193
|
+
* @class DevSupportsApi
|
|
194
|
+
* @extends {BaseAPI}
|
|
195
|
+
*/
|
|
196
|
+
export class DevSupportsApi extends BaseAPI {
|
|
197
|
+
/**
|
|
198
|
+
*
|
|
199
|
+
* @summary Find missing translated content, translate all found contents
|
|
200
|
+
* @param {DevSupportsApiApiV1DevsupportsTranslatePostRequest} requestParameters Request parameters.
|
|
201
|
+
* @param {*} [options] Override http request option.
|
|
202
|
+
* @throws {RequiredError}
|
|
203
|
+
* @memberof DevSupportsApi
|
|
204
|
+
*/
|
|
205
|
+
public apiV1DevsupportsTranslatePost(requestParameters: DevSupportsApiApiV1DevsupportsTranslatePostRequest, options?: AxiosRequestConfig) {
|
|
206
|
+
return DevSupportsApiFp(this.configuration).apiV1DevsupportsTranslatePost(requestParameters.targetEntity, requestParameters.basisLanguageCode, requestParameters.translateToFields, requestParameters.id, requestParameters.isDryRun, options).then((request) => request(this.axios, this.basePath));
|
|
207
|
+
}
|
|
208
|
+
}
|