@epilot/sdk 2.6.0 → 2.7.1
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/customer-portal-runtime.json +1 -1
- package/definitions/customer-portal.json +492 -7
- package/definitions/email-settings-runtime.json +1 -1
- package/definitions/email-settings.json +86 -4
- package/definitions/event-catalog-runtime.json +1 -1
- package/definitions/event-catalog.json +256 -1
- package/definitions/file-runtime.json +1 -1
- package/definitions/file.json +262 -4
- package/definitions/webhooks.json +19 -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 +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 +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.js +1 -1
- 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 +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 +6 -6
- package/dist/apis/integration-toolkit.js +1 -1
- 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 +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.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/bin/cli.js +1 -1
- package/dist/chunk-3APTSPY4.js +14 -0
- package/dist/{chunk-BLNXQAMX.cjs → chunk-CBDKPGO5.cjs} +1 -1
- package/dist/chunk-KCPVNRDL.js +14 -0
- package/dist/chunk-KJPOUJBU.cjs +14 -0
- package/dist/{chunk-TME4YJNP.js → chunk-OCMIXJWC.js} +1 -1
- package/dist/chunk-OPXGJKZR.cjs +14 -0
- package/dist/chunk-PTEJYAYJ.js +14 -0
- package/dist/{chunk-SDIGGISZ.cjs → chunk-R7XDTILZ.cjs} +9 -9
- package/dist/{chunk-QNUU4TTU.js → chunk-SCMAZ73K.js} +9 -9
- package/dist/chunk-YI5YGTAH.cjs +14 -0
- package/dist/customer-portal-7HYSBH7H.cjs +7 -0
- package/dist/customer-portal-X4LJX6AU.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-C7ZCbjiY.d.cts} +605 -11
- package/dist/{customer-portal.d-ChSEioI5.d.ts → customer-portal.d-C7ZCbjiY.d.ts} +605 -11
- 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/event-catalog-37B6JC7G.js +7 -0
- package/dist/event-catalog-5JBHJJ2I.cjs +7 -0
- package/dist/{event-catalog-runtime-5HQSAJVX.cjs → event-catalog-runtime-B2BPKQVG.cjs} +2 -2
- package/dist/{event-catalog-runtime-6FA3SCRI.js → event-catalog-runtime-N262TQ3Y.js} +1 -1
- package/dist/{event-catalog.d-ENw6HO-w.d.cts → event-catalog.d-mQJLSYUo.d.cts} +351 -6
- package/dist/{event-catalog.d-ENw6HO-w.d.ts → event-catalog.d-mQJLSYUo.d.ts} +351 -6
- 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 +16 -16
- package/dist/index.d.cts +5 -5
- package/dist/index.d.ts +5 -5
- package/dist/index.js +5 -5
- package/dist/{js-yaml-DLCVPJ7G.js → js-yaml-UPZKYVRY.js} +15 -17
- package/dist/{webhooks-XLBUXXCS.js → webhooks-NZHJBT64.js} +1 -1
- package/dist/{webhooks-NZ3TM3AY.cjs → webhooks-SK2STDKR.cjs} +1 -1
- package/dist/{webhooks.d-D79qib9f.d.cts → webhooks.d-ByePoUWs.d.cts} +40 -4
- package/dist/{webhooks.d-D79qib9f.d.ts → webhooks.d-ByePoUWs.d.ts} +40 -4
- package/docs/customer-portal.md +417 -51
- package/docs/email-settings.md +67 -3
- package/docs/event-catalog.md +247 -1
- package/docs/file.md +101 -2
- package/docs/webhooks.md +3 -1
- 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-KEI3GHDY.cjs +0 -14
- package/dist/chunk-Z6HGUGXK.js +0 -14
- package/dist/customer-portal-5I7ZGQDU.cjs +0 -7
- package/dist/customer-portal-YL2YMPZL.js +0 -7
- package/dist/email-settings-CKFJU4WZ.js +0 -7
- package/dist/email-settings-NQJJKS2P.cjs +0 -7
- package/dist/event-catalog-C45ISVMP.cjs +0 -7
- package/dist/event-catalog-D7VJ7WRS.js +0 -7
- package/dist/file-UOWBTDIU.cjs +0 -7
- package/dist/file-XSN3NAVZ.js +0 -7
- package/dist/file-runtime-SFZIKODF.cjs +0 -5
|
@@ -516,13 +516,23 @@
|
|
|
516
516
|
}
|
|
517
517
|
},
|
|
518
518
|
"/v2/outlook/connect": {
|
|
519
|
-
"
|
|
519
|
+
"post": {
|
|
520
520
|
"operationId": "connectOutlook",
|
|
521
521
|
"summary": "connectOutlook",
|
|
522
|
-
"description": "Returns Microsoft authorization URL for Outlook OAuth.",
|
|
522
|
+
"description": "Returns the Microsoft authorization URL for Outlook OAuth.\n\nThe request body selects which features to request scopes for. Feature\nflags are additive; Microsoft OAuth scopes are cumulative. Calling this\nendpoint again with a superset of features (e.g. `mail` already connected,\nand `calendar` added) triggers Microsoft's incremental-consent flow —\nthe user only sees a consent prompt for the new scopes.\n",
|
|
523
523
|
"tags": [
|
|
524
524
|
"O365 Outlook Connection"
|
|
525
525
|
],
|
|
526
|
+
"requestBody": {
|
|
527
|
+
"required": true,
|
|
528
|
+
"content": {
|
|
529
|
+
"application/json": {
|
|
530
|
+
"schema": {
|
|
531
|
+
"$ref": "#/components/schemas/ConnectOutlookRequest"
|
|
532
|
+
}
|
|
533
|
+
}
|
|
534
|
+
}
|
|
535
|
+
},
|
|
526
536
|
"responses": {
|
|
527
537
|
"200": {
|
|
528
538
|
"description": "Authorization URL",
|
|
@@ -530,6 +540,9 @@
|
|
|
530
540
|
"application/json": {
|
|
531
541
|
"schema": {
|
|
532
542
|
"type": "object",
|
|
543
|
+
"required": [
|
|
544
|
+
"authorization_url"
|
|
545
|
+
],
|
|
533
546
|
"properties": {
|
|
534
547
|
"authorization_url": {
|
|
535
548
|
"type": "string"
|
|
@@ -539,6 +552,9 @@
|
|
|
539
552
|
}
|
|
540
553
|
}
|
|
541
554
|
},
|
|
555
|
+
"400": {
|
|
556
|
+
"$ref": "#/components/responses/OutlookErrorResponse"
|
|
557
|
+
},
|
|
542
558
|
"403": {
|
|
543
559
|
"$ref": "#/components/responses/OutlookErrorResponse"
|
|
544
560
|
}
|
|
@@ -1655,7 +1671,7 @@
|
|
|
1655
1671
|
"post": {
|
|
1656
1672
|
"operationId": "verifyNameServers",
|
|
1657
1673
|
"summary": "verifyNameServers",
|
|
1658
|
-
"description": "Verifies that the domain's name server (NS) records are correctly configured.\n\nThis check ensures that DNS resolution is properly set up for the domain\nbefore proceeding with full domain verification.\n\nRun this verification after configuring NS records in your DNS provider.\n",
|
|
1674
|
+
"description": "Verifies that the domain's name server (NS) records are correctly configured.\n\nThis check ensures that DNS resolution is properly set up for the domain\nbefore proceeding with full domain verification.\n\nRun this verification after configuring NS records in your DNS provider.\n\n**Deprecated**: Use `/domain/dns-records:verify` for new integrations.\n",
|
|
1659
1675
|
"tags": [
|
|
1660
1676
|
"Domains"
|
|
1661
1677
|
],
|
|
@@ -1693,6 +1709,48 @@
|
|
|
1693
1709
|
}
|
|
1694
1710
|
}
|
|
1695
1711
|
},
|
|
1712
|
+
"/v1/email-settings/domain/dns-records:verify": {
|
|
1713
|
+
"post": {
|
|
1714
|
+
"operationId": "verifyDnsRecords",
|
|
1715
|
+
"summary": "verifyDnsRecords",
|
|
1716
|
+
"description": "Verifies that the domain's DNS records (MX, TXT, CNAME) are correctly configured\nin the customer's DNS provider.\n\nThis check performs DNS lookups to confirm each required record is present\nbefore proceeding with full domain identity verification.\n\nRun this verification after configuring all DNS records in your DNS provider.\n",
|
|
1717
|
+
"tags": [
|
|
1718
|
+
"Domains"
|
|
1719
|
+
],
|
|
1720
|
+
"requestBody": {
|
|
1721
|
+
"description": "The domain to verify DNS records for",
|
|
1722
|
+
"required": true,
|
|
1723
|
+
"content": {
|
|
1724
|
+
"application/json": {
|
|
1725
|
+
"schema": {
|
|
1726
|
+
"$ref": "#/components/schemas/Domain"
|
|
1727
|
+
},
|
|
1728
|
+
"example": {
|
|
1729
|
+
"domain": "mail.yourcompany.com"
|
|
1730
|
+
}
|
|
1731
|
+
}
|
|
1732
|
+
}
|
|
1733
|
+
},
|
|
1734
|
+
"responses": {
|
|
1735
|
+
"200": {
|
|
1736
|
+
"description": "DNS record verification result. Check the response to see if all records\nare verified or if additional DNS configuration is needed.\n",
|
|
1737
|
+
"content": {
|
|
1738
|
+
"application/json": {
|
|
1739
|
+
"schema": {
|
|
1740
|
+
"$ref": "#/components/schemas/SettingsResponse"
|
|
1741
|
+
}
|
|
1742
|
+
}
|
|
1743
|
+
}
|
|
1744
|
+
},
|
|
1745
|
+
"403": {
|
|
1746
|
+
"$ref": "#/components/responses/Forbidden"
|
|
1747
|
+
},
|
|
1748
|
+
"404": {
|
|
1749
|
+
"$ref": "#/components/responses/NotFound"
|
|
1750
|
+
}
|
|
1751
|
+
}
|
|
1752
|
+
}
|
|
1753
|
+
},
|
|
1696
1754
|
"/v1/email-settings/domain:verify": {
|
|
1697
1755
|
"post": {
|
|
1698
1756
|
"operationId": "verifyDomain",
|
|
@@ -2007,6 +2065,22 @@
|
|
|
2007
2065
|
}
|
|
2008
2066
|
},
|
|
2009
2067
|
"schemas": {
|
|
2068
|
+
"ConnectOutlookRequest": {
|
|
2069
|
+
"type": "object",
|
|
2070
|
+
"description": "Feature flags selecting which Microsoft Graph scopes to request.\nAt least one flag must be true. Passing a superset of previously\ngranted features triggers incremental consent for the delta only.\n",
|
|
2071
|
+
"additionalProperties": false,
|
|
2072
|
+
"minProperties": 1,
|
|
2073
|
+
"properties": {
|
|
2074
|
+
"mail": {
|
|
2075
|
+
"type": "boolean",
|
|
2076
|
+
"description": "Request 'mail' specific scopes."
|
|
2077
|
+
},
|
|
2078
|
+
"calendar": {
|
|
2079
|
+
"type": "boolean",
|
|
2080
|
+
"description": "Request 'calendar' specific scopes."
|
|
2081
|
+
}
|
|
2082
|
+
}
|
|
2083
|
+
},
|
|
2010
2084
|
"MailboxSyncStatus": {
|
|
2011
2085
|
"type": "object",
|
|
2012
2086
|
"required": [
|
|
@@ -2597,7 +2671,15 @@
|
|
|
2597
2671
|
"reconnect",
|
|
2598
2672
|
"none"
|
|
2599
2673
|
],
|
|
2600
|
-
"description": "Action for UI to take (all call
|
|
2674
|
+
"description": "Action for UI to take (all call POST /outlook/connect):\n- connect: No connection, initiate OAuth\n- authorize: Admin consent done, complete OAuth\n- reconnect: Re-authenticate expired session or approve updated permissions\n- none: Fully connected, no action needed\n"
|
|
2675
|
+
},
|
|
2676
|
+
"action_reason": {
|
|
2677
|
+
"type": "string",
|
|
2678
|
+
"enum": [
|
|
2679
|
+
"expired",
|
|
2680
|
+
"permission_update"
|
|
2681
|
+
],
|
|
2682
|
+
"description": "Discriminates the cause when `action` is `reconnect`:\n- expired: Stored tokens are no longer valid; user must re-authenticate\n- permission_update: Token is valid, but the granted scopes do not cover the\n scopes required by the configured Outlook integrations (currently `mail`).\n The user must reconnect to grant the additional permissions; Microsoft's\n incremental-consent flow will only prompt for the delta.\n"
|
|
2601
2683
|
},
|
|
2602
2684
|
"connected_by_display_name": {
|
|
2603
2685
|
"type": "string",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"s":"https://event-catalog.sls.epilot.io","o":[["listEvents","get","/v1/events"],["getEvent","get","/v1/events/{event_name}",[["event_name","p",true]]],["patchEvent","patch","/v1/events/{event_name}",[["event_name","p",true]],1],["getEventJSONSchema","get","/v1/events/{event_name}/json_schema",[["event_name","p",true]]],["getEventExample","get","/v1/events/{event_name}/example",[["event_name","p",true]]],["searchEventHistory","post","/v1/events/{event_name}:history",[["event_name","p",true]],1],["triggerEvent","post","/v1/events/{event_name}:trigger",[["event_name","p",true]],1]],"v":"3.0.0"}
|
|
1
|
+
{"s":"https://event-catalog.sls.epilot.io","o":[["listEvents","get","/v1/events"],["getEvent","get","/v1/events/{event_name}",[["event_name","p",true]]],["patchEvent","patch","/v1/events/{event_name}",[["event_name","p",true]],1],["getEventJSONSchema","get","/v1/events/{event_name}/json_schema",[["event_name","p",true]]],["getEventExample","get","/v1/events/{event_name}/example",[["event_name","p",true]]],["searchEventHistory","post","/v1/events/{event_name}:history",[["event_name","p",true]],1],["searchEventHistoryV2","post","/v2/events/{event_name}:history",[["event_name","p",true]],1],["getHistoricalEvent","get","/v2/events/{event_name}/history/{event_id}",[["event_name","p",true],["event_id","p",true]]],["triggerEvent","post","/v1/events/{event_name}:trigger",[["event_name","p",true]],1]],"v":"3.0.0"}
|
|
@@ -261,6 +261,118 @@
|
|
|
261
261
|
}
|
|
262
262
|
}
|
|
263
263
|
},
|
|
264
|
+
"/v2/events/{event_name}:history": {
|
|
265
|
+
"post": {
|
|
266
|
+
"operationId": "searchEventHistoryV2",
|
|
267
|
+
"summary": "searchEventHistoryV2",
|
|
268
|
+
"description": "Paginated history of events with projected/lightweight payload (v2).\n\nReturns `EventSummary` objects instead of fully hydrated `Event` objects:\nnested entity graphs (objects/arrays-of-objects carrying `_schema`/`_id`)\nare stripped. Use GET /v2/events/{event_name}/history/{event_id} to fetch\nthe full hydrated event for a single result.\n",
|
|
269
|
+
"tags": [
|
|
270
|
+
"Event Catalog"
|
|
271
|
+
],
|
|
272
|
+
"parameters": [
|
|
273
|
+
{
|
|
274
|
+
"name": "event_name",
|
|
275
|
+
"in": "path",
|
|
276
|
+
"required": true,
|
|
277
|
+
"description": "Unique human readable name of the event",
|
|
278
|
+
"schema": {
|
|
279
|
+
"type": "string"
|
|
280
|
+
}
|
|
281
|
+
}
|
|
282
|
+
],
|
|
283
|
+
"requestBody": {
|
|
284
|
+
"content": {
|
|
285
|
+
"application/json": {
|
|
286
|
+
"schema": {
|
|
287
|
+
"$ref": "#/components/schemas/SearchOptionsV2"
|
|
288
|
+
}
|
|
289
|
+
}
|
|
290
|
+
}
|
|
291
|
+
},
|
|
292
|
+
"responses": {
|
|
293
|
+
"200": {
|
|
294
|
+
"description": "List of event summaries in the event history",
|
|
295
|
+
"content": {
|
|
296
|
+
"application/json": {
|
|
297
|
+
"schema": {
|
|
298
|
+
"type": "object",
|
|
299
|
+
"properties": {
|
|
300
|
+
"results": {
|
|
301
|
+
"type": "array",
|
|
302
|
+
"items": {
|
|
303
|
+
"$ref": "#/components/schemas/EventSummary"
|
|
304
|
+
}
|
|
305
|
+
},
|
|
306
|
+
"next_cursor": {
|
|
307
|
+
"type": "object",
|
|
308
|
+
"description": "Cursor for pagination. Use this to get the next page of results.",
|
|
309
|
+
"nullable": true,
|
|
310
|
+
"properties": {
|
|
311
|
+
"event_time": {
|
|
312
|
+
"type": "string",
|
|
313
|
+
"description": "Timestamp from the last event in the current page",
|
|
314
|
+
"example": "2025-10-31T12:34:56Z"
|
|
315
|
+
},
|
|
316
|
+
"event_id": {
|
|
317
|
+
"type": "string",
|
|
318
|
+
"description": "Event ID from the last event in the current page",
|
|
319
|
+
"example": "evt_1234567890abcdef"
|
|
320
|
+
}
|
|
321
|
+
}
|
|
322
|
+
}
|
|
323
|
+
}
|
|
324
|
+
}
|
|
325
|
+
}
|
|
326
|
+
}
|
|
327
|
+
}
|
|
328
|
+
}
|
|
329
|
+
}
|
|
330
|
+
},
|
|
331
|
+
"/v2/events/{event_name}/history/{event_id}": {
|
|
332
|
+
"get": {
|
|
333
|
+
"operationId": "getHistoricalEvent",
|
|
334
|
+
"summary": "getHistoricalEvent",
|
|
335
|
+
"description": "Fetch a single historical event by id with full hydration",
|
|
336
|
+
"tags": [
|
|
337
|
+
"Event Catalog"
|
|
338
|
+
],
|
|
339
|
+
"parameters": [
|
|
340
|
+
{
|
|
341
|
+
"name": "event_name",
|
|
342
|
+
"in": "path",
|
|
343
|
+
"required": true,
|
|
344
|
+
"description": "Unique human readable name of the event",
|
|
345
|
+
"schema": {
|
|
346
|
+
"type": "string"
|
|
347
|
+
}
|
|
348
|
+
},
|
|
349
|
+
{
|
|
350
|
+
"name": "event_id",
|
|
351
|
+
"in": "path",
|
|
352
|
+
"required": true,
|
|
353
|
+
"description": "Unique event identifier (ULID)",
|
|
354
|
+
"schema": {
|
|
355
|
+
"type": "string"
|
|
356
|
+
}
|
|
357
|
+
}
|
|
358
|
+
],
|
|
359
|
+
"responses": {
|
|
360
|
+
"200": {
|
|
361
|
+
"description": "The fully hydrated historical event",
|
|
362
|
+
"content": {
|
|
363
|
+
"application/json": {
|
|
364
|
+
"schema": {
|
|
365
|
+
"$ref": "#/components/schemas/Event"
|
|
366
|
+
}
|
|
367
|
+
}
|
|
368
|
+
}
|
|
369
|
+
},
|
|
370
|
+
"404": {
|
|
371
|
+
"description": "Event not found"
|
|
372
|
+
}
|
|
373
|
+
}
|
|
374
|
+
}
|
|
375
|
+
},
|
|
264
376
|
"/v1/events/{event_name}:trigger": {
|
|
265
377
|
"post": {
|
|
266
378
|
"operationId": "triggerEvent",
|
|
@@ -441,7 +553,7 @@
|
|
|
441
553
|
]
|
|
442
554
|
},
|
|
443
555
|
"UpdateEventPayload": {
|
|
444
|
-
"description": "Payload for updating an event configuration.\nAccepts the same fields as EventConfig (all optional for PATCH).\nCurrently
|
|
556
|
+
"description": "Payload for updating an event configuration.\nAccepts the same fields as EventConfig (all optional for PATCH).\nCurrently `enabled` and `auto_trigger` fields are processed.\n",
|
|
445
557
|
"allOf": [
|
|
446
558
|
{
|
|
447
559
|
"$ref": "#/components/schemas/EventConfigBase"
|
|
@@ -495,6 +607,22 @@
|
|
|
495
607
|
"entity_schema"
|
|
496
608
|
]
|
|
497
609
|
},
|
|
610
|
+
"AttachmentField": {
|
|
611
|
+
"type": "object",
|
|
612
|
+
"description": "A schema field representing file attachments associated with the event.\nPresent in schema_fields for events tagged with \"attachment\".\n",
|
|
613
|
+
"properties": {
|
|
614
|
+
"items": {
|
|
615
|
+
"$ref": "#/components/schemas/EventAttachment"
|
|
616
|
+
},
|
|
617
|
+
"required": {
|
|
618
|
+
"type": "boolean",
|
|
619
|
+
"description": "Whether this field is required in the event payload"
|
|
620
|
+
}
|
|
621
|
+
},
|
|
622
|
+
"required": [
|
|
623
|
+
"items"
|
|
624
|
+
]
|
|
625
|
+
},
|
|
498
626
|
"SchemaField": {
|
|
499
627
|
"oneOf": [
|
|
500
628
|
{
|
|
@@ -502,6 +630,9 @@
|
|
|
502
630
|
},
|
|
503
631
|
{
|
|
504
632
|
"$ref": "#/components/schemas/ContextEntity"
|
|
633
|
+
},
|
|
634
|
+
{
|
|
635
|
+
"$ref": "#/components/schemas/AttachmentField"
|
|
505
636
|
}
|
|
506
637
|
]
|
|
507
638
|
},
|
|
@@ -764,6 +895,60 @@
|
|
|
764
895
|
"contract_id": "880e8400-e29b-41d4-a716-446655440000"
|
|
765
896
|
}
|
|
766
897
|
},
|
|
898
|
+
"EventSummary": {
|
|
899
|
+
"type": "object",
|
|
900
|
+
"description": "A lightweight event summary returned by the v2 history endpoint.\n\nIncludes the standard `_*` metadata fields plus a projected subset of the\nevent payload. Hydrated entity objects (values carrying `_schema` or `_id`\nand arrays of such objects) are stripped — fetch via\n`GET /v2/events/{event_name}/history/{event_id}` for full hydration.\n\nProjected scalar payload fields appear as additional top-level properties.\n",
|
|
901
|
+
"properties": {
|
|
902
|
+
"_org_id": {
|
|
903
|
+
"type": "string",
|
|
904
|
+
"description": "epilot tenant/organization ID"
|
|
905
|
+
},
|
|
906
|
+
"_event_time": {
|
|
907
|
+
"type": "string",
|
|
908
|
+
"format": "date-time",
|
|
909
|
+
"description": "ISO 8601 timestamp when event occurred"
|
|
910
|
+
},
|
|
911
|
+
"_event_id": {
|
|
912
|
+
"type": "string",
|
|
913
|
+
"description": "Unique event identifier (ULID)"
|
|
914
|
+
},
|
|
915
|
+
"_event_name": {
|
|
916
|
+
"type": "string",
|
|
917
|
+
"description": "Event name from catalog"
|
|
918
|
+
},
|
|
919
|
+
"_event_version": {
|
|
920
|
+
"type": "string",
|
|
921
|
+
"description": "Event version (semver)",
|
|
922
|
+
"example": "1.0.0"
|
|
923
|
+
},
|
|
924
|
+
"_event_source": {
|
|
925
|
+
"type": "string",
|
|
926
|
+
"description": "Source that triggered the event"
|
|
927
|
+
},
|
|
928
|
+
"_trigger_source_type": {
|
|
929
|
+
"type": "string",
|
|
930
|
+
"description": "The type of system that triggered the event.\nCommon values: api, automation, operation, portal_user\n",
|
|
931
|
+
"example": "api"
|
|
932
|
+
},
|
|
933
|
+
"_trigger_source": {
|
|
934
|
+
"type": "string",
|
|
935
|
+
"description": "Identifier of the specific trigger source.\n"
|
|
936
|
+
},
|
|
937
|
+
"_ack_id": {
|
|
938
|
+
"type": "string",
|
|
939
|
+
"description": "Unique acknowledgment tracking ID for the event.\n"
|
|
940
|
+
}
|
|
941
|
+
},
|
|
942
|
+
"required": [
|
|
943
|
+
"_org_id",
|
|
944
|
+
"_event_time",
|
|
945
|
+
"_event_id",
|
|
946
|
+
"_event_name",
|
|
947
|
+
"_event_version",
|
|
948
|
+
"_event_source"
|
|
949
|
+
],
|
|
950
|
+
"additionalProperties": true
|
|
951
|
+
},
|
|
767
952
|
"GraphDefinition": {
|
|
768
953
|
"type": "object",
|
|
769
954
|
"description": "Entity graph definition for resolving related entities",
|
|
@@ -959,6 +1144,22 @@
|
|
|
959
1144
|
}
|
|
960
1145
|
}
|
|
961
1146
|
},
|
|
1147
|
+
"SearchOptionsV2": {
|
|
1148
|
+
"description": "Search options for the v2 history endpoint.\n\nExtends `SearchOptions` with an optional `fields` projection. When `fields`\nis omitted, the response includes all `_*` metadata plus all scalar payload\nfields (and primitive arrays / empty objects/arrays) after entity stripping.\nWhen `fields` is provided, glob/exclusion semantics from `FieldsParam` apply\nagainst `payload.*` paths; `_*` metadata is always included. Entity stripping\nruns AFTER selection.\n",
|
|
1149
|
+
"allOf": [
|
|
1150
|
+
{
|
|
1151
|
+
"$ref": "#/components/schemas/SearchOptions"
|
|
1152
|
+
},
|
|
1153
|
+
{
|
|
1154
|
+
"type": "object",
|
|
1155
|
+
"properties": {
|
|
1156
|
+
"fields": {
|
|
1157
|
+
"$ref": "#/components/schemas/FieldsParam"
|
|
1158
|
+
}
|
|
1159
|
+
}
|
|
1160
|
+
}
|
|
1161
|
+
]
|
|
1162
|
+
},
|
|
962
1163
|
"FieldsParam": {
|
|
963
1164
|
"type": "array",
|
|
964
1165
|
"description": "List of entity fields to include or exclude in the response\n\nUse ! to exclude fields, e.g. `!_id` to exclude the `_id` field.\n\nGlobbing and globstart (**) is supported for nested fields.\n",
|
|
@@ -1040,6 +1241,60 @@
|
|
|
1040
1241
|
"success",
|
|
1041
1242
|
"event_id"
|
|
1042
1243
|
]
|
|
1244
|
+
},
|
|
1245
|
+
"EventAttachment": {
|
|
1246
|
+
"type": "object",
|
|
1247
|
+
"description": "A file attachment associated with an event",
|
|
1248
|
+
"properties": {
|
|
1249
|
+
"entity_id": {
|
|
1250
|
+
"type": "string",
|
|
1251
|
+
"format": "uuid",
|
|
1252
|
+
"description": "Entity ID of the file"
|
|
1253
|
+
},
|
|
1254
|
+
"filename": {
|
|
1255
|
+
"type": "string",
|
|
1256
|
+
"description": "Name of the file"
|
|
1257
|
+
},
|
|
1258
|
+
"mime_type": {
|
|
1259
|
+
"type": "string",
|
|
1260
|
+
"description": "MIME type of the file (e.g., application/pdf)"
|
|
1261
|
+
},
|
|
1262
|
+
"size_bytes": {
|
|
1263
|
+
"type": "integer",
|
|
1264
|
+
"minimum": 0,
|
|
1265
|
+
"description": "File size in bytes"
|
|
1266
|
+
},
|
|
1267
|
+
"s3ref": {
|
|
1268
|
+
"type": "object",
|
|
1269
|
+
"description": "S3 reference for the file content",
|
|
1270
|
+
"properties": {
|
|
1271
|
+
"bucket": {
|
|
1272
|
+
"type": "string",
|
|
1273
|
+
"description": "S3 bucket name"
|
|
1274
|
+
},
|
|
1275
|
+
"key": {
|
|
1276
|
+
"type": "string",
|
|
1277
|
+
"description": "S3 object key"
|
|
1278
|
+
}
|
|
1279
|
+
},
|
|
1280
|
+
"required": [
|
|
1281
|
+
"bucket",
|
|
1282
|
+
"key"
|
|
1283
|
+
]
|
|
1284
|
+
},
|
|
1285
|
+
"version_index": {
|
|
1286
|
+
"type": "integer",
|
|
1287
|
+
"description": "File version index (always 0 for newly created files)"
|
|
1288
|
+
},
|
|
1289
|
+
"readable_size": {
|
|
1290
|
+
"type": "string",
|
|
1291
|
+
"description": "Human-readable file size (e.g., \"200 KB\")"
|
|
1292
|
+
}
|
|
1293
|
+
},
|
|
1294
|
+
"required": [
|
|
1295
|
+
"entity_id",
|
|
1296
|
+
"version_index"
|
|
1297
|
+
]
|
|
1043
1298
|
}
|
|
1044
1299
|
}
|
|
1045
1300
|
},
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"s":"https://file.sls.epilot.io","o":[["uploadFileV2","post","/v2/files/upload",[["file_entity_id","q"]],1],["saveFileV2","post","/v2/files",[["ActivityIdQueryParam"],["FillActivityQueryParam"],["StrictQueryParam"],["AsyncOperationQueryParam"],["DeleteTempFileQueryParam"],["VersionOnlyQueryParam"]],1],["uploadFile","post","/v1/files/upload",[["file_entity_id","q"]],1],["saveFile","post","/v1/files",[["ActivityIdQueryParam"],["AsyncOperationQueryParam"],["VersionOnlyQueryParam"]],1],["getFile","get","/v2/files/{id}",[["id","p",true],["source_url","q"],["StrictQueryParam"],["AsyncOperationQueryParam"]]],["deleteFile","delete","/v2/files/{id}",[["id","p",true],["purge","q"],["ActivityIdQueryParam"],["StrictQueryParam"]]],["downloadFile","get","/v1/files/{id}/download",[["id","p",true],["version","q"],["attachment","q"]]],["downloadS3File","post","/v1/files:downloadS3",[["s3_key","q",true],["s3_bucket","q",true],["attachment","q"]]],["downloadFiles","post","/v1/files:downloadFiles",null,1],["previewFile","get","/v1/files/{id}/preview",[["id","p",true],["version","q"],["w","q"],["h","q"]]],["previewS3File","post","/v1/files:previewS3",[["w","q"],["h","q"]],1],["previewS3FileGet","get","/v1/files:previewS3",[["key","q",true],["bucket","q",true],["w","q"],["h","q"]]],["previewPublicFile","get","/v1/files/public/{id}/preview",[["id","p",true],["version","q"],["w","q"],["h","q"],["org_id","q"]]],["getSession","get","/v1/files/session"],["deleteSession","delete","/v1/files/session"],["generatePublicLink","post","/v1/files/{id}/public/links",[["id","p",true]]],["listPublicLinksForFile","get","/v1/files/{id}/public/links",[["id","p",true]]],["accessPublicLink","get","/v1/files/public/links/{id}/{filename}",[["id","p",true],["filename","p",true],["hash","q"]]],["revokePublicLink","delete","/v1/files/public/links/{id}",[["id","p",true]]],["verifyCustomDownloadUrl","post","/v1/files/download:verify",null,1],["uploadFilePublic","post","/v1/files/public/upload",null,1],["getUserSchemaFileCollections","get","/v1/{slug}/collections",[["slug","p",true]]],["createUserSchemaFileCollection","post","/v1/{slug}/collections",[["slug","p",true]],1],["updateUserSchemaFileCollection","put","/v1/{slug}/collections/{collectionSlug}",[["slug","p",true],["collectionSlug","p",true]],1],["deleteUserSchemaFileCollection","delete","/v1/{slug}/collections/{collectionSlug}",[["slug","p",true],["collectionSlug","p",true]]],["getFilesInCollection","get","/v1/entity/{id}/collections/{collectionSlug}/files",[["EntityIdPathParam"],["collectionSlug","p",true]]],["getGlobalFileCollections","get","/v1/collections/{schemaSlug}",[["schemaSlug","p",true]]]],"v":"3.0.3","cp":{"EntityIdPathParam":["id","p",true],"StrictQueryParam":["strict","q"],"ActivityIdQueryParam":["activity_id","q"],"FillActivityQueryParam":["fill_activity","q"],"AsyncOperationQueryParam":["async","q"],"DeleteTempFileQueryParam":["delete_temp_file","q"],"VersionOnlyQueryParam":["version_only","q"]}}
|
|
1
|
+
{"s":"https://file.sls.epilot.io","o":[["uploadFileV2","post","/v2/files/upload",[["file_entity_id","q"]],1],["saveFileV2","post","/v2/files",[["ActivityIdQueryParam"],["FillActivityQueryParam"],["StrictQueryParam"],["AsyncOperationQueryParam"],["DeleteTempFileQueryParam"],["VersionOnlyQueryParam"]],1],["uploadFile","post","/v1/files/upload",[["file_entity_id","q"]],1],["saveFile","post","/v1/files",[["ActivityIdQueryParam"],["AsyncOperationQueryParam"],["VersionOnlyQueryParam"]],1],["getFile","get","/v2/files/{id}",[["id","p",true],["source_url","q"],["StrictQueryParam"],["AsyncOperationQueryParam"]]],["deleteFile","delete","/v2/files/{id}",[["id","p",true],["purge","q"],["ActivityIdQueryParam"],["StrictQueryParam"]]],["downloadFile","get","/v1/files/{id}/download",[["id","p",true],["version","q"],["attachment","q"]]],["downloadS3File","post","/v1/files:downloadS3",[["s3_key","q",true],["s3_bucket","q",true],["attachment","q"]]],["downloadFiles","post","/v1/files:downloadFiles",null,1],["createZipJob","post","/v1/files:zipJob",null,1],["getZipJob","get","/v1/files:zipJob/{job_id}",[["job_id","p",true]]],["previewFile","get","/v1/files/{id}/preview",[["id","p",true],["version","q"],["w","q"],["h","q"]]],["previewS3File","post","/v1/files:previewS3",[["w","q"],["h","q"]],1],["previewS3FileGet","get","/v1/files:previewS3",[["key","q",true],["bucket","q",true],["w","q"],["h","q"]]],["previewPublicFile","get","/v1/files/public/{id}/preview",[["id","p",true],["version","q"],["w","q"],["h","q"],["org_id","q"]]],["getSession","get","/v1/files/session"],["deleteSession","delete","/v1/files/session"],["generatePublicLink","post","/v1/files/{id}/public/links",[["id","p",true]]],["listPublicLinksForFile","get","/v1/files/{id}/public/links",[["id","p",true]]],["accessPublicLink","get","/v1/files/public/links/{id}/{filename}",[["id","p",true],["filename","p",true],["hash","q"]]],["revokePublicLink","delete","/v1/files/public/links/{id}",[["id","p",true]]],["verifyCustomDownloadUrl","post","/v1/files/download:verify",null,1],["uploadFilePublic","post","/v1/files/public/upload",null,1],["getUserSchemaFileCollections","get","/v1/{slug}/collections",[["slug","p",true]]],["createUserSchemaFileCollection","post","/v1/{slug}/collections",[["slug","p",true]],1],["updateUserSchemaFileCollection","put","/v1/{slug}/collections/{collectionSlug}",[["slug","p",true],["collectionSlug","p",true]],1],["deleteUserSchemaFileCollection","delete","/v1/{slug}/collections/{collectionSlug}",[["slug","p",true],["collectionSlug","p",true]]],["getFilesInCollection","get","/v1/entity/{id}/collections/{collectionSlug}/files",[["EntityIdPathParam"],["collectionSlug","p",true]]],["getGlobalFileCollections","get","/v1/collections/{schemaSlug}",[["schemaSlug","p",true]]]],"v":"3.0.3","cp":{"EntityIdPathParam":["id","p",true],"StrictQueryParam":["strict","q"],"ActivityIdQueryParam":["activity_id","q"],"FillActivityQueryParam":["fill_activity","q"],"AsyncOperationQueryParam":["async","q"],"DeleteTempFileQueryParam":["delete_temp_file","q"],"VersionOnlyQueryParam":["version_only","q"]}}
|