@agravity/private 9.3.0 → 10.0.0
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 +11 -3
- package/.openapi-generator/VERSION +1 -1
- package/README.md +97 -142
- package/api/aIOperations.agravity.ts +878 -0
- package/api/api.ts +9 -3
- package/api/assetIconRuleManagement.agravity.ts +59 -190
- package/api/assetManagement.agravity.ts +118 -355
- package/api/assetOperations.agravity.ts +290 -917
- package/api/assetPublishing.agravity.ts +107 -288
- package/api/assetRelationManagement.agravity.ts +61 -196
- package/api/assetRelationTypeManagement.agravity.ts +70 -215
- package/api/assetVersioning.agravity.ts +105 -300
- package/api/authenticationManagement.agravity.ts +137 -392
- package/api/collectionManagement.agravity.ts +217 -376
- package/api/collectionShareManagement.agravity.ts +59 -190
- package/api/collectionTypeItemBlueprintManagement.agravity.ts +47 -162
- package/api/collectionTypeManagement.agravity.ts +91 -270
- package/api/commentsManagement.agravity.ts +48 -157
- package/api/configurationManagement.agravity.ts +53 -180
- package/api/dashboardWidgetManagement.agravity.ts +56 -181
- package/api/dataImportExportManagement.agravity.ts +58 -203
- package/api/downloadFormatManagement.agravity.ts +70 -215
- package/api/downloadZip.agravity.ts +37 -132
- package/api/generalManagement.agravity.ts +64 -229
- package/api/helperTools.agravity.ts +214 -404
- package/api/historyEntryManagement.agravity.ts +16 -85
- package/api/iccProfileManagement.agravity.ts +11 -78
- package/api/listBlobs.agravity.ts +18 -99
- package/api/listQueues.agravity.ts +11 -78
- package/api/listTables.agravity.ts +11 -78
- package/api/notificationManagement.agravity.ts +267 -0
- package/api/permissionsManagement.agravity.ts +44 -153
- package/api/portalManagement.agravity.ts +88 -253
- package/api/portalsUsersManagement.agravity.ts +55 -178
- package/api/publishing.agravity.ts +13 -84
- package/api/quickshareManagement.agravity.ts +67 -214
- package/api/savedSearchManagement.agravity.ts +37 -140
- package/api/searchManagement.agravity.ts +102 -327
- package/api/searchSettingsOperations.agravity.ts +187 -0
- package/api/secureUpload.agravity.ts +68 -209
- package/api/signalRConnectionManagement.agravity.ts +26 -109
- package/api/staticDefinedListManagement.agravity.ts +60 -193
- package/api/stockImport.agravity.ts +31 -122
- package/api/structureImport.agravity.ts +11 -78
- package/api/translationManagement.agravity.ts +86 -229
- package/api/webAppData.agravity.ts +48 -157
- package/api/widgetLayoutManagement.agravity.ts +22 -103
- package/api/wordpressManagement.agravity.ts +34 -131
- package/api/workspaceManagement.agravity.ts +77 -236
- package/api.base.service.ts +78 -0
- package/configuration.ts +33 -17
- package/index.ts +1 -0
- package/model/{aiGroupEntity.agravity.ts → aiAsset.agravity.ts} +2 -3
- package/model/aiFieldGeneration.agravity.ts +1 -5
- package/model/{aiGroup.agravity.ts → aiModelDeployment.agravity.ts} +6 -5
- package/model/aiSettings.agravity.ts +4 -3
- package/model/aiTypeSettings.agravity.ts +17 -0
- package/model/asset.agravity.ts +6 -6
- package/model/assetBlob.agravity.ts +15 -15
- package/model/assetIconRule.agravity.ts +1 -1
- package/model/assetRelationType.agravity.ts +1 -1
- package/model/azureIdentity.agravity.ts +7 -7
- package/model/collTypeItem.agravity.ts +1 -1
- package/model/collTypeItemBlueprint.agravity.ts +1 -1
- package/model/collection.agravity.ts +6 -6
- package/model/collectionType.agravity.ts +6 -6
- package/model/collectionUDL.agravity.ts +1 -1
- package/model/comment.agravity.ts +1 -0
- package/model/dashboardWidget.agravity.ts +1 -1
- package/model/downloadFormat.agravity.ts +1 -1
- package/model/downloadZipRequest.agravity.ts +6 -6
- package/model/downloadZipStatus.agravity.ts +6 -6
- package/model/entityIdName.agravity.ts +1 -1
- package/model/entityTranslations.agravity.ts +1 -1
- package/model/groupAllAppData.agravity.ts +1 -1
- package/model/historyEntry.agravity.ts +16 -30
- package/model/models.ts +5 -2
- package/model/notificationSettingDto.agravity.ts +18 -0
- package/model/permissionChange.agravity.ts +7 -7
- package/model/permissionEntity.agravity.ts +5 -5
- package/model/portalAuthentication.agravity.ts +7 -7
- package/model/portalTheme.agravity.ts +1 -1
- package/model/publishedAsset.agravity.ts +1 -1
- package/model/savedSearch.agravity.ts +1 -1
- package/model/searchSettings.agravity.ts +26 -0
- package/model/staticDefinedList.agravity.ts +1 -1
- package/model/uiTutorials.agravity.ts +4 -4
- package/model/whereParam.agravity.ts +17 -17
- package/model/workspace.agravity.ts +1 -1
- package/package.json +5 -4
- package/provide-api.ts +15 -0
- package/tsconfig.json +2 -0
- package/api/aISettingsManagement.agravity.ts +0 -264
|
@@ -24,6 +24,7 @@ import { SignalRConnectionInfo } from '../model/signalRConnectionInfo.agravity';
|
|
|
24
24
|
// @ts-ignore
|
|
25
25
|
import { BASE_PATH, COLLECTION_FORMATS } from '../variables';
|
|
26
26
|
import { AgravityConfiguration } from '../configuration';
|
|
27
|
+
import { BaseService } from '../api.base.service';
|
|
27
28
|
|
|
28
29
|
export interface HttpSignalRSendMessageToUserRequestParams {
|
|
29
30
|
/** The ID of the user to which the message should be sent to. */
|
|
@@ -33,67 +34,13 @@ export interface HttpSignalRSendMessageToUserRequestParams {
|
|
|
33
34
|
@Injectable({
|
|
34
35
|
providedIn: 'root'
|
|
35
36
|
})
|
|
36
|
-
export class SignalRConnectionManagementService {
|
|
37
|
-
protected basePath = 'http://localhost:7071/api';
|
|
38
|
-
public defaultHeaders = new HttpHeaders();
|
|
39
|
-
public configuration = new AgravityConfiguration();
|
|
40
|
-
public encoder: HttpParameterCodec;
|
|
41
|
-
|
|
37
|
+
export class SignalRConnectionManagementService extends BaseService {
|
|
42
38
|
constructor(
|
|
43
39
|
protected httpClient: HttpClient,
|
|
44
40
|
@Optional() @Inject(BASE_PATH) basePath: string | string[],
|
|
45
|
-
@Optional() configuration
|
|
41
|
+
@Optional() configuration?: AgravityConfiguration
|
|
46
42
|
) {
|
|
47
|
-
|
|
48
|
-
this.configuration = configuration;
|
|
49
|
-
}
|
|
50
|
-
if (typeof this.configuration.basePath !== 'string') {
|
|
51
|
-
const firstBasePath = Array.isArray(basePath) ? basePath[0] : undefined;
|
|
52
|
-
if (firstBasePath != undefined) {
|
|
53
|
-
basePath = firstBasePath;
|
|
54
|
-
}
|
|
55
|
-
|
|
56
|
-
if (typeof basePath !== 'string') {
|
|
57
|
-
basePath = this.basePath;
|
|
58
|
-
}
|
|
59
|
-
this.configuration.basePath = basePath;
|
|
60
|
-
}
|
|
61
|
-
this.encoder = this.configuration.encoder || new CustomHttpParameterCodec();
|
|
62
|
-
}
|
|
63
|
-
|
|
64
|
-
// @ts-ignore
|
|
65
|
-
private addToHttpParams(httpParams: HttpParams, value: any, key?: string): HttpParams {
|
|
66
|
-
if (typeof value === 'object' && value instanceof Date === false) {
|
|
67
|
-
httpParams = this.addToHttpParamsRecursive(httpParams, value);
|
|
68
|
-
} else {
|
|
69
|
-
httpParams = this.addToHttpParamsRecursive(httpParams, value, key);
|
|
70
|
-
}
|
|
71
|
-
return httpParams;
|
|
72
|
-
}
|
|
73
|
-
|
|
74
|
-
private addToHttpParamsRecursive(httpParams: HttpParams, value?: any, key?: string): HttpParams {
|
|
75
|
-
if (value == null) {
|
|
76
|
-
return httpParams;
|
|
77
|
-
}
|
|
78
|
-
|
|
79
|
-
if (typeof value === 'object') {
|
|
80
|
-
if (Array.isArray(value)) {
|
|
81
|
-
(value as any[]).forEach((elem) => (httpParams = this.addToHttpParamsRecursive(httpParams, elem, key)));
|
|
82
|
-
} else if (value instanceof Date) {
|
|
83
|
-
if (key != null) {
|
|
84
|
-
httpParams = httpParams.append(key, (value as Date).toISOString().substring(0, 10));
|
|
85
|
-
} else {
|
|
86
|
-
throw Error('key may not be null if value is Date');
|
|
87
|
-
}
|
|
88
|
-
} else {
|
|
89
|
-
Object.keys(value).forEach((k) => (httpParams = this.addToHttpParamsRecursive(httpParams, value[k], key != null ? `${key}.${k}` : k)));
|
|
90
|
-
}
|
|
91
|
-
} else if (key != null) {
|
|
92
|
-
httpParams = httpParams.append(key, value);
|
|
93
|
-
} else {
|
|
94
|
-
throw Error('key may not be null if value is not object or array');
|
|
95
|
-
}
|
|
96
|
-
return httpParams;
|
|
43
|
+
super(basePath, configuration);
|
|
97
44
|
}
|
|
98
45
|
|
|
99
46
|
/**
|
|
@@ -123,25 +70,14 @@ export class SignalRConnectionManagementService {
|
|
|
123
70
|
): Observable<any> {
|
|
124
71
|
let localVarHeaders = this.defaultHeaders;
|
|
125
72
|
|
|
126
|
-
|
|
127
|
-
if (localVarHttpHeaderAcceptSelected === undefined) {
|
|
128
|
-
// to determine the Accept header
|
|
129
|
-
const httpHeaderAccepts: string[] = ['application/json'];
|
|
130
|
-
localVarHttpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
|
|
131
|
-
}
|
|
73
|
+
const localVarHttpHeaderAcceptSelected: string | undefined = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept(['application/json']);
|
|
132
74
|
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
133
75
|
localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
|
|
134
76
|
}
|
|
135
77
|
|
|
136
|
-
|
|
137
|
-
if (localVarHttpContext === undefined) {
|
|
138
|
-
localVarHttpContext = new HttpContext();
|
|
139
|
-
}
|
|
78
|
+
const localVarHttpContext: HttpContext = options?.context ?? new HttpContext();
|
|
140
79
|
|
|
141
|
-
|
|
142
|
-
if (localVarTransferCache === undefined) {
|
|
143
|
-
localVarTransferCache = true;
|
|
144
|
-
}
|
|
80
|
+
const localVarTransferCache: boolean = options?.transferCache ?? true;
|
|
145
81
|
|
|
146
82
|
let responseType_: 'text' | 'json' | 'blob' = 'json';
|
|
147
83
|
if (localVarHttpHeaderAcceptSelected) {
|
|
@@ -155,10 +91,11 @@ export class SignalRConnectionManagementService {
|
|
|
155
91
|
}
|
|
156
92
|
|
|
157
93
|
let localVarPath = `/signalr/negotiate`;
|
|
158
|
-
|
|
94
|
+
const { basePath, withCredentials } = this.configuration;
|
|
95
|
+
return this.httpClient.request<SignalRConnectionInfo>('post', `${basePath}${localVarPath}`, {
|
|
159
96
|
context: localVarHttpContext,
|
|
160
97
|
responseType: <any>responseType_,
|
|
161
|
-
withCredentials:
|
|
98
|
+
...(withCredentials ? { withCredentials } : {}),
|
|
162
99
|
headers: localVarHeaders,
|
|
163
100
|
observe: observe,
|
|
164
101
|
transferCache: localVarTransferCache,
|
|
@@ -193,25 +130,14 @@ export class SignalRConnectionManagementService {
|
|
|
193
130
|
): Observable<any> {
|
|
194
131
|
let localVarHeaders = this.defaultHeaders;
|
|
195
132
|
|
|
196
|
-
|
|
197
|
-
if (localVarHttpHeaderAcceptSelected === undefined) {
|
|
198
|
-
// to determine the Accept header
|
|
199
|
-
const httpHeaderAccepts: string[] = ['application/json'];
|
|
200
|
-
localVarHttpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
|
|
201
|
-
}
|
|
133
|
+
const localVarHttpHeaderAcceptSelected: string | undefined = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept(['application/json']);
|
|
202
134
|
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
203
135
|
localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
|
|
204
136
|
}
|
|
205
137
|
|
|
206
|
-
|
|
207
|
-
if (localVarHttpContext === undefined) {
|
|
208
|
-
localVarHttpContext = new HttpContext();
|
|
209
|
-
}
|
|
138
|
+
const localVarHttpContext: HttpContext = options?.context ?? new HttpContext();
|
|
210
139
|
|
|
211
|
-
|
|
212
|
-
if (localVarTransferCache === undefined) {
|
|
213
|
-
localVarTransferCache = true;
|
|
214
|
-
}
|
|
140
|
+
const localVarTransferCache: boolean = options?.transferCache ?? true;
|
|
215
141
|
|
|
216
142
|
let responseType_: 'text' | 'json' | 'blob' = 'json';
|
|
217
143
|
if (localVarHttpHeaderAcceptSelected) {
|
|
@@ -225,10 +151,11 @@ export class SignalRConnectionManagementService {
|
|
|
225
151
|
}
|
|
226
152
|
|
|
227
153
|
let localVarPath = `/signalr/messages`;
|
|
228
|
-
|
|
154
|
+
const { basePath, withCredentials } = this.configuration;
|
|
155
|
+
return this.httpClient.request<AgravityInfoResponse>('post', `${basePath}${localVarPath}`, {
|
|
229
156
|
context: localVarHttpContext,
|
|
230
157
|
responseType: <any>responseType_,
|
|
231
|
-
withCredentials:
|
|
158
|
+
...(withCredentials ? { withCredentials } : {}),
|
|
232
159
|
headers: localVarHeaders,
|
|
233
160
|
observe: observe,
|
|
234
161
|
transferCache: localVarTransferCache,
|
|
@@ -243,25 +170,25 @@ export class SignalRConnectionManagementService {
|
|
|
243
170
|
* @param reportProgress flag to report request and response progress.
|
|
244
171
|
*/
|
|
245
172
|
public httpSignalRSendMessageToUser(
|
|
246
|
-
requestParameters
|
|
173
|
+
requestParameters: HttpSignalRSendMessageToUserRequestParams,
|
|
247
174
|
observe?: 'body',
|
|
248
175
|
reportProgress?: boolean,
|
|
249
176
|
options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; transferCache?: boolean }
|
|
250
177
|
): Observable<AgravityInfoResponse>;
|
|
251
178
|
public httpSignalRSendMessageToUser(
|
|
252
|
-
requestParameters
|
|
179
|
+
requestParameters: HttpSignalRSendMessageToUserRequestParams,
|
|
253
180
|
observe?: 'response',
|
|
254
181
|
reportProgress?: boolean,
|
|
255
182
|
options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; transferCache?: boolean }
|
|
256
183
|
): Observable<HttpResponse<AgravityInfoResponse>>;
|
|
257
184
|
public httpSignalRSendMessageToUser(
|
|
258
|
-
requestParameters
|
|
185
|
+
requestParameters: HttpSignalRSendMessageToUserRequestParams,
|
|
259
186
|
observe?: 'events',
|
|
260
187
|
reportProgress?: boolean,
|
|
261
188
|
options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; transferCache?: boolean }
|
|
262
189
|
): Observable<HttpEvent<AgravityInfoResponse>>;
|
|
263
190
|
public httpSignalRSendMessageToUser(
|
|
264
|
-
requestParameters
|
|
191
|
+
requestParameters: HttpSignalRSendMessageToUserRequestParams,
|
|
265
192
|
observe: any = 'body',
|
|
266
193
|
reportProgress: boolean = false,
|
|
267
194
|
options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; transferCache?: boolean }
|
|
@@ -273,25 +200,14 @@ export class SignalRConnectionManagementService {
|
|
|
273
200
|
|
|
274
201
|
let localVarHeaders = this.defaultHeaders;
|
|
275
202
|
|
|
276
|
-
|
|
277
|
-
if (localVarHttpHeaderAcceptSelected === undefined) {
|
|
278
|
-
// to determine the Accept header
|
|
279
|
-
const httpHeaderAccepts: string[] = ['application/json'];
|
|
280
|
-
localVarHttpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
|
|
281
|
-
}
|
|
203
|
+
const localVarHttpHeaderAcceptSelected: string | undefined = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept(['application/json']);
|
|
282
204
|
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
283
205
|
localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
|
|
284
206
|
}
|
|
285
207
|
|
|
286
|
-
|
|
287
|
-
if (localVarHttpContext === undefined) {
|
|
288
|
-
localVarHttpContext = new HttpContext();
|
|
289
|
-
}
|
|
208
|
+
const localVarHttpContext: HttpContext = options?.context ?? new HttpContext();
|
|
290
209
|
|
|
291
|
-
|
|
292
|
-
if (localVarTransferCache === undefined) {
|
|
293
|
-
localVarTransferCache = true;
|
|
294
|
-
}
|
|
210
|
+
const localVarTransferCache: boolean = options?.transferCache ?? true;
|
|
295
211
|
|
|
296
212
|
let responseType_: 'text' | 'json' | 'blob' = 'json';
|
|
297
213
|
if (localVarHttpHeaderAcceptSelected) {
|
|
@@ -305,10 +221,11 @@ export class SignalRConnectionManagementService {
|
|
|
305
221
|
}
|
|
306
222
|
|
|
307
223
|
let localVarPath = `/signalr/info/${this.configuration.encodeParam({ name: 'id', value: id, in: 'path', style: 'simple', explode: false, dataType: 'string', dataFormat: undefined })}`;
|
|
308
|
-
|
|
224
|
+
const { basePath, withCredentials } = this.configuration;
|
|
225
|
+
return this.httpClient.request<AgravityInfoResponse>('post', `${basePath}${localVarPath}`, {
|
|
309
226
|
context: localVarHttpContext,
|
|
310
227
|
responseType: <any>responseType_,
|
|
311
|
-
withCredentials:
|
|
228
|
+
...(withCredentials ? { withCredentials } : {}),
|
|
312
229
|
headers: localVarHeaders,
|
|
313
230
|
observe: observe,
|
|
314
231
|
transferCache: localVarTransferCache,
|