@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
|
@@ -0,0 +1,187 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Agravity OpenAPI Documentation - Private Functions
|
|
3
|
+
*
|
|
4
|
+
* Contact: office@agravity.io
|
|
5
|
+
*
|
|
6
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
7
|
+
* https://openapi-generator.tech
|
|
8
|
+
* Do not edit the class manually.
|
|
9
|
+
*/
|
|
10
|
+
/* tslint:disable:no-unused-variable member-ordering */
|
|
11
|
+
|
|
12
|
+
import { Inject, Injectable, Optional } from '@angular/core';
|
|
13
|
+
import { HttpClient, HttpHeaders, HttpParams, HttpResponse, HttpEvent, HttpParameterCodec, HttpContext } from '@angular/common/http';
|
|
14
|
+
import { CustomHttpParameterCodec } from '../encoder';
|
|
15
|
+
import { Observable } from 'rxjs';
|
|
16
|
+
|
|
17
|
+
// @ts-ignore
|
|
18
|
+
import { AgravityErrorResponse } from '../model/agravityErrorResponse.agravity';
|
|
19
|
+
// @ts-ignore
|
|
20
|
+
import { SearchSettings } from '../model/searchSettings.agravity';
|
|
21
|
+
|
|
22
|
+
// @ts-ignore
|
|
23
|
+
import { BASE_PATH, COLLECTION_FORMATS } from '../variables';
|
|
24
|
+
import { AgravityConfiguration } from '../configuration';
|
|
25
|
+
import { BaseService } from '../api.base.service';
|
|
26
|
+
|
|
27
|
+
export interface HttpSearchSettingsPutRequestParams {
|
|
28
|
+
/** This endpoint overwrites the Search setting. */
|
|
29
|
+
searchSettings: SearchSettings;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
@Injectable({
|
|
33
|
+
providedIn: 'root'
|
|
34
|
+
})
|
|
35
|
+
export class SearchSettingsOperationsService extends BaseService {
|
|
36
|
+
constructor(
|
|
37
|
+
protected httpClient: HttpClient,
|
|
38
|
+
@Optional() @Inject(BASE_PATH) basePath: string | string[],
|
|
39
|
+
@Optional() configuration?: AgravityConfiguration
|
|
40
|
+
) {
|
|
41
|
+
super(basePath, configuration);
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
/**
|
|
45
|
+
* This endpoint lists all search settings in database.
|
|
46
|
+
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
47
|
+
* @param reportProgress flag to report request and response progress.
|
|
48
|
+
*/
|
|
49
|
+
public httpSearchSettingsGet(
|
|
50
|
+
observe?: 'body',
|
|
51
|
+
reportProgress?: boolean,
|
|
52
|
+
options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; transferCache?: boolean }
|
|
53
|
+
): Observable<SearchSettings>;
|
|
54
|
+
public httpSearchSettingsGet(
|
|
55
|
+
observe?: 'response',
|
|
56
|
+
reportProgress?: boolean,
|
|
57
|
+
options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; transferCache?: boolean }
|
|
58
|
+
): Observable<HttpResponse<SearchSettings>>;
|
|
59
|
+
public httpSearchSettingsGet(
|
|
60
|
+
observe?: 'events',
|
|
61
|
+
reportProgress?: boolean,
|
|
62
|
+
options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; transferCache?: boolean }
|
|
63
|
+
): Observable<HttpEvent<SearchSettings>>;
|
|
64
|
+
public httpSearchSettingsGet(
|
|
65
|
+
observe: any = 'body',
|
|
66
|
+
reportProgress: boolean = false,
|
|
67
|
+
options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; transferCache?: boolean }
|
|
68
|
+
): Observable<any> {
|
|
69
|
+
let localVarHeaders = this.defaultHeaders;
|
|
70
|
+
|
|
71
|
+
// authentication (msal_auth) required
|
|
72
|
+
localVarHeaders = this.configuration.addCredentialToHeaders('msal_auth', 'Authorization', localVarHeaders, 'Bearer ');
|
|
73
|
+
|
|
74
|
+
const localVarHttpHeaderAcceptSelected: string | undefined = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept(['application/json']);
|
|
75
|
+
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
76
|
+
localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
const localVarHttpContext: HttpContext = options?.context ?? new HttpContext();
|
|
80
|
+
|
|
81
|
+
const localVarTransferCache: boolean = options?.transferCache ?? true;
|
|
82
|
+
|
|
83
|
+
let responseType_: 'text' | 'json' | 'blob' = 'json';
|
|
84
|
+
if (localVarHttpHeaderAcceptSelected) {
|
|
85
|
+
if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
|
|
86
|
+
responseType_ = 'text';
|
|
87
|
+
} else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
88
|
+
responseType_ = 'json';
|
|
89
|
+
} else {
|
|
90
|
+
responseType_ = 'blob';
|
|
91
|
+
}
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
let localVarPath = `/searchsettings`;
|
|
95
|
+
const { basePath, withCredentials } = this.configuration;
|
|
96
|
+
return this.httpClient.request<SearchSettings>('get', `${basePath}${localVarPath}`, {
|
|
97
|
+
context: localVarHttpContext,
|
|
98
|
+
responseType: <any>responseType_,
|
|
99
|
+
...(withCredentials ? { withCredentials } : {}),
|
|
100
|
+
headers: localVarHeaders,
|
|
101
|
+
observe: observe,
|
|
102
|
+
transferCache: localVarTransferCache,
|
|
103
|
+
reportProgress: reportProgress
|
|
104
|
+
});
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
/**
|
|
108
|
+
* This endpoint creates one search settings entry in the database.
|
|
109
|
+
* @param requestParameters
|
|
110
|
+
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
111
|
+
* @param reportProgress flag to report request and response progress.
|
|
112
|
+
*/
|
|
113
|
+
public httpSearchSettingsPut(
|
|
114
|
+
requestParameters: HttpSearchSettingsPutRequestParams,
|
|
115
|
+
observe?: 'body',
|
|
116
|
+
reportProgress?: boolean,
|
|
117
|
+
options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; transferCache?: boolean }
|
|
118
|
+
): Observable<SearchSettings>;
|
|
119
|
+
public httpSearchSettingsPut(
|
|
120
|
+
requestParameters: HttpSearchSettingsPutRequestParams,
|
|
121
|
+
observe?: 'response',
|
|
122
|
+
reportProgress?: boolean,
|
|
123
|
+
options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; transferCache?: boolean }
|
|
124
|
+
): Observable<HttpResponse<SearchSettings>>;
|
|
125
|
+
public httpSearchSettingsPut(
|
|
126
|
+
requestParameters: HttpSearchSettingsPutRequestParams,
|
|
127
|
+
observe?: 'events',
|
|
128
|
+
reportProgress?: boolean,
|
|
129
|
+
options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; transferCache?: boolean }
|
|
130
|
+
): Observable<HttpEvent<SearchSettings>>;
|
|
131
|
+
public httpSearchSettingsPut(
|
|
132
|
+
requestParameters: HttpSearchSettingsPutRequestParams,
|
|
133
|
+
observe: any = 'body',
|
|
134
|
+
reportProgress: boolean = false,
|
|
135
|
+
options?: { httpHeaderAccept?: 'application/json'; context?: HttpContext; transferCache?: boolean }
|
|
136
|
+
): Observable<any> {
|
|
137
|
+
const searchSettings = requestParameters?.searchSettings;
|
|
138
|
+
if (searchSettings === null || searchSettings === undefined) {
|
|
139
|
+
throw new Error('Required parameter searchSettings was null or undefined when calling httpSearchSettingsPut.');
|
|
140
|
+
}
|
|
141
|
+
|
|
142
|
+
let localVarHeaders = this.defaultHeaders;
|
|
143
|
+
|
|
144
|
+
// authentication (msal_auth) required
|
|
145
|
+
localVarHeaders = this.configuration.addCredentialToHeaders('msal_auth', 'Authorization', localVarHeaders, 'Bearer ');
|
|
146
|
+
|
|
147
|
+
const localVarHttpHeaderAcceptSelected: string | undefined = options?.httpHeaderAccept ?? this.configuration.selectHeaderAccept(['application/json']);
|
|
148
|
+
if (localVarHttpHeaderAcceptSelected !== undefined) {
|
|
149
|
+
localVarHeaders = localVarHeaders.set('Accept', localVarHttpHeaderAcceptSelected);
|
|
150
|
+
}
|
|
151
|
+
|
|
152
|
+
const localVarHttpContext: HttpContext = options?.context ?? new HttpContext();
|
|
153
|
+
|
|
154
|
+
const localVarTransferCache: boolean = options?.transferCache ?? true;
|
|
155
|
+
|
|
156
|
+
// to determine the Content-Type header
|
|
157
|
+
const consumes: string[] = ['application/json'];
|
|
158
|
+
const httpContentTypeSelected: string | undefined = this.configuration.selectHeaderContentType(consumes);
|
|
159
|
+
if (httpContentTypeSelected !== undefined) {
|
|
160
|
+
localVarHeaders = localVarHeaders.set('Content-Type', httpContentTypeSelected);
|
|
161
|
+
}
|
|
162
|
+
|
|
163
|
+
let responseType_: 'text' | 'json' | 'blob' = 'json';
|
|
164
|
+
if (localVarHttpHeaderAcceptSelected) {
|
|
165
|
+
if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
|
|
166
|
+
responseType_ = 'text';
|
|
167
|
+
} else if (this.configuration.isJsonMime(localVarHttpHeaderAcceptSelected)) {
|
|
168
|
+
responseType_ = 'json';
|
|
169
|
+
} else {
|
|
170
|
+
responseType_ = 'blob';
|
|
171
|
+
}
|
|
172
|
+
}
|
|
173
|
+
|
|
174
|
+
let localVarPath = `/searchsettings`;
|
|
175
|
+
const { basePath, withCredentials } = this.configuration;
|
|
176
|
+
return this.httpClient.request<SearchSettings>('put', `${basePath}${localVarPath}`, {
|
|
177
|
+
context: localVarHttpContext,
|
|
178
|
+
body: searchSettings,
|
|
179
|
+
responseType: <any>responseType_,
|
|
180
|
+
...(withCredentials ? { withCredentials } : {}),
|
|
181
|
+
headers: localVarHeaders,
|
|
182
|
+
observe: observe,
|
|
183
|
+
transferCache: localVarTransferCache,
|
|
184
|
+
reportProgress: reportProgress
|
|
185
|
+
});
|
|
186
|
+
}
|
|
187
|
+
}
|