@deepraxis/sdk 0.1.1-dev.22936b5 → 0.1.1-dev.23e4fb5
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 +122 -1
- package/README.md +3 -3
- package/dist/generated/index.d.ts +2 -2
- package/dist/generated/index.js +1 -1
- package/dist/generated/sdk.gen.d.ts +227 -33
- package/dist/generated/sdk.gen.js +605 -34
- package/dist/generated/types.gen.d.ts +3234 -354
- package/dist/helpers/browser-connect.js +5 -4
- package/dist/helpers/browser-decisions.d.ts +13 -0
- package/dist/helpers/browser-decisions.js +11 -0
- package/dist/helpers/browser-documentation.d.ts +1 -1
- package/dist/helpers/browser-documentation.js +4 -2
- package/dist/operations.generated.d.ts +1 -0
- package/dist/operations.generated.js +1326 -58
- package/dist/resources.generated.d.ts +157 -61
- package/dist/resources.generated.js +73 -0
- package/package.json +1 -1
|
@@ -657,21 +657,6 @@ export declare function createAgent(transport: Transport): {
|
|
|
657
657
|
type: "user.steer";
|
|
658
658
|
event_id: string;
|
|
659
659
|
processed_at: string;
|
|
660
|
-
} | {
|
|
661
|
-
id: string;
|
|
662
|
-
type: "user.tool_confirmation";
|
|
663
|
-
processed_at: string;
|
|
664
|
-
tool_use_id: string;
|
|
665
|
-
result: "allow";
|
|
666
|
-
answers: {
|
|
667
|
-
[key: string]: string;
|
|
668
|
-
};
|
|
669
|
-
annotations?: {
|
|
670
|
-
[key: string]: {
|
|
671
|
-
preview?: string;
|
|
672
|
-
notes?: string;
|
|
673
|
-
};
|
|
674
|
-
};
|
|
675
660
|
}>;
|
|
676
661
|
next_page: string | null;
|
|
677
662
|
}>;
|
|
@@ -692,21 +677,6 @@ export declare function createAgent(transport: Transport): {
|
|
|
692
677
|
type: "user.steer";
|
|
693
678
|
event_id: string;
|
|
694
679
|
processed_at: string;
|
|
695
|
-
} | {
|
|
696
|
-
id: string;
|
|
697
|
-
type: "user.tool_confirmation";
|
|
698
|
-
processed_at: string;
|
|
699
|
-
tool_use_id: string;
|
|
700
|
-
result: "allow";
|
|
701
|
-
answers: {
|
|
702
|
-
[key: string]: string;
|
|
703
|
-
};
|
|
704
|
-
annotations?: {
|
|
705
|
-
[key: string]: {
|
|
706
|
-
preview?: string;
|
|
707
|
-
notes?: string;
|
|
708
|
-
};
|
|
709
|
-
};
|
|
710
680
|
}>;
|
|
711
681
|
}>;
|
|
712
682
|
stream: (options: import("./core/transport.js").StreamOptions<Types.StreamAgentEventsData>) => AsyncIterable<Types.AgentSseEvent>;
|
|
@@ -904,6 +874,34 @@ export declare function createAgent(transport: Transport): {
|
|
|
904
874
|
}>;
|
|
905
875
|
next_page: string | null;
|
|
906
876
|
}>;
|
|
877
|
+
phone: {
|
|
878
|
+
release: (options: import("./core/transport.js").CallOptions<Types.AgentsPhoneReleaseData>) => Promise<{
|
|
879
|
+
object: "agent_phone";
|
|
880
|
+
agent_id: string;
|
|
881
|
+
configured: boolean;
|
|
882
|
+
state: "none" | "starting" | "booting" | "restoring" | "running" | "archiving" | "releasing" | "online" | "offline";
|
|
883
|
+
sku: string | null;
|
|
884
|
+
byod_device: string | null;
|
|
885
|
+
name: string | null;
|
|
886
|
+
sandbox_id: string | null;
|
|
887
|
+
lease_ends_at: string | null;
|
|
888
|
+
archived_at: string | null;
|
|
889
|
+
archive_error: string | null;
|
|
890
|
+
}>;
|
|
891
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.AgentsPhoneRetrieveData>) => Promise<{
|
|
892
|
+
object: "agent_phone";
|
|
893
|
+
agent_id: string;
|
|
894
|
+
configured: boolean;
|
|
895
|
+
state: "none" | "starting" | "booting" | "restoring" | "running" | "archiving" | "releasing" | "online" | "offline";
|
|
896
|
+
sku: string | null;
|
|
897
|
+
byod_device: string | null;
|
|
898
|
+
name: string | null;
|
|
899
|
+
sandbox_id: string | null;
|
|
900
|
+
lease_ends_at: string | null;
|
|
901
|
+
archived_at: string | null;
|
|
902
|
+
archive_error: string | null;
|
|
903
|
+
}>;
|
|
904
|
+
};
|
|
907
905
|
retrieve: (options: import("./core/transport.js").CallOptions<Types.AgentsRetrieveData>) => Promise<{
|
|
908
906
|
id: string;
|
|
909
907
|
archived_at: null | string;
|
|
@@ -2376,6 +2374,12 @@ export declare function createAgent(transport: Transport): {
|
|
|
2376
2374
|
fallback?: "content";
|
|
2377
2375
|
skipped?: boolean;
|
|
2378
2376
|
}>;
|
|
2377
|
+
updateContent: (options: import("./core/transport.js").CallOptions<Types.UpdateComputerFileContentData>) => Promise<{
|
|
2378
|
+
path: string;
|
|
2379
|
+
size: number;
|
|
2380
|
+
mtime: string | null;
|
|
2381
|
+
version: string;
|
|
2382
|
+
}>;
|
|
2379
2383
|
};
|
|
2380
2384
|
leases: {
|
|
2381
2385
|
delete: (options: import("./core/transport.js").CallOptions<Types.ReleaseComputerLeaseData>) => Promise<{
|
|
@@ -3692,21 +3696,6 @@ export declare function createAgent(transport: Transport): {
|
|
|
3692
3696
|
type: "user.steer";
|
|
3693
3697
|
event_id: string;
|
|
3694
3698
|
processed_at: string;
|
|
3695
|
-
} | {
|
|
3696
|
-
id: string;
|
|
3697
|
-
type: "user.tool_confirmation";
|
|
3698
|
-
processed_at: string;
|
|
3699
|
-
tool_use_id: string;
|
|
3700
|
-
result: "allow";
|
|
3701
|
-
answers: {
|
|
3702
|
-
[key: string]: string;
|
|
3703
|
-
};
|
|
3704
|
-
annotations?: {
|
|
3705
|
-
[key: string]: {
|
|
3706
|
-
preview?: string;
|
|
3707
|
-
notes?: string;
|
|
3708
|
-
};
|
|
3709
|
-
};
|
|
3710
3699
|
}>;
|
|
3711
3700
|
next_page: string | null;
|
|
3712
3701
|
}>;
|
|
@@ -3727,21 +3716,6 @@ export declare function createAgent(transport: Transport): {
|
|
|
3727
3716
|
type: "user.steer";
|
|
3728
3717
|
event_id: string;
|
|
3729
3718
|
processed_at: string;
|
|
3730
|
-
} | {
|
|
3731
|
-
id: string;
|
|
3732
|
-
type: "user.tool_confirmation";
|
|
3733
|
-
processed_at: string;
|
|
3734
|
-
tool_use_id: string;
|
|
3735
|
-
result: "allow";
|
|
3736
|
-
answers: {
|
|
3737
|
-
[key: string]: string;
|
|
3738
|
-
};
|
|
3739
|
-
annotations?: {
|
|
3740
|
-
[key: string]: {
|
|
3741
|
-
preview?: string;
|
|
3742
|
-
notes?: string;
|
|
3743
|
-
};
|
|
3744
|
-
};
|
|
3745
3719
|
}>;
|
|
3746
3720
|
}>;
|
|
3747
3721
|
stream: (options: import("./core/transport.js").StreamOptions<Types.SessionsEventsStreamData>) => AsyncIterable<Types.AgentSseEvent>;
|
|
@@ -5683,6 +5657,11 @@ export declare function createAutomation(transport: Transport): {
|
|
|
5683
5657
|
};
|
|
5684
5658
|
};
|
|
5685
5659
|
};
|
|
5660
|
+
export declare function createBilling(transport: Transport): {
|
|
5661
|
+
prices: {
|
|
5662
|
+
list: (options?: import("./core/transport.js").CallOptions<Types.ListPublicPricesData> | undefined) => Promise<Types.BillingPriceList>;
|
|
5663
|
+
};
|
|
5664
|
+
};
|
|
5686
5665
|
export declare function createBrowser(transport: Transport): {
|
|
5687
5666
|
connect: {
|
|
5688
5667
|
retrieve: (options?: import("./core/transport.js").CallOptions<Types.BrowserConnectData> | undefined) => Promise<unknown>;
|
|
@@ -6048,6 +6027,13 @@ export declare function createDevops(transport: Transport): {
|
|
|
6048
6027
|
create: (options: import("./core/transport.js").CallOptions<Types.DevopsChangesCreateData>) => Promise<Types.DevopsChange>;
|
|
6049
6028
|
list: (options: import("./core/transport.js").CallOptions<Types.DevopsChangesListData>) => Promise<Types.DevopsChangePage>;
|
|
6050
6029
|
};
|
|
6030
|
+
cleanups: {
|
|
6031
|
+
list: (options: import("./core/transport.js").CallOptions<Types.DevopsCleanupsListData>) => Promise<Types.DevopsCleanupPage>;
|
|
6032
|
+
};
|
|
6033
|
+
create: (options: import("./core/transport.js").CallOptions<Types.DevopsProjectsCreateData>) => Promise<Types.DevopsProject>;
|
|
6034
|
+
defaultBranch: {
|
|
6035
|
+
initialize: (options: import("./core/transport.js").CallOptions<Types.DevopsProjectsInitializeDefaultBranchData>) => Promise<Types.DevopsDefaultBranchInitialized>;
|
|
6036
|
+
};
|
|
6051
6037
|
environments: {
|
|
6052
6038
|
list: (options: import("./core/transport.js").CallOptions<Types.DevopsEnvironmentsListData>) => Promise<Types.DevopsEnvironmentList>;
|
|
6053
6039
|
targets: {
|
|
@@ -6120,6 +6106,7 @@ export declare function createDevops(transport: Transport): {
|
|
|
6120
6106
|
promotions: {
|
|
6121
6107
|
approve: (options: import("./core/transport.js").CallOptions<Types.DevopsPromotionsApproveData>) => Promise<Types.DevopsPromotion>;
|
|
6122
6108
|
cancel: (options: import("./core/transport.js").CallOptions<Types.DevopsPromotionsCancelData>) => Promise<Types.DevopsPromotion>;
|
|
6109
|
+
checkoutCredential: (options: import("./core/transport.js").CallOptions<Types.DevopsPromotionsCheckoutCredentialData>) => Promise<Types.DevopsCheckoutCredential>;
|
|
6123
6110
|
conclude: (options: import("./core/transport.js").CallOptions<Types.DevopsPromotionsConcludeData>) => Promise<Types.DevopsPromotion>;
|
|
6124
6111
|
create: (options: import("./core/transport.js").CallOptions<Types.DevopsPromotionsCreateData>) => Promise<Types.DevopsPromotion>;
|
|
6125
6112
|
retrieve: (options: import("./core/transport.js").CallOptions<Types.DevopsPromotionsGetData>) => Promise<Types.DevopsPromotion>;
|
|
@@ -6134,6 +6121,9 @@ export declare function createDevops(transport: Transport): {
|
|
|
6134
6121
|
recordVerdict: (options: import("./core/transport.js").CallOptions<Types.DevopsPullRequestsRecordVerdictData>) => Promise<Types.DevopsPullRequest>;
|
|
6135
6122
|
rerunGate: (options: import("./core/transport.js").CallOptions<Types.DevopsPullRequestsRerunGateData>) => Promise<Types.DevopsPullRequest>;
|
|
6136
6123
|
retrieve: (options: import("./core/transport.js").CallOptions<Types.DevopsPullRequestsGetData>) => Promise<Types.DevopsPullRequest>;
|
|
6124
|
+
reviews: {
|
|
6125
|
+
create: (options: import("./core/transport.js").CallOptions<Types.DevopsPullRequestsReviewsCreateData>) => Promise<Types.DevopsPullRequest>;
|
|
6126
|
+
};
|
|
6137
6127
|
};
|
|
6138
6128
|
releases: {
|
|
6139
6129
|
abandon: (options: import("./core/transport.js").CallOptions<Types.DevopsReleasesAbandonData>) => Promise<Types.DevopsRelease>;
|
|
@@ -7044,6 +7034,9 @@ export declare function createOrganization(transport: Transport): {
|
|
|
7044
7034
|
update: (options: import("./core/transport.js").CallOptions<Types.ReorganizeOrganizationDepartmentData>) => Promise<Types.OrganizationDepartment>;
|
|
7045
7035
|
updateCharter: (options: import("./core/transport.js").CallOptions<Types.AmendOrganizationDepartmentCharterData>) => Promise<Types.OrganizationDepartment>;
|
|
7046
7036
|
};
|
|
7037
|
+
effectiveSpec: {
|
|
7038
|
+
retrieve: (options?: import("./core/transport.js").CallOptions<Types.GetOrganizationEffectiveSpecData> | undefined) => Promise<Types.OrganizationEffectiveSpec>;
|
|
7039
|
+
};
|
|
7047
7040
|
events: {
|
|
7048
7041
|
list: (options: import("./core/transport.js").CallOptions<Types.ListOrganizationEventsData>) => Promise<{
|
|
7049
7042
|
object: "page";
|
|
@@ -7326,6 +7319,26 @@ export declare function createOrganization(transport: Transport): {
|
|
|
7326
7319
|
updateLevel: (options: import("./core/transport.js").CallOptions<Types.RegradeOrganizationPositionData>) => Promise<Types.OrganizationPosition>;
|
|
7327
7320
|
updateManager: (options: import("./core/transport.js").CallOptions<Types.ReassignOrganizationPositionManagerData>) => Promise<Types.OrganizationPosition>;
|
|
7328
7321
|
};
|
|
7322
|
+
reconcile: {
|
|
7323
|
+
pause: (options: import("./core/transport.js").CallOptions<Types.PauseOrganizationReconcileData>) => Promise<Types.OrganizationReconcileStatus>;
|
|
7324
|
+
resume: (options: import("./core/transport.js").CallOptions<Types.ResumeOrganizationReconcileData>) => Promise<Types.OrganizationReconcileStatus>;
|
|
7325
|
+
retrievePlan: (options: import("./core/transport.js").CallOptions<Types.PlanOrganizationReconcileData>) => Promise<Types.OrganizationReconcilePlan>;
|
|
7326
|
+
run: {
|
|
7327
|
+
create: (options: import("./core/transport.js").CallOptions<Types.RunOrganizationReconcileData>) => Promise<Types.OrganizationReconcileStatus>;
|
|
7328
|
+
};
|
|
7329
|
+
status: {
|
|
7330
|
+
list: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationReconcileStatusData>) => Promise<Types.OrganizationReconcileStatus>;
|
|
7331
|
+
};
|
|
7332
|
+
};
|
|
7333
|
+
specs: {
|
|
7334
|
+
list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationSpecsData> | undefined) => Promise<Types.OrganizationSpecList>;
|
|
7335
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationSpecData>) => Promise<Types.OrganizationSpec>;
|
|
7336
|
+
retrieveDiff: (options: import("./core/transport.js").CallOptions<Types.DiffOrganizationSpecData>) => Promise<Types.OrganizationSpecDiff>;
|
|
7337
|
+
revisions: {
|
|
7338
|
+
list: (options: import("./core/transport.js").CallOptions<Types.ListOrganizationSpecRevisionsData>) => Promise<Types.OrganizationSpecRevisionList>;
|
|
7339
|
+
};
|
|
7340
|
+
update: (options: import("./core/transport.js").CallOptions<Types.ReviseOrganizationSpecData>) => Promise<Types.OrganizationSpec>;
|
|
7341
|
+
};
|
|
7329
7342
|
usage: {
|
|
7330
7343
|
list: (options: import("./core/transport.js").CallOptions<Types.ListOrganizationUsageData>) => Promise<{
|
|
7331
7344
|
object: "page";
|
|
@@ -7357,16 +7370,25 @@ export declare function createRegistry(transport: Transport): {
|
|
|
7357
7370
|
packages: {
|
|
7358
7371
|
git: {
|
|
7359
7372
|
commits: {
|
|
7360
|
-
retrieve: (options: import("./core/transport.js").CallOptions<Types.RegistryGitCommitsRetrieveData>) => Promise<Types.
|
|
7373
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.RegistryGitCommitsRetrieveData>) => Promise<Types.RegistryGitCommitDetail>;
|
|
7361
7374
|
};
|
|
7362
7375
|
files: {
|
|
7363
7376
|
retrieve: (options: import("./core/transport.js").CallOptions<Types.RegistryGitFilesRetrieveData>) => Promise<Blob | File>;
|
|
7364
7377
|
};
|
|
7378
|
+
refs: {
|
|
7379
|
+
list: (options: import("./core/transport.js").CallOptions<Types.RegistryGitRefsData>) => Promise<Types.RegistryGitRefs>;
|
|
7380
|
+
};
|
|
7381
|
+
retrieveCompare: (options: import("./core/transport.js").CallOptions<Types.RegistryGitCompareData>) => Promise<Types.RegistryGitComparison>;
|
|
7365
7382
|
retrieveLog: (options: import("./core/transport.js").CallOptions<Types.RegistryGitLogData>) => Promise<Types.RegistryGitLog>;
|
|
7383
|
+
retrieveResolve: (options: import("./core/transport.js").CallOptions<Types.RegistryGitResolveData>) => Promise<Types.RegistryGitResolvedRef>;
|
|
7366
7384
|
trees: {
|
|
7367
7385
|
retrieve: (options: import("./core/transport.js").CallOptions<Types.RegistryGitTreesRetrieveData>) => Promise<Types.RegistryGitTree>;
|
|
7386
|
+
retrieveRecursive: (options: import("./core/transport.js").CallOptions<Types.RegistryGitTreesRecursiveData>) => Promise<Types.RegistryGitTreeRecursive>;
|
|
7368
7387
|
};
|
|
7369
7388
|
};
|
|
7389
|
+
gitCredential: {
|
|
7390
|
+
create: (options: import("./core/transport.js").CallOptions<Types.RegistryPackagesGitCredentialCreateData>) => Promise<Types.RegistryGitCredential>;
|
|
7391
|
+
};
|
|
7370
7392
|
installations: {
|
|
7371
7393
|
create: (options: import("./core/transport.js").CallOptions<Types.RegistryPackagesInstallationsCreateData>) => Promise<Types.RegistryInstallResult>;
|
|
7372
7394
|
list: (options: import("./core/transport.js").CallOptions<Types.RegistryPackagesInstallationsListData>) => Promise<Types.RegistryInstallationList>;
|
|
@@ -7398,6 +7420,79 @@ export declare function createRegistry(transport: Transport): {
|
|
|
7398
7420
|
};
|
|
7399
7421
|
};
|
|
7400
7422
|
export declare function createSandbox(transport: Transport): {
|
|
7423
|
+
byod: {
|
|
7424
|
+
devices: {
|
|
7425
|
+
disconnect: {
|
|
7426
|
+
create: (options: import("./core/transport.js").CallOptions<Types.DisconnectByodDeviceData>) => Promise<{
|
|
7427
|
+
id: string;
|
|
7428
|
+
object: "byod_device";
|
|
7429
|
+
disconnected: true;
|
|
7430
|
+
}>;
|
|
7431
|
+
};
|
|
7432
|
+
list: (options?: import("./core/transport.js").CallOptions<Types.ListByodDevicesData> | undefined) => Promise<{
|
|
7433
|
+
data: Array<{
|
|
7434
|
+
object: "byod_device";
|
|
7435
|
+
id: string;
|
|
7436
|
+
platform: "android" | "macos" | "linux";
|
|
7437
|
+
name: string;
|
|
7438
|
+
model: string;
|
|
7439
|
+
os_version: string;
|
|
7440
|
+
online: boolean;
|
|
7441
|
+
last_seen_at: string | null;
|
|
7442
|
+
created_at: string;
|
|
7443
|
+
capabilities: Array<"display" | "agent">;
|
|
7444
|
+
agent_dirs: Array<string>;
|
|
7445
|
+
allow_bypass: boolean;
|
|
7446
|
+
}>;
|
|
7447
|
+
}>;
|
|
7448
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.GetByodDeviceData>) => Promise<{
|
|
7449
|
+
object: "byod_device";
|
|
7450
|
+
id: string;
|
|
7451
|
+
platform: "android" | "macos" | "linux";
|
|
7452
|
+
name: string;
|
|
7453
|
+
model: string;
|
|
7454
|
+
os_version: string;
|
|
7455
|
+
online: boolean;
|
|
7456
|
+
last_seen_at: string | null;
|
|
7457
|
+
created_at: string;
|
|
7458
|
+
capabilities: Array<"display" | "agent">;
|
|
7459
|
+
agent_dirs: Array<string>;
|
|
7460
|
+
allow_bypass: boolean;
|
|
7461
|
+
}>;
|
|
7462
|
+
update: (options: import("./core/transport.js").CallOptions<Types.UpdateByodDeviceData>) => Promise<{
|
|
7463
|
+
object: "byod_device";
|
|
7464
|
+
id: string;
|
|
7465
|
+
platform: "android" | "macos" | "linux";
|
|
7466
|
+
name: string;
|
|
7467
|
+
model: string;
|
|
7468
|
+
os_version: string;
|
|
7469
|
+
online: boolean;
|
|
7470
|
+
last_seen_at: string | null;
|
|
7471
|
+
created_at: string;
|
|
7472
|
+
capabilities: Array<"display" | "agent">;
|
|
7473
|
+
agent_dirs: Array<string>;
|
|
7474
|
+
allow_bypass: boolean;
|
|
7475
|
+
}>;
|
|
7476
|
+
};
|
|
7477
|
+
pairings: {
|
|
7478
|
+
claim: {
|
|
7479
|
+
create: (options: import("./core/transport.js").CallOptions<Types.ClaimByodPairingData>) => Promise<{
|
|
7480
|
+
device_id: string;
|
|
7481
|
+
credential: string;
|
|
7482
|
+
socket_url: string;
|
|
7483
|
+
}>;
|
|
7484
|
+
};
|
|
7485
|
+
create: (options?: import("./core/transport.js").CallOptions<Types.CreateByodPairingData> | undefined) => Promise<{
|
|
7486
|
+
code: string;
|
|
7487
|
+
expires_at: string;
|
|
7488
|
+
qr: string;
|
|
7489
|
+
}>;
|
|
7490
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.GetByodPairingData>) => Promise<{
|
|
7491
|
+
organization_name: string;
|
|
7492
|
+
expires_at: string;
|
|
7493
|
+
}>;
|
|
7494
|
+
};
|
|
7495
|
+
};
|
|
7401
7496
|
events: {
|
|
7402
7497
|
sandboxes: {
|
|
7403
7498
|
retrieve: (options: import("./core/transport.js").CallOptions<Types.GetSandboxEventsData>) => Promise<Types.SandboxSandboxEvent[]>;
|
|
@@ -7952,6 +8047,7 @@ export declare const resourceFactories: {
|
|
|
7952
8047
|
agent: typeof createAgent;
|
|
7953
8048
|
application: typeof createApplication;
|
|
7954
8049
|
automation: typeof createAutomation;
|
|
8050
|
+
billing: typeof createBilling;
|
|
7955
8051
|
browser: typeof createBrowser;
|
|
7956
8052
|
canvas: typeof createCanvas;
|
|
7957
8053
|
content: typeof createContent;
|
|
@@ -37,6 +37,10 @@ export function createAgent(transport) {
|
|
|
37
37
|
},
|
|
38
38
|
},
|
|
39
39
|
list: bind(transport, sdk.agentsList),
|
|
40
|
+
phone: {
|
|
41
|
+
release: bind(transport, sdk.agentsPhoneRelease),
|
|
42
|
+
retrieve: bind(transport, sdk.agentsPhoneRetrieve),
|
|
43
|
+
},
|
|
40
44
|
retrieve: bind(transport, sdk.agentsRetrieve),
|
|
41
45
|
retrieveAppearance: bind(transport, sdk.getAgentAppearance),
|
|
42
46
|
retrieveEmbedPolicy: bind(transport, sdk.getAgentEmbedPolicy),
|
|
@@ -65,6 +69,7 @@ export function createAgent(transport) {
|
|
|
65
69
|
list: bind(transport, sdk.computersFilesList),
|
|
66
70
|
retrieveContent: bind(transport, sdk.computersFilesContent),
|
|
67
71
|
retrievePreview: bind(transport, sdk.previewComputerFile),
|
|
72
|
+
updateContent: bind(transport, sdk.updateComputerFileContent),
|
|
68
73
|
},
|
|
69
74
|
leases: {
|
|
70
75
|
delete: bind(transport, sdk.releaseComputerLease),
|
|
@@ -373,6 +378,13 @@ export function createAutomation(transport) {
|
|
|
373
378
|
},
|
|
374
379
|
};
|
|
375
380
|
}
|
|
381
|
+
export function createBilling(transport) {
|
|
382
|
+
return {
|
|
383
|
+
prices: {
|
|
384
|
+
list: bind(transport, sdk.listPublicPrices),
|
|
385
|
+
},
|
|
386
|
+
};
|
|
387
|
+
}
|
|
376
388
|
export function createBrowser(transport) {
|
|
377
389
|
return {
|
|
378
390
|
connect: {
|
|
@@ -688,6 +700,13 @@ export function createDevops(transport) {
|
|
|
688
700
|
create: bind(transport, sdk.devopsChangesCreate),
|
|
689
701
|
list: bind(transport, sdk.devopsChangesList),
|
|
690
702
|
},
|
|
703
|
+
cleanups: {
|
|
704
|
+
list: bind(transport, sdk.devopsCleanupsList),
|
|
705
|
+
},
|
|
706
|
+
create: bind(transport, sdk.devopsProjectsCreate),
|
|
707
|
+
defaultBranch: {
|
|
708
|
+
initialize: bind(transport, sdk.devopsProjectsInitializeDefaultBranch),
|
|
709
|
+
},
|
|
691
710
|
environments: {
|
|
692
711
|
list: bind(transport, sdk.devopsEnvironmentsList),
|
|
693
712
|
targets: {
|
|
@@ -760,6 +779,7 @@ export function createDevops(transport) {
|
|
|
760
779
|
promotions: {
|
|
761
780
|
approve: bind(transport, sdk.devopsPromotionsApprove),
|
|
762
781
|
cancel: bind(transport, sdk.devopsPromotionsCancel),
|
|
782
|
+
checkoutCredential: bind(transport, sdk.devopsPromotionsCheckoutCredential),
|
|
763
783
|
conclude: bind(transport, sdk.devopsPromotionsConclude),
|
|
764
784
|
create: bind(transport, sdk.devopsPromotionsCreate),
|
|
765
785
|
retrieve: bind(transport, sdk.devopsPromotionsGet),
|
|
@@ -774,6 +794,9 @@ export function createDevops(transport) {
|
|
|
774
794
|
recordVerdict: bind(transport, sdk.devopsPullRequestsRecordVerdict),
|
|
775
795
|
rerunGate: bind(transport, sdk.devopsPullRequestsRerunGate),
|
|
776
796
|
retrieve: bind(transport, sdk.devopsPullRequestsGet),
|
|
797
|
+
reviews: {
|
|
798
|
+
create: bind(transport, sdk.devopsPullRequestsReviewsCreate),
|
|
799
|
+
},
|
|
777
800
|
},
|
|
778
801
|
releases: {
|
|
779
802
|
abandon: bind(transport, sdk.devopsReleasesAbandon),
|
|
@@ -1176,6 +1199,9 @@ export function createOrganization(transport) {
|
|
|
1176
1199
|
update: bind(transport, sdk.reorganizeOrganizationDepartment),
|
|
1177
1200
|
updateCharter: bind(transport, sdk.amendOrganizationDepartmentCharter),
|
|
1178
1201
|
},
|
|
1202
|
+
effectiveSpec: {
|
|
1203
|
+
retrieve: bind(transport, sdk.getOrganizationEffectiveSpec),
|
|
1204
|
+
},
|
|
1179
1205
|
events: {
|
|
1180
1206
|
list: bind(transport, sdk.listOrganizationEvents),
|
|
1181
1207
|
retrieve: bind(transport, sdk.getOrganizationEvent),
|
|
@@ -1262,6 +1288,26 @@ export function createOrganization(transport) {
|
|
|
1262
1288
|
updateLevel: bind(transport, sdk.regradeOrganizationPosition),
|
|
1263
1289
|
updateManager: bind(transport, sdk.reassignOrganizationPositionManager),
|
|
1264
1290
|
},
|
|
1291
|
+
reconcile: {
|
|
1292
|
+
pause: bind(transport, sdk.pauseOrganizationReconcile),
|
|
1293
|
+
resume: bind(transport, sdk.resumeOrganizationReconcile),
|
|
1294
|
+
retrievePlan: bind(transport, sdk.planOrganizationReconcile),
|
|
1295
|
+
run: {
|
|
1296
|
+
create: bind(transport, sdk.runOrganizationReconcile),
|
|
1297
|
+
},
|
|
1298
|
+
status: {
|
|
1299
|
+
list: bind(transport, sdk.getOrganizationReconcileStatus),
|
|
1300
|
+
},
|
|
1301
|
+
},
|
|
1302
|
+
specs: {
|
|
1303
|
+
list: bind(transport, sdk.listOrganizationSpecs),
|
|
1304
|
+
retrieve: bind(transport, sdk.getOrganizationSpec),
|
|
1305
|
+
retrieveDiff: bind(transport, sdk.diffOrganizationSpec),
|
|
1306
|
+
revisions: {
|
|
1307
|
+
list: bind(transport, sdk.listOrganizationSpecRevisions),
|
|
1308
|
+
},
|
|
1309
|
+
update: bind(transport, sdk.reviseOrganizationSpec),
|
|
1310
|
+
},
|
|
1265
1311
|
usage: {
|
|
1266
1312
|
list: bind(transport, sdk.listOrganizationUsage),
|
|
1267
1313
|
},
|
|
@@ -1281,11 +1327,20 @@ export function createRegistry(transport) {
|
|
|
1281
1327
|
files: {
|
|
1282
1328
|
retrieve: bind(transport, sdk.registryGitFilesRetrieve),
|
|
1283
1329
|
},
|
|
1330
|
+
refs: {
|
|
1331
|
+
list: bind(transport, sdk.registryGitRefs),
|
|
1332
|
+
},
|
|
1333
|
+
retrieveCompare: bind(transport, sdk.registryGitCompare),
|
|
1284
1334
|
retrieveLog: bind(transport, sdk.registryGitLog),
|
|
1335
|
+
retrieveResolve: bind(transport, sdk.registryGitResolve),
|
|
1285
1336
|
trees: {
|
|
1286
1337
|
retrieve: bind(transport, sdk.registryGitTreesRetrieve),
|
|
1338
|
+
retrieveRecursive: bind(transport, sdk.registryGitTreesRecursive),
|
|
1287
1339
|
},
|
|
1288
1340
|
},
|
|
1341
|
+
gitCredential: {
|
|
1342
|
+
create: bind(transport, sdk.registryPackagesGitCredentialCreate),
|
|
1343
|
+
},
|
|
1289
1344
|
installations: {
|
|
1290
1345
|
create: bind(transport, sdk.registryPackagesInstallationsCreate),
|
|
1291
1346
|
list: bind(transport, sdk.registryPackagesInstallationsList),
|
|
@@ -1319,6 +1374,23 @@ export function createRegistry(transport) {
|
|
|
1319
1374
|
}
|
|
1320
1375
|
export function createSandbox(transport) {
|
|
1321
1376
|
return {
|
|
1377
|
+
byod: {
|
|
1378
|
+
devices: {
|
|
1379
|
+
disconnect: {
|
|
1380
|
+
create: bind(transport, sdk.disconnectByodDevice),
|
|
1381
|
+
},
|
|
1382
|
+
list: bind(transport, sdk.listByodDevices),
|
|
1383
|
+
retrieve: bind(transport, sdk.getByodDevice),
|
|
1384
|
+
update: bind(transport, sdk.updateByodDevice),
|
|
1385
|
+
},
|
|
1386
|
+
pairings: {
|
|
1387
|
+
claim: {
|
|
1388
|
+
create: bind(transport, sdk.claimByodPairing),
|
|
1389
|
+
},
|
|
1390
|
+
create: bind(transport, sdk.createByodPairing),
|
|
1391
|
+
retrieve: bind(transport, sdk.getByodPairing),
|
|
1392
|
+
},
|
|
1393
|
+
},
|
|
1322
1394
|
events: {
|
|
1323
1395
|
sandboxes: {
|
|
1324
1396
|
retrieve: bind(transport, sdk.getSandboxEvents),
|
|
@@ -1681,6 +1753,7 @@ export const resourceFactories = {
|
|
|
1681
1753
|
agent: createAgent,
|
|
1682
1754
|
application: createApplication,
|
|
1683
1755
|
automation: createAutomation,
|
|
1756
|
+
billing: createBilling,
|
|
1684
1757
|
browser: createBrowser,
|
|
1685
1758
|
canvas: createCanvas,
|
|
1686
1759
|
content: createContent,
|