@deepraxis/sdk 0.1.1-dev.a936efe → 0.1.1-dev.a9cc67b
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 +124 -1
- package/dist/core/binary-operations.d.ts +3 -0
- package/dist/core/binary-operations.js +14 -0
- package/dist/core/transport.js +8 -4
- package/dist/generated/binary-operations.gen.d.ts +3 -0
- package/dist/generated/binary-operations.gen.js +14 -0
- package/dist/generated/index.d.ts +2 -2
- package/dist/generated/index.js +1 -1
- package/dist/generated/sdk.gen.d.ts +232 -32
- package/dist/generated/sdk.gen.js +625 -33
- package/dist/generated/types.gen.d.ts +3926 -704
- package/dist/helpers/application-publish.js +16 -2
- package/dist/helpers/browser-connect-error.d.ts +28 -0
- package/dist/helpers/browser-connect-error.js +74 -0
- package/dist/helpers/browser-connect.d.ts +2 -0
- package/dist/helpers/browser-connect.js +36 -42
- 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.js +1174 -58
- package/dist/resources.generated.d.ts +223 -61
- package/dist/resources.generated.js +74 -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;
|
|
@@ -2364,6 +2362,18 @@ export declare function createAgent(transport: Transport): {
|
|
|
2364
2362
|
tier: "light" | "heavy";
|
|
2365
2363
|
}>;
|
|
2366
2364
|
retrieveContent: (options: import("./core/transport.js").CallOptions<Types.ComputersFilesContentData>) => Promise<Blob | File>;
|
|
2365
|
+
retrievePreview: (options: import("./core/transport.js").CallOptions<Types.PreviewComputerFileData>) => Promise<{
|
|
2366
|
+
variant: "image" | "pdf" | "text" | "original";
|
|
2367
|
+
version?: string;
|
|
2368
|
+
mime_type?: string;
|
|
2369
|
+
size?: number;
|
|
2370
|
+
file_id?: string;
|
|
2371
|
+
url?: string;
|
|
2372
|
+
expires_at?: string;
|
|
2373
|
+
cached: boolean;
|
|
2374
|
+
fallback?: "content";
|
|
2375
|
+
skipped?: boolean;
|
|
2376
|
+
}>;
|
|
2367
2377
|
};
|
|
2368
2378
|
leases: {
|
|
2369
2379
|
delete: (options: import("./core/transport.js").CallOptions<Types.ReleaseComputerLeaseData>) => Promise<{
|
|
@@ -3222,6 +3232,11 @@ export declare function createAgent(transport: Transport): {
|
|
|
3222
3232
|
vault_ids: Array<string>;
|
|
3223
3233
|
deployment_id?: null | string;
|
|
3224
3234
|
cwd: string;
|
|
3235
|
+
workspace?: {
|
|
3236
|
+
kind: "shared" | "isolated";
|
|
3237
|
+
path?: string;
|
|
3238
|
+
branch?: string;
|
|
3239
|
+
};
|
|
3225
3240
|
computer_id?: string;
|
|
3226
3241
|
model?: {
|
|
3227
3242
|
id: string;
|
|
@@ -3282,6 +3297,11 @@ export declare function createAgent(transport: Transport): {
|
|
|
3282
3297
|
vault_ids: Array<string>;
|
|
3283
3298
|
deployment_id?: null | string;
|
|
3284
3299
|
cwd: string;
|
|
3300
|
+
workspace?: {
|
|
3301
|
+
kind: "shared" | "isolated";
|
|
3302
|
+
path?: string;
|
|
3303
|
+
branch?: string;
|
|
3304
|
+
};
|
|
3285
3305
|
computer_id?: string;
|
|
3286
3306
|
model?: {
|
|
3287
3307
|
id: string;
|
|
@@ -3444,6 +3464,11 @@ export declare function createAgent(transport: Transport): {
|
|
|
3444
3464
|
vault_ids: Array<string>;
|
|
3445
3465
|
deployment_id?: null | string;
|
|
3446
3466
|
cwd: string;
|
|
3467
|
+
workspace?: {
|
|
3468
|
+
kind: "shared" | "isolated";
|
|
3469
|
+
path?: string;
|
|
3470
|
+
branch?: string;
|
|
3471
|
+
};
|
|
3447
3472
|
computer_id?: string;
|
|
3448
3473
|
model?: {
|
|
3449
3474
|
id: string;
|
|
@@ -3665,21 +3690,6 @@ export declare function createAgent(transport: Transport): {
|
|
|
3665
3690
|
type: "user.steer";
|
|
3666
3691
|
event_id: string;
|
|
3667
3692
|
processed_at: string;
|
|
3668
|
-
} | {
|
|
3669
|
-
id: string;
|
|
3670
|
-
type: "user.tool_confirmation";
|
|
3671
|
-
processed_at: string;
|
|
3672
|
-
tool_use_id: string;
|
|
3673
|
-
result: "allow";
|
|
3674
|
-
answers: {
|
|
3675
|
-
[key: string]: string;
|
|
3676
|
-
};
|
|
3677
|
-
annotations?: {
|
|
3678
|
-
[key: string]: {
|
|
3679
|
-
preview?: string;
|
|
3680
|
-
notes?: string;
|
|
3681
|
-
};
|
|
3682
|
-
};
|
|
3683
3693
|
}>;
|
|
3684
3694
|
next_page: string | null;
|
|
3685
3695
|
}>;
|
|
@@ -3700,21 +3710,6 @@ export declare function createAgent(transport: Transport): {
|
|
|
3700
3710
|
type: "user.steer";
|
|
3701
3711
|
event_id: string;
|
|
3702
3712
|
processed_at: string;
|
|
3703
|
-
} | {
|
|
3704
|
-
id: string;
|
|
3705
|
-
type: "user.tool_confirmation";
|
|
3706
|
-
processed_at: string;
|
|
3707
|
-
tool_use_id: string;
|
|
3708
|
-
result: "allow";
|
|
3709
|
-
answers: {
|
|
3710
|
-
[key: string]: string;
|
|
3711
|
-
};
|
|
3712
|
-
annotations?: {
|
|
3713
|
-
[key: string]: {
|
|
3714
|
-
preview?: string;
|
|
3715
|
-
notes?: string;
|
|
3716
|
-
};
|
|
3717
|
-
};
|
|
3718
3713
|
}>;
|
|
3719
3714
|
}>;
|
|
3720
3715
|
stream: (options: import("./core/transport.js").StreamOptions<Types.SessionsEventsStreamData>) => AsyncIterable<Types.AgentSseEvent>;
|
|
@@ -4230,6 +4225,11 @@ export declare function createAgent(transport: Transport): {
|
|
|
4230
4225
|
vault_ids: Array<string>;
|
|
4231
4226
|
deployment_id?: null | string;
|
|
4232
4227
|
cwd: string;
|
|
4228
|
+
workspace?: {
|
|
4229
|
+
kind: "shared" | "isolated";
|
|
4230
|
+
path?: string;
|
|
4231
|
+
branch?: string;
|
|
4232
|
+
};
|
|
4233
4233
|
computer_id?: string;
|
|
4234
4234
|
model?: {
|
|
4235
4235
|
id: string;
|
|
@@ -4290,6 +4290,11 @@ export declare function createAgent(transport: Transport): {
|
|
|
4290
4290
|
vault_ids: Array<string>;
|
|
4291
4291
|
deployment_id?: null | string;
|
|
4292
4292
|
cwd: string;
|
|
4293
|
+
workspace?: {
|
|
4294
|
+
kind: "shared" | "isolated";
|
|
4295
|
+
path?: string;
|
|
4296
|
+
branch?: string;
|
|
4297
|
+
};
|
|
4293
4298
|
computer_id?: string;
|
|
4294
4299
|
model?: {
|
|
4295
4300
|
id: string;
|
|
@@ -4823,6 +4828,11 @@ export declare function createAgent(transport: Transport): {
|
|
|
4823
4828
|
vault_ids: Array<string>;
|
|
4824
4829
|
deployment_id?: null | string;
|
|
4825
4830
|
cwd: string;
|
|
4831
|
+
workspace?: {
|
|
4832
|
+
kind: "shared" | "isolated";
|
|
4833
|
+
path?: string;
|
|
4834
|
+
branch?: string;
|
|
4835
|
+
};
|
|
4826
4836
|
computer_id?: string;
|
|
4827
4837
|
model?: {
|
|
4828
4838
|
id: string;
|
|
@@ -4914,6 +4924,11 @@ export declare function createAgent(transport: Transport): {
|
|
|
4914
4924
|
vault_ids: Array<string>;
|
|
4915
4925
|
deployment_id?: null | string;
|
|
4916
4926
|
cwd: string;
|
|
4927
|
+
workspace?: {
|
|
4928
|
+
kind: "shared" | "isolated";
|
|
4929
|
+
path?: string;
|
|
4930
|
+
branch?: string;
|
|
4931
|
+
};
|
|
4917
4932
|
computer_id?: string;
|
|
4918
4933
|
model?: {
|
|
4919
4934
|
id: string;
|
|
@@ -5280,6 +5295,11 @@ export declare function createAgent(transport: Transport): {
|
|
|
5280
5295
|
vault_ids: Array<string>;
|
|
5281
5296
|
deployment_id?: null | string;
|
|
5282
5297
|
cwd: string;
|
|
5298
|
+
workspace?: {
|
|
5299
|
+
kind: "shared" | "isolated";
|
|
5300
|
+
path?: string;
|
|
5301
|
+
branch?: string;
|
|
5302
|
+
};
|
|
5283
5303
|
computer_id?: string;
|
|
5284
5304
|
model?: {
|
|
5285
5305
|
id: string;
|
|
@@ -5631,6 +5651,11 @@ export declare function createAutomation(transport: Transport): {
|
|
|
5631
5651
|
};
|
|
5632
5652
|
};
|
|
5633
5653
|
};
|
|
5654
|
+
export declare function createBilling(transport: Transport): {
|
|
5655
|
+
prices: {
|
|
5656
|
+
list: (options?: import("./core/transport.js").CallOptions<Types.ListPublicPricesData> | undefined) => Promise<Types.BillingPriceList>;
|
|
5657
|
+
};
|
|
5658
|
+
};
|
|
5634
5659
|
export declare function createBrowser(transport: Transport): {
|
|
5635
5660
|
connect: {
|
|
5636
5661
|
retrieve: (options?: import("./core/transport.js").CallOptions<Types.BrowserConnectData> | undefined) => Promise<unknown>;
|
|
@@ -5996,6 +6021,13 @@ export declare function createDevops(transport: Transport): {
|
|
|
5996
6021
|
create: (options: import("./core/transport.js").CallOptions<Types.DevopsChangesCreateData>) => Promise<Types.DevopsChange>;
|
|
5997
6022
|
list: (options: import("./core/transport.js").CallOptions<Types.DevopsChangesListData>) => Promise<Types.DevopsChangePage>;
|
|
5998
6023
|
};
|
|
6024
|
+
cleanups: {
|
|
6025
|
+
list: (options: import("./core/transport.js").CallOptions<Types.DevopsCleanupsListData>) => Promise<Types.DevopsCleanupPage>;
|
|
6026
|
+
};
|
|
6027
|
+
create: (options: import("./core/transport.js").CallOptions<Types.DevopsProjectsCreateData>) => Promise<Types.DevopsProject>;
|
|
6028
|
+
defaultBranch: {
|
|
6029
|
+
initialize: (options: import("./core/transport.js").CallOptions<Types.DevopsProjectsInitializeDefaultBranchData>) => Promise<Types.DevopsDefaultBranchInitialized>;
|
|
6030
|
+
};
|
|
5999
6031
|
environments: {
|
|
6000
6032
|
list: (options: import("./core/transport.js").CallOptions<Types.DevopsEnvironmentsListData>) => Promise<Types.DevopsEnvironmentList>;
|
|
6001
6033
|
targets: {
|
|
@@ -6077,10 +6109,14 @@ export declare function createDevops(transport: Transport): {
|
|
|
6077
6109
|
};
|
|
6078
6110
|
};
|
|
6079
6111
|
pullRequests: {
|
|
6112
|
+
close: (options: import("./core/transport.js").CallOptions<Types.DevopsPullRequestsCloseData>) => Promise<Types.DevopsPullRequest>;
|
|
6080
6113
|
merge: (options: import("./core/transport.js").CallOptions<Types.DevopsPullRequestsMergeData>) => Promise<Types.DevopsPullRequest>;
|
|
6081
6114
|
recordVerdict: (options: import("./core/transport.js").CallOptions<Types.DevopsPullRequestsRecordVerdictData>) => Promise<Types.DevopsPullRequest>;
|
|
6082
6115
|
rerunGate: (options: import("./core/transport.js").CallOptions<Types.DevopsPullRequestsRerunGateData>) => Promise<Types.DevopsPullRequest>;
|
|
6083
6116
|
retrieve: (options: import("./core/transport.js").CallOptions<Types.DevopsPullRequestsGetData>) => Promise<Types.DevopsPullRequest>;
|
|
6117
|
+
reviews: {
|
|
6118
|
+
create: (options: import("./core/transport.js").CallOptions<Types.DevopsPullRequestsReviewsCreateData>) => Promise<Types.DevopsPullRequest>;
|
|
6119
|
+
};
|
|
6084
6120
|
};
|
|
6085
6121
|
releases: {
|
|
6086
6122
|
abandon: (options: import("./core/transport.js").CallOptions<Types.DevopsReleasesAbandonData>) => Promise<Types.DevopsRelease>;
|
|
@@ -6991,6 +7027,9 @@ export declare function createOrganization(transport: Transport): {
|
|
|
6991
7027
|
update: (options: import("./core/transport.js").CallOptions<Types.ReorganizeOrganizationDepartmentData>) => Promise<Types.OrganizationDepartment>;
|
|
6992
7028
|
updateCharter: (options: import("./core/transport.js").CallOptions<Types.AmendOrganizationDepartmentCharterData>) => Promise<Types.OrganizationDepartment>;
|
|
6993
7029
|
};
|
|
7030
|
+
effectiveSpec: {
|
|
7031
|
+
retrieve: (options?: import("./core/transport.js").CallOptions<Types.GetOrganizationEffectiveSpecData> | undefined) => Promise<Types.OrganizationEffectiveSpec>;
|
|
7032
|
+
};
|
|
6994
7033
|
events: {
|
|
6995
7034
|
list: (options: import("./core/transport.js").CallOptions<Types.ListOrganizationEventsData>) => Promise<{
|
|
6996
7035
|
object: "page";
|
|
@@ -7273,6 +7312,26 @@ export declare function createOrganization(transport: Transport): {
|
|
|
7273
7312
|
updateLevel: (options: import("./core/transport.js").CallOptions<Types.RegradeOrganizationPositionData>) => Promise<Types.OrganizationPosition>;
|
|
7274
7313
|
updateManager: (options: import("./core/transport.js").CallOptions<Types.ReassignOrganizationPositionManagerData>) => Promise<Types.OrganizationPosition>;
|
|
7275
7314
|
};
|
|
7315
|
+
reconcile: {
|
|
7316
|
+
pause: (options: import("./core/transport.js").CallOptions<Types.PauseOrganizationReconcileData>) => Promise<Types.OrganizationReconcileStatus>;
|
|
7317
|
+
resume: (options: import("./core/transport.js").CallOptions<Types.ResumeOrganizationReconcileData>) => Promise<Types.OrganizationReconcileStatus>;
|
|
7318
|
+
retrievePlan: (options: import("./core/transport.js").CallOptions<Types.PlanOrganizationReconcileData>) => Promise<Types.OrganizationReconcilePlan>;
|
|
7319
|
+
run: {
|
|
7320
|
+
create: (options: import("./core/transport.js").CallOptions<Types.RunOrganizationReconcileData>) => Promise<Types.OrganizationReconcileStatus>;
|
|
7321
|
+
};
|
|
7322
|
+
status: {
|
|
7323
|
+
list: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationReconcileStatusData>) => Promise<Types.OrganizationReconcileStatus>;
|
|
7324
|
+
};
|
|
7325
|
+
};
|
|
7326
|
+
specs: {
|
|
7327
|
+
list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationSpecsData> | undefined) => Promise<Types.OrganizationSpecList>;
|
|
7328
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationSpecData>) => Promise<Types.OrganizationSpec>;
|
|
7329
|
+
retrieveDiff: (options: import("./core/transport.js").CallOptions<Types.DiffOrganizationSpecData>) => Promise<Types.OrganizationSpecDiff>;
|
|
7330
|
+
revisions: {
|
|
7331
|
+
list: (options: import("./core/transport.js").CallOptions<Types.ListOrganizationSpecRevisionsData>) => Promise<Types.OrganizationSpecRevisionList>;
|
|
7332
|
+
};
|
|
7333
|
+
update: (options: import("./core/transport.js").CallOptions<Types.ReviseOrganizationSpecData>) => Promise<Types.OrganizationSpec>;
|
|
7334
|
+
};
|
|
7276
7335
|
usage: {
|
|
7277
7336
|
list: (options: import("./core/transport.js").CallOptions<Types.ListOrganizationUsageData>) => Promise<{
|
|
7278
7337
|
object: "page";
|
|
@@ -7304,16 +7363,25 @@ export declare function createRegistry(transport: Transport): {
|
|
|
7304
7363
|
packages: {
|
|
7305
7364
|
git: {
|
|
7306
7365
|
commits: {
|
|
7307
|
-
retrieve: (options: import("./core/transport.js").CallOptions<Types.RegistryGitCommitsRetrieveData>) => Promise<Types.
|
|
7366
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.RegistryGitCommitsRetrieveData>) => Promise<Types.RegistryGitCommitDetail>;
|
|
7308
7367
|
};
|
|
7309
7368
|
files: {
|
|
7310
7369
|
retrieve: (options: import("./core/transport.js").CallOptions<Types.RegistryGitFilesRetrieveData>) => Promise<Blob | File>;
|
|
7311
7370
|
};
|
|
7371
|
+
refs: {
|
|
7372
|
+
list: (options: import("./core/transport.js").CallOptions<Types.RegistryGitRefsData>) => Promise<Types.RegistryGitRefs>;
|
|
7373
|
+
};
|
|
7374
|
+
retrieveCompare: (options: import("./core/transport.js").CallOptions<Types.RegistryGitCompareData>) => Promise<Types.RegistryGitComparison>;
|
|
7312
7375
|
retrieveLog: (options: import("./core/transport.js").CallOptions<Types.RegistryGitLogData>) => Promise<Types.RegistryGitLog>;
|
|
7376
|
+
retrieveResolve: (options: import("./core/transport.js").CallOptions<Types.RegistryGitResolveData>) => Promise<Types.RegistryGitResolvedRef>;
|
|
7313
7377
|
trees: {
|
|
7314
7378
|
retrieve: (options: import("./core/transport.js").CallOptions<Types.RegistryGitTreesRetrieveData>) => Promise<Types.RegistryGitTree>;
|
|
7379
|
+
retrieveRecursive: (options: import("./core/transport.js").CallOptions<Types.RegistryGitTreesRecursiveData>) => Promise<Types.RegistryGitTreeRecursive>;
|
|
7315
7380
|
};
|
|
7316
7381
|
};
|
|
7382
|
+
gitCredential: {
|
|
7383
|
+
create: (options: import("./core/transport.js").CallOptions<Types.RegistryPackagesGitCredentialCreateData>) => Promise<Types.RegistryGitCredential>;
|
|
7384
|
+
};
|
|
7317
7385
|
installations: {
|
|
7318
7386
|
create: (options: import("./core/transport.js").CallOptions<Types.RegistryPackagesInstallationsCreateData>) => Promise<Types.RegistryInstallResult>;
|
|
7319
7387
|
list: (options: import("./core/transport.js").CallOptions<Types.RegistryPackagesInstallationsListData>) => Promise<Types.RegistryInstallationList>;
|
|
@@ -7345,12 +7413,105 @@ export declare function createRegistry(transport: Transport): {
|
|
|
7345
7413
|
};
|
|
7346
7414
|
};
|
|
7347
7415
|
export declare function createSandbox(transport: Transport): {
|
|
7416
|
+
byod: {
|
|
7417
|
+
devices: {
|
|
7418
|
+
disconnect: {
|
|
7419
|
+
create: (options: import("./core/transport.js").CallOptions<Types.DisconnectByodDeviceData>) => Promise<{
|
|
7420
|
+
id: string;
|
|
7421
|
+
object: "byod_device";
|
|
7422
|
+
disconnected: true;
|
|
7423
|
+
}>;
|
|
7424
|
+
};
|
|
7425
|
+
list: (options?: import("./core/transport.js").CallOptions<Types.ListByodDevicesData> | undefined) => Promise<{
|
|
7426
|
+
data: Array<{
|
|
7427
|
+
object: "byod_device";
|
|
7428
|
+
id: string;
|
|
7429
|
+
platform: "android" | "macos" | "linux";
|
|
7430
|
+
name: string;
|
|
7431
|
+
model: string;
|
|
7432
|
+
os_version: string;
|
|
7433
|
+
online: boolean;
|
|
7434
|
+
last_seen_at: string | null;
|
|
7435
|
+
created_at: string;
|
|
7436
|
+
capabilities: Array<"display" | "agent">;
|
|
7437
|
+
agent_dirs: Array<string>;
|
|
7438
|
+
allow_bypass: boolean;
|
|
7439
|
+
}>;
|
|
7440
|
+
}>;
|
|
7441
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.GetByodDeviceData>) => Promise<{
|
|
7442
|
+
object: "byod_device";
|
|
7443
|
+
id: string;
|
|
7444
|
+
platform: "android" | "macos" | "linux";
|
|
7445
|
+
name: string;
|
|
7446
|
+
model: string;
|
|
7447
|
+
os_version: string;
|
|
7448
|
+
online: boolean;
|
|
7449
|
+
last_seen_at: string | null;
|
|
7450
|
+
created_at: string;
|
|
7451
|
+
capabilities: Array<"display" | "agent">;
|
|
7452
|
+
agent_dirs: Array<string>;
|
|
7453
|
+
allow_bypass: boolean;
|
|
7454
|
+
}>;
|
|
7455
|
+
update: (options: import("./core/transport.js").CallOptions<Types.UpdateByodDeviceData>) => Promise<{
|
|
7456
|
+
object: "byod_device";
|
|
7457
|
+
id: string;
|
|
7458
|
+
platform: "android" | "macos" | "linux";
|
|
7459
|
+
name: string;
|
|
7460
|
+
model: string;
|
|
7461
|
+
os_version: string;
|
|
7462
|
+
online: boolean;
|
|
7463
|
+
last_seen_at: string | null;
|
|
7464
|
+
created_at: string;
|
|
7465
|
+
capabilities: Array<"display" | "agent">;
|
|
7466
|
+
agent_dirs: Array<string>;
|
|
7467
|
+
allow_bypass: boolean;
|
|
7468
|
+
}>;
|
|
7469
|
+
};
|
|
7470
|
+
pairings: {
|
|
7471
|
+
claim: {
|
|
7472
|
+
create: (options: import("./core/transport.js").CallOptions<Types.ClaimByodPairingData>) => Promise<{
|
|
7473
|
+
device_id: string;
|
|
7474
|
+
credential: string;
|
|
7475
|
+
socket_url: string;
|
|
7476
|
+
}>;
|
|
7477
|
+
};
|
|
7478
|
+
create: (options?: import("./core/transport.js").CallOptions<Types.CreateByodPairingData> | undefined) => Promise<{
|
|
7479
|
+
code: string;
|
|
7480
|
+
expires_at: string;
|
|
7481
|
+
qr: string;
|
|
7482
|
+
}>;
|
|
7483
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.GetByodPairingData>) => Promise<{
|
|
7484
|
+
organization_name: string;
|
|
7485
|
+
expires_at: string;
|
|
7486
|
+
}>;
|
|
7487
|
+
};
|
|
7488
|
+
};
|
|
7348
7489
|
events: {
|
|
7349
7490
|
sandboxes: {
|
|
7350
7491
|
retrieve: (options: import("./core/transport.js").CallOptions<Types.GetSandboxEventsData>) => Promise<Types.SandboxSandboxEvent[]>;
|
|
7351
7492
|
};
|
|
7352
7493
|
};
|
|
7353
7494
|
sandboxes: {
|
|
7495
|
+
act: (options: import("./core/transport.js").CallOptions<Types.ActOnSandboxDisplayData>) => Promise<{
|
|
7496
|
+
type: "snapshot";
|
|
7497
|
+
snapshot: string;
|
|
7498
|
+
refs: number;
|
|
7499
|
+
truncated: boolean;
|
|
7500
|
+
package: string;
|
|
7501
|
+
} | {
|
|
7502
|
+
type: "screenshot";
|
|
7503
|
+
mediaType: string;
|
|
7504
|
+
data: string;
|
|
7505
|
+
width: number;
|
|
7506
|
+
height: number;
|
|
7507
|
+
bytes: number;
|
|
7508
|
+
} | {
|
|
7509
|
+
type: "ok";
|
|
7510
|
+
ms?: number;
|
|
7511
|
+
} | {
|
|
7512
|
+
type: "wait";
|
|
7513
|
+
ms: number;
|
|
7514
|
+
}>;
|
|
7354
7515
|
commands: {
|
|
7355
7516
|
run: (options: import("./core/transport.js").CallOptions<Types.RunSandboxCommandData>) => Promise<{
|
|
7356
7517
|
stdout: string;
|
|
@@ -7879,6 +8040,7 @@ export declare const resourceFactories: {
|
|
|
7879
8040
|
agent: typeof createAgent;
|
|
7880
8041
|
application: typeof createApplication;
|
|
7881
8042
|
automation: typeof createAutomation;
|
|
8043
|
+
billing: typeof createBilling;
|
|
7882
8044
|
browser: typeof createBrowser;
|
|
7883
8045
|
canvas: typeof createCanvas;
|
|
7884
8046
|
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),
|
|
@@ -64,6 +68,7 @@ export function createAgent(transport) {
|
|
|
64
68
|
},
|
|
65
69
|
list: bind(transport, sdk.computersFilesList),
|
|
66
70
|
retrieveContent: bind(transport, sdk.computersFilesContent),
|
|
71
|
+
retrievePreview: bind(transport, sdk.previewComputerFile),
|
|
67
72
|
},
|
|
68
73
|
leases: {
|
|
69
74
|
delete: bind(transport, sdk.releaseComputerLease),
|
|
@@ -372,6 +377,13 @@ export function createAutomation(transport) {
|
|
|
372
377
|
},
|
|
373
378
|
};
|
|
374
379
|
}
|
|
380
|
+
export function createBilling(transport) {
|
|
381
|
+
return {
|
|
382
|
+
prices: {
|
|
383
|
+
list: bind(transport, sdk.listPublicPrices),
|
|
384
|
+
},
|
|
385
|
+
};
|
|
386
|
+
}
|
|
375
387
|
export function createBrowser(transport) {
|
|
376
388
|
return {
|
|
377
389
|
connect: {
|
|
@@ -687,6 +699,13 @@ export function createDevops(transport) {
|
|
|
687
699
|
create: bind(transport, sdk.devopsChangesCreate),
|
|
688
700
|
list: bind(transport, sdk.devopsChangesList),
|
|
689
701
|
},
|
|
702
|
+
cleanups: {
|
|
703
|
+
list: bind(transport, sdk.devopsCleanupsList),
|
|
704
|
+
},
|
|
705
|
+
create: bind(transport, sdk.devopsProjectsCreate),
|
|
706
|
+
defaultBranch: {
|
|
707
|
+
initialize: bind(transport, sdk.devopsProjectsInitializeDefaultBranch),
|
|
708
|
+
},
|
|
690
709
|
environments: {
|
|
691
710
|
list: bind(transport, sdk.devopsEnvironmentsList),
|
|
692
711
|
targets: {
|
|
@@ -768,10 +787,14 @@ export function createDevops(transport) {
|
|
|
768
787
|
},
|
|
769
788
|
},
|
|
770
789
|
pullRequests: {
|
|
790
|
+
close: bind(transport, sdk.devopsPullRequestsClose),
|
|
771
791
|
merge: bind(transport, sdk.devopsPullRequestsMerge),
|
|
772
792
|
recordVerdict: bind(transport, sdk.devopsPullRequestsRecordVerdict),
|
|
773
793
|
rerunGate: bind(transport, sdk.devopsPullRequestsRerunGate),
|
|
774
794
|
retrieve: bind(transport, sdk.devopsPullRequestsGet),
|
|
795
|
+
reviews: {
|
|
796
|
+
create: bind(transport, sdk.devopsPullRequestsReviewsCreate),
|
|
797
|
+
},
|
|
775
798
|
},
|
|
776
799
|
releases: {
|
|
777
800
|
abandon: bind(transport, sdk.devopsReleasesAbandon),
|
|
@@ -1174,6 +1197,9 @@ export function createOrganization(transport) {
|
|
|
1174
1197
|
update: bind(transport, sdk.reorganizeOrganizationDepartment),
|
|
1175
1198
|
updateCharter: bind(transport, sdk.amendOrganizationDepartmentCharter),
|
|
1176
1199
|
},
|
|
1200
|
+
effectiveSpec: {
|
|
1201
|
+
retrieve: bind(transport, sdk.getOrganizationEffectiveSpec),
|
|
1202
|
+
},
|
|
1177
1203
|
events: {
|
|
1178
1204
|
list: bind(transport, sdk.listOrganizationEvents),
|
|
1179
1205
|
retrieve: bind(transport, sdk.getOrganizationEvent),
|
|
@@ -1260,6 +1286,26 @@ export function createOrganization(transport) {
|
|
|
1260
1286
|
updateLevel: bind(transport, sdk.regradeOrganizationPosition),
|
|
1261
1287
|
updateManager: bind(transport, sdk.reassignOrganizationPositionManager),
|
|
1262
1288
|
},
|
|
1289
|
+
reconcile: {
|
|
1290
|
+
pause: bind(transport, sdk.pauseOrganizationReconcile),
|
|
1291
|
+
resume: bind(transport, sdk.resumeOrganizationReconcile),
|
|
1292
|
+
retrievePlan: bind(transport, sdk.planOrganizationReconcile),
|
|
1293
|
+
run: {
|
|
1294
|
+
create: bind(transport, sdk.runOrganizationReconcile),
|
|
1295
|
+
},
|
|
1296
|
+
status: {
|
|
1297
|
+
list: bind(transport, sdk.getOrganizationReconcileStatus),
|
|
1298
|
+
},
|
|
1299
|
+
},
|
|
1300
|
+
specs: {
|
|
1301
|
+
list: bind(transport, sdk.listOrganizationSpecs),
|
|
1302
|
+
retrieve: bind(transport, sdk.getOrganizationSpec),
|
|
1303
|
+
retrieveDiff: bind(transport, sdk.diffOrganizationSpec),
|
|
1304
|
+
revisions: {
|
|
1305
|
+
list: bind(transport, sdk.listOrganizationSpecRevisions),
|
|
1306
|
+
},
|
|
1307
|
+
update: bind(transport, sdk.reviseOrganizationSpec),
|
|
1308
|
+
},
|
|
1263
1309
|
usage: {
|
|
1264
1310
|
list: bind(transport, sdk.listOrganizationUsage),
|
|
1265
1311
|
},
|
|
@@ -1279,11 +1325,20 @@ export function createRegistry(transport) {
|
|
|
1279
1325
|
files: {
|
|
1280
1326
|
retrieve: bind(transport, sdk.registryGitFilesRetrieve),
|
|
1281
1327
|
},
|
|
1328
|
+
refs: {
|
|
1329
|
+
list: bind(transport, sdk.registryGitRefs),
|
|
1330
|
+
},
|
|
1331
|
+
retrieveCompare: bind(transport, sdk.registryGitCompare),
|
|
1282
1332
|
retrieveLog: bind(transport, sdk.registryGitLog),
|
|
1333
|
+
retrieveResolve: bind(transport, sdk.registryGitResolve),
|
|
1283
1334
|
trees: {
|
|
1284
1335
|
retrieve: bind(transport, sdk.registryGitTreesRetrieve),
|
|
1336
|
+
retrieveRecursive: bind(transport, sdk.registryGitTreesRecursive),
|
|
1285
1337
|
},
|
|
1286
1338
|
},
|
|
1339
|
+
gitCredential: {
|
|
1340
|
+
create: bind(transport, sdk.registryPackagesGitCredentialCreate),
|
|
1341
|
+
},
|
|
1287
1342
|
installations: {
|
|
1288
1343
|
create: bind(transport, sdk.registryPackagesInstallationsCreate),
|
|
1289
1344
|
list: bind(transport, sdk.registryPackagesInstallationsList),
|
|
@@ -1317,12 +1372,30 @@ export function createRegistry(transport) {
|
|
|
1317
1372
|
}
|
|
1318
1373
|
export function createSandbox(transport) {
|
|
1319
1374
|
return {
|
|
1375
|
+
byod: {
|
|
1376
|
+
devices: {
|
|
1377
|
+
disconnect: {
|
|
1378
|
+
create: bind(transport, sdk.disconnectByodDevice),
|
|
1379
|
+
},
|
|
1380
|
+
list: bind(transport, sdk.listByodDevices),
|
|
1381
|
+
retrieve: bind(transport, sdk.getByodDevice),
|
|
1382
|
+
update: bind(transport, sdk.updateByodDevice),
|
|
1383
|
+
},
|
|
1384
|
+
pairings: {
|
|
1385
|
+
claim: {
|
|
1386
|
+
create: bind(transport, sdk.claimByodPairing),
|
|
1387
|
+
},
|
|
1388
|
+
create: bind(transport, sdk.createByodPairing),
|
|
1389
|
+
retrieve: bind(transport, sdk.getByodPairing),
|
|
1390
|
+
},
|
|
1391
|
+
},
|
|
1320
1392
|
events: {
|
|
1321
1393
|
sandboxes: {
|
|
1322
1394
|
retrieve: bind(transport, sdk.getSandboxEvents),
|
|
1323
1395
|
},
|
|
1324
1396
|
},
|
|
1325
1397
|
sandboxes: {
|
|
1398
|
+
act: bind(transport, sdk.actOnSandboxDisplay),
|
|
1326
1399
|
commands: {
|
|
1327
1400
|
run: bind(transport, sdk.runSandboxCommand),
|
|
1328
1401
|
},
|
|
@@ -1678,6 +1751,7 @@ export const resourceFactories = {
|
|
|
1678
1751
|
agent: createAgent,
|
|
1679
1752
|
application: createApplication,
|
|
1680
1753
|
automation: createAutomation,
|
|
1754
|
+
billing: createBilling,
|
|
1681
1755
|
browser: createBrowser,
|
|
1682
1756
|
canvas: createCanvas,
|
|
1683
1757
|
content: createContent,
|