@primitivedotdev/sdk 0.18.0 → 0.19.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 +165 -65
- package/dist/api/generated/index.js +1 -1
- package/dist/api/generated/sdk.gen.js +49 -1
- package/dist/api/index.d.ts +2 -2
- package/dist/api/index.js +39 -7
- package/dist/{api-DrAZhxS-.js → api-C5VR_Opg.js} +81 -7
- package/dist/contract/index.d.ts +2 -2
- package/dist/contract/index.js +1 -1
- package/dist/{index-CbEivn3S.d.ts → index-CDlwyxdp.d.ts} +7 -7
- package/dist/{index-CHWqMBs6.d.ts → index-oRkCqj6u.d.ts} +195 -13
- package/dist/index.d.ts +2 -2
- package/dist/index.js +2 -2
- package/dist/oclif/api-command.js +46 -6
- package/dist/oclif/auth.js +168 -0
- package/dist/oclif/commands/emails-latest.js +18 -4
- package/dist/oclif/commands/login.js +233 -0
- package/dist/oclif/commands/logout.js +87 -0
- package/dist/oclif/commands/send.js +29 -7
- package/dist/oclif/commands/whoami.js +18 -4
- package/dist/oclif/fish-completion.js +1 -1
- package/dist/oclif/index.js +6 -0
- package/dist/openapi/openapi.generated.js +385 -2
- package/dist/openapi/operations.generated.js +178 -1
- package/dist/webhook/index.d.ts +1 -1
- package/dist/webhook/index.js +1 -1
- package/dist/{webhook-zkN4wUTs.js → webhook-rUjGV6Zu.js} +4 -4
- package/oclif.manifest.json +291 -38
- package/package.json +5 -2
package/oclif.manifest.json
CHANGED
|
@@ -80,7 +80,7 @@
|
|
|
80
80
|
],
|
|
81
81
|
"flags": {
|
|
82
82
|
"api-key": {
|
|
83
|
-
"description": "Primitive API key (defaults to PRIMITIVE_API_KEY)",
|
|
83
|
+
"description": "Primitive API key (defaults to PRIMITIVE_API_KEY or saved `primitive login` credentials)",
|
|
84
84
|
"env": "PRIMITIVE_API_KEY",
|
|
85
85
|
"name": "api-key",
|
|
86
86
|
"hasDynamicHelp": false,
|
|
@@ -168,6 +168,82 @@
|
|
|
168
168
|
"summary": "Send an email (simplified, agent-friendly)",
|
|
169
169
|
"enableJsonFlag": false
|
|
170
170
|
},
|
|
171
|
+
"login": {
|
|
172
|
+
"aliases": [],
|
|
173
|
+
"args": {},
|
|
174
|
+
"description": "Log in by opening Primitive in your browser and saving an org-scoped CLI API key locally.",
|
|
175
|
+
"examples": [
|
|
176
|
+
"<%= config.bin %> login",
|
|
177
|
+
"<%= config.bin %> login --device-name work-laptop",
|
|
178
|
+
"<%= config.bin %> login --force"
|
|
179
|
+
],
|
|
180
|
+
"flags": {
|
|
181
|
+
"base-url": {
|
|
182
|
+
"description": "API base URL (defaults to PRIMITIVE_API_URL or production)",
|
|
183
|
+
"env": "PRIMITIVE_API_URL",
|
|
184
|
+
"name": "base-url",
|
|
185
|
+
"hasDynamicHelp": false,
|
|
186
|
+
"multiple": false,
|
|
187
|
+
"type": "option"
|
|
188
|
+
},
|
|
189
|
+
"device-name": {
|
|
190
|
+
"description": "Device name shown in the browser approval screen",
|
|
191
|
+
"name": "device-name",
|
|
192
|
+
"hasDynamicHelp": false,
|
|
193
|
+
"multiple": false,
|
|
194
|
+
"type": "option"
|
|
195
|
+
},
|
|
196
|
+
"no-browser": {
|
|
197
|
+
"description": "Do not attempt to open the browser automatically",
|
|
198
|
+
"name": "no-browser",
|
|
199
|
+
"allowNo": false,
|
|
200
|
+
"type": "boolean"
|
|
201
|
+
},
|
|
202
|
+
"force": {
|
|
203
|
+
"char": "f",
|
|
204
|
+
"description": "Replace saved credentials without first verifying the existing login",
|
|
205
|
+
"name": "force",
|
|
206
|
+
"allowNo": false,
|
|
207
|
+
"type": "boolean"
|
|
208
|
+
}
|
|
209
|
+
},
|
|
210
|
+
"hasDynamicHelp": false,
|
|
211
|
+
"hiddenAliases": [],
|
|
212
|
+
"id": "login",
|
|
213
|
+
"pluginAlias": "@primitivedotdev/sdk",
|
|
214
|
+
"pluginName": "@primitivedotdev/sdk",
|
|
215
|
+
"pluginType": "core",
|
|
216
|
+
"strict": true,
|
|
217
|
+
"summary": "Log in with browser approval",
|
|
218
|
+
"enableJsonFlag": false
|
|
219
|
+
},
|
|
220
|
+
"logout": {
|
|
221
|
+
"aliases": [],
|
|
222
|
+
"args": {},
|
|
223
|
+
"description": "Log out by revoking the saved Primitive CLI API key and deleting local credentials.",
|
|
224
|
+
"examples": [
|
|
225
|
+
"<%= config.bin %> logout"
|
|
226
|
+
],
|
|
227
|
+
"flags": {
|
|
228
|
+
"base-url": {
|
|
229
|
+
"description": "Override the API base URL used for key revocation",
|
|
230
|
+
"env": "PRIMITIVE_API_URL",
|
|
231
|
+
"name": "base-url",
|
|
232
|
+
"hasDynamicHelp": false,
|
|
233
|
+
"multiple": false,
|
|
234
|
+
"type": "option"
|
|
235
|
+
}
|
|
236
|
+
},
|
|
237
|
+
"hasDynamicHelp": false,
|
|
238
|
+
"hiddenAliases": [],
|
|
239
|
+
"id": "logout",
|
|
240
|
+
"pluginAlias": "@primitivedotdev/sdk",
|
|
241
|
+
"pluginName": "@primitivedotdev/sdk",
|
|
242
|
+
"pluginType": "core",
|
|
243
|
+
"strict": true,
|
|
244
|
+
"summary": "Log out and revoke the saved CLI key",
|
|
245
|
+
"enableJsonFlag": false
|
|
246
|
+
},
|
|
171
247
|
"whoami": {
|
|
172
248
|
"aliases": [],
|
|
173
249
|
"args": {},
|
|
@@ -178,7 +254,7 @@
|
|
|
178
254
|
],
|
|
179
255
|
"flags": {
|
|
180
256
|
"api-key": {
|
|
181
|
-
"description": "Primitive API key (defaults to PRIMITIVE_API_KEY)",
|
|
257
|
+
"description": "Primitive API key (defaults to PRIMITIVE_API_KEY or saved `primitive login` credentials)",
|
|
182
258
|
"env": "PRIMITIVE_API_KEY",
|
|
183
259
|
"name": "api-key",
|
|
184
260
|
"hasDynamicHelp": false,
|
|
@@ -222,7 +298,7 @@
|
|
|
222
298
|
],
|
|
223
299
|
"flags": {
|
|
224
300
|
"api-key": {
|
|
225
|
-
"description": "Primitive API key (defaults to PRIMITIVE_API_KEY)",
|
|
301
|
+
"description": "Primitive API key (defaults to PRIMITIVE_API_KEY or saved `primitive login` credentials)",
|
|
226
302
|
"env": "PRIMITIVE_API_KEY",
|
|
227
303
|
"name": "api-key",
|
|
228
304
|
"hasDynamicHelp": false,
|
|
@@ -274,7 +350,7 @@
|
|
|
274
350
|
"description": "GET /account",
|
|
275
351
|
"flags": {
|
|
276
352
|
"api-key": {
|
|
277
|
-
"description": "Primitive API key (defaults to PRIMITIVE_API_KEY)",
|
|
353
|
+
"description": "Primitive API key (defaults to PRIMITIVE_API_KEY or saved `primitive login` credentials)",
|
|
278
354
|
"env": "PRIMITIVE_API_KEY",
|
|
279
355
|
"name": "api-key",
|
|
280
356
|
"hasDynamicHelp": false,
|
|
@@ -312,7 +388,7 @@
|
|
|
312
388
|
"description": "GET /account/storage",
|
|
313
389
|
"flags": {
|
|
314
390
|
"api-key": {
|
|
315
|
-
"description": "Primitive API key (defaults to PRIMITIVE_API_KEY)",
|
|
391
|
+
"description": "Primitive API key (defaults to PRIMITIVE_API_KEY or saved `primitive login` credentials)",
|
|
316
392
|
"env": "PRIMITIVE_API_KEY",
|
|
317
393
|
"name": "api-key",
|
|
318
394
|
"hasDynamicHelp": false,
|
|
@@ -350,7 +426,7 @@
|
|
|
350
426
|
"description": "Returns the webhook signing secret for your account. If no\nsecret exists yet, one is generated automatically on first\naccess.\n\nSigning is account-scoped, not per-endpoint. Every webhook\ndelivery from any of your registered endpoints is signed\nwith this single secret. Rotate via\n`POST /account/webhook-secret/rotate`.\n\n**Secret format**: the returned string looks base64-shaped\n(e.g. `XNHBBW8VqoBjRfNs1tkZj11jTk...`) but is NOT base64.\nUse it AS-IS as a UTF-8 string when computing HMAC over a\ndelivery body. Base64-decoding before HMAC will silently\nproduce mismatched signatures.\n\nSee the API-level \"Webhook signing\" section for the full\nwire format (header name, signed string shape, hash algo,\ntolerance) including a language-agnostic verification\nrecipe.\n",
|
|
351
427
|
"flags": {
|
|
352
428
|
"api-key": {
|
|
353
|
-
"description": "Primitive API key (defaults to PRIMITIVE_API_KEY)",
|
|
429
|
+
"description": "Primitive API key (defaults to PRIMITIVE_API_KEY or saved `primitive login` credentials)",
|
|
354
430
|
"env": "PRIMITIVE_API_KEY",
|
|
355
431
|
"name": "api-key",
|
|
356
432
|
"hasDynamicHelp": false,
|
|
@@ -388,7 +464,7 @@
|
|
|
388
464
|
"description": "Generates a new webhook signing secret, replacing the current one.\nRate limited to once per 60 minutes.\n",
|
|
389
465
|
"flags": {
|
|
390
466
|
"api-key": {
|
|
391
|
-
"description": "Primitive API key (defaults to PRIMITIVE_API_KEY)",
|
|
467
|
+
"description": "Primitive API key (defaults to PRIMITIVE_API_KEY or saved `primitive login` credentials)",
|
|
392
468
|
"env": "PRIMITIVE_API_KEY",
|
|
393
469
|
"name": "api-key",
|
|
394
470
|
"hasDynamicHelp": false,
|
|
@@ -426,7 +502,7 @@
|
|
|
426
502
|
"description": "PATCH /account",
|
|
427
503
|
"flags": {
|
|
428
504
|
"api-key": {
|
|
429
|
-
"description": "Primitive API key (defaults to PRIMITIVE_API_KEY)",
|
|
505
|
+
"description": "Primitive API key (defaults to PRIMITIVE_API_KEY or saved `primitive login` credentials)",
|
|
430
506
|
"env": "PRIMITIVE_API_KEY",
|
|
431
507
|
"name": "api-key",
|
|
432
508
|
"hasDynamicHelp": false,
|
|
@@ -485,13 +561,190 @@
|
|
|
485
561
|
"summary": "Update account settings",
|
|
486
562
|
"enableJsonFlag": false
|
|
487
563
|
},
|
|
564
|
+
"cli:cli-logout": {
|
|
565
|
+
"aliases": [],
|
|
566
|
+
"args": {},
|
|
567
|
+
"description": "Revokes the API key used to authenticate the request. CLI clients use\nthis endpoint during `primitive logout` before removing local credentials.\n",
|
|
568
|
+
"flags": {
|
|
569
|
+
"api-key": {
|
|
570
|
+
"description": "Primitive API key (defaults to PRIMITIVE_API_KEY or saved `primitive login` credentials)",
|
|
571
|
+
"env": "PRIMITIVE_API_KEY",
|
|
572
|
+
"name": "api-key",
|
|
573
|
+
"hasDynamicHelp": false,
|
|
574
|
+
"multiple": false,
|
|
575
|
+
"type": "option"
|
|
576
|
+
},
|
|
577
|
+
"base-url": {
|
|
578
|
+
"description": "API base URL (defaults to PRIMITIVE_API_URL or production)",
|
|
579
|
+
"env": "PRIMITIVE_API_URL",
|
|
580
|
+
"name": "base-url",
|
|
581
|
+
"hasDynamicHelp": false,
|
|
582
|
+
"multiple": false,
|
|
583
|
+
"type": "option"
|
|
584
|
+
},
|
|
585
|
+
"time": {
|
|
586
|
+
"description": "Print the wall-clock duration of this command to stderr after it completes (e.g. `[time: 1.34s]`). Useful for measuring `--wait` send latency, comparing CLI overhead, or capturing timing in scripts.",
|
|
587
|
+
"name": "time",
|
|
588
|
+
"allowNo": false,
|
|
589
|
+
"type": "boolean"
|
|
590
|
+
},
|
|
591
|
+
"raw-body": {
|
|
592
|
+
"description": "Full request body as raw JSON. Escape hatch for nested or complex fields (e.g. arrays); prefer per-field flags (e.g. --to, --from, --body-text) when available.",
|
|
593
|
+
"name": "raw-body",
|
|
594
|
+
"hasDynamicHelp": false,
|
|
595
|
+
"multiple": false,
|
|
596
|
+
"type": "option"
|
|
597
|
+
},
|
|
598
|
+
"body-file": {
|
|
599
|
+
"description": "Path to a JSON file used as the request body. Same role as --raw-body for callers passing a saved payload.",
|
|
600
|
+
"name": "body-file",
|
|
601
|
+
"hasDynamicHelp": false,
|
|
602
|
+
"multiple": false,
|
|
603
|
+
"type": "option"
|
|
604
|
+
},
|
|
605
|
+
"key-id": {
|
|
606
|
+
"description": "Optional key id guard; when provided it must match the authenticated API key",
|
|
607
|
+
"name": "key-id",
|
|
608
|
+
"hasDynamicHelp": false,
|
|
609
|
+
"multiple": false,
|
|
610
|
+
"type": "option"
|
|
611
|
+
}
|
|
612
|
+
},
|
|
613
|
+
"hasDynamicHelp": false,
|
|
614
|
+
"hiddenAliases": [],
|
|
615
|
+
"id": "cli:cli-logout",
|
|
616
|
+
"pluginAlias": "@primitivedotdev/sdk",
|
|
617
|
+
"pluginName": "@primitivedotdev/sdk",
|
|
618
|
+
"pluginType": "core",
|
|
619
|
+
"strict": true,
|
|
620
|
+
"summary": "Revoke the current CLI API key",
|
|
621
|
+
"enableJsonFlag": false
|
|
622
|
+
},
|
|
623
|
+
"cli:poll-cli-login": {
|
|
624
|
+
"aliases": [],
|
|
625
|
+
"args": {},
|
|
626
|
+
"description": "Polls a CLI login session until the browser approval either succeeds,\nis denied, expires, or is polled too quickly. The API key is generated\nonly after approval and is returned exactly once.\n",
|
|
627
|
+
"flags": {
|
|
628
|
+
"api-key": {
|
|
629
|
+
"description": "Primitive API key (defaults to PRIMITIVE_API_KEY or saved `primitive login` credentials)",
|
|
630
|
+
"env": "PRIMITIVE_API_KEY",
|
|
631
|
+
"name": "api-key",
|
|
632
|
+
"hasDynamicHelp": false,
|
|
633
|
+
"multiple": false,
|
|
634
|
+
"type": "option"
|
|
635
|
+
},
|
|
636
|
+
"base-url": {
|
|
637
|
+
"description": "API base URL (defaults to PRIMITIVE_API_URL or production)",
|
|
638
|
+
"env": "PRIMITIVE_API_URL",
|
|
639
|
+
"name": "base-url",
|
|
640
|
+
"hasDynamicHelp": false,
|
|
641
|
+
"multiple": false,
|
|
642
|
+
"type": "option"
|
|
643
|
+
},
|
|
644
|
+
"time": {
|
|
645
|
+
"description": "Print the wall-clock duration of this command to stderr after it completes (e.g. `[time: 1.34s]`). Useful for measuring `--wait` send latency, comparing CLI overhead, or capturing timing in scripts.",
|
|
646
|
+
"name": "time",
|
|
647
|
+
"allowNo": false,
|
|
648
|
+
"type": "boolean"
|
|
649
|
+
},
|
|
650
|
+
"raw-body": {
|
|
651
|
+
"description": "Full request body as raw JSON. Escape hatch for nested or complex fields (e.g. arrays); prefer per-field flags (e.g. --to, --from, --body-text) when available.",
|
|
652
|
+
"name": "raw-body",
|
|
653
|
+
"hasDynamicHelp": false,
|
|
654
|
+
"multiple": false,
|
|
655
|
+
"type": "option"
|
|
656
|
+
},
|
|
657
|
+
"body-file": {
|
|
658
|
+
"description": "Path to a JSON file used as the request body. Same role as --raw-body for callers passing a saved payload.",
|
|
659
|
+
"name": "body-file",
|
|
660
|
+
"hasDynamicHelp": false,
|
|
661
|
+
"multiple": false,
|
|
662
|
+
"type": "option"
|
|
663
|
+
},
|
|
664
|
+
"device-code": {
|
|
665
|
+
"description": "device_code",
|
|
666
|
+
"name": "device-code",
|
|
667
|
+
"hasDynamicHelp": false,
|
|
668
|
+
"multiple": false,
|
|
669
|
+
"type": "option"
|
|
670
|
+
}
|
|
671
|
+
},
|
|
672
|
+
"hasDynamicHelp": false,
|
|
673
|
+
"hiddenAliases": [],
|
|
674
|
+
"id": "cli:poll-cli-login",
|
|
675
|
+
"pluginAlias": "@primitivedotdev/sdk",
|
|
676
|
+
"pluginName": "@primitivedotdev/sdk",
|
|
677
|
+
"pluginType": "core",
|
|
678
|
+
"strict": true,
|
|
679
|
+
"summary": "Poll CLI browser login",
|
|
680
|
+
"enableJsonFlag": false
|
|
681
|
+
},
|
|
682
|
+
"cli:start-cli-login": {
|
|
683
|
+
"aliases": [],
|
|
684
|
+
"args": {},
|
|
685
|
+
"description": "Starts a browser-assisted CLI login session. The response includes a\ndevice code for polling and a user code that the user approves in the\nbrowser. This endpoint does not require an API key.\n\n\nBody fields requiring --raw-body JSON (these are not exposed as flags):\n metadata object Optional client metadata stored with the login session; serialized JSON mus...\n(* = required. Scalar body fields are exposed as individual --flag-name flags; see FLAGS above.)",
|
|
686
|
+
"flags": {
|
|
687
|
+
"api-key": {
|
|
688
|
+
"description": "Primitive API key (defaults to PRIMITIVE_API_KEY or saved `primitive login` credentials)",
|
|
689
|
+
"env": "PRIMITIVE_API_KEY",
|
|
690
|
+
"name": "api-key",
|
|
691
|
+
"hasDynamicHelp": false,
|
|
692
|
+
"multiple": false,
|
|
693
|
+
"type": "option"
|
|
694
|
+
},
|
|
695
|
+
"base-url": {
|
|
696
|
+
"description": "API base URL (defaults to PRIMITIVE_API_URL or production)",
|
|
697
|
+
"env": "PRIMITIVE_API_URL",
|
|
698
|
+
"name": "base-url",
|
|
699
|
+
"hasDynamicHelp": false,
|
|
700
|
+
"multiple": false,
|
|
701
|
+
"type": "option"
|
|
702
|
+
},
|
|
703
|
+
"time": {
|
|
704
|
+
"description": "Print the wall-clock duration of this command to stderr after it completes (e.g. `[time: 1.34s]`). Useful for measuring `--wait` send latency, comparing CLI overhead, or capturing timing in scripts.",
|
|
705
|
+
"name": "time",
|
|
706
|
+
"allowNo": false,
|
|
707
|
+
"type": "boolean"
|
|
708
|
+
},
|
|
709
|
+
"raw-body": {
|
|
710
|
+
"description": "Full request body as raw JSON. Escape hatch for nested or complex fields (e.g. arrays); prefer per-field flags (e.g. --to, --from, --body-text) when available.",
|
|
711
|
+
"name": "raw-body",
|
|
712
|
+
"hasDynamicHelp": false,
|
|
713
|
+
"multiple": false,
|
|
714
|
+
"type": "option"
|
|
715
|
+
},
|
|
716
|
+
"body-file": {
|
|
717
|
+
"description": "Path to a JSON file used as the request body. Same role as --raw-body for callers passing a saved payload.",
|
|
718
|
+
"name": "body-file",
|
|
719
|
+
"hasDynamicHelp": false,
|
|
720
|
+
"multiple": false,
|
|
721
|
+
"type": "option"
|
|
722
|
+
},
|
|
723
|
+
"device-name": {
|
|
724
|
+
"description": "Human-readable device name shown during browser approval",
|
|
725
|
+
"name": "device-name",
|
|
726
|
+
"hasDynamicHelp": false,
|
|
727
|
+
"multiple": false,
|
|
728
|
+
"type": "option"
|
|
729
|
+
}
|
|
730
|
+
},
|
|
731
|
+
"hasDynamicHelp": false,
|
|
732
|
+
"hiddenAliases": [],
|
|
733
|
+
"id": "cli:start-cli-login",
|
|
734
|
+
"pluginAlias": "@primitivedotdev/sdk",
|
|
735
|
+
"pluginName": "@primitivedotdev/sdk",
|
|
736
|
+
"pluginType": "core",
|
|
737
|
+
"strict": true,
|
|
738
|
+
"summary": "Start CLI browser login",
|
|
739
|
+
"enableJsonFlag": false
|
|
740
|
+
},
|
|
488
741
|
"domains:add-domain": {
|
|
489
742
|
"aliases": [],
|
|
490
743
|
"args": {},
|
|
491
744
|
"description": "Creates an unverified domain claim. You will receive a\n`verification_token` to add as a DNS TXT record before\ncalling the verify endpoint.\n",
|
|
492
745
|
"flags": {
|
|
493
746
|
"api-key": {
|
|
494
|
-
"description": "Primitive API key (defaults to PRIMITIVE_API_KEY)",
|
|
747
|
+
"description": "Primitive API key (defaults to PRIMITIVE_API_KEY or saved `primitive login` credentials)",
|
|
495
748
|
"env": "PRIMITIVE_API_KEY",
|
|
496
749
|
"name": "api-key",
|
|
497
750
|
"hasDynamicHelp": false,
|
|
@@ -550,7 +803,7 @@
|
|
|
550
803
|
"description": "Deletes a verified or unverified domain claim.",
|
|
551
804
|
"flags": {
|
|
552
805
|
"api-key": {
|
|
553
|
-
"description": "Primitive API key (defaults to PRIMITIVE_API_KEY)",
|
|
806
|
+
"description": "Primitive API key (defaults to PRIMITIVE_API_KEY or saved `primitive login` credentials)",
|
|
554
807
|
"env": "PRIMITIVE_API_KEY",
|
|
555
808
|
"name": "api-key",
|
|
556
809
|
"hasDynamicHelp": false,
|
|
@@ -596,7 +849,7 @@
|
|
|
596
849
|
"description": "Returns all verified and unverified domains for your organization,\nsorted by creation date (newest first). Each domain includes a\n`verified` boolean to distinguish between the two states.\n",
|
|
597
850
|
"flags": {
|
|
598
851
|
"api-key": {
|
|
599
|
-
"description": "Primitive API key (defaults to PRIMITIVE_API_KEY)",
|
|
852
|
+
"description": "Primitive API key (defaults to PRIMITIVE_API_KEY or saved `primitive login` credentials)",
|
|
600
853
|
"env": "PRIMITIVE_API_KEY",
|
|
601
854
|
"name": "api-key",
|
|
602
855
|
"hasDynamicHelp": false,
|
|
@@ -634,7 +887,7 @@
|
|
|
634
887
|
"description": "Update a verified domain's settings. Only verified domains can be\nupdated. Per-domain spam thresholds require a Pro plan.\n",
|
|
635
888
|
"flags": {
|
|
636
889
|
"api-key": {
|
|
637
|
-
"description": "Primitive API key (defaults to PRIMITIVE_API_KEY)",
|
|
890
|
+
"description": "Primitive API key (defaults to PRIMITIVE_API_KEY or saved `primitive login` credentials)",
|
|
638
891
|
"env": "PRIMITIVE_API_KEY",
|
|
639
892
|
"name": "api-key",
|
|
640
893
|
"hasDynamicHelp": false,
|
|
@@ -707,7 +960,7 @@
|
|
|
707
960
|
"description": "Checks DNS records (MX and TXT) to verify domain ownership.\nOn success, the domain is promoted from unverified to verified.\nOn failure, returns which checks passed and which failed.\n",
|
|
708
961
|
"flags": {
|
|
709
962
|
"api-key": {
|
|
710
|
-
"description": "Primitive API key (defaults to PRIMITIVE_API_KEY)",
|
|
963
|
+
"description": "Primitive API key (defaults to PRIMITIVE_API_KEY or saved `primitive login` credentials)",
|
|
711
964
|
"env": "PRIMITIVE_API_KEY",
|
|
712
965
|
"name": "api-key",
|
|
713
966
|
"hasDynamicHelp": false,
|
|
@@ -753,7 +1006,7 @@
|
|
|
753
1006
|
"description": "DELETE /emails/{id}",
|
|
754
1007
|
"flags": {
|
|
755
1008
|
"api-key": {
|
|
756
|
-
"description": "Primitive API key (defaults to PRIMITIVE_API_KEY)",
|
|
1009
|
+
"description": "Primitive API key (defaults to PRIMITIVE_API_KEY or saved `primitive login` credentials)",
|
|
757
1010
|
"env": "PRIMITIVE_API_KEY",
|
|
758
1011
|
"name": "api-key",
|
|
759
1012
|
"hasDynamicHelp": false,
|
|
@@ -796,10 +1049,10 @@
|
|
|
796
1049
|
"emails:discard-email-content": {
|
|
797
1050
|
"aliases": [],
|
|
798
1051
|
"args": {},
|
|
799
|
-
"description": "Permanently deletes the email's raw bytes, parsed body (text + HTML),\nand attachments while preserving metadata (sender, recipient,\nsubject, timestamps, hashes, attachment manifest) for audit logs.\nIdempotent: a second call returns success with\n`already_discarded: true` and does no work.\n\n**Gated** on the customer's discard-content opt-in (managed in the\ndashboard at Settings > Webhooks). When the toggle is off, this\nendpoint returns `403` with code `discard_not_enabled` and a\nmessage pointing the human at the dashboard. There is intentionally\nno API to flip this toggle
|
|
1052
|
+
"description": "Permanently deletes the email's raw bytes, parsed body (text + HTML),\nand attachments while preserving metadata (sender, recipient,\nsubject, timestamps, hashes, attachment manifest) for audit logs.\nIdempotent: a second call returns success with\n`already_discarded: true` and does no work.\n\n**Gated** on the customer's discard-content opt-in (managed in the\ndashboard at Settings > Webhooks). When the toggle is off, this\nendpoint returns `403` with code `discard_not_enabled` and a\nmessage pointing the human at the dashboard. There is intentionally\nno API to flip this toggle. Opting in to a destructive,\nnon-reversible operation must be a deliberate human click in the\nUI.\n",
|
|
800
1053
|
"flags": {
|
|
801
1054
|
"api-key": {
|
|
802
|
-
"description": "Primitive API key (defaults to PRIMITIVE_API_KEY)",
|
|
1055
|
+
"description": "Primitive API key (defaults to PRIMITIVE_API_KEY or saved `primitive login` credentials)",
|
|
803
1056
|
"env": "PRIMITIVE_API_KEY",
|
|
804
1057
|
"name": "api-key",
|
|
805
1058
|
"hasDynamicHelp": false,
|
|
@@ -845,7 +1098,7 @@
|
|
|
845
1098
|
"description": "Downloads all attachments as a gzip-compressed tar archive.\nAuthenticates via a signed download token (provided in webhook\npayloads) or a valid session.\n",
|
|
846
1099
|
"flags": {
|
|
847
1100
|
"api-key": {
|
|
848
|
-
"description": "Primitive API key (defaults to PRIMITIVE_API_KEY)",
|
|
1101
|
+
"description": "Primitive API key (defaults to PRIMITIVE_API_KEY or saved `primitive login` credentials)",
|
|
849
1102
|
"env": "PRIMITIVE_API_KEY",
|
|
850
1103
|
"name": "api-key",
|
|
851
1104
|
"hasDynamicHelp": false,
|
|
@@ -906,7 +1159,7 @@
|
|
|
906
1159
|
"description": "Downloads the raw RFC 822 email file (.eml). Authenticates via\na signed download token (provided in webhook payloads) or a\nvalid session.\n",
|
|
907
1160
|
"flags": {
|
|
908
1161
|
"api-key": {
|
|
909
|
-
"description": "Primitive API key (defaults to PRIMITIVE_API_KEY)",
|
|
1162
|
+
"description": "Primitive API key (defaults to PRIMITIVE_API_KEY or saved `primitive login` credentials)",
|
|
910
1163
|
"env": "PRIMITIVE_API_KEY",
|
|
911
1164
|
"name": "api-key",
|
|
912
1165
|
"hasDynamicHelp": false,
|
|
@@ -967,7 +1220,7 @@
|
|
|
967
1220
|
"description": "Returns the full record for an inbound email received at one\nof your verified domains, including the parsed text and HTML\nbodies, threading metadata, SMTP envelope detail, webhook\ndelivery state, and a `replies` array for any outbound sends\nrecorded as replies to this inbound.\n\nFor listing inbound emails (with cursor pagination, status\nand date filters, and free-text search), use\n`/emails`. Outbound (sent) email records are NOT returned\nhere; use `/sent-emails/{id}` for those.\n\nThe response carries four sender-shaped fields whose\nmeanings overlap. `from_email` is the canonical \"who sent\nthis\" field for most use cases (parsed bare address from\nthe `From:` header, with a `sender` fallback). `from_header`\nis the raw header including any display name. `sender` and\n`smtp_mail_from` both carry the SMTP envelope MAIL FROM\n(return-path) and are equal by construction; `sender` is\nthe older field name retained for compatibility. See\n`primitive describe emails:get-email | jq '.responseSchema.properties'`\nfor per-field detail.\n",
|
|
968
1221
|
"flags": {
|
|
969
1222
|
"api-key": {
|
|
970
|
-
"description": "Primitive API key (defaults to PRIMITIVE_API_KEY)",
|
|
1223
|
+
"description": "Primitive API key (defaults to PRIMITIVE_API_KEY or saved `primitive login` credentials)",
|
|
971
1224
|
"env": "PRIMITIVE_API_KEY",
|
|
972
1225
|
"name": "api-key",
|
|
973
1226
|
"hasDynamicHelp": false,
|
|
@@ -1013,7 +1266,7 @@
|
|
|
1013
1266
|
"description": "Returns a paginated list of INBOUND emails received at your\nverified domains. Outbound messages sent via /send-mail are\nnot included; this endpoint is the inbox view, not a\nunified send/receive history.\n\nSupports filtering by domain, status, date range, and\nfree-text search across subject, sender, and recipient\nfields.\n\nFor a compact text-table summary of the most recent N\ninbounds (no filters, no cursor pagination), the CLI ships\n`primitive emails:latest` as a one-line-per-email shortcut.\nIt's TTY-aware so id columns are full UUIDs when piped, and\na `--json` flag returns the same envelope this endpoint\ndoes. Use whichever fits the call site.\n",
|
|
1014
1267
|
"flags": {
|
|
1015
1268
|
"api-key": {
|
|
1016
|
-
"description": "Primitive API key (defaults to PRIMITIVE_API_KEY)",
|
|
1269
|
+
"description": "Primitive API key (defaults to PRIMITIVE_API_KEY or saved `primitive login` credentials)",
|
|
1017
1270
|
"env": "PRIMITIVE_API_KEY",
|
|
1018
1271
|
"name": "api-key",
|
|
1019
1272
|
"hasDynamicHelp": false,
|
|
@@ -1107,7 +1360,7 @@
|
|
|
1107
1360
|
"description": "Re-delivers the webhook payload for this email to all active\nendpoints matching the email's domain. Rate limited per-email\n(short cooldown between successive replays of the same email)\nand per-org (burst + sustained windows), sharing an org-wide\nbudget with delivery replays.\n",
|
|
1108
1361
|
"flags": {
|
|
1109
1362
|
"api-key": {
|
|
1110
|
-
"description": "Primitive API key (defaults to PRIMITIVE_API_KEY)",
|
|
1363
|
+
"description": "Primitive API key (defaults to PRIMITIVE_API_KEY or saved `primitive login` credentials)",
|
|
1111
1364
|
"env": "PRIMITIVE_API_KEY",
|
|
1112
1365
|
"name": "api-key",
|
|
1113
1366
|
"hasDynamicHelp": false,
|
|
@@ -1153,7 +1406,7 @@
|
|
|
1153
1406
|
"description": "Creates a new webhook endpoint. If a deactivated endpoint\nwith the same URL and domain exists, it is reactivated\ninstead. Subject to plan limits on the number of active\nendpoints.\n\n**Signing is account-scoped, not per-endpoint.** This call\ndoes not return any signing material; every endpoint on the\naccount uses the same webhook secret, fetched via\n`GET /account/webhook-secret`. See the API-level \"Webhook\nsigning\" section for the full wire format (header name,\nsigned string, hash algo, secret format, tolerance) and a\nlanguage-agnostic verification recipe.\n\nAfter creating the endpoint, fire a test delivery against\nit via `POST /endpoints/{id}/test` to confirm your verifier\naccepts the signature.\n\n\nBody fields requiring --raw-body JSON (these are not exposed as flags):\n rules object Endpoint-specific filtering rules\n(* = required. Scalar body fields are exposed as individual --flag-name flags; see FLAGS above.)",
|
|
1154
1407
|
"flags": {
|
|
1155
1408
|
"api-key": {
|
|
1156
|
-
"description": "Primitive API key (defaults to PRIMITIVE_API_KEY)",
|
|
1409
|
+
"description": "Primitive API key (defaults to PRIMITIVE_API_KEY or saved `primitive login` credentials)",
|
|
1157
1410
|
"env": "PRIMITIVE_API_KEY",
|
|
1158
1411
|
"name": "api-key",
|
|
1159
1412
|
"hasDynamicHelp": false,
|
|
@@ -1225,7 +1478,7 @@
|
|
|
1225
1478
|
"description": "Soft-deletes a webhook endpoint. The endpoint will no longer\nreceive webhook deliveries.\n",
|
|
1226
1479
|
"flags": {
|
|
1227
1480
|
"api-key": {
|
|
1228
|
-
"description": "Primitive API key (defaults to PRIMITIVE_API_KEY)",
|
|
1481
|
+
"description": "Primitive API key (defaults to PRIMITIVE_API_KEY or saved `primitive login` credentials)",
|
|
1229
1482
|
"env": "PRIMITIVE_API_KEY",
|
|
1230
1483
|
"name": "api-key",
|
|
1231
1484
|
"hasDynamicHelp": false,
|
|
@@ -1271,7 +1524,7 @@
|
|
|
1271
1524
|
"description": "Returns all active (non-deleted) webhook endpoints.",
|
|
1272
1525
|
"flags": {
|
|
1273
1526
|
"api-key": {
|
|
1274
|
-
"description": "Primitive API key (defaults to PRIMITIVE_API_KEY)",
|
|
1527
|
+
"description": "Primitive API key (defaults to PRIMITIVE_API_KEY or saved `primitive login` credentials)",
|
|
1275
1528
|
"env": "PRIMITIVE_API_KEY",
|
|
1276
1529
|
"name": "api-key",
|
|
1277
1530
|
"hasDynamicHelp": false,
|
|
@@ -1309,7 +1562,7 @@
|
|
|
1309
1562
|
"description": "Sends a sample `email.received` event to the endpoint. The request\nincludes SSRF protection (private IP rejection and DNS pinning).\nRate limited to 4 per minute and 30 per hour (non-exempt).\nSuccessful deliveries and verified-domain endpoints are exempt\nfrom the rate limit.\n",
|
|
1310
1563
|
"flags": {
|
|
1311
1564
|
"api-key": {
|
|
1312
|
-
"description": "Primitive API key (defaults to PRIMITIVE_API_KEY)",
|
|
1565
|
+
"description": "Primitive API key (defaults to PRIMITIVE_API_KEY or saved `primitive login` credentials)",
|
|
1313
1566
|
"env": "PRIMITIVE_API_KEY",
|
|
1314
1567
|
"name": "api-key",
|
|
1315
1568
|
"hasDynamicHelp": false,
|
|
@@ -1355,7 +1608,7 @@
|
|
|
1355
1608
|
"description": "Updates an active webhook endpoint. If the URL is changed, the old\nendpoint is deactivated and a new one is created (or an existing\ndeactivated endpoint with the new URL is reactivated).\n\n\nBody fields requiring --raw-body JSON (these are not exposed as flags):\n rules object\n(* = required. Scalar body fields are exposed as individual --flag-name flags; see FLAGS above.)",
|
|
1356
1609
|
"flags": {
|
|
1357
1610
|
"api-key": {
|
|
1358
|
-
"description": "Primitive API key (defaults to PRIMITIVE_API_KEY)",
|
|
1611
|
+
"description": "Primitive API key (defaults to PRIMITIVE_API_KEY or saved `primitive login` credentials)",
|
|
1359
1612
|
"env": "PRIMITIVE_API_KEY",
|
|
1360
1613
|
"name": "api-key",
|
|
1361
1614
|
"hasDynamicHelp": false,
|
|
@@ -1435,7 +1688,7 @@
|
|
|
1435
1688
|
"description": "Creates a new whitelist or blocklist filter. Per-domain filters\nrequire a Pro plan. Patterns are stored as lowercase.\n",
|
|
1436
1689
|
"flags": {
|
|
1437
1690
|
"api-key": {
|
|
1438
|
-
"description": "Primitive API key (defaults to PRIMITIVE_API_KEY)",
|
|
1691
|
+
"description": "Primitive API key (defaults to PRIMITIVE_API_KEY or saved `primitive login` credentials)",
|
|
1439
1692
|
"env": "PRIMITIVE_API_KEY",
|
|
1440
1693
|
"name": "api-key",
|
|
1441
1694
|
"hasDynamicHelp": false,
|
|
@@ -1512,7 +1765,7 @@
|
|
|
1512
1765
|
"description": "DELETE /filters/{id}",
|
|
1513
1766
|
"flags": {
|
|
1514
1767
|
"api-key": {
|
|
1515
|
-
"description": "Primitive API key (defaults to PRIMITIVE_API_KEY)",
|
|
1768
|
+
"description": "Primitive API key (defaults to PRIMITIVE_API_KEY or saved `primitive login` credentials)",
|
|
1516
1769
|
"env": "PRIMITIVE_API_KEY",
|
|
1517
1770
|
"name": "api-key",
|
|
1518
1771
|
"hasDynamicHelp": false,
|
|
@@ -1558,7 +1811,7 @@
|
|
|
1558
1811
|
"description": "Returns all whitelist and blocklist filter rules.",
|
|
1559
1812
|
"flags": {
|
|
1560
1813
|
"api-key": {
|
|
1561
|
-
"description": "Primitive API key (defaults to PRIMITIVE_API_KEY)",
|
|
1814
|
+
"description": "Primitive API key (defaults to PRIMITIVE_API_KEY or saved `primitive login` credentials)",
|
|
1562
1815
|
"env": "PRIMITIVE_API_KEY",
|
|
1563
1816
|
"name": "api-key",
|
|
1564
1817
|
"hasDynamicHelp": false,
|
|
@@ -1596,7 +1849,7 @@
|
|
|
1596
1849
|
"description": "Toggle a filter's enabled state.",
|
|
1597
1850
|
"flags": {
|
|
1598
1851
|
"api-key": {
|
|
1599
|
-
"description": "Primitive API key (defaults to PRIMITIVE_API_KEY)",
|
|
1852
|
+
"description": "Primitive API key (defaults to PRIMITIVE_API_KEY or saved `primitive login` credentials)",
|
|
1600
1853
|
"env": "PRIMITIVE_API_KEY",
|
|
1601
1854
|
"name": "api-key",
|
|
1602
1855
|
"hasDynamicHelp": false,
|
|
@@ -1662,7 +1915,7 @@
|
|
|
1662
1915
|
"description": "Returns a flat list of rules describing every recipient the\ncaller may send to. Each rule has a `type`, a kind-specific\npayload, and a human-readable `description`. If any rule\nmatches the recipient, /send-mail will accept the send under\nthe recipient-scope check.\n\nThe endpoint is the answer to \"where can I send\" without\nexposing internal entitlement names. Agents that don't\nrecognize a `type` can still read the `description` prose\nand act on it.\n\nRule kinds, ordered broadest-first so an agent can stop\nscanning at the first match:\n\n 1. `any_recipient` (one entry, only when the org can send\n anywhere): every other rule below it is redundant.\n 2. `managed_zone` (always emitted, one per Primitive-managed\n zone): sends to any address at *.primitive.email or\n *.email.works always succeed; no entitlement required.\n 3. `your_domain` (one per active verified outbound domain\n owned by the org): sends to that domain are approved.\n 4. `address` (one per address that has authenticated\n inbound mail to the org, capped at `meta.address_cap`):\n sends to that exact address are approved.\n\nThe list is informational, not an authorization check.\n/send-mail remains the source of truth on whether an\nindividual send will succeed (it also enforces the\nfrom-address and the `send_mail` entitlement, which are\nnot recipient-scope concerns and are not represented here).\n",
|
|
1663
1916
|
"flags": {
|
|
1664
1917
|
"api-key": {
|
|
1665
|
-
"description": "Primitive API key (defaults to PRIMITIVE_API_KEY)",
|
|
1918
|
+
"description": "Primitive API key (defaults to PRIMITIVE_API_KEY or saved `primitive login` credentials)",
|
|
1666
1919
|
"env": "PRIMITIVE_API_KEY",
|
|
1667
1920
|
"name": "api-key",
|
|
1668
1921
|
"hasDynamicHelp": false,
|
|
@@ -1700,7 +1953,7 @@
|
|
|
1700
1953
|
"description": "Returns the full sent-email record by id, including\n`body_text` and `body_html` (omitted from the listing\nendpoint to keep paginated responses small). Use this when\ndiagnosing a specific send, e.g. inspecting the receiver's\nSMTP response on a `bounced` row or pulling the gate\ndenial detail on a `gate_denied` row.\n",
|
|
1701
1954
|
"flags": {
|
|
1702
1955
|
"api-key": {
|
|
1703
|
-
"description": "Primitive API key (defaults to PRIMITIVE_API_KEY)",
|
|
1956
|
+
"description": "Primitive API key (defaults to PRIMITIVE_API_KEY or saved `primitive login` credentials)",
|
|
1704
1957
|
"env": "PRIMITIVE_API_KEY",
|
|
1705
1958
|
"name": "api-key",
|
|
1706
1959
|
"hasDynamicHelp": false,
|
|
@@ -1746,7 +1999,7 @@
|
|
|
1746
1999
|
"description": "Returns a paginated list of OUTBOUND emails the caller's\norg has sent via /send-mail (and /emails/{id}/reply, which\nforwards through /send-mail). Includes every recorded\nattempt, including gate-denied attempts that the agent\nnever called and rows still in `queued` state.\n\nFor inbound mail received at your verified domains, see\n/emails. There is no unified send/receive history endpoint;\nthe two surfaces are intentionally separate because the\nunderlying tables, statuses, and lifecycle differ.\n\nEmail bodies (`body_text`, `body_html`) are NOT included on\nlist rows so a 50-row page can't balloon into a multi-MB\nresponse when sends are near the 5MB body cap. Use\n/sent-emails/{id} to fetch a single row with bodies, or\ncross-reference by `client_idempotency_key` if the caller\nalready has the body locally.\n",
|
|
1747
2000
|
"flags": {
|
|
1748
2001
|
"api-key": {
|
|
1749
|
-
"description": "Primitive API key (defaults to PRIMITIVE_API_KEY)",
|
|
2002
|
+
"description": "Primitive API key (defaults to PRIMITIVE_API_KEY or saved `primitive login` credentials)",
|
|
1750
2003
|
"env": "PRIMITIVE_API_KEY",
|
|
1751
2004
|
"name": "api-key",
|
|
1752
2005
|
"hasDynamicHelp": false,
|
|
@@ -1840,7 +2093,7 @@
|
|
|
1840
2093
|
"description": "Sends an outbound reply to the inbound email identified by `id`.\nThreading headers (`In-Reply-To`, `References`), recipient\nderivation (Reply-To, then From, then bare sender), and the\n`Re:` subject prefix are all derived server-side from the\nstored inbound row. The request body carries only the message\nbody and optional `wait` flag; passing any header or recipient\noverride is rejected by the schema (`additionalProperties:\nfalse`).\n\nForwards through the same gates as `/send-mail`: the response\nstatus, error envelope, and `idempotent_replay` flag mirror\nthe send-mail contract verbatim.\n",
|
|
1841
2094
|
"flags": {
|
|
1842
2095
|
"api-key": {
|
|
1843
|
-
"description": "Primitive API key (defaults to PRIMITIVE_API_KEY)",
|
|
2096
|
+
"description": "Primitive API key (defaults to PRIMITIVE_API_KEY or saved `primitive login` credentials)",
|
|
1844
2097
|
"env": "PRIMITIVE_API_KEY",
|
|
1845
2098
|
"name": "api-key",
|
|
1846
2099
|
"hasDynamicHelp": false,
|
|
@@ -1927,7 +2180,7 @@
|
|
|
1927
2180
|
"description": "Sends an outbound email through Primitive's outbound relay. By default\nthe request returns once the relay accepts the message for delivery.\nSet `wait: true` to wait for the first downstream SMTP delivery outcome.\n\n\nBody fields requiring --raw-body JSON (these are not exposed as flags):\n references array<string> Full ordered message-id chain for the thread.\n(* = required. Scalar body fields are exposed as individual --flag-name flags; see FLAGS above.)",
|
|
1928
2181
|
"flags": {
|
|
1929
2182
|
"api-key": {
|
|
1930
|
-
"description": "Primitive API key (defaults to PRIMITIVE_API_KEY)",
|
|
2183
|
+
"description": "Primitive API key (defaults to PRIMITIVE_API_KEY or saved `primitive login` credentials)",
|
|
1931
2184
|
"env": "PRIMITIVE_API_KEY",
|
|
1932
2185
|
"name": "api-key",
|
|
1933
2186
|
"hasDynamicHelp": false,
|
|
@@ -2034,7 +2287,7 @@
|
|
|
2034
2287
|
"description": "Returns a paginated list of webhook delivery attempts. Each delivery\nincludes a nested `email` object with sender, recipient, and subject.\n",
|
|
2035
2288
|
"flags": {
|
|
2036
2289
|
"api-key": {
|
|
2037
|
-
"description": "Primitive API key (defaults to PRIMITIVE_API_KEY)",
|
|
2290
|
+
"description": "Primitive API key (defaults to PRIMITIVE_API_KEY or saved `primitive login` credentials)",
|
|
2038
2291
|
"env": "PRIMITIVE_API_KEY",
|
|
2039
2292
|
"name": "api-key",
|
|
2040
2293
|
"hasDynamicHelp": false,
|
|
@@ -2126,7 +2379,7 @@
|
|
|
2126
2379
|
"description": "Re-sends the stored webhook payload from a previous delivery attempt.\nIf the original endpoint is still active, it is targeted. If the\noriginal endpoint was deleted, the oldest active endpoint is used.\nDeactivated endpoints cannot be replayed to. Rate limited per-org,\nsharing an org-wide budget with email replays.\n",
|
|
2127
2380
|
"flags": {
|
|
2128
2381
|
"api-key": {
|
|
2129
|
-
"description": "Primitive API key (defaults to PRIMITIVE_API_KEY)",
|
|
2382
|
+
"description": "Primitive API key (defaults to PRIMITIVE_API_KEY or saved `primitive login` credentials)",
|
|
2130
2383
|
"env": "PRIMITIVE_API_KEY",
|
|
2131
2384
|
"name": "api-key",
|
|
2132
2385
|
"hasDynamicHelp": false,
|
|
@@ -2167,5 +2420,5 @@
|
|
|
2167
2420
|
"enableJsonFlag": false
|
|
2168
2421
|
}
|
|
2169
2422
|
},
|
|
2170
|
-
"version": "0.
|
|
2423
|
+
"version": "0.19.0"
|
|
2171
2424
|
}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@primitivedotdev/sdk",
|
|
3
|
-
"version": "0.
|
|
4
|
-
"description": "Official Primitive Node.js SDK
|
|
3
|
+
"version": "0.19.0",
|
|
4
|
+
"description": "Official Primitive Node.js SDK: webhook, api, openapi, contract, and parser modules",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"module": "./dist/index.js",
|
|
7
7
|
"types": "./dist/index.d.ts",
|
|
@@ -59,6 +59,9 @@
|
|
|
59
59
|
"@oclif/plugin-autocomplete"
|
|
60
60
|
],
|
|
61
61
|
"topics": {
|
|
62
|
+
"cli": {
|
|
63
|
+
"description": "Browser-assisted CLI authentication"
|
|
64
|
+
},
|
|
62
65
|
"account": {
|
|
63
66
|
"description": "Manage your account settings, storage, and webhook secret"
|
|
64
67
|
},
|