@deepraxis/sdk 0.2.0-dev.9bf33e2 → 0.2.0-dev.aa49a60
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 +174 -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 +312 -57
- package/dist/generated/sdk.gen.js +826 -302
- package/dist/generated/types.gen.d.ts +5131 -1549
- 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 +15 -3
- package/dist/helpers/browser-connect-error.js +33 -8
- 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 +1 -0
- package/dist/operations.generated.js +1692 -430
- package/dist/resources.generated.d.ts +884 -81
- package/dist/resources.generated.js +229 -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`. 1015 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
|
|
|
@@ -393,6 +393,14 @@ Multipart request bodies expand plain objects into bracketed fields (for example
|
|
|
393
393
|
| delete | DELETE | `/application/v1/workers/{worker_id}/grants/{grant_id}` | no | no |
|
|
394
394
|
| list | GET | `/application/v1/workers/{worker_id}/grants` | no | no |
|
|
395
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
|
+
|
|
396
404
|
### application.workers.secrets
|
|
397
405
|
|
|
398
406
|
| Method | HTTP | Path | Streaming | Pagination |
|
|
@@ -421,32 +429,32 @@ Multipart request bodies expand plain objects into bracketed fields (for example
|
|
|
421
429
|
|
|
422
430
|
| Method | HTTP | Path | Streaming | Pagination |
|
|
423
431
|
|---|---|---|---|---|
|
|
424
|
-
| archive | POST | `/automation/v1/actions/{
|
|
432
|
+
| archive | POST | `/automation/v1/actions/{namespace}/{name}/archive` | no | no |
|
|
425
433
|
| create | POST | `/automation/v1/actions` | no | no |
|
|
426
434
|
| 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/{
|
|
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 |
|
|
431
439
|
|
|
432
440
|
### automation.actions.dependents
|
|
433
441
|
|
|
434
442
|
| Method | HTTP | Path | Streaming | Pagination |
|
|
435
443
|
|---|---|---|---|---|
|
|
436
|
-
| list | GET | `/automation/v1/actions/{
|
|
444
|
+
| list | GET | `/automation/v1/actions/{namespace}/{name}/dependents` | no | yes |
|
|
437
445
|
|
|
438
446
|
### automation.actions.invocations
|
|
439
447
|
|
|
440
448
|
| Method | HTTP | Path | Streaming | Pagination |
|
|
441
449
|
|---|---|---|---|---|
|
|
442
|
-
| list | GET | `/automation/v1/actions/{
|
|
450
|
+
| list | GET | `/automation/v1/actions/{namespace}/{name}/invocations` | no | yes |
|
|
443
451
|
|
|
444
452
|
### automation.actions.revisions
|
|
445
453
|
|
|
446
454
|
| Method | HTTP | Path | Streaming | Pagination |
|
|
447
455
|
|---|---|---|---|---|
|
|
448
|
-
| list | GET | `/automation/v1/actions/{
|
|
449
|
-
| 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 |
|
|
450
458
|
|
|
451
459
|
### automation.hooks
|
|
452
460
|
|
|
@@ -458,11 +466,11 @@ Multipart request bodies expand plain objects into bracketed fields (for example
|
|
|
458
466
|
|
|
459
467
|
| Method | HTTP | Path | Streaming | Pagination |
|
|
460
468
|
|---|---|---|---|---|
|
|
461
|
-
| cancel | POST | `/automation/v1/human-tasks/{
|
|
462
|
-
| 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 |
|
|
463
471
|
| list | GET | `/automation/v1/human-tasks` | no | yes |
|
|
464
|
-
| respond | POST | `/automation/v1/human-tasks/{
|
|
465
|
-
| 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 |
|
|
466
474
|
|
|
467
475
|
### automation.resolve
|
|
468
476
|
|
|
@@ -474,77 +482,77 @@ Multipart request bodies expand plain objects into bracketed fields (for example
|
|
|
474
482
|
|
|
475
483
|
| Method | HTTP | Path | Streaming | Pagination |
|
|
476
484
|
|---|---|---|---|---|
|
|
477
|
-
| cancel | POST | `/automation/v1/runs/{
|
|
485
|
+
| cancel | POST | `/automation/v1/runs/{run_id}/cancel` | no | no |
|
|
478
486
|
| create | POST | `/automation/v1/runs` | no | no |
|
|
479
|
-
| events | GET | `/automation/v1/runs/{
|
|
487
|
+
| events | GET | `/automation/v1/runs/{run_id}/events` | always | no |
|
|
480
488
|
| 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/{
|
|
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 |
|
|
487
495
|
|
|
488
496
|
### automation.runs.artifacts
|
|
489
497
|
|
|
490
498
|
| Method | HTTP | Path | Streaming | Pagination |
|
|
491
499
|
|---|---|---|---|---|
|
|
492
|
-
| list | GET | `/automation/v1/runs/{
|
|
500
|
+
| list | GET | `/automation/v1/runs/{run_id}/artifacts` | no | yes |
|
|
493
501
|
|
|
494
502
|
### automation.runs.calls
|
|
495
503
|
|
|
496
504
|
| Method | HTTP | Path | Streaming | Pagination |
|
|
497
505
|
|---|---|---|---|---|
|
|
498
|
-
| list | GET | `/automation/v1/runs/{
|
|
506
|
+
| list | GET | `/automation/v1/runs/{run_id}/calls` | no | yes |
|
|
499
507
|
|
|
500
508
|
### automation.runs.tasks
|
|
501
509
|
|
|
502
510
|
| Method | HTTP | Path | Streaming | Pagination |
|
|
503
511
|
|---|---|---|---|---|
|
|
504
|
-
| list | GET | `/automation/v1/runs/{
|
|
512
|
+
| list | GET | `/automation/v1/runs/{run_id}/tasks` | no | yes |
|
|
505
513
|
|
|
506
514
|
### automation.runs.waits
|
|
507
515
|
|
|
508
516
|
| Method | HTTP | Path | Streaming | Pagination |
|
|
509
517
|
|---|---|---|---|---|
|
|
510
|
-
| complete | POST | `/automation/v1/runs/{
|
|
511
|
-
| 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 |
|
|
512
520
|
|
|
513
521
|
### automation.scripts
|
|
514
522
|
|
|
515
523
|
| Method | HTTP | Path | Streaming | Pagination |
|
|
516
524
|
|---|---|---|---|---|
|
|
517
|
-
| archive | POST | `/automation/v1/scripts/{
|
|
525
|
+
| archive | POST | `/automation/v1/scripts/{namespace}/{name}/archive` | no | no |
|
|
518
526
|
| create | POST | `/automation/v1/scripts` | no | no |
|
|
519
527
|
| 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/{
|
|
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 |
|
|
523
531
|
|
|
524
532
|
### automation.scripts.distTags
|
|
525
533
|
|
|
526
534
|
| Method | HTTP | Path | Streaming | Pagination |
|
|
527
535
|
|---|---|---|---|---|
|
|
528
|
-
| delete | DELETE | `/automation/v1/scripts/{
|
|
529
|
-
| list | GET | `/automation/v1/scripts/{
|
|
530
|
-
| 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 |
|
|
531
539
|
|
|
532
540
|
### automation.scripts.vaults
|
|
533
541
|
|
|
534
542
|
| Method | HTTP | Path | Streaming | Pagination |
|
|
535
543
|
|---|---|---|---|---|
|
|
536
|
-
| delete | DELETE | `/automation/v1/scripts/{
|
|
537
|
-
| list | GET | `/automation/v1/scripts/{
|
|
538
|
-
| 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 |
|
|
539
547
|
|
|
540
548
|
### automation.scripts.versions
|
|
541
549
|
|
|
542
550
|
| Method | HTTP | Path | Streaming | Pagination |
|
|
543
551
|
|---|---|---|---|---|
|
|
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/{
|
|
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 |
|
|
548
556
|
|
|
549
557
|
### automation.targets
|
|
550
558
|
|
|
@@ -557,21 +565,21 @@ Multipart request bodies expand plain objects into bracketed fields (for example
|
|
|
557
565
|
| Method | HTTP | Path | Streaming | Pagination |
|
|
558
566
|
|---|---|---|---|---|
|
|
559
567
|
| create | POST | `/automation/v1/triggers` | no | no |
|
|
560
|
-
| delete | DELETE | `/automation/v1/triggers/{
|
|
561
|
-
| 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 |
|
|
562
570
|
| list | GET | `/automation/v1/triggers` | no | yes |
|
|
563
|
-
| pause | POST | `/automation/v1/triggers/{
|
|
571
|
+
| pause | POST | `/automation/v1/triggers/{trigger_id}/pause` | no | no |
|
|
564
572
|
| 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/{
|
|
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 |
|
|
569
577
|
|
|
570
578
|
### automation.triggers.firings
|
|
571
579
|
|
|
572
580
|
| Method | HTTP | Path | Streaming | Pagination |
|
|
573
581
|
|---|---|---|---|---|
|
|
574
|
-
| list | GET | `/automation/v1/triggers/{
|
|
582
|
+
| list | GET | `/automation/v1/triggers/{trigger_id}/firings` | no | yes |
|
|
575
583
|
|
|
576
584
|
### automation.validate
|
|
577
585
|
|
|
@@ -583,37 +591,37 @@ Multipart request bodies expand plain objects into bracketed fields (for example
|
|
|
583
591
|
|
|
584
592
|
| Method | HTTP | Path | Streaming | Pagination |
|
|
585
593
|
|---|---|---|---|---|
|
|
586
|
-
| archive | POST | `/automation/v1/workflows/{
|
|
594
|
+
| archive | POST | `/automation/v1/workflows/{namespace}/{name}/archive` | no | no |
|
|
587
595
|
| create | POST | `/automation/v1/workflows` | no | no |
|
|
588
596
|
| 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/{
|
|
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 |
|
|
592
600
|
|
|
593
601
|
### automation.workflows.distTags
|
|
594
602
|
|
|
595
603
|
| Method | HTTP | Path | Streaming | Pagination |
|
|
596
604
|
|---|---|---|---|---|
|
|
597
|
-
| delete | DELETE | `/automation/v1/workflows/{
|
|
598
|
-
| list | GET | `/automation/v1/workflows/{
|
|
599
|
-
| 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 |
|
|
600
608
|
|
|
601
609
|
### automation.workflows.vaults
|
|
602
610
|
|
|
603
611
|
| Method | HTTP | Path | Streaming | Pagination |
|
|
604
612
|
|---|---|---|---|---|
|
|
605
|
-
| delete | DELETE | `/automation/v1/workflows/{
|
|
606
|
-
| list | GET | `/automation/v1/workflows/{
|
|
607
|
-
| 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 |
|
|
608
616
|
|
|
609
617
|
### automation.workflows.versions
|
|
610
618
|
|
|
611
619
|
| Method | HTTP | Path | Streaming | Pagination |
|
|
612
620
|
|---|---|---|---|---|
|
|
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/{
|
|
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 |
|
|
617
625
|
|
|
618
626
|
## billing
|
|
619
627
|
|
|
@@ -758,6 +766,12 @@ Multipart request bodies expand plain objects into bracketed fields (for example
|
|
|
758
766
|
|---|---|---|---|---|
|
|
759
767
|
| list | GET | `/canvas/v1/canvases/{canvas_id}/nodes` | no | no |
|
|
760
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
|
+
|
|
761
775
|
### canvas.canvases.versions
|
|
762
776
|
|
|
763
777
|
| Method | HTTP | Path | Streaming | Pagination |
|
|
@@ -898,7 +912,9 @@ Multipart request bodies expand plain objects into bracketed fields (for example
|
|
|
898
912
|
| Method | HTTP | Path | Streaming | Pagination |
|
|
899
913
|
|---|---|---|---|---|
|
|
900
914
|
| create | POST | `/crm/v1/schemas` | no | no |
|
|
915
|
+
| delete | DELETE | `/crm/v1/schemas/{objectType}` | no | no |
|
|
901
916
|
| list | GET | `/crm/v1/schemas` | no | no |
|
|
917
|
+
| retrieve | GET | `/crm/v1/schemas/{objectType}` | no | no |
|
|
902
918
|
|
|
903
919
|
## customer
|
|
904
920
|
|
|
@@ -1421,6 +1437,7 @@ Multipart request bodies expand plain objects into bracketed fields (for example
|
|
|
1421
1437
|
|---|---|---|---|---|
|
|
1422
1438
|
| close | POST | `/devops/v1/pull-requests/{id}:close` | no | no |
|
|
1423
1439
|
| merge | POST | `/devops/v1/pull-requests/{id}:merge` | no | no |
|
|
1440
|
+
| overrideGate | POST | `/devops/v1/pull-requests/{id}:overrideGate` | no | no |
|
|
1424
1441
|
| recordVerdict | POST | `/devops/v1/pull-requests/{id}:recordVerdict` | no | no |
|
|
1425
1442
|
| rerunGate | POST | `/devops/v1/pull-requests/{id}:rerunGate` | no | no |
|
|
1426
1443
|
| retrieve | GET | `/devops/v1/pull-requests/{id}` | no | no |
|
|
@@ -1506,6 +1523,65 @@ Multipart request bodies expand plain objects into bracketed fields (for example
|
|
|
1506
1523
|
|---|---|---|---|---|
|
|
1507
1524
|
| list | GET | `/devops/v1/units/{id}/transitions` | no | no |
|
|
1508
1525
|
|
|
1526
|
+
## end
|
|
1527
|
+
|
|
1528
|
+
### end.accessTokens
|
|
1529
|
+
|
|
1530
|
+
| Method | HTTP | Path | Streaming | Pagination |
|
|
1531
|
+
|---|---|---|---|---|
|
|
1532
|
+
| create | POST | `/end/v1/access_tokens` | no | no |
|
|
1533
|
+
| renew | POST | `/end/v1/access_tokens/renew` | no | no |
|
|
1534
|
+
| revoke | DELETE | `/end/v1/access_tokens/current` | no | no |
|
|
1535
|
+
|
|
1536
|
+
### end.grantCodes
|
|
1537
|
+
|
|
1538
|
+
| Method | HTTP | Path | Streaming | Pagination |
|
|
1539
|
+
|---|---|---|---|---|
|
|
1540
|
+
| create | POST | `/end/v1/grant_codes` | no | no |
|
|
1541
|
+
|
|
1542
|
+
### end.publishableKeys
|
|
1543
|
+
|
|
1544
|
+
| Method | HTTP | Path | Streaming | Pagination |
|
|
1545
|
+
|---|---|---|---|---|
|
|
1546
|
+
| create | POST | `/end/v1/publishable_keys` | no | no |
|
|
1547
|
+
| delete | DELETE | `/end/v1/publishable_keys/{key_id}` | no | no |
|
|
1548
|
+
| list | GET | `/end/v1/publishable_keys` | no | no |
|
|
1549
|
+
| update | PATCH | `/end/v1/publishable_keys/{key_id}` | no | no |
|
|
1550
|
+
|
|
1551
|
+
### end.usage
|
|
1552
|
+
|
|
1553
|
+
| Method | HTTP | Path | Streaming | Pagination |
|
|
1554
|
+
|---|---|---|---|---|
|
|
1555
|
+
| retrieve | GET | `/end/v1/users/{end_user_id}/usage` | no | no |
|
|
1556
|
+
|
|
1557
|
+
### end.users
|
|
1558
|
+
|
|
1559
|
+
| Method | HTTP | Path | Streaming | Pagination |
|
|
1560
|
+
|---|---|---|---|---|
|
|
1561
|
+
| block | POST | `/end/v1/users/{end_user_id}/block` | no | no |
|
|
1562
|
+
| delete | DELETE | `/end/v1/users/{end_user_id}` | no | no |
|
|
1563
|
+
| list | GET | `/end/v1/users` | no | no |
|
|
1564
|
+
| retrieve | GET | `/end/v1/users/{end_user_id}` | no | no |
|
|
1565
|
+
| revokeTokens | POST | `/end/v1/users/{end_user_id}/revoke_tokens` | no | no |
|
|
1566
|
+
| unblock | POST | `/end/v1/users/{end_user_id}/unblock` | no | no |
|
|
1567
|
+
|
|
1568
|
+
## events
|
|
1569
|
+
|
|
1570
|
+
### events.subscriptions
|
|
1571
|
+
|
|
1572
|
+
| Method | HTTP | Path | Streaming | Pagination |
|
|
1573
|
+
|---|---|---|---|---|
|
|
1574
|
+
| create | POST | `/events/v1/subscriptions` | no | no |
|
|
1575
|
+
| delete | DELETE | `/events/v1/subscriptions/{subscription_id}` | no | no |
|
|
1576
|
+
| list | GET | `/events/v1/subscriptions` | no | no |
|
|
1577
|
+
| retrieve | GET | `/events/v1/subscriptions/{subscription_id}` | no | no |
|
|
1578
|
+
|
|
1579
|
+
### events.types
|
|
1580
|
+
|
|
1581
|
+
| Method | HTTP | Path | Streaming | Pagination |
|
|
1582
|
+
|---|---|---|---|---|
|
|
1583
|
+
| list | GET | `/events/v1/types` | no | no |
|
|
1584
|
+
|
|
1509
1585
|
## file
|
|
1510
1586
|
|
|
1511
1587
|
### file.files
|
|
@@ -1708,6 +1784,12 @@ Multipart request bodies expand plain objects into bracketed fields (for example
|
|
|
1708
1784
|
|---|---|---|---|---|
|
|
1709
1785
|
| restore | POST | `/media/v1/libraries/{library_id}/assets/{asset_id}/versions/{version_id}/restore` | no | no |
|
|
1710
1786
|
|
|
1787
|
+
### media.libraries.assets.works
|
|
1788
|
+
|
|
1789
|
+
| Method | HTTP | Path | Streaming | Pagination |
|
|
1790
|
+
|---|---|---|---|---|
|
|
1791
|
+
| list | GET | `/media/v1/libraries/{library_id}/assets/{asset_id}/works` | no | yes |
|
|
1792
|
+
|
|
1711
1793
|
### media.libraries.batches
|
|
1712
1794
|
|
|
1713
1795
|
| Method | HTTP | Path | Streaming | Pagination |
|
|
@@ -1798,6 +1880,16 @@ Multipart request bodies expand plain objects into bracketed fields (for example
|
|
|
1798
1880
|
|---|---|---|---|---|
|
|
1799
1881
|
| create | POST | `/media/v1/libraries/{library_id}/voices/designs` | no | no |
|
|
1800
1882
|
|
|
1883
|
+
### media.libraries.works
|
|
1884
|
+
|
|
1885
|
+
| Method | HTTP | Path | Streaming | Pagination |
|
|
1886
|
+
|---|---|---|---|---|
|
|
1887
|
+
| create | POST | `/media/v1/libraries/{library_id}/works` | no | no |
|
|
1888
|
+
| delete | DELETE | `/media/v1/libraries/{library_id}/works/{work_id}` | no | no |
|
|
1889
|
+
| list | GET | `/media/v1/libraries/{library_id}/works` | no | yes |
|
|
1890
|
+
| retrieve | GET | `/media/v1/libraries/{library_id}/works/{work_id}` | no | no |
|
|
1891
|
+
| update | PATCH | `/media/v1/libraries/{library_id}/works/{work_id}` | no | no |
|
|
1892
|
+
|
|
1801
1893
|
### media.pipelines
|
|
1802
1894
|
|
|
1803
1895
|
| Method | HTTP | Path | Streaming | Pagination |
|
|
@@ -2157,11 +2249,22 @@ Multipart request bodies expand plain objects into bracketed fields (for example
|
|
|
2157
2249
|
| Method | HTTP | Path | Streaming | Pagination |
|
|
2158
2250
|
|---|---|---|---|---|
|
|
2159
2251
|
| archive | POST | `/organization/v1/notifications/letters/{id}:archive` | no | no |
|
|
2252
|
+
| create | POST | `/organization/v1/notifications/letters` | no | no |
|
|
2160
2253
|
| list | GET | `/organization/v1/notifications/letters` | no | no |
|
|
2161
2254
|
| read | POST | `/organization/v1/notifications/letters/{id}:read` | no | no |
|
|
2162
2255
|
| readAll | POST | `/organization/v1/notifications/letters:readAll` | no | no |
|
|
2163
2256
|
| retrieve | GET | `/organization/v1/notifications/letters/{id}` | no | no |
|
|
2164
2257
|
|
|
2258
|
+
### organization.notifications.messages
|
|
2259
|
+
|
|
2260
|
+
| Method | HTTP | Path | Streaming | Pagination |
|
|
2261
|
+
|---|---|---|---|---|
|
|
2262
|
+
| delete | DELETE | `/organization/v1/notifications/messages/{name}` | no | no |
|
|
2263
|
+
| list | GET | `/organization/v1/notifications/messages` | no | no |
|
|
2264
|
+
| readAll | POST | `/organization/v1/notifications/messages:readAll` | no | no |
|
|
2265
|
+
| retrieve | GET | `/organization/v1/notifications/messages/{name}` | no | no |
|
|
2266
|
+
| update | POST | `/organization/v1/notifications/messages/{name}` | no | no |
|
|
2267
|
+
|
|
2165
2268
|
### organization.notifications.organizationDefault
|
|
2166
2269
|
|
|
2167
2270
|
| Method | HTTP | Path | Streaming | Pagination |
|
|
@@ -2302,6 +2405,7 @@ Multipart request bodies expand plain objects into bracketed fields (for example
|
|
|
2302
2405
|
|---|---|---|---|---|
|
|
2303
2406
|
| create | POST | `/sandbox/v1/byod/pairings` | no | no |
|
|
2304
2407
|
| retrieve | GET | `/sandbox/v1/byod/pairings/{code}` | no | no |
|
|
2408
|
+
| status | GET | `/sandbox/v1/byod/pairings/{code}/status` | no | no |
|
|
2305
2409
|
|
|
2306
2410
|
### sandbox.byod.pairings.claim
|
|
2307
2411
|
|
|
@@ -2330,7 +2434,6 @@ Multipart request bodies expand plain objects into bracketed fields (for example
|
|
|
2330
2434
|
| retrieve | GET | `/sandbox/v1/sandboxes/{sandboxID}` | no | no |
|
|
2331
2435
|
| timeout | POST | `/sandbox/v1/sandboxes/{sandboxID}/timeout` | no | no |
|
|
2332
2436
|
| update | PATCH | `/sandbox/v1/sandboxes/{sandboxID}` | no | no |
|
|
2333
|
-
| updateNetwork | PUT | `/sandbox/v1/sandboxes/{sandboxID}/network` | no | no |
|
|
2334
2437
|
|
|
2335
2438
|
### sandbox.sandboxes.commands
|
|
2336
2439
|
|
|
@@ -2428,15 +2531,6 @@ Multipart request bodies expand plain objects into bracketed fields (for example
|
|
|
2428
2531
|
| delete | DELETE | `/sandbox/v1/templates/tags` | no | no |
|
|
2429
2532
|
| list | GET | `/sandbox/v1/templates/{templateID}/tags` | no | no |
|
|
2430
2533
|
|
|
2431
|
-
### sandbox.volumes
|
|
2432
|
-
|
|
2433
|
-
| Method | HTTP | Path | Streaming | Pagination |
|
|
2434
|
-
|---|---|---|---|---|
|
|
2435
|
-
| create | POST | `/sandbox/v1/volumes` | no | no |
|
|
2436
|
-
| delete | DELETE | `/sandbox/v1/volumes/{volumeID}` | no | no |
|
|
2437
|
-
| list | GET | `/sandbox/v1/volumes` | no | no |
|
|
2438
|
-
| retrieve | GET | `/sandbox/v1/volumes/{volumeID}` | no | no |
|
|
2439
|
-
|
|
2440
2534
|
## search
|
|
2441
2535
|
|
|
2442
2536
|
### search.crawl
|
|
@@ -3126,6 +3220,12 @@ Multipart request bodies expand plain objects into bracketed fields (for example
|
|
|
3126
3220
|
| database.table.rest.create | The final parameter identifies a table collection; POST inserts rows rather than updating the table. |
|
|
3127
3221
|
| 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. |
|
|
3128
3222
|
| 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. |
|
|
3223
|
+
| 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. |
|
|
3224
|
+
| 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. |
|
|
3225
|
+
| 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. |
|
|
3226
|
+
| 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. |
|
|
3227
|
+
| 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. |
|
|
3228
|
+
| 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. |
|
|
3129
3229
|
| file.uploads.createSigned | Signed upload creation returns a one-time local PUT URL; ADR-039 names this operation uploads.createSigned. |
|
|
3130
3230
|
| 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. |
|
|
3131
3231
|
| 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. |
|
|
@@ -3136,6 +3236,7 @@ Multipart request bodies expand plain objects into bracketed fields (for example
|
|
|
3136
3236
|
| 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
3237
|
| 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
3238
|
| meta.docs.search | Documentation keyword search is an operation on docs, not a nested collection. |
|
|
3239
|
+
| 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
3240
|
| 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
3241
|
| sandbox.sandboxes.commands.run | Sandbox data operations use the E2B SDK verb while preserving URL resource nesting. |
|
|
3141
3242
|
| 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
|