@canton-network/core-ledger-proto 0.1.0
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 -0
- package/dist/_proto/com/daml/ledger/api/v2/admin/command_inspection_service.client.d.ts +58 -0
- package/dist/_proto/com/daml/ledger/api/v2/admin/command_inspection_service.client.d.ts.map +1 -0
- package/dist/_proto/com/daml/ledger/api/v2/admin/command_inspection_service.client.js +34 -0
- package/dist/_proto/com/daml/ledger/api/v2/admin/command_inspection_service.d.ts +232 -0
- package/dist/_proto/com/daml/ledger/api/v2/admin/command_inspection_service.d.ts.map +1 -0
- package/dist/_proto/com/daml/ledger/api/v2/admin/command_inspection_service.js +560 -0
- package/dist/_proto/com/daml/ledger/api/v2/admin/identity_provider_config_service.client.d.ts +144 -0
- package/dist/_proto/com/daml/ledger/api/v2/admin/identity_provider_config_service.client.d.ts.map +1 -0
- package/dist/_proto/com/daml/ledger/api/v2/admin/identity_provider_config_service.client.js +85 -0
- package/dist/_proto/com/daml/ledger/api/v2/admin/identity_provider_config_service.d.ts +291 -0
- package/dist/_proto/com/daml/ledger/api/v2/admin/identity_provider_config_service.d.ts.map +1 -0
- package/dist/_proto/com/daml/ledger/api/v2/admin/identity_provider_config_service.js +663 -0
- package/dist/_proto/com/daml/ledger/api/v2/admin/object_meta.d.ts +76 -0
- package/dist/_proto/com/daml/ledger/api/v2/admin/object_meta.d.ts.map +1 -0
- package/dist/_proto/com/daml/ledger/api/v2/admin/object_meta.js +96 -0
- package/dist/_proto/com/daml/ledger/api/v2/admin/package_management_service.client.d.ts +106 -0
- package/dist/_proto/com/daml/ledger/api/v2/admin/package_management_service.client.d.ts.map +1 -0
- package/dist/_proto/com/daml/ledger/api/v2/admin/package_management_service.client.js +62 -0
- package/dist/_proto/com/daml/ledger/api/v2/admin/package_management_service.d.ts +199 -0
- package/dist/_proto/com/daml/ledger/api/v2/admin/package_management_service.d.ts.map +1 -0
- package/dist/_proto/com/daml/ledger/api/v2/admin/package_management_service.js +427 -0
- package/dist/_proto/com/daml/ledger/api/v2/admin/participant_pruning_service.client.d.ts +56 -0
- package/dist/_proto/com/daml/ledger/api/v2/admin/participant_pruning_service.client.d.ts.map +1 -0
- package/dist/_proto/com/daml/ledger/api/v2/admin/participant_pruning_service.client.js +35 -0
- package/dist/_proto/com/daml/ledger/api/v2/admin/participant_pruning_service.d.ts +81 -0
- package/dist/_proto/com/daml/ledger/api/v2/admin/participant_pruning_service.d.ts.map +1 -0
- package/dist/_proto/com/daml/ledger/api/v2/admin/participant_pruning_service.js +135 -0
- package/dist/_proto/com/daml/ledger/api/v2/admin/party_management_service.client.d.ts +196 -0
- package/dist/_proto/com/daml/ledger/api/v2/admin/party_management_service.client.d.ts.map +1 -0
- package/dist/_proto/com/daml/ledger/api/v2/admin/party_management_service.client.js +113 -0
- package/dist/_proto/com/daml/ledger/api/v2/admin/party_management_service.d.ts +413 -0
- package/dist/_proto/com/daml/ledger/api/v2/admin/party_management_service.d.ts.map +1 -0
- package/dist/_proto/com/daml/ledger/api/v2/admin/party_management_service.js +867 -0
- package/dist/_proto/com/daml/ledger/api/v2/admin/user_management_service.client.d.ts +210 -0
- package/dist/_proto/com/daml/ledger/api/v2/admin/user_management_service.client.d.ts.map +1 -0
- package/dist/_proto/com/daml/ledger/api/v2/admin/user_management_service.client.js +126 -0
- package/dist/_proto/com/daml/ledger/api/v2/admin/user_management_service.d.ts +758 -0
- package/dist/_proto/com/daml/ledger/api/v2/admin/user_management_service.d.ts.map +1 -0
- package/dist/_proto/com/daml/ledger/api/v2/admin/user_management_service.js +1580 -0
- package/dist/_proto/com/daml/ledger/api/v2/command_completion_service.client.d.ts +66 -0
- package/dist/_proto/com/daml/ledger/api/v2/command_completion_service.client.d.ts.map +1 -0
- package/dist/_proto/com/daml/ledger/api/v2/command_completion_service.client.js +38 -0
- package/dist/_proto/com/daml/ledger/api/v2/command_completion_service.d.ts +90 -0
- package/dist/_proto/com/daml/ledger/api/v2/command_completion_service.d.ts.map +1 -0
- package/dist/_proto/com/daml/ledger/api/v2/command_completion_service.js +178 -0
- package/dist/_proto/com/daml/ledger/api/v2/command_service.client.d.ts +99 -0
- package/dist/_proto/com/daml/ledger/api/v2/command_service.client.d.ts.map +1 -0
- package/dist/_proto/com/daml/ledger/api/v2/command_service.client.js +61 -0
- package/dist/_proto/com/daml/ledger/api/v2/command_service.d.ts +210 -0
- package/dist/_proto/com/daml/ledger/api/v2/command_service.d.ts.map +1 -0
- package/dist/_proto/com/daml/ledger/api/v2/command_service.js +436 -0
- package/dist/_proto/com/daml/ledger/api/v2/command_submission_service.client.d.ts +80 -0
- package/dist/_proto/com/daml/ledger/api/v2/command_submission_service.client.d.ts.map +1 -0
- package/dist/_proto/com/daml/ledger/api/v2/command_submission_service.client.js +47 -0
- package/dist/_proto/com/daml/ledger/api/v2/command_submission_service.d.ts +91 -0
- package/dist/_proto/com/daml/ledger/api/v2/command_submission_service.d.ts.map +1 -0
- package/dist/_proto/com/daml/ledger/api/v2/command_submission_service.js +200 -0
- package/dist/_proto/com/daml/ledger/api/v2/commands.d.ts +491 -0
- package/dist/_proto/com/daml/ledger/api/v2/commands.d.ts.map +1 -0
- package/dist/_proto/com/daml/ledger/api/v2/commands.js +828 -0
- package/dist/_proto/com/daml/ledger/api/v2/completion.d.ts +149 -0
- package/dist/_proto/com/daml/ledger/api/v2/completion.d.ts.map +1 -0
- package/dist/_proto/com/daml/ledger/api/v2/completion.js +196 -0
- package/dist/_proto/com/daml/ledger/api/v2/event.d.ts +495 -0
- package/dist/_proto/com/daml/ledger/api/v2/event.d.ts.map +1 -0
- package/dist/_proto/com/daml/ledger/api/v2/event.js +723 -0
- package/dist/_proto/com/daml/ledger/api/v2/event_query_service.client.d.ts +52 -0
- package/dist/_proto/com/daml/ledger/api/v2/event_query_service.client.d.ts.map +1 -0
- package/dist/_proto/com/daml/ledger/api/v2/event_query_service.client.js +31 -0
- package/dist/_proto/com/daml/ledger/api/v2/event_query_service.d.ts +150 -0
- package/dist/_proto/com/daml/ledger/api/v2/event_query_service.d.ts.map +1 -0
- package/dist/_proto/com/daml/ledger/api/v2/event_query_service.js +291 -0
- package/dist/_proto/com/daml/ledger/api/v2/experimental_features.d.ts +96 -0
- package/dist/_proto/com/daml/ledger/api/v2/experimental_features.d.ts.map +1 -0
- package/dist/_proto/com/daml/ledger/api/v2/experimental_features.js +225 -0
- package/dist/_proto/com/daml/ledger/api/v2/interactive/interactive_submission_common_data.d.ts +43 -0
- package/dist/_proto/com/daml/ledger/api/v2/interactive/interactive_submission_common_data.d.ts.map +1 -0
- package/dist/_proto/com/daml/ledger/api/v2/interactive/interactive_submission_common_data.js +85 -0
- package/dist/_proto/com/daml/ledger/api/v2/interactive/interactive_submission_service.client.d.ts +100 -0
- package/dist/_proto/com/daml/ledger/api/v2/interactive/interactive_submission_service.client.d.ts.map +1 -0
- package/dist/_proto/com/daml/ledger/api/v2/interactive/interactive_submission_service.client.js +59 -0
- package/dist/_proto/com/daml/ledger/api/v2/interactive/interactive_submission_service.d.ts +877 -0
- package/dist/_proto/com/daml/ledger/api/v2/interactive/interactive_submission_service.d.ts.map +1 -0
- package/dist/_proto/com/daml/ledger/api/v2/interactive/interactive_submission_service.js +1768 -0
- package/dist/_proto/com/daml/ledger/api/v2/interactive/transaction/v1/interactive_submission_data.d.ts +259 -0
- package/dist/_proto/com/daml/ledger/api/v2/interactive/transaction/v1/interactive_submission_data.d.ts.map +1 -0
- package/dist/_proto/com/daml/ledger/api/v2/interactive/transaction/v1/interactive_submission_data.js +667 -0
- package/dist/_proto/com/daml/ledger/api/v2/offset_checkpoint.d.ts +69 -0
- package/dist/_proto/com/daml/ledger/api/v2/offset_checkpoint.d.ts.map +1 -0
- package/dist/_proto/com/daml/ledger/api/v2/offset_checkpoint.js +133 -0
- package/dist/_proto/com/daml/ledger/api/v2/package_reference.d.ts +41 -0
- package/dist/_proto/com/daml/ledger/api/v2/package_reference.d.ts.map +1 -0
- package/dist/_proto/com/daml/ledger/api/v2/package_reference.js +84 -0
- package/dist/_proto/com/daml/ledger/api/v2/package_service.client.d.ts +68 -0
- package/dist/_proto/com/daml/ledger/api/v2/package_service.client.d.ts.map +1 -0
- package/dist/_proto/com/daml/ledger/api/v2/package_service.client.js +43 -0
- package/dist/_proto/com/daml/ledger/api/v2/package_service.d.ts +181 -0
- package/dist/_proto/com/daml/ledger/api/v2/package_service.d.ts.map +1 -0
- package/dist/_proto/com/daml/ledger/api/v2/package_service.js +395 -0
- package/dist/_proto/com/daml/ledger/api/v2/reassignment.d.ts +308 -0
- package/dist/_proto/com/daml/ledger/api/v2/reassignment.d.ts.map +1 -0
- package/dist/_proto/com/daml/ledger/api/v2/reassignment.js +521 -0
- package/dist/_proto/com/daml/ledger/api/v2/reassignment_commands.d.ts +193 -0
- package/dist/_proto/com/daml/ledger/api/v2/reassignment_commands.d.ts.map +1 -0
- package/dist/_proto/com/daml/ledger/api/v2/reassignment_commands.js +350 -0
- package/dist/_proto/com/daml/ledger/api/v2/state_service.client.d.ts +91 -0
- package/dist/_proto/com/daml/ledger/api/v2/state_service.client.d.ts.map +1 -0
- package/dist/_proto/com/daml/ledger/api/v2/state_service.client.js +56 -0
- package/dist/_proto/com/daml/ledger/api/v2/state_service.d.ts +448 -0
- package/dist/_proto/com/daml/ledger/api/v2/state_service.d.ts.map +1 -0
- package/dist/_proto/com/daml/ledger/api/v2/state_service.js +874 -0
- package/dist/_proto/com/daml/ledger/api/v2/testing/time_service.client.d.ts +54 -0
- package/dist/_proto/com/daml/ledger/api/v2/testing/time_service.client.d.ts.map +1 -0
- package/dist/_proto/com/daml/ledger/api/v2/testing/time_service.client.js +34 -0
- package/dist/_proto/com/daml/ledger/api/v2/testing/time_service.d.ts +78 -0
- package/dist/_proto/com/daml/ledger/api/v2/testing/time_service.d.ts.map +1 -0
- package/dist/_proto/com/daml/ledger/api/v2/testing/time_service.js +168 -0
- package/dist/_proto/com/daml/ledger/api/v2/topology_transaction.d.ts +211 -0
- package/dist/_proto/com/daml/ledger/api/v2/topology_transaction.d.ts.map +1 -0
- package/dist/_proto/com/daml/ledger/api/v2/topology_transaction.js +447 -0
- package/dist/_proto/com/daml/ledger/api/v2/trace_context.d.ts +33 -0
- package/dist/_proto/com/daml/ledger/api/v2/trace_context.d.ts.map +1 -0
- package/dist/_proto/com/daml/ledger/api/v2/trace_context.js +69 -0
- package/dist/_proto/com/daml/ledger/api/v2/transaction.d.ts +252 -0
- package/dist/_proto/com/daml/ledger/api/v2/transaction.d.ts.map +1 -0
- package/dist/_proto/com/daml/ledger/api/v2/transaction.js +410 -0
- package/dist/_proto/com/daml/ledger/api/v2/transaction_filter.d.ts +453 -0
- package/dist/_proto/com/daml/ledger/api/v2/transaction_filter.d.ts.map +1 -0
- package/dist/_proto/com/daml/ledger/api/v2/transaction_filter.js +815 -0
- package/dist/_proto/com/daml/ledger/api/v2/update_service.client.d.ts +199 -0
- package/dist/_proto/com/daml/ledger/api/v2/update_service.client.d.ts.map +1 -0
- package/dist/_proto/com/daml/ledger/api/v2/update_service.client.js +121 -0
- package/dist/_proto/com/daml/ledger/api/v2/update_service.d.ts +424 -0
- package/dist/_proto/com/daml/ledger/api/v2/update_service.d.ts.map +1 -0
- package/dist/_proto/com/daml/ledger/api/v2/update_service.js +853 -0
- package/dist/_proto/com/daml/ledger/api/v2/value.d.ts +500 -0
- package/dist/_proto/com/daml/ledger/api/v2/value.d.ts.map +1 -0
- package/dist/_proto/com/daml/ledger/api/v2/value.js +937 -0
- package/dist/_proto/com/daml/ledger/api/v2/version_service.client.d.ts +40 -0
- package/dist/_proto/com/daml/ledger/api/v2/version_service.client.d.ts.map +1 -0
- package/dist/_proto/com/daml/ledger/api/v2/version_service.client.js +25 -0
- package/dist/_proto/com/daml/ledger/api/v2/version_service.d.ts +190 -0
- package/dist/_proto/com/daml/ledger/api/v2/version_service.d.ts.map +1 -0
- package/dist/_proto/com/daml/ledger/api/v2/version_service.js +400 -0
- package/dist/_proto/com/digitalasset/canton/crypto/v30/crypto.d.ts +1028 -0
- package/dist/_proto/com/digitalasset/canton/crypto/v30/crypto.d.ts.map +1 -0
- package/dist/_proto/com/digitalasset/canton/crypto/v30/crypto.js +2110 -0
- package/dist/_proto/com/digitalasset/canton/protocol/v30/sequencing_parameters.d.ts +30 -0
- package/dist/_proto/com/digitalasset/canton/protocol/v30/sequencing_parameters.d.ts.map +1 -0
- package/dist/_proto/com/digitalasset/canton/protocol/v30/sequencing_parameters.js +62 -0
- package/dist/_proto/com/digitalasset/canton/protocol/v30/synchronizer_parameters.d.ts +168 -0
- package/dist/_proto/com/digitalasset/canton/protocol/v30/synchronizer_parameters.d.ts.map +1 -0
- package/dist/_proto/com/digitalasset/canton/protocol/v30/synchronizer_parameters.js +395 -0
- package/dist/_proto/com/digitalasset/canton/protocol/v30/topology.d.ts +1105 -0
- package/dist/_proto/com/digitalasset/canton/protocol/v30/topology.d.ts.map +1 -0
- package/dist/_proto/com/digitalasset/canton/protocol/v30/topology.js +2294 -0
- package/dist/_proto/com/digitalasset/canton/protocol/v30/traffic_control_parameters.d.ts +278 -0
- package/dist/_proto/com/digitalasset/canton/protocol/v30/traffic_control_parameters.d.ts.map +1 -0
- package/dist/_proto/com/digitalasset/canton/protocol/v30/traffic_control_parameters.js +654 -0
- package/dist/_proto/com/digitalasset/canton/topology/admin/v30/common.d.ts +166 -0
- package/dist/_proto/com/digitalasset/canton/topology/admin/v30/common.d.ts.map +1 -0
- package/dist/_proto/com/digitalasset/canton/topology/admin/v30/common.js +379 -0
- package/dist/_proto/com/digitalasset/canton/topology/admin/v30/topology_manager_read_service.client.d.ts +199 -0
- package/dist/_proto/com/digitalasset/canton/topology/admin/v30/topology_manager_read_service.client.d.ts.map +1 -0
- package/dist/_proto/com/digitalasset/canton/topology/admin/v30/topology_manager_read_service.client.js +136 -0
- package/dist/_proto/com/digitalasset/canton/topology/admin/v30/topology_manager_read_service.d.ts +1195 -0
- package/dist/_proto/com/digitalasset/canton/topology/admin/v30/topology_manager_read_service.d.ts.map +1 -0
- package/dist/_proto/com/digitalasset/canton/topology/admin/v30/topology_manager_read_service.js +3342 -0
- package/dist/_proto/com/digitalasset/canton/topology/admin/v30/topology_manager_write_service.client.d.ts +119 -0
- package/dist/_proto/com/digitalasset/canton/topology/admin/v30/topology_manager_write_service.client.d.ts.map +1 -0
- package/dist/_proto/com/digitalasset/canton/topology/admin/v30/topology_manager_write_service.client.js +76 -0
- package/dist/_proto/com/digitalasset/canton/topology/admin/v30/topology_manager_write_service.d.ts +607 -0
- package/dist/_proto/com/digitalasset/canton/topology/admin/v30/topology_manager_write_service.d.ts.map +1 -0
- package/dist/_proto/com/digitalasset/canton/topology/admin/v30/topology_manager_write_service.js +1292 -0
- package/dist/_proto/google/protobuf/any.d.ts +177 -0
- package/dist/_proto/google/protobuf/any.d.ts.map +1 -0
- package/dist/_proto/google/protobuf/any.js +175 -0
- package/dist/_proto/google/protobuf/descriptor.d.ts +1638 -0
- package/dist/_proto/google/protobuf/descriptor.d.ts.map +1 -0
- package/dist/_proto/google/protobuf/descriptor.js +2999 -0
- package/dist/_proto/google/protobuf/duration.d.ts +114 -0
- package/dist/_proto/google/protobuf/duration.d.ts.map +1 -0
- package/dist/_proto/google/protobuf/duration.js +113 -0
- package/dist/_proto/google/protobuf/empty.d.ts +33 -0
- package/dist/_proto/google/protobuf/empty.d.ts.map +1 -0
- package/dist/_proto/google/protobuf/empty.js +41 -0
- package/dist/_proto/google/protobuf/field_mask.d.ts +240 -0
- package/dist/_proto/google/protobuf/field_mask.d.ts.map +1 -0
- package/dist/_proto/google/protobuf/field_mask.js +95 -0
- package/dist/_proto/google/protobuf/struct.d.ts +187 -0
- package/dist/_proto/google/protobuf/struct.d.ts.map +1 -0
- package/dist/_proto/google/protobuf/struct.js +417 -0
- package/dist/_proto/google/protobuf/timestamp.d.ts +159 -0
- package/dist/_proto/google/protobuf/timestamp.d.ts.map +1 -0
- package/dist/_proto/google/protobuf/timestamp.js +157 -0
- package/dist/_proto/google/rpc/code.d.ts +219 -0
- package/dist/_proto/google/rpc/code.d.ts.map +1 -0
- package/dist/_proto/google/rpc/code.js +237 -0
- package/dist/_proto/google/rpc/context/attribute_context.d.ts +594 -0
- package/dist/_proto/google/rpc/context/attribute_context.d.ts.map +1 -0
- package/dist/_proto/google/rpc/context/attribute_context.js +1007 -0
- package/dist/_proto/google/rpc/context/audit_context.d.ts +62 -0
- package/dist/_proto/google/rpc/context/audit_context.d.ts.map +1 -0
- package/dist/_proto/google/rpc/context/audit_context.js +111 -0
- package/dist/_proto/google/rpc/error_details.d.ts +549 -0
- package/dist/_proto/google/rpc/error_details.d.ts.map +1 -0
- package/dist/_proto/google/rpc/error_details.js +918 -0
- package/dist/_proto/google/rpc/status.d.ts +55 -0
- package/dist/_proto/google/rpc/status.d.ts.map +1 -0
- package/dist/_proto/google/rpc/status.js +79 -0
- package/dist/_proto/scalapb/scalapb.d.ts +779 -0
- package/dist/_proto/scalapb/scalapb.d.ts.map +1 -0
- package/dist/_proto/scalapb/scalapb.js +1658 -0
- package/dist/index.d.ts +13 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +12 -0
- package/package.json +29 -0
|
@@ -0,0 +1,278 @@
|
|
|
1
|
+
import type { BinaryWriteOptions } from '@protobuf-ts/runtime';
|
|
2
|
+
import type { IBinaryWriter } from '@protobuf-ts/runtime';
|
|
3
|
+
import type { BinaryReadOptions } from '@protobuf-ts/runtime';
|
|
4
|
+
import type { IBinaryReader } from '@protobuf-ts/runtime';
|
|
5
|
+
import type { PartialMessage } from '@protobuf-ts/runtime';
|
|
6
|
+
import { MessageType } from '@protobuf-ts/runtime';
|
|
7
|
+
import { Duration } from '../../../../../google/protobuf/duration.js';
|
|
8
|
+
/**
|
|
9
|
+
* @generated from protobuf message com.digitalasset.canton.protocol.v30.TrafficControlParameters
|
|
10
|
+
*/
|
|
11
|
+
export interface TrafficControlParameters {
|
|
12
|
+
/**
|
|
13
|
+
* In bytes, the maximum amount of base traffic that can be accumulated
|
|
14
|
+
*
|
|
15
|
+
* @generated from protobuf field: uint64 max_base_traffic_amount = 1
|
|
16
|
+
*/
|
|
17
|
+
maxBaseTrafficAmount: bigint;
|
|
18
|
+
/**
|
|
19
|
+
* Maximum duration over which the base rate can be accumulated
|
|
20
|
+
* Consequently, base_traffic_rate = max_base_traffic_amount / max_base_traffic_accumulation_duration
|
|
21
|
+
*
|
|
22
|
+
* @generated from protobuf field: google.protobuf.Duration max_base_traffic_accumulation_duration = 3
|
|
23
|
+
*/
|
|
24
|
+
maxBaseTrafficAccumulationDuration?: Duration;
|
|
25
|
+
/**
|
|
26
|
+
* Read scaling factor to compute the event cost. In parts per 10 000.
|
|
27
|
+
*
|
|
28
|
+
* @generated from protobuf field: uint32 read_vs_write_scaling_factor = 4
|
|
29
|
+
*/
|
|
30
|
+
readVsWriteScalingFactor: number;
|
|
31
|
+
/**
|
|
32
|
+
* Window size used to compute the max sequencing time of a submission request
|
|
33
|
+
* This impacts how quickly a submission is expected to be accepted before a retry should be attempted by the caller
|
|
34
|
+
* Default is 5 minutes
|
|
35
|
+
*
|
|
36
|
+
* @generated from protobuf field: google.protobuf.Duration set_balance_request_submission_window_size = 5
|
|
37
|
+
*/
|
|
38
|
+
setBalanceRequestSubmissionWindowSize?: Duration;
|
|
39
|
+
/**
|
|
40
|
+
* If true, submission requests without enough traffic credit will not be delivered
|
|
41
|
+
*
|
|
42
|
+
* @generated from protobuf field: bool enforce_rate_limiting = 6
|
|
43
|
+
*/
|
|
44
|
+
enforceRateLimiting: boolean;
|
|
45
|
+
/**
|
|
46
|
+
* In bytes, base event cost added to all sequenced events.
|
|
47
|
+
* Optional
|
|
48
|
+
*
|
|
49
|
+
* @generated from protobuf field: optional uint64 base_event_cost = 7
|
|
50
|
+
*/
|
|
51
|
+
baseEventCost?: bigint;
|
|
52
|
+
}
|
|
53
|
+
/**
|
|
54
|
+
* Message representing a traffic receipt included in SequencedEvent receipts to update sender about
|
|
55
|
+
* the traffic consumed state after sequencing of the event
|
|
56
|
+
*
|
|
57
|
+
* @generated from protobuf message com.digitalasset.canton.protocol.v30.TrafficReceipt
|
|
58
|
+
*/
|
|
59
|
+
export interface TrafficReceipt {
|
|
60
|
+
/**
|
|
61
|
+
* Cost effectively consumed by this specific event
|
|
62
|
+
*
|
|
63
|
+
* @generated from protobuf field: uint64 consumed_cost = 1
|
|
64
|
+
*/
|
|
65
|
+
consumedCost: bigint;
|
|
66
|
+
/**
|
|
67
|
+
* Total amount of extra traffic consumed
|
|
68
|
+
*
|
|
69
|
+
* @generated from protobuf field: uint64 extra_traffic_consumed = 2
|
|
70
|
+
*/
|
|
71
|
+
extraTrafficConsumed: bigint;
|
|
72
|
+
/**
|
|
73
|
+
* Remaining free base traffic
|
|
74
|
+
*
|
|
75
|
+
* @generated from protobuf field: uint64 base_traffic_remainder = 3
|
|
76
|
+
*/
|
|
77
|
+
baseTrafficRemainder: bigint;
|
|
78
|
+
}
|
|
79
|
+
/**
|
|
80
|
+
* Message representing traffic consumed by a member at a given point in time
|
|
81
|
+
*
|
|
82
|
+
* @generated from protobuf message com.digitalasset.canton.protocol.v30.TrafficConsumed
|
|
83
|
+
*/
|
|
84
|
+
export interface TrafficConsumed {
|
|
85
|
+
/**
|
|
86
|
+
* Member consuming the traffic
|
|
87
|
+
*
|
|
88
|
+
* @generated from protobuf field: string member = 1
|
|
89
|
+
*/
|
|
90
|
+
member: string;
|
|
91
|
+
/**
|
|
92
|
+
* Total extra traffic consumed
|
|
93
|
+
*
|
|
94
|
+
* @generated from protobuf field: uint64 extra_traffic_consumed = 2
|
|
95
|
+
*/
|
|
96
|
+
extraTrafficConsumed: bigint;
|
|
97
|
+
/**
|
|
98
|
+
* Remaining free base traffic
|
|
99
|
+
*
|
|
100
|
+
* @generated from protobuf field: uint64 base_traffic_remainder = 3
|
|
101
|
+
*/
|
|
102
|
+
baseTrafficRemainder: bigint;
|
|
103
|
+
/**
|
|
104
|
+
* Cost deducted at `timestamp`, only present when traffic was consumed at `timestamp`, otherwise is set to 0
|
|
105
|
+
*
|
|
106
|
+
* @generated from protobuf field: uint64 last_consumed_cost = 4
|
|
107
|
+
*/
|
|
108
|
+
lastConsumedCost: bigint;
|
|
109
|
+
/**
|
|
110
|
+
* Timestamp at which this state is valid - this timestamp is used to compute the base traffic remainder above
|
|
111
|
+
*
|
|
112
|
+
* @generated from protobuf field: int64 sequencing_timestamp = 5
|
|
113
|
+
*/
|
|
114
|
+
sequencingTimestamp: bigint;
|
|
115
|
+
}
|
|
116
|
+
/**
|
|
117
|
+
* Message representing a traffic purchase made on behalf of a member
|
|
118
|
+
*
|
|
119
|
+
* @generated from protobuf message com.digitalasset.canton.protocol.v30.TrafficPurchased
|
|
120
|
+
*/
|
|
121
|
+
export interface TrafficPurchased {
|
|
122
|
+
/**
|
|
123
|
+
* Member receiving the traffic
|
|
124
|
+
*
|
|
125
|
+
* @generated from protobuf field: string member = 1
|
|
126
|
+
*/
|
|
127
|
+
member: string;
|
|
128
|
+
/**
|
|
129
|
+
* Serial of the update
|
|
130
|
+
*
|
|
131
|
+
* @generated from protobuf field: uint32 serial = 2
|
|
132
|
+
*/
|
|
133
|
+
serial: number;
|
|
134
|
+
/**
|
|
135
|
+
* New total extra traffic purchased
|
|
136
|
+
*
|
|
137
|
+
* @generated from protobuf field: uint64 extra_traffic_purchased = 3
|
|
138
|
+
*/
|
|
139
|
+
extraTrafficPurchased: bigint;
|
|
140
|
+
/**
|
|
141
|
+
* Timestamp at which this state is valid
|
|
142
|
+
*
|
|
143
|
+
* @generated from protobuf field: int64 sequencing_timestamp = 4
|
|
144
|
+
*/
|
|
145
|
+
sequencingTimestamp: bigint;
|
|
146
|
+
}
|
|
147
|
+
/**
|
|
148
|
+
* Traffic state of a member at a given timestamp
|
|
149
|
+
*
|
|
150
|
+
* @generated from protobuf message com.digitalasset.canton.protocol.v30.TrafficState
|
|
151
|
+
*/
|
|
152
|
+
export interface TrafficState {
|
|
153
|
+
/**
|
|
154
|
+
* Total amount of extra traffic purchased
|
|
155
|
+
*
|
|
156
|
+
* @generated from protobuf field: int64 extra_traffic_purchased = 1
|
|
157
|
+
*/
|
|
158
|
+
extraTrafficPurchased: bigint;
|
|
159
|
+
/**
|
|
160
|
+
* Total amount of extra traffic consumed
|
|
161
|
+
*
|
|
162
|
+
* @generated from protobuf field: int64 extra_traffic_consumed = 2
|
|
163
|
+
*/
|
|
164
|
+
extraTrafficConsumed: bigint;
|
|
165
|
+
/**
|
|
166
|
+
* Amount of base traffic remaining
|
|
167
|
+
*
|
|
168
|
+
* @generated from protobuf field: int64 base_traffic_remainder = 3
|
|
169
|
+
*/
|
|
170
|
+
baseTrafficRemainder: bigint;
|
|
171
|
+
/**
|
|
172
|
+
* Cost deducted at `timestamp`, only present when traffic was consumed at `timestamp`, otherwise is set to 0
|
|
173
|
+
*
|
|
174
|
+
* @generated from protobuf field: uint64 last_consumed_cost = 4
|
|
175
|
+
*/
|
|
176
|
+
lastConsumedCost: bigint;
|
|
177
|
+
/**
|
|
178
|
+
* Timestamp at which the state is valid
|
|
179
|
+
*
|
|
180
|
+
* @generated from protobuf field: int64 timestamp = 5
|
|
181
|
+
*/
|
|
182
|
+
timestamp: bigint;
|
|
183
|
+
/**
|
|
184
|
+
* Optional serial of the balance update that updated the extra traffic limit
|
|
185
|
+
*
|
|
186
|
+
* @generated from protobuf field: optional uint32 serial = 6
|
|
187
|
+
*/
|
|
188
|
+
serial?: number;
|
|
189
|
+
}
|
|
190
|
+
/**
|
|
191
|
+
* @generated from protobuf message com.digitalasset.canton.protocol.v30.SetTrafficPurchasedMessage
|
|
192
|
+
*/
|
|
193
|
+
export interface SetTrafficPurchasedMessage {
|
|
194
|
+
/**
|
|
195
|
+
* Member to update the balance for
|
|
196
|
+
*
|
|
197
|
+
* @generated from protobuf field: string member = 1
|
|
198
|
+
*/
|
|
199
|
+
member: string;
|
|
200
|
+
/**
|
|
201
|
+
* Serial number - must be unique and monotonically increasing for each new purchase update
|
|
202
|
+
*
|
|
203
|
+
* @generated from protobuf field: uint32 serial = 2
|
|
204
|
+
*/
|
|
205
|
+
serial: number;
|
|
206
|
+
/**
|
|
207
|
+
* New total traffic purchased entry
|
|
208
|
+
*
|
|
209
|
+
* @generated from protobuf field: uint64 total_traffic_purchased = 4
|
|
210
|
+
*/
|
|
211
|
+
totalTrafficPurchased: bigint;
|
|
212
|
+
/**
|
|
213
|
+
* @generated from protobuf field: string synchronizer_id = 5
|
|
214
|
+
*/
|
|
215
|
+
synchronizerId: string;
|
|
216
|
+
}
|
|
217
|
+
declare class TrafficControlParameters$Type extends MessageType<TrafficControlParameters> {
|
|
218
|
+
constructor();
|
|
219
|
+
create(value?: PartialMessage<TrafficControlParameters>): TrafficControlParameters;
|
|
220
|
+
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: TrafficControlParameters): TrafficControlParameters;
|
|
221
|
+
internalBinaryWrite(message: TrafficControlParameters, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
|
|
222
|
+
}
|
|
223
|
+
/**
|
|
224
|
+
* @generated MessageType for protobuf message com.digitalasset.canton.protocol.v30.TrafficControlParameters
|
|
225
|
+
*/
|
|
226
|
+
export declare const TrafficControlParameters: TrafficControlParameters$Type;
|
|
227
|
+
declare class TrafficReceipt$Type extends MessageType<TrafficReceipt> {
|
|
228
|
+
constructor();
|
|
229
|
+
create(value?: PartialMessage<TrafficReceipt>): TrafficReceipt;
|
|
230
|
+
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: TrafficReceipt): TrafficReceipt;
|
|
231
|
+
internalBinaryWrite(message: TrafficReceipt, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
|
|
232
|
+
}
|
|
233
|
+
/**
|
|
234
|
+
* @generated MessageType for protobuf message com.digitalasset.canton.protocol.v30.TrafficReceipt
|
|
235
|
+
*/
|
|
236
|
+
export declare const TrafficReceipt: TrafficReceipt$Type;
|
|
237
|
+
declare class TrafficConsumed$Type extends MessageType<TrafficConsumed> {
|
|
238
|
+
constructor();
|
|
239
|
+
create(value?: PartialMessage<TrafficConsumed>): TrafficConsumed;
|
|
240
|
+
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: TrafficConsumed): TrafficConsumed;
|
|
241
|
+
internalBinaryWrite(message: TrafficConsumed, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
|
|
242
|
+
}
|
|
243
|
+
/**
|
|
244
|
+
* @generated MessageType for protobuf message com.digitalasset.canton.protocol.v30.TrafficConsumed
|
|
245
|
+
*/
|
|
246
|
+
export declare const TrafficConsumed: TrafficConsumed$Type;
|
|
247
|
+
declare class TrafficPurchased$Type extends MessageType<TrafficPurchased> {
|
|
248
|
+
constructor();
|
|
249
|
+
create(value?: PartialMessage<TrafficPurchased>): TrafficPurchased;
|
|
250
|
+
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: TrafficPurchased): TrafficPurchased;
|
|
251
|
+
internalBinaryWrite(message: TrafficPurchased, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
|
|
252
|
+
}
|
|
253
|
+
/**
|
|
254
|
+
* @generated MessageType for protobuf message com.digitalasset.canton.protocol.v30.TrafficPurchased
|
|
255
|
+
*/
|
|
256
|
+
export declare const TrafficPurchased: TrafficPurchased$Type;
|
|
257
|
+
declare class TrafficState$Type extends MessageType<TrafficState> {
|
|
258
|
+
constructor();
|
|
259
|
+
create(value?: PartialMessage<TrafficState>): TrafficState;
|
|
260
|
+
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: TrafficState): TrafficState;
|
|
261
|
+
internalBinaryWrite(message: TrafficState, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
|
|
262
|
+
}
|
|
263
|
+
/**
|
|
264
|
+
* @generated MessageType for protobuf message com.digitalasset.canton.protocol.v30.TrafficState
|
|
265
|
+
*/
|
|
266
|
+
export declare const TrafficState: TrafficState$Type;
|
|
267
|
+
declare class SetTrafficPurchasedMessage$Type extends MessageType<SetTrafficPurchasedMessage> {
|
|
268
|
+
constructor();
|
|
269
|
+
create(value?: PartialMessage<SetTrafficPurchasedMessage>): SetTrafficPurchasedMessage;
|
|
270
|
+
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: SetTrafficPurchasedMessage): SetTrafficPurchasedMessage;
|
|
271
|
+
internalBinaryWrite(message: SetTrafficPurchasedMessage, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
|
|
272
|
+
}
|
|
273
|
+
/**
|
|
274
|
+
* @generated MessageType for protobuf message com.digitalasset.canton.protocol.v30.SetTrafficPurchasedMessage
|
|
275
|
+
*/
|
|
276
|
+
export declare const SetTrafficPurchasedMessage: SetTrafficPurchasedMessage$Type;
|
|
277
|
+
export {};
|
|
278
|
+
//# sourceMappingURL=traffic_control_parameters.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"traffic_control_parameters.d.ts","sourceRoot":"","sources":["../../../../../../../src/_proto/com/digitalasset/canton/protocol/v30/traffic_control_parameters.ts"],"names":[],"mappings":"AAOA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAA;AAC9D,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,sBAAsB,CAAA;AAEzD,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,sBAAsB,CAAA;AAC7D,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,sBAAsB,CAAA;AAEzD,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAA;AAE1D,OAAO,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAA;AAClD,OAAO,EAAE,QAAQ,EAAE,MAAM,4CAA4C,CAAA;AACrE;;GAEG;AACH,MAAM,WAAW,wBAAwB;IACrC;;;;OAIG;IACH,oBAAoB,EAAE,MAAM,CAAA;IAC5B;;;;;OAKG;IACH,kCAAkC,CAAC,EAAE,QAAQ,CAAA;IAC7C;;;;OAIG;IACH,wB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