@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,560 @@
|
|
|
1
|
+
// @generated by protobuf-ts 2.11.1 with parameter generate_dependencies
|
|
2
|
+
// @generated from protobuf file "com/daml/ledger/api/v2/admin/command_inspection_service.proto" (package "com.daml.ledger.api.v2.admin", syntax proto3)
|
|
3
|
+
// tslint:disable
|
|
4
|
+
//
|
|
5
|
+
// Copyright (c) 2025 Digital Asset (Switzerland) GmbH and/or its affiliates. All rights reserved.
|
|
6
|
+
// SPDX-License-Identifier: Apache-2.0
|
|
7
|
+
//
|
|
8
|
+
import { ServiceType } from '@protobuf-ts/runtime-rpc';
|
|
9
|
+
import { WireType } from '@protobuf-ts/runtime';
|
|
10
|
+
import { UnknownFieldHandler } from '@protobuf-ts/runtime';
|
|
11
|
+
import { reflectionMergePartial } from '@protobuf-ts/runtime';
|
|
12
|
+
import { MessageType } from '@protobuf-ts/runtime';
|
|
13
|
+
import { Value } from '../value.js';
|
|
14
|
+
import { Identifier } from '../value.js';
|
|
15
|
+
import { Command } from '../commands.js';
|
|
16
|
+
import { Completion } from '../completion.js';
|
|
17
|
+
import { Timestamp } from '../../../../../../google/protobuf/timestamp.js';
|
|
18
|
+
/**
|
|
19
|
+
* @generated from protobuf enum com.daml.ledger.api.v2.admin.CommandState
|
|
20
|
+
*/
|
|
21
|
+
export var CommandState;
|
|
22
|
+
(function (CommandState) {
|
|
23
|
+
/**
|
|
24
|
+
* This value acts as wildcard in the queries
|
|
25
|
+
*
|
|
26
|
+
* @generated from protobuf enum value: COMMAND_STATE_UNSPECIFIED = 0;
|
|
27
|
+
*/
|
|
28
|
+
CommandState[CommandState["UNSPECIFIED"] = 0] = "UNSPECIFIED";
|
|
29
|
+
/**
|
|
30
|
+
* @generated from protobuf enum value: COMMAND_STATE_PENDING = 1;
|
|
31
|
+
*/
|
|
32
|
+
CommandState[CommandState["PENDING"] = 1] = "PENDING";
|
|
33
|
+
/**
|
|
34
|
+
* @generated from protobuf enum value: COMMAND_STATE_SUCCEEDED = 2;
|
|
35
|
+
*/
|
|
36
|
+
CommandState[CommandState["SUCCEEDED"] = 2] = "SUCCEEDED";
|
|
37
|
+
/**
|
|
38
|
+
* @generated from protobuf enum value: COMMAND_STATE_FAILED = 3;
|
|
39
|
+
*/
|
|
40
|
+
CommandState[CommandState["FAILED"] = 3] = "FAILED";
|
|
41
|
+
})(CommandState || (CommandState = {}));
|
|
42
|
+
// @generated message type with reflection information, may provide speed optimized methods
|
|
43
|
+
class GetCommandStatusRequest$Type extends MessageType {
|
|
44
|
+
constructor() {
|
|
45
|
+
super('com.daml.ledger.api.v2.admin.GetCommandStatusRequest', [
|
|
46
|
+
{
|
|
47
|
+
no: 1,
|
|
48
|
+
name: 'command_id_prefix',
|
|
49
|
+
kind: 'scalar',
|
|
50
|
+
T: 9 /*ScalarType.STRING*/,
|
|
51
|
+
},
|
|
52
|
+
{
|
|
53
|
+
no: 2,
|
|
54
|
+
name: 'state',
|
|
55
|
+
kind: 'enum',
|
|
56
|
+
T: () => [
|
|
57
|
+
'com.daml.ledger.api.v2.admin.CommandState',
|
|
58
|
+
CommandState,
|
|
59
|
+
'COMMAND_STATE_',
|
|
60
|
+
],
|
|
61
|
+
},
|
|
62
|
+
{
|
|
63
|
+
no: 3,
|
|
64
|
+
name: 'limit',
|
|
65
|
+
kind: 'scalar',
|
|
66
|
+
T: 13 /*ScalarType.UINT32*/,
|
|
67
|
+
},
|
|
68
|
+
]);
|
|
69
|
+
}
|
|
70
|
+
create(value) {
|
|
71
|
+
const message = globalThis.Object.create(this.messagePrototype);
|
|
72
|
+
message.commandIdPrefix = '';
|
|
73
|
+
message.state = 0;
|
|
74
|
+
message.limit = 0;
|
|
75
|
+
if (value !== undefined)
|
|
76
|
+
reflectionMergePartial(this, message, value);
|
|
77
|
+
return message;
|
|
78
|
+
}
|
|
79
|
+
internalBinaryRead(reader, length, options, target) {
|
|
80
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
|
81
|
+
while (reader.pos < end) {
|
|
82
|
+
let [fieldNo, wireType] = reader.tag();
|
|
83
|
+
switch (fieldNo) {
|
|
84
|
+
case /* string command_id_prefix */ 1:
|
|
85
|
+
message.commandIdPrefix = reader.string();
|
|
86
|
+
break;
|
|
87
|
+
case /* com.daml.ledger.api.v2.admin.CommandState state */ 2:
|
|
88
|
+
message.state = reader.int32();
|
|
89
|
+
break;
|
|
90
|
+
case /* uint32 limit */ 3:
|
|
91
|
+
message.limit = reader.uint32();
|
|
92
|
+
break;
|
|
93
|
+
default:
|
|
94
|
+
let u = options.readUnknownField;
|
|
95
|
+
if (u === 'throw')
|
|
96
|
+
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
97
|
+
let d = reader.skip(wireType);
|
|
98
|
+
if (u !== false)
|
|
99
|
+
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
100
|
+
}
|
|
101
|
+
}
|
|
102
|
+
return message;
|
|
103
|
+
}
|
|
104
|
+
internalBinaryWrite(message, writer, options) {
|
|
105
|
+
/* string command_id_prefix = 1; */
|
|
106
|
+
if (message.commandIdPrefix !== '')
|
|
107
|
+
writer
|
|
108
|
+
.tag(1, WireType.LengthDelimited)
|
|
109
|
+
.string(message.commandIdPrefix);
|
|
110
|
+
/* com.daml.ledger.api.v2.admin.CommandState state = 2; */
|
|
111
|
+
if (message.state !== 0)
|
|
112
|
+
writer.tag(2, WireType.Varint).int32(message.state);
|
|
113
|
+
/* uint32 limit = 3; */
|
|
114
|
+
if (message.limit !== 0)
|
|
115
|
+
writer.tag(3, WireType.Varint).uint32(message.limit);
|
|
116
|
+
let u = options.writeUnknownFields;
|
|
117
|
+
if (u !== false)
|
|
118
|
+
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
119
|
+
return writer;
|
|
120
|
+
}
|
|
121
|
+
}
|
|
122
|
+
/**
|
|
123
|
+
* @generated MessageType for protobuf message com.daml.ledger.api.v2.admin.GetCommandStatusRequest
|
|
124
|
+
*/
|
|
125
|
+
export const GetCommandStatusRequest = new GetCommandStatusRequest$Type();
|
|
126
|
+
// @generated message type with reflection information, may provide speed optimized methods
|
|
127
|
+
class GetCommandStatusResponse$Type extends MessageType {
|
|
128
|
+
constructor() {
|
|
129
|
+
super('com.daml.ledger.api.v2.admin.GetCommandStatusResponse', [
|
|
130
|
+
{
|
|
131
|
+
no: 1,
|
|
132
|
+
name: 'command_status',
|
|
133
|
+
kind: 'message',
|
|
134
|
+
repeat: 2 /*RepeatType.UNPACKED*/,
|
|
135
|
+
T: () => CommandStatus,
|
|
136
|
+
},
|
|
137
|
+
]);
|
|
138
|
+
}
|
|
139
|
+
create(value) {
|
|
140
|
+
const message = globalThis.Object.create(this.messagePrototype);
|
|
141
|
+
message.commandStatus = [];
|
|
142
|
+
if (value !== undefined)
|
|
143
|
+
reflectionMergePartial(this, message, value);
|
|
144
|
+
return message;
|
|
145
|
+
}
|
|
146
|
+
internalBinaryRead(reader, length, options, target) {
|
|
147
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
|
148
|
+
while (reader.pos < end) {
|
|
149
|
+
let [fieldNo, wireType] = reader.tag();
|
|
150
|
+
switch (fieldNo) {
|
|
151
|
+
case /* repeated com.daml.ledger.api.v2.admin.CommandStatus command_status */ 1:
|
|
152
|
+
message.commandStatus.push(CommandStatus.internalBinaryRead(reader, reader.uint32(), options));
|
|
153
|
+
break;
|
|
154
|
+
default:
|
|
155
|
+
let u = options.readUnknownField;
|
|
156
|
+
if (u === 'throw')
|
|
157
|
+
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
158
|
+
let d = reader.skip(wireType);
|
|
159
|
+
if (u !== false)
|
|
160
|
+
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
161
|
+
}
|
|
162
|
+
}
|
|
163
|
+
return message;
|
|
164
|
+
}
|
|
165
|
+
internalBinaryWrite(message, writer, options) {
|
|
166
|
+
/* repeated com.daml.ledger.api.v2.admin.CommandStatus command_status = 1; */
|
|
167
|
+
for (let i = 0; i < message.commandStatus.length; i++)
|
|
168
|
+
CommandStatus.internalBinaryWrite(message.commandStatus[i], writer.tag(1, WireType.LengthDelimited).fork(), options).join();
|
|
169
|
+
let u = options.writeUnknownFields;
|
|
170
|
+
if (u !== false)
|
|
171
|
+
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
172
|
+
return writer;
|
|
173
|
+
}
|
|
174
|
+
}
|
|
175
|
+
/**
|
|
176
|
+
* @generated MessageType for protobuf message com.daml.ledger.api.v2.admin.GetCommandStatusResponse
|
|
177
|
+
*/
|
|
178
|
+
export const GetCommandStatusResponse = new GetCommandStatusResponse$Type();
|
|
179
|
+
// @generated message type with reflection information, may provide speed optimized methods
|
|
180
|
+
class CommandStatus$Type extends MessageType {
|
|
181
|
+
constructor() {
|
|
182
|
+
super('com.daml.ledger.api.v2.admin.CommandStatus', [
|
|
183
|
+
{ no: 1, name: 'started', kind: 'message', T: () => Timestamp },
|
|
184
|
+
{ no: 2, name: 'completed', kind: 'message', T: () => Timestamp },
|
|
185
|
+
{ no: 3, name: 'completion', kind: 'message', T: () => Completion },
|
|
186
|
+
{
|
|
187
|
+
no: 4,
|
|
188
|
+
name: 'state',
|
|
189
|
+
kind: 'enum',
|
|
190
|
+
T: () => [
|
|
191
|
+
'com.daml.ledger.api.v2.admin.CommandState',
|
|
192
|
+
CommandState,
|
|
193
|
+
'COMMAND_STATE_',
|
|
194
|
+
],
|
|
195
|
+
},
|
|
196
|
+
{
|
|
197
|
+
no: 5,
|
|
198
|
+
name: 'commands',
|
|
199
|
+
kind: 'message',
|
|
200
|
+
repeat: 2 /*RepeatType.UNPACKED*/,
|
|
201
|
+
T: () => Command,
|
|
202
|
+
},
|
|
203
|
+
{
|
|
204
|
+
no: 6,
|
|
205
|
+
name: 'request_statistics',
|
|
206
|
+
kind: 'message',
|
|
207
|
+
T: () => RequestStatistics,
|
|
208
|
+
},
|
|
209
|
+
{
|
|
210
|
+
no: 7,
|
|
211
|
+
name: 'updates',
|
|
212
|
+
kind: 'message',
|
|
213
|
+
T: () => CommandUpdates,
|
|
214
|
+
},
|
|
215
|
+
]);
|
|
216
|
+
}
|
|
217
|
+
create(value) {
|
|
218
|
+
const message = globalThis.Object.create(this.messagePrototype);
|
|
219
|
+
message.state = 0;
|
|
220
|
+
message.commands = [];
|
|
221
|
+
if (value !== undefined)
|
|
222
|
+
reflectionMergePartial(this, message, value);
|
|
223
|
+
return message;
|
|
224
|
+
}
|
|
225
|
+
internalBinaryRead(reader, length, options, target) {
|
|
226
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
|
227
|
+
while (reader.pos < end) {
|
|
228
|
+
let [fieldNo, wireType] = reader.tag();
|
|
229
|
+
switch (fieldNo) {
|
|
230
|
+
case /* google.protobuf.Timestamp started */ 1:
|
|
231
|
+
message.started = Timestamp.internalBinaryRead(reader, reader.uint32(), options, message.started);
|
|
232
|
+
break;
|
|
233
|
+
case /* google.protobuf.Timestamp completed */ 2:
|
|
234
|
+
message.completed = Timestamp.internalBinaryRead(reader, reader.uint32(), options, message.completed);
|
|
235
|
+
break;
|
|
236
|
+
case /* com.daml.ledger.api.v2.Completion completion */ 3:
|
|
237
|
+
message.completion = Completion.internalBinaryRead(reader, reader.uint32(), options, message.completion);
|
|
238
|
+
break;
|
|
239
|
+
case /* com.daml.ledger.api.v2.admin.CommandState state */ 4:
|
|
240
|
+
message.state = reader.int32();
|
|
241
|
+
break;
|
|
242
|
+
case /* repeated com.daml.ledger.api.v2.Command commands */ 5:
|
|
243
|
+
message.commands.push(Command.internalBinaryRead(reader, reader.uint32(), options));
|
|
244
|
+
break;
|
|
245
|
+
case /* com.daml.ledger.api.v2.admin.RequestStatistics request_statistics */ 6:
|
|
246
|
+
message.requestStatistics =
|
|
247
|
+
RequestStatistics.internalBinaryRead(reader, reader.uint32(), options, message.requestStatistics);
|
|
248
|
+
break;
|
|
249
|
+
case /* com.daml.ledger.api.v2.admin.CommandUpdates updates */ 7:
|
|
250
|
+
message.updates = CommandUpdates.internalBinaryRead(reader, reader.uint32(), options, message.updates);
|
|
251
|
+
break;
|
|
252
|
+
default:
|
|
253
|
+
let u = options.readUnknownField;
|
|
254
|
+
if (u === 'throw')
|
|
255
|
+
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
256
|
+
let d = reader.skip(wireType);
|
|
257
|
+
if (u !== false)
|
|
258
|
+
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
259
|
+
}
|
|
260
|
+
}
|
|
261
|
+
return message;
|
|
262
|
+
}
|
|
263
|
+
internalBinaryWrite(message, writer, options) {
|
|
264
|
+
/* google.protobuf.Timestamp started = 1; */
|
|
265
|
+
if (message.started)
|
|
266
|
+
Timestamp.internalBinaryWrite(message.started, writer.tag(1, WireType.LengthDelimited).fork(), options).join();
|
|
267
|
+
/* google.protobuf.Timestamp completed = 2; */
|
|
268
|
+
if (message.completed)
|
|
269
|
+
Timestamp.internalBinaryWrite(message.completed, writer.tag(2, WireType.LengthDelimited).fork(), options).join();
|
|
270
|
+
/* com.daml.ledger.api.v2.Completion completion = 3; */
|
|
271
|
+
if (message.completion)
|
|
272
|
+
Completion.internalBinaryWrite(message.completion, writer.tag(3, WireType.LengthDelimited).fork(), options).join();
|
|
273
|
+
/* com.daml.ledger.api.v2.admin.CommandState state = 4; */
|
|
274
|
+
if (message.state !== 0)
|
|
275
|
+
writer.tag(4, WireType.Varint).int32(message.state);
|
|
276
|
+
/* repeated com.daml.ledger.api.v2.Command commands = 5; */
|
|
277
|
+
for (let i = 0; i < message.commands.length; i++)
|
|
278
|
+
Command.internalBinaryWrite(message.commands[i], writer.tag(5, WireType.LengthDelimited).fork(), options).join();
|
|
279
|
+
/* com.daml.ledger.api.v2.admin.RequestStatistics request_statistics = 6; */
|
|
280
|
+
if (message.requestStatistics)
|
|
281
|
+
RequestStatistics.internalBinaryWrite(message.requestStatistics, writer.tag(6, WireType.LengthDelimited).fork(), options).join();
|
|
282
|
+
/* com.daml.ledger.api.v2.admin.CommandUpdates updates = 7; */
|
|
283
|
+
if (message.updates)
|
|
284
|
+
CommandUpdates.internalBinaryWrite(message.updates, writer.tag(7, WireType.LengthDelimited).fork(), options).join();
|
|
285
|
+
let u = options.writeUnknownFields;
|
|
286
|
+
if (u !== false)
|
|
287
|
+
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
288
|
+
return writer;
|
|
289
|
+
}
|
|
290
|
+
}
|
|
291
|
+
/**
|
|
292
|
+
* @generated MessageType for protobuf message com.daml.ledger.api.v2.admin.CommandStatus
|
|
293
|
+
*/
|
|
294
|
+
export const CommandStatus = new CommandStatus$Type();
|
|
295
|
+
// @generated message type with reflection information, may provide speed optimized methods
|
|
296
|
+
class RequestStatistics$Type extends MessageType {
|
|
297
|
+
constructor() {
|
|
298
|
+
super('com.daml.ledger.api.v2.admin.RequestStatistics', [
|
|
299
|
+
{
|
|
300
|
+
no: 1,
|
|
301
|
+
name: 'envelopes',
|
|
302
|
+
kind: 'scalar',
|
|
303
|
+
T: 13 /*ScalarType.UINT32*/,
|
|
304
|
+
},
|
|
305
|
+
{
|
|
306
|
+
no: 2,
|
|
307
|
+
name: 'request_size',
|
|
308
|
+
kind: 'scalar',
|
|
309
|
+
T: 13 /*ScalarType.UINT32*/,
|
|
310
|
+
},
|
|
311
|
+
{
|
|
312
|
+
no: 3,
|
|
313
|
+
name: 'recipients',
|
|
314
|
+
kind: 'scalar',
|
|
315
|
+
T: 13 /*ScalarType.UINT32*/,
|
|
316
|
+
},
|
|
317
|
+
]);
|
|
318
|
+
}
|
|
319
|
+
create(value) {
|
|
320
|
+
const message = globalThis.Object.create(this.messagePrototype);
|
|
321
|
+
message.envelopes = 0;
|
|
322
|
+
message.requestSize = 0;
|
|
323
|
+
message.recipients = 0;
|
|
324
|
+
if (value !== undefined)
|
|
325
|
+
reflectionMergePartial(this, message, value);
|
|
326
|
+
return message;
|
|
327
|
+
}
|
|
328
|
+
internalBinaryRead(reader, length, options, target) {
|
|
329
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
|
330
|
+
while (reader.pos < end) {
|
|
331
|
+
let [fieldNo, wireType] = reader.tag();
|
|
332
|
+
switch (fieldNo) {
|
|
333
|
+
case /* uint32 envelopes */ 1:
|
|
334
|
+
message.envelopes = reader.uint32();
|
|
335
|
+
break;
|
|
336
|
+
case /* uint32 request_size */ 2:
|
|
337
|
+
message.requestSize = reader.uint32();
|
|
338
|
+
break;
|
|
339
|
+
case /* uint32 recipients */ 3:
|
|
340
|
+
message.recipients = reader.uint32();
|
|
341
|
+
break;
|
|
342
|
+
default:
|
|
343
|
+
let u = options.readUnknownField;
|
|
344
|
+
if (u === 'throw')
|
|
345
|
+
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
346
|
+
let d = reader.skip(wireType);
|
|
347
|
+
if (u !== false)
|
|
348
|
+
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
349
|
+
}
|
|
350
|
+
}
|
|
351
|
+
return message;
|
|
352
|
+
}
|
|
353
|
+
internalBinaryWrite(message, writer, options) {
|
|
354
|
+
/* uint32 envelopes = 1; */
|
|
355
|
+
if (message.envelopes !== 0)
|
|
356
|
+
writer.tag(1, WireType.Varint).uint32(message.envelopes);
|
|
357
|
+
/* uint32 request_size = 2; */
|
|
358
|
+
if (message.requestSize !== 0)
|
|
359
|
+
writer.tag(2, WireType.Varint).uint32(message.requestSize);
|
|
360
|
+
/* uint32 recipients = 3; */
|
|
361
|
+
if (message.recipients !== 0)
|
|
362
|
+
writer.tag(3, WireType.Varint).uint32(message.recipients);
|
|
363
|
+
let u = options.writeUnknownFields;
|
|
364
|
+
if (u !== false)
|
|
365
|
+
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
366
|
+
return writer;
|
|
367
|
+
}
|
|
368
|
+
}
|
|
369
|
+
/**
|
|
370
|
+
* @generated MessageType for protobuf message com.daml.ledger.api.v2.admin.RequestStatistics
|
|
371
|
+
*/
|
|
372
|
+
export const RequestStatistics = new RequestStatistics$Type();
|
|
373
|
+
// @generated message type with reflection information, may provide speed optimized methods
|
|
374
|
+
class CommandUpdates$Type extends MessageType {
|
|
375
|
+
constructor() {
|
|
376
|
+
super('com.daml.ledger.api.v2.admin.CommandUpdates', [
|
|
377
|
+
{
|
|
378
|
+
no: 1,
|
|
379
|
+
name: 'created',
|
|
380
|
+
kind: 'message',
|
|
381
|
+
repeat: 2 /*RepeatType.UNPACKED*/,
|
|
382
|
+
T: () => Contract,
|
|
383
|
+
},
|
|
384
|
+
{
|
|
385
|
+
no: 2,
|
|
386
|
+
name: 'archived',
|
|
387
|
+
kind: 'message',
|
|
388
|
+
repeat: 2 /*RepeatType.UNPACKED*/,
|
|
389
|
+
T: () => Contract,
|
|
390
|
+
},
|
|
391
|
+
{
|
|
392
|
+
no: 3,
|
|
393
|
+
name: 'exercised',
|
|
394
|
+
kind: 'scalar',
|
|
395
|
+
T: 13 /*ScalarType.UINT32*/,
|
|
396
|
+
},
|
|
397
|
+
{
|
|
398
|
+
no: 4,
|
|
399
|
+
name: 'fetched',
|
|
400
|
+
kind: 'scalar',
|
|
401
|
+
T: 13 /*ScalarType.UINT32*/,
|
|
402
|
+
},
|
|
403
|
+
{
|
|
404
|
+
no: 5,
|
|
405
|
+
name: 'looked_up_by_key',
|
|
406
|
+
kind: 'scalar',
|
|
407
|
+
T: 13 /*ScalarType.UINT32*/,
|
|
408
|
+
},
|
|
409
|
+
]);
|
|
410
|
+
}
|
|
411
|
+
create(value) {
|
|
412
|
+
const message = globalThis.Object.create(this.messagePrototype);
|
|
413
|
+
message.created = [];
|
|
414
|
+
message.archived = [];
|
|
415
|
+
message.exercised = 0;
|
|
416
|
+
message.fetched = 0;
|
|
417
|
+
message.lookedUpByKey = 0;
|
|
418
|
+
if (value !== undefined)
|
|
419
|
+
reflectionMergePartial(this, message, value);
|
|
420
|
+
return message;
|
|
421
|
+
}
|
|
422
|
+
internalBinaryRead(reader, length, options, target) {
|
|
423
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
|
424
|
+
while (reader.pos < end) {
|
|
425
|
+
let [fieldNo, wireType] = reader.tag();
|
|
426
|
+
switch (fieldNo) {
|
|
427
|
+
case /* repeated com.daml.ledger.api.v2.admin.Contract created */ 1:
|
|
428
|
+
message.created.push(Contract.internalBinaryRead(reader, reader.uint32(), options));
|
|
429
|
+
break;
|
|
430
|
+
case /* repeated com.daml.ledger.api.v2.admin.Contract archived */ 2:
|
|
431
|
+
message.archived.push(Contract.internalBinaryRead(reader, reader.uint32(), options));
|
|
432
|
+
break;
|
|
433
|
+
case /* uint32 exercised */ 3:
|
|
434
|
+
message.exercised = reader.uint32();
|
|
435
|
+
break;
|
|
436
|
+
case /* uint32 fetched */ 4:
|
|
437
|
+
message.fetched = reader.uint32();
|
|
438
|
+
break;
|
|
439
|
+
case /* uint32 looked_up_by_key */ 5:
|
|
440
|
+
message.lookedUpByKey = reader.uint32();
|
|
441
|
+
break;
|
|
442
|
+
default:
|
|
443
|
+
let u = options.readUnknownField;
|
|
444
|
+
if (u === 'throw')
|
|
445
|
+
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
446
|
+
let d = reader.skip(wireType);
|
|
447
|
+
if (u !== false)
|
|
448
|
+
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
449
|
+
}
|
|
450
|
+
}
|
|
451
|
+
return message;
|
|
452
|
+
}
|
|
453
|
+
internalBinaryWrite(message, writer, options) {
|
|
454
|
+
/* repeated com.daml.ledger.api.v2.admin.Contract created = 1; */
|
|
455
|
+
for (let i = 0; i < message.created.length; i++)
|
|
456
|
+
Contract.internalBinaryWrite(message.created[i], writer.tag(1, WireType.LengthDelimited).fork(), options).join();
|
|
457
|
+
/* repeated com.daml.ledger.api.v2.admin.Contract archived = 2; */
|
|
458
|
+
for (let i = 0; i < message.archived.length; i++)
|
|
459
|
+
Contract.internalBinaryWrite(message.archived[i], writer.tag(2, WireType.LengthDelimited).fork(), options).join();
|
|
460
|
+
/* uint32 exercised = 3; */
|
|
461
|
+
if (message.exercised !== 0)
|
|
462
|
+
writer.tag(3, WireType.Varint).uint32(message.exercised);
|
|
463
|
+
/* uint32 fetched = 4; */
|
|
464
|
+
if (message.fetched !== 0)
|
|
465
|
+
writer.tag(4, WireType.Varint).uint32(message.fetched);
|
|
466
|
+
/* uint32 looked_up_by_key = 5; */
|
|
467
|
+
if (message.lookedUpByKey !== 0)
|
|
468
|
+
writer.tag(5, WireType.Varint).uint32(message.lookedUpByKey);
|
|
469
|
+
let u = options.writeUnknownFields;
|
|
470
|
+
if (u !== false)
|
|
471
|
+
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
472
|
+
return writer;
|
|
473
|
+
}
|
|
474
|
+
}
|
|
475
|
+
/**
|
|
476
|
+
* @generated MessageType for protobuf message com.daml.ledger.api.v2.admin.CommandUpdates
|
|
477
|
+
*/
|
|
478
|
+
export const CommandUpdates = new CommandUpdates$Type();
|
|
479
|
+
// @generated message type with reflection information, may provide speed optimized methods
|
|
480
|
+
class Contract$Type extends MessageType {
|
|
481
|
+
constructor() {
|
|
482
|
+
super('com.daml.ledger.api.v2.admin.Contract', [
|
|
483
|
+
{
|
|
484
|
+
no: 1,
|
|
485
|
+
name: 'template_id',
|
|
486
|
+
kind: 'message',
|
|
487
|
+
T: () => Identifier,
|
|
488
|
+
},
|
|
489
|
+
{
|
|
490
|
+
no: 2,
|
|
491
|
+
name: 'contract_id',
|
|
492
|
+
kind: 'scalar',
|
|
493
|
+
T: 9 /*ScalarType.STRING*/,
|
|
494
|
+
},
|
|
495
|
+
{ no: 3, name: 'contract_key', kind: 'message', T: () => Value },
|
|
496
|
+
]);
|
|
497
|
+
}
|
|
498
|
+
create(value) {
|
|
499
|
+
const message = globalThis.Object.create(this.messagePrototype);
|
|
500
|
+
message.contractId = '';
|
|
501
|
+
if (value !== undefined)
|
|
502
|
+
reflectionMergePartial(this, message, value);
|
|
503
|
+
return message;
|
|
504
|
+
}
|
|
505
|
+
internalBinaryRead(reader, length, options, target) {
|
|
506
|
+
let message = target ?? this.create(), end = reader.pos + length;
|
|
507
|
+
while (reader.pos < end) {
|
|
508
|
+
let [fieldNo, wireType] = reader.tag();
|
|
509
|
+
switch (fieldNo) {
|
|
510
|
+
case /* com.daml.ledger.api.v2.Identifier template_id */ 1:
|
|
511
|
+
message.templateId = Identifier.internalBinaryRead(reader, reader.uint32(), options, message.templateId);
|
|
512
|
+
break;
|
|
513
|
+
case /* string contract_id */ 2:
|
|
514
|
+
message.contractId = reader.string();
|
|
515
|
+
break;
|
|
516
|
+
case /* com.daml.ledger.api.v2.Value contract_key */ 3:
|
|
517
|
+
message.contractKey = Value.internalBinaryRead(reader, reader.uint32(), options, message.contractKey);
|
|
518
|
+
break;
|
|
519
|
+
default:
|
|
520
|
+
let u = options.readUnknownField;
|
|
521
|
+
if (u === 'throw')
|
|
522
|
+
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
523
|
+
let d = reader.skip(wireType);
|
|
524
|
+
if (u !== false)
|
|
525
|
+
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
526
|
+
}
|
|
527
|
+
}
|
|
528
|
+
return message;
|
|
529
|
+
}
|
|
530
|
+
internalBinaryWrite(message, writer, options) {
|
|
531
|
+
/* com.daml.ledger.api.v2.Identifier template_id = 1; */
|
|
532
|
+
if (message.templateId)
|
|
533
|
+
Identifier.internalBinaryWrite(message.templateId, writer.tag(1, WireType.LengthDelimited).fork(), options).join();
|
|
534
|
+
/* string contract_id = 2; */
|
|
535
|
+
if (message.contractId !== '')
|
|
536
|
+
writer.tag(2, WireType.LengthDelimited).string(message.contractId);
|
|
537
|
+
/* com.daml.ledger.api.v2.Value contract_key = 3; */
|
|
538
|
+
if (message.contractKey)
|
|
539
|
+
Value.internalBinaryWrite(message.contractKey, writer.tag(3, WireType.LengthDelimited).fork(), options).join();
|
|
540
|
+
let u = options.writeUnknownFields;
|
|
541
|
+
if (u !== false)
|
|
542
|
+
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
543
|
+
return writer;
|
|
544
|
+
}
|
|
545
|
+
}
|
|
546
|
+
/**
|
|
547
|
+
* @generated MessageType for protobuf message com.daml.ledger.api.v2.admin.Contract
|
|
548
|
+
*/
|
|
549
|
+
export const Contract = new Contract$Type();
|
|
550
|
+
/**
|
|
551
|
+
* @generated ServiceType for protobuf service com.daml.ledger.api.v2.admin.CommandInspectionService
|
|
552
|
+
*/
|
|
553
|
+
export const CommandInspectionService = new ServiceType('com.daml.ledger.api.v2.admin.CommandInspectionService', [
|
|
554
|
+
{
|
|
555
|
+
name: 'GetCommandStatus',
|
|
556
|
+
options: {},
|
|
557
|
+
I: GetCommandStatusRequest,
|
|
558
|
+
O: GetCommandStatusResponse,
|
|
559
|
+
},
|
|
560
|
+
]);
|