ch-api-client-typescript2 5.30.28 → 5.30.43
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/hospitals-api.d.ts +56 -0
- package/lib/api/hospitals-api.d.ts.map +1 -1
- package/lib/api/hospitals-api.js +81 -0
- package/lib/api.d.ts +0 -1
- package/lib/api.d.ts.map +1 -1
- package/lib/api.js +0 -1
- package/lib/models/article-document-model.d.ts +6 -0
- package/lib/models/article-document-model.d.ts.map +1 -1
- package/lib/models/contributor-document-model.d.ts +6 -0
- package/lib/models/contributor-document-model.d.ts.map +1 -1
- package/lib/models/contributor-sub-document-model.d.ts +6 -0
- package/lib/models/contributor-sub-document-model.d.ts.map +1 -1
- package/lib/models/country-document-model.d.ts +6 -0
- package/lib/models/country-document-model.d.ts.map +1 -1
- package/lib/models/country-sub-document-model.d.ts +6 -0
- package/lib/models/country-sub-document-model.d.ts.map +1 -1
- package/lib/models/deal-document-model.d.ts +6 -0
- package/lib/models/deal-document-model.d.ts.map +1 -1
- package/lib/models/deal-service-sub-document-model.d.ts +6 -0
- package/lib/models/deal-service-sub-document-model.d.ts.map +1 -1
- package/lib/models/department-document-model.d.ts +6 -0
- package/lib/models/department-document-model.d.ts.map +1 -1
- package/lib/models/department-sub-document-model.d.ts +6 -0
- package/lib/models/department-sub-document-model.d.ts.map +1 -1
- package/lib/models/doctor-document-model.d.ts +6 -0
- package/lib/models/doctor-document-model.d.ts.map +1 -1
- package/lib/models/doctor-specialty-sub-document-model.d.ts +6 -0
- package/lib/models/doctor-specialty-sub-document-model.d.ts.map +1 -1
- package/lib/models/faq-category-document-model.d.ts +6 -0
- package/lib/models/faq-category-document-model.d.ts.map +1 -1
- package/lib/models/faq-category-sub-document-model.d.ts +6 -0
- package/lib/models/faq-category-sub-document-model.d.ts.map +1 -1
- package/lib/models/faq-document-model.d.ts +6 -0
- package/lib/models/faq-document-model.d.ts.map +1 -1
- package/lib/models/header-navigation-item-model.d.ts +12 -0
- package/lib/models/header-navigation-item-model.d.ts.map +1 -1
- package/lib/models/hospital-document-model.d.ts +6 -0
- package/lib/models/hospital-document-model.d.ts.map +1 -1
- package/lib/models/hospital-specialty-document-model.d.ts +6 -0
- package/lib/models/hospital-specialty-document-model.d.ts.map +1 -1
- package/lib/models/hospital-specialty-sub-document-model.d.ts +6 -0
- package/lib/models/hospital-specialty-sub-document-model.d.ts.map +1 -1
- package/lib/models/hospital-specialty-with-services-document-model.d.ts +6 -0
- package/lib/models/hospital-specialty-with-services-document-model.d.ts.map +1 -1
- package/lib/models/hospital-sub-document-model.d.ts +6 -0
- package/lib/models/hospital-sub-document-model.d.ts.map +1 -1
- package/lib/models/service-document-model.d.ts +6 -0
- package/lib/models/service-document-model.d.ts.map +1 -1
- package/lib/models/service-sub-document-model.d.ts +6 -0
- package/lib/models/service-sub-document-model.d.ts.map +1 -1
- package/lib/models/specialty-document-model.d.ts +6 -0
- package/lib/models/specialty-document-model.d.ts.map +1 -1
- package/lib/models/specialty-names-model.d.ts +6 -0
- package/lib/models/specialty-names-model.d.ts.map +1 -1
- package/lib/models/specialty-sub-document-model.d.ts +6 -0
- package/lib/models/specialty-sub-document-model.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/.openapi-generator/FILES +0 -1
- package/src/api/hospitals-api.ts +96 -0
- package/src/api.ts +0 -1
- package/src/models/article-document-model.ts +6 -0
- package/src/models/contributor-document-model.ts +6 -0
- package/src/models/contributor-sub-document-model.ts +6 -0
- package/src/models/country-document-model.ts +6 -0
- package/src/models/country-sub-document-model.ts +6 -0
- package/src/models/deal-document-model.ts +6 -0
- package/src/models/deal-service-sub-document-model.ts +6 -0
- package/src/models/department-document-model.ts +6 -0
- package/src/models/department-sub-document-model.ts +6 -0
- package/src/models/doctor-document-model.ts +6 -0
- package/src/models/doctor-specialty-sub-document-model.ts +6 -0
- package/src/models/faq-category-document-model.ts +6 -0
- package/src/models/faq-category-sub-document-model.ts +6 -0
- package/src/models/faq-document-model.ts +6 -0
- package/src/models/header-navigation-item-model.ts +12 -0
- package/src/models/hospital-document-model.ts +6 -0
- package/src/models/hospital-specialty-document-model.ts +6 -0
- package/src/models/hospital-specialty-sub-document-model.ts +6 -0
- package/src/models/hospital-specialty-with-services-document-model.ts +6 -0
- package/src/models/hospital-sub-document-model.ts +6 -0
- package/src/models/service-document-model.ts +6 -0
- package/src/models/service-sub-document-model.ts +6 -0
- package/src/models/specialty-document-model.ts +6 -0
- package/src/models/specialty-names-model.ts +6 -0
- package/src/models/specialty-sub-document-model.ts +6 -0
- package/lib/api/header-navigations-api.d.ts +0 -88
- package/lib/api/header-navigations-api.d.ts.map +0 -1
- package/lib/api/header-navigations-api.js +0 -206
- package/src/api/header-navigations-api.ts +0 -141
|
@@ -1,206 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/* tslint:disable */
|
|
3
|
-
/* eslint-disable */
|
|
4
|
-
/**
|
|
5
|
-
* CloudHospital Api
|
|
6
|
-
* CloudHospital application with Swagger, Swashbuckle, and API versioning.
|
|
7
|
-
*
|
|
8
|
-
* The version of the OpenAPI document: 2
|
|
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;
|
|
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.HeaderNavigationsApi = exports.HeaderNavigationsApiFactory = exports.HeaderNavigationsApiFp = exports.HeaderNavigationsApiAxiosParamCreator = 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
|
-
* HeaderNavigationsApi - axios parameter creator
|
|
90
|
-
* @export
|
|
91
|
-
*/
|
|
92
|
-
var HeaderNavigationsApiAxiosParamCreator = function (configuration) {
|
|
93
|
-
var _this = this;
|
|
94
|
-
return {
|
|
95
|
-
/**
|
|
96
|
-
*
|
|
97
|
-
* @summary Get all HeaderNavigationItems
|
|
98
|
-
* @param {string} languageCode
|
|
99
|
-
* @param {*} [options] Override http request option.
|
|
100
|
-
* @throws {RequiredError}
|
|
101
|
-
*/
|
|
102
|
-
apiV2HeadernavigationsLanguageCodeGet: function (languageCode, options) {
|
|
103
|
-
if (options === void 0) { options = {}; }
|
|
104
|
-
return __awaiter(_this, void 0, void 0, function () {
|
|
105
|
-
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
106
|
-
return __generator(this, function (_a) {
|
|
107
|
-
// verify required parameter 'languageCode' is not null or undefined
|
|
108
|
-
(0, common_1.assertParamExists)('apiV2HeadernavigationsLanguageCodeGet', 'languageCode', languageCode);
|
|
109
|
-
localVarPath = "/api/v2/headernavigations/{languageCode}"
|
|
110
|
-
.replace("{".concat("languageCode", "}"), encodeURIComponent(String(languageCode)));
|
|
111
|
-
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
112
|
-
if (configuration) {
|
|
113
|
-
baseOptions = configuration.baseOptions;
|
|
114
|
-
}
|
|
115
|
-
localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
|
|
116
|
-
localVarHeaderParameter = {};
|
|
117
|
-
localVarQueryParameter = {};
|
|
118
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
119
|
-
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
120
|
-
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
121
|
-
return [2 /*return*/, {
|
|
122
|
-
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
123
|
-
options: localVarRequestOptions,
|
|
124
|
-
}];
|
|
125
|
-
});
|
|
126
|
-
});
|
|
127
|
-
},
|
|
128
|
-
};
|
|
129
|
-
};
|
|
130
|
-
exports.HeaderNavigationsApiAxiosParamCreator = HeaderNavigationsApiAxiosParamCreator;
|
|
131
|
-
/**
|
|
132
|
-
* HeaderNavigationsApi - functional programming interface
|
|
133
|
-
* @export
|
|
134
|
-
*/
|
|
135
|
-
var HeaderNavigationsApiFp = function (configuration) {
|
|
136
|
-
var localVarAxiosParamCreator = (0, exports.HeaderNavigationsApiAxiosParamCreator)(configuration);
|
|
137
|
-
return {
|
|
138
|
-
/**
|
|
139
|
-
*
|
|
140
|
-
* @summary Get all HeaderNavigationItems
|
|
141
|
-
* @param {string} languageCode
|
|
142
|
-
* @param {*} [options] Override http request option.
|
|
143
|
-
* @throws {RequiredError}
|
|
144
|
-
*/
|
|
145
|
-
apiV2HeadernavigationsLanguageCodeGet: function (languageCode, options) {
|
|
146
|
-
return __awaiter(this, void 0, void 0, function () {
|
|
147
|
-
var localVarAxiosArgs;
|
|
148
|
-
return __generator(this, function (_a) {
|
|
149
|
-
switch (_a.label) {
|
|
150
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2HeadernavigationsLanguageCodeGet(languageCode, options)];
|
|
151
|
-
case 1:
|
|
152
|
-
localVarAxiosArgs = _a.sent();
|
|
153
|
-
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
154
|
-
}
|
|
155
|
-
});
|
|
156
|
-
});
|
|
157
|
-
},
|
|
158
|
-
};
|
|
159
|
-
};
|
|
160
|
-
exports.HeaderNavigationsApiFp = HeaderNavigationsApiFp;
|
|
161
|
-
/**
|
|
162
|
-
* HeaderNavigationsApi - factory interface
|
|
163
|
-
* @export
|
|
164
|
-
*/
|
|
165
|
-
var HeaderNavigationsApiFactory = function (configuration, basePath, axios) {
|
|
166
|
-
var localVarFp = (0, exports.HeaderNavigationsApiFp)(configuration);
|
|
167
|
-
return {
|
|
168
|
-
/**
|
|
169
|
-
*
|
|
170
|
-
* @summary Get all HeaderNavigationItems
|
|
171
|
-
* @param {string} languageCode
|
|
172
|
-
* @param {*} [options] Override http request option.
|
|
173
|
-
* @throws {RequiredError}
|
|
174
|
-
*/
|
|
175
|
-
apiV2HeadernavigationsLanguageCodeGet: function (languageCode, options) {
|
|
176
|
-
return localVarFp.apiV2HeadernavigationsLanguageCodeGet(languageCode, options).then(function (request) { return request(axios, basePath); });
|
|
177
|
-
},
|
|
178
|
-
};
|
|
179
|
-
};
|
|
180
|
-
exports.HeaderNavigationsApiFactory = HeaderNavigationsApiFactory;
|
|
181
|
-
/**
|
|
182
|
-
* HeaderNavigationsApi - object-oriented interface
|
|
183
|
-
* @export
|
|
184
|
-
* @class HeaderNavigationsApi
|
|
185
|
-
* @extends {BaseAPI}
|
|
186
|
-
*/
|
|
187
|
-
var HeaderNavigationsApi = /** @class */ (function (_super) {
|
|
188
|
-
__extends(HeaderNavigationsApi, _super);
|
|
189
|
-
function HeaderNavigationsApi() {
|
|
190
|
-
return _super !== null && _super.apply(this, arguments) || this;
|
|
191
|
-
}
|
|
192
|
-
/**
|
|
193
|
-
*
|
|
194
|
-
* @summary Get all HeaderNavigationItems
|
|
195
|
-
* @param {HeaderNavigationsApiApiV2HeadernavigationsLanguageCodeGetRequest} requestParameters Request parameters.
|
|
196
|
-
* @param {*} [options] Override http request option.
|
|
197
|
-
* @throws {RequiredError}
|
|
198
|
-
* @memberof HeaderNavigationsApi
|
|
199
|
-
*/
|
|
200
|
-
HeaderNavigationsApi.prototype.apiV2HeadernavigationsLanguageCodeGet = function (requestParameters, options) {
|
|
201
|
-
var _this = this;
|
|
202
|
-
return (0, exports.HeaderNavigationsApiFp)(this.configuration).apiV2HeadernavigationsLanguageCodeGet(requestParameters.languageCode, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
203
|
-
};
|
|
204
|
-
return HeaderNavigationsApi;
|
|
205
|
-
}(base_1.BaseAPI));
|
|
206
|
-
exports.HeaderNavigationsApi = HeaderNavigationsApi;
|
|
@@ -1,141 +0,0 @@
|
|
|
1
|
-
/* tslint:disable */
|
|
2
|
-
/* eslint-disable */
|
|
3
|
-
/**
|
|
4
|
-
* CloudHospital Api
|
|
5
|
-
* CloudHospital application with Swagger, Swashbuckle, and API versioning.
|
|
6
|
-
*
|
|
7
|
-
* The version of the OpenAPI document: 2
|
|
8
|
-
* Contact: developer@icloudhospital.com
|
|
9
|
-
*
|
|
10
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
-
* https://openapi-generator.tech
|
|
12
|
-
* Do not edit the class manually.
|
|
13
|
-
*/
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
import globalAxios, { AxiosPromise, AxiosInstance, AxiosRequestConfig } from 'axios';
|
|
17
|
-
import { Configuration } from '../configuration';
|
|
18
|
-
// Some imports not used depending on template conditions
|
|
19
|
-
// @ts-ignore
|
|
20
|
-
import { DUMMY_BASE_URL, assertParamExists, setApiKeyToObject, setBasicAuthToObject, setBearerAuthToObject, setOAuthToObject, setSearchParams, serializeDataIfNeeded, toPathString, createRequestFunction } from '../common';
|
|
21
|
-
// @ts-ignore
|
|
22
|
-
import { BASE_PATH, COLLECTION_FORMATS, RequestArgs, BaseAPI, RequiredError } from '../base';
|
|
23
|
-
// @ts-ignore
|
|
24
|
-
import { HeaderNavigationItemModel } from '../models';
|
|
25
|
-
/**
|
|
26
|
-
* HeaderNavigationsApi - axios parameter creator
|
|
27
|
-
* @export
|
|
28
|
-
*/
|
|
29
|
-
export const HeaderNavigationsApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
30
|
-
return {
|
|
31
|
-
/**
|
|
32
|
-
*
|
|
33
|
-
* @summary Get all HeaderNavigationItems
|
|
34
|
-
* @param {string} languageCode
|
|
35
|
-
* @param {*} [options] Override http request option.
|
|
36
|
-
* @throws {RequiredError}
|
|
37
|
-
*/
|
|
38
|
-
apiV2HeadernavigationsLanguageCodeGet: async (languageCode: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
39
|
-
// verify required parameter 'languageCode' is not null or undefined
|
|
40
|
-
assertParamExists('apiV2HeadernavigationsLanguageCodeGet', 'languageCode', languageCode)
|
|
41
|
-
const localVarPath = `/api/v2/headernavigations/{languageCode}`
|
|
42
|
-
.replace(`{${"languageCode"}}`, encodeURIComponent(String(languageCode)));
|
|
43
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
44
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
45
|
-
let baseOptions;
|
|
46
|
-
if (configuration) {
|
|
47
|
-
baseOptions = configuration.baseOptions;
|
|
48
|
-
}
|
|
49
|
-
|
|
50
|
-
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
51
|
-
const localVarHeaderParameter = {} as any;
|
|
52
|
-
const localVarQueryParameter = {} as any;
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
57
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
58
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
59
|
-
|
|
60
|
-
return {
|
|
61
|
-
url: toPathString(localVarUrlObj),
|
|
62
|
-
options: localVarRequestOptions,
|
|
63
|
-
};
|
|
64
|
-
},
|
|
65
|
-
}
|
|
66
|
-
};
|
|
67
|
-
|
|
68
|
-
/**
|
|
69
|
-
* HeaderNavigationsApi - functional programming interface
|
|
70
|
-
* @export
|
|
71
|
-
*/
|
|
72
|
-
export const HeaderNavigationsApiFp = function(configuration?: Configuration) {
|
|
73
|
-
const localVarAxiosParamCreator = HeaderNavigationsApiAxiosParamCreator(configuration)
|
|
74
|
-
return {
|
|
75
|
-
/**
|
|
76
|
-
*
|
|
77
|
-
* @summary Get all HeaderNavigationItems
|
|
78
|
-
* @param {string} languageCode
|
|
79
|
-
* @param {*} [options] Override http request option.
|
|
80
|
-
* @throws {RequiredError}
|
|
81
|
-
*/
|
|
82
|
-
async apiV2HeadernavigationsLanguageCodeGet(languageCode: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<HeaderNavigationItemModel>>> {
|
|
83
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2HeadernavigationsLanguageCodeGet(languageCode, options);
|
|
84
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
85
|
-
},
|
|
86
|
-
}
|
|
87
|
-
};
|
|
88
|
-
|
|
89
|
-
/**
|
|
90
|
-
* HeaderNavigationsApi - factory interface
|
|
91
|
-
* @export
|
|
92
|
-
*/
|
|
93
|
-
export const HeaderNavigationsApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
94
|
-
const localVarFp = HeaderNavigationsApiFp(configuration)
|
|
95
|
-
return {
|
|
96
|
-
/**
|
|
97
|
-
*
|
|
98
|
-
* @summary Get all HeaderNavigationItems
|
|
99
|
-
* @param {string} languageCode
|
|
100
|
-
* @param {*} [options] Override http request option.
|
|
101
|
-
* @throws {RequiredError}
|
|
102
|
-
*/
|
|
103
|
-
apiV2HeadernavigationsLanguageCodeGet(languageCode: string, options?: any): AxiosPromise<Array<HeaderNavigationItemModel>> {
|
|
104
|
-
return localVarFp.apiV2HeadernavigationsLanguageCodeGet(languageCode, options).then((request) => request(axios, basePath));
|
|
105
|
-
},
|
|
106
|
-
};
|
|
107
|
-
};
|
|
108
|
-
|
|
109
|
-
/**
|
|
110
|
-
* Request parameters for apiV2HeadernavigationsLanguageCodeGet operation in HeaderNavigationsApi.
|
|
111
|
-
* @export
|
|
112
|
-
* @interface HeaderNavigationsApiApiV2HeadernavigationsLanguageCodeGetRequest
|
|
113
|
-
*/
|
|
114
|
-
export interface HeaderNavigationsApiApiV2HeadernavigationsLanguageCodeGetRequest {
|
|
115
|
-
/**
|
|
116
|
-
*
|
|
117
|
-
* @type {string}
|
|
118
|
-
* @memberof HeaderNavigationsApiApiV2HeadernavigationsLanguageCodeGet
|
|
119
|
-
*/
|
|
120
|
-
readonly languageCode: string
|
|
121
|
-
}
|
|
122
|
-
|
|
123
|
-
/**
|
|
124
|
-
* HeaderNavigationsApi - object-oriented interface
|
|
125
|
-
* @export
|
|
126
|
-
* @class HeaderNavigationsApi
|
|
127
|
-
* @extends {BaseAPI}
|
|
128
|
-
*/
|
|
129
|
-
export class HeaderNavigationsApi extends BaseAPI {
|
|
130
|
-
/**
|
|
131
|
-
*
|
|
132
|
-
* @summary Get all HeaderNavigationItems
|
|
133
|
-
* @param {HeaderNavigationsApiApiV2HeadernavigationsLanguageCodeGetRequest} requestParameters Request parameters.
|
|
134
|
-
* @param {*} [options] Override http request option.
|
|
135
|
-
* @throws {RequiredError}
|
|
136
|
-
* @memberof HeaderNavigationsApi
|
|
137
|
-
*/
|
|
138
|
-
public apiV2HeadernavigationsLanguageCodeGet(requestParameters: HeaderNavigationsApiApiV2HeadernavigationsLanguageCodeGetRequest, options?: AxiosRequestConfig) {
|
|
139
|
-
return HeaderNavigationsApiFp(this.configuration).apiV2HeadernavigationsLanguageCodeGet(requestParameters.languageCode, options).then((request) => request(this.axios, this.basePath));
|
|
140
|
-
}
|
|
141
|
-
}
|