@deepraxis/sdk 0.1.1-dev.cdb6bda → 0.1.1-dev.cfb65a9
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 +116 -1
- package/dist/generated/index.d.ts +2 -2
- package/dist/generated/index.js +1 -1
- package/dist/generated/sdk.gen.d.ts +205 -23
- package/dist/generated/sdk.gen.js +566 -24
- package/dist/generated/types.gen.d.ts +3042 -388
- package/dist/helpers/browser-connect.d.ts +2 -0
- package/dist/helpers/browser-connect.js +31 -9
- 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 +1037 -42
- package/dist/resources.generated.d.ts +207 -61
- package/dist/resources.generated.js +69 -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;
|
|
@@ -3234,6 +3232,11 @@ export declare function createAgent(transport: Transport): {
|
|
|
3234
3232
|
vault_ids: Array<string>;
|
|
3235
3233
|
deployment_id?: null | string;
|
|
3236
3234
|
cwd: string;
|
|
3235
|
+
workspace?: {
|
|
3236
|
+
kind: "shared" | "isolated";
|
|
3237
|
+
path?: string;
|
|
3238
|
+
branch?: string;
|
|
3239
|
+
};
|
|
3237
3240
|
computer_id?: string;
|
|
3238
3241
|
model?: {
|
|
3239
3242
|
id: string;
|
|
@@ -3294,6 +3297,11 @@ export declare function createAgent(transport: Transport): {
|
|
|
3294
3297
|
vault_ids: Array<string>;
|
|
3295
3298
|
deployment_id?: null | string;
|
|
3296
3299
|
cwd: string;
|
|
3300
|
+
workspace?: {
|
|
3301
|
+
kind: "shared" | "isolated";
|
|
3302
|
+
path?: string;
|
|
3303
|
+
branch?: string;
|
|
3304
|
+
};
|
|
3297
3305
|
computer_id?: string;
|
|
3298
3306
|
model?: {
|
|
3299
3307
|
id: string;
|
|
@@ -3456,6 +3464,11 @@ export declare function createAgent(transport: Transport): {
|
|
|
3456
3464
|
vault_ids: Array<string>;
|
|
3457
3465
|
deployment_id?: null | string;
|
|
3458
3466
|
cwd: string;
|
|
3467
|
+
workspace?: {
|
|
3468
|
+
kind: "shared" | "isolated";
|
|
3469
|
+
path?: string;
|
|
3470
|
+
branch?: string;
|
|
3471
|
+
};
|
|
3459
3472
|
computer_id?: string;
|
|
3460
3473
|
model?: {
|
|
3461
3474
|
id: string;
|
|
@@ -3677,21 +3690,6 @@ export declare function createAgent(transport: Transport): {
|
|
|
3677
3690
|
type: "user.steer";
|
|
3678
3691
|
event_id: string;
|
|
3679
3692
|
processed_at: string;
|
|
3680
|
-
} | {
|
|
3681
|
-
id: string;
|
|
3682
|
-
type: "user.tool_confirmation";
|
|
3683
|
-
processed_at: string;
|
|
3684
|
-
tool_use_id: string;
|
|
3685
|
-
result: "allow";
|
|
3686
|
-
answers: {
|
|
3687
|
-
[key: string]: string;
|
|
3688
|
-
};
|
|
3689
|
-
annotations?: {
|
|
3690
|
-
[key: string]: {
|
|
3691
|
-
preview?: string;
|
|
3692
|
-
notes?: string;
|
|
3693
|
-
};
|
|
3694
|
-
};
|
|
3695
3693
|
}>;
|
|
3696
3694
|
next_page: string | null;
|
|
3697
3695
|
}>;
|
|
@@ -3712,21 +3710,6 @@ export declare function createAgent(transport: Transport): {
|
|
|
3712
3710
|
type: "user.steer";
|
|
3713
3711
|
event_id: string;
|
|
3714
3712
|
processed_at: string;
|
|
3715
|
-
} | {
|
|
3716
|
-
id: string;
|
|
3717
|
-
type: "user.tool_confirmation";
|
|
3718
|
-
processed_at: string;
|
|
3719
|
-
tool_use_id: string;
|
|
3720
|
-
result: "allow";
|
|
3721
|
-
answers: {
|
|
3722
|
-
[key: string]: string;
|
|
3723
|
-
};
|
|
3724
|
-
annotations?: {
|
|
3725
|
-
[key: string]: {
|
|
3726
|
-
preview?: string;
|
|
3727
|
-
notes?: string;
|
|
3728
|
-
};
|
|
3729
|
-
};
|
|
3730
3713
|
}>;
|
|
3731
3714
|
}>;
|
|
3732
3715
|
stream: (options: import("./core/transport.js").StreamOptions<Types.SessionsEventsStreamData>) => AsyncIterable<Types.AgentSseEvent>;
|
|
@@ -4242,6 +4225,11 @@ export declare function createAgent(transport: Transport): {
|
|
|
4242
4225
|
vault_ids: Array<string>;
|
|
4243
4226
|
deployment_id?: null | string;
|
|
4244
4227
|
cwd: string;
|
|
4228
|
+
workspace?: {
|
|
4229
|
+
kind: "shared" | "isolated";
|
|
4230
|
+
path?: string;
|
|
4231
|
+
branch?: string;
|
|
4232
|
+
};
|
|
4245
4233
|
computer_id?: string;
|
|
4246
4234
|
model?: {
|
|
4247
4235
|
id: string;
|
|
@@ -4302,6 +4290,11 @@ export declare function createAgent(transport: Transport): {
|
|
|
4302
4290
|
vault_ids: Array<string>;
|
|
4303
4291
|
deployment_id?: null | string;
|
|
4304
4292
|
cwd: string;
|
|
4293
|
+
workspace?: {
|
|
4294
|
+
kind: "shared" | "isolated";
|
|
4295
|
+
path?: string;
|
|
4296
|
+
branch?: string;
|
|
4297
|
+
};
|
|
4305
4298
|
computer_id?: string;
|
|
4306
4299
|
model?: {
|
|
4307
4300
|
id: string;
|
|
@@ -4835,6 +4828,11 @@ export declare function createAgent(transport: Transport): {
|
|
|
4835
4828
|
vault_ids: Array<string>;
|
|
4836
4829
|
deployment_id?: null | string;
|
|
4837
4830
|
cwd: string;
|
|
4831
|
+
workspace?: {
|
|
4832
|
+
kind: "shared" | "isolated";
|
|
4833
|
+
path?: string;
|
|
4834
|
+
branch?: string;
|
|
4835
|
+
};
|
|
4838
4836
|
computer_id?: string;
|
|
4839
4837
|
model?: {
|
|
4840
4838
|
id: string;
|
|
@@ -4926,6 +4924,11 @@ export declare function createAgent(transport: Transport): {
|
|
|
4926
4924
|
vault_ids: Array<string>;
|
|
4927
4925
|
deployment_id?: null | string;
|
|
4928
4926
|
cwd: string;
|
|
4927
|
+
workspace?: {
|
|
4928
|
+
kind: "shared" | "isolated";
|
|
4929
|
+
path?: string;
|
|
4930
|
+
branch?: string;
|
|
4931
|
+
};
|
|
4929
4932
|
computer_id?: string;
|
|
4930
4933
|
model?: {
|
|
4931
4934
|
id: string;
|
|
@@ -5292,6 +5295,11 @@ export declare function createAgent(transport: Transport): {
|
|
|
5292
5295
|
vault_ids: Array<string>;
|
|
5293
5296
|
deployment_id?: null | string;
|
|
5294
5297
|
cwd: string;
|
|
5298
|
+
workspace?: {
|
|
5299
|
+
kind: "shared" | "isolated";
|
|
5300
|
+
path?: string;
|
|
5301
|
+
branch?: string;
|
|
5302
|
+
};
|
|
5295
5303
|
computer_id?: string;
|
|
5296
5304
|
model?: {
|
|
5297
5305
|
id: string;
|
|
@@ -5643,6 +5651,11 @@ export declare function createAutomation(transport: Transport): {
|
|
|
5643
5651
|
};
|
|
5644
5652
|
};
|
|
5645
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
|
+
};
|
|
5646
5659
|
export declare function createBrowser(transport: Transport): {
|
|
5647
5660
|
connect: {
|
|
5648
5661
|
retrieve: (options?: import("./core/transport.js").CallOptions<Types.BrowserConnectData> | undefined) => Promise<unknown>;
|
|
@@ -6008,6 +6021,10 @@ export declare function createDevops(transport: Transport): {
|
|
|
6008
6021
|
create: (options: import("./core/transport.js").CallOptions<Types.DevopsChangesCreateData>) => Promise<Types.DevopsChange>;
|
|
6009
6022
|
list: (options: import("./core/transport.js").CallOptions<Types.DevopsChangesListData>) => Promise<Types.DevopsChangePage>;
|
|
6010
6023
|
};
|
|
6024
|
+
create: (options: import("./core/transport.js").CallOptions<Types.DevopsProjectsCreateData>) => Promise<Types.DevopsProject>;
|
|
6025
|
+
defaultBranch: {
|
|
6026
|
+
initialize: (options: import("./core/transport.js").CallOptions<Types.DevopsProjectsInitializeDefaultBranchData>) => Promise<Types.DevopsDefaultBranchInitialized>;
|
|
6027
|
+
};
|
|
6011
6028
|
environments: {
|
|
6012
6029
|
list: (options: import("./core/transport.js").CallOptions<Types.DevopsEnvironmentsListData>) => Promise<Types.DevopsEnvironmentList>;
|
|
6013
6030
|
targets: {
|
|
@@ -6094,6 +6111,9 @@ export declare function createDevops(transport: Transport): {
|
|
|
6094
6111
|
recordVerdict: (options: import("./core/transport.js").CallOptions<Types.DevopsPullRequestsRecordVerdictData>) => Promise<Types.DevopsPullRequest>;
|
|
6095
6112
|
rerunGate: (options: import("./core/transport.js").CallOptions<Types.DevopsPullRequestsRerunGateData>) => Promise<Types.DevopsPullRequest>;
|
|
6096
6113
|
retrieve: (options: import("./core/transport.js").CallOptions<Types.DevopsPullRequestsGetData>) => Promise<Types.DevopsPullRequest>;
|
|
6114
|
+
reviews: {
|
|
6115
|
+
create: (options: import("./core/transport.js").CallOptions<Types.DevopsPullRequestsReviewsCreateData>) => Promise<Types.DevopsPullRequest>;
|
|
6116
|
+
};
|
|
6097
6117
|
};
|
|
6098
6118
|
releases: {
|
|
6099
6119
|
abandon: (options: import("./core/transport.js").CallOptions<Types.DevopsReleasesAbandonData>) => Promise<Types.DevopsRelease>;
|
|
@@ -7004,6 +7024,9 @@ export declare function createOrganization(transport: Transport): {
|
|
|
7004
7024
|
update: (options: import("./core/transport.js").CallOptions<Types.ReorganizeOrganizationDepartmentData>) => Promise<Types.OrganizationDepartment>;
|
|
7005
7025
|
updateCharter: (options: import("./core/transport.js").CallOptions<Types.AmendOrganizationDepartmentCharterData>) => Promise<Types.OrganizationDepartment>;
|
|
7006
7026
|
};
|
|
7027
|
+
effectiveSpec: {
|
|
7028
|
+
retrieve: (options?: import("./core/transport.js").CallOptions<Types.GetOrganizationEffectiveSpecData> | undefined) => Promise<Types.OrganizationEffectiveSpec>;
|
|
7029
|
+
};
|
|
7007
7030
|
events: {
|
|
7008
7031
|
list: (options: import("./core/transport.js").CallOptions<Types.ListOrganizationEventsData>) => Promise<{
|
|
7009
7032
|
object: "page";
|
|
@@ -7286,6 +7309,26 @@ export declare function createOrganization(transport: Transport): {
|
|
|
7286
7309
|
updateLevel: (options: import("./core/transport.js").CallOptions<Types.RegradeOrganizationPositionData>) => Promise<Types.OrganizationPosition>;
|
|
7287
7310
|
updateManager: (options: import("./core/transport.js").CallOptions<Types.ReassignOrganizationPositionManagerData>) => Promise<Types.OrganizationPosition>;
|
|
7288
7311
|
};
|
|
7312
|
+
reconcile: {
|
|
7313
|
+
pause: (options: import("./core/transport.js").CallOptions<Types.PauseOrganizationReconcileData>) => Promise<Types.OrganizationReconcileStatus>;
|
|
7314
|
+
resume: (options: import("./core/transport.js").CallOptions<Types.ResumeOrganizationReconcileData>) => Promise<Types.OrganizationReconcileStatus>;
|
|
7315
|
+
retrievePlan: (options: import("./core/transport.js").CallOptions<Types.PlanOrganizationReconcileData>) => Promise<Types.OrganizationReconcilePlan>;
|
|
7316
|
+
run: {
|
|
7317
|
+
create: (options: import("./core/transport.js").CallOptions<Types.RunOrganizationReconcileData>) => Promise<Types.OrganizationReconcileStatus>;
|
|
7318
|
+
};
|
|
7319
|
+
status: {
|
|
7320
|
+
list: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationReconcileStatusData>) => Promise<Types.OrganizationReconcileStatus>;
|
|
7321
|
+
};
|
|
7322
|
+
};
|
|
7323
|
+
specs: {
|
|
7324
|
+
list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationSpecsData> | undefined) => Promise<Types.OrganizationSpecList>;
|
|
7325
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationSpecData>) => Promise<Types.OrganizationSpec>;
|
|
7326
|
+
retrieveDiff: (options: import("./core/transport.js").CallOptions<Types.DiffOrganizationSpecData>) => Promise<Types.OrganizationSpecDiff>;
|
|
7327
|
+
revisions: {
|
|
7328
|
+
list: (options: import("./core/transport.js").CallOptions<Types.ListOrganizationSpecRevisionsData>) => Promise<Types.OrganizationSpecRevisionList>;
|
|
7329
|
+
};
|
|
7330
|
+
update: (options: import("./core/transport.js").CallOptions<Types.ReviseOrganizationSpecData>) => Promise<Types.OrganizationSpec>;
|
|
7331
|
+
};
|
|
7289
7332
|
usage: {
|
|
7290
7333
|
list: (options: import("./core/transport.js").CallOptions<Types.ListOrganizationUsageData>) => Promise<{
|
|
7291
7334
|
object: "page";
|
|
@@ -7317,16 +7360,25 @@ export declare function createRegistry(transport: Transport): {
|
|
|
7317
7360
|
packages: {
|
|
7318
7361
|
git: {
|
|
7319
7362
|
commits: {
|
|
7320
|
-
retrieve: (options: import("./core/transport.js").CallOptions<Types.RegistryGitCommitsRetrieveData>) => Promise<Types.
|
|
7363
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.RegistryGitCommitsRetrieveData>) => Promise<Types.RegistryGitCommitDetail>;
|
|
7321
7364
|
};
|
|
7322
7365
|
files: {
|
|
7323
7366
|
retrieve: (options: import("./core/transport.js").CallOptions<Types.RegistryGitFilesRetrieveData>) => Promise<Blob | File>;
|
|
7324
7367
|
};
|
|
7368
|
+
refs: {
|
|
7369
|
+
list: (options: import("./core/transport.js").CallOptions<Types.RegistryGitRefsData>) => Promise<Types.RegistryGitRefs>;
|
|
7370
|
+
};
|
|
7371
|
+
retrieveCompare: (options: import("./core/transport.js").CallOptions<Types.RegistryGitCompareData>) => Promise<Types.RegistryGitComparison>;
|
|
7325
7372
|
retrieveLog: (options: import("./core/transport.js").CallOptions<Types.RegistryGitLogData>) => Promise<Types.RegistryGitLog>;
|
|
7373
|
+
retrieveResolve: (options: import("./core/transport.js").CallOptions<Types.RegistryGitResolveData>) => Promise<Types.RegistryGitResolvedRef>;
|
|
7326
7374
|
trees: {
|
|
7327
7375
|
retrieve: (options: import("./core/transport.js").CallOptions<Types.RegistryGitTreesRetrieveData>) => Promise<Types.RegistryGitTree>;
|
|
7376
|
+
retrieveRecursive: (options: import("./core/transport.js").CallOptions<Types.RegistryGitTreesRecursiveData>) => Promise<Types.RegistryGitTreeRecursive>;
|
|
7328
7377
|
};
|
|
7329
7378
|
};
|
|
7379
|
+
gitCredential: {
|
|
7380
|
+
create: (options: import("./core/transport.js").CallOptions<Types.RegistryPackagesGitCredentialCreateData>) => Promise<Types.RegistryGitCredential>;
|
|
7381
|
+
};
|
|
7330
7382
|
installations: {
|
|
7331
7383
|
create: (options: import("./core/transport.js").CallOptions<Types.RegistryPackagesInstallationsCreateData>) => Promise<Types.RegistryInstallResult>;
|
|
7332
7384
|
list: (options: import("./core/transport.js").CallOptions<Types.RegistryPackagesInstallationsListData>) => Promise<Types.RegistryInstallationList>;
|
|
@@ -7358,12 +7410,105 @@ export declare function createRegistry(transport: Transport): {
|
|
|
7358
7410
|
};
|
|
7359
7411
|
};
|
|
7360
7412
|
export declare function createSandbox(transport: Transport): {
|
|
7413
|
+
byod: {
|
|
7414
|
+
devices: {
|
|
7415
|
+
disconnect: {
|
|
7416
|
+
create: (options: import("./core/transport.js").CallOptions<Types.DisconnectByodDeviceData>) => Promise<{
|
|
7417
|
+
id: string;
|
|
7418
|
+
object: "byod_device";
|
|
7419
|
+
disconnected: true;
|
|
7420
|
+
}>;
|
|
7421
|
+
};
|
|
7422
|
+
list: (options?: import("./core/transport.js").CallOptions<Types.ListByodDevicesData> | undefined) => Promise<{
|
|
7423
|
+
data: Array<{
|
|
7424
|
+
object: "byod_device";
|
|
7425
|
+
id: string;
|
|
7426
|
+
platform: "android" | "macos" | "linux";
|
|
7427
|
+
name: string;
|
|
7428
|
+
model: string;
|
|
7429
|
+
os_version: string;
|
|
7430
|
+
online: boolean;
|
|
7431
|
+
last_seen_at: string | null;
|
|
7432
|
+
created_at: string;
|
|
7433
|
+
capabilities: Array<"display" | "agent">;
|
|
7434
|
+
agent_dirs: Array<string>;
|
|
7435
|
+
allow_bypass: boolean;
|
|
7436
|
+
}>;
|
|
7437
|
+
}>;
|
|
7438
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.GetByodDeviceData>) => Promise<{
|
|
7439
|
+
object: "byod_device";
|
|
7440
|
+
id: string;
|
|
7441
|
+
platform: "android" | "macos" | "linux";
|
|
7442
|
+
name: string;
|
|
7443
|
+
model: string;
|
|
7444
|
+
os_version: string;
|
|
7445
|
+
online: boolean;
|
|
7446
|
+
last_seen_at: string | null;
|
|
7447
|
+
created_at: string;
|
|
7448
|
+
capabilities: Array<"display" | "agent">;
|
|
7449
|
+
agent_dirs: Array<string>;
|
|
7450
|
+
allow_bypass: boolean;
|
|
7451
|
+
}>;
|
|
7452
|
+
update: (options: import("./core/transport.js").CallOptions<Types.UpdateByodDeviceData>) => Promise<{
|
|
7453
|
+
object: "byod_device";
|
|
7454
|
+
id: string;
|
|
7455
|
+
platform: "android" | "macos" | "linux";
|
|
7456
|
+
name: string;
|
|
7457
|
+
model: string;
|
|
7458
|
+
os_version: string;
|
|
7459
|
+
online: boolean;
|
|
7460
|
+
last_seen_at: string | null;
|
|
7461
|
+
created_at: string;
|
|
7462
|
+
capabilities: Array<"display" | "agent">;
|
|
7463
|
+
agent_dirs: Array<string>;
|
|
7464
|
+
allow_bypass: boolean;
|
|
7465
|
+
}>;
|
|
7466
|
+
};
|
|
7467
|
+
pairings: {
|
|
7468
|
+
claim: {
|
|
7469
|
+
create: (options: import("./core/transport.js").CallOptions<Types.ClaimByodPairingData>) => Promise<{
|
|
7470
|
+
device_id: string;
|
|
7471
|
+
credential: string;
|
|
7472
|
+
socket_url: string;
|
|
7473
|
+
}>;
|
|
7474
|
+
};
|
|
7475
|
+
create: (options?: import("./core/transport.js").CallOptions<Types.CreateByodPairingData> | undefined) => Promise<{
|
|
7476
|
+
code: string;
|
|
7477
|
+
expires_at: string;
|
|
7478
|
+
qr: string;
|
|
7479
|
+
}>;
|
|
7480
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.GetByodPairingData>) => Promise<{
|
|
7481
|
+
organization_name: string;
|
|
7482
|
+
expires_at: string;
|
|
7483
|
+
}>;
|
|
7484
|
+
};
|
|
7485
|
+
};
|
|
7361
7486
|
events: {
|
|
7362
7487
|
sandboxes: {
|
|
7363
7488
|
retrieve: (options: import("./core/transport.js").CallOptions<Types.GetSandboxEventsData>) => Promise<Types.SandboxSandboxEvent[]>;
|
|
7364
7489
|
};
|
|
7365
7490
|
};
|
|
7366
7491
|
sandboxes: {
|
|
7492
|
+
act: (options: import("./core/transport.js").CallOptions<Types.ActOnSandboxDisplayData>) => Promise<{
|
|
7493
|
+
type: "snapshot";
|
|
7494
|
+
snapshot: string;
|
|
7495
|
+
refs: number;
|
|
7496
|
+
truncated: boolean;
|
|
7497
|
+
package: string;
|
|
7498
|
+
} | {
|
|
7499
|
+
type: "screenshot";
|
|
7500
|
+
mediaType: string;
|
|
7501
|
+
data: string;
|
|
7502
|
+
width: number;
|
|
7503
|
+
height: number;
|
|
7504
|
+
bytes: number;
|
|
7505
|
+
} | {
|
|
7506
|
+
type: "ok";
|
|
7507
|
+
ms?: number;
|
|
7508
|
+
} | {
|
|
7509
|
+
type: "wait";
|
|
7510
|
+
ms: number;
|
|
7511
|
+
}>;
|
|
7367
7512
|
commands: {
|
|
7368
7513
|
run: (options: import("./core/transport.js").CallOptions<Types.RunSandboxCommandData>) => Promise<{
|
|
7369
7514
|
stdout: string;
|
|
@@ -7892,6 +8037,7 @@ export declare const resourceFactories: {
|
|
|
7892
8037
|
agent: typeof createAgent;
|
|
7893
8038
|
application: typeof createApplication;
|
|
7894
8039
|
automation: typeof createAutomation;
|
|
8040
|
+
billing: typeof createBilling;
|
|
7895
8041
|
browser: typeof createBrowser;
|
|
7896
8042
|
canvas: typeof createCanvas;
|
|
7897
8043
|
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),
|
|
@@ -373,6 +377,13 @@ export function createAutomation(transport) {
|
|
|
373
377
|
},
|
|
374
378
|
};
|
|
375
379
|
}
|
|
380
|
+
export function createBilling(transport) {
|
|
381
|
+
return {
|
|
382
|
+
prices: {
|
|
383
|
+
list: bind(transport, sdk.listPublicPrices),
|
|
384
|
+
},
|
|
385
|
+
};
|
|
386
|
+
}
|
|
376
387
|
export function createBrowser(transport) {
|
|
377
388
|
return {
|
|
378
389
|
connect: {
|
|
@@ -688,6 +699,10 @@ export function createDevops(transport) {
|
|
|
688
699
|
create: bind(transport, sdk.devopsChangesCreate),
|
|
689
700
|
list: bind(transport, sdk.devopsChangesList),
|
|
690
701
|
},
|
|
702
|
+
create: bind(transport, sdk.devopsProjectsCreate),
|
|
703
|
+
defaultBranch: {
|
|
704
|
+
initialize: bind(transport, sdk.devopsProjectsInitializeDefaultBranch),
|
|
705
|
+
},
|
|
691
706
|
environments: {
|
|
692
707
|
list: bind(transport, sdk.devopsEnvironmentsList),
|
|
693
708
|
targets: {
|
|
@@ -774,6 +789,9 @@ export function createDevops(transport) {
|
|
|
774
789
|
recordVerdict: bind(transport, sdk.devopsPullRequestsRecordVerdict),
|
|
775
790
|
rerunGate: bind(transport, sdk.devopsPullRequestsRerunGate),
|
|
776
791
|
retrieve: bind(transport, sdk.devopsPullRequestsGet),
|
|
792
|
+
reviews: {
|
|
793
|
+
create: bind(transport, sdk.devopsPullRequestsReviewsCreate),
|
|
794
|
+
},
|
|
777
795
|
},
|
|
778
796
|
releases: {
|
|
779
797
|
abandon: bind(transport, sdk.devopsReleasesAbandon),
|
|
@@ -1176,6 +1194,9 @@ export function createOrganization(transport) {
|
|
|
1176
1194
|
update: bind(transport, sdk.reorganizeOrganizationDepartment),
|
|
1177
1195
|
updateCharter: bind(transport, sdk.amendOrganizationDepartmentCharter),
|
|
1178
1196
|
},
|
|
1197
|
+
effectiveSpec: {
|
|
1198
|
+
retrieve: bind(transport, sdk.getOrganizationEffectiveSpec),
|
|
1199
|
+
},
|
|
1179
1200
|
events: {
|
|
1180
1201
|
list: bind(transport, sdk.listOrganizationEvents),
|
|
1181
1202
|
retrieve: bind(transport, sdk.getOrganizationEvent),
|
|
@@ -1262,6 +1283,26 @@ export function createOrganization(transport) {
|
|
|
1262
1283
|
updateLevel: bind(transport, sdk.regradeOrganizationPosition),
|
|
1263
1284
|
updateManager: bind(transport, sdk.reassignOrganizationPositionManager),
|
|
1264
1285
|
},
|
|
1286
|
+
reconcile: {
|
|
1287
|
+
pause: bind(transport, sdk.pauseOrganizationReconcile),
|
|
1288
|
+
resume: bind(transport, sdk.resumeOrganizationReconcile),
|
|
1289
|
+
retrievePlan: bind(transport, sdk.planOrganizationReconcile),
|
|
1290
|
+
run: {
|
|
1291
|
+
create: bind(transport, sdk.runOrganizationReconcile),
|
|
1292
|
+
},
|
|
1293
|
+
status: {
|
|
1294
|
+
list: bind(transport, sdk.getOrganizationReconcileStatus),
|
|
1295
|
+
},
|
|
1296
|
+
},
|
|
1297
|
+
specs: {
|
|
1298
|
+
list: bind(transport, sdk.listOrganizationSpecs),
|
|
1299
|
+
retrieve: bind(transport, sdk.getOrganizationSpec),
|
|
1300
|
+
retrieveDiff: bind(transport, sdk.diffOrganizationSpec),
|
|
1301
|
+
revisions: {
|
|
1302
|
+
list: bind(transport, sdk.listOrganizationSpecRevisions),
|
|
1303
|
+
},
|
|
1304
|
+
update: bind(transport, sdk.reviseOrganizationSpec),
|
|
1305
|
+
},
|
|
1265
1306
|
usage: {
|
|
1266
1307
|
list: bind(transport, sdk.listOrganizationUsage),
|
|
1267
1308
|
},
|
|
@@ -1281,11 +1322,20 @@ export function createRegistry(transport) {
|
|
|
1281
1322
|
files: {
|
|
1282
1323
|
retrieve: bind(transport, sdk.registryGitFilesRetrieve),
|
|
1283
1324
|
},
|
|
1325
|
+
refs: {
|
|
1326
|
+
list: bind(transport, sdk.registryGitRefs),
|
|
1327
|
+
},
|
|
1328
|
+
retrieveCompare: bind(transport, sdk.registryGitCompare),
|
|
1284
1329
|
retrieveLog: bind(transport, sdk.registryGitLog),
|
|
1330
|
+
retrieveResolve: bind(transport, sdk.registryGitResolve),
|
|
1285
1331
|
trees: {
|
|
1286
1332
|
retrieve: bind(transport, sdk.registryGitTreesRetrieve),
|
|
1333
|
+
retrieveRecursive: bind(transport, sdk.registryGitTreesRecursive),
|
|
1287
1334
|
},
|
|
1288
1335
|
},
|
|
1336
|
+
gitCredential: {
|
|
1337
|
+
create: bind(transport, sdk.registryPackagesGitCredentialCreate),
|
|
1338
|
+
},
|
|
1289
1339
|
installations: {
|
|
1290
1340
|
create: bind(transport, sdk.registryPackagesInstallationsCreate),
|
|
1291
1341
|
list: bind(transport, sdk.registryPackagesInstallationsList),
|
|
@@ -1319,12 +1369,30 @@ export function createRegistry(transport) {
|
|
|
1319
1369
|
}
|
|
1320
1370
|
export function createSandbox(transport) {
|
|
1321
1371
|
return {
|
|
1372
|
+
byod: {
|
|
1373
|
+
devices: {
|
|
1374
|
+
disconnect: {
|
|
1375
|
+
create: bind(transport, sdk.disconnectByodDevice),
|
|
1376
|
+
},
|
|
1377
|
+
list: bind(transport, sdk.listByodDevices),
|
|
1378
|
+
retrieve: bind(transport, sdk.getByodDevice),
|
|
1379
|
+
update: bind(transport, sdk.updateByodDevice),
|
|
1380
|
+
},
|
|
1381
|
+
pairings: {
|
|
1382
|
+
claim: {
|
|
1383
|
+
create: bind(transport, sdk.claimByodPairing),
|
|
1384
|
+
},
|
|
1385
|
+
create: bind(transport, sdk.createByodPairing),
|
|
1386
|
+
retrieve: bind(transport, sdk.getByodPairing),
|
|
1387
|
+
},
|
|
1388
|
+
},
|
|
1322
1389
|
events: {
|
|
1323
1390
|
sandboxes: {
|
|
1324
1391
|
retrieve: bind(transport, sdk.getSandboxEvents),
|
|
1325
1392
|
},
|
|
1326
1393
|
},
|
|
1327
1394
|
sandboxes: {
|
|
1395
|
+
act: bind(transport, sdk.actOnSandboxDisplay),
|
|
1328
1396
|
commands: {
|
|
1329
1397
|
run: bind(transport, sdk.runSandboxCommand),
|
|
1330
1398
|
},
|
|
@@ -1680,6 +1748,7 @@ export const resourceFactories = {
|
|
|
1680
1748
|
agent: createAgent,
|
|
1681
1749
|
application: createApplication,
|
|
1682
1750
|
automation: createAutomation,
|
|
1751
|
+
billing: createBilling,
|
|
1683
1752
|
browser: createBrowser,
|
|
1684
1753
|
canvas: createCanvas,
|
|
1685
1754
|
content: createContent,
|