@deepraxis/sdk 0.1.1-dev.c29cb4f → 0.1.1-dev.c3611ac
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 +130 -1
- package/README.md +5 -4
- 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 +248 -40
- package/dist/generated/sdk.gen.js +654 -41
- package/dist/generated/types.gen.d.ts +4071 -635
- 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.d.ts +1 -0
- package/dist/operations.generated.js +1394 -66
- package/dist/resources.generated.d.ts +222 -61
- package/dist/resources.generated.js +77 -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;
|
|
@@ -1156,6 +1154,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
1156
1154
|
enabled: boolean;
|
|
1157
1155
|
daily_session_cap: number | null;
|
|
1158
1156
|
daily_spend_cap_micro_usd: number | null;
|
|
1157
|
+
currency?: "USD" | "CNY" | null;
|
|
1159
1158
|
};
|
|
1160
1159
|
}>;
|
|
1161
1160
|
unarchive: {
|
|
@@ -1728,6 +1727,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
1728
1727
|
enabled: boolean;
|
|
1729
1728
|
daily_session_cap: number | null;
|
|
1730
1729
|
daily_spend_cap_micro_usd: number | null;
|
|
1730
|
+
currency?: "USD" | "CNY" | null;
|
|
1731
1731
|
};
|
|
1732
1732
|
}>;
|
|
1733
1733
|
versions: {
|
|
@@ -2376,6 +2376,12 @@ export declare function createAgent(transport: Transport): {
|
|
|
2376
2376
|
fallback?: "content";
|
|
2377
2377
|
skipped?: boolean;
|
|
2378
2378
|
}>;
|
|
2379
|
+
updateContent: (options: import("./core/transport.js").CallOptions<Types.UpdateComputerFileContentData>) => Promise<{
|
|
2380
|
+
path: string;
|
|
2381
|
+
size: number;
|
|
2382
|
+
mtime: string | null;
|
|
2383
|
+
version: string;
|
|
2384
|
+
}>;
|
|
2379
2385
|
};
|
|
2380
2386
|
leases: {
|
|
2381
2387
|
delete: (options: import("./core/transport.js").CallOptions<Types.ReleaseComputerLeaseData>) => Promise<{
|
|
@@ -3234,6 +3240,11 @@ export declare function createAgent(transport: Transport): {
|
|
|
3234
3240
|
vault_ids: Array<string>;
|
|
3235
3241
|
deployment_id?: null | string;
|
|
3236
3242
|
cwd: string;
|
|
3243
|
+
workspace?: {
|
|
3244
|
+
kind: "shared" | "isolated";
|
|
3245
|
+
path?: string;
|
|
3246
|
+
branch?: string;
|
|
3247
|
+
};
|
|
3237
3248
|
computer_id?: string;
|
|
3238
3249
|
model?: {
|
|
3239
3250
|
id: string;
|
|
@@ -3294,6 +3305,11 @@ export declare function createAgent(transport: Transport): {
|
|
|
3294
3305
|
vault_ids: Array<string>;
|
|
3295
3306
|
deployment_id?: null | string;
|
|
3296
3307
|
cwd: string;
|
|
3308
|
+
workspace?: {
|
|
3309
|
+
kind: "shared" | "isolated";
|
|
3310
|
+
path?: string;
|
|
3311
|
+
branch?: string;
|
|
3312
|
+
};
|
|
3297
3313
|
computer_id?: string;
|
|
3298
3314
|
model?: {
|
|
3299
3315
|
id: string;
|
|
@@ -3456,6 +3472,11 @@ export declare function createAgent(transport: Transport): {
|
|
|
3456
3472
|
vault_ids: Array<string>;
|
|
3457
3473
|
deployment_id?: null | string;
|
|
3458
3474
|
cwd: string;
|
|
3475
|
+
workspace?: {
|
|
3476
|
+
kind: "shared" | "isolated";
|
|
3477
|
+
path?: string;
|
|
3478
|
+
branch?: string;
|
|
3479
|
+
};
|
|
3459
3480
|
computer_id?: string;
|
|
3460
3481
|
model?: {
|
|
3461
3482
|
id: string;
|
|
@@ -3677,21 +3698,6 @@ export declare function createAgent(transport: Transport): {
|
|
|
3677
3698
|
type: "user.steer";
|
|
3678
3699
|
event_id: string;
|
|
3679
3700
|
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
3701
|
}>;
|
|
3696
3702
|
next_page: string | null;
|
|
3697
3703
|
}>;
|
|
@@ -3712,21 +3718,6 @@ export declare function createAgent(transport: Transport): {
|
|
|
3712
3718
|
type: "user.steer";
|
|
3713
3719
|
event_id: string;
|
|
3714
3720
|
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
3721
|
}>;
|
|
3731
3722
|
}>;
|
|
3732
3723
|
stream: (options: import("./core/transport.js").StreamOptions<Types.SessionsEventsStreamData>) => AsyncIterable<Types.AgentSseEvent>;
|
|
@@ -4242,6 +4233,11 @@ export declare function createAgent(transport: Transport): {
|
|
|
4242
4233
|
vault_ids: Array<string>;
|
|
4243
4234
|
deployment_id?: null | string;
|
|
4244
4235
|
cwd: string;
|
|
4236
|
+
workspace?: {
|
|
4237
|
+
kind: "shared" | "isolated";
|
|
4238
|
+
path?: string;
|
|
4239
|
+
branch?: string;
|
|
4240
|
+
};
|
|
4245
4241
|
computer_id?: string;
|
|
4246
4242
|
model?: {
|
|
4247
4243
|
id: string;
|
|
@@ -4302,6 +4298,11 @@ export declare function createAgent(transport: Transport): {
|
|
|
4302
4298
|
vault_ids: Array<string>;
|
|
4303
4299
|
deployment_id?: null | string;
|
|
4304
4300
|
cwd: string;
|
|
4301
|
+
workspace?: {
|
|
4302
|
+
kind: "shared" | "isolated";
|
|
4303
|
+
path?: string;
|
|
4304
|
+
branch?: string;
|
|
4305
|
+
};
|
|
4305
4306
|
computer_id?: string;
|
|
4306
4307
|
model?: {
|
|
4307
4308
|
id: string;
|
|
@@ -4835,6 +4836,11 @@ export declare function createAgent(transport: Transport): {
|
|
|
4835
4836
|
vault_ids: Array<string>;
|
|
4836
4837
|
deployment_id?: null | string;
|
|
4837
4838
|
cwd: string;
|
|
4839
|
+
workspace?: {
|
|
4840
|
+
kind: "shared" | "isolated";
|
|
4841
|
+
path?: string;
|
|
4842
|
+
branch?: string;
|
|
4843
|
+
};
|
|
4838
4844
|
computer_id?: string;
|
|
4839
4845
|
model?: {
|
|
4840
4846
|
id: string;
|
|
@@ -4926,6 +4932,11 @@ export declare function createAgent(transport: Transport): {
|
|
|
4926
4932
|
vault_ids: Array<string>;
|
|
4927
4933
|
deployment_id?: null | string;
|
|
4928
4934
|
cwd: string;
|
|
4935
|
+
workspace?: {
|
|
4936
|
+
kind: "shared" | "isolated";
|
|
4937
|
+
path?: string;
|
|
4938
|
+
branch?: string;
|
|
4939
|
+
};
|
|
4929
4940
|
computer_id?: string;
|
|
4930
4941
|
model?: {
|
|
4931
4942
|
id: string;
|
|
@@ -5292,6 +5303,11 @@ export declare function createAgent(transport: Transport): {
|
|
|
5292
5303
|
vault_ids: Array<string>;
|
|
5293
5304
|
deployment_id?: null | string;
|
|
5294
5305
|
cwd: string;
|
|
5306
|
+
workspace?: {
|
|
5307
|
+
kind: "shared" | "isolated";
|
|
5308
|
+
path?: string;
|
|
5309
|
+
branch?: string;
|
|
5310
|
+
};
|
|
5295
5311
|
computer_id?: string;
|
|
5296
5312
|
model?: {
|
|
5297
5313
|
id: string;
|
|
@@ -5643,6 +5659,11 @@ export declare function createAutomation(transport: Transport): {
|
|
|
5643
5659
|
};
|
|
5644
5660
|
};
|
|
5645
5661
|
};
|
|
5662
|
+
export declare function createBilling(transport: Transport): {
|
|
5663
|
+
prices: {
|
|
5664
|
+
list: (options?: import("./core/transport.js").CallOptions<Types.ListPublicPricesData> | undefined) => Promise<Types.BillingPriceList>;
|
|
5665
|
+
};
|
|
5666
|
+
};
|
|
5646
5667
|
export declare function createBrowser(transport: Transport): {
|
|
5647
5668
|
connect: {
|
|
5648
5669
|
retrieve: (options?: import("./core/transport.js").CallOptions<Types.BrowserConnectData> | undefined) => Promise<unknown>;
|
|
@@ -6008,6 +6029,13 @@ export declare function createDevops(transport: Transport): {
|
|
|
6008
6029
|
create: (options: import("./core/transport.js").CallOptions<Types.DevopsChangesCreateData>) => Promise<Types.DevopsChange>;
|
|
6009
6030
|
list: (options: import("./core/transport.js").CallOptions<Types.DevopsChangesListData>) => Promise<Types.DevopsChangePage>;
|
|
6010
6031
|
};
|
|
6032
|
+
cleanups: {
|
|
6033
|
+
list: (options: import("./core/transport.js").CallOptions<Types.DevopsCleanupsListData>) => Promise<Types.DevopsCleanupPage>;
|
|
6034
|
+
};
|
|
6035
|
+
create: (options: import("./core/transport.js").CallOptions<Types.DevopsProjectsCreateData>) => Promise<Types.DevopsProject>;
|
|
6036
|
+
defaultBranch: {
|
|
6037
|
+
initialize: (options: import("./core/transport.js").CallOptions<Types.DevopsProjectsInitializeDefaultBranchData>) => Promise<Types.DevopsDefaultBranchInitialized>;
|
|
6038
|
+
};
|
|
6011
6039
|
environments: {
|
|
6012
6040
|
list: (options: import("./core/transport.js").CallOptions<Types.DevopsEnvironmentsListData>) => Promise<Types.DevopsEnvironmentList>;
|
|
6013
6041
|
targets: {
|
|
@@ -6080,6 +6108,7 @@ export declare function createDevops(transport: Transport): {
|
|
|
6080
6108
|
promotions: {
|
|
6081
6109
|
approve: (options: import("./core/transport.js").CallOptions<Types.DevopsPromotionsApproveData>) => Promise<Types.DevopsPromotion>;
|
|
6082
6110
|
cancel: (options: import("./core/transport.js").CallOptions<Types.DevopsPromotionsCancelData>) => Promise<Types.DevopsPromotion>;
|
|
6111
|
+
checkoutCredential: (options: import("./core/transport.js").CallOptions<Types.DevopsPromotionsCheckoutCredentialData>) => Promise<Types.DevopsCheckoutCredential>;
|
|
6083
6112
|
conclude: (options: import("./core/transport.js").CallOptions<Types.DevopsPromotionsConcludeData>) => Promise<Types.DevopsPromotion>;
|
|
6084
6113
|
create: (options: import("./core/transport.js").CallOptions<Types.DevopsPromotionsCreateData>) => Promise<Types.DevopsPromotion>;
|
|
6085
6114
|
retrieve: (options: import("./core/transport.js").CallOptions<Types.DevopsPromotionsGetData>) => Promise<Types.DevopsPromotion>;
|
|
@@ -6094,6 +6123,9 @@ export declare function createDevops(transport: Transport): {
|
|
|
6094
6123
|
recordVerdict: (options: import("./core/transport.js").CallOptions<Types.DevopsPullRequestsRecordVerdictData>) => Promise<Types.DevopsPullRequest>;
|
|
6095
6124
|
rerunGate: (options: import("./core/transport.js").CallOptions<Types.DevopsPullRequestsRerunGateData>) => Promise<Types.DevopsPullRequest>;
|
|
6096
6125
|
retrieve: (options: import("./core/transport.js").CallOptions<Types.DevopsPullRequestsGetData>) => Promise<Types.DevopsPullRequest>;
|
|
6126
|
+
reviews: {
|
|
6127
|
+
create: (options: import("./core/transport.js").CallOptions<Types.DevopsPullRequestsReviewsCreateData>) => Promise<Types.DevopsPullRequest>;
|
|
6128
|
+
};
|
|
6097
6129
|
};
|
|
6098
6130
|
releases: {
|
|
6099
6131
|
abandon: (options: import("./core/transport.js").CallOptions<Types.DevopsReleasesAbandonData>) => Promise<Types.DevopsRelease>;
|
|
@@ -7004,6 +7036,9 @@ export declare function createOrganization(transport: Transport): {
|
|
|
7004
7036
|
update: (options: import("./core/transport.js").CallOptions<Types.ReorganizeOrganizationDepartmentData>) => Promise<Types.OrganizationDepartment>;
|
|
7005
7037
|
updateCharter: (options: import("./core/transport.js").CallOptions<Types.AmendOrganizationDepartmentCharterData>) => Promise<Types.OrganizationDepartment>;
|
|
7006
7038
|
};
|
|
7039
|
+
effectiveSpec: {
|
|
7040
|
+
retrieve: (options?: import("./core/transport.js").CallOptions<Types.GetOrganizationEffectiveSpecData> | undefined) => Promise<Types.OrganizationEffectiveSpec>;
|
|
7041
|
+
};
|
|
7007
7042
|
events: {
|
|
7008
7043
|
list: (options: import("./core/transport.js").CallOptions<Types.ListOrganizationEventsData>) => Promise<{
|
|
7009
7044
|
object: "page";
|
|
@@ -7286,6 +7321,29 @@ export declare function createOrganization(transport: Transport): {
|
|
|
7286
7321
|
updateLevel: (options: import("./core/transport.js").CallOptions<Types.RegradeOrganizationPositionData>) => Promise<Types.OrganizationPosition>;
|
|
7287
7322
|
updateManager: (options: import("./core/transport.js").CallOptions<Types.ReassignOrganizationPositionManagerData>) => Promise<Types.OrganizationPosition>;
|
|
7288
7323
|
};
|
|
7324
|
+
reconcile: {
|
|
7325
|
+
pause: (options: import("./core/transport.js").CallOptions<Types.PauseOrganizationReconcileData>) => Promise<Types.OrganizationReconcileStatus>;
|
|
7326
|
+
resume: (options: import("./core/transport.js").CallOptions<Types.ResumeOrganizationReconcileData>) => Promise<Types.OrganizationReconcileStatus>;
|
|
7327
|
+
retrievePlan: (options: import("./core/transport.js").CallOptions<Types.PlanOrganizationReconcileData>) => Promise<Types.OrganizationReconcilePlan>;
|
|
7328
|
+
run: {
|
|
7329
|
+
create: (options: import("./core/transport.js").CallOptions<Types.RunOrganizationReconcileData>) => Promise<Types.OrganizationReconcileStatus>;
|
|
7330
|
+
};
|
|
7331
|
+
status: {
|
|
7332
|
+
list: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationReconcileStatusData>) => Promise<Types.OrganizationReconcileStatus>;
|
|
7333
|
+
};
|
|
7334
|
+
};
|
|
7335
|
+
specSchema: {
|
|
7336
|
+
retrieve: (options?: import("./core/transport.js").CallOptions<Types.GetOrganizationSpecSchemaData> | undefined) => Promise<Types.OrganizationSpecSchema>;
|
|
7337
|
+
};
|
|
7338
|
+
specs: {
|
|
7339
|
+
list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationSpecsData> | undefined) => Promise<Types.OrganizationSpecList>;
|
|
7340
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationSpecData>) => Promise<Types.OrganizationSpec>;
|
|
7341
|
+
retrieveDiff: (options: import("./core/transport.js").CallOptions<Types.DiffOrganizationSpecData>) => Promise<Types.OrganizationSpecDiff>;
|
|
7342
|
+
revisions: {
|
|
7343
|
+
list: (options: import("./core/transport.js").CallOptions<Types.ListOrganizationSpecRevisionsData>) => Promise<Types.OrganizationSpecRevisionList>;
|
|
7344
|
+
};
|
|
7345
|
+
update: (options: import("./core/transport.js").CallOptions<Types.ReviseOrganizationSpecData>) => Promise<Types.OrganizationSpec | Types.OrganizationSpecDryRun>;
|
|
7346
|
+
};
|
|
7289
7347
|
usage: {
|
|
7290
7348
|
list: (options: import("./core/transport.js").CallOptions<Types.ListOrganizationUsageData>) => Promise<{
|
|
7291
7349
|
object: "page";
|
|
@@ -7317,16 +7375,25 @@ export declare function createRegistry(transport: Transport): {
|
|
|
7317
7375
|
packages: {
|
|
7318
7376
|
git: {
|
|
7319
7377
|
commits: {
|
|
7320
|
-
retrieve: (options: import("./core/transport.js").CallOptions<Types.RegistryGitCommitsRetrieveData>) => Promise<Types.
|
|
7378
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.RegistryGitCommitsRetrieveData>) => Promise<Types.RegistryGitCommitDetail>;
|
|
7321
7379
|
};
|
|
7322
7380
|
files: {
|
|
7323
7381
|
retrieve: (options: import("./core/transport.js").CallOptions<Types.RegistryGitFilesRetrieveData>) => Promise<Blob | File>;
|
|
7324
7382
|
};
|
|
7383
|
+
refs: {
|
|
7384
|
+
list: (options: import("./core/transport.js").CallOptions<Types.RegistryGitRefsData>) => Promise<Types.RegistryGitRefs>;
|
|
7385
|
+
};
|
|
7386
|
+
retrieveCompare: (options: import("./core/transport.js").CallOptions<Types.RegistryGitCompareData>) => Promise<Types.RegistryGitComparison>;
|
|
7325
7387
|
retrieveLog: (options: import("./core/transport.js").CallOptions<Types.RegistryGitLogData>) => Promise<Types.RegistryGitLog>;
|
|
7388
|
+
retrieveResolve: (options: import("./core/transport.js").CallOptions<Types.RegistryGitResolveData>) => Promise<Types.RegistryGitResolvedRef>;
|
|
7326
7389
|
trees: {
|
|
7327
7390
|
retrieve: (options: import("./core/transport.js").CallOptions<Types.RegistryGitTreesRetrieveData>) => Promise<Types.RegistryGitTree>;
|
|
7391
|
+
retrieveRecursive: (options: import("./core/transport.js").CallOptions<Types.RegistryGitTreesRecursiveData>) => Promise<Types.RegistryGitTreeRecursive>;
|
|
7328
7392
|
};
|
|
7329
7393
|
};
|
|
7394
|
+
gitCredential: {
|
|
7395
|
+
create: (options: import("./core/transport.js").CallOptions<Types.RegistryPackagesGitCredentialCreateData>) => Promise<Types.RegistryGitCredential>;
|
|
7396
|
+
};
|
|
7330
7397
|
installations: {
|
|
7331
7398
|
create: (options: import("./core/transport.js").CallOptions<Types.RegistryPackagesInstallationsCreateData>) => Promise<Types.RegistryInstallResult>;
|
|
7332
7399
|
list: (options: import("./core/transport.js").CallOptions<Types.RegistryPackagesInstallationsListData>) => Promise<Types.RegistryInstallationList>;
|
|
@@ -7358,12 +7425,105 @@ export declare function createRegistry(transport: Transport): {
|
|
|
7358
7425
|
};
|
|
7359
7426
|
};
|
|
7360
7427
|
export declare function createSandbox(transport: Transport): {
|
|
7428
|
+
byod: {
|
|
7429
|
+
devices: {
|
|
7430
|
+
disconnect: {
|
|
7431
|
+
create: (options: import("./core/transport.js").CallOptions<Types.DisconnectByodDeviceData>) => Promise<{
|
|
7432
|
+
id: string;
|
|
7433
|
+
object: "byod_device";
|
|
7434
|
+
disconnected: true;
|
|
7435
|
+
}>;
|
|
7436
|
+
};
|
|
7437
|
+
list: (options?: import("./core/transport.js").CallOptions<Types.ListByodDevicesData> | undefined) => Promise<{
|
|
7438
|
+
data: Array<{
|
|
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
|
+
}>;
|
|
7453
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.GetByodDeviceData>) => Promise<{
|
|
7454
|
+
object: "byod_device";
|
|
7455
|
+
id: string;
|
|
7456
|
+
platform: "android" | "macos" | "linux";
|
|
7457
|
+
name: string;
|
|
7458
|
+
model: string;
|
|
7459
|
+
os_version: string;
|
|
7460
|
+
online: boolean;
|
|
7461
|
+
last_seen_at: string | null;
|
|
7462
|
+
created_at: string;
|
|
7463
|
+
capabilities: Array<"display" | "agent">;
|
|
7464
|
+
agent_dirs: Array<string>;
|
|
7465
|
+
allow_bypass: boolean;
|
|
7466
|
+
}>;
|
|
7467
|
+
update: (options: import("./core/transport.js").CallOptions<Types.UpdateByodDeviceData>) => Promise<{
|
|
7468
|
+
object: "byod_device";
|
|
7469
|
+
id: string;
|
|
7470
|
+
platform: "android" | "macos" | "linux";
|
|
7471
|
+
name: string;
|
|
7472
|
+
model: string;
|
|
7473
|
+
os_version: string;
|
|
7474
|
+
online: boolean;
|
|
7475
|
+
last_seen_at: string | null;
|
|
7476
|
+
created_at: string;
|
|
7477
|
+
capabilities: Array<"display" | "agent">;
|
|
7478
|
+
agent_dirs: Array<string>;
|
|
7479
|
+
allow_bypass: boolean;
|
|
7480
|
+
}>;
|
|
7481
|
+
};
|
|
7482
|
+
pairings: {
|
|
7483
|
+
claim: {
|
|
7484
|
+
create: (options: import("./core/transport.js").CallOptions<Types.ClaimByodPairingData>) => Promise<{
|
|
7485
|
+
device_id: string;
|
|
7486
|
+
credential: string;
|
|
7487
|
+
socket_url: string;
|
|
7488
|
+
}>;
|
|
7489
|
+
};
|
|
7490
|
+
create: (options?: import("./core/transport.js").CallOptions<Types.CreateByodPairingData> | undefined) => Promise<{
|
|
7491
|
+
code: string;
|
|
7492
|
+
expires_at: string;
|
|
7493
|
+
qr: string;
|
|
7494
|
+
}>;
|
|
7495
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.GetByodPairingData>) => Promise<{
|
|
7496
|
+
organization_name: string;
|
|
7497
|
+
expires_at: string;
|
|
7498
|
+
}>;
|
|
7499
|
+
};
|
|
7500
|
+
};
|
|
7361
7501
|
events: {
|
|
7362
7502
|
sandboxes: {
|
|
7363
7503
|
retrieve: (options: import("./core/transport.js").CallOptions<Types.GetSandboxEventsData>) => Promise<Types.SandboxSandboxEvent[]>;
|
|
7364
7504
|
};
|
|
7365
7505
|
};
|
|
7366
7506
|
sandboxes: {
|
|
7507
|
+
act: (options: import("./core/transport.js").CallOptions<Types.ActOnSandboxDisplayData>) => Promise<{
|
|
7508
|
+
type: "snapshot";
|
|
7509
|
+
snapshot: string;
|
|
7510
|
+
refs: number;
|
|
7511
|
+
truncated: boolean;
|
|
7512
|
+
package: string;
|
|
7513
|
+
} | {
|
|
7514
|
+
type: "screenshot";
|
|
7515
|
+
mediaType: string;
|
|
7516
|
+
data: string;
|
|
7517
|
+
width: number;
|
|
7518
|
+
height: number;
|
|
7519
|
+
bytes: number;
|
|
7520
|
+
} | {
|
|
7521
|
+
type: "ok";
|
|
7522
|
+
ms?: number;
|
|
7523
|
+
} | {
|
|
7524
|
+
type: "wait";
|
|
7525
|
+
ms: number;
|
|
7526
|
+
}>;
|
|
7367
7527
|
commands: {
|
|
7368
7528
|
run: (options: import("./core/transport.js").CallOptions<Types.RunSandboxCommandData>) => Promise<{
|
|
7369
7529
|
stdout: string;
|
|
@@ -7892,6 +8052,7 @@ export declare const resourceFactories: {
|
|
|
7892
8052
|
agent: typeof createAgent;
|
|
7893
8053
|
application: typeof createApplication;
|
|
7894
8054
|
automation: typeof createAutomation;
|
|
8055
|
+
billing: typeof createBilling;
|
|
7895
8056
|
browser: typeof createBrowser;
|
|
7896
8057
|
canvas: typeof createCanvas;
|
|
7897
8058
|
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,29 @@ 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
|
+
specSchema: {
|
|
1303
|
+
retrieve: bind(transport, sdk.getOrganizationSpecSchema),
|
|
1304
|
+
},
|
|
1305
|
+
specs: {
|
|
1306
|
+
list: bind(transport, sdk.listOrganizationSpecs),
|
|
1307
|
+
retrieve: bind(transport, sdk.getOrganizationSpec),
|
|
1308
|
+
retrieveDiff: bind(transport, sdk.diffOrganizationSpec),
|
|
1309
|
+
revisions: {
|
|
1310
|
+
list: bind(transport, sdk.listOrganizationSpecRevisions),
|
|
1311
|
+
},
|
|
1312
|
+
update: bind(transport, sdk.reviseOrganizationSpec),
|
|
1313
|
+
},
|
|
1265
1314
|
usage: {
|
|
1266
1315
|
list: bind(transport, sdk.listOrganizationUsage),
|
|
1267
1316
|
},
|
|
@@ -1281,11 +1330,20 @@ export function createRegistry(transport) {
|
|
|
1281
1330
|
files: {
|
|
1282
1331
|
retrieve: bind(transport, sdk.registryGitFilesRetrieve),
|
|
1283
1332
|
},
|
|
1333
|
+
refs: {
|
|
1334
|
+
list: bind(transport, sdk.registryGitRefs),
|
|
1335
|
+
},
|
|
1336
|
+
retrieveCompare: bind(transport, sdk.registryGitCompare),
|
|
1284
1337
|
retrieveLog: bind(transport, sdk.registryGitLog),
|
|
1338
|
+
retrieveResolve: bind(transport, sdk.registryGitResolve),
|
|
1285
1339
|
trees: {
|
|
1286
1340
|
retrieve: bind(transport, sdk.registryGitTreesRetrieve),
|
|
1341
|
+
retrieveRecursive: bind(transport, sdk.registryGitTreesRecursive),
|
|
1287
1342
|
},
|
|
1288
1343
|
},
|
|
1344
|
+
gitCredential: {
|
|
1345
|
+
create: bind(transport, sdk.registryPackagesGitCredentialCreate),
|
|
1346
|
+
},
|
|
1289
1347
|
installations: {
|
|
1290
1348
|
create: bind(transport, sdk.registryPackagesInstallationsCreate),
|
|
1291
1349
|
list: bind(transport, sdk.registryPackagesInstallationsList),
|
|
@@ -1319,12 +1377,30 @@ export function createRegistry(transport) {
|
|
|
1319
1377
|
}
|
|
1320
1378
|
export function createSandbox(transport) {
|
|
1321
1379
|
return {
|
|
1380
|
+
byod: {
|
|
1381
|
+
devices: {
|
|
1382
|
+
disconnect: {
|
|
1383
|
+
create: bind(transport, sdk.disconnectByodDevice),
|
|
1384
|
+
},
|
|
1385
|
+
list: bind(transport, sdk.listByodDevices),
|
|
1386
|
+
retrieve: bind(transport, sdk.getByodDevice),
|
|
1387
|
+
update: bind(transport, sdk.updateByodDevice),
|
|
1388
|
+
},
|
|
1389
|
+
pairings: {
|
|
1390
|
+
claim: {
|
|
1391
|
+
create: bind(transport, sdk.claimByodPairing),
|
|
1392
|
+
},
|
|
1393
|
+
create: bind(transport, sdk.createByodPairing),
|
|
1394
|
+
retrieve: bind(transport, sdk.getByodPairing),
|
|
1395
|
+
},
|
|
1396
|
+
},
|
|
1322
1397
|
events: {
|
|
1323
1398
|
sandboxes: {
|
|
1324
1399
|
retrieve: bind(transport, sdk.getSandboxEvents),
|
|
1325
1400
|
},
|
|
1326
1401
|
},
|
|
1327
1402
|
sandboxes: {
|
|
1403
|
+
act: bind(transport, sdk.actOnSandboxDisplay),
|
|
1328
1404
|
commands: {
|
|
1329
1405
|
run: bind(transport, sdk.runSandboxCommand),
|
|
1330
1406
|
},
|
|
@@ -1680,6 +1756,7 @@ export const resourceFactories = {
|
|
|
1680
1756
|
agent: createAgent,
|
|
1681
1757
|
application: createApplication,
|
|
1682
1758
|
automation: createAutomation,
|
|
1759
|
+
billing: createBilling,
|
|
1683
1760
|
browser: createBrowser,
|
|
1684
1761
|
canvas: createCanvas,
|
|
1685
1762
|
content: createContent,
|