@twinfinity/twin 0.0.0-feature.31596
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/README.md +277 -0
- package/dist/BuildInfo.d.ts +25 -0
- package/dist/BuildInfo.d.ts.map +1 -0
- package/dist/BuildInfo.js +15 -0
- package/dist/BuildInfo.js.map +1 -0
- package/dist/TwinClient.d.ts +823 -0
- package/dist/TwinClient.d.ts.map +1 -0
- package/dist/TwinClient.js +1487 -0
- package/dist/TwinClient.js.map +1 -0
- package/dist/errors.d.ts +289 -0
- package/dist/errors.d.ts.map +1 -0
- package/dist/errors.js +357 -0
- package/dist/errors.js.map +1 -0
- package/dist/index.d.ts +4 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +4 -0
- package/dist/index.js.map +1 -0
- package/dist/tsconfig.tsbuildinfo +1 -0
- package/dist/types/Twin.d.ts +7 -0
- package/dist/types/Twin.d.ts.map +1 -0
- package/dist/types/Twin.js +6 -0
- package/dist/types/Twin.js.map +1 -0
- package/dist/types/TwinGeometryInfo.d.ts +7 -0
- package/dist/types/TwinGeometryInfo.d.ts.map +1 -0
- package/dist/types/TwinGeometryInfo.js +2 -0
- package/dist/types/TwinGeometryInfo.js.map +1 -0
- package/dist/types/asset-api.d.ts +66 -0
- package/dist/types/asset-api.d.ts.map +1 -0
- package/dist/types/asset-api.js +2 -0
- package/dist/types/asset-api.js.map +1 -0
- package/dist/types/asset-attachment-api.d.ts +51 -0
- package/dist/types/asset-attachment-api.d.ts.map +1 -0
- package/dist/types/asset-attachment-api.js +8 -0
- package/dist/types/asset-attachment-api.js.map +1 -0
- package/dist/types/asset-batch-api.d.ts +73 -0
- package/dist/types/asset-batch-api.d.ts.map +1 -0
- package/dist/types/asset-batch-api.js +2 -0
- package/dist/types/asset-batch-api.js.map +1 -0
- package/dist/types/asset-types-api.d.ts +76 -0
- package/dist/types/asset-types-api.d.ts.map +1 -0
- package/dist/types/asset-types-api.js +5 -0
- package/dist/types/asset-types-api.js.map +1 -0
- package/dist/types/common.d.ts +10 -0
- package/dist/types/common.d.ts.map +1 -0
- package/dist/types/common.js +2 -0
- package/dist/types/common.js.map +1 -0
- package/dist/types/generated.d.ts +458 -0
- package/dist/types/generated.d.ts.map +1 -0
- package/dist/types/generated.js +2 -0
- package/dist/types/generated.js.map +1 -0
- package/dist/types/index.d.ts +10 -0
- package/dist/types/index.d.ts.map +1 -0
- package/dist/types/index.js +10 -0
- package/dist/types/index.js.map +1 -0
- package/dist/types/twin-api.d.ts +141 -0
- package/dist/types/twin-api.d.ts.map +1 -0
- package/dist/types/twin-api.js +2 -0
- package/dist/types/twin-api.js.map +1 -0
- package/dist/types/twin-file-api.d.ts +61 -0
- package/dist/types/twin-file-api.d.ts.map +1 -0
- package/dist/types/twin-file-api.js +2 -0
- package/dist/types/twin-file-api.js.map +1 -0
- package/dist/types/twin-permissions-api.d.ts +240 -0
- package/dist/types/twin-permissions-api.d.ts.map +1 -0
- package/dist/types/twin-permissions-api.js +2 -0
- package/dist/types/twin-permissions-api.js.map +1 -0
- package/docs/.nojekyll +1 -0
- package/docs/assets/hierarchy.js +1 -0
- package/docs/assets/highlight.css +99 -0
- package/docs/assets/icons.js +18 -0
- package/docs/assets/icons.svg +1 -0
- package/docs/assets/main.js +60 -0
- package/docs/assets/navigation.js +1 -0
- package/docs/assets/search.js +1 -0
- package/docs/assets/style.css +1633 -0
- package/docs/classes/AssetAttachmentConflictError.html +3 -0
- package/docs/classes/AssetAttachmentNotFoundError.html +2 -0
- package/docs/classes/AssetBatchError.html +3 -0
- package/docs/classes/AssetCatalogTooLargeError.html +16 -0
- package/docs/classes/AssetCategoryConflictError.html +3 -0
- package/docs/classes/AssetCategoryForbiddenError.html +2 -0
- package/docs/classes/AssetCategoryNotFoundError.html +2 -0
- package/docs/classes/AssetCategoryValidationError.html +3 -0
- package/docs/classes/AssetConflictError.html +3 -0
- package/docs/classes/AssetForbiddenError.html +2 -0
- package/docs/classes/AssetNotFoundError.html +2 -0
- package/docs/classes/AssetPermissionsConflictError.html +16 -0
- package/docs/classes/AssetTypeConflictError.html +3 -0
- package/docs/classes/AssetTypeForbiddenError.html +2 -0
- package/docs/classes/AssetTypeNotFoundError.html +2 -0
- package/docs/classes/AssetTypeValidationError.html +3 -0
- package/docs/classes/AssetValidationError.html +3 -0
- package/docs/classes/ProcessorNotFoundError.html +2 -0
- package/docs/classes/TwinClient.html +409 -0
- package/docs/classes/TwinConflictError.html +3 -0
- package/docs/classes/TwinFileConflictError.html +3 -0
- package/docs/classes/TwinFileNotFoundError.html +2 -0
- package/docs/classes/TwinFileValidationError.html +3 -0
- package/docs/classes/TwinNotFoundError.html +4 -0
- package/docs/classes/TwinPermissionsConflictError.html +19 -0
- package/docs/classes/TwinPermissionsForbiddenError.html +12 -0
- package/docs/classes/TwinPrincipalNotFoundError.html +5 -0
- package/docs/classes/TwinTemporarilyUnavailableError.html +10 -0
- package/docs/classes/TwinUnauthenticatedError.html +6 -0
- package/docs/classes/TwinValidationError.html +3 -0
- package/docs/functions/isAssetCatalogTooLargeErrorBody.html +6 -0
- package/docs/functions/readErrorBody.html +10 -0
- package/docs/hierarchy.html +1 -0
- package/docs/index.html +168 -0
- package/docs/interfaces/ApiCreateUploadSessionResponse.html +7 -0
- package/docs/interfaces/AssetAttachmentPut.html +6 -0
- package/docs/interfaces/AssetBatchDeleteOperation.html +4 -0
- package/docs/interfaces/AssetBatchGetRequest.html +2 -0
- package/docs/interfaces/AssetBatchGetResponse.html +3 -0
- package/docs/interfaces/AssetBatchRequest.html +2 -0
- package/docs/interfaces/AssetBatchResponse.html +3 -0
- package/docs/interfaces/AssetBatchRestoreOperation.html +4 -0
- package/docs/interfaces/AssetBatchUpsertItem.html +12 -0
- package/docs/interfaces/AssetBatchUpsertOperation.html +4 -0
- package/docs/interfaces/AssetCatalogCategory.html +7 -0
- package/docs/interfaces/AssetCatalogResponse.html +6 -0
- package/docs/interfaces/AssetCatalogTooLargeErrorBody.html +15 -0
- package/docs/interfaces/AssetCategoryDelete.html +2 -0
- package/docs/interfaces/AssetCategoryGet.html +14 -0
- package/docs/interfaces/AssetCategoryPut.html +7 -0
- package/docs/interfaces/AssetGet.html +18 -0
- package/docs/interfaces/AssetGroupGet.html +9 -0
- package/docs/interfaces/AssetGroupsGet.html +3 -0
- package/docs/interfaces/AssetListItem.html +14 -0
- package/docs/interfaces/AssetPermissionsConflictErrorBody.html +12 -0
- package/docs/interfaces/AssetPermissionsPut.html +9 -0
- package/docs/interfaces/AssetPosition.html +4 -0
- package/docs/interfaces/AssetPost.html +12 -0
- package/docs/interfaces/AssetPrincipalPermissionsGet.html +23 -0
- package/docs/interfaces/AssetPut.html +12 -0
- package/docs/interfaces/AssetTypeDelete.html +2 -0
- package/docs/interfaces/AssetTypeGet.html +16 -0
- package/docs/interfaces/AssetTypePut.html +9 -0
- package/docs/interfaces/AttachmentGet.html +20 -0
- package/docs/interfaces/AttachmentPost.html +4 -0
- package/docs/interfaces/BatchItemError.html +4 -0
- package/docs/interfaces/BatchItemResult.html +6 -0
- package/docs/interfaces/BatchSummary.html +4 -0
- package/docs/interfaces/Coordinates.html +6 -0
- package/docs/interfaces/Diagnostics.html +4 -0
- package/docs/interfaces/DiagnosticsSummary.html +4 -0
- package/docs/interfaces/ElementQuantities.html +3 -0
- package/docs/interfaces/EntityCollection.html +15 -0
- package/docs/interfaces/EntityRepresentation.html +12 -0
- package/docs/interfaces/Facility.html +22 -0
- package/docs/interfaces/FacilityPart.html +18 -0
- package/docs/interfaces/FilePatch.html +7 -0
- package/docs/interfaces/FilePatchSet.html +5 -0
- package/docs/interfaces/GenericDiagnosticEntry.html +4 -0
- package/docs/interfaces/ITwinClient.html +404 -0
- package/docs/interfaces/IfcDiagnosticEntry.html +5 -0
- package/docs/interfaces/IfcDiagnosticNode.html +6 -0
- package/docs/interfaces/IfcDiagnosticNodeData.html +6 -0
- package/docs/interfaces/InheritedPermissions.html +8 -0
- package/docs/interfaces/ListTwinItem.html +30 -0
- package/docs/interfaces/Location.html +13 -0
- package/docs/interfaces/MyPermissions.html +7 -0
- package/docs/interfaces/MyTwinPermissions.html +5 -0
- package/docs/interfaces/PaginatedResponse.html +3 -0
- package/docs/interfaces/Pagination.html +4 -0
- package/docs/interfaces/Property.html +4 -0
- package/docs/interfaces/PropertySet.html +6 -0
- package/docs/interfaces/SimpleQuantity.html +6 -0
- package/docs/interfaces/SinglePropertyValue.html +5 -0
- package/docs/interfaces/Site.html +27 -0
- package/docs/interfaces/Space.html +16 -0
- package/docs/interfaces/TwinComputedPropertySetsResponse.html +4 -0
- package/docs/interfaces/TwinContentResponse.html +6 -0
- package/docs/interfaces/TwinDelete.html +2 -0
- package/docs/interfaces/TwinDiagnosticEntry.html +5 -0
- package/docs/interfaces/TwinDiagnosticNode.html +4 -0
- package/docs/interfaces/TwinDiagnosticNodeData.html +9 -0
- package/docs/interfaces/TwinDiagnosticsResponse.html +5 -0
- package/docs/interfaces/TwinErrorBody.html +4 -0
- package/docs/interfaces/TwinFileDelete.html +2 -0
- package/docs/interfaces/TwinFileGet.html +15 -0
- package/docs/interfaces/TwinFileListOptions.html +6 -0
- package/docs/interfaces/TwinFilePut.html +8 -0
- package/docs/interfaces/TwinFileReference.html +4 -0
- package/docs/interfaces/TwinFileRestore.html +2 -0
- package/docs/interfaces/TwinFileSource.html +4 -0
- package/docs/interfaces/TwinFileTransform.html +11 -0
- package/docs/interfaces/TwinFileVersionListOptions.html +4 -0
- package/docs/interfaces/TwinGet.html +48 -0
- package/docs/interfaces/TwinGroupGet.html +10 -0
- package/docs/interfaces/TwinGroupsGet.html +3 -0
- package/docs/interfaces/TwinPermissionsConflictErrorBody.html +8 -0
- package/docs/interfaces/TwinPermissionsPut.html +11 -0
- package/docs/interfaces/TwinPrincipalPermissionsGet.html +34 -0
- package/docs/interfaces/TwinProcessorEvent.html +7 -0
- package/docs/interfaces/TwinProcessorResponse.html +5 -0
- package/docs/interfaces/TwinPut.html +21 -0
- package/docs/interfaces/TwinReference.html +4 -0
- package/docs/interfaces/TwinSpecification.html +18 -0
- package/docs/interfaces/TwinVersionContentResponse.html +7 -0
- package/docs/interfaces/UploadStatusGet.html +3 -0
- package/docs/media/twin-management.md +399 -0
- package/docs/modules.html +1 -0
- package/docs/types/AssetBatchGetStatus.html +1 -0
- package/docs/types/AssetBatchOperation.html +1 -0
- package/docs/types/AssetBatchOperationStatus.html +1 -0
- package/docs/types/DiagnosticCategory.html +2 -0
- package/docs/types/DiagnosticLevel.html +2 -0
- package/docs/types/EpsgType.html +1 -0
- package/docs/types/FacilityClass.html +3 -0
- package/docs/types/FacilityPartClass.html +3 -0
- package/docs/types/IfcDiagnosticCode.html +1 -0
- package/docs/types/Op.html +2 -0
- package/docs/types/SinglePropertyValueType.html +3 -0
- package/docs/types/SingleQuantityValueType.html +3 -0
- package/docs/types/SiteType.html +3 -0
- package/docs/types/SpaceType.html +2 -0
- package/docs/types/TwinBoundCapabilityName.html +8 -0
- package/docs/types/TwinCapability.html +12 -0
- package/docs/types/TwinCapabilityName.html +8 -0
- package/docs/types/TwinDiagnosticCode.html +1 -0
- package/docs/types/TwinErrorCause.html +8 -0
- package/docs/types/TwinErrorItemKind.html +4 -0
- package/docs/types/TwinPermissionsConflictCause.html +6 -0
- package/docs/types/TwinScopedCapability.html +9 -0
- package/docs/types/TwinScopedCapabilityName.html +8 -0
- package/docs/types/UploadStatus.html +1 -0
- package/package.json +52 -0
- package/src/BuildInfo.ts +41 -0
- package/src/TwinClient.ts +3113 -0
- package/src/errors.ts +567 -0
- package/src/index.ts +3 -0
- package/src/tsconfig.json +13 -0
- package/src/types/Twin.ts +7 -0
- package/src/types/TwinGeometryInfo.ts +7 -0
- package/src/types/asset-api.ts +69 -0
- package/src/types/asset-attachment-api.ts +56 -0
- package/src/types/asset-batch-api.ts +90 -0
- package/src/types/asset-types-api.ts +86 -0
- package/src/types/common.ts +10 -0
- package/src/types/generated.ts +655 -0
- package/src/types/index.ts +9 -0
- package/src/types/twin-api.ts +153 -0
- package/src/types/twin-file-api.ts +67 -0
- package/src/types/twin-permissions-api.ts +257 -0
|
@@ -0,0 +1,458 @@
|
|
|
1
|
+
export interface Diagnostics {
|
|
2
|
+
generic?: GenericDiagnosticEntry[];
|
|
3
|
+
ifc?: {
|
|
4
|
+
[key: string]: IfcDiagnosticNode;
|
|
5
|
+
};
|
|
6
|
+
twin?: TwinDiagnosticNode[];
|
|
7
|
+
[property: string]: any;
|
|
8
|
+
}
|
|
9
|
+
export interface GenericDiagnosticEntry {
|
|
10
|
+
category: DiagnosticCategory;
|
|
11
|
+
level: DiagnosticLevel;
|
|
12
|
+
message: string;
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* The category of the diagnostic event.
|
|
16
|
+
*/
|
|
17
|
+
export type DiagnosticCategory = 'InvalidData' | 'Geometry';
|
|
18
|
+
/**
|
|
19
|
+
* The severity level of the diagnostic event.
|
|
20
|
+
*/
|
|
21
|
+
export type DiagnosticLevel = 'Fatal' | 'Error' | 'Warning' | 'Information' | 'Debug';
|
|
22
|
+
/**
|
|
23
|
+
* A diagnostic node for an IFC file.
|
|
24
|
+
*/
|
|
25
|
+
export interface IfcDiagnosticNode {
|
|
26
|
+
data: IfcDiagnosticNodeData;
|
|
27
|
+
entries: IfcDiagnosticEntry[];
|
|
28
|
+
incomingConnections: string[];
|
|
29
|
+
outgoingConnections: string[];
|
|
30
|
+
[property: string]: any;
|
|
31
|
+
}
|
|
32
|
+
export interface IfcDiagnosticNodeData {
|
|
33
|
+
/**
|
|
34
|
+
* The globally unique identifier of the entity in the IFC file.
|
|
35
|
+
*/
|
|
36
|
+
gid?: string;
|
|
37
|
+
/**
|
|
38
|
+
* The local identifier of the entity in the IFC file.
|
|
39
|
+
*/
|
|
40
|
+
id: string;
|
|
41
|
+
ifcType: string;
|
|
42
|
+
[property: string]: any;
|
|
43
|
+
}
|
|
44
|
+
export interface IfcDiagnosticEntry {
|
|
45
|
+
category: DiagnosticCategory;
|
|
46
|
+
code: IfcDiagnosticCode;
|
|
47
|
+
level: DiagnosticLevel;
|
|
48
|
+
message?: string;
|
|
49
|
+
}
|
|
50
|
+
export type IfcDiagnosticCode = 'CompletelyTransparent' | 'HighVertexCount' | 'IncorrectAttributeDataType' | 'InvalidBound' | 'InvalidColor' | 'InvalidElementQuantity' | 'InvalidEnumValue' | 'InvalidFace' | 'InvalidMesh' | 'InvalidObjectReference' | 'InvalidPosition' | 'InvalidProperty' | 'InvalidPropertySet' | 'InvalidQuantity' | 'InvalidRelation' | 'InvalidSpecularHighlight' | 'InvalidWorldCoordinateSystem' | 'InvalidUnit' | 'LargeMeshNotHealed' | 'MappedItemWithoutTarget' | 'MaterialHasMultipleStyles' | 'MeshFarFromOrigo' | 'MeshOmitted' | 'MissingOrInvalidSurfaceColor' | 'MissingPlacement' | 'MultipleProjects' | 'NamedUnitWithoutName' | 'NonUnitEntityReferredAsUnit' | 'NoProject' | 'NotEnoughAttributes' | 'OpenSpace' | 'PropertySetWithoutName' | 'PropertyWithoutName' | 'QuantityWithoutName' | 'RepresentationItemWithoutContext' | 'StyleContainsMultipleSurfaceStyles' | 'SubContextInProjectRepresentationContexts' | 'UnitWithoutType' | 'UnknownMaterialType' | 'UnknownPrefix' | 'UnknownUnitType' | 'UnsupportedRepresentationItem' | 'UnsupportedStyleElement' | 'UnsupportedUnitType';
|
|
51
|
+
/**
|
|
52
|
+
* A diagnostic node for a Twin file.
|
|
53
|
+
*/
|
|
54
|
+
export interface TwinDiagnosticNode {
|
|
55
|
+
data: TwinDiagnosticNodeData;
|
|
56
|
+
entries: TwinDiagnosticEntry[];
|
|
57
|
+
[property: string]: any;
|
|
58
|
+
}
|
|
59
|
+
export interface TwinDiagnosticNodeData {
|
|
60
|
+
/**
|
|
61
|
+
* The identifier of the entity in the Twin file.
|
|
62
|
+
*/
|
|
63
|
+
gid?: string;
|
|
64
|
+
/**
|
|
65
|
+
* The identifier of the model this entity belongs to.
|
|
66
|
+
*/
|
|
67
|
+
modelId?: string;
|
|
68
|
+
/**
|
|
69
|
+
* The name of the entity.
|
|
70
|
+
*/
|
|
71
|
+
name?: string;
|
|
72
|
+
/**
|
|
73
|
+
* Incoming identifier from the IFC file.
|
|
74
|
+
*/
|
|
75
|
+
originalGid?: string;
|
|
76
|
+
[property: string]: any;
|
|
77
|
+
}
|
|
78
|
+
export interface TwinDiagnosticEntry {
|
|
79
|
+
category: DiagnosticCategory;
|
|
80
|
+
code?: TwinDiagnosticCode;
|
|
81
|
+
level: DiagnosticLevel;
|
|
82
|
+
message: string;
|
|
83
|
+
}
|
|
84
|
+
export type TwinDiagnosticCode = 'CircularHierarchy' | 'FacilityPartNotMapped' | 'GeometryReferenceEmpty' | 'GeometryReferenceShadowed' | 'InvalidInsertionPoint' | 'InvalidStructure' | 'MissingElement' | 'MissingFile' | 'PatchTargetNotFound' | 'DuplicateGlobalId' | 'NonFiniteTransform' | 'NonFiniteGeometryItemTransform' | 'ArtifactMergeFailed' | 'EntityIdMissing' | 'EntityIdNotMapKey' | 'GeometryReferenceUnresolved';
|
|
85
|
+
/**
|
|
86
|
+
* Specification of a Twinfinity Twin
|
|
87
|
+
*/
|
|
88
|
+
export interface TwinSpecification {
|
|
89
|
+
/**
|
|
90
|
+
* Spaces that are not part of any facility
|
|
91
|
+
*/
|
|
92
|
+
aggregatedSpaces?: string[];
|
|
93
|
+
elementQuantities?: ElementQuantities[];
|
|
94
|
+
/**
|
|
95
|
+
* Collection of entities that are part of the twin
|
|
96
|
+
*/
|
|
97
|
+
entities: EntityCollection;
|
|
98
|
+
/**
|
|
99
|
+
* Per-file patch operations applied to model products before merge
|
|
100
|
+
*/
|
|
101
|
+
filePatches?: {
|
|
102
|
+
[key: string]: FilePatchSet;
|
|
103
|
+
};
|
|
104
|
+
/**
|
|
105
|
+
* Unique identifier for the twin
|
|
106
|
+
*/
|
|
107
|
+
id?: string;
|
|
108
|
+
propertySets?: PropertySet[];
|
|
109
|
+
/**
|
|
110
|
+
* Id of the entity that is the root (top) node of the Twin's entity tree. Must reference a
|
|
111
|
+
* site or facility present in the EntityCollection.
|
|
112
|
+
*/
|
|
113
|
+
rootEntity: string;
|
|
114
|
+
/**
|
|
115
|
+
* Legacy. The site of the Twin. Deprecated: use rootEntity, which is authoritative for the
|
|
116
|
+
* root of the Twin's entity tree.
|
|
117
|
+
*/
|
|
118
|
+
site?: string;
|
|
119
|
+
}
|
|
120
|
+
export interface ElementQuantities {
|
|
121
|
+
name: string;
|
|
122
|
+
simpleQuantities?: SimpleQuantity[];
|
|
123
|
+
}
|
|
124
|
+
export interface SimpleQuantity {
|
|
125
|
+
name: string;
|
|
126
|
+
/**
|
|
127
|
+
* Type of value (e.g IfcQuantityArea, IfcQuantityNumber)
|
|
128
|
+
*/
|
|
129
|
+
type?: SingleQuantityValueType;
|
|
130
|
+
/**
|
|
131
|
+
* Value of the quantity given in SI units
|
|
132
|
+
*/
|
|
133
|
+
value?: number;
|
|
134
|
+
}
|
|
135
|
+
/**
|
|
136
|
+
* Type of value (e.g IfcQuantityArea, IfcQuantityNumber)
|
|
137
|
+
*
|
|
138
|
+
* Types of qunatity values that consists of a single value
|
|
139
|
+
*/
|
|
140
|
+
export type SingleQuantityValueType = 'IfcQuantityArea' | 'IfcQuantityCount' | 'IfcQuantityLength' | 'IfcQuantityNumber' | 'IfcQuantityVolume' | 'IfcQuantityTime' | 'IfcQuantityWeight';
|
|
141
|
+
/**
|
|
142
|
+
* Collection of entities that are part of the twin
|
|
143
|
+
*/
|
|
144
|
+
export interface EntityCollection {
|
|
145
|
+
/**
|
|
146
|
+
* Facility entities in the Twin
|
|
147
|
+
*/
|
|
148
|
+
facilities?: {
|
|
149
|
+
[key: string]: Facility;
|
|
150
|
+
};
|
|
151
|
+
/**
|
|
152
|
+
* Facility part entities in the Twin
|
|
153
|
+
*/
|
|
154
|
+
facilityParts?: {
|
|
155
|
+
[key: string]: FacilityPart;
|
|
156
|
+
};
|
|
157
|
+
/**
|
|
158
|
+
* Representation relations declaring that a twin entity is represented by an entity in a
|
|
159
|
+
* model file, keyed by relation id
|
|
160
|
+
*/
|
|
161
|
+
representations?: {
|
|
162
|
+
[key: string]: EntityRepresentation;
|
|
163
|
+
};
|
|
164
|
+
/**
|
|
165
|
+
* Site entities in the Twin
|
|
166
|
+
*/
|
|
167
|
+
sites?: {
|
|
168
|
+
[key: string]: Site;
|
|
169
|
+
};
|
|
170
|
+
/**
|
|
171
|
+
* Space entities in the Twin
|
|
172
|
+
*/
|
|
173
|
+
spaces?: {
|
|
174
|
+
[key: string]: Space;
|
|
175
|
+
};
|
|
176
|
+
/**
|
|
177
|
+
* Twin reference entities in the Twin
|
|
178
|
+
*/
|
|
179
|
+
twinReferences?: {
|
|
180
|
+
[key: string]: TwinReference;
|
|
181
|
+
};
|
|
182
|
+
[property: string]: any;
|
|
183
|
+
}
|
|
184
|
+
/**
|
|
185
|
+
* Facility (e.g. building or bridge)
|
|
186
|
+
*/
|
|
187
|
+
export interface Facility {
|
|
188
|
+
/**
|
|
189
|
+
* Facilities that are part of the facility (e.g. when a building is a complex of buildings)
|
|
190
|
+
*/
|
|
191
|
+
aggregatedFacilities?: string[];
|
|
192
|
+
/**
|
|
193
|
+
* Distinct parts of the facility (e.g. storey or railway part)
|
|
194
|
+
*/
|
|
195
|
+
aggregatedFacilityParts?: string[];
|
|
196
|
+
/**
|
|
197
|
+
* Spaces in the facility that do not belong to a facility part
|
|
198
|
+
*/
|
|
199
|
+
aggregatedSpaces?: string[];
|
|
200
|
+
/**
|
|
201
|
+
* Type of facility (e.g. IfcBuilding)
|
|
202
|
+
*/
|
|
203
|
+
class: FacilityClass;
|
|
204
|
+
description?: string;
|
|
205
|
+
elementQuantities?: ElementQuantities[];
|
|
206
|
+
/**
|
|
207
|
+
* Unique identifier for the building. A canonical IFC GlobalId: a 128-bit uuid compressed
|
|
208
|
+
* per the IFC specification, never spelled as one. The id becomes the object's GlobalId in
|
|
209
|
+
* the client model and the 'entity' component of every reference naming it.
|
|
210
|
+
*/
|
|
211
|
+
id: string;
|
|
212
|
+
/**
|
|
213
|
+
* Location of the facility in WGS84. When the facility is the twin's root entity, this is
|
|
214
|
+
* the twin's location.
|
|
215
|
+
*/
|
|
216
|
+
location?: Location;
|
|
217
|
+
longName?: string;
|
|
218
|
+
name?: string;
|
|
219
|
+
propertySets?: PropertySet[];
|
|
220
|
+
}
|
|
221
|
+
/**
|
|
222
|
+
* Type of facility (e.g. IfcBuilding)
|
|
223
|
+
*
|
|
224
|
+
* Types of facilities
|
|
225
|
+
*/
|
|
226
|
+
export type FacilityClass = 'IfcBridge' | 'IfcBuilding' | 'IfcMarineFacility' | 'IfcRailway' | 'IfcRoad';
|
|
227
|
+
/**
|
|
228
|
+
* Location of the facility in WGS84. When the facility is the twin's root entity, this is
|
|
229
|
+
* the twin's location.
|
|
230
|
+
*
|
|
231
|
+
* A location in WGS84
|
|
232
|
+
*
|
|
233
|
+
* Location of the site in WGS84. When the site is the twin's root entity, this is the
|
|
234
|
+
* twin's location.
|
|
235
|
+
*/
|
|
236
|
+
export interface Location {
|
|
237
|
+
/**
|
|
238
|
+
* Metres above sea level
|
|
239
|
+
*/
|
|
240
|
+
elevation?: number;
|
|
241
|
+
epsg: EpsgType;
|
|
242
|
+
latitude: number;
|
|
243
|
+
longitude: number;
|
|
244
|
+
/**
|
|
245
|
+
* Vector pointing to the true north
|
|
246
|
+
*/
|
|
247
|
+
trueNorth?: number[];
|
|
248
|
+
}
|
|
249
|
+
export type EpsgType = '4326';
|
|
250
|
+
export interface PropertySet {
|
|
251
|
+
name: string;
|
|
252
|
+
/**
|
|
253
|
+
* Properties contained in the set
|
|
254
|
+
*/
|
|
255
|
+
properties?: Property[];
|
|
256
|
+
/**
|
|
257
|
+
* Properties that in themselves are sets of properties
|
|
258
|
+
*/
|
|
259
|
+
propertySets?: PropertySet[];
|
|
260
|
+
}
|
|
261
|
+
export interface Property {
|
|
262
|
+
name: string;
|
|
263
|
+
/**
|
|
264
|
+
* Property value for simple single value properties
|
|
265
|
+
*/
|
|
266
|
+
value?: SinglePropertyValue;
|
|
267
|
+
}
|
|
268
|
+
/**
|
|
269
|
+
* Property value for simple single value properties
|
|
270
|
+
*/
|
|
271
|
+
export interface SinglePropertyValue {
|
|
272
|
+
/**
|
|
273
|
+
* Type of value (e.g IfcDate, IfcAreaMeasure, IfcInteger, IfcElectricCurrentMeasure)
|
|
274
|
+
*/
|
|
275
|
+
type: SinglePropertyValueType;
|
|
276
|
+
value: number | string;
|
|
277
|
+
}
|
|
278
|
+
/**
|
|
279
|
+
* Type of value (e.g IfcDate, IfcAreaMeasure, IfcInteger, IfcElectricCurrentMeasure)
|
|
280
|
+
*
|
|
281
|
+
* Types of property values that consists of a single value
|
|
282
|
+
*/
|
|
283
|
+
export type SinglePropertyValueType = 'IfcAbsorbedDoseMeasure' | 'IfcAccelerationMeasure' | 'IfcAmountOfSubstanceMeasure' | 'IfcAngularVelocityMeasure' | 'IfcAreaMeasure' | 'IfcBinary' | 'IfcBoolean' | 'IfcCountMeasure' | 'IfcDate' | 'IfcDateTime' | 'IfcDescriptiveMeasure' | 'IfcDoseEquivalentMeasure' | 'IfcDuration' | 'IfcDynamicViscosityMeasure' | 'IfcElectricCapacitanceMeasure' | 'IfcElectricChargeMeasure' | 'IfcElectricConductanceMeasure' | 'IfcElectricCurrentMeasure' | 'IfcElectricResistanceMeasure' | 'IfcElectricVoltageMeasure' | 'IfcEnergyMeasure' | 'IfcForceMeasure' | 'IfcFrequencyMeasure' | 'IfcHeatFluxDensityMeasure' | 'IfcHeatingValueMeasure' | 'IfcIdentifier' | 'IfcIlluminanceMeasure' | 'IfcInductanceMeasure' | 'IfcInteger' | 'IfcIntegerCountRateMeasure' | 'IfcIonConcentrationMeasure' | 'IfcIsothermalMoistureCapacityMeasure' | 'IfcKinematicViscosityMeasure' | 'IfcLabel' | 'IfcLengthMeasure' | 'IfcLinearForceMeasure' | 'IfcLinearMomentMeasure' | 'IfcLinearStiffnessMeasure' | 'IfcLinearVelocityMeasure' | 'IfcLogical' | 'IfcLuminousFluxMeasure' | 'IfcLuminousIntensityDistributionMeasure' | 'IfcLuminousIntensityMeasure' | 'IfcMagneticFluxDensityMeasure' | 'IfcMagneticFluxMeasure' | 'IfcMassDensityMeasure' | 'IfcMassFlowRateMeasure' | 'IfcMassMeasure' | 'IfcMassPerLengthMeasure' | 'IfcModulusOfElasticityMeasure' | 'IfcModulusOfLinearSubgradeReactionMeasure' | 'IfcModulusOfRotationalSubgradeReactionMeasure' | 'IfcModulusOfSubgradeReactionMeasure' | 'IfcMoistureDiffusivityMeasure' | 'IfcMolecularWeightMeasure' | 'IfcMomentOfInertiaMeasure' | 'IfcMonetaryMeasure' | 'IfcNonNegativeLengthMeasure' | 'IfcNormalisedRatioMeasure' | 'IfcNumericMeasure' | 'IfcParameterValue' | 'IfcPHMeasure' | 'IfcPlanarForceMeasure' | 'IfcPlaneAngleMeasure' | 'IfcPositiveInteger' | 'IfcPositiveLengthMeasure' | 'IfcPositivePlaneAngleMeasure' | 'IfcPositiveRatioMeasure' | 'IfcPowerMeasure' | 'IfcPressureMeasure' | 'IfcRadioActivityMeasure' | 'IfcRatioMeasure' | 'IfcReal' | 'IfcRotationalFrequencyMeasure' | 'IfcRotationalMassMeasure' | 'IfcRotationalStiffnessMeasure' | 'IfcSectionModulusMeasure' | 'IfcSolidAngleMeasure' | 'IfcSoundPowerMeasure' | 'IfcSoundPressureLevelMeasure' | 'IfcSoundPressureMeasure' | 'IfcSpecificHeatCapacityMeasure' | 'IfcTemperatureGradientMeasure' | 'IfcTemperatureRateOfChangeMeasure' | 'IfcText' | 'IfcThermalAdmittanceMeasure' | 'IfcThermalConductivityMeasure' | 'IfcThermalExpansionCoefficientMeasure' | 'IfcThermalResistanceMeasure' | 'IfcThermalTransmittanceMeasure' | 'IfcThermodynamicTemperatureMeasure' | 'IfcTime' | 'IfcTimeMeasure' | 'IfcTimeStamp' | 'IfcTorqueMeasure' | 'IfcURIReference' | 'IfcVaporPermeabilityMeasure' | 'IfcVolumeMeasure' | 'IfcVolumetricFlowRateMeasure' | 'IfcWarpingConstantMeasure' | 'IfcWarpingMomentMeasure' | 'IfcAreaDensityMeasure' | 'IfcContextDependentMeasure' | 'IfcCurvatureMeasure' | 'IfcSectionalAreaIntegralMeasure' | 'IfcShearModulusMeasure' | 'IfcSoundPowerLevelMeasure';
|
|
284
|
+
/**
|
|
285
|
+
* Distinct part of the facility (e.g. storey or railway part)
|
|
286
|
+
*/
|
|
287
|
+
export interface FacilityPart {
|
|
288
|
+
/**
|
|
289
|
+
* Facility parts that are parts of this part (e.g multiple floor 3 in on different height
|
|
290
|
+
* that are in different parts of the building)
|
|
291
|
+
*/
|
|
292
|
+
aggregatedFacilityParts?: string[];
|
|
293
|
+
/**
|
|
294
|
+
* Spaces that are part of the facility part
|
|
295
|
+
*/
|
|
296
|
+
aggregatedSpaces?: string[];
|
|
297
|
+
/**
|
|
298
|
+
* Type of facility part (e.g. IfcBuildingStorey)
|
|
299
|
+
*/
|
|
300
|
+
class: FacilityPartClass;
|
|
301
|
+
description?: string;
|
|
302
|
+
elementQuantities?: ElementQuantities[];
|
|
303
|
+
/**
|
|
304
|
+
* Unique identifier for the facility part. A canonical IFC GlobalId: a 128-bit uuid
|
|
305
|
+
* compressed per the IFC specification, never spelled as one. The id becomes the object's
|
|
306
|
+
* GlobalId in the client model and the 'entity' component of every reference naming it.
|
|
307
|
+
*/
|
|
308
|
+
id: string;
|
|
309
|
+
longName?: string;
|
|
310
|
+
name?: string;
|
|
311
|
+
propertySets?: PropertySet[];
|
|
312
|
+
}
|
|
313
|
+
/**
|
|
314
|
+
* Type of facility part (e.g. IfcBuildingStorey)
|
|
315
|
+
*
|
|
316
|
+
* Types of facility parts
|
|
317
|
+
*/
|
|
318
|
+
export type FacilityPartClass = 'IfcBridgePart' | 'IfcBuildingStorey' | 'IfcMarinePart' | 'IfcRailwayPart' | 'IfcRoadPart';
|
|
319
|
+
/**
|
|
320
|
+
* An objectified relation declaring that a twin entity is represented by another entity.
|
|
321
|
+
* Modelled as a relation (not an inline attribute) so it stays addressable and extensible,
|
|
322
|
+
* mirroring how twinReferences objectifies twin-to-twin relations.
|
|
323
|
+
*/
|
|
324
|
+
export interface EntityRepresentation {
|
|
325
|
+
/**
|
|
326
|
+
* Reference to the entity that is represented, e.g. twin~twin:{twinId}.entity:{entityId}
|
|
327
|
+
* for an entity in a twin. Must name an entity: the shared grammar also admits a bare
|
|
328
|
+
* domain (a scope, not an entity), which the service refuses here
|
|
329
|
+
*/
|
|
330
|
+
relatingEntity: string;
|
|
331
|
+
/**
|
|
332
|
+
* Reference to the entity that provides this entity's representation, e.g.
|
|
333
|
+
* twin~twin:{twinId}.file:{fileId}/entities/{ifcGid} for an IFC product within one of the
|
|
334
|
+
* twin's model files. Must name an entity, as relatingEntity must
|
|
335
|
+
*/
|
|
336
|
+
representedBy: string;
|
|
337
|
+
}
|
|
338
|
+
/**
|
|
339
|
+
* A site is a defined area of land, possibly covered with water, upon which constructions
|
|
340
|
+
* are located
|
|
341
|
+
*/
|
|
342
|
+
export interface Site {
|
|
343
|
+
/**
|
|
344
|
+
* Facilities (e.g. buildings) in Twin
|
|
345
|
+
*/
|
|
346
|
+
aggregatedFacilities?: string[];
|
|
347
|
+
/**
|
|
348
|
+
* Sites are part of this site
|
|
349
|
+
*/
|
|
350
|
+
aggregatedSites?: string[];
|
|
351
|
+
/**
|
|
352
|
+
* Spaces that are not part of any facility
|
|
353
|
+
*/
|
|
354
|
+
aggregatedSpaces?: string[];
|
|
355
|
+
/**
|
|
356
|
+
* Twin references nested directly under this site
|
|
357
|
+
*/
|
|
358
|
+
aggregatedTwinReferences?: string[];
|
|
359
|
+
/**
|
|
360
|
+
* Type of site (i.e. IfcSite)
|
|
361
|
+
*/
|
|
362
|
+
class: SiteType;
|
|
363
|
+
description?: string;
|
|
364
|
+
elementQuantities?: ElementQuantities[];
|
|
365
|
+
/**
|
|
366
|
+
* Unique identifier for the site. A canonical IFC GlobalId: a 128-bit uuid compressed per
|
|
367
|
+
* the IFC specification, never spelled as one. The id becomes the object's GlobalId in the
|
|
368
|
+
* client model and the 'entity' component of every reference naming it.
|
|
369
|
+
*/
|
|
370
|
+
id: string;
|
|
371
|
+
/**
|
|
372
|
+
* Location of the site in WGS84. When the site is the twin's root entity, this is the
|
|
373
|
+
* twin's location.
|
|
374
|
+
*/
|
|
375
|
+
location?: Location;
|
|
376
|
+
longName?: string;
|
|
377
|
+
/**
|
|
378
|
+
* Name of the site
|
|
379
|
+
*/
|
|
380
|
+
name: string;
|
|
381
|
+
/**
|
|
382
|
+
* Sets of properties describing the Twin (e.g. AreaType = Residential)
|
|
383
|
+
*/
|
|
384
|
+
propertySets?: PropertySet[];
|
|
385
|
+
}
|
|
386
|
+
/**
|
|
387
|
+
* Type of site (i.e. IfcSite)
|
|
388
|
+
*
|
|
389
|
+
* Types of Twins
|
|
390
|
+
*/
|
|
391
|
+
export type SiteType = 'IfcSite';
|
|
392
|
+
/**
|
|
393
|
+
* A volume defining part of a Twin or facility
|
|
394
|
+
*/
|
|
395
|
+
export interface Space {
|
|
396
|
+
/**
|
|
397
|
+
* Spaces that are part of this space
|
|
398
|
+
*/
|
|
399
|
+
aggregatedSpaces?: string[];
|
|
400
|
+
/**
|
|
401
|
+
* Type of space (e.g. IfcSpace)
|
|
402
|
+
*/
|
|
403
|
+
class: SpaceType;
|
|
404
|
+
description?: string;
|
|
405
|
+
elementQuantities?: ElementQuantities[];
|
|
406
|
+
/**
|
|
407
|
+
* Unique identifier for the space. A canonical IFC GlobalId: a 128-bit uuid compressed per
|
|
408
|
+
* the IFC specification, never spelled as one. The id becomes the object's GlobalId in the
|
|
409
|
+
* client model and the 'entity' component of every reference naming it.
|
|
410
|
+
*/
|
|
411
|
+
id: string;
|
|
412
|
+
longName?: string;
|
|
413
|
+
name?: string;
|
|
414
|
+
objectType?: string;
|
|
415
|
+
propertySets?: PropertySet[];
|
|
416
|
+
}
|
|
417
|
+
/**
|
|
418
|
+
* Type of space (e.g. IfcSpace)
|
|
419
|
+
*/
|
|
420
|
+
export type SpaceType = 'IfcSpace';
|
|
421
|
+
/**
|
|
422
|
+
* A reference to another Twin nested within this Twin's spatial hierarchy
|
|
423
|
+
*/
|
|
424
|
+
export interface TwinReference {
|
|
425
|
+
/**
|
|
426
|
+
* Id of the referenced (nested) Twin
|
|
427
|
+
*/
|
|
428
|
+
twin: string;
|
|
429
|
+
}
|
|
430
|
+
export interface FilePatchSet {
|
|
431
|
+
/**
|
|
432
|
+
* Ordered list of patch operations to apply
|
|
433
|
+
*/
|
|
434
|
+
patches: FilePatch[];
|
|
435
|
+
/**
|
|
436
|
+
* Format version of the patch view. Currently only version 1 is supported.
|
|
437
|
+
*/
|
|
438
|
+
viewVersion: number;
|
|
439
|
+
}
|
|
440
|
+
export interface FilePatch {
|
|
441
|
+
/**
|
|
442
|
+
* The patch operation type
|
|
443
|
+
*/
|
|
444
|
+
op: Op;
|
|
445
|
+
/**
|
|
446
|
+
* JSON Pointer-style path: /entities/{ifcGid} or /entities/{ifcGid}/(name|description)
|
|
447
|
+
*/
|
|
448
|
+
path: string;
|
|
449
|
+
/**
|
|
450
|
+
* New value for replace operations. Must be omitted for remove operations.
|
|
451
|
+
*/
|
|
452
|
+
value?: string;
|
|
453
|
+
}
|
|
454
|
+
/**
|
|
455
|
+
* The patch operation type
|
|
456
|
+
*/
|
|
457
|
+
export type Op = 'replace' | 'remove';
|
|
458
|
+
//# sourceMappingURL=generated.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"generated.d.ts","sourceRoot":"","sources":["../../src/types/generated.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,WAAW;IACxB,OAAO,CAAC,EAAE,sBAAsB,EAAE,CAAC;IACnC,GAAG,CAAC,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,iBAAiB,CAAA;KAAE,CAAC;IAC3C,IAAI,CAAC,EAAE,kBAAkB,EAAE,CAAC;IAC5B,CAAC,QAAQ,EAAE,MAAM,GAAG,GAAG,CAAC;CAC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IAAI,CAAC,EAAE,MAAM,CAAC;IACd,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,YAAY,CAAC,EAAE,WAAW,EAAE,CAAC;CAChC;AAED;;GAEG;AACH,MAAM,MAAM,SAAS,GAAG,UAAU,CAAC;AAEnC;;GAEG;AACH,MAAM,WAAW,aAAa;IAC1B;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;CAChB;AAED,MAAM,WAAW,YAAY;IACzB;;OAEG;IACH,OAAO,EAAE,SAAS,EAAE,CAAC;IACrB;;OAEG;IACH,WAAW,EAAE,MAAM,CAAC;CACvB;AAED,MAAM,WAAW,SAAS;IACtB;;OAEG;IACH,EAAE,EAAE,EAAE,CAAC;IACP;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IACb;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;CAClB;AAED;;GAEG;AACH,MAAM,MAAM,EAAE,GAAG,SAAS,GAAG,QAAQ,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"generated.js","sourceRoot":"","sources":["../../src/types/generated.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export * from './common';
|
|
2
|
+
export * from './twin-api';
|
|
3
|
+
export * from './asset-api';
|
|
4
|
+
export * from './asset-batch-api';
|
|
5
|
+
export * from './asset-types-api';
|
|
6
|
+
export * from './asset-attachment-api';
|
|
7
|
+
export * from './twin-permissions-api';
|
|
8
|
+
export * from './twin-file-api';
|
|
9
|
+
export * from './generated';
|
|
10
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/types/index.ts"],"names":[],"mappings":"AAAA,cAAc,UAAU,CAAC;AACzB,cAAc,YAAY,CAAC;AAC3B,cAAc,aAAa,CAAC;AAC5B,cAAc,mBAAmB,CAAC;AAClC,cAAc,mBAAmB,CAAC;AAClC,cAAc,wBAAwB,CAAC;AACvC,cAAc,wBAAwB,CAAC;AACvC,cAAc,iBAAiB,CAAC;AAChC,cAAc,aAAa,CAAC"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export * from './common';
|
|
2
|
+
export * from './twin-api';
|
|
3
|
+
export * from './asset-api';
|
|
4
|
+
export * from './asset-batch-api';
|
|
5
|
+
export * from './asset-types-api';
|
|
6
|
+
export * from './asset-attachment-api';
|
|
7
|
+
export * from './twin-permissions-api';
|
|
8
|
+
export * from './twin-file-api';
|
|
9
|
+
export * from './generated';
|
|
10
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/types/index.ts"],"names":[],"mappings":"AAAA,cAAc,UAAU,CAAC;AACzB,cAAc,YAAY,CAAC;AAC3B,cAAc,aAAa,CAAC;AAC5B,cAAc,mBAAmB,CAAC;AAClC,cAAc,mBAAmB,CAAC;AAClC,cAAc,wBAAwB,CAAC;AACvC,cAAc,wBAAwB,CAAC;AACvC,cAAc,iBAAiB,CAAC;AAChC,cAAc,aAAa,CAAC"}
|
|
@@ -0,0 +1,141 @@
|
|
|
1
|
+
import type { PropertySet, ElementQuantities, TwinSpecification, Diagnostics, EpsgType, Location } from './generated';
|
|
2
|
+
import type { TwinBoundCapabilityName } from './twin-permissions-api';
|
|
3
|
+
export interface TwinFileReference {
|
|
4
|
+
fileId: string;
|
|
5
|
+
fileVersion: number;
|
|
6
|
+
twinNodeId?: string;
|
|
7
|
+
}
|
|
8
|
+
/** WGS84 coordinates of a twin, as returned on the list endpoint (coordinates only — the full
|
|
9
|
+
* Location, including elevation and trueNorth, is available on the single-twin GET). */
|
|
10
|
+
export interface Coordinates {
|
|
11
|
+
epsg: EpsgType;
|
|
12
|
+
latitude: number;
|
|
13
|
+
longitude: number;
|
|
14
|
+
}
|
|
15
|
+
export interface ListTwinItem {
|
|
16
|
+
id: string;
|
|
17
|
+
name: string;
|
|
18
|
+
etag: string;
|
|
19
|
+
propertySets?: PropertySet[];
|
|
20
|
+
computedPropertySets?: PropertySet[];
|
|
21
|
+
elementQuantities?: ElementQuantities[];
|
|
22
|
+
relatedContainerIds: string[];
|
|
23
|
+
version: number;
|
|
24
|
+
isDeleted?: boolean;
|
|
25
|
+
createdBy: string;
|
|
26
|
+
createdUtc: string;
|
|
27
|
+
modifiedBy: string;
|
|
28
|
+
modifiedUtc: string;
|
|
29
|
+
/** Ids of the Twins nested within this Twin, derived by the service from its twin references. */
|
|
30
|
+
aggregatedTwins: string[];
|
|
31
|
+
/** Deduplicated, sorted set of IFC entity classes the twin contains (e.g. IfcBuilding, IfcSpace),
|
|
32
|
+
* computed by the service from the specification's entity collection. */
|
|
33
|
+
classes: string[];
|
|
34
|
+
/** Id of the Twin that references this Twin (its parent), or omitted for a root Twin. */
|
|
35
|
+
parentTwin?: string;
|
|
36
|
+
/** WGS84 coordinates, present only when the twin's specification declares a location. */
|
|
37
|
+
location?: Coordinates;
|
|
38
|
+
/**
|
|
39
|
+
* What the *calling principal* may do with this twin — the whole affordance decision for the
|
|
40
|
+
* row, so a list of a thousand twins needs no probe per row. Never the twin's access-control
|
|
41
|
+
* list: that is `listTwinPermissions(twinId)`, which is administration-gated.
|
|
42
|
+
*
|
|
43
|
+
* Mixes both capability vocabularies, as the twin-scoped probe does. Where each capability was
|
|
44
|
+
* granted is answered by `listTwinPermissions(twinId)`, whose rows split `permissions` from
|
|
45
|
+
* `inheritedPermissions`. Absent on `listTwinVersions`, which does not resolve it.
|
|
46
|
+
*/
|
|
47
|
+
effectivePermissions?: TwinBoundCapabilityName[];
|
|
48
|
+
}
|
|
49
|
+
/**
|
|
50
|
+
* A twin as returned by the service — by `getTwin` and `getTwinVersion`, and by the write methods
|
|
51
|
+
* (`createOrUpdateTwin`, `deleteTwin`, `restoreTwin`), which answer with the same shape. Writing a
|
|
52
|
+
* twin and re-rendering it therefore needs no second fetch.
|
|
53
|
+
*/
|
|
54
|
+
export interface TwinGet extends TwinSpecification {
|
|
55
|
+
id: string;
|
|
56
|
+
etag: string;
|
|
57
|
+
relatedContainerIds: string[];
|
|
58
|
+
version: number;
|
|
59
|
+
isDeleted?: boolean;
|
|
60
|
+
createdBy: string;
|
|
61
|
+
createdUtc: string;
|
|
62
|
+
modifiedBy: string;
|
|
63
|
+
modifiedUtc: string;
|
|
64
|
+
fileReferences: TwinFileReference[];
|
|
65
|
+
computedPropertySets?: PropertySet[];
|
|
66
|
+
/** Ids of the Twins nested within this Twin, derived by the service from its twin references. */
|
|
67
|
+
aggregatedTwins: string[];
|
|
68
|
+
/** Id of the Twin that references this Twin (its parent), or omitted for a root Twin. */
|
|
69
|
+
parentTwin?: string;
|
|
70
|
+
/** Name of the Twin, derived by the service from the root entity. Read-only; not part of the
|
|
71
|
+
* stored specification. */
|
|
72
|
+
name: string;
|
|
73
|
+
/** Full WGS84 location of the Twin (including elevation and trueNorth), derived by the service
|
|
74
|
+
* from the root entity. Read-only; not part of the stored specification. */
|
|
75
|
+
location?: Location;
|
|
76
|
+
/**
|
|
77
|
+
* Everything the *calling principal* may do with this twin: the capabilities its own scopes
|
|
78
|
+
* confer, unioned with the twin-bound asset ones held customer-wide. Calculated by the service on
|
|
79
|
+
* every read, never stored, and never accepted in a `TwinPut` body.
|
|
80
|
+
*
|
|
81
|
+
* The verdict, without its provenance — a fetched twin says no more than a listing row does.
|
|
82
|
+
* Which capabilities are granted here and which come from elsewhere is answered by
|
|
83
|
+
* `listTwinPermissions(twinId)`, where they are administered. Never the twin's access-control
|
|
84
|
+
* list either: this describes the caller, not every principal.
|
|
85
|
+
*/
|
|
86
|
+
effectivePermissions: TwinBoundCapabilityName[];
|
|
87
|
+
}
|
|
88
|
+
export interface TwinPut extends TwinSpecification {
|
|
89
|
+
etag?: string;
|
|
90
|
+
relatedContainerIds: string[];
|
|
91
|
+
fileReferences?: TwinFileReference[];
|
|
92
|
+
}
|
|
93
|
+
export interface TwinDelete {
|
|
94
|
+
etag: string;
|
|
95
|
+
}
|
|
96
|
+
export interface TwinVersionContentResponse {
|
|
97
|
+
twinId: string;
|
|
98
|
+
twinVersion: number;
|
|
99
|
+
status: string;
|
|
100
|
+
processors: TwinProcessorResponse[];
|
|
101
|
+
content: TwinContentResponse[];
|
|
102
|
+
computedPropertySets: TwinComputedPropertySetsResponse[];
|
|
103
|
+
}
|
|
104
|
+
export interface TwinProcessorResponse {
|
|
105
|
+
processorId: string;
|
|
106
|
+
processorName: string;
|
|
107
|
+
processorDescription?: string;
|
|
108
|
+
status: string;
|
|
109
|
+
}
|
|
110
|
+
export interface TwinContentResponse {
|
|
111
|
+
id: string;
|
|
112
|
+
processorId: string;
|
|
113
|
+
format: string;
|
|
114
|
+
description?: string;
|
|
115
|
+
receivedAt: string;
|
|
116
|
+
}
|
|
117
|
+
export interface TwinComputedPropertySetsResponse {
|
|
118
|
+
processorId: string;
|
|
119
|
+
propertySets: PropertySet[];
|
|
120
|
+
receivedAt: string;
|
|
121
|
+
}
|
|
122
|
+
export interface TwinProcessorEvent {
|
|
123
|
+
id: string;
|
|
124
|
+
processorId: string;
|
|
125
|
+
eventType: string;
|
|
126
|
+
eventTimestampUtc: string;
|
|
127
|
+
details?: unknown;
|
|
128
|
+
message?: string;
|
|
129
|
+
}
|
|
130
|
+
export interface DiagnosticsSummary {
|
|
131
|
+
fatalCount: number;
|
|
132
|
+
errorCount: number;
|
|
133
|
+
warningCount: number;
|
|
134
|
+
}
|
|
135
|
+
export interface TwinDiagnosticsResponse {
|
|
136
|
+
twinId: string;
|
|
137
|
+
twinVersion: number;
|
|
138
|
+
summary: DiagnosticsSummary;
|
|
139
|
+
diagnostics: Diagnostics;
|
|
140
|
+
}
|
|
141
|
+
//# sourceMappingURL=twin-api.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"twin-api.d.ts","sourceRoot":"","sources":["../../src/types/twin-api.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,iB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