@carrierllc/sdk 0.2.22 → 0.2.23

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.
@@ -1788,6 +1788,92 @@
1788
1788
  "restPath": null,
1789
1789
  "options": []
1790
1790
  },
1791
+ {
1792
+ "invocation": "carrier benefits create",
1793
+ "domain": "benefits",
1794
+ "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.",
1795
+ "write": false,
1796
+ "transport": "mcp",
1797
+ "tool": "create_benefit_campaign",
1798
+ "restMethod": null,
1799
+ "restPath": null,
1800
+ "options": [
1801
+ {
1802
+ "flags": "--offering-id <id>",
1803
+ "description": "Offering the campaign issues from.",
1804
+ "required": true
1805
+ },
1806
+ {
1807
+ "flags": "--revision <n>",
1808
+ "description": "Offering revision, 1 or higher.",
1809
+ "required": true
1810
+ },
1811
+ {
1812
+ "flags": "--max-claims <n>",
1813
+ "description": "Most claims the campaign accepts.",
1814
+ "required": true
1815
+ },
1816
+ {
1817
+ "flags": "--cost-cents <n>",
1818
+ "description": "Cost of one claim in cents.",
1819
+ "required": true
1820
+ },
1821
+ {
1822
+ "flags": "--expires-at <n>",
1823
+ "description": "Expiry as epoch milliseconds.",
1824
+ "required": true
1825
+ },
1826
+ {
1827
+ "flags": "--product-id <id>",
1828
+ "description": "Optional product to issue from.",
1829
+ "required": false
1830
+ }
1831
+ ]
1832
+ },
1833
+ {
1834
+ "invocation": "carrier benefits claim",
1835
+ "domain": "benefits",
1836
+ "summary": "Claim one benefit from a campaign for an external reference, which places a hold on the sponsor wallet.",
1837
+ "write": false,
1838
+ "transport": "mcp",
1839
+ "tool": "claim_benefit",
1840
+ "restMethod": null,
1841
+ "restPath": null,
1842
+ "options": [
1843
+ {
1844
+ "flags": "--campaign-id <id>",
1845
+ "description": "Campaign id, cbc_ followed by 32 hex characters.",
1846
+ "required": true
1847
+ },
1848
+ {
1849
+ "flags": "--external-ref <ref>",
1850
+ "description": "Your own reference for the claimant, 1 to 200 characters.",
1851
+ "required": true
1852
+ }
1853
+ ]
1854
+ },
1855
+ {
1856
+ "invocation": "carrier benefits issue",
1857
+ "domain": "benefits",
1858
+ "summary": "Issue ONE REAL eSIM for a held claim and settle the wallet hold.",
1859
+ "write": false,
1860
+ "transport": "mcp",
1861
+ "tool": "issue_benefit_claim",
1862
+ "restMethod": null,
1863
+ "restPath": null,
1864
+ "options": [
1865
+ {
1866
+ "flags": "--campaign-id <id>",
1867
+ "description": "Campaign id, cbc_ followed by 32 hex characters.",
1868
+ "required": true
1869
+ },
1870
+ {
1871
+ "flags": "--claim-id <id>",
1872
+ "description": "Claim id from claim_benefit, cbl_ followed by 32 hex characters.",
1873
+ "required": true
1874
+ }
1875
+ ]
1876
+ },
1791
1877
  {
1792
1878
  "invocation": "carrier billing events",
1793
1879
  "domain": "billing",
package/dist/version.d.ts CHANGED
@@ -1,3 +1,3 @@
1
1
  /** Published version. Keep this equal to package.json. */
2
- export declare const SDK_VERSION = "0.2.22";
3
- export declare const USER_AGENT = "@carrierllc/sdk/0.2.22";
2
+ export declare const SDK_VERSION = "0.2.23";
3
+ export declare const USER_AGENT = "@carrierllc/sdk/0.2.23";
package/dist/version.js CHANGED
@@ -1,3 +1,3 @@
1
1
  /** Published version. Keep this equal to package.json. */
2
- export const SDK_VERSION = "0.2.22";
2
+ export const SDK_VERSION = "0.2.23";
3
3
  export const USER_AGENT = `@carrierllc/sdk/${SDK_VERSION}`;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@carrierllc/sdk",
3
- "version": "0.2.22",
3
+ "version": "0.2.23",
4
4
  "description": "TypeScript client for the Carrier API, MCP server, and CLI.",
5
5
  "license": "MIT",
6
6
  "type": "module",