@twin.org/rights-management-plugins 0.0.3-next.4 → 0.0.3-next.41

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.
Files changed (131) hide show
  1. package/README.md +11 -3
  2. package/dist/es/index.js +18 -10
  3. package/dist/es/index.js.map +1 -1
  4. package/dist/es/models/IAutomationPolicyExecutionActionConfig.js +4 -0
  5. package/dist/es/models/IAutomationPolicyExecutionActionConfig.js.map +1 -0
  6. package/dist/es/models/IAutomationPolicyExecutionActionConstructorOptions.js +2 -0
  7. package/dist/es/models/IAutomationPolicyExecutionActionConstructorOptions.js.map +1 -0
  8. package/dist/es/models/{IExamplePolicyArbiterConstructorOptions.js → IDefaultPolicyArbiterConfig.js} +1 -1
  9. package/dist/es/models/IDefaultPolicyArbiterConfig.js.map +1 -0
  10. package/dist/es/models/{IExamplePolicyRequesterConstructorOptions.js → IDefaultPolicyArbiterConstructorOptions.js} +1 -1
  11. package/dist/es/models/IDefaultPolicyArbiterConstructorOptions.js.map +1 -0
  12. package/dist/es/models/{IExamplePolicyEnforcementProcessorConstructorOptions.js → IDefaultPolicyEnforcementProcessorConstructorOptions.js} +1 -1
  13. package/dist/es/models/IDefaultPolicyEnforcementProcessorConstructorOptions.js.map +1 -0
  14. package/dist/es/models/ILoggingPolicyExecutionActionConfig.js.map +1 -1
  15. package/dist/es/models/{IExampleDataAccessHandlerConstructorOptions.js → IPassThroughPolicyArbiterConstructorOptions.js} +1 -1
  16. package/dist/es/models/IPassThroughPolicyArbiterConstructorOptions.js.map +1 -0
  17. package/dist/es/models/IPassThroughPolicyEnforcementProcessorConstructorOptions.js +4 -0
  18. package/dist/es/models/IPassThroughPolicyEnforcementProcessorConstructorOptions.js.map +1 -0
  19. package/dist/es/models/IPassThroughPolicyNegotiatorConstructorOptions.js +4 -0
  20. package/dist/es/models/IPassThroughPolicyNegotiatorConstructorOptions.js.map +1 -0
  21. package/dist/es/models/IPassThroughPolicyObligationEnforcerConstructorOptions.js +4 -0
  22. package/dist/es/models/IPassThroughPolicyObligationEnforcerConstructorOptions.js.map +1 -0
  23. package/dist/es/models/{IExamplePolicyNegotiatorConstructorOptions.js → IPassThroughPolicyRequesterConstructorOptions.js} +1 -1
  24. package/dist/es/models/IPassThroughPolicyRequesterConstructorOptions.js.map +1 -0
  25. package/dist/es/models/IStaticPolicyInformationSource.js.map +1 -1
  26. package/dist/es/policyArbiters/defaultPolicyArbiter.js +1657 -0
  27. package/dist/es/policyArbiters/defaultPolicyArbiter.js.map +1 -0
  28. package/dist/es/policyArbiters/passThroughPolicyArbiter.js +59 -0
  29. package/dist/es/policyArbiters/passThroughPolicyArbiter.js.map +1 -0
  30. package/dist/es/policyEnforcementProcessor/defaultPolicyEnforcementProcessor.js +146 -0
  31. package/dist/es/policyEnforcementProcessor/defaultPolicyEnforcementProcessor.js.map +1 -0
  32. package/dist/es/policyEnforcementProcessor/passThroughPolicyEnforcementProcessor.js +54 -0
  33. package/dist/es/policyEnforcementProcessor/passThroughPolicyEnforcementProcessor.js.map +1 -0
  34. package/dist/es/policyExecutionActions/automationPolicyExecutionAction.js +76 -0
  35. package/dist/es/policyExecutionActions/automationPolicyExecutionAction.js.map +1 -0
  36. package/dist/es/policyExecutionActions/loggingPolicyExecutionAction.js +16 -15
  37. package/dist/es/policyExecutionActions/loggingPolicyExecutionAction.js.map +1 -1
  38. package/dist/es/policyInformationSources/identityPolicyInformationSource.js +43 -31
  39. package/dist/es/policyInformationSources/identityPolicyInformationSource.js.map +1 -1
  40. package/dist/es/policyInformationSources/staticPolicyInformationSource.js +17 -15
  41. package/dist/es/policyInformationSources/staticPolicyInformationSource.js.map +1 -1
  42. package/dist/es/policyNegotiators/passThroughPolicyNegotiator.js +88 -0
  43. package/dist/es/policyNegotiators/passThroughPolicyNegotiator.js.map +1 -0
  44. package/dist/es/policyObligationEnforcers/passThroughPolicyObligationEnforcer.js +56 -0
  45. package/dist/es/policyObligationEnforcers/passThroughPolicyObligationEnforcer.js.map +1 -0
  46. package/dist/es/policyRequesters/passThroughPolicyRequester.js +103 -0
  47. package/dist/es/policyRequesters/passThroughPolicyRequester.js.map +1 -0
  48. package/dist/types/index.d.ts +18 -10
  49. package/dist/types/models/IAutomationPolicyExecutionActionConfig.d.ts +9 -0
  50. package/dist/types/models/IAutomationPolicyExecutionActionConstructorOptions.d.ts +15 -0
  51. package/dist/types/models/IDefaultPolicyArbiterConfig.d.ts +10 -0
  52. package/dist/types/models/IDefaultPolicyArbiterConstructorOptions.d.ts +20 -0
  53. package/dist/types/models/{IExamplePolicyEnforcementProcessorConstructorOptions.d.ts → IDefaultPolicyEnforcementProcessorConstructorOptions.d.ts} +2 -2
  54. package/dist/types/models/ILoggingPolicyExecutionActionConfig.d.ts +2 -2
  55. package/dist/types/models/{IExamplePolicyArbiterConstructorOptions.d.ts → IPassThroughPolicyArbiterConstructorOptions.d.ts} +2 -2
  56. package/dist/types/models/IPassThroughPolicyEnforcementProcessorConstructorOptions.d.ts +10 -0
  57. package/dist/types/models/{IExamplePolicyNegotiatorConstructorOptions.d.ts → IPassThroughPolicyNegotiatorConstructorOptions.d.ts} +2 -2
  58. package/dist/types/models/IPassThroughPolicyObligationEnforcerConstructorOptions.d.ts +10 -0
  59. package/dist/types/models/{IExamplePolicyRequesterConstructorOptions.d.ts → IPassThroughPolicyRequesterConstructorOptions.d.ts} +2 -2
  60. package/dist/types/models/IStaticPolicyInformationSource.d.ts +10 -4
  61. package/dist/types/policyArbiters/defaultPolicyArbiter.d.ts +41 -0
  62. package/dist/types/policyArbiters/passThroughPolicyArbiter.d.ts +35 -0
  63. package/dist/types/policyEnforcementProcessor/defaultPolicyEnforcementProcessor.d.ts +40 -0
  64. package/dist/types/policyEnforcementProcessor/passThroughPolicyEnforcementProcessor.d.ts +32 -0
  65. package/dist/types/policyExecutionActions/automationPolicyExecutionAction.d.ts +49 -0
  66. package/dist/types/policyExecutionActions/loggingPolicyExecutionAction.d.ts +8 -8
  67. package/dist/types/policyInformationSources/identityPolicyInformationSource.d.ts +8 -6
  68. package/dist/types/policyInformationSources/staticPolicyInformationSource.d.ts +7 -5
  69. package/dist/types/policyNegotiators/passThroughPolicyNegotiator.d.ts +52 -0
  70. package/dist/types/policyObligationEnforcers/passThroughPolicyObligationEnforcer.d.ts +35 -0
  71. package/dist/types/policyRequesters/{examplePolicyRequester.d.ts → passThroughPolicyRequester.d.ts} +15 -20
  72. package/docs/changelog.md +835 -3
  73. package/docs/examples.md +295 -1
  74. package/docs/reference/classes/AutomationPolicyExecutionAction.md +143 -0
  75. package/docs/reference/classes/DefaultPolicyArbiter.md +111 -0
  76. package/docs/reference/classes/DefaultPolicyEnforcementProcessor.md +107 -0
  77. package/docs/reference/classes/IdentityPolicyInformationSource.md +14 -14
  78. package/docs/reference/classes/LoggingPolicyExecutionAction.md +20 -20
  79. package/docs/reference/classes/PassThroughPolicyArbiter.md +101 -0
  80. package/docs/reference/classes/PassThroughPolicyEnforcementProcessor.md +107 -0
  81. package/docs/reference/classes/{ExamplePolicyNegotiator.md → PassThroughPolicyNegotiator.md} +24 -22
  82. package/docs/reference/classes/PassThroughPolicyObligationEnforcer.md +107 -0
  83. package/docs/reference/classes/{ExamplePolicyRequester.md → PassThroughPolicyRequester.md} +20 -38
  84. package/docs/reference/classes/StaticPolicyInformationSource.md +15 -15
  85. package/docs/reference/index.md +18 -10
  86. package/docs/reference/interfaces/IAutomationPolicyExecutionActionConfig.md +11 -0
  87. package/docs/reference/interfaces/IAutomationPolicyExecutionActionConstructorOptions.md +25 -0
  88. package/docs/reference/interfaces/IDefaultPolicyArbiterConfig.md +17 -0
  89. package/docs/reference/interfaces/IDefaultPolicyArbiterConstructorOptions.md +39 -0
  90. package/docs/reference/interfaces/IDefaultPolicyEnforcementProcessorConstructorOptions.md +17 -0
  91. package/docs/reference/interfaces/IIdentityPolicyInformationSourceConstructorOptions.md +4 -4
  92. package/docs/reference/interfaces/ILoggingPolicyExecutionActionConfig.md +9 -9
  93. package/docs/reference/interfaces/ILoggingPolicyExecutionActionConstructorOptions.md +4 -4
  94. package/docs/reference/interfaces/IPassThroughPolicyArbiterConstructorOptions.md +17 -0
  95. package/docs/reference/interfaces/IPassThroughPolicyEnforcementProcessorConstructorOptions.md +17 -0
  96. package/docs/reference/interfaces/IPassThroughPolicyNegotiatorConstructorOptions.md +17 -0
  97. package/docs/reference/interfaces/IPassThroughPolicyObligationEnforcerConstructorOptions.md +17 -0
  98. package/docs/reference/interfaces/IPassThroughPolicyRequesterConstructorOptions.md +17 -0
  99. package/docs/reference/interfaces/IStaticPolicyInformationSource.md +25 -6
  100. package/docs/reference/interfaces/IStaticPolicyInformationSourceConfig.md +2 -2
  101. package/docs/reference/interfaces/IStaticPolicyInformationSourceConstructorOptions.md +4 -4
  102. package/locales/en.json +58 -6
  103. package/package.json +7 -5
  104. package/dist/es/dataAccessHandlers/examplePolicyRequester.js +0 -82
  105. package/dist/es/dataAccessHandlers/examplePolicyRequester.js.map +0 -1
  106. package/dist/es/models/IExampleDataAccessHandlerConstructorOptions.js.map +0 -1
  107. package/dist/es/models/IExamplePolicyArbiterConstructorOptions.js.map +0 -1
  108. package/dist/es/models/IExamplePolicyEnforcementProcessorConstructorOptions.js.map +0 -1
  109. package/dist/es/models/IExamplePolicyNegotiatorConstructorOptions.js.map +0 -1
  110. package/dist/es/models/IExamplePolicyRequesterConstructorOptions.js.map +0 -1
  111. package/dist/es/policyArbiters/examplePolicyArbiter.js +0 -50
  112. package/dist/es/policyArbiters/examplePolicyArbiter.js.map +0 -1
  113. package/dist/es/policyEnforcementProcessor/examplePolicyEnforcementProcessor.js +0 -42
  114. package/dist/es/policyEnforcementProcessor/examplePolicyEnforcementProcessor.js.map +0 -1
  115. package/dist/es/policyNegotiators/examplePolicyNegotiator.js +0 -61
  116. package/dist/es/policyNegotiators/examplePolicyNegotiator.js.map +0 -1
  117. package/dist/es/policyRequesters/examplePolicyRequester.js +0 -69
  118. package/dist/es/policyRequesters/examplePolicyRequester.js.map +0 -1
  119. package/dist/types/dataAccessHandlers/examplePolicyRequester.d.ts +0 -68
  120. package/dist/types/models/IExampleDataAccessHandlerConstructorOptions.d.ts +0 -10
  121. package/dist/types/policyArbiters/examplePolicyArbiter.d.ts +0 -36
  122. package/dist/types/policyEnforcementProcessor/examplePolicyEnforcementProcessor.d.ts +0 -29
  123. package/dist/types/policyNegotiators/examplePolicyNegotiator.d.ts +0 -45
  124. package/docs/reference/classes/ExampleDataAccessHandler.md +0 -243
  125. package/docs/reference/classes/ExamplePolicyArbiter.md +0 -121
  126. package/docs/reference/classes/ExamplePolicyEnforcementProcessor.md +0 -101
  127. package/docs/reference/interfaces/IExampleDataAccessHandlerConstructorOptions.md +0 -17
  128. package/docs/reference/interfaces/IExamplePolicyArbiterConstructorOptions.md +0 -17
  129. package/docs/reference/interfaces/IExamplePolicyEnforcementProcessorConstructorOptions.md +0 -17
  130. package/docs/reference/interfaces/IExamplePolicyNegotiatorConstructorOptions.md +0 -17
  131. package/docs/reference/interfaces/IExamplePolicyRequesterConstructorOptions.md +0 -17
package/README.md CHANGED
@@ -1,12 +1,20 @@
1
1
  # TWIN Rights Management Plugins
2
2
 
3
- Rights Management plugin implementations.
3
+ This package provides plugin implementations for extending rights management behaviour across components. It supports modular customisation for deployment-specific requirements.
4
4
 
5
5
  ## Installation
6
6
 
7
- ```shell
7
+ `shell
8
8
  npm install @twin.org/rights-management-plugins
9
- ```
9
+ `
10
+
11
+ ## Testing
12
+
13
+ Run the package test suite with:
14
+
15
+ `shell
16
+ npm test
17
+ `
10
18
 
11
19
  ## Examples
12
20
 
package/dist/es/index.js CHANGED
@@ -1,22 +1,30 @@
1
1
  // Copyright 2025 IOTA Stiftung.
2
2
  // SPDX-License-Identifier: Apache-2.0.
3
- export * from "./dataAccessHandlers/examplePolicyRequester.js";
4
- export * from "./models/IExampleDataAccessHandlerConstructorOptions.js";
5
- export * from "./models/IExamplePolicyArbiterConstructorOptions.js";
6
- export * from "./models/IExamplePolicyEnforcementProcessorConstructorOptions.js";
7
- export * from "./models/IExamplePolicyNegotiatorConstructorOptions.js";
8
- export * from "./models/IExamplePolicyRequesterConstructorOptions.js";
3
+ export * from "./models/IAutomationPolicyExecutionActionConfig.js";
4
+ export * from "./models/IAutomationPolicyExecutionActionConstructorOptions.js";
5
+ export * from "./models/IDefaultPolicyArbiterConfig.js";
6
+ export * from "./models/IDefaultPolicyArbiterConstructorOptions.js";
7
+ export * from "./models/IDefaultPolicyEnforcementProcessorConstructorOptions.js";
9
8
  export * from "./models/IIdentityPolicyInformationSourceConstructorOptions.js";
10
9
  export * from "./models/ILoggingPolicyExecutionActionConfig.js";
11
10
  export * from "./models/ILoggingPolicyExecutionActionConstructorOptions.js";
11
+ export * from "./models/IPassThroughPolicyArbiterConstructorOptions.js";
12
+ export * from "./models/IPassThroughPolicyEnforcementProcessorConstructorOptions.js";
13
+ export * from "./models/IPassThroughPolicyNegotiatorConstructorOptions.js";
14
+ export * from "./models/IPassThroughPolicyObligationEnforcerConstructorOptions.js";
15
+ export * from "./models/IPassThroughPolicyRequesterConstructorOptions.js";
12
16
  export * from "./models/IStaticPolicyInformationSource.js";
13
17
  export * from "./models/IStaticPolicyInformationSourceConfig.js";
14
18
  export * from "./models/IStaticPolicyInformationSourceConstructorOptions.js";
15
- export * from "./policyArbiters/examplePolicyArbiter.js";
16
- export * from "./policyEnforcementProcessor/examplePolicyEnforcementProcessor.js";
19
+ export * from "./policyArbiters/defaultPolicyArbiter.js";
20
+ export * from "./policyArbiters/passThroughPolicyArbiter.js";
21
+ export * from "./policyEnforcementProcessor/defaultPolicyEnforcementProcessor.js";
22
+ export * from "./policyEnforcementProcessor/passThroughPolicyEnforcementProcessor.js";
23
+ export * from "./policyExecutionActions/automationPolicyExecutionAction.js";
17
24
  export * from "./policyExecutionActions/loggingPolicyExecutionAction.js";
18
25
  export * from "./policyInformationSources/identityPolicyInformationSource.js";
19
26
  export * from "./policyInformationSources/staticPolicyInformationSource.js";
20
- export * from "./policyNegotiators/examplePolicyNegotiator.js";
21
- export * from "./policyRequesters/examplePolicyRequester.js";
27
+ export * from "./policyNegotiators/passThroughPolicyNegotiator.js";
28
+ export * from "./policyObligationEnforcers/passThroughPolicyObligationEnforcer.js";
29
+ export * from "./policyRequesters/passThroughPolicyRequester.js";
22
30
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,gCAAgC;AAChC,uCAAuC;AACvC,cAAc,gDAAgD,CAAC;AAC/D,cAAc,yDAAyD,CAAC;AACxE,cAAc,qDAAqD,CAAC;AACpE,cAAc,kEAAkE,CAAC;AACjF,cAAc,wDAAwD,CAAC;AACvE,cAAc,uDAAuD,CAAC;AACtE,cAAc,gEAAgE,CAAC;AAC/E,cAAc,iDAAiD,CAAC;AAChE,cAAc,6DAA6D,CAAC;AAC5E,cAAc,4CAA4C,CAAC;AAC3D,cAAc,kDAAkD,CAAC;AACjE,cAAc,8DAA8D,CAAC;AAC7E,cAAc,0CAA0C,CAAC;AACzD,cAAc,mEAAmE,CAAC;AAClF,cAAc,0DAA0D,CAAC;AACzE,cAAc,+DAA+D,CAAC;AAC9E,cAAc,6DAA6D,CAAC;AAC5E,cAAc,gDAAgD,CAAC;AAC/D,cAAc,8CAA8C,CAAC","sourcesContent":["// Copyright 2025 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\nexport * from \"./dataAccessHandlers/examplePolicyRequester.js\";\nexport * from \"./models/IExampleDataAccessHandlerConstructorOptions.js\";\nexport * from \"./models/IExamplePolicyArbiterConstructorOptions.js\";\nexport * from \"./models/IExamplePolicyEnforcementProcessorConstructorOptions.js\";\nexport * from \"./models/IExamplePolicyNegotiatorConstructorOptions.js\";\nexport * from \"./models/IExamplePolicyRequesterConstructorOptions.js\";\nexport * from \"./models/IIdentityPolicyInformationSourceConstructorOptions.js\";\nexport * from \"./models/ILoggingPolicyExecutionActionConfig.js\";\nexport * from \"./models/ILoggingPolicyExecutionActionConstructorOptions.js\";\nexport * from \"./models/IStaticPolicyInformationSource.js\";\nexport * from \"./models/IStaticPolicyInformationSourceConfig.js\";\nexport * from \"./models/IStaticPolicyInformationSourceConstructorOptions.js\";\nexport * from \"./policyArbiters/examplePolicyArbiter.js\";\nexport * from \"./policyEnforcementProcessor/examplePolicyEnforcementProcessor.js\";\nexport * from \"./policyExecutionActions/loggingPolicyExecutionAction.js\";\nexport * from \"./policyInformationSources/identityPolicyInformationSource.js\";\nexport * from \"./policyInformationSources/staticPolicyInformationSource.js\";\nexport * from \"./policyNegotiators/examplePolicyNegotiator.js\";\nexport * from \"./policyRequesters/examplePolicyRequester.js\";\n"]}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,gCAAgC;AAChC,uCAAuC;AACvC,cAAc,oDAAoD,CAAC;AACnE,cAAc,gEAAgE,CAAC;AAC/E,cAAc,yCAAyC,CAAC;AACxD,cAAc,qDAAqD,CAAC;AACpE,cAAc,kEAAkE,CAAC;AACjF,cAAc,gEAAgE,CAAC;AAC/E,cAAc,iDAAiD,CAAC;AAChE,cAAc,6DAA6D,CAAC;AAC5E,cAAc,yDAAyD,CAAC;AACxE,cAAc,sEAAsE,CAAC;AACrF,cAAc,4DAA4D,CAAC;AAC3E,cAAc,oEAAoE,CAAC;AACnF,cAAc,2DAA2D,CAAC;AAC1E,cAAc,4CAA4C,CAAC;AAC3D,cAAc,kDAAkD,CAAC;AACjE,cAAc,8DAA8D,CAAC;AAC7E,cAAc,0CAA0C,CAAC;AACzD,cAAc,8CAA8C,CAAC;AAC7D,cAAc,mEAAmE,CAAC;AAClF,cAAc,uEAAuE,CAAC;AACtF,cAAc,6DAA6D,CAAC;AAC5E,cAAc,0DAA0D,CAAC;AACzE,cAAc,+DAA+D,CAAC;AAC9E,cAAc,6DAA6D,CAAC;AAC5E,cAAc,oDAAoD,CAAC;AACnE,cAAc,oEAAoE,CAAC;AACnF,cAAc,kDAAkD,CAAC","sourcesContent":["// Copyright 2025 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\nexport * from \"./models/IAutomationPolicyExecutionActionConfig.js\";\nexport * from \"./models/IAutomationPolicyExecutionActionConstructorOptions.js\";\nexport * from \"./models/IDefaultPolicyArbiterConfig.js\";\nexport * from \"./models/IDefaultPolicyArbiterConstructorOptions.js\";\nexport * from \"./models/IDefaultPolicyEnforcementProcessorConstructorOptions.js\";\nexport * from \"./models/IIdentityPolicyInformationSourceConstructorOptions.js\";\nexport * from \"./models/ILoggingPolicyExecutionActionConfig.js\";\nexport * from \"./models/ILoggingPolicyExecutionActionConstructorOptions.js\";\nexport * from \"./models/IPassThroughPolicyArbiterConstructorOptions.js\";\nexport * from \"./models/IPassThroughPolicyEnforcementProcessorConstructorOptions.js\";\nexport * from \"./models/IPassThroughPolicyNegotiatorConstructorOptions.js\";\nexport * from \"./models/IPassThroughPolicyObligationEnforcerConstructorOptions.js\";\nexport * from \"./models/IPassThroughPolicyRequesterConstructorOptions.js\";\nexport * from \"./models/IStaticPolicyInformationSource.js\";\nexport * from \"./models/IStaticPolicyInformationSourceConfig.js\";\nexport * from \"./models/IStaticPolicyInformationSourceConstructorOptions.js\";\nexport * from \"./policyArbiters/defaultPolicyArbiter.js\";\nexport * from \"./policyArbiters/passThroughPolicyArbiter.js\";\nexport * from \"./policyEnforcementProcessor/defaultPolicyEnforcementProcessor.js\";\nexport * from \"./policyEnforcementProcessor/passThroughPolicyEnforcementProcessor.js\";\nexport * from \"./policyExecutionActions/automationPolicyExecutionAction.js\";\nexport * from \"./policyExecutionActions/loggingPolicyExecutionAction.js\";\nexport * from \"./policyInformationSources/identityPolicyInformationSource.js\";\nexport * from \"./policyInformationSources/staticPolicyInformationSource.js\";\nexport * from \"./policyNegotiators/passThroughPolicyNegotiator.js\";\nexport * from \"./policyObligationEnforcers/passThroughPolicyObligationEnforcer.js\";\nexport * from \"./policyRequesters/passThroughPolicyRequester.js\";\n"]}
@@ -0,0 +1,4 @@
1
+ // Copyright 2026 IOTA Stiftung.
2
+ // SPDX-License-Identifier: Apache-2.0.
3
+ export {};
4
+ //# sourceMappingURL=IAutomationPolicyExecutionActionConfig.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"IAutomationPolicyExecutionActionConfig.js","sourceRoot":"","sources":["../../../src/models/IAutomationPolicyExecutionActionConfig.ts"],"names":[],"mappings":"AAAA,gCAAgC;AAChC,uCAAuC","sourcesContent":["// Copyright 2026 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\n\n/**\n * Options for the Automation Policy Execution Action Component.\n */\nexport interface IAutomationPolicyExecutionActionConfig {\n\t/**\n\t * The policy decision stages to trigger the automation actions, if undefined defaults to \"inform\".\n\t */\n\ttriggerActions?: string[];\n}\n"]}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=IAutomationPolicyExecutionActionConstructorOptions.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"IAutomationPolicyExecutionActionConstructorOptions.js","sourceRoot":"","sources":["../../../src/models/IAutomationPolicyExecutionActionConstructorOptions.ts"],"names":[],"mappings":"","sourcesContent":["// Copyright 2026 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\nimport type { IAutomationPolicyExecutionActionConfig } from \"./IAutomationPolicyExecutionActionConfig.js\";\n\n/**\n * Options for the Automation Policy Execution Action.\n */\nexport interface IAutomationPolicyExecutionActionConstructorOptions {\n\t/**\n\t * The automation component for executing automation policies.\n\t * @default automation\n\t */\n\tautomationComponentType?: string;\n\n\t/**\n\t * The configuration for the automation policy execution.\n\t */\n\tconfig?: IAutomationPolicyExecutionActionConfig;\n}\n"]}
@@ -1,4 +1,4 @@
1
1
  // Copyright 2025 IOTA Stiftung.
2
2
  // SPDX-License-Identifier: Apache-2.0.
3
3
  export {};
4
- //# sourceMappingURL=IExamplePolicyArbiterConstructorOptions.js.map
4
+ //# sourceMappingURL=IDefaultPolicyArbiterConfig.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"IDefaultPolicyArbiterConfig.js","sourceRoot":"","sources":["../../../src/models/IDefaultPolicyArbiterConfig.ts"],"names":[],"mappings":"AAAA,gCAAgC;AAChC,uCAAuC","sourcesContent":["// Copyright 2025 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\n\n/**\n * Configuration for the Default Policy Arbiter.\n */\nexport interface IDefaultPolicyArbiterConfig {\n\t/**\n\t * The maximum depth to traverse when resolving inherited policies.\n\t * @default 10\n\t */\n\tmaxInheritanceDepth?: number;\n}\n"]}
@@ -1,4 +1,4 @@
1
1
  // Copyright 2025 IOTA Stiftung.
2
2
  // SPDX-License-Identifier: Apache-2.0.
3
3
  export {};
4
- //# sourceMappingURL=IExamplePolicyRequesterConstructorOptions.js.map
4
+ //# sourceMappingURL=IDefaultPolicyArbiterConstructorOptions.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"IDefaultPolicyArbiterConstructorOptions.js","sourceRoot":"","sources":["../../../src/models/IDefaultPolicyArbiterConstructorOptions.ts"],"names":[],"mappings":"AAAA,gCAAgC;AAChC,uCAAuC","sourcesContent":["// Copyright 2025 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\n\nimport type { IDefaultPolicyArbiterConfig } from \"./IDefaultPolicyArbiterConfig.js\";\n\n/**\n * Options for the Default Policy Arbiter.\n */\nexport interface IDefaultPolicyArbiterConstructorOptions {\n\t/**\n\t * The logging component for policy arbiter.\n\t * @default logging\n\t */\n\tloggingComponentType?: string;\n\n\t/**\n\t * The policy administration point component for retrieving inherited policies.\n\t * @default policy-administration-point\n\t */\n\tpolicyAdministrationPointComponentType?: string;\n\n\t/**\n\t * The configuration options for the default policy arbiter.\n\t */\n\tconfig?: IDefaultPolicyArbiterConfig;\n}\n"]}
@@ -1,4 +1,4 @@
1
1
  // Copyright 2025 IOTA Stiftung.
2
2
  // SPDX-License-Identifier: Apache-2.0.
3
3
  export {};
4
- //# sourceMappingURL=IExamplePolicyEnforcementProcessorConstructorOptions.js.map
4
+ //# sourceMappingURL=IDefaultPolicyEnforcementProcessorConstructorOptions.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"IDefaultPolicyEnforcementProcessorConstructorOptions.js","sourceRoot":"","sources":["../../../src/models/IDefaultPolicyEnforcementProcessorConstructorOptions.ts"],"names":[],"mappings":"AAAA,gCAAgC;AAChC,uCAAuC","sourcesContent":["// Copyright 2025 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\n\n/**\n * Options for the Default Policy Enforcement Processor.\n */\nexport interface IDefaultPolicyEnforcementProcessorConstructorOptions {\n\t/**\n\t * The logging component for policy enforcement processor.\n\t * @default logging\n\t */\n\tloggingComponentType?: string;\n}\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"ILoggingPolicyExecutionActionConfig.js","sourceRoot":"","sources":["../../../src/models/ILoggingPolicyExecutionActionConfig.ts"],"names":[],"mappings":"","sourcesContent":["// Copyright 2025 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\nimport type { PolicyDecisionStage } from \"@twin.org/rights-management-models\";\n\n/**\n * Options for the Logging Policy Execution Action Component.\n */\nexport interface ILoggingPolicyExecutionActionConfig {\n\t/**\n\t * The policy decision stages to log, if undefined defaults to all.\n\t */\n\tstages?: PolicyDecisionStage[];\n\n\t/**\n\t * Whether to include the data in the log.\n\t * @default false\n\t */\n\tincludeData?: boolean;\n\n\t/**\n\t * Whether to include the policies in the log.\n\t * @default false\n\t */\n\tincludePolicies?: boolean;\n\n\t/**\n\t * Whether to include the decisions in the log.\n\t * @default false\n\t */\n\tincludeDecisions?: boolean;\n}\n"]}
1
+ {"version":3,"file":"ILoggingPolicyExecutionActionConfig.js","sourceRoot":"","sources":["../../../src/models/ILoggingPolicyExecutionActionConfig.ts"],"names":[],"mappings":"","sourcesContent":["// Copyright 2025 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\nimport type { PolicyDecisionStage } from \"@twin.org/rights-management-models\";\n\n/**\n * Options for the Logging Policy Execution Action Component.\n */\nexport interface ILoggingPolicyExecutionActionConfig {\n\t/**\n\t * The policy decision stages to log, if undefined defaults to all.\n\t */\n\tstages?: PolicyDecisionStage[];\n\n\t/**\n\t * Whether to include the data in the log.\n\t * @default false\n\t */\n\tincludeData?: boolean;\n\n\t/**\n\t * Whether to include the policy in the log.\n\t * @default false\n\t */\n\tincludePolicy?: boolean;\n\n\t/**\n\t * Whether to include the decisions in the log.\n\t * @default false\n\t */\n\tincludeDecisions?: boolean;\n}\n"]}
@@ -1,4 +1,4 @@
1
1
  // Copyright 2025 IOTA Stiftung.
2
2
  // SPDX-License-Identifier: Apache-2.0.
3
3
  export {};
4
- //# sourceMappingURL=IExampleDataAccessHandlerConstructorOptions.js.map
4
+ //# sourceMappingURL=IPassThroughPolicyArbiterConstructorOptions.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"IPassThroughPolicyArbiterConstructorOptions.js","sourceRoot":"","sources":["../../../src/models/IPassThroughPolicyArbiterConstructorOptions.ts"],"names":[],"mappings":"AAAA,gCAAgC;AAChC,uCAAuC","sourcesContent":["// Copyright 2025 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\n\n/**\n * Options for the Pass Through Policy Arbiter.\n */\nexport interface IPassThroughPolicyArbiterConstructorOptions {\n\t/**\n\t * The logging component for policy arbiter.\n\t * @default logging\n\t */\n\tloggingComponentType?: string;\n}\n"]}
@@ -0,0 +1,4 @@
1
+ // Copyright 2025 IOTA Stiftung.
2
+ // SPDX-License-Identifier: Apache-2.0.
3
+ export {};
4
+ //# sourceMappingURL=IPassThroughPolicyEnforcementProcessorConstructorOptions.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"IPassThroughPolicyEnforcementProcessorConstructorOptions.js","sourceRoot":"","sources":["../../../src/models/IPassThroughPolicyEnforcementProcessorConstructorOptions.ts"],"names":[],"mappings":"AAAA,gCAAgC;AAChC,uCAAuC","sourcesContent":["// Copyright 2025 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\n\n/**\n * Options for the Pass Through Policy Enforcement Processor.\n */\nexport interface IPassThroughPolicyEnforcementProcessorConstructorOptions {\n\t/**\n\t * The logging component for policy enforcement processor.\n\t * @default logging\n\t */\n\tloggingComponentType?: string;\n}\n"]}
@@ -0,0 +1,4 @@
1
+ // Copyright 2025 IOTA Stiftung.
2
+ // SPDX-License-Identifier: Apache-2.0.
3
+ export {};
4
+ //# sourceMappingURL=IPassThroughPolicyNegotiatorConstructorOptions.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"IPassThroughPolicyNegotiatorConstructorOptions.js","sourceRoot":"","sources":["../../../src/models/IPassThroughPolicyNegotiatorConstructorOptions.ts"],"names":[],"mappings":"AAAA,gCAAgC;AAChC,uCAAuC","sourcesContent":["// Copyright 2025 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\n\n/**\n * Options for the Pass Through Policy Negotiator.\n */\nexport interface IPassThroughPolicyNegotiatorConstructorOptions {\n\t/**\n\t * The logging component for policy negotiator.\n\t * @default logging\n\t */\n\tloggingComponentType?: string;\n}\n"]}
@@ -0,0 +1,4 @@
1
+ // Copyright 2025 IOTA Stiftung.
2
+ // SPDX-License-Identifier: Apache-2.0.
3
+ export {};
4
+ //# sourceMappingURL=IPassThroughPolicyObligationEnforcerConstructorOptions.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"IPassThroughPolicyObligationEnforcerConstructorOptions.js","sourceRoot":"","sources":["../../../src/models/IPassThroughPolicyObligationEnforcerConstructorOptions.ts"],"names":[],"mappings":"AAAA,gCAAgC;AAChC,uCAAuC","sourcesContent":["// Copyright 2025 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\n\n/**\n * Options for the Pass Through Policy Obligation Enforcer.\n */\nexport interface IPassThroughPolicyObligationEnforcerConstructorOptions {\n\t/**\n\t * The logging component for the policy obligation enforcer.\n\t * @default logging\n\t */\n\tloggingComponentType?: string;\n}\n"]}
@@ -1,4 +1,4 @@
1
1
  // Copyright 2025 IOTA Stiftung.
2
2
  // SPDX-License-Identifier: Apache-2.0.
3
3
  export {};
4
- //# sourceMappingURL=IExamplePolicyNegotiatorConstructorOptions.js.map
4
+ //# sourceMappingURL=IPassThroughPolicyRequesterConstructorOptions.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"IPassThroughPolicyRequesterConstructorOptions.js","sourceRoot":"","sources":["../../../src/models/IPassThroughPolicyRequesterConstructorOptions.ts"],"names":[],"mappings":"AAAA,gCAAgC;AAChC,uCAAuC","sourcesContent":["// Copyright 2025 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\n\n/**\n * Options for the Pass Through Policy Requester.\n */\nexport interface IPassThroughPolicyRequesterConstructorOptions {\n\t/**\n\t * The logging component for policy requester.\n\t * @default logging\n\t */\n\tloggingComponentType?: string;\n}\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"IStaticPolicyInformationSource.js","sourceRoot":"","sources":["../../../src/models/IStaticPolicyInformationSource.ts"],"names":[],"mappings":"","sourcesContent":["// Copyright 2025 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\nimport type { IJsonLdNodeObject } from \"@twin.org/data-json-ld\";\nimport type {\n\tIPolicyLocator,\n\tPolicyInformationAccessMode\n} from \"@twin.org/rights-management-models\";\n\n/**\n * Configuration for the Static Policy Information Source Component.\n */\nexport interface IStaticPolicyInformationSource {\n\t/**\n\t * Is the information public, if so it will be shared with negotiation requests.\n\t */\n\taccessMode: PolicyInformationAccessMode;\n\n\t/**\n\t * Information is only provided for the specified locator combination.\n\t * If undefined is provided matches all resources.\n\t */\n\tmatchLocators?: IPolicyLocator[];\n\n\t/**\n\t * The objects containing the information.\n\t */\n\tobjects: IJsonLdNodeObject[];\n}\n"]}
1
+ {"version":3,"file":"IStaticPolicyInformationSource.js","sourceRoot":"","sources":["../../../src/models/IStaticPolicyInformationSource.ts"],"names":[],"mappings":"","sourcesContent":["// Copyright 2025 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\nimport type { IJsonLdNodeObject } from \"@twin.org/data-json-ld\";\nimport type { PolicyInformationAccessMode } from \"@twin.org/rights-management-models\";\n\n/**\n * Configuration for the Static Policy Information Source Component.\n */\nexport interface IStaticPolicyInformationSource {\n\t/**\n\t * Is the information public, if so it will be shared with negotiation requests.\n\t */\n\taccessMode: PolicyInformationAccessMode;\n\n\t/**\n\t * Information is only provided for the specified locator combination.\n\t */\n\tmatchLocators?: {\n\t\tassignee?: string;\n\t\tassigner?: string;\n\t\ttarget?: string;\n\t\taction?: string;\n\t}[];\n\n\t/**\n\t * The objects containing the information.\n\t */\n\tobjects: { [id: string]: IJsonLdNodeObject };\n}\n"]}