@i2analyze/notebook-sdk 1.10.0 → 1.11.0-dev.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/lib/gen/notebook-sdk-public.d.ts +213 -14
- package/lib/index.js +1 -1
- package/package.json +1 -1
|
@@ -5511,7 +5511,7 @@ export declare interface NotebookStatic {
|
|
|
5511
5511
|
* @public
|
|
5512
5512
|
* @i2since 1.0
|
|
5513
5513
|
*/
|
|
5514
|
-
getEntryPointApi(pluginId: string, apiVersion: '1.0' | '1.1' | '1.2' | '1.3' | '1.4' | '1.5' | '1.6' | '1.7' | '1.8' | '1.9' | '1.10'): Promise<IEntryPointApi>;
|
|
5514
|
+
getEntryPointApi(pluginId: string, apiVersion: '1.0' | '1.1' | '1.2' | '1.3' | '1.4' | '1.5' | '1.6' | '1.7' | '1.8' | '1.9' | '1.10' | '1.11'): Promise<IEntryPointApi>;
|
|
5515
5515
|
}
|
|
5516
5516
|
|
|
5517
5517
|
/**
|
|
@@ -5816,6 +5816,25 @@ export declare namespace schema {
|
|
|
5816
5816
|
* @i2since 1.0
|
|
5817
5817
|
*/
|
|
5818
5818
|
readonly itemTypes: data.IKeyedReadOnlyCollection<ChartItemTypeIdentifier, IChartItemType>;
|
|
5819
|
+
/**
|
|
5820
|
+
* Gets all the core entity types in the chart schema.
|
|
5821
|
+
*
|
|
5822
|
+
* @remarks
|
|
5823
|
+
* A core entity type is the base concept, such as "Person", that entity types are based on. To
|
|
5824
|
+
* get the core entity type that an entity type is based on, use
|
|
5825
|
+
* {@link schema.IChartEntityType.coreType}.
|
|
5826
|
+
* @i2since 1.11
|
|
5827
|
+
*/
|
|
5828
|
+
readonly coreEntityTypes: data.IKeyedReadOnlyCollection<ChartItemTypeIdentifier, IChartCoreEntityType>;
|
|
5829
|
+
/**
|
|
5830
|
+
* Gets all the core link types in the chart schema.
|
|
5831
|
+
*
|
|
5832
|
+
* @remarks
|
|
5833
|
+
* A core link type is the base concept that link types are based on. To get the core link type
|
|
5834
|
+
* that a link type is based on, use {@link schema.IChartLinkType.coreType}.
|
|
5835
|
+
* @i2since 1.11
|
|
5836
|
+
*/
|
|
5837
|
+
readonly coreLinkTypes: data.IKeyedReadOnlyCollection<ChartItemTypeIdentifier, IChartCoreLinkType>;
|
|
5819
5838
|
/**
|
|
5820
5839
|
* Gets the item type in the chart schema that has the specified i2 Analyze type identifier.
|
|
5821
5840
|
* @param analyzeItemTypeId - An i2 Analyze item type identifier.
|
|
@@ -5941,6 +5960,16 @@ export declare namespace schema {
|
|
|
5941
5960
|
* @i2since 1.0
|
|
5942
5961
|
*/
|
|
5943
5962
|
readonly image: data.IImage;
|
|
5963
|
+
/**
|
|
5964
|
+
* Gets the core entity type that the entity type is based on, if it has one.
|
|
5965
|
+
*
|
|
5966
|
+
* @remarks
|
|
5967
|
+
* The value is absent when the entity type is not based on a core entity type. For example,
|
|
5968
|
+
* custom entity types and entity types from a schema that predates core types have no core
|
|
5969
|
+
* entity type.
|
|
5970
|
+
* @i2since 1.11
|
|
5971
|
+
*/
|
|
5972
|
+
readonly coreType?: IChartCoreEntityType;
|
|
5944
5973
|
}
|
|
5945
5974
|
/**
|
|
5946
5975
|
* A link type.
|
|
@@ -5957,7 +5986,131 @@ export declare namespace schema {
|
|
|
5957
5986
|
* @i2since 1.5
|
|
5958
5987
|
*/
|
|
5959
5988
|
toEntityTypes: data.IReadOnlyCollection<IChartEntityType>;
|
|
5989
|
+
/**
|
|
5990
|
+
* Gets the core link type that the link type is based on, if it has one.
|
|
5991
|
+
*
|
|
5992
|
+
* @remarks
|
|
5993
|
+
* The value is absent when the link type is not based on a core link type. For example, custom
|
|
5994
|
+
* link types and link types from a schema that predates core types have no core link type.
|
|
5995
|
+
* @i2since 1.11
|
|
5996
|
+
*/
|
|
5997
|
+
readonly coreType?: IChartCoreLinkType;
|
|
5960
5998
|
}
|
|
5999
|
+
/**
|
|
6000
|
+
* The governance tier of a type, which controls who can create and modify its definition.
|
|
6001
|
+
*
|
|
6002
|
+
* @remarks
|
|
6003
|
+
* The following list shows the tiers, from most to least restricted:
|
|
6004
|
+
*
|
|
6005
|
+
* - `i2Ontology`: i2 Group curates the type and locks its structure, identifiers, and semantics.
|
|
6006
|
+
* - `systemGoverned`: Schema administrators can modify the type through the schema authoring path.
|
|
6007
|
+
* - `analystGoverned`: Analysts create and modify the type, which is based on an existing core type.
|
|
6008
|
+
* @i2since 1.11
|
|
6009
|
+
*/
|
|
6010
|
+
export type GovernanceTier = 'i2Ontology' | 'systemGoverned' | 'analystGoverned';
|
|
6011
|
+
/**
|
|
6012
|
+
* A set of information that is common to all core types in a chart schema.
|
|
6013
|
+
*
|
|
6014
|
+
* @remarks
|
|
6015
|
+
* A core type is the base concept that item types are based on. For example, the "Suspect" and
|
|
6016
|
+
* "Witness" entity types can both be based on a "Person" core entity type. Because item types
|
|
6017
|
+
* that share a core type represent the same concept, you can treat their records together. Some
|
|
6018
|
+
* core types have no item types based on them.
|
|
6019
|
+
* @i2since 1.11
|
|
6020
|
+
*/
|
|
6021
|
+
export interface IChartCoreItemTypeBase {
|
|
6022
|
+
/**
|
|
6023
|
+
* Gets the identifier of the core type.
|
|
6024
|
+
* @i2since 1.11
|
|
6025
|
+
*/
|
|
6026
|
+
readonly id: ChartItemTypeId;
|
|
6027
|
+
/**
|
|
6028
|
+
* Gets the identifier of the core type in the i2 Analyze schema.
|
|
6029
|
+
* @i2since 1.11
|
|
6030
|
+
*/
|
|
6031
|
+
readonly analyzeId: AnalyzeItemTypeId;
|
|
6032
|
+
/**
|
|
6033
|
+
* Gets the display name of the core type.
|
|
6034
|
+
* @i2since 1.11
|
|
6035
|
+
*/
|
|
6036
|
+
readonly displayName: string;
|
|
6037
|
+
/**
|
|
6038
|
+
* Gets the description of the core type.
|
|
6039
|
+
* @i2since 1.11
|
|
6040
|
+
*/
|
|
6041
|
+
readonly description: string;
|
|
6042
|
+
/**
|
|
6043
|
+
* Gets the identifier of the semantic type of the core type.
|
|
6044
|
+
* @i2since 1.11
|
|
6045
|
+
*/
|
|
6046
|
+
readonly semanticTypeId: string;
|
|
6047
|
+
/**
|
|
6048
|
+
* Gets all the property types of the core type.
|
|
6049
|
+
*
|
|
6050
|
+
* @remarks
|
|
6051
|
+
* The property types are in the order that the core type declares them, which is the order in
|
|
6052
|
+
* which to present properties.
|
|
6053
|
+
* @i2since 1.11
|
|
6054
|
+
*/
|
|
6055
|
+
readonly propertyTypes: data.IKeyedReadOnlyCollection<PropertyTypeIdentifier, IChartCorePropertyType>;
|
|
6056
|
+
/**
|
|
6057
|
+
* Gets the property type that has the specified i2 Analyze identifier.
|
|
6058
|
+
*
|
|
6059
|
+
* @remarks
|
|
6060
|
+
* If the core type contains more than one property type with the identifier, such as after the
|
|
6061
|
+
* logical type of the property changes, the method returns the one that is not orphaned.
|
|
6062
|
+
* @param analyzePropertyTypeId - An i2 Analyze property type identifier.
|
|
6063
|
+
* @returns The requested property type.
|
|
6064
|
+
* @throws `VerbatimError` if the core type does not contain a property type that has the specified
|
|
6065
|
+
* i2 Analyze identifier, or if it contains more than one and all of them are orphaned.
|
|
6066
|
+
* @i2since 1.11
|
|
6067
|
+
*/
|
|
6068
|
+
getPropertyType(analyzePropertyTypeId: AnalyzePropertyTypeId): IChartCorePropertyType;
|
|
6069
|
+
/**
|
|
6070
|
+
* Indicates whether the core type is orphaned. An orphaned core type does not have a counterpart
|
|
6071
|
+
* in the i2 Analyze schema.
|
|
6072
|
+
* @i2since 1.11
|
|
6073
|
+
*/
|
|
6074
|
+
readonly isOrphaned: boolean;
|
|
6075
|
+
/**
|
|
6076
|
+
* Tests whether the core type is a core entity type. This method functions as a TypeScript
|
|
6077
|
+
* typeguard.
|
|
6078
|
+
*
|
|
6079
|
+
* @returns `true` if the core type is a core entity type, or `false` otherwise.
|
|
6080
|
+
* @i2since 1.11
|
|
6081
|
+
*/
|
|
6082
|
+
isEntityType(): this is IChartCoreEntityType;
|
|
6083
|
+
/**
|
|
6084
|
+
* Tests whether the core type is a core link type. This method functions as a TypeScript
|
|
6085
|
+
* typeguard.
|
|
6086
|
+
*
|
|
6087
|
+
* @returns `true` if the core type is a core link type, or `false` otherwise.
|
|
6088
|
+
* @i2since 1.11
|
|
6089
|
+
*/
|
|
6090
|
+
isLinkType(): this is IChartCoreLinkType;
|
|
6091
|
+
}
|
|
6092
|
+
/**
|
|
6093
|
+
* A core entity type.
|
|
6094
|
+
* @i2since 1.11
|
|
6095
|
+
*/
|
|
6096
|
+
export interface IChartCoreEntityType extends IChartCoreItemTypeBase {
|
|
6097
|
+
/**
|
|
6098
|
+
* Gets the image that represents the core entity type.
|
|
6099
|
+
* @i2since 1.11
|
|
6100
|
+
*/
|
|
6101
|
+
readonly image: data.IImage;
|
|
6102
|
+
}
|
|
6103
|
+
/**
|
|
6104
|
+
* A core link type.
|
|
6105
|
+
* @i2since 1.11
|
|
6106
|
+
*/
|
|
6107
|
+
export interface IChartCoreLinkType extends IChartCoreItemTypeBase {
|
|
6108
|
+
}
|
|
6109
|
+
/**
|
|
6110
|
+
* A core entity type or a core link type.
|
|
6111
|
+
* @i2since 1.11
|
|
6112
|
+
*/
|
|
6113
|
+
export type IChartCoreItemType = IChartCoreEntityType | IChartCoreLinkType;
|
|
5961
6114
|
/**
|
|
5962
6115
|
* A part of a label that consists of a literal string.
|
|
5963
6116
|
* @i2since 1.0
|
|
@@ -6107,6 +6260,35 @@ export declare namespace schema {
|
|
|
6107
6260
|
* @i2since 1.5
|
|
6108
6261
|
*/
|
|
6109
6262
|
readonly origin: ISchemaInfo;
|
|
6263
|
+
/**
|
|
6264
|
+
* Gets the core type that the item type is based on, if it has one.
|
|
6265
|
+
*
|
|
6266
|
+
* @remarks
|
|
6267
|
+
* The core type is the base concept, such as "Person", that the item type is based on. Because
|
|
6268
|
+
* item types that share a core type represent the same concept, you can treat their records
|
|
6269
|
+
* together. The value is absent when the item type is not based on a core type. For example,
|
|
6270
|
+
* custom item types and item types from a schema that predates core types have no core type.
|
|
6271
|
+
* @i2since 1.11
|
|
6272
|
+
*/
|
|
6273
|
+
readonly coreType?: IChartCoreItemType;
|
|
6274
|
+
/**
|
|
6275
|
+
* Indicates whether the item type is the default item type for its core type.
|
|
6276
|
+
*
|
|
6277
|
+
* @remarks
|
|
6278
|
+
* A core type has at most one default item type, which is used for a record of the core type
|
|
6279
|
+
* when no other item type is specified. The value is `false` for an item type that has no core
|
|
6280
|
+
* type.
|
|
6281
|
+
* @i2since 1.11
|
|
6282
|
+
*/
|
|
6283
|
+
readonly isDefault: boolean;
|
|
6284
|
+
/**
|
|
6285
|
+
* Gets the governance tier of the item type, which controls who can create and modify it.
|
|
6286
|
+
*
|
|
6287
|
+
* @remarks
|
|
6288
|
+
* The value is absent if the governance tier is not one that this version of the API recognizes.
|
|
6289
|
+
* @i2since 1.11
|
|
6290
|
+
*/
|
|
6291
|
+
readonly governanceTier?: GovernanceTier;
|
|
6110
6292
|
}
|
|
6111
6293
|
/**
|
|
6112
6294
|
* Information about a schema in an i2 Analyze deployment.
|
|
@@ -6349,10 +6531,10 @@ export declare namespace schema {
|
|
|
6349
6531
|
*/
|
|
6350
6532
|
export type PropertyTypeSpecifier = PropertyTypeIdentifier | IChartPropertyType;
|
|
6351
6533
|
/**
|
|
6352
|
-
* A property
|
|
6353
|
-
* @i2since 1.
|
|
6534
|
+
* A set of information that is common to all property types in a chart schema.
|
|
6535
|
+
* @i2since 1.11
|
|
6354
6536
|
*/
|
|
6355
|
-
export interface
|
|
6537
|
+
export interface IChartPropertyTypeBase {
|
|
6356
6538
|
/**
|
|
6357
6539
|
* Gets the identifier of the property type.
|
|
6358
6540
|
* @i2since 1.0
|
|
@@ -6363,11 +6545,6 @@ export declare namespace schema {
|
|
|
6363
6545
|
* @i2since 1.0
|
|
6364
6546
|
*/
|
|
6365
6547
|
readonly analyzeId?: AnalyzePropertyTypeId;
|
|
6366
|
-
/**
|
|
6367
|
-
* Gets the item type that the property type belongs to.
|
|
6368
|
-
* @i2since 1.10
|
|
6369
|
-
*/
|
|
6370
|
-
readonly itemType: IChartItemType;
|
|
6371
6548
|
/**
|
|
6372
6549
|
* Gets the display name of the property type.
|
|
6373
6550
|
* @i2since 1.0
|
|
@@ -6383,11 +6560,6 @@ export declare namespace schema {
|
|
|
6383
6560
|
* @i2since 1.0
|
|
6384
6561
|
*/
|
|
6385
6562
|
readonly semanticTypeId: string;
|
|
6386
|
-
/**
|
|
6387
|
-
* Indicates whether records whose item type contains the property type must have a value for it.
|
|
6388
|
-
* @i2since 1.0
|
|
6389
|
-
*/
|
|
6390
|
-
readonly isMandatory: boolean;
|
|
6391
6563
|
/**
|
|
6392
6564
|
* Gets the logical type of the value of a property that has the property type.
|
|
6393
6565
|
* @i2since 1.0
|
|
@@ -6422,6 +6594,33 @@ export declare namespace schema {
|
|
|
6422
6594
|
*/
|
|
6423
6595
|
readonly possibleValues?: data.IReadOnlyCollection<IPossibleValue>;
|
|
6424
6596
|
}
|
|
6597
|
+
/**
|
|
6598
|
+
* A property type of an item type.
|
|
6599
|
+
* @i2since 1.0
|
|
6600
|
+
*/
|
|
6601
|
+
export interface IChartPropertyType extends IChartPropertyTypeBase {
|
|
6602
|
+
/**
|
|
6603
|
+
* Gets the item type that the property type belongs to.
|
|
6604
|
+
* @i2since 1.10
|
|
6605
|
+
*/
|
|
6606
|
+
readonly itemType: IChartItemType;
|
|
6607
|
+
/**
|
|
6608
|
+
* Indicates whether records whose item type contains the property type must have a value for it.
|
|
6609
|
+
* @i2since 1.0
|
|
6610
|
+
*/
|
|
6611
|
+
readonly isMandatory: boolean;
|
|
6612
|
+
}
|
|
6613
|
+
/**
|
|
6614
|
+
* A property type of a core type.
|
|
6615
|
+
*
|
|
6616
|
+
* @remarks
|
|
6617
|
+
* A core property type defines a property once for its core type. Unlike an
|
|
6618
|
+
* {@link schema.IChartPropertyType}, it does not belong to a particular item type. To get the
|
|
6619
|
+
* property values of a record, use the property types of the record's item type.
|
|
6620
|
+
* @i2since 1.11
|
|
6621
|
+
*/
|
|
6622
|
+
export interface IChartCorePropertyType extends IChartPropertyTypeBase {
|
|
6623
|
+
}
|
|
6425
6624
|
/**
|
|
6426
6625
|
* A possible value for a property whose property type has a string-based logical type.
|
|
6427
6626
|
* @i2since 1.0
|
package/lib/index.js
CHANGED