@deepraxis/sdk 0.2.0-dev.30f9f59 → 0.2.0-dev.3e57790
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 +197 -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 +329 -26
- package/dist/generated/sdk.gen.js +843 -97
- package/dist/generated/types.gen.d.ts +5819 -889
- 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 +1671 -258
- package/dist/resources.generated.d.ts +924 -67
- package/dist/resources.generated.js +244 -78
- 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),
|
|
@@ -367,89 +432,89 @@ export function createApplication(transport) {
|
|
|
367
432
|
};
|
|
368
433
|
}
|
|
369
434
|
export function createAutomation(transport) {
|
|
370
|
-
const boundAutomationScriptsPublish = bind(transport, sdk.automationScriptsPublish);
|
|
371
|
-
const boundAutomationWorkflowsPublish = bind(transport, sdk.automationWorkflowsPublish);
|
|
435
|
+
const boundAutomationScriptsPublish = bind(transport, acceptLegacyPath(sdk.automationScriptsPublish, { "namespace": "ns" }));
|
|
436
|
+
const boundAutomationWorkflowsPublish = bind(transport, acceptLegacyPath(sdk.automationWorkflowsPublish, { "namespace": "ns" }));
|
|
372
437
|
return {
|
|
373
438
|
actions: {
|
|
374
|
-
archive: bind(transport, sdk.automationActionsArchive),
|
|
439
|
+
archive: bind(transport, acceptLegacyPath(sdk.automationActionsArchive, { "namespace": "ns" })),
|
|
375
440
|
create: bind(transport, sdk.automationActionsCreate),
|
|
376
441
|
dependents: {
|
|
377
|
-
list: bindPage(transport, sdk.automationActionsDependents),
|
|
442
|
+
list: bindPage(transport, acceptLegacyPath(sdk.automationActionsDependents, { "namespace": "ns" })),
|
|
378
443
|
},
|
|
379
444
|
invocations: {
|
|
380
|
-
list: bindPage(transport, sdk.automationActionsInvocations),
|
|
445
|
+
list: bindPage(transport, acceptLegacyPath(sdk.automationActionsInvocations, { "namespace": "ns" })),
|
|
381
446
|
},
|
|
382
447
|
list: bindPage(transport, sdk.automationActionsList),
|
|
383
|
-
restore: bind(transport, sdk.automationActionsRestore),
|
|
384
|
-
retrieve: bind(transport, sdk.automationActionsGet),
|
|
448
|
+
restore: bind(transport, acceptLegacyPath(sdk.automationActionsRestore, { "namespace": "ns" })),
|
|
449
|
+
retrieve: bind(transport, acceptLegacyPath(sdk.automationActionsGet, { "namespace": "ns" })),
|
|
385
450
|
revisions: {
|
|
386
|
-
list: bindPage(transport, sdk.automationActionsRevisions),
|
|
387
|
-
retrieve: bind(transport, sdk.automationActionsRevision),
|
|
451
|
+
list: bindPage(transport, acceptLegacyPath(sdk.automationActionsRevisions, { "namespace": "ns" })),
|
|
452
|
+
retrieve: bind(transport, acceptLegacyPath(sdk.automationActionsRevision, { "namespace": "ns" })),
|
|
388
453
|
},
|
|
389
|
-
rollback: bind(transport, sdk.automationActionsRollback),
|
|
390
|
-
update: bind(transport, sdk.automationActionsUpdate),
|
|
454
|
+
rollback: bind(transport, acceptLegacyPath(sdk.automationActionsRollback, { "namespace": "ns" })),
|
|
455
|
+
update: bind(transport, acceptLegacyPath(sdk.automationActionsUpdate, { "namespace": "ns" })),
|
|
391
456
|
},
|
|
392
457
|
hooks: {
|
|
393
458
|
send: bind(transport, sdk.automationHooksReceive),
|
|
394
459
|
},
|
|
395
460
|
humanTasks: {
|
|
396
|
-
cancel: bind(transport, sdk.automationHumanTasksCancel),
|
|
397
|
-
delegate: bind(transport, sdk.automationHumanTasksDelegate),
|
|
461
|
+
cancel: bind(transport, acceptLegacyPath(sdk.automationHumanTasksCancel, { "task_id": "id" })),
|
|
462
|
+
delegate: bind(transport, acceptLegacyPath(sdk.automationHumanTasksDelegate, { "task_id": "id" })),
|
|
398
463
|
list: bindPage(transport, sdk.automationHumanTasksList),
|
|
399
|
-
respond: bind(transport, sdk.automationHumanTasksRespond),
|
|
400
|
-
retrieve: bind(transport, sdk.automationHumanTasksGet),
|
|
464
|
+
respond: bind(transport, acceptLegacyPath(sdk.automationHumanTasksRespond, { "task_id": "id" })),
|
|
465
|
+
retrieve: bind(transport, acceptLegacyPath(sdk.automationHumanTasksGet, { "task_id": "id" })),
|
|
401
466
|
},
|
|
402
467
|
resolve: {
|
|
403
468
|
retrieve: bind(transport, sdk.automationResolveResolve),
|
|
404
469
|
},
|
|
405
470
|
runs: {
|
|
406
471
|
artifacts: {
|
|
407
|
-
list: bindPage(transport, sdk.automationRunsArtifacts),
|
|
472
|
+
list: bindPage(transport, acceptLegacyPath(sdk.automationRunsArtifacts, { "run_id": "id" })),
|
|
408
473
|
},
|
|
409
474
|
calls: {
|
|
410
|
-
list: bindPage(transport, sdk.automationRunsCalls),
|
|
475
|
+
list: bindPage(transport, acceptLegacyPath(sdk.automationRunsCalls, { "run_id": "id" })),
|
|
411
476
|
},
|
|
412
|
-
cancel: bind(transport, sdk.automationRunsCancel),
|
|
477
|
+
cancel: bind(transport, acceptLegacyPath(sdk.automationRunsCancel, { "run_id": "id" })),
|
|
413
478
|
create: bind(transport, sdk.automationRunsCreate),
|
|
414
|
-
events: bindStream(transport, sdk.automationRunsEvents),
|
|
479
|
+
events: bindStream(transport, acceptLegacyPath(sdk.automationRunsEvents, { "run_id": "id" })),
|
|
415
480
|
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),
|
|
481
|
+
logs: bindStream(transport, acceptLegacyPath(sdk.automationRunsLogs, { "run_id": "id" })),
|
|
482
|
+
rerun: bind(transport, acceptLegacyPath(sdk.automationRunsRerun, { "run_id": "id" })),
|
|
483
|
+
resume: bind(transport, acceptLegacyPath(sdk.automationRunsResume, { "run_id": "id" })),
|
|
484
|
+
retrieve: bind(transport, acceptLegacyPath(sdk.automationRunsGet, { "run_id": "id" })),
|
|
485
|
+
retrieveSource: bind(transport, acceptLegacyPath(sdk.automationRunsSource, { "run_id": "id" })),
|
|
486
|
+
suspend: bind(transport, acceptLegacyPath(sdk.automationRunsSuspend, { "run_id": "id" })),
|
|
422
487
|
tasks: {
|
|
423
|
-
list: bindPage(transport, sdk.automationRunsTasks),
|
|
488
|
+
list: bindPage(transport, acceptLegacyPath(sdk.automationRunsTasks, { "run_id": "id" })),
|
|
424
489
|
},
|
|
425
490
|
waits: {
|
|
426
|
-
complete: bind(transport, sdk.automationRunsCompleteWait),
|
|
427
|
-
list: bindPage(transport, sdk.automationRunsWaits),
|
|
491
|
+
complete: bind(transport, acceptLegacyPath(sdk.automationRunsCompleteWait, { "run_id": "id" })),
|
|
492
|
+
list: bindPage(transport, acceptLegacyPath(sdk.automationRunsWaits, { "run_id": "id" })),
|
|
428
493
|
},
|
|
429
494
|
},
|
|
430
495
|
scripts: {
|
|
431
|
-
archive: bind(transport, sdk.automationScriptsArchive),
|
|
496
|
+
archive: bind(transport, acceptLegacyPath(sdk.automationScriptsArchive, { "namespace": "ns" })),
|
|
432
497
|
create: bind(transport, sdk.automationScriptsCreate),
|
|
433
498
|
distTags: {
|
|
434
|
-
delete: bind(transport, sdk.automationScriptsDeleteDistTag),
|
|
435
|
-
list: bind(transport, sdk.automationScriptsDistTags),
|
|
436
|
-
set: bind(transport, sdk.automationScriptsSetDistTag),
|
|
499
|
+
delete: bind(transport, acceptLegacyPath(sdk.automationScriptsDeleteDistTag, { "namespace": "ns" })),
|
|
500
|
+
list: bind(transport, acceptLegacyPath(sdk.automationScriptsDistTags, { "namespace": "ns" })),
|
|
501
|
+
set: bind(transport, acceptLegacyPath(sdk.automationScriptsSetDistTag, { "namespace": "ns" })),
|
|
437
502
|
},
|
|
438
503
|
list: bindPage(transport, sdk.automationScriptsList),
|
|
439
|
-
restore: bind(transport, sdk.automationScriptsRestore),
|
|
440
|
-
retrieve: bind(transport, sdk.automationScriptsGet),
|
|
441
|
-
update: bind(transport, sdk.automationScriptsPatch),
|
|
504
|
+
restore: bind(transport, acceptLegacyPath(sdk.automationScriptsRestore, { "namespace": "ns" })),
|
|
505
|
+
retrieve: bind(transport, acceptLegacyPath(sdk.automationScriptsGet, { "namespace": "ns" })),
|
|
506
|
+
update: bind(transport, acceptLegacyPath(sdk.automationScriptsPatch, { "namespace": "ns" })),
|
|
442
507
|
vaults: {
|
|
443
|
-
delete: bind(transport, sdk.automationScriptsVaultsDelete),
|
|
444
|
-
list: bind(transport, sdk.automationScriptsVaultsList),
|
|
445
|
-
set: bind(transport, sdk.automationScriptsVaultsSet),
|
|
508
|
+
delete: bind(transport, acceptLegacyPath(sdk.automationScriptsVaultsDelete, { "namespace": "ns" })),
|
|
509
|
+
list: bind(transport, acceptLegacyPath(sdk.automationScriptsVaultsList, { "namespace": "ns" })),
|
|
510
|
+
set: bind(transport, acceptLegacyPath(sdk.automationScriptsVaultsSet, { "namespace": "ns" })),
|
|
446
511
|
},
|
|
447
512
|
versions: {
|
|
448
513
|
create: boundAutomationScriptsPublish,
|
|
449
|
-
deprecate: bind(transport, sdk.automationScriptsDeprecate),
|
|
450
|
-
list: bindPage(transport, sdk.automationScriptsVersions),
|
|
514
|
+
deprecate: bind(transport, acceptLegacyPath(sdk.automationScriptsDeprecate, { "namespace": "ns" })),
|
|
515
|
+
list: bindPage(transport, acceptLegacyPath(sdk.automationScriptsVersions, { "namespace": "ns" })),
|
|
451
516
|
publish: boundAutomationScriptsPublish,
|
|
452
|
-
retrieve: bind(transport, sdk.automationScriptsVersion),
|
|
517
|
+
retrieve: bind(transport, acceptLegacyPath(sdk.automationScriptsVersion, { "namespace": "ns" })),
|
|
453
518
|
},
|
|
454
519
|
},
|
|
455
520
|
targets: {
|
|
@@ -457,45 +522,45 @@ export function createAutomation(transport) {
|
|
|
457
522
|
},
|
|
458
523
|
triggers: {
|
|
459
524
|
create: bind(transport, sdk.automationTriggersCreate),
|
|
460
|
-
delete: bind(transport, sdk.automationTriggersDelete),
|
|
461
|
-
fire: bind(transport, sdk.automationTriggersFire),
|
|
525
|
+
delete: bind(transport, acceptLegacyPath(sdk.automationTriggersDelete, { "trigger_id": "id" })),
|
|
526
|
+
fire: bind(transport, acceptLegacyPath(sdk.automationTriggersFire, { "trigger_id": "id" })),
|
|
462
527
|
firings: {
|
|
463
|
-
list: bindPage(transport, sdk.automationTriggersFirings),
|
|
528
|
+
list: bindPage(transport, acceptLegacyPath(sdk.automationTriggersFirings, { "trigger_id": "id" })),
|
|
464
529
|
},
|
|
465
530
|
list: bindPage(transport, sdk.automationTriggersList),
|
|
466
|
-
pause: bind(transport, sdk.automationTriggersPause),
|
|
531
|
+
pause: bind(transport, acceptLegacyPath(sdk.automationTriggersPause, { "trigger_id": "id" })),
|
|
467
532
|
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),
|
|
533
|
+
resume: bind(transport, acceptLegacyPath(sdk.automationTriggersResume, { "trigger_id": "id" })),
|
|
534
|
+
retrieve: bind(transport, acceptLegacyPath(sdk.automationTriggersGet, { "trigger_id": "id" })),
|
|
535
|
+
rotateWebhook: bind(transport, acceptLegacyPath(sdk.automationTriggersRotateWebhook, { "trigger_id": "id" })),
|
|
536
|
+
update: bind(transport, acceptLegacyPath(sdk.automationTriggersPatch, { "trigger_id": "id" })),
|
|
472
537
|
},
|
|
473
538
|
validate: {
|
|
474
539
|
create: bind(transport, sdk.automationValidateValidate),
|
|
475
540
|
},
|
|
476
541
|
workflows: {
|
|
477
|
-
archive: bind(transport, sdk.automationWorkflowsArchive),
|
|
542
|
+
archive: bind(transport, acceptLegacyPath(sdk.automationWorkflowsArchive, { "namespace": "ns" })),
|
|
478
543
|
create: bind(transport, sdk.automationWorkflowsCreate),
|
|
479
544
|
distTags: {
|
|
480
|
-
delete: bind(transport, sdk.automationWorkflowsDeleteDistTag),
|
|
481
|
-
list: bind(transport, sdk.automationWorkflowsDistTags),
|
|
482
|
-
set: bind(transport, sdk.automationWorkflowsSetDistTag),
|
|
545
|
+
delete: bind(transport, acceptLegacyPath(sdk.automationWorkflowsDeleteDistTag, { "namespace": "ns" })),
|
|
546
|
+
list: bind(transport, acceptLegacyPath(sdk.automationWorkflowsDistTags, { "namespace": "ns" })),
|
|
547
|
+
set: bind(transport, acceptLegacyPath(sdk.automationWorkflowsSetDistTag, { "namespace": "ns" })),
|
|
483
548
|
},
|
|
484
549
|
list: bindPage(transport, sdk.automationWorkflowsList),
|
|
485
|
-
restore: bind(transport, sdk.automationWorkflowsRestore),
|
|
486
|
-
retrieve: bind(transport, sdk.automationWorkflowsGet),
|
|
487
|
-
update: bind(transport, sdk.automationWorkflowsPatch),
|
|
550
|
+
restore: bind(transport, acceptLegacyPath(sdk.automationWorkflowsRestore, { "namespace": "ns" })),
|
|
551
|
+
retrieve: bind(transport, acceptLegacyPath(sdk.automationWorkflowsGet, { "namespace": "ns" })),
|
|
552
|
+
update: bind(transport, acceptLegacyPath(sdk.automationWorkflowsPatch, { "namespace": "ns" })),
|
|
488
553
|
vaults: {
|
|
489
|
-
delete: bind(transport, sdk.automationWorkflowsVaultsDelete),
|
|
490
|
-
list: bind(transport, sdk.automationWorkflowsVaultsList),
|
|
491
|
-
set: bind(transport, sdk.automationWorkflowsVaultsSet),
|
|
554
|
+
delete: bind(transport, acceptLegacyPath(sdk.automationWorkflowsVaultsDelete, { "namespace": "ns" })),
|
|
555
|
+
list: bind(transport, acceptLegacyPath(sdk.automationWorkflowsVaultsList, { "namespace": "ns" })),
|
|
556
|
+
set: bind(transport, acceptLegacyPath(sdk.automationWorkflowsVaultsSet, { "namespace": "ns" })),
|
|
492
557
|
},
|
|
493
558
|
versions: {
|
|
494
559
|
create: boundAutomationWorkflowsPublish,
|
|
495
|
-
deprecate: bind(transport, sdk.automationWorkflowsDeprecate),
|
|
496
|
-
list: bindPage(transport, sdk.automationWorkflowsVersions),
|
|
560
|
+
deprecate: bind(transport, acceptLegacyPath(sdk.automationWorkflowsDeprecate, { "namespace": "ns" })),
|
|
561
|
+
list: bindPage(transport, acceptLegacyPath(sdk.automationWorkflowsVersions, { "namespace": "ns" })),
|
|
497
562
|
publish: boundAutomationWorkflowsPublish,
|
|
498
|
-
retrieve: bind(transport, sdk.automationWorkflowsVersion),
|
|
563
|
+
retrieve: bind(transport, acceptLegacyPath(sdk.automationWorkflowsVersion, { "namespace": "ns" })),
|
|
499
564
|
},
|
|
500
565
|
},
|
|
501
566
|
};
|
|
@@ -509,6 +574,23 @@ export function createBilling(transport) {
|
|
|
509
574
|
}
|
|
510
575
|
export function createBrowser(transport) {
|
|
511
576
|
return {
|
|
577
|
+
byob: {
|
|
578
|
+
browsers: {
|
|
579
|
+
disconnect: {
|
|
580
|
+
create: bind(transport, sdk.browserDisconnectByobBrowser),
|
|
581
|
+
},
|
|
582
|
+
list: bind(transport, sdk.browserListByobBrowsers),
|
|
583
|
+
retrieve: bind(transport, sdk.browserGetByobBrowser),
|
|
584
|
+
update: bind(transport, sdk.browserUpdateByobBrowser),
|
|
585
|
+
},
|
|
586
|
+
pairings: {
|
|
587
|
+
claim: {
|
|
588
|
+
create: bind(transport, sdk.browserClaimByobPairing),
|
|
589
|
+
},
|
|
590
|
+
create: bind(transport, sdk.browserCreateByobPairing),
|
|
591
|
+
retrieve: bind(transport, sdk.browserReadByobPairing),
|
|
592
|
+
},
|
|
593
|
+
},
|
|
512
594
|
connect: {
|
|
513
595
|
retrieve: bind(transport, sdk.browserConnect),
|
|
514
596
|
},
|
|
@@ -570,6 +652,11 @@ export function createCanvas(transport) {
|
|
|
570
652
|
nodes: {
|
|
571
653
|
list: bind(transport, sdk.canvasListNodes),
|
|
572
654
|
},
|
|
655
|
+
processes: {
|
|
656
|
+
steps: {
|
|
657
|
+
retrieveBrief: bind(transport, sdk.canvasRetrieveProcessStepBrief),
|
|
658
|
+
},
|
|
659
|
+
},
|
|
573
660
|
publish: bind(transport, sdk.canvasPublishLibrary),
|
|
574
661
|
restore: bind(transport, sdk.canvasRestoreCanvas),
|
|
575
662
|
retrieve: bind(transport, sdk.canvasRetrieveCanvas),
|
|
@@ -675,29 +762,44 @@ export function createCrm(transport) {
|
|
|
675
762
|
export function createCustomer(transport) {
|
|
676
763
|
return {
|
|
677
764
|
accessTokens: {
|
|
678
|
-
|
|
679
|
-
|
|
680
|
-
|
|
765
|
+
/** @deprecated use POST /end/v1/access_tokens instead; this path stops working on 2026-12-12. */
|
|
766
|
+
create: deprecate(transport.silenced, "praxis.customer.accessTokens.create", deprecatedMethods["praxis.customer.accessTokens.create"], bind(transport, sdk.customerCreateAccessToken)),
|
|
767
|
+
/** @deprecated use POST /end/v1/access_tokens/renew instead; this path stops working on 2026-12-12. */
|
|
768
|
+
renew: deprecate(transport.silenced, "praxis.customer.accessTokens.renew", deprecatedMethods["praxis.customer.accessTokens.renew"], bind(transport, sdk.customerRenewAccessToken)),
|
|
769
|
+
/** @deprecated use DELETE /end/v1/access_tokens/current instead; this path stops working on 2026-12-12. */
|
|
770
|
+
revoke: deprecate(transport.silenced, "praxis.customer.accessTokens.revoke", deprecatedMethods["praxis.customer.accessTokens.revoke"], bind(transport, sdk.customerRevokeCurrentTokens)),
|
|
681
771
|
},
|
|
682
772
|
customers: {
|
|
683
|
-
block
|
|
684
|
-
|
|
685
|
-
|
|
686
|
-
|
|
687
|
-
|
|
688
|
-
|
|
773
|
+
/** @deprecated use POST /end/v1/users/{end_user_id}/block instead; this path stops working on 2026-12-12. */
|
|
774
|
+
block: deprecate(transport.silenced, "praxis.customer.customers.block", deprecatedMethods["praxis.customer.customers.block"], bind(transport, sdk.customerBlockCustomer)),
|
|
775
|
+
/** @deprecated use DELETE /end/v1/users/{end_user_id} instead; this path stops working on 2026-12-12. */
|
|
776
|
+
delete: deprecate(transport.silenced, "praxis.customer.customers.delete", deprecatedMethods["praxis.customer.customers.delete"], bind(transport, sdk.customerDeleteCustomer)),
|
|
777
|
+
/** @deprecated use GET /end/v1/users instead; this path stops working on 2026-12-12. */
|
|
778
|
+
list: deprecate(transport.silenced, "praxis.customer.customers.list", deprecatedMethods["praxis.customer.customers.list"], bind(transport, sdk.customerListCustomers)),
|
|
779
|
+
/** @deprecated use GET /end/v1/users/{end_user_id} instead; this path stops working on 2026-12-12. */
|
|
780
|
+
retrieve: deprecate(transport.silenced, "praxis.customer.customers.retrieve", deprecatedMethods["praxis.customer.customers.retrieve"], bind(transport, sdk.customerGetCustomer)),
|
|
781
|
+
/** @deprecated use POST /end/v1/users/{end_user_id}/revoke_tokens instead; this path stops working on 2026-12-12. */
|
|
782
|
+
revokeTokens: deprecate(transport.silenced, "praxis.customer.customers.revokeTokens", deprecatedMethods["praxis.customer.customers.revokeTokens"], bind(transport, sdk.customerRevokeTokens)),
|
|
783
|
+
/** @deprecated use POST /end/v1/users/{end_user_id}/unblock instead; this path stops working on 2026-12-12. */
|
|
784
|
+
unblock: deprecate(transport.silenced, "praxis.customer.customers.unblock", deprecatedMethods["praxis.customer.customers.unblock"], bind(transport, sdk.customerUnblockCustomer)),
|
|
689
785
|
},
|
|
690
786
|
grantCodes: {
|
|
691
|
-
|
|
787
|
+
/** @deprecated use POST /end/v1/grant_codes instead; this path stops working on 2026-12-12. */
|
|
788
|
+
create: deprecate(transport.silenced, "praxis.customer.grantCodes.create", deprecatedMethods["praxis.customer.grantCodes.create"], bind(transport, sdk.customerCreateGrantCode)),
|
|
692
789
|
},
|
|
693
790
|
publishableKeys: {
|
|
694
|
-
|
|
695
|
-
|
|
696
|
-
|
|
697
|
-
|
|
791
|
+
/** @deprecated use POST /end/v1/publishable_keys instead; this path stops working on 2026-12-12. */
|
|
792
|
+
create: deprecate(transport.silenced, "praxis.customer.publishableKeys.create", deprecatedMethods["praxis.customer.publishableKeys.create"], bind(transport, sdk.customerCreatePublishableKey)),
|
|
793
|
+
/** @deprecated use DELETE /end/v1/publishable_keys/{key_id} instead; this path stops working on 2026-12-12. */
|
|
794
|
+
delete: deprecate(transport.silenced, "praxis.customer.publishableKeys.delete", deprecatedMethods["praxis.customer.publishableKeys.delete"], bind(transport, sdk.customerDeletePublishableKey)),
|
|
795
|
+
/** @deprecated use GET /end/v1/publishable_keys instead; this path stops working on 2026-12-12. */
|
|
796
|
+
list: deprecate(transport.silenced, "praxis.customer.publishableKeys.list", deprecatedMethods["praxis.customer.publishableKeys.list"], bind(transport, sdk.customerListPublishableKeys)),
|
|
797
|
+
/** @deprecated use PATCH /end/v1/publishable_keys/{key_id} instead; this path stops working on 2026-12-12. */
|
|
798
|
+
update: deprecate(transport.silenced, "praxis.customer.publishableKeys.update", deprecatedMethods["praxis.customer.publishableKeys.update"], bind(transport, sdk.customerUpdatePublishableKey)),
|
|
698
799
|
},
|
|
699
800
|
usage: {
|
|
700
|
-
|
|
801
|
+
/** @deprecated use GET /end/v1/users/{end_user_id}/usage instead; this path stops working on 2026-12-12. */
|
|
802
|
+
retrieve: deprecate(transport.silenced, "praxis.customer.usage.retrieve", deprecatedMethods["praxis.customer.usage.retrieve"], bind(transport, sdk.customerGetUsage)),
|
|
701
803
|
},
|
|
702
804
|
};
|
|
703
805
|
}
|
|
@@ -1022,6 +1124,7 @@ export function createDevops(transport) {
|
|
|
1022
1124
|
pullRequests: {
|
|
1023
1125
|
close: bind(transport, sdk.devopsPullRequestsClose),
|
|
1024
1126
|
merge: bind(transport, sdk.devopsPullRequestsMerge),
|
|
1127
|
+
overrideGate: bind(transport, sdk.devopsPullRequestsOverrideGate),
|
|
1025
1128
|
recordVerdict: bind(transport, sdk.devopsPullRequestsRecordVerdict),
|
|
1026
1129
|
rerunGate: bind(transport, sdk.devopsPullRequestsRerunGate),
|
|
1027
1130
|
retrieve: bind(transport, sdk.devopsPullRequestsGet),
|
|
@@ -1076,6 +1179,48 @@ export function createDevops(transport) {
|
|
|
1076
1179
|
},
|
|
1077
1180
|
};
|
|
1078
1181
|
}
|
|
1182
|
+
export function createEnd(transport) {
|
|
1183
|
+
return {
|
|
1184
|
+
accessTokens: {
|
|
1185
|
+
create: bind(transport, sdk.endCreateAccessToken),
|
|
1186
|
+
renew: bind(transport, sdk.endRenewAccessToken),
|
|
1187
|
+
revoke: bind(transport, sdk.endRevokeCurrentTokens),
|
|
1188
|
+
},
|
|
1189
|
+
grantCodes: {
|
|
1190
|
+
create: bind(transport, sdk.endCreateGrantCode),
|
|
1191
|
+
},
|
|
1192
|
+
publishableKeys: {
|
|
1193
|
+
create: bind(transport, sdk.endCreatePublishableKey),
|
|
1194
|
+
delete: bind(transport, sdk.endDeletePublishableKey),
|
|
1195
|
+
list: bind(transport, sdk.endListPublishableKeys),
|
|
1196
|
+
update: bind(transport, sdk.endUpdatePublishableKey),
|
|
1197
|
+
},
|
|
1198
|
+
usage: {
|
|
1199
|
+
retrieve: bind(transport, sdk.endGetUsage),
|
|
1200
|
+
},
|
|
1201
|
+
users: {
|
|
1202
|
+
block: bind(transport, sdk.endBlockUser),
|
|
1203
|
+
delete: bind(transport, sdk.endDeleteUser),
|
|
1204
|
+
list: bind(transport, sdk.endListUsers),
|
|
1205
|
+
retrieve: bind(transport, sdk.endGetUser),
|
|
1206
|
+
revokeTokens: bind(transport, sdk.endRevokeTokens),
|
|
1207
|
+
unblock: bind(transport, sdk.endUnblockUser),
|
|
1208
|
+
},
|
|
1209
|
+
};
|
|
1210
|
+
}
|
|
1211
|
+
export function createEvents(transport) {
|
|
1212
|
+
return {
|
|
1213
|
+
subscriptions: {
|
|
1214
|
+
create: bind(transport, sdk.eventsCreateSubscription),
|
|
1215
|
+
delete: bind(transport, sdk.eventsDeleteSubscription),
|
|
1216
|
+
list: bind(transport, sdk.eventsListSubscriptions),
|
|
1217
|
+
retrieve: bind(transport, sdk.eventsRetrieveSubscription),
|
|
1218
|
+
},
|
|
1219
|
+
types: {
|
|
1220
|
+
list: bind(transport, sdk.eventsListTypes),
|
|
1221
|
+
},
|
|
1222
|
+
};
|
|
1223
|
+
}
|
|
1079
1224
|
export function createFile(transport) {
|
|
1080
1225
|
return {
|
|
1081
1226
|
files: {
|
|
@@ -1193,6 +1338,9 @@ export function createMedia(transport) {
|
|
|
1193
1338
|
versions: {
|
|
1194
1339
|
restore: bind(transport, sdk.mediaRestoreAssetVersion),
|
|
1195
1340
|
},
|
|
1341
|
+
works: {
|
|
1342
|
+
list: bindPage(transport, sdk.mediaListAssetWorks),
|
|
1343
|
+
},
|
|
1196
1344
|
},
|
|
1197
1345
|
batches: {
|
|
1198
1346
|
create: bind(transport, sdk.mediaCreateBatch),
|
|
@@ -1250,6 +1398,13 @@ export function createMedia(transport) {
|
|
|
1250
1398
|
create: bind(transport, sdk.mediaDesignVoice),
|
|
1251
1399
|
},
|
|
1252
1400
|
},
|
|
1401
|
+
works: {
|
|
1402
|
+
create: bind(transport, sdk.mediaCreateWork),
|
|
1403
|
+
delete: bind(transport, sdk.mediaDeleteWork),
|
|
1404
|
+
list: bindPage(transport, sdk.mediaListWorks),
|
|
1405
|
+
retrieve: bind(transport, sdk.mediaGetWork),
|
|
1406
|
+
update: bind(transport, sdk.mediaUpdateWork),
|
|
1407
|
+
},
|
|
1253
1408
|
},
|
|
1254
1409
|
pipelines: {
|
|
1255
1410
|
create: bind(transport, sdk.createMediaPipeline),
|
|
@@ -1468,11 +1623,19 @@ export function createOrganization(transport) {
|
|
|
1468
1623
|
},
|
|
1469
1624
|
letters: {
|
|
1470
1625
|
archive: bind(transport, sdk.archiveOrganizationNotificationLetter),
|
|
1626
|
+
create: bind(transport, sdk.createOrganizationNotificationLetter),
|
|
1471
1627
|
list: bind(transport, sdk.listOrganizationNotificationLetters),
|
|
1472
1628
|
read: bind(transport, sdk.readOrganizationNotificationLetter),
|
|
1473
1629
|
readAll: bind(transport, sdk.readAllOrganizationNotificationLetters),
|
|
1474
1630
|
retrieve: bind(transport, sdk.getOrganizationNotificationLetter),
|
|
1475
1631
|
},
|
|
1632
|
+
messages: {
|
|
1633
|
+
delete: bind(transport, sdk.deleteOrganizationNotificationMessage),
|
|
1634
|
+
list: bind(transport, sdk.listOrganizationNotificationMessages),
|
|
1635
|
+
readAll: bind(transport, sdk.readAllOrganizationNotificationMessages),
|
|
1636
|
+
retrieve: bind(transport, sdk.getOrganizationNotificationMessage),
|
|
1637
|
+
update: bind(transport, sdk.updateOrganizationNotificationMessage),
|
|
1638
|
+
},
|
|
1476
1639
|
organizationDefault: {
|
|
1477
1640
|
create: bind(transport, sdk.updateOrganizationNotificationDefaults),
|
|
1478
1641
|
},
|
|
@@ -1564,6 +1727,7 @@ export function createSandbox(transport) {
|
|
|
1564
1727
|
},
|
|
1565
1728
|
create: bind(transport, sdk.createByodPairing),
|
|
1566
1729
|
retrieve: bind(transport, sdk.getByodPairing),
|
|
1730
|
+
status: bind(transport, sdk.getByodPairingStatus),
|
|
1567
1731
|
},
|
|
1568
1732
|
},
|
|
1569
1733
|
events: {
|
|
@@ -2062,6 +2226,8 @@ export const resourceFactories = {
|
|
|
2062
2226
|
cut: createCut,
|
|
2063
2227
|
database: createDatabase,
|
|
2064
2228
|
devops: createDevops,
|
|
2229
|
+
end: createEnd,
|
|
2230
|
+
events: createEvents,
|
|
2065
2231
|
file: createFile,
|
|
2066
2232
|
knowledge: createKnowledge,
|
|
2067
2233
|
media: createMedia,
|