@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
@@ -4,1394 +4,200 @@ import { DeduplicationPeriodSchema } from './commands';
4
4
  * Status information for completions.
5
5
  */
6
6
  export declare const JsStatusSchema: z.ZodObject<{
7
- /** Status code. */
8
7
  code: z.ZodNumber;
9
- /** Status message. */
10
8
  message: z.ZodString;
11
- /** Additional details (optional). */
12
9
  details: z.ZodOptional<z.ZodArray<z.ZodObject<{
13
10
  code: z.ZodNumber;
14
11
  message: z.ZodString;
15
12
  details: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
16
- }, "strip", z.ZodTypeAny, {
17
- code: number;
18
- message: string;
19
- details?: Record<string, any> | undefined;
20
- }, {
21
- code: number;
22
- message: string;
23
- details?: Record<string, any> | undefined;
24
- }>, "many">>;
25
- }, "strip", z.ZodTypeAny, {
26
- code: number;
27
- message: string;
28
- details?: {
29
- code: number;
30
- message: string;
31
- details?: Record<string, any> | undefined;
32
- }[] | undefined;
33
- }, {
34
- code: number;
35
- message: string;
36
- details?: {
37
- code: number;
38
- message: string;
39
- details?: Record<string, any> | undefined;
40
- }[] | undefined;
41
- }>;
13
+ }, z.core.$strip>>>;
14
+ }, z.core.$strip>;
42
15
  /**
43
16
  * Synchronizer time information.
44
17
  */
45
18
  export declare const SynchronizerTimeSchema: z.ZodObject<{
46
- /** Synchronizer ID. */
47
19
  synchronizerId: z.ZodString;
48
- /** Record time. */
49
20
  recordTime: z.ZodString;
50
- }, "strip", z.ZodTypeAny, {
51
- synchronizerId: string;
52
- recordTime: string;
53
- }, {
54
- synchronizerId: string;
55
- recordTime: string;
56
- }>;
21
+ }, z.core.$strip>;
57
22
  /**
58
23
  * Completion details.
59
24
  */
60
25
  export declare const CompletionSchema: z.ZodObject<{
61
- /** The completion details. */
62
26
  value: z.ZodObject<{
63
- /** Command ID of the succeeded or failed command. */
64
27
  commandId: z.ZodString;
65
- /** Status information (optional). */
66
28
  status: z.ZodOptional<z.ZodObject<{
67
- /** Status code. */
68
29
  code: z.ZodNumber;
69
- /** Status message. */
70
30
  message: z.ZodString;
71
- /** Additional details (optional). */
72
31
  details: z.ZodOptional<z.ZodArray<z.ZodObject<{
73
32
  code: z.ZodNumber;
74
33
  message: z.ZodString;
75
34
  details: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
76
- }, "strip", z.ZodTypeAny, {
77
- code: number;
78
- message: string;
79
- details?: Record<string, any> | undefined;
80
- }, {
81
- code: number;
82
- message: string;
83
- details?: Record<string, any> | undefined;
84
- }>, "many">>;
85
- }, "strip", z.ZodTypeAny, {
86
- code: number;
87
- message: string;
88
- details?: {
89
- code: number;
90
- message: string;
91
- details?: Record<string, any> | undefined;
92
- }[] | undefined;
93
- }, {
94
- code: number;
95
- message: string;
96
- details?: {
97
- code: number;
98
- message: string;
99
- details?: Record<string, any> | undefined;
100
- }[] | undefined;
101
- }>>;
102
- /** Update ID of the transaction (optional). */
35
+ }, z.core.$strip>>>;
36
+ }, z.core.$strip>>;
103
37
  updateId: z.ZodOptional<z.ZodString>;
104
- /** User ID that was used for the submission (optional). */
105
38
  userId: z.ZodOptional<z.ZodString>;
106
- /** Parties on whose behalf the commands were executed (optional). */
107
- actAs: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
108
- /** Submission ID (optional). */
39
+ actAs: z.ZodOptional<z.ZodArray<z.ZodString>>;
109
40
  submissionId: z.ZodOptional<z.ZodString>;
110
- /** Deduplication period. */
111
- deduplicationPeriod: z.ZodUnion<[z.ZodObject<{
41
+ deduplicationPeriod: z.ZodUnion<readonly [z.ZodObject<{
112
42
  DeduplicationDuration: z.ZodObject<{
113
43
  seconds: z.ZodNumber;
114
- }, "strip", z.ZodTypeAny, {
115
- seconds: number;
116
- }, {
117
- seconds: number;
118
- }>;
119
- }, "strip", z.ZodTypeAny, {
120
- DeduplicationDuration: {
121
- seconds: number;
122
- };
123
- }, {
124
- DeduplicationDuration: {
125
- seconds: number;
126
- };
127
- }>, z.ZodObject<{
44
+ }, z.core.$strip>;
45
+ }, z.core.$strip>, z.ZodObject<{
128
46
  DeduplicationOffset: z.ZodObject<{
129
47
  offset: z.ZodNumber;
130
- }, "strip", z.ZodTypeAny, {
131
- offset: number;
132
- }, {
133
- offset: number;
134
- }>;
135
- }, "strip", z.ZodTypeAny, {
136
- DeduplicationOffset: {
137
- offset: number;
138
- };
139
- }, {
140
- DeduplicationOffset: {
141
- offset: number;
142
- };
143
- }>, z.ZodObject<{
144
- Empty: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
145
- }, "strip", z.ZodTypeAny, {
146
- Empty: {};
147
- }, {
148
- Empty: {};
149
- }>]>;
150
- /** Trace context (optional). */
48
+ }, z.core.$strip>;
49
+ }, z.core.$strip>, z.ZodObject<{
50
+ Empty: z.ZodObject<{}, z.core.$strip>;
51
+ }, z.core.$strip>]>;
151
52
  traceContext: z.ZodOptional<z.ZodObject<{
152
53
  traceId: z.ZodOptional<z.ZodString>;
153
54
  spanId: z.ZodOptional<z.ZodString>;
154
55
  parentSpanId: z.ZodOptional<z.ZodString>;
155
56
  metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
156
- }, "strip", z.ZodTypeAny, {
157
- metadata?: Record<string, string> | undefined;
158
- traceId?: string | undefined;
159
- spanId?: string | undefined;
160
- parentSpanId?: string | undefined;
161
- }, {
162
- metadata?: Record<string, string> | undefined;
163
- traceId?: string | undefined;
164
- spanId?: string | undefined;
165
- parentSpanId?: string | undefined;
166
- }>>;
167
- /** Offset for resuming the stream. */
57
+ }, z.core.$strip>>;
168
58
  offset: z.ZodNumber;
169
- /** Synchronizer time information. */
170
59
  synchronizerTime: z.ZodObject<{
171
- /** Synchronizer ID. */
172
60
  synchronizerId: z.ZodString;
173
- /** Record time. */
174
61
  recordTime: z.ZodString;
175
- }, "strip", z.ZodTypeAny, {
176
- synchronizerId: string;
177
- recordTime: string;
178
- }, {
179
- synchronizerId: string;
180
- recordTime: string;
181
- }>;
182
- }, "strip", z.ZodTypeAny, {
183
- commandId: string;
184
- deduplicationPeriod: {
185
- DeduplicationDuration: {
186
- seconds: number;
187
- };
188
- } | {
189
- DeduplicationOffset: {
190
- offset: number;
191
- };
192
- } | {
193
- Empty: {};
194
- };
195
- offset: number;
196
- synchronizerTime: {
197
- synchronizerId: string;
198
- recordTime: string;
199
- };
200
- status?: {
201
- code: number;
202
- message: string;
203
- details?: {
204
- code: number;
205
- message: string;
206
- details?: Record<string, any> | undefined;
207
- }[] | undefined;
208
- } | undefined;
209
- userId?: string | undefined;
210
- actAs?: string[] | undefined;
211
- submissionId?: string | undefined;
212
- updateId?: string | undefined;
213
- traceContext?: {
214
- metadata?: Record<string, string> | undefined;
215
- traceId?: string | undefined;
216
- spanId?: string | undefined;
217
- parentSpanId?: string | undefined;
218
- } | undefined;
219
- }, {
220
- commandId: string;
221
- deduplicationPeriod: {
222
- DeduplicationDuration: {
223
- seconds: number;
224
- };
225
- } | {
226
- DeduplicationOffset: {
227
- offset: number;
228
- };
229
- } | {
230
- Empty: {};
231
- };
232
- offset: number;
233
- synchronizerTime: {
234
- synchronizerId: string;
235
- recordTime: string;
236
- };
237
- status?: {
238
- code: number;
239
- message: string;
240
- details?: {
241
- code: number;
242
- message: string;
243
- details?: Record<string, any> | undefined;
244
- }[] | undefined;
245
- } | undefined;
246
- userId?: string | undefined;
247
- actAs?: string[] | undefined;
248
- submissionId?: string | undefined;
249
- updateId?: string | undefined;
250
- traceContext?: {
251
- metadata?: Record<string, string> | undefined;
252
- traceId?: string | undefined;
253
- spanId?: string | undefined;
254
- parentSpanId?: string | undefined;
255
- } | undefined;
256
- }>;
257
- }, "strip", z.ZodTypeAny, {
258
- value: {
259
- commandId: string;
260
- deduplicationPeriod: {
261
- DeduplicationDuration: {
262
- seconds: number;
263
- };
264
- } | {
265
- DeduplicationOffset: {
266
- offset: number;
267
- };
268
- } | {
269
- Empty: {};
270
- };
271
- offset: number;
272
- synchronizerTime: {
273
- synchronizerId: string;
274
- recordTime: string;
275
- };
276
- status?: {
277
- code: number;
278
- message: string;
279
- details?: {
280
- code: number;
281
- message: string;
282
- details?: Record<string, any> | undefined;
283
- }[] | undefined;
284
- } | undefined;
285
- userId?: string | undefined;
286
- actAs?: string[] | undefined;
287
- submissionId?: string | undefined;
288
- updateId?: string | undefined;
289
- traceContext?: {
290
- metadata?: Record<string, string> | undefined;
291
- traceId?: string | undefined;
292
- spanId?: string | undefined;
293
- parentSpanId?: string | undefined;
294
- } | undefined;
295
- };
296
- }, {
297
- value: {
298
- commandId: string;
299
- deduplicationPeriod: {
300
- DeduplicationDuration: {
301
- seconds: number;
302
- };
303
- } | {
304
- DeduplicationOffset: {
305
- offset: number;
306
- };
307
- } | {
308
- Empty: {};
309
- };
310
- offset: number;
311
- synchronizerTime: {
312
- synchronizerId: string;
313
- recordTime: string;
314
- };
315
- status?: {
316
- code: number;
317
- message: string;
318
- details?: {
319
- code: number;
320
- message: string;
321
- details?: Record<string, any> | undefined;
322
- }[] | undefined;
323
- } | undefined;
324
- userId?: string | undefined;
325
- actAs?: string[] | undefined;
326
- submissionId?: string | undefined;
327
- updateId?: string | undefined;
328
- traceContext?: {
329
- metadata?: Record<string, string> | undefined;
330
- traceId?: string | undefined;
331
- spanId?: string | undefined;
332
- parentSpanId?: string | undefined;
333
- } | undefined;
334
- };
335
- }>;
62
+ }, z.core.$strip>;
63
+ }, z.core.$strip>;
64
+ }, z.core.$strip>;
336
65
  /**
337
66
  * Offset checkpoint for stream resumption.
338
67
  */
339
68
  export declare const OffsetCheckpointSchema: z.ZodObject<{
340
- /** The checkpoint details. */
341
69
  value: z.ZodObject<{
342
- /** Offset for resuming the stream. */
343
70
  offset: z.ZodNumber;
344
- /** Synchronizer times. */
345
71
  synchronizerTimes: z.ZodArray<z.ZodObject<{
346
- /** Synchronizer ID. */
347
72
  synchronizerId: z.ZodString;
348
- /** Record time. */
349
73
  recordTime: z.ZodString;
350
- }, "strip", z.ZodTypeAny, {
351
- synchronizerId: string;
352
- recordTime: string;
353
- }, {
354
- synchronizerId: string;
355
- recordTime: string;
356
- }>, "many">;
357
- }, "strip", z.ZodTypeAny, {
358
- offset: number;
359
- synchronizerTimes: {
360
- synchronizerId: string;
361
- recordTime: string;
362
- }[];
363
- }, {
364
- offset: number;
365
- synchronizerTimes: {
366
- synchronizerId: string;
367
- recordTime: string;
368
- }[];
369
- }>;
370
- }, "strip", z.ZodTypeAny, {
371
- value: {
372
- offset: number;
373
- synchronizerTimes: {
374
- synchronizerId: string;
375
- recordTime: string;
376
- }[];
377
- };
378
- }, {
379
- value: {
380
- offset: number;
381
- synchronizerTimes: {
382
- synchronizerId: string;
383
- recordTime: string;
384
- }[];
385
- };
386
- }>;
74
+ }, z.core.$strip>>;
75
+ }, z.core.$strip>;
76
+ }, z.core.$strip>;
387
77
  /**
388
78
  * Completion response (oneOf completion, empty, or offset checkpoint).
389
79
  */
390
- export declare const CompletionResponseSchema: z.ZodUnion<[z.ZodObject<{
80
+ export declare const CompletionResponseSchema: z.ZodUnion<readonly [z.ZodObject<{
391
81
  Completion: z.ZodObject<{
392
- /** The completion details. */
393
82
  value: z.ZodObject<{
394
- /** Command ID of the succeeded or failed command. */
395
83
  commandId: z.ZodString;
396
- /** Status information (optional). */
397
84
  status: z.ZodOptional<z.ZodObject<{
398
- /** Status code. */
399
85
  code: z.ZodNumber;
400
- /** Status message. */
401
86
  message: z.ZodString;
402
- /** Additional details (optional). */
403
87
  details: z.ZodOptional<z.ZodArray<z.ZodObject<{
404
88
  code: z.ZodNumber;
405
89
  message: z.ZodString;
406
90
  details: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
407
- }, "strip", z.ZodTypeAny, {
408
- code: number;
409
- message: string;
410
- details?: Record<string, any> | undefined;
411
- }, {
412
- code: number;
413
- message: string;
414
- details?: Record<string, any> | undefined;
415
- }>, "many">>;
416
- }, "strip", z.ZodTypeAny, {
417
- code: number;
418
- message: string;
419
- details?: {
420
- code: number;
421
- message: string;
422
- details?: Record<string, any> | undefined;
423
- }[] | undefined;
424
- }, {
425
- code: number;
426
- message: string;
427
- details?: {
428
- code: number;
429
- message: string;
430
- details?: Record<string, any> | undefined;
431
- }[] | undefined;
432
- }>>;
433
- /** Update ID of the transaction (optional). */
91
+ }, z.core.$strip>>>;
92
+ }, z.core.$strip>>;
434
93
  updateId: z.ZodOptional<z.ZodString>;
435
- /** User ID that was used for the submission (optional). */
436
94
  userId: z.ZodOptional<z.ZodString>;
437
- /** Parties on whose behalf the commands were executed (optional). */
438
- actAs: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
439
- /** Submission ID (optional). */
95
+ actAs: z.ZodOptional<z.ZodArray<z.ZodString>>;
440
96
  submissionId: z.ZodOptional<z.ZodString>;
441
- /** Deduplication period. */
442
- deduplicationPeriod: z.ZodUnion<[z.ZodObject<{
97
+ deduplicationPeriod: z.ZodUnion<readonly [z.ZodObject<{
443
98
  DeduplicationDuration: z.ZodObject<{
444
99
  seconds: z.ZodNumber;
445
- }, "strip", z.ZodTypeAny, {
446
- seconds: number;
447
- }, {
448
- seconds: number;
449
- }>;
450
- }, "strip", z.ZodTypeAny, {
451
- DeduplicationDuration: {
452
- seconds: number;
453
- };
454
- }, {
455
- DeduplicationDuration: {
456
- seconds: number;
457
- };
458
- }>, z.ZodObject<{
100
+ }, z.core.$strip>;
101
+ }, z.core.$strip>, z.ZodObject<{
459
102
  DeduplicationOffset: z.ZodObject<{
460
103
  offset: z.ZodNumber;
461
- }, "strip", z.ZodTypeAny, {
462
- offset: number;
463
- }, {
464
- offset: number;
465
- }>;
466
- }, "strip", z.ZodTypeAny, {
467
- DeduplicationOffset: {
468
- offset: number;
469
- };
470
- }, {
471
- DeduplicationOffset: {
472
- offset: number;
473
- };
474
- }>, z.ZodObject<{
475
- Empty: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
476
- }, "strip", z.ZodTypeAny, {
477
- Empty: {};
478
- }, {
479
- Empty: {};
480
- }>]>;
481
- /** Trace context (optional). */
104
+ }, z.core.$strip>;
105
+ }, z.core.$strip>, z.ZodObject<{
106
+ Empty: z.ZodObject<{}, z.core.$strip>;
107
+ }, z.core.$strip>]>;
482
108
  traceContext: z.ZodOptional<z.ZodObject<{
483
109
  traceId: z.ZodOptional<z.ZodString>;
484
110
  spanId: z.ZodOptional<z.ZodString>;
485
111
  parentSpanId: z.ZodOptional<z.ZodString>;
486
112
  metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
487
- }, "strip", z.ZodTypeAny, {
488
- metadata?: Record<string, string> | undefined;
489
- traceId?: string | undefined;
490
- spanId?: string | undefined;
491
- parentSpanId?: string | undefined;
492
- }, {
493
- metadata?: Record<string, string> | undefined;
494
- traceId?: string | undefined;
495
- spanId?: string | undefined;
496
- parentSpanId?: string | undefined;
497
- }>>;
498
- /** Offset for resuming the stream. */
113
+ }, z.core.$strip>>;
499
114
  offset: z.ZodNumber;
500
- /** Synchronizer time information. */
501
115
  synchronizerTime: z.ZodObject<{
502
- /** Synchronizer ID. */
503
116
  synchronizerId: z.ZodString;
504
- /** Record time. */
505
117
  recordTime: z.ZodString;
506
- }, "strip", z.ZodTypeAny, {
507
- synchronizerId: string;
508
- recordTime: string;
509
- }, {
510
- synchronizerId: string;
511
- recordTime: string;
512
- }>;
513
- }, "strip", z.ZodTypeAny, {
514
- commandId: string;
515
- deduplicationPeriod: {
516
- DeduplicationDuration: {
517
- seconds: number;
518
- };
519
- } | {
520
- DeduplicationOffset: {
521
- offset: number;
522
- };
523
- } | {
524
- Empty: {};
525
- };
526
- offset: number;
527
- synchronizerTime: {
528
- synchronizerId: string;
529
- recordTime: string;
530
- };
531
- status?: {
532
- code: number;
533
- message: string;
534
- details?: {
535
- code: number;
536
- message: string;
537
- details?: Record<string, any> | undefined;
538
- }[] | undefined;
539
- } | undefined;
540
- userId?: string | undefined;
541
- actAs?: string[] | undefined;
542
- submissionId?: string | undefined;
543
- updateId?: string | undefined;
544
- traceContext?: {
545
- metadata?: Record<string, string> | undefined;
546
- traceId?: string | undefined;
547
- spanId?: string | undefined;
548
- parentSpanId?: string | undefined;
549
- } | undefined;
550
- }, {
551
- commandId: string;
552
- deduplicationPeriod: {
553
- DeduplicationDuration: {
554
- seconds: number;
555
- };
556
- } | {
557
- DeduplicationOffset: {
558
- offset: number;
559
- };
560
- } | {
561
- Empty: {};
562
- };
563
- offset: number;
564
- synchronizerTime: {
565
- synchronizerId: string;
566
- recordTime: string;
567
- };
568
- status?: {
569
- code: number;
570
- message: string;
571
- details?: {
572
- code: number;
573
- message: string;
574
- details?: Record<string, any> | undefined;
575
- }[] | undefined;
576
- } | undefined;
577
- userId?: string | undefined;
578
- actAs?: string[] | undefined;
579
- submissionId?: string | undefined;
580
- updateId?: string | undefined;
581
- traceContext?: {
582
- metadata?: Record<string, string> | undefined;
583
- traceId?: string | undefined;
584
- spanId?: string | undefined;
585
- parentSpanId?: string | undefined;
586
- } | undefined;
587
- }>;
588
- }, "strip", z.ZodTypeAny, {
589
- value: {
590
- commandId: string;
591
- deduplicationPeriod: {
592
- DeduplicationDuration: {
593
- seconds: number;
594
- };
595
- } | {
596
- DeduplicationOffset: {
597
- offset: number;
598
- };
599
- } | {
600
- Empty: {};
601
- };
602
- offset: number;
603
- synchronizerTime: {
604
- synchronizerId: string;
605
- recordTime: string;
606
- };
607
- status?: {
608
- code: number;
609
- message: string;
610
- details?: {
611
- code: number;
612
- message: string;
613
- details?: Record<string, any> | undefined;
614
- }[] | undefined;
615
- } | undefined;
616
- userId?: string | undefined;
617
- actAs?: string[] | undefined;
618
- submissionId?: string | undefined;
619
- updateId?: string | undefined;
620
- traceContext?: {
621
- metadata?: Record<string, string> | undefined;
622
- traceId?: string | undefined;
623
- spanId?: string | undefined;
624
- parentSpanId?: string | undefined;
625
- } | undefined;
626
- };
627
- }, {
628
- value: {
629
- commandId: string;
630
- deduplicationPeriod: {
631
- DeduplicationDuration: {
632
- seconds: number;
633
- };
634
- } | {
635
- DeduplicationOffset: {
636
- offset: number;
637
- };
638
- } | {
639
- Empty: {};
640
- };
641
- offset: number;
642
- synchronizerTime: {
643
- synchronizerId: string;
644
- recordTime: string;
645
- };
646
- status?: {
647
- code: number;
648
- message: string;
649
- details?: {
650
- code: number;
651
- message: string;
652
- details?: Record<string, any> | undefined;
653
- }[] | undefined;
654
- } | undefined;
655
- userId?: string | undefined;
656
- actAs?: string[] | undefined;
657
- submissionId?: string | undefined;
658
- updateId?: string | undefined;
659
- traceContext?: {
660
- metadata?: Record<string, string> | undefined;
661
- traceId?: string | undefined;
662
- spanId?: string | undefined;
663
- parentSpanId?: string | undefined;
664
- } | undefined;
665
- };
666
- }>;
667
- }, "strip", z.ZodTypeAny, {
668
- Completion: {
669
- value: {
670
- commandId: string;
671
- deduplicationPeriod: {
672
- DeduplicationDuration: {
673
- seconds: number;
674
- };
675
- } | {
676
- DeduplicationOffset: {
677
- offset: number;
678
- };
679
- } | {
680
- Empty: {};
681
- };
682
- offset: number;
683
- synchronizerTime: {
684
- synchronizerId: string;
685
- recordTime: string;
686
- };
687
- status?: {
688
- code: number;
689
- message: string;
690
- details?: {
691
- code: number;
692
- message: string;
693
- details?: Record<string, any> | undefined;
694
- }[] | undefined;
695
- } | undefined;
696
- userId?: string | undefined;
697
- actAs?: string[] | undefined;
698
- submissionId?: string | undefined;
699
- updateId?: string | undefined;
700
- traceContext?: {
701
- metadata?: Record<string, string> | undefined;
702
- traceId?: string | undefined;
703
- spanId?: string | undefined;
704
- parentSpanId?: string | undefined;
705
- } | undefined;
706
- };
707
- };
708
- }, {
709
- Completion: {
710
- value: {
711
- commandId: string;
712
- deduplicationPeriod: {
713
- DeduplicationDuration: {
714
- seconds: number;
715
- };
716
- } | {
717
- DeduplicationOffset: {
718
- offset: number;
719
- };
720
- } | {
721
- Empty: {};
722
- };
723
- offset: number;
724
- synchronizerTime: {
725
- synchronizerId: string;
726
- recordTime: string;
727
- };
728
- status?: {
729
- code: number;
730
- message: string;
731
- details?: {
732
- code: number;
733
- message: string;
734
- details?: Record<string, any> | undefined;
735
- }[] | undefined;
736
- } | undefined;
737
- userId?: string | undefined;
738
- actAs?: string[] | undefined;
739
- submissionId?: string | undefined;
740
- updateId?: string | undefined;
741
- traceContext?: {
742
- metadata?: Record<string, string> | undefined;
743
- traceId?: string | undefined;
744
- spanId?: string | undefined;
745
- parentSpanId?: string | undefined;
746
- } | undefined;
747
- };
748
- };
749
- }>, z.ZodObject<{
750
- Empty: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
751
- }, "strip", z.ZodTypeAny, {
752
- Empty: {};
753
- }, {
754
- Empty: {};
755
- }>, z.ZodObject<{
118
+ }, z.core.$strip>;
119
+ }, z.core.$strip>;
120
+ }, z.core.$strip>;
121
+ }, z.core.$strip>, z.ZodObject<{
122
+ Empty: z.ZodObject<{}, z.core.$strip>;
123
+ }, z.core.$strip>, z.ZodObject<{
756
124
  OffsetCheckpoint: z.ZodObject<{
757
- /** The checkpoint details. */
758
125
  value: z.ZodObject<{
759
- /** Offset for resuming the stream. */
760
126
  offset: z.ZodNumber;
761
- /** Synchronizer times. */
762
127
  synchronizerTimes: z.ZodArray<z.ZodObject<{
763
- /** Synchronizer ID. */
764
128
  synchronizerId: z.ZodString;
765
- /** Record time. */
766
129
  recordTime: z.ZodString;
767
- }, "strip", z.ZodTypeAny, {
768
- synchronizerId: string;
769
- recordTime: string;
770
- }, {
771
- synchronizerId: string;
772
- recordTime: string;
773
- }>, "many">;
774
- }, "strip", z.ZodTypeAny, {
775
- offset: number;
776
- synchronizerTimes: {
777
- synchronizerId: string;
778
- recordTime: string;
779
- }[];
780
- }, {
781
- offset: number;
782
- synchronizerTimes: {
783
- synchronizerId: string;
784
- recordTime: string;
785
- }[];
786
- }>;
787
- }, "strip", z.ZodTypeAny, {
788
- value: {
789
- offset: number;
790
- synchronizerTimes: {
791
- synchronizerId: string;
792
- recordTime: string;
793
- }[];
794
- };
795
- }, {
796
- value: {
797
- offset: number;
798
- synchronizerTimes: {
799
- synchronizerId: string;
800
- recordTime: string;
801
- }[];
802
- };
803
- }>;
804
- }, "strip", z.ZodTypeAny, {
805
- OffsetCheckpoint: {
806
- value: {
807
- offset: number;
808
- synchronizerTimes: {
809
- synchronizerId: string;
810
- recordTime: string;
811
- }[];
812
- };
813
- };
814
- }, {
815
- OffsetCheckpoint: {
816
- value: {
817
- offset: number;
818
- synchronizerTimes: {
819
- synchronizerId: string;
820
- recordTime: string;
821
- }[];
822
- };
823
- };
824
- }>]>;
130
+ }, z.core.$strip>>;
131
+ }, z.core.$strip>;
132
+ }, z.core.$strip>;
133
+ }, z.core.$strip>]>;
825
134
  /**
826
135
  * Completion stream request.
827
136
  */
828
137
  export declare const CompletionStreamRequestSchema: z.ZodObject<{
829
- /** User ID for the stream (optional if using authentication). */
830
138
  userId: z.ZodOptional<z.ZodString>;
831
- /** Parties whose data should be included. */
832
- parties: z.ZodArray<z.ZodString, "many">;
833
- /** Beginning offset (exclusive) for resuming the stream. */
139
+ parties: z.ZodArray<z.ZodString>;
834
140
  beginExclusive: z.ZodOptional<z.ZodNumber>;
835
- }, "strip", z.ZodTypeAny, {
836
- parties: string[];
837
- userId?: string | undefined;
838
- beginExclusive?: number | undefined;
839
- }, {
840
- parties: string[];
841
- userId?: string | undefined;
842
- beginExclusive?: number | undefined;
843
- }>;
141
+ }, z.core.$strip>;
844
142
  /**
845
143
  * Completion stream response.
846
144
  */
847
145
  export declare const CompletionStreamResponseSchema: z.ZodObject<{
848
- /** The completion response. */
849
- completionResponse: z.ZodUnion<[z.ZodObject<{
146
+ completionResponse: z.ZodUnion<readonly [z.ZodObject<{
850
147
  Completion: z.ZodObject<{
851
- /** The completion details. */
852
148
  value: z.ZodObject<{
853
- /** Command ID of the succeeded or failed command. */
854
149
  commandId: z.ZodString;
855
- /** Status information (optional). */
856
150
  status: z.ZodOptional<z.ZodObject<{
857
- /** Status code. */
858
151
  code: z.ZodNumber;
859
- /** Status message. */
860
152
  message: z.ZodString;
861
- /** Additional details (optional). */
862
153
  details: z.ZodOptional<z.ZodArray<z.ZodObject<{
863
154
  code: z.ZodNumber;
864
155
  message: z.ZodString;
865
156
  details: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
866
- }, "strip", z.ZodTypeAny, {
867
- code: number;
868
- message: string;
869
- details?: Record<string, any> | undefined;
870
- }, {
871
- code: number;
872
- message: string;
873
- details?: Record<string, any> | undefined;
874
- }>, "many">>;
875
- }, "strip", z.ZodTypeAny, {
876
- code: number;
877
- message: string;
878
- details?: {
879
- code: number;
880
- message: string;
881
- details?: Record<string, any> | undefined;
882
- }[] | undefined;
883
- }, {
884
- code: number;
885
- message: string;
886
- details?: {
887
- code: number;
888
- message: string;
889
- details?: Record<string, any> | undefined;
890
- }[] | undefined;
891
- }>>;
892
- /** Update ID of the transaction (optional). */
157
+ }, z.core.$strip>>>;
158
+ }, z.core.$strip>>;
893
159
  updateId: z.ZodOptional<z.ZodString>;
894
- /** User ID that was used for the submission (optional). */
895
160
  userId: z.ZodOptional<z.ZodString>;
896
- /** Parties on whose behalf the commands were executed (optional). */
897
- actAs: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
898
- /** Submission ID (optional). */
161
+ actAs: z.ZodOptional<z.ZodArray<z.ZodString>>;
899
162
  submissionId: z.ZodOptional<z.ZodString>;
900
- /** Deduplication period. */
901
- deduplicationPeriod: z.ZodUnion<[z.ZodObject<{
163
+ deduplicationPeriod: z.ZodUnion<readonly [z.ZodObject<{
902
164
  DeduplicationDuration: z.ZodObject<{
903
165
  seconds: z.ZodNumber;
904
- }, "strip", z.ZodTypeAny, {
905
- seconds: number;
906
- }, {
907
- seconds: number;
908
- }>;
909
- }, "strip", z.ZodTypeAny, {
910
- DeduplicationDuration: {
911
- seconds: number;
912
- };
913
- }, {
914
- DeduplicationDuration: {
915
- seconds: number;
916
- };
917
- }>, z.ZodObject<{
166
+ }, z.core.$strip>;
167
+ }, z.core.$strip>, z.ZodObject<{
918
168
  DeduplicationOffset: z.ZodObject<{
919
169
  offset: z.ZodNumber;
920
- }, "strip", z.ZodTypeAny, {
921
- offset: number;
922
- }, {
923
- offset: number;
924
- }>;
925
- }, "strip", z.ZodTypeAny, {
926
- DeduplicationOffset: {
927
- offset: number;
928
- };
929
- }, {
930
- DeduplicationOffset: {
931
- offset: number;
932
- };
933
- }>, z.ZodObject<{
934
- Empty: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
935
- }, "strip", z.ZodTypeAny, {
936
- Empty: {};
937
- }, {
938
- Empty: {};
939
- }>]>;
940
- /** Trace context (optional). */
170
+ }, z.core.$strip>;
171
+ }, z.core.$strip>, z.ZodObject<{
172
+ Empty: z.ZodObject<{}, z.core.$strip>;
173
+ }, z.core.$strip>]>;
941
174
  traceContext: z.ZodOptional<z.ZodObject<{
942
175
  traceId: z.ZodOptional<z.ZodString>;
943
176
  spanId: z.ZodOptional<z.ZodString>;
944
177
  parentSpanId: z.ZodOptional<z.ZodString>;
945
178
  metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
946
- }, "strip", z.ZodTypeAny, {
947
- metadata?: Record<string, string> | undefined;
948
- traceId?: string | undefined;
949
- spanId?: string | undefined;
950
- parentSpanId?: string | undefined;
951
- }, {
952
- metadata?: Record<string, string> | undefined;
953
- traceId?: string | undefined;
954
- spanId?: string | undefined;
955
- parentSpanId?: string | undefined;
956
- }>>;
957
- /** Offset for resuming the stream. */
179
+ }, z.core.$strip>>;
958
180
  offset: z.ZodNumber;
959
- /** Synchronizer time information. */
960
181
  synchronizerTime: z.ZodObject<{
961
- /** Synchronizer ID. */
962
182
  synchronizerId: z.ZodString;
963
- /** Record time. */
964
183
  recordTime: z.ZodString;
965
- }, "strip", z.ZodTypeAny, {
966
- synchronizerId: string;
967
- recordTime: string;
968
- }, {
969
- synchronizerId: string;
970
- recordTime: string;
971
- }>;
972
- }, "strip", z.ZodTypeAny, {
973
- commandId: string;
974
- deduplicationPeriod: {
975
- DeduplicationDuration: {
976
- seconds: number;
977
- };
978
- } | {
979
- DeduplicationOffset: {
980
- offset: number;
981
- };
982
- } | {
983
- Empty: {};
984
- };
985
- offset: number;
986
- synchronizerTime: {
987
- synchronizerId: string;
988
- recordTime: string;
989
- };
990
- status?: {
991
- code: number;
992
- message: string;
993
- details?: {
994
- code: number;
995
- message: string;
996
- details?: Record<string, any> | undefined;
997
- }[] | undefined;
998
- } | undefined;
999
- userId?: string | undefined;
1000
- actAs?: string[] | undefined;
1001
- submissionId?: string | undefined;
1002
- updateId?: string | undefined;
1003
- traceContext?: {
1004
- metadata?: Record<string, string> | undefined;
1005
- traceId?: string | undefined;
1006
- spanId?: string | undefined;
1007
- parentSpanId?: string | undefined;
1008
- } | undefined;
1009
- }, {
1010
- commandId: string;
1011
- deduplicationPeriod: {
1012
- DeduplicationDuration: {
1013
- seconds: number;
1014
- };
1015
- } | {
1016
- DeduplicationOffset: {
1017
- offset: number;
1018
- };
1019
- } | {
1020
- Empty: {};
1021
- };
1022
- offset: number;
1023
- synchronizerTime: {
1024
- synchronizerId: string;
1025
- recordTime: string;
1026
- };
1027
- status?: {
1028
- code: number;
1029
- message: string;
1030
- details?: {
1031
- code: number;
1032
- message: string;
1033
- details?: Record<string, any> | undefined;
1034
- }[] | undefined;
1035
- } | undefined;
1036
- userId?: string | undefined;
1037
- actAs?: string[] | undefined;
1038
- submissionId?: string | undefined;
1039
- updateId?: string | undefined;
1040
- traceContext?: {
1041
- metadata?: Record<string, string> | undefined;
1042
- traceId?: string | undefined;
1043
- spanId?: string | undefined;
1044
- parentSpanId?: string | undefined;
1045
- } | undefined;
1046
- }>;
1047
- }, "strip", z.ZodTypeAny, {
1048
- value: {
1049
- commandId: string;
1050
- deduplicationPeriod: {
1051
- DeduplicationDuration: {
1052
- seconds: number;
1053
- };
1054
- } | {
1055
- DeduplicationOffset: {
1056
- offset: number;
1057
- };
1058
- } | {
1059
- Empty: {};
1060
- };
1061
- offset: number;
1062
- synchronizerTime: {
1063
- synchronizerId: string;
1064
- recordTime: string;
1065
- };
1066
- status?: {
1067
- code: number;
1068
- message: string;
1069
- details?: {
1070
- code: number;
1071
- message: string;
1072
- details?: Record<string, any> | undefined;
1073
- }[] | undefined;
1074
- } | undefined;
1075
- userId?: string | undefined;
1076
- actAs?: string[] | undefined;
1077
- submissionId?: string | undefined;
1078
- updateId?: string | undefined;
1079
- traceContext?: {
1080
- metadata?: Record<string, string> | undefined;
1081
- traceId?: string | undefined;
1082
- spanId?: string | undefined;
1083
- parentSpanId?: string | undefined;
1084
- } | undefined;
1085
- };
1086
- }, {
1087
- value: {
1088
- commandId: string;
1089
- deduplicationPeriod: {
1090
- DeduplicationDuration: {
1091
- seconds: number;
1092
- };
1093
- } | {
1094
- DeduplicationOffset: {
1095
- offset: number;
1096
- };
1097
- } | {
1098
- Empty: {};
1099
- };
1100
- offset: number;
1101
- synchronizerTime: {
1102
- synchronizerId: string;
1103
- recordTime: string;
1104
- };
1105
- status?: {
1106
- code: number;
1107
- message: string;
1108
- details?: {
1109
- code: number;
1110
- message: string;
1111
- details?: Record<string, any> | undefined;
1112
- }[] | undefined;
1113
- } | undefined;
1114
- userId?: string | undefined;
1115
- actAs?: string[] | undefined;
1116
- submissionId?: string | undefined;
1117
- updateId?: string | undefined;
1118
- traceContext?: {
1119
- metadata?: Record<string, string> | undefined;
1120
- traceId?: string | undefined;
1121
- spanId?: string | undefined;
1122
- parentSpanId?: string | undefined;
1123
- } | undefined;
1124
- };
1125
- }>;
1126
- }, "strip", z.ZodTypeAny, {
1127
- Completion: {
1128
- value: {
1129
- commandId: string;
1130
- deduplicationPeriod: {
1131
- DeduplicationDuration: {
1132
- seconds: number;
1133
- };
1134
- } | {
1135
- DeduplicationOffset: {
1136
- offset: number;
1137
- };
1138
- } | {
1139
- Empty: {};
1140
- };
1141
- offset: number;
1142
- synchronizerTime: {
1143
- synchronizerId: string;
1144
- recordTime: string;
1145
- };
1146
- status?: {
1147
- code: number;
1148
- message: string;
1149
- details?: {
1150
- code: number;
1151
- message: string;
1152
- details?: Record<string, any> | undefined;
1153
- }[] | undefined;
1154
- } | undefined;
1155
- userId?: string | undefined;
1156
- actAs?: string[] | undefined;
1157
- submissionId?: string | undefined;
1158
- updateId?: string | undefined;
1159
- traceContext?: {
1160
- metadata?: Record<string, string> | undefined;
1161
- traceId?: string | undefined;
1162
- spanId?: string | undefined;
1163
- parentSpanId?: string | undefined;
1164
- } | undefined;
1165
- };
1166
- };
1167
- }, {
1168
- Completion: {
1169
- value: {
1170
- commandId: string;
1171
- deduplicationPeriod: {
1172
- DeduplicationDuration: {
1173
- seconds: number;
1174
- };
1175
- } | {
1176
- DeduplicationOffset: {
1177
- offset: number;
1178
- };
1179
- } | {
1180
- Empty: {};
1181
- };
1182
- offset: number;
1183
- synchronizerTime: {
1184
- synchronizerId: string;
1185
- recordTime: string;
1186
- };
1187
- status?: {
1188
- code: number;
1189
- message: string;
1190
- details?: {
1191
- code: number;
1192
- message: string;
1193
- details?: Record<string, any> | undefined;
1194
- }[] | undefined;
1195
- } | undefined;
1196
- userId?: string | undefined;
1197
- actAs?: string[] | undefined;
1198
- submissionId?: string | undefined;
1199
- updateId?: string | undefined;
1200
- traceContext?: {
1201
- metadata?: Record<string, string> | undefined;
1202
- traceId?: string | undefined;
1203
- spanId?: string | undefined;
1204
- parentSpanId?: string | undefined;
1205
- } | undefined;
1206
- };
1207
- };
1208
- }>, z.ZodObject<{
1209
- Empty: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
1210
- }, "strip", z.ZodTypeAny, {
1211
- Empty: {};
1212
- }, {
1213
- Empty: {};
1214
- }>, z.ZodObject<{
184
+ }, z.core.$strip>;
185
+ }, z.core.$strip>;
186
+ }, z.core.$strip>;
187
+ }, z.core.$strip>, z.ZodObject<{
188
+ Empty: z.ZodObject<{}, z.core.$strip>;
189
+ }, z.core.$strip>, z.ZodObject<{
1215
190
  OffsetCheckpoint: z.ZodObject<{
1216
- /** The checkpoint details. */
1217
191
  value: z.ZodObject<{
1218
- /** Offset for resuming the stream. */
1219
192
  offset: z.ZodNumber;
1220
- /** Synchronizer times. */
1221
193
  synchronizerTimes: z.ZodArray<z.ZodObject<{
1222
- /** Synchronizer ID. */
1223
194
  synchronizerId: z.ZodString;
1224
- /** Record time. */
1225
195
  recordTime: z.ZodString;
1226
- }, "strip", z.ZodTypeAny, {
1227
- synchronizerId: string;
1228
- recordTime: string;
1229
- }, {
1230
- synchronizerId: string;
1231
- recordTime: string;
1232
- }>, "many">;
1233
- }, "strip", z.ZodTypeAny, {
1234
- offset: number;
1235
- synchronizerTimes: {
1236
- synchronizerId: string;
1237
- recordTime: string;
1238
- }[];
1239
- }, {
1240
- offset: number;
1241
- synchronizerTimes: {
1242
- synchronizerId: string;
1243
- recordTime: string;
1244
- }[];
1245
- }>;
1246
- }, "strip", z.ZodTypeAny, {
1247
- value: {
1248
- offset: number;
1249
- synchronizerTimes: {
1250
- synchronizerId: string;
1251
- recordTime: string;
1252
- }[];
1253
- };
1254
- }, {
1255
- value: {
1256
- offset: number;
1257
- synchronizerTimes: {
1258
- synchronizerId: string;
1259
- recordTime: string;
1260
- }[];
1261
- };
1262
- }>;
1263
- }, "strip", z.ZodTypeAny, {
1264
- OffsetCheckpoint: {
1265
- value: {
1266
- offset: number;
1267
- synchronizerTimes: {
1268
- synchronizerId: string;
1269
- recordTime: string;
1270
- }[];
1271
- };
1272
- };
1273
- }, {
1274
- OffsetCheckpoint: {
1275
- value: {
1276
- offset: number;
1277
- synchronizerTimes: {
1278
- synchronizerId: string;
1279
- recordTime: string;
1280
- }[];
1281
- };
1282
- };
1283
- }>]>;
1284
- }, "strip", z.ZodTypeAny, {
1285
- completionResponse: {
1286
- Completion: {
1287
- value: {
1288
- commandId: string;
1289
- deduplicationPeriod: {
1290
- DeduplicationDuration: {
1291
- seconds: number;
1292
- };
1293
- } | {
1294
- DeduplicationOffset: {
1295
- offset: number;
1296
- };
1297
- } | {
1298
- Empty: {};
1299
- };
1300
- offset: number;
1301
- synchronizerTime: {
1302
- synchronizerId: string;
1303
- recordTime: string;
1304
- };
1305
- status?: {
1306
- code: number;
1307
- message: string;
1308
- details?: {
1309
- code: number;
1310
- message: string;
1311
- details?: Record<string, any> | undefined;
1312
- }[] | undefined;
1313
- } | undefined;
1314
- userId?: string | undefined;
1315
- actAs?: string[] | undefined;
1316
- submissionId?: string | undefined;
1317
- updateId?: string | undefined;
1318
- traceContext?: {
1319
- metadata?: Record<string, string> | undefined;
1320
- traceId?: string | undefined;
1321
- spanId?: string | undefined;
1322
- parentSpanId?: string | undefined;
1323
- } | undefined;
1324
- };
1325
- };
1326
- } | {
1327
- Empty: {};
1328
- } | {
1329
- OffsetCheckpoint: {
1330
- value: {
1331
- offset: number;
1332
- synchronizerTimes: {
1333
- synchronizerId: string;
1334
- recordTime: string;
1335
- }[];
1336
- };
1337
- };
1338
- };
1339
- }, {
1340
- completionResponse: {
1341
- Completion: {
1342
- value: {
1343
- commandId: string;
1344
- deduplicationPeriod: {
1345
- DeduplicationDuration: {
1346
- seconds: number;
1347
- };
1348
- } | {
1349
- DeduplicationOffset: {
1350
- offset: number;
1351
- };
1352
- } | {
1353
- Empty: {};
1354
- };
1355
- offset: number;
1356
- synchronizerTime: {
1357
- synchronizerId: string;
1358
- recordTime: string;
1359
- };
1360
- status?: {
1361
- code: number;
1362
- message: string;
1363
- details?: {
1364
- code: number;
1365
- message: string;
1366
- details?: Record<string, any> | undefined;
1367
- }[] | undefined;
1368
- } | undefined;
1369
- userId?: string | undefined;
1370
- actAs?: string[] | undefined;
1371
- submissionId?: string | undefined;
1372
- updateId?: string | undefined;
1373
- traceContext?: {
1374
- metadata?: Record<string, string> | undefined;
1375
- traceId?: string | undefined;
1376
- spanId?: string | undefined;
1377
- parentSpanId?: string | undefined;
1378
- } | undefined;
1379
- };
1380
- };
1381
- } | {
1382
- Empty: {};
1383
- } | {
1384
- OffsetCheckpoint: {
1385
- value: {
1386
- offset: number;
1387
- synchronizerTimes: {
1388
- synchronizerId: string;
1389
- recordTime: string;
1390
- }[];
1391
- };
1392
- };
1393
- };
1394
- }>;
196
+ }, z.core.$strip>>;
197
+ }, z.core.$strip>;
198
+ }, z.core.$strip>;
199
+ }, z.core.$strip>]>;
200
+ }, z.core.$strip>;
1395
201
  export type JsStatus = z.infer<typeof JsStatusSchema>;
1396
202
  export type DeduplicationPeriod = z.infer<typeof DeduplicationPeriodSchema>;
1397
203
  export type SynchronizerTime = z.infer<typeof SynchronizerTimeSchema>;