@deepraxis/sdk 0.2.0-dev.bda9e20 → 0.2.0-dev.c1f0e29
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 +164 -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 +275 -20
- package/dist/generated/sdk.gen.js +717 -82
- package/dist/generated/types.gen.d.ts +4257 -390
- 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 +1482 -318
- package/dist/resources.generated.d.ts +870 -67
- package/dist/resources.generated.js +222 -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"
|
|
@@ -372,89 +432,89 @@ export function createApplication(transport) {
|
|
|
372
432
|
};
|
|
373
433
|
}
|
|
374
434
|
export function createAutomation(transport) {
|
|
375
|
-
const boundAutomationScriptsPublish = bind(transport, sdk.automationScriptsPublish);
|
|
376
|
-
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" }));
|
|
377
437
|
return {
|
|
378
438
|
actions: {
|
|
379
|
-
archive: bind(transport, sdk.automationActionsArchive),
|
|
439
|
+
archive: bind(transport, acceptLegacyPath(sdk.automationActionsArchive, { "namespace": "ns" })),
|
|
380
440
|
create: bind(transport, sdk.automationActionsCreate),
|
|
381
441
|
dependents: {
|
|
382
|
-
list: bindPage(transport, sdk.automationActionsDependents),
|
|
442
|
+
list: bindPage(transport, acceptLegacyPath(sdk.automationActionsDependents, { "namespace": "ns" })),
|
|
383
443
|
},
|
|
384
444
|
invocations: {
|
|
385
|
-
list: bindPage(transport, sdk.automationActionsInvocations),
|
|
445
|
+
list: bindPage(transport, acceptLegacyPath(sdk.automationActionsInvocations, { "namespace": "ns" })),
|
|
386
446
|
},
|
|
387
447
|
list: bindPage(transport, sdk.automationActionsList),
|
|
388
|
-
restore: bind(transport, sdk.automationActionsRestore),
|
|
389
|
-
retrieve: bind(transport, sdk.automationActionsGet),
|
|
448
|
+
restore: bind(transport, acceptLegacyPath(sdk.automationActionsRestore, { "namespace": "ns" })),
|
|
449
|
+
retrieve: bind(transport, acceptLegacyPath(sdk.automationActionsGet, { "namespace": "ns" })),
|
|
390
450
|
revisions: {
|
|
391
|
-
list: bindPage(transport, sdk.automationActionsRevisions),
|
|
392
|
-
retrieve: bind(transport, sdk.automationActionsRevision),
|
|
451
|
+
list: bindPage(transport, acceptLegacyPath(sdk.automationActionsRevisions, { "namespace": "ns" })),
|
|
452
|
+
retrieve: bind(transport, acceptLegacyPath(sdk.automationActionsRevision, { "namespace": "ns" })),
|
|
393
453
|
},
|
|
394
|
-
rollback: bind(transport, sdk.automationActionsRollback),
|
|
395
|
-
update: bind(transport, sdk.automationActionsUpdate),
|
|
454
|
+
rollback: bind(transport, acceptLegacyPath(sdk.automationActionsRollback, { "namespace": "ns" })),
|
|
455
|
+
update: bind(transport, acceptLegacyPath(sdk.automationActionsUpdate, { "namespace": "ns" })),
|
|
396
456
|
},
|
|
397
457
|
hooks: {
|
|
398
458
|
send: bind(transport, sdk.automationHooksReceive),
|
|
399
459
|
},
|
|
400
460
|
humanTasks: {
|
|
401
|
-
cancel: bind(transport, sdk.automationHumanTasksCancel),
|
|
402
|
-
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" })),
|
|
403
463
|
list: bindPage(transport, sdk.automationHumanTasksList),
|
|
404
|
-
respond: bind(transport, sdk.automationHumanTasksRespond),
|
|
405
|
-
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" })),
|
|
406
466
|
},
|
|
407
467
|
resolve: {
|
|
408
468
|
retrieve: bind(transport, sdk.automationResolveResolve),
|
|
409
469
|
},
|
|
410
470
|
runs: {
|
|
411
471
|
artifacts: {
|
|
412
|
-
list: bindPage(transport, sdk.automationRunsArtifacts),
|
|
472
|
+
list: bindPage(transport, acceptLegacyPath(sdk.automationRunsArtifacts, { "run_id": "id" })),
|
|
413
473
|
},
|
|
414
474
|
calls: {
|
|
415
|
-
list: bindPage(transport, sdk.automationRunsCalls),
|
|
475
|
+
list: bindPage(transport, acceptLegacyPath(sdk.automationRunsCalls, { "run_id": "id" })),
|
|
416
476
|
},
|
|
417
|
-
cancel: bind(transport, sdk.automationRunsCancel),
|
|
477
|
+
cancel: bind(transport, acceptLegacyPath(sdk.automationRunsCancel, { "run_id": "id" })),
|
|
418
478
|
create: bind(transport, sdk.automationRunsCreate),
|
|
419
|
-
events: bindStream(transport, sdk.automationRunsEvents),
|
|
479
|
+
events: bindStream(transport, acceptLegacyPath(sdk.automationRunsEvents, { "run_id": "id" })),
|
|
420
480
|
list: bindPage(transport, sdk.automationRunsList),
|
|
421
|
-
logs: bindStream(transport, sdk.automationRunsLogs),
|
|
422
|
-
rerun: bind(transport, sdk.automationRunsRerun),
|
|
423
|
-
resume: bind(transport, sdk.automationRunsResume),
|
|
424
|
-
retrieve: bind(transport, sdk.automationRunsGet),
|
|
425
|
-
retrieveSource: bind(transport, sdk.automationRunsSource),
|
|
426
|
-
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" })),
|
|
427
487
|
tasks: {
|
|
428
|
-
list: bindPage(transport, sdk.automationRunsTasks),
|
|
488
|
+
list: bindPage(transport, acceptLegacyPath(sdk.automationRunsTasks, { "run_id": "id" })),
|
|
429
489
|
},
|
|
430
490
|
waits: {
|
|
431
|
-
complete: bind(transport, sdk.automationRunsCompleteWait),
|
|
432
|
-
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" })),
|
|
433
493
|
},
|
|
434
494
|
},
|
|
435
495
|
scripts: {
|
|
436
|
-
archive: bind(transport, sdk.automationScriptsArchive),
|
|
496
|
+
archive: bind(transport, acceptLegacyPath(sdk.automationScriptsArchive, { "namespace": "ns" })),
|
|
437
497
|
create: bind(transport, sdk.automationScriptsCreate),
|
|
438
498
|
distTags: {
|
|
439
|
-
delete: bind(transport, sdk.automationScriptsDeleteDistTag),
|
|
440
|
-
list: bind(transport, sdk.automationScriptsDistTags),
|
|
441
|
-
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" })),
|
|
442
502
|
},
|
|
443
503
|
list: bindPage(transport, sdk.automationScriptsList),
|
|
444
|
-
restore: bind(transport, sdk.automationScriptsRestore),
|
|
445
|
-
retrieve: bind(transport, sdk.automationScriptsGet),
|
|
446
|
-
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" })),
|
|
447
507
|
vaults: {
|
|
448
|
-
delete: bind(transport, sdk.automationScriptsVaultsDelete),
|
|
449
|
-
list: bind(transport, sdk.automationScriptsVaultsList),
|
|
450
|
-
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" })),
|
|
451
511
|
},
|
|
452
512
|
versions: {
|
|
453
513
|
create: boundAutomationScriptsPublish,
|
|
454
|
-
deprecate: bind(transport, sdk.automationScriptsDeprecate),
|
|
455
|
-
list: bindPage(transport, sdk.automationScriptsVersions),
|
|
514
|
+
deprecate: bind(transport, acceptLegacyPath(sdk.automationScriptsDeprecate, { "namespace": "ns" })),
|
|
515
|
+
list: bindPage(transport, acceptLegacyPath(sdk.automationScriptsVersions, { "namespace": "ns" })),
|
|
456
516
|
publish: boundAutomationScriptsPublish,
|
|
457
|
-
retrieve: bind(transport, sdk.automationScriptsVersion),
|
|
517
|
+
retrieve: bind(transport, acceptLegacyPath(sdk.automationScriptsVersion, { "namespace": "ns" })),
|
|
458
518
|
},
|
|
459
519
|
},
|
|
460
520
|
targets: {
|
|
@@ -462,45 +522,45 @@ export function createAutomation(transport) {
|
|
|
462
522
|
},
|
|
463
523
|
triggers: {
|
|
464
524
|
create: bind(transport, sdk.automationTriggersCreate),
|
|
465
|
-
delete: bind(transport, sdk.automationTriggersDelete),
|
|
466
|
-
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" })),
|
|
467
527
|
firings: {
|
|
468
|
-
list: bindPage(transport, sdk.automationTriggersFirings),
|
|
528
|
+
list: bindPage(transport, acceptLegacyPath(sdk.automationTriggersFirings, { "trigger_id": "id" })),
|
|
469
529
|
},
|
|
470
530
|
list: bindPage(transport, sdk.automationTriggersList),
|
|
471
|
-
pause: bind(transport, sdk.automationTriggersPause),
|
|
531
|
+
pause: bind(transport, acceptLegacyPath(sdk.automationTriggersPause, { "trigger_id": "id" })),
|
|
472
532
|
preview: bind(transport, sdk.automationTriggersPreview),
|
|
473
|
-
resume: bind(transport, sdk.automationTriggersResume),
|
|
474
|
-
retrieve: bind(transport, sdk.automationTriggersGet),
|
|
475
|
-
rotateWebhook: bind(transport, sdk.automationTriggersRotateWebhook),
|
|
476
|
-
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" })),
|
|
477
537
|
},
|
|
478
538
|
validate: {
|
|
479
539
|
create: bind(transport, sdk.automationValidateValidate),
|
|
480
540
|
},
|
|
481
541
|
workflows: {
|
|
482
|
-
archive: bind(transport, sdk.automationWorkflowsArchive),
|
|
542
|
+
archive: bind(transport, acceptLegacyPath(sdk.automationWorkflowsArchive, { "namespace": "ns" })),
|
|
483
543
|
create: bind(transport, sdk.automationWorkflowsCreate),
|
|
484
544
|
distTags: {
|
|
485
|
-
delete: bind(transport, sdk.automationWorkflowsDeleteDistTag),
|
|
486
|
-
list: bind(transport, sdk.automationWorkflowsDistTags),
|
|
487
|
-
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" })),
|
|
488
548
|
},
|
|
489
549
|
list: bindPage(transport, sdk.automationWorkflowsList),
|
|
490
|
-
restore: bind(transport, sdk.automationWorkflowsRestore),
|
|
491
|
-
retrieve: bind(transport, sdk.automationWorkflowsGet),
|
|
492
|
-
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" })),
|
|
493
553
|
vaults: {
|
|
494
|
-
delete: bind(transport, sdk.automationWorkflowsVaultsDelete),
|
|
495
|
-
list: bind(transport, sdk.automationWorkflowsVaultsList),
|
|
496
|
-
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" })),
|
|
497
557
|
},
|
|
498
558
|
versions: {
|
|
499
559
|
create: boundAutomationWorkflowsPublish,
|
|
500
|
-
deprecate: bind(transport, sdk.automationWorkflowsDeprecate),
|
|
501
|
-
list: bindPage(transport, sdk.automationWorkflowsVersions),
|
|
560
|
+
deprecate: bind(transport, acceptLegacyPath(sdk.automationWorkflowsDeprecate, { "namespace": "ns" })),
|
|
561
|
+
list: bindPage(transport, acceptLegacyPath(sdk.automationWorkflowsVersions, { "namespace": "ns" })),
|
|
502
562
|
publish: boundAutomationWorkflowsPublish,
|
|
503
|
-
retrieve: bind(transport, sdk.automationWorkflowsVersion),
|
|
563
|
+
retrieve: bind(transport, acceptLegacyPath(sdk.automationWorkflowsVersion, { "namespace": "ns" })),
|
|
504
564
|
},
|
|
505
565
|
},
|
|
506
566
|
};
|
|
@@ -592,6 +652,11 @@ export function createCanvas(transport) {
|
|
|
592
652
|
nodes: {
|
|
593
653
|
list: bind(transport, sdk.canvasListNodes),
|
|
594
654
|
},
|
|
655
|
+
processes: {
|
|
656
|
+
steps: {
|
|
657
|
+
retrieveBrief: bind(transport, sdk.canvasRetrieveProcessStepBrief),
|
|
658
|
+
},
|
|
659
|
+
},
|
|
595
660
|
publish: bind(transport, sdk.canvasPublishLibrary),
|
|
596
661
|
restore: bind(transport, sdk.canvasRestoreCanvas),
|
|
597
662
|
retrieve: bind(transport, sdk.canvasRetrieveCanvas),
|
|
@@ -697,29 +762,44 @@ export function createCrm(transport) {
|
|
|
697
762
|
export function createCustomer(transport) {
|
|
698
763
|
return {
|
|
699
764
|
accessTokens: {
|
|
700
|
-
|
|
701
|
-
|
|
702
|
-
|
|
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)),
|
|
703
771
|
},
|
|
704
772
|
customers: {
|
|
705
|
-
block
|
|
706
|
-
|
|
707
|
-
|
|
708
|
-
|
|
709
|
-
|
|
710
|
-
|
|
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)),
|
|
711
785
|
},
|
|
712
786
|
grantCodes: {
|
|
713
|
-
|
|
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)),
|
|
714
789
|
},
|
|
715
790
|
publishableKeys: {
|
|
716
|
-
|
|
717
|
-
|
|
718
|
-
|
|
719
|
-
|
|
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)),
|
|
720
799
|
},
|
|
721
800
|
usage: {
|
|
722
|
-
|
|
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)),
|
|
723
803
|
},
|
|
724
804
|
};
|
|
725
805
|
}
|
|
@@ -1044,6 +1124,7 @@ export function createDevops(transport) {
|
|
|
1044
1124
|
pullRequests: {
|
|
1045
1125
|
close: bind(transport, sdk.devopsPullRequestsClose),
|
|
1046
1126
|
merge: bind(transport, sdk.devopsPullRequestsMerge),
|
|
1127
|
+
overrideGate: bind(transport, sdk.devopsPullRequestsOverrideGate),
|
|
1047
1128
|
recordVerdict: bind(transport, sdk.devopsPullRequestsRecordVerdict),
|
|
1048
1129
|
rerunGate: bind(transport, sdk.devopsPullRequestsRerunGate),
|
|
1049
1130
|
retrieve: bind(transport, sdk.devopsPullRequestsGet),
|
|
@@ -1098,6 +1179,48 @@ export function createDevops(transport) {
|
|
|
1098
1179
|
},
|
|
1099
1180
|
};
|
|
1100
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
|
+
}
|
|
1101
1224
|
export function createFile(transport) {
|
|
1102
1225
|
return {
|
|
1103
1226
|
files: {
|
|
@@ -1215,6 +1338,9 @@ export function createMedia(transport) {
|
|
|
1215
1338
|
versions: {
|
|
1216
1339
|
restore: bind(transport, sdk.mediaRestoreAssetVersion),
|
|
1217
1340
|
},
|
|
1341
|
+
works: {
|
|
1342
|
+
list: bindPage(transport, sdk.mediaListAssetWorks),
|
|
1343
|
+
},
|
|
1218
1344
|
},
|
|
1219
1345
|
batches: {
|
|
1220
1346
|
create: bind(transport, sdk.mediaCreateBatch),
|
|
@@ -1272,6 +1398,13 @@ export function createMedia(transport) {
|
|
|
1272
1398
|
create: bind(transport, sdk.mediaDesignVoice),
|
|
1273
1399
|
},
|
|
1274
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
|
+
},
|
|
1275
1408
|
},
|
|
1276
1409
|
pipelines: {
|
|
1277
1410
|
create: bind(transport, sdk.createMediaPipeline),
|
|
@@ -1490,11 +1623,19 @@ export function createOrganization(transport) {
|
|
|
1490
1623
|
},
|
|
1491
1624
|
letters: {
|
|
1492
1625
|
archive: bind(transport, sdk.archiveOrganizationNotificationLetter),
|
|
1626
|
+
create: bind(transport, sdk.createOrganizationNotificationLetter),
|
|
1493
1627
|
list: bind(transport, sdk.listOrganizationNotificationLetters),
|
|
1494
1628
|
read: bind(transport, sdk.readOrganizationNotificationLetter),
|
|
1495
1629
|
readAll: bind(transport, sdk.readAllOrganizationNotificationLetters),
|
|
1496
1630
|
retrieve: bind(transport, sdk.getOrganizationNotificationLetter),
|
|
1497
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
|
+
},
|
|
1498
1639
|
organizationDefault: {
|
|
1499
1640
|
create: bind(transport, sdk.updateOrganizationNotificationDefaults),
|
|
1500
1641
|
},
|
|
@@ -1586,6 +1727,7 @@ export function createSandbox(transport) {
|
|
|
1586
1727
|
},
|
|
1587
1728
|
create: bind(transport, sdk.createByodPairing),
|
|
1588
1729
|
retrieve: bind(transport, sdk.getByodPairing),
|
|
1730
|
+
status: bind(transport, sdk.getByodPairingStatus),
|
|
1589
1731
|
},
|
|
1590
1732
|
},
|
|
1591
1733
|
events: {
|
|
@@ -2084,6 +2226,8 @@ export const resourceFactories = {
|
|
|
2084
2226
|
cut: createCut,
|
|
2085
2227
|
database: createDatabase,
|
|
2086
2228
|
devops: createDevops,
|
|
2229
|
+
end: createEnd,
|
|
2230
|
+
events: createEvents,
|
|
2087
2231
|
file: createFile,
|
|
2088
2232
|
knowledge: createKnowledge,
|
|
2089
2233
|
media: createMedia,
|