@hol-org/rb-client 0.1.172 → 0.1.173

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.cts CHANGED
@@ -1,6 +1,6 @@
1
+ import { Buffer } from 'buffer';
1
2
  import { z, ZodError } from 'zod';
2
3
  import { Signer } from '@hashgraph/sdk';
3
- import { Buffer } from 'buffer';
4
4
 
5
5
  interface AdapterPackage {
6
6
  registry: string;
@@ -105,17 +105,17 @@ declare const adapterManifestSchema: z.ZodObject<{
105
105
  dependencies: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
106
106
  env: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
107
107
  }, "strip", z.ZodTypeAny, {
108
+ env?: string[];
108
109
  platforms?: string[];
109
110
  primary?: string;
110
111
  entry?: string;
111
112
  dependencies?: string[];
112
- env?: string[];
113
113
  }, {
114
+ env?: string[];
114
115
  platforms?: string[];
115
116
  primary?: string;
116
117
  entry?: string;
117
118
  dependencies?: string[];
118
- env?: string[];
119
119
  }>;
120
120
  capabilities: z.ZodObject<{
121
121
  discovery: z.ZodBoolean;
@@ -192,11 +192,11 @@ declare const adapterManifestSchema: z.ZodObject<{
192
192
  license?: string;
193
193
  };
194
194
  runtime?: {
195
+ env?: string[];
195
196
  platforms?: string[];
196
197
  primary?: string;
197
198
  entry?: string;
198
199
  dependencies?: string[];
199
- env?: string[];
200
200
  };
201
201
  consensus?: {
202
202
  state_model?: string;
@@ -239,11 +239,11 @@ declare const adapterManifestSchema: z.ZodObject<{
239
239
  license?: string;
240
240
  };
241
241
  runtime?: {
242
+ env?: string[];
242
243
  platforms?: string[];
243
244
  primary?: string;
244
245
  entry?: string;
245
246
  dependencies?: string[];
246
- env?: string[];
247
247
  };
248
248
  consensus?: {
249
249
  state_model?: string;
@@ -22707,6 +22707,7 @@ declare const uaidConnectionStatusSchema: z.ZodObject<{
22707
22707
  adapter: z.ZodOptional<z.ZodString>;
22708
22708
  agentId: z.ZodOptional<z.ZodString>;
22709
22709
  }, "strip", z.ZodTypeAny, {
22710
+ connected?: boolean;
22710
22711
  connection?: {
22711
22712
  metadata?: Record<string, string | number | boolean>;
22712
22713
  status?: "error" | "connected" | "disconnected";
@@ -22718,8 +22719,8 @@ declare const uaidConnectionStatusSchema: z.ZodObject<{
22718
22719
  };
22719
22720
  adapter?: string;
22720
22721
  agentId?: string;
22721
- connected?: boolean;
22722
22722
  }, {
22723
+ connected?: boolean;
22723
22724
  connection?: {
22724
22725
  metadata?: Record<string, string | number | boolean>;
22725
22726
  status?: "error" | "connected" | "disconnected";
@@ -22731,7 +22732,6 @@ declare const uaidConnectionStatusSchema: z.ZodObject<{
22731
22732
  };
22732
22733
  adapter?: string;
22733
22734
  agentId?: string;
22734
- connected?: boolean;
22735
22735
  }>;
22736
22736
  declare const dashboardStatsResponseSchema: z.ZodObject<{
22737
22737
  operatorId: z.ZodOptional<z.ZodString>;
@@ -29463,16 +29463,6 @@ declare const adapterRegistrySubmitAdapterResponseSchema: z.ZodObject<{
29463
29463
  p?: "hcs-21";
29464
29464
  op?: "delete" | "register" | "update";
29465
29465
  signature?: string;
29466
- adapter_id?: string;
29467
- entity?: string;
29468
- package?: {
29469
- name?: string;
29470
- version?: string;
29471
- registry?: string;
29472
- integrity?: string;
29473
- };
29474
- manifest?: string;
29475
- manifest_sequence?: number;
29476
29466
  config?: {
29477
29467
  threshold?: string;
29478
29468
  type?: string;
@@ -29483,11 +29473,6 @@ declare const adapterRegistrySubmitAdapterResponseSchema: z.ZodObject<{
29483
29473
  } & {
29484
29474
  [k: string]: unknown;
29485
29475
  };
29486
- state_model?: string;
29487
- }, {
29488
- p?: "hcs-21";
29489
- op?: "delete" | "register" | "update";
29490
- signature?: string;
29491
29476
  adapter_id?: string;
29492
29477
  entity?: string;
29493
29478
  package?: {
@@ -29498,6 +29483,11 @@ declare const adapterRegistrySubmitAdapterResponseSchema: z.ZodObject<{
29498
29483
  };
29499
29484
  manifest?: string;
29500
29485
  manifest_sequence?: number;
29486
+ state_model?: string;
29487
+ }, {
29488
+ p?: "hcs-21";
29489
+ op?: "delete" | "register" | "update";
29490
+ signature?: string;
29501
29491
  config?: {
29502
29492
  threshold?: string;
29503
29493
  type?: string;
@@ -29508,6 +29498,16 @@ declare const adapterRegistrySubmitAdapterResponseSchema: z.ZodObject<{
29508
29498
  } & {
29509
29499
  [k: string]: unknown;
29510
29500
  };
29501
+ adapter_id?: string;
29502
+ entity?: string;
29503
+ package?: {
29504
+ name?: string;
29505
+ version?: string;
29506
+ registry?: string;
29507
+ integrity?: string;
29508
+ };
29509
+ manifest?: string;
29510
+ manifest_sequence?: number;
29511
29511
  state_model?: string;
29512
29512
  }>;
29513
29513
  transactionId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
@@ -29584,16 +29584,6 @@ declare const adapterRegistrySubmitAdapterResponseSchema: z.ZodObject<{
29584
29584
  p?: "hcs-21";
29585
29585
  op?: "delete" | "register" | "update";
29586
29586
  signature?: string;
29587
- adapter_id?: string;
29588
- entity?: string;
29589
- package?: {
29590
- name?: string;
29591
- version?: string;
29592
- registry?: string;
29593
- integrity?: string;
29594
- };
29595
- manifest?: string;
29596
- manifest_sequence?: number;
29597
29587
  config?: {
29598
29588
  threshold?: string;
29599
29589
  type?: string;
@@ -29604,6 +29594,16 @@ declare const adapterRegistrySubmitAdapterResponseSchema: z.ZodObject<{
29604
29594
  } & {
29605
29595
  [k: string]: unknown;
29606
29596
  };
29597
+ adapter_id?: string;
29598
+ entity?: string;
29599
+ package?: {
29600
+ name?: string;
29601
+ version?: string;
29602
+ registry?: string;
29603
+ integrity?: string;
29604
+ };
29605
+ manifest?: string;
29606
+ manifest_sequence?: number;
29607
29607
  state_model?: string;
29608
29608
  };
29609
29609
  }, {
@@ -29630,16 +29630,6 @@ declare const adapterRegistrySubmitAdapterResponseSchema: z.ZodObject<{
29630
29630
  p?: "hcs-21";
29631
29631
  op?: "delete" | "register" | "update";
29632
29632
  signature?: string;
29633
- adapter_id?: string;
29634
- entity?: string;
29635
- package?: {
29636
- name?: string;
29637
- version?: string;
29638
- registry?: string;
29639
- integrity?: string;
29640
- };
29641
- manifest?: string;
29642
- manifest_sequence?: number;
29643
29633
  config?: {
29644
29634
  threshold?: string;
29645
29635
  type?: string;
@@ -29650,6 +29640,16 @@ declare const adapterRegistrySubmitAdapterResponseSchema: z.ZodObject<{
29650
29640
  } & {
29651
29641
  [k: string]: unknown;
29652
29642
  };
29643
+ adapter_id?: string;
29644
+ entity?: string;
29645
+ package?: {
29646
+ name?: string;
29647
+ version?: string;
29648
+ registry?: string;
29649
+ integrity?: string;
29650
+ };
29651
+ manifest?: string;
29652
+ manifest_sequence?: number;
29653
29653
  state_model?: string;
29654
29654
  };
29655
29655
  }>;
@@ -48251,6 +48251,18 @@ interface RegistryBrokerChatApi {
48251
48251
  acceptConversation: (options: AcceptConversationOptions) => Promise<ChatConversationHandle>;
48252
48252
  }
48253
48253
 
48254
+ interface RegistryBrokerEncryptionApi {
48255
+ registerKey: (payload: RegisterEncryptionKeyPayload) => Promise<RegisterEncryptionKeyResponse>;
48256
+ generateEphemeralKeyPair: () => EphemeralKeyPair;
48257
+ deriveSharedSecret: (options: DeriveSharedSecretOptions) => Buffer;
48258
+ encryptCipherEnvelope: (options: EncryptCipherEnvelopeOptions) => CipherEnvelope;
48259
+ decryptCipherEnvelope: (options: DecryptCipherEnvelopeOptions) => string;
48260
+ ensureAgentKey: (options: EnsureAgentKeyOptions) => Promise<{
48261
+ publicKey: string;
48262
+ privateKey?: string;
48263
+ }>;
48264
+ }
48265
+
48254
48266
  type X402NetworkId = 'base' | 'base-sepolia';
48255
48267
 
48256
48268
  interface PurchaseCreditsWithX402Params {
@@ -48485,6 +48497,7 @@ declare class RegistryBrokerClient {
48485
48497
  parseWithSchema<T>(value: JsonValue, schema: z.ZodType<T, z.ZodTypeDef, unknown>, context: string): T;
48486
48498
  delay(ms: number, signal?: AbortSignal): Promise<void>;
48487
48499
  assertNodeRuntime(feature: string): void;
48500
+ private getNodeCrypto;
48488
48501
  createEphemeralKeyPair(): EphemeralKeyPair;
48489
48502
  deriveSharedSecret(options: DeriveSharedSecretOptions): Buffer;
48490
48503
  buildCipherEnvelope(options: EncryptCipherEnvelopeOptions): CipherEnvelope;
@@ -48508,29 +48521,6 @@ declare const isPendingRegisterAgentResponse: (response: RegisterAgentResponse)
48508
48521
  declare const isPartialRegisterAgentResponse: (response: RegisterAgentResponse) => response is RegisterAgentPartialResponse;
48509
48522
  declare const isSuccessRegisterAgentResponse: (response: RegisterAgentResponse) => response is RegisterAgentSuccessResponse;
48510
48523
 
48511
- interface RegistryBrokerEncryptionApi {
48512
- registerKey: (payload: RegisterEncryptionKeyPayload) => Promise<RegisterEncryptionKeyResponse>;
48513
- generateEphemeralKeyPair: () => EphemeralKeyPair;
48514
- deriveSharedSecret: (options: DeriveSharedSecretOptions) => Buffer;
48515
- encryptCipherEnvelope: (options: EncryptCipherEnvelopeOptions) => CipherEnvelope;
48516
- decryptCipherEnvelope: (options: DecryptCipherEnvelopeOptions) => string;
48517
- ensureAgentKey: (options: EnsureAgentKeyOptions) => Promise<{
48518
- publicKey: string;
48519
- privateKey?: string;
48520
- }>;
48521
- }
48522
-
48523
- declare function resolveUaid(client: RegistryBrokerClient, uaid: string): Promise<ResolvedAgentResponse>;
48524
- declare function registerAgent(client: RegistryBrokerClient, payload: AgentRegistrationRequest, options?: RegisterAgentOptions): Promise<RegisterAgentResponse>;
48525
- declare function getRegistrationQuote(client: RegistryBrokerClient, payload: AgentRegistrationRequest): Promise<RegisterAgentQuoteResponse>;
48526
- declare function updateAgent(client: RegistryBrokerClient, uaid: string, payload: AgentRegistrationRequest): Promise<RegisterAgentResponse>;
48527
- declare function getRegistrationProgress(client: RegistryBrokerClient, attemptId: string): Promise<RegistrationProgressRecord | null>;
48528
- declare function waitForRegistrationCompletion(client: RegistryBrokerClient, attemptId: string, options?: RegistrationProgressWaitOptions): Promise<RegistrationProgressRecord>;
48529
- declare function validateUaid(client: RegistryBrokerClient, uaid: string): Promise<UaidValidationResponse>;
48530
- declare function getUaidConnectionStatus(client: RegistryBrokerClient, uaid: string): Promise<UaidConnectionStatus>;
48531
- declare function closeUaidConnection(client: RegistryBrokerClient, uaid: string): Promise<void>;
48532
- declare function dashboardStats(client: RegistryBrokerClient): Promise<DashboardStatsResponse>;
48533
-
48534
48524
  interface ErrorDetails {
48535
48525
  status: number;
48536
48526
  statusText: string;
@@ -48548,6 +48538,17 @@ declare class RegistryBrokerParseError extends Error {
48548
48538
  constructor(message: string, cause: ZodError | Error | string, rawValue?: JsonValue);
48549
48539
  }
48550
48540
 
48541
+ declare function resolveUaid(client: RegistryBrokerClient, uaid: string): Promise<ResolvedAgentResponse>;
48542
+ declare function registerAgent(client: RegistryBrokerClient, payload: AgentRegistrationRequest, options?: RegisterAgentOptions): Promise<RegisterAgentResponse>;
48543
+ declare function getRegistrationQuote(client: RegistryBrokerClient, payload: AgentRegistrationRequest): Promise<RegisterAgentQuoteResponse>;
48544
+ declare function updateAgent(client: RegistryBrokerClient, uaid: string, payload: AgentRegistrationRequest): Promise<RegisterAgentResponse>;
48545
+ declare function getRegistrationProgress(client: RegistryBrokerClient, attemptId: string): Promise<RegistrationProgressRecord | null>;
48546
+ declare function waitForRegistrationCompletion(client: RegistryBrokerClient, attemptId: string, options?: RegistrationProgressWaitOptions): Promise<RegistrationProgressRecord>;
48547
+ declare function validateUaid(client: RegistryBrokerClient, uaid: string): Promise<UaidValidationResponse>;
48548
+ declare function getUaidConnectionStatus(client: RegistryBrokerClient, uaid: string): Promise<UaidConnectionStatus>;
48549
+ declare function closeUaidConnection(client: RegistryBrokerClient, uaid: string): Promise<void>;
48550
+ declare function dashboardStats(client: RegistryBrokerClient): Promise<DashboardStatsResponse>;
48551
+
48551
48552
  interface PrivateKeySignerOptions {
48552
48553
  accountId: string;
48553
48554
  privateKey: string;
package/dist/index.d.ts CHANGED
@@ -1,6 +1,6 @@
1
+ import { Buffer } from 'buffer';
1
2
  import { z, ZodError } from 'zod';
2
3
  import { Signer } from '@hashgraph/sdk';
3
- import { Buffer } from 'buffer';
4
4
 
5
5
  interface AdapterPackage {
6
6
  registry: string;
@@ -105,17 +105,17 @@ declare const adapterManifestSchema: z.ZodObject<{
105
105
  dependencies: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
106
106
  env: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
107
107
  }, "strip", z.ZodTypeAny, {
108
+ env?: string[];
108
109
  platforms?: string[];
109
110
  primary?: string;
110
111
  entry?: string;
111
112
  dependencies?: string[];
112
- env?: string[];
113
113
  }, {
114
+ env?: string[];
114
115
  platforms?: string[];
115
116
  primary?: string;
116
117
  entry?: string;
117
118
  dependencies?: string[];
118
- env?: string[];
119
119
  }>;
120
120
  capabilities: z.ZodObject<{
121
121
  discovery: z.ZodBoolean;
@@ -192,11 +192,11 @@ declare const adapterManifestSchema: z.ZodObject<{
192
192
  license?: string;
193
193
  };
194
194
  runtime?: {
195
+ env?: string[];
195
196
  platforms?: string[];
196
197
  primary?: string;
197
198
  entry?: string;
198
199
  dependencies?: string[];
199
- env?: string[];
200
200
  };
201
201
  consensus?: {
202
202
  state_model?: string;
@@ -239,11 +239,11 @@ declare const adapterManifestSchema: z.ZodObject<{
239
239
  license?: string;
240
240
  };
241
241
  runtime?: {
242
+ env?: string[];
242
243
  platforms?: string[];
243
244
  primary?: string;
244
245
  entry?: string;
245
246
  dependencies?: string[];
246
- env?: string[];
247
247
  };
248
248
  consensus?: {
249
249
  state_model?: string;
@@ -22707,6 +22707,7 @@ declare const uaidConnectionStatusSchema: z.ZodObject<{
22707
22707
  adapter: z.ZodOptional<z.ZodString>;
22708
22708
  agentId: z.ZodOptional<z.ZodString>;
22709
22709
  }, "strip", z.ZodTypeAny, {
22710
+ connected?: boolean;
22710
22711
  connection?: {
22711
22712
  metadata?: Record<string, string | number | boolean>;
22712
22713
  status?: "error" | "connected" | "disconnected";
@@ -22718,8 +22719,8 @@ declare const uaidConnectionStatusSchema: z.ZodObject<{
22718
22719
  };
22719
22720
  adapter?: string;
22720
22721
  agentId?: string;
22721
- connected?: boolean;
22722
22722
  }, {
22723
+ connected?: boolean;
22723
22724
  connection?: {
22724
22725
  metadata?: Record<string, string | number | boolean>;
22725
22726
  status?: "error" | "connected" | "disconnected";
@@ -22731,7 +22732,6 @@ declare const uaidConnectionStatusSchema: z.ZodObject<{
22731
22732
  };
22732
22733
  adapter?: string;
22733
22734
  agentId?: string;
22734
- connected?: boolean;
22735
22735
  }>;
22736
22736
  declare const dashboardStatsResponseSchema: z.ZodObject<{
22737
22737
  operatorId: z.ZodOptional<z.ZodString>;
@@ -29463,16 +29463,6 @@ declare const adapterRegistrySubmitAdapterResponseSchema: z.ZodObject<{
29463
29463
  p?: "hcs-21";
29464
29464
  op?: "delete" | "register" | "update";
29465
29465
  signature?: string;
29466
- adapter_id?: string;
29467
- entity?: string;
29468
- package?: {
29469
- name?: string;
29470
- version?: string;
29471
- registry?: string;
29472
- integrity?: string;
29473
- };
29474
- manifest?: string;
29475
- manifest_sequence?: number;
29476
29466
  config?: {
29477
29467
  threshold?: string;
29478
29468
  type?: string;
@@ -29483,11 +29473,6 @@ declare const adapterRegistrySubmitAdapterResponseSchema: z.ZodObject<{
29483
29473
  } & {
29484
29474
  [k: string]: unknown;
29485
29475
  };
29486
- state_model?: string;
29487
- }, {
29488
- p?: "hcs-21";
29489
- op?: "delete" | "register" | "update";
29490
- signature?: string;
29491
29476
  adapter_id?: string;
29492
29477
  entity?: string;
29493
29478
  package?: {
@@ -29498,6 +29483,11 @@ declare const adapterRegistrySubmitAdapterResponseSchema: z.ZodObject<{
29498
29483
  };
29499
29484
  manifest?: string;
29500
29485
  manifest_sequence?: number;
29486
+ state_model?: string;
29487
+ }, {
29488
+ p?: "hcs-21";
29489
+ op?: "delete" | "register" | "update";
29490
+ signature?: string;
29501
29491
  config?: {
29502
29492
  threshold?: string;
29503
29493
  type?: string;
@@ -29508,6 +29498,16 @@ declare const adapterRegistrySubmitAdapterResponseSchema: z.ZodObject<{
29508
29498
  } & {
29509
29499
  [k: string]: unknown;
29510
29500
  };
29501
+ adapter_id?: string;
29502
+ entity?: string;
29503
+ package?: {
29504
+ name?: string;
29505
+ version?: string;
29506
+ registry?: string;
29507
+ integrity?: string;
29508
+ };
29509
+ manifest?: string;
29510
+ manifest_sequence?: number;
29511
29511
  state_model?: string;
29512
29512
  }>;
29513
29513
  transactionId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
@@ -29584,16 +29584,6 @@ declare const adapterRegistrySubmitAdapterResponseSchema: z.ZodObject<{
29584
29584
  p?: "hcs-21";
29585
29585
  op?: "delete" | "register" | "update";
29586
29586
  signature?: string;
29587
- adapter_id?: string;
29588
- entity?: string;
29589
- package?: {
29590
- name?: string;
29591
- version?: string;
29592
- registry?: string;
29593
- integrity?: string;
29594
- };
29595
- manifest?: string;
29596
- manifest_sequence?: number;
29597
29587
  config?: {
29598
29588
  threshold?: string;
29599
29589
  type?: string;
@@ -29604,6 +29594,16 @@ declare const adapterRegistrySubmitAdapterResponseSchema: z.ZodObject<{
29604
29594
  } & {
29605
29595
  [k: string]: unknown;
29606
29596
  };
29597
+ adapter_id?: string;
29598
+ entity?: string;
29599
+ package?: {
29600
+ name?: string;
29601
+ version?: string;
29602
+ registry?: string;
29603
+ integrity?: string;
29604
+ };
29605
+ manifest?: string;
29606
+ manifest_sequence?: number;
29607
29607
  state_model?: string;
29608
29608
  };
29609
29609
  }, {
@@ -29630,16 +29630,6 @@ declare const adapterRegistrySubmitAdapterResponseSchema: z.ZodObject<{
29630
29630
  p?: "hcs-21";
29631
29631
  op?: "delete" | "register" | "update";
29632
29632
  signature?: string;
29633
- adapter_id?: string;
29634
- entity?: string;
29635
- package?: {
29636
- name?: string;
29637
- version?: string;
29638
- registry?: string;
29639
- integrity?: string;
29640
- };
29641
- manifest?: string;
29642
- manifest_sequence?: number;
29643
29633
  config?: {
29644
29634
  threshold?: string;
29645
29635
  type?: string;
@@ -29650,6 +29640,16 @@ declare const adapterRegistrySubmitAdapterResponseSchema: z.ZodObject<{
29650
29640
  } & {
29651
29641
  [k: string]: unknown;
29652
29642
  };
29643
+ adapter_id?: string;
29644
+ entity?: string;
29645
+ package?: {
29646
+ name?: string;
29647
+ version?: string;
29648
+ registry?: string;
29649
+ integrity?: string;
29650
+ };
29651
+ manifest?: string;
29652
+ manifest_sequence?: number;
29653
29653
  state_model?: string;
29654
29654
  };
29655
29655
  }>;
@@ -48251,6 +48251,18 @@ interface RegistryBrokerChatApi {
48251
48251
  acceptConversation: (options: AcceptConversationOptions) => Promise<ChatConversationHandle>;
48252
48252
  }
48253
48253
 
48254
+ interface RegistryBrokerEncryptionApi {
48255
+ registerKey: (payload: RegisterEncryptionKeyPayload) => Promise<RegisterEncryptionKeyResponse>;
48256
+ generateEphemeralKeyPair: () => EphemeralKeyPair;
48257
+ deriveSharedSecret: (options: DeriveSharedSecretOptions) => Buffer;
48258
+ encryptCipherEnvelope: (options: EncryptCipherEnvelopeOptions) => CipherEnvelope;
48259
+ decryptCipherEnvelope: (options: DecryptCipherEnvelopeOptions) => string;
48260
+ ensureAgentKey: (options: EnsureAgentKeyOptions) => Promise<{
48261
+ publicKey: string;
48262
+ privateKey?: string;
48263
+ }>;
48264
+ }
48265
+
48254
48266
  type X402NetworkId = 'base' | 'base-sepolia';
48255
48267
 
48256
48268
  interface PurchaseCreditsWithX402Params {
@@ -48485,6 +48497,7 @@ declare class RegistryBrokerClient {
48485
48497
  parseWithSchema<T>(value: JsonValue, schema: z.ZodType<T, z.ZodTypeDef, unknown>, context: string): T;
48486
48498
  delay(ms: number, signal?: AbortSignal): Promise<void>;
48487
48499
  assertNodeRuntime(feature: string): void;
48500
+ private getNodeCrypto;
48488
48501
  createEphemeralKeyPair(): EphemeralKeyPair;
48489
48502
  deriveSharedSecret(options: DeriveSharedSecretOptions): Buffer;
48490
48503
  buildCipherEnvelope(options: EncryptCipherEnvelopeOptions): CipherEnvelope;
@@ -48508,29 +48521,6 @@ declare const isPendingRegisterAgentResponse: (response: RegisterAgentResponse)
48508
48521
  declare const isPartialRegisterAgentResponse: (response: RegisterAgentResponse) => response is RegisterAgentPartialResponse;
48509
48522
  declare const isSuccessRegisterAgentResponse: (response: RegisterAgentResponse) => response is RegisterAgentSuccessResponse;
48510
48523
 
48511
- interface RegistryBrokerEncryptionApi {
48512
- registerKey: (payload: RegisterEncryptionKeyPayload) => Promise<RegisterEncryptionKeyResponse>;
48513
- generateEphemeralKeyPair: () => EphemeralKeyPair;
48514
- deriveSharedSecret: (options: DeriveSharedSecretOptions) => Buffer;
48515
- encryptCipherEnvelope: (options: EncryptCipherEnvelopeOptions) => CipherEnvelope;
48516
- decryptCipherEnvelope: (options: DecryptCipherEnvelopeOptions) => string;
48517
- ensureAgentKey: (options: EnsureAgentKeyOptions) => Promise<{
48518
- publicKey: string;
48519
- privateKey?: string;
48520
- }>;
48521
- }
48522
-
48523
- declare function resolveUaid(client: RegistryBrokerClient, uaid: string): Promise<ResolvedAgentResponse>;
48524
- declare function registerAgent(client: RegistryBrokerClient, payload: AgentRegistrationRequest, options?: RegisterAgentOptions): Promise<RegisterAgentResponse>;
48525
- declare function getRegistrationQuote(client: RegistryBrokerClient, payload: AgentRegistrationRequest): Promise<RegisterAgentQuoteResponse>;
48526
- declare function updateAgent(client: RegistryBrokerClient, uaid: string, payload: AgentRegistrationRequest): Promise<RegisterAgentResponse>;
48527
- declare function getRegistrationProgress(client: RegistryBrokerClient, attemptId: string): Promise<RegistrationProgressRecord | null>;
48528
- declare function waitForRegistrationCompletion(client: RegistryBrokerClient, attemptId: string, options?: RegistrationProgressWaitOptions): Promise<RegistrationProgressRecord>;
48529
- declare function validateUaid(client: RegistryBrokerClient, uaid: string): Promise<UaidValidationResponse>;
48530
- declare function getUaidConnectionStatus(client: RegistryBrokerClient, uaid: string): Promise<UaidConnectionStatus>;
48531
- declare function closeUaidConnection(client: RegistryBrokerClient, uaid: string): Promise<void>;
48532
- declare function dashboardStats(client: RegistryBrokerClient): Promise<DashboardStatsResponse>;
48533
-
48534
48524
  interface ErrorDetails {
48535
48525
  status: number;
48536
48526
  statusText: string;
@@ -48548,6 +48538,17 @@ declare class RegistryBrokerParseError extends Error {
48548
48538
  constructor(message: string, cause: ZodError | Error | string, rawValue?: JsonValue);
48549
48539
  }
48550
48540
 
48541
+ declare function resolveUaid(client: RegistryBrokerClient, uaid: string): Promise<ResolvedAgentResponse>;
48542
+ declare function registerAgent(client: RegistryBrokerClient, payload: AgentRegistrationRequest, options?: RegisterAgentOptions): Promise<RegisterAgentResponse>;
48543
+ declare function getRegistrationQuote(client: RegistryBrokerClient, payload: AgentRegistrationRequest): Promise<RegisterAgentQuoteResponse>;
48544
+ declare function updateAgent(client: RegistryBrokerClient, uaid: string, payload: AgentRegistrationRequest): Promise<RegisterAgentResponse>;
48545
+ declare function getRegistrationProgress(client: RegistryBrokerClient, attemptId: string): Promise<RegistrationProgressRecord | null>;
48546
+ declare function waitForRegistrationCompletion(client: RegistryBrokerClient, attemptId: string, options?: RegistrationProgressWaitOptions): Promise<RegistrationProgressRecord>;
48547
+ declare function validateUaid(client: RegistryBrokerClient, uaid: string): Promise<UaidValidationResponse>;
48548
+ declare function getUaidConnectionStatus(client: RegistryBrokerClient, uaid: string): Promise<UaidConnectionStatus>;
48549
+ declare function closeUaidConnection(client: RegistryBrokerClient, uaid: string): Promise<void>;
48550
+ declare function dashboardStats(client: RegistryBrokerClient): Promise<DashboardStatsResponse>;
48551
+
48551
48552
  interface PrivateKeySignerOptions {
48552
48553
  accountId: string;
48553
48554
  privateKey: string;