@osdk/foundry.models 2.47.0 → 2.49.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 +873 -0
- package/build/browser/_components.d.ts.map +1 -1
- package/build/browser/_errors.d.ts +353 -0
- package/build/browser/_errors.d.ts.map +1 -1
- package/build/browser/index.d.ts +10 -2
- package/build/browser/index.d.ts.map +1 -1
- package/build/browser/index.js +8 -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/ModelStudio.d.ts +47 -0
- package/build/browser/public/ModelStudio.d.ts.map +1 -0
- package/build/browser/public/ModelStudio.js +54 -0
- package/build/browser/public/ModelStudio.js.map +1 -0
- package/build/browser/public/ModelStudioConfigVersion.d.ts +65 -0
- package/build/browser/public/ModelStudioConfigVersion.d.ts.map +1 -0
- package/build/browser/public/ModelStudioConfigVersion.js +66 -0
- package/build/browser/public/ModelStudioConfigVersion.js.map +1 -0
- package/build/browser/public/ModelStudioRun.d.ts +22 -0
- package/build/browser/public/ModelStudioRun.d.ts.map +1 -0
- package/build/browser/public/ModelStudioRun.js +30 -0
- package/build/browser/public/ModelStudioRun.js.map +1 -0
- package/build/browser/public/ModelStudioTrainer.d.ts +31 -0
- package/build/browser/public/ModelStudioTrainer.d.ts.map +1 -0
- package/build/browser/public/ModelStudioTrainer.js +42 -0
- package/build/browser/public/ModelStudioTrainer.js.map +1 -0
- 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 +873 -0
- package/build/esm/_components.d.ts.map +1 -1
- package/build/esm/_errors.d.ts +353 -0
- package/build/esm/_errors.d.ts.map +1 -1
- package/build/esm/index.d.ts +10 -2
- package/build/esm/index.d.ts.map +1 -1
- package/build/esm/index.js +8 -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/ModelStudio.d.ts +47 -0
- package/build/esm/public/ModelStudio.d.ts.map +1 -0
- package/build/esm/public/ModelStudio.js +54 -0
- package/build/esm/public/ModelStudio.js.map +1 -0
- package/build/esm/public/ModelStudioConfigVersion.d.ts +65 -0
- package/build/esm/public/ModelStudioConfigVersion.d.ts.map +1 -0
- package/build/esm/public/ModelStudioConfigVersion.js +66 -0
- package/build/esm/public/ModelStudioConfigVersion.js.map +1 -0
- package/build/esm/public/ModelStudioRun.d.ts +22 -0
- package/build/esm/public/ModelStudioRun.d.ts.map +1 -0
- package/build/esm/public/ModelStudioRun.js +30 -0
- package/build/esm/public/ModelStudioRun.js.map +1 -0
- package/build/esm/public/ModelStudioTrainer.d.ts +31 -0
- package/build/esm/public/ModelStudioTrainer.d.ts.map +1 -0
- package/build/esm/public/ModelStudioTrainer.js +42 -0
- package/build/esm/public/ModelStudioTrainer.js.map +1 -0
- 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 +4 -4
|
@@ -0,0 +1,44 @@
|
|
|
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}/artifactTables/{2}/json", 2,, "application/octet-stream"];
|
|
19
|
+
/**
|
|
20
|
+
* Read table data from an experiment artifact as a streamed binary response containing JSON.
|
|
21
|
+
* The response body is a JSON array of row objects, where each object maps column names to values.
|
|
22
|
+
* Results are paginated by row count with a default page size of 10 and a maximum of 100.
|
|
23
|
+
*
|
|
24
|
+
* @alpha
|
|
25
|
+
*
|
|
26
|
+
* Required Scopes: [api:models-read]
|
|
27
|
+
* URL: /v2/models/{modelRid}/experiments/{experimentRid}/artifactTables/{experimentArtifactTableName}/json
|
|
28
|
+
*/
|
|
29
|
+
export function json($ctx, ...args) {
|
|
30
|
+
return $foundryPlatformFetch($ctx, _json, ...args);
|
|
31
|
+
}
|
|
32
|
+
const _parquet = [0, "/v2/models/{0}/experiments/{1}/artifactTables/{2}/parquet", 2,, "application/octet-stream"];
|
|
33
|
+
/**
|
|
34
|
+
* Read raw table data from experiment artifacts in Parquet format.
|
|
35
|
+
*
|
|
36
|
+
* @alpha
|
|
37
|
+
*
|
|
38
|
+
* Required Scopes: [api:models-read]
|
|
39
|
+
* URL: /v2/models/{modelRid}/experiments/{experimentRid}/artifactTables/{experimentArtifactTableName}/parquet
|
|
40
|
+
*/
|
|
41
|
+
export function parquet($ctx, ...args) {
|
|
42
|
+
return $foundryPlatformFetch($ctx, _parquet, ...args);
|
|
43
|
+
}
|
|
44
|
+
//# sourceMappingURL=ExperimentArtifactTable.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ExperimentArtifactTable.js","names":["foundryPlatformFetch","$foundryPlatformFetch","_json","json","$ctx","args","_parquet","parquet"],"sources":["ExperimentArtifactTable.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 = [\n 0,\n \"/v2/models/{0}/experiments/{1}/artifactTables/{2}/json\",\n 2,\n ,\n \"application/octet-stream\",\n];\n/**\n * Read table data from an experiment artifact as a streamed binary response containing JSON.\n * The response body is a JSON array of row objects, where each object maps column names to values.\n * Results are paginated by row count with a default page size of 10 and a maximum of 100.\n *\n * @alpha\n *\n * Required Scopes: [api:models-read]\n * URL: /v2/models/{modelRid}/experiments/{experimentRid}/artifactTables/{experimentArtifactTableName}/json\n */\nexport function json($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _json, ...args);\n}\nconst _parquet = [\n 0,\n \"/v2/models/{0}/experiments/{1}/artifactTables/{2}/parquet\",\n 2,\n ,\n \"application/octet-stream\",\n];\n/**\n * Read raw table data from experiment artifacts in Parquet format.\n *\n * @alpha\n *\n * Required Scopes: [api:models-read]\n * URL: /v2/models/{modelRid}/experiments/{experimentRid}/artifactTables/{experimentArtifactTableName}/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,CACV,CAAC,EACD,wDAAwD,EACxD,CAAC,GAED,0BAA0B,CAC7B;AACD;AACA;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,2DAA2D,EAC3D,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,40 @@
|
|
|
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
|
+
* Retrieve raw time-series data for a single series in JSON format.
|
|
7
|
+
* Results are paginated with a default page size of 200 and a maximum of 1000.
|
|
8
|
+
*
|
|
9
|
+
* @alpha
|
|
10
|
+
*
|
|
11
|
+
* Required Scopes: [api:models-read]
|
|
12
|
+
* URL: /v2/models/{modelRid}/experiments/{experimentRid}/series/{experimentSeriesName}/json
|
|
13
|
+
*/
|
|
14
|
+
export declare function json($ctx: $Client | $ClientContext | $OldClient | $OldClientContext, ...args: [
|
|
15
|
+
modelRid: _Models.ModelRid,
|
|
16
|
+
experimentRid: _Models.ExperimentRid,
|
|
17
|
+
experimentSeriesName: _Models.SeriesName,
|
|
18
|
+
$queryParams?: {
|
|
19
|
+
pageSize?: _Core.PageSize | undefined;
|
|
20
|
+
offset?: number | undefined;
|
|
21
|
+
preview?: _Core.PreviewMode | undefined;
|
|
22
|
+
}
|
|
23
|
+
]): Promise<_Models.Series>;
|
|
24
|
+
/**
|
|
25
|
+
* Retrieve raw time-series data for a single series as a streamed binary response in Apache Parquet format.
|
|
26
|
+
*
|
|
27
|
+
* @alpha
|
|
28
|
+
*
|
|
29
|
+
* Required Scopes: [api:models-read]
|
|
30
|
+
* URL: /v2/models/{modelRid}/experiments/{experimentRid}/series/{experimentSeriesName}/parquet
|
|
31
|
+
*/
|
|
32
|
+
export declare function parquet($ctx: $Client | $ClientContext | $OldClient | $OldClientContext, ...args: [
|
|
33
|
+
modelRid: _Models.ModelRid,
|
|
34
|
+
experimentRid: _Models.ExperimentRid,
|
|
35
|
+
experimentSeriesName: _Models.SeriesName,
|
|
36
|
+
$queryParams?: {
|
|
37
|
+
preview?: _Core.PreviewMode | undefined;
|
|
38
|
+
}
|
|
39
|
+
]): Promise<Response>;
|
|
40
|
+
//# sourceMappingURL=ExperimentSeries.d.ts.map
|
|
@@ -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":[]}
|
|
@@ -0,0 +1,47 @@
|
|
|
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
|
+
* Creates a new Model Studio.
|
|
7
|
+
*
|
|
8
|
+
* @alpha
|
|
9
|
+
*
|
|
10
|
+
* Required Scopes: [api:models-write]
|
|
11
|
+
* URL: /v2/models/modelStudios
|
|
12
|
+
*/
|
|
13
|
+
export declare function create($ctx: $Client | $ClientContext | $OldClient | $OldClientContext, ...args: [
|
|
14
|
+
$body: _Models.CreateModelStudioRequest,
|
|
15
|
+
$queryParams?: {
|
|
16
|
+
preview?: _Core.PreviewMode | undefined;
|
|
17
|
+
}
|
|
18
|
+
]): Promise<_Models.ModelStudio>;
|
|
19
|
+
/**
|
|
20
|
+
* Gets details about a Model Studio by its RID.
|
|
21
|
+
*
|
|
22
|
+
* @alpha
|
|
23
|
+
*
|
|
24
|
+
* Required Scopes: [api:models-read]
|
|
25
|
+
* URL: /v2/models/modelStudios/{modelStudioRid}
|
|
26
|
+
*/
|
|
27
|
+
export declare function get($ctx: $Client | $ClientContext | $OldClient | $OldClientContext, ...args: [
|
|
28
|
+
modelStudioRid: _Models.ModelStudioRid,
|
|
29
|
+
$queryParams?: {
|
|
30
|
+
preview?: _Core.PreviewMode | undefined;
|
|
31
|
+
}
|
|
32
|
+
]): Promise<_Models.ModelStudio>;
|
|
33
|
+
/**
|
|
34
|
+
* Launches a new training run for the Model Studio using the latest configuration version.
|
|
35
|
+
*
|
|
36
|
+
* @alpha
|
|
37
|
+
*
|
|
38
|
+
* Required Scopes: [api:models-write]
|
|
39
|
+
* URL: /v2/models/modelStudios/{modelStudioRid}/launch
|
|
40
|
+
*/
|
|
41
|
+
export declare function launch($ctx: $Client | $ClientContext | $OldClient | $OldClientContext, ...args: [
|
|
42
|
+
modelStudioRid: _Models.ModelStudioRid,
|
|
43
|
+
$queryParams?: {
|
|
44
|
+
preview?: _Core.PreviewMode | undefined;
|
|
45
|
+
}
|
|
46
|
+
]): Promise<_Models.ModelStudioRun>;
|
|
47
|
+
//# sourceMappingURL=ModelStudio.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ModelStudio.d.ts","sourceRoot":"","sources":["../../../src/public/ModelStudio.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;AAWlD;;;;;;;GAOG;AACH,wBAAgB,MAAM,CACpB,IAAI,EAAE,OAAO,GAAG,cAAc,GAAG,UAAU,GAAG,iBAAiB,EAC/D,GAAG,IAAI,EAAE;IACP,KAAK,EAAE,OAAO,CAAC,wBAAwB;IACvC,YAAY,CAAC,EAAE;QAAE,OAAO,CAAC,EAAE,KAAK,CAAC,WAAW,GAAG,SAAS,CAAA;KAAE;CAC3D,GACA,OAAO,CAAC,OAAO,CAAC,WAAW,CAAC,CAE9B;AASD;;;;;;;GAOG;AACH,wBAAgB,GAAG,CACjB,IAAI,EAAE,OAAO,GAAG,cAAc,GAAG,UAAU,GAAG,iBAAiB,EAC/D,GAAG,IAAI,EAAE;IACP,cAAc,EAAE,OAAO,CAAC,cAAc;IAEtC,YAAY,CAAC,EAAE;QAAE,OAAO,CAAC,EAAE,KAAK,CAAC,WAAW,GAAG,SAAS,CAAA;KAAE;CAC3D,GACA,OAAO,CAAC,OAAO,CAAC,WAAW,CAAC,CAE9B;AASD;;;;;;;GAOG;AACH,wBAAgB,MAAM,CACpB,IAAI,EAAE,OAAO,GAAG,cAAc,GAAG,UAAU,GAAG,iBAAiB,EAC/D,GAAG,IAAI,EAAE;IACP,cAAc,EAAE,OAAO,CAAC,cAAc;IAEtC,YAAY,CAAC,EAAE;QAAE,OAAO,CAAC,EAAE,KAAK,CAAC,WAAW,GAAG,SAAS,CAAA;KAAE;CAC3D,GACA,OAAO,CAAC,OAAO,CAAC,cAAc,CAAC,CAEjC"}
|
|
@@ -0,0 +1,54 @@
|
|
|
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 _create = [1, "/v2/models/modelStudios", 3];
|
|
19
|
+
/**
|
|
20
|
+
* Creates a new Model Studio.
|
|
21
|
+
*
|
|
22
|
+
* @alpha
|
|
23
|
+
*
|
|
24
|
+
* Required Scopes: [api:models-write]
|
|
25
|
+
* URL: /v2/models/modelStudios
|
|
26
|
+
*/
|
|
27
|
+
export function create($ctx, ...args) {
|
|
28
|
+
return $foundryPlatformFetch($ctx, _create, ...args);
|
|
29
|
+
}
|
|
30
|
+
const _get = [0, "/v2/models/modelStudios/{0}", 2];
|
|
31
|
+
/**
|
|
32
|
+
* Gets details about a Model Studio by its RID.
|
|
33
|
+
*
|
|
34
|
+
* @alpha
|
|
35
|
+
*
|
|
36
|
+
* Required Scopes: [api:models-read]
|
|
37
|
+
* URL: /v2/models/modelStudios/{modelStudioRid}
|
|
38
|
+
*/
|
|
39
|
+
export function get($ctx, ...args) {
|
|
40
|
+
return $foundryPlatformFetch($ctx, _get, ...args);
|
|
41
|
+
}
|
|
42
|
+
const _launch = [1, "/v2/models/modelStudios/{0}/launch", 2];
|
|
43
|
+
/**
|
|
44
|
+
* Launches a new training run for the Model Studio using the latest configuration version.
|
|
45
|
+
*
|
|
46
|
+
* @alpha
|
|
47
|
+
*
|
|
48
|
+
* Required Scopes: [api:models-write]
|
|
49
|
+
* URL: /v2/models/modelStudios/{modelStudioRid}/launch
|
|
50
|
+
*/
|
|
51
|
+
export function launch($ctx, ...args) {
|
|
52
|
+
return $foundryPlatformFetch($ctx, _launch, ...args);
|
|
53
|
+
}
|
|
54
|
+
//# sourceMappingURL=ModelStudio.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ModelStudio.js","names":["foundryPlatformFetch","$foundryPlatformFetch","_create","create","$ctx","args","_get","get","_launch","launch"],"sources":["ModelStudio.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/modelStudios\", 3];\n/**\n * Creates a new Model Studio.\n *\n * @alpha\n *\n * Required Scopes: [api:models-write]\n * URL: /v2/models/modelStudios\n */\nexport function create($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _create, ...args);\n}\nconst _get = [0, \"/v2/models/modelStudios/{0}\", 2];\n/**\n * Gets details about a Model Studio by its RID.\n *\n * @alpha\n *\n * Required Scopes: [api:models-read]\n * URL: /v2/models/modelStudios/{modelStudioRid}\n */\nexport function get($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _get, ...args);\n}\nconst _launch = [1, \"/v2/models/modelStudios/{0}/launch\", 2];\n/**\n * Launches a new training run for the Model Studio using the latest configuration version.\n *\n * @alpha\n *\n * Required Scopes: [api:models-write]\n * URL: /v2/models/modelStudios/{modelStudioRid}/launch\n */\nexport function launch($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _launch, ...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,IAAI,GAAG,CAAC,CAAC,EAAE,6BAA6B,EAAE,CAAC,CAAC;AAClD;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;AACA,MAAMG,OAAO,GAAG,CAAC,CAAC,EAAE,oCAAoC,EAAE,CAAC,CAAC;AAC5D;AACA;AACA;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","ignoreList":[]}
|
|
@@ -0,0 +1,65 @@
|
|
|
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
|
+
* Creates a new Model Studio configuration version.
|
|
7
|
+
*
|
|
8
|
+
* @alpha
|
|
9
|
+
*
|
|
10
|
+
* Required Scopes: [api:models-write]
|
|
11
|
+
* URL: /v2/models/modelStudios/{modelStudioRid}/configVersions
|
|
12
|
+
*/
|
|
13
|
+
export declare function create($ctx: $Client | $ClientContext | $OldClient | $OldClientContext, ...args: [
|
|
14
|
+
modelStudioRid: _Models.ModelStudioRid,
|
|
15
|
+
$body: _Models.CreateModelStudioConfigVersionRequest,
|
|
16
|
+
$queryParams?: {
|
|
17
|
+
preview?: _Core.PreviewMode | undefined;
|
|
18
|
+
}
|
|
19
|
+
]): Promise<_Models.ModelStudioConfigVersion>;
|
|
20
|
+
/**
|
|
21
|
+
* Lists all configuration versions for a Model Studio.
|
|
22
|
+
*
|
|
23
|
+
* @alpha
|
|
24
|
+
*
|
|
25
|
+
* Required Scopes: [api:models-read]
|
|
26
|
+
* URL: /v2/models/modelStudios/{modelStudioRid}/configVersions
|
|
27
|
+
*/
|
|
28
|
+
export declare function list($ctx: $Client | $ClientContext | $OldClient | $OldClientContext, ...args: [
|
|
29
|
+
modelStudioRid: _Models.ModelStudioRid,
|
|
30
|
+
$queryParams?: {
|
|
31
|
+
pageSize?: _Core.PageSize | undefined;
|
|
32
|
+
pageToken?: _Core.PageToken | undefined;
|
|
33
|
+
preview?: _Core.PreviewMode | undefined;
|
|
34
|
+
}
|
|
35
|
+
]): Promise<_Models.ListModelStudioConfigVersionsResponse>;
|
|
36
|
+
/**
|
|
37
|
+
* Gets a specific Model Studio configuration version.
|
|
38
|
+
*
|
|
39
|
+
* @alpha
|
|
40
|
+
*
|
|
41
|
+
* Required Scopes: [api:models-read]
|
|
42
|
+
* URL: /v2/models/modelStudios/{modelStudioRid}/configVersions/{modelStudioConfigVersionVersion}
|
|
43
|
+
*/
|
|
44
|
+
export declare function get($ctx: $Client | $ClientContext | $OldClient | $OldClientContext, ...args: [
|
|
45
|
+
modelStudioRid: _Models.ModelStudioRid,
|
|
46
|
+
modelStudioConfigVersionVersion: _Models.ModelStudioConfigVersionNumber,
|
|
47
|
+
$queryParams?: {
|
|
48
|
+
preview?: _Core.PreviewMode | undefined;
|
|
49
|
+
}
|
|
50
|
+
]): Promise<_Models.ModelStudioConfigVersion>;
|
|
51
|
+
/**
|
|
52
|
+
* Gets the latest configuration version for a Model Studio.
|
|
53
|
+
*
|
|
54
|
+
* @alpha
|
|
55
|
+
*
|
|
56
|
+
* Required Scopes: [api:models-read]
|
|
57
|
+
* URL: /v2/models/modelStudios/{modelStudioRid}/configVersions/latest
|
|
58
|
+
*/
|
|
59
|
+
export declare function latest($ctx: $Client | $ClientContext | $OldClient | $OldClientContext, ...args: [
|
|
60
|
+
modelStudioRid: _Models.ModelStudioRid,
|
|
61
|
+
$queryParams?: {
|
|
62
|
+
preview?: _Core.PreviewMode | undefined;
|
|
63
|
+
}
|
|
64
|
+
]): Promise<_Models.ModelStudioConfigVersion | undefined>;
|
|
65
|
+
//# sourceMappingURL=ModelStudioConfigVersion.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ModelStudioConfigVersion.d.ts","sourceRoot":"","sources":["../../../src/public/ModelStudioConfigVersion.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,MAAM,CACpB,IAAI,EAAE,OAAO,GAAG,cAAc,GAAG,UAAU,GAAG,iBAAiB,EAC/D,GAAG,IAAI,EAAE;IACP,cAAc,EAAE,OAAO,CAAC,cAAc;IACtC,KAAK,EAAE,OAAO,CAAC,qCAAqC;IACpD,YAAY,CAAC,EAAE;QAAE,OAAO,CAAC,EAAE,KAAK,CAAC,WAAW,GAAG,SAAS,CAAA;KAAE;CAC3D,GACA,OAAO,CAAC,OAAO,CAAC,wBAAwB,CAAC,CAE3C;AAaD;;;;;;;GAOG;AACH,wBAAgB,IAAI,CAClB,IAAI,EAAE,OAAO,GAAG,cAAc,GAAG,UAAU,GAAG,iBAAiB,EAC/D,GAAG,IAAI,EAAE;IACP,cAAc,EAAE,OAAO,CAAC,cAAc;IAEtC,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,OAAO,CAAC,qCAAqC,CAAC,CAExD;AAUD;;;;;;;GAOG;AACH,wBAAgB,GAAG,CACjB,IAAI,EAAE,OAAO,GAAG,cAAc,GAAG,UAAU,GAAG,iBAAiB,EAC/D,GAAG,IAAI,EAAE;IACP,cAAc,EAAE,OAAO,CAAC,cAAc;IACtC,+BAA+B,EAAE,OAAO,CAAC,8BAA8B;IAEvE,YAAY,CAAC,EAAE;QAAE,OAAO,CAAC,EAAE,KAAK,CAAC,WAAW,GAAG,SAAS,CAAA;KAAE;CAC3D,GACA,OAAO,CAAC,OAAO,CAAC,wBAAwB,CAAC,CAE3C;AASD;;;;;;;GAOG;AACH,wBAAgB,MAAM,CACpB,IAAI,EAAE,OAAO,GAAG,cAAc,GAAG,UAAU,GAAG,iBAAiB,EAC/D,GAAG,IAAI,EAAE;IACP,cAAc,EAAE,OAAO,CAAC,cAAc;IAEtC,YAAY,CAAC,EAAE;QAAE,OAAO,CAAC,EAAE,KAAK,CAAC,WAAW,GAAG,SAAS,CAAA;KAAE;CAC3D,GACA,OAAO,CAAC,OAAO,CAAC,wBAAwB,GAAG,SAAS,CAAC,CAEvD"}
|
|
@@ -0,0 +1,66 @@
|
|
|
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 _create = [1, "/v2/models/modelStudios/{0}/configVersions", 3];
|
|
19
|
+
/**
|
|
20
|
+
* Creates a new Model Studio configuration version.
|
|
21
|
+
*
|
|
22
|
+
* @alpha
|
|
23
|
+
*
|
|
24
|
+
* Required Scopes: [api:models-write]
|
|
25
|
+
* URL: /v2/models/modelStudios/{modelStudioRid}/configVersions
|
|
26
|
+
*/
|
|
27
|
+
export function create($ctx, ...args) {
|
|
28
|
+
return $foundryPlatformFetch($ctx, _create, ...args);
|
|
29
|
+
}
|
|
30
|
+
const _list = [0, "/v2/models/modelStudios/{0}/configVersions", 2];
|
|
31
|
+
/**
|
|
32
|
+
* Lists all configuration versions for a Model Studio.
|
|
33
|
+
*
|
|
34
|
+
* @alpha
|
|
35
|
+
*
|
|
36
|
+
* Required Scopes: [api:models-read]
|
|
37
|
+
* URL: /v2/models/modelStudios/{modelStudioRid}/configVersions
|
|
38
|
+
*/
|
|
39
|
+
export function list($ctx, ...args) {
|
|
40
|
+
return $foundryPlatformFetch($ctx, _list, ...args);
|
|
41
|
+
}
|
|
42
|
+
const _get = [0, "/v2/models/modelStudios/{0}/configVersions/{1}", 2];
|
|
43
|
+
/**
|
|
44
|
+
* Gets a specific Model Studio configuration version.
|
|
45
|
+
*
|
|
46
|
+
* @alpha
|
|
47
|
+
*
|
|
48
|
+
* Required Scopes: [api:models-read]
|
|
49
|
+
* URL: /v2/models/modelStudios/{modelStudioRid}/configVersions/{modelStudioConfigVersionVersion}
|
|
50
|
+
*/
|
|
51
|
+
export function get($ctx, ...args) {
|
|
52
|
+
return $foundryPlatformFetch($ctx, _get, ...args);
|
|
53
|
+
}
|
|
54
|
+
const _latest = [0, "/v2/models/modelStudios/{0}/configVersions/latest", 2];
|
|
55
|
+
/**
|
|
56
|
+
* Gets the latest configuration version for a Model Studio.
|
|
57
|
+
*
|
|
58
|
+
* @alpha
|
|
59
|
+
*
|
|
60
|
+
* Required Scopes: [api:models-read]
|
|
61
|
+
* URL: /v2/models/modelStudios/{modelStudioRid}/configVersions/latest
|
|
62
|
+
*/
|
|
63
|
+
export function latest($ctx, ...args) {
|
|
64
|
+
return $foundryPlatformFetch($ctx, _latest, ...args);
|
|
65
|
+
}
|
|
66
|
+
//# sourceMappingURL=ModelStudioConfigVersion.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ModelStudioConfigVersion.js","names":["foundryPlatformFetch","$foundryPlatformFetch","_create","create","$ctx","args","_list","list","_get","get","_latest","latest"],"sources":["ModelStudioConfigVersion.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/modelStudios/{0}/configVersions\", 3];\n/**\n * Creates a new Model Studio configuration version.\n *\n * @alpha\n *\n * Required Scopes: [api:models-write]\n * URL: /v2/models/modelStudios/{modelStudioRid}/configVersions\n */\nexport function create($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _create, ...args);\n}\nconst _list = [0, \"/v2/models/modelStudios/{0}/configVersions\", 2];\n/**\n * Lists all configuration versions for a Model Studio.\n *\n * @alpha\n *\n * Required Scopes: [api:models-read]\n * URL: /v2/models/modelStudios/{modelStudioRid}/configVersions\n */\nexport function list($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _list, ...args);\n}\nconst _get = [0, \"/v2/models/modelStudios/{0}/configVersions/{1}\", 2];\n/**\n * Gets a specific Model Studio configuration version.\n *\n * @alpha\n *\n * Required Scopes: [api:models-read]\n * URL: /v2/models/modelStudios/{modelStudioRid}/configVersions/{modelStudioConfigVersionVersion}\n */\nexport function get($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _get, ...args);\n}\nconst _latest = [0, \"/v2/models/modelStudios/{0}/configVersions/latest\", 2];\n/**\n * Gets the latest configuration version for a Model Studio.\n *\n * @alpha\n *\n * Required Scopes: [api:models-read]\n * URL: /v2/models/modelStudios/{modelStudioRid}/configVersions/latest\n */\nexport function latest($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _latest, ...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,4CAA4C,EAAE,CAAC,CAAC;AACpE;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,4CAA4C,EAAE,CAAC,CAAC;AAClE;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,gDAAgD,EAAE,CAAC,CAAC;AACrE;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;AACA,MAAMK,OAAO,GAAG,CAAC,CAAC,EAAE,mDAAmD,EAAE,CAAC,CAAC;AAC3E;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","ignoreList":[]}
|
|
@@ -0,0 +1,22 @@
|
|
|
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
|
+
* Lists all runs for a Model Studio.
|
|
7
|
+
*
|
|
8
|
+
* @alpha
|
|
9
|
+
*
|
|
10
|
+
* Required Scopes: [api:models-read]
|
|
11
|
+
* URL: /v2/models/modelStudios/{modelStudioRid}/runs
|
|
12
|
+
*/
|
|
13
|
+
export declare function list($ctx: $Client | $ClientContext | $OldClient | $OldClientContext, ...args: [
|
|
14
|
+
modelStudioRid: _Models.ModelStudioRid,
|
|
15
|
+
$queryParams?: {
|
|
16
|
+
configVersion?: _Models.ModelStudioConfigVersionNumber | undefined;
|
|
17
|
+
pageSize?: _Core.PageSize | undefined;
|
|
18
|
+
pageToken?: _Core.PageToken | undefined;
|
|
19
|
+
preview?: _Core.PreviewMode | undefined;
|
|
20
|
+
}
|
|
21
|
+
]): Promise<_Models.ListModelStudioRunsResponse>;
|
|
22
|
+
//# sourceMappingURL=ModelStudioRun.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ModelStudioRun.d.ts","sourceRoot":"","sources":["../../../src/public/ModelStudioRun.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;AAgBlD;;;;;;;GAOG;AACH,wBAAgB,IAAI,CAClB,IAAI,EAAE,OAAO,GAAG,cAAc,GAAG,UAAU,GAAG,iBAAiB,EAC/D,GAAG,IAAI,EAAE;IACP,cAAc,EAAE,OAAO,CAAC,cAAc;IAEtC,YAAY,CAAC,EAAE;QACb,aAAa,CAAC,EAAE,OAAO,CAAC,8BAA8B,GAAG,SAAS,CAAC;QACnE,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,OAAO,CAAC,2BAA2B,CAAC,CAE9C"}
|
|
@@ -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 _list = [0, "/v2/models/modelStudios/{0}/runs", 2];
|
|
19
|
+
/**
|
|
20
|
+
* Lists all runs for a Model Studio.
|
|
21
|
+
*
|
|
22
|
+
* @alpha
|
|
23
|
+
*
|
|
24
|
+
* Required Scopes: [api:models-read]
|
|
25
|
+
* URL: /v2/models/modelStudios/{modelStudioRid}/runs
|
|
26
|
+
*/
|
|
27
|
+
export function list($ctx, ...args) {
|
|
28
|
+
return $foundryPlatformFetch($ctx, _list, ...args);
|
|
29
|
+
}
|
|
30
|
+
//# sourceMappingURL=ModelStudioRun.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ModelStudioRun.js","names":["foundryPlatformFetch","$foundryPlatformFetch","_list","list","$ctx","args"],"sources":["ModelStudioRun.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 _list = [0, \"/v2/models/modelStudios/{0}/runs\", 2];\n/**\n * Lists all runs for a Model Studio.\n *\n * @alpha\n *\n * Required Scopes: [api:models-read]\n * URL: /v2/models/modelStudios/{modelStudioRid}/runs\n */\nexport function list($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _list, ...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,kCAAkC,EAAE,CAAC,CAAC;AACxD;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","ignoreList":[]}
|
|
@@ -0,0 +1,31 @@
|
|
|
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
|
+
* Lists all available trainers for Model Studios.
|
|
7
|
+
*
|
|
8
|
+
* @alpha
|
|
9
|
+
*
|
|
10
|
+
* Required Scopes: [api:models-read]
|
|
11
|
+
* URL: /v2/models/modelStudioTrainers
|
|
12
|
+
*/
|
|
13
|
+
export declare function list($ctx: $Client | $ClientContext | $OldClient | $OldClientContext, ...args: [$queryParams?: {
|
|
14
|
+
preview?: _Core.PreviewMode | undefined;
|
|
15
|
+
}]): Promise<_Models.ListModelStudioTrainersResponse>;
|
|
16
|
+
/**
|
|
17
|
+
* Gets details about a specific trainer by its ID and optional version.
|
|
18
|
+
*
|
|
19
|
+
* @alpha
|
|
20
|
+
*
|
|
21
|
+
* Required Scopes: [api:models-read]
|
|
22
|
+
* URL: /v2/models/modelStudioTrainers/{modelStudioTrainerTrainerId}
|
|
23
|
+
*/
|
|
24
|
+
export declare function get($ctx: $Client | $ClientContext | $OldClient | $OldClientContext, ...args: [
|
|
25
|
+
modelStudioTrainerTrainerId: _Models.TrainerId,
|
|
26
|
+
$queryParams?: {
|
|
27
|
+
version?: _Models.TrainerVersion | undefined;
|
|
28
|
+
preview?: _Core.PreviewMode | undefined;
|
|
29
|
+
}
|
|
30
|
+
]): Promise<_Models.ModelStudioTrainer>;
|
|
31
|
+
//# sourceMappingURL=ModelStudioTrainer.d.ts.map
|
|
@@ -0,0 +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;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"}
|