{"version":3,"file":"client.mjs","sources":["../../../../src/plugins/spotInstrumentModule/client.ts"],"sourcesContent":["import {\n  InitializeSpotInstrumentConfigInput,\n  InitializeSpotInstrumentConfigOutput,\n  initializeSpotInstrumentConfigOperation,\n  ModifySpotInstrumentConfigInput,\n  ModifySpotInstrumentConfigOutput,\n  modifySpotInstrumentConfigOperation,\n  FetchSpotInstrumentConfigInput,\n  FetchSpotInstrumentConfigOutput,\n  fetchSpotInstrumentConfigOperation,\n} from './operations';\nimport { SpotInstrumentPdasClient } from './pdas';\nimport { OperationOptions } from '@/types';\nimport { Convergence } from '@/Convergence';\n\nexport class SpotInstrumentClient {\n  constructor(protected readonly cvg: Convergence) {}\n\n  pdas() {\n    return new SpotInstrumentPdasClient(this.cvg);\n  }\n\n  fetchConfig(\n    input?: FetchSpotInstrumentConfigInput,\n    options?: OperationOptions\n  ): Promise<FetchSpotInstrumentConfigOutput> {\n    return this.cvg\n      .operations()\n      .execute(fetchSpotInstrumentConfigOperation(input), options);\n  }\n\n  initializeConfig(\n    input: InitializeSpotInstrumentConfigInput,\n    options?: OperationOptions\n  ): Promise<InitializeSpotInstrumentConfigOutput> {\n    return this.cvg\n      .operations()\n      .execute(initializeSpotInstrumentConfigOperation(input), options);\n  }\n\n  modifyConfig(\n    input: ModifySpotInstrumentConfigInput,\n    options?: OperationOptions\n  ): Promise<ModifySpotInstrumentConfigOutput> {\n    return this.cvg\n      .operations()\n      .execute(modifySpotInstrumentConfigOperation(input), options);\n  }\n}\n"],"names":["SpotInstrumentClient","cvg","_classCallCheck","_createClass","key","value","pdas","SpotInstrumentPdasClient","fetchConfig","input","options","operations","execute","fetchSpotInstrumentConfigOperation","initializeConfig","initializeSpotInstrumentConfigOperation","modifyConfig","modifySpotInstrumentConfigOperation"],"mappings":";;;;;;AAeA,IAAaA,oBAAoB,gBAAA,YAAA;EAC/B,SAAAA,oBAAAA,CAA+BC,GAAgB,EAAE;AAAAC,IAAAA,eAAA,OAAAF,oBAAA,CAAA,CA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