@fairmint/canton-node-sdk 0.0.48 → 0.0.50

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 (185) hide show
  1. package/build/src/clients/ledger-json-api/operations/v2/authenticated-user/get.d.ts +1 -1
  2. package/build/src/clients/ledger-json-api/operations/v2/commands/async/submit-reassignment.d.ts +2 -6
  3. package/build/src/clients/ledger-json-api/operations/v2/commands/async/submit-reassignment.d.ts.map +1 -1
  4. package/build/src/clients/ledger-json-api/operations/v2/commands/completions.d.ts +2 -14
  5. package/build/src/clients/ledger-json-api/operations/v2/commands/completions.d.ts.map +1 -1
  6. package/build/src/clients/ledger-json-api/operations/v2/commands/submit-and-wait-for-reassignment.d.ts +16 -16
  7. package/build/src/clients/ledger-json-api/operations/v2/events/get-events-by-contract-id.d.ts +2 -8
  8. package/build/src/clients/ledger-json-api/operations/v2/events/get-events-by-contract-id.d.ts.map +1 -1
  9. package/build/src/clients/ledger-json-api/operations/v2/idps/delete-idp.d.ts +1 -1
  10. package/build/src/clients/ledger-json-api/operations/v2/idps/get.d.ts +1 -1
  11. package/build/src/clients/ledger-json-api/operations/v2/idps/patch-idp.d.ts +3 -3
  12. package/build/src/clients/ledger-json-api/operations/v2/interactive-submission/allocate-party.d.ts +1 -1
  13. package/build/src/clients/ledger-json-api/operations/v2/interactive-submission/create-user.d.ts +6 -6
  14. package/build/src/clients/ledger-json-api/operations/v2/interactive-submission/get-preferred-package-version.d.ts +2 -2
  15. package/build/src/clients/ledger-json-api/operations/v2/interactive-submission/get-preferred-packages.d.ts +1 -1
  16. package/build/src/clients/ledger-json-api/operations/v2/interactive-submission/upload-dar.d.ts +2 -2
  17. package/build/src/clients/ledger-json-api/operations/v2/packages/get-package-status.d.ts +1 -6
  18. package/build/src/clients/ledger-json-api/operations/v2/packages/get-package-status.d.ts.map +1 -1
  19. package/build/src/clients/ledger-json-api/operations/v2/packages/post.d.ts +3 -11
  20. package/build/src/clients/ledger-json-api/operations/v2/packages/post.d.ts.map +1 -1
  21. package/build/src/clients/ledger-json-api/operations/v2/parties/get-party-details.d.ts +1 -1
  22. package/build/src/clients/ledger-json-api/operations/v2/parties/get.d.ts +1 -7
  23. package/build/src/clients/ledger-json-api/operations/v2/parties/get.d.ts.map +1 -1
  24. package/build/src/clients/ledger-json-api/operations/v2/parties/post.d.ts +2 -25
  25. package/build/src/clients/ledger-json-api/operations/v2/parties/post.d.ts.map +1 -1
  26. package/build/src/clients/ledger-json-api/operations/v2/state/get-active-contracts.d.ts +2 -2
  27. package/build/src/clients/ledger-json-api/operations/v2/updates/get-flats.d.ts +44 -44
  28. package/build/src/clients/ledger-json-api/operations/v2/updates/get-transaction-tree-by-id.d.ts +3 -11
  29. package/build/src/clients/ledger-json-api/operations/v2/updates/get-transaction-tree-by-id.d.ts.map +1 -1
  30. package/build/src/clients/ledger-json-api/operations/v2/updates/get-transaction-tree-by-offset.d.ts +3 -11
  31. package/build/src/clients/ledger-json-api/operations/v2/updates/get-transaction-tree-by-offset.d.ts.map +1 -1
  32. package/build/src/clients/ledger-json-api/operations/v2/updates/get-trees.d.ts +22 -22
  33. package/build/src/clients/ledger-json-api/operations/v2/users/delete-user.d.ts +1 -5
  34. package/build/src/clients/ledger-json-api/operations/v2/users/delete-user.d.ts.map +1 -1
  35. package/build/src/clients/ledger-json-api/operations/v2/users/get-user.d.ts +1 -7
  36. package/build/src/clients/ledger-json-api/operations/v2/users/get-user.d.ts.map +1 -1
  37. package/build/src/clients/ledger-json-api/operations/v2/users/list-user-rights.d.ts +1 -7
  38. package/build/src/clients/ledger-json-api/operations/v2/users/list-user-rights.d.ts.map +1 -1
  39. package/build/src/clients/ledger-json-api/operations/v2/users/list-users.d.ts +1 -7
  40. package/build/src/clients/ledger-json-api/operations/v2/users/list-users.d.ts.map +1 -1
  41. package/build/src/clients/ledger-json-api/schemas/api/command-responses.d.ts +3 -47
  42. package/build/src/clients/ledger-json-api/schemas/api/command-responses.d.ts.map +1 -1
  43. package/build/src/clients/ledger-json-api/schemas/api/command-responses.js +1 -1
  44. package/build/src/clients/ledger-json-api/schemas/api/command-responses.js.map +1 -1
  45. package/build/src/clients/ledger-json-api/schemas/api/commands.d.ts +81 -800
  46. package/build/src/clients/ledger-json-api/schemas/api/commands.d.ts.map +1 -1
  47. package/build/src/clients/ledger-json-api/schemas/api/completions.d.ts +67 -1261
  48. package/build/src/clients/ledger-json-api/schemas/api/completions.d.ts.map +1 -1
  49. package/build/src/clients/ledger-json-api/schemas/api/errors.d.ts +180 -1241
  50. package/build/src/clients/ledger-json-api/schemas/api/errors.d.ts.map +1 -1
  51. package/build/src/clients/ledger-json-api/schemas/api/errors.js +2 -2
  52. package/build/src/clients/ledger-json-api/schemas/api/errors.js.map +1 -1
  53. package/build/src/clients/ledger-json-api/schemas/api/event-details.d.ts +14 -156
  54. package/build/src/clients/ledger-json-api/schemas/api/event-details.d.ts.map +1 -1
  55. package/build/src/clients/ledger-json-api/schemas/api/event-details.js +1 -1
  56. package/build/src/clients/ledger-json-api/schemas/api/event-details.js.map +1 -1
  57. package/build/src/clients/ledger-json-api/schemas/api/events.d.ts +76 -1162
  58. package/build/src/clients/ledger-json-api/schemas/api/events.d.ts.map +1 -1
  59. package/build/src/clients/ledger-json-api/schemas/api/events.js +1 -1
  60. package/build/src/clients/ledger-json-api/schemas/api/events.js.map +1 -1
  61. package/build/src/clients/ledger-json-api/schemas/api/idps.d.ts +16 -206
  62. package/build/src/clients/ledger-json-api/schemas/api/idps.d.ts.map +1 -1
  63. package/build/src/clients/ledger-json-api/schemas/api/interactive-submission.d.ts +25 -289
  64. package/build/src/clients/ledger-json-api/schemas/api/interactive-submission.d.ts.map +1 -1
  65. package/build/src/clients/ledger-json-api/schemas/api/interactive-submission.js +2 -2
  66. package/build/src/clients/ledger-json-api/schemas/api/interactive-submission.js.map +1 -1
  67. package/build/src/clients/ledger-json-api/schemas/api/packages.d.ts +17 -171
  68. package/build/src/clients/ledger-json-api/schemas/api/packages.d.ts.map +1 -1
  69. package/build/src/clients/ledger-json-api/schemas/api/reassignment.d.ts +103 -2005
  70. package/build/src/clients/ledger-json-api/schemas/api/reassignment.d.ts.map +1 -1
  71. package/build/src/clients/ledger-json-api/schemas/api/state.d.ts +123 -2093
  72. package/build/src/clients/ledger-json-api/schemas/api/state.d.ts.map +1 -1
  73. package/build/src/clients/ledger-json-api/schemas/api/transactions.d.ts +106 -2149
  74. package/build/src/clients/ledger-json-api/schemas/api/transactions.d.ts.map +1 -1
  75. package/build/src/clients/ledger-json-api/schemas/api/transactions.js +1 -1
  76. package/build/src/clients/ledger-json-api/schemas/api/transactions.js.map +1 -1
  77. package/build/src/clients/ledger-json-api/schemas/api/updates.d.ts +445 -11374
  78. package/build/src/clients/ledger-json-api/schemas/api/updates.d.ts.map +1 -1
  79. package/build/src/clients/ledger-json-api/schemas/api/updates.js +1 -1
  80. package/build/src/clients/ledger-json-api/schemas/api/updates.js.map +1 -1
  81. package/build/src/clients/ledger-json-api/schemas/api/users.d.ts +169 -1741
  82. package/build/src/clients/ledger-json-api/schemas/api/users.d.ts.map +1 -1
  83. package/build/src/clients/ledger-json-api/schemas/api/users.js +1 -1
  84. package/build/src/clients/ledger-json-api/schemas/api/users.js.map +1 -1
  85. package/build/src/clients/ledger-json-api/schemas/base.d.ts +1 -1
  86. package/build/src/clients/ledger-json-api/schemas/base.d.ts.map +1 -1
  87. package/build/src/clients/ledger-json-api/schemas/base.js +2 -2
  88. package/build/src/clients/ledger-json-api/schemas/base.js.map +1 -1
  89. package/build/src/clients/ledger-json-api/schemas/common.d.ts +30 -323
  90. package/build/src/clients/ledger-json-api/schemas/common.d.ts.map +1 -1
  91. package/build/src/clients/ledger-json-api/schemas/common.js +4 -4
  92. package/build/src/clients/ledger-json-api/schemas/common.js.map +1 -1
  93. package/build/src/clients/ledger-json-api/schemas/operations/base.d.ts +1 -1
  94. package/build/src/clients/ledger-json-api/schemas/operations/base.d.ts.map +1 -1
  95. package/build/src/clients/ledger-json-api/schemas/operations/commands.d.ts +71 -348
  96. package/build/src/clients/ledger-json-api/schemas/operations/commands.d.ts.map +1 -1
  97. package/build/src/clients/ledger-json-api/schemas/operations/idps.d.ts +13 -87
  98. package/build/src/clients/ledger-json-api/schemas/operations/idps.d.ts.map +1 -1
  99. package/build/src/clients/ledger-json-api/schemas/operations/interactive-submission.d.ts +25 -250
  100. package/build/src/clients/ledger-json-api/schemas/operations/interactive-submission.d.ts.map +1 -1
  101. package/build/src/clients/ledger-json-api/schemas/operations/interactive-submission.js +1 -1
  102. package/build/src/clients/ledger-json-api/schemas/operations/interactive-submission.js.map +1 -1
  103. package/build/src/clients/ledger-json-api/schemas/operations/packages.d.ts +9 -61
  104. package/build/src/clients/ledger-json-api/schemas/operations/packages.d.ts.map +1 -1
  105. package/build/src/clients/ledger-json-api/schemas/operations/parties.d.ts +12 -126
  106. package/build/src/clients/ledger-json-api/schemas/operations/parties.d.ts.map +1 -1
  107. package/build/src/clients/ledger-json-api/schemas/operations/parties.js +2 -2
  108. package/build/src/clients/ledger-json-api/schemas/operations/parties.js.map +1 -1
  109. package/build/src/clients/ledger-json-api/schemas/operations/state.d.ts +6 -31
  110. package/build/src/clients/ledger-json-api/schemas/operations/state.d.ts.map +1 -1
  111. package/build/src/clients/ledger-json-api/schemas/operations/updates.d.ts +298 -6270
  112. package/build/src/clients/ledger-json-api/schemas/operations/updates.d.ts.map +1 -1
  113. package/build/src/clients/ledger-json-api/schemas/operations/updates.js +3 -3
  114. package/build/src/clients/ledger-json-api/schemas/operations/updates.js.map +1 -1
  115. package/build/src/clients/ledger-json-api/schemas/operations/users.d.ts +65 -594
  116. package/build/src/clients/ledger-json-api/schemas/operations/users.d.ts.map +1 -1
  117. package/build/src/clients/ledger-json-api/schemas/operations/users.js +2 -2
  118. package/build/src/clients/ledger-json-api/schemas/operations/users.js.map +1 -1
  119. package/build/src/clients/validator-api/operations/v0/scan-proxy/get-mining-round-details.d.ts +1 -1
  120. package/build/src/clients/validator-api/operations/v0/scan-proxy/lookup-featured-app-right.d.ts +1 -1
  121. package/build/src/clients/validator-api/operations/v0/scan-proxy/lookup-transfer-preapproval-by-party.d.ts +1 -1
  122. package/build/src/clients/validator-api/operations/v0/scan-proxy/registry/allocation-instruction/v1/get-allocation-factory.d.ts +1 -7
  123. package/build/src/clients/validator-api/operations/v0/scan-proxy/registry/allocation-instruction/v1/get-allocation-factory.d.ts.map +1 -1
  124. package/build/src/clients/validator-api/operations/v0/scan-proxy/registry/allocation-instruction/v1/get-allocation-factory.js +1 -1
  125. package/build/src/clients/validator-api/operations/v0/scan-proxy/registry/allocation-instruction/v1/get-allocation-factory.js.map +1 -1
  126. package/build/src/clients/validator-api/operations/v0/scan-proxy/registry/allocations/v1/get-allocation-cancel-context.d.ts +1 -7
  127. package/build/src/clients/validator-api/operations/v0/scan-proxy/registry/allocations/v1/get-allocation-cancel-context.d.ts.map +1 -1
  128. package/build/src/clients/validator-api/operations/v0/scan-proxy/registry/allocations/v1/get-allocation-cancel-context.js +1 -1
  129. package/build/src/clients/validator-api/operations/v0/scan-proxy/registry/allocations/v1/get-allocation-cancel-context.js.map +1 -1
  130. package/build/src/clients/validator-api/operations/v0/scan-proxy/registry/allocations/v1/get-allocation-transfer-context.d.ts +1 -7
  131. package/build/src/clients/validator-api/operations/v0/scan-proxy/registry/allocations/v1/get-allocation-transfer-context.d.ts.map +1 -1
  132. package/build/src/clients/validator-api/operations/v0/scan-proxy/registry/allocations/v1/get-allocation-transfer-context.js +1 -1
  133. package/build/src/clients/validator-api/operations/v0/scan-proxy/registry/allocations/v1/get-allocation-transfer-context.js.map +1 -1
  134. package/build/src/clients/validator-api/operations/v0/scan-proxy/registry/allocations/v1/get-allocation-withdraw-context.d.ts +1 -7
  135. package/build/src/clients/validator-api/operations/v0/scan-proxy/registry/allocations/v1/get-allocation-withdraw-context.d.ts.map +1 -1
  136. package/build/src/clients/validator-api/operations/v0/scan-proxy/registry/allocations/v1/get-allocation-withdraw-context.js +1 -1
  137. package/build/src/clients/validator-api/operations/v0/scan-proxy/registry/allocations/v1/get-allocation-withdraw-context.js.map +1 -1
  138. package/build/src/clients/validator-api/operations/v0/scan-proxy/registry/metadata/v1/get-instrument.d.ts +1 -5
  139. package/build/src/clients/validator-api/operations/v0/scan-proxy/registry/metadata/v1/get-instrument.d.ts.map +1 -1
  140. package/build/src/clients/validator-api/operations/v0/scan-proxy/registry/metadata/v1/list-instruments.d.ts +1 -7
  141. package/build/src/clients/validator-api/operations/v0/scan-proxy/registry/metadata/v1/list-instruments.d.ts.map +1 -1
  142. package/build/src/clients/validator-api/operations/v0/scan-proxy/registry/transfer-instruction/v1/get-transfer-factory.d.ts +1 -7
  143. package/build/src/clients/validator-api/operations/v0/scan-proxy/registry/transfer-instruction/v1/get-transfer-factory.d.ts.map +1 -1
  144. package/build/src/clients/validator-api/operations/v0/scan-proxy/registry/transfer-instruction/v1/get-transfer-factory.js +1 -1
  145. package/build/src/clients/validator-api/operations/v0/scan-proxy/registry/transfer-instruction/v1/get-transfer-factory.js.map +1 -1
  146. package/build/src/clients/validator-api/operations/v0/scan-proxy/registry/transfer-instruction/v1/get-transfer-instruction-accept-context.d.ts +1 -7
  147. package/build/src/clients/validator-api/operations/v0/scan-proxy/registry/transfer-instruction/v1/get-transfer-instruction-accept-context.d.ts.map +1 -1
  148. package/build/src/clients/validator-api/operations/v0/scan-proxy/registry/transfer-instruction/v1/get-transfer-instruction-accept-context.js +1 -1
  149. package/build/src/clients/validator-api/operations/v0/scan-proxy/registry/transfer-instruction/v1/get-transfer-instruction-accept-context.js.map +1 -1
  150. package/build/src/clients/validator-api/operations/v0/scan-proxy/registry/transfer-instruction/v1/get-transfer-instruction-reject-context.d.ts +1 -7
  151. package/build/src/clients/validator-api/operations/v0/scan-proxy/registry/transfer-instruction/v1/get-transfer-instruction-reject-context.d.ts.map +1 -1
  152. package/build/src/clients/validator-api/operations/v0/scan-proxy/registry/transfer-instruction/v1/get-transfer-instruction-reject-context.js +1 -1
  153. package/build/src/clients/validator-api/operations/v0/scan-proxy/registry/transfer-instruction/v1/get-transfer-instruction-reject-context.js.map +1 -1
  154. package/build/src/clients/validator-api/operations/v0/scan-proxy/registry/transfer-instruction/v1/get-transfer-instruction-withdraw-context.d.ts +1 -7
  155. package/build/src/clients/validator-api/operations/v0/scan-proxy/registry/transfer-instruction/v1/get-transfer-instruction-withdraw-context.d.ts.map +1 -1
  156. package/build/src/clients/validator-api/operations/v0/scan-proxy/registry/transfer-instruction/v1/get-transfer-instruction-withdraw-context.js +1 -1
  157. package/build/src/clients/validator-api/operations/v0/scan-proxy/registry/transfer-instruction/v1/get-transfer-instruction-withdraw-context.js.map +1 -1
  158. package/build/src/clients/validator-api/operations/v0/wallet/buy-traffic-requests/create.d.ts +2 -2
  159. package/build/src/clients/validator-api/operations/v0/wallet/buy-traffic-requests/get-status.d.ts +2 -1
  160. package/build/src/clients/validator-api/operations/v0/wallet/buy-traffic-requests/get-status.d.ts.map +1 -1
  161. package/build/src/clients/validator-api/operations/v0/wallet/buy-traffic-requests/get-status.js.map +1 -1
  162. package/build/src/clients/validator-api/operations/v0/wallet/transfer-offers/create.d.ts +1 -1
  163. package/build/src/clients/validator-api/operations/v0/wallet/transfer-offers/get-status.d.ts +2 -1
  164. package/build/src/clients/validator-api/operations/v0/wallet/transfer-offers/get-status.d.ts.map +1 -1
  165. package/build/src/clients/validator-api/operations/v0/wallet/transfer-offers/get-status.js.map +1 -1
  166. package/build/src/clients/validator-api/schemas/api/ans.d.ts +11 -55
  167. package/build/src/clients/validator-api/schemas/api/ans.d.ts.map +1 -1
  168. package/build/src/clients/validator-api/schemas/api/scan-proxy.d.ts +66 -734
  169. package/build/src/clients/validator-api/schemas/api/scan-proxy.d.ts.map +1 -1
  170. package/build/src/clients/validator-api/schemas/api/scan-proxy.js +4 -4
  171. package/build/src/clients/validator-api/schemas/api/scan-proxy.js.map +1 -1
  172. package/build/src/clients/validator-api/schemas/api/wallet.d.ts +38 -250
  173. package/build/src/clients/validator-api/schemas/api/wallet.d.ts.map +1 -1
  174. package/build/src/clients/validator-api/schemas/operations/ans.d.ts +5 -31
  175. package/build/src/clients/validator-api/schemas/operations/ans.d.ts.map +1 -1
  176. package/build/src/clients/validator-api/schemas/operations/scan-proxy.d.ts +17 -107
  177. package/build/src/clients/validator-api/schemas/operations/scan-proxy.d.ts.map +1 -1
  178. package/build/src/clients/validator-api/schemas/operations/scan-proxy.js +8 -8
  179. package/build/src/clients/validator-api/schemas/operations/scan-proxy.js.map +1 -1
  180. package/build/src/clients/validator-api/schemas/operations/wallet.d.ts +8 -62
  181. package/build/src/clients/validator-api/schemas/operations/wallet.d.ts.map +1 -1
  182. package/build/src/core/operations/ApiOperation.js +1 -1
  183. package/build/src/utils/amulet/transfer-to-preapproved.js +1 -1
  184. package/build/src/utils/amulet/transfer-to-preapproved.js.map +1 -1
  185. package/package.json +2 -2
@@ -1,17 +1,11 @@
1
1
  import { z } from 'zod';
2
2
  export declare const TransactionTreeSchema: z.ZodObject<{
3
- /** Unique update ID for the transaction. */
4
3
  updateId: z.ZodString;
5
- /** Command ID associated with the transaction (optional). */
6
4
  commandId: z.ZodOptional<z.ZodString>;
7
- /** Workflow ID associated with the transaction (optional). */
8
5
  workflowId: z.ZodOptional<z.ZodString>;
9
- /** Effective time of the transaction (ISO 8601). */
10
6
  effectiveAt: z.ZodString;
11
- /** Offset of the transaction in the ledger stream. */
12
7
  offset: z.ZodNumber;
13
- /** Map of event node IDs to tree events. */
14
- eventsById: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodObject<{
8
+ eventsById: z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodObject<{
15
9
  CreatedTreeEvent: z.ZodObject<{
16
10
  value: z.ZodObject<{
17
11
  offset: z.ZodNumber;
@@ -19,120 +13,18 @@ export declare const TransactionTreeSchema: z.ZodObject<{
19
13
  contractId: z.ZodString;
20
14
  templateId: z.ZodString;
21
15
  contractKey: z.ZodNullable<z.ZodString>;
22
- createArgument: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull, z.ZodRecord<z.ZodString, z.ZodAny>, z.ZodArray<z.ZodAny, "many">]>>;
16
+ createArgument: z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull, z.ZodRecord<z.ZodString, z.ZodAny>, z.ZodArray<z.ZodAny>]>>;
23
17
  createdEventBlob: z.ZodString;
24
- interfaceViews: z.ZodArray<z.ZodString, "many">;
25
- witnessParties: z.ZodArray<z.ZodString, "many">;
26
- signatories: z.ZodArray<z.ZodString, "many">;
27
- observers: z.ZodArray<z.ZodString, "many">;
18
+ interfaceViews: z.ZodArray<z.ZodString>;
19
+ witnessParties: z.ZodArray<z.ZodString>;
20
+ signatories: z.ZodArray<z.ZodString>;
21
+ observers: z.ZodArray<z.ZodString>;
28
22
  createdAt: z.ZodString;
29
23
  packageName: z.ZodString;
30
- implementedInterfaces: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
31
- }, "strict", z.ZodTypeAny, {
32
- contractId: string;
33
- offset: number;
34
- templateId: string;
35
- packageName: string;
36
- contractKey: string | null;
37
- createdEventBlob: string;
38
- nodeId: number;
39
- createArgument: Record<string, string | number | boolean | any[] | Record<string, any> | null>;
40
- interfaceViews: string[];
41
- witnessParties: string[];
42
- signatories: string[];
43
- observers: string[];
44
- createdAt: string;
45
- implementedInterfaces?: string[] | undefined;
46
- }, {
47
- contractId: string;
48
- offset: number;
49
- templateId: string;
50
- packageName: string;
51
- contractKey: string | null;
52
- createdEventBlob: string;
53
- nodeId: number;
54
- createArgument: Record<string, string | number | boolean | any[] | Record<string, any> | null>;
55
- interfaceViews: string[];
56
- witnessParties: string[];
57
- signatories: string[];
58
- observers: string[];
59
- createdAt: string;
60
- implementedInterfaces?: string[] | undefined;
61
- }>;
62
- }, "strict", z.ZodTypeAny, {
63
- value: {
64
- contractId: string;
65
- offset: number;
66
- templateId: string;
67
- packageName: string;
68
- contractKey: string | null;
69
- createdEventBlob: string;
70
- nodeId: number;
71
- createArgument: Record<string, string | number | boolean | any[] | Record<string, any> | null>;
72
- interfaceViews: string[];
73
- witnessParties: string[];
74
- signatories: string[];
75
- observers: string[];
76
- createdAt: string;
77
- implementedInterfaces?: string[] | undefined;
78
- };
79
- }, {
80
- value: {
81
- contractId: string;
82
- offset: number;
83
- templateId: string;
84
- packageName: string;
85
- contractKey: string | null;
86
- createdEventBlob: string;
87
- nodeId: number;
88
- createArgument: Record<string, string | number | boolean | any[] | Record<string, any> | null>;
89
- interfaceViews: string[];
90
- witnessParties: string[];
91
- signatories: string[];
92
- observers: string[];
93
- createdAt: string;
94
- implementedInterfaces?: string[] | undefined;
95
- };
96
- }>;
97
- }, "strict", z.ZodTypeAny, {
98
- CreatedTreeEvent: {
99
- value: {
100
- contractId: string;
101
- offset: number;
102
- templateId: string;
103
- packageName: string;
104
- contractKey: string | null;
105
- createdEventBlob: string;
106
- nodeId: number;
107
- createArgument: Record<string, string | number | boolean | any[] | Record<string, any> | null>;
108
- interfaceViews: string[];
109
- witnessParties: string[];
110
- signatories: string[];
111
- observers: string[];
112
- createdAt: string;
113
- implementedInterfaces?: string[] | undefined;
114
- };
115
- };
116
- }, {
117
- CreatedTreeEvent: {
118
- value: {
119
- contractId: string;
120
- offset: number;
121
- templateId: string;
122
- packageName: string;
123
- contractKey: string | null;
124
- createdEventBlob: string;
125
- nodeId: number;
126
- createArgument: Record<string, string | number | boolean | any[] | Record<string, any> | null>;
127
- interfaceViews: string[];
128
- witnessParties: string[];
129
- signatories: string[];
130
- observers: string[];
131
- createdAt: string;
132
- implementedInterfaces?: string[] | undefined;
133
- };
134
- };
135
- }>, z.ZodObject<{
24
+ implementedInterfaces: z.ZodOptional<z.ZodArray<z.ZodString>>;
25
+ }, z.core.$strict>;
26
+ }, z.core.$strict>;
27
+ }, z.core.$strict>, z.ZodObject<{
136
28
  ExercisedTreeEvent: z.ZodObject<{
137
29
  value: z.ZodObject<{
138
30
  offset: z.ZodNumber;
@@ -141,350 +33,44 @@ export declare const TransactionTreeSchema: z.ZodObject<{
141
33
  templateId: z.ZodString;
142
34
  interfaceId: z.ZodNullable<z.ZodString>;
143
35
  choice: z.ZodString;
144
- choiceArgument: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull, z.ZodRecord<z.ZodString, z.ZodAny>, z.ZodArray<z.ZodAny, "many">]>>;
145
- actingParties: z.ZodArray<z.ZodString, "many">;
146
- witnessParties: z.ZodArray<z.ZodString, "many">;
147
- exerciseResult: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull, z.ZodRecord<z.ZodString, z.ZodAny>, z.ZodArray<z.ZodAny, "many">]>>;
36
+ choiceArgument: z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull, z.ZodRecord<z.ZodString, z.ZodAny>, z.ZodArray<z.ZodAny>]>>;
37
+ actingParties: z.ZodArray<z.ZodString>;
38
+ witnessParties: z.ZodArray<z.ZodString>;
39
+ exerciseResult: z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull, z.ZodRecord<z.ZodString, z.ZodAny>, z.ZodArray<z.ZodAny>]>>;
148
40
  packageName: z.ZodString;
149
41
  consuming: z.ZodBoolean;
150
42
  lastDescendantNodeId: z.ZodOptional<z.ZodNumber>;
151
- implementedInterfaces: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
152
- }, "strict", z.ZodTypeAny, {
153
- contractId: string;
154
- offset: number;
155
- interfaceId: string | null;
156
- templateId: string;
157
- packageName: string;
158
- choice: string;
159
- choiceArgument: Record<string, string | number | boolean | any[] | Record<string, any> | null>;
160
- nodeId: number;
161
- witnessParties: string[];
162
- actingParties: string[];
163
- exerciseResult: Record<string, string | number | boolean | any[] | Record<string, any> | null>;
164
- consuming: boolean;
165
- implementedInterfaces?: string[] | undefined;
166
- lastDescendantNodeId?: number | undefined;
167
- }, {
168
- contractId: string;
169
- offset: number;
170
- interfaceId: string | null;
171
- templateId: string;
172
- packageName: string;
173
- choice: string;
174
- choiceArgument: Record<string, string | number | boolean | any[] | Record<string, any> | null>;
175
- nodeId: number;
176
- witnessParties: string[];
177
- actingParties: string[];
178
- exerciseResult: Record<string, string | number | boolean | any[] | Record<string, any> | null>;
179
- consuming: boolean;
180
- implementedInterfaces?: string[] | undefined;
181
- lastDescendantNodeId?: number | undefined;
182
- }>;
183
- }, "strict", z.ZodTypeAny, {
184
- value: {
185
- contractId: string;
186
- offset: number;
187
- interfaceId: string | null;
188
- templateId: string;
189
- packageName: string;
190
- choice: string;
191
- choiceArgument: Record<string, string | number | boolean | any[] | Record<string, any> | null>;
192
- nodeId: number;
193
- witnessParties: string[];
194
- actingParties: string[];
195
- exerciseResult: Record<string, string | number | boolean | any[] | Record<string, any> | null>;
196
- consuming: boolean;
197
- implementedInterfaces?: string[] | undefined;
198
- lastDescendantNodeId?: number | undefined;
199
- };
200
- }, {
201
- value: {
202
- contractId: string;
203
- offset: number;
204
- interfaceId: string | null;
205
- templateId: string;
206
- packageName: string;
207
- choice: string;
208
- choiceArgument: Record<string, string | number | boolean | any[] | Record<string, any> | null>;
209
- nodeId: number;
210
- witnessParties: string[];
211
- actingParties: string[];
212
- exerciseResult: Record<string, string | number | boolean | any[] | Record<string, any> | null>;
213
- consuming: boolean;
214
- implementedInterfaces?: string[] | undefined;
215
- lastDescendantNodeId?: number | undefined;
216
- };
217
- }>;
218
- }, "strict", z.ZodTypeAny, {
219
- ExercisedTreeEvent: {
220
- value: {
221
- contractId: string;
222
- offset: number;
223
- interfaceId: string | null;
224
- templateId: string;
225
- packageName: string;
226
- choice: string;
227
- choiceArgument: Record<string, string | number | boolean | any[] | Record<string, any> | null>;
228
- nodeId: number;
229
- witnessParties: string[];
230
- actingParties: string[];
231
- exerciseResult: Record<string, string | number | boolean | any[] | Record<string, any> | null>;
232
- consuming: boolean;
233
- implementedInterfaces?: string[] | undefined;
234
- lastDescendantNodeId?: number | undefined;
235
- };
236
- };
237
- }, {
238
- ExercisedTreeEvent: {
239
- value: {
240
- contractId: string;
241
- offset: number;
242
- interfaceId: string | null;
243
- templateId: string;
244
- packageName: string;
245
- choice: string;
246
- choiceArgument: Record<string, string | number | boolean | any[] | Record<string, any> | null>;
247
- nodeId: number;
248
- witnessParties: string[];
249
- actingParties: string[];
250
- exerciseResult: Record<string, string | number | boolean | any[] | Record<string, any> | null>;
251
- consuming: boolean;
252
- implementedInterfaces?: string[] | undefined;
253
- lastDescendantNodeId?: number | undefined;
254
- };
255
- };
256
- }>, z.ZodObject<{
43
+ implementedInterfaces: z.ZodOptional<z.ZodArray<z.ZodString>>;
44
+ }, z.core.$strict>;
45
+ }, z.core.$strict>;
46
+ }, z.core.$strict>, z.ZodObject<{
257
47
  ArchivedTreeEvent: z.ZodObject<{
258
48
  value: z.ZodObject<{
259
49
  offset: z.ZodNumber;
260
50
  nodeId: z.ZodNumber;
261
51
  contractId: z.ZodString;
262
52
  templateId: z.ZodString;
263
- witnessParties: z.ZodArray<z.ZodString, "many">;
53
+ witnessParties: z.ZodArray<z.ZodString>;
264
54
  packageName: z.ZodString;
265
- implementedInterfaces: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
266
- }, "strict", z.ZodTypeAny, {
267
- contractId: string;
268
- offset: number;
269
- templateId: string;
270
- packageName: string;
271
- nodeId: number;
272
- witnessParties: string[];
273
- implementedInterfaces?: string[] | undefined;
274
- }, {
275
- contractId: string;
276
- offset: number;
277
- templateId: string;
278
- packageName: string;
279
- nodeId: number;
280
- witnessParties: string[];
281
- implementedInterfaces?: string[] | undefined;
282
- }>;
283
- }, "strict", z.ZodTypeAny, {
284
- value: {
285
- contractId: string;
286
- offset: number;
287
- templateId: string;
288
- packageName: string;
289
- nodeId: number;
290
- witnessParties: string[];
291
- implementedInterfaces?: string[] | undefined;
292
- };
293
- }, {
294
- value: {
295
- contractId: string;
296
- offset: number;
297
- templateId: string;
298
- packageName: string;
299
- nodeId: number;
300
- witnessParties: string[];
301
- implementedInterfaces?: string[] | undefined;
302
- };
303
- }>;
304
- }, "strict", z.ZodTypeAny, {
305
- ArchivedTreeEvent: {
306
- value: {
307
- contractId: string;
308
- offset: number;
309
- templateId: string;
310
- packageName: string;
311
- nodeId: number;
312
- witnessParties: string[];
313
- implementedInterfaces?: string[] | undefined;
314
- };
315
- };
316
- }, {
317
- ArchivedTreeEvent: {
318
- value: {
319
- contractId: string;
320
- offset: number;
321
- templateId: string;
322
- packageName: string;
323
- nodeId: number;
324
- witnessParties: string[];
325
- implementedInterfaces?: string[] | undefined;
326
- };
327
- };
328
- }>]>>;
329
- /** Record time of the transaction (ISO 8601). */
55
+ implementedInterfaces: z.ZodOptional<z.ZodArray<z.ZodString>>;
56
+ }, z.core.$strict>;
57
+ }, z.core.$strict>;
58
+ }, z.core.$strict>]>>;
330
59
  recordTime: z.ZodString;
331
- /** Synchronizer ID for the transaction. */
332
60
  synchronizerId: z.ZodString;
333
- /** Trace context for distributed tracing (optional). */
334
61
  traceContext: z.ZodOptional<z.ZodObject<{
335
- /** W3C traceparent header value. */
336
62
  traceparent: z.ZodString;
337
- /** W3C tracestate header value (nullable). */
338
63
  tracestate: z.ZodNullable<z.ZodString>;
339
- }, "strip", z.ZodTypeAny, {
340
- traceparent: string;
341
- tracestate: string | null;
342
- }, {
343
- traceparent: string;
344
- tracestate: string | null;
345
- }>>;
346
- }, "strict", z.ZodTypeAny, {
347
- synchronizerId: string;
348
- offset: number;
349
- updateId: string;
350
- recordTime: string;
351
- effectiveAt: string;
352
- eventsById: Record<string, {
353
- CreatedTreeEvent: {
354
- value: {
355
- contractId: string;
356
- offset: number;
357
- templateId: string;
358
- packageName: string;
359
- contractKey: string | null;
360
- createdEventBlob: string;
361
- nodeId: number;
362
- createArgument: Record<string, string | number | boolean | any[] | Record<string, any> | null>;
363
- interfaceViews: string[];
364
- witnessParties: string[];
365
- signatories: string[];
366
- observers: string[];
367
- createdAt: string;
368
- implementedInterfaces?: string[] | undefined;
369
- };
370
- };
371
- } | {
372
- ExercisedTreeEvent: {
373
- value: {
374
- contractId: string;
375
- offset: number;
376
- interfaceId: string | null;
377
- templateId: string;
378
- packageName: string;
379
- choice: string;
380
- choiceArgument: Record<string, string | number | boolean | any[] | Record<string, any> | null>;
381
- nodeId: number;
382
- witnessParties: string[];
383
- actingParties: string[];
384
- exerciseResult: Record<string, string | number | boolean | any[] | Record<string, any> | null>;
385
- consuming: boolean;
386
- implementedInterfaces?: string[] | undefined;
387
- lastDescendantNodeId?: number | undefined;
388
- };
389
- };
390
- } | {
391
- ArchivedTreeEvent: {
392
- value: {
393
- contractId: string;
394
- offset: number;
395
- templateId: string;
396
- packageName: string;
397
- nodeId: number;
398
- witnessParties: string[];
399
- implementedInterfaces?: string[] | undefined;
400
- };
401
- };
402
- }>;
403
- commandId?: string | undefined;
404
- workflowId?: string | undefined;
405
- traceContext?: {
406
- traceparent: string;
407
- tracestate: string | null;
408
- } | undefined;
409
- }, {
410
- synchronizerId: string;
411
- offset: number;
412
- updateId: string;
413
- recordTime: string;
414
- effectiveAt: string;
415
- eventsById: Record<string, {
416
- CreatedTreeEvent: {
417
- value: {
418
- contractId: string;
419
- offset: number;
420
- templateId: string;
421
- packageName: string;
422
- contractKey: string | null;
423
- createdEventBlob: string;
424
- nodeId: number;
425
- createArgument: Record<string, string | number | boolean | any[] | Record<string, any> | null>;
426
- interfaceViews: string[];
427
- witnessParties: string[];
428
- signatories: string[];
429
- observers: string[];
430
- createdAt: string;
431
- implementedInterfaces?: string[] | undefined;
432
- };
433
- };
434
- } | {
435
- ExercisedTreeEvent: {
436
- value: {
437
- contractId: string;
438
- offset: number;
439
- interfaceId: string | null;
440
- templateId: string;
441
- packageName: string;
442
- choice: string;
443
- choiceArgument: Record<string, string | number | boolean | any[] | Record<string, any> | null>;
444
- nodeId: number;
445
- witnessParties: string[];
446
- actingParties: string[];
447
- exerciseResult: Record<string, string | number | boolean | any[] | Record<string, any> | null>;
448
- consuming: boolean;
449
- implementedInterfaces?: string[] | undefined;
450
- lastDescendantNodeId?: number | undefined;
451
- };
452
- };
453
- } | {
454
- ArchivedTreeEvent: {
455
- value: {
456
- contractId: string;
457
- offset: number;
458
- templateId: string;
459
- packageName: string;
460
- nodeId: number;
461
- witnessParties: string[];
462
- implementedInterfaces?: string[] | undefined;
463
- };
464
- };
465
- }>;
466
- commandId?: string | undefined;
467
- workflowId?: string | undefined;
468
- traceContext?: {
469
- traceparent: string;
470
- tracestate: string | null;
471
- } | undefined;
472
- }>;
64
+ }, z.core.$strip>>;
65
+ }, z.core.$strict>;
473
66
  export declare const CommandResponseSchema: z.ZodObject<{
474
- /** Transaction tree returned in response to a command. */
475
67
  transactionTree: z.ZodObject<{
476
- /** Unique update ID for the transaction. */
477
68
  updateId: z.ZodString;
478
- /** Command ID associated with the transaction (optional). */
479
69
  commandId: z.ZodOptional<z.ZodString>;
480
- /** Workflow ID associated with the transaction (optional). */
481
70
  workflowId: z.ZodOptional<z.ZodString>;
482
- /** Effective time of the transaction (ISO 8601). */
483
71
  effectiveAt: z.ZodString;
484
- /** Offset of the transaction in the ledger stream. */
485
72
  offset: z.ZodNumber;
486
- /** Map of event node IDs to tree events. */
487
- eventsById: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodObject<{
73
+ eventsById: z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodObject<{
488
74
  CreatedTreeEvent: z.ZodObject<{
489
75
  value: z.ZodObject<{
490
76
  offset: z.ZodNumber;
@@ -492,120 +78,18 @@ export declare const CommandResponseSchema: z.ZodObject<{
492
78
  contractId: z.ZodString;
493
79
  templateId: z.ZodString;
494
80
  contractKey: z.ZodNullable<z.ZodString>;
495
- createArgument: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull, z.ZodRecord<z.ZodString, z.ZodAny>, z.ZodArray<z.ZodAny, "many">]>>;
81
+ createArgument: z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull, z.ZodRecord<z.ZodString, z.ZodAny>, z.ZodArray<z.ZodAny>]>>;
496
82
  createdEventBlob: z.ZodString;
497
- interfaceViews: z.ZodArray<z.ZodString, "many">;
498
- witnessParties: z.ZodArray<z.ZodString, "many">;
499
- signatories: z.ZodArray<z.ZodString, "many">;
500
- observers: z.ZodArray<z.ZodString, "many">;
83
+ interfaceViews: z.ZodArray<z.ZodString>;
84
+ witnessParties: z.ZodArray<z.ZodString>;
85
+ signatories: z.ZodArray<z.ZodString>;
86
+ observers: z.ZodArray<z.ZodString>;
501
87
  createdAt: z.ZodString;
502
88
  packageName: z.ZodString;
503
- implementedInterfaces: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
504
- }, "strict", z.ZodTypeAny, {
505
- contractId: string;
506
- offset: number;
507
- templateId: string;
508
- packageName: string;
509
- contractKey: string | null;
510
- createdEventBlob: string;
511
- nodeId: number;
512
- createArgument: Record<string, string | number | boolean | any[] | Record<string, any> | null>;
513
- interfaceViews: string[];
514
- witnessParties: string[];
515
- signatories: string[];
516
- observers: string[];
517
- createdAt: string;
518
- implementedInterfaces?: string[] | undefined;
519
- }, {
520
- contractId: string;
521
- offset: number;
522
- templateId: string;
523
- packageName: string;
524
- contractKey: string | null;
525
- createdEventBlob: string;
526
- nodeId: number;
527
- createArgument: Record<string, string | number | boolean | any[] | Record<string, any> | null>;
528
- interfaceViews: string[];
529
- witnessParties: string[];
530
- signatories: string[];
531
- observers: string[];
532
- createdAt: string;
533
- implementedInterfaces?: string[] | undefined;
534
- }>;
535
- }, "strict", z.ZodTypeAny, {
536
- value: {
537
- contractId: string;
538
- offset: number;
539
- templateId: string;
540
- packageName: string;
541
- contractKey: string | null;
542
- createdEventBlob: string;
543
- nodeId: number;
544
- createArgument: Record<string, string | number | boolean | any[] | Record<string, any> | null>;
545
- interfaceViews: string[];
546
- witnessParties: string[];
547
- signatories: string[];
548
- observers: string[];
549
- createdAt: string;
550
- implementedInterfaces?: string[] | undefined;
551
- };
552
- }, {
553
- value: {
554
- contractId: string;
555
- offset: number;
556
- templateId: string;
557
- packageName: string;
558
- contractKey: string | null;
559
- createdEventBlob: string;
560
- nodeId: number;
561
- createArgument: Record<string, string | number | boolean | any[] | Record<string, any> | null>;
562
- interfaceViews: string[];
563
- witnessParties: string[];
564
- signatories: string[];
565
- observers: string[];
566
- createdAt: string;
567
- implementedInterfaces?: string[] | undefined;
568
- };
569
- }>;
570
- }, "strict", z.ZodTypeAny, {
571
- CreatedTreeEvent: {
572
- value: {
573
- contractId: string;
574
- offset: number;
575
- templateId: string;
576
- packageName: string;
577
- contractKey: string | null;
578
- createdEventBlob: string;
579
- nodeId: number;
580
- createArgument: Record<string, string | number | boolean | any[] | Record<string, any> | null>;
581
- interfaceViews: string[];
582
- witnessParties: string[];
583
- signatories: string[];
584
- observers: string[];
585
- createdAt: string;
586
- implementedInterfaces?: string[] | undefined;
587
- };
588
- };
589
- }, {
590
- CreatedTreeEvent: {
591
- value: {
592
- contractId: string;
593
- offset: number;
594
- templateId: string;
595
- packageName: string;
596
- contractKey: string | null;
597
- createdEventBlob: string;
598
- nodeId: number;
599
- createArgument: Record<string, string | number | boolean | any[] | Record<string, any> | null>;
600
- interfaceViews: string[];
601
- witnessParties: string[];
602
- signatories: string[];
603
- observers: string[];
604
- createdAt: string;
605
- implementedInterfaces?: string[] | undefined;
606
- };
607
- };
608
- }>, z.ZodObject<{
89
+ implementedInterfaces: z.ZodOptional<z.ZodArray<z.ZodString>>;
90
+ }, z.core.$strict>;
91
+ }, z.core.$strict>;
92
+ }, z.core.$strict>, z.ZodObject<{
609
93
  ExercisedTreeEvent: z.ZodObject<{
610
94
  value: z.ZodObject<{
611
95
  offset: z.ZodNumber;
@@ -614,513 +98,55 @@ export declare const CommandResponseSchema: z.ZodObject<{
614
98
  templateId: z.ZodString;
615
99
  interfaceId: z.ZodNullable<z.ZodString>;
616
100
  choice: z.ZodString;
617
- choiceArgument: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull, z.ZodRecord<z.ZodString, z.ZodAny>, z.ZodArray<z.ZodAny, "many">]>>;
618
- actingParties: z.ZodArray<z.ZodString, "many">;
619
- witnessParties: z.ZodArray<z.ZodString, "many">;
620
- exerciseResult: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull, z.ZodRecord<z.ZodString, z.ZodAny>, z.ZodArray<z.ZodAny, "many">]>>;
101
+ choiceArgument: z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull, z.ZodRecord<z.ZodString, z.ZodAny>, z.ZodArray<z.ZodAny>]>>;
102
+ actingParties: z.ZodArray<z.ZodString>;
103
+ witnessParties: z.ZodArray<z.ZodString>;
104
+ exerciseResult: z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull, z.ZodRecord<z.ZodString, z.ZodAny>, z.ZodArray<z.ZodAny>]>>;
621
105
  packageName: z.ZodString;
622
106
  consuming: z.ZodBoolean;
623
107
  lastDescendantNodeId: z.ZodOptional<z.ZodNumber>;
624
- implementedInterfaces: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
625
- }, "strict", z.ZodTypeAny, {
626
- contractId: string;
627
- offset: number;
628
- interfaceId: string | null;
629
- templateId: string;
630
- packageName: string;
631
- choice: string;
632
- choiceArgument: Record<string, string | number | boolean | any[] | Record<string, any> | null>;
633
- nodeId: number;
634
- witnessParties: string[];
635
- actingParties: string[];
636
- exerciseResult: Record<string, string | number | boolean | any[] | Record<string, any> | null>;
637
- consuming: boolean;
638
- implementedInterfaces?: string[] | undefined;
639
- lastDescendantNodeId?: number | undefined;
640
- }, {
641
- contractId: string;
642
- offset: number;
643
- interfaceId: string | null;
644
- templateId: string;
645
- packageName: string;
646
- choice: string;
647
- choiceArgument: Record<string, string | number | boolean | any[] | Record<string, any> | null>;
648
- nodeId: number;
649
- witnessParties: string[];
650
- actingParties: string[];
651
- exerciseResult: Record<string, string | number | boolean | any[] | Record<string, any> | null>;
652
- consuming: boolean;
653
- implementedInterfaces?: string[] | undefined;
654
- lastDescendantNodeId?: number | undefined;
655
- }>;
656
- }, "strict", z.ZodTypeAny, {
657
- value: {
658
- contractId: string;
659
- offset: number;
660
- interfaceId: string | null;
661
- templateId: string;
662
- packageName: string;
663
- choice: string;
664
- choiceArgument: Record<string, string | number | boolean | any[] | Record<string, any> | null>;
665
- nodeId: number;
666
- witnessParties: string[];
667
- actingParties: string[];
668
- exerciseResult: Record<string, string | number | boolean | any[] | Record<string, any> | null>;
669
- consuming: boolean;
670
- implementedInterfaces?: string[] | undefined;
671
- lastDescendantNodeId?: number | undefined;
672
- };
673
- }, {
674
- value: {
675
- contractId: string;
676
- offset: number;
677
- interfaceId: string | null;
678
- templateId: string;
679
- packageName: string;
680
- choice: string;
681
- choiceArgument: Record<string, string | number | boolean | any[] | Record<string, any> | null>;
682
- nodeId: number;
683
- witnessParties: string[];
684
- actingParties: string[];
685
- exerciseResult: Record<string, string | number | boolean | any[] | Record<string, any> | null>;
686
- consuming: boolean;
687
- implementedInterfaces?: string[] | undefined;
688
- lastDescendantNodeId?: number | undefined;
689
- };
690
- }>;
691
- }, "strict", z.ZodTypeAny, {
692
- ExercisedTreeEvent: {
693
- value: {
694
- contractId: string;
695
- offset: number;
696
- interfaceId: string | null;
697
- templateId: string;
698
- packageName: string;
699
- choice: string;
700
- choiceArgument: Record<string, string | number | boolean | any[] | Record<string, any> | null>;
701
- nodeId: number;
702
- witnessParties: string[];
703
- actingParties: string[];
704
- exerciseResult: Record<string, string | number | boolean | any[] | Record<string, any> | null>;
705
- consuming: boolean;
706
- implementedInterfaces?: string[] | undefined;
707
- lastDescendantNodeId?: number | undefined;
708
- };
709
- };
710
- }, {
711
- ExercisedTreeEvent: {
712
- value: {
713
- contractId: string;
714
- offset: number;
715
- interfaceId: string | null;
716
- templateId: string;
717
- packageName: string;
718
- choice: string;
719
- choiceArgument: Record<string, string | number | boolean | any[] | Record<string, any> | null>;
720
- nodeId: number;
721
- witnessParties: string[];
722
- actingParties: string[];
723
- exerciseResult: Record<string, string | number | boolean | any[] | Record<string, any> | null>;
724
- consuming: boolean;
725
- implementedInterfaces?: string[] | undefined;
726
- lastDescendantNodeId?: number | undefined;
727
- };
728
- };
729
- }>, z.ZodObject<{
108
+ implementedInterfaces: z.ZodOptional<z.ZodArray<z.ZodString>>;
109
+ }, z.core.$strict>;
110
+ }, z.core.$strict>;
111
+ }, z.core.$strict>, z.ZodObject<{
730
112
  ArchivedTreeEvent: z.ZodObject<{
731
113
  value: z.ZodObject<{
732
114
  offset: z.ZodNumber;
733
115
  nodeId: z.ZodNumber;
734
116
  contractId: z.ZodString;
735
117
  templateId: z.ZodString;
736
- witnessParties: z.ZodArray<z.ZodString, "many">;
118
+ witnessParties: z.ZodArray<z.ZodString>;
737
119
  packageName: z.ZodString;
738
- implementedInterfaces: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
739
- }, "strict", z.ZodTypeAny, {
740
- contractId: string;
741
- offset: number;
742
- templateId: string;
743
- packageName: string;
744
- nodeId: number;
745
- witnessParties: string[];
746
- implementedInterfaces?: string[] | undefined;
747
- }, {
748
- contractId: string;
749
- offset: number;
750
- templateId: string;
751
- packageName: string;
752
- nodeId: number;
753
- witnessParties: string[];
754
- implementedInterfaces?: string[] | undefined;
755
- }>;
756
- }, "strict", z.ZodTypeAny, {
757
- value: {
758
- contractId: string;
759
- offset: number;
760
- templateId: string;
761
- packageName: string;
762
- nodeId: number;
763
- witnessParties: string[];
764
- implementedInterfaces?: string[] | undefined;
765
- };
766
- }, {
767
- value: {
768
- contractId: string;
769
- offset: number;
770
- templateId: string;
771
- packageName: string;
772
- nodeId: number;
773
- witnessParties: string[];
774
- implementedInterfaces?: string[] | undefined;
775
- };
776
- }>;
777
- }, "strict", z.ZodTypeAny, {
778
- ArchivedTreeEvent: {
779
- value: {
780
- contractId: string;
781
- offset: number;
782
- templateId: string;
783
- packageName: string;
784
- nodeId: number;
785
- witnessParties: string[];
786
- implementedInterfaces?: string[] | undefined;
787
- };
788
- };
789
- }, {
790
- ArchivedTreeEvent: {
791
- value: {
792
- contractId: string;
793
- offset: number;
794
- templateId: string;
795
- packageName: string;
796
- nodeId: number;
797
- witnessParties: string[];
798
- implementedInterfaces?: string[] | undefined;
799
- };
800
- };
801
- }>]>>;
802
- /** Record time of the transaction (ISO 8601). */
120
+ implementedInterfaces: z.ZodOptional<z.ZodArray<z.ZodString>>;
121
+ }, z.core.$strict>;
122
+ }, z.core.$strict>;
123
+ }, z.core.$strict>]>>;
803
124
  recordTime: z.ZodString;
804
- /** Synchronizer ID for the transaction. */
805
125
  synchronizerId: z.ZodString;
806
- /** Trace context for distributed tracing (optional). */
807
126
  traceContext: z.ZodOptional<z.ZodObject<{
808
- /** W3C traceparent header value. */
809
127
  traceparent: z.ZodString;
810
- /** W3C tracestate header value (nullable). */
811
128
  tracestate: z.ZodNullable<z.ZodString>;
812
- }, "strip", z.ZodTypeAny, {
813
- traceparent: string;
814
- tracestate: string | null;
815
- }, {
816
- traceparent: string;
817
- tracestate: string | null;
818
- }>>;
819
- }, "strict", z.ZodTypeAny, {
820
- synchronizerId: string;
821
- offset: number;
822
- updateId: string;
823
- recordTime: string;
824
- effectiveAt: string;
825
- eventsById: Record<string, {
826
- CreatedTreeEvent: {
827
- value: {
828
- contractId: string;
829
- offset: number;
830
- templateId: string;
831
- packageName: string;
832
- contractKey: string | null;
833
- createdEventBlob: string;
834
- nodeId: number;
835
- createArgument: Record<string, string | number | boolean | any[] | Record<string, any> | null>;
836
- interfaceViews: string[];
837
- witnessParties: string[];
838
- signatories: string[];
839
- observers: string[];
840
- createdAt: string;
841
- implementedInterfaces?: string[] | undefined;
842
- };
843
- };
844
- } | {
845
- ExercisedTreeEvent: {
846
- value: {
847
- contractId: string;
848
- offset: number;
849
- interfaceId: string | null;
850
- templateId: string;
851
- packageName: string;
852
- choice: string;
853
- choiceArgument: Record<string, string | number | boolean | any[] | Record<string, any> | null>;
854
- nodeId: number;
855
- witnessParties: string[];
856
- actingParties: string[];
857
- exerciseResult: Record<string, string | number | boolean | any[] | Record<string, any> | null>;
858
- consuming: boolean;
859
- implementedInterfaces?: string[] | undefined;
860
- lastDescendantNodeId?: number | undefined;
861
- };
862
- };
863
- } | {
864
- ArchivedTreeEvent: {
865
- value: {
866
- contractId: string;
867
- offset: number;
868
- templateId: string;
869
- packageName: string;
870
- nodeId: number;
871
- witnessParties: string[];
872
- implementedInterfaces?: string[] | undefined;
873
- };
874
- };
875
- }>;
876
- commandId?: string | undefined;
877
- workflowId?: string | undefined;
878
- traceContext?: {
879
- traceparent: string;
880
- tracestate: string | null;
881
- } | undefined;
882
- }, {
883
- synchronizerId: string;
884
- offset: number;
885
- updateId: string;
886
- recordTime: string;
887
- effectiveAt: string;
888
- eventsById: Record<string, {
889
- CreatedTreeEvent: {
890
- value: {
891
- contractId: string;
892
- offset: number;
893
- templateId: string;
894
- packageName: string;
895
- contractKey: string | null;
896
- createdEventBlob: string;
897
- nodeId: number;
898
- createArgument: Record<string, string | number | boolean | any[] | Record<string, any> | null>;
899
- interfaceViews: string[];
900
- witnessParties: string[];
901
- signatories: string[];
902
- observers: string[];
903
- createdAt: string;
904
- implementedInterfaces?: string[] | undefined;
905
- };
906
- };
907
- } | {
908
- ExercisedTreeEvent: {
909
- value: {
910
- contractId: string;
911
- offset: number;
912
- interfaceId: string | null;
913
- templateId: string;
914
- packageName: string;
915
- choice: string;
916
- choiceArgument: Record<string, string | number | boolean | any[] | Record<string, any> | null>;
917
- nodeId: number;
918
- witnessParties: string[];
919
- actingParties: string[];
920
- exerciseResult: Record<string, string | number | boolean | any[] | Record<string, any> | null>;
921
- consuming: boolean;
922
- implementedInterfaces?: string[] | undefined;
923
- lastDescendantNodeId?: number | undefined;
924
- };
925
- };
926
- } | {
927
- ArchivedTreeEvent: {
928
- value: {
929
- contractId: string;
930
- offset: number;
931
- templateId: string;
932
- packageName: string;
933
- nodeId: number;
934
- witnessParties: string[];
935
- implementedInterfaces?: string[] | undefined;
936
- };
937
- };
938
- }>;
939
- commandId?: string | undefined;
940
- workflowId?: string | undefined;
941
- traceContext?: {
942
- traceparent: string;
943
- tracestate: string | null;
944
- } | undefined;
945
- }>;
946
- }, "strict", z.ZodTypeAny, {
947
- transactionTree: {
948
- synchronizerId: string;
949
- offset: number;
950
- updateId: string;
951
- recordTime: string;
952
- effectiveAt: string;
953
- eventsById: Record<string, {
954
- CreatedTreeEvent: {
955
- value: {
956
- contractId: string;
957
- offset: number;
958
- templateId: string;
959
- packageName: string;
960
- contractKey: string | null;
961
- createdEventBlob: string;
962
- nodeId: number;
963
- createArgument: Record<string, string | number | boolean | any[] | Record<string, any> | null>;
964
- interfaceViews: string[];
965
- witnessParties: string[];
966
- signatories: string[];
967
- observers: string[];
968
- createdAt: string;
969
- implementedInterfaces?: string[] | undefined;
970
- };
971
- };
972
- } | {
973
- ExercisedTreeEvent: {
974
- value: {
975
- contractId: string;
976
- offset: number;
977
- interfaceId: string | null;
978
- templateId: string;
979
- packageName: string;
980
- choice: string;
981
- choiceArgument: Record<string, string | number | boolean | any[] | Record<string, any> | null>;
982
- nodeId: number;
983
- witnessParties: string[];
984
- actingParties: string[];
985
- exerciseResult: Record<string, string | number | boolean | any[] | Record<string, any> | null>;
986
- consuming: boolean;
987
- implementedInterfaces?: string[] | undefined;
988
- lastDescendantNodeId?: number | undefined;
989
- };
990
- };
991
- } | {
992
- ArchivedTreeEvent: {
993
- value: {
994
- contractId: string;
995
- offset: number;
996
- templateId: string;
997
- packageName: string;
998
- nodeId: number;
999
- witnessParties: string[];
1000
- implementedInterfaces?: string[] | undefined;
1001
- };
1002
- };
1003
- }>;
1004
- commandId?: string | undefined;
1005
- workflowId?: string | undefined;
1006
- traceContext?: {
1007
- traceparent: string;
1008
- tracestate: string | null;
1009
- } | undefined;
1010
- };
1011
- }, {
1012
- transactionTree: {
1013
- synchronizerId: string;
1014
- offset: number;
1015
- updateId: string;
1016
- recordTime: string;
1017
- effectiveAt: string;
1018
- eventsById: Record<string, {
1019
- CreatedTreeEvent: {
1020
- value: {
1021
- contractId: string;
1022
- offset: number;
1023
- templateId: string;
1024
- packageName: string;
1025
- contractKey: string | null;
1026
- createdEventBlob: string;
1027
- nodeId: number;
1028
- createArgument: Record<string, string | number | boolean | any[] | Record<string, any> | null>;
1029
- interfaceViews: string[];
1030
- witnessParties: string[];
1031
- signatories: string[];
1032
- observers: string[];
1033
- createdAt: string;
1034
- implementedInterfaces?: string[] | undefined;
1035
- };
1036
- };
1037
- } | {
1038
- ExercisedTreeEvent: {
1039
- value: {
1040
- contractId: string;
1041
- offset: number;
1042
- interfaceId: string | null;
1043
- templateId: string;
1044
- packageName: string;
1045
- choice: string;
1046
- choiceArgument: Record<string, string | number | boolean | any[] | Record<string, any> | null>;
1047
- nodeId: number;
1048
- witnessParties: string[];
1049
- actingParties: string[];
1050
- exerciseResult: Record<string, string | number | boolean | any[] | Record<string, any> | null>;
1051
- consuming: boolean;
1052
- implementedInterfaces?: string[] | undefined;
1053
- lastDescendantNodeId?: number | undefined;
1054
- };
1055
- };
1056
- } | {
1057
- ArchivedTreeEvent: {
1058
- value: {
1059
- contractId: string;
1060
- offset: number;
1061
- templateId: string;
1062
- packageName: string;
1063
- nodeId: number;
1064
- witnessParties: string[];
1065
- implementedInterfaces?: string[] | undefined;
1066
- };
1067
- };
1068
- }>;
1069
- commandId?: string | undefined;
1070
- workflowId?: string | undefined;
1071
- traceContext?: {
1072
- traceparent: string;
1073
- tracestate: string | null;
1074
- } | undefined;
1075
- };
1076
- }>;
129
+ }, z.core.$strip>>;
130
+ }, z.core.$strict>;
131
+ }, z.core.$strict>;
1077
132
  export declare const CreateContractResponseSchema: z.ZodObject<{
1078
- /** Contract ID of the newly created contract. */
1079
133
  contractId: z.ZodString;
1080
- /** Update ID of the transaction that created the contract. */
1081
134
  updateId: z.ZodString;
1082
- }, "strict", z.ZodTypeAny, {
1083
- contractId: string;
1084
- updateId: string;
1085
- }, {
1086
- contractId: string;
1087
- updateId: string;
1088
- }>;
135
+ }, z.core.$strict>;
1089
136
  export declare const UpdateByIdRequestSchema: z.ZodObject<{
1090
- /** Update ID to fetch. */
1091
137
  updateId: z.ZodString;
1092
- /** Parties requesting the update. */
1093
- requestingParties: z.ZodArray<z.ZodString, "many">;
1094
- /** Format of the update. */
138
+ requestingParties: z.ZodArray<z.ZodString>;
1095
139
  updateFormat: z.ZodString;
1096
- /** Whether to include transactions in the response. */
1097
140
  includeTransactions: z.ZodBoolean;
1098
- }, "strict", z.ZodTypeAny, {
1099
- requestingParties: string[];
1100
- updateFormat: string;
1101
- updateId: string;
1102
- includeTransactions: boolean;
1103
- }, {
1104
- requestingParties: string[];
1105
- updateFormat: string;
1106
- updateId: string;
1107
- includeTransactions: boolean;
1108
- }>;
141
+ }, z.core.$strict>;
1109
142
  export declare const UpdateByIdResponseSchema: z.ZodObject<{
1110
- /** Transaction tree for the requested update. */
1111
143
  update: z.ZodObject<{
1112
- /** Unique update ID for the transaction. */
1113
144
  updateId: z.ZodString;
1114
- /** Command ID associated with the transaction (optional). */
1115
145
  commandId: z.ZodOptional<z.ZodString>;
1116
- /** Workflow ID associated with the transaction (optional). */
1117
146
  workflowId: z.ZodOptional<z.ZodString>;
1118
- /** Effective time of the transaction (ISO 8601). */
1119
147
  effectiveAt: z.ZodString;
1120
- /** Offset of the transaction in the ledger stream. */
1121
148
  offset: z.ZodNumber;
1122
- /** Map of event node IDs to tree events. */
1123
- eventsById: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodObject<{
149
+ eventsById: z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodObject<{
1124
150
  CreatedTreeEvent: z.ZodObject<{
1125
151
  value: z.ZodObject<{
1126
152
  offset: z.ZodNumber;
@@ -1128,120 +154,18 @@ export declare const UpdateByIdResponseSchema: z.ZodObject<{
1128
154
  contractId: z.ZodString;
1129
155
  templateId: z.ZodString;
1130
156
  contractKey: z.ZodNullable<z.ZodString>;
1131
- createArgument: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull, z.ZodRecord<z.ZodString, z.ZodAny>, z.ZodArray<z.ZodAny, "many">]>>;
157
+ createArgument: z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull, z.ZodRecord<z.ZodString, z.ZodAny>, z.ZodArray<z.ZodAny>]>>;
1132
158
  createdEventBlob: z.ZodString;
1133
- interfaceViews: z.ZodArray<z.ZodString, "many">;
1134
- witnessParties: z.ZodArray<z.ZodString, "many">;
1135
- signatories: z.ZodArray<z.ZodString, "many">;
1136
- observers: z.ZodArray<z.ZodString, "many">;
159
+ interfaceViews: z.ZodArray<z.ZodString>;
160
+ witnessParties: z.ZodArray<z.ZodString>;
161
+ signatories: z.ZodArray<z.ZodString>;
162
+ observers: z.ZodArray<z.ZodString>;
1137
163
  createdAt: z.ZodString;
1138
164
  packageName: z.ZodString;
1139
- implementedInterfaces: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1140
- }, "strict", z.ZodTypeAny, {
1141
- contractId: string;
1142
- offset: number;
1143
- templateId: string;
1144
- packageName: string;
1145
- contractKey: string | null;
1146
- createdEventBlob: string;
1147
- nodeId: number;
1148
- createArgument: Record<string, string | number | boolean | any[] | Record<string, any> | null>;
1149
- interfaceViews: string[];
1150
- witnessParties: string[];
1151
- signatories: string[];
1152
- observers: string[];
1153
- createdAt: string;
1154
- implementedInterfaces?: string[] | undefined;
1155
- }, {
1156
- contractId: string;
1157
- offset: number;
1158
- templateId: string;
1159
- packageName: string;
1160
- contractKey: string | null;
1161
- createdEventBlob: string;
1162
- nodeId: number;
1163
- createArgument: Record<string, string | number | boolean | any[] | Record<string, any> | null>;
1164
- interfaceViews: string[];
1165
- witnessParties: string[];
1166
- signatories: string[];
1167
- observers: string[];
1168
- createdAt: string;
1169
- implementedInterfaces?: string[] | undefined;
1170
- }>;
1171
- }, "strict", z.ZodTypeAny, {
1172
- value: {
1173
- contractId: string;
1174
- offset: number;
1175
- templateId: string;
1176
- packageName: string;
1177
- contractKey: string | null;
1178
- createdEventBlob: string;
1179
- nodeId: number;
1180
- createArgument: Record<string, string | number | boolean | any[] | Record<string, any> | null>;
1181
- interfaceViews: string[];
1182
- witnessParties: string[];
1183
- signatories: string[];
1184
- observers: string[];
1185
- createdAt: string;
1186
- implementedInterfaces?: string[] | undefined;
1187
- };
1188
- }, {
1189
- value: {
1190
- contractId: string;
1191
- offset: number;
1192
- templateId: string;
1193
- packageName: string;
1194
- contractKey: string | null;
1195
- createdEventBlob: string;
1196
- nodeId: number;
1197
- createArgument: Record<string, string | number | boolean | any[] | Record<string, any> | null>;
1198
- interfaceViews: string[];
1199
- witnessParties: string[];
1200
- signatories: string[];
1201
- observers: string[];
1202
- createdAt: string;
1203
- implementedInterfaces?: string[] | undefined;
1204
- };
1205
- }>;
1206
- }, "strict", z.ZodTypeAny, {
1207
- CreatedTreeEvent: {
1208
- value: {
1209
- contractId: string;
1210
- offset: number;
1211
- templateId: string;
1212
- packageName: string;
1213
- contractKey: string | null;
1214
- createdEventBlob: string;
1215
- nodeId: number;
1216
- createArgument: Record<string, string | number | boolean | any[] | Record<string, any> | null>;
1217
- interfaceViews: string[];
1218
- witnessParties: string[];
1219
- signatories: string[];
1220
- observers: string[];
1221
- createdAt: string;
1222
- implementedInterfaces?: string[] | undefined;
1223
- };
1224
- };
1225
- }, {
1226
- CreatedTreeEvent: {
1227
- value: {
1228
- contractId: string;
1229
- offset: number;
1230
- templateId: string;
1231
- packageName: string;
1232
- contractKey: string | null;
1233
- createdEventBlob: string;
1234
- nodeId: number;
1235
- createArgument: Record<string, string | number | boolean | any[] | Record<string, any> | null>;
1236
- interfaceViews: string[];
1237
- witnessParties: string[];
1238
- signatories: string[];
1239
- observers: string[];
1240
- createdAt: string;
1241
- implementedInterfaces?: string[] | undefined;
1242
- };
1243
- };
1244
- }>, z.ZodObject<{
165
+ implementedInterfaces: z.ZodOptional<z.ZodArray<z.ZodString>>;
166
+ }, z.core.$strict>;
167
+ }, z.core.$strict>;
168
+ }, z.core.$strict>, z.ZodObject<{
1245
169
  ExercisedTreeEvent: z.ZodObject<{
1246
170
  value: z.ZodObject<{
1247
171
  offset: z.ZodNumber;
@@ -1250,481 +174,45 @@ export declare const UpdateByIdResponseSchema: z.ZodObject<{
1250
174
  templateId: z.ZodString;
1251
175
  interfaceId: z.ZodNullable<z.ZodString>;
1252
176
  choice: z.ZodString;
1253
- choiceArgument: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull, z.ZodRecord<z.ZodString, z.ZodAny>, z.ZodArray<z.ZodAny, "many">]>>;
1254
- actingParties: z.ZodArray<z.ZodString, "many">;
1255
- witnessParties: z.ZodArray<z.ZodString, "many">;
1256
- exerciseResult: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull, z.ZodRecord<z.ZodString, z.ZodAny>, z.ZodArray<z.ZodAny, "many">]>>;
177
+ choiceArgument: z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull, z.ZodRecord<z.ZodString, z.ZodAny>, z.ZodArray<z.ZodAny>]>>;
178
+ actingParties: z.ZodArray<z.ZodString>;
179
+ witnessParties: z.ZodArray<z.ZodString>;
180
+ exerciseResult: z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull, z.ZodRecord<z.ZodString, z.ZodAny>, z.ZodArray<z.ZodAny>]>>;
1257
181
  packageName: z.ZodString;
1258
182
  consuming: z.ZodBoolean;
1259
183
  lastDescendantNodeId: z.ZodOptional<z.ZodNumber>;
1260
- implementedInterfaces: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1261
- }, "strict", z.ZodTypeAny, {
1262
- contractId: string;
1263
- offset: number;
1264
- interfaceId: string | null;
1265
- templateId: string;
1266
- packageName: string;
1267
- choice: string;
1268
- choiceArgument: Record<string, string | number | boolean | any[] | Record<string, any> | null>;
1269
- nodeId: number;
1270
- witnessParties: string[];
1271
- actingParties: string[];
1272
- exerciseResult: Record<string, string | number | boolean | any[] | Record<string, any> | null>;
1273
- consuming: boolean;
1274
- implementedInterfaces?: string[] | undefined;
1275
- lastDescendantNodeId?: number | undefined;
1276
- }, {
1277
- contractId: string;
1278
- offset: number;
1279
- interfaceId: string | null;
1280
- templateId: string;
1281
- packageName: string;
1282
- choice: string;
1283
- choiceArgument: Record<string, string | number | boolean | any[] | Record<string, any> | null>;
1284
- nodeId: number;
1285
- witnessParties: string[];
1286
- actingParties: string[];
1287
- exerciseResult: Record<string, string | number | boolean | any[] | Record<string, any> | null>;
1288
- consuming: boolean;
1289
- implementedInterfaces?: string[] | undefined;
1290
- lastDescendantNodeId?: number | undefined;
1291
- }>;
1292
- }, "strict", z.ZodTypeAny, {
1293
- value: {
1294
- contractId: string;
1295
- offset: number;
1296
- interfaceId: string | null;
1297
- templateId: string;
1298
- packageName: string;
1299
- choice: string;
1300
- choiceArgument: Record<string, string | number | boolean | any[] | Record<string, any> | null>;
1301
- nodeId: number;
1302
- witnessParties: string[];
1303
- actingParties: string[];
1304
- exerciseResult: Record<string, string | number | boolean | any[] | Record<string, any> | null>;
1305
- consuming: boolean;
1306
- implementedInterfaces?: string[] | undefined;
1307
- lastDescendantNodeId?: number | undefined;
1308
- };
1309
- }, {
1310
- value: {
1311
- contractId: string;
1312
- offset: number;
1313
- interfaceId: string | null;
1314
- templateId: string;
1315
- packageName: string;
1316
- choice: string;
1317
- choiceArgument: Record<string, string | number | boolean | any[] | Record<string, any> | null>;
1318
- nodeId: number;
1319
- witnessParties: string[];
1320
- actingParties: string[];
1321
- exerciseResult: Record<string, string | number | boolean | any[] | Record<string, any> | null>;
1322
- consuming: boolean;
1323
- implementedInterfaces?: string[] | undefined;
1324
- lastDescendantNodeId?: number | undefined;
1325
- };
1326
- }>;
1327
- }, "strict", z.ZodTypeAny, {
1328
- ExercisedTreeEvent: {
1329
- value: {
1330
- contractId: string;
1331
- offset: number;
1332
- interfaceId: string | null;
1333
- templateId: string;
1334
- packageName: string;
1335
- choice: string;
1336
- choiceArgument: Record<string, string | number | boolean | any[] | Record<string, any> | null>;
1337
- nodeId: number;
1338
- witnessParties: string[];
1339
- actingParties: string[];
1340
- exerciseResult: Record<string, string | number | boolean | any[] | Record<string, any> | null>;
1341
- consuming: boolean;
1342
- implementedInterfaces?: string[] | undefined;
1343
- lastDescendantNodeId?: number | undefined;
1344
- };
1345
- };
1346
- }, {
1347
- ExercisedTreeEvent: {
1348
- value: {
1349
- contractId: string;
1350
- offset: number;
1351
- interfaceId: string | null;
1352
- templateId: string;
1353
- packageName: string;
1354
- choice: string;
1355
- choiceArgument: Record<string, string | number | boolean | any[] | Record<string, any> | null>;
1356
- nodeId: number;
1357
- witnessParties: string[];
1358
- actingParties: string[];
1359
- exerciseResult: Record<string, string | number | boolean | any[] | Record<string, any> | null>;
1360
- consuming: boolean;
1361
- implementedInterfaces?: string[] | undefined;
1362
- lastDescendantNodeId?: number | undefined;
1363
- };
1364
- };
1365
- }>, z.ZodObject<{
184
+ implementedInterfaces: z.ZodOptional<z.ZodArray<z.ZodString>>;
185
+ }, z.core.$strict>;
186
+ }, z.core.$strict>;
187
+ }, z.core.$strict>, z.ZodObject<{
1366
188
  ArchivedTreeEvent: z.ZodObject<{
1367
189
  value: z.ZodObject<{
1368
190
  offset: z.ZodNumber;
1369
191
  nodeId: z.ZodNumber;
1370
192
  contractId: z.ZodString;
1371
193
  templateId: z.ZodString;
1372
- witnessParties: z.ZodArray<z.ZodString, "many">;
194
+ witnessParties: z.ZodArray<z.ZodString>;
1373
195
  packageName: z.ZodString;
1374
- implementedInterfaces: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1375
- }, "strict", z.ZodTypeAny, {
1376
- contractId: string;
1377
- offset: number;
1378
- templateId: string;
1379
- packageName: string;
1380
- nodeId: number;
1381
- witnessParties: string[];
1382
- implementedInterfaces?: string[] | undefined;
1383
- }, {
1384
- contractId: string;
1385
- offset: number;
1386
- templateId: string;
1387
- packageName: string;
1388
- nodeId: number;
1389
- witnessParties: string[];
1390
- implementedInterfaces?: string[] | undefined;
1391
- }>;
1392
- }, "strict", z.ZodTypeAny, {
1393
- value: {
1394
- contractId: string;
1395
- offset: number;
1396
- templateId: string;
1397
- packageName: string;
1398
- nodeId: number;
1399
- witnessParties: string[];
1400
- implementedInterfaces?: string[] | undefined;
1401
- };
1402
- }, {
1403
- value: {
1404
- contractId: string;
1405
- offset: number;
1406
- templateId: string;
1407
- packageName: string;
1408
- nodeId: number;
1409
- witnessParties: string[];
1410
- implementedInterfaces?: string[] | undefined;
1411
- };
1412
- }>;
1413
- }, "strict", z.ZodTypeAny, {
1414
- ArchivedTreeEvent: {
1415
- value: {
1416
- contractId: string;
1417
- offset: number;
1418
- templateId: string;
1419
- packageName: string;
1420
- nodeId: number;
1421
- witnessParties: string[];
1422
- implementedInterfaces?: string[] | undefined;
1423
- };
1424
- };
1425
- }, {
1426
- ArchivedTreeEvent: {
1427
- value: {
1428
- contractId: string;
1429
- offset: number;
1430
- templateId: string;
1431
- packageName: string;
1432
- nodeId: number;
1433
- witnessParties: string[];
1434
- implementedInterfaces?: string[] | undefined;
1435
- };
1436
- };
1437
- }>]>>;
1438
- /** Record time of the transaction (ISO 8601). */
196
+ implementedInterfaces: z.ZodOptional<z.ZodArray<z.ZodString>>;
197
+ }, z.core.$strict>;
198
+ }, z.core.$strict>;
199
+ }, z.core.$strict>]>>;
1439
200
  recordTime: z.ZodString;
1440
- /** Synchronizer ID for the transaction. */
1441
201
  synchronizerId: z.ZodString;
1442
- /** Trace context for distributed tracing (optional). */
1443
202
  traceContext: z.ZodOptional<z.ZodObject<{
1444
- /** W3C traceparent header value. */
1445
203
  traceparent: z.ZodString;
1446
- /** W3C tracestate header value (nullable). */
1447
204
  tracestate: z.ZodNullable<z.ZodString>;
1448
- }, "strip", z.ZodTypeAny, {
1449
- traceparent: string;
1450
- tracestate: string | null;
1451
- }, {
1452
- traceparent: string;
1453
- tracestate: string | null;
1454
- }>>;
1455
- }, "strict", z.ZodTypeAny, {
1456
- synchronizerId: string;
1457
- offset: number;
1458
- updateId: string;
1459
- recordTime: string;
1460
- effectiveAt: string;
1461
- eventsById: Record<string, {
1462
- CreatedTreeEvent: {
1463
- value: {
1464
- contractId: string;
1465
- offset: number;
1466
- templateId: string;
1467
- packageName: string;
1468
- contractKey: string | null;
1469
- createdEventBlob: string;
1470
- nodeId: number;
1471
- createArgument: Record<string, string | number | boolean | any[] | Record<string, any> | null>;
1472
- interfaceViews: string[];
1473
- witnessParties: string[];
1474
- signatories: string[];
1475
- observers: string[];
1476
- createdAt: string;
1477
- implementedInterfaces?: string[] | undefined;
1478
- };
1479
- };
1480
- } | {
1481
- ExercisedTreeEvent: {
1482
- value: {
1483
- contractId: string;
1484
- offset: number;
1485
- interfaceId: string | null;
1486
- templateId: string;
1487
- packageName: string;
1488
- choice: string;
1489
- choiceArgument: Record<string, string | number | boolean | any[] | Record<string, any> | null>;
1490
- nodeId: number;
1491
- witnessParties: string[];
1492
- actingParties: string[];
1493
- exerciseResult: Record<string, string | number | boolean | any[] | Record<string, any> | null>;
1494
- consuming: boolean;
1495
- implementedInterfaces?: string[] | undefined;
1496
- lastDescendantNodeId?: number | undefined;
1497
- };
1498
- };
1499
- } | {
1500
- ArchivedTreeEvent: {
1501
- value: {
1502
- contractId: string;
1503
- offset: number;
1504
- templateId: string;
1505
- packageName: string;
1506
- nodeId: number;
1507
- witnessParties: string[];
1508
- implementedInterfaces?: string[] | undefined;
1509
- };
1510
- };
1511
- }>;
1512
- commandId?: string | undefined;
1513
- workflowId?: string | undefined;
1514
- traceContext?: {
1515
- traceparent: string;
1516
- tracestate: string | null;
1517
- } | undefined;
1518
- }, {
1519
- synchronizerId: string;
1520
- offset: number;
1521
- updateId: string;
1522
- recordTime: string;
1523
- effectiveAt: string;
1524
- eventsById: Record<string, {
1525
- CreatedTreeEvent: {
1526
- value: {
1527
- contractId: string;
1528
- offset: number;
1529
- templateId: string;
1530
- packageName: string;
1531
- contractKey: string | null;
1532
- createdEventBlob: string;
1533
- nodeId: number;
1534
- createArgument: Record<string, string | number | boolean | any[] | Record<string, any> | null>;
1535
- interfaceViews: string[];
1536
- witnessParties: string[];
1537
- signatories: string[];
1538
- observers: string[];
1539
- createdAt: string;
1540
- implementedInterfaces?: string[] | undefined;
1541
- };
1542
- };
1543
- } | {
1544
- ExercisedTreeEvent: {
1545
- value: {
1546
- contractId: string;
1547
- offset: number;
1548
- interfaceId: string | null;
1549
- templateId: string;
1550
- packageName: string;
1551
- choice: string;
1552
- choiceArgument: Record<string, string | number | boolean | any[] | Record<string, any> | null>;
1553
- nodeId: number;
1554
- witnessParties: string[];
1555
- actingParties: string[];
1556
- exerciseResult: Record<string, string | number | boolean | any[] | Record<string, any> | null>;
1557
- consuming: boolean;
1558
- implementedInterfaces?: string[] | undefined;
1559
- lastDescendantNodeId?: number | undefined;
1560
- };
1561
- };
1562
- } | {
1563
- ArchivedTreeEvent: {
1564
- value: {
1565
- contractId: string;
1566
- offset: number;
1567
- templateId: string;
1568
- packageName: string;
1569
- nodeId: number;
1570
- witnessParties: string[];
1571
- implementedInterfaces?: string[] | undefined;
1572
- };
1573
- };
1574
- }>;
1575
- commandId?: string | undefined;
1576
- workflowId?: string | undefined;
1577
- traceContext?: {
1578
- traceparent: string;
1579
- tracestate: string | null;
1580
- } | undefined;
1581
- }>;
1582
- }, "strict", z.ZodTypeAny, {
1583
- update: {
1584
- synchronizerId: string;
1585
- offset: number;
1586
- updateId: string;
1587
- recordTime: string;
1588
- effectiveAt: string;
1589
- eventsById: Record<string, {
1590
- CreatedTreeEvent: {
1591
- value: {
1592
- contractId: string;
1593
- offset: number;
1594
- templateId: string;
1595
- packageName: string;
1596
- contractKey: string | null;
1597
- createdEventBlob: string;
1598
- nodeId: number;
1599
- createArgument: Record<string, string | number | boolean | any[] | Record<string, any> | null>;
1600
- interfaceViews: string[];
1601
- witnessParties: string[];
1602
- signatories: string[];
1603
- observers: string[];
1604
- createdAt: string;
1605
- implementedInterfaces?: string[] | undefined;
1606
- };
1607
- };
1608
- } | {
1609
- ExercisedTreeEvent: {
1610
- value: {
1611
- contractId: string;
1612
- offset: number;
1613
- interfaceId: string | null;
1614
- templateId: string;
1615
- packageName: string;
1616
- choice: string;
1617
- choiceArgument: Record<string, string | number | boolean | any[] | Record<string, any> | null>;
1618
- nodeId: number;
1619
- witnessParties: string[];
1620
- actingParties: string[];
1621
- exerciseResult: Record<string, string | number | boolean | any[] | Record<string, any> | null>;
1622
- consuming: boolean;
1623
- implementedInterfaces?: string[] | undefined;
1624
- lastDescendantNodeId?: number | undefined;
1625
- };
1626
- };
1627
- } | {
1628
- ArchivedTreeEvent: {
1629
- value: {
1630
- contractId: string;
1631
- offset: number;
1632
- templateId: string;
1633
- packageName: string;
1634
- nodeId: number;
1635
- witnessParties: string[];
1636
- implementedInterfaces?: string[] | undefined;
1637
- };
1638
- };
1639
- }>;
1640
- commandId?: string | undefined;
1641
- workflowId?: string | undefined;
1642
- traceContext?: {
1643
- traceparent: string;
1644
- tracestate: string | null;
1645
- } | undefined;
1646
- };
1647
- }, {
1648
- update: {
1649
- synchronizerId: string;
1650
- offset: number;
1651
- updateId: string;
1652
- recordTime: string;
1653
- effectiveAt: string;
1654
- eventsById: Record<string, {
1655
- CreatedTreeEvent: {
1656
- value: {
1657
- contractId: string;
1658
- offset: number;
1659
- templateId: string;
1660
- packageName: string;
1661
- contractKey: string | null;
1662
- createdEventBlob: string;
1663
- nodeId: number;
1664
- createArgument: Record<string, string | number | boolean | any[] | Record<string, any> | null>;
1665
- interfaceViews: string[];
1666
- witnessParties: string[];
1667
- signatories: string[];
1668
- observers: string[];
1669
- createdAt: string;
1670
- implementedInterfaces?: string[] | undefined;
1671
- };
1672
- };
1673
- } | {
1674
- ExercisedTreeEvent: {
1675
- value: {
1676
- contractId: string;
1677
- offset: number;
1678
- interfaceId: string | null;
1679
- templateId: string;
1680
- packageName: string;
1681
- choice: string;
1682
- choiceArgument: Record<string, string | number | boolean | any[] | Record<string, any> | null>;
1683
- nodeId: number;
1684
- witnessParties: string[];
1685
- actingParties: string[];
1686
- exerciseResult: Record<string, string | number | boolean | any[] | Record<string, any> | null>;
1687
- consuming: boolean;
1688
- implementedInterfaces?: string[] | undefined;
1689
- lastDescendantNodeId?: number | undefined;
1690
- };
1691
- };
1692
- } | {
1693
- ArchivedTreeEvent: {
1694
- value: {
1695
- contractId: string;
1696
- offset: number;
1697
- templateId: string;
1698
- packageName: string;
1699
- nodeId: number;
1700
- witnessParties: string[];
1701
- implementedInterfaces?: string[] | undefined;
1702
- };
1703
- };
1704
- }>;
1705
- commandId?: string | undefined;
1706
- workflowId?: string | undefined;
1707
- traceContext?: {
1708
- traceparent: string;
1709
- tracestate: string | null;
1710
- } | undefined;
1711
- };
1712
- }>;
205
+ }, z.core.$strip>>;
206
+ }, z.core.$strict>;
207
+ }, z.core.$strict>;
1713
208
  export declare const TransactionTreeByOffsetResponseSchema: z.ZodObject<{
1714
- /** Transaction tree for the requested offset. */
1715
209
  transaction: z.ZodObject<{
1716
- /** Unique update ID for the transaction. */
1717
210
  updateId: z.ZodString;
1718
- /** Command ID associated with the transaction (optional). */
1719
211
  commandId: z.ZodOptional<z.ZodString>;
1720
- /** Workflow ID associated with the transaction (optional). */
1721
212
  workflowId: z.ZodOptional<z.ZodString>;
1722
- /** Effective time of the transaction (ISO 8601). */
1723
213
  effectiveAt: z.ZodString;
1724
- /** Offset of the transaction in the ledger stream. */
1725
214
  offset: z.ZodNumber;
1726
- /** Map of event node IDs to tree events. */
1727
- eventsById: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodObject<{
215
+ eventsById: z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodObject<{
1728
216
  CreatedTreeEvent: z.ZodObject<{
1729
217
  value: z.ZodObject<{
1730
218
  offset: z.ZodNumber;
@@ -1732,120 +220,18 @@ export declare const TransactionTreeByOffsetResponseSchema: z.ZodObject<{
1732
220
  contractId: z.ZodString;
1733
221
  templateId: z.ZodString;
1734
222
  contractKey: z.ZodNullable<z.ZodString>;
1735
- createArgument: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull, z.ZodRecord<z.ZodString, z.ZodAny>, z.ZodArray<z.ZodAny, "many">]>>;
223
+ createArgument: z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull, z.ZodRecord<z.ZodString, z.ZodAny>, z.ZodArray<z.ZodAny>]>>;
1736
224
  createdEventBlob: z.ZodString;
1737
- interfaceViews: z.ZodArray<z.ZodString, "many">;
1738
- witnessParties: z.ZodArray<z.ZodString, "many">;
1739
- signatories: z.ZodArray<z.ZodString, "many">;
1740
- observers: z.ZodArray<z.ZodString, "many">;
225
+ interfaceViews: z.ZodArray<z.ZodString>;
226
+ witnessParties: z.ZodArray<z.ZodString>;
227
+ signatories: z.ZodArray<z.ZodString>;
228
+ observers: z.ZodArray<z.ZodString>;
1741
229
  createdAt: z.ZodString;
1742
230
  packageName: z.ZodString;
1743
- implementedInterfaces: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1744
- }, "strict", z.ZodTypeAny, {
1745
- contractId: string;
1746
- offset: number;
1747
- templateId: string;
1748
- packageName: string;
1749
- contractKey: string | null;
1750
- createdEventBlob: string;
1751
- nodeId: number;
1752
- createArgument: Record<string, string | number | boolean | any[] | Record<string, any> | null>;
1753
- interfaceViews: string[];
1754
- witnessParties: string[];
1755
- signatories: string[];
1756
- observers: string[];
1757
- createdAt: string;
1758
- implementedInterfaces?: string[] | undefined;
1759
- }, {
1760
- contractId: string;
1761
- offset: number;
1762
- templateId: string;
1763
- packageName: string;
1764
- contractKey: string | null;
1765
- createdEventBlob: string;
1766
- nodeId: number;
1767
- createArgument: Record<string, string | number | boolean | any[] | Record<string, any> | null>;
1768
- interfaceViews: string[];
1769
- witnessParties: string[];
1770
- signatories: string[];
1771
- observers: string[];
1772
- createdAt: string;
1773
- implementedInterfaces?: string[] | undefined;
1774
- }>;
1775
- }, "strict", z.ZodTypeAny, {
1776
- value: {
1777
- contractId: string;
1778
- offset: number;
1779
- templateId: string;
1780
- packageName: string;
1781
- contractKey: string | null;
1782
- createdEventBlob: string;
1783
- nodeId: number;
1784
- createArgument: Record<string, string | number | boolean | any[] | Record<string, any> | null>;
1785
- interfaceViews: string[];
1786
- witnessParties: string[];
1787
- signatories: string[];
1788
- observers: string[];
1789
- createdAt: string;
1790
- implementedInterfaces?: string[] | undefined;
1791
- };
1792
- }, {
1793
- value: {
1794
- contractId: string;
1795
- offset: number;
1796
- templateId: string;
1797
- packageName: string;
1798
- contractKey: string | null;
1799
- createdEventBlob: string;
1800
- nodeId: number;
1801
- createArgument: Record<string, string | number | boolean | any[] | Record<string, any> | null>;
1802
- interfaceViews: string[];
1803
- witnessParties: string[];
1804
- signatories: string[];
1805
- observers: string[];
1806
- createdAt: string;
1807
- implementedInterfaces?: string[] | undefined;
1808
- };
1809
- }>;
1810
- }, "strict", z.ZodTypeAny, {
1811
- CreatedTreeEvent: {
1812
- value: {
1813
- contractId: string;
1814
- offset: number;
1815
- templateId: string;
1816
- packageName: string;
1817
- contractKey: string | null;
1818
- createdEventBlob: string;
1819
- nodeId: number;
1820
- createArgument: Record<string, string | number | boolean | any[] | Record<string, any> | null>;
1821
- interfaceViews: string[];
1822
- witnessParties: string[];
1823
- signatories: string[];
1824
- observers: string[];
1825
- createdAt: string;
1826
- implementedInterfaces?: string[] | undefined;
1827
- };
1828
- };
1829
- }, {
1830
- CreatedTreeEvent: {
1831
- value: {
1832
- contractId: string;
1833
- offset: number;
1834
- templateId: string;
1835
- packageName: string;
1836
- contractKey: string | null;
1837
- createdEventBlob: string;
1838
- nodeId: number;
1839
- createArgument: Record<string, string | number | boolean | any[] | Record<string, any> | null>;
1840
- interfaceViews: string[];
1841
- witnessParties: string[];
1842
- signatories: string[];
1843
- observers: string[];
1844
- createdAt: string;
1845
- implementedInterfaces?: string[] | undefined;
1846
- };
1847
- };
1848
- }>, z.ZodObject<{
231
+ implementedInterfaces: z.ZodOptional<z.ZodArray<z.ZodString>>;
232
+ }, z.core.$strict>;
233
+ }, z.core.$strict>;
234
+ }, z.core.$strict>, z.ZodObject<{
1849
235
  ExercisedTreeEvent: z.ZodObject<{
1850
236
  value: z.ZodObject<{
1851
237
  offset: z.ZodNumber;
@@ -1854,466 +240,37 @@ export declare const TransactionTreeByOffsetResponseSchema: z.ZodObject<{
1854
240
  templateId: z.ZodString;
1855
241
  interfaceId: z.ZodNullable<z.ZodString>;
1856
242
  choice: z.ZodString;
1857
- choiceArgument: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull, z.ZodRecord<z.ZodString, z.ZodAny>, z.ZodArray<z.ZodAny, "many">]>>;
1858
- actingParties: z.ZodArray<z.ZodString, "many">;
1859
- witnessParties: z.ZodArray<z.ZodString, "many">;
1860
- exerciseResult: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull, z.ZodRecord<z.ZodString, z.ZodAny>, z.ZodArray<z.ZodAny, "many">]>>;
243
+ choiceArgument: z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull, z.ZodRecord<z.ZodString, z.ZodAny>, z.ZodArray<z.ZodAny>]>>;
244
+ actingParties: z.ZodArray<z.ZodString>;
245
+ witnessParties: z.ZodArray<z.ZodString>;
246
+ exerciseResult: z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull, z.ZodRecord<z.ZodString, z.ZodAny>, z.ZodArray<z.ZodAny>]>>;
1861
247
  packageName: z.ZodString;
1862
248
  consuming: z.ZodBoolean;
1863
249
  lastDescendantNodeId: z.ZodOptional<z.ZodNumber>;
1864
- implementedInterfaces: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1865
- }, "strict", z.ZodTypeAny, {
1866
- contractId: string;
1867
- offset: number;
1868
- interfaceId: string | null;
1869
- templateId: string;
1870
- packageName: string;
1871
- choice: string;
1872
- choiceArgument: Record<string, string | number | boolean | any[] | Record<string, any> | null>;
1873
- nodeId: number;
1874
- witnessParties: string[];
1875
- actingParties: string[];
1876
- exerciseResult: Record<string, string | number | boolean | any[] | Record<string, any> | null>;
1877
- consuming: boolean;
1878
- implementedInterfaces?: string[] | undefined;
1879
- lastDescendantNodeId?: number | undefined;
1880
- }, {
1881
- contractId: string;
1882
- offset: number;
1883
- interfaceId: string | null;
1884
- templateId: string;
1885
- packageName: string;
1886
- choice: string;
1887
- choiceArgument: Record<string, string | number | boolean | any[] | Record<string, any> | null>;
1888
- nodeId: number;
1889
- witnessParties: string[];
1890
- actingParties: string[];
1891
- exerciseResult: Record<string, string | number | boolean | any[] | Record<string, any> | null>;
1892
- consuming: boolean;
1893
- implementedInterfaces?: string[] | undefined;
1894
- lastDescendantNodeId?: number | undefined;
1895
- }>;
1896
- }, "strict", z.ZodTypeAny, {
1897
- value: {
1898
- contractId: string;
1899
- offset: number;
1900
- interfaceId: string | null;
1901
- templateId: string;
1902
- packageName: string;
1903
- choice: string;
1904
- choiceArgument: Record<string, string | number | boolean | any[] | Record<string, any> | null>;
1905
- nodeId: number;
1906
- witnessParties: string[];
1907
- actingParties: string[];
1908
- exerciseResult: Record<string, string | number | boolean | any[] | Record<string, any> | null>;
1909
- consuming: boolean;
1910
- implementedInterfaces?: string[] | undefined;
1911
- lastDescendantNodeId?: number | undefined;
1912
- };
1913
- }, {
1914
- value: {
1915
- contractId: string;
1916
- offset: number;
1917
- interfaceId: string | null;
1918
- templateId: string;
1919
- packageName: string;
1920
- choice: string;
1921
- choiceArgument: Record<string, string | number | boolean | any[] | Record<string, any> | null>;
1922
- nodeId: number;
1923
- witnessParties: string[];
1924
- actingParties: string[];
1925
- exerciseResult: Record<string, string | number | boolean | any[] | Record<string, any> | null>;
1926
- consuming: boolean;
1927
- implementedInterfaces?: string[] | undefined;
1928
- lastDescendantNodeId?: number | undefined;
1929
- };
1930
- }>;
1931
- }, "strict", z.ZodTypeAny, {
1932
- ExercisedTreeEvent: {
1933
- value: {
1934
- contractId: string;
1935
- offset: number;
1936
- interfaceId: string | null;
1937
- templateId: string;
1938
- packageName: string;
1939
- choice: string;
1940
- choiceArgument: Record<string, string | number | boolean | any[] | Record<string, any> | null>;
1941
- nodeId: number;
1942
- witnessParties: string[];
1943
- actingParties: string[];
1944
- exerciseResult: Record<string, string | number | boolean | any[] | Record<string, any> | null>;
1945
- consuming: boolean;
1946
- implementedInterfaces?: string[] | undefined;
1947
- lastDescendantNodeId?: number | undefined;
1948
- };
1949
- };
1950
- }, {
1951
- ExercisedTreeEvent: {
1952
- value: {
1953
- contractId: string;
1954
- offset: number;
1955
- interfaceId: string | null;
1956
- templateId: string;
1957
- packageName: string;
1958
- choice: string;
1959
- choiceArgument: Record<string, string | number | boolean | any[] | Record<string, any> | null>;
1960
- nodeId: number;
1961
- witnessParties: string[];
1962
- actingParties: string[];
1963
- exerciseResult: Record<string, string | number | boolean | any[] | Record<string, any> | null>;
1964
- consuming: boolean;
1965
- implementedInterfaces?: string[] | undefined;
1966
- lastDescendantNodeId?: number | undefined;
1967
- };
1968
- };
1969
- }>, z.ZodObject<{
250
+ implementedInterfaces: z.ZodOptional<z.ZodArray<z.ZodString>>;
251
+ }, z.core.$strict>;
252
+ }, z.core.$strict>;
253
+ }, z.core.$strict>, z.ZodObject<{
1970
254
  ArchivedTreeEvent: z.ZodObject<{
1971
255
  value: z.ZodObject<{
1972
256
  offset: z.ZodNumber;
1973
257
  nodeId: z.ZodNumber;
1974
258
  contractId: z.ZodString;
1975
259
  templateId: z.ZodString;
1976
- witnessParties: z.ZodArray<z.ZodString, "many">;
260
+ witnessParties: z.ZodArray<z.ZodString>;
1977
261
  packageName: z.ZodString;
1978
- implementedInterfaces: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1979
- }, "strict", z.ZodTypeAny, {
1980
- contractId: string;
1981
- offset: number;
1982
- templateId: string;
1983
- packageName: string;
1984
- nodeId: number;
1985
- witnessParties: string[];
1986
- implementedInterfaces?: string[] | undefined;
1987
- }, {
1988
- contractId: string;
1989
- offset: number;
1990
- templateId: string;
1991
- packageName: string;
1992
- nodeId: number;
1993
- witnessParties: string[];
1994
- implementedInterfaces?: string[] | undefined;
1995
- }>;
1996
- }, "strict", z.ZodTypeAny, {
1997
- value: {
1998
- contractId: string;
1999
- offset: number;
2000
- templateId: string;
2001
- packageName: string;
2002
- nodeId: number;
2003
- witnessParties: string[];
2004
- implementedInterfaces?: string[] | undefined;
2005
- };
2006
- }, {
2007
- value: {
2008
- contractId: string;
2009
- offset: number;
2010
- templateId: string;
2011
- packageName: string;
2012
- nodeId: number;
2013
- witnessParties: string[];
2014
- implementedInterfaces?: string[] | undefined;
2015
- };
2016
- }>;
2017
- }, "strict", z.ZodTypeAny, {
2018
- ArchivedTreeEvent: {
2019
- value: {
2020
- contractId: string;
2021
- offset: number;
2022
- templateId: string;
2023
- packageName: string;
2024
- nodeId: number;
2025
- witnessParties: string[];
2026
- implementedInterfaces?: string[] | undefined;
2027
- };
2028
- };
2029
- }, {
2030
- ArchivedTreeEvent: {
2031
- value: {
2032
- contractId: string;
2033
- offset: number;
2034
- templateId: string;
2035
- packageName: string;
2036
- nodeId: number;
2037
- witnessParties: string[];
2038
- implementedInterfaces?: string[] | undefined;
2039
- };
2040
- };
2041
- }>]>>;
2042
- /** Record time of the transaction (ISO 8601). */
262
+ implementedInterfaces: z.ZodOptional<z.ZodArray<z.ZodString>>;
263
+ }, z.core.$strict>;
264
+ }, z.core.$strict>;
265
+ }, z.core.$strict>]>>;
2043
266
  recordTime: z.ZodString;
2044
- /** Synchronizer ID for the transaction. */
2045
267
  synchronizerId: z.ZodString;
2046
- /** Trace context for distributed tracing (optional). */
2047
268
  traceContext: z.ZodOptional<z.ZodObject<{
2048
- /** W3C traceparent header value. */
2049
269
  traceparent: z.ZodString;
2050
- /** W3C tracestate header value (nullable). */
2051
270
  tracestate: z.ZodNullable<z.ZodString>;
2052
- }, "strip", z.ZodTypeAny, {
2053
- traceparent: string;
2054
- tracestate: string | null;
2055
- }, {
2056
- traceparent: string;
2057
- tracestate: string | null;
2058
- }>>;
2059
- }, "strict", z.ZodTypeAny, {
2060
- synchronizerId: string;
2061
- offset: number;
2062
- updateId: string;
2063
- recordTime: string;
2064
- effectiveAt: string;
2065
- eventsById: Record<string, {
2066
- CreatedTreeEvent: {
2067
- value: {
2068
- contractId: string;
2069
- offset: number;
2070
- templateId: string;
2071
- packageName: string;
2072
- contractKey: string | null;
2073
- createdEventBlob: string;
2074
- nodeId: number;
2075
- createArgument: Record<string, string | number | boolean | any[] | Record<string, any> | null>;
2076
- interfaceViews: string[];
2077
- witnessParties: string[];
2078
- signatories: string[];
2079
- observers: string[];
2080
- createdAt: string;
2081
- implementedInterfaces?: string[] | undefined;
2082
- };
2083
- };
2084
- } | {
2085
- ExercisedTreeEvent: {
2086
- value: {
2087
- contractId: string;
2088
- offset: number;
2089
- interfaceId: string | null;
2090
- templateId: string;
2091
- packageName: string;
2092
- choice: string;
2093
- choiceArgument: Record<string, string | number | boolean | any[] | Record<string, any> | null>;
2094
- nodeId: number;
2095
- witnessParties: string[];
2096
- actingParties: string[];
2097
- exerciseResult: Record<string, string | number | boolean | any[] | Record<string, any> | null>;
2098
- consuming: boolean;
2099
- implementedInterfaces?: string[] | undefined;
2100
- lastDescendantNodeId?: number | undefined;
2101
- };
2102
- };
2103
- } | {
2104
- ArchivedTreeEvent: {
2105
- value: {
2106
- contractId: string;
2107
- offset: number;
2108
- templateId: string;
2109
- packageName: string;
2110
- nodeId: number;
2111
- witnessParties: string[];
2112
- implementedInterfaces?: string[] | undefined;
2113
- };
2114
- };
2115
- }>;
2116
- commandId?: string | undefined;
2117
- workflowId?: string | undefined;
2118
- traceContext?: {
2119
- traceparent: string;
2120
- tracestate: string | null;
2121
- } | undefined;
2122
- }, {
2123
- synchronizerId: string;
2124
- offset: number;
2125
- updateId: string;
2126
- recordTime: string;
2127
- effectiveAt: string;
2128
- eventsById: Record<string, {
2129
- CreatedTreeEvent: {
2130
- value: {
2131
- contractId: string;
2132
- offset: number;
2133
- templateId: string;
2134
- packageName: string;
2135
- contractKey: string | null;
2136
- createdEventBlob: string;
2137
- nodeId: number;
2138
- createArgument: Record<string, string | number | boolean | any[] | Record<string, any> | null>;
2139
- interfaceViews: string[];
2140
- witnessParties: string[];
2141
- signatories: string[];
2142
- observers: string[];
2143
- createdAt: string;
2144
- implementedInterfaces?: string[] | undefined;
2145
- };
2146
- };
2147
- } | {
2148
- ExercisedTreeEvent: {
2149
- value: {
2150
- contractId: string;
2151
- offset: number;
2152
- interfaceId: string | null;
2153
- templateId: string;
2154
- packageName: string;
2155
- choice: string;
2156
- choiceArgument: Record<string, string | number | boolean | any[] | Record<string, any> | null>;
2157
- nodeId: number;
2158
- witnessParties: string[];
2159
- actingParties: string[];
2160
- exerciseResult: Record<string, string | number | boolean | any[] | Record<string, any> | null>;
2161
- consuming: boolean;
2162
- implementedInterfaces?: string[] | undefined;
2163
- lastDescendantNodeId?: number | undefined;
2164
- };
2165
- };
2166
- } | {
2167
- ArchivedTreeEvent: {
2168
- value: {
2169
- contractId: string;
2170
- offset: number;
2171
- templateId: string;
2172
- packageName: string;
2173
- nodeId: number;
2174
- witnessParties: string[];
2175
- implementedInterfaces?: string[] | undefined;
2176
- };
2177
- };
2178
- }>;
2179
- commandId?: string | undefined;
2180
- workflowId?: string | undefined;
2181
- traceContext?: {
2182
- traceparent: string;
2183
- tracestate: string | null;
2184
- } | undefined;
2185
- }>;
2186
- }, "strict", z.ZodTypeAny, {
2187
- transaction: {
2188
- synchronizerId: string;
2189
- offset: number;
2190
- updateId: string;
2191
- recordTime: string;
2192
- effectiveAt: string;
2193
- eventsById: Record<string, {
2194
- CreatedTreeEvent: {
2195
- value: {
2196
- contractId: string;
2197
- offset: number;
2198
- templateId: string;
2199
- packageName: string;
2200
- contractKey: string | null;
2201
- createdEventBlob: string;
2202
- nodeId: number;
2203
- createArgument: Record<string, string | number | boolean | any[] | Record<string, any> | null>;
2204
- interfaceViews: string[];
2205
- witnessParties: string[];
2206
- signatories: string[];
2207
- observers: string[];
2208
- createdAt: string;
2209
- implementedInterfaces?: string[] | undefined;
2210
- };
2211
- };
2212
- } | {
2213
- ExercisedTreeEvent: {
2214
- value: {
2215
- contractId: string;
2216
- offset: number;
2217
- interfaceId: string | null;
2218
- templateId: string;
2219
- packageName: string;
2220
- choice: string;
2221
- choiceArgument: Record<string, string | number | boolean | any[] | Record<string, any> | null>;
2222
- nodeId: number;
2223
- witnessParties: string[];
2224
- actingParties: string[];
2225
- exerciseResult: Record<string, string | number | boolean | any[] | Record<string, any> | null>;
2226
- consuming: boolean;
2227
- implementedInterfaces?: string[] | undefined;
2228
- lastDescendantNodeId?: number | undefined;
2229
- };
2230
- };
2231
- } | {
2232
- ArchivedTreeEvent: {
2233
- value: {
2234
- contractId: string;
2235
- offset: number;
2236
- templateId: string;
2237
- packageName: string;
2238
- nodeId: number;
2239
- witnessParties: string[];
2240
- implementedInterfaces?: string[] | undefined;
2241
- };
2242
- };
2243
- }>;
2244
- commandId?: string | undefined;
2245
- workflowId?: string | undefined;
2246
- traceContext?: {
2247
- traceparent: string;
2248
- tracestate: string | null;
2249
- } | undefined;
2250
- };
2251
- }, {
2252
- transaction: {
2253
- synchronizerId: string;
2254
- offset: number;
2255
- updateId: string;
2256
- recordTime: string;
2257
- effectiveAt: string;
2258
- eventsById: Record<string, {
2259
- CreatedTreeEvent: {
2260
- value: {
2261
- contractId: string;
2262
- offset: number;
2263
- templateId: string;
2264
- packageName: string;
2265
- contractKey: string | null;
2266
- createdEventBlob: string;
2267
- nodeId: number;
2268
- createArgument: Record<string, string | number | boolean | any[] | Record<string, any> | null>;
2269
- interfaceViews: string[];
2270
- witnessParties: string[];
2271
- signatories: string[];
2272
- observers: string[];
2273
- createdAt: string;
2274
- implementedInterfaces?: string[] | undefined;
2275
- };
2276
- };
2277
- } | {
2278
- ExercisedTreeEvent: {
2279
- value: {
2280
- contractId: string;
2281
- offset: number;
2282
- interfaceId: string | null;
2283
- templateId: string;
2284
- packageName: string;
2285
- choice: string;
2286
- choiceArgument: Record<string, string | number | boolean | any[] | Record<string, any> | null>;
2287
- nodeId: number;
2288
- witnessParties: string[];
2289
- actingParties: string[];
2290
- exerciseResult: Record<string, string | number | boolean | any[] | Record<string, any> | null>;
2291
- consuming: boolean;
2292
- implementedInterfaces?: string[] | undefined;
2293
- lastDescendantNodeId?: number | undefined;
2294
- };
2295
- };
2296
- } | {
2297
- ArchivedTreeEvent: {
2298
- value: {
2299
- contractId: string;
2300
- offset: number;
2301
- templateId: string;
2302
- packageName: string;
2303
- nodeId: number;
2304
- witnessParties: string[];
2305
- implementedInterfaces?: string[] | undefined;
2306
- };
2307
- };
2308
- }>;
2309
- commandId?: string | undefined;
2310
- workflowId?: string | undefined;
2311
- traceContext?: {
2312
- traceparent: string;
2313
- tracestate: string | null;
2314
- } | undefined;
2315
- };
2316
- }>;
271
+ }, z.core.$strip>>;
272
+ }, z.core.$strict>;
273
+ }, z.core.$strict>;
2317
274
  export type TransactionTree = z.infer<typeof TransactionTreeSchema>;
2318
275
  export type CommandResponse = z.infer<typeof CommandResponseSchema>;
2319
276
  export type CreateContractResponse = z.infer<typeof CreateContractResponseSchema>;