@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
|
@@ -1,9 +1,69 @@
|
|
|
1
1
|
// Generated by scripts/resources.ts. DO NOT EDIT.
|
|
2
2
|
import { multipartBodySerializer } from "./core/multipart.js";
|
|
3
3
|
import * as sdk from "./generated/sdk.gen.js";
|
|
4
|
-
import { bind, bindPage, bindStream, bindMixed, aliasOperation } from "./core/bindings.js";
|
|
4
|
+
import { bind, bindPage, bindStream, bindMixed, aliasOperation, acceptLegacyPath } from "./core/bindings.js";
|
|
5
5
|
import { deprecate } from "./core/deprecation.js";
|
|
6
6
|
export const deprecatedMethods = {
|
|
7
|
+
"praxis.customer.accessTokens.create": {
|
|
8
|
+
"replacement": "POST /end/v1/access_tokens",
|
|
9
|
+
"sunset": "2026-12-12"
|
|
10
|
+
},
|
|
11
|
+
"praxis.customer.accessTokens.renew": {
|
|
12
|
+
"replacement": "POST /end/v1/access_tokens/renew",
|
|
13
|
+
"sunset": "2026-12-12"
|
|
14
|
+
},
|
|
15
|
+
"praxis.customer.accessTokens.revoke": {
|
|
16
|
+
"replacement": "DELETE /end/v1/access_tokens/current",
|
|
17
|
+
"sunset": "2026-12-12"
|
|
18
|
+
},
|
|
19
|
+
"praxis.customer.customers.block": {
|
|
20
|
+
"replacement": "POST /end/v1/users/{end_user_id}/block",
|
|
21
|
+
"sunset": "2026-12-12"
|
|
22
|
+
},
|
|
23
|
+
"praxis.customer.customers.delete": {
|
|
24
|
+
"replacement": "DELETE /end/v1/users/{end_user_id}",
|
|
25
|
+
"sunset": "2026-12-12"
|
|
26
|
+
},
|
|
27
|
+
"praxis.customer.customers.list": {
|
|
28
|
+
"replacement": "GET /end/v1/users",
|
|
29
|
+
"sunset": "2026-12-12"
|
|
30
|
+
},
|
|
31
|
+
"praxis.customer.customers.retrieve": {
|
|
32
|
+
"replacement": "GET /end/v1/users/{end_user_id}",
|
|
33
|
+
"sunset": "2026-12-12"
|
|
34
|
+
},
|
|
35
|
+
"praxis.customer.customers.revokeTokens": {
|
|
36
|
+
"replacement": "POST /end/v1/users/{end_user_id}/revoke_tokens",
|
|
37
|
+
"sunset": "2026-12-12"
|
|
38
|
+
},
|
|
39
|
+
"praxis.customer.customers.unblock": {
|
|
40
|
+
"replacement": "POST /end/v1/users/{end_user_id}/unblock",
|
|
41
|
+
"sunset": "2026-12-12"
|
|
42
|
+
},
|
|
43
|
+
"praxis.customer.grantCodes.create": {
|
|
44
|
+
"replacement": "POST /end/v1/grant_codes",
|
|
45
|
+
"sunset": "2026-12-12"
|
|
46
|
+
},
|
|
47
|
+
"praxis.customer.publishableKeys.create": {
|
|
48
|
+
"replacement": "POST /end/v1/publishable_keys",
|
|
49
|
+
"sunset": "2026-12-12"
|
|
50
|
+
},
|
|
51
|
+
"praxis.customer.publishableKeys.delete": {
|
|
52
|
+
"replacement": "DELETE /end/v1/publishable_keys/{key_id}",
|
|
53
|
+
"sunset": "2026-12-12"
|
|
54
|
+
},
|
|
55
|
+
"praxis.customer.publishableKeys.list": {
|
|
56
|
+
"replacement": "GET /end/v1/publishable_keys",
|
|
57
|
+
"sunset": "2026-12-12"
|
|
58
|
+
},
|
|
59
|
+
"praxis.customer.publishableKeys.update": {
|
|
60
|
+
"replacement": "PATCH /end/v1/publishable_keys/{key_id}",
|
|
61
|
+
"sunset": "2026-12-12"
|
|
62
|
+
},
|
|
63
|
+
"praxis.customer.usage.retrieve": {
|
|
64
|
+
"replacement": "GET /end/v1/users/{end_user_id}/usage",
|
|
65
|
+
"sunset": "2026-12-12"
|
|
66
|
+
},
|
|
7
67
|
"praxis.database.databases.commands.execute": {
|
|
8
68
|
"replacement": "praxis.database.kv.commands.execute",
|
|
9
69
|
"sunset": "2027-03-01"
|
|
@@ -141,6 +201,11 @@ export function createAgent(transport) {
|
|
|
141
201
|
create: bind(transport, sdk.unblockCustomer),
|
|
142
202
|
},
|
|
143
203
|
},
|
|
204
|
+
devices: {
|
|
205
|
+
localSessions: {
|
|
206
|
+
list: bindPage(transport, sdk.listAgentDeviceLocalSessions),
|
|
207
|
+
},
|
|
208
|
+
},
|
|
144
209
|
events: {
|
|
145
210
|
list: bind(transport, sdk.listAgentEvents),
|
|
146
211
|
send: bind(transport, sdk.sendAgentEvents),
|
|
@@ -347,6 +412,11 @@ export function createApplication(transport) {
|
|
|
347
412
|
list: bind(transport, sdk.applicationListGrants),
|
|
348
413
|
},
|
|
349
414
|
list: bindPage(transport, sdk.applicationListWorkers),
|
|
415
|
+
logs: {
|
|
416
|
+
keys: bind(transport, sdk.applicationListWorkerLogKeys),
|
|
417
|
+
query: bind(transport, sdk.applicationQueryWorkerLogs),
|
|
418
|
+
values: bind(transport, sdk.applicationListWorkerLogValues),
|
|
419
|
+
},
|
|
350
420
|
restore: bind(transport, sdk.applicationRestoreWorker),
|
|
351
421
|
retrieve: bind(transport, sdk.applicationGetWorker),
|
|
352
422
|
secrets: {
|
|
@@ -367,89 +437,89 @@ export function createApplication(transport) {
|
|
|
367
437
|
};
|
|
368
438
|
}
|
|
369
439
|
export function createAutomation(transport) {
|
|
370
|
-
const boundAutomationScriptsPublish = bind(transport, sdk.automationScriptsPublish);
|
|
371
|
-
const boundAutomationWorkflowsPublish = bind(transport, sdk.automationWorkflowsPublish);
|
|
440
|
+
const boundAutomationScriptsPublish = bind(transport, acceptLegacyPath(sdk.automationScriptsPublish, { "namespace": "ns" }));
|
|
441
|
+
const boundAutomationWorkflowsPublish = bind(transport, acceptLegacyPath(sdk.automationWorkflowsPublish, { "namespace": "ns" }));
|
|
372
442
|
return {
|
|
373
443
|
actions: {
|
|
374
|
-
archive: bind(transport, sdk.automationActionsArchive),
|
|
444
|
+
archive: bind(transport, acceptLegacyPath(sdk.automationActionsArchive, { "namespace": "ns" })),
|
|
375
445
|
create: bind(transport, sdk.automationActionsCreate),
|
|
376
446
|
dependents: {
|
|
377
|
-
list: bindPage(transport, sdk.automationActionsDependents),
|
|
447
|
+
list: bindPage(transport, acceptLegacyPath(sdk.automationActionsDependents, { "namespace": "ns" })),
|
|
378
448
|
},
|
|
379
449
|
invocations: {
|
|
380
|
-
list: bindPage(transport, sdk.automationActionsInvocations),
|
|
450
|
+
list: bindPage(transport, acceptLegacyPath(sdk.automationActionsInvocations, { "namespace": "ns" })),
|
|
381
451
|
},
|
|
382
452
|
list: bindPage(transport, sdk.automationActionsList),
|
|
383
|
-
restore: bind(transport, sdk.automationActionsRestore),
|
|
384
|
-
retrieve: bind(transport, sdk.automationActionsGet),
|
|
453
|
+
restore: bind(transport, acceptLegacyPath(sdk.automationActionsRestore, { "namespace": "ns" })),
|
|
454
|
+
retrieve: bind(transport, acceptLegacyPath(sdk.automationActionsGet, { "namespace": "ns" })),
|
|
385
455
|
revisions: {
|
|
386
|
-
list: bindPage(transport, sdk.automationActionsRevisions),
|
|
387
|
-
retrieve: bind(transport, sdk.automationActionsRevision),
|
|
456
|
+
list: bindPage(transport, acceptLegacyPath(sdk.automationActionsRevisions, { "namespace": "ns" })),
|
|
457
|
+
retrieve: bind(transport, acceptLegacyPath(sdk.automationActionsRevision, { "namespace": "ns" })),
|
|
388
458
|
},
|
|
389
|
-
rollback: bind(transport, sdk.automationActionsRollback),
|
|
390
|
-
update: bind(transport, sdk.automationActionsUpdate),
|
|
459
|
+
rollback: bind(transport, acceptLegacyPath(sdk.automationActionsRollback, { "namespace": "ns" })),
|
|
460
|
+
update: bind(transport, acceptLegacyPath(sdk.automationActionsUpdate, { "namespace": "ns" })),
|
|
391
461
|
},
|
|
392
462
|
hooks: {
|
|
393
463
|
send: bind(transport, sdk.automationHooksReceive),
|
|
394
464
|
},
|
|
395
465
|
humanTasks: {
|
|
396
|
-
cancel: bind(transport, sdk.automationHumanTasksCancel),
|
|
397
|
-
delegate: bind(transport, sdk.automationHumanTasksDelegate),
|
|
466
|
+
cancel: bind(transport, acceptLegacyPath(sdk.automationHumanTasksCancel, { "task_id": "id" })),
|
|
467
|
+
delegate: bind(transport, acceptLegacyPath(sdk.automationHumanTasksDelegate, { "task_id": "id" })),
|
|
398
468
|
list: bindPage(transport, sdk.automationHumanTasksList),
|
|
399
|
-
respond: bind(transport, sdk.automationHumanTasksRespond),
|
|
400
|
-
retrieve: bind(transport, sdk.automationHumanTasksGet),
|
|
469
|
+
respond: bind(transport, acceptLegacyPath(sdk.automationHumanTasksRespond, { "task_id": "id" })),
|
|
470
|
+
retrieve: bind(transport, acceptLegacyPath(sdk.automationHumanTasksGet, { "task_id": "id" })),
|
|
401
471
|
},
|
|
402
472
|
resolve: {
|
|
403
473
|
retrieve: bind(transport, sdk.automationResolveResolve),
|
|
404
474
|
},
|
|
405
475
|
runs: {
|
|
406
476
|
artifacts: {
|
|
407
|
-
list: bindPage(transport, sdk.automationRunsArtifacts),
|
|
477
|
+
list: bindPage(transport, acceptLegacyPath(sdk.automationRunsArtifacts, { "run_id": "id" })),
|
|
408
478
|
},
|
|
409
479
|
calls: {
|
|
410
|
-
list: bindPage(transport, sdk.automationRunsCalls),
|
|
480
|
+
list: bindPage(transport, acceptLegacyPath(sdk.automationRunsCalls, { "run_id": "id" })),
|
|
411
481
|
},
|
|
412
|
-
cancel: bind(transport, sdk.automationRunsCancel),
|
|
482
|
+
cancel: bind(transport, acceptLegacyPath(sdk.automationRunsCancel, { "run_id": "id" })),
|
|
413
483
|
create: bind(transport, sdk.automationRunsCreate),
|
|
414
|
-
events: bindStream(transport, sdk.automationRunsEvents),
|
|
484
|
+
events: bindStream(transport, acceptLegacyPath(sdk.automationRunsEvents, { "run_id": "id" })),
|
|
415
485
|
list: bindPage(transport, sdk.automationRunsList),
|
|
416
|
-
logs: bindStream(transport, sdk.automationRunsLogs),
|
|
417
|
-
rerun: bind(transport, sdk.automationRunsRerun),
|
|
418
|
-
resume: bind(transport, sdk.automationRunsResume),
|
|
419
|
-
retrieve: bind(transport, sdk.automationRunsGet),
|
|
420
|
-
retrieveSource: bind(transport, sdk.automationRunsSource),
|
|
421
|
-
suspend: bind(transport, sdk.automationRunsSuspend),
|
|
486
|
+
logs: bindStream(transport, acceptLegacyPath(sdk.automationRunsLogs, { "run_id": "id" })),
|
|
487
|
+
rerun: bind(transport, acceptLegacyPath(sdk.automationRunsRerun, { "run_id": "id" })),
|
|
488
|
+
resume: bind(transport, acceptLegacyPath(sdk.automationRunsResume, { "run_id": "id" })),
|
|
489
|
+
retrieve: bind(transport, acceptLegacyPath(sdk.automationRunsGet, { "run_id": "id" })),
|
|
490
|
+
retrieveSource: bind(transport, acceptLegacyPath(sdk.automationRunsSource, { "run_id": "id" })),
|
|
491
|
+
suspend: bind(transport, acceptLegacyPath(sdk.automationRunsSuspend, { "run_id": "id" })),
|
|
422
492
|
tasks: {
|
|
423
|
-
list: bindPage(transport, sdk.automationRunsTasks),
|
|
493
|
+
list: bindPage(transport, acceptLegacyPath(sdk.automationRunsTasks, { "run_id": "id" })),
|
|
424
494
|
},
|
|
425
495
|
waits: {
|
|
426
|
-
complete: bind(transport, sdk.automationRunsCompleteWait),
|
|
427
|
-
list: bindPage(transport, sdk.automationRunsWaits),
|
|
496
|
+
complete: bind(transport, acceptLegacyPath(sdk.automationRunsCompleteWait, { "run_id": "id" })),
|
|
497
|
+
list: bindPage(transport, acceptLegacyPath(sdk.automationRunsWaits, { "run_id": "id" })),
|
|
428
498
|
},
|
|
429
499
|
},
|
|
430
500
|
scripts: {
|
|
431
|
-
archive: bind(transport, sdk.automationScriptsArchive),
|
|
501
|
+
archive: bind(transport, acceptLegacyPath(sdk.automationScriptsArchive, { "namespace": "ns" })),
|
|
432
502
|
create: bind(transport, sdk.automationScriptsCreate),
|
|
433
503
|
distTags: {
|
|
434
|
-
delete: bind(transport, sdk.automationScriptsDeleteDistTag),
|
|
435
|
-
list: bind(transport, sdk.automationScriptsDistTags),
|
|
436
|
-
set: bind(transport, sdk.automationScriptsSetDistTag),
|
|
504
|
+
delete: bind(transport, acceptLegacyPath(sdk.automationScriptsDeleteDistTag, { "namespace": "ns" })),
|
|
505
|
+
list: bind(transport, acceptLegacyPath(sdk.automationScriptsDistTags, { "namespace": "ns" })),
|
|
506
|
+
set: bind(transport, acceptLegacyPath(sdk.automationScriptsSetDistTag, { "namespace": "ns" })),
|
|
437
507
|
},
|
|
438
508
|
list: bindPage(transport, sdk.automationScriptsList),
|
|
439
|
-
restore: bind(transport, sdk.automationScriptsRestore),
|
|
440
|
-
retrieve: bind(transport, sdk.automationScriptsGet),
|
|
441
|
-
update: bind(transport, sdk.automationScriptsPatch),
|
|
509
|
+
restore: bind(transport, acceptLegacyPath(sdk.automationScriptsRestore, { "namespace": "ns" })),
|
|
510
|
+
retrieve: bind(transport, acceptLegacyPath(sdk.automationScriptsGet, { "namespace": "ns" })),
|
|
511
|
+
update: bind(transport, acceptLegacyPath(sdk.automationScriptsPatch, { "namespace": "ns" })),
|
|
442
512
|
vaults: {
|
|
443
|
-
delete: bind(transport, sdk.automationScriptsVaultsDelete),
|
|
444
|
-
list: bind(transport, sdk.automationScriptsVaultsList),
|
|
445
|
-
set: bind(transport, sdk.automationScriptsVaultsSet),
|
|
513
|
+
delete: bind(transport, acceptLegacyPath(sdk.automationScriptsVaultsDelete, { "namespace": "ns" })),
|
|
514
|
+
list: bind(transport, acceptLegacyPath(sdk.automationScriptsVaultsList, { "namespace": "ns" })),
|
|
515
|
+
set: bind(transport, acceptLegacyPath(sdk.automationScriptsVaultsSet, { "namespace": "ns" })),
|
|
446
516
|
},
|
|
447
517
|
versions: {
|
|
448
518
|
create: boundAutomationScriptsPublish,
|
|
449
|
-
deprecate: bind(transport, sdk.automationScriptsDeprecate),
|
|
450
|
-
list: bindPage(transport, sdk.automationScriptsVersions),
|
|
519
|
+
deprecate: bind(transport, acceptLegacyPath(sdk.automationScriptsDeprecate, { "namespace": "ns" })),
|
|
520
|
+
list: bindPage(transport, acceptLegacyPath(sdk.automationScriptsVersions, { "namespace": "ns" })),
|
|
451
521
|
publish: boundAutomationScriptsPublish,
|
|
452
|
-
retrieve: bind(transport, sdk.automationScriptsVersion),
|
|
522
|
+
retrieve: bind(transport, acceptLegacyPath(sdk.automationScriptsVersion, { "namespace": "ns" })),
|
|
453
523
|
},
|
|
454
524
|
},
|
|
455
525
|
targets: {
|
|
@@ -457,45 +527,45 @@ export function createAutomation(transport) {
|
|
|
457
527
|
},
|
|
458
528
|
triggers: {
|
|
459
529
|
create: bind(transport, sdk.automationTriggersCreate),
|
|
460
|
-
delete: bind(transport, sdk.automationTriggersDelete),
|
|
461
|
-
fire: bind(transport, sdk.automationTriggersFire),
|
|
530
|
+
delete: bind(transport, acceptLegacyPath(sdk.automationTriggersDelete, { "trigger_id": "id" })),
|
|
531
|
+
fire: bind(transport, acceptLegacyPath(sdk.automationTriggersFire, { "trigger_id": "id" })),
|
|
462
532
|
firings: {
|
|
463
|
-
list: bindPage(transport, sdk.automationTriggersFirings),
|
|
533
|
+
list: bindPage(transport, acceptLegacyPath(sdk.automationTriggersFirings, { "trigger_id": "id" })),
|
|
464
534
|
},
|
|
465
535
|
list: bindPage(transport, sdk.automationTriggersList),
|
|
466
|
-
pause: bind(transport, sdk.automationTriggersPause),
|
|
536
|
+
pause: bind(transport, acceptLegacyPath(sdk.automationTriggersPause, { "trigger_id": "id" })),
|
|
467
537
|
preview: bind(transport, sdk.automationTriggersPreview),
|
|
468
|
-
resume: bind(transport, sdk.automationTriggersResume),
|
|
469
|
-
retrieve: bind(transport, sdk.automationTriggersGet),
|
|
470
|
-
rotateWebhook: bind(transport, sdk.automationTriggersRotateWebhook),
|
|
471
|
-
update: bind(transport, sdk.automationTriggersPatch),
|
|
538
|
+
resume: bind(transport, acceptLegacyPath(sdk.automationTriggersResume, { "trigger_id": "id" })),
|
|
539
|
+
retrieve: bind(transport, acceptLegacyPath(sdk.automationTriggersGet, { "trigger_id": "id" })),
|
|
540
|
+
rotateWebhook: bind(transport, acceptLegacyPath(sdk.automationTriggersRotateWebhook, { "trigger_id": "id" })),
|
|
541
|
+
update: bind(transport, acceptLegacyPath(sdk.automationTriggersPatch, { "trigger_id": "id" })),
|
|
472
542
|
},
|
|
473
543
|
validate: {
|
|
474
544
|
create: bind(transport, sdk.automationValidateValidate),
|
|
475
545
|
},
|
|
476
546
|
workflows: {
|
|
477
|
-
archive: bind(transport, sdk.automationWorkflowsArchive),
|
|
547
|
+
archive: bind(transport, acceptLegacyPath(sdk.automationWorkflowsArchive, { "namespace": "ns" })),
|
|
478
548
|
create: bind(transport, sdk.automationWorkflowsCreate),
|
|
479
549
|
distTags: {
|
|
480
|
-
delete: bind(transport, sdk.automationWorkflowsDeleteDistTag),
|
|
481
|
-
list: bind(transport, sdk.automationWorkflowsDistTags),
|
|
482
|
-
set: bind(transport, sdk.automationWorkflowsSetDistTag),
|
|
550
|
+
delete: bind(transport, acceptLegacyPath(sdk.automationWorkflowsDeleteDistTag, { "namespace": "ns" })),
|
|
551
|
+
list: bind(transport, acceptLegacyPath(sdk.automationWorkflowsDistTags, { "namespace": "ns" })),
|
|
552
|
+
set: bind(transport, acceptLegacyPath(sdk.automationWorkflowsSetDistTag, { "namespace": "ns" })),
|
|
483
553
|
},
|
|
484
554
|
list: bindPage(transport, sdk.automationWorkflowsList),
|
|
485
|
-
restore: bind(transport, sdk.automationWorkflowsRestore),
|
|
486
|
-
retrieve: bind(transport, sdk.automationWorkflowsGet),
|
|
487
|
-
update: bind(transport, sdk.automationWorkflowsPatch),
|
|
555
|
+
restore: bind(transport, acceptLegacyPath(sdk.automationWorkflowsRestore, { "namespace": "ns" })),
|
|
556
|
+
retrieve: bind(transport, acceptLegacyPath(sdk.automationWorkflowsGet, { "namespace": "ns" })),
|
|
557
|
+
update: bind(transport, acceptLegacyPath(sdk.automationWorkflowsPatch, { "namespace": "ns" })),
|
|
488
558
|
vaults: {
|
|
489
|
-
delete: bind(transport, sdk.automationWorkflowsVaultsDelete),
|
|
490
|
-
list: bind(transport, sdk.automationWorkflowsVaultsList),
|
|
491
|
-
set: bind(transport, sdk.automationWorkflowsVaultsSet),
|
|
559
|
+
delete: bind(transport, acceptLegacyPath(sdk.automationWorkflowsVaultsDelete, { "namespace": "ns" })),
|
|
560
|
+
list: bind(transport, acceptLegacyPath(sdk.automationWorkflowsVaultsList, { "namespace": "ns" })),
|
|
561
|
+
set: bind(transport, acceptLegacyPath(sdk.automationWorkflowsVaultsSet, { "namespace": "ns" })),
|
|
492
562
|
},
|
|
493
563
|
versions: {
|
|
494
564
|
create: boundAutomationWorkflowsPublish,
|
|
495
|
-
deprecate: bind(transport, sdk.automationWorkflowsDeprecate),
|
|
496
|
-
list: bindPage(transport, sdk.automationWorkflowsVersions),
|
|
565
|
+
deprecate: bind(transport, acceptLegacyPath(sdk.automationWorkflowsDeprecate, { "namespace": "ns" })),
|
|
566
|
+
list: bindPage(transport, acceptLegacyPath(sdk.automationWorkflowsVersions, { "namespace": "ns" })),
|
|
497
567
|
publish: boundAutomationWorkflowsPublish,
|
|
498
|
-
retrieve: bind(transport, sdk.automationWorkflowsVersion),
|
|
568
|
+
retrieve: bind(transport, acceptLegacyPath(sdk.automationWorkflowsVersion, { "namespace": "ns" })),
|
|
499
569
|
},
|
|
500
570
|
},
|
|
501
571
|
};
|
|
@@ -509,6 +579,23 @@ export function createBilling(transport) {
|
|
|
509
579
|
}
|
|
510
580
|
export function createBrowser(transport) {
|
|
511
581
|
return {
|
|
582
|
+
byob: {
|
|
583
|
+
browsers: {
|
|
584
|
+
disconnect: {
|
|
585
|
+
create: bind(transport, sdk.browserDisconnectByobBrowser),
|
|
586
|
+
},
|
|
587
|
+
list: bind(transport, sdk.browserListByobBrowsers),
|
|
588
|
+
retrieve: bind(transport, sdk.browserGetByobBrowser),
|
|
589
|
+
update: bind(transport, sdk.browserUpdateByobBrowser),
|
|
590
|
+
},
|
|
591
|
+
pairings: {
|
|
592
|
+
claim: {
|
|
593
|
+
create: bind(transport, sdk.browserClaimByobPairing),
|
|
594
|
+
},
|
|
595
|
+
create: bind(transport, sdk.browserCreateByobPairing),
|
|
596
|
+
retrieve: bind(transport, sdk.browserReadByobPairing),
|
|
597
|
+
},
|
|
598
|
+
},
|
|
512
599
|
connect: {
|
|
513
600
|
retrieve: bind(transport, sdk.browserConnect),
|
|
514
601
|
},
|
|
@@ -570,6 +657,11 @@ export function createCanvas(transport) {
|
|
|
570
657
|
nodes: {
|
|
571
658
|
list: bind(transport, sdk.canvasListNodes),
|
|
572
659
|
},
|
|
660
|
+
processes: {
|
|
661
|
+
steps: {
|
|
662
|
+
retrieveBrief: bind(transport, sdk.canvasRetrieveProcessStepBrief),
|
|
663
|
+
},
|
|
664
|
+
},
|
|
573
665
|
publish: bind(transport, sdk.canvasPublishLibrary),
|
|
574
666
|
restore: bind(transport, sdk.canvasRestoreCanvas),
|
|
575
667
|
retrieve: bind(transport, sdk.canvasRetrieveCanvas),
|
|
@@ -675,29 +767,44 @@ export function createCrm(transport) {
|
|
|
675
767
|
export function createCustomer(transport) {
|
|
676
768
|
return {
|
|
677
769
|
accessTokens: {
|
|
678
|
-
|
|
679
|
-
|
|
680
|
-
|
|
770
|
+
/** @deprecated use POST /end/v1/access_tokens instead; this path stops working on 2026-12-12. */
|
|
771
|
+
create: deprecate(transport.silenced, "praxis.customer.accessTokens.create", deprecatedMethods["praxis.customer.accessTokens.create"], bind(transport, sdk.customerCreateAccessToken)),
|
|
772
|
+
/** @deprecated use POST /end/v1/access_tokens/renew instead; this path stops working on 2026-12-12. */
|
|
773
|
+
renew: deprecate(transport.silenced, "praxis.customer.accessTokens.renew", deprecatedMethods["praxis.customer.accessTokens.renew"], bind(transport, sdk.customerRenewAccessToken)),
|
|
774
|
+
/** @deprecated use DELETE /end/v1/access_tokens/current instead; this path stops working on 2026-12-12. */
|
|
775
|
+
revoke: deprecate(transport.silenced, "praxis.customer.accessTokens.revoke", deprecatedMethods["praxis.customer.accessTokens.revoke"], bind(transport, sdk.customerRevokeCurrentTokens)),
|
|
681
776
|
},
|
|
682
777
|
customers: {
|
|
683
|
-
block
|
|
684
|
-
|
|
685
|
-
|
|
686
|
-
|
|
687
|
-
|
|
688
|
-
|
|
778
|
+
/** @deprecated use POST /end/v1/users/{end_user_id}/block instead; this path stops working on 2026-12-12. */
|
|
779
|
+
block: deprecate(transport.silenced, "praxis.customer.customers.block", deprecatedMethods["praxis.customer.customers.block"], bind(transport, sdk.customerBlockCustomer)),
|
|
780
|
+
/** @deprecated use DELETE /end/v1/users/{end_user_id} instead; this path stops working on 2026-12-12. */
|
|
781
|
+
delete: deprecate(transport.silenced, "praxis.customer.customers.delete", deprecatedMethods["praxis.customer.customers.delete"], bind(transport, sdk.customerDeleteCustomer)),
|
|
782
|
+
/** @deprecated use GET /end/v1/users instead; this path stops working on 2026-12-12. */
|
|
783
|
+
list: deprecate(transport.silenced, "praxis.customer.customers.list", deprecatedMethods["praxis.customer.customers.list"], bind(transport, sdk.customerListCustomers)),
|
|
784
|
+
/** @deprecated use GET /end/v1/users/{end_user_id} instead; this path stops working on 2026-12-12. */
|
|
785
|
+
retrieve: deprecate(transport.silenced, "praxis.customer.customers.retrieve", deprecatedMethods["praxis.customer.customers.retrieve"], bind(transport, sdk.customerGetCustomer)),
|
|
786
|
+
/** @deprecated use POST /end/v1/users/{end_user_id}/revoke_tokens instead; this path stops working on 2026-12-12. */
|
|
787
|
+
revokeTokens: deprecate(transport.silenced, "praxis.customer.customers.revokeTokens", deprecatedMethods["praxis.customer.customers.revokeTokens"], bind(transport, sdk.customerRevokeTokens)),
|
|
788
|
+
/** @deprecated use POST /end/v1/users/{end_user_id}/unblock instead; this path stops working on 2026-12-12. */
|
|
789
|
+
unblock: deprecate(transport.silenced, "praxis.customer.customers.unblock", deprecatedMethods["praxis.customer.customers.unblock"], bind(transport, sdk.customerUnblockCustomer)),
|
|
689
790
|
},
|
|
690
791
|
grantCodes: {
|
|
691
|
-
|
|
792
|
+
/** @deprecated use POST /end/v1/grant_codes instead; this path stops working on 2026-12-12. */
|
|
793
|
+
create: deprecate(transport.silenced, "praxis.customer.grantCodes.create", deprecatedMethods["praxis.customer.grantCodes.create"], bind(transport, sdk.customerCreateGrantCode)),
|
|
692
794
|
},
|
|
693
795
|
publishableKeys: {
|
|
694
|
-
|
|
695
|
-
|
|
696
|
-
|
|
697
|
-
|
|
796
|
+
/** @deprecated use POST /end/v1/publishable_keys instead; this path stops working on 2026-12-12. */
|
|
797
|
+
create: deprecate(transport.silenced, "praxis.customer.publishableKeys.create", deprecatedMethods["praxis.customer.publishableKeys.create"], bind(transport, sdk.customerCreatePublishableKey)),
|
|
798
|
+
/** @deprecated use DELETE /end/v1/publishable_keys/{key_id} instead; this path stops working on 2026-12-12. */
|
|
799
|
+
delete: deprecate(transport.silenced, "praxis.customer.publishableKeys.delete", deprecatedMethods["praxis.customer.publishableKeys.delete"], bind(transport, sdk.customerDeletePublishableKey)),
|
|
800
|
+
/** @deprecated use GET /end/v1/publishable_keys instead; this path stops working on 2026-12-12. */
|
|
801
|
+
list: deprecate(transport.silenced, "praxis.customer.publishableKeys.list", deprecatedMethods["praxis.customer.publishableKeys.list"], bind(transport, sdk.customerListPublishableKeys)),
|
|
802
|
+
/** @deprecated use PATCH /end/v1/publishable_keys/{key_id} instead; this path stops working on 2026-12-12. */
|
|
803
|
+
update: deprecate(transport.silenced, "praxis.customer.publishableKeys.update", deprecatedMethods["praxis.customer.publishableKeys.update"], bind(transport, sdk.customerUpdatePublishableKey)),
|
|
698
804
|
},
|
|
699
805
|
usage: {
|
|
700
|
-
|
|
806
|
+
/** @deprecated use GET /end/v1/users/{end_user_id}/usage instead; this path stops working on 2026-12-12. */
|
|
807
|
+
retrieve: deprecate(transport.silenced, "praxis.customer.usage.retrieve", deprecatedMethods["praxis.customer.usage.retrieve"], bind(transport, sdk.customerGetUsage)),
|
|
701
808
|
},
|
|
702
809
|
};
|
|
703
810
|
}
|
|
@@ -890,6 +997,9 @@ export function createDevops(transport) {
|
|
|
890
997
|
markLastSlice: bind(transport, sdk.devopsChangesMarkLastSlice),
|
|
891
998
|
openPullRequest: bind(transport, sdk.devopsChangesOpenPullRequest),
|
|
892
999
|
retrieve: bind(transport, sdk.devopsChangesGet),
|
|
1000
|
+
slices: {
|
|
1001
|
+
create: bind(transport, sdk.devopsChangesSlicesCreate),
|
|
1002
|
+
},
|
|
893
1003
|
},
|
|
894
1004
|
connections: {
|
|
895
1005
|
complete: bind(transport, sdk.devopsConnectionsComplete),
|
|
@@ -1019,6 +1129,7 @@ export function createDevops(transport) {
|
|
|
1019
1129
|
pullRequests: {
|
|
1020
1130
|
close: bind(transport, sdk.devopsPullRequestsClose),
|
|
1021
1131
|
merge: bind(transport, sdk.devopsPullRequestsMerge),
|
|
1132
|
+
overrideGate: bind(transport, sdk.devopsPullRequestsOverrideGate),
|
|
1022
1133
|
recordVerdict: bind(transport, sdk.devopsPullRequestsRecordVerdict),
|
|
1023
1134
|
rerunGate: bind(transport, sdk.devopsPullRequestsRerunGate),
|
|
1024
1135
|
retrieve: bind(transport, sdk.devopsPullRequestsGet),
|
|
@@ -1073,6 +1184,48 @@ export function createDevops(transport) {
|
|
|
1073
1184
|
},
|
|
1074
1185
|
};
|
|
1075
1186
|
}
|
|
1187
|
+
export function createEnd(transport) {
|
|
1188
|
+
return {
|
|
1189
|
+
accessTokens: {
|
|
1190
|
+
create: bind(transport, sdk.endCreateAccessToken),
|
|
1191
|
+
renew: bind(transport, sdk.endRenewAccessToken),
|
|
1192
|
+
revoke: bind(transport, sdk.endRevokeCurrentTokens),
|
|
1193
|
+
},
|
|
1194
|
+
grantCodes: {
|
|
1195
|
+
create: bind(transport, sdk.endCreateGrantCode),
|
|
1196
|
+
},
|
|
1197
|
+
publishableKeys: {
|
|
1198
|
+
create: bind(transport, sdk.endCreatePublishableKey),
|
|
1199
|
+
delete: bind(transport, sdk.endDeletePublishableKey),
|
|
1200
|
+
list: bind(transport, sdk.endListPublishableKeys),
|
|
1201
|
+
update: bind(transport, sdk.endUpdatePublishableKey),
|
|
1202
|
+
},
|
|
1203
|
+
usage: {
|
|
1204
|
+
retrieve: bind(transport, sdk.endGetUsage),
|
|
1205
|
+
},
|
|
1206
|
+
users: {
|
|
1207
|
+
block: bind(transport, sdk.endBlockUser),
|
|
1208
|
+
delete: bind(transport, sdk.endDeleteUser),
|
|
1209
|
+
list: bind(transport, sdk.endListUsers),
|
|
1210
|
+
retrieve: bind(transport, sdk.endGetUser),
|
|
1211
|
+
revokeTokens: bind(transport, sdk.endRevokeTokens),
|
|
1212
|
+
unblock: bind(transport, sdk.endUnblockUser),
|
|
1213
|
+
},
|
|
1214
|
+
};
|
|
1215
|
+
}
|
|
1216
|
+
export function createEvents(transport) {
|
|
1217
|
+
return {
|
|
1218
|
+
subscriptions: {
|
|
1219
|
+
create: bind(transport, sdk.eventsCreateSubscription),
|
|
1220
|
+
delete: bind(transport, sdk.eventsDeleteSubscription),
|
|
1221
|
+
list: bind(transport, sdk.eventsListSubscriptions),
|
|
1222
|
+
retrieve: bind(transport, sdk.eventsRetrieveSubscription),
|
|
1223
|
+
},
|
|
1224
|
+
types: {
|
|
1225
|
+
list: bind(transport, sdk.eventsListTypes),
|
|
1226
|
+
},
|
|
1227
|
+
};
|
|
1228
|
+
}
|
|
1076
1229
|
export function createFile(transport) {
|
|
1077
1230
|
return {
|
|
1078
1231
|
files: {
|
|
@@ -1190,6 +1343,9 @@ export function createMedia(transport) {
|
|
|
1190
1343
|
versions: {
|
|
1191
1344
|
restore: bind(transport, sdk.mediaRestoreAssetVersion),
|
|
1192
1345
|
},
|
|
1346
|
+
works: {
|
|
1347
|
+
list: bindPage(transport, sdk.mediaListAssetWorks),
|
|
1348
|
+
},
|
|
1193
1349
|
},
|
|
1194
1350
|
batches: {
|
|
1195
1351
|
create: bind(transport, sdk.mediaCreateBatch),
|
|
@@ -1247,6 +1403,13 @@ export function createMedia(transport) {
|
|
|
1247
1403
|
create: bind(transport, sdk.mediaDesignVoice),
|
|
1248
1404
|
},
|
|
1249
1405
|
},
|
|
1406
|
+
works: {
|
|
1407
|
+
create: bind(transport, sdk.mediaCreateWork),
|
|
1408
|
+
delete: bind(transport, sdk.mediaDeleteWork),
|
|
1409
|
+
list: bindPage(transport, sdk.mediaListWorks),
|
|
1410
|
+
retrieve: bind(transport, sdk.mediaGetWork),
|
|
1411
|
+
update: bind(transport, sdk.mediaUpdateWork),
|
|
1412
|
+
},
|
|
1250
1413
|
},
|
|
1251
1414
|
pipelines: {
|
|
1252
1415
|
create: bind(transport, sdk.createMediaPipeline),
|
|
@@ -1465,11 +1628,19 @@ export function createOrganization(transport) {
|
|
|
1465
1628
|
},
|
|
1466
1629
|
letters: {
|
|
1467
1630
|
archive: bind(transport, sdk.archiveOrganizationNotificationLetter),
|
|
1631
|
+
create: bind(transport, sdk.createOrganizationNotificationLetter),
|
|
1468
1632
|
list: bind(transport, sdk.listOrganizationNotificationLetters),
|
|
1469
1633
|
read: bind(transport, sdk.readOrganizationNotificationLetter),
|
|
1470
1634
|
readAll: bind(transport, sdk.readAllOrganizationNotificationLetters),
|
|
1471
1635
|
retrieve: bind(transport, sdk.getOrganizationNotificationLetter),
|
|
1472
1636
|
},
|
|
1637
|
+
messages: {
|
|
1638
|
+
delete: bind(transport, sdk.deleteOrganizationNotificationMessage),
|
|
1639
|
+
list: bind(transport, sdk.listOrganizationNotificationMessages),
|
|
1640
|
+
readAll: bind(transport, sdk.readAllOrganizationNotificationMessages),
|
|
1641
|
+
retrieve: bind(transport, sdk.getOrganizationNotificationMessage),
|
|
1642
|
+
update: bind(transport, sdk.updateOrganizationNotificationMessage),
|
|
1643
|
+
},
|
|
1473
1644
|
organizationDefault: {
|
|
1474
1645
|
create: bind(transport, sdk.updateOrganizationNotificationDefaults),
|
|
1475
1646
|
},
|
|
@@ -1561,6 +1732,7 @@ export function createSandbox(transport) {
|
|
|
1561
1732
|
},
|
|
1562
1733
|
create: bind(transport, sdk.createByodPairing),
|
|
1563
1734
|
retrieve: bind(transport, sdk.getByodPairing),
|
|
1735
|
+
status: bind(transport, sdk.getByodPairingStatus),
|
|
1564
1736
|
},
|
|
1565
1737
|
},
|
|
1566
1738
|
events: {
|
|
@@ -1607,7 +1779,6 @@ export function createSandbox(transport) {
|
|
|
1607
1779
|
},
|
|
1608
1780
|
timeout: bind(transport, sdk.postSandboxV1SandboxesBySandboxIdTimeout),
|
|
1609
1781
|
update: bind(transport, sdk.renameSandbox),
|
|
1610
|
-
updateNetwork: bind(transport, sdk.putSandboxV1SandboxesBySandboxIdNetwork),
|
|
1611
1782
|
upgrade: {
|
|
1612
1783
|
create: bind(transport, sdk.upgradeSandbox),
|
|
1613
1784
|
},
|
|
@@ -1636,12 +1807,6 @@ export function createSandbox(transport) {
|
|
|
1636
1807
|
list: bind(transport, sdk.listTemplateTags),
|
|
1637
1808
|
},
|
|
1638
1809
|
},
|
|
1639
|
-
volumes: {
|
|
1640
|
-
create: bind(transport, sdk.postSandboxV1Volumes),
|
|
1641
|
-
delete: bind(transport, sdk.deleteSandboxV1VolumesByVolumeId),
|
|
1642
|
-
list: bind(transport, sdk.getSandboxV1Volumes),
|
|
1643
|
-
retrieve: bind(transport, sdk.getSandboxV1VolumesByVolumeId),
|
|
1644
|
-
},
|
|
1645
1810
|
};
|
|
1646
1811
|
}
|
|
1647
1812
|
export function createSearch(transport) {
|
|
@@ -2059,6 +2224,8 @@ export const resourceFactories = {
|
|
|
2059
2224
|
cut: createCut,
|
|
2060
2225
|
database: createDatabase,
|
|
2061
2226
|
devops: createDevops,
|
|
2227
|
+
end: createEnd,
|
|
2228
|
+
events: createEvents,
|
|
2062
2229
|
file: createFile,
|
|
2063
2230
|
knowledge: createKnowledge,
|
|
2064
2231
|
media: createMedia,
|