@fairmint/canton-node-sdk 0.0.236 → 0.0.238

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 (51) hide show
  1. package/build/src/clients/ledger-json-api/operations/v2/state/get-active-contracts.d.ts +1 -1
  2. package/build/src/clients/ledger-json-api/operations/v2/state/get-active-contracts.d.ts.map +1 -1
  3. package/build/src/clients/ledger-json-api/operations/v2/state/get-active-contracts.js +19 -5
  4. package/build/src/clients/ledger-json-api/operations/v2/state/get-active-contracts.js.map +1 -1
  5. package/build/src/clients/ledger-json-api/operations/v2/updates/subscribe-to-updates.d.ts +770 -8
  6. package/build/src/clients/ledger-json-api/operations/v2/updates/subscribe-to-updates.d.ts.map +1 -1
  7. package/build/src/clients/ledger-json-api/operations/v2/updates/subscribe-to-updates.js +43 -8
  8. package/build/src/clients/ledger-json-api/operations/v2/updates/subscribe-to-updates.js.map +1 -1
  9. package/build/src/clients/scan-api/ScanApiClient.generated.d.ts +3 -0
  10. package/build/src/clients/scan-api/ScanApiClient.generated.d.ts.map +1 -1
  11. package/build/src/clients/scan-api/ScanApiClient.generated.js +39 -37
  12. package/build/src/clients/scan-api/ScanApiClient.generated.js.map +1 -1
  13. package/build/src/clients/scan-api/index.d.ts +1 -0
  14. package/build/src/clients/scan-api/index.d.ts.map +1 -1
  15. package/build/src/clients/scan-api/index.js.map +1 -1
  16. package/build/src/clients/scan-api/operations/v0/scan.d.ts +17 -9
  17. package/build/src/clients/scan-api/operations/v0/scan.d.ts.map +1 -1
  18. package/build/src/clients/scan-api/operations/v0/scan.js +25 -5
  19. package/build/src/clients/scan-api/operations/v0/scan.js.map +1 -1
  20. package/build/src/clients/validator-api/ValidatorApiClient.generated.d.ts +3 -0
  21. package/build/src/clients/validator-api/ValidatorApiClient.generated.d.ts.map +1 -1
  22. package/build/src/clients/validator-api/ValidatorApiClient.generated.js +2 -0
  23. package/build/src/clients/validator-api/ValidatorApiClient.generated.js.map +1 -1
  24. package/build/src/clients/validator-api/index.d.ts +2 -0
  25. package/build/src/clients/validator-api/index.d.ts.map +1 -1
  26. package/build/src/clients/validator-api/index.js +8 -1
  27. package/build/src/clients/validator-api/index.js.map +1 -1
  28. package/build/src/clients/validator-api/operations/v0/admin/get-decentralized-synchronizer-connection-config.d.ts +9 -0
  29. package/build/src/clients/validator-api/operations/v0/admin/get-decentralized-synchronizer-connection-config.d.ts.map +1 -0
  30. package/build/src/clients/validator-api/operations/v0/admin/get-decentralized-synchronizer-connection-config.js +18 -0
  31. package/build/src/clients/validator-api/operations/v0/admin/get-decentralized-synchronizer-connection-config.js.map +1 -0
  32. package/build/src/clients/validator-api/operations/v0/admin/index.d.ts +1 -0
  33. package/build/src/clients/validator-api/operations/v0/admin/index.d.ts.map +1 -1
  34. package/build/src/clients/validator-api/operations/v0/admin/index.js +1 -0
  35. package/build/src/clients/validator-api/operations/v0/admin/index.js.map +1 -1
  36. package/build/src/clients/validator-api/schemas/api/admin.d.ts +15 -0
  37. package/build/src/clients/validator-api/schemas/api/admin.d.ts.map +1 -0
  38. package/build/src/clients/validator-api/schemas/api/admin.js +27 -0
  39. package/build/src/clients/validator-api/schemas/api/admin.js.map +1 -0
  40. package/build/src/clients/validator-api/schemas/api/index.d.ts +1 -0
  41. package/build/src/clients/validator-api/schemas/api/index.d.ts.map +1 -1
  42. package/build/src/clients/validator-api/schemas/api/index.js +2 -0
  43. package/build/src/clients/validator-api/schemas/api/index.js.map +1 -1
  44. package/build/src/core/operations/WebSocketOperationFactory.d.ts.map +1 -1
  45. package/build/src/core/operations/WebSocketOperationFactory.js +1 -3
  46. package/build/src/core/operations/WebSocketOperationFactory.js.map +1 -1
  47. package/build/src/core/ws/WebSocketClient.d.ts +9 -6
  48. package/build/src/core/ws/WebSocketClient.d.ts.map +1 -1
  49. package/build/src/core/ws/WebSocketClient.js +175 -74
  50. package/build/src/core/ws/WebSocketClient.js.map +1 -1
  51. package/package.json +1 -1
@@ -1,8 +1,6 @@
1
1
  import { z } from 'zod';
2
2
  import { type WebSocketOptions } from '../../../../../core/ws/WebSocketClient';
3
3
  import type { LedgerJsonApiClient } from '../../../LedgerJsonApiClient.generated';
4
- import { type JsCantonError, type WsCantonError } from '../../../schemas/api/errors';
5
- import { type JsUpdateSchema, type WsUpdateSchema } from '../../../schemas/api/updates';
6
4
  /**
7
5
  * The `TransactionShape` enum defines the event shape for `Transaction`s and can have two different flavors AcsDelta
8
6
  * and LedgerEffects.
@@ -41,7 +39,7 @@ declare const SubscribeToUpdatesParamsSchema: z.ZodObject<{
41
39
  }, z.core.$strip>;
42
40
  export type SubscribeToUpdatesParams = z.infer<typeof SubscribeToUpdatesParamsSchema> & {
43
41
  /** Optional per-message callback to consume updates as they arrive. */
44
- onMessage?: (message: UpdatesWsMessage) => void;
42
+ onMessage?: (message: UpdatesWsMessage) => void | Promise<void>;
45
43
  /**
46
44
  * Called when the token is about to expire and refresh is scheduled. Use this to prepare for reconnection (e.g., save
47
45
  * current processing state). The subscription will close shortly after this callback.
@@ -54,11 +52,775 @@ export type SubscribeToUpdatesParams = z.infer<typeof SubscribeToUpdatesParamsSc
54
52
  */
55
53
  onTokenRefreshNeeded?: WebSocketOptions['onTokenRefreshNeeded'];
56
54
  };
57
- export type UpdatesWsMessage = {
58
- update: z.infer<typeof JsUpdateSchema>;
59
- } | {
60
- update: z.infer<typeof WsUpdateSchema>;
61
- } | JsCantonError | WsCantonError;
55
+ declare const UpdatesWsMessageSchema: z.ZodUnion<readonly [z.ZodObject<{
56
+ update: z.ZodUnion<readonly [z.ZodObject<{
57
+ JsTransaction: z.ZodObject<{
58
+ updateId: z.ZodString;
59
+ commandId: z.ZodOptional<z.ZodString>;
60
+ workflowId: z.ZodOptional<z.ZodString>;
61
+ effectiveAt: z.ZodString;
62
+ offset: z.ZodNumber;
63
+ events: z.ZodArray<z.ZodObject<{
64
+ kind: z.ZodUnion<readonly [z.ZodObject<{
65
+ JsCreated: z.ZodObject<{
66
+ offset: z.ZodNumber;
67
+ nodeId: z.ZodNumber;
68
+ contractId: z.ZodString;
69
+ templateId: z.ZodString;
70
+ contractKey: z.ZodNullable<z.ZodString>;
71
+ createArgument: z.ZodRecord<z.ZodString, z.ZodType<string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | /*elided*/ any | {
72
+ [key: string]: string | number | boolean | /*elided*/ any | /*elided*/ any | null;
73
+ } | null)[] | {
74
+ [key: string]: string | number | boolean | any | any | null;
75
+ } | null)[] | {
76
+ [key: string]: string | number | boolean | any | any | null;
77
+ } | null)[] | {
78
+ [key: string]: string | number | boolean | any | any | null;
79
+ } | null)[] | {
80
+ [key: string]: string | number | boolean | any | any | null;
81
+ } | null)[] | {
82
+ [key: string]: string | number | boolean | any | any | null;
83
+ } | null)[] | {
84
+ [key: string]: string | number | boolean | any | any | null;
85
+ } | null)[] | {
86
+ [key: string]: string | number | boolean | any | any | null;
87
+ } | null)[] | {
88
+ [key: string]: string | number | boolean | any | any | null;
89
+ } | null)[] | {
90
+ [key: string]: string | number | boolean | any | any | null;
91
+ } | null)[] | {
92
+ [key: string]: string | number | boolean | any | any | null;
93
+ } | null)[] | {
94
+ [key: string]: string | number | boolean | any | any | null;
95
+ } | null, unknown, z.core.$ZodTypeInternals<string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | any | {
96
+ [key: string]: string | number | boolean | any | any | null;
97
+ } | null)[] | {
98
+ [key: string]: string | number | boolean | any | any | null;
99
+ } | null)[] | {
100
+ [key: string]: string | number | boolean | any | any | null;
101
+ } | null)[] | {
102
+ [key: string]: string | number | boolean | any | any | null;
103
+ } | null)[] | {
104
+ [key: string]: string | number | boolean | any | any | null;
105
+ } | null)[] | {
106
+ [key: string]: string | number | boolean | any | any | null;
107
+ } | null)[] | {
108
+ [key: string]: string | number | boolean | any | any | null;
109
+ } | null)[] | {
110
+ [key: string]: string | number | boolean | any | any | null;
111
+ } | null)[] | {
112
+ [key: string]: string | number | boolean | any | any | null;
113
+ } | null)[] | {
114
+ [key: string]: string | number | boolean | any | any | null;
115
+ } | null)[] | {
116
+ [key: string]: string | number | boolean | any | any | null;
117
+ } | null)[] | {
118
+ [key: string]: string | number | boolean | any | any | null;
119
+ } | null, unknown>>>;
120
+ createdEventBlob: z.ZodString;
121
+ interfaceViews: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
122
+ interfaceId: z.ZodString;
123
+ viewStatus: z.ZodObject<{
124
+ code: z.ZodNumber;
125
+ message: z.ZodString;
126
+ details: z.ZodOptional<z.ZodArray<z.ZodUnknown>>;
127
+ }, z.core.$strict>;
128
+ viewValue: z.ZodOptional<z.ZodUnknown>;
129
+ }, z.core.$strict>>>>;
130
+ witnessParties: z.ZodArray<z.ZodString>;
131
+ signatories: z.ZodArray<z.ZodString>;
132
+ observers: z.ZodArray<z.ZodString>;
133
+ createdAt: z.ZodString;
134
+ packageName: z.ZodString;
135
+ implementedInterfaces: z.ZodOptional<z.ZodArray<z.ZodString>>;
136
+ }, z.core.$strip>;
137
+ }, z.core.$strip>, z.ZodObject<{
138
+ JsArchived: z.ZodObject<{
139
+ offset: z.ZodNumber;
140
+ nodeId: z.ZodNumber;
141
+ contractId: z.ZodString;
142
+ templateId: z.ZodString;
143
+ witnessParties: z.ZodArray<z.ZodString>;
144
+ packageName: z.ZodString;
145
+ implementedInterfaces: z.ZodOptional<z.ZodArray<z.ZodString>>;
146
+ }, z.core.$strip>;
147
+ }, z.core.$strip>, z.ZodObject<{
148
+ JsAssigned: z.ZodObject<{
149
+ offset: z.ZodNumber;
150
+ nodeId: z.ZodNumber;
151
+ contractId: z.ZodString;
152
+ templateId: z.ZodString;
153
+ source: z.ZodString;
154
+ target: z.ZodString;
155
+ reassignmentId: z.ZodString;
156
+ submitter: z.ZodString;
157
+ reassignmentCounter: z.ZodNumber;
158
+ packageName: z.ZodString;
159
+ }, z.core.$strip>;
160
+ }, z.core.$strip>, z.ZodObject<{
161
+ JsUnassigned: z.ZodObject<{
162
+ offset: z.ZodNumber;
163
+ nodeId: z.ZodNumber;
164
+ contractId: z.ZodString;
165
+ templateId: z.ZodString;
166
+ source: z.ZodString;
167
+ target: z.ZodString;
168
+ reassignmentId: z.ZodString;
169
+ submitter: z.ZodString;
170
+ reassignmentCounter: z.ZodNumber;
171
+ packageName: z.ZodString;
172
+ }, z.core.$strip>;
173
+ }, z.core.$strip>]>;
174
+ synchronizerId: z.ZodString;
175
+ reassignmentCounter: z.ZodNumber;
176
+ }, z.core.$strip>>;
177
+ traceContext: z.ZodOptional<z.ZodObject<{
178
+ traceId: z.ZodOptional<z.ZodString>;
179
+ spanId: z.ZodOptional<z.ZodString>;
180
+ parentSpanId: z.ZodOptional<z.ZodString>;
181
+ metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
182
+ }, z.core.$strip>>;
183
+ recordTime: z.ZodString;
184
+ }, z.core.$strip>;
185
+ }, z.core.$strip>, z.ZodObject<{
186
+ JsTransactionTree: z.ZodObject<{
187
+ updateId: z.ZodString;
188
+ commandId: z.ZodOptional<z.ZodString>;
189
+ workflowId: z.ZodOptional<z.ZodString>;
190
+ effectiveAt: z.ZodString;
191
+ offset: z.ZodNumber;
192
+ eventsById: z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodObject<{
193
+ CreatedTreeEvent: z.ZodObject<{
194
+ value: z.ZodObject<{
195
+ offset: z.ZodNumber;
196
+ nodeId: z.ZodNumber;
197
+ contractId: z.ZodString;
198
+ templateId: z.ZodString;
199
+ contractKey: z.ZodNullable<z.ZodString>;
200
+ createArgument: z.ZodRecord<z.ZodString, z.ZodType<string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | any | {
201
+ [key: string]: string | number | boolean | any | any | null;
202
+ } | null)[] | {
203
+ [key: string]: string | number | boolean | any | any | null;
204
+ } | null)[] | {
205
+ [key: string]: string | number | boolean | any | any | null;
206
+ } | null)[] | {
207
+ [key: string]: string | number | boolean | any | any | null;
208
+ } | null)[] | {
209
+ [key: string]: string | number | boolean | any | any | null;
210
+ } | null)[] | {
211
+ [key: string]: string | number | boolean | any | any | null;
212
+ } | null)[] | {
213
+ [key: string]: string | number | boolean | any | any | null;
214
+ } | null)[] | {
215
+ [key: string]: string | number | boolean | any | any | null;
216
+ } | null)[] | {
217
+ [key: string]: string | number | boolean | any | any | null;
218
+ } | null)[] | {
219
+ [key: string]: string | number | boolean | any | any | null;
220
+ } | null)[] | {
221
+ [key: string]: string | number | boolean | any | any | null;
222
+ } | null)[] | {
223
+ [key: string]: string | number | boolean | any | any | null;
224
+ } | null, unknown, z.core.$ZodTypeInternals<string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | any | {
225
+ [key: string]: string | number | boolean | any | any | null;
226
+ } | null)[] | {
227
+ [key: string]: string | number | boolean | any | any | null;
228
+ } | null)[] | {
229
+ [key: string]: string | number | boolean | any | any | null;
230
+ } | null)[] | {
231
+ [key: string]: string | number | boolean | any | any | null;
232
+ } | null)[] | {
233
+ [key: string]: string | number | boolean | any | any | null;
234
+ } | null)[] | {
235
+ [key: string]: string | number | boolean | any | any | null;
236
+ } | null)[] | {
237
+ [key: string]: string | number | boolean | any | any | null;
238
+ } | null)[] | {
239
+ [key: string]: string | number | boolean | any | any | null;
240
+ } | null)[] | {
241
+ [key: string]: string | number | boolean | any | any | null;
242
+ } | null)[] | {
243
+ [key: string]: string | number | boolean | any | any | null;
244
+ } | null)[] | {
245
+ [key: string]: string | number | boolean | any | any | null;
246
+ } | null)[] | {
247
+ [key: string]: string | number | boolean | any | any | null;
248
+ } | null, unknown>>>;
249
+ createdEventBlob: z.ZodString;
250
+ interfaceViews: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
251
+ interfaceId: z.ZodString;
252
+ viewStatus: z.ZodObject<{
253
+ code: z.ZodNumber;
254
+ message: z.ZodString;
255
+ details: z.ZodOptional<z.ZodArray<z.ZodUnknown>>;
256
+ }, z.core.$strict>;
257
+ viewValue: z.ZodOptional<z.ZodUnknown>;
258
+ }, z.core.$strict>>>>;
259
+ witnessParties: z.ZodArray<z.ZodString>;
260
+ signatories: z.ZodArray<z.ZodString>;
261
+ observers: z.ZodArray<z.ZodString>;
262
+ createdAt: z.ZodString;
263
+ packageName: z.ZodString;
264
+ implementedInterfaces: z.ZodOptional<z.ZodArray<z.ZodString>>;
265
+ }, z.core.$strict>;
266
+ }, z.core.$strict>;
267
+ }, z.core.$strict>, z.ZodObject<{
268
+ ExercisedTreeEvent: z.ZodObject<{
269
+ value: z.ZodObject<{
270
+ offset: z.ZodNumber;
271
+ nodeId: z.ZodNumber;
272
+ contractId: z.ZodString;
273
+ templateId: z.ZodString;
274
+ interfaceId: z.ZodNullable<z.ZodString>;
275
+ choice: z.ZodString;
276
+ choiceArgument: z.ZodRecord<z.ZodString, z.ZodType<string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | any | {
277
+ [key: string]: string | number | boolean | any | any | null;
278
+ } | null)[] | {
279
+ [key: string]: string | number | boolean | any | any | null;
280
+ } | null)[] | {
281
+ [key: string]: string | number | boolean | any | any | null;
282
+ } | null)[] | {
283
+ [key: string]: string | number | boolean | any | any | null;
284
+ } | null)[] | {
285
+ [key: string]: string | number | boolean | any | any | null;
286
+ } | null)[] | {
287
+ [key: string]: string | number | boolean | any | any | null;
288
+ } | null)[] | {
289
+ [key: string]: string | number | boolean | any | any | null;
290
+ } | null)[] | {
291
+ [key: string]: string | number | boolean | any | any | null;
292
+ } | null)[] | {
293
+ [key: string]: string | number | boolean | any | any | null;
294
+ } | null)[] | {
295
+ [key: string]: string | number | boolean | any | any | null;
296
+ } | null)[] | {
297
+ [key: string]: string | number | boolean | any | any | null;
298
+ } | null)[] | {
299
+ [key: string]: string | number | boolean | any | any | null;
300
+ } | null, unknown, z.core.$ZodTypeInternals<string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | any | {
301
+ [key: string]: string | number | boolean | any | any | null;
302
+ } | null)[] | {
303
+ [key: string]: string | number | boolean | any | any | null;
304
+ } | null)[] | {
305
+ [key: string]: string | number | boolean | any | any | null;
306
+ } | null)[] | {
307
+ [key: string]: string | number | boolean | any | any | null;
308
+ } | null)[] | {
309
+ [key: string]: string | number | boolean | any | any | null;
310
+ } | null)[] | {
311
+ [key: string]: string | number | boolean | any | any | null;
312
+ } | null)[] | {
313
+ [key: string]: string | number | boolean | any | any | null;
314
+ } | null)[] | {
315
+ [key: string]: string | number | boolean | any | any | null;
316
+ } | null)[] | {
317
+ [key: string]: string | number | boolean | any | any | null;
318
+ } | null)[] | {
319
+ [key: string]: string | number | boolean | any | any | null;
320
+ } | null)[] | {
321
+ [key: string]: string | number | boolean | any | any | null;
322
+ } | null)[] | {
323
+ [key: string]: string | number | boolean | any | any | null;
324
+ } | null, unknown>>>;
325
+ actingParties: z.ZodArray<z.ZodString>;
326
+ witnessParties: z.ZodArray<z.ZodString>;
327
+ exerciseResult: z.ZodRecord<z.ZodString, z.ZodType<string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | any | {
328
+ [key: string]: string | number | boolean | any | any | null;
329
+ } | null)[] | {
330
+ [key: string]: string | number | boolean | any | any | null;
331
+ } | null)[] | {
332
+ [key: string]: string | number | boolean | any | any | null;
333
+ } | null)[] | {
334
+ [key: string]: string | number | boolean | any | any | null;
335
+ } | null)[] | {
336
+ [key: string]: string | number | boolean | any | any | null;
337
+ } | null)[] | {
338
+ [key: string]: string | number | boolean | any | any | null;
339
+ } | null)[] | {
340
+ [key: string]: string | number | boolean | any | any | null;
341
+ } | null)[] | {
342
+ [key: string]: string | number | boolean | any | any | null;
343
+ } | null)[] | {
344
+ [key: string]: string | number | boolean | any | any | null;
345
+ } | null)[] | {
346
+ [key: string]: string | number | boolean | any | any | null;
347
+ } | null)[] | {
348
+ [key: string]: string | number | boolean | any | any | null;
349
+ } | null)[] | {
350
+ [key: string]: string | number | boolean | any | any | null;
351
+ } | null, unknown, z.core.$ZodTypeInternals<string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | any | {
352
+ [key: string]: string | number | boolean | any | any | null;
353
+ } | null)[] | {
354
+ [key: string]: string | number | boolean | any | any | null;
355
+ } | null)[] | {
356
+ [key: string]: string | number | boolean | any | any | null;
357
+ } | null)[] | {
358
+ [key: string]: string | number | boolean | any | any | null;
359
+ } | null)[] | {
360
+ [key: string]: string | number | boolean | any | any | null;
361
+ } | null)[] | {
362
+ [key: string]: string | number | boolean | any | any | null;
363
+ } | null)[] | {
364
+ [key: string]: string | number | boolean | any | any | null;
365
+ } | null)[] | {
366
+ [key: string]: string | number | boolean | any | any | null;
367
+ } | null)[] | {
368
+ [key: string]: string | number | boolean | any | any | null;
369
+ } | null)[] | {
370
+ [key: string]: string | number | boolean | any | any | null;
371
+ } | null)[] | {
372
+ [key: string]: string | number | boolean | any | any | null;
373
+ } | null)[] | {
374
+ [key: string]: string | number | boolean | any | any | null;
375
+ } | null, unknown>>>;
376
+ packageName: z.ZodString;
377
+ consuming: z.ZodBoolean;
378
+ lastDescendantNodeId: z.ZodOptional<z.ZodNumber>;
379
+ implementedInterfaces: z.ZodOptional<z.ZodArray<z.ZodString>>;
380
+ }, z.core.$strict>;
381
+ }, z.core.$strict>;
382
+ }, z.core.$strict>, z.ZodObject<{
383
+ ArchivedTreeEvent: z.ZodObject<{
384
+ value: z.ZodObject<{
385
+ offset: z.ZodNumber;
386
+ nodeId: z.ZodNumber;
387
+ contractId: z.ZodString;
388
+ templateId: z.ZodString;
389
+ witnessParties: z.ZodArray<z.ZodString>;
390
+ packageName: z.ZodString;
391
+ implementedInterfaces: z.ZodOptional<z.ZodArray<z.ZodString>>;
392
+ }, z.core.$strict>;
393
+ }, z.core.$strict>;
394
+ }, z.core.$strict>]>>;
395
+ recordTime: z.ZodString;
396
+ }, z.core.$strip>;
397
+ }, z.core.$strip>, z.ZodObject<{
398
+ OffsetCheckpoint: z.ZodObject<{
399
+ value: z.ZodObject<{
400
+ offset: z.ZodNumber;
401
+ synchronizerTimes: z.ZodArray<z.ZodObject<{
402
+ synchronizerId: z.ZodString;
403
+ recordTime: z.ZodString;
404
+ }, z.core.$strip>>;
405
+ }, z.core.$strip>;
406
+ }, z.core.$strip>;
407
+ }, z.core.$strip>]>;
408
+ }, z.core.$strip>, z.ZodObject<{
409
+ update: z.ZodUnion<readonly [z.ZodObject<{
410
+ OffsetCheckpoint: z.ZodObject<{
411
+ value: z.ZodObject<{
412
+ offset: z.ZodNumber;
413
+ synchronizerTimes: z.ZodArray<z.ZodObject<{
414
+ synchronizerId: z.ZodString;
415
+ recordTime: z.ZodString;
416
+ }, z.core.$strip>>;
417
+ }, z.core.$strip>;
418
+ }, z.core.$strip>;
419
+ }, z.core.$strip>, z.ZodObject<{
420
+ Reassignment: z.ZodObject<{
421
+ updateId: z.ZodString;
422
+ commandId: z.ZodOptional<z.ZodString>;
423
+ workflowId: z.ZodOptional<z.ZodString>;
424
+ offset: z.ZodNumber;
425
+ events: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
426
+ JsAssignmentEvent: z.ZodObject<{
427
+ source: z.ZodString;
428
+ target: z.ZodString;
429
+ reassignmentId: z.ZodString;
430
+ submitter: z.ZodString;
431
+ reassignmentCounter: z.ZodNumber;
432
+ createdEvent: z.ZodObject<{
433
+ offset: z.ZodNumber;
434
+ nodeId: z.ZodNumber;
435
+ contractId: z.ZodString;
436
+ templateId: z.ZodString;
437
+ contractKey: z.ZodNullable<z.ZodString>;
438
+ createArgument: z.ZodRecord<z.ZodString, z.ZodType<string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | any | {
439
+ [key: string]: string | number | boolean | any | any | null;
440
+ } | null)[] | {
441
+ [key: string]: string | number | boolean | any | any | null;
442
+ } | null)[] | {
443
+ [key: string]: string | number | boolean | any | any | null;
444
+ } | null)[] | {
445
+ [key: string]: string | number | boolean | any | any | null;
446
+ } | null)[] | {
447
+ [key: string]: string | number | boolean | any | any | null;
448
+ } | null)[] | {
449
+ [key: string]: string | number | boolean | any | any | null;
450
+ } | null)[] | {
451
+ [key: string]: string | number | boolean | any | any | null;
452
+ } | null)[] | {
453
+ [key: string]: string | number | boolean | any | any | null;
454
+ } | null)[] | {
455
+ [key: string]: string | number | boolean | any | any | null;
456
+ } | null)[] | {
457
+ [key: string]: string | number | boolean | any | any | null;
458
+ } | null)[] | {
459
+ [key: string]: string | number | boolean | any | any | null;
460
+ } | null)[] | {
461
+ [key: string]: string | number | boolean | any | any | null;
462
+ } | null, unknown, z.core.$ZodTypeInternals<string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | any | {
463
+ [key: string]: string | number | boolean | any | any | null;
464
+ } | null)[] | {
465
+ [key: string]: string | number | boolean | any | any | null;
466
+ } | null)[] | {
467
+ [key: string]: string | number | boolean | any | any | null;
468
+ } | null)[] | {
469
+ [key: string]: string | number | boolean | any | any | null;
470
+ } | null)[] | {
471
+ [key: string]: string | number | boolean | any | any | null;
472
+ } | null)[] | {
473
+ [key: string]: string | number | boolean | any | any | null;
474
+ } | null)[] | {
475
+ [key: string]: string | number | boolean | any | any | null;
476
+ } | null)[] | {
477
+ [key: string]: string | number | boolean | any | any | null;
478
+ } | null)[] | {
479
+ [key: string]: string | number | boolean | any | any | null;
480
+ } | null)[] | {
481
+ [key: string]: string | number | boolean | any | any | null;
482
+ } | null)[] | {
483
+ [key: string]: string | number | boolean | any | any | null;
484
+ } | null)[] | {
485
+ [key: string]: string | number | boolean | any | any | null;
486
+ } | null, unknown>>>;
487
+ createdEventBlob: z.ZodString;
488
+ interfaceViews: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
489
+ interfaceId: z.ZodString;
490
+ viewStatus: z.ZodObject<{
491
+ code: z.ZodNumber;
492
+ message: z.ZodString;
493
+ details: z.ZodOptional<z.ZodArray<z.ZodUnknown>>;
494
+ }, z.core.$strict>;
495
+ viewValue: z.ZodOptional<z.ZodUnknown>;
496
+ }, z.core.$strict>>>>;
497
+ witnessParties: z.ZodArray<z.ZodString>;
498
+ signatories: z.ZodArray<z.ZodString>;
499
+ observers: z.ZodArray<z.ZodString>;
500
+ createdAt: z.ZodString;
501
+ packageName: z.ZodString;
502
+ implementedInterfaces: z.ZodOptional<z.ZodArray<z.ZodString>>;
503
+ }, z.core.$strip>;
504
+ }, z.core.$strip>;
505
+ }, z.core.$strip>, z.ZodObject<{
506
+ JsUnassignedEvent: z.ZodObject<{
507
+ value: z.ZodObject<{
508
+ offset: z.ZodNumber;
509
+ nodeId: z.ZodNumber;
510
+ contractId: z.ZodString;
511
+ templateId: z.ZodString;
512
+ source: z.ZodString;
513
+ target: z.ZodString;
514
+ reassignmentId: z.ZodString;
515
+ submitter: z.ZodString;
516
+ reassignmentCounter: z.ZodNumber;
517
+ packageName: z.ZodString;
518
+ }, z.core.$strip>;
519
+ }, z.core.$strip>;
520
+ }, z.core.$strip>]>>;
521
+ traceContext: z.ZodOptional<z.ZodObject<{
522
+ traceId: z.ZodOptional<z.ZodString>;
523
+ spanId: z.ZodOptional<z.ZodString>;
524
+ parentSpanId: z.ZodOptional<z.ZodString>;
525
+ metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
526
+ }, z.core.$strip>>;
527
+ recordTime: z.ZodString;
528
+ }, z.core.$strip>;
529
+ }, z.core.$strip>, z.ZodObject<{
530
+ TopologyTransaction: z.ZodObject<{
531
+ updateId: z.ZodString;
532
+ offset: z.ZodNumber;
533
+ recordTime: z.ZodString;
534
+ synchronizerId: z.ZodString;
535
+ events: z.ZodArray<z.ZodObject<{
536
+ participantId: z.ZodOptional<z.ZodString>;
537
+ partyId: z.ZodOptional<z.ZodString>;
538
+ permission: z.ZodOptional<z.ZodString>;
539
+ }, z.core.$strip>>;
540
+ }, z.core.$strip>;
541
+ }, z.core.$strip>, z.ZodObject<{
542
+ Transaction: z.ZodObject<{
543
+ updateId: z.ZodString;
544
+ commandId: z.ZodOptional<z.ZodString>;
545
+ workflowId: z.ZodOptional<z.ZodString>;
546
+ effectiveAt: z.ZodString;
547
+ offset: z.ZodNumber;
548
+ events: z.ZodArray<z.ZodObject<{
549
+ kind: z.ZodUnion<readonly [z.ZodObject<{
550
+ JsCreated: z.ZodObject<{
551
+ offset: z.ZodNumber;
552
+ nodeId: z.ZodNumber;
553
+ contractId: z.ZodString;
554
+ templateId: z.ZodString;
555
+ contractKey: z.ZodNullable<z.ZodString>;
556
+ createArgument: z.ZodRecord<z.ZodString, z.ZodType<string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | any | {
557
+ [key: string]: string | number | boolean | any | any | null;
558
+ } | null)[] | {
559
+ [key: string]: string | number | boolean | any | any | null;
560
+ } | null)[] | {
561
+ [key: string]: string | number | boolean | any | any | null;
562
+ } | null)[] | {
563
+ [key: string]: string | number | boolean | any | any | null;
564
+ } | null)[] | {
565
+ [key: string]: string | number | boolean | any | any | null;
566
+ } | null)[] | {
567
+ [key: string]: string | number | boolean | any | any | null;
568
+ } | null)[] | {
569
+ [key: string]: string | number | boolean | any | any | null;
570
+ } | null)[] | {
571
+ [key: string]: string | number | boolean | any | any | null;
572
+ } | null)[] | {
573
+ [key: string]: string | number | boolean | any | any | null;
574
+ } | null)[] | {
575
+ [key: string]: string | number | boolean | any | any | null;
576
+ } | null)[] | {
577
+ [key: string]: string | number | boolean | any | any | null;
578
+ } | null)[] | {
579
+ [key: string]: string | number | boolean | any | any | null;
580
+ } | null, unknown, z.core.$ZodTypeInternals<string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | any | {
581
+ [key: string]: string | number | boolean | any | any | null;
582
+ } | null)[] | {
583
+ [key: string]: string | number | boolean | any | any | null;
584
+ } | null)[] | {
585
+ [key: string]: string | number | boolean | any | any | null;
586
+ } | null)[] | {
587
+ [key: string]: string | number | boolean | any | any | null;
588
+ } | null)[] | {
589
+ [key: string]: string | number | boolean | any | any | null;
590
+ } | null)[] | {
591
+ [key: string]: string | number | boolean | any | any | null;
592
+ } | null)[] | {
593
+ [key: string]: string | number | boolean | any | any | null;
594
+ } | null)[] | {
595
+ [key: string]: string | number | boolean | any | any | null;
596
+ } | null)[] | {
597
+ [key: string]: string | number | boolean | any | any | null;
598
+ } | null)[] | {
599
+ [key: string]: string | number | boolean | any | any | null;
600
+ } | null)[] | {
601
+ [key: string]: string | number | boolean | any | any | null;
602
+ } | null)[] | {
603
+ [key: string]: string | number | boolean | any | any | null;
604
+ } | null, unknown>>>;
605
+ createdEventBlob: z.ZodString;
606
+ interfaceViews: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
607
+ interfaceId: z.ZodString;
608
+ viewStatus: z.ZodObject<{
609
+ code: z.ZodNumber;
610
+ message: z.ZodString;
611
+ details: z.ZodOptional<z.ZodArray<z.ZodUnknown>>;
612
+ }, z.core.$strict>;
613
+ viewValue: z.ZodOptional<z.ZodUnknown>;
614
+ }, z.core.$strict>>>>;
615
+ witnessParties: z.ZodArray<z.ZodString>;
616
+ signatories: z.ZodArray<z.ZodString>;
617
+ observers: z.ZodArray<z.ZodString>;
618
+ createdAt: z.ZodString;
619
+ packageName: z.ZodString;
620
+ implementedInterfaces: z.ZodOptional<z.ZodArray<z.ZodString>>;
621
+ }, z.core.$strip>;
622
+ }, z.core.$strip>, z.ZodObject<{
623
+ JsArchived: z.ZodObject<{
624
+ offset: z.ZodNumber;
625
+ nodeId: z.ZodNumber;
626
+ contractId: z.ZodString;
627
+ templateId: z.ZodString;
628
+ witnessParties: z.ZodArray<z.ZodString>;
629
+ packageName: z.ZodString;
630
+ implementedInterfaces: z.ZodOptional<z.ZodArray<z.ZodString>>;
631
+ }, z.core.$strip>;
632
+ }, z.core.$strip>, z.ZodObject<{
633
+ JsAssigned: z.ZodObject<{
634
+ offset: z.ZodNumber;
635
+ nodeId: z.ZodNumber;
636
+ contractId: z.ZodString;
637
+ templateId: z.ZodString;
638
+ source: z.ZodString;
639
+ target: z.ZodString;
640
+ reassignmentId: z.ZodString;
641
+ submitter: z.ZodString;
642
+ reassignmentCounter: z.ZodNumber;
643
+ packageName: z.ZodString;
644
+ }, z.core.$strip>;
645
+ }, z.core.$strip>, z.ZodObject<{
646
+ JsUnassigned: z.ZodObject<{
647
+ offset: z.ZodNumber;
648
+ nodeId: z.ZodNumber;
649
+ contractId: z.ZodString;
650
+ templateId: z.ZodString;
651
+ source: z.ZodString;
652
+ target: z.ZodString;
653
+ reassignmentId: z.ZodString;
654
+ submitter: z.ZodString;
655
+ reassignmentCounter: z.ZodNumber;
656
+ packageName: z.ZodString;
657
+ }, z.core.$strip>;
658
+ }, z.core.$strip>]>;
659
+ synchronizerId: z.ZodString;
660
+ reassignmentCounter: z.ZodNumber;
661
+ }, z.core.$strip>>;
662
+ traceContext: z.ZodOptional<z.ZodObject<{
663
+ traceId: z.ZodOptional<z.ZodString>;
664
+ spanId: z.ZodOptional<z.ZodString>;
665
+ parentSpanId: z.ZodOptional<z.ZodString>;
666
+ metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
667
+ }, z.core.$strip>>;
668
+ recordTime: z.ZodString;
669
+ }, z.core.$strip>;
670
+ }, z.core.$strip>]>;
671
+ }, z.core.$strip>, z.ZodObject<{
672
+ code: z.ZodObject<{
673
+ kind: z.ZodUnion<readonly [z.ZodObject<{
674
+ JsAborted: z.ZodObject<{}, z.core.$strip>;
675
+ }, z.core.$strip>, z.ZodObject<{
676
+ JsContractNotFound: z.ZodObject<{}, z.core.$strip>;
677
+ }, z.core.$strip>, z.ZodObject<{
678
+ JsDisconnected: z.ZodObject<{}, z.core.$strip>;
679
+ }, z.core.$strip>, z.ZodObject<{
680
+ JsDuplicateCommand: z.ZodObject<{}, z.core.$strip>;
681
+ }, z.core.$strip>, z.ZodObject<{
682
+ JsInconsistent: z.ZodObject<{}, z.core.$strip>;
683
+ }, z.core.$strip>, z.ZodObject<{
684
+ JsInvalidArgument: z.ZodObject<{}, z.core.$strip>;
685
+ }, z.core.$strip>, z.ZodObject<{
686
+ JsInvalidLedgerTime: z.ZodObject<{}, z.core.$strip>;
687
+ }, z.core.$strip>, z.ZodObject<{
688
+ JsOutOfQuota: z.ZodObject<{}, z.core.$strip>;
689
+ }, z.core.$strip>, z.ZodObject<{
690
+ JsPartyNotKnownOnLedger: z.ZodObject<{}, z.core.$strip>;
691
+ }, z.core.$strip>, z.ZodObject<{
692
+ JsResourceExhausted: z.ZodObject<{}, z.core.$strip>;
693
+ }, z.core.$strip>, z.ZodObject<{
694
+ JsSubmitterCannotActViaParticipant: z.ZodObject<{}, z.core.$strip>;
695
+ }, z.core.$strip>, z.ZodObject<{
696
+ JsTemplateNotFound: z.ZodObject<{}, z.core.$strip>;
697
+ }, z.core.$strip>, z.ZodObject<{
698
+ JsTimedOut: z.ZodObject<{}, z.core.$strip>;
699
+ }, z.core.$strip>, z.ZodObject<{
700
+ JsTransactionNotFound: z.ZodObject<{}, z.core.$strip>;
701
+ }, z.core.$strip>, z.ZodObject<{
702
+ JsUnauthenticated: z.ZodObject<{}, z.core.$strip>;
703
+ }, z.core.$strip>, z.ZodObject<{
704
+ JsUnknown: z.ZodObject<{}, z.core.$strip>;
705
+ }, z.core.$strip>, z.ZodObject<{
706
+ JsUnsupported: z.ZodObject<{}, z.core.$strip>;
707
+ }, z.core.$strip>, z.ZodObject<{
708
+ JsUserManagement: z.ZodObject<{}, z.core.$strip>;
709
+ }, z.core.$strip>, z.ZodObject<{
710
+ JsValueNotFound: z.ZodObject<{}, z.core.$strip>;
711
+ }, z.core.$strip>]>;
712
+ }, z.core.$strip>;
713
+ message: z.ZodString;
714
+ details: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | any | {
715
+ [key: string]: string | number | boolean | any | any | null;
716
+ } | null)[] | {
717
+ [key: string]: string | number | boolean | any | any | null;
718
+ } | null)[] | {
719
+ [key: string]: string | number | boolean | any | any | null;
720
+ } | null)[] | {
721
+ [key: string]: string | number | boolean | any | any | null;
722
+ } | null)[] | {
723
+ [key: string]: string | number | boolean | any | any | null;
724
+ } | null)[] | {
725
+ [key: string]: string | number | boolean | any | any | null;
726
+ } | null)[] | {
727
+ [key: string]: string | number | boolean | any | any | null;
728
+ } | null)[] | {
729
+ [key: string]: string | number | boolean | any | any | null;
730
+ } | null)[] | {
731
+ [key: string]: string | number | boolean | any | any | null;
732
+ } | null)[] | {
733
+ [key: string]: string | number | boolean | any | any | null;
734
+ } | null)[] | {
735
+ [key: string]: string | number | boolean | any | any | null;
736
+ } | null)[] | {
737
+ [key: string]: string | number | boolean | any | any | null;
738
+ } | null, unknown, z.core.$ZodTypeInternals<string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | any | {
739
+ [key: string]: string | number | boolean | any | any | null;
740
+ } | null)[] | {
741
+ [key: string]: string | number | boolean | any | any | null;
742
+ } | null)[] | {
743
+ [key: string]: string | number | boolean | any | any | null;
744
+ } | null)[] | {
745
+ [key: string]: string | number | boolean | any | any | null;
746
+ } | null)[] | {
747
+ [key: string]: string | number | boolean | any | any | null;
748
+ } | null)[] | {
749
+ [key: string]: string | number | boolean | any | any | null;
750
+ } | null)[] | {
751
+ [key: string]: string | number | boolean | any | any | null;
752
+ } | null)[] | {
753
+ [key: string]: string | number | boolean | any | any | null;
754
+ } | null)[] | {
755
+ [key: string]: string | number | boolean | any | any | null;
756
+ } | null)[] | {
757
+ [key: string]: string | number | boolean | any | any | null;
758
+ } | null)[] | {
759
+ [key: string]: string | number | boolean | any | any | null;
760
+ } | null)[] | {
761
+ [key: string]: string | number | boolean | any | any | null;
762
+ } | null, unknown>>>>;
763
+ }, z.core.$strip>, z.ZodObject<{
764
+ code: z.ZodString;
765
+ cause: z.ZodString;
766
+ correlationId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
767
+ traceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
768
+ context: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodType<string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | any | {
769
+ [key: string]: string | number | boolean | any | any | null;
770
+ } | null)[] | {
771
+ [key: string]: string | number | boolean | any | any | null;
772
+ } | null)[] | {
773
+ [key: string]: string | number | boolean | any | any | null;
774
+ } | null)[] | {
775
+ [key: string]: string | number | boolean | any | any | null;
776
+ } | null)[] | {
777
+ [key: string]: string | number | boolean | any | any | null;
778
+ } | null)[] | {
779
+ [key: string]: string | number | boolean | any | any | null;
780
+ } | null)[] | {
781
+ [key: string]: string | number | boolean | any | any | null;
782
+ } | null)[] | {
783
+ [key: string]: string | number | boolean | any | any | null;
784
+ } | null)[] | {
785
+ [key: string]: string | number | boolean | any | any | null;
786
+ } | null)[] | {
787
+ [key: string]: string | number | boolean | any | any | null;
788
+ } | null)[] | {
789
+ [key: string]: string | number | boolean | any | any | null;
790
+ } | null)[] | {
791
+ [key: string]: string | number | boolean | any | any | null;
792
+ } | null, unknown, z.core.$ZodTypeInternals<string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | any | {
793
+ [key: string]: string | number | boolean | any | any | null;
794
+ } | null)[] | {
795
+ [key: string]: string | number | boolean | any | any | null;
796
+ } | null)[] | {
797
+ [key: string]: string | number | boolean | any | any | null;
798
+ } | null)[] | {
799
+ [key: string]: string | number | boolean | any | any | null;
800
+ } | null)[] | {
801
+ [key: string]: string | number | boolean | any | any | null;
802
+ } | null)[] | {
803
+ [key: string]: string | number | boolean | any | any | null;
804
+ } | null)[] | {
805
+ [key: string]: string | number | boolean | any | any | null;
806
+ } | null)[] | {
807
+ [key: string]: string | number | boolean | any | any | null;
808
+ } | null)[] | {
809
+ [key: string]: string | number | boolean | any | any | null;
810
+ } | null)[] | {
811
+ [key: string]: string | number | boolean | any | any | null;
812
+ } | null)[] | {
813
+ [key: string]: string | number | boolean | any | any | null;
814
+ } | null)[] | {
815
+ [key: string]: string | number | boolean | any | any | null;
816
+ } | null, unknown>>>>>;
817
+ resources: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodTuple<[z.ZodString, z.ZodString], null>>>>;
818
+ errorCategory: z.ZodNumber;
819
+ grpcCodeValue: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
820
+ retryInfo: z.ZodOptional<z.ZodNullable<z.ZodString>>;
821
+ definiteAnswer: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
822
+ }, z.core.$strip>]>;
823
+ export type UpdatesWsMessage = z.infer<typeof UpdatesWsMessageSchema>;
62
824
  /**
63
825
  * Subscribes to ledger updates via WebSocket connection.
64
826
  *