@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,78 @@
|
|
|
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
|
+
import { HttpHeaders, HttpParams, HttpParameterCodec } from '@angular/common/http';
|
|
11
|
+
import { CustomHttpParameterCodec } from './encoder';
|
|
12
|
+
import { AgravityConfiguration } from './configuration';
|
|
13
|
+
|
|
14
|
+
export class BaseService {
|
|
15
|
+
protected basePath = 'http://localhost:7071/api';
|
|
16
|
+
public defaultHeaders = new HttpHeaders();
|
|
17
|
+
public configuration: AgravityConfiguration;
|
|
18
|
+
public encoder: HttpParameterCodec;
|
|
19
|
+
|
|
20
|
+
constructor(basePath?: string | string[], configuration?: AgravityConfiguration) {
|
|
21
|
+
this.configuration = configuration || new AgravityConfiguration();
|
|
22
|
+
if (typeof this.configuration.basePath !== 'string') {
|
|
23
|
+
const firstBasePath = Array.isArray(basePath) ? basePath[0] : undefined;
|
|
24
|
+
if (firstBasePath != undefined) {
|
|
25
|
+
basePath = firstBasePath;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
if (typeof basePath !== 'string') {
|
|
29
|
+
basePath = this.basePath;
|
|
30
|
+
}
|
|
31
|
+
this.configuration.basePath = basePath;
|
|
32
|
+
}
|
|
33
|
+
this.encoder = this.configuration.encoder || new CustomHttpParameterCodec();
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
protected canConsumeForm(consumes: string[]): boolean {
|
|
37
|
+
return consumes.indexOf('multipart/form-data') !== -1;
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
protected addToHttpParams(httpParams: HttpParams, value: any, key?: string, isDeep: boolean = false): HttpParams {
|
|
41
|
+
// If the value is an object (but not a Date), recursively add its keys.
|
|
42
|
+
if (typeof value === 'object' && !(value instanceof Date)) {
|
|
43
|
+
return this.addToHttpParamsRecursive(httpParams, value, isDeep ? key : undefined, isDeep);
|
|
44
|
+
}
|
|
45
|
+
return this.addToHttpParamsRecursive(httpParams, value, key);
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
protected addToHttpParamsRecursive(httpParams: HttpParams, value?: any, key?: string, isDeep: boolean = false): HttpParams {
|
|
49
|
+
if (value === null || value === undefined) {
|
|
50
|
+
return httpParams;
|
|
51
|
+
}
|
|
52
|
+
if (typeof value === 'object') {
|
|
53
|
+
// If JSON format is preferred, key must be provided.
|
|
54
|
+
if (key != null) {
|
|
55
|
+
return isDeep ? Object.keys(value as Record<string, any>).reduce((hp, k) => hp.append(`${key}[${k}]`, value[k]), httpParams) : httpParams.append(key, JSON.stringify(value));
|
|
56
|
+
}
|
|
57
|
+
// Otherwise, if it's an array, add each element.
|
|
58
|
+
if (Array.isArray(value)) {
|
|
59
|
+
value.forEach((elem) => (httpParams = this.addToHttpParamsRecursive(httpParams, elem, key)));
|
|
60
|
+
} else if (value instanceof Date) {
|
|
61
|
+
if (key != null) {
|
|
62
|
+
httpParams = httpParams.append(key, value.toISOString());
|
|
63
|
+
} else {
|
|
64
|
+
throw Error('key may not be null if value is Date');
|
|
65
|
+
}
|
|
66
|
+
} else {
|
|
67
|
+
Object.keys(value).forEach((k) => {
|
|
68
|
+
const paramKey = key ? `${key}.${k}` : k;
|
|
69
|
+
httpParams = this.addToHttpParamsRecursive(httpParams, value[k], paramKey);
|
|
70
|
+
});
|
|
71
|
+
}
|
|
72
|
+
return httpParams;
|
|
73
|
+
} else if (key != null) {
|
|
74
|
+
return httpParams.append(key, value);
|
|
75
|
+
}
|
|
76
|
+
throw Error('key may not be null if value is not object or array');
|
|
77
|
+
}
|
|
78
|
+
}
|
package/configuration.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { HttpParameterCodec } from '@angular/common/http';
|
|
1
|
+
import { HttpHeaders, HttpParams, HttpParameterCodec } from '@angular/common/http';
|
|
2
2
|
import { Param } from './param';
|
|
3
3
|
|
|
4
4
|
export interface AgravityConfigurationParameters {
|
|
@@ -66,24 +66,30 @@ export class AgravityConfiguration {
|
|
|
66
66
|
*/
|
|
67
67
|
credentials: { [key: string]: string | (() => string | undefined) };
|
|
68
68
|
|
|
69
|
-
constructor(
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
this.password = configurationParameters.password;
|
|
73
|
-
this.accessToken = configurationParameters.accessToken;
|
|
74
|
-
this.basePath = configurationParameters.basePath;
|
|
75
|
-
this.withCredentials = configurationParameters.withCredentials;
|
|
76
|
-
this.encoder = configurationParameters.encoder;
|
|
77
|
-
if (configurationParameters.encodeParam) {
|
|
78
|
-
this.encodeParam = configurationParameters.encodeParam;
|
|
79
|
-
} else {
|
|
80
|
-
this.encodeParam = (param) => this.defaultEncodeParam(param);
|
|
69
|
+
constructor({ accessToken, apiKeys, basePath, credentials, encodeParam, encoder, password, username, withCredentials }: AgravityConfigurationParameters = {}) {
|
|
70
|
+
if (apiKeys) {
|
|
71
|
+
this.apiKeys = apiKeys;
|
|
81
72
|
}
|
|
82
|
-
if (
|
|
83
|
-
this.
|
|
84
|
-
} else {
|
|
85
|
-
this.credentials = {};
|
|
73
|
+
if (username !== undefined) {
|
|
74
|
+
this.username = username;
|
|
86
75
|
}
|
|
76
|
+
if (password !== undefined) {
|
|
77
|
+
this.password = password;
|
|
78
|
+
}
|
|
79
|
+
if (accessToken !== undefined) {
|
|
80
|
+
this.accessToken = accessToken;
|
|
81
|
+
}
|
|
82
|
+
if (basePath !== undefined) {
|
|
83
|
+
this.basePath = basePath;
|
|
84
|
+
}
|
|
85
|
+
if (withCredentials !== undefined) {
|
|
86
|
+
this.withCredentials = withCredentials;
|
|
87
|
+
}
|
|
88
|
+
if (encoder) {
|
|
89
|
+
this.encoder = encoder;
|
|
90
|
+
}
|
|
91
|
+
this.encodeParam = encodeParam ?? ((param) => this.defaultEncodeParam(param));
|
|
92
|
+
this.credentials = credentials ?? {};
|
|
87
93
|
|
|
88
94
|
// init default msal_auth credential
|
|
89
95
|
if (!this.credentials['msal_auth']) {
|
|
@@ -151,6 +157,16 @@ export class AgravityConfiguration {
|
|
|
151
157
|
return typeof value === 'function' ? value() : value;
|
|
152
158
|
}
|
|
153
159
|
|
|
160
|
+
public addCredentialToHeaders(credentialKey: string, headerName: string, headers: HttpHeaders, prefix?: string): HttpHeaders {
|
|
161
|
+
const value = this.lookupCredential(credentialKey);
|
|
162
|
+
return value ? headers.set(headerName, (prefix ?? '') + value) : headers;
|
|
163
|
+
}
|
|
164
|
+
|
|
165
|
+
public addCredentialToQuery(credentialKey: string, paramName: string, query: HttpParams): HttpParams {
|
|
166
|
+
const value = this.lookupCredential(credentialKey);
|
|
167
|
+
return value ? query.set(paramName, value) : query;
|
|
168
|
+
}
|
|
169
|
+
|
|
154
170
|
private defaultEncodeParam(param: Param): string {
|
|
155
171
|
// This implementation exists as fallback for missing configuration
|
|
156
172
|
// and for backwards compatibility to older typescript-angular generator versions.
|
package/index.ts
CHANGED
|
@@ -7,12 +7,11 @@
|
|
|
7
7
|
* https://openapi-generator.tech
|
|
8
8
|
* Do not edit the class manually.
|
|
9
9
|
*/
|
|
10
|
-
import { AiGroup } from './aiGroup.agravity';
|
|
11
10
|
|
|
12
|
-
export interface
|
|
11
|
+
export interface AiAsset {
|
|
13
12
|
id?: string | null;
|
|
14
13
|
entity_type?: string | null;
|
|
15
|
-
|
|
14
|
+
fields?: { [key: string]: any } | null;
|
|
16
15
|
status?: string | null;
|
|
17
16
|
created_date?: string | null;
|
|
18
17
|
created_by?: string | null;
|
|
@@ -9,10 +9,6 @@
|
|
|
9
9
|
*/
|
|
10
10
|
|
|
11
11
|
export interface AiFieldGeneration {
|
|
12
|
-
field_name?: string | null;
|
|
13
12
|
prompt?: string | null;
|
|
14
|
-
|
|
15
|
-
model_version?: string | null;
|
|
16
|
-
prompt_injections?: string | null;
|
|
17
|
-
filter?: string | null;
|
|
13
|
+
field_type?: string | null;
|
|
18
14
|
}
|
|
@@ -8,9 +8,10 @@
|
|
|
8
8
|
* Do not edit the class manually.
|
|
9
9
|
*/
|
|
10
10
|
|
|
11
|
-
export interface
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
11
|
+
export interface AiModelDeployment {
|
|
12
|
+
name?: string | null;
|
|
13
|
+
version?: string | null;
|
|
14
|
+
sku?: string | null;
|
|
15
|
+
has_temperature?: boolean | null;
|
|
16
|
+
_etag?: string | null;
|
|
16
17
|
}
|
|
@@ -7,14 +7,15 @@
|
|
|
7
7
|
* https://openapi-generator.tech
|
|
8
8
|
* Do not edit the class manually.
|
|
9
9
|
*/
|
|
10
|
-
import {
|
|
10
|
+
import { AiTypeSettings } from './aiTypeSettings.agravity';
|
|
11
11
|
|
|
12
12
|
export interface AiSettings {
|
|
13
13
|
id?: string | null;
|
|
14
14
|
entity_type?: string | null;
|
|
15
|
-
fields?: Array<AiFieldGeneration> | null;
|
|
16
15
|
system_prompt?: string | null;
|
|
17
|
-
|
|
16
|
+
field_types?: Array<string> | null;
|
|
17
|
+
image?: AiTypeSettings | null;
|
|
18
|
+
document?: AiTypeSettings | null;
|
|
18
19
|
status?: string | null;
|
|
19
20
|
created_date?: string | null;
|
|
20
21
|
created_by?: string | null;
|
|
@@ -0,0 +1,17 @@
|
|
|
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
|
+
import { AiFieldGeneration } from './aiFieldGeneration.agravity';
|
|
11
|
+
|
|
12
|
+
export interface AiTypeSettings {
|
|
13
|
+
type_prompt?: string | null;
|
|
14
|
+
deployment_name?: string | null;
|
|
15
|
+
temperature?: number | null;
|
|
16
|
+
fields?: { [key: string]: AiFieldGeneration } | null;
|
|
17
|
+
}
|
package/model/asset.agravity.ts
CHANGED
|
@@ -27,7 +27,7 @@ export interface Asset {
|
|
|
27
27
|
available_to?: string | null;
|
|
28
28
|
custom?: any | null;
|
|
29
29
|
items?: Array<CollTypeItem> | null;
|
|
30
|
-
translations?: { [key: string]: { [key: string]:
|
|
30
|
+
translations?: { [key: string]: { [key: string]: any } } | null;
|
|
31
31
|
role?: Asset.RoleEnum;
|
|
32
32
|
description?: string | null;
|
|
33
33
|
add_properties?: { [key: string]: any } | null;
|
|
@@ -40,10 +40,10 @@ export interface Asset {
|
|
|
40
40
|
_etag?: string | null;
|
|
41
41
|
}
|
|
42
42
|
export namespace Asset {
|
|
43
|
-
export type RoleEnum = 'NONE' | 'VIEWER' | 'EDITOR';
|
|
44
43
|
export const RoleEnum = {
|
|
45
|
-
None: 'NONE'
|
|
46
|
-
Viewer: 'VIEWER'
|
|
47
|
-
Editor: 'EDITOR'
|
|
48
|
-
};
|
|
44
|
+
None: 'NONE',
|
|
45
|
+
Viewer: 'VIEWER',
|
|
46
|
+
Editor: 'EDITOR'
|
|
47
|
+
} as const;
|
|
48
|
+
export type RoleEnum = (typeof RoleEnum)[keyof typeof RoleEnum];
|
|
49
49
|
}
|
|
@@ -16,7 +16,7 @@ export interface AssetBlob {
|
|
|
16
16
|
extension?: string | null;
|
|
17
17
|
content_type?: string | null;
|
|
18
18
|
md5?: string | null;
|
|
19
|
-
add_data?: { [key: string]:
|
|
19
|
+
add_data?: { [key: string]: any } | null;
|
|
20
20
|
width?: number | null;
|
|
21
21
|
height?: number | null;
|
|
22
22
|
maxwidthheight?: number | null;
|
|
@@ -58,20 +58,20 @@ export interface AssetBlob {
|
|
|
58
58
|
uploaded_by?: string | null;
|
|
59
59
|
}
|
|
60
60
|
export namespace AssetBlob {
|
|
61
|
-
export type BlobTypeEnum = 'UNKNOWN' | 'IMAGE' | 'VIDEO' | 'AUDIO' | 'DOCUMENT' | 'TEXT' | 'OTHER';
|
|
62
61
|
export const BlobTypeEnum = {
|
|
63
|
-
Unknown: 'UNKNOWN'
|
|
64
|
-
Image: 'IMAGE'
|
|
65
|
-
Video: 'VIDEO'
|
|
66
|
-
Audio: 'AUDIO'
|
|
67
|
-
Document: 'DOCUMENT'
|
|
68
|
-
Text: 'TEXT'
|
|
69
|
-
Other: 'OTHER'
|
|
70
|
-
};
|
|
71
|
-
export type
|
|
62
|
+
Unknown: 'UNKNOWN',
|
|
63
|
+
Image: 'IMAGE',
|
|
64
|
+
Video: 'VIDEO',
|
|
65
|
+
Audio: 'AUDIO',
|
|
66
|
+
Document: 'DOCUMENT',
|
|
67
|
+
Text: 'TEXT',
|
|
68
|
+
Other: 'OTHER'
|
|
69
|
+
} as const;
|
|
70
|
+
export type BlobTypeEnum = (typeof BlobTypeEnum)[keyof typeof BlobTypeEnum];
|
|
72
71
|
export const OrientationEnum = {
|
|
73
|
-
Portrait: 'PORTRAIT'
|
|
74
|
-
Landscape: 'LANDSCAPE'
|
|
75
|
-
Square: 'SQUARE'
|
|
76
|
-
};
|
|
72
|
+
Portrait: 'PORTRAIT',
|
|
73
|
+
Landscape: 'LANDSCAPE',
|
|
74
|
+
Square: 'SQUARE'
|
|
75
|
+
} as const;
|
|
76
|
+
export type OrientationEnum = (typeof OrientationEnum)[keyof typeof OrientationEnum];
|
|
77
77
|
}
|
|
@@ -17,7 +17,7 @@ export interface AssetIconRule {
|
|
|
17
17
|
value?: string | null;
|
|
18
18
|
icon?: string | null;
|
|
19
19
|
operator?: string | null;
|
|
20
|
-
translations?: { [key: string]: { [key: string]:
|
|
20
|
+
translations?: { [key: string]: { [key: string]: any } } | null;
|
|
21
21
|
name?: string | null;
|
|
22
22
|
description?: string | null;
|
|
23
23
|
add_properties?: { [key: string]: any } | null;
|
|
@@ -15,7 +15,7 @@ export interface AssetRelationType {
|
|
|
15
15
|
hierarchical?: boolean | null;
|
|
16
16
|
sequential?: boolean | null;
|
|
17
17
|
unique_per_asset?: boolean | null;
|
|
18
|
-
translations?: { [key: string]: { [key: string]:
|
|
18
|
+
translations?: { [key: string]: { [key: string]: any } } | null;
|
|
19
19
|
permissions?: Array<PermissionEntity> | null;
|
|
20
20
|
name?: string | null;
|
|
21
21
|
description?: string | null;
|
|
@@ -16,12 +16,12 @@ export interface AzureIdentity {
|
|
|
16
16
|
ident_type?: AzureIdentity.IdentTypeEnum | null;
|
|
17
17
|
}
|
|
18
18
|
export namespace AzureIdentity {
|
|
19
|
-
export type IdentTypeEnum = 'USER' | 'GROUP' | 'APIKEY' | 'PORTAL' | 'SHARED';
|
|
20
19
|
export const IdentTypeEnum = {
|
|
21
|
-
User: 'USER'
|
|
22
|
-
Group: 'GROUP'
|
|
23
|
-
Apikey: 'APIKEY'
|
|
24
|
-
Portal: 'PORTAL'
|
|
25
|
-
Shared: 'SHARED'
|
|
26
|
-
};
|
|
20
|
+
User: 'USER',
|
|
21
|
+
Group: 'GROUP',
|
|
22
|
+
Apikey: 'APIKEY',
|
|
23
|
+
Portal: 'PORTAL',
|
|
24
|
+
Shared: 'SHARED'
|
|
25
|
+
} as const;
|
|
26
|
+
export type IdentTypeEnum = (typeof IdentTypeEnum)[keyof typeof IdentTypeEnum];
|
|
27
27
|
}
|
|
@@ -23,7 +23,7 @@ export interface CollTypeItem {
|
|
|
23
23
|
md5?: string | null;
|
|
24
24
|
group?: string | null;
|
|
25
25
|
order?: number | null;
|
|
26
|
-
translations?: { [key: string]: { [key: string]:
|
|
26
|
+
translations?: { [key: string]: { [key: string]: any } } | null;
|
|
27
27
|
status?: string | null;
|
|
28
28
|
created_date?: string | null;
|
|
29
29
|
created_by?: string | null;
|
|
@@ -14,7 +14,7 @@ export interface CollTypeItemBlueprint {
|
|
|
14
14
|
entity_type?: string | null;
|
|
15
15
|
name?: string | null;
|
|
16
16
|
items?: Array<CollTypeItem> | null;
|
|
17
|
-
translations?: { [key: string]: { [key: string]:
|
|
17
|
+
translations?: { [key: string]: { [key: string]: any } } | null;
|
|
18
18
|
description?: string | null;
|
|
19
19
|
add_properties?: { [key: string]: any } | null;
|
|
20
20
|
status?: string | null;
|
|
@@ -17,7 +17,7 @@ export interface Collection {
|
|
|
17
17
|
level?: number | null;
|
|
18
18
|
custom?: any | null;
|
|
19
19
|
items?: Array<CollTypeItem> | null;
|
|
20
|
-
translations?: { [key: string]: { [key: string]:
|
|
20
|
+
translations?: { [key: string]: { [key: string]: any } } | null;
|
|
21
21
|
role?: Collection.RoleEnum;
|
|
22
22
|
name?: string | null;
|
|
23
23
|
description?: string | null;
|
|
@@ -31,10 +31,10 @@ export interface Collection {
|
|
|
31
31
|
_etag?: string | null;
|
|
32
32
|
}
|
|
33
33
|
export namespace Collection {
|
|
34
|
-
export type RoleEnum = 'NONE' | 'VIEWER' | 'EDITOR';
|
|
35
34
|
export const RoleEnum = {
|
|
36
|
-
None: 'NONE'
|
|
37
|
-
Viewer: 'VIEWER'
|
|
38
|
-
Editor: 'EDITOR'
|
|
39
|
-
};
|
|
35
|
+
None: 'NONE',
|
|
36
|
+
Viewer: 'VIEWER',
|
|
37
|
+
Editor: 'EDITOR'
|
|
38
|
+
} as const;
|
|
39
|
+
export type RoleEnum = (typeof RoleEnum)[keyof typeof RoleEnum];
|
|
40
40
|
}
|
|
@@ -15,7 +15,7 @@ export interface CollectionType {
|
|
|
15
15
|
entity_type?: string | null;
|
|
16
16
|
name?: string | null;
|
|
17
17
|
items?: Array<CollTypeItem> | null;
|
|
18
|
-
translations?: { [key: string]: { [key: string]:
|
|
18
|
+
translations?: { [key: string]: { [key: string]: any } } | null;
|
|
19
19
|
order?: number | null;
|
|
20
20
|
permissions?: Array<PermissionEntity> | null;
|
|
21
21
|
permissionless?: boolean | null;
|
|
@@ -31,10 +31,10 @@ export interface CollectionType {
|
|
|
31
31
|
_etag?: string | null;
|
|
32
32
|
}
|
|
33
33
|
export namespace CollectionType {
|
|
34
|
-
export type RoleEnum = 'NONE' | 'VIEWER' | 'EDITOR';
|
|
35
34
|
export const RoleEnum = {
|
|
36
|
-
None: 'NONE'
|
|
37
|
-
Viewer: 'VIEWER'
|
|
38
|
-
Editor: 'EDITOR'
|
|
39
|
-
};
|
|
35
|
+
None: 'NONE',
|
|
36
|
+
Viewer: 'VIEWER',
|
|
37
|
+
Editor: 'EDITOR'
|
|
38
|
+
} as const;
|
|
39
|
+
export type RoleEnum = (typeof RoleEnum)[keyof typeof RoleEnum];
|
|
40
40
|
}
|
|
@@ -13,6 +13,6 @@ export interface CollectionUDL {
|
|
|
13
13
|
children?: Array<EntityIdName> | null;
|
|
14
14
|
name?: string | null;
|
|
15
15
|
entity_type?: string | null;
|
|
16
|
-
translations?: { [key: string]: { [key: string]:
|
|
16
|
+
translations?: { [key: string]: { [key: string]: any } } | null;
|
|
17
17
|
id?: string | null;
|
|
18
18
|
}
|
|
@@ -13,6 +13,7 @@ export interface Comment {
|
|
|
13
13
|
entity_type?: string | null;
|
|
14
14
|
content?: string | null;
|
|
15
15
|
mentioned?: Array<string> | null;
|
|
16
|
+
add_properties?: { [key: string]: any } | null;
|
|
16
17
|
status?: string | null;
|
|
17
18
|
created_date?: string | null;
|
|
18
19
|
created_by?: string | null;
|
|
@@ -14,7 +14,7 @@ export interface DashboardWidget {
|
|
|
14
14
|
title?: string | null;
|
|
15
15
|
widget_type?: string | null;
|
|
16
16
|
data?: object | null;
|
|
17
|
-
translations?: { [key: string]: { [key: string]:
|
|
17
|
+
translations?: { [key: string]: { [key: string]: any } } | null;
|
|
18
18
|
status?: string | null;
|
|
19
19
|
created_date?: string | null;
|
|
20
20
|
created_by?: string | null;
|
|
@@ -19,7 +19,7 @@ export interface DownloadFormat {
|
|
|
19
19
|
origin?: string | null;
|
|
20
20
|
fallback_thumb?: boolean | null;
|
|
21
21
|
target_filename?: string | null;
|
|
22
|
-
translations?: { [key: string]: { [key: string]:
|
|
22
|
+
translations?: { [key: string]: { [key: string]: any } } | null;
|
|
23
23
|
permissions?: Array<PermissionEntity> | null;
|
|
24
24
|
name?: string | null;
|
|
25
25
|
description?: string | null;
|
|
@@ -20,11 +20,11 @@ export interface DownloadZipRequest {
|
|
|
20
20
|
valid_until?: string | null;
|
|
21
21
|
}
|
|
22
22
|
export namespace DownloadZipRequest {
|
|
23
|
-
export type ZipTypeEnum = 'DOWNLOAD' | 'SHARED' | 'QUICKSHARE' | 'PORTAL';
|
|
24
23
|
export const ZipTypeEnum = {
|
|
25
|
-
Download: 'DOWNLOAD'
|
|
26
|
-
Shared: 'SHARED'
|
|
27
|
-
Quickshare: 'QUICKSHARE'
|
|
28
|
-
Portal: 'PORTAL'
|
|
29
|
-
};
|
|
24
|
+
Download: 'DOWNLOAD',
|
|
25
|
+
Shared: 'SHARED',
|
|
26
|
+
Quickshare: 'QUICKSHARE',
|
|
27
|
+
Portal: 'PORTAL'
|
|
28
|
+
} as const;
|
|
29
|
+
export type ZipTypeEnum = (typeof ZipTypeEnum)[keyof typeof ZipTypeEnum];
|
|
30
30
|
}
|
|
@@ -22,11 +22,11 @@ export interface DownloadZipStatus {
|
|
|
22
22
|
url?: string | null;
|
|
23
23
|
}
|
|
24
24
|
export namespace DownloadZipStatus {
|
|
25
|
-
export type ZipTypeEnum = 'DOWNLOAD' | 'SHARED' | 'QUICKSHARE' | 'PORTAL';
|
|
26
25
|
export const ZipTypeEnum = {
|
|
27
|
-
Download: 'DOWNLOAD'
|
|
28
|
-
Shared: 'SHARED'
|
|
29
|
-
Quickshare: 'QUICKSHARE'
|
|
30
|
-
Portal: 'PORTAL'
|
|
31
|
-
};
|
|
26
|
+
Download: 'DOWNLOAD',
|
|
27
|
+
Shared: 'SHARED',
|
|
28
|
+
Quickshare: 'QUICKSHARE',
|
|
29
|
+
Portal: 'PORTAL'
|
|
30
|
+
} as const;
|
|
31
|
+
export type ZipTypeEnum = (typeof ZipTypeEnum)[keyof typeof ZipTypeEnum];
|
|
32
32
|
}
|
|
@@ -17,6 +17,6 @@ export interface GroupAllAppData {
|
|
|
17
17
|
collections?: Array<Collection> | null;
|
|
18
18
|
assets?: Array<Asset> | null;
|
|
19
19
|
created_date?: string | null;
|
|
20
|
-
add_info?: Array<{ [key: string]:
|
|
20
|
+
add_info?: Array<{ [key: string]: any }> | null;
|
|
21
21
|
dist?: DistZipResponse | null;
|
|
22
22
|
}
|
|
@@ -23,35 +23,21 @@ export interface HistoryEntry {
|
|
|
23
23
|
_etag?: string | null;
|
|
24
24
|
}
|
|
25
25
|
export namespace HistoryEntry {
|
|
26
|
-
export type NameEnum =
|
|
27
|
-
| 'Created'
|
|
28
|
-
| 'Updated'
|
|
29
|
-
| 'Deleted'
|
|
30
|
-
| 'Removed'
|
|
31
|
-
| 'Published'
|
|
32
|
-
| 'Unpublished'
|
|
33
|
-
| 'Locked'
|
|
34
|
-
| 'Unlocked'
|
|
35
|
-
| 'Renewed'
|
|
36
|
-
| 'Versioned'
|
|
37
|
-
| 'DirtyMarked'
|
|
38
|
-
| 'SystemUpgrade'
|
|
39
|
-
| 'Untracked'
|
|
40
|
-
| 'Restored';
|
|
41
26
|
export const NameEnum = {
|
|
42
|
-
Created: 'Created'
|
|
43
|
-
Updated: 'Updated'
|
|
44
|
-
Deleted: 'Deleted'
|
|
45
|
-
Removed: 'Removed'
|
|
46
|
-
Published: 'Published'
|
|
47
|
-
Unpublished: 'Unpublished'
|
|
48
|
-
Locked: 'Locked'
|
|
49
|
-
Unlocked: 'Unlocked'
|
|
50
|
-
Renewed: 'Renewed'
|
|
51
|
-
Versioned: 'Versioned'
|
|
52
|
-
DirtyMarked: 'DirtyMarked'
|
|
53
|
-
SystemUpgrade: 'SystemUpgrade'
|
|
54
|
-
Untracked: 'Untracked'
|
|
55
|
-
Restored: 'Restored'
|
|
56
|
-
};
|
|
27
|
+
Created: 'Created',
|
|
28
|
+
Updated: 'Updated',
|
|
29
|
+
Deleted: 'Deleted',
|
|
30
|
+
Removed: 'Removed',
|
|
31
|
+
Published: 'Published',
|
|
32
|
+
Unpublished: 'Unpublished',
|
|
33
|
+
Locked: 'Locked',
|
|
34
|
+
Unlocked: 'Unlocked',
|
|
35
|
+
Renewed: 'Renewed',
|
|
36
|
+
Versioned: 'Versioned',
|
|
37
|
+
DirtyMarked: 'DirtyMarked',
|
|
38
|
+
SystemUpgrade: 'SystemUpgrade',
|
|
39
|
+
Untracked: 'Untracked',
|
|
40
|
+
Restored: 'Restored'
|
|
41
|
+
} as const;
|
|
42
|
+
export type NameEnum = (typeof NameEnum)[keyof typeof NameEnum];
|
|
57
43
|
}
|
package/model/models.ts
CHANGED
|
@@ -5,10 +5,11 @@ export * from './agravityUser.agravity';
|
|
|
5
5
|
export * from './agravityUserDto.agravity';
|
|
6
6
|
export * from './agravityUserOnlineStatus.agravity';
|
|
7
7
|
export * from './agravityVersion.agravity';
|
|
8
|
+
export * from './aiAsset.agravity';
|
|
8
9
|
export * from './aiFieldGeneration.agravity';
|
|
9
|
-
export * from './
|
|
10
|
-
export * from './aiGroupEntity.agravity';
|
|
10
|
+
export * from './aiModelDeployment.agravity';
|
|
11
11
|
export * from './aiSettings.agravity';
|
|
12
|
+
export * from './aiTypeSettings.agravity';
|
|
12
13
|
export * from './allWebAppData.agravity';
|
|
13
14
|
export * from './apiKeyResponse.agravity';
|
|
14
15
|
export * from './appConfigTableEntity.agravity';
|
|
@@ -56,6 +57,7 @@ export * from './historyEntry.agravity';
|
|
|
56
57
|
export * from './infoEntitySkillEnhanced.agravity';
|
|
57
58
|
export * from './metadata.agravity';
|
|
58
59
|
export * from './moveCollectionBody.agravity';
|
|
60
|
+
export * from './notificationSettingDto.agravity';
|
|
59
61
|
export * from './permissionChange.agravity';
|
|
60
62
|
export * from './permissionEntity.agravity';
|
|
61
63
|
export * from './permissionSetting.agravity';
|
|
@@ -82,6 +84,7 @@ export * from './searchAdminStatus.agravity';
|
|
|
82
84
|
export * from './searchFacet.agravity';
|
|
83
85
|
export * from './searchFacetEntity.agravity';
|
|
84
86
|
export * from './searchResult.agravity';
|
|
87
|
+
export * from './searchSettings.agravity';
|
|
85
88
|
export * from './searchableItem.agravity';
|
|
86
89
|
export * from './secureUploadEntity.agravity';
|
|
87
90
|
export * from './sharedAllowedFormat.agravity';
|
|
@@ -0,0 +1,18 @@
|
|
|
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
|
+
|
|
11
|
+
export interface NotificationSettingDto {
|
|
12
|
+
id?: string | null;
|
|
13
|
+
event_types?: Array<string> | null;
|
|
14
|
+
frequency?: string | null;
|
|
15
|
+
coll_id?: string | null;
|
|
16
|
+
include_sub_collections?: boolean | null;
|
|
17
|
+
pk?: string | null;
|
|
18
|
+
}
|
|
@@ -14,12 +14,12 @@ export interface PermissionChange {
|
|
|
14
14
|
modify?: PermissionChange.ModifyEnum;
|
|
15
15
|
}
|
|
16
16
|
export namespace PermissionChange {
|
|
17
|
-
export type ModifyEnum = 'CREATE' | 'ADD' | 'UPDATE' | 'REPLACE' | 'DELETE';
|
|
18
17
|
export const ModifyEnum = {
|
|
19
|
-
Create: 'CREATE'
|
|
20
|
-
Add: 'ADD'
|
|
21
|
-
Update: 'UPDATE'
|
|
22
|
-
Replace: 'REPLACE'
|
|
23
|
-
Delete: 'DELETE'
|
|
24
|
-
};
|
|
18
|
+
Create: 'CREATE',
|
|
19
|
+
Add: 'ADD',
|
|
20
|
+
Update: 'UPDATE',
|
|
21
|
+
Replace: 'REPLACE',
|
|
22
|
+
Delete: 'DELETE'
|
|
23
|
+
} as const;
|
|
24
|
+
export type ModifyEnum = (typeof ModifyEnum)[keyof typeof ModifyEnum];
|
|
25
25
|
}
|