@osdk/foundry 0.1.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 +13 -0
- package/build/js/index.cjs +4 -0
- package/build/js/index.cjs.map +1 -0
- package/build/js/index.mjs +3 -0
- package/build/js/index.mjs.map +1 -0
- package/build/js/public/Datasets_Branch.cjs +28 -0
- package/build/js/public/Datasets_Branch.cjs.map +1 -0
- package/build/js/public/Datasets_Branch.mjs +23 -0
- package/build/js/public/Datasets_Branch.mjs.map +1 -0
- package/build/js/public/Datasets_Dataset.cjs +38 -0
- package/build/js/public/Datasets_Dataset.cjs.map +1 -0
- package/build/js/public/Datasets_Dataset.mjs +31 -0
- package/build/js/public/Datasets_Dataset.mjs.map +1 -0
- package/build/js/public/Datasets_File.cjs +33 -0
- package/build/js/public/Datasets_File.cjs.map +1 -0
- package/build/js/public/Datasets_File.mjs +27 -0
- package/build/js/public/Datasets_File.mjs.map +1 -0
- package/build/js/public/Datasets_Transaction.cjs +28 -0
- package/build/js/public/Datasets_Transaction.cjs.map +1 -0
- package/build/js/public/Datasets_Transaction.mjs +23 -0
- package/build/js/public/Datasets_Transaction.mjs.map +1 -0
- package/build/js/public/Models_LanguageModel.cjs +23 -0
- package/build/js/public/Models_LanguageModel.cjs.map +1 -0
- package/build/js/public/Models_LanguageModel.mjs +19 -0
- package/build/js/public/Models_LanguageModel.mjs.map +1 -0
- package/build/js/public/OntologiesV2_Action.cjs +23 -0
- package/build/js/public/OntologiesV2_Action.cjs.map +1 -0
- package/build/js/public/OntologiesV2_Action.mjs +19 -0
- package/build/js/public/OntologiesV2_Action.mjs.map +1 -0
- package/build/js/public/OntologiesV2_ActionTypeV2.cjs +18 -0
- package/build/js/public/OntologiesV2_ActionTypeV2.cjs.map +1 -0
- package/build/js/public/OntologiesV2_ActionTypeV2.mjs +15 -0
- package/build/js/public/OntologiesV2_ActionTypeV2.mjs.map +1 -0
- package/build/js/public/OntologiesV2_ObjectTypeV2.cjs +28 -0
- package/build/js/public/OntologiesV2_ObjectTypeV2.cjs.map +1 -0
- package/build/js/public/OntologiesV2_ObjectTypeV2.mjs +23 -0
- package/build/js/public/OntologiesV2_ObjectTypeV2.mjs.map +1 -0
- package/build/js/public/OntologiesV2_OntologyObjectSet.cjs +23 -0
- package/build/js/public/OntologiesV2_OntologyObjectSet.cjs.map +1 -0
- package/build/js/public/OntologiesV2_OntologyObjectSet.mjs +19 -0
- package/build/js/public/OntologiesV2_OntologyObjectSet.mjs.map +1 -0
- package/build/js/public/OntologiesV2_OntologyObjectV2.cjs +98 -0
- package/build/js/public/OntologiesV2_OntologyObjectV2.cjs.map +1 -0
- package/build/js/public/OntologiesV2_OntologyObjectV2.mjs +79 -0
- package/build/js/public/OntologiesV2_OntologyObjectV2.mjs.map +1 -0
- package/build/js/public/OntologiesV2_OntologyV2.cjs +23 -0
- package/build/js/public/OntologiesV2_OntologyV2.cjs.map +1 -0
- package/build/js/public/OntologiesV2_OntologyV2.mjs +19 -0
- package/build/js/public/OntologiesV2_OntologyV2.mjs.map +1 -0
- package/build/js/public/OntologiesV2_QueryType.cjs +23 -0
- package/build/js/public/OntologiesV2_QueryType.cjs.map +1 -0
- package/build/js/public/OntologiesV2_QueryType.mjs +19 -0
- package/build/js/public/OntologiesV2_QueryType.mjs.map +1 -0
- package/build/js/public/types.cjs +4 -0
- package/build/js/public/types.cjs.map +1 -0
- package/build/js/public/types.mjs +3 -0
- package/build/js/public/types.mjs.map +1 -0
- package/build/types/generated/components.d.ts +3296 -0
- package/build/types/generated/components.d.ts.map +1 -0
- package/build/types/index.d.ts +3 -0
- package/build/types/index.d.ts.map +1 -0
- package/build/types/public/Datasets_Branch.d.ts +45 -0
- package/build/types/public/Datasets_Branch.d.ts.map +1 -0
- package/build/types/public/Datasets_Dataset.d.ts +84 -0
- package/build/types/public/Datasets_Dataset.d.ts.map +1 -0
- package/build/types/public/Datasets_File.d.ts +184 -0
- package/build/types/public/Datasets_File.d.ts.map +1 -0
- package/build/types/public/Datasets_Transaction.d.ts +47 -0
- package/build/types/public/Datasets_Transaction.d.ts.map +1 -0
- package/build/types/public/Models_LanguageModel.d.ts +27 -0
- package/build/types/public/Models_LanguageModel.d.ts.map +1 -0
- package/build/types/public/OntologiesV2_Action.d.ts +71 -0
- package/build/types/public/OntologiesV2_Action.d.ts.map +1 -0
- package/build/types/public/OntologiesV2_ActionTypeV2.d.ts +30 -0
- package/build/types/public/OntologiesV2_ActionTypeV2.d.ts.map +1 -0
- package/build/types/public/OntologiesV2_ObjectTypeV2.d.ts +62 -0
- package/build/types/public/OntologiesV2_ObjectTypeV2.d.ts.map +1 -0
- package/build/types/public/OntologiesV2_OntologyObjectSet.d.ts +50 -0
- package/build/types/public/OntologiesV2_OntologyObjectSet.d.ts.map +1 -0
- package/build/types/public/OntologiesV2_OntologyObjectV2.d.ts +429 -0
- package/build/types/public/OntologiesV2_OntologyObjectV2.d.ts.map +1 -0
- package/build/types/public/OntologiesV2_OntologyV2.d.ts +28 -0
- package/build/types/public/OntologiesV2_OntologyV2.d.ts.map +1 -0
- package/build/types/public/OntologiesV2_QueryType.d.ts +50 -0
- package/build/types/public/OntologiesV2_QueryType.d.ts.map +1 -0
- package/build/types/public/types.d.ts +2 -0
- package/build/types/public/types.d.ts.map +1 -0
- package/package.json +55 -0
package/CHANGELOG.md
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":""}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var shared_net = require('@osdk/shared.net');
|
|
4
|
+
|
|
5
|
+
// src/public/Datasets_Branch.ts
|
|
6
|
+
var _listBranches = [0, "/v1/datasets/{0}/branches", 2];
|
|
7
|
+
function listBranches($ctx, ...args) {
|
|
8
|
+
return shared_net.omniFetch($ctx, _listBranches, ...args);
|
|
9
|
+
}
|
|
10
|
+
var _createBranch = [1, "/v1/datasets/{0}/branches", 1];
|
|
11
|
+
function createBranch($ctx, ...args) {
|
|
12
|
+
return shared_net.omniFetch($ctx, _createBranch, ...args);
|
|
13
|
+
}
|
|
14
|
+
var _getBranch = [0, "/v1/datasets/{0}/branches/{1}"];
|
|
15
|
+
function getBranch($ctx, ...args) {
|
|
16
|
+
return shared_net.omniFetch($ctx, _getBranch, ...args);
|
|
17
|
+
}
|
|
18
|
+
var _deleteBranch = [3, "/v1/datasets/{0}/branches/{1}"];
|
|
19
|
+
function deleteBranch($ctx, ...args) {
|
|
20
|
+
return shared_net.omniFetch($ctx, _deleteBranch, ...args);
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
exports.createBranch = createBranch;
|
|
24
|
+
exports.deleteBranch = deleteBranch;
|
|
25
|
+
exports.getBranch = getBranch;
|
|
26
|
+
exports.listBranches = listBranches;
|
|
27
|
+
//# sourceMappingURL=out.js.map
|
|
28
|
+
//# sourceMappingURL=Datasets_Branch.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../src/public/Datasets_Branch.ts"],"names":[],"mappings":";AAgBA,SAAS,aAAa,kBAAkB;AACxC,IAAM,gBAAgB,CAAC,GAAG,6BAA6B,CAAC;AAUjD,SAAS,aAAa,SAAS,MAAM;AAC1C,SAAO,WAAW,MAAM,eAAe,GAAG,IAAI;AAChD;AACA,IAAM,gBAAgB,CAAC,GAAG,6BAA6B,CAAC;AAUjD,SAAS,aAAa,SAAS,MAAM;AAC1C,SAAO,WAAW,MAAM,eAAe,GAAG,IAAI;AAChD;AACA,IAAM,aAAa,CAAC,GAAG,+BAA+B;AAU/C,SAAS,UAAU,SAAS,MAAM;AACvC,SAAO,WAAW,MAAM,YAAY,GAAG,IAAI;AAC7C;AACA,IAAM,gBAAgB,CAAC,GAAG,+BAA+B;AAUlD,SAAS,aAAa,SAAS,MAAM;AAC1C,SAAO,WAAW,MAAM,eAAe,GAAG,IAAI;AAChD","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 */\n\nimport { omniFetch as $omniFetch } from \"@osdk/shared.net\";\nconst _listBranches = [0, \"/v1/datasets/{0}/branches\", 2];\n\n/**\n * Lists the Branches of a Dataset.\n *\n * Third-party applications using this endpoint via OAuth2 must request the following operation scope: `api:datasets-read`.\n *\n * Required Scopes: [api:datasets-read]\n * URL: /v1/datasets/{datasetRid}/branches\n */\nexport function listBranches($ctx, ...args) {\n return $omniFetch($ctx, _listBranches, ...args);\n}\nconst _createBranch = [1, \"/v1/datasets/{0}/branches\", 1];\n\n/**\n * Creates a branch on an existing dataset. A branch may optionally point to a (committed) transaction.\n *\n * Third-party applications using this endpoint via OAuth2 must request the following operation scope: `api:datasets-write`.\n *\n * Required Scopes: [api:datasets-write]\n * URL: /v1/datasets/{datasetRid}/branches\n */\nexport function createBranch($ctx, ...args) {\n return $omniFetch($ctx, _createBranch, ...args);\n}\nconst _getBranch = [0, \"/v1/datasets/{0}/branches/{1}\"];\n\n/**\n * Get a Branch of a Dataset.\n *\n * Third-party applications using this endpoint via OAuth2 must request the following operation scope: `api:datasets-read`.\n *\n * Required Scopes: [api:datasets-read]\n * URL: /v1/datasets/{datasetRid}/branches/{branchId}\n */\nexport function getBranch($ctx, ...args) {\n return $omniFetch($ctx, _getBranch, ...args);\n}\nconst _deleteBranch = [3, \"/v1/datasets/{0}/branches/{1}\"];\n\n/**\n * Deletes the Branch with the given BranchId.\n *\n * Third-party applications using this endpoint via OAuth2 must request the following operation scope: `api:datasets-write`.\n *\n * Required Scopes: [api:datasets-write]\n * URL: /v1/datasets/{datasetRid}/branches/{branchId}\n */\nexport function deleteBranch($ctx, ...args) {\n return $omniFetch($ctx, _deleteBranch, ...args);\n}"]}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { omniFetch } from '@osdk/shared.net';
|
|
2
|
+
|
|
3
|
+
// src/public/Datasets_Branch.ts
|
|
4
|
+
var _listBranches = [0, "/v1/datasets/{0}/branches", 2];
|
|
5
|
+
function listBranches($ctx, ...args) {
|
|
6
|
+
return omniFetch($ctx, _listBranches, ...args);
|
|
7
|
+
}
|
|
8
|
+
var _createBranch = [1, "/v1/datasets/{0}/branches", 1];
|
|
9
|
+
function createBranch($ctx, ...args) {
|
|
10
|
+
return omniFetch($ctx, _createBranch, ...args);
|
|
11
|
+
}
|
|
12
|
+
var _getBranch = [0, "/v1/datasets/{0}/branches/{1}"];
|
|
13
|
+
function getBranch($ctx, ...args) {
|
|
14
|
+
return omniFetch($ctx, _getBranch, ...args);
|
|
15
|
+
}
|
|
16
|
+
var _deleteBranch = [3, "/v1/datasets/{0}/branches/{1}"];
|
|
17
|
+
function deleteBranch($ctx, ...args) {
|
|
18
|
+
return omniFetch($ctx, _deleteBranch, ...args);
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
export { createBranch, deleteBranch, getBranch, listBranches };
|
|
22
|
+
//# sourceMappingURL=out.js.map
|
|
23
|
+
//# sourceMappingURL=Datasets_Branch.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../src/public/Datasets_Branch.ts"],"names":[],"mappings":";AAgBA,SAAS,aAAa,kBAAkB;AACxC,IAAM,gBAAgB,CAAC,GAAG,6BAA6B,CAAC;AAUjD,SAAS,aAAa,SAAS,MAAM;AAC1C,SAAO,WAAW,MAAM,eAAe,GAAG,IAAI;AAChD;AACA,IAAM,gBAAgB,CAAC,GAAG,6BAA6B,CAAC;AAUjD,SAAS,aAAa,SAAS,MAAM;AAC1C,SAAO,WAAW,MAAM,eAAe,GAAG,IAAI;AAChD;AACA,IAAM,aAAa,CAAC,GAAG,+BAA+B;AAU/C,SAAS,UAAU,SAAS,MAAM;AACvC,SAAO,WAAW,MAAM,YAAY,GAAG,IAAI;AAC7C;AACA,IAAM,gBAAgB,CAAC,GAAG,+BAA+B;AAUlD,SAAS,aAAa,SAAS,MAAM;AAC1C,SAAO,WAAW,MAAM,eAAe,GAAG,IAAI;AAChD","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 */\n\nimport { omniFetch as $omniFetch } from \"@osdk/shared.net\";\nconst _listBranches = [0, \"/v1/datasets/{0}/branches\", 2];\n\n/**\n * Lists the Branches of a Dataset.\n *\n * Third-party applications using this endpoint via OAuth2 must request the following operation scope: `api:datasets-read`.\n *\n * Required Scopes: [api:datasets-read]\n * URL: /v1/datasets/{datasetRid}/branches\n */\nexport function listBranches($ctx, ...args) {\n return $omniFetch($ctx, _listBranches, ...args);\n}\nconst _createBranch = [1, \"/v1/datasets/{0}/branches\", 1];\n\n/**\n * Creates a branch on an existing dataset. A branch may optionally point to a (committed) transaction.\n *\n * Third-party applications using this endpoint via OAuth2 must request the following operation scope: `api:datasets-write`.\n *\n * Required Scopes: [api:datasets-write]\n * URL: /v1/datasets/{datasetRid}/branches\n */\nexport function createBranch($ctx, ...args) {\n return $omniFetch($ctx, _createBranch, ...args);\n}\nconst _getBranch = [0, \"/v1/datasets/{0}/branches/{1}\"];\n\n/**\n * Get a Branch of a Dataset.\n *\n * Third-party applications using this endpoint via OAuth2 must request the following operation scope: `api:datasets-read`.\n *\n * Required Scopes: [api:datasets-read]\n * URL: /v1/datasets/{datasetRid}/branches/{branchId}\n */\nexport function getBranch($ctx, ...args) {\n return $omniFetch($ctx, _getBranch, ...args);\n}\nconst _deleteBranch = [3, \"/v1/datasets/{0}/branches/{1}\"];\n\n/**\n * Deletes the Branch with the given BranchId.\n *\n * Third-party applications using this endpoint via OAuth2 must request the following operation scope: `api:datasets-write`.\n *\n * Required Scopes: [api:datasets-write]\n * URL: /v1/datasets/{datasetRid}/branches/{branchId}\n */\nexport function deleteBranch($ctx, ...args) {\n return $omniFetch($ctx, _deleteBranch, ...args);\n}"]}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var shared_net = require('@osdk/shared.net');
|
|
4
|
+
|
|
5
|
+
// src/public/Datasets_Dataset.ts
|
|
6
|
+
var _createDataset = [1, "/v1/datasets", 1];
|
|
7
|
+
function createDataset($ctx, ...args) {
|
|
8
|
+
return shared_net.omniFetch($ctx, _createDataset, ...args);
|
|
9
|
+
}
|
|
10
|
+
var _getDataset = [0, "/v1/datasets/{0}"];
|
|
11
|
+
function getDataset($ctx, ...args) {
|
|
12
|
+
return shared_net.omniFetch($ctx, _getDataset, ...args);
|
|
13
|
+
}
|
|
14
|
+
var _readTable = [0, "/v1/datasets/{0}/readTable", 2, , "*/*"];
|
|
15
|
+
function readTable($ctx, ...args) {
|
|
16
|
+
return shared_net.omniFetch($ctx, _readTable, ...args);
|
|
17
|
+
}
|
|
18
|
+
var _getSchema = [0, "/v1/datasets/{0}/schema", 2];
|
|
19
|
+
function getSchema($ctx, ...args) {
|
|
20
|
+
return shared_net.omniFetch($ctx, _getSchema, ...args);
|
|
21
|
+
}
|
|
22
|
+
var _putSchema = [2, "/v1/datasets/{0}/schema", 3];
|
|
23
|
+
function putSchema($ctx, ...args) {
|
|
24
|
+
return shared_net.omniFetch($ctx, _putSchema, ...args);
|
|
25
|
+
}
|
|
26
|
+
var _deleteSchema = [3, "/v1/datasets/{0}/schema", 2];
|
|
27
|
+
function deleteSchema($ctx, ...args) {
|
|
28
|
+
return shared_net.omniFetch($ctx, _deleteSchema, ...args);
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
exports.createDataset = createDataset;
|
|
32
|
+
exports.deleteSchema = deleteSchema;
|
|
33
|
+
exports.getDataset = getDataset;
|
|
34
|
+
exports.getSchema = getSchema;
|
|
35
|
+
exports.putSchema = putSchema;
|
|
36
|
+
exports.readTable = readTable;
|
|
37
|
+
//# sourceMappingURL=out.js.map
|
|
38
|
+
//# sourceMappingURL=Datasets_Dataset.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../src/public/Datasets_Dataset.ts"],"names":[],"mappings":";AAgBA,SAAS,aAAa,kBAAkB;AACxC,IAAM,iBAAiB,CAAC,GAAG,gBAAgB,CAAC;AAUrC,SAAS,cAAc,SAAS,MAAM;AAC3C,SAAO,WAAW,MAAM,gBAAgB,GAAG,IAAI;AACjD;AACA,IAAM,cAAc,CAAC,GAAG,kBAAkB;AAUnC,SAAS,WAAW,SAAS,MAAM;AACxC,SAAO,WAAW,MAAM,aAAa,GAAG,IAAI;AAC9C;AACA,IAAM,aAAa,CAAC,GAAG,8BAA8B,GAAE,EAAE,KAAK;AAYvD,SAAS,UAAU,SAAS,MAAM;AACvC,SAAO,WAAW,MAAM,YAAY,GAAG,IAAI;AAC7C;AACA,IAAM,aAAa,CAAC,GAAG,2BAA2B,CAAC;AAQ5C,SAAS,UAAU,SAAS,MAAM;AACvC,SAAO,WAAW,MAAM,YAAY,GAAG,IAAI;AAC7C;AACA,IAAM,aAAa,CAAC,GAAG,2BAA2B,CAAC;AAQ5C,SAAS,UAAU,SAAS,MAAM;AACvC,SAAO,WAAW,MAAM,YAAY,GAAG,IAAI;AAC7C;AACA,IAAM,gBAAgB,CAAC,GAAG,2BAA2B,CAAC;AAQ/C,SAAS,aAAa,SAAS,MAAM;AAC1C,SAAO,WAAW,MAAM,eAAe,GAAG,IAAI;AAChD","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 */\n\nimport { omniFetch as $omniFetch } from \"@osdk/shared.net\";\nconst _createDataset = [1, \"/v1/datasets\", 1];\n\n/**\n * Creates a new Dataset. A default branch - `master` for most enrollments - will be created on the Dataset.\n *\n * Third-party applications using this endpoint via OAuth2 must request the following operation scope: `api:datasets-write`.\n *\n * Required Scopes: [api:datasets-write]\n * URL: /v1/datasets\n */\nexport function createDataset($ctx, ...args) {\n return $omniFetch($ctx, _createDataset, ...args);\n}\nconst _getDataset = [0, \"/v1/datasets/{0}\"];\n\n/**\n * Gets the Dataset with the given DatasetRid.\n *\n * Third-party applications using this endpoint via OAuth2 must request the following operation scope: `api:datasets-read`.\n *\n * Required Scopes: [api:datasets-read]\n * URL: /v1/datasets/{datasetRid}\n */\nexport function getDataset($ctx, ...args) {\n return $omniFetch($ctx, _getDataset, ...args);\n}\nconst _readTable = [0, \"/v1/datasets/{0}/readTable\", 2,, \"*/*\"];\n\n/**\n * Gets the content of a dataset as a table in the specified format.\n *\n * This endpoint currently does not support views (Virtual datasets composed of other datasets).\n *\n * Third-party applications using this endpoint via OAuth2 must request the following operation scope: `api:datasets-read`.\n *\n * Required Scopes: [api:datasets-read]\n * URL: /v1/datasets/{datasetRid}/readTable\n */\nexport function readTable($ctx, ...args) {\n return $omniFetch($ctx, _readTable, ...args);\n}\nconst _getSchema = [0, \"/v1/datasets/{0}/schema\", 2];\n\n/**\n * Retrieves the Schema for a Dataset and Branch, if it exists.\n *\n * Required Scopes: [api:datasets-read]\n * URL: /v1/datasets/{datasetRid}/schema\n */\nexport function getSchema($ctx, ...args) {\n return $omniFetch($ctx, _getSchema, ...args);\n}\nconst _putSchema = [2, \"/v1/datasets/{0}/schema\", 3];\n\n/**\n * Puts a Schema on an existing Dataset and Branch.\n *\n * Required Scopes: [api:datasets-write]\n * URL: /v1/datasets/{datasetRid}/schema\n */\nexport function putSchema($ctx, ...args) {\n return $omniFetch($ctx, _putSchema, ...args);\n}\nconst _deleteSchema = [3, \"/v1/datasets/{0}/schema\", 2];\n\n/**\n * Deletes the Schema from a Dataset and Branch.\n *\n * Required Scopes: [api:datasets-write]\n * URL: /v1/datasets/{datasetRid}/schema\n */\nexport function deleteSchema($ctx, ...args) {\n return $omniFetch($ctx, _deleteSchema, ...args);\n}"]}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { omniFetch } from '@osdk/shared.net';
|
|
2
|
+
|
|
3
|
+
// src/public/Datasets_Dataset.ts
|
|
4
|
+
var _createDataset = [1, "/v1/datasets", 1];
|
|
5
|
+
function createDataset($ctx, ...args) {
|
|
6
|
+
return omniFetch($ctx, _createDataset, ...args);
|
|
7
|
+
}
|
|
8
|
+
var _getDataset = [0, "/v1/datasets/{0}"];
|
|
9
|
+
function getDataset($ctx, ...args) {
|
|
10
|
+
return omniFetch($ctx, _getDataset, ...args);
|
|
11
|
+
}
|
|
12
|
+
var _readTable = [0, "/v1/datasets/{0}/readTable", 2, , "*/*"];
|
|
13
|
+
function readTable($ctx, ...args) {
|
|
14
|
+
return omniFetch($ctx, _readTable, ...args);
|
|
15
|
+
}
|
|
16
|
+
var _getSchema = [0, "/v1/datasets/{0}/schema", 2];
|
|
17
|
+
function getSchema($ctx, ...args) {
|
|
18
|
+
return omniFetch($ctx, _getSchema, ...args);
|
|
19
|
+
}
|
|
20
|
+
var _putSchema = [2, "/v1/datasets/{0}/schema", 3];
|
|
21
|
+
function putSchema($ctx, ...args) {
|
|
22
|
+
return omniFetch($ctx, _putSchema, ...args);
|
|
23
|
+
}
|
|
24
|
+
var _deleteSchema = [3, "/v1/datasets/{0}/schema", 2];
|
|
25
|
+
function deleteSchema($ctx, ...args) {
|
|
26
|
+
return omniFetch($ctx, _deleteSchema, ...args);
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
export { createDataset, deleteSchema, getDataset, getSchema, putSchema, readTable };
|
|
30
|
+
//# sourceMappingURL=out.js.map
|
|
31
|
+
//# sourceMappingURL=Datasets_Dataset.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../src/public/Datasets_Dataset.ts"],"names":[],"mappings":";AAgBA,SAAS,aAAa,kBAAkB;AACxC,IAAM,iBAAiB,CAAC,GAAG,gBAAgB,CAAC;AAUrC,SAAS,cAAc,SAAS,MAAM;AAC3C,SAAO,WAAW,MAAM,gBAAgB,GAAG,IAAI;AACjD;AACA,IAAM,cAAc,CAAC,GAAG,kBAAkB;AAUnC,SAAS,WAAW,SAAS,MAAM;AACxC,SAAO,WAAW,MAAM,aAAa,GAAG,IAAI;AAC9C;AACA,IAAM,aAAa,CAAC,GAAG,8BAA8B,GAAE,EAAE,KAAK;AAYvD,SAAS,UAAU,SAAS,MAAM;AACvC,SAAO,WAAW,MAAM,YAAY,GAAG,IAAI;AAC7C;AACA,IAAM,aAAa,CAAC,GAAG,2BAA2B,CAAC;AAQ5C,SAAS,UAAU,SAAS,MAAM;AACvC,SAAO,WAAW,MAAM,YAAY,GAAG,IAAI;AAC7C;AACA,IAAM,aAAa,CAAC,GAAG,2BAA2B,CAAC;AAQ5C,SAAS,UAAU,SAAS,MAAM;AACvC,SAAO,WAAW,MAAM,YAAY,GAAG,IAAI;AAC7C;AACA,IAAM,gBAAgB,CAAC,GAAG,2BAA2B,CAAC;AAQ/C,SAAS,aAAa,SAAS,MAAM;AAC1C,SAAO,WAAW,MAAM,eAAe,GAAG,IAAI;AAChD","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 */\n\nimport { omniFetch as $omniFetch } from \"@osdk/shared.net\";\nconst _createDataset = [1, \"/v1/datasets\", 1];\n\n/**\n * Creates a new Dataset. A default branch - `master` for most enrollments - will be created on the Dataset.\n *\n * Third-party applications using this endpoint via OAuth2 must request the following operation scope: `api:datasets-write`.\n *\n * Required Scopes: [api:datasets-write]\n * URL: /v1/datasets\n */\nexport function createDataset($ctx, ...args) {\n return $omniFetch($ctx, _createDataset, ...args);\n}\nconst _getDataset = [0, \"/v1/datasets/{0}\"];\n\n/**\n * Gets the Dataset with the given DatasetRid.\n *\n * Third-party applications using this endpoint via OAuth2 must request the following operation scope: `api:datasets-read`.\n *\n * Required Scopes: [api:datasets-read]\n * URL: /v1/datasets/{datasetRid}\n */\nexport function getDataset($ctx, ...args) {\n return $omniFetch($ctx, _getDataset, ...args);\n}\nconst _readTable = [0, \"/v1/datasets/{0}/readTable\", 2,, \"*/*\"];\n\n/**\n * Gets the content of a dataset as a table in the specified format.\n *\n * This endpoint currently does not support views (Virtual datasets composed of other datasets).\n *\n * Third-party applications using this endpoint via OAuth2 must request the following operation scope: `api:datasets-read`.\n *\n * Required Scopes: [api:datasets-read]\n * URL: /v1/datasets/{datasetRid}/readTable\n */\nexport function readTable($ctx, ...args) {\n return $omniFetch($ctx, _readTable, ...args);\n}\nconst _getSchema = [0, \"/v1/datasets/{0}/schema\", 2];\n\n/**\n * Retrieves the Schema for a Dataset and Branch, if it exists.\n *\n * Required Scopes: [api:datasets-read]\n * URL: /v1/datasets/{datasetRid}/schema\n */\nexport function getSchema($ctx, ...args) {\n return $omniFetch($ctx, _getSchema, ...args);\n}\nconst _putSchema = [2, \"/v1/datasets/{0}/schema\", 3];\n\n/**\n * Puts a Schema on an existing Dataset and Branch.\n *\n * Required Scopes: [api:datasets-write]\n * URL: /v1/datasets/{datasetRid}/schema\n */\nexport function putSchema($ctx, ...args) {\n return $omniFetch($ctx, _putSchema, ...args);\n}\nconst _deleteSchema = [3, \"/v1/datasets/{0}/schema\", 2];\n\n/**\n * Deletes the Schema from a Dataset and Branch.\n *\n * Required Scopes: [api:datasets-write]\n * URL: /v1/datasets/{datasetRid}/schema\n */\nexport function deleteSchema($ctx, ...args) {\n return $omniFetch($ctx, _deleteSchema, ...args);\n}"]}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var shared_net = require('@osdk/shared.net');
|
|
4
|
+
|
|
5
|
+
// src/public/Datasets_File.ts
|
|
6
|
+
var _listFiles = [0, "/v1/datasets/{0}/files", 2];
|
|
7
|
+
function listFiles($ctx, ...args) {
|
|
8
|
+
return shared_net.omniFetch($ctx, _listFiles, ...args);
|
|
9
|
+
}
|
|
10
|
+
var _uploadFile = [1, "/v1/datasets/{0}/files:upload", 2, "*/*"];
|
|
11
|
+
function uploadFile($ctx, ...args) {
|
|
12
|
+
return shared_net.omniFetch($ctx, _uploadFile, ...args);
|
|
13
|
+
}
|
|
14
|
+
var _getFileMetadata = [0, "/v1/datasets/{0}/files/{1}", 2];
|
|
15
|
+
function getFileMetadata($ctx, ...args) {
|
|
16
|
+
return shared_net.omniFetch($ctx, _getFileMetadata, ...args);
|
|
17
|
+
}
|
|
18
|
+
var _deleteFile = [3, "/v1/datasets/{0}/files/{1}", 2];
|
|
19
|
+
function deleteFile($ctx, ...args) {
|
|
20
|
+
return shared_net.omniFetch($ctx, _deleteFile, ...args);
|
|
21
|
+
}
|
|
22
|
+
var _getFileContent = [0, "/v1/datasets/{0}/files/{1}/content", 2, , "*/*"];
|
|
23
|
+
function getFileContent($ctx, ...args) {
|
|
24
|
+
return shared_net.omniFetch($ctx, _getFileContent, ...args);
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
exports.deleteFile = deleteFile;
|
|
28
|
+
exports.getFileContent = getFileContent;
|
|
29
|
+
exports.getFileMetadata = getFileMetadata;
|
|
30
|
+
exports.listFiles = listFiles;
|
|
31
|
+
exports.uploadFile = uploadFile;
|
|
32
|
+
//# sourceMappingURL=out.js.map
|
|
33
|
+
//# sourceMappingURL=Datasets_File.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../src/public/Datasets_File.ts"],"names":[],"mappings":";AAgBA,SAAS,aAAa,kBAAkB;AACxC,IAAM,aAAa,CAAC,GAAG,0BAA0B,CAAC;AAiC3C,SAAS,UAAU,SAAS,MAAM;AACvC,SAAO,WAAW,MAAM,YAAY,GAAG,IAAI;AAC7C;AACA,IAAM,cAAc,CAAC,GAAG,iCAAiC,GAAG,KAAK;AA2B1D,SAAS,WAAW,SAAS,MAAM;AACxC,SAAO,WAAW,MAAM,aAAa,GAAG,IAAI;AAC9C;AACA,IAAM,mBAAmB,CAAC,GAAG,8BAA8B,CAAC;AA+BrD,SAAS,gBAAgB,SAAS,MAAM;AAC7C,SAAO,WAAW,MAAM,kBAAkB,GAAG,IAAI;AACnD;AACA,IAAM,cAAc,CAAC,GAAG,8BAA8B,CAAC;AAuBhD,SAAS,WAAW,SAAS,MAAM;AACxC,SAAO,WAAW,MAAM,aAAa,GAAG,IAAI;AAC9C;AACA,IAAM,kBAAkB,CAAC,GAAG,sCAAsC,GAAE,EAAE,KAAK;AAgCpE,SAAS,eAAe,SAAS,MAAM;AAC5C,SAAO,WAAW,MAAM,iBAAiB,GAAG,IAAI;AAClD","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 */\n\nimport { omniFetch as $omniFetch } from \"@osdk/shared.net\";\nconst _listFiles = [0, \"/v1/datasets/{0}/files\", 2];\n\n/**\n * Lists Files contained in a Dataset. By default files are listed on the latest view of the default\n * branch - `master` for most enrollments.\n *\n * #### Advanced Usage\n *\n * See [Datasets Core Concepts](/docs/foundry/data-integration/datasets/) for details on using branches and transactions.\n *\n * To **list files on a specific Branch** specify the Branch's identifier as `branchId`. This will include the most\n * recent version of all files since the latest snapshot transaction, or the earliest ancestor transaction of the\n * branch if there are no snapshot transactions.\n *\n * To **list files on the resolved view of a transaction** specify the Transaction's resource identifier\n * as `endTransactionRid`. This will include the most recent version of all files since the latest snapshot\n * transaction, or the earliest ancestor transaction if there are no snapshot transactions.\n *\n * To **list files on the resolved view of a range of transactions** specify the the start transaction's resource\n * identifier as `startTransactionRid` and the end transaction's resource identifier as `endTransactionRid`. This\n * will include the most recent version of all files since the `startTransactionRid` up to the `endTransactionRid`.\n * Note that an intermediate snapshot transaction will remove all files from the view. Behavior is undefined when\n * the start and end transactions do not belong to the same root-to-leaf path.\n *\n * To **list files on a specific transaction** specify the Transaction's resource identifier as both the\n * `startTransactionRid` and `endTransactionRid`. This will include only files that were modified as part of that\n * Transaction.\n *\n * Third-party applications using this endpoint via OAuth2 must request the following operation scope: `api:datasets-read`.\n *\n * Required Scopes: [api:datasets-read]\n * URL: /v1/datasets/{datasetRid}/files\n */\nexport function listFiles($ctx, ...args) {\n return $omniFetch($ctx, _listFiles, ...args);\n}\nconst _uploadFile = [1, \"/v1/datasets/{0}/files:upload\", 2, \"*/*\"];\n\n/**\n * Uploads a File to an existing Dataset.\n * The body of the request must contain the binary content of the file and the `Content-Type` header must be `application/octet-stream`.\n *\n * By default the file is uploaded to a new transaction on the default branch - `master` for most enrollments.\n * If the file already exists only the most recent version will be visible in the updated view.\n *\n * #### Advanced Usage\n *\n * See [Datasets Core Concepts](/docs/foundry/data-integration/datasets/) for details on using branches and transactions.\n *\n * To **upload a file to a specific Branch** specify the Branch's identifier as `branchId`. A new transaction will\n * be created and committed on this branch. By default the TransactionType will be `UPDATE`, to override this\n * default specify `transactionType` in addition to `branchId`.\n * See [createBranch](/docs/foundry/api/datasets-resources/branches/create-branch/) to create a custom branch.\n *\n * To **upload a file on a manually opened transaction** specify the Transaction's resource identifier as\n * `transactionRid`. This is useful for uploading multiple files in a single transaction.\n * See [createTransaction](/docs/foundry/api/datasets-resources/transactions/create-transaction/) to open a transaction.\n *\n * Third-party applications using this endpoint via OAuth2 must request the following operation scope: `api:datasets-write`.\n *\n * Required Scopes: [api:datasets-write]\n * URL: /v1/datasets/{datasetRid}/files:upload\n */\nexport function uploadFile($ctx, ...args) {\n return $omniFetch($ctx, _uploadFile, ...args);\n}\nconst _getFileMetadata = [0, \"/v1/datasets/{0}/files/{1}\", 2];\n\n/**\n * Gets metadata about a File contained in a Dataset. By default this retrieves the file's metadata from the latest\n * view of the default branch - `master` for most enrollments.\n *\n * #### Advanced Usage\n *\n * See [Datasets Core Concepts](/docs/foundry/data-integration/datasets/) for details on using branches and transactions.\n *\n * To **get a file's metadata from a specific Branch** specify the Branch's identifier as `branchId`. This will\n * retrieve metadata for the most recent version of the file since the latest snapshot transaction, or the earliest\n * ancestor transaction of the branch if there are no snapshot transactions.\n *\n * To **get a file's metadata from the resolved view of a transaction** specify the Transaction's resource identifier\n * as `endTransactionRid`. This will retrieve metadata for the most recent version of the file since the latest snapshot\n * transaction, or the earliest ancestor transaction if there are no snapshot transactions.\n *\n * To **get a file's metadata from the resolved view of a range of transactions** specify the the start transaction's\n * resource identifier as `startTransactionRid` and the end transaction's resource identifier as `endTransactionRid`.\n * This will retrieve metadata for the most recent version of the file since the `startTransactionRid` up to the\n * `endTransactionRid`. Behavior is undefined when the start and end transactions do not belong to the same root-to-leaf path.\n *\n * To **get a file's metadata from a specific transaction** specify the Transaction's resource identifier as both the\n * `startTransactionRid` and `endTransactionRid`.\n *\n * Third-party applications using this endpoint via OAuth2 must request the following operation scope: `api:datasets-read`.\n *\n * Required Scopes: [api:datasets-read]\n * URL: /v1/datasets/{datasetRid}/files/{filePath}\n */\nexport function getFileMetadata($ctx, ...args) {\n return $omniFetch($ctx, _getFileMetadata, ...args);\n}\nconst _deleteFile = [3, \"/v1/datasets/{0}/files/{1}\", 2];\n\n/**\n * Deletes a File from a Dataset. By default the file is deleted in a new transaction on the default\n * branch - `master` for most enrollments. The file will still be visible on historical views.\n *\n * #### Advanced Usage\n *\n * See [Datasets Core Concepts](/docs/foundry/data-integration/datasets/) for details on using branches and transactions.\n *\n * To **delete a File from a specific Branch** specify the Branch's identifier as `branchId`. A new delete Transaction\n * will be created and committed on this branch.\n *\n * To **delete a File using a manually opened Transaction**, specify the Transaction's resource identifier\n * as `transactionRid`. The transaction must be of type `DELETE`. This is useful for deleting multiple files in a\n * single transaction. See [createTransaction](/docs/foundry/api/datasets-resources/transactions/create-transaction/) to\n * open a transaction.\n *\n * Third-party applications using this endpoint via OAuth2 must request the following operation scope: `api:datasets-write`.\n *\n * Required Scopes: [api:datasets-write]\n * URL: /v1/datasets/{datasetRid}/files/{filePath}\n */\nexport function deleteFile($ctx, ...args) {\n return $omniFetch($ctx, _deleteFile, ...args);\n}\nconst _getFileContent = [0, \"/v1/datasets/{0}/files/{1}/content\", 2,, \"*/*\"];\n\n/**\n * Gets the content of a File contained in a Dataset. By default this retrieves the file's content from the latest\n * view of the default branch - `master` for most enrollments.\n *\n * #### Advanced Usage\n *\n * See [Datasets Core Concepts](/docs/foundry/data-integration/datasets/) for details on using branches and transactions.\n *\n * To **get a file's content from a specific Branch** specify the Branch's identifier as `branchId`. This will\n * retrieve the content for the most recent version of the file since the latest snapshot transaction, or the\n * earliest ancestor transaction of the branch if there are no snapshot transactions.\n *\n * To **get a file's content from the resolved view of a transaction** specify the Transaction's resource identifier\n * as `endTransactionRid`. This will retrieve the content for the most recent version of the file since the latest\n * snapshot transaction, or the earliest ancestor transaction if there are no snapshot transactions.\n *\n * To **get a file's content from the resolved view of a range of transactions** specify the the start transaction's\n * resource identifier as `startTransactionRid` and the end transaction's resource identifier as `endTransactionRid`.\n * This will retrieve the content for the most recent version of the file since the `startTransactionRid` up to the\n * `endTransactionRid`. Note that an intermediate snapshot transaction will remove all files from the view. Behavior\n * is undefined when the start and end transactions do not belong to the same root-to-leaf path.\n *\n * To **get a file's content from a specific transaction** specify the Transaction's resource identifier as both the\n * `startTransactionRid` and `endTransactionRid`.\n *\n * Third-party applications using this endpoint via OAuth2 must request the following operation scope: `api:datasets-read`.\n *\n * Required Scopes: [api:datasets-read]\n * URL: /v1/datasets/{datasetRid}/files/{filePath}/content\n */\nexport function getFileContent($ctx, ...args) {\n return $omniFetch($ctx, _getFileContent, ...args);\n}"]}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { omniFetch } from '@osdk/shared.net';
|
|
2
|
+
|
|
3
|
+
// src/public/Datasets_File.ts
|
|
4
|
+
var _listFiles = [0, "/v1/datasets/{0}/files", 2];
|
|
5
|
+
function listFiles($ctx, ...args) {
|
|
6
|
+
return omniFetch($ctx, _listFiles, ...args);
|
|
7
|
+
}
|
|
8
|
+
var _uploadFile = [1, "/v1/datasets/{0}/files:upload", 2, "*/*"];
|
|
9
|
+
function uploadFile($ctx, ...args) {
|
|
10
|
+
return omniFetch($ctx, _uploadFile, ...args);
|
|
11
|
+
}
|
|
12
|
+
var _getFileMetadata = [0, "/v1/datasets/{0}/files/{1}", 2];
|
|
13
|
+
function getFileMetadata($ctx, ...args) {
|
|
14
|
+
return omniFetch($ctx, _getFileMetadata, ...args);
|
|
15
|
+
}
|
|
16
|
+
var _deleteFile = [3, "/v1/datasets/{0}/files/{1}", 2];
|
|
17
|
+
function deleteFile($ctx, ...args) {
|
|
18
|
+
return omniFetch($ctx, _deleteFile, ...args);
|
|
19
|
+
}
|
|
20
|
+
var _getFileContent = [0, "/v1/datasets/{0}/files/{1}/content", 2, , "*/*"];
|
|
21
|
+
function getFileContent($ctx, ...args) {
|
|
22
|
+
return omniFetch($ctx, _getFileContent, ...args);
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
export { deleteFile, getFileContent, getFileMetadata, listFiles, uploadFile };
|
|
26
|
+
//# sourceMappingURL=out.js.map
|
|
27
|
+
//# sourceMappingURL=Datasets_File.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../src/public/Datasets_File.ts"],"names":[],"mappings":";AAgBA,SAAS,aAAa,kBAAkB;AACxC,IAAM,aAAa,CAAC,GAAG,0BAA0B,CAAC;AAiC3C,SAAS,UAAU,SAAS,MAAM;AACvC,SAAO,WAAW,MAAM,YAAY,GAAG,IAAI;AAC7C;AACA,IAAM,cAAc,CAAC,GAAG,iCAAiC,GAAG,KAAK;AA2B1D,SAAS,WAAW,SAAS,MAAM;AACxC,SAAO,WAAW,MAAM,aAAa,GAAG,IAAI;AAC9C;AACA,IAAM,mBAAmB,CAAC,GAAG,8BAA8B,CAAC;AA+BrD,SAAS,gBAAgB,SAAS,MAAM;AAC7C,SAAO,WAAW,MAAM,kBAAkB,GAAG,IAAI;AACnD;AACA,IAAM,cAAc,CAAC,GAAG,8BAA8B,CAAC;AAuBhD,SAAS,WAAW,SAAS,MAAM;AACxC,SAAO,WAAW,MAAM,aAAa,GAAG,IAAI;AAC9C;AACA,IAAM,kBAAkB,CAAC,GAAG,sCAAsC,GAAE,EAAE,KAAK;AAgCpE,SAAS,eAAe,SAAS,MAAM;AAC5C,SAAO,WAAW,MAAM,iBAAiB,GAAG,IAAI;AAClD","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 */\n\nimport { omniFetch as $omniFetch } from \"@osdk/shared.net\";\nconst _listFiles = [0, \"/v1/datasets/{0}/files\", 2];\n\n/**\n * Lists Files contained in a Dataset. By default files are listed on the latest view of the default\n * branch - `master` for most enrollments.\n *\n * #### Advanced Usage\n *\n * See [Datasets Core Concepts](/docs/foundry/data-integration/datasets/) for details on using branches and transactions.\n *\n * To **list files on a specific Branch** specify the Branch's identifier as `branchId`. This will include the most\n * recent version of all files since the latest snapshot transaction, or the earliest ancestor transaction of the\n * branch if there are no snapshot transactions.\n *\n * To **list files on the resolved view of a transaction** specify the Transaction's resource identifier\n * as `endTransactionRid`. This will include the most recent version of all files since the latest snapshot\n * transaction, or the earliest ancestor transaction if there are no snapshot transactions.\n *\n * To **list files on the resolved view of a range of transactions** specify the the start transaction's resource\n * identifier as `startTransactionRid` and the end transaction's resource identifier as `endTransactionRid`. This\n * will include the most recent version of all files since the `startTransactionRid` up to the `endTransactionRid`.\n * Note that an intermediate snapshot transaction will remove all files from the view. Behavior is undefined when\n * the start and end transactions do not belong to the same root-to-leaf path.\n *\n * To **list files on a specific transaction** specify the Transaction's resource identifier as both the\n * `startTransactionRid` and `endTransactionRid`. This will include only files that were modified as part of that\n * Transaction.\n *\n * Third-party applications using this endpoint via OAuth2 must request the following operation scope: `api:datasets-read`.\n *\n * Required Scopes: [api:datasets-read]\n * URL: /v1/datasets/{datasetRid}/files\n */\nexport function listFiles($ctx, ...args) {\n return $omniFetch($ctx, _listFiles, ...args);\n}\nconst _uploadFile = [1, \"/v1/datasets/{0}/files:upload\", 2, \"*/*\"];\n\n/**\n * Uploads a File to an existing Dataset.\n * The body of the request must contain the binary content of the file and the `Content-Type` header must be `application/octet-stream`.\n *\n * By default the file is uploaded to a new transaction on the default branch - `master` for most enrollments.\n * If the file already exists only the most recent version will be visible in the updated view.\n *\n * #### Advanced Usage\n *\n * See [Datasets Core Concepts](/docs/foundry/data-integration/datasets/) for details on using branches and transactions.\n *\n * To **upload a file to a specific Branch** specify the Branch's identifier as `branchId`. A new transaction will\n * be created and committed on this branch. By default the TransactionType will be `UPDATE`, to override this\n * default specify `transactionType` in addition to `branchId`.\n * See [createBranch](/docs/foundry/api/datasets-resources/branches/create-branch/) to create a custom branch.\n *\n * To **upload a file on a manually opened transaction** specify the Transaction's resource identifier as\n * `transactionRid`. This is useful for uploading multiple files in a single transaction.\n * See [createTransaction](/docs/foundry/api/datasets-resources/transactions/create-transaction/) to open a transaction.\n *\n * Third-party applications using this endpoint via OAuth2 must request the following operation scope: `api:datasets-write`.\n *\n * Required Scopes: [api:datasets-write]\n * URL: /v1/datasets/{datasetRid}/files:upload\n */\nexport function uploadFile($ctx, ...args) {\n return $omniFetch($ctx, _uploadFile, ...args);\n}\nconst _getFileMetadata = [0, \"/v1/datasets/{0}/files/{1}\", 2];\n\n/**\n * Gets metadata about a File contained in a Dataset. By default this retrieves the file's metadata from the latest\n * view of the default branch - `master` for most enrollments.\n *\n * #### Advanced Usage\n *\n * See [Datasets Core Concepts](/docs/foundry/data-integration/datasets/) for details on using branches and transactions.\n *\n * To **get a file's metadata from a specific Branch** specify the Branch's identifier as `branchId`. This will\n * retrieve metadata for the most recent version of the file since the latest snapshot transaction, or the earliest\n * ancestor transaction of the branch if there are no snapshot transactions.\n *\n * To **get a file's metadata from the resolved view of a transaction** specify the Transaction's resource identifier\n * as `endTransactionRid`. This will retrieve metadata for the most recent version of the file since the latest snapshot\n * transaction, or the earliest ancestor transaction if there are no snapshot transactions.\n *\n * To **get a file's metadata from the resolved view of a range of transactions** specify the the start transaction's\n * resource identifier as `startTransactionRid` and the end transaction's resource identifier as `endTransactionRid`.\n * This will retrieve metadata for the most recent version of the file since the `startTransactionRid` up to the\n * `endTransactionRid`. Behavior is undefined when the start and end transactions do not belong to the same root-to-leaf path.\n *\n * To **get a file's metadata from a specific transaction** specify the Transaction's resource identifier as both the\n * `startTransactionRid` and `endTransactionRid`.\n *\n * Third-party applications using this endpoint via OAuth2 must request the following operation scope: `api:datasets-read`.\n *\n * Required Scopes: [api:datasets-read]\n * URL: /v1/datasets/{datasetRid}/files/{filePath}\n */\nexport function getFileMetadata($ctx, ...args) {\n return $omniFetch($ctx, _getFileMetadata, ...args);\n}\nconst _deleteFile = [3, \"/v1/datasets/{0}/files/{1}\", 2];\n\n/**\n * Deletes a File from a Dataset. By default the file is deleted in a new transaction on the default\n * branch - `master` for most enrollments. The file will still be visible on historical views.\n *\n * #### Advanced Usage\n *\n * See [Datasets Core Concepts](/docs/foundry/data-integration/datasets/) for details on using branches and transactions.\n *\n * To **delete a File from a specific Branch** specify the Branch's identifier as `branchId`. A new delete Transaction\n * will be created and committed on this branch.\n *\n * To **delete a File using a manually opened Transaction**, specify the Transaction's resource identifier\n * as `transactionRid`. The transaction must be of type `DELETE`. This is useful for deleting multiple files in a\n * single transaction. See [createTransaction](/docs/foundry/api/datasets-resources/transactions/create-transaction/) to\n * open a transaction.\n *\n * Third-party applications using this endpoint via OAuth2 must request the following operation scope: `api:datasets-write`.\n *\n * Required Scopes: [api:datasets-write]\n * URL: /v1/datasets/{datasetRid}/files/{filePath}\n */\nexport function deleteFile($ctx, ...args) {\n return $omniFetch($ctx, _deleteFile, ...args);\n}\nconst _getFileContent = [0, \"/v1/datasets/{0}/files/{1}/content\", 2,, \"*/*\"];\n\n/**\n * Gets the content of a File contained in a Dataset. By default this retrieves the file's content from the latest\n * view of the default branch - `master` for most enrollments.\n *\n * #### Advanced Usage\n *\n * See [Datasets Core Concepts](/docs/foundry/data-integration/datasets/) for details on using branches and transactions.\n *\n * To **get a file's content from a specific Branch** specify the Branch's identifier as `branchId`. This will\n * retrieve the content for the most recent version of the file since the latest snapshot transaction, or the\n * earliest ancestor transaction of the branch if there are no snapshot transactions.\n *\n * To **get a file's content from the resolved view of a transaction** specify the Transaction's resource identifier\n * as `endTransactionRid`. This will retrieve the content for the most recent version of the file since the latest\n * snapshot transaction, or the earliest ancestor transaction if there are no snapshot transactions.\n *\n * To **get a file's content from the resolved view of a range of transactions** specify the the start transaction's\n * resource identifier as `startTransactionRid` and the end transaction's resource identifier as `endTransactionRid`.\n * This will retrieve the content for the most recent version of the file since the `startTransactionRid` up to the\n * `endTransactionRid`. Note that an intermediate snapshot transaction will remove all files from the view. Behavior\n * is undefined when the start and end transactions do not belong to the same root-to-leaf path.\n *\n * To **get a file's content from a specific transaction** specify the Transaction's resource identifier as both the\n * `startTransactionRid` and `endTransactionRid`.\n *\n * Third-party applications using this endpoint via OAuth2 must request the following operation scope: `api:datasets-read`.\n *\n * Required Scopes: [api:datasets-read]\n * URL: /v1/datasets/{datasetRid}/files/{filePath}/content\n */\nexport function getFileContent($ctx, ...args) {\n return $omniFetch($ctx, _getFileContent, ...args);\n}"]}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var shared_net = require('@osdk/shared.net');
|
|
4
|
+
|
|
5
|
+
// src/public/Datasets_Transaction.ts
|
|
6
|
+
var _createTransaction = [1, "/v1/datasets/{0}/transactions", 3];
|
|
7
|
+
function createTransaction($ctx, ...args) {
|
|
8
|
+
return shared_net.omniFetch($ctx, _createTransaction, ...args);
|
|
9
|
+
}
|
|
10
|
+
var _getTransaction = [0, "/v1/datasets/{0}/transactions/{1}"];
|
|
11
|
+
function getTransaction($ctx, ...args) {
|
|
12
|
+
return shared_net.omniFetch($ctx, _getTransaction, ...args);
|
|
13
|
+
}
|
|
14
|
+
var _commitTransaction = [1, "/v1/datasets/{0}/transactions/{1}/commit"];
|
|
15
|
+
function commitTransaction($ctx, ...args) {
|
|
16
|
+
return shared_net.omniFetch($ctx, _commitTransaction, ...args);
|
|
17
|
+
}
|
|
18
|
+
var _abortTransaction = [1, "/v1/datasets/{0}/transactions/{1}/abort"];
|
|
19
|
+
function abortTransaction($ctx, ...args) {
|
|
20
|
+
return shared_net.omniFetch($ctx, _abortTransaction, ...args);
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
exports.abortTransaction = abortTransaction;
|
|
24
|
+
exports.commitTransaction = commitTransaction;
|
|
25
|
+
exports.createTransaction = createTransaction;
|
|
26
|
+
exports.getTransaction = getTransaction;
|
|
27
|
+
//# sourceMappingURL=out.js.map
|
|
28
|
+
//# sourceMappingURL=Datasets_Transaction.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../src/public/Datasets_Transaction.ts"],"names":[],"mappings":";AAgBA,SAAS,aAAa,kBAAkB;AACxC,IAAM,qBAAqB,CAAC,GAAG,iCAAiC,CAAC;AAU1D,SAAS,kBAAkB,SAAS,MAAM;AAC/C,SAAO,WAAW,MAAM,oBAAoB,GAAG,IAAI;AACrD;AACA,IAAM,kBAAkB,CAAC,GAAG,mCAAmC;AAUxD,SAAS,eAAe,SAAS,MAAM;AAC5C,SAAO,WAAW,MAAM,iBAAiB,GAAG,IAAI;AAClD;AACA,IAAM,qBAAqB,CAAC,GAAG,0CAA0C;AAWlE,SAAS,kBAAkB,SAAS,MAAM;AAC/C,SAAO,WAAW,MAAM,oBAAoB,GAAG,IAAI;AACrD;AACA,IAAM,oBAAoB,CAAC,GAAG,yCAAyC;AAWhE,SAAS,iBAAiB,SAAS,MAAM;AAC9C,SAAO,WAAW,MAAM,mBAAmB,GAAG,IAAI;AACpD","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 */\n\nimport { omniFetch as $omniFetch } from \"@osdk/shared.net\";\nconst _createTransaction = [1, \"/v1/datasets/{0}/transactions\", 3];\n\n/**\n * Creates a Transaction on a Branch of a Dataset.\n *\n * Third-party applications using this endpoint via OAuth2 must request the following operation scope: `api:datasets-write`.\n *\n * Required Scopes: [api:datasets-write]\n * URL: /v1/datasets/{datasetRid}/transactions\n */\nexport function createTransaction($ctx, ...args) {\n return $omniFetch($ctx, _createTransaction, ...args);\n}\nconst _getTransaction = [0, \"/v1/datasets/{0}/transactions/{1}\"];\n\n/**\n * Gets a Transaction of a Dataset.\n *\n * Third-party applications using this endpoint via OAuth2 must request the following operation scope: `api:datasets-read`.\n *\n * Required Scopes: [api:datasets-read]\n * URL: /v1/datasets/{datasetRid}/transactions/{transactionRid}\n */\nexport function getTransaction($ctx, ...args) {\n return $omniFetch($ctx, _getTransaction, ...args);\n}\nconst _commitTransaction = [1, \"/v1/datasets/{0}/transactions/{1}/commit\"];\n\n/**\n * Commits an open Transaction. File modifications made on this Transaction are preserved and the Branch is\n * updated to point to the Transaction.\n *\n * Third-party applications using this endpoint via OAuth2 must request the following operation scope: `api:datasets-write`.\n *\n * Required Scopes: [api:datasets-write]\n * URL: /v1/datasets/{datasetRid}/transactions/{transactionRid}/commit\n */\nexport function commitTransaction($ctx, ...args) {\n return $omniFetch($ctx, _commitTransaction, ...args);\n}\nconst _abortTransaction = [1, \"/v1/datasets/{0}/transactions/{1}/abort\"];\n\n/**\n * Aborts an open Transaction. File modifications made on this Transaction are not preserved and the Branch is\n * not updated.\n *\n * Third-party applications using this endpoint via OAuth2 must request the following operation scope: `api:datasets-write`.\n *\n * Required Scopes: [api:datasets-write]\n * URL: /v1/datasets/{datasetRid}/transactions/{transactionRid}/abort\n */\nexport function abortTransaction($ctx, ...args) {\n return $omniFetch($ctx, _abortTransaction, ...args);\n}"]}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { omniFetch } from '@osdk/shared.net';
|
|
2
|
+
|
|
3
|
+
// src/public/Datasets_Transaction.ts
|
|
4
|
+
var _createTransaction = [1, "/v1/datasets/{0}/transactions", 3];
|
|
5
|
+
function createTransaction($ctx, ...args) {
|
|
6
|
+
return omniFetch($ctx, _createTransaction, ...args);
|
|
7
|
+
}
|
|
8
|
+
var _getTransaction = [0, "/v1/datasets/{0}/transactions/{1}"];
|
|
9
|
+
function getTransaction($ctx, ...args) {
|
|
10
|
+
return omniFetch($ctx, _getTransaction, ...args);
|
|
11
|
+
}
|
|
12
|
+
var _commitTransaction = [1, "/v1/datasets/{0}/transactions/{1}/commit"];
|
|
13
|
+
function commitTransaction($ctx, ...args) {
|
|
14
|
+
return omniFetch($ctx, _commitTransaction, ...args);
|
|
15
|
+
}
|
|
16
|
+
var _abortTransaction = [1, "/v1/datasets/{0}/transactions/{1}/abort"];
|
|
17
|
+
function abortTransaction($ctx, ...args) {
|
|
18
|
+
return omniFetch($ctx, _abortTransaction, ...args);
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
export { abortTransaction, commitTransaction, createTransaction, getTransaction };
|
|
22
|
+
//# sourceMappingURL=out.js.map
|
|
23
|
+
//# sourceMappingURL=Datasets_Transaction.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../src/public/Datasets_Transaction.ts"],"names":[],"mappings":";AAgBA,SAAS,aAAa,kBAAkB;AACxC,IAAM,qBAAqB,CAAC,GAAG,iCAAiC,CAAC;AAU1D,SAAS,kBAAkB,SAAS,MAAM;AAC/C,SAAO,WAAW,MAAM,oBAAoB,GAAG,IAAI;AACrD;AACA,IAAM,kBAAkB,CAAC,GAAG,mCAAmC;AAUxD,SAAS,eAAe,SAAS,MAAM;AAC5C,SAAO,WAAW,MAAM,iBAAiB,GAAG,IAAI;AAClD;AACA,IAAM,qBAAqB,CAAC,GAAG,0CAA0C;AAWlE,SAAS,kBAAkB,SAAS,MAAM;AAC/C,SAAO,WAAW,MAAM,oBAAoB,GAAG,IAAI;AACrD;AACA,IAAM,oBAAoB,CAAC,GAAG,yCAAyC;AAWhE,SAAS,iBAAiB,SAAS,MAAM;AAC9C,SAAO,WAAW,MAAM,mBAAmB,GAAG,IAAI;AACpD","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 */\n\nimport { omniFetch as $omniFetch } from \"@osdk/shared.net\";\nconst _createTransaction = [1, \"/v1/datasets/{0}/transactions\", 3];\n\n/**\n * Creates a Transaction on a Branch of a Dataset.\n *\n * Third-party applications using this endpoint via OAuth2 must request the following operation scope: `api:datasets-write`.\n *\n * Required Scopes: [api:datasets-write]\n * URL: /v1/datasets/{datasetRid}/transactions\n */\nexport function createTransaction($ctx, ...args) {\n return $omniFetch($ctx, _createTransaction, ...args);\n}\nconst _getTransaction = [0, \"/v1/datasets/{0}/transactions/{1}\"];\n\n/**\n * Gets a Transaction of a Dataset.\n *\n * Third-party applications using this endpoint via OAuth2 must request the following operation scope: `api:datasets-read`.\n *\n * Required Scopes: [api:datasets-read]\n * URL: /v1/datasets/{datasetRid}/transactions/{transactionRid}\n */\nexport function getTransaction($ctx, ...args) {\n return $omniFetch($ctx, _getTransaction, ...args);\n}\nconst _commitTransaction = [1, \"/v1/datasets/{0}/transactions/{1}/commit\"];\n\n/**\n * Commits an open Transaction. File modifications made on this Transaction are preserved and the Branch is\n * updated to point to the Transaction.\n *\n * Third-party applications using this endpoint via OAuth2 must request the following operation scope: `api:datasets-write`.\n *\n * Required Scopes: [api:datasets-write]\n * URL: /v1/datasets/{datasetRid}/transactions/{transactionRid}/commit\n */\nexport function commitTransaction($ctx, ...args) {\n return $omniFetch($ctx, _commitTransaction, ...args);\n}\nconst _abortTransaction = [1, \"/v1/datasets/{0}/transactions/{1}/abort\"];\n\n/**\n * Aborts an open Transaction. File modifications made on this Transaction are not preserved and the Branch is\n * not updated.\n *\n * Third-party applications using this endpoint via OAuth2 must request the following operation scope: `api:datasets-write`.\n *\n * Required Scopes: [api:datasets-write]\n * URL: /v1/datasets/{datasetRid}/transactions/{transactionRid}/abort\n */\nexport function abortTransaction($ctx, ...args) {\n return $omniFetch($ctx, _abortTransaction, ...args);\n}"]}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var shared_net = require('@osdk/shared.net');
|
|
4
|
+
|
|
5
|
+
// src/public/Models_LanguageModel.ts
|
|
6
|
+
var _createChatCompletion = [1, "/v1/models/languageModels/{0}/chatCompletions", 1];
|
|
7
|
+
function createChatCompletion($ctx, ...args) {
|
|
8
|
+
return shared_net.omniFetch($ctx, _createChatCompletion, ...args);
|
|
9
|
+
}
|
|
10
|
+
var _streamChatCompletion = [1, "/v1/models/languageModels/{0}/chatCompletions/stream", 1, , "*/*"];
|
|
11
|
+
function streamChatCompletion($ctx, ...args) {
|
|
12
|
+
return shared_net.omniFetch($ctx, _streamChatCompletion, ...args);
|
|
13
|
+
}
|
|
14
|
+
var _listLanguageModels = [0, "/v1/models/languageModels", 2];
|
|
15
|
+
function listLanguageModels($ctx, ...args) {
|
|
16
|
+
return shared_net.omniFetch($ctx, _listLanguageModels, ...args);
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
exports.createChatCompletion = createChatCompletion;
|
|
20
|
+
exports.listLanguageModels = listLanguageModels;
|
|
21
|
+
exports.streamChatCompletion = streamChatCompletion;
|
|
22
|
+
//# sourceMappingURL=out.js.map
|
|
23
|
+
//# sourceMappingURL=Models_LanguageModel.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../src/public/Models_LanguageModel.ts"],"names":[],"mappings":";AAgBA,SAAS,aAAa,kBAAkB;AACxC,IAAM,wBAAwB,CAAC,GAAG,iDAAiD,CAAC;AAQ7E,SAAS,qBAAqB,SAAS,MAAM;AAClD,SAAO,WAAW,MAAM,uBAAuB,GAAG,IAAI;AACxD;AACA,IAAM,wBAAwB,CAAC,GAAG,wDAAwD,GAAE,EAAE,KAAK;AAS5F,SAAS,qBAAqB,SAAS,MAAM;AAClD,SAAO,WAAW,MAAM,uBAAuB,GAAG,IAAI;AACxD;AACA,IAAM,sBAAsB,CAAC,GAAG,6BAA6B,CAAC;AAQvD,SAAS,mBAAmB,SAAS,MAAM;AAChD,SAAO,WAAW,MAAM,qBAAqB,GAAG,IAAI;AACtD","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 */\n\nimport { omniFetch as $omniFetch } from \"@osdk/shared.net\";\nconst _createChatCompletion = [1, \"/v1/models/languageModels/{0}/chatCompletions\", 1];\n\n/**\n * Creates a chat completion for a prompt.\n *\n * Required Scopes: [api:read-data, api:write-data]\n * URL: /v1/models/languageModels/{modelName}/chatCompletions\n */\nexport function createChatCompletion($ctx, ...args) {\n return $omniFetch($ctx, _createChatCompletion, ...args);\n}\nconst _streamChatCompletion = [1, \"/v1/models/languageModels/{0}/chatCompletions/stream\", 1,, \"*/*\"];\n\n/**\n * Runs the same query as create chat completion, but streams the raw response as a string of UTF8 encoded bytes.\n * Note: This endpoint returns only the string response.\n *\n * Required Scopes: [api:read-data, api:write-data]\n * URL: /v1/models/languageModels/{modelName}/chatCompletions/stream\n */\nexport function streamChatCompletion($ctx, ...args) {\n return $omniFetch($ctx, _streamChatCompletion, ...args);\n}\nconst _listLanguageModels = [0, \"/v1/models/languageModels\", 2];\n\n/**\n * Lists the language models available. Can be filtered by source.\n *\n * Required Scopes: [api:read-data]\n * URL: /v1/models/languageModels\n */\nexport function listLanguageModels($ctx, ...args) {\n return $omniFetch($ctx, _listLanguageModels, ...args);\n}"]}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { omniFetch } from '@osdk/shared.net';
|
|
2
|
+
|
|
3
|
+
// src/public/Models_LanguageModel.ts
|
|
4
|
+
var _createChatCompletion = [1, "/v1/models/languageModels/{0}/chatCompletions", 1];
|
|
5
|
+
function createChatCompletion($ctx, ...args) {
|
|
6
|
+
return omniFetch($ctx, _createChatCompletion, ...args);
|
|
7
|
+
}
|
|
8
|
+
var _streamChatCompletion = [1, "/v1/models/languageModels/{0}/chatCompletions/stream", 1, , "*/*"];
|
|
9
|
+
function streamChatCompletion($ctx, ...args) {
|
|
10
|
+
return omniFetch($ctx, _streamChatCompletion, ...args);
|
|
11
|
+
}
|
|
12
|
+
var _listLanguageModels = [0, "/v1/models/languageModels", 2];
|
|
13
|
+
function listLanguageModels($ctx, ...args) {
|
|
14
|
+
return omniFetch($ctx, _listLanguageModels, ...args);
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
export { createChatCompletion, listLanguageModels, streamChatCompletion };
|
|
18
|
+
//# sourceMappingURL=out.js.map
|
|
19
|
+
//# sourceMappingURL=Models_LanguageModel.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../src/public/Models_LanguageModel.ts"],"names":[],"mappings":";AAgBA,SAAS,aAAa,kBAAkB;AACxC,IAAM,wBAAwB,CAAC,GAAG,iDAAiD,CAAC;AAQ7E,SAAS,qBAAqB,SAAS,MAAM;AAClD,SAAO,WAAW,MAAM,uBAAuB,GAAG,IAAI;AACxD;AACA,IAAM,wBAAwB,CAAC,GAAG,wDAAwD,GAAE,EAAE,KAAK;AAS5F,SAAS,qBAAqB,SAAS,MAAM;AAClD,SAAO,WAAW,MAAM,uBAAuB,GAAG,IAAI;AACxD;AACA,IAAM,sBAAsB,CAAC,GAAG,6BAA6B,CAAC;AAQvD,SAAS,mBAAmB,SAAS,MAAM;AAChD,SAAO,WAAW,MAAM,qBAAqB,GAAG,IAAI;AACtD","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 */\n\nimport { omniFetch as $omniFetch } from \"@osdk/shared.net\";\nconst _createChatCompletion = [1, \"/v1/models/languageModels/{0}/chatCompletions\", 1];\n\n/**\n * Creates a chat completion for a prompt.\n *\n * Required Scopes: [api:read-data, api:write-data]\n * URL: /v1/models/languageModels/{modelName}/chatCompletions\n */\nexport function createChatCompletion($ctx, ...args) {\n return $omniFetch($ctx, _createChatCompletion, ...args);\n}\nconst _streamChatCompletion = [1, \"/v1/models/languageModels/{0}/chatCompletions/stream\", 1,, \"*/*\"];\n\n/**\n * Runs the same query as create chat completion, but streams the raw response as a string of UTF8 encoded bytes.\n * Note: This endpoint returns only the string response.\n *\n * Required Scopes: [api:read-data, api:write-data]\n * URL: /v1/models/languageModels/{modelName}/chatCompletions/stream\n */\nexport function streamChatCompletion($ctx, ...args) {\n return $omniFetch($ctx, _streamChatCompletion, ...args);\n}\nconst _listLanguageModels = [0, \"/v1/models/languageModels\", 2];\n\n/**\n * Lists the language models available. Can be filtered by source.\n *\n * Required Scopes: [api:read-data]\n * URL: /v1/models/languageModels\n */\nexport function listLanguageModels($ctx, ...args) {\n return $omniFetch($ctx, _listLanguageModels, ...args);\n}"]}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var shared_net = require('@osdk/shared.net');
|
|
4
|
+
|
|
5
|
+
// src/public/OntologiesV2_Action.ts
|
|
6
|
+
var _applyActionV2 = [1, "/v2/ontologies/{0}/actions/{1}/apply", 3];
|
|
7
|
+
function applyActionV2($ctx, ...args) {
|
|
8
|
+
return shared_net.omniFetch($ctx, _applyActionV2, ...args);
|
|
9
|
+
}
|
|
10
|
+
var _applyActionBatchV2 = [1, "/v2/ontologies/{0}/actions/{1}/applyBatch", 3];
|
|
11
|
+
function applyActionBatchV2($ctx, ...args) {
|
|
12
|
+
return shared_net.omniFetch($ctx, _applyActionBatchV2, ...args);
|
|
13
|
+
}
|
|
14
|
+
var _applyActionAsyncV2 = [1, "/v2/ontologies/{0}/actions/{1}/applyAsync", 3];
|
|
15
|
+
function applyActionAsyncV2($ctx, ...args) {
|
|
16
|
+
return shared_net.omniFetch($ctx, _applyActionAsyncV2, ...args);
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
exports.applyActionAsyncV2 = applyActionAsyncV2;
|
|
20
|
+
exports.applyActionBatchV2 = applyActionBatchV2;
|
|
21
|
+
exports.applyActionV2 = applyActionV2;
|
|
22
|
+
//# sourceMappingURL=out.js.map
|
|
23
|
+
//# sourceMappingURL=OntologiesV2_Action.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../src/public/OntologiesV2_Action.ts"],"names":[],"mappings":";AAgBA,SAAS,aAAa,kBAAkB;AACxC,IAAM,iBAAiB,CAAC,GAAG,wCAAwC,CAAC;AAgB7D,SAAS,cAAc,SAAS,MAAM;AAC3C,SAAO,WAAW,MAAM,gBAAgB,GAAG,IAAI;AACjD;AACA,IAAM,sBAAsB,CAAC,GAAG,6CAA6C,CAAC;AAevE,SAAS,mBAAmB,SAAS,MAAM;AAChD,SAAO,WAAW,MAAM,qBAAqB,GAAG,IAAI;AACtD;AACA,IAAM,sBAAsB,CAAC,GAAG,6CAA6C,CAAC;AAgBvE,SAAS,mBAAmB,SAAS,MAAM;AAChD,SAAO,WAAW,MAAM,qBAAqB,GAAG,IAAI;AACtD","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 */\n\nimport { omniFetch as $omniFetch } from \"@osdk/shared.net\";\nconst _applyActionV2 = [1, \"/v2/ontologies/{0}/actions/{1}/apply\", 3];\n\n/**\n * Applies an action using the given parameters.\n *\n * Changes to the Ontology are eventually consistent and may take some time to be visible.\n *\n * Note that [parameter default values](/docs/foundry/action-types/parameters-default-value/) are not currently supported by\n * this endpoint.\n *\n * Third-party applications using this endpoint via OAuth2 must request the\n * following operation scopes: `api:read-data api:write-data`.\n *\n * Required Scopes: [api:read-data, api:write-data]\n * URL: /v2/ontologies/{ontology}/actions/{action}/apply\n */\nexport function applyActionV2($ctx, ...args) {\n return $omniFetch($ctx, _applyActionV2, ...args);\n}\nconst _applyActionBatchV2 = [1, \"/v2/ontologies/{0}/actions/{1}/applyBatch\", 3];\n\n/**\n * Applies multiple actions (of the same Action Type) using the given parameters.\n * Changes to the Ontology are eventually consistent and may take some time to be visible.\n *\n * Up to 20 actions may be applied in one call. Actions that only modify objects in Object Storage v2 and do not\n * call Functions may receive a higher limit.\n *\n * Third-party applications using this endpoint via OAuth2 must request the\n * following operation scopes: `api:read-data api:write-data`.\n *\n * Required Scopes: [api:read-data, api:write-data]\n * URL: /v2/ontologies/{ontology}/actions/{action}/applyBatch\n */\nexport function applyActionBatchV2($ctx, ...args) {\n return $omniFetch($ctx, _applyActionBatchV2, ...args);\n}\nconst _applyActionAsyncV2 = [1, \"/v2/ontologies/{0}/actions/{1}/applyAsync\", 3];\n\n/**\n * Applies an action using the given parameters.\n *\n * Changes to the Ontology are eventually consistent and may take some time to be visible.\n *\n * Note that [parameter default values](/docs/foundry/action-types/parameters-default-value/) are not currently supported by\n * this endpoint.\n *\n * Third-party applications using this endpoint via OAuth2 must request the\n * following operation scopes: `api:read-data api:write-data`.\n *\n * Required Scopes: [api:read-data, api:write-data]\n * URL: /v2/ontologies/{ontology}/actions/{action}/applyAsync\n */\nexport function applyActionAsyncV2($ctx, ...args) {\n return $omniFetch($ctx, _applyActionAsyncV2, ...args);\n}"]}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { omniFetch } from '@osdk/shared.net';
|
|
2
|
+
|
|
3
|
+
// src/public/OntologiesV2_Action.ts
|
|
4
|
+
var _applyActionV2 = [1, "/v2/ontologies/{0}/actions/{1}/apply", 3];
|
|
5
|
+
function applyActionV2($ctx, ...args) {
|
|
6
|
+
return omniFetch($ctx, _applyActionV2, ...args);
|
|
7
|
+
}
|
|
8
|
+
var _applyActionBatchV2 = [1, "/v2/ontologies/{0}/actions/{1}/applyBatch", 3];
|
|
9
|
+
function applyActionBatchV2($ctx, ...args) {
|
|
10
|
+
return omniFetch($ctx, _applyActionBatchV2, ...args);
|
|
11
|
+
}
|
|
12
|
+
var _applyActionAsyncV2 = [1, "/v2/ontologies/{0}/actions/{1}/applyAsync", 3];
|
|
13
|
+
function applyActionAsyncV2($ctx, ...args) {
|
|
14
|
+
return omniFetch($ctx, _applyActionAsyncV2, ...args);
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
export { applyActionAsyncV2, applyActionBatchV2, applyActionV2 };
|
|
18
|
+
//# sourceMappingURL=out.js.map
|
|
19
|
+
//# sourceMappingURL=OntologiesV2_Action.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../src/public/OntologiesV2_Action.ts"],"names":[],"mappings":";AAgBA,SAAS,aAAa,kBAAkB;AACxC,IAAM,iBAAiB,CAAC,GAAG,wCAAwC,CAAC;AAgB7D,SAAS,cAAc,SAAS,MAAM;AAC3C,SAAO,WAAW,MAAM,gBAAgB,GAAG,IAAI;AACjD;AACA,IAAM,sBAAsB,CAAC,GAAG,6CAA6C,CAAC;AAevE,SAAS,mBAAmB,SAAS,MAAM;AAChD,SAAO,WAAW,MAAM,qBAAqB,GAAG,IAAI;AACtD;AACA,IAAM,sBAAsB,CAAC,GAAG,6CAA6C,CAAC;AAgBvE,SAAS,mBAAmB,SAAS,MAAM;AAChD,SAAO,WAAW,MAAM,qBAAqB,GAAG,IAAI;AACtD","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 */\n\nimport { omniFetch as $omniFetch } from \"@osdk/shared.net\";\nconst _applyActionV2 = [1, \"/v2/ontologies/{0}/actions/{1}/apply\", 3];\n\n/**\n * Applies an action using the given parameters.\n *\n * Changes to the Ontology are eventually consistent and may take some time to be visible.\n *\n * Note that [parameter default values](/docs/foundry/action-types/parameters-default-value/) are not currently supported by\n * this endpoint.\n *\n * Third-party applications using this endpoint via OAuth2 must request the\n * following operation scopes: `api:read-data api:write-data`.\n *\n * Required Scopes: [api:read-data, api:write-data]\n * URL: /v2/ontologies/{ontology}/actions/{action}/apply\n */\nexport function applyActionV2($ctx, ...args) {\n return $omniFetch($ctx, _applyActionV2, ...args);\n}\nconst _applyActionBatchV2 = [1, \"/v2/ontologies/{0}/actions/{1}/applyBatch\", 3];\n\n/**\n * Applies multiple actions (of the same Action Type) using the given parameters.\n * Changes to the Ontology are eventually consistent and may take some time to be visible.\n *\n * Up to 20 actions may be applied in one call. Actions that only modify objects in Object Storage v2 and do not\n * call Functions may receive a higher limit.\n *\n * Third-party applications using this endpoint via OAuth2 must request the\n * following operation scopes: `api:read-data api:write-data`.\n *\n * Required Scopes: [api:read-data, api:write-data]\n * URL: /v2/ontologies/{ontology}/actions/{action}/applyBatch\n */\nexport function applyActionBatchV2($ctx, ...args) {\n return $omniFetch($ctx, _applyActionBatchV2, ...args);\n}\nconst _applyActionAsyncV2 = [1, \"/v2/ontologies/{0}/actions/{1}/applyAsync\", 3];\n\n/**\n * Applies an action using the given parameters.\n *\n * Changes to the Ontology are eventually consistent and may take some time to be visible.\n *\n * Note that [parameter default values](/docs/foundry/action-types/parameters-default-value/) are not currently supported by\n * this endpoint.\n *\n * Third-party applications using this endpoint via OAuth2 must request the\n * following operation scopes: `api:read-data api:write-data`.\n *\n * Required Scopes: [api:read-data, api:write-data]\n * URL: /v2/ontologies/{ontology}/actions/{action}/applyAsync\n */\nexport function applyActionAsyncV2($ctx, ...args) {\n return $omniFetch($ctx, _applyActionAsyncV2, ...args);\n}"]}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var shared_net = require('@osdk/shared.net');
|
|
4
|
+
|
|
5
|
+
// src/public/OntologiesV2_ActionTypeV2.ts
|
|
6
|
+
var _listActionTypesV2 = [0, "/v2/ontologies/{0}/actionTypes", 2];
|
|
7
|
+
function listActionTypesV2($ctx, ...args) {
|
|
8
|
+
return shared_net.omniFetch($ctx, _listActionTypesV2, ...args);
|
|
9
|
+
}
|
|
10
|
+
var _getActionTypeV2 = [0, "/v2/ontologies/{0}/actionTypes/{1}"];
|
|
11
|
+
function getActionTypeV2($ctx, ...args) {
|
|
12
|
+
return shared_net.omniFetch($ctx, _getActionTypeV2, ...args);
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
exports.getActionTypeV2 = getActionTypeV2;
|
|
16
|
+
exports.listActionTypesV2 = listActionTypesV2;
|
|
17
|
+
//# sourceMappingURL=out.js.map
|
|
18
|
+
//# sourceMappingURL=OntologiesV2_ActionTypeV2.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../src/public/OntologiesV2_ActionTypeV2.ts"],"names":[],"mappings":";AAgBA,SAAS,aAAa,kBAAkB;AACxC,IAAM,qBAAqB,CAAC,GAAG,kCAAkC,CAAC;AAa3D,SAAS,kBAAkB,SAAS,MAAM;AAC/C,SAAO,WAAW,MAAM,oBAAoB,GAAG,IAAI;AACrD;AACA,IAAM,mBAAmB,CAAC,GAAG,oCAAoC;AAU1D,SAAS,gBAAgB,SAAS,MAAM;AAC7C,SAAO,WAAW,MAAM,kBAAkB,GAAG,IAAI;AACnD","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 */\n\nimport { omniFetch as $omniFetch } from \"@osdk/shared.net\";\nconst _listActionTypesV2 = [0, \"/v2/ontologies/{0}/actionTypes\", 2];\n\n/**\n * Lists the action types for the given Ontology.\n *\n * Each page may be smaller than the requested page size. However, it is guaranteed that if there are more\n * results available, at least one result will be present in the response.\n *\n * Third-party applications using this endpoint via OAuth2 must request the following operation scope: `api:read-data`.\n *\n * Required Scopes: [api:read-data]\n * URL: /v2/ontologies/{ontology}/actionTypes\n */\nexport function listActionTypesV2($ctx, ...args) {\n return $omniFetch($ctx, _listActionTypesV2, ...args);\n}\nconst _getActionTypeV2 = [0, \"/v2/ontologies/{0}/actionTypes/{1}\"];\n\n/**\n * Gets a specific action type with the given API name.\n *\n * Third-party applications using this endpoint via OAuth2 must request the following operation scope: `api:read-data`.\n *\n * Required Scopes: [api:read-data]\n * URL: /v2/ontologies/{ontology}/actionTypes/{actionType}\n */\nexport function getActionTypeV2($ctx, ...args) {\n return $omniFetch($ctx, _getActionTypeV2, ...args);\n}"]}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { omniFetch } from '@osdk/shared.net';
|
|
2
|
+
|
|
3
|
+
// src/public/OntologiesV2_ActionTypeV2.ts
|
|
4
|
+
var _listActionTypesV2 = [0, "/v2/ontologies/{0}/actionTypes", 2];
|
|
5
|
+
function listActionTypesV2($ctx, ...args) {
|
|
6
|
+
return omniFetch($ctx, _listActionTypesV2, ...args);
|
|
7
|
+
}
|
|
8
|
+
var _getActionTypeV2 = [0, "/v2/ontologies/{0}/actionTypes/{1}"];
|
|
9
|
+
function getActionTypeV2($ctx, ...args) {
|
|
10
|
+
return omniFetch($ctx, _getActionTypeV2, ...args);
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
export { getActionTypeV2, listActionTypesV2 };
|
|
14
|
+
//# sourceMappingURL=out.js.map
|
|
15
|
+
//# sourceMappingURL=OntologiesV2_ActionTypeV2.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../src/public/OntologiesV2_ActionTypeV2.ts"],"names":[],"mappings":";AAgBA,SAAS,aAAa,kBAAkB;AACxC,IAAM,qBAAqB,CAAC,GAAG,kCAAkC,CAAC;AAa3D,SAAS,kBAAkB,SAAS,MAAM;AAC/C,SAAO,WAAW,MAAM,oBAAoB,GAAG,IAAI;AACrD;AACA,IAAM,mBAAmB,CAAC,GAAG,oCAAoC;AAU1D,SAAS,gBAAgB,SAAS,MAAM;AAC7C,SAAO,WAAW,MAAM,kBAAkB,GAAG,IAAI;AACnD","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 */\n\nimport { omniFetch as $omniFetch } from \"@osdk/shared.net\";\nconst _listActionTypesV2 = [0, \"/v2/ontologies/{0}/actionTypes\", 2];\n\n/**\n * Lists the action types for the given Ontology.\n *\n * Each page may be smaller than the requested page size. However, it is guaranteed that if there are more\n * results available, at least one result will be present in the response.\n *\n * Third-party applications using this endpoint via OAuth2 must request the following operation scope: `api:read-data`.\n *\n * Required Scopes: [api:read-data]\n * URL: /v2/ontologies/{ontology}/actionTypes\n */\nexport function listActionTypesV2($ctx, ...args) {\n return $omniFetch($ctx, _listActionTypesV2, ...args);\n}\nconst _getActionTypeV2 = [0, \"/v2/ontologies/{0}/actionTypes/{1}\"];\n\n/**\n * Gets a specific action type with the given API name.\n *\n * Third-party applications using this endpoint via OAuth2 must request the following operation scope: `api:read-data`.\n *\n * Required Scopes: [api:read-data]\n * URL: /v2/ontologies/{ontology}/actionTypes/{actionType}\n */\nexport function getActionTypeV2($ctx, ...args) {\n return $omniFetch($ctx, _getActionTypeV2, ...args);\n}"]}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var shared_net = require('@osdk/shared.net');
|
|
4
|
+
|
|
5
|
+
// src/public/OntologiesV2_ObjectTypeV2.ts
|
|
6
|
+
var _listObjectTypesV2 = [0, "/v2/ontologies/{0}/objectTypes", 2];
|
|
7
|
+
function listObjectTypesV2($ctx, ...args) {
|
|
8
|
+
return shared_net.omniFetch($ctx, _listObjectTypesV2, ...args);
|
|
9
|
+
}
|
|
10
|
+
var _getObjectTypeV2 = [0, "/v2/ontologies/{0}/objectTypes/{1}"];
|
|
11
|
+
function getObjectTypeV2($ctx, ...args) {
|
|
12
|
+
return shared_net.omniFetch($ctx, _getObjectTypeV2, ...args);
|
|
13
|
+
}
|
|
14
|
+
var _listOutgoingLinkTypesV2 = [0, "/v2/ontologies/{0}/objectTypes/{1}/outgoingLinkTypes", 2];
|
|
15
|
+
function listOutgoingLinkTypesV2($ctx, ...args) {
|
|
16
|
+
return shared_net.omniFetch($ctx, _listOutgoingLinkTypesV2, ...args);
|
|
17
|
+
}
|
|
18
|
+
var _getOutgoingLinkTypeV2 = [0, "/v2/ontologies/{0}/objectTypes/{1}/outgoingLinkTypes/{2}"];
|
|
19
|
+
function getOutgoingLinkTypeV2($ctx, ...args) {
|
|
20
|
+
return shared_net.omniFetch($ctx, _getOutgoingLinkTypeV2, ...args);
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
exports.getObjectTypeV2 = getObjectTypeV2;
|
|
24
|
+
exports.getOutgoingLinkTypeV2 = getOutgoingLinkTypeV2;
|
|
25
|
+
exports.listObjectTypesV2 = listObjectTypesV2;
|
|
26
|
+
exports.listOutgoingLinkTypesV2 = listOutgoingLinkTypesV2;
|
|
27
|
+
//# sourceMappingURL=out.js.map
|
|
28
|
+
//# sourceMappingURL=OntologiesV2_ObjectTypeV2.cjs.map
|