ch-admin-api-client-typescript 5.30.28 → 5.30.38
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 +313 -0
- package/lib/api/hospitals-api.d.ts.map +1 -1
- package/lib/api/hospitals-api.js +478 -0
- package/lib/api/search-api.d.ts +55 -0
- package/lib/api/search-api.d.ts.map +1 -1
- package/lib/api/search-api.js +93 -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/header-navigation-item-model.d.ts +20 -8
- package/lib/models/header-navigation-item-model.d.ts.map +1 -1
- package/lib/models/save-header-navigation-item-model.d.ts +15 -3
- package/lib/models/save-header-navigation-item-model.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/.openapi-generator/FILES +0 -1
- package/src/api/hospitals-api.ts +546 -0
- package/src/api/search-api.ts +104 -0
- package/src/api.ts +0 -1
- package/src/models/header-navigation-item-model.ts +20 -8
- package/src/models/save-header-navigation-item-model.ts +15 -3
- package/lib/api/header-navigations-api.d.ts +0 -309
- package/lib/api/header-navigations-api.d.ts.map +0 -1
- package/lib/api/header-navigations-api.js +0 -579
- package/src/api/header-navigations-api.ts +0 -539
|
@@ -1,539 +0,0 @@
|
|
|
1
|
-
/* tslint:disable */
|
|
2
|
-
/* eslint-disable */
|
|
3
|
-
/**
|
|
4
|
-
* CloudHospital Admin Api
|
|
5
|
-
* CloudHospital application with Swagger, Swashbuckle, and API versioning.
|
|
6
|
-
*
|
|
7
|
-
* The version of the OpenAPI document: 1
|
|
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
|
-
// @ts-ignore
|
|
26
|
-
import { SaveHeaderNavigationsCommand } from '../models';
|
|
27
|
-
/**
|
|
28
|
-
* HeaderNavigationsApi - axios parameter creator
|
|
29
|
-
* @export
|
|
30
|
-
*/
|
|
31
|
-
export const HeaderNavigationsApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
32
|
-
return {
|
|
33
|
-
/**
|
|
34
|
-
*
|
|
35
|
-
* @summary Get all HeaderNavigationItems
|
|
36
|
-
* @param {string} languageCode
|
|
37
|
-
* @param {*} [options] Override http request option.
|
|
38
|
-
* @throws {RequiredError}
|
|
39
|
-
*/
|
|
40
|
-
apiV1HeadernavigationsLanguageCodeGet: async (languageCode: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
41
|
-
// verify required parameter 'languageCode' is not null or undefined
|
|
42
|
-
assertParamExists('apiV1HeadernavigationsLanguageCodeGet', 'languageCode', languageCode)
|
|
43
|
-
const localVarPath = `/api/v1/headernavigations/{languageCode}`
|
|
44
|
-
.replace(`{${"languageCode"}}`, encodeURIComponent(String(languageCode)));
|
|
45
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
46
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
47
|
-
let baseOptions;
|
|
48
|
-
if (configuration) {
|
|
49
|
-
baseOptions = configuration.baseOptions;
|
|
50
|
-
}
|
|
51
|
-
|
|
52
|
-
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
53
|
-
const localVarHeaderParameter = {} as any;
|
|
54
|
-
const localVarQueryParameter = {} as any;
|
|
55
|
-
|
|
56
|
-
// authentication oauth2 required
|
|
57
|
-
// oauth required
|
|
58
|
-
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["cloudhospital_admin_api"], configuration)
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
63
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
64
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
65
|
-
|
|
66
|
-
return {
|
|
67
|
-
url: toPathString(localVarUrlObj),
|
|
68
|
-
options: localVarRequestOptions,
|
|
69
|
-
};
|
|
70
|
-
},
|
|
71
|
-
/**
|
|
72
|
-
*
|
|
73
|
-
* @summary Delete HeaderNavigationItem
|
|
74
|
-
* @param {string} languageCode
|
|
75
|
-
* @param {string} id
|
|
76
|
-
* @param {*} [options] Override http request option.
|
|
77
|
-
* @throws {RequiredError}
|
|
78
|
-
*/
|
|
79
|
-
apiV1HeadernavigationsLanguageCodeIdDelete: async (languageCode: string, id: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
80
|
-
// verify required parameter 'languageCode' is not null or undefined
|
|
81
|
-
assertParamExists('apiV1HeadernavigationsLanguageCodeIdDelete', 'languageCode', languageCode)
|
|
82
|
-
// verify required parameter 'id' is not null or undefined
|
|
83
|
-
assertParamExists('apiV1HeadernavigationsLanguageCodeIdDelete', 'id', id)
|
|
84
|
-
const localVarPath = `/api/v1/headernavigations/{languageCode}/{id}`
|
|
85
|
-
.replace(`{${"languageCode"}}`, encodeURIComponent(String(languageCode)))
|
|
86
|
-
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
87
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
88
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
89
|
-
let baseOptions;
|
|
90
|
-
if (configuration) {
|
|
91
|
-
baseOptions = configuration.baseOptions;
|
|
92
|
-
}
|
|
93
|
-
|
|
94
|
-
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
|
|
95
|
-
const localVarHeaderParameter = {} as any;
|
|
96
|
-
const localVarQueryParameter = {} as any;
|
|
97
|
-
|
|
98
|
-
// authentication oauth2 required
|
|
99
|
-
// oauth required
|
|
100
|
-
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["cloudhospital_admin_api"], configuration)
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
105
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
106
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
107
|
-
|
|
108
|
-
return {
|
|
109
|
-
url: toPathString(localVarUrlObj),
|
|
110
|
-
options: localVarRequestOptions,
|
|
111
|
-
};
|
|
112
|
-
},
|
|
113
|
-
/**
|
|
114
|
-
*
|
|
115
|
-
* @summary Get HeaderNavigationItem by id
|
|
116
|
-
* @param {string} languageCode
|
|
117
|
-
* @param {string} id
|
|
118
|
-
* @param {*} [options] Override http request option.
|
|
119
|
-
* @throws {RequiredError}
|
|
120
|
-
*/
|
|
121
|
-
apiV1HeadernavigationsLanguageCodeIdGet: async (languageCode: string, id: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
122
|
-
// verify required parameter 'languageCode' is not null or undefined
|
|
123
|
-
assertParamExists('apiV1HeadernavigationsLanguageCodeIdGet', 'languageCode', languageCode)
|
|
124
|
-
// verify required parameter 'id' is not null or undefined
|
|
125
|
-
assertParamExists('apiV1HeadernavigationsLanguageCodeIdGet', 'id', id)
|
|
126
|
-
const localVarPath = `/api/v1/headernavigations/{languageCode}/{id}`
|
|
127
|
-
.replace(`{${"languageCode"}}`, encodeURIComponent(String(languageCode)))
|
|
128
|
-
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
129
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
130
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
131
|
-
let baseOptions;
|
|
132
|
-
if (configuration) {
|
|
133
|
-
baseOptions = configuration.baseOptions;
|
|
134
|
-
}
|
|
135
|
-
|
|
136
|
-
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
137
|
-
const localVarHeaderParameter = {} as any;
|
|
138
|
-
const localVarQueryParameter = {} as any;
|
|
139
|
-
|
|
140
|
-
// authentication oauth2 required
|
|
141
|
-
// oauth required
|
|
142
|
-
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["cloudhospital_admin_api"], configuration)
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
147
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
148
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
149
|
-
|
|
150
|
-
return {
|
|
151
|
-
url: toPathString(localVarUrlObj),
|
|
152
|
-
options: localVarRequestOptions,
|
|
153
|
-
};
|
|
154
|
-
},
|
|
155
|
-
/**
|
|
156
|
-
*
|
|
157
|
-
* @summary Get HeaderNavigationItems by parent id
|
|
158
|
-
* @param {string} languageCode
|
|
159
|
-
* @param {string} parentId
|
|
160
|
-
* @param {*} [options] Override http request option.
|
|
161
|
-
* @throws {RequiredError}
|
|
162
|
-
*/
|
|
163
|
-
apiV1HeadernavigationsLanguageCodeParentIdSubitemsGet: async (languageCode: string, parentId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
164
|
-
// verify required parameter 'languageCode' is not null or undefined
|
|
165
|
-
assertParamExists('apiV1HeadernavigationsLanguageCodeParentIdSubitemsGet', 'languageCode', languageCode)
|
|
166
|
-
// verify required parameter 'parentId' is not null or undefined
|
|
167
|
-
assertParamExists('apiV1HeadernavigationsLanguageCodeParentIdSubitemsGet', 'parentId', parentId)
|
|
168
|
-
const localVarPath = `/api/v1/headernavigations/{languageCode}/{parentId}/subitems`
|
|
169
|
-
.replace(`{${"languageCode"}}`, encodeURIComponent(String(languageCode)))
|
|
170
|
-
.replace(`{${"parentId"}}`, encodeURIComponent(String(parentId)));
|
|
171
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
172
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
173
|
-
let baseOptions;
|
|
174
|
-
if (configuration) {
|
|
175
|
-
baseOptions = configuration.baseOptions;
|
|
176
|
-
}
|
|
177
|
-
|
|
178
|
-
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
179
|
-
const localVarHeaderParameter = {} as any;
|
|
180
|
-
const localVarQueryParameter = {} as any;
|
|
181
|
-
|
|
182
|
-
// authentication oauth2 required
|
|
183
|
-
// oauth required
|
|
184
|
-
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["cloudhospital_admin_api"], configuration)
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
189
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
190
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
191
|
-
|
|
192
|
-
return {
|
|
193
|
-
url: toPathString(localVarUrlObj),
|
|
194
|
-
options: localVarRequestOptions,
|
|
195
|
-
};
|
|
196
|
-
},
|
|
197
|
-
/**
|
|
198
|
-
*
|
|
199
|
-
* @summary Save HeaderNavigationItem
|
|
200
|
-
* @param {string} languageCode
|
|
201
|
-
* @param {SaveHeaderNavigationsCommand} [saveHeaderNavigationsCommand]
|
|
202
|
-
* @param {*} [options] Override http request option.
|
|
203
|
-
* @throws {RequiredError}
|
|
204
|
-
*/
|
|
205
|
-
apiV1HeadernavigationsLanguageCodePost: async (languageCode: string, saveHeaderNavigationsCommand?: SaveHeaderNavigationsCommand, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
206
|
-
// verify required parameter 'languageCode' is not null or undefined
|
|
207
|
-
assertParamExists('apiV1HeadernavigationsLanguageCodePost', 'languageCode', languageCode)
|
|
208
|
-
const localVarPath = `/api/v1/headernavigations/{languageCode}`
|
|
209
|
-
.replace(`{${"languageCode"}}`, encodeURIComponent(String(languageCode)));
|
|
210
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
211
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
212
|
-
let baseOptions;
|
|
213
|
-
if (configuration) {
|
|
214
|
-
baseOptions = configuration.baseOptions;
|
|
215
|
-
}
|
|
216
|
-
|
|
217
|
-
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
218
|
-
const localVarHeaderParameter = {} as any;
|
|
219
|
-
const localVarQueryParameter = {} as any;
|
|
220
|
-
|
|
221
|
-
// authentication oauth2 required
|
|
222
|
-
// oauth required
|
|
223
|
-
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["cloudhospital_admin_api"], configuration)
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
228
|
-
|
|
229
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
230
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
231
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
232
|
-
localVarRequestOptions.data = serializeDataIfNeeded(saveHeaderNavigationsCommand, localVarRequestOptions, configuration)
|
|
233
|
-
|
|
234
|
-
return {
|
|
235
|
-
url: toPathString(localVarUrlObj),
|
|
236
|
-
options: localVarRequestOptions,
|
|
237
|
-
};
|
|
238
|
-
},
|
|
239
|
-
}
|
|
240
|
-
};
|
|
241
|
-
|
|
242
|
-
/**
|
|
243
|
-
* HeaderNavigationsApi - functional programming interface
|
|
244
|
-
* @export
|
|
245
|
-
*/
|
|
246
|
-
export const HeaderNavigationsApiFp = function(configuration?: Configuration) {
|
|
247
|
-
const localVarAxiosParamCreator = HeaderNavigationsApiAxiosParamCreator(configuration)
|
|
248
|
-
return {
|
|
249
|
-
/**
|
|
250
|
-
*
|
|
251
|
-
* @summary Get all HeaderNavigationItems
|
|
252
|
-
* @param {string} languageCode
|
|
253
|
-
* @param {*} [options] Override http request option.
|
|
254
|
-
* @throws {RequiredError}
|
|
255
|
-
*/
|
|
256
|
-
async apiV1HeadernavigationsLanguageCodeGet(languageCode: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<HeaderNavigationItemModel>>> {
|
|
257
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1HeadernavigationsLanguageCodeGet(languageCode, options);
|
|
258
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
259
|
-
},
|
|
260
|
-
/**
|
|
261
|
-
*
|
|
262
|
-
* @summary Delete HeaderNavigationItem
|
|
263
|
-
* @param {string} languageCode
|
|
264
|
-
* @param {string} id
|
|
265
|
-
* @param {*} [options] Override http request option.
|
|
266
|
-
* @throws {RequiredError}
|
|
267
|
-
*/
|
|
268
|
-
async apiV1HeadernavigationsLanguageCodeIdDelete(languageCode: string, id: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<boolean>> {
|
|
269
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1HeadernavigationsLanguageCodeIdDelete(languageCode, id, options);
|
|
270
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
271
|
-
},
|
|
272
|
-
/**
|
|
273
|
-
*
|
|
274
|
-
* @summary Get HeaderNavigationItem by id
|
|
275
|
-
* @param {string} languageCode
|
|
276
|
-
* @param {string} id
|
|
277
|
-
* @param {*} [options] Override http request option.
|
|
278
|
-
* @throws {RequiredError}
|
|
279
|
-
*/
|
|
280
|
-
async apiV1HeadernavigationsLanguageCodeIdGet(languageCode: string, id: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<HeaderNavigationItemModel>> {
|
|
281
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1HeadernavigationsLanguageCodeIdGet(languageCode, id, options);
|
|
282
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
283
|
-
},
|
|
284
|
-
/**
|
|
285
|
-
*
|
|
286
|
-
* @summary Get HeaderNavigationItems by parent id
|
|
287
|
-
* @param {string} languageCode
|
|
288
|
-
* @param {string} parentId
|
|
289
|
-
* @param {*} [options] Override http request option.
|
|
290
|
-
* @throws {RequiredError}
|
|
291
|
-
*/
|
|
292
|
-
async apiV1HeadernavigationsLanguageCodeParentIdSubitemsGet(languageCode: string, parentId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<HeaderNavigationItemModel>>> {
|
|
293
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1HeadernavigationsLanguageCodeParentIdSubitemsGet(languageCode, parentId, options);
|
|
294
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
295
|
-
},
|
|
296
|
-
/**
|
|
297
|
-
*
|
|
298
|
-
* @summary Save HeaderNavigationItem
|
|
299
|
-
* @param {string} languageCode
|
|
300
|
-
* @param {SaveHeaderNavigationsCommand} [saveHeaderNavigationsCommand]
|
|
301
|
-
* @param {*} [options] Override http request option.
|
|
302
|
-
* @throws {RequiredError}
|
|
303
|
-
*/
|
|
304
|
-
async apiV1HeadernavigationsLanguageCodePost(languageCode: string, saveHeaderNavigationsCommand?: SaveHeaderNavigationsCommand, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<HeaderNavigationItemModel>> {
|
|
305
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1HeadernavigationsLanguageCodePost(languageCode, saveHeaderNavigationsCommand, options);
|
|
306
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
307
|
-
},
|
|
308
|
-
}
|
|
309
|
-
};
|
|
310
|
-
|
|
311
|
-
/**
|
|
312
|
-
* HeaderNavigationsApi - factory interface
|
|
313
|
-
* @export
|
|
314
|
-
*/
|
|
315
|
-
export const HeaderNavigationsApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
316
|
-
const localVarFp = HeaderNavigationsApiFp(configuration)
|
|
317
|
-
return {
|
|
318
|
-
/**
|
|
319
|
-
*
|
|
320
|
-
* @summary Get all HeaderNavigationItems
|
|
321
|
-
* @param {string} languageCode
|
|
322
|
-
* @param {*} [options] Override http request option.
|
|
323
|
-
* @throws {RequiredError}
|
|
324
|
-
*/
|
|
325
|
-
apiV1HeadernavigationsLanguageCodeGet(languageCode: string, options?: any): AxiosPromise<Array<HeaderNavigationItemModel>> {
|
|
326
|
-
return localVarFp.apiV1HeadernavigationsLanguageCodeGet(languageCode, options).then((request) => request(axios, basePath));
|
|
327
|
-
},
|
|
328
|
-
/**
|
|
329
|
-
*
|
|
330
|
-
* @summary Delete HeaderNavigationItem
|
|
331
|
-
* @param {string} languageCode
|
|
332
|
-
* @param {string} id
|
|
333
|
-
* @param {*} [options] Override http request option.
|
|
334
|
-
* @throws {RequiredError}
|
|
335
|
-
*/
|
|
336
|
-
apiV1HeadernavigationsLanguageCodeIdDelete(languageCode: string, id: string, options?: any): AxiosPromise<boolean> {
|
|
337
|
-
return localVarFp.apiV1HeadernavigationsLanguageCodeIdDelete(languageCode, id, options).then((request) => request(axios, basePath));
|
|
338
|
-
},
|
|
339
|
-
/**
|
|
340
|
-
*
|
|
341
|
-
* @summary Get HeaderNavigationItem by id
|
|
342
|
-
* @param {string} languageCode
|
|
343
|
-
* @param {string} id
|
|
344
|
-
* @param {*} [options] Override http request option.
|
|
345
|
-
* @throws {RequiredError}
|
|
346
|
-
*/
|
|
347
|
-
apiV1HeadernavigationsLanguageCodeIdGet(languageCode: string, id: string, options?: any): AxiosPromise<HeaderNavigationItemModel> {
|
|
348
|
-
return localVarFp.apiV1HeadernavigationsLanguageCodeIdGet(languageCode, id, options).then((request) => request(axios, basePath));
|
|
349
|
-
},
|
|
350
|
-
/**
|
|
351
|
-
*
|
|
352
|
-
* @summary Get HeaderNavigationItems by parent id
|
|
353
|
-
* @param {string} languageCode
|
|
354
|
-
* @param {string} parentId
|
|
355
|
-
* @param {*} [options] Override http request option.
|
|
356
|
-
* @throws {RequiredError}
|
|
357
|
-
*/
|
|
358
|
-
apiV1HeadernavigationsLanguageCodeParentIdSubitemsGet(languageCode: string, parentId: string, options?: any): AxiosPromise<Array<HeaderNavigationItemModel>> {
|
|
359
|
-
return localVarFp.apiV1HeadernavigationsLanguageCodeParentIdSubitemsGet(languageCode, parentId, options).then((request) => request(axios, basePath));
|
|
360
|
-
},
|
|
361
|
-
/**
|
|
362
|
-
*
|
|
363
|
-
* @summary Save HeaderNavigationItem
|
|
364
|
-
* @param {string} languageCode
|
|
365
|
-
* @param {SaveHeaderNavigationsCommand} [saveHeaderNavigationsCommand]
|
|
366
|
-
* @param {*} [options] Override http request option.
|
|
367
|
-
* @throws {RequiredError}
|
|
368
|
-
*/
|
|
369
|
-
apiV1HeadernavigationsLanguageCodePost(languageCode: string, saveHeaderNavigationsCommand?: SaveHeaderNavigationsCommand, options?: any): AxiosPromise<HeaderNavigationItemModel> {
|
|
370
|
-
return localVarFp.apiV1HeadernavigationsLanguageCodePost(languageCode, saveHeaderNavigationsCommand, options).then((request) => request(axios, basePath));
|
|
371
|
-
},
|
|
372
|
-
};
|
|
373
|
-
};
|
|
374
|
-
|
|
375
|
-
/**
|
|
376
|
-
* Request parameters for apiV1HeadernavigationsLanguageCodeGet operation in HeaderNavigationsApi.
|
|
377
|
-
* @export
|
|
378
|
-
* @interface HeaderNavigationsApiApiV1HeadernavigationsLanguageCodeGetRequest
|
|
379
|
-
*/
|
|
380
|
-
export interface HeaderNavigationsApiApiV1HeadernavigationsLanguageCodeGetRequest {
|
|
381
|
-
/**
|
|
382
|
-
*
|
|
383
|
-
* @type {string}
|
|
384
|
-
* @memberof HeaderNavigationsApiApiV1HeadernavigationsLanguageCodeGet
|
|
385
|
-
*/
|
|
386
|
-
readonly languageCode: string
|
|
387
|
-
}
|
|
388
|
-
|
|
389
|
-
/**
|
|
390
|
-
* Request parameters for apiV1HeadernavigationsLanguageCodeIdDelete operation in HeaderNavigationsApi.
|
|
391
|
-
* @export
|
|
392
|
-
* @interface HeaderNavigationsApiApiV1HeadernavigationsLanguageCodeIdDeleteRequest
|
|
393
|
-
*/
|
|
394
|
-
export interface HeaderNavigationsApiApiV1HeadernavigationsLanguageCodeIdDeleteRequest {
|
|
395
|
-
/**
|
|
396
|
-
*
|
|
397
|
-
* @type {string}
|
|
398
|
-
* @memberof HeaderNavigationsApiApiV1HeadernavigationsLanguageCodeIdDelete
|
|
399
|
-
*/
|
|
400
|
-
readonly languageCode: string
|
|
401
|
-
|
|
402
|
-
/**
|
|
403
|
-
*
|
|
404
|
-
* @type {string}
|
|
405
|
-
* @memberof HeaderNavigationsApiApiV1HeadernavigationsLanguageCodeIdDelete
|
|
406
|
-
*/
|
|
407
|
-
readonly id: string
|
|
408
|
-
}
|
|
409
|
-
|
|
410
|
-
/**
|
|
411
|
-
* Request parameters for apiV1HeadernavigationsLanguageCodeIdGet operation in HeaderNavigationsApi.
|
|
412
|
-
* @export
|
|
413
|
-
* @interface HeaderNavigationsApiApiV1HeadernavigationsLanguageCodeIdGetRequest
|
|
414
|
-
*/
|
|
415
|
-
export interface HeaderNavigationsApiApiV1HeadernavigationsLanguageCodeIdGetRequest {
|
|
416
|
-
/**
|
|
417
|
-
*
|
|
418
|
-
* @type {string}
|
|
419
|
-
* @memberof HeaderNavigationsApiApiV1HeadernavigationsLanguageCodeIdGet
|
|
420
|
-
*/
|
|
421
|
-
readonly languageCode: string
|
|
422
|
-
|
|
423
|
-
/**
|
|
424
|
-
*
|
|
425
|
-
* @type {string}
|
|
426
|
-
* @memberof HeaderNavigationsApiApiV1HeadernavigationsLanguageCodeIdGet
|
|
427
|
-
*/
|
|
428
|
-
readonly id: string
|
|
429
|
-
}
|
|
430
|
-
|
|
431
|
-
/**
|
|
432
|
-
* Request parameters for apiV1HeadernavigationsLanguageCodeParentIdSubitemsGet operation in HeaderNavigationsApi.
|
|
433
|
-
* @export
|
|
434
|
-
* @interface HeaderNavigationsApiApiV1HeadernavigationsLanguageCodeParentIdSubitemsGetRequest
|
|
435
|
-
*/
|
|
436
|
-
export interface HeaderNavigationsApiApiV1HeadernavigationsLanguageCodeParentIdSubitemsGetRequest {
|
|
437
|
-
/**
|
|
438
|
-
*
|
|
439
|
-
* @type {string}
|
|
440
|
-
* @memberof HeaderNavigationsApiApiV1HeadernavigationsLanguageCodeParentIdSubitemsGet
|
|
441
|
-
*/
|
|
442
|
-
readonly languageCode: string
|
|
443
|
-
|
|
444
|
-
/**
|
|
445
|
-
*
|
|
446
|
-
* @type {string}
|
|
447
|
-
* @memberof HeaderNavigationsApiApiV1HeadernavigationsLanguageCodeParentIdSubitemsGet
|
|
448
|
-
*/
|
|
449
|
-
readonly parentId: string
|
|
450
|
-
}
|
|
451
|
-
|
|
452
|
-
/**
|
|
453
|
-
* Request parameters for apiV1HeadernavigationsLanguageCodePost operation in HeaderNavigationsApi.
|
|
454
|
-
* @export
|
|
455
|
-
* @interface HeaderNavigationsApiApiV1HeadernavigationsLanguageCodePostRequest
|
|
456
|
-
*/
|
|
457
|
-
export interface HeaderNavigationsApiApiV1HeadernavigationsLanguageCodePostRequest {
|
|
458
|
-
/**
|
|
459
|
-
*
|
|
460
|
-
* @type {string}
|
|
461
|
-
* @memberof HeaderNavigationsApiApiV1HeadernavigationsLanguageCodePost
|
|
462
|
-
*/
|
|
463
|
-
readonly languageCode: string
|
|
464
|
-
|
|
465
|
-
/**
|
|
466
|
-
*
|
|
467
|
-
* @type {SaveHeaderNavigationsCommand}
|
|
468
|
-
* @memberof HeaderNavigationsApiApiV1HeadernavigationsLanguageCodePost
|
|
469
|
-
*/
|
|
470
|
-
readonly saveHeaderNavigationsCommand?: SaveHeaderNavigationsCommand
|
|
471
|
-
}
|
|
472
|
-
|
|
473
|
-
/**
|
|
474
|
-
* HeaderNavigationsApi - object-oriented interface
|
|
475
|
-
* @export
|
|
476
|
-
* @class HeaderNavigationsApi
|
|
477
|
-
* @extends {BaseAPI}
|
|
478
|
-
*/
|
|
479
|
-
export class HeaderNavigationsApi extends BaseAPI {
|
|
480
|
-
/**
|
|
481
|
-
*
|
|
482
|
-
* @summary Get all HeaderNavigationItems
|
|
483
|
-
* @param {HeaderNavigationsApiApiV1HeadernavigationsLanguageCodeGetRequest} requestParameters Request parameters.
|
|
484
|
-
* @param {*} [options] Override http request option.
|
|
485
|
-
* @throws {RequiredError}
|
|
486
|
-
* @memberof HeaderNavigationsApi
|
|
487
|
-
*/
|
|
488
|
-
public apiV1HeadernavigationsLanguageCodeGet(requestParameters: HeaderNavigationsApiApiV1HeadernavigationsLanguageCodeGetRequest, options?: AxiosRequestConfig) {
|
|
489
|
-
return HeaderNavigationsApiFp(this.configuration).apiV1HeadernavigationsLanguageCodeGet(requestParameters.languageCode, options).then((request) => request(this.axios, this.basePath));
|
|
490
|
-
}
|
|
491
|
-
|
|
492
|
-
/**
|
|
493
|
-
*
|
|
494
|
-
* @summary Delete HeaderNavigationItem
|
|
495
|
-
* @param {HeaderNavigationsApiApiV1HeadernavigationsLanguageCodeIdDeleteRequest} requestParameters Request parameters.
|
|
496
|
-
* @param {*} [options] Override http request option.
|
|
497
|
-
* @throws {RequiredError}
|
|
498
|
-
* @memberof HeaderNavigationsApi
|
|
499
|
-
*/
|
|
500
|
-
public apiV1HeadernavigationsLanguageCodeIdDelete(requestParameters: HeaderNavigationsApiApiV1HeadernavigationsLanguageCodeIdDeleteRequest, options?: AxiosRequestConfig) {
|
|
501
|
-
return HeaderNavigationsApiFp(this.configuration).apiV1HeadernavigationsLanguageCodeIdDelete(requestParameters.languageCode, requestParameters.id, options).then((request) => request(this.axios, this.basePath));
|
|
502
|
-
}
|
|
503
|
-
|
|
504
|
-
/**
|
|
505
|
-
*
|
|
506
|
-
* @summary Get HeaderNavigationItem by id
|
|
507
|
-
* @param {HeaderNavigationsApiApiV1HeadernavigationsLanguageCodeIdGetRequest} requestParameters Request parameters.
|
|
508
|
-
* @param {*} [options] Override http request option.
|
|
509
|
-
* @throws {RequiredError}
|
|
510
|
-
* @memberof HeaderNavigationsApi
|
|
511
|
-
*/
|
|
512
|
-
public apiV1HeadernavigationsLanguageCodeIdGet(requestParameters: HeaderNavigationsApiApiV1HeadernavigationsLanguageCodeIdGetRequest, options?: AxiosRequestConfig) {
|
|
513
|
-
return HeaderNavigationsApiFp(this.configuration).apiV1HeadernavigationsLanguageCodeIdGet(requestParameters.languageCode, requestParameters.id, options).then((request) => request(this.axios, this.basePath));
|
|
514
|
-
}
|
|
515
|
-
|
|
516
|
-
/**
|
|
517
|
-
*
|
|
518
|
-
* @summary Get HeaderNavigationItems by parent id
|
|
519
|
-
* @param {HeaderNavigationsApiApiV1HeadernavigationsLanguageCodeParentIdSubitemsGetRequest} requestParameters Request parameters.
|
|
520
|
-
* @param {*} [options] Override http request option.
|
|
521
|
-
* @throws {RequiredError}
|
|
522
|
-
* @memberof HeaderNavigationsApi
|
|
523
|
-
*/
|
|
524
|
-
public apiV1HeadernavigationsLanguageCodeParentIdSubitemsGet(requestParameters: HeaderNavigationsApiApiV1HeadernavigationsLanguageCodeParentIdSubitemsGetRequest, options?: AxiosRequestConfig) {
|
|
525
|
-
return HeaderNavigationsApiFp(this.configuration).apiV1HeadernavigationsLanguageCodeParentIdSubitemsGet(requestParameters.languageCode, requestParameters.parentId, options).then((request) => request(this.axios, this.basePath));
|
|
526
|
-
}
|
|
527
|
-
|
|
528
|
-
/**
|
|
529
|
-
*
|
|
530
|
-
* @summary Save HeaderNavigationItem
|
|
531
|
-
* @param {HeaderNavigationsApiApiV1HeadernavigationsLanguageCodePostRequest} requestParameters Request parameters.
|
|
532
|
-
* @param {*} [options] Override http request option.
|
|
533
|
-
* @throws {RequiredError}
|
|
534
|
-
* @memberof HeaderNavigationsApi
|
|
535
|
-
*/
|
|
536
|
-
public apiV1HeadernavigationsLanguageCodePost(requestParameters: HeaderNavigationsApiApiV1HeadernavigationsLanguageCodePostRequest, options?: AxiosRequestConfig) {
|
|
537
|
-
return HeaderNavigationsApiFp(this.configuration).apiV1HeadernavigationsLanguageCodePost(requestParameters.languageCode, requestParameters.saveHeaderNavigationsCommand, options).then((request) => request(this.axios, this.basePath));
|
|
538
|
-
}
|
|
539
|
-
}
|