@carrierllc/mcp 0.4.0 → 0.4.1

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.
@@ -1792,7 +1792,7 @@ function repairPlanFor(diagnosis) {
1792
1792
  // package.json
1793
1793
  var package_default = {
1794
1794
  name: "@carrierllc/mcp",
1795
- version: "0.4.0",
1795
+ version: "0.4.1",
1796
1796
  description: "Carrier MCP \u2014 natural-language control of MVNO/eSIM fleets via eSIMVault OCS. Stdio mode for direct integration with Claude Desktop, Cursor, Windsurf, and MCP-compatible clients. Ships the `carrier` CLI (plugin install + white-label eSIM storefront scaffold).",
1797
1797
  license: "MIT",
1798
1798
  author: "Carrier (Lifecycle Innovations Limited)",
@@ -2034,7 +2034,7 @@ function getRateLimitWindowCounts(resellerKey, endpoint) {
2034
2034
  return { calls_in_window, batch_calls_in_window };
2035
2035
  }
2036
2036
 
2037
- // ../../packages/ocs-client/dist/chunk-UVXJX6UZ.js
2037
+ // ../../packages/ocs-client/dist/chunk-JWSVJVAF.js
2038
2038
  var OCS_MAX_USAGE_WINDOW_DAYS = 7;
2039
2039
  function clampUsagePeriod(start, end, maxDays = OCS_MAX_USAGE_WINDOW_DAYS) {
2040
2040
  const endMs = Date.parse(`${end}T00:00:00Z`);
@@ -2063,6 +2063,16 @@ function locationParams(iccid) {
2063
2063
  function subscriberIdParams(iccid) {
2064
2064
  return { iccid };
2065
2065
  }
2066
+ function recurringPackageParams(iccid, packageTemplateId, options = {}) {
2067
+ if (options.activationAtFirstUse !== void 0 && options.startTimeUTC !== void 0) {
2068
+ throw new Error("activationAtFirstUse cannot be combined with startTimeUTC");
2069
+ }
2070
+ return {
2071
+ subscriber: { iccid },
2072
+ packageTemplateId,
2073
+ ...options.startTimeUTC !== void 0 ? { startTimeUTC: options.startTimeUTC } : { activationAtFirstUse: options.activationAtFirstUse ?? true }
2074
+ };
2075
+ }
2066
2076
  function networkEventsOverPeriodParams(iccid, start, end) {
2067
2077
  return usageOverPeriodParams(iccid, start, end);
2068
2078
  }
@@ -2393,6 +2403,7 @@ export {
2393
2403
  lastNDaysPeriod,
2394
2404
  locationParams,
2395
2405
  subscriberIdParams,
2406
+ recurringPackageParams,
2396
2407
  networkEventsOverPeriodParams,
2397
2408
  usageOverPeriodParams,
2398
2409
  imsiFromSubscriberRecord,
@@ -2438,4 +2449,4 @@ export {
2438
2449
  repairPlanFor,
2439
2450
  CARRIER_VERSION
2440
2451
  };
2441
- //# sourceMappingURL=chunk-RBG4MKMW.js.map
2452
+ //# sourceMappingURL=chunk-6OI56RSR.js.map