@deepraxis/sdk 0.2.0-dev.30f9f59 → 0.2.0-dev.4014b0f
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 +142 -63
- 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 +181 -25
- package/dist/generated/sdk.gen.js +499 -87
- package/dist/generated/types.gen.d.ts +4320 -893
- 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 +1096 -242
- package/dist/resources.generated.d.ts +875 -67
- package/dist/resources.generated.js +118 -63
- 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`. 998 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 |
|
|
@@ -415,32 +421,32 @@ Multipart request bodies expand plain objects into bracketed fields (for example
|
|
|
415
421
|
|
|
416
422
|
| Method | HTTP | Path | Streaming | Pagination |
|
|
417
423
|
|---|---|---|---|---|
|
|
418
|
-
| archive | POST | `/automation/v1/actions/{
|
|
424
|
+
| archive | POST | `/automation/v1/actions/{namespace}/{name}/archive` | no | no |
|
|
419
425
|
| create | POST | `/automation/v1/actions` | no | no |
|
|
420
426
|
| 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/{
|
|
427
|
+
| restore | POST | `/automation/v1/actions/{namespace}/{name}/restore` | no | no |
|
|
428
|
+
| retrieve | GET | `/automation/v1/actions/{namespace}/{name}` | no | no |
|
|
429
|
+
| rollback | POST | `/automation/v1/actions/{namespace}/{name}/rollback` | no | no |
|
|
430
|
+
| update | PUT | `/automation/v1/actions/{namespace}/{name}` | no | no |
|
|
425
431
|
|
|
426
432
|
### automation.actions.dependents
|
|
427
433
|
|
|
428
434
|
| Method | HTTP | Path | Streaming | Pagination |
|
|
429
435
|
|---|---|---|---|---|
|
|
430
|
-
| list | GET | `/automation/v1/actions/{
|
|
436
|
+
| list | GET | `/automation/v1/actions/{namespace}/{name}/dependents` | no | yes |
|
|
431
437
|
|
|
432
438
|
### automation.actions.invocations
|
|
433
439
|
|
|
434
440
|
| Method | HTTP | Path | Streaming | Pagination |
|
|
435
441
|
|---|---|---|---|---|
|
|
436
|
-
| list | GET | `/automation/v1/actions/{
|
|
442
|
+
| list | GET | `/automation/v1/actions/{namespace}/{name}/invocations` | no | yes |
|
|
437
443
|
|
|
438
444
|
### automation.actions.revisions
|
|
439
445
|
|
|
440
446
|
| Method | HTTP | Path | Streaming | Pagination |
|
|
441
447
|
|---|---|---|---|---|
|
|
442
|
-
| list | GET | `/automation/v1/actions/{
|
|
443
|
-
| retrieve | GET | `/automation/v1/actions/{
|
|
448
|
+
| list | GET | `/automation/v1/actions/{namespace}/{name}/revisions` | no | yes |
|
|
449
|
+
| retrieve | GET | `/automation/v1/actions/{namespace}/{name}/revisions/{revision}` | no | no |
|
|
444
450
|
|
|
445
451
|
### automation.hooks
|
|
446
452
|
|
|
@@ -452,11 +458,11 @@ Multipart request bodies expand plain objects into bracketed fields (for example
|
|
|
452
458
|
|
|
453
459
|
| Method | HTTP | Path | Streaming | Pagination |
|
|
454
460
|
|---|---|---|---|---|
|
|
455
|
-
| cancel | POST | `/automation/v1/human-tasks/{
|
|
456
|
-
| delegate | POST | `/automation/v1/human-tasks/{
|
|
461
|
+
| cancel | POST | `/automation/v1/human-tasks/{task_id}/cancel` | no | no |
|
|
462
|
+
| delegate | POST | `/automation/v1/human-tasks/{task_id}/delegate` | no | no |
|
|
457
463
|
| list | GET | `/automation/v1/human-tasks` | no | yes |
|
|
458
|
-
| respond | POST | `/automation/v1/human-tasks/{
|
|
459
|
-
| retrieve | GET | `/automation/v1/human-tasks/{
|
|
464
|
+
| respond | POST | `/automation/v1/human-tasks/{task_id}/respond` | no | no |
|
|
465
|
+
| retrieve | GET | `/automation/v1/human-tasks/{task_id}` | no | no |
|
|
460
466
|
|
|
461
467
|
### automation.resolve
|
|
462
468
|
|
|
@@ -468,77 +474,77 @@ Multipart request bodies expand plain objects into bracketed fields (for example
|
|
|
468
474
|
|
|
469
475
|
| Method | HTTP | Path | Streaming | Pagination |
|
|
470
476
|
|---|---|---|---|---|
|
|
471
|
-
| cancel | POST | `/automation/v1/runs/{
|
|
477
|
+
| cancel | POST | `/automation/v1/runs/{run_id}/cancel` | no | no |
|
|
472
478
|
| create | POST | `/automation/v1/runs` | no | no |
|
|
473
|
-
| events | GET | `/automation/v1/runs/{
|
|
479
|
+
| events | GET | `/automation/v1/runs/{run_id}/events` | always | no |
|
|
474
480
|
| 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/{
|
|
481
|
+
| logs | GET | `/automation/v1/runs/{run_id}/logs` | always | no |
|
|
482
|
+
| rerun | POST | `/automation/v1/runs/{run_id}/rerun` | no | no |
|
|
483
|
+
| resume | POST | `/automation/v1/runs/{run_id}/resume` | no | no |
|
|
484
|
+
| retrieve | GET | `/automation/v1/runs/{run_id}` | no | no |
|
|
485
|
+
| retrieveSource | GET | `/automation/v1/runs/{run_id}/source` | no | no |
|
|
486
|
+
| suspend | POST | `/automation/v1/runs/{run_id}/suspend` | no | no |
|
|
481
487
|
|
|
482
488
|
### automation.runs.artifacts
|
|
483
489
|
|
|
484
490
|
| Method | HTTP | Path | Streaming | Pagination |
|
|
485
491
|
|---|---|---|---|---|
|
|
486
|
-
| list | GET | `/automation/v1/runs/{
|
|
492
|
+
| list | GET | `/automation/v1/runs/{run_id}/artifacts` | no | yes |
|
|
487
493
|
|
|
488
494
|
### automation.runs.calls
|
|
489
495
|
|
|
490
496
|
| Method | HTTP | Path | Streaming | Pagination |
|
|
491
497
|
|---|---|---|---|---|
|
|
492
|
-
| list | GET | `/automation/v1/runs/{
|
|
498
|
+
| list | GET | `/automation/v1/runs/{run_id}/calls` | no | yes |
|
|
493
499
|
|
|
494
500
|
### automation.runs.tasks
|
|
495
501
|
|
|
496
502
|
| Method | HTTP | Path | Streaming | Pagination |
|
|
497
503
|
|---|---|---|---|---|
|
|
498
|
-
| list | GET | `/automation/v1/runs/{
|
|
504
|
+
| list | GET | `/automation/v1/runs/{run_id}/tasks` | no | yes |
|
|
499
505
|
|
|
500
506
|
### automation.runs.waits
|
|
501
507
|
|
|
502
508
|
| Method | HTTP | Path | Streaming | Pagination |
|
|
503
509
|
|---|---|---|---|---|
|
|
504
|
-
| complete | POST | `/automation/v1/runs/{
|
|
505
|
-
| list | GET | `/automation/v1/runs/{
|
|
510
|
+
| complete | POST | `/automation/v1/runs/{run_id}/waits/{wait_id}/complete` | no | no |
|
|
511
|
+
| list | GET | `/automation/v1/runs/{run_id}/waits` | no | yes |
|
|
506
512
|
|
|
507
513
|
### automation.scripts
|
|
508
514
|
|
|
509
515
|
| Method | HTTP | Path | Streaming | Pagination |
|
|
510
516
|
|---|---|---|---|---|
|
|
511
|
-
| archive | POST | `/automation/v1/scripts/{
|
|
517
|
+
| archive | POST | `/automation/v1/scripts/{namespace}/{name}/archive` | no | no |
|
|
512
518
|
| create | POST | `/automation/v1/scripts` | no | no |
|
|
513
519
|
| 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/{
|
|
520
|
+
| restore | POST | `/automation/v1/scripts/{namespace}/{name}/restore` | no | no |
|
|
521
|
+
| retrieve | GET | `/automation/v1/scripts/{namespace}/{name}` | no | no |
|
|
522
|
+
| update | PATCH | `/automation/v1/scripts/{namespace}/{name}` | no | no |
|
|
517
523
|
|
|
518
524
|
### automation.scripts.distTags
|
|
519
525
|
|
|
520
526
|
| Method | HTTP | Path | Streaming | Pagination |
|
|
521
527
|
|---|---|---|---|---|
|
|
522
|
-
| delete | DELETE | `/automation/v1/scripts/{
|
|
523
|
-
| list | GET | `/automation/v1/scripts/{
|
|
524
|
-
| set | PUT | `/automation/v1/scripts/{
|
|
528
|
+
| delete | DELETE | `/automation/v1/scripts/{namespace}/{name}/dist-tags/{tag}` | no | no |
|
|
529
|
+
| list | GET | `/automation/v1/scripts/{namespace}/{name}/dist-tags` | no | no |
|
|
530
|
+
| set | PUT | `/automation/v1/scripts/{namespace}/{name}/dist-tags/{tag}` | no | no |
|
|
525
531
|
|
|
526
532
|
### automation.scripts.vaults
|
|
527
533
|
|
|
528
534
|
| Method | HTTP | Path | Streaming | Pagination |
|
|
529
535
|
|---|---|---|---|---|
|
|
530
|
-
| delete | DELETE | `/automation/v1/scripts/{
|
|
531
|
-
| list | GET | `/automation/v1/scripts/{
|
|
532
|
-
| set | PUT | `/automation/v1/scripts/{
|
|
536
|
+
| delete | DELETE | `/automation/v1/scripts/{namespace}/{name}/vaults/{alias}` | no | no |
|
|
537
|
+
| list | GET | `/automation/v1/scripts/{namespace}/{name}/vaults` | no | no |
|
|
538
|
+
| set | PUT | `/automation/v1/scripts/{namespace}/{name}/vaults/{alias}` | no | no |
|
|
533
539
|
|
|
534
540
|
### automation.scripts.versions
|
|
535
541
|
|
|
536
542
|
| Method | HTTP | Path | Streaming | Pagination |
|
|
537
543
|
|---|---|---|---|---|
|
|
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/{
|
|
544
|
+
| create (alias: publish) | POST | `/automation/v1/scripts/{namespace}/{name}/versions` | no | no |
|
|
545
|
+
| deprecate | POST | `/automation/v1/scripts/{namespace}/{name}/versions/{version}/deprecate` | no | no |
|
|
546
|
+
| list | GET | `/automation/v1/scripts/{namespace}/{name}/versions` | no | yes |
|
|
547
|
+
| retrieve | GET | `/automation/v1/scripts/{namespace}/{name}/versions/{version}` | no | no |
|
|
542
548
|
|
|
543
549
|
### automation.targets
|
|
544
550
|
|
|
@@ -551,21 +557,21 @@ Multipart request bodies expand plain objects into bracketed fields (for example
|
|
|
551
557
|
| Method | HTTP | Path | Streaming | Pagination |
|
|
552
558
|
|---|---|---|---|---|
|
|
553
559
|
| create | POST | `/automation/v1/triggers` | no | no |
|
|
554
|
-
| delete | DELETE | `/automation/v1/triggers/{
|
|
555
|
-
| fire | POST | `/automation/v1/triggers/{
|
|
560
|
+
| delete | DELETE | `/automation/v1/triggers/{trigger_id}` | no | no |
|
|
561
|
+
| fire | POST | `/automation/v1/triggers/{trigger_id}/fire` | no | no |
|
|
556
562
|
| list | GET | `/automation/v1/triggers` | no | yes |
|
|
557
|
-
| pause | POST | `/automation/v1/triggers/{
|
|
563
|
+
| pause | POST | `/automation/v1/triggers/{trigger_id}/pause` | no | no |
|
|
558
564
|
| 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/{
|
|
565
|
+
| resume | POST | `/automation/v1/triggers/{trigger_id}/resume` | no | no |
|
|
566
|
+
| retrieve | GET | `/automation/v1/triggers/{trigger_id}` | no | no |
|
|
567
|
+
| rotateWebhook | POST | `/automation/v1/triggers/{trigger_id}/rotate-webhook` | no | no |
|
|
568
|
+
| update | PATCH | `/automation/v1/triggers/{trigger_id}` | no | no |
|
|
563
569
|
|
|
564
570
|
### automation.triggers.firings
|
|
565
571
|
|
|
566
572
|
| Method | HTTP | Path | Streaming | Pagination |
|
|
567
573
|
|---|---|---|---|---|
|
|
568
|
-
| list | GET | `/automation/v1/triggers/{
|
|
574
|
+
| list | GET | `/automation/v1/triggers/{trigger_id}/firings` | no | yes |
|
|
569
575
|
|
|
570
576
|
### automation.validate
|
|
571
577
|
|
|
@@ -577,37 +583,37 @@ Multipart request bodies expand plain objects into bracketed fields (for example
|
|
|
577
583
|
|
|
578
584
|
| Method | HTTP | Path | Streaming | Pagination |
|
|
579
585
|
|---|---|---|---|---|
|
|
580
|
-
| archive | POST | `/automation/v1/workflows/{
|
|
586
|
+
| archive | POST | `/automation/v1/workflows/{namespace}/{name}/archive` | no | no |
|
|
581
587
|
| create | POST | `/automation/v1/workflows` | no | no |
|
|
582
588
|
| 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/{
|
|
589
|
+
| restore | POST | `/automation/v1/workflows/{namespace}/{name}/restore` | no | no |
|
|
590
|
+
| retrieve | GET | `/automation/v1/workflows/{namespace}/{name}` | no | no |
|
|
591
|
+
| update | PATCH | `/automation/v1/workflows/{namespace}/{name}` | no | no |
|
|
586
592
|
|
|
587
593
|
### automation.workflows.distTags
|
|
588
594
|
|
|
589
595
|
| Method | HTTP | Path | Streaming | Pagination |
|
|
590
596
|
|---|---|---|---|---|
|
|
591
|
-
| delete | DELETE | `/automation/v1/workflows/{
|
|
592
|
-
| list | GET | `/automation/v1/workflows/{
|
|
593
|
-
| set | PUT | `/automation/v1/workflows/{
|
|
597
|
+
| delete | DELETE | `/automation/v1/workflows/{namespace}/{name}/dist-tags/{tag}` | no | no |
|
|
598
|
+
| list | GET | `/automation/v1/workflows/{namespace}/{name}/dist-tags` | no | no |
|
|
599
|
+
| set | PUT | `/automation/v1/workflows/{namespace}/{name}/dist-tags/{tag}` | no | no |
|
|
594
600
|
|
|
595
601
|
### automation.workflows.vaults
|
|
596
602
|
|
|
597
603
|
| Method | HTTP | Path | Streaming | Pagination |
|
|
598
604
|
|---|---|---|---|---|
|
|
599
|
-
| delete | DELETE | `/automation/v1/workflows/{
|
|
600
|
-
| list | GET | `/automation/v1/workflows/{
|
|
601
|
-
| set | PUT | `/automation/v1/workflows/{
|
|
605
|
+
| delete | DELETE | `/automation/v1/workflows/{namespace}/{name}/vaults/{alias}` | no | no |
|
|
606
|
+
| list | GET | `/automation/v1/workflows/{namespace}/{name}/vaults` | no | no |
|
|
607
|
+
| set | PUT | `/automation/v1/workflows/{namespace}/{name}/vaults/{alias}` | no | no |
|
|
602
608
|
|
|
603
609
|
### automation.workflows.versions
|
|
604
610
|
|
|
605
611
|
| Method | HTTP | Path | Streaming | Pagination |
|
|
606
612
|
|---|---|---|---|---|
|
|
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/{
|
|
613
|
+
| create (alias: publish) | POST | `/automation/v1/workflows/{namespace}/{name}/versions` | no | no |
|
|
614
|
+
| deprecate | POST | `/automation/v1/workflows/{namespace}/{name}/versions/{version}/deprecate` | no | no |
|
|
615
|
+
| list | GET | `/automation/v1/workflows/{namespace}/{name}/versions` | no | yes |
|
|
616
|
+
| retrieve | GET | `/automation/v1/workflows/{namespace}/{name}/versions/{version}` | no | no |
|
|
611
617
|
|
|
612
618
|
## billing
|
|
613
619
|
|
|
@@ -619,6 +625,33 @@ Multipart request bodies expand plain objects into bracketed fields (for example
|
|
|
619
625
|
|
|
620
626
|
## browser
|
|
621
627
|
|
|
628
|
+
### browser.byob.browsers
|
|
629
|
+
|
|
630
|
+
| Method | HTTP | Path | Streaming | Pagination |
|
|
631
|
+
|---|---|---|---|---|
|
|
632
|
+
| list | GET | `/browser/v1/byob/browsers` | no | no |
|
|
633
|
+
| retrieve | GET | `/browser/v1/byob/browsers/{browser_id}` | no | no |
|
|
634
|
+
| update | PATCH | `/browser/v1/byob/browsers/{browser_id}` | no | no |
|
|
635
|
+
|
|
636
|
+
### browser.byob.browsers.disconnect
|
|
637
|
+
|
|
638
|
+
| Method | HTTP | Path | Streaming | Pagination |
|
|
639
|
+
|---|---|---|---|---|
|
|
640
|
+
| create | POST | `/browser/v1/byob/browsers/{browser_id}/disconnect` | no | no |
|
|
641
|
+
|
|
642
|
+
### browser.byob.pairings
|
|
643
|
+
|
|
644
|
+
| Method | HTTP | Path | Streaming | Pagination |
|
|
645
|
+
|---|---|---|---|---|
|
|
646
|
+
| create | POST | `/browser/v1/byob/pairings` | no | no |
|
|
647
|
+
| retrieve | GET | `/browser/v1/byob/pairings/{code}` | no | no |
|
|
648
|
+
|
|
649
|
+
### browser.byob.pairings.claim
|
|
650
|
+
|
|
651
|
+
| Method | HTTP | Path | Streaming | Pagination |
|
|
652
|
+
|---|---|---|---|---|
|
|
653
|
+
| create | POST | `/browser/v1/byob/pairings/{code}/claim` | no | no |
|
|
654
|
+
|
|
622
655
|
### browser.connect
|
|
623
656
|
|
|
624
657
|
| Method | HTTP | Path | Streaming | Pagination |
|
|
@@ -1473,6 +1506,23 @@ Multipart request bodies expand plain objects into bracketed fields (for example
|
|
|
1473
1506
|
|---|---|---|---|---|
|
|
1474
1507
|
| list | GET | `/devops/v1/units/{id}/transitions` | no | no |
|
|
1475
1508
|
|
|
1509
|
+
## events
|
|
1510
|
+
|
|
1511
|
+
### events.subscriptions
|
|
1512
|
+
|
|
1513
|
+
| Method | HTTP | Path | Streaming | Pagination |
|
|
1514
|
+
|---|---|---|---|---|
|
|
1515
|
+
| create | POST | `/events/v1/subscriptions` | no | no |
|
|
1516
|
+
| delete | DELETE | `/events/v1/subscriptions/{subscription_id}` | no | no |
|
|
1517
|
+
| list | GET | `/events/v1/subscriptions` | no | no |
|
|
1518
|
+
| retrieve | GET | `/events/v1/subscriptions/{subscription_id}` | no | no |
|
|
1519
|
+
|
|
1520
|
+
### events.types
|
|
1521
|
+
|
|
1522
|
+
| Method | HTTP | Path | Streaming | Pagination |
|
|
1523
|
+
|---|---|---|---|---|
|
|
1524
|
+
| list | GET | `/events/v1/types` | no | no |
|
|
1525
|
+
|
|
1476
1526
|
## file
|
|
1477
1527
|
|
|
1478
1528
|
### file.files
|
|
@@ -1675,6 +1725,12 @@ Multipart request bodies expand plain objects into bracketed fields (for example
|
|
|
1675
1725
|
|---|---|---|---|---|
|
|
1676
1726
|
| restore | POST | `/media/v1/libraries/{library_id}/assets/{asset_id}/versions/{version_id}/restore` | no | no |
|
|
1677
1727
|
|
|
1728
|
+
### media.libraries.assets.works
|
|
1729
|
+
|
|
1730
|
+
| Method | HTTP | Path | Streaming | Pagination |
|
|
1731
|
+
|---|---|---|---|---|
|
|
1732
|
+
| list | GET | `/media/v1/libraries/{library_id}/assets/{asset_id}/works` | no | yes |
|
|
1733
|
+
|
|
1678
1734
|
### media.libraries.batches
|
|
1679
1735
|
|
|
1680
1736
|
| Method | HTTP | Path | Streaming | Pagination |
|
|
@@ -1765,6 +1821,16 @@ Multipart request bodies expand plain objects into bracketed fields (for example
|
|
|
1765
1821
|
|---|---|---|---|---|
|
|
1766
1822
|
| create | POST | `/media/v1/libraries/{library_id}/voices/designs` | no | no |
|
|
1767
1823
|
|
|
1824
|
+
### media.libraries.works
|
|
1825
|
+
|
|
1826
|
+
| Method | HTTP | Path | Streaming | Pagination |
|
|
1827
|
+
|---|---|---|---|---|
|
|
1828
|
+
| create | POST | `/media/v1/libraries/{library_id}/works` | no | no |
|
|
1829
|
+
| delete | DELETE | `/media/v1/libraries/{library_id}/works/{work_id}` | no | no |
|
|
1830
|
+
| list | GET | `/media/v1/libraries/{library_id}/works` | no | yes |
|
|
1831
|
+
| retrieve | GET | `/media/v1/libraries/{library_id}/works/{work_id}` | no | no |
|
|
1832
|
+
| update | PATCH | `/media/v1/libraries/{library_id}/works/{work_id}` | no | no |
|
|
1833
|
+
|
|
1768
1834
|
### media.pipelines
|
|
1769
1835
|
|
|
1770
1836
|
| Method | HTTP | Path | Streaming | Pagination |
|
|
@@ -2124,11 +2190,22 @@ Multipart request bodies expand plain objects into bracketed fields (for example
|
|
|
2124
2190
|
| Method | HTTP | Path | Streaming | Pagination |
|
|
2125
2191
|
|---|---|---|---|---|
|
|
2126
2192
|
| archive | POST | `/organization/v1/notifications/letters/{id}:archive` | no | no |
|
|
2193
|
+
| create | POST | `/organization/v1/notifications/letters` | no | no |
|
|
2127
2194
|
| list | GET | `/organization/v1/notifications/letters` | no | no |
|
|
2128
2195
|
| read | POST | `/organization/v1/notifications/letters/{id}:read` | no | no |
|
|
2129
2196
|
| readAll | POST | `/organization/v1/notifications/letters:readAll` | no | no |
|
|
2130
2197
|
| retrieve | GET | `/organization/v1/notifications/letters/{id}` | no | no |
|
|
2131
2198
|
|
|
2199
|
+
### organization.notifications.messages
|
|
2200
|
+
|
|
2201
|
+
| Method | HTTP | Path | Streaming | Pagination |
|
|
2202
|
+
|---|---|---|---|---|
|
|
2203
|
+
| delete | DELETE | `/organization/v1/notifications/messages/{name}` | no | no |
|
|
2204
|
+
| list | GET | `/organization/v1/notifications/messages` | no | no |
|
|
2205
|
+
| readAll | POST | `/organization/v1/notifications/messages:readAll` | no | no |
|
|
2206
|
+
| retrieve | GET | `/organization/v1/notifications/messages/{name}` | no | no |
|
|
2207
|
+
| update | POST | `/organization/v1/notifications/messages/{name}` | no | no |
|
|
2208
|
+
|
|
2132
2209
|
### organization.notifications.organizationDefault
|
|
2133
2210
|
|
|
2134
2211
|
| Method | HTTP | Path | Streaming | Pagination |
|
|
@@ -2269,6 +2346,7 @@ Multipart request bodies expand plain objects into bracketed fields (for example
|
|
|
2269
2346
|
|---|---|---|---|---|
|
|
2270
2347
|
| create | POST | `/sandbox/v1/byod/pairings` | no | no |
|
|
2271
2348
|
| retrieve | GET | `/sandbox/v1/byod/pairings/{code}` | no | no |
|
|
2349
|
+
| status | GET | `/sandbox/v1/byod/pairings/{code}/status` | no | no |
|
|
2272
2350
|
|
|
2273
2351
|
### sandbox.byod.pairings.claim
|
|
2274
2352
|
|
|
@@ -3103,6 +3181,7 @@ Multipart request bodies expand plain objects into bracketed fields (for example
|
|
|
3103
3181
|
| 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. |
|
|
3104
3182
|
| 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. |
|
|
3105
3183
|
| meta.docs.search | Documentation keyword search is an operation on docs, not a nested collection. |
|
|
3184
|
+
| 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. |
|
|
3106
3185
|
| 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. |
|
|
3107
3186
|
| sandbox.sandboxes.commands.run | Sandbox data operations use the E2B SDK verb while preserving URL resource nesting. |
|
|
3108
3187
|
| 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
|