@carrierllc/mcp 0.13.60 → 0.13.61
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/cli.js
CHANGED
|
@@ -45,7 +45,7 @@ import {
|
|
|
45
45
|
verifyStorefront,
|
|
46
46
|
walletScreen,
|
|
47
47
|
which
|
|
48
|
-
} from "./chunk-
|
|
48
|
+
} from "./chunk-JEIKZQ4Z.js";
|
|
49
49
|
import {
|
|
50
50
|
copyTree,
|
|
51
51
|
exists,
|
|
@@ -4978,6 +4978,105 @@ var CLI_DOMAINS = [
|
|
|
4978
4978
|
}
|
|
4979
4979
|
]
|
|
4980
4980
|
},
|
|
4981
|
+
{
|
|
4982
|
+
name: "benefits",
|
|
4983
|
+
summary: "Member-benefit campaigns: create, claim and issue an eSIM",
|
|
4984
|
+
commands: [
|
|
4985
|
+
{
|
|
4986
|
+
name: "create",
|
|
4987
|
+
tool: "create_benefit_campaign",
|
|
4988
|
+
summary: "Create a member-benefit campaign: a capped number of eSIM claims for one offering revision, each costing a fixed amount from your sponsor wallet.",
|
|
4989
|
+
requireConfirm: true,
|
|
4990
|
+
options: [
|
|
4991
|
+
{
|
|
4992
|
+
flags: "--offering-id <id>",
|
|
4993
|
+
description: "Offering the campaign issues from.",
|
|
4994
|
+
arg: "offering_id",
|
|
4995
|
+
type: "string",
|
|
4996
|
+
required: true
|
|
4997
|
+
},
|
|
4998
|
+
{
|
|
4999
|
+
flags: "--revision <n>",
|
|
5000
|
+
description: "Offering revision, 1 or higher.",
|
|
5001
|
+
arg: "revision",
|
|
5002
|
+
type: "number",
|
|
5003
|
+
required: true
|
|
5004
|
+
},
|
|
5005
|
+
{
|
|
5006
|
+
flags: "--max-claims <n>",
|
|
5007
|
+
description: "Most claims the campaign accepts.",
|
|
5008
|
+
arg: "max_claims",
|
|
5009
|
+
type: "number",
|
|
5010
|
+
required: true
|
|
5011
|
+
},
|
|
5012
|
+
{
|
|
5013
|
+
flags: "--cost-cents <n>",
|
|
5014
|
+
description: "Cost of one claim in cents.",
|
|
5015
|
+
arg: "cost_cents",
|
|
5016
|
+
type: "number",
|
|
5017
|
+
required: true
|
|
5018
|
+
},
|
|
5019
|
+
{
|
|
5020
|
+
flags: "--expires-at <n>",
|
|
5021
|
+
description: "Expiry as epoch milliseconds.",
|
|
5022
|
+
arg: "expires_at",
|
|
5023
|
+
type: "number",
|
|
5024
|
+
required: true
|
|
5025
|
+
},
|
|
5026
|
+
{
|
|
5027
|
+
flags: "--product-id <id>",
|
|
5028
|
+
description: "Optional product to issue from.",
|
|
5029
|
+
arg: "product_id",
|
|
5030
|
+
type: "string"
|
|
5031
|
+
}
|
|
5032
|
+
]
|
|
5033
|
+
},
|
|
5034
|
+
{
|
|
5035
|
+
name: "claim",
|
|
5036
|
+
tool: "claim_benefit",
|
|
5037
|
+
summary: "Claim one benefit from a campaign for an external reference, which places a hold on the sponsor wallet.",
|
|
5038
|
+
requireConfirm: true,
|
|
5039
|
+
options: [
|
|
5040
|
+
{
|
|
5041
|
+
flags: "--campaign-id <id>",
|
|
5042
|
+
description: "Campaign id, cbc_ followed by 32 hex characters.",
|
|
5043
|
+
arg: "campaign_id",
|
|
5044
|
+
type: "string",
|
|
5045
|
+
required: true
|
|
5046
|
+
},
|
|
5047
|
+
{
|
|
5048
|
+
flags: "--external-ref <ref>",
|
|
5049
|
+
description: "Your own reference for the claimant, 1 to 200 characters.",
|
|
5050
|
+
arg: "external_ref",
|
|
5051
|
+
type: "string",
|
|
5052
|
+
required: true
|
|
5053
|
+
}
|
|
5054
|
+
]
|
|
5055
|
+
},
|
|
5056
|
+
{
|
|
5057
|
+
name: "issue",
|
|
5058
|
+
tool: "issue_benefit_claim",
|
|
5059
|
+
summary: "Issue ONE REAL eSIM for a held claim and settle the wallet hold.",
|
|
5060
|
+
requireConfirm: true,
|
|
5061
|
+
options: [
|
|
5062
|
+
{
|
|
5063
|
+
flags: "--campaign-id <id>",
|
|
5064
|
+
description: "Campaign id, cbc_ followed by 32 hex characters.",
|
|
5065
|
+
arg: "campaign_id",
|
|
5066
|
+
type: "string",
|
|
5067
|
+
required: true
|
|
5068
|
+
},
|
|
5069
|
+
{
|
|
5070
|
+
flags: "--claim-id <id>",
|
|
5071
|
+
description: "Claim id from claim_benefit, cbl_ followed by 32 hex characters.",
|
|
5072
|
+
arg: "claim_id",
|
|
5073
|
+
type: "string",
|
|
5074
|
+
required: true
|
|
5075
|
+
}
|
|
5076
|
+
]
|
|
5077
|
+
}
|
|
5078
|
+
]
|
|
5079
|
+
},
|
|
4981
5080
|
{
|
|
4982
5081
|
name: "billing",
|
|
4983
5082
|
summary: "Carrier plan credits, spend thresholds and rate-limit state",
|