@epilot/sdk 2.18.9 → 2.18.11
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/definitions/ai-agents-runtime.json +1 -1
- package/definitions/ai-agents.json +185 -0
- package/definitions/file-runtime.json +1 -1
- package/definitions/file.json +178 -0
- package/dist/ai-agents-3JK4UU2G.js +7 -0
- package/dist/ai-agents-XST3YUFA.cjs +7 -0
- package/dist/{ai-agents-runtime-EA23HCCP.js → ai-agents-runtime-HOBR2KUZ.js} +1 -1
- package/dist/{ai-agents-runtime-WZ3EI3NH.cjs → ai-agents-runtime-T62OQDWE.cjs} +2 -2
- package/dist/{ai-agents.d-D-7bTH-9.d.cts → ai-agents.d-BnR7CAeJ.d.cts} +91 -1
- package/dist/{ai-agents.d-D-7bTH-9.d.ts → ai-agents.d-BnR7CAeJ.d.ts} +91 -1
- package/dist/apis/access-token.cjs +6 -6
- package/dist/apis/access-token.js +1 -1
- package/dist/apis/address-suggestions.cjs +6 -6
- package/dist/apis/address-suggestions.js +1 -1
- package/dist/apis/address.cjs +6 -6
- package/dist/apis/address.js +1 -1
- package/dist/apis/ai-agents.cjs +8 -8
- package/dist/apis/ai-agents.d.cts +2 -2
- package/dist/apis/ai-agents.d.ts +2 -2
- package/dist/apis/ai-agents.js +2 -2
- package/dist/apis/app.cjs +6 -6
- package/dist/apis/app.js +1 -1
- package/dist/apis/audit-logs.cjs +6 -6
- package/dist/apis/audit-logs.js +1 -1
- package/dist/apis/automation.cjs +6 -6
- package/dist/apis/automation.js +1 -1
- package/dist/apis/billing.cjs +6 -6
- package/dist/apis/billing.js +1 -1
- package/dist/apis/blueprint-manifest.cjs +6 -6
- package/dist/apis/blueprint-manifest.js +1 -1
- package/dist/apis/calendar.cjs +6 -6
- package/dist/apis/calendar.js +1 -1
- package/dist/apis/configuration-hub.cjs +6 -6
- package/dist/apis/configuration-hub.js +1 -1
- package/dist/apis/consent.cjs +6 -6
- package/dist/apis/consent.js +1 -1
- package/dist/apis/customer-portal.cjs +6 -6
- package/dist/apis/customer-portal.js +1 -1
- package/dist/apis/dashboard.cjs +6 -6
- package/dist/apis/dashboard.js +1 -1
- package/dist/apis/data-governance.cjs +6 -6
- package/dist/apis/data-governance.js +1 -1
- package/dist/apis/deduplication.cjs +6 -6
- package/dist/apis/deduplication.js +1 -1
- package/dist/apis/design.cjs +6 -6
- package/dist/apis/design.js +1 -1
- package/dist/apis/document.cjs +6 -6
- package/dist/apis/document.js +1 -1
- package/dist/apis/email-settings.cjs +6 -6
- package/dist/apis/email-settings.js +1 -1
- package/dist/apis/email-template.cjs +6 -6
- package/dist/apis/email-template.js +1 -1
- package/dist/apis/entity-mapping.cjs +6 -6
- package/dist/apis/entity-mapping.js +1 -1
- package/dist/apis/entity.cjs +6 -6
- package/dist/apis/entity.js +1 -1
- package/dist/apis/environments.cjs +6 -6
- package/dist/apis/environments.js +1 -1
- package/dist/apis/event-catalog.cjs +6 -6
- package/dist/apis/event-catalog.js +1 -1
- package/dist/apis/file.cjs +8 -8
- package/dist/apis/file.d.cts +2 -2
- package/dist/apis/file.d.ts +2 -2
- package/dist/apis/file.js +2 -2
- package/dist/apis/iban.cjs +6 -6
- package/dist/apis/iban.js +1 -1
- package/dist/apis/integration-toolkit.cjs +6 -6
- package/dist/apis/integration-toolkit.js +1 -1
- package/dist/apis/journey.cjs +6 -6
- package/dist/apis/journey.js +1 -1
- package/dist/apis/kanban.cjs +6 -6
- package/dist/apis/kanban.js +1 -1
- package/dist/apis/message.cjs +6 -6
- package/dist/apis/message.js +1 -1
- package/dist/apis/metering.cjs +6 -6
- package/dist/apis/metering.js +1 -1
- package/dist/apis/notes.cjs +6 -6
- package/dist/apis/notes.js +1 -1
- package/dist/apis/notification.cjs +6 -6
- package/dist/apis/notification.js +1 -1
- package/dist/apis/organization.cjs +6 -6
- package/dist/apis/organization.js +1 -1
- package/dist/apis/partner-directory.cjs +6 -6
- package/dist/apis/partner-directory.js +1 -1
- package/dist/apis/permissions.cjs +6 -6
- package/dist/apis/permissions.js +1 -1
- package/dist/apis/pricing-tier.cjs +6 -6
- package/dist/apis/pricing-tier.js +1 -1
- package/dist/apis/pricing.cjs +6 -6
- package/dist/apis/pricing.js +1 -1
- package/dist/apis/purpose.cjs +6 -6
- package/dist/apis/purpose.js +1 -1
- package/dist/apis/query.cjs +6 -6
- package/dist/apis/query.js +1 -1
- package/dist/apis/sandbox.cjs +6 -6
- package/dist/apis/sandbox.js +1 -1
- package/dist/apis/sharing.cjs +6 -6
- package/dist/apis/sharing.js +1 -1
- package/dist/apis/snapshot.cjs +6 -6
- package/dist/apis/snapshot.js +1 -1
- package/dist/apis/submission.cjs +6 -6
- package/dist/apis/submission.js +1 -1
- package/dist/apis/target.cjs +6 -6
- package/dist/apis/target.js +1 -1
- package/dist/apis/targeting.cjs +6 -6
- package/dist/apis/targeting.js +1 -1
- package/dist/apis/template-variables.cjs +6 -6
- package/dist/apis/template-variables.js +1 -1
- package/dist/apis/user.cjs +6 -6
- package/dist/apis/user.js +1 -1
- package/dist/apis/validation-rules.cjs +6 -6
- package/dist/apis/validation-rules.js +1 -1
- package/dist/apis/webhooks.cjs +6 -6
- package/dist/apis/webhooks.js +1 -1
- package/dist/apis/workflow-definition.cjs +6 -6
- package/dist/apis/workflow-definition.js +1 -1
- package/dist/apis/workflow.cjs +6 -6
- package/dist/apis/workflow.js +1 -1
- package/dist/{chunk-X7DUVWSL.cjs → chunk-324JJ7CA.cjs} +4 -4
- package/dist/chunk-5S2PEECD.cjs +14 -0
- package/dist/{chunk-YEBEA6XU.cjs → chunk-GD6KHA54.cjs} +1 -1
- package/dist/chunk-IBMGFLXF.js +14 -0
- package/dist/{chunk-BRWY3QHG.js → chunk-IZ6OQZZ2.js} +1 -1
- package/dist/{chunk-P32T4ZYN.js → chunk-MIHMEO7K.js} +4 -4
- package/dist/file-M5HNKOPG.cjs +7 -0
- package/dist/file-ZUNCUDBY.js +7 -0
- package/dist/{file-runtime-ASJ6YBDM.js → file-runtime-423SISQ2.js} +1 -1
- package/dist/file-runtime-IHVDQNIX.cjs +5 -0
- package/dist/{file.d-FYKxJ29C.d.cts → file.d-CBsXF4W8.d.cts} +218 -1
- package/dist/{file.d-FYKxJ29C.d.ts → file.d-CBsXF4W8.d.ts} +218 -1
- package/dist/index.cjs +12 -12
- package/dist/index.d.cts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +3 -3
- package/docs/ai-agents.md +104 -0
- package/docs/file.md +122 -0
- package/package.json +1 -1
- package/dist/ai-agents-D6C5TXLD.cjs +0 -7
- package/dist/ai-agents-Y6PH53PH.js +0 -7
- package/dist/chunk-CIPXCDZ6.js +0 -14
- package/dist/chunk-CO7WGRHF.cjs +0 -14
- package/dist/file-A6OZJKIS.cjs +0 -7
- package/dist/file-CRT7VUGQ.js +0 -7
- package/dist/file-runtime-VQIZUOUB.cjs +0 -5
|
@@ -2486,6 +2486,10 @@ declare namespace Components {
|
|
|
2486
2486
|
* Short English paragraph summary for file preview surfaces.
|
|
2487
2487
|
*/
|
|
2488
2488
|
short_summary_en?: string;
|
|
2489
|
+
/**
|
|
2490
|
+
* AI execution that produced the current summary. Used to correlate user feedback.
|
|
2491
|
+
*/
|
|
2492
|
+
file_summary_execution_id?: string; // uuid
|
|
2489
2493
|
}
|
|
2490
2494
|
export interface FileCollectionAttributes {
|
|
2491
2495
|
/**
|
|
@@ -2713,6 +2717,10 @@ declare namespace Components {
|
|
|
2713
2717
|
* Short English paragraph summary for file preview surfaces.
|
|
2714
2718
|
*/
|
|
2715
2719
|
short_summary_en?: string;
|
|
2720
|
+
/**
|
|
2721
|
+
* AI execution that produced the current summary. Used to correlate user feedback.
|
|
2722
|
+
*/
|
|
2723
|
+
file_summary_execution_id?: string; // uuid
|
|
2716
2724
|
/**
|
|
2717
2725
|
* Source URL for the file. Included if the entity was created from source_url, or when ?source_url=true
|
|
2718
2726
|
* example:
|
|
@@ -2796,6 +2804,10 @@ declare namespace Components {
|
|
|
2796
2804
|
* Current summary job ID when available.
|
|
2797
2805
|
*/
|
|
2798
2806
|
job_id?: string; // uuid
|
|
2807
|
+
/**
|
|
2808
|
+
* Whether the current summary can receive user feedback.
|
|
2809
|
+
*/
|
|
2810
|
+
feedback_available?: boolean;
|
|
2799
2811
|
/**
|
|
2800
2812
|
* Compact German summary for hover and list preview surfaces.
|
|
2801
2813
|
*/
|
|
@@ -2813,6 +2825,20 @@ declare namespace Components {
|
|
|
2813
2825
|
*/
|
|
2814
2826
|
short_summary_en?: string | null;
|
|
2815
2827
|
}
|
|
2828
|
+
export interface FileSummaryFeedback {
|
|
2829
|
+
rating: "up" | "down";
|
|
2830
|
+
comment?: string;
|
|
2831
|
+
user_id: string;
|
|
2832
|
+
submitted_at: string; // date-time
|
|
2833
|
+
}
|
|
2834
|
+
export interface FileSummaryFeedbackResponse {
|
|
2835
|
+
feedback: {
|
|
2836
|
+
rating: "up" | "down";
|
|
2837
|
+
comment?: string;
|
|
2838
|
+
user_id: string;
|
|
2839
|
+
submitted_at: string; // date-time
|
|
2840
|
+
} | null;
|
|
2841
|
+
}
|
|
2816
2842
|
export interface FileSummaryJob {
|
|
2817
2843
|
/**
|
|
2818
2844
|
* File summary job ID.
|
|
@@ -2900,6 +2926,10 @@ declare namespace Components {
|
|
|
2900
2926
|
*/
|
|
2901
2927
|
last_accessed_at?: string;
|
|
2902
2928
|
}
|
|
2929
|
+
export interface PutFileSummaryFeedbackRequest {
|
|
2930
|
+
rating: "up" | "down";
|
|
2931
|
+
comment?: string;
|
|
2932
|
+
}
|
|
2903
2933
|
export type S3Ref = S3Reference;
|
|
2904
2934
|
export interface S3Reference {
|
|
2905
2935
|
/**
|
|
@@ -3019,6 +3049,10 @@ declare namespace Components {
|
|
|
3019
3049
|
* Short English paragraph summary for file preview surfaces.
|
|
3020
3050
|
*/
|
|
3021
3051
|
short_summary_en?: string;
|
|
3052
|
+
/**
|
|
3053
|
+
* AI execution that produced the current summary. Used to correlate user feedback.
|
|
3054
|
+
*/
|
|
3055
|
+
file_summary_execution_id?: string; // uuid
|
|
3022
3056
|
}
|
|
3023
3057
|
export interface SaveFileFromSourceURLPayload {
|
|
3024
3058
|
[name: string]: any;
|
|
@@ -3126,6 +3160,10 @@ declare namespace Components {
|
|
|
3126
3160
|
* Short English paragraph summary for file preview surfaces.
|
|
3127
3161
|
*/
|
|
3128
3162
|
short_summary_en?: string;
|
|
3163
|
+
/**
|
|
3164
|
+
* AI execution that produced the current summary. Used to correlate user feedback.
|
|
3165
|
+
*/
|
|
3166
|
+
file_summary_execution_id?: string; // uuid
|
|
3129
3167
|
source_url?: /**
|
|
3130
3168
|
* Custom external download url used for the file
|
|
3131
3169
|
* example:
|
|
@@ -3241,6 +3279,10 @@ declare namespace Components {
|
|
|
3241
3279
|
* Short English paragraph summary for file preview surfaces.
|
|
3242
3280
|
*/
|
|
3243
3281
|
short_summary_en?: string;
|
|
3282
|
+
/**
|
|
3283
|
+
* AI execution that produced the current summary. Used to correlate user feedback.
|
|
3284
|
+
*/
|
|
3285
|
+
file_summary_execution_id?: string; // uuid
|
|
3244
3286
|
s3ref?: S3Ref;
|
|
3245
3287
|
}
|
|
3246
3288
|
export interface UploadFilePayload {
|
|
@@ -4137,6 +4179,66 @@ declare namespace Paths {
|
|
|
4137
4179
|
Components.Responses.InternalServerError;
|
|
4138
4180
|
}
|
|
4139
4181
|
}
|
|
4182
|
+
namespace GetFileSummaryFeedback {
|
|
4183
|
+
namespace Parameters {
|
|
4184
|
+
export type Id = /**
|
|
4185
|
+
* example:
|
|
4186
|
+
* ef7d985c-2385-44f4-9c71-ae06a52264f8
|
|
4187
|
+
*/
|
|
4188
|
+
Components.Schemas.FileEntityId;
|
|
4189
|
+
}
|
|
4190
|
+
export interface PathParameters {
|
|
4191
|
+
id: Parameters.Id;
|
|
4192
|
+
}
|
|
4193
|
+
namespace Responses {
|
|
4194
|
+
export type $200 = Components.Schemas.FileSummaryFeedbackResponse;
|
|
4195
|
+
export type $400 = /**
|
|
4196
|
+
* A generic error returned by the API
|
|
4197
|
+
* example:
|
|
4198
|
+
* {
|
|
4199
|
+
* "status": 400,
|
|
4200
|
+
* "error": "Bad Request: filename is required"
|
|
4201
|
+
* }
|
|
4202
|
+
*/
|
|
4203
|
+
Components.Responses.BadRequestError;
|
|
4204
|
+
export type $401 = /**
|
|
4205
|
+
* A generic error returned by the API
|
|
4206
|
+
* example:
|
|
4207
|
+
* {
|
|
4208
|
+
* "status": 401,
|
|
4209
|
+
* "error": "Unauthorized: Invalid or expired token"
|
|
4210
|
+
* }
|
|
4211
|
+
*/
|
|
4212
|
+
Components.Responses.UnauthorizedError;
|
|
4213
|
+
export type $403 = /**
|
|
4214
|
+
* A generic error returned by the API
|
|
4215
|
+
* example:
|
|
4216
|
+
* {
|
|
4217
|
+
* "status": 403,
|
|
4218
|
+
* "error": "Forbidden: You do not have permission to access this file"
|
|
4219
|
+
* }
|
|
4220
|
+
*/
|
|
4221
|
+
Components.Responses.ForbiddenError;
|
|
4222
|
+
export type $404 = /**
|
|
4223
|
+
* A generic error returned by the API
|
|
4224
|
+
* example:
|
|
4225
|
+
* {
|
|
4226
|
+
* "status": 404,
|
|
4227
|
+
* "error": "Not Found: File entity not found"
|
|
4228
|
+
* }
|
|
4229
|
+
*/
|
|
4230
|
+
Components.Responses.NotFoundError;
|
|
4231
|
+
export type $500 = /**
|
|
4232
|
+
* A generic error returned by the API
|
|
4233
|
+
* example:
|
|
4234
|
+
* {
|
|
4235
|
+
* "status": 500,
|
|
4236
|
+
* "error": "Internal Server Error"
|
|
4237
|
+
* }
|
|
4238
|
+
*/
|
|
4239
|
+
Components.Responses.InternalServerError;
|
|
4240
|
+
}
|
|
4241
|
+
}
|
|
4140
4242
|
namespace GetFileSummaryJob {
|
|
4141
4243
|
namespace Parameters {
|
|
4142
4244
|
export type Id = /**
|
|
@@ -4633,6 +4735,76 @@ declare namespace Paths {
|
|
|
4633
4735
|
Components.Responses.InternalServerError;
|
|
4634
4736
|
}
|
|
4635
4737
|
}
|
|
4738
|
+
namespace PutFileSummaryFeedback {
|
|
4739
|
+
namespace Parameters {
|
|
4740
|
+
export type Id = /**
|
|
4741
|
+
* example:
|
|
4742
|
+
* ef7d985c-2385-44f4-9c71-ae06a52264f8
|
|
4743
|
+
*/
|
|
4744
|
+
Components.Schemas.FileEntityId;
|
|
4745
|
+
}
|
|
4746
|
+
export interface PathParameters {
|
|
4747
|
+
id: Parameters.Id;
|
|
4748
|
+
}
|
|
4749
|
+
export type RequestBody = Components.Schemas.PutFileSummaryFeedbackRequest;
|
|
4750
|
+
namespace Responses {
|
|
4751
|
+
export type $200 = Components.Schemas.FileSummaryFeedbackResponse;
|
|
4752
|
+
export type $400 = /**
|
|
4753
|
+
* A generic error returned by the API
|
|
4754
|
+
* example:
|
|
4755
|
+
* {
|
|
4756
|
+
* "status": 400,
|
|
4757
|
+
* "error": "Bad Request: filename is required"
|
|
4758
|
+
* }
|
|
4759
|
+
*/
|
|
4760
|
+
Components.Responses.BadRequestError;
|
|
4761
|
+
export type $401 = /**
|
|
4762
|
+
* A generic error returned by the API
|
|
4763
|
+
* example:
|
|
4764
|
+
* {
|
|
4765
|
+
* "status": 401,
|
|
4766
|
+
* "error": "Unauthorized: Invalid or expired token"
|
|
4767
|
+
* }
|
|
4768
|
+
*/
|
|
4769
|
+
Components.Responses.UnauthorizedError;
|
|
4770
|
+
export type $403 = /**
|
|
4771
|
+
* A generic error returned by the API
|
|
4772
|
+
* example:
|
|
4773
|
+
* {
|
|
4774
|
+
* "status": 403,
|
|
4775
|
+
* "error": "Forbidden: You do not have permission to access this file"
|
|
4776
|
+
* }
|
|
4777
|
+
*/
|
|
4778
|
+
Components.Responses.ForbiddenError;
|
|
4779
|
+
export type $404 = /**
|
|
4780
|
+
* A generic error returned by the API
|
|
4781
|
+
* example:
|
|
4782
|
+
* {
|
|
4783
|
+
* "status": 404,
|
|
4784
|
+
* "error": "Not Found: File entity not found"
|
|
4785
|
+
* }
|
|
4786
|
+
*/
|
|
4787
|
+
Components.Responses.NotFoundError;
|
|
4788
|
+
export type $409 = /**
|
|
4789
|
+
* A generic error returned by the API
|
|
4790
|
+
* example:
|
|
4791
|
+
* {
|
|
4792
|
+
* "status": 409,
|
|
4793
|
+
* "error": "Extracted file content is still being prepared"
|
|
4794
|
+
* }
|
|
4795
|
+
*/
|
|
4796
|
+
Components.Responses.ConflictError;
|
|
4797
|
+
export type $500 = /**
|
|
4798
|
+
* A generic error returned by the API
|
|
4799
|
+
* example:
|
|
4800
|
+
* {
|
|
4801
|
+
* "status": 500,
|
|
4802
|
+
* "error": "Internal Server Error"
|
|
4803
|
+
* }
|
|
4804
|
+
*/
|
|
4805
|
+
Components.Responses.InternalServerError;
|
|
4806
|
+
}
|
|
4807
|
+
}
|
|
4636
4808
|
namespace RevokePublicLink {
|
|
4637
4809
|
namespace Parameters {
|
|
4638
4810
|
export type Id = string;
|
|
@@ -5197,6 +5369,26 @@ interface OperationMethods {
|
|
|
5197
5369
|
data?: any,
|
|
5198
5370
|
config?: AxiosRequestConfig
|
|
5199
5371
|
): OperationResponse<Paths.GetFileSummary.Responses.$200>
|
|
5372
|
+
/**
|
|
5373
|
+
* getFileSummaryFeedback - Get file summary feedback
|
|
5374
|
+
*
|
|
5375
|
+
* Get the authenticated user's feedback for the current generated file summary.
|
|
5376
|
+
*/
|
|
5377
|
+
'getFileSummaryFeedback'(
|
|
5378
|
+
parameters?: Parameters<Paths.GetFileSummaryFeedback.PathParameters> | null,
|
|
5379
|
+
data?: any,
|
|
5380
|
+
config?: AxiosRequestConfig
|
|
5381
|
+
): OperationResponse<Paths.GetFileSummaryFeedback.Responses.$200>
|
|
5382
|
+
/**
|
|
5383
|
+
* putFileSummaryFeedback - Submit file summary feedback
|
|
5384
|
+
*
|
|
5385
|
+
* Upsert thumbs up/down feedback for the current generated file summary.
|
|
5386
|
+
*/
|
|
5387
|
+
'putFileSummaryFeedback'(
|
|
5388
|
+
parameters?: Parameters<Paths.PutFileSummaryFeedback.PathParameters> | null,
|
|
5389
|
+
data?: Paths.PutFileSummaryFeedback.RequestBody,
|
|
5390
|
+
config?: AxiosRequestConfig
|
|
5391
|
+
): OperationResponse<Paths.PutFileSummaryFeedback.Responses.$200>
|
|
5200
5392
|
/**
|
|
5201
5393
|
* createFileSummaryJob - createFileSummaryJob
|
|
5202
5394
|
*
|
|
@@ -5719,6 +5911,28 @@ interface PathsDictionary {
|
|
|
5719
5911
|
config?: AxiosRequestConfig
|
|
5720
5912
|
): OperationResponse<Paths.GetFileSummary.Responses.$200>
|
|
5721
5913
|
}
|
|
5914
|
+
['/v1/files/{id}/summary/feedback']: {
|
|
5915
|
+
/**
|
|
5916
|
+
* getFileSummaryFeedback - Get file summary feedback
|
|
5917
|
+
*
|
|
5918
|
+
* Get the authenticated user's feedback for the current generated file summary.
|
|
5919
|
+
*/
|
|
5920
|
+
'get'(
|
|
5921
|
+
parameters?: Parameters<Paths.GetFileSummaryFeedback.PathParameters> | null,
|
|
5922
|
+
data?: any,
|
|
5923
|
+
config?: AxiosRequestConfig
|
|
5924
|
+
): OperationResponse<Paths.GetFileSummaryFeedback.Responses.$200>
|
|
5925
|
+
/**
|
|
5926
|
+
* putFileSummaryFeedback - Submit file summary feedback
|
|
5927
|
+
*
|
|
5928
|
+
* Upsert thumbs up/down feedback for the current generated file summary.
|
|
5929
|
+
*/
|
|
5930
|
+
'put'(
|
|
5931
|
+
parameters?: Parameters<Paths.PutFileSummaryFeedback.PathParameters> | null,
|
|
5932
|
+
data?: Paths.PutFileSummaryFeedback.RequestBody,
|
|
5933
|
+
config?: AxiosRequestConfig
|
|
5934
|
+
): OperationResponse<Paths.PutFileSummaryFeedback.Responses.$200>
|
|
5935
|
+
}
|
|
5722
5936
|
['/v1/files/{id}/summary-jobs']: {
|
|
5723
5937
|
/**
|
|
5724
5938
|
* createFileSummaryJob - createFileSummaryJob
|
|
@@ -6089,6 +6303,8 @@ type FileEntityId = Components.Schemas.FileEntityId;
|
|
|
6089
6303
|
type FileItem = Components.Schemas.FileItem;
|
|
6090
6304
|
type FileRelationItem = Components.Schemas.FileRelationItem;
|
|
6091
6305
|
type FileSummary = Components.Schemas.FileSummary;
|
|
6306
|
+
type FileSummaryFeedback = Components.Schemas.FileSummaryFeedback;
|
|
6307
|
+
type FileSummaryFeedbackResponse = Components.Schemas.FileSummaryFeedbackResponse;
|
|
6092
6308
|
type FileSummaryJob = Components.Schemas.FileSummaryJob;
|
|
6093
6309
|
type FileSummaryJobStatus = Components.Schemas.FileSummaryJobStatus;
|
|
6094
6310
|
type FileText = Components.Schemas.FileText;
|
|
@@ -6099,6 +6315,7 @@ type FileTextUnsupported = Components.Schemas.FileTextUnsupported;
|
|
|
6099
6315
|
type FileType = Components.Schemas.FileType;
|
|
6100
6316
|
type FileUpload = Components.Schemas.FileUpload;
|
|
6101
6317
|
type PublicLink = Components.Schemas.PublicLink;
|
|
6318
|
+
type PutFileSummaryFeedbackRequest = Components.Schemas.PutFileSummaryFeedbackRequest;
|
|
6102
6319
|
type S3Ref = Components.Schemas.S3Ref;
|
|
6103
6320
|
type S3Reference = Components.Schemas.S3Reference;
|
|
6104
6321
|
type SaveCustomFilePayload = Components.Schemas.SaveCustomFilePayload;
|
|
@@ -6110,4 +6327,4 @@ type UploadFilePayload = Components.Schemas.UploadFilePayload;
|
|
|
6110
6327
|
type VerifyCustomDownloadUrlPayload = Components.Schemas.VerifyCustomDownloadUrlPayload;
|
|
6111
6328
|
type ZipJob = Components.Schemas.ZipJob;
|
|
6112
6329
|
|
|
6113
|
-
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
|
|
6330
|
+
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 FileTextStatus as G, type FileTextUnsupported as H, type FileType as I, type FileUpload as J, type PublicLink as K, type PutFileSummaryFeedbackRequest as L, type S3Reference as M, type SaveCustomFilePayload as N, type OperationMethods as O, Paths as P, type SaveFileFromSourceURLPayload as Q, type SaveFilePayload as R, type S3Ref as S, type SaveFilePayloadV2 as T, type SaveS3FilePayload as U, type UploadFilePayload as V, type VerifyCustomDownloadUrlPayload as W, 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 CustomDownloadUrlAuth as h, type EntitySlug as i, type ErrorObject as j, type FileCollectionAttributes as k, type FileCollectionCreateRequest as l, type FileCollectionId as m, type FileCollectionItem as n, type FileEntity as o, type FileEntityId as p, type FileItem as q, type FileRelationItem as r, type FileSummary as s, type FileSummaryFeedback as t, type FileSummaryFeedbackResponse as u, type FileSummaryJob as v, type FileSummaryJobStatus as w, type FileText as x, type FileTextNotReady as y, type FileTextReady as z };
|
|
@@ -2486,6 +2486,10 @@ declare namespace Components {
|
|
|
2486
2486
|
* Short English paragraph summary for file preview surfaces.
|
|
2487
2487
|
*/
|
|
2488
2488
|
short_summary_en?: string;
|
|
2489
|
+
/**
|
|
2490
|
+
* AI execution that produced the current summary. Used to correlate user feedback.
|
|
2491
|
+
*/
|
|
2492
|
+
file_summary_execution_id?: string; // uuid
|
|
2489
2493
|
}
|
|
2490
2494
|
export interface FileCollectionAttributes {
|
|
2491
2495
|
/**
|
|
@@ -2713,6 +2717,10 @@ declare namespace Components {
|
|
|
2713
2717
|
* Short English paragraph summary for file preview surfaces.
|
|
2714
2718
|
*/
|
|
2715
2719
|
short_summary_en?: string;
|
|
2720
|
+
/**
|
|
2721
|
+
* AI execution that produced the current summary. Used to correlate user feedback.
|
|
2722
|
+
*/
|
|
2723
|
+
file_summary_execution_id?: string; // uuid
|
|
2716
2724
|
/**
|
|
2717
2725
|
* Source URL for the file. Included if the entity was created from source_url, or when ?source_url=true
|
|
2718
2726
|
* example:
|
|
@@ -2796,6 +2804,10 @@ declare namespace Components {
|
|
|
2796
2804
|
* Current summary job ID when available.
|
|
2797
2805
|
*/
|
|
2798
2806
|
job_id?: string; // uuid
|
|
2807
|
+
/**
|
|
2808
|
+
* Whether the current summary can receive user feedback.
|
|
2809
|
+
*/
|
|
2810
|
+
feedback_available?: boolean;
|
|
2799
2811
|
/**
|
|
2800
2812
|
* Compact German summary for hover and list preview surfaces.
|
|
2801
2813
|
*/
|
|
@@ -2813,6 +2825,20 @@ declare namespace Components {
|
|
|
2813
2825
|
*/
|
|
2814
2826
|
short_summary_en?: string | null;
|
|
2815
2827
|
}
|
|
2828
|
+
export interface FileSummaryFeedback {
|
|
2829
|
+
rating: "up" | "down";
|
|
2830
|
+
comment?: string;
|
|
2831
|
+
user_id: string;
|
|
2832
|
+
submitted_at: string; // date-time
|
|
2833
|
+
}
|
|
2834
|
+
export interface FileSummaryFeedbackResponse {
|
|
2835
|
+
feedback: {
|
|
2836
|
+
rating: "up" | "down";
|
|
2837
|
+
comment?: string;
|
|
2838
|
+
user_id: string;
|
|
2839
|
+
submitted_at: string; // date-time
|
|
2840
|
+
} | null;
|
|
2841
|
+
}
|
|
2816
2842
|
export interface FileSummaryJob {
|
|
2817
2843
|
/**
|
|
2818
2844
|
* File summary job ID.
|
|
@@ -2900,6 +2926,10 @@ declare namespace Components {
|
|
|
2900
2926
|
*/
|
|
2901
2927
|
last_accessed_at?: string;
|
|
2902
2928
|
}
|
|
2929
|
+
export interface PutFileSummaryFeedbackRequest {
|
|
2930
|
+
rating: "up" | "down";
|
|
2931
|
+
comment?: string;
|
|
2932
|
+
}
|
|
2903
2933
|
export type S3Ref = S3Reference;
|
|
2904
2934
|
export interface S3Reference {
|
|
2905
2935
|
/**
|
|
@@ -3019,6 +3049,10 @@ declare namespace Components {
|
|
|
3019
3049
|
* Short English paragraph summary for file preview surfaces.
|
|
3020
3050
|
*/
|
|
3021
3051
|
short_summary_en?: string;
|
|
3052
|
+
/**
|
|
3053
|
+
* AI execution that produced the current summary. Used to correlate user feedback.
|
|
3054
|
+
*/
|
|
3055
|
+
file_summary_execution_id?: string; // uuid
|
|
3022
3056
|
}
|
|
3023
3057
|
export interface SaveFileFromSourceURLPayload {
|
|
3024
3058
|
[name: string]: any;
|
|
@@ -3126,6 +3160,10 @@ declare namespace Components {
|
|
|
3126
3160
|
* Short English paragraph summary for file preview surfaces.
|
|
3127
3161
|
*/
|
|
3128
3162
|
short_summary_en?: string;
|
|
3163
|
+
/**
|
|
3164
|
+
* AI execution that produced the current summary. Used to correlate user feedback.
|
|
3165
|
+
*/
|
|
3166
|
+
file_summary_execution_id?: string; // uuid
|
|
3129
3167
|
source_url?: /**
|
|
3130
3168
|
* Custom external download url used for the file
|
|
3131
3169
|
* example:
|
|
@@ -3241,6 +3279,10 @@ declare namespace Components {
|
|
|
3241
3279
|
* Short English paragraph summary for file preview surfaces.
|
|
3242
3280
|
*/
|
|
3243
3281
|
short_summary_en?: string;
|
|
3282
|
+
/**
|
|
3283
|
+
* AI execution that produced the current summary. Used to correlate user feedback.
|
|
3284
|
+
*/
|
|
3285
|
+
file_summary_execution_id?: string; // uuid
|
|
3244
3286
|
s3ref?: S3Ref;
|
|
3245
3287
|
}
|
|
3246
3288
|
export interface UploadFilePayload {
|
|
@@ -4137,6 +4179,66 @@ declare namespace Paths {
|
|
|
4137
4179
|
Components.Responses.InternalServerError;
|
|
4138
4180
|
}
|
|
4139
4181
|
}
|
|
4182
|
+
namespace GetFileSummaryFeedback {
|
|
4183
|
+
namespace Parameters {
|
|
4184
|
+
export type Id = /**
|
|
4185
|
+
* example:
|
|
4186
|
+
* ef7d985c-2385-44f4-9c71-ae06a52264f8
|
|
4187
|
+
*/
|
|
4188
|
+
Components.Schemas.FileEntityId;
|
|
4189
|
+
}
|
|
4190
|
+
export interface PathParameters {
|
|
4191
|
+
id: Parameters.Id;
|
|
4192
|
+
}
|
|
4193
|
+
namespace Responses {
|
|
4194
|
+
export type $200 = Components.Schemas.FileSummaryFeedbackResponse;
|
|
4195
|
+
export type $400 = /**
|
|
4196
|
+
* A generic error returned by the API
|
|
4197
|
+
* example:
|
|
4198
|
+
* {
|
|
4199
|
+
* "status": 400,
|
|
4200
|
+
* "error": "Bad Request: filename is required"
|
|
4201
|
+
* }
|
|
4202
|
+
*/
|
|
4203
|
+
Components.Responses.BadRequestError;
|
|
4204
|
+
export type $401 = /**
|
|
4205
|
+
* A generic error returned by the API
|
|
4206
|
+
* example:
|
|
4207
|
+
* {
|
|
4208
|
+
* "status": 401,
|
|
4209
|
+
* "error": "Unauthorized: Invalid or expired token"
|
|
4210
|
+
* }
|
|
4211
|
+
*/
|
|
4212
|
+
Components.Responses.UnauthorizedError;
|
|
4213
|
+
export type $403 = /**
|
|
4214
|
+
* A generic error returned by the API
|
|
4215
|
+
* example:
|
|
4216
|
+
* {
|
|
4217
|
+
* "status": 403,
|
|
4218
|
+
* "error": "Forbidden: You do not have permission to access this file"
|
|
4219
|
+
* }
|
|
4220
|
+
*/
|
|
4221
|
+
Components.Responses.ForbiddenError;
|
|
4222
|
+
export type $404 = /**
|
|
4223
|
+
* A generic error returned by the API
|
|
4224
|
+
* example:
|
|
4225
|
+
* {
|
|
4226
|
+
* "status": 404,
|
|
4227
|
+
* "error": "Not Found: File entity not found"
|
|
4228
|
+
* }
|
|
4229
|
+
*/
|
|
4230
|
+
Components.Responses.NotFoundError;
|
|
4231
|
+
export type $500 = /**
|
|
4232
|
+
* A generic error returned by the API
|
|
4233
|
+
* example:
|
|
4234
|
+
* {
|
|
4235
|
+
* "status": 500,
|
|
4236
|
+
* "error": "Internal Server Error"
|
|
4237
|
+
* }
|
|
4238
|
+
*/
|
|
4239
|
+
Components.Responses.InternalServerError;
|
|
4240
|
+
}
|
|
4241
|
+
}
|
|
4140
4242
|
namespace GetFileSummaryJob {
|
|
4141
4243
|
namespace Parameters {
|
|
4142
4244
|
export type Id = /**
|
|
@@ -4633,6 +4735,76 @@ declare namespace Paths {
|
|
|
4633
4735
|
Components.Responses.InternalServerError;
|
|
4634
4736
|
}
|
|
4635
4737
|
}
|
|
4738
|
+
namespace PutFileSummaryFeedback {
|
|
4739
|
+
namespace Parameters {
|
|
4740
|
+
export type Id = /**
|
|
4741
|
+
* example:
|
|
4742
|
+
* ef7d985c-2385-44f4-9c71-ae06a52264f8
|
|
4743
|
+
*/
|
|
4744
|
+
Components.Schemas.FileEntityId;
|
|
4745
|
+
}
|
|
4746
|
+
export interface PathParameters {
|
|
4747
|
+
id: Parameters.Id;
|
|
4748
|
+
}
|
|
4749
|
+
export type RequestBody = Components.Schemas.PutFileSummaryFeedbackRequest;
|
|
4750
|
+
namespace Responses {
|
|
4751
|
+
export type $200 = Components.Schemas.FileSummaryFeedbackResponse;
|
|
4752
|
+
export type $400 = /**
|
|
4753
|
+
* A generic error returned by the API
|
|
4754
|
+
* example:
|
|
4755
|
+
* {
|
|
4756
|
+
* "status": 400,
|
|
4757
|
+
* "error": "Bad Request: filename is required"
|
|
4758
|
+
* }
|
|
4759
|
+
*/
|
|
4760
|
+
Components.Responses.BadRequestError;
|
|
4761
|
+
export type $401 = /**
|
|
4762
|
+
* A generic error returned by the API
|
|
4763
|
+
* example:
|
|
4764
|
+
* {
|
|
4765
|
+
* "status": 401,
|
|
4766
|
+
* "error": "Unauthorized: Invalid or expired token"
|
|
4767
|
+
* }
|
|
4768
|
+
*/
|
|
4769
|
+
Components.Responses.UnauthorizedError;
|
|
4770
|
+
export type $403 = /**
|
|
4771
|
+
* A generic error returned by the API
|
|
4772
|
+
* example:
|
|
4773
|
+
* {
|
|
4774
|
+
* "status": 403,
|
|
4775
|
+
* "error": "Forbidden: You do not have permission to access this file"
|
|
4776
|
+
* }
|
|
4777
|
+
*/
|
|
4778
|
+
Components.Responses.ForbiddenError;
|
|
4779
|
+
export type $404 = /**
|
|
4780
|
+
* A generic error returned by the API
|
|
4781
|
+
* example:
|
|
4782
|
+
* {
|
|
4783
|
+
* "status": 404,
|
|
4784
|
+
* "error": "Not Found: File entity not found"
|
|
4785
|
+
* }
|
|
4786
|
+
*/
|
|
4787
|
+
Components.Responses.NotFoundError;
|
|
4788
|
+
export type $409 = /**
|
|
4789
|
+
* A generic error returned by the API
|
|
4790
|
+
* example:
|
|
4791
|
+
* {
|
|
4792
|
+
* "status": 409,
|
|
4793
|
+
* "error": "Extracted file content is still being prepared"
|
|
4794
|
+
* }
|
|
4795
|
+
*/
|
|
4796
|
+
Components.Responses.ConflictError;
|
|
4797
|
+
export type $500 = /**
|
|
4798
|
+
* A generic error returned by the API
|
|
4799
|
+
* example:
|
|
4800
|
+
* {
|
|
4801
|
+
* "status": 500,
|
|
4802
|
+
* "error": "Internal Server Error"
|
|
4803
|
+
* }
|
|
4804
|
+
*/
|
|
4805
|
+
Components.Responses.InternalServerError;
|
|
4806
|
+
}
|
|
4807
|
+
}
|
|
4636
4808
|
namespace RevokePublicLink {
|
|
4637
4809
|
namespace Parameters {
|
|
4638
4810
|
export type Id = string;
|
|
@@ -5197,6 +5369,26 @@ interface OperationMethods {
|
|
|
5197
5369
|
data?: any,
|
|
5198
5370
|
config?: AxiosRequestConfig
|
|
5199
5371
|
): OperationResponse<Paths.GetFileSummary.Responses.$200>
|
|
5372
|
+
/**
|
|
5373
|
+
* getFileSummaryFeedback - Get file summary feedback
|
|
5374
|
+
*
|
|
5375
|
+
* Get the authenticated user's feedback for the current generated file summary.
|
|
5376
|
+
*/
|
|
5377
|
+
'getFileSummaryFeedback'(
|
|
5378
|
+
parameters?: Parameters<Paths.GetFileSummaryFeedback.PathParameters> | null,
|
|
5379
|
+
data?: any,
|
|
5380
|
+
config?: AxiosRequestConfig
|
|
5381
|
+
): OperationResponse<Paths.GetFileSummaryFeedback.Responses.$200>
|
|
5382
|
+
/**
|
|
5383
|
+
* putFileSummaryFeedback - Submit file summary feedback
|
|
5384
|
+
*
|
|
5385
|
+
* Upsert thumbs up/down feedback for the current generated file summary.
|
|
5386
|
+
*/
|
|
5387
|
+
'putFileSummaryFeedback'(
|
|
5388
|
+
parameters?: Parameters<Paths.PutFileSummaryFeedback.PathParameters> | null,
|
|
5389
|
+
data?: Paths.PutFileSummaryFeedback.RequestBody,
|
|
5390
|
+
config?: AxiosRequestConfig
|
|
5391
|
+
): OperationResponse<Paths.PutFileSummaryFeedback.Responses.$200>
|
|
5200
5392
|
/**
|
|
5201
5393
|
* createFileSummaryJob - createFileSummaryJob
|
|
5202
5394
|
*
|
|
@@ -5719,6 +5911,28 @@ interface PathsDictionary {
|
|
|
5719
5911
|
config?: AxiosRequestConfig
|
|
5720
5912
|
): OperationResponse<Paths.GetFileSummary.Responses.$200>
|
|
5721
5913
|
}
|
|
5914
|
+
['/v1/files/{id}/summary/feedback']: {
|
|
5915
|
+
/**
|
|
5916
|
+
* getFileSummaryFeedback - Get file summary feedback
|
|
5917
|
+
*
|
|
5918
|
+
* Get the authenticated user's feedback for the current generated file summary.
|
|
5919
|
+
*/
|
|
5920
|
+
'get'(
|
|
5921
|
+
parameters?: Parameters<Paths.GetFileSummaryFeedback.PathParameters> | null,
|
|
5922
|
+
data?: any,
|
|
5923
|
+
config?: AxiosRequestConfig
|
|
5924
|
+
): OperationResponse<Paths.GetFileSummaryFeedback.Responses.$200>
|
|
5925
|
+
/**
|
|
5926
|
+
* putFileSummaryFeedback - Submit file summary feedback
|
|
5927
|
+
*
|
|
5928
|
+
* Upsert thumbs up/down feedback for the current generated file summary.
|
|
5929
|
+
*/
|
|
5930
|
+
'put'(
|
|
5931
|
+
parameters?: Parameters<Paths.PutFileSummaryFeedback.PathParameters> | null,
|
|
5932
|
+
data?: Paths.PutFileSummaryFeedback.RequestBody,
|
|
5933
|
+
config?: AxiosRequestConfig
|
|
5934
|
+
): OperationResponse<Paths.PutFileSummaryFeedback.Responses.$200>
|
|
5935
|
+
}
|
|
5722
5936
|
['/v1/files/{id}/summary-jobs']: {
|
|
5723
5937
|
/**
|
|
5724
5938
|
* createFileSummaryJob - createFileSummaryJob
|
|
@@ -6089,6 +6303,8 @@ type FileEntityId = Components.Schemas.FileEntityId;
|
|
|
6089
6303
|
type FileItem = Components.Schemas.FileItem;
|
|
6090
6304
|
type FileRelationItem = Components.Schemas.FileRelationItem;
|
|
6091
6305
|
type FileSummary = Components.Schemas.FileSummary;
|
|
6306
|
+
type FileSummaryFeedback = Components.Schemas.FileSummaryFeedback;
|
|
6307
|
+
type FileSummaryFeedbackResponse = Components.Schemas.FileSummaryFeedbackResponse;
|
|
6092
6308
|
type FileSummaryJob = Components.Schemas.FileSummaryJob;
|
|
6093
6309
|
type FileSummaryJobStatus = Components.Schemas.FileSummaryJobStatus;
|
|
6094
6310
|
type FileText = Components.Schemas.FileText;
|
|
@@ -6099,6 +6315,7 @@ type FileTextUnsupported = Components.Schemas.FileTextUnsupported;
|
|
|
6099
6315
|
type FileType = Components.Schemas.FileType;
|
|
6100
6316
|
type FileUpload = Components.Schemas.FileUpload;
|
|
6101
6317
|
type PublicLink = Components.Schemas.PublicLink;
|
|
6318
|
+
type PutFileSummaryFeedbackRequest = Components.Schemas.PutFileSummaryFeedbackRequest;
|
|
6102
6319
|
type S3Ref = Components.Schemas.S3Ref;
|
|
6103
6320
|
type S3Reference = Components.Schemas.S3Reference;
|
|
6104
6321
|
type SaveCustomFilePayload = Components.Schemas.SaveCustomFilePayload;
|
|
@@ -6110,4 +6327,4 @@ type UploadFilePayload = Components.Schemas.UploadFilePayload;
|
|
|
6110
6327
|
type VerifyCustomDownloadUrlPayload = Components.Schemas.VerifyCustomDownloadUrlPayload;
|
|
6111
6328
|
type ZipJob = Components.Schemas.ZipJob;
|
|
6112
6329
|
|
|
6113
|
-
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
|
|
6330
|
+
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 FileTextStatus as G, type FileTextUnsupported as H, type FileType as I, type FileUpload as J, type PublicLink as K, type PutFileSummaryFeedbackRequest as L, type S3Reference as M, type SaveCustomFilePayload as N, type OperationMethods as O, Paths as P, type SaveFileFromSourceURLPayload as Q, type SaveFilePayload as R, type S3Ref as S, type SaveFilePayloadV2 as T, type SaveS3FilePayload as U, type UploadFilePayload as V, type VerifyCustomDownloadUrlPayload as W, 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 CustomDownloadUrlAuth as h, type EntitySlug as i, type ErrorObject as j, type FileCollectionAttributes as k, type FileCollectionCreateRequest as l, type FileCollectionId as m, type FileCollectionItem as n, type FileEntity as o, type FileEntityId as p, type FileItem as q, type FileRelationItem as r, type FileSummary as s, type FileSummaryFeedback as t, type FileSummaryFeedbackResponse as u, type FileSummaryJob as v, type FileSummaryJobStatus as w, type FileText as x, type FileTextNotReady as y, type FileTextReady as z };
|