@@ -36,46 +36,6 @@ async function getByFqn<T>(client: HasAsyncListMethod<T>, fqn: string, requestOp
3636 return result ;
3737}
3838
39- export class WrappedAgents extends Agents {
40- /**
41- * Get agent API
42- *
43- * @param {string } fqn
44- * @param {Agents.RequestOptions } requestOptions - Request-specific configuration.
45- *
46- * @throws {@link TrueFoundry.UnprocessableEntityError }
47- *
48- * @example
49- * await client.v1.agents.getByFqn("fqn")
50- */
51- public async getByFqn (
52- fqn : string ,
53- requestOptions ?: Agents . RequestOptions ,
54- ) : Promise < TrueFoundry . GetAgentResponse > {
55- return { data : await getByFqn ( this , fqn , requestOptions ) }
56- }
57- }
58-
59- export class WrappedAgentVersions extends AgentVersions {
60- /**
61- * Get agent version API
62- *
63- * @param {string } fqn
64- * @param {AgentVersions.RequestOptions } requestOptions - Request-specific configuration.
65- *
66- * @throws {@link TrueFoundry.UnprocessableEntityError }
67- *
68- * @example
69- * await client.v1.agentVersions.getByFqn("fqn")
70- */
71- public async getByFqn (
72- fqn : string ,
73- requestOptions ?: AgentVersions . RequestOptions ,
74- ) : Promise < TrueFoundry . GetAgentVersionResponse > {
75- return { data : await getByFqn ( this , fqn , requestOptions ) }
76- }
77- }
78-
7939export class WrappedApplications extends Applications {
8040 /**
8141 * Get application API
@@ -256,66 +216,6 @@ export class WrappedSecretGroups extends SecretGroups {
256216 }
257217}
258218
259- export class WrappedTools extends Tools {
260- /**
261- * Get tool API
262- *
263- * @param {string } fqn
264- * @param {Tools.RequestOptions } requestOptions - Request-specific configuration.
265- *
266- * @throws {@link TrueFoundry.UnprocessableEntityError }
267- *
268- * @example
269- * await client.v1.tools.getByFqn("fqn")
270- */
271- public async getByFqn (
272- fqn : string ,
273- requestOptions ?: Tools . RequestOptions ,
274- ) : Promise < TrueFoundry . GetToolResponse > {
275- return { data : await getByFqn ( this , fqn , requestOptions ) }
276- }
277- }
278-
279- export class WrappedToolVersions extends ToolVersions {
280- /**
281- * Get tool version API
282- *
283- * @param {string } fqn
284- * @param {ToolVersions.RequestOptions } requestOptions - Request-specific configuration.
285- *
286- * @throws {@link TrueFoundry.UnprocessableEntityError }
287- *
288- * @example
289- * await client.v1.toolVersions.getByFqn("fqn")
290- */
291- public async getByFqn (
292- fqn : string ,
293- requestOptions ?: ToolVersions . RequestOptions ,
294- ) : Promise < TrueFoundry . GetToolVersionResponse > {
295- return { data : await getByFqn ( this , fqn , requestOptions ) }
296- }
297- }
298-
299- export class WrappedTracingProjects extends TracingProjects {
300- /**
301- * Get tracing project API
302- *
303- * @param {string } fqn
304- * @param {TracingProjects.RequestOptions } requestOptions - Request-specific configuration.
305- *
306- * @throws {@link TrueFoundry.UnprocessableEntityError }
307- *
308- * @example
309- * await client.v1.tracingProjects.getByFqn("fqn")
310- */
311- public async getByFqn (
312- fqn : string ,
313- requestOptions ?: TracingProjects . RequestOptions ,
314- ) : Promise < TrueFoundry . GetTracingProjectResponse > {
315- return { data : await getByFqn ( this , fqn , requestOptions ) }
316- }
317- }
318-
319219export class WrappedWorkspaces extends Workspaces {
320220 /**
321221 * Get workspace API
0 commit comments