@osdk/foundry.models 2.47.0 → 2.48.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.
Files changed (50) hide show
  1. package/CHANGELOG.md +12 -0
  2. package/build/browser/_components.d.ts +287 -0
  3. package/build/browser/_components.d.ts.map +1 -1
  4. package/build/browser/_errors.d.ts +138 -0
  5. package/build/browser/_errors.d.ts.map +1 -1
  6. package/build/browser/index.d.ts +6 -2
  7. package/build/browser/index.d.ts.map +1 -1
  8. package/build/browser/index.js +4 -0
  9. package/build/browser/index.js.map +1 -1
  10. package/build/browser/public/ModelStudio.d.ts +47 -0
  11. package/build/browser/public/ModelStudio.d.ts.map +1 -0
  12. package/build/browser/public/ModelStudio.js +54 -0
  13. package/build/browser/public/ModelStudio.js.map +1 -0
  14. package/build/browser/public/ModelStudioConfigVersion.d.ts +65 -0
  15. package/build/browser/public/ModelStudioConfigVersion.d.ts.map +1 -0
  16. package/build/browser/public/ModelStudioConfigVersion.js +66 -0
  17. package/build/browser/public/ModelStudioConfigVersion.js.map +1 -0
  18. package/build/browser/public/ModelStudioRun.d.ts +22 -0
  19. package/build/browser/public/ModelStudioRun.d.ts.map +1 -0
  20. package/build/browser/public/ModelStudioRun.js +30 -0
  21. package/build/browser/public/ModelStudioRun.js.map +1 -0
  22. package/build/browser/public/ModelStudioTrainer.d.ts +35 -0
  23. package/build/browser/public/ModelStudioTrainer.d.ts.map +1 -0
  24. package/build/browser/public/ModelStudioTrainer.js +42 -0
  25. package/build/browser/public/ModelStudioTrainer.js.map +1 -0
  26. package/build/esm/_components.d.ts +287 -0
  27. package/build/esm/_components.d.ts.map +1 -1
  28. package/build/esm/_errors.d.ts +138 -0
  29. package/build/esm/_errors.d.ts.map +1 -1
  30. package/build/esm/index.d.ts +6 -2
  31. package/build/esm/index.d.ts.map +1 -1
  32. package/build/esm/index.js +4 -0
  33. package/build/esm/index.js.map +1 -1
  34. package/build/esm/public/ModelStudio.d.ts +47 -0
  35. package/build/esm/public/ModelStudio.d.ts.map +1 -0
  36. package/build/esm/public/ModelStudio.js +54 -0
  37. package/build/esm/public/ModelStudio.js.map +1 -0
  38. package/build/esm/public/ModelStudioConfigVersion.d.ts +65 -0
  39. package/build/esm/public/ModelStudioConfigVersion.d.ts.map +1 -0
  40. package/build/esm/public/ModelStudioConfigVersion.js +66 -0
  41. package/build/esm/public/ModelStudioConfigVersion.js.map +1 -0
  42. package/build/esm/public/ModelStudioRun.d.ts +22 -0
  43. package/build/esm/public/ModelStudioRun.d.ts.map +1 -0
  44. package/build/esm/public/ModelStudioRun.js +30 -0
  45. package/build/esm/public/ModelStudioRun.js.map +1 -0
  46. package/build/esm/public/ModelStudioTrainer.d.ts +35 -0
  47. package/build/esm/public/ModelStudioTrainer.d.ts.map +1 -0
  48. package/build/esm/public/ModelStudioTrainer.js +42 -0
  49. package/build/esm/public/ModelStudioTrainer.js.map +1 -0
  50. package/package.json +4 -4
@@ -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,35 @@
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: [
14
+ $queryParams?: {
15
+ pageSize?: _Core.PageSize | undefined;
16
+ pageToken?: _Core.PageToken | undefined;
17
+ preview?: _Core.PreviewMode | undefined;
18
+ }
19
+ ]): Promise<_Models.ListModelStudioTrainersResponse>;
20
+ /**
21
+ * Gets details about a specific trainer by its ID and optional version.
22
+ *
23
+ * @alpha
24
+ *
25
+ * Required Scopes: [api:models-read]
26
+ * URL: /v2/models/modelStudioTrainers/{modelStudioTrainerTrainerId}
27
+ */
28
+ export declare function get($ctx: $Client | $ClientContext | $OldClient | $OldClientContext, ...args: [
29
+ modelStudioTrainerTrainerId: _Models.TrainerId,
30
+ $queryParams?: {
31
+ version?: _Models.TrainerVersion | undefined;
32
+ preview?: _Core.PreviewMode | undefined;
33
+ }
34
+ ]): Promise<_Models.ModelStudioTrainer>;
35
+ //# 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;AAYlD;;;;;;;GAOG;AACH,wBAAgB,IAAI,CAClB,IAAI,EAAE,OAAO,GAAG,cAAc,GAAG,UAAU,GAAG,iBAAiB,EAC/D,GAAG,IAAI,EAAE;IACP,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,+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"}
@@ -0,0 +1,42 @@
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/modelStudioTrainers", 2];
19
+ /**
20
+ * Lists all available trainers for Model Studios.
21
+ *
22
+ * @alpha
23
+ *
24
+ * Required Scopes: [api:models-read]
25
+ * URL: /v2/models/modelStudioTrainers
26
+ */
27
+ export function list($ctx, ...args) {
28
+ return $foundryPlatformFetch($ctx, _list, ...args);
29
+ }
30
+ const _get = [0, "/v2/models/modelStudioTrainers/{0}", 2];
31
+ /**
32
+ * Gets details about a specific trainer by its ID and optional version.
33
+ *
34
+ * @alpha
35
+ *
36
+ * Required Scopes: [api:models-read]
37
+ * URL: /v2/models/modelStudioTrainers/{modelStudioTrainerTrainerId}
38
+ */
39
+ export function get($ctx, ...args) {
40
+ return $foundryPlatformFetch($ctx, _get, ...args);
41
+ }
42
+ //# sourceMappingURL=ModelStudioTrainer.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ModelStudioTrainer.js","names":["foundryPlatformFetch","$foundryPlatformFetch","_list","list","$ctx","args","_get","get"],"sources":["ModelStudioTrainer.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/modelStudioTrainers\", 2];\n/**\n * Lists all available trainers for Model Studios.\n *\n * @alpha\n *\n * Required Scopes: [api:models-read]\n * URL: /v2/models/modelStudioTrainers\n */\nexport function list($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _list, ...args);\n}\nconst _get = [0, \"/v2/models/modelStudioTrainers/{0}\", 2];\n/**\n * Gets details about a specific trainer by its ID and optional version.\n *\n * @alpha\n *\n * Required Scopes: [api:models-read]\n * URL: /v2/models/modelStudioTrainers/{modelStudioTrainerTrainerId}\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,KAAK,GAAG,CAAC,CAAC,EAAE,gCAAgC,EAAE,CAAC,CAAC;AACtD;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,IAAI,GAAG,CAAC,CAAC,EAAE,oCAAoC,EAAE,CAAC,CAAC;AACzD;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":[]}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@osdk/foundry.models",
3
- "version": "2.47.0",
3
+ "version": "2.48.0",
4
4
  "license": "Apache-2.0",
5
5
  "repository": {
6
6
  "type": "git",
@@ -21,8 +21,8 @@
21
21
  "dependencies": {
22
22
  "@osdk/shared.client": "^1.0.1",
23
23
  "@osdk/shared.client2": "^1.0.0",
24
- "@osdk/foundry.filesystem": "2.47.0",
25
- "@osdk/foundry.core": "2.47.0",
24
+ "@osdk/foundry.core": "2.48.0",
25
+ "@osdk/foundry.filesystem": "2.48.0",
26
26
  "@osdk/shared.net.platformapi": "~1.6.0"
27
27
  },
28
28
  "devDependencies": {
@@ -46,7 +46,7 @@
46
46
  "sls": {
47
47
  "dependencies": {
48
48
  "com.palantir.foundry.api:api-gateway": {
49
- "minVersion": "1.1465.0",
49
+ "minVersion": "1.1476.0",
50
50
  "maxVersion": "1.x.x",
51
51
  "optional": false
52
52
  }