@epilot/sdk 2.7.2 → 2.7.3

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.
Files changed (127) hide show
  1. package/definitions/file-runtime.json +1 -1
  2. package/definitions/file.json +88 -4
  3. package/dist/apis/access-token.cjs +6 -6
  4. package/dist/apis/access-token.js +1 -1
  5. package/dist/apis/address-suggestions.cjs +6 -6
  6. package/dist/apis/address-suggestions.js +1 -1
  7. package/dist/apis/address.cjs +6 -6
  8. package/dist/apis/address.js +1 -1
  9. package/dist/apis/ai-agents.cjs +6 -6
  10. package/dist/apis/ai-agents.js +1 -1
  11. package/dist/apis/app.cjs +6 -6
  12. package/dist/apis/app.js +1 -1
  13. package/dist/apis/audit-logs.cjs +6 -6
  14. package/dist/apis/audit-logs.js +1 -1
  15. package/dist/apis/automation.cjs +6 -6
  16. package/dist/apis/automation.js +1 -1
  17. package/dist/apis/billing.cjs +6 -6
  18. package/dist/apis/billing.js +1 -1
  19. package/dist/apis/blueprint-manifest.cjs +6 -6
  20. package/dist/apis/blueprint-manifest.js +1 -1
  21. package/dist/apis/calendar.cjs +6 -6
  22. package/dist/apis/calendar.js +1 -1
  23. package/dist/apis/configuration-hub.cjs +6 -6
  24. package/dist/apis/configuration-hub.js +1 -1
  25. package/dist/apis/consent.cjs +6 -6
  26. package/dist/apis/consent.js +1 -1
  27. package/dist/apis/customer-portal.cjs +6 -6
  28. package/dist/apis/customer-portal.js +1 -1
  29. package/dist/apis/dashboard.cjs +6 -6
  30. package/dist/apis/dashboard.js +1 -1
  31. package/dist/apis/data-governance.cjs +6 -6
  32. package/dist/apis/data-governance.js +1 -1
  33. package/dist/apis/deduplication.cjs +6 -6
  34. package/dist/apis/deduplication.js +1 -1
  35. package/dist/apis/design.cjs +6 -6
  36. package/dist/apis/design.js +1 -1
  37. package/dist/apis/document.cjs +6 -6
  38. package/dist/apis/document.js +1 -1
  39. package/dist/apis/email-settings.cjs +6 -6
  40. package/dist/apis/email-settings.js +1 -1
  41. package/dist/apis/email-template.cjs +6 -6
  42. package/dist/apis/email-template.js +1 -1
  43. package/dist/apis/entity-mapping.cjs +6 -6
  44. package/dist/apis/entity-mapping.js +1 -1
  45. package/dist/apis/entity.cjs +6 -6
  46. package/dist/apis/entity.js +1 -1
  47. package/dist/apis/environments.cjs +6 -6
  48. package/dist/apis/environments.js +1 -1
  49. package/dist/apis/event-catalog.cjs +6 -6
  50. package/dist/apis/event-catalog.js +1 -1
  51. package/dist/apis/file.cjs +8 -8
  52. package/dist/apis/file.d.cts +2 -2
  53. package/dist/apis/file.d.ts +2 -2
  54. package/dist/apis/file.js +2 -2
  55. package/dist/apis/iban.cjs +6 -6
  56. package/dist/apis/iban.js +1 -1
  57. package/dist/apis/integration-toolkit.cjs +6 -6
  58. package/dist/apis/integration-toolkit.js +1 -1
  59. package/dist/apis/journey.cjs +6 -6
  60. package/dist/apis/journey.js +1 -1
  61. package/dist/apis/kanban.cjs +6 -6
  62. package/dist/apis/kanban.js +1 -1
  63. package/dist/apis/message.cjs +6 -6
  64. package/dist/apis/message.js +1 -1
  65. package/dist/apis/metering.cjs +6 -6
  66. package/dist/apis/metering.js +1 -1
  67. package/dist/apis/notes.cjs +6 -6
  68. package/dist/apis/notes.js +1 -1
  69. package/dist/apis/notification.cjs +6 -6
  70. package/dist/apis/notification.js +1 -1
  71. package/dist/apis/organization.cjs +6 -6
  72. package/dist/apis/organization.js +1 -1
  73. package/dist/apis/partner-directory.cjs +6 -6
  74. package/dist/apis/partner-directory.js +1 -1
  75. package/dist/apis/permissions.cjs +6 -6
  76. package/dist/apis/permissions.js +1 -1
  77. package/dist/apis/pricing-tier.cjs +6 -6
  78. package/dist/apis/pricing-tier.js +1 -1
  79. package/dist/apis/pricing.cjs +6 -6
  80. package/dist/apis/pricing.js +1 -1
  81. package/dist/apis/purpose.cjs +6 -6
  82. package/dist/apis/purpose.js +1 -1
  83. package/dist/apis/query.cjs +6 -6
  84. package/dist/apis/query.js +1 -1
  85. package/dist/apis/sandbox.cjs +6 -6
  86. package/dist/apis/sandbox.js +1 -1
  87. package/dist/apis/sharing.cjs +6 -6
  88. package/dist/apis/sharing.js +1 -1
  89. package/dist/apis/submission.cjs +6 -6
  90. package/dist/apis/submission.js +1 -1
  91. package/dist/apis/target.cjs +6 -6
  92. package/dist/apis/target.js +1 -1
  93. package/dist/apis/targeting.cjs +6 -6
  94. package/dist/apis/targeting.js +1 -1
  95. package/dist/apis/template-variables.cjs +6 -6
  96. package/dist/apis/template-variables.js +1 -1
  97. package/dist/apis/user.cjs +6 -6
  98. package/dist/apis/user.js +1 -1
  99. package/dist/apis/validation-rules.cjs +6 -6
  100. package/dist/apis/validation-rules.js +1 -1
  101. package/dist/apis/webhooks.cjs +6 -6
  102. package/dist/apis/webhooks.js +1 -1
  103. package/dist/apis/workflow-definition.cjs +6 -6
  104. package/dist/apis/workflow-definition.js +1 -1
  105. package/dist/apis/workflow.cjs +6 -6
  106. package/dist/apis/workflow.js +1 -1
  107. package/dist/{chunk-IVLR4CQF.js → chunk-2FJMQLXE.js} +2 -2
  108. package/dist/chunk-4M5V6BIT.cjs +14 -0
  109. package/dist/{chunk-SOPJ42HW.cjs → chunk-QNMDISUR.cjs} +2 -2
  110. package/dist/chunk-RDVFQOCQ.js +14 -0
  111. package/dist/file-BGJVE7QG.cjs +7 -0
  112. package/dist/file-DRLPMLFW.js +7 -0
  113. package/dist/file-runtime-7AWKNQU6.cjs +5 -0
  114. package/dist/{file-runtime-BIRMXYRH.js → file-runtime-DKGFS44O.js} +1 -1
  115. package/dist/{file.d-DTlrbI40.d.cts → file.d-Rq_mbdOo.d.cts} +145 -5
  116. package/dist/{file.d-DTlrbI40.d.ts → file.d-Rq_mbdOo.d.ts} +145 -5
  117. package/dist/index.cjs +10 -10
  118. package/dist/index.d.cts +1 -1
  119. package/dist/index.d.ts +1 -1
  120. package/dist/index.js +2 -2
  121. package/docs/file.md +81 -0
  122. package/package.json +1 -1
  123. package/dist/chunk-3APTSPY4.js +0 -14
  124. package/dist/chunk-OPXGJKZR.cjs +0 -14
  125. package/dist/file-P2FUUER2.js +0 -7
  126. package/dist/file-XTY74SIX.cjs +0 -7
  127. package/dist/file-runtime-24S3QPA7.cjs +0 -5
@@ -1279,9 +1279,11 @@ declare namespace Components {
1279
1279
  */
1280
1280
  zip_filename?: string;
1281
1281
  /**
1282
- * Send email notification when ZIP is ready
1282
+ * Email address to notify when the ZIP is ready. Omit to skip the email notification.
1283
+ * example:
1284
+ * user@example.com
1283
1285
  */
1284
- notify_email?: boolean;
1286
+ notify_email?: string; // email
1285
1287
  } | {
1286
1288
  /**
1287
1289
  * List of file entity IDs to include in the ZIP
@@ -2317,9 +2319,11 @@ declare namespace Components {
2317
2319
  */
2318
2320
  zip_filename?: string;
2319
2321
  /**
2320
- * Send email notification when ZIP is ready
2322
+ * Email address to notify when the ZIP is ready. Omit to skip the email notification.
2323
+ * example:
2324
+ * user@example.com
2321
2325
  */
2322
- notify_email?: boolean;
2326
+ notify_email?: string; // email
2323
2327
  };
2324
2328
  /**
2325
2329
  * Custom external download url used for the file
@@ -2426,6 +2430,15 @@ declare namespace Components {
2426
2430
  * https://some-api-url.com/download?file_id=123
2427
2431
  */
2428
2432
  CustomDownloadUrl /* uri */;
2433
+ /**
2434
+ * AI-generated compact summary for hover and list preview surfaces.
2435
+ */
2436
+ preview_summary?: string;
2437
+ /**
2438
+ * AI-generated short paragraph summary for file preview surfaces.
2439
+ */
2440
+ short_summary?: string;
2441
+ summary_status?: /* Current AI summary generation state for the file. */ FileSummaryStatus;
2429
2442
  }
2430
2443
  export interface FileCollectionAttributes {
2431
2444
  /**
@@ -2625,6 +2638,15 @@ declare namespace Components {
2625
2638
  * https://some-api-url.com/download?file_id=123
2626
2639
  */
2627
2640
  CustomDownloadUrl /* uri */;
2641
+ /**
2642
+ * AI-generated compact summary for hover and list preview surfaces.
2643
+ */
2644
+ preview_summary?: string;
2645
+ /**
2646
+ * AI-generated short paragraph summary for file preview surfaces.
2647
+ */
2648
+ short_summary?: string;
2649
+ summary_status?: /* Current AI summary generation state for the file. */ FileSummaryStatus;
2628
2650
  /**
2629
2651
  * Source URL for the file. Included if the entity was created from source_url, or when ?source_url=true
2630
2652
  * example:
@@ -2696,6 +2718,13 @@ declare namespace Components {
2696
2718
  EntitySlug;
2697
2719
  _tags?: string[];
2698
2720
  }
2721
+ export interface FileSummaryGenerationStatus {
2722
+ status: /* Current AI summary generation state for the file. */ FileSummaryStatus;
2723
+ }
2724
+ /**
2725
+ * Current AI summary generation state for the file.
2726
+ */
2727
+ export type FileSummaryStatus = "processing" | "completed" | "failed" | "unsupported";
2699
2728
  export type FileType = "document" | "document_template" | "text" | "image" | "video" | "audio" | "spreadsheet" | "presentation" | "font" | "archive" | "application" | "unknown";
2700
2729
  export interface FileUpload {
2701
2730
  s3ref?: S3Reference;
@@ -2820,6 +2849,15 @@ declare namespace Components {
2820
2849
  * https://some-api-url.com/download?file_id=123
2821
2850
  */
2822
2851
  CustomDownloadUrl /* uri */;
2852
+ /**
2853
+ * AI-generated compact summary for hover and list preview surfaces.
2854
+ */
2855
+ preview_summary?: string;
2856
+ /**
2857
+ * AI-generated short paragraph summary for file preview surfaces.
2858
+ */
2859
+ short_summary?: string;
2860
+ summary_status?: /* Current AI summary generation state for the file. */ FileSummaryStatus;
2823
2861
  }
2824
2862
  export interface SaveFileFromSourceURLPayload {
2825
2863
  [name: string]: any;
@@ -2899,6 +2937,15 @@ declare namespace Components {
2899
2937
  * https://some-api-url.com/download?file_id=123
2900
2938
  */
2901
2939
  CustomDownloadUrl /* uri */;
2940
+ /**
2941
+ * AI-generated compact summary for hover and list preview surfaces.
2942
+ */
2943
+ preview_summary?: string;
2944
+ /**
2945
+ * AI-generated short paragraph summary for file preview surfaces.
2946
+ */
2947
+ short_summary?: string;
2948
+ summary_status?: /* Current AI summary generation state for the file. */ FileSummaryStatus;
2902
2949
  source_url?: /**
2903
2950
  * Custom external download url used for the file
2904
2951
  * example:
@@ -2986,6 +3033,15 @@ declare namespace Components {
2986
3033
  * https://some-api-url.com/download?file_id=123
2987
3034
  */
2988
3035
  CustomDownloadUrl /* uri */;
3036
+ /**
3037
+ * AI-generated compact summary for hover and list preview surfaces.
3038
+ */
3039
+ preview_summary?: string;
3040
+ /**
3041
+ * AI-generated short paragraph summary for file preview surfaces.
3042
+ */
3043
+ short_summary?: string;
3044
+ summary_status?: /* Current AI summary generation state for the file. */ FileSummaryStatus;
2989
3045
  s3ref?: S3Ref;
2990
3046
  }
2991
3047
  export interface UploadFilePayload {
@@ -3513,6 +3569,66 @@ declare namespace Paths {
3513
3569
  Components.Responses.InternalServerError;
3514
3570
  }
3515
3571
  }
3572
+ namespace GenerateFileSummary {
3573
+ namespace Parameters {
3574
+ export type Id = /**
3575
+ * example:
3576
+ * ef7d985c-2385-44f4-9c71-ae06a52264f8
3577
+ */
3578
+ Components.Schemas.FileEntityId;
3579
+ }
3580
+ export interface PathParameters {
3581
+ id: Parameters.Id;
3582
+ }
3583
+ namespace Responses {
3584
+ export type $202 = Components.Schemas.FileSummaryGenerationStatus;
3585
+ export type $400 = /**
3586
+ * A generic error returned by the API
3587
+ * example:
3588
+ * {
3589
+ * "status": 400,
3590
+ * "error": "Bad Request: filename is required"
3591
+ * }
3592
+ */
3593
+ Components.Responses.BadRequestError;
3594
+ export type $401 = /**
3595
+ * A generic error returned by the API
3596
+ * example:
3597
+ * {
3598
+ * "status": 401,
3599
+ * "error": "Unauthorized: Invalid or expired token"
3600
+ * }
3601
+ */
3602
+ Components.Responses.UnauthorizedError;
3603
+ export type $403 = /**
3604
+ * A generic error returned by the API
3605
+ * example:
3606
+ * {
3607
+ * "status": 403,
3608
+ * "error": "Forbidden: You do not have permission to access this file"
3609
+ * }
3610
+ */
3611
+ Components.Responses.ForbiddenError;
3612
+ export type $404 = /**
3613
+ * A generic error returned by the API
3614
+ * example:
3615
+ * {
3616
+ * "status": 404,
3617
+ * "error": "Not Found: File entity not found"
3618
+ * }
3619
+ */
3620
+ Components.Responses.NotFoundError;
3621
+ export type $500 = /**
3622
+ * A generic error returned by the API
3623
+ * example:
3624
+ * {
3625
+ * "status": 500,
3626
+ * "error": "Internal Server Error"
3627
+ * }
3628
+ */
3629
+ Components.Responses.InternalServerError;
3630
+ }
3631
+ }
3516
3632
  namespace GeneratePublicLink {
3517
3633
  namespace Parameters {
3518
3634
  export type Id = /**
@@ -4533,6 +4649,16 @@ interface OperationMethods {
4533
4649
  data?: any,
4534
4650
  config?: AxiosRequestConfig
4535
4651
  ): OperationResponse<Paths.GetZipJob.Responses.$200>
4652
+ /**
4653
+ * generateFileSummary - generateFileSummary
4654
+ *
4655
+ * Request AI generation of preview and short summaries for a file entity.
4656
+ */
4657
+ 'generateFileSummary'(
4658
+ parameters?: Parameters<Paths.GenerateFileSummary.PathParameters> | null,
4659
+ data?: any,
4660
+ config?: AxiosRequestConfig
4661
+ ): OperationResponse<Paths.GenerateFileSummary.Responses.$202>
4536
4662
  /**
4537
4663
  * previewFile - previewFile
4538
4664
  *
@@ -4984,6 +5110,18 @@ interface PathsDictionary {
4984
5110
  config?: AxiosRequestConfig
4985
5111
  ): OperationResponse<Paths.GetZipJob.Responses.$200>
4986
5112
  }
5113
+ ['/v1/files/{id}/summary:generate']: {
5114
+ /**
5115
+ * generateFileSummary - generateFileSummary
5116
+ *
5117
+ * Request AI generation of preview and short summaries for a file entity.
5118
+ */
5119
+ 'post'(
5120
+ parameters?: Parameters<Paths.GenerateFileSummary.PathParameters> | null,
5121
+ data?: any,
5122
+ config?: AxiosRequestConfig
5123
+ ): OperationResponse<Paths.GenerateFileSummary.Responses.$202>
5124
+ }
4987
5125
  ['/v1/files/{id}/preview']: {
4988
5126
  /**
4989
5127
  * previewFile - previewFile
@@ -5292,6 +5430,8 @@ type FileEntity = Components.Schemas.FileEntity;
5292
5430
  type FileEntityId = Components.Schemas.FileEntityId;
5293
5431
  type FileItem = Components.Schemas.FileItem;
5294
5432
  type FileRelationItem = Components.Schemas.FileRelationItem;
5433
+ type FileSummaryGenerationStatus = Components.Schemas.FileSummaryGenerationStatus;
5434
+ type FileSummaryStatus = Components.Schemas.FileSummaryStatus;
5295
5435
  type FileType = Components.Schemas.FileType;
5296
5436
  type FileUpload = Components.Schemas.FileUpload;
5297
5437
  type PublicLink = Components.Schemas.PublicLink;
@@ -5306,4 +5446,4 @@ type UploadFilePayload = Components.Schemas.UploadFilePayload;
5306
5446
  type VerifyCustomDownloadUrlPayload = Components.Schemas.VerifyCustomDownloadUrlPayload;
5307
5447
  type ZipJob = Components.Schemas.ZipJob;
5308
5448
 
5309
- export { type ActivityId as A, type BaseEntityAcl as B, type Client as C, type DownloadFilesPayload as D, type EntityId as E, type FileAttributes as F, type OperationMethods as O, Paths as P, type S3Ref as S, type UploadFilePayload as U, type VerifyCustomDownloadUrlPayload as V, type ZipJob as Z, Components as a, type PathsDictionary as b, type BaseEntityOwner as c, type BatchSaveFileVersionPayload as d, type CommonSaveFilePayload as e, type CreateZipJobPayload as f, type CustomDownloadUrl as g, type EntitySlug as h, type ErrorObject as i, type FileCollectionAttributes as j, type FileCollectionCreateRequest as k, type FileCollectionId as l, type FileCollectionItem as m, type FileEntity as n, type FileEntityId as o, type FileItem as p, type FileRelationItem as q, type FileType as r, type FileUpload as s, type PublicLink as t, type S3Reference as u, type SaveCustomFilePayload as v, type SaveFileFromSourceURLPayload as w, type SaveFilePayload as x, type SaveFilePayloadV2 as y, type SaveS3FilePayload as z };
5449
+ export { type ActivityId as A, type BaseEntityAcl as B, type Client as C, type DownloadFilesPayload as D, type EntityId as E, type FileAttributes as F, type SaveFilePayloadV2 as G, type SaveS3FilePayload as H, type OperationMethods as O, Paths as P, type S3Ref as S, type UploadFilePayload as U, type VerifyCustomDownloadUrlPayload as V, type ZipJob as Z, Components as a, type PathsDictionary as b, type BaseEntityOwner as c, type BatchSaveFileVersionPayload as d, type CommonSaveFilePayload as e, type CreateZipJobPayload as f, type CustomDownloadUrl as g, type EntitySlug as h, type ErrorObject as i, type FileCollectionAttributes as j, type FileCollectionCreateRequest as k, type FileCollectionId as l, type FileCollectionItem as m, type FileEntity as n, type FileEntityId as o, type FileItem as p, type FileRelationItem as q, type FileSummaryGenerationStatus as r, type FileSummaryStatus as s, type FileType as t, type FileUpload as u, type PublicLink as v, type S3Reference as w, type SaveCustomFilePayload as x, type SaveFileFromSourceURLPayload as y, type SaveFilePayload as z };
@@ -1279,9 +1279,11 @@ declare namespace Components {
1279
1279
  */
1280
1280
  zip_filename?: string;
1281
1281
  /**
1282
- * Send email notification when ZIP is ready
1282
+ * Email address to notify when the ZIP is ready. Omit to skip the email notification.
1283
+ * example:
1284
+ * user@example.com
1283
1285
  */
1284
- notify_email?: boolean;
1286
+ notify_email?: string; // email
1285
1287
  } | {
1286
1288
  /**
1287
1289
  * List of file entity IDs to include in the ZIP
@@ -2317,9 +2319,11 @@ declare namespace Components {
2317
2319
  */
2318
2320
  zip_filename?: string;
2319
2321
  /**
2320
- * Send email notification when ZIP is ready
2322
+ * Email address to notify when the ZIP is ready. Omit to skip the email notification.
2323
+ * example:
2324
+ * user@example.com
2321
2325
  */
2322
- notify_email?: boolean;
2326
+ notify_email?: string; // email
2323
2327
  };
2324
2328
  /**
2325
2329
  * Custom external download url used for the file
@@ -2426,6 +2430,15 @@ declare namespace Components {
2426
2430
  * https://some-api-url.com/download?file_id=123
2427
2431
  */
2428
2432
  CustomDownloadUrl /* uri */;
2433
+ /**
2434
+ * AI-generated compact summary for hover and list preview surfaces.
2435
+ */
2436
+ preview_summary?: string;
2437
+ /**
2438
+ * AI-generated short paragraph summary for file preview surfaces.
2439
+ */
2440
+ short_summary?: string;
2441
+ summary_status?: /* Current AI summary generation state for the file. */ FileSummaryStatus;
2429
2442
  }
2430
2443
  export interface FileCollectionAttributes {
2431
2444
  /**
@@ -2625,6 +2638,15 @@ declare namespace Components {
2625
2638
  * https://some-api-url.com/download?file_id=123
2626
2639
  */
2627
2640
  CustomDownloadUrl /* uri */;
2641
+ /**
2642
+ * AI-generated compact summary for hover and list preview surfaces.
2643
+ */
2644
+ preview_summary?: string;
2645
+ /**
2646
+ * AI-generated short paragraph summary for file preview surfaces.
2647
+ */
2648
+ short_summary?: string;
2649
+ summary_status?: /* Current AI summary generation state for the file. */ FileSummaryStatus;
2628
2650
  /**
2629
2651
  * Source URL for the file. Included if the entity was created from source_url, or when ?source_url=true
2630
2652
  * example:
@@ -2696,6 +2718,13 @@ declare namespace Components {
2696
2718
  EntitySlug;
2697
2719
  _tags?: string[];
2698
2720
  }
2721
+ export interface FileSummaryGenerationStatus {
2722
+ status: /* Current AI summary generation state for the file. */ FileSummaryStatus;
2723
+ }
2724
+ /**
2725
+ * Current AI summary generation state for the file.
2726
+ */
2727
+ export type FileSummaryStatus = "processing" | "completed" | "failed" | "unsupported";
2699
2728
  export type FileType = "document" | "document_template" | "text" | "image" | "video" | "audio" | "spreadsheet" | "presentation" | "font" | "archive" | "application" | "unknown";
2700
2729
  export interface FileUpload {
2701
2730
  s3ref?: S3Reference;
@@ -2820,6 +2849,15 @@ declare namespace Components {
2820
2849
  * https://some-api-url.com/download?file_id=123
2821
2850
  */
2822
2851
  CustomDownloadUrl /* uri */;
2852
+ /**
2853
+ * AI-generated compact summary for hover and list preview surfaces.
2854
+ */
2855
+ preview_summary?: string;
2856
+ /**
2857
+ * AI-generated short paragraph summary for file preview surfaces.
2858
+ */
2859
+ short_summary?: string;
2860
+ summary_status?: /* Current AI summary generation state for the file. */ FileSummaryStatus;
2823
2861
  }
2824
2862
  export interface SaveFileFromSourceURLPayload {
2825
2863
  [name: string]: any;
@@ -2899,6 +2937,15 @@ declare namespace Components {
2899
2937
  * https://some-api-url.com/download?file_id=123
2900
2938
  */
2901
2939
  CustomDownloadUrl /* uri */;
2940
+ /**
2941
+ * AI-generated compact summary for hover and list preview surfaces.
2942
+ */
2943
+ preview_summary?: string;
2944
+ /**
2945
+ * AI-generated short paragraph summary for file preview surfaces.
2946
+ */
2947
+ short_summary?: string;
2948
+ summary_status?: /* Current AI summary generation state for the file. */ FileSummaryStatus;
2902
2949
  source_url?: /**
2903
2950
  * Custom external download url used for the file
2904
2951
  * example:
@@ -2986,6 +3033,15 @@ declare namespace Components {
2986
3033
  * https://some-api-url.com/download?file_id=123
2987
3034
  */
2988
3035
  CustomDownloadUrl /* uri */;
3036
+ /**
3037
+ * AI-generated compact summary for hover and list preview surfaces.
3038
+ */
3039
+ preview_summary?: string;
3040
+ /**
3041
+ * AI-generated short paragraph summary for file preview surfaces.
3042
+ */
3043
+ short_summary?: string;
3044
+ summary_status?: /* Current AI summary generation state for the file. */ FileSummaryStatus;
2989
3045
  s3ref?: S3Ref;
2990
3046
  }
2991
3047
  export interface UploadFilePayload {
@@ -3513,6 +3569,66 @@ declare namespace Paths {
3513
3569
  Components.Responses.InternalServerError;
3514
3570
  }
3515
3571
  }
3572
+ namespace GenerateFileSummary {
3573
+ namespace Parameters {
3574
+ export type Id = /**
3575
+ * example:
3576
+ * ef7d985c-2385-44f4-9c71-ae06a52264f8
3577
+ */
3578
+ Components.Schemas.FileEntityId;
3579
+ }
3580
+ export interface PathParameters {
3581
+ id: Parameters.Id;
3582
+ }
3583
+ namespace Responses {
3584
+ export type $202 = Components.Schemas.FileSummaryGenerationStatus;
3585
+ export type $400 = /**
3586
+ * A generic error returned by the API
3587
+ * example:
3588
+ * {
3589
+ * "status": 400,
3590
+ * "error": "Bad Request: filename is required"
3591
+ * }
3592
+ */
3593
+ Components.Responses.BadRequestError;
3594
+ export type $401 = /**
3595
+ * A generic error returned by the API
3596
+ * example:
3597
+ * {
3598
+ * "status": 401,
3599
+ * "error": "Unauthorized: Invalid or expired token"
3600
+ * }
3601
+ */
3602
+ Components.Responses.UnauthorizedError;
3603
+ export type $403 = /**
3604
+ * A generic error returned by the API
3605
+ * example:
3606
+ * {
3607
+ * "status": 403,
3608
+ * "error": "Forbidden: You do not have permission to access this file"
3609
+ * }
3610
+ */
3611
+ Components.Responses.ForbiddenError;
3612
+ export type $404 = /**
3613
+ * A generic error returned by the API
3614
+ * example:
3615
+ * {
3616
+ * "status": 404,
3617
+ * "error": "Not Found: File entity not found"
3618
+ * }
3619
+ */
3620
+ Components.Responses.NotFoundError;
3621
+ export type $500 = /**
3622
+ * A generic error returned by the API
3623
+ * example:
3624
+ * {
3625
+ * "status": 500,
3626
+ * "error": "Internal Server Error"
3627
+ * }
3628
+ */
3629
+ Components.Responses.InternalServerError;
3630
+ }
3631
+ }
3516
3632
  namespace GeneratePublicLink {
3517
3633
  namespace Parameters {
3518
3634
  export type Id = /**
@@ -4533,6 +4649,16 @@ interface OperationMethods {
4533
4649
  data?: any,
4534
4650
  config?: AxiosRequestConfig
4535
4651
  ): OperationResponse<Paths.GetZipJob.Responses.$200>
4652
+ /**
4653
+ * generateFileSummary - generateFileSummary
4654
+ *
4655
+ * Request AI generation of preview and short summaries for a file entity.
4656
+ */
4657
+ 'generateFileSummary'(
4658
+ parameters?: Parameters<Paths.GenerateFileSummary.PathParameters> | null,
4659
+ data?: any,
4660
+ config?: AxiosRequestConfig
4661
+ ): OperationResponse<Paths.GenerateFileSummary.Responses.$202>
4536
4662
  /**
4537
4663
  * previewFile - previewFile
4538
4664
  *
@@ -4984,6 +5110,18 @@ interface PathsDictionary {
4984
5110
  config?: AxiosRequestConfig
4985
5111
  ): OperationResponse<Paths.GetZipJob.Responses.$200>
4986
5112
  }
5113
+ ['/v1/files/{id}/summary:generate']: {
5114
+ /**
5115
+ * generateFileSummary - generateFileSummary
5116
+ *
5117
+ * Request AI generation of preview and short summaries for a file entity.
5118
+ */
5119
+ 'post'(
5120
+ parameters?: Parameters<Paths.GenerateFileSummary.PathParameters> | null,
5121
+ data?: any,
5122
+ config?: AxiosRequestConfig
5123
+ ): OperationResponse<Paths.GenerateFileSummary.Responses.$202>
5124
+ }
4987
5125
  ['/v1/files/{id}/preview']: {
4988
5126
  /**
4989
5127
  * previewFile - previewFile
@@ -5292,6 +5430,8 @@ type FileEntity = Components.Schemas.FileEntity;
5292
5430
  type FileEntityId = Components.Schemas.FileEntityId;
5293
5431
  type FileItem = Components.Schemas.FileItem;
5294
5432
  type FileRelationItem = Components.Schemas.FileRelationItem;
5433
+ type FileSummaryGenerationStatus = Components.Schemas.FileSummaryGenerationStatus;
5434
+ type FileSummaryStatus = Components.Schemas.FileSummaryStatus;
5295
5435
  type FileType = Components.Schemas.FileType;
5296
5436
  type FileUpload = Components.Schemas.FileUpload;
5297
5437
  type PublicLink = Components.Schemas.PublicLink;
@@ -5306,4 +5446,4 @@ type UploadFilePayload = Components.Schemas.UploadFilePayload;
5306
5446
  type VerifyCustomDownloadUrlPayload = Components.Schemas.VerifyCustomDownloadUrlPayload;
5307
5447
  type ZipJob = Components.Schemas.ZipJob;
5308
5448
 
5309
- export { type ActivityId as A, type BaseEntityAcl as B, type Client as C, type DownloadFilesPayload as D, type EntityId as E, type FileAttributes as F, type OperationMethods as O, Paths as P, type S3Ref as S, type UploadFilePayload as U, type VerifyCustomDownloadUrlPayload as V, type ZipJob as Z, Components as a, type PathsDictionary as b, type BaseEntityOwner as c, type BatchSaveFileVersionPayload as d, type CommonSaveFilePayload as e, type CreateZipJobPayload as f, type CustomDownloadUrl as g, type EntitySlug as h, type ErrorObject as i, type FileCollectionAttributes as j, type FileCollectionCreateRequest as k, type FileCollectionId as l, type FileCollectionItem as m, type FileEntity as n, type FileEntityId as o, type FileItem as p, type FileRelationItem as q, type FileType as r, type FileUpload as s, type PublicLink as t, type S3Reference as u, type SaveCustomFilePayload as v, type SaveFileFromSourceURLPayload as w, type SaveFilePayload as x, type SaveFilePayloadV2 as y, type SaveS3FilePayload as z };
5449
+ export { type ActivityId as A, type BaseEntityAcl as B, type Client as C, type DownloadFilesPayload as D, type EntityId as E, type FileAttributes as F, type SaveFilePayloadV2 as G, type SaveS3FilePayload as H, type OperationMethods as O, Paths as P, type S3Ref as S, type UploadFilePayload as U, type VerifyCustomDownloadUrlPayload as V, type ZipJob as Z, Components as a, type PathsDictionary as b, type BaseEntityOwner as c, type BatchSaveFileVersionPayload as d, type CommonSaveFilePayload as e, type CreateZipJobPayload as f, type CustomDownloadUrl as g, type EntitySlug as h, type ErrorObject as i, type FileCollectionAttributes as j, type FileCollectionCreateRequest as k, type FileCollectionId as l, type FileCollectionItem as m, type FileEntity as n, type FileEntityId as o, type FileItem as p, type FileRelationItem as q, type FileSummaryGenerationStatus as r, type FileSummaryStatus as s, type FileType as t, type FileUpload as u, type PublicLink as v, type S3Reference as w, type SaveCustomFilePayload as x, type SaveFileFromSourceURLPayload as y, type SaveFilePayload as z };
package/dist/index.cjs CHANGED
@@ -60,7 +60,7 @@ var _chunkWQBBB6BNcjs = require('./chunk-WQBBB6BN.cjs');
60
60
  var _chunkCBDKPGO5cjs = require('./chunk-CBDKPGO5.cjs');
61
61
 
62
62
 
63
- var _chunkOPXGJKZRcjs = require('./chunk-OPXGJKZR.cjs');
63
+ var _chunk4M5V6BITcjs = require('./chunk-4M5V6BIT.cjs');
64
64
 
65
65
 
66
66
  var _chunkYO4M3BZLcjs = require('./chunk-YO4M3BZL.cjs');
@@ -155,7 +155,7 @@ var _chunkDVM27A7Ecjs = require('./chunk-DVM27A7E.cjs');
155
155
 
156
156
 
157
157
 
158
- var _chunkSOPJ42HWcjs = require('./chunk-SOPJ42HW.cjs');
158
+ var _chunkQNMDISURcjs = require('./chunk-QNMDISUR.cjs');
159
159
 
160
160
 
161
161
  var _chunkNJK5F5TFcjs = require('./chunk-NJK5F5TF.cjs');
@@ -222,7 +222,7 @@ var resolveClient = (params) => {
222
222
  }
223
223
  if (!entry.instance) {
224
224
  const definition = entry.loader();
225
- entry.instance = _chunkSOPJ42HWcjs.createApiClient.call(void 0, {
225
+ entry.instance = _chunkQNMDISURcjs.createApiClient.call(void 0, {
226
226
  definition,
227
227
  token: state.token,
228
228
  headers: state.globalHeaders,
@@ -255,7 +255,7 @@ var resetAllClients = (registry) => {
255
255
  };
256
256
 
257
257
  // src/apis/_registry.ts
258
- var expandDef = (mod) => _chunkSOPJ42HWcjs.expand.call(void 0, _nullishCoalesce(mod.default, () => ( mod)));
258
+ var expandDef = (mod) => _chunkQNMDISURcjs.expand.call(void 0, _nullishCoalesce(mod.default, () => ( mod)));
259
259
  var registerBuiltinApis = (registry) => {
260
260
  registerApi({
261
261
  registry,
@@ -380,7 +380,7 @@ var registerBuiltinApis = (registry) => {
380
380
  registerApi({
381
381
  registry,
382
382
  name: "file",
383
- loader: () => expandDef(_chunkOPXGJKZRcjs.require_file_runtime.call(void 0, ))
383
+ loader: () => expandDef(_chunk4M5V6BITcjs.require_file_runtime.call(void 0, ))
384
384
  });
385
385
  registerApi({
386
386
  registry,
@@ -593,9 +593,9 @@ var createSDK = () => {
593
593
  const available = [...registry.keys()].join(", ");
594
594
  throw new Error(`Unknown API: "${name}". Available: ${available}`);
595
595
  }
596
- return _chunkSOPJ42HWcjs.createApiHandle.call(void 0, {
596
+ return _chunkQNMDISURcjs.createApiHandle.call(void 0, {
597
597
  resolveClient: () => resolveClient({ registry, name, state }),
598
- createClient: () => _chunkSOPJ42HWcjs.createApiClient.call(void 0, { definition: entry.loader(), apiName: name }),
598
+ createClient: () => _chunkQNMDISURcjs.createApiClient.call(void 0, { definition: entry.loader(), apiName: name }),
599
599
  apiName: name
600
600
  });
601
601
  };
@@ -643,9 +643,9 @@ var createSDK = () => {
643
643
  return interceptorUse;
644
644
  }
645
645
  case "help":
646
- return (apiName) => _chunkSOPJ42HWcjs.help.call(void 0, apiName);
646
+ return (apiName) => _chunkQNMDISURcjs.help.call(void 0, apiName);
647
647
  case "openapi":
648
- return (apiName) => _chunkSOPJ42HWcjs.openapi.call(void 0, apiName);
648
+ return (apiName) => _chunkQNMDISURcjs.openapi.call(void 0, apiName);
649
649
  case "then":
650
650
  case "catch":
651
651
  case "finally":
@@ -675,4 +675,4 @@ var epilot = createSDK();
675
675
 
676
676
 
677
677
 
678
- exports.applyLargeResponseInterceptor = applyLargeResponseInterceptor; exports.applyRetryInterceptor = applyRetryInterceptor; exports.authorize = _chunkSOPJ42HWcjs.authorize; exports.createSDK = createSDK; exports.epilot = epilot; exports.help = _chunkSOPJ42HWcjs.help; exports.openapi = _chunkSOPJ42HWcjs.openapi;
678
+ exports.applyLargeResponseInterceptor = applyLargeResponseInterceptor; exports.applyRetryInterceptor = applyRetryInterceptor; exports.authorize = _chunkQNMDISURcjs.authorize; exports.createSDK = createSDK; exports.epilot = epilot; exports.help = _chunkQNMDISURcjs.help; exports.openapi = _chunkQNMDISURcjs.openapi;
package/dist/index.d.cts CHANGED
@@ -27,7 +27,7 @@ import { C as Client$k } from './entity.d-fospShiN.cjs';
27
27
  import { C as Client$l } from './entity-mapping.d-DKSW3sfy.cjs';
28
28
  import { C as Client$m } from './environments.d-BvqvN-PD.cjs';
29
29
  import { C as Client$n } from './event-catalog.d-mQJLSYUo.cjs';
30
- import { C as Client$o } from './file.d-DTlrbI40.cjs';
30
+ import { C as Client$o } from './file.d-Rq_mbdOo.cjs';
31
31
  import { C as Client$p } from './iban.d-BwdiGbxi.cjs';
32
32
  import { C as Client$q } from './integration-toolkit.d-BstNqiJb.cjs';
33
33
  import { C as Client$r } from './journey.d-BenIUWaO.cjs';
package/dist/index.d.ts CHANGED
@@ -27,7 +27,7 @@ import { C as Client$k } from './entity.d-fospShiN.js';
27
27
  import { C as Client$l } from './entity-mapping.d-DKSW3sfy.js';
28
28
  import { C as Client$m } from './environments.d-BvqvN-PD.js';
29
29
  import { C as Client$n } from './event-catalog.d-mQJLSYUo.js';
30
- import { C as Client$o } from './file.d-DTlrbI40.js';
30
+ import { C as Client$o } from './file.d-Rq_mbdOo.js';
31
31
  import { C as Client$p } from './iban.d-BwdiGbxi.js';
32
32
  import { C as Client$q } from './integration-toolkit.d-BstNqiJb.js';
33
33
  import { C as Client$r } from './journey.d-BenIUWaO.js';
package/dist/index.js CHANGED
@@ -60,7 +60,7 @@ import {
60
60
  } from "./chunk-OCMIXJWC.js";
61
61
  import {
62
62
  require_file_runtime
63
- } from "./chunk-3APTSPY4.js";
63
+ } from "./chunk-RDVFQOCQ.js";
64
64
  import {
65
65
  require_iban_runtime
66
66
  } from "./chunk-5MFHAXBT.js";
@@ -155,7 +155,7 @@ import {
155
155
  expand,
156
156
  help,
157
157
  openapi
158
- } from "./chunk-IVLR4CQF.js";
158
+ } from "./chunk-2FJMQLXE.js";
159
159
  import {
160
160
  __require
161
161
  } from "./chunk-YPSWSI3M.js";