@agravity/public 10.3.5 → 11.0.1
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/.openapi-generator/FILES +1 -0
- package/.openapi-generator/VERSION +1 -1
- package/README.md +3 -3
- package/api/publicAIOperations.pub.agravity.ts +5 -3
- package/api/publicAssetManagement.pub.agravity.ts +69 -35
- package/api/publicAssetOperations.pub.agravity.ts +114 -59
- package/api/publicAssetPublishing.pub.agravity.ts +11 -5
- package/api/publicAssetRelationManagement.pub.agravity.ts +37 -21
- package/api/publicAssetRelationTypeManagement.pub.agravity.ts +16 -10
- package/api/publicAssetVersioning.pub.agravity.ts +27 -12
- package/api/publicAuthenticationManagement.pub.agravity.ts +19 -11
- package/api/publicCollectionManagement.pub.agravity.ts +67 -36
- package/api/publicCollectionSecureUpload.pub.agravity.ts +16 -10
- package/api/publicCollectionTypeManagement.pub.agravity.ts +25 -15
- package/api/publicConfigurationManagement.pub.agravity.ts +9 -6
- package/api/publicDownloadFormatManagement.pub.agravity.ts +12 -7
- package/api/publicEndpoints.pub.agravity.ts +30 -17
- package/api/publicGeneralManagement.pub.agravity.ts +24 -12
- package/api/publicHelperTools.pub.agravity.ts +33 -19
- package/api/publicPortalManagement.pub.agravity.ts +27 -12
- package/api/publicPublishing.pub.agravity.ts +11 -7
- package/api/publicSavedSearch.pub.agravity.ts +11 -7
- package/api/publicSearchManagement.pub.agravity.ts +67 -36
- package/api/publicSharingManagement.pub.agravity.ts +30 -16
- package/api/publicSignalRConnectionManagement.pub.agravity.ts +5 -3
- package/api/publicStaticDefinedListManagement.pub.agravity.ts +25 -15
- package/api/publicTranslationManagement.pub.agravity.ts +19 -11
- package/api/publicWebAppData.pub.agravity.ts +8 -4
- package/api/publicWorkspaceManagement.pub.agravity.ts +16 -10
- package/api.base.service.ts +41 -27
- package/configuration.ts +3 -2
- package/encoder.ts +15 -0
- package/package.json +9 -9
- package/query.params.ts +165 -0
|
@@ -10,9 +10,9 @@
|
|
|
10
10
|
/* tslint:disable:no-unused-variable member-ordering */
|
|
11
11
|
|
|
12
12
|
import { Inject, Injectable, Optional } from '@angular/core';
|
|
13
|
-
import { HttpClient, HttpHeaders, HttpParams, HttpResponse, HttpEvent,
|
|
14
|
-
import { CustomHttpParameterCodec } from '../encoder';
|
|
13
|
+
import { HttpClient, HttpHeaders, HttpParams, HttpResponse, HttpEvent, HttpContext } from '@angular/common/http';
|
|
15
14
|
import { Observable } from 'rxjs';
|
|
15
|
+
import { OpenApiHttpParams, QueryParamStyle } from '../query.params';
|
|
16
16
|
|
|
17
17
|
// @ts-ignore
|
|
18
18
|
import { SavedSearch } from '../model/savedSearch.pub.agravity';
|
|
@@ -45,9 +45,11 @@ export class PublicSavedSearchService extends BaseService {
|
|
|
45
45
|
|
|
46
46
|
/**
|
|
47
47
|
* This endpoint lists all saved searches in database.
|
|
48
|
+
* @endpoint get /savedsearches
|
|
48
49
|
* @param requestParameters
|
|
49
50
|
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
50
51
|
* @param reportProgress flag to report request and response progress.
|
|
52
|
+
* @param options additional options
|
|
51
53
|
*/
|
|
52
54
|
public httpSavedSearchesGetAll(
|
|
53
55
|
requestParameters?: HttpSavedSearchesGetAllRequestParams,
|
|
@@ -77,9 +79,11 @@ export class PublicSavedSearchService extends BaseService {
|
|
|
77
79
|
const translations = requestParameters?.translations;
|
|
78
80
|
const acceptLanguage = requestParameters?.acceptLanguage;
|
|
79
81
|
|
|
80
|
-
let localVarQueryParameters = new
|
|
81
|
-
|
|
82
|
-
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, <any>
|
|
82
|
+
let localVarQueryParameters = new OpenApiHttpParams(this.encoder);
|
|
83
|
+
|
|
84
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 'external', <any>external, QueryParamStyle.Form, true);
|
|
85
|
+
|
|
86
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 'translations', <any>translations, QueryParamStyle.Form, true);
|
|
83
87
|
|
|
84
88
|
let localVarHeaders = this.defaultHeaders;
|
|
85
89
|
if (acceptLanguage !== undefined && acceptLanguage !== null) {
|
|
@@ -113,12 +117,12 @@ export class PublicSavedSearchService extends BaseService {
|
|
|
113
117
|
const { basePath, withCredentials } = this.configuration;
|
|
114
118
|
return this.httpClient.request<Array<SavedSearch>>('get', `${basePath}${localVarPath}`, {
|
|
115
119
|
context: localVarHttpContext,
|
|
116
|
-
params: localVarQueryParameters,
|
|
120
|
+
params: localVarQueryParameters.toHttpParams(),
|
|
117
121
|
responseType: <any>responseType_,
|
|
118
122
|
...(withCredentials ? { withCredentials } : {}),
|
|
119
123
|
headers: localVarHeaders,
|
|
120
124
|
observe: observe,
|
|
121
|
-
transferCache: localVarTransferCache,
|
|
125
|
+
...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
|
|
122
126
|
reportProgress: reportProgress
|
|
123
127
|
});
|
|
124
128
|
}
|
|
@@ -10,9 +10,9 @@
|
|
|
10
10
|
/* tslint:disable:no-unused-variable member-ordering */
|
|
11
11
|
|
|
12
12
|
import { Inject, Injectable, Optional } from '@angular/core';
|
|
13
|
-
import { HttpClient, HttpHeaders, HttpParams, HttpResponse, HttpEvent,
|
|
14
|
-
import { CustomHttpParameterCodec } from '../encoder';
|
|
13
|
+
import { HttpClient, HttpHeaders, HttpParams, HttpResponse, HttpEvent, HttpContext } from '@angular/common/http';
|
|
15
14
|
import { Observable } from 'rxjs';
|
|
15
|
+
import { OpenApiHttpParams, QueryParamStyle } from '../query.params';
|
|
16
16
|
|
|
17
17
|
// @ts-ignore
|
|
18
18
|
import { AgravityErrorResponse } from '../model/agravityErrorResponse.pub.agravity';
|
|
@@ -103,9 +103,11 @@ export class PublicSearchManagementService extends BaseService {
|
|
|
103
103
|
|
|
104
104
|
/**
|
|
105
105
|
* This endpoint returns one facette based on the search parameters.
|
|
106
|
+
* @endpoint get /search/facette
|
|
106
107
|
* @param requestParameters
|
|
107
108
|
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
108
109
|
* @param reportProgress flag to report request and response progress.
|
|
110
|
+
* @param options additional options
|
|
109
111
|
*/
|
|
110
112
|
public httpGetSearchFacetteByName(
|
|
111
113
|
requestParameters: HttpGetSearchFacetteByNameRequestParams,
|
|
@@ -147,16 +149,25 @@ export class PublicSearchManagementService extends BaseService {
|
|
|
147
149
|
const ids = requestParameters?.ids;
|
|
148
150
|
const portalId = requestParameters?.portalId;
|
|
149
151
|
|
|
150
|
-
let localVarQueryParameters = new
|
|
151
|
-
|
|
152
|
-
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, <any>
|
|
153
|
-
|
|
154
|
-
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, <any>
|
|
155
|
-
|
|
156
|
-
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, <any>
|
|
157
|
-
|
|
158
|
-
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, <any>
|
|
159
|
-
|
|
152
|
+
let localVarQueryParameters = new OpenApiHttpParams(this.encoder);
|
|
153
|
+
|
|
154
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 'name', <any>name, QueryParamStyle.Form, true);
|
|
155
|
+
|
|
156
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 's', <any>s, QueryParamStyle.Form, true);
|
|
157
|
+
|
|
158
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 'collectiontypeid', <any>collectiontypeid, QueryParamStyle.Form, true);
|
|
159
|
+
|
|
160
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 'collectionid', <any>collectionid, QueryParamStyle.Form, true);
|
|
161
|
+
|
|
162
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 'mode', <any>mode, QueryParamStyle.Form, true);
|
|
163
|
+
|
|
164
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 'filter', <any>filter, QueryParamStyle.Form, true);
|
|
165
|
+
|
|
166
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 'scopefilter', <any>scopefilter, QueryParamStyle.Form, true);
|
|
167
|
+
|
|
168
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 'ids', <any>ids, QueryParamStyle.Form, true);
|
|
169
|
+
|
|
170
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 'portal_id', <any>portalId, QueryParamStyle.Form, true);
|
|
160
171
|
|
|
161
172
|
let localVarHeaders = this.defaultHeaders;
|
|
162
173
|
|
|
@@ -187,21 +198,23 @@ export class PublicSearchManagementService extends BaseService {
|
|
|
187
198
|
const { basePath, withCredentials } = this.configuration;
|
|
188
199
|
return this.httpClient.request<SearchFacet>('get', `${basePath}${localVarPath}`, {
|
|
189
200
|
context: localVarHttpContext,
|
|
190
|
-
params: localVarQueryParameters,
|
|
201
|
+
params: localVarQueryParameters.toHttpParams(),
|
|
191
202
|
responseType: <any>responseType_,
|
|
192
203
|
...(withCredentials ? { withCredentials } : {}),
|
|
193
204
|
headers: localVarHeaders,
|
|
194
205
|
observe: observe,
|
|
195
|
-
transferCache: localVarTransferCache,
|
|
206
|
+
...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
|
|
196
207
|
reportProgress: reportProgress
|
|
197
208
|
});
|
|
198
209
|
}
|
|
199
210
|
|
|
200
211
|
/**
|
|
201
212
|
* This endpoint returns a configured max amount of results for search terms.
|
|
213
|
+
* @endpoint get /search
|
|
202
214
|
* @param requestParameters
|
|
203
215
|
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
204
216
|
* @param reportProgress flag to report request and response progress.
|
|
217
|
+
* @param options additional options
|
|
205
218
|
*/
|
|
206
219
|
public httpGlobalSearch(
|
|
207
220
|
requestParameters: HttpGlobalSearchRequestParams,
|
|
@@ -247,22 +260,37 @@ export class PublicSearchManagementService extends BaseService {
|
|
|
247
260
|
const translations = requestParameters?.translations;
|
|
248
261
|
const acceptLanguage = requestParameters?.acceptLanguage;
|
|
249
262
|
|
|
250
|
-
let localVarQueryParameters = new
|
|
251
|
-
|
|
252
|
-
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, <any>
|
|
253
|
-
|
|
254
|
-
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, <any>
|
|
255
|
-
|
|
256
|
-
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, <any>
|
|
257
|
-
|
|
258
|
-
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, <any>
|
|
259
|
-
|
|
260
|
-
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, <any>
|
|
261
|
-
|
|
262
|
-
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, <any>
|
|
263
|
-
|
|
264
|
-
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, <any>
|
|
265
|
-
|
|
263
|
+
let localVarQueryParameters = new OpenApiHttpParams(this.encoder);
|
|
264
|
+
|
|
265
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 's', <any>s, QueryParamStyle.Form, true);
|
|
266
|
+
|
|
267
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 'limit', <any>limit, QueryParamStyle.Form, true);
|
|
268
|
+
|
|
269
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 'skip', <any>skip, QueryParamStyle.Form, true);
|
|
270
|
+
|
|
271
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 'collectiontypeid', <any>collectiontypeid, QueryParamStyle.Form, true);
|
|
272
|
+
|
|
273
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 'collectionid', <any>collectionid, QueryParamStyle.Form, true);
|
|
274
|
+
|
|
275
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 'mode', <any>mode, QueryParamStyle.Form, true);
|
|
276
|
+
|
|
277
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 'expose', <any>expose, QueryParamStyle.Form, true);
|
|
278
|
+
|
|
279
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 'filter', <any>filter, QueryParamStyle.Form, true);
|
|
280
|
+
|
|
281
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 'broadness', <any>broadness, QueryParamStyle.Form, true);
|
|
282
|
+
|
|
283
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 'rel_id', <any>relId, QueryParamStyle.Form, true);
|
|
284
|
+
|
|
285
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 'scopefilter', <any>scopefilter, QueryParamStyle.Form, true);
|
|
286
|
+
|
|
287
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 'orderby', <any>orderby, QueryParamStyle.Form, true);
|
|
288
|
+
|
|
289
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 'ids', <any>ids, QueryParamStyle.Form, true);
|
|
290
|
+
|
|
291
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 'portal_id', <any>portalId, QueryParamStyle.Form, true);
|
|
292
|
+
|
|
293
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 'translations', <any>translations, QueryParamStyle.Form, true);
|
|
266
294
|
|
|
267
295
|
let localVarHeaders = this.defaultHeaders;
|
|
268
296
|
if (acceptLanguage !== undefined && acceptLanguage !== null) {
|
|
@@ -296,21 +324,23 @@ export class PublicSearchManagementService extends BaseService {
|
|
|
296
324
|
const { basePath, withCredentials } = this.configuration;
|
|
297
325
|
return this.httpClient.request<SearchResult>('get', `${basePath}${localVarPath}`, {
|
|
298
326
|
context: localVarHttpContext,
|
|
299
|
-
params: localVarQueryParameters,
|
|
327
|
+
params: localVarQueryParameters.toHttpParams(),
|
|
300
328
|
responseType: <any>responseType_,
|
|
301
329
|
...(withCredentials ? { withCredentials } : {}),
|
|
302
330
|
headers: localVarHeaders,
|
|
303
331
|
observe: observe,
|
|
304
|
-
transferCache: localVarTransferCache,
|
|
332
|
+
...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
|
|
305
333
|
reportProgress: reportProgress
|
|
306
334
|
});
|
|
307
335
|
}
|
|
308
336
|
|
|
309
337
|
/**
|
|
310
338
|
* This endpoint gives the status about the index and indexer.
|
|
339
|
+
* @endpoint get /searchadmin/status
|
|
311
340
|
* @param requestParameters
|
|
312
341
|
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
313
342
|
* @param reportProgress flag to report request and response progress.
|
|
343
|
+
* @param options additional options
|
|
314
344
|
*/
|
|
315
345
|
public httpSearchAdminGetStatus(
|
|
316
346
|
requestParameters?: HttpSearchAdminGetStatusRequestParams,
|
|
@@ -338,8 +368,9 @@ export class PublicSearchManagementService extends BaseService {
|
|
|
338
368
|
): Observable<any> {
|
|
339
369
|
const portalId = requestParameters?.portalId;
|
|
340
370
|
|
|
341
|
-
let localVarQueryParameters = new
|
|
342
|
-
|
|
371
|
+
let localVarQueryParameters = new OpenApiHttpParams(this.encoder);
|
|
372
|
+
|
|
373
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 'portal_id', <any>portalId, QueryParamStyle.Form, true);
|
|
343
374
|
|
|
344
375
|
let localVarHeaders = this.defaultHeaders;
|
|
345
376
|
|
|
@@ -370,12 +401,12 @@ export class PublicSearchManagementService extends BaseService {
|
|
|
370
401
|
const { basePath, withCredentials } = this.configuration;
|
|
371
402
|
return this.httpClient.request<SearchAdminStatus>('get', `${basePath}${localVarPath}`, {
|
|
372
403
|
context: localVarHttpContext,
|
|
373
|
-
params: localVarQueryParameters,
|
|
404
|
+
params: localVarQueryParameters.toHttpParams(),
|
|
374
405
|
responseType: <any>responseType_,
|
|
375
406
|
...(withCredentials ? { withCredentials } : {}),
|
|
376
407
|
headers: localVarHeaders,
|
|
377
408
|
observe: observe,
|
|
378
|
-
transferCache: localVarTransferCache,
|
|
409
|
+
...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
|
|
379
410
|
reportProgress: reportProgress
|
|
380
411
|
});
|
|
381
412
|
}
|
|
@@ -10,9 +10,9 @@
|
|
|
10
10
|
/* tslint:disable:no-unused-variable member-ordering */
|
|
11
11
|
|
|
12
12
|
import { Inject, Injectable, Optional } from '@angular/core';
|
|
13
|
-
import { HttpClient, HttpHeaders, HttpParams, HttpResponse, HttpEvent,
|
|
14
|
-
import { CustomHttpParameterCodec } from '../encoder';
|
|
13
|
+
import { HttpClient, HttpHeaders, HttpParams, HttpResponse, HttpEvent, HttpContext } from '@angular/common/http';
|
|
15
14
|
import { Observable } from 'rxjs';
|
|
15
|
+
import { OpenApiHttpParams, QueryParamStyle } from '../query.params';
|
|
16
16
|
|
|
17
17
|
// @ts-ignore
|
|
18
18
|
import { AgravityErrorResponse } from '../model/agravityErrorResponse.pub.agravity';
|
|
@@ -88,9 +88,11 @@ export class PublicSharingManagementService extends BaseService {
|
|
|
88
88
|
|
|
89
89
|
/**
|
|
90
90
|
* Returns one single quick share (from ID)
|
|
91
|
+
* @endpoint get /quickshares/{id}
|
|
91
92
|
* @param requestParameters
|
|
92
93
|
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
93
94
|
* @param reportProgress flag to report request and response progress.
|
|
95
|
+
* @param options additional options
|
|
94
96
|
*/
|
|
95
97
|
public httpQuickShareGetById(
|
|
96
98
|
requestParameters: HttpQuickShareGetByIdRequestParams,
|
|
@@ -124,10 +126,13 @@ export class PublicSharingManagementService extends BaseService {
|
|
|
124
126
|
const limit = requestParameters?.limit;
|
|
125
127
|
const orderby = requestParameters?.orderby;
|
|
126
128
|
|
|
127
|
-
let localVarQueryParameters = new
|
|
128
|
-
|
|
129
|
-
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, <any>
|
|
130
|
-
|
|
129
|
+
let localVarQueryParameters = new OpenApiHttpParams(this.encoder);
|
|
130
|
+
|
|
131
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 'continuation_token', <any>continuationToken, QueryParamStyle.Form, true);
|
|
132
|
+
|
|
133
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 'limit', <any>limit, QueryParamStyle.Form, true);
|
|
134
|
+
|
|
135
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 'orderby', <any>orderby, QueryParamStyle.Form, true);
|
|
131
136
|
|
|
132
137
|
let localVarHeaders = this.defaultHeaders;
|
|
133
138
|
|
|
@@ -155,21 +160,23 @@ export class PublicSharingManagementService extends BaseService {
|
|
|
155
160
|
const { basePath, withCredentials } = this.configuration;
|
|
156
161
|
return this.httpClient.request<QuickShareFull>('get', `${basePath}${localVarPath}`, {
|
|
157
162
|
context: localVarHttpContext,
|
|
158
|
-
params: localVarQueryParameters,
|
|
163
|
+
params: localVarQueryParameters.toHttpParams(),
|
|
159
164
|
responseType: <any>responseType_,
|
|
160
165
|
...(withCredentials ? { withCredentials } : {}),
|
|
161
166
|
headers: localVarHeaders,
|
|
162
167
|
observe: observe,
|
|
163
|
-
transferCache: localVarTransferCache,
|
|
168
|
+
...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
|
|
164
169
|
reportProgress: reportProgress
|
|
165
170
|
});
|
|
166
171
|
}
|
|
167
172
|
|
|
168
173
|
/**
|
|
169
174
|
* Returns one single shared collection (from ID)
|
|
175
|
+
* @endpoint get /shared/{id}
|
|
170
176
|
* @param requestParameters
|
|
171
177
|
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
172
178
|
* @param reportProgress flag to report request and response progress.
|
|
179
|
+
* @param options additional options
|
|
173
180
|
*/
|
|
174
181
|
public httpSharedCollectionsGetById(
|
|
175
182
|
requestParameters: HttpSharedCollectionsGetByIdRequestParams,
|
|
@@ -205,10 +212,13 @@ export class PublicSharingManagementService extends BaseService {
|
|
|
205
212
|
const orderby = requestParameters?.orderby;
|
|
206
213
|
const acceptLanguage = requestParameters?.acceptLanguage;
|
|
207
214
|
|
|
208
|
-
let localVarQueryParameters = new
|
|
209
|
-
|
|
210
|
-
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, <any>
|
|
211
|
-
|
|
215
|
+
let localVarQueryParameters = new OpenApiHttpParams(this.encoder);
|
|
216
|
+
|
|
217
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 'continuation_token', <any>continuationToken, QueryParamStyle.Form, true);
|
|
218
|
+
|
|
219
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 'limit', <any>limit, QueryParamStyle.Form, true);
|
|
220
|
+
|
|
221
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 'orderby', <any>orderby, QueryParamStyle.Form, true);
|
|
212
222
|
|
|
213
223
|
let localVarHeaders = this.defaultHeaders;
|
|
214
224
|
if (ayPassword !== undefined && ayPassword !== null) {
|
|
@@ -242,21 +252,23 @@ export class PublicSharingManagementService extends BaseService {
|
|
|
242
252
|
const { basePath, withCredentials } = this.configuration;
|
|
243
253
|
return this.httpClient.request<SharedCollectionFull>('get', `${basePath}${localVarPath}`, {
|
|
244
254
|
context: localVarHttpContext,
|
|
245
|
-
params: localVarQueryParameters,
|
|
255
|
+
params: localVarQueryParameters.toHttpParams(),
|
|
246
256
|
responseType: <any>responseType_,
|
|
247
257
|
...(withCredentials ? { withCredentials } : {}),
|
|
248
258
|
headers: localVarHeaders,
|
|
249
259
|
observe: observe,
|
|
250
|
-
transferCache: localVarTransferCache,
|
|
260
|
+
...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
|
|
251
261
|
reportProgress: reportProgress
|
|
252
262
|
});
|
|
253
263
|
}
|
|
254
264
|
|
|
255
265
|
/**
|
|
256
266
|
* This endpoint gets the progress/status of the ZIP creation of a shared collection.
|
|
267
|
+
* @endpoint get /shared/{id}/zip/{zipId}
|
|
257
268
|
* @param requestParameters
|
|
258
269
|
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
259
270
|
* @param reportProgress flag to report request and response progress.
|
|
271
|
+
* @param options additional options
|
|
260
272
|
*/
|
|
261
273
|
public httpSharedCollectionsGetStatusZipById(
|
|
262
274
|
requestParameters: HttpSharedCollectionsGetStatusZipByIdRequestParams,
|
|
@@ -325,16 +337,18 @@ export class PublicSharingManagementService extends BaseService {
|
|
|
325
337
|
...(withCredentials ? { withCredentials } : {}),
|
|
326
338
|
headers: localVarHeaders,
|
|
327
339
|
observe: observe,
|
|
328
|
-
transferCache: localVarTransferCache,
|
|
340
|
+
...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
|
|
329
341
|
reportProgress: reportProgress
|
|
330
342
|
});
|
|
331
343
|
}
|
|
332
344
|
|
|
333
345
|
/**
|
|
334
346
|
* Initiates the ZIP creation of a shared collection.
|
|
347
|
+
* @endpoint post /shared/{id}/zip
|
|
335
348
|
* @param requestParameters
|
|
336
349
|
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
337
350
|
* @param reportProgress flag to report request and response progress.
|
|
351
|
+
* @param options additional options
|
|
338
352
|
*/
|
|
339
353
|
public httpSharedCollectionsRequestZipById(
|
|
340
354
|
requestParameters: HttpSharedCollectionsRequestZipByIdRequestParams,
|
|
@@ -408,7 +422,7 @@ export class PublicSharingManagementService extends BaseService {
|
|
|
408
422
|
...(withCredentials ? { withCredentials } : {}),
|
|
409
423
|
headers: localVarHeaders,
|
|
410
424
|
observe: observe,
|
|
411
|
-
transferCache: localVarTransferCache,
|
|
425
|
+
...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
|
|
412
426
|
reportProgress: reportProgress
|
|
413
427
|
});
|
|
414
428
|
}
|
|
@@ -10,9 +10,9 @@
|
|
|
10
10
|
/* tslint:disable:no-unused-variable member-ordering */
|
|
11
11
|
|
|
12
12
|
import { Inject, Injectable, Optional } from '@angular/core';
|
|
13
|
-
import { HttpClient, HttpHeaders, HttpParams, HttpResponse, HttpEvent,
|
|
14
|
-
import { CustomHttpParameterCodec } from '../encoder';
|
|
13
|
+
import { HttpClient, HttpHeaders, HttpParams, HttpResponse, HttpEvent, HttpContext } from '@angular/common/http';
|
|
15
14
|
import { Observable } from 'rxjs';
|
|
15
|
+
import { OpenApiHttpParams, QueryParamStyle } from '../query.params';
|
|
16
16
|
|
|
17
17
|
// @ts-ignore
|
|
18
18
|
import { AgravityErrorResponse } from '../model/agravityErrorResponse.pub.agravity';
|
|
@@ -38,8 +38,10 @@ export class PublicSignalRConnectionManagementService extends BaseService {
|
|
|
38
38
|
|
|
39
39
|
/**
|
|
40
40
|
* This endpoint delivers the connection data for a client.
|
|
41
|
+
* @endpoint post /signalr/negotiate
|
|
41
42
|
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
42
43
|
* @param reportProgress flag to report request and response progress.
|
|
44
|
+
* @param options additional options
|
|
43
45
|
*/
|
|
44
46
|
public httpSignalRNegotiate(
|
|
45
47
|
observe?: 'body',
|
|
@@ -94,7 +96,7 @@ export class PublicSignalRConnectionManagementService extends BaseService {
|
|
|
94
96
|
...(withCredentials ? { withCredentials } : {}),
|
|
95
97
|
headers: localVarHeaders,
|
|
96
98
|
observe: observe,
|
|
97
|
-
transferCache: localVarTransferCache,
|
|
99
|
+
...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
|
|
98
100
|
reportProgress: reportProgress
|
|
99
101
|
});
|
|
100
102
|
}
|
|
@@ -10,9 +10,9 @@
|
|
|
10
10
|
/* tslint:disable:no-unused-variable member-ordering */
|
|
11
11
|
|
|
12
12
|
import { Inject, Injectable, Optional } from '@angular/core';
|
|
13
|
-
import { HttpClient, HttpHeaders, HttpParams, HttpResponse, HttpEvent,
|
|
14
|
-
import { CustomHttpParameterCodec } from '../encoder';
|
|
13
|
+
import { HttpClient, HttpHeaders, HttpParams, HttpResponse, HttpEvent, HttpContext } from '@angular/common/http';
|
|
15
14
|
import { Observable } from 'rxjs';
|
|
15
|
+
import { OpenApiHttpParams, QueryParamStyle } from '../query.params';
|
|
16
16
|
|
|
17
17
|
// @ts-ignore
|
|
18
18
|
import { AgravityErrorResponse } from '../model/agravityErrorResponse.pub.agravity';
|
|
@@ -67,9 +67,11 @@ export class PublicStaticDefinedListManagementService extends BaseService {
|
|
|
67
67
|
|
|
68
68
|
/**
|
|
69
69
|
* This endpoint lists all static defined lists in database.
|
|
70
|
+
* @endpoint get /staticdefinedlists
|
|
70
71
|
* @param requestParameters
|
|
71
72
|
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
72
73
|
* @param reportProgress flag to report request and response progress.
|
|
74
|
+
* @param options additional options
|
|
73
75
|
*/
|
|
74
76
|
public httpStaticDefinedListsGetAll(
|
|
75
77
|
requestParameters?: HttpStaticDefinedListsGetAllRequestParams,
|
|
@@ -98,8 +100,9 @@ export class PublicStaticDefinedListManagementService extends BaseService {
|
|
|
98
100
|
const translations = requestParameters?.translations;
|
|
99
101
|
const acceptLanguage = requestParameters?.acceptLanguage;
|
|
100
102
|
|
|
101
|
-
let localVarQueryParameters = new
|
|
102
|
-
|
|
103
|
+
let localVarQueryParameters = new OpenApiHttpParams(this.encoder);
|
|
104
|
+
|
|
105
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 'translations', <any>translations, QueryParamStyle.Form, true);
|
|
103
106
|
|
|
104
107
|
let localVarHeaders = this.defaultHeaders;
|
|
105
108
|
if (acceptLanguage !== undefined && acceptLanguage !== null) {
|
|
@@ -133,21 +136,23 @@ export class PublicStaticDefinedListManagementService extends BaseService {
|
|
|
133
136
|
const { basePath, withCredentials } = this.configuration;
|
|
134
137
|
return this.httpClient.request<Array<StaticDefinedList>>('get', `${basePath}${localVarPath}`, {
|
|
135
138
|
context: localVarHttpContext,
|
|
136
|
-
params: localVarQueryParameters,
|
|
139
|
+
params: localVarQueryParameters.toHttpParams(),
|
|
137
140
|
responseType: <any>responseType_,
|
|
138
141
|
...(withCredentials ? { withCredentials } : {}),
|
|
139
142
|
headers: localVarHeaders,
|
|
140
143
|
observe: observe,
|
|
141
|
-
transferCache: localVarTransferCache,
|
|
144
|
+
...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
|
|
142
145
|
reportProgress: reportProgress
|
|
143
146
|
});
|
|
144
147
|
}
|
|
145
148
|
|
|
146
149
|
/**
|
|
147
150
|
* This endpoint gets a static defined list from database.
|
|
151
|
+
* @endpoint get /staticdefinedlists/{id}
|
|
148
152
|
* @param requestParameters
|
|
149
153
|
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
150
154
|
* @param reportProgress flag to report request and response progress.
|
|
155
|
+
* @param options additional options
|
|
151
156
|
*/
|
|
152
157
|
public httpStaticDefinedListsGetById(
|
|
153
158
|
requestParameters: HttpStaticDefinedListsGetByIdRequestParams,
|
|
@@ -180,8 +185,9 @@ export class PublicStaticDefinedListManagementService extends BaseService {
|
|
|
180
185
|
const translations = requestParameters?.translations;
|
|
181
186
|
const acceptLanguage = requestParameters?.acceptLanguage;
|
|
182
187
|
|
|
183
|
-
let localVarQueryParameters = new
|
|
184
|
-
|
|
188
|
+
let localVarQueryParameters = new OpenApiHttpParams(this.encoder);
|
|
189
|
+
|
|
190
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 'translations', <any>translations, QueryParamStyle.Form, true);
|
|
185
191
|
|
|
186
192
|
let localVarHeaders = this.defaultHeaders;
|
|
187
193
|
if (acceptLanguage !== undefined && acceptLanguage !== null) {
|
|
@@ -215,21 +221,23 @@ export class PublicStaticDefinedListManagementService extends BaseService {
|
|
|
215
221
|
const { basePath, withCredentials } = this.configuration;
|
|
216
222
|
return this.httpClient.request<StaticDefinedList>('get', `${basePath}${localVarPath}`, {
|
|
217
223
|
context: localVarHttpContext,
|
|
218
|
-
params: localVarQueryParameters,
|
|
224
|
+
params: localVarQueryParameters.toHttpParams(),
|
|
219
225
|
responseType: <any>responseType_,
|
|
220
226
|
...(withCredentials ? { withCredentials } : {}),
|
|
221
227
|
headers: localVarHeaders,
|
|
222
228
|
observe: observe,
|
|
223
|
-
transferCache: localVarTransferCache,
|
|
229
|
+
...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
|
|
224
230
|
reportProgress: reportProgress
|
|
225
231
|
});
|
|
226
232
|
}
|
|
227
233
|
|
|
228
234
|
/**
|
|
229
235
|
* This endpoint update a static defined list in database (add, delete or replace values).
|
|
236
|
+
* @endpoint post /staticdefinedlists/{id}
|
|
230
237
|
* @param requestParameters
|
|
231
238
|
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
232
239
|
* @param reportProgress flag to report request and response progress.
|
|
240
|
+
* @param options additional options
|
|
233
241
|
*/
|
|
234
242
|
public httpStaticDefinedListsUpdateById(
|
|
235
243
|
requestParameters: HttpStaticDefinedListsUpdateByIdRequestParams,
|
|
@@ -270,9 +278,11 @@ export class PublicStaticDefinedListManagementService extends BaseService {
|
|
|
270
278
|
const translations = requestParameters?.translations;
|
|
271
279
|
const acceptLanguage = requestParameters?.acceptLanguage;
|
|
272
280
|
|
|
273
|
-
let localVarQueryParameters = new
|
|
274
|
-
|
|
275
|
-
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, <any>
|
|
281
|
+
let localVarQueryParameters = new OpenApiHttpParams(this.encoder);
|
|
282
|
+
|
|
283
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 'translations', <any>translations, QueryParamStyle.Form, true);
|
|
284
|
+
|
|
285
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 'updatemode', <any>updatemode, QueryParamStyle.Form, true);
|
|
276
286
|
|
|
277
287
|
let localVarHeaders = this.defaultHeaders;
|
|
278
288
|
if (acceptLanguage !== undefined && acceptLanguage !== null) {
|
|
@@ -314,12 +324,12 @@ export class PublicStaticDefinedListManagementService extends BaseService {
|
|
|
314
324
|
return this.httpClient.request<StaticDefinedList>('post', `${basePath}${localVarPath}`, {
|
|
315
325
|
context: localVarHttpContext,
|
|
316
326
|
body: staticDefinedList,
|
|
317
|
-
params: localVarQueryParameters,
|
|
327
|
+
params: localVarQueryParameters.toHttpParams(),
|
|
318
328
|
responseType: <any>responseType_,
|
|
319
329
|
...(withCredentials ? { withCredentials } : {}),
|
|
320
330
|
headers: localVarHeaders,
|
|
321
331
|
observe: observe,
|
|
322
|
-
transferCache: localVarTransferCache,
|
|
332
|
+
...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
|
|
323
333
|
reportProgress: reportProgress
|
|
324
334
|
});
|
|
325
335
|
}
|
|
@@ -10,9 +10,9 @@
|
|
|
10
10
|
/* tslint:disable:no-unused-variable member-ordering */
|
|
11
11
|
|
|
12
12
|
import { Inject, Injectable, Optional } from '@angular/core';
|
|
13
|
-
import { HttpClient, HttpHeaders, HttpParams, HttpResponse, HttpEvent,
|
|
14
|
-
import { CustomHttpParameterCodec } from '../encoder';
|
|
13
|
+
import { HttpClient, HttpHeaders, HttpParams, HttpResponse, HttpEvent, HttpContext } from '@angular/common/http';
|
|
15
14
|
import { Observable } from 'rxjs';
|
|
15
|
+
import { OpenApiHttpParams, QueryParamStyle } from '../query.params';
|
|
16
16
|
|
|
17
17
|
// @ts-ignore
|
|
18
18
|
import { AgravityErrorResponse } from '../model/agravityErrorResponse.pub.agravity';
|
|
@@ -59,9 +59,11 @@ export class PublicTranslationManagementService extends BaseService {
|
|
|
59
59
|
|
|
60
60
|
/**
|
|
61
61
|
* Get all the translations of a whole entity (Asset, Collection, Collection Type, Download Format)
|
|
62
|
+
* @endpoint get /translations/{id}
|
|
62
63
|
* @param requestParameters
|
|
63
64
|
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
64
65
|
* @param reportProgress flag to report request and response progress.
|
|
66
|
+
* @param options additional options
|
|
65
67
|
*/
|
|
66
68
|
public httpTranslationsById(
|
|
67
69
|
requestParameters: HttpTranslationsByIdRequestParams,
|
|
@@ -93,8 +95,9 @@ export class PublicTranslationManagementService extends BaseService {
|
|
|
93
95
|
}
|
|
94
96
|
const items = requestParameters?.items;
|
|
95
97
|
|
|
96
|
-
let localVarQueryParameters = new
|
|
97
|
-
|
|
98
|
+
let localVarQueryParameters = new OpenApiHttpParams(this.encoder);
|
|
99
|
+
|
|
100
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 'items', <any>items, QueryParamStyle.Form, true);
|
|
98
101
|
|
|
99
102
|
let localVarHeaders = this.defaultHeaders;
|
|
100
103
|
|
|
@@ -125,21 +128,23 @@ export class PublicTranslationManagementService extends BaseService {
|
|
|
125
128
|
const { basePath, withCredentials } = this.configuration;
|
|
126
129
|
return this.httpClient.request<{ [key: string]: { [key: string]: any } }>('get', `${basePath}${localVarPath}`, {
|
|
127
130
|
context: localVarHttpContext,
|
|
128
|
-
params: localVarQueryParameters,
|
|
131
|
+
params: localVarQueryParameters.toHttpParams(),
|
|
129
132
|
responseType: <any>responseType_,
|
|
130
133
|
...(withCredentials ? { withCredentials } : {}),
|
|
131
134
|
headers: localVarHeaders,
|
|
132
135
|
observe: observe,
|
|
133
|
-
transferCache: localVarTransferCache,
|
|
136
|
+
...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
|
|
134
137
|
reportProgress: reportProgress
|
|
135
138
|
});
|
|
136
139
|
}
|
|
137
140
|
|
|
138
141
|
/**
|
|
139
142
|
* Get the translation of custom field on the entity (Asset, Collection)
|
|
143
|
+
* @endpoint get /translations/{id}/custom/{customField}
|
|
140
144
|
* @param requestParameters
|
|
141
145
|
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
142
146
|
* @param reportProgress flag to report request and response progress.
|
|
147
|
+
* @param options additional options
|
|
143
148
|
*/
|
|
144
149
|
public httpTranslationsByIdFilterByCustomField(
|
|
145
150
|
requestParameters: HttpTranslationsByIdFilterByCustomFieldRequestParams,
|
|
@@ -207,16 +212,18 @@ export class PublicTranslationManagementService extends BaseService {
|
|
|
207
212
|
...(withCredentials ? { withCredentials } : {}),
|
|
208
213
|
headers: localVarHeaders,
|
|
209
214
|
observe: observe,
|
|
210
|
-
transferCache: localVarTransferCache,
|
|
215
|
+
...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
|
|
211
216
|
reportProgress: reportProgress
|
|
212
217
|
});
|
|
213
218
|
}
|
|
214
219
|
|
|
215
220
|
/**
|
|
216
221
|
* Get the translations of a specific field on the entity (Asset, Collection, Collection Type, Download Format)
|
|
222
|
+
* @endpoint get /translations/{id}/{property}
|
|
217
223
|
* @param requestParameters
|
|
218
224
|
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
219
225
|
* @param reportProgress flag to report request and response progress.
|
|
226
|
+
* @param options additional options
|
|
220
227
|
*/
|
|
221
228
|
public httpTranslationsByIdFilterByProperty(
|
|
222
229
|
requestParameters: HttpTranslationsByIdFilterByPropertyRequestParams,
|
|
@@ -252,8 +259,9 @@ export class PublicTranslationManagementService extends BaseService {
|
|
|
252
259
|
}
|
|
253
260
|
const items = requestParameters?.items;
|
|
254
261
|
|
|
255
|
-
let localVarQueryParameters = new
|
|
256
|
-
|
|
262
|
+
let localVarQueryParameters = new OpenApiHttpParams(this.encoder);
|
|
263
|
+
|
|
264
|
+
localVarQueryParameters = this.addToHttpParams(localVarQueryParameters, 'items', <any>items, QueryParamStyle.Form, true);
|
|
257
265
|
|
|
258
266
|
let localVarHeaders = this.defaultHeaders;
|
|
259
267
|
|
|
@@ -284,12 +292,12 @@ export class PublicTranslationManagementService extends BaseService {
|
|
|
284
292
|
const { basePath, withCredentials } = this.configuration;
|
|
285
293
|
return this.httpClient.request<{ [key: string]: { [key: string]: any } }>('get', `${basePath}${localVarPath}`, {
|
|
286
294
|
context: localVarHttpContext,
|
|
287
|
-
params: localVarQueryParameters,
|
|
295
|
+
params: localVarQueryParameters.toHttpParams(),
|
|
288
296
|
responseType: <any>responseType_,
|
|
289
297
|
...(withCredentials ? { withCredentials } : {}),
|
|
290
298
|
headers: localVarHeaders,
|
|
291
299
|
observe: observe,
|
|
292
|
-
transferCache: localVarTransferCache,
|
|
300
|
+
...(localVarTransferCache !== undefined ? { transferCache: localVarTransferCache } : {}),
|
|
293
301
|
reportProgress: reportProgress
|
|
294
302
|
});
|
|
295
303
|
}
|