@deepraxis/sdk 0.1.1-dev.15e627b → 0.1.1-dev.161a576
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 +119 -1
- package/README.md +5 -4
- package/dist/generated/index.d.ts +2 -2
- package/dist/generated/index.js +1 -1
- package/dist/generated/sdk.gen.d.ts +222 -34
- package/dist/generated/sdk.gen.js +588 -35
- package/dist/generated/types.gen.d.ts +3223 -424
- package/dist/operations.generated.d.ts +1 -0
- package/dist/operations.generated.js +1236 -60
- package/dist/resources.generated.d.ts +138 -63
- package/dist/resources.generated.js +72 -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>;
|
|
@@ -909,8 +879,9 @@ export declare function createAgent(transport: Transport): {
|
|
|
909
879
|
object: "agent_phone";
|
|
910
880
|
agent_id: string;
|
|
911
881
|
configured: boolean;
|
|
912
|
-
state: "none" | "starting" | "booting" | "restoring" | "running" | "archiving" | "releasing";
|
|
882
|
+
state: "none" | "starting" | "booting" | "restoring" | "running" | "archiving" | "releasing" | "online" | "offline";
|
|
913
883
|
sku: string | null;
|
|
884
|
+
byod_device: string | null;
|
|
914
885
|
name: string | null;
|
|
915
886
|
sandbox_id: string | null;
|
|
916
887
|
lease_ends_at: string | null;
|
|
@@ -921,8 +892,9 @@ export declare function createAgent(transport: Transport): {
|
|
|
921
892
|
object: "agent_phone";
|
|
922
893
|
agent_id: string;
|
|
923
894
|
configured: boolean;
|
|
924
|
-
state: "none" | "starting" | "booting" | "restoring" | "running" | "archiving" | "releasing";
|
|
895
|
+
state: "none" | "starting" | "booting" | "restoring" | "running" | "archiving" | "releasing" | "online" | "offline";
|
|
925
896
|
sku: string | null;
|
|
897
|
+
byod_device: string | null;
|
|
926
898
|
name: string | null;
|
|
927
899
|
sandbox_id: string | null;
|
|
928
900
|
lease_ends_at: string | null;
|
|
@@ -1182,6 +1154,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
1182
1154
|
enabled: boolean;
|
|
1183
1155
|
daily_session_cap: number | null;
|
|
1184
1156
|
daily_spend_cap_micro_usd: number | null;
|
|
1157
|
+
currency?: "USD" | "CNY" | null;
|
|
1185
1158
|
};
|
|
1186
1159
|
}>;
|
|
1187
1160
|
unarchive: {
|
|
@@ -1754,6 +1727,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
1754
1727
|
enabled: boolean;
|
|
1755
1728
|
daily_session_cap: number | null;
|
|
1756
1729
|
daily_spend_cap_micro_usd: number | null;
|
|
1730
|
+
currency?: "USD" | "CNY" | null;
|
|
1757
1731
|
};
|
|
1758
1732
|
}>;
|
|
1759
1733
|
versions: {
|
|
@@ -2402,6 +2376,12 @@ export declare function createAgent(transport: Transport): {
|
|
|
2402
2376
|
fallback?: "content";
|
|
2403
2377
|
skipped?: boolean;
|
|
2404
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
|
+
}>;
|
|
2405
2385
|
};
|
|
2406
2386
|
leases: {
|
|
2407
2387
|
delete: (options: import("./core/transport.js").CallOptions<Types.ReleaseComputerLeaseData>) => Promise<{
|
|
@@ -3718,21 +3698,6 @@ export declare function createAgent(transport: Transport): {
|
|
|
3718
3698
|
type: "user.steer";
|
|
3719
3699
|
event_id: string;
|
|
3720
3700
|
processed_at: string;
|
|
3721
|
-
} | {
|
|
3722
|
-
id: string;
|
|
3723
|
-
type: "user.tool_confirmation";
|
|
3724
|
-
processed_at: string;
|
|
3725
|
-
tool_use_id: string;
|
|
3726
|
-
result: "allow";
|
|
3727
|
-
answers: {
|
|
3728
|
-
[key: string]: string;
|
|
3729
|
-
};
|
|
3730
|
-
annotations?: {
|
|
3731
|
-
[key: string]: {
|
|
3732
|
-
preview?: string;
|
|
3733
|
-
notes?: string;
|
|
3734
|
-
};
|
|
3735
|
-
};
|
|
3736
3701
|
}>;
|
|
3737
3702
|
next_page: string | null;
|
|
3738
3703
|
}>;
|
|
@@ -3753,21 +3718,6 @@ export declare function createAgent(transport: Transport): {
|
|
|
3753
3718
|
type: "user.steer";
|
|
3754
3719
|
event_id: string;
|
|
3755
3720
|
processed_at: string;
|
|
3756
|
-
} | {
|
|
3757
|
-
id: string;
|
|
3758
|
-
type: "user.tool_confirmation";
|
|
3759
|
-
processed_at: string;
|
|
3760
|
-
tool_use_id: string;
|
|
3761
|
-
result: "allow";
|
|
3762
|
-
answers: {
|
|
3763
|
-
[key: string]: string;
|
|
3764
|
-
};
|
|
3765
|
-
annotations?: {
|
|
3766
|
-
[key: string]: {
|
|
3767
|
-
preview?: string;
|
|
3768
|
-
notes?: string;
|
|
3769
|
-
};
|
|
3770
|
-
};
|
|
3771
3721
|
}>;
|
|
3772
3722
|
}>;
|
|
3773
3723
|
stream: (options: import("./core/transport.js").StreamOptions<Types.SessionsEventsStreamData>) => AsyncIterable<Types.AgentSseEvent>;
|
|
@@ -5709,6 +5659,11 @@ export declare function createAutomation(transport: Transport): {
|
|
|
5709
5659
|
};
|
|
5710
5660
|
};
|
|
5711
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
|
+
};
|
|
5712
5667
|
export declare function createBrowser(transport: Transport): {
|
|
5713
5668
|
connect: {
|
|
5714
5669
|
retrieve: (options?: import("./core/transport.js").CallOptions<Types.BrowserConnectData> | undefined) => Promise<unknown>;
|
|
@@ -6074,6 +6029,13 @@ export declare function createDevops(transport: Transport): {
|
|
|
6074
6029
|
create: (options: import("./core/transport.js").CallOptions<Types.DevopsChangesCreateData>) => Promise<Types.DevopsChange>;
|
|
6075
6030
|
list: (options: import("./core/transport.js").CallOptions<Types.DevopsChangesListData>) => Promise<Types.DevopsChangePage>;
|
|
6076
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
|
+
};
|
|
6077
6039
|
environments: {
|
|
6078
6040
|
list: (options: import("./core/transport.js").CallOptions<Types.DevopsEnvironmentsListData>) => Promise<Types.DevopsEnvironmentList>;
|
|
6079
6041
|
targets: {
|
|
@@ -6146,6 +6108,7 @@ export declare function createDevops(transport: Transport): {
|
|
|
6146
6108
|
promotions: {
|
|
6147
6109
|
approve: (options: import("./core/transport.js").CallOptions<Types.DevopsPromotionsApproveData>) => Promise<Types.DevopsPromotion>;
|
|
6148
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>;
|
|
6149
6112
|
conclude: (options: import("./core/transport.js").CallOptions<Types.DevopsPromotionsConcludeData>) => Promise<Types.DevopsPromotion>;
|
|
6150
6113
|
create: (options: import("./core/transport.js").CallOptions<Types.DevopsPromotionsCreateData>) => Promise<Types.DevopsPromotion>;
|
|
6151
6114
|
retrieve: (options: import("./core/transport.js").CallOptions<Types.DevopsPromotionsGetData>) => Promise<Types.DevopsPromotion>;
|
|
@@ -6160,6 +6123,9 @@ export declare function createDevops(transport: Transport): {
|
|
|
6160
6123
|
recordVerdict: (options: import("./core/transport.js").CallOptions<Types.DevopsPullRequestsRecordVerdictData>) => Promise<Types.DevopsPullRequest>;
|
|
6161
6124
|
rerunGate: (options: import("./core/transport.js").CallOptions<Types.DevopsPullRequestsRerunGateData>) => Promise<Types.DevopsPullRequest>;
|
|
6162
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
|
+
};
|
|
6163
6129
|
};
|
|
6164
6130
|
releases: {
|
|
6165
6131
|
abandon: (options: import("./core/transport.js").CallOptions<Types.DevopsReleasesAbandonData>) => Promise<Types.DevopsRelease>;
|
|
@@ -7070,6 +7036,9 @@ export declare function createOrganization(transport: Transport): {
|
|
|
7070
7036
|
update: (options: import("./core/transport.js").CallOptions<Types.ReorganizeOrganizationDepartmentData>) => Promise<Types.OrganizationDepartment>;
|
|
7071
7037
|
updateCharter: (options: import("./core/transport.js").CallOptions<Types.AmendOrganizationDepartmentCharterData>) => Promise<Types.OrganizationDepartment>;
|
|
7072
7038
|
};
|
|
7039
|
+
effectiveSpec: {
|
|
7040
|
+
retrieve: (options?: import("./core/transport.js").CallOptions<Types.GetOrganizationEffectiveSpecData> | undefined) => Promise<Types.OrganizationEffectiveSpec>;
|
|
7041
|
+
};
|
|
7073
7042
|
events: {
|
|
7074
7043
|
list: (options: import("./core/transport.js").CallOptions<Types.ListOrganizationEventsData>) => Promise<{
|
|
7075
7044
|
object: "page";
|
|
@@ -7352,6 +7321,29 @@ export declare function createOrganization(transport: Transport): {
|
|
|
7352
7321
|
updateLevel: (options: import("./core/transport.js").CallOptions<Types.RegradeOrganizationPositionData>) => Promise<Types.OrganizationPosition>;
|
|
7353
7322
|
updateManager: (options: import("./core/transport.js").CallOptions<Types.ReassignOrganizationPositionManagerData>) => Promise<Types.OrganizationPosition>;
|
|
7354
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
|
+
};
|
|
7355
7347
|
usage: {
|
|
7356
7348
|
list: (options: import("./core/transport.js").CallOptions<Types.ListOrganizationUsageData>) => Promise<{
|
|
7357
7349
|
object: "page";
|
|
@@ -7383,16 +7375,25 @@ export declare function createRegistry(transport: Transport): {
|
|
|
7383
7375
|
packages: {
|
|
7384
7376
|
git: {
|
|
7385
7377
|
commits: {
|
|
7386
|
-
retrieve: (options: import("./core/transport.js").CallOptions<Types.RegistryGitCommitsRetrieveData>) => Promise<Types.
|
|
7378
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.RegistryGitCommitsRetrieveData>) => Promise<Types.RegistryGitCommitDetail>;
|
|
7387
7379
|
};
|
|
7388
7380
|
files: {
|
|
7389
7381
|
retrieve: (options: import("./core/transport.js").CallOptions<Types.RegistryGitFilesRetrieveData>) => Promise<Blob | File>;
|
|
7390
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>;
|
|
7391
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>;
|
|
7392
7389
|
trees: {
|
|
7393
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>;
|
|
7394
7392
|
};
|
|
7395
7393
|
};
|
|
7394
|
+
gitCredential: {
|
|
7395
|
+
create: (options: import("./core/transport.js").CallOptions<Types.RegistryPackagesGitCredentialCreateData>) => Promise<Types.RegistryGitCredential>;
|
|
7396
|
+
};
|
|
7396
7397
|
installations: {
|
|
7397
7398
|
create: (options: import("./core/transport.js").CallOptions<Types.RegistryPackagesInstallationsCreateData>) => Promise<Types.RegistryInstallResult>;
|
|
7398
7399
|
list: (options: import("./core/transport.js").CallOptions<Types.RegistryPackagesInstallationsListData>) => Promise<Types.RegistryInstallationList>;
|
|
@@ -7424,6 +7425,79 @@ export declare function createRegistry(transport: Transport): {
|
|
|
7424
7425
|
};
|
|
7425
7426
|
};
|
|
7426
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
|
+
};
|
|
7427
7501
|
events: {
|
|
7428
7502
|
sandboxes: {
|
|
7429
7503
|
retrieve: (options: import("./core/transport.js").CallOptions<Types.GetSandboxEventsData>) => Promise<Types.SandboxSandboxEvent[]>;
|
|
@@ -7978,6 +8052,7 @@ export declare const resourceFactories: {
|
|
|
7978
8052
|
agent: typeof createAgent;
|
|
7979
8053
|
application: typeof createApplication;
|
|
7980
8054
|
automation: typeof createAutomation;
|
|
8055
|
+
billing: typeof createBilling;
|
|
7981
8056
|
browser: typeof createBrowser;
|
|
7982
8057
|
canvas: typeof createCanvas;
|
|
7983
8058
|
content: typeof createContent;
|
|
@@ -69,6 +69,7 @@ export function createAgent(transport) {
|
|
|
69
69
|
list: bind(transport, sdk.computersFilesList),
|
|
70
70
|
retrieveContent: bind(transport, sdk.computersFilesContent),
|
|
71
71
|
retrievePreview: bind(transport, sdk.previewComputerFile),
|
|
72
|
+
updateContent: bind(transport, sdk.updateComputerFileContent),
|
|
72
73
|
},
|
|
73
74
|
leases: {
|
|
74
75
|
delete: bind(transport, sdk.releaseComputerLease),
|
|
@@ -377,6 +378,13 @@ export function createAutomation(transport) {
|
|
|
377
378
|
},
|
|
378
379
|
};
|
|
379
380
|
}
|
|
381
|
+
export function createBilling(transport) {
|
|
382
|
+
return {
|
|
383
|
+
prices: {
|
|
384
|
+
list: bind(transport, sdk.listPublicPrices),
|
|
385
|
+
},
|
|
386
|
+
};
|
|
387
|
+
}
|
|
380
388
|
export function createBrowser(transport) {
|
|
381
389
|
return {
|
|
382
390
|
connect: {
|
|
@@ -692,6 +700,13 @@ export function createDevops(transport) {
|
|
|
692
700
|
create: bind(transport, sdk.devopsChangesCreate),
|
|
693
701
|
list: bind(transport, sdk.devopsChangesList),
|
|
694
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
|
+
},
|
|
695
710
|
environments: {
|
|
696
711
|
list: bind(transport, sdk.devopsEnvironmentsList),
|
|
697
712
|
targets: {
|
|
@@ -764,6 +779,7 @@ export function createDevops(transport) {
|
|
|
764
779
|
promotions: {
|
|
765
780
|
approve: bind(transport, sdk.devopsPromotionsApprove),
|
|
766
781
|
cancel: bind(transport, sdk.devopsPromotionsCancel),
|
|
782
|
+
checkoutCredential: bind(transport, sdk.devopsPromotionsCheckoutCredential),
|
|
767
783
|
conclude: bind(transport, sdk.devopsPromotionsConclude),
|
|
768
784
|
create: bind(transport, sdk.devopsPromotionsCreate),
|
|
769
785
|
retrieve: bind(transport, sdk.devopsPromotionsGet),
|
|
@@ -778,6 +794,9 @@ export function createDevops(transport) {
|
|
|
778
794
|
recordVerdict: bind(transport, sdk.devopsPullRequestsRecordVerdict),
|
|
779
795
|
rerunGate: bind(transport, sdk.devopsPullRequestsRerunGate),
|
|
780
796
|
retrieve: bind(transport, sdk.devopsPullRequestsGet),
|
|
797
|
+
reviews: {
|
|
798
|
+
create: bind(transport, sdk.devopsPullRequestsReviewsCreate),
|
|
799
|
+
},
|
|
781
800
|
},
|
|
782
801
|
releases: {
|
|
783
802
|
abandon: bind(transport, sdk.devopsReleasesAbandon),
|
|
@@ -1180,6 +1199,9 @@ export function createOrganization(transport) {
|
|
|
1180
1199
|
update: bind(transport, sdk.reorganizeOrganizationDepartment),
|
|
1181
1200
|
updateCharter: bind(transport, sdk.amendOrganizationDepartmentCharter),
|
|
1182
1201
|
},
|
|
1202
|
+
effectiveSpec: {
|
|
1203
|
+
retrieve: bind(transport, sdk.getOrganizationEffectiveSpec),
|
|
1204
|
+
},
|
|
1183
1205
|
events: {
|
|
1184
1206
|
list: bind(transport, sdk.listOrganizationEvents),
|
|
1185
1207
|
retrieve: bind(transport, sdk.getOrganizationEvent),
|
|
@@ -1266,6 +1288,29 @@ export function createOrganization(transport) {
|
|
|
1266
1288
|
updateLevel: bind(transport, sdk.regradeOrganizationPosition),
|
|
1267
1289
|
updateManager: bind(transport, sdk.reassignOrganizationPositionManager),
|
|
1268
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
|
+
},
|
|
1269
1314
|
usage: {
|
|
1270
1315
|
list: bind(transport, sdk.listOrganizationUsage),
|
|
1271
1316
|
},
|
|
@@ -1285,11 +1330,20 @@ export function createRegistry(transport) {
|
|
|
1285
1330
|
files: {
|
|
1286
1331
|
retrieve: bind(transport, sdk.registryGitFilesRetrieve),
|
|
1287
1332
|
},
|
|
1333
|
+
refs: {
|
|
1334
|
+
list: bind(transport, sdk.registryGitRefs),
|
|
1335
|
+
},
|
|
1336
|
+
retrieveCompare: bind(transport, sdk.registryGitCompare),
|
|
1288
1337
|
retrieveLog: bind(transport, sdk.registryGitLog),
|
|
1338
|
+
retrieveResolve: bind(transport, sdk.registryGitResolve),
|
|
1289
1339
|
trees: {
|
|
1290
1340
|
retrieve: bind(transport, sdk.registryGitTreesRetrieve),
|
|
1341
|
+
retrieveRecursive: bind(transport, sdk.registryGitTreesRecursive),
|
|
1291
1342
|
},
|
|
1292
1343
|
},
|
|
1344
|
+
gitCredential: {
|
|
1345
|
+
create: bind(transport, sdk.registryPackagesGitCredentialCreate),
|
|
1346
|
+
},
|
|
1293
1347
|
installations: {
|
|
1294
1348
|
create: bind(transport, sdk.registryPackagesInstallationsCreate),
|
|
1295
1349
|
list: bind(transport, sdk.registryPackagesInstallationsList),
|
|
@@ -1323,6 +1377,23 @@ export function createRegistry(transport) {
|
|
|
1323
1377
|
}
|
|
1324
1378
|
export function createSandbox(transport) {
|
|
1325
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
|
+
},
|
|
1326
1397
|
events: {
|
|
1327
1398
|
sandboxes: {
|
|
1328
1399
|
retrieve: bind(transport, sdk.getSandboxEvents),
|
|
@@ -1685,6 +1756,7 @@ export const resourceFactories = {
|
|
|
1685
1756
|
agent: createAgent,
|
|
1686
1757
|
application: createApplication,
|
|
1687
1758
|
automation: createAutomation,
|
|
1759
|
+
billing: createBilling,
|
|
1688
1760
|
browser: createBrowser,
|
|
1689
1761
|
canvas: createCanvas,
|
|
1690
1762
|
content: createContent,
|