@carrierllc/mcp 0.13.61 → 0.13.62

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-SZR42TUZ.js";
49
49
  import {
50
50
  copyTree,
51
51
  exists,
@@ -4980,7 +4980,7 @@ var CLI_DOMAINS = [
4980
4980
  },
4981
4981
  {
4982
4982
  name: "benefits",
4983
- summary: "Member-benefit campaigns: create, claim and issue an eSIM",
4983
+ summary: "Member-benefit campaigns: create, pause, claim, issue an eSIM and reconcile",
4984
4984
  commands: [
4985
4985
  {
4986
4986
  name: "create",
@@ -5031,6 +5031,56 @@ var CLI_DOMAINS = [
5031
5031
  }
5032
5032
  ]
5033
5033
  },
5034
+ {
5035
+ name: "status",
5036
+ tool: "set_benefit_campaign_status",
5037
+ summary: "Pause a campaign so it accepts no new claims, or resume it.",
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: "--status <status>",
5049
+ description: "The status to set. One of: active, paused.",
5050
+ arg: "status",
5051
+ type: "string",
5052
+ required: true
5053
+ }
5054
+ ]
5055
+ },
5056
+ {
5057
+ name: "entitle",
5058
+ tool: "create_benefit_entitlement",
5059
+ summary: "Issue ONE single-use right for one external booking or member reference, which the claimant presents to claim a benefit.",
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: "--external-ref <ref>",
5071
+ description: "Your own reference for the person, 1 to 200 characters.",
5072
+ arg: "external_ref",
5073
+ type: "string",
5074
+ required: true
5075
+ },
5076
+ {
5077
+ flags: "--ttl-ms <n>",
5078
+ description: "Lifetime of the right in milliseconds.",
5079
+ arg: "ttl_ms",
5080
+ type: "number"
5081
+ }
5082
+ ]
5083
+ },
5034
5084
  {
5035
5085
  name: "claim",
5036
5086
  tool: "claim_benefit",
@@ -5074,6 +5124,104 @@ var CLI_DOMAINS = [
5074
5124
  required: true
5075
5125
  }
5076
5126
  ]
5127
+ },
5128
+ {
5129
+ name: "reconcile",
5130
+ tool: "reconcile_benefit_claim",
5131
+ summary: "Ask the provider what happened to a claim whose issuance ended in an unknown outcome.",
5132
+ requireConfirm: true,
5133
+ options: [
5134
+ {
5135
+ flags: "--campaign-id <id>",
5136
+ description: "Campaign id, cbc_ followed by 32 hex characters.",
5137
+ arg: "campaign_id",
5138
+ type: "string",
5139
+ required: true
5140
+ },
5141
+ {
5142
+ flags: "--claim-id <id>",
5143
+ description: "Claim id, cbl_ followed by 32 hex characters.",
5144
+ arg: "claim_id",
5145
+ type: "string",
5146
+ required: true
5147
+ }
5148
+ ]
5149
+ }
5150
+ ]
5151
+ },
5152
+ {
5153
+ name: "experiments",
5154
+ summary: "Connectivity experiments: record an event and count events per measure",
5155
+ commands: [
5156
+ {
5157
+ name: "record",
5158
+ tool: "record_experiment_event",
5159
+ summary: "Record ONE event of an experiment: what a participant saw or did.",
5160
+ options: [
5161
+ {
5162
+ flags: "--event-id <id>",
5163
+ description: "Your own id for this event.",
5164
+ arg: "event_id",
5165
+ type: "string",
5166
+ required: true
5167
+ },
5168
+ {
5169
+ flags: "--experiment-id <id>",
5170
+ description: "The experiment this event belongs to.",
5171
+ arg: "experiment_id",
5172
+ type: "string",
5173
+ required: true
5174
+ },
5175
+ {
5176
+ flags: "--revision <n>",
5177
+ description: "The revision of the experiment.",
5178
+ arg: "revision",
5179
+ type: "number",
5180
+ required: true
5181
+ },
5182
+ {
5183
+ flags: "--link <link>",
5184
+ description: "The participant this event is about.",
5185
+ arg: "link",
5186
+ type: "string",
5187
+ required: true
5188
+ },
5189
+ {
5190
+ flags: "--measure <measure>",
5191
+ description: "What the participant did. One of: viewed, confirmed, issued, first_data.",
5192
+ arg: "measure",
5193
+ type: "string",
5194
+ required: true
5195
+ }
5196
+ ]
5197
+ },
5198
+ {
5199
+ name: "report",
5200
+ tool: "experiment_report",
5201
+ summary: "Count the events of one experiment per measure inside a time window.",
5202
+ options: [
5203
+ {
5204
+ flags: "--experiment-id <id>",
5205
+ description: "The experiment to report on.",
5206
+ arg: "experiment_id",
5207
+ type: "string",
5208
+ required: true
5209
+ },
5210
+ {
5211
+ flags: "--from <n>",
5212
+ description: "Start of the window, epoch milliseconds.",
5213
+ arg: "from",
5214
+ type: "number",
5215
+ required: true
5216
+ },
5217
+ {
5218
+ flags: "--to <n>",
5219
+ description: "End of the window, epoch milliseconds, exclusive.",
5220
+ arg: "to",
5221
+ type: "number",
5222
+ required: true
5223
+ }
5224
+ ]
5077
5225
  }
5078
5226
  ]
5079
5227
  },