@epilot/sdk 2.9.5 → 2.10.1
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/file-runtime.json +1 -1
- package/definitions/file.json +291 -15
- package/definitions/integration-toolkit-runtime.json +1 -1
- package/definitions/integration-toolkit.json +213 -2
- 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 +6 -6
- package/dist/apis/ai-agents.js +1 -1
- 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 +8 -8
- package/dist/apis/integration-toolkit.d.cts +2 -2
- package/dist/apis/integration-toolkit.d.ts +2 -2
- package/dist/apis/integration-toolkit.js +2 -2
- 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-7WGJSGWE.js +14 -0
- package/dist/chunk-G5KVG3RU.js +14 -0
- package/dist/{chunk-DBRYXXXY.js → chunk-H3ZV5T3V.js} +4 -4
- package/dist/{chunk-IIQYDQGR.cjs → chunk-HB6KHEKG.cjs} +4 -4
- package/dist/chunk-LNLUCLPL.cjs +14 -0
- package/dist/chunk-YISO22FS.cjs +14 -0
- package/dist/file-7CQXDQ3I.cjs +7 -0
- package/dist/file-O6ZD3HOU.js +7 -0
- package/dist/file-runtime-HYLQTQBX.cjs +5 -0
- package/dist/{file-runtime-DKGFS44O.js → file-runtime-VY6DJAQ3.js} +1 -1
- package/dist/{file.d-BjlMgTwj.d.cts → file.d-BN417xok.d.cts} +416 -23
- package/dist/{file.d-BjlMgTwj.d.ts → file.d-BN417xok.d.ts} +416 -23
- 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/dist/integration-toolkit-DUMRNE6A.cjs +7 -0
- package/dist/integration-toolkit-IK7KA76K.js +7 -0
- package/dist/{integration-toolkit-runtime-FR6RZS5O.cjs → integration-toolkit-runtime-4LHEPGGC.cjs} +2 -2
- package/dist/{integration-toolkit-runtime-I2O6QP5G.js → integration-toolkit-runtime-5K3AAC63.js} +1 -1
- package/dist/{integration-toolkit.d-DUZ_fiuf.d.cts → integration-toolkit.d-BVe_MBBi.d.cts} +162 -3
- package/dist/{integration-toolkit.d-DUZ_fiuf.d.ts → integration-toolkit.d-BVe_MBBi.d.ts} +162 -3
- package/docs/file.md +165 -25
- package/docs/integration-toolkit.md +133 -0
- package/package.json +1 -1
- package/dist/chunk-3CNCQJOJ.js +0 -14
- package/dist/chunk-4M5V6BIT.cjs +0 -14
- package/dist/chunk-ILIHCSNO.cjs +0 -14
- package/dist/chunk-RDVFQOCQ.js +0 -14
- package/dist/file-2MSILSPP.cjs +0 -7
- package/dist/file-JVFTT5RZ.js +0 -7
- package/dist/file-runtime-7AWKNQU6.cjs +0 -5
- package/dist/integration-toolkit-TL3BQ6FJ.cjs +0 -7
- package/dist/integration-toolkit-X3Y4OFVW.js +0 -7
|
@@ -1 +1 @@
|
|
|
1
|
-
{"s":"https://file.sls.epilot.io","o":[["uploadFileV2","post","/v2/files/upload",[["file_entity_id","q"]],1],["saveFileV2","post","/v2/files",[["ActivityIdQueryParam"],["FillActivityQueryParam"],["StrictQueryParam"],["AsyncOperationQueryParam"],["DeleteTempFileQueryParam"],["VersionOnlyQueryParam"]],1],["uploadFile","post","/v1/files/upload",[["file_entity_id","q"]],1],["saveFile","post","/v1/files",[["ActivityIdQueryParam"],["AsyncOperationQueryParam"],["VersionOnlyQueryParam"]],1],["getFile","get","/v2/files/{id}",[["id","p",true],["source_url","q"],["StrictQueryParam"],["AsyncOperationQueryParam"]]],["deleteFile","delete","/v2/files/{id}",[["id","p",true],["purge","q"],["ActivityIdQueryParam"],["StrictQueryParam"]]],["downloadFile","get","/v1/files/{id}/download",[["id","p",true],["version","q"],["attachment","q"]]],["downloadS3File","post","/v1/files:downloadS3",[["s3_key","q",true],["s3_bucket","q",true],["attachment","q"]]],["downloadFiles","post","/v1/files:downloadFiles",null,1],["createZipJob","post","/v1/files:zipJob",null,1],["getZipJob","get","/v1/files:zipJob/{job_id}",[["job_id","p",true]]],["generateFileSummary","post","/v1/files/{id}/summary:generate",[["id","p",true]]],["previewFile","get","/v1/files/{id}/preview",[["id","p",true],["version","q"],["w","q"],["h","q"]]],["previewS3File","post","/v1/files:previewS3",[["w","q"],["h","q"]],1],["previewS3FileGet","get","/v1/files:previewS3",[["key","q",true],["bucket","q",true],["w","q"],["h","q"]]],["previewPublicFile","get","/v1/files/public/{id}/preview",[["id","p",true],["version","q"],["w","q"],["h","q"],["org_id","q"]]],["getSession","get","/v1/files/session"],["deleteSession","delete","/v1/files/session"],["generatePublicLink","post","/v1/files/{id}/public/links",[["id","p",true]]],["listPublicLinksForFile","get","/v1/files/{id}/public/links",[["id","p",true]]],["accessPublicLink","get","/v1/files/public/links/{id}/{filename}",[["id","p",true],["filename","p",true],["hash","q"]]],["revokePublicLink","delete","/v1/files/public/links/{id}",[["id","p",true]]],["verifyCustomDownloadUrl","post","/v1/files/download:verify",null,1],["uploadFilePublic","post","/v1/files/public/upload",null,1],["getUserSchemaFileCollections","get","/v1/{slug}/collections",[["slug","p",true]]],["createUserSchemaFileCollection","post","/v1/{slug}/collections",[["slug","p",true]],1],["updateUserSchemaFileCollection","put","/v1/{slug}/collections/{collectionSlug}",[["slug","p",true],["collectionSlug","p",true]],1],["deleteUserSchemaFileCollection","delete","/v1/{slug}/collections/{collectionSlug}",[["slug","p",true],["collectionSlug","p",true]]],["getFilesInCollection","get","/v1/entity/{id}/collections/{collectionSlug}/files",[["EntityIdPathParam"],["collectionSlug","p",true]]],["getGlobalFileCollections","get","/v1/collections/{schemaSlug}",[["schemaSlug","p",true]]]],"v":"3.0.3","cp":{"EntityIdPathParam":["id","p",true],"StrictQueryParam":["strict","q"],"ActivityIdQueryParam":["activity_id","q"],"FillActivityQueryParam":["fill_activity","q"],"AsyncOperationQueryParam":["async","q"],"DeleteTempFileQueryParam":["delete_temp_file","q"],"VersionOnlyQueryParam":["version_only","q"]}}
|
|
1
|
+
{"s":"https://file.sls.epilot.io","o":[["uploadFileV2","post","/v2/files/upload",[["file_entity_id","q"]],1],["saveFileV2","post","/v2/files",[["ActivityIdQueryParam"],["FillActivityQueryParam"],["StrictQueryParam"],["AsyncOperationQueryParam"],["DeleteTempFileQueryParam"],["VersionOnlyQueryParam"]],1],["uploadFile","post","/v1/files/upload",[["file_entity_id","q"]],1],["saveFile","post","/v1/files",[["ActivityIdQueryParam"],["AsyncOperationQueryParam"],["VersionOnlyQueryParam"]],1],["getFile","get","/v2/files/{id}",[["id","p",true],["source_url","q"],["StrictQueryParam"],["AsyncOperationQueryParam"]]],["deleteFile","delete","/v2/files/{id}",[["id","p",true],["purge","q"],["ActivityIdQueryParam"],["StrictQueryParam"]]],["downloadFile","get","/v1/files/{id}/download",[["id","p",true],["version","q"],["attachment","q"]]],["downloadS3File","post","/v1/files:downloadS3",[["s3_key","q",true],["s3_bucket","q",true],["attachment","q"]]],["downloadFiles","post","/v1/files:downloadFiles",null,1],["createZipJob","post","/v1/files:zipJob",null,1],["getZipJob","get","/v1/files:zipJob/{job_id}",[["job_id","p",true]]],["getFileSummary","get","/v1/files/{id}/summary",[["id","p",true]]],["createFileSummaryJob","post","/v1/files/{id}/summary-jobs",[["id","p",true]]],["getCurrentFileSummaryJob","get","/v1/files/{id}/summary-jobs/current",[["id","p",true]]],["getFileSummaryJob","get","/v1/files/{id}/summary-jobs/{job_id}",[["id","p",true],["job_id","p",true]]],["generateFileSummary","post","/v1/files/{id}/summary:generate",[["id","p",true]]],["previewFile","get","/v1/files/{id}/preview",[["id","p",true],["version","q"],["w","q"],["h","q"]]],["previewS3File","post","/v1/files:previewS3",[["w","q"],["h","q"]],1],["previewS3FileGet","get","/v1/files:previewS3",[["key","q",true],["bucket","q",true],["w","q"],["h","q"]]],["previewPublicFile","get","/v1/files/public/{id}/preview",[["id","p",true],["version","q"],["w","q"],["h","q"],["org_id","q"]]],["getSession","get","/v1/files/session"],["deleteSession","delete","/v1/files/session"],["generatePublicLink","post","/v1/files/{id}/public/links",[["id","p",true]]],["listPublicLinksForFile","get","/v1/files/{id}/public/links",[["id","p",true]]],["accessPublicLink","get","/v1/files/public/links/{id}/{filename}",[["id","p",true],["filename","p",true],["hash","q"]]],["revokePublicLink","delete","/v1/files/public/links/{id}",[["id","p",true]]],["verifyCustomDownloadUrl","post","/v1/files/download:verify",null,1],["uploadFilePublic","post","/v1/files/public/upload",null,1],["getUserSchemaFileCollections","get","/v1/{slug}/collections",[["slug","p",true]]],["createUserSchemaFileCollection","post","/v1/{slug}/collections",[["slug","p",true]],1],["updateUserSchemaFileCollection","put","/v1/{slug}/collections/{collectionSlug}",[["slug","p",true],["collectionSlug","p",true]],1],["deleteUserSchemaFileCollection","delete","/v1/{slug}/collections/{collectionSlug}",[["slug","p",true],["collectionSlug","p",true]]],["getFilesInCollection","get","/v1/entity/{id}/collections/{collectionSlug}/files",[["EntityIdPathParam"],["collectionSlug","p",true]]],["getGlobalFileCollections","get","/v1/collections/{schemaSlug}",[["schemaSlug","p",true]]]],"v":"3.0.3","cp":{"EntityIdPathParam":["id","p",true],"StrictQueryParam":["strict","q"],"ActivityIdQueryParam":["activity_id","q"],"FillActivityQueryParam":["fill_activity","q"],"AsyncOperationQueryParam":["async","q"],"DeleteTempFileQueryParam":["delete_temp_file","q"],"VersionOnlyQueryParam":["version_only","q"]}}
|
package/definitions/file.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"openapi": "3.0.3",
|
|
3
3
|
"info": {
|
|
4
4
|
"title": "File API",
|
|
5
|
-
"version": "1.
|
|
5
|
+
"version": "1.12.0",
|
|
6
6
|
"description": "The File API enables you to upload, store, manage, and share files within the epilot platform.\n\n## Key Features\n- **Upload files** to temporary storage and save them permanently as File entities\n- **Generate previews** (thumbnails) for images and documents\n- **Create public links** to share private files externally\n- **Organize files** into collections for better management\n- **Version control** with automatic file versioning on updates\n\n## File Upload Workflow\n1. Call `uploadFileV2` to get a pre-signed S3 URL\n2. Upload your file directly to S3 using the pre-signed URL (PUT request)\n3. Call `saveFileV2` with the S3 reference to create a permanent File entity\n\n## Changelog\n<a href=\"changelog\">View API Changelog</a>\n"
|
|
7
7
|
},
|
|
8
8
|
"tags": [
|
|
@@ -875,11 +875,213 @@
|
|
|
875
875
|
}
|
|
876
876
|
}
|
|
877
877
|
},
|
|
878
|
+
"/v1/files/{id}/summary": {
|
|
879
|
+
"get": {
|
|
880
|
+
"operationId": "getFileSummary",
|
|
881
|
+
"summary": "getFileSummary",
|
|
882
|
+
"description": "Get summary text for a file entity together with the current summary job status when available.",
|
|
883
|
+
"tags": [
|
|
884
|
+
"File"
|
|
885
|
+
],
|
|
886
|
+
"parameters": [
|
|
887
|
+
{
|
|
888
|
+
"name": "id",
|
|
889
|
+
"in": "path",
|
|
890
|
+
"required": true,
|
|
891
|
+
"description": "The UUID of the file entity",
|
|
892
|
+
"schema": {
|
|
893
|
+
"$ref": "#/components/schemas/FileEntityId"
|
|
894
|
+
}
|
|
895
|
+
}
|
|
896
|
+
],
|
|
897
|
+
"responses": {
|
|
898
|
+
"200": {
|
|
899
|
+
"description": "Current file summary state",
|
|
900
|
+
"content": {
|
|
901
|
+
"application/json": {
|
|
902
|
+
"schema": {
|
|
903
|
+
"$ref": "#/components/schemas/FileSummary"
|
|
904
|
+
}
|
|
905
|
+
}
|
|
906
|
+
}
|
|
907
|
+
},
|
|
908
|
+
"400": {
|
|
909
|
+
"$ref": "#/components/responses/BadRequestError"
|
|
910
|
+
},
|
|
911
|
+
"401": {
|
|
912
|
+
"$ref": "#/components/responses/UnauthorizedError"
|
|
913
|
+
},
|
|
914
|
+
"403": {
|
|
915
|
+
"$ref": "#/components/responses/ForbiddenError"
|
|
916
|
+
},
|
|
917
|
+
"404": {
|
|
918
|
+
"$ref": "#/components/responses/NotFoundError"
|
|
919
|
+
},
|
|
920
|
+
"500": {
|
|
921
|
+
"$ref": "#/components/responses/InternalServerError"
|
|
922
|
+
}
|
|
923
|
+
}
|
|
924
|
+
}
|
|
925
|
+
},
|
|
926
|
+
"/v1/files/{id}/summary-jobs": {
|
|
927
|
+
"post": {
|
|
928
|
+
"operationId": "createFileSummaryJob",
|
|
929
|
+
"summary": "createFileSummaryJob",
|
|
930
|
+
"description": "Create or return the current AI summary job for a file entity.",
|
|
931
|
+
"tags": [
|
|
932
|
+
"File"
|
|
933
|
+
],
|
|
934
|
+
"parameters": [
|
|
935
|
+
{
|
|
936
|
+
"name": "id",
|
|
937
|
+
"in": "path",
|
|
938
|
+
"required": true,
|
|
939
|
+
"description": "The UUID of the file entity",
|
|
940
|
+
"schema": {
|
|
941
|
+
"$ref": "#/components/schemas/FileEntityId"
|
|
942
|
+
}
|
|
943
|
+
}
|
|
944
|
+
],
|
|
945
|
+
"responses": {
|
|
946
|
+
"202": {
|
|
947
|
+
"description": "Summary job accepted",
|
|
948
|
+
"content": {
|
|
949
|
+
"application/json": {
|
|
950
|
+
"schema": {
|
|
951
|
+
"$ref": "#/components/schemas/FileSummaryJob"
|
|
952
|
+
}
|
|
953
|
+
}
|
|
954
|
+
}
|
|
955
|
+
},
|
|
956
|
+
"400": {
|
|
957
|
+
"$ref": "#/components/responses/BadRequestError"
|
|
958
|
+
},
|
|
959
|
+
"401": {
|
|
960
|
+
"$ref": "#/components/responses/UnauthorizedError"
|
|
961
|
+
},
|
|
962
|
+
"403": {
|
|
963
|
+
"$ref": "#/components/responses/ForbiddenError"
|
|
964
|
+
},
|
|
965
|
+
"404": {
|
|
966
|
+
"$ref": "#/components/responses/NotFoundError"
|
|
967
|
+
},
|
|
968
|
+
"500": {
|
|
969
|
+
"$ref": "#/components/responses/InternalServerError"
|
|
970
|
+
}
|
|
971
|
+
}
|
|
972
|
+
}
|
|
973
|
+
},
|
|
974
|
+
"/v1/files/{id}/summary-jobs/current": {
|
|
975
|
+
"get": {
|
|
976
|
+
"operationId": "getCurrentFileSummaryJob",
|
|
977
|
+
"summary": "getCurrentFileSummaryJob",
|
|
978
|
+
"description": "Get the latest AI summary job for the file entity's current source.",
|
|
979
|
+
"tags": [
|
|
980
|
+
"File"
|
|
981
|
+
],
|
|
982
|
+
"parameters": [
|
|
983
|
+
{
|
|
984
|
+
"name": "id",
|
|
985
|
+
"in": "path",
|
|
986
|
+
"required": true,
|
|
987
|
+
"description": "The UUID of the file entity",
|
|
988
|
+
"schema": {
|
|
989
|
+
"$ref": "#/components/schemas/FileEntityId"
|
|
990
|
+
}
|
|
991
|
+
}
|
|
992
|
+
],
|
|
993
|
+
"responses": {
|
|
994
|
+
"200": {
|
|
995
|
+
"description": "Current summary job",
|
|
996
|
+
"content": {
|
|
997
|
+
"application/json": {
|
|
998
|
+
"schema": {
|
|
999
|
+
"$ref": "#/components/schemas/FileSummaryJob"
|
|
1000
|
+
}
|
|
1001
|
+
}
|
|
1002
|
+
}
|
|
1003
|
+
},
|
|
1004
|
+
"400": {
|
|
1005
|
+
"$ref": "#/components/responses/BadRequestError"
|
|
1006
|
+
},
|
|
1007
|
+
"401": {
|
|
1008
|
+
"$ref": "#/components/responses/UnauthorizedError"
|
|
1009
|
+
},
|
|
1010
|
+
"403": {
|
|
1011
|
+
"$ref": "#/components/responses/ForbiddenError"
|
|
1012
|
+
},
|
|
1013
|
+
"404": {
|
|
1014
|
+
"$ref": "#/components/responses/NotFoundError"
|
|
1015
|
+
},
|
|
1016
|
+
"500": {
|
|
1017
|
+
"$ref": "#/components/responses/InternalServerError"
|
|
1018
|
+
}
|
|
1019
|
+
}
|
|
1020
|
+
}
|
|
1021
|
+
},
|
|
1022
|
+
"/v1/files/{id}/summary-jobs/{job_id}": {
|
|
1023
|
+
"get": {
|
|
1024
|
+
"operationId": "getFileSummaryJob",
|
|
1025
|
+
"summary": "getFileSummaryJob",
|
|
1026
|
+
"description": "Get an AI summary job by id.",
|
|
1027
|
+
"tags": [
|
|
1028
|
+
"File"
|
|
1029
|
+
],
|
|
1030
|
+
"parameters": [
|
|
1031
|
+
{
|
|
1032
|
+
"name": "id",
|
|
1033
|
+
"in": "path",
|
|
1034
|
+
"required": true,
|
|
1035
|
+
"description": "The UUID of the file entity",
|
|
1036
|
+
"schema": {
|
|
1037
|
+
"$ref": "#/components/schemas/FileEntityId"
|
|
1038
|
+
}
|
|
1039
|
+
},
|
|
1040
|
+
{
|
|
1041
|
+
"name": "job_id",
|
|
1042
|
+
"in": "path",
|
|
1043
|
+
"required": true,
|
|
1044
|
+
"description": "The UUID of the summary job",
|
|
1045
|
+
"schema": {
|
|
1046
|
+
"type": "string",
|
|
1047
|
+
"format": "uuid"
|
|
1048
|
+
}
|
|
1049
|
+
}
|
|
1050
|
+
],
|
|
1051
|
+
"responses": {
|
|
1052
|
+
"200": {
|
|
1053
|
+
"description": "Summary job",
|
|
1054
|
+
"content": {
|
|
1055
|
+
"application/json": {
|
|
1056
|
+
"schema": {
|
|
1057
|
+
"$ref": "#/components/schemas/FileSummaryJob"
|
|
1058
|
+
}
|
|
1059
|
+
}
|
|
1060
|
+
}
|
|
1061
|
+
},
|
|
1062
|
+
"400": {
|
|
1063
|
+
"$ref": "#/components/responses/BadRequestError"
|
|
1064
|
+
},
|
|
1065
|
+
"401": {
|
|
1066
|
+
"$ref": "#/components/responses/UnauthorizedError"
|
|
1067
|
+
},
|
|
1068
|
+
"403": {
|
|
1069
|
+
"$ref": "#/components/responses/ForbiddenError"
|
|
1070
|
+
},
|
|
1071
|
+
"404": {
|
|
1072
|
+
"$ref": "#/components/responses/NotFoundError"
|
|
1073
|
+
},
|
|
1074
|
+
"500": {
|
|
1075
|
+
"$ref": "#/components/responses/InternalServerError"
|
|
1076
|
+
}
|
|
1077
|
+
}
|
|
1078
|
+
}
|
|
1079
|
+
},
|
|
878
1080
|
"/v1/files/{id}/summary:generate": {
|
|
879
1081
|
"post": {
|
|
880
1082
|
"operationId": "generateFileSummary",
|
|
881
1083
|
"summary": "generateFileSummary",
|
|
882
|
-
"description": "
|
|
1084
|
+
"description": "Compatibility alias for creating or returning the current AI summary job for a file entity.",
|
|
883
1085
|
"tags": [
|
|
884
1086
|
"File"
|
|
885
1087
|
],
|
|
@@ -900,7 +1102,7 @@
|
|
|
900
1102
|
"content": {
|
|
901
1103
|
"application/json": {
|
|
902
1104
|
"schema": {
|
|
903
|
-
"$ref": "#/components/schemas/
|
|
1105
|
+
"$ref": "#/components/schemas/FileSummaryJob"
|
|
904
1106
|
}
|
|
905
1107
|
}
|
|
906
1108
|
}
|
|
@@ -917,9 +1119,6 @@
|
|
|
917
1119
|
"404": {
|
|
918
1120
|
"$ref": "#/components/responses/NotFoundError"
|
|
919
1121
|
},
|
|
920
|
-
"409": {
|
|
921
|
-
"$ref": "#/components/responses/ConflictError"
|
|
922
|
-
},
|
|
923
1122
|
"500": {
|
|
924
1123
|
"$ref": "#/components/responses/InternalServerError"
|
|
925
1124
|
}
|
|
@@ -2196,6 +2395,9 @@
|
|
|
2196
2395
|
"custom_download_url": {
|
|
2197
2396
|
"$ref": "#/components/schemas/CustomDownloadUrl"
|
|
2198
2397
|
},
|
|
2398
|
+
"custom_download_url_auth": {
|
|
2399
|
+
"$ref": "#/components/schemas/CustomDownloadUrlAuth"
|
|
2400
|
+
},
|
|
2199
2401
|
"preview_summary_de": {
|
|
2200
2402
|
"type": "string",
|
|
2201
2403
|
"description": "Compact German summary for hover and list preview surfaces.",
|
|
@@ -2215,9 +2417,6 @@
|
|
|
2215
2417
|
"type": "string",
|
|
2216
2418
|
"description": "Short English paragraph summary for file preview surfaces.",
|
|
2217
2419
|
"readOnly": true
|
|
2218
|
-
},
|
|
2219
|
-
"summary_status": {
|
|
2220
|
-
"$ref": "#/components/schemas/FileSummaryStatus"
|
|
2221
2420
|
}
|
|
2222
2421
|
}
|
|
2223
2422
|
},
|
|
@@ -2238,34 +2437,108 @@
|
|
|
2238
2437
|
"unknown"
|
|
2239
2438
|
]
|
|
2240
2439
|
},
|
|
2241
|
-
"
|
|
2440
|
+
"FileSummaryJobStatus": {
|
|
2242
2441
|
"type": "string",
|
|
2243
|
-
"description": "Current
|
|
2442
|
+
"description": "Current state of a file summary job.",
|
|
2244
2443
|
"enum": [
|
|
2444
|
+
"queued",
|
|
2445
|
+
"waiting_for_extraction",
|
|
2245
2446
|
"processing",
|
|
2246
2447
|
"completed",
|
|
2247
2448
|
"failed",
|
|
2248
|
-
"unsupported"
|
|
2449
|
+
"unsupported",
|
|
2450
|
+
"stale"
|
|
2249
2451
|
],
|
|
2250
2452
|
"readOnly": true
|
|
2251
2453
|
},
|
|
2252
|
-
"
|
|
2454
|
+
"FileSummaryJob": {
|
|
2253
2455
|
"type": "object",
|
|
2254
2456
|
"properties": {
|
|
2457
|
+
"job_id": {
|
|
2458
|
+
"type": "string",
|
|
2459
|
+
"format": "uuid",
|
|
2460
|
+
"description": "File summary job ID."
|
|
2461
|
+
},
|
|
2462
|
+
"file_id": {
|
|
2463
|
+
"$ref": "#/components/schemas/FileEntityId"
|
|
2464
|
+
},
|
|
2255
2465
|
"status": {
|
|
2256
|
-
"$ref": "#/components/schemas/
|
|
2466
|
+
"$ref": "#/components/schemas/FileSummaryJobStatus"
|
|
2467
|
+
},
|
|
2468
|
+
"error": {
|
|
2469
|
+
"type": "string",
|
|
2470
|
+
"description": "Human-readable failure or unsupported reason when available."
|
|
2471
|
+
},
|
|
2472
|
+
"created_at": {
|
|
2473
|
+
"type": "string",
|
|
2474
|
+
"format": "date-time"
|
|
2475
|
+
},
|
|
2476
|
+
"updated_at": {
|
|
2477
|
+
"type": "string",
|
|
2478
|
+
"format": "date-time"
|
|
2479
|
+
},
|
|
2480
|
+
"completed_at": {
|
|
2481
|
+
"type": "string",
|
|
2482
|
+
"format": "date-time"
|
|
2257
2483
|
}
|
|
2258
2484
|
},
|
|
2259
2485
|
"required": [
|
|
2260
|
-
"
|
|
2486
|
+
"job_id",
|
|
2487
|
+
"file_id",
|
|
2488
|
+
"status",
|
|
2489
|
+
"created_at",
|
|
2490
|
+
"updated_at"
|
|
2261
2491
|
]
|
|
2262
2492
|
},
|
|
2493
|
+
"FileSummary": {
|
|
2494
|
+
"type": "object",
|
|
2495
|
+
"properties": {
|
|
2496
|
+
"status": {
|
|
2497
|
+
"$ref": "#/components/schemas/FileSummaryJobStatus"
|
|
2498
|
+
},
|
|
2499
|
+
"job_id": {
|
|
2500
|
+
"type": "string",
|
|
2501
|
+
"format": "uuid",
|
|
2502
|
+
"description": "Current summary job ID when available."
|
|
2503
|
+
},
|
|
2504
|
+
"preview_summary_de": {
|
|
2505
|
+
"type": "string",
|
|
2506
|
+
"nullable": true,
|
|
2507
|
+
"description": "Compact German summary for hover and list preview surfaces."
|
|
2508
|
+
},
|
|
2509
|
+
"short_summary_de": {
|
|
2510
|
+
"type": "string",
|
|
2511
|
+
"nullable": true,
|
|
2512
|
+
"description": "Short German paragraph summary for file preview surfaces."
|
|
2513
|
+
},
|
|
2514
|
+
"preview_summary_en": {
|
|
2515
|
+
"type": "string",
|
|
2516
|
+
"nullable": true,
|
|
2517
|
+
"description": "Compact English summary for hover and list preview surfaces."
|
|
2518
|
+
},
|
|
2519
|
+
"short_summary_en": {
|
|
2520
|
+
"type": "string",
|
|
2521
|
+
"nullable": true,
|
|
2522
|
+
"description": "Short English paragraph summary for file preview surfaces."
|
|
2523
|
+
}
|
|
2524
|
+
}
|
|
2525
|
+
},
|
|
2263
2526
|
"CustomDownloadUrl": {
|
|
2264
2527
|
"description": "Custom external download url used for the file",
|
|
2265
2528
|
"type": "string",
|
|
2266
2529
|
"format": "uri",
|
|
2267
2530
|
"example": "https://some-api-url.com/download?file_id=123"
|
|
2268
2531
|
},
|
|
2532
|
+
"CustomDownloadUrlAuth": {
|
|
2533
|
+
"description": "Authorization mode for the custom_download_url. `presigned` (the default) uses an HMAC-signed URL; `token` authorizes the download via the caller's bearer token, matched against the exact stored custom_download_url. In token mode the File API returns the unsigned custom_download_url (no expires_at/signature query params) so the stored url matches exactly.",
|
|
2534
|
+
"type": "string",
|
|
2535
|
+
"enum": [
|
|
2536
|
+
"presigned",
|
|
2537
|
+
"token"
|
|
2538
|
+
],
|
|
2539
|
+
"default": "presigned",
|
|
2540
|
+
"example": "token"
|
|
2541
|
+
},
|
|
2269
2542
|
"FileEntity": {
|
|
2270
2543
|
"allOf": [
|
|
2271
2544
|
{
|
|
@@ -2437,6 +2710,9 @@
|
|
|
2437
2710
|
"properties": {
|
|
2438
2711
|
"custom_download_url": {
|
|
2439
2712
|
"$ref": "#/components/schemas/CustomDownloadUrl"
|
|
2713
|
+
},
|
|
2714
|
+
"custom_download_url_auth": {
|
|
2715
|
+
"$ref": "#/components/schemas/CustomDownloadUrlAuth"
|
|
2440
2716
|
}
|
|
2441
2717
|
}
|
|
2442
2718
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"s":"https://integration-toolkit.sls.epilot.io","o":[["acknowledgeTracking","post","/v1/erp/tracking/acknowledgement",null,1],["triggerErp","post","/v1/erp/trigger",null,1],["processErpUpdatesEvents","post","/v1/erp/updates/events",null,1],["processErpUpdatesEventsV2","post","/v2/erp/updates/events",null,1],["processErpUpdatesEventsV3","post","/v3/erp/updates/events",null,1],["simulateMappingV2","post","/v2/erp/updates/mapping_simulation",null,1],["simulateMapping","post","/v1/erp/updates/mapping_simulation",null,1],["listIntegrations","get","/v1/integrations"],["createIntegration","post","/v1/integrations",null,1],["getIntegration","get","/v1/integrations/{integrationId}",[["integrationId","p",true]]],["updateIntegration","put","/v1/integrations/{integrationId}",[["integrationId","p",true]],1],["deleteIntegration","delete","/v1/integrations/{integrationId}",[["integrationId","p",true]]],["queryEvents","post","/v1/integrations/{integrationId}/events",[["integrationId","p",true]],1],["replayEvents","post","/v1/integrations/{integrationId}/events/replay",[["integrationId","p",true]],1],["listUseCases","get","/v1/integrations/{integrationId}/use-cases",[["integrationId","p",true]]],["createUseCase","post","/v1/integrations/{integrationId}/use-cases",[["integrationId","p",true]],1],["getUseCase","get","/v1/integrations/{integrationId}/use-cases/{useCaseId}",[["integrationId","p",true],["useCaseId","p",true]]],["updateUseCase","put","/v1/integrations/{integrationId}/use-cases/{useCaseId}",[["integrationId","p",true],["useCaseId","p",true]],1],["deleteUseCase","delete","/v1/integrations/{integrationId}/use-cases/{useCaseId}",[["integrationId","p",true],["useCaseId","p",true]]],["listUseCaseHistory","get","/v1/integrations/{integrationId}/use-cases/{useCaseId}/history",[["integrationId","p",true],["useCaseId","p",true],["cursor","q"]]],["listIntegrationsV2","get","/v2/integrations"],["createIntegrationV2","post","/v2/integrations",null,1],["getIntegrationV2","get","/v2/integrations/{integrationId}",[["integrationId","p",true]]],["updateIntegrationV2","put","/v2/integrations/{integrationId}",[["integrationId","p",true]],1],["deleteIntegrationV2","delete","/v2/integrations/{integrationId}",[["integrationId","p",true]]],["listNotificationHistory","get","/v2/integrations/{integrationId}/notifications/history",[["integrationId","p",true],["cursor","q"],["limit","q"],["type","q"]]],["testSendNotification","post","/v2/integrations/{integrationId}/notifications/test",[["integrationId","p",true]],1],["getSecureProxyWhitelist","get","/v2/integrations/{integrationId}/use-cases/{useCaseId}/secure-proxy-whitelist",[["integrationId","p",true],["useCaseId","p",true]]],["updateSecureProxyWhitelist","put","/v2/integrations/{integrationId}/use-cases/{useCaseId}/secure-proxy-whitelist",[["integrationId","p",true],["useCaseId","p",true]],1],["listSecureProxyWhitelistHistory","get","/v2/integrations/{integrationId}/use-cases/{useCaseId}/secure-proxy-whitelist/history",[["integrationId","p",true],["useCaseId","p",true],["limit","q"]]],["setIntegrationAppMapping","put","/v1/integrations/{integrationId}/app-mapping",[["integrationId","p",true]],1],["deleteIntegrationAppMapping","delete","/v1/integrations/{integrationId}/app-mapping",[["integrationId","p",true]],1],["queryInboundMonitoringEvents","post","/v1/integrations/{integrationId}/monitoring/inbound-events",[["integrationId","p",true]],1],["getMonitoringStats","post","/v1/integrations/{integrationId}/monitoring/stats",[["integrationId","p",true]],1],["getMonitoringTimeSeries","post","/v1/integrations/{integrationId}/monitoring/timeseries",[["integrationId","p",true]],1],["getOutboundStatus","get","/v1/integrations/{integrationId}/outbound-status",[["integrationId","p",true]]],["pollOutboundMessages","post","/v1/integrations/{integrationId}/outbound/messages/poll",[["integrationId","p",true]],1],["ackOutboundMessages","post","/v1/integrations/{integrationId}/outbound/messages/ack",[["integrationId","p",true]],1],["listOutboundDlqMessages","get","/v1/integrations/{integrationId}/outbound/messages/dlq",[["integrationId","p",true],["limit","q"],["next_token","q"]]],["redriveOutboundDlqMessages","post","/v1/integrations/{integrationId}/outbound/messages/dlq/redrive",[["integrationId","p",true]],1],["unblockOutboundStream","post","/v1/integrations/{integrationId}/outbound/messages/unblock",[["integrationId","p",true]],1],["queryAccessLogs","post","/v1/integrations/{integrationId}/monitoring/access-logs",[["integrationId","p",true]],1],["queryOutboundMonitoringEvents","post","/v1/integrations/{integrationId}/monitoring/outbound-events",[["integrationId","p",true]],1],["queryMonitoringEventsV2","post","/v2/integrations/{integrationId}/monitoring/events",[["integrationId","p",true]],1],["getMonitoringStatsV2","post","/v2/integrations/{integrationId}/monitoring/stats",[["integrationId","p",true]],1],["getMonitoringTimeSeriesV2","post","/v2/integrations/{integrationId}/monitoring/time-series",[["integrationId","p",true]],1],["getAssociatedMonitoringEvents","get","/v2/integrations/{integrationId}/monitoring/events/{eventId}/associated",[["integrationId","p",true],["eventId","p",true]]],["listSecureProxies","get","/v1/integrations/secure-proxies"],["secureProxy","post","/v1/secure-proxy",null,1],["managedCallExecute","post","/v1/managed-call/{slug}/execute",[["slug","p",true]],1],["generateTypesPreview","post","/v1/integrations/{integrationId}/generate-types-preview",[["integrationId","p",true]]],["generateTypes","post","/v1/integrations/{integrationId}/generate-types",[["integrationId","p",true]],1],["commitTypes","post","/v1/integrations/{integrationId}/commit-types",[["integrationId","p",true]],1]],"v":"3.0.3"}
|
|
1
|
+
{"s":"https://integration-toolkit.sls.epilot.io","o":[["acknowledgeTracking","post","/v1/erp/tracking/acknowledgement",null,1],["triggerErp","post","/v1/erp/trigger",null,1],["processErpUpdatesEvents","post","/v1/erp/updates/events",null,1],["processErpUpdatesEventsV2","post","/v2/erp/updates/events",null,1],["processErpUpdatesEventsV3","post","/v3/erp/updates/events",null,1],["simulateMappingV2","post","/v2/erp/updates/mapping_simulation",null,1],["simulateMapping","post","/v1/erp/updates/mapping_simulation",null,1],["listIntegrations","get","/v1/integrations"],["createIntegration","post","/v1/integrations",null,1],["getIntegration","get","/v1/integrations/{integrationId}",[["integrationId","p",true]]],["updateIntegration","put","/v1/integrations/{integrationId}",[["integrationId","p",true]],1],["deleteIntegration","delete","/v1/integrations/{integrationId}",[["integrationId","p",true]]],["queryEvents","post","/v1/integrations/{integrationId}/events",[["integrationId","p",true]],1],["replayEvents","post","/v1/integrations/{integrationId}/events/replay",[["integrationId","p",true]],1],["listUseCases","get","/v1/integrations/{integrationId}/use-cases",[["integrationId","p",true]]],["createUseCase","post","/v1/integrations/{integrationId}/use-cases",[["integrationId","p",true]],1],["getUseCase","get","/v1/integrations/{integrationId}/use-cases/{useCaseId}",[["integrationId","p",true],["useCaseId","p",true]]],["updateUseCase","put","/v1/integrations/{integrationId}/use-cases/{useCaseId}",[["integrationId","p",true],["useCaseId","p",true]],1],["deleteUseCase","delete","/v1/integrations/{integrationId}/use-cases/{useCaseId}",[["integrationId","p",true],["useCaseId","p",true]]],["listUseCaseHistory","get","/v1/integrations/{integrationId}/use-cases/{useCaseId}/history",[["integrationId","p",true],["useCaseId","p",true],["cursor","q"]]],["listIntegrationsV2","get","/v2/integrations"],["createIntegrationV2","post","/v2/integrations",null,1],["getIntegrationV2","get","/v2/integrations/{integrationId}",[["integrationId","p",true]]],["updateIntegrationV2","put","/v2/integrations/{integrationId}",[["integrationId","p",true]],1],["deleteIntegrationV2","delete","/v2/integrations/{integrationId}",[["integrationId","p",true]]],["listNotificationHistory","get","/v2/integrations/{integrationId}/notifications/history",[["integrationId","p",true],["cursor","q"],["limit","q"],["type","q"]]],["testSendNotification","post","/v2/integrations/{integrationId}/notifications/test",[["integrationId","p",true]],1],["getNotificationStatus","get","/v2/integrations/{integrationId}/notifications/status",[["integrationId","p",true],["include","q"]]],["getSecureProxyWhitelist","get","/v2/integrations/{integrationId}/use-cases/{useCaseId}/secure-proxy-whitelist",[["integrationId","p",true],["useCaseId","p",true]]],["updateSecureProxyWhitelist","put","/v2/integrations/{integrationId}/use-cases/{useCaseId}/secure-proxy-whitelist",[["integrationId","p",true],["useCaseId","p",true]],1],["listSecureProxyWhitelistHistory","get","/v2/integrations/{integrationId}/use-cases/{useCaseId}/secure-proxy-whitelist/history",[["integrationId","p",true],["useCaseId","p",true],["limit","q"]]],["setIntegrationAppMapping","put","/v1/integrations/{integrationId}/app-mapping",[["integrationId","p",true]],1],["deleteIntegrationAppMapping","delete","/v1/integrations/{integrationId}/app-mapping",[["integrationId","p",true]],1],["queryInboundMonitoringEvents","post","/v1/integrations/{integrationId}/monitoring/inbound-events",[["integrationId","p",true]],1],["getMonitoringStats","post","/v1/integrations/{integrationId}/monitoring/stats",[["integrationId","p",true]],1],["getMonitoringTimeSeries","post","/v1/integrations/{integrationId}/monitoring/timeseries",[["integrationId","p",true]],1],["getOutboundStatus","get","/v1/integrations/{integrationId}/outbound-status",[["integrationId","p",true]]],["pollOutboundMessages","post","/v1/integrations/{integrationId}/outbound/messages/poll",[["integrationId","p",true]],1],["ackOutboundMessages","post","/v1/integrations/{integrationId}/outbound/messages/ack",[["integrationId","p",true]],1],["listOutboundDlqMessages","get","/v1/integrations/{integrationId}/outbound/messages/dlq",[["integrationId","p",true],["limit","q"],["next_token","q"]]],["redriveOutboundDlqMessages","post","/v1/integrations/{integrationId}/outbound/messages/dlq/redrive",[["integrationId","p",true]],1],["unblockOutboundStream","post","/v1/integrations/{integrationId}/outbound/messages/unblock",[["integrationId","p",true]],1],["queryAccessLogs","post","/v1/integrations/{integrationId}/monitoring/access-logs",[["integrationId","p",true]],1],["queryOutboundMonitoringEvents","post","/v1/integrations/{integrationId}/monitoring/outbound-events",[["integrationId","p",true]],1],["queryMonitoringEventsV2","post","/v2/integrations/{integrationId}/monitoring/events",[["integrationId","p",true]],1],["getMonitoringStatsV2","post","/v2/integrations/{integrationId}/monitoring/stats",[["integrationId","p",true]],1],["getMonitoringTimeSeriesV2","post","/v2/integrations/{integrationId}/monitoring/time-series",[["integrationId","p",true]],1],["getAssociatedMonitoringEvents","get","/v2/integrations/{integrationId}/monitoring/events/{eventId}/associated",[["integrationId","p",true],["eventId","p",true]]],["listSecureProxies","get","/v1/integrations/secure-proxies"],["secureProxy","post","/v1/secure-proxy",null,1],["managedCallExecute","post","/v1/managed-call/{slug}/execute",[["slug","p",true]],1],["generateTypesPreview","post","/v1/integrations/{integrationId}/generate-types-preview",[["integrationId","p",true]]],["generateTypes","post","/v1/integrations/{integrationId}/generate-types",[["integrationId","p",true]],1],["commitTypes","post","/v1/integrations/{integrationId}/commit-types",[["integrationId","p",true]],1]],"v":"3.0.3"}
|