@epilot/sdk 2.7.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/file-runtime.json +1 -1
- package/definitions/file.json +262 -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 +6 -6
- package/dist/apis/event-catalog.js +1 -1
- package/dist/apis/file.cjs +8 -8
- package/dist/apis/file.d.cts +2 -2
- package/dist/apis/file.d.ts +2 -2
- package/dist/apis/file.js +2 -2
- package/dist/apis/iban.cjs +6 -6
- package/dist/apis/iban.js +1 -1
- package/dist/apis/integration-toolkit.cjs +6 -6
- package/dist/apis/integration-toolkit.js +1 -1
- package/dist/apis/journey.cjs +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.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-KCPVNRDL.js +14 -0
- package/dist/chunk-KJPOUJBU.cjs +14 -0
- package/dist/chunk-OPXGJKZR.cjs +14 -0
- package/dist/chunk-PTEJYAYJ.js +14 -0
- package/dist/{chunk-35CN2YFK.cjs → chunk-R7XDTILZ.cjs} +6 -6
- package/dist/{chunk-JB7LITSP.js → chunk-SCMAZ73K.js} +6 -6
- 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/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 +14 -14
- package/dist/index.d.cts +3 -3
- package/dist/index.d.ts +3 -3
- package/dist/index.js +4 -4
- package/dist/{js-yaml-DLCVPJ7G.js → js-yaml-UPZKYVRY.js} +15 -17
- package/docs/customer-portal.md +417 -51
- package/docs/email-settings.md +67 -3
- package/docs/file.md +101 -2
- 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/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://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"]}}
|
package/definitions/file.json
CHANGED
|
@@ -780,6 +780,101 @@
|
|
|
780
780
|
}
|
|
781
781
|
}
|
|
782
782
|
},
|
|
783
|
+
"/v1/files:zipJob": {
|
|
784
|
+
"post": {
|
|
785
|
+
"operationId": "createZipJob",
|
|
786
|
+
"summary": "createZipJob",
|
|
787
|
+
"description": "Create a background job to ZIP multiple files and send a download link via email.\n\nFor bulk downloads of more than 50 files, use this async endpoint instead of client-side zipping.\nThe job will:\n1. Download all requested files from S3\n2. Create a ZIP archive\n3. Upload the ZIP to temporary storage\n4. Send an email notification with the download link\n\nThe ZIP file will be available for 7 days.\n",
|
|
788
|
+
"tags": [
|
|
789
|
+
"File"
|
|
790
|
+
],
|
|
791
|
+
"requestBody": {
|
|
792
|
+
"content": {
|
|
793
|
+
"application/json": {
|
|
794
|
+
"schema": {
|
|
795
|
+
"$ref": "#/components/schemas/CreateZipJobPayload"
|
|
796
|
+
},
|
|
797
|
+
"examples": {
|
|
798
|
+
"Zip multiple files": {
|
|
799
|
+
"value": {
|
|
800
|
+
"file_entity_ids": [
|
|
801
|
+
"ef7d985c-2385-44f4-9c71-ae06a52264f8",
|
|
802
|
+
"3fa85f64-5717-4562-b3fc-2c963f66afa6"
|
|
803
|
+
],
|
|
804
|
+
"zip_filename": "Documents.zip",
|
|
805
|
+
"notify_email": true
|
|
806
|
+
}
|
|
807
|
+
}
|
|
808
|
+
}
|
|
809
|
+
}
|
|
810
|
+
}
|
|
811
|
+
},
|
|
812
|
+
"responses": {
|
|
813
|
+
"202": {
|
|
814
|
+
"description": "Job created, processing in background",
|
|
815
|
+
"content": {
|
|
816
|
+
"application/json": {
|
|
817
|
+
"schema": {
|
|
818
|
+
"$ref": "#/components/schemas/ZipJob"
|
|
819
|
+
}
|
|
820
|
+
}
|
|
821
|
+
}
|
|
822
|
+
},
|
|
823
|
+
"400": {
|
|
824
|
+
"$ref": "#/components/responses/BadRequestError"
|
|
825
|
+
},
|
|
826
|
+
"401": {
|
|
827
|
+
"$ref": "#/components/responses/UnauthorizedError"
|
|
828
|
+
},
|
|
829
|
+
"500": {
|
|
830
|
+
"$ref": "#/components/responses/InternalServerError"
|
|
831
|
+
}
|
|
832
|
+
}
|
|
833
|
+
}
|
|
834
|
+
},
|
|
835
|
+
"/v1/files:zipJob/{job_id}": {
|
|
836
|
+
"get": {
|
|
837
|
+
"operationId": "getZipJob",
|
|
838
|
+
"summary": "getZipJob",
|
|
839
|
+
"description": "Get the status of a ZIP job",
|
|
840
|
+
"tags": [
|
|
841
|
+
"File"
|
|
842
|
+
],
|
|
843
|
+
"parameters": [
|
|
844
|
+
{
|
|
845
|
+
"name": "job_id",
|
|
846
|
+
"in": "path",
|
|
847
|
+
"required": true,
|
|
848
|
+
"description": "The UUID of the ZIP job",
|
|
849
|
+
"schema": {
|
|
850
|
+
"type": "string",
|
|
851
|
+
"format": "uuid"
|
|
852
|
+
}
|
|
853
|
+
}
|
|
854
|
+
],
|
|
855
|
+
"responses": {
|
|
856
|
+
"200": {
|
|
857
|
+
"description": "ZIP job status",
|
|
858
|
+
"content": {
|
|
859
|
+
"application/json": {
|
|
860
|
+
"schema": {
|
|
861
|
+
"$ref": "#/components/schemas/ZipJob"
|
|
862
|
+
}
|
|
863
|
+
}
|
|
864
|
+
}
|
|
865
|
+
},
|
|
866
|
+
"401": {
|
|
867
|
+
"$ref": "#/components/responses/UnauthorizedError"
|
|
868
|
+
},
|
|
869
|
+
"404": {
|
|
870
|
+
"$ref": "#/components/responses/NotFoundError"
|
|
871
|
+
},
|
|
872
|
+
"500": {
|
|
873
|
+
"$ref": "#/components/responses/InternalServerError"
|
|
874
|
+
}
|
|
875
|
+
}
|
|
876
|
+
}
|
|
877
|
+
},
|
|
783
878
|
"/v1/files/{id}/preview": {
|
|
784
879
|
"get": {
|
|
785
880
|
"operationId": "previewFile",
|
|
@@ -1199,8 +1294,7 @@
|
|
|
1199
1294
|
"get": {
|
|
1200
1295
|
"operationId": "listPublicLinksForFile",
|
|
1201
1296
|
"summary": "listPublicLinksForFile",
|
|
1202
|
-
"description": "
|
|
1203
|
-
"x-not-implemented": true,
|
|
1297
|
+
"description": "Fetches all public links previously generated for a file",
|
|
1204
1298
|
"parameters": [
|
|
1205
1299
|
{
|
|
1206
1300
|
"name": "id",
|
|
@@ -1340,8 +1434,7 @@
|
|
|
1340
1434
|
"delete": {
|
|
1341
1435
|
"operationId": "revokePublicLink",
|
|
1342
1436
|
"summary": "revokePublicLink",
|
|
1343
|
-
"description": "
|
|
1344
|
-
"x-not-implemented": true,
|
|
1437
|
+
"description": "Revokes a given public link by ID",
|
|
1345
1438
|
"parameters": [
|
|
1346
1439
|
{
|
|
1347
1440
|
"name": "id",
|
|
@@ -2378,6 +2471,171 @@
|
|
|
2378
2471
|
]
|
|
2379
2472
|
}
|
|
2380
2473
|
},
|
|
2474
|
+
"CreateZipJobPayload": {
|
|
2475
|
+
"type": "object",
|
|
2476
|
+
"description": "Request payload to create a ZIP job for bulk file download.\nProvide either an explicit list of `file_entity_ids` (up to 1000) or an\n`entity_query` that resolves to file entities (up to 10000).\n",
|
|
2477
|
+
"properties": {
|
|
2478
|
+
"file_entity_ids": {
|
|
2479
|
+
"type": "array",
|
|
2480
|
+
"description": "List of file entity IDs to include in the ZIP",
|
|
2481
|
+
"items": {
|
|
2482
|
+
"type": "string",
|
|
2483
|
+
"format": "uuid"
|
|
2484
|
+
},
|
|
2485
|
+
"minItems": 1,
|
|
2486
|
+
"maxItems": 1000,
|
|
2487
|
+
"example": [
|
|
2488
|
+
"ef7d985c-2385-44f4-9c71-ae06a52264f8",
|
|
2489
|
+
"3fa85f64-5717-4562-b3fc-2c963f66afa6"
|
|
2490
|
+
]
|
|
2491
|
+
},
|
|
2492
|
+
"entity_query": {
|
|
2493
|
+
"type": "object",
|
|
2494
|
+
"description": "Entity search query used to resolve files to include in the ZIP",
|
|
2495
|
+
"properties": {
|
|
2496
|
+
"q": {
|
|
2497
|
+
"type": "string",
|
|
2498
|
+
"description": "Lucene-style search query (same syntax as entity search)",
|
|
2499
|
+
"example": "_schema:file AND _tags:invoice"
|
|
2500
|
+
},
|
|
2501
|
+
"sort": {
|
|
2502
|
+
"type": "string",
|
|
2503
|
+
"description": "Sort expression forwarded to the entity search",
|
|
2504
|
+
"example": "_created_at:desc"
|
|
2505
|
+
}
|
|
2506
|
+
},
|
|
2507
|
+
"required": [
|
|
2508
|
+
"q"
|
|
2509
|
+
]
|
|
2510
|
+
},
|
|
2511
|
+
"zip_filename": {
|
|
2512
|
+
"type": "string",
|
|
2513
|
+
"description": "Name of the generated ZIP file",
|
|
2514
|
+
"default": "Files.zip",
|
|
2515
|
+
"example": "Documents.zip"
|
|
2516
|
+
},
|
|
2517
|
+
"notify_email": {
|
|
2518
|
+
"type": "boolean",
|
|
2519
|
+
"description": "Send email notification when ZIP is ready",
|
|
2520
|
+
"default": true
|
|
2521
|
+
}
|
|
2522
|
+
},
|
|
2523
|
+
"oneOf": [
|
|
2524
|
+
{
|
|
2525
|
+
"required": [
|
|
2526
|
+
"file_entity_ids"
|
|
2527
|
+
]
|
|
2528
|
+
},
|
|
2529
|
+
{
|
|
2530
|
+
"required": [
|
|
2531
|
+
"entity_query"
|
|
2532
|
+
]
|
|
2533
|
+
}
|
|
2534
|
+
]
|
|
2535
|
+
},
|
|
2536
|
+
"ZipJob": {
|
|
2537
|
+
"type": "object",
|
|
2538
|
+
"description": "ZIP job status and result",
|
|
2539
|
+
"properties": {
|
|
2540
|
+
"job_id": {
|
|
2541
|
+
"type": "string",
|
|
2542
|
+
"format": "uuid",
|
|
2543
|
+
"description": "Unique identifier for the ZIP job",
|
|
2544
|
+
"example": "3fa85f64-5717-4562-b3fc-2c963f66afa6"
|
|
2545
|
+
},
|
|
2546
|
+
"status": {
|
|
2547
|
+
"type": "string",
|
|
2548
|
+
"description": "Current status of the ZIP job",
|
|
2549
|
+
"enum": [
|
|
2550
|
+
"queued",
|
|
2551
|
+
"downloading",
|
|
2552
|
+
"zipping",
|
|
2553
|
+
"uploading",
|
|
2554
|
+
"sending_notification",
|
|
2555
|
+
"completed",
|
|
2556
|
+
"failed"
|
|
2557
|
+
],
|
|
2558
|
+
"example": "completed"
|
|
2559
|
+
},
|
|
2560
|
+
"progress": {
|
|
2561
|
+
"type": "object",
|
|
2562
|
+
"description": "Progress information for the job",
|
|
2563
|
+
"properties": {
|
|
2564
|
+
"total_files": {
|
|
2565
|
+
"type": "integer",
|
|
2566
|
+
"description": "Total number of files to process",
|
|
2567
|
+
"example": 100
|
|
2568
|
+
},
|
|
2569
|
+
"downloaded_files": {
|
|
2570
|
+
"type": "integer",
|
|
2571
|
+
"description": "Number of files successfully downloaded",
|
|
2572
|
+
"example": 75
|
|
2573
|
+
},
|
|
2574
|
+
"failed_files": {
|
|
2575
|
+
"type": "integer",
|
|
2576
|
+
"description": "Number of files that failed to download",
|
|
2577
|
+
"example": 2
|
|
2578
|
+
}
|
|
2579
|
+
}
|
|
2580
|
+
},
|
|
2581
|
+
"result": {
|
|
2582
|
+
"type": "object",
|
|
2583
|
+
"description": "Result of the completed ZIP job",
|
|
2584
|
+
"properties": {
|
|
2585
|
+
"file_entity_id": {
|
|
2586
|
+
"type": "string",
|
|
2587
|
+
"format": "uuid",
|
|
2588
|
+
"description": "File entity ID of the generated ZIP",
|
|
2589
|
+
"example": "ef7d985c-2385-44f4-9c71-ae06a52264f8"
|
|
2590
|
+
},
|
|
2591
|
+
"download_url": {
|
|
2592
|
+
"type": "string",
|
|
2593
|
+
"format": "uri",
|
|
2594
|
+
"description": "Presigned download URL (expires in 24 hours)",
|
|
2595
|
+
"example": "https://epilot-prod-user-content.s3.eu-central-1.amazonaws.com/123/files.zip?X-Amz-..."
|
|
2596
|
+
},
|
|
2597
|
+
"expires_at": {
|
|
2598
|
+
"type": "string",
|
|
2599
|
+
"format": "date-time",
|
|
2600
|
+
"description": "When the download URL expires",
|
|
2601
|
+
"example": "2024-01-02T12:00:00Z"
|
|
2602
|
+
},
|
|
2603
|
+
"zip_size_bytes": {
|
|
2604
|
+
"type": "integer",
|
|
2605
|
+
"description": "Size of the generated ZIP file in bytes",
|
|
2606
|
+
"example": 104857600
|
|
2607
|
+
}
|
|
2608
|
+
}
|
|
2609
|
+
},
|
|
2610
|
+
"error": {
|
|
2611
|
+
"type": "string",
|
|
2612
|
+
"description": "Error message if job failed",
|
|
2613
|
+
"example": "Failed to download file: access denied"
|
|
2614
|
+
},
|
|
2615
|
+
"created_at": {
|
|
2616
|
+
"type": "string",
|
|
2617
|
+
"format": "date-time",
|
|
2618
|
+
"description": "When the job was created",
|
|
2619
|
+
"example": "2024-01-01T12:00:00Z"
|
|
2620
|
+
},
|
|
2621
|
+
"created_by": {
|
|
2622
|
+
"type": "string",
|
|
2623
|
+
"description": "User ID who created the job",
|
|
2624
|
+
"example": "10234"
|
|
2625
|
+
},
|
|
2626
|
+
"org_id": {
|
|
2627
|
+
"type": "string",
|
|
2628
|
+
"description": "Organization ID",
|
|
2629
|
+
"example": "123"
|
|
2630
|
+
},
|
|
2631
|
+
"updated_at": {
|
|
2632
|
+
"type": "string",
|
|
2633
|
+
"format": "date-time",
|
|
2634
|
+
"description": "When the job was last updated",
|
|
2635
|
+
"example": "2024-01-01T12:05:00Z"
|
|
2636
|
+
}
|
|
2637
|
+
}
|
|
2638
|
+
},
|
|
2381
2639
|
"VerifyCustomDownloadUrlPayload": {
|
|
2382
2640
|
"type": "object",
|
|
2383
2641
|
"properties": {
|
|
@@ -6,25 +6,25 @@ var _chunkOXJOO2YFcjs = require('../chunk-OXJOO2YF.cjs');
|
|
|
6
6
|
|
|
7
7
|
|
|
8
8
|
|
|
9
|
-
var
|
|
9
|
+
var _chunkR7XDTILZcjs = require('../chunk-R7XDTILZ.cjs');
|
|
10
10
|
require('../chunk-NJK5F5TF.cjs');
|
|
11
11
|
|
|
12
12
|
// src/apis/access-token.ts
|
|
13
13
|
var loadDefinition = () => {
|
|
14
14
|
const mod = _chunkOXJOO2YFcjs.require_access_token_runtime.call(void 0, );
|
|
15
|
-
return
|
|
15
|
+
return _chunkR7XDTILZcjs.expand.call(void 0, _nullishCoalesce(mod.default, () => ( mod)));
|
|
16
16
|
};
|
|
17
17
|
var _instance = null;
|
|
18
18
|
var resolve = () => {
|
|
19
19
|
if (!_instance) {
|
|
20
20
|
const def = loadDefinition();
|
|
21
|
-
_instance =
|
|
21
|
+
_instance = _chunkR7XDTILZcjs.createApiClient.call(void 0, { definition: def, apiName: "accessToken" });
|
|
22
22
|
}
|
|
23
23
|
return _instance;
|
|
24
24
|
};
|
|
25
|
-
var _handle =
|
|
25
|
+
var _handle = _chunkR7XDTILZcjs.createApiHandle.call(void 0, {
|
|
26
26
|
resolveClient: resolve,
|
|
27
|
-
createClient: () =>
|
|
27
|
+
createClient: () => _chunkR7XDTILZcjs.createApiClient.call(void 0, { definition: loadDefinition(), apiName: "accessToken" }),
|
|
28
28
|
apiName: "accessToken"
|
|
29
29
|
});
|
|
30
30
|
var getClient = _handle.getClient;
|
|
@@ -35,4 +35,4 @@ var accessToken = _handle;
|
|
|
35
35
|
|
|
36
36
|
|
|
37
37
|
|
|
38
|
-
exports.accessToken = accessToken; exports.authorize =
|
|
38
|
+
exports.accessToken = accessToken; exports.authorize = _chunkR7XDTILZcjs.authorize; exports.createClient = createClient; exports.getClient = getClient;
|
|
@@ -6,25 +6,25 @@ var _chunkLKRBFBFNcjs = require('../chunk-LKRBFBFN.cjs');
|
|
|
6
6
|
|
|
7
7
|
|
|
8
8
|
|
|
9
|
-
var
|
|
9
|
+
var _chunkR7XDTILZcjs = require('../chunk-R7XDTILZ.cjs');
|
|
10
10
|
require('../chunk-NJK5F5TF.cjs');
|
|
11
11
|
|
|
12
12
|
// src/apis/address-suggestions.ts
|
|
13
13
|
var loadDefinition = () => {
|
|
14
14
|
const mod = _chunkLKRBFBFNcjs.require_address_suggestions_runtime.call(void 0, );
|
|
15
|
-
return
|
|
15
|
+
return _chunkR7XDTILZcjs.expand.call(void 0, _nullishCoalesce(mod.default, () => ( mod)));
|
|
16
16
|
};
|
|
17
17
|
var _instance = null;
|
|
18
18
|
var resolve = () => {
|
|
19
19
|
if (!_instance) {
|
|
20
20
|
const def = loadDefinition();
|
|
21
|
-
_instance =
|
|
21
|
+
_instance = _chunkR7XDTILZcjs.createApiClient.call(void 0, { definition: def, apiName: "addressSuggestions" });
|
|
22
22
|
}
|
|
23
23
|
return _instance;
|
|
24
24
|
};
|
|
25
|
-
var _handle =
|
|
25
|
+
var _handle = _chunkR7XDTILZcjs.createApiHandle.call(void 0, {
|
|
26
26
|
resolveClient: resolve,
|
|
27
|
-
createClient: () =>
|
|
27
|
+
createClient: () => _chunkR7XDTILZcjs.createApiClient.call(void 0, { definition: loadDefinition(), apiName: "addressSuggestions" }),
|
|
28
28
|
apiName: "addressSuggestions"
|
|
29
29
|
});
|
|
30
30
|
var getClient = _handle.getClient;
|
|
@@ -35,4 +35,4 @@ var addressSuggestions = _handle;
|
|
|
35
35
|
|
|
36
36
|
|
|
37
37
|
|
|
38
|
-
exports.addressSuggestions = addressSuggestions; exports.authorize =
|
|
38
|
+
exports.addressSuggestions = addressSuggestions; exports.authorize = _chunkR7XDTILZcjs.authorize; exports.createClient = createClient; exports.getClient = getClient;
|
package/dist/apis/address.cjs
CHANGED
|
@@ -6,25 +6,25 @@ var _chunkT67ZXTVGcjs = require('../chunk-T67ZXTVG.cjs');
|
|
|
6
6
|
|
|
7
7
|
|
|
8
8
|
|
|
9
|
-
var
|
|
9
|
+
var _chunkR7XDTILZcjs = require('../chunk-R7XDTILZ.cjs');
|
|
10
10
|
require('../chunk-NJK5F5TF.cjs');
|
|
11
11
|
|
|
12
12
|
// src/apis/address.ts
|
|
13
13
|
var loadDefinition = () => {
|
|
14
14
|
const mod = _chunkT67ZXTVGcjs.require_address_runtime.call(void 0, );
|
|
15
|
-
return
|
|
15
|
+
return _chunkR7XDTILZcjs.expand.call(void 0, _nullishCoalesce(mod.default, () => ( mod)));
|
|
16
16
|
};
|
|
17
17
|
var _instance = null;
|
|
18
18
|
var resolve = () => {
|
|
19
19
|
if (!_instance) {
|
|
20
20
|
const def = loadDefinition();
|
|
21
|
-
_instance =
|
|
21
|
+
_instance = _chunkR7XDTILZcjs.createApiClient.call(void 0, { definition: def, apiName: "address" });
|
|
22
22
|
}
|
|
23
23
|
return _instance;
|
|
24
24
|
};
|
|
25
|
-
var _handle =
|
|
25
|
+
var _handle = _chunkR7XDTILZcjs.createApiHandle.call(void 0, {
|
|
26
26
|
resolveClient: resolve,
|
|
27
|
-
createClient: () =>
|
|
27
|
+
createClient: () => _chunkR7XDTILZcjs.createApiClient.call(void 0, { definition: loadDefinition(), apiName: "address" }),
|
|
28
28
|
apiName: "address"
|
|
29
29
|
});
|
|
30
30
|
var getClient = _handle.getClient;
|
|
@@ -35,4 +35,4 @@ var address = _handle;
|
|
|
35
35
|
|
|
36
36
|
|
|
37
37
|
|
|
38
|
-
exports.address = address; exports.authorize =
|
|
38
|
+
exports.address = address; exports.authorize = _chunkR7XDTILZcjs.authorize; exports.createClient = createClient; exports.getClient = getClient;
|
package/dist/apis/address.js
CHANGED
package/dist/apis/ai-agents.cjs
CHANGED
|
@@ -6,25 +6,25 @@ var _chunkFARDEGPHcjs = require('../chunk-FARDEGPH.cjs');
|
|
|
6
6
|
|
|
7
7
|
|
|
8
8
|
|
|
9
|
-
var
|
|
9
|
+
var _chunkR7XDTILZcjs = require('../chunk-R7XDTILZ.cjs');
|
|
10
10
|
require('../chunk-NJK5F5TF.cjs');
|
|
11
11
|
|
|
12
12
|
// src/apis/ai-agents.ts
|
|
13
13
|
var loadDefinition = () => {
|
|
14
14
|
const mod = _chunkFARDEGPHcjs.require_ai_agents_runtime.call(void 0, );
|
|
15
|
-
return
|
|
15
|
+
return _chunkR7XDTILZcjs.expand.call(void 0, _nullishCoalesce(mod.default, () => ( mod)));
|
|
16
16
|
};
|
|
17
17
|
var _instance = null;
|
|
18
18
|
var resolve = () => {
|
|
19
19
|
if (!_instance) {
|
|
20
20
|
const def = loadDefinition();
|
|
21
|
-
_instance =
|
|
21
|
+
_instance = _chunkR7XDTILZcjs.createApiClient.call(void 0, { definition: def, apiName: "aiAgents" });
|
|
22
22
|
}
|
|
23
23
|
return _instance;
|
|
24
24
|
};
|
|
25
|
-
var _handle =
|
|
25
|
+
var _handle = _chunkR7XDTILZcjs.createApiHandle.call(void 0, {
|
|
26
26
|
resolveClient: resolve,
|
|
27
|
-
createClient: () =>
|
|
27
|
+
createClient: () => _chunkR7XDTILZcjs.createApiClient.call(void 0, { definition: loadDefinition(), apiName: "aiAgents" }),
|
|
28
28
|
apiName: "aiAgents"
|
|
29
29
|
});
|
|
30
30
|
var getClient = _handle.getClient;
|
|
@@ -35,4 +35,4 @@ var aiAgents = _handle;
|
|
|
35
35
|
|
|
36
36
|
|
|
37
37
|
|
|
38
|
-
exports.aiAgents = aiAgents; exports.authorize =
|
|
38
|
+
exports.aiAgents = aiAgents; exports.authorize = _chunkR7XDTILZcjs.authorize; exports.createClient = createClient; exports.getClient = getClient;
|