@twin.org/hierarchies-models 0.9.0-next.1
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/LICENSE +201 -0
- package/README.md +17 -0
- package/dist/es/factories/hierarchiesConnectorFactory.js +9 -0
- package/dist/es/factories/hierarchiesConnectorFactory.js.map +1 -0
- package/dist/es/index.js +37 -0
- package/dist/es/index.js.map +1 -0
- package/dist/es/models/IAccreditation.js +2 -0
- package/dist/es/models/IAccreditation.js.map +1 -0
- package/dist/es/models/IFederation.js +2 -0
- package/dist/es/models/IFederation.js.map +1 -0
- package/dist/es/models/IGovernance.js +2 -0
- package/dist/es/models/IGovernance.js.map +1 -0
- package/dist/es/models/IHierarchiesComponent.js +2 -0
- package/dist/es/models/IHierarchiesComponent.js.map +1 -0
- package/dist/es/models/IHierarchiesConnector.js +2 -0
- package/dist/es/models/IHierarchiesConnector.js.map +1 -0
- package/dist/es/models/IProperty.js +2 -0
- package/dist/es/models/IProperty.js.map +1 -0
- package/dist/es/models/IPropertyCondition.js +2 -0
- package/dist/es/models/IPropertyCondition.js.map +1 -0
- package/dist/es/models/IPropertyValue.js +2 -0
- package/dist/es/models/IPropertyValue.js.map +1 -0
- package/dist/es/models/IRootAuthority.js +4 -0
- package/dist/es/models/IRootAuthority.js.map +1 -0
- package/dist/es/models/ITimespan.js +4 -0
- package/dist/es/models/ITimespan.js.map +1 -0
- package/dist/es/models/api/IHierarchiesAccreditationAddRequest.js +2 -0
- package/dist/es/models/api/IHierarchiesAccreditationAddRequest.js.map +1 -0
- package/dist/es/models/api/IHierarchiesAccreditationGetRequest.js +4 -0
- package/dist/es/models/api/IHierarchiesAccreditationGetRequest.js.map +1 -0
- package/dist/es/models/api/IHierarchiesAccreditationGetResponse.js +2 -0
- package/dist/es/models/api/IHierarchiesAccreditationGetResponse.js.map +1 -0
- package/dist/es/models/api/IHierarchiesAccreditationRemoveRequest.js +4 -0
- package/dist/es/models/api/IHierarchiesAccreditationRemoveRequest.js.map +1 -0
- package/dist/es/models/api/IHierarchiesAccreditationsGetRequest.js +4 -0
- package/dist/es/models/api/IHierarchiesAccreditationsGetRequest.js.map +1 -0
- package/dist/es/models/api/IHierarchiesAccreditationsGetResponse.js +2 -0
- package/dist/es/models/api/IHierarchiesAccreditationsGetResponse.js.map +1 -0
- package/dist/es/models/api/IHierarchiesAuthorityAddRequest.js +4 -0
- package/dist/es/models/api/IHierarchiesAuthorityAddRequest.js.map +1 -0
- package/dist/es/models/api/IHierarchiesAuthorityRemoveRequest.js +4 -0
- package/dist/es/models/api/IHierarchiesAuthorityRemoveRequest.js.map +1 -0
- package/dist/es/models/api/IHierarchiesFederationCreateRequest.js +4 -0
- package/dist/es/models/api/IHierarchiesFederationCreateRequest.js.map +1 -0
- package/dist/es/models/api/IHierarchiesFederationGetRequest.js +4 -0
- package/dist/es/models/api/IHierarchiesFederationGetRequest.js.map +1 -0
- package/dist/es/models/api/IHierarchiesFederationGetResponse.js +2 -0
- package/dist/es/models/api/IHierarchiesFederationGetResponse.js.map +1 -0
- package/dist/es/models/api/IHierarchiesPropertiesGetRequest.js +4 -0
- package/dist/es/models/api/IHierarchiesPropertiesGetRequest.js.map +1 -0
- package/dist/es/models/api/IHierarchiesPropertiesGetResponse.js +2 -0
- package/dist/es/models/api/IHierarchiesPropertiesGetResponse.js.map +1 -0
- package/dist/es/models/api/IHierarchiesPropertiesValidateRequest.js +2 -0
- package/dist/es/models/api/IHierarchiesPropertiesValidateRequest.js.map +1 -0
- package/dist/es/models/api/IHierarchiesPropertiesValidateResponse.js +4 -0
- package/dist/es/models/api/IHierarchiesPropertiesValidateResponse.js.map +1 -0
- package/dist/es/models/api/IHierarchiesPropertyAddRequest.js +2 -0
- package/dist/es/models/api/IHierarchiesPropertyAddRequest.js.map +1 -0
- package/dist/es/models/api/IHierarchiesPropertyGetRequest.js +4 -0
- package/dist/es/models/api/IHierarchiesPropertyGetRequest.js.map +1 -0
- package/dist/es/models/api/IHierarchiesPropertyGetResponse.js +2 -0
- package/dist/es/models/api/IHierarchiesPropertyGetResponse.js.map +1 -0
- package/dist/es/models/api/IHierarchiesPropertyRemoveRequest.js +4 -0
- package/dist/es/models/api/IHierarchiesPropertyRemoveRequest.js.map +1 -0
- package/dist/es/models/api/IHierarchiesPropertyValidateRequest.js +2 -0
- package/dist/es/models/api/IHierarchiesPropertyValidateRequest.js.map +1 -0
- package/dist/es/models/api/IHierarchiesPropertyValidateResponse.js +4 -0
- package/dist/es/models/api/IHierarchiesPropertyValidateResponse.js.map +1 -0
- package/dist/es/models/propertyConstraintType.js +29 -0
- package/dist/es/models/propertyConstraintType.js.map +1 -0
- package/dist/es/models/propertyType.js +17 -0
- package/dist/es/models/propertyType.js.map +1 -0
- package/dist/types/factories/hierarchiesConnectorFactory.d.ts +6 -0
- package/dist/types/index.d.ts +34 -0
- package/dist/types/models/IAccreditation.d.ts +18 -0
- package/dist/types/models/IFederation.d.ts +24 -0
- package/dist/types/models/IGovernance.d.ts +28 -0
- package/dist/types/models/IHierarchiesComponent.d.ts +160 -0
- package/dist/types/models/IHierarchiesConnector.d.ts +159 -0
- package/dist/types/models/IProperty.d.ts +24 -0
- package/dist/types/models/IPropertyCondition.d.ts +19 -0
- package/dist/types/models/IPropertyValue.d.ts +14 -0
- package/dist/types/models/IRootAuthority.d.ts +13 -0
- package/dist/types/models/ITimespan.d.ts +13 -0
- package/dist/types/models/api/IHierarchiesAccreditationAddRequest.d.ts +19 -0
- package/dist/types/models/api/IHierarchiesAccreditationGetRequest.d.ts +22 -0
- package/dist/types/models/api/IHierarchiesAccreditationGetResponse.d.ts +10 -0
- package/dist/types/models/api/IHierarchiesAccreditationRemoveRequest.d.ts +22 -0
- package/dist/types/models/api/IHierarchiesAccreditationsGetRequest.d.ts +18 -0
- package/dist/types/models/api/IHierarchiesAccreditationsGetResponse.d.ts +10 -0
- package/dist/types/models/api/IHierarchiesAuthorityAddRequest.d.ts +23 -0
- package/dist/types/models/api/IHierarchiesAuthorityRemoveRequest.d.ts +18 -0
- package/dist/types/models/api/IHierarchiesFederationCreateRequest.d.ts +18 -0
- package/dist/types/models/api/IHierarchiesFederationGetRequest.d.ts +23 -0
- package/dist/types/models/api/IHierarchiesFederationGetResponse.d.ts +10 -0
- package/dist/types/models/api/IHierarchiesPropertiesGetRequest.d.ts +23 -0
- package/dist/types/models/api/IHierarchiesPropertiesGetResponse.d.ts +10 -0
- package/dist/types/models/api/IHierarchiesPropertiesValidateRequest.d.ts +30 -0
- package/dist/types/models/api/IHierarchiesPropertiesValidateResponse.d.ts +14 -0
- package/dist/types/models/api/IHierarchiesPropertyAddRequest.d.ts +19 -0
- package/dist/types/models/api/IHierarchiesPropertyGetRequest.d.ts +18 -0
- package/dist/types/models/api/IHierarchiesPropertyGetResponse.d.ts +10 -0
- package/dist/types/models/api/IHierarchiesPropertyRemoveRequest.d.ts +18 -0
- package/dist/types/models/api/IHierarchiesPropertyValidateRequest.d.ts +32 -0
- package/dist/types/models/api/IHierarchiesPropertyValidateResponse.d.ts +14 -0
- package/dist/types/models/propertyConstraintType.d.ts +29 -0
- package/dist/types/models/propertyType.d.ts +17 -0
- package/docs/changelog.md +11 -0
- package/docs/examples.md +74 -0
- package/docs/reference/index.md +46 -0
- package/docs/reference/interfaces/IAccreditation.md +27 -0
- package/docs/reference/interfaces/IFederation.md +36 -0
- package/docs/reference/interfaces/IGovernance.md +44 -0
- package/docs/reference/interfaces/IHierarchiesAccreditationAddRequest.md +25 -0
- package/docs/reference/interfaces/IHierarchiesAccreditationGetRequest.md +29 -0
- package/docs/reference/interfaces/IHierarchiesAccreditationGetResponse.md +11 -0
- package/docs/reference/interfaces/IHierarchiesAccreditationRemoveRequest.md +29 -0
- package/docs/reference/interfaces/IHierarchiesAccreditationsGetRequest.md +23 -0
- package/docs/reference/interfaces/IHierarchiesAccreditationsGetResponse.md +11 -0
- package/docs/reference/interfaces/IHierarchiesAuthorityAddRequest.md +31 -0
- package/docs/reference/interfaces/IHierarchiesAuthorityRemoveRequest.md +23 -0
- package/docs/reference/interfaces/IHierarchiesComponent.md +613 -0
- package/docs/reference/interfaces/IHierarchiesConnector.md +607 -0
- package/docs/reference/interfaces/IHierarchiesFederationCreateRequest.md +23 -0
- package/docs/reference/interfaces/IHierarchiesFederationGetRequest.md +31 -0
- package/docs/reference/interfaces/IHierarchiesFederationGetResponse.md +11 -0
- package/docs/reference/interfaces/IHierarchiesPropertiesGetRequest.md +31 -0
- package/docs/reference/interfaces/IHierarchiesPropertiesGetResponse.md +11 -0
- package/docs/reference/interfaces/IHierarchiesPropertiesValidateRequest.md +41 -0
- package/docs/reference/interfaces/IHierarchiesPropertiesValidateResponse.md +17 -0
- package/docs/reference/interfaces/IHierarchiesPropertyAddRequest.md +25 -0
- package/docs/reference/interfaces/IHierarchiesPropertyGetRequest.md +23 -0
- package/docs/reference/interfaces/IHierarchiesPropertyGetResponse.md +11 -0
- package/docs/reference/interfaces/IHierarchiesPropertyRemoveRequest.md +23 -0
- package/docs/reference/interfaces/IHierarchiesPropertyValidateRequest.md +43 -0
- package/docs/reference/interfaces/IHierarchiesPropertyValidateResponse.md +17 -0
- package/docs/reference/interfaces/IProperty.md +35 -0
- package/docs/reference/interfaces/IPropertyCondition.md +27 -0
- package/docs/reference/interfaces/IPropertyValue.md +19 -0
- package/docs/reference/interfaces/IRootAuthority.md +19 -0
- package/docs/reference/interfaces/ITimespan.md +19 -0
- package/docs/reference/type-aliases/PropertyConstraintType.md +5 -0
- package/docs/reference/type-aliases/PropertyType.md +5 -0
- package/docs/reference/variables/HierarchiesConnectorFactory.md +5 -0
- package/docs/reference/variables/PropertyConstraintType.md +37 -0
- package/docs/reference/variables/PropertyType.md +19 -0
- package/locales/en.json +3 -0
- package/package.json +53 -0
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
# Interface: IHierarchiesAccreditationAddRequest
|
|
2
|
+
|
|
3
|
+
Request to add an accreditation to a federation.
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
### pathParams {#pathparams}
|
|
8
|
+
|
|
9
|
+
> **pathParams**: `object`
|
|
10
|
+
|
|
11
|
+
The request path parameters.
|
|
12
|
+
|
|
13
|
+
#### federationId
|
|
14
|
+
|
|
15
|
+
> **federationId**: `string`
|
|
16
|
+
|
|
17
|
+
The id of the federation.
|
|
18
|
+
|
|
19
|
+
***
|
|
20
|
+
|
|
21
|
+
### body {#body}
|
|
22
|
+
|
|
23
|
+
> **body**: `Omit`\<[`IAccreditation`](IAccreditation.md), `"permissionId"`\>
|
|
24
|
+
|
|
25
|
+
The request data.
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
# Interface: IHierarchiesAccreditationGetRequest
|
|
2
|
+
|
|
3
|
+
Request to get federation accreditation.
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
### pathParams {#pathparams}
|
|
8
|
+
|
|
9
|
+
> **pathParams**: `object`
|
|
10
|
+
|
|
11
|
+
The request path parameters.
|
|
12
|
+
|
|
13
|
+
#### federationId
|
|
14
|
+
|
|
15
|
+
> **federationId**: `string`
|
|
16
|
+
|
|
17
|
+
The id of the federation to get.
|
|
18
|
+
|
|
19
|
+
#### accreditedById
|
|
20
|
+
|
|
21
|
+
> **accreditedById**: `string`
|
|
22
|
+
|
|
23
|
+
The id of the authority for which to get the accreditation.
|
|
24
|
+
|
|
25
|
+
#### permissionId
|
|
26
|
+
|
|
27
|
+
> **permissionId**: `string`
|
|
28
|
+
|
|
29
|
+
The id of the permission for which to get the accreditation.
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
# Interface: IHierarchiesAccreditationRemoveRequest
|
|
2
|
+
|
|
3
|
+
Request to remove an accreditation from a federation.
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
### pathParams {#pathparams}
|
|
8
|
+
|
|
9
|
+
> **pathParams**: `object`
|
|
10
|
+
|
|
11
|
+
The request path parameters.
|
|
12
|
+
|
|
13
|
+
#### federationId
|
|
14
|
+
|
|
15
|
+
> **federationId**: `string`
|
|
16
|
+
|
|
17
|
+
The id of the federation.
|
|
18
|
+
|
|
19
|
+
#### accreditedById
|
|
20
|
+
|
|
21
|
+
> **accreditedById**: `string`
|
|
22
|
+
|
|
23
|
+
The accredited by id.
|
|
24
|
+
|
|
25
|
+
#### permissionId
|
|
26
|
+
|
|
27
|
+
> **permissionId**: `string`
|
|
28
|
+
|
|
29
|
+
The permission id of the accreditation to remove.
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
# Interface: IHierarchiesAccreditationsGetRequest
|
|
2
|
+
|
|
3
|
+
Request to get federation accreditations.
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
### pathParams {#pathparams}
|
|
8
|
+
|
|
9
|
+
> **pathParams**: `object`
|
|
10
|
+
|
|
11
|
+
The request path parameters.
|
|
12
|
+
|
|
13
|
+
#### federationId
|
|
14
|
+
|
|
15
|
+
> **federationId**: `string`
|
|
16
|
+
|
|
17
|
+
The id of the federation to get.
|
|
18
|
+
|
|
19
|
+
#### accreditedById
|
|
20
|
+
|
|
21
|
+
> **accreditedById**: `string`
|
|
22
|
+
|
|
23
|
+
The id of the authority for which to get the accreditations.
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
# Interface: IHierarchiesAuthorityAddRequest
|
|
2
|
+
|
|
3
|
+
Request to add an authority to a federation.
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
### pathParams {#pathparams}
|
|
8
|
+
|
|
9
|
+
> **pathParams**: `object`
|
|
10
|
+
|
|
11
|
+
The request path parameters.
|
|
12
|
+
|
|
13
|
+
#### federationId
|
|
14
|
+
|
|
15
|
+
> **federationId**: `string`
|
|
16
|
+
|
|
17
|
+
The id of the federation.
|
|
18
|
+
|
|
19
|
+
***
|
|
20
|
+
|
|
21
|
+
### body {#body}
|
|
22
|
+
|
|
23
|
+
> **body**: `object`
|
|
24
|
+
|
|
25
|
+
The request data.
|
|
26
|
+
|
|
27
|
+
#### accountId
|
|
28
|
+
|
|
29
|
+
> **accountId**: `string`
|
|
30
|
+
|
|
31
|
+
The account id of the authority to add.
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
# Interface: IHierarchiesAuthorityRemoveRequest
|
|
2
|
+
|
|
3
|
+
Request to remove an authority from a federation.
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
### pathParams {#pathparams}
|
|
8
|
+
|
|
9
|
+
> **pathParams**: `object`
|
|
10
|
+
|
|
11
|
+
The request path parameters.
|
|
12
|
+
|
|
13
|
+
#### federationId
|
|
14
|
+
|
|
15
|
+
> **federationId**: `string`
|
|
16
|
+
|
|
17
|
+
The id of the federation.
|
|
18
|
+
|
|
19
|
+
#### accountId
|
|
20
|
+
|
|
21
|
+
> **accountId**: `string`
|
|
22
|
+
|
|
23
|
+
The account id of the authority to remove.
|