@lssm/lib.communication-spec 3.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (309) hide show
  1. package/README.md +201 -0
  2. package/dist/browser/capabilities/comms-ai.capabilities.js +1 -0
  3. package/dist/browser/capabilities/communication-os.capability-ids.js +1 -0
  4. package/dist/browser/capabilities/ecosystem-messaging.capabilities.js +1 -0
  5. package/dist/browser/capabilities/index.js +1 -0
  6. package/dist/browser/commands/comms-ai.commands.js +1 -0
  7. package/dist/browser/commands/index.js +1 -0
  8. package/dist/browser/contracts/agent-communication.js +1 -0
  9. package/dist/browser/contracts/agent-lifecycle-projection.js +1 -0
  10. package/dist/browser/contracts/agent-surface-control.js +1 -0
  11. package/dist/browser/contracts/ai-assistance.operations.js +1 -0
  12. package/dist/browser/contracts/artifact-digest.js +1 -0
  13. package/dist/browser/contracts/canonical-agent-conversation.js +1 -0
  14. package/dist/browser/contracts/channel-preferences.js +1 -0
  15. package/dist/browser/contracts/channel-routing.js +1 -0
  16. package/dist/browser/contracts/collaboration.operations.js +1 -0
  17. package/dist/browser/contracts/customer-live-chat-grant.operations.js +1 -0
  18. package/dist/browser/contracts/delivery-eligibility.js +1 -0
  19. package/dist/browser/contracts/delivery-fallback-eligibility-validation.js +1 -0
  20. package/dist/browser/contracts/delivery-fallback-validation.js +1 -0
  21. package/dist/browser/contracts/delivery-fallback.js +1 -0
  22. package/dist/browser/contracts/delivery-intent-validation.js +1 -0
  23. package/dist/browser/contracts/delivery-intent.js +1 -0
  24. package/dist/browser/contracts/delivery-progress.js +1 -0
  25. package/dist/browser/contracts/discord-community-intelligence.operations.js +1 -0
  26. package/dist/browser/contracts/discord-community.events.js +1 -0
  27. package/dist/browser/contracts/discord-community.models.js +1 -0
  28. package/dist/browser/contracts/discord-community.operations.js +1 -0
  29. package/dist/browser/contracts/ecosystem-attachment.operations.js +1 -0
  30. package/dist/browser/contracts/ecosystem-auth.operations.js +1 -0
  31. package/dist/browser/contracts/ecosystem-binding.operations.js +1 -0
  32. package/dist/browser/contracts/ecosystem-connection-subscription.events.js +1 -0
  33. package/dist/browser/contracts/ecosystem-governed-work-v2.operations.js +1 -0
  34. package/dist/browser/contracts/ecosystem-governed-work.operations.js +1 -0
  35. package/dist/browser/contracts/ecosystem-identity-v3.operations.js +1 -0
  36. package/dist/browser/contracts/ecosystem-identity.operations.js +1 -0
  37. package/dist/browser/contracts/ecosystem-message.operations.js +1 -0
  38. package/dist/browser/contracts/ecosystem-messaging.dtos.js +0 -0
  39. package/dist/browser/contracts/ecosystem-messaging.events.js +1 -0
  40. package/dist/browser/contracts/ecosystem-messaging.models.js +1 -0
  41. package/dist/browser/contracts/ecosystem-navigation-v3.operations.js +1 -0
  42. package/dist/browser/contracts/ecosystem-webhook.operations.js +1 -0
  43. package/dist/browser/contracts/ecosystem-workspace.operations.js +1 -0
  44. package/dist/browser/contracts/enums.js +1 -0
  45. package/dist/browser/contracts/erasure.operations.js +1 -0
  46. package/dist/browser/contracts/events.js +1 -0
  47. package/dist/browser/contracts/index.js +1 -0
  48. package/dist/browser/contracts/ingestion.js +1 -0
  49. package/dist/browser/contracts/ingress-admission-policy.js +1 -0
  50. package/dist/browser/contracts/ingress-admission.js +1 -0
  51. package/dist/browser/contracts/models.js +1 -0
  52. package/dist/browser/contracts/operations.js +1 -0
  53. package/dist/browser/contracts/persistence.js +1 -0
  54. package/dist/browser/contracts/preference-resolution.js +1 -0
  55. package/dist/browser/contracts/query.operations.js +1 -0
  56. package/dist/browser/contracts/sequence-intent.js +1 -0
  57. package/dist/browser/contracts/sovereignty.js +1 -0
  58. package/dist/browser/contracts/support-internal-note.operations.js +1 -0
  59. package/dist/browser/contracts/thread-link-kind.js +1 -0
  60. package/dist/browser/contracts/thread-message.operations.js +1 -0
  61. package/dist/browser/events/index.js +1 -0
  62. package/dist/browser/fixtures/agent-omnichannel-primitives.js +1 -0
  63. package/dist/browser/fixtures/agent-omnichannel.js +1 -0
  64. package/dist/browser/fixtures/gtm-learning-loop-neutral.parts.js +1 -0
  65. package/dist/browser/fixtures/index.js +1 -0
  66. package/dist/browser/fixtures/normalized-ingestion.js +1 -0
  67. package/dist/browser/index.js +1 -0
  68. package/dist/browser/queries/index.js +1 -0
  69. package/dist/browser/types/domain-command.js +0 -0
  70. package/dist/browser/types/index.js +1 -0
  71. package/dist/browser/validation/domain-command.js +1 -0
  72. package/dist/browser/validation/index.js +1 -0
  73. package/dist/capabilities/comms-ai.capabilities.d.ts +72 -0
  74. package/dist/capabilities/comms-ai.capabilities.js +2 -0
  75. package/dist/capabilities/communication-os-capability-boundary.test.d.ts +1 -0
  76. package/dist/capabilities/communication-os.capability-ids.d.ts +39 -0
  77. package/dist/capabilities/communication-os.capability-ids.js +2 -0
  78. package/dist/capabilities/communication-os.capability-ids.test.d.ts +1 -0
  79. package/dist/capabilities/ecosystem-messaging.capabilities.d.ts +9 -0
  80. package/dist/capabilities/ecosystem-messaging.capabilities.js +2 -0
  81. package/dist/capabilities/index.d.ts +4 -0
  82. package/dist/capabilities/index.js +2 -0
  83. package/dist/commands/comms-ai.commands.d.ts +272 -0
  84. package/dist/commands/comms-ai.commands.js +2 -0
  85. package/dist/commands/index.d.ts +10 -0
  86. package/dist/commands/index.js +2 -0
  87. package/dist/contracts/agent-communication.d.ts +108 -0
  88. package/dist/contracts/agent-communication.js +2 -0
  89. package/dist/contracts/agent-communication.test.d.ts +1 -0
  90. package/dist/contracts/agent-lifecycle-projection.d.ts +98 -0
  91. package/dist/contracts/agent-lifecycle-projection.js +2 -0
  92. package/dist/contracts/agent-lifecycle-projection.test.d.ts +1 -0
  93. package/dist/contracts/agent-surface-control.d.ts +210 -0
  94. package/dist/contracts/agent-surface-control.js +2 -0
  95. package/dist/contracts/agent-surface-control.test.d.ts +1 -0
  96. package/dist/contracts/ai-assistance.operations.d.ts +187 -0
  97. package/dist/contracts/ai-assistance.operations.js +2 -0
  98. package/dist/contracts/artifact-digest.d.ts +3 -0
  99. package/dist/contracts/artifact-digest.js +2 -0
  100. package/dist/contracts/canonical-agent-conversation.d.ts +46 -0
  101. package/dist/contracts/canonical-agent-conversation.js +2 -0
  102. package/dist/contracts/canonical-agent-conversation.test.d.ts +1 -0
  103. package/dist/contracts/channel-preferences.d.ts +115 -0
  104. package/dist/contracts/channel-preferences.js +2 -0
  105. package/dist/contracts/channel-routing.d.ts +58 -0
  106. package/dist/contracts/channel-routing.js +2 -0
  107. package/dist/contracts/channel-routing.test.d.ts +1 -0
  108. package/dist/contracts/collaboration.operations.d.ts +315 -0
  109. package/dist/contracts/collaboration.operations.js +2 -0
  110. package/dist/contracts/customer-live-chat-grant.operations.d.ts +132 -0
  111. package/dist/contracts/customer-live-chat-grant.operations.js +2 -0
  112. package/dist/contracts/delivery-contracts.test.d.ts +1 -0
  113. package/dist/contracts/delivery-eligibility.d.ts +126 -0
  114. package/dist/contracts/delivery-eligibility.js +2 -0
  115. package/dist/contracts/delivery-eligibility.test.d.ts +1 -0
  116. package/dist/contracts/delivery-fallback-eligibility-validation.d.ts +6 -0
  117. package/dist/contracts/delivery-fallback-eligibility-validation.js +2 -0
  118. package/dist/contracts/delivery-fallback-validation.d.ts +24 -0
  119. package/dist/contracts/delivery-fallback-validation.js +2 -0
  120. package/dist/contracts/delivery-fallback.d.ts +117 -0
  121. package/dist/contracts/delivery-fallback.js +2 -0
  122. package/dist/contracts/delivery-intent-validation.d.ts +13 -0
  123. package/dist/contracts/delivery-intent-validation.js +2 -0
  124. package/dist/contracts/delivery-intent.d.ts +137 -0
  125. package/dist/contracts/delivery-intent.js +2 -0
  126. package/dist/contracts/delivery-progress.d.ts +61 -0
  127. package/dist/contracts/delivery-progress.js +2 -0
  128. package/dist/contracts/discord-community-intelligence.operations.d.ts +405 -0
  129. package/dist/contracts/discord-community-intelligence.operations.js +2 -0
  130. package/dist/contracts/discord-community.events.d.ts +162 -0
  131. package/dist/contracts/discord-community.events.js +2 -0
  132. package/dist/contracts/discord-community.models.d.ts +167 -0
  133. package/dist/contracts/discord-community.models.js +2 -0
  134. package/dist/contracts/discord-community.operations.d.ts +663 -0
  135. package/dist/contracts/discord-community.operations.js +2 -0
  136. package/dist/contracts/discord-community.test.d.ts +1 -0
  137. package/dist/contracts/ecosystem-attachment.operations.d.ts +129 -0
  138. package/dist/contracts/ecosystem-attachment.operations.js +2 -0
  139. package/dist/contracts/ecosystem-auth.operations.d.ts +345 -0
  140. package/dist/contracts/ecosystem-auth.operations.js +2 -0
  141. package/dist/contracts/ecosystem-binding.operations.d.ts +231 -0
  142. package/dist/contracts/ecosystem-binding.operations.js +2 -0
  143. package/dist/contracts/ecosystem-connection-subscription.events.d.ts +332 -0
  144. package/dist/contracts/ecosystem-connection-subscription.events.js +2 -0
  145. package/dist/contracts/ecosystem-governed-work-v2.operations.d.ts +234 -0
  146. package/dist/contracts/ecosystem-governed-work-v2.operations.js +2 -0
  147. package/dist/contracts/ecosystem-governed-work.operations.d.ts +265 -0
  148. package/dist/contracts/ecosystem-governed-work.operations.js +2 -0
  149. package/dist/contracts/ecosystem-governed-work.operations.test.d.ts +1 -0
  150. package/dist/contracts/ecosystem-identity-v3.operations.d.ts +65 -0
  151. package/dist/contracts/ecosystem-identity-v3.operations.js +2 -0
  152. package/dist/contracts/ecosystem-identity.operations.d.ts +174 -0
  153. package/dist/contracts/ecosystem-identity.operations.js +2 -0
  154. package/dist/contracts/ecosystem-identity.operations.test.d.ts +1 -0
  155. package/dist/contracts/ecosystem-message.operations.d.ts +1092 -0
  156. package/dist/contracts/ecosystem-message.operations.js +2 -0
  157. package/dist/contracts/ecosystem-messaging.dtos.d.ts +68 -0
  158. package/dist/contracts/ecosystem-messaging.dtos.js +1 -0
  159. package/dist/contracts/ecosystem-messaging.dtos.test.d.ts +1 -0
  160. package/dist/contracts/ecosystem-messaging.events.d.ts +608 -0
  161. package/dist/contracts/ecosystem-messaging.events.js +2 -0
  162. package/dist/contracts/ecosystem-messaging.models.d.ts +386 -0
  163. package/dist/contracts/ecosystem-messaging.models.js +2 -0
  164. package/dist/contracts/ecosystem-messaging.test.d.ts +1 -0
  165. package/dist/contracts/ecosystem-navigation-v3.operations.d.ts +149 -0
  166. package/dist/contracts/ecosystem-navigation-v3.operations.js +2 -0
  167. package/dist/contracts/ecosystem-webhook.operations.d.ts +187 -0
  168. package/dist/contracts/ecosystem-webhook.operations.js +2 -0
  169. package/dist/contracts/ecosystem-workspace.operations.d.ts +590 -0
  170. package/dist/contracts/ecosystem-workspace.operations.js +2 -0
  171. package/dist/contracts/enums.d.ts +9 -0
  172. package/dist/contracts/enums.js +2 -0
  173. package/dist/contracts/erasure.operations.d.ts +114 -0
  174. package/dist/contracts/erasure.operations.js +2 -0
  175. package/dist/contracts/erasure.test.d.ts +1 -0
  176. package/dist/contracts/events.d.ts +174 -0
  177. package/dist/contracts/events.js +2 -0
  178. package/dist/contracts/index.d.ts +43 -0
  179. package/dist/contracts/index.js +2 -0
  180. package/dist/contracts/ingestion.d.ts +169 -0
  181. package/dist/contracts/ingestion.js +2 -0
  182. package/dist/contracts/ingress-admission-policy.d.ts +14 -0
  183. package/dist/contracts/ingress-admission-policy.js +2 -0
  184. package/dist/contracts/ingress-admission.d.ts +184 -0
  185. package/dist/contracts/ingress-admission.js +2 -0
  186. package/dist/contracts/ingress-admission.test.d.ts +1 -0
  187. package/dist/contracts/models.d.ts +851 -0
  188. package/dist/contracts/models.js +2 -0
  189. package/dist/contracts/operations.d.ts +5 -0
  190. package/dist/contracts/operations.js +2 -0
  191. package/dist/contracts/persistence.d.ts +353 -0
  192. package/dist/contracts/persistence.js +2 -0
  193. package/dist/contracts/persistence.test.d.ts +1 -0
  194. package/dist/contracts/preference-resolution.d.ts +154 -0
  195. package/dist/contracts/preference-resolution.js +2 -0
  196. package/dist/contracts/preference-resolution.test.d.ts +1 -0
  197. package/dist/contracts/query.operations.d.ts +600 -0
  198. package/dist/contracts/query.operations.js +2 -0
  199. package/dist/contracts/sequence-intent.d.ts +103 -0
  200. package/dist/contracts/sequence-intent.js +2 -0
  201. package/dist/contracts/sequence-intent.test.d.ts +1 -0
  202. package/dist/contracts/sovereignty.d.ts +164 -0
  203. package/dist/contracts/sovereignty.js +2 -0
  204. package/dist/contracts/support-internal-note.operations.d.ts +309 -0
  205. package/dist/contracts/support-internal-note.operations.js +2 -0
  206. package/dist/contracts/support-internal-note.operations.test.d.ts +1 -0
  207. package/dist/contracts/thread-link-kind.d.ts +20 -0
  208. package/dist/contracts/thread-link-kind.js +2 -0
  209. package/dist/contracts/thread-message.operations.d.ts +485 -0
  210. package/dist/contracts/thread-message.operations.js +2 -0
  211. package/dist/events/index.d.ts +4 -0
  212. package/dist/events/index.js +2 -0
  213. package/dist/fixtures/agent-omnichannel-primitives.d.ts +240 -0
  214. package/dist/fixtures/agent-omnichannel-primitives.js +2 -0
  215. package/dist/fixtures/agent-omnichannel.d.ts +682 -0
  216. package/dist/fixtures/agent-omnichannel.js +2 -0
  217. package/dist/fixtures/agent-omnichannel.test.d.ts +1 -0
  218. package/dist/fixtures/gtm-learning-loop-neutral.parts.d.ts +20 -0
  219. package/dist/fixtures/gtm-learning-loop-neutral.parts.js +2 -0
  220. package/dist/fixtures/index.d.ts +3 -0
  221. package/dist/fixtures/index.js +2 -0
  222. package/dist/fixtures/normalized-ingestion.d.ts +102 -0
  223. package/dist/fixtures/normalized-ingestion.js +2 -0
  224. package/dist/fixtures/normalized-ingestion.test.d.ts +1 -0
  225. package/dist/index.d.ts +7 -0
  226. package/dist/index.js +2 -0
  227. package/dist/node/capabilities/comms-ai.capabilities.js +1 -0
  228. package/dist/node/capabilities/communication-os.capability-ids.js +1 -0
  229. package/dist/node/capabilities/ecosystem-messaging.capabilities.js +1 -0
  230. package/dist/node/capabilities/index.js +1 -0
  231. package/dist/node/commands/comms-ai.commands.js +1 -0
  232. package/dist/node/commands/index.js +1 -0
  233. package/dist/node/contracts/agent-communication.js +1 -0
  234. package/dist/node/contracts/agent-lifecycle-projection.js +1 -0
  235. package/dist/node/contracts/agent-surface-control.js +1 -0
  236. package/dist/node/contracts/ai-assistance.operations.js +1 -0
  237. package/dist/node/contracts/artifact-digest.js +1 -0
  238. package/dist/node/contracts/canonical-agent-conversation.js +1 -0
  239. package/dist/node/contracts/channel-preferences.js +1 -0
  240. package/dist/node/contracts/channel-routing.js +1 -0
  241. package/dist/node/contracts/collaboration.operations.js +1 -0
  242. package/dist/node/contracts/customer-live-chat-grant.operations.js +1 -0
  243. package/dist/node/contracts/delivery-eligibility.js +1 -0
  244. package/dist/node/contracts/delivery-fallback-eligibility-validation.js +1 -0
  245. package/dist/node/contracts/delivery-fallback-validation.js +1 -0
  246. package/dist/node/contracts/delivery-fallback.js +1 -0
  247. package/dist/node/contracts/delivery-intent-validation.js +1 -0
  248. package/dist/node/contracts/delivery-intent.js +1 -0
  249. package/dist/node/contracts/delivery-progress.js +1 -0
  250. package/dist/node/contracts/discord-community-intelligence.operations.js +1 -0
  251. package/dist/node/contracts/discord-community.events.js +1 -0
  252. package/dist/node/contracts/discord-community.models.js +1 -0
  253. package/dist/node/contracts/discord-community.operations.js +1 -0
  254. package/dist/node/contracts/ecosystem-attachment.operations.js +1 -0
  255. package/dist/node/contracts/ecosystem-auth.operations.js +1 -0
  256. package/dist/node/contracts/ecosystem-binding.operations.js +1 -0
  257. package/dist/node/contracts/ecosystem-connection-subscription.events.js +1 -0
  258. package/dist/node/contracts/ecosystem-governed-work-v2.operations.js +1 -0
  259. package/dist/node/contracts/ecosystem-governed-work.operations.js +1 -0
  260. package/dist/node/contracts/ecosystem-identity-v3.operations.js +1 -0
  261. package/dist/node/contracts/ecosystem-identity.operations.js +1 -0
  262. package/dist/node/contracts/ecosystem-message.operations.js +1 -0
  263. package/dist/node/contracts/ecosystem-messaging.dtos.js +0 -0
  264. package/dist/node/contracts/ecosystem-messaging.events.js +1 -0
  265. package/dist/node/contracts/ecosystem-messaging.models.js +1 -0
  266. package/dist/node/contracts/ecosystem-navigation-v3.operations.js +1 -0
  267. package/dist/node/contracts/ecosystem-webhook.operations.js +1 -0
  268. package/dist/node/contracts/ecosystem-workspace.operations.js +1 -0
  269. package/dist/node/contracts/enums.js +1 -0
  270. package/dist/node/contracts/erasure.operations.js +1 -0
  271. package/dist/node/contracts/events.js +1 -0
  272. package/dist/node/contracts/index.js +1 -0
  273. package/dist/node/contracts/ingestion.js +1 -0
  274. package/dist/node/contracts/ingress-admission-policy.js +1 -0
  275. package/dist/node/contracts/ingress-admission.js +1 -0
  276. package/dist/node/contracts/models.js +1 -0
  277. package/dist/node/contracts/operations.js +1 -0
  278. package/dist/node/contracts/persistence.js +1 -0
  279. package/dist/node/contracts/preference-resolution.js +1 -0
  280. package/dist/node/contracts/query.operations.js +1 -0
  281. package/dist/node/contracts/sequence-intent.js +1 -0
  282. package/dist/node/contracts/sovereignty.js +1 -0
  283. package/dist/node/contracts/support-internal-note.operations.js +1 -0
  284. package/dist/node/contracts/thread-link-kind.js +1 -0
  285. package/dist/node/contracts/thread-message.operations.js +1 -0
  286. package/dist/node/events/index.js +1 -0
  287. package/dist/node/fixtures/agent-omnichannel-primitives.js +1 -0
  288. package/dist/node/fixtures/agent-omnichannel.js +1 -0
  289. package/dist/node/fixtures/gtm-learning-loop-neutral.parts.js +1 -0
  290. package/dist/node/fixtures/index.js +1 -0
  291. package/dist/node/fixtures/normalized-ingestion.js +1 -0
  292. package/dist/node/index.js +1 -0
  293. package/dist/node/queries/index.js +1 -0
  294. package/dist/node/types/domain-command.js +0 -0
  295. package/dist/node/types/index.js +1 -0
  296. package/dist/node/validation/domain-command.js +1 -0
  297. package/dist/node/validation/index.js +1 -0
  298. package/dist/package-exports.test.d.ts +1 -0
  299. package/dist/queries/index.d.ts +4 -0
  300. package/dist/queries/index.js +2 -0
  301. package/dist/types/domain-command.d.ts +54 -0
  302. package/dist/types/domain-command.js +1 -0
  303. package/dist/types/index.d.ts +3 -0
  304. package/dist/types/index.js +2 -0
  305. package/dist/validation/domain-command.d.ts +3 -0
  306. package/dist/validation/domain-command.js +2 -0
  307. package/dist/validation/index.d.ts +53 -0
  308. package/dist/validation/index.js +2 -0
  309. package/package.json +1227 -0
@@ -0,0 +1,1092 @@
1
+ export declare const SendCommunicationMessageV2Command: import("@lssm/lib.contracts-spec").OperationSpec<import("@lssm/lib.schema").SchemaModel<{
2
+ id: {
3
+ type: import("@lssm/lib.schema").FieldType<string, string>;
4
+ isOptional: false;
5
+ };
6
+ tenantId: {
7
+ type: import("@lssm/lib.schema").FieldType<string, string>;
8
+ isOptional: false;
9
+ };
10
+ workspaceId: {
11
+ type: import("@lssm/lib.schema").FieldType<string, string>;
12
+ isOptional: false;
13
+ };
14
+ spaceId: {
15
+ type: import("@lssm/lib.schema").FieldType<string, string>;
16
+ isOptional: false;
17
+ };
18
+ roomId: {
19
+ type: import("@lssm/lib.schema").FieldType<string, string>;
20
+ isOptional: false;
21
+ };
22
+ authorPrincipalId: {
23
+ type: import("@lssm/lib.schema").FieldType<string, string>;
24
+ isOptional: false;
25
+ };
26
+ connectionId: {
27
+ type: import("@lssm/lib.schema").FieldType<string, string>;
28
+ isOptional: true;
29
+ };
30
+ externalMessageId: {
31
+ type: import("@lssm/lib.schema").FieldType<string, string>;
32
+ isOptional: true;
33
+ };
34
+ body: {
35
+ type: import("@lssm/lib.schema").FieldType<string, string>;
36
+ isOptional: true;
37
+ };
38
+ encryptedEnvelope: {
39
+ type: import("@lssm/lib.schema").FieldType<Record<string, unknown>, Record<string, unknown>>;
40
+ isOptional: true;
41
+ };
42
+ attachments: {
43
+ type: import("@lssm/lib.schema").SchemaModel<{
44
+ id: {
45
+ type: import("@lssm/lib.schema").FieldType<string, string>;
46
+ isOptional: false;
47
+ };
48
+ name: {
49
+ type: import("@lssm/lib.schema").FieldType<string, string>;
50
+ isOptional: false;
51
+ };
52
+ mimeType: {
53
+ type: import("@lssm/lib.schema").FieldType<string, string>;
54
+ isOptional: false;
55
+ };
56
+ sizeBytes: {
57
+ type: import("@lssm/lib.schema").FieldType<number, number>;
58
+ isOptional: false;
59
+ };
60
+ sha256: {
61
+ type: import("@lssm/lib.schema").FieldType<string, string>;
62
+ isOptional: false;
63
+ };
64
+ createdAt: {
65
+ type: import("@lssm/lib.schema").FieldType<Date, string>;
66
+ isOptional: false;
67
+ };
68
+ }>;
69
+ isArray: true;
70
+ isOptional: true;
71
+ };
72
+ replyToMessageId: {
73
+ type: import("@lssm/lib.schema").FieldType<string, string>;
74
+ isOptional: true;
75
+ };
76
+ revision: {
77
+ type: import("@lssm/lib.schema").FieldType<number, number>;
78
+ isOptional: false;
79
+ };
80
+ deletedAt: {
81
+ type: import("@lssm/lib.schema").FieldType<Date, string>;
82
+ isOptional: true;
83
+ };
84
+ createdAt: {
85
+ type: import("@lssm/lib.schema").FieldType<Date, string>;
86
+ isOptional: false;
87
+ };
88
+ updatedAt: {
89
+ type: import("@lssm/lib.schema").FieldType<Date, string>;
90
+ isOptional: false;
91
+ };
92
+ }>, import("@lssm/lib.schema").SchemaModel<{
93
+ id: {
94
+ type: import("@lssm/lib.schema").FieldType<string, string>;
95
+ isOptional: false;
96
+ };
97
+ tenantId: {
98
+ type: import("@lssm/lib.schema").FieldType<string, string>;
99
+ isOptional: false;
100
+ };
101
+ workspaceId: {
102
+ type: import("@lssm/lib.schema").FieldType<string, string>;
103
+ isOptional: false;
104
+ };
105
+ spaceId: {
106
+ type: import("@lssm/lib.schema").FieldType<string, string>;
107
+ isOptional: false;
108
+ };
109
+ roomId: {
110
+ type: import("@lssm/lib.schema").FieldType<string, string>;
111
+ isOptional: false;
112
+ };
113
+ authorPrincipalId: {
114
+ type: import("@lssm/lib.schema").FieldType<string, string>;
115
+ isOptional: false;
116
+ };
117
+ connectionId: {
118
+ type: import("@lssm/lib.schema").FieldType<string, string>;
119
+ isOptional: true;
120
+ };
121
+ externalMessageId: {
122
+ type: import("@lssm/lib.schema").FieldType<string, string>;
123
+ isOptional: true;
124
+ };
125
+ body: {
126
+ type: import("@lssm/lib.schema").FieldType<string, string>;
127
+ isOptional: true;
128
+ };
129
+ encryptedEnvelope: {
130
+ type: import("@lssm/lib.schema").FieldType<Record<string, unknown>, Record<string, unknown>>;
131
+ isOptional: true;
132
+ };
133
+ attachments: {
134
+ type: import("@lssm/lib.schema").SchemaModel<{
135
+ id: {
136
+ type: import("@lssm/lib.schema").FieldType<string, string>;
137
+ isOptional: false;
138
+ };
139
+ name: {
140
+ type: import("@lssm/lib.schema").FieldType<string, string>;
141
+ isOptional: false;
142
+ };
143
+ mimeType: {
144
+ type: import("@lssm/lib.schema").FieldType<string, string>;
145
+ isOptional: false;
146
+ };
147
+ sizeBytes: {
148
+ type: import("@lssm/lib.schema").FieldType<number, number>;
149
+ isOptional: false;
150
+ };
151
+ sha256: {
152
+ type: import("@lssm/lib.schema").FieldType<string, string>;
153
+ isOptional: false;
154
+ };
155
+ createdAt: {
156
+ type: import("@lssm/lib.schema").FieldType<Date, string>;
157
+ isOptional: false;
158
+ };
159
+ }>;
160
+ isArray: true;
161
+ isOptional: true;
162
+ };
163
+ replyToMessageId: {
164
+ type: import("@lssm/lib.schema").FieldType<string, string>;
165
+ isOptional: true;
166
+ };
167
+ revision: {
168
+ type: import("@lssm/lib.schema").FieldType<number, number>;
169
+ isOptional: false;
170
+ };
171
+ deletedAt: {
172
+ type: import("@lssm/lib.schema").FieldType<Date, string>;
173
+ isOptional: true;
174
+ };
175
+ createdAt: {
176
+ type: import("@lssm/lib.schema").FieldType<Date, string>;
177
+ isOptional: false;
178
+ };
179
+ updatedAt: {
180
+ type: import("@lssm/lib.schema").FieldType<Date, string>;
181
+ isOptional: false;
182
+ };
183
+ }>, undefined>;
184
+ /**
185
+ * JSON-safe, authenticated send intent. Tenant and author authority are derived
186
+ * from the server session; clients may select only an already-authorized
187
+ * workspace, space, room, and optional connection.
188
+ */
189
+ export declare const SendCommunicationMessageV3Input: import("@lssm/lib.schema").SchemaModel<{
190
+ workspaceId: {
191
+ type: import("@lssm/lib.schema").FieldType<string, string>;
192
+ isOptional: false;
193
+ };
194
+ spaceId: {
195
+ type: import("@lssm/lib.schema").FieldType<string, string>;
196
+ isOptional: false;
197
+ };
198
+ roomId: {
199
+ type: import("@lssm/lib.schema").FieldType<string, string>;
200
+ isOptional: false;
201
+ };
202
+ connectionId: {
203
+ type: import("@lssm/lib.schema").FieldType<string, string>;
204
+ isOptional: true;
205
+ };
206
+ idempotencyKey: {
207
+ type: import("@lssm/lib.schema").FieldType<string, string>;
208
+ isOptional: false;
209
+ };
210
+ body: {
211
+ type: import("@lssm/lib.schema").FieldType<string, string>;
212
+ isOptional: true;
213
+ };
214
+ encryptedEnvelope: {
215
+ type: import("@lssm/lib.schema").FieldType<Record<string, unknown>, Record<string, unknown>>;
216
+ isOptional: true;
217
+ };
218
+ attachmentIds: {
219
+ type: import("@lssm/lib.schema").FieldType<string, string>;
220
+ isArray: true;
221
+ isOptional: true;
222
+ };
223
+ replyToMessageId: {
224
+ type: import("@lssm/lib.schema").FieldType<string, string>;
225
+ isOptional: true;
226
+ };
227
+ }>;
228
+ export declare const SendCommunicationMessageV3Command: import("@lssm/lib.contracts-spec").OperationSpec<import("@lssm/lib.schema").SchemaModel<{
229
+ workspaceId: {
230
+ type: import("@lssm/lib.schema").FieldType<string, string>;
231
+ isOptional: false;
232
+ };
233
+ spaceId: {
234
+ type: import("@lssm/lib.schema").FieldType<string, string>;
235
+ isOptional: false;
236
+ };
237
+ roomId: {
238
+ type: import("@lssm/lib.schema").FieldType<string, string>;
239
+ isOptional: false;
240
+ };
241
+ connectionId: {
242
+ type: import("@lssm/lib.schema").FieldType<string, string>;
243
+ isOptional: true;
244
+ };
245
+ idempotencyKey: {
246
+ type: import("@lssm/lib.schema").FieldType<string, string>;
247
+ isOptional: false;
248
+ };
249
+ body: {
250
+ type: import("@lssm/lib.schema").FieldType<string, string>;
251
+ isOptional: true;
252
+ };
253
+ encryptedEnvelope: {
254
+ type: import("@lssm/lib.schema").FieldType<Record<string, unknown>, Record<string, unknown>>;
255
+ isOptional: true;
256
+ };
257
+ attachmentIds: {
258
+ type: import("@lssm/lib.schema").FieldType<string, string>;
259
+ isArray: true;
260
+ isOptional: true;
261
+ };
262
+ replyToMessageId: {
263
+ type: import("@lssm/lib.schema").FieldType<string, string>;
264
+ isOptional: true;
265
+ };
266
+ }>, import("@lssm/lib.schema").SchemaModel<{
267
+ id: {
268
+ type: import("@lssm/lib.schema").FieldType<string, string>;
269
+ isOptional: false;
270
+ };
271
+ tenantId: {
272
+ type: import("@lssm/lib.schema").FieldType<string, string>;
273
+ isOptional: false;
274
+ };
275
+ workspaceId: {
276
+ type: import("@lssm/lib.schema").FieldType<string, string>;
277
+ isOptional: false;
278
+ };
279
+ spaceId: {
280
+ type: import("@lssm/lib.schema").FieldType<string, string>;
281
+ isOptional: false;
282
+ };
283
+ roomId: {
284
+ type: import("@lssm/lib.schema").FieldType<string, string>;
285
+ isOptional: false;
286
+ };
287
+ authorPrincipalId: {
288
+ type: import("@lssm/lib.schema").FieldType<string, string>;
289
+ isOptional: false;
290
+ };
291
+ connectionId: {
292
+ type: import("@lssm/lib.schema").FieldType<string, string>;
293
+ isOptional: true;
294
+ };
295
+ externalMessageId: {
296
+ type: import("@lssm/lib.schema").FieldType<string, string>;
297
+ isOptional: true;
298
+ };
299
+ body: {
300
+ type: import("@lssm/lib.schema").FieldType<string, string>;
301
+ isOptional: true;
302
+ };
303
+ encryptedEnvelope: {
304
+ type: import("@lssm/lib.schema").FieldType<Record<string, unknown>, Record<string, unknown>>;
305
+ isOptional: true;
306
+ };
307
+ attachments: {
308
+ type: import("@lssm/lib.schema").SchemaModel<{
309
+ id: {
310
+ type: import("@lssm/lib.schema").FieldType<string, string>;
311
+ isOptional: false;
312
+ };
313
+ name: {
314
+ type: import("@lssm/lib.schema").FieldType<string, string>;
315
+ isOptional: false;
316
+ };
317
+ mimeType: {
318
+ type: import("@lssm/lib.schema").FieldType<string, string>;
319
+ isOptional: false;
320
+ };
321
+ sizeBytes: {
322
+ type: import("@lssm/lib.schema").FieldType<number, number>;
323
+ isOptional: false;
324
+ };
325
+ sha256: {
326
+ type: import("@lssm/lib.schema").FieldType<string, string>;
327
+ isOptional: false;
328
+ };
329
+ createdAt: {
330
+ type: import("@lssm/lib.schema").FieldType<Date, string>;
331
+ isOptional: false;
332
+ };
333
+ }>;
334
+ isArray: true;
335
+ isOptional: true;
336
+ };
337
+ replyToMessageId: {
338
+ type: import("@lssm/lib.schema").FieldType<string, string>;
339
+ isOptional: true;
340
+ };
341
+ revision: {
342
+ type: import("@lssm/lib.schema").FieldType<number, number>;
343
+ isOptional: false;
344
+ };
345
+ deletedAt: {
346
+ type: import("@lssm/lib.schema").FieldType<Date, string>;
347
+ isOptional: true;
348
+ };
349
+ createdAt: {
350
+ type: import("@lssm/lib.schema").FieldType<Date, string>;
351
+ isOptional: false;
352
+ };
353
+ updatedAt: {
354
+ type: import("@lssm/lib.schema").FieldType<Date, string>;
355
+ isOptional: false;
356
+ };
357
+ }>, undefined>;
358
+ export declare const EditCommunicationMessageV2Command: import("@lssm/lib.contracts-spec").OperationSpec<import("@lssm/lib.schema").SchemaModel<{
359
+ tenantId: {
360
+ type: import("@lssm/lib.schema").FieldType<string, string>;
361
+ isOptional: false;
362
+ };
363
+ workspaceId: {
364
+ type: import("@lssm/lib.schema").FieldType<string, string>;
365
+ isOptional: false;
366
+ };
367
+ spaceId: {
368
+ type: import("@lssm/lib.schema").FieldType<string, string>;
369
+ isOptional: false;
370
+ };
371
+ roomId: {
372
+ type: import("@lssm/lib.schema").FieldType<string, string>;
373
+ isOptional: false;
374
+ };
375
+ messageId: {
376
+ type: import("@lssm/lib.schema").FieldType<string, string>;
377
+ isOptional: false;
378
+ };
379
+ actorPrincipalId: {
380
+ type: import("@lssm/lib.schema").FieldType<string, string>;
381
+ isOptional: false;
382
+ };
383
+ body: {
384
+ type: import("@lssm/lib.schema").FieldType<string, string>;
385
+ isOptional: true;
386
+ };
387
+ encryptedEnvelope: {
388
+ type: import("@lssm/lib.schema").FieldType<Record<string, unknown>, Record<string, unknown>>;
389
+ isOptional: true;
390
+ };
391
+ expectedRevision: {
392
+ type: import("@lssm/lib.schema").FieldType<number, number>;
393
+ isOptional: false;
394
+ };
395
+ }>, import("@lssm/lib.schema").SchemaModel<{
396
+ id: {
397
+ type: import("@lssm/lib.schema").FieldType<string, string>;
398
+ isOptional: false;
399
+ };
400
+ tenantId: {
401
+ type: import("@lssm/lib.schema").FieldType<string, string>;
402
+ isOptional: false;
403
+ };
404
+ workspaceId: {
405
+ type: import("@lssm/lib.schema").FieldType<string, string>;
406
+ isOptional: false;
407
+ };
408
+ spaceId: {
409
+ type: import("@lssm/lib.schema").FieldType<string, string>;
410
+ isOptional: false;
411
+ };
412
+ roomId: {
413
+ type: import("@lssm/lib.schema").FieldType<string, string>;
414
+ isOptional: false;
415
+ };
416
+ authorPrincipalId: {
417
+ type: import("@lssm/lib.schema").FieldType<string, string>;
418
+ isOptional: false;
419
+ };
420
+ connectionId: {
421
+ type: import("@lssm/lib.schema").FieldType<string, string>;
422
+ isOptional: true;
423
+ };
424
+ externalMessageId: {
425
+ type: import("@lssm/lib.schema").FieldType<string, string>;
426
+ isOptional: true;
427
+ };
428
+ body: {
429
+ type: import("@lssm/lib.schema").FieldType<string, string>;
430
+ isOptional: true;
431
+ };
432
+ encryptedEnvelope: {
433
+ type: import("@lssm/lib.schema").FieldType<Record<string, unknown>, Record<string, unknown>>;
434
+ isOptional: true;
435
+ };
436
+ attachments: {
437
+ type: import("@lssm/lib.schema").SchemaModel<{
438
+ id: {
439
+ type: import("@lssm/lib.schema").FieldType<string, string>;
440
+ isOptional: false;
441
+ };
442
+ name: {
443
+ type: import("@lssm/lib.schema").FieldType<string, string>;
444
+ isOptional: false;
445
+ };
446
+ mimeType: {
447
+ type: import("@lssm/lib.schema").FieldType<string, string>;
448
+ isOptional: false;
449
+ };
450
+ sizeBytes: {
451
+ type: import("@lssm/lib.schema").FieldType<number, number>;
452
+ isOptional: false;
453
+ };
454
+ sha256: {
455
+ type: import("@lssm/lib.schema").FieldType<string, string>;
456
+ isOptional: false;
457
+ };
458
+ createdAt: {
459
+ type: import("@lssm/lib.schema").FieldType<Date, string>;
460
+ isOptional: false;
461
+ };
462
+ }>;
463
+ isArray: true;
464
+ isOptional: true;
465
+ };
466
+ replyToMessageId: {
467
+ type: import("@lssm/lib.schema").FieldType<string, string>;
468
+ isOptional: true;
469
+ };
470
+ revision: {
471
+ type: import("@lssm/lib.schema").FieldType<number, number>;
472
+ isOptional: false;
473
+ };
474
+ deletedAt: {
475
+ type: import("@lssm/lib.schema").FieldType<Date, string>;
476
+ isOptional: true;
477
+ };
478
+ createdAt: {
479
+ type: import("@lssm/lib.schema").FieldType<Date, string>;
480
+ isOptional: false;
481
+ };
482
+ updatedAt: {
483
+ type: import("@lssm/lib.schema").FieldType<Date, string>;
484
+ isOptional: false;
485
+ };
486
+ }>, undefined>;
487
+ export declare const DeleteCommunicationMessageV2Command: import("@lssm/lib.contracts-spec").OperationSpec<import("@lssm/lib.schema").SchemaModel<{
488
+ tenantId: {
489
+ type: import("@lssm/lib.schema").FieldType<string, string>;
490
+ isOptional: false;
491
+ };
492
+ workspaceId: {
493
+ type: import("@lssm/lib.schema").FieldType<string, string>;
494
+ isOptional: false;
495
+ };
496
+ spaceId: {
497
+ type: import("@lssm/lib.schema").FieldType<string, string>;
498
+ isOptional: false;
499
+ };
500
+ roomId: {
501
+ type: import("@lssm/lib.schema").FieldType<string, string>;
502
+ isOptional: false;
503
+ };
504
+ messageId: {
505
+ type: import("@lssm/lib.schema").FieldType<string, string>;
506
+ isOptional: false;
507
+ };
508
+ actorPrincipalId: {
509
+ type: import("@lssm/lib.schema").FieldType<string, string>;
510
+ isOptional: false;
511
+ };
512
+ body: {
513
+ type: import("@lssm/lib.schema").FieldType<string, string>;
514
+ isOptional: true;
515
+ };
516
+ encryptedEnvelope: {
517
+ type: import("@lssm/lib.schema").FieldType<Record<string, unknown>, Record<string, unknown>>;
518
+ isOptional: true;
519
+ };
520
+ expectedRevision: {
521
+ type: import("@lssm/lib.schema").FieldType<number, number>;
522
+ isOptional: false;
523
+ };
524
+ }>, import("@lssm/lib.schema").SchemaModel<{
525
+ id: {
526
+ type: import("@lssm/lib.schema").FieldType<string, string>;
527
+ isOptional: false;
528
+ };
529
+ tenantId: {
530
+ type: import("@lssm/lib.schema").FieldType<string, string>;
531
+ isOptional: false;
532
+ };
533
+ workspaceId: {
534
+ type: import("@lssm/lib.schema").FieldType<string, string>;
535
+ isOptional: false;
536
+ };
537
+ spaceId: {
538
+ type: import("@lssm/lib.schema").FieldType<string, string>;
539
+ isOptional: false;
540
+ };
541
+ roomId: {
542
+ type: import("@lssm/lib.schema").FieldType<string, string>;
543
+ isOptional: false;
544
+ };
545
+ authorPrincipalId: {
546
+ type: import("@lssm/lib.schema").FieldType<string, string>;
547
+ isOptional: false;
548
+ };
549
+ connectionId: {
550
+ type: import("@lssm/lib.schema").FieldType<string, string>;
551
+ isOptional: true;
552
+ };
553
+ externalMessageId: {
554
+ type: import("@lssm/lib.schema").FieldType<string, string>;
555
+ isOptional: true;
556
+ };
557
+ body: {
558
+ type: import("@lssm/lib.schema").FieldType<string, string>;
559
+ isOptional: true;
560
+ };
561
+ encryptedEnvelope: {
562
+ type: import("@lssm/lib.schema").FieldType<Record<string, unknown>, Record<string, unknown>>;
563
+ isOptional: true;
564
+ };
565
+ attachments: {
566
+ type: import("@lssm/lib.schema").SchemaModel<{
567
+ id: {
568
+ type: import("@lssm/lib.schema").FieldType<string, string>;
569
+ isOptional: false;
570
+ };
571
+ name: {
572
+ type: import("@lssm/lib.schema").FieldType<string, string>;
573
+ isOptional: false;
574
+ };
575
+ mimeType: {
576
+ type: import("@lssm/lib.schema").FieldType<string, string>;
577
+ isOptional: false;
578
+ };
579
+ sizeBytes: {
580
+ type: import("@lssm/lib.schema").FieldType<number, number>;
581
+ isOptional: false;
582
+ };
583
+ sha256: {
584
+ type: import("@lssm/lib.schema").FieldType<string, string>;
585
+ isOptional: false;
586
+ };
587
+ createdAt: {
588
+ type: import("@lssm/lib.schema").FieldType<Date, string>;
589
+ isOptional: false;
590
+ };
591
+ }>;
592
+ isArray: true;
593
+ isOptional: true;
594
+ };
595
+ replyToMessageId: {
596
+ type: import("@lssm/lib.schema").FieldType<string, string>;
597
+ isOptional: true;
598
+ };
599
+ revision: {
600
+ type: import("@lssm/lib.schema").FieldType<number, number>;
601
+ isOptional: false;
602
+ };
603
+ deletedAt: {
604
+ type: import("@lssm/lib.schema").FieldType<Date, string>;
605
+ isOptional: true;
606
+ };
607
+ createdAt: {
608
+ type: import("@lssm/lib.schema").FieldType<Date, string>;
609
+ isOptional: false;
610
+ };
611
+ updatedAt: {
612
+ type: import("@lssm/lib.schema").FieldType<Date, string>;
613
+ isOptional: false;
614
+ };
615
+ }>, undefined>;
616
+ export declare const SetCommunicationReactionV2Command: import("@lssm/lib.contracts-spec").OperationSpec<import("@lssm/lib.schema").SchemaModel<{
617
+ tenantId: {
618
+ type: import("@lssm/lib.schema").FieldType<string, string>;
619
+ isOptional: false;
620
+ };
621
+ workspaceId: {
622
+ type: import("@lssm/lib.schema").FieldType<string, string>;
623
+ isOptional: false;
624
+ };
625
+ spaceId: {
626
+ type: import("@lssm/lib.schema").FieldType<string, string>;
627
+ isOptional: false;
628
+ };
629
+ roomId: {
630
+ type: import("@lssm/lib.schema").FieldType<string, string>;
631
+ isOptional: false;
632
+ };
633
+ messageId: {
634
+ type: import("@lssm/lib.schema").FieldType<string, string>;
635
+ isOptional: false;
636
+ };
637
+ principalId: {
638
+ type: import("@lssm/lib.schema").FieldType<string, string>;
639
+ isOptional: false;
640
+ };
641
+ reaction: {
642
+ type: import("@lssm/lib.schema").FieldType<string, string>;
643
+ isOptional: false;
644
+ };
645
+ active: {
646
+ type: import("@lssm/lib.schema").FieldType<boolean, boolean>;
647
+ isOptional: false;
648
+ };
649
+ }>, import("@lssm/lib.schema").SchemaModel<{
650
+ tenantId: {
651
+ type: import("@lssm/lib.schema").FieldType<string, string>;
652
+ isOptional: false;
653
+ };
654
+ workspaceId: {
655
+ type: import("@lssm/lib.schema").FieldType<string, string>;
656
+ isOptional: false;
657
+ };
658
+ spaceId: {
659
+ type: import("@lssm/lib.schema").FieldType<string, string>;
660
+ isOptional: false;
661
+ };
662
+ roomId: {
663
+ type: import("@lssm/lib.schema").FieldType<string, string>;
664
+ isOptional: false;
665
+ };
666
+ messageId: {
667
+ type: import("@lssm/lib.schema").FieldType<string, string>;
668
+ isOptional: false;
669
+ };
670
+ principalId: {
671
+ type: import("@lssm/lib.schema").FieldType<string, string>;
672
+ isOptional: false;
673
+ };
674
+ reaction: {
675
+ type: import("@lssm/lib.schema").FieldType<string, string>;
676
+ isOptional: false;
677
+ };
678
+ active: {
679
+ type: import("@lssm/lib.schema").FieldType<boolean, boolean>;
680
+ isOptional: false;
681
+ };
682
+ }>, undefined>;
683
+ export declare const RecordCommunicationReceiptV2Command: import("@lssm/lib.contracts-spec").OperationSpec<import("@lssm/lib.schema").SchemaModel<{
684
+ tenantId: {
685
+ type: import("@lssm/lib.schema").FieldType<string, string>;
686
+ isOptional: false;
687
+ };
688
+ workspaceId: {
689
+ type: import("@lssm/lib.schema").FieldType<string, string>;
690
+ isOptional: false;
691
+ };
692
+ spaceId: {
693
+ type: import("@lssm/lib.schema").FieldType<string, string>;
694
+ isOptional: false;
695
+ };
696
+ roomId: {
697
+ type: import("@lssm/lib.schema").FieldType<string, string>;
698
+ isOptional: false;
699
+ };
700
+ messageId: {
701
+ type: import("@lssm/lib.schema").FieldType<string, string>;
702
+ isOptional: false;
703
+ };
704
+ principalId: {
705
+ type: import("@lssm/lib.schema").FieldType<string, string>;
706
+ isOptional: false;
707
+ };
708
+ kind: {
709
+ type: import("@lssm/lib.schema").EnumType<[string, string]>;
710
+ isOptional: false;
711
+ };
712
+ occurredAt: {
713
+ type: import("@lssm/lib.schema").FieldType<Date, string>;
714
+ isOptional: false;
715
+ };
716
+ }>, import("@lssm/lib.schema").SchemaModel<{
717
+ tenantId: {
718
+ type: import("@lssm/lib.schema").FieldType<string, string>;
719
+ isOptional: false;
720
+ };
721
+ workspaceId: {
722
+ type: import("@lssm/lib.schema").FieldType<string, string>;
723
+ isOptional: false;
724
+ };
725
+ spaceId: {
726
+ type: import("@lssm/lib.schema").FieldType<string, string>;
727
+ isOptional: false;
728
+ };
729
+ roomId: {
730
+ type: import("@lssm/lib.schema").FieldType<string, string>;
731
+ isOptional: false;
732
+ };
733
+ messageId: {
734
+ type: import("@lssm/lib.schema").FieldType<string, string>;
735
+ isOptional: false;
736
+ };
737
+ principalId: {
738
+ type: import("@lssm/lib.schema").FieldType<string, string>;
739
+ isOptional: false;
740
+ };
741
+ kind: {
742
+ type: import("@lssm/lib.schema").EnumType<[string, string]>;
743
+ isOptional: false;
744
+ };
745
+ occurredAt: {
746
+ type: import("@lssm/lib.schema").FieldType<Date, string>;
747
+ isOptional: false;
748
+ };
749
+ }>, undefined>;
750
+ export declare const SetCommunicationInboxStateV2Command: import("@lssm/lib.contracts-spec").OperationSpec<import("@lssm/lib.schema").SchemaModel<{
751
+ tenantId: {
752
+ type: import("@lssm/lib.schema").FieldType<string, string>;
753
+ isOptional: false;
754
+ };
755
+ workspaceId: {
756
+ type: import("@lssm/lib.schema").FieldType<string, string>;
757
+ isOptional: false;
758
+ };
759
+ spaceId: {
760
+ type: import("@lssm/lib.schema").FieldType<string, string>;
761
+ isOptional: false;
762
+ };
763
+ roomId: {
764
+ type: import("@lssm/lib.schema").FieldType<string, string>;
765
+ isOptional: false;
766
+ };
767
+ principalId: {
768
+ type: import("@lssm/lib.schema").FieldType<string, string>;
769
+ isOptional: false;
770
+ };
771
+ pinned: {
772
+ type: import("@lssm/lib.schema").FieldType<boolean, boolean>;
773
+ isOptional: false;
774
+ };
775
+ archived: {
776
+ type: import("@lssm/lib.schema").FieldType<boolean, boolean>;
777
+ isOptional: false;
778
+ };
779
+ snoozedUntil: {
780
+ type: import("@lssm/lib.schema").FieldType<Date, string>;
781
+ isOptional: true;
782
+ };
783
+ reminderAt: {
784
+ type: import("@lssm/lib.schema").FieldType<Date, string>;
785
+ isOptional: true;
786
+ };
787
+ }>, import("@lssm/lib.schema").SchemaModel<{
788
+ tenantId: {
789
+ type: import("@lssm/lib.schema").FieldType<string, string>;
790
+ isOptional: false;
791
+ };
792
+ workspaceId: {
793
+ type: import("@lssm/lib.schema").FieldType<string, string>;
794
+ isOptional: false;
795
+ };
796
+ spaceId: {
797
+ type: import("@lssm/lib.schema").FieldType<string, string>;
798
+ isOptional: false;
799
+ };
800
+ roomId: {
801
+ type: import("@lssm/lib.schema").FieldType<string, string>;
802
+ isOptional: false;
803
+ };
804
+ principalId: {
805
+ type: import("@lssm/lib.schema").FieldType<string, string>;
806
+ isOptional: false;
807
+ };
808
+ pinned: {
809
+ type: import("@lssm/lib.schema").FieldType<boolean, boolean>;
810
+ isOptional: false;
811
+ };
812
+ archived: {
813
+ type: import("@lssm/lib.schema").FieldType<boolean, boolean>;
814
+ isOptional: false;
815
+ };
816
+ snoozedUntil: {
817
+ type: import("@lssm/lib.schema").FieldType<Date, string>;
818
+ isOptional: true;
819
+ };
820
+ reminderAt: {
821
+ type: import("@lssm/lib.schema").FieldType<Date, string>;
822
+ isOptional: true;
823
+ };
824
+ }>, undefined>;
825
+ export declare const SearchCommunicationMessagesV2Query: import("@lssm/lib.contracts-spec").OperationSpec<import("@lssm/lib.schema").SchemaModel<{
826
+ tenantId: {
827
+ type: import("@lssm/lib.schema").FieldType<string, string>;
828
+ isOptional: false;
829
+ };
830
+ workspaceId: {
831
+ type: import("@lssm/lib.schema").FieldType<string, string>;
832
+ isOptional: false;
833
+ };
834
+ spaceId: {
835
+ type: import("@lssm/lib.schema").FieldType<string, string>;
836
+ isOptional: false;
837
+ };
838
+ query: {
839
+ type: import("@lssm/lib.schema").FieldType<string, string>;
840
+ isOptional: false;
841
+ };
842
+ roomIds: {
843
+ type: import("@lssm/lib.schema").FieldType<string, string>;
844
+ isArray: true;
845
+ isOptional: true;
846
+ };
847
+ limit: {
848
+ type: import("@lssm/lib.schema").FieldType<number, number>;
849
+ isOptional: true;
850
+ };
851
+ }>, import("@lssm/lib.schema").SchemaModel<{
852
+ messages: {
853
+ type: import("@lssm/lib.schema").SchemaModel<{
854
+ id: {
855
+ type: import("@lssm/lib.schema").FieldType<string, string>;
856
+ isOptional: false;
857
+ };
858
+ tenantId: {
859
+ type: import("@lssm/lib.schema").FieldType<string, string>;
860
+ isOptional: false;
861
+ };
862
+ workspaceId: {
863
+ type: import("@lssm/lib.schema").FieldType<string, string>;
864
+ isOptional: false;
865
+ };
866
+ spaceId: {
867
+ type: import("@lssm/lib.schema").FieldType<string, string>;
868
+ isOptional: false;
869
+ };
870
+ roomId: {
871
+ type: import("@lssm/lib.schema").FieldType<string, string>;
872
+ isOptional: false;
873
+ };
874
+ authorPrincipalId: {
875
+ type: import("@lssm/lib.schema").FieldType<string, string>;
876
+ isOptional: false;
877
+ };
878
+ connectionId: {
879
+ type: import("@lssm/lib.schema").FieldType<string, string>;
880
+ isOptional: true;
881
+ };
882
+ externalMessageId: {
883
+ type: import("@lssm/lib.schema").FieldType<string, string>;
884
+ isOptional: true;
885
+ };
886
+ body: {
887
+ type: import("@lssm/lib.schema").FieldType<string, string>;
888
+ isOptional: true;
889
+ };
890
+ encryptedEnvelope: {
891
+ type: import("@lssm/lib.schema").FieldType<Record<string, unknown>, Record<string, unknown>>;
892
+ isOptional: true;
893
+ };
894
+ attachments: {
895
+ type: import("@lssm/lib.schema").SchemaModel<{
896
+ id: {
897
+ type: import("@lssm/lib.schema").FieldType<string, string>;
898
+ isOptional: false;
899
+ };
900
+ name: {
901
+ type: import("@lssm/lib.schema").FieldType<string, string>;
902
+ isOptional: false;
903
+ };
904
+ mimeType: {
905
+ type: import("@lssm/lib.schema").FieldType<string, string>;
906
+ isOptional: false;
907
+ };
908
+ sizeBytes: {
909
+ type: import("@lssm/lib.schema").FieldType<number, number>;
910
+ isOptional: false;
911
+ };
912
+ sha256: {
913
+ type: import("@lssm/lib.schema").FieldType<string, string>;
914
+ isOptional: false;
915
+ };
916
+ createdAt: {
917
+ type: import("@lssm/lib.schema").FieldType<Date, string>;
918
+ isOptional: false;
919
+ };
920
+ }>;
921
+ isArray: true;
922
+ isOptional: true;
923
+ };
924
+ replyToMessageId: {
925
+ type: import("@lssm/lib.schema").FieldType<string, string>;
926
+ isOptional: true;
927
+ };
928
+ revision: {
929
+ type: import("@lssm/lib.schema").FieldType<number, number>;
930
+ isOptional: false;
931
+ };
932
+ deletedAt: {
933
+ type: import("@lssm/lib.schema").FieldType<Date, string>;
934
+ isOptional: true;
935
+ };
936
+ createdAt: {
937
+ type: import("@lssm/lib.schema").FieldType<Date, string>;
938
+ isOptional: false;
939
+ };
940
+ updatedAt: {
941
+ type: import("@lssm/lib.schema").FieldType<Date, string>;
942
+ isOptional: false;
943
+ };
944
+ }>;
945
+ isArray: true;
946
+ isOptional: false;
947
+ };
948
+ nextCursor: {
949
+ type: import("@lssm/lib.schema").FieldType<string, string>;
950
+ isOptional: true;
951
+ };
952
+ }>, undefined>;
953
+ export declare const SearchCommunicationMessagesV3Query: import("@lssm/lib.contracts-spec").OperationSpec<import("@lssm/lib.schema").SchemaModel<{
954
+ workspaceId: {
955
+ type: import("@lssm/lib.schema").FieldType<string, string>;
956
+ isOptional: false;
957
+ };
958
+ spaceId: {
959
+ type: import("@lssm/lib.schema").FieldType<string, string>;
960
+ isOptional: false;
961
+ };
962
+ query: {
963
+ type: import("@lssm/lib.schema").FieldType<string, string>;
964
+ isOptional: false;
965
+ };
966
+ roomIds: {
967
+ type: import("@lssm/lib.schema").FieldType<string, string>;
968
+ isArray: true;
969
+ isOptional: true;
970
+ };
971
+ limit: {
972
+ type: import("@lssm/lib.schema").FieldType<number, number>;
973
+ isOptional: true;
974
+ };
975
+ }>, import("@lssm/lib.schema").SchemaModel<{
976
+ messages: {
977
+ type: import("@lssm/lib.schema").SchemaModel<{
978
+ id: {
979
+ type: import("@lssm/lib.schema").FieldType<string, string>;
980
+ isOptional: false;
981
+ };
982
+ tenantId: {
983
+ type: import("@lssm/lib.schema").FieldType<string, string>;
984
+ isOptional: false;
985
+ };
986
+ workspaceId: {
987
+ type: import("@lssm/lib.schema").FieldType<string, string>;
988
+ isOptional: false;
989
+ };
990
+ spaceId: {
991
+ type: import("@lssm/lib.schema").FieldType<string, string>;
992
+ isOptional: false;
993
+ };
994
+ roomId: {
995
+ type: import("@lssm/lib.schema").FieldType<string, string>;
996
+ isOptional: false;
997
+ };
998
+ authorPrincipalId: {
999
+ type: import("@lssm/lib.schema").FieldType<string, string>;
1000
+ isOptional: false;
1001
+ };
1002
+ connectionId: {
1003
+ type: import("@lssm/lib.schema").FieldType<string, string>;
1004
+ isOptional: true;
1005
+ };
1006
+ externalMessageId: {
1007
+ type: import("@lssm/lib.schema").FieldType<string, string>;
1008
+ isOptional: true;
1009
+ };
1010
+ body: {
1011
+ type: import("@lssm/lib.schema").FieldType<string, string>;
1012
+ isOptional: true;
1013
+ };
1014
+ encryptedEnvelope: {
1015
+ type: import("@lssm/lib.schema").FieldType<Record<string, unknown>, Record<string, unknown>>;
1016
+ isOptional: true;
1017
+ };
1018
+ attachments: {
1019
+ type: import("@lssm/lib.schema").SchemaModel<{
1020
+ id: {
1021
+ type: import("@lssm/lib.schema").FieldType<string, string>;
1022
+ isOptional: false;
1023
+ };
1024
+ name: {
1025
+ type: import("@lssm/lib.schema").FieldType<string, string>;
1026
+ isOptional: false;
1027
+ };
1028
+ mimeType: {
1029
+ type: import("@lssm/lib.schema").FieldType<string, string>;
1030
+ isOptional: false;
1031
+ };
1032
+ sizeBytes: {
1033
+ type: import("@lssm/lib.schema").FieldType<number, number>;
1034
+ isOptional: false;
1035
+ };
1036
+ sha256: {
1037
+ type: import("@lssm/lib.schema").FieldType<string, string>;
1038
+ isOptional: false;
1039
+ };
1040
+ createdAt: {
1041
+ type: import("@lssm/lib.schema").FieldType<Date, string>;
1042
+ isOptional: false;
1043
+ };
1044
+ }>;
1045
+ isArray: true;
1046
+ isOptional: true;
1047
+ };
1048
+ replyToMessageId: {
1049
+ type: import("@lssm/lib.schema").FieldType<string, string>;
1050
+ isOptional: true;
1051
+ };
1052
+ revision: {
1053
+ type: import("@lssm/lib.schema").FieldType<number, number>;
1054
+ isOptional: false;
1055
+ };
1056
+ deletedAt: {
1057
+ type: import("@lssm/lib.schema").FieldType<Date, string>;
1058
+ isOptional: true;
1059
+ };
1060
+ createdAt: {
1061
+ type: import("@lssm/lib.schema").FieldType<Date, string>;
1062
+ isOptional: false;
1063
+ };
1064
+ updatedAt: {
1065
+ type: import("@lssm/lib.schema").FieldType<Date, string>;
1066
+ isOptional: false;
1067
+ };
1068
+ }>;
1069
+ isArray: true;
1070
+ isOptional: false;
1071
+ };
1072
+ nextCursor: {
1073
+ type: import("@lssm/lib.schema").FieldType<string, string>;
1074
+ isOptional: true;
1075
+ };
1076
+ }>, undefined>;
1077
+ /** Retry acceptance is subject to current authority and exact semantic request binding. */
1078
+ export declare const COMMUNICATION_MESSAGE_REPLAY_CONTRACT: {
1079
+ readonly key: 'communication.message.replay-authority';
1080
+ readonly version: '1.0.0';
1081
+ readonly invariants: readonly ['Recheck current room membership and connection authority before returning a prior send result.', 'A request key cannot substitute principal, room, connection, text, subject, HTML, metadata, encryption envelope, reply target or attachment IDs.', 'Queued acceptance is not provider delivery.', 'Requested attachments require a complete resolved manifest; missing attachment support must not silently send an incomplete message.'];
1082
+ };
1083
+ export declare const COMMUNICATION_MESSAGE_QUEUE_CUSTODY_CONTRACT: {
1084
+ readonly key: 'communication.message.queue-custody';
1085
+ readonly version: '1.0.0';
1086
+ readonly invariants: readonly ['An external send requires a durable journal-and-outbox adapter before it can be accepted.', 'Queued acceptance requires an exact persisted delivery record for the accepted message, connection and scope.', 'Outbox-key conflicts cannot silently drop provider delivery or report false success.', 'Message delivery uses delivery:<send idempotency key>; alternate delivery keys cannot duplicate a prior accepted message.', 'Message identity allocated by an atomic journal replay remains the delivery target; retries do not refer to discarded candidate IDs.'];
1087
+ };
1088
+ export declare const COMMUNICATION_DELIVERY_REPROOF_CONTRACT: {
1089
+ readonly key: 'communication.delivery.context-reproof';
1090
+ readonly version: '1.0.0';
1091
+ readonly invariants: readonly ['Resolve the current delivery context before adapter access and again after provider health checks immediately before send.', 'Changed recipient, connection, credential binding, content, reply, attachment or routing metadata invalidates the pending send.', 'Missing or changed context yields a definitive rejection without invoking provider.send.', 'Journal delivery resolution requires current active sender membership and applicable agent grants; revoked or deleted messages cannot resolve for sending.', 'Context reproof supplements canonical Runtime Node authority and does not replace its approval or effect fence.'];
1092
+ };