@epilot/sdk 2.7.0 → 2.7.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.
- 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-runtime.json +1 -1
- package/definitions/customer-portal.json +505 -6
- package/definitions/design-runtime.json +1 -1
- package/definitions/design.json +52 -12
- package/definitions/email-settings-runtime.json +1 -1
- package/definitions/email-settings.json +86 -4
- package/definitions/file-runtime.json +1 -1
- package/definitions/file.json +262 -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 +8 -8
- package/dist/apis/customer-portal.d.cts +2 -2
- package/dist/apis/customer-portal.d.ts +2 -2
- package/dist/apis/customer-portal.js +2 -2
- 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 +8 -8
- package/dist/apis/email-settings.d.cts +2 -2
- package/dist/apis/email-settings.d.ts +2 -2
- package/dist/apis/email-settings.js +2 -2
- 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/chunk-3APTSPY4.js +14 -0
- package/dist/{chunk-JB7LITSP.js → chunk-IVLR4CQF.js} +31 -22
- package/dist/chunk-JOUTFBLN.js +14 -0
- package/dist/chunk-KCPVNRDL.js +14 -0
- package/dist/chunk-KJPOUJBU.cjs +14 -0
- package/dist/chunk-LAWKCWVU.cjs +14 -0
- package/dist/{chunk-ZSONBZIF.cjs → chunk-MOLFG5L4.cjs} +1 -1
- package/dist/chunk-OPXGJKZR.cjs +14 -0
- package/dist/chunk-P4NA7NWG.js +14 -0
- package/dist/chunk-PTEJYAYJ.js +14 -0
- package/dist/{chunk-35CN2YFK.cjs → chunk-SOPJ42HW.cjs} +31 -22
- 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-YI5YGTAH.cjs +14 -0
- 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-runtime-OEXTSMSE.cjs → customer-portal-runtime-IYHJ3RME.cjs} +2 -2
- package/dist/{customer-portal-runtime-N4NWQ67M.js → customer-portal-runtime-ZYU3WIXY.js} +1 -1
- package/dist/{customer-portal.d-ChSEioI5.d.cts → customer-portal.d-CTTCBAZI.d.cts} +764 -14
- package/dist/{customer-portal.d-ChSEioI5.d.ts → customer-portal.d-CTTCBAZI.d.ts} +764 -14
- 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/email-settings-YJ4X5VFU.cjs +7 -0
- package/dist/email-settings-YUK3DXFJ.js +7 -0
- package/dist/{email-settings-runtime-EGIJ2AVQ.js → email-settings-runtime-BXRZV4M5.js} +1 -1
- package/dist/{email-settings-runtime-WGVLI7N6.cjs → email-settings-runtime-FWJQBQBK.cjs} +2 -2
- package/dist/{email-settings.d-B7Q_xT25.d.cts → email-settings.d-UJ0C3jPI.d.cts} +108 -9
- package/dist/{email-settings.d-B7Q_xT25.d.ts → email-settings.d-UJ0C3jPI.d.ts} +108 -9
- package/dist/file-P2FUUER2.js +7 -0
- package/dist/file-XTY74SIX.cjs +7 -0
- package/dist/file-runtime-24S3QPA7.cjs +5 -0
- package/dist/{file-runtime-B6AAGZQF.js → file-runtime-BIRMXYRH.js} +1 -1
- package/dist/{file.d-DcTJxjp7.d.cts → file.d-DTlrbI40.d.cts} +2336 -19
- package/dist/{file.d-DcTJxjp7.d.ts → file.d-DTlrbI40.d.ts} +2336 -19
- package/dist/index.cjs +22 -22
- package/dist/index.d.cts +9 -9
- package/dist/index.d.ts +9 -9
- package/dist/index.js +8 -8
- 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/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 +602 -174
- package/docs/design.md +81 -4
- package/docs/email-settings.md +67 -3
- package/docs/file.md +101 -2
- 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-4W22EIRF.cjs +0 -14
- package/dist/chunk-5OBMZHRL.cjs +0 -14
- package/dist/chunk-E2WMGOM5.js +0 -14
- package/dist/chunk-EFWPEVXI.js +0 -14
- package/dist/chunk-EIIIKDOJ.cjs +0 -14
- package/dist/chunk-KEI3GHDY.cjs +0 -14
- package/dist/chunk-KIWRGUKM.js +0 -14
- package/dist/chunk-MB6NKETA.cjs +0 -14
- package/dist/chunk-VSZEOCIE.js +0 -14
- package/dist/chunk-Z6HGUGXK.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-5I7ZGQDU.cjs +0 -7
- package/dist/customer-portal-YL2YMPZL.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/email-settings-CKFJU4WZ.js +0 -7
- package/dist/email-settings-NQJJKS2P.cjs +0 -7
- package/dist/file-UOWBTDIU.cjs +0 -7
- package/dist/file-XSN3NAVZ.js +0 -7
- package/dist/file-runtime-SFZIKODF.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/email-settings.md
CHANGED
|
@@ -71,9 +71,11 @@ const { data } = await emailSettingsClient.provisionEpilotEmailAddress(...)
|
|
|
71
71
|
- [`deleteDomain`](#deletedomain)
|
|
72
72
|
- [`getDomains`](#getdomains)
|
|
73
73
|
- [`verifyNameServers`](#verifynameservers)
|
|
74
|
+
- [`verifyDnsRecords`](#verifydnsrecords)
|
|
74
75
|
- [`verifyDomain`](#verifydomain)
|
|
75
76
|
|
|
76
77
|
**Schemas**
|
|
78
|
+
- [`ConnectOutlookRequest`](#connectoutlookrequest)
|
|
77
79
|
- [`MailboxSyncStatus`](#mailboxsyncstatus)
|
|
78
80
|
- [`MailboxSyncStatuses`](#mailboxsyncstatuses)
|
|
79
81
|
- [`MailboxSyncFolderStatuses`](#mailboxsyncfolderstatuses)
|
|
@@ -562,12 +564,18 @@ const { data } = await client.listInboxBuckets()
|
|
|
562
564
|
|
|
563
565
|
### `connectOutlook`
|
|
564
566
|
|
|
565
|
-
Returns Microsoft authorization URL for Outlook OAuth.
|
|
567
|
+
Returns the Microsoft authorization URL for Outlook OAuth.
|
|
566
568
|
|
|
567
|
-
`
|
|
569
|
+
`POST /v2/outlook/connect`
|
|
568
570
|
|
|
569
571
|
```ts
|
|
570
|
-
const { data } = await client.connectOutlook(
|
|
572
|
+
const { data } = await client.connectOutlook(
|
|
573
|
+
null,
|
|
574
|
+
{
|
|
575
|
+
mail: true,
|
|
576
|
+
calendar: true
|
|
577
|
+
},
|
|
578
|
+
)
|
|
571
579
|
```
|
|
572
580
|
|
|
573
581
|
<details>
|
|
@@ -603,6 +611,7 @@ const { data } = await client.getOutlookConnectionStatus()
|
|
|
603
611
|
{
|
|
604
612
|
"status": "connected",
|
|
605
613
|
"action": "connect",
|
|
614
|
+
"action_reason": "expired",
|
|
606
615
|
"connected_by_display_name": "string",
|
|
607
616
|
"connected_by_email": "user@example.com",
|
|
608
617
|
"connected_by_user_id": "string",
|
|
@@ -1240,6 +1249,46 @@ const { data } = await client.verifyNameServers(
|
|
|
1240
1249
|
|
|
1241
1250
|
---
|
|
1242
1251
|
|
|
1252
|
+
### `verifyDnsRecords`
|
|
1253
|
+
|
|
1254
|
+
Verifies that the domain's DNS records (MX, TXT, CNAME) are correctly configured
|
|
1255
|
+
in the customer's DNS provider.
|
|
1256
|
+
|
|
1257
|
+
`POST /v1/email-settings/domain/dns-records:verify`
|
|
1258
|
+
|
|
1259
|
+
```ts
|
|
1260
|
+
const { data } = await client.verifyDnsRecords(
|
|
1261
|
+
null,
|
|
1262
|
+
{
|
|
1263
|
+
domain: 'mail.yourcompany.com'
|
|
1264
|
+
},
|
|
1265
|
+
)
|
|
1266
|
+
```
|
|
1267
|
+
|
|
1268
|
+
<details>
|
|
1269
|
+
<summary>Response</summary>
|
|
1270
|
+
|
|
1271
|
+
```json
|
|
1272
|
+
[
|
|
1273
|
+
{
|
|
1274
|
+
"id": "a10bd0ff-4391-4cfc-88ee-b19d718a9bf7",
|
|
1275
|
+
"name": "Default Signature",
|
|
1276
|
+
"org_id": "org-123",
|
|
1277
|
+
"type": "signature",
|
|
1278
|
+
"value": "Best regards, The Team",
|
|
1279
|
+
"html": "<p>Best regards,<br/><strong>The Team</strong></p>",
|
|
1280
|
+
"created_at": "2024-01-15T10:30:00Z",
|
|
1281
|
+
"updated_at": "2024-01-20T14:45:00Z",
|
|
1282
|
+
"created_by": "user-123",
|
|
1283
|
+
"updated_by": "user-456"
|
|
1284
|
+
}
|
|
1285
|
+
]
|
|
1286
|
+
```
|
|
1287
|
+
|
|
1288
|
+
</details>
|
|
1289
|
+
|
|
1290
|
+
---
|
|
1291
|
+
|
|
1243
1292
|
### `verifyDomain`
|
|
1244
1293
|
|
|
1245
1294
|
Verifies ownership and configuration of a custom email domain.
|
|
@@ -1281,6 +1330,20 @@ const { data } = await client.verifyDomain(
|
|
|
1281
1330
|
|
|
1282
1331
|
## Schemas
|
|
1283
1332
|
|
|
1333
|
+
### `ConnectOutlookRequest`
|
|
1334
|
+
|
|
1335
|
+
Feature flags selecting which Microsoft Graph scopes to request.
|
|
1336
|
+
At least one flag must be true. Passing a superset of previously
|
|
1337
|
+
granted features triggers incremental consent for the delta only.
|
|
1338
|
+
|
|
1339
|
+
|
|
1340
|
+
```ts
|
|
1341
|
+
type ConnectOutlookRequest = {
|
|
1342
|
+
mail?: boolean
|
|
1343
|
+
calendar?: boolean
|
|
1344
|
+
}
|
|
1345
|
+
```
|
|
1346
|
+
|
|
1284
1347
|
### `MailboxSyncStatus`
|
|
1285
1348
|
|
|
1286
1349
|
```ts
|
|
@@ -1542,6 +1605,7 @@ type OutlookConnectionError = {
|
|
|
1542
1605
|
type OutlookConnectionStatus = {
|
|
1543
1606
|
status: "connected" | "expired" | "pending_auth" | "not_connected"
|
|
1544
1607
|
action: "connect" | "authorize" | "reconnect" | "none"
|
|
1608
|
+
action_reason?: "expired" | "permission_update"
|
|
1545
1609
|
connected_by_display_name?: string
|
|
1546
1610
|
connected_by_email?: string // email
|
|
1547
1611
|
connected_by_user_id?: string
|
package/docs/file.md
CHANGED
|
@@ -32,6 +32,8 @@ const { data } = await fileClient.uploadFileV2(...)
|
|
|
32
32
|
- [`downloadFile`](#downloadfile)
|
|
33
33
|
- [`downloadS3File`](#downloads3file)
|
|
34
34
|
- [`downloadFiles`](#downloadfiles)
|
|
35
|
+
- [`createZipJob`](#createzipjob)
|
|
36
|
+
- [`getZipJob`](#getzipjob)
|
|
35
37
|
- [`verifyCustomDownloadUrl`](#verifycustomdownloadurl)
|
|
36
38
|
- [`uploadFilePublic`](#uploadfilepublic)
|
|
37
39
|
|
|
@@ -78,6 +80,8 @@ const { data } = await fileClient.uploadFileV2(...)
|
|
|
78
80
|
- [`UploadFilePayload`](#uploadfilepayload)
|
|
79
81
|
- [`FileUpload`](#fileupload)
|
|
80
82
|
- [`DownloadFilesPayload`](#downloadfilespayload)
|
|
83
|
+
- [`CreateZipJobPayload`](#createzipjobpayload)
|
|
84
|
+
- [`ZipJob`](#zipjob)
|
|
81
85
|
- [`VerifyCustomDownloadUrlPayload`](#verifycustomdownloadurlpayload)
|
|
82
86
|
- [`S3Reference`](#s3reference)
|
|
83
87
|
- [`S3Ref`](#s3ref)
|
|
@@ -448,6 +452,63 @@ const { data } = await client.downloadFiles(
|
|
|
448
452
|
|
|
449
453
|
---
|
|
450
454
|
|
|
455
|
+
### `createZipJob`
|
|
456
|
+
|
|
457
|
+
Create a background job to ZIP multiple files and send a download link via email.
|
|
458
|
+
|
|
459
|
+
`POST /v1/files:zipJob`
|
|
460
|
+
|
|
461
|
+
```ts
|
|
462
|
+
const { data } = await client.createZipJob(
|
|
463
|
+
null,
|
|
464
|
+
{},
|
|
465
|
+
)
|
|
466
|
+
```
|
|
467
|
+
|
|
468
|
+
---
|
|
469
|
+
|
|
470
|
+
### `getZipJob`
|
|
471
|
+
|
|
472
|
+
Get the status of a ZIP job
|
|
473
|
+
|
|
474
|
+
`GET /v1/files:zipJob/{job_id}`
|
|
475
|
+
|
|
476
|
+
```ts
|
|
477
|
+
const { data } = await client.getZipJob({
|
|
478
|
+
job_id: 'example',
|
|
479
|
+
})
|
|
480
|
+
```
|
|
481
|
+
|
|
482
|
+
<details>
|
|
483
|
+
<summary>Response</summary>
|
|
484
|
+
|
|
485
|
+
```json
|
|
486
|
+
{
|
|
487
|
+
"job_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
|
|
488
|
+
"status": "completed",
|
|
489
|
+
"progress": {
|
|
490
|
+
"total_files": 100,
|
|
491
|
+
"downloaded_files": 75,
|
|
492
|
+
"failed_files": 2
|
|
493
|
+
},
|
|
494
|
+
"result": {
|
|
495
|
+
"file_entity_id": "ef7d985c-2385-44f4-9c71-ae06a52264f8",
|
|
496
|
+
"download_url": "https://epilot-prod-user-content.s3.eu-central-1.amazonaws.com/123/files.zip?X-Amz-...",
|
|
497
|
+
"expires_at": "2024-01-02T12:00:00Z",
|
|
498
|
+
"zip_size_bytes": 104857600
|
|
499
|
+
},
|
|
500
|
+
"error": "Failed to download file: access denied",
|
|
501
|
+
"created_at": "2024-01-01T12:00:00Z",
|
|
502
|
+
"created_by": "10234",
|
|
503
|
+
"org_id": "123",
|
|
504
|
+
"updated_at": "2024-01-01T12:05:00Z"
|
|
505
|
+
}
|
|
506
|
+
```
|
|
507
|
+
|
|
508
|
+
</details>
|
|
509
|
+
|
|
510
|
+
---
|
|
511
|
+
|
|
451
512
|
### `previewFile`
|
|
452
513
|
|
|
453
514
|
Generate a thumbnail preview for a file entity.
|
|
@@ -567,7 +628,7 @@ const { data } = await client.generatePublicLink({
|
|
|
567
628
|
|
|
568
629
|
### `listPublicLinksForFile`
|
|
569
630
|
|
|
570
|
-
|
|
631
|
+
Fetches all public links previously generated for a file
|
|
571
632
|
|
|
572
633
|
`GET /v1/files/{id}/public/links`
|
|
573
634
|
|
|
@@ -614,7 +675,7 @@ const { data } = await client.accessPublicLink({
|
|
|
614
675
|
|
|
615
676
|
### `revokePublicLink`
|
|
616
677
|
|
|
617
|
-
|
|
678
|
+
Revokes a given public link by ID
|
|
618
679
|
|
|
619
680
|
`DELETE /v1/files/public/links/{id}`
|
|
620
681
|
|
|
@@ -1304,6 +1365,44 @@ type DownloadFilesPayload = Array<{
|
|
|
1304
1365
|
}>
|
|
1305
1366
|
```
|
|
1306
1367
|
|
|
1368
|
+
### `CreateZipJobPayload`
|
|
1369
|
+
|
|
1370
|
+
Request payload to create a ZIP job for bulk file download.
|
|
1371
|
+
Provide either an explicit list of `file_entity_ids` (up to 1000) or an
|
|
1372
|
+
`entity_query` that resolves to file entities (up to 10000).
|
|
1373
|
+
|
|
1374
|
+
|
|
1375
|
+
```ts
|
|
1376
|
+
type CreateZipJobPayload = unknown | unknown
|
|
1377
|
+
```
|
|
1378
|
+
|
|
1379
|
+
### `ZipJob`
|
|
1380
|
+
|
|
1381
|
+
ZIP job status and result
|
|
1382
|
+
|
|
1383
|
+
```ts
|
|
1384
|
+
type ZipJob = {
|
|
1385
|
+
job_id?: string // uuid
|
|
1386
|
+
status?: "queued" | "downloading" | "zipping" | "uploading" | "sending_notification" | "completed" | "failed"
|
|
1387
|
+
progress?: {
|
|
1388
|
+
total_files?: number
|
|
1389
|
+
downloaded_files?: number
|
|
1390
|
+
failed_files?: number
|
|
1391
|
+
}
|
|
1392
|
+
result?: {
|
|
1393
|
+
file_entity_id?: string // uuid
|
|
1394
|
+
download_url?: string // uri
|
|
1395
|
+
expires_at?: string // date-time
|
|
1396
|
+
zip_size_bytes?: number
|
|
1397
|
+
}
|
|
1398
|
+
error?: string
|
|
1399
|
+
created_at?: string // date-time
|
|
1400
|
+
created_by?: string
|
|
1401
|
+
org_id?: string
|
|
1402
|
+
updated_at?: string // date-time
|
|
1403
|
+
}
|
|
1404
|
+
```
|
|
1405
|
+
|
|
1307
1406
|
### `VerifyCustomDownloadUrlPayload`
|
|
1308
1407
|
|
|
1309
1408
|
```ts
|
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
|