@epilot/erp-integration-client 0.28.0-rc1 → 0.28.0-rc3
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/dist/definition.js +1 -1
- package/dist/openapi-runtime.json +6 -0
- package/dist/openapi.d.ts +58 -2
- package/dist/openapi.json +107 -6
- package/package.json +1 -1
package/dist/definition.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(()=>{"use strict";var e={330(e,t,n){var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var o=r(n(466));t.default=o.default},466(e){e.exports=JSON.parse('{"openapi":"3.0.3","info":{"title":"","version":""},"servers":[{"url":"https://erp-integration-api.sls.epilot.io"}],"paths":{"/v1/erp/tracking/acknowledgement":{"post":{"operationId":"acknowledgeTracking","requestBody":{"content":{"application/json":{}}},"responses":{}}},"/v1/erp/trigger":{"post":{"operationId":"triggerErp","requestBody":{"required":true,"content":{"application/json":{}}},"responses":{}}},"/v1/erp/updates/events":{"post":{"deprecated":true,"operationId":"processErpUpdatesEvents","requestBody":{"content":{"application/json":{}}},"responses":{}}},"/v2/erp/updates/events":{"post":{"deprecated":true,"operationId":"processErpUpdatesEventsV2","requestBody":{"content":{"application/json":{}}},"responses":{}}},"/v3/erp/updates/events":{"post":{"operationId":"processErpUpdatesEventsV3","requestBody":{"content":{"application/json":{}}},"responses":{}}},"/v2/erp/updates/mapping_simulation":{"post":{"operationId":"simulateMappingV2","requestBody":{"required":true,"content":{"application/json":{}}},"responses":{}}},"/v1/erp/updates/mapping_simulation":{"post":{"operationId":"simulateMapping","requestBody":{"required":true,"content":{"application/json":{}}},"responses":{}}},"/v1/integrations":{"get":{"operationId":"listIntegrations","responses":{}},"post":{"operationId":"createIntegration","requestBody":{"required":true,"content":{"application/json":{}}},"responses":{}}},"/v1/integrations/{integrationId}":{"get":{"operationId":"getIntegration","parameters":[{"name":"integrationId","in":"path","required":true}],"responses":{}},"put":{"operationId":"updateIntegration","parameters":[{"name":"integrationId","in":"path","required":true}],"requestBody":{"required":true,"content":{"application/json":{}}},"responses":{}},"delete":{"operationId":"deleteIntegration","parameters":[{"name":"integrationId","in":"path","required":true}],"responses":{}}},"/v1/integrations/{integrationId}/events":{"post":{"operationId":"queryEvents","parameters":[{"name":"integrationId","in":"path","required":true}],"requestBody":{"required":true,"content":{"application/json":{}}},"responses":{}}},"/v1/integrations/{integrationId}/events/replay":{"post":{"operationId":"replayEvents","parameters":[{"name":"integrationId","in":"path","required":true}],"requestBody":{"required":true,"content":{"application/json":{}}},"responses":{}}},"/v1/integrations/{integrationId}/use-cases":{"get":{"operationId":"listUseCases","parameters":[{"name":"integrationId","in":"path","required":true}],"responses":{}},"post":{"operationId":"createUseCase","parameters":[{"name":"integrationId","in":"path","required":true}],"requestBody":{"required":true,"content":{"application/json":{}}},"responses":{}}},"/v1/integrations/{integrationId}/use-cases/{useCaseId}":{"get":{"operationId":"getUseCase","parameters":[{"name":"integrationId","in":"path","required":true},{"name":"useCaseId","in":"path","required":true}],"responses":{}},"put":{"operationId":"updateUseCase","parameters":[{"name":"integrationId","in":"path","required":true},{"name":"useCaseId","in":"path","required":true}],"requestBody":{"required":true,"content":{"application/json":{}}},"responses":{}},"delete":{"operationId":"deleteUseCase","parameters":[{"name":"integrationId","in":"path","required":true},{"name":"useCaseId","in":"path","required":true}],"responses":{}}},"/v1/integrations/{integrationId}/use-cases/{useCaseId}/history":{"get":{"operationId":"listUseCaseHistory","parameters":[{"name":"integrationId","in":"path","required":true},{"name":"useCaseId","in":"path","required":true},{"name":"cursor","in":"query","required":false}],"responses":{}}},"/v2/integrations":{"get":{"operationId":"listIntegrationsV2","responses":{}},"post":{"operationId":"createIntegrationV2","requestBody":{"required":true,"content":{"application/json":{}}},"responses":{}}},"/v2/integrations/{integrationId}":{"get":{"operationId":"getIntegrationV2","parameters":[{"name":"integrationId","in":"path","required":true}],"responses":{}},"put":{"operationId":"updateIntegrationV2","parameters":[{"name":"integrationId","in":"path","required":true}],"requestBody":{"required":true,"content":{"application/json":{}}},"responses":{}},"delete":{"operationId":"deleteIntegrationV2","parameters":[{"name":"integrationId","in":"path","required":true}],"responses":{}}},"/v1/integrations/{integrationId}/app-mapping":{"put":{"operationId":"setIntegrationAppMapping","parameters":[{"name":"integrationId","in":"path","required":true}],"requestBody":{"required":true,"content":{"application/json":{}}},"responses":{}},"delete":{"operationId":"deleteIntegrationAppMapping","parameters":[{"name":"integrationId","in":"path","required":true}],"requestBody":{"required":true,"content":{"application/json":{}}},"responses":{}}},"/v1/integrations/{integrationId}/monitoring/inbound-events":{"post":{"operationId":"queryInboundMonitoringEvents","parameters":[{"name":"integrationId","in":"path","required":true}],"requestBody":{"required":true,"content":{"application/json":{}}},"responses":{}}},"/v1/integrations/{integrationId}/monitoring/stats":{"post":{"operationId":"getMonitoringStats","parameters":[{"name":"integrationId","in":"path","required":true}],"requestBody":{"required":true,"content":{"application/json":{}}},"responses":{}}},"/v1/integrations/{integrationId}/monitoring/timeseries":{"post":{"operationId":"getMonitoringTimeSeries","parameters":[{"name":"integrationId","in":"path","required":true}],"requestBody":{"required":true,"content":{"application/json":{}}},"responses":{}}},"/v1/integrations/{integrationId}/outbound-status":{"get":{"operationId":"getOutboundStatus","parameters":[{"name":"integrationId","in":"path","required":true}],"responses":{}}},"/v1/integrations/{integrationId}/monitoring/access-logs":{"post":{"operationId":"queryAccessLogs","parameters":[{"name":"integrationId","in":"path","required":true}],"requestBody":{"required":true,"content":{"application/json":{}}},"responses":{}}},"/v1/integrations/{integrationId}/monitoring/outbound-events":{"post":{"operationId":"queryOutboundMonitoringEvents","parameters":[{"name":"integrationId","in":"path","required":true}],"requestBody":{"required":true,"content":{"application/json":{}}},"responses":{}}},"/v1/secure-proxy":{"post":{"operationId":"secureProxy","requestBody":{"required":true,"content":{"application/json":{}}},"responses":{}}}},"components":{"responses":{"BadRequest":{"content":{"application/json":{}}},"NotFound":{"content":{"application/json":{}}},"Unauthorized":{"content":{"application/json":{}}},"InternalServerError":{"content":{"application/json":{}}},"QueryInboundMonitoringEventsResponse":{"content":{"application/json":{}}},"GetMonitoringStatsResponse":{"content":{"application/json":{}}},"GetMonitoringTimeSeriesResponse":{"content":{"application/json":{}}},"QueryAccessLogsResponse":{"content":{"application/json":{}}},"QueryOutboundMonitoringEventsResponse":{"content":{"application/json":{}}},"ReplayEventsResponse":{"content":{"application/json":{}}},"ERPUpdatesResponse":{"content":{"application/json":{}}},"TriggerWebhookResponse":{"content":{"application/json":{}}},"QueryEventsResponse":{"content":{"application/json":{}}}}}}')}},t={},n=function n(r){var o=t[r];if(void 0!==o)return o.exports;var i=t[r]={exports:{}};return e[r].call(i.exports,i,i.exports,n),i.exports}(330),r=exports;for(var o in n)r[o]=n[o];n.__esModule&&Object.defineProperty(r,"__esModule",{value:!0})})();
|
|
1
|
+
(()=>{"use strict";var e={330(e,t,n){var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var o=r(n(466));t.default=o.default},466(e){e.exports=JSON.parse('{"openapi":"3.0.3","info":{"title":"","version":""},"servers":[{"url":"https://erp-integration-api.sls.epilot.io"}],"paths":{"/v1/erp/tracking/acknowledgement":{"post":{"operationId":"acknowledgeTracking","requestBody":{"content":{"application/json":{}}},"responses":{}}},"/v1/erp/trigger":{"post":{"operationId":"triggerErp","requestBody":{"required":true,"content":{"application/json":{}}},"responses":{}}},"/v1/erp/updates/events":{"post":{"deprecated":true,"operationId":"processErpUpdatesEvents","requestBody":{"content":{"application/json":{}}},"responses":{}}},"/v2/erp/updates/events":{"post":{"deprecated":true,"operationId":"processErpUpdatesEventsV2","requestBody":{"content":{"application/json":{}}},"responses":{}}},"/v3/erp/updates/events":{"post":{"operationId":"processErpUpdatesEventsV3","requestBody":{"content":{"application/json":{}}},"responses":{}}},"/v2/erp/updates/mapping_simulation":{"post":{"operationId":"simulateMappingV2","requestBody":{"required":true,"content":{"application/json":{}}},"responses":{}}},"/v1/erp/updates/mapping_simulation":{"post":{"operationId":"simulateMapping","requestBody":{"required":true,"content":{"application/json":{}}},"responses":{}}},"/v1/integrations":{"get":{"operationId":"listIntegrations","responses":{}},"post":{"operationId":"createIntegration","requestBody":{"required":true,"content":{"application/json":{}}},"responses":{}}},"/v1/integrations/{integrationId}":{"get":{"operationId":"getIntegration","parameters":[{"name":"integrationId","in":"path","required":true}],"responses":{}},"put":{"operationId":"updateIntegration","parameters":[{"name":"integrationId","in":"path","required":true}],"requestBody":{"required":true,"content":{"application/json":{}}},"responses":{}},"delete":{"operationId":"deleteIntegration","parameters":[{"name":"integrationId","in":"path","required":true}],"responses":{}}},"/v1/integrations/{integrationId}/events":{"post":{"operationId":"queryEvents","parameters":[{"name":"integrationId","in":"path","required":true}],"requestBody":{"required":true,"content":{"application/json":{}}},"responses":{}}},"/v1/integrations/{integrationId}/events/replay":{"post":{"operationId":"replayEvents","parameters":[{"name":"integrationId","in":"path","required":true}],"requestBody":{"required":true,"content":{"application/json":{}}},"responses":{}}},"/v1/integrations/{integrationId}/use-cases":{"get":{"operationId":"listUseCases","parameters":[{"name":"integrationId","in":"path","required":true}],"responses":{}},"post":{"operationId":"createUseCase","parameters":[{"name":"integrationId","in":"path","required":true}],"requestBody":{"required":true,"content":{"application/json":{}}},"responses":{}}},"/v1/integrations/{integrationId}/use-cases/{useCaseId}":{"get":{"operationId":"getUseCase","parameters":[{"name":"integrationId","in":"path","required":true},{"name":"useCaseId","in":"path","required":true}],"responses":{}},"put":{"operationId":"updateUseCase","parameters":[{"name":"integrationId","in":"path","required":true},{"name":"useCaseId","in":"path","required":true}],"requestBody":{"required":true,"content":{"application/json":{}}},"responses":{}},"delete":{"operationId":"deleteUseCase","parameters":[{"name":"integrationId","in":"path","required":true},{"name":"useCaseId","in":"path","required":true}],"responses":{}}},"/v1/integrations/{integrationId}/use-cases/{useCaseId}/history":{"get":{"operationId":"listUseCaseHistory","parameters":[{"name":"integrationId","in":"path","required":true},{"name":"useCaseId","in":"path","required":true},{"name":"cursor","in":"query","required":false}],"responses":{}}},"/v2/integrations":{"get":{"operationId":"listIntegrationsV2","responses":{}},"post":{"operationId":"createIntegrationV2","requestBody":{"required":true,"content":{"application/json":{}}},"responses":{}}},"/v2/integrations/{integrationId}":{"get":{"operationId":"getIntegrationV2","parameters":[{"name":"integrationId","in":"path","required":true}],"responses":{}},"put":{"operationId":"updateIntegrationV2","parameters":[{"name":"integrationId","in":"path","required":true}],"requestBody":{"required":true,"content":{"application/json":{}}},"responses":{}},"delete":{"operationId":"deleteIntegrationV2","parameters":[{"name":"integrationId","in":"path","required":true}],"responses":{}}},"/v1/integrations/{integrationId}/app-mapping":{"put":{"operationId":"setIntegrationAppMapping","parameters":[{"name":"integrationId","in":"path","required":true}],"requestBody":{"required":true,"content":{"application/json":{}}},"responses":{}},"delete":{"operationId":"deleteIntegrationAppMapping","parameters":[{"name":"integrationId","in":"path","required":true}],"requestBody":{"required":true,"content":{"application/json":{}}},"responses":{}}},"/v1/integrations/{integrationId}/monitoring/inbound-events":{"post":{"operationId":"queryInboundMonitoringEvents","parameters":[{"name":"integrationId","in":"path","required":true}],"requestBody":{"required":true,"content":{"application/json":{}}},"responses":{}}},"/v1/integrations/{integrationId}/monitoring/stats":{"post":{"operationId":"getMonitoringStats","parameters":[{"name":"integrationId","in":"path","required":true}],"requestBody":{"required":true,"content":{"application/json":{}}},"responses":{}}},"/v1/integrations/{integrationId}/monitoring/timeseries":{"post":{"operationId":"getMonitoringTimeSeries","parameters":[{"name":"integrationId","in":"path","required":true}],"requestBody":{"required":true,"content":{"application/json":{}}},"responses":{}}},"/v1/integrations/{integrationId}/outbound-status":{"get":{"operationId":"getOutboundStatus","parameters":[{"name":"integrationId","in":"path","required":true}],"responses":{}}},"/v1/integrations/{integrationId}/monitoring/access-logs":{"post":{"operationId":"queryAccessLogs","parameters":[{"name":"integrationId","in":"path","required":true}],"requestBody":{"required":true,"content":{"application/json":{}}},"responses":{}}},"/v1/integrations/{integrationId}/monitoring/outbound-events":{"post":{"operationId":"queryOutboundMonitoringEvents","parameters":[{"name":"integrationId","in":"path","required":true}],"requestBody":{"required":true,"content":{"application/json":{}}},"responses":{}}},"/v1/integrations/secure-proxies":{"get":{"operationId":"listSecureProxies","responses":{}}},"/v1/secure-proxy":{"post":{"operationId":"secureProxy","requestBody":{"required":true,"content":{"application/json":{}}},"responses":{}}}},"components":{"responses":{"BadRequest":{"content":{"application/json":{}}},"NotFound":{"content":{"application/json":{}}},"Unauthorized":{"content":{"application/json":{}}},"InternalServerError":{"content":{"application/json":{}}},"QueryInboundMonitoringEventsResponse":{"content":{"application/json":{}}},"GetMonitoringStatsResponse":{"content":{"application/json":{}}},"GetMonitoringTimeSeriesResponse":{"content":{"application/json":{}}},"QueryAccessLogsResponse":{"content":{"application/json":{}}},"QueryOutboundMonitoringEventsResponse":{"content":{"application/json":{}}},"ReplayEventsResponse":{"content":{"application/json":{}}},"ERPUpdatesResponse":{"content":{"application/json":{}}},"TriggerWebhookResponse":{"content":{"application/json":{}}},"QueryEventsResponse":{"content":{"application/json":{}}}}}}')}},t={},n=function n(r){var o=t[r];if(void 0!==o)return o.exports;var i=t[r]={exports:{}};return e[r].call(i.exports,i,i.exports,n),i.exports}(330),r=exports;for(var o in n)r[o]=n[o];n.__esModule&&Object.defineProperty(r,"__esModule",{value:!0})})();
|
package/dist/openapi.d.ts
CHANGED
|
@@ -794,6 +794,12 @@ declare namespace Components {
|
|
|
794
794
|
*/
|
|
795
795
|
content_type?: string;
|
|
796
796
|
}
|
|
797
|
+
export interface FileProxySecureProxyAttachment {
|
|
798
|
+
/**
|
|
799
|
+
* Slug of the secure_proxy use case in the same integration.
|
|
800
|
+
*/
|
|
801
|
+
use_case_slug: string;
|
|
802
|
+
}
|
|
797
803
|
export interface FileProxyStep {
|
|
798
804
|
/**
|
|
799
805
|
* Handlebars template for the request URL
|
|
@@ -921,9 +927,12 @@ declare namespace Components {
|
|
|
921
927
|
*/
|
|
922
928
|
export interface FileProxyUseCaseConfiguration {
|
|
923
929
|
/**
|
|
924
|
-
*
|
|
930
|
+
* Optional secure proxy attachment for routing all outbound file proxy requests.
|
|
931
|
+
* Only `use_case_slug` is supported and the referenced secure_proxy use case
|
|
932
|
+
* must belong to the same integration.
|
|
933
|
+
*
|
|
925
934
|
*/
|
|
926
|
-
|
|
935
|
+
secure_proxy?: FileProxySecureProxyAttachment;
|
|
927
936
|
auth?: FileProxyAuth;
|
|
928
937
|
/**
|
|
929
938
|
* Additional use-case-specific parameters expected in the download URL query string (beyond the required orgId, integrationId, and useCaseSlug or useCaseId)
|
|
@@ -2503,6 +2512,16 @@ declare namespace Components {
|
|
|
2503
2512
|
*/
|
|
2504
2513
|
body?: any;
|
|
2505
2514
|
}
|
|
2515
|
+
export interface SecureProxySummary {
|
|
2516
|
+
id: string; // uuid
|
|
2517
|
+
name: string;
|
|
2518
|
+
slug?: string;
|
|
2519
|
+
enabled: boolean;
|
|
2520
|
+
vpc_mode: "static_ip" | "secure_link";
|
|
2521
|
+
allowed_domains?: string[];
|
|
2522
|
+
integration_id: string; // uuid
|
|
2523
|
+
integration_name: string;
|
|
2524
|
+
}
|
|
2506
2525
|
export interface SecureProxyUseCase {
|
|
2507
2526
|
/**
|
|
2508
2527
|
* Unique identifier for the use case
|
|
@@ -3213,6 +3232,15 @@ declare namespace Paths {
|
|
|
3213
3232
|
export type $500 = Components.Responses.InternalServerError;
|
|
3214
3233
|
}
|
|
3215
3234
|
}
|
|
3235
|
+
namespace ListSecureProxies {
|
|
3236
|
+
namespace Responses {
|
|
3237
|
+
export interface $200 {
|
|
3238
|
+
secure_proxies: Components.Schemas.SecureProxySummary[];
|
|
3239
|
+
}
|
|
3240
|
+
export type $401 = Components.Responses.Unauthorized;
|
|
3241
|
+
export type $500 = Components.Responses.InternalServerError;
|
|
3242
|
+
}
|
|
3243
|
+
}
|
|
3216
3244
|
namespace ListUseCaseHistory {
|
|
3217
3245
|
namespace Parameters {
|
|
3218
3246
|
export type Cursor = string;
|
|
@@ -3894,6 +3922,18 @@ export interface OperationMethods {
|
|
|
3894
3922
|
data?: Paths.QueryOutboundMonitoringEvents.RequestBody,
|
|
3895
3923
|
config?: AxiosRequestConfig
|
|
3896
3924
|
): OperationResponse<Paths.QueryOutboundMonitoringEvents.Responses.$200>
|
|
3925
|
+
/**
|
|
3926
|
+
* listSecureProxies - List all secure proxy use cases
|
|
3927
|
+
*
|
|
3928
|
+
* Lists all secure_proxy use cases across all integrations for the authenticated organization.
|
|
3929
|
+
* Returns minimal data suitable for dropdowns and selection UIs.
|
|
3930
|
+
*
|
|
3931
|
+
*/
|
|
3932
|
+
'listSecureProxies'(
|
|
3933
|
+
parameters?: Parameters<UnknownParamsObject> | null,
|
|
3934
|
+
data?: any,
|
|
3935
|
+
config?: AxiosRequestConfig
|
|
3936
|
+
): OperationResponse<Paths.ListSecureProxies.Responses.$200>
|
|
3897
3937
|
/**
|
|
3898
3938
|
* secureProxy - Proxy HTTP request through secure VPC
|
|
3899
3939
|
*
|
|
@@ -4333,6 +4373,20 @@ export interface PathsDictionary {
|
|
|
4333
4373
|
config?: AxiosRequestConfig
|
|
4334
4374
|
): OperationResponse<Paths.QueryOutboundMonitoringEvents.Responses.$200>
|
|
4335
4375
|
}
|
|
4376
|
+
['/v1/integrations/secure-proxies']: {
|
|
4377
|
+
/**
|
|
4378
|
+
* listSecureProxies - List all secure proxy use cases
|
|
4379
|
+
*
|
|
4380
|
+
* Lists all secure_proxy use cases across all integrations for the authenticated organization.
|
|
4381
|
+
* Returns minimal data suitable for dropdowns and selection UIs.
|
|
4382
|
+
*
|
|
4383
|
+
*/
|
|
4384
|
+
'get'(
|
|
4385
|
+
parameters?: Parameters<UnknownParamsObject> | null,
|
|
4386
|
+
data?: any,
|
|
4387
|
+
config?: AxiosRequestConfig
|
|
4388
|
+
): OperationResponse<Paths.ListSecureProxies.Responses.$200>
|
|
4389
|
+
}
|
|
4336
4390
|
['/v1/secure-proxy']: {
|
|
4337
4391
|
/**
|
|
4338
4392
|
* secureProxy - Proxy HTTP request through secure VPC
|
|
@@ -4380,6 +4434,7 @@ export type ErrorResponseBase = Components.Schemas.ErrorResponseBase;
|
|
|
4380
4434
|
export type FileProxyAuth = Components.Schemas.FileProxyAuth;
|
|
4381
4435
|
export type FileProxyParam = Components.Schemas.FileProxyParam;
|
|
4382
4436
|
export type FileProxyResponseConfig = Components.Schemas.FileProxyResponseConfig;
|
|
4437
|
+
export type FileProxySecureProxyAttachment = Components.Schemas.FileProxySecureProxyAttachment;
|
|
4383
4438
|
export type FileProxyStep = Components.Schemas.FileProxyStep;
|
|
4384
4439
|
export type FileProxyUrlConfig = Components.Schemas.FileProxyUrlConfig;
|
|
4385
4440
|
export type FileProxyUrlParam = Components.Schemas.FileProxyUrlParam;
|
|
@@ -4436,6 +4491,7 @@ export type RepeatableFieldType = Components.Schemas.RepeatableFieldType;
|
|
|
4436
4491
|
export type ReplayEventsRequest = Components.Schemas.ReplayEventsRequest;
|
|
4437
4492
|
export type SecureProxyRequest = Components.Schemas.SecureProxyRequest;
|
|
4438
4493
|
export type SecureProxyResponse = Components.Schemas.SecureProxyResponse;
|
|
4494
|
+
export type SecureProxySummary = Components.Schemas.SecureProxySummary;
|
|
4439
4495
|
export type SecureProxyUseCase = Components.Schemas.SecureProxyUseCase;
|
|
4440
4496
|
export type SecureProxyUseCaseConfiguration = Components.Schemas.SecureProxyUseCaseConfiguration;
|
|
4441
4497
|
export type SecureProxyUseCaseHistoryEntry = Components.Schemas.SecureProxyUseCaseHistoryEntry;
|
package/dist/openapi.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"openapi": "3.0.3",
|
|
3
3
|
"info": {
|
|
4
4
|
"title": "ERP Integration API",
|
|
5
|
-
"version": "0.
|
|
5
|
+
"version": "0.49.0",
|
|
6
6
|
"description": "API for integrating with ERP systems, handling tracking acknowledgments, triggering ERP processes, and processing ERP updates."
|
|
7
7
|
},
|
|
8
8
|
"tags": [
|
|
@@ -2249,6 +2249,50 @@
|
|
|
2249
2249
|
}
|
|
2250
2250
|
}
|
|
2251
2251
|
},
|
|
2252
|
+
"/v1/integrations/secure-proxies": {
|
|
2253
|
+
"get": {
|
|
2254
|
+
"operationId": "listSecureProxies",
|
|
2255
|
+
"summary": "List all secure proxy use cases",
|
|
2256
|
+
"description": "Lists all secure_proxy use cases across all integrations for the authenticated organization.\nReturns minimal data suitable for dropdowns and selection UIs.\n",
|
|
2257
|
+
"tags": [
|
|
2258
|
+
"integrations"
|
|
2259
|
+
],
|
|
2260
|
+
"security": [
|
|
2261
|
+
{
|
|
2262
|
+
"EpilotAuth": []
|
|
2263
|
+
}
|
|
2264
|
+
],
|
|
2265
|
+
"responses": {
|
|
2266
|
+
"200": {
|
|
2267
|
+
"description": "Successfully retrieved secure proxy use cases",
|
|
2268
|
+
"content": {
|
|
2269
|
+
"application/json": {
|
|
2270
|
+
"schema": {
|
|
2271
|
+
"type": "object",
|
|
2272
|
+
"required": [
|
|
2273
|
+
"secure_proxies"
|
|
2274
|
+
],
|
|
2275
|
+
"properties": {
|
|
2276
|
+
"secure_proxies": {
|
|
2277
|
+
"type": "array",
|
|
2278
|
+
"items": {
|
|
2279
|
+
"$ref": "#/components/schemas/SecureProxySummary"
|
|
2280
|
+
}
|
|
2281
|
+
}
|
|
2282
|
+
}
|
|
2283
|
+
}
|
|
2284
|
+
}
|
|
2285
|
+
}
|
|
2286
|
+
},
|
|
2287
|
+
"401": {
|
|
2288
|
+
"$ref": "#/components/responses/Unauthorized"
|
|
2289
|
+
},
|
|
2290
|
+
"500": {
|
|
2291
|
+
"$ref": "#/components/responses/InternalServerError"
|
|
2292
|
+
}
|
|
2293
|
+
}
|
|
2294
|
+
}
|
|
2295
|
+
},
|
|
2252
2296
|
"/v1/secure-proxy": {
|
|
2253
2297
|
"post": {
|
|
2254
2298
|
"operationId": "secureProxy",
|
|
@@ -4094,6 +4138,52 @@
|
|
|
4094
4138
|
}
|
|
4095
4139
|
}
|
|
4096
4140
|
},
|
|
4141
|
+
"SecureProxySummary": {
|
|
4142
|
+
"type": "object",
|
|
4143
|
+
"required": [
|
|
4144
|
+
"id",
|
|
4145
|
+
"name",
|
|
4146
|
+
"enabled",
|
|
4147
|
+
"vpc_mode",
|
|
4148
|
+
"integration_id",
|
|
4149
|
+
"integration_name"
|
|
4150
|
+
],
|
|
4151
|
+
"properties": {
|
|
4152
|
+
"id": {
|
|
4153
|
+
"type": "string",
|
|
4154
|
+
"format": "uuid"
|
|
4155
|
+
},
|
|
4156
|
+
"name": {
|
|
4157
|
+
"type": "string"
|
|
4158
|
+
},
|
|
4159
|
+
"slug": {
|
|
4160
|
+
"type": "string"
|
|
4161
|
+
},
|
|
4162
|
+
"enabled": {
|
|
4163
|
+
"type": "boolean"
|
|
4164
|
+
},
|
|
4165
|
+
"vpc_mode": {
|
|
4166
|
+
"type": "string",
|
|
4167
|
+
"enum": [
|
|
4168
|
+
"static_ip",
|
|
4169
|
+
"secure_link"
|
|
4170
|
+
]
|
|
4171
|
+
},
|
|
4172
|
+
"allowed_domains": {
|
|
4173
|
+
"type": "array",
|
|
4174
|
+
"items": {
|
|
4175
|
+
"type": "string"
|
|
4176
|
+
}
|
|
4177
|
+
},
|
|
4178
|
+
"integration_id": {
|
|
4179
|
+
"type": "string",
|
|
4180
|
+
"format": "uuid"
|
|
4181
|
+
},
|
|
4182
|
+
"integration_name": {
|
|
4183
|
+
"type": "string"
|
|
4184
|
+
}
|
|
4185
|
+
}
|
|
4186
|
+
},
|
|
4097
4187
|
"SecureProxyRequest": {
|
|
4098
4188
|
"type": "object",
|
|
4099
4189
|
"required": [
|
|
@@ -4180,11 +4270,9 @@
|
|
|
4180
4270
|
],
|
|
4181
4271
|
"description": "Configuration for file_proxy use cases. Defines how to authenticate and fetch files from external document systems.\n\nThe file proxy download URL always requires `orgId`, `integrationId`, and either `useCaseSlug` (recommended) or `useCaseId` (legacy UUID) as query parameters.\nThe `orgId` is included in the signed URL to establish organization context without requiring authentication.\nAdditional use-case-specific parameters are declared in the `params` array.\n",
|
|
4182
4272
|
"properties": {
|
|
4183
|
-
"
|
|
4184
|
-
"
|
|
4185
|
-
"
|
|
4186
|
-
"description": "Whether requests require VPC routing for IP allowlisting. Read-only after creation — can only be modified directly in DynamoDB.",
|
|
4187
|
-
"default": false
|
|
4273
|
+
"secure_proxy": {
|
|
4274
|
+
"$ref": "#/components/schemas/FileProxySecureProxyAttachment",
|
|
4275
|
+
"description": "Optional secure proxy attachment for routing all outbound file proxy requests.\nOnly `use_case_slug` is supported and the referenced secure_proxy use case\nmust belong to the same integration.\n"
|
|
4188
4276
|
},
|
|
4189
4277
|
"auth": {
|
|
4190
4278
|
"$ref": "#/components/schemas/FileProxyAuth"
|
|
@@ -4209,6 +4297,19 @@
|
|
|
4209
4297
|
}
|
|
4210
4298
|
}
|
|
4211
4299
|
},
|
|
4300
|
+
"FileProxySecureProxyAttachment": {
|
|
4301
|
+
"type": "object",
|
|
4302
|
+
"required": [
|
|
4303
|
+
"use_case_slug"
|
|
4304
|
+
],
|
|
4305
|
+
"additionalProperties": false,
|
|
4306
|
+
"properties": {
|
|
4307
|
+
"use_case_slug": {
|
|
4308
|
+
"type": "string",
|
|
4309
|
+
"description": "Slug of the secure_proxy use case in the same integration."
|
|
4310
|
+
}
|
|
4311
|
+
}
|
|
4312
|
+
},
|
|
4212
4313
|
"FileProxyAuth": {
|
|
4213
4314
|
"type": "object",
|
|
4214
4315
|
"required": [
|