@epilot/cli 0.1.153 → 0.1.154
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/README.md
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"openapi": "3.0.3",
|
|
3
3
|
"info": {
|
|
4
4
|
"title": "Integration Toolkit API",
|
|
5
|
-
"version": "1.
|
|
5
|
+
"version": "1.31.0",
|
|
6
6
|
"description": "API for integrating with external systems in a standardised way."
|
|
7
7
|
},
|
|
8
8
|
"tags": [
|
|
@@ -11816,14 +11816,14 @@
|
|
|
11816
11816
|
"enum": [
|
|
11817
11817
|
"success",
|
|
11818
11818
|
"error",
|
|
11819
|
-
"
|
|
11819
|
+
"info",
|
|
11820
11820
|
"warning"
|
|
11821
11821
|
],
|
|
11822
11822
|
"description": "Filter by event level"
|
|
11823
11823
|
},
|
|
11824
11824
|
"code": {
|
|
11825
11825
|
"type": "string",
|
|
11826
|
-
"description": "Filter by taxonomy code (e.g. OAUTH2_TOKEN_FAILURE, HTTP_502)"
|
|
11826
|
+
"description": "Filter by taxonomy code (e.g. OAUTH2_TOKEN_FAILURE, HTTP_502). Accepts any `MonitoringCode` value, or an `HTTP_{status}` family value."
|
|
11827
11827
|
},
|
|
11828
11828
|
"event_id": {
|
|
11829
11829
|
"type": "string",
|
|
@@ -12023,6 +12023,92 @@
|
|
|
12023
12023
|
}
|
|
12024
12024
|
}
|
|
12025
12025
|
},
|
|
12026
|
+
"MonitoringCode": {
|
|
12027
|
+
"type": "string",
|
|
12028
|
+
"description": "The monitoring code taxonomy — every code the Integration Toolkit itself emits,\nwith a fixed level (see the published code reference at\nhttps://docs.epilot.io/docs/integrations/integration-toolkit/monitoring/codes).\n\nThis schema exists so consumers can import the union as a type. It is\ndeliberately NOT applied to `MonitoringEventV2.code` or to the query filter:\nalongside these, the secure proxy emits an unbounded `HTTP_{status}` family for\nan upstream refusal, so constraining those fields to this enum would reject a\nlegitimate value — `code` stays a plain string there on purpose.\n\nKept in lock-step with the `MonitoringErrorCode` taxonomy in erp-utils by\n`monitoring-code-enum.test.ts`, which fails if the two diverge.\n",
|
|
12029
|
+
"enum": [
|
|
12030
|
+
"ACK_CONFIRMED",
|
|
12031
|
+
"ACK_PENDING",
|
|
12032
|
+
"ACK_TIMEOUT",
|
|
12033
|
+
"ATTACHMENT_NOT_FOUND",
|
|
12034
|
+
"ATTRIBUTE_TYPE_MISMATCH",
|
|
12035
|
+
"DEPRECATED_ENDPOINT",
|
|
12036
|
+
"DIRECT_ENTITY_NOT_ALLOWED",
|
|
12037
|
+
"DIRECT_PAYLOAD_INVALID",
|
|
12038
|
+
"DIRECT_VERSION_UNSUPPORTED",
|
|
12039
|
+
"DUPLICATE_EVENT",
|
|
12040
|
+
"ENTITY_CREATED",
|
|
12041
|
+
"ENTITY_DELETED",
|
|
12042
|
+
"ENTITY_NO_OP",
|
|
12043
|
+
"ENTITY_REFERENCE_NOT_FOUND",
|
|
12044
|
+
"ENTITY_UPDATED",
|
|
12045
|
+
"EVENT_NOT_CONFIGURED",
|
|
12046
|
+
"EXTERNAL_API_ERROR",
|
|
12047
|
+
"EXTERNAL_ERROR",
|
|
12048
|
+
"EXTERNAL_INFO",
|
|
12049
|
+
"EXTERNAL_SUCCESS",
|
|
12050
|
+
"EXTERNAL_WARNING",
|
|
12051
|
+
"FAN_OUT_EMPTY",
|
|
12052
|
+
"FAN_OUT_INVALID_RESULT",
|
|
12053
|
+
"FILE_EXTRACTION_FAILED",
|
|
12054
|
+
"FILE_FETCH_FAILED",
|
|
12055
|
+
"FILE_PROXY_OK",
|
|
12056
|
+
"FILE_PROXY_UPLOADED",
|
|
12057
|
+
"FILE_PROXY_UPLOAD_ENQUEUED",
|
|
12058
|
+
"FILE_PROXY_UPLOAD_FAILED",
|
|
12059
|
+
"FILE_PROXY_UPLOAD_RETRYING",
|
|
12060
|
+
"FILE_TOO_LARGE",
|
|
12061
|
+
"INTEGRATION_NOT_FOUND",
|
|
12062
|
+
"INVALID_METER_READING_ATTRIBUTES",
|
|
12063
|
+
"LOOKUP_UNMAPPED",
|
|
12064
|
+
"MALFORMED_PAYLOAD",
|
|
12065
|
+
"MAPPING_EXPRESSION_FAILED",
|
|
12066
|
+
"METERING_API_ERROR",
|
|
12067
|
+
"METER_READING_DELETED",
|
|
12068
|
+
"METER_READING_GROUP_FAILED",
|
|
12069
|
+
"METER_READING_GROUP_RETRYING",
|
|
12070
|
+
"METER_READING_UPSERTED",
|
|
12071
|
+
"MISSING_REQUIRED_PARAM",
|
|
12072
|
+
"MISSING_UNIQUE_IDENTIFIERS",
|
|
12073
|
+
"MSG_ACKED",
|
|
12074
|
+
"MSG_DEAD_LETTERED",
|
|
12075
|
+
"MSG_ENQUEUED",
|
|
12076
|
+
"MSG_EXPIRED_UNPOLLED",
|
|
12077
|
+
"MSG_HEAD_BLOCKED",
|
|
12078
|
+
"OAUTH2_TOKEN_FAILURE",
|
|
12079
|
+
"PAYLOAD_TOO_LARGE",
|
|
12080
|
+
"PRUNE_SCOPE_COMPLETED",
|
|
12081
|
+
"PRUNE_SCOPE_PARTIAL_FAILURE",
|
|
12082
|
+
"RECURSION_DEPTH_EXCEEDED",
|
|
12083
|
+
"RELATION_REF_ITEM_NOT_FOUND",
|
|
12084
|
+
"RELATION_REF_VALUE_UNDEFINED",
|
|
12085
|
+
"REQUIRED_PARAM_MISSING",
|
|
12086
|
+
"SECURE_PROXY_DISABLED",
|
|
12087
|
+
"SECURE_PROXY_DOMAIN_BLOCKED",
|
|
12088
|
+
"SECURE_PROXY_DOMAIN_NOT_ALLOWED",
|
|
12089
|
+
"SECURE_PROXY_ERROR",
|
|
12090
|
+
"SECURE_PROXY_INVALID_CONFIG",
|
|
12091
|
+
"SECURE_PROXY_INVALID_TYPE",
|
|
12092
|
+
"SECURE_PROXY_INVALID_URL",
|
|
12093
|
+
"SECURE_PROXY_IP_BLOCKED",
|
|
12094
|
+
"SECURE_PROXY_IP_NOT_ALLOWED",
|
|
12095
|
+
"SECURE_PROXY_NOT_FOUND",
|
|
12096
|
+
"SECURE_PROXY_UNAVAILABLE",
|
|
12097
|
+
"SIGNATURE_VERIFICATION_FAILED",
|
|
12098
|
+
"SIGNATURE_VERIFICATION_UNAVAILABLE",
|
|
12099
|
+
"SOFT_DELETED_ENTITY_MATCHED",
|
|
12100
|
+
"STEP_DISABLED",
|
|
12101
|
+
"TIMEOUT",
|
|
12102
|
+
"UNIQUE_ID_MULTIPLE_MATCHES",
|
|
12103
|
+
"UNIQUE_ID_NOT_IN_SCHEMA",
|
|
12104
|
+
"UNKNOWN_ERROR",
|
|
12105
|
+
"USE_CASE_DISABLED",
|
|
12106
|
+
"USE_CASE_INVALID_TYPE",
|
|
12107
|
+
"USE_CASE_MISSING_CONFIG",
|
|
12108
|
+
"USE_CASE_NOT_FOUND",
|
|
12109
|
+
"WEBHOOK_DELIVERED"
|
|
12110
|
+
]
|
|
12111
|
+
},
|
|
12026
12112
|
"MonitoringEventV2": {
|
|
12027
12113
|
"type": "object",
|
|
12028
12114
|
"required": [
|
|
@@ -12077,14 +12163,14 @@
|
|
|
12077
12163
|
"enum": [
|
|
12078
12164
|
"success",
|
|
12079
12165
|
"error",
|
|
12080
|
-
"
|
|
12166
|
+
"info",
|
|
12081
12167
|
"warning"
|
|
12082
12168
|
],
|
|
12083
12169
|
"description": "Event outcome level"
|
|
12084
12170
|
},
|
|
12085
12171
|
"code": {
|
|
12086
12172
|
"type": "string",
|
|
12087
|
-
"description": "Taxonomy code (e.g. OAUTH2_TOKEN_FAILURE, HTTP_502). Empty for success."
|
|
12173
|
+
"description": "Taxonomy code (e.g. OAUTH2_TOKEN_FAILURE, HTTP_502). Empty for success. One of `MonitoringCode`, or an `HTTP_{status}` family value from the secure proxy — which is why this is a string rather than that enum."
|
|
12088
12174
|
},
|
|
12089
12175
|
"message": {
|
|
12090
12176
|
"type": "string",
|
|
@@ -12172,7 +12258,8 @@
|
|
|
12172
12258
|
"success_count",
|
|
12173
12259
|
"error_count",
|
|
12174
12260
|
"warning_count",
|
|
12175
|
-
"skipped_count"
|
|
12261
|
+
"skipped_count",
|
|
12262
|
+
"info_count"
|
|
12176
12263
|
],
|
|
12177
12264
|
"properties": {
|
|
12178
12265
|
"total_events": {
|
|
@@ -12193,7 +12280,12 @@
|
|
|
12193
12280
|
},
|
|
12194
12281
|
"skipped_count": {
|
|
12195
12282
|
"type": "integer",
|
|
12196
|
-
"
|
|
12283
|
+
"deprecated": true,
|
|
12284
|
+
"description": "Always 0. The v2 pipeline has no `skipped` level; v1 `skipped` is normalised to `info`. Retained for backward compatibility — use `info_count`."
|
|
12285
|
+
},
|
|
12286
|
+
"info_count": {
|
|
12287
|
+
"type": "integer",
|
|
12288
|
+
"description": "Number of info-level events (ACK lifecycle, poll-queue MSG_*, duplicate events, fan-out anchors). Info events are counted in `total_events` but are excluded from `success_rate`."
|
|
12197
12289
|
},
|
|
12198
12290
|
"ack_timeout_count": {
|
|
12199
12291
|
"type": "integer",
|
|
@@ -12279,6 +12371,7 @@
|
|
|
12279
12371
|
"error_count",
|
|
12280
12372
|
"warning_count",
|
|
12281
12373
|
"skipped_count",
|
|
12374
|
+
"info_count",
|
|
12282
12375
|
"total_count"
|
|
12283
12376
|
],
|
|
12284
12377
|
"properties": {
|
|
@@ -12311,7 +12404,12 @@
|
|
|
12311
12404
|
},
|
|
12312
12405
|
"skipped_count": {
|
|
12313
12406
|
"type": "integer",
|
|
12314
|
-
"
|
|
12407
|
+
"deprecated": true,
|
|
12408
|
+
"description": "Always 0. The v2 pipeline has no `skipped` level; v1 `skipped` is normalised to `info`. Retained for backward compatibility — use `info_count`."
|
|
12409
|
+
},
|
|
12410
|
+
"info_count": {
|
|
12411
|
+
"type": "integer",
|
|
12412
|
+
"description": "Number of info-level events in the breakdown item"
|
|
12315
12413
|
},
|
|
12316
12414
|
"total_count": {
|
|
12317
12415
|
"type": "integer",
|
|
@@ -12345,7 +12443,12 @@
|
|
|
12345
12443
|
},
|
|
12346
12444
|
"skipped_count": {
|
|
12347
12445
|
"type": "integer",
|
|
12348
|
-
"
|
|
12446
|
+
"deprecated": true,
|
|
12447
|
+
"description": "Always 0. The v2 pipeline has no `skipped` level; v1 `skipped` is normalised to `info`. Retained for backward compatibility — use `info_count`."
|
|
12448
|
+
},
|
|
12449
|
+
"info_count": {
|
|
12450
|
+
"type": "integer",
|
|
12451
|
+
"description": "Number of info-level events in the bucket"
|
|
12349
12452
|
},
|
|
12350
12453
|
"total_count": {
|
|
12351
12454
|
"type": "integer",
|
package/dist/bin/epilot.js
CHANGED
|
@@ -11,7 +11,7 @@ import { defineCommand } from "citty";
|
|
|
11
11
|
var main = defineCommand({
|
|
12
12
|
meta: {
|
|
13
13
|
name: "epilot",
|
|
14
|
-
version: "0.1.
|
|
14
|
+
version: "0.1.154",
|
|
15
15
|
description: "CLI for epilot APIs"
|
|
16
16
|
},
|
|
17
17
|
args: {
|
|
@@ -31,7 +31,7 @@ var main = defineCommand({
|
|
|
31
31
|
profile: () => import("../profile-OZJL5ZPT.js").then((m) => m.default),
|
|
32
32
|
config: () => import("../config-DGZIMLZK.js").then((m) => m.default),
|
|
33
33
|
completion: () => import("../completion-ZKB2LRUW.js").then((m) => m.default),
|
|
34
|
-
upgrade: () => import("../upgrade-
|
|
34
|
+
upgrade: () => import("../upgrade-66YVWUZD.js").then((m) => m.default),
|
|
35
35
|
"access-token": () => import("../access-token-WWE6BDJH.js").then((m) => m.default),
|
|
36
36
|
address: () => import("../address-EH3C4CVB.js").then((m) => m.default),
|
|
37
37
|
"address-suggestions": () => import("../address-suggestions-RRSLOBFW.js").then((m) => m.default),
|
|
@@ -134,7 +134,7 @@ process.stderr.on("error", (err) => {
|
|
|
134
134
|
if (err.code === "EPIPE") process.exit(0);
|
|
135
135
|
throw err;
|
|
136
136
|
});
|
|
137
|
-
var VERSION = true ? "0.1.
|
|
137
|
+
var VERSION = true ? "0.1.154" : (await null).default.version;
|
|
138
138
|
var reorderedArgv = hoistFlagsAfterSubcommand(process.argv.slice(2));
|
|
139
139
|
process.argv = [process.argv[0], process.argv[1], ...reorderedArgv];
|
|
140
140
|
var args = process.argv.slice(2);
|
|
@@ -72,7 +72,7 @@ ${GREEN}${BOLD}Upgraded to @epilot/cli@${latest}${RESET}
|
|
|
72
72
|
}
|
|
73
73
|
});
|
|
74
74
|
var getCurrentVersion = () => {
|
|
75
|
-
if (true) return "0.1.
|
|
75
|
+
if (true) return "0.1.154";
|
|
76
76
|
try {
|
|
77
77
|
const output = execSync("npm ls -g @epilot/cli --depth=0 --json 2>/dev/null", {
|
|
78
78
|
encoding: "utf-8",
|