@epilot/erp-integration-client 0.16.0 → 0.16.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 CHANGED
@@ -193,6 +193,10 @@ declare namespace Components {
193
193
  * Optional description of the integration
194
194
  */
195
195
  description?: string;
196
+ /**
197
+ * List of access token IDs to associate with this integration
198
+ */
199
+ access_token_ids?: string[];
196
200
  }
197
201
  export interface CreateOutboundUseCaseRequest {
198
202
  /**
@@ -600,6 +604,10 @@ declare namespace Components {
600
604
  * Optional description of the integration
601
605
  */
602
606
  description?: string;
607
+ /**
608
+ * List of access token IDs associated with this integration
609
+ */
610
+ access_token_ids?: string[];
603
611
  /**
604
612
  * ISO-8601 timestamp when the integration was created
605
613
  */
@@ -779,6 +787,10 @@ declare namespace Components {
779
787
  * Optional description of the integration
780
788
  */
781
789
  description?: string;
790
+ /**
791
+ * List of access token IDs associated with this integration
792
+ */
793
+ access_token_ids?: string[];
782
794
  /**
783
795
  * All use cases belonging to this integration
784
796
  */
@@ -1193,11 +1205,14 @@ declare namespace Components {
1193
1205
  }
1194
1206
  export interface QueryAccessLogsRequest {
1195
1207
  /**
1196
- * Filter by access token ID (e.g., 'api_5ZugdRXasLfWBypHi93Fk')
1208
+ * Filter by a specific access token ID (e.g., 'api_5ZugdRXasLfWBypHi93Fk').
1209
+ * Must be one of the access_token_ids linked to the integration.
1210
+ * If omitted, returns logs for all access tokens linked to the integration.
1211
+ *
1197
1212
  * example:
1198
1213
  * api_5ZugdRXasLfWBypHi93Fk
1199
1214
  */
1200
- token_id: string;
1215
+ token_id?: string;
1201
1216
  /**
1202
1217
  * Filter by service name (e.g., 'entity', 'metering', 'submission-api')
1203
1218
  * example:
@@ -1741,6 +1756,10 @@ declare namespace Components {
1741
1756
  * Optional description of the integration
1742
1757
  */
1743
1758
  description?: string;
1759
+ /**
1760
+ * List of access token IDs to associate with this integration
1761
+ */
1762
+ access_token_ids?: string[];
1744
1763
  }
1745
1764
  export interface UpdateOutboundUseCaseRequest {
1746
1765
  /**
@@ -1790,6 +1809,10 @@ declare namespace Components {
1790
1809
  * Optional description of the integration
1791
1810
  */
1792
1811
  description?: string;
1812
+ /**
1813
+ * List of access token IDs to associate with this integration
1814
+ */
1815
+ access_token_ids?: string[];
1793
1816
  /**
1794
1817
  * Full list of use cases (declarative). This replaces ALL existing use cases.
1795
1818
  * - Use cases with an `id` field matching an existing use case will be updated
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.26.0",
5
+ "version": "0.27.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": [
@@ -2378,6 +2378,13 @@
2378
2378
  "type": "string",
2379
2379
  "description": "Optional description of the integration"
2380
2380
  },
2381
+ "access_token_ids": {
2382
+ "type": "array",
2383
+ "description": "List of access token IDs associated with this integration",
2384
+ "items": {
2385
+ "type": "string"
2386
+ }
2387
+ },
2381
2388
  "created_at": {
2382
2389
  "type": "string",
2383
2390
  "format": "date-time",
@@ -2406,6 +2413,13 @@
2406
2413
  "type": "string",
2407
2414
  "maxLength": 1000,
2408
2415
  "description": "Optional description of the integration"
2416
+ },
2417
+ "access_token_ids": {
2418
+ "type": "array",
2419
+ "description": "List of access token IDs to associate with this integration",
2420
+ "items": {
2421
+ "type": "string"
2422
+ }
2409
2423
  }
2410
2424
  }
2411
2425
  },
@@ -2422,6 +2436,13 @@
2422
2436
  "type": "string",
2423
2437
  "maxLength": 1000,
2424
2438
  "description": "Optional description of the integration"
2439
+ },
2440
+ "access_token_ids": {
2441
+ "type": "array",
2442
+ "description": "List of access token IDs to associate with this integration",
2443
+ "items": {
2444
+ "type": "string"
2445
+ }
2425
2446
  }
2426
2447
  }
2427
2448
  },
@@ -3769,6 +3790,13 @@
3769
3790
  "type": "string",
3770
3791
  "description": "Optional description of the integration"
3771
3792
  },
3793
+ "access_token_ids": {
3794
+ "type": "array",
3795
+ "description": "List of access token IDs associated with this integration",
3796
+ "items": {
3797
+ "type": "string"
3798
+ }
3799
+ },
3772
3800
  "use_cases": {
3773
3801
  "type": "array",
3774
3802
  "description": "All use cases belonging to this integration",
@@ -3806,6 +3834,13 @@
3806
3834
  "maxLength": 1000,
3807
3835
  "description": "Optional description of the integration"
3808
3836
  },
3837
+ "access_token_ids": {
3838
+ "type": "array",
3839
+ "description": "List of access token IDs to associate with this integration",
3840
+ "items": {
3841
+ "type": "string"
3842
+ }
3843
+ },
3809
3844
  "use_cases": {
3810
3845
  "type": "array",
3811
3846
  "description": "Full list of use cases (declarative). This replaces ALL existing use cases.\n- Use cases with an `id` field matching an existing use case will be updated\n- Use cases without an `id` or with a non-matching `id` will be created\n- Existing use cases not in this list will be deleted\n",
@@ -4077,13 +4112,10 @@
4077
4112
  },
4078
4113
  "QueryAccessLogsRequest": {
4079
4114
  "type": "object",
4080
- "required": [
4081
- "token_id"
4082
- ],
4083
4115
  "properties": {
4084
4116
  "token_id": {
4085
4117
  "type": "string",
4086
- "description": "Filter by access token ID (e.g., 'api_5ZugdRXasLfWBypHi93Fk')",
4118
+ "description": "Filter by a specific access token ID (e.g., 'api_5ZugdRXasLfWBypHi93Fk').\nMust be one of the access_token_ids linked to the integration.\nIf omitted, returns logs for all access tokens linked to the integration.\n",
4087
4119
  "example": "api_5ZugdRXasLfWBypHi93Fk"
4088
4120
  },
4089
4121
  "service": {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@epilot/erp-integration-client",
3
- "version": "0.16.0",
3
+ "version": "0.16.1",
4
4
  "description": "Client library for ePilot ERP Integration API",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",