@sendly/cli 3.17.0 → 3.18.2

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.
Files changed (57) hide show
  1. package/dist/commands/credits/balance.js +2 -2
  2. package/dist/commands/enterprise/analytics/credits.d.ts +11 -0
  3. package/dist/commands/enterprise/analytics/credits.js +59 -0
  4. package/dist/commands/enterprise/analytics/delivery.d.ts +10 -0
  5. package/dist/commands/enterprise/analytics/delivery.js +60 -0
  6. package/dist/commands/enterprise/analytics/messages.d.ts +11 -0
  7. package/dist/commands/enterprise/analytics/messages.js +59 -0
  8. package/dist/commands/enterprise/analytics/overview.d.ts +10 -0
  9. package/dist/commands/enterprise/analytics/overview.js +42 -0
  10. package/dist/commands/enterprise/billing.d.ts +12 -0
  11. package/dist/commands/enterprise/billing.js +70 -0
  12. package/dist/commands/enterprise/credits.d.ts +13 -0
  13. package/dist/commands/enterprise/credits.js +37 -0
  14. package/dist/commands/enterprise/keys/create.d.ts +15 -0
  15. package/dist/commands/enterprise/keys/create.js +53 -0
  16. package/dist/commands/enterprise/keys/list.d.ts +13 -0
  17. package/dist/commands/enterprise/keys/list.js +69 -0
  18. package/dist/commands/enterprise/keys/revoke.d.ts +15 -0
  19. package/dist/commands/enterprise/keys/revoke.js +57 -0
  20. package/dist/commands/enterprise/provision.d.ts +17 -0
  21. package/dist/commands/enterprise/provision.js +143 -0
  22. package/dist/commands/enterprise/quota/get.d.ts +13 -0
  23. package/dist/commands/enterprise/quota/get.js +40 -0
  24. package/dist/commands/enterprise/quota/set.d.ts +15 -0
  25. package/dist/commands/enterprise/quota/set.js +69 -0
  26. package/dist/commands/enterprise/status.d.ts +10 -0
  27. package/dist/commands/enterprise/status.js +45 -0
  28. package/dist/commands/enterprise/transfer-credits.d.ts +14 -0
  29. package/dist/commands/enterprise/transfer-credits.js +76 -0
  30. package/dist/commands/enterprise/webhooks/delete.d.ts +11 -0
  31. package/dist/commands/enterprise/webhooks/delete.js +44 -0
  32. package/dist/commands/enterprise/webhooks/get.d.ts +10 -0
  33. package/dist/commands/enterprise/webhooks/get.js +38 -0
  34. package/dist/commands/enterprise/webhooks/set.d.ts +12 -0
  35. package/dist/commands/enterprise/webhooks/set.js +48 -0
  36. package/dist/commands/enterprise/webhooks/test.d.ts +10 -0
  37. package/dist/commands/enterprise/webhooks/test.js +42 -0
  38. package/dist/commands/enterprise/workspaces/create.d.ts +11 -0
  39. package/dist/commands/enterprise/workspaces/create.js +37 -0
  40. package/dist/commands/enterprise/workspaces/delete.d.ts +14 -0
  41. package/dist/commands/enterprise/workspaces/delete.js +58 -0
  42. package/dist/commands/enterprise/workspaces/get.d.ts +13 -0
  43. package/dist/commands/enterprise/workspaces/get.js +49 -0
  44. package/dist/commands/enterprise/workspaces/list.d.ts +10 -0
  45. package/dist/commands/enterprise/workspaces/list.js +74 -0
  46. package/dist/commands/enterprise/workspaces/resume.d.ts +13 -0
  47. package/dist/commands/enterprise/workspaces/resume.js +35 -0
  48. package/dist/commands/enterprise/workspaces/suspend.d.ts +15 -0
  49. package/dist/commands/enterprise/workspaces/suspend.js +60 -0
  50. package/dist/commands/sms/batch.d.ts +2 -2
  51. package/dist/commands/sms/batch.js +5 -5
  52. package/dist/commands/sms/send.d.ts +2 -1
  53. package/dist/commands/sms/send.js +30 -11
  54. package/dist/lib/api-client.d.ts +2 -1
  55. package/dist/lib/api-client.js +7 -4
  56. package/oclif.manifest.json +1231 -5
  57. package/package.json +19 -1
@@ -1542,6 +1542,296 @@
1542
1542
  "transfer.js"
1543
1543
  ]
1544
1544
  },
1545
+ "enterprise:billing": {
1546
+ "aliases": [],
1547
+ "args": {},
1548
+ "description": "Get billing breakdown by workspace",
1549
+ "examples": [
1550
+ "<%= config.bin %> enterprise billing",
1551
+ "<%= config.bin %> enterprise billing --page 2",
1552
+ "<%= config.bin %> enterprise billing --json"
1553
+ ],
1554
+ "flags": {
1555
+ "json": {
1556
+ "description": "Output in JSON format",
1557
+ "name": "json",
1558
+ "allowNo": false,
1559
+ "type": "boolean"
1560
+ },
1561
+ "quiet": {
1562
+ "char": "q",
1563
+ "description": "Minimal output",
1564
+ "name": "quiet",
1565
+ "allowNo": false,
1566
+ "type": "boolean"
1567
+ },
1568
+ "page": {
1569
+ "description": "Page number",
1570
+ "name": "page",
1571
+ "default": 1,
1572
+ "hasDynamicHelp": false,
1573
+ "multiple": false,
1574
+ "type": "option"
1575
+ },
1576
+ "limit": {
1577
+ "description": "Results per page",
1578
+ "name": "limit",
1579
+ "default": 20,
1580
+ "hasDynamicHelp": false,
1581
+ "multiple": false,
1582
+ "type": "option"
1583
+ }
1584
+ },
1585
+ "hasDynamicHelp": false,
1586
+ "hiddenAliases": [],
1587
+ "id": "enterprise:billing",
1588
+ "pluginAlias": "@sendly/cli",
1589
+ "pluginName": "@sendly/cli",
1590
+ "pluginType": "core",
1591
+ "strict": true,
1592
+ "isESM": true,
1593
+ "relativePath": [
1594
+ "dist",
1595
+ "commands",
1596
+ "enterprise",
1597
+ "billing.js"
1598
+ ]
1599
+ },
1600
+ "enterprise:credits": {
1601
+ "aliases": [],
1602
+ "args": {
1603
+ "workspaceId": {
1604
+ "description": "Workspace ID",
1605
+ "name": "workspaceId",
1606
+ "required": true
1607
+ }
1608
+ },
1609
+ "description": "Check credit balance for an enterprise workspace",
1610
+ "examples": [
1611
+ "<%= config.bin %> enterprise credits org_abc123",
1612
+ "<%= config.bin %> enterprise credits org_abc123 --json"
1613
+ ],
1614
+ "flags": {
1615
+ "json": {
1616
+ "description": "Output in JSON format",
1617
+ "name": "json",
1618
+ "allowNo": false,
1619
+ "type": "boolean"
1620
+ },
1621
+ "quiet": {
1622
+ "char": "q",
1623
+ "description": "Minimal output",
1624
+ "name": "quiet",
1625
+ "allowNo": false,
1626
+ "type": "boolean"
1627
+ }
1628
+ },
1629
+ "hasDynamicHelp": false,
1630
+ "hiddenAliases": [],
1631
+ "id": "enterprise:credits",
1632
+ "pluginAlias": "@sendly/cli",
1633
+ "pluginName": "@sendly/cli",
1634
+ "pluginType": "core",
1635
+ "strict": true,
1636
+ "isESM": true,
1637
+ "relativePath": [
1638
+ "dist",
1639
+ "commands",
1640
+ "enterprise",
1641
+ "credits.js"
1642
+ ]
1643
+ },
1644
+ "enterprise:provision": {
1645
+ "aliases": [],
1646
+ "args": {},
1647
+ "description": "Provision a new workspace with full setup, or bulk provision from a JSON file",
1648
+ "examples": [
1649
+ "<%= config.bin %> enterprise provision --name \"Acme Corp\" --credits 1000",
1650
+ "<%= config.bin %> enterprise provision --name \"Acme Corp\" --credits 500 --inherit-from org_abc123 --webhook-url https://example.com/hook",
1651
+ "<%= config.bin %> enterprise provision --bulk workspaces.json"
1652
+ ],
1653
+ "flags": {
1654
+ "json": {
1655
+ "description": "Output in JSON format",
1656
+ "name": "json",
1657
+ "allowNo": false,
1658
+ "type": "boolean"
1659
+ },
1660
+ "quiet": {
1661
+ "char": "q",
1662
+ "description": "Minimal output",
1663
+ "name": "quiet",
1664
+ "allowNo": false,
1665
+ "type": "boolean"
1666
+ },
1667
+ "name": {
1668
+ "char": "n",
1669
+ "description": "Workspace name (single provision)",
1670
+ "name": "name",
1671
+ "hasDynamicHelp": false,
1672
+ "multiple": false,
1673
+ "type": "option"
1674
+ },
1675
+ "credits": {
1676
+ "char": "c",
1677
+ "description": "Initial credits to allocate",
1678
+ "name": "credits",
1679
+ "hasDynamicHelp": false,
1680
+ "multiple": false,
1681
+ "type": "option"
1682
+ },
1683
+ "inherit-from": {
1684
+ "description": "Workspace ID to inherit verification from",
1685
+ "name": "inherit-from",
1686
+ "hasDynamicHelp": false,
1687
+ "multiple": false,
1688
+ "type": "option"
1689
+ },
1690
+ "webhook-url": {
1691
+ "description": "Webhook URL for the workspace",
1692
+ "name": "webhook-url",
1693
+ "hasDynamicHelp": false,
1694
+ "multiple": false,
1695
+ "type": "option"
1696
+ },
1697
+ "create-key": {
1698
+ "description": "Create an API key for the workspace",
1699
+ "name": "create-key",
1700
+ "allowNo": false,
1701
+ "type": "boolean"
1702
+ },
1703
+ "bulk": {
1704
+ "char": "b",
1705
+ "description": "Path to JSON file for bulk provisioning (up to 50 workspaces)",
1706
+ "name": "bulk",
1707
+ "hasDynamicHelp": false,
1708
+ "multiple": false,
1709
+ "type": "option"
1710
+ }
1711
+ },
1712
+ "hasDynamicHelp": false,
1713
+ "hiddenAliases": [],
1714
+ "id": "enterprise:provision",
1715
+ "pluginAlias": "@sendly/cli",
1716
+ "pluginName": "@sendly/cli",
1717
+ "pluginType": "core",
1718
+ "strict": true,
1719
+ "isESM": true,
1720
+ "relativePath": [
1721
+ "dist",
1722
+ "commands",
1723
+ "enterprise",
1724
+ "provision.js"
1725
+ ]
1726
+ },
1727
+ "enterprise:status": {
1728
+ "aliases": [],
1729
+ "args": {},
1730
+ "description": "Show enterprise account status",
1731
+ "examples": [
1732
+ "<%= config.bin %> enterprise status",
1733
+ "<%= config.bin %> enterprise status --json"
1734
+ ],
1735
+ "flags": {
1736
+ "json": {
1737
+ "description": "Output in JSON format",
1738
+ "name": "json",
1739
+ "allowNo": false,
1740
+ "type": "boolean"
1741
+ },
1742
+ "quiet": {
1743
+ "char": "q",
1744
+ "description": "Minimal output",
1745
+ "name": "quiet",
1746
+ "allowNo": false,
1747
+ "type": "boolean"
1748
+ }
1749
+ },
1750
+ "hasDynamicHelp": false,
1751
+ "hiddenAliases": [],
1752
+ "id": "enterprise:status",
1753
+ "pluginAlias": "@sendly/cli",
1754
+ "pluginName": "@sendly/cli",
1755
+ "pluginType": "core",
1756
+ "strict": true,
1757
+ "isESM": true,
1758
+ "relativePath": [
1759
+ "dist",
1760
+ "commands",
1761
+ "enterprise",
1762
+ "status.js"
1763
+ ]
1764
+ },
1765
+ "enterprise:transfer-credits": {
1766
+ "aliases": [],
1767
+ "args": {},
1768
+ "description": "Transfer credits between enterprise workspaces",
1769
+ "examples": [
1770
+ "<%= config.bin %> enterprise transfer-credits --from org_abc --to org_xyz --amount 500",
1771
+ "<%= config.bin %> enterprise transfer-credits --from org_abc --to org_xyz --amount 500 --yes"
1772
+ ],
1773
+ "flags": {
1774
+ "json": {
1775
+ "description": "Output in JSON format",
1776
+ "name": "json",
1777
+ "allowNo": false,
1778
+ "type": "boolean"
1779
+ },
1780
+ "quiet": {
1781
+ "char": "q",
1782
+ "description": "Minimal output",
1783
+ "name": "quiet",
1784
+ "allowNo": false,
1785
+ "type": "boolean"
1786
+ },
1787
+ "from": {
1788
+ "description": "Source workspace ID",
1789
+ "name": "from",
1790
+ "required": true,
1791
+ "hasDynamicHelp": false,
1792
+ "multiple": false,
1793
+ "type": "option"
1794
+ },
1795
+ "to": {
1796
+ "description": "Target workspace ID",
1797
+ "name": "to",
1798
+ "required": true,
1799
+ "hasDynamicHelp": false,
1800
+ "multiple": false,
1801
+ "type": "option"
1802
+ },
1803
+ "amount": {
1804
+ "char": "a",
1805
+ "description": "Number of credits to transfer",
1806
+ "name": "amount",
1807
+ "required": true,
1808
+ "hasDynamicHelp": false,
1809
+ "multiple": false,
1810
+ "type": "option"
1811
+ },
1812
+ "yes": {
1813
+ "char": "y",
1814
+ "description": "Skip confirmation prompt",
1815
+ "name": "yes",
1816
+ "allowNo": false,
1817
+ "type": "boolean"
1818
+ }
1819
+ },
1820
+ "hasDynamicHelp": false,
1821
+ "hiddenAliases": [],
1822
+ "id": "enterprise:transfer-credits",
1823
+ "pluginAlias": "@sendly/cli",
1824
+ "pluginName": "@sendly/cli",
1825
+ "pluginType": "core",
1826
+ "strict": true,
1827
+ "isESM": true,
1828
+ "relativePath": [
1829
+ "dist",
1830
+ "commands",
1831
+ "enterprise",
1832
+ "transfer-credits.js"
1833
+ ]
1834
+ },
1545
1835
  "keys:create": {
1546
1836
  "aliases": [],
1547
1837
  "args": {},
@@ -2407,12 +2697,15 @@
2407
2697
  "sms:send": {
2408
2698
  "aliases": [],
2409
2699
  "args": {},
2410
- "description": "Send an SMS message",
2700
+ "description": "Send an SMS or MMS message",
2411
2701
  "examples": [
2412
2702
  "<%= config.bin %> sms send --to +15551234567 --text \"Hello!\"",
2413
2703
  "<%= config.bin %> sms send --to +15551234567 --text \"Hello!\" --from \"Sendly\"",
2414
2704
  "<%= config.bin %> sms send --to +15551234567 --text \"Hello!\" --type transactional",
2415
- "<%= config.bin %> sms send --to +15551234567 --text \"Hello!\" --json"
2705
+ "<%= config.bin %> sms send --to +15551234567 --text \"Hello!\" --json",
2706
+ "<%= config.bin %> sms send --to +15551234567 --text \"Check this out\" --media-url https://example.com/image.jpg",
2707
+ "<%= config.bin %> sms send --to +15551234567 --media-url https://example.com/image.jpg",
2708
+ "<%= config.bin %> sms send --to +15551234567 --text \"Two images\" --media-url https://example.com/a.jpg --media-url https://example.com/b.jpg"
2416
2709
  ],
2417
2710
  "flags": {
2418
2711
  "json": {
@@ -2439,9 +2732,8 @@
2439
2732
  },
2440
2733
  "text": {
2441
2734
  "char": "m",
2442
- "description": "Message text",
2735
+ "description": "Message text (optional when --media-url is provided)",
2443
2736
  "name": "text",
2444
- "required": true,
2445
2737
  "hasDynamicHelp": false,
2446
2738
  "multiple": false,
2447
2739
  "type": "option"
@@ -2465,6 +2757,13 @@
2465
2757
  "transactional"
2466
2758
  ],
2467
2759
  "type": "option"
2760
+ },
2761
+ "media-url": {
2762
+ "description": "Media URL to attach (MMS). Can be specified multiple times.",
2763
+ "name": "media-url",
2764
+ "hasDynamicHelp": false,
2765
+ "multiple": true,
2766
+ "type": "option"
2468
2767
  }
2469
2768
  },
2470
2769
  "hasDynamicHelp": false,
@@ -4251,7 +4550,934 @@
4251
4550
  "lists",
4252
4551
  "update.js"
4253
4552
  ]
4553
+ },
4554
+ "enterprise:analytics:credits": {
4555
+ "aliases": [],
4556
+ "args": {},
4557
+ "description": "Get credit usage analytics over time",
4558
+ "examples": [
4559
+ "<%= config.bin %> enterprise analytics credits",
4560
+ "<%= config.bin %> enterprise analytics credits --period 30d",
4561
+ "<%= config.bin %> enterprise analytics credits --json"
4562
+ ],
4563
+ "flags": {
4564
+ "json": {
4565
+ "description": "Output in JSON format",
4566
+ "name": "json",
4567
+ "allowNo": false,
4568
+ "type": "boolean"
4569
+ },
4570
+ "quiet": {
4571
+ "char": "q",
4572
+ "description": "Minimal output",
4573
+ "name": "quiet",
4574
+ "allowNo": false,
4575
+ "type": "boolean"
4576
+ },
4577
+ "period": {
4578
+ "char": "p",
4579
+ "description": "Time period (7d, 30d, 90d)",
4580
+ "name": "period",
4581
+ "default": "7d",
4582
+ "hasDynamicHelp": false,
4583
+ "multiple": false,
4584
+ "options": [
4585
+ "7d",
4586
+ "30d",
4587
+ "90d"
4588
+ ],
4589
+ "type": "option"
4590
+ }
4591
+ },
4592
+ "hasDynamicHelp": false,
4593
+ "hiddenAliases": [],
4594
+ "id": "enterprise:analytics:credits",
4595
+ "pluginAlias": "@sendly/cli",
4596
+ "pluginName": "@sendly/cli",
4597
+ "pluginType": "core",
4598
+ "strict": true,
4599
+ "isESM": true,
4600
+ "relativePath": [
4601
+ "dist",
4602
+ "commands",
4603
+ "enterprise",
4604
+ "analytics",
4605
+ "credits.js"
4606
+ ]
4607
+ },
4608
+ "enterprise:analytics:delivery": {
4609
+ "aliases": [],
4610
+ "args": {},
4611
+ "description": "Get delivery rate analytics by workspace",
4612
+ "examples": [
4613
+ "<%= config.bin %> enterprise analytics delivery",
4614
+ "<%= config.bin %> enterprise analytics delivery --json"
4615
+ ],
4616
+ "flags": {
4617
+ "json": {
4618
+ "description": "Output in JSON format",
4619
+ "name": "json",
4620
+ "allowNo": false,
4621
+ "type": "boolean"
4622
+ },
4623
+ "quiet": {
4624
+ "char": "q",
4625
+ "description": "Minimal output",
4626
+ "name": "quiet",
4627
+ "allowNo": false,
4628
+ "type": "boolean"
4629
+ }
4630
+ },
4631
+ "hasDynamicHelp": false,
4632
+ "hiddenAliases": [],
4633
+ "id": "enterprise:analytics:delivery",
4634
+ "pluginAlias": "@sendly/cli",
4635
+ "pluginName": "@sendly/cli",
4636
+ "pluginType": "core",
4637
+ "strict": true,
4638
+ "isESM": true,
4639
+ "relativePath": [
4640
+ "dist",
4641
+ "commands",
4642
+ "enterprise",
4643
+ "analytics",
4644
+ "delivery.js"
4645
+ ]
4646
+ },
4647
+ "enterprise:analytics:messages": {
4648
+ "aliases": [],
4649
+ "args": {},
4650
+ "description": "Get message analytics across all workspaces",
4651
+ "examples": [
4652
+ "<%= config.bin %> enterprise analytics messages",
4653
+ "<%= config.bin %> enterprise analytics messages --period 30d",
4654
+ "<%= config.bin %> enterprise analytics messages --period 90d --json"
4655
+ ],
4656
+ "flags": {
4657
+ "json": {
4658
+ "description": "Output in JSON format",
4659
+ "name": "json",
4660
+ "allowNo": false,
4661
+ "type": "boolean"
4662
+ },
4663
+ "quiet": {
4664
+ "char": "q",
4665
+ "description": "Minimal output",
4666
+ "name": "quiet",
4667
+ "allowNo": false,
4668
+ "type": "boolean"
4669
+ },
4670
+ "period": {
4671
+ "char": "p",
4672
+ "description": "Time period (7d, 30d, 90d)",
4673
+ "name": "period",
4674
+ "default": "7d",
4675
+ "hasDynamicHelp": false,
4676
+ "multiple": false,
4677
+ "options": [
4678
+ "7d",
4679
+ "30d",
4680
+ "90d"
4681
+ ],
4682
+ "type": "option"
4683
+ }
4684
+ },
4685
+ "hasDynamicHelp": false,
4686
+ "hiddenAliases": [],
4687
+ "id": "enterprise:analytics:messages",
4688
+ "pluginAlias": "@sendly/cli",
4689
+ "pluginName": "@sendly/cli",
4690
+ "pluginType": "core",
4691
+ "strict": true,
4692
+ "isESM": true,
4693
+ "relativePath": [
4694
+ "dist",
4695
+ "commands",
4696
+ "enterprise",
4697
+ "analytics",
4698
+ "messages.js"
4699
+ ]
4700
+ },
4701
+ "enterprise:analytics:overview": {
4702
+ "aliases": [],
4703
+ "args": {},
4704
+ "description": "Get enterprise-wide analytics overview",
4705
+ "examples": [
4706
+ "<%= config.bin %> enterprise analytics overview",
4707
+ "<%= config.bin %> enterprise analytics overview --json"
4708
+ ],
4709
+ "flags": {
4710
+ "json": {
4711
+ "description": "Output in JSON format",
4712
+ "name": "json",
4713
+ "allowNo": false,
4714
+ "type": "boolean"
4715
+ },
4716
+ "quiet": {
4717
+ "char": "q",
4718
+ "description": "Minimal output",
4719
+ "name": "quiet",
4720
+ "allowNo": false,
4721
+ "type": "boolean"
4722
+ }
4723
+ },
4724
+ "hasDynamicHelp": false,
4725
+ "hiddenAliases": [],
4726
+ "id": "enterprise:analytics:overview",
4727
+ "pluginAlias": "@sendly/cli",
4728
+ "pluginName": "@sendly/cli",
4729
+ "pluginType": "core",
4730
+ "strict": true,
4731
+ "isESM": true,
4732
+ "relativePath": [
4733
+ "dist",
4734
+ "commands",
4735
+ "enterprise",
4736
+ "analytics",
4737
+ "overview.js"
4738
+ ]
4739
+ },
4740
+ "enterprise:keys:create": {
4741
+ "aliases": [],
4742
+ "args": {
4743
+ "workspaceId": {
4744
+ "description": "Workspace ID",
4745
+ "name": "workspaceId",
4746
+ "required": true
4747
+ }
4748
+ },
4749
+ "description": "Create an API key for an enterprise workspace",
4750
+ "examples": [
4751
+ "<%= config.bin %> enterprise keys create org_abc123 --name \"Production\"",
4752
+ "<%= config.bin %> enterprise keys create org_abc123 --name \"CI\" --type test"
4753
+ ],
4754
+ "flags": {
4755
+ "json": {
4756
+ "description": "Output in JSON format",
4757
+ "name": "json",
4758
+ "allowNo": false,
4759
+ "type": "boolean"
4760
+ },
4761
+ "quiet": {
4762
+ "char": "q",
4763
+ "description": "Minimal output",
4764
+ "name": "quiet",
4765
+ "allowNo": false,
4766
+ "type": "boolean"
4767
+ },
4768
+ "name": {
4769
+ "char": "n",
4770
+ "description": "Name for the API key",
4771
+ "name": "name",
4772
+ "required": true,
4773
+ "hasDynamicHelp": false,
4774
+ "multiple": false,
4775
+ "type": "option"
4776
+ },
4777
+ "type": {
4778
+ "char": "t",
4779
+ "description": "Key type (test or live)",
4780
+ "name": "type",
4781
+ "default": "live",
4782
+ "hasDynamicHelp": false,
4783
+ "multiple": false,
4784
+ "options": [
4785
+ "test",
4786
+ "live"
4787
+ ],
4788
+ "type": "option"
4789
+ }
4790
+ },
4791
+ "hasDynamicHelp": false,
4792
+ "hiddenAliases": [],
4793
+ "id": "enterprise:keys:create",
4794
+ "pluginAlias": "@sendly/cli",
4795
+ "pluginName": "@sendly/cli",
4796
+ "pluginType": "core",
4797
+ "strict": true,
4798
+ "isESM": true,
4799
+ "relativePath": [
4800
+ "dist",
4801
+ "commands",
4802
+ "enterprise",
4803
+ "keys",
4804
+ "create.js"
4805
+ ]
4806
+ },
4807
+ "enterprise:keys:list": {
4808
+ "aliases": [],
4809
+ "args": {
4810
+ "workspaceId": {
4811
+ "description": "Workspace ID",
4812
+ "name": "workspaceId",
4813
+ "required": true
4814
+ }
4815
+ },
4816
+ "description": "List API keys for an enterprise workspace",
4817
+ "examples": [
4818
+ "<%= config.bin %> enterprise keys list org_abc123",
4819
+ "<%= config.bin %> enterprise keys list org_abc123 --json"
4820
+ ],
4821
+ "flags": {
4822
+ "json": {
4823
+ "description": "Output in JSON format",
4824
+ "name": "json",
4825
+ "allowNo": false,
4826
+ "type": "boolean"
4827
+ },
4828
+ "quiet": {
4829
+ "char": "q",
4830
+ "description": "Minimal output",
4831
+ "name": "quiet",
4832
+ "allowNo": false,
4833
+ "type": "boolean"
4834
+ }
4835
+ },
4836
+ "hasDynamicHelp": false,
4837
+ "hiddenAliases": [],
4838
+ "id": "enterprise:keys:list",
4839
+ "pluginAlias": "@sendly/cli",
4840
+ "pluginName": "@sendly/cli",
4841
+ "pluginType": "core",
4842
+ "strict": true,
4843
+ "isESM": true,
4844
+ "relativePath": [
4845
+ "dist",
4846
+ "commands",
4847
+ "enterprise",
4848
+ "keys",
4849
+ "list.js"
4850
+ ]
4851
+ },
4852
+ "enterprise:keys:revoke": {
4853
+ "aliases": [],
4854
+ "args": {
4855
+ "workspaceId": {
4856
+ "description": "Workspace ID",
4857
+ "name": "workspaceId",
4858
+ "required": true
4859
+ },
4860
+ "keyId": {
4861
+ "description": "API key ID to revoke",
4862
+ "name": "keyId",
4863
+ "required": true
4864
+ }
4865
+ },
4866
+ "description": "Revoke an API key for an enterprise workspace",
4867
+ "examples": [
4868
+ "<%= config.bin %> enterprise keys revoke org_abc123 key_xyz",
4869
+ "<%= config.bin %> enterprise keys revoke org_abc123 key_xyz --yes"
4870
+ ],
4871
+ "flags": {
4872
+ "json": {
4873
+ "description": "Output in JSON format",
4874
+ "name": "json",
4875
+ "allowNo": false,
4876
+ "type": "boolean"
4877
+ },
4878
+ "quiet": {
4879
+ "char": "q",
4880
+ "description": "Minimal output",
4881
+ "name": "quiet",
4882
+ "allowNo": false,
4883
+ "type": "boolean"
4884
+ },
4885
+ "yes": {
4886
+ "char": "y",
4887
+ "description": "Skip confirmation prompt",
4888
+ "name": "yes",
4889
+ "allowNo": false,
4890
+ "type": "boolean"
4891
+ }
4892
+ },
4893
+ "hasDynamicHelp": false,
4894
+ "hiddenAliases": [],
4895
+ "id": "enterprise:keys:revoke",
4896
+ "pluginAlias": "@sendly/cli",
4897
+ "pluginName": "@sendly/cli",
4898
+ "pluginType": "core",
4899
+ "strict": true,
4900
+ "isESM": true,
4901
+ "relativePath": [
4902
+ "dist",
4903
+ "commands",
4904
+ "enterprise",
4905
+ "keys",
4906
+ "revoke.js"
4907
+ ]
4908
+ },
4909
+ "enterprise:quota:get": {
4910
+ "aliases": [],
4911
+ "args": {
4912
+ "workspaceId": {
4913
+ "description": "Workspace ID",
4914
+ "name": "workspaceId",
4915
+ "required": true
4916
+ }
4917
+ },
4918
+ "description": "Get message quota for an enterprise workspace",
4919
+ "examples": [
4920
+ "<%= config.bin %> enterprise quota get org_abc123",
4921
+ "<%= config.bin %> enterprise quota get org_abc123 --json"
4922
+ ],
4923
+ "flags": {
4924
+ "json": {
4925
+ "description": "Output in JSON format",
4926
+ "name": "json",
4927
+ "allowNo": false,
4928
+ "type": "boolean"
4929
+ },
4930
+ "quiet": {
4931
+ "char": "q",
4932
+ "description": "Minimal output",
4933
+ "name": "quiet",
4934
+ "allowNo": false,
4935
+ "type": "boolean"
4936
+ }
4937
+ },
4938
+ "hasDynamicHelp": false,
4939
+ "hiddenAliases": [],
4940
+ "id": "enterprise:quota:get",
4941
+ "pluginAlias": "@sendly/cli",
4942
+ "pluginName": "@sendly/cli",
4943
+ "pluginType": "core",
4944
+ "strict": true,
4945
+ "isESM": true,
4946
+ "relativePath": [
4947
+ "dist",
4948
+ "commands",
4949
+ "enterprise",
4950
+ "quota",
4951
+ "get.js"
4952
+ ]
4953
+ },
4954
+ "enterprise:quota:set": {
4955
+ "aliases": [],
4956
+ "args": {
4957
+ "workspaceId": {
4958
+ "description": "Workspace ID",
4959
+ "name": "workspaceId",
4960
+ "required": true
4961
+ }
4962
+ },
4963
+ "description": "Set message quota for an enterprise workspace",
4964
+ "examples": [
4965
+ "<%= config.bin %> enterprise quota set org_abc123 --daily 1000",
4966
+ "<%= config.bin %> enterprise quota set org_abc123 --monthly 25000",
4967
+ "<%= config.bin %> enterprise quota set org_abc123 --daily 1000 --monthly 25000",
4968
+ "<%= config.bin %> enterprise quota set org_abc123 --daily unlimited"
4969
+ ],
4970
+ "flags": {
4971
+ "json": {
4972
+ "description": "Output in JSON format",
4973
+ "name": "json",
4974
+ "allowNo": false,
4975
+ "type": "boolean"
4976
+ },
4977
+ "quiet": {
4978
+ "char": "q",
4979
+ "description": "Minimal output",
4980
+ "name": "quiet",
4981
+ "allowNo": false,
4982
+ "type": "boolean"
4983
+ },
4984
+ "daily": {
4985
+ "description": "Daily message limit (number or \"unlimited\")",
4986
+ "name": "daily",
4987
+ "hasDynamicHelp": false,
4988
+ "multiple": false,
4989
+ "type": "option"
4990
+ },
4991
+ "monthly": {
4992
+ "description": "Monthly message limit (number or \"unlimited\")",
4993
+ "name": "monthly",
4994
+ "hasDynamicHelp": false,
4995
+ "multiple": false,
4996
+ "type": "option"
4997
+ }
4998
+ },
4999
+ "hasDynamicHelp": false,
5000
+ "hiddenAliases": [],
5001
+ "id": "enterprise:quota:set",
5002
+ "pluginAlias": "@sendly/cli",
5003
+ "pluginName": "@sendly/cli",
5004
+ "pluginType": "core",
5005
+ "strict": true,
5006
+ "isESM": true,
5007
+ "relativePath": [
5008
+ "dist",
5009
+ "commands",
5010
+ "enterprise",
5011
+ "quota",
5012
+ "set.js"
5013
+ ]
5014
+ },
5015
+ "enterprise:webhooks:delete": {
5016
+ "aliases": [],
5017
+ "args": {},
5018
+ "description": "Delete the enterprise webhook",
5019
+ "examples": [
5020
+ "<%= config.bin %> enterprise webhooks delete",
5021
+ "<%= config.bin %> enterprise webhooks delete --yes"
5022
+ ],
5023
+ "flags": {
5024
+ "json": {
5025
+ "description": "Output in JSON format",
5026
+ "name": "json",
5027
+ "allowNo": false,
5028
+ "type": "boolean"
5029
+ },
5030
+ "quiet": {
5031
+ "char": "q",
5032
+ "description": "Minimal output",
5033
+ "name": "quiet",
5034
+ "allowNo": false,
5035
+ "type": "boolean"
5036
+ },
5037
+ "yes": {
5038
+ "char": "y",
5039
+ "description": "Skip confirmation prompt",
5040
+ "name": "yes",
5041
+ "allowNo": false,
5042
+ "type": "boolean"
5043
+ }
5044
+ },
5045
+ "hasDynamicHelp": false,
5046
+ "hiddenAliases": [],
5047
+ "id": "enterprise:webhooks:delete",
5048
+ "pluginAlias": "@sendly/cli",
5049
+ "pluginName": "@sendly/cli",
5050
+ "pluginType": "core",
5051
+ "strict": true,
5052
+ "isESM": true,
5053
+ "relativePath": [
5054
+ "dist",
5055
+ "commands",
5056
+ "enterprise",
5057
+ "webhooks",
5058
+ "delete.js"
5059
+ ]
5060
+ },
5061
+ "enterprise:webhooks:get": {
5062
+ "aliases": [],
5063
+ "args": {},
5064
+ "description": "Get the enterprise webhook configuration",
5065
+ "examples": [
5066
+ "<%= config.bin %> enterprise webhooks get",
5067
+ "<%= config.bin %> enterprise webhooks get --json"
5068
+ ],
5069
+ "flags": {
5070
+ "json": {
5071
+ "description": "Output in JSON format",
5072
+ "name": "json",
5073
+ "allowNo": false,
5074
+ "type": "boolean"
5075
+ },
5076
+ "quiet": {
5077
+ "char": "q",
5078
+ "description": "Minimal output",
5079
+ "name": "quiet",
5080
+ "allowNo": false,
5081
+ "type": "boolean"
5082
+ }
5083
+ },
5084
+ "hasDynamicHelp": false,
5085
+ "hiddenAliases": [],
5086
+ "id": "enterprise:webhooks:get",
5087
+ "pluginAlias": "@sendly/cli",
5088
+ "pluginName": "@sendly/cli",
5089
+ "pluginType": "core",
5090
+ "strict": true,
5091
+ "isESM": true,
5092
+ "relativePath": [
5093
+ "dist",
5094
+ "commands",
5095
+ "enterprise",
5096
+ "webhooks",
5097
+ "get.js"
5098
+ ]
5099
+ },
5100
+ "enterprise:webhooks:set": {
5101
+ "aliases": [],
5102
+ "args": {},
5103
+ "description": "Create or update the enterprise-level webhook",
5104
+ "examples": [
5105
+ "<%= config.bin %> enterprise webhooks set --url https://example.com/webhook",
5106
+ "<%= config.bin %> enterprise webhooks set --url https://example.com/webhook --events \"message.sent,message.delivered\""
5107
+ ],
5108
+ "flags": {
5109
+ "json": {
5110
+ "description": "Output in JSON format",
5111
+ "name": "json",
5112
+ "allowNo": false,
5113
+ "type": "boolean"
5114
+ },
5115
+ "quiet": {
5116
+ "char": "q",
5117
+ "description": "Minimal output",
5118
+ "name": "quiet",
5119
+ "allowNo": false,
5120
+ "type": "boolean"
5121
+ },
5122
+ "url": {
5123
+ "description": "Webhook endpoint URL",
5124
+ "name": "url",
5125
+ "required": true,
5126
+ "hasDynamicHelp": false,
5127
+ "multiple": false,
5128
+ "type": "option"
5129
+ },
5130
+ "events": {
5131
+ "description": "Comma-separated list of event types to subscribe to",
5132
+ "name": "events",
5133
+ "hasDynamicHelp": false,
5134
+ "multiple": false,
5135
+ "type": "option"
5136
+ }
5137
+ },
5138
+ "hasDynamicHelp": false,
5139
+ "hiddenAliases": [],
5140
+ "id": "enterprise:webhooks:set",
5141
+ "pluginAlias": "@sendly/cli",
5142
+ "pluginName": "@sendly/cli",
5143
+ "pluginType": "core",
5144
+ "strict": true,
5145
+ "isESM": true,
5146
+ "relativePath": [
5147
+ "dist",
5148
+ "commands",
5149
+ "enterprise",
5150
+ "webhooks",
5151
+ "set.js"
5152
+ ]
5153
+ },
5154
+ "enterprise:webhooks:test": {
5155
+ "aliases": [],
5156
+ "args": {},
5157
+ "description": "Send a test event to the enterprise webhook",
5158
+ "examples": [
5159
+ "<%= config.bin %> enterprise webhooks test",
5160
+ "<%= config.bin %> enterprise webhooks test --json"
5161
+ ],
5162
+ "flags": {
5163
+ "json": {
5164
+ "description": "Output in JSON format",
5165
+ "name": "json",
5166
+ "allowNo": false,
5167
+ "type": "boolean"
5168
+ },
5169
+ "quiet": {
5170
+ "char": "q",
5171
+ "description": "Minimal output",
5172
+ "name": "quiet",
5173
+ "allowNo": false,
5174
+ "type": "boolean"
5175
+ }
5176
+ },
5177
+ "hasDynamicHelp": false,
5178
+ "hiddenAliases": [],
5179
+ "id": "enterprise:webhooks:test",
5180
+ "pluginAlias": "@sendly/cli",
5181
+ "pluginName": "@sendly/cli",
5182
+ "pluginType": "core",
5183
+ "strict": true,
5184
+ "isESM": true,
5185
+ "relativePath": [
5186
+ "dist",
5187
+ "commands",
5188
+ "enterprise",
5189
+ "webhooks",
5190
+ "test.js"
5191
+ ]
5192
+ },
5193
+ "enterprise:workspaces:create": {
5194
+ "aliases": [],
5195
+ "args": {},
5196
+ "description": "Create a new enterprise workspace",
5197
+ "examples": [
5198
+ "<%= config.bin %> enterprise workspaces create --name \"Acme Corp\"",
5199
+ "<%= config.bin %> enterprise workspaces create --name \"Acme Corp\" --json"
5200
+ ],
5201
+ "flags": {
5202
+ "json": {
5203
+ "description": "Output in JSON format",
5204
+ "name": "json",
5205
+ "allowNo": false,
5206
+ "type": "boolean"
5207
+ },
5208
+ "quiet": {
5209
+ "char": "q",
5210
+ "description": "Minimal output",
5211
+ "name": "quiet",
5212
+ "allowNo": false,
5213
+ "type": "boolean"
5214
+ },
5215
+ "name": {
5216
+ "char": "n",
5217
+ "description": "Workspace name",
5218
+ "name": "name",
5219
+ "required": true,
5220
+ "hasDynamicHelp": false,
5221
+ "multiple": false,
5222
+ "type": "option"
5223
+ }
5224
+ },
5225
+ "hasDynamicHelp": false,
5226
+ "hiddenAliases": [],
5227
+ "id": "enterprise:workspaces:create",
5228
+ "pluginAlias": "@sendly/cli",
5229
+ "pluginName": "@sendly/cli",
5230
+ "pluginType": "core",
5231
+ "strict": true,
5232
+ "isESM": true,
5233
+ "relativePath": [
5234
+ "dist",
5235
+ "commands",
5236
+ "enterprise",
5237
+ "workspaces",
5238
+ "create.js"
5239
+ ]
5240
+ },
5241
+ "enterprise:workspaces:delete": {
5242
+ "aliases": [],
5243
+ "args": {
5244
+ "workspaceId": {
5245
+ "description": "Workspace ID",
5246
+ "name": "workspaceId",
5247
+ "required": true
5248
+ }
5249
+ },
5250
+ "description": "Delete an enterprise workspace",
5251
+ "examples": [
5252
+ "<%= config.bin %> enterprise workspaces delete org_abc123",
5253
+ "<%= config.bin %> enterprise workspaces delete org_abc123 --yes"
5254
+ ],
5255
+ "flags": {
5256
+ "json": {
5257
+ "description": "Output in JSON format",
5258
+ "name": "json",
5259
+ "allowNo": false,
5260
+ "type": "boolean"
5261
+ },
5262
+ "quiet": {
5263
+ "char": "q",
5264
+ "description": "Minimal output",
5265
+ "name": "quiet",
5266
+ "allowNo": false,
5267
+ "type": "boolean"
5268
+ },
5269
+ "yes": {
5270
+ "char": "y",
5271
+ "description": "Skip confirmation prompt",
5272
+ "name": "yes",
5273
+ "allowNo": false,
5274
+ "type": "boolean"
5275
+ }
5276
+ },
5277
+ "hasDynamicHelp": false,
5278
+ "hiddenAliases": [],
5279
+ "id": "enterprise:workspaces:delete",
5280
+ "pluginAlias": "@sendly/cli",
5281
+ "pluginName": "@sendly/cli",
5282
+ "pluginType": "core",
5283
+ "strict": true,
5284
+ "isESM": true,
5285
+ "relativePath": [
5286
+ "dist",
5287
+ "commands",
5288
+ "enterprise",
5289
+ "workspaces",
5290
+ "delete.js"
5291
+ ]
5292
+ },
5293
+ "enterprise:workspaces:get": {
5294
+ "aliases": [],
5295
+ "args": {
5296
+ "workspaceId": {
5297
+ "description": "Workspace ID",
5298
+ "name": "workspaceId",
5299
+ "required": true
5300
+ }
5301
+ },
5302
+ "description": "Get details of an enterprise workspace",
5303
+ "examples": [
5304
+ "<%= config.bin %> enterprise workspaces get org_abc123",
5305
+ "<%= config.bin %> enterprise workspaces get org_abc123 --json"
5306
+ ],
5307
+ "flags": {
5308
+ "json": {
5309
+ "description": "Output in JSON format",
5310
+ "name": "json",
5311
+ "allowNo": false,
5312
+ "type": "boolean"
5313
+ },
5314
+ "quiet": {
5315
+ "char": "q",
5316
+ "description": "Minimal output",
5317
+ "name": "quiet",
5318
+ "allowNo": false,
5319
+ "type": "boolean"
5320
+ }
5321
+ },
5322
+ "hasDynamicHelp": false,
5323
+ "hiddenAliases": [],
5324
+ "id": "enterprise:workspaces:get",
5325
+ "pluginAlias": "@sendly/cli",
5326
+ "pluginName": "@sendly/cli",
5327
+ "pluginType": "core",
5328
+ "strict": true,
5329
+ "isESM": true,
5330
+ "relativePath": [
5331
+ "dist",
5332
+ "commands",
5333
+ "enterprise",
5334
+ "workspaces",
5335
+ "get.js"
5336
+ ]
5337
+ },
5338
+ "enterprise:workspaces:list": {
5339
+ "aliases": [],
5340
+ "args": {},
5341
+ "description": "List all enterprise workspaces",
5342
+ "examples": [
5343
+ "<%= config.bin %> enterprise workspaces list",
5344
+ "<%= config.bin %> enterprise workspaces list --json"
5345
+ ],
5346
+ "flags": {
5347
+ "json": {
5348
+ "description": "Output in JSON format",
5349
+ "name": "json",
5350
+ "allowNo": false,
5351
+ "type": "boolean"
5352
+ },
5353
+ "quiet": {
5354
+ "char": "q",
5355
+ "description": "Minimal output",
5356
+ "name": "quiet",
5357
+ "allowNo": false,
5358
+ "type": "boolean"
5359
+ }
5360
+ },
5361
+ "hasDynamicHelp": false,
5362
+ "hiddenAliases": [],
5363
+ "id": "enterprise:workspaces:list",
5364
+ "pluginAlias": "@sendly/cli",
5365
+ "pluginName": "@sendly/cli",
5366
+ "pluginType": "core",
5367
+ "strict": true,
5368
+ "isESM": true,
5369
+ "relativePath": [
5370
+ "dist",
5371
+ "commands",
5372
+ "enterprise",
5373
+ "workspaces",
5374
+ "list.js"
5375
+ ]
5376
+ },
5377
+ "enterprise:workspaces:resume": {
5378
+ "aliases": [],
5379
+ "args": {
5380
+ "workspaceId": {
5381
+ "description": "Workspace ID",
5382
+ "name": "workspaceId",
5383
+ "required": true
5384
+ }
5385
+ },
5386
+ "description": "Resume a suspended enterprise workspace",
5387
+ "examples": [
5388
+ "<%= config.bin %> enterprise workspaces resume org_abc123"
5389
+ ],
5390
+ "flags": {
5391
+ "json": {
5392
+ "description": "Output in JSON format",
5393
+ "name": "json",
5394
+ "allowNo": false,
5395
+ "type": "boolean"
5396
+ },
5397
+ "quiet": {
5398
+ "char": "q",
5399
+ "description": "Minimal output",
5400
+ "name": "quiet",
5401
+ "allowNo": false,
5402
+ "type": "boolean"
5403
+ }
5404
+ },
5405
+ "hasDynamicHelp": false,
5406
+ "hiddenAliases": [],
5407
+ "id": "enterprise:workspaces:resume",
5408
+ "pluginAlias": "@sendly/cli",
5409
+ "pluginName": "@sendly/cli",
5410
+ "pluginType": "core",
5411
+ "strict": true,
5412
+ "isESM": true,
5413
+ "relativePath": [
5414
+ "dist",
5415
+ "commands",
5416
+ "enterprise",
5417
+ "workspaces",
5418
+ "resume.js"
5419
+ ]
5420
+ },
5421
+ "enterprise:workspaces:suspend": {
5422
+ "aliases": [],
5423
+ "args": {
5424
+ "workspaceId": {
5425
+ "description": "Workspace ID",
5426
+ "name": "workspaceId",
5427
+ "required": true
5428
+ }
5429
+ },
5430
+ "description": "Suspend an enterprise workspace",
5431
+ "examples": [
5432
+ "<%= config.bin %> enterprise workspaces suspend org_abc123",
5433
+ "<%= config.bin %> enterprise workspaces suspend org_abc123 --reason \"Policy violation\""
5434
+ ],
5435
+ "flags": {
5436
+ "json": {
5437
+ "description": "Output in JSON format",
5438
+ "name": "json",
5439
+ "allowNo": false,
5440
+ "type": "boolean"
5441
+ },
5442
+ "quiet": {
5443
+ "char": "q",
5444
+ "description": "Minimal output",
5445
+ "name": "quiet",
5446
+ "allowNo": false,
5447
+ "type": "boolean"
5448
+ },
5449
+ "reason": {
5450
+ "char": "r",
5451
+ "description": "Reason for suspension",
5452
+ "name": "reason",
5453
+ "hasDynamicHelp": false,
5454
+ "multiple": false,
5455
+ "type": "option"
5456
+ },
5457
+ "yes": {
5458
+ "char": "y",
5459
+ "description": "Skip confirmation prompt",
5460
+ "name": "yes",
5461
+ "allowNo": false,
5462
+ "type": "boolean"
5463
+ }
5464
+ },
5465
+ "hasDynamicHelp": false,
5466
+ "hiddenAliases": [],
5467
+ "id": "enterprise:workspaces:suspend",
5468
+ "pluginAlias": "@sendly/cli",
5469
+ "pluginName": "@sendly/cli",
5470
+ "pluginType": "core",
5471
+ "strict": true,
5472
+ "isESM": true,
5473
+ "relativePath": [
5474
+ "dist",
5475
+ "commands",
5476
+ "enterprise",
5477
+ "workspaces",
5478
+ "suspend.js"
5479
+ ]
4254
5480
  }
4255
5481
  },
4256
- "version": "3.17.0"
5482
+ "version": "3.18.2"
4257
5483
  }