@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.
Files changed (94) hide show
  1. package/CHANGELOG.md +24 -0
  2. package/build/browser/_components.d.ts +873 -0
  3. package/build/browser/_components.d.ts.map +1 -1
  4. package/build/browser/_errors.d.ts +353 -0
  5. package/build/browser/_errors.d.ts.map +1 -1
  6. package/build/browser/index.d.ts +10 -2
  7. package/build/browser/index.d.ts.map +1 -1
  8. package/build/browser/index.js +8 -0
  9. package/build/browser/index.js.map +1 -1
  10. package/build/browser/public/Experiment.d.ts +37 -0
  11. package/build/browser/public/Experiment.d.ts.map +1 -0
  12. package/build/browser/public/Experiment.js +44 -0
  13. package/build/browser/public/Experiment.js.map +1 -0
  14. package/build/browser/public/ExperimentArtifactTable.d.ts +41 -0
  15. package/build/browser/public/ExperimentArtifactTable.d.ts.map +1 -0
  16. package/build/browser/public/ExperimentArtifactTable.js +44 -0
  17. package/build/browser/public/ExperimentArtifactTable.js.map +1 -0
  18. package/build/browser/public/ExperimentSeries.d.ts +40 -0
  19. package/build/browser/public/ExperimentSeries.d.ts.map +1 -0
  20. package/build/browser/public/ExperimentSeries.js +43 -0
  21. package/build/browser/public/ExperimentSeries.js.map +1 -0
  22. package/build/browser/public/LiveDeployment.d.ts +20 -0
  23. package/build/browser/public/LiveDeployment.d.ts.map +1 -0
  24. package/build/browser/public/LiveDeployment.js +30 -0
  25. package/build/browser/public/LiveDeployment.js.map +1 -0
  26. package/build/browser/public/Model.d.ts +2 -2
  27. package/build/browser/public/Model.js +2 -2
  28. package/build/browser/public/Model.js.map +1 -1
  29. package/build/browser/public/ModelStudio.d.ts +47 -0
  30. package/build/browser/public/ModelStudio.d.ts.map +1 -0
  31. package/build/browser/public/ModelStudio.js +54 -0
  32. package/build/browser/public/ModelStudio.js.map +1 -0
  33. package/build/browser/public/ModelStudioConfigVersion.d.ts +65 -0
  34. package/build/browser/public/ModelStudioConfigVersion.d.ts.map +1 -0
  35. package/build/browser/public/ModelStudioConfigVersion.js +66 -0
  36. package/build/browser/public/ModelStudioConfigVersion.js.map +1 -0
  37. package/build/browser/public/ModelStudioRun.d.ts +22 -0
  38. package/build/browser/public/ModelStudioRun.d.ts.map +1 -0
  39. package/build/browser/public/ModelStudioRun.js +30 -0
  40. package/build/browser/public/ModelStudioRun.js.map +1 -0
  41. package/build/browser/public/ModelStudioTrainer.d.ts +31 -0
  42. package/build/browser/public/ModelStudioTrainer.d.ts.map +1 -0
  43. package/build/browser/public/ModelStudioTrainer.js +42 -0
  44. package/build/browser/public/ModelStudioTrainer.js.map +1 -0
  45. package/build/browser/public/ModelVersion.d.ts +2 -2
  46. package/build/browser/public/ModelVersion.js +2 -2
  47. package/build/browser/public/ModelVersion.js.map +1 -1
  48. package/build/esm/_components.d.ts +873 -0
  49. package/build/esm/_components.d.ts.map +1 -1
  50. package/build/esm/_errors.d.ts +353 -0
  51. package/build/esm/_errors.d.ts.map +1 -1
  52. package/build/esm/index.d.ts +10 -2
  53. package/build/esm/index.d.ts.map +1 -1
  54. package/build/esm/index.js +8 -0
  55. package/build/esm/index.js.map +1 -1
  56. package/build/esm/public/Experiment.d.ts +37 -0
  57. package/build/esm/public/Experiment.d.ts.map +1 -0
  58. package/build/esm/public/Experiment.js +44 -0
  59. package/build/esm/public/Experiment.js.map +1 -0
  60. package/build/esm/public/ExperimentArtifactTable.d.ts +41 -0
  61. package/build/esm/public/ExperimentArtifactTable.d.ts.map +1 -0
  62. package/build/esm/public/ExperimentArtifactTable.js +44 -0
  63. package/build/esm/public/ExperimentArtifactTable.js.map +1 -0
  64. package/build/esm/public/ExperimentSeries.d.ts +40 -0
  65. package/build/esm/public/ExperimentSeries.d.ts.map +1 -0
  66. package/build/esm/public/ExperimentSeries.js +43 -0
  67. package/build/esm/public/ExperimentSeries.js.map +1 -0
  68. package/build/esm/public/LiveDeployment.d.ts +20 -0
  69. package/build/esm/public/LiveDeployment.d.ts.map +1 -0
  70. package/build/esm/public/LiveDeployment.js +30 -0
  71. package/build/esm/public/LiveDeployment.js.map +1 -0
  72. package/build/esm/public/Model.d.ts +2 -2
  73. package/build/esm/public/Model.js +2 -2
  74. package/build/esm/public/Model.js.map +1 -1
  75. package/build/esm/public/ModelStudio.d.ts +47 -0
  76. package/build/esm/public/ModelStudio.d.ts.map +1 -0
  77. package/build/esm/public/ModelStudio.js +54 -0
  78. package/build/esm/public/ModelStudio.js.map +1 -0
  79. package/build/esm/public/ModelStudioConfigVersion.d.ts +65 -0
  80. package/build/esm/public/ModelStudioConfigVersion.d.ts.map +1 -0
  81. package/build/esm/public/ModelStudioConfigVersion.js +66 -0
  82. package/build/esm/public/ModelStudioConfigVersion.js.map +1 -0
  83. package/build/esm/public/ModelStudioRun.d.ts +22 -0
  84. package/build/esm/public/ModelStudioRun.d.ts.map +1 -0
  85. package/build/esm/public/ModelStudioRun.js +30 -0
  86. package/build/esm/public/ModelStudioRun.js.map +1 -0
  87. package/build/esm/public/ModelStudioTrainer.d.ts +31 -0
  88. package/build/esm/public/ModelStudioTrainer.d.ts.map +1 -0
  89. package/build/esm/public/ModelStudioTrainer.js +42 -0
  90. package/build/esm/public/ModelStudioTrainer.js.map +1 -0
  91. package/build/esm/public/ModelVersion.d.ts +2 -2
  92. package/build/esm/public/ModelVersion.js +2 -2
  93. package/build/esm/public/ModelVersion.js.map +1 -1
  94. package/package.json +4 -4
@@ -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":[]}
@@ -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
- * @alpha
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
- * @alpha
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
- * @alpha
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
- * @alpha
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 * @alpha\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 * @alpha\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":[]}
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":[]}