@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
@@ -43,7 +43,8 @@ export declare const JsActiveContractSchema: z.ZodObject<{
43
43
  nodeId: z.ZodNumber;
44
44
  contractId: z.ZodString;
45
45
  templateId: z.ZodString;
46
- contractKey: z.ZodNullable<z.ZodString>;
46
+ 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>>>;
47
+ contractKeyHash: z.ZodOptional<z.ZodString>;
47
48
  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 | {
48
49
  [key: string]: string | number | boolean | /*elided*/ any | /*elided*/ any | null;
49
50
  } | null)[] | {
@@ -93,7 +94,7 @@ export declare const JsActiveContractSchema: z.ZodObject<{
93
94
  } | null)[] | {
94
95
  [key: string]: string | number | boolean | any | any | null;
95
96
  } | null, unknown>>>;
96
- createdEventBlob: z.ZodString;
97
+ createdEventBlob: z.ZodOptional<z.ZodString>;
97
98
  interfaceViews: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
98
99
  interfaceId: z.ZodString;
99
100
  implementationPackageId: z.ZodOptional<z.ZodString>;
@@ -106,11 +107,13 @@ export declare const JsActiveContractSchema: z.ZodObject<{
106
107
  }, z.core.$strict>>>>;
107
108
  witnessParties: z.ZodArray<z.ZodString>;
108
109
  signatories: z.ZodArray<z.ZodString>;
109
- observers: z.ZodArray<z.ZodString>;
110
+ observers: z.ZodOptional<z.ZodArray<z.ZodString>>;
110
111
  createdAt: z.ZodString;
111
112
  packageName: z.ZodString;
113
+ representativePackageId: z.ZodOptional<z.ZodString>;
114
+ acsDelta: z.ZodOptional<z.ZodBoolean>;
112
115
  implementedInterfaces: z.ZodOptional<z.ZodArray<z.ZodString>>;
113
- }, z.core.$strip>;
116
+ }, z.core.$loose>;
114
117
  synchronizerId: z.ZodString;
115
118
  reassignmentCounter: z.ZodNumber;
116
119
  }, z.core.$strip>;
@@ -124,7 +127,7 @@ export declare const JsArchivedSchema: z.ZodObject<{
124
127
  witnessParties: z.ZodArray<z.ZodString>;
125
128
  packageName: z.ZodString;
126
129
  implementedInterfaces: z.ZodOptional<z.ZodArray<z.ZodString>>;
127
- }, z.core.$strip>;
130
+ }, z.core.$loose>;
128
131
  synchronizerId: z.ZodString;
129
132
  }, z.core.$strip>;
130
133
  /** Incomplete assigned contract details. */
@@ -140,7 +143,7 @@ export declare const JsIncompleteAssignedSchema: z.ZodObject<{
140
143
  submitter: z.ZodString;
141
144
  reassignmentCounter: z.ZodNumber;
142
145
  packageName: z.ZodString;
143
- }, z.core.$strip>;
146
+ }, z.core.$loose>;
144
147
  }, z.core.$strip>;
145
148
  /** Incomplete unassigned contract details. */
146
149
  export declare const JsIncompleteUnassignedSchema: z.ZodObject<{
@@ -149,7 +152,8 @@ export declare const JsIncompleteUnassignedSchema: z.ZodObject<{
149
152
  nodeId: z.ZodNumber;
150
153
  contractId: z.ZodString;
151
154
  templateId: z.ZodString;
152
- contractKey: z.ZodNullable<z.ZodString>;
155
+ 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>>>;
156
+ contractKeyHash: z.ZodOptional<z.ZodString>;
153
157
  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 | {
154
158
  [key: string]: string | number | boolean | /*elided*/ any | /*elided*/ any | null;
155
159
  } | null)[] | {
@@ -199,7 +203,7 @@ export declare const JsIncompleteUnassignedSchema: z.ZodObject<{
199
203
  } | null)[] | {
200
204
  [key: string]: string | number | boolean | any | any | null;
201
205
  } | null, unknown>>>;
202
- createdEventBlob: z.ZodString;
206
+ createdEventBlob: z.ZodOptional<z.ZodString>;
203
207
  interfaceViews: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
204
208
  interfaceId: z.ZodString;
205
209
  implementationPackageId: z.ZodOptional<z.ZodString>;
@@ -212,11 +216,13 @@ export declare const JsIncompleteUnassignedSchema: z.ZodObject<{
212
216
  }, z.core.$strict>>>>;
213
217
  witnessParties: z.ZodArray<z.ZodString>;
214
218
  signatories: z.ZodArray<z.ZodString>;
215
- observers: z.ZodArray<z.ZodString>;
219
+ observers: z.ZodOptional<z.ZodArray<z.ZodString>>;
216
220
  createdAt: z.ZodString;
217
221
  packageName: z.ZodString;
222
+ representativePackageId: z.ZodOptional<z.ZodString>;
223
+ acsDelta: z.ZodOptional<z.ZodBoolean>;
218
224
  implementedInterfaces: z.ZodOptional<z.ZodArray<z.ZodString>>;
219
- }, z.core.$strip>;
225
+ }, z.core.$loose>;
220
226
  unassignedEvent: z.ZodObject<{
221
227
  offset: z.ZodNumber;
222
228
  nodeId: z.ZodNumber;
@@ -228,7 +234,7 @@ export declare const JsIncompleteUnassignedSchema: z.ZodObject<{
228
234
  submitter: z.ZodString;
229
235
  reassignmentCounter: z.ZodNumber;
230
236
  packageName: z.ZodString;
231
- }, z.core.$strip>;
237
+ }, z.core.$loose>;
232
238
  }, z.core.$strip>;
233
239
  /** Empty contract entry. */
234
240
  export declare const JsEmptySchema: z.ZodObject<{}, z.core.$strip>;
@@ -240,7 +246,8 @@ export declare const JsContractEntrySchema: z.ZodUnion<readonly [z.ZodObject<{
240
246
  nodeId: z.ZodNumber;
241
247
  contractId: z.ZodString;
242
248
  templateId: z.ZodString;
243
- contractKey: z.ZodNullable<z.ZodString>;
249
+ 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>>>;
250
+ contractKeyHash: z.ZodOptional<z.ZodString>;
244
251
  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 | {
245
252
  [key: string]: string | number | boolean | /*elided*/ any | /*elided*/ any | null;
246
253
  } | null)[] | {
@@ -290,7 +297,7 @@ export declare const JsContractEntrySchema: z.ZodUnion<readonly [z.ZodObject<{
290
297
  } | null)[] | {
291
298
  [key: string]: string | number | boolean | any | any | null;
292
299
  } | null, unknown>>>;
293
- createdEventBlob: z.ZodString;
300
+ createdEventBlob: z.ZodOptional<z.ZodString>;
294
301
  interfaceViews: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
295
302
  interfaceId: z.ZodString;
296
303
  implementationPackageId: z.ZodOptional<z.ZodString>;
@@ -303,11 +310,13 @@ export declare const JsContractEntrySchema: z.ZodUnion<readonly [z.ZodObject<{
303
310
  }, z.core.$strict>>>>;
304
311
  witnessParties: z.ZodArray<z.ZodString>;
305
312
  signatories: z.ZodArray<z.ZodString>;
306
- observers: z.ZodArray<z.ZodString>;
313
+ observers: z.ZodOptional<z.ZodArray<z.ZodString>>;
307
314
  createdAt: z.ZodString;
308
315
  packageName: z.ZodString;
316
+ representativePackageId: z.ZodOptional<z.ZodString>;
317
+ acsDelta: z.ZodOptional<z.ZodBoolean>;
309
318
  implementedInterfaces: z.ZodOptional<z.ZodArray<z.ZodString>>;
310
- }, z.core.$strip>;
319
+ }, z.core.$loose>;
311
320
  synchronizerId: z.ZodString;
312
321
  reassignmentCounter: z.ZodNumber;
313
322
  }, z.core.$strip>;
@@ -326,7 +335,7 @@ export declare const JsContractEntrySchema: z.ZodUnion<readonly [z.ZodObject<{
326
335
  submitter: z.ZodString;
327
336
  reassignmentCounter: z.ZodNumber;
328
337
  packageName: z.ZodString;
329
- }, z.core.$strip>;
338
+ }, z.core.$loose>;
330
339
  }, z.core.$strip>;
331
340
  }, z.core.$strip>, z.ZodObject<{
332
341
  JsIncompleteUnassigned: z.ZodObject<{
@@ -335,7 +344,8 @@ export declare const JsContractEntrySchema: z.ZodUnion<readonly [z.ZodObject<{
335
344
  nodeId: z.ZodNumber;
336
345
  contractId: z.ZodString;
337
346
  templateId: z.ZodString;
338
- contractKey: z.ZodNullable<z.ZodString>;
347
+ 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>>>;
348
+ contractKeyHash: z.ZodOptional<z.ZodString>;
339
349
  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 | {
340
350
  [key: string]: string | number | boolean | any | any | null;
341
351
  } | null)[] | {
@@ -385,7 +395,7 @@ export declare const JsContractEntrySchema: z.ZodUnion<readonly [z.ZodObject<{
385
395
  } | null)[] | {
386
396
  [key: string]: string | number | boolean | any | any | null;
387
397
  } | null, unknown>>>;
388
- createdEventBlob: z.ZodString;
398
+ createdEventBlob: z.ZodOptional<z.ZodString>;
389
399
  interfaceViews: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
390
400
  interfaceId: z.ZodString;
391
401
  implementationPackageId: z.ZodOptional<z.ZodString>;
@@ -398,11 +408,13 @@ export declare const JsContractEntrySchema: z.ZodUnion<readonly [z.ZodObject<{
398
408
  }, z.core.$strict>>>>;
399
409
  witnessParties: z.ZodArray<z.ZodString>;
400
410
  signatories: z.ZodArray<z.ZodString>;
401
- observers: z.ZodArray<z.ZodString>;
411
+ observers: z.ZodOptional<z.ZodArray<z.ZodString>>;
402
412
  createdAt: z.ZodString;
403
413
  packageName: z.ZodString;
414
+ representativePackageId: z.ZodOptional<z.ZodString>;
415
+ acsDelta: z.ZodOptional<z.ZodBoolean>;
404
416
  implementedInterfaces: z.ZodOptional<z.ZodArray<z.ZodString>>;
405
- }, z.core.$strip>;
417
+ }, z.core.$loose>;
406
418
  unassignedEvent: z.ZodObject<{
407
419
  offset: z.ZodNumber;
408
420
  nodeId: z.ZodNumber;
@@ -414,7 +426,7 @@ export declare const JsContractEntrySchema: z.ZodUnion<readonly [z.ZodObject<{
414
426
  submitter: z.ZodString;
415
427
  reassignmentCounter: z.ZodNumber;
416
428
  packageName: z.ZodString;
417
- }, z.core.$strip>;
429
+ }, z.core.$loose>;
418
430
  }, z.core.$strip>;
419
431
  }, z.core.$strip>]>;
420
432
  /** Get active contracts response item. */
@@ -427,7 +439,8 @@ export declare const JsGetActiveContractsResponseItemSchema: z.ZodObject<{
427
439
  nodeId: z.ZodNumber;
428
440
  contractId: z.ZodString;
429
441
  templateId: z.ZodString;
430
- contractKey: z.ZodNullable<z.ZodString>;
442
+ 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>>>;
443
+ contractKeyHash: z.ZodOptional<z.ZodString>;
431
444
  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 | {
432
445
  [key: string]: string | number | boolean | /*elided*/ any | /*elided*/ any | null;
433
446
  } | null)[] | {
@@ -477,7 +490,7 @@ export declare const JsGetActiveContractsResponseItemSchema: z.ZodObject<{
477
490
  } | null)[] | {
478
491
  [key: string]: string | number | boolean | any | any | null;
479
492
  } | null, unknown>>>;
480
- createdEventBlob: z.ZodString;
493
+ createdEventBlob: z.ZodOptional<z.ZodString>;
481
494
  interfaceViews: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
482
495
  interfaceId: z.ZodString;
483
496
  implementationPackageId: z.ZodOptional<z.ZodString>;
@@ -490,11 +503,13 @@ export declare const JsGetActiveContractsResponseItemSchema: z.ZodObject<{
490
503
  }, z.core.$strict>>>>;
491
504
  witnessParties: z.ZodArray<z.ZodString>;
492
505
  signatories: z.ZodArray<z.ZodString>;
493
- observers: z.ZodArray<z.ZodString>;
506
+ observers: z.ZodOptional<z.ZodArray<z.ZodString>>;
494
507
  createdAt: z.ZodString;
495
508
  packageName: z.ZodString;
509
+ representativePackageId: z.ZodOptional<z.ZodString>;
510
+ acsDelta: z.ZodOptional<z.ZodBoolean>;
496
511
  implementedInterfaces: z.ZodOptional<z.ZodArray<z.ZodString>>;
497
- }, z.core.$strip>;
512
+ }, z.core.$loose>;
498
513
  synchronizerId: z.ZodString;
499
514
  reassignmentCounter: z.ZodNumber;
500
515
  }, z.core.$strip>;
@@ -513,7 +528,7 @@ export declare const JsGetActiveContractsResponseItemSchema: z.ZodObject<{
513
528
  submitter: z.ZodString;
514
529
  reassignmentCounter: z.ZodNumber;
515
530
  packageName: z.ZodString;
516
- }, z.core.$strip>;
531
+ }, z.core.$loose>;
517
532
  }, z.core.$strip>;
518
533
  }, z.core.$strip>, z.ZodObject<{
519
534
  JsIncompleteUnassigned: z.ZodObject<{
@@ -522,7 +537,8 @@ export declare const JsGetActiveContractsResponseItemSchema: z.ZodObject<{
522
537
  nodeId: z.ZodNumber;
523
538
  contractId: z.ZodString;
524
539
  templateId: z.ZodString;
525
- contractKey: z.ZodNullable<z.ZodString>;
540
+ 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>>>;
541
+ contractKeyHash: z.ZodOptional<z.ZodString>;
526
542
  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 | {
527
543
  [key: string]: string | number | boolean | any | any | null;
528
544
  } | null)[] | {
@@ -572,7 +588,7 @@ export declare const JsGetActiveContractsResponseItemSchema: z.ZodObject<{
572
588
  } | null)[] | {
573
589
  [key: string]: string | number | boolean | any | any | null;
574
590
  } | null, unknown>>>;
575
- createdEventBlob: z.ZodString;
591
+ createdEventBlob: z.ZodOptional<z.ZodString>;
576
592
  interfaceViews: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
577
593
  interfaceId: z.ZodString;
578
594
  implementationPackageId: z.ZodOptional<z.ZodString>;
@@ -585,11 +601,13 @@ export declare const JsGetActiveContractsResponseItemSchema: z.ZodObject<{
585
601
  }, z.core.$strict>>>>;
586
602
  witnessParties: z.ZodArray<z.ZodString>;
587
603
  signatories: z.ZodArray<z.ZodString>;
588
- observers: z.ZodArray<z.ZodString>;
604
+ observers: z.ZodOptional<z.ZodArray<z.ZodString>>;
589
605
  createdAt: z.ZodString;
590
606
  packageName: z.ZodString;
607
+ representativePackageId: z.ZodOptional<z.ZodString>;
608
+ acsDelta: z.ZodOptional<z.ZodBoolean>;
591
609
  implementedInterfaces: z.ZodOptional<z.ZodArray<z.ZodString>>;
592
- }, z.core.$strip>;
610
+ }, z.core.$loose>;
593
611
  unassignedEvent: z.ZodObject<{
594
612
  offset: z.ZodNumber;
595
613
  nodeId: z.ZodNumber;
@@ -601,7 +619,7 @@ export declare const JsGetActiveContractsResponseItemSchema: z.ZodObject<{
601
619
  submitter: z.ZodString;
602
620
  reassignmentCounter: z.ZodNumber;
603
621
  packageName: z.ZodString;
604
- }, z.core.$strip>;
622
+ }, z.core.$loose>;
605
623
  }, z.core.$strip>;
606
624
  }, z.core.$strip>]>;
607
625
  }, z.core.$strip>;
@@ -615,7 +633,8 @@ export declare const JsGetActiveContractsResponseSchema: z.ZodArray<z.ZodObject<
615
633
  nodeId: z.ZodNumber;
616
634
  contractId: z.ZodString;
617
635
  templateId: z.ZodString;
618
- contractKey: z.ZodNullable<z.ZodString>;
636
+ 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>>>;
637
+ contractKeyHash: z.ZodOptional<z.ZodString>;
619
638
  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 | {
620
639
  [key: string]: string | number | boolean | /*elided*/ any | /*elided*/ any | null;
621
640
  } | null)[] | {
@@ -665,7 +684,7 @@ export declare const JsGetActiveContractsResponseSchema: z.ZodArray<z.ZodObject<
665
684
  } | null)[] | {
666
685
  [key: string]: string | number | boolean | any | any | null;
667
686
  } | null, unknown>>>;
668
- createdEventBlob: z.ZodString;
687
+ createdEventBlob: z.ZodOptional<z.ZodString>;
669
688
  interfaceViews: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
670
689
  interfaceId: z.ZodString;
671
690
  implementationPackageId: z.ZodOptional<z.ZodString>;
@@ -678,11 +697,13 @@ export declare const JsGetActiveContractsResponseSchema: z.ZodArray<z.ZodObject<
678
697
  }, z.core.$strict>>>>;
679
698
  witnessParties: z.ZodArray<z.ZodString>;
680
699
  signatories: z.ZodArray<z.ZodString>;
681
- observers: z.ZodArray<z.ZodString>;
700
+ observers: z.ZodOptional<z.ZodArray<z.ZodString>>;
682
701
  createdAt: z.ZodString;
683
702
  packageName: z.ZodString;
703
+ representativePackageId: z.ZodOptional<z.ZodString>;
704
+ acsDelta: z.ZodOptional<z.ZodBoolean>;
684
705
  implementedInterfaces: z.ZodOptional<z.ZodArray<z.ZodString>>;
685
- }, z.core.$strip>;
706
+ }, z.core.$loose>;
686
707
  synchronizerId: z.ZodString;
687
708
  reassignmentCounter: z.ZodNumber;
688
709
  }, z.core.$strip>;
@@ -701,7 +722,7 @@ export declare const JsGetActiveContractsResponseSchema: z.ZodArray<z.ZodObject<
701
722
  submitter: z.ZodString;
702
723
  reassignmentCounter: z.ZodNumber;
703
724
  packageName: z.ZodString;
704
- }, z.core.$strip>;
725
+ }, z.core.$loose>;
705
726
  }, z.core.$strip>;
706
727
  }, z.core.$strip>, z.ZodObject<{
707
728
  JsIncompleteUnassigned: z.ZodObject<{
@@ -710,7 +731,8 @@ export declare const JsGetActiveContractsResponseSchema: z.ZodArray<z.ZodObject<
710
731
  nodeId: z.ZodNumber;
711
732
  contractId: z.ZodString;
712
733
  templateId: z.ZodString;
713
- contractKey: z.ZodNullable<z.ZodString>;
734
+ 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>>>;
735
+ contractKeyHash: z.ZodOptional<z.ZodString>;
714
736
  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 | {
715
737
  [key: string]: string | number | boolean | any | any | null;
716
738
  } | null)[] | {
@@ -760,7 +782,7 @@ export declare const JsGetActiveContractsResponseSchema: z.ZodArray<z.ZodObject<
760
782
  } | null)[] | {
761
783
  [key: string]: string | number | boolean | any | any | null;
762
784
  } | null, unknown>>>;
763
- createdEventBlob: z.ZodString;
785
+ createdEventBlob: z.ZodOptional<z.ZodString>;
764
786
  interfaceViews: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
765
787
  interfaceId: z.ZodString;
766
788
  implementationPackageId: z.ZodOptional<z.ZodString>;
@@ -773,11 +795,13 @@ export declare const JsGetActiveContractsResponseSchema: z.ZodArray<z.ZodObject<
773
795
  }, z.core.$strict>>>>;
774
796
  witnessParties: z.ZodArray<z.ZodString>;
775
797
  signatories: z.ZodArray<z.ZodString>;
776
- observers: z.ZodArray<z.ZodString>;
798
+ observers: z.ZodOptional<z.ZodArray<z.ZodString>>;
777
799
  createdAt: z.ZodString;
778
800
  packageName: z.ZodString;
801
+ representativePackageId: z.ZodOptional<z.ZodString>;
802
+ acsDelta: z.ZodOptional<z.ZodBoolean>;
779
803
  implementedInterfaces: z.ZodOptional<z.ZodArray<z.ZodString>>;
780
- }, z.core.$strip>;
804
+ }, z.core.$loose>;
781
805
  unassignedEvent: z.ZodObject<{
782
806
  offset: z.ZodNumber;
783
807
  nodeId: z.ZodNumber;
@@ -789,7 +813,7 @@ export declare const JsGetActiveContractsResponseSchema: z.ZodArray<z.ZodObject<
789
813
  submitter: z.ZodString;
790
814
  reassignmentCounter: z.ZodNumber;
791
815
  packageName: z.ZodString;
792
- }, z.core.$strip>;
816
+ }, z.core.$loose>;
793
817
  }, z.core.$strip>;
794
818
  }, z.core.$strip>]>;
795
819
  }, z.core.$strip>>;
@@ -1 +1 @@
1
- {"version":3,"file":"state.d.ts","sourceRoot":"","sources":["../../../../../../src/clients/ledger-json-api/schemas/api/state.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAUxB,oCAAoC;AACpC,eAAO,MAAM,+BAA+B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAK1C,CAAC;AAEH,+BAA+B;AAC/B,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAOjC,CAAC;AAEH,iCAAiC;AACjC,eAAO,MAAM,gBAAgB;;;;;;;;;;;iBAK3B,CAAC;AAEH,4CAA4C;AAC5C,eAAO,MAAM,0BAA0B;;;;;;;;;;;;;iBAGrC,CAAC;AAEH,8CAA8C;AAC9C,eAAO,MAAM,4BAA4B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAKvC,CAAC;AAEH,4BAA4B;AAC5B,eAAO,MAAM,aAAa,gCAAe,CAAC;AAE1C,uDAAuD;AACvD,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;mBAKhC,CAAC;AAEH,0CAA0C;AAC1C,eAAO,MAAM,sCAAsC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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