@fairmint/canton-node-sdk 0.0.48 → 0.0.49

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