@fairmint/canton-node-sdk 0.0.47 → 0.0.49
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/src/clients/ledger-json-api/operations/v2/authenticated-user/get.d.ts +1 -1
- package/build/src/clients/ledger-json-api/operations/v2/commands/async/submit-reassignment.d.ts +2 -6
- package/build/src/clients/ledger-json-api/operations/v2/commands/async/submit-reassignment.d.ts.map +1 -1
- package/build/src/clients/ledger-json-api/operations/v2/commands/completions.d.ts +2 -14
- package/build/src/clients/ledger-json-api/operations/v2/commands/completions.d.ts.map +1 -1
- package/build/src/clients/ledger-json-api/operations/v2/commands/submit-and-wait-for-reassignment.d.ts +16 -16
- package/build/src/clients/ledger-json-api/operations/v2/events/get-events-by-contract-id.d.ts +2 -8
- package/build/src/clients/ledger-json-api/operations/v2/events/get-events-by-contract-id.d.ts.map +1 -1
- package/build/src/clients/ledger-json-api/operations/v2/idps/delete-idp.d.ts +1 -1
- package/build/src/clients/ledger-json-api/operations/v2/idps/get.d.ts +1 -1
- package/build/src/clients/ledger-json-api/operations/v2/idps/patch-idp.d.ts +3 -3
- package/build/src/clients/ledger-json-api/operations/v2/interactive-submission/allocate-party.d.ts +1 -1
- package/build/src/clients/ledger-json-api/operations/v2/interactive-submission/create-user.d.ts +6 -6
- package/build/src/clients/ledger-json-api/operations/v2/interactive-submission/get-preferred-package-version.d.ts +2 -2
- package/build/src/clients/ledger-json-api/operations/v2/interactive-submission/get-preferred-packages.d.ts +1 -1
- package/build/src/clients/ledger-json-api/operations/v2/interactive-submission/upload-dar.d.ts +2 -2
- package/build/src/clients/ledger-json-api/operations/v2/packages/get-package-status.d.ts +1 -6
- package/build/src/clients/ledger-json-api/operations/v2/packages/get-package-status.d.ts.map +1 -1
- package/build/src/clients/ledger-json-api/operations/v2/packages/post.d.ts +3 -11
- package/build/src/clients/ledger-json-api/operations/v2/packages/post.d.ts.map +1 -1
- package/build/src/clients/ledger-json-api/operations/v2/parties/get-party-details.d.ts +1 -1
- package/build/src/clients/ledger-json-api/operations/v2/parties/get.d.ts +1 -7
- package/build/src/clients/ledger-json-api/operations/v2/parties/get.d.ts.map +1 -1
- package/build/src/clients/ledger-json-api/operations/v2/parties/post.d.ts +2 -25
- package/build/src/clients/ledger-json-api/operations/v2/parties/post.d.ts.map +1 -1
- package/build/src/clients/ledger-json-api/operations/v2/state/get-active-contracts.d.ts +2 -2
- package/build/src/clients/ledger-json-api/operations/v2/updates/get-flats.d.ts +44 -44
- package/build/src/clients/ledger-json-api/operations/v2/updates/get-transaction-tree-by-id.d.ts +3 -11
- package/build/src/clients/ledger-json-api/operations/v2/updates/get-transaction-tree-by-id.d.ts.map +1 -1
- package/build/src/clients/ledger-json-api/operations/v2/updates/get-transaction-tree-by-offset.d.ts +3 -11
- package/build/src/clients/ledger-json-api/operations/v2/updates/get-transaction-tree-by-offset.d.ts.map +1 -1
- package/build/src/clients/ledger-json-api/operations/v2/updates/get-trees.d.ts +22 -22
- package/build/src/clients/ledger-json-api/operations/v2/users/delete-user.d.ts +1 -5
- package/build/src/clients/ledger-json-api/operations/v2/users/delete-user.d.ts.map +1 -1
- package/build/src/clients/ledger-json-api/operations/v2/users/get-user.d.ts +1 -7
- package/build/src/clients/ledger-json-api/operations/v2/users/get-user.d.ts.map +1 -1
- package/build/src/clients/ledger-json-api/operations/v2/users/list-user-rights.d.ts +1 -7
- package/build/src/clients/ledger-json-api/operations/v2/users/list-user-rights.d.ts.map +1 -1
- package/build/src/clients/ledger-json-api/operations/v2/users/list-users.d.ts +1 -7
- package/build/src/clients/ledger-json-api/operations/v2/users/list-users.d.ts.map +1 -1
- package/build/src/clients/ledger-json-api/schemas/api/command-responses.d.ts +3 -47
- package/build/src/clients/ledger-json-api/schemas/api/command-responses.d.ts.map +1 -1
- package/build/src/clients/ledger-json-api/schemas/api/command-responses.js +1 -1
- package/build/src/clients/ledger-json-api/schemas/api/command-responses.js.map +1 -1
- package/build/src/clients/ledger-json-api/schemas/api/commands.d.ts +81 -800
- package/build/src/clients/ledger-json-api/schemas/api/commands.d.ts.map +1 -1
- package/build/src/clients/ledger-json-api/schemas/api/completions.d.ts +67 -1261
- package/build/src/clients/ledger-json-api/schemas/api/completions.d.ts.map +1 -1
- package/build/src/clients/ledger-json-api/schemas/api/errors.d.ts +180 -1241
- package/build/src/clients/ledger-json-api/schemas/api/errors.d.ts.map +1 -1
- package/build/src/clients/ledger-json-api/schemas/api/errors.js +2 -2
- package/build/src/clients/ledger-json-api/schemas/api/errors.js.map +1 -1
- package/build/src/clients/ledger-json-api/schemas/api/event-details.d.ts +14 -156
- package/build/src/clients/ledger-json-api/schemas/api/event-details.d.ts.map +1 -1
- package/build/src/clients/ledger-json-api/schemas/api/event-details.js +1 -1
- package/build/src/clients/ledger-json-api/schemas/api/event-details.js.map +1 -1
- package/build/src/clients/ledger-json-api/schemas/api/events.d.ts +76 -1162
- package/build/src/clients/ledger-json-api/schemas/api/events.d.ts.map +1 -1
- package/build/src/clients/ledger-json-api/schemas/api/events.js +1 -1
- package/build/src/clients/ledger-json-api/schemas/api/events.js.map +1 -1
- package/build/src/clients/ledger-json-api/schemas/api/idps.d.ts +16 -206
- package/build/src/clients/ledger-json-api/schemas/api/idps.d.ts.map +1 -1
- package/build/src/clients/ledger-json-api/schemas/api/interactive-submission.d.ts +25 -289
- package/build/src/clients/ledger-json-api/schemas/api/interactive-submission.d.ts.map +1 -1
- package/build/src/clients/ledger-json-api/schemas/api/interactive-submission.js +2 -2
- package/build/src/clients/ledger-json-api/schemas/api/interactive-submission.js.map +1 -1
- package/build/src/clients/ledger-json-api/schemas/api/packages.d.ts +17 -171
- package/build/src/clients/ledger-json-api/schemas/api/packages.d.ts.map +1 -1
- package/build/src/clients/ledger-json-api/schemas/api/reassignment.d.ts +103 -2005
- package/build/src/clients/ledger-json-api/schemas/api/reassignment.d.ts.map +1 -1
- package/build/src/clients/ledger-json-api/schemas/api/state.d.ts +123 -2093
- package/build/src/clients/ledger-json-api/schemas/api/state.d.ts.map +1 -1
- package/build/src/clients/ledger-json-api/schemas/api/transactions.d.ts +106 -2149
- package/build/src/clients/ledger-json-api/schemas/api/transactions.d.ts.map +1 -1
- package/build/src/clients/ledger-json-api/schemas/api/transactions.js +1 -1
- package/build/src/clients/ledger-json-api/schemas/api/transactions.js.map +1 -1
- package/build/src/clients/ledger-json-api/schemas/api/updates.d.ts +445 -11374
- package/build/src/clients/ledger-json-api/schemas/api/updates.d.ts.map +1 -1
- package/build/src/clients/ledger-json-api/schemas/api/updates.js +1 -1
- package/build/src/clients/ledger-json-api/schemas/api/updates.js.map +1 -1
- package/build/src/clients/ledger-json-api/schemas/api/users.d.ts +169 -1741
- package/build/src/clients/ledger-json-api/schemas/api/users.d.ts.map +1 -1
- package/build/src/clients/ledger-json-api/schemas/api/users.js +1 -1
- package/build/src/clients/ledger-json-api/schemas/api/users.js.map +1 -1
- package/build/src/clients/ledger-json-api/schemas/base.d.ts +1 -1
- package/build/src/clients/ledger-json-api/schemas/base.d.ts.map +1 -1
- package/build/src/clients/ledger-json-api/schemas/base.js +2 -2
- package/build/src/clients/ledger-json-api/schemas/base.js.map +1 -1
- package/build/src/clients/ledger-json-api/schemas/common.d.ts +30 -323
- package/build/src/clients/ledger-json-api/schemas/common.d.ts.map +1 -1
- package/build/src/clients/ledger-json-api/schemas/common.js +4 -4
- package/build/src/clients/ledger-json-api/schemas/common.js.map +1 -1
- package/build/src/clients/ledger-json-api/schemas/operations/base.d.ts +1 -1
- package/build/src/clients/ledger-json-api/schemas/operations/base.d.ts.map +1 -1
- package/build/src/clients/ledger-json-api/schemas/operations/commands.d.ts +71 -348
- package/build/src/clients/ledger-json-api/schemas/operations/commands.d.ts.map +1 -1
- package/build/src/clients/ledger-json-api/schemas/operations/idps.d.ts +13 -87
- package/build/src/clients/ledger-json-api/schemas/operations/idps.d.ts.map +1 -1
- package/build/src/clients/ledger-json-api/schemas/operations/interactive-submission.d.ts +25 -250
- package/build/src/clients/ledger-json-api/schemas/operations/interactive-submission.d.ts.map +1 -1
- package/build/src/clients/ledger-json-api/schemas/operations/interactive-submission.js +1 -1
- package/build/src/clients/ledger-json-api/schemas/operations/interactive-submission.js.map +1 -1
- package/build/src/clients/ledger-json-api/schemas/operations/packages.d.ts +9 -61
- package/build/src/clients/ledger-json-api/schemas/operations/packages.d.ts.map +1 -1
- package/build/src/clients/ledger-json-api/schemas/operations/parties.d.ts +12 -126
- package/build/src/clients/ledger-json-api/schemas/operations/parties.d.ts.map +1 -1
- package/build/src/clients/ledger-json-api/schemas/operations/parties.js +2 -2
- package/build/src/clients/ledger-json-api/schemas/operations/parties.js.map +1 -1
- package/build/src/clients/ledger-json-api/schemas/operations/state.d.ts +6 -31
- package/build/src/clients/ledger-json-api/schemas/operations/state.d.ts.map +1 -1
- package/build/src/clients/ledger-json-api/schemas/operations/updates.d.ts +298 -6270
- package/build/src/clients/ledger-json-api/schemas/operations/updates.d.ts.map +1 -1
- package/build/src/clients/ledger-json-api/schemas/operations/updates.js +3 -3
- package/build/src/clients/ledger-json-api/schemas/operations/updates.js.map +1 -1
- package/build/src/clients/ledger-json-api/schemas/operations/users.d.ts +65 -594
- package/build/src/clients/ledger-json-api/schemas/operations/users.d.ts.map +1 -1
- package/build/src/clients/ledger-json-api/schemas/operations/users.js +2 -2
- package/build/src/clients/ledger-json-api/schemas/operations/users.js.map +1 -1
- package/build/src/clients/validator-api/operations/v0/scan-proxy/get-mining-round-details.d.ts +1 -1
- package/build/src/clients/validator-api/operations/v0/scan-proxy/lookup-featured-app-right.d.ts +1 -1
- package/build/src/clients/validator-api/operations/v0/scan-proxy/lookup-transfer-preapproval-by-party.d.ts +1 -1
- package/build/src/clients/validator-api/operations/v0/scan-proxy/registry/allocation-instruction/v1/get-allocation-factory.d.ts +1 -7
- package/build/src/clients/validator-api/operations/v0/scan-proxy/registry/allocation-instruction/v1/get-allocation-factory.d.ts.map +1 -1
- package/build/src/clients/validator-api/operations/v0/scan-proxy/registry/allocation-instruction/v1/get-allocation-factory.js +1 -1
- package/build/src/clients/validator-api/operations/v0/scan-proxy/registry/allocation-instruction/v1/get-allocation-factory.js.map +1 -1
- package/build/src/clients/validator-api/operations/v0/scan-proxy/registry/allocations/v1/get-allocation-cancel-context.d.ts +1 -7
- package/build/src/clients/validator-api/operations/v0/scan-proxy/registry/allocations/v1/get-allocation-cancel-context.d.ts.map +1 -1
- package/build/src/clients/validator-api/operations/v0/scan-proxy/registry/allocations/v1/get-allocation-cancel-context.js +1 -1
- package/build/src/clients/validator-api/operations/v0/scan-proxy/registry/allocations/v1/get-allocation-cancel-context.js.map +1 -1
- package/build/src/clients/validator-api/operations/v0/scan-proxy/registry/allocations/v1/get-allocation-transfer-context.d.ts +1 -7
- package/build/src/clients/validator-api/operations/v0/scan-proxy/registry/allocations/v1/get-allocation-transfer-context.d.ts.map +1 -1
- package/build/src/clients/validator-api/operations/v0/scan-proxy/registry/allocations/v1/get-allocation-transfer-context.js +1 -1
- package/build/src/clients/validator-api/operations/v0/scan-proxy/registry/allocations/v1/get-allocation-transfer-context.js.map +1 -1
- package/build/src/clients/validator-api/operations/v0/scan-proxy/registry/allocations/v1/get-allocation-withdraw-context.d.ts +1 -7
- package/build/src/clients/validator-api/operations/v0/scan-proxy/registry/allocations/v1/get-allocation-withdraw-context.d.ts.map +1 -1
- package/build/src/clients/validator-api/operations/v0/scan-proxy/registry/allocations/v1/get-allocation-withdraw-context.js +1 -1
- package/build/src/clients/validator-api/operations/v0/scan-proxy/registry/allocations/v1/get-allocation-withdraw-context.js.map +1 -1
- package/build/src/clients/validator-api/operations/v0/scan-proxy/registry/metadata/v1/get-instrument.d.ts +1 -5
- package/build/src/clients/validator-api/operations/v0/scan-proxy/registry/metadata/v1/get-instrument.d.ts.map +1 -1
- package/build/src/clients/validator-api/operations/v0/scan-proxy/registry/metadata/v1/list-instruments.d.ts +1 -7
- package/build/src/clients/validator-api/operations/v0/scan-proxy/registry/metadata/v1/list-instruments.d.ts.map +1 -1
- package/build/src/clients/validator-api/operations/v0/scan-proxy/registry/transfer-instruction/v1/get-transfer-factory.d.ts +1 -7
- package/build/src/clients/validator-api/operations/v0/scan-proxy/registry/transfer-instruction/v1/get-transfer-factory.d.ts.map +1 -1
- package/build/src/clients/validator-api/operations/v0/scan-proxy/registry/transfer-instruction/v1/get-transfer-factory.js +1 -1
- package/build/src/clients/validator-api/operations/v0/scan-proxy/registry/transfer-instruction/v1/get-transfer-factory.js.map +1 -1
- package/build/src/clients/validator-api/operations/v0/scan-proxy/registry/transfer-instruction/v1/get-transfer-instruction-accept-context.d.ts +1 -7
- package/build/src/clients/validator-api/operations/v0/scan-proxy/registry/transfer-instruction/v1/get-transfer-instruction-accept-context.d.ts.map +1 -1
- package/build/src/clients/validator-api/operations/v0/scan-proxy/registry/transfer-instruction/v1/get-transfer-instruction-accept-context.js +1 -1
- package/build/src/clients/validator-api/operations/v0/scan-proxy/registry/transfer-instruction/v1/get-transfer-instruction-accept-context.js.map +1 -1
- package/build/src/clients/validator-api/operations/v0/scan-proxy/registry/transfer-instruction/v1/get-transfer-instruction-reject-context.d.ts +1 -7
- package/build/src/clients/validator-api/operations/v0/scan-proxy/registry/transfer-instruction/v1/get-transfer-instruction-reject-context.d.ts.map +1 -1
- package/build/src/clients/validator-api/operations/v0/scan-proxy/registry/transfer-instruction/v1/get-transfer-instruction-reject-context.js +1 -1
- package/build/src/clients/validator-api/operations/v0/scan-proxy/registry/transfer-instruction/v1/get-transfer-instruction-reject-context.js.map +1 -1
- package/build/src/clients/validator-api/operations/v0/scan-proxy/registry/transfer-instruction/v1/get-transfer-instruction-withdraw-context.d.ts +1 -7
- package/build/src/clients/validator-api/operations/v0/scan-proxy/registry/transfer-instruction/v1/get-transfer-instruction-withdraw-context.d.ts.map +1 -1
- package/build/src/clients/validator-api/operations/v0/scan-proxy/registry/transfer-instruction/v1/get-transfer-instruction-withdraw-context.js +1 -1
- package/build/src/clients/validator-api/operations/v0/scan-proxy/registry/transfer-instruction/v1/get-transfer-instruction-withdraw-context.js.map +1 -1
- package/build/src/clients/validator-api/operations/v0/wallet/buy-traffic-requests/create.d.ts +2 -2
- package/build/src/clients/validator-api/operations/v0/wallet/buy-traffic-requests/get-status.d.ts +2 -1
- package/build/src/clients/validator-api/operations/v0/wallet/buy-traffic-requests/get-status.d.ts.map +1 -1
- package/build/src/clients/validator-api/operations/v0/wallet/buy-traffic-requests/get-status.js.map +1 -1
- package/build/src/clients/validator-api/operations/v0/wallet/transfer-offers/create.d.ts +1 -1
- package/build/src/clients/validator-api/operations/v0/wallet/transfer-offers/get-status.d.ts +2 -1
- package/build/src/clients/validator-api/operations/v0/wallet/transfer-offers/get-status.d.ts.map +1 -1
- package/build/src/clients/validator-api/operations/v0/wallet/transfer-offers/get-status.js.map +1 -1
- package/build/src/clients/validator-api/schemas/api/ans.d.ts +11 -55
- package/build/src/clients/validator-api/schemas/api/ans.d.ts.map +1 -1
- package/build/src/clients/validator-api/schemas/api/scan-proxy.d.ts +66 -734
- package/build/src/clients/validator-api/schemas/api/scan-proxy.d.ts.map +1 -1
- package/build/src/clients/validator-api/schemas/api/scan-proxy.js +4 -4
- package/build/src/clients/validator-api/schemas/api/scan-proxy.js.map +1 -1
- package/build/src/clients/validator-api/schemas/api/wallet.d.ts +38 -250
- package/build/src/clients/validator-api/schemas/api/wallet.d.ts.map +1 -1
- package/build/src/clients/validator-api/schemas/operations/ans.d.ts +5 -31
- package/build/src/clients/validator-api/schemas/operations/ans.d.ts.map +1 -1
- package/build/src/clients/validator-api/schemas/operations/scan-proxy.d.ts +17 -107
- package/build/src/clients/validator-api/schemas/operations/scan-proxy.d.ts.map +1 -1
- package/build/src/clients/validator-api/schemas/operations/scan-proxy.js +8 -8
- package/build/src/clients/validator-api/schemas/operations/scan-proxy.js.map +1 -1
- package/build/src/clients/validator-api/schemas/operations/wallet.d.ts +8 -62
- package/build/src/clients/validator-api/schemas/operations/wallet.d.ts.map +1 -1
- package/build/src/core/operations/ApiOperation.js +1 -1
- package/package.json +5 -5
|
@@ -1,925 +1,206 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
2
|
export declare const CreateCommandSchema: z.ZodObject<{
|
|
3
|
-
/**
|
|
4
|
-
* Command to create a new contract instance.
|
|
5
|
-
*/
|
|
6
3
|
CreateCommand: z.ZodObject<{
|
|
7
|
-
/** Template ID of the contract to create. */
|
|
8
4
|
templateId: z.ZodString;
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
templateId: string;
|
|
13
|
-
createArguments: Record<string, string | number | boolean | any[] | Record<string, any> | null>;
|
|
14
|
-
}, {
|
|
15
|
-
templateId: string;
|
|
16
|
-
createArguments: Record<string, string | number | boolean | any[] | Record<string, any> | null>;
|
|
17
|
-
}>;
|
|
18
|
-
}, "strict", z.ZodTypeAny, {
|
|
19
|
-
CreateCommand: {
|
|
20
|
-
templateId: string;
|
|
21
|
-
createArguments: Record<string, string | number | boolean | any[] | Record<string, any> | null>;
|
|
22
|
-
};
|
|
23
|
-
}, {
|
|
24
|
-
CreateCommand: {
|
|
25
|
-
templateId: string;
|
|
26
|
-
createArguments: Record<string, string | number | boolean | any[] | Record<string, any> | null>;
|
|
27
|
-
};
|
|
28
|
-
}>;
|
|
5
|
+
createArguments: z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull, z.ZodRecord<z.ZodString, z.ZodAny>, z.ZodArray<z.ZodAny>]>>;
|
|
6
|
+
}, z.core.$strict>;
|
|
7
|
+
}, z.core.$strict>;
|
|
29
8
|
export declare const ExerciseCommandSchema: z.ZodObject<{
|
|
30
|
-
/**
|
|
31
|
-
* Command to exercise a choice on an existing contract.
|
|
32
|
-
*/
|
|
33
9
|
ExerciseCommand: z.ZodObject<{
|
|
34
|
-
/** Template ID of the contract. */
|
|
35
10
|
templateId: z.ZodString;
|
|
36
|
-
/** Contract ID to exercise the choice on. */
|
|
37
11
|
contractId: z.ZodString;
|
|
38
|
-
/** Name of the choice to exercise. */
|
|
39
12
|
choice: z.ZodString;
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
templateId: string;
|
|
45
|
-
choice: string;
|
|
46
|
-
choiceArgument: Record<string, string | number | boolean | any[] | Record<string, any> | null>;
|
|
47
|
-
}, {
|
|
48
|
-
contractId: string;
|
|
49
|
-
templateId: string;
|
|
50
|
-
choice: string;
|
|
51
|
-
choiceArgument: Record<string, string | number | boolean | any[] | Record<string, any> | null>;
|
|
52
|
-
}>;
|
|
53
|
-
}, "strict", z.ZodTypeAny, {
|
|
54
|
-
ExerciseCommand: {
|
|
55
|
-
contractId: string;
|
|
56
|
-
templateId: string;
|
|
57
|
-
choice: string;
|
|
58
|
-
choiceArgument: Record<string, string | number | boolean | any[] | Record<string, any> | null>;
|
|
59
|
-
};
|
|
60
|
-
}, {
|
|
61
|
-
ExerciseCommand: {
|
|
62
|
-
contractId: string;
|
|
63
|
-
templateId: string;
|
|
64
|
-
choice: string;
|
|
65
|
-
choiceArgument: Record<string, string | number | boolean | any[] | Record<string, any> | null>;
|
|
66
|
-
};
|
|
67
|
-
}>;
|
|
68
|
-
export declare const CommandSchema: z.ZodUnion<[z.ZodObject<{
|
|
69
|
-
/**
|
|
70
|
-
* Command to create a new contract instance.
|
|
71
|
-
*/
|
|
13
|
+
choiceArgument: z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull, z.ZodRecord<z.ZodString, z.ZodAny>, z.ZodArray<z.ZodAny>]>>;
|
|
14
|
+
}, z.core.$strict>;
|
|
15
|
+
}, z.core.$strict>;
|
|
16
|
+
export declare const CommandSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
72
17
|
CreateCommand: z.ZodObject<{
|
|
73
|
-
/** Template ID of the contract to create. */
|
|
74
18
|
templateId: z.ZodString;
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
templateId: string;
|
|
79
|
-
createArguments: Record<string, string | number | boolean | any[] | Record<string, any> | null>;
|
|
80
|
-
}, {
|
|
81
|
-
templateId: string;
|
|
82
|
-
createArguments: Record<string, string | number | boolean | any[] | Record<string, any> | null>;
|
|
83
|
-
}>;
|
|
84
|
-
}, "strict", z.ZodTypeAny, {
|
|
85
|
-
CreateCommand: {
|
|
86
|
-
templateId: string;
|
|
87
|
-
createArguments: Record<string, string | number | boolean | any[] | Record<string, any> | null>;
|
|
88
|
-
};
|
|
89
|
-
}, {
|
|
90
|
-
CreateCommand: {
|
|
91
|
-
templateId: string;
|
|
92
|
-
createArguments: Record<string, string | number | boolean | any[] | Record<string, any> | null>;
|
|
93
|
-
};
|
|
94
|
-
}>, z.ZodObject<{
|
|
95
|
-
/**
|
|
96
|
-
* Command to exercise a choice on an existing contract.
|
|
97
|
-
*/
|
|
19
|
+
createArguments: z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull, z.ZodRecord<z.ZodString, z.ZodAny>, z.ZodArray<z.ZodAny>]>>;
|
|
20
|
+
}, z.core.$strict>;
|
|
21
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
98
22
|
ExerciseCommand: z.ZodObject<{
|
|
99
|
-
/** Template ID of the contract. */
|
|
100
23
|
templateId: z.ZodString;
|
|
101
|
-
/** Contract ID to exercise the choice on. */
|
|
102
24
|
contractId: z.ZodString;
|
|
103
|
-
/** Name of the choice to exercise. */
|
|
104
25
|
choice: z.ZodString;
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
contractId: string;
|
|
109
|
-
templateId: string;
|
|
110
|
-
choice: string;
|
|
111
|
-
choiceArgument: Record<string, string | number | boolean | any[] | Record<string, any> | null>;
|
|
112
|
-
}, {
|
|
113
|
-
contractId: string;
|
|
114
|
-
templateId: string;
|
|
115
|
-
choice: string;
|
|
116
|
-
choiceArgument: Record<string, string | number | boolean | any[] | Record<string, any> | null>;
|
|
117
|
-
}>;
|
|
118
|
-
}, "strict", z.ZodTypeAny, {
|
|
119
|
-
ExerciseCommand: {
|
|
120
|
-
contractId: string;
|
|
121
|
-
templateId: string;
|
|
122
|
-
choice: string;
|
|
123
|
-
choiceArgument: Record<string, string | number | boolean | any[] | Record<string, any> | null>;
|
|
124
|
-
};
|
|
125
|
-
}, {
|
|
126
|
-
ExerciseCommand: {
|
|
127
|
-
contractId: string;
|
|
128
|
-
templateId: string;
|
|
129
|
-
choice: string;
|
|
130
|
-
choiceArgument: Record<string, string | number | boolean | any[] | Record<string, any> | null>;
|
|
131
|
-
};
|
|
132
|
-
}>]>;
|
|
26
|
+
choiceArgument: z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull, z.ZodRecord<z.ZodString, z.ZodAny>, z.ZodArray<z.ZodAny>]>>;
|
|
27
|
+
}, z.core.$strict>;
|
|
28
|
+
}, z.core.$strict>]>;
|
|
133
29
|
export declare const DisclosedContractSchema: z.ZodObject<{
|
|
134
|
-
/** Template ID of the disclosed contract (optional). */
|
|
135
30
|
templateId: z.ZodOptional<z.ZodString>;
|
|
136
|
-
/** Contract ID of the disclosed contract. */
|
|
137
31
|
contractId: z.ZodString;
|
|
138
|
-
/** Serialized event blob for the disclosed contract. */
|
|
139
32
|
createdEventBlob: z.ZodString;
|
|
140
|
-
/** Synchronizer ID for the disclosed contract. */
|
|
141
33
|
synchronizerId: z.ZodString;
|
|
142
|
-
},
|
|
143
|
-
synchronizerId: string;
|
|
144
|
-
contractId: string;
|
|
145
|
-
createdEventBlob: string;
|
|
146
|
-
templateId?: string | undefined;
|
|
147
|
-
}, {
|
|
148
|
-
synchronizerId: string;
|
|
149
|
-
contractId: string;
|
|
150
|
-
createdEventBlob: string;
|
|
151
|
-
templateId?: string | undefined;
|
|
152
|
-
}>;
|
|
34
|
+
}, z.core.$strict>;
|
|
153
35
|
export declare const CommandRequestSchema: z.ZodObject<{
|
|
154
|
-
|
|
155
|
-
commands: z.ZodArray<z.ZodUnion<[z.ZodObject<{
|
|
156
|
-
/**
|
|
157
|
-
* Command to create a new contract instance.
|
|
158
|
-
*/
|
|
36
|
+
commands: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
|
|
159
37
|
CreateCommand: z.ZodObject<{
|
|
160
|
-
/** Template ID of the contract to create. */
|
|
161
38
|
templateId: z.ZodString;
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
templateId: string;
|
|
166
|
-
createArguments: Record<string, string | number | boolean | any[] | Record<string, any> | null>;
|
|
167
|
-
}, {
|
|
168
|
-
templateId: string;
|
|
169
|
-
createArguments: Record<string, string | number | boolean | any[] | Record<string, any> | null>;
|
|
170
|
-
}>;
|
|
171
|
-
}, "strict", z.ZodTypeAny, {
|
|
172
|
-
CreateCommand: {
|
|
173
|
-
templateId: string;
|
|
174
|
-
createArguments: Record<string, string | number | boolean | any[] | Record<string, any> | null>;
|
|
175
|
-
};
|
|
176
|
-
}, {
|
|
177
|
-
CreateCommand: {
|
|
178
|
-
templateId: string;
|
|
179
|
-
createArguments: Record<string, string | number | boolean | any[] | Record<string, any> | null>;
|
|
180
|
-
};
|
|
181
|
-
}>, z.ZodObject<{
|
|
182
|
-
/**
|
|
183
|
-
* Command to exercise a choice on an existing contract.
|
|
184
|
-
*/
|
|
39
|
+
createArguments: z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull, z.ZodRecord<z.ZodString, z.ZodAny>, z.ZodArray<z.ZodAny>]>>;
|
|
40
|
+
}, z.core.$strict>;
|
|
41
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
185
42
|
ExerciseCommand: z.ZodObject<{
|
|
186
|
-
/** Template ID of the contract. */
|
|
187
43
|
templateId: z.ZodString;
|
|
188
|
-
/** Contract ID to exercise the choice on. */
|
|
189
44
|
contractId: z.ZodString;
|
|
190
|
-
/** Name of the choice to exercise. */
|
|
191
45
|
choice: z.ZodString;
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
contractId: string;
|
|
196
|
-
templateId: string;
|
|
197
|
-
choice: string;
|
|
198
|
-
choiceArgument: Record<string, string | number | boolean | any[] | Record<string, any> | null>;
|
|
199
|
-
}, {
|
|
200
|
-
contractId: string;
|
|
201
|
-
templateId: string;
|
|
202
|
-
choice: string;
|
|
203
|
-
choiceArgument: Record<string, string | number | boolean | any[] | Record<string, any> | null>;
|
|
204
|
-
}>;
|
|
205
|
-
}, "strict", z.ZodTypeAny, {
|
|
206
|
-
ExerciseCommand: {
|
|
207
|
-
contractId: string;
|
|
208
|
-
templateId: string;
|
|
209
|
-
choice: string;
|
|
210
|
-
choiceArgument: Record<string, string | number | boolean | any[] | Record<string, any> | null>;
|
|
211
|
-
};
|
|
212
|
-
}, {
|
|
213
|
-
ExerciseCommand: {
|
|
214
|
-
contractId: string;
|
|
215
|
-
templateId: string;
|
|
216
|
-
choice: string;
|
|
217
|
-
choiceArgument: Record<string, string | number | boolean | any[] | Record<string, any> | null>;
|
|
218
|
-
};
|
|
219
|
-
}>]>, "many">;
|
|
220
|
-
/** Unique identifier for the command request. */
|
|
46
|
+
choiceArgument: z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull, z.ZodRecord<z.ZodString, z.ZodAny>, z.ZodArray<z.ZodAny>]>>;
|
|
47
|
+
}, z.core.$strict>;
|
|
48
|
+
}, z.core.$strict>]>>;
|
|
221
49
|
commandId: z.ZodString;
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
/** Parties to read as (optional). */
|
|
225
|
-
readAs: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
226
|
-
/** Disclosed contracts referenced by the command (optional). */
|
|
50
|
+
actAs: z.ZodArray<z.ZodString>;
|
|
51
|
+
readAs: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
227
52
|
disclosedContracts: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
228
|
-
/** Template ID of the disclosed contract (optional). */
|
|
229
53
|
templateId: z.ZodOptional<z.ZodString>;
|
|
230
|
-
/** Contract ID of the disclosed contract. */
|
|
231
54
|
contractId: z.ZodString;
|
|
232
|
-
/** Serialized event blob for the disclosed contract. */
|
|
233
55
|
createdEventBlob: z.ZodString;
|
|
234
|
-
/** Synchronizer ID for the disclosed contract. */
|
|
235
56
|
synchronizerId: z.ZodString;
|
|
236
|
-
},
|
|
237
|
-
|
|
238
|
-
contractId: string;
|
|
239
|
-
createdEventBlob: string;
|
|
240
|
-
templateId?: string | undefined;
|
|
241
|
-
}, {
|
|
242
|
-
synchronizerId: string;
|
|
243
|
-
contractId: string;
|
|
244
|
-
createdEventBlob: string;
|
|
245
|
-
templateId?: string | undefined;
|
|
246
|
-
}>, "many">>;
|
|
247
|
-
}, "strict", z.ZodTypeAny, {
|
|
248
|
-
commands: ({
|
|
249
|
-
CreateCommand: {
|
|
250
|
-
templateId: string;
|
|
251
|
-
createArguments: Record<string, string | number | boolean | any[] | Record<string, any> | null>;
|
|
252
|
-
};
|
|
253
|
-
} | {
|
|
254
|
-
ExerciseCommand: {
|
|
255
|
-
contractId: string;
|
|
256
|
-
templateId: string;
|
|
257
|
-
choice: string;
|
|
258
|
-
choiceArgument: Record<string, string | number | boolean | any[] | Record<string, any> | null>;
|
|
259
|
-
};
|
|
260
|
-
})[];
|
|
261
|
-
commandId: string;
|
|
262
|
-
actAs: string[];
|
|
263
|
-
readAs?: string[] | undefined;
|
|
264
|
-
disclosedContracts?: {
|
|
265
|
-
synchronizerId: string;
|
|
266
|
-
contractId: string;
|
|
267
|
-
createdEventBlob: string;
|
|
268
|
-
templateId?: string | undefined;
|
|
269
|
-
}[] | undefined;
|
|
270
|
-
}, {
|
|
271
|
-
commands: ({
|
|
272
|
-
CreateCommand: {
|
|
273
|
-
templateId: string;
|
|
274
|
-
createArguments: Record<string, string | number | boolean | any[] | Record<string, any> | null>;
|
|
275
|
-
};
|
|
276
|
-
} | {
|
|
277
|
-
ExerciseCommand: {
|
|
278
|
-
contractId: string;
|
|
279
|
-
templateId: string;
|
|
280
|
-
choice: string;
|
|
281
|
-
choiceArgument: Record<string, string | number | boolean | any[] | Record<string, any> | null>;
|
|
282
|
-
};
|
|
283
|
-
})[];
|
|
284
|
-
commandId: string;
|
|
285
|
-
actAs: string[];
|
|
286
|
-
readAs?: string[] | undefined;
|
|
287
|
-
disclosedContracts?: {
|
|
288
|
-
synchronizerId: string;
|
|
289
|
-
contractId: string;
|
|
290
|
-
createdEventBlob: string;
|
|
291
|
-
templateId?: string | undefined;
|
|
292
|
-
}[] | undefined;
|
|
293
|
-
}>;
|
|
57
|
+
}, z.core.$strict>>>;
|
|
58
|
+
}, z.core.$strict>;
|
|
294
59
|
/**
|
|
295
60
|
* Command to create a contract and immediately exercise a choice on it.
|
|
296
61
|
*/
|
|
297
62
|
export declare const CreateAndExerciseCommandSchema: z.ZodObject<{
|
|
298
63
|
CreateAndExerciseCommand: z.ZodObject<{
|
|
299
|
-
/** Template ID of the contract to create. */
|
|
300
64
|
templateId: z.ZodString;
|
|
301
|
-
|
|
302
|
-
createArguments: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull, z.ZodRecord<z.ZodString, z.ZodAny>, z.ZodArray<z.ZodAny, "many">]>>;
|
|
303
|
-
/** Name of the choice to exercise. */
|
|
65
|
+
createArguments: z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull, z.ZodRecord<z.ZodString, z.ZodAny>, z.ZodArray<z.ZodAny>]>>;
|
|
304
66
|
choice: z.ZodString;
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
templateId: string;
|
|
309
|
-
createArguments: Record<string, string | number | boolean | any[] | Record<string, any> | null>;
|
|
310
|
-
choice: string;
|
|
311
|
-
choiceArgument: Record<string, string | number | boolean | any[] | Record<string, any> | null>;
|
|
312
|
-
}, {
|
|
313
|
-
templateId: string;
|
|
314
|
-
createArguments: Record<string, string | number | boolean | any[] | Record<string, any> | null>;
|
|
315
|
-
choice: string;
|
|
316
|
-
choiceArgument: Record<string, string | number | boolean | any[] | Record<string, any> | null>;
|
|
317
|
-
}>;
|
|
318
|
-
}, "strict", z.ZodTypeAny, {
|
|
319
|
-
CreateAndExerciseCommand: {
|
|
320
|
-
templateId: string;
|
|
321
|
-
createArguments: Record<string, string | number | boolean | any[] | Record<string, any> | null>;
|
|
322
|
-
choice: string;
|
|
323
|
-
choiceArgument: Record<string, string | number | boolean | any[] | Record<string, any> | null>;
|
|
324
|
-
};
|
|
325
|
-
}, {
|
|
326
|
-
CreateAndExerciseCommand: {
|
|
327
|
-
templateId: string;
|
|
328
|
-
createArguments: Record<string, string | number | boolean | any[] | Record<string, any> | null>;
|
|
329
|
-
choice: string;
|
|
330
|
-
choiceArgument: Record<string, string | number | boolean | any[] | Record<string, any> | null>;
|
|
331
|
-
};
|
|
332
|
-
}>;
|
|
67
|
+
choiceArgument: z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull, z.ZodRecord<z.ZodString, z.ZodAny>, z.ZodArray<z.ZodAny>]>>;
|
|
68
|
+
}, z.core.$strict>;
|
|
69
|
+
}, z.core.$strict>;
|
|
333
70
|
/**
|
|
334
71
|
* Command to exercise a choice on a contract by key.
|
|
335
72
|
*/
|
|
336
73
|
export declare const ExerciseByKeyCommandSchema: z.ZodObject<{
|
|
337
74
|
ExerciseByKeyCommand: z.ZodObject<{
|
|
338
|
-
/** Template ID of the contract. */
|
|
339
75
|
templateId: z.ZodString;
|
|
340
|
-
|
|
341
|
-
contractKey: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull, z.ZodRecord<z.ZodString, z.ZodAny>, z.ZodArray<z.ZodAny, "many">]>>;
|
|
342
|
-
/** Name of the choice to exercise. */
|
|
76
|
+
contractKey: z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull, z.ZodRecord<z.ZodString, z.ZodAny>, z.ZodArray<z.ZodAny>]>>;
|
|
343
77
|
choice: z.ZodString;
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
templateId: string;
|
|
348
|
-
contractKey: Record<string, string | number | boolean | any[] | Record<string, any> | null>;
|
|
349
|
-
choice: string;
|
|
350
|
-
choiceArgument: Record<string, string | number | boolean | any[] | Record<string, any> | null>;
|
|
351
|
-
}, {
|
|
352
|
-
templateId: string;
|
|
353
|
-
contractKey: Record<string, string | number | boolean | any[] | Record<string, any> | null>;
|
|
354
|
-
choice: string;
|
|
355
|
-
choiceArgument: Record<string, string | number | boolean | any[] | Record<string, any> | null>;
|
|
356
|
-
}>;
|
|
357
|
-
}, "strict", z.ZodTypeAny, {
|
|
358
|
-
ExerciseByKeyCommand: {
|
|
359
|
-
templateId: string;
|
|
360
|
-
contractKey: Record<string, string | number | boolean | any[] | Record<string, any> | null>;
|
|
361
|
-
choice: string;
|
|
362
|
-
choiceArgument: Record<string, string | number | boolean | any[] | Record<string, any> | null>;
|
|
363
|
-
};
|
|
364
|
-
}, {
|
|
365
|
-
ExerciseByKeyCommand: {
|
|
366
|
-
templateId: string;
|
|
367
|
-
contractKey: Record<string, string | number | boolean | any[] | Record<string, any> | null>;
|
|
368
|
-
choice: string;
|
|
369
|
-
choiceArgument: Record<string, string | number | boolean | any[] | Record<string, any> | null>;
|
|
370
|
-
};
|
|
371
|
-
}>;
|
|
78
|
+
choiceArgument: z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull, z.ZodRecord<z.ZodString, z.ZodAny>, z.ZodArray<z.ZodAny>]>>;
|
|
79
|
+
}, z.core.$strict>;
|
|
80
|
+
}, z.core.$strict>;
|
|
372
81
|
/**
|
|
373
82
|
* Command to assign a contract (reassignment).
|
|
374
83
|
*/
|
|
375
84
|
export declare const AssignCommandSchema: z.ZodObject<{
|
|
376
85
|
AssignCommand: z.ZodObject<{
|
|
377
|
-
/** Reassignment ID from the unassigned event. */
|
|
378
86
|
reassignmentId: z.ZodString;
|
|
379
|
-
/** Source synchronizer ID. */
|
|
380
87
|
source: z.ZodString;
|
|
381
|
-
/** Target synchronizer ID. */
|
|
382
88
|
target: z.ZodString;
|
|
383
|
-
},
|
|
384
|
-
|
|
385
|
-
source: string;
|
|
386
|
-
target: string;
|
|
387
|
-
}, {
|
|
388
|
-
reassignmentId: string;
|
|
389
|
-
source: string;
|
|
390
|
-
target: string;
|
|
391
|
-
}>;
|
|
392
|
-
}, "strict", z.ZodTypeAny, {
|
|
393
|
-
AssignCommand: {
|
|
394
|
-
reassignmentId: string;
|
|
395
|
-
source: string;
|
|
396
|
-
target: string;
|
|
397
|
-
};
|
|
398
|
-
}, {
|
|
399
|
-
AssignCommand: {
|
|
400
|
-
reassignmentId: string;
|
|
401
|
-
source: string;
|
|
402
|
-
target: string;
|
|
403
|
-
};
|
|
404
|
-
}>;
|
|
89
|
+
}, z.core.$strict>;
|
|
90
|
+
}, z.core.$strict>;
|
|
405
91
|
/**
|
|
406
92
|
* Command to unassign a contract (reassignment).
|
|
407
93
|
*/
|
|
408
94
|
export declare const UnassignCommandSchema: z.ZodObject<{
|
|
409
95
|
UnassignCommand: z.ZodObject<{
|
|
410
|
-
/** Contract ID to unassign. */
|
|
411
96
|
contractId: z.ZodString;
|
|
412
|
-
/** Source synchronizer ID. */
|
|
413
97
|
source: z.ZodString;
|
|
414
|
-
/** Target synchronizer ID. */
|
|
415
98
|
target: z.ZodString;
|
|
416
|
-
},
|
|
417
|
-
|
|
418
|
-
source: string;
|
|
419
|
-
target: string;
|
|
420
|
-
}, {
|
|
421
|
-
contractId: string;
|
|
422
|
-
source: string;
|
|
423
|
-
target: string;
|
|
424
|
-
}>;
|
|
425
|
-
}, "strict", z.ZodTypeAny, {
|
|
426
|
-
UnassignCommand: {
|
|
427
|
-
contractId: string;
|
|
428
|
-
source: string;
|
|
429
|
-
target: string;
|
|
430
|
-
};
|
|
431
|
-
}, {
|
|
432
|
-
UnassignCommand: {
|
|
433
|
-
contractId: string;
|
|
434
|
-
source: string;
|
|
435
|
-
target: string;
|
|
436
|
-
};
|
|
437
|
-
}>;
|
|
99
|
+
}, z.core.$strict>;
|
|
100
|
+
}, z.core.$strict>;
|
|
438
101
|
/**
|
|
439
102
|
* Composite command type (oneOf all supported commands).
|
|
440
103
|
*/
|
|
441
|
-
export declare const CompositeCommandSchema: z.ZodUnion<[z.ZodObject<{
|
|
104
|
+
export declare const CompositeCommandSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
442
105
|
CreateAndExerciseCommand: z.ZodObject<{
|
|
443
|
-
/** Template ID of the contract to create. */
|
|
444
106
|
templateId: z.ZodString;
|
|
445
|
-
|
|
446
|
-
createArguments: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull, z.ZodRecord<z.ZodString, z.ZodAny>, z.ZodArray<z.ZodAny, "many">]>>;
|
|
447
|
-
/** Name of the choice to exercise. */
|
|
107
|
+
createArguments: z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull, z.ZodRecord<z.ZodString, z.ZodAny>, z.ZodArray<z.ZodAny>]>>;
|
|
448
108
|
choice: z.ZodString;
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
|
|
452
|
-
templateId: string;
|
|
453
|
-
createArguments: Record<string, string | number | boolean | any[] | Record<string, any> | null>;
|
|
454
|
-
choice: string;
|
|
455
|
-
choiceArgument: Record<string, string | number | boolean | any[] | Record<string, any> | null>;
|
|
456
|
-
}, {
|
|
457
|
-
templateId: string;
|
|
458
|
-
createArguments: Record<string, string | number | boolean | any[] | Record<string, any> | null>;
|
|
459
|
-
choice: string;
|
|
460
|
-
choiceArgument: Record<string, string | number | boolean | any[] | Record<string, any> | null>;
|
|
461
|
-
}>;
|
|
462
|
-
}, "strict", z.ZodTypeAny, {
|
|
463
|
-
CreateAndExerciseCommand: {
|
|
464
|
-
templateId: string;
|
|
465
|
-
createArguments: Record<string, string | number | boolean | any[] | Record<string, any> | null>;
|
|
466
|
-
choice: string;
|
|
467
|
-
choiceArgument: Record<string, string | number | boolean | any[] | Record<string, any> | null>;
|
|
468
|
-
};
|
|
469
|
-
}, {
|
|
470
|
-
CreateAndExerciseCommand: {
|
|
471
|
-
templateId: string;
|
|
472
|
-
createArguments: Record<string, string | number | boolean | any[] | Record<string, any> | null>;
|
|
473
|
-
choice: string;
|
|
474
|
-
choiceArgument: Record<string, string | number | boolean | any[] | Record<string, any> | null>;
|
|
475
|
-
};
|
|
476
|
-
}>, z.ZodObject<{
|
|
477
|
-
/**
|
|
478
|
-
* Command to create a new contract instance.
|
|
479
|
-
*/
|
|
109
|
+
choiceArgument: z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull, z.ZodRecord<z.ZodString, z.ZodAny>, z.ZodArray<z.ZodAny>]>>;
|
|
110
|
+
}, z.core.$strict>;
|
|
111
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
480
112
|
CreateCommand: z.ZodObject<{
|
|
481
|
-
/** Template ID of the contract to create. */
|
|
482
113
|
templateId: z.ZodString;
|
|
483
|
-
|
|
484
|
-
|
|
485
|
-
|
|
486
|
-
templateId: string;
|
|
487
|
-
createArguments: Record<string, string | number | boolean | any[] | Record<string, any> | null>;
|
|
488
|
-
}, {
|
|
489
|
-
templateId: string;
|
|
490
|
-
createArguments: Record<string, string | number | boolean | any[] | Record<string, any> | null>;
|
|
491
|
-
}>;
|
|
492
|
-
}, "strict", z.ZodTypeAny, {
|
|
493
|
-
CreateCommand: {
|
|
494
|
-
templateId: string;
|
|
495
|
-
createArguments: Record<string, string | number | boolean | any[] | Record<string, any> | null>;
|
|
496
|
-
};
|
|
497
|
-
}, {
|
|
498
|
-
CreateCommand: {
|
|
499
|
-
templateId: string;
|
|
500
|
-
createArguments: Record<string, string | number | boolean | any[] | Record<string, any> | null>;
|
|
501
|
-
};
|
|
502
|
-
}>, z.ZodObject<{
|
|
114
|
+
createArguments: z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull, z.ZodRecord<z.ZodString, z.ZodAny>, z.ZodArray<z.ZodAny>]>>;
|
|
115
|
+
}, z.core.$strict>;
|
|
116
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
503
117
|
ExerciseByKeyCommand: z.ZodObject<{
|
|
504
|
-
/** Template ID of the contract. */
|
|
505
118
|
templateId: z.ZodString;
|
|
506
|
-
|
|
507
|
-
contractKey: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull, z.ZodRecord<z.ZodString, z.ZodAny>, z.ZodArray<z.ZodAny, "many">]>>;
|
|
508
|
-
/** Name of the choice to exercise. */
|
|
119
|
+
contractKey: z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull, z.ZodRecord<z.ZodString, z.ZodAny>, z.ZodArray<z.ZodAny>]>>;
|
|
509
120
|
choice: z.ZodString;
|
|
510
|
-
|
|
511
|
-
|
|
512
|
-
|
|
513
|
-
templateId: string;
|
|
514
|
-
contractKey: Record<string, string | number | boolean | any[] | Record<string, any> | null>;
|
|
515
|
-
choice: string;
|
|
516
|
-
choiceArgument: Record<string, string | number | boolean | any[] | Record<string, any> | null>;
|
|
517
|
-
}, {
|
|
518
|
-
templateId: string;
|
|
519
|
-
contractKey: Record<string, string | number | boolean | any[] | Record<string, any> | null>;
|
|
520
|
-
choice: string;
|
|
521
|
-
choiceArgument: Record<string, string | number | boolean | any[] | Record<string, any> | null>;
|
|
522
|
-
}>;
|
|
523
|
-
}, "strict", z.ZodTypeAny, {
|
|
524
|
-
ExerciseByKeyCommand: {
|
|
525
|
-
templateId: string;
|
|
526
|
-
contractKey: Record<string, string | number | boolean | any[] | Record<string, any> | null>;
|
|
527
|
-
choice: string;
|
|
528
|
-
choiceArgument: Record<string, string | number | boolean | any[] | Record<string, any> | null>;
|
|
529
|
-
};
|
|
530
|
-
}, {
|
|
531
|
-
ExerciseByKeyCommand: {
|
|
532
|
-
templateId: string;
|
|
533
|
-
contractKey: Record<string, string | number | boolean | any[] | Record<string, any> | null>;
|
|
534
|
-
choice: string;
|
|
535
|
-
choiceArgument: Record<string, string | number | boolean | any[] | Record<string, any> | null>;
|
|
536
|
-
};
|
|
537
|
-
}>, z.ZodObject<{
|
|
538
|
-
/**
|
|
539
|
-
* Command to exercise a choice on an existing contract.
|
|
540
|
-
*/
|
|
121
|
+
choiceArgument: z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull, z.ZodRecord<z.ZodString, z.ZodAny>, z.ZodArray<z.ZodAny>]>>;
|
|
122
|
+
}, z.core.$strict>;
|
|
123
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
541
124
|
ExerciseCommand: z.ZodObject<{
|
|
542
|
-
/** Template ID of the contract. */
|
|
543
125
|
templateId: z.ZodString;
|
|
544
|
-
/** Contract ID to exercise the choice on. */
|
|
545
126
|
contractId: z.ZodString;
|
|
546
|
-
/** Name of the choice to exercise. */
|
|
547
127
|
choice: z.ZodString;
|
|
548
|
-
|
|
549
|
-
|
|
550
|
-
|
|
551
|
-
contractId: string;
|
|
552
|
-
templateId: string;
|
|
553
|
-
choice: string;
|
|
554
|
-
choiceArgument: Record<string, string | number | boolean | any[] | Record<string, any> | null>;
|
|
555
|
-
}, {
|
|
556
|
-
contractId: string;
|
|
557
|
-
templateId: string;
|
|
558
|
-
choice: string;
|
|
559
|
-
choiceArgument: Record<string, string | number | boolean | any[] | Record<string, any> | null>;
|
|
560
|
-
}>;
|
|
561
|
-
}, "strict", z.ZodTypeAny, {
|
|
562
|
-
ExerciseCommand: {
|
|
563
|
-
contractId: string;
|
|
564
|
-
templateId: string;
|
|
565
|
-
choice: string;
|
|
566
|
-
choiceArgument: Record<string, string | number | boolean | any[] | Record<string, any> | null>;
|
|
567
|
-
};
|
|
568
|
-
}, {
|
|
569
|
-
ExerciseCommand: {
|
|
570
|
-
contractId: string;
|
|
571
|
-
templateId: string;
|
|
572
|
-
choice: string;
|
|
573
|
-
choiceArgument: Record<string, string | number | boolean | any[] | Record<string, any> | null>;
|
|
574
|
-
};
|
|
575
|
-
}>, z.ZodObject<{
|
|
128
|
+
choiceArgument: z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull, z.ZodRecord<z.ZodString, z.ZodAny>, z.ZodArray<z.ZodAny>]>>;
|
|
129
|
+
}, z.core.$strict>;
|
|
130
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
576
131
|
AssignCommand: z.ZodObject<{
|
|
577
|
-
/** Reassignment ID from the unassigned event. */
|
|
578
132
|
reassignmentId: z.ZodString;
|
|
579
|
-
/** Source synchronizer ID. */
|
|
580
133
|
source: z.ZodString;
|
|
581
|
-
/** Target synchronizer ID. */
|
|
582
134
|
target: z.ZodString;
|
|
583
|
-
},
|
|
584
|
-
|
|
585
|
-
source: string;
|
|
586
|
-
target: string;
|
|
587
|
-
}, {
|
|
588
|
-
reassignmentId: string;
|
|
589
|
-
source: string;
|
|
590
|
-
target: string;
|
|
591
|
-
}>;
|
|
592
|
-
}, "strict", z.ZodTypeAny, {
|
|
593
|
-
AssignCommand: {
|
|
594
|
-
reassignmentId: string;
|
|
595
|
-
source: string;
|
|
596
|
-
target: string;
|
|
597
|
-
};
|
|
598
|
-
}, {
|
|
599
|
-
AssignCommand: {
|
|
600
|
-
reassignmentId: string;
|
|
601
|
-
source: string;
|
|
602
|
-
target: string;
|
|
603
|
-
};
|
|
604
|
-
}>, z.ZodObject<{
|
|
135
|
+
}, z.core.$strict>;
|
|
136
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
605
137
|
UnassignCommand: z.ZodObject<{
|
|
606
|
-
/** Contract ID to unassign. */
|
|
607
138
|
contractId: z.ZodString;
|
|
608
|
-
/** Source synchronizer ID. */
|
|
609
139
|
source: z.ZodString;
|
|
610
|
-
/** Target synchronizer ID. */
|
|
611
140
|
target: z.ZodString;
|
|
612
|
-
},
|
|
613
|
-
|
|
614
|
-
source: string;
|
|
615
|
-
target: string;
|
|
616
|
-
}, {
|
|
617
|
-
contractId: string;
|
|
618
|
-
source: string;
|
|
619
|
-
target: string;
|
|
620
|
-
}>;
|
|
621
|
-
}, "strict", z.ZodTypeAny, {
|
|
622
|
-
UnassignCommand: {
|
|
623
|
-
contractId: string;
|
|
624
|
-
source: string;
|
|
625
|
-
target: string;
|
|
626
|
-
};
|
|
627
|
-
}, {
|
|
628
|
-
UnassignCommand: {
|
|
629
|
-
contractId: string;
|
|
630
|
-
source: string;
|
|
631
|
-
target: string;
|
|
632
|
-
};
|
|
633
|
-
}>]>;
|
|
141
|
+
}, z.core.$strict>;
|
|
142
|
+
}, z.core.$strict>]>;
|
|
634
143
|
/**
|
|
635
144
|
* Deduplication period (oneOf duration, offset, or empty).
|
|
636
145
|
*/
|
|
637
|
-
export declare const DeduplicationPeriodSchema: z.ZodUnion<[z.ZodObject<{
|
|
146
|
+
export declare const DeduplicationPeriodSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
638
147
|
DeduplicationDuration: z.ZodObject<{
|
|
639
148
|
seconds: z.ZodNumber;
|
|
640
|
-
},
|
|
641
|
-
|
|
642
|
-
}, {
|
|
643
|
-
seconds: number;
|
|
644
|
-
}>;
|
|
645
|
-
}, "strip", z.ZodTypeAny, {
|
|
646
|
-
DeduplicationDuration: {
|
|
647
|
-
seconds: number;
|
|
648
|
-
};
|
|
649
|
-
}, {
|
|
650
|
-
DeduplicationDuration: {
|
|
651
|
-
seconds: number;
|
|
652
|
-
};
|
|
653
|
-
}>, z.ZodObject<{
|
|
149
|
+
}, z.core.$strip>;
|
|
150
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
654
151
|
DeduplicationOffset: z.ZodObject<{
|
|
655
152
|
offset: z.ZodNumber;
|
|
656
|
-
},
|
|
657
|
-
|
|
658
|
-
},
|
|
659
|
-
|
|
660
|
-
}>;
|
|
661
|
-
}, "strip", z.ZodTypeAny, {
|
|
662
|
-
DeduplicationOffset: {
|
|
663
|
-
offset: number;
|
|
664
|
-
};
|
|
665
|
-
}, {
|
|
666
|
-
DeduplicationOffset: {
|
|
667
|
-
offset: number;
|
|
668
|
-
};
|
|
669
|
-
}>, z.ZodObject<{
|
|
670
|
-
Empty: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
|
|
671
|
-
}, "strip", z.ZodTypeAny, {
|
|
672
|
-
Empty: {};
|
|
673
|
-
}, {
|
|
674
|
-
Empty: {};
|
|
675
|
-
}>]>;
|
|
153
|
+
}, z.core.$strip>;
|
|
154
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
155
|
+
Empty: z.ZodObject<{}, z.core.$strip>;
|
|
156
|
+
}, z.core.$strip>]>;
|
|
676
157
|
/**
|
|
677
158
|
* Commands container with all command types.
|
|
678
159
|
*/
|
|
679
160
|
export declare const JsCommandsSchema: z.ZodObject<{
|
|
680
|
-
/** Workflow ID (optional). */
|
|
681
161
|
workflowId: z.ZodOptional<z.ZodString>;
|
|
682
|
-
/** User ID submitting the command. */
|
|
683
162
|
userId: z.ZodString;
|
|
684
|
-
/** Unique identifier for the command. */
|
|
685
163
|
commandId: z.ZodString;
|
|
686
|
-
/** Party submitting the command. */
|
|
687
164
|
submitter: z.ZodString;
|
|
688
|
-
/** Submission ID (optional). */
|
|
689
165
|
submissionId: z.ZodOptional<z.ZodString>;
|
|
690
|
-
|
|
691
|
-
commands: z.ZodArray<z.ZodUnion<[z.ZodObject<{
|
|
692
|
-
/**
|
|
693
|
-
* Command to create a new contract instance.
|
|
694
|
-
*/
|
|
166
|
+
commands: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
|
|
695
167
|
CreateCommand: z.ZodObject<{
|
|
696
|
-
/** Template ID of the contract to create. */
|
|
697
168
|
templateId: z.ZodString;
|
|
698
|
-
|
|
699
|
-
|
|
700
|
-
|
|
701
|
-
templateId: string;
|
|
702
|
-
createArguments: Record<string, string | number | boolean | any[] | Record<string, any> | null>;
|
|
703
|
-
}, {
|
|
704
|
-
templateId: string;
|
|
705
|
-
createArguments: Record<string, string | number | boolean | any[] | Record<string, any> | null>;
|
|
706
|
-
}>;
|
|
707
|
-
}, "strict", z.ZodTypeAny, {
|
|
708
|
-
CreateCommand: {
|
|
709
|
-
templateId: string;
|
|
710
|
-
createArguments: Record<string, string | number | boolean | any[] | Record<string, any> | null>;
|
|
711
|
-
};
|
|
712
|
-
}, {
|
|
713
|
-
CreateCommand: {
|
|
714
|
-
templateId: string;
|
|
715
|
-
createArguments: Record<string, string | number | boolean | any[] | Record<string, any> | null>;
|
|
716
|
-
};
|
|
717
|
-
}>, z.ZodObject<{
|
|
718
|
-
/**
|
|
719
|
-
* Command to exercise a choice on an existing contract.
|
|
720
|
-
*/
|
|
169
|
+
createArguments: z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull, z.ZodRecord<z.ZodString, z.ZodAny>, z.ZodArray<z.ZodAny>]>>;
|
|
170
|
+
}, z.core.$strict>;
|
|
171
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
721
172
|
ExerciseCommand: z.ZodObject<{
|
|
722
|
-
/** Template ID of the contract. */
|
|
723
173
|
templateId: z.ZodString;
|
|
724
|
-
/** Contract ID to exercise the choice on. */
|
|
725
174
|
contractId: z.ZodString;
|
|
726
|
-
/** Name of the choice to exercise. */
|
|
727
175
|
choice: z.ZodString;
|
|
728
|
-
|
|
729
|
-
|
|
730
|
-
|
|
731
|
-
|
|
732
|
-
templateId: string;
|
|
733
|
-
choice: string;
|
|
734
|
-
choiceArgument: Record<string, string | number | boolean | any[] | Record<string, any> | null>;
|
|
735
|
-
}, {
|
|
736
|
-
contractId: string;
|
|
737
|
-
templateId: string;
|
|
738
|
-
choice: string;
|
|
739
|
-
choiceArgument: Record<string, string | number | boolean | any[] | Record<string, any> | null>;
|
|
740
|
-
}>;
|
|
741
|
-
}, "strict", z.ZodTypeAny, {
|
|
742
|
-
ExerciseCommand: {
|
|
743
|
-
contractId: string;
|
|
744
|
-
templateId: string;
|
|
745
|
-
choice: string;
|
|
746
|
-
choiceArgument: Record<string, string | number | boolean | any[] | Record<string, any> | null>;
|
|
747
|
-
};
|
|
748
|
-
}, {
|
|
749
|
-
ExerciseCommand: {
|
|
750
|
-
contractId: string;
|
|
751
|
-
templateId: string;
|
|
752
|
-
choice: string;
|
|
753
|
-
choiceArgument: Record<string, string | number | boolean | any[] | Record<string, any> | null>;
|
|
754
|
-
};
|
|
755
|
-
}>]>, "many">;
|
|
756
|
-
/** Deduplication period (optional). */
|
|
757
|
-
deduplicationPeriod: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
|
|
176
|
+
choiceArgument: z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull, z.ZodRecord<z.ZodString, z.ZodAny>, z.ZodArray<z.ZodAny>]>>;
|
|
177
|
+
}, z.core.$strict>;
|
|
178
|
+
}, z.core.$strict>]>>;
|
|
179
|
+
deduplicationPeriod: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
|
|
758
180
|
DeduplicationDuration: z.ZodObject<{
|
|
759
181
|
seconds: z.ZodNumber;
|
|
760
|
-
},
|
|
761
|
-
|
|
762
|
-
}, {
|
|
763
|
-
seconds: number;
|
|
764
|
-
}>;
|
|
765
|
-
}, "strip", z.ZodTypeAny, {
|
|
766
|
-
DeduplicationDuration: {
|
|
767
|
-
seconds: number;
|
|
768
|
-
};
|
|
769
|
-
}, {
|
|
770
|
-
DeduplicationDuration: {
|
|
771
|
-
seconds: number;
|
|
772
|
-
};
|
|
773
|
-
}>, z.ZodObject<{
|
|
182
|
+
}, z.core.$strip>;
|
|
183
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
774
184
|
DeduplicationOffset: z.ZodObject<{
|
|
775
185
|
offset: z.ZodNumber;
|
|
776
|
-
},
|
|
777
|
-
|
|
778
|
-
},
|
|
779
|
-
|
|
780
|
-
}>;
|
|
781
|
-
}, "strip", z.ZodTypeAny, {
|
|
782
|
-
DeduplicationOffset: {
|
|
783
|
-
offset: number;
|
|
784
|
-
};
|
|
785
|
-
}, {
|
|
786
|
-
DeduplicationOffset: {
|
|
787
|
-
offset: number;
|
|
788
|
-
};
|
|
789
|
-
}>, z.ZodObject<{
|
|
790
|
-
Empty: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
|
|
791
|
-
}, "strip", z.ZodTypeAny, {
|
|
792
|
-
Empty: {};
|
|
793
|
-
}, {
|
|
794
|
-
Empty: {};
|
|
795
|
-
}>]>>;
|
|
796
|
-
/** Minimum ledger time relative to submission (optional). */
|
|
186
|
+
}, z.core.$strip>;
|
|
187
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
188
|
+
Empty: z.ZodObject<{}, z.core.$strip>;
|
|
189
|
+
}, z.core.$strip>]>>;
|
|
797
190
|
minLedgerTimeRel: z.ZodOptional<z.ZodObject<{
|
|
798
191
|
seconds: z.ZodNumber;
|
|
799
|
-
},
|
|
800
|
-
seconds: number;
|
|
801
|
-
}, {
|
|
802
|
-
seconds: number;
|
|
803
|
-
}>>;
|
|
804
|
-
/** Disclosed contracts (optional). */
|
|
192
|
+
}, z.core.$strip>>;
|
|
805
193
|
disclosedContracts: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
806
|
-
/** Template ID of the disclosed contract (optional). */
|
|
807
194
|
templateId: z.ZodOptional<z.ZodString>;
|
|
808
|
-
/** Contract ID of the disclosed contract. */
|
|
809
195
|
contractId: z.ZodString;
|
|
810
|
-
/** Serialized event blob for the disclosed contract. */
|
|
811
196
|
createdEventBlob: z.ZodString;
|
|
812
|
-
/** Synchronizer ID for the disclosed contract. */
|
|
813
197
|
synchronizerId: z.ZodString;
|
|
814
|
-
},
|
|
815
|
-
synchronizerId: string;
|
|
816
|
-
contractId: string;
|
|
817
|
-
createdEventBlob: string;
|
|
818
|
-
templateId?: string | undefined;
|
|
819
|
-
}, {
|
|
820
|
-
synchronizerId: string;
|
|
821
|
-
contractId: string;
|
|
822
|
-
createdEventBlob: string;
|
|
823
|
-
templateId?: string | undefined;
|
|
824
|
-
}>, "many">>;
|
|
825
|
-
/** Prefetch contract keys (optional). */
|
|
198
|
+
}, z.core.$strict>>>;
|
|
826
199
|
prefetchContractKeys: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
827
200
|
templateId: z.ZodString;
|
|
828
201
|
contractKey: z.ZodRecord<z.ZodString, z.ZodAny>;
|
|
829
|
-
},
|
|
830
|
-
|
|
831
|
-
contractKey: Record<string, any>;
|
|
832
|
-
}, {
|
|
833
|
-
templateId: string;
|
|
834
|
-
contractKey: Record<string, any>;
|
|
835
|
-
}>, "many">>;
|
|
836
|
-
}, "strip", z.ZodTypeAny, {
|
|
837
|
-
userId: string;
|
|
838
|
-
commands: ({
|
|
839
|
-
CreateCommand: {
|
|
840
|
-
templateId: string;
|
|
841
|
-
createArguments: Record<string, string | number | boolean | any[] | Record<string, any> | null>;
|
|
842
|
-
};
|
|
843
|
-
} | {
|
|
844
|
-
ExerciseCommand: {
|
|
845
|
-
contractId: string;
|
|
846
|
-
templateId: string;
|
|
847
|
-
choice: string;
|
|
848
|
-
choiceArgument: Record<string, string | number | boolean | any[] | Record<string, any> | null>;
|
|
849
|
-
};
|
|
850
|
-
})[];
|
|
851
|
-
commandId: string;
|
|
852
|
-
submitter: string;
|
|
853
|
-
workflowId?: string | undefined;
|
|
854
|
-
deduplicationPeriod?: {
|
|
855
|
-
DeduplicationDuration: {
|
|
856
|
-
seconds: number;
|
|
857
|
-
};
|
|
858
|
-
} | {
|
|
859
|
-
DeduplicationOffset: {
|
|
860
|
-
offset: number;
|
|
861
|
-
};
|
|
862
|
-
} | {
|
|
863
|
-
Empty: {};
|
|
864
|
-
} | undefined;
|
|
865
|
-
minLedgerTimeRel?: {
|
|
866
|
-
seconds: number;
|
|
867
|
-
} | undefined;
|
|
868
|
-
submissionId?: string | undefined;
|
|
869
|
-
disclosedContracts?: {
|
|
870
|
-
synchronizerId: string;
|
|
871
|
-
contractId: string;
|
|
872
|
-
createdEventBlob: string;
|
|
873
|
-
templateId?: string | undefined;
|
|
874
|
-
}[] | undefined;
|
|
875
|
-
prefetchContractKeys?: {
|
|
876
|
-
templateId: string;
|
|
877
|
-
contractKey: Record<string, any>;
|
|
878
|
-
}[] | undefined;
|
|
879
|
-
}, {
|
|
880
|
-
userId: string;
|
|
881
|
-
commands: ({
|
|
882
|
-
CreateCommand: {
|
|
883
|
-
templateId: string;
|
|
884
|
-
createArguments: Record<string, string | number | boolean | any[] | Record<string, any> | null>;
|
|
885
|
-
};
|
|
886
|
-
} | {
|
|
887
|
-
ExerciseCommand: {
|
|
888
|
-
contractId: string;
|
|
889
|
-
templateId: string;
|
|
890
|
-
choice: string;
|
|
891
|
-
choiceArgument: Record<string, string | number | boolean | any[] | Record<string, any> | null>;
|
|
892
|
-
};
|
|
893
|
-
})[];
|
|
894
|
-
commandId: string;
|
|
895
|
-
submitter: string;
|
|
896
|
-
workflowId?: string | undefined;
|
|
897
|
-
deduplicationPeriod?: {
|
|
898
|
-
DeduplicationDuration: {
|
|
899
|
-
seconds: number;
|
|
900
|
-
};
|
|
901
|
-
} | {
|
|
902
|
-
DeduplicationOffset: {
|
|
903
|
-
offset: number;
|
|
904
|
-
};
|
|
905
|
-
} | {
|
|
906
|
-
Empty: {};
|
|
907
|
-
} | undefined;
|
|
908
|
-
minLedgerTimeRel?: {
|
|
909
|
-
seconds: number;
|
|
910
|
-
} | undefined;
|
|
911
|
-
submissionId?: string | undefined;
|
|
912
|
-
disclosedContracts?: {
|
|
913
|
-
synchronizerId: string;
|
|
914
|
-
contractId: string;
|
|
915
|
-
createdEventBlob: string;
|
|
916
|
-
templateId?: string | undefined;
|
|
917
|
-
}[] | undefined;
|
|
918
|
-
prefetchContractKeys?: {
|
|
919
|
-
templateId: string;
|
|
920
|
-
contractKey: Record<string, any>;
|
|
921
|
-
}[] | undefined;
|
|
922
|
-
}>;
|
|
202
|
+
}, z.core.$strip>>>;
|
|
203
|
+
}, z.core.$strip>;
|
|
923
204
|
export type CreateCommand = z.infer<typeof CreateCommandSchema>;
|
|
924
205
|
export type ExerciseCommand = z.infer<typeof ExerciseCommandSchema>;
|
|
925
206
|
export type Command = z.infer<typeof CommandSchema>;
|