@fairmint/canton-node-sdk 0.0.251 → 0.0.253

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 (50) hide show
  1. package/README.md +34 -7
  2. package/build/src/clients/ledger-json-api/operations/v2/commands/async/submit.d.ts +6 -0
  3. package/build/src/clients/ledger-json-api/operations/v2/commands/async/submit.d.ts.map +1 -1
  4. package/build/src/clients/ledger-json-api/operations/v2/commands/submit-and-wait-for-reassignment.d.ts +14 -3
  5. package/build/src/clients/ledger-json-api/operations/v2/commands/submit-and-wait-for-reassignment.d.ts.map +1 -1
  6. package/build/src/clients/ledger-json-api/operations/v2/commands/submit-and-wait-for-transaction-tree.d.ts +34 -28
  7. package/build/src/clients/ledger-json-api/operations/v2/commands/submit-and-wait-for-transaction-tree.d.ts.map +1 -1
  8. package/build/src/clients/ledger-json-api/operations/v2/commands/submit-and-wait-for-transaction.d.ts +6 -0
  9. package/build/src/clients/ledger-json-api/operations/v2/commands/submit-and-wait-for-transaction.d.ts.map +1 -1
  10. package/build/src/clients/ledger-json-api/operations/v2/commands/submit-and-wait.d.ts +58 -52
  11. package/build/src/clients/ledger-json-api/operations/v2/commands/submit-and-wait.d.ts.map +1 -1
  12. package/build/src/clients/ledger-json-api/operations/v2/updates/subscribe-to-updates.d.ts +268 -473
  13. package/build/src/clients/ledger-json-api/operations/v2/updates/subscribe-to-updates.d.ts.map +1 -1
  14. package/build/src/clients/ledger-json-api/operations/v2/updates/subscribe-to-updates.js +26 -6
  15. package/build/src/clients/ledger-json-api/operations/v2/updates/subscribe-to-updates.js.map +1 -1
  16. package/build/src/clients/ledger-json-api/schemas/api/completions.d.ts +75 -21
  17. package/build/src/clients/ledger-json-api/schemas/api/completions.d.ts.map +1 -1
  18. package/build/src/clients/ledger-json-api/schemas/api/completions.js +9 -4
  19. package/build/src/clients/ledger-json-api/schemas/api/completions.js.map +1 -1
  20. package/build/src/clients/ledger-json-api/schemas/api/event-details.d.ts +83 -8
  21. package/build/src/clients/ledger-json-api/schemas/api/event-details.d.ts.map +1 -1
  22. package/build/src/clients/ledger-json-api/schemas/api/event-details.js +65 -12
  23. package/build/src/clients/ledger-json-api/schemas/api/event-details.js.map +1 -1
  24. package/build/src/clients/ledger-json-api/schemas/api/reassignment.d.ts +86 -34
  25. package/build/src/clients/ledger-json-api/schemas/api/reassignment.d.ts.map +1 -1
  26. package/build/src/clients/ledger-json-api/schemas/api/reassignment.js +14 -3
  27. package/build/src/clients/ledger-json-api/schemas/api/reassignment.js.map +1 -1
  28. package/build/src/clients/ledger-json-api/schemas/api/state.d.ts +65 -41
  29. package/build/src/clients/ledger-json-api/schemas/api/state.d.ts.map +1 -1
  30. package/build/src/clients/ledger-json-api/schemas/api/updates.d.ts +2341 -1414
  31. package/build/src/clients/ledger-json-api/schemas/api/updates.d.ts.map +1 -1
  32. package/build/src/clients/ledger-json-api/schemas/api/updates.js +86 -42
  33. package/build/src/clients/ledger-json-api/schemas/api/updates.js.map +1 -1
  34. package/build/src/clients/ledger-json-api/schemas/common.d.ts +13 -6
  35. package/build/src/clients/ledger-json-api/schemas/common.d.ts.map +1 -1
  36. package/build/src/clients/ledger-json-api/schemas/common.js +16 -6
  37. package/build/src/clients/ledger-json-api/schemas/common.js.map +1 -1
  38. package/build/src/clients/ledger-json-api/schemas/operations/commands.d.ts +28 -20
  39. package/build/src/clients/ledger-json-api/schemas/operations/commands.d.ts.map +1 -1
  40. package/build/src/clients/ledger-json-api/schemas/wire.d.ts +23 -2
  41. package/build/src/clients/ledger-json-api/schemas/wire.d.ts.map +1 -1
  42. package/build/src/clients/ledger-json-api/schemas/wire.js +23 -3
  43. package/build/src/clients/ledger-json-api/schemas/wire.js.map +1 -1
  44. package/build/src/utils/traffic/paid-traffic-cost.d.ts +2 -2
  45. package/build/src/utils/traffic/paid-traffic-cost.d.ts.map +1 -1
  46. package/build/src/utils/traffic/paid-traffic-cost.js +2 -5
  47. package/build/src/utils/traffic/paid-traffic-cost.js.map +1 -1
  48. package/package.json +14 -15
  49. package/bin/canton-localnet +0 -213
  50. package/scripts/localnet-cloud.sh +0 -1178
@@ -1,12 +1,18 @@
1
1
  import { z } from 'zod';
2
- /** Update event kind (oneOf all update event types). */
3
- export declare const JsUpdateEventKindSchema: z.ZodUnion<readonly [z.ZodObject<{
4
- JsCreated: z.ZodObject<{
2
+ /**
3
+ * Events inside a JsTransaction (AsyncAPI `Event`).
4
+ *
5
+ * - ACS_DELTA: CreatedEvent | ArchivedEvent
6
+ * - LEDGER_EFFECTS: CreatedEvent | ExercisedEvent
7
+ */
8
+ export declare const TransactionEventSchema: z.ZodUnion<readonly [z.ZodObject<{
9
+ CreatedEvent: z.ZodObject<{
5
10
  offset: z.ZodNumber;
6
11
  nodeId: z.ZodNumber;
7
12
  contractId: z.ZodString;
8
13
  templateId: z.ZodString;
9
- contractKey: z.ZodNullable<z.ZodString>;
14
+ contractKey: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodType<import("..").LedgerJsonValue, unknown, z.core.$ZodTypeInternals<import("..").LedgerJsonValue, unknown>>, z.ZodNull]>, z.ZodTransform<import("..").LedgerJsonValue | undefined, import("..").LedgerJsonValue>>>;
15
+ contractKeyHash: z.ZodOptional<z.ZodString>;
10
16
  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 | {
11
17
  [key: string]: string | number | boolean | /*elided*/ any | /*elided*/ any | null;
12
18
  } | null)[] | {
@@ -56,7 +62,7 @@ export declare const JsUpdateEventKindSchema: z.ZodUnion<readonly [z.ZodObject<{
56
62
  } | null)[] | {
57
63
  [key: string]: string | number | boolean | any | any | null;
58
64
  } | null, unknown>>>;
59
- createdEventBlob: z.ZodString;
65
+ createdEventBlob: z.ZodOptional<z.ZodString>;
60
66
  interfaceViews: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
61
67
  interfaceId: z.ZodString;
62
68
  implementationPackageId: z.ZodOptional<z.ZodString>;
@@ -69,13 +75,15 @@ export declare const JsUpdateEventKindSchema: z.ZodUnion<readonly [z.ZodObject<{
69
75
  }, z.core.$strict>>>>;
70
76
  witnessParties: z.ZodArray<z.ZodString>;
71
77
  signatories: z.ZodArray<z.ZodString>;
72
- observers: z.ZodArray<z.ZodString>;
78
+ observers: z.ZodOptional<z.ZodArray<z.ZodString>>;
73
79
  createdAt: z.ZodString;
74
80
  packageName: z.ZodString;
81
+ representativePackageId: z.ZodOptional<z.ZodString>;
82
+ acsDelta: z.ZodOptional<z.ZodBoolean>;
75
83
  implementedInterfaces: z.ZodOptional<z.ZodArray<z.ZodString>>;
76
- }, z.core.$strip>;
84
+ }, z.core.$loose>;
77
85
  }, z.core.$strip>, z.ZodObject<{
78
- JsArchived: z.ZodObject<{
86
+ ArchivedEvent: z.ZodObject<{
79
87
  offset: z.ZodNumber;
80
88
  nodeId: z.ZodNumber;
81
89
  contractId: z.ZodString;
@@ -83,43 +91,89 @@ export declare const JsUpdateEventKindSchema: z.ZodUnion<readonly [z.ZodObject<{
83
91
  witnessParties: z.ZodArray<z.ZodString>;
84
92
  packageName: z.ZodString;
85
93
  implementedInterfaces: z.ZodOptional<z.ZodArray<z.ZodString>>;
86
- }, z.core.$strip>;
87
- }, z.core.$strip>, z.ZodObject<{
88
- JsAssigned: z.ZodObject<{
89
- offset: z.ZodNumber;
90
- nodeId: z.ZodNumber;
91
- contractId: z.ZodString;
92
- templateId: z.ZodString;
93
- source: z.ZodString;
94
- target: z.ZodString;
95
- reassignmentId: z.ZodString;
96
- submitter: z.ZodString;
97
- reassignmentCounter: z.ZodNumber;
98
- packageName: z.ZodString;
99
- }, z.core.$strip>;
94
+ }, z.core.$loose>;
100
95
  }, z.core.$strip>, z.ZodObject<{
101
- JsUnassigned: z.ZodObject<{
96
+ ExercisedEvent: z.ZodObject<{
102
97
  offset: z.ZodNumber;
103
98
  nodeId: z.ZodNumber;
104
99
  contractId: z.ZodString;
105
100
  templateId: z.ZodString;
106
- source: z.ZodString;
107
- target: z.ZodString;
108
- reassignmentId: z.ZodString;
109
- submitter: z.ZodString;
110
- reassignmentCounter: z.ZodNumber;
101
+ interfaceId: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>, z.ZodTransform<string | undefined, string | null>>>;
102
+ choice: z.ZodString;
103
+ 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 | {
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)[] | {
120
+ [key: string]: string | number | boolean | any | any | null;
121
+ } | null)[] | {
122
+ [key: string]: string | number | boolean | any | any | null;
123
+ } | null)[] | {
124
+ [key: string]: string | number | boolean | any | any | null;
125
+ } | null)[] | {
126
+ [key: string]: string | number | boolean | any | any | null;
127
+ } | 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 | {
128
+ [key: string]: string | number | boolean | any | any | null;
129
+ } | null)[] | {
130
+ [key: string]: string | number | boolean | any | any | null;
131
+ } | null)[] | {
132
+ [key: string]: string | number | boolean | any | any | null;
133
+ } | null)[] | {
134
+ [key: string]: string | number | boolean | any | any | null;
135
+ } | null)[] | {
136
+ [key: string]: string | number | boolean | any | any | null;
137
+ } | null)[] | {
138
+ [key: string]: string | number | boolean | any | any | null;
139
+ } | null)[] | {
140
+ [key: string]: string | number | boolean | any | any | null;
141
+ } | null)[] | {
142
+ [key: string]: string | number | boolean | any | any | null;
143
+ } | null)[] | {
144
+ [key: string]: string | number | boolean | any | any | null;
145
+ } | null)[] | {
146
+ [key: string]: string | number | boolean | any | any | null;
147
+ } | null)[] | {
148
+ [key: string]: string | number | boolean | any | any | null;
149
+ } | null)[] | {
150
+ [key: string]: string | number | boolean | any | any | null;
151
+ } | null, unknown>>>;
152
+ actingParties: z.ZodArray<z.ZodString>;
153
+ consuming: z.ZodBoolean;
154
+ witnessParties: z.ZodArray<z.ZodString>;
155
+ lastDescendantNodeId: z.ZodNumber;
156
+ exerciseResult: z.ZodOptional<z.ZodType<import("..").LedgerJsonValue, unknown, z.core.$ZodTypeInternals<import("..").LedgerJsonValue, unknown>>>;
111
157
  packageName: z.ZodString;
112
- }, z.core.$strip>;
158
+ implementedInterfaces: z.ZodOptional<z.ZodArray<z.ZodString>>;
159
+ acsDelta: z.ZodOptional<z.ZodBoolean>;
160
+ }, z.core.$loose>;
113
161
  }, z.core.$strip>]>;
114
- /** Update event details. */
115
- export declare const JsUpdateEventSchema: z.ZodObject<{
116
- kind: z.ZodUnion<readonly [z.ZodObject<{
117
- JsCreated: z.ZodObject<{
162
+ /** Transaction details (AsyncAPI `JsTransaction`). */
163
+ export declare const JsTransactionSchema: z.ZodObject<{
164
+ updateId: z.ZodString;
165
+ commandId: z.ZodOptional<z.ZodString>;
166
+ workflowId: z.ZodOptional<z.ZodString>;
167
+ effectiveAt: z.ZodString;
168
+ offset: z.ZodNumber;
169
+ events: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
170
+ CreatedEvent: z.ZodObject<{
118
171
  offset: z.ZodNumber;
119
172
  nodeId: z.ZodNumber;
120
173
  contractId: z.ZodString;
121
174
  templateId: z.ZodString;
122
- contractKey: z.ZodNullable<z.ZodString>;
175
+ contractKey: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodType<import("..").LedgerJsonValue, unknown, z.core.$ZodTypeInternals<import("..").LedgerJsonValue, unknown>>, z.ZodNull]>, z.ZodTransform<import("..").LedgerJsonValue | undefined, import("..").LedgerJsonValue>>>;
176
+ contractKeyHash: z.ZodOptional<z.ZodString>;
123
177
  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 | {
124
178
  [key: string]: string | number | boolean | /*elided*/ any | /*elided*/ any | null;
125
179
  } | null)[] | {
@@ -169,7 +223,7 @@ export declare const JsUpdateEventSchema: z.ZodObject<{
169
223
  } | null)[] | {
170
224
  [key: string]: string | number | boolean | any | any | null;
171
225
  } | null, unknown>>>;
172
- createdEventBlob: z.ZodString;
226
+ createdEventBlob: z.ZodOptional<z.ZodString>;
173
227
  interfaceViews: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
174
228
  interfaceId: z.ZodString;
175
229
  implementationPackageId: z.ZodOptional<z.ZodString>;
@@ -182,13 +236,15 @@ export declare const JsUpdateEventSchema: z.ZodObject<{
182
236
  }, z.core.$strict>>>>;
183
237
  witnessParties: z.ZodArray<z.ZodString>;
184
238
  signatories: z.ZodArray<z.ZodString>;
185
- observers: z.ZodArray<z.ZodString>;
239
+ observers: z.ZodOptional<z.ZodArray<z.ZodString>>;
186
240
  createdAt: z.ZodString;
187
241
  packageName: z.ZodString;
242
+ representativePackageId: z.ZodOptional<z.ZodString>;
243
+ acsDelta: z.ZodOptional<z.ZodBoolean>;
188
244
  implementedInterfaces: z.ZodOptional<z.ZodArray<z.ZodString>>;
189
- }, z.core.$strip>;
245
+ }, z.core.$loose>;
190
246
  }, z.core.$strip>, z.ZodObject<{
191
- JsArchived: z.ZodObject<{
247
+ ArchivedEvent: z.ZodObject<{
192
248
  offset: z.ZodNumber;
193
249
  nodeId: z.ZodNumber;
194
250
  contractId: z.ZodString;
@@ -196,167 +252,103 @@ export declare const JsUpdateEventSchema: z.ZodObject<{
196
252
  witnessParties: z.ZodArray<z.ZodString>;
197
253
  packageName: z.ZodString;
198
254
  implementedInterfaces: z.ZodOptional<z.ZodArray<z.ZodString>>;
199
- }, z.core.$strip>;
200
- }, z.core.$strip>, z.ZodObject<{
201
- JsAssigned: z.ZodObject<{
202
- offset: z.ZodNumber;
203
- nodeId: z.ZodNumber;
204
- contractId: z.ZodString;
205
- templateId: z.ZodString;
206
- source: z.ZodString;
207
- target: z.ZodString;
208
- reassignmentId: z.ZodString;
209
- submitter: z.ZodString;
210
- reassignmentCounter: z.ZodNumber;
211
- packageName: z.ZodString;
212
- }, z.core.$strip>;
255
+ }, z.core.$loose>;
213
256
  }, z.core.$strip>, z.ZodObject<{
214
- JsUnassigned: z.ZodObject<{
257
+ ExercisedEvent: z.ZodObject<{
215
258
  offset: z.ZodNumber;
216
259
  nodeId: z.ZodNumber;
217
260
  contractId: z.ZodString;
218
261
  templateId: z.ZodString;
219
- source: z.ZodString;
220
- target: z.ZodString;
221
- reassignmentId: z.ZodString;
222
- submitter: z.ZodString;
223
- reassignmentCounter: z.ZodNumber;
262
+ interfaceId: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>, z.ZodTransform<string | undefined, string | null>>>;
263
+ choice: z.ZodString;
264
+ 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 | {
265
+ [key: string]: string | number | boolean | any | any | null;
266
+ } | null)[] | {
267
+ [key: string]: string | number | boolean | any | any | null;
268
+ } | null)[] | {
269
+ [key: string]: string | number | boolean | any | any | null;
270
+ } | null)[] | {
271
+ [key: string]: string | number | boolean | any | any | null;
272
+ } | null)[] | {
273
+ [key: string]: string | number | boolean | any | any | null;
274
+ } | null)[] | {
275
+ [key: string]: string | number | boolean | any | any | null;
276
+ } | null)[] | {
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, 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 | {
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)[] | {
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, unknown>>>;
313
+ actingParties: z.ZodArray<z.ZodString>;
314
+ consuming: z.ZodBoolean;
315
+ witnessParties: z.ZodArray<z.ZodString>;
316
+ lastDescendantNodeId: z.ZodNumber;
317
+ exerciseResult: z.ZodOptional<z.ZodType<import("..").LedgerJsonValue, unknown, z.core.$ZodTypeInternals<import("..").LedgerJsonValue, unknown>>>;
224
318
  packageName: z.ZodString;
225
- }, z.core.$strip>;
226
- }, z.core.$strip>]>;
319
+ implementedInterfaces: z.ZodOptional<z.ZodArray<z.ZodString>>;
320
+ acsDelta: z.ZodOptional<z.ZodBoolean>;
321
+ }, z.core.$loose>;
322
+ }, z.core.$strip>]>>;
227
323
  synchronizerId: z.ZodString;
228
- reassignmentCounter: z.ZodNumber;
229
- }, z.core.$strip>;
230
- /** Transaction details. */
231
- export declare const JsTransactionSchema: z.ZodObject<{
232
- updateId: z.ZodString;
233
- commandId: z.ZodOptional<z.ZodString>;
234
- workflowId: z.ZodOptional<z.ZodString>;
235
- effectiveAt: z.ZodString;
236
- offset: z.ZodNumber;
237
- events: z.ZodArray<z.ZodObject<{
238
- kind: z.ZodUnion<readonly [z.ZodObject<{
239
- JsCreated: z.ZodObject<{
240
- offset: z.ZodNumber;
241
- nodeId: z.ZodNumber;
242
- contractId: z.ZodString;
243
- templateId: z.ZodString;
244
- contractKey: z.ZodNullable<z.ZodString>;
245
- 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 | {
246
- [key: string]: string | number | boolean | /*elided*/ any | /*elided*/ any | null;
247
- } | null)[] | {
248
- [key: string]: string | number | boolean | any | any | null;
249
- } | null)[] | {
250
- [key: string]: string | number | boolean | any | any | null;
251
- } | null)[] | {
252
- [key: string]: string | number | boolean | any | any | null;
253
- } | null)[] | {
254
- [key: string]: string | number | boolean | any | any | null;
255
- } | null)[] | {
256
- [key: string]: string | number | boolean | any | any | null;
257
- } | null)[] | {
258
- [key: string]: string | number | boolean | any | any | null;
259
- } | null)[] | {
260
- [key: string]: string | number | boolean | any | any | null;
261
- } | null)[] | {
262
- [key: string]: string | number | boolean | any | any | null;
263
- } | null)[] | {
264
- [key: string]: string | number | boolean | any | any | null;
265
- } | null)[] | {
266
- [key: string]: string | number | boolean | any | any | null;
267
- } | null)[] | {
268
- [key: string]: string | number | boolean | any | any | null;
269
- } | 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 | {
270
- [key: string]: string | number | boolean | any | any | null;
271
- } | null)[] | {
272
- [key: string]: string | number | boolean | any | any | null;
273
- } | null)[] | {
274
- [key: string]: string | number | boolean | any | any | null;
275
- } | null)[] | {
276
- [key: string]: string | number | boolean | any | any | null;
277
- } | null)[] | {
278
- [key: string]: string | number | boolean | any | any | null;
279
- } | null)[] | {
280
- [key: string]: string | number | boolean | any | any | null;
281
- } | null)[] | {
282
- [key: string]: string | number | boolean | any | any | null;
283
- } | null)[] | {
284
- [key: string]: string | number | boolean | any | any | null;
285
- } | null)[] | {
286
- [key: string]: string | number | boolean | any | any | null;
287
- } | null)[] | {
288
- [key: string]: string | number | boolean | any | any | null;
289
- } | null)[] | {
290
- [key: string]: string | number | boolean | any | any | null;
291
- } | null)[] | {
292
- [key: string]: string | number | boolean | any | any | null;
293
- } | null, unknown>>>;
294
- createdEventBlob: z.ZodString;
295
- interfaceViews: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
296
- interfaceId: z.ZodString;
297
- implementationPackageId: z.ZodOptional<z.ZodString>;
298
- viewStatus: z.ZodObject<{
299
- code: z.ZodNumber;
300
- message: z.ZodString;
301
- details: z.ZodOptional<z.ZodArray<z.ZodUnknown>>;
302
- }, z.core.$strict>;
303
- viewValue: z.ZodOptional<z.ZodUnknown>;
304
- }, z.core.$strict>>>>;
305
- witnessParties: z.ZodArray<z.ZodString>;
306
- signatories: z.ZodArray<z.ZodString>;
307
- observers: z.ZodArray<z.ZodString>;
308
- createdAt: z.ZodString;
309
- packageName: z.ZodString;
310
- implementedInterfaces: z.ZodOptional<z.ZodArray<z.ZodString>>;
311
- }, z.core.$strip>;
312
- }, z.core.$strip>, z.ZodObject<{
313
- JsArchived: z.ZodObject<{
314
- offset: z.ZodNumber;
315
- nodeId: z.ZodNumber;
316
- contractId: z.ZodString;
317
- templateId: z.ZodString;
318
- witnessParties: z.ZodArray<z.ZodString>;
319
- packageName: z.ZodString;
320
- implementedInterfaces: z.ZodOptional<z.ZodArray<z.ZodString>>;
321
- }, z.core.$strip>;
322
- }, z.core.$strip>, z.ZodObject<{
323
- JsAssigned: z.ZodObject<{
324
- offset: z.ZodNumber;
325
- nodeId: z.ZodNumber;
326
- contractId: z.ZodString;
327
- templateId: z.ZodString;
328
- source: z.ZodString;
329
- target: z.ZodString;
330
- reassignmentId: z.ZodString;
331
- submitter: z.ZodString;
332
- reassignmentCounter: z.ZodNumber;
333
- packageName: z.ZodString;
334
- }, z.core.$strip>;
335
- }, z.core.$strip>, z.ZodObject<{
336
- JsUnassigned: z.ZodObject<{
337
- offset: z.ZodNumber;
338
- nodeId: z.ZodNumber;
339
- contractId: z.ZodString;
340
- templateId: z.ZodString;
341
- source: z.ZodString;
342
- target: z.ZodString;
343
- reassignmentId: z.ZodString;
344
- submitter: z.ZodString;
345
- reassignmentCounter: z.ZodNumber;
346
- packageName: z.ZodString;
347
- }, z.core.$strip>;
348
- }, z.core.$strip>]>;
349
- synchronizerId: z.ZodString;
350
- reassignmentCounter: z.ZodNumber;
351
- }, z.core.$strip>>;
352
- traceContext: z.ZodOptional<z.ZodObject<{
353
- traceId: z.ZodOptional<z.ZodString>;
354
- spanId: z.ZodOptional<z.ZodString>;
355
- parentSpanId: z.ZodOptional<z.ZodString>;
356
- metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
357
- }, z.core.$strip>>;
324
+ traceContext: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodObject<{
325
+ traceparent: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>, z.ZodTransform<string | undefined, string | null>>>;
326
+ tracestate: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>, z.ZodTransform<string | undefined, string | null>>>;
327
+ traceId: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>, z.ZodTransform<string | undefined, string | null>>>;
328
+ spanId: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>, z.ZodTransform<string | undefined, string | null>>>;
329
+ parentSpanId: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>, z.ZodTransform<string | undefined, string | null>>>;
330
+ metadata: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodRecord<z.ZodString, z.ZodString>, z.ZodNull]>, z.ZodTransform<Record<string, string> | undefined, Record<string, string> | null>>>;
331
+ }, z.core.$loose>, z.ZodNull]>, z.ZodTransform<{
332
+ [x: string]: unknown;
333
+ traceparent?: string | undefined;
334
+ tracestate?: string | undefined;
335
+ traceId?: string | undefined;
336
+ spanId?: string | undefined;
337
+ parentSpanId?: string | undefined;
338
+ metadata?: Record<string, string> | undefined;
339
+ } | undefined, {
340
+ [x: string]: unknown;
341
+ traceparent?: string | undefined;
342
+ tracestate?: string | undefined;
343
+ traceId?: string | undefined;
344
+ spanId?: string | undefined;
345
+ parentSpanId?: string | undefined;
346
+ metadata?: Record<string, string> | undefined;
347
+ } | null>>>;
358
348
  recordTime: z.ZodString;
359
- }, z.core.$strip>;
349
+ externalTransactionHash: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>, z.ZodTransform<string | undefined, string | null>>>;
350
+ paidTrafficCost: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodPipe<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>, z.ZodTransform<string, string | number>>, z.ZodNull]>, z.ZodTransform<string | undefined, string | null>>>;
351
+ }, z.core.$loose>;
360
352
  /** Transaction tree details. */
361
353
  export declare const JsTransactionTreeSchema: z.ZodObject<{
362
354
  updateId: z.ZodString;
@@ -568,9 +560,34 @@ export declare const JsTransactionTreeSchema: z.ZodObject<{
568
560
  }, z.core.$strict>;
569
561
  }, z.core.$strict>;
570
562
  }, z.core.$strict>]>>;
563
+ synchronizerId: z.ZodString;
564
+ traceContext: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodObject<{
565
+ traceparent: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>, z.ZodTransform<string | undefined, string | null>>>;
566
+ tracestate: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>, z.ZodTransform<string | undefined, string | null>>>;
567
+ traceId: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>, z.ZodTransform<string | undefined, string | null>>>;
568
+ spanId: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>, z.ZodTransform<string | undefined, string | null>>>;
569
+ parentSpanId: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>, z.ZodTransform<string | undefined, string | null>>>;
570
+ metadata: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodRecord<z.ZodString, z.ZodString>, z.ZodNull]>, z.ZodTransform<Record<string, string> | undefined, Record<string, string> | null>>>;
571
+ }, z.core.$loose>, z.ZodNull]>, z.ZodTransform<{
572
+ [x: string]: unknown;
573
+ traceparent?: string | undefined;
574
+ tracestate?: string | undefined;
575
+ traceId?: string | undefined;
576
+ spanId?: string | undefined;
577
+ parentSpanId?: string | undefined;
578
+ metadata?: Record<string, string> | undefined;
579
+ } | undefined, {
580
+ [x: string]: unknown;
581
+ traceparent?: string | undefined;
582
+ tracestate?: string | undefined;
583
+ traceId?: string | undefined;
584
+ spanId?: string | undefined;
585
+ parentSpanId?: string | undefined;
586
+ metadata?: Record<string, string> | undefined;
587
+ } | null>>>;
571
588
  recordTime: z.ZodString;
572
- }, z.core.$strip>;
573
- /** Update (oneOf transaction or transaction tree). */
589
+ }, z.core.$loose>;
590
+ /** Update (oneOf transaction or transaction tree) — REST/JS naming variants. */
574
591
  export declare const JsUpdateSchema: z.ZodUnion<readonly [z.ZodObject<{
575
592
  JsTransaction: z.ZodObject<{
576
593
  updateId: z.ZodString;
@@ -578,129 +595,189 @@ export declare const JsUpdateSchema: z.ZodUnion<readonly [z.ZodObject<{
578
595
  workflowId: z.ZodOptional<z.ZodString>;
579
596
  effectiveAt: z.ZodString;
580
597
  offset: z.ZodNumber;
581
- events: z.ZodArray<z.ZodObject<{
582
- kind: z.ZodUnion<readonly [z.ZodObject<{
583
- JsCreated: z.ZodObject<{
584
- offset: z.ZodNumber;
585
- nodeId: z.ZodNumber;
586
- contractId: z.ZodString;
587
- templateId: z.ZodString;
588
- contractKey: z.ZodNullable<z.ZodString>;
589
- 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 | {
590
- [key: string]: string | number | boolean | /*elided*/ any | /*elided*/ any | null;
591
- } | null)[] | {
592
- [key: string]: string | number | boolean | any | any | null;
593
- } | null)[] | {
594
- [key: string]: string | number | boolean | any | any | null;
595
- } | null)[] | {
596
- [key: string]: string | number | boolean | any | any | null;
597
- } | null)[] | {
598
- [key: string]: string | number | boolean | any | any | null;
599
- } | null)[] | {
600
- [key: string]: string | number | boolean | any | any | null;
601
- } | null)[] | {
602
- [key: string]: string | number | boolean | any | any | null;
603
- } | null)[] | {
604
- [key: string]: string | number | boolean | any | any | null;
605
- } | null)[] | {
606
- [key: string]: string | number | boolean | any | any | null;
607
- } | null)[] | {
608
- [key: string]: string | number | boolean | any | any | null;
609
- } | null)[] | {
610
- [key: string]: string | number | boolean | any | any | null;
611
- } | null)[] | {
612
- [key: string]: string | number | boolean | any | any | null;
613
- } | 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 | {
614
- [key: string]: string | number | boolean | any | any | null;
615
- } | null)[] | {
616
- [key: string]: string | number | boolean | any | any | null;
617
- } | null)[] | {
618
- [key: string]: string | number | boolean | any | any | null;
619
- } | null)[] | {
620
- [key: string]: string | number | boolean | any | any | null;
621
- } | null)[] | {
622
- [key: string]: string | number | boolean | any | any | null;
623
- } | null)[] | {
624
- [key: string]: string | number | boolean | any | any | null;
625
- } | null)[] | {
626
- [key: string]: string | number | boolean | any | any | null;
627
- } | null)[] | {
628
- [key: string]: string | number | boolean | any | any | null;
629
- } | null)[] | {
630
- [key: string]: string | number | boolean | any | any | null;
631
- } | null)[] | {
632
- [key: string]: string | number | boolean | any | any | null;
633
- } | null)[] | {
634
- [key: string]: string | number | boolean | any | any | null;
635
- } | null)[] | {
636
- [key: string]: string | number | boolean | any | any | null;
637
- } | null, unknown>>>;
638
- createdEventBlob: z.ZodString;
639
- interfaceViews: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
640
- interfaceId: z.ZodString;
641
- implementationPackageId: z.ZodOptional<z.ZodString>;
642
- viewStatus: z.ZodObject<{
643
- code: z.ZodNumber;
644
- message: z.ZodString;
645
- details: z.ZodOptional<z.ZodArray<z.ZodUnknown>>;
646
- }, z.core.$strict>;
647
- viewValue: z.ZodOptional<z.ZodUnknown>;
648
- }, z.core.$strict>>>>;
649
- witnessParties: z.ZodArray<z.ZodString>;
650
- signatories: z.ZodArray<z.ZodString>;
651
- observers: z.ZodArray<z.ZodString>;
652
- createdAt: z.ZodString;
653
- packageName: z.ZodString;
654
- implementedInterfaces: z.ZodOptional<z.ZodArray<z.ZodString>>;
655
- }, z.core.$strip>;
656
- }, z.core.$strip>, z.ZodObject<{
657
- JsArchived: z.ZodObject<{
658
- offset: z.ZodNumber;
659
- nodeId: z.ZodNumber;
660
- contractId: z.ZodString;
661
- templateId: z.ZodString;
662
- witnessParties: z.ZodArray<z.ZodString>;
663
- packageName: z.ZodString;
664
- implementedInterfaces: z.ZodOptional<z.ZodArray<z.ZodString>>;
665
- }, z.core.$strip>;
666
- }, z.core.$strip>, z.ZodObject<{
667
- JsAssigned: z.ZodObject<{
668
- offset: z.ZodNumber;
669
- nodeId: z.ZodNumber;
670
- contractId: z.ZodString;
671
- templateId: z.ZodString;
672
- source: z.ZodString;
673
- target: z.ZodString;
674
- reassignmentId: z.ZodString;
675
- submitter: z.ZodString;
676
- reassignmentCounter: z.ZodNumber;
677
- packageName: z.ZodString;
678
- }, z.core.$strip>;
679
- }, z.core.$strip>, z.ZodObject<{
680
- JsUnassigned: z.ZodObject<{
681
- offset: z.ZodNumber;
682
- nodeId: z.ZodNumber;
683
- contractId: z.ZodString;
684
- templateId: z.ZodString;
685
- source: z.ZodString;
686
- target: z.ZodString;
687
- reassignmentId: z.ZodString;
688
- submitter: z.ZodString;
689
- reassignmentCounter: z.ZodNumber;
690
- packageName: z.ZodString;
691
- }, z.core.$strip>;
692
- }, z.core.$strip>]>;
693
- synchronizerId: z.ZodString;
694
- reassignmentCounter: z.ZodNumber;
695
- }, z.core.$strip>>;
696
- traceContext: z.ZodOptional<z.ZodObject<{
697
- traceId: z.ZodOptional<z.ZodString>;
698
- spanId: z.ZodOptional<z.ZodString>;
699
- parentSpanId: z.ZodOptional<z.ZodString>;
700
- metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
701
- }, z.core.$strip>>;
598
+ events: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
599
+ CreatedEvent: z.ZodObject<{
600
+ offset: z.ZodNumber;
601
+ nodeId: z.ZodNumber;
602
+ contractId: z.ZodString;
603
+ templateId: z.ZodString;
604
+ contractKey: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodType<import("..").LedgerJsonValue, unknown, z.core.$ZodTypeInternals<import("..").LedgerJsonValue, unknown>>, z.ZodNull]>, z.ZodTransform<import("..").LedgerJsonValue | undefined, import("..").LedgerJsonValue>>>;
605
+ contractKeyHash: z.ZodOptional<z.ZodString>;
606
+ 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 | {
607
+ [key: string]: string | number | boolean | /*elided*/ any | /*elided*/ any | null;
608
+ } | null)[] | {
609
+ [key: string]: string | number | boolean | any | any | null;
610
+ } | null)[] | {
611
+ [key: string]: string | number | boolean | any | any | null;
612
+ } | null)[] | {
613
+ [key: string]: string | number | boolean | any | any | null;
614
+ } | null)[] | {
615
+ [key: string]: string | number | boolean | any | any | null;
616
+ } | null)[] | {
617
+ [key: string]: string | number | boolean | any | any | null;
618
+ } | null)[] | {
619
+ [key: string]: string | number | boolean | any | any | null;
620
+ } | null)[] | {
621
+ [key: string]: string | number | boolean | any | any | null;
622
+ } | null)[] | {
623
+ [key: string]: string | number | boolean | any | any | null;
624
+ } | null)[] | {
625
+ [key: string]: string | number | boolean | any | any | null;
626
+ } | null)[] | {
627
+ [key: string]: string | number | boolean | any | any | null;
628
+ } | null)[] | {
629
+ [key: string]: string | number | boolean | any | any | null;
630
+ } | 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 | {
631
+ [key: string]: string | number | boolean | any | any | null;
632
+ } | null)[] | {
633
+ [key: string]: string | number | boolean | any | any | null;
634
+ } | null)[] | {
635
+ [key: string]: string | number | boolean | any | any | null;
636
+ } | null)[] | {
637
+ [key: string]: string | number | boolean | any | any | null;
638
+ } | null)[] | {
639
+ [key: string]: string | number | boolean | any | any | null;
640
+ } | null)[] | {
641
+ [key: string]: string | number | boolean | any | any | null;
642
+ } | null)[] | {
643
+ [key: string]: string | number | boolean | any | any | null;
644
+ } | null)[] | {
645
+ [key: string]: string | number | boolean | any | any | null;
646
+ } | null)[] | {
647
+ [key: string]: string | number | boolean | any | any | null;
648
+ } | null)[] | {
649
+ [key: string]: string | number | boolean | any | any | null;
650
+ } | null)[] | {
651
+ [key: string]: string | number | boolean | any | any | null;
652
+ } | null)[] | {
653
+ [key: string]: string | number | boolean | any | any | null;
654
+ } | null, unknown>>>;
655
+ createdEventBlob: z.ZodOptional<z.ZodString>;
656
+ interfaceViews: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
657
+ interfaceId: z.ZodString;
658
+ implementationPackageId: z.ZodOptional<z.ZodString>;
659
+ viewStatus: z.ZodObject<{
660
+ code: z.ZodNumber;
661
+ message: z.ZodString;
662
+ details: z.ZodOptional<z.ZodArray<z.ZodUnknown>>;
663
+ }, z.core.$strict>;
664
+ viewValue: z.ZodOptional<z.ZodUnknown>;
665
+ }, z.core.$strict>>>>;
666
+ witnessParties: z.ZodArray<z.ZodString>;
667
+ signatories: z.ZodArray<z.ZodString>;
668
+ observers: z.ZodOptional<z.ZodArray<z.ZodString>>;
669
+ createdAt: z.ZodString;
670
+ packageName: z.ZodString;
671
+ representativePackageId: z.ZodOptional<z.ZodString>;
672
+ acsDelta: z.ZodOptional<z.ZodBoolean>;
673
+ implementedInterfaces: z.ZodOptional<z.ZodArray<z.ZodString>>;
674
+ }, z.core.$loose>;
675
+ }, z.core.$strip>, z.ZodObject<{
676
+ ArchivedEvent: z.ZodObject<{
677
+ offset: z.ZodNumber;
678
+ nodeId: z.ZodNumber;
679
+ contractId: z.ZodString;
680
+ templateId: z.ZodString;
681
+ witnessParties: z.ZodArray<z.ZodString>;
682
+ packageName: z.ZodString;
683
+ implementedInterfaces: z.ZodOptional<z.ZodArray<z.ZodString>>;
684
+ }, z.core.$loose>;
685
+ }, z.core.$strip>, z.ZodObject<{
686
+ ExercisedEvent: z.ZodObject<{
687
+ offset: z.ZodNumber;
688
+ nodeId: z.ZodNumber;
689
+ contractId: z.ZodString;
690
+ templateId: z.ZodString;
691
+ interfaceId: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>, z.ZodTransform<string | undefined, string | null>>>;
692
+ choice: z.ZodString;
693
+ 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 | {
694
+ [key: string]: string | number | boolean | any | any | null;
695
+ } | null)[] | {
696
+ [key: string]: string | number | boolean | any | any | null;
697
+ } | null)[] | {
698
+ [key: string]: string | number | boolean | any | any | null;
699
+ } | null)[] | {
700
+ [key: string]: string | number | boolean | any | any | null;
701
+ } | null)[] | {
702
+ [key: string]: string | number | boolean | any | any | null;
703
+ } | null)[] | {
704
+ [key: string]: string | number | boolean | any | any | null;
705
+ } | null)[] | {
706
+ [key: string]: string | number | boolean | any | any | null;
707
+ } | null)[] | {
708
+ [key: string]: string | number | boolean | any | any | null;
709
+ } | null)[] | {
710
+ [key: string]: string | number | boolean | any | any | null;
711
+ } | null)[] | {
712
+ [key: string]: string | number | boolean | any | any | null;
713
+ } | null)[] | {
714
+ [key: string]: string | number | boolean | any | any | null;
715
+ } | null)[] | {
716
+ [key: string]: string | number | boolean | any | any | null;
717
+ } | 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 | {
718
+ [key: string]: string | number | boolean | any | any | null;
719
+ } | null)[] | {
720
+ [key: string]: string | number | boolean | any | any | null;
721
+ } | null)[] | {
722
+ [key: string]: string | number | boolean | any | any | null;
723
+ } | null)[] | {
724
+ [key: string]: string | number | boolean | any | any | null;
725
+ } | null)[] | {
726
+ [key: string]: string | number | boolean | any | any | null;
727
+ } | null)[] | {
728
+ [key: string]: string | number | boolean | any | any | null;
729
+ } | null)[] | {
730
+ [key: string]: string | number | boolean | any | any | null;
731
+ } | null)[] | {
732
+ [key: string]: string | number | boolean | any | any | null;
733
+ } | null)[] | {
734
+ [key: string]: string | number | boolean | any | any | null;
735
+ } | null)[] | {
736
+ [key: string]: string | number | boolean | any | any | null;
737
+ } | null)[] | {
738
+ [key: string]: string | number | boolean | any | any | null;
739
+ } | null)[] | {
740
+ [key: string]: string | number | boolean | any | any | null;
741
+ } | null, unknown>>>;
742
+ actingParties: z.ZodArray<z.ZodString>;
743
+ consuming: z.ZodBoolean;
744
+ witnessParties: z.ZodArray<z.ZodString>;
745
+ lastDescendantNodeId: z.ZodNumber;
746
+ exerciseResult: z.ZodOptional<z.ZodType<import("..").LedgerJsonValue, unknown, z.core.$ZodTypeInternals<import("..").LedgerJsonValue, unknown>>>;
747
+ packageName: z.ZodString;
748
+ implementedInterfaces: z.ZodOptional<z.ZodArray<z.ZodString>>;
749
+ acsDelta: z.ZodOptional<z.ZodBoolean>;
750
+ }, z.core.$loose>;
751
+ }, z.core.$strip>]>>;
752
+ synchronizerId: z.ZodString;
753
+ traceContext: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodObject<{
754
+ traceparent: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>, z.ZodTransform<string | undefined, string | null>>>;
755
+ tracestate: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>, z.ZodTransform<string | undefined, string | null>>>;
756
+ traceId: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>, z.ZodTransform<string | undefined, string | null>>>;
757
+ spanId: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>, z.ZodTransform<string | undefined, string | null>>>;
758
+ parentSpanId: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>, z.ZodTransform<string | undefined, string | null>>>;
759
+ metadata: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodRecord<z.ZodString, z.ZodString>, z.ZodNull]>, z.ZodTransform<Record<string, string> | undefined, Record<string, string> | null>>>;
760
+ }, z.core.$loose>, z.ZodNull]>, z.ZodTransform<{
761
+ [x: string]: unknown;
762
+ traceparent?: string | undefined;
763
+ tracestate?: string | undefined;
764
+ traceId?: string | undefined;
765
+ spanId?: string | undefined;
766
+ parentSpanId?: string | undefined;
767
+ metadata?: Record<string, string> | undefined;
768
+ } | undefined, {
769
+ [x: string]: unknown;
770
+ traceparent?: string | undefined;
771
+ tracestate?: string | undefined;
772
+ traceId?: string | undefined;
773
+ spanId?: string | undefined;
774
+ parentSpanId?: string | undefined;
775
+ metadata?: Record<string, string> | undefined;
776
+ } | null>>>;
702
777
  recordTime: z.ZodString;
703
- }, z.core.$strip>;
778
+ externalTransactionHash: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>, z.ZodTransform<string | undefined, string | null>>>;
779
+ paidTrafficCost: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodPipe<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>, z.ZodTransform<string, string | number>>, z.ZodNull]>, z.ZodTransform<string | undefined, string | null>>>;
780
+ }, z.core.$loose>;
704
781
  }, z.core.$strip>, z.ZodObject<{
705
782
  JsTransactionTree: z.ZodObject<{
706
783
  updateId: z.ZodString;
@@ -912,8 +989,33 @@ export declare const JsUpdateSchema: z.ZodUnion<readonly [z.ZodObject<{
912
989
  }, z.core.$strict>;
913
990
  }, z.core.$strict>;
914
991
  }, z.core.$strict>]>>;
992
+ synchronizerId: z.ZodString;
993
+ traceContext: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodObject<{
994
+ traceparent: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>, z.ZodTransform<string | undefined, string | null>>>;
995
+ tracestate: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>, z.ZodTransform<string | undefined, string | null>>>;
996
+ traceId: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>, z.ZodTransform<string | undefined, string | null>>>;
997
+ spanId: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>, z.ZodTransform<string | undefined, string | null>>>;
998
+ parentSpanId: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>, z.ZodTransform<string | undefined, string | null>>>;
999
+ metadata: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodRecord<z.ZodString, z.ZodString>, z.ZodNull]>, z.ZodTransform<Record<string, string> | undefined, Record<string, string> | null>>>;
1000
+ }, z.core.$loose>, z.ZodNull]>, z.ZodTransform<{
1001
+ [x: string]: unknown;
1002
+ traceparent?: string | undefined;
1003
+ tracestate?: string | undefined;
1004
+ traceId?: string | undefined;
1005
+ spanId?: string | undefined;
1006
+ parentSpanId?: string | undefined;
1007
+ metadata?: Record<string, string> | undefined;
1008
+ } | undefined, {
1009
+ [x: string]: unknown;
1010
+ traceparent?: string | undefined;
1011
+ tracestate?: string | undefined;
1012
+ traceId?: string | undefined;
1013
+ spanId?: string | undefined;
1014
+ parentSpanId?: string | undefined;
1015
+ metadata?: Record<string, string> | undefined;
1016
+ } | null>>>;
915
1017
  recordTime: z.ZodString;
916
- }, z.core.$strip>;
1018
+ }, z.core.$loose>;
917
1019
  }, z.core.$strip>, z.ZodObject<{
918
1020
  OffsetCheckpoint: z.ZodObject<{
919
1021
  value: z.ZodObject<{
@@ -925,22 +1027,122 @@ export declare const JsUpdateSchema: z.ZodUnion<readonly [z.ZodObject<{
925
1027
  }, z.core.$strip>;
926
1028
  }, z.core.$strip>;
927
1029
  }, z.core.$strip>]>;
928
- /** Topology transaction event schema for WebSocket streams. */
929
- export declare const WsTopologyTransactionSchema: z.ZodObject<{
930
- updateId: z.ZodString;
931
- offset: z.ZodNumber;
932
- recordTime: z.ZodString;
933
- synchronizerId: z.ZodString;
934
- events: z.ZodArray<z.ZodObject<{
935
- participantId: z.ZodOptional<z.ZodString>;
936
- partyId: z.ZodOptional<z.ZodString>;
937
- permission: z.ZodOptional<z.ZodString>;
938
- }, z.core.$strip>>;
939
- }, z.core.$strip>;
940
- /** WebSocket update wrappers (per AsyncAPI) - strictly typed server payloads. */
941
- export declare const WsUpdateSchema: z.ZodUnion<readonly [z.ZodObject<{
942
- OffsetCheckpoint: z.ZodObject<{
943
- value: z.ZodObject<{
1030
+ /** Topology transaction event schema for WebSocket streams (AsyncAPI `TopologyEvent`). */
1031
+ export declare const WsTopologyEventSchema: z.ZodObject<{
1032
+ event: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
1033
+ Empty: z.ZodObject<{}, z.core.$strip>;
1034
+ }, z.core.$strip>, z.ZodObject<{
1035
+ ParticipantAuthorizationAdded: z.ZodObject<{
1036
+ value: z.ZodObject<{
1037
+ partyId: z.ZodString;
1038
+ participantId: z.ZodString;
1039
+ participantPermission: z.ZodOptional<z.ZodString>;
1040
+ }, z.core.$strip>;
1041
+ }, z.core.$strip>;
1042
+ }, z.core.$strip>, z.ZodObject<{
1043
+ ParticipantAuthorizationChanged: z.ZodObject<{
1044
+ value: z.ZodObject<{
1045
+ partyId: z.ZodString;
1046
+ participantId: z.ZodString;
1047
+ participantPermission: z.ZodOptional<z.ZodString>;
1048
+ }, z.core.$strip>;
1049
+ }, z.core.$strip>;
1050
+ }, z.core.$strip>, z.ZodObject<{
1051
+ ParticipantAuthorizationOnboarding: z.ZodObject<{
1052
+ value: z.ZodObject<{
1053
+ partyId: z.ZodString;
1054
+ participantId: z.ZodString;
1055
+ participantPermission: z.ZodOptional<z.ZodString>;
1056
+ }, z.core.$strip>;
1057
+ }, z.core.$strip>;
1058
+ }, z.core.$strip>, z.ZodObject<{
1059
+ ParticipantAuthorizationRevoked: z.ZodObject<{
1060
+ value: z.ZodObject<{
1061
+ partyId: z.ZodString;
1062
+ participantId: z.ZodString;
1063
+ }, z.core.$strip>;
1064
+ }, z.core.$strip>;
1065
+ }, z.core.$strip>]>>;
1066
+ }, z.core.$loose>;
1067
+ /** Topology transaction body (AsyncAPI `JsTopologyTransaction`). */
1068
+ export declare const WsTopologyTransactionSchema: z.ZodObject<{
1069
+ updateId: z.ZodString;
1070
+ offset: z.ZodNumber;
1071
+ recordTime: z.ZodString;
1072
+ synchronizerId: z.ZodString;
1073
+ events: z.ZodArray<z.ZodObject<{
1074
+ event: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
1075
+ Empty: z.ZodObject<{}, z.core.$strip>;
1076
+ }, z.core.$strip>, z.ZodObject<{
1077
+ ParticipantAuthorizationAdded: z.ZodObject<{
1078
+ value: z.ZodObject<{
1079
+ partyId: z.ZodString;
1080
+ participantId: z.ZodString;
1081
+ participantPermission: z.ZodOptional<z.ZodString>;
1082
+ }, z.core.$strip>;
1083
+ }, z.core.$strip>;
1084
+ }, z.core.$strip>, z.ZodObject<{
1085
+ ParticipantAuthorizationChanged: z.ZodObject<{
1086
+ value: z.ZodObject<{
1087
+ partyId: z.ZodString;
1088
+ participantId: z.ZodString;
1089
+ participantPermission: z.ZodOptional<z.ZodString>;
1090
+ }, z.core.$strip>;
1091
+ }, z.core.$strip>;
1092
+ }, z.core.$strip>, z.ZodObject<{
1093
+ ParticipantAuthorizationOnboarding: z.ZodObject<{
1094
+ value: z.ZodObject<{
1095
+ partyId: z.ZodString;
1096
+ participantId: z.ZodString;
1097
+ participantPermission: z.ZodOptional<z.ZodString>;
1098
+ }, z.core.$strip>;
1099
+ }, z.core.$strip>;
1100
+ }, z.core.$strip>, z.ZodObject<{
1101
+ ParticipantAuthorizationRevoked: z.ZodObject<{
1102
+ value: z.ZodObject<{
1103
+ partyId: z.ZodString;
1104
+ participantId: z.ZodString;
1105
+ }, z.core.$strip>;
1106
+ }, z.core.$strip>;
1107
+ }, z.core.$strip>]>>;
1108
+ }, z.core.$loose>>;
1109
+ traceContext: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodObject<{
1110
+ traceparent: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>, z.ZodTransform<string | undefined, string | null>>>;
1111
+ tracestate: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>, z.ZodTransform<string | undefined, string | null>>>;
1112
+ traceId: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>, z.ZodTransform<string | undefined, string | null>>>;
1113
+ spanId: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>, z.ZodTransform<string | undefined, string | null>>>;
1114
+ parentSpanId: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>, z.ZodTransform<string | undefined, string | null>>>;
1115
+ metadata: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodRecord<z.ZodString, z.ZodString>, z.ZodNull]>, z.ZodTransform<Record<string, string> | undefined, Record<string, string> | null>>>;
1116
+ }, z.core.$loose>, z.ZodNull]>, z.ZodTransform<{
1117
+ [x: string]: unknown;
1118
+ traceparent?: string | undefined;
1119
+ tracestate?: string | undefined;
1120
+ traceId?: string | undefined;
1121
+ spanId?: string | undefined;
1122
+ parentSpanId?: string | undefined;
1123
+ metadata?: Record<string, string> | undefined;
1124
+ } | undefined, {
1125
+ [x: string]: unknown;
1126
+ traceparent?: string | undefined;
1127
+ tracestate?: string | undefined;
1128
+ traceId?: string | undefined;
1129
+ spanId?: string | undefined;
1130
+ parentSpanId?: string | undefined;
1131
+ metadata?: Record<string, string> | undefined;
1132
+ } | null>>>;
1133
+ }, z.core.$loose>;
1134
+ /**
1135
+ * WebSocket `/v2/updates` update wrappers (AsyncAPI `Update`).
1136
+ *
1137
+ * Transaction, Reassignment, and TopologyTransaction are value-wrapped on the wire (`{ Transaction: { value:
1138
+ * JsTransaction } }`), matching OffsetCheckpoint / Completion.
1139
+ *
1140
+ * Hard-fail (not fail-soft) on unknown frames: discovery/save workers must not skip Transaction updates or they will
1141
+ * silently lose ledger data while appearing stuck.
1142
+ */
1143
+ export declare const WsUpdateSchema: z.ZodUnion<readonly [z.ZodObject<{
1144
+ OffsetCheckpoint: z.ZodObject<{
1145
+ value: z.ZodObject<{
944
1146
  offset: z.ZodNumber;
945
1147
  synchronizerTimes: z.ZodArray<z.ZodObject<{
946
1148
  synchronizerId: z.ZodString;
@@ -950,25 +1152,227 @@ export declare const WsUpdateSchema: z.ZodUnion<readonly [z.ZodObject<{
950
1152
  }, z.core.$strip>;
951
1153
  }, z.core.$strip>, z.ZodObject<{
952
1154
  Reassignment: z.ZodObject<{
953
- updateId: z.ZodString;
954
- commandId: z.ZodOptional<z.ZodString>;
955
- workflowId: z.ZodOptional<z.ZodString>;
956
- offset: z.ZodNumber;
957
- events: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
958
- JsAssignmentEvent: z.ZodObject<{
959
- source: z.ZodString;
960
- target: z.ZodString;
961
- reassignmentId: z.ZodString;
962
- submitter: z.ZodString;
963
- reassignmentCounter: z.ZodNumber;
964
- createdEvent: z.ZodObject<{
1155
+ value: z.ZodObject<{
1156
+ updateId: z.ZodString;
1157
+ commandId: z.ZodOptional<z.ZodString>;
1158
+ workflowId: z.ZodOptional<z.ZodString>;
1159
+ offset: z.ZodNumber;
1160
+ events: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
1161
+ JsAssignmentEvent: z.ZodObject<{
1162
+ source: z.ZodString;
1163
+ target: z.ZodString;
1164
+ reassignmentId: z.ZodString;
1165
+ submitter: z.ZodString;
1166
+ reassignmentCounter: z.ZodNumber;
1167
+ createdEvent: z.ZodObject<{
1168
+ offset: z.ZodNumber;
1169
+ nodeId: z.ZodNumber;
1170
+ contractId: z.ZodString;
1171
+ templateId: z.ZodString;
1172
+ contractKey: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodType<import("..").LedgerJsonValue, unknown, z.core.$ZodTypeInternals<import("..").LedgerJsonValue, unknown>>, z.ZodNull]>, z.ZodTransform<import("..").LedgerJsonValue | undefined, import("..").LedgerJsonValue>>>;
1173
+ contractKeyHash: z.ZodOptional<z.ZodString>;
1174
+ 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 | {
1175
+ [key: string]: string | number | boolean | /*elided*/ any | /*elided*/ any | null;
1176
+ } | null)[] | {
1177
+ [key: string]: string | number | boolean | any | any | null;
1178
+ } | null)[] | {
1179
+ [key: string]: string | number | boolean | any | any | null;
1180
+ } | null)[] | {
1181
+ [key: string]: string | number | boolean | any | any | null;
1182
+ } | null)[] | {
1183
+ [key: string]: string | number | boolean | any | any | null;
1184
+ } | null)[] | {
1185
+ [key: string]: string | number | boolean | any | any | null;
1186
+ } | null)[] | {
1187
+ [key: string]: string | number | boolean | any | any | null;
1188
+ } | null)[] | {
1189
+ [key: string]: string | number | boolean | any | any | null;
1190
+ } | null)[] | {
1191
+ [key: string]: string | number | boolean | any | any | null;
1192
+ } | null)[] | {
1193
+ [key: string]: string | number | boolean | any | any | null;
1194
+ } | null)[] | {
1195
+ [key: string]: string | number | boolean | any | any | null;
1196
+ } | null)[] | {
1197
+ [key: string]: string | number | boolean | any | any | null;
1198
+ } | 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 | {
1199
+ [key: string]: string | number | boolean | any | any | null;
1200
+ } | null)[] | {
1201
+ [key: string]: string | number | boolean | any | any | null;
1202
+ } | null)[] | {
1203
+ [key: string]: string | number | boolean | any | any | null;
1204
+ } | null)[] | {
1205
+ [key: string]: string | number | boolean | any | any | null;
1206
+ } | null)[] | {
1207
+ [key: string]: string | number | boolean | any | any | null;
1208
+ } | null)[] | {
1209
+ [key: string]: string | number | boolean | any | any | null;
1210
+ } | null)[] | {
1211
+ [key: string]: string | number | boolean | any | any | null;
1212
+ } | null)[] | {
1213
+ [key: string]: string | number | boolean | any | any | null;
1214
+ } | null)[] | {
1215
+ [key: string]: string | number | boolean | any | any | null;
1216
+ } | null)[] | {
1217
+ [key: string]: string | number | boolean | any | any | null;
1218
+ } | null)[] | {
1219
+ [key: string]: string | number | boolean | any | any | null;
1220
+ } | null)[] | {
1221
+ [key: string]: string | number | boolean | any | any | null;
1222
+ } | null, unknown>>>;
1223
+ createdEventBlob: z.ZodOptional<z.ZodString>;
1224
+ interfaceViews: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
1225
+ interfaceId: z.ZodString;
1226
+ implementationPackageId: z.ZodOptional<z.ZodString>;
1227
+ viewStatus: z.ZodObject<{
1228
+ code: z.ZodNumber;
1229
+ message: z.ZodString;
1230
+ details: z.ZodOptional<z.ZodArray<z.ZodUnknown>>;
1231
+ }, z.core.$strict>;
1232
+ viewValue: z.ZodOptional<z.ZodUnknown>;
1233
+ }, z.core.$strict>>>>;
1234
+ witnessParties: z.ZodArray<z.ZodString>;
1235
+ signatories: z.ZodArray<z.ZodString>;
1236
+ observers: z.ZodOptional<z.ZodArray<z.ZodString>>;
1237
+ createdAt: z.ZodString;
1238
+ packageName: z.ZodString;
1239
+ representativePackageId: z.ZodOptional<z.ZodString>;
1240
+ acsDelta: z.ZodOptional<z.ZodBoolean>;
1241
+ implementedInterfaces: z.ZodOptional<z.ZodArray<z.ZodString>>;
1242
+ }, z.core.$loose>;
1243
+ }, z.core.$strip>;
1244
+ }, z.core.$strip>, z.ZodObject<{
1245
+ JsUnassignedEvent: z.ZodObject<{
1246
+ value: z.ZodObject<{
1247
+ offset: z.ZodNumber;
1248
+ nodeId: z.ZodNumber;
1249
+ contractId: z.ZodString;
1250
+ templateId: z.ZodString;
1251
+ source: z.ZodString;
1252
+ target: z.ZodString;
1253
+ reassignmentId: z.ZodString;
1254
+ submitter: z.ZodString;
1255
+ reassignmentCounter: z.ZodNumber;
1256
+ packageName: z.ZodString;
1257
+ }, z.core.$loose>;
1258
+ }, z.core.$strip>;
1259
+ }, z.core.$strip>]>>;
1260
+ traceContext: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodObject<{
1261
+ traceparent: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>, z.ZodTransform<string | undefined, string | null>>>;
1262
+ tracestate: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>, z.ZodTransform<string | undefined, string | null>>>;
1263
+ traceId: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>, z.ZodTransform<string | undefined, string | null>>>;
1264
+ spanId: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>, z.ZodTransform<string | undefined, string | null>>>;
1265
+ parentSpanId: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>, z.ZodTransform<string | undefined, string | null>>>;
1266
+ metadata: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodRecord<z.ZodString, z.ZodString>, z.ZodNull]>, z.ZodTransform<Record<string, string> | undefined, Record<string, string> | null>>>;
1267
+ }, z.core.$loose>, z.ZodNull]>, z.ZodTransform<{
1268
+ [x: string]: unknown;
1269
+ traceparent?: string | undefined;
1270
+ tracestate?: string | undefined;
1271
+ traceId?: string | undefined;
1272
+ spanId?: string | undefined;
1273
+ parentSpanId?: string | undefined;
1274
+ metadata?: Record<string, string> | undefined;
1275
+ } | undefined, {
1276
+ [x: string]: unknown;
1277
+ traceparent?: string | undefined;
1278
+ tracestate?: string | undefined;
1279
+ traceId?: string | undefined;
1280
+ spanId?: string | undefined;
1281
+ parentSpanId?: string | undefined;
1282
+ metadata?: Record<string, string> | undefined;
1283
+ } | null>>>;
1284
+ recordTime: z.ZodString;
1285
+ synchronizerId: z.ZodString;
1286
+ paidTrafficCost: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodPipe<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>, z.ZodTransform<string, string | number>>, z.ZodNull]>, z.ZodTransform<string | undefined, string | null>>>;
1287
+ }, z.core.$loose>;
1288
+ }, z.core.$strip>;
1289
+ }, z.core.$strip>, z.ZodObject<{
1290
+ TopologyTransaction: z.ZodObject<{
1291
+ value: z.ZodObject<{
1292
+ updateId: z.ZodString;
1293
+ offset: z.ZodNumber;
1294
+ recordTime: z.ZodString;
1295
+ synchronizerId: z.ZodString;
1296
+ events: z.ZodArray<z.ZodObject<{
1297
+ event: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
1298
+ Empty: z.ZodObject<{}, z.core.$strip>;
1299
+ }, z.core.$strip>, z.ZodObject<{
1300
+ ParticipantAuthorizationAdded: z.ZodObject<{
1301
+ value: z.ZodObject<{
1302
+ partyId: z.ZodString;
1303
+ participantId: z.ZodString;
1304
+ participantPermission: z.ZodOptional<z.ZodString>;
1305
+ }, z.core.$strip>;
1306
+ }, z.core.$strip>;
1307
+ }, z.core.$strip>, z.ZodObject<{
1308
+ ParticipantAuthorizationChanged: z.ZodObject<{
1309
+ value: z.ZodObject<{
1310
+ partyId: z.ZodString;
1311
+ participantId: z.ZodString;
1312
+ participantPermission: z.ZodOptional<z.ZodString>;
1313
+ }, z.core.$strip>;
1314
+ }, z.core.$strip>;
1315
+ }, z.core.$strip>, z.ZodObject<{
1316
+ ParticipantAuthorizationOnboarding: z.ZodObject<{
1317
+ value: z.ZodObject<{
1318
+ partyId: z.ZodString;
1319
+ participantId: z.ZodString;
1320
+ participantPermission: z.ZodOptional<z.ZodString>;
1321
+ }, z.core.$strip>;
1322
+ }, z.core.$strip>;
1323
+ }, z.core.$strip>, z.ZodObject<{
1324
+ ParticipantAuthorizationRevoked: z.ZodObject<{
1325
+ value: z.ZodObject<{
1326
+ partyId: z.ZodString;
1327
+ participantId: z.ZodString;
1328
+ }, z.core.$strip>;
1329
+ }, z.core.$strip>;
1330
+ }, z.core.$strip>]>>;
1331
+ }, z.core.$loose>>;
1332
+ traceContext: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodObject<{
1333
+ traceparent: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>, z.ZodTransform<string | undefined, string | null>>>;
1334
+ tracestate: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>, z.ZodTransform<string | undefined, string | null>>>;
1335
+ traceId: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>, z.ZodTransform<string | undefined, string | null>>>;
1336
+ spanId: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>, z.ZodTransform<string | undefined, string | null>>>;
1337
+ parentSpanId: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>, z.ZodTransform<string | undefined, string | null>>>;
1338
+ metadata: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodRecord<z.ZodString, z.ZodString>, z.ZodNull]>, z.ZodTransform<Record<string, string> | undefined, Record<string, string> | null>>>;
1339
+ }, z.core.$loose>, z.ZodNull]>, z.ZodTransform<{
1340
+ [x: string]: unknown;
1341
+ traceparent?: string | undefined;
1342
+ tracestate?: string | undefined;
1343
+ traceId?: string | undefined;
1344
+ spanId?: string | undefined;
1345
+ parentSpanId?: string | undefined;
1346
+ metadata?: Record<string, string> | undefined;
1347
+ } | undefined, {
1348
+ [x: string]: unknown;
1349
+ traceparent?: string | undefined;
1350
+ tracestate?: string | undefined;
1351
+ traceId?: string | undefined;
1352
+ spanId?: string | undefined;
1353
+ parentSpanId?: string | undefined;
1354
+ metadata?: Record<string, string> | undefined;
1355
+ } | null>>>;
1356
+ }, z.core.$loose>;
1357
+ }, z.core.$strip>;
1358
+ }, z.core.$strip>, z.ZodObject<{
1359
+ Transaction: z.ZodObject<{
1360
+ value: z.ZodObject<{
1361
+ updateId: z.ZodString;
1362
+ commandId: z.ZodOptional<z.ZodString>;
1363
+ workflowId: z.ZodOptional<z.ZodString>;
1364
+ effectiveAt: z.ZodString;
1365
+ offset: z.ZodNumber;
1366
+ events: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
1367
+ CreatedEvent: z.ZodObject<{
965
1368
  offset: z.ZodNumber;
966
1369
  nodeId: z.ZodNumber;
967
1370
  contractId: z.ZodString;
968
1371
  templateId: z.ZodString;
969
- contractKey: z.ZodNullable<z.ZodString>;
970
- 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 | {
971
- [key: string]: string | number | boolean | /*elided*/ any | /*elided*/ any | null;
1372
+ contractKey: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodType<import("..").LedgerJsonValue, unknown, z.core.$ZodTypeInternals<import("..").LedgerJsonValue, unknown>>, z.ZodNull]>, z.ZodTransform<import("..").LedgerJsonValue | undefined, import("..").LedgerJsonValue>>>;
1373
+ contractKeyHash: z.ZodOptional<z.ZodString>;
1374
+ 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 | {
1375
+ [key: string]: string | number | boolean | any | any | null;
972
1376
  } | null)[] | {
973
1377
  [key: string]: string | number | boolean | any | any | null;
974
1378
  } | null)[] | {
@@ -1016,7 +1420,7 @@ export declare const WsUpdateSchema: z.ZodUnion<readonly [z.ZodObject<{
1016
1420
  } | null)[] | {
1017
1421
  [key: string]: string | number | boolean | any | any | null;
1018
1422
  } | null, unknown>>>;
1019
- createdEventBlob: z.ZodString;
1423
+ createdEventBlob: z.ZodOptional<z.ZodString>;
1020
1424
  interfaceViews: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
1021
1425
  interfaceId: z.ZodString;
1022
1426
  implementationPackageId: z.ZodOptional<z.ZodString>;
@@ -1029,64 +1433,32 @@ export declare const WsUpdateSchema: z.ZodUnion<readonly [z.ZodObject<{
1029
1433
  }, z.core.$strict>>>>;
1030
1434
  witnessParties: z.ZodArray<z.ZodString>;
1031
1435
  signatories: z.ZodArray<z.ZodString>;
1032
- observers: z.ZodArray<z.ZodString>;
1436
+ observers: z.ZodOptional<z.ZodArray<z.ZodString>>;
1033
1437
  createdAt: z.ZodString;
1034
1438
  packageName: z.ZodString;
1439
+ representativePackageId: z.ZodOptional<z.ZodString>;
1440
+ acsDelta: z.ZodOptional<z.ZodBoolean>;
1035
1441
  implementedInterfaces: z.ZodOptional<z.ZodArray<z.ZodString>>;
1036
- }, z.core.$strip>;
1037
- }, z.core.$strip>;
1038
- }, z.core.$strip>, z.ZodObject<{
1039
- JsUnassignedEvent: z.ZodObject<{
1040
- value: z.ZodObject<{
1442
+ }, z.core.$loose>;
1443
+ }, z.core.$strip>, z.ZodObject<{
1444
+ ArchivedEvent: z.ZodObject<{
1041
1445
  offset: z.ZodNumber;
1042
1446
  nodeId: z.ZodNumber;
1043
1447
  contractId: z.ZodString;
1044
1448
  templateId: z.ZodString;
1045
- source: z.ZodString;
1046
- target: z.ZodString;
1047
- reassignmentId: z.ZodString;
1048
- submitter: z.ZodString;
1049
- reassignmentCounter: z.ZodNumber;
1449
+ witnessParties: z.ZodArray<z.ZodString>;
1050
1450
  packageName: z.ZodString;
1051
- }, z.core.$strip>;
1052
- }, z.core.$strip>;
1053
- }, z.core.$strip>]>>;
1054
- traceContext: z.ZodOptional<z.ZodObject<{
1055
- traceId: z.ZodOptional<z.ZodString>;
1056
- spanId: z.ZodOptional<z.ZodString>;
1057
- parentSpanId: z.ZodOptional<z.ZodString>;
1058
- metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1059
- }, z.core.$strip>>;
1060
- recordTime: z.ZodString;
1061
- }, z.core.$strip>;
1062
- }, z.core.$strip>, z.ZodObject<{
1063
- TopologyTransaction: z.ZodObject<{
1064
- updateId: z.ZodString;
1065
- offset: z.ZodNumber;
1066
- recordTime: z.ZodString;
1067
- synchronizerId: z.ZodString;
1068
- events: z.ZodArray<z.ZodObject<{
1069
- participantId: z.ZodOptional<z.ZodString>;
1070
- partyId: z.ZodOptional<z.ZodString>;
1071
- permission: z.ZodOptional<z.ZodString>;
1072
- }, z.core.$strip>>;
1073
- }, z.core.$strip>;
1074
- }, z.core.$strip>, z.ZodObject<{
1075
- Transaction: z.ZodObject<{
1076
- updateId: z.ZodString;
1077
- commandId: z.ZodOptional<z.ZodString>;
1078
- workflowId: z.ZodOptional<z.ZodString>;
1079
- effectiveAt: z.ZodString;
1080
- offset: z.ZodNumber;
1081
- events: z.ZodArray<z.ZodObject<{
1082
- kind: z.ZodUnion<readonly [z.ZodObject<{
1083
- JsCreated: z.ZodObject<{
1451
+ implementedInterfaces: z.ZodOptional<z.ZodArray<z.ZodString>>;
1452
+ }, z.core.$loose>;
1453
+ }, z.core.$strip>, z.ZodObject<{
1454
+ ExercisedEvent: z.ZodObject<{
1084
1455
  offset: z.ZodNumber;
1085
1456
  nodeId: z.ZodNumber;
1086
1457
  contractId: z.ZodString;
1087
1458
  templateId: z.ZodString;
1088
- contractKey: z.ZodNullable<z.ZodString>;
1089
- 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 | {
1459
+ interfaceId: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>, z.ZodTransform<string | undefined, string | null>>>;
1460
+ choice: z.ZodString;
1461
+ 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 | {
1090
1462
  [key: string]: string | number | boolean | any | any | null;
1091
1463
  } | null)[] | {
1092
1464
  [key: string]: string | number | boolean | any | any | null;
@@ -1135,73 +1507,48 @@ export declare const WsUpdateSchema: z.ZodUnion<readonly [z.ZodObject<{
1135
1507
  } | null)[] | {
1136
1508
  [key: string]: string | number | boolean | any | any | null;
1137
1509
  } | null, unknown>>>;
1138
- createdEventBlob: z.ZodString;
1139
- interfaceViews: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
1140
- interfaceId: z.ZodString;
1141
- implementationPackageId: z.ZodOptional<z.ZodString>;
1142
- viewStatus: z.ZodObject<{
1143
- code: z.ZodNumber;
1144
- message: z.ZodString;
1145
- details: z.ZodOptional<z.ZodArray<z.ZodUnknown>>;
1146
- }, z.core.$strict>;
1147
- viewValue: z.ZodOptional<z.ZodUnknown>;
1148
- }, z.core.$strict>>>>;
1149
- witnessParties: z.ZodArray<z.ZodString>;
1150
- signatories: z.ZodArray<z.ZodString>;
1151
- observers: z.ZodArray<z.ZodString>;
1152
- createdAt: z.ZodString;
1153
- packageName: z.ZodString;
1154
- implementedInterfaces: z.ZodOptional<z.ZodArray<z.ZodString>>;
1155
- }, z.core.$strip>;
1156
- }, z.core.$strip>, z.ZodObject<{
1157
- JsArchived: z.ZodObject<{
1158
- offset: z.ZodNumber;
1159
- nodeId: z.ZodNumber;
1160
- contractId: z.ZodString;
1161
- templateId: z.ZodString;
1510
+ actingParties: z.ZodArray<z.ZodString>;
1511
+ consuming: z.ZodBoolean;
1162
1512
  witnessParties: z.ZodArray<z.ZodString>;
1513
+ lastDescendantNodeId: z.ZodNumber;
1514
+ exerciseResult: z.ZodOptional<z.ZodType<import("..").LedgerJsonValue, unknown, z.core.$ZodTypeInternals<import("..").LedgerJsonValue, unknown>>>;
1163
1515
  packageName: z.ZodString;
1164
1516
  implementedInterfaces: z.ZodOptional<z.ZodArray<z.ZodString>>;
1165
- }, z.core.$strip>;
1166
- }, z.core.$strip>, z.ZodObject<{
1167
- JsAssigned: z.ZodObject<{
1168
- offset: z.ZodNumber;
1169
- nodeId: z.ZodNumber;
1170
- contractId: z.ZodString;
1171
- templateId: z.ZodString;
1172
- source: z.ZodString;
1173
- target: z.ZodString;
1174
- reassignmentId: z.ZodString;
1175
- submitter: z.ZodString;
1176
- reassignmentCounter: z.ZodNumber;
1177
- packageName: z.ZodString;
1178
- }, z.core.$strip>;
1179
- }, z.core.$strip>, z.ZodObject<{
1180
- JsUnassigned: z.ZodObject<{
1181
- offset: z.ZodNumber;
1182
- nodeId: z.ZodNumber;
1183
- contractId: z.ZodString;
1184
- templateId: z.ZodString;
1185
- source: z.ZodString;
1186
- target: z.ZodString;
1187
- reassignmentId: z.ZodString;
1188
- submitter: z.ZodString;
1189
- reassignmentCounter: z.ZodNumber;
1190
- packageName: z.ZodString;
1191
- }, z.core.$strip>;
1192
- }, z.core.$strip>]>;
1517
+ acsDelta: z.ZodOptional<z.ZodBoolean>;
1518
+ }, z.core.$loose>;
1519
+ }, z.core.$strip>]>>;
1193
1520
  synchronizerId: z.ZodString;
1194
- reassignmentCounter: z.ZodNumber;
1195
- }, z.core.$strip>>;
1196
- traceContext: z.ZodOptional<z.ZodObject<{
1197
- traceId: z.ZodOptional<z.ZodString>;
1198
- spanId: z.ZodOptional<z.ZodString>;
1199
- parentSpanId: z.ZodOptional<z.ZodString>;
1200
- metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1201
- }, z.core.$strip>>;
1202
- recordTime: z.ZodString;
1521
+ traceContext: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodObject<{
1522
+ traceparent: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>, z.ZodTransform<string | undefined, string | null>>>;
1523
+ tracestate: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>, z.ZodTransform<string | undefined, string | null>>>;
1524
+ traceId: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>, z.ZodTransform<string | undefined, string | null>>>;
1525
+ spanId: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>, z.ZodTransform<string | undefined, string | null>>>;
1526
+ parentSpanId: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>, z.ZodTransform<string | undefined, string | null>>>;
1527
+ metadata: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodRecord<z.ZodString, z.ZodString>, z.ZodNull]>, z.ZodTransform<Record<string, string> | undefined, Record<string, string> | null>>>;
1528
+ }, z.core.$loose>, z.ZodNull]>, z.ZodTransform<{
1529
+ [x: string]: unknown;
1530
+ traceparent?: string | undefined;
1531
+ tracestate?: string | undefined;
1532
+ traceId?: string | undefined;
1533
+ spanId?: string | undefined;
1534
+ parentSpanId?: string | undefined;
1535
+ metadata?: Record<string, string> | undefined;
1536
+ } | undefined, {
1537
+ [x: string]: unknown;
1538
+ traceparent?: string | undefined;
1539
+ tracestate?: string | undefined;
1540
+ traceId?: string | undefined;
1541
+ spanId?: string | undefined;
1542
+ parentSpanId?: string | undefined;
1543
+ metadata?: Record<string, string> | undefined;
1544
+ } | null>>>;
1545
+ recordTime: z.ZodString;
1546
+ externalTransactionHash: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>, z.ZodTransform<string | undefined, string | null>>>;
1547
+ paidTrafficCost: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodPipe<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>, z.ZodTransform<string, string | number>>, z.ZodNull]>, z.ZodTransform<string | undefined, string | null>>>;
1548
+ }, z.core.$loose>;
1203
1549
  }, z.core.$strip>;
1204
1550
  }, z.core.$strip>]>;
1551
+ /** WebSocket `/v2/updates/trees` update wrappers (deprecated trees endpoint). */
1205
1552
  export declare const WsUpdateTreesSchema: z.ZodUnion<readonly [z.ZodObject<{
1206
1553
  OffsetCheckpoint: z.ZodObject<{
1207
1554
  value: z.ZodObject<{
@@ -1214,387 +1561,158 @@ export declare const WsUpdateTreesSchema: z.ZodUnion<readonly [z.ZodObject<{
1214
1561
  }, z.core.$strip>;
1215
1562
  }, z.core.$strip>, z.ZodObject<{
1216
1563
  Reassignment: z.ZodObject<{
1217
- updateId: z.ZodString;
1218
- commandId: z.ZodOptional<z.ZodString>;
1219
- workflowId: z.ZodOptional<z.ZodString>;
1220
- offset: z.ZodNumber;
1221
- events: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
1222
- JsAssignmentEvent: z.ZodObject<{
1223
- source: z.ZodString;
1224
- target: z.ZodString;
1225
- reassignmentId: z.ZodString;
1226
- submitter: z.ZodString;
1227
- reassignmentCounter: z.ZodNumber;
1228
- createdEvent: z.ZodObject<{
1229
- offset: z.ZodNumber;
1230
- nodeId: z.ZodNumber;
1231
- contractId: z.ZodString;
1232
- templateId: z.ZodString;
1233
- contractKey: z.ZodNullable<z.ZodString>;
1234
- 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 | {
1235
- [key: string]: string | number | boolean | /*elided*/ any | /*elided*/ any | null;
1236
- } | null)[] | {
1237
- [key: string]: string | number | boolean | any | any | null;
1238
- } | null)[] | {
1239
- [key: string]: string | number | boolean | any | any | null;
1240
- } | null)[] | {
1241
- [key: string]: string | number | boolean | any | any | null;
1242
- } | null)[] | {
1243
- [key: string]: string | number | boolean | any | any | null;
1244
- } | null)[] | {
1245
- [key: string]: string | number | boolean | any | any | null;
1246
- } | null)[] | {
1247
- [key: string]: string | number | boolean | any | any | null;
1248
- } | null)[] | {
1249
- [key: string]: string | number | boolean | any | any | null;
1250
- } | null)[] | {
1251
- [key: string]: string | number | boolean | any | any | null;
1252
- } | null)[] | {
1253
- [key: string]: string | number | boolean | any | any | null;
1254
- } | null)[] | {
1255
- [key: string]: string | number | boolean | any | any | null;
1256
- } | null)[] | {
1257
- [key: string]: string | number | boolean | any | any | null;
1258
- } | 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 | {
1259
- [key: string]: string | number | boolean | any | any | null;
1260
- } | null)[] | {
1261
- [key: string]: string | number | boolean | any | any | null;
1262
- } | null)[] | {
1263
- [key: string]: string | number | boolean | any | any | null;
1264
- } | null)[] | {
1265
- [key: string]: string | number | boolean | any | any | null;
1266
- } | null)[] | {
1267
- [key: string]: string | number | boolean | any | any | null;
1268
- } | null)[] | {
1269
- [key: string]: string | number | boolean | any | any | null;
1270
- } | null)[] | {
1271
- [key: string]: string | number | boolean | any | any | null;
1272
- } | null)[] | {
1273
- [key: string]: string | number | boolean | any | any | null;
1274
- } | null)[] | {
1275
- [key: string]: string | number | boolean | any | any | null;
1276
- } | null)[] | {
1277
- [key: string]: string | number | boolean | any | any | null;
1278
- } | null)[] | {
1279
- [key: string]: string | number | boolean | any | any | null;
1280
- } | null)[] | {
1281
- [key: string]: string | number | boolean | any | any | null;
1282
- } | null, unknown>>>;
1283
- createdEventBlob: z.ZodString;
1284
- interfaceViews: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
1285
- interfaceId: z.ZodString;
1286
- implementationPackageId: z.ZodOptional<z.ZodString>;
1287
- viewStatus: z.ZodObject<{
1288
- code: z.ZodNumber;
1289
- message: z.ZodString;
1290
- details: z.ZodOptional<z.ZodArray<z.ZodUnknown>>;
1291
- }, z.core.$strict>;
1292
- viewValue: z.ZodOptional<z.ZodUnknown>;
1293
- }, z.core.$strict>>>>;
1294
- witnessParties: z.ZodArray<z.ZodString>;
1295
- signatories: z.ZodArray<z.ZodString>;
1296
- observers: z.ZodArray<z.ZodString>;
1297
- createdAt: z.ZodString;
1298
- packageName: z.ZodString;
1299
- implementedInterfaces: z.ZodOptional<z.ZodArray<z.ZodString>>;
1300
- }, z.core.$strip>;
1301
- }, z.core.$strip>;
1302
- }, z.core.$strip>, z.ZodObject<{
1303
- JsUnassignedEvent: z.ZodObject<{
1304
- value: z.ZodObject<{
1305
- offset: z.ZodNumber;
1306
- nodeId: z.ZodNumber;
1307
- contractId: z.ZodString;
1308
- templateId: z.ZodString;
1564
+ value: z.ZodObject<{
1565
+ updateId: z.ZodString;
1566
+ commandId: z.ZodOptional<z.ZodString>;
1567
+ workflowId: z.ZodOptional<z.ZodString>;
1568
+ offset: z.ZodNumber;
1569
+ events: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
1570
+ JsAssignmentEvent: z.ZodObject<{
1309
1571
  source: z.ZodString;
1310
1572
  target: z.ZodString;
1311
1573
  reassignmentId: z.ZodString;
1312
1574
  submitter: z.ZodString;
1313
1575
  reassignmentCounter: z.ZodNumber;
1314
- packageName: z.ZodString;
1315
- }, z.core.$strip>;
1316
- }, z.core.$strip>;
1317
- }, z.core.$strip>]>>;
1318
- traceContext: z.ZodOptional<z.ZodObject<{
1319
- traceId: z.ZodOptional<z.ZodString>;
1320
- spanId: z.ZodOptional<z.ZodString>;
1321
- parentSpanId: z.ZodOptional<z.ZodString>;
1322
- metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1323
- }, z.core.$strip>>;
1324
- recordTime: z.ZodString;
1325
- }, z.core.$strip>;
1326
- }, z.core.$strip>, z.ZodObject<{
1327
- TransactionTree: z.ZodObject<{
1328
- updateId: z.ZodString;
1329
- commandId: z.ZodOptional<z.ZodString>;
1330
- workflowId: z.ZodOptional<z.ZodString>;
1331
- effectiveAt: z.ZodString;
1332
- offset: z.ZodNumber;
1333
- eventsById: z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodObject<{
1334
- CreatedTreeEvent: z.ZodObject<{
1335
- value: z.ZodObject<{
1336
- offset: z.ZodNumber;
1337
- nodeId: z.ZodNumber;
1338
- contractId: z.ZodString;
1339
- templateId: z.ZodString;
1340
- contractKey: z.ZodNullable<z.ZodString>;
1341
- 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 | {
1342
- [key: string]: string | number | boolean | any | any | null;
1343
- } | null)[] | {
1344
- [key: string]: string | number | boolean | any | any | null;
1345
- } | null)[] | {
1346
- [key: string]: string | number | boolean | any | any | null;
1347
- } | null)[] | {
1348
- [key: string]: string | number | boolean | any | any | null;
1349
- } | null)[] | {
1350
- [key: string]: string | number | boolean | any | any | null;
1351
- } | null)[] | {
1352
- [key: string]: string | number | boolean | any | any | null;
1353
- } | null)[] | {
1354
- [key: string]: string | number | boolean | any | any | null;
1355
- } | null)[] | {
1356
- [key: string]: string | number | boolean | any | any | null;
1357
- } | null)[] | {
1358
- [key: string]: string | number | boolean | any | any | null;
1359
- } | null)[] | {
1360
- [key: string]: string | number | boolean | any | any | null;
1361
- } | null)[] | {
1362
- [key: string]: string | number | boolean | any | any | null;
1363
- } | null)[] | {
1364
- [key: string]: string | number | boolean | any | any | null;
1365
- } | 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 | {
1366
- [key: string]: string | number | boolean | any | any | null;
1367
- } | null)[] | {
1368
- [key: string]: string | number | boolean | any | any | null;
1369
- } | null)[] | {
1370
- [key: string]: string | number | boolean | any | any | null;
1371
- } | null)[] | {
1372
- [key: string]: string | number | boolean | any | any | null;
1373
- } | null)[] | {
1374
- [key: string]: string | number | boolean | any | any | null;
1375
- } | null)[] | {
1376
- [key: string]: string | number | boolean | any | any | null;
1377
- } | null)[] | {
1378
- [key: string]: string | number | boolean | any | any | null;
1379
- } | null)[] | {
1380
- [key: string]: string | number | boolean | any | any | null;
1381
- } | null)[] | {
1382
- [key: string]: string | number | boolean | any | any | null;
1383
- } | null)[] | {
1384
- [key: string]: string | number | boolean | any | any | null;
1385
- } | null)[] | {
1386
- [key: string]: string | number | boolean | any | any | null;
1387
- } | null)[] | {
1388
- [key: string]: string | number | boolean | any | any | null;
1389
- } | null, unknown>>>;
1390
- createdEventBlob: z.ZodString;
1391
- interfaceViews: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
1392
- interfaceId: z.ZodString;
1393
- implementationPackageId: z.ZodOptional<z.ZodString>;
1394
- viewStatus: z.ZodObject<{
1395
- code: z.ZodNumber;
1396
- message: z.ZodString;
1397
- details: z.ZodOptional<z.ZodArray<z.ZodUnknown>>;
1398
- }, z.core.$strict>;
1399
- viewValue: z.ZodOptional<z.ZodUnknown>;
1400
- }, z.core.$strict>>>>;
1401
- witnessParties: z.ZodArray<z.ZodString>;
1402
- signatories: z.ZodArray<z.ZodString>;
1403
- observers: z.ZodArray<z.ZodString>;
1404
- createdAt: z.ZodString;
1405
- packageName: z.ZodString;
1406
- implementedInterfaces: z.ZodOptional<z.ZodArray<z.ZodString>>;
1407
- }, z.core.$strict>;
1408
- }, z.core.$strict>;
1409
- }, z.core.$strict>, z.ZodObject<{
1410
- ExercisedTreeEvent: z.ZodObject<{
1411
- value: z.ZodObject<{
1412
- offset: z.ZodNumber;
1413
- nodeId: z.ZodNumber;
1414
- contractId: z.ZodString;
1415
- templateId: z.ZodString;
1416
- interfaceId: z.ZodNullable<z.ZodString>;
1417
- choice: z.ZodString;
1418
- 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 | {
1419
- [key: string]: string | number | boolean | any | any | null;
1420
- } | null)[] | {
1421
- [key: string]: string | number | boolean | any | any | null;
1422
- } | null)[] | {
1423
- [key: string]: string | number | boolean | any | any | null;
1424
- } | null)[] | {
1425
- [key: string]: string | number | boolean | any | any | null;
1426
- } | null)[] | {
1427
- [key: string]: string | number | boolean | any | any | null;
1428
- } | null)[] | {
1429
- [key: string]: string | number | boolean | any | any | null;
1430
- } | null)[] | {
1431
- [key: string]: string | number | boolean | any | any | null;
1432
- } | null)[] | {
1433
- [key: string]: string | number | boolean | any | any | null;
1434
- } | null)[] | {
1435
- [key: string]: string | number | boolean | any | any | null;
1436
- } | null)[] | {
1437
- [key: string]: string | number | boolean | any | any | null;
1438
- } | null)[] | {
1439
- [key: string]: string | number | boolean | any | any | null;
1440
- } | null)[] | {
1441
- [key: string]: string | number | boolean | any | any | null;
1442
- } | 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 | {
1443
- [key: string]: string | number | boolean | any | any | null;
1444
- } | null)[] | {
1445
- [key: string]: string | number | boolean | any | any | null;
1446
- } | null)[] | {
1447
- [key: string]: string | number | boolean | any | any | null;
1448
- } | null)[] | {
1449
- [key: string]: string | number | boolean | any | any | null;
1450
- } | null)[] | {
1451
- [key: string]: string | number | boolean | any | any | null;
1452
- } | null)[] | {
1453
- [key: string]: string | number | boolean | any | any | null;
1454
- } | null)[] | {
1455
- [key: string]: string | number | boolean | any | any | null;
1456
- } | null)[] | {
1457
- [key: string]: string | number | boolean | any | any | null;
1458
- } | null)[] | {
1459
- [key: string]: string | number | boolean | any | any | null;
1460
- } | null)[] | {
1461
- [key: string]: string | number | boolean | any | any | null;
1462
- } | null)[] | {
1463
- [key: string]: string | number | boolean | any | any | null;
1464
- } | null)[] | {
1465
- [key: string]: string | number | boolean | any | any | null;
1466
- } | null, unknown>>>;
1467
- actingParties: z.ZodArray<z.ZodString>;
1468
- witnessParties: z.ZodArray<z.ZodString>;
1469
- 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 | {
1470
- [key: string]: string | number | boolean | any | any | null;
1471
- } | null)[] | {
1472
- [key: string]: string | number | boolean | any | any | null;
1473
- } | null)[] | {
1474
- [key: string]: string | number | boolean | any | any | null;
1475
- } | null)[] | {
1476
- [key: string]: string | number | boolean | any | any | null;
1477
- } | null)[] | {
1478
- [key: string]: string | number | boolean | any | any | null;
1479
- } | null)[] | {
1480
- [key: string]: string | number | boolean | any | any | null;
1481
- } | null)[] | {
1482
- [key: string]: string | number | boolean | any | any | null;
1483
- } | null)[] | {
1484
- [key: string]: string | number | boolean | any | any | null;
1485
- } | null)[] | {
1486
- [key: string]: string | number | boolean | any | any | null;
1487
- } | null)[] | {
1488
- [key: string]: string | number | boolean | any | any | null;
1489
- } | null)[] | {
1490
- [key: string]: string | number | boolean | any | any | null;
1491
- } | null)[] | {
1492
- [key: string]: string | number | boolean | any | any | null;
1493
- } | 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 | {
1494
- [key: string]: string | number | boolean | any | any | null;
1495
- } | null)[] | {
1496
- [key: string]: string | number | boolean | any | any | null;
1497
- } | null)[] | {
1498
- [key: string]: string | number | boolean | any | any | null;
1499
- } | null)[] | {
1500
- [key: string]: string | number | boolean | any | any | null;
1501
- } | null)[] | {
1502
- [key: string]: string | number | boolean | any | any | null;
1503
- } | null)[] | {
1504
- [key: string]: string | number | boolean | any | any | null;
1505
- } | null)[] | {
1506
- [key: string]: string | number | boolean | any | any | null;
1507
- } | null)[] | {
1508
- [key: string]: string | number | boolean | any | any | null;
1509
- } | null)[] | {
1510
- [key: string]: string | number | boolean | any | any | null;
1511
- } | null)[] | {
1512
- [key: string]: string | number | boolean | any | any | null;
1513
- } | null)[] | {
1514
- [key: string]: string | number | boolean | any | any | null;
1515
- } | null)[] | {
1516
- [key: string]: string | number | boolean | any | any | null;
1517
- } | null, unknown>>>;
1518
- packageName: z.ZodString;
1519
- consuming: z.ZodBoolean;
1520
- lastDescendantNodeId: z.ZodOptional<z.ZodNumber>;
1521
- implementedInterfaces: z.ZodOptional<z.ZodArray<z.ZodString>>;
1522
- }, z.core.$strict>;
1523
- }, z.core.$strict>;
1524
- }, z.core.$strict>, z.ZodObject<{
1525
- ArchivedTreeEvent: z.ZodObject<{
1526
- value: z.ZodObject<{
1527
- offset: z.ZodNumber;
1528
- nodeId: z.ZodNumber;
1529
- contractId: z.ZodString;
1530
- templateId: z.ZodString;
1531
- witnessParties: z.ZodArray<z.ZodString>;
1532
- packageName: z.ZodString;
1533
- implementedInterfaces: z.ZodOptional<z.ZodArray<z.ZodString>>;
1534
- }, z.core.$strict>;
1535
- }, z.core.$strict>;
1536
- }, z.core.$strict>]>>;
1537
- recordTime: z.ZodString;
1538
- }, z.core.$strip>;
1539
- }, z.core.$strip>]>;
1540
- /** Update stream request. */
1541
- export declare const UpdateStreamRequestSchema: z.ZodObject<{
1542
- userId: z.ZodOptional<z.ZodString>;
1543
- parties: z.ZodArray<z.ZodString>;
1544
- beginExclusive: z.ZodOptional<z.ZodNumber>;
1545
- eventFormat: z.ZodOptional<z.ZodObject<{
1546
- verbose: z.ZodBoolean;
1547
- filtersByParty: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
1548
- cumulative: z.ZodOptional<z.ZodArray<z.ZodObject<{
1549
- identifierFilter: z.ZodUnion<readonly [z.ZodObject<{
1550
- Empty: z.ZodObject<{}, z.core.$strip>;
1551
- }, z.core.$strip>, z.ZodObject<{
1552
- InterfaceFilter: z.ZodObject<{
1553
- value: z.ZodObject<{
1576
+ createdEvent: z.ZodObject<{
1577
+ offset: z.ZodNumber;
1578
+ nodeId: z.ZodNumber;
1579
+ contractId: z.ZodString;
1580
+ templateId: z.ZodString;
1581
+ contractKey: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodType<import("..").LedgerJsonValue, unknown, z.core.$ZodTypeInternals<import("..").LedgerJsonValue, unknown>>, z.ZodNull]>, z.ZodTransform<import("..").LedgerJsonValue | undefined, import("..").LedgerJsonValue>>>;
1582
+ contractKeyHash: z.ZodOptional<z.ZodString>;
1583
+ 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 | {
1584
+ [key: string]: string | number | boolean | /*elided*/ any | /*elided*/ any | null;
1585
+ } | null)[] | {
1586
+ [key: string]: string | number | boolean | any | any | null;
1587
+ } | null)[] | {
1588
+ [key: string]: string | number | boolean | any | any | null;
1589
+ } | null)[] | {
1590
+ [key: string]: string | number | boolean | any | any | null;
1591
+ } | null)[] | {
1592
+ [key: string]: string | number | boolean | any | any | null;
1593
+ } | null)[] | {
1594
+ [key: string]: string | number | boolean | any | any | null;
1595
+ } | null)[] | {
1596
+ [key: string]: string | number | boolean | any | any | null;
1597
+ } | null)[] | {
1598
+ [key: string]: string | number | boolean | any | any | null;
1599
+ } | null)[] | {
1600
+ [key: string]: string | number | boolean | any | any | null;
1601
+ } | null)[] | {
1602
+ [key: string]: string | number | boolean | any | any | null;
1603
+ } | null)[] | {
1604
+ [key: string]: string | number | boolean | any | any | null;
1605
+ } | null)[] | {
1606
+ [key: string]: string | number | boolean | any | any | null;
1607
+ } | 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 | {
1608
+ [key: string]: string | number | boolean | any | any | null;
1609
+ } | null)[] | {
1610
+ [key: string]: string | number | boolean | any | any | null;
1611
+ } | null)[] | {
1612
+ [key: string]: string | number | boolean | any | any | null;
1613
+ } | null)[] | {
1614
+ [key: string]: string | number | boolean | any | any | null;
1615
+ } | null)[] | {
1616
+ [key: string]: string | number | boolean | any | any | null;
1617
+ } | null)[] | {
1618
+ [key: string]: string | number | boolean | any | any | null;
1619
+ } | null)[] | {
1620
+ [key: string]: string | number | boolean | any | any | null;
1621
+ } | null)[] | {
1622
+ [key: string]: string | number | boolean | any | any | null;
1623
+ } | null)[] | {
1624
+ [key: string]: string | number | boolean | any | any | null;
1625
+ } | null)[] | {
1626
+ [key: string]: string | number | boolean | any | any | null;
1627
+ } | null)[] | {
1628
+ [key: string]: string | number | boolean | any | any | null;
1629
+ } | null)[] | {
1630
+ [key: string]: string | number | boolean | any | any | null;
1631
+ } | null, unknown>>>;
1632
+ createdEventBlob: z.ZodOptional<z.ZodString>;
1633
+ interfaceViews: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
1554
1634
  interfaceId: z.ZodString;
1555
- includeInterfaceView: z.ZodBoolean;
1556
- includeCreatedEventBlob: z.ZodBoolean;
1557
- }, z.core.$strip>;
1558
- }, z.core.$strip>;
1559
- }, z.core.$strip>, z.ZodObject<{
1560
- TemplateFilter: z.ZodObject<{
1561
- value: z.ZodObject<{
1562
- templateId: z.ZodString;
1563
- includeCreatedEventBlob: z.ZodBoolean;
1564
- }, z.core.$strip>;
1565
- }, z.core.$strip>;
1566
- }, z.core.$strip>, z.ZodObject<{
1567
- WildcardFilter: z.ZodObject<{
1568
- value: z.ZodObject<{
1569
- includeCreatedEventBlob: z.ZodBoolean;
1570
- }, z.core.$strip>;
1571
- }, z.core.$strip>;
1572
- }, z.core.$strip>]>;
1573
- }, z.core.$strip>>>;
1574
- }, z.core.$strict>>>;
1575
- includeCreatedEventBlob: z.ZodOptional<z.ZodBoolean>;
1576
- includeInterfaceViews: z.ZodOptional<z.ZodBoolean>;
1577
- }, z.core.$strict>>;
1578
- }, z.core.$strip>;
1579
- /** Update stream response. */
1580
- export declare const UpdateStreamResponseSchema: z.ZodObject<{
1581
- update: z.ZodUnion<readonly [z.ZodObject<{
1582
- JsTransaction: z.ZodObject<{
1635
+ implementationPackageId: z.ZodOptional<z.ZodString>;
1636
+ viewStatus: z.ZodObject<{
1637
+ code: z.ZodNumber;
1638
+ message: z.ZodString;
1639
+ details: z.ZodOptional<z.ZodArray<z.ZodUnknown>>;
1640
+ }, z.core.$strict>;
1641
+ viewValue: z.ZodOptional<z.ZodUnknown>;
1642
+ }, z.core.$strict>>>>;
1643
+ witnessParties: z.ZodArray<z.ZodString>;
1644
+ signatories: z.ZodArray<z.ZodString>;
1645
+ observers: z.ZodOptional<z.ZodArray<z.ZodString>>;
1646
+ createdAt: z.ZodString;
1647
+ packageName: z.ZodString;
1648
+ representativePackageId: z.ZodOptional<z.ZodString>;
1649
+ acsDelta: z.ZodOptional<z.ZodBoolean>;
1650
+ implementedInterfaces: z.ZodOptional<z.ZodArray<z.ZodString>>;
1651
+ }, z.core.$loose>;
1652
+ }, z.core.$strip>;
1653
+ }, z.core.$strip>, z.ZodObject<{
1654
+ JsUnassignedEvent: z.ZodObject<{
1655
+ value: z.ZodObject<{
1656
+ offset: z.ZodNumber;
1657
+ nodeId: z.ZodNumber;
1658
+ contractId: z.ZodString;
1659
+ templateId: z.ZodString;
1660
+ source: z.ZodString;
1661
+ target: z.ZodString;
1662
+ reassignmentId: z.ZodString;
1663
+ submitter: z.ZodString;
1664
+ reassignmentCounter: z.ZodNumber;
1665
+ packageName: z.ZodString;
1666
+ }, z.core.$loose>;
1667
+ }, z.core.$strip>;
1668
+ }, z.core.$strip>]>>;
1669
+ traceContext: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodObject<{
1670
+ traceparent: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>, z.ZodTransform<string | undefined, string | null>>>;
1671
+ tracestate: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>, z.ZodTransform<string | undefined, string | null>>>;
1672
+ traceId: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>, z.ZodTransform<string | undefined, string | null>>>;
1673
+ spanId: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>, z.ZodTransform<string | undefined, string | null>>>;
1674
+ parentSpanId: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>, z.ZodTransform<string | undefined, string | null>>>;
1675
+ metadata: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodRecord<z.ZodString, z.ZodString>, z.ZodNull]>, z.ZodTransform<Record<string, string> | undefined, Record<string, string> | null>>>;
1676
+ }, z.core.$loose>, z.ZodNull]>, z.ZodTransform<{
1677
+ [x: string]: unknown;
1678
+ traceparent?: string | undefined;
1679
+ tracestate?: string | undefined;
1680
+ traceId?: string | undefined;
1681
+ spanId?: string | undefined;
1682
+ parentSpanId?: string | undefined;
1683
+ metadata?: Record<string, string> | undefined;
1684
+ } | undefined, {
1685
+ [x: string]: unknown;
1686
+ traceparent?: string | undefined;
1687
+ tracestate?: string | undefined;
1688
+ traceId?: string | undefined;
1689
+ spanId?: string | undefined;
1690
+ parentSpanId?: string | undefined;
1691
+ metadata?: Record<string, string> | undefined;
1692
+ } | null>>>;
1693
+ recordTime: z.ZodString;
1694
+ synchronizerId: z.ZodString;
1695
+ paidTrafficCost: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodPipe<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>, z.ZodTransform<string, string | number>>, z.ZodNull]>, z.ZodTransform<string | undefined, string | null>>>;
1696
+ }, z.core.$loose>;
1697
+ }, z.core.$strip>;
1698
+ }, z.core.$strip>, z.ZodObject<{
1699
+ TransactionTree: z.ZodObject<{
1700
+ value: z.ZodObject<{
1583
1701
  updateId: z.ZodString;
1584
1702
  commandId: z.ZodOptional<z.ZodString>;
1585
1703
  workflowId: z.ZodOptional<z.ZodString>;
1586
1704
  effectiveAt: z.ZodString;
1587
1705
  offset: z.ZodNumber;
1588
- events: z.ZodArray<z.ZodObject<{
1589
- kind: z.ZodUnion<readonly [z.ZodObject<{
1590
- JsCreated: z.ZodObject<{
1706
+ eventsById: z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodObject<{
1707
+ CreatedTreeEvent: z.ZodObject<{
1708
+ value: z.ZodObject<{
1591
1709
  offset: z.ZodNumber;
1592
1710
  nodeId: z.ZodNumber;
1593
1711
  contractId: z.ZodString;
1594
1712
  templateId: z.ZodString;
1595
1713
  contractKey: z.ZodNullable<z.ZodString>;
1596
- 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 | {
1597
- [key: string]: string | number | boolean | /*elided*/ any | /*elided*/ any | null;
1714
+ 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 | {
1715
+ [key: string]: string | number | boolean | any | any | null;
1598
1716
  } | null)[] | {
1599
1717
  [key: string]: string | number | boolean | any | any | null;
1600
1718
  } | null)[] | {
@@ -1659,55 +1777,396 @@ export declare const UpdateStreamResponseSchema: z.ZodObject<{
1659
1777
  createdAt: z.ZodString;
1660
1778
  packageName: z.ZodString;
1661
1779
  implementedInterfaces: z.ZodOptional<z.ZodArray<z.ZodString>>;
1662
- }, z.core.$strip>;
1663
- }, z.core.$strip>, z.ZodObject<{
1664
- JsArchived: z.ZodObject<{
1780
+ }, z.core.$strict>;
1781
+ }, z.core.$strict>;
1782
+ }, z.core.$strict>, z.ZodObject<{
1783
+ ExercisedTreeEvent: z.ZodObject<{
1784
+ value: z.ZodObject<{
1665
1785
  offset: z.ZodNumber;
1666
1786
  nodeId: z.ZodNumber;
1667
1787
  contractId: z.ZodString;
1668
1788
  templateId: z.ZodString;
1789
+ interfaceId: z.ZodNullable<z.ZodString>;
1790
+ choice: z.ZodString;
1791
+ 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 | {
1792
+ [key: string]: string | number | boolean | any | any | null;
1793
+ } | null)[] | {
1794
+ [key: string]: string | number | boolean | any | any | null;
1795
+ } | null)[] | {
1796
+ [key: string]: string | number | boolean | any | any | null;
1797
+ } | null)[] | {
1798
+ [key: string]: string | number | boolean | any | any | null;
1799
+ } | null)[] | {
1800
+ [key: string]: string | number | boolean | any | any | null;
1801
+ } | null)[] | {
1802
+ [key: string]: string | number | boolean | any | any | null;
1803
+ } | null)[] | {
1804
+ [key: string]: string | number | boolean | any | any | null;
1805
+ } | null)[] | {
1806
+ [key: string]: string | number | boolean | any | any | null;
1807
+ } | null)[] | {
1808
+ [key: string]: string | number | boolean | any | any | null;
1809
+ } | null)[] | {
1810
+ [key: string]: string | number | boolean | any | any | null;
1811
+ } | null)[] | {
1812
+ [key: string]: string | number | boolean | any | any | null;
1813
+ } | null)[] | {
1814
+ [key: string]: string | number | boolean | any | any | null;
1815
+ } | 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 | {
1816
+ [key: string]: string | number | boolean | any | any | null;
1817
+ } | null)[] | {
1818
+ [key: string]: string | number | boolean | any | any | null;
1819
+ } | null)[] | {
1820
+ [key: string]: string | number | boolean | any | any | null;
1821
+ } | null)[] | {
1822
+ [key: string]: string | number | boolean | any | any | null;
1823
+ } | null)[] | {
1824
+ [key: string]: string | number | boolean | any | any | null;
1825
+ } | null)[] | {
1826
+ [key: string]: string | number | boolean | any | any | null;
1827
+ } | null)[] | {
1828
+ [key: string]: string | number | boolean | any | any | null;
1829
+ } | null)[] | {
1830
+ [key: string]: string | number | boolean | any | any | null;
1831
+ } | null)[] | {
1832
+ [key: string]: string | number | boolean | any | any | null;
1833
+ } | null)[] | {
1834
+ [key: string]: string | number | boolean | any | any | null;
1835
+ } | null)[] | {
1836
+ [key: string]: string | number | boolean | any | any | null;
1837
+ } | null)[] | {
1838
+ [key: string]: string | number | boolean | any | any | null;
1839
+ } | null, unknown>>>;
1840
+ actingParties: z.ZodArray<z.ZodString>;
1669
1841
  witnessParties: z.ZodArray<z.ZodString>;
1842
+ 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 | {
1843
+ [key: string]: string | number | boolean | any | any | null;
1844
+ } | null)[] | {
1845
+ [key: string]: string | number | boolean | any | any | null;
1846
+ } | null)[] | {
1847
+ [key: string]: string | number | boolean | any | any | null;
1848
+ } | null)[] | {
1849
+ [key: string]: string | number | boolean | any | any | null;
1850
+ } | null)[] | {
1851
+ [key: string]: string | number | boolean | any | any | null;
1852
+ } | null)[] | {
1853
+ [key: string]: string | number | boolean | any | any | null;
1854
+ } | null)[] | {
1855
+ [key: string]: string | number | boolean | any | any | null;
1856
+ } | null)[] | {
1857
+ [key: string]: string | number | boolean | any | any | null;
1858
+ } | null)[] | {
1859
+ [key: string]: string | number | boolean | any | any | null;
1860
+ } | null)[] | {
1861
+ [key: string]: string | number | boolean | any | any | null;
1862
+ } | null)[] | {
1863
+ [key: string]: string | number | boolean | any | any | null;
1864
+ } | null)[] | {
1865
+ [key: string]: string | number | boolean | any | any | null;
1866
+ } | 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 | {
1867
+ [key: string]: string | number | boolean | any | any | null;
1868
+ } | null)[] | {
1869
+ [key: string]: string | number | boolean | any | any | null;
1870
+ } | null)[] | {
1871
+ [key: string]: string | number | boolean | any | any | null;
1872
+ } | null)[] | {
1873
+ [key: string]: string | number | boolean | any | any | null;
1874
+ } | null)[] | {
1875
+ [key: string]: string | number | boolean | any | any | null;
1876
+ } | null)[] | {
1877
+ [key: string]: string | number | boolean | any | any | null;
1878
+ } | null)[] | {
1879
+ [key: string]: string | number | boolean | any | any | null;
1880
+ } | null)[] | {
1881
+ [key: string]: string | number | boolean | any | any | null;
1882
+ } | null)[] | {
1883
+ [key: string]: string | number | boolean | any | any | null;
1884
+ } | null)[] | {
1885
+ [key: string]: string | number | boolean | any | any | null;
1886
+ } | null)[] | {
1887
+ [key: string]: string | number | boolean | any | any | null;
1888
+ } | null)[] | {
1889
+ [key: string]: string | number | boolean | any | any | null;
1890
+ } | null, unknown>>>;
1670
1891
  packageName: z.ZodString;
1892
+ consuming: z.ZodBoolean;
1893
+ lastDescendantNodeId: z.ZodOptional<z.ZodNumber>;
1671
1894
  implementedInterfaces: z.ZodOptional<z.ZodArray<z.ZodString>>;
1672
- }, z.core.$strip>;
1673
- }, z.core.$strip>, z.ZodObject<{
1674
- JsAssigned: z.ZodObject<{
1895
+ }, z.core.$strict>;
1896
+ }, z.core.$strict>;
1897
+ }, z.core.$strict>, z.ZodObject<{
1898
+ ArchivedTreeEvent: z.ZodObject<{
1899
+ value: z.ZodObject<{
1675
1900
  offset: z.ZodNumber;
1676
1901
  nodeId: z.ZodNumber;
1677
1902
  contractId: z.ZodString;
1678
1903
  templateId: z.ZodString;
1679
- source: z.ZodString;
1680
- target: z.ZodString;
1681
- reassignmentId: z.ZodString;
1682
- submitter: z.ZodString;
1683
- reassignmentCounter: z.ZodNumber;
1904
+ witnessParties: z.ZodArray<z.ZodString>;
1684
1905
  packageName: z.ZodString;
1906
+ implementedInterfaces: z.ZodOptional<z.ZodArray<z.ZodString>>;
1907
+ }, z.core.$strict>;
1908
+ }, z.core.$strict>;
1909
+ }, z.core.$strict>]>>;
1910
+ synchronizerId: z.ZodString;
1911
+ traceContext: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodObject<{
1912
+ traceparent: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>, z.ZodTransform<string | undefined, string | null>>>;
1913
+ tracestate: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>, z.ZodTransform<string | undefined, string | null>>>;
1914
+ traceId: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>, z.ZodTransform<string | undefined, string | null>>>;
1915
+ spanId: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>, z.ZodTransform<string | undefined, string | null>>>;
1916
+ parentSpanId: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>, z.ZodTransform<string | undefined, string | null>>>;
1917
+ metadata: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodRecord<z.ZodString, z.ZodString>, z.ZodNull]>, z.ZodTransform<Record<string, string> | undefined, Record<string, string> | null>>>;
1918
+ }, z.core.$loose>, z.ZodNull]>, z.ZodTransform<{
1919
+ [x: string]: unknown;
1920
+ traceparent?: string | undefined;
1921
+ tracestate?: string | undefined;
1922
+ traceId?: string | undefined;
1923
+ spanId?: string | undefined;
1924
+ parentSpanId?: string | undefined;
1925
+ metadata?: Record<string, string> | undefined;
1926
+ } | undefined, {
1927
+ [x: string]: unknown;
1928
+ traceparent?: string | undefined;
1929
+ tracestate?: string | undefined;
1930
+ traceId?: string | undefined;
1931
+ spanId?: string | undefined;
1932
+ parentSpanId?: string | undefined;
1933
+ metadata?: Record<string, string> | undefined;
1934
+ } | null>>>;
1935
+ recordTime: z.ZodString;
1936
+ }, z.core.$loose>;
1937
+ }, z.core.$strip>;
1938
+ }, z.core.$strip>]>;
1939
+ /** Update stream request. */
1940
+ export declare const UpdateStreamRequestSchema: z.ZodObject<{
1941
+ userId: z.ZodOptional<z.ZodString>;
1942
+ parties: z.ZodArray<z.ZodString>;
1943
+ beginExclusive: z.ZodOptional<z.ZodNumber>;
1944
+ eventFormat: z.ZodOptional<z.ZodObject<{
1945
+ verbose: z.ZodBoolean;
1946
+ filtersByParty: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
1947
+ cumulative: z.ZodOptional<z.ZodArray<z.ZodObject<{
1948
+ identifierFilter: z.ZodUnion<readonly [z.ZodObject<{
1949
+ Empty: z.ZodObject<{}, z.core.$strip>;
1950
+ }, z.core.$strip>, z.ZodObject<{
1951
+ InterfaceFilter: z.ZodObject<{
1952
+ value: z.ZodObject<{
1953
+ interfaceId: z.ZodString;
1954
+ includeInterfaceView: z.ZodBoolean;
1955
+ includeCreatedEventBlob: z.ZodBoolean;
1956
+ }, z.core.$strip>;
1685
1957
  }, z.core.$strip>;
1686
1958
  }, z.core.$strip>, z.ZodObject<{
1687
- JsUnassigned: z.ZodObject<{
1688
- offset: z.ZodNumber;
1689
- nodeId: z.ZodNumber;
1690
- contractId: z.ZodString;
1691
- templateId: z.ZodString;
1692
- source: z.ZodString;
1693
- target: z.ZodString;
1694
- reassignmentId: z.ZodString;
1695
- submitter: z.ZodString;
1696
- reassignmentCounter: z.ZodNumber;
1697
- packageName: z.ZodString;
1959
+ TemplateFilter: z.ZodObject<{
1960
+ value: z.ZodObject<{
1961
+ templateId: z.ZodString;
1962
+ includeCreatedEventBlob: z.ZodBoolean;
1963
+ }, z.core.$strip>;
1964
+ }, z.core.$strip>;
1965
+ }, z.core.$strip>, z.ZodObject<{
1966
+ WildcardFilter: z.ZodObject<{
1967
+ value: z.ZodObject<{
1968
+ includeCreatedEventBlob: z.ZodBoolean;
1969
+ }, z.core.$strip>;
1698
1970
  }, z.core.$strip>;
1699
1971
  }, z.core.$strip>]>;
1700
- synchronizerId: z.ZodString;
1701
- reassignmentCounter: z.ZodNumber;
1702
- }, z.core.$strip>>;
1703
- traceContext: z.ZodOptional<z.ZodObject<{
1704
- traceId: z.ZodOptional<z.ZodString>;
1705
- spanId: z.ZodOptional<z.ZodString>;
1706
- parentSpanId: z.ZodOptional<z.ZodString>;
1707
- metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1708
- }, z.core.$strip>>;
1972
+ }, z.core.$strip>>>;
1973
+ }, z.core.$strict>>>;
1974
+ includeCreatedEventBlob: z.ZodOptional<z.ZodBoolean>;
1975
+ includeInterfaceViews: z.ZodOptional<z.ZodBoolean>;
1976
+ }, z.core.$strict>>;
1977
+ }, z.core.$strip>;
1978
+ /** Update stream response. */
1979
+ export declare const UpdateStreamResponseSchema: z.ZodObject<{
1980
+ update: z.ZodUnion<readonly [z.ZodObject<{
1981
+ JsTransaction: z.ZodObject<{
1982
+ updateId: z.ZodString;
1983
+ commandId: z.ZodOptional<z.ZodString>;
1984
+ workflowId: z.ZodOptional<z.ZodString>;
1985
+ effectiveAt: z.ZodString;
1986
+ offset: z.ZodNumber;
1987
+ events: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
1988
+ CreatedEvent: z.ZodObject<{
1989
+ offset: z.ZodNumber;
1990
+ nodeId: z.ZodNumber;
1991
+ contractId: z.ZodString;
1992
+ templateId: z.ZodString;
1993
+ contractKey: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodType<import("..").LedgerJsonValue, unknown, z.core.$ZodTypeInternals<import("..").LedgerJsonValue, unknown>>, z.ZodNull]>, z.ZodTransform<import("..").LedgerJsonValue | undefined, import("..").LedgerJsonValue>>>;
1994
+ contractKeyHash: z.ZodOptional<z.ZodString>;
1995
+ 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 | {
1996
+ [key: string]: string | number | boolean | /*elided*/ any | /*elided*/ any | null;
1997
+ } | null)[] | {
1998
+ [key: string]: string | number | boolean | any | any | null;
1999
+ } | null)[] | {
2000
+ [key: string]: string | number | boolean | any | any | null;
2001
+ } | null)[] | {
2002
+ [key: string]: string | number | boolean | any | any | null;
2003
+ } | null)[] | {
2004
+ [key: string]: string | number | boolean | any | any | null;
2005
+ } | null)[] | {
2006
+ [key: string]: string | number | boolean | any | any | null;
2007
+ } | null)[] | {
2008
+ [key: string]: string | number | boolean | any | any | null;
2009
+ } | null)[] | {
2010
+ [key: string]: string | number | boolean | any | any | null;
2011
+ } | null)[] | {
2012
+ [key: string]: string | number | boolean | any | any | null;
2013
+ } | null)[] | {
2014
+ [key: string]: string | number | boolean | any | any | null;
2015
+ } | null)[] | {
2016
+ [key: string]: string | number | boolean | any | any | null;
2017
+ } | null)[] | {
2018
+ [key: string]: string | number | boolean | any | any | null;
2019
+ } | 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 | {
2020
+ [key: string]: string | number | boolean | any | any | null;
2021
+ } | null)[] | {
2022
+ [key: string]: string | number | boolean | any | any | null;
2023
+ } | null)[] | {
2024
+ [key: string]: string | number | boolean | any | any | null;
2025
+ } | null)[] | {
2026
+ [key: string]: string | number | boolean | any | any | null;
2027
+ } | null)[] | {
2028
+ [key: string]: string | number | boolean | any | any | null;
2029
+ } | null)[] | {
2030
+ [key: string]: string | number | boolean | any | any | null;
2031
+ } | null)[] | {
2032
+ [key: string]: string | number | boolean | any | any | null;
2033
+ } | null)[] | {
2034
+ [key: string]: string | number | boolean | any | any | null;
2035
+ } | null)[] | {
2036
+ [key: string]: string | number | boolean | any | any | null;
2037
+ } | null)[] | {
2038
+ [key: string]: string | number | boolean | any | any | null;
2039
+ } | null)[] | {
2040
+ [key: string]: string | number | boolean | any | any | null;
2041
+ } | null)[] | {
2042
+ [key: string]: string | number | boolean | any | any | null;
2043
+ } | null, unknown>>>;
2044
+ createdEventBlob: z.ZodOptional<z.ZodString>;
2045
+ interfaceViews: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
2046
+ interfaceId: z.ZodString;
2047
+ implementationPackageId: z.ZodOptional<z.ZodString>;
2048
+ viewStatus: z.ZodObject<{
2049
+ code: z.ZodNumber;
2050
+ message: z.ZodString;
2051
+ details: z.ZodOptional<z.ZodArray<z.ZodUnknown>>;
2052
+ }, z.core.$strict>;
2053
+ viewValue: z.ZodOptional<z.ZodUnknown>;
2054
+ }, z.core.$strict>>>>;
2055
+ witnessParties: z.ZodArray<z.ZodString>;
2056
+ signatories: z.ZodArray<z.ZodString>;
2057
+ observers: z.ZodOptional<z.ZodArray<z.ZodString>>;
2058
+ createdAt: z.ZodString;
2059
+ packageName: z.ZodString;
2060
+ representativePackageId: z.ZodOptional<z.ZodString>;
2061
+ acsDelta: z.ZodOptional<z.ZodBoolean>;
2062
+ implementedInterfaces: z.ZodOptional<z.ZodArray<z.ZodString>>;
2063
+ }, z.core.$loose>;
2064
+ }, z.core.$strip>, z.ZodObject<{
2065
+ ArchivedEvent: z.ZodObject<{
2066
+ offset: z.ZodNumber;
2067
+ nodeId: z.ZodNumber;
2068
+ contractId: z.ZodString;
2069
+ templateId: z.ZodString;
2070
+ witnessParties: z.ZodArray<z.ZodString>;
2071
+ packageName: z.ZodString;
2072
+ implementedInterfaces: z.ZodOptional<z.ZodArray<z.ZodString>>;
2073
+ }, z.core.$loose>;
2074
+ }, z.core.$strip>, z.ZodObject<{
2075
+ ExercisedEvent: z.ZodObject<{
2076
+ offset: z.ZodNumber;
2077
+ nodeId: z.ZodNumber;
2078
+ contractId: z.ZodString;
2079
+ templateId: z.ZodString;
2080
+ interfaceId: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>, z.ZodTransform<string | undefined, string | null>>>;
2081
+ choice: z.ZodString;
2082
+ 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 | {
2083
+ [key: string]: string | number | boolean | any | any | null;
2084
+ } | null)[] | {
2085
+ [key: string]: string | number | boolean | any | any | null;
2086
+ } | null)[] | {
2087
+ [key: string]: string | number | boolean | any | any | null;
2088
+ } | null)[] | {
2089
+ [key: string]: string | number | boolean | any | any | null;
2090
+ } | null)[] | {
2091
+ [key: string]: string | number | boolean | any | any | null;
2092
+ } | null)[] | {
2093
+ [key: string]: string | number | boolean | any | any | null;
2094
+ } | null)[] | {
2095
+ [key: string]: string | number | boolean | any | any | null;
2096
+ } | null)[] | {
2097
+ [key: string]: string | number | boolean | any | any | null;
2098
+ } | null)[] | {
2099
+ [key: string]: string | number | boolean | any | any | null;
2100
+ } | null)[] | {
2101
+ [key: string]: string | number | boolean | any | any | null;
2102
+ } | null)[] | {
2103
+ [key: string]: string | number | boolean | any | any | null;
2104
+ } | null)[] | {
2105
+ [key: string]: string | number | boolean | any | any | null;
2106
+ } | 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 | {
2107
+ [key: string]: string | number | boolean | any | any | null;
2108
+ } | null)[] | {
2109
+ [key: string]: string | number | boolean | any | any | null;
2110
+ } | null)[] | {
2111
+ [key: string]: string | number | boolean | any | any | null;
2112
+ } | null)[] | {
2113
+ [key: string]: string | number | boolean | any | any | null;
2114
+ } | null)[] | {
2115
+ [key: string]: string | number | boolean | any | any | null;
2116
+ } | null)[] | {
2117
+ [key: string]: string | number | boolean | any | any | null;
2118
+ } | null)[] | {
2119
+ [key: string]: string | number | boolean | any | any | null;
2120
+ } | null)[] | {
2121
+ [key: string]: string | number | boolean | any | any | null;
2122
+ } | null)[] | {
2123
+ [key: string]: string | number | boolean | any | any | null;
2124
+ } | null)[] | {
2125
+ [key: string]: string | number | boolean | any | any | null;
2126
+ } | null)[] | {
2127
+ [key: string]: string | number | boolean | any | any | null;
2128
+ } | null)[] | {
2129
+ [key: string]: string | number | boolean | any | any | null;
2130
+ } | null, unknown>>>;
2131
+ actingParties: z.ZodArray<z.ZodString>;
2132
+ consuming: z.ZodBoolean;
2133
+ witnessParties: z.ZodArray<z.ZodString>;
2134
+ lastDescendantNodeId: z.ZodNumber;
2135
+ exerciseResult: z.ZodOptional<z.ZodType<import("..").LedgerJsonValue, unknown, z.core.$ZodTypeInternals<import("..").LedgerJsonValue, unknown>>>;
2136
+ packageName: z.ZodString;
2137
+ implementedInterfaces: z.ZodOptional<z.ZodArray<z.ZodString>>;
2138
+ acsDelta: z.ZodOptional<z.ZodBoolean>;
2139
+ }, z.core.$loose>;
2140
+ }, z.core.$strip>]>>;
2141
+ synchronizerId: z.ZodString;
2142
+ traceContext: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodObject<{
2143
+ traceparent: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>, z.ZodTransform<string | undefined, string | null>>>;
2144
+ tracestate: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>, z.ZodTransform<string | undefined, string | null>>>;
2145
+ traceId: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>, z.ZodTransform<string | undefined, string | null>>>;
2146
+ spanId: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>, z.ZodTransform<string | undefined, string | null>>>;
2147
+ parentSpanId: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>, z.ZodTransform<string | undefined, string | null>>>;
2148
+ metadata: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodRecord<z.ZodString, z.ZodString>, z.ZodNull]>, z.ZodTransform<Record<string, string> | undefined, Record<string, string> | null>>>;
2149
+ }, z.core.$loose>, z.ZodNull]>, z.ZodTransform<{
2150
+ [x: string]: unknown;
2151
+ traceparent?: string | undefined;
2152
+ tracestate?: string | undefined;
2153
+ traceId?: string | undefined;
2154
+ spanId?: string | undefined;
2155
+ parentSpanId?: string | undefined;
2156
+ metadata?: Record<string, string> | undefined;
2157
+ } | undefined, {
2158
+ [x: string]: unknown;
2159
+ traceparent?: string | undefined;
2160
+ tracestate?: string | undefined;
2161
+ traceId?: string | undefined;
2162
+ spanId?: string | undefined;
2163
+ parentSpanId?: string | undefined;
2164
+ metadata?: Record<string, string> | undefined;
2165
+ } | null>>>;
1709
2166
  recordTime: z.ZodString;
1710
- }, z.core.$strip>;
2167
+ externalTransactionHash: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>, z.ZodTransform<string | undefined, string | null>>>;
2168
+ paidTrafficCost: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodPipe<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>, z.ZodTransform<string, string | number>>, z.ZodNull]>, z.ZodTransform<string | undefined, string | null>>>;
2169
+ }, z.core.$loose>;
1711
2170
  }, z.core.$strip>, z.ZodObject<{
1712
2171
  JsTransactionTree: z.ZodObject<{
1713
2172
  updateId: z.ZodString;
@@ -1919,8 +2378,33 @@ export declare const UpdateStreamResponseSchema: z.ZodObject<{
1919
2378
  }, z.core.$strict>;
1920
2379
  }, z.core.$strict>;
1921
2380
  }, z.core.$strict>]>>;
2381
+ synchronizerId: z.ZodString;
2382
+ traceContext: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodObject<{
2383
+ traceparent: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>, z.ZodTransform<string | undefined, string | null>>>;
2384
+ tracestate: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>, z.ZodTransform<string | undefined, string | null>>>;
2385
+ traceId: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>, z.ZodTransform<string | undefined, string | null>>>;
2386
+ spanId: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>, z.ZodTransform<string | undefined, string | null>>>;
2387
+ parentSpanId: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>, z.ZodTransform<string | undefined, string | null>>>;
2388
+ metadata: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodRecord<z.ZodString, z.ZodString>, z.ZodNull]>, z.ZodTransform<Record<string, string> | undefined, Record<string, string> | null>>>;
2389
+ }, z.core.$loose>, z.ZodNull]>, z.ZodTransform<{
2390
+ [x: string]: unknown;
2391
+ traceparent?: string | undefined;
2392
+ tracestate?: string | undefined;
2393
+ traceId?: string | undefined;
2394
+ spanId?: string | undefined;
2395
+ parentSpanId?: string | undefined;
2396
+ metadata?: Record<string, string> | undefined;
2397
+ } | undefined, {
2398
+ [x: string]: unknown;
2399
+ traceparent?: string | undefined;
2400
+ tracestate?: string | undefined;
2401
+ traceId?: string | undefined;
2402
+ spanId?: string | undefined;
2403
+ parentSpanId?: string | undefined;
2404
+ metadata?: Record<string, string> | undefined;
2405
+ } | null>>>;
1922
2406
  recordTime: z.ZodString;
1923
- }, z.core.$strip>;
2407
+ }, z.core.$loose>;
1924
2408
  }, z.core.$strip>, z.ZodObject<{
1925
2409
  OffsetCheckpoint: z.ZodObject<{
1926
2410
  value: z.ZodObject<{
@@ -2157,22 +2641,215 @@ export declare const JsSubmitAndWaitForTransactionRequestSchema: z.ZodObject<{
2157
2641
  includeInterfaceViews: z.ZodOptional<z.ZodBoolean>;
2158
2642
  }, z.core.$strict>>;
2159
2643
  }, z.core.$strip>;
2160
- /** Submit and wait for transaction response. */
2161
- export declare const JsSubmitAndWaitForTransactionResponseSchema: z.ZodObject<{
2162
- transaction: z.ZodObject<{
2163
- updateId: z.ZodString;
2164
- commandId: z.ZodOptional<z.ZodString>;
2165
- workflowId: z.ZodOptional<z.ZodString>;
2166
- effectiveAt: z.ZodString;
2167
- offset: z.ZodNumber;
2168
- events: z.ZodArray<z.ZodObject<{
2169
- kind: z.ZodUnion<readonly [z.ZodObject<{
2170
- JsCreated: z.ZodObject<{
2644
+ /** Submit and wait for transaction response. */
2645
+ export declare const JsSubmitAndWaitForTransactionResponseSchema: z.ZodObject<{
2646
+ transaction: z.ZodObject<{
2647
+ updateId: z.ZodString;
2648
+ commandId: z.ZodOptional<z.ZodString>;
2649
+ workflowId: z.ZodOptional<z.ZodString>;
2650
+ effectiveAt: z.ZodString;
2651
+ offset: z.ZodNumber;
2652
+ events: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
2653
+ CreatedEvent: z.ZodObject<{
2654
+ offset: z.ZodNumber;
2655
+ nodeId: z.ZodNumber;
2656
+ contractId: z.ZodString;
2657
+ templateId: z.ZodString;
2658
+ contractKey: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodType<import("..").LedgerJsonValue, unknown, z.core.$ZodTypeInternals<import("..").LedgerJsonValue, unknown>>, z.ZodNull]>, z.ZodTransform<import("..").LedgerJsonValue | undefined, import("..").LedgerJsonValue>>>;
2659
+ contractKeyHash: z.ZodOptional<z.ZodString>;
2660
+ 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 | {
2661
+ [key: string]: string | number | boolean | /*elided*/ any | /*elided*/ any | null;
2662
+ } | null)[] | {
2663
+ [key: string]: string | number | boolean | any | any | null;
2664
+ } | null)[] | {
2665
+ [key: string]: string | number | boolean | any | any | null;
2666
+ } | null)[] | {
2667
+ [key: string]: string | number | boolean | any | any | null;
2668
+ } | null)[] | {
2669
+ [key: string]: string | number | boolean | any | any | null;
2670
+ } | null)[] | {
2671
+ [key: string]: string | number | boolean | any | any | null;
2672
+ } | null)[] | {
2673
+ [key: string]: string | number | boolean | any | any | null;
2674
+ } | null)[] | {
2675
+ [key: string]: string | number | boolean | any | any | null;
2676
+ } | null)[] | {
2677
+ [key: string]: string | number | boolean | any | any | null;
2678
+ } | null)[] | {
2679
+ [key: string]: string | number | boolean | any | any | null;
2680
+ } | null)[] | {
2681
+ [key: string]: string | number | boolean | any | any | null;
2682
+ } | null)[] | {
2683
+ [key: string]: string | number | boolean | any | any | null;
2684
+ } | 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 | {
2685
+ [key: string]: string | number | boolean | any | any | null;
2686
+ } | null)[] | {
2687
+ [key: string]: string | number | boolean | any | any | null;
2688
+ } | null)[] | {
2689
+ [key: string]: string | number | boolean | any | any | null;
2690
+ } | null)[] | {
2691
+ [key: string]: string | number | boolean | any | any | null;
2692
+ } | null)[] | {
2693
+ [key: string]: string | number | boolean | any | any | null;
2694
+ } | null)[] | {
2695
+ [key: string]: string | number | boolean | any | any | null;
2696
+ } | null)[] | {
2697
+ [key: string]: string | number | boolean | any | any | null;
2698
+ } | null)[] | {
2699
+ [key: string]: string | number | boolean | any | any | null;
2700
+ } | null)[] | {
2701
+ [key: string]: string | number | boolean | any | any | null;
2702
+ } | null)[] | {
2703
+ [key: string]: string | number | boolean | any | any | null;
2704
+ } | null)[] | {
2705
+ [key: string]: string | number | boolean | any | any | null;
2706
+ } | null)[] | {
2707
+ [key: string]: string | number | boolean | any | any | null;
2708
+ } | null, unknown>>>;
2709
+ createdEventBlob: z.ZodOptional<z.ZodString>;
2710
+ interfaceViews: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
2711
+ interfaceId: z.ZodString;
2712
+ implementationPackageId: z.ZodOptional<z.ZodString>;
2713
+ viewStatus: z.ZodObject<{
2714
+ code: z.ZodNumber;
2715
+ message: z.ZodString;
2716
+ details: z.ZodOptional<z.ZodArray<z.ZodUnknown>>;
2717
+ }, z.core.$strict>;
2718
+ viewValue: z.ZodOptional<z.ZodUnknown>;
2719
+ }, z.core.$strict>>>>;
2720
+ witnessParties: z.ZodArray<z.ZodString>;
2721
+ signatories: z.ZodArray<z.ZodString>;
2722
+ observers: z.ZodOptional<z.ZodArray<z.ZodString>>;
2723
+ createdAt: z.ZodString;
2724
+ packageName: z.ZodString;
2725
+ representativePackageId: z.ZodOptional<z.ZodString>;
2726
+ acsDelta: z.ZodOptional<z.ZodBoolean>;
2727
+ implementedInterfaces: z.ZodOptional<z.ZodArray<z.ZodString>>;
2728
+ }, z.core.$loose>;
2729
+ }, z.core.$strip>, z.ZodObject<{
2730
+ ArchivedEvent: z.ZodObject<{
2731
+ offset: z.ZodNumber;
2732
+ nodeId: z.ZodNumber;
2733
+ contractId: z.ZodString;
2734
+ templateId: z.ZodString;
2735
+ witnessParties: z.ZodArray<z.ZodString>;
2736
+ packageName: z.ZodString;
2737
+ implementedInterfaces: z.ZodOptional<z.ZodArray<z.ZodString>>;
2738
+ }, z.core.$loose>;
2739
+ }, z.core.$strip>, z.ZodObject<{
2740
+ ExercisedEvent: z.ZodObject<{
2741
+ offset: z.ZodNumber;
2742
+ nodeId: z.ZodNumber;
2743
+ contractId: z.ZodString;
2744
+ templateId: z.ZodString;
2745
+ interfaceId: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>, z.ZodTransform<string | undefined, string | null>>>;
2746
+ choice: z.ZodString;
2747
+ 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 | {
2748
+ [key: string]: string | number | boolean | any | any | null;
2749
+ } | null)[] | {
2750
+ [key: string]: string | number | boolean | any | any | null;
2751
+ } | null)[] | {
2752
+ [key: string]: string | number | boolean | any | any | null;
2753
+ } | null)[] | {
2754
+ [key: string]: string | number | boolean | any | any | null;
2755
+ } | null)[] | {
2756
+ [key: string]: string | number | boolean | any | any | null;
2757
+ } | null)[] | {
2758
+ [key: string]: string | number | boolean | any | any | null;
2759
+ } | null)[] | {
2760
+ [key: string]: string | number | boolean | any | any | null;
2761
+ } | null)[] | {
2762
+ [key: string]: string | number | boolean | any | any | null;
2763
+ } | null)[] | {
2764
+ [key: string]: string | number | boolean | any | any | null;
2765
+ } | null)[] | {
2766
+ [key: string]: string | number | boolean | any | any | null;
2767
+ } | null)[] | {
2768
+ [key: string]: string | number | boolean | any | any | null;
2769
+ } | null)[] | {
2770
+ [key: string]: string | number | boolean | any | any | null;
2771
+ } | 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 | {
2772
+ [key: string]: string | number | boolean | any | any | null;
2773
+ } | null)[] | {
2774
+ [key: string]: string | number | boolean | any | any | null;
2775
+ } | null)[] | {
2776
+ [key: string]: string | number | boolean | any | any | null;
2777
+ } | null)[] | {
2778
+ [key: string]: string | number | boolean | any | any | null;
2779
+ } | null)[] | {
2780
+ [key: string]: string | number | boolean | any | any | null;
2781
+ } | null)[] | {
2782
+ [key: string]: string | number | boolean | any | any | null;
2783
+ } | null)[] | {
2784
+ [key: string]: string | number | boolean | any | any | null;
2785
+ } | null)[] | {
2786
+ [key: string]: string | number | boolean | any | any | null;
2787
+ } | null)[] | {
2788
+ [key: string]: string | number | boolean | any | any | null;
2789
+ } | null)[] | {
2790
+ [key: string]: string | number | boolean | any | any | null;
2791
+ } | null)[] | {
2792
+ [key: string]: string | number | boolean | any | any | null;
2793
+ } | null)[] | {
2794
+ [key: string]: string | number | boolean | any | any | null;
2795
+ } | null, unknown>>>;
2796
+ actingParties: z.ZodArray<z.ZodString>;
2797
+ consuming: z.ZodBoolean;
2798
+ witnessParties: z.ZodArray<z.ZodString>;
2799
+ lastDescendantNodeId: z.ZodNumber;
2800
+ exerciseResult: z.ZodOptional<z.ZodType<import("..").LedgerJsonValue, unknown, z.core.$ZodTypeInternals<import("..").LedgerJsonValue, unknown>>>;
2801
+ packageName: z.ZodString;
2802
+ implementedInterfaces: z.ZodOptional<z.ZodArray<z.ZodString>>;
2803
+ acsDelta: z.ZodOptional<z.ZodBoolean>;
2804
+ }, z.core.$loose>;
2805
+ }, z.core.$strip>]>>;
2806
+ synchronizerId: z.ZodString;
2807
+ traceContext: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodObject<{
2808
+ traceparent: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>, z.ZodTransform<string | undefined, string | null>>>;
2809
+ tracestate: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>, z.ZodTransform<string | undefined, string | null>>>;
2810
+ traceId: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>, z.ZodTransform<string | undefined, string | null>>>;
2811
+ spanId: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>, z.ZodTransform<string | undefined, string | null>>>;
2812
+ parentSpanId: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>, z.ZodTransform<string | undefined, string | null>>>;
2813
+ metadata: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodRecord<z.ZodString, z.ZodString>, z.ZodNull]>, z.ZodTransform<Record<string, string> | undefined, Record<string, string> | null>>>;
2814
+ }, z.core.$loose>, z.ZodNull]>, z.ZodTransform<{
2815
+ [x: string]: unknown;
2816
+ traceparent?: string | undefined;
2817
+ tracestate?: string | undefined;
2818
+ traceId?: string | undefined;
2819
+ spanId?: string | undefined;
2820
+ parentSpanId?: string | undefined;
2821
+ metadata?: Record<string, string> | undefined;
2822
+ } | undefined, {
2823
+ [x: string]: unknown;
2824
+ traceparent?: string | undefined;
2825
+ tracestate?: string | undefined;
2826
+ traceId?: string | undefined;
2827
+ spanId?: string | undefined;
2828
+ parentSpanId?: string | undefined;
2829
+ metadata?: Record<string, string> | undefined;
2830
+ } | null>>>;
2831
+ recordTime: z.ZodString;
2832
+ externalTransactionHash: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>, z.ZodTransform<string | undefined, string | null>>>;
2833
+ paidTrafficCost: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodPipe<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>, z.ZodTransform<string, string | number>>, z.ZodNull]>, z.ZodTransform<string | undefined, string | null>>>;
2834
+ }, z.core.$loose>;
2835
+ }, z.core.$strip>;
2836
+ /** Submit and wait response. */
2837
+ export declare const SubmitAndWaitResponseSchema: z.ZodObject<{
2838
+ update: z.ZodUnion<readonly [z.ZodObject<{
2839
+ JsTransaction: z.ZodObject<{
2840
+ updateId: z.ZodString;
2841
+ commandId: z.ZodOptional<z.ZodString>;
2842
+ workflowId: z.ZodOptional<z.ZodString>;
2843
+ effectiveAt: z.ZodString;
2844
+ offset: z.ZodNumber;
2845
+ events: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
2846
+ CreatedEvent: z.ZodObject<{
2171
2847
  offset: z.ZodNumber;
2172
2848
  nodeId: z.ZodNumber;
2173
2849
  contractId: z.ZodString;
2174
2850
  templateId: z.ZodString;
2175
- contractKey: z.ZodNullable<z.ZodString>;
2851
+ contractKey: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodType<import("..").LedgerJsonValue, unknown, z.core.$ZodTypeInternals<import("..").LedgerJsonValue, unknown>>, z.ZodNull]>, z.ZodTransform<import("..").LedgerJsonValue | undefined, import("..").LedgerJsonValue>>>;
2852
+ contractKeyHash: z.ZodOptional<z.ZodString>;
2176
2853
  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 | {
2177
2854
  [key: string]: string | number | boolean | /*elided*/ any | /*elided*/ any | null;
2178
2855
  } | null)[] | {
@@ -2222,7 +2899,7 @@ export declare const JsSubmitAndWaitForTransactionResponseSchema: z.ZodObject<{
2222
2899
  } | null)[] | {
2223
2900
  [key: string]: string | number | boolean | any | any | null;
2224
2901
  } | null, unknown>>>;
2225
- createdEventBlob: z.ZodString;
2902
+ createdEventBlob: z.ZodOptional<z.ZodString>;
2226
2903
  interfaceViews: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
2227
2904
  interfaceId: z.ZodString;
2228
2905
  implementationPackageId: z.ZodOptional<z.ZodString>;
@@ -2235,13 +2912,15 @@ export declare const JsSubmitAndWaitForTransactionResponseSchema: z.ZodObject<{
2235
2912
  }, z.core.$strict>>>>;
2236
2913
  witnessParties: z.ZodArray<z.ZodString>;
2237
2914
  signatories: z.ZodArray<z.ZodString>;
2238
- observers: z.ZodArray<z.ZodString>;
2915
+ observers: z.ZodOptional<z.ZodArray<z.ZodString>>;
2239
2916
  createdAt: z.ZodString;
2240
2917
  packageName: z.ZodString;
2918
+ representativePackageId: z.ZodOptional<z.ZodString>;
2919
+ acsDelta: z.ZodOptional<z.ZodBoolean>;
2241
2920
  implementedInterfaces: z.ZodOptional<z.ZodArray<z.ZodString>>;
2242
- }, z.core.$strip>;
2921
+ }, z.core.$loose>;
2243
2922
  }, z.core.$strip>, z.ZodObject<{
2244
- JsArchived: z.ZodObject<{
2923
+ ArchivedEvent: z.ZodObject<{
2245
2924
  offset: z.ZodNumber;
2246
2925
  nodeId: z.ZodNumber;
2247
2926
  contractId: z.ZodString;
@@ -2249,178 +2928,103 @@ export declare const JsSubmitAndWaitForTransactionResponseSchema: z.ZodObject<{
2249
2928
  witnessParties: z.ZodArray<z.ZodString>;
2250
2929
  packageName: z.ZodString;
2251
2930
  implementedInterfaces: z.ZodOptional<z.ZodArray<z.ZodString>>;
2252
- }, z.core.$strip>;
2253
- }, z.core.$strip>, z.ZodObject<{
2254
- JsAssigned: z.ZodObject<{
2255
- offset: z.ZodNumber;
2256
- nodeId: z.ZodNumber;
2257
- contractId: z.ZodString;
2258
- templateId: z.ZodString;
2259
- source: z.ZodString;
2260
- target: z.ZodString;
2261
- reassignmentId: z.ZodString;
2262
- submitter: z.ZodString;
2263
- reassignmentCounter: z.ZodNumber;
2264
- packageName: z.ZodString;
2265
- }, z.core.$strip>;
2931
+ }, z.core.$loose>;
2266
2932
  }, z.core.$strip>, z.ZodObject<{
2267
- JsUnassigned: z.ZodObject<{
2933
+ ExercisedEvent: z.ZodObject<{
2268
2934
  offset: z.ZodNumber;
2269
2935
  nodeId: z.ZodNumber;
2270
2936
  contractId: z.ZodString;
2271
2937
  templateId: z.ZodString;
2272
- source: z.ZodString;
2273
- target: z.ZodString;
2274
- reassignmentId: z.ZodString;
2275
- submitter: z.ZodString;
2276
- reassignmentCounter: z.ZodNumber;
2277
- packageName: z.ZodString;
2278
- }, z.core.$strip>;
2279
- }, z.core.$strip>]>;
2280
- synchronizerId: z.ZodString;
2281
- reassignmentCounter: z.ZodNumber;
2282
- }, z.core.$strip>>;
2283
- traceContext: z.ZodOptional<z.ZodObject<{
2284
- traceId: z.ZodOptional<z.ZodString>;
2285
- spanId: z.ZodOptional<z.ZodString>;
2286
- parentSpanId: z.ZodOptional<z.ZodString>;
2287
- metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
2288
- }, z.core.$strip>>;
2289
- recordTime: z.ZodString;
2290
- }, z.core.$strip>;
2291
- }, z.core.$strip>;
2292
- /** Submit and wait response. */
2293
- export declare const SubmitAndWaitResponseSchema: z.ZodObject<{
2294
- update: z.ZodUnion<readonly [z.ZodObject<{
2295
- JsTransaction: z.ZodObject<{
2296
- updateId: z.ZodString;
2297
- commandId: z.ZodOptional<z.ZodString>;
2298
- workflowId: z.ZodOptional<z.ZodString>;
2299
- effectiveAt: z.ZodString;
2300
- offset: z.ZodNumber;
2301
- events: z.ZodArray<z.ZodObject<{
2302
- kind: z.ZodUnion<readonly [z.ZodObject<{
2303
- JsCreated: z.ZodObject<{
2304
- offset: z.ZodNumber;
2305
- nodeId: z.ZodNumber;
2306
- contractId: z.ZodString;
2307
- templateId: z.ZodString;
2308
- contractKey: z.ZodNullable<z.ZodString>;
2309
- 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 | {
2310
- [key: string]: string | number | boolean | /*elided*/ any | /*elided*/ any | null;
2311
- } | null)[] | {
2312
- [key: string]: string | number | boolean | any | any | null;
2313
- } | null)[] | {
2314
- [key: string]: string | number | boolean | any | any | null;
2315
- } | null)[] | {
2316
- [key: string]: string | number | boolean | any | any | null;
2317
- } | null)[] | {
2318
- [key: string]: string | number | boolean | any | any | null;
2319
- } | null)[] | {
2320
- [key: string]: string | number | boolean | any | any | null;
2321
- } | null)[] | {
2322
- [key: string]: string | number | boolean | any | any | null;
2323
- } | null)[] | {
2324
- [key: string]: string | number | boolean | any | any | null;
2325
- } | null)[] | {
2326
- [key: string]: string | number | boolean | any | any | null;
2327
- } | null)[] | {
2328
- [key: string]: string | number | boolean | any | any | null;
2329
- } | null)[] | {
2330
- [key: string]: string | number | boolean | any | any | null;
2331
- } | null)[] | {
2332
- [key: string]: string | number | boolean | any | any | null;
2333
- } | 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 | {
2334
- [key: string]: string | number | boolean | any | any | null;
2335
- } | null)[] | {
2336
- [key: string]: string | number | boolean | any | any | null;
2337
- } | null)[] | {
2338
- [key: string]: string | number | boolean | any | any | null;
2339
- } | null)[] | {
2340
- [key: string]: string | number | boolean | any | any | null;
2341
- } | null)[] | {
2342
- [key: string]: string | number | boolean | any | any | null;
2343
- } | null)[] | {
2344
- [key: string]: string | number | boolean | any | any | null;
2345
- } | null)[] | {
2346
- [key: string]: string | number | boolean | any | any | null;
2347
- } | null)[] | {
2348
- [key: string]: string | number | boolean | any | any | null;
2349
- } | null)[] | {
2350
- [key: string]: string | number | boolean | any | any | null;
2351
- } | null)[] | {
2352
- [key: string]: string | number | boolean | any | any | null;
2353
- } | null)[] | {
2354
- [key: string]: string | number | boolean | any | any | null;
2355
- } | null)[] | {
2356
- [key: string]: string | number | boolean | any | any | null;
2357
- } | null, unknown>>>;
2358
- createdEventBlob: z.ZodString;
2359
- interfaceViews: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
2360
- interfaceId: z.ZodString;
2361
- implementationPackageId: z.ZodOptional<z.ZodString>;
2362
- viewStatus: z.ZodObject<{
2363
- code: z.ZodNumber;
2364
- message: z.ZodString;
2365
- details: z.ZodOptional<z.ZodArray<z.ZodUnknown>>;
2366
- }, z.core.$strict>;
2367
- viewValue: z.ZodOptional<z.ZodUnknown>;
2368
- }, z.core.$strict>>>>;
2369
- witnessParties: z.ZodArray<z.ZodString>;
2370
- signatories: z.ZodArray<z.ZodString>;
2371
- observers: z.ZodArray<z.ZodString>;
2372
- createdAt: z.ZodString;
2373
- packageName: z.ZodString;
2374
- implementedInterfaces: z.ZodOptional<z.ZodArray<z.ZodString>>;
2375
- }, z.core.$strip>;
2376
- }, z.core.$strip>, z.ZodObject<{
2377
- JsArchived: z.ZodObject<{
2378
- offset: z.ZodNumber;
2379
- nodeId: z.ZodNumber;
2380
- contractId: z.ZodString;
2381
- templateId: z.ZodString;
2382
- witnessParties: z.ZodArray<z.ZodString>;
2383
- packageName: z.ZodString;
2384
- implementedInterfaces: z.ZodOptional<z.ZodArray<z.ZodString>>;
2385
- }, z.core.$strip>;
2386
- }, z.core.$strip>, z.ZodObject<{
2387
- JsAssigned: z.ZodObject<{
2388
- offset: z.ZodNumber;
2389
- nodeId: z.ZodNumber;
2390
- contractId: z.ZodString;
2391
- templateId: z.ZodString;
2392
- source: z.ZodString;
2393
- target: z.ZodString;
2394
- reassignmentId: z.ZodString;
2395
- submitter: z.ZodString;
2396
- reassignmentCounter: z.ZodNumber;
2397
- packageName: z.ZodString;
2398
- }, z.core.$strip>;
2399
- }, z.core.$strip>, z.ZodObject<{
2400
- JsUnassigned: z.ZodObject<{
2401
- offset: z.ZodNumber;
2402
- nodeId: z.ZodNumber;
2403
- contractId: z.ZodString;
2404
- templateId: z.ZodString;
2405
- source: z.ZodString;
2406
- target: z.ZodString;
2407
- reassignmentId: z.ZodString;
2408
- submitter: z.ZodString;
2409
- reassignmentCounter: z.ZodNumber;
2410
- packageName: z.ZodString;
2411
- }, z.core.$strip>;
2412
- }, z.core.$strip>]>;
2413
- synchronizerId: z.ZodString;
2414
- reassignmentCounter: z.ZodNumber;
2415
- }, z.core.$strip>>;
2416
- traceContext: z.ZodOptional<z.ZodObject<{
2417
- traceId: z.ZodOptional<z.ZodString>;
2418
- spanId: z.ZodOptional<z.ZodString>;
2419
- parentSpanId: z.ZodOptional<z.ZodString>;
2420
- metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
2421
- }, z.core.$strip>>;
2938
+ interfaceId: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>, z.ZodTransform<string | undefined, string | null>>>;
2939
+ choice: z.ZodString;
2940
+ 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 | {
2941
+ [key: string]: string | number | boolean | any | any | null;
2942
+ } | null)[] | {
2943
+ [key: string]: string | number | boolean | any | any | null;
2944
+ } | null)[] | {
2945
+ [key: string]: string | number | boolean | any | any | null;
2946
+ } | null)[] | {
2947
+ [key: string]: string | number | boolean | any | any | null;
2948
+ } | null)[] | {
2949
+ [key: string]: string | number | boolean | any | any | null;
2950
+ } | null)[] | {
2951
+ [key: string]: string | number | boolean | any | any | null;
2952
+ } | null)[] | {
2953
+ [key: string]: string | number | boolean | any | any | null;
2954
+ } | null)[] | {
2955
+ [key: string]: string | number | boolean | any | any | null;
2956
+ } | null)[] | {
2957
+ [key: string]: string | number | boolean | any | any | null;
2958
+ } | null)[] | {
2959
+ [key: string]: string | number | boolean | any | any | null;
2960
+ } | null)[] | {
2961
+ [key: string]: string | number | boolean | any | any | null;
2962
+ } | null)[] | {
2963
+ [key: string]: string | number | boolean | any | any | null;
2964
+ } | 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 | {
2965
+ [key: string]: string | number | boolean | any | any | null;
2966
+ } | null)[] | {
2967
+ [key: string]: string | number | boolean | any | any | null;
2968
+ } | null)[] | {
2969
+ [key: string]: string | number | boolean | any | any | null;
2970
+ } | null)[] | {
2971
+ [key: string]: string | number | boolean | any | any | null;
2972
+ } | null)[] | {
2973
+ [key: string]: string | number | boolean | any | any | null;
2974
+ } | null)[] | {
2975
+ [key: string]: string | number | boolean | any | any | null;
2976
+ } | null)[] | {
2977
+ [key: string]: string | number | boolean | any | any | null;
2978
+ } | null)[] | {
2979
+ [key: string]: string | number | boolean | any | any | null;
2980
+ } | null)[] | {
2981
+ [key: string]: string | number | boolean | any | any | null;
2982
+ } | null)[] | {
2983
+ [key: string]: string | number | boolean | any | any | null;
2984
+ } | null)[] | {
2985
+ [key: string]: string | number | boolean | any | any | null;
2986
+ } | null)[] | {
2987
+ [key: string]: string | number | boolean | any | any | null;
2988
+ } | null, unknown>>>;
2989
+ actingParties: z.ZodArray<z.ZodString>;
2990
+ consuming: z.ZodBoolean;
2991
+ witnessParties: z.ZodArray<z.ZodString>;
2992
+ lastDescendantNodeId: z.ZodNumber;
2993
+ exerciseResult: z.ZodOptional<z.ZodType<import("..").LedgerJsonValue, unknown, z.core.$ZodTypeInternals<import("..").LedgerJsonValue, unknown>>>;
2994
+ packageName: z.ZodString;
2995
+ implementedInterfaces: z.ZodOptional<z.ZodArray<z.ZodString>>;
2996
+ acsDelta: z.ZodOptional<z.ZodBoolean>;
2997
+ }, z.core.$loose>;
2998
+ }, z.core.$strip>]>>;
2999
+ synchronizerId: z.ZodString;
3000
+ traceContext: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodObject<{
3001
+ traceparent: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>, z.ZodTransform<string | undefined, string | null>>>;
3002
+ tracestate: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>, z.ZodTransform<string | undefined, string | null>>>;
3003
+ traceId: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>, z.ZodTransform<string | undefined, string | null>>>;
3004
+ spanId: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>, z.ZodTransform<string | undefined, string | null>>>;
3005
+ parentSpanId: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>, z.ZodTransform<string | undefined, string | null>>>;
3006
+ metadata: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodRecord<z.ZodString, z.ZodString>, z.ZodNull]>, z.ZodTransform<Record<string, string> | undefined, Record<string, string> | null>>>;
3007
+ }, z.core.$loose>, z.ZodNull]>, z.ZodTransform<{
3008
+ [x: string]: unknown;
3009
+ traceparent?: string | undefined;
3010
+ tracestate?: string | undefined;
3011
+ traceId?: string | undefined;
3012
+ spanId?: string | undefined;
3013
+ parentSpanId?: string | undefined;
3014
+ metadata?: Record<string, string> | undefined;
3015
+ } | undefined, {
3016
+ [x: string]: unknown;
3017
+ traceparent?: string | undefined;
3018
+ tracestate?: string | undefined;
3019
+ traceId?: string | undefined;
3020
+ spanId?: string | undefined;
3021
+ parentSpanId?: string | undefined;
3022
+ metadata?: Record<string, string> | undefined;
3023
+ } | null>>>;
2422
3024
  recordTime: z.ZodString;
2423
- }, z.core.$strip>;
3025
+ externalTransactionHash: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>, z.ZodTransform<string | undefined, string | null>>>;
3026
+ paidTrafficCost: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodPipe<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>, z.ZodTransform<string, string | number>>, z.ZodNull]>, z.ZodTransform<string | undefined, string | null>>>;
3027
+ }, z.core.$loose>;
2424
3028
  }, z.core.$strip>, z.ZodObject<{
2425
3029
  JsTransactionTree: z.ZodObject<{
2426
3030
  updateId: z.ZodString;
@@ -2632,8 +3236,33 @@ export declare const SubmitAndWaitResponseSchema: z.ZodObject<{
2632
3236
  }, z.core.$strict>;
2633
3237
  }, z.core.$strict>;
2634
3238
  }, z.core.$strict>]>>;
3239
+ synchronizerId: z.ZodString;
3240
+ traceContext: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodObject<{
3241
+ traceparent: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>, z.ZodTransform<string | undefined, string | null>>>;
3242
+ tracestate: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>, z.ZodTransform<string | undefined, string | null>>>;
3243
+ traceId: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>, z.ZodTransform<string | undefined, string | null>>>;
3244
+ spanId: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>, z.ZodTransform<string | undefined, string | null>>>;
3245
+ parentSpanId: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>, z.ZodTransform<string | undefined, string | null>>>;
3246
+ metadata: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodRecord<z.ZodString, z.ZodString>, z.ZodNull]>, z.ZodTransform<Record<string, string> | undefined, Record<string, string> | null>>>;
3247
+ }, z.core.$loose>, z.ZodNull]>, z.ZodTransform<{
3248
+ [x: string]: unknown;
3249
+ traceparent?: string | undefined;
3250
+ tracestate?: string | undefined;
3251
+ traceId?: string | undefined;
3252
+ spanId?: string | undefined;
3253
+ parentSpanId?: string | undefined;
3254
+ metadata?: Record<string, string> | undefined;
3255
+ } | undefined, {
3256
+ [x: string]: unknown;
3257
+ traceparent?: string | undefined;
3258
+ tracestate?: string | undefined;
3259
+ traceId?: string | undefined;
3260
+ spanId?: string | undefined;
3261
+ parentSpanId?: string | undefined;
3262
+ metadata?: Record<string, string> | undefined;
3263
+ } | null>>>;
2635
3264
  recordTime: z.ZodString;
2636
- }, z.core.$strip>;
3265
+ }, z.core.$loose>;
2637
3266
  }, z.core.$strip>, z.ZodObject<{
2638
3267
  OffsetCheckpoint: z.ZodObject<{
2639
3268
  value: z.ZodObject<{
@@ -2655,129 +3284,189 @@ export declare const GetUpdatesResponseSchema: z.ZodArray<z.ZodObject<{
2655
3284
  workflowId: z.ZodOptional<z.ZodString>;
2656
3285
  effectiveAt: z.ZodString;
2657
3286
  offset: z.ZodNumber;
2658
- events: z.ZodArray<z.ZodObject<{
2659
- kind: z.ZodUnion<readonly [z.ZodObject<{
2660
- JsCreated: z.ZodObject<{
2661
- offset: z.ZodNumber;
2662
- nodeId: z.ZodNumber;
2663
- contractId: z.ZodString;
2664
- templateId: z.ZodString;
2665
- contractKey: z.ZodNullable<z.ZodString>;
2666
- 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 | {
2667
- [key: string]: string | number | boolean | /*elided*/ any | /*elided*/ any | null;
2668
- } | null)[] | {
2669
- [key: string]: string | number | boolean | any | any | null;
2670
- } | null)[] | {
2671
- [key: string]: string | number | boolean | any | any | null;
2672
- } | null)[] | {
2673
- [key: string]: string | number | boolean | any | any | null;
2674
- } | null)[] | {
2675
- [key: string]: string | number | boolean | any | any | null;
2676
- } | null)[] | {
2677
- [key: string]: string | number | boolean | any | any | null;
2678
- } | null)[] | {
2679
- [key: string]: string | number | boolean | any | any | null;
2680
- } | null)[] | {
2681
- [key: string]: string | number | boolean | any | any | null;
2682
- } | null)[] | {
2683
- [key: string]: string | number | boolean | any | any | null;
2684
- } | null)[] | {
2685
- [key: string]: string | number | boolean | any | any | null;
2686
- } | null)[] | {
2687
- [key: string]: string | number | boolean | any | any | null;
2688
- } | null)[] | {
2689
- [key: string]: string | number | boolean | any | any | null;
2690
- } | 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 | {
2691
- [key: string]: string | number | boolean | any | any | null;
2692
- } | null)[] | {
2693
- [key: string]: string | number | boolean | any | any | null;
2694
- } | null)[] | {
2695
- [key: string]: string | number | boolean | any | any | null;
2696
- } | null)[] | {
2697
- [key: string]: string | number | boolean | any | any | null;
2698
- } | null)[] | {
2699
- [key: string]: string | number | boolean | any | any | null;
2700
- } | null)[] | {
2701
- [key: string]: string | number | boolean | any | any | null;
2702
- } | null)[] | {
2703
- [key: string]: string | number | boolean | any | any | null;
2704
- } | null)[] | {
2705
- [key: string]: string | number | boolean | any | any | null;
2706
- } | null)[] | {
2707
- [key: string]: string | number | boolean | any | any | null;
2708
- } | null)[] | {
2709
- [key: string]: string | number | boolean | any | any | null;
2710
- } | null)[] | {
2711
- [key: string]: string | number | boolean | any | any | null;
2712
- } | null)[] | {
2713
- [key: string]: string | number | boolean | any | any | null;
2714
- } | null, unknown>>>;
2715
- createdEventBlob: z.ZodString;
2716
- interfaceViews: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
2717
- interfaceId: z.ZodString;
2718
- implementationPackageId: z.ZodOptional<z.ZodString>;
2719
- viewStatus: z.ZodObject<{
2720
- code: z.ZodNumber;
2721
- message: z.ZodString;
2722
- details: z.ZodOptional<z.ZodArray<z.ZodUnknown>>;
2723
- }, z.core.$strict>;
2724
- viewValue: z.ZodOptional<z.ZodUnknown>;
2725
- }, z.core.$strict>>>>;
2726
- witnessParties: z.ZodArray<z.ZodString>;
2727
- signatories: z.ZodArray<z.ZodString>;
2728
- observers: z.ZodArray<z.ZodString>;
2729
- createdAt: z.ZodString;
2730
- packageName: z.ZodString;
2731
- implementedInterfaces: z.ZodOptional<z.ZodArray<z.ZodString>>;
2732
- }, z.core.$strip>;
2733
- }, z.core.$strip>, z.ZodObject<{
2734
- JsArchived: z.ZodObject<{
2735
- offset: z.ZodNumber;
2736
- nodeId: z.ZodNumber;
2737
- contractId: z.ZodString;
2738
- templateId: z.ZodString;
2739
- witnessParties: z.ZodArray<z.ZodString>;
2740
- packageName: z.ZodString;
2741
- implementedInterfaces: z.ZodOptional<z.ZodArray<z.ZodString>>;
2742
- }, z.core.$strip>;
2743
- }, z.core.$strip>, z.ZodObject<{
2744
- JsAssigned: z.ZodObject<{
2745
- offset: z.ZodNumber;
2746
- nodeId: z.ZodNumber;
2747
- contractId: z.ZodString;
2748
- templateId: z.ZodString;
2749
- source: z.ZodString;
2750
- target: z.ZodString;
2751
- reassignmentId: z.ZodString;
2752
- submitter: z.ZodString;
2753
- reassignmentCounter: z.ZodNumber;
2754
- packageName: z.ZodString;
2755
- }, z.core.$strip>;
2756
- }, z.core.$strip>, z.ZodObject<{
2757
- JsUnassigned: z.ZodObject<{
2758
- offset: z.ZodNumber;
2759
- nodeId: z.ZodNumber;
2760
- contractId: z.ZodString;
2761
- templateId: z.ZodString;
2762
- source: z.ZodString;
2763
- target: z.ZodString;
2764
- reassignmentId: z.ZodString;
2765
- submitter: z.ZodString;
2766
- reassignmentCounter: z.ZodNumber;
2767
- packageName: z.ZodString;
2768
- }, z.core.$strip>;
2769
- }, z.core.$strip>]>;
2770
- synchronizerId: z.ZodString;
2771
- reassignmentCounter: z.ZodNumber;
2772
- }, z.core.$strip>>;
2773
- traceContext: z.ZodOptional<z.ZodObject<{
2774
- traceId: z.ZodOptional<z.ZodString>;
2775
- spanId: z.ZodOptional<z.ZodString>;
2776
- parentSpanId: z.ZodOptional<z.ZodString>;
2777
- metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
2778
- }, z.core.$strip>>;
3287
+ events: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
3288
+ CreatedEvent: z.ZodObject<{
3289
+ offset: z.ZodNumber;
3290
+ nodeId: z.ZodNumber;
3291
+ contractId: z.ZodString;
3292
+ templateId: z.ZodString;
3293
+ contractKey: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodType<import("..").LedgerJsonValue, unknown, z.core.$ZodTypeInternals<import("..").LedgerJsonValue, unknown>>, z.ZodNull]>, z.ZodTransform<import("..").LedgerJsonValue | undefined, import("..").LedgerJsonValue>>>;
3294
+ contractKeyHash: z.ZodOptional<z.ZodString>;
3295
+ 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 | {
3296
+ [key: string]: string | number | boolean | /*elided*/ any | /*elided*/ any | null;
3297
+ } | null)[] | {
3298
+ [key: string]: string | number | boolean | any | any | null;
3299
+ } | null)[] | {
3300
+ [key: string]: string | number | boolean | any | any | null;
3301
+ } | null)[] | {
3302
+ [key: string]: string | number | boolean | any | any | null;
3303
+ } | null)[] | {
3304
+ [key: string]: string | number | boolean | any | any | null;
3305
+ } | null)[] | {
3306
+ [key: string]: string | number | boolean | any | any | null;
3307
+ } | null)[] | {
3308
+ [key: string]: string | number | boolean | any | any | null;
3309
+ } | null)[] | {
3310
+ [key: string]: string | number | boolean | any | any | null;
3311
+ } | null)[] | {
3312
+ [key: string]: string | number | boolean | any | any | null;
3313
+ } | null)[] | {
3314
+ [key: string]: string | number | boolean | any | any | null;
3315
+ } | null)[] | {
3316
+ [key: string]: string | number | boolean | any | any | null;
3317
+ } | null)[] | {
3318
+ [key: string]: string | number | boolean | any | any | null;
3319
+ } | 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 | {
3320
+ [key: string]: string | number | boolean | any | any | null;
3321
+ } | null)[] | {
3322
+ [key: string]: string | number | boolean | any | any | null;
3323
+ } | null)[] | {
3324
+ [key: string]: string | number | boolean | any | any | null;
3325
+ } | null)[] | {
3326
+ [key: string]: string | number | boolean | any | any | null;
3327
+ } | null)[] | {
3328
+ [key: string]: string | number | boolean | any | any | null;
3329
+ } | null)[] | {
3330
+ [key: string]: string | number | boolean | any | any | null;
3331
+ } | null)[] | {
3332
+ [key: string]: string | number | boolean | any | any | null;
3333
+ } | null)[] | {
3334
+ [key: string]: string | number | boolean | any | any | null;
3335
+ } | null)[] | {
3336
+ [key: string]: string | number | boolean | any | any | null;
3337
+ } | null)[] | {
3338
+ [key: string]: string | number | boolean | any | any | null;
3339
+ } | null)[] | {
3340
+ [key: string]: string | number | boolean | any | any | null;
3341
+ } | null)[] | {
3342
+ [key: string]: string | number | boolean | any | any | null;
3343
+ } | null, unknown>>>;
3344
+ createdEventBlob: z.ZodOptional<z.ZodString>;
3345
+ interfaceViews: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
3346
+ interfaceId: z.ZodString;
3347
+ implementationPackageId: z.ZodOptional<z.ZodString>;
3348
+ viewStatus: z.ZodObject<{
3349
+ code: z.ZodNumber;
3350
+ message: z.ZodString;
3351
+ details: z.ZodOptional<z.ZodArray<z.ZodUnknown>>;
3352
+ }, z.core.$strict>;
3353
+ viewValue: z.ZodOptional<z.ZodUnknown>;
3354
+ }, z.core.$strict>>>>;
3355
+ witnessParties: z.ZodArray<z.ZodString>;
3356
+ signatories: z.ZodArray<z.ZodString>;
3357
+ observers: z.ZodOptional<z.ZodArray<z.ZodString>>;
3358
+ createdAt: z.ZodString;
3359
+ packageName: z.ZodString;
3360
+ representativePackageId: z.ZodOptional<z.ZodString>;
3361
+ acsDelta: z.ZodOptional<z.ZodBoolean>;
3362
+ implementedInterfaces: z.ZodOptional<z.ZodArray<z.ZodString>>;
3363
+ }, z.core.$loose>;
3364
+ }, z.core.$strip>, z.ZodObject<{
3365
+ ArchivedEvent: z.ZodObject<{
3366
+ offset: z.ZodNumber;
3367
+ nodeId: z.ZodNumber;
3368
+ contractId: z.ZodString;
3369
+ templateId: z.ZodString;
3370
+ witnessParties: z.ZodArray<z.ZodString>;
3371
+ packageName: z.ZodString;
3372
+ implementedInterfaces: z.ZodOptional<z.ZodArray<z.ZodString>>;
3373
+ }, z.core.$loose>;
3374
+ }, z.core.$strip>, z.ZodObject<{
3375
+ ExercisedEvent: z.ZodObject<{
3376
+ offset: z.ZodNumber;
3377
+ nodeId: z.ZodNumber;
3378
+ contractId: z.ZodString;
3379
+ templateId: z.ZodString;
3380
+ interfaceId: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>, z.ZodTransform<string | undefined, string | null>>>;
3381
+ choice: z.ZodString;
3382
+ 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 | {
3383
+ [key: string]: string | number | boolean | any | any | null;
3384
+ } | null)[] | {
3385
+ [key: string]: string | number | boolean | any | any | null;
3386
+ } | null)[] | {
3387
+ [key: string]: string | number | boolean | any | any | null;
3388
+ } | null)[] | {
3389
+ [key: string]: string | number | boolean | any | any | null;
3390
+ } | null)[] | {
3391
+ [key: string]: string | number | boolean | any | any | null;
3392
+ } | null)[] | {
3393
+ [key: string]: string | number | boolean | any | any | null;
3394
+ } | null)[] | {
3395
+ [key: string]: string | number | boolean | any | any | null;
3396
+ } | null)[] | {
3397
+ [key: string]: string | number | boolean | any | any | null;
3398
+ } | null)[] | {
3399
+ [key: string]: string | number | boolean | any | any | null;
3400
+ } | null)[] | {
3401
+ [key: string]: string | number | boolean | any | any | null;
3402
+ } | null)[] | {
3403
+ [key: string]: string | number | boolean | any | any | null;
3404
+ } | null)[] | {
3405
+ [key: string]: string | number | boolean | any | any | null;
3406
+ } | 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 | {
3407
+ [key: string]: string | number | boolean | any | any | null;
3408
+ } | null)[] | {
3409
+ [key: string]: string | number | boolean | any | any | null;
3410
+ } | null)[] | {
3411
+ [key: string]: string | number | boolean | any | any | null;
3412
+ } | null)[] | {
3413
+ [key: string]: string | number | boolean | any | any | null;
3414
+ } | null)[] | {
3415
+ [key: string]: string | number | boolean | any | any | null;
3416
+ } | null)[] | {
3417
+ [key: string]: string | number | boolean | any | any | null;
3418
+ } | null)[] | {
3419
+ [key: string]: string | number | boolean | any | any | null;
3420
+ } | null)[] | {
3421
+ [key: string]: string | number | boolean | any | any | null;
3422
+ } | null)[] | {
3423
+ [key: string]: string | number | boolean | any | any | null;
3424
+ } | null)[] | {
3425
+ [key: string]: string | number | boolean | any | any | null;
3426
+ } | null)[] | {
3427
+ [key: string]: string | number | boolean | any | any | null;
3428
+ } | null)[] | {
3429
+ [key: string]: string | number | boolean | any | any | null;
3430
+ } | null, unknown>>>;
3431
+ actingParties: z.ZodArray<z.ZodString>;
3432
+ consuming: z.ZodBoolean;
3433
+ witnessParties: z.ZodArray<z.ZodString>;
3434
+ lastDescendantNodeId: z.ZodNumber;
3435
+ exerciseResult: z.ZodOptional<z.ZodType<import("..").LedgerJsonValue, unknown, z.core.$ZodTypeInternals<import("..").LedgerJsonValue, unknown>>>;
3436
+ packageName: z.ZodString;
3437
+ implementedInterfaces: z.ZodOptional<z.ZodArray<z.ZodString>>;
3438
+ acsDelta: z.ZodOptional<z.ZodBoolean>;
3439
+ }, z.core.$loose>;
3440
+ }, z.core.$strip>]>>;
3441
+ synchronizerId: z.ZodString;
3442
+ traceContext: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodObject<{
3443
+ traceparent: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>, z.ZodTransform<string | undefined, string | null>>>;
3444
+ tracestate: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>, z.ZodTransform<string | undefined, string | null>>>;
3445
+ traceId: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>, z.ZodTransform<string | undefined, string | null>>>;
3446
+ spanId: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>, z.ZodTransform<string | undefined, string | null>>>;
3447
+ parentSpanId: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>, z.ZodTransform<string | undefined, string | null>>>;
3448
+ metadata: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodRecord<z.ZodString, z.ZodString>, z.ZodNull]>, z.ZodTransform<Record<string, string> | undefined, Record<string, string> | null>>>;
3449
+ }, z.core.$loose>, z.ZodNull]>, z.ZodTransform<{
3450
+ [x: string]: unknown;
3451
+ traceparent?: string | undefined;
3452
+ tracestate?: string | undefined;
3453
+ traceId?: string | undefined;
3454
+ spanId?: string | undefined;
3455
+ parentSpanId?: string | undefined;
3456
+ metadata?: Record<string, string> | undefined;
3457
+ } | undefined, {
3458
+ [x: string]: unknown;
3459
+ traceparent?: string | undefined;
3460
+ tracestate?: string | undefined;
3461
+ traceId?: string | undefined;
3462
+ spanId?: string | undefined;
3463
+ parentSpanId?: string | undefined;
3464
+ metadata?: Record<string, string> | undefined;
3465
+ } | null>>>;
2779
3466
  recordTime: z.ZodString;
2780
- }, z.core.$strip>;
3467
+ externalTransactionHash: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>, z.ZodTransform<string | undefined, string | null>>>;
3468
+ paidTrafficCost: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodPipe<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>, z.ZodTransform<string, string | number>>, z.ZodNull]>, z.ZodTransform<string | undefined, string | null>>>;
3469
+ }, z.core.$loose>;
2781
3470
  }, z.core.$strip>, z.ZodObject<{
2782
3471
  JsTransactionTree: z.ZodObject<{
2783
3472
  updateId: z.ZodString;
@@ -2989,8 +3678,33 @@ export declare const GetUpdatesResponseSchema: z.ZodArray<z.ZodObject<{
2989
3678
  }, z.core.$strict>;
2990
3679
  }, z.core.$strict>;
2991
3680
  }, z.core.$strict>]>>;
3681
+ synchronizerId: z.ZodString;
3682
+ traceContext: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodObject<{
3683
+ traceparent: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>, z.ZodTransform<string | undefined, string | null>>>;
3684
+ tracestate: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>, z.ZodTransform<string | undefined, string | null>>>;
3685
+ traceId: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>, z.ZodTransform<string | undefined, string | null>>>;
3686
+ spanId: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>, z.ZodTransform<string | undefined, string | null>>>;
3687
+ parentSpanId: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>, z.ZodTransform<string | undefined, string | null>>>;
3688
+ metadata: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodRecord<z.ZodString, z.ZodString>, z.ZodNull]>, z.ZodTransform<Record<string, string> | undefined, Record<string, string> | null>>>;
3689
+ }, z.core.$loose>, z.ZodNull]>, z.ZodTransform<{
3690
+ [x: string]: unknown;
3691
+ traceparent?: string | undefined;
3692
+ tracestate?: string | undefined;
3693
+ traceId?: string | undefined;
3694
+ spanId?: string | undefined;
3695
+ parentSpanId?: string | undefined;
3696
+ metadata?: Record<string, string> | undefined;
3697
+ } | undefined, {
3698
+ [x: string]: unknown;
3699
+ traceparent?: string | undefined;
3700
+ tracestate?: string | undefined;
3701
+ traceId?: string | undefined;
3702
+ spanId?: string | undefined;
3703
+ parentSpanId?: string | undefined;
3704
+ metadata?: Record<string, string> | undefined;
3705
+ } | null>>>;
2992
3706
  recordTime: z.ZodString;
2993
- }, z.core.$strip>;
3707
+ }, z.core.$loose>;
2994
3708
  }, z.core.$strip>, z.ZodObject<{
2995
3709
  OffsetCheckpoint: z.ZodObject<{
2996
3710
  value: z.ZodObject<{
@@ -3216,8 +3930,33 @@ export declare const GetUpdateTreesResponseSchema: z.ZodArray<z.ZodObject<{
3216
3930
  }, z.core.$strict>;
3217
3931
  }, z.core.$strict>;
3218
3932
  }, z.core.$strict>]>>;
3933
+ synchronizerId: z.ZodString;
3934
+ traceContext: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodObject<{
3935
+ traceparent: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>, z.ZodTransform<string | undefined, string | null>>>;
3936
+ tracestate: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>, z.ZodTransform<string | undefined, string | null>>>;
3937
+ traceId: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>, z.ZodTransform<string | undefined, string | null>>>;
3938
+ spanId: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>, z.ZodTransform<string | undefined, string | null>>>;
3939
+ parentSpanId: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>, z.ZodTransform<string | undefined, string | null>>>;
3940
+ metadata: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodRecord<z.ZodString, z.ZodString>, z.ZodNull]>, z.ZodTransform<Record<string, string> | undefined, Record<string, string> | null>>>;
3941
+ }, z.core.$loose>, z.ZodNull]>, z.ZodTransform<{
3942
+ [x: string]: unknown;
3943
+ traceparent?: string | undefined;
3944
+ tracestate?: string | undefined;
3945
+ traceId?: string | undefined;
3946
+ spanId?: string | undefined;
3947
+ parentSpanId?: string | undefined;
3948
+ metadata?: Record<string, string> | undefined;
3949
+ } | undefined, {
3950
+ [x: string]: unknown;
3951
+ traceparent?: string | undefined;
3952
+ tracestate?: string | undefined;
3953
+ traceId?: string | undefined;
3954
+ spanId?: string | undefined;
3955
+ parentSpanId?: string | undefined;
3956
+ metadata?: Record<string, string> | undefined;
3957
+ } | null>>>;
3219
3958
  recordTime: z.ZodString;
3220
- }, z.core.$strip>;
3959
+ }, z.core.$loose>;
3221
3960
  }, z.core.$strip>;
3222
3961
  }, z.core.$strip>>;
3223
3962
  /** Get transaction response. */
@@ -3228,129 +3967,189 @@ export declare const GetTransactionResponseSchema: z.ZodObject<{
3228
3967
  workflowId: z.ZodOptional<z.ZodString>;
3229
3968
  effectiveAt: z.ZodString;
3230
3969
  offset: z.ZodNumber;
3231
- events: z.ZodArray<z.ZodObject<{
3232
- kind: z.ZodUnion<readonly [z.ZodObject<{
3233
- JsCreated: z.ZodObject<{
3234
- offset: z.ZodNumber;
3235
- nodeId: z.ZodNumber;
3236
- contractId: z.ZodString;
3237
- templateId: z.ZodString;
3238
- contractKey: z.ZodNullable<z.ZodString>;
3239
- 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 | {
3240
- [key: string]: string | number | boolean | /*elided*/ any | /*elided*/ any | null;
3241
- } | null)[] | {
3242
- [key: string]: string | number | boolean | any | any | null;
3243
- } | null)[] | {
3244
- [key: string]: string | number | boolean | any | any | null;
3245
- } | null)[] | {
3246
- [key: string]: string | number | boolean | any | any | null;
3247
- } | null)[] | {
3248
- [key: string]: string | number | boolean | any | any | null;
3249
- } | null)[] | {
3250
- [key: string]: string | number | boolean | any | any | null;
3251
- } | null)[] | {
3252
- [key: string]: string | number | boolean | any | any | null;
3253
- } | null)[] | {
3254
- [key: string]: string | number | boolean | any | any | null;
3255
- } | null)[] | {
3256
- [key: string]: string | number | boolean | any | any | null;
3257
- } | null)[] | {
3258
- [key: string]: string | number | boolean | any | any | null;
3259
- } | null)[] | {
3260
- [key: string]: string | number | boolean | any | any | null;
3261
- } | null)[] | {
3262
- [key: string]: string | number | boolean | any | any | null;
3263
- } | 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 | {
3264
- [key: string]: string | number | boolean | any | any | null;
3265
- } | null)[] | {
3266
- [key: string]: string | number | boolean | any | any | null;
3267
- } | null)[] | {
3268
- [key: string]: string | number | boolean | any | any | null;
3269
- } | null)[] | {
3270
- [key: string]: string | number | boolean | any | any | null;
3271
- } | null)[] | {
3272
- [key: string]: string | number | boolean | any | any | null;
3273
- } | null)[] | {
3274
- [key: string]: string | number | boolean | any | any | null;
3275
- } | null)[] | {
3276
- [key: string]: string | number | boolean | any | any | null;
3277
- } | null)[] | {
3278
- [key: string]: string | number | boolean | any | any | null;
3279
- } | null)[] | {
3280
- [key: string]: string | number | boolean | any | any | null;
3281
- } | null)[] | {
3282
- [key: string]: string | number | boolean | any | any | null;
3283
- } | null)[] | {
3284
- [key: string]: string | number | boolean | any | any | null;
3285
- } | null)[] | {
3286
- [key: string]: string | number | boolean | any | any | null;
3287
- } | null, unknown>>>;
3288
- createdEventBlob: z.ZodString;
3289
- interfaceViews: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
3290
- interfaceId: z.ZodString;
3291
- implementationPackageId: z.ZodOptional<z.ZodString>;
3292
- viewStatus: z.ZodObject<{
3293
- code: z.ZodNumber;
3294
- message: z.ZodString;
3295
- details: z.ZodOptional<z.ZodArray<z.ZodUnknown>>;
3296
- }, z.core.$strict>;
3297
- viewValue: z.ZodOptional<z.ZodUnknown>;
3298
- }, z.core.$strict>>>>;
3299
- witnessParties: z.ZodArray<z.ZodString>;
3300
- signatories: z.ZodArray<z.ZodString>;
3301
- observers: z.ZodArray<z.ZodString>;
3302
- createdAt: z.ZodString;
3303
- packageName: z.ZodString;
3304
- implementedInterfaces: z.ZodOptional<z.ZodArray<z.ZodString>>;
3305
- }, z.core.$strip>;
3306
- }, z.core.$strip>, z.ZodObject<{
3307
- JsArchived: z.ZodObject<{
3308
- offset: z.ZodNumber;
3309
- nodeId: z.ZodNumber;
3310
- contractId: z.ZodString;
3311
- templateId: z.ZodString;
3312
- witnessParties: z.ZodArray<z.ZodString>;
3313
- packageName: z.ZodString;
3314
- implementedInterfaces: z.ZodOptional<z.ZodArray<z.ZodString>>;
3315
- }, z.core.$strip>;
3316
- }, z.core.$strip>, z.ZodObject<{
3317
- JsAssigned: z.ZodObject<{
3318
- offset: z.ZodNumber;
3319
- nodeId: z.ZodNumber;
3320
- contractId: z.ZodString;
3321
- templateId: z.ZodString;
3322
- source: z.ZodString;
3323
- target: z.ZodString;
3324
- reassignmentId: z.ZodString;
3325
- submitter: z.ZodString;
3326
- reassignmentCounter: z.ZodNumber;
3327
- packageName: z.ZodString;
3328
- }, z.core.$strip>;
3329
- }, z.core.$strip>, z.ZodObject<{
3330
- JsUnassigned: z.ZodObject<{
3331
- offset: z.ZodNumber;
3332
- nodeId: z.ZodNumber;
3333
- contractId: z.ZodString;
3334
- templateId: z.ZodString;
3335
- source: z.ZodString;
3336
- target: z.ZodString;
3337
- reassignmentId: z.ZodString;
3338
- submitter: z.ZodString;
3339
- reassignmentCounter: z.ZodNumber;
3340
- packageName: z.ZodString;
3341
- }, z.core.$strip>;
3342
- }, z.core.$strip>]>;
3343
- synchronizerId: z.ZodString;
3344
- reassignmentCounter: z.ZodNumber;
3345
- }, z.core.$strip>>;
3346
- traceContext: z.ZodOptional<z.ZodObject<{
3347
- traceId: z.ZodOptional<z.ZodString>;
3348
- spanId: z.ZodOptional<z.ZodString>;
3349
- parentSpanId: z.ZodOptional<z.ZodString>;
3350
- metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
3351
- }, z.core.$strip>>;
3970
+ events: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
3971
+ CreatedEvent: z.ZodObject<{
3972
+ offset: z.ZodNumber;
3973
+ nodeId: z.ZodNumber;
3974
+ contractId: z.ZodString;
3975
+ templateId: z.ZodString;
3976
+ contractKey: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodType<import("..").LedgerJsonValue, unknown, z.core.$ZodTypeInternals<import("..").LedgerJsonValue, unknown>>, z.ZodNull]>, z.ZodTransform<import("..").LedgerJsonValue | undefined, import("..").LedgerJsonValue>>>;
3977
+ contractKeyHash: z.ZodOptional<z.ZodString>;
3978
+ 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 | {
3979
+ [key: string]: string | number | boolean | /*elided*/ any | /*elided*/ any | null;
3980
+ } | null)[] | {
3981
+ [key: string]: string | number | boolean | any | any | null;
3982
+ } | null)[] | {
3983
+ [key: string]: string | number | boolean | any | any | null;
3984
+ } | null)[] | {
3985
+ [key: string]: string | number | boolean | any | any | null;
3986
+ } | null)[] | {
3987
+ [key: string]: string | number | boolean | any | any | null;
3988
+ } | null)[] | {
3989
+ [key: string]: string | number | boolean | any | any | null;
3990
+ } | null)[] | {
3991
+ [key: string]: string | number | boolean | any | any | null;
3992
+ } | null)[] | {
3993
+ [key: string]: string | number | boolean | any | any | null;
3994
+ } | null)[] | {
3995
+ [key: string]: string | number | boolean | any | any | null;
3996
+ } | null)[] | {
3997
+ [key: string]: string | number | boolean | any | any | null;
3998
+ } | null)[] | {
3999
+ [key: string]: string | number | boolean | any | any | null;
4000
+ } | null)[] | {
4001
+ [key: string]: string | number | boolean | any | any | null;
4002
+ } | 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 | {
4003
+ [key: string]: string | number | boolean | any | any | null;
4004
+ } | null)[] | {
4005
+ [key: string]: string | number | boolean | any | any | null;
4006
+ } | null)[] | {
4007
+ [key: string]: string | number | boolean | any | any | null;
4008
+ } | null)[] | {
4009
+ [key: string]: string | number | boolean | any | any | null;
4010
+ } | null)[] | {
4011
+ [key: string]: string | number | boolean | any | any | null;
4012
+ } | null)[] | {
4013
+ [key: string]: string | number | boolean | any | any | null;
4014
+ } | null)[] | {
4015
+ [key: string]: string | number | boolean | any | any | null;
4016
+ } | null)[] | {
4017
+ [key: string]: string | number | boolean | any | any | null;
4018
+ } | null)[] | {
4019
+ [key: string]: string | number | boolean | any | any | null;
4020
+ } | null)[] | {
4021
+ [key: string]: string | number | boolean | any | any | null;
4022
+ } | null)[] | {
4023
+ [key: string]: string | number | boolean | any | any | null;
4024
+ } | null)[] | {
4025
+ [key: string]: string | number | boolean | any | any | null;
4026
+ } | null, unknown>>>;
4027
+ createdEventBlob: z.ZodOptional<z.ZodString>;
4028
+ interfaceViews: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
4029
+ interfaceId: z.ZodString;
4030
+ implementationPackageId: z.ZodOptional<z.ZodString>;
4031
+ viewStatus: z.ZodObject<{
4032
+ code: z.ZodNumber;
4033
+ message: z.ZodString;
4034
+ details: z.ZodOptional<z.ZodArray<z.ZodUnknown>>;
4035
+ }, z.core.$strict>;
4036
+ viewValue: z.ZodOptional<z.ZodUnknown>;
4037
+ }, z.core.$strict>>>>;
4038
+ witnessParties: z.ZodArray<z.ZodString>;
4039
+ signatories: z.ZodArray<z.ZodString>;
4040
+ observers: z.ZodOptional<z.ZodArray<z.ZodString>>;
4041
+ createdAt: z.ZodString;
4042
+ packageName: z.ZodString;
4043
+ representativePackageId: z.ZodOptional<z.ZodString>;
4044
+ acsDelta: z.ZodOptional<z.ZodBoolean>;
4045
+ implementedInterfaces: z.ZodOptional<z.ZodArray<z.ZodString>>;
4046
+ }, z.core.$loose>;
4047
+ }, z.core.$strip>, z.ZodObject<{
4048
+ ArchivedEvent: z.ZodObject<{
4049
+ offset: z.ZodNumber;
4050
+ nodeId: z.ZodNumber;
4051
+ contractId: z.ZodString;
4052
+ templateId: z.ZodString;
4053
+ witnessParties: z.ZodArray<z.ZodString>;
4054
+ packageName: z.ZodString;
4055
+ implementedInterfaces: z.ZodOptional<z.ZodArray<z.ZodString>>;
4056
+ }, z.core.$loose>;
4057
+ }, z.core.$strip>, z.ZodObject<{
4058
+ ExercisedEvent: z.ZodObject<{
4059
+ offset: z.ZodNumber;
4060
+ nodeId: z.ZodNumber;
4061
+ contractId: z.ZodString;
4062
+ templateId: z.ZodString;
4063
+ interfaceId: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>, z.ZodTransform<string | undefined, string | null>>>;
4064
+ choice: z.ZodString;
4065
+ 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 | {
4066
+ [key: string]: string | number | boolean | any | any | null;
4067
+ } | null)[] | {
4068
+ [key: string]: string | number | boolean | any | any | null;
4069
+ } | null)[] | {
4070
+ [key: string]: string | number | boolean | any | any | null;
4071
+ } | null)[] | {
4072
+ [key: string]: string | number | boolean | any | any | null;
4073
+ } | null)[] | {
4074
+ [key: string]: string | number | boolean | any | any | null;
4075
+ } | null)[] | {
4076
+ [key: string]: string | number | boolean | any | any | null;
4077
+ } | null)[] | {
4078
+ [key: string]: string | number | boolean | any | any | null;
4079
+ } | null)[] | {
4080
+ [key: string]: string | number | boolean | any | any | null;
4081
+ } | null)[] | {
4082
+ [key: string]: string | number | boolean | any | any | null;
4083
+ } | null)[] | {
4084
+ [key: string]: string | number | boolean | any | any | null;
4085
+ } | null)[] | {
4086
+ [key: string]: string | number | boolean | any | any | null;
4087
+ } | null)[] | {
4088
+ [key: string]: string | number | boolean | any | any | null;
4089
+ } | 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 | {
4090
+ [key: string]: string | number | boolean | any | any | null;
4091
+ } | null)[] | {
4092
+ [key: string]: string | number | boolean | any | any | null;
4093
+ } | null)[] | {
4094
+ [key: string]: string | number | boolean | any | any | null;
4095
+ } | null)[] | {
4096
+ [key: string]: string | number | boolean | any | any | null;
4097
+ } | null)[] | {
4098
+ [key: string]: string | number | boolean | any | any | null;
4099
+ } | null)[] | {
4100
+ [key: string]: string | number | boolean | any | any | null;
4101
+ } | null)[] | {
4102
+ [key: string]: string | number | boolean | any | any | null;
4103
+ } | null)[] | {
4104
+ [key: string]: string | number | boolean | any | any | null;
4105
+ } | null)[] | {
4106
+ [key: string]: string | number | boolean | any | any | null;
4107
+ } | null)[] | {
4108
+ [key: string]: string | number | boolean | any | any | null;
4109
+ } | null)[] | {
4110
+ [key: string]: string | number | boolean | any | any | null;
4111
+ } | null)[] | {
4112
+ [key: string]: string | number | boolean | any | any | null;
4113
+ } | null, unknown>>>;
4114
+ actingParties: z.ZodArray<z.ZodString>;
4115
+ consuming: z.ZodBoolean;
4116
+ witnessParties: z.ZodArray<z.ZodString>;
4117
+ lastDescendantNodeId: z.ZodNumber;
4118
+ exerciseResult: z.ZodOptional<z.ZodType<import("..").LedgerJsonValue, unknown, z.core.$ZodTypeInternals<import("..").LedgerJsonValue, unknown>>>;
4119
+ packageName: z.ZodString;
4120
+ implementedInterfaces: z.ZodOptional<z.ZodArray<z.ZodString>>;
4121
+ acsDelta: z.ZodOptional<z.ZodBoolean>;
4122
+ }, z.core.$loose>;
4123
+ }, z.core.$strip>]>>;
4124
+ synchronizerId: z.ZodString;
4125
+ traceContext: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodObject<{
4126
+ traceparent: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>, z.ZodTransform<string | undefined, string | null>>>;
4127
+ tracestate: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>, z.ZodTransform<string | undefined, string | null>>>;
4128
+ traceId: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>, z.ZodTransform<string | undefined, string | null>>>;
4129
+ spanId: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>, z.ZodTransform<string | undefined, string | null>>>;
4130
+ parentSpanId: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>, z.ZodTransform<string | undefined, string | null>>>;
4131
+ metadata: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodRecord<z.ZodString, z.ZodString>, z.ZodNull]>, z.ZodTransform<Record<string, string> | undefined, Record<string, string> | null>>>;
4132
+ }, z.core.$loose>, z.ZodNull]>, z.ZodTransform<{
4133
+ [x: string]: unknown;
4134
+ traceparent?: string | undefined;
4135
+ tracestate?: string | undefined;
4136
+ traceId?: string | undefined;
4137
+ spanId?: string | undefined;
4138
+ parentSpanId?: string | undefined;
4139
+ metadata?: Record<string, string> | undefined;
4140
+ } | undefined, {
4141
+ [x: string]: unknown;
4142
+ traceparent?: string | undefined;
4143
+ tracestate?: string | undefined;
4144
+ traceId?: string | undefined;
4145
+ spanId?: string | undefined;
4146
+ parentSpanId?: string | undefined;
4147
+ metadata?: Record<string, string> | undefined;
4148
+ } | null>>>;
3352
4149
  recordTime: z.ZodString;
3353
- }, z.core.$strip>;
4150
+ externalTransactionHash: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>, z.ZodTransform<string | undefined, string | null>>>;
4151
+ paidTrafficCost: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodPipe<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>, z.ZodTransform<string, string | number>>, z.ZodNull]>, z.ZodTransform<string | undefined, string | null>>>;
4152
+ }, z.core.$loose>;
3354
4153
  }, z.core.$strip>;
3355
4154
  /**
3356
4155
  * Event wrapper for tree events in GetTransaction responses. The API returns events in a flattened format like {
@@ -3766,12 +4565,30 @@ export declare const GetTransactionResponseActualSchema: z.ZodObject<{
3766
4565
  }, z.core.$strip>]>>;
3767
4566
  recordTime: z.ZodString;
3768
4567
  synchronizerId: z.ZodString;
3769
- traceContext: z.ZodOptional<z.ZodObject<{
3770
- traceId: z.ZodOptional<z.ZodString>;
3771
- spanId: z.ZodOptional<z.ZodString>;
3772
- parentSpanId: z.ZodOptional<z.ZodString>;
3773
- metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
3774
- }, z.core.$strip>>;
4568
+ traceContext: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodObject<{
4569
+ traceparent: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>, z.ZodTransform<string | undefined, string | null>>>;
4570
+ tracestate: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>, z.ZodTransform<string | undefined, string | null>>>;
4571
+ traceId: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>, z.ZodTransform<string | undefined, string | null>>>;
4572
+ spanId: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>, z.ZodTransform<string | undefined, string | null>>>;
4573
+ parentSpanId: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>, z.ZodTransform<string | undefined, string | null>>>;
4574
+ metadata: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodRecord<z.ZodString, z.ZodString>, z.ZodNull]>, z.ZodTransform<Record<string, string> | undefined, Record<string, string> | null>>>;
4575
+ }, z.core.$loose>, z.ZodNull]>, z.ZodTransform<{
4576
+ [x: string]: unknown;
4577
+ traceparent?: string | undefined;
4578
+ tracestate?: string | undefined;
4579
+ traceId?: string | undefined;
4580
+ spanId?: string | undefined;
4581
+ parentSpanId?: string | undefined;
4582
+ metadata?: Record<string, string> | undefined;
4583
+ } | undefined, {
4584
+ [x: string]: unknown;
4585
+ traceparent?: string | undefined;
4586
+ tracestate?: string | undefined;
4587
+ traceId?: string | undefined;
4588
+ spanId?: string | undefined;
4589
+ parentSpanId?: string | undefined;
4590
+ metadata?: Record<string, string> | undefined;
4591
+ } | null>>>;
3775
4592
  }, z.core.$strip>;
3776
4593
  }, z.core.$strip>;
3777
4594
  /** Get update response. */
@@ -3783,129 +4600,189 @@ export declare const GetUpdateResponseSchema: z.ZodObject<{
3783
4600
  workflowId: z.ZodOptional<z.ZodString>;
3784
4601
  effectiveAt: z.ZodString;
3785
4602
  offset: z.ZodNumber;
3786
- events: z.ZodArray<z.ZodObject<{
3787
- kind: z.ZodUnion<readonly [z.ZodObject<{
3788
- JsCreated: z.ZodObject<{
3789
- offset: z.ZodNumber;
3790
- nodeId: z.ZodNumber;
3791
- contractId: z.ZodString;
3792
- templateId: z.ZodString;
3793
- contractKey: z.ZodNullable<z.ZodString>;
3794
- 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 | {
3795
- [key: string]: string | number | boolean | /*elided*/ any | /*elided*/ any | null;
3796
- } | null)[] | {
3797
- [key: string]: string | number | boolean | any | any | null;
3798
- } | null)[] | {
3799
- [key: string]: string | number | boolean | any | any | null;
3800
- } | null)[] | {
3801
- [key: string]: string | number | boolean | any | any | null;
3802
- } | null)[] | {
3803
- [key: string]: string | number | boolean | any | any | null;
3804
- } | null)[] | {
3805
- [key: string]: string | number | boolean | any | any | null;
3806
- } | null)[] | {
3807
- [key: string]: string | number | boolean | any | any | null;
3808
- } | null)[] | {
3809
- [key: string]: string | number | boolean | any | any | null;
3810
- } | null)[] | {
3811
- [key: string]: string | number | boolean | any | any | null;
3812
- } | null)[] | {
3813
- [key: string]: string | number | boolean | any | any | null;
3814
- } | null)[] | {
3815
- [key: string]: string | number | boolean | any | any | null;
3816
- } | null)[] | {
3817
- [key: string]: string | number | boolean | any | any | null;
3818
- } | 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 | {
3819
- [key: string]: string | number | boolean | any | any | null;
3820
- } | null)[] | {
3821
- [key: string]: string | number | boolean | any | any | null;
3822
- } | null)[] | {
3823
- [key: string]: string | number | boolean | any | any | null;
3824
- } | null)[] | {
3825
- [key: string]: string | number | boolean | any | any | null;
3826
- } | null)[] | {
3827
- [key: string]: string | number | boolean | any | any | null;
3828
- } | null)[] | {
3829
- [key: string]: string | number | boolean | any | any | null;
3830
- } | null)[] | {
3831
- [key: string]: string | number | boolean | any | any | null;
3832
- } | null)[] | {
3833
- [key: string]: string | number | boolean | any | any | null;
3834
- } | null)[] | {
3835
- [key: string]: string | number | boolean | any | any | null;
3836
- } | null)[] | {
3837
- [key: string]: string | number | boolean | any | any | null;
3838
- } | null)[] | {
3839
- [key: string]: string | number | boolean | any | any | null;
3840
- } | null)[] | {
3841
- [key: string]: string | number | boolean | any | any | null;
3842
- } | null, unknown>>>;
3843
- createdEventBlob: z.ZodString;
3844
- interfaceViews: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
3845
- interfaceId: z.ZodString;
3846
- implementationPackageId: z.ZodOptional<z.ZodString>;
3847
- viewStatus: z.ZodObject<{
3848
- code: z.ZodNumber;
3849
- message: z.ZodString;
3850
- details: z.ZodOptional<z.ZodArray<z.ZodUnknown>>;
3851
- }, z.core.$strict>;
3852
- viewValue: z.ZodOptional<z.ZodUnknown>;
3853
- }, z.core.$strict>>>>;
3854
- witnessParties: z.ZodArray<z.ZodString>;
3855
- signatories: z.ZodArray<z.ZodString>;
3856
- observers: z.ZodArray<z.ZodString>;
3857
- createdAt: z.ZodString;
3858
- packageName: z.ZodString;
3859
- implementedInterfaces: z.ZodOptional<z.ZodArray<z.ZodString>>;
3860
- }, z.core.$strip>;
3861
- }, z.core.$strip>, z.ZodObject<{
3862
- JsArchived: z.ZodObject<{
3863
- offset: z.ZodNumber;
3864
- nodeId: z.ZodNumber;
3865
- contractId: z.ZodString;
3866
- templateId: z.ZodString;
3867
- witnessParties: z.ZodArray<z.ZodString>;
3868
- packageName: z.ZodString;
3869
- implementedInterfaces: z.ZodOptional<z.ZodArray<z.ZodString>>;
3870
- }, z.core.$strip>;
3871
- }, z.core.$strip>, z.ZodObject<{
3872
- JsAssigned: z.ZodObject<{
3873
- offset: z.ZodNumber;
3874
- nodeId: z.ZodNumber;
3875
- contractId: z.ZodString;
3876
- templateId: z.ZodString;
3877
- source: z.ZodString;
3878
- target: z.ZodString;
3879
- reassignmentId: z.ZodString;
3880
- submitter: z.ZodString;
3881
- reassignmentCounter: z.ZodNumber;
3882
- packageName: z.ZodString;
3883
- }, z.core.$strip>;
3884
- }, z.core.$strip>, z.ZodObject<{
3885
- JsUnassigned: z.ZodObject<{
3886
- offset: z.ZodNumber;
3887
- nodeId: z.ZodNumber;
3888
- contractId: z.ZodString;
3889
- templateId: z.ZodString;
3890
- source: z.ZodString;
3891
- target: z.ZodString;
3892
- reassignmentId: z.ZodString;
3893
- submitter: z.ZodString;
3894
- reassignmentCounter: z.ZodNumber;
3895
- packageName: z.ZodString;
3896
- }, z.core.$strip>;
3897
- }, z.core.$strip>]>;
3898
- synchronizerId: z.ZodString;
3899
- reassignmentCounter: z.ZodNumber;
3900
- }, z.core.$strip>>;
3901
- traceContext: z.ZodOptional<z.ZodObject<{
3902
- traceId: z.ZodOptional<z.ZodString>;
3903
- spanId: z.ZodOptional<z.ZodString>;
3904
- parentSpanId: z.ZodOptional<z.ZodString>;
3905
- metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
3906
- }, z.core.$strip>>;
4603
+ events: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
4604
+ CreatedEvent: z.ZodObject<{
4605
+ offset: z.ZodNumber;
4606
+ nodeId: z.ZodNumber;
4607
+ contractId: z.ZodString;
4608
+ templateId: z.ZodString;
4609
+ contractKey: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodType<import("..").LedgerJsonValue, unknown, z.core.$ZodTypeInternals<import("..").LedgerJsonValue, unknown>>, z.ZodNull]>, z.ZodTransform<import("..").LedgerJsonValue | undefined, import("..").LedgerJsonValue>>>;
4610
+ contractKeyHash: z.ZodOptional<z.ZodString>;
4611
+ 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 | {
4612
+ [key: string]: string | number | boolean | /*elided*/ any | /*elided*/ any | null;
4613
+ } | null)[] | {
4614
+ [key: string]: string | number | boolean | any | any | null;
4615
+ } | null)[] | {
4616
+ [key: string]: string | number | boolean | any | any | null;
4617
+ } | null)[] | {
4618
+ [key: string]: string | number | boolean | any | any | null;
4619
+ } | null)[] | {
4620
+ [key: string]: string | number | boolean | any | any | null;
4621
+ } | null)[] | {
4622
+ [key: string]: string | number | boolean | any | any | null;
4623
+ } | null)[] | {
4624
+ [key: string]: string | number | boolean | any | any | null;
4625
+ } | null)[] | {
4626
+ [key: string]: string | number | boolean | any | any | null;
4627
+ } | null)[] | {
4628
+ [key: string]: string | number | boolean | any | any | null;
4629
+ } | null)[] | {
4630
+ [key: string]: string | number | boolean | any | any | null;
4631
+ } | null)[] | {
4632
+ [key: string]: string | number | boolean | any | any | null;
4633
+ } | null)[] | {
4634
+ [key: string]: string | number | boolean | any | any | null;
4635
+ } | 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 | {
4636
+ [key: string]: string | number | boolean | any | any | null;
4637
+ } | null)[] | {
4638
+ [key: string]: string | number | boolean | any | any | null;
4639
+ } | null)[] | {
4640
+ [key: string]: string | number | boolean | any | any | null;
4641
+ } | null)[] | {
4642
+ [key: string]: string | number | boolean | any | any | null;
4643
+ } | null)[] | {
4644
+ [key: string]: string | number | boolean | any | any | null;
4645
+ } | null)[] | {
4646
+ [key: string]: string | number | boolean | any | any | null;
4647
+ } | null)[] | {
4648
+ [key: string]: string | number | boolean | any | any | null;
4649
+ } | null)[] | {
4650
+ [key: string]: string | number | boolean | any | any | null;
4651
+ } | null)[] | {
4652
+ [key: string]: string | number | boolean | any | any | null;
4653
+ } | null)[] | {
4654
+ [key: string]: string | number | boolean | any | any | null;
4655
+ } | null)[] | {
4656
+ [key: string]: string | number | boolean | any | any | null;
4657
+ } | null)[] | {
4658
+ [key: string]: string | number | boolean | any | any | null;
4659
+ } | null, unknown>>>;
4660
+ createdEventBlob: z.ZodOptional<z.ZodString>;
4661
+ interfaceViews: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
4662
+ interfaceId: z.ZodString;
4663
+ implementationPackageId: z.ZodOptional<z.ZodString>;
4664
+ viewStatus: z.ZodObject<{
4665
+ code: z.ZodNumber;
4666
+ message: z.ZodString;
4667
+ details: z.ZodOptional<z.ZodArray<z.ZodUnknown>>;
4668
+ }, z.core.$strict>;
4669
+ viewValue: z.ZodOptional<z.ZodUnknown>;
4670
+ }, z.core.$strict>>>>;
4671
+ witnessParties: z.ZodArray<z.ZodString>;
4672
+ signatories: z.ZodArray<z.ZodString>;
4673
+ observers: z.ZodOptional<z.ZodArray<z.ZodString>>;
4674
+ createdAt: z.ZodString;
4675
+ packageName: z.ZodString;
4676
+ representativePackageId: z.ZodOptional<z.ZodString>;
4677
+ acsDelta: z.ZodOptional<z.ZodBoolean>;
4678
+ implementedInterfaces: z.ZodOptional<z.ZodArray<z.ZodString>>;
4679
+ }, z.core.$loose>;
4680
+ }, z.core.$strip>, z.ZodObject<{
4681
+ ArchivedEvent: z.ZodObject<{
4682
+ offset: z.ZodNumber;
4683
+ nodeId: z.ZodNumber;
4684
+ contractId: z.ZodString;
4685
+ templateId: z.ZodString;
4686
+ witnessParties: z.ZodArray<z.ZodString>;
4687
+ packageName: z.ZodString;
4688
+ implementedInterfaces: z.ZodOptional<z.ZodArray<z.ZodString>>;
4689
+ }, z.core.$loose>;
4690
+ }, z.core.$strip>, z.ZodObject<{
4691
+ ExercisedEvent: z.ZodObject<{
4692
+ offset: z.ZodNumber;
4693
+ nodeId: z.ZodNumber;
4694
+ contractId: z.ZodString;
4695
+ templateId: z.ZodString;
4696
+ interfaceId: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>, z.ZodTransform<string | undefined, string | null>>>;
4697
+ choice: z.ZodString;
4698
+ 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 | {
4699
+ [key: string]: string | number | boolean | any | any | null;
4700
+ } | null)[] | {
4701
+ [key: string]: string | number | boolean | any | any | null;
4702
+ } | null)[] | {
4703
+ [key: string]: string | number | boolean | any | any | null;
4704
+ } | null)[] | {
4705
+ [key: string]: string | number | boolean | any | any | null;
4706
+ } | null)[] | {
4707
+ [key: string]: string | number | boolean | any | any | null;
4708
+ } | null)[] | {
4709
+ [key: string]: string | number | boolean | any | any | null;
4710
+ } | null)[] | {
4711
+ [key: string]: string | number | boolean | any | any | null;
4712
+ } | null)[] | {
4713
+ [key: string]: string | number | boolean | any | any | null;
4714
+ } | null)[] | {
4715
+ [key: string]: string | number | boolean | any | any | null;
4716
+ } | null)[] | {
4717
+ [key: string]: string | number | boolean | any | any | null;
4718
+ } | null)[] | {
4719
+ [key: string]: string | number | boolean | any | any | null;
4720
+ } | null)[] | {
4721
+ [key: string]: string | number | boolean | any | any | null;
4722
+ } | 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 | {
4723
+ [key: string]: string | number | boolean | any | any | null;
4724
+ } | null)[] | {
4725
+ [key: string]: string | number | boolean | any | any | null;
4726
+ } | null)[] | {
4727
+ [key: string]: string | number | boolean | any | any | null;
4728
+ } | null)[] | {
4729
+ [key: string]: string | number | boolean | any | any | null;
4730
+ } | null)[] | {
4731
+ [key: string]: string | number | boolean | any | any | null;
4732
+ } | null)[] | {
4733
+ [key: string]: string | number | boolean | any | any | null;
4734
+ } | null)[] | {
4735
+ [key: string]: string | number | boolean | any | any | null;
4736
+ } | null)[] | {
4737
+ [key: string]: string | number | boolean | any | any | null;
4738
+ } | null)[] | {
4739
+ [key: string]: string | number | boolean | any | any | null;
4740
+ } | null)[] | {
4741
+ [key: string]: string | number | boolean | any | any | null;
4742
+ } | null)[] | {
4743
+ [key: string]: string | number | boolean | any | any | null;
4744
+ } | null)[] | {
4745
+ [key: string]: string | number | boolean | any | any | null;
4746
+ } | null, unknown>>>;
4747
+ actingParties: z.ZodArray<z.ZodString>;
4748
+ consuming: z.ZodBoolean;
4749
+ witnessParties: z.ZodArray<z.ZodString>;
4750
+ lastDescendantNodeId: z.ZodNumber;
4751
+ exerciseResult: z.ZodOptional<z.ZodType<import("..").LedgerJsonValue, unknown, z.core.$ZodTypeInternals<import("..").LedgerJsonValue, unknown>>>;
4752
+ packageName: z.ZodString;
4753
+ implementedInterfaces: z.ZodOptional<z.ZodArray<z.ZodString>>;
4754
+ acsDelta: z.ZodOptional<z.ZodBoolean>;
4755
+ }, z.core.$loose>;
4756
+ }, z.core.$strip>]>>;
4757
+ synchronizerId: z.ZodString;
4758
+ traceContext: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodObject<{
4759
+ traceparent: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>, z.ZodTransform<string | undefined, string | null>>>;
4760
+ tracestate: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>, z.ZodTransform<string | undefined, string | null>>>;
4761
+ traceId: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>, z.ZodTransform<string | undefined, string | null>>>;
4762
+ spanId: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>, z.ZodTransform<string | undefined, string | null>>>;
4763
+ parentSpanId: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>, z.ZodTransform<string | undefined, string | null>>>;
4764
+ metadata: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodRecord<z.ZodString, z.ZodString>, z.ZodNull]>, z.ZodTransform<Record<string, string> | undefined, Record<string, string> | null>>>;
4765
+ }, z.core.$loose>, z.ZodNull]>, z.ZodTransform<{
4766
+ [x: string]: unknown;
4767
+ traceparent?: string | undefined;
4768
+ tracestate?: string | undefined;
4769
+ traceId?: string | undefined;
4770
+ spanId?: string | undefined;
4771
+ parentSpanId?: string | undefined;
4772
+ metadata?: Record<string, string> | undefined;
4773
+ } | undefined, {
4774
+ [x: string]: unknown;
4775
+ traceparent?: string | undefined;
4776
+ tracestate?: string | undefined;
4777
+ traceId?: string | undefined;
4778
+ spanId?: string | undefined;
4779
+ parentSpanId?: string | undefined;
4780
+ metadata?: Record<string, string> | undefined;
4781
+ } | null>>>;
3907
4782
  recordTime: z.ZodString;
3908
- }, z.core.$strip>;
4783
+ externalTransactionHash: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>, z.ZodTransform<string | undefined, string | null>>>;
4784
+ paidTrafficCost: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodPipe<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>, z.ZodTransform<string, string | number>>, z.ZodNull]>, z.ZodTransform<string | undefined, string | null>>>;
4785
+ }, z.core.$loose>;
3909
4786
  }, z.core.$strip>, z.ZodObject<{
3910
4787
  JsTransactionTree: z.ZodObject<{
3911
4788
  updateId: z.ZodString;
@@ -4117,8 +4994,33 @@ export declare const GetUpdateResponseSchema: z.ZodObject<{
4117
4994
  }, z.core.$strict>;
4118
4995
  }, z.core.$strict>;
4119
4996
  }, z.core.$strict>]>>;
4997
+ synchronizerId: z.ZodString;
4998
+ traceContext: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodObject<{
4999
+ traceparent: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>, z.ZodTransform<string | undefined, string | null>>>;
5000
+ tracestate: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>, z.ZodTransform<string | undefined, string | null>>>;
5001
+ traceId: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>, z.ZodTransform<string | undefined, string | null>>>;
5002
+ spanId: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>, z.ZodTransform<string | undefined, string | null>>>;
5003
+ parentSpanId: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>, z.ZodTransform<string | undefined, string | null>>>;
5004
+ metadata: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodRecord<z.ZodString, z.ZodString>, z.ZodNull]>, z.ZodTransform<Record<string, string> | undefined, Record<string, string> | null>>>;
5005
+ }, z.core.$loose>, z.ZodNull]>, z.ZodTransform<{
5006
+ [x: string]: unknown;
5007
+ traceparent?: string | undefined;
5008
+ tracestate?: string | undefined;
5009
+ traceId?: string | undefined;
5010
+ spanId?: string | undefined;
5011
+ parentSpanId?: string | undefined;
5012
+ metadata?: Record<string, string> | undefined;
5013
+ } | undefined, {
5014
+ [x: string]: unknown;
5015
+ traceparent?: string | undefined;
5016
+ tracestate?: string | undefined;
5017
+ traceId?: string | undefined;
5018
+ spanId?: string | undefined;
5019
+ parentSpanId?: string | undefined;
5020
+ metadata?: Record<string, string> | undefined;
5021
+ } | null>>>;
4120
5022
  recordTime: z.ZodString;
4121
- }, z.core.$strip>;
5023
+ }, z.core.$loose>;
4122
5024
  }, z.core.$strip>, z.ZodObject<{
4123
5025
  OffsetCheckpoint: z.ZodObject<{
4124
5026
  value: z.ZodObject<{
@@ -4343,14 +5245,39 @@ export declare const GetTransactionTreeResponseSchema: z.ZodObject<{
4343
5245
  }, z.core.$strict>;
4344
5246
  }, z.core.$strict>;
4345
5247
  }, z.core.$strict>]>>;
5248
+ synchronizerId: z.ZodString;
5249
+ traceContext: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodObject<{
5250
+ traceparent: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>, z.ZodTransform<string | undefined, string | null>>>;
5251
+ tracestate: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>, z.ZodTransform<string | undefined, string | null>>>;
5252
+ traceId: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>, z.ZodTransform<string | undefined, string | null>>>;
5253
+ spanId: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>, z.ZodTransform<string | undefined, string | null>>>;
5254
+ parentSpanId: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>, z.ZodTransform<string | undefined, string | null>>>;
5255
+ metadata: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodRecord<z.ZodString, z.ZodString>, z.ZodNull]>, z.ZodTransform<Record<string, string> | undefined, Record<string, string> | null>>>;
5256
+ }, z.core.$loose>, z.ZodNull]>, z.ZodTransform<{
5257
+ [x: string]: unknown;
5258
+ traceparent?: string | undefined;
5259
+ tracestate?: string | undefined;
5260
+ traceId?: string | undefined;
5261
+ spanId?: string | undefined;
5262
+ parentSpanId?: string | undefined;
5263
+ metadata?: Record<string, string> | undefined;
5264
+ } | undefined, {
5265
+ [x: string]: unknown;
5266
+ traceparent?: string | undefined;
5267
+ tracestate?: string | undefined;
5268
+ traceId?: string | undefined;
5269
+ spanId?: string | undefined;
5270
+ parentSpanId?: string | undefined;
5271
+ metadata?: Record<string, string> | undefined;
5272
+ } | null>>>;
4346
5273
  recordTime: z.ZodString;
4347
- }, z.core.$strip>;
5274
+ }, z.core.$loose>;
4348
5275
  }, z.core.$strip>;
4349
- export type JsUpdateEventKind = z.infer<typeof JsUpdateEventKindSchema>;
4350
- export type JsUpdateEvent = z.infer<typeof JsUpdateEventSchema>;
5276
+ export type TransactionEvent = z.infer<typeof TransactionEventSchema>;
4351
5277
  export type JsTransaction = z.infer<typeof JsTransactionSchema>;
4352
5278
  export type JsTransactionTree = z.infer<typeof JsTransactionTreeSchema>;
4353
5279
  export type JsUpdate = z.infer<typeof JsUpdateSchema>;
5280
+ export type WsTopologyEvent = z.infer<typeof WsTopologyEventSchema>;
4354
5281
  export type WsTopologyTransaction = z.infer<typeof WsTopologyTransactionSchema>;
4355
5282
  export type WsUpdate = z.infer<typeof WsUpdateSchema>;
4356
5283
  export type WsUpdateTrees = z.infer<typeof WsUpdateTreesSchema>;