@deepraxis/sdk 0.1.1-dev.1571058 → 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 +37 -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 +89 -21
- package/dist/generated/sdk.gen.js +201 -20
- package/dist/generated/types.gen.d.ts +1537 -110
- package/dist/operations.generated.d.ts +1 -0
- package/dist/operations.generated.js +636 -32
- package/dist/resources.generated.d.ts +30 -2
- package/dist/resources.generated.js +21 -0
- package/package.json +1 -1
|
@@ -1154,6 +1154,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
1154
1154
|
enabled: boolean;
|
|
1155
1155
|
daily_session_cap: number | null;
|
|
1156
1156
|
daily_spend_cap_micro_usd: number | null;
|
|
1157
|
+
currency?: "USD" | "CNY" | null;
|
|
1157
1158
|
};
|
|
1158
1159
|
}>;
|
|
1159
1160
|
unarchive: {
|
|
@@ -1726,6 +1727,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
1726
1727
|
enabled: boolean;
|
|
1727
1728
|
daily_session_cap: number | null;
|
|
1728
1729
|
daily_spend_cap_micro_usd: number | null;
|
|
1730
|
+
currency?: "USD" | "CNY" | null;
|
|
1729
1731
|
};
|
|
1730
1732
|
}>;
|
|
1731
1733
|
versions: {
|
|
@@ -2374,6 +2376,12 @@ export declare function createAgent(transport: Transport): {
|
|
|
2374
2376
|
fallback?: "content";
|
|
2375
2377
|
skipped?: boolean;
|
|
2376
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
|
+
}>;
|
|
2377
2385
|
};
|
|
2378
2386
|
leases: {
|
|
2379
2387
|
delete: (options: import("./core/transport.js").CallOptions<Types.ReleaseComputerLeaseData>) => Promise<{
|
|
@@ -6021,6 +6029,13 @@ export declare function createDevops(transport: Transport): {
|
|
|
6021
6029
|
create: (options: import("./core/transport.js").CallOptions<Types.DevopsChangesCreateData>) => Promise<Types.DevopsChange>;
|
|
6022
6030
|
list: (options: import("./core/transport.js").CallOptions<Types.DevopsChangesListData>) => Promise<Types.DevopsChangePage>;
|
|
6023
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
|
+
};
|
|
6024
6039
|
environments: {
|
|
6025
6040
|
list: (options: import("./core/transport.js").CallOptions<Types.DevopsEnvironmentsListData>) => Promise<Types.DevopsEnvironmentList>;
|
|
6026
6041
|
targets: {
|
|
@@ -6093,6 +6108,7 @@ export declare function createDevops(transport: Transport): {
|
|
|
6093
6108
|
promotions: {
|
|
6094
6109
|
approve: (options: import("./core/transport.js").CallOptions<Types.DevopsPromotionsApproveData>) => Promise<Types.DevopsPromotion>;
|
|
6095
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>;
|
|
6096
6112
|
conclude: (options: import("./core/transport.js").CallOptions<Types.DevopsPromotionsConcludeData>) => Promise<Types.DevopsPromotion>;
|
|
6097
6113
|
create: (options: import("./core/transport.js").CallOptions<Types.DevopsPromotionsCreateData>) => Promise<Types.DevopsPromotion>;
|
|
6098
6114
|
retrieve: (options: import("./core/transport.js").CallOptions<Types.DevopsPromotionsGetData>) => Promise<Types.DevopsPromotion>;
|
|
@@ -6107,6 +6123,9 @@ export declare function createDevops(transport: Transport): {
|
|
|
6107
6123
|
recordVerdict: (options: import("./core/transport.js").CallOptions<Types.DevopsPullRequestsRecordVerdictData>) => Promise<Types.DevopsPullRequest>;
|
|
6108
6124
|
rerunGate: (options: import("./core/transport.js").CallOptions<Types.DevopsPullRequestsRerunGateData>) => Promise<Types.DevopsPullRequest>;
|
|
6109
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
|
+
};
|
|
6110
6129
|
};
|
|
6111
6130
|
releases: {
|
|
6112
6131
|
abandon: (options: import("./core/transport.js").CallOptions<Types.DevopsReleasesAbandonData>) => Promise<Types.DevopsRelease>;
|
|
@@ -7313,6 +7332,9 @@ export declare function createOrganization(transport: Transport): {
|
|
|
7313
7332
|
list: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationReconcileStatusData>) => Promise<Types.OrganizationReconcileStatus>;
|
|
7314
7333
|
};
|
|
7315
7334
|
};
|
|
7335
|
+
specSchema: {
|
|
7336
|
+
retrieve: (options?: import("./core/transport.js").CallOptions<Types.GetOrganizationSpecSchemaData> | undefined) => Promise<Types.OrganizationSpecSchema>;
|
|
7337
|
+
};
|
|
7316
7338
|
specs: {
|
|
7317
7339
|
list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationSpecsData> | undefined) => Promise<Types.OrganizationSpecList>;
|
|
7318
7340
|
retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationSpecData>) => Promise<Types.OrganizationSpec>;
|
|
@@ -7320,7 +7342,7 @@ export declare function createOrganization(transport: Transport): {
|
|
|
7320
7342
|
revisions: {
|
|
7321
7343
|
list: (options: import("./core/transport.js").CallOptions<Types.ListOrganizationSpecRevisionsData>) => Promise<Types.OrganizationSpecRevisionList>;
|
|
7322
7344
|
};
|
|
7323
|
-
update: (options: import("./core/transport.js").CallOptions<Types.ReviseOrganizationSpecData>) => Promise<Types.OrganizationSpec>;
|
|
7345
|
+
update: (options: import("./core/transport.js").CallOptions<Types.ReviseOrganizationSpecData>) => Promise<Types.OrganizationSpec | Types.OrganizationSpecDryRun>;
|
|
7324
7346
|
};
|
|
7325
7347
|
usage: {
|
|
7326
7348
|
list: (options: import("./core/transport.js").CallOptions<Types.ListOrganizationUsageData>) => Promise<{
|
|
@@ -7353,14 +7375,20 @@ export declare function createRegistry(transport: Transport): {
|
|
|
7353
7375
|
packages: {
|
|
7354
7376
|
git: {
|
|
7355
7377
|
commits: {
|
|
7356
|
-
retrieve: (options: import("./core/transport.js").CallOptions<Types.RegistryGitCommitsRetrieveData>) => Promise<Types.
|
|
7378
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.RegistryGitCommitsRetrieveData>) => Promise<Types.RegistryGitCommitDetail>;
|
|
7357
7379
|
};
|
|
7358
7380
|
files: {
|
|
7359
7381
|
retrieve: (options: import("./core/transport.js").CallOptions<Types.RegistryGitFilesRetrieveData>) => Promise<Blob | File>;
|
|
7360
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>;
|
|
7361
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>;
|
|
7362
7389
|
trees: {
|
|
7363
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>;
|
|
7364
7392
|
};
|
|
7365
7393
|
};
|
|
7366
7394
|
gitCredential: {
|
|
@@ -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),
|
|
@@ -699,6 +700,13 @@ export function createDevops(transport) {
|
|
|
699
700
|
create: bind(transport, sdk.devopsChangesCreate),
|
|
700
701
|
list: bind(transport, sdk.devopsChangesList),
|
|
701
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
|
+
},
|
|
702
710
|
environments: {
|
|
703
711
|
list: bind(transport, sdk.devopsEnvironmentsList),
|
|
704
712
|
targets: {
|
|
@@ -771,6 +779,7 @@ export function createDevops(transport) {
|
|
|
771
779
|
promotions: {
|
|
772
780
|
approve: bind(transport, sdk.devopsPromotionsApprove),
|
|
773
781
|
cancel: bind(transport, sdk.devopsPromotionsCancel),
|
|
782
|
+
checkoutCredential: bind(transport, sdk.devopsPromotionsCheckoutCredential),
|
|
774
783
|
conclude: bind(transport, sdk.devopsPromotionsConclude),
|
|
775
784
|
create: bind(transport, sdk.devopsPromotionsCreate),
|
|
776
785
|
retrieve: bind(transport, sdk.devopsPromotionsGet),
|
|
@@ -785,6 +794,9 @@ export function createDevops(transport) {
|
|
|
785
794
|
recordVerdict: bind(transport, sdk.devopsPullRequestsRecordVerdict),
|
|
786
795
|
rerunGate: bind(transport, sdk.devopsPullRequestsRerunGate),
|
|
787
796
|
retrieve: bind(transport, sdk.devopsPullRequestsGet),
|
|
797
|
+
reviews: {
|
|
798
|
+
create: bind(transport, sdk.devopsPullRequestsReviewsCreate),
|
|
799
|
+
},
|
|
788
800
|
},
|
|
789
801
|
releases: {
|
|
790
802
|
abandon: bind(transport, sdk.devopsReleasesAbandon),
|
|
@@ -1287,6 +1299,9 @@ export function createOrganization(transport) {
|
|
|
1287
1299
|
list: bind(transport, sdk.getOrganizationReconcileStatus),
|
|
1288
1300
|
},
|
|
1289
1301
|
},
|
|
1302
|
+
specSchema: {
|
|
1303
|
+
retrieve: bind(transport, sdk.getOrganizationSpecSchema),
|
|
1304
|
+
},
|
|
1290
1305
|
specs: {
|
|
1291
1306
|
list: bind(transport, sdk.listOrganizationSpecs),
|
|
1292
1307
|
retrieve: bind(transport, sdk.getOrganizationSpec),
|
|
@@ -1315,9 +1330,15 @@ export function createRegistry(transport) {
|
|
|
1315
1330
|
files: {
|
|
1316
1331
|
retrieve: bind(transport, sdk.registryGitFilesRetrieve),
|
|
1317
1332
|
},
|
|
1333
|
+
refs: {
|
|
1334
|
+
list: bind(transport, sdk.registryGitRefs),
|
|
1335
|
+
},
|
|
1336
|
+
retrieveCompare: bind(transport, sdk.registryGitCompare),
|
|
1318
1337
|
retrieveLog: bind(transport, sdk.registryGitLog),
|
|
1338
|
+
retrieveResolve: bind(transport, sdk.registryGitResolve),
|
|
1319
1339
|
trees: {
|
|
1320
1340
|
retrieve: bind(transport, sdk.registryGitTreesRetrieve),
|
|
1341
|
+
retrieveRecursive: bind(transport, sdk.registryGitTreesRecursive),
|
|
1321
1342
|
},
|
|
1322
1343
|
},
|
|
1323
1344
|
gitCredential: {
|