@epilot/sdk 2.7.0 → 2.8.0-rc.0
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/README.md +1 -0
- 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 +1 -11
- 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/focus-pocus-runtime.json +1 -0
- package/definitions/focus-pocus.json +757 -0
- package/definitions/journey-runtime.json +1 -1
- package/definitions/journey.json +21 -1
- package/dist/README-37TXN4EL.cjs +7 -0
- package/dist/README-Z2WITBOR.js +7 -0
- package/dist/{_index-DB2VV4PQ.cjs → _index-HTUXYSTD.cjs} +4 -1
- package/dist/{_index-5FB6F5YY.js → _index-YTOJUFGD.js} +3 -0
- 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.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/focus-pocus.cjs +38 -0
- package/dist/apis/focus-pocus.d.cts +18 -0
- package/dist/apis/focus-pocus.d.ts +18 -0
- package/dist/apis/focus-pocus.js +38 -0
- 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 +6 -6
- package/dist/apis/notes.js +1 -1
- package/dist/apis/notification.cjs +6 -6
- package/dist/apis/notification.js +1 -1
- package/dist/apis/organization.cjs +6 -6
- package/dist/apis/organization.js +1 -1
- package/dist/apis/partner-directory.cjs +6 -6
- package/dist/apis/partner-directory.js +1 -1
- package/dist/apis/permissions.cjs +6 -6
- package/dist/apis/permissions.js +1 -1
- package/dist/apis/pricing-tier.cjs +6 -6
- package/dist/apis/pricing-tier.js +1 -1
- package/dist/apis/pricing.cjs +6 -6
- package/dist/apis/pricing.js +1 -1
- package/dist/apis/purpose.cjs +6 -6
- package/dist/apis/purpose.js +1 -1
- package/dist/apis/query.cjs +6 -6
- package/dist/apis/query.js +1 -1
- package/dist/apis/sandbox.cjs +6 -6
- package/dist/apis/sandbox.js +1 -1
- package/dist/apis/sharing.cjs +6 -6
- package/dist/apis/sharing.js +1 -1
- package/dist/apis/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-54KWFSCM.js} +35 -24
- package/dist/chunk-A6FYGWQ7.cjs +14 -0
- package/dist/{chunk-35CN2YFK.cjs → chunk-F5Z6I7TF.cjs} +35 -24
- 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-P42Q6HOW.js +14 -0
- package/dist/chunk-P4NA7NWG.js +14 -0
- package/dist/chunk-PTEJYAYJ.js +14 -0
- package/dist/chunk-WHXYES2D.cjs +14 -0
- package/dist/{chunk-ONOGGR6Q.js → chunk-WW6DVKJR.js} +1 -1
- package/dist/chunk-YI5YGTAH.cjs +14 -0
- 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-DR6XFCTQ.js +7 -0
- package/dist/customer-portal-PNFBVIAH.cjs +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/data-governance-QYFHBCNB.cjs +7 -0
- package/dist/data-governance-YS2NA6W4.js +7 -0
- package/dist/design-EWZQZ5KX.js +7 -0
- package/dist/design-MUUYXB2J.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/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/focus-pocus-JGXH42OF.cjs +7 -0
- package/dist/focus-pocus-XVDVUYL6.js +7 -0
- package/dist/focus-pocus-runtime-QXBBYVX7.js +5 -0
- package/dist/focus-pocus-runtime-X6GQ3WI4.cjs +5 -0
- package/dist/focus-pocus.d-BRFGe53G.d.cts +489 -0
- package/dist/focus-pocus.d-BRFGe53G.d.ts +489 -0
- package/dist/index.cjs +34 -26
- package/dist/index.d.cts +57 -55
- package/dist/index.d.ts +57 -55
- package/dist/index.js +23 -15
- 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/pricing-R5ENSVPQ.cjs +7 -0
- package/dist/pricing-X27CCRI6.js +7 -0
- package/dist/targeting-74BV7F7H.cjs +7 -0
- package/dist/targeting-W5EKJYR2.js +7 -0
- package/docs/app.md +34 -10
- package/docs/configuration-hub.md +660 -0
- package/docs/customer-portal.md +604 -176
- package/docs/data-governance.md +17 -17
- package/docs/design.md +1 -1
- package/docs/email-settings.md +67 -3
- package/docs/file.md +101 -2
- package/docs/focus-pocus.md +460 -0
- package/docs/journey.md +2 -0
- package/docs/pricing.md +1 -1
- package/docs/targeting.md +4 -4
- package/package.json +10 -1
- package/dist/README-46VYEGGW.js +0 -7
- package/dist/README-IVBISSWB.cjs +0 -7
- 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/data-governance-2U5UU4GM.cjs +0 -7
- package/dist/data-governance-36Y33JVG.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/pricing-FODHQFCB.cjs +0 -7
- package/dist/pricing-XRIDVZFC.js +0 -7
- package/dist/targeting-EYGYZD6M.cjs +0 -7
- package/dist/targeting-GEJTJN5Z.js +0 -7
package/docs/data-governance.md
CHANGED
|
@@ -125,7 +125,7 @@ const { data } = await client.createJob(
|
|
|
125
125
|
{
|
|
126
126
|
type: 'deletion',
|
|
127
127
|
config_id: 'string',
|
|
128
|
-
scheduled_for: '
|
|
128
|
+
scheduled_for: 'string',
|
|
129
129
|
status: 'in_progress',
|
|
130
130
|
started_at: '1970-01-01T00:00:00.000Z'
|
|
131
131
|
},
|
|
@@ -141,7 +141,7 @@ const { data } = await client.createJob(
|
|
|
141
141
|
"type": "deletion",
|
|
142
142
|
"config_id": "string",
|
|
143
143
|
"entity_schema": "string",
|
|
144
|
-
"scheduled_for": "
|
|
144
|
+
"scheduled_for": "string",
|
|
145
145
|
"status": "in_progress",
|
|
146
146
|
"details": {},
|
|
147
147
|
"started_at": "1970-01-01T00:00:00.000Z",
|
|
@@ -198,7 +198,7 @@ const { data } = await client.updateJob(
|
|
|
198
198
|
"type": "deletion",
|
|
199
199
|
"config_id": "string",
|
|
200
200
|
"entity_schema": "string",
|
|
201
|
-
"scheduled_for": "
|
|
201
|
+
"scheduled_for": "string",
|
|
202
202
|
"status": "in_progress",
|
|
203
203
|
"details": {},
|
|
204
204
|
"started_at": "1970-01-01T00:00:00.000Z",
|
|
@@ -241,7 +241,7 @@ const { data } = await client.getJob({
|
|
|
241
241
|
"type": "deletion",
|
|
242
242
|
"config_id": "string",
|
|
243
243
|
"entity_schema": "string",
|
|
244
|
-
"scheduled_for": "
|
|
244
|
+
"scheduled_for": "string",
|
|
245
245
|
"status": "in_progress",
|
|
246
246
|
"details": {},
|
|
247
247
|
"started_at": "1970-01-01T00:00:00.000Z",
|
|
@@ -325,13 +325,13 @@ const { data } = await client.getConfig({
|
|
|
325
325
|
"schedule": {
|
|
326
326
|
"frequency": "interval",
|
|
327
327
|
"interval_days": 1,
|
|
328
|
-
"start_date": "
|
|
329
|
-
"end_date": "
|
|
328
|
+
"start_date": "string",
|
|
329
|
+
"end_date": "string"
|
|
330
330
|
},
|
|
331
331
|
"enabled": true,
|
|
332
332
|
"created_at": "1970-01-01T00:00:00.000Z",
|
|
333
333
|
"last_updated_at": "1970-01-01T00:00:00.000Z",
|
|
334
|
-
"next_run_at": "
|
|
334
|
+
"next_run_at": "string",
|
|
335
335
|
"relations_for_deletion": ["contact"],
|
|
336
336
|
"last_run_at": "1970-01-01T00:00:00.000Z"
|
|
337
337
|
}
|
|
@@ -362,7 +362,7 @@ const { data } = await client.createJobForConfig({
|
|
|
362
362
|
"type": "deletion",
|
|
363
363
|
"config_id": "string",
|
|
364
364
|
"entity_schema": "string",
|
|
365
|
-
"scheduled_for": "
|
|
365
|
+
"scheduled_for": "string",
|
|
366
366
|
"status": "in_progress",
|
|
367
367
|
"details": {},
|
|
368
368
|
"started_at": "1970-01-01T00:00:00.000Z",
|
|
@@ -413,8 +413,8 @@ const { data } = await client.upsertConfig(
|
|
|
413
413
|
schedule: {
|
|
414
414
|
frequency: 'interval',
|
|
415
415
|
interval_days: 1,
|
|
416
|
-
start_date: '
|
|
417
|
-
end_date: '
|
|
416
|
+
start_date: 'string',
|
|
417
|
+
end_date: 'string'
|
|
418
418
|
},
|
|
419
419
|
relations_for_deletion: ['contact'],
|
|
420
420
|
enabled: true
|
|
@@ -446,13 +446,13 @@ const { data } = await client.upsertConfig(
|
|
|
446
446
|
"schedule": {
|
|
447
447
|
"frequency": "interval",
|
|
448
448
|
"interval_days": 1,
|
|
449
|
-
"start_date": "
|
|
450
|
-
"end_date": "
|
|
449
|
+
"start_date": "string",
|
|
450
|
+
"end_date": "string"
|
|
451
451
|
},
|
|
452
452
|
"enabled": true,
|
|
453
453
|
"created_at": "1970-01-01T00:00:00.000Z",
|
|
454
454
|
"last_updated_at": "1970-01-01T00:00:00.000Z",
|
|
455
|
-
"next_run_at": "
|
|
455
|
+
"next_run_at": "string",
|
|
456
456
|
"relations_for_deletion": ["contact"],
|
|
457
457
|
"last_run_at": "1970-01-01T00:00:00.000Z"
|
|
458
458
|
}
|
|
@@ -505,13 +505,13 @@ const { data } = await client.listConfigs({
|
|
|
505
505
|
"schedule": {
|
|
506
506
|
"frequency": "interval",
|
|
507
507
|
"interval_days": 1,
|
|
508
|
-
"start_date": "
|
|
509
|
-
"end_date": "
|
|
508
|
+
"start_date": "string",
|
|
509
|
+
"end_date": "string"
|
|
510
510
|
},
|
|
511
511
|
"enabled": true,
|
|
512
512
|
"created_at": "1970-01-01T00:00:00.000Z",
|
|
513
513
|
"last_updated_at": "1970-01-01T00:00:00.000Z",
|
|
514
|
-
"next_run_at": "
|
|
514
|
+
"next_run_at": "string",
|
|
515
515
|
"relations_for_deletion": ["contact"],
|
|
516
516
|
"last_run_at": "1970-01-01T00:00:00.000Z"
|
|
517
517
|
}
|
|
@@ -552,7 +552,7 @@ const { data } = await client.listJobs({
|
|
|
552
552
|
"type": "deletion",
|
|
553
553
|
"config_id": "string",
|
|
554
554
|
"entity_schema": "string",
|
|
555
|
-
"scheduled_for": "
|
|
555
|
+
"scheduled_for": "string",
|
|
556
556
|
"status": "in_progress",
|
|
557
557
|
"details": {},
|
|
558
558
|
"started_at": "1970-01-01T00:00:00.000Z",
|
package/docs/design.md
CHANGED
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
|