cyberdesk 2.1.17 → 2.1.19

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.
@@ -292,7 +292,7 @@ export declare const getRunAttachmentDownloadUrlV1RunAttachmentsAttachmentIdDown
292
292
  *
293
293
  * Returns the raw file content as a streaming response.
294
294
  */
295
- export declare const downloadRunAttachmentV1RunAttachmentsAttachmentIdDownloadGet: <ThrowOnError extends boolean = false>(options: Options<DownloadRunAttachmentV1RunAttachmentsAttachmentIdDownloadGetData, ThrowOnError>) => import("@hey-api/client-fetch").RequestResult<unknown, import("./types.gen").HttpValidationError, ThrowOnError>;
295
+ export declare const downloadRunAttachmentV1RunAttachmentsAttachmentIdDownloadGet: <ThrowOnError extends boolean = false>(options: Options<DownloadRunAttachmentV1RunAttachmentsAttachmentIdDownloadGetData, ThrowOnError>) => import("@hey-api/client-fetch").RequestResult<Blob | File, import("./types.gen").HttpValidationError, ThrowOnError>;
296
296
  /**
297
297
  * List Connections
298
298
  * List all connections for the authenticated organization's machines.
@@ -352,6 +352,10 @@ export type PowerShellExecRequest = {
352
352
  * Session ID to use
353
353
  */
354
354
  session_id?: string | null;
355
+ /**
356
+ * Maximum time in seconds to wait for command completion before continuing. The command will continue running in the background after timeout (default: 30.0)
357
+ */
358
+ timeout?: number | null;
355
359
  };
356
360
  export type PowerShellSessionRequest = {
357
361
  /**
@@ -1711,10 +1715,11 @@ export type DownloadRunAttachmentV1RunAttachmentsAttachmentIdDownloadGetErrors =
1711
1715
  export type DownloadRunAttachmentV1RunAttachmentsAttachmentIdDownloadGetError = DownloadRunAttachmentV1RunAttachmentsAttachmentIdDownloadGetErrors[keyof DownloadRunAttachmentV1RunAttachmentsAttachmentIdDownloadGetErrors];
1712
1716
  export type DownloadRunAttachmentV1RunAttachmentsAttachmentIdDownloadGetResponses = {
1713
1717
  /**
1714
- * Successful Response
1718
+ * File download
1715
1719
  */
1716
- 200: unknown;
1720
+ 200: Blob | File;
1717
1721
  };
1722
+ export type DownloadRunAttachmentV1RunAttachmentsAttachmentIdDownloadGetResponse = DownloadRunAttachmentV1RunAttachmentsAttachmentIdDownloadGetResponses[keyof DownloadRunAttachmentV1RunAttachmentsAttachmentIdDownloadGetResponses];
1718
1723
  export type ListConnectionsV1ConnectionsGetData = {
1719
1724
  body?: never;
1720
1725
  path?: never;
package/dist/index.d.ts CHANGED
@@ -973,7 +973,7 @@ export declare function createCyberdeskClient(apiKey: string, baseUrl?: string):
973
973
  data: undefined;
974
974
  error: import("./client/types.gen").HttpValidationError;
975
975
  } | {
976
- data: unknown;
976
+ data: Blob | File;
977
977
  error: undefined;
978
978
  }) & {
979
979
  request: Request;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cyberdesk",
3
- "version": "2.1.17",
3
+ "version": "2.1.19",
4
4
  "description": "The official TypeScript SDK for Cyberdesk",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",