@epilot/sdk 2.8.0-rc.0 → 2.8.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 +0 -1
- package/definitions/blueprint-manifest-runtime.json +1 -1
- package/definitions/blueprint-manifest.json +744 -20
- package/definitions/customer-portal-runtime.json +1 -1
- package/definitions/customer-portal.json +317 -26
- package/definitions/design.json +51 -1
- package/definitions/event-catalog-runtime.json +1 -1
- package/definitions/event-catalog.json +168 -12
- package/definitions/file-runtime.json +1 -1
- package/definitions/file.json +152 -4
- package/definitions/integration-toolkit-runtime.json +1 -1
- package/definitions/integration-toolkit.json +782 -13
- package/definitions/notes-runtime.json +1 -1
- package/definitions/notes.json +123 -1
- package/definitions/pricing.json +224 -406
- package/definitions/targeting-runtime.json +1 -1
- package/definitions/targeting.json +257 -7
- package/definitions/webhooks.json +31 -0
- package/dist/README-46VYEGGW.js +7 -0
- package/dist/README-IVBISSWB.cjs +7 -0
- package/dist/{_index-YTOJUFGD.js → _index-5FB6F5YY.js} +0 -3
- package/dist/{_index-HTUXYSTD.cjs → _index-DB2VV4PQ.cjs} +1 -4
- 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.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 +8 -8
- package/dist/apis/blueprint-manifest.d.cts +2 -2
- package/dist/apis/blueprint-manifest.d.ts +2 -2
- package/dist/apis/blueprint-manifest.js +2 -2
- package/dist/apis/calendar.cjs +6 -6
- package/dist/apis/calendar.js +1 -1
- package/dist/apis/configuration-hub.cjs +6 -6
- package/dist/apis/configuration-hub.js +1 -1
- 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 +6 -6
- package/dist/apis/design.d.cts +2 -2
- package/dist/apis/design.d.ts +2 -2
- package/dist/apis/design.js +1 -1
- 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 +8 -8
- package/dist/apis/event-catalog.d.cts +2 -2
- package/dist/apis/event-catalog.d.ts +2 -2
- package/dist/apis/event-catalog.js +2 -2
- 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 +8 -8
- package/dist/apis/integration-toolkit.d.cts +2 -2
- package/dist/apis/integration-toolkit.d.ts +2 -2
- package/dist/apis/integration-toolkit.js +2 -2
- package/dist/apis/journey.cjs +6 -6
- package/dist/apis/journey.js +1 -1
- 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 +8 -8
- package/dist/apis/targeting.d.cts +2 -2
- package/dist/apis/targeting.d.ts +2 -2
- package/dist/apis/targeting.js +2 -2
- 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.d.cts +2 -2
- package/dist/apis/webhooks.d.ts +2 -2
- 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/blueprint-manifest-6DEYW5MW.js +7 -0
- package/dist/blueprint-manifest-GCV7H74X.cjs +7 -0
- package/dist/{blueprint-manifest-runtime-QN2IECSA.cjs → blueprint-manifest-runtime-EIDOROIQ.cjs} +2 -2
- package/dist/{blueprint-manifest-runtime-5UN52LW5.js → blueprint-manifest-runtime-FRLU3ZSF.js} +1 -1
- package/dist/{blueprint-manifest.d-BPyzoR0X.d.cts → blueprint-manifest.d-B8yDxagC.d.cts} +572 -6
- package/dist/{blueprint-manifest.d-BPyzoR0X.d.ts → blueprint-manifest.d-B8yDxagC.d.ts} +572 -6
- package/dist/chunk-4M5V6BIT.cjs +14 -0
- package/dist/chunk-4YBWMDFP.js +14 -0
- package/dist/{chunk-KJPOUJBU.cjs → chunk-5ZXGKLB6.cjs} +1 -1
- package/dist/{chunk-PTEJYAYJ.js → chunk-774ASAAH.js} +1 -1
- package/dist/{chunk-WM74R3BD.js → chunk-7V7ECXTZ.js} +1 -1
- package/dist/chunk-FDS727SL.cjs +14 -0
- package/dist/{chunk-4FFGRWLS.cjs → chunk-I53TWOTX.cjs} +1 -1
- package/dist/chunk-LSPXLT3A.js +14 -0
- package/dist/chunk-M4FO2MI4.js +14 -0
- package/dist/chunk-MCK2QUSD.cjs +14 -0
- package/dist/{chunk-F5Z6I7TF.cjs → chunk-N3P24HUW.cjs} +20 -22
- package/dist/chunk-NGHCQ2FA.cjs +14 -0
- package/dist/{chunk-54KWFSCM.js → chunk-OOERPBL3.js} +20 -22
- package/dist/chunk-RDVFQOCQ.js +14 -0
- package/dist/{chunk-RW5JOHG7.js → chunk-WIQXF7DD.js} +1 -1
- package/dist/{chunk-M2SSGV7K.cjs → chunk-ZOQUGWQL.cjs} +1 -1
- package/dist/customer-portal-4DXHY42V.js +7 -0
- package/dist/customer-portal-5OSGSYGF.cjs +7 -0
- package/dist/{customer-portal-runtime-IYHJ3RME.cjs → customer-portal-runtime-HA6CPWB4.cjs} +2 -2
- package/dist/{customer-portal-runtime-ZYU3WIXY.js → customer-portal-runtime-TDHV2YVY.js} +1 -1
- package/dist/{customer-portal.d-CTTCBAZI.d.cts → customer-portal.d-BRwiQehb.d.cts} +763 -31
- package/dist/{customer-portal.d-CTTCBAZI.d.ts → customer-portal.d-BRwiQehb.d.ts} +763 -31
- package/dist/data-governance-2U5UU4GM.cjs +7 -0
- package/dist/data-governance-36Y33JVG.js +7 -0
- package/dist/design-DUFBH5ZB.js +7 -0
- package/dist/design-W3D3UPGB.cjs +7 -0
- 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/event-catalog-3YOQ46ZW.js +7 -0
- package/dist/event-catalog-HLWUT7RM.cjs +7 -0
- package/dist/{event-catalog-runtime-N262TQ3Y.js → event-catalog-runtime-JUSLF3UR.js} +1 -1
- package/dist/{event-catalog-runtime-B2BPKQVG.cjs → event-catalog-runtime-RH7542GL.cjs} +2 -2
- package/dist/{event-catalog.d-mQJLSYUo.d.cts → event-catalog.d-CXbUn8T1.d.cts} +199 -36
- package/dist/{event-catalog.d-mQJLSYUo.d.ts → event-catalog.d-CXbUn8T1.d.ts} +199 -36
- package/dist/file-2MSILSPP.cjs +7 -0
- package/dist/file-JVFTT5RZ.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-BjlMgTwj.d.cts} +218 -5
- package/dist/{file.d-DTlrbI40.d.ts → file.d-BjlMgTwj.d.ts} +218 -5
- package/dist/index.cjs +27 -35
- package/dist/index.d.cts +55 -57
- package/dist/index.d.ts +55 -57
- package/dist/index.js +16 -24
- package/dist/integration-toolkit-27Z3VZBZ.cjs +7 -0
- package/dist/integration-toolkit-NRLZZFVS.js +7 -0
- package/dist/{integration-toolkit-runtime-YHTU4X5J.cjs → integration-toolkit-runtime-FY7QVFL6.cjs} +2 -2
- package/dist/{integration-toolkit-runtime-YR4CIMKH.js → integration-toolkit-runtime-HCJ5QLCR.js} +1 -1
- package/dist/{integration-toolkit.d-BstNqiJb.d.cts → integration-toolkit.d-BW9RK5G-.d.cts} +1672 -27
- package/dist/{integration-toolkit.d-BstNqiJb.d.ts → integration-toolkit.d-BW9RK5G-.d.ts} +1672 -27
- 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-5Y7TZHMR.js +7 -0
- package/dist/pricing-BJUABPHU.cjs +7 -0
- package/dist/{pricing.d-BHpMU4KU.d.cts → pricing.d-gPt5L7wp.d.cts} +151 -280
- package/dist/{pricing.d-BHpMU4KU.d.ts → pricing.d-gPt5L7wp.d.ts} +151 -280
- package/dist/targeting-DAFJBPIZ.cjs +7 -0
- package/dist/targeting-TGPCRRI6.js +7 -0
- package/dist/{targeting-runtime-M2VSTKFT.js → targeting-runtime-D5YUPZQM.js} +1 -1
- package/dist/{targeting-runtime-6JFMP262.cjs → targeting-runtime-MLMOM7CK.cjs} +2 -2
- package/dist/{targeting.d-BNmcVsNS.d.cts → targeting.d-DxHQbn7-.d.cts} +197 -3
- package/dist/{targeting.d-BNmcVsNS.d.ts → targeting.d-DxHQbn7-.d.ts} +197 -3
- package/dist/webhooks-6CUXSTPH.cjs +7 -0
- package/dist/webhooks-DTNKNJEN.js +7 -0
- package/dist/{webhooks.d-ByePoUWs.d.cts → webhooks.d-DKZOMj1P.d.cts} +37 -0
- package/dist/{webhooks.d-ByePoUWs.d.ts → webhooks.d-DKZOMj1P.d.ts} +37 -0
- package/docs/blueprint-manifest.md +728 -68
- package/docs/customer-portal.md +465 -56
- package/docs/data-governance.md +17 -17
- package/docs/design.md +80 -3
- package/docs/event-catalog.md +126 -13
- package/docs/file.md +113 -0
- package/docs/integration-toolkit.md +488 -19
- package/docs/notes.md +47 -1
- package/docs/pricing.md +290 -219
- package/docs/targeting.md +158 -4
- package/docs/webhooks.md +11 -2
- package/package.json +1 -10
- package/dist/README-37TXN4EL.cjs +0 -7
- package/dist/README-Z2WITBOR.js +0 -7
- package/dist/apis/focus-pocus.cjs +0 -38
- package/dist/apis/focus-pocus.d.cts +0 -18
- package/dist/apis/focus-pocus.d.ts +0 -18
- package/dist/apis/focus-pocus.js +0 -38
- package/dist/blueprint-manifest-DBEY5PPI.js +0 -7
- package/dist/blueprint-manifest-IEQ6YBY7.cjs +0 -7
- package/dist/chunk-3APTSPY4.js +0 -14
- package/dist/chunk-5WNEYQII.cjs +0 -14
- package/dist/chunk-A6FYGWQ7.cjs +0 -14
- package/dist/chunk-BTTPWE2P.js +0 -14
- package/dist/chunk-CBDKPGO5.cjs +0 -14
- package/dist/chunk-L544VG3B.cjs +0 -14
- package/dist/chunk-O2YVXGPZ.js +0 -14
- package/dist/chunk-OCMIXJWC.js +0 -14
- package/dist/chunk-OPXGJKZR.cjs +0 -14
- package/dist/chunk-P42Q6HOW.js +0 -14
- package/dist/customer-portal-DR6XFCTQ.js +0 -7
- package/dist/customer-portal-PNFBVIAH.cjs +0 -7
- package/dist/data-governance-QYFHBCNB.cjs +0 -7
- package/dist/data-governance-YS2NA6W4.js +0 -7
- package/dist/design-EWZQZ5KX.js +0 -7
- package/dist/design-MUUYXB2J.cjs +0 -7
- package/dist/event-catalog-37B6JC7G.js +0 -7
- package/dist/event-catalog-5JBHJJ2I.cjs +0 -7
- package/dist/file-P2FUUER2.js +0 -7
- package/dist/file-XTY74SIX.cjs +0 -7
- package/dist/file-runtime-24S3QPA7.cjs +0 -5
- package/dist/focus-pocus-JGXH42OF.cjs +0 -7
- package/dist/focus-pocus-XVDVUYL6.js +0 -7
- package/dist/focus-pocus-runtime-QXBBYVX7.js +0 -5
- package/dist/focus-pocus-runtime-X6GQ3WI4.cjs +0 -5
- package/dist/focus-pocus.d-BRFGe53G.d.cts +0 -489
- package/dist/focus-pocus.d-BRFGe53G.d.ts +0 -489
- package/dist/integration-toolkit-3I3IPVFN.cjs +0 -7
- package/dist/integration-toolkit-XAFQXNQY.js +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-R5ENSVPQ.cjs +0 -7
- package/dist/pricing-X27CCRI6.js +0 -7
- package/dist/targeting-74BV7F7H.cjs +0 -7
- package/dist/targeting-W5EKJYR2.js +0 -7
- package/dist/webhooks-NZHJBT64.js +0 -7
- package/dist/webhooks-SK2STDKR.cjs +0 -7
- package/docs/focus-pocus.md +0 -460
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: '1970-01-01',
|
|
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": "1970-01-01",
|
|
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": "1970-01-01",
|
|
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": "1970-01-01",
|
|
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": "1970-01-01",
|
|
329
|
+
"end_date": "1970-01-01"
|
|
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": "1970-01-01",
|
|
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": "1970-01-01",
|
|
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: '1970-01-01',
|
|
417
|
+
end_date: '1970-01-01'
|
|
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": "1970-01-01",
|
|
450
|
+
"end_date": "1970-01-01"
|
|
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": "1970-01-01",
|
|
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": "1970-01-01",
|
|
509
|
+
"end_date": "1970-01-01"
|
|
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": "1970-01-01",
|
|
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": "1970-01-01",
|
|
556
556
|
"status": "in_progress",
|
|
557
557
|
"details": {},
|
|
558
558
|
"started_at": "1970-01-01T00:00:00.000Z",
|
package/docs/design.md
CHANGED
|
@@ -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/event-catalog.md
CHANGED
|
@@ -30,6 +30,7 @@ const { data } = await eventCatalogClient.listEvents(...)
|
|
|
30
30
|
- [`patchEvent`](#patchevent)
|
|
31
31
|
- [`getEventJSONSchema`](#geteventjsonschema)
|
|
32
32
|
- [`getEventExample`](#geteventexample)
|
|
33
|
+
- [`listEventVersions`](#listeventversions)
|
|
33
34
|
- [`searchEventHistory`](#searcheventhistory)
|
|
34
35
|
- [`searchEventHistoryV2`](#searcheventhistoryv2)
|
|
35
36
|
- [`getHistoricalEvent`](#gethistoricalevent)
|
|
@@ -57,6 +58,9 @@ const { data } = await eventCatalogClient.listEvents(...)
|
|
|
57
58
|
- [`TriggerEventPayload`](#triggereventpayload)
|
|
58
59
|
- [`TriggerEventResponse`](#triggereventresponse)
|
|
59
60
|
- [`EventAttachment`](#eventattachment)
|
|
61
|
+
- [`FieldChange`](#fieldchange)
|
|
62
|
+
- [`VersionMeta`](#versionmeta)
|
|
63
|
+
- [`EventVersionRegistrySummary`](#eventversionregistrysummary)
|
|
60
64
|
|
|
61
65
|
### `listEvents`
|
|
62
66
|
|
|
@@ -78,7 +82,7 @@ const { data } = await client.listEvents()
|
|
|
78
82
|
"event_name": "AddMeterReading",
|
|
79
83
|
"event_title": "Add Meter Reading",
|
|
80
84
|
"event_description": "Triggered when a new meter reading is added",
|
|
81
|
-
"event_version": "1.0
|
|
85
|
+
"event_version": "1.0",
|
|
82
86
|
"event_status": "active",
|
|
83
87
|
"event_tags": ["builtin", "metering", "erp"],
|
|
84
88
|
"schema_fields": {},
|
|
@@ -136,7 +140,7 @@ const { data } = await client.getEvent({
|
|
|
136
140
|
"event_name": "AddMeterReading",
|
|
137
141
|
"event_title": "Add Meter Reading",
|
|
138
142
|
"event_description": "Triggered when a new meter reading is added",
|
|
139
|
-
"event_version": "1.0
|
|
143
|
+
"event_version": "1.0",
|
|
140
144
|
"event_status": "active",
|
|
141
145
|
"event_tags": ["builtin", "metering", "erp"],
|
|
142
146
|
"schema_fields": {},
|
|
@@ -187,7 +191,7 @@ const { data } = await client.patchEvent(
|
|
|
187
191
|
event_name: 'AddMeterReading',
|
|
188
192
|
event_title: 'Add Meter Reading',
|
|
189
193
|
event_description: 'Triggered when a new meter reading is added',
|
|
190
|
-
event_version: '1.0
|
|
194
|
+
event_version: '1.0',
|
|
191
195
|
event_status: 'active',
|
|
192
196
|
event_tags: ['builtin', 'metering', 'erp'],
|
|
193
197
|
schema_fields: {},
|
|
@@ -228,7 +232,7 @@ const { data } = await client.patchEvent(
|
|
|
228
232
|
"event_name": "AddMeterReading",
|
|
229
233
|
"event_title": "Add Meter Reading",
|
|
230
234
|
"event_description": "Triggered when a new meter reading is added",
|
|
231
|
-
"event_version": "1.0
|
|
235
|
+
"event_version": "1.0",
|
|
232
236
|
"event_status": "active",
|
|
233
237
|
"event_tags": ["builtin", "metering", "erp"],
|
|
234
238
|
"schema_fields": {},
|
|
@@ -266,13 +270,16 @@ const { data } = await client.patchEvent(
|
|
|
266
270
|
|
|
267
271
|
### `getEventJSONSchema`
|
|
268
272
|
|
|
269
|
-
Retrieve the JSON Schema of a specific business event
|
|
273
|
+
Retrieve the JSON Schema of a specific business event. Pass an optional
|
|
274
|
+
`Epilot-Event-Version` header to retrieve a specific version's schema;
|
|
275
|
+
when omitted, the event's latest version is returned.
|
|
270
276
|
|
|
271
277
|
`GET /v1/events/{event_name}/json_schema`
|
|
272
278
|
|
|
273
279
|
```ts
|
|
274
280
|
const { data } = await client.getEventJSONSchema({
|
|
275
281
|
event_name: 'example',
|
|
282
|
+
Epilot-Event-Version: 'example',
|
|
276
283
|
})
|
|
277
284
|
```
|
|
278
285
|
|
|
@@ -302,7 +309,7 @@ const { data } = await client.getEventJSONSchema({
|
|
|
302
309
|
},
|
|
303
310
|
"_event_version": {
|
|
304
311
|
"type": "string",
|
|
305
|
-
"description": "Event version (
|
|
312
|
+
"description": "Event payload version (MAJOR.MINOR)"
|
|
306
313
|
},
|
|
307
314
|
"_event_source": {
|
|
308
315
|
"type": "string",
|
|
@@ -388,13 +395,16 @@ const { data } = await client.getEventJSONSchema({
|
|
|
388
395
|
|
|
389
396
|
### `getEventExample`
|
|
390
397
|
|
|
391
|
-
Generate a sample event payload based on the event's JSON Schema
|
|
398
|
+
Generate a sample event payload based on the event's JSON Schema. Pass an
|
|
399
|
+
optional `Epilot-Event-Version` header to generate the example for a
|
|
400
|
+
specific version; when omitted, the event's latest versio
|
|
392
401
|
|
|
393
402
|
`GET /v1/events/{event_name}/example`
|
|
394
403
|
|
|
395
404
|
```ts
|
|
396
405
|
const { data } = await client.getEventExample({
|
|
397
406
|
event_name: 'example',
|
|
407
|
+
Epilot-Event-Version: 'example',
|
|
398
408
|
})
|
|
399
409
|
```
|
|
400
410
|
|
|
@@ -409,6 +419,50 @@ const { data } = await client.getEventExample({
|
|
|
409
419
|
|
|
410
420
|
---
|
|
411
421
|
|
|
422
|
+
### `listEventVersions`
|
|
423
|
+
|
|
424
|
+
List every known version of an event, along with the `latest`
|
|
425
|
+
and the set of currently `active` versions. See §3.2 of the
|
|
426
|
+
Event Payload Versioning RFC.
|
|
427
|
+
|
|
428
|
+
`GET /v1/events/{event_name}/versions`
|
|
429
|
+
|
|
430
|
+
```ts
|
|
431
|
+
const { data } = await client.listEventVersions({
|
|
432
|
+
event_name: 'example',
|
|
433
|
+
})
|
|
434
|
+
```
|
|
435
|
+
|
|
436
|
+
<details>
|
|
437
|
+
<summary>Response</summary>
|
|
438
|
+
|
|
439
|
+
```json
|
|
440
|
+
{
|
|
441
|
+
"event_name": "MeterReadingAdded",
|
|
442
|
+
"latest": "1.0",
|
|
443
|
+
"versions": [
|
|
444
|
+
{
|
|
445
|
+
"version": "1.0",
|
|
446
|
+
"released_at": "2025-11-15",
|
|
447
|
+
"change_summary": "string",
|
|
448
|
+
"change_notes": "string",
|
|
449
|
+
"changes": [
|
|
450
|
+
{
|
|
451
|
+
"field": "reading",
|
|
452
|
+
"op": "added",
|
|
453
|
+
"type_old": "string",
|
|
454
|
+
"type_new": "string"
|
|
455
|
+
}
|
|
456
|
+
]
|
|
457
|
+
}
|
|
458
|
+
]
|
|
459
|
+
}
|
|
460
|
+
```
|
|
461
|
+
|
|
462
|
+
</details>
|
|
463
|
+
|
|
464
|
+
---
|
|
465
|
+
|
|
412
466
|
### `searchEventHistory`
|
|
413
467
|
|
|
414
468
|
Paginated history of events
|
|
@@ -446,7 +500,7 @@ const { data } = await client.searchEventHistory(
|
|
|
446
500
|
"_event_time": "2024-01-01T12:00:00Z",
|
|
447
501
|
"_event_id": "01FZ4Z5FZ5FZ5FZ5FZ5FZ5FZ5F",
|
|
448
502
|
"_event_name": "MeterReading",
|
|
449
|
-
"_event_version": "1.0
|
|
503
|
+
"_event_version": "1.0",
|
|
450
504
|
"_event_source": "api",
|
|
451
505
|
"_trigger_source_type": "api",
|
|
452
506
|
"_trigger_source": "user_123456",
|
|
@@ -514,7 +568,7 @@ const { data } = await client.searchEventHistoryV2(
|
|
|
514
568
|
"_event_time": "1970-01-01T00:00:00.000Z",
|
|
515
569
|
"_event_id": "string",
|
|
516
570
|
"_event_name": "string",
|
|
517
|
-
"_event_version": "1.0
|
|
571
|
+
"_event_version": "1.0",
|
|
518
572
|
"_event_source": "string",
|
|
519
573
|
"_trigger_source_type": "api",
|
|
520
574
|
"_trigger_source": "string",
|
|
@@ -554,7 +608,7 @@ const { data } = await client.getHistoricalEvent({
|
|
|
554
608
|
"_event_time": "2024-01-01T12:00:00Z",
|
|
555
609
|
"_event_id": "01FZ4Z5FZ5FZ5FZ5FZ5FZ5FZ5F",
|
|
556
610
|
"_event_name": "MeterReading",
|
|
557
|
-
"_event_version": "1.0
|
|
611
|
+
"_event_version": "1.0",
|
|
558
612
|
"_event_source": "api",
|
|
559
613
|
"_trigger_source_type": "api",
|
|
560
614
|
"_trigger_source": "user_123456",
|
|
@@ -899,9 +953,9 @@ type Event = {
|
|
|
899
953
|
A lightweight event summary returned by the v2 history endpoint.
|
|
900
954
|
|
|
901
955
|
Includes the standard `_*` metadata fields plus a projected subset of the
|
|
902
|
-
event payload. Hydrated entity objects (values carrying `_schema` or `_id`
|
|
903
|
-
and arrays of such objects
|
|
904
|
-
`
|
|
956
|
+
event payload. Hydrated entity objects (values carrying `_schema` or `_id`)
|
|
957
|
+
— and arrays of such objects — are reduced to reference stubs
|
|
958
|
+
`{_schema, _id, _title
|
|
905
959
|
|
|
906
960
|
```ts
|
|
907
961
|
type EventSummary = {
|
|
@@ -1079,3 +1133,62 @@ type EventAttachment = {
|
|
|
1079
1133
|
readable_size?: string
|
|
1080
1134
|
}
|
|
1081
1135
|
```
|
|
1136
|
+
|
|
1137
|
+
### `FieldChange`
|
|
1138
|
+
|
|
1139
|
+
A field-level change descriptor. Powers the declarative half of the
|
|
1140
|
+
version DSL.
|
|
1141
|
+
|
|
1142
|
+
|
|
1143
|
+
```ts
|
|
1144
|
+
type FieldChange = {
|
|
1145
|
+
field: string
|
|
1146
|
+
op: "added" | "removed" | "type-changed"
|
|
1147
|
+
type_old?: string
|
|
1148
|
+
type_new?: string
|
|
1149
|
+
}
|
|
1150
|
+
```
|
|
1151
|
+
|
|
1152
|
+
### `VersionMeta`
|
|
1153
|
+
|
|
1154
|
+
One entry of an event's version timeline.
|
|
1155
|
+
|
|
1156
|
+
```ts
|
|
1157
|
+
type VersionMeta = {
|
|
1158
|
+
version: string
|
|
1159
|
+
released_at: string
|
|
1160
|
+
change_summary: string
|
|
1161
|
+
change_notes?: string
|
|
1162
|
+
changes: Array<{
|
|
1163
|
+
field: string
|
|
1164
|
+
op: "added" | "removed" | "type-changed"
|
|
1165
|
+
type_old?: string
|
|
1166
|
+
type_new?: string
|
|
1167
|
+
}>
|
|
1168
|
+
}
|
|
1169
|
+
```
|
|
1170
|
+
|
|
1171
|
+
### `EventVersionRegistrySummary`
|
|
1172
|
+
|
|
1173
|
+
Summary of an event's version timeline returned by
|
|
1174
|
+
`GET /v1/events/{event_name}/versions`.
|
|
1175
|
+
|
|
1176
|
+
|
|
1177
|
+
```ts
|
|
1178
|
+
type EventVersionRegistrySummary = {
|
|
1179
|
+
event_name: string
|
|
1180
|
+
latest: string
|
|
1181
|
+
versions: Array<{
|
|
1182
|
+
version: string
|
|
1183
|
+
released_at: string
|
|
1184
|
+
change_summary: string
|
|
1185
|
+
change_notes?: string
|
|
1186
|
+
changes: Array<{
|
|
1187
|
+
field: { ... }
|
|
1188
|
+
op: { ... }
|
|
1189
|
+
type_old?: { ... }
|
|
1190
|
+
type_new?: { ... }
|
|
1191
|
+
}>
|
|
1192
|
+
}>
|
|
1193
|
+
}
|
|
1194
|
+
```
|