@osdk/foundry.orchestration 2.17.0 → 2.19.0
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/CHANGELOG.md +26 -0
- package/build/browser/public/Build.d.ts +8 -28
- package/build/browser/public/Build.d.ts.map +1 -1
- package/build/browser/public/Build.js +8 -8
- package/build/browser/public/Build.js.map +1 -1
- package/build/esm/public/Build.d.ts +8 -28
- package/build/esm/public/Build.d.ts.map +1 -1
- package/build/esm/public/Build.js +8 -8
- package/build/esm/public/Build.js.map +1 -1
- package/package.json +6 -6
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,31 @@
|
|
|
1
1
|
# @osdk/foundry.orchestration
|
|
2
2
|
|
|
3
|
+
## 2.19.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- 539c731: Regenerate Platform SDKs
|
|
8
|
+
|
|
9
|
+
### Patch Changes
|
|
10
|
+
|
|
11
|
+
- Updated dependencies [539c731]
|
|
12
|
+
- @osdk/foundry.filesystem@2.19.0
|
|
13
|
+
- @osdk/foundry.datasets@2.19.0
|
|
14
|
+
- @osdk/foundry.core@2.19.0
|
|
15
|
+
|
|
16
|
+
## 2.18.0
|
|
17
|
+
|
|
18
|
+
### Minor Changes
|
|
19
|
+
|
|
20
|
+
- 98ec492: Update Platform SDKs
|
|
21
|
+
|
|
22
|
+
### Patch Changes
|
|
23
|
+
|
|
24
|
+
- Updated dependencies [98ec492]
|
|
25
|
+
- @osdk/foundry.filesystem@2.18.0
|
|
26
|
+
- @osdk/foundry.datasets@2.18.0
|
|
27
|
+
- @osdk/foundry.core@2.18.0
|
|
28
|
+
|
|
3
29
|
## 2.17.0
|
|
4
30
|
|
|
5
31
|
### Minor Changes
|
|
@@ -5,59 +5,39 @@ import type * as _Orchestration from "../_components.js";
|
|
|
5
5
|
/**
|
|
6
6
|
* Get the Build with the specified rid.
|
|
7
7
|
*
|
|
8
|
-
* @
|
|
8
|
+
* @public
|
|
9
9
|
*
|
|
10
10
|
* Required Scopes: [api:orchestration-read]
|
|
11
11
|
* URL: /v2/orchestration/builds/{buildRid}
|
|
12
12
|
*/
|
|
13
|
-
export declare function get($ctx: $Client | $ClientContext | $OldClient | $OldClientContext, ...args: [
|
|
14
|
-
buildRid: _Core.BuildRid,
|
|
15
|
-
$queryParams?: {
|
|
16
|
-
preview?: _Core.PreviewMode | undefined;
|
|
17
|
-
}
|
|
18
|
-
]): Promise<_Orchestration.Build>;
|
|
13
|
+
export declare function get($ctx: $Client | $ClientContext | $OldClient | $OldClientContext, ...args: [buildRid: _Core.BuildRid]): Promise<_Orchestration.Build>;
|
|
19
14
|
/**
|
|
20
15
|
* Execute multiple get requests on Build.
|
|
21
16
|
*
|
|
22
17
|
* The maximum batch size for this endpoint is 100.
|
|
23
18
|
*
|
|
24
|
-
* @
|
|
19
|
+
* @public
|
|
25
20
|
*
|
|
26
21
|
* Required Scopes: [api:orchestration-read]
|
|
27
22
|
* URL: /v2/orchestration/builds/getBatch
|
|
28
23
|
*/
|
|
29
|
-
export declare function getBatch($ctx: $Client | $ClientContext | $OldClient | $OldClientContext, ...args: [
|
|
30
|
-
$body: Array<_Orchestration.GetBuildsBatchRequestElement>,
|
|
31
|
-
$queryParams?: {
|
|
32
|
-
preview?: _Core.PreviewMode | undefined;
|
|
33
|
-
}
|
|
34
|
-
]): Promise<_Orchestration.GetBuildsBatchResponse>;
|
|
24
|
+
export declare function getBatch($ctx: $Client | $ClientContext | $OldClient | $OldClientContext, ...args: [$body: Array<_Orchestration.GetBuildsBatchRequestElement>]): Promise<_Orchestration.GetBuildsBatchResponse>;
|
|
35
25
|
/**
|
|
36
|
-
* @
|
|
26
|
+
* @public
|
|
37
27
|
*
|
|
38
28
|
* Required Scopes: [api:orchestration-write]
|
|
39
29
|
* URL: /v2/orchestration/builds/create
|
|
40
30
|
*/
|
|
41
|
-
export declare function create($ctx: $Client | $ClientContext | $OldClient | $OldClientContext, ...args: [
|
|
42
|
-
$body: _Orchestration.CreateBuildRequest,
|
|
43
|
-
$queryParams?: {
|
|
44
|
-
preview?: _Core.PreviewMode | undefined;
|
|
45
|
-
}
|
|
46
|
-
]): Promise<_Orchestration.Build>;
|
|
31
|
+
export declare function create($ctx: $Client | $ClientContext | $OldClient | $OldClientContext, ...args: [$body: _Orchestration.CreateBuildRequest]): Promise<_Orchestration.Build>;
|
|
47
32
|
/**
|
|
48
33
|
* Request a cancellation for all unfinished jobs in a build. The build's status will not update immediately. This endpoint is asynchronous and a success response indicates that the cancellation request has been acknowledged and the build is expected to be canceled soon. If the build has already finished or finishes shortly after the request and before the cancellation, the build will not change.
|
|
49
34
|
*
|
|
50
|
-
* @
|
|
35
|
+
* @public
|
|
51
36
|
*
|
|
52
37
|
* Required Scopes: [api:orchestration-write]
|
|
53
38
|
* URL: /v2/orchestration/builds/{buildRid}/cancel
|
|
54
39
|
*/
|
|
55
|
-
export declare function cancel($ctx: $Client | $ClientContext | $OldClient | $OldClientContext, ...args: [
|
|
56
|
-
buildRid: _Core.BuildRid,
|
|
57
|
-
$queryParams?: {
|
|
58
|
-
preview?: _Core.PreviewMode | undefined;
|
|
59
|
-
}
|
|
60
|
-
]): Promise<void>;
|
|
40
|
+
export declare function cancel($ctx: $Client | $ClientContext | $OldClient | $OldClientContext, ...args: [buildRid: _Core.BuildRid]): Promise<void>;
|
|
61
41
|
/**
|
|
62
42
|
* Search for Builds.
|
|
63
43
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Build.d.ts","sourceRoot":"","sources":["../../../src/public/Build.ts"],"names":[],"mappings":"AAgBA,OAAO,KAAK,KAAK,KAAK,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,EACV,YAAY,IAAI,UAAU,EAC1B,mBAAmB,IAAI,iBAAiB,EACzC,MAAM,qBAAqB,CAAC;AAC7B,OAAO,KAAK,EACV,YAAY,IAAI,OAAO,EACvB,mBAAmB,IAAI,cAAc,EACtC,MAAM,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,GAAG,IAAI,EAAE,CAAC,QAAQ,EAAE,KAAK,CAAC,QAAQ,CAAC,GAClC,OAAO,CAAC,IAAI,CAAC,CAEf;AASD;;;;;;;GAOG;AACH,wBAAgB,MAAM,CACpB,IAAI,EAAE,OAAO,GAAG,cAAc,GAAG,UAAU,GAAG,iBAAiB,EAC/D,GAAG,IAAI,EAAE;IACP,KAAK,EAAE,cAAc,CAAC,mBAAmB;IACzC,YAAY,CAAC,EAAE;QAAE,OAAO,CAAC,EAAE,KAAK,CAAC,WAAW,GAAG,SAAS,CAAA;KAAE;CAC3D,GACA,OAAO,CAAC,cAAc,CAAC,oBAAoB,CAAC,CAE9C;AAaD;;;;;;;GAOG;AACH,wBAAgB,IAAI,CAClB,IAAI,EAAE,OAAO,GAAG,cAAc,GAAG,UAAU,GAAG,iBAAiB,EAC/D,GAAG,IAAI,EAAE;IACP,QAAQ,EAAE,KAAK,CAAC,QAAQ;IAExB,YAAY,CAAC,EAAE;QACb,QAAQ,CAAC,EAAE,KAAK,CAAC,QAAQ,GAAG,SAAS,CAAC;QACtC,SAAS,CAAC,EAAE,KAAK,CAAC,SAAS,GAAG,SAAS,CAAC;QACxC,OAAO,CAAC,EAAE,KAAK,CAAC,WAAW,GAAG,SAAS,CAAC;KACzC;CACF,GACA,OAAO,CAAC,cAAc,CAAC,uBAAuB,CAAC,CAEjD"}
|
|
@@ -15,11 +15,11 @@
|
|
|
15
15
|
*/
|
|
16
16
|
import { foundryPlatformFetch as $foundryPlatformFetch } from "@osdk/shared.net.platformapi";
|
|
17
17
|
//
|
|
18
|
-
const _get = [0, "/v2/orchestration/builds/{0}"
|
|
18
|
+
const _get = [0, "/v2/orchestration/builds/{0}"];
|
|
19
19
|
/**
|
|
20
20
|
* Get the Build with the specified rid.
|
|
21
21
|
*
|
|
22
|
-
* @
|
|
22
|
+
* @public
|
|
23
23
|
*
|
|
24
24
|
* Required Scopes: [api:orchestration-read]
|
|
25
25
|
* URL: /v2/orchestration/builds/{buildRid}
|
|
@@ -27,13 +27,13 @@ const _get = [0, "/v2/orchestration/builds/{0}", 2];
|
|
|
27
27
|
export function get($ctx, ...args) {
|
|
28
28
|
return $foundryPlatformFetch($ctx, _get, ...args);
|
|
29
29
|
}
|
|
30
|
-
const _getBatch = [1, "/v2/orchestration/builds/getBatch",
|
|
30
|
+
const _getBatch = [1, "/v2/orchestration/builds/getBatch", 1];
|
|
31
31
|
/**
|
|
32
32
|
* Execute multiple get requests on Build.
|
|
33
33
|
*
|
|
34
34
|
* The maximum batch size for this endpoint is 100.
|
|
35
35
|
*
|
|
36
|
-
* @
|
|
36
|
+
* @public
|
|
37
37
|
*
|
|
38
38
|
* Required Scopes: [api:orchestration-read]
|
|
39
39
|
* URL: /v2/orchestration/builds/getBatch
|
|
@@ -41,9 +41,9 @@ const _getBatch = [1, "/v2/orchestration/builds/getBatch", 3];
|
|
|
41
41
|
export function getBatch($ctx, ...args) {
|
|
42
42
|
return $foundryPlatformFetch($ctx, _getBatch, ...args);
|
|
43
43
|
}
|
|
44
|
-
const _create = [1, "/v2/orchestration/builds/create",
|
|
44
|
+
const _create = [1, "/v2/orchestration/builds/create", 1];
|
|
45
45
|
/**
|
|
46
|
-
* @
|
|
46
|
+
* @public
|
|
47
47
|
*
|
|
48
48
|
* Required Scopes: [api:orchestration-write]
|
|
49
49
|
* URL: /v2/orchestration/builds/create
|
|
@@ -51,11 +51,11 @@ const _create = [1, "/v2/orchestration/builds/create", 3];
|
|
|
51
51
|
export function create($ctx, ...args) {
|
|
52
52
|
return $foundryPlatformFetch($ctx, _create, ...args);
|
|
53
53
|
}
|
|
54
|
-
const _cancel = [1, "/v2/orchestration/builds/{0}/cancel"
|
|
54
|
+
const _cancel = [1, "/v2/orchestration/builds/{0}/cancel"];
|
|
55
55
|
/**
|
|
56
56
|
* Request a cancellation for all unfinished jobs in a build. The build's status will not update immediately. This endpoint is asynchronous and a success response indicates that the cancellation request has been acknowledged and the build is expected to be canceled soon. If the build has already finished or finishes shortly after the request and before the cancellation, the build will not change.
|
|
57
57
|
*
|
|
58
|
-
* @
|
|
58
|
+
* @public
|
|
59
59
|
*
|
|
60
60
|
* Required Scopes: [api:orchestration-write]
|
|
61
61
|
* URL: /v2/orchestration/builds/{buildRid}/cancel
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Build.js","names":["foundryPlatformFetch","$foundryPlatformFetch","_get","get","$ctx","args","_getBatch","getBatch","_create","create","_cancel","cancel","_search","search","_jobs","jobs"],"sources":["Build.js"],"sourcesContent":["/*\n * Copyright 2024 Palantir Technologies, Inc. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nimport { foundryPlatformFetch as $foundryPlatformFetch } from \"@osdk/shared.net.platformapi\";\n//\nconst _get = [0, \"/v2/orchestration/builds/{0}\"
|
|
1
|
+
{"version":3,"file":"Build.js","names":["foundryPlatformFetch","$foundryPlatformFetch","_get","get","$ctx","args","_getBatch","getBatch","_create","create","_cancel","cancel","_search","search","_jobs","jobs"],"sources":["Build.js"],"sourcesContent":["/*\n * Copyright 2024 Palantir Technologies, Inc. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nimport { foundryPlatformFetch as $foundryPlatformFetch } from \"@osdk/shared.net.platformapi\";\n//\nconst _get = [0, \"/v2/orchestration/builds/{0}\"];\n/**\n * Get the Build with the specified rid.\n *\n * @public\n *\n * Required Scopes: [api:orchestration-read]\n * URL: /v2/orchestration/builds/{buildRid}\n */\nexport function get($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _get, ...args);\n}\nconst _getBatch = [1, \"/v2/orchestration/builds/getBatch\", 1];\n/**\n * Execute multiple get requests on Build.\n *\n * The maximum batch size for this endpoint is 100.\n *\n * @public\n *\n * Required Scopes: [api:orchestration-read]\n * URL: /v2/orchestration/builds/getBatch\n */\nexport function getBatch($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _getBatch, ...args);\n}\nconst _create = [1, \"/v2/orchestration/builds/create\", 1];\n/**\n * @public\n *\n * Required Scopes: [api:orchestration-write]\n * URL: /v2/orchestration/builds/create\n */\nexport function create($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _create, ...args);\n}\nconst _cancel = [1, \"/v2/orchestration/builds/{0}/cancel\"];\n/**\n * Request a cancellation for all unfinished jobs in a build. The build's status will not update immediately. This endpoint is asynchronous and a success response indicates that the cancellation request has been acknowledged and the build is expected to be canceled soon. If the build has already finished or finishes shortly after the request and before the cancellation, the build will not change.\n *\n * @public\n *\n * Required Scopes: [api:orchestration-write]\n * URL: /v2/orchestration/builds/{buildRid}/cancel\n */\nexport function cancel($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _cancel, ...args);\n}\nconst _search = [1, \"/v2/orchestration/builds/search\", 3];\n/**\n * Search for Builds.\n *\n * @alpha\n *\n * Required Scopes: [api:orchestration-read]\n * URL: /v2/orchestration/builds/search\n */\nexport function search($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _search, ...args);\n}\nconst _jobs = [0, \"/v2/orchestration/builds/{0}/jobs\", 2];\n/**\n * Get the Jobs in the Build.\n *\n * @beta\n *\n * Required Scopes: [api:orchestration-read]\n * URL: /v2/orchestration/builds/{buildRid}/jobs\n */\nexport function jobs($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _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AACA;AACA;AACA,OAAO,SAASC,MAAMA,CAACT,IAAI,EAAE,GAAGC,IAAI,EAAE;EAClC,OAAOJ,qBAAqB,CAACG,IAAI,EAAEQ,OAAO,EAAE,GAAGP,IAAI,CAAC;AACxD;AACA,MAAMS,KAAK,GAAG,CAAC,CAAC,EAAE,mCAAmC,EAAE,CAAC,CAAC;AACzD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,SAASC,IAAIA,CAACX,IAAI,EAAE,GAAGC,IAAI,EAAE;EAChC,OAAOJ,qBAAqB,CAACG,IAAI,EAAEU,KAAK,EAAE,GAAGT,IAAI,CAAC;AACtD","ignoreList":[]}
|
|
@@ -5,59 +5,39 @@ import type * as _Orchestration from "../_components.js";
|
|
|
5
5
|
/**
|
|
6
6
|
* Get the Build with the specified rid.
|
|
7
7
|
*
|
|
8
|
-
* @
|
|
8
|
+
* @public
|
|
9
9
|
*
|
|
10
10
|
* Required Scopes: [api:orchestration-read]
|
|
11
11
|
* URL: /v2/orchestration/builds/{buildRid}
|
|
12
12
|
*/
|
|
13
|
-
export declare function get($ctx: $Client | $ClientContext | $OldClient | $OldClientContext, ...args: [
|
|
14
|
-
buildRid: _Core.BuildRid,
|
|
15
|
-
$queryParams?: {
|
|
16
|
-
preview?: _Core.PreviewMode | undefined;
|
|
17
|
-
}
|
|
18
|
-
]): Promise<_Orchestration.Build>;
|
|
13
|
+
export declare function get($ctx: $Client | $ClientContext | $OldClient | $OldClientContext, ...args: [buildRid: _Core.BuildRid]): Promise<_Orchestration.Build>;
|
|
19
14
|
/**
|
|
20
15
|
* Execute multiple get requests on Build.
|
|
21
16
|
*
|
|
22
17
|
* The maximum batch size for this endpoint is 100.
|
|
23
18
|
*
|
|
24
|
-
* @
|
|
19
|
+
* @public
|
|
25
20
|
*
|
|
26
21
|
* Required Scopes: [api:orchestration-read]
|
|
27
22
|
* URL: /v2/orchestration/builds/getBatch
|
|
28
23
|
*/
|
|
29
|
-
export declare function getBatch($ctx: $Client | $ClientContext | $OldClient | $OldClientContext, ...args: [
|
|
30
|
-
$body: Array<_Orchestration.GetBuildsBatchRequestElement>,
|
|
31
|
-
$queryParams?: {
|
|
32
|
-
preview?: _Core.PreviewMode | undefined;
|
|
33
|
-
}
|
|
34
|
-
]): Promise<_Orchestration.GetBuildsBatchResponse>;
|
|
24
|
+
export declare function getBatch($ctx: $Client | $ClientContext | $OldClient | $OldClientContext, ...args: [$body: Array<_Orchestration.GetBuildsBatchRequestElement>]): Promise<_Orchestration.GetBuildsBatchResponse>;
|
|
35
25
|
/**
|
|
36
|
-
* @
|
|
26
|
+
* @public
|
|
37
27
|
*
|
|
38
28
|
* Required Scopes: [api:orchestration-write]
|
|
39
29
|
* URL: /v2/orchestration/builds/create
|
|
40
30
|
*/
|
|
41
|
-
export declare function create($ctx: $Client | $ClientContext | $OldClient | $OldClientContext, ...args: [
|
|
42
|
-
$body: _Orchestration.CreateBuildRequest,
|
|
43
|
-
$queryParams?: {
|
|
44
|
-
preview?: _Core.PreviewMode | undefined;
|
|
45
|
-
}
|
|
46
|
-
]): Promise<_Orchestration.Build>;
|
|
31
|
+
export declare function create($ctx: $Client | $ClientContext | $OldClient | $OldClientContext, ...args: [$body: _Orchestration.CreateBuildRequest]): Promise<_Orchestration.Build>;
|
|
47
32
|
/**
|
|
48
33
|
* Request a cancellation for all unfinished jobs in a build. The build's status will not update immediately. This endpoint is asynchronous and a success response indicates that the cancellation request has been acknowledged and the build is expected to be canceled soon. If the build has already finished or finishes shortly after the request and before the cancellation, the build will not change.
|
|
49
34
|
*
|
|
50
|
-
* @
|
|
35
|
+
* @public
|
|
51
36
|
*
|
|
52
37
|
* Required Scopes: [api:orchestration-write]
|
|
53
38
|
* URL: /v2/orchestration/builds/{buildRid}/cancel
|
|
54
39
|
*/
|
|
55
|
-
export declare function cancel($ctx: $Client | $ClientContext | $OldClient | $OldClientContext, ...args: [
|
|
56
|
-
buildRid: _Core.BuildRid,
|
|
57
|
-
$queryParams?: {
|
|
58
|
-
preview?: _Core.PreviewMode | undefined;
|
|
59
|
-
}
|
|
60
|
-
]): Promise<void>;
|
|
40
|
+
export declare function cancel($ctx: $Client | $ClientContext | $OldClient | $OldClientContext, ...args: [buildRid: _Core.BuildRid]): Promise<void>;
|
|
61
41
|
/**
|
|
62
42
|
* Search for Builds.
|
|
63
43
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Build.d.ts","sourceRoot":"","sources":["../../../src/public/Build.ts"],"names":[],"mappings":"AAgBA,OAAO,KAAK,KAAK,KAAK,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,EACV,YAAY,IAAI,UAAU,EAC1B,mBAAmB,IAAI,iBAAiB,EACzC,MAAM,qBAAqB,CAAC;AAC7B,OAAO,KAAK,EACV,YAAY,IAAI,OAAO,EACvB,mBAAmB,IAAI,cAAc,EACtC,MAAM,sBAAsB,CAAC;AAG9B,OAAO,KAAK,KAAK,cAAc,MAAM,mBAAmB,CAAC;
|
|
1
|
+
{"version":3,"file":"Build.d.ts","sourceRoot":"","sources":["../../../src/public/Build.ts"],"names":[],"mappings":"AAgBA,OAAO,KAAK,KAAK,KAAK,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,EACV,YAAY,IAAI,UAAU,EAC1B,mBAAmB,IAAI,iBAAiB,EACzC,MAAM,qBAAqB,CAAC;AAC7B,OAAO,KAAK,EACV,YAAY,IAAI,OAAO,EACvB,mBAAmB,IAAI,cAAc,EACtC,MAAM,sBAAsB,CAAC;AAG9B,OAAO,KAAK,KAAK,cAAc,MAAM,mBAAmB,CAAC;AAQzD;;;;;;;GAOG;AACH,wBAAgB,GAAG,CACjB,IAAI,EAAE,OAAO,GAAG,cAAc,GAAG,UAAU,GAAG,iBAAiB,EAC/D,GAAG,IAAI,EAAE,CAAC,QAAQ,EAAE,KAAK,CAAC,QAAQ,CAAC,GAClC,OAAO,CAAC,cAAc,CAAC,KAAK,CAAC,CAE/B;AAQD;;;;;;;;;GASG;AACH,w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AAC,SAAS,GAAG,SAAS,CAAC;QACxC,OAAO,CAAC,EAAE,KAAK,CAAC,WAAW,GAAG,SAAS,CAAC;KACzC;CACF,GACA,OAAO,CAAC,cAAc,CAAC,uBAAuB,CAAC,CAEjD"}
|
|
@@ -15,11 +15,11 @@
|
|
|
15
15
|
*/
|
|
16
16
|
import { foundryPlatformFetch as $foundryPlatformFetch } from "@osdk/shared.net.platformapi";
|
|
17
17
|
//
|
|
18
|
-
const _get = [0, "/v2/orchestration/builds/{0}"
|
|
18
|
+
const _get = [0, "/v2/orchestration/builds/{0}"];
|
|
19
19
|
/**
|
|
20
20
|
* Get the Build with the specified rid.
|
|
21
21
|
*
|
|
22
|
-
* @
|
|
22
|
+
* @public
|
|
23
23
|
*
|
|
24
24
|
* Required Scopes: [api:orchestration-read]
|
|
25
25
|
* URL: /v2/orchestration/builds/{buildRid}
|
|
@@ -27,13 +27,13 @@ const _get = [0, "/v2/orchestration/builds/{0}", 2];
|
|
|
27
27
|
export function get($ctx, ...args) {
|
|
28
28
|
return $foundryPlatformFetch($ctx, _get, ...args);
|
|
29
29
|
}
|
|
30
|
-
const _getBatch = [1, "/v2/orchestration/builds/getBatch",
|
|
30
|
+
const _getBatch = [1, "/v2/orchestration/builds/getBatch", 1];
|
|
31
31
|
/**
|
|
32
32
|
* Execute multiple get requests on Build.
|
|
33
33
|
*
|
|
34
34
|
* The maximum batch size for this endpoint is 100.
|
|
35
35
|
*
|
|
36
|
-
* @
|
|
36
|
+
* @public
|
|
37
37
|
*
|
|
38
38
|
* Required Scopes: [api:orchestration-read]
|
|
39
39
|
* URL: /v2/orchestration/builds/getBatch
|
|
@@ -41,9 +41,9 @@ const _getBatch = [1, "/v2/orchestration/builds/getBatch", 3];
|
|
|
41
41
|
export function getBatch($ctx, ...args) {
|
|
42
42
|
return $foundryPlatformFetch($ctx, _getBatch, ...args);
|
|
43
43
|
}
|
|
44
|
-
const _create = [1, "/v2/orchestration/builds/create",
|
|
44
|
+
const _create = [1, "/v2/orchestration/builds/create", 1];
|
|
45
45
|
/**
|
|
46
|
-
* @
|
|
46
|
+
* @public
|
|
47
47
|
*
|
|
48
48
|
* Required Scopes: [api:orchestration-write]
|
|
49
49
|
* URL: /v2/orchestration/builds/create
|
|
@@ -51,11 +51,11 @@ const _create = [1, "/v2/orchestration/builds/create", 3];
|
|
|
51
51
|
export function create($ctx, ...args) {
|
|
52
52
|
return $foundryPlatformFetch($ctx, _create, ...args);
|
|
53
53
|
}
|
|
54
|
-
const _cancel = [1, "/v2/orchestration/builds/{0}/cancel"
|
|
54
|
+
const _cancel = [1, "/v2/orchestration/builds/{0}/cancel"];
|
|
55
55
|
/**
|
|
56
56
|
* Request a cancellation for all unfinished jobs in a build. The build's status will not update immediately. This endpoint is asynchronous and a success response indicates that the cancellation request has been acknowledged and the build is expected to be canceled soon. If the build has already finished or finishes shortly after the request and before the cancellation, the build will not change.
|
|
57
57
|
*
|
|
58
|
-
* @
|
|
58
|
+
* @public
|
|
59
59
|
*
|
|
60
60
|
* Required Scopes: [api:orchestration-write]
|
|
61
61
|
* URL: /v2/orchestration/builds/{buildRid}/cancel
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Build.js","names":["foundryPlatformFetch","$foundryPlatformFetch","_get","get","$ctx","args","_getBatch","getBatch","_create","create","_cancel","cancel","_search","search","_jobs","jobs"],"sources":["Build.js"],"sourcesContent":["/*\n * Copyright 2024 Palantir Technologies, Inc. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nimport { foundryPlatformFetch as $foundryPlatformFetch } from \"@osdk/shared.net.platformapi\";\n//\nconst _get = [0, \"/v2/orchestration/builds/{0}\"
|
|
1
|
+
{"version":3,"file":"Build.js","names":["foundryPlatformFetch","$foundryPlatformFetch","_get","get","$ctx","args","_getBatch","getBatch","_create","create","_cancel","cancel","_search","search","_jobs","jobs"],"sources":["Build.js"],"sourcesContent":["/*\n * Copyright 2024 Palantir Technologies, Inc. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nimport { foundryPlatformFetch as $foundryPlatformFetch } from \"@osdk/shared.net.platformapi\";\n//\nconst _get = [0, \"/v2/orchestration/builds/{0}\"];\n/**\n * Get the Build with the specified rid.\n *\n * @public\n *\n * Required Scopes: [api:orchestration-read]\n * URL: /v2/orchestration/builds/{buildRid}\n */\nexport function get($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _get, ...args);\n}\nconst _getBatch = [1, \"/v2/orchestration/builds/getBatch\", 1];\n/**\n * Execute multiple get requests on Build.\n *\n * The maximum batch size for this endpoint is 100.\n *\n * @public\n *\n * Required Scopes: [api:orchestration-read]\n * URL: /v2/orchestration/builds/getBatch\n */\nexport function getBatch($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _getBatch, ...args);\n}\nconst _create = [1, \"/v2/orchestration/builds/create\", 1];\n/**\n * @public\n *\n * Required Scopes: [api:orchestration-write]\n * URL: /v2/orchestration/builds/create\n */\nexport function create($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _create, ...args);\n}\nconst _cancel = [1, \"/v2/orchestration/builds/{0}/cancel\"];\n/**\n * Request a cancellation for all unfinished jobs in a build. The build's status will not update immediately. This endpoint is asynchronous and a success response indicates that the cancellation request has been acknowledged and the build is expected to be canceled soon. If the build has already finished or finishes shortly after the request and before the cancellation, the build will not change.\n *\n * @public\n *\n * Required Scopes: [api:orchestration-write]\n * URL: /v2/orchestration/builds/{buildRid}/cancel\n */\nexport function cancel($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _cancel, ...args);\n}\nconst _search = [1, \"/v2/orchestration/builds/search\", 3];\n/**\n * Search for Builds.\n *\n * @alpha\n *\n * Required Scopes: [api:orchestration-read]\n * URL: /v2/orchestration/builds/search\n */\nexport function search($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _search, ...args);\n}\nconst _jobs = [0, \"/v2/orchestration/builds/{0}/jobs\", 2];\n/**\n * Get the Jobs in the Build.\n *\n * @beta\n *\n * Required Scopes: [api:orchestration-read]\n * URL: /v2/orchestration/builds/{buildRid}/jobs\n */\nexport function jobs($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _jobs, ...args);\n}\n"],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAASA,oBAAoB,IAAIC,qBAAqB,QAAQ,8BAA8B;AAC5F;AACA,MAAMC,IAAI,GAAG,CAAC,CAAC,EAAE,8BAA8B,CAAC;AAChD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,SAASC,GAAGA,CAACC,IAAI,EAAE,GAAGC,IAAI,EAAE;EAC/B,OAAOJ,qBAAqB,CAACG,IAAI,EAAEF,IAAI,EAAE,GAAGG,IAAI,CAAC;AACrD;AACA,MAAMC,SAAS,GAAG,CAAC,CAAC,EAAE,mCAAmC,EAAE,CAAC,CAAC;AAC7D;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,SAASC,QAAQA,CAACH,IAAI,EAAE,GAAGC,IAAI,EAAE;EACpC,OAAOJ,qBAAqB,CAACG,IAAI,EAAEE,SAAS,EAAE,GAAGD,IAAI,CAAC;AAC1D;AACA,MAAMG,OAAO,GAAG,CAAC,CAAC,EAAE,iCAAiC,EAAE,CAAC,CAAC;AACzD;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,SAASC,MAAMA,CAACL,IAAI,EAAE,GAAGC,IAAI,EAAE;EAClC,OAAOJ,qBAAqB,CAACG,IAAI,EAAEI,OAAO,EAAE,GAAGH,IAAI,CAAC;AACxD;AACA,MAAMK,OAAO,GAAG,CAAC,CAAC,EAAE,qCAAqC,CAAC;AAC1D;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,SAASC,MAAMA,CAACP,IAAI,EAAE,GAAGC,IAAI,EAAE;EAClC,OAAOJ,qBAAqB,CAACG,IAAI,EAAEM,OAAO,EAAE,GAAGL,IAAI,CAAC;AACxD;AACA,MAAMO,OAAO,GAAG,CAAC,CAAC,EAAE,iCAAiC,EAAE,CAAC,CAAC;AACzD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,SAASC,MAAMA,CAACT,IAAI,EAAE,GAAGC,IAAI,EAAE;EAClC,OAAOJ,qBAAqB,CAACG,IAAI,EAAEQ,OAAO,EAAE,GAAGP,IAAI,CAAC;AACxD;AACA,MAAMS,KAAK,GAAG,CAAC,CAAC,EAAE,mCAAmC,EAAE,CAAC,CAAC;AACzD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,SAASC,IAAIA,CAACX,IAAI,EAAE,GAAGC,IAAI,EAAE;EAChC,OAAOJ,qBAAqB,CAACG,IAAI,EAAEU,KAAK,EAAE,GAAGT,IAAI,CAAC;AACtD","ignoreList":[]}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@osdk/foundry.orchestration",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.19.0",
|
|
4
4
|
"license": "Apache-2.0",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -21,10 +21,10 @@
|
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@osdk/shared.client": "^1.0.1",
|
|
23
23
|
"@osdk/shared.client2": "^1.0.0",
|
|
24
|
-
"@osdk/foundry.core": "2.
|
|
25
|
-
"@osdk/foundry.filesystem": "2.
|
|
26
|
-
"@osdk/
|
|
27
|
-
"@osdk/
|
|
24
|
+
"@osdk/foundry.core": "2.19.0",
|
|
25
|
+
"@osdk/foundry.filesystem": "2.19.0",
|
|
26
|
+
"@osdk/shared.net.platformapi": "~1.3.0",
|
|
27
|
+
"@osdk/foundry.datasets": "2.19.0"
|
|
28
28
|
},
|
|
29
29
|
"devDependencies": {
|
|
30
30
|
"typescript": "^5.5.4",
|
|
@@ -47,7 +47,7 @@
|
|
|
47
47
|
"sls": {
|
|
48
48
|
"dependencies": {
|
|
49
49
|
"com.palantir.foundry.api:api-gateway": {
|
|
50
|
-
"minVersion": "1.
|
|
50
|
+
"minVersion": "1.1150.0",
|
|
51
51
|
"maxVersion": "1.x.x",
|
|
52
52
|
"optional": false
|
|
53
53
|
}
|