ch-admin-api-client-typescript 5.88.21 → 5.88.31
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/about-us-api.d.ts +56 -0
- package/lib/api/about-us-api.d.ts.map +1 -1
- package/lib/api/about-us-api.js +94 -0
- package/lib/api/article-categories-api.d.ts +56 -0
- package/lib/api/article-categories-api.d.ts.map +1 -1
- package/lib/api/article-categories-api.js +94 -0
- package/lib/api/articles-api.d.ts +56 -0
- package/lib/api/articles-api.d.ts.map +1 -1
- package/lib/api/articles-api.js +94 -0
- package/lib/api/badge-categories-api.d.ts +384 -0
- package/lib/api/badge-categories-api.d.ts.map +1 -0
- package/lib/api/badge-categories-api.js +718 -0
- package/lib/api/badges-api.d.ts +557 -0
- package/lib/api/badges-api.d.ts.map +1 -0
- package/lib/api/badges-api.js +950 -0
- package/lib/api/contributors-api.d.ts +60 -4
- package/lib/api/contributors-api.d.ts.map +1 -1
- package/lib/api/contributors-api.js +98 -4
- package/lib/api/countries-api.d.ts +68 -12
- package/lib/api/countries-api.d.ts.map +1 -1
- package/lib/api/countries-api.js +106 -12
- package/lib/api/deals-api.d.ts +56 -0
- package/lib/api/deals-api.d.ts.map +1 -1
- package/lib/api/deals-api.js +94 -0
- package/lib/api/doctor-affiliations-api.d.ts +56 -0
- package/lib/api/doctor-affiliations-api.d.ts.map +1 -1
- package/lib/api/doctor-affiliations-api.js +94 -0
- package/lib/api/faq-categories-api.d.ts +56 -0
- package/lib/api/faq-categories-api.d.ts.map +1 -1
- package/lib/api/faq-categories-api.js +94 -0
- package/lib/api/faqs-api.d.ts +56 -0
- package/lib/api/faqs-api.d.ts.map +1 -1
- package/lib/api/faqs-api.js +94 -0
- package/lib/api/general-articles-api.d.ts +56 -0
- package/lib/api/general-articles-api.d.ts.map +1 -1
- package/lib/api/general-articles-api.js +94 -0
- package/lib/api/hospital-branches-api.d.ts +56 -0
- package/lib/api/hospital-branches-api.d.ts.map +1 -1
- package/lib/api/hospital-branches-api.js +94 -0
- package/lib/api/hospital-groups-api.d.ts +56 -0
- package/lib/api/hospital-groups-api.d.ts.map +1 -1
- package/lib/api/hospital-groups-api.js +94 -0
- package/lib/api/hospitals-api.d.ts +325 -0
- package/lib/api/hospitals-api.d.ts.map +1 -1
- package/lib/api/hospitals-api.js +500 -0
- package/lib/api/platform-interpretation-languages-api.d.ts +375 -0
- package/lib/api/platform-interpretation-languages-api.d.ts.map +1 -0
- package/lib/api/platform-interpretation-languages-api.js +712 -0
- package/lib/api/service-reviews-api.d.ts +56 -0
- package/lib/api/service-reviews-api.d.ts.map +1 -1
- package/lib/api/service-reviews-api.js +94 -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 +94 -0
- package/lib/api/specialty-types-api.d.ts +60 -4
- package/lib/api/specialty-types-api.d.ts.map +1 -1
- package/lib/api/specialty-types-api.js +98 -4
- package/lib/api.d.ts +3 -0
- package/lib/api.d.ts.map +1 -1
- package/lib/api.js +3 -0
- package/lib/models/about-us-page-item-model.d.ts +6 -0
- package/lib/models/about-us-page-item-model.d.ts.map +1 -1
- package/lib/models/about-us-page-model.d.ts +6 -6
- package/lib/models/about-us-page-model.d.ts.map +1 -1
- package/lib/models/badge-categories-model.d.ts +33 -0
- package/lib/models/badge-categories-model.d.ts.map +1 -0
- package/lib/models/badge-categories-model.js +15 -0
- package/lib/models/badge-category-item-model.d.ts +44 -0
- package/lib/models/badge-category-item-model.d.ts.map +1 -0
- package/lib/models/badge-category-item-model.js +15 -0
- package/lib/models/badge-category-model.d.ts +44 -0
- package/lib/models/badge-category-model.d.ts.map +1 -0
- package/lib/models/badge-category-model.js +15 -0
- package/lib/models/badge-item-model.d.ts +110 -0
- package/lib/models/badge-item-model.d.ts.map +1 -0
- package/lib/models/badge-item-model.js +15 -0
- package/lib/models/badge-model.d.ts +123 -0
- package/lib/models/badge-model.d.ts.map +1 -0
- package/lib/models/badge-model.js +15 -0
- package/lib/models/badges-model.d.ts +33 -0
- package/lib/models/badges-model.d.ts.map +1 -0
- package/lib/models/badges-model.js +15 -0
- package/lib/models/country-simple-item-model.d.ts +6 -0
- package/lib/models/country-simple-item-model.d.ts.map +1 -1
- package/lib/models/create-badge-category-command.d.ts +31 -0
- package/lib/models/create-badge-category-command.d.ts.map +1 -0
- package/lib/models/create-badge-category-command.js +15 -0
- package/lib/models/create-badge-command.d.ts +115 -0
- package/lib/models/create-badge-command.d.ts.map +1 -0
- package/lib/models/create-badge-command.js +15 -0
- package/lib/models/create-platform-interpretation-language-command.d.ts +37 -0
- package/lib/models/create-platform-interpretation-language-command.d.ts.map +1 -0
- package/lib/models/create-platform-interpretation-language-command.js +15 -0
- package/lib/models/index.d.ts +35 -0
- package/lib/models/index.d.ts.map +1 -1
- package/lib/models/index.js +35 -0
- package/lib/models/patch-article-command.d.ts +0 -6
- package/lib/models/patch-article-command.d.ts.map +1 -1
- package/lib/models/patch-deal-command.d.ts +0 -6
- package/lib/models/patch-deal-command.d.ts.map +1 -1
- package/lib/models/patch-doctor-affiliation-command.d.ts +0 -6
- package/lib/models/patch-doctor-affiliation-command.d.ts.map +1 -1
- package/lib/models/patch-general-article-command.d.ts +0 -6
- package/lib/models/patch-general-article-command.d.ts.map +1 -1
- package/lib/models/patch-hospital-command.d.ts +0 -6
- package/lib/models/patch-hospital-command.d.ts.map +1 -1
- package/lib/models/patch-hospital-specialty-command.d.ts +0 -6
- package/lib/models/patch-hospital-specialty-command.d.ts.map +1 -1
- package/lib/models/patch-specialty-command.d.ts +0 -6
- package/lib/models/patch-specialty-command.d.ts.map +1 -1
- package/lib/models/patch-specialty-type-command.d.ts +0 -6
- package/lib/models/patch-specialty-type-command.d.ts.map +1 -1
- package/lib/models/platform-interpretation-language-item-model.d.ts +56 -0
- package/lib/models/platform-interpretation-language-item-model.d.ts.map +1 -0
- package/lib/models/platform-interpretation-language-item-model.js +15 -0
- package/lib/models/platform-interpretation-language-model.d.ts +56 -0
- package/lib/models/platform-interpretation-language-model.d.ts.map +1 -0
- package/lib/models/platform-interpretation-language-model.js +15 -0
- package/lib/models/platform-interpretation-languages-model.d.ts +33 -0
- package/lib/models/platform-interpretation-languages-model.d.ts.map +1 -0
- package/lib/models/platform-interpretation-languages-model.js +15 -0
- package/lib/models/survey-form-element-input-model.d.ts +6 -0
- package/lib/models/survey-form-element-input-model.d.ts.map +1 -1
- package/lib/models/survey-form-element-model.d.ts +6 -0
- package/lib/models/survey-form-element-model.d.ts.map +1 -1
- package/lib/models/survey-result-element-model.d.ts +6 -0
- package/lib/models/survey-result-element-model.d.ts.map +1 -1
- package/lib/models/update-about-us-page-command.d.ts +0 -6
- package/lib/models/update-about-us-page-command.d.ts.map +1 -1
- package/lib/models/update-about-us-page-slug-command.d.ts +31 -0
- package/lib/models/update-about-us-page-slug-command.d.ts.map +1 -0
- package/lib/models/update-about-us-page-slug-command.js +15 -0
- package/lib/models/update-article-category-command.d.ts +0 -6
- package/lib/models/update-article-category-command.d.ts.map +1 -1
- package/lib/models/update-article-category-slug-command.d.ts +31 -0
- package/lib/models/update-article-category-slug-command.d.ts.map +1 -0
- package/lib/models/update-article-category-slug-command.js +15 -0
- package/lib/models/update-article-command.d.ts +0 -6
- package/lib/models/update-article-command.d.ts.map +1 -1
- package/lib/models/update-article-slug-command.d.ts +31 -0
- package/lib/models/update-article-slug-command.d.ts.map +1 -0
- package/lib/models/update-article-slug-command.js +15 -0
- package/lib/models/update-badge-category-command.d.ts +31 -0
- package/lib/models/update-badge-category-command.d.ts.map +1 -0
- package/lib/models/update-badge-category-command.js +15 -0
- package/lib/models/update-badge-command.d.ts +121 -0
- package/lib/models/update-badge-command.d.ts.map +1 -0
- package/lib/models/update-badge-command.js +15 -0
- package/lib/models/update-contributor-command.d.ts +0 -6
- package/lib/models/update-contributor-command.d.ts.map +1 -1
- package/lib/models/update-contributor-slug-command.d.ts +31 -0
- package/lib/models/update-contributor-slug-command.d.ts.map +1 -0
- package/lib/models/update-contributor-slug-command.js +15 -0
- package/lib/models/update-country-command.d.ts +0 -6
- package/lib/models/update-country-command.d.ts.map +1 -1
- package/lib/models/update-country-slug-command.d.ts +31 -0
- package/lib/models/update-country-slug-command.d.ts.map +1 -0
- package/lib/models/update-country-slug-command.js +15 -0
- package/lib/models/update-deal-command.d.ts +0 -6
- package/lib/models/update-deal-command.d.ts.map +1 -1
- package/lib/models/update-deal-slug-command.d.ts +31 -0
- package/lib/models/update-deal-slug-command.d.ts.map +1 -0
- package/lib/models/update-deal-slug-command.js +15 -0
- package/lib/models/update-doctor-affiliation-command.d.ts +0 -6
- package/lib/models/update-doctor-affiliation-command.d.ts.map +1 -1
- package/lib/models/update-doctor-affiliation-slug-command.d.ts +31 -0
- package/lib/models/update-doctor-affiliation-slug-command.d.ts.map +1 -0
- package/lib/models/update-doctor-affiliation-slug-command.js +15 -0
- package/lib/models/update-faq-category-command.d.ts +0 -6
- package/lib/models/update-faq-category-command.d.ts.map +1 -1
- package/lib/models/update-faq-category-slug-command.d.ts +31 -0
- package/lib/models/update-faq-category-slug-command.d.ts.map +1 -0
- package/lib/models/update-faq-category-slug-command.js +15 -0
- package/lib/models/update-faq-command.d.ts +0 -6
- package/lib/models/update-faq-command.d.ts.map +1 -1
- package/lib/models/update-faq-slug-command.d.ts +31 -0
- package/lib/models/update-faq-slug-command.d.ts.map +1 -0
- package/lib/models/update-faq-slug-command.js +15 -0
- package/lib/models/update-general-article-command.d.ts +0 -6
- package/lib/models/update-general-article-command.d.ts.map +1 -1
- package/lib/models/update-general-article-slug-command.d.ts +31 -0
- package/lib/models/update-general-article-slug-command.d.ts.map +1 -0
- package/lib/models/update-general-article-slug-command.js +15 -0
- package/lib/models/update-hospital-branch-slug-command.d.ts +31 -0
- package/lib/models/update-hospital-branch-slug-command.d.ts.map +1 -0
- package/lib/models/update-hospital-branch-slug-command.js +15 -0
- package/lib/models/update-hospital-command.d.ts +0 -6
- package/lib/models/update-hospital-command.d.ts.map +1 -1
- package/lib/models/update-hospital-group-slug-command.d.ts +31 -0
- package/lib/models/update-hospital-group-slug-command.d.ts.map +1 -0
- package/lib/models/update-hospital-group-slug-command.js +15 -0
- package/lib/models/update-hospital-service-command.d.ts +0 -6
- package/lib/models/update-hospital-service-command.d.ts.map +1 -1
- package/lib/models/update-hospital-service-slug-command.d.ts +31 -0
- package/lib/models/update-hospital-service-slug-command.d.ts.map +1 -0
- package/lib/models/update-hospital-service-slug-command.js +15 -0
- package/lib/models/update-hospital-slug-command.d.ts +31 -0
- package/lib/models/update-hospital-slug-command.d.ts.map +1 -0
- package/lib/models/update-hospital-slug-command.js +15 -0
- package/lib/models/update-hospital-specialty-command.d.ts +0 -6
- package/lib/models/update-hospital-specialty-command.d.ts.map +1 -1
- package/lib/models/update-hospital-specialty-slug-command.d.ts +31 -0
- package/lib/models/update-hospital-specialty-slug-command.d.ts.map +1 -0
- package/lib/models/update-hospital-specialty-slug-command.js +15 -0
- package/lib/models/update-landing-command.d.ts +0 -6
- package/lib/models/update-landing-command.d.ts.map +1 -1
- package/lib/models/update-landing-slug-command.d.ts +37 -0
- package/lib/models/update-landing-slug-command.d.ts.map +1 -0
- package/lib/models/update-landing-slug-command.js +15 -0
- package/lib/models/update-platform-interpretation-language-command.d.ts +31 -0
- package/lib/models/update-platform-interpretation-language-command.d.ts.map +1 -0
- package/lib/models/update-platform-interpretation-language-command.js +15 -0
- package/lib/models/update-policy-command.d.ts +0 -6
- package/lib/models/update-policy-command.d.ts.map +1 -1
- package/lib/models/update-policy-slug-command.d.ts +37 -0
- package/lib/models/update-policy-slug-command.d.ts.map +1 -0
- package/lib/models/update-policy-slug-command.js +15 -0
- package/lib/models/update-service-review-command.d.ts +0 -6
- package/lib/models/update-service-review-command.d.ts.map +1 -1
- package/lib/models/update-service-review-slug-command.d.ts +31 -0
- package/lib/models/update-service-review-slug-command.d.ts.map +1 -0
- package/lib/models/update-service-review-slug-command.js +15 -0
- package/lib/models/update-specialty-command.d.ts +0 -6
- package/lib/models/update-specialty-command.d.ts.map +1 -1
- package/lib/models/update-specialty-slug-command.d.ts +31 -0
- package/lib/models/update-specialty-slug-command.d.ts.map +1 -0
- package/lib/models/update-specialty-slug-command.js +15 -0
- package/lib/models/update-specialty-type-command.d.ts +0 -6
- package/lib/models/update-specialty-type-command.d.ts.map +1 -1
- package/lib/models/update-specialty-type-slug-command.d.ts +31 -0
- package/lib/models/update-specialty-type-slug-command.d.ts.map +1 -0
- package/lib/models/update-specialty-type-slug-command.js +15 -0
- package/package.json +1 -1
|
@@ -0,0 +1,712 @@
|
|
|
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
|
+
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 = Object.create((typeof Iterator === "function" ? Iterator : Object).prototype);
|
|
52
|
+
return g.next = verb(0), g["throw"] = verb(1), g["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 __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {
|
|
78
|
+
if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {
|
|
79
|
+
if (ar || !(i in from)) {
|
|
80
|
+
if (!ar) ar = Array.prototype.slice.call(from, 0, i);
|
|
81
|
+
ar[i] = from[i];
|
|
82
|
+
}
|
|
83
|
+
}
|
|
84
|
+
return to.concat(ar || Array.prototype.slice.call(from));
|
|
85
|
+
};
|
|
86
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
87
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
88
|
+
};
|
|
89
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
90
|
+
exports.PlatformInterpretationLanguagesApi = exports.PlatformInterpretationLanguagesApiFactory = exports.PlatformInterpretationLanguagesApiFp = exports.PlatformInterpretationLanguagesApiAxiosParamCreator = void 0;
|
|
91
|
+
var axios_1 = __importDefault(require("axios"));
|
|
92
|
+
// Some imports not used depending on template conditions
|
|
93
|
+
// @ts-ignore
|
|
94
|
+
var common_1 = require("../common");
|
|
95
|
+
// @ts-ignore
|
|
96
|
+
var base_1 = require("../base");
|
|
97
|
+
/**
|
|
98
|
+
* PlatformInterpretationLanguagesApi - axios parameter creator
|
|
99
|
+
* @export
|
|
100
|
+
*/
|
|
101
|
+
var PlatformInterpretationLanguagesApiAxiosParamCreator = function (configuration) {
|
|
102
|
+
var _this = this;
|
|
103
|
+
return {
|
|
104
|
+
/**
|
|
105
|
+
*
|
|
106
|
+
* @summary Get platform interpretation languages (Auth policies: RequireManagerRole)
|
|
107
|
+
* @param {string} [languageCode]
|
|
108
|
+
* @param {boolean} [showHidden]
|
|
109
|
+
* @param {number} [page]
|
|
110
|
+
* @param {number} [limit]
|
|
111
|
+
* @param {Date} [lastRetrieved]
|
|
112
|
+
* @param {*} [options] Override http request option.
|
|
113
|
+
* @throws {RequiredError}
|
|
114
|
+
*/
|
|
115
|
+
apiV1PlatforminterpretationlanguagesGet: function (languageCode_1, showHidden_1, page_1, limit_1, lastRetrieved_1) {
|
|
116
|
+
var args_1 = [];
|
|
117
|
+
for (var _i = 5; _i < arguments.length; _i++) {
|
|
118
|
+
args_1[_i - 5] = arguments[_i];
|
|
119
|
+
}
|
|
120
|
+
return __awaiter(_this, __spreadArray([languageCode_1, showHidden_1, page_1, limit_1, lastRetrieved_1], args_1, true), void 0, function (languageCode, showHidden, page, limit, lastRetrieved, options) {
|
|
121
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
122
|
+
if (options === void 0) { options = {}; }
|
|
123
|
+
return __generator(this, function (_a) {
|
|
124
|
+
switch (_a.label) {
|
|
125
|
+
case 0:
|
|
126
|
+
localVarPath = "/api/v1/platforminterpretationlanguages";
|
|
127
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
128
|
+
if (configuration) {
|
|
129
|
+
baseOptions = configuration.baseOptions;
|
|
130
|
+
}
|
|
131
|
+
localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
|
|
132
|
+
localVarHeaderParameter = {};
|
|
133
|
+
localVarQueryParameter = {};
|
|
134
|
+
// authentication oauth2 required
|
|
135
|
+
// oauth required
|
|
136
|
+
return [4 /*yield*/, (0, common_1.setOAuthToObject)(localVarHeaderParameter, "oauth2", ["cloudhospital_admin_api"], configuration)];
|
|
137
|
+
case 1:
|
|
138
|
+
// authentication oauth2 required
|
|
139
|
+
// oauth required
|
|
140
|
+
_a.sent();
|
|
141
|
+
if (languageCode !== undefined) {
|
|
142
|
+
localVarQueryParameter['languageCode'] = languageCode;
|
|
143
|
+
}
|
|
144
|
+
if (showHidden !== undefined) {
|
|
145
|
+
localVarQueryParameter['showHidden'] = showHidden;
|
|
146
|
+
}
|
|
147
|
+
if (page !== undefined) {
|
|
148
|
+
localVarQueryParameter['page'] = page;
|
|
149
|
+
}
|
|
150
|
+
if (limit !== undefined) {
|
|
151
|
+
localVarQueryParameter['limit'] = limit;
|
|
152
|
+
}
|
|
153
|
+
if (lastRetrieved !== undefined) {
|
|
154
|
+
localVarQueryParameter['lastRetrieved'] = (lastRetrieved instanceof Date) ?
|
|
155
|
+
lastRetrieved.toISOString() :
|
|
156
|
+
lastRetrieved;
|
|
157
|
+
}
|
|
158
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
159
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
160
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
161
|
+
return [2 /*return*/, {
|
|
162
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
163
|
+
options: localVarRequestOptions,
|
|
164
|
+
}];
|
|
165
|
+
}
|
|
166
|
+
});
|
|
167
|
+
});
|
|
168
|
+
},
|
|
169
|
+
/**
|
|
170
|
+
*
|
|
171
|
+
* @summary Delete platform interpretation language (Auth policies: RequireManagerRole)
|
|
172
|
+
* @param {string} languageCode
|
|
173
|
+
* @param {boolean} [isPermanent]
|
|
174
|
+
* @param {*} [options] Override http request option.
|
|
175
|
+
* @throws {RequiredError}
|
|
176
|
+
*/
|
|
177
|
+
apiV1PlatforminterpretationlanguagesLanguageCodeDelete: function (languageCode_1, isPermanent_1) {
|
|
178
|
+
var args_1 = [];
|
|
179
|
+
for (var _i = 2; _i < arguments.length; _i++) {
|
|
180
|
+
args_1[_i - 2] = arguments[_i];
|
|
181
|
+
}
|
|
182
|
+
return __awaiter(_this, __spreadArray([languageCode_1, isPermanent_1], args_1, true), void 0, function (languageCode, isPermanent, options) {
|
|
183
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
184
|
+
if (options === void 0) { options = {}; }
|
|
185
|
+
return __generator(this, function (_a) {
|
|
186
|
+
switch (_a.label) {
|
|
187
|
+
case 0:
|
|
188
|
+
// verify required parameter 'languageCode' is not null or undefined
|
|
189
|
+
(0, common_1.assertParamExists)('apiV1PlatforminterpretationlanguagesLanguageCodeDelete', 'languageCode', languageCode);
|
|
190
|
+
localVarPath = "/api/v1/platforminterpretationlanguages/{languageCode}"
|
|
191
|
+
.replace("{".concat("languageCode", "}"), encodeURIComponent(String(languageCode)));
|
|
192
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
193
|
+
if (configuration) {
|
|
194
|
+
baseOptions = configuration.baseOptions;
|
|
195
|
+
}
|
|
196
|
+
localVarRequestOptions = __assign(__assign({ method: 'DELETE' }, baseOptions), options);
|
|
197
|
+
localVarHeaderParameter = {};
|
|
198
|
+
localVarQueryParameter = {};
|
|
199
|
+
// authentication oauth2 required
|
|
200
|
+
// oauth required
|
|
201
|
+
return [4 /*yield*/, (0, common_1.setOAuthToObject)(localVarHeaderParameter, "oauth2", ["cloudhospital_admin_api"], configuration)];
|
|
202
|
+
case 1:
|
|
203
|
+
// authentication oauth2 required
|
|
204
|
+
// oauth required
|
|
205
|
+
_a.sent();
|
|
206
|
+
if (isPermanent !== undefined) {
|
|
207
|
+
localVarQueryParameter['isPermanent'] = isPermanent;
|
|
208
|
+
}
|
|
209
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
210
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
211
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
212
|
+
return [2 /*return*/, {
|
|
213
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
214
|
+
options: localVarRequestOptions,
|
|
215
|
+
}];
|
|
216
|
+
}
|
|
217
|
+
});
|
|
218
|
+
});
|
|
219
|
+
},
|
|
220
|
+
/**
|
|
221
|
+
*
|
|
222
|
+
* @summary Get platform interpretation language (Auth policies: RequireManagerRole)
|
|
223
|
+
* @param {string} languageCode
|
|
224
|
+
* @param {*} [options] Override http request option.
|
|
225
|
+
* @throws {RequiredError}
|
|
226
|
+
*/
|
|
227
|
+
apiV1PlatforminterpretationlanguagesLanguageCodeGet: function (languageCode_1) {
|
|
228
|
+
var args_1 = [];
|
|
229
|
+
for (var _i = 1; _i < arguments.length; _i++) {
|
|
230
|
+
args_1[_i - 1] = arguments[_i];
|
|
231
|
+
}
|
|
232
|
+
return __awaiter(_this, __spreadArray([languageCode_1], args_1, true), void 0, function (languageCode, options) {
|
|
233
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
234
|
+
if (options === void 0) { options = {}; }
|
|
235
|
+
return __generator(this, function (_a) {
|
|
236
|
+
switch (_a.label) {
|
|
237
|
+
case 0:
|
|
238
|
+
// verify required parameter 'languageCode' is not null or undefined
|
|
239
|
+
(0, common_1.assertParamExists)('apiV1PlatforminterpretationlanguagesLanguageCodeGet', 'languageCode', languageCode);
|
|
240
|
+
localVarPath = "/api/v1/platforminterpretationlanguages/{languageCode}"
|
|
241
|
+
.replace("{".concat("languageCode", "}"), encodeURIComponent(String(languageCode)));
|
|
242
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
243
|
+
if (configuration) {
|
|
244
|
+
baseOptions = configuration.baseOptions;
|
|
245
|
+
}
|
|
246
|
+
localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
|
|
247
|
+
localVarHeaderParameter = {};
|
|
248
|
+
localVarQueryParameter = {};
|
|
249
|
+
// authentication oauth2 required
|
|
250
|
+
// oauth required
|
|
251
|
+
return [4 /*yield*/, (0, common_1.setOAuthToObject)(localVarHeaderParameter, "oauth2", ["cloudhospital_admin_api"], configuration)];
|
|
252
|
+
case 1:
|
|
253
|
+
// authentication oauth2 required
|
|
254
|
+
// oauth required
|
|
255
|
+
_a.sent();
|
|
256
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
257
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
258
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
259
|
+
return [2 /*return*/, {
|
|
260
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
261
|
+
options: localVarRequestOptions,
|
|
262
|
+
}];
|
|
263
|
+
}
|
|
264
|
+
});
|
|
265
|
+
});
|
|
266
|
+
},
|
|
267
|
+
/**
|
|
268
|
+
*
|
|
269
|
+
* @summary Update platform interpretation language (Auth policies: RequireManagerRole)
|
|
270
|
+
* @param {string} languageCode
|
|
271
|
+
* @param {UpdatePlatformInterpretationLanguageCommand} [updatePlatformInterpretationLanguageCommand]
|
|
272
|
+
* @param {*} [options] Override http request option.
|
|
273
|
+
* @throws {RequiredError}
|
|
274
|
+
*/
|
|
275
|
+
apiV1PlatforminterpretationlanguagesLanguageCodePut: function (languageCode_1, updatePlatformInterpretationLanguageCommand_1) {
|
|
276
|
+
var args_1 = [];
|
|
277
|
+
for (var _i = 2; _i < arguments.length; _i++) {
|
|
278
|
+
args_1[_i - 2] = arguments[_i];
|
|
279
|
+
}
|
|
280
|
+
return __awaiter(_this, __spreadArray([languageCode_1, updatePlatformInterpretationLanguageCommand_1], args_1, true), void 0, function (languageCode, updatePlatformInterpretationLanguageCommand, 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 'languageCode' is not null or undefined
|
|
287
|
+
(0, common_1.assertParamExists)('apiV1PlatforminterpretationlanguagesLanguageCodePut', 'languageCode', languageCode);
|
|
288
|
+
localVarPath = "/api/v1/platforminterpretationlanguages/{languageCode}"
|
|
289
|
+
.replace("{".concat("languageCode", "}"), encodeURIComponent(String(languageCode)));
|
|
290
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
291
|
+
if (configuration) {
|
|
292
|
+
baseOptions = configuration.baseOptions;
|
|
293
|
+
}
|
|
294
|
+
localVarRequestOptions = __assign(__assign({ method: 'PUT' }, 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
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
305
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
306
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
307
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
308
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(updatePlatformInterpretationLanguageCommand, localVarRequestOptions, configuration);
|
|
309
|
+
return [2 /*return*/, {
|
|
310
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
311
|
+
options: localVarRequestOptions,
|
|
312
|
+
}];
|
|
313
|
+
}
|
|
314
|
+
});
|
|
315
|
+
});
|
|
316
|
+
},
|
|
317
|
+
/**
|
|
318
|
+
*
|
|
319
|
+
* @summary Reactivate platform interpretation language (Auth policies: RequireManagerRole)
|
|
320
|
+
* @param {string} languageCode
|
|
321
|
+
* @param {*} [options] Override http request option.
|
|
322
|
+
* @throws {RequiredError}
|
|
323
|
+
*/
|
|
324
|
+
apiV1PlatforminterpretationlanguagesLanguageCodeReactivatePut: function (languageCode_1) {
|
|
325
|
+
var args_1 = [];
|
|
326
|
+
for (var _i = 1; _i < arguments.length; _i++) {
|
|
327
|
+
args_1[_i - 1] = arguments[_i];
|
|
328
|
+
}
|
|
329
|
+
return __awaiter(_this, __spreadArray([languageCode_1], args_1, true), void 0, function (languageCode, options) {
|
|
330
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
331
|
+
if (options === void 0) { options = {}; }
|
|
332
|
+
return __generator(this, function (_a) {
|
|
333
|
+
switch (_a.label) {
|
|
334
|
+
case 0:
|
|
335
|
+
// verify required parameter 'languageCode' is not null or undefined
|
|
336
|
+
(0, common_1.assertParamExists)('apiV1PlatforminterpretationlanguagesLanguageCodeReactivatePut', 'languageCode', languageCode);
|
|
337
|
+
localVarPath = "/api/v1/platforminterpretationlanguages/{languageCode}/reactivate"
|
|
338
|
+
.replace("{".concat("languageCode", "}"), encodeURIComponent(String(languageCode)));
|
|
339
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
340
|
+
if (configuration) {
|
|
341
|
+
baseOptions = configuration.baseOptions;
|
|
342
|
+
}
|
|
343
|
+
localVarRequestOptions = __assign(__assign({ method: 'PUT' }, baseOptions), options);
|
|
344
|
+
localVarHeaderParameter = {};
|
|
345
|
+
localVarQueryParameter = {};
|
|
346
|
+
// authentication oauth2 required
|
|
347
|
+
// oauth required
|
|
348
|
+
return [4 /*yield*/, (0, common_1.setOAuthToObject)(localVarHeaderParameter, "oauth2", ["cloudhospital_admin_api"], configuration)];
|
|
349
|
+
case 1:
|
|
350
|
+
// authentication oauth2 required
|
|
351
|
+
// oauth required
|
|
352
|
+
_a.sent();
|
|
353
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
354
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
355
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
356
|
+
return [2 /*return*/, {
|
|
357
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
358
|
+
options: localVarRequestOptions,
|
|
359
|
+
}];
|
|
360
|
+
}
|
|
361
|
+
});
|
|
362
|
+
});
|
|
363
|
+
},
|
|
364
|
+
/**
|
|
365
|
+
*
|
|
366
|
+
* @summary Create platform interpretation language (Auth policies: RequireManagerRole)
|
|
367
|
+
* @param {CreatePlatformInterpretationLanguageCommand} [createPlatformInterpretationLanguageCommand]
|
|
368
|
+
* @param {*} [options] Override http request option.
|
|
369
|
+
* @throws {RequiredError}
|
|
370
|
+
*/
|
|
371
|
+
apiV1PlatforminterpretationlanguagesPost: function (createPlatformInterpretationLanguageCommand_1) {
|
|
372
|
+
var args_1 = [];
|
|
373
|
+
for (var _i = 1; _i < arguments.length; _i++) {
|
|
374
|
+
args_1[_i - 1] = arguments[_i];
|
|
375
|
+
}
|
|
376
|
+
return __awaiter(_this, __spreadArray([createPlatformInterpretationLanguageCommand_1], args_1, true), void 0, function (createPlatformInterpretationLanguageCommand, options) {
|
|
377
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
378
|
+
if (options === void 0) { options = {}; }
|
|
379
|
+
return __generator(this, function (_a) {
|
|
380
|
+
switch (_a.label) {
|
|
381
|
+
case 0:
|
|
382
|
+
localVarPath = "/api/v1/platforminterpretationlanguages";
|
|
383
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
384
|
+
if (configuration) {
|
|
385
|
+
baseOptions = configuration.baseOptions;
|
|
386
|
+
}
|
|
387
|
+
localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options);
|
|
388
|
+
localVarHeaderParameter = {};
|
|
389
|
+
localVarQueryParameter = {};
|
|
390
|
+
// authentication oauth2 required
|
|
391
|
+
// oauth required
|
|
392
|
+
return [4 /*yield*/, (0, common_1.setOAuthToObject)(localVarHeaderParameter, "oauth2", ["cloudhospital_admin_api"], configuration)];
|
|
393
|
+
case 1:
|
|
394
|
+
// authentication oauth2 required
|
|
395
|
+
// oauth required
|
|
396
|
+
_a.sent();
|
|
397
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
398
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
399
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
400
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
401
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(createPlatformInterpretationLanguageCommand, localVarRequestOptions, configuration);
|
|
402
|
+
return [2 /*return*/, {
|
|
403
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
404
|
+
options: localVarRequestOptions,
|
|
405
|
+
}];
|
|
406
|
+
}
|
|
407
|
+
});
|
|
408
|
+
});
|
|
409
|
+
},
|
|
410
|
+
};
|
|
411
|
+
};
|
|
412
|
+
exports.PlatformInterpretationLanguagesApiAxiosParamCreator = PlatformInterpretationLanguagesApiAxiosParamCreator;
|
|
413
|
+
/**
|
|
414
|
+
* PlatformInterpretationLanguagesApi - functional programming interface
|
|
415
|
+
* @export
|
|
416
|
+
*/
|
|
417
|
+
var PlatformInterpretationLanguagesApiFp = function (configuration) {
|
|
418
|
+
var localVarAxiosParamCreator = (0, exports.PlatformInterpretationLanguagesApiAxiosParamCreator)(configuration);
|
|
419
|
+
return {
|
|
420
|
+
/**
|
|
421
|
+
*
|
|
422
|
+
* @summary Get platform interpretation languages (Auth policies: RequireManagerRole)
|
|
423
|
+
* @param {string} [languageCode]
|
|
424
|
+
* @param {boolean} [showHidden]
|
|
425
|
+
* @param {number} [page]
|
|
426
|
+
* @param {number} [limit]
|
|
427
|
+
* @param {Date} [lastRetrieved]
|
|
428
|
+
* @param {*} [options] Override http request option.
|
|
429
|
+
* @throws {RequiredError}
|
|
430
|
+
*/
|
|
431
|
+
apiV1PlatforminterpretationlanguagesGet: function (languageCode, showHidden, page, limit, lastRetrieved, options) {
|
|
432
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
433
|
+
var localVarAxiosArgs;
|
|
434
|
+
return __generator(this, function (_a) {
|
|
435
|
+
switch (_a.label) {
|
|
436
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1PlatforminterpretationlanguagesGet(languageCode, showHidden, page, limit, lastRetrieved, options)];
|
|
437
|
+
case 1:
|
|
438
|
+
localVarAxiosArgs = _a.sent();
|
|
439
|
+
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
440
|
+
}
|
|
441
|
+
});
|
|
442
|
+
});
|
|
443
|
+
},
|
|
444
|
+
/**
|
|
445
|
+
*
|
|
446
|
+
* @summary Delete platform interpretation language (Auth policies: RequireManagerRole)
|
|
447
|
+
* @param {string} languageCode
|
|
448
|
+
* @param {boolean} [isPermanent]
|
|
449
|
+
* @param {*} [options] Override http request option.
|
|
450
|
+
* @throws {RequiredError}
|
|
451
|
+
*/
|
|
452
|
+
apiV1PlatforminterpretationlanguagesLanguageCodeDelete: function (languageCode, isPermanent, options) {
|
|
453
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
454
|
+
var localVarAxiosArgs;
|
|
455
|
+
return __generator(this, function (_a) {
|
|
456
|
+
switch (_a.label) {
|
|
457
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1PlatforminterpretationlanguagesLanguageCodeDelete(languageCode, isPermanent, options)];
|
|
458
|
+
case 1:
|
|
459
|
+
localVarAxiosArgs = _a.sent();
|
|
460
|
+
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
461
|
+
}
|
|
462
|
+
});
|
|
463
|
+
});
|
|
464
|
+
},
|
|
465
|
+
/**
|
|
466
|
+
*
|
|
467
|
+
* @summary Get platform interpretation language (Auth policies: RequireManagerRole)
|
|
468
|
+
* @param {string} languageCode
|
|
469
|
+
* @param {*} [options] Override http request option.
|
|
470
|
+
* @throws {RequiredError}
|
|
471
|
+
*/
|
|
472
|
+
apiV1PlatforminterpretationlanguagesLanguageCodeGet: function (languageCode, options) {
|
|
473
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
474
|
+
var localVarAxiosArgs;
|
|
475
|
+
return __generator(this, function (_a) {
|
|
476
|
+
switch (_a.label) {
|
|
477
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1PlatforminterpretationlanguagesLanguageCodeGet(languageCode, options)];
|
|
478
|
+
case 1:
|
|
479
|
+
localVarAxiosArgs = _a.sent();
|
|
480
|
+
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
481
|
+
}
|
|
482
|
+
});
|
|
483
|
+
});
|
|
484
|
+
},
|
|
485
|
+
/**
|
|
486
|
+
*
|
|
487
|
+
* @summary Update platform interpretation language (Auth policies: RequireManagerRole)
|
|
488
|
+
* @param {string} languageCode
|
|
489
|
+
* @param {UpdatePlatformInterpretationLanguageCommand} [updatePlatformInterpretationLanguageCommand]
|
|
490
|
+
* @param {*} [options] Override http request option.
|
|
491
|
+
* @throws {RequiredError}
|
|
492
|
+
*/
|
|
493
|
+
apiV1PlatforminterpretationlanguagesLanguageCodePut: function (languageCode, updatePlatformInterpretationLanguageCommand, options) {
|
|
494
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
495
|
+
var localVarAxiosArgs;
|
|
496
|
+
return __generator(this, function (_a) {
|
|
497
|
+
switch (_a.label) {
|
|
498
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1PlatforminterpretationlanguagesLanguageCodePut(languageCode, updatePlatformInterpretationLanguageCommand, options)];
|
|
499
|
+
case 1:
|
|
500
|
+
localVarAxiosArgs = _a.sent();
|
|
501
|
+
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
502
|
+
}
|
|
503
|
+
});
|
|
504
|
+
});
|
|
505
|
+
},
|
|
506
|
+
/**
|
|
507
|
+
*
|
|
508
|
+
* @summary Reactivate platform interpretation language (Auth policies: RequireManagerRole)
|
|
509
|
+
* @param {string} languageCode
|
|
510
|
+
* @param {*} [options] Override http request option.
|
|
511
|
+
* @throws {RequiredError}
|
|
512
|
+
*/
|
|
513
|
+
apiV1PlatforminterpretationlanguagesLanguageCodeReactivatePut: function (languageCode, options) {
|
|
514
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
515
|
+
var localVarAxiosArgs;
|
|
516
|
+
return __generator(this, function (_a) {
|
|
517
|
+
switch (_a.label) {
|
|
518
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1PlatforminterpretationlanguagesLanguageCodeReactivatePut(languageCode, options)];
|
|
519
|
+
case 1:
|
|
520
|
+
localVarAxiosArgs = _a.sent();
|
|
521
|
+
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
522
|
+
}
|
|
523
|
+
});
|
|
524
|
+
});
|
|
525
|
+
},
|
|
526
|
+
/**
|
|
527
|
+
*
|
|
528
|
+
* @summary Create platform interpretation language (Auth policies: RequireManagerRole)
|
|
529
|
+
* @param {CreatePlatformInterpretationLanguageCommand} [createPlatformInterpretationLanguageCommand]
|
|
530
|
+
* @param {*} [options] Override http request option.
|
|
531
|
+
* @throws {RequiredError}
|
|
532
|
+
*/
|
|
533
|
+
apiV1PlatforminterpretationlanguagesPost: function (createPlatformInterpretationLanguageCommand, options) {
|
|
534
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
535
|
+
var localVarAxiosArgs;
|
|
536
|
+
return __generator(this, function (_a) {
|
|
537
|
+
switch (_a.label) {
|
|
538
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1PlatforminterpretationlanguagesPost(createPlatformInterpretationLanguageCommand, options)];
|
|
539
|
+
case 1:
|
|
540
|
+
localVarAxiosArgs = _a.sent();
|
|
541
|
+
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
542
|
+
}
|
|
543
|
+
});
|
|
544
|
+
});
|
|
545
|
+
},
|
|
546
|
+
};
|
|
547
|
+
};
|
|
548
|
+
exports.PlatformInterpretationLanguagesApiFp = PlatformInterpretationLanguagesApiFp;
|
|
549
|
+
/**
|
|
550
|
+
* PlatformInterpretationLanguagesApi - factory interface
|
|
551
|
+
* @export
|
|
552
|
+
*/
|
|
553
|
+
var PlatformInterpretationLanguagesApiFactory = function (configuration, basePath, axios) {
|
|
554
|
+
var localVarFp = (0, exports.PlatformInterpretationLanguagesApiFp)(configuration);
|
|
555
|
+
return {
|
|
556
|
+
/**
|
|
557
|
+
*
|
|
558
|
+
* @summary Get platform interpretation languages (Auth policies: RequireManagerRole)
|
|
559
|
+
* @param {string} [languageCode]
|
|
560
|
+
* @param {boolean} [showHidden]
|
|
561
|
+
* @param {number} [page]
|
|
562
|
+
* @param {number} [limit]
|
|
563
|
+
* @param {Date} [lastRetrieved]
|
|
564
|
+
* @param {*} [options] Override http request option.
|
|
565
|
+
* @throws {RequiredError}
|
|
566
|
+
*/
|
|
567
|
+
apiV1PlatforminterpretationlanguagesGet: function (languageCode, showHidden, page, limit, lastRetrieved, options) {
|
|
568
|
+
return localVarFp.apiV1PlatforminterpretationlanguagesGet(languageCode, showHidden, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
|
|
569
|
+
},
|
|
570
|
+
/**
|
|
571
|
+
*
|
|
572
|
+
* @summary Delete platform interpretation language (Auth policies: RequireManagerRole)
|
|
573
|
+
* @param {string} languageCode
|
|
574
|
+
* @param {boolean} [isPermanent]
|
|
575
|
+
* @param {*} [options] Override http request option.
|
|
576
|
+
* @throws {RequiredError}
|
|
577
|
+
*/
|
|
578
|
+
apiV1PlatforminterpretationlanguagesLanguageCodeDelete: function (languageCode, isPermanent, options) {
|
|
579
|
+
return localVarFp.apiV1PlatforminterpretationlanguagesLanguageCodeDelete(languageCode, isPermanent, options).then(function (request) { return request(axios, basePath); });
|
|
580
|
+
},
|
|
581
|
+
/**
|
|
582
|
+
*
|
|
583
|
+
* @summary Get platform interpretation language (Auth policies: RequireManagerRole)
|
|
584
|
+
* @param {string} languageCode
|
|
585
|
+
* @param {*} [options] Override http request option.
|
|
586
|
+
* @throws {RequiredError}
|
|
587
|
+
*/
|
|
588
|
+
apiV1PlatforminterpretationlanguagesLanguageCodeGet: function (languageCode, options) {
|
|
589
|
+
return localVarFp.apiV1PlatforminterpretationlanguagesLanguageCodeGet(languageCode, options).then(function (request) { return request(axios, basePath); });
|
|
590
|
+
},
|
|
591
|
+
/**
|
|
592
|
+
*
|
|
593
|
+
* @summary Update platform interpretation language (Auth policies: RequireManagerRole)
|
|
594
|
+
* @param {string} languageCode
|
|
595
|
+
* @param {UpdatePlatformInterpretationLanguageCommand} [updatePlatformInterpretationLanguageCommand]
|
|
596
|
+
* @param {*} [options] Override http request option.
|
|
597
|
+
* @throws {RequiredError}
|
|
598
|
+
*/
|
|
599
|
+
apiV1PlatforminterpretationlanguagesLanguageCodePut: function (languageCode, updatePlatformInterpretationLanguageCommand, options) {
|
|
600
|
+
return localVarFp.apiV1PlatforminterpretationlanguagesLanguageCodePut(languageCode, updatePlatformInterpretationLanguageCommand, options).then(function (request) { return request(axios, basePath); });
|
|
601
|
+
},
|
|
602
|
+
/**
|
|
603
|
+
*
|
|
604
|
+
* @summary Reactivate platform interpretation language (Auth policies: RequireManagerRole)
|
|
605
|
+
* @param {string} languageCode
|
|
606
|
+
* @param {*} [options] Override http request option.
|
|
607
|
+
* @throws {RequiredError}
|
|
608
|
+
*/
|
|
609
|
+
apiV1PlatforminterpretationlanguagesLanguageCodeReactivatePut: function (languageCode, options) {
|
|
610
|
+
return localVarFp.apiV1PlatforminterpretationlanguagesLanguageCodeReactivatePut(languageCode, options).then(function (request) { return request(axios, basePath); });
|
|
611
|
+
},
|
|
612
|
+
/**
|
|
613
|
+
*
|
|
614
|
+
* @summary Create platform interpretation language (Auth policies: RequireManagerRole)
|
|
615
|
+
* @param {CreatePlatformInterpretationLanguageCommand} [createPlatformInterpretationLanguageCommand]
|
|
616
|
+
* @param {*} [options] Override http request option.
|
|
617
|
+
* @throws {RequiredError}
|
|
618
|
+
*/
|
|
619
|
+
apiV1PlatforminterpretationlanguagesPost: function (createPlatformInterpretationLanguageCommand, options) {
|
|
620
|
+
return localVarFp.apiV1PlatforminterpretationlanguagesPost(createPlatformInterpretationLanguageCommand, options).then(function (request) { return request(axios, basePath); });
|
|
621
|
+
},
|
|
622
|
+
};
|
|
623
|
+
};
|
|
624
|
+
exports.PlatformInterpretationLanguagesApiFactory = PlatformInterpretationLanguagesApiFactory;
|
|
625
|
+
/**
|
|
626
|
+
* PlatformInterpretationLanguagesApi - object-oriented interface
|
|
627
|
+
* @export
|
|
628
|
+
* @class PlatformInterpretationLanguagesApi
|
|
629
|
+
* @extends {BaseAPI}
|
|
630
|
+
*/
|
|
631
|
+
var PlatformInterpretationLanguagesApi = /** @class */ (function (_super) {
|
|
632
|
+
__extends(PlatformInterpretationLanguagesApi, _super);
|
|
633
|
+
function PlatformInterpretationLanguagesApi() {
|
|
634
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
|
635
|
+
}
|
|
636
|
+
/**
|
|
637
|
+
*
|
|
638
|
+
* @summary Get platform interpretation languages (Auth policies: RequireManagerRole)
|
|
639
|
+
* @param {PlatformInterpretationLanguagesApiApiV1PlatforminterpretationlanguagesGetRequest} requestParameters Request parameters.
|
|
640
|
+
* @param {*} [options] Override http request option.
|
|
641
|
+
* @throws {RequiredError}
|
|
642
|
+
* @memberof PlatformInterpretationLanguagesApi
|
|
643
|
+
*/
|
|
644
|
+
PlatformInterpretationLanguagesApi.prototype.apiV1PlatforminterpretationlanguagesGet = function (requestParameters, options) {
|
|
645
|
+
var _this = this;
|
|
646
|
+
if (requestParameters === void 0) { requestParameters = {}; }
|
|
647
|
+
return (0, exports.PlatformInterpretationLanguagesApiFp)(this.configuration).apiV1PlatforminterpretationlanguagesGet(requestParameters.languageCode, requestParameters.showHidden, requestParameters.page, requestParameters.limit, requestParameters.lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
648
|
+
};
|
|
649
|
+
/**
|
|
650
|
+
*
|
|
651
|
+
* @summary Delete platform interpretation language (Auth policies: RequireManagerRole)
|
|
652
|
+
* @param {PlatformInterpretationLanguagesApiApiV1PlatforminterpretationlanguagesLanguageCodeDeleteRequest} requestParameters Request parameters.
|
|
653
|
+
* @param {*} [options] Override http request option.
|
|
654
|
+
* @throws {RequiredError}
|
|
655
|
+
* @memberof PlatformInterpretationLanguagesApi
|
|
656
|
+
*/
|
|
657
|
+
PlatformInterpretationLanguagesApi.prototype.apiV1PlatforminterpretationlanguagesLanguageCodeDelete = function (requestParameters, options) {
|
|
658
|
+
var _this = this;
|
|
659
|
+
return (0, exports.PlatformInterpretationLanguagesApiFp)(this.configuration).apiV1PlatforminterpretationlanguagesLanguageCodeDelete(requestParameters.languageCode, requestParameters.isPermanent, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
660
|
+
};
|
|
661
|
+
/**
|
|
662
|
+
*
|
|
663
|
+
* @summary Get platform interpretation language (Auth policies: RequireManagerRole)
|
|
664
|
+
* @param {PlatformInterpretationLanguagesApiApiV1PlatforminterpretationlanguagesLanguageCodeGetRequest} requestParameters Request parameters.
|
|
665
|
+
* @param {*} [options] Override http request option.
|
|
666
|
+
* @throws {RequiredError}
|
|
667
|
+
* @memberof PlatformInterpretationLanguagesApi
|
|
668
|
+
*/
|
|
669
|
+
PlatformInterpretationLanguagesApi.prototype.apiV1PlatforminterpretationlanguagesLanguageCodeGet = function (requestParameters, options) {
|
|
670
|
+
var _this = this;
|
|
671
|
+
return (0, exports.PlatformInterpretationLanguagesApiFp)(this.configuration).apiV1PlatforminterpretationlanguagesLanguageCodeGet(requestParameters.languageCode, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
672
|
+
};
|
|
673
|
+
/**
|
|
674
|
+
*
|
|
675
|
+
* @summary Update platform interpretation language (Auth policies: RequireManagerRole)
|
|
676
|
+
* @param {PlatformInterpretationLanguagesApiApiV1PlatforminterpretationlanguagesLanguageCodePutRequest} requestParameters Request parameters.
|
|
677
|
+
* @param {*} [options] Override http request option.
|
|
678
|
+
* @throws {RequiredError}
|
|
679
|
+
* @memberof PlatformInterpretationLanguagesApi
|
|
680
|
+
*/
|
|
681
|
+
PlatformInterpretationLanguagesApi.prototype.apiV1PlatforminterpretationlanguagesLanguageCodePut = function (requestParameters, options) {
|
|
682
|
+
var _this = this;
|
|
683
|
+
return (0, exports.PlatformInterpretationLanguagesApiFp)(this.configuration).apiV1PlatforminterpretationlanguagesLanguageCodePut(requestParameters.languageCode, requestParameters.updatePlatformInterpretationLanguageCommand, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
684
|
+
};
|
|
685
|
+
/**
|
|
686
|
+
*
|
|
687
|
+
* @summary Reactivate platform interpretation language (Auth policies: RequireManagerRole)
|
|
688
|
+
* @param {PlatformInterpretationLanguagesApiApiV1PlatforminterpretationlanguagesLanguageCodeReactivatePutRequest} requestParameters Request parameters.
|
|
689
|
+
* @param {*} [options] Override http request option.
|
|
690
|
+
* @throws {RequiredError}
|
|
691
|
+
* @memberof PlatformInterpretationLanguagesApi
|
|
692
|
+
*/
|
|
693
|
+
PlatformInterpretationLanguagesApi.prototype.apiV1PlatforminterpretationlanguagesLanguageCodeReactivatePut = function (requestParameters, options) {
|
|
694
|
+
var _this = this;
|
|
695
|
+
return (0, exports.PlatformInterpretationLanguagesApiFp)(this.configuration).apiV1PlatforminterpretationlanguagesLanguageCodeReactivatePut(requestParameters.languageCode, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
696
|
+
};
|
|
697
|
+
/**
|
|
698
|
+
*
|
|
699
|
+
* @summary Create platform interpretation language (Auth policies: RequireManagerRole)
|
|
700
|
+
* @param {PlatformInterpretationLanguagesApiApiV1PlatforminterpretationlanguagesPostRequest} requestParameters Request parameters.
|
|
701
|
+
* @param {*} [options] Override http request option.
|
|
702
|
+
* @throws {RequiredError}
|
|
703
|
+
* @memberof PlatformInterpretationLanguagesApi
|
|
704
|
+
*/
|
|
705
|
+
PlatformInterpretationLanguagesApi.prototype.apiV1PlatforminterpretationlanguagesPost = function (requestParameters, options) {
|
|
706
|
+
var _this = this;
|
|
707
|
+
if (requestParameters === void 0) { requestParameters = {}; }
|
|
708
|
+
return (0, exports.PlatformInterpretationLanguagesApiFp)(this.configuration).apiV1PlatforminterpretationlanguagesPost(requestParameters.createPlatformInterpretationLanguageCommand, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
709
|
+
};
|
|
710
|
+
return PlatformInterpretationLanguagesApi;
|
|
711
|
+
}(base_1.BaseAPI));
|
|
712
|
+
exports.PlatformInterpretationLanguagesApi = PlatformInterpretationLanguagesApi;
|