@deepraxis/sdk 0.2.0-dev.21a04ef → 0.2.0-dev.2659553
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 +92 -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 +105 -27
- package/dist/generated/sdk.gen.js +316 -89
- package/dist/generated/types.gen.d.ts +2399 -431
- package/dist/helpers/browser-actions.d.ts +2 -0
- package/dist/helpers/browser-actions.js +2 -0
- package/dist/helpers/browser-connect-error.d.ts +16 -4
- package/dist/helpers/browser-connect-error.js +34 -9
- package/dist/helpers/browser-connect.d.ts +22 -1
- package/dist/helpers/browser-connect.js +44 -8
- package/dist/helpers/browser-decisions.d.ts +2 -0
- package/dist/helpers/browser-decisions.js +7 -0
- package/dist/helpers/browser-documentation.d.ts +1 -1
- package/dist/helpers/browser-documentation.js +2 -1
- package/dist/operations.generated.js +726 -254
- package/dist/resources.generated.d.ts +791 -65
- package/dist/resources.generated.js +82 -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`. 993 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
|
|
|
@@ -421,32 +421,32 @@ Multipart request bodies expand plain objects into bracketed fields (for example
|
|
|
421
421
|
|
|
422
422
|
| Method | HTTP | Path | Streaming | Pagination |
|
|
423
423
|
|---|---|---|---|---|
|
|
424
|
-
| archive | POST | `/automation/v1/actions/{
|
|
424
|
+
| archive | POST | `/automation/v1/actions/{namespace}/{name}/archive` | no | no |
|
|
425
425
|
| create | POST | `/automation/v1/actions` | no | no |
|
|
426
426
|
| list | GET | `/automation/v1/actions` | no | yes |
|
|
427
|
-
| restore | POST | `/automation/v1/actions/{
|
|
428
|
-
| retrieve | GET | `/automation/v1/actions/{
|
|
429
|
-
| rollback | POST | `/automation/v1/actions/{
|
|
430
|
-
| 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 |
|
|
431
431
|
|
|
432
432
|
### automation.actions.dependents
|
|
433
433
|
|
|
434
434
|
| Method | HTTP | Path | Streaming | Pagination |
|
|
435
435
|
|---|---|---|---|---|
|
|
436
|
-
| list | GET | `/automation/v1/actions/{
|
|
436
|
+
| list | GET | `/automation/v1/actions/{namespace}/{name}/dependents` | no | yes |
|
|
437
437
|
|
|
438
438
|
### automation.actions.invocations
|
|
439
439
|
|
|
440
440
|
| Method | HTTP | Path | Streaming | Pagination |
|
|
441
441
|
|---|---|---|---|---|
|
|
442
|
-
| list | GET | `/automation/v1/actions/{
|
|
442
|
+
| list | GET | `/automation/v1/actions/{namespace}/{name}/invocations` | no | yes |
|
|
443
443
|
|
|
444
444
|
### automation.actions.revisions
|
|
445
445
|
|
|
446
446
|
| Method | HTTP | Path | Streaming | Pagination |
|
|
447
447
|
|---|---|---|---|---|
|
|
448
|
-
| list | GET | `/automation/v1/actions/{
|
|
449
|
-
| 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 |
|
|
450
450
|
|
|
451
451
|
### automation.hooks
|
|
452
452
|
|
|
@@ -458,11 +458,11 @@ Multipart request bodies expand plain objects into bracketed fields (for example
|
|
|
458
458
|
|
|
459
459
|
| Method | HTTP | Path | Streaming | Pagination |
|
|
460
460
|
|---|---|---|---|---|
|
|
461
|
-
| cancel | POST | `/automation/v1/human-tasks/{
|
|
462
|
-
| 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 |
|
|
463
463
|
| list | GET | `/automation/v1/human-tasks` | no | yes |
|
|
464
|
-
| respond | POST | `/automation/v1/human-tasks/{
|
|
465
|
-
| 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 |
|
|
466
466
|
|
|
467
467
|
### automation.resolve
|
|
468
468
|
|
|
@@ -474,77 +474,77 @@ Multipart request bodies expand plain objects into bracketed fields (for example
|
|
|
474
474
|
|
|
475
475
|
| Method | HTTP | Path | Streaming | Pagination |
|
|
476
476
|
|---|---|---|---|---|
|
|
477
|
-
| cancel | POST | `/automation/v1/runs/{
|
|
477
|
+
| cancel | POST | `/automation/v1/runs/{run_id}/cancel` | no | no |
|
|
478
478
|
| create | POST | `/automation/v1/runs` | no | no |
|
|
479
|
-
| events | GET | `/automation/v1/runs/{
|
|
479
|
+
| events | GET | `/automation/v1/runs/{run_id}/events` | always | no |
|
|
480
480
|
| list | GET | `/automation/v1/runs` | no | yes |
|
|
481
|
-
| logs | GET | `/automation/v1/runs/{
|
|
482
|
-
| rerun | POST | `/automation/v1/runs/{
|
|
483
|
-
| resume | POST | `/automation/v1/runs/{
|
|
484
|
-
| retrieve | GET | `/automation/v1/runs/{
|
|
485
|
-
| retrieveSource | GET | `/automation/v1/runs/{
|
|
486
|
-
| 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 |
|
|
487
487
|
|
|
488
488
|
### automation.runs.artifacts
|
|
489
489
|
|
|
490
490
|
| Method | HTTP | Path | Streaming | Pagination |
|
|
491
491
|
|---|---|---|---|---|
|
|
492
|
-
| list | GET | `/automation/v1/runs/{
|
|
492
|
+
| list | GET | `/automation/v1/runs/{run_id}/artifacts` | no | yes |
|
|
493
493
|
|
|
494
494
|
### automation.runs.calls
|
|
495
495
|
|
|
496
496
|
| Method | HTTP | Path | Streaming | Pagination |
|
|
497
497
|
|---|---|---|---|---|
|
|
498
|
-
| list | GET | `/automation/v1/runs/{
|
|
498
|
+
| list | GET | `/automation/v1/runs/{run_id}/calls` | no | yes |
|
|
499
499
|
|
|
500
500
|
### automation.runs.tasks
|
|
501
501
|
|
|
502
502
|
| Method | HTTP | Path | Streaming | Pagination |
|
|
503
503
|
|---|---|---|---|---|
|
|
504
|
-
| list | GET | `/automation/v1/runs/{
|
|
504
|
+
| list | GET | `/automation/v1/runs/{run_id}/tasks` | no | yes |
|
|
505
505
|
|
|
506
506
|
### automation.runs.waits
|
|
507
507
|
|
|
508
508
|
| Method | HTTP | Path | Streaming | Pagination |
|
|
509
509
|
|---|---|---|---|---|
|
|
510
|
-
| complete | POST | `/automation/v1/runs/{
|
|
511
|
-
| 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 |
|
|
512
512
|
|
|
513
513
|
### automation.scripts
|
|
514
514
|
|
|
515
515
|
| Method | HTTP | Path | Streaming | Pagination |
|
|
516
516
|
|---|---|---|---|---|
|
|
517
|
-
| archive | POST | `/automation/v1/scripts/{
|
|
517
|
+
| archive | POST | `/automation/v1/scripts/{namespace}/{name}/archive` | no | no |
|
|
518
518
|
| create | POST | `/automation/v1/scripts` | no | no |
|
|
519
519
|
| list | GET | `/automation/v1/scripts` | no | yes |
|
|
520
|
-
| restore | POST | `/automation/v1/scripts/{
|
|
521
|
-
| retrieve | GET | `/automation/v1/scripts/{
|
|
522
|
-
| 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 |
|
|
523
523
|
|
|
524
524
|
### automation.scripts.distTags
|
|
525
525
|
|
|
526
526
|
| Method | HTTP | Path | Streaming | Pagination |
|
|
527
527
|
|---|---|---|---|---|
|
|
528
|
-
| delete | DELETE | `/automation/v1/scripts/{
|
|
529
|
-
| list | GET | `/automation/v1/scripts/{
|
|
530
|
-
| 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 |
|
|
531
531
|
|
|
532
532
|
### automation.scripts.vaults
|
|
533
533
|
|
|
534
534
|
| Method | HTTP | Path | Streaming | Pagination |
|
|
535
535
|
|---|---|---|---|---|
|
|
536
|
-
| delete | DELETE | `/automation/v1/scripts/{
|
|
537
|
-
| list | GET | `/automation/v1/scripts/{
|
|
538
|
-
| 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 |
|
|
539
539
|
|
|
540
540
|
### automation.scripts.versions
|
|
541
541
|
|
|
542
542
|
| Method | HTTP | Path | Streaming | Pagination |
|
|
543
543
|
|---|---|---|---|---|
|
|
544
|
-
| create (alias: publish) | POST | `/automation/v1/scripts/{
|
|
545
|
-
| deprecate | POST | `/automation/v1/scripts/{
|
|
546
|
-
| list | GET | `/automation/v1/scripts/{
|
|
547
|
-
| 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 |
|
|
548
548
|
|
|
549
549
|
### automation.targets
|
|
550
550
|
|
|
@@ -557,21 +557,21 @@ Multipart request bodies expand plain objects into bracketed fields (for example
|
|
|
557
557
|
| Method | HTTP | Path | Streaming | Pagination |
|
|
558
558
|
|---|---|---|---|---|
|
|
559
559
|
| create | POST | `/automation/v1/triggers` | no | no |
|
|
560
|
-
| delete | DELETE | `/automation/v1/triggers/{
|
|
561
|
-
| 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 |
|
|
562
562
|
| list | GET | `/automation/v1/triggers` | no | yes |
|
|
563
|
-
| pause | POST | `/automation/v1/triggers/{
|
|
563
|
+
| pause | POST | `/automation/v1/triggers/{trigger_id}/pause` | no | no |
|
|
564
564
|
| preview | POST | `/automation/v1/triggers/preview` | no | no |
|
|
565
|
-
| resume | POST | `/automation/v1/triggers/{
|
|
566
|
-
| retrieve | GET | `/automation/v1/triggers/{
|
|
567
|
-
| rotateWebhook | POST | `/automation/v1/triggers/{
|
|
568
|
-
| 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 |
|
|
569
569
|
|
|
570
570
|
### automation.triggers.firings
|
|
571
571
|
|
|
572
572
|
| Method | HTTP | Path | Streaming | Pagination |
|
|
573
573
|
|---|---|---|---|---|
|
|
574
|
-
| list | GET | `/automation/v1/triggers/{
|
|
574
|
+
| list | GET | `/automation/v1/triggers/{trigger_id}/firings` | no | yes |
|
|
575
575
|
|
|
576
576
|
### automation.validate
|
|
577
577
|
|
|
@@ -583,37 +583,37 @@ Multipart request bodies expand plain objects into bracketed fields (for example
|
|
|
583
583
|
|
|
584
584
|
| Method | HTTP | Path | Streaming | Pagination |
|
|
585
585
|
|---|---|---|---|---|
|
|
586
|
-
| archive | POST | `/automation/v1/workflows/{
|
|
586
|
+
| archive | POST | `/automation/v1/workflows/{namespace}/{name}/archive` | no | no |
|
|
587
587
|
| create | POST | `/automation/v1/workflows` | no | no |
|
|
588
588
|
| list | GET | `/automation/v1/workflows` | no | yes |
|
|
589
|
-
| restore | POST | `/automation/v1/workflows/{
|
|
590
|
-
| retrieve | GET | `/automation/v1/workflows/{
|
|
591
|
-
| 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 |
|
|
592
592
|
|
|
593
593
|
### automation.workflows.distTags
|
|
594
594
|
|
|
595
595
|
| Method | HTTP | Path | Streaming | Pagination |
|
|
596
596
|
|---|---|---|---|---|
|
|
597
|
-
| delete | DELETE | `/automation/v1/workflows/{
|
|
598
|
-
| list | GET | `/automation/v1/workflows/{
|
|
599
|
-
| 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 |
|
|
600
600
|
|
|
601
601
|
### automation.workflows.vaults
|
|
602
602
|
|
|
603
603
|
| Method | HTTP | Path | Streaming | Pagination |
|
|
604
604
|
|---|---|---|---|---|
|
|
605
|
-
| delete | DELETE | `/automation/v1/workflows/{
|
|
606
|
-
| list | GET | `/automation/v1/workflows/{
|
|
607
|
-
| 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 |
|
|
608
608
|
|
|
609
609
|
### automation.workflows.versions
|
|
610
610
|
|
|
611
611
|
| Method | HTTP | Path | Streaming | Pagination |
|
|
612
612
|
|---|---|---|---|---|
|
|
613
|
-
| create (alias: publish) | POST | `/automation/v1/workflows/{
|
|
614
|
-
| deprecate | POST | `/automation/v1/workflows/{
|
|
615
|
-
| list | GET | `/automation/v1/workflows/{
|
|
616
|
-
| 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 |
|
|
617
617
|
|
|
618
618
|
## billing
|
|
619
619
|
|
|
@@ -1708,6 +1708,12 @@ Multipart request bodies expand plain objects into bracketed fields (for example
|
|
|
1708
1708
|
|---|---|---|---|---|
|
|
1709
1709
|
| restore | POST | `/media/v1/libraries/{library_id}/assets/{asset_id}/versions/{version_id}/restore` | no | no |
|
|
1710
1710
|
|
|
1711
|
+
### media.libraries.assets.works
|
|
1712
|
+
|
|
1713
|
+
| Method | HTTP | Path | Streaming | Pagination |
|
|
1714
|
+
|---|---|---|---|---|
|
|
1715
|
+
| list | GET | `/media/v1/libraries/{library_id}/assets/{asset_id}/works` | no | yes |
|
|
1716
|
+
|
|
1711
1717
|
### media.libraries.batches
|
|
1712
1718
|
|
|
1713
1719
|
| Method | HTTP | Path | Streaming | Pagination |
|
|
@@ -1798,6 +1804,16 @@ Multipart request bodies expand plain objects into bracketed fields (for example
|
|
|
1798
1804
|
|---|---|---|---|---|
|
|
1799
1805
|
| create | POST | `/media/v1/libraries/{library_id}/voices/designs` | no | no |
|
|
1800
1806
|
|
|
1807
|
+
### media.libraries.works
|
|
1808
|
+
|
|
1809
|
+
| Method | HTTP | Path | Streaming | Pagination |
|
|
1810
|
+
|---|---|---|---|---|
|
|
1811
|
+
| create | POST | `/media/v1/libraries/{library_id}/works` | no | no |
|
|
1812
|
+
| delete | DELETE | `/media/v1/libraries/{library_id}/works/{work_id}` | no | no |
|
|
1813
|
+
| list | GET | `/media/v1/libraries/{library_id}/works` | no | yes |
|
|
1814
|
+
| retrieve | GET | `/media/v1/libraries/{library_id}/works/{work_id}` | no | no |
|
|
1815
|
+
| update | PATCH | `/media/v1/libraries/{library_id}/works/{work_id}` | no | no |
|
|
1816
|
+
|
|
1801
1817
|
### media.pipelines
|
|
1802
1818
|
|
|
1803
1819
|
| Method | HTTP | Path | Streaming | Pagination |
|
|
@@ -2157,11 +2173,22 @@ Multipart request bodies expand plain objects into bracketed fields (for example
|
|
|
2157
2173
|
| Method | HTTP | Path | Streaming | Pagination |
|
|
2158
2174
|
|---|---|---|---|---|
|
|
2159
2175
|
| archive | POST | `/organization/v1/notifications/letters/{id}:archive` | no | no |
|
|
2176
|
+
| create | POST | `/organization/v1/notifications/letters` | no | no |
|
|
2160
2177
|
| list | GET | `/organization/v1/notifications/letters` | no | no |
|
|
2161
2178
|
| read | POST | `/organization/v1/notifications/letters/{id}:read` | no | no |
|
|
2162
2179
|
| readAll | POST | `/organization/v1/notifications/letters:readAll` | no | no |
|
|
2163
2180
|
| retrieve | GET | `/organization/v1/notifications/letters/{id}` | no | no |
|
|
2164
2181
|
|
|
2182
|
+
### organization.notifications.messages
|
|
2183
|
+
|
|
2184
|
+
| Method | HTTP | Path | Streaming | Pagination |
|
|
2185
|
+
|---|---|---|---|---|
|
|
2186
|
+
| delete | DELETE | `/organization/v1/notifications/messages/{name}` | no | no |
|
|
2187
|
+
| list | GET | `/organization/v1/notifications/messages` | no | no |
|
|
2188
|
+
| readAll | POST | `/organization/v1/notifications/messages:readAll` | no | no |
|
|
2189
|
+
| retrieve | GET | `/organization/v1/notifications/messages/{name}` | no | no |
|
|
2190
|
+
| update | POST | `/organization/v1/notifications/messages/{name}` | no | no |
|
|
2191
|
+
|
|
2165
2192
|
### organization.notifications.organizationDefault
|
|
2166
2193
|
|
|
2167
2194
|
| Method | HTTP | Path | Streaming | Pagination |
|
|
@@ -2302,6 +2329,7 @@ Multipart request bodies expand plain objects into bracketed fields (for example
|
|
|
2302
2329
|
|---|---|---|---|---|
|
|
2303
2330
|
| create | POST | `/sandbox/v1/byod/pairings` | no | no |
|
|
2304
2331
|
| retrieve | GET | `/sandbox/v1/byod/pairings/{code}` | no | no |
|
|
2332
|
+
| status | GET | `/sandbox/v1/byod/pairings/{code}/status` | no | no |
|
|
2305
2333
|
|
|
2306
2334
|
### sandbox.byod.pairings.claim
|
|
2307
2335
|
|
|
@@ -3136,6 +3164,7 @@ Multipart request bodies expand plain objects into bracketed fields (for example
|
|
|
3136
3164
|
| 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. |
|
|
3137
3165
|
| 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. |
|
|
3138
3166
|
| meta.docs.search | Documentation keyword search is an operation on docs, not a nested collection. |
|
|
3167
|
+
| 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. |
|
|
3139
3168
|
| 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. |
|
|
3140
3169
|
| sandbox.sandboxes.commands.run | Sandbox data operations use the E2B SDK verb while preserving URL resource nesting. |
|
|
3141
3170
|
| 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
|