bruce-models 7.1.79 → 7.1.81

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.
@@ -151,7 +151,7 @@ export declare namespace EntityType {
151
151
  };
152
152
  Result?: any;
153
153
  ExportResult?: any;
154
- EntityTypeOntology?: any;
154
+ EntityTypeOntology?: IEntityTypeOntology;
155
155
  Warnings?: string[];
156
156
  Errors?: string[];
157
157
  [key: string]: any;
@@ -165,7 +165,7 @@ export declare namespace EntityType {
165
165
  tempFileUrl?: string;
166
166
  clientFileId?: string;
167
167
  clientFileUrl?: string;
168
- entityTypeOntology?: any;
168
+ entityTypeOntology?: IEntityTypeOntology;
169
169
  warnings?: string[];
170
170
  errors?: string[];
171
171
  raw: IExportOntologyRawRes | null;
@@ -212,6 +212,33 @@ export declare namespace EntityType {
212
212
  Notes?: string;
213
213
  [key: string]: any;
214
214
  }
215
+ /**
216
+ * Describes an Entity Type Relation record.
217
+ */
218
+ interface IEntityTypeRelation {
219
+ ID?: number;
220
+ "A.EntityType.ID"?: string;
221
+ "B.EntityType.ID"?: string;
222
+ "EntityRelationType.ID"?: string;
223
+ "A.ForeignKey.AttributePath"?: string;
224
+ "B.ForeignKey.AttributePath"?: string;
225
+ "A.Cardinality.Min"?: number;
226
+ "A.Cardinality.Max"?: number;
227
+ "B.Cardinality.Min"?: number;
228
+ "B.Cardinality.Max"?: number;
229
+ EntityRelationType?: any;
230
+ EntityTypeA?: IType;
231
+ EntityTypeB?: IType;
232
+ [key: string]: any;
233
+ }
234
+ /**
235
+ * Entity Type ontology payload.
236
+ */
237
+ interface IEntityTypeOntology {
238
+ EntityType?: IType[];
239
+ EntityTypeRelation?: IEntityTypeRelation[];
240
+ [key: string]: any;
241
+ }
215
242
  /**
216
243
  * Entity Type-level mapping returned by the AI optimisation endpoint.
217
244
  */
@@ -231,7 +258,7 @@ export declare namespace EntityType {
231
258
  */
232
259
  interface IAISuggestOntologyOptimisationSuggestedOntology {
233
260
  EntityType?: IAISuggestOntologyOptimisationSuggestedEntityType[];
234
- EntityTypeRelation?: any[];
261
+ EntityTypeRelation?: IEntityTypeRelation[];
235
262
  [key: string]: any;
236
263
  }
237
264
  /**
@@ -296,8 +323,7 @@ export declare namespace EntityType {
296
323
  * Suggested relation item returned in the pending-action result.
297
324
  * This endpoint may evolve, so unknown fields are preserved.
298
325
  */
299
- interface ISuggestedRelation {
300
- [key: string]: any;
326
+ interface ISuggestedRelation extends IEntityTypeRelation {
301
327
  }
302
328
  /**
303
329
  * Normalized pending-action result payload produced by FindSuggestedRelations.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "bruce-models",
3
- "version": "7.1.79",
3
+ "version": "7.1.81",
4
4
  "description": "",
5
5
  "keywords": [],
6
6
  "main": "dist/bruce-models.umd.js",