@epilot/cli 0.1.69 → 0.1.70
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 +1 -1
- package/definitions/access-token.json +18 -0
- package/definitions/customer-portal.json +119 -0
- package/definitions/message.json +146 -1
- package/definitions/metering.json +6 -6
- package/definitions/targeting.json +291 -0
- package/definitions/user.json +146 -0
- package/definitions/webhooks.json +24 -12
- package/definitions/workflow-definition.json +282 -44
- package/definitions/workflow.json +12 -0
- package/dist/bin/epilot.js +6 -6
- package/dist/{chunk-HIU6WP36.js → chunk-GUV2XOGM.js} +9 -4
- package/dist/{completion-7FZ4RKFG.js → completion-PDNCIJ7H.js} +1 -1
- package/dist/{upgrade-A3WU36B4.js → upgrade-2IID7RYV.js} +1 -1
- package/package.json +1 -1
package/dist/bin/epilot.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import {
|
|
3
3
|
API_LIST
|
|
4
|
-
} from "../chunk-
|
|
4
|
+
} from "../chunk-GUV2XOGM.js";
|
|
5
5
|
|
|
6
6
|
// bin/epilot.ts
|
|
7
7
|
import { runMain } from "citty";
|
|
@@ -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.70",
|
|
15
15
|
description: "CLI for epilot APIs"
|
|
16
16
|
},
|
|
17
17
|
args: {
|
|
@@ -30,8 +30,8 @@ var main = defineCommand({
|
|
|
30
30
|
auth: () => import("../auth-4HG7B2GC.js").then((m) => m.default),
|
|
31
31
|
profile: () => import("../profile-OZJL5ZPT.js").then((m) => m.default),
|
|
32
32
|
config: () => import("../config-DGZIMLZK.js").then((m) => m.default),
|
|
33
|
-
completion: () => import("../completion-
|
|
34
|
-
upgrade: () => import("../upgrade-
|
|
33
|
+
completion: () => import("../completion-PDNCIJ7H.js").then((m) => m.default),
|
|
34
|
+
upgrade: () => import("../upgrade-2IID7RYV.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,13 +134,13 @@ 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.70" : (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);
|
|
141
141
|
var completionsIdx = args.indexOf("--_completions");
|
|
142
142
|
if (completionsIdx >= 0) {
|
|
143
|
-
const { handleCompletions } = await import("../completion-
|
|
143
|
+
const { handleCompletions } = await import("../completion-PDNCIJ7H.js");
|
|
144
144
|
handleCompletions(args[completionsIdx + 1], args[completionsIdx + 2]);
|
|
145
145
|
process.exit(0);
|
|
146
146
|
}
|
|
@@ -272,7 +272,7 @@ var API_LIST = [
|
|
|
272
272
|
kebabName: "customer-portal",
|
|
273
273
|
title: "Portal API",
|
|
274
274
|
serverUrl: "https://customer-portal-api.sls.epilot.io",
|
|
275
|
-
operationCount:
|
|
275
|
+
operationCount: 159,
|
|
276
276
|
operationIds: [
|
|
277
277
|
"upsertPortal",
|
|
278
278
|
"createUser",
|
|
@@ -358,6 +358,7 @@ var API_LIST = [
|
|
|
358
358
|
"getAllRequests",
|
|
359
359
|
"getAllContracts",
|
|
360
360
|
"getContract",
|
|
361
|
+
"getContractWithTemplates",
|
|
361
362
|
"updateContract",
|
|
362
363
|
"addContractByIdentifiers",
|
|
363
364
|
"getEntityIdentifiers",
|
|
@@ -884,7 +885,7 @@ var API_LIST = [
|
|
|
884
885
|
kebabName: "message",
|
|
885
886
|
title: "Message API",
|
|
886
887
|
serverUrl: "https://message.sls.epilot.io",
|
|
887
|
-
operationCount:
|
|
888
|
+
operationCount: 53,
|
|
888
889
|
operationIds: [
|
|
889
890
|
"sendMessage",
|
|
890
891
|
"updateMessage",
|
|
@@ -902,6 +903,7 @@ var API_LIST = [
|
|
|
902
903
|
"searchThreads",
|
|
903
904
|
"searchThreadsV2",
|
|
904
905
|
"searchIds",
|
|
906
|
+
"getAssigneeWorkload",
|
|
905
907
|
"updateThread",
|
|
906
908
|
"deleteThread",
|
|
907
909
|
"moveThread",
|
|
@@ -1235,7 +1237,7 @@ var API_LIST = [
|
|
|
1235
1237
|
kebabName: "targeting",
|
|
1236
1238
|
title: "Targeting API",
|
|
1237
1239
|
serverUrl: "https://targeting.sls.epilot.io",
|
|
1238
|
-
operationCount:
|
|
1240
|
+
operationCount: 14,
|
|
1239
1241
|
operationIds: [
|
|
1240
1242
|
"changeCampaignStatus",
|
|
1241
1243
|
"getCampaignJobStatus",
|
|
@@ -1243,11 +1245,13 @@ var API_LIST = [
|
|
|
1243
1245
|
"retriggerCampaignAutomations",
|
|
1244
1246
|
"setupCampaign",
|
|
1245
1247
|
"matchCampaigns",
|
|
1248
|
+
"discoverCampaigns",
|
|
1246
1249
|
"matchTargets",
|
|
1247
1250
|
"getTargetQueries",
|
|
1248
1251
|
"createRecipient",
|
|
1249
1252
|
"updateRecipient",
|
|
1250
1253
|
"updateRecipientPortalStatus",
|
|
1254
|
+
"updateRecipientEntityUiStatus",
|
|
1251
1255
|
"getRecipients"
|
|
1252
1256
|
]
|
|
1253
1257
|
},
|
|
@@ -1277,7 +1281,7 @@ var API_LIST = [
|
|
|
1277
1281
|
kebabName: "user",
|
|
1278
1282
|
title: "User API",
|
|
1279
1283
|
serverUrl: "https://user.sls.epilot.io",
|
|
1280
|
-
operationCount:
|
|
1284
|
+
operationCount: 42,
|
|
1281
1285
|
operationIds: [
|
|
1282
1286
|
"signUpUser",
|
|
1283
1287
|
"getMeV2",
|
|
@@ -1304,6 +1308,7 @@ var API_LIST = [
|
|
|
1304
1308
|
"getNavigation",
|
|
1305
1309
|
"verifyEmailWithToken",
|
|
1306
1310
|
"requestPasswordReset",
|
|
1311
|
+
"resetPassword",
|
|
1307
1312
|
"checkInviteToken",
|
|
1308
1313
|
"activateUser",
|
|
1309
1314
|
"rejectInvite",
|
|
@@ -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.70";
|
|
76
76
|
try {
|
|
77
77
|
const output = execSync("npm ls -g @epilot/cli --depth=0 --json 2>/dev/null", {
|
|
78
78
|
encoding: "utf-8",
|