@sendly/cli 3.37.1 → 3.39.0
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/README.md +268 -0
- package/dist/commands/business-upgrade/resubmit.js +3 -3
- package/dist/commands/business-upgrade/start.js +3 -3
- package/dist/commands/config/list.js +14 -2
- package/dist/commands/config/set.js +16 -3
- package/dist/commands/countries.js +2 -2
- package/dist/commands/credits/index.d.ts +1 -0
- package/dist/commands/credits/index.js +4 -0
- package/dist/commands/doctor.d.ts +12 -0
- package/dist/commands/doctor.js +51 -8
- package/dist/commands/enterprise/upload-verification-document.js +3 -3
- package/dist/commands/enterprise/verification/resubmit.js +2 -2
- package/dist/commands/enterprise/verification/submit.js +2 -2
- package/dist/commands/events/listen.js +3 -3
- package/dist/commands/numbers/buy.js +19 -4
- package/dist/commands/rcs/agents/create.d.ts +44 -0
- package/dist/commands/rcs/agents/create.js +71 -0
- package/dist/commands/rcs/agents/devices/set.d.ts +16 -0
- package/dist/commands/rcs/agents/devices/set.js +77 -0
- package/dist/commands/rcs/agents/get.d.ts +13 -0
- package/dist/commands/rcs/agents/get.js +51 -0
- package/dist/commands/rcs/agents/request-launch.d.ts +16 -0
- package/dist/commands/rcs/agents/request-launch.js +71 -0
- package/dist/commands/rcs/agents/submit.d.ts +14 -0
- package/dist/commands/rcs/agents/submit.js +56 -0
- package/dist/commands/rcs/agents/update.d.ts +48 -0
- package/dist/commands/rcs/agents/update.js +81 -0
- package/dist/commands/rcs/agents.d.ts +10 -0
- package/dist/commands/rcs/agents.js +97 -0
- package/dist/commands/rcs/brands/create.d.ts +30 -0
- package/dist/commands/rcs/brands/create.js +55 -0
- package/dist/commands/rcs/brands/update.d.ts +33 -0
- package/dist/commands/rcs/brands/update.js +62 -0
- package/dist/commands/rcs/capability.d.ts +12 -0
- package/dist/commands/rcs/capability.js +85 -0
- package/dist/commands/rcs/dossier.d.ts +10 -0
- package/dist/commands/rcs/dossier.js +73 -0
- package/dist/commands/rcs/registration.d.ts +10 -0
- package/dist/commands/rcs/registration.js +59 -0
- package/dist/commands/rcs/send.d.ts +21 -0
- package/dist/commands/rcs/send.js +240 -0
- package/dist/commands/send.d.ts +1 -0
- package/dist/commands/send.js +5 -2
- package/dist/commands/sms/batch.d.ts +1 -0
- package/dist/commands/sms/batch.js +11 -1
- package/dist/commands/sms/group.d.ts +1 -0
- package/dist/commands/sms/group.js +5 -2
- package/dist/commands/sms/schedule.d.ts +1 -0
- package/dist/commands/sms/schedule.js +5 -2
- package/dist/commands/sms/send.d.ts +1 -0
- package/dist/commands/sms/send.js +5 -2
- package/dist/commands/whatsapp/connect.d.ts +17 -0
- package/dist/commands/whatsapp/connect.js +166 -0
- package/dist/commands/whatsapp/profile/get.d.ts +13 -0
- package/dist/commands/whatsapp/profile/get.js +67 -0
- package/dist/commands/whatsapp/profile/update.d.ts +20 -0
- package/dist/commands/whatsapp/profile/update.js +109 -0
- package/dist/commands/whatsapp/send.d.ts +17 -0
- package/dist/commands/whatsapp/send.js +151 -0
- package/dist/commands/whatsapp/senders.d.ts +10 -0
- package/dist/commands/whatsapp/senders.js +74 -0
- package/dist/commands/whatsapp/status.d.ts +13 -0
- package/dist/commands/whatsapp/status.js +92 -0
- package/dist/commands/whatsapp/templates/create.d.ts +19 -0
- package/dist/commands/whatsapp/templates/create.js +205 -0
- package/dist/commands/whatsapp/templates/delete.d.ts +14 -0
- package/dist/commands/whatsapp/templates/delete.js +69 -0
- package/dist/commands/whatsapp/templates/list.d.ts +10 -0
- package/dist/commands/whatsapp/templates/list.js +77 -0
- package/dist/commands/whatsapp/templates/update.d.ts +18 -0
- package/dist/commands/whatsapp/templates/update.js +160 -0
- package/dist/commands/whoami.js +32 -6
- package/dist/hooks/command-not-found.js +46 -61
- package/dist/lib/api-client.d.ts +20 -3
- package/dist/lib/api-client.js +96 -17
- package/dist/lib/auth.js +10 -6
- package/dist/lib/base-command.js +13 -2
- package/dist/lib/config.d.ts +50 -1
- package/dist/lib/config.js +144 -7
- package/dist/lib/help.d.ts +10 -0
- package/dist/lib/help.js +23 -0
- package/dist/lib/onboarding.js +3 -3
- package/dist/lib/rcs-registration.d.ts +231 -0
- package/dist/lib/rcs-registration.js +734 -0
- package/oclif.manifest.json +2603 -350
- package/package.json +17 -1
package/oclif.manifest.json
CHANGED
|
@@ -254,6 +254,13 @@
|
|
|
254
254
|
"hasDynamicHelp": false,
|
|
255
255
|
"multiple": false,
|
|
256
256
|
"type": "option"
|
|
257
|
+
},
|
|
258
|
+
"idempotency-key": {
|
|
259
|
+
"description": "Idempotency key (1-255 printable ASCII characters). Re-running with the same key within 24 hours returns the original result instead of sending again.",
|
|
260
|
+
"name": "idempotency-key",
|
|
261
|
+
"hasDynamicHelp": false,
|
|
262
|
+
"multiple": false,
|
|
263
|
+
"type": "option"
|
|
257
264
|
}
|
|
258
265
|
},
|
|
259
266
|
"hasDynamicHelp": false,
|
|
@@ -2815,7 +2822,7 @@
|
|
|
2815
2822
|
"dist",
|
|
2816
2823
|
"commands",
|
|
2817
2824
|
"credits",
|
|
2818
|
-
"
|
|
2825
|
+
"index.js"
|
|
2819
2826
|
]
|
|
2820
2827
|
},
|
|
2821
2828
|
"credits:history": {
|
|
@@ -2866,6 +2873,44 @@
|
|
|
2866
2873
|
"history.js"
|
|
2867
2874
|
]
|
|
2868
2875
|
},
|
|
2876
|
+
"credits": {
|
|
2877
|
+
"aliases": [],
|
|
2878
|
+
"args": {},
|
|
2879
|
+
"description": "Check your credit balance",
|
|
2880
|
+
"examples": [
|
|
2881
|
+
"<%= config.bin %> credits balance",
|
|
2882
|
+
"<%= config.bin %> credits balance --json"
|
|
2883
|
+
],
|
|
2884
|
+
"flags": {
|
|
2885
|
+
"json": {
|
|
2886
|
+
"description": "Output in JSON format",
|
|
2887
|
+
"name": "json",
|
|
2888
|
+
"allowNo": false,
|
|
2889
|
+
"type": "boolean"
|
|
2890
|
+
},
|
|
2891
|
+
"quiet": {
|
|
2892
|
+
"char": "q",
|
|
2893
|
+
"description": "Minimal output",
|
|
2894
|
+
"name": "quiet",
|
|
2895
|
+
"allowNo": false,
|
|
2896
|
+
"type": "boolean"
|
|
2897
|
+
}
|
|
2898
|
+
},
|
|
2899
|
+
"hasDynamicHelp": false,
|
|
2900
|
+
"hiddenAliases": [],
|
|
2901
|
+
"id": "credits",
|
|
2902
|
+
"pluginAlias": "@sendly/cli",
|
|
2903
|
+
"pluginName": "@sendly/cli",
|
|
2904
|
+
"pluginType": "core",
|
|
2905
|
+
"strict": true,
|
|
2906
|
+
"isESM": true,
|
|
2907
|
+
"relativePath": [
|
|
2908
|
+
"dist",
|
|
2909
|
+
"commands",
|
|
2910
|
+
"credits",
|
|
2911
|
+
"index.js"
|
|
2912
|
+
]
|
|
2913
|
+
},
|
|
2869
2914
|
"credits:transfer": {
|
|
2870
2915
|
"aliases": [],
|
|
2871
2916
|
"args": {},
|
|
@@ -4835,14 +4880,52 @@
|
|
|
4835
4880
|
"update.js"
|
|
4836
4881
|
]
|
|
4837
4882
|
},
|
|
4838
|
-
"
|
|
4883
|
+
"rcs:agents": {
|
|
4839
4884
|
"aliases": [],
|
|
4840
4885
|
"args": {},
|
|
4841
|
-
"description": "
|
|
4886
|
+
"description": "List the RCS agents on your workspace",
|
|
4842
4887
|
"examples": [
|
|
4843
|
-
"<%= config.bin %>
|
|
4844
|
-
"<%= config.bin %>
|
|
4845
|
-
|
|
4888
|
+
"<%= config.bin %> rcs agents",
|
|
4889
|
+
"<%= config.bin %> rcs agents --json"
|
|
4890
|
+
],
|
|
4891
|
+
"flags": {
|
|
4892
|
+
"json": {
|
|
4893
|
+
"description": "Output in JSON format",
|
|
4894
|
+
"name": "json",
|
|
4895
|
+
"allowNo": false,
|
|
4896
|
+
"type": "boolean"
|
|
4897
|
+
},
|
|
4898
|
+
"quiet": {
|
|
4899
|
+
"char": "q",
|
|
4900
|
+
"description": "Minimal output",
|
|
4901
|
+
"name": "quiet",
|
|
4902
|
+
"allowNo": false,
|
|
4903
|
+
"type": "boolean"
|
|
4904
|
+
}
|
|
4905
|
+
},
|
|
4906
|
+
"hasDynamicHelp": false,
|
|
4907
|
+
"hiddenAliases": [],
|
|
4908
|
+
"id": "rcs:agents",
|
|
4909
|
+
"pluginAlias": "@sendly/cli",
|
|
4910
|
+
"pluginName": "@sendly/cli",
|
|
4911
|
+
"pluginType": "core",
|
|
4912
|
+
"strict": true,
|
|
4913
|
+
"isESM": true,
|
|
4914
|
+
"relativePath": [
|
|
4915
|
+
"dist",
|
|
4916
|
+
"commands",
|
|
4917
|
+
"rcs",
|
|
4918
|
+
"agents.js"
|
|
4919
|
+
]
|
|
4920
|
+
},
|
|
4921
|
+
"rcs:capability": {
|
|
4922
|
+
"aliases": [],
|
|
4923
|
+
"args": {},
|
|
4924
|
+
"description": "Check whether a recipient's device can receive RCS before you send",
|
|
4925
|
+
"examples": [
|
|
4926
|
+
"<%= config.bin %> rcs capability --to +15125550190",
|
|
4927
|
+
"<%= config.bin %> rcs capability --to +15125550190 --agent 3f6a1c9e-0000-0000-0000-000000000000",
|
|
4928
|
+
"<%= config.bin %> rcs capability --to +15125550190 --json"
|
|
4846
4929
|
],
|
|
4847
4930
|
"flags": {
|
|
4848
4931
|
"json": {
|
|
@@ -4858,45 +4941,18 @@
|
|
|
4858
4941
|
"allowNo": false,
|
|
4859
4942
|
"type": "boolean"
|
|
4860
4943
|
},
|
|
4861
|
-
"
|
|
4862
|
-
"
|
|
4863
|
-
"
|
|
4944
|
+
"to": {
|
|
4945
|
+
"char": "t",
|
|
4946
|
+
"description": "Recipient phone number to check (E.164 format)",
|
|
4947
|
+
"name": "to",
|
|
4864
4948
|
"required": true,
|
|
4865
4949
|
"hasDynamicHelp": false,
|
|
4866
4950
|
"multiple": false,
|
|
4867
4951
|
"type": "option"
|
|
4868
4952
|
},
|
|
4869
|
-
"
|
|
4870
|
-
"description": "
|
|
4871
|
-
"name": "
|
|
4872
|
-
"hasDynamicHelp": false,
|
|
4873
|
-
"multiple": true,
|
|
4874
|
-
"type": "option"
|
|
4875
|
-
},
|
|
4876
|
-
"sentiment": {
|
|
4877
|
-
"description": "Match sentiment (positive, neutral, negative)",
|
|
4878
|
-
"name": "sentiment",
|
|
4879
|
-
"hasDynamicHelp": false,
|
|
4880
|
-
"multiple": true,
|
|
4881
|
-
"type": "option"
|
|
4882
|
-
},
|
|
4883
|
-
"label": {
|
|
4884
|
-
"description": "Label ID to apply when rule matches",
|
|
4885
|
-
"name": "label",
|
|
4886
|
-
"hasDynamicHelp": false,
|
|
4887
|
-
"multiple": true,
|
|
4888
|
-
"type": "option"
|
|
4889
|
-
},
|
|
4890
|
-
"close": {
|
|
4891
|
-
"description": "Close the conversation when rule matches",
|
|
4892
|
-
"name": "close",
|
|
4893
|
-
"allowNo": false,
|
|
4894
|
-
"type": "boolean"
|
|
4895
|
-
},
|
|
4896
|
-
"priority": {
|
|
4897
|
-
"description": "Priority (lower runs first)",
|
|
4898
|
-
"name": "priority",
|
|
4899
|
-
"default": 0,
|
|
4953
|
+
"agent": {
|
|
4954
|
+
"description": "RCS agent id to check with (only needed when your workspace has more than one — see `rcs agents`)",
|
|
4955
|
+
"name": "agent",
|
|
4900
4956
|
"hasDynamicHelp": false,
|
|
4901
4957
|
"multiple": false,
|
|
4902
4958
|
"type": "option"
|
|
@@ -4904,7 +4960,7 @@
|
|
|
4904
4960
|
},
|
|
4905
4961
|
"hasDynamicHelp": false,
|
|
4906
4962
|
"hiddenAliases": [],
|
|
4907
|
-
"id": "
|
|
4963
|
+
"id": "rcs:capability",
|
|
4908
4964
|
"pluginAlias": "@sendly/cli",
|
|
4909
4965
|
"pluginName": "@sendly/cli",
|
|
4910
4966
|
"pluginType": "core",
|
|
@@ -4913,22 +4969,17 @@
|
|
|
4913
4969
|
"relativePath": [
|
|
4914
4970
|
"dist",
|
|
4915
4971
|
"commands",
|
|
4916
|
-
"
|
|
4917
|
-
"
|
|
4972
|
+
"rcs",
|
|
4973
|
+
"capability.js"
|
|
4918
4974
|
]
|
|
4919
4975
|
},
|
|
4920
|
-
"
|
|
4976
|
+
"rcs:dossier": {
|
|
4921
4977
|
"aliases": [],
|
|
4922
|
-
"args": {
|
|
4923
|
-
|
|
4924
|
-
"description": "Rule ID",
|
|
4925
|
-
"name": "id",
|
|
4926
|
-
"required": true
|
|
4927
|
-
}
|
|
4928
|
-
},
|
|
4929
|
-
"description": "Delete an auto-labeling rule",
|
|
4978
|
+
"args": {},
|
|
4979
|
+
"description": "Show the brand details Sendly can prefill from your 10DLC brand or toll-free verification",
|
|
4930
4980
|
"examples": [
|
|
4931
|
-
"<%= config.bin %>
|
|
4981
|
+
"<%= config.bin %> rcs dossier",
|
|
4982
|
+
"<%= config.bin %> rcs dossier --json > brand.json"
|
|
4932
4983
|
],
|
|
4933
4984
|
"flags": {
|
|
4934
4985
|
"json": {
|
|
@@ -4947,7 +4998,7 @@
|
|
|
4947
4998
|
},
|
|
4948
4999
|
"hasDynamicHelp": false,
|
|
4949
5000
|
"hiddenAliases": [],
|
|
4950
|
-
"id": "
|
|
5001
|
+
"id": "rcs:dossier",
|
|
4951
5002
|
"pluginAlias": "@sendly/cli",
|
|
4952
5003
|
"pluginName": "@sendly/cli",
|
|
4953
5004
|
"pluginType": "core",
|
|
@@ -4956,17 +5007,17 @@
|
|
|
4956
5007
|
"relativePath": [
|
|
4957
5008
|
"dist",
|
|
4958
5009
|
"commands",
|
|
4959
|
-
"
|
|
4960
|
-
"
|
|
5010
|
+
"rcs",
|
|
5011
|
+
"dossier.js"
|
|
4961
5012
|
]
|
|
4962
5013
|
},
|
|
4963
|
-
"
|
|
5014
|
+
"rcs:registration": {
|
|
4964
5015
|
"aliases": [],
|
|
4965
5016
|
"args": {},
|
|
4966
|
-
"description": "
|
|
5017
|
+
"description": "Show where your RCS registration stands — brand, agent, test devices, and what to do next",
|
|
4967
5018
|
"examples": [
|
|
4968
|
-
"<%= config.bin %>
|
|
4969
|
-
"<%= config.bin %>
|
|
5019
|
+
"<%= config.bin %> rcs registration",
|
|
5020
|
+
"<%= config.bin %> rcs registration --json"
|
|
4970
5021
|
],
|
|
4971
5022
|
"flags": {
|
|
4972
5023
|
"json": {
|
|
@@ -4985,7 +5036,7 @@
|
|
|
4985
5036
|
},
|
|
4986
5037
|
"hasDynamicHelp": false,
|
|
4987
5038
|
"hiddenAliases": [],
|
|
4988
|
-
"id": "
|
|
5039
|
+
"id": "rcs:registration",
|
|
4989
5040
|
"pluginAlias": "@sendly/cli",
|
|
4990
5041
|
"pluginName": "@sendly/cli",
|
|
4991
5042
|
"pluginType": "core",
|
|
@@ -4994,22 +5045,19 @@
|
|
|
4994
5045
|
"relativePath": [
|
|
4995
5046
|
"dist",
|
|
4996
5047
|
"commands",
|
|
4997
|
-
"
|
|
4998
|
-
"
|
|
5048
|
+
"rcs",
|
|
5049
|
+
"registration.js"
|
|
4999
5050
|
]
|
|
5000
5051
|
},
|
|
5001
|
-
"
|
|
5052
|
+
"rcs:send": {
|
|
5002
5053
|
"aliases": [],
|
|
5003
5054
|
"args": {},
|
|
5004
|
-
"description": "Send
|
|
5055
|
+
"description": "Send an RCS message — rich text with suggestion chips or a rich card; recipients without RCS get it as plain SMS unless --no-fallback",
|
|
5005
5056
|
"examples": [
|
|
5006
|
-
"<%= config.bin %>
|
|
5007
|
-
"<%= config.bin %>
|
|
5008
|
-
"<%= config.bin %>
|
|
5009
|
-
"<%= config.bin %>
|
|
5010
|
-
"<%= config.bin %> sms batch --file phones.csv --text \"Code: 123\" --type transactional",
|
|
5011
|
-
"<%= config.bin %> sms batch --reuse abc123-def456",
|
|
5012
|
-
"<%= config.bin %> sms batch --history"
|
|
5057
|
+
"<%= config.bin %> rcs send --to +15125550190 --text \"Your order shipped!\"",
|
|
5058
|
+
"<%= config.bin %> rcs send --to +15125550190 --text \"Need anything else?\" --suggest-reply \"Track order=TRACK\" --suggest-url \"View receipt=RECEIPT=https://example.com/r/4821\"",
|
|
5059
|
+
"<%= config.bin %> rcs send --to +15125550190 --card-title \"Spring sale\" --card-description \"20% off everything this weekend\" --card-media https://example.com/sale.jpg",
|
|
5060
|
+
"<%= config.bin %> rcs send --to +15125550190 --text \"RCS only please\" --no-fallback"
|
|
5013
5061
|
],
|
|
5014
5062
|
"flags": {
|
|
5015
5063
|
"json": {
|
|
@@ -5025,94 +5073,108 @@
|
|
|
5025
5073
|
"allowNo": false,
|
|
5026
5074
|
"type": "boolean"
|
|
5027
5075
|
},
|
|
5028
|
-
"file": {
|
|
5029
|
-
"char": "F",
|
|
5030
|
-
"description": "CSV file with phone numbers (and optional message text)",
|
|
5031
|
-
"exclusive": [
|
|
5032
|
-
"to",
|
|
5033
|
-
"reuse",
|
|
5034
|
-
"history"
|
|
5035
|
-
],
|
|
5036
|
-
"name": "file",
|
|
5037
|
-
"hasDynamicHelp": false,
|
|
5038
|
-
"multiple": false,
|
|
5039
|
-
"type": "option"
|
|
5040
|
-
},
|
|
5041
5076
|
"to": {
|
|
5042
5077
|
"char": "t",
|
|
5043
|
-
"description": "
|
|
5044
|
-
"exclusive": [
|
|
5045
|
-
"file",
|
|
5046
|
-
"reuse",
|
|
5047
|
-
"history"
|
|
5048
|
-
],
|
|
5078
|
+
"description": "Recipient phone number (E.164 format)",
|
|
5049
5079
|
"name": "to",
|
|
5080
|
+
"required": true,
|
|
5050
5081
|
"hasDynamicHelp": false,
|
|
5051
5082
|
"multiple": false,
|
|
5052
5083
|
"type": "option"
|
|
5053
5084
|
},
|
|
5054
5085
|
"text": {
|
|
5055
5086
|
"char": "m",
|
|
5056
|
-
"description": "Message text (
|
|
5087
|
+
"description": "Message text (falls back to SMS for non-RCS recipients)",
|
|
5088
|
+
"exclusive": [
|
|
5089
|
+
"card-title",
|
|
5090
|
+
"card-description",
|
|
5091
|
+
"card-media",
|
|
5092
|
+
"card-orientation"
|
|
5093
|
+
],
|
|
5057
5094
|
"name": "text",
|
|
5058
5095
|
"hasDynamicHelp": false,
|
|
5059
5096
|
"multiple": false,
|
|
5060
5097
|
"type": "option"
|
|
5061
5098
|
},
|
|
5062
|
-
"
|
|
5063
|
-
"
|
|
5064
|
-
"
|
|
5065
|
-
"name": "from",
|
|
5099
|
+
"agent": {
|
|
5100
|
+
"description": "RCS agent id to send from (only needed when your workspace has more than one — see `rcs agents`)",
|
|
5101
|
+
"name": "agent",
|
|
5066
5102
|
"hasDynamicHelp": false,
|
|
5067
5103
|
"multiple": false,
|
|
5068
5104
|
"type": "option"
|
|
5069
5105
|
},
|
|
5070
|
-
"
|
|
5071
|
-
"description": "
|
|
5072
|
-
"name": "
|
|
5073
|
-
"default": "marketing",
|
|
5106
|
+
"card-title": {
|
|
5107
|
+
"description": "Rich card title (cards have no SMS form — RCS-capable recipients only)",
|
|
5108
|
+
"name": "card-title",
|
|
5074
5109
|
"hasDynamicHelp": false,
|
|
5075
5110
|
"multiple": false,
|
|
5076
|
-
"options": [
|
|
5077
|
-
"marketing",
|
|
5078
|
-
"transactional"
|
|
5079
|
-
],
|
|
5080
5111
|
"type": "option"
|
|
5081
5112
|
},
|
|
5082
|
-
"
|
|
5083
|
-
"
|
|
5084
|
-
|
|
5085
|
-
|
|
5086
|
-
"
|
|
5087
|
-
"
|
|
5113
|
+
"card-description": {
|
|
5114
|
+
"dependsOn": [
|
|
5115
|
+
"card-title"
|
|
5116
|
+
],
|
|
5117
|
+
"description": "Rich card body text; required with --card-title",
|
|
5118
|
+
"name": "card-description",
|
|
5119
|
+
"hasDynamicHelp": false,
|
|
5120
|
+
"multiple": false,
|
|
5121
|
+
"type": "option"
|
|
5088
5122
|
},
|
|
5089
|
-
"
|
|
5090
|
-
"
|
|
5091
|
-
|
|
5092
|
-
"file",
|
|
5093
|
-
"to",
|
|
5094
|
-
"history"
|
|
5123
|
+
"card-media": {
|
|
5124
|
+
"dependsOn": [
|
|
5125
|
+
"card-title"
|
|
5095
5126
|
],
|
|
5096
|
-
"
|
|
5127
|
+
"description": "Public JPEG, PNG, or GIF image URL for the card",
|
|
5128
|
+
"name": "card-media",
|
|
5097
5129
|
"hasDynamicHelp": false,
|
|
5098
5130
|
"multiple": false,
|
|
5099
5131
|
"type": "option"
|
|
5100
5132
|
},
|
|
5101
|
-
"
|
|
5102
|
-
"
|
|
5103
|
-
|
|
5104
|
-
"file",
|
|
5105
|
-
"to",
|
|
5106
|
-
"reuse"
|
|
5133
|
+
"card-orientation": {
|
|
5134
|
+
"dependsOn": [
|
|
5135
|
+
"card-title"
|
|
5107
5136
|
],
|
|
5108
|
-
"
|
|
5137
|
+
"description": "Card layout",
|
|
5138
|
+
"name": "card-orientation",
|
|
5139
|
+
"hasDynamicHelp": false,
|
|
5140
|
+
"multiple": false,
|
|
5141
|
+
"options": [
|
|
5142
|
+
"vertical",
|
|
5143
|
+
"horizontal"
|
|
5144
|
+
],
|
|
5145
|
+
"type": "option"
|
|
5146
|
+
},
|
|
5147
|
+
"suggest-reply": {
|
|
5148
|
+
"description": "Reply chip as \"text=postback\" (e.g. --suggest-reply \"Track order=TRACK\"). Repeatable.",
|
|
5149
|
+
"name": "suggest-reply",
|
|
5150
|
+
"hasDynamicHelp": false,
|
|
5151
|
+
"multiple": true,
|
|
5152
|
+
"type": "option"
|
|
5153
|
+
},
|
|
5154
|
+
"suggest-url": {
|
|
5155
|
+
"description": "Open-URL chip as \"text=postback=url\" (e.g. --suggest-url \"View order=VIEW=https://example.com/o/4821\"). Repeatable.",
|
|
5156
|
+
"name": "suggest-url",
|
|
5157
|
+
"hasDynamicHelp": false,
|
|
5158
|
+
"multiple": true,
|
|
5159
|
+
"type": "option"
|
|
5160
|
+
},
|
|
5161
|
+
"no-fallback": {
|
|
5162
|
+
"description": "Fail with an error instead of delivering as SMS when the recipient doesn't support RCS",
|
|
5163
|
+
"name": "no-fallback",
|
|
5109
5164
|
"allowNo": false,
|
|
5110
5165
|
"type": "boolean"
|
|
5166
|
+
},
|
|
5167
|
+
"idempotency-key": {
|
|
5168
|
+
"description": "Idempotency key (1-255 printable ASCII characters). Re-running with the same key within 24 hours returns the original result instead of sending again.",
|
|
5169
|
+
"name": "idempotency-key",
|
|
5170
|
+
"hasDynamicHelp": false,
|
|
5171
|
+
"multiple": false,
|
|
5172
|
+
"type": "option"
|
|
5111
5173
|
}
|
|
5112
5174
|
},
|
|
5113
5175
|
"hasDynamicHelp": false,
|
|
5114
5176
|
"hiddenAliases": [],
|
|
5115
|
-
"id": "
|
|
5177
|
+
"id": "rcs:send",
|
|
5116
5178
|
"pluginAlias": "@sendly/cli",
|
|
5117
5179
|
"pluginName": "@sendly/cli",
|
|
5118
5180
|
"pluginType": "core",
|
|
@@ -5121,23 +5183,18 @@
|
|
|
5121
5183
|
"relativePath": [
|
|
5122
5184
|
"dist",
|
|
5123
5185
|
"commands",
|
|
5124
|
-
"
|
|
5125
|
-
"
|
|
5186
|
+
"rcs",
|
|
5187
|
+
"send.js"
|
|
5126
5188
|
]
|
|
5127
5189
|
},
|
|
5128
|
-
"
|
|
5190
|
+
"rules:create": {
|
|
5129
5191
|
"aliases": [],
|
|
5130
|
-
"args": {
|
|
5131
|
-
|
|
5132
|
-
"description": "Scheduled message ID to cancel",
|
|
5133
|
-
"name": "id",
|
|
5134
|
-
"required": true
|
|
5135
|
-
}
|
|
5136
|
-
},
|
|
5137
|
-
"description": "Cancel a scheduled message",
|
|
5192
|
+
"args": {},
|
|
5193
|
+
"description": "Create an auto-labeling rule",
|
|
5138
5194
|
"examples": [
|
|
5139
|
-
"<%= config.bin %>
|
|
5140
|
-
"<%= config.bin %>
|
|
5195
|
+
"<%= config.bin %> rules create --name \"Flag complaints\" --intent complaint --label label_abc",
|
|
5196
|
+
"<%= config.bin %> rules create --name \"Close opt-outs\" --intent opt_out --close",
|
|
5197
|
+
"<%= config.bin %> rules create --name \"Negative\" --sentiment negative --label label_xyz --priority 1"
|
|
5141
5198
|
],
|
|
5142
5199
|
"flags": {
|
|
5143
5200
|
"json": {
|
|
@@ -5152,36 +5209,78 @@
|
|
|
5152
5209
|
"name": "quiet",
|
|
5153
5210
|
"allowNo": false,
|
|
5154
5211
|
"type": "boolean"
|
|
5155
|
-
}
|
|
5156
|
-
|
|
5157
|
-
|
|
5158
|
-
|
|
5159
|
-
|
|
5160
|
-
|
|
5161
|
-
|
|
5162
|
-
|
|
5163
|
-
|
|
5164
|
-
|
|
5212
|
+
},
|
|
5213
|
+
"name": {
|
|
5214
|
+
"description": "Rule name",
|
|
5215
|
+
"name": "name",
|
|
5216
|
+
"required": true,
|
|
5217
|
+
"hasDynamicHelp": false,
|
|
5218
|
+
"multiple": false,
|
|
5219
|
+
"type": "option"
|
|
5220
|
+
},
|
|
5221
|
+
"intent": {
|
|
5222
|
+
"description": "Match intent (question, appointment, complaint, order_status, feedback, opt_out, greeting, confirmation, other)",
|
|
5223
|
+
"name": "intent",
|
|
5224
|
+
"hasDynamicHelp": false,
|
|
5225
|
+
"multiple": true,
|
|
5226
|
+
"type": "option"
|
|
5227
|
+
},
|
|
5228
|
+
"sentiment": {
|
|
5229
|
+
"description": "Match sentiment (positive, neutral, negative)",
|
|
5230
|
+
"name": "sentiment",
|
|
5231
|
+
"hasDynamicHelp": false,
|
|
5232
|
+
"multiple": true,
|
|
5233
|
+
"type": "option"
|
|
5234
|
+
},
|
|
5235
|
+
"label": {
|
|
5236
|
+
"description": "Label ID to apply when rule matches",
|
|
5237
|
+
"name": "label",
|
|
5238
|
+
"hasDynamicHelp": false,
|
|
5239
|
+
"multiple": true,
|
|
5240
|
+
"type": "option"
|
|
5241
|
+
},
|
|
5242
|
+
"close": {
|
|
5243
|
+
"description": "Close the conversation when rule matches",
|
|
5244
|
+
"name": "close",
|
|
5245
|
+
"allowNo": false,
|
|
5246
|
+
"type": "boolean"
|
|
5247
|
+
},
|
|
5248
|
+
"priority": {
|
|
5249
|
+
"description": "Priority (lower runs first)",
|
|
5250
|
+
"name": "priority",
|
|
5251
|
+
"default": 0,
|
|
5252
|
+
"hasDynamicHelp": false,
|
|
5253
|
+
"multiple": false,
|
|
5254
|
+
"type": "option"
|
|
5255
|
+
}
|
|
5256
|
+
},
|
|
5257
|
+
"hasDynamicHelp": false,
|
|
5258
|
+
"hiddenAliases": [],
|
|
5259
|
+
"id": "rules:create",
|
|
5260
|
+
"pluginAlias": "@sendly/cli",
|
|
5261
|
+
"pluginName": "@sendly/cli",
|
|
5262
|
+
"pluginType": "core",
|
|
5263
|
+
"strict": true,
|
|
5264
|
+
"isESM": true,
|
|
5165
5265
|
"relativePath": [
|
|
5166
5266
|
"dist",
|
|
5167
5267
|
"commands",
|
|
5168
|
-
"
|
|
5169
|
-
"
|
|
5268
|
+
"rules",
|
|
5269
|
+
"create.js"
|
|
5170
5270
|
]
|
|
5171
5271
|
},
|
|
5172
|
-
"
|
|
5272
|
+
"rules:delete": {
|
|
5173
5273
|
"aliases": [],
|
|
5174
5274
|
"args": {
|
|
5175
5275
|
"id": {
|
|
5176
|
-
"description": "
|
|
5276
|
+
"description": "Rule ID",
|
|
5177
5277
|
"name": "id",
|
|
5178
5278
|
"required": true
|
|
5179
5279
|
}
|
|
5180
5280
|
},
|
|
5181
|
-
"description": "
|
|
5281
|
+
"description": "Delete an auto-labeling rule",
|
|
5182
5282
|
"examples": [
|
|
5183
|
-
"<%= config.bin %>
|
|
5184
|
-
"<%= config.bin %> sms get msg_abc123 --json"
|
|
5283
|
+
"<%= config.bin %> rules delete rule_abc123"
|
|
5185
5284
|
],
|
|
5186
5285
|
"flags": {
|
|
5187
5286
|
"json": {
|
|
@@ -5200,7 +5299,7 @@
|
|
|
5200
5299
|
},
|
|
5201
5300
|
"hasDynamicHelp": false,
|
|
5202
5301
|
"hiddenAliases": [],
|
|
5203
|
-
"id": "
|
|
5302
|
+
"id": "rules:delete",
|
|
5204
5303
|
"pluginAlias": "@sendly/cli",
|
|
5205
5304
|
"pluginName": "@sendly/cli",
|
|
5206
5305
|
"pluginType": "core",
|
|
@@ -5209,20 +5308,60 @@
|
|
|
5209
5308
|
"relativePath": [
|
|
5210
5309
|
"dist",
|
|
5211
5310
|
"commands",
|
|
5212
|
-
"
|
|
5213
|
-
"
|
|
5311
|
+
"rules",
|
|
5312
|
+
"delete.js"
|
|
5214
5313
|
]
|
|
5215
5314
|
},
|
|
5216
|
-
"
|
|
5315
|
+
"rules": {
|
|
5217
5316
|
"aliases": [],
|
|
5218
5317
|
"args": {},
|
|
5219
|
-
"description": "
|
|
5318
|
+
"description": "List auto-labeling rules",
|
|
5220
5319
|
"examples": [
|
|
5221
|
-
"<%= config.bin %>
|
|
5222
|
-
"<%= config.bin %>
|
|
5223
|
-
|
|
5224
|
-
|
|
5225
|
-
"
|
|
5320
|
+
"<%= config.bin %> rules",
|
|
5321
|
+
"<%= config.bin %> rules --json"
|
|
5322
|
+
],
|
|
5323
|
+
"flags": {
|
|
5324
|
+
"json": {
|
|
5325
|
+
"description": "Output in JSON format",
|
|
5326
|
+
"name": "json",
|
|
5327
|
+
"allowNo": false,
|
|
5328
|
+
"type": "boolean"
|
|
5329
|
+
},
|
|
5330
|
+
"quiet": {
|
|
5331
|
+
"char": "q",
|
|
5332
|
+
"description": "Minimal output",
|
|
5333
|
+
"name": "quiet",
|
|
5334
|
+
"allowNo": false,
|
|
5335
|
+
"type": "boolean"
|
|
5336
|
+
}
|
|
5337
|
+
},
|
|
5338
|
+
"hasDynamicHelp": false,
|
|
5339
|
+
"hiddenAliases": [],
|
|
5340
|
+
"id": "rules",
|
|
5341
|
+
"pluginAlias": "@sendly/cli",
|
|
5342
|
+
"pluginName": "@sendly/cli",
|
|
5343
|
+
"pluginType": "core",
|
|
5344
|
+
"strict": true,
|
|
5345
|
+
"isESM": true,
|
|
5346
|
+
"relativePath": [
|
|
5347
|
+
"dist",
|
|
5348
|
+
"commands",
|
|
5349
|
+
"rules",
|
|
5350
|
+
"index.js"
|
|
5351
|
+
]
|
|
5352
|
+
},
|
|
5353
|
+
"sms:batch": {
|
|
5354
|
+
"aliases": [],
|
|
5355
|
+
"args": {},
|
|
5356
|
+
"description": "Send batch SMS messages (uploads CSV to cloud for audit trail)",
|
|
5357
|
+
"examples": [
|
|
5358
|
+
"<%= config.bin %> sms batch --file recipients.csv",
|
|
5359
|
+
"<%= config.bin %> sms batch --file phones.csv --text \"Hello everyone!\"",
|
|
5360
|
+
"<%= config.bin %> sms batch --to +15551234567,+15559876543 --text \"Hello!\"",
|
|
5361
|
+
"<%= config.bin %> sms batch --file recipients.csv --dry-run",
|
|
5362
|
+
"<%= config.bin %> sms batch --file phones.csv --text \"Code: 123\" --type transactional",
|
|
5363
|
+
"<%= config.bin %> sms batch --reuse abc123-def456",
|
|
5364
|
+
"<%= config.bin %> sms batch --history"
|
|
5226
5365
|
],
|
|
5227
5366
|
"flags": {
|
|
5228
5367
|
"json": {
|
|
@@ -5238,9 +5377,27 @@
|
|
|
5238
5377
|
"allowNo": false,
|
|
5239
5378
|
"type": "boolean"
|
|
5240
5379
|
},
|
|
5380
|
+
"file": {
|
|
5381
|
+
"char": "F",
|
|
5382
|
+
"description": "CSV file with phone numbers (and optional message text)",
|
|
5383
|
+
"exclusive": [
|
|
5384
|
+
"to",
|
|
5385
|
+
"reuse",
|
|
5386
|
+
"history"
|
|
5387
|
+
],
|
|
5388
|
+
"name": "file",
|
|
5389
|
+
"hasDynamicHelp": false,
|
|
5390
|
+
"multiple": false,
|
|
5391
|
+
"type": "option"
|
|
5392
|
+
},
|
|
5241
5393
|
"to": {
|
|
5242
5394
|
"char": "t",
|
|
5243
|
-
"description": "Comma-separated recipient phone numbers (
|
|
5395
|
+
"description": "Comma-separated recipient phone numbers (E.164 format)",
|
|
5396
|
+
"exclusive": [
|
|
5397
|
+
"file",
|
|
5398
|
+
"reuse",
|
|
5399
|
+
"history"
|
|
5400
|
+
],
|
|
5244
5401
|
"name": "to",
|
|
5245
5402
|
"hasDynamicHelp": false,
|
|
5246
5403
|
"multiple": false,
|
|
@@ -5248,7 +5405,7 @@
|
|
|
5248
5405
|
},
|
|
5249
5406
|
"text": {
|
|
5250
5407
|
"char": "m",
|
|
5251
|
-
"description": "Message text (optional
|
|
5408
|
+
"description": "Message text (required with --to, optional with --file if CSV has text column)",
|
|
5252
5409
|
"name": "text",
|
|
5253
5410
|
"hasDynamicHelp": false,
|
|
5254
5411
|
"multiple": false,
|
|
@@ -5256,15 +5413,16 @@
|
|
|
5256
5413
|
},
|
|
5257
5414
|
"from": {
|
|
5258
5415
|
"char": "f",
|
|
5259
|
-
"description": "Sender ID or phone number
|
|
5416
|
+
"description": "Sender ID or phone number for all messages",
|
|
5260
5417
|
"name": "from",
|
|
5261
5418
|
"hasDynamicHelp": false,
|
|
5262
5419
|
"multiple": false,
|
|
5263
5420
|
"type": "option"
|
|
5264
5421
|
},
|
|
5265
5422
|
"type": {
|
|
5266
|
-
"description": "Message type:
|
|
5423
|
+
"description": "Message type: marketing (default) or transactional. Transactional bypasses quiet hours.",
|
|
5267
5424
|
"name": "type",
|
|
5425
|
+
"default": "marketing",
|
|
5268
5426
|
"hasDynamicHelp": false,
|
|
5269
5427
|
"multiple": false,
|
|
5270
5428
|
"options": [
|
|
@@ -5273,17 +5431,50 @@
|
|
|
5273
5431
|
],
|
|
5274
5432
|
"type": "option"
|
|
5275
5433
|
},
|
|
5276
|
-
"
|
|
5277
|
-
"
|
|
5278
|
-
"
|
|
5434
|
+
"dry-run": {
|
|
5435
|
+
"char": "d",
|
|
5436
|
+
"description": "Preview batch without sending (validates access, shows cost and compliance breakdown)",
|
|
5437
|
+
"name": "dry-run",
|
|
5438
|
+
"allowNo": false,
|
|
5439
|
+
"type": "boolean"
|
|
5440
|
+
},
|
|
5441
|
+
"reuse": {
|
|
5442
|
+
"description": "Re-use a previous batch upload by ID (see --history)",
|
|
5443
|
+
"exclusive": [
|
|
5444
|
+
"file",
|
|
5445
|
+
"to",
|
|
5446
|
+
"history"
|
|
5447
|
+
],
|
|
5448
|
+
"name": "reuse",
|
|
5279
5449
|
"hasDynamicHelp": false,
|
|
5280
|
-
"multiple":
|
|
5450
|
+
"multiple": false,
|
|
5451
|
+
"type": "option"
|
|
5452
|
+
},
|
|
5453
|
+
"history": {
|
|
5454
|
+
"description": "Show recent batch upload history",
|
|
5455
|
+
"exclusive": [
|
|
5456
|
+
"file",
|
|
5457
|
+
"to",
|
|
5458
|
+
"reuse"
|
|
5459
|
+
],
|
|
5460
|
+
"name": "history",
|
|
5461
|
+
"allowNo": false,
|
|
5462
|
+
"type": "boolean"
|
|
5463
|
+
},
|
|
5464
|
+
"idempotency-key": {
|
|
5465
|
+
"description": "Idempotency key (1-255 printable ASCII characters). Re-running with the same key within 24 hours returns the original result instead of sending again.",
|
|
5466
|
+
"exclusive": [
|
|
5467
|
+
"history"
|
|
5468
|
+
],
|
|
5469
|
+
"name": "idempotency-key",
|
|
5470
|
+
"hasDynamicHelp": false,
|
|
5471
|
+
"multiple": false,
|
|
5281
5472
|
"type": "option"
|
|
5282
5473
|
}
|
|
5283
5474
|
},
|
|
5284
5475
|
"hasDynamicHelp": false,
|
|
5285
5476
|
"hiddenAliases": [],
|
|
5286
|
-
"id": "sms:
|
|
5477
|
+
"id": "sms:batch",
|
|
5287
5478
|
"pluginAlias": "@sendly/cli",
|
|
5288
5479
|
"pluginName": "@sendly/cli",
|
|
5289
5480
|
"pluginType": "core",
|
|
@@ -5293,20 +5484,22 @@
|
|
|
5293
5484
|
"dist",
|
|
5294
5485
|
"commands",
|
|
5295
5486
|
"sms",
|
|
5296
|
-
"
|
|
5487
|
+
"batch.js"
|
|
5297
5488
|
]
|
|
5298
5489
|
},
|
|
5299
|
-
"sms:
|
|
5490
|
+
"sms:cancel": {
|
|
5300
5491
|
"aliases": [],
|
|
5301
|
-
"args": {
|
|
5302
|
-
|
|
5492
|
+
"args": {
|
|
5493
|
+
"id": {
|
|
5494
|
+
"description": "Scheduled message ID to cancel",
|
|
5495
|
+
"name": "id",
|
|
5496
|
+
"required": true
|
|
5497
|
+
}
|
|
5498
|
+
},
|
|
5499
|
+
"description": "Cancel a scheduled message",
|
|
5303
5500
|
"examples": [
|
|
5304
|
-
"<%= config.bin %> sms
|
|
5305
|
-
"<%= config.bin %> sms
|
|
5306
|
-
"<%= config.bin %> sms list --page 2",
|
|
5307
|
-
"<%= config.bin %> sms list --status delivered",
|
|
5308
|
-
"<%= config.bin %> sms list --sandbox",
|
|
5309
|
-
"<%= config.bin %> sms list --json"
|
|
5501
|
+
"<%= config.bin %> sms cancel sched_abc123",
|
|
5502
|
+
"<%= config.bin %> sms cancel sched_abc123 --json"
|
|
5310
5503
|
],
|
|
5311
5504
|
"flags": {
|
|
5312
5505
|
"json": {
|
|
@@ -5321,49 +5514,11 @@
|
|
|
5321
5514
|
"name": "quiet",
|
|
5322
5515
|
"allowNo": false,
|
|
5323
5516
|
"type": "boolean"
|
|
5324
|
-
},
|
|
5325
|
-
"limit": {
|
|
5326
|
-
"char": "l",
|
|
5327
|
-
"description": "Number of messages per page",
|
|
5328
|
-
"name": "limit",
|
|
5329
|
-
"default": 20,
|
|
5330
|
-
"hasDynamicHelp": false,
|
|
5331
|
-
"multiple": false,
|
|
5332
|
-
"type": "option"
|
|
5333
|
-
},
|
|
5334
|
-
"page": {
|
|
5335
|
-
"char": "p",
|
|
5336
|
-
"description": "Page number (starts at 1)",
|
|
5337
|
-
"name": "page",
|
|
5338
|
-
"hasDynamicHelp": false,
|
|
5339
|
-
"multiple": false,
|
|
5340
|
-
"type": "option"
|
|
5341
|
-
},
|
|
5342
|
-
"offset": {
|
|
5343
|
-
"description": "Offset from start (alternative to --page)",
|
|
5344
|
-
"name": "offset",
|
|
5345
|
-
"hasDynamicHelp": false,
|
|
5346
|
-
"multiple": false,
|
|
5347
|
-
"type": "option"
|
|
5348
|
-
},
|
|
5349
|
-
"status": {
|
|
5350
|
-
"char": "s",
|
|
5351
|
-
"description": "Filter by status (queued, sent, delivered, failed, bounced, retrying)",
|
|
5352
|
-
"name": "status",
|
|
5353
|
-
"hasDynamicHelp": false,
|
|
5354
|
-
"multiple": false,
|
|
5355
|
-
"type": "option"
|
|
5356
|
-
},
|
|
5357
|
-
"sandbox": {
|
|
5358
|
-
"description": "Show sandbox/test messages (live keys only)",
|
|
5359
|
-
"name": "sandbox",
|
|
5360
|
-
"allowNo": false,
|
|
5361
|
-
"type": "boolean"
|
|
5362
5517
|
}
|
|
5363
5518
|
},
|
|
5364
5519
|
"hasDynamicHelp": false,
|
|
5365
5520
|
"hiddenAliases": [],
|
|
5366
|
-
"id": "sms:
|
|
5521
|
+
"id": "sms:cancel",
|
|
5367
5522
|
"pluginAlias": "@sendly/cli",
|
|
5368
5523
|
"pluginName": "@sendly/cli",
|
|
5369
5524
|
"pluginType": "core",
|
|
@@ -5373,7 +5528,221 @@
|
|
|
5373
5528
|
"dist",
|
|
5374
5529
|
"commands",
|
|
5375
5530
|
"sms",
|
|
5376
|
-
"
|
|
5531
|
+
"cancel.js"
|
|
5532
|
+
]
|
|
5533
|
+
},
|
|
5534
|
+
"sms:get": {
|
|
5535
|
+
"aliases": [],
|
|
5536
|
+
"args": {
|
|
5537
|
+
"id": {
|
|
5538
|
+
"description": "Message ID",
|
|
5539
|
+
"name": "id",
|
|
5540
|
+
"required": true
|
|
5541
|
+
}
|
|
5542
|
+
},
|
|
5543
|
+
"description": "Get details of a specific message",
|
|
5544
|
+
"examples": [
|
|
5545
|
+
"<%= config.bin %> sms get msg_abc123",
|
|
5546
|
+
"<%= config.bin %> sms get msg_abc123 --json"
|
|
5547
|
+
],
|
|
5548
|
+
"flags": {
|
|
5549
|
+
"json": {
|
|
5550
|
+
"description": "Output in JSON format",
|
|
5551
|
+
"name": "json",
|
|
5552
|
+
"allowNo": false,
|
|
5553
|
+
"type": "boolean"
|
|
5554
|
+
},
|
|
5555
|
+
"quiet": {
|
|
5556
|
+
"char": "q",
|
|
5557
|
+
"description": "Minimal output",
|
|
5558
|
+
"name": "quiet",
|
|
5559
|
+
"allowNo": false,
|
|
5560
|
+
"type": "boolean"
|
|
5561
|
+
}
|
|
5562
|
+
},
|
|
5563
|
+
"hasDynamicHelp": false,
|
|
5564
|
+
"hiddenAliases": [],
|
|
5565
|
+
"id": "sms:get",
|
|
5566
|
+
"pluginAlias": "@sendly/cli",
|
|
5567
|
+
"pluginName": "@sendly/cli",
|
|
5568
|
+
"pluginType": "core",
|
|
5569
|
+
"strict": true,
|
|
5570
|
+
"isESM": true,
|
|
5571
|
+
"relativePath": [
|
|
5572
|
+
"dist",
|
|
5573
|
+
"commands",
|
|
5574
|
+
"sms",
|
|
5575
|
+
"get.js"
|
|
5576
|
+
]
|
|
5577
|
+
},
|
|
5578
|
+
"sms:group": {
|
|
5579
|
+
"aliases": [],
|
|
5580
|
+
"args": {},
|
|
5581
|
+
"description": "Send a group MMS to 2-8 recipients (US/Canada only). Everyone sees the group and replies fan out to all participants.",
|
|
5582
|
+
"examples": [
|
|
5583
|
+
"<%= config.bin %> sms group --to +14155551234,+14155555678 --text \"Team sync at noon?\"",
|
|
5584
|
+
"<%= config.bin %> sms group --to +14155551234,+14155555678 --media-url https://example.com/flyer.jpg",
|
|
5585
|
+
"<%= config.bin %> sms group --to +14155551234,+14155555678 --text \"Hi all\" --from \"+15551234567\"",
|
|
5586
|
+
"<%= config.bin %> sms group --to +14155551234,+14155555678 --text \"Sale!\" --type marketing",
|
|
5587
|
+
"<%= config.bin %> sms group --to +14155551234,+14155555678 --text \"Hi all\" --json"
|
|
5588
|
+
],
|
|
5589
|
+
"flags": {
|
|
5590
|
+
"json": {
|
|
5591
|
+
"description": "Output in JSON format",
|
|
5592
|
+
"name": "json",
|
|
5593
|
+
"allowNo": false,
|
|
5594
|
+
"type": "boolean"
|
|
5595
|
+
},
|
|
5596
|
+
"quiet": {
|
|
5597
|
+
"char": "q",
|
|
5598
|
+
"description": "Minimal output",
|
|
5599
|
+
"name": "quiet",
|
|
5600
|
+
"allowNo": false,
|
|
5601
|
+
"type": "boolean"
|
|
5602
|
+
},
|
|
5603
|
+
"to": {
|
|
5604
|
+
"char": "t",
|
|
5605
|
+
"description": "Comma-separated recipient phone numbers (2-8, E.164 format, US/CA only)",
|
|
5606
|
+
"name": "to",
|
|
5607
|
+
"hasDynamicHelp": false,
|
|
5608
|
+
"multiple": false,
|
|
5609
|
+
"type": "option"
|
|
5610
|
+
},
|
|
5611
|
+
"text": {
|
|
5612
|
+
"char": "m",
|
|
5613
|
+
"description": "Message text (optional when --media-url is provided)",
|
|
5614
|
+
"name": "text",
|
|
5615
|
+
"hasDynamicHelp": false,
|
|
5616
|
+
"multiple": false,
|
|
5617
|
+
"type": "option"
|
|
5618
|
+
},
|
|
5619
|
+
"from": {
|
|
5620
|
+
"char": "f",
|
|
5621
|
+
"description": "Sender ID or phone number (MMS-enabled 10DLC number you own)",
|
|
5622
|
+
"name": "from",
|
|
5623
|
+
"hasDynamicHelp": false,
|
|
5624
|
+
"multiple": false,
|
|
5625
|
+
"type": "option"
|
|
5626
|
+
},
|
|
5627
|
+
"type": {
|
|
5628
|
+
"description": "Message type: transactional (default) or marketing. Marketing applies quiet-hours rules.",
|
|
5629
|
+
"name": "type",
|
|
5630
|
+
"hasDynamicHelp": false,
|
|
5631
|
+
"multiple": false,
|
|
5632
|
+
"options": [
|
|
5633
|
+
"marketing",
|
|
5634
|
+
"transactional"
|
|
5635
|
+
],
|
|
5636
|
+
"type": "option"
|
|
5637
|
+
},
|
|
5638
|
+
"media-url": {
|
|
5639
|
+
"description": "Media URL to attach (MMS). Can be specified multiple times.",
|
|
5640
|
+
"name": "media-url",
|
|
5641
|
+
"hasDynamicHelp": false,
|
|
5642
|
+
"multiple": true,
|
|
5643
|
+
"type": "option"
|
|
5644
|
+
},
|
|
5645
|
+
"idempotency-key": {
|
|
5646
|
+
"description": "Idempotency key (1-255 printable ASCII characters). Re-running with the same key within 24 hours returns the original result instead of sending again.",
|
|
5647
|
+
"name": "idempotency-key",
|
|
5648
|
+
"hasDynamicHelp": false,
|
|
5649
|
+
"multiple": false,
|
|
5650
|
+
"type": "option"
|
|
5651
|
+
}
|
|
5652
|
+
},
|
|
5653
|
+
"hasDynamicHelp": false,
|
|
5654
|
+
"hiddenAliases": [],
|
|
5655
|
+
"id": "sms:group",
|
|
5656
|
+
"pluginAlias": "@sendly/cli",
|
|
5657
|
+
"pluginName": "@sendly/cli",
|
|
5658
|
+
"pluginType": "core",
|
|
5659
|
+
"strict": true,
|
|
5660
|
+
"isESM": true,
|
|
5661
|
+
"relativePath": [
|
|
5662
|
+
"dist",
|
|
5663
|
+
"commands",
|
|
5664
|
+
"sms",
|
|
5665
|
+
"group.js"
|
|
5666
|
+
]
|
|
5667
|
+
},
|
|
5668
|
+
"sms:list": {
|
|
5669
|
+
"aliases": [],
|
|
5670
|
+
"args": {},
|
|
5671
|
+
"description": "List sent messages",
|
|
5672
|
+
"examples": [
|
|
5673
|
+
"<%= config.bin %> sms list",
|
|
5674
|
+
"<%= config.bin %> sms list --limit 10",
|
|
5675
|
+
"<%= config.bin %> sms list --page 2",
|
|
5676
|
+
"<%= config.bin %> sms list --status delivered",
|
|
5677
|
+
"<%= config.bin %> sms list --sandbox",
|
|
5678
|
+
"<%= config.bin %> sms list --json"
|
|
5679
|
+
],
|
|
5680
|
+
"flags": {
|
|
5681
|
+
"json": {
|
|
5682
|
+
"description": "Output in JSON format",
|
|
5683
|
+
"name": "json",
|
|
5684
|
+
"allowNo": false,
|
|
5685
|
+
"type": "boolean"
|
|
5686
|
+
},
|
|
5687
|
+
"quiet": {
|
|
5688
|
+
"char": "q",
|
|
5689
|
+
"description": "Minimal output",
|
|
5690
|
+
"name": "quiet",
|
|
5691
|
+
"allowNo": false,
|
|
5692
|
+
"type": "boolean"
|
|
5693
|
+
},
|
|
5694
|
+
"limit": {
|
|
5695
|
+
"char": "l",
|
|
5696
|
+
"description": "Number of messages per page",
|
|
5697
|
+
"name": "limit",
|
|
5698
|
+
"default": 20,
|
|
5699
|
+
"hasDynamicHelp": false,
|
|
5700
|
+
"multiple": false,
|
|
5701
|
+
"type": "option"
|
|
5702
|
+
},
|
|
5703
|
+
"page": {
|
|
5704
|
+
"char": "p",
|
|
5705
|
+
"description": "Page number (starts at 1)",
|
|
5706
|
+
"name": "page",
|
|
5707
|
+
"hasDynamicHelp": false,
|
|
5708
|
+
"multiple": false,
|
|
5709
|
+
"type": "option"
|
|
5710
|
+
},
|
|
5711
|
+
"offset": {
|
|
5712
|
+
"description": "Offset from start (alternative to --page)",
|
|
5713
|
+
"name": "offset",
|
|
5714
|
+
"hasDynamicHelp": false,
|
|
5715
|
+
"multiple": false,
|
|
5716
|
+
"type": "option"
|
|
5717
|
+
},
|
|
5718
|
+
"status": {
|
|
5719
|
+
"char": "s",
|
|
5720
|
+
"description": "Filter by status (queued, sent, delivered, failed, bounced, retrying)",
|
|
5721
|
+
"name": "status",
|
|
5722
|
+
"hasDynamicHelp": false,
|
|
5723
|
+
"multiple": false,
|
|
5724
|
+
"type": "option"
|
|
5725
|
+
},
|
|
5726
|
+
"sandbox": {
|
|
5727
|
+
"description": "Show sandbox/test messages (live keys only)",
|
|
5728
|
+
"name": "sandbox",
|
|
5729
|
+
"allowNo": false,
|
|
5730
|
+
"type": "boolean"
|
|
5731
|
+
}
|
|
5732
|
+
},
|
|
5733
|
+
"hasDynamicHelp": false,
|
|
5734
|
+
"hiddenAliases": [],
|
|
5735
|
+
"id": "sms:list",
|
|
5736
|
+
"pluginAlias": "@sendly/cli",
|
|
5737
|
+
"pluginName": "@sendly/cli",
|
|
5738
|
+
"pluginType": "core",
|
|
5739
|
+
"strict": true,
|
|
5740
|
+
"isESM": true,
|
|
5741
|
+
"relativePath": [
|
|
5742
|
+
"dist",
|
|
5743
|
+
"commands",
|
|
5744
|
+
"sms",
|
|
5745
|
+
"list.js"
|
|
5377
5746
|
]
|
|
5378
5747
|
},
|
|
5379
5748
|
"sms:schedule": {
|
|
@@ -5444,6 +5813,13 @@
|
|
|
5444
5813
|
"transactional"
|
|
5445
5814
|
],
|
|
5446
5815
|
"type": "option"
|
|
5816
|
+
},
|
|
5817
|
+
"idempotency-key": {
|
|
5818
|
+
"description": "Idempotency key (1-255 printable ASCII characters). Re-running with the same key within 24 hours returns the original result instead of scheduling again.",
|
|
5819
|
+
"name": "idempotency-key",
|
|
5820
|
+
"hasDynamicHelp": false,
|
|
5821
|
+
"multiple": false,
|
|
5822
|
+
"type": "option"
|
|
5447
5823
|
}
|
|
5448
5824
|
},
|
|
5449
5825
|
"hasDynamicHelp": false,
|
|
@@ -5656,6 +6032,13 @@
|
|
|
5656
6032
|
"hasDynamicHelp": false,
|
|
5657
6033
|
"multiple": true,
|
|
5658
6034
|
"type": "option"
|
|
6035
|
+
},
|
|
6036
|
+
"idempotency-key": {
|
|
6037
|
+
"description": "Idempotency key (1-255 printable ASCII characters). Re-running with the same key within 24 hours returns the original result instead of sending again.",
|
|
6038
|
+
"name": "idempotency-key",
|
|
6039
|
+
"hasDynamicHelp": false,
|
|
6040
|
+
"multiple": false,
|
|
6041
|
+
"type": "option"
|
|
5659
6042
|
}
|
|
5660
6043
|
},
|
|
5661
6044
|
"hasDynamicHelp": false,
|
|
@@ -7448,13 +7831,13 @@
|
|
|
7448
7831
|
"update.js"
|
|
7449
7832
|
]
|
|
7450
7833
|
},
|
|
7451
|
-
"
|
|
7834
|
+
"whatsapp:connect": {
|
|
7452
7835
|
"aliases": [],
|
|
7453
7836
|
"args": {},
|
|
7454
|
-
"description": "
|
|
7837
|
+
"description": "Connect one of your numbers to WhatsApp. Prints a secure link a person must open and sign in with Facebook to finish; the command then waits until the sender is active. One-time $19 connection fee — no monthly fee.",
|
|
7455
7838
|
"examples": [
|
|
7456
|
-
"<%= config.bin %>
|
|
7457
|
-
"<%= config.bin %>
|
|
7839
|
+
"<%= config.bin %> whatsapp connect --number +15551234567",
|
|
7840
|
+
"<%= config.bin %> whatsapp connect --number +15551234567 --json"
|
|
7458
7841
|
],
|
|
7459
7842
|
"flags": {
|
|
7460
7843
|
"json": {
|
|
@@ -7469,11 +7852,20 @@
|
|
|
7469
7852
|
"name": "quiet",
|
|
7470
7853
|
"allowNo": false,
|
|
7471
7854
|
"type": "boolean"
|
|
7855
|
+
},
|
|
7856
|
+
"number": {
|
|
7857
|
+
"char": "n",
|
|
7858
|
+
"description": "Number on your workspace to connect (E.164 format)",
|
|
7859
|
+
"name": "number",
|
|
7860
|
+
"required": true,
|
|
7861
|
+
"hasDynamicHelp": false,
|
|
7862
|
+
"multiple": false,
|
|
7863
|
+
"type": "option"
|
|
7472
7864
|
}
|
|
7473
7865
|
},
|
|
7474
7866
|
"hasDynamicHelp": false,
|
|
7475
7867
|
"hiddenAliases": [],
|
|
7476
|
-
"id": "
|
|
7868
|
+
"id": "whatsapp:connect",
|
|
7477
7869
|
"pluginAlias": "@sendly/cli",
|
|
7478
7870
|
"pluginName": "@sendly/cli",
|
|
7479
7871
|
"pluginType": "core",
|
|
@@ -7482,18 +7874,18 @@
|
|
|
7482
7874
|
"relativePath": [
|
|
7483
7875
|
"dist",
|
|
7484
7876
|
"commands",
|
|
7485
|
-
"
|
|
7486
|
-
"
|
|
7487
|
-
"list.js"
|
|
7877
|
+
"whatsapp",
|
|
7878
|
+
"connect.js"
|
|
7488
7879
|
]
|
|
7489
7880
|
},
|
|
7490
|
-
"
|
|
7881
|
+
"whatsapp:send": {
|
|
7491
7882
|
"aliases": [],
|
|
7492
7883
|
"args": {},
|
|
7493
|
-
"description": "
|
|
7884
|
+
"description": "Send a WhatsApp message — free-form text inside the 24-hour reply window, or an approved template any time",
|
|
7494
7885
|
"examples": [
|
|
7495
|
-
"<%= config.bin %>
|
|
7496
|
-
"<%= config.bin %>
|
|
7886
|
+
"<%= config.bin %> whatsapp send --to +15551234567 --from +15559876543 --text \"Your table is ready!\"",
|
|
7887
|
+
"<%= config.bin %> whatsapp send --to +447700900123 --from +15559876543 --template order_shipped --language en_US --var 1=TinyFat --var 2=4821",
|
|
7888
|
+
"<%= config.bin %> whatsapp send --to +15551234567 --from +15559876543 --text \"Hello!\" --json"
|
|
7497
7889
|
],
|
|
7498
7890
|
"flags": {
|
|
7499
7891
|
"json": {
|
|
@@ -7509,23 +7901,249 @@
|
|
|
7509
7901
|
"allowNo": false,
|
|
7510
7902
|
"type": "boolean"
|
|
7511
7903
|
},
|
|
7512
|
-
"
|
|
7513
|
-
"
|
|
7514
|
-
"
|
|
7904
|
+
"to": {
|
|
7905
|
+
"char": "t",
|
|
7906
|
+
"description": "Recipient phone number (E.164 format)",
|
|
7907
|
+
"name": "to",
|
|
7515
7908
|
"required": true,
|
|
7516
7909
|
"hasDynamicHelp": false,
|
|
7517
7910
|
"multiple": false,
|
|
7518
7911
|
"type": "option"
|
|
7519
7912
|
},
|
|
7520
|
-
"
|
|
7521
|
-
"
|
|
7522
|
-
"
|
|
7913
|
+
"from": {
|
|
7914
|
+
"char": "f",
|
|
7915
|
+
"description": "Your WhatsApp-connected sender number (E.164 format)",
|
|
7916
|
+
"name": "from",
|
|
7917
|
+
"required": true,
|
|
7523
7918
|
"hasDynamicHelp": false,
|
|
7524
7919
|
"multiple": false,
|
|
7525
7920
|
"type": "option"
|
|
7526
7921
|
},
|
|
7527
|
-
"
|
|
7528
|
-
"
|
|
7922
|
+
"text": {
|
|
7923
|
+
"char": "m",
|
|
7924
|
+
"description": "Free-form message text (only inside the 24-hour reply window)",
|
|
7925
|
+
"exclusive": [
|
|
7926
|
+
"template",
|
|
7927
|
+
"language",
|
|
7928
|
+
"var"
|
|
7929
|
+
],
|
|
7930
|
+
"name": "text",
|
|
7931
|
+
"hasDynamicHelp": false,
|
|
7932
|
+
"multiple": false,
|
|
7933
|
+
"type": "option"
|
|
7934
|
+
},
|
|
7935
|
+
"template": {
|
|
7936
|
+
"description": "Approved template name (reaches contacts any time)",
|
|
7937
|
+
"name": "template",
|
|
7938
|
+
"hasDynamicHelp": false,
|
|
7939
|
+
"multiple": false,
|
|
7940
|
+
"type": "option"
|
|
7941
|
+
},
|
|
7942
|
+
"language": {
|
|
7943
|
+
"char": "l",
|
|
7944
|
+
"dependsOn": [
|
|
7945
|
+
"template"
|
|
7946
|
+
],
|
|
7947
|
+
"description": "Template language code (e.g. en_US); required with --template",
|
|
7948
|
+
"name": "language",
|
|
7949
|
+
"hasDynamicHelp": false,
|
|
7950
|
+
"multiple": false,
|
|
7951
|
+
"type": "option"
|
|
7952
|
+
},
|
|
7953
|
+
"var": {
|
|
7954
|
+
"dependsOn": [
|
|
7955
|
+
"template"
|
|
7956
|
+
],
|
|
7957
|
+
"description": "Template variable as n=value (e.g. --var 1=TinyFat). Repeatable.",
|
|
7958
|
+
"name": "var",
|
|
7959
|
+
"hasDynamicHelp": false,
|
|
7960
|
+
"multiple": true,
|
|
7961
|
+
"type": "option"
|
|
7962
|
+
},
|
|
7963
|
+
"idempotency-key": {
|
|
7964
|
+
"description": "Idempotency key (1-255 printable ASCII characters). Re-running with the same key within 24 hours returns the original result instead of sending again.",
|
|
7965
|
+
"name": "idempotency-key",
|
|
7966
|
+
"hasDynamicHelp": false,
|
|
7967
|
+
"multiple": false,
|
|
7968
|
+
"type": "option"
|
|
7969
|
+
}
|
|
7970
|
+
},
|
|
7971
|
+
"hasDynamicHelp": false,
|
|
7972
|
+
"hiddenAliases": [],
|
|
7973
|
+
"id": "whatsapp:send",
|
|
7974
|
+
"pluginAlias": "@sendly/cli",
|
|
7975
|
+
"pluginName": "@sendly/cli",
|
|
7976
|
+
"pluginType": "core",
|
|
7977
|
+
"strict": true,
|
|
7978
|
+
"isESM": true,
|
|
7979
|
+
"relativePath": [
|
|
7980
|
+
"dist",
|
|
7981
|
+
"commands",
|
|
7982
|
+
"whatsapp",
|
|
7983
|
+
"send.js"
|
|
7984
|
+
]
|
|
7985
|
+
},
|
|
7986
|
+
"whatsapp:senders": {
|
|
7987
|
+
"aliases": [],
|
|
7988
|
+
"args": {},
|
|
7989
|
+
"description": "List the numbers connected to WhatsApp on your workspace",
|
|
7990
|
+
"examples": [
|
|
7991
|
+
"<%= config.bin %> whatsapp senders",
|
|
7992
|
+
"<%= config.bin %> whatsapp senders --json"
|
|
7993
|
+
],
|
|
7994
|
+
"flags": {
|
|
7995
|
+
"json": {
|
|
7996
|
+
"description": "Output in JSON format",
|
|
7997
|
+
"name": "json",
|
|
7998
|
+
"allowNo": false,
|
|
7999
|
+
"type": "boolean"
|
|
8000
|
+
},
|
|
8001
|
+
"quiet": {
|
|
8002
|
+
"char": "q",
|
|
8003
|
+
"description": "Minimal output",
|
|
8004
|
+
"name": "quiet",
|
|
8005
|
+
"allowNo": false,
|
|
8006
|
+
"type": "boolean"
|
|
8007
|
+
}
|
|
8008
|
+
},
|
|
8009
|
+
"hasDynamicHelp": false,
|
|
8010
|
+
"hiddenAliases": [],
|
|
8011
|
+
"id": "whatsapp:senders",
|
|
8012
|
+
"pluginAlias": "@sendly/cli",
|
|
8013
|
+
"pluginName": "@sendly/cli",
|
|
8014
|
+
"pluginType": "core",
|
|
8015
|
+
"strict": true,
|
|
8016
|
+
"isESM": true,
|
|
8017
|
+
"relativePath": [
|
|
8018
|
+
"dist",
|
|
8019
|
+
"commands",
|
|
8020
|
+
"whatsapp",
|
|
8021
|
+
"senders.js"
|
|
8022
|
+
]
|
|
8023
|
+
},
|
|
8024
|
+
"whatsapp:status": {
|
|
8025
|
+
"aliases": [],
|
|
8026
|
+
"args": {
|
|
8027
|
+
"id": {
|
|
8028
|
+
"description": "Signup id (from `whatsapp connect`); omit for the latest",
|
|
8029
|
+
"name": "id",
|
|
8030
|
+
"required": false
|
|
8031
|
+
}
|
|
8032
|
+
},
|
|
8033
|
+
"description": "Show the status of a WhatsApp connection (defaults to your most recent one)",
|
|
8034
|
+
"examples": [
|
|
8035
|
+
"<%= config.bin %> whatsapp status",
|
|
8036
|
+
"<%= config.bin %> whatsapp status 3f6a1c9e-0000-0000-0000-000000000000",
|
|
8037
|
+
"<%= config.bin %> whatsapp status --json"
|
|
8038
|
+
],
|
|
8039
|
+
"flags": {
|
|
8040
|
+
"json": {
|
|
8041
|
+
"description": "Output in JSON format",
|
|
8042
|
+
"name": "json",
|
|
8043
|
+
"allowNo": false,
|
|
8044
|
+
"type": "boolean"
|
|
8045
|
+
},
|
|
8046
|
+
"quiet": {
|
|
8047
|
+
"char": "q",
|
|
8048
|
+
"description": "Minimal output",
|
|
8049
|
+
"name": "quiet",
|
|
8050
|
+
"allowNo": false,
|
|
8051
|
+
"type": "boolean"
|
|
8052
|
+
}
|
|
8053
|
+
},
|
|
8054
|
+
"hasDynamicHelp": false,
|
|
8055
|
+
"hiddenAliases": [],
|
|
8056
|
+
"id": "whatsapp:status",
|
|
8057
|
+
"pluginAlias": "@sendly/cli",
|
|
8058
|
+
"pluginName": "@sendly/cli",
|
|
8059
|
+
"pluginType": "core",
|
|
8060
|
+
"strict": true,
|
|
8061
|
+
"isESM": true,
|
|
8062
|
+
"relativePath": [
|
|
8063
|
+
"dist",
|
|
8064
|
+
"commands",
|
|
8065
|
+
"whatsapp",
|
|
8066
|
+
"status.js"
|
|
8067
|
+
]
|
|
8068
|
+
},
|
|
8069
|
+
"10dlc:assignments:list": {
|
|
8070
|
+
"aliases": [],
|
|
8071
|
+
"args": {},
|
|
8072
|
+
"description": "List number-to-campaign assignments",
|
|
8073
|
+
"examples": [
|
|
8074
|
+
"<%= config.bin %> 10dlc assignments list",
|
|
8075
|
+
"<%= config.bin %> 10dlc assignments list --json"
|
|
8076
|
+
],
|
|
8077
|
+
"flags": {
|
|
8078
|
+
"json": {
|
|
8079
|
+
"description": "Output in JSON format",
|
|
8080
|
+
"name": "json",
|
|
8081
|
+
"allowNo": false,
|
|
8082
|
+
"type": "boolean"
|
|
8083
|
+
},
|
|
8084
|
+
"quiet": {
|
|
8085
|
+
"char": "q",
|
|
8086
|
+
"description": "Minimal output",
|
|
8087
|
+
"name": "quiet",
|
|
8088
|
+
"allowNo": false,
|
|
8089
|
+
"type": "boolean"
|
|
8090
|
+
}
|
|
8091
|
+
},
|
|
8092
|
+
"hasDynamicHelp": false,
|
|
8093
|
+
"hiddenAliases": [],
|
|
8094
|
+
"id": "10dlc:assignments:list",
|
|
8095
|
+
"pluginAlias": "@sendly/cli",
|
|
8096
|
+
"pluginName": "@sendly/cli",
|
|
8097
|
+
"pluginType": "core",
|
|
8098
|
+
"strict": true,
|
|
8099
|
+
"isESM": true,
|
|
8100
|
+
"relativePath": [
|
|
8101
|
+
"dist",
|
|
8102
|
+
"commands",
|
|
8103
|
+
"10dlc",
|
|
8104
|
+
"assignments",
|
|
8105
|
+
"list.js"
|
|
8106
|
+
]
|
|
8107
|
+
},
|
|
8108
|
+
"10dlc:brands:create": {
|
|
8109
|
+
"aliases": [],
|
|
8110
|
+
"args": {},
|
|
8111
|
+
"description": "Register a brand for carrier review (step 1 of enabling local-number texting)",
|
|
8112
|
+
"examples": [
|
|
8113
|
+
"<%= config.bin %> 10dlc brands create --legal-name \"Acme Inc\" --ein \"12-3456789\" --website https://acme.com",
|
|
8114
|
+
"<%= config.bin %> 10dlc brands create --legal-name \"Jane Doe\" --entity-type SOLE_PROPRIETOR --email jane@example.com"
|
|
8115
|
+
],
|
|
8116
|
+
"flags": {
|
|
8117
|
+
"json": {
|
|
8118
|
+
"description": "Output in JSON format",
|
|
8119
|
+
"name": "json",
|
|
8120
|
+
"allowNo": false,
|
|
8121
|
+
"type": "boolean"
|
|
8122
|
+
},
|
|
8123
|
+
"quiet": {
|
|
8124
|
+
"char": "q",
|
|
8125
|
+
"description": "Minimal output",
|
|
8126
|
+
"name": "quiet",
|
|
8127
|
+
"allowNo": false,
|
|
8128
|
+
"type": "boolean"
|
|
8129
|
+
},
|
|
8130
|
+
"legal-name": {
|
|
8131
|
+
"description": "Legal business name",
|
|
8132
|
+
"name": "legal-name",
|
|
8133
|
+
"required": true,
|
|
8134
|
+
"hasDynamicHelp": false,
|
|
8135
|
+
"multiple": false,
|
|
8136
|
+
"type": "option"
|
|
8137
|
+
},
|
|
8138
|
+
"dba": {
|
|
8139
|
+
"description": "DBA / trading name",
|
|
8140
|
+
"name": "dba",
|
|
8141
|
+
"hasDynamicHelp": false,
|
|
8142
|
+
"multiple": false,
|
|
8143
|
+
"type": "option"
|
|
8144
|
+
},
|
|
8145
|
+
"ein": {
|
|
8146
|
+
"description": "EIN / tax ID",
|
|
7529
8147
|
"name": "ein",
|
|
7530
8148
|
"hasDynamicHelp": false,
|
|
7531
8149
|
"multiple": false,
|
|
@@ -9027,7 +9645,7 @@
|
|
|
9027
9645
|
"type": "option"
|
|
9028
9646
|
},
|
|
9029
9647
|
"use-case": {
|
|
9030
|
-
"description": "Use case (
|
|
9648
|
+
"description": "Use case (carrier use-case value)",
|
|
9031
9649
|
"name": "use-case",
|
|
9032
9650
|
"hasDynamicHelp": false,
|
|
9033
9651
|
"multiple": false,
|
|
@@ -9285,7 +9903,7 @@
|
|
|
9285
9903
|
"type": "option"
|
|
9286
9904
|
},
|
|
9287
9905
|
"use-case": {
|
|
9288
|
-
"description": "Use case (
|
|
9906
|
+
"description": "Use case (carrier use-case value)",
|
|
9289
9907
|
"name": "use-case",
|
|
9290
9908
|
"hasDynamicHelp": false,
|
|
9291
9909
|
"multiple": false,
|
|
@@ -9484,17 +10102,1479 @@
|
|
|
9484
10102
|
"allowNo": false,
|
|
9485
10103
|
"type": "boolean"
|
|
9486
10104
|
},
|
|
9487
|
-
"url": {
|
|
9488
|
-
"description": "Webhook endpoint URL",
|
|
9489
|
-
"name": "url",
|
|
9490
|
-
"required": true,
|
|
10105
|
+
"url": {
|
|
10106
|
+
"description": "Webhook endpoint URL",
|
|
10107
|
+
"name": "url",
|
|
10108
|
+
"required": true,
|
|
10109
|
+
"hasDynamicHelp": false,
|
|
10110
|
+
"multiple": false,
|
|
10111
|
+
"type": "option"
|
|
10112
|
+
},
|
|
10113
|
+
"events": {
|
|
10114
|
+
"description": "Comma-separated list of event types to subscribe to",
|
|
10115
|
+
"name": "events",
|
|
10116
|
+
"hasDynamicHelp": false,
|
|
10117
|
+
"multiple": false,
|
|
10118
|
+
"type": "option"
|
|
10119
|
+
}
|
|
10120
|
+
},
|
|
10121
|
+
"hasDynamicHelp": false,
|
|
10122
|
+
"hiddenAliases": [],
|
|
10123
|
+
"id": "enterprise:webhooks:set",
|
|
10124
|
+
"pluginAlias": "@sendly/cli",
|
|
10125
|
+
"pluginName": "@sendly/cli",
|
|
10126
|
+
"pluginType": "core",
|
|
10127
|
+
"strict": true,
|
|
10128
|
+
"isESM": true,
|
|
10129
|
+
"relativePath": [
|
|
10130
|
+
"dist",
|
|
10131
|
+
"commands",
|
|
10132
|
+
"enterprise",
|
|
10133
|
+
"webhooks",
|
|
10134
|
+
"set.js"
|
|
10135
|
+
]
|
|
10136
|
+
},
|
|
10137
|
+
"enterprise:webhooks:test": {
|
|
10138
|
+
"aliases": [],
|
|
10139
|
+
"args": {},
|
|
10140
|
+
"description": "Send a test event to the enterprise webhook",
|
|
10141
|
+
"examples": [
|
|
10142
|
+
"<%= config.bin %> enterprise webhooks test",
|
|
10143
|
+
"<%= config.bin %> enterprise webhooks test --json"
|
|
10144
|
+
],
|
|
10145
|
+
"flags": {
|
|
10146
|
+
"json": {
|
|
10147
|
+
"description": "Output in JSON format",
|
|
10148
|
+
"name": "json",
|
|
10149
|
+
"allowNo": false,
|
|
10150
|
+
"type": "boolean"
|
|
10151
|
+
},
|
|
10152
|
+
"quiet": {
|
|
10153
|
+
"char": "q",
|
|
10154
|
+
"description": "Minimal output",
|
|
10155
|
+
"name": "quiet",
|
|
10156
|
+
"allowNo": false,
|
|
10157
|
+
"type": "boolean"
|
|
10158
|
+
}
|
|
10159
|
+
},
|
|
10160
|
+
"hasDynamicHelp": false,
|
|
10161
|
+
"hiddenAliases": [],
|
|
10162
|
+
"id": "enterprise:webhooks:test",
|
|
10163
|
+
"pluginAlias": "@sendly/cli",
|
|
10164
|
+
"pluginName": "@sendly/cli",
|
|
10165
|
+
"pluginType": "core",
|
|
10166
|
+
"strict": true,
|
|
10167
|
+
"isESM": true,
|
|
10168
|
+
"relativePath": [
|
|
10169
|
+
"dist",
|
|
10170
|
+
"commands",
|
|
10171
|
+
"enterprise",
|
|
10172
|
+
"webhooks",
|
|
10173
|
+
"test.js"
|
|
10174
|
+
]
|
|
10175
|
+
},
|
|
10176
|
+
"enterprise:workspaces:create": {
|
|
10177
|
+
"aliases": [],
|
|
10178
|
+
"args": {},
|
|
10179
|
+
"description": "Create a new enterprise workspace",
|
|
10180
|
+
"examples": [
|
|
10181
|
+
"<%= config.bin %> enterprise workspaces create --name \"Acme Corp\"",
|
|
10182
|
+
"<%= config.bin %> enterprise workspaces create --name \"Acme Corp\" --json"
|
|
10183
|
+
],
|
|
10184
|
+
"flags": {
|
|
10185
|
+
"json": {
|
|
10186
|
+
"description": "Output in JSON format",
|
|
10187
|
+
"name": "json",
|
|
10188
|
+
"allowNo": false,
|
|
10189
|
+
"type": "boolean"
|
|
10190
|
+
},
|
|
10191
|
+
"quiet": {
|
|
10192
|
+
"char": "q",
|
|
10193
|
+
"description": "Minimal output",
|
|
10194
|
+
"name": "quiet",
|
|
10195
|
+
"allowNo": false,
|
|
10196
|
+
"type": "boolean"
|
|
10197
|
+
},
|
|
10198
|
+
"name": {
|
|
10199
|
+
"char": "n",
|
|
10200
|
+
"description": "Workspace name",
|
|
10201
|
+
"name": "name",
|
|
10202
|
+
"required": true,
|
|
10203
|
+
"hasDynamicHelp": false,
|
|
10204
|
+
"multiple": false,
|
|
10205
|
+
"type": "option"
|
|
10206
|
+
}
|
|
10207
|
+
},
|
|
10208
|
+
"hasDynamicHelp": false,
|
|
10209
|
+
"hiddenAliases": [],
|
|
10210
|
+
"id": "enterprise:workspaces:create",
|
|
10211
|
+
"pluginAlias": "@sendly/cli",
|
|
10212
|
+
"pluginName": "@sendly/cli",
|
|
10213
|
+
"pluginType": "core",
|
|
10214
|
+
"strict": true,
|
|
10215
|
+
"isESM": true,
|
|
10216
|
+
"relativePath": [
|
|
10217
|
+
"dist",
|
|
10218
|
+
"commands",
|
|
10219
|
+
"enterprise",
|
|
10220
|
+
"workspaces",
|
|
10221
|
+
"create.js"
|
|
10222
|
+
]
|
|
10223
|
+
},
|
|
10224
|
+
"enterprise:workspaces:delete": {
|
|
10225
|
+
"aliases": [],
|
|
10226
|
+
"args": {
|
|
10227
|
+
"workspaceId": {
|
|
10228
|
+
"description": "Workspace ID",
|
|
10229
|
+
"name": "workspaceId",
|
|
10230
|
+
"required": true
|
|
10231
|
+
}
|
|
10232
|
+
},
|
|
10233
|
+
"description": "Delete an enterprise workspace",
|
|
10234
|
+
"examples": [
|
|
10235
|
+
"<%= config.bin %> enterprise workspaces delete org_abc123",
|
|
10236
|
+
"<%= config.bin %> enterprise workspaces delete org_abc123 --yes"
|
|
10237
|
+
],
|
|
10238
|
+
"flags": {
|
|
10239
|
+
"json": {
|
|
10240
|
+
"description": "Output in JSON format",
|
|
10241
|
+
"name": "json",
|
|
10242
|
+
"allowNo": false,
|
|
10243
|
+
"type": "boolean"
|
|
10244
|
+
},
|
|
10245
|
+
"quiet": {
|
|
10246
|
+
"char": "q",
|
|
10247
|
+
"description": "Minimal output",
|
|
10248
|
+
"name": "quiet",
|
|
10249
|
+
"allowNo": false,
|
|
10250
|
+
"type": "boolean"
|
|
10251
|
+
},
|
|
10252
|
+
"yes": {
|
|
10253
|
+
"char": "y",
|
|
10254
|
+
"description": "Skip confirmation prompt",
|
|
10255
|
+
"name": "yes",
|
|
10256
|
+
"allowNo": false,
|
|
10257
|
+
"type": "boolean"
|
|
10258
|
+
}
|
|
10259
|
+
},
|
|
10260
|
+
"hasDynamicHelp": false,
|
|
10261
|
+
"hiddenAliases": [],
|
|
10262
|
+
"id": "enterprise:workspaces:delete",
|
|
10263
|
+
"pluginAlias": "@sendly/cli",
|
|
10264
|
+
"pluginName": "@sendly/cli",
|
|
10265
|
+
"pluginType": "core",
|
|
10266
|
+
"strict": true,
|
|
10267
|
+
"isESM": true,
|
|
10268
|
+
"relativePath": [
|
|
10269
|
+
"dist",
|
|
10270
|
+
"commands",
|
|
10271
|
+
"enterprise",
|
|
10272
|
+
"workspaces",
|
|
10273
|
+
"delete.js"
|
|
10274
|
+
]
|
|
10275
|
+
},
|
|
10276
|
+
"enterprise:workspaces:get": {
|
|
10277
|
+
"aliases": [],
|
|
10278
|
+
"args": {
|
|
10279
|
+
"workspaceId": {
|
|
10280
|
+
"description": "Workspace ID",
|
|
10281
|
+
"name": "workspaceId",
|
|
10282
|
+
"required": true
|
|
10283
|
+
}
|
|
10284
|
+
},
|
|
10285
|
+
"description": "Get details of an enterprise workspace",
|
|
10286
|
+
"examples": [
|
|
10287
|
+
"<%= config.bin %> enterprise workspaces get org_abc123",
|
|
10288
|
+
"<%= config.bin %> enterprise workspaces get org_abc123 --json"
|
|
10289
|
+
],
|
|
10290
|
+
"flags": {
|
|
10291
|
+
"json": {
|
|
10292
|
+
"description": "Output in JSON format",
|
|
10293
|
+
"name": "json",
|
|
10294
|
+
"allowNo": false,
|
|
10295
|
+
"type": "boolean"
|
|
10296
|
+
},
|
|
10297
|
+
"quiet": {
|
|
10298
|
+
"char": "q",
|
|
10299
|
+
"description": "Minimal output",
|
|
10300
|
+
"name": "quiet",
|
|
10301
|
+
"allowNo": false,
|
|
10302
|
+
"type": "boolean"
|
|
10303
|
+
}
|
|
10304
|
+
},
|
|
10305
|
+
"hasDynamicHelp": false,
|
|
10306
|
+
"hiddenAliases": [],
|
|
10307
|
+
"id": "enterprise:workspaces:get",
|
|
10308
|
+
"pluginAlias": "@sendly/cli",
|
|
10309
|
+
"pluginName": "@sendly/cli",
|
|
10310
|
+
"pluginType": "core",
|
|
10311
|
+
"strict": true,
|
|
10312
|
+
"isESM": true,
|
|
10313
|
+
"relativePath": [
|
|
10314
|
+
"dist",
|
|
10315
|
+
"commands",
|
|
10316
|
+
"enterprise",
|
|
10317
|
+
"workspaces",
|
|
10318
|
+
"get.js"
|
|
10319
|
+
]
|
|
10320
|
+
},
|
|
10321
|
+
"enterprise:workspaces:list": {
|
|
10322
|
+
"aliases": [],
|
|
10323
|
+
"args": {},
|
|
10324
|
+
"description": "List all enterprise workspaces",
|
|
10325
|
+
"examples": [
|
|
10326
|
+
"<%= config.bin %> enterprise workspaces list",
|
|
10327
|
+
"<%= config.bin %> enterprise workspaces list --json"
|
|
10328
|
+
],
|
|
10329
|
+
"flags": {
|
|
10330
|
+
"json": {
|
|
10331
|
+
"description": "Output in JSON format",
|
|
10332
|
+
"name": "json",
|
|
10333
|
+
"allowNo": false,
|
|
10334
|
+
"type": "boolean"
|
|
10335
|
+
},
|
|
10336
|
+
"quiet": {
|
|
10337
|
+
"char": "q",
|
|
10338
|
+
"description": "Minimal output",
|
|
10339
|
+
"name": "quiet",
|
|
10340
|
+
"allowNo": false,
|
|
10341
|
+
"type": "boolean"
|
|
10342
|
+
}
|
|
10343
|
+
},
|
|
10344
|
+
"hasDynamicHelp": false,
|
|
10345
|
+
"hiddenAliases": [],
|
|
10346
|
+
"id": "enterprise:workspaces:list",
|
|
10347
|
+
"pluginAlias": "@sendly/cli",
|
|
10348
|
+
"pluginName": "@sendly/cli",
|
|
10349
|
+
"pluginType": "core",
|
|
10350
|
+
"strict": true,
|
|
10351
|
+
"isESM": true,
|
|
10352
|
+
"relativePath": [
|
|
10353
|
+
"dist",
|
|
10354
|
+
"commands",
|
|
10355
|
+
"enterprise",
|
|
10356
|
+
"workspaces",
|
|
10357
|
+
"list.js"
|
|
10358
|
+
]
|
|
10359
|
+
},
|
|
10360
|
+
"enterprise:workspaces:resume": {
|
|
10361
|
+
"aliases": [],
|
|
10362
|
+
"args": {
|
|
10363
|
+
"workspaceId": {
|
|
10364
|
+
"description": "Workspace ID",
|
|
10365
|
+
"name": "workspaceId",
|
|
10366
|
+
"required": true
|
|
10367
|
+
}
|
|
10368
|
+
},
|
|
10369
|
+
"description": "Resume a suspended enterprise workspace",
|
|
10370
|
+
"examples": [
|
|
10371
|
+
"<%= config.bin %> enterprise workspaces resume org_abc123"
|
|
10372
|
+
],
|
|
10373
|
+
"flags": {
|
|
10374
|
+
"json": {
|
|
10375
|
+
"description": "Output in JSON format",
|
|
10376
|
+
"name": "json",
|
|
10377
|
+
"allowNo": false,
|
|
10378
|
+
"type": "boolean"
|
|
10379
|
+
},
|
|
10380
|
+
"quiet": {
|
|
10381
|
+
"char": "q",
|
|
10382
|
+
"description": "Minimal output",
|
|
10383
|
+
"name": "quiet",
|
|
10384
|
+
"allowNo": false,
|
|
10385
|
+
"type": "boolean"
|
|
10386
|
+
}
|
|
10387
|
+
},
|
|
10388
|
+
"hasDynamicHelp": false,
|
|
10389
|
+
"hiddenAliases": [],
|
|
10390
|
+
"id": "enterprise:workspaces:resume",
|
|
10391
|
+
"pluginAlias": "@sendly/cli",
|
|
10392
|
+
"pluginName": "@sendly/cli",
|
|
10393
|
+
"pluginType": "core",
|
|
10394
|
+
"strict": true,
|
|
10395
|
+
"isESM": true,
|
|
10396
|
+
"relativePath": [
|
|
10397
|
+
"dist",
|
|
10398
|
+
"commands",
|
|
10399
|
+
"enterprise",
|
|
10400
|
+
"workspaces",
|
|
10401
|
+
"resume.js"
|
|
10402
|
+
]
|
|
10403
|
+
},
|
|
10404
|
+
"enterprise:workspaces:suspend": {
|
|
10405
|
+
"aliases": [],
|
|
10406
|
+
"args": {
|
|
10407
|
+
"workspaceId": {
|
|
10408
|
+
"description": "Workspace ID",
|
|
10409
|
+
"name": "workspaceId",
|
|
10410
|
+
"required": true
|
|
10411
|
+
}
|
|
10412
|
+
},
|
|
10413
|
+
"description": "Suspend an enterprise workspace",
|
|
10414
|
+
"examples": [
|
|
10415
|
+
"<%= config.bin %> enterprise workspaces suspend org_abc123",
|
|
10416
|
+
"<%= config.bin %> enterprise workspaces suspend org_abc123 --reason \"Policy violation\""
|
|
10417
|
+
],
|
|
10418
|
+
"flags": {
|
|
10419
|
+
"json": {
|
|
10420
|
+
"description": "Output in JSON format",
|
|
10421
|
+
"name": "json",
|
|
10422
|
+
"allowNo": false,
|
|
10423
|
+
"type": "boolean"
|
|
10424
|
+
},
|
|
10425
|
+
"quiet": {
|
|
10426
|
+
"char": "q",
|
|
10427
|
+
"description": "Minimal output",
|
|
10428
|
+
"name": "quiet",
|
|
10429
|
+
"allowNo": false,
|
|
10430
|
+
"type": "boolean"
|
|
10431
|
+
},
|
|
10432
|
+
"reason": {
|
|
10433
|
+
"char": "r",
|
|
10434
|
+
"description": "Reason for suspension",
|
|
10435
|
+
"name": "reason",
|
|
10436
|
+
"hasDynamicHelp": false,
|
|
10437
|
+
"multiple": false,
|
|
10438
|
+
"type": "option"
|
|
10439
|
+
},
|
|
10440
|
+
"yes": {
|
|
10441
|
+
"char": "y",
|
|
10442
|
+
"description": "Skip confirmation prompt",
|
|
10443
|
+
"name": "yes",
|
|
10444
|
+
"allowNo": false,
|
|
10445
|
+
"type": "boolean"
|
|
10446
|
+
}
|
|
10447
|
+
},
|
|
10448
|
+
"hasDynamicHelp": false,
|
|
10449
|
+
"hiddenAliases": [],
|
|
10450
|
+
"id": "enterprise:workspaces:suspend",
|
|
10451
|
+
"pluginAlias": "@sendly/cli",
|
|
10452
|
+
"pluginName": "@sendly/cli",
|
|
10453
|
+
"pluginType": "core",
|
|
10454
|
+
"strict": true,
|
|
10455
|
+
"isESM": true,
|
|
10456
|
+
"relativePath": [
|
|
10457
|
+
"dist",
|
|
10458
|
+
"commands",
|
|
10459
|
+
"enterprise",
|
|
10460
|
+
"workspaces",
|
|
10461
|
+
"suspend.js"
|
|
10462
|
+
]
|
|
10463
|
+
},
|
|
10464
|
+
"rcs:agents:create": {
|
|
10465
|
+
"aliases": [],
|
|
10466
|
+
"args": {},
|
|
10467
|
+
"description": "Draft the RCS agent for a brand (step 2; logo, hero, and call-to-action media must already be public https:// URLs)",
|
|
10468
|
+
"examples": [
|
|
10469
|
+
"<%= config.bin %> rcs agents create --brand 3f6a1c9e-0000-0000-0000-000000000000 --display-name \"Acme\" --use-case TRANSACTIONAL --description \"Order updates from Acme\" --logo-url https://acme.com/logo.png --hero-url https://acme.com/hero.png --brand-color \"#1E90FF\" --privacy-policy-url https://acme.com/privacy --terms-url https://acme.com/terms --website https://acme.com --website-label \"Acme\"",
|
|
10470
|
+
"<%= config.bin %> rcs agents create --brand 3f6a1c9e-0000-0000-0000-000000000000 --from-json agent.json",
|
|
10471
|
+
"<%= config.bin %> rcs agents create --from-json agent.json --json"
|
|
10472
|
+
],
|
|
10473
|
+
"flags": {
|
|
10474
|
+
"json": {
|
|
10475
|
+
"description": "Output in JSON format",
|
|
10476
|
+
"name": "json",
|
|
10477
|
+
"allowNo": false,
|
|
10478
|
+
"type": "boolean"
|
|
10479
|
+
},
|
|
10480
|
+
"quiet": {
|
|
10481
|
+
"char": "q",
|
|
10482
|
+
"description": "Minimal output",
|
|
10483
|
+
"name": "quiet",
|
|
10484
|
+
"allowNo": false,
|
|
10485
|
+
"type": "boolean"
|
|
10486
|
+
},
|
|
10487
|
+
"brand": {
|
|
10488
|
+
"char": "b",
|
|
10489
|
+
"description": "Brand ID the agent belongs to (see `rcs registration`)",
|
|
10490
|
+
"name": "brand",
|
|
10491
|
+
"hasDynamicHelp": false,
|
|
10492
|
+
"multiple": false,
|
|
10493
|
+
"type": "option"
|
|
10494
|
+
},
|
|
10495
|
+
"display-name": {
|
|
10496
|
+
"description": "Agent name shown in the conversation header (max 40 characters)",
|
|
10497
|
+
"name": "display-name",
|
|
10498
|
+
"hasDynamicHelp": false,
|
|
10499
|
+
"multiple": false,
|
|
10500
|
+
"type": "option"
|
|
10501
|
+
},
|
|
10502
|
+
"use-case": {
|
|
10503
|
+
"description": "What the agent sends",
|
|
10504
|
+
"name": "use-case",
|
|
10505
|
+
"hasDynamicHelp": false,
|
|
10506
|
+
"multiple": false,
|
|
10507
|
+
"options": [
|
|
10508
|
+
"MULTI_USE",
|
|
10509
|
+
"TRANSACTIONAL",
|
|
10510
|
+
"PROMOTIONAL",
|
|
10511
|
+
"OTP"
|
|
10512
|
+
],
|
|
10513
|
+
"type": "option"
|
|
10514
|
+
},
|
|
10515
|
+
"description": {
|
|
10516
|
+
"description": "Short description shown on the agent's info page (max 100 characters)",
|
|
10517
|
+
"name": "description",
|
|
10518
|
+
"hasDynamicHelp": false,
|
|
10519
|
+
"multiple": false,
|
|
10520
|
+
"type": "option"
|
|
10521
|
+
},
|
|
10522
|
+
"logo-url": {
|
|
10523
|
+
"description": "Public https:// URL of the agent logo",
|
|
10524
|
+
"name": "logo-url",
|
|
10525
|
+
"hasDynamicHelp": false,
|
|
10526
|
+
"multiple": false,
|
|
10527
|
+
"type": "option"
|
|
10528
|
+
},
|
|
10529
|
+
"hero-url": {
|
|
10530
|
+
"description": "Public https:// URL of the agent hero image",
|
|
10531
|
+
"name": "hero-url",
|
|
10532
|
+
"hasDynamicHelp": false,
|
|
10533
|
+
"multiple": false,
|
|
10534
|
+
"type": "option"
|
|
10535
|
+
},
|
|
10536
|
+
"brand-color": {
|
|
10537
|
+
"description": "Hex brand color, like #1E90FF",
|
|
10538
|
+
"name": "brand-color",
|
|
10539
|
+
"hasDynamicHelp": false,
|
|
10540
|
+
"multiple": false,
|
|
10541
|
+
"type": "option"
|
|
10542
|
+
},
|
|
10543
|
+
"privacy-policy-url": {
|
|
10544
|
+
"description": "Privacy policy URL (https)",
|
|
10545
|
+
"name": "privacy-policy-url",
|
|
10546
|
+
"hasDynamicHelp": false,
|
|
10547
|
+
"multiple": false,
|
|
10548
|
+
"type": "option"
|
|
10549
|
+
},
|
|
10550
|
+
"terms-url": {
|
|
10551
|
+
"description": "Terms and conditions URL (https)",
|
|
10552
|
+
"name": "terms-url",
|
|
10553
|
+
"hasDynamicHelp": false,
|
|
10554
|
+
"multiple": false,
|
|
10555
|
+
"type": "option"
|
|
10556
|
+
},
|
|
10557
|
+
"phone": {
|
|
10558
|
+
"description": "Contact phone number shown on the agent (E.164)",
|
|
10559
|
+
"name": "phone",
|
|
10560
|
+
"hasDynamicHelp": false,
|
|
10561
|
+
"multiple": false,
|
|
10562
|
+
"type": "option"
|
|
10563
|
+
},
|
|
10564
|
+
"phone-label": {
|
|
10565
|
+
"description": "Label for the contact phone",
|
|
10566
|
+
"name": "phone-label",
|
|
10567
|
+
"hasDynamicHelp": false,
|
|
10568
|
+
"multiple": false,
|
|
10569
|
+
"type": "option"
|
|
10570
|
+
},
|
|
10571
|
+
"website": {
|
|
10572
|
+
"description": "Contact website shown on the agent (https)",
|
|
10573
|
+
"name": "website",
|
|
10574
|
+
"hasDynamicHelp": false,
|
|
10575
|
+
"multiple": false,
|
|
10576
|
+
"type": "option"
|
|
10577
|
+
},
|
|
10578
|
+
"website-label": {
|
|
10579
|
+
"description": "Label for the contact website",
|
|
10580
|
+
"name": "website-label",
|
|
10581
|
+
"hasDynamicHelp": false,
|
|
10582
|
+
"multiple": false,
|
|
10583
|
+
"type": "option"
|
|
10584
|
+
},
|
|
10585
|
+
"email": {
|
|
10586
|
+
"description": "Contact email shown on the agent",
|
|
10587
|
+
"name": "email",
|
|
10588
|
+
"hasDynamicHelp": false,
|
|
10589
|
+
"multiple": false,
|
|
10590
|
+
"type": "option"
|
|
10591
|
+
},
|
|
10592
|
+
"email-label": {
|
|
10593
|
+
"description": "Label for the contact email",
|
|
10594
|
+
"name": "email-label",
|
|
10595
|
+
"hasDynamicHelp": false,
|
|
10596
|
+
"multiple": false,
|
|
10597
|
+
"type": "option"
|
|
10598
|
+
},
|
|
10599
|
+
"company-overview": {
|
|
10600
|
+
"description": "What your company does (launch requirement)",
|
|
10601
|
+
"name": "company-overview",
|
|
10602
|
+
"hasDynamicHelp": false,
|
|
10603
|
+
"multiple": false,
|
|
10604
|
+
"type": "option"
|
|
10605
|
+
},
|
|
10606
|
+
"agent-overview": {
|
|
10607
|
+
"description": "What this agent will send and why (launch requirement)",
|
|
10608
|
+
"name": "agent-overview",
|
|
10609
|
+
"hasDynamicHelp": false,
|
|
10610
|
+
"multiple": false,
|
|
10611
|
+
"type": "option"
|
|
10612
|
+
},
|
|
10613
|
+
"campaign-info": {
|
|
10614
|
+
"description": "Anything else reviewers should know about the campaign",
|
|
10615
|
+
"name": "campaign-info",
|
|
10616
|
+
"hasDynamicHelp": false,
|
|
10617
|
+
"multiple": false,
|
|
10618
|
+
"type": "option"
|
|
10619
|
+
},
|
|
10620
|
+
"interaction": {
|
|
10621
|
+
"description": "Interaction type, optionally with a description as \"TYPE=description\" (repeatable; replaces the list). One of: TRANSACTIONAL_UPDATES, CUSTOMER_SUPPORT, ACCOUNT_ALERTS, LOYALTY_OR_REWARD, MARKETING_OR_PROMOTIONAL, TWO_WAY_CONVERSATION, OTHER",
|
|
10622
|
+
"name": "interaction",
|
|
10623
|
+
"hasDynamicHelp": false,
|
|
10624
|
+
"multiple": true,
|
|
10625
|
+
"type": "option"
|
|
10626
|
+
},
|
|
10627
|
+
"message-example": {
|
|
10628
|
+
"description": "Example message a subscriber would receive (repeatable, at least 3 to launch; replaces the list)",
|
|
10629
|
+
"name": "message-example",
|
|
10630
|
+
"hasDynamicHelp": false,
|
|
10631
|
+
"multiple": true,
|
|
10632
|
+
"type": "option"
|
|
10633
|
+
},
|
|
10634
|
+
"opt-in-method": {
|
|
10635
|
+
"description": "How subscribers opt in, optionally with a description as \"TYPE=description\" (repeatable; replaces the list). One of: WEBSITE, SMS, MOBILE_APP, QR_CODE, SALE_POINT, OTHER",
|
|
10636
|
+
"name": "opt-in-method",
|
|
10637
|
+
"hasDynamicHelp": false,
|
|
10638
|
+
"multiple": true,
|
|
10639
|
+
"type": "option"
|
|
10640
|
+
},
|
|
10641
|
+
"call-to-action": {
|
|
10642
|
+
"description": "The opt-in call to action subscribers see",
|
|
10643
|
+
"name": "call-to-action",
|
|
10644
|
+
"hasDynamicHelp": false,
|
|
10645
|
+
"multiple": false,
|
|
10646
|
+
"type": "option"
|
|
10647
|
+
},
|
|
10648
|
+
"call-to-action-url": {
|
|
10649
|
+
"description": "Where the call to action lives (https; required for WEBSITE opt-in)",
|
|
10650
|
+
"name": "call-to-action-url",
|
|
10651
|
+
"hasDynamicHelp": false,
|
|
10652
|
+
"multiple": false,
|
|
10653
|
+
"type": "option"
|
|
10654
|
+
},
|
|
10655
|
+
"call-to-action-media-url": {
|
|
10656
|
+
"description": "Public https:// URL of a screenshot of the opt-in (required for WEBSITE and MOBILE_APP opt-in)",
|
|
10657
|
+
"name": "call-to-action-media-url",
|
|
10658
|
+
"hasDynamicHelp": false,
|
|
10659
|
+
"multiple": false,
|
|
10660
|
+
"type": "option"
|
|
10661
|
+
},
|
|
10662
|
+
"double-opt-in": {
|
|
10663
|
+
"description": "Subscribers confirm their opt-in (disable with --no-double-opt-in)",
|
|
10664
|
+
"name": "double-opt-in",
|
|
10665
|
+
"allowNo": true,
|
|
10666
|
+
"type": "boolean"
|
|
10667
|
+
},
|
|
10668
|
+
"double-opt-in-message": {
|
|
10669
|
+
"description": "Confirmation message sent when double opt-in is enabled",
|
|
10670
|
+
"name": "double-opt-in-message",
|
|
10671
|
+
"hasDynamicHelp": false,
|
|
10672
|
+
"multiple": false,
|
|
10673
|
+
"type": "option"
|
|
10674
|
+
},
|
|
10675
|
+
"opt-in-message": {
|
|
10676
|
+
"description": "Welcome message sent after opt-in",
|
|
10677
|
+
"name": "opt-in-message",
|
|
10678
|
+
"hasDynamicHelp": false,
|
|
10679
|
+
"multiple": false,
|
|
10680
|
+
"type": "option"
|
|
10681
|
+
},
|
|
10682
|
+
"help-response": {
|
|
10683
|
+
"description": "Reply sent to HELP",
|
|
10684
|
+
"name": "help-response",
|
|
10685
|
+
"hasDynamicHelp": false,
|
|
10686
|
+
"multiple": false,
|
|
10687
|
+
"type": "option"
|
|
10688
|
+
},
|
|
10689
|
+
"opt-out-response": {
|
|
10690
|
+
"description": "Reply sent to STOP",
|
|
10691
|
+
"name": "opt-out-response",
|
|
10692
|
+
"hasDynamicHelp": false,
|
|
10693
|
+
"multiple": false,
|
|
10694
|
+
"type": "option"
|
|
10695
|
+
},
|
|
10696
|
+
"test-url": {
|
|
10697
|
+
"description": "Public https:// URL of a screen recording or screenshots of the agent on a test device",
|
|
10698
|
+
"name": "test-url",
|
|
10699
|
+
"hasDynamicHelp": false,
|
|
10700
|
+
"multiple": false,
|
|
10701
|
+
"type": "option"
|
|
10702
|
+
},
|
|
10703
|
+
"test-message-id": {
|
|
10704
|
+
"description": "Id of a message sent to a test device",
|
|
10705
|
+
"name": "test-message-id",
|
|
10706
|
+
"hasDynamicHelp": false,
|
|
10707
|
+
"multiple": false,
|
|
10708
|
+
"type": "option"
|
|
10709
|
+
},
|
|
10710
|
+
"testing-info": {
|
|
10711
|
+
"description": "Anything else reviewers should know about testing",
|
|
10712
|
+
"name": "testing-info",
|
|
10713
|
+
"hasDynamicHelp": false,
|
|
10714
|
+
"multiple": false,
|
|
10715
|
+
"type": "option"
|
|
10716
|
+
},
|
|
10717
|
+
"from-json": {
|
|
10718
|
+
"description": "Path to a JSON file with the agent ({ brandId, basics, campaign, testing }, or the output of `rcs agents get --json`); flags override fields in the file",
|
|
10719
|
+
"name": "from-json",
|
|
10720
|
+
"hasDynamicHelp": false,
|
|
10721
|
+
"multiple": false,
|
|
10722
|
+
"type": "option"
|
|
10723
|
+
},
|
|
10724
|
+
"idempotency-key": {
|
|
10725
|
+
"description": "Idempotency key (1-255 printable ASCII characters). Re-running with the same key within 24 hours returns the original result instead of saving again.",
|
|
10726
|
+
"name": "idempotency-key",
|
|
10727
|
+
"hasDynamicHelp": false,
|
|
10728
|
+
"multiple": false,
|
|
10729
|
+
"type": "option"
|
|
10730
|
+
}
|
|
10731
|
+
},
|
|
10732
|
+
"hasDynamicHelp": false,
|
|
10733
|
+
"hiddenAliases": [],
|
|
10734
|
+
"id": "rcs:agents:create",
|
|
10735
|
+
"pluginAlias": "@sendly/cli",
|
|
10736
|
+
"pluginName": "@sendly/cli",
|
|
10737
|
+
"pluginType": "core",
|
|
10738
|
+
"strict": true,
|
|
10739
|
+
"isESM": true,
|
|
10740
|
+
"relativePath": [
|
|
10741
|
+
"dist",
|
|
10742
|
+
"commands",
|
|
10743
|
+
"rcs",
|
|
10744
|
+
"agents",
|
|
10745
|
+
"create.js"
|
|
10746
|
+
]
|
|
10747
|
+
},
|
|
10748
|
+
"rcs:agents:get": {
|
|
10749
|
+
"aliases": [],
|
|
10750
|
+
"args": {
|
|
10751
|
+
"id": {
|
|
10752
|
+
"description": "Agent ID",
|
|
10753
|
+
"name": "id",
|
|
10754
|
+
"required": true
|
|
10755
|
+
}
|
|
10756
|
+
},
|
|
10757
|
+
"description": "Get an RCS agent with its test devices and the latest review stage (run again to refresh)",
|
|
10758
|
+
"examples": [
|
|
10759
|
+
"<%= config.bin %> rcs agents get 3f6a1c9e-0000-0000-0000-000000000000",
|
|
10760
|
+
"<%= config.bin %> rcs agents get 3f6a1c9e-0000-0000-0000-000000000000 --json"
|
|
10761
|
+
],
|
|
10762
|
+
"flags": {
|
|
10763
|
+
"json": {
|
|
10764
|
+
"description": "Output in JSON format",
|
|
10765
|
+
"name": "json",
|
|
10766
|
+
"allowNo": false,
|
|
10767
|
+
"type": "boolean"
|
|
10768
|
+
},
|
|
10769
|
+
"quiet": {
|
|
10770
|
+
"char": "q",
|
|
10771
|
+
"description": "Minimal output",
|
|
10772
|
+
"name": "quiet",
|
|
10773
|
+
"allowNo": false,
|
|
10774
|
+
"type": "boolean"
|
|
10775
|
+
}
|
|
10776
|
+
},
|
|
10777
|
+
"hasDynamicHelp": false,
|
|
10778
|
+
"hiddenAliases": [],
|
|
10779
|
+
"id": "rcs:agents:get",
|
|
10780
|
+
"pluginAlias": "@sendly/cli",
|
|
10781
|
+
"pluginName": "@sendly/cli",
|
|
10782
|
+
"pluginType": "core",
|
|
10783
|
+
"strict": true,
|
|
10784
|
+
"isESM": true,
|
|
10785
|
+
"relativePath": [
|
|
10786
|
+
"dist",
|
|
10787
|
+
"commands",
|
|
10788
|
+
"rcs",
|
|
10789
|
+
"agents",
|
|
10790
|
+
"get.js"
|
|
10791
|
+
]
|
|
10792
|
+
},
|
|
10793
|
+
"rcs:agents:request-launch": {
|
|
10794
|
+
"aliases": [],
|
|
10795
|
+
"args": {
|
|
10796
|
+
"id": {
|
|
10797
|
+
"description": "Agent ID",
|
|
10798
|
+
"name": "id",
|
|
10799
|
+
"required": true
|
|
10800
|
+
}
|
|
10801
|
+
},
|
|
10802
|
+
"description": "Request launch once testing is done — Sendly reviews the campaign details, then sends the launch to the carrier network",
|
|
10803
|
+
"examples": [
|
|
10804
|
+
"<%= config.bin %> rcs agents request-launch 3f6a1c9e-0000-0000-0000-000000000000 --test-url https://acme.com/rcs-test-recording.mp4",
|
|
10805
|
+
"<%= config.bin %> rcs agents request-launch 3f6a1c9e-0000-0000-0000-000000000000 --test-url https://acme.com/rcs-test.png --testing-info \"Tested on two Pixel devices\" --json"
|
|
10806
|
+
],
|
|
10807
|
+
"flags": {
|
|
10808
|
+
"json": {
|
|
10809
|
+
"description": "Output in JSON format",
|
|
10810
|
+
"name": "json",
|
|
10811
|
+
"allowNo": false,
|
|
10812
|
+
"type": "boolean"
|
|
10813
|
+
},
|
|
10814
|
+
"quiet": {
|
|
10815
|
+
"char": "q",
|
|
10816
|
+
"description": "Minimal output",
|
|
10817
|
+
"name": "quiet",
|
|
10818
|
+
"allowNo": false,
|
|
10819
|
+
"type": "boolean"
|
|
10820
|
+
},
|
|
10821
|
+
"test-url": {
|
|
10822
|
+
"description": "Public https:// URL of a screen recording or screenshots of the agent on a test device (stored on the agent before the request)",
|
|
10823
|
+
"name": "test-url",
|
|
10824
|
+
"hasDynamicHelp": false,
|
|
10825
|
+
"multiple": false,
|
|
10826
|
+
"type": "option"
|
|
10827
|
+
},
|
|
10828
|
+
"testing-info": {
|
|
10829
|
+
"description": "Anything else reviewers should know about testing",
|
|
10830
|
+
"name": "testing-info",
|
|
10831
|
+
"hasDynamicHelp": false,
|
|
10832
|
+
"multiple": false,
|
|
10833
|
+
"type": "option"
|
|
10834
|
+
},
|
|
10835
|
+
"idempotency-key": {
|
|
10836
|
+
"description": "Idempotency key (1-255 printable ASCII characters). Re-running with the same key within 24 hours returns the original result instead of saving again.",
|
|
10837
|
+
"name": "idempotency-key",
|
|
10838
|
+
"hasDynamicHelp": false,
|
|
10839
|
+
"multiple": false,
|
|
10840
|
+
"type": "option"
|
|
10841
|
+
}
|
|
10842
|
+
},
|
|
10843
|
+
"hasDynamicHelp": false,
|
|
10844
|
+
"hiddenAliases": [],
|
|
10845
|
+
"id": "rcs:agents:request-launch",
|
|
10846
|
+
"pluginAlias": "@sendly/cli",
|
|
10847
|
+
"pluginName": "@sendly/cli",
|
|
10848
|
+
"pluginType": "core",
|
|
10849
|
+
"strict": true,
|
|
10850
|
+
"isESM": true,
|
|
10851
|
+
"relativePath": [
|
|
10852
|
+
"dist",
|
|
10853
|
+
"commands",
|
|
10854
|
+
"rcs",
|
|
10855
|
+
"agents",
|
|
10856
|
+
"request-launch.js"
|
|
10857
|
+
]
|
|
10858
|
+
},
|
|
10859
|
+
"rcs:agents:submit": {
|
|
10860
|
+
"aliases": [],
|
|
10861
|
+
"args": {
|
|
10862
|
+
"id": {
|
|
10863
|
+
"description": "Agent ID",
|
|
10864
|
+
"name": "id",
|
|
10865
|
+
"required": true
|
|
10866
|
+
}
|
|
10867
|
+
},
|
|
10868
|
+
"description": "Submit the brand and agent for review (Sendly checks them, then sends them on to the carrier network)",
|
|
10869
|
+
"examples": [
|
|
10870
|
+
"<%= config.bin %> rcs agents submit 3f6a1c9e-0000-0000-0000-000000000000",
|
|
10871
|
+
"<%= config.bin %> rcs agents submit 3f6a1c9e-0000-0000-0000-000000000000 --idempotency-key acme-rcs-submit-1 --json"
|
|
10872
|
+
],
|
|
10873
|
+
"flags": {
|
|
10874
|
+
"json": {
|
|
10875
|
+
"description": "Output in JSON format",
|
|
10876
|
+
"name": "json",
|
|
10877
|
+
"allowNo": false,
|
|
10878
|
+
"type": "boolean"
|
|
10879
|
+
},
|
|
10880
|
+
"quiet": {
|
|
10881
|
+
"char": "q",
|
|
10882
|
+
"description": "Minimal output",
|
|
10883
|
+
"name": "quiet",
|
|
10884
|
+
"allowNo": false,
|
|
10885
|
+
"type": "boolean"
|
|
10886
|
+
},
|
|
10887
|
+
"idempotency-key": {
|
|
10888
|
+
"description": "Idempotency key (1-255 printable ASCII characters). Re-running with the same key within 24 hours returns the original result instead of saving again.",
|
|
10889
|
+
"name": "idempotency-key",
|
|
10890
|
+
"hasDynamicHelp": false,
|
|
10891
|
+
"multiple": false,
|
|
10892
|
+
"type": "option"
|
|
10893
|
+
}
|
|
10894
|
+
},
|
|
10895
|
+
"hasDynamicHelp": false,
|
|
10896
|
+
"hiddenAliases": [],
|
|
10897
|
+
"id": "rcs:agents:submit",
|
|
10898
|
+
"pluginAlias": "@sendly/cli",
|
|
10899
|
+
"pluginName": "@sendly/cli",
|
|
10900
|
+
"pluginType": "core",
|
|
10901
|
+
"strict": true,
|
|
10902
|
+
"isESM": true,
|
|
10903
|
+
"relativePath": [
|
|
10904
|
+
"dist",
|
|
10905
|
+
"commands",
|
|
10906
|
+
"rcs",
|
|
10907
|
+
"agents",
|
|
10908
|
+
"submit.js"
|
|
10909
|
+
]
|
|
10910
|
+
},
|
|
10911
|
+
"rcs:agents:update": {
|
|
10912
|
+
"aliases": [],
|
|
10913
|
+
"args": {
|
|
10914
|
+
"id": {
|
|
10915
|
+
"description": "Agent ID",
|
|
10916
|
+
"name": "id",
|
|
10917
|
+
"required": true
|
|
10918
|
+
}
|
|
10919
|
+
},
|
|
10920
|
+
"description": "Update a drafted RCS agent — basics, campaign details for launch, or testing notes (only the flags you pass change; pass an empty value to clear an optional field)",
|
|
10921
|
+
"examples": [
|
|
10922
|
+
"<%= config.bin %> rcs agents update 3f6a1c9e-0000-0000-0000-000000000000 --description \"Order updates from Acme\" --brand-color \"#1E90FF\"",
|
|
10923
|
+
"<%= config.bin %> rcs agents update 3f6a1c9e-0000-0000-0000-000000000000 --company-overview \"Acme sells widgets online\" --agent-overview \"Order and delivery updates\" --interaction TRANSACTIONAL_UPDATES --message-example \"Your Acme order #4821 has shipped. Reply STOP to opt out.\" --message-example \"Your order is out for delivery today.\" --message-example \"Delivered! Reply HELP for help.\" --opt-in-method \"WEBSITE=Checkbox at checkout\" --call-to-action \"Get order updates by text\" --call-to-action-url https://acme.com/checkout --call-to-action-media-url https://acme.com/optin.png --no-double-opt-in --opt-in-message \"Welcome to Acme updates. Reply STOP to opt out.\" --help-response \"Acme support: help@acme.com\" --opt-out-response \"You are unsubscribed from Acme updates.\"",
|
|
10924
|
+
"<%= config.bin %> rcs agents update 3f6a1c9e-0000-0000-0000-000000000000 --from-json agent.json --json"
|
|
10925
|
+
],
|
|
10926
|
+
"flags": {
|
|
10927
|
+
"json": {
|
|
10928
|
+
"description": "Output in JSON format",
|
|
10929
|
+
"name": "json",
|
|
10930
|
+
"allowNo": false,
|
|
10931
|
+
"type": "boolean"
|
|
10932
|
+
},
|
|
10933
|
+
"quiet": {
|
|
10934
|
+
"char": "q",
|
|
10935
|
+
"description": "Minimal output",
|
|
10936
|
+
"name": "quiet",
|
|
10937
|
+
"allowNo": false,
|
|
10938
|
+
"type": "boolean"
|
|
10939
|
+
},
|
|
10940
|
+
"display-name": {
|
|
10941
|
+
"description": "Agent name shown in the conversation header (max 40 characters)",
|
|
10942
|
+
"name": "display-name",
|
|
10943
|
+
"hasDynamicHelp": false,
|
|
10944
|
+
"multiple": false,
|
|
10945
|
+
"type": "option"
|
|
10946
|
+
},
|
|
10947
|
+
"use-case": {
|
|
10948
|
+
"description": "What the agent sends",
|
|
10949
|
+
"name": "use-case",
|
|
10950
|
+
"hasDynamicHelp": false,
|
|
10951
|
+
"multiple": false,
|
|
10952
|
+
"options": [
|
|
10953
|
+
"MULTI_USE",
|
|
10954
|
+
"TRANSACTIONAL",
|
|
10955
|
+
"PROMOTIONAL",
|
|
10956
|
+
"OTP"
|
|
10957
|
+
],
|
|
10958
|
+
"type": "option"
|
|
10959
|
+
},
|
|
10960
|
+
"description": {
|
|
10961
|
+
"description": "Short description shown on the agent's info page (max 100 characters)",
|
|
10962
|
+
"name": "description",
|
|
10963
|
+
"hasDynamicHelp": false,
|
|
10964
|
+
"multiple": false,
|
|
10965
|
+
"type": "option"
|
|
10966
|
+
},
|
|
10967
|
+
"logo-url": {
|
|
10968
|
+
"description": "Public https:// URL of the agent logo",
|
|
10969
|
+
"name": "logo-url",
|
|
10970
|
+
"hasDynamicHelp": false,
|
|
10971
|
+
"multiple": false,
|
|
10972
|
+
"type": "option"
|
|
10973
|
+
},
|
|
10974
|
+
"hero-url": {
|
|
10975
|
+
"description": "Public https:// URL of the agent hero image",
|
|
10976
|
+
"name": "hero-url",
|
|
10977
|
+
"hasDynamicHelp": false,
|
|
10978
|
+
"multiple": false,
|
|
10979
|
+
"type": "option"
|
|
10980
|
+
},
|
|
10981
|
+
"brand-color": {
|
|
10982
|
+
"description": "Hex brand color, like #1E90FF",
|
|
10983
|
+
"name": "brand-color",
|
|
10984
|
+
"hasDynamicHelp": false,
|
|
10985
|
+
"multiple": false,
|
|
10986
|
+
"type": "option"
|
|
10987
|
+
},
|
|
10988
|
+
"privacy-policy-url": {
|
|
10989
|
+
"description": "Privacy policy URL (https)",
|
|
10990
|
+
"name": "privacy-policy-url",
|
|
10991
|
+
"hasDynamicHelp": false,
|
|
10992
|
+
"multiple": false,
|
|
10993
|
+
"type": "option"
|
|
10994
|
+
},
|
|
10995
|
+
"terms-url": {
|
|
10996
|
+
"description": "Terms and conditions URL (https)",
|
|
10997
|
+
"name": "terms-url",
|
|
10998
|
+
"hasDynamicHelp": false,
|
|
10999
|
+
"multiple": false,
|
|
11000
|
+
"type": "option"
|
|
11001
|
+
},
|
|
11002
|
+
"phone": {
|
|
11003
|
+
"description": "Contact phone number shown on the agent (E.164)",
|
|
11004
|
+
"name": "phone",
|
|
11005
|
+
"hasDynamicHelp": false,
|
|
11006
|
+
"multiple": false,
|
|
11007
|
+
"type": "option"
|
|
11008
|
+
},
|
|
11009
|
+
"phone-label": {
|
|
11010
|
+
"description": "Label for the contact phone",
|
|
11011
|
+
"name": "phone-label",
|
|
11012
|
+
"hasDynamicHelp": false,
|
|
11013
|
+
"multiple": false,
|
|
11014
|
+
"type": "option"
|
|
11015
|
+
},
|
|
11016
|
+
"website": {
|
|
11017
|
+
"description": "Contact website shown on the agent (https)",
|
|
11018
|
+
"name": "website",
|
|
11019
|
+
"hasDynamicHelp": false,
|
|
11020
|
+
"multiple": false,
|
|
11021
|
+
"type": "option"
|
|
11022
|
+
},
|
|
11023
|
+
"website-label": {
|
|
11024
|
+
"description": "Label for the contact website",
|
|
11025
|
+
"name": "website-label",
|
|
11026
|
+
"hasDynamicHelp": false,
|
|
11027
|
+
"multiple": false,
|
|
11028
|
+
"type": "option"
|
|
11029
|
+
},
|
|
11030
|
+
"email": {
|
|
11031
|
+
"description": "Contact email shown on the agent",
|
|
11032
|
+
"name": "email",
|
|
11033
|
+
"hasDynamicHelp": false,
|
|
11034
|
+
"multiple": false,
|
|
11035
|
+
"type": "option"
|
|
11036
|
+
},
|
|
11037
|
+
"email-label": {
|
|
11038
|
+
"description": "Label for the contact email",
|
|
11039
|
+
"name": "email-label",
|
|
11040
|
+
"hasDynamicHelp": false,
|
|
11041
|
+
"multiple": false,
|
|
11042
|
+
"type": "option"
|
|
11043
|
+
},
|
|
11044
|
+
"company-overview": {
|
|
11045
|
+
"description": "What your company does (launch requirement)",
|
|
11046
|
+
"name": "company-overview",
|
|
11047
|
+
"hasDynamicHelp": false,
|
|
11048
|
+
"multiple": false,
|
|
11049
|
+
"type": "option"
|
|
11050
|
+
},
|
|
11051
|
+
"agent-overview": {
|
|
11052
|
+
"description": "What this agent will send and why (launch requirement)",
|
|
11053
|
+
"name": "agent-overview",
|
|
11054
|
+
"hasDynamicHelp": false,
|
|
11055
|
+
"multiple": false,
|
|
11056
|
+
"type": "option"
|
|
11057
|
+
},
|
|
11058
|
+
"campaign-info": {
|
|
11059
|
+
"description": "Anything else reviewers should know about the campaign",
|
|
11060
|
+
"name": "campaign-info",
|
|
11061
|
+
"hasDynamicHelp": false,
|
|
11062
|
+
"multiple": false,
|
|
11063
|
+
"type": "option"
|
|
11064
|
+
},
|
|
11065
|
+
"interaction": {
|
|
11066
|
+
"description": "Interaction type, optionally with a description as \"TYPE=description\" (repeatable; replaces the list). One of: TRANSACTIONAL_UPDATES, CUSTOMER_SUPPORT, ACCOUNT_ALERTS, LOYALTY_OR_REWARD, MARKETING_OR_PROMOTIONAL, TWO_WAY_CONVERSATION, OTHER",
|
|
11067
|
+
"name": "interaction",
|
|
11068
|
+
"hasDynamicHelp": false,
|
|
11069
|
+
"multiple": true,
|
|
11070
|
+
"type": "option"
|
|
11071
|
+
},
|
|
11072
|
+
"message-example": {
|
|
11073
|
+
"description": "Example message a subscriber would receive (repeatable, at least 3 to launch; replaces the list)",
|
|
11074
|
+
"name": "message-example",
|
|
11075
|
+
"hasDynamicHelp": false,
|
|
11076
|
+
"multiple": true,
|
|
11077
|
+
"type": "option"
|
|
11078
|
+
},
|
|
11079
|
+
"opt-in-method": {
|
|
11080
|
+
"description": "How subscribers opt in, optionally with a description as \"TYPE=description\" (repeatable; replaces the list). One of: WEBSITE, SMS, MOBILE_APP, QR_CODE, SALE_POINT, OTHER",
|
|
11081
|
+
"name": "opt-in-method",
|
|
11082
|
+
"hasDynamicHelp": false,
|
|
11083
|
+
"multiple": true,
|
|
11084
|
+
"type": "option"
|
|
11085
|
+
},
|
|
11086
|
+
"call-to-action": {
|
|
11087
|
+
"description": "The opt-in call to action subscribers see",
|
|
11088
|
+
"name": "call-to-action",
|
|
11089
|
+
"hasDynamicHelp": false,
|
|
11090
|
+
"multiple": false,
|
|
11091
|
+
"type": "option"
|
|
11092
|
+
},
|
|
11093
|
+
"call-to-action-url": {
|
|
11094
|
+
"description": "Where the call to action lives (https; required for WEBSITE opt-in)",
|
|
11095
|
+
"name": "call-to-action-url",
|
|
11096
|
+
"hasDynamicHelp": false,
|
|
11097
|
+
"multiple": false,
|
|
11098
|
+
"type": "option"
|
|
11099
|
+
},
|
|
11100
|
+
"call-to-action-media-url": {
|
|
11101
|
+
"description": "Public https:// URL of a screenshot of the opt-in (required for WEBSITE and MOBILE_APP opt-in)",
|
|
11102
|
+
"name": "call-to-action-media-url",
|
|
11103
|
+
"hasDynamicHelp": false,
|
|
11104
|
+
"multiple": false,
|
|
11105
|
+
"type": "option"
|
|
11106
|
+
},
|
|
11107
|
+
"double-opt-in": {
|
|
11108
|
+
"description": "Subscribers confirm their opt-in (disable with --no-double-opt-in)",
|
|
11109
|
+
"name": "double-opt-in",
|
|
11110
|
+
"allowNo": true,
|
|
11111
|
+
"type": "boolean"
|
|
11112
|
+
},
|
|
11113
|
+
"double-opt-in-message": {
|
|
11114
|
+
"description": "Confirmation message sent when double opt-in is enabled",
|
|
11115
|
+
"name": "double-opt-in-message",
|
|
11116
|
+
"hasDynamicHelp": false,
|
|
11117
|
+
"multiple": false,
|
|
11118
|
+
"type": "option"
|
|
11119
|
+
},
|
|
11120
|
+
"opt-in-message": {
|
|
11121
|
+
"description": "Welcome message sent after opt-in",
|
|
11122
|
+
"name": "opt-in-message",
|
|
11123
|
+
"hasDynamicHelp": false,
|
|
11124
|
+
"multiple": false,
|
|
11125
|
+
"type": "option"
|
|
11126
|
+
},
|
|
11127
|
+
"help-response": {
|
|
11128
|
+
"description": "Reply sent to HELP",
|
|
11129
|
+
"name": "help-response",
|
|
11130
|
+
"hasDynamicHelp": false,
|
|
11131
|
+
"multiple": false,
|
|
11132
|
+
"type": "option"
|
|
11133
|
+
},
|
|
11134
|
+
"opt-out-response": {
|
|
11135
|
+
"description": "Reply sent to STOP",
|
|
11136
|
+
"name": "opt-out-response",
|
|
11137
|
+
"hasDynamicHelp": false,
|
|
11138
|
+
"multiple": false,
|
|
11139
|
+
"type": "option"
|
|
11140
|
+
},
|
|
11141
|
+
"test-url": {
|
|
11142
|
+
"description": "Public https:// URL of a screen recording or screenshots of the agent on a test device",
|
|
11143
|
+
"name": "test-url",
|
|
11144
|
+
"hasDynamicHelp": false,
|
|
11145
|
+
"multiple": false,
|
|
11146
|
+
"type": "option"
|
|
11147
|
+
},
|
|
11148
|
+
"test-message-id": {
|
|
11149
|
+
"description": "Id of a message sent to a test device",
|
|
11150
|
+
"name": "test-message-id",
|
|
11151
|
+
"hasDynamicHelp": false,
|
|
11152
|
+
"multiple": false,
|
|
11153
|
+
"type": "option"
|
|
11154
|
+
},
|
|
11155
|
+
"testing-info": {
|
|
11156
|
+
"description": "Anything else reviewers should know about testing",
|
|
11157
|
+
"name": "testing-info",
|
|
11158
|
+
"hasDynamicHelp": false,
|
|
11159
|
+
"multiple": false,
|
|
11160
|
+
"type": "option"
|
|
11161
|
+
},
|
|
11162
|
+
"clear-campaign": {
|
|
11163
|
+
"description": "Remove the campaign section entirely",
|
|
11164
|
+
"name": "clear-campaign",
|
|
11165
|
+
"allowNo": false,
|
|
11166
|
+
"type": "boolean"
|
|
11167
|
+
},
|
|
11168
|
+
"clear-testing": {
|
|
11169
|
+
"description": "Remove the testing section entirely",
|
|
11170
|
+
"name": "clear-testing",
|
|
11171
|
+
"allowNo": false,
|
|
11172
|
+
"type": "boolean"
|
|
11173
|
+
},
|
|
11174
|
+
"from-json": {
|
|
11175
|
+
"description": "Path to a JSON file with the fields to change ({ basics, campaign, testing }, or the output of `rcs agents get --json`); flags override fields in the file",
|
|
11176
|
+
"name": "from-json",
|
|
11177
|
+
"hasDynamicHelp": false,
|
|
11178
|
+
"multiple": false,
|
|
11179
|
+
"type": "option"
|
|
11180
|
+
},
|
|
11181
|
+
"idempotency-key": {
|
|
11182
|
+
"description": "Idempotency key (1-255 printable ASCII characters). Re-running with the same key within 24 hours returns the original result instead of saving again.",
|
|
11183
|
+
"name": "idempotency-key",
|
|
11184
|
+
"hasDynamicHelp": false,
|
|
11185
|
+
"multiple": false,
|
|
11186
|
+
"type": "option"
|
|
11187
|
+
}
|
|
11188
|
+
},
|
|
11189
|
+
"hasDynamicHelp": false,
|
|
11190
|
+
"hiddenAliases": [],
|
|
11191
|
+
"id": "rcs:agents:update",
|
|
11192
|
+
"pluginAlias": "@sendly/cli",
|
|
11193
|
+
"pluginName": "@sendly/cli",
|
|
11194
|
+
"pluginType": "core",
|
|
11195
|
+
"strict": true,
|
|
11196
|
+
"isESM": true,
|
|
11197
|
+
"relativePath": [
|
|
11198
|
+
"dist",
|
|
11199
|
+
"commands",
|
|
11200
|
+
"rcs",
|
|
11201
|
+
"agents",
|
|
11202
|
+
"update.js"
|
|
11203
|
+
]
|
|
11204
|
+
},
|
|
11205
|
+
"rcs:brands:create": {
|
|
11206
|
+
"aliases": [],
|
|
11207
|
+
"args": {},
|
|
11208
|
+
"description": "Draft the brand behind your RCS registration (step 1; nothing goes for review until `rcs agents submit`)",
|
|
11209
|
+
"examples": [
|
|
11210
|
+
"<%= config.bin %> rcs brands create --display-name \"Acme\" --legal-name \"Acme Inc\" --legal-entity-type CORPORATION --organization-type PRIVATE_PROFIT --ein 12-3456789 --website https://acme.com --address-line1 \"1 Main St\" --city Austin --state TX --postal-code 78701 --contact-first-name Jane --contact-last-name Doe --contact-email jane@acme.com --contact-phone +15125550100",
|
|
11211
|
+
"<%= config.bin %> rcs brands create --from-json brand.json",
|
|
11212
|
+
"<%= config.bin %> rcs brands create --from-json brand.json --display-name \"Acme\" --json"
|
|
11213
|
+
],
|
|
11214
|
+
"flags": {
|
|
11215
|
+
"json": {
|
|
11216
|
+
"description": "Output in JSON format",
|
|
11217
|
+
"name": "json",
|
|
11218
|
+
"allowNo": false,
|
|
11219
|
+
"type": "boolean"
|
|
11220
|
+
},
|
|
11221
|
+
"quiet": {
|
|
11222
|
+
"char": "q",
|
|
11223
|
+
"description": "Minimal output",
|
|
11224
|
+
"name": "quiet",
|
|
11225
|
+
"allowNo": false,
|
|
11226
|
+
"type": "boolean"
|
|
11227
|
+
},
|
|
11228
|
+
"display-name": {
|
|
11229
|
+
"description": "Brand name as customers will see it",
|
|
11230
|
+
"name": "display-name",
|
|
11231
|
+
"hasDynamicHelp": false,
|
|
11232
|
+
"multiple": false,
|
|
11233
|
+
"type": "option"
|
|
11234
|
+
},
|
|
11235
|
+
"legal-name": {
|
|
11236
|
+
"description": "Registered legal business name",
|
|
11237
|
+
"name": "legal-name",
|
|
11238
|
+
"hasDynamicHelp": false,
|
|
11239
|
+
"multiple": false,
|
|
11240
|
+
"type": "option"
|
|
11241
|
+
},
|
|
11242
|
+
"legal-entity-type": {
|
|
11243
|
+
"description": "Legal entity type",
|
|
11244
|
+
"name": "legal-entity-type",
|
|
11245
|
+
"hasDynamicHelp": false,
|
|
11246
|
+
"multiple": false,
|
|
11247
|
+
"options": [
|
|
11248
|
+
"LIMITED_LIABILITY_COMPANY",
|
|
11249
|
+
"CORPORATION",
|
|
11250
|
+
"S_CORPORATION",
|
|
11251
|
+
"PARTNERSHIP",
|
|
11252
|
+
"SOLE_PROPRIETORSHIP"
|
|
11253
|
+
],
|
|
11254
|
+
"type": "option"
|
|
11255
|
+
},
|
|
11256
|
+
"organization-type": {
|
|
11257
|
+
"description": "Organization type",
|
|
11258
|
+
"name": "organization-type",
|
|
11259
|
+
"hasDynamicHelp": false,
|
|
11260
|
+
"multiple": false,
|
|
11261
|
+
"options": [
|
|
11262
|
+
"PRIVATE_PROFIT",
|
|
11263
|
+
"PUBLIC_PROFIT",
|
|
11264
|
+
"NON_PROFIT",
|
|
11265
|
+
"GOVERNMENT",
|
|
11266
|
+
"UNKNOWN"
|
|
11267
|
+
],
|
|
11268
|
+
"type": "option"
|
|
11269
|
+
},
|
|
11270
|
+
"website": {
|
|
11271
|
+
"description": "Business website (https)",
|
|
11272
|
+
"name": "website",
|
|
11273
|
+
"hasDynamicHelp": false,
|
|
11274
|
+
"multiple": false,
|
|
11275
|
+
"type": "option"
|
|
11276
|
+
},
|
|
11277
|
+
"ein": {
|
|
11278
|
+
"description": "EIN (123456789 or 12-3456789)",
|
|
11279
|
+
"name": "ein",
|
|
11280
|
+
"hasDynamicHelp": false,
|
|
11281
|
+
"multiple": false,
|
|
11282
|
+
"type": "option"
|
|
11283
|
+
},
|
|
11284
|
+
"stock-symbol": {
|
|
11285
|
+
"description": "EXCHANGE:TICKER, required for publicly traded companies",
|
|
11286
|
+
"name": "stock-symbol",
|
|
11287
|
+
"hasDynamicHelp": false,
|
|
11288
|
+
"multiple": false,
|
|
11289
|
+
"type": "option"
|
|
11290
|
+
},
|
|
11291
|
+
"address-line1": {
|
|
11292
|
+
"description": "Street address",
|
|
11293
|
+
"name": "address-line1",
|
|
11294
|
+
"hasDynamicHelp": false,
|
|
11295
|
+
"multiple": false,
|
|
11296
|
+
"type": "option"
|
|
11297
|
+
},
|
|
11298
|
+
"address-line2": {
|
|
11299
|
+
"description": "Suite, floor, or unit",
|
|
11300
|
+
"name": "address-line2",
|
|
11301
|
+
"hasDynamicHelp": false,
|
|
11302
|
+
"multiple": false,
|
|
11303
|
+
"type": "option"
|
|
11304
|
+
},
|
|
11305
|
+
"city": {
|
|
11306
|
+
"description": "City",
|
|
11307
|
+
"name": "city",
|
|
11308
|
+
"hasDynamicHelp": false,
|
|
11309
|
+
"multiple": false,
|
|
11310
|
+
"type": "option"
|
|
11311
|
+
},
|
|
11312
|
+
"state": {
|
|
11313
|
+
"description": "State (two-letter code)",
|
|
11314
|
+
"name": "state",
|
|
11315
|
+
"hasDynamicHelp": false,
|
|
11316
|
+
"multiple": false,
|
|
11317
|
+
"type": "option"
|
|
11318
|
+
},
|
|
11319
|
+
"postal-code": {
|
|
11320
|
+
"description": "ZIP code",
|
|
11321
|
+
"name": "postal-code",
|
|
11322
|
+
"hasDynamicHelp": false,
|
|
11323
|
+
"multiple": false,
|
|
11324
|
+
"type": "option"
|
|
11325
|
+
},
|
|
11326
|
+
"country": {
|
|
11327
|
+
"description": "Country code (US; RCS registration is US-only for now)",
|
|
11328
|
+
"name": "country",
|
|
11329
|
+
"hasDynamicHelp": false,
|
|
11330
|
+
"multiple": false,
|
|
11331
|
+
"type": "option"
|
|
11332
|
+
},
|
|
11333
|
+
"contact-first-name": {
|
|
11334
|
+
"description": "Brand contact first name",
|
|
11335
|
+
"name": "contact-first-name",
|
|
11336
|
+
"hasDynamicHelp": false,
|
|
11337
|
+
"multiple": false,
|
|
11338
|
+
"type": "option"
|
|
11339
|
+
},
|
|
11340
|
+
"contact-last-name": {
|
|
11341
|
+
"description": "Brand contact last name",
|
|
11342
|
+
"name": "contact-last-name",
|
|
11343
|
+
"hasDynamicHelp": false,
|
|
11344
|
+
"multiple": false,
|
|
11345
|
+
"type": "option"
|
|
11346
|
+
},
|
|
11347
|
+
"contact-title": {
|
|
11348
|
+
"description": "Brand contact job title",
|
|
11349
|
+
"name": "contact-title",
|
|
11350
|
+
"hasDynamicHelp": false,
|
|
11351
|
+
"multiple": false,
|
|
11352
|
+
"type": "option"
|
|
11353
|
+
},
|
|
11354
|
+
"contact-email": {
|
|
11355
|
+
"description": "Brand contact email",
|
|
11356
|
+
"name": "contact-email",
|
|
11357
|
+
"hasDynamicHelp": false,
|
|
11358
|
+
"multiple": false,
|
|
11359
|
+
"type": "option"
|
|
11360
|
+
},
|
|
11361
|
+
"contact-phone": {
|
|
11362
|
+
"description": "Brand contact phone number (E.164)",
|
|
11363
|
+
"name": "contact-phone",
|
|
11364
|
+
"hasDynamicHelp": false,
|
|
11365
|
+
"multiple": false,
|
|
11366
|
+
"type": "option"
|
|
11367
|
+
},
|
|
11368
|
+
"from-json": {
|
|
11369
|
+
"description": "Path to a JSON file with the brand (a plain brand object, or the output of `rcs dossier --json`); flags override fields in the file",
|
|
11370
|
+
"name": "from-json",
|
|
11371
|
+
"hasDynamicHelp": false,
|
|
11372
|
+
"multiple": false,
|
|
11373
|
+
"type": "option"
|
|
11374
|
+
},
|
|
11375
|
+
"idempotency-key": {
|
|
11376
|
+
"description": "Idempotency key (1-255 printable ASCII characters). Re-running with the same key within 24 hours returns the original result instead of saving again.",
|
|
11377
|
+
"name": "idempotency-key",
|
|
11378
|
+
"hasDynamicHelp": false,
|
|
11379
|
+
"multiple": false,
|
|
11380
|
+
"type": "option"
|
|
11381
|
+
}
|
|
11382
|
+
},
|
|
11383
|
+
"hasDynamicHelp": false,
|
|
11384
|
+
"hiddenAliases": [],
|
|
11385
|
+
"id": "rcs:brands:create",
|
|
11386
|
+
"pluginAlias": "@sendly/cli",
|
|
11387
|
+
"pluginName": "@sendly/cli",
|
|
11388
|
+
"pluginType": "core",
|
|
11389
|
+
"strict": true,
|
|
11390
|
+
"isESM": true,
|
|
11391
|
+
"relativePath": [
|
|
11392
|
+
"dist",
|
|
11393
|
+
"commands",
|
|
11394
|
+
"rcs",
|
|
11395
|
+
"brands",
|
|
11396
|
+
"create.js"
|
|
11397
|
+
]
|
|
11398
|
+
},
|
|
11399
|
+
"rcs:brands:update": {
|
|
11400
|
+
"aliases": [],
|
|
11401
|
+
"args": {
|
|
11402
|
+
"id": {
|
|
11403
|
+
"description": "Brand ID",
|
|
11404
|
+
"name": "id",
|
|
11405
|
+
"required": true
|
|
11406
|
+
}
|
|
11407
|
+
},
|
|
11408
|
+
"description": "Update fields on a drafted RCS brand (only the flags you pass change; pass an empty value to clear an optional field)",
|
|
11409
|
+
"examples": [
|
|
11410
|
+
"<%= config.bin %> rcs brands update 3f6a1c9e-0000-0000-0000-000000000000 --ein 12-3456789 --website https://acme.com",
|
|
11411
|
+
"<%= config.bin %> rcs brands update 3f6a1c9e-0000-0000-0000-000000000000 --stock-symbol \"\"",
|
|
11412
|
+
"<%= config.bin %> rcs brands update 3f6a1c9e-0000-0000-0000-000000000000 --from-json brand.json --json"
|
|
11413
|
+
],
|
|
11414
|
+
"flags": {
|
|
11415
|
+
"json": {
|
|
11416
|
+
"description": "Output in JSON format",
|
|
11417
|
+
"name": "json",
|
|
11418
|
+
"allowNo": false,
|
|
11419
|
+
"type": "boolean"
|
|
11420
|
+
},
|
|
11421
|
+
"quiet": {
|
|
11422
|
+
"char": "q",
|
|
11423
|
+
"description": "Minimal output",
|
|
11424
|
+
"name": "quiet",
|
|
11425
|
+
"allowNo": false,
|
|
11426
|
+
"type": "boolean"
|
|
11427
|
+
},
|
|
11428
|
+
"display-name": {
|
|
11429
|
+
"description": "Brand name as customers will see it",
|
|
11430
|
+
"name": "display-name",
|
|
11431
|
+
"hasDynamicHelp": false,
|
|
11432
|
+
"multiple": false,
|
|
11433
|
+
"type": "option"
|
|
11434
|
+
},
|
|
11435
|
+
"legal-name": {
|
|
11436
|
+
"description": "Registered legal business name",
|
|
11437
|
+
"name": "legal-name",
|
|
11438
|
+
"hasDynamicHelp": false,
|
|
11439
|
+
"multiple": false,
|
|
11440
|
+
"type": "option"
|
|
11441
|
+
},
|
|
11442
|
+
"legal-entity-type": {
|
|
11443
|
+
"description": "Legal entity type",
|
|
11444
|
+
"name": "legal-entity-type",
|
|
11445
|
+
"hasDynamicHelp": false,
|
|
11446
|
+
"multiple": false,
|
|
11447
|
+
"options": [
|
|
11448
|
+
"LIMITED_LIABILITY_COMPANY",
|
|
11449
|
+
"CORPORATION",
|
|
11450
|
+
"S_CORPORATION",
|
|
11451
|
+
"PARTNERSHIP",
|
|
11452
|
+
"SOLE_PROPRIETORSHIP"
|
|
11453
|
+
],
|
|
11454
|
+
"type": "option"
|
|
11455
|
+
},
|
|
11456
|
+
"organization-type": {
|
|
11457
|
+
"description": "Organization type",
|
|
11458
|
+
"name": "organization-type",
|
|
11459
|
+
"hasDynamicHelp": false,
|
|
11460
|
+
"multiple": false,
|
|
11461
|
+
"options": [
|
|
11462
|
+
"PRIVATE_PROFIT",
|
|
11463
|
+
"PUBLIC_PROFIT",
|
|
11464
|
+
"NON_PROFIT",
|
|
11465
|
+
"GOVERNMENT",
|
|
11466
|
+
"UNKNOWN"
|
|
11467
|
+
],
|
|
11468
|
+
"type": "option"
|
|
11469
|
+
},
|
|
11470
|
+
"website": {
|
|
11471
|
+
"description": "Business website (https)",
|
|
11472
|
+
"name": "website",
|
|
11473
|
+
"hasDynamicHelp": false,
|
|
11474
|
+
"multiple": false,
|
|
11475
|
+
"type": "option"
|
|
11476
|
+
},
|
|
11477
|
+
"ein": {
|
|
11478
|
+
"description": "EIN (123456789 or 12-3456789)",
|
|
11479
|
+
"name": "ein",
|
|
11480
|
+
"hasDynamicHelp": false,
|
|
11481
|
+
"multiple": false,
|
|
11482
|
+
"type": "option"
|
|
11483
|
+
},
|
|
11484
|
+
"stock-symbol": {
|
|
11485
|
+
"description": "EXCHANGE:TICKER, required for publicly traded companies",
|
|
11486
|
+
"name": "stock-symbol",
|
|
11487
|
+
"hasDynamicHelp": false,
|
|
11488
|
+
"multiple": false,
|
|
11489
|
+
"type": "option"
|
|
11490
|
+
},
|
|
11491
|
+
"address-line1": {
|
|
11492
|
+
"description": "Street address",
|
|
11493
|
+
"name": "address-line1",
|
|
11494
|
+
"hasDynamicHelp": false,
|
|
11495
|
+
"multiple": false,
|
|
11496
|
+
"type": "option"
|
|
11497
|
+
},
|
|
11498
|
+
"address-line2": {
|
|
11499
|
+
"description": "Suite, floor, or unit",
|
|
11500
|
+
"name": "address-line2",
|
|
11501
|
+
"hasDynamicHelp": false,
|
|
11502
|
+
"multiple": false,
|
|
11503
|
+
"type": "option"
|
|
11504
|
+
},
|
|
11505
|
+
"city": {
|
|
11506
|
+
"description": "City",
|
|
11507
|
+
"name": "city",
|
|
11508
|
+
"hasDynamicHelp": false,
|
|
11509
|
+
"multiple": false,
|
|
11510
|
+
"type": "option"
|
|
11511
|
+
},
|
|
11512
|
+
"state": {
|
|
11513
|
+
"description": "State (two-letter code)",
|
|
11514
|
+
"name": "state",
|
|
11515
|
+
"hasDynamicHelp": false,
|
|
11516
|
+
"multiple": false,
|
|
11517
|
+
"type": "option"
|
|
11518
|
+
},
|
|
11519
|
+
"postal-code": {
|
|
11520
|
+
"description": "ZIP code",
|
|
11521
|
+
"name": "postal-code",
|
|
11522
|
+
"hasDynamicHelp": false,
|
|
11523
|
+
"multiple": false,
|
|
11524
|
+
"type": "option"
|
|
11525
|
+
},
|
|
11526
|
+
"country": {
|
|
11527
|
+
"description": "Country code (US; RCS registration is US-only for now)",
|
|
11528
|
+
"name": "country",
|
|
11529
|
+
"hasDynamicHelp": false,
|
|
11530
|
+
"multiple": false,
|
|
11531
|
+
"type": "option"
|
|
11532
|
+
},
|
|
11533
|
+
"contact-first-name": {
|
|
11534
|
+
"description": "Brand contact first name",
|
|
11535
|
+
"name": "contact-first-name",
|
|
11536
|
+
"hasDynamicHelp": false,
|
|
11537
|
+
"multiple": false,
|
|
11538
|
+
"type": "option"
|
|
11539
|
+
},
|
|
11540
|
+
"contact-last-name": {
|
|
11541
|
+
"description": "Brand contact last name",
|
|
11542
|
+
"name": "contact-last-name",
|
|
11543
|
+
"hasDynamicHelp": false,
|
|
11544
|
+
"multiple": false,
|
|
11545
|
+
"type": "option"
|
|
11546
|
+
},
|
|
11547
|
+
"contact-title": {
|
|
11548
|
+
"description": "Brand contact job title",
|
|
11549
|
+
"name": "contact-title",
|
|
11550
|
+
"hasDynamicHelp": false,
|
|
11551
|
+
"multiple": false,
|
|
11552
|
+
"type": "option"
|
|
11553
|
+
},
|
|
11554
|
+
"contact-email": {
|
|
11555
|
+
"description": "Brand contact email",
|
|
11556
|
+
"name": "contact-email",
|
|
11557
|
+
"hasDynamicHelp": false,
|
|
11558
|
+
"multiple": false,
|
|
11559
|
+
"type": "option"
|
|
11560
|
+
},
|
|
11561
|
+
"contact-phone": {
|
|
11562
|
+
"description": "Brand contact phone number (E.164)",
|
|
11563
|
+
"name": "contact-phone",
|
|
11564
|
+
"hasDynamicHelp": false,
|
|
11565
|
+
"multiple": false,
|
|
11566
|
+
"type": "option"
|
|
11567
|
+
},
|
|
11568
|
+
"from-json": {
|
|
11569
|
+
"description": "Path to a JSON file with the fields to change (a plain brand object, or the output of `rcs dossier --json`); flags override fields in the file",
|
|
11570
|
+
"name": "from-json",
|
|
9491
11571
|
"hasDynamicHelp": false,
|
|
9492
11572
|
"multiple": false,
|
|
9493
11573
|
"type": "option"
|
|
9494
11574
|
},
|
|
9495
|
-
"
|
|
9496
|
-
"description": "
|
|
9497
|
-
"name": "
|
|
11575
|
+
"idempotency-key": {
|
|
11576
|
+
"description": "Idempotency key (1-255 printable ASCII characters). Re-running with the same key within 24 hours returns the original result instead of saving again.",
|
|
11577
|
+
"name": "idempotency-key",
|
|
9498
11578
|
"hasDynamicHelp": false,
|
|
9499
11579
|
"multiple": false,
|
|
9500
11580
|
"type": "option"
|
|
@@ -9502,7 +11582,7 @@
|
|
|
9502
11582
|
},
|
|
9503
11583
|
"hasDynamicHelp": false,
|
|
9504
11584
|
"hiddenAliases": [],
|
|
9505
|
-
"id": "
|
|
11585
|
+
"id": "rcs:brands:update",
|
|
9506
11586
|
"pluginAlias": "@sendly/cli",
|
|
9507
11587
|
"pluginName": "@sendly/cli",
|
|
9508
11588
|
"pluginType": "core",
|
|
@@ -9511,18 +11591,24 @@
|
|
|
9511
11591
|
"relativePath": [
|
|
9512
11592
|
"dist",
|
|
9513
11593
|
"commands",
|
|
9514
|
-
"
|
|
9515
|
-
"
|
|
9516
|
-
"
|
|
11594
|
+
"rcs",
|
|
11595
|
+
"brands",
|
|
11596
|
+
"update.js"
|
|
9517
11597
|
]
|
|
9518
11598
|
},
|
|
9519
|
-
"
|
|
11599
|
+
"whatsapp:profile:get": {
|
|
9520
11600
|
"aliases": [],
|
|
9521
|
-
"args": {
|
|
9522
|
-
|
|
11601
|
+
"args": {
|
|
11602
|
+
"number": {
|
|
11603
|
+
"description": "WhatsApp-connected sender number (E.164 format)",
|
|
11604
|
+
"name": "number",
|
|
11605
|
+
"required": true
|
|
11606
|
+
}
|
|
11607
|
+
},
|
|
11608
|
+
"description": "Show the WhatsApp business profile customers see for one of your connected numbers",
|
|
9523
11609
|
"examples": [
|
|
9524
|
-
"<%= config.bin %>
|
|
9525
|
-
"<%= config.bin %>
|
|
11610
|
+
"<%= config.bin %> whatsapp profile get +15551234567",
|
|
11611
|
+
"<%= config.bin %> whatsapp profile get +15551234567 --json"
|
|
9526
11612
|
],
|
|
9527
11613
|
"flags": {
|
|
9528
11614
|
"json": {
|
|
@@ -9541,7 +11627,7 @@
|
|
|
9541
11627
|
},
|
|
9542
11628
|
"hasDynamicHelp": false,
|
|
9543
11629
|
"hiddenAliases": [],
|
|
9544
|
-
"id": "
|
|
11630
|
+
"id": "whatsapp:profile:get",
|
|
9545
11631
|
"pluginAlias": "@sendly/cli",
|
|
9546
11632
|
"pluginName": "@sendly/cli",
|
|
9547
11633
|
"pluginType": "core",
|
|
@@ -9550,18 +11636,24 @@
|
|
|
9550
11636
|
"relativePath": [
|
|
9551
11637
|
"dist",
|
|
9552
11638
|
"commands",
|
|
9553
|
-
"
|
|
9554
|
-
"
|
|
9555
|
-
"
|
|
11639
|
+
"whatsapp",
|
|
11640
|
+
"profile",
|
|
11641
|
+
"get.js"
|
|
9556
11642
|
]
|
|
9557
11643
|
},
|
|
9558
|
-
"
|
|
11644
|
+
"whatsapp:profile:update": {
|
|
9559
11645
|
"aliases": [],
|
|
9560
|
-
"args": {
|
|
9561
|
-
|
|
11646
|
+
"args": {
|
|
11647
|
+
"number": {
|
|
11648
|
+
"description": "WhatsApp-connected sender number (E.164 format)",
|
|
11649
|
+
"name": "number",
|
|
11650
|
+
"required": true
|
|
11651
|
+
}
|
|
11652
|
+
},
|
|
11653
|
+
"description": "Update the WhatsApp business profile customers see for one of your connected numbers",
|
|
9562
11654
|
"examples": [
|
|
9563
|
-
"<%= config.bin %>
|
|
9564
|
-
"<%= config.bin %>
|
|
11655
|
+
"<%= config.bin %> whatsapp profile update +15551234567 --about \"Family-run bakery in Austin\"",
|
|
11656
|
+
"<%= config.bin %> whatsapp profile update +15551234567 --website https://example.com --email hello@example.com"
|
|
9565
11657
|
],
|
|
9566
11658
|
"flags": {
|
|
9567
11659
|
"json": {
|
|
@@ -9577,11 +11669,51 @@
|
|
|
9577
11669
|
"allowNo": false,
|
|
9578
11670
|
"type": "boolean"
|
|
9579
11671
|
},
|
|
9580
|
-
"name": {
|
|
9581
|
-
"
|
|
9582
|
-
"
|
|
9583
|
-
"
|
|
9584
|
-
"
|
|
11672
|
+
"display-name": {
|
|
11673
|
+
"description": "Business name shown to customers",
|
|
11674
|
+
"name": "display-name",
|
|
11675
|
+
"hasDynamicHelp": false,
|
|
11676
|
+
"multiple": false,
|
|
11677
|
+
"type": "option"
|
|
11678
|
+
},
|
|
11679
|
+
"about": {
|
|
11680
|
+
"description": "Short about line (max 139 characters)",
|
|
11681
|
+
"name": "about",
|
|
11682
|
+
"hasDynamicHelp": false,
|
|
11683
|
+
"multiple": false,
|
|
11684
|
+
"type": "option"
|
|
11685
|
+
},
|
|
11686
|
+
"description": {
|
|
11687
|
+
"description": "Longer business description (max 512 characters)",
|
|
11688
|
+
"name": "description",
|
|
11689
|
+
"hasDynamicHelp": false,
|
|
11690
|
+
"multiple": false,
|
|
11691
|
+
"type": "option"
|
|
11692
|
+
},
|
|
11693
|
+
"category": {
|
|
11694
|
+
"description": "Business category",
|
|
11695
|
+
"name": "category",
|
|
11696
|
+
"hasDynamicHelp": false,
|
|
11697
|
+
"multiple": false,
|
|
11698
|
+
"type": "option"
|
|
11699
|
+
},
|
|
11700
|
+
"email": {
|
|
11701
|
+
"description": "Contact email shown on the profile",
|
|
11702
|
+
"name": "email",
|
|
11703
|
+
"hasDynamicHelp": false,
|
|
11704
|
+
"multiple": false,
|
|
11705
|
+
"type": "option"
|
|
11706
|
+
},
|
|
11707
|
+
"website": {
|
|
11708
|
+
"description": "Website URL shown on the profile",
|
|
11709
|
+
"name": "website",
|
|
11710
|
+
"hasDynamicHelp": false,
|
|
11711
|
+
"multiple": false,
|
|
11712
|
+
"type": "option"
|
|
11713
|
+
},
|
|
11714
|
+
"address": {
|
|
11715
|
+
"description": "Business address shown on the profile",
|
|
11716
|
+
"name": "address",
|
|
9585
11717
|
"hasDynamicHelp": false,
|
|
9586
11718
|
"multiple": false,
|
|
9587
11719
|
"type": "option"
|
|
@@ -9589,7 +11721,7 @@
|
|
|
9589
11721
|
},
|
|
9590
11722
|
"hasDynamicHelp": false,
|
|
9591
11723
|
"hiddenAliases": [],
|
|
9592
|
-
"id": "
|
|
11724
|
+
"id": "whatsapp:profile:update",
|
|
9593
11725
|
"pluginAlias": "@sendly/cli",
|
|
9594
11726
|
"pluginName": "@sendly/cli",
|
|
9595
11727
|
"pluginType": "core",
|
|
@@ -9598,24 +11730,19 @@
|
|
|
9598
11730
|
"relativePath": [
|
|
9599
11731
|
"dist",
|
|
9600
11732
|
"commands",
|
|
9601
|
-
"
|
|
9602
|
-
"
|
|
9603
|
-
"
|
|
11733
|
+
"whatsapp",
|
|
11734
|
+
"profile",
|
|
11735
|
+
"update.js"
|
|
9604
11736
|
]
|
|
9605
11737
|
},
|
|
9606
|
-
"
|
|
11738
|
+
"whatsapp:templates:create": {
|
|
9607
11739
|
"aliases": [],
|
|
9608
|
-
"args": {
|
|
9609
|
-
|
|
9610
|
-
"description": "Workspace ID",
|
|
9611
|
-
"name": "workspaceId",
|
|
9612
|
-
"required": true
|
|
9613
|
-
}
|
|
9614
|
-
},
|
|
9615
|
-
"description": "Delete an enterprise workspace",
|
|
11740
|
+
"args": {},
|
|
11741
|
+
"description": "Create a WhatsApp template and submit it to Meta for review",
|
|
9616
11742
|
"examples": [
|
|
9617
|
-
"<%= config.bin %>
|
|
9618
|
-
"<%= config.bin %>
|
|
11743
|
+
"<%= config.bin %> whatsapp templates create --sender +15551234567 --name order_shipped --language en_US --category utility --body \"Hi {{1}}, order {{2}} shipped!\" --example 1=TinyFat --example 2=4821",
|
|
11744
|
+
"<%= config.bin %> whatsapp templates create --sender +15551234567 --name summer_sale --language en_US --category marketing --body \"Our sale is on!\" --footer \"Reply STOP to opt out\" --button \"quick_reply:Stop promotions\"",
|
|
11745
|
+
"<%= config.bin %> whatsapp templates create --sender +15551234567 --name login_code --language en_US --category authentication --body \"{{1}} is your code\" --example 1=123456 --button \"otp:Copy code\""
|
|
9619
11746
|
],
|
|
9620
11747
|
"flags": {
|
|
9621
11748
|
"json": {
|
|
@@ -9631,17 +11758,88 @@
|
|
|
9631
11758
|
"allowNo": false,
|
|
9632
11759
|
"type": "boolean"
|
|
9633
11760
|
},
|
|
9634
|
-
"
|
|
9635
|
-
"char": "
|
|
9636
|
-
"description": "
|
|
9637
|
-
"name": "
|
|
9638
|
-
"
|
|
9639
|
-
"
|
|
11761
|
+
"sender": {
|
|
11762
|
+
"char": "s",
|
|
11763
|
+
"description": "WhatsApp-connected sender number (E.164 format)",
|
|
11764
|
+
"name": "sender",
|
|
11765
|
+
"required": true,
|
|
11766
|
+
"hasDynamicHelp": false,
|
|
11767
|
+
"multiple": false,
|
|
11768
|
+
"type": "option"
|
|
11769
|
+
},
|
|
11770
|
+
"name": {
|
|
11771
|
+
"char": "n",
|
|
11772
|
+
"description": "Template name (lowercase letters, numbers, and underscores)",
|
|
11773
|
+
"name": "name",
|
|
11774
|
+
"required": true,
|
|
11775
|
+
"hasDynamicHelp": false,
|
|
11776
|
+
"multiple": false,
|
|
11777
|
+
"type": "option"
|
|
11778
|
+
},
|
|
11779
|
+
"language": {
|
|
11780
|
+
"char": "l",
|
|
11781
|
+
"description": "Template language code (e.g. en_US)",
|
|
11782
|
+
"name": "language",
|
|
11783
|
+
"required": true,
|
|
11784
|
+
"hasDynamicHelp": false,
|
|
11785
|
+
"multiple": false,
|
|
11786
|
+
"type": "option"
|
|
11787
|
+
},
|
|
11788
|
+
"category": {
|
|
11789
|
+
"char": "c",
|
|
11790
|
+
"description": "Template category",
|
|
11791
|
+
"name": "category",
|
|
11792
|
+
"required": true,
|
|
11793
|
+
"hasDynamicHelp": false,
|
|
11794
|
+
"multiple": false,
|
|
11795
|
+
"options": [
|
|
11796
|
+
"authentication",
|
|
11797
|
+
"utility",
|
|
11798
|
+
"marketing"
|
|
11799
|
+
],
|
|
11800
|
+
"type": "option"
|
|
11801
|
+
},
|
|
11802
|
+
"body": {
|
|
11803
|
+
"char": "b",
|
|
11804
|
+
"description": "Body text; use {{1}}, {{2}}, ... for variables",
|
|
11805
|
+
"name": "body",
|
|
11806
|
+
"required": true,
|
|
11807
|
+
"hasDynamicHelp": false,
|
|
11808
|
+
"multiple": false,
|
|
11809
|
+
"type": "option"
|
|
11810
|
+
},
|
|
11811
|
+
"footer": {
|
|
11812
|
+
"description": "Footer text (optional)",
|
|
11813
|
+
"name": "footer",
|
|
11814
|
+
"hasDynamicHelp": false,
|
|
11815
|
+
"multiple": false,
|
|
11816
|
+
"type": "option"
|
|
11817
|
+
},
|
|
11818
|
+
"header": {
|
|
11819
|
+
"description": "Header text (optional)",
|
|
11820
|
+
"name": "header",
|
|
11821
|
+
"hasDynamicHelp": false,
|
|
11822
|
+
"multiple": false,
|
|
11823
|
+
"type": "option"
|
|
11824
|
+
},
|
|
11825
|
+
"button": {
|
|
11826
|
+
"description": "Button as \"type:text\" or \"url:text:https://...\" (types: quick_reply, url, otp). Repeatable.",
|
|
11827
|
+
"name": "button",
|
|
11828
|
+
"hasDynamicHelp": false,
|
|
11829
|
+
"multiple": true,
|
|
11830
|
+
"type": "option"
|
|
11831
|
+
},
|
|
11832
|
+
"example": {
|
|
11833
|
+
"description": "Example value for a body variable, as n=value (required for every {{n}}). Repeatable.",
|
|
11834
|
+
"name": "example",
|
|
11835
|
+
"hasDynamicHelp": false,
|
|
11836
|
+
"multiple": true,
|
|
11837
|
+
"type": "option"
|
|
9640
11838
|
}
|
|
9641
11839
|
},
|
|
9642
11840
|
"hasDynamicHelp": false,
|
|
9643
11841
|
"hiddenAliases": [],
|
|
9644
|
-
"id": "
|
|
11842
|
+
"id": "whatsapp:templates:create",
|
|
9645
11843
|
"pluginAlias": "@sendly/cli",
|
|
9646
11844
|
"pluginName": "@sendly/cli",
|
|
9647
11845
|
"pluginType": "core",
|
|
@@ -9650,24 +11848,24 @@
|
|
|
9650
11848
|
"relativePath": [
|
|
9651
11849
|
"dist",
|
|
9652
11850
|
"commands",
|
|
9653
|
-
"
|
|
9654
|
-
"
|
|
9655
|
-
"
|
|
11851
|
+
"whatsapp",
|
|
11852
|
+
"templates",
|
|
11853
|
+
"create.js"
|
|
9656
11854
|
]
|
|
9657
11855
|
},
|
|
9658
|
-
"
|
|
11856
|
+
"whatsapp:templates:delete": {
|
|
9659
11857
|
"aliases": [],
|
|
9660
11858
|
"args": {
|
|
9661
|
-
"
|
|
9662
|
-
"description": "
|
|
9663
|
-
"name": "
|
|
11859
|
+
"id": {
|
|
11860
|
+
"description": "Template ID",
|
|
11861
|
+
"name": "id",
|
|
9664
11862
|
"required": true
|
|
9665
11863
|
}
|
|
9666
11864
|
},
|
|
9667
|
-
"description": "
|
|
11865
|
+
"description": "Delete a WhatsApp template",
|
|
9668
11866
|
"examples": [
|
|
9669
|
-
"<%= config.bin %>
|
|
9670
|
-
"<%= config.bin %>
|
|
11867
|
+
"<%= config.bin %> whatsapp templates delete 3f6a1c9e-0000-0000-0000-000000000000",
|
|
11868
|
+
"<%= config.bin %> whatsapp templates delete 3f6a1c9e-0000-0000-0000-000000000000 --force"
|
|
9671
11869
|
],
|
|
9672
11870
|
"flags": {
|
|
9673
11871
|
"json": {
|
|
@@ -9682,11 +11880,18 @@
|
|
|
9682
11880
|
"name": "quiet",
|
|
9683
11881
|
"allowNo": false,
|
|
9684
11882
|
"type": "boolean"
|
|
11883
|
+
},
|
|
11884
|
+
"force": {
|
|
11885
|
+
"char": "f",
|
|
11886
|
+
"description": "Skip confirmation",
|
|
11887
|
+
"name": "force",
|
|
11888
|
+
"allowNo": false,
|
|
11889
|
+
"type": "boolean"
|
|
9685
11890
|
}
|
|
9686
11891
|
},
|
|
9687
11892
|
"hasDynamicHelp": false,
|
|
9688
11893
|
"hiddenAliases": [],
|
|
9689
|
-
"id": "
|
|
11894
|
+
"id": "whatsapp:templates:delete",
|
|
9690
11895
|
"pluginAlias": "@sendly/cli",
|
|
9691
11896
|
"pluginName": "@sendly/cli",
|
|
9692
11897
|
"pluginType": "core",
|
|
@@ -9695,18 +11900,18 @@
|
|
|
9695
11900
|
"relativePath": [
|
|
9696
11901
|
"dist",
|
|
9697
11902
|
"commands",
|
|
9698
|
-
"
|
|
9699
|
-
"
|
|
9700
|
-
"
|
|
11903
|
+
"whatsapp",
|
|
11904
|
+
"templates",
|
|
11905
|
+
"delete.js"
|
|
9701
11906
|
]
|
|
9702
11907
|
},
|
|
9703
|
-
"
|
|
11908
|
+
"whatsapp:templates:list": {
|
|
9704
11909
|
"aliases": [],
|
|
9705
11910
|
"args": {},
|
|
9706
|
-
"description": "List
|
|
11911
|
+
"description": "List your WhatsApp message templates",
|
|
9707
11912
|
"examples": [
|
|
9708
|
-
"<%= config.bin %>
|
|
9709
|
-
"<%= config.bin %>
|
|
11913
|
+
"<%= config.bin %> whatsapp templates list",
|
|
11914
|
+
"<%= config.bin %> whatsapp templates list --json"
|
|
9710
11915
|
],
|
|
9711
11916
|
"flags": {
|
|
9712
11917
|
"json": {
|
|
@@ -9725,7 +11930,7 @@
|
|
|
9725
11930
|
},
|
|
9726
11931
|
"hasDynamicHelp": false,
|
|
9727
11932
|
"hiddenAliases": [],
|
|
9728
|
-
"id": "
|
|
11933
|
+
"id": "whatsapp:templates:list",
|
|
9729
11934
|
"pluginAlias": "@sendly/cli",
|
|
9730
11935
|
"pluginName": "@sendly/cli",
|
|
9731
11936
|
"pluginType": "core",
|
|
@@ -9734,23 +11939,24 @@
|
|
|
9734
11939
|
"relativePath": [
|
|
9735
11940
|
"dist",
|
|
9736
11941
|
"commands",
|
|
9737
|
-
"
|
|
9738
|
-
"
|
|
11942
|
+
"whatsapp",
|
|
11943
|
+
"templates",
|
|
9739
11944
|
"list.js"
|
|
9740
11945
|
]
|
|
9741
11946
|
},
|
|
9742
|
-
"
|
|
11947
|
+
"whatsapp:templates:update": {
|
|
9743
11948
|
"aliases": [],
|
|
9744
11949
|
"args": {
|
|
9745
|
-
"
|
|
9746
|
-
"description": "
|
|
9747
|
-
"name": "
|
|
11950
|
+
"id": {
|
|
11951
|
+
"description": "Template ID",
|
|
11952
|
+
"name": "id",
|
|
9748
11953
|
"required": true
|
|
9749
11954
|
}
|
|
9750
11955
|
},
|
|
9751
|
-
"description": "
|
|
11956
|
+
"description": "Edit an approved or rejected WhatsApp template and resubmit it to Meta for review",
|
|
9752
11957
|
"examples": [
|
|
9753
|
-
"<%= config.bin %>
|
|
11958
|
+
"<%= config.bin %> whatsapp templates update 3f6a1c9e-0000-0000-0000-000000000000 --body \"Hi {{1}}, your order shipped!\" --example 1=TinyFat",
|
|
11959
|
+
"<%= config.bin %> whatsapp templates update 3f6a1c9e-0000-0000-0000-000000000000 --footer \"\""
|
|
9754
11960
|
],
|
|
9755
11961
|
"flags": {
|
|
9756
11962
|
"json": {
|
|
@@ -9765,11 +11971,47 @@
|
|
|
9765
11971
|
"name": "quiet",
|
|
9766
11972
|
"allowNo": false,
|
|
9767
11973
|
"type": "boolean"
|
|
11974
|
+
},
|
|
11975
|
+
"body": {
|
|
11976
|
+
"char": "b",
|
|
11977
|
+
"description": "New body text; use {{1}}, {{2}}, ... for variables",
|
|
11978
|
+
"name": "body",
|
|
11979
|
+
"hasDynamicHelp": false,
|
|
11980
|
+
"multiple": false,
|
|
11981
|
+
"type": "option"
|
|
11982
|
+
},
|
|
11983
|
+
"footer": {
|
|
11984
|
+
"description": "New footer text (pass \"\" to remove it)",
|
|
11985
|
+
"name": "footer",
|
|
11986
|
+
"hasDynamicHelp": false,
|
|
11987
|
+
"multiple": false,
|
|
11988
|
+
"type": "option"
|
|
11989
|
+
},
|
|
11990
|
+
"header": {
|
|
11991
|
+
"description": "New header text (pass \"\" to remove it)",
|
|
11992
|
+
"name": "header",
|
|
11993
|
+
"hasDynamicHelp": false,
|
|
11994
|
+
"multiple": false,
|
|
11995
|
+
"type": "option"
|
|
11996
|
+
},
|
|
11997
|
+
"button": {
|
|
11998
|
+
"description": "Replace all buttons: \"type:text\" or \"url:text:https://...\" (types: quick_reply, url, otp). Repeatable.",
|
|
11999
|
+
"name": "button",
|
|
12000
|
+
"hasDynamicHelp": false,
|
|
12001
|
+
"multiple": true,
|
|
12002
|
+
"type": "option"
|
|
12003
|
+
},
|
|
12004
|
+
"example": {
|
|
12005
|
+
"description": "Replace example values for body variables, as n=value. Repeatable.",
|
|
12006
|
+
"name": "example",
|
|
12007
|
+
"hasDynamicHelp": false,
|
|
12008
|
+
"multiple": true,
|
|
12009
|
+
"type": "option"
|
|
9768
12010
|
}
|
|
9769
12011
|
},
|
|
9770
12012
|
"hasDynamicHelp": false,
|
|
9771
12013
|
"hiddenAliases": [],
|
|
9772
|
-
"id": "
|
|
12014
|
+
"id": "whatsapp:templates:update",
|
|
9773
12015
|
"pluginAlias": "@sendly/cli",
|
|
9774
12016
|
"pluginName": "@sendly/cli",
|
|
9775
12017
|
"pluginType": "core",
|
|
@@ -9778,24 +12020,25 @@
|
|
|
9778
12020
|
"relativePath": [
|
|
9779
12021
|
"dist",
|
|
9780
12022
|
"commands",
|
|
9781
|
-
"
|
|
9782
|
-
"
|
|
9783
|
-
"
|
|
12023
|
+
"whatsapp",
|
|
12024
|
+
"templates",
|
|
12025
|
+
"update.js"
|
|
9784
12026
|
]
|
|
9785
12027
|
},
|
|
9786
|
-
"
|
|
12028
|
+
"rcs:agents:devices:set": {
|
|
9787
12029
|
"aliases": [],
|
|
9788
12030
|
"args": {
|
|
9789
|
-
"
|
|
9790
|
-
"description": "
|
|
9791
|
-
"name": "
|
|
12031
|
+
"id": {
|
|
12032
|
+
"description": "Agent ID",
|
|
12033
|
+
"name": "id",
|
|
9792
12034
|
"required": true
|
|
9793
12035
|
}
|
|
9794
12036
|
},
|
|
9795
|
-
"description": "
|
|
12037
|
+
"description": "Set the test devices invited to an RCS agent — the list you pass replaces the current one (up to 20)",
|
|
9796
12038
|
"examples": [
|
|
9797
|
-
"<%= config.bin %>
|
|
9798
|
-
"<%= config.bin %>
|
|
12039
|
+
"<%= config.bin %> rcs agents devices set 3f6a1c9e-0000-0000-0000-000000000000 --phone +13125550100 --phone +13125550101",
|
|
12040
|
+
"<%= config.bin %> rcs agents devices set 3f6a1c9e-0000-0000-0000-000000000000 --phone \"+13125550100=Front desk Pixel\"",
|
|
12041
|
+
"<%= config.bin %> rcs agents devices set 3f6a1c9e-0000-0000-0000-000000000000 --clear"
|
|
9799
12042
|
],
|
|
9800
12043
|
"flags": {
|
|
9801
12044
|
"json": {
|
|
@@ -9811,25 +12054,34 @@
|
|
|
9811
12054
|
"allowNo": false,
|
|
9812
12055
|
"type": "boolean"
|
|
9813
12056
|
},
|
|
9814
|
-
"
|
|
9815
|
-
"char": "
|
|
9816
|
-
"description": "
|
|
9817
|
-
"
|
|
12057
|
+
"phone": {
|
|
12058
|
+
"char": "p",
|
|
12059
|
+
"description": "Device phone number (E.164), optionally labelled as \"+13125550100=Label\". Repeatable.",
|
|
12060
|
+
"exclusive": [
|
|
12061
|
+
"clear"
|
|
12062
|
+
],
|
|
12063
|
+
"name": "phone",
|
|
9818
12064
|
"hasDynamicHelp": false,
|
|
9819
|
-
"multiple":
|
|
12065
|
+
"multiple": true,
|
|
9820
12066
|
"type": "option"
|
|
9821
12067
|
},
|
|
9822
|
-
"
|
|
9823
|
-
"
|
|
9824
|
-
"
|
|
9825
|
-
"name": "yes",
|
|
12068
|
+
"clear": {
|
|
12069
|
+
"description": "Remove every invited device",
|
|
12070
|
+
"name": "clear",
|
|
9826
12071
|
"allowNo": false,
|
|
9827
12072
|
"type": "boolean"
|
|
12073
|
+
},
|
|
12074
|
+
"idempotency-key": {
|
|
12075
|
+
"description": "Idempotency key (1-255 printable ASCII characters). Re-running with the same key within 24 hours returns the original result instead of saving again.",
|
|
12076
|
+
"name": "idempotency-key",
|
|
12077
|
+
"hasDynamicHelp": false,
|
|
12078
|
+
"multiple": false,
|
|
12079
|
+
"type": "option"
|
|
9828
12080
|
}
|
|
9829
12081
|
},
|
|
9830
12082
|
"hasDynamicHelp": false,
|
|
9831
12083
|
"hiddenAliases": [],
|
|
9832
|
-
"id": "
|
|
12084
|
+
"id": "rcs:agents:devices:set",
|
|
9833
12085
|
"pluginAlias": "@sendly/cli",
|
|
9834
12086
|
"pluginName": "@sendly/cli",
|
|
9835
12087
|
"pluginType": "core",
|
|
@@ -9838,11 +12090,12 @@
|
|
|
9838
12090
|
"relativePath": [
|
|
9839
12091
|
"dist",
|
|
9840
12092
|
"commands",
|
|
9841
|
-
"
|
|
9842
|
-
"
|
|
9843
|
-
"
|
|
12093
|
+
"rcs",
|
|
12094
|
+
"agents",
|
|
12095
|
+
"devices",
|
|
12096
|
+
"set.js"
|
|
9844
12097
|
]
|
|
9845
12098
|
}
|
|
9846
12099
|
},
|
|
9847
|
-
"version": "3.
|
|
12100
|
+
"version": "3.39.0"
|
|
9848
12101
|
}
|