@osdk/foundry.models 2.48.0 → 2.50.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 +24 -0
- package/build/browser/_components.d.ts +588 -0
- package/build/browser/_components.d.ts.map +1 -1
- package/build/browser/_errors.d.ts +230 -0
- package/build/browser/_errors.d.ts.map +1 -1
- package/build/browser/index.d.ts +6 -2
- package/build/browser/index.d.ts.map +1 -1
- package/build/browser/index.js +4 -0
- package/build/browser/index.js.map +1 -1
- package/build/browser/public/Experiment.d.ts +37 -0
- package/build/browser/public/Experiment.d.ts.map +1 -0
- package/build/browser/public/Experiment.js +44 -0
- package/build/browser/public/Experiment.js.map +1 -0
- package/build/browser/public/ExperimentArtifactTable.d.ts +41 -0
- package/build/browser/public/ExperimentArtifactTable.d.ts.map +1 -0
- package/build/browser/public/ExperimentArtifactTable.js +44 -0
- package/build/browser/public/ExperimentArtifactTable.js.map +1 -0
- package/build/browser/public/ExperimentSeries.d.ts +40 -0
- package/build/browser/public/ExperimentSeries.d.ts.map +1 -0
- package/build/browser/public/ExperimentSeries.js +43 -0
- package/build/browser/public/ExperimentSeries.js.map +1 -0
- package/build/browser/public/LiveDeployment.d.ts +20 -0
- package/build/browser/public/LiveDeployment.d.ts.map +1 -0
- package/build/browser/public/LiveDeployment.js +30 -0
- package/build/browser/public/LiveDeployment.js.map +1 -0
- package/build/browser/public/Model.d.ts +2 -2
- package/build/browser/public/Model.js +2 -2
- package/build/browser/public/Model.js.map +1 -1
- package/build/browser/public/ModelStudioTrainer.d.ts +3 -7
- package/build/browser/public/ModelStudioTrainer.d.ts.map +1 -1
- package/build/browser/public/ModelVersion.d.ts +2 -2
- package/build/browser/public/ModelVersion.js +2 -2
- package/build/browser/public/ModelVersion.js.map +1 -1
- package/build/esm/_components.d.ts +588 -0
- package/build/esm/_components.d.ts.map +1 -1
- package/build/esm/_errors.d.ts +230 -0
- package/build/esm/_errors.d.ts.map +1 -1
- package/build/esm/index.d.ts +6 -2
- package/build/esm/index.d.ts.map +1 -1
- package/build/esm/index.js +4 -0
- package/build/esm/index.js.map +1 -1
- package/build/esm/public/Experiment.d.ts +37 -0
- package/build/esm/public/Experiment.d.ts.map +1 -0
- package/build/esm/public/Experiment.js +44 -0
- package/build/esm/public/Experiment.js.map +1 -0
- package/build/esm/public/ExperimentArtifactTable.d.ts +41 -0
- package/build/esm/public/ExperimentArtifactTable.d.ts.map +1 -0
- package/build/esm/public/ExperimentArtifactTable.js +44 -0
- package/build/esm/public/ExperimentArtifactTable.js.map +1 -0
- package/build/esm/public/ExperimentSeries.d.ts +40 -0
- package/build/esm/public/ExperimentSeries.d.ts.map +1 -0
- package/build/esm/public/ExperimentSeries.js +43 -0
- package/build/esm/public/ExperimentSeries.js.map +1 -0
- package/build/esm/public/LiveDeployment.d.ts +20 -0
- package/build/esm/public/LiveDeployment.d.ts.map +1 -0
- package/build/esm/public/LiveDeployment.js +30 -0
- package/build/esm/public/LiveDeployment.js.map +1 -0
- package/build/esm/public/Model.d.ts +2 -2
- package/build/esm/public/Model.js +2 -2
- package/build/esm/public/Model.js.map +1 -1
- package/build/esm/public/ModelStudioTrainer.d.ts +3 -7
- package/build/esm/public/ModelStudioTrainer.d.ts.map +1 -1
- package/build/esm/public/ModelVersion.d.ts +2 -2
- package/build/esm/public/ModelVersion.js +2 -2
- package/build/esm/public/ModelVersion.js.map +1 -1
- package/package.json +5 -5
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ExperimentSeries.d.ts","sourceRoot":"","sources":["../../../src/public/ExperimentSeries.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,OAAO,MAAM,mBAAmB,CAAC;AAiBlD;;;;;;;;GAQG;AACH,wBAAgB,IAAI,CAClB,IAAI,EAAE,OAAO,GAAG,cAAc,GAAG,UAAU,GAAG,iBAAiB,EAC/D,GAAG,IAAI,EAAE;IACP,QAAQ,EAAE,OAAO,CAAC,QAAQ;IAC1B,aAAa,EAAE,OAAO,CAAC,aAAa;IACpC,oBAAoB,EAAE,OAAO,CAAC,UAAU;IAExC,YAAY,CAAC,EAAE;QACb,QAAQ,CAAC,EAAE,KAAK,CAAC,QAAQ,GAAG,SAAS,CAAC;QACtC,MAAM,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;QAC5B,OAAO,CAAC,EAAE,KAAK,CAAC,WAAW,GAAG,SAAS,CAAC;KACzC;CACF,GACA,OAAO,CAAC,OAAO,CAAC,MAAM,CAAC,CAEzB;AAiBD;;;;;;;GAOG;AACH,wBAAgB,OAAO,CACrB,IAAI,EAAE,OAAO,GAAG,cAAc,GAAG,UAAU,GAAG,iBAAiB,EAC/D,GAAG,IAAI,EAAE;IACP,QAAQ,EAAE,OAAO,CAAC,QAAQ;IAC1B,aAAa,EAAE,OAAO,CAAC,aAAa;IACpC,oBAAoB,EAAE,OAAO,CAAC,UAAU;IAExC,YAAY,CAAC,EAAE;QAAE,OAAO,CAAC,EAAE,KAAK,CAAC,WAAW,GAAG,SAAS,CAAA;KAAE;CAC3D,GACA,OAAO,CAAC,QAAQ,CAAC,CAEnB"}
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright 2024 Palantir Technologies, Inc. All rights reserved.
|
|
3
|
+
*
|
|
4
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
+
* you may not use this file except in compliance with the License.
|
|
6
|
+
* You may obtain a copy of the License at
|
|
7
|
+
*
|
|
8
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
+
*
|
|
10
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
11
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
+
* See the License for the specific language governing permissions and
|
|
14
|
+
* limitations under the License.
|
|
15
|
+
*/
|
|
16
|
+
import { foundryPlatformFetch as $foundryPlatformFetch } from "@osdk/shared.net.platformapi";
|
|
17
|
+
//
|
|
18
|
+
const _json = [0, "/v2/models/{0}/experiments/{1}/series/{2}/json", 2];
|
|
19
|
+
/**
|
|
20
|
+
* Retrieve raw time-series data for a single series in JSON format.
|
|
21
|
+
* Results are paginated with a default page size of 200 and a maximum of 1000.
|
|
22
|
+
*
|
|
23
|
+
* @alpha
|
|
24
|
+
*
|
|
25
|
+
* Required Scopes: [api:models-read]
|
|
26
|
+
* URL: /v2/models/{modelRid}/experiments/{experimentRid}/series/{experimentSeriesName}/json
|
|
27
|
+
*/
|
|
28
|
+
export function json($ctx, ...args) {
|
|
29
|
+
return $foundryPlatformFetch($ctx, _json, ...args);
|
|
30
|
+
}
|
|
31
|
+
const _parquet = [0, "/v2/models/{0}/experiments/{1}/series/{2}/parquet", 2,, "application/octet-stream"];
|
|
32
|
+
/**
|
|
33
|
+
* Retrieve raw time-series data for a single series as a streamed binary response in Apache Parquet format.
|
|
34
|
+
*
|
|
35
|
+
* @alpha
|
|
36
|
+
*
|
|
37
|
+
* Required Scopes: [api:models-read]
|
|
38
|
+
* URL: /v2/models/{modelRid}/experiments/{experimentRid}/series/{experimentSeriesName}/parquet
|
|
39
|
+
*/
|
|
40
|
+
export function parquet($ctx, ...args) {
|
|
41
|
+
return $foundryPlatformFetch($ctx, _parquet, ...args);
|
|
42
|
+
}
|
|
43
|
+
//# sourceMappingURL=ExperimentSeries.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ExperimentSeries.js","names":["foundryPlatformFetch","$foundryPlatformFetch","_json","json","$ctx","args","_parquet","parquet"],"sources":["ExperimentSeries.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 _json = [0, \"/v2/models/{0}/experiments/{1}/series/{2}/json\", 2];\n/**\n * Retrieve raw time-series data for a single series in JSON format.\n * Results are paginated with a default page size of 200 and a maximum of 1000.\n *\n * @alpha\n *\n * Required Scopes: [api:models-read]\n * URL: /v2/models/{modelRid}/experiments/{experimentRid}/series/{experimentSeriesName}/json\n */\nexport function json($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _json, ...args);\n}\nconst _parquet = [\n 0,\n \"/v2/models/{0}/experiments/{1}/series/{2}/parquet\",\n 2,\n ,\n \"application/octet-stream\",\n];\n/**\n * Retrieve raw time-series data for a single series as a streamed binary response in Apache Parquet format.\n *\n * @alpha\n *\n * Required Scopes: [api:models-read]\n * URL: /v2/models/{modelRid}/experiments/{experimentRid}/series/{experimentSeriesName}/parquet\n */\nexport function parquet($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _parquet, ...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,KAAK,GAAG,CAAC,CAAC,EAAE,gDAAgD,EAAE,CAAC,CAAC;AACtE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,SAASC,IAAIA,CAACC,IAAI,EAAE,GAAGC,IAAI,EAAE;EAChC,OAAOJ,qBAAqB,CAACG,IAAI,EAAEF,KAAK,EAAE,GAAGG,IAAI,CAAC;AACtD;AACA,MAAMC,QAAQ,GAAG,CACb,CAAC,EACD,mDAAmD,EACnD,CAAC,GAED,0BAA0B,CAC7B;AACD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,SAASC,OAAOA,CAACH,IAAI,EAAE,GAAGC,IAAI,EAAE;EACnC,OAAOJ,qBAAqB,CAACG,IAAI,EAAEE,QAAQ,EAAE,GAAGD,IAAI,CAAC;AACzD","ignoreList":[]}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import type * as _Core from "@osdk/foundry.core";
|
|
2
|
+
import type { SharedClient as $OldClient, SharedClientContext as $OldClientContext } from "@osdk/shared.client";
|
|
3
|
+
import type { SharedClient as $Client, SharedClientContext as $ClientContext } from "@osdk/shared.client2";
|
|
4
|
+
import type * as _Models from "../_components.js";
|
|
5
|
+
/**
|
|
6
|
+
* Performs inference on the live deployment.
|
|
7
|
+
*
|
|
8
|
+
* @beta
|
|
9
|
+
*
|
|
10
|
+
* Required Scopes: [api:models-execute]
|
|
11
|
+
* URL: /v2/models/liveDeployments/{liveDeploymentRid}/transformJson
|
|
12
|
+
*/
|
|
13
|
+
export declare function transformJson($ctx: $Client | $ClientContext | $OldClient | $OldClientContext, ...args: [
|
|
14
|
+
liveDeploymentRid: _Models.LiveDeploymentRid,
|
|
15
|
+
$body: _Models.TransformJsonLiveDeploymentRequest,
|
|
16
|
+
$queryParams?: {
|
|
17
|
+
preview?: _Core.PreviewMode | undefined;
|
|
18
|
+
}
|
|
19
|
+
]): Promise<_Models.TransformLiveDeploymentResponse>;
|
|
20
|
+
//# sourceMappingURL=LiveDeployment.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"LiveDeployment.d.ts","sourceRoot":"","sources":["../../../src/public/LiveDeployment.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,OAAO,MAAM,mBAAmB,CAAC;AAYlD;;;;;;;GAOG;AACH,wBAAgB,aAAa,CAC3B,IAAI,EAAE,OAAO,GAAG,cAAc,GAAG,UAAU,GAAG,iBAAiB,EAC/D,GAAG,IAAI,EAAE;IACP,iBAAiB,EAAE,OAAO,CAAC,iBAAiB;IAC5C,KAAK,EAAE,OAAO,CAAC,kCAAkC;IACjD,YAAY,CAAC,EAAE;QAAE,OAAO,CAAC,EAAE,KAAK,CAAC,WAAW,GAAG,SAAS,CAAA;KAAE;CAC3D,GACA,OAAO,CAAC,OAAO,CAAC,+BAA+B,CAAC,CAElD"}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright 2024 Palantir Technologies, Inc. All rights reserved.
|
|
3
|
+
*
|
|
4
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
+
* you may not use this file except in compliance with the License.
|
|
6
|
+
* You may obtain a copy of the License at
|
|
7
|
+
*
|
|
8
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
+
*
|
|
10
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
11
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
+
* See the License for the specific language governing permissions and
|
|
14
|
+
* limitations under the License.
|
|
15
|
+
*/
|
|
16
|
+
import { foundryPlatformFetch as $foundryPlatformFetch } from "@osdk/shared.net.platformapi";
|
|
17
|
+
//
|
|
18
|
+
const _transformJson = [1, "/v2/models/liveDeployments/{0}/transformJson", 3];
|
|
19
|
+
/**
|
|
20
|
+
* Performs inference on the live deployment.
|
|
21
|
+
*
|
|
22
|
+
* @beta
|
|
23
|
+
*
|
|
24
|
+
* Required Scopes: [api:models-execute]
|
|
25
|
+
* URL: /v2/models/liveDeployments/{liveDeploymentRid}/transformJson
|
|
26
|
+
*/
|
|
27
|
+
export function transformJson($ctx, ...args) {
|
|
28
|
+
return $foundryPlatformFetch($ctx, _transformJson, ...args);
|
|
29
|
+
}
|
|
30
|
+
//# sourceMappingURL=LiveDeployment.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"LiveDeployment.js","names":["foundryPlatformFetch","$foundryPlatformFetch","_transformJson","transformJson","$ctx","args"],"sources":["LiveDeployment.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 _transformJson = [1, \"/v2/models/liveDeployments/{0}/transformJson\", 3];\n/**\n * Performs inference on the live deployment.\n *\n * @beta\n *\n * Required Scopes: [api:models-execute]\n * URL: /v2/models/liveDeployments/{liveDeploymentRid}/transformJson\n */\nexport function transformJson($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _transformJson, ...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,cAAc,GAAG,CAAC,CAAC,EAAE,8CAA8C,EAAE,CAAC,CAAC;AAC7E;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,SAASC,aAAaA,CAACC,IAAI,EAAE,GAAGC,IAAI,EAAE;EACzC,OAAOJ,qBAAqB,CAACG,IAAI,EAAEF,cAAc,EAAE,GAAGG,IAAI,CAAC;AAC/D","ignoreList":[]}
|
|
@@ -5,7 +5,7 @@ import type * as _Models from "../_components.js";
|
|
|
5
5
|
/**
|
|
6
6
|
* Creates a new Model with no versions.
|
|
7
7
|
*
|
|
8
|
-
* @
|
|
8
|
+
* @beta
|
|
9
9
|
*
|
|
10
10
|
* Required Scopes: [api:models-write]
|
|
11
11
|
* URL: /v2/models
|
|
@@ -19,7 +19,7 @@ export declare function create($ctx: $Client | $ClientContext | $OldClient | $Ol
|
|
|
19
19
|
/**
|
|
20
20
|
* Retrieves a Model by its Resource Identifier (RID).
|
|
21
21
|
*
|
|
22
|
-
* @
|
|
22
|
+
* @beta
|
|
23
23
|
*
|
|
24
24
|
* Required Scopes: [api:models-read]
|
|
25
25
|
* URL: /v2/models/{modelRid}
|
|
@@ -19,7 +19,7 @@ const _create = [1, "/v2/models", 3];
|
|
|
19
19
|
/**
|
|
20
20
|
* Creates a new Model with no versions.
|
|
21
21
|
*
|
|
22
|
-
* @
|
|
22
|
+
* @beta
|
|
23
23
|
*
|
|
24
24
|
* Required Scopes: [api:models-write]
|
|
25
25
|
* URL: /v2/models
|
|
@@ -31,7 +31,7 @@ const _get = [0, "/v2/models/{0}", 2];
|
|
|
31
31
|
/**
|
|
32
32
|
* Retrieves a Model by its Resource Identifier (RID).
|
|
33
33
|
*
|
|
34
|
-
* @
|
|
34
|
+
* @beta
|
|
35
35
|
*
|
|
36
36
|
* Required Scopes: [api:models-read]
|
|
37
37
|
* URL: /v2/models/{modelRid}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Model.js","names":["foundryPlatformFetch","$foundryPlatformFetch","_create","create","$ctx","args","_get","get"],"sources":["Model.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 _create = [1, \"/v2/models\", 3];\n/**\n * Creates a new Model with no versions.\n *\n * @
|
|
1
|
+
{"version":3,"file":"Model.js","names":["foundryPlatformFetch","$foundryPlatformFetch","_create","create","$ctx","args","_get","get"],"sources":["Model.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 _create = [1, \"/v2/models\", 3];\n/**\n * Creates a new Model with no versions.\n *\n * @beta\n *\n * Required Scopes: [api:models-write]\n * URL: /v2/models\n */\nexport function create($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _create, ...args);\n}\nconst _get = [0, \"/v2/models/{0}\", 2];\n/**\n * Retrieves a Model by its Resource Identifier (RID).\n *\n * @beta\n *\n * Required Scopes: [api:models-read]\n * URL: /v2/models/{modelRid}\n */\nexport function get($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _get, ...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,OAAO,GAAG,CAAC,CAAC,EAAE,YAAY,EAAE,CAAC,CAAC;AACpC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,SAASC,MAAMA,CAACC,IAAI,EAAE,GAAGC,IAAI,EAAE;EAClC,OAAOJ,qBAAqB,CAACG,IAAI,EAAEF,OAAO,EAAE,GAAGG,IAAI,CAAC;AACxD;AACA,MAAMC,IAAI,GAAG,CAAC,CAAC,EAAE,gBAAgB,EAAE,CAAC,CAAC;AACrC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,SAASC,GAAGA,CAACH,IAAI,EAAE,GAAGC,IAAI,EAAE;EAC/B,OAAOJ,qBAAqB,CAACG,IAAI,EAAEE,IAAI,EAAE,GAAGD,IAAI,CAAC;AACrD","ignoreList":[]}
|
|
@@ -10,13 +10,9 @@ import type * as _Models from "../_components.js";
|
|
|
10
10
|
* Required Scopes: [api:models-read]
|
|
11
11
|
* URL: /v2/models/modelStudioTrainers
|
|
12
12
|
*/
|
|
13
|
-
export declare function list($ctx: $Client | $ClientContext | $OldClient | $OldClientContext, ...args: [
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
pageToken?: _Core.PageToken | undefined;
|
|
17
|
-
preview?: _Core.PreviewMode | undefined;
|
|
18
|
-
}
|
|
19
|
-
]): Promise<_Models.ListModelStudioTrainersResponse>;
|
|
13
|
+
export declare function list($ctx: $Client | $ClientContext | $OldClient | $OldClientContext, ...args: [$queryParams?: {
|
|
14
|
+
preview?: _Core.PreviewMode | undefined;
|
|
15
|
+
}]): Promise<_Models.ListModelStudioTrainersResponse>;
|
|
20
16
|
/**
|
|
21
17
|
* Gets details about a specific trainer by its ID and optional version.
|
|
22
18
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ModelStudioTrainer.d.ts","sourceRoot":"","sources":["../../../src/public/ModelStudioTrainer.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,OAAO,MAAM,mBAAmB,CAAC;
|
|
1
|
+
{"version":3,"file":"ModelStudioTrainer.d.ts","sourceRoot":"","sources":["../../../src/public/ModelStudioTrainer.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,OAAO,MAAM,mBAAmB,CAAC;AAUlD;;;;;;;GAOG;AACH,wBAAgB,IAAI,CAClB,IAAI,EAAE,OAAO,GAAG,cAAc,GAAG,UAAU,GAAG,iBAAiB,EAC/D,GAAG,IAAI,EAAE,CAAC,YAAY,CAAC,EAAE;IAAE,OAAO,CAAC,EAAE,KAAK,CAAC,WAAW,GAAG,SAAS,CAAA;CAAE,CAAC,GACpE,OAAO,CAAC,OAAO,CAAC,+BAA+B,CAAC,CAElD;AAYD;;;;;;;GAOG;AACH,wBAAgB,GAAG,CACjB,IAAI,EAAE,OAAO,GAAG,cAAc,GAAG,UAAU,GAAG,iBAAiB,EAC/D,GAAG,IAAI,EAAE;IACP,2BAA2B,EAAE,OAAO,CAAC,SAAS;IAE9C,YAAY,CAAC,EAAE;QACb,OAAO,CAAC,EAAE,OAAO,CAAC,cAAc,GAAG,SAAS,CAAC;QAC7C,OAAO,CAAC,EAAE,KAAK,CAAC,WAAW,GAAG,SAAS,CAAC;KACzC;CACF,GACA,OAAO,CAAC,OAAO,CAAC,kBAAkB,CAAC,CAErC"}
|
|
@@ -20,7 +20,7 @@ export declare function create($ctx: $Client | $ClientContext | $OldClient | $Ol
|
|
|
20
20
|
/**
|
|
21
21
|
* Lists all Model Versions for a given Model.
|
|
22
22
|
*
|
|
23
|
-
* @
|
|
23
|
+
* @beta
|
|
24
24
|
*
|
|
25
25
|
* Required Scopes: [api:models-read]
|
|
26
26
|
* URL: /v2/models/{modelRid}/versions
|
|
@@ -36,7 +36,7 @@ export declare function list($ctx: $Client | $ClientContext | $OldClient | $OldC
|
|
|
36
36
|
/**
|
|
37
37
|
* Retrieves a Model Version by its Resource Identifier (RID).
|
|
38
38
|
*
|
|
39
|
-
* @
|
|
39
|
+
* @beta
|
|
40
40
|
*
|
|
41
41
|
* Required Scopes: [api:models-read]
|
|
42
42
|
* URL: /v2/models/{modelRid}/versions/{modelVersionRid}
|
|
@@ -31,7 +31,7 @@ const _list = [0, "/v2/models/{0}/versions", 2];
|
|
|
31
31
|
/**
|
|
32
32
|
* Lists all Model Versions for a given Model.
|
|
33
33
|
*
|
|
34
|
-
* @
|
|
34
|
+
* @beta
|
|
35
35
|
*
|
|
36
36
|
* Required Scopes: [api:models-read]
|
|
37
37
|
* URL: /v2/models/{modelRid}/versions
|
|
@@ -43,7 +43,7 @@ const _get = [0, "/v2/models/{0}/versions/{1}", 2];
|
|
|
43
43
|
/**
|
|
44
44
|
* Retrieves a Model Version by its Resource Identifier (RID).
|
|
45
45
|
*
|
|
46
|
-
* @
|
|
46
|
+
* @beta
|
|
47
47
|
*
|
|
48
48
|
* Required Scopes: [api:models-read]
|
|
49
49
|
* URL: /v2/models/{modelRid}/versions/{modelVersionRid}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ModelVersion.js","names":["foundryPlatformFetch","$foundryPlatformFetch","_create","create","$ctx","args","_list","list","_get","get"],"sources":["ModelVersion.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 _create = [1, \"/v2/models/{0}/versions\", 3];\n/**\n * Creates a new Model Version on an existing model.\n *\n * @alpha\n *\n * Required Scopes: [api:models-write]\n * URL: /v2/models/{modelRid}/versions\n */\nexport function create($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _create, ...args);\n}\nconst _list = [0, \"/v2/models/{0}/versions\", 2];\n/**\n * Lists all Model Versions for a given Model.\n *\n * @
|
|
1
|
+
{"version":3,"file":"ModelVersion.js","names":["foundryPlatformFetch","$foundryPlatformFetch","_create","create","$ctx","args","_list","list","_get","get"],"sources":["ModelVersion.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 _create = [1, \"/v2/models/{0}/versions\", 3];\n/**\n * Creates a new Model Version on an existing model.\n *\n * @alpha\n *\n * Required Scopes: [api:models-write]\n * URL: /v2/models/{modelRid}/versions\n */\nexport function create($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _create, ...args);\n}\nconst _list = [0, \"/v2/models/{0}/versions\", 2];\n/**\n * Lists all Model Versions for a given Model.\n *\n * @beta\n *\n * Required Scopes: [api:models-read]\n * URL: /v2/models/{modelRid}/versions\n */\nexport function list($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _list, ...args);\n}\nconst _get = [0, \"/v2/models/{0}/versions/{1}\", 2];\n/**\n * Retrieves a Model Version by its Resource Identifier (RID).\n *\n * @beta\n *\n * Required Scopes: [api:models-read]\n * URL: /v2/models/{modelRid}/versions/{modelVersionRid}\n */\nexport function get($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _get, ...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,OAAO,GAAG,CAAC,CAAC,EAAE,yBAAyB,EAAE,CAAC,CAAC;AACjD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,SAASC,MAAMA,CAACC,IAAI,EAAE,GAAGC,IAAI,EAAE;EAClC,OAAOJ,qBAAqB,CAACG,IAAI,EAAEF,OAAO,EAAE,GAAGG,IAAI,CAAC;AACxD;AACA,MAAMC,KAAK,GAAG,CAAC,CAAC,EAAE,yBAAyB,EAAE,CAAC,CAAC;AAC/C;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,SAASC,IAAIA,CAACH,IAAI,EAAE,GAAGC,IAAI,EAAE;EAChC,OAAOJ,qBAAqB,CAACG,IAAI,EAAEE,KAAK,EAAE,GAAGD,IAAI,CAAC;AACtD;AACA,MAAMG,IAAI,GAAG,CAAC,CAAC,EAAE,6BAA6B,EAAE,CAAC,CAAC;AAClD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,SAASC,GAAGA,CAACL,IAAI,EAAE,GAAGC,IAAI,EAAE;EAC/B,OAAOJ,qBAAqB,CAACG,IAAI,EAAEI,IAAI,EAAE,GAAGH,IAAI,CAAC;AACrD","ignoreList":[]}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@osdk/foundry.models",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.50.0",
|
|
4
4
|
"license": "Apache-2.0",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -21,9 +21,9 @@
|
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@osdk/shared.client": "^1.0.1",
|
|
23
23
|
"@osdk/shared.client2": "^1.0.0",
|
|
24
|
-
"@osdk/
|
|
25
|
-
"@osdk/foundry.
|
|
26
|
-
"@osdk/
|
|
24
|
+
"@osdk/shared.net.platformapi": "~1.6.0",
|
|
25
|
+
"@osdk/foundry.core": "2.50.0",
|
|
26
|
+
"@osdk/foundry.filesystem": "2.50.0"
|
|
27
27
|
},
|
|
28
28
|
"devDependencies": {
|
|
29
29
|
"typescript": "^5.5.4",
|
|
@@ -46,7 +46,7 @@
|
|
|
46
46
|
"sls": {
|
|
47
47
|
"dependencies": {
|
|
48
48
|
"com.palantir.foundry.api:api-gateway": {
|
|
49
|
-
"minVersion": "1.
|
|
49
|
+
"minVersion": "1.1488.0",
|
|
50
50
|
"maxVersion": "1.x.x",
|
|
51
51
|
"optional": false
|
|
52
52
|
}
|