@fairmint/canton-node-sdk 0.0.264 → 0.0.266
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/README.md +1 -1
- package/build/src/clients/ledger-json-api/LedgerJsonApiClient.generated.d.ts +1 -19
- package/build/src/clients/ledger-json-api/LedgerJsonApiClient.generated.d.ts.map +1 -1
- package/build/src/clients/ledger-json-api/LedgerJsonApiClient.generated.js +0 -12
- package/build/src/clients/ledger-json-api/LedgerJsonApiClient.generated.js.map +1 -1
- package/build/src/clients/ledger-json-api/index.d.ts +1 -0
- package/build/src/clients/ledger-json-api/index.d.ts.map +1 -1
- package/build/src/clients/ledger-json-api/index.js.map +1 -1
- package/build/src/clients/ledger-json-api/operations/v2/commands/async/submit.d.ts +52 -52
- package/build/src/clients/ledger-json-api/operations/v2/commands/index.d.ts +0 -1
- package/build/src/clients/ledger-json-api/operations/v2/commands/index.d.ts.map +1 -1
- package/build/src/clients/ledger-json-api/operations/v2/commands/index.js +0 -1
- package/build/src/clients/ledger-json-api/operations/v2/commands/index.js.map +1 -1
- package/build/src/clients/ledger-json-api/operations/v2/commands/submit-and-wait-for-transaction.d.ts +13 -0
- package/build/src/clients/ledger-json-api/operations/v2/commands/submit-and-wait-for-transaction.d.ts.map +1 -1
- package/build/src/clients/ledger-json-api/operations/v2/commands/submit-and-wait-for-transaction.js +29 -2
- package/build/src/clients/ledger-json-api/operations/v2/commands/submit-and-wait-for-transaction.js.map +1 -1
- package/build/src/clients/ledger-json-api/operations/v2/commands/submit-and-wait.d.ts +52 -52
- package/build/src/clients/ledger-json-api/operations/v2/interactive-submission/index.d.ts +0 -1
- package/build/src/clients/ledger-json-api/operations/v2/interactive-submission/index.d.ts.map +1 -1
- package/build/src/clients/ledger-json-api/operations/v2/interactive-submission/index.js +0 -1
- package/build/src/clients/ledger-json-api/operations/v2/interactive-submission/index.js.map +1 -1
- package/build/src/clients/ledger-json-api/operations/v2/updates/index.d.ts +0 -4
- package/build/src/clients/ledger-json-api/operations/v2/updates/index.d.ts.map +1 -1
- package/build/src/clients/ledger-json-api/operations/v2/updates/index.js +0 -4
- package/build/src/clients/ledger-json-api/operations/v2/updates/index.js.map +1 -1
- package/build/src/clients/ledger-json-api/schemas/api/events.d.ts +0 -414
- 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 -111
- package/build/src/clients/ledger-json-api/schemas/api/events.js.map +1 -1
- package/build/src/clients/ledger-json-api/schemas/api/packages.d.ts +1 -43
- package/build/src/clients/ledger-json-api/schemas/api/packages.d.ts.map +1 -1
- package/build/src/clients/ledger-json-api/schemas/api/packages.js +2 -18
- package/build/src/clients/ledger-json-api/schemas/api/packages.js.map +1 -1
- package/build/src/clients/ledger-json-api/schemas/api/transactions.d.ts +0 -885
- 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 -61
- 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 +926 -3650
- 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 +13 -89
- package/build/src/clients/ledger-json-api/schemas/api/updates.js.map +1 -1
- package/build/src/clients/ledger-json-api/schemas/operations/commands.d.ts +0 -419
- package/build/src/clients/ledger-json-api/schemas/operations/commands.d.ts.map +1 -1
- package/build/src/clients/ledger-json-api/schemas/operations/commands.js +2 -6
- package/build/src/clients/ledger-json-api/schemas/operations/commands.js.map +1 -1
- package/build/src/clients/ledger-json-api/schemas/operations/interactive-submission.d.ts +0 -8
- 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 -12
- 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 +0 -8
- package/build/src/clients/ledger-json-api/schemas/operations/packages.d.ts.map +1 -1
- package/build/src/clients/ledger-json-api/schemas/operations/packages.js +1 -12
- package/build/src/clients/ledger-json-api/schemas/operations/packages.js.map +1 -1
- package/build/src/clients/ledger-json-api/schemas/operations/updates.d.ts +0 -281
- 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 +1 -31
- package/build/src/clients/ledger-json-api/schemas/operations/updates.js.map +1 -1
- package/build/src/utils/amulet/offers.d.ts +2 -2
- package/build/src/utils/amulet/offers.d.ts.map +1 -1
- package/build/src/utils/amulet/offers.js +2 -2
- package/build/src/utils/amulet/offers.js.map +1 -1
- package/build/src/utils/amulet/pre-approve-transfers.js +2 -2
- package/build/src/utils/amulet/pre-approve-transfers.js.map +1 -1
- package/build/src/utils/amulet/transfer-to-preapproved.d.ts +2 -2
- package/build/src/utils/amulet/transfer-to-preapproved.d.ts.map +1 -1
- package/build/src/utils/amulet/transfer-to-preapproved.js +1 -1
- package/build/src/utils/amulet/transfer-to-preapproved.js.map +1 -1
- package/build/src/utils/canton-response-utils.d.ts.map +1 -1
- package/build/src/utils/canton-response-utils.js +16 -1
- package/build/src/utils/canton-response-utils.js.map +1 -1
- package/build/src/utils/contracts/findCreatedEvent.d.ts +16 -26
- package/build/src/utils/contracts/findCreatedEvent.d.ts.map +1 -1
- package/build/src/utils/contracts/findCreatedEvent.js +28 -32
- package/build/src/utils/contracts/findCreatedEvent.js.map +1 -1
- package/build/src/utils/external-signing/external-party-onboarding.js +1 -0
- package/build/src/utils/external-signing/external-party-onboarding.js.map +1 -1
- package/build/src/utils/parsers/event-parser.d.ts +3 -2
- package/build/src/utils/parsers/event-parser.d.ts.map +1 -1
- package/build/src/utils/parsers/event-parser.js +17 -57
- package/build/src/utils/parsers/event-parser.js.map +1 -1
- package/build/src/utils/parsers/fee-parser.d.ts +20 -16
- package/build/src/utils/parsers/fee-parser.d.ts.map +1 -1
- package/build/src/utils/parsers/fee-parser.js +27 -48
- package/build/src/utils/parsers/fee-parser.js.map +1 -1
- package/build/src/utils/token-standard/v2/allocation.d.ts +4 -4
- package/build/src/utils/token-standard/v2/allocation.d.ts.map +1 -1
- package/build/src/utils/token-standard/v2/allocation.js +9 -9
- package/build/src/utils/token-standard/v2/allocation.js.map +1 -1
- package/build/src/utils/transactions/TransactionBatch.d.ts +5 -4
- package/build/src/utils/transactions/TransactionBatch.d.ts.map +1 -1
- package/build/src/utils/transactions/TransactionBatch.js +7 -6
- package/build/src/utils/transactions/TransactionBatch.js.map +1 -1
- package/build/src/utils/transactions/find-created-event.d.ts +8 -8
- package/build/src/utils/transactions/find-created-event.d.ts.map +1 -1
- package/build/src/utils/transactions/find-created-event.js +10 -16
- package/build/src/utils/transactions/find-created-event.js.map +1 -1
- package/package.json +10 -10
- package/build/src/clients/ledger-json-api/operations/v2/commands/submit-and-wait-for-transaction-tree.d.ts +0 -512
- package/build/src/clients/ledger-json-api/operations/v2/commands/submit-and-wait-for-transaction-tree.d.ts.map +0 -1
- package/build/src/clients/ledger-json-api/operations/v2/commands/submit-and-wait-for-transaction-tree.js +0 -26
- package/build/src/clients/ledger-json-api/operations/v2/commands/submit-and-wait-for-transaction-tree.js.map +0 -1
- package/build/src/clients/ledger-json-api/operations/v2/interactive-submission/get-preferred-package-version.d.ts +0 -36
- package/build/src/clients/ledger-json-api/operations/v2/interactive-submission/get-preferred-package-version.d.ts.map +0 -1
- package/build/src/clients/ledger-json-api/operations/v2/interactive-submission/get-preferred-package-version.js +0 -39
- package/build/src/clients/ledger-json-api/operations/v2/interactive-submission/get-preferred-package-version.js.map +0 -1
- package/build/src/clients/ledger-json-api/operations/v2/updates/get-transaction-by-id.d.ts +0 -139
- package/build/src/clients/ledger-json-api/operations/v2/updates/get-transaction-by-id.d.ts.map +0 -1
- package/build/src/clients/ledger-json-api/operations/v2/updates/get-transaction-by-id.js +0 -14
- package/build/src/clients/ledger-json-api/operations/v2/updates/get-transaction-by-id.js.map +0 -1
- package/build/src/clients/ledger-json-api/operations/v2/updates/get-transaction-by-offset.d.ts +0 -139
- package/build/src/clients/ledger-json-api/operations/v2/updates/get-transaction-by-offset.d.ts.map +0 -1
- package/build/src/clients/ledger-json-api/operations/v2/updates/get-transaction-by-offset.js +0 -14
- package/build/src/clients/ledger-json-api/operations/v2/updates/get-transaction-by-offset.js.map +0 -1
- package/build/src/clients/ledger-json-api/operations/v2/updates/get-transaction-tree-by-id.d.ts +0 -37
- package/build/src/clients/ledger-json-api/operations/v2/updates/get-transaction-tree-by-id.d.ts.map +0 -1
- package/build/src/clients/ledger-json-api/operations/v2/updates/get-transaction-tree-by-id.js +0 -46
- package/build/src/clients/ledger-json-api/operations/v2/updates/get-transaction-tree-by-id.js.map +0 -1
- package/build/src/clients/ledger-json-api/operations/v2/updates/get-transaction-tree-by-offset.d.ts +0 -37
- package/build/src/clients/ledger-json-api/operations/v2/updates/get-transaction-tree-by-offset.d.ts.map +0 -1
- package/build/src/clients/ledger-json-api/operations/v2/updates/get-transaction-tree-by-offset.js +0 -46
- package/build/src/clients/ledger-json-api/operations/v2/updates/get-transaction-tree-by-offset.js.map +0 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fairmint/canton-node-sdk",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.266",
|
|
4
4
|
"description": "Canton Node SDK",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"canton",
|
|
@@ -66,7 +66,7 @@
|
|
|
66
66
|
"@hardlydifficult/websocket": "1.0.73",
|
|
67
67
|
"@stellar/stellar-base": "15.0.0",
|
|
68
68
|
"axios": "1.20.0",
|
|
69
|
-
"dotenv": "
|
|
69
|
+
"dotenv": "18.0.3",
|
|
70
70
|
"glob": "13.0.6",
|
|
71
71
|
"openapi-fetch": "0.17.0",
|
|
72
72
|
"openapi-typescript": "7.13.0",
|
|
@@ -75,27 +75,27 @@
|
|
|
75
75
|
"zod": "4.6.5"
|
|
76
76
|
},
|
|
77
77
|
"devDependencies": {
|
|
78
|
-
"@fairmint/canton-dev-tools": "0.1.
|
|
78
|
+
"@fairmint/canton-dev-tools": "0.1.11",
|
|
79
79
|
"@types/jest": "30.0.0",
|
|
80
|
-
"@types/node": "26.
|
|
80
|
+
"@types/node": "26.6.2",
|
|
81
81
|
"@types/ws": "8.18.1",
|
|
82
|
-
"@typescript-eslint/eslint-plugin": "8.
|
|
83
|
-
"@typescript-eslint/parser": "8.
|
|
82
|
+
"@typescript-eslint/eslint-plugin": "8.70.1",
|
|
83
|
+
"@typescript-eslint/parser": "8.70.1",
|
|
84
84
|
"eslint": "9.39.2",
|
|
85
85
|
"eslint-config-prettier": "10.1.8",
|
|
86
86
|
"eslint-import-resolver-typescript": "4.4.5",
|
|
87
87
|
"eslint-plugin-import": "2.32.0",
|
|
88
88
|
"eslint-plugin-markdown": "5.1.0",
|
|
89
89
|
"eslint-plugin-unused-imports": "4.4.1",
|
|
90
|
-
"jest": "30.
|
|
90
|
+
"jest": "30.5.2",
|
|
91
91
|
"markdownlint-cli": "0.49.1",
|
|
92
|
-
"npm-package-json-lint": "
|
|
93
|
-
"prettier": "3.9.
|
|
92
|
+
"npm-package-json-lint": "11.0.0",
|
|
93
|
+
"prettier": "3.9.8",
|
|
94
94
|
"prettier-plugin-jsdoc": "1.8.1",
|
|
95
95
|
"prettier-plugin-organize-imports": "4.3.0",
|
|
96
96
|
"prettier-plugin-packagejson": "3.0.2",
|
|
97
97
|
"ts-jest": "29.4.12",
|
|
98
|
-
"tsx": "4.23.
|
|
98
|
+
"tsx": "4.23.15",
|
|
99
99
|
"typescript": "5.9.3",
|
|
100
100
|
"typescript-7": "npm:typescript@7.0.2"
|
|
101
101
|
},
|
|
@@ -1,512 +0,0 @@
|
|
|
1
|
-
import { type z } from 'zod';
|
|
2
|
-
import type { paths } from '../../../../../generated/canton/community/ledger/ledger-json-api/src/test/resources/json-api-docs/openapi';
|
|
3
|
-
import { SubmitAndWaitForTransactionTreeParamsSchema } from '../../../schemas/operations';
|
|
4
|
-
declare const endpoint: '/v2/commands/submit-and-wait-for-transaction-tree';
|
|
5
|
-
export type SubmitAndWaitForTransactionTreeParams = z.infer<typeof SubmitAndWaitForTransactionTreeParamsSchema>;
|
|
6
|
-
type GeneratedResponse = paths[typeof endpoint]['post']['responses']['200']['content']['application/json'];
|
|
7
|
-
export type SubmitAndWaitForTransactionTreeResponse = GeneratedResponse & {
|
|
8
|
-
readonly transactionTree: NonNullable<GeneratedResponse['transactionTree']>;
|
|
9
|
-
};
|
|
10
|
-
export declare const SubmitAndWaitForTransactionTree: new (client: import("../../../../..").BaseClient) => import("../../../../..").ApiOperation<{
|
|
11
|
-
commands: ({
|
|
12
|
-
CreateAndExerciseCommand: {
|
|
13
|
-
templateId: string;
|
|
14
|
-
createArguments: Record<string, string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | /*elided*/ any | {
|
|
15
|
-
[key: string]: string | number | boolean | /*elided*/ any | /*elided*/ any | null;
|
|
16
|
-
} | null)[] | {
|
|
17
|
-
[key: string]: string | number | boolean | any | any | null;
|
|
18
|
-
} | null)[] | {
|
|
19
|
-
[key: string]: string | number | boolean | any | any | null;
|
|
20
|
-
} | null)[] | {
|
|
21
|
-
[key: string]: string | number | boolean | any | any | null;
|
|
22
|
-
} | null)[] | {
|
|
23
|
-
[key: string]: string | number | boolean | any | any | null;
|
|
24
|
-
} | null)[] | {
|
|
25
|
-
[key: string]: string | number | boolean | any | any | null;
|
|
26
|
-
} | null)[] | {
|
|
27
|
-
[key: string]: string | number | boolean | any | any | null;
|
|
28
|
-
} | null)[] | {
|
|
29
|
-
[key: string]: string | number | boolean | any | any | null;
|
|
30
|
-
} | null)[] | {
|
|
31
|
-
[key: string]: string | number | boolean | any | any | null;
|
|
32
|
-
} | null)[] | {
|
|
33
|
-
[key: string]: string | number | boolean | any | any | null;
|
|
34
|
-
} | null)[] | {
|
|
35
|
-
[key: string]: string | number | boolean | any | any | null;
|
|
36
|
-
} | null)[] | {
|
|
37
|
-
[key: string]: string | number | boolean | any | any | null;
|
|
38
|
-
} | null>;
|
|
39
|
-
choice: string;
|
|
40
|
-
choiceArgument: Record<string, string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | any | {
|
|
41
|
-
[key: string]: string | number | boolean | any | any | null;
|
|
42
|
-
} | null)[] | {
|
|
43
|
-
[key: string]: string | number | boolean | any | any | null;
|
|
44
|
-
} | null)[] | {
|
|
45
|
-
[key: string]: string | number | boolean | any | any | null;
|
|
46
|
-
} | null)[] | {
|
|
47
|
-
[key: string]: string | number | boolean | any | any | null;
|
|
48
|
-
} | null)[] | {
|
|
49
|
-
[key: string]: string | number | boolean | any | any | null;
|
|
50
|
-
} | null)[] | {
|
|
51
|
-
[key: string]: string | number | boolean | any | any | null;
|
|
52
|
-
} | null)[] | {
|
|
53
|
-
[key: string]: string | number | boolean | any | any | null;
|
|
54
|
-
} | null)[] | {
|
|
55
|
-
[key: string]: string | number | boolean | any | any | null;
|
|
56
|
-
} | null)[] | {
|
|
57
|
-
[key: string]: string | number | boolean | any | any | null;
|
|
58
|
-
} | null)[] | {
|
|
59
|
-
[key: string]: string | number | boolean | any | any | null;
|
|
60
|
-
} | null)[] | {
|
|
61
|
-
[key: string]: string | number | boolean | any | any | null;
|
|
62
|
-
} | null)[] | {
|
|
63
|
-
[key: string]: string | number | boolean | any | any | null;
|
|
64
|
-
} | null>;
|
|
65
|
-
};
|
|
66
|
-
} | {
|
|
67
|
-
CreateCommand: {
|
|
68
|
-
templateId: string;
|
|
69
|
-
createArguments: Record<string, string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | any | {
|
|
70
|
-
[key: string]: string | number | boolean | any | any | null;
|
|
71
|
-
} | null)[] | {
|
|
72
|
-
[key: string]: string | number | boolean | any | any | null;
|
|
73
|
-
} | null)[] | {
|
|
74
|
-
[key: string]: string | number | boolean | any | any | null;
|
|
75
|
-
} | null)[] | {
|
|
76
|
-
[key: string]: string | number | boolean | any | any | null;
|
|
77
|
-
} | null)[] | {
|
|
78
|
-
[key: string]: string | number | boolean | any | any | null;
|
|
79
|
-
} | null)[] | {
|
|
80
|
-
[key: string]: string | number | boolean | any | any | null;
|
|
81
|
-
} | null)[] | {
|
|
82
|
-
[key: string]: string | number | boolean | any | any | null;
|
|
83
|
-
} | null)[] | {
|
|
84
|
-
[key: string]: string | number | boolean | any | any | null;
|
|
85
|
-
} | null)[] | {
|
|
86
|
-
[key: string]: string | number | boolean | any | any | null;
|
|
87
|
-
} | null)[] | {
|
|
88
|
-
[key: string]: string | number | boolean | any | any | null;
|
|
89
|
-
} | null)[] | {
|
|
90
|
-
[key: string]: string | number | boolean | any | any | null;
|
|
91
|
-
} | null)[] | {
|
|
92
|
-
[key: string]: string | number | boolean | any | any | null;
|
|
93
|
-
} | null>;
|
|
94
|
-
};
|
|
95
|
-
} | {
|
|
96
|
-
ExerciseByKeyCommand: {
|
|
97
|
-
templateId: string;
|
|
98
|
-
contractKey: Record<string, string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | any | {
|
|
99
|
-
[key: string]: string | number | boolean | any | any | null;
|
|
100
|
-
} | null)[] | {
|
|
101
|
-
[key: string]: string | number | boolean | any | any | null;
|
|
102
|
-
} | null)[] | {
|
|
103
|
-
[key: string]: string | number | boolean | any | any | null;
|
|
104
|
-
} | null)[] | {
|
|
105
|
-
[key: string]: string | number | boolean | any | any | null;
|
|
106
|
-
} | null)[] | {
|
|
107
|
-
[key: string]: string | number | boolean | any | any | null;
|
|
108
|
-
} | null)[] | {
|
|
109
|
-
[key: string]: string | number | boolean | any | any | null;
|
|
110
|
-
} | null)[] | {
|
|
111
|
-
[key: string]: string | number | boolean | any | any | null;
|
|
112
|
-
} | null)[] | {
|
|
113
|
-
[key: string]: string | number | boolean | any | any | null;
|
|
114
|
-
} | null)[] | {
|
|
115
|
-
[key: string]: string | number | boolean | any | any | null;
|
|
116
|
-
} | null)[] | {
|
|
117
|
-
[key: string]: string | number | boolean | any | any | null;
|
|
118
|
-
} | null)[] | {
|
|
119
|
-
[key: string]: string | number | boolean | any | any | null;
|
|
120
|
-
} | null)[] | {
|
|
121
|
-
[key: string]: string | number | boolean | any | any | null;
|
|
122
|
-
} | null>;
|
|
123
|
-
choice: string;
|
|
124
|
-
choiceArgument: Record<string, string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | any | {
|
|
125
|
-
[key: string]: string | number | boolean | any | any | null;
|
|
126
|
-
} | null)[] | {
|
|
127
|
-
[key: string]: string | number | boolean | any | any | null;
|
|
128
|
-
} | null)[] | {
|
|
129
|
-
[key: string]: string | number | boolean | any | any | null;
|
|
130
|
-
} | null)[] | {
|
|
131
|
-
[key: string]: string | number | boolean | any | any | null;
|
|
132
|
-
} | null)[] | {
|
|
133
|
-
[key: string]: string | number | boolean | any | any | null;
|
|
134
|
-
} | null)[] | {
|
|
135
|
-
[key: string]: string | number | boolean | any | any | null;
|
|
136
|
-
} | null)[] | {
|
|
137
|
-
[key: string]: string | number | boolean | any | any | null;
|
|
138
|
-
} | null)[] | {
|
|
139
|
-
[key: string]: string | number | boolean | any | any | null;
|
|
140
|
-
} | null)[] | {
|
|
141
|
-
[key: string]: string | number | boolean | any | any | null;
|
|
142
|
-
} | null)[] | {
|
|
143
|
-
[key: string]: string | number | boolean | any | any | null;
|
|
144
|
-
} | null)[] | {
|
|
145
|
-
[key: string]: string | number | boolean | any | any | null;
|
|
146
|
-
} | null)[] | {
|
|
147
|
-
[key: string]: string | number | boolean | any | any | null;
|
|
148
|
-
} | null>;
|
|
149
|
-
};
|
|
150
|
-
} | {
|
|
151
|
-
ExerciseCommand: {
|
|
152
|
-
templateId: string;
|
|
153
|
-
contractId: string;
|
|
154
|
-
choice: string;
|
|
155
|
-
choiceArgument: Record<string, string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | any | {
|
|
156
|
-
[key: string]: string | number | boolean | any | any | null;
|
|
157
|
-
} | null)[] | {
|
|
158
|
-
[key: string]: string | number | boolean | any | any | null;
|
|
159
|
-
} | null)[] | {
|
|
160
|
-
[key: string]: string | number | boolean | any | any | null;
|
|
161
|
-
} | null)[] | {
|
|
162
|
-
[key: string]: string | number | boolean | any | any | null;
|
|
163
|
-
} | null)[] | {
|
|
164
|
-
[key: string]: string | number | boolean | any | any | null;
|
|
165
|
-
} | null)[] | {
|
|
166
|
-
[key: string]: string | number | boolean | any | any | null;
|
|
167
|
-
} | null)[] | {
|
|
168
|
-
[key: string]: string | number | boolean | any | any | null;
|
|
169
|
-
} | null)[] | {
|
|
170
|
-
[key: string]: string | number | boolean | any | any | null;
|
|
171
|
-
} | null)[] | {
|
|
172
|
-
[key: string]: string | number | boolean | any | any | null;
|
|
173
|
-
} | null)[] | {
|
|
174
|
-
[key: string]: string | number | boolean | any | any | null;
|
|
175
|
-
} | null)[] | {
|
|
176
|
-
[key: string]: string | number | boolean | any | any | null;
|
|
177
|
-
} | null)[] | {
|
|
178
|
-
[key: string]: string | number | boolean | any | any | null;
|
|
179
|
-
} | null>;
|
|
180
|
-
};
|
|
181
|
-
} | {
|
|
182
|
-
AssignCommand: {
|
|
183
|
-
reassignmentId: string;
|
|
184
|
-
source: string;
|
|
185
|
-
target: string;
|
|
186
|
-
};
|
|
187
|
-
} | {
|
|
188
|
-
UnassignCommand: {
|
|
189
|
-
contractId: string;
|
|
190
|
-
source: string;
|
|
191
|
-
target: string;
|
|
192
|
-
};
|
|
193
|
-
})[];
|
|
194
|
-
commandId?: string | undefined;
|
|
195
|
-
actAs?: string[] | undefined;
|
|
196
|
-
userId?: string | undefined;
|
|
197
|
-
readAs?: string[] | undefined;
|
|
198
|
-
workflowId?: string | undefined;
|
|
199
|
-
deduplicationPeriod?: {
|
|
200
|
-
DeduplicationDuration: {
|
|
201
|
-
seconds: number;
|
|
202
|
-
};
|
|
203
|
-
} | {
|
|
204
|
-
DeduplicationOffset: {
|
|
205
|
-
offset: number;
|
|
206
|
-
};
|
|
207
|
-
} | {
|
|
208
|
-
Empty: Record<string, never>;
|
|
209
|
-
} | undefined;
|
|
210
|
-
minLedgerTimeAbs?: string | undefined;
|
|
211
|
-
minLedgerTimeRel?: {
|
|
212
|
-
seconds: number;
|
|
213
|
-
} | undefined;
|
|
214
|
-
submissionId?: string | undefined;
|
|
215
|
-
traceContext?: {
|
|
216
|
-
[x: string]: unknown;
|
|
217
|
-
traceparent?: string | undefined;
|
|
218
|
-
tracestate?: string | undefined;
|
|
219
|
-
traceId?: string | undefined;
|
|
220
|
-
spanId?: string | undefined;
|
|
221
|
-
parentSpanId?: string | undefined;
|
|
222
|
-
metadata?: Record<string, string> | undefined;
|
|
223
|
-
} | undefined;
|
|
224
|
-
disclosedContracts?: {
|
|
225
|
-
templateId: string;
|
|
226
|
-
contractId: string;
|
|
227
|
-
createdEventBlob: string;
|
|
228
|
-
synchronizerId: string;
|
|
229
|
-
}[] | undefined;
|
|
230
|
-
synchronizerId?: string | undefined;
|
|
231
|
-
packageIdSelectionPreference?: string[] | undefined;
|
|
232
|
-
prefetchContractKeys?: {
|
|
233
|
-
templateId: string;
|
|
234
|
-
contractKey: Record<string, string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | any | {
|
|
235
|
-
[key: string]: string | number | boolean | any | any | null;
|
|
236
|
-
} | null)[] | {
|
|
237
|
-
[key: string]: string | number | boolean | any | any | null;
|
|
238
|
-
} | null)[] | {
|
|
239
|
-
[key: string]: string | number | boolean | any | any | null;
|
|
240
|
-
} | null)[] | {
|
|
241
|
-
[key: string]: string | number | boolean | any | any | null;
|
|
242
|
-
} | null)[] | {
|
|
243
|
-
[key: string]: string | number | boolean | any | any | null;
|
|
244
|
-
} | null)[] | {
|
|
245
|
-
[key: string]: string | number | boolean | any | any | null;
|
|
246
|
-
} | null)[] | {
|
|
247
|
-
[key: string]: string | number | boolean | any | any | null;
|
|
248
|
-
} | null)[] | {
|
|
249
|
-
[key: string]: string | number | boolean | any | any | null;
|
|
250
|
-
} | null)[] | {
|
|
251
|
-
[key: string]: string | number | boolean | any | any | null;
|
|
252
|
-
} | null)[] | {
|
|
253
|
-
[key: string]: string | number | boolean | any | any | null;
|
|
254
|
-
} | null)[] | {
|
|
255
|
-
[key: string]: string | number | boolean | any | any | null;
|
|
256
|
-
} | null)[] | {
|
|
257
|
-
[key: string]: string | number | boolean | any | any | null;
|
|
258
|
-
} | null>;
|
|
259
|
-
}[] | undefined;
|
|
260
|
-
}, SubmitAndWaitForTransactionTreeResponse, import("../../../../..").OperationExecuteOptions<{
|
|
261
|
-
commands: ({
|
|
262
|
-
CreateAndExerciseCommand: {
|
|
263
|
-
templateId: string;
|
|
264
|
-
createArguments: Record<string, string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | any | {
|
|
265
|
-
[key: string]: string | number | boolean | any | any | null;
|
|
266
|
-
} | null)[] | {
|
|
267
|
-
[key: string]: string | number | boolean | any | any | null;
|
|
268
|
-
} | null)[] | {
|
|
269
|
-
[key: string]: string | number | boolean | any | any | null;
|
|
270
|
-
} | null)[] | {
|
|
271
|
-
[key: string]: string | number | boolean | any | any | null;
|
|
272
|
-
} | null)[] | {
|
|
273
|
-
[key: string]: string | number | boolean | any | any | null;
|
|
274
|
-
} | null)[] | {
|
|
275
|
-
[key: string]: string | number | boolean | any | any | null;
|
|
276
|
-
} | null)[] | {
|
|
277
|
-
[key: string]: string | number | boolean | any | any | null;
|
|
278
|
-
} | null)[] | {
|
|
279
|
-
[key: string]: string | number | boolean | any | any | null;
|
|
280
|
-
} | null)[] | {
|
|
281
|
-
[key: string]: string | number | boolean | any | any | null;
|
|
282
|
-
} | null)[] | {
|
|
283
|
-
[key: string]: string | number | boolean | any | any | null;
|
|
284
|
-
} | null)[] | {
|
|
285
|
-
[key: string]: string | number | boolean | any | any | null;
|
|
286
|
-
} | null)[] | {
|
|
287
|
-
[key: string]: string | number | boolean | any | any | null;
|
|
288
|
-
} | null>;
|
|
289
|
-
choice: string;
|
|
290
|
-
choiceArgument: Record<string, string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | any | {
|
|
291
|
-
[key: string]: string | number | boolean | any | any | null;
|
|
292
|
-
} | null)[] | {
|
|
293
|
-
[key: string]: string | number | boolean | any | any | null;
|
|
294
|
-
} | null)[] | {
|
|
295
|
-
[key: string]: string | number | boolean | any | any | null;
|
|
296
|
-
} | null)[] | {
|
|
297
|
-
[key: string]: string | number | boolean | any | any | null;
|
|
298
|
-
} | null)[] | {
|
|
299
|
-
[key: string]: string | number | boolean | any | any | null;
|
|
300
|
-
} | null)[] | {
|
|
301
|
-
[key: string]: string | number | boolean | any | any | null;
|
|
302
|
-
} | null)[] | {
|
|
303
|
-
[key: string]: string | number | boolean | any | any | null;
|
|
304
|
-
} | null)[] | {
|
|
305
|
-
[key: string]: string | number | boolean | any | any | null;
|
|
306
|
-
} | null)[] | {
|
|
307
|
-
[key: string]: string | number | boolean | any | any | null;
|
|
308
|
-
} | null)[] | {
|
|
309
|
-
[key: string]: string | number | boolean | any | any | null;
|
|
310
|
-
} | null)[] | {
|
|
311
|
-
[key: string]: string | number | boolean | any | any | null;
|
|
312
|
-
} | null)[] | {
|
|
313
|
-
[key: string]: string | number | boolean | any | any | null;
|
|
314
|
-
} | null>;
|
|
315
|
-
};
|
|
316
|
-
} | {
|
|
317
|
-
CreateCommand: {
|
|
318
|
-
templateId: string;
|
|
319
|
-
createArguments: Record<string, string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | any | {
|
|
320
|
-
[key: string]: string | number | boolean | any | any | null;
|
|
321
|
-
} | null)[] | {
|
|
322
|
-
[key: string]: string | number | boolean | any | any | null;
|
|
323
|
-
} | null)[] | {
|
|
324
|
-
[key: string]: string | number | boolean | any | any | null;
|
|
325
|
-
} | null)[] | {
|
|
326
|
-
[key: string]: string | number | boolean | any | any | null;
|
|
327
|
-
} | null)[] | {
|
|
328
|
-
[key: string]: string | number | boolean | any | any | null;
|
|
329
|
-
} | null)[] | {
|
|
330
|
-
[key: string]: string | number | boolean | any | any | null;
|
|
331
|
-
} | null)[] | {
|
|
332
|
-
[key: string]: string | number | boolean | any | any | null;
|
|
333
|
-
} | null)[] | {
|
|
334
|
-
[key: string]: string | number | boolean | any | any | null;
|
|
335
|
-
} | null)[] | {
|
|
336
|
-
[key: string]: string | number | boolean | any | any | null;
|
|
337
|
-
} | null)[] | {
|
|
338
|
-
[key: string]: string | number | boolean | any | any | null;
|
|
339
|
-
} | null)[] | {
|
|
340
|
-
[key: string]: string | number | boolean | any | any | null;
|
|
341
|
-
} | null)[] | {
|
|
342
|
-
[key: string]: string | number | boolean | any | any | null;
|
|
343
|
-
} | null>;
|
|
344
|
-
};
|
|
345
|
-
} | {
|
|
346
|
-
ExerciseByKeyCommand: {
|
|
347
|
-
templateId: string;
|
|
348
|
-
contractKey: Record<string, string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | any | {
|
|
349
|
-
[key: string]: string | number | boolean | any | any | null;
|
|
350
|
-
} | null)[] | {
|
|
351
|
-
[key: string]: string | number | boolean | any | any | null;
|
|
352
|
-
} | null)[] | {
|
|
353
|
-
[key: string]: string | number | boolean | any | any | null;
|
|
354
|
-
} | null)[] | {
|
|
355
|
-
[key: string]: string | number | boolean | any | any | null;
|
|
356
|
-
} | null)[] | {
|
|
357
|
-
[key: string]: string | number | boolean | any | any | null;
|
|
358
|
-
} | null)[] | {
|
|
359
|
-
[key: string]: string | number | boolean | any | any | null;
|
|
360
|
-
} | null)[] | {
|
|
361
|
-
[key: string]: string | number | boolean | any | any | null;
|
|
362
|
-
} | null)[] | {
|
|
363
|
-
[key: string]: string | number | boolean | any | any | null;
|
|
364
|
-
} | null)[] | {
|
|
365
|
-
[key: string]: string | number | boolean | any | any | null;
|
|
366
|
-
} | null)[] | {
|
|
367
|
-
[key: string]: string | number | boolean | any | any | null;
|
|
368
|
-
} | null)[] | {
|
|
369
|
-
[key: string]: string | number | boolean | any | any | null;
|
|
370
|
-
} | null)[] | {
|
|
371
|
-
[key: string]: string | number | boolean | any | any | null;
|
|
372
|
-
} | null>;
|
|
373
|
-
choice: string;
|
|
374
|
-
choiceArgument: Record<string, string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | any | {
|
|
375
|
-
[key: string]: string | number | boolean | any | any | null;
|
|
376
|
-
} | null)[] | {
|
|
377
|
-
[key: string]: string | number | boolean | any | any | null;
|
|
378
|
-
} | null)[] | {
|
|
379
|
-
[key: string]: string | number | boolean | any | any | null;
|
|
380
|
-
} | null)[] | {
|
|
381
|
-
[key: string]: string | number | boolean | any | any | null;
|
|
382
|
-
} | null)[] | {
|
|
383
|
-
[key: string]: string | number | boolean | any | any | null;
|
|
384
|
-
} | null)[] | {
|
|
385
|
-
[key: string]: string | number | boolean | any | any | null;
|
|
386
|
-
} | null)[] | {
|
|
387
|
-
[key: string]: string | number | boolean | any | any | null;
|
|
388
|
-
} | null)[] | {
|
|
389
|
-
[key: string]: string | number | boolean | any | any | null;
|
|
390
|
-
} | null)[] | {
|
|
391
|
-
[key: string]: string | number | boolean | any | any | null;
|
|
392
|
-
} | null)[] | {
|
|
393
|
-
[key: string]: string | number | boolean | any | any | null;
|
|
394
|
-
} | null)[] | {
|
|
395
|
-
[key: string]: string | number | boolean | any | any | null;
|
|
396
|
-
} | null)[] | {
|
|
397
|
-
[key: string]: string | number | boolean | any | any | null;
|
|
398
|
-
} | null>;
|
|
399
|
-
};
|
|
400
|
-
} | {
|
|
401
|
-
ExerciseCommand: {
|
|
402
|
-
templateId: string;
|
|
403
|
-
contractId: string;
|
|
404
|
-
choice: string;
|
|
405
|
-
choiceArgument: Record<string, string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | any | {
|
|
406
|
-
[key: string]: string | number | boolean | any | any | null;
|
|
407
|
-
} | null)[] | {
|
|
408
|
-
[key: string]: string | number | boolean | any | any | null;
|
|
409
|
-
} | null)[] | {
|
|
410
|
-
[key: string]: string | number | boolean | any | any | null;
|
|
411
|
-
} | null)[] | {
|
|
412
|
-
[key: string]: string | number | boolean | any | any | null;
|
|
413
|
-
} | null)[] | {
|
|
414
|
-
[key: string]: string | number | boolean | any | any | null;
|
|
415
|
-
} | null)[] | {
|
|
416
|
-
[key: string]: string | number | boolean | any | any | null;
|
|
417
|
-
} | null)[] | {
|
|
418
|
-
[key: string]: string | number | boolean | any | any | null;
|
|
419
|
-
} | null)[] | {
|
|
420
|
-
[key: string]: string | number | boolean | any | any | null;
|
|
421
|
-
} | null)[] | {
|
|
422
|
-
[key: string]: string | number | boolean | any | any | null;
|
|
423
|
-
} | null)[] | {
|
|
424
|
-
[key: string]: string | number | boolean | any | any | null;
|
|
425
|
-
} | null)[] | {
|
|
426
|
-
[key: string]: string | number | boolean | any | any | null;
|
|
427
|
-
} | null)[] | {
|
|
428
|
-
[key: string]: string | number | boolean | any | any | null;
|
|
429
|
-
} | null>;
|
|
430
|
-
};
|
|
431
|
-
} | {
|
|
432
|
-
AssignCommand: {
|
|
433
|
-
reassignmentId: string;
|
|
434
|
-
source: string;
|
|
435
|
-
target: string;
|
|
436
|
-
};
|
|
437
|
-
} | {
|
|
438
|
-
UnassignCommand: {
|
|
439
|
-
contractId: string;
|
|
440
|
-
source: string;
|
|
441
|
-
target: string;
|
|
442
|
-
};
|
|
443
|
-
})[];
|
|
444
|
-
commandId?: string | undefined;
|
|
445
|
-
actAs?: string[] | undefined;
|
|
446
|
-
userId?: string | undefined;
|
|
447
|
-
readAs?: string[] | undefined;
|
|
448
|
-
workflowId?: string | undefined;
|
|
449
|
-
deduplicationPeriod?: {
|
|
450
|
-
DeduplicationDuration: {
|
|
451
|
-
seconds: number;
|
|
452
|
-
};
|
|
453
|
-
} | {
|
|
454
|
-
DeduplicationOffset: {
|
|
455
|
-
offset: number;
|
|
456
|
-
};
|
|
457
|
-
} | {
|
|
458
|
-
Empty: Record<string, never>;
|
|
459
|
-
} | undefined;
|
|
460
|
-
minLedgerTimeAbs?: string | undefined;
|
|
461
|
-
minLedgerTimeRel?: {
|
|
462
|
-
seconds: number;
|
|
463
|
-
} | undefined;
|
|
464
|
-
submissionId?: string | undefined;
|
|
465
|
-
traceContext?: {
|
|
466
|
-
[x: string]: unknown;
|
|
467
|
-
traceparent?: string | undefined;
|
|
468
|
-
tracestate?: string | undefined;
|
|
469
|
-
traceId?: string | undefined;
|
|
470
|
-
spanId?: string | undefined;
|
|
471
|
-
parentSpanId?: string | undefined;
|
|
472
|
-
metadata?: Record<string, string> | undefined;
|
|
473
|
-
} | undefined;
|
|
474
|
-
disclosedContracts?: {
|
|
475
|
-
templateId: string;
|
|
476
|
-
contractId: string;
|
|
477
|
-
createdEventBlob: string;
|
|
478
|
-
synchronizerId: string;
|
|
479
|
-
}[] | undefined;
|
|
480
|
-
synchronizerId?: string | undefined;
|
|
481
|
-
packageIdSelectionPreference?: string[] | undefined;
|
|
482
|
-
prefetchContractKeys?: {
|
|
483
|
-
templateId: string;
|
|
484
|
-
contractKey: Record<string, string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | (string | number | boolean | any | {
|
|
485
|
-
[key: string]: string | number | boolean | any | any | null;
|
|
486
|
-
} | null)[] | {
|
|
487
|
-
[key: string]: string | number | boolean | any | any | null;
|
|
488
|
-
} | null)[] | {
|
|
489
|
-
[key: string]: string | number | boolean | any | any | null;
|
|
490
|
-
} | null)[] | {
|
|
491
|
-
[key: string]: string | number | boolean | any | any | null;
|
|
492
|
-
} | null)[] | {
|
|
493
|
-
[key: string]: string | number | boolean | any | any | null;
|
|
494
|
-
} | null)[] | {
|
|
495
|
-
[key: string]: string | number | boolean | any | any | null;
|
|
496
|
-
} | null)[] | {
|
|
497
|
-
[key: string]: string | number | boolean | any | any | null;
|
|
498
|
-
} | null)[] | {
|
|
499
|
-
[key: string]: string | number | boolean | any | any | null;
|
|
500
|
-
} | null)[] | {
|
|
501
|
-
[key: string]: string | number | boolean | any | any | null;
|
|
502
|
-
} | null)[] | {
|
|
503
|
-
[key: string]: string | number | boolean | any | any | null;
|
|
504
|
-
} | null)[] | {
|
|
505
|
-
[key: string]: string | number | boolean | any | any | null;
|
|
506
|
-
} | null)[] | {
|
|
507
|
-
[key: string]: string | number | boolean | any | any | null;
|
|
508
|
-
} | null>;
|
|
509
|
-
}[] | undefined;
|
|
510
|
-
}>>;
|
|
511
|
-
export {};
|
|
512
|
-
//# sourceMappingURL=submit-and-wait-for-transaction-tree.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"submit-and-wait-for-transaction-tree.d.ts","sourceRoot":"","sources":["../../../../../../../src/clients/ledger-json-api/operations/v2/commands/submit-and-wait-for-transaction-tree.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,CAAC,EAAE,MAAM,KAAK,CAAC;AAG7B,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,2GAA2G,CAAC;AACvI,OAAO,EAAE,2CAA2C,EAAE,MAAM,6BAA6B,CAAC;AAE1F,QAAA,MAAM,QAAQ,EAAG,mDAA4D,CAAC;AAE9E,MAAM,MAAM,qCAAqC,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,2CAA2C,CAAC,CAAC;AAEhH,KAAK,iBAAiB,GAAG,KAAK,CAAC,OAAO,QAAQ,CAAC,CAAC,MAAM,CAAC,CAAC,WAAW,CAAC,CAAC,KAAK,CAAC,CAAC,SAAS,CAAC,CAAC,kBAAkB,CAAC,CAAC;AAE3G,MAAM,MAAM,uCAAuC,GAAG,iBAAiB,GAAG;IACxE,QAAQ,CAAC,eAAe,EAAE,WAAW,CAAC,iBAAiB,CAAC,iBAAiB,CAAC,CAAC,CAAC;CAC7E,CAAC;AAEF,eAAO,MAAM,+BAA+B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAqB1C,CAAC"}
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.SubmitAndWaitForTransactionTree = void 0;
|
|
4
|
-
const core_1 = require("../../../../../core");
|
|
5
|
-
const errors_1 = require("../../../../../core/errors");
|
|
6
|
-
const operations_1 = require("../../../schemas/operations");
|
|
7
|
-
const endpoint = '/v2/commands/submit-and-wait-for-transaction-tree';
|
|
8
|
-
exports.SubmitAndWaitForTransactionTree = (0, core_1.createApiOperation)({
|
|
9
|
-
paramsSchema: operations_1.SubmitAndWaitForTransactionTreeParamsSchema,
|
|
10
|
-
method: 'POST',
|
|
11
|
-
buildUrl: (_params, apiUrl) => `${apiUrl}${endpoint}`,
|
|
12
|
-
buildRequestData: (params, client) => ({
|
|
13
|
-
...params,
|
|
14
|
-
commandId: params.commandId ??
|
|
15
|
-
`submit-and-wait-for-transaction-tree-${Date.now()}-${Math.random().toString(36).substring(2, 8)}`,
|
|
16
|
-
actAs: params.actAs ?? [client.getPartyId()],
|
|
17
|
-
}),
|
|
18
|
-
transformResponse: (response) => {
|
|
19
|
-
const generatedResponse = response;
|
|
20
|
-
if (generatedResponse.transactionTree === undefined || generatedResponse.transactionTree === null) {
|
|
21
|
-
throw new errors_1.ApiError('Submit-and-wait-for-transaction-tree response did not include a transaction tree');
|
|
22
|
-
}
|
|
23
|
-
return response;
|
|
24
|
-
},
|
|
25
|
-
});
|
|
26
|
-
//# sourceMappingURL=submit-and-wait-for-transaction-tree.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"submit-and-wait-for-transaction-tree.js","sourceRoot":"","sources":["../../../../../../../src/clients/ledger-json-api/operations/v2/commands/submit-and-wait-for-transaction-tree.ts"],"names":[],"mappings":";;;AACA,8CAAyD;AACzD,uDAAsD;AAEtD,4DAA0F;AAE1F,MAAM,QAAQ,GAAG,mDAA4D,CAAC;AAUjE,QAAA,+BAA+B,GAAG,IAAA,yBAAkB,EAG/D;IACA,YAAY,EAAE,wDAA2C;IACzD,MAAM,EAAE,MAAM;IACd,QAAQ,EAAE,CAAC,OAAO,EAAE,MAAM,EAAE,EAAE,CAAC,GAAG,MAAM,GAAG,QAAQ,EAAE;IACrD,gBAAgB,EAAE,CAAC,MAAM,EAAE,MAAM,EAAE,EAAE,CAAC,CAAC;QACrC,GAAG,MAAM;QACT,SAAS,EACP,MAAM,CAAC,SAAS;YAChB,wCAAwC,IAAI,CAAC,GAAG,EAAE,IAAI,IAAI,CAAC,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC,CAAC,SAAS,CAAC,CAAC,EAAE,CAAC,CAAC,EAAE;QACpG,KAAK,EAAE,MAAM,CAAC,KAAK,IAAI,CAAC,MAAM,CAAC,UAAU,EAAE,CAAC;KAC7C,CAAC;IACF,iBAAiB,EAAE,CAAC,QAAQ,EAA2C,EAAE;QACvE,MAAM,iBAAiB,GAAG,QAA6D,CAAC;QACxF,IAAI,iBAAiB,CAAC,eAAe,KAAK,SAAS,IAAI,iBAAiB,CAAC,eAAe,KAAK,IAAI,EAAE,CAAC;YAClG,MAAM,IAAI,iBAAQ,CAAC,kFAAkF,CAAC,CAAC;QACzG,CAAC;QACD,OAAO,QAAQ,CAAC;IAClB,CAAC;CACF,CAAC,CAAC"}
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Get the preferred package version for constructing a command submission
|
|
3
|
-
*
|
|
4
|
-
* @example
|
|
5
|
-
* ```typescript
|
|
6
|
-
* const result = await client.interactiveSubmissionGetPreferredPackageVersion({
|
|
7
|
-
* packageName: 'my-package',
|
|
8
|
-
* parties: ['Alice', 'Bob'],
|
|
9
|
-
* synchronizerId: 'sync-123'
|
|
10
|
-
* });
|
|
11
|
-
*
|
|
12
|
-
* ```;
|
|
13
|
-
*/
|
|
14
|
-
export declare const InteractiveSubmissionGetPreferredPackageVersion: new (client: import("../../../../..").BaseClient) => import("../../../../..").ApiOperation<{
|
|
15
|
-
parties?: string[] | undefined;
|
|
16
|
-
packageName: string;
|
|
17
|
-
vettingValidAt?: string | undefined;
|
|
18
|
-
synchronizerId?: string | undefined;
|
|
19
|
-
}, {
|
|
20
|
-
packagePreference?: never;
|
|
21
|
-
} | {
|
|
22
|
-
packagePreference: {
|
|
23
|
-
packageReference: {
|
|
24
|
-
packageId: string;
|
|
25
|
-
packageName: string;
|
|
26
|
-
packageVersion: string;
|
|
27
|
-
};
|
|
28
|
-
synchronizerId: string;
|
|
29
|
-
};
|
|
30
|
-
}, import("../../../../..").OperationExecuteOptions<{
|
|
31
|
-
parties?: string[] | undefined;
|
|
32
|
-
packageName: string;
|
|
33
|
-
vettingValidAt?: string | undefined;
|
|
34
|
-
synchronizerId?: string | undefined;
|
|
35
|
-
}>>;
|
|
36
|
-
//# sourceMappingURL=get-preferred-package-version.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"get-preferred-package-version.d.ts","sourceRoot":"","sources":["../../../../../../../src/clients/ledger-json-api/operations/v2/interactive-submission/get-preferred-package-version.ts"],"names":[],"mappings":"AAUA;;;;;;;;;;;;GAYG;AACH,eAAO,MAAM,+CAA+C;;;;;;;;;;;;;;;;;;;;;GA0B1D,CAAC"}
|