@epilot/sdk 2.10.0 → 2.10.2

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 (194) hide show
  1. package/definitions/ai-agents-runtime.json +1 -1
  2. package/definitions/ai-agents.json +971 -98
  3. package/definitions/customer-portal-runtime.json +1 -1
  4. package/definitions/customer-portal.json +1238 -124
  5. package/definitions/file-runtime.json +1 -1
  6. package/definitions/file.json +291 -15
  7. package/definitions/targeting-runtime.json +1 -1
  8. package/definitions/targeting.json +7 -2
  9. package/definitions/workflow-runtime.json +1 -1
  10. package/definitions/workflow.json +445 -60
  11. package/dist/ai-agents-D6C5TXLD.cjs +7 -0
  12. package/dist/ai-agents-Y6PH53PH.js +7 -0
  13. package/dist/{ai-agents-runtime-25YRUJHI.js → ai-agents-runtime-EA23HCCP.js} +1 -1
  14. package/dist/{ai-agents-runtime-TILIO3UM.cjs → ai-agents-runtime-WZ3EI3NH.cjs} +2 -2
  15. package/dist/{ai-agents.d-CC5IjXrs.d.cts → ai-agents.d-D-7bTH-9.d.cts} +506 -5
  16. package/dist/{ai-agents.d-CC5IjXrs.d.ts → ai-agents.d-D-7bTH-9.d.ts} +506 -5
  17. package/dist/apis/access-token.cjs +6 -6
  18. package/dist/apis/access-token.js +1 -1
  19. package/dist/apis/address-suggestions.cjs +6 -6
  20. package/dist/apis/address-suggestions.js +1 -1
  21. package/dist/apis/address.cjs +6 -6
  22. package/dist/apis/address.js +1 -1
  23. package/dist/apis/ai-agents.cjs +8 -8
  24. package/dist/apis/ai-agents.d.cts +2 -2
  25. package/dist/apis/ai-agents.d.ts +2 -2
  26. package/dist/apis/ai-agents.js +2 -2
  27. package/dist/apis/app.cjs +6 -6
  28. package/dist/apis/app.js +1 -1
  29. package/dist/apis/audit-logs.cjs +6 -6
  30. package/dist/apis/audit-logs.js +1 -1
  31. package/dist/apis/automation.cjs +6 -6
  32. package/dist/apis/automation.js +1 -1
  33. package/dist/apis/billing.cjs +6 -6
  34. package/dist/apis/billing.js +1 -1
  35. package/dist/apis/blueprint-manifest.cjs +6 -6
  36. package/dist/apis/blueprint-manifest.js +1 -1
  37. package/dist/apis/calendar.cjs +6 -6
  38. package/dist/apis/calendar.js +1 -1
  39. package/dist/apis/configuration-hub.cjs +6 -6
  40. package/dist/apis/configuration-hub.js +1 -1
  41. package/dist/apis/consent.cjs +6 -6
  42. package/dist/apis/consent.js +1 -1
  43. package/dist/apis/customer-portal.cjs +8 -8
  44. package/dist/apis/customer-portal.d.cts +2 -2
  45. package/dist/apis/customer-portal.d.ts +2 -2
  46. package/dist/apis/customer-portal.js +2 -2
  47. package/dist/apis/dashboard.cjs +6 -6
  48. package/dist/apis/dashboard.js +1 -1
  49. package/dist/apis/data-governance.cjs +6 -6
  50. package/dist/apis/data-governance.js +1 -1
  51. package/dist/apis/deduplication.cjs +6 -6
  52. package/dist/apis/deduplication.js +1 -1
  53. package/dist/apis/design.cjs +6 -6
  54. package/dist/apis/design.js +1 -1
  55. package/dist/apis/document.cjs +6 -6
  56. package/dist/apis/document.js +1 -1
  57. package/dist/apis/email-settings.cjs +6 -6
  58. package/dist/apis/email-settings.js +1 -1
  59. package/dist/apis/email-template.cjs +6 -6
  60. package/dist/apis/email-template.js +1 -1
  61. package/dist/apis/entity-mapping.cjs +6 -6
  62. package/dist/apis/entity-mapping.js +1 -1
  63. package/dist/apis/entity.cjs +6 -6
  64. package/dist/apis/entity.js +1 -1
  65. package/dist/apis/environments.cjs +6 -6
  66. package/dist/apis/environments.js +1 -1
  67. package/dist/apis/event-catalog.cjs +6 -6
  68. package/dist/apis/event-catalog.js +1 -1
  69. package/dist/apis/file.cjs +8 -8
  70. package/dist/apis/file.d.cts +2 -2
  71. package/dist/apis/file.d.ts +2 -2
  72. package/dist/apis/file.js +2 -2
  73. package/dist/apis/iban.cjs +6 -6
  74. package/dist/apis/iban.js +1 -1
  75. package/dist/apis/integration-toolkit.cjs +6 -6
  76. package/dist/apis/integration-toolkit.js +1 -1
  77. package/dist/apis/journey.cjs +6 -6
  78. package/dist/apis/journey.js +1 -1
  79. package/dist/apis/kanban.cjs +6 -6
  80. package/dist/apis/kanban.js +1 -1
  81. package/dist/apis/message.cjs +6 -6
  82. package/dist/apis/message.js +1 -1
  83. package/dist/apis/metering.cjs +6 -6
  84. package/dist/apis/metering.js +1 -1
  85. package/dist/apis/notes.cjs +6 -6
  86. package/dist/apis/notes.js +1 -1
  87. package/dist/apis/notification.cjs +6 -6
  88. package/dist/apis/notification.js +1 -1
  89. package/dist/apis/organization.cjs +6 -6
  90. package/dist/apis/organization.js +1 -1
  91. package/dist/apis/partner-directory.cjs +6 -6
  92. package/dist/apis/partner-directory.js +1 -1
  93. package/dist/apis/permissions.cjs +6 -6
  94. package/dist/apis/permissions.js +1 -1
  95. package/dist/apis/pricing-tier.cjs +6 -6
  96. package/dist/apis/pricing-tier.js +1 -1
  97. package/dist/apis/pricing.cjs +6 -6
  98. package/dist/apis/pricing.js +1 -1
  99. package/dist/apis/purpose.cjs +6 -6
  100. package/dist/apis/purpose.js +1 -1
  101. package/dist/apis/query.cjs +6 -6
  102. package/dist/apis/query.js +1 -1
  103. package/dist/apis/sandbox.cjs +6 -6
  104. package/dist/apis/sandbox.js +1 -1
  105. package/dist/apis/sharing.cjs +6 -6
  106. package/dist/apis/sharing.js +1 -1
  107. package/dist/apis/snapshot.cjs +6 -6
  108. package/dist/apis/snapshot.js +1 -1
  109. package/dist/apis/submission.cjs +6 -6
  110. package/dist/apis/submission.js +1 -1
  111. package/dist/apis/target.cjs +6 -6
  112. package/dist/apis/target.js +1 -1
  113. package/dist/apis/targeting.cjs +8 -8
  114. package/dist/apis/targeting.d.cts +2 -2
  115. package/dist/apis/targeting.d.ts +2 -2
  116. package/dist/apis/targeting.js +2 -2
  117. package/dist/apis/template-variables.cjs +6 -6
  118. package/dist/apis/template-variables.js +1 -1
  119. package/dist/apis/user.cjs +6 -6
  120. package/dist/apis/user.js +1 -1
  121. package/dist/apis/validation-rules.cjs +6 -6
  122. package/dist/apis/validation-rules.js +1 -1
  123. package/dist/apis/webhooks.cjs +6 -6
  124. package/dist/apis/webhooks.js +1 -1
  125. package/dist/apis/workflow-definition.cjs +6 -6
  126. package/dist/apis/workflow-definition.js +1 -1
  127. package/dist/apis/workflow.cjs +8 -8
  128. package/dist/apis/workflow.d.cts +2 -2
  129. package/dist/apis/workflow.d.ts +2 -2
  130. package/dist/apis/workflow.js +2 -2
  131. package/dist/{chunk-KQKBSWGI.js → chunk-522LYPPW.js} +1 -1
  132. package/dist/{chunk-MCK2QUSD.cjs → chunk-7ILTRJDQ.cjs} +1 -1
  133. package/dist/chunk-BRWY3QHG.js +14 -0
  134. package/dist/chunk-G5KVG3RU.js +14 -0
  135. package/dist/{chunk-LSPXLT3A.js → chunk-H3NMCCSA.js} +1 -1
  136. package/dist/chunk-JBPITLKN.cjs +14 -0
  137. package/dist/chunk-LNLUCLPL.cjs +14 -0
  138. package/dist/chunk-LSMVZMBY.js +14 -0
  139. package/dist/{chunk-XH5F3S6Y.js → chunk-O6DUKVXV.js} +10 -10
  140. package/dist/{chunk-QNZPOA54.cjs → chunk-PM25LLET.cjs} +1 -1
  141. package/dist/{chunk-OJGUX5TG.cjs → chunk-WK3YGGRO.cjs} +10 -10
  142. package/dist/chunk-YEBEA6XU.cjs +14 -0
  143. package/dist/customer-portal-MY3GZVUL.cjs +7 -0
  144. package/dist/customer-portal-YSODD3RC.js +7 -0
  145. package/dist/{customer-portal-runtime-TDHV2YVY.js → customer-portal-runtime-C6ZIKX2V.js} +1 -1
  146. package/dist/{customer-portal-runtime-HA6CPWB4.cjs → customer-portal-runtime-M7O3RDJ5.cjs} +2 -2
  147. package/dist/{customer-portal.d-BRwiQehb.d.cts → customer-portal.d-Bx5_n5UL.d.cts} +827 -8
  148. package/dist/{customer-portal.d-BRwiQehb.d.ts → customer-portal.d-Bx5_n5UL.d.ts} +827 -8
  149. package/dist/file-7CQXDQ3I.cjs +7 -0
  150. package/dist/file-O6ZD3HOU.js +7 -0
  151. package/dist/file-runtime-HYLQTQBX.cjs +5 -0
  152. package/dist/{file-runtime-DKGFS44O.js → file-runtime-VY6DJAQ3.js} +1 -1
  153. package/dist/{file.d-BjlMgTwj.d.cts → file.d-BN417xok.d.cts} +416 -23
  154. package/dist/{file.d-BjlMgTwj.d.ts → file.d-BN417xok.d.ts} +416 -23
  155. package/dist/index.cjs +18 -18
  156. package/dist/index.d.cts +5 -5
  157. package/dist/index.d.ts +5 -5
  158. package/dist/index.js +6 -6
  159. package/dist/js-yaml-DLCVPJ7G.js +0 -0
  160. package/dist/{targeting-WC62BBZN.cjs → targeting-4YMBBPDW.cjs} +1 -1
  161. package/dist/{targeting-X4Y2ODBT.js → targeting-VCENULF6.js} +1 -1
  162. package/dist/{targeting-runtime-D5YUPZQM.js → targeting-runtime-QI7322HB.js} +1 -1
  163. package/dist/{targeting-runtime-MLMOM7CK.cjs → targeting-runtime-X3DQ527N.cjs} +2 -2
  164. package/dist/{targeting.d-0rNF7ErD.d.cts → targeting.d-Bq3onSes.d.cts} +1 -1
  165. package/dist/{targeting.d-0rNF7ErD.d.ts → targeting.d-Bq3onSes.d.ts} +1 -1
  166. package/dist/workflow-7OU2YEEI.cjs +7 -0
  167. package/dist/workflow-IVKCWS44.js +7 -0
  168. package/dist/{workflow-runtime-DNTQDYPQ.js → workflow-runtime-L5HMFISV.js} +1 -1
  169. package/dist/{workflow-runtime-VKFESVFX.cjs → workflow-runtime-LMGACZP4.cjs} +2 -2
  170. package/dist/{workflow.d-CMSKt8oN.d.cts → workflow.d-eFv0ecBi.d.cts} +745 -81
  171. package/dist/{workflow.d-CMSKt8oN.d.ts → workflow.d-eFv0ecBi.d.ts} +745 -81
  172. package/docs/ai-agents.md +641 -23
  173. package/docs/customer-portal.md +700 -31
  174. package/docs/file.md +165 -25
  175. package/docs/targeting.md +1 -1
  176. package/docs/workflow.md +247 -47
  177. package/package.json +11 -12
  178. package/definitions/focus-pocus-runtime.json +0 -1
  179. package/definitions/focus-pocus.json +0 -757
  180. package/dist/ai-agents-IZWFEUSH.js +0 -7
  181. package/dist/ai-agents-PWHKNRCX.cjs +0 -7
  182. package/dist/chunk-4M5V6BIT.cjs +0 -14
  183. package/dist/chunk-5ZXGKLB6.cjs +0 -14
  184. package/dist/chunk-774ASAAH.js +0 -14
  185. package/dist/chunk-FARDEGPH.cjs +0 -14
  186. package/dist/chunk-JENQHXFI.js +0 -14
  187. package/dist/chunk-RDVFQOCQ.js +0 -14
  188. package/dist/customer-portal-4DXHY42V.js +0 -7
  189. package/dist/customer-portal-5OSGSYGF.cjs +0 -7
  190. package/dist/file-2MSILSPP.cjs +0 -7
  191. package/dist/file-JVFTT5RZ.js +0 -7
  192. package/dist/file-runtime-7AWKNQU6.cjs +0 -5
  193. package/dist/workflow-3WBD74WR.js +0 -7
  194. package/dist/workflow-WIUZ5TOX.cjs +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"]}}
@@ -2,7 +2,7 @@
2
2
  "openapi": "3.0.3",
3
3
  "info": {
4
4
  "title": "File API",
5
- "version": "1.10.0",
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": "Request AI generation of preview and short summaries for a file entity.",
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/FileSummaryGenerationStatus"
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
- "FileSummaryStatus": {
2440
+ "FileSummaryJobStatus": {
2242
2441
  "type": "string",
2243
- "description": "Current AI summary generation state for the file.",
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
- "FileSummaryGenerationStatus": {
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/FileSummaryStatus"
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
- "status"
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://targeting.sls.epilot.io","o":[["changeCampaignStatus","post","/v1/campaign/{campaign_id}/status",[["CampaignIdPathParam"]]],["getCampaignJobStatus","get","/v1/campaign/{campaign_id}/job",[["CampaignIdPathParam"]]],["getCampaignPortals","get","/v1/campaign/{campaign_id}/portals",[["CampaignIdPathParam"]]],["retriggerCampaignAutomations","post","/v1/campaign/{campaign_id}/automations:retrigger",[["CampaignIdPathParam"]],1],["setupCampaign","post","/v1/campaign:setup",null,1],["matchCampaigns","post","/v1/campaign:match",null,1],["matchTargets","post","/v1/target:match",null,1],["getTargetQueries","post","/v1/target/queries",null,1],["createRecipient","post","/v1/campaign/{campaign_id}/recipient",[["CampaignIdPathParam"]],1],["updateRecipient","patch","/v1/campaign/{campaign_id}/recipient/{recipient_id}",[["CampaignIdPathParam"],["RecipientIdPathParam"]],1],["updateRecipientPortalStatus","patch","/v1/campaign/{campaign_id}/recipient/{recipient_id}/portal:status",[["CampaignIdPathParam"],["RecipientIdPathParam"]],1],["getRecipients","get","/v1/campaign/{campaign_id}/recipients",[["CampaignIdPathParam"],["limit","q"],["next","q"],["q","q"],["automation_status","q"],["portal_status","q"]]]],"v":"3.0.3","cp":{"CampaignIdPathParam":["campaign_id","p",true],"RecipientIdPathParam":["recipient_id","p",true]}}
1
+ {"s":"https://targeting.sls.epilot.io","o":[["changeCampaignStatus","post","/v1/campaign/{campaign_id}/status",[["CampaignIdPathParam"]]],["getCampaignJobStatus","get","/v1/campaign/{campaign_id}/job",[["CampaignIdPathParam"]]],["getCampaignPortals","get","/v1/campaign/{campaign_id}/portals",[["CampaignIdPathParam"]]],["retriggerCampaignAutomations","post","/v1/campaign/{campaign_id}/automations:retrigger",[["CampaignIdPathParam"]],1],["setupCampaign","post","/v1/campaign:setup",null,1],["matchCampaigns","post","/v1/campaign:match",null,1],["matchTargets","post","/v1/target:match",null,1],["getTargetQueries","post","/v1/target/queries",null,1],["createRecipient","post","/v1/campaign/{campaign_id}/recipient",[["CampaignIdPathParam"]],1],["updateRecipient","patch","/v1/campaign/{campaign_id}/recipient/{recipient_id}",[["CampaignIdPathParam"],["RecipientIdPathParam"]],1],["updateRecipientPortalStatus","patch","/v1/campaign/{campaign_id}/recipient/{recipient_id}/portal:status",[["CampaignIdPathParam"],["RecipientIdPathParam"]],1],["getRecipients","get","/v1/campaign/{campaign_id}/recipients",[["CampaignIdPathParam"],["limit","q"],["next","q"],["q","q"],["automation_status","q",false,"form",true],["portal_status","q"]]]],"v":"3.0.3","cp":{"CampaignIdPathParam":["campaign_id","p",true],"RecipientIdPathParam":["recipient_id","p",true]}}
@@ -495,9 +495,14 @@
495
495
  {
496
496
  "name": "automation_status",
497
497
  "in": "query",
498
- "description": "Filter by automation status",
498
+ "description": "Filter by automation status. Repeat the parameter to match multiple\nstatuses in one request\n(e.g. automation_status=failed&automation_status=cancelled).\n",
499
+ "style": "form",
500
+ "explode": true,
499
501
  "schema": {
500
- "$ref": "#/components/schemas/AutomationStatus"
502
+ "type": "array",
503
+ "items": {
504
+ "$ref": "#/components/schemas/AutomationStatus"
505
+ }
501
506
  }
502
507
  },
503
508
  {
@@ -1 +1 @@
1
- {"s":"https://workflows-execution.sls.epilot.io","o":[["getExecutions","get","/v1/workflows/executions",[["context","q"],["schema","q"]]],["createExecution","post","/v1/workflows/executions",null,1],["getExecution","get","/v1/workflows/executions/{executionId}",[["executionId","p",true]]],["updateExecution","patch","/v1/workflows/executions/{executionId}",[["executionId","p",true]],1],["deleteExecution","delete","/v1/workflows/executions/{executionId}",[["executionId","p",true]]],["createStep","post","/v1/workflows/executions/{executionId}/steps",[["executionId","p",true]],1],["updateStep","patch","/v1/workflows/executions/{executionId}/steps/{stepId}",[["executionId","p",true],["stepId","p",true]],1],["deleteStep","delete","/v1/workflows/executions/{executionId}/steps/{stepId}",[["executionId","p",true],["stepId","p",true]]],["searchExecutions","post","/v1/workflows/executions/search",null,1],["searchSteps","post","/v1/workflows/executions/steps/search",null,1],["getClosingReasonExecution","get","/v1/workflows/executions/{executionId}/closing-reasons",[["executionId","p",true]]],["startFlowExecution","post","/v2/flows/executions",null,1],["getFlowExecution","get","/v2/flows/executions/{execution_id}",[["ExecutionIdParam"]]],["patchFlowExecution","patch","/v2/flows/executions/{execution_id}",[["ExecutionIdParam"]],1],["deleteFlowExecution","delete","/v2/flows/executions/{execution_id}",[["ExecutionIdParam"],["SoftDeleteParam"]]],["searchFlowExecutions","post","/v2/flows/executions:search",null,1],["patchTask","patch","/v2/flows/executions/{execution_id}/tasks/{task_id}",[["ExecutionIdParam"],["TaskIdParam"]],1],["runTaskAutomation","post","/v2/flows/executions/{execution_id}/tasks/{task_id}/automation:run",[["ExecutionIdParam"],["TaskIdParam"]]],["executeTask","post","/v2/flows/executions/{execution_id}/tasks/{task_id}/execute",[["ExecutionIdParam"],["TaskIdParam"]]],["patchPhase","patch","/v2/flows/executions/{execution_id}/phases/{phase_id}",[["ExecutionIdParam"],["PhaseIdParam"]],1],["addTask","post","/v2/flows/executions/{execution_id}/tasks",[["ExecutionIdParam"]],1],["cancelTaskSchedule","delete","/v2/flows/executions/{execution_id}/tasks/{task_id}/schedule",[["ExecutionIdParam"],["TaskIdParam"]]],["runTaskScheduleNow","post","/v2/flows/executions/{execution_id}/tasks/{task_id}/schedule/run-now",[["ExecutionIdParam"],["TaskIdParam"]]],["cancelSchedule","post","/v2/flows/executions/{execution_id}/schedules/{schedule_id}",[["ExecutionIdParam"],["ScheduleIdParam"]]]],"v":"3.0.0","cp":{"ExecutionIdParam":["execution_id","p",true],"TaskIdParam":["task_id","p",true],"PhaseIdParam":["phase_id","p",true],"ScheduleIdParam":["schedule_id","p",true],"SoftDeleteParam":["soft","q"]}}
1
+ {"s":"https://workflows-execution.sls.epilot.io","o":[["getExecutions","get","/v1/workflows/executions",[["context","q"],["schema","q"]]],["createExecution","post","/v1/workflows/executions",null,1],["getExecution","get","/v1/workflows/executions/{executionId}",[["executionId","p",true]]],["updateExecution","patch","/v1/workflows/executions/{executionId}",[["executionId","p",true]],1],["deleteExecution","delete","/v1/workflows/executions/{executionId}",[["executionId","p",true]]],["createStep","post","/v1/workflows/executions/{executionId}/steps",[["executionId","p",true]],1],["updateStep","patch","/v1/workflows/executions/{executionId}/steps/{stepId}",[["executionId","p",true],["stepId","p",true]],1],["deleteStep","delete","/v1/workflows/executions/{executionId}/steps/{stepId}",[["executionId","p",true],["stepId","p",true]]],["searchExecutions","post","/v1/workflows/executions/search",null,1],["searchSteps","post","/v1/workflows/executions/steps/search",null,1],["getClosingReasonExecution","get","/v1/workflows/executions/{executionId}/closing-reasons",[["executionId","p",true]]],["startFlowExecution","post","/v2/flows/executions",null,1],["getFlowExecution","get","/v2/flows/executions/{execution_id}",[["ExecutionIdParam"]]],["patchFlowExecution","patch","/v2/flows/executions/{execution_id}",[["ExecutionIdParam"]],1],["deleteFlowExecution","delete","/v2/flows/executions/{execution_id}",[["ExecutionIdParam"],["SoftDeleteParam"]]],["searchFlowExecutions","post","/v2/flows/executions:search",null,1],["patchTask","patch","/v2/flows/executions/{execution_id}/tasks/{task_id}",[["ExecutionIdParam"],["TaskIdParam"]],1],["runTaskAutomation","post","/v2/flows/executions/{execution_id}/tasks/{task_id}/automation:run",[["ExecutionIdParam"],["TaskIdParam"]]],["executeTask","post","/v2/flows/executions/{execution_id}/tasks/{task_id}/execute",[["ExecutionIdParam"],["TaskIdParam"]]],["patchPhase","patch","/v2/flows/executions/{execution_id}/phases/{phase_id}",[["ExecutionIdParam"],["PhaseIdParam"]],1],["addTask","post","/v2/flows/executions/{execution_id}/tasks",[["ExecutionIdParam"]],1],["cancelTaskSchedule","delete","/v2/flows/executions/{execution_id}/tasks/{task_id}/schedule",[["ExecutionIdParam"],["TaskIdParam"]]],["reconcileAutomationTask","post","/v2/flows/executions/{execution_id}/tasks/{task_id}/reconcile-automation",[["ExecutionIdParam"],["TaskIdParam"]]],["runTaskScheduleNow","post","/v2/flows/executions/{execution_id}/tasks/{task_id}/schedule/run-now",[["ExecutionIdParam"],["TaskIdParam"]]],["cancelSchedule","post","/v2/flows/executions/{execution_id}/schedules/{schedule_id}",[["ExecutionIdParam"],["ScheduleIdParam"]]]],"v":"3.0.0","cp":{"ExecutionIdParam":["execution_id","p",true],"TaskIdParam":["task_id","p",true],"PhaseIdParam":["phase_id","p",true],"ScheduleIdParam":["schedule_id","p",true],"SoftDeleteParam":["soft","q"]}}