@epilot/erp-integration-client 0.26.0 → 0.26.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/dist/openapi.d.ts +20 -1
- package/dist/openapi.json +36 -2
- package/package.json +1 -1
package/dist/openapi.d.ts
CHANGED
|
@@ -697,7 +697,7 @@ declare namespace Components {
|
|
|
697
697
|
*/
|
|
698
698
|
export interface FileProxyUseCaseConfiguration {
|
|
699
699
|
/**
|
|
700
|
-
* Whether requests require VPC routing for IP allowlisting
|
|
700
|
+
* Whether requests require VPC routing for IP allowlisting. Read-only after creation — can only be modified directly in DynamoDB.
|
|
701
701
|
*/
|
|
702
702
|
requires_vpc?: boolean;
|
|
703
703
|
auth?: FileProxyAuth;
|
|
@@ -1292,6 +1292,10 @@ declare namespace Components {
|
|
|
1292
1292
|
export interface MappingSimulationResponse {
|
|
1293
1293
|
entity_updates: EntityUpdate[];
|
|
1294
1294
|
meter_readings_updates?: MeterReadingUpdate[];
|
|
1295
|
+
/**
|
|
1296
|
+
* Validation warnings about the configuration (e.g., unique_ids referencing non-indexed fields)
|
|
1297
|
+
*/
|
|
1298
|
+
warnings?: MappingSimulationWarning[];
|
|
1295
1299
|
}
|
|
1296
1300
|
/**
|
|
1297
1301
|
* Request for v2 mapping simulation. Uses the same configuration format stored in integration use case resources,
|
|
@@ -1311,6 +1315,20 @@ declare namespace Components {
|
|
|
1311
1315
|
[name: string]: any;
|
|
1312
1316
|
};
|
|
1313
1317
|
}
|
|
1318
|
+
export interface MappingSimulationWarning {
|
|
1319
|
+
/**
|
|
1320
|
+
* The entity schema slug where the issue was found
|
|
1321
|
+
*/
|
|
1322
|
+
entity_schema: string;
|
|
1323
|
+
/**
|
|
1324
|
+
* The field name that caused the warning
|
|
1325
|
+
*/
|
|
1326
|
+
field: string;
|
|
1327
|
+
/**
|
|
1328
|
+
* Description of the validation issue
|
|
1329
|
+
*/
|
|
1330
|
+
message: string;
|
|
1331
|
+
}
|
|
1314
1332
|
/**
|
|
1315
1333
|
* Scope configuration for meter reading upsert-prune-scope mode.
|
|
1316
1334
|
* The scope is all readings for the same meter + counter.
|
|
@@ -3876,6 +3894,7 @@ export type IntegrationWithUseCases = Components.Schemas.IntegrationWithUseCases
|
|
|
3876
3894
|
export type MappingSimulationRequest = Components.Schemas.MappingSimulationRequest;
|
|
3877
3895
|
export type MappingSimulationResponse = Components.Schemas.MappingSimulationResponse;
|
|
3878
3896
|
export type MappingSimulationV2Request = Components.Schemas.MappingSimulationV2Request;
|
|
3897
|
+
export type MappingSimulationWarning = Components.Schemas.MappingSimulationWarning;
|
|
3879
3898
|
export type MeterReadingPruneScopeConfig = Components.Schemas.MeterReadingPruneScopeConfig;
|
|
3880
3899
|
export type MeterReadingUpdate = Components.Schemas.MeterReadingUpdate;
|
|
3881
3900
|
export type MeterUniqueIdsConfig = Components.Schemas.MeterUniqueIdsConfig;
|
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.43.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": [
|
|
@@ -2314,10 +2314,12 @@
|
|
|
2314
2314
|
"oneOf": [
|
|
2315
2315
|
{
|
|
2316
2316
|
"type": "string",
|
|
2317
|
+
"minLength": 2,
|
|
2317
2318
|
"description": "The serialized object data payload (JSON, XML, etc.) as a string"
|
|
2318
2319
|
},
|
|
2319
2320
|
{
|
|
2320
2321
|
"type": "object",
|
|
2322
|
+
"minProperties": 1,
|
|
2321
2323
|
"description": "Direct JSON object (will be automatically serialized)",
|
|
2322
2324
|
"additionalProperties": true
|
|
2323
2325
|
}
|
|
@@ -2390,10 +2392,12 @@
|
|
|
2390
2392
|
"oneOf": [
|
|
2391
2393
|
{
|
|
2392
2394
|
"type": "string",
|
|
2395
|
+
"minLength": 2,
|
|
2393
2396
|
"description": "The serialized object data payload (JSON, XML, etc.) as a string"
|
|
2394
2397
|
},
|
|
2395
2398
|
{
|
|
2396
2399
|
"type": "object",
|
|
2400
|
+
"minProperties": 1,
|
|
2397
2401
|
"description": "Direct JSON object (will be automatically serialized)",
|
|
2398
2402
|
"additionalProperties": true
|
|
2399
2403
|
}
|
|
@@ -3746,7 +3750,8 @@
|
|
|
3746
3750
|
"properties": {
|
|
3747
3751
|
"requires_vpc": {
|
|
3748
3752
|
"type": "boolean",
|
|
3749
|
-
"
|
|
3753
|
+
"readOnly": true,
|
|
3754
|
+
"description": "Whether requests require VPC routing for IP allowlisting. Read-only after creation — can only be modified directly in DynamoDB.",
|
|
3750
3755
|
"default": false
|
|
3751
3756
|
},
|
|
3752
3757
|
"auth": {
|
|
@@ -3999,6 +4004,35 @@
|
|
|
3999
4004
|
"items": {
|
|
4000
4005
|
"$ref": "#/components/schemas/MeterReadingUpdate"
|
|
4001
4006
|
}
|
|
4007
|
+
},
|
|
4008
|
+
"warnings": {
|
|
4009
|
+
"type": "array",
|
|
4010
|
+
"description": "Validation warnings about the configuration (e.g., unique_ids referencing non-indexed fields)",
|
|
4011
|
+
"items": {
|
|
4012
|
+
"$ref": "#/components/schemas/MappingSimulationWarning"
|
|
4013
|
+
}
|
|
4014
|
+
}
|
|
4015
|
+
}
|
|
4016
|
+
},
|
|
4017
|
+
"MappingSimulationWarning": {
|
|
4018
|
+
"type": "object",
|
|
4019
|
+
"required": [
|
|
4020
|
+
"entity_schema",
|
|
4021
|
+
"field",
|
|
4022
|
+
"message"
|
|
4023
|
+
],
|
|
4024
|
+
"properties": {
|
|
4025
|
+
"entity_schema": {
|
|
4026
|
+
"type": "string",
|
|
4027
|
+
"description": "The entity schema slug where the issue was found"
|
|
4028
|
+
},
|
|
4029
|
+
"field": {
|
|
4030
|
+
"type": "string",
|
|
4031
|
+
"description": "The field name that caused the warning"
|
|
4032
|
+
},
|
|
4033
|
+
"message": {
|
|
4034
|
+
"type": "string",
|
|
4035
|
+
"description": "Description of the validation issue"
|
|
4002
4036
|
}
|
|
4003
4037
|
}
|
|
4004
4038
|
},
|