/* * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ import { ClientSDK } from "../lib/sdks.js"; import { ConnectionCustomMappings } from "./connectioncustommappings.js"; import { Connections } from "./connections.js"; import { ConnectionSettings } from "./connectionsettings.js"; import { ConsumerRequestCounts } from "./consumerrequestcounts.js"; import { Consumers } from "./consumers.js"; import { CreateCallback } from "./createcallback.js"; import { CustomFields } from "./customfields.js"; import { CustomMappings } from "./custommappings.js"; import { Logs } from "./logs.js"; import { Sessions } from "./sessions.js"; import { ValidateConnection } from "./validateconnection.js"; export class Vault extends ClientSDK { private _consumers?: Consumers; get consumers(): Consumers { return (this._consumers ??= new Consumers(this._options)); } private _consumerRequestCounts?: ConsumerRequestCounts; get consumerRequestCounts(): ConsumerRequestCounts { return (this._consumerRequestCounts ??= new ConsumerRequestCounts( this._options, )); } private _connections?: Connections; get connections(): Connections { return (this._connections ??= new Connections(this._options)); } private _validateConnection?: ValidateConnection; get validateConnection(): ValidateConnection { return (this._validateConnection ??= new ValidateConnection(this._options)); } private _createCallback?: CreateCallback; get createCallback(): CreateCallback { return (this._createCallback ??= new CreateCallback(this._options)); } private _connectionSettings?: ConnectionSettings; get connectionSettings(): ConnectionSettings { return (this._connectionSettings ??= new ConnectionSettings(this._options)); } private _customFields?: CustomFields; get customFields(): CustomFields { return (this._customFields ??= new CustomFields(this._options)); } private _connectionCustomMappings?: ConnectionCustomMappings; get connectionCustomMappings(): ConnectionCustomMappings { return (this._connectionCustomMappings ??= new ConnectionCustomMappings( this._options, )); } private _customMappings?: CustomMappings; get customMappings(): CustomMappings { return (this._customMappings ??= new CustomMappings(this._options)); } private _sessions?: Sessions; get sessions(): Sessions { return (this._sessions ??= new Sessions(this._options)); } private _logs?: Logs; get logs(): Logs { return (this._logs ??= new Logs(this._options)); } }