@agentrun/sdk 0.0.2-test.21112675887 → 0.0.2-test.21113892804

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
@@ -1373,7 +1373,7 @@ declare class Credential extends ResourceBase implements CredentialInterface {
1373
1373
  /** 凭证密钥 */
1374
1374
  credentialSecret?: string;
1375
1375
  protected _config?: Config;
1376
- constructor(data?: CredentialInterface, config?: Config);
1376
+ constructor(data?: any, config?: Config);
1377
1377
  private static getClient;
1378
1378
  /**
1379
1379
  * Create a new Credential
@@ -2387,10 +2387,6 @@ declare class Sandbox extends ResourceBase implements SandboxData {
2387
2387
  * List Sandboxes
2388
2388
  */
2389
2389
  static list(input?: SandboxListInput, config?: Config): Promise<Sandbox[]>;
2390
- /**
2391
- * Handle API errors
2392
- */
2393
- protected static handleError(error: unknown): never;
2394
2390
  get: (params?: {
2395
2391
  config?: Config;
2396
2392
  }) => Promise<Sandbox>;
@@ -3043,10 +3039,6 @@ declare class Template extends ResourceBase implements TemplateData {
3043
3039
  static listAll: (params?: (Omit<TemplateListInput, "pageNumber" | "pageSize"> & {
3044
3040
  config?: Config;
3045
3041
  }) | undefined) => Promise<any[]>;
3046
- /**
3047
- * Handle API errors
3048
- */
3049
- private static handleError;
3050
3042
  get: (params?: {
3051
3043
  config?: Config;
3052
3044
  }) => Promise<Template>;
@@ -4371,10 +4363,6 @@ declare class ToolSet implements ToolSetData {
4371
4363
  input: ToolSetUpdateInput;
4372
4364
  config?: Config;
4373
4365
  }): Promise<ToolSet>;
4374
- /**
4375
- * Handle API errors
4376
- */
4377
- private static handleError;
4378
4366
  /**
4379
4367
  * Delete this toolset
4380
4368
  */
package/dist/index.d.ts CHANGED
@@ -1373,7 +1373,7 @@ declare class Credential extends ResourceBase implements CredentialInterface {
1373
1373
  /** 凭证密钥 */
1374
1374
  credentialSecret?: string;
1375
1375
  protected _config?: Config;
1376
- constructor(data?: CredentialInterface, config?: Config);
1376
+ constructor(data?: any, config?: Config);
1377
1377
  private static getClient;
1378
1378
  /**
1379
1379
  * Create a new Credential
@@ -2387,10 +2387,6 @@ declare class Sandbox extends ResourceBase implements SandboxData {
2387
2387
  * List Sandboxes
2388
2388
  */
2389
2389
  static list(input?: SandboxListInput, config?: Config): Promise<Sandbox[]>;
2390
- /**
2391
- * Handle API errors
2392
- */
2393
- protected static handleError(error: unknown): never;
2394
2390
  get: (params?: {
2395
2391
  config?: Config;
2396
2392
  }) => Promise<Sandbox>;
@@ -3043,10 +3039,6 @@ declare class Template extends ResourceBase implements TemplateData {
3043
3039
  static listAll: (params?: (Omit<TemplateListInput, "pageNumber" | "pageSize"> & {
3044
3040
  config?: Config;
3045
3041
  }) | undefined) => Promise<any[]>;
3046
- /**
3047
- * Handle API errors
3048
- */
3049
- private static handleError;
3050
3042
  get: (params?: {
3051
3043
  config?: Config;
3052
3044
  }) => Promise<Template>;
@@ -4371,10 +4363,6 @@ declare class ToolSet implements ToolSetData {
4371
4363
  input: ToolSetUpdateInput;
4372
4364
  config?: Config;
4373
4365
  }): Promise<ToolSet>;
4374
- /**
4375
- * Handle API errors
4376
- */
4377
- private static handleError;
4378
4366
  /**
4379
4367
  * Delete this toolset
4380
4368
  */