@fairmint/canton-node-sdk 0.0.48 → 0.0.50

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