@fairmint/canton-node-sdk 0.0.252 → 0.0.254

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 (47) hide show
  1. package/build/src/clients/ledger-json-api/operations/v2/commands/async/submit.d.ts +6 -0
  2. package/build/src/clients/ledger-json-api/operations/v2/commands/async/submit.d.ts.map +1 -1
  3. package/build/src/clients/ledger-json-api/operations/v2/commands/submit-and-wait-for-reassignment.d.ts +14 -3
  4. package/build/src/clients/ledger-json-api/operations/v2/commands/submit-and-wait-for-reassignment.d.ts.map +1 -1
  5. package/build/src/clients/ledger-json-api/operations/v2/commands/submit-and-wait-for-transaction-tree.d.ts +34 -28
  6. package/build/src/clients/ledger-json-api/operations/v2/commands/submit-and-wait-for-transaction-tree.d.ts.map +1 -1
  7. package/build/src/clients/ledger-json-api/operations/v2/commands/submit-and-wait-for-transaction.d.ts +6 -0
  8. package/build/src/clients/ledger-json-api/operations/v2/commands/submit-and-wait-for-transaction.d.ts.map +1 -1
  9. package/build/src/clients/ledger-json-api/operations/v2/commands/submit-and-wait.d.ts +58 -52
  10. package/build/src/clients/ledger-json-api/operations/v2/commands/submit-and-wait.d.ts.map +1 -1
  11. package/build/src/clients/ledger-json-api/operations/v2/updates/subscribe-to-updates.d.ts +268 -473
  12. package/build/src/clients/ledger-json-api/operations/v2/updates/subscribe-to-updates.d.ts.map +1 -1
  13. package/build/src/clients/ledger-json-api/operations/v2/updates/subscribe-to-updates.js +26 -6
  14. package/build/src/clients/ledger-json-api/operations/v2/updates/subscribe-to-updates.js.map +1 -1
  15. package/build/src/clients/ledger-json-api/schemas/api/completions.d.ts +75 -21
  16. package/build/src/clients/ledger-json-api/schemas/api/completions.d.ts.map +1 -1
  17. package/build/src/clients/ledger-json-api/schemas/api/completions.js +9 -4
  18. package/build/src/clients/ledger-json-api/schemas/api/completions.js.map +1 -1
  19. package/build/src/clients/ledger-json-api/schemas/api/event-details.d.ts +83 -8
  20. package/build/src/clients/ledger-json-api/schemas/api/event-details.d.ts.map +1 -1
  21. package/build/src/clients/ledger-json-api/schemas/api/event-details.js +65 -12
  22. package/build/src/clients/ledger-json-api/schemas/api/event-details.js.map +1 -1
  23. package/build/src/clients/ledger-json-api/schemas/api/reassignment.d.ts +86 -34
  24. package/build/src/clients/ledger-json-api/schemas/api/reassignment.d.ts.map +1 -1
  25. package/build/src/clients/ledger-json-api/schemas/api/reassignment.js +14 -3
  26. package/build/src/clients/ledger-json-api/schemas/api/reassignment.js.map +1 -1
  27. package/build/src/clients/ledger-json-api/schemas/api/state.d.ts +65 -41
  28. package/build/src/clients/ledger-json-api/schemas/api/state.d.ts.map +1 -1
  29. package/build/src/clients/ledger-json-api/schemas/api/updates.d.ts +2341 -1414
  30. package/build/src/clients/ledger-json-api/schemas/api/updates.d.ts.map +1 -1
  31. package/build/src/clients/ledger-json-api/schemas/api/updates.js +86 -42
  32. package/build/src/clients/ledger-json-api/schemas/api/updates.js.map +1 -1
  33. package/build/src/clients/ledger-json-api/schemas/common.d.ts +13 -6
  34. package/build/src/clients/ledger-json-api/schemas/common.d.ts.map +1 -1
  35. package/build/src/clients/ledger-json-api/schemas/common.js +16 -6
  36. package/build/src/clients/ledger-json-api/schemas/common.js.map +1 -1
  37. package/build/src/clients/ledger-json-api/schemas/operations/commands.d.ts +28 -20
  38. package/build/src/clients/ledger-json-api/schemas/operations/commands.d.ts.map +1 -1
  39. package/build/src/clients/ledger-json-api/schemas/wire.d.ts +23 -2
  40. package/build/src/clients/ledger-json-api/schemas/wire.d.ts.map +1 -1
  41. package/build/src/clients/ledger-json-api/schemas/wire.js +23 -3
  42. package/build/src/clients/ledger-json-api/schemas/wire.js.map +1 -1
  43. package/build/src/utils/traffic/paid-traffic-cost.d.ts +2 -2
  44. package/build/src/utils/traffic/paid-traffic-cost.d.ts.map +1 -1
  45. package/build/src/utils/traffic/paid-traffic-cost.js +2 -5
  46. package/build/src/utils/traffic/paid-traffic-cost.js.map +1 -1
  47. package/package.json +9 -9
@@ -52,391 +52,244 @@ export type SubscribeToUpdatesParams = z.infer<typeof SubscribeToUpdatesParamsSc
52
52
  */
53
53
  onTokenRefreshNeeded?: WebSocketOptions['onTokenRefreshNeeded'];
54
54
  };
55
- declare const UpdatesWsMessageSchema: z.ZodUnion<readonly [z.ZodObject<{
55
+ /**
56
+ * Runtime wire union for `/v2/updates` WebSocket frames.
57
+ *
58
+ * AsyncAPI-only: value-wrapped {@link WsUpdateSchema} (`Transaction` / `Reassignment` / `TopologyTransaction` /
59
+ * `OffsetCheckpoint`). REST `JsTransaction`-named wrappers stay on REST response schemas, not this WS stream.
60
+ */
61
+ export declare const UpdatesWsMessageSchema: z.ZodUnion<readonly [z.ZodObject<{
56
62
  update: z.ZodUnion<readonly [z.ZodObject<{
57
- JsTransaction: z.ZodObject<{
58
- updateId: z.ZodString;
59
- commandId: z.ZodOptional<z.ZodString>;
60
- workflowId: z.ZodOptional<z.ZodString>;
61
- effectiveAt: z.ZodString;
62
- offset: z.ZodNumber;
63
- events: z.ZodArray<z.ZodObject<{
64
- kind: z.ZodUnion<readonly [z.ZodObject<{
65
- JsCreated: z.ZodObject<{
66
- offset: z.ZodNumber;
67
- nodeId: z.ZodNumber;
68
- contractId: z.ZodString;
69
- templateId: z.ZodString;
70
- contractKey: z.ZodNullable<z.ZodString>;
71
- createArgument: z.ZodRecord<z.ZodString, z.ZodType<string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | /*elided*/ any | {
72
- [key: string]: string | number | boolean | /*elided*/ any | /*elided*/ any | null;
73
- } | null)[] | {
74
- [key: string]: string | number | boolean | any | any | null;
75
- } | null)[] | {
76
- [key: string]: string | number | boolean | any | any | null;
77
- } | null)[] | {
78
- [key: string]: string | number | boolean | any | any | null;
79
- } | null)[] | {
80
- [key: string]: string | number | boolean | any | any | null;
81
- } | null)[] | {
82
- [key: string]: string | number | boolean | any | any | null;
83
- } | null)[] | {
84
- [key: string]: string | number | boolean | any | any | null;
85
- } | null)[] | {
86
- [key: string]: string | number | boolean | any | any | null;
87
- } | null)[] | {
88
- [key: string]: string | number | boolean | any | any | null;
89
- } | null)[] | {
90
- [key: string]: string | number | boolean | any | any | null;
91
- } | null)[] | {
92
- [key: string]: string | number | boolean | any | any | null;
93
- } | null)[] | {
94
- [key: string]: string | number | boolean | any | any | null;
95
- } | null, unknown, z.core.$ZodTypeInternals<string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | any | {
96
- [key: string]: string | number | boolean | any | any | null;
97
- } | null)[] | {
98
- [key: string]: string | number | boolean | any | any | null;
99
- } | null)[] | {
100
- [key: string]: string | number | boolean | any | any | null;
101
- } | null)[] | {
102
- [key: string]: string | number | boolean | any | any | null;
103
- } | null)[] | {
104
- [key: string]: string | number | boolean | any | any | null;
105
- } | null)[] | {
106
- [key: string]: string | number | boolean | any | any | null;
107
- } | null)[] | {
108
- [key: string]: string | number | boolean | any | any | null;
109
- } | null)[] | {
110
- [key: string]: string | number | boolean | any | any | null;
111
- } | null)[] | {
112
- [key: string]: string | number | boolean | any | any | null;
113
- } | null)[] | {
114
- [key: string]: string | number | boolean | any | any | null;
115
- } | null)[] | {
116
- [key: string]: string | number | boolean | any | any | null;
117
- } | null)[] | {
118
- [key: string]: string | number | boolean | any | any | null;
119
- } | null, unknown>>>;
120
- createdEventBlob: z.ZodString;
121
- interfaceViews: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
122
- interfaceId: z.ZodString;
123
- implementationPackageId: z.ZodOptional<z.ZodString>;
124
- viewStatus: z.ZodObject<{
125
- code: z.ZodNumber;
126
- message: z.ZodString;
127
- details: z.ZodOptional<z.ZodArray<z.ZodUnknown>>;
128
- }, z.core.$strict>;
129
- viewValue: z.ZodOptional<z.ZodUnknown>;
130
- }, z.core.$strict>>>>;
131
- witnessParties: z.ZodArray<z.ZodString>;
132
- signatories: z.ZodArray<z.ZodString>;
133
- observers: z.ZodArray<z.ZodString>;
134
- createdAt: z.ZodString;
135
- packageName: z.ZodString;
136
- implementedInterfaces: z.ZodOptional<z.ZodArray<z.ZodString>>;
137
- }, z.core.$strip>;
138
- }, z.core.$strip>, z.ZodObject<{
139
- JsArchived: z.ZodObject<{
140
- offset: z.ZodNumber;
141
- nodeId: z.ZodNumber;
142
- contractId: z.ZodString;
143
- templateId: z.ZodString;
144
- witnessParties: z.ZodArray<z.ZodString>;
145
- packageName: z.ZodString;
146
- implementedInterfaces: z.ZodOptional<z.ZodArray<z.ZodString>>;
147
- }, z.core.$strip>;
148
- }, z.core.$strip>, z.ZodObject<{
149
- JsAssigned: z.ZodObject<{
150
- offset: z.ZodNumber;
151
- nodeId: z.ZodNumber;
152
- contractId: z.ZodString;
153
- templateId: z.ZodString;
63
+ OffsetCheckpoint: z.ZodObject<{
64
+ value: z.ZodObject<{
65
+ offset: z.ZodNumber;
66
+ synchronizerTimes: z.ZodArray<z.ZodObject<{
67
+ synchronizerId: z.ZodString;
68
+ recordTime: z.ZodString;
69
+ }, z.core.$strip>>;
70
+ }, z.core.$strip>;
71
+ }, z.core.$strip>;
72
+ }, z.core.$strip>, z.ZodObject<{
73
+ Reassignment: z.ZodObject<{
74
+ value: z.ZodObject<{
75
+ updateId: z.ZodString;
76
+ commandId: z.ZodOptional<z.ZodString>;
77
+ workflowId: z.ZodOptional<z.ZodString>;
78
+ offset: z.ZodNumber;
79
+ events: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
80
+ JsAssignmentEvent: z.ZodObject<{
154
81
  source: z.ZodString;
155
82
  target: z.ZodString;
156
83
  reassignmentId: z.ZodString;
157
84
  submitter: z.ZodString;
158
85
  reassignmentCounter: z.ZodNumber;
159
- packageName: z.ZodString;
86
+ createdEvent: z.ZodObject<{
87
+ offset: z.ZodNumber;
88
+ nodeId: z.ZodNumber;
89
+ contractId: z.ZodString;
90
+ templateId: z.ZodString;
91
+ 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>>>;
92
+ contractKeyHash: z.ZodOptional<z.ZodString>;
93
+ 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 | {
94
+ [key: string]: string | number | boolean | /*elided*/ any | /*elided*/ any | null;
95
+ } | null)[] | {
96
+ [key: string]: string | number | boolean | any | any | null;
97
+ } | null)[] | {
98
+ [key: string]: string | number | boolean | any | any | null;
99
+ } | null)[] | {
100
+ [key: string]: string | number | boolean | any | any | null;
101
+ } | null)[] | {
102
+ [key: string]: string | number | boolean | any | any | null;
103
+ } | null)[] | {
104
+ [key: string]: string | number | boolean | any | any | null;
105
+ } | null)[] | {
106
+ [key: string]: string | number | boolean | any | any | null;
107
+ } | null)[] | {
108
+ [key: string]: string | number | boolean | any | any | null;
109
+ } | null)[] | {
110
+ [key: string]: string | number | boolean | any | any | null;
111
+ } | null)[] | {
112
+ [key: string]: string | number | boolean | any | any | null;
113
+ } | null)[] | {
114
+ [key: string]: string | number | boolean | any | any | null;
115
+ } | null)[] | {
116
+ [key: string]: string | number | boolean | any | any | null;
117
+ } | null, 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 | {
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)[] | {
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, unknown>>>;
142
+ createdEventBlob: z.ZodOptional<z.ZodString>;
143
+ interfaceViews: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
144
+ interfaceId: z.ZodString;
145
+ implementationPackageId: z.ZodOptional<z.ZodString>;
146
+ viewStatus: z.ZodObject<{
147
+ code: z.ZodNumber;
148
+ message: z.ZodString;
149
+ details: z.ZodOptional<z.ZodArray<z.ZodUnknown>>;
150
+ }, z.core.$strict>;
151
+ viewValue: z.ZodOptional<z.ZodUnknown>;
152
+ }, z.core.$strict>>>>;
153
+ witnessParties: z.ZodArray<z.ZodString>;
154
+ signatories: z.ZodArray<z.ZodString>;
155
+ observers: z.ZodOptional<z.ZodArray<z.ZodString>>;
156
+ createdAt: z.ZodString;
157
+ packageName: z.ZodString;
158
+ representativePackageId: z.ZodOptional<z.ZodString>;
159
+ acsDelta: z.ZodOptional<z.ZodBoolean>;
160
+ implementedInterfaces: z.ZodOptional<z.ZodArray<z.ZodString>>;
161
+ }, z.core.$loose>;
160
162
  }, z.core.$strip>;
161
163
  }, z.core.$strip>, z.ZodObject<{
162
- JsUnassigned: z.ZodObject<{
163
- offset: z.ZodNumber;
164
- nodeId: z.ZodNumber;
165
- contractId: z.ZodString;
166
- templateId: z.ZodString;
167
- source: z.ZodString;
168
- target: z.ZodString;
169
- reassignmentId: z.ZodString;
170
- submitter: z.ZodString;
171
- reassignmentCounter: z.ZodNumber;
172
- packageName: z.ZodString;
164
+ JsUnassignedEvent: z.ZodObject<{
165
+ value: z.ZodObject<{
166
+ offset: z.ZodNumber;
167
+ nodeId: z.ZodNumber;
168
+ contractId: z.ZodString;
169
+ templateId: z.ZodString;
170
+ source: z.ZodString;
171
+ target: z.ZodString;
172
+ reassignmentId: z.ZodString;
173
+ submitter: z.ZodString;
174
+ reassignmentCounter: z.ZodNumber;
175
+ packageName: z.ZodString;
176
+ }, z.core.$loose>;
173
177
  }, z.core.$strip>;
174
- }, z.core.$strip>]>;
178
+ }, z.core.$strip>]>>;
179
+ traceContext: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodObject<{
180
+ traceparent: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>, z.ZodTransform<string | undefined, string | null>>>;
181
+ tracestate: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>, z.ZodTransform<string | undefined, string | null>>>;
182
+ traceId: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>, z.ZodTransform<string | undefined, string | null>>>;
183
+ spanId: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>, z.ZodTransform<string | undefined, string | null>>>;
184
+ parentSpanId: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>, z.ZodTransform<string | undefined, string | null>>>;
185
+ 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>>>;
186
+ }, z.core.$loose>, z.ZodNull]>, z.ZodTransform<{
187
+ [x: string]: unknown;
188
+ traceparent?: string | undefined;
189
+ tracestate?: string | undefined;
190
+ traceId?: string | undefined;
191
+ spanId?: string | undefined;
192
+ parentSpanId?: string | undefined;
193
+ metadata?: Record<string, string> | undefined;
194
+ } | undefined, {
195
+ [x: string]: unknown;
196
+ traceparent?: string | undefined;
197
+ tracestate?: string | undefined;
198
+ traceId?: string | undefined;
199
+ spanId?: string | undefined;
200
+ parentSpanId?: string | undefined;
201
+ metadata?: Record<string, string> | undefined;
202
+ } | null>>>;
203
+ recordTime: z.ZodString;
175
204
  synchronizerId: z.ZodString;
176
- reassignmentCounter: z.ZodNumber;
177
- }, z.core.$strip>>;
178
- traceContext: z.ZodOptional<z.ZodObject<{
179
- traceId: z.ZodOptional<z.ZodString>;
180
- spanId: z.ZodOptional<z.ZodString>;
181
- parentSpanId: z.ZodOptional<z.ZodString>;
182
- metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
183
- }, z.core.$strip>>;
184
- recordTime: z.ZodString;
205
+ 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>>>;
206
+ }, z.core.$loose>;
185
207
  }, z.core.$strip>;
186
208
  }, z.core.$strip>, z.ZodObject<{
187
- JsTransactionTree: z.ZodObject<{
188
- updateId: z.ZodString;
189
- commandId: z.ZodOptional<z.ZodString>;
190
- workflowId: z.ZodOptional<z.ZodString>;
191
- effectiveAt: z.ZodString;
192
- offset: z.ZodNumber;
193
- eventsById: z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodObject<{
194
- CreatedTreeEvent: z.ZodObject<{
195
- value: z.ZodObject<{
196
- offset: z.ZodNumber;
197
- nodeId: z.ZodNumber;
198
- contractId: z.ZodString;
199
- templateId: z.ZodString;
200
- contractKey: z.ZodNullable<z.ZodString>;
201
- 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 | {
202
- [key: string]: string | number | boolean | any | any | null;
203
- } | null)[] | {
204
- [key: string]: string | number | boolean | any | any | null;
205
- } | null)[] | {
206
- [key: string]: string | number | boolean | any | any | null;
207
- } | null)[] | {
208
- [key: string]: string | number | boolean | any | any | null;
209
- } | null)[] | {
210
- [key: string]: string | number | boolean | any | any | null;
211
- } | null)[] | {
212
- [key: string]: string | number | boolean | any | any | null;
213
- } | null)[] | {
214
- [key: string]: string | number | boolean | any | any | null;
215
- } | null)[] | {
216
- [key: string]: string | number | boolean | any | any | null;
217
- } | null)[] | {
218
- [key: string]: string | number | boolean | any | any | null;
219
- } | null)[] | {
220
- [key: string]: string | number | boolean | any | any | null;
221
- } | null)[] | {
222
- [key: string]: string | number | boolean | any | any | null;
223
- } | null)[] | {
224
- [key: string]: string | number | boolean | any | any | null;
225
- } | 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 | {
226
- [key: string]: string | number | boolean | any | any | null;
227
- } | null)[] | {
228
- [key: string]: string | number | boolean | any | any | null;
229
- } | null)[] | {
230
- [key: string]: string | number | boolean | any | any | null;
231
- } | null)[] | {
232
- [key: string]: string | number | boolean | any | any | null;
233
- } | null)[] | {
234
- [key: string]: string | number | boolean | any | any | null;
235
- } | null)[] | {
236
- [key: string]: string | number | boolean | any | any | null;
237
- } | null)[] | {
238
- [key: string]: string | number | boolean | any | any | null;
239
- } | null)[] | {
240
- [key: string]: string | number | boolean | any | any | null;
241
- } | null)[] | {
242
- [key: string]: string | number | boolean | any | any | null;
243
- } | null)[] | {
244
- [key: string]: string | number | boolean | any | any | null;
245
- } | null)[] | {
246
- [key: string]: string | number | boolean | any | any | null;
247
- } | null)[] | {
248
- [key: string]: string | number | boolean | any | any | null;
249
- } | null, unknown>>>;
250
- createdEventBlob: z.ZodString;
251
- interfaceViews: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
252
- interfaceId: z.ZodString;
253
- implementationPackageId: z.ZodOptional<z.ZodString>;
254
- viewStatus: z.ZodObject<{
255
- code: z.ZodNumber;
256
- message: z.ZodString;
257
- details: z.ZodOptional<z.ZodArray<z.ZodUnknown>>;
258
- }, z.core.$strict>;
259
- viewValue: z.ZodOptional<z.ZodUnknown>;
260
- }, z.core.$strict>>>>;
261
- witnessParties: z.ZodArray<z.ZodString>;
262
- signatories: z.ZodArray<z.ZodString>;
263
- observers: z.ZodArray<z.ZodString>;
264
- createdAt: z.ZodString;
265
- packageName: z.ZodString;
266
- implementedInterfaces: z.ZodOptional<z.ZodArray<z.ZodString>>;
267
- }, z.core.$strict>;
268
- }, z.core.$strict>;
269
- }, z.core.$strict>, z.ZodObject<{
270
- ExercisedTreeEvent: z.ZodObject<{
271
- value: z.ZodObject<{
272
- offset: z.ZodNumber;
273
- nodeId: z.ZodNumber;
274
- contractId: z.ZodString;
275
- templateId: z.ZodString;
276
- interfaceId: z.ZodNullable<z.ZodString>;
277
- choice: z.ZodString;
278
- 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 | {
279
- [key: string]: string | number | boolean | any | any | null;
280
- } | null)[] | {
281
- [key: string]: string | number | boolean | any | any | null;
282
- } | null)[] | {
283
- [key: string]: string | number | boolean | any | any | null;
284
- } | null)[] | {
285
- [key: string]: string | number | boolean | any | any | null;
286
- } | null)[] | {
287
- [key: string]: string | number | boolean | any | any | null;
288
- } | null)[] | {
289
- [key: string]: string | number | boolean | any | any | null;
290
- } | null)[] | {
291
- [key: string]: string | number | boolean | any | any | null;
292
- } | null)[] | {
293
- [key: string]: string | number | boolean | any | any | null;
294
- } | null)[] | {
295
- [key: string]: string | number | boolean | any | any | null;
296
- } | null)[] | {
297
- [key: string]: string | number | boolean | any | any | null;
298
- } | null)[] | {
299
- [key: string]: string | number | boolean | any | any | null;
300
- } | null)[] | {
301
- [key: string]: string | number | boolean | any | any | null;
302
- } | 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 | {
303
- [key: string]: string | number | boolean | any | any | null;
304
- } | null)[] | {
305
- [key: string]: string | number | boolean | any | any | null;
306
- } | null)[] | {
307
- [key: string]: string | number | boolean | any | any | null;
308
- } | null)[] | {
309
- [key: string]: string | number | boolean | any | any | null;
310
- } | null)[] | {
311
- [key: string]: string | number | boolean | any | any | null;
312
- } | null)[] | {
313
- [key: string]: string | number | boolean | any | any | null;
314
- } | null)[] | {
315
- [key: string]: string | number | boolean | any | any | null;
316
- } | null)[] | {
317
- [key: string]: string | number | boolean | any | any | null;
318
- } | null)[] | {
319
- [key: string]: string | number | boolean | any | any | null;
320
- } | null)[] | {
321
- [key: string]: string | number | boolean | any | any | null;
322
- } | null)[] | {
323
- [key: string]: string | number | boolean | any | any | null;
324
- } | null)[] | {
325
- [key: string]: string | number | boolean | any | any | null;
326
- } | null, unknown>>>;
327
- actingParties: z.ZodArray<z.ZodString>;
328
- witnessParties: z.ZodArray<z.ZodString>;
329
- 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 | {
330
- [key: string]: string | number | boolean | any | any | null;
331
- } | null)[] | {
332
- [key: string]: string | number | boolean | any | any | null;
333
- } | null)[] | {
334
- [key: string]: string | number | boolean | any | any | null;
335
- } | null)[] | {
336
- [key: string]: string | number | boolean | any | any | null;
337
- } | null)[] | {
338
- [key: string]: string | number | boolean | any | any | null;
339
- } | null)[] | {
340
- [key: string]: string | number | boolean | any | any | null;
341
- } | null)[] | {
342
- [key: string]: string | number | boolean | any | any | null;
343
- } | null)[] | {
344
- [key: string]: string | number | boolean | any | any | null;
345
- } | null)[] | {
346
- [key: string]: string | number | boolean | any | any | null;
347
- } | null)[] | {
348
- [key: string]: string | number | boolean | any | any | null;
349
- } | null)[] | {
350
- [key: string]: string | number | boolean | any | any | null;
351
- } | null)[] | {
352
- [key: string]: string | number | boolean | any | any | null;
353
- } | 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 | {
354
- [key: string]: string | number | boolean | any | any | null;
355
- } | null)[] | {
356
- [key: string]: string | number | boolean | any | any | null;
357
- } | null)[] | {
358
- [key: string]: string | number | boolean | any | any | null;
359
- } | null)[] | {
360
- [key: string]: string | number | boolean | any | any | null;
361
- } | null)[] | {
362
- [key: string]: string | number | boolean | any | any | null;
363
- } | null)[] | {
364
- [key: string]: string | number | boolean | any | any | null;
365
- } | null)[] | {
366
- [key: string]: string | number | boolean | any | any | null;
367
- } | null)[] | {
368
- [key: string]: string | number | boolean | any | any | null;
369
- } | null)[] | {
370
- [key: string]: string | number | boolean | any | any | null;
371
- } | null)[] | {
372
- [key: string]: string | number | boolean | any | any | null;
373
- } | null)[] | {
374
- [key: string]: string | number | boolean | any | any | null;
375
- } | null)[] | {
376
- [key: string]: string | number | boolean | any | any | null;
377
- } | null, unknown>>>;
378
- packageName: z.ZodString;
379
- consuming: z.ZodBoolean;
380
- lastDescendantNodeId: z.ZodOptional<z.ZodNumber>;
381
- implementedInterfaces: z.ZodOptional<z.ZodArray<z.ZodString>>;
382
- }, z.core.$strict>;
383
- }, z.core.$strict>;
384
- }, z.core.$strict>, z.ZodObject<{
385
- ArchivedTreeEvent: z.ZodObject<{
386
- value: z.ZodObject<{
387
- offset: z.ZodNumber;
388
- nodeId: z.ZodNumber;
389
- contractId: z.ZodString;
390
- templateId: z.ZodString;
391
- witnessParties: z.ZodArray<z.ZodString>;
392
- packageName: z.ZodString;
393
- implementedInterfaces: z.ZodOptional<z.ZodArray<z.ZodString>>;
394
- }, z.core.$strict>;
395
- }, z.core.$strict>;
396
- }, z.core.$strict>]>>;
397
- recordTime: z.ZodString;
398
- }, z.core.$strip>;
399
- }, z.core.$strip>, z.ZodObject<{
400
- OffsetCheckpoint: z.ZodObject<{
209
+ TopologyTransaction: z.ZodObject<{
401
210
  value: z.ZodObject<{
211
+ updateId: z.ZodString;
402
212
  offset: z.ZodNumber;
403
- synchronizerTimes: z.ZodArray<z.ZodObject<{
404
- synchronizerId: z.ZodString;
405
- recordTime: z.ZodString;
406
- }, z.core.$strip>>;
407
- }, z.core.$strip>;
213
+ recordTime: z.ZodString;
214
+ synchronizerId: z.ZodString;
215
+ events: z.ZodArray<z.ZodObject<{
216
+ event: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
217
+ Empty: z.ZodObject<{}, z.core.$strip>;
218
+ }, z.core.$strip>, z.ZodObject<{
219
+ ParticipantAuthorizationAdded: z.ZodObject<{
220
+ value: z.ZodObject<{
221
+ partyId: z.ZodString;
222
+ participantId: z.ZodString;
223
+ participantPermission: z.ZodOptional<z.ZodString>;
224
+ }, z.core.$strip>;
225
+ }, z.core.$strip>;
226
+ }, z.core.$strip>, z.ZodObject<{
227
+ ParticipantAuthorizationChanged: z.ZodObject<{
228
+ value: z.ZodObject<{
229
+ partyId: z.ZodString;
230
+ participantId: z.ZodString;
231
+ participantPermission: z.ZodOptional<z.ZodString>;
232
+ }, z.core.$strip>;
233
+ }, z.core.$strip>;
234
+ }, z.core.$strip>, z.ZodObject<{
235
+ ParticipantAuthorizationOnboarding: z.ZodObject<{
236
+ value: z.ZodObject<{
237
+ partyId: z.ZodString;
238
+ participantId: z.ZodString;
239
+ participantPermission: z.ZodOptional<z.ZodString>;
240
+ }, z.core.$strip>;
241
+ }, z.core.$strip>;
242
+ }, z.core.$strip>, z.ZodObject<{
243
+ ParticipantAuthorizationRevoked: z.ZodObject<{
244
+ value: z.ZodObject<{
245
+ partyId: z.ZodString;
246
+ participantId: z.ZodString;
247
+ }, z.core.$strip>;
248
+ }, z.core.$strip>;
249
+ }, z.core.$strip>]>>;
250
+ }, z.core.$loose>>;
251
+ traceContext: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodObject<{
252
+ traceparent: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>, z.ZodTransform<string | undefined, string | null>>>;
253
+ tracestate: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>, z.ZodTransform<string | undefined, string | null>>>;
254
+ traceId: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>, z.ZodTransform<string | undefined, string | null>>>;
255
+ spanId: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>, z.ZodTransform<string | undefined, string | null>>>;
256
+ parentSpanId: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>, z.ZodTransform<string | undefined, string | null>>>;
257
+ 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>>>;
258
+ }, z.core.$loose>, z.ZodNull]>, z.ZodTransform<{
259
+ [x: string]: unknown;
260
+ traceparent?: string | undefined;
261
+ tracestate?: string | undefined;
262
+ traceId?: string | undefined;
263
+ spanId?: string | undefined;
264
+ parentSpanId?: string | undefined;
265
+ metadata?: Record<string, string> | undefined;
266
+ } | undefined, {
267
+ [x: string]: unknown;
268
+ traceparent?: string | undefined;
269
+ tracestate?: string | undefined;
270
+ traceId?: string | undefined;
271
+ spanId?: string | undefined;
272
+ parentSpanId?: string | undefined;
273
+ metadata?: Record<string, string> | undefined;
274
+ } | null>>>;
275
+ }, z.core.$loose>;
408
276
  }, z.core.$strip>;
409
- }, z.core.$strip>]>;
410
- }, z.core.$strip>, z.ZodObject<{
411
- update: z.ZodUnion<readonly [z.ZodObject<{
412
- OffsetCheckpoint: z.ZodObject<{
277
+ }, z.core.$strip>, z.ZodObject<{
278
+ Transaction: z.ZodObject<{
413
279
  value: z.ZodObject<{
280
+ updateId: z.ZodString;
281
+ commandId: z.ZodOptional<z.ZodString>;
282
+ workflowId: z.ZodOptional<z.ZodString>;
283
+ effectiveAt: z.ZodString;
414
284
  offset: z.ZodNumber;
415
- synchronizerTimes: z.ZodArray<z.ZodObject<{
416
- synchronizerId: z.ZodString;
417
- recordTime: z.ZodString;
418
- }, z.core.$strip>>;
419
- }, z.core.$strip>;
420
- }, z.core.$strip>;
421
- }, z.core.$strip>, z.ZodObject<{
422
- Reassignment: z.ZodObject<{
423
- updateId: z.ZodString;
424
- commandId: z.ZodOptional<z.ZodString>;
425
- workflowId: z.ZodOptional<z.ZodString>;
426
- offset: z.ZodNumber;
427
- events: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
428
- JsAssignmentEvent: z.ZodObject<{
429
- source: z.ZodString;
430
- target: z.ZodString;
431
- reassignmentId: z.ZodString;
432
- submitter: z.ZodString;
433
- reassignmentCounter: z.ZodNumber;
434
- createdEvent: z.ZodObject<{
285
+ events: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
286
+ CreatedEvent: z.ZodObject<{
435
287
  offset: z.ZodNumber;
436
288
  nodeId: z.ZodNumber;
437
289
  contractId: z.ZodString;
438
290
  templateId: z.ZodString;
439
- contractKey: z.ZodNullable<z.ZodString>;
291
+ 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>>>;
292
+ contractKeyHash: z.ZodOptional<z.ZodString>;
440
293
  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 | {
441
294
  [key: string]: string | number | boolean | any | any | null;
442
295
  } | null)[] | {
@@ -486,7 +339,7 @@ declare const UpdatesWsMessageSchema: z.ZodUnion<readonly [z.ZodObject<{
486
339
  } | null)[] | {
487
340
  [key: string]: string | number | boolean | any | any | null;
488
341
  } | null, unknown>>>;
489
- createdEventBlob: z.ZodString;
342
+ createdEventBlob: z.ZodOptional<z.ZodString>;
490
343
  interfaceViews: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
491
344
  interfaceId: z.ZodString;
492
345
  implementationPackageId: z.ZodOptional<z.ZodString>;
@@ -499,64 +352,32 @@ declare const UpdatesWsMessageSchema: z.ZodUnion<readonly [z.ZodObject<{
499
352
  }, z.core.$strict>>>>;
500
353
  witnessParties: z.ZodArray<z.ZodString>;
501
354
  signatories: z.ZodArray<z.ZodString>;
502
- observers: z.ZodArray<z.ZodString>;
355
+ observers: z.ZodOptional<z.ZodArray<z.ZodString>>;
503
356
  createdAt: z.ZodString;
504
357
  packageName: z.ZodString;
358
+ representativePackageId: z.ZodOptional<z.ZodString>;
359
+ acsDelta: z.ZodOptional<z.ZodBoolean>;
505
360
  implementedInterfaces: z.ZodOptional<z.ZodArray<z.ZodString>>;
506
- }, z.core.$strip>;
507
- }, z.core.$strip>;
508
- }, z.core.$strip>, z.ZodObject<{
509
- JsUnassignedEvent: z.ZodObject<{
510
- value: z.ZodObject<{
361
+ }, z.core.$loose>;
362
+ }, z.core.$strip>, z.ZodObject<{
363
+ ArchivedEvent: z.ZodObject<{
511
364
  offset: z.ZodNumber;
512
365
  nodeId: z.ZodNumber;
513
366
  contractId: z.ZodString;
514
367
  templateId: z.ZodString;
515
- source: z.ZodString;
516
- target: z.ZodString;
517
- reassignmentId: z.ZodString;
518
- submitter: z.ZodString;
519
- reassignmentCounter: z.ZodNumber;
368
+ witnessParties: z.ZodArray<z.ZodString>;
520
369
  packageName: z.ZodString;
521
- }, z.core.$strip>;
522
- }, z.core.$strip>;
523
- }, z.core.$strip>]>>;
524
- traceContext: z.ZodOptional<z.ZodObject<{
525
- traceId: z.ZodOptional<z.ZodString>;
526
- spanId: z.ZodOptional<z.ZodString>;
527
- parentSpanId: z.ZodOptional<z.ZodString>;
528
- metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
529
- }, z.core.$strip>>;
530
- recordTime: z.ZodString;
531
- }, z.core.$strip>;
532
- }, z.core.$strip>, z.ZodObject<{
533
- TopologyTransaction: z.ZodObject<{
534
- updateId: z.ZodString;
535
- offset: z.ZodNumber;
536
- recordTime: z.ZodString;
537
- synchronizerId: z.ZodString;
538
- events: z.ZodArray<z.ZodObject<{
539
- participantId: z.ZodOptional<z.ZodString>;
540
- partyId: z.ZodOptional<z.ZodString>;
541
- permission: z.ZodOptional<z.ZodString>;
542
- }, z.core.$strip>>;
543
- }, z.core.$strip>;
544
- }, z.core.$strip>, z.ZodObject<{
545
- Transaction: z.ZodObject<{
546
- updateId: z.ZodString;
547
- commandId: z.ZodOptional<z.ZodString>;
548
- workflowId: z.ZodOptional<z.ZodString>;
549
- effectiveAt: z.ZodString;
550
- offset: z.ZodNumber;
551
- events: z.ZodArray<z.ZodObject<{
552
- kind: z.ZodUnion<readonly [z.ZodObject<{
553
- JsCreated: z.ZodObject<{
370
+ implementedInterfaces: z.ZodOptional<z.ZodArray<z.ZodString>>;
371
+ }, z.core.$loose>;
372
+ }, z.core.$strip>, z.ZodObject<{
373
+ ExercisedEvent: z.ZodObject<{
554
374
  offset: z.ZodNumber;
555
375
  nodeId: z.ZodNumber;
556
376
  contractId: z.ZodString;
557
377
  templateId: z.ZodString;
558
- contractKey: z.ZodNullable<z.ZodString>;
559
- 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 | {
378
+ interfaceId: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>, z.ZodTransform<string | undefined, string | null>>>;
379
+ choice: z.ZodString;
380
+ 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 | {
560
381
  [key: string]: string | number | boolean | any | any | null;
561
382
  } | null)[] | {
562
383
  [key: string]: string | number | boolean | any | any | null;
@@ -605,74 +426,48 @@ declare const UpdatesWsMessageSchema: z.ZodUnion<readonly [z.ZodObject<{
605
426
  } | null)[] | {
606
427
  [key: string]: string | number | boolean | any | any | null;
607
428
  } | null, unknown>>>;
608
- createdEventBlob: z.ZodString;
609
- interfaceViews: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
610
- interfaceId: z.ZodString;
611
- implementationPackageId: z.ZodOptional<z.ZodString>;
612
- viewStatus: z.ZodObject<{
613
- code: z.ZodNumber;
614
- message: z.ZodString;
615
- details: z.ZodOptional<z.ZodArray<z.ZodUnknown>>;
616
- }, z.core.$strict>;
617
- viewValue: z.ZodOptional<z.ZodUnknown>;
618
- }, z.core.$strict>>>>;
619
- witnessParties: z.ZodArray<z.ZodString>;
620
- signatories: z.ZodArray<z.ZodString>;
621
- observers: z.ZodArray<z.ZodString>;
622
- createdAt: z.ZodString;
623
- packageName: z.ZodString;
624
- implementedInterfaces: z.ZodOptional<z.ZodArray<z.ZodString>>;
625
- }, z.core.$strip>;
626
- }, z.core.$strip>, z.ZodObject<{
627
- JsArchived: z.ZodObject<{
628
- offset: z.ZodNumber;
629
- nodeId: z.ZodNumber;
630
- contractId: z.ZodString;
631
- templateId: z.ZodString;
429
+ actingParties: z.ZodArray<z.ZodString>;
430
+ consuming: z.ZodBoolean;
632
431
  witnessParties: z.ZodArray<z.ZodString>;
432
+ lastDescendantNodeId: z.ZodNumber;
433
+ exerciseResult: z.ZodOptional<z.ZodType<import("../../..").LedgerJsonValue, unknown, z.core.$ZodTypeInternals<import("../../..").LedgerJsonValue, unknown>>>;
633
434
  packageName: z.ZodString;
634
435
  implementedInterfaces: z.ZodOptional<z.ZodArray<z.ZodString>>;
635
- }, z.core.$strip>;
636
- }, z.core.$strip>, z.ZodObject<{
637
- JsAssigned: z.ZodObject<{
638
- offset: z.ZodNumber;
639
- nodeId: z.ZodNumber;
640
- contractId: z.ZodString;
641
- templateId: z.ZodString;
642
- source: z.ZodString;
643
- target: z.ZodString;
644
- reassignmentId: z.ZodString;
645
- submitter: z.ZodString;
646
- reassignmentCounter: z.ZodNumber;
647
- packageName: z.ZodString;
648
- }, z.core.$strip>;
649
- }, z.core.$strip>, z.ZodObject<{
650
- JsUnassigned: z.ZodObject<{
651
- offset: z.ZodNumber;
652
- nodeId: z.ZodNumber;
653
- contractId: z.ZodString;
654
- templateId: z.ZodString;
655
- source: z.ZodString;
656
- target: z.ZodString;
657
- reassignmentId: z.ZodString;
658
- submitter: z.ZodString;
659
- reassignmentCounter: z.ZodNumber;
660
- packageName: z.ZodString;
661
- }, z.core.$strip>;
662
- }, z.core.$strip>]>;
436
+ acsDelta: z.ZodOptional<z.ZodBoolean>;
437
+ }, z.core.$loose>;
438
+ }, z.core.$strip>]>>;
663
439
  synchronizerId: z.ZodString;
664
- reassignmentCounter: z.ZodNumber;
665
- }, z.core.$strip>>;
666
- traceContext: z.ZodOptional<z.ZodObject<{
667
- traceId: z.ZodOptional<z.ZodString>;
668
- spanId: z.ZodOptional<z.ZodString>;
669
- parentSpanId: z.ZodOptional<z.ZodString>;
670
- metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
671
- }, z.core.$strip>>;
672
- recordTime: z.ZodString;
440
+ traceContext: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodObject<{
441
+ traceparent: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>, z.ZodTransform<string | undefined, string | null>>>;
442
+ tracestate: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>, z.ZodTransform<string | undefined, string | null>>>;
443
+ traceId: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>, z.ZodTransform<string | undefined, string | null>>>;
444
+ spanId: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>, z.ZodTransform<string | undefined, string | null>>>;
445
+ parentSpanId: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>, z.ZodTransform<string | undefined, string | null>>>;
446
+ 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>>>;
447
+ }, z.core.$loose>, z.ZodNull]>, z.ZodTransform<{
448
+ [x: string]: unknown;
449
+ traceparent?: string | undefined;
450
+ tracestate?: string | undefined;
451
+ traceId?: string | undefined;
452
+ spanId?: string | undefined;
453
+ parentSpanId?: string | undefined;
454
+ metadata?: Record<string, string> | undefined;
455
+ } | undefined, {
456
+ [x: string]: unknown;
457
+ traceparent?: string | undefined;
458
+ tracestate?: string | undefined;
459
+ traceId?: string | undefined;
460
+ spanId?: string | undefined;
461
+ parentSpanId?: string | undefined;
462
+ metadata?: Record<string, string> | undefined;
463
+ } | null>>>;
464
+ recordTime: z.ZodString;
465
+ externalTransactionHash: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>, z.ZodTransform<string | undefined, string | null>>>;
466
+ 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>>>;
467
+ }, z.core.$loose>;
673
468
  }, z.core.$strip>;
674
469
  }, z.core.$strip>]>;
675
- }, z.core.$strip>, z.ZodObject<{
470
+ }, z.core.$loose>, z.ZodObject<{
676
471
  code: z.ZodObject<{
677
472
  kind: z.ZodUnion<readonly [z.ZodObject<{
678
473
  JsAborted: z.ZodObject<{}, z.core.$strip>;