@kyoji2/intercom-cli 0.1.4 → 0.1.6

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 CHANGED
@@ -62,7 +62,7 @@ intercom contact delete <id>
62
62
  intercom conversation list
63
63
  intercom conversation search --state open
64
64
  intercom conversation get <id>
65
- intercom conversation reply <id> --admin <admin-id> --body "Thank you!"
65
+ intercom conversation reply <id> --admin <admin-id> --body "Internal triage note" --type note
66
66
  intercom conversation close <id> --admin <admin-id>
67
67
 
68
68
  # Manage companies
@@ -86,7 +86,8 @@ intercom event track --name "purchase" --user-id "user123"
86
86
  intercom ticket create --type-id 1234 --contact-id abc123 --title "Issue"
87
87
  intercom ticket search --state open
88
88
  intercom ticket get <id>
89
- intercom ticket reply <id> --admin <admin-id> --body "We're on it!"
89
+ intercom ticket reply <id> --admin <admin-id> --body "We're on it!" --type comment
90
+ intercom ticket reply <id> --admin <admin-id> --body "Internal note" --json '{"message_type":"note"}'
90
91
  intercom ticket close <id> --admin <admin-id>
91
92
 
92
93
  # List ticket types
@@ -135,6 +136,9 @@ intercom ticket-type list
135
136
  | `intercom conversation snooze <id>` | Snooze conversation |
136
137
  | `intercom conversation convert <id>` | Convert conversation to ticket |
137
138
 
139
+ `intercom conversation reply` supports `--type <comment|note>` and `--json <json>`.
140
+ Message type precedence: `--type` > `--json.message_type` > `comment`.
141
+
138
142
  ### Companies
139
143
 
140
144
  | Command | Description |
@@ -191,6 +195,9 @@ intercom ticket-type list
191
195
  | `intercom ticket close <id>` | Close a ticket |
192
196
  | `intercom ticket assign <id>` | Assign ticket to admin/team |
193
197
 
198
+ `intercom ticket reply` supports `--type <comment|note>` and `--json <json>`.
199
+ Message type precedence: `--type` > `--json.message_type` > `comment`.
200
+
194
201
  ### Ticket Types
195
202
 
196
203
  | Command | Description |