@distrohelena/canton-typescript-sdk 1.0.1 → 1.0.2

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.
@@ -311,12 +311,12 @@ class GrpcTransport {
311
311
  this.throwIfDisposed();
312
312
  let payload;
313
313
  try {
314
- payload = await this.operations.listPartyToKeyMappingAsync(request, options);
314
+ payload = await this.operations.listPartyToKeyMappingAsync((0, topology_manager_read_mapper_js_1.mapGrpcListPartyToKeyMappingRequest)(request), options);
315
315
  }
316
316
  catch (error) {
317
317
  this.throwPartyTopologyReadCompatibilityError(error, "topologyManagerReadService.listPartyToKeyMappingAsync");
318
318
  }
319
- return payload;
319
+ return (0, topology_manager_read_mapper_js_1.mapGrpcListPartyToKeyMappingResponse)(payload);
320
320
  }
321
321
  async listSynchronizerTrustCertificateAsync(request, options) {
322
322
  this.throwIfDisposed();
@@ -6,6 +6,7 @@ import { AllocatePartyRequest } from "../types/requests/allocate-party-request.j
6
6
  import { GetActiveContractsRequest } from "../types/requests/get-active-contracts-request.js";
7
7
  import { GetUserRequest } from "../types/requests/get-user-request.js";
8
8
  import { ListKnownPartiesRequest } from "../types/requests/list-known-parties-request.js";
9
+ import { ListPartyToKeyMappingRequest } from "../types/requests/list-party-to-key-mapping-request.js";
9
10
  import { ListPartyToParticipantRequest } from "../types/requests/list-party-to-participant-request.js";
10
11
  import { ListUserRightsRequest } from "../types/requests/list-user-rights-request.js";
11
12
  import { ListUsersRequest } from "../types/requests/list-users-request.js";
@@ -17,11 +18,12 @@ import type { GetHighestOffsetByTimestampRequest, GetHighestOffsetByTimestampRes
17
18
  import type { GetNoWaitCommitmentsFromRequest, GetNoWaitCommitmentsFromResponse, GetParticipantScheduleRequest as GetParticipantPruningScheduleRequest, GetParticipantScheduleResponse as GetParticipantPruningScheduleResponse, GetScheduleRequest as GetPruningScheduleRequest, GetScheduleResponse as GetPruningScheduleResponse } from "../../transports/grpc/generated/canton/com/digitalasset/canton/admin/pruning/v30/pruning.js";
18
19
  import { AllocatePartyResponse } from "../types/responses/allocate-party-response.js";
19
20
  import { GetUserResponse } from "../types/responses/get-user-response.js";
21
+ import { ListPartyToKeyMappingResponse } from "../types/responses/list-party-to-key-mapping-response.js";
20
22
  import { ListPartyToParticipantResponse } from "../types/responses/list-party-to-participant-response.js";
21
23
  import { ListUserRightsResponse } from "../types/responses/list-user-rights-response.js";
22
24
  import { ListUsersResponse } from "../types/responses/list-users-response.js";
23
25
  import type { AllocateExternalPartyRequest, AllocateExternalPartyResponse, GenerateExternalPartyTopologyRequest, GenerateExternalPartyTopologyResponse } from "../../transports/grpc/generated/canton/com/daml/ledger/api/v2/admin/party_management_service.js";
24
- import type { ListAllV2Request, ListAllV2Response, ListAllRequest, ListAllResponse, ListAvailableStoresRequest, ListAvailableStoresResponse, ListLsuAnnouncementRequest, ListLsuAnnouncementResponse, ListLsuSequencerConnectionSuccessorRequest, ListLsuSequencerConnectionSuccessorResponse, ListMediatorSynchronizerStateRequest, ListMediatorSynchronizerStateResponse, ListSequencingParametersStateRequest, ListSequencingParametersStateResponse, ListSynchronizerParametersStateRequest, ListSynchronizerParametersStateResponse, ListVettedPackagesRequest as TopologyListVettedPackagesRequest, ListVettedPackagesResponse as TopologyListVettedPackagesResponse, ListPartyHostingLimitsRequest, ListPartyHostingLimitsResponse, ListParticipantSynchronizerPermissionRequest, ListParticipantSynchronizerPermissionResponse, ListSynchronizerTrustCertificateRequest, ListSynchronizerTrustCertificateResponse, ListPartyToKeyMappingRequest, ListPartyToKeyMappingResponse, ListOwnerToKeyMappingRequest, ListOwnerToKeyMappingResponse, ListDecentralizedNamespaceDefinitionRequest, ListDecentralizedNamespaceDefinitionResponse, ListNamespaceDelegationRequest, ListNamespaceDelegationResponse, ListSequencerSynchronizerStateRequest, ListSequencerSynchronizerStateResponse } from "../../transports/grpc/generated/canton/com/digitalasset/canton/topology/admin/v30/topology_manager_read_service.js";
26
+ import type { ListAllV2Request, ListAllV2Response, ListAllRequest, ListAllResponse, ListAvailableStoresRequest, ListAvailableStoresResponse, ListLsuAnnouncementRequest, ListLsuAnnouncementResponse, ListLsuSequencerConnectionSuccessorRequest, ListLsuSequencerConnectionSuccessorResponse, ListMediatorSynchronizerStateRequest, ListMediatorSynchronizerStateResponse, ListSequencingParametersStateRequest, ListSequencingParametersStateResponse, ListSynchronizerParametersStateRequest, ListSynchronizerParametersStateResponse, ListVettedPackagesRequest as TopologyListVettedPackagesRequest, ListVettedPackagesResponse as TopologyListVettedPackagesResponse, ListPartyHostingLimitsRequest, ListPartyHostingLimitsResponse, ListParticipantSynchronizerPermissionRequest, ListParticipantSynchronizerPermissionResponse, ListSynchronizerTrustCertificateRequest, ListSynchronizerTrustCertificateResponse, ListOwnerToKeyMappingRequest, ListOwnerToKeyMappingResponse, ListDecentralizedNamespaceDefinitionRequest, ListDecentralizedNamespaceDefinitionResponse, ListNamespaceDelegationRequest, ListNamespaceDelegationResponse, ListSequencerSynchronizerStateRequest, ListSequencerSynchronizerStateResponse } from "../../transports/grpc/generated/canton/com/digitalasset/canton/topology/admin/v30/topology_manager_read_service.js";
25
27
  import type { GetSynchronizerIdRequest, GetSynchronizerIdResponse, ListConnectedSynchronizersRequest, ListConnectedSynchronizersResponse, ListRegisteredSynchronizersRequest, ListRegisteredSynchronizersResponse } from "../../transports/grpc/generated/canton/com/digitalasset/canton/admin/participant/v30/synchronizer_connectivity_service.js";
26
28
  import type { AddPartyAsyncRequest, AddPartyAsyncResponse, ClearPartyOnboardingFlagRequest, ClearPartyOnboardingFlagResponse } from "../../transports/grpc/generated/canton/com/digitalasset/canton/admin/participant/v30/party_management_service.js";
27
29
  import type { GetSafePruningOffsetRequest, GetSafePruningOffsetResponse } from "../../transports/grpc/generated/canton/com/digitalasset/canton/admin/participant/v30/pruning_service.js";
@@ -1,8 +1,10 @@
1
+ import { ListPartyToKeyMappingRequest } from "../../core/types/requests/list-party-to-key-mapping-request.js";
2
+ import { ListPartyToKeyMappingResponse } from "../../core/types/responses/list-party-to-key-mapping-response.js";
1
3
  import { ITransport } from "../../core/transports/transport.interface.js";
2
4
  import { RequestOptions } from "../../core/types/request-options.js";
3
5
  import { ListPartyToParticipantRequest } from "../../core/types/requests/list-party-to-participant-request.js";
4
6
  import { ListPartyToParticipantResponse } from "../../core/types/responses/list-party-to-participant-response.js";
5
- import type { ListAllV2Request, ListAllV2Response, ListAllRequest, ListAllResponse, ListAvailableStoresRequest, ListAvailableStoresResponse, ListLsuAnnouncementRequest, ListLsuAnnouncementResponse, ListLsuSequencerConnectionSuccessorRequest, ListLsuSequencerConnectionSuccessorResponse, ListMediatorSynchronizerStateRequest, ListMediatorSynchronizerStateResponse, ListSequencingParametersStateRequest, ListSequencingParametersStateResponse, ListSynchronizerParametersStateRequest, ListSynchronizerParametersStateResponse, ListVettedPackagesRequest as TopologyListVettedPackagesRequest, ListVettedPackagesResponse as TopologyListVettedPackagesResponse, ListPartyHostingLimitsRequest, ListPartyHostingLimitsResponse, ListParticipantSynchronizerPermissionRequest, ListParticipantSynchronizerPermissionResponse, ListSynchronizerTrustCertificateRequest, ListSynchronizerTrustCertificateResponse, ListPartyToKeyMappingRequest, ListPartyToKeyMappingResponse, ListOwnerToKeyMappingRequest, ListOwnerToKeyMappingResponse, ListDecentralizedNamespaceDefinitionRequest, ListDecentralizedNamespaceDefinitionResponse, ListNamespaceDelegationRequest, ListNamespaceDelegationResponse, ListSequencerSynchronizerStateRequest, ListSequencerSynchronizerStateResponse } from "../../transports/grpc/generated/canton/com/digitalasset/canton/topology/admin/v30/topology_manager_read_service.js";
7
+ import type { ListAllV2Request, ListAllV2Response, ListAllRequest, ListAllResponse, ListAvailableStoresRequest, ListAvailableStoresResponse, ListLsuAnnouncementRequest, ListLsuAnnouncementResponse, ListLsuSequencerConnectionSuccessorRequest, ListLsuSequencerConnectionSuccessorResponse, ListMediatorSynchronizerStateRequest, ListMediatorSynchronizerStateResponse, ListSequencingParametersStateRequest, ListSequencingParametersStateResponse, ListSynchronizerParametersStateRequest, ListSynchronizerParametersStateResponse, ListVettedPackagesRequest as TopologyListVettedPackagesRequest, ListVettedPackagesResponse as TopologyListVettedPackagesResponse, ListPartyHostingLimitsRequest, ListPartyHostingLimitsResponse, ListParticipantSynchronizerPermissionRequest, ListParticipantSynchronizerPermissionResponse, ListSynchronizerTrustCertificateRequest, ListSynchronizerTrustCertificateResponse, ListOwnerToKeyMappingRequest, ListOwnerToKeyMappingResponse, ListDecentralizedNamespaceDefinitionRequest, ListDecentralizedNamespaceDefinitionResponse, ListNamespaceDelegationRequest, ListNamespaceDelegationResponse, ListSequencerSynchronizerStateRequest, ListSequencerSynchronizerStateResponse } from "../../transports/grpc/generated/canton/com/digitalasset/canton/topology/admin/v30/topology_manager_read_service.js";
6
8
  export declare class TopologyManagerReadServiceClient {
7
9
  private readonly transport;
8
10
  constructor(transport: ITransport);
@@ -3,6 +3,7 @@ import { AllocatePartyRequest } from "../../core/types/requests/allocate-party-r
3
3
  import { GetActiveContractsRequest } from "../../core/types/requests/get-active-contracts-request.js";
4
4
  import { GetUserRequest } from "../../core/types/requests/get-user-request.js";
5
5
  import { ListKnownPartiesRequest } from "../../core/types/requests/list-known-parties-request.js";
6
+ import { ListPartyToKeyMappingRequest } from "../../core/types/requests/list-party-to-key-mapping-request.js";
6
7
  import { ListPartyToParticipantRequest } from "../../core/types/requests/list-party-to-participant-request.js";
7
8
  import { ListUserRightsRequest } from "../../core/types/requests/list-user-rights-request.js";
8
9
  import { ListUsersRequest } from "../../core/types/requests/list-users-request.js";
@@ -13,6 +14,7 @@ import { PreparedCommandSubmission } from "../../core/types/prepared-command-sub
13
14
  import { AllocatePartyResponse as SdkAllocatePartyResponse } from "../../core/types/responses/allocate-party-response.js";
14
15
  import { GetUserResponse } from "../../core/types/responses/get-user-response.js";
15
16
  import { ListKnownPartiesResponse as SdkListKnownPartiesResponse } from "../../core/types/responses/list-known-parties-response.js";
17
+ import { ListPartyToKeyMappingResponse } from "../../core/types/responses/list-party-to-key-mapping-response.js";
16
18
  import { ListPartyToParticipantResponse } from "../../core/types/responses/list-party-to-participant-response.js";
17
19
  import { ListUserRightsResponse } from "../../core/types/responses/list-user-rights-response.js";
18
20
  import { ListUsersResponse } from "../../core/types/responses/list-users-response.js";
@@ -50,7 +52,7 @@ import type { TrafficControlStateRequest, TrafficControlStateResponse } from "./
50
52
  import { ParticipantStatusRequest, ParticipantStatusResponse as ProtobufParticipantStatusResponse } from "./generated/canton/com/digitalasset/canton/admin/participant/v30/participant_status_service.js";
51
53
  import { ListKeyOwnersRequest as ProtobufListKeyOwnersRequest, ListKeyOwnersResponse as ProtobufListKeyOwnersResponse, ListPartiesRequest as ProtobufTopologyListPartiesRequest, ListPartiesResponse as ProtobufTopologyListPartiesResponse } from "./generated/canton/com/digitalasset/canton/topology/admin/v30/topology_aggregation_service.js";
52
54
  import type { AddTransactionsRequest as ProtobufAddTransactionsRequest, AddTransactionsResponse as ProtobufAddTransactionsResponse, AuthorizeRequest as ProtobufAuthorizeRequest, AuthorizeResponse as ProtobufAuthorizeResponse, CreateTemporaryTopologyStoreRequest as ProtobufCreateTemporaryTopologyStoreRequest, CreateTemporaryTopologyStoreResponse as ProtobufCreateTemporaryTopologyStoreResponse, DropTemporaryTopologyStoreRequest as ProtobufDropTemporaryTopologyStoreRequest, DropTemporaryTopologyStoreResponse as ProtobufDropTemporaryTopologyStoreResponse, GenerateTransactionsRequest as ProtobufGenerateTransactionsRequest, GenerateTransactionsResponse as ProtobufGenerateTransactionsResponse, ImportTopologySnapshotRequest as ProtobufImportTopologySnapshotRequest, ImportTopologySnapshotResponse as ProtobufImportTopologySnapshotResponse, ImportTopologySnapshotV2Request as ProtobufImportTopologySnapshotV2Request, ImportTopologySnapshotV2Response as ProtobufImportTopologySnapshotV2Response, SignTransactionsRequest as ProtobufSignTransactionsRequest, SignTransactionsResponse as ProtobufSignTransactionsResponse } from "./generated/canton/com/digitalasset/canton/topology/admin/v30/topology_manager_write_service.js";
53
- import { ListAllRequest as ProtobufTopologyListAllRequest, ListAllResponse as ProtobufTopologyListAllResponse, ListAllV2Request as ProtobufTopologyListAllV2Request, ListAllV2Response as ProtobufTopologyListAllV2Response, ListAvailableStoresRequest as ProtobufListAvailableStoresRequest, ListAvailableStoresResponse as ProtobufListAvailableStoresResponse, ListDecentralizedNamespaceDefinitionRequest as ProtobufListDecentralizedNamespaceDefinitionRequest, ListDecentralizedNamespaceDefinitionResponse as ProtobufListDecentralizedNamespaceDefinitionResponse, ListLsuAnnouncementRequest as ProtobufListLsuAnnouncementRequest, ListLsuAnnouncementResponse as ProtobufListLsuAnnouncementResponse, ListLsuSequencerConnectionSuccessorRequest as ProtobufListLsuSequencerConnectionSuccessorRequest, ListLsuSequencerConnectionSuccessorResponse as ProtobufListLsuSequencerConnectionSuccessorResponse, ListMediatorSynchronizerStateRequest as ProtobufListMediatorSynchronizerStateRequest, ListMediatorSynchronizerStateResponse as ProtobufListMediatorSynchronizerStateResponse, ListNamespaceDelegationRequest as ProtobufListNamespaceDelegationRequest, ListNamespaceDelegationResponse as ProtobufListNamespaceDelegationResponse, ListOwnerToKeyMappingRequest as ProtobufListOwnerToKeyMappingRequest, ListOwnerToKeyMappingResponse as ProtobufListOwnerToKeyMappingResponse, ListParticipantSynchronizerPermissionRequest as ProtobufListParticipantSynchronizerPermissionRequest, ListParticipantSynchronizerPermissionResponse as ProtobufListParticipantSynchronizerPermissionResponse, ListPartyHostingLimitsRequest as ProtobufListPartyHostingLimitsRequest, ListPartyHostingLimitsResponse as ProtobufListPartyHostingLimitsResponse, ListPartyToKeyMappingRequest as ProtobufListPartyToKeyMappingRequest, ListPartyToKeyMappingResponse as ProtobufListPartyToKeyMappingResponse, ListSequencerSynchronizerStateRequest as ProtobufListSequencerSynchronizerStateRequest, ListSequencerSynchronizerStateResponse as ProtobufListSequencerSynchronizerStateResponse, ListSequencingParametersStateRequest as ProtobufListSequencingParametersStateRequest, ListSequencingParametersStateResponse as ProtobufListSequencingParametersStateResponse, ListSynchronizerParametersStateRequest as ProtobufListSynchronizerParametersStateRequest, ListSynchronizerParametersStateResponse as ProtobufListSynchronizerParametersStateResponse, ListSynchronizerTrustCertificateRequest as ProtobufListSynchronizerTrustCertificateRequest, ListSynchronizerTrustCertificateResponse as ProtobufListSynchronizerTrustCertificateResponse, ListVettedPackagesRequest as ProtobufTopologyListVettedPackagesRequest, ListVettedPackagesResponse as ProtobufTopologyListVettedPackagesResponse } from "./generated/canton/com/digitalasset/canton/topology/admin/v30/topology_manager_read_service.js";
55
+ import { ListAllRequest as ProtobufTopologyListAllRequest, ListAllResponse as ProtobufTopologyListAllResponse, ListAllV2Request as ProtobufTopologyListAllV2Request, ListAllV2Response as ProtobufTopologyListAllV2Response, ListAvailableStoresRequest as ProtobufListAvailableStoresRequest, ListAvailableStoresResponse as ProtobufListAvailableStoresResponse, ListDecentralizedNamespaceDefinitionRequest as ProtobufListDecentralizedNamespaceDefinitionRequest, ListDecentralizedNamespaceDefinitionResponse as ProtobufListDecentralizedNamespaceDefinitionResponse, ListLsuAnnouncementRequest as ProtobufListLsuAnnouncementRequest, ListLsuAnnouncementResponse as ProtobufListLsuAnnouncementResponse, ListLsuSequencerConnectionSuccessorRequest as ProtobufListLsuSequencerConnectionSuccessorRequest, ListLsuSequencerConnectionSuccessorResponse as ProtobufListLsuSequencerConnectionSuccessorResponse, ListMediatorSynchronizerStateRequest as ProtobufListMediatorSynchronizerStateRequest, ListMediatorSynchronizerStateResponse as ProtobufListMediatorSynchronizerStateResponse, ListNamespaceDelegationRequest as ProtobufListNamespaceDelegationRequest, ListNamespaceDelegationResponse as ProtobufListNamespaceDelegationResponse, ListOwnerToKeyMappingRequest as ProtobufListOwnerToKeyMappingRequest, ListOwnerToKeyMappingResponse as ProtobufListOwnerToKeyMappingResponse, ListParticipantSynchronizerPermissionRequest as ProtobufListParticipantSynchronizerPermissionRequest, ListParticipantSynchronizerPermissionResponse as ProtobufListParticipantSynchronizerPermissionResponse, ListPartyHostingLimitsRequest as ProtobufListPartyHostingLimitsRequest, ListPartyHostingLimitsResponse as ProtobufListPartyHostingLimitsResponse, ListSequencerSynchronizerStateRequest as ProtobufListSequencerSynchronizerStateRequest, ListSequencerSynchronizerStateResponse as ProtobufListSequencerSynchronizerStateResponse, ListSequencingParametersStateRequest as ProtobufListSequencingParametersStateRequest, ListSequencingParametersStateResponse as ProtobufListSequencingParametersStateResponse, ListSynchronizerParametersStateRequest as ProtobufListSynchronizerParametersStateRequest, ListSynchronizerParametersStateResponse as ProtobufListSynchronizerParametersStateResponse, ListSynchronizerTrustCertificateRequest as ProtobufListSynchronizerTrustCertificateRequest, ListSynchronizerTrustCertificateResponse as ProtobufListSynchronizerTrustCertificateResponse, ListVettedPackagesRequest as ProtobufTopologyListVettedPackagesRequest, ListVettedPackagesResponse as ProtobufTopologyListVettedPackagesResponse } from "./generated/canton/com/digitalasset/canton/topology/admin/v30/topology_manager_read_service.js";
54
56
  export declare class GrpcTransport implements ITransport {
55
57
  private readonly operations;
56
58
  private disposed;
@@ -115,7 +117,7 @@ export declare class GrpcTransport implements ITransport {
115
117
  listNamespaceDelegationAsync(request: ProtobufListNamespaceDelegationRequest, options?: RequestOptions): Promise<ProtobufListNamespaceDelegationResponse>;
116
118
  listDecentralizedNamespaceDefinitionAsync(request: ProtobufListDecentralizedNamespaceDefinitionRequest, options?: RequestOptions): Promise<ProtobufListDecentralizedNamespaceDefinitionResponse>;
117
119
  listOwnerToKeyMappingAsync(request: ProtobufListOwnerToKeyMappingRequest, options?: RequestOptions): Promise<ProtobufListOwnerToKeyMappingResponse>;
118
- listPartyToKeyMappingAsync(request: ProtobufListPartyToKeyMappingRequest, options?: RequestOptions): Promise<ProtobufListPartyToKeyMappingResponse>;
120
+ listPartyToKeyMappingAsync(request: ListPartyToKeyMappingRequest, options?: RequestOptions): Promise<ListPartyToKeyMappingResponse>;
119
121
  listSynchronizerTrustCertificateAsync(request: ProtobufListSynchronizerTrustCertificateRequest, options?: RequestOptions): Promise<ProtobufListSynchronizerTrustCertificateResponse>;
120
122
  listParticipantSynchronizerPermissionAsync(request: ProtobufListParticipantSynchronizerPermissionRequest, options?: RequestOptions): Promise<ProtobufListParticipantSynchronizerPermissionResponse>;
121
123
  authorizeTopologyTransactionsAsync(request: ProtobufAuthorizeRequest, options?: RequestOptions): Promise<ProtobufAuthorizeResponse>;
@@ -10,7 +10,7 @@ import { createGrpcOperations, } from "./grpc-channel-factory.js";
10
10
  import { mapGrpcSubmitCommand, mapGrpcSubmitCommandsForTransactionRequest, mapGrpcSubmitCommandTransaction, mapGrpcSubmitCommandsRequest, } from "./mappers/commands-mapper.js";
11
11
  import { mapGrpcExecuteSubmissionAndWaitRequest, mapGrpcInteractiveSubmitCommand, mapGrpcPrepareSubmissionRequest, } from "./mappers/interactive-command-mapper.js";
12
12
  import { mapGrpcCreateParty, mapGrpcCreatePartyRequest, mapGrpcListParties, mapGrpcListPartiesRequest } from "./mappers/parties-mapper.js";
13
- import { mapGrpcListPartyToParticipantRequest, mapGrpcListPartyToParticipantResponse, } from "./mappers/topology-manager-read-mapper.js";
13
+ import { mapGrpcListPartyToKeyMappingRequest, mapGrpcListPartyToKeyMappingResponse, mapGrpcListPartyToParticipantRequest, mapGrpcListPartyToParticipantResponse, } from "./mappers/topology-manager-read-mapper.js";
14
14
  import { mapGrpcGetUser, mapGrpcGetUserRequest, mapGrpcListUserRights, mapGrpcListUserRightsRequest, mapGrpcListUsers, mapGrpcListUsersRequest, } from "./mappers/users-mapper.js";
15
15
  import { ObjectDisposedError } from "../../core/errors/object-disposed-error.js";
16
16
  export class GrpcTransport {
@@ -307,12 +307,12 @@ export class GrpcTransport {
307
307
  this.throwIfDisposed();
308
308
  let payload;
309
309
  try {
310
- payload = await this.operations.listPartyToKeyMappingAsync(request, options);
310
+ payload = await this.operations.listPartyToKeyMappingAsync(mapGrpcListPartyToKeyMappingRequest(request), options);
311
311
  }
312
312
  catch (error) {
313
313
  this.throwPartyTopologyReadCompatibilityError(error, "topologyManagerReadService.listPartyToKeyMappingAsync");
314
314
  }
315
- return payload;
315
+ return mapGrpcListPartyToKeyMappingResponse(payload);
316
316
  }
317
317
  async listSynchronizerTrustCertificateAsync(request, options) {
318
318
  this.throwIfDisposed();
@@ -2,12 +2,14 @@ import { AllocatePartyRequest } from "../../core/types/requests/allocate-party-r
2
2
  import { GetActiveContractsRequest } from "../../core/types/requests/get-active-contracts-request.js";
3
3
  import { GetUserRequest } from "../../core/types/requests/get-user-request.js";
4
4
  import { ListKnownPartiesRequest } from "../../core/types/requests/list-known-parties-request.js";
5
+ import { ListPartyToKeyMappingRequest } from "../../core/types/requests/list-party-to-key-mapping-request.js";
5
6
  import { ListPartyToParticipantRequest } from "../../core/types/requests/list-party-to-participant-request.js";
6
7
  import { ListUserRightsRequest } from "../../core/types/requests/list-user-rights-request.js";
7
8
  import { ListUsersRequest } from "../../core/types/requests/list-users-request.js";
8
9
  import { SubmitCommandsRequest } from "../../core/types/requests/submit-commands-request.js";
9
10
  import { AllocatePartyResponse } from "../../core/types/responses/allocate-party-response.js";
10
11
  import { GetUserResponse } from "../../core/types/responses/get-user-response.js";
12
+ import { ListPartyToKeyMappingResponse } from "../../core/types/responses/list-party-to-key-mapping-response.js";
11
13
  import { ListPartyToParticipantResponse } from "../../core/types/responses/list-party-to-participant-response.js";
12
14
  import { ListUserRightsResponse } from "../../core/types/responses/list-user-rights-response.js";
13
15
  import { ListUsersResponse } from "../../core/types/responses/list-users-response.js";
@@ -17,7 +19,7 @@ import type { GetContractRequest, GetContractResponse } from "../grpc/generated/
17
19
  import type { AddPartyAsyncRequest, AddPartyAsyncResponse, ClearPartyOnboardingFlagRequest, ClearPartyOnboardingFlagResponse, GetHighestOffsetByTimestampRequest, GetHighestOffsetByTimestampResponse } from "../grpc/generated/canton/com/digitalasset/canton/admin/participant/v30/party_management_service.js";
18
20
  import type { GetEventsByContractIdRequest, GetEventsByContractIdResponse } from "../grpc/generated/canton/com/daml/ledger/api/v2/event_query_service.js";
19
21
  import type { CurrentTimeRequest, CurrentTimeResponse, GetIdRequest, GetIdResponse } from "../grpc/generated/canton/com/digitalasset/canton/topology/admin/v30/initialization_service.js";
20
- import type { ListAllRequest, ListAllResponse, ListLsuAnnouncementRequest, ListLsuAnnouncementResponse, ListLsuSequencerConnectionSuccessorRequest, ListLsuSequencerConnectionSuccessorResponse, ListMediatorSynchronizerStateRequest, ListMediatorSynchronizerStateResponse, ListSequencingParametersStateRequest, ListSequencingParametersStateResponse, ListSynchronizerParametersStateRequest, ListSynchronizerParametersStateResponse, ListVettedPackagesRequest as TopologyListVettedPackagesRequest, ListVettedPackagesResponse as TopologyListVettedPackagesResponse, ListPartyHostingLimitsRequest, ListPartyHostingLimitsResponse, ListParticipantSynchronizerPermissionRequest, ListParticipantSynchronizerPermissionResponse, ListSynchronizerTrustCertificateRequest, ListSynchronizerTrustCertificateResponse, ListPartyToKeyMappingRequest, ListPartyToKeyMappingResponse, ListOwnerToKeyMappingRequest, ListOwnerToKeyMappingResponse, ListDecentralizedNamespaceDefinitionRequest, ListDecentralizedNamespaceDefinitionResponse, ListNamespaceDelegationRequest, ListNamespaceDelegationResponse, ListSequencerSynchronizerStateRequest, ListSequencerSynchronizerStateResponse } from "../grpc/generated/canton/com/digitalasset/canton/topology/admin/v30/topology_manager_read_service.js";
22
+ import type { ListAllRequest, ListAllResponse, ListLsuAnnouncementRequest, ListLsuAnnouncementResponse, ListLsuSequencerConnectionSuccessorRequest, ListLsuSequencerConnectionSuccessorResponse, ListMediatorSynchronizerStateRequest, ListMediatorSynchronizerStateResponse, ListSequencingParametersStateRequest, ListSequencingParametersStateResponse, ListSynchronizerParametersStateRequest, ListSynchronizerParametersStateResponse, ListVettedPackagesRequest as TopologyListVettedPackagesRequest, ListVettedPackagesResponse as TopologyListVettedPackagesResponse, ListPartyHostingLimitsRequest, ListPartyHostingLimitsResponse, ListParticipantSynchronizerPermissionRequest, ListParticipantSynchronizerPermissionResponse, ListSynchronizerTrustCertificateRequest, ListSynchronizerTrustCertificateResponse, ListOwnerToKeyMappingRequest, ListOwnerToKeyMappingResponse, ListDecentralizedNamespaceDefinitionRequest, ListDecentralizedNamespaceDefinitionResponse, ListNamespaceDelegationRequest, ListNamespaceDelegationResponse, ListSequencerSynchronizerStateRequest, ListSequencerSynchronizerStateResponse } from "../grpc/generated/canton/com/digitalasset/canton/topology/admin/v30/topology_manager_read_service.js";
21
23
  import type { GetParticipantIdRequest, GetParticipantIdResponse, GetPartiesRequest, GetPartiesResponse } from "../grpc/generated/canton/com/daml/ledger/api/v2/admin/party_management_service.js";
22
24
  import type { GetResourceLimitsRequest, GetResourceLimitsResponse } from "../grpc/generated/canton/com/digitalasset/canton/admin/participant/v30/resource_management_service.js";
23
25
  import type { GetNoWaitCommitmentsFromRequest, GetNoWaitCommitmentsFromResponse, GetParticipantScheduleRequest as GetParticipantPruningScheduleRequest, GetParticipantScheduleResponse as GetParticipantPruningScheduleResponse, GetScheduleRequest as GetPruningScheduleRequest, GetScheduleResponse as GetPruningScheduleResponse } from "../grpc/generated/canton/com/digitalasset/canton/admin/pruning/v30/pruning.js";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@distrohelena/canton-typescript-sdk",
3
- "version": "1.0.1",
3
+ "version": "1.0.2",
4
4
  "license": "Apache-2.0",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",