@deepraxis/sdk 0.1.1-dev.607b136 → 0.1.1-dev.61176d7
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 +162 -1
- package/README.md +3 -3
- 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 +293 -43
- package/dist/generated/sdk.gen.js +797 -74
- package/dist/generated/types.gen.d.ts +5205 -1021
- 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 +1688 -73
- package/dist/resources.generated.d.ts +247 -60
- package/dist/resources.generated.js +94 -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,24 @@ 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
|
+
}>;
|
|
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
|
+
}>;
|
|
2367
2383
|
};
|
|
2368
2384
|
leases: {
|
|
2369
2385
|
delete: (options: import("./core/transport.js").CallOptions<Types.ReleaseComputerLeaseData>) => Promise<{
|
|
@@ -3222,6 +3238,11 @@ export declare function createAgent(transport: Transport): {
|
|
|
3222
3238
|
vault_ids: Array<string>;
|
|
3223
3239
|
deployment_id?: null | string;
|
|
3224
3240
|
cwd: string;
|
|
3241
|
+
workspace?: {
|
|
3242
|
+
kind: "shared" | "isolated";
|
|
3243
|
+
path?: string;
|
|
3244
|
+
branch?: string;
|
|
3245
|
+
};
|
|
3225
3246
|
computer_id?: string;
|
|
3226
3247
|
model?: {
|
|
3227
3248
|
id: string;
|
|
@@ -3282,6 +3303,11 @@ export declare function createAgent(transport: Transport): {
|
|
|
3282
3303
|
vault_ids: Array<string>;
|
|
3283
3304
|
deployment_id?: null | string;
|
|
3284
3305
|
cwd: string;
|
|
3306
|
+
workspace?: {
|
|
3307
|
+
kind: "shared" | "isolated";
|
|
3308
|
+
path?: string;
|
|
3309
|
+
branch?: string;
|
|
3310
|
+
};
|
|
3285
3311
|
computer_id?: string;
|
|
3286
3312
|
model?: {
|
|
3287
3313
|
id: string;
|
|
@@ -3444,6 +3470,11 @@ export declare function createAgent(transport: Transport): {
|
|
|
3444
3470
|
vault_ids: Array<string>;
|
|
3445
3471
|
deployment_id?: null | string;
|
|
3446
3472
|
cwd: string;
|
|
3473
|
+
workspace?: {
|
|
3474
|
+
kind: "shared" | "isolated";
|
|
3475
|
+
path?: string;
|
|
3476
|
+
branch?: string;
|
|
3477
|
+
};
|
|
3447
3478
|
computer_id?: string;
|
|
3448
3479
|
model?: {
|
|
3449
3480
|
id: string;
|
|
@@ -3665,21 +3696,6 @@ export declare function createAgent(transport: Transport): {
|
|
|
3665
3696
|
type: "user.steer";
|
|
3666
3697
|
event_id: string;
|
|
3667
3698
|
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
3699
|
}>;
|
|
3684
3700
|
next_page: string | null;
|
|
3685
3701
|
}>;
|
|
@@ -3700,21 +3716,6 @@ export declare function createAgent(transport: Transport): {
|
|
|
3700
3716
|
type: "user.steer";
|
|
3701
3717
|
event_id: string;
|
|
3702
3718
|
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
3719
|
}>;
|
|
3719
3720
|
}>;
|
|
3720
3721
|
stream: (options: import("./core/transport.js").StreamOptions<Types.SessionsEventsStreamData>) => AsyncIterable<Types.AgentSseEvent>;
|
|
@@ -4230,6 +4231,11 @@ export declare function createAgent(transport: Transport): {
|
|
|
4230
4231
|
vault_ids: Array<string>;
|
|
4231
4232
|
deployment_id?: null | string;
|
|
4232
4233
|
cwd: string;
|
|
4234
|
+
workspace?: {
|
|
4235
|
+
kind: "shared" | "isolated";
|
|
4236
|
+
path?: string;
|
|
4237
|
+
branch?: string;
|
|
4238
|
+
};
|
|
4233
4239
|
computer_id?: string;
|
|
4234
4240
|
model?: {
|
|
4235
4241
|
id: string;
|
|
@@ -4290,6 +4296,11 @@ export declare function createAgent(transport: Transport): {
|
|
|
4290
4296
|
vault_ids: Array<string>;
|
|
4291
4297
|
deployment_id?: null | string;
|
|
4292
4298
|
cwd: string;
|
|
4299
|
+
workspace?: {
|
|
4300
|
+
kind: "shared" | "isolated";
|
|
4301
|
+
path?: string;
|
|
4302
|
+
branch?: string;
|
|
4303
|
+
};
|
|
4293
4304
|
computer_id?: string;
|
|
4294
4305
|
model?: {
|
|
4295
4306
|
id: string;
|
|
@@ -4823,6 +4834,11 @@ export declare function createAgent(transport: Transport): {
|
|
|
4823
4834
|
vault_ids: Array<string>;
|
|
4824
4835
|
deployment_id?: null | string;
|
|
4825
4836
|
cwd: string;
|
|
4837
|
+
workspace?: {
|
|
4838
|
+
kind: "shared" | "isolated";
|
|
4839
|
+
path?: string;
|
|
4840
|
+
branch?: string;
|
|
4841
|
+
};
|
|
4826
4842
|
computer_id?: string;
|
|
4827
4843
|
model?: {
|
|
4828
4844
|
id: string;
|
|
@@ -4914,6 +4930,11 @@ export declare function createAgent(transport: Transport): {
|
|
|
4914
4930
|
vault_ids: Array<string>;
|
|
4915
4931
|
deployment_id?: null | string;
|
|
4916
4932
|
cwd: string;
|
|
4933
|
+
workspace?: {
|
|
4934
|
+
kind: "shared" | "isolated";
|
|
4935
|
+
path?: string;
|
|
4936
|
+
branch?: string;
|
|
4937
|
+
};
|
|
4917
4938
|
computer_id?: string;
|
|
4918
4939
|
model?: {
|
|
4919
4940
|
id: string;
|
|
@@ -5280,6 +5301,11 @@ export declare function createAgent(transport: Transport): {
|
|
|
5280
5301
|
vault_ids: Array<string>;
|
|
5281
5302
|
deployment_id?: null | string;
|
|
5282
5303
|
cwd: string;
|
|
5304
|
+
workspace?: {
|
|
5305
|
+
kind: "shared" | "isolated";
|
|
5306
|
+
path?: string;
|
|
5307
|
+
branch?: string;
|
|
5308
|
+
};
|
|
5283
5309
|
computer_id?: string;
|
|
5284
5310
|
model?: {
|
|
5285
5311
|
id: string;
|
|
@@ -5631,6 +5657,11 @@ export declare function createAutomation(transport: Transport): {
|
|
|
5631
5657
|
};
|
|
5632
5658
|
};
|
|
5633
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
|
+
};
|
|
5634
5665
|
export declare function createBrowser(transport: Transport): {
|
|
5635
5666
|
connect: {
|
|
5636
5667
|
retrieve: (options?: import("./core/transport.js").CallOptions<Types.BrowserConnectData> | undefined) => Promise<unknown>;
|
|
@@ -5996,6 +6027,13 @@ export declare function createDevops(transport: Transport): {
|
|
|
5996
6027
|
create: (options: import("./core/transport.js").CallOptions<Types.DevopsChangesCreateData>) => Promise<Types.DevopsChange>;
|
|
5997
6028
|
list: (options: import("./core/transport.js").CallOptions<Types.DevopsChangesListData>) => Promise<Types.DevopsChangePage>;
|
|
5998
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
|
+
};
|
|
5999
6037
|
environments: {
|
|
6000
6038
|
list: (options: import("./core/transport.js").CallOptions<Types.DevopsEnvironmentsListData>) => Promise<Types.DevopsEnvironmentList>;
|
|
6001
6039
|
targets: {
|
|
@@ -6068,6 +6106,7 @@ export declare function createDevops(transport: Transport): {
|
|
|
6068
6106
|
promotions: {
|
|
6069
6107
|
approve: (options: import("./core/transport.js").CallOptions<Types.DevopsPromotionsApproveData>) => Promise<Types.DevopsPromotion>;
|
|
6070
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>;
|
|
6071
6110
|
conclude: (options: import("./core/transport.js").CallOptions<Types.DevopsPromotionsConcludeData>) => Promise<Types.DevopsPromotion>;
|
|
6072
6111
|
create: (options: import("./core/transport.js").CallOptions<Types.DevopsPromotionsCreateData>) => Promise<Types.DevopsPromotion>;
|
|
6073
6112
|
retrieve: (options: import("./core/transport.js").CallOptions<Types.DevopsPromotionsGetData>) => Promise<Types.DevopsPromotion>;
|
|
@@ -6077,10 +6116,14 @@ export declare function createDevops(transport: Transport): {
|
|
|
6077
6116
|
};
|
|
6078
6117
|
};
|
|
6079
6118
|
pullRequests: {
|
|
6119
|
+
close: (options: import("./core/transport.js").CallOptions<Types.DevopsPullRequestsCloseData>) => Promise<Types.DevopsPullRequest>;
|
|
6080
6120
|
merge: (options: import("./core/transport.js").CallOptions<Types.DevopsPullRequestsMergeData>) => Promise<Types.DevopsPullRequest>;
|
|
6081
6121
|
recordVerdict: (options: import("./core/transport.js").CallOptions<Types.DevopsPullRequestsRecordVerdictData>) => Promise<Types.DevopsPullRequest>;
|
|
6082
6122
|
rerunGate: (options: import("./core/transport.js").CallOptions<Types.DevopsPullRequestsRerunGateData>) => Promise<Types.DevopsPullRequest>;
|
|
6083
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
|
+
};
|
|
6084
6127
|
};
|
|
6085
6128
|
releases: {
|
|
6086
6129
|
abandon: (options: import("./core/transport.js").CallOptions<Types.DevopsReleasesAbandonData>) => Promise<Types.DevopsRelease>;
|
|
@@ -6296,6 +6339,12 @@ export declare function createMedia(transport: Transport): {
|
|
|
6296
6339
|
retrieveFailureSummary: (options: import("./core/transport.js").CallOptions<Types.MediaUnderstandingFailureSummaryData>) => Promise<Types.MediaFailureSummary>;
|
|
6297
6340
|
};
|
|
6298
6341
|
update: (options: import("./core/transport.js").CallOptions<Types.MediaUpdateLibraryData>) => Promise<Types.MediaLibrary>;
|
|
6342
|
+
voices: {
|
|
6343
|
+
create: (options: import("./core/transport.js").CallOptions<Types.MediaCreateVoiceData>) => Promise<Types.MediaJob>;
|
|
6344
|
+
designs: {
|
|
6345
|
+
create: (options: import("./core/transport.js").CallOptions<Types.MediaDesignVoiceData>) => Promise<Types.MediaJob>;
|
|
6346
|
+
};
|
|
6347
|
+
};
|
|
6299
6348
|
};
|
|
6300
6349
|
speech: {
|
|
6301
6350
|
create: (options: import("./core/transport.js").CallOptions<Types.MediaCreateSpeechData>) => Promise<Types.MediaJob>;
|
|
@@ -6985,6 +7034,9 @@ export declare function createOrganization(transport: Transport): {
|
|
|
6985
7034
|
update: (options: import("./core/transport.js").CallOptions<Types.ReorganizeOrganizationDepartmentData>) => Promise<Types.OrganizationDepartment>;
|
|
6986
7035
|
updateCharter: (options: import("./core/transport.js").CallOptions<Types.AmendOrganizationDepartmentCharterData>) => Promise<Types.OrganizationDepartment>;
|
|
6987
7036
|
};
|
|
7037
|
+
effectiveSpec: {
|
|
7038
|
+
retrieve: (options?: import("./core/transport.js").CallOptions<Types.GetOrganizationEffectiveSpecData> | undefined) => Promise<Types.OrganizationEffectiveSpec>;
|
|
7039
|
+
};
|
|
6988
7040
|
events: {
|
|
6989
7041
|
list: (options: import("./core/transport.js").CallOptions<Types.ListOrganizationEventsData>) => Promise<{
|
|
6990
7042
|
object: "page";
|
|
@@ -7267,6 +7319,26 @@ export declare function createOrganization(transport: Transport): {
|
|
|
7267
7319
|
updateLevel: (options: import("./core/transport.js").CallOptions<Types.RegradeOrganizationPositionData>) => Promise<Types.OrganizationPosition>;
|
|
7268
7320
|
updateManager: (options: import("./core/transport.js").CallOptions<Types.ReassignOrganizationPositionManagerData>) => Promise<Types.OrganizationPosition>;
|
|
7269
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
|
+
};
|
|
7270
7342
|
usage: {
|
|
7271
7343
|
list: (options: import("./core/transport.js").CallOptions<Types.ListOrganizationUsageData>) => Promise<{
|
|
7272
7344
|
object: "page";
|
|
@@ -7296,6 +7368,27 @@ export declare function createRegistry(transport: Transport): {
|
|
|
7296
7368
|
update: (options: import("./core/transport.js").CallOptions<Types.RegistryInstallationsUpdateData>) => Promise<Types.RegistryInstallation>;
|
|
7297
7369
|
};
|
|
7298
7370
|
packages: {
|
|
7371
|
+
git: {
|
|
7372
|
+
commits: {
|
|
7373
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.RegistryGitCommitsRetrieveData>) => Promise<Types.RegistryGitCommitDetail>;
|
|
7374
|
+
};
|
|
7375
|
+
files: {
|
|
7376
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.RegistryGitFilesRetrieveData>) => Promise<Blob | File>;
|
|
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>;
|
|
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>;
|
|
7384
|
+
trees: {
|
|
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>;
|
|
7387
|
+
};
|
|
7388
|
+
};
|
|
7389
|
+
gitCredential: {
|
|
7390
|
+
create: (options: import("./core/transport.js").CallOptions<Types.RegistryPackagesGitCredentialCreateData>) => Promise<Types.RegistryGitCredential>;
|
|
7391
|
+
};
|
|
7299
7392
|
installations: {
|
|
7300
7393
|
create: (options: import("./core/transport.js").CallOptions<Types.RegistryPackagesInstallationsCreateData>) => Promise<Types.RegistryInstallResult>;
|
|
7301
7394
|
list: (options: import("./core/transport.js").CallOptions<Types.RegistryPackagesInstallationsListData>) => Promise<Types.RegistryInstallationList>;
|
|
@@ -7327,12 +7420,105 @@ export declare function createRegistry(transport: Transport): {
|
|
|
7327
7420
|
};
|
|
7328
7421
|
};
|
|
7329
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
|
+
};
|
|
7330
7496
|
events: {
|
|
7331
7497
|
sandboxes: {
|
|
7332
7498
|
retrieve: (options: import("./core/transport.js").CallOptions<Types.GetSandboxEventsData>) => Promise<Types.SandboxSandboxEvent[]>;
|
|
7333
7499
|
};
|
|
7334
7500
|
};
|
|
7335
7501
|
sandboxes: {
|
|
7502
|
+
act: (options: import("./core/transport.js").CallOptions<Types.ActOnSandboxDisplayData>) => Promise<{
|
|
7503
|
+
type: "snapshot";
|
|
7504
|
+
snapshot: string;
|
|
7505
|
+
refs: number;
|
|
7506
|
+
truncated: boolean;
|
|
7507
|
+
package: string;
|
|
7508
|
+
} | {
|
|
7509
|
+
type: "screenshot";
|
|
7510
|
+
mediaType: string;
|
|
7511
|
+
data: string;
|
|
7512
|
+
width: number;
|
|
7513
|
+
height: number;
|
|
7514
|
+
bytes: number;
|
|
7515
|
+
} | {
|
|
7516
|
+
type: "ok";
|
|
7517
|
+
ms?: number;
|
|
7518
|
+
} | {
|
|
7519
|
+
type: "wait";
|
|
7520
|
+
ms: number;
|
|
7521
|
+
}>;
|
|
7336
7522
|
commands: {
|
|
7337
7523
|
run: (options: import("./core/transport.js").CallOptions<Types.RunSandboxCommandData>) => Promise<{
|
|
7338
7524
|
stdout: string;
|
|
@@ -7861,6 +8047,7 @@ export declare const resourceFactories: {
|
|
|
7861
8047
|
agent: typeof createAgent;
|
|
7862
8048
|
application: typeof createApplication;
|
|
7863
8049
|
automation: typeof createAutomation;
|
|
8050
|
+
billing: typeof createBilling;
|
|
7864
8051
|
browser: typeof createBrowser;
|
|
7865
8052
|
canvas: typeof createCanvas;
|
|
7866
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),
|
|
@@ -64,6 +68,8 @@ 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),
|
|
72
|
+
updateContent: bind(transport, sdk.updateComputerFileContent),
|
|
67
73
|
},
|
|
68
74
|
leases: {
|
|
69
75
|
delete: bind(transport, sdk.releaseComputerLease),
|
|
@@ -372,6 +378,13 @@ export function createAutomation(transport) {
|
|
|
372
378
|
},
|
|
373
379
|
};
|
|
374
380
|
}
|
|
381
|
+
export function createBilling(transport) {
|
|
382
|
+
return {
|
|
383
|
+
prices: {
|
|
384
|
+
list: bind(transport, sdk.listPublicPrices),
|
|
385
|
+
},
|
|
386
|
+
};
|
|
387
|
+
}
|
|
375
388
|
export function createBrowser(transport) {
|
|
376
389
|
return {
|
|
377
390
|
connect: {
|
|
@@ -687,6 +700,13 @@ export function createDevops(transport) {
|
|
|
687
700
|
create: bind(transport, sdk.devopsChangesCreate),
|
|
688
701
|
list: bind(transport, sdk.devopsChangesList),
|
|
689
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
|
+
},
|
|
690
710
|
environments: {
|
|
691
711
|
list: bind(transport, sdk.devopsEnvironmentsList),
|
|
692
712
|
targets: {
|
|
@@ -759,6 +779,7 @@ export function createDevops(transport) {
|
|
|
759
779
|
promotions: {
|
|
760
780
|
approve: bind(transport, sdk.devopsPromotionsApprove),
|
|
761
781
|
cancel: bind(transport, sdk.devopsPromotionsCancel),
|
|
782
|
+
checkoutCredential: bind(transport, sdk.devopsPromotionsCheckoutCredential),
|
|
762
783
|
conclude: bind(transport, sdk.devopsPromotionsConclude),
|
|
763
784
|
create: bind(transport, sdk.devopsPromotionsCreate),
|
|
764
785
|
retrieve: bind(transport, sdk.devopsPromotionsGet),
|
|
@@ -768,10 +789,14 @@ export function createDevops(transport) {
|
|
|
768
789
|
},
|
|
769
790
|
},
|
|
770
791
|
pullRequests: {
|
|
792
|
+
close: bind(transport, sdk.devopsPullRequestsClose),
|
|
771
793
|
merge: bind(transport, sdk.devopsPullRequestsMerge),
|
|
772
794
|
recordVerdict: bind(transport, sdk.devopsPullRequestsRecordVerdict),
|
|
773
795
|
rerunGate: bind(transport, sdk.devopsPullRequestsRerunGate),
|
|
774
796
|
retrieve: bind(transport, sdk.devopsPullRequestsGet),
|
|
797
|
+
reviews: {
|
|
798
|
+
create: bind(transport, sdk.devopsPullRequestsReviewsCreate),
|
|
799
|
+
},
|
|
775
800
|
},
|
|
776
801
|
releases: {
|
|
777
802
|
abandon: bind(transport, sdk.devopsReleasesAbandon),
|
|
@@ -988,6 +1013,12 @@ export function createMedia(transport) {
|
|
|
988
1013
|
retrieveFailureSummary: bind(transport, sdk.mediaUnderstandingFailureSummary),
|
|
989
1014
|
},
|
|
990
1015
|
update: bind(transport, sdk.mediaUpdateLibrary),
|
|
1016
|
+
voices: {
|
|
1017
|
+
create: bind(transport, sdk.mediaCreateVoice),
|
|
1018
|
+
designs: {
|
|
1019
|
+
create: bind(transport, sdk.mediaDesignVoice),
|
|
1020
|
+
},
|
|
1021
|
+
},
|
|
991
1022
|
},
|
|
992
1023
|
speech: {
|
|
993
1024
|
create: bind(transport, sdk.mediaCreateSpeech),
|
|
@@ -1168,6 +1199,9 @@ export function createOrganization(transport) {
|
|
|
1168
1199
|
update: bind(transport, sdk.reorganizeOrganizationDepartment),
|
|
1169
1200
|
updateCharter: bind(transport, sdk.amendOrganizationDepartmentCharter),
|
|
1170
1201
|
},
|
|
1202
|
+
effectiveSpec: {
|
|
1203
|
+
retrieve: bind(transport, sdk.getOrganizationEffectiveSpec),
|
|
1204
|
+
},
|
|
1171
1205
|
events: {
|
|
1172
1206
|
list: bind(transport, sdk.listOrganizationEvents),
|
|
1173
1207
|
retrieve: bind(transport, sdk.getOrganizationEvent),
|
|
@@ -1254,6 +1288,26 @@ export function createOrganization(transport) {
|
|
|
1254
1288
|
updateLevel: bind(transport, sdk.regradeOrganizationPosition),
|
|
1255
1289
|
updateManager: bind(transport, sdk.reassignOrganizationPositionManager),
|
|
1256
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
|
+
},
|
|
1257
1311
|
usage: {
|
|
1258
1312
|
list: bind(transport, sdk.listOrganizationUsage),
|
|
1259
1313
|
},
|
|
@@ -1266,6 +1320,27 @@ export function createRegistry(transport) {
|
|
|
1266
1320
|
update: bind(transport, sdk.registryInstallationsUpdate),
|
|
1267
1321
|
},
|
|
1268
1322
|
packages: {
|
|
1323
|
+
git: {
|
|
1324
|
+
commits: {
|
|
1325
|
+
retrieve: bind(transport, sdk.registryGitCommitsRetrieve),
|
|
1326
|
+
},
|
|
1327
|
+
files: {
|
|
1328
|
+
retrieve: bind(transport, sdk.registryGitFilesRetrieve),
|
|
1329
|
+
},
|
|
1330
|
+
refs: {
|
|
1331
|
+
list: bind(transport, sdk.registryGitRefs),
|
|
1332
|
+
},
|
|
1333
|
+
retrieveCompare: bind(transport, sdk.registryGitCompare),
|
|
1334
|
+
retrieveLog: bind(transport, sdk.registryGitLog),
|
|
1335
|
+
retrieveResolve: bind(transport, sdk.registryGitResolve),
|
|
1336
|
+
trees: {
|
|
1337
|
+
retrieve: bind(transport, sdk.registryGitTreesRetrieve),
|
|
1338
|
+
retrieveRecursive: bind(transport, sdk.registryGitTreesRecursive),
|
|
1339
|
+
},
|
|
1340
|
+
},
|
|
1341
|
+
gitCredential: {
|
|
1342
|
+
create: bind(transport, sdk.registryPackagesGitCredentialCreate),
|
|
1343
|
+
},
|
|
1269
1344
|
installations: {
|
|
1270
1345
|
create: bind(transport, sdk.registryPackagesInstallationsCreate),
|
|
1271
1346
|
list: bind(transport, sdk.registryPackagesInstallationsList),
|
|
@@ -1299,12 +1374,30 @@ export function createRegistry(transport) {
|
|
|
1299
1374
|
}
|
|
1300
1375
|
export function createSandbox(transport) {
|
|
1301
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
|
+
},
|
|
1302
1394
|
events: {
|
|
1303
1395
|
sandboxes: {
|
|
1304
1396
|
retrieve: bind(transport, sdk.getSandboxEvents),
|
|
1305
1397
|
},
|
|
1306
1398
|
},
|
|
1307
1399
|
sandboxes: {
|
|
1400
|
+
act: bind(transport, sdk.actOnSandboxDisplay),
|
|
1308
1401
|
commands: {
|
|
1309
1402
|
run: bind(transport, sdk.runSandboxCommand),
|
|
1310
1403
|
},
|
|
@@ -1660,6 +1753,7 @@ export const resourceFactories = {
|
|
|
1660
1753
|
agent: createAgent,
|
|
1661
1754
|
application: createApplication,
|
|
1662
1755
|
automation: createAutomation,
|
|
1756
|
+
billing: createBilling,
|
|
1663
1757
|
browser: createBrowser,
|
|
1664
1758
|
canvas: createCanvas,
|
|
1665
1759
|
content: createContent,
|