@epilot/erp-integration-client 0.24.1 → 0.24.2
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.d.ts +12 -0
- package/dist/openapi.json +22 -1
- package/package.json +3 -3
package/dist/definition.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(()=>{"use strict";var e={330
|
|
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":{}}}},"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
|
@@ -215,6 +215,10 @@ declare namespace Components {
|
|
|
215
215
|
* List of access token IDs to associate with this integration
|
|
216
216
|
*/
|
|
217
217
|
access_token_ids?: string[];
|
|
218
|
+
/**
|
|
219
|
+
* List of app IDs to associate with this integration
|
|
220
|
+
*/
|
|
221
|
+
app_ids?: string[];
|
|
218
222
|
/**
|
|
219
223
|
* Configuration defining environment variables needed by this integration
|
|
220
224
|
*/
|
|
@@ -723,6 +727,10 @@ declare namespace Components {
|
|
|
723
727
|
* List of access token IDs associated with this integration
|
|
724
728
|
*/
|
|
725
729
|
access_token_ids?: string[];
|
|
730
|
+
/**
|
|
731
|
+
* List of app IDs associated with this integration
|
|
732
|
+
*/
|
|
733
|
+
app_ids?: string[];
|
|
726
734
|
/**
|
|
727
735
|
* Configuration defining environment variables needed by this integration. Values are stored in the Environments API.
|
|
728
736
|
*/
|
|
@@ -1993,6 +2001,10 @@ declare namespace Components {
|
|
|
1993
2001
|
* List of access token IDs to associate with this integration
|
|
1994
2002
|
*/
|
|
1995
2003
|
access_token_ids?: string[];
|
|
2004
|
+
/**
|
|
2005
|
+
* List of app IDs to associate with this integration
|
|
2006
|
+
*/
|
|
2007
|
+
app_ids?: string[];
|
|
1996
2008
|
/**
|
|
1997
2009
|
* Configuration defining environment variables needed by this integration
|
|
1998
2010
|
*/
|
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.38.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": [
|
|
@@ -2560,6 +2560,13 @@
|
|
|
2560
2560
|
"type": "string"
|
|
2561
2561
|
}
|
|
2562
2562
|
},
|
|
2563
|
+
"app_ids": {
|
|
2564
|
+
"type": "array",
|
|
2565
|
+
"description": "List of app IDs associated with this integration",
|
|
2566
|
+
"items": {
|
|
2567
|
+
"type": "string"
|
|
2568
|
+
}
|
|
2569
|
+
},
|
|
2563
2570
|
"environment_config": {
|
|
2564
2571
|
"type": "array",
|
|
2565
2572
|
"items": {
|
|
@@ -2603,6 +2610,13 @@
|
|
|
2603
2610
|
"type": "string"
|
|
2604
2611
|
}
|
|
2605
2612
|
},
|
|
2613
|
+
"app_ids": {
|
|
2614
|
+
"type": "array",
|
|
2615
|
+
"description": "List of app IDs to associate with this integration",
|
|
2616
|
+
"items": {
|
|
2617
|
+
"type": "string"
|
|
2618
|
+
}
|
|
2619
|
+
},
|
|
2606
2620
|
"environment_config": {
|
|
2607
2621
|
"type": "array",
|
|
2608
2622
|
"items": {
|
|
@@ -2633,6 +2647,13 @@
|
|
|
2633
2647
|
"type": "string"
|
|
2634
2648
|
}
|
|
2635
2649
|
},
|
|
2650
|
+
"app_ids": {
|
|
2651
|
+
"type": "array",
|
|
2652
|
+
"description": "List of app IDs to associate with this integration",
|
|
2653
|
+
"items": {
|
|
2654
|
+
"type": "string"
|
|
2655
|
+
}
|
|
2656
|
+
},
|
|
2636
2657
|
"environment_config": {
|
|
2637
2658
|
"type": "array",
|
|
2638
2659
|
"items": {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@epilot/erp-integration-client",
|
|
3
|
-
"version": "0.24.
|
|
3
|
+
"version": "0.24.2",
|
|
4
4
|
"description": "Client library for ePilot ERP Integration API",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -61,7 +61,7 @@
|
|
|
61
61
|
},
|
|
62
62
|
"devDependencies": {
|
|
63
63
|
"@types/jest": "^26.0.20",
|
|
64
|
-
"axios": "^1.
|
|
64
|
+
"axios": "^1.13.5",
|
|
65
65
|
"copy-webpack-plugin": "^7.0.0",
|
|
66
66
|
"jest": "^29.6.2",
|
|
67
67
|
"json-loader": "^0.5.7",
|
|
@@ -70,7 +70,7 @@
|
|
|
70
70
|
"ts-loader": "^8.0.14",
|
|
71
71
|
"ts-node": "^10.9.1",
|
|
72
72
|
"typescript": "^4.1.3",
|
|
73
|
-
"webpack": "^5.
|
|
73
|
+
"webpack": "^5.104.1",
|
|
74
74
|
"webpack-cli": "^4.4.0"
|
|
75
75
|
}
|
|
76
76
|
}
|