@deepraxis/sdk 0.2.0-dev.ed8a023 → 0.2.0-dev.f0a92dd
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/METHODS.md +212 -73
- package/README.md +1 -1
- package/dist/automation.d.ts +683 -64
- package/dist/core/bindings.d.ts +13 -0
- package/dist/core/bindings.js +17 -0
- package/dist/core/client.js +1 -0
- package/dist/generated/index.d.ts +2 -2
- package/dist/generated/index.js +1 -1
- package/dist/generated/sdk.gen.d.ts +359 -62
- package/dist/generated/sdk.gen.js +1025 -400
- package/dist/generated/types.gen.d.ts +6551 -1448
- package/dist/helpers/browser-actions.d.ts +4 -0
- package/dist/helpers/browser-actions.js +7 -1
- package/dist/helpers/browser-connect-error.d.ts +22 -4
- package/dist/helpers/browser-connect-error.js +45 -9
- package/dist/helpers/browser-connect.d.ts +23 -2
- package/dist/helpers/browser-connect.js +56 -9
- package/dist/helpers/browser-decisions.d.ts +5 -0
- package/dist/helpers/browser-decisions.js +12 -0
- package/dist/helpers/browser-documentation.d.ts +1 -1
- package/dist/helpers/browser-documentation.js +4 -0
- package/dist/operations.generated.js +2210 -683
- package/dist/resources.generated.d.ts +944 -74
- package/dist/resources.generated.js +252 -85
- package/package.json +1 -1
package/METHODS.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# SDK methods
|
|
2
2
|
|
|
3
|
-
Generated by `bun run generate`.
|
|
3
|
+
Generated by `bun run generate`. 1013 HTTP operations, plus product aliases. Version segments and path parameters are omitted from resource names. Inputs use typed `{ path, query, body, headers }` options. Collections form nested resource objects; POST actions retain their verb. Naming rules are documented in `scripts/resources.ts`; semantic exceptions and aliases with reasons are in `scripts/naming-overrides.ts`.
|
|
4
4
|
|
|
5
5
|
`always` returns an AsyncIterable; `optional` streams with `{ stream: true }`; `yes` pagination returns a Page. Only `{ data, next_cursor }` + `cursor` query contracts are automatically paginated.
|
|
6
6
|
|
|
@@ -55,6 +55,12 @@ Multipart request bodies expand plain objects into bracketed fields (for example
|
|
|
55
55
|
|---|---|---|---|---|
|
|
56
56
|
| create | POST | `/agent/v1/agents/{agent_id}/customers/{customer_id}/unblock` | no | no |
|
|
57
57
|
|
|
58
|
+
### agent.agents.devices.localSessions
|
|
59
|
+
|
|
60
|
+
| Method | HTTP | Path | Streaming | Pagination |
|
|
61
|
+
|---|---|---|---|---|
|
|
62
|
+
| list | GET | `/agent/v1/agents/{agent_id}/devices/{device_id}/local-sessions` | no | yes |
|
|
63
|
+
|
|
58
64
|
### agent.agents.events
|
|
59
65
|
|
|
60
66
|
| Method | HTTP | Path | Streaming | Pagination |
|
|
@@ -387,6 +393,14 @@ Multipart request bodies expand plain objects into bracketed fields (for example
|
|
|
387
393
|
| delete | DELETE | `/application/v1/workers/{worker_id}/grants/{grant_id}` | no | no |
|
|
388
394
|
| list | GET | `/application/v1/workers/{worker_id}/grants` | no | no |
|
|
389
395
|
|
|
396
|
+
### application.workers.logs
|
|
397
|
+
|
|
398
|
+
| Method | HTTP | Path | Streaming | Pagination |
|
|
399
|
+
|---|---|---|---|---|
|
|
400
|
+
| keys | POST | `/application/v1/workers/{worker_id}/logs:keys` | no | no |
|
|
401
|
+
| query | POST | `/application/v1/workers/{worker_id}/logs:query` | no | no |
|
|
402
|
+
| values | POST | `/application/v1/workers/{worker_id}/logs:values` | no | no |
|
|
403
|
+
|
|
390
404
|
### application.workers.secrets
|
|
391
405
|
|
|
392
406
|
| Method | HTTP | Path | Streaming | Pagination |
|
|
@@ -415,32 +429,32 @@ Multipart request bodies expand plain objects into bracketed fields (for example
|
|
|
415
429
|
|
|
416
430
|
| Method | HTTP | Path | Streaming | Pagination |
|
|
417
431
|
|---|---|---|---|---|
|
|
418
|
-
| archive | POST | `/automation/v1/actions/{
|
|
432
|
+
| archive | POST | `/automation/v1/actions/{namespace}/{name}/archive` | no | no |
|
|
419
433
|
| create | POST | `/automation/v1/actions` | no | no |
|
|
420
434
|
| list | GET | `/automation/v1/actions` | no | yes |
|
|
421
|
-
| restore | POST | `/automation/v1/actions/{
|
|
422
|
-
| retrieve | GET | `/automation/v1/actions/{
|
|
423
|
-
| rollback | POST | `/automation/v1/actions/{
|
|
424
|
-
| update | PUT | `/automation/v1/actions/{
|
|
435
|
+
| restore | POST | `/automation/v1/actions/{namespace}/{name}/restore` | no | no |
|
|
436
|
+
| retrieve | GET | `/automation/v1/actions/{namespace}/{name}` | no | no |
|
|
437
|
+
| rollback | POST | `/automation/v1/actions/{namespace}/{name}/rollback` | no | no |
|
|
438
|
+
| update | PUT | `/automation/v1/actions/{namespace}/{name}` | no | no |
|
|
425
439
|
|
|
426
440
|
### automation.actions.dependents
|
|
427
441
|
|
|
428
442
|
| Method | HTTP | Path | Streaming | Pagination |
|
|
429
443
|
|---|---|---|---|---|
|
|
430
|
-
| list | GET | `/automation/v1/actions/{
|
|
444
|
+
| list | GET | `/automation/v1/actions/{namespace}/{name}/dependents` | no | yes |
|
|
431
445
|
|
|
432
446
|
### automation.actions.invocations
|
|
433
447
|
|
|
434
448
|
| Method | HTTP | Path | Streaming | Pagination |
|
|
435
449
|
|---|---|---|---|---|
|
|
436
|
-
| list | GET | `/automation/v1/actions/{
|
|
450
|
+
| list | GET | `/automation/v1/actions/{namespace}/{name}/invocations` | no | yes |
|
|
437
451
|
|
|
438
452
|
### automation.actions.revisions
|
|
439
453
|
|
|
440
454
|
| Method | HTTP | Path | Streaming | Pagination |
|
|
441
455
|
|---|---|---|---|---|
|
|
442
|
-
| list | GET | `/automation/v1/actions/{
|
|
443
|
-
| retrieve | GET | `/automation/v1/actions/{
|
|
456
|
+
| list | GET | `/automation/v1/actions/{namespace}/{name}/revisions` | no | yes |
|
|
457
|
+
| retrieve | GET | `/automation/v1/actions/{namespace}/{name}/revisions/{revision}` | no | no |
|
|
444
458
|
|
|
445
459
|
### automation.hooks
|
|
446
460
|
|
|
@@ -452,11 +466,11 @@ Multipart request bodies expand plain objects into bracketed fields (for example
|
|
|
452
466
|
|
|
453
467
|
| Method | HTTP | Path | Streaming | Pagination |
|
|
454
468
|
|---|---|---|---|---|
|
|
455
|
-
| cancel | POST | `/automation/v1/human-tasks/{
|
|
456
|
-
| delegate | POST | `/automation/v1/human-tasks/{
|
|
469
|
+
| cancel | POST | `/automation/v1/human-tasks/{task_id}/cancel` | no | no |
|
|
470
|
+
| delegate | POST | `/automation/v1/human-tasks/{task_id}/delegate` | no | no |
|
|
457
471
|
| list | GET | `/automation/v1/human-tasks` | no | yes |
|
|
458
|
-
| respond | POST | `/automation/v1/human-tasks/{
|
|
459
|
-
| retrieve | GET | `/automation/v1/human-tasks/{
|
|
472
|
+
| respond | POST | `/automation/v1/human-tasks/{task_id}/respond` | no | no |
|
|
473
|
+
| retrieve | GET | `/automation/v1/human-tasks/{task_id}` | no | no |
|
|
460
474
|
|
|
461
475
|
### automation.resolve
|
|
462
476
|
|
|
@@ -468,77 +482,77 @@ Multipart request bodies expand plain objects into bracketed fields (for example
|
|
|
468
482
|
|
|
469
483
|
| Method | HTTP | Path | Streaming | Pagination |
|
|
470
484
|
|---|---|---|---|---|
|
|
471
|
-
| cancel | POST | `/automation/v1/runs/{
|
|
485
|
+
| cancel | POST | `/automation/v1/runs/{run_id}/cancel` | no | no |
|
|
472
486
|
| create | POST | `/automation/v1/runs` | no | no |
|
|
473
|
-
| events | GET | `/automation/v1/runs/{
|
|
487
|
+
| events | GET | `/automation/v1/runs/{run_id}/events` | always | no |
|
|
474
488
|
| list | GET | `/automation/v1/runs` | no | yes |
|
|
475
|
-
| logs | GET | `/automation/v1/runs/{
|
|
476
|
-
| rerun | POST | `/automation/v1/runs/{
|
|
477
|
-
| resume | POST | `/automation/v1/runs/{
|
|
478
|
-
| retrieve | GET | `/automation/v1/runs/{
|
|
479
|
-
| retrieveSource | GET | `/automation/v1/runs/{
|
|
480
|
-
| suspend | POST | `/automation/v1/runs/{
|
|
489
|
+
| logs | GET | `/automation/v1/runs/{run_id}/logs` | always | no |
|
|
490
|
+
| rerun | POST | `/automation/v1/runs/{run_id}/rerun` | no | no |
|
|
491
|
+
| resume | POST | `/automation/v1/runs/{run_id}/resume` | no | no |
|
|
492
|
+
| retrieve | GET | `/automation/v1/runs/{run_id}` | no | no |
|
|
493
|
+
| retrieveSource | GET | `/automation/v1/runs/{run_id}/source` | no | no |
|
|
494
|
+
| suspend | POST | `/automation/v1/runs/{run_id}/suspend` | no | no |
|
|
481
495
|
|
|
482
496
|
### automation.runs.artifacts
|
|
483
497
|
|
|
484
498
|
| Method | HTTP | Path | Streaming | Pagination |
|
|
485
499
|
|---|---|---|---|---|
|
|
486
|
-
| list | GET | `/automation/v1/runs/{
|
|
500
|
+
| list | GET | `/automation/v1/runs/{run_id}/artifacts` | no | yes |
|
|
487
501
|
|
|
488
502
|
### automation.runs.calls
|
|
489
503
|
|
|
490
504
|
| Method | HTTP | Path | Streaming | Pagination |
|
|
491
505
|
|---|---|---|---|---|
|
|
492
|
-
| list | GET | `/automation/v1/runs/{
|
|
506
|
+
| list | GET | `/automation/v1/runs/{run_id}/calls` | no | yes |
|
|
493
507
|
|
|
494
508
|
### automation.runs.tasks
|
|
495
509
|
|
|
496
510
|
| Method | HTTP | Path | Streaming | Pagination |
|
|
497
511
|
|---|---|---|---|---|
|
|
498
|
-
| list | GET | `/automation/v1/runs/{
|
|
512
|
+
| list | GET | `/automation/v1/runs/{run_id}/tasks` | no | yes |
|
|
499
513
|
|
|
500
514
|
### automation.runs.waits
|
|
501
515
|
|
|
502
516
|
| Method | HTTP | Path | Streaming | Pagination |
|
|
503
517
|
|---|---|---|---|---|
|
|
504
|
-
| complete | POST | `/automation/v1/runs/{
|
|
505
|
-
| list | GET | `/automation/v1/runs/{
|
|
518
|
+
| complete | POST | `/automation/v1/runs/{run_id}/waits/{wait_id}/complete` | no | no |
|
|
519
|
+
| list | GET | `/automation/v1/runs/{run_id}/waits` | no | yes |
|
|
506
520
|
|
|
507
521
|
### automation.scripts
|
|
508
522
|
|
|
509
523
|
| Method | HTTP | Path | Streaming | Pagination |
|
|
510
524
|
|---|---|---|---|---|
|
|
511
|
-
| archive | POST | `/automation/v1/scripts/{
|
|
525
|
+
| archive | POST | `/automation/v1/scripts/{namespace}/{name}/archive` | no | no |
|
|
512
526
|
| create | POST | `/automation/v1/scripts` | no | no |
|
|
513
527
|
| list | GET | `/automation/v1/scripts` | no | yes |
|
|
514
|
-
| restore | POST | `/automation/v1/scripts/{
|
|
515
|
-
| retrieve | GET | `/automation/v1/scripts/{
|
|
516
|
-
| update | PATCH | `/automation/v1/scripts/{
|
|
528
|
+
| restore | POST | `/automation/v1/scripts/{namespace}/{name}/restore` | no | no |
|
|
529
|
+
| retrieve | GET | `/automation/v1/scripts/{namespace}/{name}` | no | no |
|
|
530
|
+
| update | PATCH | `/automation/v1/scripts/{namespace}/{name}` | no | no |
|
|
517
531
|
|
|
518
532
|
### automation.scripts.distTags
|
|
519
533
|
|
|
520
534
|
| Method | HTTP | Path | Streaming | Pagination |
|
|
521
535
|
|---|---|---|---|---|
|
|
522
|
-
| delete | DELETE | `/automation/v1/scripts/{
|
|
523
|
-
| list | GET | `/automation/v1/scripts/{
|
|
524
|
-
| set | PUT | `/automation/v1/scripts/{
|
|
536
|
+
| delete | DELETE | `/automation/v1/scripts/{namespace}/{name}/dist-tags/{tag}` | no | no |
|
|
537
|
+
| list | GET | `/automation/v1/scripts/{namespace}/{name}/dist-tags` | no | no |
|
|
538
|
+
| set | PUT | `/automation/v1/scripts/{namespace}/{name}/dist-tags/{tag}` | no | no |
|
|
525
539
|
|
|
526
540
|
### automation.scripts.vaults
|
|
527
541
|
|
|
528
542
|
| Method | HTTP | Path | Streaming | Pagination |
|
|
529
543
|
|---|---|---|---|---|
|
|
530
|
-
| delete | DELETE | `/automation/v1/scripts/{
|
|
531
|
-
| list | GET | `/automation/v1/scripts/{
|
|
532
|
-
| set | PUT | `/automation/v1/scripts/{
|
|
544
|
+
| delete | DELETE | `/automation/v1/scripts/{namespace}/{name}/vaults/{alias}` | no | no |
|
|
545
|
+
| list | GET | `/automation/v1/scripts/{namespace}/{name}/vaults` | no | no |
|
|
546
|
+
| set | PUT | `/automation/v1/scripts/{namespace}/{name}/vaults/{alias}` | no | no |
|
|
533
547
|
|
|
534
548
|
### automation.scripts.versions
|
|
535
549
|
|
|
536
550
|
| Method | HTTP | Path | Streaming | Pagination |
|
|
537
551
|
|---|---|---|---|---|
|
|
538
|
-
| create (alias: publish) | POST | `/automation/v1/scripts/{
|
|
539
|
-
| deprecate | POST | `/automation/v1/scripts/{
|
|
540
|
-
| list | GET | `/automation/v1/scripts/{
|
|
541
|
-
| retrieve | GET | `/automation/v1/scripts/{
|
|
552
|
+
| create (alias: publish) | POST | `/automation/v1/scripts/{namespace}/{name}/versions` | no | no |
|
|
553
|
+
| deprecate | POST | `/automation/v1/scripts/{namespace}/{name}/versions/{version}/deprecate` | no | no |
|
|
554
|
+
| list | GET | `/automation/v1/scripts/{namespace}/{name}/versions` | no | yes |
|
|
555
|
+
| retrieve | GET | `/automation/v1/scripts/{namespace}/{name}/versions/{version}` | no | no |
|
|
542
556
|
|
|
543
557
|
### automation.targets
|
|
544
558
|
|
|
@@ -551,21 +565,21 @@ Multipart request bodies expand plain objects into bracketed fields (for example
|
|
|
551
565
|
| Method | HTTP | Path | Streaming | Pagination |
|
|
552
566
|
|---|---|---|---|---|
|
|
553
567
|
| create | POST | `/automation/v1/triggers` | no | no |
|
|
554
|
-
| delete | DELETE | `/automation/v1/triggers/{
|
|
555
|
-
| fire | POST | `/automation/v1/triggers/{
|
|
568
|
+
| delete | DELETE | `/automation/v1/triggers/{trigger_id}` | no | no |
|
|
569
|
+
| fire | POST | `/automation/v1/triggers/{trigger_id}/fire` | no | no |
|
|
556
570
|
| list | GET | `/automation/v1/triggers` | no | yes |
|
|
557
|
-
| pause | POST | `/automation/v1/triggers/{
|
|
571
|
+
| pause | POST | `/automation/v1/triggers/{trigger_id}/pause` | no | no |
|
|
558
572
|
| preview | POST | `/automation/v1/triggers/preview` | no | no |
|
|
559
|
-
| resume | POST | `/automation/v1/triggers/{
|
|
560
|
-
| retrieve | GET | `/automation/v1/triggers/{
|
|
561
|
-
| rotateWebhook | POST | `/automation/v1/triggers/{
|
|
562
|
-
| update | PATCH | `/automation/v1/triggers/{
|
|
573
|
+
| resume | POST | `/automation/v1/triggers/{trigger_id}/resume` | no | no |
|
|
574
|
+
| retrieve | GET | `/automation/v1/triggers/{trigger_id}` | no | no |
|
|
575
|
+
| rotateWebhook | POST | `/automation/v1/triggers/{trigger_id}/rotate-webhook` | no | no |
|
|
576
|
+
| update | PATCH | `/automation/v1/triggers/{trigger_id}` | no | no |
|
|
563
577
|
|
|
564
578
|
### automation.triggers.firings
|
|
565
579
|
|
|
566
580
|
| Method | HTTP | Path | Streaming | Pagination |
|
|
567
581
|
|---|---|---|---|---|
|
|
568
|
-
| list | GET | `/automation/v1/triggers/{
|
|
582
|
+
| list | GET | `/automation/v1/triggers/{trigger_id}/firings` | no | yes |
|
|
569
583
|
|
|
570
584
|
### automation.validate
|
|
571
585
|
|
|
@@ -577,37 +591,37 @@ Multipart request bodies expand plain objects into bracketed fields (for example
|
|
|
577
591
|
|
|
578
592
|
| Method | HTTP | Path | Streaming | Pagination |
|
|
579
593
|
|---|---|---|---|---|
|
|
580
|
-
| archive | POST | `/automation/v1/workflows/{
|
|
594
|
+
| archive | POST | `/automation/v1/workflows/{namespace}/{name}/archive` | no | no |
|
|
581
595
|
| create | POST | `/automation/v1/workflows` | no | no |
|
|
582
596
|
| list | GET | `/automation/v1/workflows` | no | yes |
|
|
583
|
-
| restore | POST | `/automation/v1/workflows/{
|
|
584
|
-
| retrieve | GET | `/automation/v1/workflows/{
|
|
585
|
-
| update | PATCH | `/automation/v1/workflows/{
|
|
597
|
+
| restore | POST | `/automation/v1/workflows/{namespace}/{name}/restore` | no | no |
|
|
598
|
+
| retrieve | GET | `/automation/v1/workflows/{namespace}/{name}` | no | no |
|
|
599
|
+
| update | PATCH | `/automation/v1/workflows/{namespace}/{name}` | no | no |
|
|
586
600
|
|
|
587
601
|
### automation.workflows.distTags
|
|
588
602
|
|
|
589
603
|
| Method | HTTP | Path | Streaming | Pagination |
|
|
590
604
|
|---|---|---|---|---|
|
|
591
|
-
| delete | DELETE | `/automation/v1/workflows/{
|
|
592
|
-
| list | GET | `/automation/v1/workflows/{
|
|
593
|
-
| set | PUT | `/automation/v1/workflows/{
|
|
605
|
+
| delete | DELETE | `/automation/v1/workflows/{namespace}/{name}/dist-tags/{tag}` | no | no |
|
|
606
|
+
| list | GET | `/automation/v1/workflows/{namespace}/{name}/dist-tags` | no | no |
|
|
607
|
+
| set | PUT | `/automation/v1/workflows/{namespace}/{name}/dist-tags/{tag}` | no | no |
|
|
594
608
|
|
|
595
609
|
### automation.workflows.vaults
|
|
596
610
|
|
|
597
611
|
| Method | HTTP | Path | Streaming | Pagination |
|
|
598
612
|
|---|---|---|---|---|
|
|
599
|
-
| delete | DELETE | `/automation/v1/workflows/{
|
|
600
|
-
| list | GET | `/automation/v1/workflows/{
|
|
601
|
-
| set | PUT | `/automation/v1/workflows/{
|
|
613
|
+
| delete | DELETE | `/automation/v1/workflows/{namespace}/{name}/vaults/{alias}` | no | no |
|
|
614
|
+
| list | GET | `/automation/v1/workflows/{namespace}/{name}/vaults` | no | no |
|
|
615
|
+
| set | PUT | `/automation/v1/workflows/{namespace}/{name}/vaults/{alias}` | no | no |
|
|
602
616
|
|
|
603
617
|
### automation.workflows.versions
|
|
604
618
|
|
|
605
619
|
| Method | HTTP | Path | Streaming | Pagination |
|
|
606
620
|
|---|---|---|---|---|
|
|
607
|
-
| create (alias: publish) | POST | `/automation/v1/workflows/{
|
|
608
|
-
| deprecate | POST | `/automation/v1/workflows/{
|
|
609
|
-
| list | GET | `/automation/v1/workflows/{
|
|
610
|
-
| retrieve | GET | `/automation/v1/workflows/{
|
|
621
|
+
| create (alias: publish) | POST | `/automation/v1/workflows/{namespace}/{name}/versions` | no | no |
|
|
622
|
+
| deprecate | POST | `/automation/v1/workflows/{namespace}/{name}/versions/{version}/deprecate` | no | no |
|
|
623
|
+
| list | GET | `/automation/v1/workflows/{namespace}/{name}/versions` | no | yes |
|
|
624
|
+
| retrieve | GET | `/automation/v1/workflows/{namespace}/{name}/versions/{version}` | no | no |
|
|
611
625
|
|
|
612
626
|
## billing
|
|
613
627
|
|
|
@@ -619,6 +633,33 @@ Multipart request bodies expand plain objects into bracketed fields (for example
|
|
|
619
633
|
|
|
620
634
|
## browser
|
|
621
635
|
|
|
636
|
+
### browser.byob.browsers
|
|
637
|
+
|
|
638
|
+
| Method | HTTP | Path | Streaming | Pagination |
|
|
639
|
+
|---|---|---|---|---|
|
|
640
|
+
| list | GET | `/browser/v1/byob/browsers` | no | no |
|
|
641
|
+
| retrieve | GET | `/browser/v1/byob/browsers/{browser_id}` | no | no |
|
|
642
|
+
| update | PATCH | `/browser/v1/byob/browsers/{browser_id}` | no | no |
|
|
643
|
+
|
|
644
|
+
### browser.byob.browsers.disconnect
|
|
645
|
+
|
|
646
|
+
| Method | HTTP | Path | Streaming | Pagination |
|
|
647
|
+
|---|---|---|---|---|
|
|
648
|
+
| create | POST | `/browser/v1/byob/browsers/{browser_id}/disconnect` | no | no |
|
|
649
|
+
|
|
650
|
+
### browser.byob.pairings
|
|
651
|
+
|
|
652
|
+
| Method | HTTP | Path | Streaming | Pagination |
|
|
653
|
+
|---|---|---|---|---|
|
|
654
|
+
| create | POST | `/browser/v1/byob/pairings` | no | no |
|
|
655
|
+
| retrieve | GET | `/browser/v1/byob/pairings/{code}` | no | no |
|
|
656
|
+
|
|
657
|
+
### browser.byob.pairings.claim
|
|
658
|
+
|
|
659
|
+
| Method | HTTP | Path | Streaming | Pagination |
|
|
660
|
+
|---|---|---|---|---|
|
|
661
|
+
| create | POST | `/browser/v1/byob/pairings/{code}/claim` | no | no |
|
|
662
|
+
|
|
622
663
|
### browser.connect
|
|
623
664
|
|
|
624
665
|
| Method | HTTP | Path | Streaming | Pagination |
|
|
@@ -725,6 +766,12 @@ Multipart request bodies expand plain objects into bracketed fields (for example
|
|
|
725
766
|
|---|---|---|---|---|
|
|
726
767
|
| list | GET | `/canvas/v1/canvases/{canvas_id}/nodes` | no | no |
|
|
727
768
|
|
|
769
|
+
### canvas.canvases.processes.steps
|
|
770
|
+
|
|
771
|
+
| Method | HTTP | Path | Streaming | Pagination |
|
|
772
|
+
|---|---|---|---|---|
|
|
773
|
+
| retrieveBrief | GET | `/canvas/v1/canvases/{canvas_id}/processes/{process_id}/steps/{step_id}/brief` | no | no |
|
|
774
|
+
|
|
728
775
|
### canvas.canvases.versions
|
|
729
776
|
|
|
730
777
|
| Method | HTTP | Path | Streaming | Pagination |
|
|
@@ -1161,6 +1208,12 @@ Multipart request bodies expand plain objects into bracketed fields (for example
|
|
|
1161
1208
|
| openPullRequest | POST | `/devops/v1/changes/{id}:openPullRequest` | no | no |
|
|
1162
1209
|
| retrieve | GET | `/devops/v1/changes/{id}` | no | no |
|
|
1163
1210
|
|
|
1211
|
+
### devops.changes.slices
|
|
1212
|
+
|
|
1213
|
+
| Method | HTTP | Path | Streaming | Pagination |
|
|
1214
|
+
|---|---|---|---|---|
|
|
1215
|
+
| create | POST | `/devops/v1/projects/{project}/changes/{change}/slices` | no | no |
|
|
1216
|
+
|
|
1164
1217
|
### devops.connections
|
|
1165
1218
|
|
|
1166
1219
|
| Method | HTTP | Path | Streaming | Pagination |
|
|
@@ -1382,6 +1435,7 @@ Multipart request bodies expand plain objects into bracketed fields (for example
|
|
|
1382
1435
|
|---|---|---|---|---|
|
|
1383
1436
|
| close | POST | `/devops/v1/pull-requests/{id}:close` | no | no |
|
|
1384
1437
|
| merge | POST | `/devops/v1/pull-requests/{id}:merge` | no | no |
|
|
1438
|
+
| overrideGate | POST | `/devops/v1/pull-requests/{id}:overrideGate` | no | no |
|
|
1385
1439
|
| recordVerdict | POST | `/devops/v1/pull-requests/{id}:recordVerdict` | no | no |
|
|
1386
1440
|
| rerunGate | POST | `/devops/v1/pull-requests/{id}:rerunGate` | no | no |
|
|
1387
1441
|
| retrieve | GET | `/devops/v1/pull-requests/{id}` | no | no |
|
|
@@ -1467,6 +1521,65 @@ Multipart request bodies expand plain objects into bracketed fields (for example
|
|
|
1467
1521
|
|---|---|---|---|---|
|
|
1468
1522
|
| list | GET | `/devops/v1/units/{id}/transitions` | no | no |
|
|
1469
1523
|
|
|
1524
|
+
## end
|
|
1525
|
+
|
|
1526
|
+
### end.accessTokens
|
|
1527
|
+
|
|
1528
|
+
| Method | HTTP | Path | Streaming | Pagination |
|
|
1529
|
+
|---|---|---|---|---|
|
|
1530
|
+
| create | POST | `/end/v1/access_tokens` | no | no |
|
|
1531
|
+
| renew | POST | `/end/v1/access_tokens/renew` | no | no |
|
|
1532
|
+
| revoke | DELETE | `/end/v1/access_tokens/current` | no | no |
|
|
1533
|
+
|
|
1534
|
+
### end.grantCodes
|
|
1535
|
+
|
|
1536
|
+
| Method | HTTP | Path | Streaming | Pagination |
|
|
1537
|
+
|---|---|---|---|---|
|
|
1538
|
+
| create | POST | `/end/v1/grant_codes` | no | no |
|
|
1539
|
+
|
|
1540
|
+
### end.publishableKeys
|
|
1541
|
+
|
|
1542
|
+
| Method | HTTP | Path | Streaming | Pagination |
|
|
1543
|
+
|---|---|---|---|---|
|
|
1544
|
+
| create | POST | `/end/v1/publishable_keys` | no | no |
|
|
1545
|
+
| delete | DELETE | `/end/v1/publishable_keys/{key_id}` | no | no |
|
|
1546
|
+
| list | GET | `/end/v1/publishable_keys` | no | no |
|
|
1547
|
+
| update | PATCH | `/end/v1/publishable_keys/{key_id}` | no | no |
|
|
1548
|
+
|
|
1549
|
+
### end.usage
|
|
1550
|
+
|
|
1551
|
+
| Method | HTTP | Path | Streaming | Pagination |
|
|
1552
|
+
|---|---|---|---|---|
|
|
1553
|
+
| retrieve | GET | `/end/v1/users/{end_user_id}/usage` | no | no |
|
|
1554
|
+
|
|
1555
|
+
### end.users
|
|
1556
|
+
|
|
1557
|
+
| Method | HTTP | Path | Streaming | Pagination |
|
|
1558
|
+
|---|---|---|---|---|
|
|
1559
|
+
| block | POST | `/end/v1/users/{end_user_id}/block` | no | no |
|
|
1560
|
+
| delete | DELETE | `/end/v1/users/{end_user_id}` | no | no |
|
|
1561
|
+
| list | GET | `/end/v1/users` | no | no |
|
|
1562
|
+
| retrieve | GET | `/end/v1/users/{end_user_id}` | no | no |
|
|
1563
|
+
| revokeTokens | POST | `/end/v1/users/{end_user_id}/revoke_tokens` | no | no |
|
|
1564
|
+
| unblock | POST | `/end/v1/users/{end_user_id}/unblock` | no | no |
|
|
1565
|
+
|
|
1566
|
+
## events
|
|
1567
|
+
|
|
1568
|
+
### events.subscriptions
|
|
1569
|
+
|
|
1570
|
+
| Method | HTTP | Path | Streaming | Pagination |
|
|
1571
|
+
|---|---|---|---|---|
|
|
1572
|
+
| create | POST | `/events/v1/subscriptions` | no | no |
|
|
1573
|
+
| delete | DELETE | `/events/v1/subscriptions/{subscription_id}` | no | no |
|
|
1574
|
+
| list | GET | `/events/v1/subscriptions` | no | no |
|
|
1575
|
+
| retrieve | GET | `/events/v1/subscriptions/{subscription_id}` | no | no |
|
|
1576
|
+
|
|
1577
|
+
### events.types
|
|
1578
|
+
|
|
1579
|
+
| Method | HTTP | Path | Streaming | Pagination |
|
|
1580
|
+
|---|---|---|---|---|
|
|
1581
|
+
| list | GET | `/events/v1/types` | no | no |
|
|
1582
|
+
|
|
1470
1583
|
## file
|
|
1471
1584
|
|
|
1472
1585
|
### file.files
|
|
@@ -1669,6 +1782,12 @@ Multipart request bodies expand plain objects into bracketed fields (for example
|
|
|
1669
1782
|
|---|---|---|---|---|
|
|
1670
1783
|
| restore | POST | `/media/v1/libraries/{library_id}/assets/{asset_id}/versions/{version_id}/restore` | no | no |
|
|
1671
1784
|
|
|
1785
|
+
### media.libraries.assets.works
|
|
1786
|
+
|
|
1787
|
+
| Method | HTTP | Path | Streaming | Pagination |
|
|
1788
|
+
|---|---|---|---|---|
|
|
1789
|
+
| list | GET | `/media/v1/libraries/{library_id}/assets/{asset_id}/works` | no | yes |
|
|
1790
|
+
|
|
1672
1791
|
### media.libraries.batches
|
|
1673
1792
|
|
|
1674
1793
|
| Method | HTTP | Path | Streaming | Pagination |
|
|
@@ -1759,6 +1878,16 @@ Multipart request bodies expand plain objects into bracketed fields (for example
|
|
|
1759
1878
|
|---|---|---|---|---|
|
|
1760
1879
|
| create | POST | `/media/v1/libraries/{library_id}/voices/designs` | no | no |
|
|
1761
1880
|
|
|
1881
|
+
### media.libraries.works
|
|
1882
|
+
|
|
1883
|
+
| Method | HTTP | Path | Streaming | Pagination |
|
|
1884
|
+
|---|---|---|---|---|
|
|
1885
|
+
| create | POST | `/media/v1/libraries/{library_id}/works` | no | no |
|
|
1886
|
+
| delete | DELETE | `/media/v1/libraries/{library_id}/works/{work_id}` | no | no |
|
|
1887
|
+
| list | GET | `/media/v1/libraries/{library_id}/works` | no | yes |
|
|
1888
|
+
| retrieve | GET | `/media/v1/libraries/{library_id}/works/{work_id}` | no | no |
|
|
1889
|
+
| update | PATCH | `/media/v1/libraries/{library_id}/works/{work_id}` | no | no |
|
|
1890
|
+
|
|
1762
1891
|
### media.pipelines
|
|
1763
1892
|
|
|
1764
1893
|
| Method | HTTP | Path | Streaming | Pagination |
|
|
@@ -2118,11 +2247,22 @@ Multipart request bodies expand plain objects into bracketed fields (for example
|
|
|
2118
2247
|
| Method | HTTP | Path | Streaming | Pagination |
|
|
2119
2248
|
|---|---|---|---|---|
|
|
2120
2249
|
| archive | POST | `/organization/v1/notifications/letters/{id}:archive` | no | no |
|
|
2250
|
+
| create | POST | `/organization/v1/notifications/letters` | no | no |
|
|
2121
2251
|
| list | GET | `/organization/v1/notifications/letters` | no | no |
|
|
2122
2252
|
| read | POST | `/organization/v1/notifications/letters/{id}:read` | no | no |
|
|
2123
2253
|
| readAll | POST | `/organization/v1/notifications/letters:readAll` | no | no |
|
|
2124
2254
|
| retrieve | GET | `/organization/v1/notifications/letters/{id}` | no | no |
|
|
2125
2255
|
|
|
2256
|
+
### organization.notifications.messages
|
|
2257
|
+
|
|
2258
|
+
| Method | HTTP | Path | Streaming | Pagination |
|
|
2259
|
+
|---|---|---|---|---|
|
|
2260
|
+
| delete | DELETE | `/organization/v1/notifications/messages/{name}` | no | no |
|
|
2261
|
+
| list | GET | `/organization/v1/notifications/messages` | no | no |
|
|
2262
|
+
| readAll | POST | `/organization/v1/notifications/messages:readAll` | no | no |
|
|
2263
|
+
| retrieve | GET | `/organization/v1/notifications/messages/{name}` | no | no |
|
|
2264
|
+
| update | POST | `/organization/v1/notifications/messages/{name}` | no | no |
|
|
2265
|
+
|
|
2126
2266
|
### organization.notifications.organizationDefault
|
|
2127
2267
|
|
|
2128
2268
|
| Method | HTTP | Path | Streaming | Pagination |
|
|
@@ -2263,6 +2403,7 @@ Multipart request bodies expand plain objects into bracketed fields (for example
|
|
|
2263
2403
|
|---|---|---|---|---|
|
|
2264
2404
|
| create | POST | `/sandbox/v1/byod/pairings` | no | no |
|
|
2265
2405
|
| retrieve | GET | `/sandbox/v1/byod/pairings/{code}` | no | no |
|
|
2406
|
+
| status | GET | `/sandbox/v1/byod/pairings/{code}/status` | no | no |
|
|
2266
2407
|
|
|
2267
2408
|
### sandbox.byod.pairings.claim
|
|
2268
2409
|
|
|
@@ -2291,7 +2432,6 @@ Multipart request bodies expand plain objects into bracketed fields (for example
|
|
|
2291
2432
|
| retrieve | GET | `/sandbox/v1/sandboxes/{sandboxID}` | no | no |
|
|
2292
2433
|
| timeout | POST | `/sandbox/v1/sandboxes/{sandboxID}/timeout` | no | no |
|
|
2293
2434
|
| update | PATCH | `/sandbox/v1/sandboxes/{sandboxID}` | no | no |
|
|
2294
|
-
| updateNetwork | PUT | `/sandbox/v1/sandboxes/{sandboxID}/network` | no | no |
|
|
2295
2435
|
|
|
2296
2436
|
### sandbox.sandboxes.commands
|
|
2297
2437
|
|
|
@@ -2389,15 +2529,6 @@ Multipart request bodies expand plain objects into bracketed fields (for example
|
|
|
2389
2529
|
| delete | DELETE | `/sandbox/v1/templates/tags` | no | no |
|
|
2390
2530
|
| list | GET | `/sandbox/v1/templates/{templateID}/tags` | no | no |
|
|
2391
2531
|
|
|
2392
|
-
### sandbox.volumes
|
|
2393
|
-
|
|
2394
|
-
| Method | HTTP | Path | Streaming | Pagination |
|
|
2395
|
-
|---|---|---|---|---|
|
|
2396
|
-
| create | POST | `/sandbox/v1/volumes` | no | no |
|
|
2397
|
-
| delete | DELETE | `/sandbox/v1/volumes/{volumeID}` | no | no |
|
|
2398
|
-
| list | GET | `/sandbox/v1/volumes` | no | no |
|
|
2399
|
-
| retrieve | GET | `/sandbox/v1/volumes/{volumeID}` | no | no |
|
|
2400
|
-
|
|
2401
2532
|
## search
|
|
2402
2533
|
|
|
2403
2534
|
### search.crawl
|
|
@@ -3085,7 +3216,14 @@ Multipart request bodies expand plain objects into bracketed fields (for example
|
|
|
3085
3216
|
| database.kv.keys.update | PATCH changes one field (ttl_ms) of an existing key; update matches tables.update and fields.update in the same domain, and the path-derived name collides with PUT. |
|
|
3086
3217
|
| database.kv.keys.set | PUT writes a whole key value (Redis SET semantics); use the assignment vocabulary set, as dist-tags and vaults do, so update stays the PATCH that changes the TTL. |
|
|
3087
3218
|
| database.table.rest.create | The final parameter identifies a table collection; POST inserts rows rather than updating the table. |
|
|
3219
|
+
| devops.changes.slices.create | ticket-4768: the slice belongs to the change, whose other operations (retrieve, abandon, markLastSlice) are devops.changes.*, and the RPC is devops.changes.slices.create; the project in the path is only the mount, so the path alone would derive devops.projects.changes.slices.create and split a change's operations across two namespaces. |
|
|
3088
3220
|
| devops.projects.flags.reportCodeRefs | ADR-125 §4 / #1881: a checkout reports where code names each flag key, so the write is an operation on the project's flags (devops.flags.reportCodeRefs) and returns counts, not a code-refs resource; the path alone would derive a nested codeRefs collection create. |
|
|
3221
|
+
| end.accessTokens.revoke | Logout revokes the caller's own sign-in and its tokens (services/customer's customer.accessTokens.revoke); current is a reference to the caller's token, not a revokeCurrent sub-resource. |
|
|
3222
|
+
| end.accessTokens.renew | renewal acts on the sign-in's access token (services/customer's customer.accessTokens.renew); renew is not in the generic action table, so the path alone would derive end.accessTokens.renew.create. |
|
|
3223
|
+
| end.users.block | block is the administrative act on the end user (services/customer's customer.customers.block); it is not in the generic action table, so the path alone would derive end.users.block.create. |
|
|
3224
|
+
| end.users.revokeTokens | Revoking every token of one end user is an act on the end user (services/customer's customer.customers.revokeTokens); the path alone would derive end.users.revoke_tokens.create. |
|
|
3225
|
+
| end.users.unblock | unblock lifts the same block fact on the end user (services/customer's customer.customers.unblock); the path alone would derive end.users.unblock.create. |
|
|
3226
|
+
| end.usage.retrieve | One end user's usage is the usage read (services/customer's customer.usage.get); usage is a projection of the end user read into billing, not a sub-resource of the user. |
|
|
3089
3227
|
| file.uploads.createSigned | Signed upload creation returns a one-time local PUT URL; ADR-039 names this operation uploads.createSigned. |
|
|
3090
3228
|
| media.libraries.retrieveDefault | ADR-094 §9 names the default-library read libraries.retrieveDefault; the URL names a reference rather than an id, so the path-derived name would otherwise read as retrieving a library called default. |
|
|
3091
3229
|
| media.libraries.setDefault | ADR-094 §9 names the default-library write libraries.setDefault; the URL has no library id because the organization owns one default library, so the path alone cannot say which. |
|
|
@@ -3096,6 +3234,7 @@ Multipart request bodies expand plain objects into bracketed fields (for example
|
|
|
3096
3234
|
| media.videos.generate | ADR-094 §2/§9 names video generation videos.generate beside images.generate; the URL mounts it under a library, but generation is an operation on videos and the path alone would derive a generations collection create. The unqualified videos resource is the video lane, distinct from the batch and legacy job resources. |
|
|
3097
3235
|
| media.streams.retrievePlaylist | The last URL segment is a file name (live.m3u8), which is not a valid SDK identifier; the call reads the live HLS playlist of the addressed stream. |
|
|
3098
3236
|
| meta.docs.search | Documentation keyword search is an operation on docs, not a nested collection. |
|
|
3237
|
+
| sandbox.byod.pairings.status | ticket-5149: the status is the pairing's own authenticated read (who claimed it), a sibling of the phone's credential-free pairings.retrieve; the path alone would derive pairings.status.list, which reads as a collection. |
|
|
3099
3238
|
| sandbox.sandboxes.act | ticket-3311: act is the one display door of an addressed phone sandbox; the URL spells the operation but the generic post rule would derive sandboxes.create, colliding with createSandbox. |
|
|
3100
3239
|
| sandbox.sandboxes.commands.run | Sandbox data operations use the E2B SDK verb while preserving URL resource nesting. |
|
|
3101
3240
|
| sandbox.sandboxes.files.remove | Sandbox data operations use the E2B SDK verb while preserving URL resource nesting. |
|
package/README.md
CHANGED
|
@@ -159,7 +159,7 @@ console.log(run.status, run.output);
|
|
|
159
159
|
```
|
|
160
160
|
|
|
161
161
|
`wait` is how long the server holds the request, in seconds. A run that is still going comes
|
|
162
|
-
back unfinished; read it again with `praxis.automation.runs.retrieve({ path: {
|
|
162
|
+
back unfinished; read it again with `praxis.automation.runs.retrieve({ path: { run_id: run.id } })`.
|
|
163
163
|
A successful HTTP response does not mean the script succeeded, so check `status`.
|
|
164
164
|
|
|
165
165
|
## Pagination
|