@carrierllc/mcp 0.13.61 → 0.13.63

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-JEIKZQ4Z.js";
48
+ } from "./chunk-WCIQ6OYP.js";
49
49
  import {
50
50
  copyTree,
51
51
  exists,
@@ -4760,8 +4760,12 @@ var CLI_DOMAINS = [
4760
4760
  {
4761
4761
  name: "marketing",
4762
4762
  tool: "marketing_intelligence",
4763
- summary: "Where subscribers and revenue concentrate, and which markets grow.",
4764
- options: [ACCOUNT_ID("Report on a single account")]
4763
+ summary: "Regional ARPU from historical subscriber charges and catalogue coverage.",
4764
+ options: [
4765
+ ACCOUNT_ID("Report on a single account"),
4766
+ { flags: "--start <date>", description: "Usage period start (YYYY-MM-DD, maximum seven inclusive days)", arg: "start", type: "string" },
4767
+ { flags: "--end <date>", description: "Usage period end (YYYY-MM-DD, default today UTC)", arg: "end", type: "string" }
4768
+ ]
4765
4769
  },
4766
4770
  {
4767
4771
  name: "country-entry",
@@ -4980,7 +4984,7 @@ var CLI_DOMAINS = [
4980
4984
  },
4981
4985
  {
4982
4986
  name: "benefits",
4983
- summary: "Member-benefit campaigns: create, claim and issue an eSIM",
4987
+ summary: "Member-benefit campaigns: create, pause, claim, issue an eSIM and reconcile",
4984
4988
  commands: [
4985
4989
  {
4986
4990
  name: "create",
@@ -5031,6 +5035,56 @@ var CLI_DOMAINS = [
5031
5035
  }
5032
5036
  ]
5033
5037
  },
5038
+ {
5039
+ name: "status",
5040
+ tool: "set_benefit_campaign_status",
5041
+ summary: "Pause a campaign so it accepts no new claims, or resume it.",
5042
+ requireConfirm: true,
5043
+ options: [
5044
+ {
5045
+ flags: "--campaign-id <id>",
5046
+ description: "Campaign id, cbc_ followed by 32 hex characters.",
5047
+ arg: "campaign_id",
5048
+ type: "string",
5049
+ required: true
5050
+ },
5051
+ {
5052
+ flags: "--status <status>",
5053
+ description: "The status to set. One of: active, paused.",
5054
+ arg: "status",
5055
+ type: "string",
5056
+ required: true
5057
+ }
5058
+ ]
5059
+ },
5060
+ {
5061
+ name: "entitle",
5062
+ tool: "create_benefit_entitlement",
5063
+ summary: "Issue ONE single-use right for one external booking or member reference, which the claimant presents to claim a benefit.",
5064
+ requireConfirm: true,
5065
+ options: [
5066
+ {
5067
+ flags: "--campaign-id <id>",
5068
+ description: "Campaign id, cbc_ followed by 32 hex characters.",
5069
+ arg: "campaign_id",
5070
+ type: "string",
5071
+ required: true
5072
+ },
5073
+ {
5074
+ flags: "--external-ref <ref>",
5075
+ description: "Your own reference for the person, 1 to 200 characters.",
5076
+ arg: "external_ref",
5077
+ type: "string",
5078
+ required: true
5079
+ },
5080
+ {
5081
+ flags: "--ttl-ms <n>",
5082
+ description: "Lifetime of the right in milliseconds.",
5083
+ arg: "ttl_ms",
5084
+ type: "number"
5085
+ }
5086
+ ]
5087
+ },
5034
5088
  {
5035
5089
  name: "claim",
5036
5090
  tool: "claim_benefit",
@@ -5074,6 +5128,104 @@ var CLI_DOMAINS = [
5074
5128
  required: true
5075
5129
  }
5076
5130
  ]
5131
+ },
5132
+ {
5133
+ name: "reconcile",
5134
+ tool: "reconcile_benefit_claim",
5135
+ summary: "Ask the provider what happened to a claim whose issuance ended in an unknown outcome.",
5136
+ requireConfirm: true,
5137
+ options: [
5138
+ {
5139
+ flags: "--campaign-id <id>",
5140
+ description: "Campaign id, cbc_ followed by 32 hex characters.",
5141
+ arg: "campaign_id",
5142
+ type: "string",
5143
+ required: true
5144
+ },
5145
+ {
5146
+ flags: "--claim-id <id>",
5147
+ description: "Claim id, cbl_ followed by 32 hex characters.",
5148
+ arg: "claim_id",
5149
+ type: "string",
5150
+ required: true
5151
+ }
5152
+ ]
5153
+ }
5154
+ ]
5155
+ },
5156
+ {
5157
+ name: "experiments",
5158
+ summary: "Connectivity experiments: record an event and count events per measure",
5159
+ commands: [
5160
+ {
5161
+ name: "record",
5162
+ tool: "record_experiment_event",
5163
+ summary: "Record ONE event of an experiment: what a participant saw or did.",
5164
+ options: [
5165
+ {
5166
+ flags: "--event-id <id>",
5167
+ description: "Your own id for this event.",
5168
+ arg: "event_id",
5169
+ type: "string",
5170
+ required: true
5171
+ },
5172
+ {
5173
+ flags: "--experiment-id <id>",
5174
+ description: "The experiment this event belongs to.",
5175
+ arg: "experiment_id",
5176
+ type: "string",
5177
+ required: true
5178
+ },
5179
+ {
5180
+ flags: "--revision <n>",
5181
+ description: "The revision of the experiment.",
5182
+ arg: "revision",
5183
+ type: "number",
5184
+ required: true
5185
+ },
5186
+ {
5187
+ flags: "--link <link>",
5188
+ description: "The participant this event is about.",
5189
+ arg: "link",
5190
+ type: "string",
5191
+ required: true
5192
+ },
5193
+ {
5194
+ flags: "--measure <measure>",
5195
+ description: "What the participant did. One of: viewed, confirmed, issued, first_data.",
5196
+ arg: "measure",
5197
+ type: "string",
5198
+ required: true
5199
+ }
5200
+ ]
5201
+ },
5202
+ {
5203
+ name: "report",
5204
+ tool: "experiment_report",
5205
+ summary: "Count the events of one experiment per measure inside a time window.",
5206
+ options: [
5207
+ {
5208
+ flags: "--experiment-id <id>",
5209
+ description: "The experiment to report on.",
5210
+ arg: "experiment_id",
5211
+ type: "string",
5212
+ required: true
5213
+ },
5214
+ {
5215
+ flags: "--from <n>",
5216
+ description: "Start of the window, epoch milliseconds.",
5217
+ arg: "from",
5218
+ type: "number",
5219
+ required: true
5220
+ },
5221
+ {
5222
+ flags: "--to <n>",
5223
+ description: "End of the window, epoch milliseconds, exclusive.",
5224
+ arg: "to",
5225
+ type: "number",
5226
+ required: true
5227
+ }
5228
+ ]
5077
5229
  }
5078
5230
  ]
5079
5231
  },