@fairmint/canton-node-sdk 0.0.265 → 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/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/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 +1 -1
- 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
|
@@ -1,414 +1,4 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
-
export declare const CreatedTreeEventSchema: z.ZodObject<{
|
|
3
|
-
CreatedTreeEvent: z.ZodObject<{
|
|
4
|
-
value: z.ZodObject<{
|
|
5
|
-
offset: z.ZodNumber;
|
|
6
|
-
nodeId: z.ZodNumber;
|
|
7
|
-
contractId: z.ZodString;
|
|
8
|
-
templateId: z.ZodString;
|
|
9
|
-
contractKey: z.ZodNullable<z.ZodString>;
|
|
10
|
-
createArgument: z.ZodRecord<z.ZodString, z.ZodType<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 | {
|
|
11
|
-
[key: string]: string | number | boolean | /*elided*/ any | /*elided*/ any | null;
|
|
12
|
-
} | null)[] | {
|
|
13
|
-
[key: string]: string | number | boolean | any | any | null;
|
|
14
|
-
} | null)[] | {
|
|
15
|
-
[key: string]: string | number | boolean | any | 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, unknown, z.core.$ZodTypeInternals<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 | {
|
|
35
|
-
[key: string]: string | number | boolean | any | any | null;
|
|
36
|
-
} | null)[] | {
|
|
37
|
-
[key: string]: string | number | boolean | any | any | null;
|
|
38
|
-
} | null)[] | {
|
|
39
|
-
[key: string]: string | number | boolean | any | any | null;
|
|
40
|
-
} | null)[] | {
|
|
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, unknown>>>;
|
|
59
|
-
createdEventBlob: z.ZodString;
|
|
60
|
-
interfaceViews: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
61
|
-
interfaceId: z.ZodString;
|
|
62
|
-
implementationPackageId: z.ZodOptional<z.ZodString>;
|
|
63
|
-
viewStatus: z.ZodObject<{
|
|
64
|
-
code: z.ZodNumber;
|
|
65
|
-
message: z.ZodString;
|
|
66
|
-
details: z.ZodOptional<z.ZodArray<z.ZodUnknown>>;
|
|
67
|
-
}, z.core.$strict>;
|
|
68
|
-
viewValue: z.ZodOptional<z.ZodUnknown>;
|
|
69
|
-
}, z.core.$strict>>>>;
|
|
70
|
-
witnessParties: z.ZodArray<z.ZodString>;
|
|
71
|
-
signatories: z.ZodArray<z.ZodString>;
|
|
72
|
-
observers: z.ZodArray<z.ZodString>;
|
|
73
|
-
createdAt: z.ZodString;
|
|
74
|
-
packageName: z.ZodString;
|
|
75
|
-
implementedInterfaces: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
76
|
-
}, z.core.$strict>;
|
|
77
|
-
}, z.core.$strict>;
|
|
78
|
-
}, z.core.$strict>;
|
|
79
|
-
export declare const ExercisedTreeEventSchema: z.ZodObject<{
|
|
80
|
-
ExercisedTreeEvent: z.ZodObject<{
|
|
81
|
-
value: z.ZodObject<{
|
|
82
|
-
offset: z.ZodNumber;
|
|
83
|
-
nodeId: z.ZodNumber;
|
|
84
|
-
contractId: z.ZodString;
|
|
85
|
-
templateId: z.ZodString;
|
|
86
|
-
interfaceId: z.ZodNullable<z.ZodString>;
|
|
87
|
-
choice: z.ZodString;
|
|
88
|
-
choiceArgument: z.ZodRecord<z.ZodString, z.ZodType<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 | {
|
|
89
|
-
[key: string]: string | number | boolean | /*elided*/ any | /*elided*/ any | null;
|
|
90
|
-
} | null)[] | {
|
|
91
|
-
[key: string]: string | number | boolean | any | any | null;
|
|
92
|
-
} | null)[] | {
|
|
93
|
-
[key: string]: string | number | boolean | any | any | null;
|
|
94
|
-
} | null)[] | {
|
|
95
|
-
[key: string]: string | number | boolean | any | any | null;
|
|
96
|
-
} | null)[] | {
|
|
97
|
-
[key: string]: string | number | boolean | any | any | null;
|
|
98
|
-
} | null)[] | {
|
|
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, unknown, z.core.$ZodTypeInternals<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 | {
|
|
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
|
-
[key: string]: string | number | boolean | any | any | null;
|
|
124
|
-
} | null)[] | {
|
|
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, unknown>>>;
|
|
137
|
-
actingParties: z.ZodArray<z.ZodString>;
|
|
138
|
-
witnessParties: z.ZodArray<z.ZodString>;
|
|
139
|
-
exerciseResult: z.ZodRecord<z.ZodString, z.ZodType<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 | {
|
|
140
|
-
[key: string]: string | number | boolean | any | any | null;
|
|
141
|
-
} | null)[] | {
|
|
142
|
-
[key: string]: string | number | boolean | any | any | null;
|
|
143
|
-
} | null)[] | {
|
|
144
|
-
[key: string]: string | number | boolean | any | any | null;
|
|
145
|
-
} | null)[] | {
|
|
146
|
-
[key: string]: string | number | boolean | any | any | null;
|
|
147
|
-
} | null)[] | {
|
|
148
|
-
[key: string]: string | number | boolean | any | any | null;
|
|
149
|
-
} | null)[] | {
|
|
150
|
-
[key: string]: string | number | boolean | any | any | null;
|
|
151
|
-
} | null)[] | {
|
|
152
|
-
[key: string]: string | number | boolean | any | any | null;
|
|
153
|
-
} | null)[] | {
|
|
154
|
-
[key: string]: string | number | boolean | any | any | null;
|
|
155
|
-
} | null)[] | {
|
|
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, unknown, z.core.$ZodTypeInternals<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 | {
|
|
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
|
-
[key: string]: string | number | boolean | any | any | null;
|
|
181
|
-
} | null)[] | {
|
|
182
|
-
[key: string]: string | number | boolean | any | any | null;
|
|
183
|
-
} | null)[] | {
|
|
184
|
-
[key: string]: string | number | boolean | any | any | null;
|
|
185
|
-
} | null)[] | {
|
|
186
|
-
[key: string]: string | number | boolean | any | any | null;
|
|
187
|
-
} | null, unknown>>>;
|
|
188
|
-
packageName: z.ZodString;
|
|
189
|
-
consuming: z.ZodBoolean;
|
|
190
|
-
lastDescendantNodeId: z.ZodOptional<z.ZodNumber>;
|
|
191
|
-
implementedInterfaces: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
192
|
-
}, z.core.$strict>;
|
|
193
|
-
}, z.core.$strict>;
|
|
194
|
-
}, z.core.$strict>;
|
|
195
|
-
export declare const ArchivedTreeEventSchema: z.ZodObject<{
|
|
196
|
-
ArchivedTreeEvent: z.ZodObject<{
|
|
197
|
-
value: z.ZodObject<{
|
|
198
|
-
offset: z.ZodNumber;
|
|
199
|
-
nodeId: z.ZodNumber;
|
|
200
|
-
contractId: z.ZodString;
|
|
201
|
-
templateId: z.ZodString;
|
|
202
|
-
witnessParties: z.ZodArray<z.ZodString>;
|
|
203
|
-
packageName: z.ZodString;
|
|
204
|
-
implementedInterfaces: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
205
|
-
}, z.core.$strict>;
|
|
206
|
-
}, z.core.$strict>;
|
|
207
|
-
}, z.core.$strict>;
|
|
208
|
-
export declare const TreeEventSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
209
|
-
CreatedTreeEvent: z.ZodObject<{
|
|
210
|
-
value: z.ZodObject<{
|
|
211
|
-
offset: z.ZodNumber;
|
|
212
|
-
nodeId: z.ZodNumber;
|
|
213
|
-
contractId: z.ZodString;
|
|
214
|
-
templateId: z.ZodString;
|
|
215
|
-
contractKey: z.ZodNullable<z.ZodString>;
|
|
216
|
-
createArgument: z.ZodRecord<z.ZodString, z.ZodType<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 | {
|
|
217
|
-
[key: string]: string | number | boolean | /*elided*/ any | /*elided*/ any | null;
|
|
218
|
-
} | null)[] | {
|
|
219
|
-
[key: string]: string | number | boolean | any | any | null;
|
|
220
|
-
} | null)[] | {
|
|
221
|
-
[key: string]: string | number | boolean | any | any | null;
|
|
222
|
-
} | null)[] | {
|
|
223
|
-
[key: string]: string | number | boolean | any | any | null;
|
|
224
|
-
} | null)[] | {
|
|
225
|
-
[key: string]: string | number | boolean | any | any | null;
|
|
226
|
-
} | null)[] | {
|
|
227
|
-
[key: string]: string | number | boolean | any | any | null;
|
|
228
|
-
} | null)[] | {
|
|
229
|
-
[key: string]: string | number | boolean | any | any | null;
|
|
230
|
-
} | null)[] | {
|
|
231
|
-
[key: string]: string | number | boolean | any | any | null;
|
|
232
|
-
} | null)[] | {
|
|
233
|
-
[key: string]: string | number | boolean | any | any | null;
|
|
234
|
-
} | null)[] | {
|
|
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, unknown, z.core.$ZodTypeInternals<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 | {
|
|
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
|
-
[key: string]: string | number | boolean | any | any | null;
|
|
260
|
-
} | null)[] | {
|
|
261
|
-
[key: string]: string | number | boolean | any | any | null;
|
|
262
|
-
} | null)[] | {
|
|
263
|
-
[key: string]: string | number | boolean | any | any | null;
|
|
264
|
-
} | null, unknown>>>;
|
|
265
|
-
createdEventBlob: z.ZodString;
|
|
266
|
-
interfaceViews: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
267
|
-
interfaceId: z.ZodString;
|
|
268
|
-
implementationPackageId: z.ZodOptional<z.ZodString>;
|
|
269
|
-
viewStatus: z.ZodObject<{
|
|
270
|
-
code: z.ZodNumber;
|
|
271
|
-
message: z.ZodString;
|
|
272
|
-
details: z.ZodOptional<z.ZodArray<z.ZodUnknown>>;
|
|
273
|
-
}, z.core.$strict>;
|
|
274
|
-
viewValue: z.ZodOptional<z.ZodUnknown>;
|
|
275
|
-
}, z.core.$strict>>>>;
|
|
276
|
-
witnessParties: z.ZodArray<z.ZodString>;
|
|
277
|
-
signatories: z.ZodArray<z.ZodString>;
|
|
278
|
-
observers: z.ZodArray<z.ZodString>;
|
|
279
|
-
createdAt: z.ZodString;
|
|
280
|
-
packageName: z.ZodString;
|
|
281
|
-
implementedInterfaces: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
282
|
-
}, z.core.$strict>;
|
|
283
|
-
}, z.core.$strict>;
|
|
284
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
285
|
-
ExercisedTreeEvent: z.ZodObject<{
|
|
286
|
-
value: z.ZodObject<{
|
|
287
|
-
offset: z.ZodNumber;
|
|
288
|
-
nodeId: z.ZodNumber;
|
|
289
|
-
contractId: z.ZodString;
|
|
290
|
-
templateId: z.ZodString;
|
|
291
|
-
interfaceId: z.ZodNullable<z.ZodString>;
|
|
292
|
-
choice: z.ZodString;
|
|
293
|
-
choiceArgument: z.ZodRecord<z.ZodString, z.ZodType<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 | {
|
|
294
|
-
[key: string]: string | number | boolean | any | any | null;
|
|
295
|
-
} | null)[] | {
|
|
296
|
-
[key: string]: string | number | boolean | any | any | null;
|
|
297
|
-
} | null)[] | {
|
|
298
|
-
[key: string]: string | number | boolean | any | any | null;
|
|
299
|
-
} | null)[] | {
|
|
300
|
-
[key: string]: string | number | boolean | any | any | null;
|
|
301
|
-
} | null)[] | {
|
|
302
|
-
[key: string]: string | number | boolean | any | any | null;
|
|
303
|
-
} | null)[] | {
|
|
304
|
-
[key: string]: string | number | boolean | any | any | null;
|
|
305
|
-
} | null)[] | {
|
|
306
|
-
[key: string]: string | number | boolean | any | any | null;
|
|
307
|
-
} | null)[] | {
|
|
308
|
-
[key: string]: string | number | boolean | any | any | null;
|
|
309
|
-
} | null)[] | {
|
|
310
|
-
[key: string]: string | number | boolean | any | any | null;
|
|
311
|
-
} | null)[] | {
|
|
312
|
-
[key: string]: string | number | boolean | any | any | null;
|
|
313
|
-
} | null)[] | {
|
|
314
|
-
[key: string]: string | number | boolean | any | any | null;
|
|
315
|
-
} | null)[] | {
|
|
316
|
-
[key: string]: string | number | boolean | any | any | null;
|
|
317
|
-
} | null, unknown, z.core.$ZodTypeInternals<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 | {
|
|
318
|
-
[key: string]: string | number | boolean | any | any | null;
|
|
319
|
-
} | null)[] | {
|
|
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, unknown>>>;
|
|
342
|
-
actingParties: z.ZodArray<z.ZodString>;
|
|
343
|
-
witnessParties: z.ZodArray<z.ZodString>;
|
|
344
|
-
exerciseResult: z.ZodRecord<z.ZodString, z.ZodType<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 | {
|
|
345
|
-
[key: string]: string | number | boolean | any | any | null;
|
|
346
|
-
} | null)[] | {
|
|
347
|
-
[key: string]: string | number | boolean | any | any | null;
|
|
348
|
-
} | null)[] | {
|
|
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, unknown, z.core.$ZodTypeInternals<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 | {
|
|
369
|
-
[key: string]: string | number | boolean | any | any | null;
|
|
370
|
-
} | null)[] | {
|
|
371
|
-
[key: string]: string | number | boolean | any | any | null;
|
|
372
|
-
} | null)[] | {
|
|
373
|
-
[key: string]: string | number | boolean | any | any | null;
|
|
374
|
-
} | null)[] | {
|
|
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, unknown>>>;
|
|
393
|
-
packageName: z.ZodString;
|
|
394
|
-
consuming: z.ZodBoolean;
|
|
395
|
-
lastDescendantNodeId: z.ZodOptional<z.ZodNumber>;
|
|
396
|
-
implementedInterfaces: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
397
|
-
}, z.core.$strict>;
|
|
398
|
-
}, z.core.$strict>;
|
|
399
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
400
|
-
ArchivedTreeEvent: z.ZodObject<{
|
|
401
|
-
value: z.ZodObject<{
|
|
402
|
-
offset: z.ZodNumber;
|
|
403
|
-
nodeId: z.ZodNumber;
|
|
404
|
-
contractId: z.ZodString;
|
|
405
|
-
templateId: z.ZodString;
|
|
406
|
-
witnessParties: z.ZodArray<z.ZodString>;
|
|
407
|
-
packageName: z.ZodString;
|
|
408
|
-
implementedInterfaces: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
409
|
-
}, z.core.$strict>;
|
|
410
|
-
}, z.core.$strict>;
|
|
411
|
-
}, z.core.$strict>]>;
|
|
412
2
|
/** Collection of filters for a party */
|
|
413
3
|
export declare const FiltersSchema: z.ZodObject<{
|
|
414
4
|
cumulative: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -683,10 +273,6 @@ export declare const EventsByContractIdResponseSchema: z.ZodObject<{
|
|
|
683
273
|
synchronizerId: z.ZodString;
|
|
684
274
|
}, z.core.$strict>>;
|
|
685
275
|
}, z.core.$strict>;
|
|
686
|
-
export type CreatedTreeEvent = z.infer<typeof CreatedTreeEventSchema>;
|
|
687
|
-
export type ExercisedTreeEvent = z.infer<typeof ExercisedTreeEventSchema>;
|
|
688
|
-
export type ArchivedTreeEvent = z.infer<typeof ArchivedTreeEventSchema>;
|
|
689
|
-
export type TreeEvent = z.infer<typeof TreeEventSchema>;
|
|
690
276
|
export type Filters = z.infer<typeof FiltersSchema>;
|
|
691
277
|
export type EventFormat = z.infer<typeof EventFormatSchema>;
|
|
692
278
|
export type EventsByContractIdRequest = z.infer<typeof EventsByContractIdRequestSchema>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"events.d.ts","sourceRoot":"","sources":["../../../../../../src/clients/ledger-json-api/schemas/api/events.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAKxB,
|
|
1
|
+
{"version":3,"file":"events.d.ts","sourceRoot":"","sources":["../../../../../../src/clients/ledger-json-api/schemas/api/events.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAKxB,wCAAwC;AACxC,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;kBAQf,CAAC;AAEZ,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;kBAcnB,CAAC;AAEZ,eAAO,MAAM,+BAA+B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;kBAOjC,CAAC;AAEZ,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;kBAoCpB,CAAC;AAEZ,eAAO,MAAM,mBAAmB;;;;;;;;;;;kBAwBrB,CAAC;AAEZ,eAAO,MAAM,gCAAgC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;kBAUzC,CAAC;AAEL,MAAM,MAAM,OAAO,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,aAAa,CAAC,CAAC;AACpD,MAAM,MAAM,WAAW,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,iBAAiB,CAAC,CAAC;AAC5D,MAAM,MAAM,yBAAyB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,+BAA+B,CAAC,CAAC;AACxF,MAAM,MAAM,YAAY,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,kBAAkB,CAAC,CAAC;AAC9D,MAAM,MAAM,aAAa,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,mBAAmB,CAAC,CAAC;AAEhE,YAAY,EAAE,0BAA0B,EAAE,MAAM,sDAAsD,CAAC"}
|
|
@@ -1,120 +1,10 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.EventsByContractIdResponseSchema = exports.ArchivedEventSchema = exports.CreatedEventSchema = exports.EventsByContractIdRequestSchema = exports.EventFormatSchema = exports.FiltersSchema =
|
|
3
|
+
exports.EventsByContractIdResponseSchema = exports.ArchivedEventSchema = exports.CreatedEventSchema = exports.EventsByContractIdRequestSchema = exports.EventFormatSchema = exports.FiltersSchema = void 0;
|
|
4
4
|
const zod_1 = require("zod");
|
|
5
5
|
const base_1 = require("../base");
|
|
6
6
|
const updates_1 = require("../operations/updates");
|
|
7
7
|
const interface_view_1 = require("./interface-view");
|
|
8
|
-
exports.CreatedTreeEventSchema = zod_1.z
|
|
9
|
-
.object({
|
|
10
|
-
/** The created event details for a contract node in the transaction tree. */
|
|
11
|
-
CreatedTreeEvent: zod_1.z
|
|
12
|
-
.object({
|
|
13
|
-
value: zod_1.z
|
|
14
|
-
.object({
|
|
15
|
-
/** Offset of the event in the ledger stream. */
|
|
16
|
-
offset: zod_1.z.number(),
|
|
17
|
-
/** Node ID of the event in the transaction tree. */
|
|
18
|
-
nodeId: zod_1.z.number(),
|
|
19
|
-
/** Contract ID of the created contract. */
|
|
20
|
-
contractId: zod_1.z.string(),
|
|
21
|
-
/** Template ID of the created contract. */
|
|
22
|
-
templateId: zod_1.z.string(),
|
|
23
|
-
/** Contract key, if present. */
|
|
24
|
-
contractKey: zod_1.z.string().nullable(),
|
|
25
|
-
/** Arguments used to create the contract. */
|
|
26
|
-
createArgument: base_1.RecordSchema,
|
|
27
|
-
/** Serialized event blob for the created contract. */
|
|
28
|
-
createdEventBlob: zod_1.z.string(),
|
|
29
|
-
/** Interface views requested by matching interface filters. */
|
|
30
|
-
interfaceViews: zod_1.z.array(interface_view_1.JsInterfaceViewSchema).optional().default([]),
|
|
31
|
-
/** Parties that witnessed the creation. */
|
|
32
|
-
witnessParties: zod_1.z.array(zod_1.z.string()),
|
|
33
|
-
/** Parties that must sign the contract. */
|
|
34
|
-
signatories: zod_1.z.array(zod_1.z.string()),
|
|
35
|
-
/** Parties that observe the contract. */
|
|
36
|
-
observers: zod_1.z.array(zod_1.z.string()),
|
|
37
|
-
/** ISO 8601 timestamp when the contract was created. */
|
|
38
|
-
createdAt: zod_1.z.string(),
|
|
39
|
-
/** Name of the Daml package containing the template. */
|
|
40
|
-
packageName: zod_1.z.string(),
|
|
41
|
-
/** List of interface IDs implemented by the contract. */
|
|
42
|
-
implementedInterfaces: zod_1.z.array(zod_1.z.string()).optional(),
|
|
43
|
-
})
|
|
44
|
-
.strict(),
|
|
45
|
-
})
|
|
46
|
-
.strict(),
|
|
47
|
-
})
|
|
48
|
-
.strict();
|
|
49
|
-
exports.ExercisedTreeEventSchema = zod_1.z
|
|
50
|
-
.object({
|
|
51
|
-
/** The exercised event details for a contract node in the transaction tree. */
|
|
52
|
-
ExercisedTreeEvent: zod_1.z
|
|
53
|
-
.object({
|
|
54
|
-
value: zod_1.z
|
|
55
|
-
.object({
|
|
56
|
-
/** Offset of the event in the ledger stream. */
|
|
57
|
-
offset: zod_1.z.number(),
|
|
58
|
-
/** Node ID of the event in the transaction tree. */
|
|
59
|
-
nodeId: zod_1.z.number(),
|
|
60
|
-
/** Contract ID of the exercised contract. */
|
|
61
|
-
contractId: zod_1.z.string(),
|
|
62
|
-
/** Template ID of the exercised contract. */
|
|
63
|
-
templateId: zod_1.z.string(),
|
|
64
|
-
/** Interface ID if the choice was exercised via an interface. */
|
|
65
|
-
interfaceId: zod_1.z.string().nullable(),
|
|
66
|
-
/** Name of the exercised choice. */
|
|
67
|
-
choice: zod_1.z.string(),
|
|
68
|
-
/** Arguments passed to the exercised choice. */
|
|
69
|
-
choiceArgument: base_1.RecordSchema,
|
|
70
|
-
/** Parties acting in the exercise. */
|
|
71
|
-
actingParties: zod_1.z.array(zod_1.z.string()),
|
|
72
|
-
/** Parties that witnessed the exercise. */
|
|
73
|
-
witnessParties: zod_1.z.array(zod_1.z.string()),
|
|
74
|
-
/** Result returned by the exercised choice. */
|
|
75
|
-
exerciseResult: base_1.RecordSchema,
|
|
76
|
-
/** Name of the Daml package containing the template. */
|
|
77
|
-
packageName: zod_1.z.string(),
|
|
78
|
-
/** Whether the exercise archived the contract. */
|
|
79
|
-
consuming: zod_1.z.boolean(),
|
|
80
|
-
/** Node ID of the last descendant in the subtree, if present. */
|
|
81
|
-
lastDescendantNodeId: zod_1.z.number().optional(),
|
|
82
|
-
/** List of interface IDs implemented by the contract. */
|
|
83
|
-
implementedInterfaces: zod_1.z.array(zod_1.z.string()).optional(),
|
|
84
|
-
})
|
|
85
|
-
.strict(),
|
|
86
|
-
})
|
|
87
|
-
.strict(),
|
|
88
|
-
})
|
|
89
|
-
.strict();
|
|
90
|
-
exports.ArchivedTreeEventSchema = zod_1.z
|
|
91
|
-
.object({
|
|
92
|
-
/** The archived event details for a contract node in the transaction tree. */
|
|
93
|
-
ArchivedTreeEvent: zod_1.z
|
|
94
|
-
.object({
|
|
95
|
-
value: zod_1.z
|
|
96
|
-
.object({
|
|
97
|
-
/** Offset of the event in the ledger stream. */
|
|
98
|
-
offset: zod_1.z.number(),
|
|
99
|
-
/** Node ID of the event in the transaction tree. */
|
|
100
|
-
nodeId: zod_1.z.number(),
|
|
101
|
-
/** Contract ID of the archived contract. */
|
|
102
|
-
contractId: zod_1.z.string(),
|
|
103
|
-
/** Template ID of the archived contract. */
|
|
104
|
-
templateId: zod_1.z.string(),
|
|
105
|
-
/** Parties that witnessed the archival. */
|
|
106
|
-
witnessParties: zod_1.z.array(zod_1.z.string()),
|
|
107
|
-
/** Name of the Daml package containing the template. */
|
|
108
|
-
packageName: zod_1.z.string(),
|
|
109
|
-
/** List of interface IDs implemented by the contract. */
|
|
110
|
-
implementedInterfaces: zod_1.z.array(zod_1.z.string()).optional(),
|
|
111
|
-
})
|
|
112
|
-
.strict(),
|
|
113
|
-
})
|
|
114
|
-
.strict(),
|
|
115
|
-
})
|
|
116
|
-
.strict();
|
|
117
|
-
exports.TreeEventSchema = zod_1.z.union([exports.CreatedTreeEventSchema, exports.ExercisedTreeEventSchema, exports.ArchivedTreeEventSchema]);
|
|
118
8
|
/** Collection of filters for a party */
|
|
119
9
|
exports.FiltersSchema = zod_1.z
|
|
120
10
|
.object({
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"events.js","sourceRoot":"","sources":["../../../../../../src/clients/ledger-json-api/schemas/api/events.ts"],"names":[],"mappings":";;;AAAA,6BAAwB;AACxB,kCAAuC;AACvC,mDAA+D;AAC/D,qDAAyD;
|
|
1
|
+
{"version":3,"file":"events.js","sourceRoot":"","sources":["../../../../../../src/clients/ledger-json-api/schemas/api/events.ts"],"names":[],"mappings":";;;AAAA,6BAAwB;AACxB,kCAAuC;AACvC,mDAA+D;AAC/D,qDAAyD;AAEzD,wCAAwC;AAC3B,QAAA,aAAa,GAAG,OAAC;KAC3B,MAAM,CAAC;IACN;;;OAGG;IACH,UAAU,EAAE,OAAC,CAAC,KAAK,CAAC,gCAAsB,CAAC,CAAC,QAAQ,EAAE;CACvD,CAAC;KACD,MAAM,EAAE,CAAC;AAEC,QAAA,iBAAiB,GAAG,OAAC;KAC/B,MAAM,CAAC;IACN,mGAAmG;IACnG,OAAO,EAAE,OAAC,CAAC,OAAO,EAAE;IACpB;;;OAGG;IACH,cAAc,EAAE,OAAC,CAAC,MAAM,CAAC,OAAC,CAAC,MAAM,EAAE,EAAE,QAAA,aAAa,CAAC,CAAC,QAAQ,EAAE;IAC9D,qEAAqE;IACrE,uBAAuB,EAAE,OAAC,CAAC,OAAO,EAAE,CAAC,QAAQ,EAAE;IAC/C,0DAA0D;IAC1D,qBAAqB,EAAE,OAAC,CAAC,OAAO,EAAE,CAAC,QAA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Object<{
|
|
|
18
18
|
parties: z.ZodArray<z.ZodString>;
|
|
19
19
|
packageName: z.ZodString;
|
|
20
20
|
}, z.core.$strict>;
|
|
21
|
-
/**
|
|
22
|
-
export declare const PackagePreferenceSchema: z.ZodObject<{
|
|
23
|
-
packageReference: z.ZodObject<{
|
|
24
|
-
packageId: z.ZodString;
|
|
25
|
-
packageName: z.ZodString;
|
|
26
|
-
packageVersion: z.ZodString;
|
|
27
|
-
}, z.core.$strict>;
|
|
28
|
-
synchronizerId: z.ZodString;
|
|
29
|
-
}, z.core.$strict>;
|
|
30
|
-
/** Get preferred package version request. */
|
|
21
|
+
/** Get preferred packages request. */
|
|
31
22
|
export declare const GetPreferredPackagesRequestSchema: z.ZodObject<{
|
|
32
23
|
packageVettingRequirements: z.ZodArray<z.ZodObject<{
|
|
33
24
|
parties: z.ZodArray<z.ZodString>;
|
|
@@ -45,43 +36,10 @@ export declare const GetPreferredPackagesResponseSchema: z.ZodObject<{
|
|
|
45
36
|
}, z.core.$strict>>;
|
|
46
37
|
synchronizerId: z.ZodString;
|
|
47
38
|
}, z.core.$strict>;
|
|
48
|
-
/** Get preferred package version response. */
|
|
49
|
-
export declare const GetPreferredPackageVersionResponseSchema: z.ZodPipe<z.ZodObject<{
|
|
50
|
-
packagePreference: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
51
|
-
packageReference: z.ZodObject<{
|
|
52
|
-
packageId: z.ZodString;
|
|
53
|
-
packageName: z.ZodString;
|
|
54
|
-
packageVersion: z.ZodString;
|
|
55
|
-
}, z.core.$strict>;
|
|
56
|
-
synchronizerId: z.ZodString;
|
|
57
|
-
}, z.core.$strict>>>;
|
|
58
|
-
}, z.core.$strict>, z.ZodTransform<{
|
|
59
|
-
packagePreference?: never;
|
|
60
|
-
} | {
|
|
61
|
-
packagePreference: {
|
|
62
|
-
packageReference: {
|
|
63
|
-
packageId: string;
|
|
64
|
-
packageName: string;
|
|
65
|
-
packageVersion: string;
|
|
66
|
-
};
|
|
67
|
-
synchronizerId: string;
|
|
68
|
-
};
|
|
69
|
-
}, {
|
|
70
|
-
packagePreference?: {
|
|
71
|
-
packageReference: {
|
|
72
|
-
packageId: string;
|
|
73
|
-
packageName: string;
|
|
74
|
-
packageVersion: string;
|
|
75
|
-
};
|
|
76
|
-
synchronizerId: string;
|
|
77
|
-
} | null | undefined;
|
|
78
|
-
}>>;
|
|
79
39
|
export type ListPackagesResponse = z.infer<typeof ListPackagesResponseSchema>;
|
|
80
40
|
export type GetPackageStatusResponse = z.infer<typeof GetPackageStatusResponseSchema>;
|
|
81
41
|
export type PackageReference = z.infer<typeof PackageReferenceSchema>;
|
|
82
42
|
export type PackageVettingRequirement = z.infer<typeof PackageVettingRequirementSchema>;
|
|
83
|
-
export type PackagePreference = z.infer<typeof PackagePreferenceSchema>;
|
|
84
43
|
export type GetPreferredPackagesRequest = z.infer<typeof GetPreferredPackagesRequestSchema>;
|
|
85
44
|
export type GetPreferredPackagesResponse = z.infer<typeof GetPreferredPackagesResponseSchema>;
|
|
86
|
-
export type GetPreferredPackageVersionResponse = z.infer<typeof GetPreferredPackageVersionResponseSchema>;
|
|
87
45
|
//# sourceMappingURL=packages.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"packages.d.ts","sourceRoot":"","sources":["../../../../../../src/clients/ledger-json-api/schemas/api/packages.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB,8BAA8B;AAC9B,eAAO,MAAM,0BAA0B;;iBAGrC,CAAC;AAEH,mCAAmC;AACnC,eAAO,MAAM,8BAA8B;;iBAGzC,CAAC;AAEH,iCAAiC;AACjC,eAAO,MAAM,sBAAsB;;;;kBAOjC,CAAC;AAEH,mCAAmC;AACnC,eAAO,MAAM,+BAA+B;;;kBAK1C,CAAC;AAEH,
|
|
1
|
+
{"version":3,"file":"packages.d.ts","sourceRoot":"","sources":["../../../../../../src/clients/ledger-json-api/schemas/api/packages.ts"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