@canton-network/core-ledger-client 0.17.0 → 0.18.1
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/dist/acs/acs-helper.d.ts +3 -5
- package/dist/acs/acs-helper.d.ts.map +1 -1
- package/dist/acs/acs-shared-cache.d.ts +14 -0
- package/dist/acs/acs-shared-cache.d.ts.map +1 -0
- package/dist/generated-clients/{openapi-3.4.0-SNAPSHOT.d.ts → openapi-3.4.7.d.ts} +458 -64
- package/dist/generated-clients/openapi-3.4.7.d.ts.map +1 -0
- package/dist/index.cjs +386 -134
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +386 -134
- package/dist/index.js.map +1 -1
- package/dist/ledger-client.d.ts +17 -14
- package/dist/ledger-client.d.ts.map +1 -1
- package/dist/token-standard-service.d.ts +10 -4
- package/dist/token-standard-service.d.ts.map +1 -1
- package/dist/txparse/parser.d.ts.map +1 -1
- package/dist/txparse/types.d.ts +9 -2
- package/dist/txparse/types.d.ts.map +1 -1
- package/package.json +6 -6
- package/dist/generated-clients/openapi-3.4.0-SNAPSHOT.d.ts.map +0 -1
- package/dist/txparse/test-data/expected/txs.d.ts +0 -1143
- package/dist/txparse/test-data/expected/txs.d.ts.map +0 -1
- package/dist/txparse/test-data/mock/txs.d.ts +0 -3304
- package/dist/txparse/test-data/mock/txs.d.ts.map +0 -1
|
@@ -22,7 +22,10 @@ export interface paths {
|
|
|
22
22
|
post: operations['postV2CommandsSubmit-and-wait-for-reassignment'];
|
|
23
23
|
};
|
|
24
24
|
'/v2/commands/submit-and-wait-for-transaction-tree': {
|
|
25
|
-
/**
|
|
25
|
+
/**
|
|
26
|
+
* @deprecated
|
|
27
|
+
* @description Submit a batch of commands and wait for the transaction trees response. Provided for backwards compatibility, it will be removed in the Canton version 3.5.0, use submit-and-wait-for-transaction instead.
|
|
28
|
+
*/
|
|
26
29
|
post: operations['postV2CommandsSubmit-and-wait-for-transaction-tree'];
|
|
27
30
|
};
|
|
28
31
|
'/v2/commands/async/submit': {
|
|
@@ -52,10 +55,18 @@ export interface paths {
|
|
|
52
55
|
/** @description Get the version details of the participant node */
|
|
53
56
|
get: operations['getV2Version'];
|
|
54
57
|
};
|
|
58
|
+
'/v2/dars/validate': {
|
|
59
|
+
/** @description Validates a DAR for upgrade-compatibility against the current vetting state on the target synchronizer */
|
|
60
|
+
post: operations['postV2DarsValidate'];
|
|
61
|
+
};
|
|
62
|
+
'/v2/dars': {
|
|
63
|
+
/** @description Upload a DAR to the participant node */
|
|
64
|
+
post: operations['postV2Dars'];
|
|
65
|
+
};
|
|
55
66
|
'/v2/packages': {
|
|
56
67
|
/** @description List all packages uploaded on the participant node */
|
|
57
68
|
get: operations['getV2Packages'];
|
|
58
|
-
/** @description Upload a DAR to the participant node */
|
|
69
|
+
/** @description Upload a DAR to the participant node. Behaves the same as /dars. This endpoint will be deprecated and removed in a future release. */
|
|
59
70
|
post: operations['postV2Packages'];
|
|
60
71
|
};
|
|
61
72
|
'/v2/packages/{package-id}': {
|
|
@@ -78,6 +89,10 @@ export interface paths {
|
|
|
78
89
|
/** @description Allocate a new party to the participant node */
|
|
79
90
|
post: operations['postV2Parties'];
|
|
80
91
|
};
|
|
92
|
+
'/v2/parties/external/allocate': {
|
|
93
|
+
/** @description Allocate a new external party */
|
|
94
|
+
post: operations['postV2PartiesExternalAllocate'];
|
|
95
|
+
};
|
|
81
96
|
'/v2/parties/participant-id': {
|
|
82
97
|
/** @description Get participant id */
|
|
83
98
|
get: operations['getV2PartiesParticipant-id'];
|
|
@@ -88,6 +103,10 @@ export interface paths {
|
|
|
88
103
|
/** @description Allocate a new party to the participant node */
|
|
89
104
|
patch: operations['patchV2PartiesParty'];
|
|
90
105
|
};
|
|
106
|
+
'/v2/parties/external/generate-topology': {
|
|
107
|
+
/** @description Generate a topology for an external party */
|
|
108
|
+
post: operations['postV2PartiesExternalGenerate-topology'];
|
|
109
|
+
};
|
|
91
110
|
'/v2/state/active-contracts': {
|
|
92
111
|
/**
|
|
93
112
|
* @description Query active contracts list (blocking call).
|
|
@@ -129,7 +148,8 @@ export interface paths {
|
|
|
129
148
|
};
|
|
130
149
|
'/v2/updates/flats': {
|
|
131
150
|
/**
|
|
132
|
-
* @
|
|
151
|
+
* @deprecated
|
|
152
|
+
* @description Query flat transactions update list (blocking call). Provided for backwards compatibility, it will be removed in the Canton version 3.5.0, use v2/updates instead.
|
|
133
153
|
* Notice: This endpoint should be used for small results set.
|
|
134
154
|
* When number of results exceeded node configuration limit (`http-list-max-elements-limit`)
|
|
135
155
|
* there will be an error (`413 Content Too Large`) returned.
|
|
@@ -140,7 +160,8 @@ export interface paths {
|
|
|
140
160
|
};
|
|
141
161
|
'/v2/updates/trees': {
|
|
142
162
|
/**
|
|
143
|
-
* @
|
|
163
|
+
* @deprecated
|
|
164
|
+
* @description Query update transactions tree list (blocking call). Provided for backwards compatibility, it will be removed in the Canton version 3.5.0, use v2/updates instead.
|
|
144
165
|
* Notice: This endpoint should be used for small results set.
|
|
145
166
|
* When number of results exceeded node configuration limit (`http-list-max-elements-limit`)
|
|
146
167
|
* there will be an error (`413 Content Too Large`) returned.
|
|
@@ -150,11 +171,17 @@ export interface paths {
|
|
|
150
171
|
post: operations['postV2UpdatesTrees'];
|
|
151
172
|
};
|
|
152
173
|
'/v2/updates/transaction-tree-by-offset/{offset}': {
|
|
153
|
-
/**
|
|
174
|
+
/**
|
|
175
|
+
* @deprecated
|
|
176
|
+
* @description Get transaction tree by offset. Provided for backwards compatibility, it will be removed in the Canton version 3.5.0, use v2/updates/update-by-offset instead.
|
|
177
|
+
*/
|
|
154
178
|
get: operations['getV2UpdatesTransaction-tree-by-offsetOffset'];
|
|
155
179
|
};
|
|
156
180
|
'/v2/updates/transaction-by-offset': {
|
|
157
|
-
/**
|
|
181
|
+
/**
|
|
182
|
+
* @deprecated
|
|
183
|
+
* @description Get transaction by offset. Provided for backwards compatibility, it will be removed in the Canton version 3.5.0, use v2/updates/update-by-offset instead.
|
|
184
|
+
*/
|
|
158
185
|
post: operations['postV2UpdatesTransaction-by-offset'];
|
|
159
186
|
};
|
|
160
187
|
'/v2/updates/update-by-offset': {
|
|
@@ -162,7 +189,10 @@ export interface paths {
|
|
|
162
189
|
post: operations['postV2UpdatesUpdate-by-offset'];
|
|
163
190
|
};
|
|
164
191
|
'/v2/updates/transaction-by-id': {
|
|
165
|
-
/**
|
|
192
|
+
/**
|
|
193
|
+
* @deprecated
|
|
194
|
+
* @description Get transaction by id. Provided for backwards compatibility, it will be removed in the Canton version 3.5.0, use v2/updates/update-by-id instead.
|
|
195
|
+
*/
|
|
166
196
|
post: operations['postV2UpdatesTransaction-by-id'];
|
|
167
197
|
};
|
|
168
198
|
'/v2/updates/update-by-id': {
|
|
@@ -170,7 +200,10 @@ export interface paths {
|
|
|
170
200
|
post: operations['postV2UpdatesUpdate-by-id'];
|
|
171
201
|
};
|
|
172
202
|
'/v2/updates/transaction-tree-by-id/{update-id}': {
|
|
173
|
-
/**
|
|
203
|
+
/**
|
|
204
|
+
* @deprecated
|
|
205
|
+
* @description Get transaction tree by id. Provided for backwards compatibility, it will be removed in the Canton version 3.5.0, use v2/updates/update-by-id instead.
|
|
206
|
+
*/
|
|
174
207
|
get: operations['getV2UpdatesTransaction-tree-by-idUpdate-id'];
|
|
175
208
|
};
|
|
176
209
|
'/v2/users': {
|
|
@@ -245,6 +278,47 @@ export interface paths {
|
|
|
245
278
|
export type webhooks = Record<string, never>;
|
|
246
279
|
export interface components {
|
|
247
280
|
schemas: {
|
|
281
|
+
/**
|
|
282
|
+
* AllocateExternalPartyRequest
|
|
283
|
+
* @description Required authorization: ``HasRight(ParticipantAdmin) OR IsAuthenticatedIdentityProviderAdmin(identity_provider_id)``
|
|
284
|
+
*/
|
|
285
|
+
AllocateExternalPartyRequest: {
|
|
286
|
+
/**
|
|
287
|
+
* @description TODO(#27670) support synchronizer aliases
|
|
288
|
+
* Synchronizer ID on which to onboard the party
|
|
289
|
+
* Required
|
|
290
|
+
*/
|
|
291
|
+
synchronizer: string;
|
|
292
|
+
/**
|
|
293
|
+
* @description TopologyTransactions to onboard the external party
|
|
294
|
+
* Can contain:
|
|
295
|
+
* - A namespace for the party.
|
|
296
|
+
* This can be either a single NamespaceDelegation,
|
|
297
|
+
* or DecentralizedNamespaceDefinition along with its authorized namespace owners in the form of NamespaceDelegations.
|
|
298
|
+
* May be provided, if so it must be fully authorized by the signatures in this request combined with the existing topology state.
|
|
299
|
+
* - A PartyToKeyMapping to register the party's signing keys.
|
|
300
|
+
* May be provided, if so it must be fully authorized by the signatures in this request combined with the existing topology state.
|
|
301
|
+
* - A PartyToParticipant to register the hosting relationship of the party.
|
|
302
|
+
* Must be provided.
|
|
303
|
+
* Required
|
|
304
|
+
*/
|
|
305
|
+
onboardingTransactions?: components['schemas']['SignedTransaction'][];
|
|
306
|
+
/**
|
|
307
|
+
* @description Optional signatures of the combined hash of all onboarding_transactions
|
|
308
|
+
* This may be used instead of providing signatures on each individual transaction
|
|
309
|
+
*/
|
|
310
|
+
multiHashSignatures?: components['schemas']['Signature'][];
|
|
311
|
+
/**
|
|
312
|
+
* @description The id of the ``Identity Provider``
|
|
313
|
+
* If not set, assume the party is managed by the default identity provider.
|
|
314
|
+
* Optional
|
|
315
|
+
*/
|
|
316
|
+
identityProviderId: string;
|
|
317
|
+
};
|
|
318
|
+
/** AllocateExternalPartyResponse */
|
|
319
|
+
AllocateExternalPartyResponse: {
|
|
320
|
+
partyId: string;
|
|
321
|
+
};
|
|
248
322
|
/**
|
|
249
323
|
* AllocatePartyRequest
|
|
250
324
|
* @description Required authorization: ``HasRight(ParticipantAdmin) OR IsAuthenticatedIdentityProviderAdmin(identity_provider_id)``
|
|
@@ -580,6 +654,53 @@ export interface components {
|
|
|
580
654
|
/** @enum {string} */
|
|
581
655
|
permission: 'PARTICIPANT_PERMISSION_UNSPECIFIED' | 'PARTICIPANT_PERMISSION_SUBMISSION' | 'PARTICIPANT_PERMISSION_CONFIRMATION' | 'PARTICIPANT_PERMISSION_OBSERVATION';
|
|
582
656
|
};
|
|
657
|
+
/**
|
|
658
|
+
* CostEstimation
|
|
659
|
+
* @description Estimation of the cost of submitting the prepared transaction
|
|
660
|
+
* The estimation is done against the synchronizer chosen during preparation of the transaction
|
|
661
|
+
* (or the one explicitly requested).
|
|
662
|
+
* The cost of re-assigning contracts to another synchronizer when necessary is not included in the estimation.
|
|
663
|
+
*/
|
|
664
|
+
CostEstimation: {
|
|
665
|
+
/** @description Timestamp at which the estimation was made */
|
|
666
|
+
estimationTimestamp?: string;
|
|
667
|
+
/**
|
|
668
|
+
* Format: int64
|
|
669
|
+
* @description Estimated traffic cost of the confirmation request associated with the transaction
|
|
670
|
+
*/
|
|
671
|
+
confirmationRequestTrafficCostEstimation: number;
|
|
672
|
+
/**
|
|
673
|
+
* Format: int64
|
|
674
|
+
* @description Estimated traffic cost of the confirmation response associated with the transaction
|
|
675
|
+
* This field can also be used as an indication of the cost that other potential confirming nodes
|
|
676
|
+
* of the party will incur to approve or reject the transaction
|
|
677
|
+
*/
|
|
678
|
+
confirmationResponseTrafficCostEstimation: number;
|
|
679
|
+
/**
|
|
680
|
+
* Format: int64
|
|
681
|
+
* @description Sum of the fields above
|
|
682
|
+
*/
|
|
683
|
+
totalTrafficCostEstimation: number;
|
|
684
|
+
};
|
|
685
|
+
/**
|
|
686
|
+
* CostEstimationHints
|
|
687
|
+
* @description Hints to improve cost estimation precision of a prepared transaction
|
|
688
|
+
*/
|
|
689
|
+
CostEstimationHints: {
|
|
690
|
+
/**
|
|
691
|
+
* @description Disable cost estimation
|
|
692
|
+
* Default (not set) is false
|
|
693
|
+
*/
|
|
694
|
+
disabled: boolean;
|
|
695
|
+
/**
|
|
696
|
+
* @description Details on the keys that will be used to sign the transaction (how many and of which type).
|
|
697
|
+
* Signature size impacts the cost of the transaction.
|
|
698
|
+
* If empty, the signature sizes will be approximated with threshold-many signatures (where threshold is defined
|
|
699
|
+
* in the PartyToKeyMapping of the external party), using keys in the order they are registered.
|
|
700
|
+
* Optional (empty list is equivalent to not providing this field)
|
|
701
|
+
*/
|
|
702
|
+
expectedSignatures?: ('SIGNING_ALGORITHM_SPEC_UNSPECIFIED' | 'SIGNING_ALGORITHM_SPEC_ED25519' | 'SIGNING_ALGORITHM_SPEC_EC_DSA_SHA_256' | 'SIGNING_ALGORITHM_SPEC_EC_DSA_SHA_384')[];
|
|
703
|
+
};
|
|
583
704
|
/**
|
|
584
705
|
* CreateAndExerciseCommand
|
|
585
706
|
* @description Create a contract and exercise a choice on it in the same transaction.
|
|
@@ -875,7 +996,7 @@ export interface components {
|
|
|
875
996
|
DeduplicationOffset: components['schemas']['DeduplicationOffset2'];
|
|
876
997
|
},
|
|
877
998
|
{
|
|
878
|
-
Empty: components['schemas']['
|
|
999
|
+
Empty: components['schemas']['Empty10'];
|
|
879
1000
|
}
|
|
880
1001
|
]>;
|
|
881
1002
|
/**
|
|
@@ -893,12 +1014,15 @@ export interface components {
|
|
|
893
1014
|
* @description The template id of the contract.
|
|
894
1015
|
* The identifier uses the package-id reference format.
|
|
895
1016
|
*
|
|
896
|
-
*
|
|
1017
|
+
* If provided, used to validate the template id of the contract serialized in the created_event_blob.
|
|
1018
|
+
* Optional
|
|
897
1019
|
*/
|
|
898
1020
|
templateId?: string;
|
|
899
1021
|
/**
|
|
900
1022
|
* @description The contract id
|
|
901
|
-
*
|
|
1023
|
+
*
|
|
1024
|
+
* If provided, used to validate the contract id of the contract serialized in the created_event_blob.
|
|
1025
|
+
* Optional
|
|
902
1026
|
*/
|
|
903
1027
|
contractId: string;
|
|
904
1028
|
/**
|
|
@@ -927,6 +1051,8 @@ export interface components {
|
|
|
927
1051
|
/** Empty */
|
|
928
1052
|
Empty1: Record<string, never>;
|
|
929
1053
|
/** Empty */
|
|
1054
|
+
Empty10: Record<string, never>;
|
|
1055
|
+
/** Empty */
|
|
930
1056
|
Empty2: Record<string, never>;
|
|
931
1057
|
/** Empty */
|
|
932
1058
|
Empty3: Record<string, never>;
|
|
@@ -1286,6 +1412,48 @@ export interface components {
|
|
|
1286
1412
|
*/
|
|
1287
1413
|
cumulative?: components['schemas']['CumulativeFilter'][];
|
|
1288
1414
|
};
|
|
1415
|
+
/** GenerateExternalPartyTopologyRequest */
|
|
1416
|
+
GenerateExternalPartyTopologyRequest: {
|
|
1417
|
+
/**
|
|
1418
|
+
* @description TODO(#27670) support synchronizer aliases
|
|
1419
|
+
* Required: synchronizer-id for which we are building this request.
|
|
1420
|
+
*/
|
|
1421
|
+
synchronizer: string;
|
|
1422
|
+
/** @description Required: the actual party id will be constructed from this hint and a fingerprint of the public key */
|
|
1423
|
+
partyHint: string;
|
|
1424
|
+
/** @description Required: public key */
|
|
1425
|
+
publicKey?: components['schemas']['SigningPublicKey'];
|
|
1426
|
+
/** @description Optional: if true, then the local participant will only be observing, not confirming. Default false. */
|
|
1427
|
+
localParticipantObservationOnly: boolean;
|
|
1428
|
+
/** @description Optional: other participant ids which should be confirming for this party */
|
|
1429
|
+
otherConfirmingParticipantUids?: string[];
|
|
1430
|
+
/**
|
|
1431
|
+
* Format: int32
|
|
1432
|
+
* @description Optional: Confirmation threshold >= 1 for the party. Defaults to all available confirmers (or if set to 0).
|
|
1433
|
+
*/
|
|
1434
|
+
confirmationThreshold: number;
|
|
1435
|
+
/** @description Optional: other observing participant ids for this party */
|
|
1436
|
+
observingParticipantUids?: string[];
|
|
1437
|
+
};
|
|
1438
|
+
/**
|
|
1439
|
+
* GenerateExternalPartyTopologyResponse
|
|
1440
|
+
* @description Response message with topology transactions and the multi-hash to be signed.
|
|
1441
|
+
*/
|
|
1442
|
+
GenerateExternalPartyTopologyResponse: {
|
|
1443
|
+
/** @description the generated party id */
|
|
1444
|
+
partyId: string;
|
|
1445
|
+
/** @description the fingerprint of the supplied public key */
|
|
1446
|
+
publicKeyFingerprint: string;
|
|
1447
|
+
/**
|
|
1448
|
+
* @description The serialized topology transactions which need to be signed and submitted as part of the allocate party process
|
|
1449
|
+
* Note that the serialization includes the versioning information. Therefore, the transaction here is serialized
|
|
1450
|
+
* as an `UntypedVersionedMessage` which in turn contains the serialized `TopologyTransaction` in the version
|
|
1451
|
+
* supported by the synchronizer.
|
|
1452
|
+
*/
|
|
1453
|
+
topologyTransactions?: string[];
|
|
1454
|
+
/** @description the multi-hash which may be signed instead of each individual transaction */
|
|
1455
|
+
multiHash: string;
|
|
1456
|
+
};
|
|
1289
1457
|
/**
|
|
1290
1458
|
* GetActiveContractsRequest
|
|
1291
1459
|
* @description If the given offset is different than the ledger end, and there are (un)assignments in-flight at the given offset,
|
|
@@ -2312,7 +2480,8 @@ export interface components {
|
|
|
2312
2480
|
disclosedContracts?: components['schemas']['DisclosedContract'][];
|
|
2313
2481
|
/**
|
|
2314
2482
|
* @description Must be a valid synchronizer id
|
|
2315
|
-
*
|
|
2483
|
+
* If not set, a suitable synchronizer that this node is connected to will be chosen
|
|
2484
|
+
* Optional
|
|
2316
2485
|
*/
|
|
2317
2486
|
synchronizerId: string;
|
|
2318
2487
|
/**
|
|
@@ -2335,6 +2504,28 @@ export interface components {
|
|
|
2335
2504
|
* Optional
|
|
2336
2505
|
*/
|
|
2337
2506
|
prefetchContractKeys?: components['schemas']['PrefetchContractKey'][];
|
|
2507
|
+
/**
|
|
2508
|
+
* @description Maximum timestamp at which the transaction can be recorded onto the ledger via the synchronizer specified in the `PrepareSubmissionResponse`.
|
|
2509
|
+
* If submitted after it will be rejected even if otherwise valid, in which case it needs to be prepared and signed again
|
|
2510
|
+
* with a new valid max_record_time.
|
|
2511
|
+
* Use this to limit the time-to-life of a prepared transaction,
|
|
2512
|
+
* which is useful to know when it can definitely not be accepted
|
|
2513
|
+
* anymore and resorting to preparing another transaction for the same
|
|
2514
|
+
* intent is safe again.
|
|
2515
|
+
* Optional
|
|
2516
|
+
*/
|
|
2517
|
+
maxRecordTime?: string;
|
|
2518
|
+
/**
|
|
2519
|
+
* @description Hints to improve the accuracy of traffic cost estimation.
|
|
2520
|
+
* The estimation logic assumes that this node will be used for the execution of the transaction
|
|
2521
|
+
* If another node is used instead, the estimation may be less precise.
|
|
2522
|
+
* Request amplification is not accounted for in the estimation: each amplified request will
|
|
2523
|
+
* result in the cost of the confirmation request to be charged additionally.
|
|
2524
|
+
*
|
|
2525
|
+
* Optional - Traffic cost estimation is enabled by default if this field is not set
|
|
2526
|
+
* To turn off cost estimation, set the CostEstimationHints#disabled field to true
|
|
2527
|
+
*/
|
|
2528
|
+
estimateTrafficCost?: components['schemas']['CostEstimationHints'];
|
|
2338
2529
|
};
|
|
2339
2530
|
/**
|
|
2340
2531
|
* JsPrepareSubmissionResponse
|
|
@@ -2363,6 +2554,11 @@ export interface components {
|
|
|
2363
2554
|
* Its content should NOT be parsed and should only be used for troubleshooting purposes.
|
|
2364
2555
|
*/
|
|
2365
2556
|
hashingDetails?: string;
|
|
2557
|
+
/**
|
|
2558
|
+
* @description Traffic cost estimation of the prepared transaction
|
|
2559
|
+
* Optional
|
|
2560
|
+
*/
|
|
2561
|
+
costEstimation?: components['schemas']['CostEstimation'];
|
|
2366
2562
|
};
|
|
2367
2563
|
/**
|
|
2368
2564
|
* JsReassignment
|
|
@@ -2687,7 +2883,7 @@ export interface components {
|
|
|
2687
2883
|
} | {
|
|
2688
2884
|
CanReadAsAnyParty: components['schemas']['CanReadAsAnyParty'];
|
|
2689
2885
|
} | {
|
|
2690
|
-
Empty: components['schemas']['
|
|
2886
|
+
Empty: components['schemas']['Empty8'];
|
|
2691
2887
|
} | {
|
|
2692
2888
|
IdentityProviderAdmin: components['schemas']['IdentityProviderAdmin'];
|
|
2693
2889
|
} | {
|
|
@@ -2738,12 +2934,12 @@ export interface components {
|
|
|
2738
2934
|
ListVettedPackagesRequest: {
|
|
2739
2935
|
/**
|
|
2740
2936
|
* @description The package metadata filter the returned vetted packages set must satisfy.
|
|
2741
|
-
* Optional
|
|
2937
|
+
* Optional
|
|
2742
2938
|
*/
|
|
2743
2939
|
packageMetadataFilter?: components['schemas']['PackageMetadataFilter'];
|
|
2744
2940
|
/**
|
|
2745
2941
|
* @description The topology filter the returned vetted packages set must satisfy.
|
|
2746
|
-
* Optional
|
|
2942
|
+
* Optional
|
|
2747
2943
|
*/
|
|
2748
2944
|
topologyStateFilter?: components['schemas']['TopologyStateFilter'];
|
|
2749
2945
|
/**
|
|
@@ -2757,17 +2953,17 @@ export interface components {
|
|
|
2757
2953
|
* added and a page is requested twice using the same token, more packages can
|
|
2758
2954
|
* be returned on the second call.
|
|
2759
2955
|
*
|
|
2760
|
-
* Leave empty to fetch the first page.
|
|
2956
|
+
* Leave unspecified (i.e. as empty string) to fetch the first page.
|
|
2761
2957
|
*
|
|
2762
2958
|
* Optional
|
|
2763
2959
|
*/
|
|
2764
|
-
pageToken
|
|
2960
|
+
pageToken: string;
|
|
2765
2961
|
/**
|
|
2766
2962
|
* Format: int32
|
|
2767
2963
|
* @description Maximum number of ``VettedPackages`` results to return in a single page.
|
|
2768
2964
|
*
|
|
2769
|
-
* If the page_size is unspecified, the server will decide
|
|
2770
|
-
* results to be returned.
|
|
2965
|
+
* If the page_size is unspecified (i.e. left as 0), the server will decide
|
|
2966
|
+
* the number of results to be returned.
|
|
2771
2967
|
*
|
|
2772
2968
|
* If the page_size exceeds the maximum supported by the server, an
|
|
2773
2969
|
* error will be returned.
|
|
@@ -2777,7 +2973,7 @@ export interface components {
|
|
|
2777
2973
|
*
|
|
2778
2974
|
* Optional
|
|
2779
2975
|
*/
|
|
2780
|
-
pageSize
|
|
2976
|
+
pageSize: number;
|
|
2781
2977
|
};
|
|
2782
2978
|
/** ListVettedPackagesResponse */
|
|
2783
2979
|
ListVettedPackagesResponse: {
|
|
@@ -2789,9 +2985,9 @@ export interface components {
|
|
|
2789
2985
|
vettedPackages?: components['schemas']['VettedPackages'][];
|
|
2790
2986
|
/**
|
|
2791
2987
|
* @description Pagination token to retrieve the next page.
|
|
2792
|
-
* Empty
|
|
2988
|
+
* Empty string if there are no further results.
|
|
2793
2989
|
*/
|
|
2794
|
-
nextPageToken
|
|
2990
|
+
nextPageToken: string;
|
|
2795
2991
|
};
|
|
2796
2992
|
/** Map_Filters */
|
|
2797
2993
|
Map_Filters: {
|
|
@@ -2821,6 +3017,8 @@ export interface components {
|
|
|
2821
3017
|
MinLedgerTimeRel: {
|
|
2822
3018
|
value: components['schemas']['Duration'];
|
|
2823
3019
|
};
|
|
3020
|
+
/** NoPrior */
|
|
3021
|
+
NoPrior: Record<string, never>;
|
|
2824
3022
|
/**
|
|
2825
3023
|
* ObjectMeta
|
|
2826
3024
|
* @description Represents metadata corresponding to a participant resource (e.g. a participant user or participant local information about a party).
|
|
@@ -3131,11 +3329,25 @@ export interface components {
|
|
|
3131
3329
|
*/
|
|
3132
3330
|
contractKey: unknown;
|
|
3133
3331
|
};
|
|
3332
|
+
/** Prior */
|
|
3333
|
+
Prior: {
|
|
3334
|
+
/** Format: int32 */
|
|
3335
|
+
value: number;
|
|
3336
|
+
};
|
|
3337
|
+
/**
|
|
3338
|
+
* PriorTopologySerial
|
|
3339
|
+
* @description The serial of last ``VettedPackages`` topology transaction on a given
|
|
3340
|
+
* participant and synchronizer.
|
|
3341
|
+
*/
|
|
3342
|
+
PriorTopologySerial: {
|
|
3343
|
+
serial: components['schemas']['Serial'];
|
|
3344
|
+
};
|
|
3134
3345
|
/** ProtoAny */
|
|
3135
3346
|
ProtoAny: {
|
|
3136
3347
|
typeUrl: string;
|
|
3137
3348
|
value: string;
|
|
3138
3349
|
unknownFields: components['schemas']['UnknownFieldSet'];
|
|
3350
|
+
valueDecoded?: string;
|
|
3139
3351
|
};
|
|
3140
3352
|
/**
|
|
3141
3353
|
* Reassignment
|
|
@@ -3234,18 +3446,46 @@ export interface components {
|
|
|
3234
3446
|
Right: {
|
|
3235
3447
|
kind: components['schemas']['Kind'];
|
|
3236
3448
|
};
|
|
3449
|
+
/** Serial */
|
|
3450
|
+
Serial: OneOf<[
|
|
3451
|
+
{
|
|
3452
|
+
Empty: components['schemas']['Empty6'];
|
|
3453
|
+
},
|
|
3454
|
+
{
|
|
3455
|
+
NoPrior: components['schemas']['NoPrior'];
|
|
3456
|
+
},
|
|
3457
|
+
{
|
|
3458
|
+
Prior: components['schemas']['Prior'];
|
|
3459
|
+
}
|
|
3460
|
+
]>;
|
|
3237
3461
|
/** Signature */
|
|
3238
3462
|
Signature: {
|
|
3239
|
-
|
|
3240
|
-
format: 'SIGNATURE_FORMAT_UNSPECIFIED' | 'SIGNATURE_FORMAT_RAW' | 'SIGNATURE_FORMAT_DER' | 'SIGNATURE_FORMAT_CONCAT' | 'SIGNATURE_FORMAT_SYMBOLIC';
|
|
3463
|
+
format: string;
|
|
3241
3464
|
signature: string;
|
|
3242
3465
|
/** @description The fingerprint/id of the keypair used to create this signature and needed to verify. */
|
|
3243
3466
|
signedBy: string;
|
|
3467
|
+
/** @description The signing algorithm specification used to produce this signature */
|
|
3468
|
+
signingAlgorithmSpec: string;
|
|
3469
|
+
};
|
|
3470
|
+
/** SignedTransaction */
|
|
3471
|
+
SignedTransaction: {
|
|
3472
|
+
transaction: string;
|
|
3473
|
+
signatures?: components['schemas']['Signature'][];
|
|
3474
|
+
};
|
|
3475
|
+
/** SigningPublicKey */
|
|
3476
|
+
SigningPublicKey: {
|
|
3244
3477
|
/**
|
|
3245
|
-
* @description The
|
|
3246
|
-
* @
|
|
3478
|
+
* @description The serialization format of the public key
|
|
3479
|
+
* @example CRYPTO_KEY_FORMAT_DER_X509_SUBJECT_PUBLIC_KEY_INFO
|
|
3480
|
+
*/
|
|
3481
|
+
format: string;
|
|
3482
|
+
/** @description Serialized public key in the format specified above */
|
|
3483
|
+
keyData: string;
|
|
3484
|
+
/**
|
|
3485
|
+
* @description The key specification
|
|
3486
|
+
* @example SIGNING_KEY_SPEC_EC_CURVE25519
|
|
3247
3487
|
*/
|
|
3248
|
-
|
|
3488
|
+
keySpec: string;
|
|
3249
3489
|
};
|
|
3250
3490
|
/**
|
|
3251
3491
|
* SinglePartySignatures
|
|
@@ -3353,7 +3593,7 @@ export interface components {
|
|
|
3353
3593
|
/** Time */
|
|
3354
3594
|
Time: OneOf<[
|
|
3355
3595
|
{
|
|
3356
|
-
Empty: components['schemas']['
|
|
3596
|
+
Empty: components['schemas']['Empty9'];
|
|
3357
3597
|
},
|
|
3358
3598
|
{
|
|
3359
3599
|
MinLedgerTimeAbs: components['schemas']['MinLedgerTimeAbs'];
|
|
@@ -3369,7 +3609,7 @@ export interface components {
|
|
|
3369
3609
|
/** TopologyEventEvent */
|
|
3370
3610
|
TopologyEventEvent: OneOf<[
|
|
3371
3611
|
{
|
|
3372
|
-
Empty: components['schemas']['
|
|
3612
|
+
Empty: components['schemas']['Empty7'];
|
|
3373
3613
|
},
|
|
3374
3614
|
{
|
|
3375
3615
|
ParticipantAuthorizationAdded: components['schemas']['ParticipantAuthorizationAdded'];
|
|
@@ -3649,10 +3889,7 @@ export interface components {
|
|
|
3649
3889
|
Transaction: components['schemas']['Transaction'];
|
|
3650
3890
|
}
|
|
3651
3891
|
]>;
|
|
3652
|
-
/**
|
|
3653
|
-
* Update
|
|
3654
|
-
* @description The update that matches the filter in the request.
|
|
3655
|
-
*/
|
|
3892
|
+
/** Update */
|
|
3656
3893
|
Update1: OneOf<[
|
|
3657
3894
|
{
|
|
3658
3895
|
OffsetCheckpoint: components['schemas']['OffsetCheckpoint3'];
|
|
@@ -3825,21 +4062,35 @@ export interface components {
|
|
|
3825
4062
|
*/
|
|
3826
4063
|
dryRun: boolean;
|
|
3827
4064
|
/**
|
|
3828
|
-
* @description
|
|
3829
|
-
*
|
|
4065
|
+
* @description If set, the requested changes will take place on the specified
|
|
4066
|
+
* synchronizer. If synchronizer_id is unset and the participant is only
|
|
4067
|
+
* connected to a single synchronizer, that synchronizer will be used by
|
|
4068
|
+
* default. If synchronizer_id is unset and the participant is connected to
|
|
4069
|
+
* multiple synchronizers, the request will error out with
|
|
4070
|
+
* PACKAGE_SERVICE_CANNOT_AUTODETECT_SYNCHRONIZER.
|
|
4071
|
+
*
|
|
4072
|
+
* Optional
|
|
3830
4073
|
*/
|
|
3831
4074
|
synchronizerId: string;
|
|
3832
4075
|
/**
|
|
3833
|
-
* Format: int32
|
|
3834
4076
|
* @description The serial of the last ``VettedPackages`` topology transaction of this
|
|
3835
4077
|
* participant and on this synchronizer.
|
|
3836
4078
|
*
|
|
3837
|
-
* Execution of the request fails if this is not correct.
|
|
3838
|
-
*
|
|
4079
|
+
* Execution of the request fails if this is not correct. Use this to guard
|
|
4080
|
+
* against concurrent changes.
|
|
3839
4081
|
*
|
|
3840
|
-
*
|
|
4082
|
+
* If left unspecified, no validation is done against the last transaction's
|
|
4083
|
+
* serial.
|
|
4084
|
+
*
|
|
4085
|
+
* Optional
|
|
3841
4086
|
*/
|
|
3842
|
-
expectedTopologySerial?:
|
|
4087
|
+
expectedTopologySerial?: components['schemas']['PriorTopologySerial'];
|
|
4088
|
+
/**
|
|
4089
|
+
* @description Controls whether potentially unsafe vetting updates are allowed.
|
|
4090
|
+
*
|
|
4091
|
+
* Optional, defaults to FORCE_FLAG_UNSPECIFIED.
|
|
4092
|
+
*/
|
|
4093
|
+
updateVettedPackagesForceFlags?: ('UPDATE_VETTED_PACKAGES_FORCE_FLAG_UNSPECIFIED' | 'UPDATE_VETTED_PACKAGES_FORCE_FLAG_ALLOW_VET_INCOMPATIBLE_UPGRADES' | 'UPDATE_VETTED_PACKAGES_FORCE_FLAG_ALLOW_UNVETTED_DEPENDENCIES')[];
|
|
3843
4094
|
};
|
|
3844
4095
|
/** UpdateVettedPackagesResponse */
|
|
3845
4096
|
UpdateVettedPackagesResponse: {
|
|
@@ -3952,13 +4203,15 @@ export interface components {
|
|
|
3952
4203
|
/**
|
|
3953
4204
|
* @description Name of this package.
|
|
3954
4205
|
* Only available if the package has been uploaded to the current participant.
|
|
4206
|
+
* If unavailable, is empty string.
|
|
3955
4207
|
*/
|
|
3956
|
-
packageName
|
|
4208
|
+
packageName: string;
|
|
3957
4209
|
/**
|
|
3958
4210
|
* @description Version of this package.
|
|
3959
4211
|
* Only available if the package has been uploaded to the current participant.
|
|
4212
|
+
* If unavailable, is empty string.
|
|
3960
4213
|
*/
|
|
3961
|
-
packageVersion
|
|
4214
|
+
packageVersion: string;
|
|
3962
4215
|
};
|
|
3963
4216
|
/**
|
|
3964
4217
|
* VettedPackages
|
|
@@ -3980,7 +4233,7 @@ export interface components {
|
|
|
3980
4233
|
/**
|
|
3981
4234
|
* Format: int32
|
|
3982
4235
|
* @description Serial of last ``VettedPackages`` topology transaction of this participant
|
|
3983
|
-
* and on this synchronizer.
|
|
4236
|
+
* and on this synchronizer. Always present.
|
|
3984
4237
|
*/
|
|
3985
4238
|
topologySerial: number;
|
|
3986
4239
|
};
|
|
@@ -3997,20 +4250,30 @@ export interface components {
|
|
|
3997
4250
|
*
|
|
3998
4251
|
* A reference matches a package if its ``package_id`` matches the package's ID,
|
|
3999
4252
|
* its ``package_name`` matches the package's name, and its ``package_version``
|
|
4000
|
-
* matches the package's version. If
|
|
4001
|
-
*
|
|
4002
|
-
* ``package_name`` must be
|
|
4253
|
+
* matches the package's version. If an attribute in the reference is left
|
|
4254
|
+
* unspecified (i.e. as an empty string), that attribute is treated as a
|
|
4255
|
+
* wildcard. At a minimum, ``package_id`` or the ``package_name`` must be
|
|
4256
|
+
* specified.
|
|
4003
4257
|
*
|
|
4004
4258
|
* If a reference does not match any package, the reference is considered
|
|
4005
4259
|
* unresolved and the entire update request is rejected.
|
|
4006
4260
|
*/
|
|
4007
4261
|
VettedPackagesRef: {
|
|
4008
|
-
/**
|
|
4009
|
-
|
|
4010
|
-
|
|
4011
|
-
|
|
4012
|
-
|
|
4013
|
-
|
|
4262
|
+
/**
|
|
4263
|
+
* @description Package's package id must be the same as this field.
|
|
4264
|
+
* Optional
|
|
4265
|
+
*/
|
|
4266
|
+
packageId: string;
|
|
4267
|
+
/**
|
|
4268
|
+
* @description Package's name must be the same as this field.
|
|
4269
|
+
* Optional
|
|
4270
|
+
*/
|
|
4271
|
+
packageName: string;
|
|
4272
|
+
/**
|
|
4273
|
+
* @description Package's version must be the same as this field.
|
|
4274
|
+
* Optional
|
|
4275
|
+
*/
|
|
4276
|
+
packageVersion: string;
|
|
4014
4277
|
};
|
|
4015
4278
|
/**
|
|
4016
4279
|
* WildcardFilter
|
|
@@ -4120,7 +4383,10 @@ export interface operations {
|
|
|
4120
4383
|
};
|
|
4121
4384
|
};
|
|
4122
4385
|
};
|
|
4123
|
-
/**
|
|
4386
|
+
/**
|
|
4387
|
+
* @deprecated
|
|
4388
|
+
* @description Submit a batch of commands and wait for the transaction trees response. Provided for backwards compatibility, it will be removed in the Canton version 3.5.0, use submit-and-wait-for-transaction instead.
|
|
4389
|
+
*/
|
|
4124
4390
|
'postV2CommandsSubmit-and-wait-for-transaction-tree': {
|
|
4125
4391
|
requestBody: {
|
|
4126
4392
|
content: {
|
|
@@ -4286,6 +4552,67 @@ export interface operations {
|
|
|
4286
4552
|
};
|
|
4287
4553
|
};
|
|
4288
4554
|
};
|
|
4555
|
+
/** @description Validates a DAR for upgrade-compatibility against the current vetting state on the target synchronizer */
|
|
4556
|
+
postV2DarsValidate: {
|
|
4557
|
+
parameters: {
|
|
4558
|
+
query?: {
|
|
4559
|
+
synchronizerId?: string;
|
|
4560
|
+
};
|
|
4561
|
+
};
|
|
4562
|
+
requestBody: {
|
|
4563
|
+
content: {
|
|
4564
|
+
'application/octet-stream': string;
|
|
4565
|
+
};
|
|
4566
|
+
};
|
|
4567
|
+
responses: {
|
|
4568
|
+
200: {
|
|
4569
|
+
content: never;
|
|
4570
|
+
};
|
|
4571
|
+
/** @description Invalid value for: body, Invalid value for: query parameter synchronizerId, Invalid value for: headers */
|
|
4572
|
+
400: {
|
|
4573
|
+
content: {
|
|
4574
|
+
'text/plain': string;
|
|
4575
|
+
};
|
|
4576
|
+
};
|
|
4577
|
+
default: {
|
|
4578
|
+
content: {
|
|
4579
|
+
'application/json': components['schemas']['JsCantonError'];
|
|
4580
|
+
};
|
|
4581
|
+
};
|
|
4582
|
+
};
|
|
4583
|
+
};
|
|
4584
|
+
/** @description Upload a DAR to the participant node */
|
|
4585
|
+
postV2Dars: {
|
|
4586
|
+
parameters: {
|
|
4587
|
+
query?: {
|
|
4588
|
+
vetAllPackages?: boolean;
|
|
4589
|
+
synchronizerId?: string;
|
|
4590
|
+
};
|
|
4591
|
+
};
|
|
4592
|
+
requestBody: {
|
|
4593
|
+
content: {
|
|
4594
|
+
'application/octet-stream': string;
|
|
4595
|
+
};
|
|
4596
|
+
};
|
|
4597
|
+
responses: {
|
|
4598
|
+
200: {
|
|
4599
|
+
content: {
|
|
4600
|
+
'application/json': components['schemas']['UploadDarFileResponse'];
|
|
4601
|
+
};
|
|
4602
|
+
};
|
|
4603
|
+
/** @description Invalid value for: body, Invalid value for: query parameter vetAllPackages, Invalid value for: query parameter synchronizerId, Invalid value for: headers */
|
|
4604
|
+
400: {
|
|
4605
|
+
content: {
|
|
4606
|
+
'text/plain': string;
|
|
4607
|
+
};
|
|
4608
|
+
};
|
|
4609
|
+
default: {
|
|
4610
|
+
content: {
|
|
4611
|
+
'application/json': components['schemas']['JsCantonError'];
|
|
4612
|
+
};
|
|
4613
|
+
};
|
|
4614
|
+
};
|
|
4615
|
+
};
|
|
4289
4616
|
/** @description List all packages uploaded on the participant node */
|
|
4290
4617
|
getV2Packages: {
|
|
4291
4618
|
responses: {
|
|
@@ -4307,11 +4634,12 @@ export interface operations {
|
|
|
4307
4634
|
};
|
|
4308
4635
|
};
|
|
4309
4636
|
};
|
|
4310
|
-
/** @description Upload a DAR to the participant node */
|
|
4637
|
+
/** @description Upload a DAR to the participant node. Behaves the same as /dars. This endpoint will be deprecated and removed in a future release. */
|
|
4311
4638
|
postV2Packages: {
|
|
4312
4639
|
parameters: {
|
|
4313
4640
|
query?: {
|
|
4314
4641
|
vetAllPackages?: boolean;
|
|
4642
|
+
synchronizerId?: string;
|
|
4315
4643
|
};
|
|
4316
4644
|
};
|
|
4317
4645
|
requestBody: {
|
|
@@ -4325,7 +4653,7 @@ export interface operations {
|
|
|
4325
4653
|
'application/json': components['schemas']['UploadDarFileResponse'];
|
|
4326
4654
|
};
|
|
4327
4655
|
};
|
|
4328
|
-
/** @description Invalid value for: body, Invalid value for: query parameter vetAllPackages, Invalid value for: headers */
|
|
4656
|
+
/** @description Invalid value for: body, Invalid value for: query parameter vetAllPackages, Invalid value for: query parameter synchronizerId, Invalid value for: headers */
|
|
4329
4657
|
400: {
|
|
4330
4658
|
content: {
|
|
4331
4659
|
'text/plain': string;
|
|
@@ -4500,6 +4828,32 @@ export interface operations {
|
|
|
4500
4828
|
};
|
|
4501
4829
|
};
|
|
4502
4830
|
};
|
|
4831
|
+
/** @description Allocate a new external party */
|
|
4832
|
+
postV2PartiesExternalAllocate: {
|
|
4833
|
+
requestBody: {
|
|
4834
|
+
content: {
|
|
4835
|
+
'application/json': components['schemas']['AllocateExternalPartyRequest'];
|
|
4836
|
+
};
|
|
4837
|
+
};
|
|
4838
|
+
responses: {
|
|
4839
|
+
200: {
|
|
4840
|
+
content: {
|
|
4841
|
+
'application/json': components['schemas']['AllocateExternalPartyResponse'];
|
|
4842
|
+
};
|
|
4843
|
+
};
|
|
4844
|
+
/** @description Invalid value for: body, Invalid value for: headers */
|
|
4845
|
+
400: {
|
|
4846
|
+
content: {
|
|
4847
|
+
'text/plain': string;
|
|
4848
|
+
};
|
|
4849
|
+
};
|
|
4850
|
+
default: {
|
|
4851
|
+
content: {
|
|
4852
|
+
'application/json': components['schemas']['JsCantonError'];
|
|
4853
|
+
};
|
|
4854
|
+
};
|
|
4855
|
+
};
|
|
4856
|
+
};
|
|
4503
4857
|
/** @description Get participant id */
|
|
4504
4858
|
'getV2PartiesParticipant-id': {
|
|
4505
4859
|
responses: {
|
|
@@ -4582,6 +4936,32 @@ export interface operations {
|
|
|
4582
4936
|
};
|
|
4583
4937
|
};
|
|
4584
4938
|
};
|
|
4939
|
+
/** @description Generate a topology for an external party */
|
|
4940
|
+
'postV2PartiesExternalGenerate-topology': {
|
|
4941
|
+
requestBody: {
|
|
4942
|
+
content: {
|
|
4943
|
+
'application/json': components['schemas']['GenerateExternalPartyTopologyRequest'];
|
|
4944
|
+
};
|
|
4945
|
+
};
|
|
4946
|
+
responses: {
|
|
4947
|
+
200: {
|
|
4948
|
+
content: {
|
|
4949
|
+
'application/json': components['schemas']['GenerateExternalPartyTopologyResponse'];
|
|
4950
|
+
};
|
|
4951
|
+
};
|
|
4952
|
+
/** @description Invalid value for: body, Invalid value for: headers */
|
|
4953
|
+
400: {
|
|
4954
|
+
content: {
|
|
4955
|
+
'text/plain': string;
|
|
4956
|
+
};
|
|
4957
|
+
};
|
|
4958
|
+
default: {
|
|
4959
|
+
content: {
|
|
4960
|
+
'application/json': components['schemas']['JsCantonError'];
|
|
4961
|
+
};
|
|
4962
|
+
};
|
|
4963
|
+
};
|
|
4964
|
+
};
|
|
4585
4965
|
/**
|
|
4586
4966
|
* @description Query active contracts list (blocking call).
|
|
4587
4967
|
* Querying active contracts is an expensive operation and if possible should not be repeated often.
|
|
@@ -4631,8 +5011,8 @@ export interface operations {
|
|
|
4631
5011
|
/** @description Get connected synchronizers */
|
|
4632
5012
|
'getV2StateConnected-synchronizers': {
|
|
4633
5013
|
parameters: {
|
|
4634
|
-
query
|
|
4635
|
-
party
|
|
5014
|
+
query?: {
|
|
5015
|
+
party?: string;
|
|
4636
5016
|
participantId?: string;
|
|
4637
5017
|
identityProviderId?: string;
|
|
4638
5018
|
};
|
|
@@ -4740,7 +5120,8 @@ export interface operations {
|
|
|
4740
5120
|
};
|
|
4741
5121
|
};
|
|
4742
5122
|
/**
|
|
4743
|
-
* @
|
|
5123
|
+
* @deprecated
|
|
5124
|
+
* @description Query flat transactions update list (blocking call). Provided for backwards compatibility, it will be removed in the Canton version 3.5.0, use v2/updates instead.
|
|
4744
5125
|
* Notice: This endpoint should be used for small results set.
|
|
4745
5126
|
* When number of results exceeded node configuration limit (`http-list-max-elements-limit`)
|
|
4746
5127
|
* there will be an error (`413 Content Too Large`) returned.
|
|
@@ -4781,7 +5162,8 @@ export interface operations {
|
|
|
4781
5162
|
};
|
|
4782
5163
|
};
|
|
4783
5164
|
/**
|
|
4784
|
-
* @
|
|
5165
|
+
* @deprecated
|
|
5166
|
+
* @description Query update transactions tree list (blocking call). Provided for backwards compatibility, it will be removed in the Canton version 3.5.0, use v2/updates instead.
|
|
4785
5167
|
* Notice: This endpoint should be used for small results set.
|
|
4786
5168
|
* When number of results exceeded node configuration limit (`http-list-max-elements-limit`)
|
|
4787
5169
|
* there will be an error (`413 Content Too Large`) returned.
|
|
@@ -4821,7 +5203,10 @@ export interface operations {
|
|
|
4821
5203
|
};
|
|
4822
5204
|
};
|
|
4823
5205
|
};
|
|
4824
|
-
/**
|
|
5206
|
+
/**
|
|
5207
|
+
* @deprecated
|
|
5208
|
+
* @description Get transaction tree by offset. Provided for backwards compatibility, it will be removed in the Canton version 3.5.0, use v2/updates/update-by-offset instead.
|
|
5209
|
+
*/
|
|
4825
5210
|
'getV2UpdatesTransaction-tree-by-offsetOffset': {
|
|
4826
5211
|
parameters: {
|
|
4827
5212
|
query?: {
|
|
@@ -4850,7 +5235,10 @@ export interface operations {
|
|
|
4850
5235
|
};
|
|
4851
5236
|
};
|
|
4852
5237
|
};
|
|
4853
|
-
/**
|
|
5238
|
+
/**
|
|
5239
|
+
* @deprecated
|
|
5240
|
+
* @description Get transaction by offset. Provided for backwards compatibility, it will be removed in the Canton version 3.5.0, use v2/updates/update-by-offset instead.
|
|
5241
|
+
*/
|
|
4854
5242
|
'postV2UpdatesTransaction-by-offset': {
|
|
4855
5243
|
requestBody: {
|
|
4856
5244
|
content: {
|
|
@@ -4902,7 +5290,10 @@ export interface operations {
|
|
|
4902
5290
|
};
|
|
4903
5291
|
};
|
|
4904
5292
|
};
|
|
4905
|
-
/**
|
|
5293
|
+
/**
|
|
5294
|
+
* @deprecated
|
|
5295
|
+
* @description Get transaction by id. Provided for backwards compatibility, it will be removed in the Canton version 3.5.0, use v2/updates/update-by-id instead.
|
|
5296
|
+
*/
|
|
4906
5297
|
'postV2UpdatesTransaction-by-id': {
|
|
4907
5298
|
requestBody: {
|
|
4908
5299
|
content: {
|
|
@@ -4954,7 +5345,10 @@ export interface operations {
|
|
|
4954
5345
|
};
|
|
4955
5346
|
};
|
|
4956
5347
|
};
|
|
4957
|
-
/**
|
|
5348
|
+
/**
|
|
5349
|
+
* @deprecated
|
|
5350
|
+
* @description Get transaction tree by id. Provided for backwards compatibility, it will be removed in the Canton version 3.5.0, use v2/updates/update-by-id instead.
|
|
5351
|
+
*/
|
|
4958
5352
|
'getV2UpdatesTransaction-tree-by-idUpdate-id': {
|
|
4959
5353
|
parameters: {
|
|
4960
5354
|
query?: {
|
|
@@ -5560,4 +5954,4 @@ export interface operations {
|
|
|
5560
5954
|
};
|
|
5561
5955
|
}
|
|
5562
5956
|
export {};
|
|
5563
|
-
//# sourceMappingURL=openapi-3.4.
|
|
5957
|
+
//# sourceMappingURL=openapi-3.4.7.d.ts.map
|