@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.
- package/definitions/app.json +101 -8
- package/definitions/configuration-hub-runtime.json +1 -1
- package/definitions/configuration-hub.json +623 -0
- package/definitions/customer-portal.json +72 -58
- package/definitions/design-runtime.json +1 -1
- package/definitions/design.json +52 -12
- package/definitions/file-runtime.json +1 -1
- package/definitions/file.json +88 -4
- package/definitions/journey-runtime.json +1 -1
- package/definitions/journey.json +21 -1
- package/definitions/notes-runtime.json +1 -1
- package/definitions/notes.json +123 -1
- package/definitions/pricing.json +149 -404
- 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.d.cts +2 -2
- package/dist/apis/app.d.ts +2 -2
- 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 +8 -8
- package/dist/apis/configuration-hub.d.cts +2 -2
- package/dist/apis/configuration-hub.d.ts +2 -2
- package/dist/apis/configuration-hub.js +2 -2
- 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.d.cts +2 -2
- package/dist/apis/customer-portal.d.ts +2 -2
- 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 +8 -8
- package/dist/apis/design.d.cts +2 -2
- package/dist/apis/design.d.ts +2 -2
- package/dist/apis/design.js +2 -2
- package/dist/apis/document.cjs +6 -6
- package/dist/apis/document.js +1 -1
- package/dist/apis/email-settings.cjs +6 -6
- package/dist/apis/email-settings.js +1 -1
- package/dist/apis/email-template.cjs +6 -6
- package/dist/apis/email-template.js +1 -1
- package/dist/apis/entity-mapping.cjs +6 -6
- package/dist/apis/entity-mapping.js +1 -1
- package/dist/apis/entity.cjs +6 -6
- package/dist/apis/entity.js +1 -1
- package/dist/apis/environments.cjs +6 -6
- package/dist/apis/environments.js +1 -1
- package/dist/apis/event-catalog.cjs +6 -6
- package/dist/apis/event-catalog.js +1 -1
- package/dist/apis/file.cjs +8 -8
- package/dist/apis/file.d.cts +2 -2
- package/dist/apis/file.d.ts +2 -2
- package/dist/apis/file.js +2 -2
- package/dist/apis/iban.cjs +6 -6
- package/dist/apis/iban.js +1 -1
- package/dist/apis/integration-toolkit.cjs +6 -6
- package/dist/apis/integration-toolkit.js +1 -1
- package/dist/apis/journey.cjs +8 -8
- package/dist/apis/journey.d.cts +2 -2
- package/dist/apis/journey.d.ts +2 -2
- package/dist/apis/journey.js +2 -2
- 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 +8 -8
- package/dist/apis/notes.d.cts +2 -2
- package/dist/apis/notes.d.ts +2 -2
- package/dist/apis/notes.js +2 -2
- 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.d.cts +2 -2
- package/dist/apis/pricing.d.ts +2 -2
- 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/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/{app-SSF545U7.cjs → app-74LECFMK.cjs} +1 -1
- package/dist/{app-34OBBTA4.js → app-GNUHCGPO.js} +1 -1
- package/dist/{app.d--5n0FQQ4.d.cts → app.d-BOR23dso.d.cts} +104 -4
- package/dist/{app.d--5n0FQQ4.d.ts → app.d-BOR23dso.d.ts} +104 -4
- package/dist/bin/cli.js +1 -1
- package/dist/{chunk-SCMAZ73K.js → chunk-2FJMQLXE.js} +28 -19
- package/dist/chunk-4M5V6BIT.cjs +14 -0
- package/dist/chunk-JOUTFBLN.js +14 -0
- package/dist/chunk-LAWKCWVU.cjs +14 -0
- package/dist/{chunk-ZSONBZIF.cjs → chunk-MOLFG5L4.cjs} +1 -1
- package/dist/chunk-P4NA7NWG.js +14 -0
- package/dist/{chunk-R7XDTILZ.cjs → chunk-QNMDISUR.cjs} +28 -19
- package/dist/chunk-RDVFQOCQ.js +14 -0
- package/dist/chunk-WHXYES2D.cjs +14 -0
- package/dist/{chunk-RW5JOHG7.js → chunk-WIQXF7DD.js} +1 -1
- package/dist/{chunk-ONOGGR6Q.js → chunk-WW6DVKJR.js} +1 -1
- package/dist/{chunk-M2SSGV7K.cjs → chunk-ZOQUGWQL.cjs} +1 -1
- package/dist/configuration-hub-E7S4JB2T.js +7 -0
- package/dist/configuration-hub-Q5JBYB52.cjs +7 -0
- package/dist/{configuration-hub-runtime-L6IOERSP.js → configuration-hub-runtime-CXME7TCX.js} +1 -1
- package/dist/{configuration-hub-runtime-I5Y67CXD.cjs → configuration-hub-runtime-QVLJKEZD.cjs} +2 -2
- package/dist/configuration-hub.d-CbSJDa7k.d.cts +1096 -0
- package/dist/configuration-hub.d-CbSJDa7k.d.ts +1096 -0
- package/dist/customer-portal-IBM3K2EZ.cjs +7 -0
- package/dist/customer-portal-XPYKMIIA.js +7 -0
- package/dist/{customer-portal.d-C7ZCbjiY.d.cts → customer-portal.d-CTTCBAZI.d.cts} +217 -61
- package/dist/{customer-portal.d-C7ZCbjiY.d.ts → customer-portal.d-CTTCBAZI.d.ts} +217 -61
- package/dist/design-DUFBH5ZB.js +7 -0
- package/dist/design-W3D3UPGB.cjs +7 -0
- package/dist/design-runtime-3RHYNHUV.cjs +5 -0
- package/dist/{design-runtime-QMJM4FAF.js → design-runtime-DLMA4EHQ.js} +1 -1
- package/dist/{design.d-BRre8iLg.d.cts → design.d-DzSDu8cy.d.cts} +41 -3
- package/dist/{design.d-BRre8iLg.d.ts → design.d-DzSDu8cy.d.ts} +41 -3
- package/dist/file-BGJVE7QG.cjs +7 -0
- package/dist/file-DRLPMLFW.js +7 -0
- package/dist/file-runtime-7AWKNQU6.cjs +5 -0
- package/dist/{file-runtime-BIRMXYRH.js → file-runtime-DKGFS44O.js} +1 -1
- package/dist/{file.d-DTlrbI40.d.cts → file.d-Rq_mbdOo.d.cts} +145 -5
- package/dist/{file.d-DTlrbI40.d.ts → file.d-Rq_mbdOo.d.ts} +145 -5
- package/dist/index.cjs +18 -18
- package/dist/index.d.cts +8 -8
- package/dist/index.d.ts +8 -8
- package/dist/index.js +6 -6
- package/dist/journey-4DIIPRU4.js +7 -0
- package/dist/journey-ATC3Y5AW.cjs +7 -0
- package/dist/{journey-runtime-SPBL3F32.cjs → journey-runtime-G2O5C3N2.cjs} +2 -2
- package/dist/{journey-runtime-YXIAOTMD.js → journey-runtime-RI2LJO5S.js} +1 -1
- package/dist/{journey.d-ClXO0xK8.d.cts → journey.d-BenIUWaO.d.cts} +9 -3
- package/dist/{journey.d-ClXO0xK8.d.ts → journey.d-BenIUWaO.d.ts} +9 -3
- package/dist/{js-yaml-UPZKYVRY.js → js-yaml-DLCVPJ7G.js} +17 -15
- package/dist/notes-6JESMRLW.js +7 -0
- package/dist/notes-SLEUSNP4.cjs +7 -0
- package/dist/{notes-runtime-CVNAVKPP.js → notes-runtime-I4SWR3PZ.js} +1 -1
- package/dist/notes-runtime-YWTRRNH5.cjs +5 -0
- package/dist/{notes.d-BcV_m5fe.d.cts → notes.d-rbcyHfiB.d.cts} +101 -3
- package/dist/{notes.d-BcV_m5fe.d.ts → notes.d-rbcyHfiB.d.ts} +101 -3
- package/dist/pricing-F7HQ6BWC.cjs +7 -0
- package/dist/pricing-YCD4EUGI.js +7 -0
- package/dist/{pricing.d-BHpMU4KU.d.cts → pricing.d-exMaGWm1.d.cts} +140 -280
- package/dist/{pricing.d-BHpMU4KU.d.ts → pricing.d-exMaGWm1.d.ts} +140 -280
- package/docs/app.md +34 -10
- package/docs/configuration-hub.md +660 -0
- package/docs/customer-portal.md +221 -159
- package/docs/design.md +81 -4
- package/docs/file.md +81 -0
- package/docs/journey.md +2 -0
- package/docs/notes.md +47 -1
- package/docs/pricing.md +269 -218
- package/package.json +1 -1
- package/dist/chunk-3APTSPY4.js +0 -14
- package/dist/chunk-EIIIKDOJ.cjs +0 -14
- package/dist/chunk-KIWRGUKM.js +0 -14
- package/dist/chunk-MB6NKETA.cjs +0 -14
- package/dist/chunk-OPXGJKZR.cjs +0 -14
- package/dist/chunk-VSZEOCIE.js +0 -14
- package/dist/configuration-hub-A3S6ND6R.cjs +0 -7
- package/dist/configuration-hub-PMAW44U5.js +0 -7
- package/dist/configuration-hub.d-Cqaq2F-W.d.cts +0 -478
- package/dist/configuration-hub.d-Cqaq2F-W.d.ts +0 -478
- package/dist/customer-portal-7HYSBH7H.cjs +0 -7
- package/dist/customer-portal-X4LJX6AU.js +0 -7
- package/dist/design-DROLIWS3.js +0 -7
- package/dist/design-XZKOZLTR.cjs +0 -7
- package/dist/design-runtime-OXEXKZVG.cjs +0 -5
- package/dist/file-P2FUUER2.js +0 -7
- package/dist/file-XTY74SIX.cjs +0 -7
- package/dist/file-runtime-24S3QPA7.cjs +0 -5
- package/dist/journey-KDR5EU3W.js +0 -7
- package/dist/journey-REBN4TGQ.cjs +0 -7
- package/dist/notes-K2IIFCX3.cjs +0 -7
- package/dist/notes-Q7JGS7O3.js +0 -7
- package/dist/notes-runtime-E3YYF74V.cjs +0 -5
- package/dist/pricing-FODHQFCB.cjs +0 -7
- 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.
|
|
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
|