@namzu/sdk 60.2.0 → 61.0.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 (178) hide show
  1. package/CHANGELOG.md +21 -0
  2. package/README.md +4 -4
  3. package/dist/account/registry.js +1 -1
  4. package/dist/account/registry.js.map +1 -1
  5. package/dist/config/registry.d.ts +2 -2
  6. package/dist/config/registry.d.ts.map +1 -1
  7. package/dist/config/runtime.d.ts +50 -644
  8. package/dist/config/runtime.d.ts.map +1 -1
  9. package/dist/config/runtime.js +1 -1
  10. package/dist/config/runtime.js.map +1 -1
  11. package/dist/connector/BaseConnector.d.ts +1 -1
  12. package/dist/connector/BaseConnector.d.ts.map +1 -1
  13. package/dist/connector/builtins/http.d.ts +2 -12
  14. package/dist/connector/builtins/http.d.ts.map +1 -1
  15. package/dist/connector/builtins/http.js +3 -3
  16. package/dist/connector/builtins/http.js.map +1 -1
  17. package/dist/connector/builtins/webhook.d.ts +2 -14
  18. package/dist/connector/builtins/webhook.d.ts.map +1 -1
  19. package/dist/connector/builtins/webhook.js +3 -3
  20. package/dist/connector/builtins/webhook.js.map +1 -1
  21. package/dist/connector/mcp/adapter.d.ts +2 -2
  22. package/dist/connector/mcp/adapter.d.ts.map +1 -1
  23. package/dist/connector/mcp/adapter.js +6 -4
  24. package/dist/connector/mcp/adapter.js.map +1 -1
  25. package/dist/connector/mcp/reconnect.d.ts +1 -11
  26. package/dist/connector/mcp/reconnect.d.ts.map +1 -1
  27. package/dist/connector/tools/adapter.d.ts +1 -11
  28. package/dist/connector/tools/adapter.d.ts.map +1 -1
  29. package/dist/connector/tools/adapter.js +1 -1
  30. package/dist/connector/tools/adapter.js.map +1 -1
  31. package/dist/connector/tools/definitions.js +1 -1
  32. package/dist/connector/tools/definitions.js.map +1 -1
  33. package/dist/contracts/a2a.d.ts +137 -1136
  34. package/dist/contracts/a2a.d.ts.map +1 -1
  35. package/dist/contracts/a2a.js +8 -8
  36. package/dist/contracts/a2a.js.map +1 -1
  37. package/dist/contracts/schemas.d.ts +7 -22
  38. package/dist/contracts/schemas.d.ts.map +1 -1
  39. package/dist/contracts/schemas.js +1 -1
  40. package/dist/contracts/schemas.js.map +1 -1
  41. package/dist/contracts/session/schemas.d.ts +35 -130
  42. package/dist/contracts/session/schemas.d.ts.map +1 -1
  43. package/dist/contracts/session/schemas.js +2 -2
  44. package/dist/contracts/session/schemas.js.map +1 -1
  45. package/dist/learning/cycle.d.ts +1 -12
  46. package/dist/learning/cycle.d.ts.map +1 -1
  47. package/dist/learning/experience.d.ts +15 -56
  48. package/dist/learning/experience.d.ts.map +1 -1
  49. package/dist/learning/observation.d.ts +13 -59
  50. package/dist/learning/observation.d.ts.map +1 -1
  51. package/dist/learning/skill.d.ts +41 -556
  52. package/dist/learning/skill.d.ts.map +1 -1
  53. package/dist/learning/store.js +1 -1
  54. package/dist/learning/store.js.map +1 -1
  55. package/dist/manager/resident/consumption.d.ts +12 -46
  56. package/dist/manager/resident/consumption.d.ts.map +1 -1
  57. package/dist/manager/resident/initiative.d.ts +3 -54
  58. package/dist/manager/resident/initiative.d.ts.map +1 -1
  59. package/dist/manager/resident/outbox.d.ts +14 -104
  60. package/dist/manager/resident/outbox.d.ts.map +1 -1
  61. package/dist/manager/resident/proposal.d.ts +6 -46
  62. package/dist/manager/resident/proposal.d.ts.map +1 -1
  63. package/dist/manager/resident/store.d.ts +14 -110
  64. package/dist/manager/resident/store.d.ts.map +1 -1
  65. package/dist/pals/activity/subscription-schema.d.ts +46 -295
  66. package/dist/pals/activity/subscription-schema.d.ts.map +1 -1
  67. package/dist/pals/channels/routing.d.ts +8 -8
  68. package/dist/pals/channels/schema.d.ts +38 -202
  69. package/dist/pals/channels/schema.d.ts.map +1 -1
  70. package/dist/pals/communication/ingress-schema.d.ts +721 -7198
  71. package/dist/pals/communication/ingress-schema.d.ts.map +1 -1
  72. package/dist/pals/communication/ingress-schema.js.map +1 -1
  73. package/dist/pals/communication/schema.d.ts +171 -1819
  74. package/dist/pals/communication/schema.d.ts.map +1 -1
  75. package/dist/peers/protocol.d.ts +136 -481
  76. package/dist/peers/protocol.d.ts.map +1 -1
  77. package/dist/peers/record.d.ts +24 -106
  78. package/dist/peers/record.d.ts.map +1 -1
  79. package/dist/registry/tool/dialect.d.ts +4 -4
  80. package/dist/registry/tool/dialect.js +4 -4
  81. package/dist/registry/tool/json-schema.d.ts +35 -0
  82. package/dist/registry/tool/json-schema.d.ts.map +1 -0
  83. package/dist/registry/tool/json-schema.js +40 -0
  84. package/dist/registry/tool/json-schema.js.map +1 -0
  85. package/dist/registry/tool/portable.js +2 -2
  86. package/dist/registry/tool/portable.js.map +1 -1
  87. package/dist/registry/tool/schema.d.ts.map +1 -1
  88. package/dist/registry/tool/schema.js +3 -6
  89. package/dist/registry/tool/schema.js.map +1 -1
  90. package/dist/runtime/query/iteration/index.d.ts.map +1 -1
  91. package/dist/runtime/query/iteration/index.js +3 -2
  92. package/dist/runtime/query/iteration/index.js.map +1 -1
  93. package/dist/runtime/query/request-void-turns.d.ts +19 -0
  94. package/dist/runtime/query/request-void-turns.d.ts.map +1 -0
  95. package/dist/runtime/query/request-void-turns.js +26 -0
  96. package/dist/runtime/query/request-void-turns.js.map +1 -0
  97. package/dist/store/evidence/index-page.d.ts +11 -42
  98. package/dist/store/evidence/index-page.d.ts.map +1 -1
  99. package/dist/store/evidence/search-input.d.ts +1 -1
  100. package/dist/store/evidence/search-input.d.ts.map +1 -1
  101. package/dist/store/evidence/selection.d.ts +1 -1
  102. package/dist/store/evidence/selection.d.ts.map +1 -1
  103. package/dist/store/evidence/source-text.d.ts +4 -25
  104. package/dist/store/evidence/source-text.d.ts.map +1 -1
  105. package/dist/tools/builtins/browser.d.ts +43 -267
  106. package/dist/tools/builtins/browser.d.ts.map +1 -1
  107. package/dist/tools/builtins/code-analysis.d.ts +7 -7
  108. package/dist/tools/builtins/computer-use.d.ts +138 -647
  109. package/dist/tools/builtins/computer-use.d.ts.map +1 -1
  110. package/dist/tools/builtins/edit.d.ts +5 -117
  111. package/dist/tools/builtins/edit.d.ts.map +1 -1
  112. package/dist/tools/builtins/grep.d.ts +4 -4
  113. package/dist/tools/builtins/lsp.d.ts +1 -1
  114. package/dist/tools/builtins/read-file.d.ts +2 -2
  115. package/dist/tools/builtins/skill.d.ts +2 -2
  116. package/dist/tools/builtins/view-image.d.ts +1 -5
  117. package/dist/tools/builtins/view-image.d.ts.map +1 -1
  118. package/dist/tools/builtins/wait-for-job.d.ts +2 -2
  119. package/dist/tools/builtins/web.d.ts +1 -1
  120. package/dist/tools/coordinator/index.d.ts.map +1 -1
  121. package/dist/tools/coordinator/index.js +1 -3
  122. package/dist/tools/coordinator/index.js.map +1 -1
  123. package/dist/tools/defineTool.js.map +1 -1
  124. package/dist/tools/memory/fields.d.ts +6 -1
  125. package/dist/tools/memory/fields.d.ts.map +1 -1
  126. package/dist/types/authorization/index.d.ts +82 -294
  127. package/dist/types/authorization/index.d.ts.map +1 -1
  128. package/dist/types/connector/core.d.ts +2 -2
  129. package/dist/types/connector/core.d.ts.map +1 -1
  130. package/dist/types/connector/definition.d.ts +1 -1
  131. package/dist/types/connector/definition.d.ts.map +1 -1
  132. package/dist/types/decision/index.d.ts +1 -9
  133. package/dist/types/decision/index.d.ts.map +1 -1
  134. package/dist/types/harness/schema.d.ts +121 -321
  135. package/dist/types/harness/schema.d.ts.map +1 -1
  136. package/dist/types/plugin/index.d.ts +14 -92
  137. package/dist/types/plugin/index.d.ts.map +1 -1
  138. package/dist/types/plugin/index.js +1 -1
  139. package/dist/types/plugin/index.js.map +1 -1
  140. package/dist/types/sandbox/index.d.ts +13 -47
  141. package/dist/types/sandbox/index.d.ts.map +1 -1
  142. package/dist/types/session/checkpoint.d.ts +22 -256
  143. package/dist/types/session/checkpoint.d.ts.map +1 -1
  144. package/dist/types/session/records.d.ts +889 -6072
  145. package/dist/types/session/records.d.ts.map +1 -1
  146. package/dist/types/session/records.js +2 -2
  147. package/dist/types/session/records.js.map +1 -1
  148. package/dist/types/tool/index.d.ts +1 -1
  149. package/dist/types/tool/index.d.ts.map +1 -1
  150. package/package.json +3 -5
  151. package/src/account/registry.ts +1 -1
  152. package/src/config/registry.ts +2 -2
  153. package/src/config/runtime.ts +1 -1
  154. package/src/connector/BaseConnector.ts +1 -1
  155. package/src/connector/builtins/http.ts +3 -3
  156. package/src/connector/builtins/webhook.ts +3 -3
  157. package/src/connector/mcp/adapter.ts +14 -9
  158. package/src/connector/tools/adapter.ts +1 -1
  159. package/src/connector/tools/definitions.ts +1 -1
  160. package/src/contracts/a2a.ts +8 -8
  161. package/src/contracts/schemas.ts +1 -1
  162. package/src/contracts/session/schemas.ts +2 -2
  163. package/src/learning/store.ts +1 -1
  164. package/src/pals/communication/ingress-schema.ts +1 -1
  165. package/src/registry/tool/dialect.ts +4 -4
  166. package/src/registry/tool/json-schema.ts +76 -0
  167. package/src/registry/tool/portable.ts +2 -2
  168. package/src/registry/tool/schema.ts +3 -6
  169. package/src/runtime/query/iteration/index.ts +3 -2
  170. package/src/runtime/query/request-void-turns.ts +28 -0
  171. package/src/tools/coordinator/index.ts +2 -4
  172. package/src/tools/defineTool.ts +1 -1
  173. package/src/types/connector/core.ts +2 -2
  174. package/src/types/connector/definition.ts +1 -1
  175. package/src/types/plugin/index.ts +1 -1
  176. package/src/types/session/checkpoint.ts +1 -1
  177. package/src/types/session/records.ts +4 -8
  178. package/src/types/tool/index.ts +1 -1
@@ -1,1994 +1,346 @@
1
1
  import { z } from 'zod';
2
2
  import type { MessageId, SessionId, TenantId, TurnId } from '../../types/ids/index.js';
3
3
  import type { PalAddress, PalMessageIntent, PalMessageSenderContext, PalRouteKey } from './types.js';
4
- export declare const label: z.ZodEffects<z.ZodString, string, string>;
4
+ export declare const label: z.ZodString;
5
5
  export declare const addressSchema: z.ZodObject<{
6
- tenantId: z.ZodType<TenantId, z.ZodTypeDef, TenantId>;
6
+ tenantId: z.ZodCustom<TenantId, TenantId>;
7
7
  palId: z.ZodString;
8
- }, "strict", z.ZodTypeAny, {
9
- tenantId: string & import("../../types/ids/brand.js").IdBrand<"TenantId">;
10
- palId: string;
11
- }, {
12
- tenantId: string & import("../../types/ids/brand.js").IdBrand<"TenantId">;
13
- palId: string;
14
- }>;
15
- export declare const routeKeySchema: z.ZodEffects<z.ZodObject<{
8
+ }, z.core.$strict>;
9
+ export declare const routeKeySchema: z.ZodObject<{
16
10
  v: z.ZodLiteral<1>;
17
11
  kind: z.ZodLiteral<"pal">;
18
12
  sender: z.ZodObject<{
19
- tenantId: z.ZodType<TenantId, z.ZodTypeDef, TenantId>;
13
+ tenantId: z.ZodCustom<TenantId, TenantId>;
20
14
  palId: z.ZodString;
21
- }, "strict", z.ZodTypeAny, {
22
- tenantId: string & import("../../types/ids/brand.js").IdBrand<"TenantId">;
23
- palId: string;
24
- }, {
25
- tenantId: string & import("../../types/ids/brand.js").IdBrand<"TenantId">;
26
- palId: string;
27
- }>;
28
- senderConversationId: z.ZodType<SessionId, z.ZodTypeDef, SessionId>;
15
+ }, z.core.$strict>;
16
+ senderConversationId: z.ZodCustom<SessionId, SessionId>;
29
17
  recipient: z.ZodObject<{
30
- tenantId: z.ZodType<TenantId, z.ZodTypeDef, TenantId>;
18
+ tenantId: z.ZodCustom<TenantId, TenantId>;
31
19
  palId: z.ZodString;
32
- }, "strict", z.ZodTypeAny, {
33
- tenantId: string & import("../../types/ids/brand.js").IdBrand<"TenantId">;
34
- palId: string;
35
- }, {
36
- tenantId: string & import("../../types/ids/brand.js").IdBrand<"TenantId">;
37
- palId: string;
38
- }>;
39
- dialogKey: z.ZodEffects<z.ZodString, string, string>;
40
- }, "strict", z.ZodTypeAny, {
41
- v: 1;
42
- kind: "pal";
43
- recipient: {
44
- tenantId: string & import("../../types/ids/brand.js").IdBrand<"TenantId">;
45
- palId: string;
46
- };
47
- sender: {
48
- tenantId: string & import("../../types/ids/brand.js").IdBrand<"TenantId">;
49
- palId: string;
50
- };
51
- senderConversationId: string & import("../../types/ids/brand.js").IdBrand<"SessionId">;
52
- dialogKey: string;
53
- }, {
54
- v: 1;
55
- kind: "pal";
56
- recipient: {
57
- tenantId: string & import("../../types/ids/brand.js").IdBrand<"TenantId">;
58
- palId: string;
59
- };
60
- sender: {
61
- tenantId: string & import("../../types/ids/brand.js").IdBrand<"TenantId">;
62
- palId: string;
63
- };
64
- senderConversationId: string & import("../../types/ids/brand.js").IdBrand<"SessionId">;
65
- dialogKey: string;
66
- }>, {
67
- v: 1;
68
- kind: "pal";
69
- recipient: {
70
- tenantId: string & import("../../types/ids/brand.js").IdBrand<"TenantId">;
71
- palId: string;
72
- };
73
- sender: {
74
- tenantId: string & import("../../types/ids/brand.js").IdBrand<"TenantId">;
75
- palId: string;
76
- };
77
- senderConversationId: string & import("../../types/ids/brand.js").IdBrand<"SessionId">;
78
- dialogKey: string;
79
- }, {
80
- v: 1;
81
- kind: "pal";
82
- recipient: {
83
- tenantId: string & import("../../types/ids/brand.js").IdBrand<"TenantId">;
84
- palId: string;
85
- };
86
- sender: {
87
- tenantId: string & import("../../types/ids/brand.js").IdBrand<"TenantId">;
88
- palId: string;
89
- };
90
- senderConversationId: string & import("../../types/ids/brand.js").IdBrand<"SessionId">;
91
- dialogKey: string;
92
- }>;
20
+ }, z.core.$strict>;
21
+ dialogKey: z.ZodString;
22
+ }, z.core.$strict>;
93
23
  export declare const sourceSchema: z.ZodObject<{
94
24
  address: z.ZodObject<{
95
- tenantId: z.ZodType<TenantId, z.ZodTypeDef, TenantId>;
25
+ tenantId: z.ZodCustom<TenantId, TenantId>;
96
26
  palId: z.ZodString;
97
- }, "strict", z.ZodTypeAny, {
98
- tenantId: string & import("../../types/ids/brand.js").IdBrand<"TenantId">;
99
- palId: string;
100
- }, {
101
- tenantId: string & import("../../types/ids/brand.js").IdBrand<"TenantId">;
102
- palId: string;
103
- }>;
104
- conversationId: z.ZodType<SessionId, z.ZodTypeDef, SessionId>;
27
+ }, z.core.$strict>;
28
+ conversationId: z.ZodCustom<SessionId, SessionId>;
105
29
  profileRevision: z.ZodNumber;
106
- }, "strict", z.ZodTypeAny, {
107
- address: {
108
- tenantId: string & import("../../types/ids/brand.js").IdBrand<"TenantId">;
109
- palId: string;
110
- };
111
- conversationId: string & import("../../types/ids/brand.js").IdBrand<"SessionId">;
112
- profileRevision: number;
113
- }, {
114
- address: {
115
- tenantId: string & import("../../types/ids/brand.js").IdBrand<"TenantId">;
116
- palId: string;
117
- };
118
- conversationId: string & import("../../types/ids/brand.js").IdBrand<"SessionId">;
119
- profileRevision: number;
120
- }>;
30
+ }, z.core.$strict>;
121
31
  export declare const sendRequestSchema: z.ZodObject<{
122
- operationId: z.ZodEffects<z.ZodString, string, string>;
32
+ operationId: z.ZodString;
123
33
  recipient: z.ZodObject<{
124
- tenantId: z.ZodType<TenantId, z.ZodTypeDef, TenantId>;
34
+ tenantId: z.ZodCustom<TenantId, TenantId>;
125
35
  palId: z.ZodString;
126
- }, "strict", z.ZodTypeAny, {
127
- tenantId: string & import("../../types/ids/brand.js").IdBrand<"TenantId">;
128
- palId: string;
129
- }, {
130
- tenantId: string & import("../../types/ids/brand.js").IdBrand<"TenantId">;
131
- palId: string;
132
- }>;
133
- body: z.ZodEffects<z.ZodString, string, string>;
134
- dialogKey: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
36
+ }, z.core.$strict>;
37
+ body: z.ZodString;
38
+ dialogKey: z.ZodOptional<z.ZodString>;
135
39
  replyTo: z.ZodOptional<z.ZodString>;
136
- }, "strict", z.ZodTypeAny, {
137
- operationId: string;
138
- body: string;
139
- recipient: {
140
- tenantId: string & import("../../types/ids/brand.js").IdBrand<"TenantId">;
141
- palId: string;
142
- };
143
- replyTo?: string | undefined;
144
- dialogKey?: string | undefined;
145
- }, {
146
- operationId: string;
147
- body: string;
148
- recipient: {
149
- tenantId: string & import("../../types/ids/brand.js").IdBrand<"TenantId">;
150
- palId: string;
151
- };
152
- replyTo?: string | undefined;
153
- dialogKey?: string | undefined;
154
- }>;
40
+ }, z.core.$strict>;
155
41
  export declare const intentSchema: z.ZodObject<{
156
42
  id: z.ZodString;
157
43
  digest: z.ZodString;
158
- operationId: z.ZodEffects<z.ZodString, string, string>;
44
+ operationId: z.ZodString;
159
45
  source: z.ZodObject<{
160
46
  address: z.ZodObject<{
161
- tenantId: z.ZodType<TenantId, z.ZodTypeDef, TenantId>;
47
+ tenantId: z.ZodCustom<TenantId, TenantId>;
162
48
  palId: z.ZodString;
163
- }, "strict", z.ZodTypeAny, {
164
- tenantId: string & import("../../types/ids/brand.js").IdBrand<"TenantId">;
165
- palId: string;
166
- }, {
167
- tenantId: string & import("../../types/ids/brand.js").IdBrand<"TenantId">;
168
- palId: string;
169
- }>;
170
- conversationId: z.ZodType<SessionId, z.ZodTypeDef, SessionId>;
49
+ }, z.core.$strict>;
50
+ conversationId: z.ZodCustom<SessionId, SessionId>;
171
51
  profileRevision: z.ZodNumber;
172
- }, "strict", z.ZodTypeAny, {
173
- address: {
174
- tenantId: string & import("../../types/ids/brand.js").IdBrand<"TenantId">;
175
- palId: string;
176
- };
177
- conversationId: string & import("../../types/ids/brand.js").IdBrand<"SessionId">;
178
- profileRevision: number;
179
- }, {
180
- address: {
181
- tenantId: string & import("../../types/ids/brand.js").IdBrand<"TenantId">;
182
- palId: string;
183
- };
184
- conversationId: string & import("../../types/ids/brand.js").IdBrand<"SessionId">;
185
- profileRevision: number;
186
- }>;
52
+ }, z.core.$strict>;
187
53
  recipient: z.ZodObject<{
188
- tenantId: z.ZodType<TenantId, z.ZodTypeDef, TenantId>;
54
+ tenantId: z.ZodCustom<TenantId, TenantId>;
189
55
  palId: z.ZodString;
190
- }, "strict", z.ZodTypeAny, {
191
- tenantId: string & import("../../types/ids/brand.js").IdBrand<"TenantId">;
192
- palId: string;
193
- }, {
194
- tenantId: string & import("../../types/ids/brand.js").IdBrand<"TenantId">;
195
- palId: string;
196
- }>;
197
- routeKey: z.ZodEffects<z.ZodObject<{
56
+ }, z.core.$strict>;
57
+ routeKey: z.ZodObject<{
198
58
  v: z.ZodLiteral<1>;
199
59
  kind: z.ZodLiteral<"pal">;
200
60
  sender: z.ZodObject<{
201
- tenantId: z.ZodType<TenantId, z.ZodTypeDef, TenantId>;
61
+ tenantId: z.ZodCustom<TenantId, TenantId>;
202
62
  palId: z.ZodString;
203
- }, "strict", z.ZodTypeAny, {
204
- tenantId: string & import("../../types/ids/brand.js").IdBrand<"TenantId">;
205
- palId: string;
206
- }, {
207
- tenantId: string & import("../../types/ids/brand.js").IdBrand<"TenantId">;
208
- palId: string;
209
- }>;
210
- senderConversationId: z.ZodType<SessionId, z.ZodTypeDef, SessionId>;
63
+ }, z.core.$strict>;
64
+ senderConversationId: z.ZodCustom<SessionId, SessionId>;
211
65
  recipient: z.ZodObject<{
212
- tenantId: z.ZodType<TenantId, z.ZodTypeDef, TenantId>;
66
+ tenantId: z.ZodCustom<TenantId, TenantId>;
213
67
  palId: z.ZodString;
214
- }, "strict", z.ZodTypeAny, {
215
- tenantId: string & import("../../types/ids/brand.js").IdBrand<"TenantId">;
216
- palId: string;
217
- }, {
218
- tenantId: string & import("../../types/ids/brand.js").IdBrand<"TenantId">;
219
- palId: string;
220
- }>;
221
- dialogKey: z.ZodEffects<z.ZodString, string, string>;
222
- }, "strict", z.ZodTypeAny, {
223
- v: 1;
224
- kind: "pal";
225
- recipient: {
226
- tenantId: string & import("../../types/ids/brand.js").IdBrand<"TenantId">;
227
- palId: string;
228
- };
229
- sender: {
230
- tenantId: string & import("../../types/ids/brand.js").IdBrand<"TenantId">;
231
- palId: string;
232
- };
233
- senderConversationId: string & import("../../types/ids/brand.js").IdBrand<"SessionId">;
234
- dialogKey: string;
235
- }, {
236
- v: 1;
237
- kind: "pal";
238
- recipient: {
239
- tenantId: string & import("../../types/ids/brand.js").IdBrand<"TenantId">;
240
- palId: string;
241
- };
242
- sender: {
243
- tenantId: string & import("../../types/ids/brand.js").IdBrand<"TenantId">;
244
- palId: string;
245
- };
246
- senderConversationId: string & import("../../types/ids/brand.js").IdBrand<"SessionId">;
247
- dialogKey: string;
248
- }>, {
249
- v: 1;
250
- kind: "pal";
251
- recipient: {
252
- tenantId: string & import("../../types/ids/brand.js").IdBrand<"TenantId">;
253
- palId: string;
254
- };
255
- sender: {
256
- tenantId: string & import("../../types/ids/brand.js").IdBrand<"TenantId">;
257
- palId: string;
258
- };
259
- senderConversationId: string & import("../../types/ids/brand.js").IdBrand<"SessionId">;
260
- dialogKey: string;
261
- }, {
262
- v: 1;
263
- kind: "pal";
264
- recipient: {
265
- tenantId: string & import("../../types/ids/brand.js").IdBrand<"TenantId">;
266
- palId: string;
267
- };
268
- sender: {
269
- tenantId: string & import("../../types/ids/brand.js").IdBrand<"TenantId">;
270
- palId: string;
271
- };
272
- senderConversationId: string & import("../../types/ids/brand.js").IdBrand<"SessionId">;
273
- dialogKey: string;
274
- }>;
275
- body: z.ZodEffects<z.ZodString, string, string>;
68
+ }, z.core.$strict>;
69
+ dialogKey: z.ZodString;
70
+ }, z.core.$strict>;
71
+ body: z.ZodString;
276
72
  replyTo: z.ZodNullable<z.ZodString>;
277
73
  grant: z.ZodObject<{
278
- id: z.ZodEffects<z.ZodString, string, string>;
279
- revision: z.ZodEffects<z.ZodString, string, string>;
280
- }, "strict", z.ZodTypeAny, {
281
- id: string;
282
- revision: string;
283
- }, {
284
- id: string;
285
- revision: string;
286
- }>;
74
+ id: z.ZodString;
75
+ revision: z.ZodString;
76
+ }, z.core.$strict>;
287
77
  createdAt: z.ZodNumber;
288
- }, "strict", z.ZodTypeAny, {
289
- id: string;
290
- operationId: string;
291
- digest: string;
292
- createdAt: number;
293
- source: {
294
- address: {
295
- tenantId: string & import("../../types/ids/brand.js").IdBrand<"TenantId">;
296
- palId: string;
297
- };
298
- conversationId: string & import("../../types/ids/brand.js").IdBrand<"SessionId">;
299
- profileRevision: number;
300
- };
301
- body: string;
302
- grant: {
303
- id: string;
304
- revision: string;
305
- };
306
- recipient: {
307
- tenantId: string & import("../../types/ids/brand.js").IdBrand<"TenantId">;
308
- palId: string;
309
- };
310
- routeKey: {
311
- v: 1;
312
- kind: "pal";
313
- recipient: {
314
- tenantId: string & import("../../types/ids/brand.js").IdBrand<"TenantId">;
315
- palId: string;
316
- };
317
- sender: {
318
- tenantId: string & import("../../types/ids/brand.js").IdBrand<"TenantId">;
319
- palId: string;
320
- };
321
- senderConversationId: string & import("../../types/ids/brand.js").IdBrand<"SessionId">;
322
- dialogKey: string;
323
- };
324
- replyTo: string | null;
325
- }, {
326
- id: string;
327
- operationId: string;
328
- digest: string;
329
- createdAt: number;
330
- source: {
331
- address: {
332
- tenantId: string & import("../../types/ids/brand.js").IdBrand<"TenantId">;
333
- palId: string;
334
- };
335
- conversationId: string & import("../../types/ids/brand.js").IdBrand<"SessionId">;
336
- profileRevision: number;
337
- };
338
- body: string;
339
- grant: {
340
- id: string;
341
- revision: string;
342
- };
343
- recipient: {
344
- tenantId: string & import("../../types/ids/brand.js").IdBrand<"TenantId">;
345
- palId: string;
346
- };
347
- routeKey: {
348
- v: 1;
349
- kind: "pal";
350
- recipient: {
351
- tenantId: string & import("../../types/ids/brand.js").IdBrand<"TenantId">;
352
- palId: string;
353
- };
354
- sender: {
355
- tenantId: string & import("../../types/ids/brand.js").IdBrand<"TenantId">;
356
- palId: string;
357
- };
358
- senderConversationId: string & import("../../types/ids/brand.js").IdBrand<"SessionId">;
359
- dialogKey: string;
360
- };
361
- replyTo: string | null;
362
- }>;
78
+ }, z.core.$strict>;
363
79
  export declare const operationReservationSchema: z.ZodObject<{
364
80
  revision: z.ZodLiteral<1>;
365
81
  intent: z.ZodObject<{
366
82
  id: z.ZodString;
367
83
  digest: z.ZodString;
368
- operationId: z.ZodEffects<z.ZodString, string, string>;
84
+ operationId: z.ZodString;
369
85
  source: z.ZodObject<{
370
86
  address: z.ZodObject<{
371
- tenantId: z.ZodType<TenantId, z.ZodTypeDef, TenantId>;
87
+ tenantId: z.ZodCustom<TenantId, TenantId>;
372
88
  palId: z.ZodString;
373
- }, "strict", z.ZodTypeAny, {
374
- tenantId: string & import("../../types/ids/brand.js").IdBrand<"TenantId">;
375
- palId: string;
376
- }, {
377
- tenantId: string & import("../../types/ids/brand.js").IdBrand<"TenantId">;
378
- palId: string;
379
- }>;
380
- conversationId: z.ZodType<SessionId, z.ZodTypeDef, SessionId>;
89
+ }, z.core.$strict>;
90
+ conversationId: z.ZodCustom<SessionId, SessionId>;
381
91
  profileRevision: z.ZodNumber;
382
- }, "strict", z.ZodTypeAny, {
383
- address: {
384
- tenantId: string & import("../../types/ids/brand.js").IdBrand<"TenantId">;
385
- palId: string;
386
- };
387
- conversationId: string & import("../../types/ids/brand.js").IdBrand<"SessionId">;
388
- profileRevision: number;
389
- }, {
390
- address: {
391
- tenantId: string & import("../../types/ids/brand.js").IdBrand<"TenantId">;
392
- palId: string;
393
- };
394
- conversationId: string & import("../../types/ids/brand.js").IdBrand<"SessionId">;
395
- profileRevision: number;
396
- }>;
92
+ }, z.core.$strict>;
397
93
  recipient: z.ZodObject<{
398
- tenantId: z.ZodType<TenantId, z.ZodTypeDef, TenantId>;
94
+ tenantId: z.ZodCustom<TenantId, TenantId>;
399
95
  palId: z.ZodString;
400
- }, "strict", z.ZodTypeAny, {
401
- tenantId: string & import("../../types/ids/brand.js").IdBrand<"TenantId">;
402
- palId: string;
403
- }, {
404
- tenantId: string & import("../../types/ids/brand.js").IdBrand<"TenantId">;
405
- palId: string;
406
- }>;
407
- routeKey: z.ZodEffects<z.ZodObject<{
96
+ }, z.core.$strict>;
97
+ routeKey: z.ZodObject<{
408
98
  v: z.ZodLiteral<1>;
409
99
  kind: z.ZodLiteral<"pal">;
410
100
  sender: z.ZodObject<{
411
- tenantId: z.ZodType<TenantId, z.ZodTypeDef, TenantId>;
101
+ tenantId: z.ZodCustom<TenantId, TenantId>;
412
102
  palId: z.ZodString;
413
- }, "strict", z.ZodTypeAny, {
414
- tenantId: string & import("../../types/ids/brand.js").IdBrand<"TenantId">;
415
- palId: string;
416
- }, {
417
- tenantId: string & import("../../types/ids/brand.js").IdBrand<"TenantId">;
418
- palId: string;
419
- }>;
420
- senderConversationId: z.ZodType<SessionId, z.ZodTypeDef, SessionId>;
103
+ }, z.core.$strict>;
104
+ senderConversationId: z.ZodCustom<SessionId, SessionId>;
421
105
  recipient: z.ZodObject<{
422
- tenantId: z.ZodType<TenantId, z.ZodTypeDef, TenantId>;
106
+ tenantId: z.ZodCustom<TenantId, TenantId>;
423
107
  palId: z.ZodString;
424
- }, "strict", z.ZodTypeAny, {
425
- tenantId: string & import("../../types/ids/brand.js").IdBrand<"TenantId">;
426
- palId: string;
427
- }, {
428
- tenantId: string & import("../../types/ids/brand.js").IdBrand<"TenantId">;
429
- palId: string;
430
- }>;
431
- dialogKey: z.ZodEffects<z.ZodString, string, string>;
432
- }, "strict", z.ZodTypeAny, {
433
- v: 1;
434
- kind: "pal";
435
- recipient: {
436
- tenantId: string & import("../../types/ids/brand.js").IdBrand<"TenantId">;
437
- palId: string;
438
- };
439
- sender: {
440
- tenantId: string & import("../../types/ids/brand.js").IdBrand<"TenantId">;
441
- palId: string;
442
- };
443
- senderConversationId: string & import("../../types/ids/brand.js").IdBrand<"SessionId">;
444
- dialogKey: string;
445
- }, {
446
- v: 1;
447
- kind: "pal";
448
- recipient: {
449
- tenantId: string & import("../../types/ids/brand.js").IdBrand<"TenantId">;
450
- palId: string;
451
- };
452
- sender: {
453
- tenantId: string & import("../../types/ids/brand.js").IdBrand<"TenantId">;
454
- palId: string;
455
- };
456
- senderConversationId: string & import("../../types/ids/brand.js").IdBrand<"SessionId">;
457
- dialogKey: string;
458
- }>, {
459
- v: 1;
460
- kind: "pal";
461
- recipient: {
462
- tenantId: string & import("../../types/ids/brand.js").IdBrand<"TenantId">;
463
- palId: string;
464
- };
465
- sender: {
466
- tenantId: string & import("../../types/ids/brand.js").IdBrand<"TenantId">;
467
- palId: string;
468
- };
469
- senderConversationId: string & import("../../types/ids/brand.js").IdBrand<"SessionId">;
470
- dialogKey: string;
471
- }, {
472
- v: 1;
473
- kind: "pal";
474
- recipient: {
475
- tenantId: string & import("../../types/ids/brand.js").IdBrand<"TenantId">;
476
- palId: string;
477
- };
478
- sender: {
479
- tenantId: string & import("../../types/ids/brand.js").IdBrand<"TenantId">;
480
- palId: string;
481
- };
482
- senderConversationId: string & import("../../types/ids/brand.js").IdBrand<"SessionId">;
483
- dialogKey: string;
484
- }>;
485
- body: z.ZodEffects<z.ZodString, string, string>;
108
+ }, z.core.$strict>;
109
+ dialogKey: z.ZodString;
110
+ }, z.core.$strict>;
111
+ body: z.ZodString;
486
112
  replyTo: z.ZodNullable<z.ZodString>;
487
113
  grant: z.ZodObject<{
488
- id: z.ZodEffects<z.ZodString, string, string>;
489
- revision: z.ZodEffects<z.ZodString, string, string>;
490
- }, "strict", z.ZodTypeAny, {
491
- id: string;
492
- revision: string;
493
- }, {
494
- id: string;
495
- revision: string;
496
- }>;
114
+ id: z.ZodString;
115
+ revision: z.ZodString;
116
+ }, z.core.$strict>;
497
117
  createdAt: z.ZodNumber;
498
- }, "strict", z.ZodTypeAny, {
499
- id: string;
500
- operationId: string;
501
- digest: string;
502
- createdAt: number;
503
- source: {
504
- address: {
505
- tenantId: string & import("../../types/ids/brand.js").IdBrand<"TenantId">;
506
- palId: string;
507
- };
508
- conversationId: string & import("../../types/ids/brand.js").IdBrand<"SessionId">;
509
- profileRevision: number;
510
- };
511
- body: string;
512
- grant: {
513
- id: string;
514
- revision: string;
515
- };
516
- recipient: {
517
- tenantId: string & import("../../types/ids/brand.js").IdBrand<"TenantId">;
518
- palId: string;
519
- };
520
- routeKey: {
521
- v: 1;
522
- kind: "pal";
523
- recipient: {
524
- tenantId: string & import("../../types/ids/brand.js").IdBrand<"TenantId">;
525
- palId: string;
526
- };
527
- sender: {
528
- tenantId: string & import("../../types/ids/brand.js").IdBrand<"TenantId">;
529
- palId: string;
530
- };
531
- senderConversationId: string & import("../../types/ids/brand.js").IdBrand<"SessionId">;
532
- dialogKey: string;
533
- };
534
- replyTo: string | null;
535
- }, {
536
- id: string;
537
- operationId: string;
538
- digest: string;
539
- createdAt: number;
540
- source: {
541
- address: {
542
- tenantId: string & import("../../types/ids/brand.js").IdBrand<"TenantId">;
543
- palId: string;
544
- };
545
- conversationId: string & import("../../types/ids/brand.js").IdBrand<"SessionId">;
546
- profileRevision: number;
547
- };
548
- body: string;
549
- grant: {
550
- id: string;
551
- revision: string;
552
- };
553
- recipient: {
554
- tenantId: string & import("../../types/ids/brand.js").IdBrand<"TenantId">;
555
- palId: string;
556
- };
557
- routeKey: {
558
- v: 1;
559
- kind: "pal";
560
- recipient: {
561
- tenantId: string & import("../../types/ids/brand.js").IdBrand<"TenantId">;
562
- palId: string;
563
- };
564
- sender: {
565
- tenantId: string & import("../../types/ids/brand.js").IdBrand<"TenantId">;
566
- palId: string;
567
- };
568
- senderConversationId: string & import("../../types/ids/brand.js").IdBrand<"SessionId">;
569
- dialogKey: string;
570
- };
571
- replyTo: string | null;
572
- }>;
118
+ }, z.core.$strict>;
573
119
  recipientRevision: z.ZodNumber;
574
- conversationId: z.ZodNullable<z.ZodType<SessionId, z.ZodTypeDef, SessionId>>;
575
- }, "strip", z.ZodTypeAny, {
576
- revision: 1;
577
- conversationId: SessionId | null;
578
- intent: {
579
- id: string;
580
- operationId: string;
581
- digest: string;
582
- createdAt: number;
583
- source: {
584
- address: {
585
- tenantId: string & import("../../types/ids/brand.js").IdBrand<"TenantId">;
586
- palId: string;
587
- };
588
- conversationId: string & import("../../types/ids/brand.js").IdBrand<"SessionId">;
589
- profileRevision: number;
590
- };
591
- body: string;
592
- grant: {
593
- id: string;
594
- revision: string;
595
- };
596
- recipient: {
597
- tenantId: string & import("../../types/ids/brand.js").IdBrand<"TenantId">;
598
- palId: string;
599
- };
600
- routeKey: {
601
- v: 1;
602
- kind: "pal";
603
- recipient: {
604
- tenantId: string & import("../../types/ids/brand.js").IdBrand<"TenantId">;
605
- palId: string;
606
- };
607
- sender: {
608
- tenantId: string & import("../../types/ids/brand.js").IdBrand<"TenantId">;
609
- palId: string;
610
- };
611
- senderConversationId: string & import("../../types/ids/brand.js").IdBrand<"SessionId">;
612
- dialogKey: string;
613
- };
614
- replyTo: string | null;
615
- };
616
- recipientRevision: number;
617
- }, {
618
- revision: 1;
619
- conversationId: SessionId | null;
620
- intent: {
621
- id: string;
622
- operationId: string;
623
- digest: string;
624
- createdAt: number;
625
- source: {
626
- address: {
627
- tenantId: string & import("../../types/ids/brand.js").IdBrand<"TenantId">;
628
- palId: string;
629
- };
630
- conversationId: string & import("../../types/ids/brand.js").IdBrand<"SessionId">;
631
- profileRevision: number;
632
- };
633
- body: string;
634
- grant: {
635
- id: string;
636
- revision: string;
637
- };
638
- recipient: {
639
- tenantId: string & import("../../types/ids/brand.js").IdBrand<"TenantId">;
640
- palId: string;
641
- };
642
- routeKey: {
643
- v: 1;
644
- kind: "pal";
645
- recipient: {
646
- tenantId: string & import("../../types/ids/brand.js").IdBrand<"TenantId">;
647
- palId: string;
648
- };
649
- sender: {
650
- tenantId: string & import("../../types/ids/brand.js").IdBrand<"TenantId">;
651
- palId: string;
652
- };
653
- senderConversationId: string & import("../../types/ids/brand.js").IdBrand<"SessionId">;
654
- dialogKey: string;
655
- };
656
- replyTo: string | null;
657
- };
658
- recipientRevision: number;
659
- }>;
120
+ conversationId: z.ZodNullable<z.ZodCustom<SessionId, SessionId>>;
121
+ }, z.core.$strip>;
660
122
  export declare const bindingSchema: z.ZodObject<{
661
123
  id: z.ZodString;
662
- key: z.ZodEffects<z.ZodObject<{
124
+ key: z.ZodObject<{
663
125
  v: z.ZodLiteral<1>;
664
126
  kind: z.ZodLiteral<"pal">;
665
127
  sender: z.ZodObject<{
666
- tenantId: z.ZodType<TenantId, z.ZodTypeDef, TenantId>;
128
+ tenantId: z.ZodCustom<TenantId, TenantId>;
667
129
  palId: z.ZodString;
668
- }, "strict", z.ZodTypeAny, {
669
- tenantId: string & import("../../types/ids/brand.js").IdBrand<"TenantId">;
670
- palId: string;
671
- }, {
672
- tenantId: string & import("../../types/ids/brand.js").IdBrand<"TenantId">;
673
- palId: string;
674
- }>;
675
- senderConversationId: z.ZodType<SessionId, z.ZodTypeDef, SessionId>;
130
+ }, z.core.$strict>;
131
+ senderConversationId: z.ZodCustom<SessionId, SessionId>;
676
132
  recipient: z.ZodObject<{
677
- tenantId: z.ZodType<TenantId, z.ZodTypeDef, TenantId>;
133
+ tenantId: z.ZodCustom<TenantId, TenantId>;
678
134
  palId: z.ZodString;
679
- }, "strict", z.ZodTypeAny, {
680
- tenantId: string & import("../../types/ids/brand.js").IdBrand<"TenantId">;
681
- palId: string;
682
- }, {
683
- tenantId: string & import("../../types/ids/brand.js").IdBrand<"TenantId">;
684
- palId: string;
685
- }>;
686
- dialogKey: z.ZodEffects<z.ZodString, string, string>;
687
- }, "strict", z.ZodTypeAny, {
688
- v: 1;
689
- kind: "pal";
690
- recipient: {
691
- tenantId: string & import("../../types/ids/brand.js").IdBrand<"TenantId">;
692
- palId: string;
693
- };
694
- sender: {
695
- tenantId: string & import("../../types/ids/brand.js").IdBrand<"TenantId">;
696
- palId: string;
697
- };
698
- senderConversationId: string & import("../../types/ids/brand.js").IdBrand<"SessionId">;
699
- dialogKey: string;
700
- }, {
701
- v: 1;
702
- kind: "pal";
703
- recipient: {
704
- tenantId: string & import("../../types/ids/brand.js").IdBrand<"TenantId">;
705
- palId: string;
706
- };
707
- sender: {
708
- tenantId: string & import("../../types/ids/brand.js").IdBrand<"TenantId">;
709
- palId: string;
710
- };
711
- senderConversationId: string & import("../../types/ids/brand.js").IdBrand<"SessionId">;
712
- dialogKey: string;
713
- }>, {
714
- v: 1;
715
- kind: "pal";
716
- recipient: {
717
- tenantId: string & import("../../types/ids/brand.js").IdBrand<"TenantId">;
718
- palId: string;
719
- };
720
- sender: {
721
- tenantId: string & import("../../types/ids/brand.js").IdBrand<"TenantId">;
722
- palId: string;
723
- };
724
- senderConversationId: string & import("../../types/ids/brand.js").IdBrand<"SessionId">;
725
- dialogKey: string;
726
- }, {
727
- v: 1;
728
- kind: "pal";
729
- recipient: {
730
- tenantId: string & import("../../types/ids/brand.js").IdBrand<"TenantId">;
731
- palId: string;
732
- };
733
- sender: {
734
- tenantId: string & import("../../types/ids/brand.js").IdBrand<"TenantId">;
735
- palId: string;
736
- };
737
- senderConversationId: string & import("../../types/ids/brand.js").IdBrand<"SessionId">;
738
- dialogKey: string;
739
- }>;
740
- sessionId: z.ZodType<SessionId, z.ZodTypeDef, SessionId>;
135
+ }, z.core.$strict>;
136
+ dialogKey: z.ZodString;
137
+ }, z.core.$strict>;
138
+ sessionId: z.ZodCustom<SessionId, SessionId>;
741
139
  profileRevision: z.ZodNumber;
742
140
  revision: z.ZodNumber;
743
- phase: z.ZodEnum<["reserved", "active"]>;
744
- }, "strip", z.ZodTypeAny, {
745
- key: {
746
- v: 1;
747
- kind: "pal";
748
- recipient: {
749
- tenantId: string & import("../../types/ids/brand.js").IdBrand<"TenantId">;
750
- palId: string;
751
- };
752
- sender: {
753
- tenantId: string & import("../../types/ids/brand.js").IdBrand<"TenantId">;
754
- palId: string;
755
- };
756
- senderConversationId: string & import("../../types/ids/brand.js").IdBrand<"SessionId">;
757
- dialogKey: string;
758
- };
759
- id: string;
760
- phase: "active" | "reserved";
761
- sessionId: string & import("../../types/ids/brand.js").IdBrand<"SessionId">;
762
- revision: number;
763
- profileRevision: number;
764
- }, {
765
- key: {
766
- v: 1;
767
- kind: "pal";
768
- recipient: {
769
- tenantId: string & import("../../types/ids/brand.js").IdBrand<"TenantId">;
770
- palId: string;
771
- };
772
- sender: {
773
- tenantId: string & import("../../types/ids/brand.js").IdBrand<"TenantId">;
774
- palId: string;
775
- };
776
- senderConversationId: string & import("../../types/ids/brand.js").IdBrand<"SessionId">;
777
- dialogKey: string;
778
- };
779
- id: string;
780
- phase: "active" | "reserved";
781
- sessionId: string & import("../../types/ids/brand.js").IdBrand<"SessionId">;
782
- revision: number;
783
- profileRevision: number;
784
- }>;
141
+ phase: z.ZodEnum<{
142
+ active: "active";
143
+ reserved: "reserved";
144
+ }>;
145
+ }, z.core.$strip>;
785
146
  export declare const receiptSchema: z.ZodObject<{
786
147
  claimId: z.ZodString;
787
148
  ref: z.ZodObject<{
788
149
  namespace: z.ZodLiteral<"namzu-pal-message/1">;
789
150
  id: z.ZodString;
790
151
  digest: z.ZodString;
791
- }, "strict", z.ZodTypeAny, {
792
- id: string;
793
- digest: string;
794
- namespace: "namzu-pal-message/1";
795
- }, {
796
- id: string;
797
- digest: string;
798
- namespace: "namzu-pal-message/1";
799
- }>;
800
- sessionId: z.ZodType<SessionId, z.ZodTypeDef, SessionId>;
801
- turnId: z.ZodType<TurnId, z.ZodTypeDef, TurnId>;
802
- messageId: z.ZodType<MessageId, z.ZodTypeDef, MessageId>;
152
+ }, z.core.$strict>;
153
+ sessionId: z.ZodCustom<SessionId, SessionId>;
154
+ turnId: z.ZodCustom<TurnId, TurnId>;
155
+ messageId: z.ZodCustom<MessageId, MessageId>;
803
156
  through: z.ZodObject<{
804
157
  pointer: z.ZodObject<{
805
158
  seq: z.ZodNumber;
806
159
  offset: z.ZodNumber;
807
160
  length: z.ZodNumber;
808
161
  sha256: z.ZodString;
809
- }, "strict", z.ZodTypeAny, {
810
- length: number;
811
- sha256: string;
812
- offset: number;
813
- seq: number;
814
- }, {
815
- length: number;
816
- sha256: string;
817
- offset: number;
818
- seq: number;
819
- }>;
162
+ }, z.core.$strict>;
820
163
  gen: z.ZodNumber;
821
164
  bytes: z.ZodNumber;
822
- }, "strict", z.ZodTypeAny, {
823
- gen: number;
824
- bytes: number;
825
- pointer: {
826
- length: number;
827
- sha256: string;
828
- offset: number;
829
- seq: number;
830
- };
831
- }, {
832
- gen: number;
833
- bytes: number;
834
- pointer: {
835
- length: number;
836
- sha256: string;
837
- offset: number;
838
- seq: number;
839
- };
840
- }>;
841
- }, "strict", z.ZodTypeAny, {
842
- turnId: string & import("../../types/ids/brand.js").IdBrand<"TurnId">;
843
- messageId: string & import("../../types/ids/brand.js").IdBrand<"MessageId">;
844
- sessionId: string & import("../../types/ids/brand.js").IdBrand<"SessionId">;
845
- ref: {
846
- id: string;
847
- digest: string;
848
- namespace: "namzu-pal-message/1";
849
- };
850
- claimId: string;
851
- through: {
852
- gen: number;
853
- bytes: number;
854
- pointer: {
855
- length: number;
856
- sha256: string;
857
- offset: number;
858
- seq: number;
859
- };
860
- };
861
- }, {
862
- turnId: string & import("../../types/ids/brand.js").IdBrand<"TurnId">;
863
- messageId: string & import("../../types/ids/brand.js").IdBrand<"MessageId">;
864
- sessionId: string & import("../../types/ids/brand.js").IdBrand<"SessionId">;
865
- ref: {
866
- id: string;
867
- digest: string;
868
- namespace: "namzu-pal-message/1";
869
- };
870
- claimId: string;
871
- through: {
872
- gen: number;
873
- bytes: number;
874
- pointer: {
875
- length: number;
876
- sha256: string;
877
- offset: number;
878
- seq: number;
879
- };
880
- };
881
- }>;
165
+ }, z.core.$strict>;
166
+ }, z.core.$strict>;
882
167
  export declare const inboxSchema: z.ZodObject<{
883
168
  id: z.ZodString;
884
169
  digest: z.ZodString;
885
- operationId: z.ZodEffects<z.ZodString, string, string>;
170
+ operationId: z.ZodString;
886
171
  source: z.ZodObject<{
887
172
  address: z.ZodObject<{
888
- tenantId: z.ZodType<TenantId, z.ZodTypeDef, TenantId>;
173
+ tenantId: z.ZodCustom<TenantId, TenantId>;
889
174
  palId: z.ZodString;
890
- }, "strict", z.ZodTypeAny, {
891
- tenantId: string & import("../../types/ids/brand.js").IdBrand<"TenantId">;
892
- palId: string;
893
- }, {
894
- tenantId: string & import("../../types/ids/brand.js").IdBrand<"TenantId">;
895
- palId: string;
896
- }>;
897
- conversationId: z.ZodType<SessionId, z.ZodTypeDef, SessionId>;
175
+ }, z.core.$strict>;
176
+ conversationId: z.ZodCustom<SessionId, SessionId>;
898
177
  profileRevision: z.ZodNumber;
899
- }, "strict", z.ZodTypeAny, {
900
- address: {
901
- tenantId: string & import("../../types/ids/brand.js").IdBrand<"TenantId">;
902
- palId: string;
903
- };
904
- conversationId: string & import("../../types/ids/brand.js").IdBrand<"SessionId">;
905
- profileRevision: number;
906
- }, {
907
- address: {
908
- tenantId: string & import("../../types/ids/brand.js").IdBrand<"TenantId">;
909
- palId: string;
910
- };
911
- conversationId: string & import("../../types/ids/brand.js").IdBrand<"SessionId">;
912
- profileRevision: number;
913
- }>;
178
+ }, z.core.$strict>;
914
179
  recipient: z.ZodObject<{
915
- tenantId: z.ZodType<TenantId, z.ZodTypeDef, TenantId>;
180
+ tenantId: z.ZodCustom<TenantId, TenantId>;
916
181
  palId: z.ZodString;
917
- }, "strict", z.ZodTypeAny, {
918
- tenantId: string & import("../../types/ids/brand.js").IdBrand<"TenantId">;
919
- palId: string;
920
- }, {
921
- tenantId: string & import("../../types/ids/brand.js").IdBrand<"TenantId">;
922
- palId: string;
923
- }>;
924
- routeKey: z.ZodEffects<z.ZodObject<{
182
+ }, z.core.$strict>;
183
+ routeKey: z.ZodObject<{
925
184
  v: z.ZodLiteral<1>;
926
185
  kind: z.ZodLiteral<"pal">;
927
186
  sender: z.ZodObject<{
928
- tenantId: z.ZodType<TenantId, z.ZodTypeDef, TenantId>;
187
+ tenantId: z.ZodCustom<TenantId, TenantId>;
929
188
  palId: z.ZodString;
930
- }, "strict", z.ZodTypeAny, {
931
- tenantId: string & import("../../types/ids/brand.js").IdBrand<"TenantId">;
932
- palId: string;
933
- }, {
934
- tenantId: string & import("../../types/ids/brand.js").IdBrand<"TenantId">;
935
- palId: string;
936
- }>;
937
- senderConversationId: z.ZodType<SessionId, z.ZodTypeDef, SessionId>;
189
+ }, z.core.$strict>;
190
+ senderConversationId: z.ZodCustom<SessionId, SessionId>;
938
191
  recipient: z.ZodObject<{
939
- tenantId: z.ZodType<TenantId, z.ZodTypeDef, TenantId>;
192
+ tenantId: z.ZodCustom<TenantId, TenantId>;
940
193
  palId: z.ZodString;
941
- }, "strict", z.ZodTypeAny, {
942
- tenantId: string & import("../../types/ids/brand.js").IdBrand<"TenantId">;
943
- palId: string;
944
- }, {
945
- tenantId: string & import("../../types/ids/brand.js").IdBrand<"TenantId">;
946
- palId: string;
947
- }>;
948
- dialogKey: z.ZodEffects<z.ZodString, string, string>;
949
- }, "strict", z.ZodTypeAny, {
950
- v: 1;
951
- kind: "pal";
952
- recipient: {
953
- tenantId: string & import("../../types/ids/brand.js").IdBrand<"TenantId">;
954
- palId: string;
955
- };
956
- sender: {
957
- tenantId: string & import("../../types/ids/brand.js").IdBrand<"TenantId">;
958
- palId: string;
959
- };
960
- senderConversationId: string & import("../../types/ids/brand.js").IdBrand<"SessionId">;
961
- dialogKey: string;
962
- }, {
963
- v: 1;
964
- kind: "pal";
965
- recipient: {
966
- tenantId: string & import("../../types/ids/brand.js").IdBrand<"TenantId">;
967
- palId: string;
968
- };
969
- sender: {
970
- tenantId: string & import("../../types/ids/brand.js").IdBrand<"TenantId">;
971
- palId: string;
972
- };
973
- senderConversationId: string & import("../../types/ids/brand.js").IdBrand<"SessionId">;
974
- dialogKey: string;
975
- }>, {
976
- v: 1;
977
- kind: "pal";
978
- recipient: {
979
- tenantId: string & import("../../types/ids/brand.js").IdBrand<"TenantId">;
980
- palId: string;
981
- };
982
- sender: {
983
- tenantId: string & import("../../types/ids/brand.js").IdBrand<"TenantId">;
984
- palId: string;
985
- };
986
- senderConversationId: string & import("../../types/ids/brand.js").IdBrand<"SessionId">;
987
- dialogKey: string;
988
- }, {
989
- v: 1;
990
- kind: "pal";
991
- recipient: {
992
- tenantId: string & import("../../types/ids/brand.js").IdBrand<"TenantId">;
993
- palId: string;
994
- };
995
- sender: {
996
- tenantId: string & import("../../types/ids/brand.js").IdBrand<"TenantId">;
997
- palId: string;
998
- };
999
- senderConversationId: string & import("../../types/ids/brand.js").IdBrand<"SessionId">;
1000
- dialogKey: string;
1001
- }>;
1002
- body: z.ZodEffects<z.ZodString, string, string>;
194
+ }, z.core.$strict>;
195
+ dialogKey: z.ZodString;
196
+ }, z.core.$strict>;
197
+ body: z.ZodString;
1003
198
  replyTo: z.ZodNullable<z.ZodString>;
1004
199
  grant: z.ZodObject<{
1005
- id: z.ZodEffects<z.ZodString, string, string>;
1006
- revision: z.ZodEffects<z.ZodString, string, string>;
1007
- }, "strict", z.ZodTypeAny, {
1008
- id: string;
1009
- revision: string;
1010
- }, {
1011
- id: string;
1012
- revision: string;
1013
- }>;
200
+ id: z.ZodString;
201
+ revision: z.ZodString;
202
+ }, z.core.$strict>;
1014
203
  createdAt: z.ZodNumber;
1015
- } & {
1016
204
  ordinal: z.ZodNumber;
1017
205
  routeId: z.ZodString;
1018
- phase: z.ZodEnum<["pending", "claimed", "recorded"]>;
206
+ phase: z.ZodEnum<{
207
+ pending: "pending";
208
+ recorded: "recorded";
209
+ claimed: "claimed";
210
+ }>;
1019
211
  claim: z.ZodNullable<z.ZodObject<{
1020
212
  id: z.ZodString;
1021
- sessionId: z.ZodType<SessionId, z.ZodTypeDef, SessionId>;
1022
- turnId: z.ZodType<TurnId, z.ZodTypeDef, TurnId>;
213
+ sessionId: z.ZodCustom<SessionId, SessionId>;
214
+ turnId: z.ZodCustom<TurnId, TurnId>;
1023
215
  generation: z.ZodNumber;
1024
216
  content: z.ZodString;
1025
- }, "strict", z.ZodTypeAny, {
1026
- id: string;
1027
- content: string;
1028
- turnId: string & import("../../types/ids/brand.js").IdBrand<"TurnId">;
1029
- sessionId: string & import("../../types/ids/brand.js").IdBrand<"SessionId">;
1030
- generation: number;
1031
- }, {
1032
- id: string;
1033
- content: string;
1034
- turnId: string & import("../../types/ids/brand.js").IdBrand<"TurnId">;
1035
- sessionId: string & import("../../types/ids/brand.js").IdBrand<"SessionId">;
1036
- generation: number;
1037
- }>>;
217
+ }, z.core.$strict>>;
1038
218
  receipt: z.ZodNullable<z.ZodObject<{
1039
219
  claimId: z.ZodString;
1040
220
  ref: z.ZodObject<{
1041
221
  namespace: z.ZodLiteral<"namzu-pal-message/1">;
1042
222
  id: z.ZodString;
1043
223
  digest: z.ZodString;
1044
- }, "strict", z.ZodTypeAny, {
1045
- id: string;
1046
- digest: string;
1047
- namespace: "namzu-pal-message/1";
1048
- }, {
1049
- id: string;
1050
- digest: string;
1051
- namespace: "namzu-pal-message/1";
1052
- }>;
1053
- sessionId: z.ZodType<SessionId, z.ZodTypeDef, SessionId>;
1054
- turnId: z.ZodType<TurnId, z.ZodTypeDef, TurnId>;
1055
- messageId: z.ZodType<MessageId, z.ZodTypeDef, MessageId>;
224
+ }, z.core.$strict>;
225
+ sessionId: z.ZodCustom<SessionId, SessionId>;
226
+ turnId: z.ZodCustom<TurnId, TurnId>;
227
+ messageId: z.ZodCustom<MessageId, MessageId>;
1056
228
  through: z.ZodObject<{
1057
229
  pointer: z.ZodObject<{
1058
230
  seq: z.ZodNumber;
1059
231
  offset: z.ZodNumber;
1060
232
  length: z.ZodNumber;
1061
233
  sha256: z.ZodString;
1062
- }, "strict", z.ZodTypeAny, {
1063
- length: number;
1064
- sha256: string;
1065
- offset: number;
1066
- seq: number;
1067
- }, {
1068
- length: number;
1069
- sha256: string;
1070
- offset: number;
1071
- seq: number;
1072
- }>;
234
+ }, z.core.$strict>;
1073
235
  gen: z.ZodNumber;
1074
236
  bytes: z.ZodNumber;
1075
- }, "strict", z.ZodTypeAny, {
1076
- gen: number;
1077
- bytes: number;
1078
- pointer: {
1079
- length: number;
1080
- sha256: string;
1081
- offset: number;
1082
- seq: number;
1083
- };
1084
- }, {
1085
- gen: number;
1086
- bytes: number;
1087
- pointer: {
1088
- length: number;
1089
- sha256: string;
1090
- offset: number;
1091
- seq: number;
1092
- };
1093
- }>;
1094
- }, "strict", z.ZodTypeAny, {
1095
- turnId: string & import("../../types/ids/brand.js").IdBrand<"TurnId">;
1096
- messageId: string & import("../../types/ids/brand.js").IdBrand<"MessageId">;
1097
- sessionId: string & import("../../types/ids/brand.js").IdBrand<"SessionId">;
1098
- ref: {
1099
- id: string;
1100
- digest: string;
1101
- namespace: "namzu-pal-message/1";
1102
- };
1103
- claimId: string;
1104
- through: {
1105
- gen: number;
1106
- bytes: number;
1107
- pointer: {
1108
- length: number;
1109
- sha256: string;
1110
- offset: number;
1111
- seq: number;
1112
- };
1113
- };
1114
- }, {
1115
- turnId: string & import("../../types/ids/brand.js").IdBrand<"TurnId">;
1116
- messageId: string & import("../../types/ids/brand.js").IdBrand<"MessageId">;
1117
- sessionId: string & import("../../types/ids/brand.js").IdBrand<"SessionId">;
1118
- ref: {
1119
- id: string;
1120
- digest: string;
1121
- namespace: "namzu-pal-message/1";
1122
- };
1123
- claimId: string;
1124
- through: {
1125
- gen: number;
1126
- bytes: number;
1127
- pointer: {
1128
- length: number;
1129
- sha256: string;
1130
- offset: number;
1131
- seq: number;
1132
- };
1133
- };
1134
- }>>;
1135
- }, "strict", z.ZodTypeAny, {
1136
- id: string;
1137
- phase: "pending" | "recorded" | "claimed";
1138
- operationId: string;
1139
- digest: string;
1140
- createdAt: number;
1141
- source: {
1142
- address: {
1143
- tenantId: string & import("../../types/ids/brand.js").IdBrand<"TenantId">;
1144
- palId: string;
1145
- };
1146
- conversationId: string & import("../../types/ids/brand.js").IdBrand<"SessionId">;
1147
- profileRevision: number;
1148
- };
1149
- body: string;
1150
- receipt: {
1151
- turnId: string & import("../../types/ids/brand.js").IdBrand<"TurnId">;
1152
- messageId: string & import("../../types/ids/brand.js").IdBrand<"MessageId">;
1153
- sessionId: string & import("../../types/ids/brand.js").IdBrand<"SessionId">;
1154
- ref: {
1155
- id: string;
1156
- digest: string;
1157
- namespace: "namzu-pal-message/1";
1158
- };
1159
- claimId: string;
1160
- through: {
1161
- gen: number;
1162
- bytes: number;
1163
- pointer: {
1164
- length: number;
1165
- sha256: string;
1166
- offset: number;
1167
- seq: number;
1168
- };
1169
- };
1170
- } | null;
1171
- claim: {
1172
- id: string;
1173
- content: string;
1174
- turnId: string & import("../../types/ids/brand.js").IdBrand<"TurnId">;
1175
- sessionId: string & import("../../types/ids/brand.js").IdBrand<"SessionId">;
1176
- generation: number;
1177
- } | null;
1178
- grant: {
1179
- id: string;
1180
- revision: string;
1181
- };
1182
- ordinal: number;
1183
- routeId: string;
1184
- recipient: {
1185
- tenantId: string & import("../../types/ids/brand.js").IdBrand<"TenantId">;
1186
- palId: string;
1187
- };
1188
- routeKey: {
1189
- v: 1;
1190
- kind: "pal";
1191
- recipient: {
1192
- tenantId: string & import("../../types/ids/brand.js").IdBrand<"TenantId">;
1193
- palId: string;
1194
- };
1195
- sender: {
1196
- tenantId: string & import("../../types/ids/brand.js").IdBrand<"TenantId">;
1197
- palId: string;
1198
- };
1199
- senderConversationId: string & import("../../types/ids/brand.js").IdBrand<"SessionId">;
1200
- dialogKey: string;
1201
- };
1202
- replyTo: string | null;
1203
- }, {
1204
- id: string;
1205
- phase: "pending" | "recorded" | "claimed";
1206
- operationId: string;
1207
- digest: string;
1208
- createdAt: number;
1209
- source: {
1210
- address: {
1211
- tenantId: string & import("../../types/ids/brand.js").IdBrand<"TenantId">;
1212
- palId: string;
1213
- };
1214
- conversationId: string & import("../../types/ids/brand.js").IdBrand<"SessionId">;
1215
- profileRevision: number;
1216
- };
1217
- body: string;
1218
- receipt: {
1219
- turnId: string & import("../../types/ids/brand.js").IdBrand<"TurnId">;
1220
- messageId: string & import("../../types/ids/brand.js").IdBrand<"MessageId">;
1221
- sessionId: string & import("../../types/ids/brand.js").IdBrand<"SessionId">;
1222
- ref: {
1223
- id: string;
1224
- digest: string;
1225
- namespace: "namzu-pal-message/1";
1226
- };
1227
- claimId: string;
1228
- through: {
1229
- gen: number;
1230
- bytes: number;
1231
- pointer: {
1232
- length: number;
1233
- sha256: string;
1234
- offset: number;
1235
- seq: number;
1236
- };
1237
- };
1238
- } | null;
1239
- claim: {
1240
- id: string;
1241
- content: string;
1242
- turnId: string & import("../../types/ids/brand.js").IdBrand<"TurnId">;
1243
- sessionId: string & import("../../types/ids/brand.js").IdBrand<"SessionId">;
1244
- generation: number;
1245
- } | null;
1246
- grant: {
1247
- id: string;
1248
- revision: string;
1249
- };
1250
- ordinal: number;
1251
- routeId: string;
1252
- recipient: {
1253
- tenantId: string & import("../../types/ids/brand.js").IdBrand<"TenantId">;
1254
- palId: string;
1255
- };
1256
- routeKey: {
1257
- v: 1;
1258
- kind: "pal";
1259
- recipient: {
1260
- tenantId: string & import("../../types/ids/brand.js").IdBrand<"TenantId">;
1261
- palId: string;
1262
- };
1263
- sender: {
1264
- tenantId: string & import("../../types/ids/brand.js").IdBrand<"TenantId">;
1265
- palId: string;
1266
- };
1267
- senderConversationId: string & import("../../types/ids/brand.js").IdBrand<"SessionId">;
1268
- dialogKey: string;
1269
- };
1270
- replyTo: string | null;
1271
- }>;
237
+ }, z.core.$strict>;
238
+ }, z.core.$strict>>;
239
+ }, z.core.$strict>;
1272
240
  export declare const snapshotSchema: z.ZodObject<{
1273
241
  recipient: z.ZodObject<{
1274
- tenantId: z.ZodType<TenantId, z.ZodTypeDef, TenantId>;
242
+ tenantId: z.ZodCustom<TenantId, TenantId>;
1275
243
  palId: z.ZodString;
1276
- }, "strict", z.ZodTypeAny, {
1277
- tenantId: string & import("../../types/ids/brand.js").IdBrand<"TenantId">;
1278
- palId: string;
1279
- }, {
1280
- tenantId: string & import("../../types/ids/brand.js").IdBrand<"TenantId">;
1281
- palId: string;
1282
- }>;
244
+ }, z.core.$strict>;
1283
245
  revision: z.ZodNumber;
1284
246
  routes: z.ZodArray<z.ZodObject<{
1285
247
  id: z.ZodString;
1286
- key: z.ZodEffects<z.ZodObject<{
248
+ key: z.ZodObject<{
1287
249
  v: z.ZodLiteral<1>;
1288
250
  kind: z.ZodLiteral<"pal">;
1289
251
  sender: z.ZodObject<{
1290
- tenantId: z.ZodType<TenantId, z.ZodTypeDef, TenantId>;
252
+ tenantId: z.ZodCustom<TenantId, TenantId>;
1291
253
  palId: z.ZodString;
1292
- }, "strict", z.ZodTypeAny, {
1293
- tenantId: string & import("../../types/ids/brand.js").IdBrand<"TenantId">;
1294
- palId: string;
1295
- }, {
1296
- tenantId: string & import("../../types/ids/brand.js").IdBrand<"TenantId">;
1297
- palId: string;
1298
- }>;
1299
- senderConversationId: z.ZodType<SessionId, z.ZodTypeDef, SessionId>;
254
+ }, z.core.$strict>;
255
+ senderConversationId: z.ZodCustom<SessionId, SessionId>;
1300
256
  recipient: z.ZodObject<{
1301
- tenantId: z.ZodType<TenantId, z.ZodTypeDef, TenantId>;
257
+ tenantId: z.ZodCustom<TenantId, TenantId>;
1302
258
  palId: z.ZodString;
1303
- }, "strict", z.ZodTypeAny, {
1304
- tenantId: string & import("../../types/ids/brand.js").IdBrand<"TenantId">;
1305
- palId: string;
1306
- }, {
1307
- tenantId: string & import("../../types/ids/brand.js").IdBrand<"TenantId">;
1308
- palId: string;
1309
- }>;
1310
- dialogKey: z.ZodEffects<z.ZodString, string, string>;
1311
- }, "strict", z.ZodTypeAny, {
1312
- v: 1;
1313
- kind: "pal";
1314
- recipient: {
1315
- tenantId: string & import("../../types/ids/brand.js").IdBrand<"TenantId">;
1316
- palId: string;
1317
- };
1318
- sender: {
1319
- tenantId: string & import("../../types/ids/brand.js").IdBrand<"TenantId">;
1320
- palId: string;
1321
- };
1322
- senderConversationId: string & import("../../types/ids/brand.js").IdBrand<"SessionId">;
1323
- dialogKey: string;
1324
- }, {
1325
- v: 1;
1326
- kind: "pal";
1327
- recipient: {
1328
- tenantId: string & import("../../types/ids/brand.js").IdBrand<"TenantId">;
1329
- palId: string;
1330
- };
1331
- sender: {
1332
- tenantId: string & import("../../types/ids/brand.js").IdBrand<"TenantId">;
1333
- palId: string;
1334
- };
1335
- senderConversationId: string & import("../../types/ids/brand.js").IdBrand<"SessionId">;
1336
- dialogKey: string;
1337
- }>, {
1338
- v: 1;
1339
- kind: "pal";
1340
- recipient: {
1341
- tenantId: string & import("../../types/ids/brand.js").IdBrand<"TenantId">;
1342
- palId: string;
1343
- };
1344
- sender: {
1345
- tenantId: string & import("../../types/ids/brand.js").IdBrand<"TenantId">;
1346
- palId: string;
1347
- };
1348
- senderConversationId: string & import("../../types/ids/brand.js").IdBrand<"SessionId">;
1349
- dialogKey: string;
1350
- }, {
1351
- v: 1;
1352
- kind: "pal";
1353
- recipient: {
1354
- tenantId: string & import("../../types/ids/brand.js").IdBrand<"TenantId">;
1355
- palId: string;
1356
- };
1357
- sender: {
1358
- tenantId: string & import("../../types/ids/brand.js").IdBrand<"TenantId">;
1359
- palId: string;
1360
- };
1361
- senderConversationId: string & import("../../types/ids/brand.js").IdBrand<"SessionId">;
1362
- dialogKey: string;
1363
- }>;
1364
- sessionId: z.ZodType<SessionId, z.ZodTypeDef, SessionId>;
259
+ }, z.core.$strict>;
260
+ dialogKey: z.ZodString;
261
+ }, z.core.$strict>;
262
+ sessionId: z.ZodCustom<SessionId, SessionId>;
1365
263
  profileRevision: z.ZodNumber;
1366
264
  revision: z.ZodNumber;
1367
- phase: z.ZodEnum<["reserved", "active"]>;
1368
- }, "strip", z.ZodTypeAny, {
1369
- key: {
1370
- v: 1;
1371
- kind: "pal";
1372
- recipient: {
1373
- tenantId: string & import("../../types/ids/brand.js").IdBrand<"TenantId">;
1374
- palId: string;
1375
- };
1376
- sender: {
1377
- tenantId: string & import("../../types/ids/brand.js").IdBrand<"TenantId">;
1378
- palId: string;
1379
- };
1380
- senderConversationId: string & import("../../types/ids/brand.js").IdBrand<"SessionId">;
1381
- dialogKey: string;
1382
- };
1383
- id: string;
1384
- phase: "active" | "reserved";
1385
- sessionId: string & import("../../types/ids/brand.js").IdBrand<"SessionId">;
1386
- revision: number;
1387
- profileRevision: number;
1388
- }, {
1389
- key: {
1390
- v: 1;
1391
- kind: "pal";
1392
- recipient: {
1393
- tenantId: string & import("../../types/ids/brand.js").IdBrand<"TenantId">;
1394
- palId: string;
1395
- };
1396
- sender: {
1397
- tenantId: string & import("../../types/ids/brand.js").IdBrand<"TenantId">;
1398
- palId: string;
1399
- };
1400
- senderConversationId: string & import("../../types/ids/brand.js").IdBrand<"SessionId">;
1401
- dialogKey: string;
1402
- };
1403
- id: string;
1404
- phase: "active" | "reserved";
1405
- sessionId: string & import("../../types/ids/brand.js").IdBrand<"SessionId">;
1406
- revision: number;
1407
- profileRevision: number;
1408
- }>, "many">;
265
+ phase: z.ZodEnum<{
266
+ active: "active";
267
+ reserved: "reserved";
268
+ }>;
269
+ }, z.core.$strip>>;
1409
270
  messages: z.ZodArray<z.ZodObject<{
1410
271
  id: z.ZodString;
1411
272
  digest: z.ZodString;
1412
- operationId: z.ZodEffects<z.ZodString, string, string>;
273
+ operationId: z.ZodString;
1413
274
  source: z.ZodObject<{
1414
275
  address: z.ZodObject<{
1415
- tenantId: z.ZodType<TenantId, z.ZodTypeDef, TenantId>;
276
+ tenantId: z.ZodCustom<TenantId, TenantId>;
1416
277
  palId: z.ZodString;
1417
- }, "strict", z.ZodTypeAny, {
1418
- tenantId: string & import("../../types/ids/brand.js").IdBrand<"TenantId">;
1419
- palId: string;
1420
- }, {
1421
- tenantId: string & import("../../types/ids/brand.js").IdBrand<"TenantId">;
1422
- palId: string;
1423
- }>;
1424
- conversationId: z.ZodType<SessionId, z.ZodTypeDef, SessionId>;
278
+ }, z.core.$strict>;
279
+ conversationId: z.ZodCustom<SessionId, SessionId>;
1425
280
  profileRevision: z.ZodNumber;
1426
- }, "strict", z.ZodTypeAny, {
1427
- address: {
1428
- tenantId: string & import("../../types/ids/brand.js").IdBrand<"TenantId">;
1429
- palId: string;
1430
- };
1431
- conversationId: string & import("../../types/ids/brand.js").IdBrand<"SessionId">;
1432
- profileRevision: number;
1433
- }, {
1434
- address: {
1435
- tenantId: string & import("../../types/ids/brand.js").IdBrand<"TenantId">;
1436
- palId: string;
1437
- };
1438
- conversationId: string & import("../../types/ids/brand.js").IdBrand<"SessionId">;
1439
- profileRevision: number;
1440
- }>;
281
+ }, z.core.$strict>;
1441
282
  recipient: z.ZodObject<{
1442
- tenantId: z.ZodType<TenantId, z.ZodTypeDef, TenantId>;
283
+ tenantId: z.ZodCustom<TenantId, TenantId>;
1443
284
  palId: z.ZodString;
1444
- }, "strict", z.ZodTypeAny, {
1445
- tenantId: string & import("../../types/ids/brand.js").IdBrand<"TenantId">;
1446
- palId: string;
1447
- }, {
1448
- tenantId: string & import("../../types/ids/brand.js").IdBrand<"TenantId">;
1449
- palId: string;
1450
- }>;
1451
- routeKey: z.ZodEffects<z.ZodObject<{
285
+ }, z.core.$strict>;
286
+ routeKey: z.ZodObject<{
1452
287
  v: z.ZodLiteral<1>;
1453
288
  kind: z.ZodLiteral<"pal">;
1454
289
  sender: z.ZodObject<{
1455
- tenantId: z.ZodType<TenantId, z.ZodTypeDef, TenantId>;
290
+ tenantId: z.ZodCustom<TenantId, TenantId>;
1456
291
  palId: z.ZodString;
1457
- }, "strict", z.ZodTypeAny, {
1458
- tenantId: string & import("../../types/ids/brand.js").IdBrand<"TenantId">;
1459
- palId: string;
1460
- }, {
1461
- tenantId: string & import("../../types/ids/brand.js").IdBrand<"TenantId">;
1462
- palId: string;
1463
- }>;
1464
- senderConversationId: z.ZodType<SessionId, z.ZodTypeDef, SessionId>;
292
+ }, z.core.$strict>;
293
+ senderConversationId: z.ZodCustom<SessionId, SessionId>;
1465
294
  recipient: z.ZodObject<{
1466
- tenantId: z.ZodType<TenantId, z.ZodTypeDef, TenantId>;
295
+ tenantId: z.ZodCustom<TenantId, TenantId>;
1467
296
  palId: z.ZodString;
1468
- }, "strict", z.ZodTypeAny, {
1469
- tenantId: string & import("../../types/ids/brand.js").IdBrand<"TenantId">;
1470
- palId: string;
1471
- }, {
1472
- tenantId: string & import("../../types/ids/brand.js").IdBrand<"TenantId">;
1473
- palId: string;
1474
- }>;
1475
- dialogKey: z.ZodEffects<z.ZodString, string, string>;
1476
- }, "strict", z.ZodTypeAny, {
1477
- v: 1;
1478
- kind: "pal";
1479
- recipient: {
1480
- tenantId: string & import("../../types/ids/brand.js").IdBrand<"TenantId">;
1481
- palId: string;
1482
- };
1483
- sender: {
1484
- tenantId: string & import("../../types/ids/brand.js").IdBrand<"TenantId">;
1485
- palId: string;
1486
- };
1487
- senderConversationId: string & import("../../types/ids/brand.js").IdBrand<"SessionId">;
1488
- dialogKey: string;
1489
- }, {
1490
- v: 1;
1491
- kind: "pal";
1492
- recipient: {
1493
- tenantId: string & import("../../types/ids/brand.js").IdBrand<"TenantId">;
1494
- palId: string;
1495
- };
1496
- sender: {
1497
- tenantId: string & import("../../types/ids/brand.js").IdBrand<"TenantId">;
1498
- palId: string;
1499
- };
1500
- senderConversationId: string & import("../../types/ids/brand.js").IdBrand<"SessionId">;
1501
- dialogKey: string;
1502
- }>, {
1503
- v: 1;
1504
- kind: "pal";
1505
- recipient: {
1506
- tenantId: string & import("../../types/ids/brand.js").IdBrand<"TenantId">;
1507
- palId: string;
1508
- };
1509
- sender: {
1510
- tenantId: string & import("../../types/ids/brand.js").IdBrand<"TenantId">;
1511
- palId: string;
1512
- };
1513
- senderConversationId: string & import("../../types/ids/brand.js").IdBrand<"SessionId">;
1514
- dialogKey: string;
1515
- }, {
1516
- v: 1;
1517
- kind: "pal";
1518
- recipient: {
1519
- tenantId: string & import("../../types/ids/brand.js").IdBrand<"TenantId">;
1520
- palId: string;
1521
- };
1522
- sender: {
1523
- tenantId: string & import("../../types/ids/brand.js").IdBrand<"TenantId">;
1524
- palId: string;
1525
- };
1526
- senderConversationId: string & import("../../types/ids/brand.js").IdBrand<"SessionId">;
1527
- dialogKey: string;
1528
- }>;
1529
- body: z.ZodEffects<z.ZodString, string, string>;
297
+ }, z.core.$strict>;
298
+ dialogKey: z.ZodString;
299
+ }, z.core.$strict>;
300
+ body: z.ZodString;
1530
301
  replyTo: z.ZodNullable<z.ZodString>;
1531
302
  grant: z.ZodObject<{
1532
- id: z.ZodEffects<z.ZodString, string, string>;
1533
- revision: z.ZodEffects<z.ZodString, string, string>;
1534
- }, "strict", z.ZodTypeAny, {
1535
- id: string;
1536
- revision: string;
1537
- }, {
1538
- id: string;
1539
- revision: string;
1540
- }>;
303
+ id: z.ZodString;
304
+ revision: z.ZodString;
305
+ }, z.core.$strict>;
1541
306
  createdAt: z.ZodNumber;
1542
- } & {
1543
307
  ordinal: z.ZodNumber;
1544
308
  routeId: z.ZodString;
1545
- phase: z.ZodEnum<["pending", "claimed", "recorded"]>;
309
+ phase: z.ZodEnum<{
310
+ pending: "pending";
311
+ recorded: "recorded";
312
+ claimed: "claimed";
313
+ }>;
1546
314
  claim: z.ZodNullable<z.ZodObject<{
1547
315
  id: z.ZodString;
1548
- sessionId: z.ZodType<SessionId, z.ZodTypeDef, SessionId>;
1549
- turnId: z.ZodType<TurnId, z.ZodTypeDef, TurnId>;
316
+ sessionId: z.ZodCustom<SessionId, SessionId>;
317
+ turnId: z.ZodCustom<TurnId, TurnId>;
1550
318
  generation: z.ZodNumber;
1551
319
  content: z.ZodString;
1552
- }, "strict", z.ZodTypeAny, {
1553
- id: string;
1554
- content: string;
1555
- turnId: string & import("../../types/ids/brand.js").IdBrand<"TurnId">;
1556
- sessionId: string & import("../../types/ids/brand.js").IdBrand<"SessionId">;
1557
- generation: number;
1558
- }, {
1559
- id: string;
1560
- content: string;
1561
- turnId: string & import("../../types/ids/brand.js").IdBrand<"TurnId">;
1562
- sessionId: string & import("../../types/ids/brand.js").IdBrand<"SessionId">;
1563
- generation: number;
1564
- }>>;
320
+ }, z.core.$strict>>;
1565
321
  receipt: z.ZodNullable<z.ZodObject<{
1566
322
  claimId: z.ZodString;
1567
323
  ref: z.ZodObject<{
1568
324
  namespace: z.ZodLiteral<"namzu-pal-message/1">;
1569
325
  id: z.ZodString;
1570
326
  digest: z.ZodString;
1571
- }, "strict", z.ZodTypeAny, {
1572
- id: string;
1573
- digest: string;
1574
- namespace: "namzu-pal-message/1";
1575
- }, {
1576
- id: string;
1577
- digest: string;
1578
- namespace: "namzu-pal-message/1";
1579
- }>;
1580
- sessionId: z.ZodType<SessionId, z.ZodTypeDef, SessionId>;
1581
- turnId: z.ZodType<TurnId, z.ZodTypeDef, TurnId>;
1582
- messageId: z.ZodType<MessageId, z.ZodTypeDef, MessageId>;
327
+ }, z.core.$strict>;
328
+ sessionId: z.ZodCustom<SessionId, SessionId>;
329
+ turnId: z.ZodCustom<TurnId, TurnId>;
330
+ messageId: z.ZodCustom<MessageId, MessageId>;
1583
331
  through: z.ZodObject<{
1584
332
  pointer: z.ZodObject<{
1585
333
  seq: z.ZodNumber;
1586
334
  offset: z.ZodNumber;
1587
335
  length: z.ZodNumber;
1588
336
  sha256: z.ZodString;
1589
- }, "strict", z.ZodTypeAny, {
1590
- length: number;
1591
- sha256: string;
1592
- offset: number;
1593
- seq: number;
1594
- }, {
1595
- length: number;
1596
- sha256: string;
1597
- offset: number;
1598
- seq: number;
1599
- }>;
337
+ }, z.core.$strict>;
1600
338
  gen: z.ZodNumber;
1601
339
  bytes: z.ZodNumber;
1602
- }, "strict", z.ZodTypeAny, {
1603
- gen: number;
1604
- bytes: number;
1605
- pointer: {
1606
- length: number;
1607
- sha256: string;
1608
- offset: number;
1609
- seq: number;
1610
- };
1611
- }, {
1612
- gen: number;
1613
- bytes: number;
1614
- pointer: {
1615
- length: number;
1616
- sha256: string;
1617
- offset: number;
1618
- seq: number;
1619
- };
1620
- }>;
1621
- }, "strict", z.ZodTypeAny, {
1622
- turnId: string & import("../../types/ids/brand.js").IdBrand<"TurnId">;
1623
- messageId: string & import("../../types/ids/brand.js").IdBrand<"MessageId">;
1624
- sessionId: string & import("../../types/ids/brand.js").IdBrand<"SessionId">;
1625
- ref: {
1626
- id: string;
1627
- digest: string;
1628
- namespace: "namzu-pal-message/1";
1629
- };
1630
- claimId: string;
1631
- through: {
1632
- gen: number;
1633
- bytes: number;
1634
- pointer: {
1635
- length: number;
1636
- sha256: string;
1637
- offset: number;
1638
- seq: number;
1639
- };
1640
- };
1641
- }, {
1642
- turnId: string & import("../../types/ids/brand.js").IdBrand<"TurnId">;
1643
- messageId: string & import("../../types/ids/brand.js").IdBrand<"MessageId">;
1644
- sessionId: string & import("../../types/ids/brand.js").IdBrand<"SessionId">;
1645
- ref: {
1646
- id: string;
1647
- digest: string;
1648
- namespace: "namzu-pal-message/1";
1649
- };
1650
- claimId: string;
1651
- through: {
1652
- gen: number;
1653
- bytes: number;
1654
- pointer: {
1655
- length: number;
1656
- sha256: string;
1657
- offset: number;
1658
- seq: number;
1659
- };
1660
- };
1661
- }>>;
1662
- }, "strict", z.ZodTypeAny, {
1663
- id: string;
1664
- phase: "pending" | "recorded" | "claimed";
1665
- operationId: string;
1666
- digest: string;
1667
- createdAt: number;
1668
- source: {
1669
- address: {
1670
- tenantId: string & import("../../types/ids/brand.js").IdBrand<"TenantId">;
1671
- palId: string;
1672
- };
1673
- conversationId: string & import("../../types/ids/brand.js").IdBrand<"SessionId">;
1674
- profileRevision: number;
1675
- };
1676
- body: string;
1677
- receipt: {
1678
- turnId: string & import("../../types/ids/brand.js").IdBrand<"TurnId">;
1679
- messageId: string & import("../../types/ids/brand.js").IdBrand<"MessageId">;
1680
- sessionId: string & import("../../types/ids/brand.js").IdBrand<"SessionId">;
1681
- ref: {
1682
- id: string;
1683
- digest: string;
1684
- namespace: "namzu-pal-message/1";
1685
- };
1686
- claimId: string;
1687
- through: {
1688
- gen: number;
1689
- bytes: number;
1690
- pointer: {
1691
- length: number;
1692
- sha256: string;
1693
- offset: number;
1694
- seq: number;
1695
- };
1696
- };
1697
- } | null;
1698
- claim: {
1699
- id: string;
1700
- content: string;
1701
- turnId: string & import("../../types/ids/brand.js").IdBrand<"TurnId">;
1702
- sessionId: string & import("../../types/ids/brand.js").IdBrand<"SessionId">;
1703
- generation: number;
1704
- } | null;
1705
- grant: {
1706
- id: string;
1707
- revision: string;
1708
- };
1709
- ordinal: number;
1710
- routeId: string;
1711
- recipient: {
1712
- tenantId: string & import("../../types/ids/brand.js").IdBrand<"TenantId">;
1713
- palId: string;
1714
- };
1715
- routeKey: {
1716
- v: 1;
1717
- kind: "pal";
1718
- recipient: {
1719
- tenantId: string & import("../../types/ids/brand.js").IdBrand<"TenantId">;
1720
- palId: string;
1721
- };
1722
- sender: {
1723
- tenantId: string & import("../../types/ids/brand.js").IdBrand<"TenantId">;
1724
- palId: string;
1725
- };
1726
- senderConversationId: string & import("../../types/ids/brand.js").IdBrand<"SessionId">;
1727
- dialogKey: string;
1728
- };
1729
- replyTo: string | null;
1730
- }, {
1731
- id: string;
1732
- phase: "pending" | "recorded" | "claimed";
1733
- operationId: string;
1734
- digest: string;
1735
- createdAt: number;
1736
- source: {
1737
- address: {
1738
- tenantId: string & import("../../types/ids/brand.js").IdBrand<"TenantId">;
1739
- palId: string;
1740
- };
1741
- conversationId: string & import("../../types/ids/brand.js").IdBrand<"SessionId">;
1742
- profileRevision: number;
1743
- };
1744
- body: string;
1745
- receipt: {
1746
- turnId: string & import("../../types/ids/brand.js").IdBrand<"TurnId">;
1747
- messageId: string & import("../../types/ids/brand.js").IdBrand<"MessageId">;
1748
- sessionId: string & import("../../types/ids/brand.js").IdBrand<"SessionId">;
1749
- ref: {
1750
- id: string;
1751
- digest: string;
1752
- namespace: "namzu-pal-message/1";
1753
- };
1754
- claimId: string;
1755
- through: {
1756
- gen: number;
1757
- bytes: number;
1758
- pointer: {
1759
- length: number;
1760
- sha256: string;
1761
- offset: number;
1762
- seq: number;
1763
- };
1764
- };
1765
- } | null;
1766
- claim: {
1767
- id: string;
1768
- content: string;
1769
- turnId: string & import("../../types/ids/brand.js").IdBrand<"TurnId">;
1770
- sessionId: string & import("../../types/ids/brand.js").IdBrand<"SessionId">;
1771
- generation: number;
1772
- } | null;
1773
- grant: {
1774
- id: string;
1775
- revision: string;
1776
- };
1777
- ordinal: number;
1778
- routeId: string;
1779
- recipient: {
1780
- tenantId: string & import("../../types/ids/brand.js").IdBrand<"TenantId">;
1781
- palId: string;
1782
- };
1783
- routeKey: {
1784
- v: 1;
1785
- kind: "pal";
1786
- recipient: {
1787
- tenantId: string & import("../../types/ids/brand.js").IdBrand<"TenantId">;
1788
- palId: string;
1789
- };
1790
- sender: {
1791
- tenantId: string & import("../../types/ids/brand.js").IdBrand<"TenantId">;
1792
- palId: string;
1793
- };
1794
- senderConversationId: string & import("../../types/ids/brand.js").IdBrand<"SessionId">;
1795
- dialogKey: string;
1796
- };
1797
- replyTo: string | null;
1798
- }>, "many">;
1799
- }, "strip", z.ZodTypeAny, {
1800
- messages: {
1801
- id: string;
1802
- phase: "pending" | "recorded" | "claimed";
1803
- operationId: string;
1804
- digest: string;
1805
- createdAt: number;
1806
- source: {
1807
- address: {
1808
- tenantId: string & import("../../types/ids/brand.js").IdBrand<"TenantId">;
1809
- palId: string;
1810
- };
1811
- conversationId: string & import("../../types/ids/brand.js").IdBrand<"SessionId">;
1812
- profileRevision: number;
1813
- };
1814
- body: string;
1815
- receipt: {
1816
- turnId: string & import("../../types/ids/brand.js").IdBrand<"TurnId">;
1817
- messageId: string & import("../../types/ids/brand.js").IdBrand<"MessageId">;
1818
- sessionId: string & import("../../types/ids/brand.js").IdBrand<"SessionId">;
1819
- ref: {
1820
- id: string;
1821
- digest: string;
1822
- namespace: "namzu-pal-message/1";
1823
- };
1824
- claimId: string;
1825
- through: {
1826
- gen: number;
1827
- bytes: number;
1828
- pointer: {
1829
- length: number;
1830
- sha256: string;
1831
- offset: number;
1832
- seq: number;
1833
- };
1834
- };
1835
- } | null;
1836
- claim: {
1837
- id: string;
1838
- content: string;
1839
- turnId: string & import("../../types/ids/brand.js").IdBrand<"TurnId">;
1840
- sessionId: string & import("../../types/ids/brand.js").IdBrand<"SessionId">;
1841
- generation: number;
1842
- } | null;
1843
- grant: {
1844
- id: string;
1845
- revision: string;
1846
- };
1847
- ordinal: number;
1848
- routeId: string;
1849
- recipient: {
1850
- tenantId: string & import("../../types/ids/brand.js").IdBrand<"TenantId">;
1851
- palId: string;
1852
- };
1853
- routeKey: {
1854
- v: 1;
1855
- kind: "pal";
1856
- recipient: {
1857
- tenantId: string & import("../../types/ids/brand.js").IdBrand<"TenantId">;
1858
- palId: string;
1859
- };
1860
- sender: {
1861
- tenantId: string & import("../../types/ids/brand.js").IdBrand<"TenantId">;
1862
- palId: string;
1863
- };
1864
- senderConversationId: string & import("../../types/ids/brand.js").IdBrand<"SessionId">;
1865
- dialogKey: string;
1866
- };
1867
- replyTo: string | null;
1868
- }[];
1869
- revision: number;
1870
- recipient: {
1871
- tenantId: string & import("../../types/ids/brand.js").IdBrand<"TenantId">;
1872
- palId: string;
1873
- };
1874
- routes: {
1875
- key: {
1876
- v: 1;
1877
- kind: "pal";
1878
- recipient: {
1879
- tenantId: string & import("../../types/ids/brand.js").IdBrand<"TenantId">;
1880
- palId: string;
1881
- };
1882
- sender: {
1883
- tenantId: string & import("../../types/ids/brand.js").IdBrand<"TenantId">;
1884
- palId: string;
1885
- };
1886
- senderConversationId: string & import("../../types/ids/brand.js").IdBrand<"SessionId">;
1887
- dialogKey: string;
1888
- };
1889
- id: string;
1890
- phase: "active" | "reserved";
1891
- sessionId: string & import("../../types/ids/brand.js").IdBrand<"SessionId">;
1892
- revision: number;
1893
- profileRevision: number;
1894
- }[];
1895
- }, {
1896
- messages: {
1897
- id: string;
1898
- phase: "pending" | "recorded" | "claimed";
1899
- operationId: string;
1900
- digest: string;
1901
- createdAt: number;
1902
- source: {
1903
- address: {
1904
- tenantId: string & import("../../types/ids/brand.js").IdBrand<"TenantId">;
1905
- palId: string;
1906
- };
1907
- conversationId: string & import("../../types/ids/brand.js").IdBrand<"SessionId">;
1908
- profileRevision: number;
1909
- };
1910
- body: string;
1911
- receipt: {
1912
- turnId: string & import("../../types/ids/brand.js").IdBrand<"TurnId">;
1913
- messageId: string & import("../../types/ids/brand.js").IdBrand<"MessageId">;
1914
- sessionId: string & import("../../types/ids/brand.js").IdBrand<"SessionId">;
1915
- ref: {
1916
- id: string;
1917
- digest: string;
1918
- namespace: "namzu-pal-message/1";
1919
- };
1920
- claimId: string;
1921
- through: {
1922
- gen: number;
1923
- bytes: number;
1924
- pointer: {
1925
- length: number;
1926
- sha256: string;
1927
- offset: number;
1928
- seq: number;
1929
- };
1930
- };
1931
- } | null;
1932
- claim: {
1933
- id: string;
1934
- content: string;
1935
- turnId: string & import("../../types/ids/brand.js").IdBrand<"TurnId">;
1936
- sessionId: string & import("../../types/ids/brand.js").IdBrand<"SessionId">;
1937
- generation: number;
1938
- } | null;
1939
- grant: {
1940
- id: string;
1941
- revision: string;
1942
- };
1943
- ordinal: number;
1944
- routeId: string;
1945
- recipient: {
1946
- tenantId: string & import("../../types/ids/brand.js").IdBrand<"TenantId">;
1947
- palId: string;
1948
- };
1949
- routeKey: {
1950
- v: 1;
1951
- kind: "pal";
1952
- recipient: {
1953
- tenantId: string & import("../../types/ids/brand.js").IdBrand<"TenantId">;
1954
- palId: string;
1955
- };
1956
- sender: {
1957
- tenantId: string & import("../../types/ids/brand.js").IdBrand<"TenantId">;
1958
- palId: string;
1959
- };
1960
- senderConversationId: string & import("../../types/ids/brand.js").IdBrand<"SessionId">;
1961
- dialogKey: string;
1962
- };
1963
- replyTo: string | null;
1964
- }[];
1965
- revision: number;
1966
- recipient: {
1967
- tenantId: string & import("../../types/ids/brand.js").IdBrand<"TenantId">;
1968
- palId: string;
1969
- };
1970
- routes: {
1971
- key: {
1972
- v: 1;
1973
- kind: "pal";
1974
- recipient: {
1975
- tenantId: string & import("../../types/ids/brand.js").IdBrand<"TenantId">;
1976
- palId: string;
1977
- };
1978
- sender: {
1979
- tenantId: string & import("../../types/ids/brand.js").IdBrand<"TenantId">;
1980
- palId: string;
1981
- };
1982
- senderConversationId: string & import("../../types/ids/brand.js").IdBrand<"SessionId">;
1983
- dialogKey: string;
1984
- };
1985
- id: string;
1986
- phase: "active" | "reserved";
1987
- sessionId: string & import("../../types/ids/brand.js").IdBrand<"SessionId">;
1988
- revision: number;
1989
- profileRevision: number;
1990
- }[];
1991
- }>;
340
+ }, z.core.$strict>;
341
+ }, z.core.$strict>>;
342
+ }, z.core.$strict>>;
343
+ }, z.core.$strip>;
1992
344
  /** Capture parsed values recursively before any host callback can observe them. */
1993
345
  export declare function freezeCommunicationValue<T>(value: T): T;
1994
346
  export declare function hash(value: unknown): string;