@epilot/integration-toolkit-client 1.0.1 → 1.0.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/openapi.d.ts CHANGED
@@ -1359,6 +1359,10 @@ declare namespace Components {
1359
1359
  * Filter by use case type
1360
1360
  */
1361
1361
  use_case_type?: "inbound" | "outbound" | "file_proxy" | "managed_call" | "secure_proxy";
1362
+ /**
1363
+ * Field to group the bucket breakdown by
1364
+ */
1365
+ group_by?: "use_case_type";
1362
1366
  }
1363
1367
  /**
1364
1368
  * Configuration for inbound use cases (ERP to epilot)
@@ -3386,6 +3390,32 @@ declare namespace Components {
3386
3390
  */
3387
3391
  overwrite?: boolean;
3388
3392
  }
3393
+ export interface TimeSeriesBreakdownItemV2 {
3394
+ /**
3395
+ * Use case type for the breakdown item
3396
+ */
3397
+ use_case_type: "inbound" | "outbound" | "file_proxy" | "managed_call" | "secure_proxy";
3398
+ /**
3399
+ * Number of successful events in the breakdown item
3400
+ */
3401
+ success_count: number;
3402
+ /**
3403
+ * Number of error events in the breakdown item
3404
+ */
3405
+ error_count: number;
3406
+ /**
3407
+ * Number of warning events in the breakdown item
3408
+ */
3409
+ warning_count: number;
3410
+ /**
3411
+ * Number of skipped events in the breakdown item
3412
+ */
3413
+ skipped_count: number;
3414
+ /**
3415
+ * Total events in the breakdown item
3416
+ */
3417
+ total_count: number;
3418
+ }
3389
3419
  export interface TimeSeriesBucket {
3390
3420
  /**
3391
3421
  * The start timestamp of the bucket
@@ -3436,6 +3466,10 @@ declare namespace Components {
3436
3466
  * Total events in the bucket
3437
3467
  */
3438
3468
  total_count: number;
3469
+ /**
3470
+ * Statistics breakdown by the requested group_by field for this bucket
3471
+ */
3472
+ breakdown?: TimeSeriesBreakdownItemV2[];
3439
3473
  }
3440
3474
  export interface TriggerErpActionRequest {
3441
3475
  /**
@@ -5735,6 +5769,7 @@ export type SecureProxyUseCase = Components.Schemas.SecureProxyUseCase;
5735
5769
  export type SecureProxyUseCaseConfiguration = Components.Schemas.SecureProxyUseCaseConfiguration;
5736
5770
  export type SecureProxyUseCaseHistoryEntry = Components.Schemas.SecureProxyUseCaseHistoryEntry;
5737
5771
  export type SetIntegrationAppMappingRequest = Components.Schemas.SetIntegrationAppMappingRequest;
5772
+ export type TimeSeriesBreakdownItemV2 = Components.Schemas.TimeSeriesBreakdownItemV2;
5738
5773
  export type TimeSeriesBucket = Components.Schemas.TimeSeriesBucket;
5739
5774
  export type TimeSeriesBucketV2 = Components.Schemas.TimeSeriesBucketV2;
5740
5775
  export type TriggerErpActionRequest = Components.Schemas.TriggerErpActionRequest;
package/dist/openapi.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "openapi": "3.0.3",
3
3
  "info": {
4
4
  "title": "Integration Toolkit API",
5
- "version": "1.0.1",
5
+ "version": "1.0.2",
6
6
  "description": "API for integrating with external systems in a standardised way."
7
7
  },
8
8
  "tags": [
@@ -7449,6 +7449,57 @@
7449
7449
  "secure_proxy"
7450
7450
  ],
7451
7451
  "description": "Filter by use case type"
7452
+ },
7453
+ "group_by": {
7454
+ "type": "string",
7455
+ "enum": [
7456
+ "use_case_type"
7457
+ ],
7458
+ "description": "Field to group the bucket breakdown by"
7459
+ }
7460
+ }
7461
+ },
7462
+ "TimeSeriesBreakdownItemV2": {
7463
+ "type": "object",
7464
+ "required": [
7465
+ "use_case_type",
7466
+ "success_count",
7467
+ "error_count",
7468
+ "warning_count",
7469
+ "skipped_count",
7470
+ "total_count"
7471
+ ],
7472
+ "properties": {
7473
+ "use_case_type": {
7474
+ "type": "string",
7475
+ "enum": [
7476
+ "inbound",
7477
+ "outbound",
7478
+ "file_proxy",
7479
+ "managed_call",
7480
+ "secure_proxy"
7481
+ ],
7482
+ "description": "Use case type for the breakdown item"
7483
+ },
7484
+ "success_count": {
7485
+ "type": "integer",
7486
+ "description": "Number of successful events in the breakdown item"
7487
+ },
7488
+ "error_count": {
7489
+ "type": "integer",
7490
+ "description": "Number of error events in the breakdown item"
7491
+ },
7492
+ "warning_count": {
7493
+ "type": "integer",
7494
+ "description": "Number of warning events in the breakdown item"
7495
+ },
7496
+ "skipped_count": {
7497
+ "type": "integer",
7498
+ "description": "Number of skipped events in the breakdown item"
7499
+ },
7500
+ "total_count": {
7501
+ "type": "integer",
7502
+ "description": "Total events in the breakdown item"
7452
7503
  }
7453
7504
  }
7454
7505
  },
@@ -7483,6 +7534,13 @@
7483
7534
  "total_count": {
7484
7535
  "type": "integer",
7485
7536
  "description": "Total events in the bucket"
7537
+ },
7538
+ "breakdown": {
7539
+ "type": "array",
7540
+ "description": "Statistics breakdown by the requested group_by field for this bucket",
7541
+ "items": {
7542
+ "$ref": "#/components/schemas/TimeSeriesBreakdownItemV2"
7543
+ }
7486
7544
  }
7487
7545
  }
7488
7546
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@epilot/integration-toolkit-client",
3
- "version": "1.0.1",
3
+ "version": "1.0.2",
4
4
  "description": "Client library for epilot Integration Toolkit API",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",