@epilot/sdk 2.7.1 → 2.7.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (225) hide show
  1. package/definitions/app.json +101 -8
  2. package/definitions/configuration-hub-runtime.json +1 -1
  3. package/definitions/configuration-hub.json +623 -0
  4. package/definitions/customer-portal.json +72 -58
  5. package/definitions/design-runtime.json +1 -1
  6. package/definitions/design.json +52 -12
  7. package/definitions/file-runtime.json +1 -1
  8. package/definitions/file.json +88 -4
  9. package/definitions/journey-runtime.json +1 -1
  10. package/definitions/journey.json +21 -1
  11. package/definitions/notes-runtime.json +1 -1
  12. package/definitions/notes.json +123 -1
  13. package/definitions/pricing.json +149 -404
  14. package/dist/apis/access-token.cjs +6 -6
  15. package/dist/apis/access-token.js +1 -1
  16. package/dist/apis/address-suggestions.cjs +6 -6
  17. package/dist/apis/address-suggestions.js +1 -1
  18. package/dist/apis/address.cjs +6 -6
  19. package/dist/apis/address.js +1 -1
  20. package/dist/apis/ai-agents.cjs +6 -6
  21. package/dist/apis/ai-agents.js +1 -1
  22. package/dist/apis/app.cjs +6 -6
  23. package/dist/apis/app.d.cts +2 -2
  24. package/dist/apis/app.d.ts +2 -2
  25. package/dist/apis/app.js +1 -1
  26. package/dist/apis/audit-logs.cjs +6 -6
  27. package/dist/apis/audit-logs.js +1 -1
  28. package/dist/apis/automation.cjs +6 -6
  29. package/dist/apis/automation.js +1 -1
  30. package/dist/apis/billing.cjs +6 -6
  31. package/dist/apis/billing.js +1 -1
  32. package/dist/apis/blueprint-manifest.cjs +6 -6
  33. package/dist/apis/blueprint-manifest.js +1 -1
  34. package/dist/apis/calendar.cjs +6 -6
  35. package/dist/apis/calendar.js +1 -1
  36. package/dist/apis/configuration-hub.cjs +8 -8
  37. package/dist/apis/configuration-hub.d.cts +2 -2
  38. package/dist/apis/configuration-hub.d.ts +2 -2
  39. package/dist/apis/configuration-hub.js +2 -2
  40. package/dist/apis/consent.cjs +6 -6
  41. package/dist/apis/consent.js +1 -1
  42. package/dist/apis/customer-portal.cjs +6 -6
  43. package/dist/apis/customer-portal.d.cts +2 -2
  44. package/dist/apis/customer-portal.d.ts +2 -2
  45. package/dist/apis/customer-portal.js +1 -1
  46. package/dist/apis/dashboard.cjs +6 -6
  47. package/dist/apis/dashboard.js +1 -1
  48. package/dist/apis/data-governance.cjs +6 -6
  49. package/dist/apis/data-governance.js +1 -1
  50. package/dist/apis/deduplication.cjs +6 -6
  51. package/dist/apis/deduplication.js +1 -1
  52. package/dist/apis/design.cjs +8 -8
  53. package/dist/apis/design.d.cts +2 -2
  54. package/dist/apis/design.d.ts +2 -2
  55. package/dist/apis/design.js +2 -2
  56. package/dist/apis/document.cjs +6 -6
  57. package/dist/apis/document.js +1 -1
  58. package/dist/apis/email-settings.cjs +6 -6
  59. package/dist/apis/email-settings.js +1 -1
  60. package/dist/apis/email-template.cjs +6 -6
  61. package/dist/apis/email-template.js +1 -1
  62. package/dist/apis/entity-mapping.cjs +6 -6
  63. package/dist/apis/entity-mapping.js +1 -1
  64. package/dist/apis/entity.cjs +6 -6
  65. package/dist/apis/entity.js +1 -1
  66. package/dist/apis/environments.cjs +6 -6
  67. package/dist/apis/environments.js +1 -1
  68. package/dist/apis/event-catalog.cjs +6 -6
  69. package/dist/apis/event-catalog.js +1 -1
  70. package/dist/apis/file.cjs +8 -8
  71. package/dist/apis/file.d.cts +2 -2
  72. package/dist/apis/file.d.ts +2 -2
  73. package/dist/apis/file.js +2 -2
  74. package/dist/apis/iban.cjs +6 -6
  75. package/dist/apis/iban.js +1 -1
  76. package/dist/apis/integration-toolkit.cjs +6 -6
  77. package/dist/apis/integration-toolkit.js +1 -1
  78. package/dist/apis/journey.cjs +8 -8
  79. package/dist/apis/journey.d.cts +2 -2
  80. package/dist/apis/journey.d.ts +2 -2
  81. package/dist/apis/journey.js +2 -2
  82. package/dist/apis/kanban.cjs +6 -6
  83. package/dist/apis/kanban.js +1 -1
  84. package/dist/apis/message.cjs +6 -6
  85. package/dist/apis/message.js +1 -1
  86. package/dist/apis/metering.cjs +6 -6
  87. package/dist/apis/metering.js +1 -1
  88. package/dist/apis/notes.cjs +8 -8
  89. package/dist/apis/notes.d.cts +2 -2
  90. package/dist/apis/notes.d.ts +2 -2
  91. package/dist/apis/notes.js +2 -2
  92. package/dist/apis/notification.cjs +6 -6
  93. package/dist/apis/notification.js +1 -1
  94. package/dist/apis/organization.cjs +6 -6
  95. package/dist/apis/organization.js +1 -1
  96. package/dist/apis/partner-directory.cjs +6 -6
  97. package/dist/apis/partner-directory.js +1 -1
  98. package/dist/apis/permissions.cjs +6 -6
  99. package/dist/apis/permissions.js +1 -1
  100. package/dist/apis/pricing-tier.cjs +6 -6
  101. package/dist/apis/pricing-tier.js +1 -1
  102. package/dist/apis/pricing.cjs +6 -6
  103. package/dist/apis/pricing.d.cts +2 -2
  104. package/dist/apis/pricing.d.ts +2 -2
  105. package/dist/apis/pricing.js +1 -1
  106. package/dist/apis/purpose.cjs +6 -6
  107. package/dist/apis/purpose.js +1 -1
  108. package/dist/apis/query.cjs +6 -6
  109. package/dist/apis/query.js +1 -1
  110. package/dist/apis/sandbox.cjs +6 -6
  111. package/dist/apis/sandbox.js +1 -1
  112. package/dist/apis/sharing.cjs +6 -6
  113. package/dist/apis/sharing.js +1 -1
  114. package/dist/apis/submission.cjs +6 -6
  115. package/dist/apis/submission.js +1 -1
  116. package/dist/apis/target.cjs +6 -6
  117. package/dist/apis/target.js +1 -1
  118. package/dist/apis/targeting.cjs +6 -6
  119. package/dist/apis/targeting.js +1 -1
  120. package/dist/apis/template-variables.cjs +6 -6
  121. package/dist/apis/template-variables.js +1 -1
  122. package/dist/apis/user.cjs +6 -6
  123. package/dist/apis/user.js +1 -1
  124. package/dist/apis/validation-rules.cjs +6 -6
  125. package/dist/apis/validation-rules.js +1 -1
  126. package/dist/apis/webhooks.cjs +6 -6
  127. package/dist/apis/webhooks.js +1 -1
  128. package/dist/apis/workflow-definition.cjs +6 -6
  129. package/dist/apis/workflow-definition.js +1 -1
  130. package/dist/apis/workflow.cjs +6 -6
  131. package/dist/apis/workflow.js +1 -1
  132. package/dist/{app-SSF545U7.cjs → app-74LECFMK.cjs} +1 -1
  133. package/dist/{app-34OBBTA4.js → app-GNUHCGPO.js} +1 -1
  134. package/dist/{app.d--5n0FQQ4.d.cts → app.d-BOR23dso.d.cts} +104 -4
  135. package/dist/{app.d--5n0FQQ4.d.ts → app.d-BOR23dso.d.ts} +104 -4
  136. package/dist/bin/cli.js +1 -1
  137. package/dist/{chunk-SCMAZ73K.js → chunk-2FJMQLXE.js} +28 -19
  138. package/dist/chunk-4M5V6BIT.cjs +14 -0
  139. package/dist/chunk-JOUTFBLN.js +14 -0
  140. package/dist/chunk-LAWKCWVU.cjs +14 -0
  141. package/dist/{chunk-ZSONBZIF.cjs → chunk-MOLFG5L4.cjs} +1 -1
  142. package/dist/chunk-P4NA7NWG.js +14 -0
  143. package/dist/{chunk-R7XDTILZ.cjs → chunk-QNMDISUR.cjs} +28 -19
  144. package/dist/chunk-RDVFQOCQ.js +14 -0
  145. package/dist/chunk-WHXYES2D.cjs +14 -0
  146. package/dist/{chunk-RW5JOHG7.js → chunk-WIQXF7DD.js} +1 -1
  147. package/dist/{chunk-ONOGGR6Q.js → chunk-WW6DVKJR.js} +1 -1
  148. package/dist/{chunk-M2SSGV7K.cjs → chunk-ZOQUGWQL.cjs} +1 -1
  149. package/dist/configuration-hub-E7S4JB2T.js +7 -0
  150. package/dist/configuration-hub-Q5JBYB52.cjs +7 -0
  151. package/dist/{configuration-hub-runtime-L6IOERSP.js → configuration-hub-runtime-CXME7TCX.js} +1 -1
  152. package/dist/{configuration-hub-runtime-I5Y67CXD.cjs → configuration-hub-runtime-QVLJKEZD.cjs} +2 -2
  153. package/dist/configuration-hub.d-CbSJDa7k.d.cts +1096 -0
  154. package/dist/configuration-hub.d-CbSJDa7k.d.ts +1096 -0
  155. package/dist/customer-portal-IBM3K2EZ.cjs +7 -0
  156. package/dist/customer-portal-XPYKMIIA.js +7 -0
  157. package/dist/{customer-portal.d-C7ZCbjiY.d.cts → customer-portal.d-CTTCBAZI.d.cts} +217 -61
  158. package/dist/{customer-portal.d-C7ZCbjiY.d.ts → customer-portal.d-CTTCBAZI.d.ts} +217 -61
  159. package/dist/design-DUFBH5ZB.js +7 -0
  160. package/dist/design-W3D3UPGB.cjs +7 -0
  161. package/dist/design-runtime-3RHYNHUV.cjs +5 -0
  162. package/dist/{design-runtime-QMJM4FAF.js → design-runtime-DLMA4EHQ.js} +1 -1
  163. package/dist/{design.d-BRre8iLg.d.cts → design.d-DzSDu8cy.d.cts} +41 -3
  164. package/dist/{design.d-BRre8iLg.d.ts → design.d-DzSDu8cy.d.ts} +41 -3
  165. package/dist/file-BGJVE7QG.cjs +7 -0
  166. package/dist/file-DRLPMLFW.js +7 -0
  167. package/dist/file-runtime-7AWKNQU6.cjs +5 -0
  168. package/dist/{file-runtime-BIRMXYRH.js → file-runtime-DKGFS44O.js} +1 -1
  169. package/dist/{file.d-DTlrbI40.d.cts → file.d-Rq_mbdOo.d.cts} +145 -5
  170. package/dist/{file.d-DTlrbI40.d.ts → file.d-Rq_mbdOo.d.ts} +145 -5
  171. package/dist/index.cjs +18 -18
  172. package/dist/index.d.cts +8 -8
  173. package/dist/index.d.ts +8 -8
  174. package/dist/index.js +6 -6
  175. package/dist/journey-4DIIPRU4.js +7 -0
  176. package/dist/journey-ATC3Y5AW.cjs +7 -0
  177. package/dist/{journey-runtime-SPBL3F32.cjs → journey-runtime-G2O5C3N2.cjs} +2 -2
  178. package/dist/{journey-runtime-YXIAOTMD.js → journey-runtime-RI2LJO5S.js} +1 -1
  179. package/dist/{journey.d-ClXO0xK8.d.cts → journey.d-BenIUWaO.d.cts} +9 -3
  180. package/dist/{journey.d-ClXO0xK8.d.ts → journey.d-BenIUWaO.d.ts} +9 -3
  181. package/dist/{js-yaml-UPZKYVRY.js → js-yaml-DLCVPJ7G.js} +17 -15
  182. package/dist/notes-6JESMRLW.js +7 -0
  183. package/dist/notes-SLEUSNP4.cjs +7 -0
  184. package/dist/{notes-runtime-CVNAVKPP.js → notes-runtime-I4SWR3PZ.js} +1 -1
  185. package/dist/notes-runtime-YWTRRNH5.cjs +5 -0
  186. package/dist/{notes.d-BcV_m5fe.d.cts → notes.d-rbcyHfiB.d.cts} +101 -3
  187. package/dist/{notes.d-BcV_m5fe.d.ts → notes.d-rbcyHfiB.d.ts} +101 -3
  188. package/dist/pricing-F7HQ6BWC.cjs +7 -0
  189. package/dist/pricing-YCD4EUGI.js +7 -0
  190. package/dist/{pricing.d-BHpMU4KU.d.cts → pricing.d-exMaGWm1.d.cts} +140 -280
  191. package/dist/{pricing.d-BHpMU4KU.d.ts → pricing.d-exMaGWm1.d.ts} +140 -280
  192. package/docs/app.md +34 -10
  193. package/docs/configuration-hub.md +660 -0
  194. package/docs/customer-portal.md +221 -159
  195. package/docs/design.md +81 -4
  196. package/docs/file.md +81 -0
  197. package/docs/journey.md +2 -0
  198. package/docs/notes.md +47 -1
  199. package/docs/pricing.md +269 -218
  200. package/package.json +1 -1
  201. package/dist/chunk-3APTSPY4.js +0 -14
  202. package/dist/chunk-EIIIKDOJ.cjs +0 -14
  203. package/dist/chunk-KIWRGUKM.js +0 -14
  204. package/dist/chunk-MB6NKETA.cjs +0 -14
  205. package/dist/chunk-OPXGJKZR.cjs +0 -14
  206. package/dist/chunk-VSZEOCIE.js +0 -14
  207. package/dist/configuration-hub-A3S6ND6R.cjs +0 -7
  208. package/dist/configuration-hub-PMAW44U5.js +0 -7
  209. package/dist/configuration-hub.d-Cqaq2F-W.d.cts +0 -478
  210. package/dist/configuration-hub.d-Cqaq2F-W.d.ts +0 -478
  211. package/dist/customer-portal-7HYSBH7H.cjs +0 -7
  212. package/dist/customer-portal-X4LJX6AU.js +0 -7
  213. package/dist/design-DROLIWS3.js +0 -7
  214. package/dist/design-XZKOZLTR.cjs +0 -7
  215. package/dist/design-runtime-OXEXKZVG.cjs +0 -5
  216. package/dist/file-P2FUUER2.js +0 -7
  217. package/dist/file-XTY74SIX.cjs +0 -7
  218. package/dist/file-runtime-24S3QPA7.cjs +0 -5
  219. package/dist/journey-KDR5EU3W.js +0 -7
  220. package/dist/journey-REBN4TGQ.cjs +0 -7
  221. package/dist/notes-K2IIFCX3.cjs +0 -7
  222. package/dist/notes-Q7JGS7O3.js +0 -7
  223. package/dist/notes-runtime-E3YYF74V.cjs +0 -5
  224. package/dist/pricing-FODHQFCB.cjs +0 -7
  225. package/dist/pricing-XRIDVZFC.js +0 -7
package/docs/design.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # Design Builder API v2
2
2
 
3
- - **Base URL:** `https://design-builder-api.{environment}.epilot.io`
3
+ - **Base URL:** `https://design-builder-api.sls.epilot.io`
4
4
  - **Full API Docs:** [https://docs.epilot.io/api/design](https://docs.epilot.io/api/design)
5
5
 
6
6
  ## Usage
@@ -70,6 +70,7 @@ const { data } = await designClient.getAllDesigns(...)
70
70
  - [`Theme`](#theme)
71
71
  - [`Application`](#application)
72
72
  - [`DesignParameters`](#designparameters)
73
+ - [`ParseThemeFromDesignResp`](#parsethemefromdesignresp)
73
74
 
74
75
  ### `getAllDesigns`
75
76
 
@@ -558,7 +559,56 @@ const { data } = await client.getThemeFromDesign({
558
559
  <summary>Response</summary>
559
560
 
560
561
  ```json
561
- {}
562
+ {
563
+ "theme": "NEW",
564
+ "design": {
565
+ "id": "string",
566
+ "last_modified_at": "string",
567
+ "style_name": "string",
568
+ "style": {
569
+ "logo": {
570
+ "main": {
571
+ "name": "string",
572
+ "display_name": "string",
573
+ "file_type": "LOGO",
574
+ "s3_object_key": "string",
575
+ "url": "string",
576
+ "file_id": "string"
577
+ }
578
+ },
579
+ "palette": {
580
+ "primary": "string",
581
+ "secondary": "string",
582
+ "error": "string",
583
+ "background": "string",
584
+ "paper": "string",
585
+ "navbar": "string",
586
+ "portal_login_background": "string"
587
+ },
588
+ "typography": {
589
+ "font": {
590
+ "font_id": "string",
591
+ "font_name": "string",
592
+ "font_family": "string",
593
+ "font_weight_regular": "string",
594
+ "font_weight_medium": "string",
595
+ "font_weight_bold": "string",
596
+ "urls": [
597
+ {
598
+ "type": "WOFF2",
599
+ "url": "string"
600
+ }
601
+ ]
602
+ },
603
+ "primary": "string",
604
+ "secondary": "string"
605
+ }
606
+ },
607
+ "custom_theme": "string",
608
+ "use_custom_theme": true,
609
+ "journey_design_tokens": {}
610
+ }
611
+ }
562
612
  ```
563
613
 
564
614
  </details>
@@ -584,7 +634,8 @@ const { data } = await client.uploadFile()
584
634
  "display_name": "string",
585
635
  "file_type": "LOGO",
586
636
  "s3_object_key": "string",
587
- "url": "string"
637
+ "url": "string",
638
+ "file_id": "string"
588
639
  }
589
640
  ```
590
641
 
@@ -614,7 +665,8 @@ const { data } = await client.getFiles({
614
665
  "display_name": "string",
615
666
  "file_type": "LOGO",
616
667
  "s3_object_key": "string",
617
- "url": "string"
668
+ "url": "string",
669
+ "file_id": "string"
618
670
  }
619
671
  ]
620
672
  ```
@@ -802,6 +854,7 @@ type UploadFileRes = {
802
854
  file_type?: "LOGO" | "FONT" | "IMAGE"
803
855
  s3_object_key: string
804
856
  url: string
857
+ file_id?: string
805
858
  }
806
859
  ```
807
860
 
@@ -814,6 +867,7 @@ type GetFilesRes = Array<{
814
867
  file_type?: "LOGO" | "FONT" | "IMAGE"
815
868
  s3_object_key: string
816
869
  url: string
870
+ file_id?: string
817
871
  }>
818
872
  ```
819
873
 
@@ -1517,6 +1571,7 @@ type LogoData = {
1517
1571
  file_type?: "LOGO" | "FONT" | "IMAGE"
1518
1572
  s3_object_key: string
1519
1573
  url: string
1574
+ file_id?: string
1520
1575
  }
1521
1576
  }
1522
1577
  ```
@@ -1617,6 +1672,7 @@ type FileData = {
1617
1672
  file_type?: "LOGO" | "FONT" | "IMAGE"
1618
1673
  s3_object_key: string
1619
1674
  url: string
1675
+ file_id?: string
1620
1676
  }
1621
1677
  ```
1622
1678
 
@@ -1653,3 +1709,24 @@ type DesignParameters = {
1653
1709
  application?: string
1654
1710
  }
1655
1711
  ```
1712
+
1713
+ ### `ParseThemeFromDesignResp`
1714
+
1715
+ ```ts
1716
+ type ParseThemeFromDesignResp = {
1717
+ theme?: "NEW" | "OLD"
1718
+ design?: {
1719
+ id?: string
1720
+ last_modified_at?: string
1721
+ style_name?: string
1722
+ style?: {
1723
+ logo?: { ... }
1724
+ palette?: { ... }
1725
+ typography?: { ... }
1726
+ }
1727
+ custom_theme?: string
1728
+ use_custom_theme?: boolean
1729
+ journey_design_tokens?: object
1730
+ }
1731
+ }
1732
+ ```
package/docs/file.md CHANGED
@@ -34,6 +34,7 @@ const { data } = await fileClient.uploadFileV2(...)
34
34
  - [`downloadFiles`](#downloadfiles)
35
35
  - [`createZipJob`](#createzipjob)
36
36
  - [`getZipJob`](#getzipjob)
37
+ - [`generateFileSummary`](#generatefilesummary)
37
38
  - [`verifyCustomDownloadUrl`](#verifycustomdownloadurl)
38
39
  - [`uploadFilePublic`](#uploadfilepublic)
39
40
 
@@ -68,6 +69,8 @@ const { data } = await fileClient.uploadFileV2(...)
68
69
  - [`FileEntityId`](#fileentityid)
69
70
  - [`FileAttributes`](#fileattributes)
70
71
  - [`FileType`](#filetype)
72
+ - [`FileSummaryStatus`](#filesummarystatus)
73
+ - [`FileSummaryGenerationStatus`](#filesummarygenerationstatus)
71
74
  - [`CustomDownloadUrl`](#customdownloadurl)
72
75
  - [`FileEntity`](#fileentity)
73
76
  - [`CommonSaveFilePayload`](#commonsavefilepayload)
@@ -173,6 +176,9 @@ const { data } = await client.saveFileV2(
173
176
  access_control: 'private',
174
177
  public_url: 'https://epilot-prod-user-content.s3.eu-central-1.amazonaws.com/123/4d689aeb-1497-4410-a9fe-b36ca9ac4389/document.pdf',
175
178
  custom_download_url: 'https://some-api-url.com/download?file_id=123',
179
+ preview_summary: 'string',
180
+ short_summary: 'string',
181
+ summary_status: 'processing',
176
182
  s3ref: {}
177
183
  },
178
184
  )
@@ -198,6 +204,9 @@ const { data } = await client.saveFileV2(
198
204
  "access_control": "private",
199
205
  "public_url": "https://epilot-prod-user-content.s3.eu-central-1.amazonaws.com/123/4d689aeb-1497-4410-a9fe-b36ca9ac4389/document.pdf",
200
206
  "custom_download_url": "https://some-api-url.com/download?file_id=123",
207
+ "preview_summary": "string",
208
+ "short_summary": "string",
209
+ "summary_status": "processing",
201
210
  "source_url": "https://productengineer-content.s3.eu-west-1.amazonaws.com/product-engineer-checklist.pdf",
202
211
  "s3ref": {},
203
212
  "versions": [
@@ -265,6 +274,9 @@ const { data } = await client.getFile({
265
274
  "access_control": "private",
266
275
  "public_url": "https://epilot-prod-user-content.s3.eu-central-1.amazonaws.com/123/4d689aeb-1497-4410-a9fe-b36ca9ac4389/document.pdf",
267
276
  "custom_download_url": "https://some-api-url.com/download?file_id=123",
277
+ "preview_summary": "string",
278
+ "short_summary": "string",
279
+ "summary_status": "processing",
268
280
  "source_url": "https://productengineer-content.s3.eu-west-1.amazonaws.com/product-engineer-checklist.pdf",
269
281
  "s3ref": {},
270
282
  "versions": [
@@ -332,6 +344,9 @@ const { data } = await client.deleteFile({
332
344
  "access_control": "private",
333
345
  "public_url": "https://epilot-prod-user-content.s3.eu-central-1.amazonaws.com/123/4d689aeb-1497-4410-a9fe-b36ca9ac4389/document.pdf",
334
346
  "custom_download_url": "https://some-api-url.com/download?file_id=123",
347
+ "preview_summary": "string",
348
+ "short_summary": "string",
349
+ "summary_status": "processing",
335
350
  "source_url": "https://productengineer-content.s3.eu-west-1.amazonaws.com/product-engineer-checklist.pdf",
336
351
  "s3ref": {},
337
352
  "versions": [
@@ -509,6 +524,20 @@ const { data } = await client.getZipJob({
509
524
 
510
525
  ---
511
526
 
527
+ ### `generateFileSummary`
528
+
529
+ Request AI generation of preview and short summaries for a file entity.
530
+
531
+ `POST /v1/files/{id}/summary:generate`
532
+
533
+ ```ts
534
+ const { data } = await client.generateFileSummary({
535
+ id: '123e4567-e89b-12d3-a456-426614174000',
536
+ })
537
+ ```
538
+
539
+ ---
540
+
512
541
  ### `previewFile`
513
542
 
514
543
  Generate a thumbnail preview for a file entity.
@@ -925,6 +954,9 @@ const { data } = await client.getFilesInCollection({
925
954
  "access_control": "private",
926
955
  "public_url": "https://epilot-prod-user-content.s3.eu-central-1.amazonaws.com/123/4d689aeb-1497-4410-a9fe-b36ca9ac4389/document.pdf",
927
956
  "custom_download_url": "https://some-api-url.com/download?file_id=123",
957
+ "preview_summary": "string",
958
+ "short_summary": "string",
959
+ "summary_status": "processing",
928
960
  "source_url": "https://productengineer-content.s3.eu-west-1.amazonaws.com/product-engineer-checklist.pdf",
929
961
  "s3ref": {},
930
962
  "versions": [
@@ -1039,6 +1071,9 @@ type FileAttributes = {
1039
1071
  access_control?: "private" | "public-read"
1040
1072
  public_url?: string // url
1041
1073
  custom_download_url?: string // uri
1074
+ preview_summary?: string
1075
+ short_summary?: string
1076
+ summary_status?: "processing" | "completed" | "failed" | "unsupported"
1042
1077
  }
1043
1078
  ```
1044
1079
 
@@ -1048,6 +1083,22 @@ type FileAttributes = {
1048
1083
  type FileType = "document" | "document_template" | "text" | "image" | "video" | "audio" | "spreadsheet" | "presentation" | "font" | "archive" | "application" | "unknown"
1049
1084
  ```
1050
1085
 
1086
+ ### `FileSummaryStatus`
1087
+
1088
+ Current AI summary generation state for the file.
1089
+
1090
+ ```ts
1091
+ type FileSummaryStatus = "processing" | "completed" | "failed" | "unsupported"
1092
+ ```
1093
+
1094
+ ### `FileSummaryGenerationStatus`
1095
+
1096
+ ```ts
1097
+ type FileSummaryGenerationStatus = {
1098
+ status: "processing" | "completed" | "failed" | "unsupported"
1099
+ }
1100
+ ```
1101
+
1051
1102
  ### `CustomDownloadUrl`
1052
1103
 
1053
1104
  Custom external download url used for the file
@@ -1075,6 +1126,9 @@ type FileEntity = {
1075
1126
  access_control: "private" | "public-read"
1076
1127
  public_url?: string // url
1077
1128
  custom_download_url?: string // uri
1129
+ preview_summary?: string
1130
+ short_summary?: string
1131
+ summary_status?: "processing" | "completed" | "failed" | "unsupported"
1078
1132
  source_url?: string
1079
1133
  s3ref?: object
1080
1134
  versions: Array<{
@@ -1135,6 +1189,9 @@ type SaveS3FilePayload = {
1135
1189
  access_control?: "private" | "public-read"
1136
1190
  public_url?: string // url
1137
1191
  custom_download_url?: string // uri
1192
+ preview_summary?: string
1193
+ short_summary?: string
1194
+ summary_status?: "processing" | "completed" | "failed" | "unsupported"
1138
1195
  s3ref?: unknown
1139
1196
  }
1140
1197
  ```
@@ -1161,6 +1218,9 @@ type SaveFileFromSourceURLPayload = {
1161
1218
  access_control?: "private" | "public-read"
1162
1219
  public_url?: string // url
1163
1220
  custom_download_url?: string // uri
1221
+ preview_summary?: string
1222
+ short_summary?: string
1223
+ summary_status?: "processing" | "completed" | "failed" | "unsupported"
1164
1224
  source_url?: string // uri
1165
1225
  }
1166
1226
  ```
@@ -1187,6 +1247,9 @@ type SaveCustomFilePayload = {
1187
1247
  access_control?: "private" | "public-read"
1188
1248
  public_url?: string // url
1189
1249
  custom_download_url?: string // uri
1250
+ preview_summary?: string
1251
+ short_summary?: string
1252
+ summary_status?: "processing" | "completed" | "failed" | "unsupported"
1190
1253
  }
1191
1254
  ```
1192
1255
 
@@ -1212,6 +1275,9 @@ type SaveFilePayload = {
1212
1275
  access_control?: "private" | "public-read"
1213
1276
  public_url?: string // url
1214
1277
  custom_download_url?: string // uri
1278
+ preview_summary?: string
1279
+ short_summary?: string
1280
+ summary_status?: "processing" | "completed" | "failed" | "unsupported"
1215
1281
  s3ref?: unknown
1216
1282
  } | {
1217
1283
  _id?: object
@@ -1232,6 +1298,9 @@ type SaveFilePayload = {
1232
1298
  access_control?: "private" | "public-read"
1233
1299
  public_url?: string // url
1234
1300
  custom_download_url?: string // uri
1301
+ preview_summary?: string
1302
+ short_summary?: string
1303
+ summary_status?: "processing" | "completed" | "failed" | "unsupported"
1235
1304
  source_url?: string // uri
1236
1305
  } | {
1237
1306
  _id?: object
@@ -1252,6 +1321,9 @@ type SaveFilePayload = {
1252
1321
  access_control?: "private" | "public-read"
1253
1322
  public_url?: string // url
1254
1323
  custom_download_url?: string // uri
1324
+ preview_summary?: string
1325
+ short_summary?: string
1326
+ summary_status?: "processing" | "completed" | "failed" | "unsupported"
1255
1327
  }
1256
1328
  ```
1257
1329
 
@@ -1277,6 +1349,9 @@ type SaveFilePayloadV2 = {
1277
1349
  access_control?: "private" | "public-read"
1278
1350
  public_url?: string // url
1279
1351
  custom_download_url?: string // uri
1352
+ preview_summary?: string
1353
+ short_summary?: string
1354
+ summary_status?: "processing" | "completed" | "failed" | "unsupported"
1280
1355
  s3ref?: unknown
1281
1356
  } | {
1282
1357
  _id?: object
@@ -1297,6 +1372,9 @@ type SaveFilePayloadV2 = {
1297
1372
  access_control?: "private" | "public-read"
1298
1373
  public_url?: string // url
1299
1374
  custom_download_url?: string // uri
1375
+ preview_summary?: string
1376
+ short_summary?: string
1377
+ summary_status?: "processing" | "completed" | "failed" | "unsupported"
1300
1378
  source_url?: string // uri
1301
1379
  } | {
1302
1380
  _id?: object
@@ -1317,6 +1395,9 @@ type SaveFilePayloadV2 = {
1317
1395
  access_control?: "private" | "public-read"
1318
1396
  public_url?: string // url
1319
1397
  custom_download_url?: string // uri
1398
+ preview_summary?: string
1399
+ short_summary?: string
1400
+ summary_status?: "processing" | "completed" | "failed" | "unsupported"
1320
1401
  }
1321
1402
  ```
1322
1403
 
package/docs/journey.md CHANGED
@@ -100,6 +100,7 @@ Get journey by id. Private journeys requires valid private token to be passed
100
100
  ```ts
101
101
  const { data } = await client.getJourney({
102
102
  id: '123e4567-e89b-12d3-a456-426614174000',
103
+ version: 1,
103
104
  source: 'example',
104
105
  orgId: 'example',
105
106
  })
@@ -1432,6 +1433,7 @@ Get journey by id
1432
1433
  ```ts
1433
1434
  const { data } = await client.getJourneyV2({
1434
1435
  id: '123e4567-e89b-12d3-a456-426614174000',
1436
+ version: 1,
1435
1437
  })
1436
1438
  ```
1437
1439
 
package/docs/notes.md CHANGED
@@ -36,6 +36,10 @@ const { data } = await notesClient.createNote(...)
36
36
  **Pinning**
37
37
  - [`pinNote`](#pinnote)
38
38
 
39
+ **Archive**
40
+ - [`archiveNote`](#archivenote)
41
+ - [`unarchiveNote`](#unarchivenote)
42
+
39
43
  **Reactions**
40
44
  - [`addNoteReaction`](#addnotereaction)
41
45
  - [`removeNoteReaction`](#removenotereaction)
@@ -53,6 +57,7 @@ const { data } = await notesClient.createNote(...)
53
57
  - [`NoteEntityParent`](#noteentityparent)
54
58
  - [`NotePutRequestBody`](#noteputrequestbody)
55
59
  - [`NoteSearchByContextRequestBody`](#notesearchbycontextrequestbody)
60
+ - [`NotesListFilter`](#noteslistfilter)
56
61
  - [`NotesSearchRequestResponse`](#notessearchrequestresponse)
57
62
  - [`NoteContexts`](#notecontexts)
58
63
  - [`WorkflowExecution`](#workflowexecution)
@@ -191,7 +196,8 @@ const { data } = await client.updateNote(
191
196
  }
192
197
  ],
193
198
  read_by: ['string'],
194
- reactions: {}
199
+ reactions: {},
200
+ _archived_at: '1970-01-01T00:00:00.000Z'
195
201
  },
196
202
  )
197
203
  ```
@@ -229,6 +235,7 @@ const { data } = await client.searchNotesByContext(
229
235
  }
230
236
  ],
231
237
  include_related_schemas: ['string'],
238
+ filter: 'active',
232
239
  from: 0,
233
240
  size: 10
234
241
  },
@@ -251,6 +258,34 @@ const { data } = await client.pinNote({
251
258
 
252
259
  ---
253
260
 
261
+ ### `archiveNote`
262
+
263
+ Archives a root Note entry by setting its `_archived_at` timestamp to the current server time. The same timestamp is cascaded to every comment under the note so the entire thread is hidden from defaul
264
+
265
+ `POST /v1/note/{id}/archive`
266
+
267
+ ```ts
268
+ const { data } = await client.archiveNote({
269
+ id: '123e4567-e89b-12d3-a456-426614174000',
270
+ })
271
+ ```
272
+
273
+ ---
274
+
275
+ ### `unarchiveNote`
276
+
277
+ Unarchives a root Note entry by clearing its `_archived_at` value. The clear cascades to every comment under the note so the entire thread returns to the active view. Returns 400 if the supplied id is
278
+
279
+ `POST /v1/note/{id}/unarchive`
280
+
281
+ ```ts
282
+ const { data } = await client.unarchiveNote({
283
+ id: '123e4567-e89b-12d3-a456-426614174000',
284
+ })
285
+ ```
286
+
287
+ ---
288
+
254
289
  ### `getNoteContexts`
255
290
 
256
291
  Gets all the Entity and non-Entity records the Note is contextually attached to
@@ -491,6 +526,7 @@ type NotePatchRequestBody = {
491
526
  }>
492
527
  read_by?: string[]
493
528
  reactions?: Record<string, string[]>
529
+ _archived_at?: string // date-time
494
530
  }
495
531
  ```
496
532
 
@@ -577,6 +613,7 @@ type NotePutRequestBody = {
577
613
  }>
578
614
  read_by?: string[]
579
615
  reactions?: Record<string, string[]>
616
+ _archived_at?: string // date-time
580
617
  }
581
618
  ```
582
619
 
@@ -589,11 +626,20 @@ type NoteSearchByContextRequestBody = {
589
626
  id: string
590
627
  }>
591
628
  include_related_schemas?: string[]
629
+ filter?: "all" | "active" | "archived"
592
630
  from?: number
593
631
  size?: number
594
632
  }
595
633
  ```
596
634
 
635
+ ### `NotesListFilter`
636
+
637
+ Archive-state filter. 'active' (default) returns non-archived notes only, 'archived' returns only archived notes, 'all' returns both.
638
+
639
+ ```ts
640
+ type NotesListFilter = "all" | "active" | "archived"
641
+ ```
642
+
597
643
  ### `NotesSearchRequestResponse`
598
644
 
599
645
  ```ts