ch-admin-api-client-typescript 5.5.3 → 5.5.5

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 (64) hide show
  1. package/lib/api/consultations-api.d.ts +12 -3
  2. package/lib/api/consultations-api.d.ts.map +1 -1
  3. package/lib/api/consultations-api.js +12 -6
  4. package/lib/api/dev-supports-api.d.ts +134 -0
  5. package/lib/api/dev-supports-api.d.ts.map +1 -0
  6. package/lib/api/dev-supports-api.js +250 -0
  7. package/lib/api/hospitals-api.d.ts +139 -0
  8. package/lib/api/hospitals-api.d.ts.map +1 -1
  9. package/lib/api/hospitals-api.js +198 -0
  10. package/lib/api/specialties-api.d.ts +56 -0
  11. package/lib/api/specialties-api.d.ts.map +1 -1
  12. package/lib/api/specialties-api.js +90 -0
  13. package/lib/api/specialty-types-api.d.ts +56 -0
  14. package/lib/api/specialty-types-api.d.ts.map +1 -1
  15. package/lib/api/specialty-types-api.js +90 -0
  16. package/lib/api.d.ts +1 -0
  17. package/lib/api.d.ts.map +1 -1
  18. package/lib/api.js +1 -0
  19. package/lib/models/index.d.ts +7 -0
  20. package/lib/models/index.d.ts.map +1 -1
  21. package/lib/models/index.js +7 -0
  22. package/lib/models/translate-doctor-affiliation-command.d.ts +6 -0
  23. package/lib/models/translate-doctor-affiliation-command.d.ts.map +1 -1
  24. package/lib/models/translate-hospital-command.d.ts +6 -0
  25. package/lib/models/translate-hospital-command.d.ts.map +1 -1
  26. package/lib/models/translate-hospital-service-command.d.ts +44 -0
  27. package/lib/models/translate-hospital-service-command.d.ts.map +1 -0
  28. package/lib/models/translate-hospital-service-command.js +15 -0
  29. package/lib/models/translate-hospital-specialty-command.d.ts +44 -0
  30. package/lib/models/translate-hospital-specialty-command.d.ts.map +1 -0
  31. package/lib/models/translate-hospital-specialty-command.js +15 -0
  32. package/lib/models/translate-specialty-command.d.ts +44 -0
  33. package/lib/models/translate-specialty-command.d.ts.map +1 -0
  34. package/lib/models/translate-specialty-command.js +15 -0
  35. package/lib/models/translate-specialty-type-command.d.ts +44 -0
  36. package/lib/models/translate-specialty-type-command.d.ts.map +1 -0
  37. package/lib/models/translate-specialty-type-command.js +15 -0
  38. package/lib/models/translation-contents-model.d.ts +50 -0
  39. package/lib/models/translation-contents-model.d.ts.map +1 -0
  40. package/lib/models/translation-contents-model.js +15 -0
  41. package/lib/models/translation-contents-target-model.d.ts +37 -0
  42. package/lib/models/translation-contents-target-model.d.ts.map +1 -0
  43. package/lib/models/translation-contents-target-model.js +15 -0
  44. package/lib/models/translation-target-entities.d.ts +24 -0
  45. package/lib/models/translation-target-entities.d.ts.map +1 -0
  46. package/lib/models/translation-target-entities.js +27 -0
  47. package/package.json +1 -1
  48. package/src/.openapi-generator/FILES +8 -0
  49. package/src/api/consultations-api.ts +20 -6
  50. package/src/api/dev-supports-api.ts +222 -0
  51. package/src/api/hospitals-api.ts +239 -0
  52. package/src/api/specialties-api.ts +100 -0
  53. package/src/api/specialty-types-api.ts +100 -0
  54. package/src/api.ts +1 -0
  55. package/src/models/index.ts +7 -0
  56. package/src/models/translate-doctor-affiliation-command.ts +6 -0
  57. package/src/models/translate-hospital-command.ts +6 -0
  58. package/src/models/translate-hospital-service-command.ts +51 -0
  59. package/src/models/translate-hospital-specialty-command.ts +51 -0
  60. package/src/models/translate-specialty-command.ts +51 -0
  61. package/src/models/translate-specialty-type-command.ts +51 -0
  62. package/src/models/translation-contents-model.ts +57 -0
  63. package/src/models/translation-contents-target-model.ts +42 -0
  64. package/src/models/translation-target-entities.ts +33 -0
@@ -53,11 +53,12 @@ export declare const ConsultationsApiAxiosParamCreator: (configuration?: Configu
53
53
  *
54
54
  * @summary Get consultation.
55
55
  * @param {string} consultationId
56
+ * @param {boolean} [isExternal]
56
57
  * @param {string} [languageCode]
57
58
  * @param {*} [options] Override http request option.
58
59
  * @throws {RequiredError}
59
60
  */
60
- apiV1ConsultationsConsultationIdGet: (consultationId: string, languageCode?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
61
+ apiV1ConsultationsConsultationIdGet: (consultationId: string, isExternal?: boolean, languageCode?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
61
62
  /**
62
63
  *
63
64
  * @summary Mark as Paid booking.
@@ -138,11 +139,12 @@ export declare const ConsultationsApiFp: (configuration?: Configuration) => {
138
139
  *
139
140
  * @summary Get consultation.
140
141
  * @param {string} consultationId
142
+ * @param {boolean} [isExternal]
141
143
  * @param {string} [languageCode]
142
144
  * @param {*} [options] Override http request option.
143
145
  * @throws {RequiredError}
144
146
  */
145
- apiV1ConsultationsConsultationIdGet(consultationId: string, languageCode?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ConsultationModel>>;
147
+ apiV1ConsultationsConsultationIdGet(consultationId: string, isExternal?: boolean, languageCode?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ConsultationModel>>;
146
148
  /**
147
149
  *
148
150
  * @summary Mark as Paid booking.
@@ -223,11 +225,12 @@ export declare const ConsultationsApiFactory: (configuration?: Configuration, ba
223
225
  *
224
226
  * @summary Get consultation.
225
227
  * @param {string} consultationId
228
+ * @param {boolean} [isExternal]
226
229
  * @param {string} [languageCode]
227
230
  * @param {*} [options] Override http request option.
228
231
  * @throws {RequiredError}
229
232
  */
230
- apiV1ConsultationsConsultationIdGet(consultationId: string, languageCode?: string, options?: any): AxiosPromise<ConsultationModel>;
233
+ apiV1ConsultationsConsultationIdGet(consultationId: string, isExternal?: boolean, languageCode?: string, options?: any): AxiosPromise<ConsultationModel>;
231
234
  /**
232
235
  *
233
236
  * @summary Mark as Paid booking.
@@ -331,6 +334,12 @@ export interface ConsultationsApiApiV1ConsultationsConsultationIdGetRequest {
331
334
  * @memberof ConsultationsApiApiV1ConsultationsConsultationIdGet
332
335
  */
333
336
  readonly consultationId: string;
337
+ /**
338
+ *
339
+ * @type {boolean}
340
+ * @memberof ConsultationsApiApiV1ConsultationsConsultationIdGet
341
+ */
342
+ readonly isExternal?: boolean;
334
343
  /**
335
344
  *
336
345
  * @type {string}
@@ -1 +1 @@
1
- {"version":3,"file":"consultations-api.d.ts","sourceRoot":"","sources":["../../src/api/consultations-api.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAoB,EAAE,YAAY,EAAE,aAAa,EAAE,kBAAkB,EAAE,MAAM,OAAO,CAAC;AACrF,OAAO,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AAKjD,OAAO,EAAiC,WAAW,EAAE,OAAO,EAAiB,MAAM,SAAS,CAAC;AAE7F,OAAO,EAAE,0BAA0B,EAAE,MAAM,WAAW,CAAC;AAEvD,OAAO,EAAE,iBAAiB,EAAE,MAAM,WAAW,CAAC;AAE9C,OAAO,EAAE,kBAAkB,EAAE,MAAM,WAAW,CAAC;AAE/C,OAAO,EAAE,gBAAgB,EAAE,MAAM,WAAW,CAAC;AAE7C,OAAO,EAAE,kBAAkB,EAAE,MAAM,WAAW,CAAC;AAI/C,OAAO,EAAE,yBAAyB,EAAE,MAAM,WAAW,CAAC;AAEtD,OAAO,EAAE,YAAY,EAAE,MAAM,WAAW,CAAC;AACzC;;;GAGG;AACH,eAAO,MAAM,iCAAiC,mBAA6B,aAAa;IAEhF;;;;;;;OAOG;iEACgE,MAAM,+BAA+B,0BAA0B,YAAW,kBAAkB,KAAQ,QAAQ,WAAW,CAAC;IAkC3L;;;;;;OAMG;gEAC+D,MAAM,YAAW,kBAAkB,KAAQ,QAAQ,WAAW,CAAC;IA+BjI;;;;;;OAMG;6DAC4D,MAAM,YAAW,kBAAkB,KAAQ,QAAQ,WAAW,CAAC;IA+B9H;;;;;;;OAOG;0DACyD,MAAM,iBAAiB,MAAM,YAAW,kBAAkB,KAAQ,QAAQ,WAAW,CAAC;IAmClJ;;;;;;OAMG;+DAC8D,MAAM,YAAW,kBAAkB,KAAQ,QAAQ,WAAW,CAAC;IA+BhI;;;;;;;OAOG;gEAC+D,MAAM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AIG;IACH,QAAQ,CAAC,YAAY,CAAC,EAAE,MAAM,CAAA;IAE9B;;;;OAIG;IACH,QAAQ,CAAC,UAAU,CAAC,EAAE,OAAO,CAAA;IAE7B;;;;OAIG;IACH,QAAQ,CAAC,IAAI,CAAC,EAAE,MAAM,CAAA;IAEtB;;;;OAIG;IACH,QAAQ,CAAC,KAAK,CAAC,EAAE,MAAM,CAAA;IAEvB;;;;OAIG;IACH,QAAQ,CAAC,aAAa,CAAC,EAAE,IAAI,CAAA;CAChC;AAED;;;;;GAKG;AACH,qBAAa,gBAAiB,SAAQ,OAAO;IACzC;;;;;;;OAOG;IACI,0CAA0C,CAAC,iBAAiB,EAAE,iEAAiE,EAAE,OAAO,CAAC,EAAE,kBAAkB;IAIpK;;;;;;;OAOG;IACI,yCAAyC,CAAC,iBAAiB,EAAE,gEAAgE,EAAE,OAAO,CAAC,EAAE,kBAAkB;IAIlK;;;;;;;OAOG;IACI,sCAAsC,CAAC,iBAAiB,EAAE,6DAA6D,EAAE,OAAO,CAAC,EAAE,kBAAkB;IAI5J;;;;;;;OAOG;IACI,mCAAmC,CAAC,iBAAiB,EAAE,0DAA0D,EAAE,OAAO,CAAC,EAAE,kBAAkB;IAItJ;;;;;;;OAOG;IACI,wCAAwC,CAAC,iBAAiB,EAAE,+DAA+D,EAAE,OAAO,CAAC,EAAE,kBAAkB;IAIhK;;;;;;;OAOG;IACI,yCAAyC,CAAC,iBAAiB,EAAE,gEAAgE,EAAE,OAAO,CAAC,EAAE,kBAAkB;IAIlK;;;;;;;OAOG;IACI,qBAAqB,CAAC,iBAAiB,GAAE,4CAAiD,EAAE,OAAO,CAAC,EAAE,kBAAkB;CAGlI"}
@@ -228,11 +228,12 @@ var ConsultationsApiAxiosParamCreator = function (configuration) {
228
228
  *
229
229
  * @summary Get consultation.
230
230
  * @param {string} consultationId
231
+ * @param {boolean} [isExternal]
231
232
  * @param {string} [languageCode]
232
233
  * @param {*} [options] Override http request option.
233
234
  * @throws {RequiredError}
234
235
  */
235
- apiV1ConsultationsConsultationIdGet: function (consultationId, languageCode, options) {
236
+ apiV1ConsultationsConsultationIdGet: function (consultationId, isExternal, languageCode, options) {
236
237
  if (options === void 0) { options = {}; }
237
238
  return __awaiter(_this, void 0, void 0, function () {
238
239
  var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
@@ -257,6 +258,9 @@ var ConsultationsApiAxiosParamCreator = function (configuration) {
257
258
  // authentication oauth2 required
258
259
  // oauth required
259
260
  _a.sent();
261
+ if (isExternal !== undefined) {
262
+ localVarQueryParameter['isExternal'] = isExternal;
263
+ }
260
264
  if (languageCode !== undefined) {
261
265
  localVarQueryParameter['languageCode'] = languageCode;
262
266
  }
@@ -560,16 +564,17 @@ var ConsultationsApiFp = function (configuration) {
560
564
  *
561
565
  * @summary Get consultation.
562
566
  * @param {string} consultationId
567
+ * @param {boolean} [isExternal]
563
568
  * @param {string} [languageCode]
564
569
  * @param {*} [options] Override http request option.
565
570
  * @throws {RequiredError}
566
571
  */
567
- apiV1ConsultationsConsultationIdGet: function (consultationId, languageCode, options) {
572
+ apiV1ConsultationsConsultationIdGet: function (consultationId, isExternal, languageCode, options) {
568
573
  return __awaiter(this, void 0, void 0, function () {
569
574
  var localVarAxiosArgs;
570
575
  return __generator(this, function (_a) {
571
576
  switch (_a.label) {
572
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1ConsultationsConsultationIdGet(consultationId, languageCode, options)];
577
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1ConsultationsConsultationIdGet(consultationId, isExternal, languageCode, options)];
573
578
  case 1:
574
579
  localVarAxiosArgs = _a.sent();
575
580
  return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
@@ -703,12 +708,13 @@ var ConsultationsApiFactory = function (configuration, basePath, axios) {
703
708
  *
704
709
  * @summary Get consultation.
705
710
  * @param {string} consultationId
711
+ * @param {boolean} [isExternal]
706
712
  * @param {string} [languageCode]
707
713
  * @param {*} [options] Override http request option.
708
714
  * @throws {RequiredError}
709
715
  */
710
- apiV1ConsultationsConsultationIdGet: function (consultationId, languageCode, options) {
711
- return localVarFp.apiV1ConsultationsConsultationIdGet(consultationId, languageCode, options).then(function (request) { return request(axios, basePath); });
716
+ apiV1ConsultationsConsultationIdGet: function (consultationId, isExternal, languageCode, options) {
717
+ return localVarFp.apiV1ConsultationsConsultationIdGet(consultationId, isExternal, languageCode, options).then(function (request) { return request(axios, basePath); });
712
718
  },
713
719
  /**
714
720
  *
@@ -821,7 +827,7 @@ var ConsultationsApi = /** @class */ (function (_super) {
821
827
  */
822
828
  ConsultationsApi.prototype.apiV1ConsultationsConsultationIdGet = function (requestParameters, options) {
823
829
  var _this = this;
824
- return (0, exports.ConsultationsApiFp)(this.configuration).apiV1ConsultationsConsultationIdGet(requestParameters.consultationId, requestParameters.languageCode, options).then(function (request) { return request(_this.axios, _this.basePath); });
830
+ return (0, exports.ConsultationsApiFp)(this.configuration).apiV1ConsultationsConsultationIdGet(requestParameters.consultationId, requestParameters.isExternal, requestParameters.languageCode, options).then(function (request) { return request(_this.axios, _this.basePath); });
825
831
  };
826
832
  /**
827
833
  *
@@ -0,0 +1,134 @@
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
+ import { AxiosPromise, AxiosInstance, AxiosRequestConfig } from 'axios';
13
+ import { Configuration } from '../configuration';
14
+ import { RequestArgs, BaseAPI } from '../base';
15
+ import { TranslationContentsModel } from '../models';
16
+ import { TranslationTargetEntities } from '../models';
17
+ /**
18
+ * DevSupportsApi - axios parameter creator
19
+ * @export
20
+ */
21
+ export declare const DevSupportsApiAxiosParamCreator: (configuration?: Configuration) => {
22
+ /**
23
+ *
24
+ * @summary Find missing translated content, translate all found contents
25
+ * @param {TranslationTargetEntities} targetEntity
26
+ * @param {string} basisLanguageCode
27
+ * @param {Array<string>} [translateToFields]
28
+ * @param {string} [id]
29
+ * @param {boolean} [includesAllEntries]
30
+ * @param {boolean} [isDryRun]
31
+ * @param {*} [options] Override http request option.
32
+ * @throws {RequiredError}
33
+ */
34
+ apiV1DevsupportsTranslatePost: (targetEntity: TranslationTargetEntities, basisLanguageCode: string, translateToFields?: Array<string>, id?: string, includesAllEntries?: boolean, isDryRun?: boolean, options?: AxiosRequestConfig) => Promise<RequestArgs>;
35
+ };
36
+ /**
37
+ * DevSupportsApi - functional programming interface
38
+ * @export
39
+ */
40
+ export declare const DevSupportsApiFp: (configuration?: Configuration) => {
41
+ /**
42
+ *
43
+ * @summary Find missing translated content, translate all found contents
44
+ * @param {TranslationTargetEntities} targetEntity
45
+ * @param {string} basisLanguageCode
46
+ * @param {Array<string>} [translateToFields]
47
+ * @param {string} [id]
48
+ * @param {boolean} [includesAllEntries]
49
+ * @param {boolean} [isDryRun]
50
+ * @param {*} [options] Override http request option.
51
+ * @throws {RequiredError}
52
+ */
53
+ apiV1DevsupportsTranslatePost(targetEntity: TranslationTargetEntities, basisLanguageCode: string, translateToFields?: Array<string>, id?: string, includesAllEntries?: boolean, isDryRun?: boolean, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<TranslationContentsModel>>;
54
+ };
55
+ /**
56
+ * DevSupportsApi - factory interface
57
+ * @export
58
+ */
59
+ export declare const DevSupportsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
60
+ /**
61
+ *
62
+ * @summary Find missing translated content, translate all found contents
63
+ * @param {TranslationTargetEntities} targetEntity
64
+ * @param {string} basisLanguageCode
65
+ * @param {Array<string>} [translateToFields]
66
+ * @param {string} [id]
67
+ * @param {boolean} [includesAllEntries]
68
+ * @param {boolean} [isDryRun]
69
+ * @param {*} [options] Override http request option.
70
+ * @throws {RequiredError}
71
+ */
72
+ apiV1DevsupportsTranslatePost(targetEntity: TranslationTargetEntities, basisLanguageCode: string, translateToFields?: Array<string>, id?: string, includesAllEntries?: boolean, isDryRun?: boolean, options?: any): AxiosPromise<TranslationContentsModel>;
73
+ };
74
+ /**
75
+ * Request parameters for apiV1DevsupportsTranslatePost operation in DevSupportsApi.
76
+ * @export
77
+ * @interface DevSupportsApiApiV1DevsupportsTranslatePostRequest
78
+ */
79
+ export interface DevSupportsApiApiV1DevsupportsTranslatePostRequest {
80
+ /**
81
+ *
82
+ * @type {TranslationTargetEntities}
83
+ * @memberof DevSupportsApiApiV1DevsupportsTranslatePost
84
+ */
85
+ readonly targetEntity: TranslationTargetEntities;
86
+ /**
87
+ *
88
+ * @type {string}
89
+ * @memberof DevSupportsApiApiV1DevsupportsTranslatePost
90
+ */
91
+ readonly basisLanguageCode: string;
92
+ /**
93
+ *
94
+ * @type {Array<string>}
95
+ * @memberof DevSupportsApiApiV1DevsupportsTranslatePost
96
+ */
97
+ readonly translateToFields?: Array<string>;
98
+ /**
99
+ *
100
+ * @type {string}
101
+ * @memberof DevSupportsApiApiV1DevsupportsTranslatePost
102
+ */
103
+ readonly id?: string;
104
+ /**
105
+ *
106
+ * @type {boolean}
107
+ * @memberof DevSupportsApiApiV1DevsupportsTranslatePost
108
+ */
109
+ readonly includesAllEntries?: boolean;
110
+ /**
111
+ *
112
+ * @type {boolean}
113
+ * @memberof DevSupportsApiApiV1DevsupportsTranslatePost
114
+ */
115
+ readonly isDryRun?: boolean;
116
+ }
117
+ /**
118
+ * DevSupportsApi - object-oriented interface
119
+ * @export
120
+ * @class DevSupportsApi
121
+ * @extends {BaseAPI}
122
+ */
123
+ export declare class DevSupportsApi extends BaseAPI {
124
+ /**
125
+ *
126
+ * @summary Find missing translated content, translate all found contents
127
+ * @param {DevSupportsApiApiV1DevsupportsTranslatePostRequest} requestParameters Request parameters.
128
+ * @param {*} [options] Override http request option.
129
+ * @throws {RequiredError}
130
+ * @memberof DevSupportsApi
131
+ */
132
+ apiV1DevsupportsTranslatePost(requestParameters: DevSupportsApiApiV1DevsupportsTranslatePostRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<TranslationContentsModel, any>>;
133
+ }
134
+ //# sourceMappingURL=dev-supports-api.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"dev-supports-api.d.ts","sourceRoot":"","sources":["../../src/api/dev-supports-api.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAoB,EAAE,YAAY,EAAE,aAAa,EAAE,kBAAkB,EAAE,MAAM,OAAO,CAAC;AACrF,OAAO,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AAKjD,OAAO,EAAiC,WAAW,EAAE,OAAO,EAAiB,MAAM,SAAS,CAAC;AAE7F,OAAO,EAAE,wBAAwB,EAAE,MAAM,WAAW,CAAC;AAErD,OAAO,EAAE,yBAAyB,EAAE,MAAM,WAAW,CAAC;AACtD;;;GAGG;AACH,eAAO,MAAM,+BAA+B,mBAA6B,aAAa;IAE9E;;;;;;;;;;;OAWG;kDACiD,yBAAyB,qBAAqB,MAAM,sBAAsB,MAAM,MAAM,CAAC,OAAO,MAAM,uBAAuB,OAAO,aAAa,OAAO,YAAW,kBAAkB,KAAQ,QAAQ,WAAW,CAAC;CAyD1Q,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,gBAAgB,mBAA4B,aAAa;IAG9D;;;;;;;;;;;OAWG;gDAC+C,yBAAyB,qBAAqB,MAAM,sBAAsB,MAAM,MAAM,CAAC,OAAO,MAAM,uBAAuB,OAAO,aAAa,OAAO,YAAY,kBAAkB,oBAAoB,aAAa,aAAa,MAAM,KAAK,aAAa,wBAAwB,CAAC;CAK5U,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,qBAAqB,mBAA6B,aAAa,aAAa,MAAM,UAAU,aAAa;IAG9G;;;;;;;;;;;OAWG;gDACyC,yBAAyB,qBAAqB,MAAM,sBAAsB,MAAM,MAAM,CAAC,OAAO,MAAM,uBAAuB,OAAO,aAAa,OAAO,YAAY,GAAG,GAAG,aAAa,wBAAwB,CAAC;CAIjQ,CAAC;AAEF;;;;GAIG;AACH,MAAM,WAAW,kDAAkD;IAC/D;;;;OAIG;IACH,QAAQ,CAAC,YAAY,EAAE,yBAAyB,CAAA;IAEhD;;;;OAIG;IACH,QAAQ,CAAC,iBAAiB,EAAE,MAAM,CAAA;IAElC;;;;OAIG;IACH,QAAQ,CAAC,iBAAiB,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,CAAA;IAE1C;;;;OAIG;IACH,QAAQ,CAAC,EAAE,CAAC,EAAE,MAAM,CAAA;IAEpB;;;;OAIG;IACH,QAAQ,CAAC,kBAAkB,CAAC,EAAE,OAAO,CAAA;IAErC;;;;OAIG;IACH,QAAQ,CAAC,QAAQ,CAAC,EAAE,OAAO,CAAA;CAC9B;AAED;;;;;GAKG;AACH,qBAAa,cAAe,SAAQ,OAAO;IACvC;;;;;;;OAOG;IACI,6BAA6B,CAAC,iBAAiB,EAAE,kDAAkD,EAAE,OAAO,CAAC,EAAE,kBAAkB;CAG3I"}
@@ -0,0 +1,250 @@
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
+ var __extends = (this && this.__extends) || (function () {
16
+ var extendStatics = function (d, b) {
17
+ extendStatics = Object.setPrototypeOf ||
18
+ ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
19
+ function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
20
+ return extendStatics(d, b);
21
+ };
22
+ return function (d, b) {
23
+ if (typeof b !== "function" && b !== null)
24
+ throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
25
+ extendStatics(d, b);
26
+ function __() { this.constructor = d; }
27
+ d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
28
+ };
29
+ })();
30
+ var __assign = (this && this.__assign) || function () {
31
+ __assign = Object.assign || function(t) {
32
+ for (var s, i = 1, n = arguments.length; i < n; i++) {
33
+ s = arguments[i];
34
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
35
+ t[p] = s[p];
36
+ }
37
+ return t;
38
+ };
39
+ return __assign.apply(this, arguments);
40
+ };
41
+ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
42
+ function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
43
+ return new (P || (P = Promise))(function (resolve, reject) {
44
+ function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
45
+ function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
46
+ function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
47
+ step((generator = generator.apply(thisArg, _arguments || [])).next());
48
+ });
49
+ };
50
+ var __generator = (this && this.__generator) || function (thisArg, body) {
51
+ var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
52
+ return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
53
+ function verb(n) { return function (v) { return step([n, v]); }; }
54
+ function step(op) {
55
+ if (f) throw new TypeError("Generator is already executing.");
56
+ while (g && (g = 0, op[0] && (_ = 0)), _) try {
57
+ if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
58
+ if (y = 0, t) op = [op[0] & 2, t.value];
59
+ switch (op[0]) {
60
+ case 0: case 1: t = op; break;
61
+ case 4: _.label++; return { value: op[1], done: false };
62
+ case 5: _.label++; y = op[1]; op = [0]; continue;
63
+ case 7: op = _.ops.pop(); _.trys.pop(); continue;
64
+ default:
65
+ if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }
66
+ if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }
67
+ if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }
68
+ if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }
69
+ if (t[2]) _.ops.pop();
70
+ _.trys.pop(); continue;
71
+ }
72
+ op = body.call(thisArg, _);
73
+ } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }
74
+ if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
75
+ }
76
+ };
77
+ var __importDefault = (this && this.__importDefault) || function (mod) {
78
+ return (mod && mod.__esModule) ? mod : { "default": mod };
79
+ };
80
+ Object.defineProperty(exports, "__esModule", { value: true });
81
+ exports.DevSupportsApi = exports.DevSupportsApiFactory = exports.DevSupportsApiFp = exports.DevSupportsApiAxiosParamCreator = void 0;
82
+ var axios_1 = __importDefault(require("axios"));
83
+ // Some imports not used depending on template conditions
84
+ // @ts-ignore
85
+ var common_1 = require("../common");
86
+ // @ts-ignore
87
+ var base_1 = require("../base");
88
+ /**
89
+ * DevSupportsApi - axios parameter creator
90
+ * @export
91
+ */
92
+ var DevSupportsApiAxiosParamCreator = function (configuration) {
93
+ var _this = this;
94
+ return {
95
+ /**
96
+ *
97
+ * @summary Find missing translated content, translate all found contents
98
+ * @param {TranslationTargetEntities} targetEntity
99
+ * @param {string} basisLanguageCode
100
+ * @param {Array<string>} [translateToFields]
101
+ * @param {string} [id]
102
+ * @param {boolean} [includesAllEntries]
103
+ * @param {boolean} [isDryRun]
104
+ * @param {*} [options] Override http request option.
105
+ * @throws {RequiredError}
106
+ */
107
+ apiV1DevsupportsTranslatePost: function (targetEntity, basisLanguageCode, translateToFields, id, includesAllEntries, isDryRun, options) {
108
+ if (options === void 0) { options = {}; }
109
+ return __awaiter(_this, void 0, void 0, function () {
110
+ var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
111
+ return __generator(this, function (_a) {
112
+ switch (_a.label) {
113
+ case 0:
114
+ // verify required parameter 'targetEntity' is not null or undefined
115
+ (0, common_1.assertParamExists)('apiV1DevsupportsTranslatePost', 'targetEntity', targetEntity);
116
+ // verify required parameter 'basisLanguageCode' is not null or undefined
117
+ (0, common_1.assertParamExists)('apiV1DevsupportsTranslatePost', 'basisLanguageCode', basisLanguageCode);
118
+ localVarPath = "/api/v1/devsupports/translate";
119
+ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
120
+ if (configuration) {
121
+ baseOptions = configuration.baseOptions;
122
+ }
123
+ localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options);
124
+ localVarHeaderParameter = {};
125
+ localVarQueryParameter = {};
126
+ // authentication oauth2 required
127
+ // oauth required
128
+ return [4 /*yield*/, (0, common_1.setOAuthToObject)(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)];
129
+ case 1:
130
+ // authentication oauth2 required
131
+ // oauth required
132
+ _a.sent();
133
+ if (targetEntity !== undefined) {
134
+ localVarQueryParameter['targetEntity'] = targetEntity;
135
+ }
136
+ if (basisLanguageCode !== undefined) {
137
+ localVarQueryParameter['basisLanguageCode'] = basisLanguageCode;
138
+ }
139
+ if (translateToFields) {
140
+ localVarQueryParameter['translateToFields'] = translateToFields;
141
+ }
142
+ if (id !== undefined) {
143
+ localVarQueryParameter['id'] = id;
144
+ }
145
+ if (includesAllEntries !== undefined) {
146
+ localVarQueryParameter['includesAllEntries'] = includesAllEntries;
147
+ }
148
+ if (isDryRun !== undefined) {
149
+ localVarQueryParameter['isDryRun'] = isDryRun;
150
+ }
151
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
152
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
153
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
154
+ return [2 /*return*/, {
155
+ url: (0, common_1.toPathString)(localVarUrlObj),
156
+ options: localVarRequestOptions,
157
+ }];
158
+ }
159
+ });
160
+ });
161
+ },
162
+ };
163
+ };
164
+ exports.DevSupportsApiAxiosParamCreator = DevSupportsApiAxiosParamCreator;
165
+ /**
166
+ * DevSupportsApi - functional programming interface
167
+ * @export
168
+ */
169
+ var DevSupportsApiFp = function (configuration) {
170
+ var localVarAxiosParamCreator = (0, exports.DevSupportsApiAxiosParamCreator)(configuration);
171
+ return {
172
+ /**
173
+ *
174
+ * @summary Find missing translated content, translate all found contents
175
+ * @param {TranslationTargetEntities} targetEntity
176
+ * @param {string} basisLanguageCode
177
+ * @param {Array<string>} [translateToFields]
178
+ * @param {string} [id]
179
+ * @param {boolean} [includesAllEntries]
180
+ * @param {boolean} [isDryRun]
181
+ * @param {*} [options] Override http request option.
182
+ * @throws {RequiredError}
183
+ */
184
+ apiV1DevsupportsTranslatePost: function (targetEntity, basisLanguageCode, translateToFields, id, includesAllEntries, isDryRun, options) {
185
+ return __awaiter(this, void 0, void 0, function () {
186
+ var localVarAxiosArgs;
187
+ return __generator(this, function (_a) {
188
+ switch (_a.label) {
189
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1DevsupportsTranslatePost(targetEntity, basisLanguageCode, translateToFields, id, includesAllEntries, isDryRun, options)];
190
+ case 1:
191
+ localVarAxiosArgs = _a.sent();
192
+ return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
193
+ }
194
+ });
195
+ });
196
+ },
197
+ };
198
+ };
199
+ exports.DevSupportsApiFp = DevSupportsApiFp;
200
+ /**
201
+ * DevSupportsApi - factory interface
202
+ * @export
203
+ */
204
+ var DevSupportsApiFactory = function (configuration, basePath, axios) {
205
+ var localVarFp = (0, exports.DevSupportsApiFp)(configuration);
206
+ return {
207
+ /**
208
+ *
209
+ * @summary Find missing translated content, translate all found contents
210
+ * @param {TranslationTargetEntities} targetEntity
211
+ * @param {string} basisLanguageCode
212
+ * @param {Array<string>} [translateToFields]
213
+ * @param {string} [id]
214
+ * @param {boolean} [includesAllEntries]
215
+ * @param {boolean} [isDryRun]
216
+ * @param {*} [options] Override http request option.
217
+ * @throws {RequiredError}
218
+ */
219
+ apiV1DevsupportsTranslatePost: function (targetEntity, basisLanguageCode, translateToFields, id, includesAllEntries, isDryRun, options) {
220
+ return localVarFp.apiV1DevsupportsTranslatePost(targetEntity, basisLanguageCode, translateToFields, id, includesAllEntries, isDryRun, options).then(function (request) { return request(axios, basePath); });
221
+ },
222
+ };
223
+ };
224
+ exports.DevSupportsApiFactory = DevSupportsApiFactory;
225
+ /**
226
+ * DevSupportsApi - object-oriented interface
227
+ * @export
228
+ * @class DevSupportsApi
229
+ * @extends {BaseAPI}
230
+ */
231
+ var DevSupportsApi = /** @class */ (function (_super) {
232
+ __extends(DevSupportsApi, _super);
233
+ function DevSupportsApi() {
234
+ return _super !== null && _super.apply(this, arguments) || this;
235
+ }
236
+ /**
237
+ *
238
+ * @summary Find missing translated content, translate all found contents
239
+ * @param {DevSupportsApiApiV1DevsupportsTranslatePostRequest} requestParameters Request parameters.
240
+ * @param {*} [options] Override http request option.
241
+ * @throws {RequiredError}
242
+ * @memberof DevSupportsApi
243
+ */
244
+ DevSupportsApi.prototype.apiV1DevsupportsTranslatePost = function (requestParameters, options) {
245
+ var _this = this;
246
+ return (0, exports.DevSupportsApiFp)(this.configuration).apiV1DevsupportsTranslatePost(requestParameters.targetEntity, requestParameters.basisLanguageCode, requestParameters.translateToFields, requestParameters.id, requestParameters.includesAllEntries, requestParameters.isDryRun, options).then(function (request) { return request(_this.axios, _this.basePath); });
247
+ };
248
+ return DevSupportsApi;
249
+ }(base_1.BaseAPI));
250
+ exports.DevSupportsApi = DevSupportsApi;