cyberdesk 2.1.18 → 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.
@@ -1715,10 +1715,11 @@ export type DownloadRunAttachmentV1RunAttachmentsAttachmentIdDownloadGetErrors =
1715
1715
  export type DownloadRunAttachmentV1RunAttachmentsAttachmentIdDownloadGetError = DownloadRunAttachmentV1RunAttachmentsAttachmentIdDownloadGetErrors[keyof DownloadRunAttachmentV1RunAttachmentsAttachmentIdDownloadGetErrors];
1716
1716
  export type DownloadRunAttachmentV1RunAttachmentsAttachmentIdDownloadGetResponses = {
1717
1717
  /**
1718
- * Successful Response
1718
+ * File download
1719
1719
  */
1720
- 200: unknown;
1720
+ 200: Blob | File;
1721
1721
  };
1722
+ export type DownloadRunAttachmentV1RunAttachmentsAttachmentIdDownloadGetResponse = DownloadRunAttachmentV1RunAttachmentsAttachmentIdDownloadGetResponses[keyof DownloadRunAttachmentV1RunAttachmentsAttachmentIdDownloadGetResponses];
1722
1723
  export type ListConnectionsV1ConnectionsGetData = {
1723
1724
  body?: never;
1724
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.18",
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",