@epilot/cli 0.1.63 → 0.1.64
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
|
@@ -3665,6 +3665,14 @@
|
|
|
3665
3665
|
"contactId": {
|
|
3666
3666
|
"$ref": "#/components/schemas/EntityId",
|
|
3667
3667
|
"description": "ID of the contact if exists"
|
|
3668
|
+
},
|
|
3669
|
+
"reason": {
|
|
3670
|
+
"type": "string",
|
|
3671
|
+
"enum": [
|
|
3672
|
+
"TIMEOUT",
|
|
3673
|
+
"NOT_FOUND"
|
|
3674
|
+
],
|
|
3675
|
+
"description": "Present only when exists is false. NOT_FOUND means the given identifiers did\nnot match any contact (definitive - the client should not retry). TIMEOUT\nmeans the contact was not found within the processing window but may still be\ningesting; the client may retry (ideally with trigger_identifiers_check=false).\n"
|
|
3668
3676
|
}
|
|
3669
3677
|
}
|
|
3670
3678
|
}
|
|
@@ -3743,6 +3751,14 @@
|
|
|
3743
3751
|
"accountId": {
|
|
3744
3752
|
"$ref": "#/components/schemas/EntityId",
|
|
3745
3753
|
"description": "ID of the resolved account when the portal is configured for account-based registration"
|
|
3754
|
+
},
|
|
3755
|
+
"reason": {
|
|
3756
|
+
"type": "string",
|
|
3757
|
+
"enum": [
|
|
3758
|
+
"TIMEOUT",
|
|
3759
|
+
"NOT_FOUND"
|
|
3760
|
+
],
|
|
3761
|
+
"description": "Present only when exists is false. NOT_FOUND means the given identifiers did\nnot match any contact (definitive - the client should not retry). TIMEOUT\nmeans the contact was not found within the processing window but may still be\ningesting; the client may retry (ideally with trigger_identifiers_check=false).\n"
|
|
3746
3762
|
}
|
|
3747
3763
|
}
|
|
3748
3764
|
}
|
|
@@ -12641,6 +12657,11 @@
|
|
|
12641
12657
|
"contract_number": "123456"
|
|
12642
12658
|
}
|
|
12643
12659
|
}
|
|
12660
|
+
},
|
|
12661
|
+
"trigger_identifiers_check": {
|
|
12662
|
+
"type": "boolean",
|
|
12663
|
+
"default": true,
|
|
12664
|
+
"description": "Whether to (re)trigger the registration identifiers check hook, which issues a request\nto the connected ERP to (re)sync the contact, in addition to waiting for the entity to\narrive. Defaults to true to preserve existing behaviour. Set to false on retry attempts\nto only poll for an already-triggered sync to land, without issuing another upstream\nrequest to the ERP.\n"
|
|
12644
12665
|
}
|
|
12645
12666
|
}
|
|
12646
12667
|
},
|
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.64",
|
|
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-H6LKKRG6.js").then((m) => m.default),
|
|
34
|
-
upgrade: () => import("../upgrade-
|
|
34
|
+
upgrade: () => import("../upgrade-ZXBNY2DJ.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.64" : (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.64";
|
|
76
76
|
try {
|
|
77
77
|
const output = execSync("npm ls -g @epilot/cli --depth=0 --json 2>/dev/null", {
|
|
78
78
|
encoding: "utf-8",
|