@blue-repository/types 0.23.0 → 0.25.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.
Files changed (234) hide show
  1. package/README.md +1 -1
  2. package/dist/meta.d.ts +2 -2
  3. package/dist/meta.d.ts.map +1 -1
  4. package/dist/meta.js +2 -13
  5. package/dist/meta.js.map +1 -1
  6. package/dist/packages/common/blue-ids.d.ts +13 -0
  7. package/dist/packages/common/blue-ids.d.ts.map +1 -1
  8. package/dist/packages/common/blue-ids.js +13 -0
  9. package/dist/packages/common/blue-ids.js.map +1 -1
  10. package/dist/packages/common/contents/Document.d.ts +11 -0
  11. package/dist/packages/common/contents/Document.d.ts.map +1 -0
  12. package/dist/packages/common/contents/Document.js +11 -0
  13. package/dist/packages/common/contents/Document.js.map +1 -0
  14. package/dist/packages/common/contents/DocumentAnchor.d.ts +8 -0
  15. package/dist/packages/common/contents/DocumentAnchor.d.ts.map +1 -0
  16. package/dist/packages/common/contents/DocumentAnchor.js +8 -0
  17. package/dist/packages/common/contents/DocumentAnchor.js.map +1 -0
  18. package/dist/packages/common/contents/DocumentAnchors.d.ts +14 -0
  19. package/dist/packages/common/contents/DocumentAnchors.d.ts.map +1 -0
  20. package/dist/packages/common/contents/DocumentAnchors.js +14 -0
  21. package/dist/packages/common/contents/DocumentAnchors.js.map +1 -0
  22. package/dist/packages/common/contents/Payment.d.ts +8 -0
  23. package/dist/packages/common/contents/Payment.d.ts.map +1 -0
  24. package/dist/packages/common/contents/Payment.js +8 -0
  25. package/dist/packages/common/contents/Payment.js.map +1 -0
  26. package/dist/packages/common/contents/PermissionGrant.d.ts +8 -0
  27. package/dist/packages/common/contents/PermissionGrant.d.ts.map +1 -0
  28. package/dist/packages/common/contents/PermissionGrant.js +8 -0
  29. package/dist/packages/common/contents/PermissionGrant.js.map +1 -0
  30. package/dist/packages/common/contents/Profile.d.ts +8 -0
  31. package/dist/packages/common/contents/Profile.d.ts.map +1 -0
  32. package/dist/packages/common/contents/Profile.js +8 -0
  33. package/dist/packages/common/contents/Profile.js.map +1 -0
  34. package/dist/packages/common/contents/Record.d.ts +8 -0
  35. package/dist/packages/common/contents/Record.d.ts.map +1 -0
  36. package/dist/packages/common/contents/Record.js +8 -0
  37. package/dist/packages/common/contents/Record.js.map +1 -0
  38. package/dist/packages/common/contents/Relationship.d.ts +8 -0
  39. package/dist/packages/common/contents/Relationship.d.ts.map +1 -0
  40. package/dist/packages/common/contents/Relationship.js +8 -0
  41. package/dist/packages/common/contents/Relationship.js.map +1 -0
  42. package/dist/packages/common/contents/Request.d.ts +8 -0
  43. package/dist/packages/common/contents/Request.d.ts.map +1 -0
  44. package/dist/packages/common/contents/Request.js +8 -0
  45. package/dist/packages/common/contents/Request.js.map +1 -0
  46. package/dist/packages/common/contents/Response.d.ts +8 -0
  47. package/dist/packages/common/contents/Response.d.ts.map +1 -0
  48. package/dist/packages/common/contents/Response.js +8 -0
  49. package/dist/packages/common/contents/Response.js.map +1 -0
  50. package/dist/packages/common/contents/Service.d.ts +17 -0
  51. package/dist/packages/common/contents/Service.d.ts.map +1 -0
  52. package/dist/packages/common/contents/Service.js +17 -0
  53. package/dist/packages/common/contents/Service.js.map +1 -0
  54. package/dist/packages/common/contents/Space.d.ts +20 -0
  55. package/dist/packages/common/contents/Space.d.ts.map +1 -0
  56. package/dist/packages/common/contents/Space.js +20 -0
  57. package/dist/packages/common/contents/Space.js.map +1 -0
  58. package/dist/packages/common/contents/Task.d.ts +8 -0
  59. package/dist/packages/common/contents/Task.d.ts.map +1 -0
  60. package/dist/packages/common/contents/Task.js +8 -0
  61. package/dist/packages/common/contents/Task.js.map +1 -0
  62. package/dist/packages/common/contents/index.d.ts +134 -0
  63. package/dist/packages/common/contents/index.d.ts.map +1 -1
  64. package/dist/packages/common/contents/index.js +39 -0
  65. package/dist/packages/common/contents/index.js.map +1 -1
  66. package/dist/packages/common/index.d.ts +544 -1
  67. package/dist/packages/common/index.d.ts.map +1 -1
  68. package/dist/packages/common/meta.d.ts +131 -1
  69. package/dist/packages/common/meta.d.ts.map +1 -1
  70. package/dist/packages/common/meta.js +144 -1
  71. package/dist/packages/common/meta.js.map +1 -1
  72. package/dist/packages/common/schemas/Document.d.ts +16 -0
  73. package/dist/packages/common/schemas/Document.d.ts.map +1 -0
  74. package/dist/packages/common/schemas/Document.js +9 -0
  75. package/dist/packages/common/schemas/Document.js.map +1 -0
  76. package/dist/packages/common/schemas/DocumentAnchor.d.ts +16 -0
  77. package/dist/packages/common/schemas/DocumentAnchor.d.ts.map +1 -0
  78. package/dist/packages/common/schemas/DocumentAnchor.js +9 -0
  79. package/dist/packages/common/schemas/DocumentAnchor.js.map +1 -0
  80. package/dist/packages/common/schemas/DocumentAnchors.d.ts +40 -0
  81. package/dist/packages/common/schemas/DocumentAnchors.d.ts.map +1 -0
  82. package/dist/packages/common/schemas/DocumentAnchors.js +6 -0
  83. package/dist/packages/common/schemas/DocumentAnchors.js.map +1 -0
  84. package/dist/packages/common/schemas/Payment.d.ts +19 -0
  85. package/dist/packages/common/schemas/Payment.d.ts.map +1 -0
  86. package/dist/packages/common/schemas/Payment.js +9 -0
  87. package/dist/packages/common/schemas/Payment.js.map +1 -0
  88. package/dist/packages/common/schemas/PermissionGrant.d.ts +19 -0
  89. package/dist/packages/common/schemas/PermissionGrant.d.ts.map +1 -0
  90. package/dist/packages/common/schemas/PermissionGrant.js +9 -0
  91. package/dist/packages/common/schemas/PermissionGrant.js.map +1 -0
  92. package/dist/packages/common/schemas/Profile.d.ts +19 -0
  93. package/dist/packages/common/schemas/Profile.d.ts.map +1 -0
  94. package/dist/packages/common/schemas/Profile.js +9 -0
  95. package/dist/packages/common/schemas/Profile.js.map +1 -0
  96. package/dist/packages/common/schemas/Record.d.ts +19 -0
  97. package/dist/packages/common/schemas/Record.d.ts.map +1 -0
  98. package/dist/packages/common/schemas/Record.js +9 -0
  99. package/dist/packages/common/schemas/Record.js.map +1 -0
  100. package/dist/packages/common/schemas/Relationship.d.ts +19 -0
  101. package/dist/packages/common/schemas/Relationship.d.ts.map +1 -0
  102. package/dist/packages/common/schemas/Relationship.js +9 -0
  103. package/dist/packages/common/schemas/Relationship.js.map +1 -0
  104. package/dist/packages/common/schemas/Request.d.ts +19 -0
  105. package/dist/packages/common/schemas/Request.d.ts.map +1 -0
  106. package/dist/packages/common/schemas/Request.js +9 -0
  107. package/dist/packages/common/schemas/Request.js.map +1 -0
  108. package/dist/packages/common/schemas/Response.d.ts +19 -0
  109. package/dist/packages/common/schemas/Response.d.ts.map +1 -0
  110. package/dist/packages/common/schemas/Response.js +9 -0
  111. package/dist/packages/common/schemas/Response.js.map +1 -0
  112. package/dist/packages/common/schemas/Service.d.ts +22 -0
  113. package/dist/packages/common/schemas/Service.d.ts.map +1 -0
  114. package/dist/packages/common/schemas/Service.js +10 -0
  115. package/dist/packages/common/schemas/Service.js.map +1 -0
  116. package/dist/packages/common/schemas/Space.d.ts +85 -0
  117. package/dist/packages/common/schemas/Space.d.ts.map +1 -0
  118. package/dist/packages/common/schemas/Space.js +12 -0
  119. package/dist/packages/common/schemas/Space.js.map +1 -0
  120. package/dist/packages/common/schemas/Task.d.ts +19 -0
  121. package/dist/packages/common/schemas/Task.d.ts.map +1 -0
  122. package/dist/packages/common/schemas/Task.js +9 -0
  123. package/dist/packages/common/schemas/Task.js.map +1 -0
  124. package/dist/packages/common/schemas/index.d.ts +305 -0
  125. package/dist/packages/common/schemas/index.d.ts.map +1 -1
  126. package/dist/packages/common/schemas/index.js +39 -0
  127. package/dist/packages/common/schemas/index.js.map +1 -1
  128. package/dist/packages/conversation/index.d.ts +11 -11
  129. package/dist/packages/conversation/meta.d.ts +11 -11
  130. package/dist/packages/conversation/meta.js +11 -11
  131. package/dist/packages/conversation/meta.js.map +1 -1
  132. package/dist/packages/myos/blue-ids.d.ts +11 -11
  133. package/dist/packages/myos/blue-ids.js +11 -11
  134. package/dist/packages/myos/blue-ids.js.map +1 -1
  135. package/dist/packages/myos/contents/LinkedDocumentsPermissionGrantToAccount.d.ts +25 -6
  136. package/dist/packages/myos/contents/LinkedDocumentsPermissionGrantToAccount.d.ts.map +1 -1
  137. package/dist/packages/myos/contents/LinkedDocumentsPermissionGrantToAccount.js +28 -6
  138. package/dist/packages/myos/contents/LinkedDocumentsPermissionGrantToAccount.js.map +1 -1
  139. package/dist/packages/myos/contents/LinkedDocumentsPermissionGrantToDocument.d.ts +4 -4
  140. package/dist/packages/myos/contents/LinkedDocumentsPermissionGrantToDocument.d.ts.map +1 -1
  141. package/dist/packages/myos/contents/LinkedDocumentsPermissionGrantToDocument.js +4 -4
  142. package/dist/packages/myos/contents/LinkedDocumentsPermissionGrantToDocument.js.map +1 -1
  143. package/dist/packages/myos/contents/LinkedDocumentsPermissionGranted.d.ts +6 -0
  144. package/dist/packages/myos/contents/LinkedDocumentsPermissionGranted.d.ts.map +1 -1
  145. package/dist/packages/myos/contents/LinkedDocumentsPermissionGranted.js +6 -0
  146. package/dist/packages/myos/contents/LinkedDocumentsPermissionGranted.js.map +1 -1
  147. package/dist/packages/myos/contents/LinkedDocumentsPermissionRevokeRequested.d.ts +7 -1
  148. package/dist/packages/myos/contents/LinkedDocumentsPermissionRevokeRequested.d.ts.map +1 -1
  149. package/dist/packages/myos/contents/LinkedDocumentsPermissionRevokeRequested.js +7 -1
  150. package/dist/packages/myos/contents/LinkedDocumentsPermissionRevokeRequested.js.map +1 -1
  151. package/dist/packages/myos/contents/SingleDocumentPermissionGrantToAccount.d.ts +25 -6
  152. package/dist/packages/myos/contents/SingleDocumentPermissionGrantToAccount.d.ts.map +1 -1
  153. package/dist/packages/myos/contents/SingleDocumentPermissionGrantToAccount.js +28 -6
  154. package/dist/packages/myos/contents/SingleDocumentPermissionGrantToAccount.js.map +1 -1
  155. package/dist/packages/myos/contents/SingleDocumentPermissionGrantToDocument.d.ts +5 -5
  156. package/dist/packages/myos/contents/SingleDocumentPermissionGrantToDocument.d.ts.map +1 -1
  157. package/dist/packages/myos/contents/SingleDocumentPermissionGrantToDocument.js +5 -5
  158. package/dist/packages/myos/contents/SingleDocumentPermissionGrantToDocument.js.map +1 -1
  159. package/dist/packages/myos/contents/SingleDocumentPermissionGranted.d.ts +6 -0
  160. package/dist/packages/myos/contents/SingleDocumentPermissionGranted.d.ts.map +1 -1
  161. package/dist/packages/myos/contents/SingleDocumentPermissionGranted.js +6 -0
  162. package/dist/packages/myos/contents/SingleDocumentPermissionGranted.js.map +1 -1
  163. package/dist/packages/myos/contents/SingleDocumentPermissionRevokeRequested.d.ts +7 -1
  164. package/dist/packages/myos/contents/SingleDocumentPermissionRevokeRequested.d.ts.map +1 -1
  165. package/dist/packages/myos/contents/SingleDocumentPermissionRevokeRequested.js +7 -1
  166. package/dist/packages/myos/contents/SingleDocumentPermissionRevokeRequested.js.map +1 -1
  167. package/dist/packages/myos/contents/WorkerAgencyPermissionGrant.d.ts +3 -3
  168. package/dist/packages/myos/contents/WorkerAgencyPermissionGrant.d.ts.map +1 -1
  169. package/dist/packages/myos/contents/WorkerAgencyPermissionGrant.js +3 -3
  170. package/dist/packages/myos/contents/WorkerAgencyPermissionGrant.js.map +1 -1
  171. package/dist/packages/myos/contents/WorkerAgencyPermissionGranted.d.ts +6 -0
  172. package/dist/packages/myos/contents/WorkerAgencyPermissionGranted.d.ts.map +1 -1
  173. package/dist/packages/myos/contents/WorkerAgencyPermissionGranted.js +6 -0
  174. package/dist/packages/myos/contents/WorkerAgencyPermissionGranted.js.map +1 -1
  175. package/dist/packages/myos/contents/WorkerAgencyPermissionRevokeRequested.d.ts +7 -1
  176. package/dist/packages/myos/contents/WorkerAgencyPermissionRevokeRequested.d.ts.map +1 -1
  177. package/dist/packages/myos/contents/WorkerAgencyPermissionRevokeRequested.js +7 -1
  178. package/dist/packages/myos/contents/WorkerAgencyPermissionRevokeRequested.js.map +1 -1
  179. package/dist/packages/myos/contents/index.d.ts +726 -652
  180. package/dist/packages/myos/contents/index.d.ts.map +1 -1
  181. package/dist/packages/myos/contents/index.js +33 -33
  182. package/dist/packages/myos/contents/index.js.map +1 -1
  183. package/dist/packages/myos/index.d.ts +996 -806
  184. package/dist/packages/myos/index.d.ts.map +1 -1
  185. package/dist/packages/myos/meta.d.ts +43 -51
  186. package/dist/packages/myos/meta.d.ts.map +1 -1
  187. package/dist/packages/myos/meta.js +32 -42
  188. package/dist/packages/myos/meta.js.map +1 -1
  189. package/dist/packages/myos/schemas/LinkedDocumentsPermissionGrantToAccount.d.ts +58 -5
  190. package/dist/packages/myos/schemas/LinkedDocumentsPermissionGrantToAccount.d.ts.map +1 -1
  191. package/dist/packages/myos/schemas/LinkedDocumentsPermissionGrantToAccount.js +3 -1
  192. package/dist/packages/myos/schemas/LinkedDocumentsPermissionGrantToAccount.js.map +1 -1
  193. package/dist/packages/myos/schemas/LinkedDocumentsPermissionGrantToDocument.d.ts +12 -12
  194. package/dist/packages/myos/schemas/LinkedDocumentsPermissionGranted.d.ts +3 -0
  195. package/dist/packages/myos/schemas/LinkedDocumentsPermissionGranted.d.ts.map +1 -1
  196. package/dist/packages/myos/schemas/LinkedDocumentsPermissionGranted.js +1 -0
  197. package/dist/packages/myos/schemas/LinkedDocumentsPermissionGranted.js.map +1 -1
  198. package/dist/packages/myos/schemas/LinkedDocumentsPermissionRevokeRequested.d.ts +3 -0
  199. package/dist/packages/myos/schemas/LinkedDocumentsPermissionRevokeRequested.d.ts.map +1 -1
  200. package/dist/packages/myos/schemas/LinkedDocumentsPermissionRevokeRequested.js +1 -0
  201. package/dist/packages/myos/schemas/LinkedDocumentsPermissionRevokeRequested.js.map +1 -1
  202. package/dist/packages/myos/schemas/SingleDocumentPermissionGrantToAccount.d.ts +58 -5
  203. package/dist/packages/myos/schemas/SingleDocumentPermissionGrantToAccount.d.ts.map +1 -1
  204. package/dist/packages/myos/schemas/SingleDocumentPermissionGrantToAccount.js +3 -1
  205. package/dist/packages/myos/schemas/SingleDocumentPermissionGrantToAccount.js.map +1 -1
  206. package/dist/packages/myos/schemas/SingleDocumentPermissionGrantToDocument.d.ts +12 -12
  207. package/dist/packages/myos/schemas/SingleDocumentPermissionGranted.d.ts +3 -0
  208. package/dist/packages/myos/schemas/SingleDocumentPermissionGranted.d.ts.map +1 -1
  209. package/dist/packages/myos/schemas/SingleDocumentPermissionGranted.js +1 -0
  210. package/dist/packages/myos/schemas/SingleDocumentPermissionGranted.js.map +1 -1
  211. package/dist/packages/myos/schemas/SingleDocumentPermissionRevokeRequested.d.ts +3 -0
  212. package/dist/packages/myos/schemas/SingleDocumentPermissionRevokeRequested.d.ts.map +1 -1
  213. package/dist/packages/myos/schemas/SingleDocumentPermissionRevokeRequested.js +1 -0
  214. package/dist/packages/myos/schemas/SingleDocumentPermissionRevokeRequested.js.map +1 -1
  215. package/dist/packages/myos/schemas/WorkerAgencyPermissionGrant.d.ts +12 -12
  216. package/dist/packages/myos/schemas/WorkerAgencyPermissionGranted.d.ts +3 -0
  217. package/dist/packages/myos/schemas/WorkerAgencyPermissionGranted.d.ts.map +1 -1
  218. package/dist/packages/myos/schemas/WorkerAgencyPermissionGranted.js +1 -0
  219. package/dist/packages/myos/schemas/WorkerAgencyPermissionGranted.js.map +1 -1
  220. package/dist/packages/myos/schemas/WorkerAgencyPermissionRevokeRequested.d.ts +3 -0
  221. package/dist/packages/myos/schemas/WorkerAgencyPermissionRevokeRequested.d.ts.map +1 -1
  222. package/dist/packages/myos/schemas/WorkerAgencyPermissionRevokeRequested.js +1 -0
  223. package/dist/packages/myos/schemas/WorkerAgencyPermissionRevokeRequested.js.map +1 -1
  224. package/dist/packages/myos/schemas/index.d.ts +181 -57
  225. package/dist/packages/myos/schemas/index.d.ts.map +1 -1
  226. package/dist/packages/myos/schemas/index.js +11 -11
  227. package/dist/packages/myos/schemas/index.js.map +1 -1
  228. package/dist/packages/paynote/index.d.ts +21 -21
  229. package/dist/packages/paynote/meta.d.ts +21 -21
  230. package/dist/packages/paynote/meta.js +21 -21
  231. package/dist/packages/paynote/meta.js.map +1 -1
  232. package/dist/repository.d.ts +2499 -1766
  233. package/dist/repository.d.ts.map +1 -1
  234. package/package.json +2 -2
@@ -25,6 +25,111 @@ declare const _default: {
25
25
  readonly blueId: "36epvrpVHZLjapbeZsNodz2NDnm7XZeNZcnkWHgkP1pp";
26
26
  };
27
27
  };
28
+ readonly '2ARFPC2YDspfN86MT897RDzGUtEEw1B7Lbdvy8Z3ZFQx': {
29
+ readonly allowedWorkerAgencyPermissions: {
30
+ readonly itemType: {
31
+ readonly blueId: "5J3RXNnALK1ZYAQBrjGwCQ4WpL3YUGHvz9WcGos6mMSp";
32
+ };
33
+ readonly type: {
34
+ readonly blueId: "6aehfNAxHLC1PHHoDr3tYtFH3RWNbiWdFancJ1bypXEY";
35
+ };
36
+ };
37
+ readonly contracts: {
38
+ readonly granterChannel: {
39
+ readonly description: "Granter/owner’s timeline (direct grant-document revoke lives here).";
40
+ readonly type: {
41
+ readonly blueId: "HCF8mXnX3dFjQ8osjxb4Wzm2Nm1DoXnTYuA5sPnV7NTs";
42
+ };
43
+ };
44
+ readonly initLifecycleChannel: {
45
+ readonly event: {
46
+ readonly type: {
47
+ readonly blueId: "BrpmpNt5JkapeUvPqYcxgXZrHNZX3R757dRwuXXdfNM2";
48
+ };
49
+ };
50
+ readonly type: {
51
+ readonly blueId: "H2aCCTUcLMTJozWkn7HPUjyFBFxamraw1q8DyWk87zxr";
52
+ };
53
+ };
54
+ readonly revoke: {
55
+ readonly channel: {
56
+ readonly type: {
57
+ readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
58
+ };
59
+ readonly value: "granterChannel";
60
+ };
61
+ readonly description: "Granter requests revocation on the grant document. Grantee-document self-revoke uses the existing revoke-request event with grantDocumentId emitted from the grantee document itself.";
62
+ readonly request: {
63
+ readonly description: "Optional human-readable reason";
64
+ readonly type: {
65
+ readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
66
+ };
67
+ };
68
+ readonly type: {
69
+ readonly blueId: "BoAiqVUZv9Fum3wFqaX2JnQMBHJLxJSo2V9U2UBmCfsC";
70
+ };
71
+ };
72
+ readonly revokeImplGranter: {
73
+ readonly operation: {
74
+ readonly type: {
75
+ readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
76
+ };
77
+ readonly value: "revoke";
78
+ };
79
+ readonly steps: {
80
+ readonly items: readonly [{
81
+ readonly code: {
82
+ readonly type: {
83
+ readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
84
+ };
85
+ readonly value: "return {\n events: [\n {\n type: \"MyOS/Worker Agency Permission Revoke Requested\",\n reason: event.message.request\n }\n ]\n};\n";
86
+ };
87
+ readonly name: "EmitRevokeRequested";
88
+ readonly type: {
89
+ readonly blueId: "ExZxT61PSpWHpEAtP2WKMXXqxEYN7Z13j7Zv36Dp99kS";
90
+ };
91
+ }];
92
+ };
93
+ readonly type: {
94
+ readonly blueId: "CGdxkNjPcsdescqLPz6SNLsMyak6demQQr7RoKNHbCyv";
95
+ };
96
+ };
97
+ readonly validateOnInit: {
98
+ readonly channel: {
99
+ readonly type: {
100
+ readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
101
+ };
102
+ readonly value: "initLifecycleChannel";
103
+ };
104
+ readonly steps: {
105
+ readonly items: readonly [{
106
+ readonly code: {
107
+ readonly type: {
108
+ readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
109
+ };
110
+ readonly value: "const issues = [];\n\nconst unwrapText = value => {\n if (typeof value === 'string') {\n const trimmed = value.trim();\n return trimmed.length > 0 ? trimmed : undefined;\n }\n if (value && typeof value === 'object') {\n if (typeof value.value === 'string') {\n const trimmed = value.value.trim();\n return trimmed.length > 0 ? trimmed : undefined;\n }\n if (typeof value.workerType === 'string') {\n const trimmed = value.workerType.trim();\n return trimmed.length > 0 ? trimmed : undefined;\n }\n if (typeof value.name === 'string') {\n const trimmed = value.name.trim();\n return trimmed.length > 0 ? trimmed : undefined;\n }\n }\n return undefined;\n};\n\nconst unwrapBoolean = value => {\n if (typeof value === 'boolean') {\n return value;\n }\n if (value && typeof value === 'object') {\n if (typeof value.value === 'boolean') {\n return value.value;\n }\n if (\n value.value &&\n typeof value.value === 'object' &&\n typeof value.value.value === 'boolean'\n ) {\n return value.value.value;\n }\n }\n return undefined;\n};\n\nconst hasBooleanValue = value => {\n if (typeof value === 'boolean') {\n return true;\n }\n if (value && typeof value === 'object') {\n if (typeof value.value === 'boolean') {\n return true;\n }\n if (\n value.value &&\n typeof value.value === 'object' &&\n typeof value.value.value === 'boolean'\n ) {\n return true;\n }\n }\n return false;\n};\n\nconst unwrapArray = value => {\n if (Array.isArray(value)) {\n return value;\n }\n if (value && typeof value === 'object' && Array.isArray(value.items)) {\n return value.items;\n }\n return [];\n};\n\nconst unwrapRecord = value => {\n if (value && typeof value === 'object' && !Array.isArray(value)) {\n if (value.value && typeof value.value === 'object') {\n return value.value;\n }\n return value;\n }\n return {};\n};\n\nconst granterId = document('/contracts/granterChannel/accountId');\nif (typeof granterId !== 'string' || granterId.length === 0) {\n issues.push(\"granterChannel must be bound to an accountId\");\n}\n\nconst granteeDocumentId = document('/granteeDocumentId');\nif (\n typeof granteeDocumentId !== 'string' ||\n granteeDocumentId.trim().length === 0\n) {\n issues.push(\"granteeDocumentId must be a non-empty string\");\n}\n\nconst list = document('/allowedWorkerAgencyPermissions');\nif (!Array.isArray(list) || list.length === 0) {\n issues.push(\"allowedWorkerAgencyPermissions must be a non-empty array\");\n} else {\n const validateSDPS = (p, path) => {\n const record = unwrapRecord(p);\n if (Object.keys(record).length === 0) {\n issues.push(`${path} must be an object`);\n return;\n }\n const read = unwrapBoolean(record.read);\n if (read !== true) {\n issues.push(`${path}.read must be true`);\n }\n const share = record.share;\n const shareValue = unwrapBoolean(share);\n if (hasBooleanValue(share) && typeof shareValue !== 'boolean') {\n issues.push(`${path}.share must be boolean if provided`);\n }\n const allOps = record.allOps;\n const allOpsValue = unwrapBoolean(allOps);\n if (hasBooleanValue(allOps) && typeof allOpsValue !== 'boolean') {\n issues.push(`${path}.allOps must be boolean if provided`);\n }\n const singleOpsRaw = unwrapArray(record.singleOps)\n .map(entry => unwrapText(entry))\n .filter(Boolean);\n const hasSingle = singleOpsRaw.length > 0;\n if (hasSingle) {\n const bad = singleOpsRaw.length !== unwrapArray(record.singleOps).length;\n if (bad) issues.push(`${path}.singleOps must contain only non-empty strings`);\n }\n if (allOpsValue === true && hasSingle) {\n issues.push(`${path}.allOps=true and ${path}.singleOps are mutually exclusive`);\n }\n };\n const seenTypes = new Set();\n list.forEach((item, idx) => {\n const itemPath = `/allowedWorkerAgencyPermissions[${idx}]`;\n if (typeof item !== 'object' || item === null) {\n issues.push(`${itemPath} must be an object`);\n return;\n }\n const workerType = unwrapText(item.workerType);\n if (!workerType) {\n issues.push(`${itemPath}.workerType must be a non-empty string`);\n } else {\n if (seenTypes.has(workerType)) {\n issues.push(`duplicate workerType '${workerType}' in allowedWorkerAgencyPermissions`);\n } else {\n seenTypes.add(workerType);\n }\n }\n const perms = item.permissions;\n if (typeof perms === 'undefined') {\n issues.push(`${itemPath}.permissions is required`);\n } else {\n validateSDPS(perms, `${itemPath}.permissions`);\n }\n });\n}\nif (issues.length > 0) {\n return { events: [ { type: \"MyOS/Worker Agency Permission Invalid\", issues } ] };\n} else {\n return { events: [ { type: \"MyOS/Worker Agency Permission Validated\" } ] };\n}\n";
111
+ };
112
+ readonly name: "ValidateBasicShape";
113
+ readonly type: {
114
+ readonly blueId: "ExZxT61PSpWHpEAtP2WKMXXqxEYN7Z13j7Zv36Dp99kS";
115
+ };
116
+ }];
117
+ };
118
+ readonly type: {
119
+ readonly blueId: "7X3LkN54Yp88JgZbppPhP6hM3Jqiqv8Z2i4kS7phXtQe";
120
+ };
121
+ };
122
+ };
123
+ readonly granteeDocumentId: {
124
+ readonly type: {
125
+ readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
126
+ };
127
+ };
128
+ readonly name: "Worker Agency Permission Grant";
129
+ readonly type: {
130
+ readonly blueId: "Bu4YETSKYW8hHMwVy6zUUoBAGZPxX3KVXfKN9uoCUoJj";
131
+ };
132
+ };
28
133
  readonly '2gc8djtKGGRPjGfMQzvJZMviaXm4ytM1nA4DVbfyjkrW': {
29
134
  readonly description: "Update to a subscription.";
30
135
  readonly name: "Subscription Update";
@@ -177,6 +282,128 @@ declare const _default: {
177
282
  readonly blueId: "CN5efWVizJbRsMCw8YWRfT2q9vM9XfeGDN9wFvYcvMnQ";
178
283
  };
179
284
  };
285
+ readonly '3SQR9pgQoY8rE9XhSmDDbKdHwe7ZZDaX4hPkYirhjYmD': {
286
+ readonly contracts: {
287
+ readonly granterChannel: {
288
+ readonly description: "Granter/owner’s timeline (direct grant-document revoke lives here).";
289
+ readonly type: {
290
+ readonly blueId: "HCF8mXnX3dFjQ8osjxb4Wzm2Nm1DoXnTYuA5sPnV7NTs";
291
+ };
292
+ };
293
+ readonly initLifecycleChannel: {
294
+ readonly event: {
295
+ readonly type: {
296
+ readonly blueId: "BrpmpNt5JkapeUvPqYcxgXZrHNZX3R757dRwuXXdfNM2";
297
+ };
298
+ };
299
+ readonly type: {
300
+ readonly blueId: "H2aCCTUcLMTJozWkn7HPUjyFBFxamraw1q8DyWk87zxr";
301
+ };
302
+ };
303
+ readonly revoke: {
304
+ readonly channel: {
305
+ readonly type: {
306
+ readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
307
+ };
308
+ readonly value: "granterChannel";
309
+ };
310
+ readonly description: "Granter requests revocation on the grant document. Grantee-document self-revoke uses the existing revoke-request event with grantDocumentId emitted from the grantee document itself.";
311
+ readonly request: {
312
+ readonly description: "Optional human-readable reason";
313
+ readonly type: {
314
+ readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
315
+ };
316
+ };
317
+ readonly type: {
318
+ readonly blueId: "BoAiqVUZv9Fum3wFqaX2JnQMBHJLxJSo2V9U2UBmCfsC";
319
+ };
320
+ };
321
+ readonly revokeImplGranter: {
322
+ readonly operation: {
323
+ readonly type: {
324
+ readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
325
+ };
326
+ readonly value: "revoke";
327
+ };
328
+ readonly steps: {
329
+ readonly items: readonly [{
330
+ readonly code: {
331
+ readonly type: {
332
+ readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
333
+ };
334
+ readonly value: "return {\n events: [\n {\n type: \"MyOS/Single Document Permission Revoke Requested\",\n reason: event.message.request\n }\n ]\n};\n";
335
+ };
336
+ readonly name: "EmitRevokeRequested";
337
+ readonly type: {
338
+ readonly blueId: "ExZxT61PSpWHpEAtP2WKMXXqxEYN7Z13j7Zv36Dp99kS";
339
+ };
340
+ }];
341
+ };
342
+ readonly type: {
343
+ readonly blueId: "CGdxkNjPcsdescqLPz6SNLsMyak6demQQr7RoKNHbCyv";
344
+ };
345
+ };
346
+ readonly validateOnInit: {
347
+ readonly channel: {
348
+ readonly type: {
349
+ readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
350
+ };
351
+ readonly value: "initLifecycleChannel";
352
+ };
353
+ readonly steps: {
354
+ readonly items: readonly [{
355
+ readonly code: {
356
+ readonly type: {
357
+ readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
358
+ };
359
+ readonly value: "const skipValidation = document('/skipValidation');\nif (skipValidation === true) return { events: [] };\n\nconst issues = [];\n\nconst target = document('/targetSessionId');\nif (!target || typeof target !== 'string') issues.push(\"targetSessionId is missing or invalid\");\n\nconst granterId = document('/contracts/granterChannel/accountId');\nif (typeof granterId !== 'string' || granterId.length === 0) issues.push(\"granterChannel must be bound to an accountId\");\n\nconst gdoc = document('/granteeDocumentId');\nif (typeof gdoc !== 'string' || gdoc.trim().length === 0) issues.push(\"granteeDocumentId must be a non-empty string (originalBlueId)\");\n\nconst perms = document('/permissions');\nif (!perms || typeof perms !== 'object') {\n issues.push(\"permissions block is missing\");\n} else {\n if (perms.read !== true) issues.push(\"permissions.read must be true for SDPG\");\n const hasSingle = Array.isArray(perms?.singleOps) && perms.singleOps.length > 0;\n if (hasSingle) {\n if (perms.singleOps.some(x => typeof x !== 'string' || x.trim().length === 0)) {\n issues.push(\"permissions.singleOps must contain only non-empty strings\");\n }\n }\n if (perms.allOps === true && hasSingle) {\n issues.push(\"permissions.allOps=true and permissions.singleOps are mutually exclusive\");\n }\n}\n\nif (issues.length > 0) return { events: [ { type: \"MyOS/Single Document Permission Invalid\", issues } ] };\nreturn { events: [ { type: \"MyOS/Single Document Permission Validated\" } ] };\n";
360
+ };
361
+ readonly name: "ValidateBasicShape";
362
+ readonly type: {
363
+ readonly blueId: "ExZxT61PSpWHpEAtP2WKMXXqxEYN7Z13j7Zv36Dp99kS";
364
+ };
365
+ }];
366
+ };
367
+ readonly type: {
368
+ readonly blueId: "7X3LkN54Yp88JgZbppPhP6hM3Jqiqv8Z2i4kS7phXtQe";
369
+ };
370
+ };
371
+ };
372
+ readonly granteeDocumentId: {
373
+ readonly description: "Required original document id (blueId) that will act as the grantee principal ('document').";
374
+ readonly type: {
375
+ readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
376
+ };
377
+ };
378
+ readonly granterDocumentSessionId: {
379
+ readonly description: "Optional. If set, MyOS should evaluate authority using this document session as the principal (instead of granter accountId).";
380
+ readonly type: {
381
+ readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
382
+ };
383
+ };
384
+ readonly name: "Single Document Permission Grant To Document";
385
+ readonly permissions: {
386
+ readonly description: "Rights to grant on the target session (READ required; allOps and singleOps are mutually exclusive; singleOps is optional but must be non-empty if provided).";
387
+ readonly type: {
388
+ readonly blueId: "DRDQcve5AjwBK9z6Njfa4MNERko7Uf4ucvARFdC6sL54";
389
+ };
390
+ };
391
+ readonly skipValidation: {
392
+ readonly description: "If true, the validation will be skipped (MyOS Admin won't be triggered to create permission grant).";
393
+ readonly type: {
394
+ readonly blueId: "4EzhSubEimSQD3zrYHRtobfPPWntUuhEz8YcdxHsi12u";
395
+ };
396
+ };
397
+ readonly targetSessionId: {
398
+ readonly description: "Target document session id to grant access to";
399
+ readonly type: {
400
+ readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
401
+ };
402
+ };
403
+ readonly type: {
404
+ readonly blueId: "Bu4YETSKYW8hHMwVy6zUUoBAGZPxX3KVXfKN9uoCUoJj";
405
+ };
406
+ };
180
407
  readonly '3SULZSU6Yvi6rVuhGsRX7znRuyt6oWnx1Hdyu6QhdhFj': {
181
408
  readonly contracts: {
182
409
  readonly ownerChannel: {
@@ -684,6 +911,42 @@ declare const _default: {
684
911
  readonly blueId: "36epvrpVHZLjapbeZsNodz2NDnm7XZeNZcnkWHgkP1pp";
685
912
  };
686
913
  };
914
+ readonly '4XzYndDA5v9yL5LYBq1Jk7ibA5x2ebN8vbSbEAoRrjaG': {
915
+ readonly description: "Emitted either by revoke operation on the grant document or by grantee-document self-revoke flow when grantDocumentId is provided.";
916
+ readonly grantDocumentId: {
917
+ readonly description: "Optional. If present, MyOS Admin must revoke the referenced permission grant after validating that the requesting document matches the grant granteeDocumentId. If absent, revoke applies to the grant document that emitted the event.";
918
+ readonly type: {
919
+ readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
920
+ };
921
+ };
922
+ readonly name: "Linked Documents Permission Revoke Requested";
923
+ readonly reason: {
924
+ readonly type: {
925
+ readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
926
+ };
927
+ };
928
+ readonly type: {
929
+ readonly blueId: "8f9UhHMbRe62sFgzQVheToaJPYi7t7HPNVvpQTbqfL5n";
930
+ };
931
+ };
932
+ readonly '53Kbf5fymxzBCJgf5BdCYCjCb6o5nWS1KWCzL8GkBF42': {
933
+ readonly description: "Emitted either by revoke operation on the grant document or by grantee-document self-revoke flow when grantDocumentId is provided.";
934
+ readonly grantDocumentId: {
935
+ readonly description: "Optional. If present, MyOS Admin must revoke the referenced permission grant after validating that the requesting document matches the grant granteeDocumentId. If absent, revoke applies to the grant document that emitted the event.";
936
+ readonly type: {
937
+ readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
938
+ };
939
+ };
940
+ readonly name: "Single Document Permission Revoke Requested";
941
+ readonly reason: {
942
+ readonly type: {
943
+ readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
944
+ };
945
+ };
946
+ readonly type: {
947
+ readonly blueId: "8f9UhHMbRe62sFgzQVheToaJPYi7t7HPNVvpQTbqfL5n";
948
+ };
949
+ };
687
950
  readonly '567voUMtKJQoqru6ZVPYb4EGwdeV99rUSAqsnod7gqfd': {
688
951
  readonly description: "Emitted on initialise when local shape checks fail.";
689
952
  readonly issues: {
@@ -889,17 +1152,35 @@ declare const _default: {
889
1152
  readonly blueId: "7QACj919YMRvFCTELCf6jfQTp41RVhtHdE6bPazLUZQ6";
890
1153
  };
891
1154
  };
892
- readonly '5zNb9H63xeG2RjZ1gzJwyGxvTVzWdyNBb2Te6g8UXd72': {
893
- readonly allowedWorkerAgencyPermissions: {
894
- readonly itemType: {
895
- readonly blueId: "5J3RXNnALK1ZYAQBrjGwCQ4WpL3YUGHvz9WcGos6mMSp";
896
- };
1155
+ readonly '5sLtygzt8kxjzDwJLjVcSZj5GCXFyUXKuXxF8UFjfmm7': {
1156
+ readonly description: "Emitted either by revoke operation on the grant document or by grantee-document self-revoke flow when grantDocumentId is provided.";
1157
+ readonly grantDocumentId: {
1158
+ readonly description: "Optional. If present, MyOS Admin must revoke the referenced permission grant after validating that the requesting document matches the grant granteeDocumentId. If absent, revoke applies to the grant document that emitted the event.";
897
1159
  readonly type: {
898
- readonly blueId: "6aehfNAxHLC1PHHoDr3tYtFH3RWNbiWdFancJ1bypXEY";
1160
+ readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
899
1161
  };
900
1162
  };
901
- readonly description: "MyOS Admin is retracting rights granted by this WAG.";
902
- readonly granteeDocumentId: {
1163
+ readonly name: "Worker Agency Permission Revoke Requested";
1164
+ readonly reason: {
1165
+ readonly type: {
1166
+ readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
1167
+ };
1168
+ };
1169
+ readonly type: {
1170
+ readonly blueId: "8f9UhHMbRe62sFgzQVheToaJPYi7t7HPNVvpQTbqfL5n";
1171
+ };
1172
+ };
1173
+ readonly '5zNb9H63xeG2RjZ1gzJwyGxvTVzWdyNBb2Te6g8UXd72': {
1174
+ readonly allowedWorkerAgencyPermissions: {
1175
+ readonly itemType: {
1176
+ readonly blueId: "5J3RXNnALK1ZYAQBrjGwCQ4WpL3YUGHvz9WcGos6mMSp";
1177
+ };
1178
+ readonly type: {
1179
+ readonly blueId: "6aehfNAxHLC1PHHoDr3tYtFH3RWNbiWdFancJ1bypXEY";
1180
+ };
1181
+ };
1182
+ readonly description: "MyOS Admin is retracting rights granted by this WAG.";
1183
+ readonly granteeDocumentId: {
903
1184
  readonly type: {
904
1185
  readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
905
1186
  };
@@ -930,143 +1211,58 @@ declare const _default: {
930
1211
  readonly blueId: "36epvrpVHZLjapbeZsNodz2NDnm7XZeNZcnkWHgkP1pp";
931
1212
  };
932
1213
  };
933
- readonly '6fEj6jD4eEVJwjH9Z2aQ9HsqdaCzbppfsYL2mFLx32YP': {
934
- readonly contracts: {
935
- readonly granterChannel: {
936
- readonly description: "Granter/owner’s timeline (actor allowed to request revoke)";
937
- readonly type: {
938
- readonly blueId: "HCF8mXnX3dFjQ8osjxb4Wzm2Nm1DoXnTYuA5sPnV7NTs";
939
- };
940
- };
941
- readonly initLifecycleChannel: {
942
- readonly event: {
943
- readonly type: {
944
- readonly blueId: "BrpmpNt5JkapeUvPqYcxgXZrHNZX3R757dRwuXXdfNM2";
945
- };
946
- };
947
- readonly type: {
948
- readonly blueId: "H2aCCTUcLMTJozWkn7HPUjyFBFxamraw1q8DyWk87zxr";
949
- };
950
- };
951
- readonly revoke: {
952
- readonly channel: {
953
- readonly type: {
954
- readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
955
- };
956
- readonly value: "granterChannel";
957
- };
958
- readonly description: "Granter requests revocation (handled by MyOS Admin)";
959
- readonly request: {
960
- readonly description: "Optional human-readable reason";
961
- readonly type: {
962
- readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
963
- };
964
- };
965
- readonly type: {
966
- readonly blueId: "BoAiqVUZv9Fum3wFqaX2JnQMBHJLxJSo2V9U2UBmCfsC";
967
- };
968
- };
969
- readonly revokeImplGranter: {
970
- readonly operation: {
971
- readonly type: {
972
- readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
973
- };
974
- readonly value: "revoke";
975
- };
976
- readonly steps: {
977
- readonly items: readonly [{
978
- readonly code: {
979
- readonly type: {
980
- readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
981
- };
982
- readonly value: "return {\n events: [\n {\n type: \"MyOS/Single Document Permission Revoke Requested\",\n reason: event.message.request\n }\n ]\n};\n";
983
- };
984
- readonly name: "EmitRevokeRequested";
985
- readonly type: {
986
- readonly blueId: "ExZxT61PSpWHpEAtP2WKMXXqxEYN7Z13j7Zv36Dp99kS";
987
- };
988
- }];
989
- };
990
- readonly type: {
991
- readonly blueId: "CGdxkNjPcsdescqLPz6SNLsMyak6demQQr7RoKNHbCyv";
992
- };
993
- };
994
- readonly validateOnInit: {
995
- readonly channel: {
996
- readonly type: {
997
- readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
998
- };
999
- readonly value: "initLifecycleChannel";
1000
- };
1001
- readonly steps: {
1002
- readonly items: readonly [{
1003
- readonly code: {
1004
- readonly type: {
1005
- readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
1006
- };
1007
- readonly value: "const skipValidation = document('/skipValidation');\nif (skipValidation === true) return { events: [] };\n\nconst issues = [];\n\n// Required: target session\nconst target = document('/targetSessionId');\nif (!target || typeof target !== 'string') issues.push(\"targetSessionId is missing or invalid\");\n\n// Required: bound granter identity\nconst granterId = document('/contracts/granterChannel/accountId');\nif (typeof granterId !== 'string' || granterId.length === 0) issues.push(\"granterChannel must be bound to an accountId\");\n\n// Required: grantee document id\nconst gdoc = document('/granteeDocumentId');\nif (typeof gdoc !== 'string' || gdoc.trim().length === 0) issues.push(\"granteeDocumentId must be a non-empty string (originalBlueId)\");\n\n// Permissions\nconst perms = document('/permissions');\nif (!perms || typeof perms !== 'object') {\n issues.push(\"permissions block is missing\");\n} else {\n if (perms.read !== true) issues.push(\"permissions.read must be true for SDPG\");\n const hasSingle = Array.isArray(perms?.singleOps) && perms.singleOps.length > 0;\n if (hasSingle) {\n if (perms.singleOps.some(x => typeof x !== 'string' || x.trim().length === 0)) {\n issues.push(\"permissions.singleOps must contain only non-empty strings\");\n }\n }\n if (perms.allOps === true && hasSingle) {\n issues.push(\"permissions.allOps=true and permissions.singleOps are mutually exclusive\");\n }\n}\n\nif (issues.length > 0) return { events: [ { type: \"MyOS/Single Document Permission Invalid\", issues } ] };\nreturn { events: [ { type: \"MyOS/Single Document Permission Validated\" } ] };\n";
1008
- };
1009
- readonly name: "ValidateBasicShape";
1010
- readonly type: {
1011
- readonly blueId: "ExZxT61PSpWHpEAtP2WKMXXqxEYN7Z13j7Zv36Dp99kS";
1012
- };
1013
- }];
1014
- };
1015
- readonly type: {
1016
- readonly blueId: "7X3LkN54Yp88JgZbppPhP6hM3Jqiqv8Z2i4kS7phXtQe";
1017
- };
1018
- };
1019
- };
1020
- readonly granteeDocumentId: {
1021
- readonly description: "Required original document id (blueId) that will act as the grantee principal ('document')";
1214
+ readonly '6kUamSN8Yq4L46PRaKRVc2BnG6xN7HCpmyG2STW3hecZ': {
1215
+ readonly description: "All initial rights from this LDPG have been persisted.";
1216
+ readonly grantDocumentId: {
1217
+ readonly description: "Optional. Stable handle of the created permission grant document. Required in request/response document-grant flows that later support self-revoke from the grantee document.";
1022
1218
  readonly type: {
1023
1219
  readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
1024
1220
  };
1025
1221
  };
1026
- readonly granterDocumentSessionId: {
1027
- readonly description: "Optional. If set, MyOS should evaluate authority using this document session as the principal (instead of granter accountId).";
1222
+ readonly links: {
1028
1223
  readonly type: {
1029
- readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
1224
+ readonly blueId: "75TXyy5E7vbexVAUZcjZ2vdQaG7fJJbAHAgrh8sMtTp5";
1030
1225
  };
1031
1226
  };
1032
- readonly name: "Single Document Permission Grant To Document";
1033
- readonly permissions: {
1034
- readonly description: "Rights to grant on the target session (READ required; allOps and singleOps are mutually exclusive; singleOps is optional but must be non-empty if provided).";
1227
+ readonly name: "Linked Documents Permission Granted";
1228
+ readonly targetSessionId: {
1035
1229
  readonly type: {
1036
- readonly blueId: "DRDQcve5AjwBK9z6Njfa4MNERko7Uf4ucvARFdC6sL54";
1230
+ readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
1037
1231
  };
1038
1232
  };
1039
- readonly skipValidation: {
1040
- readonly description: "If true, the validation will be skipped (MyOS Admin won't be triggered to create permission grant)";
1233
+ readonly type: {
1234
+ readonly blueId: "36epvrpVHZLjapbeZsNodz2NDnm7XZeNZcnkWHgkP1pp";
1235
+ };
1236
+ };
1237
+ readonly '6tzp2YX1rei3aAXg22SqYbeiiteGthj1LesTNCWm7wbU': {
1238
+ readonly name: "MyOS Participants Orchestration";
1239
+ };
1240
+ readonly '75TkZZcfwGMnD8ReqQg1KhBkdEV9U637TS5bGSv9n2Xn': {
1241
+ readonly allowedWorkerAgencyPermissions: {
1242
+ readonly itemType: {
1243
+ readonly blueId: "5J3RXNnALK1ZYAQBrjGwCQ4WpL3YUGHvz9WcGos6mMSp";
1244
+ };
1041
1245
  readonly type: {
1042
- readonly blueId: "4EzhSubEimSQD3zrYHRtobfPPWntUuhEz8YcdxHsi12u";
1246
+ readonly blueId: "6aehfNAxHLC1PHHoDr3tYtFH3RWNbiWdFancJ1bypXEY";
1043
1247
  };
1044
1248
  };
1045
- readonly targetSessionId: {
1046
- readonly description: "Target document session id to grant access to";
1249
+ readonly description: "DB rows written; rights are effective.";
1250
+ readonly grantDocumentId: {
1251
+ readonly description: "Optional. Stable handle of the created permission grant document. Required in request/response document-grant flows that later support self-revoke from the grantee document.";
1047
1252
  readonly type: {
1048
1253
  readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
1049
1254
  };
1050
1255
  };
1051
- readonly type: {
1052
- readonly blueId: "Bu4YETSKYW8hHMwVy6zUUoBAGZPxX3KVXfKN9uoCUoJj";
1053
- };
1054
- };
1055
- readonly '6fTSbBwfj3zkin6EjGevF16QzokKa1xNXrDjdQwbDir7': {
1056
- readonly description: "Emitted by revoke operation";
1057
- readonly name: "Linked Documents Permission Revoke Requested";
1058
- readonly reason: {
1256
+ readonly granteeDocumentId: {
1059
1257
  readonly type: {
1060
1258
  readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
1061
1259
  };
1062
1260
  };
1261
+ readonly name: "Worker Agency Permission Granted";
1063
1262
  readonly type: {
1064
- readonly blueId: "8f9UhHMbRe62sFgzQVheToaJPYi7t7HPNVvpQTbqfL5n";
1263
+ readonly blueId: "36epvrpVHZLjapbeZsNodz2NDnm7XZeNZcnkWHgkP1pp";
1065
1264
  };
1066
1265
  };
1067
- readonly '6tzp2YX1rei3aAXg22SqYbeiiteGthj1LesTNCWm7wbU': {
1068
- readonly name: "MyOS Participants Orchestration";
1069
- };
1070
1266
  readonly '75TXyy5E7vbexVAUZcjZ2vdQaG7fJJbAHAgrh8sMtTp5': {
1071
1267
  readonly description: "Map from anchor name to permissions that will be granted for documents linked to the base document via that anchor.";
1072
1268
  readonly keyType: {
@@ -1107,26 +1303,6 @@ declare const _default: {
1107
1303
  readonly description: "Template payload that can be included in a MyOS package to optionally start an automation after the Agent session is created.\n";
1108
1304
  readonly name: "Anchor Automation Template";
1109
1305
  };
1110
- readonly '8GNc7HmPKXmURG12ZBY8iXYEP7CTfBLsfXvpLcQ6EMwS': {
1111
- readonly allowedWorkerAgencyPermissions: {
1112
- readonly itemType: {
1113
- readonly blueId: "5J3RXNnALK1ZYAQBrjGwCQ4WpL3YUGHvz9WcGos6mMSp";
1114
- };
1115
- readonly type: {
1116
- readonly blueId: "6aehfNAxHLC1PHHoDr3tYtFH3RWNbiWdFancJ1bypXEY";
1117
- };
1118
- };
1119
- readonly description: "DB rows written; rights are effective.";
1120
- readonly granteeDocumentId: {
1121
- readonly type: {
1122
- readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
1123
- };
1124
- };
1125
- readonly name: "Worker Agency Permission Granted";
1126
- readonly type: {
1127
- readonly blueId: "36epvrpVHZLjapbeZsNodz2NDnm7XZeNZcnkWHgkP1pp";
1128
- };
1129
- };
1130
1306
  readonly '8jCUCDoX7LUd5UaktCD7i4xxEheCWFQDkTbbNTEdYVZ9': {
1131
1307
  readonly description: "A reference to a specific, live document processing session on the MyOS platform.";
1132
1308
  readonly documentId: {
@@ -1174,461 +1350,89 @@ declare const _default: {
1174
1350
  };
1175
1351
  readonly '8s2rAFDtiB6sCwqeURkT4Lq7fcc2FXBkmX9B9p7R4Boc': {
1176
1352
  readonly description: "Marker type for a specialized Blue document that MyOS treats as an Agent, enabling richer UI and behaviors while remaining a standard Blue document.";
1177
- readonly name: "Agent";
1178
- };
1179
- readonly '8XYzJ3BrgB5uoAWU5HvZ7Gej9RXNG5r52ccneLZxMAQd': {
1180
- readonly description: "DB rows written; rights are effective.";
1181
- readonly name: "Single Document Permission Granted";
1182
- readonly permissions: {
1183
- readonly type: {
1184
- readonly blueId: "DRDQcve5AjwBK9z6Njfa4MNERko7Uf4ucvARFdC6sL54";
1185
- };
1186
- };
1187
- readonly targetSessionId: {
1188
- readonly type: {
1189
- readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
1190
- };
1191
- };
1192
- readonly type: {
1193
- readonly blueId: "36epvrpVHZLjapbeZsNodz2NDnm7XZeNZcnkWHgkP1pp";
1194
- };
1195
- };
1196
- readonly '98JmkF189jZpQRyzaiQxLbc2rRUqnRy2o6bH2qCRaBg3': {
1197
- readonly channelName: {
1198
- readonly description: "The abstract channel name for the new participant.";
1199
- readonly type: {
1200
- readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
1201
- };
1202
- };
1203
- readonly name: "Adding Participant Requested";
1204
- readonly participantBinding: {
1205
- readonly accountId: {
1206
- readonly type: {
1207
- readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
1208
- };
1209
- };
1210
- readonly description: "How to identify the new user.";
1211
- readonly email: {
1212
- readonly type: {
1213
- readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
1214
- };
1215
- };
1216
- };
1217
- readonly type: {
1218
- readonly blueId: "8f9UhHMbRe62sFgzQVheToaJPYi7t7HPNVvpQTbqfL5n";
1219
- };
1220
- };
1221
- readonly '9CvxqAMJhqcFoLr5nXSEdWDZUMD383xhJtyFwXsCqD9E': {
1222
- readonly description: "Snapshot captured from a target session epoch emission.";
1223
- readonly document: {
1224
- readonly description: "Document state after the emission.";
1225
- };
1226
- readonly epoch: {
1227
- readonly description: "Epoch number.";
1228
- readonly type: {
1229
- readonly blueId: "5WNMiV9Knz63B4dVY5JtMyh3FB4FSGqv7ceScvuapdE1";
1230
- };
1231
- };
1232
- readonly name: "Session Epoch Advanced";
1233
- readonly sessionId: {
1234
- readonly description: "Session whose state advanced.";
1235
- readonly type: {
1236
- readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
1237
- };
1238
- };
1239
- readonly timestamp: {
1240
- readonly description: "ISO 8601 timestamp for the emission.";
1241
- readonly type: {
1242
- readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
1243
- };
1244
- };
1245
- readonly type: {
1246
- readonly blueId: "5Wz4G9qcnBJnntYRkz4dgLK5bSuoMpYJZj4j5M59z4we";
1247
- };
1248
- };
1249
- readonly '9iEADVdqxqgacF3GAZVMFZu4m5ywuNpsGzButLUNkPWo': {
1250
- readonly name: "Bootstrap Failed";
1251
- readonly reason: {
1252
- readonly type: {
1253
- readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
1254
- };
1255
- };
1256
- };
1257
- readonly '9J18sDqoJX8KKutFwuzxeSdXiGuRbJB2yCfADGSKax6h': {
1258
- readonly description: "All rights from this LDPG have been revoked.";
1259
- readonly links: {
1260
- readonly type: {
1261
- readonly blueId: "75TXyy5E7vbexVAUZcjZ2vdQaG7fJJbAHAgrh8sMtTp5";
1262
- };
1263
- };
1264
- readonly name: "Linked Documents Permission Revoked";
1265
- readonly reason: {
1266
- readonly type: {
1267
- readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
1268
- };
1269
- };
1270
- readonly targetSessionId: {
1271
- readonly type: {
1272
- readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
1273
- };
1274
- };
1275
- readonly type: {
1276
- readonly blueId: "36epvrpVHZLjapbeZsNodz2NDnm7XZeNZcnkWHgkP1pp";
1277
- };
1278
- };
1279
- readonly A2dveyQFp6dYJgigdRuZW3dsbdeiG2HzHnjaobAHJCvY: {
1280
- readonly contracts: {
1281
- readonly granterChannel: {
1282
- readonly description: "Granter/owner’s timeline (actor allowed to request revoke)";
1283
- readonly type: {
1284
- readonly blueId: "HCF8mXnX3dFjQ8osjxb4Wzm2Nm1DoXnTYuA5sPnV7NTs";
1285
- };
1286
- };
1287
- readonly initLifecycleChannel: {
1288
- readonly event: {
1289
- readonly type: {
1290
- readonly blueId: "BrpmpNt5JkapeUvPqYcxgXZrHNZX3R757dRwuXXdfNM2";
1291
- };
1292
- };
1293
- readonly type: {
1294
- readonly blueId: "H2aCCTUcLMTJozWkn7HPUjyFBFxamraw1q8DyWk87zxr";
1295
- };
1296
- };
1297
- readonly revoke: {
1298
- readonly channel: {
1299
- readonly type: {
1300
- readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
1301
- };
1302
- readonly value: "granterChannel";
1303
- };
1304
- readonly description: "Granter indicates the grant should be revoked (MyOS Admin will handle)";
1305
- readonly request: {
1306
- readonly description: "Optional human-readable reason";
1307
- readonly type: {
1308
- readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
1309
- };
1310
- };
1311
- readonly type: {
1312
- readonly blueId: "BoAiqVUZv9Fum3wFqaX2JnQMBHJLxJSo2V9U2UBmCfsC";
1313
- };
1314
- };
1315
- readonly revokeImplGranter: {
1316
- readonly operation: {
1317
- readonly type: {
1318
- readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
1319
- };
1320
- readonly value: "revoke";
1321
- };
1322
- readonly steps: {
1323
- readonly items: readonly [{
1324
- readonly code: {
1325
- readonly type: {
1326
- readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
1327
- };
1328
- readonly value: "return {\n events: [\n {\n type: \"MyOS/Linked Documents Permission Revoke Requested\",\n reason: event.message.request\n }\n ]\n};\n";
1329
- };
1330
- readonly name: "EmitRevokeRequested";
1331
- readonly type: {
1332
- readonly blueId: "ExZxT61PSpWHpEAtP2WKMXXqxEYN7Z13j7Zv36Dp99kS";
1333
- };
1334
- }];
1335
- };
1336
- readonly type: {
1337
- readonly blueId: "CGdxkNjPcsdescqLPz6SNLsMyak6demQQr7RoKNHbCyv";
1338
- };
1339
- };
1340
- readonly validateOnInit: {
1341
- readonly channel: {
1342
- readonly type: {
1343
- readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
1344
- };
1345
- readonly value: "initLifecycleChannel";
1346
- };
1347
- readonly steps: {
1348
- readonly items: readonly [{
1349
- readonly code: {
1350
- readonly type: {
1351
- readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
1352
- };
1353
- readonly value: "const skipValidation = document('/skipValidation');\nif (skipValidation === true) return { events: [] };\n\nconst issues = [];\n\n// Required: target session\nconst target = document('/targetSessionId');\nif (!target || typeof target !== 'string') issues.push(\"targetSessionId is missing or invalid\");\n\n// Required: bound granter identity\nconst granterId = document('/contracts/granterChannel/accountId');\nif (typeof granterId !== 'string' || granterId.length === 0) issues.push(\"granterChannel must be bound to an accountId\");\n\n// Required: grantee document id\nconst gdoc = document('/granteeDocumentId');\nif (typeof gdoc !== 'string' || gdoc.trim().length === 0) issues.push(\"granteeDocumentId must be a non-empty string\");\n\n// Required: links\nconst links = document('/links');\nif (!links || typeof links !== 'object') issues.push(\"links is missing or invalid\");\n\nconst anchors = Object.keys(links).filter(key => !['description', 'type', 'keyType', 'valueType'].includes(key));\nif (anchors.length === 0) {\n issues.push(\"links must have at least one anchor entry\");\n}\nfor (const anchor of anchors) {\n const perms = links[anchor];\n if (!perms || perms.read !== true) {\n issues.push(`links['${anchor}'].read must be true`);\n }\n const hasSingle = Array.isArray(perms.singleOps) && perms.singleOps.length > 0;\n if (hasSingle && perms.singleOps.some(x => typeof x !== \"string\" || x.trim().length === 0)) {\n issues.push(`links['${anchor}'].singleOps must contain only non-empty strings`);\n }\n if (perms.allOps === true && hasSingle) {\n issues.push(`links['${anchor}'].allOps=true and singleOps are mutually exclusive`);\n }\n}\n\nif (issues.length > 0) return { events: [ { type: \"MyOS/Linked Documents Permission Invalid\", issues } ] };\nreturn { events: [ { type: \"MyOS/Linked Documents Permission Validated\" } ] };\n";
1354
- };
1355
- readonly name: "ValidateBasicShape";
1356
- readonly type: {
1357
- readonly blueId: "ExZxT61PSpWHpEAtP2WKMXXqxEYN7Z13j7Zv36Dp99kS";
1358
- };
1359
- }];
1360
- };
1361
- readonly type: {
1362
- readonly blueId: "7X3LkN54Yp88JgZbppPhP6hM3Jqiqv8Z2i4kS7phXtQe";
1363
- };
1364
- };
1365
- };
1366
- readonly granteeDocumentId: {
1367
- readonly description: "Required original document id (blueId) that will act as the 'document' principal.";
1368
- readonly type: {
1369
- readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
1370
- };
1371
- };
1372
- readonly granterDocumentSessionId: {
1373
- readonly description: "Optional. If set, MyOS should evaluate authority as this document session\n(principalType='document', granteeId=documentId of this session),\ninstead of the granter accountId.\n";
1374
- readonly type: {
1375
- readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
1376
- };
1377
- };
1378
- readonly links: {
1379
- readonly description: "Map from anchor name to permissions that will be granted for documents linked to the base document via that anchor.";
1380
- readonly type: {
1381
- readonly blueId: "75TXyy5E7vbexVAUZcjZ2vdQaG7fJJbAHAgrh8sMtTp5";
1382
- };
1383
- };
1384
- readonly name: "Linked Documents Permission Grant To Document";
1385
- readonly skipValidation: {
1386
- readonly description: "If true, the validation will be skipped (MyOS Admin won't be triggered to create permission grant)";
1387
- readonly type: {
1388
- readonly blueId: "4EzhSubEimSQD3zrYHRtobfPPWntUuhEz8YcdxHsi12u";
1389
- };
1390
- };
1391
- readonly targetSessionId: {
1392
- readonly description: "Base document session id whose anchors define the scope of this grant.";
1393
- readonly type: {
1394
- readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
1395
- };
1396
- };
1397
- readonly type: {
1398
- readonly blueId: "Bu4YETSKYW8hHMwVy6zUUoBAGZPxX3KVXfKN9uoCUoJj";
1399
- };
1400
- };
1401
- readonly A73AVDR9GWAshFUC2Me2qXNns2HECzbadtsgp5zxCjGx: {
1402
- readonly allowedWorkerAgencyPermissions: {
1403
- readonly itemType: {
1404
- readonly blueId: "5J3RXNnALK1ZYAQBrjGwCQ4WpL3YUGHvz9WcGos6mMSp";
1405
- };
1406
- readonly type: {
1407
- readonly blueId: "6aehfNAxHLC1PHHoDr3tYtFH3RWNbiWdFancJ1bypXEY";
1408
- };
1409
- };
1410
- readonly contracts: {
1411
- readonly granterChannel: {
1412
- readonly description: "Granter/owner’s timeline (actor allowed to request revoke)";
1413
- readonly type: {
1414
- readonly blueId: "HCF8mXnX3dFjQ8osjxb4Wzm2Nm1DoXnTYuA5sPnV7NTs";
1415
- };
1416
- };
1417
- readonly initLifecycleChannel: {
1418
- readonly event: {
1419
- readonly type: {
1420
- readonly blueId: "BrpmpNt5JkapeUvPqYcxgXZrHNZX3R757dRwuXXdfNM2";
1421
- };
1422
- };
1423
- readonly type: {
1424
- readonly blueId: "H2aCCTUcLMTJozWkn7HPUjyFBFxamraw1q8DyWk87zxr";
1425
- };
1426
- };
1427
- readonly revoke: {
1428
- readonly channel: {
1429
- readonly type: {
1430
- readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
1431
- };
1432
- readonly value: "granterChannel";
1433
- };
1434
- readonly description: "Granter requests revocation (handled by MyOS Admin)";
1435
- readonly request: {
1436
- readonly description: "Optional human-readable reason";
1437
- readonly type: {
1438
- readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
1439
- };
1440
- };
1441
- readonly type: {
1442
- readonly blueId: "BoAiqVUZv9Fum3wFqaX2JnQMBHJLxJSo2V9U2UBmCfsC";
1443
- };
1444
- };
1445
- readonly revokeImplGranter: {
1446
- readonly operation: {
1447
- readonly type: {
1448
- readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
1449
- };
1450
- readonly value: "revoke";
1451
- };
1452
- readonly steps: {
1453
- readonly items: readonly [{
1454
- readonly code: {
1455
- readonly type: {
1456
- readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
1457
- };
1458
- readonly value: "return {\n events: [\n {\n type: \"MyOS/Worker Agency Permission Revoke Requested\",\n reason: event.message.request\n }\n ]\n};\n";
1459
- };
1460
- readonly name: "EmitRevokeRequested";
1461
- readonly type: {
1462
- readonly blueId: "ExZxT61PSpWHpEAtP2WKMXXqxEYN7Z13j7Zv36Dp99kS";
1463
- };
1464
- }];
1465
- };
1466
- readonly type: {
1467
- readonly blueId: "CGdxkNjPcsdescqLPz6SNLsMyak6demQQr7RoKNHbCyv";
1468
- };
1469
- };
1470
- readonly validateOnInit: {
1471
- readonly channel: {
1472
- readonly type: {
1473
- readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
1474
- };
1475
- readonly value: "initLifecycleChannel";
1476
- };
1477
- readonly steps: {
1478
- readonly items: readonly [{
1479
- readonly code: {
1480
- readonly type: {
1481
- readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
1482
- };
1483
- readonly value: "const issues = [];\n\nconst unwrapText = value => {\n if (typeof value === 'string') {\n const trimmed = value.trim();\n return trimmed.length > 0 ? trimmed : undefined;\n }\n if (value && typeof value === 'object') {\n if (typeof value.value === 'string') {\n const trimmed = value.value.trim();\n return trimmed.length > 0 ? trimmed : undefined;\n }\n if (typeof value.workerType === 'string') {\n const trimmed = value.workerType.trim();\n return trimmed.length > 0 ? trimmed : undefined;\n }\n if (typeof value.name === 'string') {\n const trimmed = value.name.trim();\n return trimmed.length > 0 ? trimmed : undefined;\n }\n }\n return undefined;\n};\n\nconst unwrapBoolean = value => {\n if (typeof value === 'boolean') {\n return value;\n }\n if (value && typeof value === 'object') {\n if (typeof value.value === 'boolean') {\n return value.value;\n }\n if (\n value.value &&\n typeof value.value === 'object' &&\n typeof value.value.value === 'boolean'\n ) {\n return value.value.value;\n }\n }\n return undefined;\n};\n\nconst hasBooleanValue = value => {\n if (typeof value === 'boolean') {\n return true;\n }\n if (value && typeof value === 'object') {\n if (typeof value.value === 'boolean') {\n return true;\n }\n if (\n value.value &&\n typeof value.value === 'object' &&\n typeof value.value.value === 'boolean'\n ) {\n return true;\n }\n }\n return false;\n};\n\nconst unwrapArray = value => {\n if (Array.isArray(value)) {\n return value;\n }\n if (value && typeof value === 'object' && Array.isArray(value.items)) {\n return value.items;\n }\n return [];\n};\n\nconst unwrapRecord = value => {\n if (value && typeof value === 'object' && !Array.isArray(value)) {\n if (value.value && typeof value.value === 'object') {\n return value.value;\n }\n return value;\n }\n return {};\n};\n\n// --- granter binding (owner account) ---\nconst granterId = document('/contracts/granterChannel/accountId');\nif (typeof granterId !== 'string' || granterId.length === 0) {\n issues.push(\"granterChannel must be bound to an accountId\");\n}\n// --- grantee (parent worker) session id ---\nconst granteeDocumentId = document('/granteeDocumentId');\nif (\n typeof granteeDocumentId !== 'string' ||\n granteeDocumentId.trim().length === 0\n) {\n issues.push(\"granteeDocumentId must be a non-empty string\");\n}\n// --- allowedWorkerAgencyPermissions : list of { workerType, permissions } ---\nconst list = document('/allowedWorkerAgencyPermissions');\nif (!Array.isArray(list) || list.length === 0) {\n issues.push(\"allowedWorkerAgencyPermissions must be a non-empty array\");\n} else {\n // helper: validate Single Document Permission Set\n const validateSDPS = (p, path) => {\n const record = unwrapRecord(p);\n if (Object.keys(record).length === 0) {\n issues.push(`${path} must be an object`);\n return;\n }\n // read must be true to allow any access at all\n const read = unwrapBoolean(record.read);\n if (read !== true) {\n issues.push(`${path}.read must be true`);\n }\n const share = record.share;\n const shareValue = unwrapBoolean(share);\n if (hasBooleanValue(share) && typeof shareValue !== 'boolean') {\n issues.push(`${path}.share must be boolean if provided`);\n }\n const allOps = record.allOps;\n const allOpsValue = unwrapBoolean(allOps);\n if (hasBooleanValue(allOps) && typeof allOpsValue !== 'boolean') {\n issues.push(`${path}.allOps must be boolean if provided`);\n }\n const singleOpsRaw = unwrapArray(record.singleOps)\n .map(entry => unwrapText(entry))\n .filter(Boolean);\n const hasSingle = singleOpsRaw.length > 0;\n if (hasSingle) {\n const bad = singleOpsRaw.length !== unwrapArray(record.singleOps).length;\n if (bad) issues.push(`${path}.singleOps must contain only non-empty strings`);\n }\n if (allOpsValue === true && hasSingle) {\n issues.push(`${path}.allOps=true and ${path}.singleOps are mutually exclusive`);\n }\n // Note: it is valid to have read=true with neither allOps nor singleOps (read-only template)\n };\n const seenTypes = new Set();\n list.forEach((item, idx) => {\n const itemPath = `/allowedWorkerAgencyPermissions[${idx}]`;\n // shape\n if (typeof item !== 'object' || item === null) {\n issues.push(`${itemPath} must be an object`);\n return;\n }\n // workerType\n const workerType = unwrapText(item.workerType);\n if (!workerType) {\n issues.push(`${itemPath}.workerType must be a non-empty string`);\n } else {\n if (seenTypes.has(workerType)) {\n issues.push(`duplicate workerType '${workerType}' in allowedWorkerAgencyPermissions`);\n } else {\n seenTypes.add(workerType);\n }\n }\n // permissions (Single Document Permission Set)\n const perms = item.permissions;\n if (typeof perms === 'undefined') {\n issues.push(`${itemPath}.permissions is required`);\n } else {\n validateSDPS(perms, `${itemPath}.permissions`);\n }\n });\n}\nif (issues.length > 0) {\n return { events: [ { type: \"MyOS/Worker Agency Permission Invalid\", issues } ] };\n} else {\n return { events: [ { type: \"MyOS/Worker Agency Permission Validated\" } ] };\n}\n";
1484
- };
1485
- readonly name: "ValidateBasicShape";
1486
- readonly type: {
1487
- readonly blueId: "ExZxT61PSpWHpEAtP2WKMXXqxEYN7Z13j7Zv36Dp99kS";
1488
- };
1489
- }];
1490
- };
1491
- readonly type: {
1492
- readonly blueId: "7X3LkN54Yp88JgZbppPhP6hM3Jqiqv8Z2i4kS7phXtQe";
1493
- };
1494
- };
1495
- };
1496
- readonly granteeDocumentId: {
1497
- readonly type: {
1498
- readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
1499
- };
1500
- };
1501
- readonly name: "Worker Agency Permission Grant";
1502
- readonly type: {
1503
- readonly blueId: "Bu4YETSKYW8hHMwVy6zUUoBAGZPxX3KVXfKN9uoCUoJj";
1504
- };
1505
- };
1506
- readonly ABJ7njZbfTXNP173SCoMytQtVfMXCEwPdFhSJ7F3Vbx9: {
1507
- readonly description: "Emitted by revoke operation";
1508
- readonly name: "Worker Agency Permission Revoke Requested";
1509
- readonly reason: {
1510
- readonly type: {
1511
- readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
1512
- };
1513
- };
1514
- readonly type: {
1515
- readonly blueId: "8f9UhHMbRe62sFgzQVheToaJPYi7t7HPNVvpQTbqfL5n";
1516
- };
1517
- };
1518
- readonly AFX9ct4gYywCbqPUJWaTz4JXS74RxxNPUMNzBMzNGD8c: {
1519
- readonly contracts: {
1520
- readonly granteeChannel: {
1521
- readonly description: "Grantee’s timeline (recipient of the rights)";
1522
- readonly type: {
1523
- readonly blueId: "HCF8mXnX3dFjQ8osjxb4Wzm2Nm1DoXnTYuA5sPnV7NTs";
1524
- };
1525
- };
1526
- readonly granterChannel: {
1527
- readonly description: "Granter/owner’s timeline (actor allowed to request revoke)";
1528
- readonly type: {
1529
- readonly blueId: "HCF8mXnX3dFjQ8osjxb4Wzm2Nm1DoXnTYuA5sPnV7NTs";
1530
- };
1531
- };
1532
- readonly initLifecycleChannel: {
1533
- readonly event: {
1534
- readonly type: {
1535
- readonly blueId: "BrpmpNt5JkapeUvPqYcxgXZrHNZX3R757dRwuXXdfNM2";
1536
- };
1537
- };
1538
- readonly type: {
1539
- readonly blueId: "H2aCCTUcLMTJozWkn7HPUjyFBFxamraw1q8DyWk87zxr";
1540
- };
1541
- };
1542
- readonly revoke: {
1543
- readonly channel: {
1544
- readonly type: {
1545
- readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
1546
- };
1547
- readonly value: "granterChannel";
1548
- };
1549
- readonly description: "Granter or grantee indicates the grant should be revoked (MyOS Admin will handle)";
1550
- readonly request: {
1551
- readonly description: "Optional human-readable reason";
1552
- readonly type: {
1553
- readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
1554
- };
1555
- };
1556
- readonly type: {
1557
- readonly blueId: "BoAiqVUZv9Fum3wFqaX2JnQMBHJLxJSo2V9U2UBmCfsC";
1558
- };
1353
+ readonly name: "Agent";
1354
+ };
1355
+ readonly '98JmkF189jZpQRyzaiQxLbc2rRUqnRy2o6bH2qCRaBg3': {
1356
+ readonly channelName: {
1357
+ readonly description: "The abstract channel name for the new participant.";
1358
+ readonly type: {
1359
+ readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
1559
1360
  };
1560
- readonly revokeImplGranter: {
1561
- readonly operation: {
1562
- readonly type: {
1563
- readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
1564
- };
1565
- readonly value: "revoke";
1566
- };
1567
- readonly steps: {
1568
- readonly items: readonly [{
1569
- readonly code: {
1570
- readonly type: {
1571
- readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
1572
- };
1573
- readonly value: "return {\n events: [\n {\n type: \"MyOS/Linked Documents Permission Revoke Requested\",\n reason: event.message.request\n }\n ]\n};\n";
1574
- };
1575
- readonly name: "EmitRevokeRequested";
1576
- readonly type: {
1577
- readonly blueId: "ExZxT61PSpWHpEAtP2WKMXXqxEYN7Z13j7Zv36Dp99kS";
1578
- };
1579
- }];
1580
- };
1361
+ };
1362
+ readonly name: "Adding Participant Requested";
1363
+ readonly participantBinding: {
1364
+ readonly accountId: {
1581
1365
  readonly type: {
1582
- readonly blueId: "CGdxkNjPcsdescqLPz6SNLsMyak6demQQr7RoKNHbCyv";
1366
+ readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
1583
1367
  };
1584
1368
  };
1585
- readonly validateOnInit: {
1586
- readonly channel: {
1587
- readonly type: {
1588
- readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
1589
- };
1590
- readonly value: "initLifecycleChannel";
1591
- };
1592
- readonly steps: {
1593
- readonly items: readonly [{
1594
- readonly code: {
1595
- readonly type: {
1596
- readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
1597
- };
1598
- readonly value: "const issues = [];\n\n// Required: target session\nconst target = document('/targetSessionId');\nif (!target || typeof target !== 'string') issues.push(\"targetSessionId is missing or invalid\");\n\n// Required: bound identities\nconst granterId = document('/contracts/granterChannel/accountId');\nif (typeof granterId !== 'string' || granterId.length === 0) issues.push(\"granterChannel must be bound to an accountId\");\nconst granteeId = document('/contracts/granteeChannel/accountId');\nif (typeof granteeId !== 'string' || granteeId.length === 0) issues.push(\"granteeChannel must be bound to an accountId\");\n\n// Required: links\nconst links = document('/links');\nif (!links || typeof links !== 'object') issues.push(\"links is missing or invalid\");\n\nconst anchors = Object.keys(links).filter(key => !['description', 'type', 'keyType', 'valueType'].includes(key));\nif (anchors.length === 0) {\n issues.push(\"links must have at least one anchor entry\");\n}\nfor (const anchor of anchors) {\n const perms = links[anchor];\n if (!perms || perms.read !== true) {\n issues.push(`links['${anchor}'].read must be true`);\n }\n const hasSingle = Array.isArray(perms.singleOps) && perms.singleOps.length > 0;\n if (hasSingle && perms.singleOps.some(x => typeof x !== \"string\" || x.trim().length === 0)) {\n issues.push(`links['${anchor}'].singleOps must contain only non-empty strings`);\n }\n if (perms.allOps === true && hasSingle) {\n issues.push(`links['${anchor}'].allOps=true and singleOps are mutually exclusive`);\n }\n}\n\nif (issues.length > 0) return { events: [ { type: \"MyOS/Linked Documents Permission Invalid\", issues } ] };\nreturn { events: [ { type: \"MyOS/Linked Documents Permission Validated\" } ] };\n";
1599
- };
1600
- readonly name: "ValidateBasicShape";
1601
- readonly type: {
1602
- readonly blueId: "ExZxT61PSpWHpEAtP2WKMXXqxEYN7Z13j7Zv36Dp99kS";
1603
- };
1604
- }];
1605
- };
1369
+ readonly description: "How to identify the new user.";
1370
+ readonly email: {
1606
1371
  readonly type: {
1607
- readonly blueId: "7X3LkN54Yp88JgZbppPhP6hM3Jqiqv8Z2i4kS7phXtQe";
1372
+ readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
1608
1373
  };
1609
1374
  };
1610
1375
  };
1611
- readonly granterDocumentSessionId: {
1612
- readonly description: "Optional. If set, MyOS should evaluate authority as this document session\n(principalType='document', granteeId=documentId of this session),\ninstead of the granter accountId.\n";
1376
+ readonly type: {
1377
+ readonly blueId: "8f9UhHMbRe62sFgzQVheToaJPYi7t7HPNVvpQTbqfL5n";
1378
+ };
1379
+ };
1380
+ readonly '9CvxqAMJhqcFoLr5nXSEdWDZUMD383xhJtyFwXsCqD9E': {
1381
+ readonly description: "Snapshot captured from a target session epoch emission.";
1382
+ readonly document: {
1383
+ readonly description: "Document state after the emission.";
1384
+ };
1385
+ readonly epoch: {
1386
+ readonly description: "Epoch number.";
1387
+ readonly type: {
1388
+ readonly blueId: "5WNMiV9Knz63B4dVY5JtMyh3FB4FSGqv7ceScvuapdE1";
1389
+ };
1390
+ };
1391
+ readonly name: "Session Epoch Advanced";
1392
+ readonly sessionId: {
1393
+ readonly description: "Session whose state advanced.";
1394
+ readonly type: {
1395
+ readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
1396
+ };
1397
+ };
1398
+ readonly timestamp: {
1399
+ readonly description: "ISO 8601 timestamp for the emission.";
1400
+ readonly type: {
1401
+ readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
1402
+ };
1403
+ };
1404
+ readonly type: {
1405
+ readonly blueId: "5Wz4G9qcnBJnntYRkz4dgLK5bSuoMpYJZj4j5M59z4we";
1406
+ };
1407
+ };
1408
+ readonly '9iEADVdqxqgacF3GAZVMFZu4m5ywuNpsGzButLUNkPWo': {
1409
+ readonly name: "Bootstrap Failed";
1410
+ readonly reason: {
1613
1411
  readonly type: {
1614
1412
  readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
1615
1413
  };
1616
1414
  };
1415
+ };
1416
+ readonly '9J18sDqoJX8KKutFwuzxeSdXiGuRbJB2yCfADGSKax6h': {
1417
+ readonly description: "All rights from this LDPG have been revoked.";
1617
1418
  readonly links: {
1618
- readonly description: "Map from anchor name to permissions that will be granted for documents linked to the base document via that anchor.";
1619
1419
  readonly type: {
1620
1420
  readonly blueId: "75TXyy5E7vbexVAUZcjZ2vdQaG7fJJbAHAgrh8sMtTp5";
1621
1421
  };
1622
1422
  };
1623
- readonly name: "Linked Documents Permission Grant To Account";
1423
+ readonly name: "Linked Documents Permission Revoked";
1424
+ readonly reason: {
1425
+ readonly type: {
1426
+ readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
1427
+ };
1428
+ };
1624
1429
  readonly targetSessionId: {
1625
- readonly description: "Base document session id whose anchors define the scope of this grant.";
1626
1430
  readonly type: {
1627
1431
  readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
1628
1432
  };
1629
1433
  };
1630
1434
  readonly type: {
1631
- readonly blueId: "Bu4YETSKYW8hHMwVy6zUUoBAGZPxX3KVXfKN9uoCUoJj";
1435
+ readonly blueId: "36epvrpVHZLjapbeZsNodz2NDnm7XZeNZcnkWHgkP1pp";
1632
1436
  };
1633
1437
  };
1634
1438
  readonly AG6fiGy88gX5eKoUcHS2BV17EfMssiYZj99kx9RcpKEX: {
@@ -1683,23 +1487,6 @@ declare const _default: {
1683
1487
  readonly blueId: "D2ERUvbpn6R6PR7hjFsGofwQsu9bkRfc6wbSYHcfJtMD";
1684
1488
  };
1685
1489
  };
1686
- readonly BM9qSFkhY9CV4BwHFP6DrrB9VbFZhTfwxCeS8Kh96o5N: {
1687
- readonly description: "All initial rights from this LDPG have been persisted.";
1688
- readonly links: {
1689
- readonly type: {
1690
- readonly blueId: "75TXyy5E7vbexVAUZcjZ2vdQaG7fJJbAHAgrh8sMtTp5";
1691
- };
1692
- };
1693
- readonly name: "Linked Documents Permission Granted";
1694
- readonly targetSessionId: {
1695
- readonly type: {
1696
- readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
1697
- };
1698
- };
1699
- readonly type: {
1700
- readonly blueId: "36epvrpVHZLjapbeZsNodz2NDnm7XZeNZcnkWHgkP1pp";
1701
- };
1702
- };
1703
1490
  readonly BnrAcFrEHzoARE2yqKmRv7jrPWCbJsVBqSoXwWCaTtrk: {
1704
1491
  readonly description: "Document asks MyOS Admin to mediate a subscription to a target session it can READ.";
1705
1492
  readonly name: "Subscribe to Session Requested";
@@ -1793,6 +1580,29 @@ declare const _default: {
1793
1580
  readonly description: "Document base for MyOS Admin participant";
1794
1581
  readonly name: "MyOS Admin Base";
1795
1582
  };
1583
+ readonly BZPjcZmkuJpVFDYAZMexdG68KKFhgabnieBdG6DpHexR: {
1584
+ readonly description: "DB rows written; rights are effective.";
1585
+ readonly grantDocumentId: {
1586
+ readonly description: "Optional. Stable handle of the created permission grant document. Required in request/response document-grant flows that later support self-revoke from the grantee document.";
1587
+ readonly type: {
1588
+ readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
1589
+ };
1590
+ };
1591
+ readonly name: "Single Document Permission Granted";
1592
+ readonly permissions: {
1593
+ readonly type: {
1594
+ readonly blueId: "DRDQcve5AjwBK9z6Njfa4MNERko7Uf4ucvARFdC6sL54";
1595
+ };
1596
+ };
1597
+ readonly targetSessionId: {
1598
+ readonly type: {
1599
+ readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
1600
+ };
1601
+ };
1602
+ readonly type: {
1603
+ readonly blueId: "36epvrpVHZLjapbeZsNodz2NDnm7XZeNZcnkWHgkP1pp";
1604
+ };
1605
+ };
1796
1606
  readonly CeWyRmXAMZqvWBvby2KbRUZWcS7Pdxs42vnMXgn9gg6H: {
1797
1607
  readonly name: "MyOS Session Interaction";
1798
1608
  };
@@ -1994,16 +1804,126 @@ declare const _default: {
1994
1804
  };
1995
1805
  };
1996
1806
  };
1997
- readonly E4R5PmrxAtCHsQtUKtwxMjXgE5qNJWuuziArDMATudfb: {
1998
- readonly description: "Emitted by revoke operation";
1999
- readonly name: "Single Document Permission Revoke Requested";
2000
- readonly reason: {
1807
+ readonly DVuSpdSQzjj36rN9Eemu7oReooPe1YaqARx7aanQDppy: {
1808
+ readonly contracts: {
1809
+ readonly granterChannel: {
1810
+ readonly description: "Granter/owner’s timeline (direct grant-document revoke lives here).";
1811
+ readonly type: {
1812
+ readonly blueId: "HCF8mXnX3dFjQ8osjxb4Wzm2Nm1DoXnTYuA5sPnV7NTs";
1813
+ };
1814
+ };
1815
+ readonly initLifecycleChannel: {
1816
+ readonly event: {
1817
+ readonly type: {
1818
+ readonly blueId: "BrpmpNt5JkapeUvPqYcxgXZrHNZX3R757dRwuXXdfNM2";
1819
+ };
1820
+ };
1821
+ readonly type: {
1822
+ readonly blueId: "H2aCCTUcLMTJozWkn7HPUjyFBFxamraw1q8DyWk87zxr";
1823
+ };
1824
+ };
1825
+ readonly revoke: {
1826
+ readonly channel: {
1827
+ readonly type: {
1828
+ readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
1829
+ };
1830
+ readonly value: "granterChannel";
1831
+ };
1832
+ readonly description: "Granter requests revocation on the grant document. Grantee-document self-revoke uses the existing revoke-request event with grantDocumentId emitted from the grantee document itself.";
1833
+ readonly request: {
1834
+ readonly description: "Optional human-readable reason";
1835
+ readonly type: {
1836
+ readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
1837
+ };
1838
+ };
1839
+ readonly type: {
1840
+ readonly blueId: "BoAiqVUZv9Fum3wFqaX2JnQMBHJLxJSo2V9U2UBmCfsC";
1841
+ };
1842
+ };
1843
+ readonly revokeImplGranter: {
1844
+ readonly operation: {
1845
+ readonly type: {
1846
+ readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
1847
+ };
1848
+ readonly value: "revoke";
1849
+ };
1850
+ readonly steps: {
1851
+ readonly items: readonly [{
1852
+ readonly code: {
1853
+ readonly type: {
1854
+ readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
1855
+ };
1856
+ readonly value: "return {\n events: [\n {\n type: \"MyOS/Linked Documents Permission Revoke Requested\",\n reason: event.message.request\n }\n ]\n};\n";
1857
+ };
1858
+ readonly name: "EmitRevokeRequested";
1859
+ readonly type: {
1860
+ readonly blueId: "ExZxT61PSpWHpEAtP2WKMXXqxEYN7Z13j7Zv36Dp99kS";
1861
+ };
1862
+ }];
1863
+ };
1864
+ readonly type: {
1865
+ readonly blueId: "CGdxkNjPcsdescqLPz6SNLsMyak6demQQr7RoKNHbCyv";
1866
+ };
1867
+ };
1868
+ readonly validateOnInit: {
1869
+ readonly channel: {
1870
+ readonly type: {
1871
+ readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
1872
+ };
1873
+ readonly value: "initLifecycleChannel";
1874
+ };
1875
+ readonly steps: {
1876
+ readonly items: readonly [{
1877
+ readonly code: {
1878
+ readonly type: {
1879
+ readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
1880
+ };
1881
+ readonly value: "const skipValidation = document('/skipValidation');\nif (skipValidation === true) return { events: [] };\n\nconst issues = [];\n\nconst target = document('/targetSessionId');\nif (!target || typeof target !== 'string') issues.push(\"targetSessionId is missing or invalid\");\n\nconst granterId = document('/contracts/granterChannel/accountId');\nif (typeof granterId !== 'string' || granterId.length === 0) issues.push(\"granterChannel must be bound to an accountId\");\n\nconst gdoc = document('/granteeDocumentId');\nif (typeof gdoc !== 'string' || gdoc.trim().length === 0) issues.push(\"granteeDocumentId must be a non-empty string\");\n\nconst links = document('/links');\nif (!links || typeof links !== 'object') issues.push(\"links is missing or invalid\");\n\nconst anchors = Object.keys(links).filter(key => !['description', 'type', 'keyType', 'valueType'].includes(key));\nif (anchors.length === 0) {\n issues.push(\"links must have at least one anchor entry\");\n}\nfor (const anchor of anchors) {\n const perms = links[anchor];\n if (!perms || perms.read !== true) {\n issues.push(`links['${anchor}'].read must be true`);\n }\n const hasSingle = Array.isArray(perms.singleOps) && perms.singleOps.length > 0;\n if (hasSingle && perms.singleOps.some(x => typeof x !== \"string\" || x.trim().length === 0)) {\n issues.push(`links['${anchor}'].singleOps must contain only non-empty strings`);\n }\n if (perms.allOps === true && hasSingle) {\n issues.push(`links['${anchor}'].allOps=true and singleOps are mutually exclusive`);\n }\n}\n\nif (issues.length > 0) return { events: [ { type: \"MyOS/Linked Documents Permission Invalid\", issues } ] };\nreturn { events: [ { type: \"MyOS/Linked Documents Permission Validated\" } ] };\n";
1882
+ };
1883
+ readonly name: "ValidateBasicShape";
1884
+ readonly type: {
1885
+ readonly blueId: "ExZxT61PSpWHpEAtP2WKMXXqxEYN7Z13j7Zv36Dp99kS";
1886
+ };
1887
+ }];
1888
+ };
1889
+ readonly type: {
1890
+ readonly blueId: "7X3LkN54Yp88JgZbppPhP6hM3Jqiqv8Z2i4kS7phXtQe";
1891
+ };
1892
+ };
1893
+ };
1894
+ readonly granteeDocumentId: {
1895
+ readonly description: "Required original document id (blueId) that will act as the 'document' principal.";
1896
+ readonly type: {
1897
+ readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
1898
+ };
1899
+ };
1900
+ readonly granterDocumentSessionId: {
1901
+ readonly description: "Optional. If set, MyOS should evaluate authority as this document session\n(principalType='document', granteeId=documentId of this session),\ninstead of the granter accountId.\n";
1902
+ readonly type: {
1903
+ readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
1904
+ };
1905
+ };
1906
+ readonly links: {
1907
+ readonly description: "Map from anchor name to permissions that will be granted for documents linked to the base document via that anchor.";
1908
+ readonly type: {
1909
+ readonly blueId: "75TXyy5E7vbexVAUZcjZ2vdQaG7fJJbAHAgrh8sMtTp5";
1910
+ };
1911
+ };
1912
+ readonly name: "Linked Documents Permission Grant To Document";
1913
+ readonly skipValidation: {
1914
+ readonly description: "If true, the validation will be skipped (MyOS Admin won't be triggered to create permission grant).";
1915
+ readonly type: {
1916
+ readonly blueId: "4EzhSubEimSQD3zrYHRtobfPPWntUuhEz8YcdxHsi12u";
1917
+ };
1918
+ };
1919
+ readonly targetSessionId: {
1920
+ readonly description: "Base document session id whose anchors define the scope of this grant.";
2001
1921
  readonly type: {
2002
1922
  readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
2003
1923
  };
2004
1924
  };
2005
1925
  readonly type: {
2006
- readonly blueId: "8f9UhHMbRe62sFgzQVheToaJPYi7t7HPNVvpQTbqfL5n";
1926
+ readonly blueId: "Bu4YETSKYW8hHMwVy6zUUoBAGZPxX3KVXfKN9uoCUoJj";
2007
1927
  };
2008
1928
  };
2009
1929
  readonly Ef7EvcR5He11JtgBFtswYTHEfUKnTHmFysMTo3ZsoQby: {
@@ -2127,16 +2047,41 @@ declare const _default: {
2127
2047
  readonly blueId: "EzDiC9Frs8V5yQBMtDYh1DobVnWtWpFemXDX5fGUULBn";
2128
2048
  };
2129
2049
  };
2130
- readonly FZLsSeuoLTki2FpqYTr5nmqnAtKgTnmi18qNaTnRGBs6: {
2050
+ readonly G1cW5kjZdJrmCwfrwiHXQcJfYfFAY5jEFZNA7u7pFdtY: {
2051
+ readonly allowedWorkerAgencyPermissions: {
2052
+ readonly itemType: {
2053
+ readonly blueId: "5J3RXNnALK1ZYAQBrjGwCQ4WpL3YUGHvz9WcGos6mMSp";
2054
+ };
2055
+ readonly type: {
2056
+ readonly blueId: "6aehfNAxHLC1PHHoDr3tYtFH3RWNbiWdFancJ1bypXEY";
2057
+ };
2058
+ };
2059
+ readonly description: "Grant could not be applied.";
2060
+ readonly granteeDocumentId: {
2061
+ readonly type: {
2062
+ readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
2063
+ };
2064
+ };
2065
+ readonly name: "Worker Agency Permission Rejected";
2066
+ readonly reason: {
2067
+ readonly type: {
2068
+ readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
2069
+ };
2070
+ };
2071
+ readonly type: {
2072
+ readonly blueId: "36epvrpVHZLjapbeZsNodz2NDnm7XZeNZcnkWHgkP1pp";
2073
+ };
2074
+ };
2075
+ readonly G5K5cSdn15yLJa6NBmjLuuZzJ5YShSU14kc4vitHpeHz: {
2131
2076
  readonly contracts: {
2132
2077
  readonly granteeChannel: {
2133
- readonly description: "Grantee’s timeline (recipient of the rights)";
2078
+ readonly description: "Grantee’s timeline";
2134
2079
  readonly type: {
2135
2080
  readonly blueId: "HCF8mXnX3dFjQ8osjxb4Wzm2Nm1DoXnTYuA5sPnV7NTs";
2136
2081
  };
2137
2082
  };
2138
2083
  readonly granterChannel: {
2139
- readonly description: "Granter/owner’s timeline (actor allowed to request revoke)";
2084
+ readonly description: "Granter/owner’s timeline";
2140
2085
  readonly type: {
2141
2086
  readonly blueId: "HCF8mXnX3dFjQ8osjxb4Wzm2Nm1DoXnTYuA5sPnV7NTs";
2142
2087
  };
@@ -2156,9 +2101,9 @@ declare const _default: {
2156
2101
  readonly type: {
2157
2102
  readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
2158
2103
  };
2159
- readonly value: "granterChannel";
2104
+ readonly value: "revokeAccessChannel";
2160
2105
  };
2161
- readonly description: "Granter or grantee indicates the grant should be revoked (MyOS Admin will handle)";
2106
+ readonly description: "Granter or grantee indicates the grant should be revoked (MyOS Admin will handle).";
2162
2107
  readonly request: {
2163
2108
  readonly description: "Optional human-readable reason";
2164
2109
  readonly type: {
@@ -2169,7 +2114,26 @@ declare const _default: {
2169
2114
  readonly blueId: "BoAiqVUZv9Fum3wFqaX2JnQMBHJLxJSo2V9U2UBmCfsC";
2170
2115
  };
2171
2116
  };
2172
- readonly revokeImplGranter: {
2117
+ readonly revokeAccessChannel: {
2118
+ readonly channels: {
2119
+ readonly items: readonly [{
2120
+ readonly type: {
2121
+ readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
2122
+ };
2123
+ readonly value: "granterChannel";
2124
+ }, {
2125
+ readonly type: {
2126
+ readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
2127
+ };
2128
+ readonly value: "granteeChannel";
2129
+ }];
2130
+ };
2131
+ readonly description: "Either grant side can invoke revoke on this grant document.";
2132
+ readonly type: {
2133
+ readonly blueId: "HsNatiPt2YvmkWQoqtfrFCbdp75ZUBLBUkWeq84WTfnr";
2134
+ };
2135
+ };
2136
+ readonly revokeImpl: {
2173
2137
  readonly operation: {
2174
2138
  readonly type: {
2175
2139
  readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
@@ -2182,7 +2146,7 @@ declare const _default: {
2182
2146
  readonly type: {
2183
2147
  readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
2184
2148
  };
2185
- readonly value: "return {\n events: [\n {\n type: \"MyOS/Single Document Permission Revoke Requested\",\n reason: event.message.request\n }\n ]\n};\n";
2149
+ readonly value: "return {\n events: [\n {\n type: \"MyOS/Linked Documents Permission Revoke Requested\",\n reason: event.message.request\n }\n ]\n};\n";
2186
2150
  };
2187
2151
  readonly name: "EmitRevokeRequested";
2188
2152
  readonly type: {
@@ -2207,7 +2171,7 @@ declare const _default: {
2207
2171
  readonly type: {
2208
2172
  readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
2209
2173
  };
2210
- readonly value: "const issues = [];\n\n// Required: target session\nconst target = document('/targetSessionId');\nif (!target || typeof target !== 'string') issues.push(\"targetSessionId is missing or invalid\");\n\n// Required: bound identities\nconst granterId = document('/contracts/granterChannel/accountId');\nif (typeof granterId !== 'string' || granterId.length === 0) issues.push(\"granterChannel must be bound to an accountId\");\nconst granteeId = document('/contracts/granteeChannel/accountId');\nif (typeof granteeId !== 'string' || granteeId.length === 0) issues.push(\"granteeChannel must be bound to an accountId\");\n\n// Permissions\nconst perms = document('/permissions');\nif (!perms || typeof perms !== 'object') {\n issues.push(\"permissions block is missing\");\n} else {\n if (perms.read !== true) issues.push(\"permissions.read must be true for SDPG\");\n const hasSingle = Array.isArray(perms?.singleOps) && perms.singleOps.length > 0;\n if (hasSingle) {\n if (perms.singleOps.some(x => typeof x !== 'string' || x.trim().length === 0)) {\n issues.push(\"permissions.singleOps must contain only non-empty strings\");\n }\n }\n if (perms.allOps === true && hasSingle) {\n issues.push(\"permissions.allOps=true and permissions.singleOps are mutually exclusive\");\n }\n}\n\nif (issues.length > 0) return { events: [ { type: \"MyOS/Single Document Permission Invalid\", issues } ] };\nreturn { events: [ { type: \"MyOS/Single Document Permission Validated\" } ] };\n";
2174
+ readonly value: "const issues = [];\n\nconst target = document('/targetSessionId');\nif (!target || typeof target !== 'string') issues.push(\"targetSessionId is missing or invalid\");\n\nconst granterId = document('/contracts/granterChannel/accountId');\nif (typeof granterId !== 'string' || granterId.length === 0) issues.push(\"granterChannel must be bound to an accountId\");\nconst granteeId = document('/contracts/granteeChannel/accountId');\nif (typeof granteeId !== 'string' || granteeId.length === 0) issues.push(\"granteeChannel must be bound to an accountId\");\n\nconst links = document('/links');\nif (!links || typeof links !== 'object') issues.push(\"links is missing or invalid\");\n\nconst anchors = Object.keys(links).filter(key => !['description', 'type', 'keyType', 'valueType'].includes(key));\nif (anchors.length === 0) {\n issues.push(\"links must have at least one anchor entry\");\n}\nfor (const anchor of anchors) {\n const perms = links[anchor];\n if (!perms || perms.read !== true) {\n issues.push(`links['${anchor}'].read must be true`);\n }\n const hasSingle = Array.isArray(perms.singleOps) && perms.singleOps.length > 0;\n if (hasSingle && perms.singleOps.some(x => typeof x !== \"string\" || x.trim().length === 0)) {\n issues.push(`links['${anchor}'].singleOps must contain only non-empty strings`);\n }\n if (perms.allOps === true && hasSingle) {\n issues.push(`links['${anchor}'].allOps=true and singleOps are mutually exclusive`);\n }\n}\n\nif (issues.length > 0) return { events: [ { type: \"MyOS/Linked Documents Permission Invalid\", issues } ] };\nreturn { events: [ { type: \"MyOS/Linked Documents Permission Validated\" } ] };\n";
2211
2175
  };
2212
2176
  readonly name: "ValidateBasicShape";
2213
2177
  readonly type: {
@@ -2221,20 +2185,20 @@ declare const _default: {
2221
2185
  };
2222
2186
  };
2223
2187
  readonly granterDocumentSessionId: {
2224
- readonly description: "Optional. If set, MyOS should evaluate authority using this document session as the principal (instead of granter accountId).";
2188
+ readonly description: "Optional. If set, MyOS should evaluate authority as this document session\n(principalType='document', granteeId=documentId of this session),\ninstead of the granter accountId.\n";
2225
2189
  readonly type: {
2226
2190
  readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
2227
2191
  };
2228
2192
  };
2229
- readonly name: "Single Document Permission Grant To Account";
2230
- readonly permissions: {
2231
- readonly description: "Rights to grant on the target session (READ required; allOps and singleOps are mutually exclusive; singleOps is optional but must be non-empty if provided).";
2193
+ readonly links: {
2194
+ readonly description: "Map from anchor name to permissions that will be granted for documents linked to the base document via that anchor.";
2232
2195
  readonly type: {
2233
- readonly blueId: "DRDQcve5AjwBK9z6Njfa4MNERko7Uf4ucvARFdC6sL54";
2196
+ readonly blueId: "75TXyy5E7vbexVAUZcjZ2vdQaG7fJJbAHAgrh8sMtTp5";
2234
2197
  };
2235
2198
  };
2199
+ readonly name: "Linked Documents Permission Grant To Account";
2236
2200
  readonly targetSessionId: {
2237
- readonly description: "Target document session id to grant access to";
2201
+ readonly description: "Base document session id whose anchors define the scope of this grant.";
2238
2202
  readonly type: {
2239
2203
  readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
2240
2204
  };
@@ -2243,31 +2207,6 @@ declare const _default: {
2243
2207
  readonly blueId: "Bu4YETSKYW8hHMwVy6zUUoBAGZPxX3KVXfKN9uoCUoJj";
2244
2208
  };
2245
2209
  };
2246
- readonly G1cW5kjZdJrmCwfrwiHXQcJfYfFAY5jEFZNA7u7pFdtY: {
2247
- readonly allowedWorkerAgencyPermissions: {
2248
- readonly itemType: {
2249
- readonly blueId: "5J3RXNnALK1ZYAQBrjGwCQ4WpL3YUGHvz9WcGos6mMSp";
2250
- };
2251
- readonly type: {
2252
- readonly blueId: "6aehfNAxHLC1PHHoDr3tYtFH3RWNbiWdFancJ1bypXEY";
2253
- };
2254
- };
2255
- readonly description: "Grant could not be applied.";
2256
- readonly granteeDocumentId: {
2257
- readonly type: {
2258
- readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
2259
- };
2260
- };
2261
- readonly name: "Worker Agency Permission Rejected";
2262
- readonly reason: {
2263
- readonly type: {
2264
- readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
2265
- };
2266
- };
2267
- readonly type: {
2268
- readonly blueId: "36epvrpVHZLjapbeZsNodz2NDnm7XZeNZcnkWHgkP1pp";
2269
- };
2270
- };
2271
2210
  readonly GcotFgiqo3GMHp4xKrArDJi7AqciJGgYKvHodoAJwcWp: {
2272
2211
  readonly description: "Indicates MyOS Admin stopped forwarding updates for the subscription.";
2273
2212
  readonly name: "Subscription to Session Revoked";
@@ -2408,85 +2347,220 @@ declare const _default: {
2408
2347
  readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
2409
2348
  };
2410
2349
  };
2411
- readonly name: "Worker Agency Permission Granting in Progress";
2412
- readonly note: {
2350
+ readonly name: "Worker Agency Permission Granting in Progress";
2351
+ readonly note: {
2352
+ readonly type: {
2353
+ readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
2354
+ };
2355
+ };
2356
+ readonly type: {
2357
+ readonly blueId: "36epvrpVHZLjapbeZsNodz2NDnm7XZeNZcnkWHgkP1pp";
2358
+ };
2359
+ };
2360
+ readonly kHtVfa88aG4NMwCcBgJH9mq7EBqLQUrJVEr92porG5j: {
2361
+ readonly description: "Grant could not be applied.";
2362
+ readonly name: "Single Document Permission Rejected";
2363
+ readonly permissions: {
2364
+ readonly type: {
2365
+ readonly blueId: "DRDQcve5AjwBK9z6Njfa4MNERko7Uf4ucvARFdC6sL54";
2366
+ };
2367
+ };
2368
+ readonly reason: {
2369
+ readonly type: {
2370
+ readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
2371
+ };
2372
+ };
2373
+ readonly targetSessionId: {
2374
+ readonly type: {
2375
+ readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
2376
+ };
2377
+ };
2378
+ readonly type: {
2379
+ readonly blueId: "36epvrpVHZLjapbeZsNodz2NDnm7XZeNZcnkWHgkP1pp";
2380
+ };
2381
+ };
2382
+ readonly phD9k4YTUgGjWeLPKqXNNn6S1PmqSeBJfVscAnUwFhQ: {
2383
+ readonly accountId: {
2384
+ readonly type: {
2385
+ readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
2386
+ };
2387
+ };
2388
+ readonly email: {
2389
+ readonly type: {
2390
+ readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
2391
+ };
2392
+ };
2393
+ readonly name: "Participant";
2394
+ readonly status: {
2395
+ readonly description: "Participant activation status";
2396
+ readonly type: {
2397
+ readonly blueId: "CocmZUt2K7LuGukwuPSAFC7EFo5HZonozAm4tUsSmuFB";
2398
+ };
2399
+ };
2400
+ readonly timelineId: {
2401
+ readonly type: {
2402
+ readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
2403
+ };
2404
+ };
2405
+ };
2406
+ readonly S1gzGs6z9uy5inkcJu5wr6i5ESKDmZy9XhgLHMZKrdV: {
2407
+ readonly description: "Indicates MyOS Admin rejected the subscription request before activation.";
2408
+ readonly name: "Subscription to Session Failed";
2409
+ readonly reason: {
2410
+ readonly description: "Explanation why the subscription could not be established.";
2411
+ readonly type: {
2412
+ readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
2413
+ };
2414
+ };
2415
+ readonly subscriptionId: {
2416
+ readonly description: "The subscription id that failed.";
2417
+ readonly type: {
2418
+ readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
2419
+ };
2420
+ };
2421
+ readonly targetSessionId: {
2422
+ readonly description: "Session that was requested, if known.";
2423
+ readonly type: {
2424
+ readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
2425
+ };
2426
+ };
2427
+ readonly type: {
2428
+ readonly blueId: "36epvrpVHZLjapbeZsNodz2NDnm7XZeNZcnkWHgkP1pp";
2429
+ };
2430
+ };
2431
+ readonly y6JF5WHZjDq9PokMtHpqKhxbY7W6RQ41PBymPx7kjLz: {
2432
+ readonly contracts: {
2433
+ readonly granteeChannel: {
2434
+ readonly description: "Grantee’s timeline";
2435
+ readonly type: {
2436
+ readonly blueId: "HCF8mXnX3dFjQ8osjxb4Wzm2Nm1DoXnTYuA5sPnV7NTs";
2437
+ };
2438
+ };
2439
+ readonly granterChannel: {
2440
+ readonly description: "Granter/owner’s timeline";
2441
+ readonly type: {
2442
+ readonly blueId: "HCF8mXnX3dFjQ8osjxb4Wzm2Nm1DoXnTYuA5sPnV7NTs";
2443
+ };
2444
+ };
2445
+ readonly initLifecycleChannel: {
2446
+ readonly event: {
2447
+ readonly type: {
2448
+ readonly blueId: "BrpmpNt5JkapeUvPqYcxgXZrHNZX3R757dRwuXXdfNM2";
2449
+ };
2450
+ };
2451
+ readonly type: {
2452
+ readonly blueId: "H2aCCTUcLMTJozWkn7HPUjyFBFxamraw1q8DyWk87zxr";
2453
+ };
2454
+ };
2455
+ readonly revoke: {
2456
+ readonly channel: {
2457
+ readonly type: {
2458
+ readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
2459
+ };
2460
+ readonly value: "revokeAccessChannel";
2461
+ };
2462
+ readonly description: "Granter or grantee indicates the grant should be revoked (MyOS Admin will handle).";
2463
+ readonly request: {
2464
+ readonly description: "Optional human-readable reason";
2465
+ readonly type: {
2466
+ readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
2467
+ };
2468
+ };
2469
+ readonly type: {
2470
+ readonly blueId: "BoAiqVUZv9Fum3wFqaX2JnQMBHJLxJSo2V9U2UBmCfsC";
2471
+ };
2472
+ };
2473
+ readonly revokeAccessChannel: {
2474
+ readonly channels: {
2475
+ readonly items: readonly [{
2476
+ readonly type: {
2477
+ readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
2478
+ };
2479
+ readonly value: "granterChannel";
2480
+ }, {
2481
+ readonly type: {
2482
+ readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
2483
+ };
2484
+ readonly value: "granteeChannel";
2485
+ }];
2486
+ };
2487
+ readonly description: "Either grant side can invoke revoke on this grant document.";
2488
+ readonly type: {
2489
+ readonly blueId: "HsNatiPt2YvmkWQoqtfrFCbdp75ZUBLBUkWeq84WTfnr";
2490
+ };
2491
+ };
2492
+ readonly revokeImpl: {
2493
+ readonly operation: {
2494
+ readonly type: {
2495
+ readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
2496
+ };
2497
+ readonly value: "revoke";
2498
+ };
2499
+ readonly steps: {
2500
+ readonly items: readonly [{
2501
+ readonly code: {
2502
+ readonly type: {
2503
+ readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
2504
+ };
2505
+ readonly value: "return {\n events: [\n {\n type: \"MyOS/Single Document Permission Revoke Requested\",\n reason: event.message.request\n }\n ]\n};\n";
2506
+ };
2507
+ readonly name: "EmitRevokeRequested";
2508
+ readonly type: {
2509
+ readonly blueId: "ExZxT61PSpWHpEAtP2WKMXXqxEYN7Z13j7Zv36Dp99kS";
2510
+ };
2511
+ }];
2512
+ };
2513
+ readonly type: {
2514
+ readonly blueId: "CGdxkNjPcsdescqLPz6SNLsMyak6demQQr7RoKNHbCyv";
2515
+ };
2516
+ };
2517
+ readonly validateOnInit: {
2518
+ readonly channel: {
2519
+ readonly type: {
2520
+ readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
2521
+ };
2522
+ readonly value: "initLifecycleChannel";
2523
+ };
2524
+ readonly steps: {
2525
+ readonly items: readonly [{
2526
+ readonly code: {
2527
+ readonly type: {
2528
+ readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
2529
+ };
2530
+ readonly value: "const issues = [];\n\nconst target = document('/targetSessionId');\nif (!target || typeof target !== 'string') issues.push(\"targetSessionId is missing or invalid\");\n\nconst granterId = document('/contracts/granterChannel/accountId');\nif (typeof granterId !== 'string' || granterId.length === 0) issues.push(\"granterChannel must be bound to an accountId\");\nconst granteeId = document('/contracts/granteeChannel/accountId');\nif (typeof granteeId !== 'string' || granteeId.length === 0) issues.push(\"granteeChannel must be bound to an accountId\");\n\nconst perms = document('/permissions');\nif (!perms || typeof perms !== 'object') {\n issues.push(\"permissions block is missing\");\n} else {\n if (perms.read !== true) issues.push(\"permissions.read must be true for SDPG\");\n const hasSingle = Array.isArray(perms?.singleOps) && perms.singleOps.length > 0;\n if (hasSingle) {\n if (perms.singleOps.some(x => typeof x !== 'string' || x.trim().length === 0)) {\n issues.push(\"permissions.singleOps must contain only non-empty strings\");\n }\n }\n if (perms.allOps === true && hasSingle) {\n issues.push(\"permissions.allOps=true and permissions.singleOps are mutually exclusive\");\n }\n}\n\nif (issues.length > 0) return { events: [ { type: \"MyOS/Single Document Permission Invalid\", issues } ] };\nreturn { events: [ { type: \"MyOS/Single Document Permission Validated\" } ] };\n";
2531
+ };
2532
+ readonly name: "ValidateBasicShape";
2533
+ readonly type: {
2534
+ readonly blueId: "ExZxT61PSpWHpEAtP2WKMXXqxEYN7Z13j7Zv36Dp99kS";
2535
+ };
2536
+ }];
2537
+ };
2538
+ readonly type: {
2539
+ readonly blueId: "7X3LkN54Yp88JgZbppPhP6hM3Jqiqv8Z2i4kS7phXtQe";
2540
+ };
2541
+ };
2542
+ };
2543
+ readonly granterDocumentSessionId: {
2544
+ readonly description: "Optional. If set, MyOS should evaluate authority using this document session as the principal (instead of granter accountId).";
2413
2545
  readonly type: {
2414
2546
  readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
2415
2547
  };
2416
2548
  };
2417
- readonly type: {
2418
- readonly blueId: "36epvrpVHZLjapbeZsNodz2NDnm7XZeNZcnkWHgkP1pp";
2419
- };
2420
- };
2421
- readonly kHtVfa88aG4NMwCcBgJH9mq7EBqLQUrJVEr92porG5j: {
2422
- readonly description: "Grant could not be applied.";
2423
- readonly name: "Single Document Permission Rejected";
2549
+ readonly name: "Single Document Permission Grant To Account";
2424
2550
  readonly permissions: {
2551
+ readonly description: "Rights to grant on the target session (READ required; allOps and singleOps are mutually exclusive; singleOps is optional but must be non-empty if provided).";
2425
2552
  readonly type: {
2426
2553
  readonly blueId: "DRDQcve5AjwBK9z6Njfa4MNERko7Uf4ucvARFdC6sL54";
2427
2554
  };
2428
2555
  };
2429
- readonly reason: {
2430
- readonly type: {
2431
- readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
2432
- };
2433
- };
2434
- readonly targetSessionId: {
2435
- readonly type: {
2436
- readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
2437
- };
2438
- };
2439
- readonly type: {
2440
- readonly blueId: "36epvrpVHZLjapbeZsNodz2NDnm7XZeNZcnkWHgkP1pp";
2441
- };
2442
- };
2443
- readonly phD9k4YTUgGjWeLPKqXNNn6S1PmqSeBJfVscAnUwFhQ: {
2444
- readonly accountId: {
2445
- readonly type: {
2446
- readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
2447
- };
2448
- };
2449
- readonly email: {
2450
- readonly type: {
2451
- readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
2452
- };
2453
- };
2454
- readonly name: "Participant";
2455
- readonly status: {
2456
- readonly description: "Participant activation status";
2457
- readonly type: {
2458
- readonly blueId: "CocmZUt2K7LuGukwuPSAFC7EFo5HZonozAm4tUsSmuFB";
2459
- };
2460
- };
2461
- readonly timelineId: {
2462
- readonly type: {
2463
- readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
2464
- };
2465
- };
2466
- };
2467
- readonly S1gzGs6z9uy5inkcJu5wr6i5ESKDmZy9XhgLHMZKrdV: {
2468
- readonly description: "Indicates MyOS Admin rejected the subscription request before activation.";
2469
- readonly name: "Subscription to Session Failed";
2470
- readonly reason: {
2471
- readonly description: "Explanation why the subscription could not be established.";
2472
- readonly type: {
2473
- readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
2474
- };
2475
- };
2476
- readonly subscriptionId: {
2477
- readonly description: "The subscription id that failed.";
2478
- readonly type: {
2479
- readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
2480
- };
2481
- };
2482
2556
  readonly targetSessionId: {
2483
- readonly description: "Session that was requested, if known.";
2557
+ readonly description: "Target document session id to grant access to";
2484
2558
  readonly type: {
2485
2559
  readonly blueId: "DLRQwz7MQeCrzjy9bohPNwtCxKEBbKaMK65KBrwjfG6K";
2486
2560
  };
2487
2561
  };
2488
2562
  readonly type: {
2489
- readonly blueId: "36epvrpVHZLjapbeZsNodz2NDnm7XZeNZcnkWHgkP1pp";
2563
+ readonly blueId: "Bu4YETSKYW8hHMwVy6zUUoBAGZPxX3KVXfKN9uoCUoJj";
2490
2564
  };
2491
2565
  };
2492
2566
  };
@@ -4366,7 +4440,7 @@ declare const _default: {
4366
4440
  singleOps?: string[] | undefined;
4367
4441
  }>, "strip"> | undefined;
4368
4442
  }>;
4369
- readonly AFX9ct4gYywCbqPUJWaTz4JXS74RxxNPUMNzBMzNGD8c: import("zod").ZodObject<import("zod").objectUtil.extendShape<{
4443
+ readonly G5K5cSdn15yLJa6NBmjLuuZzJ5YShSU14kc4vitHpeHz: import("zod").ZodObject<import("zod").objectUtil.extendShape<{
4370
4444
  contracts: import("zod").ZodOptional<import("zod").ZodObject<{
4371
4445
  myOsAdminChannel: import("zod").ZodOptional<import("zod").ZodObject<import("zod").objectUtil.extendShape<import("zod").objectUtil.extendShape<import("zod").objectUtil.extendShape<{
4372
4446
  description: import("zod").ZodOptional<import("zod").ZodString>;
@@ -4654,7 +4728,32 @@ declare const _default: {
4654
4728
  channel?: string | undefined;
4655
4729
  request?: import("@blue-labs/language").BlueNode | undefined;
4656
4730
  }>>;
4657
- revokeImplGranter: import("zod").ZodOptional<import("zod").ZodObject<import("zod").objectUtil.extendShape<import("zod").objectUtil.extendShape<import("zod").objectUtil.extendShape<{
4731
+ revokeAccessChannel: import("zod").ZodOptional<import("zod").ZodObject<import("zod").objectUtil.extendShape<import("zod").objectUtil.extendShape<{
4732
+ description: import("zod").ZodOptional<import("zod").ZodString>;
4733
+ name: import("zod").ZodOptional<import("zod").ZodString>;
4734
+ order: import("zod").ZodOptional<import("zod").ZodNumber>;
4735
+ }, {
4736
+ description: import("zod").ZodOptional<import("zod").ZodString>;
4737
+ event: import("zod").ZodOptional<import("zod").ZodType<import("@blue-labs/language").BlueNode, import("zod").ZodTypeDef, import("@blue-labs/language").BlueNode>>;
4738
+ name: import("zod").ZodOptional<import("zod").ZodString>;
4739
+ }>, {
4740
+ channels: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>;
4741
+ description: import("zod").ZodOptional<import("zod").ZodString>;
4742
+ name: import("zod").ZodOptional<import("zod").ZodString>;
4743
+ }>, "strip", import("zod").ZodTypeAny, {
4744
+ description?: string | undefined;
4745
+ name?: string | undefined;
4746
+ order?: number | undefined;
4747
+ event?: import("@blue-labs/language").BlueNode | undefined;
4748
+ channels?: string[] | undefined;
4749
+ }, {
4750
+ description?: string | undefined;
4751
+ name?: string | undefined;
4752
+ order?: number | undefined;
4753
+ event?: import("@blue-labs/language").BlueNode | undefined;
4754
+ channels?: string[] | undefined;
4755
+ }>>;
4756
+ revokeImpl: import("zod").ZodOptional<import("zod").ZodObject<import("zod").objectUtil.extendShape<import("zod").objectUtil.extendShape<import("zod").objectUtil.extendShape<{
4658
4757
  description: import("zod").ZodOptional<import("zod").ZodString>;
4659
4758
  name: import("zod").ZodOptional<import("zod").ZodString>;
4660
4759
  order: import("zod").ZodOptional<import("zod").ZodNumber>;
@@ -4778,7 +4877,14 @@ declare const _default: {
4778
4877
  channel?: string | undefined;
4779
4878
  request?: import("@blue-labs/language").BlueNode | undefined;
4780
4879
  } | undefined;
4781
- revokeImplGranter?: {
4880
+ revokeAccessChannel?: {
4881
+ description?: string | undefined;
4882
+ name?: string | undefined;
4883
+ order?: number | undefined;
4884
+ event?: import("@blue-labs/language").BlueNode | undefined;
4885
+ channels?: string[] | undefined;
4886
+ } | undefined;
4887
+ revokeImpl?: {
4782
4888
  description?: string | undefined;
4783
4889
  name?: string | undefined;
4784
4890
  order?: number | undefined;
@@ -4833,7 +4939,14 @@ declare const _default: {
4833
4939
  channel?: string | undefined;
4834
4940
  request?: import("@blue-labs/language").BlueNode | undefined;
4835
4941
  } | undefined;
4836
- revokeImplGranter?: {
4942
+ revokeAccessChannel?: {
4943
+ description?: string | undefined;
4944
+ name?: string | undefined;
4945
+ order?: number | undefined;
4946
+ event?: import("@blue-labs/language").BlueNode | undefined;
4947
+ channels?: string[] | undefined;
4948
+ } | undefined;
4949
+ revokeImpl?: {
4837
4950
  description?: string | undefined;
4838
4951
  name?: string | undefined;
4839
4952
  order?: number | undefined;
@@ -4959,7 +5072,14 @@ declare const _default: {
4959
5072
  channel?: string | undefined;
4960
5073
  request?: import("@blue-labs/language").BlueNode | undefined;
4961
5074
  } | undefined;
4962
- revokeImplGranter?: {
5075
+ revokeAccessChannel?: {
5076
+ description?: string | undefined;
5077
+ name?: string | undefined;
5078
+ order?: number | undefined;
5079
+ event?: import("@blue-labs/language").BlueNode | undefined;
5080
+ channels?: string[] | undefined;
5081
+ } | undefined;
5082
+ revokeImpl?: {
4963
5083
  description?: string | undefined;
4964
5084
  name?: string | undefined;
4965
5085
  order?: number | undefined;
@@ -5042,7 +5162,14 @@ declare const _default: {
5042
5162
  channel?: string | undefined;
5043
5163
  request?: import("@blue-labs/language").BlueNode | undefined;
5044
5164
  } | undefined;
5045
- revokeImplGranter?: {
5165
+ revokeAccessChannel?: {
5166
+ description?: string | undefined;
5167
+ name?: string | undefined;
5168
+ order?: number | undefined;
5169
+ event?: import("@blue-labs/language").BlueNode | undefined;
5170
+ channels?: string[] | undefined;
5171
+ } | undefined;
5172
+ revokeImpl?: {
5046
5173
  description?: string | undefined;
5047
5174
  name?: string | undefined;
5048
5175
  order?: number | undefined;
@@ -5091,7 +5218,7 @@ declare const _default: {
5091
5218
  }>, "strip"> | undefined;
5092
5219
  granterDocumentSessionId?: string | undefined;
5093
5220
  }>;
5094
- readonly A2dveyQFp6dYJgigdRuZW3dsbdeiG2HzHnjaobAHJCvY: import("zod").ZodObject<import("zod").objectUtil.extendShape<{
5221
+ readonly DVuSpdSQzjj36rN9Eemu7oReooPe1YaqARx7aanQDppy: import("zod").ZodObject<import("zod").objectUtil.extendShape<{
5095
5222
  contracts: import("zod").ZodOptional<import("zod").ZodObject<{
5096
5223
  myOsAdminChannel: import("zod").ZodOptional<import("zod").ZodObject<import("zod").objectUtil.extendShape<import("zod").objectUtil.extendShape<import("zod").objectUtil.extendShape<{
5097
5224
  description: import("zod").ZodOptional<import("zod").ZodString>;
@@ -5460,7 +5587,7 @@ declare const _default: {
5460
5587
  channel?: string | undefined;
5461
5588
  request?: import("@blue-labs/language").BlueNode | undefined;
5462
5589
  } | undefined;
5463
- revokeImplGranter?: {
5590
+ validateOnInit?: {
5464
5591
  description?: string | undefined;
5465
5592
  name?: string | undefined;
5466
5593
  order?: number | undefined;
@@ -5470,9 +5597,8 @@ declare const _default: {
5470
5597
  description?: string | undefined;
5471
5598
  name?: string | undefined;
5472
5599
  }[] | undefined;
5473
- operation?: string | undefined;
5474
5600
  } | undefined;
5475
- validateOnInit?: {
5601
+ revokeImplGranter?: {
5476
5602
  description?: string | undefined;
5477
5603
  name?: string | undefined;
5478
5604
  order?: number | undefined;
@@ -5482,6 +5608,7 @@ declare const _default: {
5482
5608
  description?: string | undefined;
5483
5609
  name?: string | undefined;
5484
5610
  }[] | undefined;
5611
+ operation?: string | undefined;
5485
5612
  } | undefined;
5486
5613
  }, {
5487
5614
  initLifecycleChannel?: {
@@ -5506,7 +5633,7 @@ declare const _default: {
5506
5633
  channel?: string | undefined;
5507
5634
  request?: import("@blue-labs/language").BlueNode | undefined;
5508
5635
  } | undefined;
5509
- revokeImplGranter?: {
5636
+ validateOnInit?: {
5510
5637
  description?: string | undefined;
5511
5638
  name?: string | undefined;
5512
5639
  order?: number | undefined;
@@ -5516,9 +5643,8 @@ declare const _default: {
5516
5643
  description?: string | undefined;
5517
5644
  name?: string | undefined;
5518
5645
  }[] | undefined;
5519
- operation?: string | undefined;
5520
5646
  } | undefined;
5521
- validateOnInit?: {
5647
+ revokeImplGranter?: {
5522
5648
  description?: string | undefined;
5523
5649
  name?: string | undefined;
5524
5650
  order?: number | undefined;
@@ -5528,6 +5654,7 @@ declare const _default: {
5528
5654
  description?: string | undefined;
5529
5655
  name?: string | undefined;
5530
5656
  }[] | undefined;
5657
+ operation?: string | undefined;
5531
5658
  } | undefined;
5532
5659
  }>>;
5533
5660
  granteeDocumentId: import("zod").ZodOptional<import("zod").ZodString>;
@@ -5625,7 +5752,7 @@ declare const _default: {
5625
5752
  channel?: string | undefined;
5626
5753
  request?: import("@blue-labs/language").BlueNode | undefined;
5627
5754
  } | undefined;
5628
- revokeImplGranter?: {
5755
+ validateOnInit?: {
5629
5756
  description?: string | undefined;
5630
5757
  name?: string | undefined;
5631
5758
  order?: number | undefined;
@@ -5635,9 +5762,8 @@ declare const _default: {
5635
5762
  description?: string | undefined;
5636
5763
  name?: string | undefined;
5637
5764
  }[] | undefined;
5638
- operation?: string | undefined;
5639
5765
  } | undefined;
5640
- validateOnInit?: {
5766
+ revokeImplGranter?: {
5641
5767
  description?: string | undefined;
5642
5768
  name?: string | undefined;
5643
5769
  order?: number | undefined;
@@ -5647,6 +5773,7 @@ declare const _default: {
5647
5773
  description?: string | undefined;
5648
5774
  name?: string | undefined;
5649
5775
  }[] | undefined;
5776
+ operation?: string | undefined;
5650
5777
  } | undefined;
5651
5778
  } | undefined;
5652
5779
  targetSessionId?: string | undefined;
@@ -5701,7 +5828,7 @@ declare const _default: {
5701
5828
  channel?: string | undefined;
5702
5829
  request?: import("@blue-labs/language").BlueNode | undefined;
5703
5830
  } | undefined;
5704
- revokeImplGranter?: {
5831
+ validateOnInit?: {
5705
5832
  description?: string | undefined;
5706
5833
  name?: string | undefined;
5707
5834
  order?: number | undefined;
@@ -5711,9 +5838,8 @@ declare const _default: {
5711
5838
  description?: string | undefined;
5712
5839
  name?: string | undefined;
5713
5840
  }[] | undefined;
5714
- operation?: string | undefined;
5715
5841
  } | undefined;
5716
- validateOnInit?: {
5842
+ revokeImplGranter?: {
5717
5843
  description?: string | undefined;
5718
5844
  name?: string | undefined;
5719
5845
  order?: number | undefined;
@@ -5723,6 +5849,7 @@ declare const _default: {
5723
5849
  description?: string | undefined;
5724
5850
  name?: string | undefined;
5725
5851
  }[] | undefined;
5852
+ operation?: string | undefined;
5726
5853
  } | undefined;
5727
5854
  } | undefined;
5728
5855
  targetSessionId?: string | undefined;
@@ -5752,7 +5879,7 @@ declare const _default: {
5752
5879
  granteeDocumentId?: string | undefined;
5753
5880
  skipValidation?: boolean | undefined;
5754
5881
  }>;
5755
- readonly BM9qSFkhY9CV4BwHFP6DrrB9VbFZhTfwxCeS8Kh96o5N: import("zod").ZodObject<import("zod").objectUtil.extendShape<import("zod").objectUtil.extendShape<{
5882
+ readonly '6kUamSN8Yq4L46PRaKRVc2BnG6xN7HCpmyG2STW3hecZ': import("zod").ZodObject<import("zod").objectUtil.extendShape<import("zod").objectUtil.extendShape<{
5756
5883
  description: import("zod").ZodOptional<import("zod").ZodString>;
5757
5884
  name: import("zod").ZodOptional<import("zod").ZodString>;
5758
5885
  }, {
@@ -5761,6 +5888,7 @@ declare const _default: {
5761
5888
  name: import("zod").ZodOptional<import("zod").ZodString>;
5762
5889
  }>, {
5763
5890
  description: import("zod").ZodOptional<import("zod").ZodString>;
5891
+ grantDocumentId: import("zod").ZodOptional<import("zod").ZodString>;
5764
5892
  links: import("zod").ZodOptional<import("zod").ZodObject<{}, "strip", import("zod").ZodObject<{
5765
5893
  allOps: import("zod").ZodOptional<import("zod").ZodBoolean>;
5766
5894
  description: import("zod").ZodOptional<import("zod").ZodString>;
@@ -5854,6 +5982,7 @@ declare const _default: {
5854
5982
  share?: boolean | undefined;
5855
5983
  singleOps?: string[] | undefined;
5856
5984
  }>, "strip"> | undefined;
5985
+ grantDocumentId?: string | undefined;
5857
5986
  }, {
5858
5987
  description?: string | undefined;
5859
5988
  name?: string | undefined;
@@ -5881,6 +6010,7 @@ declare const _default: {
5881
6010
  share?: boolean | undefined;
5882
6011
  singleOps?: string[] | undefined;
5883
6012
  }>, "strip"> | undefined;
6013
+ grantDocumentId?: string | undefined;
5884
6014
  }>;
5885
6015
  readonly '8rdTEmuSkwgzj47Uc4tLdSk1wSd8NG5Q6vTFZt8hXbHK': import("zod").ZodObject<import("zod").objectUtil.extendShape<import("zod").objectUtil.extendShape<{
5886
6016
  description: import("zod").ZodOptional<import("zod").ZodString>;
@@ -6161,7 +6291,7 @@ declare const _default: {
6161
6291
  singleOps?: string[] | undefined;
6162
6292
  }>, "strip"> | undefined;
6163
6293
  }>;
6164
- readonly '6fTSbBwfj3zkin6EjGevF16QzokKa1xNXrDjdQwbDir7': import("zod").ZodObject<import("zod").objectUtil.extendShape<import("zod").objectUtil.extendShape<{
6294
+ readonly '4XzYndDA5v9yL5LYBq1Jk7ibA5x2ebN8vbSbEAoRrjaG': import("zod").ZodObject<import("zod").objectUtil.extendShape<import("zod").objectUtil.extendShape<{
6165
6295
  description: import("zod").ZodOptional<import("zod").ZodString>;
6166
6296
  name: import("zod").ZodOptional<import("zod").ZodString>;
6167
6297
  }, {
@@ -6170,6 +6300,7 @@ declare const _default: {
6170
6300
  requestId: import("zod").ZodOptional<import("zod").ZodString>;
6171
6301
  }>, {
6172
6302
  description: import("zod").ZodOptional<import("zod").ZodString>;
6303
+ grantDocumentId: import("zod").ZodOptional<import("zod").ZodString>;
6173
6304
  name: import("zod").ZodOptional<import("zod").ZodString>;
6174
6305
  reason: import("zod").ZodOptional<import("zod").ZodString>;
6175
6306
  }>, "strip", import("zod").ZodTypeAny, {
@@ -6177,11 +6308,13 @@ declare const _default: {
6177
6308
  name?: string | undefined;
6178
6309
  requestId?: string | undefined;
6179
6310
  reason?: string | undefined;
6311
+ grantDocumentId?: string | undefined;
6180
6312
  }, {
6181
6313
  description?: string | undefined;
6182
6314
  name?: string | undefined;
6183
6315
  requestId?: string | undefined;
6184
6316
  reason?: string | undefined;
6317
+ grantDocumentId?: string | undefined;
6185
6318
  }>;
6186
6319
  readonly '9J18sDqoJX8KKutFwuzxeSdXiGuRbJB2yCfADGSKax6h': import("zod").ZodObject<import("zod").objectUtil.extendShape<import("zod").objectUtil.extendShape<{
6187
6320
  description: import("zod").ZodOptional<import("zod").ZodString>;
@@ -7653,7 +7786,7 @@ declare const _default: {
7653
7786
  singleOps?: string[] | undefined;
7654
7787
  } | undefined;
7655
7788
  }>;
7656
- readonly FZLsSeuoLTki2FpqYTr5nmqnAtKgTnmi18qNaTnRGBs6: import("zod").ZodObject<import("zod").objectUtil.extendShape<{
7789
+ readonly y6JF5WHZjDq9PokMtHpqKhxbY7W6RQ41PBymPx7kjLz: import("zod").ZodObject<import("zod").objectUtil.extendShape<{
7657
7790
  contracts: import("zod").ZodOptional<import("zod").ZodObject<{
7658
7791
  myOsAdminChannel: import("zod").ZodOptional<import("zod").ZodObject<import("zod").objectUtil.extendShape<import("zod").objectUtil.extendShape<import("zod").objectUtil.extendShape<{
7659
7792
  description: import("zod").ZodOptional<import("zod").ZodString>;
@@ -7941,7 +8074,32 @@ declare const _default: {
7941
8074
  channel?: string | undefined;
7942
8075
  request?: import("@blue-labs/language").BlueNode | undefined;
7943
8076
  }>>;
7944
- revokeImplGranter: import("zod").ZodOptional<import("zod").ZodObject<import("zod").objectUtil.extendShape<import("zod").objectUtil.extendShape<import("zod").objectUtil.extendShape<{
8077
+ revokeAccessChannel: import("zod").ZodOptional<import("zod").ZodObject<import("zod").objectUtil.extendShape<import("zod").objectUtil.extendShape<{
8078
+ description: import("zod").ZodOptional<import("zod").ZodString>;
8079
+ name: import("zod").ZodOptional<import("zod").ZodString>;
8080
+ order: import("zod").ZodOptional<import("zod").ZodNumber>;
8081
+ }, {
8082
+ description: import("zod").ZodOptional<import("zod").ZodString>;
8083
+ event: import("zod").ZodOptional<import("zod").ZodType<import("@blue-labs/language").BlueNode, import("zod").ZodTypeDef, import("@blue-labs/language").BlueNode>>;
8084
+ name: import("zod").ZodOptional<import("zod").ZodString>;
8085
+ }>, {
8086
+ channels: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>;
8087
+ description: import("zod").ZodOptional<import("zod").ZodString>;
8088
+ name: import("zod").ZodOptional<import("zod").ZodString>;
8089
+ }>, "strip", import("zod").ZodTypeAny, {
8090
+ description?: string | undefined;
8091
+ name?: string | undefined;
8092
+ order?: number | undefined;
8093
+ event?: import("@blue-labs/language").BlueNode | undefined;
8094
+ channels?: string[] | undefined;
8095
+ }, {
8096
+ description?: string | undefined;
8097
+ name?: string | undefined;
8098
+ order?: number | undefined;
8099
+ event?: import("@blue-labs/language").BlueNode | undefined;
8100
+ channels?: string[] | undefined;
8101
+ }>>;
8102
+ revokeImpl: import("zod").ZodOptional<import("zod").ZodObject<import("zod").objectUtil.extendShape<import("zod").objectUtil.extendShape<import("zod").objectUtil.extendShape<{
7945
8103
  description: import("zod").ZodOptional<import("zod").ZodString>;
7946
8104
  name: import("zod").ZodOptional<import("zod").ZodString>;
7947
8105
  order: import("zod").ZodOptional<import("zod").ZodNumber>;
@@ -8065,7 +8223,14 @@ declare const _default: {
8065
8223
  channel?: string | undefined;
8066
8224
  request?: import("@blue-labs/language").BlueNode | undefined;
8067
8225
  } | undefined;
8068
- revokeImplGranter?: {
8226
+ revokeAccessChannel?: {
8227
+ description?: string | undefined;
8228
+ name?: string | undefined;
8229
+ order?: number | undefined;
8230
+ event?: import("@blue-labs/language").BlueNode | undefined;
8231
+ channels?: string[] | undefined;
8232
+ } | undefined;
8233
+ revokeImpl?: {
8069
8234
  description?: string | undefined;
8070
8235
  name?: string | undefined;
8071
8236
  order?: number | undefined;
@@ -8120,7 +8285,14 @@ declare const _default: {
8120
8285
  channel?: string | undefined;
8121
8286
  request?: import("@blue-labs/language").BlueNode | undefined;
8122
8287
  } | undefined;
8123
- revokeImplGranter?: {
8288
+ revokeAccessChannel?: {
8289
+ description?: string | undefined;
8290
+ name?: string | undefined;
8291
+ order?: number | undefined;
8292
+ event?: import("@blue-labs/language").BlueNode | undefined;
8293
+ channels?: string[] | undefined;
8294
+ } | undefined;
8295
+ revokeImpl?: {
8124
8296
  description?: string | undefined;
8125
8297
  name?: string | undefined;
8126
8298
  order?: number | undefined;
@@ -8204,7 +8376,14 @@ declare const _default: {
8204
8376
  channel?: string | undefined;
8205
8377
  request?: import("@blue-labs/language").BlueNode | undefined;
8206
8378
  } | undefined;
8207
- revokeImplGranter?: {
8379
+ revokeAccessChannel?: {
8380
+ description?: string | undefined;
8381
+ name?: string | undefined;
8382
+ order?: number | undefined;
8383
+ event?: import("@blue-labs/language").BlueNode | undefined;
8384
+ channels?: string[] | undefined;
8385
+ } | undefined;
8386
+ revokeImpl?: {
8208
8387
  description?: string | undefined;
8209
8388
  name?: string | undefined;
8210
8389
  order?: number | undefined;
@@ -8273,7 +8452,14 @@ declare const _default: {
8273
8452
  channel?: string | undefined;
8274
8453
  request?: import("@blue-labs/language").BlueNode | undefined;
8275
8454
  } | undefined;
8276
- revokeImplGranter?: {
8455
+ revokeAccessChannel?: {
8456
+ description?: string | undefined;
8457
+ name?: string | undefined;
8458
+ order?: number | undefined;
8459
+ event?: import("@blue-labs/language").BlueNode | undefined;
8460
+ channels?: string[] | undefined;
8461
+ } | undefined;
8462
+ revokeImpl?: {
8277
8463
  description?: string | undefined;
8278
8464
  name?: string | undefined;
8279
8465
  order?: number | undefined;
@@ -8308,7 +8494,7 @@ declare const _default: {
8308
8494
  singleOps?: string[] | undefined;
8309
8495
  } | undefined;
8310
8496
  }>;
8311
- readonly '6fEj6jD4eEVJwjH9Z2aQ9HsqdaCzbppfsYL2mFLx32YP': import("zod").ZodObject<import("zod").objectUtil.extendShape<{
8497
+ readonly '3SQR9pgQoY8rE9XhSmDDbKdHwe7ZZDaX4hPkYirhjYmD': import("zod").ZodObject<import("zod").objectUtil.extendShape<{
8312
8498
  contracts: import("zod").ZodOptional<import("zod").ZodObject<{
8313
8499
  myOsAdminChannel: import("zod").ZodOptional<import("zod").ZodObject<import("zod").objectUtil.extendShape<import("zod").objectUtil.extendShape<import("zod").objectUtil.extendShape<{
8314
8500
  description: import("zod").ZodOptional<import("zod").ZodString>;
@@ -8677,7 +8863,7 @@ declare const _default: {
8677
8863
  channel?: string | undefined;
8678
8864
  request?: import("@blue-labs/language").BlueNode | undefined;
8679
8865
  } | undefined;
8680
- revokeImplGranter?: {
8866
+ validateOnInit?: {
8681
8867
  description?: string | undefined;
8682
8868
  name?: string | undefined;
8683
8869
  order?: number | undefined;
@@ -8687,9 +8873,8 @@ declare const _default: {
8687
8873
  description?: string | undefined;
8688
8874
  name?: string | undefined;
8689
8875
  }[] | undefined;
8690
- operation?: string | undefined;
8691
8876
  } | undefined;
8692
- validateOnInit?: {
8877
+ revokeImplGranter?: {
8693
8878
  description?: string | undefined;
8694
8879
  name?: string | undefined;
8695
8880
  order?: number | undefined;
@@ -8699,6 +8884,7 @@ declare const _default: {
8699
8884
  description?: string | undefined;
8700
8885
  name?: string | undefined;
8701
8886
  }[] | undefined;
8887
+ operation?: string | undefined;
8702
8888
  } | undefined;
8703
8889
  }, {
8704
8890
  initLifecycleChannel?: {
@@ -8723,7 +8909,7 @@ declare const _default: {
8723
8909
  channel?: string | undefined;
8724
8910
  request?: import("@blue-labs/language").BlueNode | undefined;
8725
8911
  } | undefined;
8726
- revokeImplGranter?: {
8912
+ validateOnInit?: {
8727
8913
  description?: string | undefined;
8728
8914
  name?: string | undefined;
8729
8915
  order?: number | undefined;
@@ -8733,9 +8919,8 @@ declare const _default: {
8733
8919
  description?: string | undefined;
8734
8920
  name?: string | undefined;
8735
8921
  }[] | undefined;
8736
- operation?: string | undefined;
8737
8922
  } | undefined;
8738
- validateOnInit?: {
8923
+ revokeImplGranter?: {
8739
8924
  description?: string | undefined;
8740
8925
  name?: string | undefined;
8741
8926
  order?: number | undefined;
@@ -8745,6 +8930,7 @@ declare const _default: {
8745
8930
  description?: string | undefined;
8746
8931
  name?: string | undefined;
8747
8932
  }[] | undefined;
8933
+ operation?: string | undefined;
8748
8934
  } | undefined;
8749
8935
  }>>;
8750
8936
  granteeDocumentId: import("zod").ZodOptional<import("zod").ZodString>;
@@ -8800,7 +8986,7 @@ declare const _default: {
8800
8986
  channel?: string | undefined;
8801
8987
  request?: import("@blue-labs/language").BlueNode | undefined;
8802
8988
  } | undefined;
8803
- revokeImplGranter?: {
8989
+ validateOnInit?: {
8804
8990
  description?: string | undefined;
8805
8991
  name?: string | undefined;
8806
8992
  order?: number | undefined;
@@ -8810,9 +8996,8 @@ declare const _default: {
8810
8996
  description?: string | undefined;
8811
8997
  name?: string | undefined;
8812
8998
  }[] | undefined;
8813
- operation?: string | undefined;
8814
8999
  } | undefined;
8815
- validateOnInit?: {
9000
+ revokeImplGranter?: {
8816
9001
  description?: string | undefined;
8817
9002
  name?: string | undefined;
8818
9003
  order?: number | undefined;
@@ -8822,6 +9007,7 @@ declare const _default: {
8822
9007
  description?: string | undefined;
8823
9008
  name?: string | undefined;
8824
9009
  }[] | undefined;
9010
+ operation?: string | undefined;
8825
9011
  } | undefined;
8826
9012
  } | undefined;
8827
9013
  targetSessionId?: string | undefined;
@@ -8862,7 +9048,7 @@ declare const _default: {
8862
9048
  channel?: string | undefined;
8863
9049
  request?: import("@blue-labs/language").BlueNode | undefined;
8864
9050
  } | undefined;
8865
- revokeImplGranter?: {
9051
+ validateOnInit?: {
8866
9052
  description?: string | undefined;
8867
9053
  name?: string | undefined;
8868
9054
  order?: number | undefined;
@@ -8872,9 +9058,8 @@ declare const _default: {
8872
9058
  description?: string | undefined;
8873
9059
  name?: string | undefined;
8874
9060
  }[] | undefined;
8875
- operation?: string | undefined;
8876
9061
  } | undefined;
8877
- validateOnInit?: {
9062
+ revokeImplGranter?: {
8878
9063
  description?: string | undefined;
8879
9064
  name?: string | undefined;
8880
9065
  order?: number | undefined;
@@ -8884,6 +9069,7 @@ declare const _default: {
8884
9069
  description?: string | undefined;
8885
9070
  name?: string | undefined;
8886
9071
  }[] | undefined;
9072
+ operation?: string | undefined;
8887
9073
  } | undefined;
8888
9074
  } | undefined;
8889
9075
  targetSessionId?: string | undefined;
@@ -8899,7 +9085,7 @@ declare const _default: {
8899
9085
  singleOps?: string[] | undefined;
8900
9086
  } | undefined;
8901
9087
  }>;
8902
- readonly '8XYzJ3BrgB5uoAWU5HvZ7Gej9RXNG5r52ccneLZxMAQd': import("zod").ZodObject<import("zod").objectUtil.extendShape<import("zod").objectUtil.extendShape<{
9088
+ readonly BZPjcZmkuJpVFDYAZMexdG68KKFhgabnieBdG6DpHexR: import("zod").ZodObject<import("zod").objectUtil.extendShape<import("zod").objectUtil.extendShape<{
8903
9089
  description: import("zod").ZodOptional<import("zod").ZodString>;
8904
9090
  name: import("zod").ZodOptional<import("zod").ZodString>;
8905
9091
  }, {
@@ -8908,6 +9094,7 @@ declare const _default: {
8908
9094
  name: import("zod").ZodOptional<import("zod").ZodString>;
8909
9095
  }>, {
8910
9096
  description: import("zod").ZodOptional<import("zod").ZodString>;
9097
+ grantDocumentId: import("zod").ZodOptional<import("zod").ZodString>;
8911
9098
  name: import("zod").ZodOptional<import("zod").ZodString>;
8912
9099
  permissions: import("zod").ZodOptional<import("zod").ZodObject<{
8913
9100
  allOps: import("zod").ZodOptional<import("zod").ZodBoolean>;
@@ -8937,6 +9124,7 @@ declare const _default: {
8937
9124
  name?: string | undefined;
8938
9125
  inResponseTo?: import("@blue-labs/language").BlueNode | undefined;
8939
9126
  targetSessionId?: string | undefined;
9127
+ grantDocumentId?: string | undefined;
8940
9128
  permissions?: {
8941
9129
  description?: string | undefined;
8942
9130
  name?: string | undefined;
@@ -8950,6 +9138,7 @@ declare const _default: {
8950
9138
  name?: string | undefined;
8951
9139
  inResponseTo?: import("@blue-labs/language").BlueNode | undefined;
8952
9140
  targetSessionId?: string | undefined;
9141
+ grantDocumentId?: string | undefined;
8953
9142
  permissions?: {
8954
9143
  description?: string | undefined;
8955
9144
  name?: string | undefined;
@@ -9101,7 +9290,7 @@ declare const _default: {
9101
9290
  singleOps?: string[] | undefined;
9102
9291
  } | undefined;
9103
9292
  }>;
9104
- readonly E4R5PmrxAtCHsQtUKtwxMjXgE5qNJWuuziArDMATudfb: import("zod").ZodObject<import("zod").objectUtil.extendShape<import("zod").objectUtil.extendShape<{
9293
+ readonly '53Kbf5fymxzBCJgf5BdCYCjCb6o5nWS1KWCzL8GkBF42': import("zod").ZodObject<import("zod").objectUtil.extendShape<import("zod").objectUtil.extendShape<{
9105
9294
  description: import("zod").ZodOptional<import("zod").ZodString>;
9106
9295
  name: import("zod").ZodOptional<import("zod").ZodString>;
9107
9296
  }, {
@@ -9110,6 +9299,7 @@ declare const _default: {
9110
9299
  requestId: import("zod").ZodOptional<import("zod").ZodString>;
9111
9300
  }>, {
9112
9301
  description: import("zod").ZodOptional<import("zod").ZodString>;
9302
+ grantDocumentId: import("zod").ZodOptional<import("zod").ZodString>;
9113
9303
  name: import("zod").ZodOptional<import("zod").ZodString>;
9114
9304
  reason: import("zod").ZodOptional<import("zod").ZodString>;
9115
9305
  }>, "strip", import("zod").ZodTypeAny, {
@@ -9117,11 +9307,13 @@ declare const _default: {
9117
9307
  name?: string | undefined;
9118
9308
  requestId?: string | undefined;
9119
9309
  reason?: string | undefined;
9310
+ grantDocumentId?: string | undefined;
9120
9311
  }, {
9121
9312
  description?: string | undefined;
9122
9313
  name?: string | undefined;
9123
9314
  requestId?: string | undefined;
9124
9315
  reason?: string | undefined;
9316
+ grantDocumentId?: string | undefined;
9125
9317
  }>;
9126
9318
  readonly '29JSV8DwY6x3zfvAqiM7xNc96i46sKcunFYgfywBkF2f': import("zod").ZodObject<import("zod").objectUtil.extendShape<import("zod").objectUtil.extendShape<{
9127
9319
  description: import("zod").ZodOptional<import("zod").ZodString>;
@@ -9541,7 +9733,7 @@ declare const _default: {
9541
9733
  } | undefined;
9542
9734
  workerType?: import("@blue-labs/language").BlueNode | undefined;
9543
9735
  }>;
9544
- readonly A73AVDR9GWAshFUC2Me2qXNns2HECzbadtsgp5zxCjGx: import("zod").ZodObject<import("zod").objectUtil.extendShape<{
9736
+ readonly '2ARFPC2YDspfN86MT897RDzGUtEEw1B7Lbdvy8Z3ZFQx': import("zod").ZodObject<import("zod").objectUtil.extendShape<{
9545
9737
  contracts: import("zod").ZodOptional<import("zod").ZodObject<{
9546
9738
  myOsAdminChannel: import("zod").ZodOptional<import("zod").ZodObject<import("zod").objectUtil.extendShape<import("zod").objectUtil.extendShape<import("zod").objectUtil.extendShape<{
9547
9739
  description: import("zod").ZodOptional<import("zod").ZodString>;
@@ -9958,7 +10150,7 @@ declare const _default: {
9958
10150
  channel?: string | undefined;
9959
10151
  request?: import("@blue-labs/language").BlueNode | undefined;
9960
10152
  } | undefined;
9961
- revokeImplGranter?: {
10153
+ validateOnInit?: {
9962
10154
  description?: string | undefined;
9963
10155
  name?: string | undefined;
9964
10156
  order?: number | undefined;
@@ -9968,9 +10160,8 @@ declare const _default: {
9968
10160
  description?: string | undefined;
9969
10161
  name?: string | undefined;
9970
10162
  }[] | undefined;
9971
- operation?: string | undefined;
9972
10163
  } | undefined;
9973
- validateOnInit?: {
10164
+ revokeImplGranter?: {
9974
10165
  description?: string | undefined;
9975
10166
  name?: string | undefined;
9976
10167
  order?: number | undefined;
@@ -9980,6 +10171,7 @@ declare const _default: {
9980
10171
  description?: string | undefined;
9981
10172
  name?: string | undefined;
9982
10173
  }[] | undefined;
10174
+ operation?: string | undefined;
9983
10175
  } | undefined;
9984
10176
  }, {
9985
10177
  initLifecycleChannel?: {
@@ -10004,7 +10196,7 @@ declare const _default: {
10004
10196
  channel?: string | undefined;
10005
10197
  request?: import("@blue-labs/language").BlueNode | undefined;
10006
10198
  } | undefined;
10007
- revokeImplGranter?: {
10199
+ validateOnInit?: {
10008
10200
  description?: string | undefined;
10009
10201
  name?: string | undefined;
10010
10202
  order?: number | undefined;
@@ -10014,9 +10206,8 @@ declare const _default: {
10014
10206
  description?: string | undefined;
10015
10207
  name?: string | undefined;
10016
10208
  }[] | undefined;
10017
- operation?: string | undefined;
10018
10209
  } | undefined;
10019
- validateOnInit?: {
10210
+ revokeImplGranter?: {
10020
10211
  description?: string | undefined;
10021
10212
  name?: string | undefined;
10022
10213
  order?: number | undefined;
@@ -10026,6 +10217,7 @@ declare const _default: {
10026
10217
  description?: string | undefined;
10027
10218
  name?: string | undefined;
10028
10219
  }[] | undefined;
10220
+ operation?: string | undefined;
10029
10221
  } | undefined;
10030
10222
  }>>;
10031
10223
  granteeDocumentId: import("zod").ZodOptional<import("zod").ZodString>;
@@ -10056,7 +10248,7 @@ declare const _default: {
10056
10248
  channel?: string | undefined;
10057
10249
  request?: import("@blue-labs/language").BlueNode | undefined;
10058
10250
  } | undefined;
10059
- revokeImplGranter?: {
10251
+ validateOnInit?: {
10060
10252
  description?: string | undefined;
10061
10253
  name?: string | undefined;
10062
10254
  order?: number | undefined;
@@ -10066,9 +10258,8 @@ declare const _default: {
10066
10258
  description?: string | undefined;
10067
10259
  name?: string | undefined;
10068
10260
  }[] | undefined;
10069
- operation?: string | undefined;
10070
10261
  } | undefined;
10071
- validateOnInit?: {
10262
+ revokeImplGranter?: {
10072
10263
  description?: string | undefined;
10073
10264
  name?: string | undefined;
10074
10265
  order?: number | undefined;
@@ -10078,6 +10269,7 @@ declare const _default: {
10078
10269
  description?: string | undefined;
10079
10270
  name?: string | undefined;
10080
10271
  }[] | undefined;
10272
+ operation?: string | undefined;
10081
10273
  } | undefined;
10082
10274
  } | undefined;
10083
10275
  granteeDocumentId?: string | undefined;
@@ -10119,7 +10311,7 @@ declare const _default: {
10119
10311
  channel?: string | undefined;
10120
10312
  request?: import("@blue-labs/language").BlueNode | undefined;
10121
10313
  } | undefined;
10122
- revokeImplGranter?: {
10314
+ validateOnInit?: {
10123
10315
  description?: string | undefined;
10124
10316
  name?: string | undefined;
10125
10317
  order?: number | undefined;
@@ -10129,9 +10321,8 @@ declare const _default: {
10129
10321
  description?: string | undefined;
10130
10322
  name?: string | undefined;
10131
10323
  }[] | undefined;
10132
- operation?: string | undefined;
10133
10324
  } | undefined;
10134
- validateOnInit?: {
10325
+ revokeImplGranter?: {
10135
10326
  description?: string | undefined;
10136
10327
  name?: string | undefined;
10137
10328
  order?: number | undefined;
@@ -10141,6 +10332,7 @@ declare const _default: {
10141
10332
  description?: string | undefined;
10142
10333
  name?: string | undefined;
10143
10334
  }[] | undefined;
10335
+ operation?: string | undefined;
10144
10336
  } | undefined;
10145
10337
  } | undefined;
10146
10338
  granteeDocumentId?: string | undefined;
@@ -10251,7 +10443,7 @@ declare const _default: {
10251
10443
  workerType?: import("@blue-labs/language").BlueNode | undefined;
10252
10444
  }[] | undefined;
10253
10445
  }>;
10254
- readonly '8GNc7HmPKXmURG12ZBY8iXYEP7CTfBLsfXvpLcQ6EMwS': import("zod").ZodObject<import("zod").objectUtil.extendShape<import("zod").objectUtil.extendShape<{
10446
+ readonly '75TkZZcfwGMnD8ReqQg1KhBkdEV9U637TS5bGSv9n2Xn': import("zod").ZodObject<import("zod").objectUtil.extendShape<import("zod").objectUtil.extendShape<{
10255
10447
  description: import("zod").ZodOptional<import("zod").ZodString>;
10256
10448
  name: import("zod").ZodOptional<import("zod").ZodString>;
10257
10449
  }, {
@@ -10308,6 +10500,7 @@ declare const _default: {
10308
10500
  workerType?: import("@blue-labs/language").BlueNode | undefined;
10309
10501
  }>, "many">>;
10310
10502
  description: import("zod").ZodOptional<import("zod").ZodString>;
10503
+ grantDocumentId: import("zod").ZodOptional<import("zod").ZodString>;
10311
10504
  granteeDocumentId: import("zod").ZodOptional<import("zod").ZodString>;
10312
10505
  name: import("zod").ZodOptional<import("zod").ZodString>;
10313
10506
  }>, "strip", import("zod").ZodTypeAny, {
@@ -10315,6 +10508,7 @@ declare const _default: {
10315
10508
  name?: string | undefined;
10316
10509
  inResponseTo?: import("@blue-labs/language").BlueNode | undefined;
10317
10510
  granteeDocumentId?: string | undefined;
10511
+ grantDocumentId?: string | undefined;
10318
10512
  allowedWorkerAgencyPermissions?: {
10319
10513
  name?: string | undefined;
10320
10514
  permissions?: {
@@ -10332,6 +10526,7 @@ declare const _default: {
10332
10526
  name?: string | undefined;
10333
10527
  inResponseTo?: import("@blue-labs/language").BlueNode | undefined;
10334
10528
  granteeDocumentId?: string | undefined;
10529
+ grantDocumentId?: string | undefined;
10335
10530
  allowedWorkerAgencyPermissions?: {
10336
10531
  name?: string | undefined;
10337
10532
  permissions?: {
@@ -10561,7 +10756,7 @@ declare const _default: {
10561
10756
  workerType?: import("@blue-labs/language").BlueNode | undefined;
10562
10757
  }[] | undefined;
10563
10758
  }>;
10564
- readonly ABJ7njZbfTXNP173SCoMytQtVfMXCEwPdFhSJ7F3Vbx9: import("zod").ZodObject<import("zod").objectUtil.extendShape<import("zod").objectUtil.extendShape<{
10759
+ readonly '5sLtygzt8kxjzDwJLjVcSZj5GCXFyUXKuXxF8UFjfmm7': import("zod").ZodObject<import("zod").objectUtil.extendShape<import("zod").objectUtil.extendShape<{
10565
10760
  description: import("zod").ZodOptional<import("zod").ZodString>;
10566
10761
  name: import("zod").ZodOptional<import("zod").ZodString>;
10567
10762
  }, {
@@ -10570,6 +10765,7 @@ declare const _default: {
10570
10765
  requestId: import("zod").ZodOptional<import("zod").ZodString>;
10571
10766
  }>, {
10572
10767
  description: import("zod").ZodOptional<import("zod").ZodString>;
10768
+ grantDocumentId: import("zod").ZodOptional<import("zod").ZodString>;
10573
10769
  name: import("zod").ZodOptional<import("zod").ZodString>;
10574
10770
  reason: import("zod").ZodOptional<import("zod").ZodString>;
10575
10771
  }>, "strip", import("zod").ZodTypeAny, {
@@ -10577,11 +10773,13 @@ declare const _default: {
10577
10773
  name?: string | undefined;
10578
10774
  requestId?: string | undefined;
10579
10775
  reason?: string | undefined;
10776
+ grantDocumentId?: string | undefined;
10580
10777
  }, {
10581
10778
  description?: string | undefined;
10582
10779
  name?: string | undefined;
10583
10780
  requestId?: string | undefined;
10584
10781
  reason?: string | undefined;
10782
+ grantDocumentId?: string | undefined;
10585
10783
  }>;
10586
10784
  readonly AMNPp7uGYBgygbnmMS649m6Gf5bNULaEK8aSQ3b4xdrf: import("zod").ZodObject<import("zod").objectUtil.extendShape<import("zod").objectUtil.extendShape<{
10587
10785
  description: import("zod").ZodOptional<import("zod").ZodString>;
@@ -10766,13 +10964,13 @@ declare const _default: {
10766
10964
  readonly 'MyOS/Inform User To Install MyOS Package': "CrGV4ZYjvPvMqrgNQAfgZCUnFjFW6HDjYNdon2chLKU3";
10767
10965
  readonly 'MyOS/Link': "D2ERUvbpn6R6PR7hjFsGofwQsu9bkRfc6wbSYHcfJtMD";
10768
10966
  readonly 'MyOS/Linked Documents Permission Grant Requested': "DBv2TLwytwBgvrSVeauLjTZYycf8hiXgdadoyRVDfjhS";
10769
- readonly 'MyOS/Linked Documents Permission Grant To Account': "AFX9ct4gYywCbqPUJWaTz4JXS74RxxNPUMNzBMzNGD8c";
10770
- readonly 'MyOS/Linked Documents Permission Grant To Document': "A2dveyQFp6dYJgigdRuZW3dsbdeiG2HzHnjaobAHJCvY";
10771
- readonly 'MyOS/Linked Documents Permission Granted': "BM9qSFkhY9CV4BwHFP6DrrB9VbFZhTfwxCeS8Kh96o5N";
10967
+ readonly 'MyOS/Linked Documents Permission Grant To Account': "G5K5cSdn15yLJa6NBmjLuuZzJ5YShSU14kc4vitHpeHz";
10968
+ readonly 'MyOS/Linked Documents Permission Grant To Document': "DVuSpdSQzjj36rN9Eemu7oReooPe1YaqARx7aanQDppy";
10969
+ readonly 'MyOS/Linked Documents Permission Granted': "6kUamSN8Yq4L46PRaKRVc2BnG6xN7HCpmyG2STW3hecZ";
10772
10970
  readonly 'MyOS/Linked Documents Permission Granting in Progress': "8rdTEmuSkwgzj47Uc4tLdSk1wSd8NG5Q6vTFZt8hXbHK";
10773
10971
  readonly 'MyOS/Linked Documents Permission Invalid': "ENswN7PB5Ty8mfy1AdFsu2QR9jMjCsm5AGGJgkYSTrWU";
10774
10972
  readonly 'MyOS/Linked Documents Permission Rejected': "Cg3FfBGZZSfviaJg4Jsf7Cbg4jLRPYDcrbT65YD4vjxi";
10775
- readonly 'MyOS/Linked Documents Permission Revoke Requested': "6fTSbBwfj3zkin6EjGevF16QzokKa1xNXrDjdQwbDir7";
10973
+ readonly 'MyOS/Linked Documents Permission Revoke Requested': "4XzYndDA5v9yL5LYBq1Jk7ibA5x2ebN8vbSbEAoRrjaG";
10776
10974
  readonly 'MyOS/Linked Documents Permission Revoked': "9J18sDqoJX8KKutFwuzxeSdXiGuRbJB2yCfADGSKax6h";
10777
10975
  readonly 'MyOS/Linked Documents Permission Revoking in Progress': "HTvyBGjSkM4gmJxhwznVMM1aU7UUaKCcWQY9qgU6JfvH";
10778
10976
  readonly 'MyOS/Linked Documents Permission Set': "75TXyy5E7vbexVAUZcjZ2vdQaG7fJJbAHAgrh8sMtTp5";
@@ -10802,13 +11000,13 @@ declare const _default: {
10802
11000
  readonly 'MyOS/Session Epoch Advanced': "9CvxqAMJhqcFoLr5nXSEdWDZUMD383xhJtyFwXsCqD9E";
10803
11001
  readonly 'MyOS/Single Document Permission Grant Requested': "Ef7EvcR5He11JtgBFtswYTHEfUKnTHmFysMTo3ZsoQby";
10804
11002
  readonly 'MyOS/Single Document Permission Grant Responded': "5jtNV7xpaim18pUQp4uvron8uHfTjPSi6kUZQdCMGsKa";
10805
- readonly 'MyOS/Single Document Permission Grant To Account': "FZLsSeuoLTki2FpqYTr5nmqnAtKgTnmi18qNaTnRGBs6";
10806
- readonly 'MyOS/Single Document Permission Grant To Document': "6fEj6jD4eEVJwjH9Z2aQ9HsqdaCzbppfsYL2mFLx32YP";
10807
- readonly 'MyOS/Single Document Permission Granted': "8XYzJ3BrgB5uoAWU5HvZ7Gej9RXNG5r52ccneLZxMAQd";
11003
+ readonly 'MyOS/Single Document Permission Grant To Account': "y6JF5WHZjDq9PokMtHpqKhxbY7W6RQ41PBymPx7kjLz";
11004
+ readonly 'MyOS/Single Document Permission Grant To Document': "3SQR9pgQoY8rE9XhSmDDbKdHwe7ZZDaX4hPkYirhjYmD";
11005
+ readonly 'MyOS/Single Document Permission Granted': "BZPjcZmkuJpVFDYAZMexdG68KKFhgabnieBdG6DpHexR";
10808
11006
  readonly 'MyOS/Single Document Permission Granting in Progress': "5dYUepkS2uQHtzhVYoHEtR4x8vaMRtNuHyiqqTvRrKGY";
10809
11007
  readonly 'MyOS/Single Document Permission Invalid': "567voUMtKJQoqru6ZVPYb4EGwdeV99rUSAqsnod7gqfd";
10810
11008
  readonly 'MyOS/Single Document Permission Rejected': "kHtVfa88aG4NMwCcBgJH9mq7EBqLQUrJVEr92porG5j";
10811
- readonly 'MyOS/Single Document Permission Revoke Requested': "E4R5PmrxAtCHsQtUKtwxMjXgE5qNJWuuziArDMATudfb";
11009
+ readonly 'MyOS/Single Document Permission Revoke Requested': "53Kbf5fymxzBCJgf5BdCYCjCb6o5nWS1KWCzL8GkBF42";
10812
11010
  readonly 'MyOS/Single Document Permission Revoked': "29JSV8DwY6x3zfvAqiM7xNc96i46sKcunFYgfywBkF2f";
10813
11011
  readonly 'MyOS/Single Document Permission Revoking in Progress': "Cyr8aNNYedFse1EZ74dy9uXJ59gLH5LhTRyVeLiSMkg8";
10814
11012
  readonly 'MyOS/Single Document Permission Set': "DRDQcve5AjwBK9z6Njfa4MNERko7Uf4ucvARFdC6sL54";
@@ -10821,13 +11019,13 @@ declare const _default: {
10821
11019
  readonly 'MyOS/Subscription Update': "2gc8djtKGGRPjGfMQzvJZMviaXm4ytM1nA4DVbfyjkrW";
10822
11020
  readonly 'MyOS/Target Document Session Started': "FoHDf4WzS4idtPc8rWwVFFvALQ27WzMHxPdXovy7DH4p";
10823
11021
  readonly 'MyOS/Worker Agency Permission': "5J3RXNnALK1ZYAQBrjGwCQ4WpL3YUGHvz9WcGos6mMSp";
10824
- readonly 'MyOS/Worker Agency Permission Grant': "A73AVDR9GWAshFUC2Me2qXNns2HECzbadtsgp5zxCjGx";
11022
+ readonly 'MyOS/Worker Agency Permission Grant': "2ARFPC2YDspfN86MT897RDzGUtEEw1B7Lbdvy8Z3ZFQx";
10825
11023
  readonly 'MyOS/Worker Agency Permission Grant Requested': "HF5aRJZqvHn7sDFbwfDGQjkWmTSW9Lee7c9dUBtcdNtK";
10826
- readonly 'MyOS/Worker Agency Permission Granted': "8GNc7HmPKXmURG12ZBY8iXYEP7CTfBLsfXvpLcQ6EMwS";
11024
+ readonly 'MyOS/Worker Agency Permission Granted': "75TkZZcfwGMnD8ReqQg1KhBkdEV9U637TS5bGSv9n2Xn";
10827
11025
  readonly 'MyOS/Worker Agency Permission Granting in Progress': "HzQyVKvSQ2cienAkjW5R8HgTcStPe13p8eoB4vXr7dAc";
10828
11026
  readonly 'MyOS/Worker Agency Permission Invalid': "29zvV2MA4XAwLoGoNLLhLMa61mEgGceFnDvMznfQauYY";
10829
11027
  readonly 'MyOS/Worker Agency Permission Rejected': "G1cW5kjZdJrmCwfrwiHXQcJfYfFAY5jEFZNA7u7pFdtY";
10830
- readonly 'MyOS/Worker Agency Permission Revoke Requested': "ABJ7njZbfTXNP173SCoMytQtVfMXCEwPdFhSJ7F3Vbx9";
11028
+ readonly 'MyOS/Worker Agency Permission Revoke Requested': "5sLtygzt8kxjzDwJLjVcSZj5GCXFyUXKuXxF8UFjfmm7";
10831
11029
  readonly 'MyOS/Worker Agency Permission Revoked': "AMNPp7uGYBgygbnmMS649m6Gf5bNULaEK8aSQ3b4xdrf";
10832
11030
  readonly 'MyOS/Worker Agency Permission Revoking in Progress': "5zNb9H63xeG2RjZ1gzJwyGxvTVzWdyNBb2Te6g8UXd72";
10833
11031
  readonly 'MyOS/Worker Agency Permission Validated': "GMDw72G9CRTJU12Rce9BDWGw8f715RJrWvPL78RYDWH4";
@@ -10984,12 +11182,8 @@ declare const _default: {
10984
11182
  readonly name: "Document Session Bootstrap";
10985
11183
  readonly versions: readonly [{
10986
11184
  readonly repositoryVersionIndex: 0;
10987
- readonly typeBlueId: "6HC9zdAPTChMDo8okX3rYTz4aeCEKCr8TtU2WmfugdSJ";
10988
- readonly attributesAdded: readonly [];
10989
- }, {
10990
- readonly repositoryVersionIndex: 9;
10991
11185
  readonly typeBlueId: "4Mse3bdSz9YQbp5KkbUiVmkseK8upp5wexNDUq2rHuEy";
10992
- readonly attributesAdded: readonly ["/avatarUrl"];
11186
+ readonly attributesAdded: readonly [];
10993
11187
  }];
10994
11188
  };
10995
11189
  readonly D9Ret9Hmz5TWxzuJEeauWEuZVPkPL7hcHYsSNY1cZ5zX: {
@@ -11028,30 +11222,30 @@ declare const _default: {
11028
11222
  readonly attributesAdded: readonly [];
11029
11223
  }];
11030
11224
  };
11031
- readonly AFX9ct4gYywCbqPUJWaTz4JXS74RxxNPUMNzBMzNGD8c: {
11225
+ readonly G5K5cSdn15yLJa6NBmjLuuZzJ5YShSU14kc4vitHpeHz: {
11032
11226
  readonly status: "dev";
11033
11227
  readonly name: "Linked Documents Permission Grant To Account";
11034
11228
  readonly versions: readonly [{
11035
11229
  readonly repositoryVersionIndex: 0;
11036
- readonly typeBlueId: "AFX9ct4gYywCbqPUJWaTz4JXS74RxxNPUMNzBMzNGD8c";
11230
+ readonly typeBlueId: "G5K5cSdn15yLJa6NBmjLuuZzJ5YShSU14kc4vitHpeHz";
11037
11231
  readonly attributesAdded: readonly [];
11038
11232
  }];
11039
11233
  };
11040
- readonly A2dveyQFp6dYJgigdRuZW3dsbdeiG2HzHnjaobAHJCvY: {
11234
+ readonly DVuSpdSQzjj36rN9Eemu7oReooPe1YaqARx7aanQDppy: {
11041
11235
  readonly status: "dev";
11042
11236
  readonly name: "Linked Documents Permission Grant To Document";
11043
11237
  readonly versions: readonly [{
11044
11238
  readonly repositoryVersionIndex: 0;
11045
- readonly typeBlueId: "A2dveyQFp6dYJgigdRuZW3dsbdeiG2HzHnjaobAHJCvY";
11239
+ readonly typeBlueId: "DVuSpdSQzjj36rN9Eemu7oReooPe1YaqARx7aanQDppy";
11046
11240
  readonly attributesAdded: readonly [];
11047
11241
  }];
11048
11242
  };
11049
- readonly BM9qSFkhY9CV4BwHFP6DrrB9VbFZhTfwxCeS8Kh96o5N: {
11243
+ readonly '6kUamSN8Yq4L46PRaKRVc2BnG6xN7HCpmyG2STW3hecZ': {
11050
11244
  readonly status: "dev";
11051
11245
  readonly name: "Linked Documents Permission Granted";
11052
11246
  readonly versions: readonly [{
11053
11247
  readonly repositoryVersionIndex: 0;
11054
- readonly typeBlueId: "BM9qSFkhY9CV4BwHFP6DrrB9VbFZhTfwxCeS8Kh96o5N";
11248
+ readonly typeBlueId: "6kUamSN8Yq4L46PRaKRVc2BnG6xN7HCpmyG2STW3hecZ";
11055
11249
  readonly attributesAdded: readonly [];
11056
11250
  }];
11057
11251
  };
@@ -11082,12 +11276,12 @@ declare const _default: {
11082
11276
  readonly attributesAdded: readonly [];
11083
11277
  }];
11084
11278
  };
11085
- readonly '6fTSbBwfj3zkin6EjGevF16QzokKa1xNXrDjdQwbDir7': {
11279
+ readonly '4XzYndDA5v9yL5LYBq1Jk7ibA5x2ebN8vbSbEAoRrjaG': {
11086
11280
  readonly status: "dev";
11087
11281
  readonly name: "Linked Documents Permission Revoke Requested";
11088
11282
  readonly versions: readonly [{
11089
11283
  readonly repositoryVersionIndex: 0;
11090
- readonly typeBlueId: "6fTSbBwfj3zkin6EjGevF16QzokKa1xNXrDjdQwbDir7";
11284
+ readonly typeBlueId: "4XzYndDA5v9yL5LYBq1Jk7ibA5x2ebN8vbSbEAoRrjaG";
11091
11285
  readonly attributesAdded: readonly [];
11092
11286
  }];
11093
11287
  };
@@ -11320,7 +11514,7 @@ declare const _default: {
11320
11514
  readonly status: "dev";
11321
11515
  readonly name: "Search Contract";
11322
11516
  readonly versions: readonly [{
11323
- readonly repositoryVersionIndex: 3;
11517
+ readonly repositoryVersionIndex: 0;
11324
11518
  readonly typeBlueId: "5KdjguBmn7AwB9d8tjKxRh4xUHU9T8WDJ4dbaY6qgPvx";
11325
11519
  readonly attributesAdded: readonly [];
11326
11520
  }];
@@ -11352,30 +11546,30 @@ declare const _default: {
11352
11546
  readonly attributesAdded: readonly [];
11353
11547
  }];
11354
11548
  };
11355
- readonly FZLsSeuoLTki2FpqYTr5nmqnAtKgTnmi18qNaTnRGBs6: {
11356
- readonly status: "stable";
11549
+ readonly y6JF5WHZjDq9PokMtHpqKhxbY7W6RQ41PBymPx7kjLz: {
11550
+ readonly status: "dev";
11357
11551
  readonly name: "Single Document Permission Grant To Account";
11358
11552
  readonly versions: readonly [{
11359
11553
  readonly repositoryVersionIndex: 0;
11360
- readonly typeBlueId: "FZLsSeuoLTki2FpqYTr5nmqnAtKgTnmi18qNaTnRGBs6";
11554
+ readonly typeBlueId: "y6JF5WHZjDq9PokMtHpqKhxbY7W6RQ41PBymPx7kjLz";
11361
11555
  readonly attributesAdded: readonly [];
11362
11556
  }];
11363
11557
  };
11364
- readonly '6fEj6jD4eEVJwjH9Z2aQ9HsqdaCzbppfsYL2mFLx32YP': {
11365
- readonly status: "stable";
11558
+ readonly '3SQR9pgQoY8rE9XhSmDDbKdHwe7ZZDaX4hPkYirhjYmD': {
11559
+ readonly status: "dev";
11366
11560
  readonly name: "Single Document Permission Grant To Document";
11367
11561
  readonly versions: readonly [{
11368
11562
  readonly repositoryVersionIndex: 0;
11369
- readonly typeBlueId: "6fEj6jD4eEVJwjH9Z2aQ9HsqdaCzbppfsYL2mFLx32YP";
11563
+ readonly typeBlueId: "3SQR9pgQoY8rE9XhSmDDbKdHwe7ZZDaX4hPkYirhjYmD";
11370
11564
  readonly attributesAdded: readonly [];
11371
11565
  }];
11372
11566
  };
11373
- readonly '8XYzJ3BrgB5uoAWU5HvZ7Gej9RXNG5r52ccneLZxMAQd': {
11374
- readonly status: "stable";
11567
+ readonly BZPjcZmkuJpVFDYAZMexdG68KKFhgabnieBdG6DpHexR: {
11568
+ readonly status: "dev";
11375
11569
  readonly name: "Single Document Permission Granted";
11376
11570
  readonly versions: readonly [{
11377
11571
  readonly repositoryVersionIndex: 0;
11378
- readonly typeBlueId: "8XYzJ3BrgB5uoAWU5HvZ7Gej9RXNG5r52ccneLZxMAQd";
11572
+ readonly typeBlueId: "BZPjcZmkuJpVFDYAZMexdG68KKFhgabnieBdG6DpHexR";
11379
11573
  readonly attributesAdded: readonly [];
11380
11574
  }];
11381
11575
  };
@@ -11406,12 +11600,12 @@ declare const _default: {
11406
11600
  readonly attributesAdded: readonly [];
11407
11601
  }];
11408
11602
  };
11409
- readonly E4R5PmrxAtCHsQtUKtwxMjXgE5qNJWuuziArDMATudfb: {
11410
- readonly status: "stable";
11603
+ readonly '53Kbf5fymxzBCJgf5BdCYCjCb6o5nWS1KWCzL8GkBF42': {
11604
+ readonly status: "dev";
11411
11605
  readonly name: "Single Document Permission Revoke Requested";
11412
11606
  readonly versions: readonly [{
11413
11607
  readonly repositoryVersionIndex: 0;
11414
- readonly typeBlueId: "E4R5PmrxAtCHsQtUKtwxMjXgE5qNJWuuziArDMATudfb";
11608
+ readonly typeBlueId: "53Kbf5fymxzBCJgf5BdCYCjCb6o5nWS1KWCzL8GkBF42";
11415
11609
  readonly attributesAdded: readonly [];
11416
11610
  }];
11417
11611
  };
@@ -11483,12 +11677,8 @@ declare const _default: {
11483
11677
  readonly name: "Subscription to Session Initiated";
11484
11678
  readonly versions: readonly [{
11485
11679
  readonly repositoryVersionIndex: 0;
11486
- readonly typeBlueId: "GZPDibWTKDudqwPufgmNo7AHMLwY5FGeeHFx3EkegzLj";
11487
- readonly attributesAdded: readonly [];
11488
- }, {
11489
- readonly repositoryVersionIndex: 4;
11490
11680
  readonly typeBlueId: "4sJYYU5tjqKy43Mbe1Mt5WKfaynHs9rTj3QGAvTAZkM6";
11491
- readonly attributesAdded: readonly ["/epoch", "/document"];
11681
+ readonly attributesAdded: readonly [];
11492
11682
  }];
11493
11683
  };
11494
11684
  readonly GcotFgiqo3GMHp4xKrArDJi7AqciJGgYKvHodoAJwcWp: {
@@ -11527,12 +11717,12 @@ declare const _default: {
11527
11717
  readonly attributesAdded: readonly [];
11528
11718
  }];
11529
11719
  };
11530
- readonly A73AVDR9GWAshFUC2Me2qXNns2HECzbadtsgp5zxCjGx: {
11531
- readonly status: "stable";
11720
+ readonly '2ARFPC2YDspfN86MT897RDzGUtEEw1B7Lbdvy8Z3ZFQx': {
11721
+ readonly status: "dev";
11532
11722
  readonly name: "Worker Agency Permission Grant";
11533
11723
  readonly versions: readonly [{
11534
11724
  readonly repositoryVersionIndex: 0;
11535
- readonly typeBlueId: "A73AVDR9GWAshFUC2Me2qXNns2HECzbadtsgp5zxCjGx";
11725
+ readonly typeBlueId: "2ARFPC2YDspfN86MT897RDzGUtEEw1B7Lbdvy8Z3ZFQx";
11536
11726
  readonly attributesAdded: readonly [];
11537
11727
  }];
11538
11728
  };
@@ -11545,12 +11735,12 @@ declare const _default: {
11545
11735
  readonly attributesAdded: readonly [];
11546
11736
  }];
11547
11737
  };
11548
- readonly '8GNc7HmPKXmURG12ZBY8iXYEP7CTfBLsfXvpLcQ6EMwS': {
11549
- readonly status: "stable";
11738
+ readonly '75TkZZcfwGMnD8ReqQg1KhBkdEV9U637TS5bGSv9n2Xn': {
11739
+ readonly status: "dev";
11550
11740
  readonly name: "Worker Agency Permission Granted";
11551
11741
  readonly versions: readonly [{
11552
11742
  readonly repositoryVersionIndex: 0;
11553
- readonly typeBlueId: "8GNc7HmPKXmURG12ZBY8iXYEP7CTfBLsfXvpLcQ6EMwS";
11743
+ readonly typeBlueId: "75TkZZcfwGMnD8ReqQg1KhBkdEV9U637TS5bGSv9n2Xn";
11554
11744
  readonly attributesAdded: readonly [];
11555
11745
  }];
11556
11746
  };
@@ -11581,12 +11771,12 @@ declare const _default: {
11581
11771
  readonly attributesAdded: readonly [];
11582
11772
  }];
11583
11773
  };
11584
- readonly ABJ7njZbfTXNP173SCoMytQtVfMXCEwPdFhSJ7F3Vbx9: {
11585
- readonly status: "stable";
11774
+ readonly '5sLtygzt8kxjzDwJLjVcSZj5GCXFyUXKuXxF8UFjfmm7': {
11775
+ readonly status: "dev";
11586
11776
  readonly name: "Worker Agency Permission Revoke Requested";
11587
11777
  readonly versions: readonly [{
11588
11778
  readonly repositoryVersionIndex: 0;
11589
- readonly typeBlueId: "ABJ7njZbfTXNP173SCoMytQtVfMXCEwPdFhSJ7F3Vbx9";
11779
+ readonly typeBlueId: "5sLtygzt8kxjzDwJLjVcSZj5GCXFyUXKuXxF8UFjfmm7";
11590
11780
  readonly attributesAdded: readonly [];
11591
11781
  }];
11592
11782
  };