@kyoji2/intercom-cli 0.1.0 → 0.1.4

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
@@ -81,6 +81,16 @@ intercom article get <id>
81
81
 
82
82
  # Track events
83
83
  intercom event track --name "purchase" --user-id "user123"
84
+
85
+ # Manage tickets
86
+ intercom ticket create --type-id 1234 --contact-id abc123 --title "Issue"
87
+ intercom ticket search --state open
88
+ intercom ticket get <id>
89
+ intercom ticket reply <id> --admin <admin-id> --body "We're on it!"
90
+ intercom ticket close <id> --admin <admin-id>
91
+
92
+ # List ticket types
93
+ intercom ticket-type list
84
94
  ```
85
95
 
86
96
  ## Commands
@@ -123,6 +133,7 @@ intercom event track --name "purchase" --user-id "user123"
123
133
  | `intercom conversation close <id>` | Close conversation |
124
134
  | `intercom conversation open <id>` | Reopen conversation |
125
135
  | `intercom conversation snooze <id>` | Snooze conversation |
136
+ | `intercom conversation convert <id>` | Convert conversation to ticket |
126
137
 
127
138
  ### Companies
128
139
 
@@ -167,6 +178,26 @@ intercom event track --name "purchase" --user-id "user123"
167
178
  | `intercom event track` | Track a custom event |
168
179
  | `intercom event list` | List events for a user |
169
180
 
181
+ ### Tickets
182
+
183
+ | Command | Description |
184
+ |---------|-------------|
185
+ | `intercom ticket create` | Create a new ticket |
186
+ | `intercom ticket get <id>` | Get ticket details |
187
+ | `intercom ticket update <id>` | Update a ticket |
188
+ | `intercom ticket delete <id>` | Delete a ticket |
189
+ | `intercom ticket search` | Search tickets |
190
+ | `intercom ticket reply <id>` | Reply to a ticket |
191
+ | `intercom ticket close <id>` | Close a ticket |
192
+ | `intercom ticket assign <id>` | Assign ticket to admin/team |
193
+
194
+ ### Ticket Types
195
+
196
+ | Command | Description |
197
+ |---------|-------------|
198
+ | `intercom ticket-type list` | List all ticket types |
199
+ | `intercom ticket-type get <id>` | Get ticket type details |
200
+
170
201
  ## Global Options
171
202
 
172
203
  All commands support:
@@ -174,6 +205,7 @@ All commands support:
174
205
  ```bash
175
206
  --dry-run # Log actions without making API calls
176
207
  -f, --format <format> # Output format: toon (default) or json
208
+ --config-dir <path> # Config directory (default: ~/.config/intercom-cli)
177
209
  -v, --version # Show version
178
210
  -h, --help # Show help
179
211
  ```