@wirecat/hubspot-cli 0.1.0 → 0.2.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.
Files changed (90) hide show
  1. package/CHANGELOG.md +24 -0
  2. package/README.md +40 -16
  3. package/contracts/wirecat.json +1441 -136
  4. package/dist/bin/hubspot.js +2 -2
  5. package/dist/bundle/{app-server-422MCA7S.js → app-server-GXV2OFML.js} +5 -5
  6. package/dist/bundle/chunk-2UOJ7DLZ.js +46 -0
  7. package/dist/bundle/{chunk-BKXDHU3G.js → chunk-3WLYWRGG.js} +1 -1
  8. package/dist/bundle/{chunk-SAKK2YRU.js → chunk-GPYCBYX5.js} +1 -1
  9. package/dist/bundle/chunk-IJADZW42.js +195 -0
  10. package/dist/bundle/{chunk-2TWQIWWG.js → chunk-LXZ66MCH.js} +2 -2
  11. package/dist/bundle/{chunk-WQBX7XYP.js → chunk-MFNMKHML.js} +807 -519
  12. package/dist/bundle/{chunk-HTAN663T.js → chunk-Q2OLOMHL.js} +1 -1
  13. package/dist/bundle/{chunk-LNV33FDC.js → chunk-TLKEPUAV.js} +4 -4
  14. package/dist/bundle/{chunk-JRCPCVPI.js → chunk-URX6YDUL.js} +2 -2
  15. package/dist/bundle/{chunk-ZBDSHFG4.js → chunk-VOH7S5M4.js} +1301 -1271
  16. package/dist/bundle/{chunk-X7XUX7A4.js → chunk-YMCY7VRE.js} +4 -4
  17. package/dist/bundle/{chunk-VIEYMDBR.js → chunk-Z73OL5HV.js} +1 -1
  18. package/dist/bundle/{dist-MYZZKZJ7.js → dist-7TGU56B2.js} +1 -1
  19. package/dist/bundle/{first-run-RPIJZEDT.js → first-run-UWAFSINQ.js} +1 -1
  20. package/dist/bundle/hubspot.js +2 -2
  21. package/dist/bundle/{program-POG5GHUQ.js → program-XA4C44Z4.js} +173 -40
  22. package/dist/bundle/{server-XJSNF3K5.js → server-ATG5KY7K.js} +2 -2
  23. package/dist/bundle/{server-C3ZHA7AZ.js → server-VNWVVH7A.js} +5 -5
  24. package/dist/bundle/{source-A3SBLHC4.js → source-54HR4IWG.js} +68 -341
  25. package/dist/bundle/{store-CCDNUB6A.js → store-DXWYNVVB.js} +2 -2
  26. package/dist/bundle/{store-maintenance-command-BRCG6MNA.js → store-maintenance-command-J57HCJYY.js} +3 -3
  27. package/dist/bundle/writer-NLLI5YRM.js +79 -0
  28. package/dist/commands/api.d.ts +4 -4
  29. package/dist/commands/api.d.ts.map +1 -1
  30. package/dist/commands/api.js +12 -7
  31. package/dist/commands/api.js.map +1 -1
  32. package/dist/commands/crm-shared.d.ts +2 -2
  33. package/dist/commands/crm-shared.d.ts.map +1 -1
  34. package/dist/commands/crm-shared.js +20 -4
  35. package/dist/commands/crm-shared.js.map +1 -1
  36. package/dist/config.d.ts +46 -8
  37. package/dist/config.d.ts.map +1 -1
  38. package/dist/config.js +137 -12
  39. package/dist/config.js.map +1 -1
  40. package/dist/context.d.ts +2 -2
  41. package/dist/context.d.ts.map +1 -1
  42. package/dist/context.js +1 -1
  43. package/dist/context.js.map +1 -1
  44. package/dist/crm/source.d.ts +7 -2
  45. package/dist/crm/source.d.ts.map +1 -1
  46. package/dist/crm/source.js +26 -29
  47. package/dist/crm/source.js.map +1 -1
  48. package/dist/crm/writer.d.ts +15 -0
  49. package/dist/crm/writer.d.ts.map +1 -0
  50. package/dist/crm/writer.js +199 -0
  51. package/dist/crm/writer.js.map +1 -0
  52. package/dist/generated/manifest.d.ts.map +1 -1
  53. package/dist/generated/manifest.js +6 -1
  54. package/dist/generated/manifest.js.map +1 -1
  55. package/dist/hubspot/transport.d.ts +6 -1
  56. package/dist/hubspot/transport.d.ts.map +1 -1
  57. package/dist/hubspot/transport.js +13 -5
  58. package/dist/hubspot/transport.js.map +1 -1
  59. package/dist/identity.js +3 -3
  60. package/dist/identity.js.map +1 -1
  61. package/dist/program.d.ts.map +1 -1
  62. package/dist/program.js +2 -1
  63. package/dist/program.js.map +1 -1
  64. package/dist/setup/texts.en.json +3 -3
  65. package/dist/setup/texts.es.json +3 -3
  66. package/dist/setup/texts.ru.json +3 -3
  67. package/dist/version.d.ts +1 -1
  68. package/dist/version.js +1 -1
  69. package/package.json +2 -2
  70. package/skills/hubspot-cli/SKILL.md +13 -8
  71. package/skills/hubspot-cli/references/api/api-advanced.md +51 -0
  72. package/skills/hubspot-cli/references/api/api-basic.md +602 -0
  73. package/skills/hubspot-cli/references/api/api-batch.md +575 -0
  74. package/skills/hubspot-cli/references/api.md +3 -2
  75. package/dist/commands/comments.d.ts +0 -3
  76. package/dist/commands/comments.d.ts.map +0 -1
  77. package/dist/commands/comments.js +0 -114
  78. package/dist/commands/comments.js.map +0 -1
  79. package/dist/sample/comments.d.ts +0 -61
  80. package/dist/sample/comments.d.ts.map +0 -1
  81. package/dist/sample/comments.js +0 -39
  82. package/dist/sample/comments.js.map +0 -1
  83. package/dist/sample/records.d.ts +0 -16
  84. package/dist/sample/records.d.ts.map +0 -1
  85. package/dist/sample/records.js +0 -22
  86. package/dist/sample/records.js.map +0 -1
  87. package/dist/sample/transport.d.ts +0 -42
  88. package/dist/sample/transport.d.ts.map +0 -1
  89. package/dist/sample/transport.js +0 -153
  90. package/dist/sample/transport.js.map +0 -1
@@ -2,6 +2,62 @@
2
2
 
3
3
  # HubSpot API: Batch
4
4
 
5
+ ## `hubspot api associations-batch-archive [options]`
6
+
7
+ - What: Remove associations
8
+ - Call: `POST /crm/associations/2026-03/{fromObjectType}/{toObjectType}/batch/archive`, effect: destructive
9
+ - Permission keys: `associations.delete`
10
+ - Body: `BatchInputPublicAssociationMultiArchive`, required
11
+
12
+ | Flag | Required | What |
13
+ |---|---|---|
14
+ | `--from-object-type <value>` | yes | fromObjectType |
15
+ | `--to-object-type <value>` | yes | toObjectType |
16
+ | `--body <json>` | no | the request body as JSON; - reads it from stdin |
17
+ | `--body-file <path>` | no | the request body from a JSON file; - is stdin |
18
+
19
+ ## `hubspot api associations-batch-associate-default [options]`
20
+
21
+ - What: Create Default Associations
22
+ - Call: `POST /crm/associations/2026-03/{fromObjectType}/{toObjectType}/batch/associate/default`, effect: write
23
+ - Permission keys: `associations.write`
24
+ - Body: `BatchInputPublicDefaultAssociationMultiPost`, required
25
+
26
+ | Flag | Required | What |
27
+ |---|---|---|
28
+ | `--from-object-type <value>` | yes | fromObjectType |
29
+ | `--to-object-type <value>` | yes | toObjectType |
30
+ | `--body <json>` | no | the request body as JSON; - reads it from stdin |
31
+ | `--body-file <path>` | no | the request body from a JSON file; - is stdin |
32
+
33
+ ## `hubspot api associations-batch-create [options]`
34
+
35
+ - What: Associate records (labelled)
36
+ - Call: `POST /crm/associations/2026-03/{fromObjectType}/{toObjectType}/batch/create`, effect: write
37
+ - Permission keys: `associations.write`
38
+ - Body: `BatchInputPublicAssociationMultiPost`, required
39
+
40
+ | Flag | Required | What |
41
+ |---|---|---|
42
+ | `--from-object-type <value>` | yes | fromObjectType |
43
+ | `--to-object-type <value>` | yes | toObjectType |
44
+ | `--body <json>` | no | the request body as JSON; - reads it from stdin |
45
+ | `--body-file <path>` | no | the request body from a JSON file; - is stdin |
46
+
47
+ ## `hubspot api associations-batch-labels-archive [options]`
48
+
49
+ - What: Delete Specific Labels
50
+ - Call: `POST /crm/associations/2026-03/{fromObjectType}/{toObjectType}/batch/labels/archive`, effect: destructive
51
+ - Permission keys: `associations.delete`
52
+ - Body: `BatchInputPublicAssociationMultiPost`, required
53
+
54
+ | Flag | Required | What |
55
+ |---|---|---|
56
+ | `--from-object-type <value>` | yes | fromObjectType |
57
+ | `--to-object-type <value>` | yes | toObjectType |
58
+ | `--body <json>` | no | the request body as JSON; - reads it from stdin |
59
+ | `--body-file <path>` | no | the request body from a JSON file; - is stdin |
60
+
5
61
  ## `hubspot api associations-batch-read [options]`
6
62
 
7
63
  - What: Retrieve associations
@@ -15,6 +71,43 @@
15
71
  | `--body <json>` | no | the request body as JSON; - reads it from stdin |
16
72
  | `--body-file <path>` | no | the request body from a JSON file; - is stdin |
17
73
 
74
+ ## `hubspot api associations-default-replace [options]`
75
+
76
+ - What: put-/crm/objects/2026-03/{fromObjectType}/{fromObjectId}/associations/default/{toObjectType}/{toObjectId}_/crm/objects/2026-03/{fromObjectType}/{fromObjectId}/associations/default/{toObjectType}/{toObjectId}
77
+ - Call: `PUT /crm/objects/2026-03/{fromObjectType}/{fromObjectId}/associations/default/{toObjectType}/{toObjectId}`, effect: write
78
+ - Permission keys: `associations.write`
79
+
80
+ | Flag | Required | What |
81
+ |---|---|---|
82
+ | `--from-object-id <value>` | yes | fromObjectId |
83
+ | `--from-object-type <value>` | yes | fromObjectType |
84
+ | `--to-object-id <value>` | yes | toObjectId |
85
+ | `--to-object-type <value>` | yes | toObjectType |
86
+
87
+ ## `hubspot api calls-batch-archive [options]`
88
+
89
+ - What: Archive a batch of calls by ID
90
+ - Call: `POST /crm/objects/2026-03/calls/batch/archive`, effect: destructive
91
+ - Permission keys: `calls.delete`
92
+ - Body: `BatchInputSimplePublicObjectId`, required
93
+
94
+ | Flag | Required | What |
95
+ |---|---|---|
96
+ | `--body <json>` | no | the request body as JSON; - reads it from stdin |
97
+ | `--body-file <path>` | no | the request body from a JSON file; - is stdin |
98
+
99
+ ## `hubspot api calls-batch-create [options]`
100
+
101
+ - What: Create a batch of calls
102
+ - Call: `POST /crm/objects/2026-03/calls/batch/create`, effect: write
103
+ - Permission keys: `calls.write`, `crm.assign-others`
104
+ - Body: `BatchInputSimplePublicObjectBatchInputForCreate`, required
105
+
106
+ | Flag | Required | What |
107
+ |---|---|---|
108
+ | `--body <json>` | no | the request body as JSON; - reads it from stdin |
109
+ | `--body-file <path>` | no | the request body from a JSON file; - is stdin |
110
+
18
111
  ## `hubspot api calls-batch-read [options]`
19
112
 
20
113
  - What: Read a batch of calls by internal ID, or unique property values
@@ -27,6 +120,54 @@
27
120
  | `--body <json>` | no | the request body as JSON; - reads it from stdin |
28
121
  | `--body-file <path>` | no | the request body from a JSON file; - is stdin |
29
122
 
123
+ ## `hubspot api calls-batch-update [options]`
124
+
125
+ - What: Update a batch of calls by internal ID, or unique property values
126
+ - Call: `POST /crm/objects/2026-03/calls/batch/update`, effect: write
127
+ - Permission keys: `calls.write`, `crm.assign-others`
128
+ - Body: `BatchInputSimplePublicObjectBatchInput`, required
129
+
130
+ | Flag | Required | What |
131
+ |---|---|---|
132
+ | `--body <json>` | no | the request body as JSON; - reads it from stdin |
133
+ | `--body-file <path>` | no | the request body from a JSON file; - is stdin |
134
+
135
+ ## `hubspot api calls-batch-upsert [options]`
136
+
137
+ - What: Create or update a batch of calls by unique property values
138
+ - Call: `POST /crm/objects/2026-03/calls/batch/upsert`, effect: write
139
+ - Permission keys: `calls.write`, `crm.assign-others`
140
+ - Body: `BatchInputSimplePublicObjectBatchInputUpsert`, required
141
+
142
+ | Flag | Required | What |
143
+ |---|---|---|
144
+ | `--body <json>` | no | the request body as JSON; - reads it from stdin |
145
+ | `--body-file <path>` | no | the request body from a JSON file; - is stdin |
146
+
147
+ ## `hubspot api companies-batch-archive [options]`
148
+
149
+ - What: Archive a batch of companies
150
+ - Call: `POST /crm/objects/2026-03/companies/batch/archive`, effect: destructive
151
+ - Permission keys: `organizations.delete`
152
+ - Body: `BatchInputSimplePublicObjectId`, required
153
+
154
+ | Flag | Required | What |
155
+ |---|---|---|
156
+ | `--body <json>` | no | the request body as JSON; - reads it from stdin |
157
+ | `--body-file <path>` | no | the request body from a JSON file; - is stdin |
158
+
159
+ ## `hubspot api companies-batch-create [options]`
160
+
161
+ - What: Create a batch of companies
162
+ - Call: `POST /crm/objects/2026-03/companies/batch/create`, effect: write
163
+ - Permission keys: `organizations.write`, `organizations.create`, `crm.assign-others`
164
+ - Body: `BatchInputSimplePublicObjectBatchInputForCreate`, required
165
+
166
+ | Flag | Required | What |
167
+ |---|---|---|
168
+ | `--body <json>` | no | the request body as JSON; - reads it from stdin |
169
+ | `--body-file <path>` | no | the request body from a JSON file; - is stdin |
170
+
30
171
  ## `hubspot api companies-batch-read [options]`
31
172
 
32
173
  - What: Retrieve a batch of companies
@@ -39,6 +180,54 @@
39
180
  | `--body <json>` | no | the request body as JSON; - reads it from stdin |
40
181
  | `--body-file <path>` | no | the request body from a JSON file; - is stdin |
41
182
 
183
+ ## `hubspot api companies-batch-update [options]`
184
+
185
+ - What: Update a batch of companies
186
+ - Call: `POST /crm/objects/2026-03/companies/batch/update`, effect: write
187
+ - Permission keys: `organizations.write`, `organizations.update`, `crm.assign-others`
188
+ - Body: `BatchInputSimplePublicObjectBatchInput`, required
189
+
190
+ | Flag | Required | What |
191
+ |---|---|---|
192
+ | `--body <json>` | no | the request body as JSON; - reads it from stdin |
193
+ | `--body-file <path>` | no | the request body from a JSON file; - is stdin |
194
+
195
+ ## `hubspot api companies-batch-upsert [options]`
196
+
197
+ - What: Create or update a batch of companies by unique property values
198
+ - Call: `POST /crm/objects/2026-03/companies/batch/upsert`, effect: write
199
+ - Permission keys: `organizations.write`, `organizations.create`, `organizations.update`, `crm.assign-others`
200
+ - Body: `BatchInputSimplePublicObjectBatchInputUpsert`, required
201
+
202
+ | Flag | Required | What |
203
+ |---|---|---|
204
+ | `--body <json>` | no | the request body as JSON; - reads it from stdin |
205
+ | `--body-file <path>` | no | the request body from a JSON file; - is stdin |
206
+
207
+ ## `hubspot api contacts-batch-archive [options]`
208
+
209
+ - What: Archive a batch of contacts
210
+ - Call: `POST /crm/objects/2026-03/contacts/batch/archive`, effect: destructive
211
+ - Permission keys: `people.delete`
212
+ - Body: `BatchInputSimplePublicObjectId`, required
213
+
214
+ | Flag | Required | What |
215
+ |---|---|---|
216
+ | `--body <json>` | no | the request body as JSON; - reads it from stdin |
217
+ | `--body-file <path>` | no | the request body from a JSON file; - is stdin |
218
+
219
+ ## `hubspot api contacts-batch-create [options]`
220
+
221
+ - What: Create a batch of contacts
222
+ - Call: `POST /crm/objects/2026-03/contacts/batch/create`, effect: write
223
+ - Permission keys: `people.write`, `people.create`, `crm.assign-others`
224
+ - Body: `BatchInputSimplePublicObjectBatchInputForCreate`, required
225
+
226
+ | Flag | Required | What |
227
+ |---|---|---|
228
+ | `--body <json>` | no | the request body as JSON; - reads it from stdin |
229
+ | `--body-file <path>` | no | the request body from a JSON file; - is stdin |
230
+
42
231
  ## `hubspot api contacts-batch-read [options]`
43
232
 
44
233
  - What: Retrieve a batch of contacts
@@ -51,6 +240,54 @@
51
240
  | `--body <json>` | no | the request body as JSON; - reads it from stdin |
52
241
  | `--body-file <path>` | no | the request body from a JSON file; - is stdin |
53
242
 
243
+ ## `hubspot api contacts-batch-update [options]`
244
+
245
+ - What: Update a batch of contacts
246
+ - Call: `POST /crm/objects/2026-03/contacts/batch/update`, effect: write
247
+ - Permission keys: `people.write`, `people.update`, `crm.assign-others`
248
+ - Body: `BatchInputSimplePublicObjectBatchInput`, required
249
+
250
+ | Flag | Required | What |
251
+ |---|---|---|
252
+ | `--body <json>` | no | the request body as JSON; - reads it from stdin |
253
+ | `--body-file <path>` | no | the request body from a JSON file; - is stdin |
254
+
255
+ ## `hubspot api contacts-batch-upsert [options]`
256
+
257
+ - What: Create or update a batch of contacts
258
+ - Call: `POST /crm/objects/2026-03/contacts/batch/upsert`, effect: write
259
+ - Permission keys: `people.write`, `people.create`, `people.update`, `crm.assign-others`
260
+ - Body: `BatchInputSimplePublicObjectBatchInputUpsert`, required
261
+
262
+ | Flag | Required | What |
263
+ |---|---|---|
264
+ | `--body <json>` | no | the request body as JSON; - reads it from stdin |
265
+ | `--body-file <path>` | no | the request body from a JSON file; - is stdin |
266
+
267
+ ## `hubspot api deals-batch-archive [options]`
268
+
269
+ - What: Archive a batch of deals by ID
270
+ - Call: `POST /crm/objects/2026-03/0-3/batch/archive`, effect: destructive
271
+ - Permission keys: `deals.delete`
272
+ - Body: `BatchInputSimplePublicObjectId`, required
273
+
274
+ | Flag | Required | What |
275
+ |---|---|---|
276
+ | `--body <json>` | no | the request body as JSON; - reads it from stdin |
277
+ | `--body-file <path>` | no | the request body from a JSON file; - is stdin |
278
+
279
+ ## `hubspot api deals-batch-create [options]`
280
+
281
+ - What: Create a batch of deals
282
+ - Call: `POST /crm/objects/2026-03/0-3/batch/create`, effect: write
283
+ - Permission keys: `deals.write`, `deals.create`, `crm.assign-others`, `deals.move`, `deals.close`
284
+ - Body: `BatchInputSimplePublicObjectBatchInputForCreate`, required
285
+
286
+ | Flag | Required | What |
287
+ |---|---|---|
288
+ | `--body <json>` | no | the request body as JSON; - reads it from stdin |
289
+ | `--body-file <path>` | no | the request body from a JSON file; - is stdin |
290
+
54
291
  ## `hubspot api deals-batch-read [options]`
55
292
 
56
293
  - What: Read a batch of deals by internal ID, or unique property values
@@ -63,6 +300,54 @@
63
300
  | `--body <json>` | no | the request body as JSON; - reads it from stdin |
64
301
  | `--body-file <path>` | no | the request body from a JSON file; - is stdin |
65
302
 
303
+ ## `hubspot api deals-batch-update [options]`
304
+
305
+ - What: Update a batch of deals by internal ID, or unique property values
306
+ - Call: `POST /crm/objects/2026-03/0-3/batch/update`, effect: write
307
+ - Permission keys: `deals.write`, `deals.update`, `crm.assign-others`, `deals.move`, `deals.close`
308
+ - Body: `BatchInputSimplePublicObjectBatchInput`, required
309
+
310
+ | Flag | Required | What |
311
+ |---|---|---|
312
+ | `--body <json>` | no | the request body as JSON; - reads it from stdin |
313
+ | `--body-file <path>` | no | the request body from a JSON file; - is stdin |
314
+
315
+ ## `hubspot api deals-batch-upsert [options]`
316
+
317
+ - What: Create or update a batch of deals by unique property values
318
+ - Call: `POST /crm/objects/2026-03/0-3/batch/upsert`, effect: write
319
+ - Permission keys: `deals.write`, `deals.create`, `deals.update`, `crm.assign-others`, `deals.move`, `deals.close`
320
+ - Body: `BatchInputSimplePublicObjectBatchInputUpsert`, required
321
+
322
+ | Flag | Required | What |
323
+ |---|---|---|
324
+ | `--body <json>` | no | the request body as JSON; - reads it from stdin |
325
+ | `--body-file <path>` | no | the request body from a JSON file; - is stdin |
326
+
327
+ ## `hubspot api emails-batch-archive [options]`
328
+
329
+ - What: Archive a batch of emails by ID
330
+ - Call: `POST /crm/objects/2026-03/emails/batch/archive`, effect: destructive
331
+ - Permission keys: `emails.delete`
332
+ - Body: `BatchInputSimplePublicObjectId`, required
333
+
334
+ | Flag | Required | What |
335
+ |---|---|---|
336
+ | `--body <json>` | no | the request body as JSON; - reads it from stdin |
337
+ | `--body-file <path>` | no | the request body from a JSON file; - is stdin |
338
+
339
+ ## `hubspot api emails-batch-create [options]`
340
+
341
+ - What: Create a batch of emails
342
+ - Call: `POST /crm/objects/2026-03/emails/batch/create`, effect: write
343
+ - Permission keys: `emails.write`, `crm.assign-others`
344
+ - Body: `BatchInputSimplePublicObjectBatchInputForCreate`, required
345
+
346
+ | Flag | Required | What |
347
+ |---|---|---|
348
+ | `--body <json>` | no | the request body as JSON; - reads it from stdin |
349
+ | `--body-file <path>` | no | the request body from a JSON file; - is stdin |
350
+
66
351
  ## `hubspot api emails-batch-read [options]`
67
352
 
68
353
  - What: Read a batch of emails by internal ID, or unique property values
@@ -75,6 +360,54 @@
75
360
  | `--body <json>` | no | the request body as JSON; - reads it from stdin |
76
361
  | `--body-file <path>` | no | the request body from a JSON file; - is stdin |
77
362
 
363
+ ## `hubspot api emails-batch-update [options]`
364
+
365
+ - What: Update a batch of emails by internal ID, or unique property values
366
+ - Call: `POST /crm/objects/2026-03/emails/batch/update`, effect: write
367
+ - Permission keys: `emails.write`, `crm.assign-others`
368
+ - Body: `BatchInputSimplePublicObjectBatchInput`, required
369
+
370
+ | Flag | Required | What |
371
+ |---|---|---|
372
+ | `--body <json>` | no | the request body as JSON; - reads it from stdin |
373
+ | `--body-file <path>` | no | the request body from a JSON file; - is stdin |
374
+
375
+ ## `hubspot api emails-batch-upsert [options]`
376
+
377
+ - What: Create or update a batch of emails by unique property values
378
+ - Call: `POST /crm/objects/2026-03/emails/batch/upsert`, effect: write
379
+ - Permission keys: `emails.write`, `crm.assign-others`
380
+ - Body: `BatchInputSimplePublicObjectBatchInputUpsert`, required
381
+
382
+ | Flag | Required | What |
383
+ |---|---|---|
384
+ | `--body <json>` | no | the request body as JSON; - reads it from stdin |
385
+ | `--body-file <path>` | no | the request body from a JSON file; - is stdin |
386
+
387
+ ## `hubspot api leads-batch-archive [options]`
388
+
389
+ - What: Archive a batch of leads by ID
390
+ - Call: `POST /crm/objects/2026-03/leads/batch/archive`, effect: destructive
391
+ - Permission keys: `leads.delete`
392
+ - Body: `BatchInputSimplePublicObjectId`, required
393
+
394
+ | Flag | Required | What |
395
+ |---|---|---|
396
+ | `--body <json>` | no | the request body as JSON; - reads it from stdin |
397
+ | `--body-file <path>` | no | the request body from a JSON file; - is stdin |
398
+
399
+ ## `hubspot api leads-batch-create [options]`
400
+
401
+ - What: Create a batch of leads
402
+ - Call: `POST /crm/objects/2026-03/leads/batch/create`, effect: write
403
+ - Permission keys: `leads.write`, `crm.assign-others`
404
+ - Body: `BatchInputSimplePublicObjectBatchInputForCreate`, required
405
+
406
+ | Flag | Required | What |
407
+ |---|---|---|
408
+ | `--body <json>` | no | the request body as JSON; - reads it from stdin |
409
+ | `--body-file <path>` | no | the request body from a JSON file; - is stdin |
410
+
78
411
  ## `hubspot api leads-batch-read [options]`
79
412
 
80
413
  - What: Read a batch of leads by internal ID, or unique property values
@@ -87,6 +420,54 @@
87
420
  | `--body <json>` | no | the request body as JSON; - reads it from stdin |
88
421
  | `--body-file <path>` | no | the request body from a JSON file; - is stdin |
89
422
 
423
+ ## `hubspot api leads-batch-update [options]`
424
+
425
+ - What: Update a batch of leads by internal ID, or unique property values
426
+ - Call: `POST /crm/objects/2026-03/leads/batch/update`, effect: write
427
+ - Permission keys: `leads.write`, `crm.assign-others`
428
+ - Body: `BatchInputSimplePublicObjectBatchInput`, required
429
+
430
+ | Flag | Required | What |
431
+ |---|---|---|
432
+ | `--body <json>` | no | the request body as JSON; - reads it from stdin |
433
+ | `--body-file <path>` | no | the request body from a JSON file; - is stdin |
434
+
435
+ ## `hubspot api leads-batch-upsert [options]`
436
+
437
+ - What: Create or update a batch of leads by unique property values
438
+ - Call: `POST /crm/objects/2026-03/leads/batch/upsert`, effect: write
439
+ - Permission keys: `leads.write`, `crm.assign-others`
440
+ - Body: `BatchInputSimplePublicObjectBatchInputUpsert`, required
441
+
442
+ | Flag | Required | What |
443
+ |---|---|---|
444
+ | `--body <json>` | no | the request body as JSON; - reads it from stdin |
445
+ | `--body-file <path>` | no | the request body from a JSON file; - is stdin |
446
+
447
+ ## `hubspot api meetings-batch-archive [options]`
448
+
449
+ - What: Archive a batch of meetings by ID
450
+ - Call: `POST /crm/objects/2026-03/meetings/batch/archive`, effect: destructive
451
+ - Permission keys: `meetings.delete`
452
+ - Body: `BatchInputSimplePublicObjectId`, required
453
+
454
+ | Flag | Required | What |
455
+ |---|---|---|
456
+ | `--body <json>` | no | the request body as JSON; - reads it from stdin |
457
+ | `--body-file <path>` | no | the request body from a JSON file; - is stdin |
458
+
459
+ ## `hubspot api meetings-batch-create [options]`
460
+
461
+ - What: Create a batch of meetings
462
+ - Call: `POST /crm/objects/2026-03/meetings/batch/create`, effect: write
463
+ - Permission keys: `meetings.write`, `crm.assign-others`
464
+ - Body: `BatchInputSimplePublicObjectBatchInputForCreate`, required
465
+
466
+ | Flag | Required | What |
467
+ |---|---|---|
468
+ | `--body <json>` | no | the request body as JSON; - reads it from stdin |
469
+ | `--body-file <path>` | no | the request body from a JSON file; - is stdin |
470
+
90
471
  ## `hubspot api meetings-batch-read [options]`
91
472
 
92
473
  - What: Read a batch of meetings by internal ID, or unique property values
@@ -99,6 +480,54 @@
99
480
  | `--body <json>` | no | the request body as JSON; - reads it from stdin |
100
481
  | `--body-file <path>` | no | the request body from a JSON file; - is stdin |
101
482
 
483
+ ## `hubspot api meetings-batch-update [options]`
484
+
485
+ - What: Update a batch of meetings by internal ID, or unique property values
486
+ - Call: `POST /crm/objects/2026-03/meetings/batch/update`, effect: write
487
+ - Permission keys: `meetings.write`, `crm.assign-others`
488
+ - Body: `BatchInputSimplePublicObjectBatchInput`, required
489
+
490
+ | Flag | Required | What |
491
+ |---|---|---|
492
+ | `--body <json>` | no | the request body as JSON; - reads it from stdin |
493
+ | `--body-file <path>` | no | the request body from a JSON file; - is stdin |
494
+
495
+ ## `hubspot api meetings-batch-upsert [options]`
496
+
497
+ - What: Create or update a batch of meetings by unique property values
498
+ - Call: `POST /crm/objects/2026-03/meetings/batch/upsert`, effect: write
499
+ - Permission keys: `meetings.write`, `crm.assign-others`
500
+ - Body: `BatchInputSimplePublicObjectBatchInputUpsert`, required
501
+
502
+ | Flag | Required | What |
503
+ |---|---|---|
504
+ | `--body <json>` | no | the request body as JSON; - reads it from stdin |
505
+ | `--body-file <path>` | no | the request body from a JSON file; - is stdin |
506
+
507
+ ## `hubspot api notes-batch-archive [options]`
508
+
509
+ - What: Archive a batch of notes by ID
510
+ - Call: `POST /crm/objects/2026-03/notes/batch/archive`, effect: destructive
511
+ - Permission keys: `notes.delete`
512
+ - Body: `BatchInputSimplePublicObjectId`, required
513
+
514
+ | Flag | Required | What |
515
+ |---|---|---|
516
+ | `--body <json>` | no | the request body as JSON; - reads it from stdin |
517
+ | `--body-file <path>` | no | the request body from a JSON file; - is stdin |
518
+
519
+ ## `hubspot api notes-batch-create [options]`
520
+
521
+ - What: Create a batch of notes
522
+ - Call: `POST /crm/objects/2026-03/notes/batch/create`, effect: write
523
+ - Permission keys: `notes.write`, `crm.assign-others`
524
+ - Body: `BatchInputSimplePublicObjectBatchInputForCreate`, required
525
+
526
+ | Flag | Required | What |
527
+ |---|---|---|
528
+ | `--body <json>` | no | the request body as JSON; - reads it from stdin |
529
+ | `--body-file <path>` | no | the request body from a JSON file; - is stdin |
530
+
102
531
  ## `hubspot api notes-batch-read [options]`
103
532
 
104
533
  - What: Read a batch of notes by internal ID, or unique property values
@@ -111,6 +540,56 @@
111
540
  | `--body <json>` | no | the request body as JSON; - reads it from stdin |
112
541
  | `--body-file <path>` | no | the request body from a JSON file; - is stdin |
113
542
 
543
+ ## `hubspot api notes-batch-update [options]`
544
+
545
+ - What: Update a batch of notes by internal ID, or unique property values
546
+ - Call: `POST /crm/objects/2026-03/notes/batch/update`, effect: write
547
+ - Permission keys: `notes.write`, `crm.assign-others`
548
+ - Body: `BatchInputSimplePublicObjectBatchInput`, required
549
+
550
+ | Flag | Required | What |
551
+ |---|---|---|
552
+ | `--body <json>` | no | the request body as JSON; - reads it from stdin |
553
+ | `--body-file <path>` | no | the request body from a JSON file; - is stdin |
554
+
555
+ ## `hubspot api notes-batch-upsert [options]`
556
+
557
+ - What: Create or update a batch of notes by unique property values
558
+ - Call: `POST /crm/objects/2026-03/notes/batch/upsert`, effect: write
559
+ - Permission keys: `notes.write`, `crm.assign-others`
560
+ - Body: `BatchInputSimplePublicObjectBatchInputUpsert`, required
561
+
562
+ | Flag | Required | What |
563
+ |---|---|---|
564
+ | `--body <json>` | no | the request body as JSON; - reads it from stdin |
565
+ | `--body-file <path>` | no | the request body from a JSON file; - is stdin |
566
+
567
+ ## `hubspot api properties-batch-archive [options]`
568
+
569
+ - What: Archive a batch of properties
570
+ - Call: `POST /crm/properties/2026-03/{objectType}/batch/archive`, effect: destructive
571
+ - Permission keys: `fields.delete`
572
+ - Body: `BatchInputPropertyName`, required
573
+
574
+ | Flag | Required | What |
575
+ |---|---|---|
576
+ | `--object-type <value>` | yes | The type of object whose properties are to be archived. This is a required parameter and identifies the specific object type within HubSpot. |
577
+ | `--body <json>` | no | the request body as JSON; - reads it from stdin |
578
+ | `--body-file <path>` | no | the request body from a JSON file; - is stdin |
579
+
580
+ ## `hubspot api properties-batch-create [options]`
581
+
582
+ - What: Create a batch of properties
583
+ - Call: `POST /crm/properties/2026-03/{objectType}/batch/create`, effect: write
584
+ - Permission keys: `fields.write`
585
+ - Body: `BatchInputPropertyCreate`, required
586
+
587
+ | Flag | Required | What |
588
+ |---|---|---|
589
+ | `--object-type <value>` | yes | The type of CRM object for which the properties are being created, such as contacts, companies, or deals. |
590
+ | `--body <json>` | no | the request body as JSON; - reads it from stdin |
591
+ | `--body-file <path>` | no | the request body from a JSON file; - is stdin |
592
+
114
593
  ## `hubspot api properties-batch-read [options]`
115
594
 
116
595
  - What: Read a batch of properties
@@ -124,6 +603,30 @@
124
603
  | `--body <json>` | no | the request body as JSON; - reads it from stdin |
125
604
  | `--body-file <path>` | no | the request body from a JSON file; - is stdin |
126
605
 
606
+ ## `hubspot api tasks-batch-archive [options]`
607
+
608
+ - What: Archive a batch of tasks by ID
609
+ - Call: `POST /crm/objects/2026-03/tasks/batch/archive`, effect: destructive
610
+ - Permission keys: `tasks.delete`
611
+ - Body: `BatchInputSimplePublicObjectId`, required
612
+
613
+ | Flag | Required | What |
614
+ |---|---|---|
615
+ | `--body <json>` | no | the request body as JSON; - reads it from stdin |
616
+ | `--body-file <path>` | no | the request body from a JSON file; - is stdin |
617
+
618
+ ## `hubspot api tasks-batch-create [options]`
619
+
620
+ - What: Create a batch of tasks
621
+ - Call: `POST /crm/objects/2026-03/tasks/batch/create`, effect: write
622
+ - Permission keys: `tasks.write`, `crm.assign-others`
623
+ - Body: `BatchInputSimplePublicObjectBatchInputForCreate`, required
624
+
625
+ | Flag | Required | What |
626
+ |---|---|---|
627
+ | `--body <json>` | no | the request body as JSON; - reads it from stdin |
628
+ | `--body-file <path>` | no | the request body from a JSON file; - is stdin |
629
+
127
630
  ## `hubspot api tasks-batch-read [options]`
128
631
 
129
632
  - What: Read a batch of tasks by internal ID, or unique property values
@@ -136,6 +639,54 @@
136
639
  | `--body <json>` | no | the request body as JSON; - reads it from stdin |
137
640
  | `--body-file <path>` | no | the request body from a JSON file; - is stdin |
138
641
 
642
+ ## `hubspot api tasks-batch-update [options]`
643
+
644
+ - What: Update a batch of tasks by internal ID, or unique property values
645
+ - Call: `POST /crm/objects/2026-03/tasks/batch/update`, effect: write
646
+ - Permission keys: `tasks.write`, `crm.assign-others`
647
+ - Body: `BatchInputSimplePublicObjectBatchInput`, required
648
+
649
+ | Flag | Required | What |
650
+ |---|---|---|
651
+ | `--body <json>` | no | the request body as JSON; - reads it from stdin |
652
+ | `--body-file <path>` | no | the request body from a JSON file; - is stdin |
653
+
654
+ ## `hubspot api tasks-batch-upsert [options]`
655
+
656
+ - What: Create or update a batch of tasks by unique property values
657
+ - Call: `POST /crm/objects/2026-03/tasks/batch/upsert`, effect: write
658
+ - Permission keys: `tasks.write`, `crm.assign-others`
659
+ - Body: `BatchInputSimplePublicObjectBatchInputUpsert`, required
660
+
661
+ | Flag | Required | What |
662
+ |---|---|---|
663
+ | `--body <json>` | no | the request body as JSON; - reads it from stdin |
664
+ | `--body-file <path>` | no | the request body from a JSON file; - is stdin |
665
+
666
+ ## `hubspot api tickets-batch-archive [options]`
667
+
668
+ - What: Archive a batch of tickets by ID
669
+ - Call: `POST /crm/objects/2026-03/tickets/batch/archive`, effect: destructive
670
+ - Permission keys: `tickets.delete`
671
+ - Body: `BatchInputSimplePublicObjectId`, required
672
+
673
+ | Flag | Required | What |
674
+ |---|---|---|
675
+ | `--body <json>` | no | the request body as JSON; - reads it from stdin |
676
+ | `--body-file <path>` | no | the request body from a JSON file; - is stdin |
677
+
678
+ ## `hubspot api tickets-batch-create [options]`
679
+
680
+ - What: Create a batch of tickets
681
+ - Call: `POST /crm/objects/2026-03/tickets/batch/create`, effect: write
682
+ - Permission keys: `tickets.write`, `crm.assign-others`
683
+ - Body: `BatchInputSimplePublicObjectBatchInputForCreate`, required
684
+
685
+ | Flag | Required | What |
686
+ |---|---|---|
687
+ | `--body <json>` | no | the request body as JSON; - reads it from stdin |
688
+ | `--body-file <path>` | no | the request body from a JSON file; - is stdin |
689
+
139
690
  ## `hubspot api tickets-batch-read [options]`
140
691
 
141
692
  - What: Read a batch of tickets by internal ID, or unique property values
@@ -147,3 +698,27 @@
147
698
  | `--archived <value>` | no | Whether to return only results that have been archived. |
148
699
  | `--body <json>` | no | the request body as JSON; - reads it from stdin |
149
700
  | `--body-file <path>` | no | the request body from a JSON file; - is stdin |
701
+
702
+ ## `hubspot api tickets-batch-update [options]`
703
+
704
+ - What: Update a batch of tickets by internal ID, or unique property values
705
+ - Call: `POST /crm/objects/2026-03/tickets/batch/update`, effect: write
706
+ - Permission keys: `tickets.write`, `crm.assign-others`
707
+ - Body: `BatchInputSimplePublicObjectBatchInput`, required
708
+
709
+ | Flag | Required | What |
710
+ |---|---|---|
711
+ | `--body <json>` | no | the request body as JSON; - reads it from stdin |
712
+ | `--body-file <path>` | no | the request body from a JSON file; - is stdin |
713
+
714
+ ## `hubspot api tickets-batch-upsert [options]`
715
+
716
+ - What: Create or update a batch of tickets by unique property values
717
+ - Call: `POST /crm/objects/2026-03/tickets/batch/upsert`, effect: write
718
+ - Permission keys: `tickets.write`, `crm.assign-others`
719
+ - Body: `BatchInputSimplePublicObjectBatchInputUpsert`, required
720
+
721
+ | Flag | Required | What |
722
+ |---|---|---|
723
+ | `--body <json>` | no | the request body as JSON; - reads it from stdin |
724
+ | `--body-file <path>` | no | the request body from a JSON file; - is stdin |
@@ -10,6 +10,7 @@ Effects: `read` changes nothing; `write` changes the service; `destructive` dele
10
10
 
11
11
  | Group | Read with | Commands | read | write | destructive |
12
12
  |---|---|---|---|---|---|
13
- | Basic | `hubspot skill show api-basic` | 35 | 35 | 0 | 0 |
14
- | Batch | `hubspot skill show api-batch` | 12 | 12 | 0 | 0 |
13
+ | Advanced | `hubspot skill show api-advanced` | 4 | 0 | 0 | 4 |
14
+ | Basic | `hubspot skill show api-basic` | 83 | 35 | 31 | 17 |
15
+ | Batch | `hubspot skill show api-batch` | 59 | 12 | 34 | 13 |
15
16
  | Search | `hubspot skill show api-search` | 11 | 11 | 0 | 0 |
@@ -1,3 +0,0 @@
1
- import { Command } from "commander";
2
- export declare const commentsCommand: () => Command;
3
- //# sourceMappingURL=comments.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"comments.d.ts","sourceRoot":"","sources":["../../src/commands/comments.ts"],"names":[],"mappings":"AAmBA,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAA;AA6InC,eAAO,MAAM,eAAe,QAAO,OAMH,CAAA"}