ch-admin-api-client-typescript 5.82.1 → 5.82.9

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.
@@ -101,6 +101,281 @@ var base_1 = require("../base");
101
101
  var LanguagesApiAxiosParamCreator = function (configuration) {
102
102
  var _this = this;
103
103
  return {
104
+ /**
105
+ *
106
+ * @summary Disconnect language and country. (Auth policies: RequireManagerRole)
107
+ * @param {string} code
108
+ * @param {string} countryId
109
+ * @param {*} [options] Override http request option.
110
+ * @throws {RequiredError}
111
+ */
112
+ apiV1LanguagesCodeCountriesCountryIdDelete: function (code_1, countryId_1) {
113
+ var args_1 = [];
114
+ for (var _i = 2; _i < arguments.length; _i++) {
115
+ args_1[_i - 2] = arguments[_i];
116
+ }
117
+ return __awaiter(_this, __spreadArray([code_1, countryId_1], args_1, true), void 0, function (code, countryId, options) {
118
+ var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
119
+ if (options === void 0) { options = {}; }
120
+ return __generator(this, function (_a) {
121
+ switch (_a.label) {
122
+ case 0:
123
+ // verify required parameter 'code' is not null or undefined
124
+ (0, common_1.assertParamExists)('apiV1LanguagesCodeCountriesCountryIdDelete', 'code', code);
125
+ // verify required parameter 'countryId' is not null or undefined
126
+ (0, common_1.assertParamExists)('apiV1LanguagesCodeCountriesCountryIdDelete', 'countryId', countryId);
127
+ localVarPath = "/api/v1/languages/{code}/countries/{countryId}"
128
+ .replace("{".concat("code", "}"), encodeURIComponent(String(code)))
129
+ .replace("{".concat("countryId", "}"), encodeURIComponent(String(countryId)));
130
+ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
131
+ if (configuration) {
132
+ baseOptions = configuration.baseOptions;
133
+ }
134
+ localVarRequestOptions = __assign(__assign({ method: 'DELETE' }, baseOptions), options);
135
+ localVarHeaderParameter = {};
136
+ localVarQueryParameter = {};
137
+ // authentication oauth2 required
138
+ // oauth required
139
+ return [4 /*yield*/, (0, common_1.setOAuthToObject)(localVarHeaderParameter, "oauth2", ["cloudhospital_admin_api"], configuration)];
140
+ case 1:
141
+ // authentication oauth2 required
142
+ // oauth required
143
+ _a.sent();
144
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
145
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
146
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
147
+ return [2 /*return*/, {
148
+ url: (0, common_1.toPathString)(localVarUrlObj),
149
+ options: localVarRequestOptions,
150
+ }];
151
+ }
152
+ });
153
+ });
154
+ },
155
+ /**
156
+ *
157
+ * @summary Get languageCountry (Auth policies: RequireManagerRole)
158
+ * @param {string} code
159
+ * @param {string} countryId
160
+ * @param {string} [languageCode] LanguageCode for selecting translation value
161
+ * @param {*} [options] Override http request option.
162
+ * @throws {RequiredError}
163
+ */
164
+ apiV1LanguagesCodeCountriesCountryIdGet: function (code_1, countryId_1, languageCode_1) {
165
+ var args_1 = [];
166
+ for (var _i = 3; _i < arguments.length; _i++) {
167
+ args_1[_i - 3] = arguments[_i];
168
+ }
169
+ return __awaiter(_this, __spreadArray([code_1, countryId_1, languageCode_1], args_1, true), void 0, function (code, countryId, languageCode, options) {
170
+ var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
171
+ if (options === void 0) { options = {}; }
172
+ return __generator(this, function (_a) {
173
+ switch (_a.label) {
174
+ case 0:
175
+ // verify required parameter 'code' is not null or undefined
176
+ (0, common_1.assertParamExists)('apiV1LanguagesCodeCountriesCountryIdGet', 'code', code);
177
+ // verify required parameter 'countryId' is not null or undefined
178
+ (0, common_1.assertParamExists)('apiV1LanguagesCodeCountriesCountryIdGet', 'countryId', countryId);
179
+ localVarPath = "/api/v1/languages/{code}/countries/{countryId}"
180
+ .replace("{".concat("code", "}"), encodeURIComponent(String(code)))
181
+ .replace("{".concat("countryId", "}"), encodeURIComponent(String(countryId)));
182
+ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
183
+ if (configuration) {
184
+ baseOptions = configuration.baseOptions;
185
+ }
186
+ localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
187
+ localVarHeaderParameter = {};
188
+ localVarQueryParameter = {};
189
+ // authentication oauth2 required
190
+ // oauth required
191
+ return [4 /*yield*/, (0, common_1.setOAuthToObject)(localVarHeaderParameter, "oauth2", ["cloudhospital_admin_api"], configuration)];
192
+ case 1:
193
+ // authentication oauth2 required
194
+ // oauth required
195
+ _a.sent();
196
+ if (languageCode !== undefined) {
197
+ localVarQueryParameter['languageCode'] = languageCode;
198
+ }
199
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
200
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
201
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
202
+ return [2 /*return*/, {
203
+ url: (0, common_1.toPathString)(localVarUrlObj),
204
+ options: localVarRequestOptions,
205
+ }];
206
+ }
207
+ });
208
+ });
209
+ },
210
+ /**
211
+ *
212
+ * @summary Connects languages ​​and countries. (Auth policies: RequireManagerRole)
213
+ * @param {string} code
214
+ * @param {string} countryId
215
+ * @param {SaveCountryLanguageCommand} [saveCountryLanguageCommand]
216
+ * @param {*} [options] Override http request option.
217
+ * @throws {RequiredError}
218
+ */
219
+ apiV1LanguagesCodeCountriesCountryIdPost: function (code_1, countryId_1, saveCountryLanguageCommand_1) {
220
+ var args_1 = [];
221
+ for (var _i = 3; _i < arguments.length; _i++) {
222
+ args_1[_i - 3] = arguments[_i];
223
+ }
224
+ return __awaiter(_this, __spreadArray([code_1, countryId_1, saveCountryLanguageCommand_1], args_1, true), void 0, function (code, countryId, saveCountryLanguageCommand, options) {
225
+ var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
226
+ if (options === void 0) { options = {}; }
227
+ return __generator(this, function (_a) {
228
+ switch (_a.label) {
229
+ case 0:
230
+ // verify required parameter 'code' is not null or undefined
231
+ (0, common_1.assertParamExists)('apiV1LanguagesCodeCountriesCountryIdPost', 'code', code);
232
+ // verify required parameter 'countryId' is not null or undefined
233
+ (0, common_1.assertParamExists)('apiV1LanguagesCodeCountriesCountryIdPost', 'countryId', countryId);
234
+ localVarPath = "/api/v1/languages/{code}/countries/{countryId}"
235
+ .replace("{".concat("code", "}"), encodeURIComponent(String(code)))
236
+ .replace("{".concat("countryId", "}"), encodeURIComponent(String(countryId)));
237
+ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
238
+ if (configuration) {
239
+ baseOptions = configuration.baseOptions;
240
+ }
241
+ localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options);
242
+ localVarHeaderParameter = {};
243
+ localVarQueryParameter = {};
244
+ // authentication oauth2 required
245
+ // oauth required
246
+ return [4 /*yield*/, (0, common_1.setOAuthToObject)(localVarHeaderParameter, "oauth2", ["cloudhospital_admin_api"], configuration)];
247
+ case 1:
248
+ // authentication oauth2 required
249
+ // oauth required
250
+ _a.sent();
251
+ localVarHeaderParameter['Content-Type'] = 'application/json';
252
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
253
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
254
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
255
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(saveCountryLanguageCommand, localVarRequestOptions, configuration);
256
+ return [2 /*return*/, {
257
+ url: (0, common_1.toPathString)(localVarUrlObj),
258
+ options: localVarRequestOptions,
259
+ }];
260
+ }
261
+ });
262
+ });
263
+ },
264
+ /**
265
+ *
266
+ * @summary Get language-countries (Auth policies: RequireManagerRole)
267
+ * @param {string} code
268
+ * @param {string} [languageCode]
269
+ * @param {number} [page]
270
+ * @param {number} [limit]
271
+ * @param {Date} [lastRetrieved]
272
+ * @param {*} [options] Override http request option.
273
+ * @throws {RequiredError}
274
+ */
275
+ apiV1LanguagesCodeCountriesGet: function (code_1, languageCode_1, page_1, limit_1, lastRetrieved_1) {
276
+ var args_1 = [];
277
+ for (var _i = 5; _i < arguments.length; _i++) {
278
+ args_1[_i - 5] = arguments[_i];
279
+ }
280
+ return __awaiter(_this, __spreadArray([code_1, languageCode_1, page_1, limit_1, lastRetrieved_1], args_1, true), void 0, function (code, languageCode, page, limit, lastRetrieved, options) {
281
+ var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
282
+ if (options === void 0) { options = {}; }
283
+ return __generator(this, function (_a) {
284
+ switch (_a.label) {
285
+ case 0:
286
+ // verify required parameter 'code' is not null or undefined
287
+ (0, common_1.assertParamExists)('apiV1LanguagesCodeCountriesGet', 'code', code);
288
+ localVarPath = "/api/v1/languages/{code}/countries"
289
+ .replace("{".concat("code", "}"), encodeURIComponent(String(code)));
290
+ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
291
+ if (configuration) {
292
+ baseOptions = configuration.baseOptions;
293
+ }
294
+ localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
295
+ localVarHeaderParameter = {};
296
+ localVarQueryParameter = {};
297
+ // authentication oauth2 required
298
+ // oauth required
299
+ return [4 /*yield*/, (0, common_1.setOAuthToObject)(localVarHeaderParameter, "oauth2", ["cloudhospital_admin_api"], configuration)];
300
+ case 1:
301
+ // authentication oauth2 required
302
+ // oauth required
303
+ _a.sent();
304
+ if (languageCode !== undefined) {
305
+ localVarQueryParameter['languageCode'] = languageCode;
306
+ }
307
+ if (page !== undefined) {
308
+ localVarQueryParameter['page'] = page;
309
+ }
310
+ if (limit !== undefined) {
311
+ localVarQueryParameter['limit'] = limit;
312
+ }
313
+ if (lastRetrieved !== undefined) {
314
+ localVarQueryParameter['lastRetrieved'] = (lastRetrieved instanceof Date) ?
315
+ lastRetrieved.toISOString() :
316
+ lastRetrieved;
317
+ }
318
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
319
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
320
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
321
+ return [2 /*return*/, {
322
+ url: (0, common_1.toPathString)(localVarUrlObj),
323
+ options: localVarRequestOptions,
324
+ }];
325
+ }
326
+ });
327
+ });
328
+ },
329
+ /**
330
+ *
331
+ * @summary Batch for languages-country sorting (Auth policies: RequireManagerRole)
332
+ * @param {string} code
333
+ * @param {SortCountryLanguagesCommand} [sortCountryLanguagesCommand]
334
+ * @param {*} [options] Override http request option.
335
+ * @throws {RequiredError}
336
+ */
337
+ apiV1LanguagesCodeCountriesSortPut: function (code_1, sortCountryLanguagesCommand_1) {
338
+ var args_1 = [];
339
+ for (var _i = 2; _i < arguments.length; _i++) {
340
+ args_1[_i - 2] = arguments[_i];
341
+ }
342
+ return __awaiter(_this, __spreadArray([code_1, sortCountryLanguagesCommand_1], args_1, true), void 0, function (code, sortCountryLanguagesCommand, options) {
343
+ var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
344
+ if (options === void 0) { options = {}; }
345
+ return __generator(this, function (_a) {
346
+ switch (_a.label) {
347
+ case 0:
348
+ // verify required parameter 'code' is not null or undefined
349
+ (0, common_1.assertParamExists)('apiV1LanguagesCodeCountriesSortPut', 'code', code);
350
+ localVarPath = "/api/v1/languages/{code}/countries/sort"
351
+ .replace("{".concat("code", "}"), encodeURIComponent(String(code)));
352
+ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
353
+ if (configuration) {
354
+ baseOptions = configuration.baseOptions;
355
+ }
356
+ localVarRequestOptions = __assign(__assign({ method: 'PUT' }, baseOptions), options);
357
+ localVarHeaderParameter = {};
358
+ localVarQueryParameter = {};
359
+ // authentication oauth2 required
360
+ // oauth required
361
+ return [4 /*yield*/, (0, common_1.setOAuthToObject)(localVarHeaderParameter, "oauth2", ["cloudhospital_admin_api"], configuration)];
362
+ case 1:
363
+ // authentication oauth2 required
364
+ // oauth required
365
+ _a.sent();
366
+ localVarHeaderParameter['Content-Type'] = 'application/json';
367
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
368
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
369
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
370
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(sortCountryLanguagesCommand, localVarRequestOptions, configuration);
371
+ return [2 /*return*/, {
372
+ url: (0, common_1.toPathString)(localVarUrlObj),
373
+ options: localVarRequestOptions,
374
+ }];
375
+ }
376
+ });
377
+ });
378
+ },
104
379
  /**
105
380
  *
106
381
  * @summary Delete language (Auth policies: RequireManagerRole)
@@ -374,6 +649,116 @@ exports.LanguagesApiAxiosParamCreator = LanguagesApiAxiosParamCreator;
374
649
  var LanguagesApiFp = function (configuration) {
375
650
  var localVarAxiosParamCreator = (0, exports.LanguagesApiAxiosParamCreator)(configuration);
376
651
  return {
652
+ /**
653
+ *
654
+ * @summary Disconnect language and country. (Auth policies: RequireManagerRole)
655
+ * @param {string} code
656
+ * @param {string} countryId
657
+ * @param {*} [options] Override http request option.
658
+ * @throws {RequiredError}
659
+ */
660
+ apiV1LanguagesCodeCountriesCountryIdDelete: function (code, countryId, options) {
661
+ return __awaiter(this, void 0, void 0, function () {
662
+ var localVarAxiosArgs;
663
+ return __generator(this, function (_a) {
664
+ switch (_a.label) {
665
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1LanguagesCodeCountriesCountryIdDelete(code, countryId, options)];
666
+ case 1:
667
+ localVarAxiosArgs = _a.sent();
668
+ return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
669
+ }
670
+ });
671
+ });
672
+ },
673
+ /**
674
+ *
675
+ * @summary Get languageCountry (Auth policies: RequireManagerRole)
676
+ * @param {string} code
677
+ * @param {string} countryId
678
+ * @param {string} [languageCode] LanguageCode for selecting translation value
679
+ * @param {*} [options] Override http request option.
680
+ * @throws {RequiredError}
681
+ */
682
+ apiV1LanguagesCodeCountriesCountryIdGet: function (code, countryId, languageCode, options) {
683
+ return __awaiter(this, void 0, void 0, function () {
684
+ var localVarAxiosArgs;
685
+ return __generator(this, function (_a) {
686
+ switch (_a.label) {
687
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1LanguagesCodeCountriesCountryIdGet(code, countryId, languageCode, options)];
688
+ case 1:
689
+ localVarAxiosArgs = _a.sent();
690
+ return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
691
+ }
692
+ });
693
+ });
694
+ },
695
+ /**
696
+ *
697
+ * @summary Connects languages ​​and countries. (Auth policies: RequireManagerRole)
698
+ * @param {string} code
699
+ * @param {string} countryId
700
+ * @param {SaveCountryLanguageCommand} [saveCountryLanguageCommand]
701
+ * @param {*} [options] Override http request option.
702
+ * @throws {RequiredError}
703
+ */
704
+ apiV1LanguagesCodeCountriesCountryIdPost: function (code, countryId, saveCountryLanguageCommand, options) {
705
+ return __awaiter(this, void 0, void 0, function () {
706
+ var localVarAxiosArgs;
707
+ return __generator(this, function (_a) {
708
+ switch (_a.label) {
709
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1LanguagesCodeCountriesCountryIdPost(code, countryId, saveCountryLanguageCommand, options)];
710
+ case 1:
711
+ localVarAxiosArgs = _a.sent();
712
+ return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
713
+ }
714
+ });
715
+ });
716
+ },
717
+ /**
718
+ *
719
+ * @summary Get language-countries (Auth policies: RequireManagerRole)
720
+ * @param {string} code
721
+ * @param {string} [languageCode]
722
+ * @param {number} [page]
723
+ * @param {number} [limit]
724
+ * @param {Date} [lastRetrieved]
725
+ * @param {*} [options] Override http request option.
726
+ * @throws {RequiredError}
727
+ */
728
+ apiV1LanguagesCodeCountriesGet: function (code, languageCode, page, limit, lastRetrieved, options) {
729
+ return __awaiter(this, void 0, void 0, function () {
730
+ var localVarAxiosArgs;
731
+ return __generator(this, function (_a) {
732
+ switch (_a.label) {
733
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1LanguagesCodeCountriesGet(code, languageCode, page, limit, lastRetrieved, options)];
734
+ case 1:
735
+ localVarAxiosArgs = _a.sent();
736
+ return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
737
+ }
738
+ });
739
+ });
740
+ },
741
+ /**
742
+ *
743
+ * @summary Batch for languages-country sorting (Auth policies: RequireManagerRole)
744
+ * @param {string} code
745
+ * @param {SortCountryLanguagesCommand} [sortCountryLanguagesCommand]
746
+ * @param {*} [options] Override http request option.
747
+ * @throws {RequiredError}
748
+ */
749
+ apiV1LanguagesCodeCountriesSortPut: function (code, sortCountryLanguagesCommand, options) {
750
+ return __awaiter(this, void 0, void 0, function () {
751
+ var localVarAxiosArgs;
752
+ return __generator(this, function (_a) {
753
+ switch (_a.label) {
754
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1LanguagesCodeCountriesSortPut(code, sortCountryLanguagesCommand, options)];
755
+ case 1:
756
+ localVarAxiosArgs = _a.sent();
757
+ return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
758
+ }
759
+ });
760
+ });
761
+ },
377
762
  /**
378
763
  *
379
764
  * @summary Delete language (Auth policies: RequireManagerRole)
@@ -491,6 +876,66 @@ exports.LanguagesApiFp = LanguagesApiFp;
491
876
  var LanguagesApiFactory = function (configuration, basePath, axios) {
492
877
  var localVarFp = (0, exports.LanguagesApiFp)(configuration);
493
878
  return {
879
+ /**
880
+ *
881
+ * @summary Disconnect language and country. (Auth policies: RequireManagerRole)
882
+ * @param {string} code
883
+ * @param {string} countryId
884
+ * @param {*} [options] Override http request option.
885
+ * @throws {RequiredError}
886
+ */
887
+ apiV1LanguagesCodeCountriesCountryIdDelete: function (code, countryId, options) {
888
+ return localVarFp.apiV1LanguagesCodeCountriesCountryIdDelete(code, countryId, options).then(function (request) { return request(axios, basePath); });
889
+ },
890
+ /**
891
+ *
892
+ * @summary Get languageCountry (Auth policies: RequireManagerRole)
893
+ * @param {string} code
894
+ * @param {string} countryId
895
+ * @param {string} [languageCode] LanguageCode for selecting translation value
896
+ * @param {*} [options] Override http request option.
897
+ * @throws {RequiredError}
898
+ */
899
+ apiV1LanguagesCodeCountriesCountryIdGet: function (code, countryId, languageCode, options) {
900
+ return localVarFp.apiV1LanguagesCodeCountriesCountryIdGet(code, countryId, languageCode, options).then(function (request) { return request(axios, basePath); });
901
+ },
902
+ /**
903
+ *
904
+ * @summary Connects languages ​​and countries. (Auth policies: RequireManagerRole)
905
+ * @param {string} code
906
+ * @param {string} countryId
907
+ * @param {SaveCountryLanguageCommand} [saveCountryLanguageCommand]
908
+ * @param {*} [options] Override http request option.
909
+ * @throws {RequiredError}
910
+ */
911
+ apiV1LanguagesCodeCountriesCountryIdPost: function (code, countryId, saveCountryLanguageCommand, options) {
912
+ return localVarFp.apiV1LanguagesCodeCountriesCountryIdPost(code, countryId, saveCountryLanguageCommand, options).then(function (request) { return request(axios, basePath); });
913
+ },
914
+ /**
915
+ *
916
+ * @summary Get language-countries (Auth policies: RequireManagerRole)
917
+ * @param {string} code
918
+ * @param {string} [languageCode]
919
+ * @param {number} [page]
920
+ * @param {number} [limit]
921
+ * @param {Date} [lastRetrieved]
922
+ * @param {*} [options] Override http request option.
923
+ * @throws {RequiredError}
924
+ */
925
+ apiV1LanguagesCodeCountriesGet: function (code, languageCode, page, limit, lastRetrieved, options) {
926
+ return localVarFp.apiV1LanguagesCodeCountriesGet(code, languageCode, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
927
+ },
928
+ /**
929
+ *
930
+ * @summary Batch for languages-country sorting (Auth policies: RequireManagerRole)
931
+ * @param {string} code
932
+ * @param {SortCountryLanguagesCommand} [sortCountryLanguagesCommand]
933
+ * @param {*} [options] Override http request option.
934
+ * @throws {RequiredError}
935
+ */
936
+ apiV1LanguagesCodeCountriesSortPut: function (code, sortCountryLanguagesCommand, options) {
937
+ return localVarFp.apiV1LanguagesCodeCountriesSortPut(code, sortCountryLanguagesCommand, options).then(function (request) { return request(axios, basePath); });
938
+ },
494
939
  /**
495
940
  *
496
941
  * @summary Delete language (Auth policies: RequireManagerRole)
@@ -562,6 +1007,66 @@ var LanguagesApi = /** @class */ (function (_super) {
562
1007
  function LanguagesApi() {
563
1008
  return _super !== null && _super.apply(this, arguments) || this;
564
1009
  }
1010
+ /**
1011
+ *
1012
+ * @summary Disconnect language and country. (Auth policies: RequireManagerRole)
1013
+ * @param {LanguagesApiApiV1LanguagesCodeCountriesCountryIdDeleteRequest} requestParameters Request parameters.
1014
+ * @param {*} [options] Override http request option.
1015
+ * @throws {RequiredError}
1016
+ * @memberof LanguagesApi
1017
+ */
1018
+ LanguagesApi.prototype.apiV1LanguagesCodeCountriesCountryIdDelete = function (requestParameters, options) {
1019
+ var _this = this;
1020
+ return (0, exports.LanguagesApiFp)(this.configuration).apiV1LanguagesCodeCountriesCountryIdDelete(requestParameters.code, requestParameters.countryId, options).then(function (request) { return request(_this.axios, _this.basePath); });
1021
+ };
1022
+ /**
1023
+ *
1024
+ * @summary Get languageCountry (Auth policies: RequireManagerRole)
1025
+ * @param {LanguagesApiApiV1LanguagesCodeCountriesCountryIdGetRequest} requestParameters Request parameters.
1026
+ * @param {*} [options] Override http request option.
1027
+ * @throws {RequiredError}
1028
+ * @memberof LanguagesApi
1029
+ */
1030
+ LanguagesApi.prototype.apiV1LanguagesCodeCountriesCountryIdGet = function (requestParameters, options) {
1031
+ var _this = this;
1032
+ return (0, exports.LanguagesApiFp)(this.configuration).apiV1LanguagesCodeCountriesCountryIdGet(requestParameters.code, requestParameters.countryId, requestParameters.languageCode, options).then(function (request) { return request(_this.axios, _this.basePath); });
1033
+ };
1034
+ /**
1035
+ *
1036
+ * @summary Connects languages ​​and countries. (Auth policies: RequireManagerRole)
1037
+ * @param {LanguagesApiApiV1LanguagesCodeCountriesCountryIdPostRequest} requestParameters Request parameters.
1038
+ * @param {*} [options] Override http request option.
1039
+ * @throws {RequiredError}
1040
+ * @memberof LanguagesApi
1041
+ */
1042
+ LanguagesApi.prototype.apiV1LanguagesCodeCountriesCountryIdPost = function (requestParameters, options) {
1043
+ var _this = this;
1044
+ return (0, exports.LanguagesApiFp)(this.configuration).apiV1LanguagesCodeCountriesCountryIdPost(requestParameters.code, requestParameters.countryId, requestParameters.saveCountryLanguageCommand, options).then(function (request) { return request(_this.axios, _this.basePath); });
1045
+ };
1046
+ /**
1047
+ *
1048
+ * @summary Get language-countries (Auth policies: RequireManagerRole)
1049
+ * @param {LanguagesApiApiV1LanguagesCodeCountriesGetRequest} requestParameters Request parameters.
1050
+ * @param {*} [options] Override http request option.
1051
+ * @throws {RequiredError}
1052
+ * @memberof LanguagesApi
1053
+ */
1054
+ LanguagesApi.prototype.apiV1LanguagesCodeCountriesGet = function (requestParameters, options) {
1055
+ var _this = this;
1056
+ return (0, exports.LanguagesApiFp)(this.configuration).apiV1LanguagesCodeCountriesGet(requestParameters.code, requestParameters.languageCode, requestParameters.page, requestParameters.limit, requestParameters.lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
1057
+ };
1058
+ /**
1059
+ *
1060
+ * @summary Batch for languages-country sorting (Auth policies: RequireManagerRole)
1061
+ * @param {LanguagesApiApiV1LanguagesCodeCountriesSortPutRequest} requestParameters Request parameters.
1062
+ * @param {*} [options] Override http request option.
1063
+ * @throws {RequiredError}
1064
+ * @memberof LanguagesApi
1065
+ */
1066
+ LanguagesApi.prototype.apiV1LanguagesCodeCountriesSortPut = function (requestParameters, options) {
1067
+ var _this = this;
1068
+ return (0, exports.LanguagesApiFp)(this.configuration).apiV1LanguagesCodeCountriesSortPut(requestParameters.code, requestParameters.sortCountryLanguagesCommand, options).then(function (request) { return request(_this.axios, _this.basePath); });
1069
+ };
565
1070
  /**
566
1071
  *
567
1072
  * @summary Delete language (Auth policies: RequireManagerRole)
@@ -15,6 +15,12 @@
15
15
  * @interface CountryLanguageItemModel
16
16
  */
17
17
  export interface CountryLanguageItemModel {
18
+ /**
19
+ *
20
+ * @type {string}
21
+ * @memberof CountryLanguageItemModel
22
+ */
23
+ 'id'?: string;
18
24
  /**
19
25
  *
20
26
  * @type {string}
@@ -45,5 +51,11 @@ export interface CountryLanguageItemModel {
45
51
  * @memberof CountryLanguageItemModel
46
52
  */
47
53
  'languageLocalizedName'?: string | null;
54
+ /**
55
+ *
56
+ * @type {string}
57
+ * @memberof CountryLanguageItemModel
58
+ */
59
+ 'countryName'?: string | null;
48
60
  }
49
61
  //# sourceMappingURL=country-language-item-model.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"country-language-item-model.d.ts","sourceRoot":"","sources":["../../src/models/country-language-item-model.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAIH;;;;GAIG;AACH,MAAM,WAAW,wBAAwB;IACrC;;;;OAIG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB;;;;OAIG;IACH,cAAc,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC/B;;;;OAIG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB;;;;OAIG;IACH,cAAc,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC/B;;;;OAIG;IACH,uBAAuB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;CAC3C"}
1
+ {"version":3,"file":"country-language-item-model.d.ts","sourceRoot":"","sources":["../../src/models/country-language-item-model.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAIH;;;;GAIG;AACH,MAAM,WAAW,wBAAwB;IACrC;;;;OAIG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;;;OAIG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB;;;;OAIG;IACH,cAAc,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC/B;;;;OAIG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB;;;;OAIG;IACH,cAAc,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC/B;;;;OAIG;IACH,uBAAuB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACxC;;;;OAIG;IACH,aAAa,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;CACjC"}
@@ -15,6 +15,12 @@
15
15
  * @interface CountryLanguageModel
16
16
  */
17
17
  export interface CountryLanguageModel {
18
+ /**
19
+ *
20
+ * @type {string}
21
+ * @memberof CountryLanguageModel
22
+ */
23
+ 'id'?: string;
18
24
  /**
19
25
  *
20
26
  * @type {string}
@@ -45,5 +51,11 @@ export interface CountryLanguageModel {
45
51
  * @memberof CountryLanguageModel
46
52
  */
47
53
  'languageLocalizedName'?: string | null;
54
+ /**
55
+ *
56
+ * @type {string}
57
+ * @memberof CountryLanguageModel
58
+ */
59
+ 'countryName'?: string | null;
48
60
  }
49
61
  //# sourceMappingURL=country-language-model.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"country-language-model.d.ts","sourceRoot":"","sources":["../../src/models/country-language-model.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAIH;;;;GAIG;AACH,MAAM,WAAW,oBAAoB;IACjC;;;;OAIG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB;;;;OAIG;IACH,cAAc,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC/B;;;;OAIG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB;;;;OAIG;IACH,cAAc,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC/B;;;;OAIG;IACH,uBAAuB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;CAC3C"}
1
+ {"version":3,"file":"country-language-model.d.ts","sourceRoot":"","sources":["../../src/models/country-language-model.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAIH;;;;GAIG;AACH,MAAM,WAAW,oBAAoB;IACjC;;;;OAIG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;;;OAIG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB;;;;OAIG;IACH,cAAc,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC/B;;;;OAIG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB;;;;OAIG;IACH,cAAc,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC/B;;;;OAIG;IACH,uBAAuB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACxC;;;;OAIG;IACH,aAAa,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;CACjC"}
@@ -0,0 +1,23 @@
1
+ /**
2
+ * CloudHospital Admin Api
3
+ * CloudHospital application with Swagger, Swashbuckle, and API versioning.
4
+ *
5
+ * The version of the OpenAPI document: 1
6
+ * Contact: developer@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 HeaderNavigationDynamicSubItemDetailType: {
18
+ readonly AllItems: "AllItems";
19
+ readonly Top16Items: "Top16Items";
20
+ readonly Top36Items: "Top36Items";
21
+ };
22
+ export type HeaderNavigationDynamicSubItemDetailType = typeof HeaderNavigationDynamicSubItemDetailType[keyof typeof HeaderNavigationDynamicSubItemDetailType];
23
+ //# sourceMappingURL=header-navigation-dynamic-sub-item-detail-type.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"header-navigation-dynamic-sub-item-detail-type.d.ts","sourceRoot":"","sources":["../../src/models/header-navigation-dynamic-sub-item-detail-type.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAIH;;;;GAIG;AAEH,eAAO,MAAM,wCAAwC;;;;CAI3C,CAAC;AAEX,MAAM,MAAM,wCAAwC,GAAG,OAAO,wCAAwC,CAAC,MAAM,OAAO,wCAAwC,CAAC,CAAC"}
@@ -0,0 +1,26 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * CloudHospital Admin Api
6
+ * CloudHospital application with Swagger, Swashbuckle, and API versioning.
7
+ *
8
+ * The version of the OpenAPI document: 1
9
+ * Contact: developer@icloudhospital.com
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.HeaderNavigationDynamicSubItemDetailType = void 0;
17
+ /**
18
+ *
19
+ * @export
20
+ * @enum {string}
21
+ */
22
+ exports.HeaderNavigationDynamicSubItemDetailType = {
23
+ AllItems: 'AllItems',
24
+ Top16Items: 'Top16Items',
25
+ Top36Items: 'Top36Items'
26
+ };