@osdk/foundry.datasets 2.0.0 → 3.0.0-beta.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 (62) hide show
  1. package/CHANGELOG.md +11 -0
  2. package/build/browser/chunk-4Z465FSF.js +1 -1
  3. package/build/browser/chunk-4Z465FSF.js.map +1 -1
  4. package/build/browser/chunk-5SNWGDKH.js +1 -1
  5. package/build/browser/chunk-5SNWGDKH.js.map +1 -1
  6. package/build/browser/chunk-C6VXNB4U.js +1 -1
  7. package/build/browser/chunk-C6VXNB4U.js.map +1 -1
  8. package/build/browser/chunk-ONCYXSA5.js +1 -1
  9. package/build/browser/chunk-ONCYXSA5.js.map +1 -1
  10. package/build/browser/chunk-PZ5AY32C.js +1 -1
  11. package/build/browser/chunk-PZ5AY32C.js.map +1 -1
  12. package/build/browser/index.js +1 -1
  13. package/build/browser/index.js.map +1 -1
  14. package/build/browser/public/Branch.js +1 -1
  15. package/build/browser/public/Branch.js.map +1 -1
  16. package/build/browser/public/Dataset.js +1 -1
  17. package/build/browser/public/Dataset.js.map +1 -1
  18. package/build/browser/public/File.js +1 -1
  19. package/build/browser/public/File.js.map +1 -1
  20. package/build/browser/public/Transaction.js +1 -1
  21. package/build/browser/public/Transaction.js.map +1 -1
  22. package/build/cjs/chunk-CROYQOHH.cjs +1 -1
  23. package/build/cjs/chunk-CROYQOHH.cjs.map +1 -1
  24. package/build/cjs/chunk-G6X5IGQD.cjs +1 -1
  25. package/build/cjs/chunk-G6X5IGQD.cjs.map +1 -1
  26. package/build/cjs/chunk-N5JACIG2.cjs +1 -1
  27. package/build/cjs/chunk-N5JACIG2.cjs.map +1 -1
  28. package/build/cjs/chunk-Q7SFCCGT.cjs +1 -1
  29. package/build/cjs/chunk-Q7SFCCGT.cjs.map +1 -1
  30. package/build/cjs/chunk-VPWWN4MM.cjs +1 -1
  31. package/build/cjs/chunk-VPWWN4MM.cjs.map +1 -1
  32. package/build/cjs/index.cjs +1 -1
  33. package/build/cjs/index.cjs.map +1 -1
  34. package/build/cjs/public/Branch.cjs +1 -1
  35. package/build/cjs/public/Branch.cjs.map +1 -1
  36. package/build/cjs/public/Dataset.cjs +1 -1
  37. package/build/cjs/public/Dataset.cjs.map +1 -1
  38. package/build/cjs/public/File.cjs +1 -1
  39. package/build/cjs/public/File.cjs.map +1 -1
  40. package/build/cjs/public/Transaction.cjs +1 -1
  41. package/build/cjs/public/Transaction.cjs.map +1 -1
  42. package/build/esm/chunk-4Z465FSF.js +1 -1
  43. package/build/esm/chunk-4Z465FSF.js.map +1 -1
  44. package/build/esm/chunk-5SNWGDKH.js +1 -1
  45. package/build/esm/chunk-5SNWGDKH.js.map +1 -1
  46. package/build/esm/chunk-C6VXNB4U.js +1 -1
  47. package/build/esm/chunk-C6VXNB4U.js.map +1 -1
  48. package/build/esm/chunk-ONCYXSA5.js +1 -1
  49. package/build/esm/chunk-ONCYXSA5.js.map +1 -1
  50. package/build/esm/chunk-PZ5AY32C.js +1 -1
  51. package/build/esm/chunk-PZ5AY32C.js.map +1 -1
  52. package/build/esm/index.js +1 -1
  53. package/build/esm/index.js.map +1 -1
  54. package/build/esm/public/Branch.js +1 -1
  55. package/build/esm/public/Branch.js.map +1 -1
  56. package/build/esm/public/Dataset.js +1 -1
  57. package/build/esm/public/Dataset.js.map +1 -1
  58. package/build/esm/public/File.js +1 -1
  59. package/build/esm/public/File.js.map +1 -1
  60. package/build/esm/public/Transaction.js +1 -1
  61. package/build/esm/public/Transaction.js.map +1 -1
  62. package/package.json +9 -9
package/CHANGELOG.md CHANGED
@@ -1,5 +1,16 @@
1
1
  # @osdk/foundry.datasets
2
2
 
3
+ ## 3.0.0-beta.0
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies [2deb4d9]
8
+ - Updated dependencies [e54f413]
9
+ - Updated dependencies [6387a92]
10
+ - Updated dependencies [651c1b8]
11
+ - @osdk/client@0.21.0-beta.0
12
+ - @osdk/foundry.core@3.0.0-beta.0
13
+
3
14
  ## 2.0.0
4
15
 
5
16
  ### Minor Changes
@@ -27,5 +27,5 @@ function getBranch($ctx, ...args) {
27
27
  }
28
28
 
29
29
  export { Branch_exports, createBranch, deleteBranch, getBranch, listBranches };
30
- //# sourceMappingURL=out.js.map
30
+ //# sourceMappingURL=chunk-4Z465FSF.js.map
31
31
  //# sourceMappingURL=chunk-4Z465FSF.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../../src/public/Branch.ts"],"names":[],"mappings":";;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAgBA,SAAS,wBAAwB,6BAA6B;AAG9D,IAAM,gBAAgB,CAAC,GAAG,6BAA6B,CAAC;AAQjD,SAAS,aAAa,SAAS,MAAM;AAC1C,SAAO,sBAAsB,MAAM,eAAe,GAAG,IAAI;AAC3D;AACA,IAAM,gBAAgB,CAAC,GAAG,iCAAiC,CAAC;AAQrD,SAAS,aAAa,SAAS,MAAM;AAC1C,SAAO,sBAAsB,MAAM,eAAe,GAAG,IAAI;AAC3D;AACA,IAAM,gBAAgB,CAAC,GAAG,6BAA6B,CAAC;AAQjD,SAAS,aAAa,SAAS,MAAM;AAC1C,SAAO,sBAAsB,MAAM,eAAe,GAAG,IAAI;AAC3D;AACA,IAAM,aAAa,CAAC,GAAG,iCAAiC,CAAC;AAQlD,SAAS,UAAU,SAAS,MAAM;AACvC,SAAO,sBAAsB,MAAM,YAAY,GAAG,IAAI;AACxD","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 { foundryPlatformFetch as $foundryPlatformFetch } from \"@osdk/shared.net.platformapi\";\n//\n\nconst _createBranch = [1, \"/v2/datasets/{0}/branches\", 3];\n\n/**\n * Creates a branch on an existing dataset. A branch may optionally point to a (committed) transaction.\n *\n * Required Scopes: [api:datasets-write]\n * URL: /v2/datasets/{datasetRid}/branches\n */\nexport function createBranch($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _createBranch, ...args);\n}\nconst _deleteBranch = [3, \"/v2/datasets/{0}/branches/{1}\", 2];\n\n/**\n * Deletes the Branch with the given BranchId.\n *\n * Required Scopes: [api:datasets-write]\n * URL: /v2/datasets/{datasetRid}/branches/{branchBranchId}\n */\nexport function deleteBranch($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _deleteBranch, ...args);\n}\nconst _listBranches = [0, \"/v2/datasets/{0}/branches\", 2];\n\n/**\n * Lists the Branches of a Dataset.\n *\n * Required Scopes: [api:datasets-read]\n * URL: /v2/datasets/{datasetRid}/branches\n */\nexport function listBranches($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _listBranches, ...args);\n}\nconst _getBranch = [0, \"/v2/datasets/{0}/branches/{1}\", 2];\n\n/**\n * Get a Branch of a Dataset.\n *\n * Required Scopes: [api:datasets-read]\n * URL: /v2/datasets/{datasetRid}/branches/{branchBranchId}\n */\nexport function getBranch($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _getBranch, ...args);\n}"]}
1
+ {"version":3,"sources":["../../src/public/Branch.ts"],"names":["$foundryPlatformFetch"],"mappings":";;;;AAAA,IAAA,cAAA,GAAA,GAAA;AAAA,QAAA,CAAA,cAAA,EAAA;AAAA,EAAA,YAAA,EAAA,MAAA,YAAA;AAAA,EAAA,YAAA,EAAA,MAAA,YAAA;AAAA,EAAA,SAAA,EAAA,MAAA,SAAA;AAAA,EAAA,YAAA,EAAA,MAAA,YAAA;AAAA,CAAA,CAAA,CAAA;AAmBA,IAAM,aAAgB,GAAA,CAAC,CAAG,EAAA,2BAAA,EAA6B,CAAC,CAAA,CAAA;AAQjD,SAAS,YAAA,CAAa,SAAS,IAAM,EAAA;AAC1C,EAAA,OAAOA,oBAAsB,CAAA,IAAA,EAAM,aAAe,EAAA,GAAG,IAAI,CAAA,CAAA;AAC3D,CAAA;AACA,IAAM,aAAgB,GAAA,CAAC,CAAG,EAAA,+BAAA,EAAiC,CAAC,CAAA,CAAA;AAQrD,SAAS,YAAA,CAAa,SAAS,IAAM,EAAA;AAC1C,EAAA,OAAOA,oBAAsB,CAAA,IAAA,EAAM,aAAe,EAAA,GAAG,IAAI,CAAA,CAAA;AAC3D,CAAA;AACA,IAAM,aAAgB,GAAA,CAAC,CAAG,EAAA,2BAAA,EAA6B,CAAC,CAAA,CAAA;AAQjD,SAAS,YAAA,CAAa,SAAS,IAAM,EAAA;AAC1C,EAAA,OAAOA,oBAAsB,CAAA,IAAA,EAAM,aAAe,EAAA,GAAG,IAAI,CAAA,CAAA;AAC3D,CAAA;AACA,IAAM,UAAa,GAAA,CAAC,CAAG,EAAA,+BAAA,EAAiC,CAAC,CAAA,CAAA;AAQlD,SAAS,SAAA,CAAU,SAAS,IAAM,EAAA;AACvC,EAAA,OAAOA,oBAAsB,CAAA,IAAA,EAAM,UAAY,EAAA,GAAG,IAAI,CAAA,CAAA;AACxD","file":"chunk-4Z465FSF.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 */\n\nimport { foundryPlatformFetch as $foundryPlatformFetch } from \"@osdk/shared.net.platformapi\";\n//\n\nconst _createBranch = [1, \"/v2/datasets/{0}/branches\", 3];\n\n/**\n * Creates a branch on an existing dataset. A branch may optionally point to a (committed) transaction.\n *\n * Required Scopes: [api:datasets-write]\n * URL: /v2/datasets/{datasetRid}/branches\n */\nexport function createBranch($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _createBranch, ...args);\n}\nconst _deleteBranch = [3, \"/v2/datasets/{0}/branches/{1}\", 2];\n\n/**\n * Deletes the Branch with the given BranchId.\n *\n * Required Scopes: [api:datasets-write]\n * URL: /v2/datasets/{datasetRid}/branches/{branchBranchId}\n */\nexport function deleteBranch($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _deleteBranch, ...args);\n}\nconst _listBranches = [0, \"/v2/datasets/{0}/branches\", 2];\n\n/**\n * Lists the Branches of a Dataset.\n *\n * Required Scopes: [api:datasets-read]\n * URL: /v2/datasets/{datasetRid}/branches\n */\nexport function listBranches($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _listBranches, ...args);\n}\nconst _getBranch = [0, \"/v2/datasets/{0}/branches/{1}\", 2];\n\n/**\n * Get a Branch of a Dataset.\n *\n * Required Scopes: [api:datasets-read]\n * URL: /v2/datasets/{datasetRid}/branches/{branchBranchId}\n */\nexport function getBranch($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _getBranch, ...args);\n}"]}
@@ -22,5 +22,5 @@ function readTableDataset($ctx, ...args) {
22
22
  }
23
23
 
24
24
  export { Dataset_exports, createDataset, getDataset, readTableDataset };
25
- //# sourceMappingURL=out.js.map
25
+ //# sourceMappingURL=chunk-5SNWGDKH.js.map
26
26
  //# sourceMappingURL=chunk-5SNWGDKH.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../../src/public/Dataset.ts"],"names":[],"mappings":";;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAgBA,SAAS,wBAAwB,6BAA6B;AAG9D,IAAM,iBAAiB,CAAC,GAAG,gBAAgB,CAAC;AAQrC,SAAS,cAAc,SAAS,MAAM;AAC3C,SAAO,sBAAsB,MAAM,gBAAgB,GAAG,IAAI;AAC5D;AACA,IAAM,cAAc,CAAC,GAAG,oBAAoB,CAAC;AAQtC,SAAS,WAAW,SAAS,MAAM;AACxC,SAAO,sBAAsB,MAAM,aAAa,GAAG,IAAI;AACzD;AACA,IAAM,oBAAoB,CAAC,GAAG,8BAA8B,GAAE,EAAE,0BAA0B;AAUnF,SAAS,iBAAiB,SAAS,MAAM;AAC9C,SAAO,sBAAsB,MAAM,mBAAmB,GAAG,IAAI;AAC/D","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 { foundryPlatformFetch as $foundryPlatformFetch } from \"@osdk/shared.net.platformapi\";\n//\n\nconst _createDataset = [1, \"/v2/datasets\", 3];\n\n/**\n * Creates a new Dataset. A default branch - `master` for most enrollments - will be created on the Dataset.\n *\n * Required Scopes: [api:datasets-write]\n * URL: /v2/datasets\n */\nexport function createDataset($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _createDataset, ...args);\n}\nconst _getDataset = [0, \"/v2/datasets/{0}\", 2];\n\n/**\n * Get the Dataset\n *\n * Required Scopes: [api:datasets-read]\n * URL: /v2/datasets/{datasetRid}\n */\nexport function getDataset($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _getDataset, ...args);\n}\nconst _readTableDataset = [0, \"/v2/datasets/{0}/readTable\", 2,, \"application/octet-stream\"];\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 * Required Scopes: [api:datasets-read]\n * URL: /v2/datasets/{datasetRid}/readTable\n */\nexport function readTableDataset($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _readTableDataset, ...args);\n}"]}
1
+ {"version":3,"sources":["../../src/public/Dataset.ts"],"names":["$foundryPlatformFetch"],"mappings":";;;;AAAA,IAAA,eAAA,GAAA,GAAA;AAAA,QAAA,CAAA,eAAA,EAAA;AAAA,EAAA,aAAA,EAAA,MAAA,aAAA;AAAA,EAAA,UAAA,EAAA,MAAA,UAAA;AAAA,EAAA,gBAAA,EAAA,MAAA,gBAAA;AAAA,CAAA,CAAA,CAAA;AAmBA,IAAM,cAAiB,GAAA,CAAC,CAAG,EAAA,cAAA,EAAgB,CAAC,CAAA,CAAA;AAQrC,SAAS,aAAA,CAAc,SAAS,IAAM,EAAA;AAC3C,EAAA,OAAOA,oBAAsB,CAAA,IAAA,EAAM,cAAgB,EAAA,GAAG,IAAI,CAAA,CAAA;AAC5D,CAAA;AACA,IAAM,WAAc,GAAA,CAAC,CAAG,EAAA,kBAAA,EAAoB,CAAC,CAAA,CAAA;AAQtC,SAAS,UAAA,CAAW,SAAS,IAAM,EAAA;AACxC,EAAA,OAAOA,oBAAsB,CAAA,IAAA,EAAM,WAAa,EAAA,GAAG,IAAI,CAAA,CAAA;AACzD,CAAA;AACA,IAAM,oBAAoB,CAAC,CAAA,EAAG,4BAA8B,EAAA,CAAA,IAAI,0BAA0B,CAAA,CAAA;AAUnF,SAAS,gBAAA,CAAiB,SAAS,IAAM,EAAA;AAC9C,EAAA,OAAOA,oBAAsB,CAAA,IAAA,EAAM,iBAAmB,EAAA,GAAG,IAAI,CAAA,CAAA;AAC/D","file":"chunk-5SNWGDKH.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 */\n\nimport { foundryPlatformFetch as $foundryPlatformFetch } from \"@osdk/shared.net.platformapi\";\n//\n\nconst _createDataset = [1, \"/v2/datasets\", 3];\n\n/**\n * Creates a new Dataset. A default branch - `master` for most enrollments - will be created on the Dataset.\n *\n * Required Scopes: [api:datasets-write]\n * URL: /v2/datasets\n */\nexport function createDataset($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _createDataset, ...args);\n}\nconst _getDataset = [0, \"/v2/datasets/{0}\", 2];\n\n/**\n * Get the Dataset\n *\n * Required Scopes: [api:datasets-read]\n * URL: /v2/datasets/{datasetRid}\n */\nexport function getDataset($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _getDataset, ...args);\n}\nconst _readTableDataset = [0, \"/v2/datasets/{0}/readTable\", 2,, \"application/octet-stream\"];\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 * Required Scopes: [api:datasets-read]\n * URL: /v2/datasets/{datasetRid}/readTable\n */\nexport function readTableDataset($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _readTableDataset, ...args);\n}"]}
@@ -32,5 +32,5 @@ function getFileContent($ctx, ...args) {
32
32
  }
33
33
 
34
34
  export { File_exports, deleteFile, getFile, getFileContent, listFiles, uploadFile };
35
- //# sourceMappingURL=out.js.map
35
+ //# sourceMappingURL=chunk-C6VXNB4U.js.map
36
36
  //# sourceMappingURL=chunk-C6VXNB4U.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../../src/public/File.ts"],"names":[],"mappings":";;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAgBA,SAAS,wBAAwB,6BAA6B;AAG9D,IAAM,cAAc,CAAC,GAAG,8BAA8B,CAAC;AAiBhD,SAAS,WAAW,SAAS,MAAM;AACxC,SAAO,sBAAsB,MAAM,aAAa,GAAG,IAAI;AACzD;AACA,IAAM,aAAa,CAAC,GAAG,0BAA0B,CAAC;AAyB3C,SAAS,UAAU,SAAS,MAAM;AACvC,SAAO,sBAAsB,MAAM,YAAY,GAAG,IAAI;AACxD;AACA,IAAM,WAAW,CAAC,GAAG,8BAA8B,CAAC;AAuB7C,SAAS,QAAQ,SAAS,MAAM;AACrC,SAAO,sBAAsB,MAAM,UAAU,GAAG,IAAI;AACtD;AACA,IAAM,cAAc,CAAC,GAAG,qCAAqC,GAAG,0BAA0B;AAoBnF,SAAS,WAAW,SAAS,MAAM;AACxC,SAAO,sBAAsB,MAAM,aAAa,GAAG,IAAI;AACzD;AACA,IAAM,kBAAkB,CAAC,GAAG,sCAAsC,GAAE,EAAE,0BAA0B;AAwBzF,SAAS,eAAe,SAAS,MAAM;AAC5C,SAAO,sBAAsB,MAAM,iBAAiB,GAAG,IAAI;AAC7D","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 { foundryPlatformFetch as $foundryPlatformFetch } from \"@osdk/shared.net.platformapi\";\n//\n\nconst _deleteFile = [3, \"/v2/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 * #### Advanced Usage\n * See [Datasets Core Concepts](/docs/foundry/data-integration/datasets/) for details on using branches and transactions.\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 * 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 * Required Scopes: [api:datasets-write]\n * URL: /v2/datasets/{datasetRid}/files/{filePath}\n */\nexport function deleteFile($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _deleteFile, ...args);\n}\nconst _listFiles = [0, \"/v2/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 * #### Advanced Usage\n * See [Datasets Core Concepts](/docs/foundry/data-integration/datasets/) for details on using branches and transactions.\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 * 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 * 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 * 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 * Required Scopes: [api:datasets-read]\n * URL: /v2/datasets/{datasetRid}/files\n */\nexport function listFiles($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _listFiles, ...args);\n}\nconst _getFile = [0, \"/v2/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 * #### Advanced Usage\n * See [Datasets Core Concepts](/docs/foundry/data-integration/datasets/) for details on using branches and transactions.\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 * 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 * 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 * 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 * Required Scopes: [api:datasets-read]\n * URL: /v2/datasets/{datasetRid}/files/{filePath}\n */\nexport function getFile($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _getFile, ...args);\n}\nconst _uploadFile = [1, \"/v2/datasets/{0}/files/{1}/upload\", 3, \"application/octet-stream\"];\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 * 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 * #### Advanced Usage\n * See [Datasets Core Concepts](/docs/foundry/data-integration/datasets/) for details on using branches and transactions.\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 * 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 * Required Scopes: [api:datasets-write]\n * URL: /v2/datasets/{datasetRid}/files/{filePath}/upload\n */\nexport function uploadFile($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _uploadFile, ...args);\n}\nconst _getFileContent = [0, \"/v2/datasets/{0}/files/{1}/content\", 2,, \"application/octet-stream\"];\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 * #### Advanced Usage\n * See [Datasets Core Concepts](/docs/foundry/data-integration/datasets/) for details on using branches and transactions.\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 * 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 * 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 * 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 * Required Scopes: [api:datasets-read]\n * URL: /v2/datasets/{datasetRid}/files/{filePath}/content\n */\nexport function getFileContent($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _getFileContent, ...args);\n}"]}
1
+ {"version":3,"sources":["../../src/public/File.ts"],"names":["$foundryPlatformFetch"],"mappings":";;;;AAAA,IAAA,YAAA,GAAA,GAAA;AAAA,QAAA,CAAA,YAAA,EAAA;AAAA,EAAA,UAAA,EAAA,MAAA,UAAA;AAAA,EAAA,OAAA,EAAA,MAAA,OAAA;AAAA,EAAA,cAAA,EAAA,MAAA,cAAA;AAAA,EAAA,SAAA,EAAA,MAAA,SAAA;AAAA,EAAA,UAAA,EAAA,MAAA,UAAA;AAAA,CAAA,CAAA,CAAA;AAmBA,IAAM,WAAc,GAAA,CAAC,CAAG,EAAA,4BAAA,EAA8B,CAAC,CAAA,CAAA;AAiBhD,SAAS,UAAA,CAAW,SAAS,IAAM,EAAA;AACxC,EAAA,OAAOA,oBAAsB,CAAA,IAAA,EAAM,WAAa,EAAA,GAAG,IAAI,CAAA,CAAA;AACzD,CAAA;AACA,IAAM,UAAa,GAAA,CAAC,CAAG,EAAA,wBAAA,EAA0B,CAAC,CAAA,CAAA;AAyB3C,SAAS,SAAA,CAAU,SAAS,IAAM,EAAA;AACvC,EAAA,OAAOA,oBAAsB,CAAA,IAAA,EAAM,UAAY,EAAA,GAAG,IAAI,CAAA,CAAA;AACxD,CAAA;AACA,IAAM,QAAW,GAAA,CAAC,CAAG,EAAA,4BAAA,EAA8B,CAAC,CAAA,CAAA;AAuB7C,SAAS,OAAA,CAAQ,SAAS,IAAM,EAAA;AACrC,EAAA,OAAOA,oBAAsB,CAAA,IAAA,EAAM,QAAU,EAAA,GAAG,IAAI,CAAA,CAAA;AACtD,CAAA;AACA,IAAM,WAAc,GAAA,CAAC,CAAG,EAAA,mCAAA,EAAqC,GAAG,0BAA0B,CAAA,CAAA;AAoBnF,SAAS,UAAA,CAAW,SAAS,IAAM,EAAA;AACxC,EAAA,OAAOA,oBAAsB,CAAA,IAAA,EAAM,WAAa,EAAA,GAAG,IAAI,CAAA,CAAA;AACzD,CAAA;AACA,IAAM,kBAAkB,CAAC,CAAA,EAAG,oCAAsC,EAAA,CAAA,IAAI,0BAA0B,CAAA,CAAA;AAwBzF,SAAS,cAAA,CAAe,SAAS,IAAM,EAAA;AAC5C,EAAA,OAAOA,oBAAsB,CAAA,IAAA,EAAM,eAAiB,EAAA,GAAG,IAAI,CAAA,CAAA;AAC7D","file":"chunk-C6VXNB4U.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 */\n\nimport { foundryPlatformFetch as $foundryPlatformFetch } from \"@osdk/shared.net.platformapi\";\n//\n\nconst _deleteFile = [3, \"/v2/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 * #### Advanced Usage\n * See [Datasets Core Concepts](/docs/foundry/data-integration/datasets/) for details on using branches and transactions.\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 * 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 * Required Scopes: [api:datasets-write]\n * URL: /v2/datasets/{datasetRid}/files/{filePath}\n */\nexport function deleteFile($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _deleteFile, ...args);\n}\nconst _listFiles = [0, \"/v2/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 * #### Advanced Usage\n * See [Datasets Core Concepts](/docs/foundry/data-integration/datasets/) for details on using branches and transactions.\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 * 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 * 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 * 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 * Required Scopes: [api:datasets-read]\n * URL: /v2/datasets/{datasetRid}/files\n */\nexport function listFiles($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _listFiles, ...args);\n}\nconst _getFile = [0, \"/v2/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 * #### Advanced Usage\n * See [Datasets Core Concepts](/docs/foundry/data-integration/datasets/) for details on using branches and transactions.\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 * 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 * 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 * 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 * Required Scopes: [api:datasets-read]\n * URL: /v2/datasets/{datasetRid}/files/{filePath}\n */\nexport function getFile($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _getFile, ...args);\n}\nconst _uploadFile = [1, \"/v2/datasets/{0}/files/{1}/upload\", 3, \"application/octet-stream\"];\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 * 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 * #### Advanced Usage\n * See [Datasets Core Concepts](/docs/foundry/data-integration/datasets/) for details on using branches and transactions.\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 * 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 * Required Scopes: [api:datasets-write]\n * URL: /v2/datasets/{datasetRid}/files/{filePath}/upload\n */\nexport function uploadFile($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _uploadFile, ...args);\n}\nconst _getFileContent = [0, \"/v2/datasets/{0}/files/{1}/content\", 2,, \"application/octet-stream\"];\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 * #### Advanced Usage\n * See [Datasets Core Concepts](/docs/foundry/data-integration/datasets/) for details on using branches and transactions.\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 * 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 * 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 * 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 * Required Scopes: [api:datasets-read]\n * URL: /v2/datasets/{datasetRid}/files/{filePath}/content\n */\nexport function getFileContent($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _getFileContent, ...args);\n}"]}
@@ -27,5 +27,5 @@ function abortTransaction($ctx, ...args) {
27
27
  }
28
28
 
29
29
  export { Transaction_exports, abortTransaction, commitTransaction, createTransaction, getTransaction };
30
- //# sourceMappingURL=out.js.map
30
+ //# sourceMappingURL=chunk-ONCYXSA5.js.map
31
31
  //# sourceMappingURL=chunk-ONCYXSA5.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../../src/public/Transaction.ts"],"names":[],"mappings":";;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAgBA,SAAS,wBAAwB,6BAA6B;AAG9D,IAAM,qBAAqB,CAAC,GAAG,iCAAiC,CAAC;AAQ1D,SAAS,kBAAkB,SAAS,MAAM;AAC/C,SAAO,sBAAsB,MAAM,oBAAoB,GAAG,IAAI;AAChE;AACA,IAAM,kBAAkB,CAAC,GAAG,qCAAqC,CAAC;AAQ3D,SAAS,eAAe,SAAS,MAAM;AAC5C,SAAO,sBAAsB,MAAM,iBAAiB,GAAG,IAAI;AAC7D;AACA,IAAM,qBAAqB,CAAC,GAAG,4CAA4C,CAAC;AASrE,SAAS,kBAAkB,SAAS,MAAM;AAC/C,SAAO,sBAAsB,MAAM,oBAAoB,GAAG,IAAI;AAChE;AACA,IAAM,oBAAoB,CAAC,GAAG,2CAA2C,CAAC;AASnE,SAAS,iBAAiB,SAAS,MAAM;AAC9C,SAAO,sBAAsB,MAAM,mBAAmB,GAAG,IAAI;AAC/D","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 { foundryPlatformFetch as $foundryPlatformFetch } from \"@osdk/shared.net.platformapi\";\n//\n\nconst _createTransaction = [1, \"/v2/datasets/{0}/transactions\", 3];\n\n/**\n * Creates a Transaction on a Branch of a Dataset.\n *\n * Required Scopes: [api:datasets-write]\n * URL: /v2/datasets/{datasetRid}/transactions\n */\nexport function createTransaction($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _createTransaction, ...args);\n}\nconst _getTransaction = [0, \"/v2/datasets/{0}/transactions/{1}\", 2];\n\n/**\n * Gets a Transaction of a Dataset.\n *\n * Required Scopes: [api:datasets-read]\n * URL: /v2/datasets/{datasetRid}/transactions/{transactionRid}\n */\nexport function getTransaction($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _getTransaction, ...args);\n}\nconst _commitTransaction = [1, \"/v2/datasets/{0}/transactions/{1}/commit\", 2];\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 * Required Scopes: [api:datasets-write]\n * URL: /v2/datasets/{datasetRid}/transactions/{transactionRid}/commit\n */\nexport function commitTransaction($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _commitTransaction, ...args);\n}\nconst _abortTransaction = [1, \"/v2/datasets/{0}/transactions/{1}/abort\", 2];\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 * Required Scopes: [api:datasets-write]\n * URL: /v2/datasets/{datasetRid}/transactions/{transactionRid}/abort\n */\nexport function abortTransaction($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _abortTransaction, ...args);\n}"]}
1
+ {"version":3,"sources":["../../src/public/Transaction.ts"],"names":["$foundryPlatformFetch"],"mappings":";;;;AAAA,IAAA,mBAAA,GAAA,GAAA;AAAA,QAAA,CAAA,mBAAA,EAAA;AAAA,EAAA,gBAAA,EAAA,MAAA,gBAAA;AAAA,EAAA,iBAAA,EAAA,MAAA,iBAAA;AAAA,EAAA,iBAAA,EAAA,MAAA,iBAAA;AAAA,EAAA,cAAA,EAAA,MAAA,cAAA;AAAA,CAAA,CAAA,CAAA;AAmBA,IAAM,kBAAqB,GAAA,CAAC,CAAG,EAAA,+BAAA,EAAiC,CAAC,CAAA,CAAA;AAQ1D,SAAS,iBAAA,CAAkB,SAAS,IAAM,EAAA;AAC/C,EAAA,OAAOA,oBAAsB,CAAA,IAAA,EAAM,kBAAoB,EAAA,GAAG,IAAI,CAAA,CAAA;AAChE,CAAA;AACA,IAAM,eAAkB,GAAA,CAAC,CAAG,EAAA,mCAAA,EAAqC,CAAC,CAAA,CAAA;AAQ3D,SAAS,cAAA,CAAe,SAAS,IAAM,EAAA;AAC5C,EAAA,OAAOA,oBAAsB,CAAA,IAAA,EAAM,eAAiB,EAAA,GAAG,IAAI,CAAA,CAAA;AAC7D,CAAA;AACA,IAAM,kBAAqB,GAAA,CAAC,CAAG,EAAA,0CAAA,EAA4C,CAAC,CAAA,CAAA;AASrE,SAAS,iBAAA,CAAkB,SAAS,IAAM,EAAA;AAC/C,EAAA,OAAOA,oBAAsB,CAAA,IAAA,EAAM,kBAAoB,EAAA,GAAG,IAAI,CAAA,CAAA;AAChE,CAAA;AACA,IAAM,iBAAoB,GAAA,CAAC,CAAG,EAAA,yCAAA,EAA2C,CAAC,CAAA,CAAA;AASnE,SAAS,gBAAA,CAAiB,SAAS,IAAM,EAAA;AAC9C,EAAA,OAAOA,oBAAsB,CAAA,IAAA,EAAM,iBAAmB,EAAA,GAAG,IAAI,CAAA,CAAA;AAC/D","file":"chunk-ONCYXSA5.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 */\n\nimport { foundryPlatformFetch as $foundryPlatformFetch } from \"@osdk/shared.net.platformapi\";\n//\n\nconst _createTransaction = [1, \"/v2/datasets/{0}/transactions\", 3];\n\n/**\n * Creates a Transaction on a Branch of a Dataset.\n *\n * Required Scopes: [api:datasets-write]\n * URL: /v2/datasets/{datasetRid}/transactions\n */\nexport function createTransaction($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _createTransaction, ...args);\n}\nconst _getTransaction = [0, \"/v2/datasets/{0}/transactions/{1}\", 2];\n\n/**\n * Gets a Transaction of a Dataset.\n *\n * Required Scopes: [api:datasets-read]\n * URL: /v2/datasets/{datasetRid}/transactions/{transactionRid}\n */\nexport function getTransaction($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _getTransaction, ...args);\n}\nconst _commitTransaction = [1, \"/v2/datasets/{0}/transactions/{1}/commit\", 2];\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 * Required Scopes: [api:datasets-write]\n * URL: /v2/datasets/{datasetRid}/transactions/{transactionRid}/commit\n */\nexport function commitTransaction($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _commitTransaction, ...args);\n}\nconst _abortTransaction = [1, \"/v2/datasets/{0}/transactions/{1}/abort\", 2];\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 * Required Scopes: [api:datasets-write]\n * URL: /v2/datasets/{datasetRid}/transactions/{transactionRid}/abort\n */\nexport function abortTransaction($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _abortTransaction, ...args);\n}"]}
@@ -5,5 +5,5 @@ var __export = (target, all) => {
5
5
  };
6
6
 
7
7
  export { __export };
8
- //# sourceMappingURL=out.js.map
8
+ //# sourceMappingURL=chunk-PZ5AY32C.js.map
9
9
  //# sourceMappingURL=chunk-PZ5AY32C.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":[],"names":[],"mappings":"","sourcesContent":[]}
1
+ {"version":3,"sources":[],"names":[],"mappings":"","file":"chunk-PZ5AY32C.js"}
@@ -3,5 +3,5 @@ export { Dataset_exports as Datasets } from './chunk-5SNWGDKH.js';
3
3
  export { File_exports as Files } from './chunk-C6VXNB4U.js';
4
4
  export { Transaction_exports as Transactions } from './chunk-ONCYXSA5.js';
5
5
  import './chunk-PZ5AY32C.js';
6
- //# sourceMappingURL=out.js.map
6
+ //# sourceMappingURL=index.js.map
7
7
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":[],"names":[],"mappings":""}
1
+ {"version":3,"sources":[],"names":[],"mappings":"","file":"index.js"}
@@ -1,4 +1,4 @@
1
1
  export { createBranch, deleteBranch, getBranch, listBranches } from '../chunk-4Z465FSF.js';
2
2
  import '../chunk-PZ5AY32C.js';
3
- //# sourceMappingURL=out.js.map
3
+ //# sourceMappingURL=Branch.js.map
4
4
  //# sourceMappingURL=Branch.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":[],"names":[],"mappings":""}
1
+ {"version":3,"sources":[],"names":[],"mappings":"","file":"Branch.js"}
@@ -1,4 +1,4 @@
1
1
  export { createDataset, getDataset, readTableDataset } from '../chunk-5SNWGDKH.js';
2
2
  import '../chunk-PZ5AY32C.js';
3
- //# sourceMappingURL=out.js.map
3
+ //# sourceMappingURL=Dataset.js.map
4
4
  //# sourceMappingURL=Dataset.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":[],"names":[],"mappings":""}
1
+ {"version":3,"sources":[],"names":[],"mappings":"","file":"Dataset.js"}
@@ -1,4 +1,4 @@
1
1
  export { deleteFile, getFile, getFileContent, listFiles, uploadFile } from '../chunk-C6VXNB4U.js';
2
2
  import '../chunk-PZ5AY32C.js';
3
- //# sourceMappingURL=out.js.map
3
+ //# sourceMappingURL=File.js.map
4
4
  //# sourceMappingURL=File.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":[],"names":[],"mappings":""}
1
+ {"version":3,"sources":[],"names":[],"mappings":"","file":"File.js"}
@@ -1,4 +1,4 @@
1
1
  export { abortTransaction, commitTransaction, createTransaction, getTransaction } from '../chunk-ONCYXSA5.js';
2
2
  import '../chunk-PZ5AY32C.js';
3
- //# sourceMappingURL=out.js.map
3
+ //# sourceMappingURL=Transaction.js.map
4
4
  //# sourceMappingURL=Transaction.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":[],"names":[],"mappings":""}
1
+ {"version":3,"sources":[],"names":[],"mappings":"","file":"Transaction.js"}
@@ -39,5 +39,5 @@ exports.getFile = getFile;
39
39
  exports.getFileContent = getFileContent;
40
40
  exports.listFiles = listFiles;
41
41
  exports.uploadFile = uploadFile;
42
- //# sourceMappingURL=out.js.map
42
+ //# sourceMappingURL=chunk-CROYQOHH.cjs.map
43
43
  //# sourceMappingURL=chunk-CROYQOHH.cjs.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../../src/public/File.ts"],"names":[],"mappings":";;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAgBA,SAAS,wBAAwB,6BAA6B;AAG9D,IAAM,cAAc,CAAC,GAAG,8BAA8B,CAAC;AAiBhD,SAAS,WAAW,SAAS,MAAM;AACxC,SAAO,sBAAsB,MAAM,aAAa,GAAG,IAAI;AACzD;AACA,IAAM,aAAa,CAAC,GAAG,0BAA0B,CAAC;AAyB3C,SAAS,UAAU,SAAS,MAAM;AACvC,SAAO,sBAAsB,MAAM,YAAY,GAAG,IAAI;AACxD;AACA,IAAM,WAAW,CAAC,GAAG,8BAA8B,CAAC;AAuB7C,SAAS,QAAQ,SAAS,MAAM;AACrC,SAAO,sBAAsB,MAAM,UAAU,GAAG,IAAI;AACtD;AACA,IAAM,cAAc,CAAC,GAAG,qCAAqC,GAAG,0BAA0B;AAoBnF,SAAS,WAAW,SAAS,MAAM;AACxC,SAAO,sBAAsB,MAAM,aAAa,GAAG,IAAI;AACzD;AACA,IAAM,kBAAkB,CAAC,GAAG,sCAAsC,GAAE,EAAE,0BAA0B;AAwBzF,SAAS,eAAe,SAAS,MAAM;AAC5C,SAAO,sBAAsB,MAAM,iBAAiB,GAAG,IAAI;AAC7D","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 { foundryPlatformFetch as $foundryPlatformFetch } from \"@osdk/shared.net.platformapi\";\n//\n\nconst _deleteFile = [3, \"/v2/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 * #### Advanced Usage\n * See [Datasets Core Concepts](/docs/foundry/data-integration/datasets/) for details on using branches and transactions.\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 * 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 * Required Scopes: [api:datasets-write]\n * URL: /v2/datasets/{datasetRid}/files/{filePath}\n */\nexport function deleteFile($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _deleteFile, ...args);\n}\nconst _listFiles = [0, \"/v2/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 * #### Advanced Usage\n * See [Datasets Core Concepts](/docs/foundry/data-integration/datasets/) for details on using branches and transactions.\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 * 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 * 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 * 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 * Required Scopes: [api:datasets-read]\n * URL: /v2/datasets/{datasetRid}/files\n */\nexport function listFiles($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _listFiles, ...args);\n}\nconst _getFile = [0, \"/v2/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 * #### Advanced Usage\n * See [Datasets Core Concepts](/docs/foundry/data-integration/datasets/) for details on using branches and transactions.\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 * 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 * 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 * 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 * Required Scopes: [api:datasets-read]\n * URL: /v2/datasets/{datasetRid}/files/{filePath}\n */\nexport function getFile($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _getFile, ...args);\n}\nconst _uploadFile = [1, \"/v2/datasets/{0}/files/{1}/upload\", 3, \"application/octet-stream\"];\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 * 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 * #### Advanced Usage\n * See [Datasets Core Concepts](/docs/foundry/data-integration/datasets/) for details on using branches and transactions.\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 * 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 * Required Scopes: [api:datasets-write]\n * URL: /v2/datasets/{datasetRid}/files/{filePath}/upload\n */\nexport function uploadFile($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _uploadFile, ...args);\n}\nconst _getFileContent = [0, \"/v2/datasets/{0}/files/{1}/content\", 2,, \"application/octet-stream\"];\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 * #### Advanced Usage\n * See [Datasets Core Concepts](/docs/foundry/data-integration/datasets/) for details on using branches and transactions.\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 * 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 * 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 * 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 * Required Scopes: [api:datasets-read]\n * URL: /v2/datasets/{datasetRid}/files/{filePath}/content\n */\nexport function getFileContent($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _getFileContent, ...args);\n}"]}
1
+ {"version":3,"sources":["../../src/public/File.ts"],"names":["__export","$foundryPlatformFetch"],"mappings":";;;;;;AAAA,IAAA,YAAA,GAAA,GAAA;AAAAA,0BAAA,CAAA,YAAA,EAAA;AAAA,EAAA,UAAA,EAAA,MAAA,UAAA;AAAA,EAAA,OAAA,EAAA,MAAA,OAAA;AAAA,EAAA,cAAA,EAAA,MAAA,cAAA;AAAA,EAAA,SAAA,EAAA,MAAA,SAAA;AAAA,EAAA,UAAA,EAAA,MAAA,UAAA;AAAA,CAAA,CAAA,CAAA;AAmBA,IAAM,WAAc,GAAA,CAAC,CAAG,EAAA,4BAAA,EAA8B,CAAC,CAAA,CAAA;AAiBhD,SAAS,UAAA,CAAW,SAAS,IAAM,EAAA;AACxC,EAAA,OAAOC,2CAAsB,CAAA,IAAA,EAAM,WAAa,EAAA,GAAG,IAAI,CAAA,CAAA;AACzD,CAAA;AACA,IAAM,UAAa,GAAA,CAAC,CAAG,EAAA,wBAAA,EAA0B,CAAC,CAAA,CAAA;AAyB3C,SAAS,SAAA,CAAU,SAAS,IAAM,EAAA;AACvC,EAAA,OAAOA,2CAAsB,CAAA,IAAA,EAAM,UAAY,EAAA,GAAG,IAAI,CAAA,CAAA;AACxD,CAAA;AACA,IAAM,QAAW,GAAA,CAAC,CAAG,EAAA,4BAAA,EAA8B,CAAC,CAAA,CAAA;AAuB7C,SAAS,OAAA,CAAQ,SAAS,IAAM,EAAA;AACrC,EAAA,OAAOA,2CAAsB,CAAA,IAAA,EAAM,QAAU,EAAA,GAAG,IAAI,CAAA,CAAA;AACtD,CAAA;AACA,IAAM,WAAc,GAAA,CAAC,CAAG,EAAA,mCAAA,EAAqC,GAAG,0BAA0B,CAAA,CAAA;AAoBnF,SAAS,UAAA,CAAW,SAAS,IAAM,EAAA;AACxC,EAAA,OAAOA,2CAAsB,CAAA,IAAA,EAAM,WAAa,EAAA,GAAG,IAAI,CAAA,CAAA;AACzD,CAAA;AACA,IAAM,kBAAkB,CAAC,CAAA,EAAG,oCAAsC,EAAA,CAAA,IAAI,0BAA0B,CAAA,CAAA;AAwBzF,SAAS,cAAA,CAAe,SAAS,IAAM,EAAA;AAC5C,EAAA,OAAOA,2CAAsB,CAAA,IAAA,EAAM,eAAiB,EAAA,GAAG,IAAI,CAAA,CAAA;AAC7D","file":"chunk-CROYQOHH.cjs","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 { foundryPlatformFetch as $foundryPlatformFetch } from \"@osdk/shared.net.platformapi\";\n//\n\nconst _deleteFile = [3, \"/v2/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 * #### Advanced Usage\n * See [Datasets Core Concepts](/docs/foundry/data-integration/datasets/) for details on using branches and transactions.\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 * 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 * Required Scopes: [api:datasets-write]\n * URL: /v2/datasets/{datasetRid}/files/{filePath}\n */\nexport function deleteFile($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _deleteFile, ...args);\n}\nconst _listFiles = [0, \"/v2/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 * #### Advanced Usage\n * See [Datasets Core Concepts](/docs/foundry/data-integration/datasets/) for details on using branches and transactions.\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 * 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 * 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 * 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 * Required Scopes: [api:datasets-read]\n * URL: /v2/datasets/{datasetRid}/files\n */\nexport function listFiles($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _listFiles, ...args);\n}\nconst _getFile = [0, \"/v2/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 * #### Advanced Usage\n * See [Datasets Core Concepts](/docs/foundry/data-integration/datasets/) for details on using branches and transactions.\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 * 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 * 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 * 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 * Required Scopes: [api:datasets-read]\n * URL: /v2/datasets/{datasetRid}/files/{filePath}\n */\nexport function getFile($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _getFile, ...args);\n}\nconst _uploadFile = [1, \"/v2/datasets/{0}/files/{1}/upload\", 3, \"application/octet-stream\"];\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 * 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 * #### Advanced Usage\n * See [Datasets Core Concepts](/docs/foundry/data-integration/datasets/) for details on using branches and transactions.\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 * 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 * Required Scopes: [api:datasets-write]\n * URL: /v2/datasets/{datasetRid}/files/{filePath}/upload\n */\nexport function uploadFile($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _uploadFile, ...args);\n}\nconst _getFileContent = [0, \"/v2/datasets/{0}/files/{1}/content\", 2,, \"application/octet-stream\"];\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 * #### Advanced Usage\n * See [Datasets Core Concepts](/docs/foundry/data-integration/datasets/) for details on using branches and transactions.\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 * 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 * 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 * 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 * Required Scopes: [api:datasets-read]\n * URL: /v2/datasets/{datasetRid}/files/{filePath}/content\n */\nexport function getFileContent($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _getFileContent, ...args);\n}"]}
@@ -33,5 +33,5 @@ exports.abortTransaction = abortTransaction;
33
33
  exports.commitTransaction = commitTransaction;
34
34
  exports.createTransaction = createTransaction;
35
35
  exports.getTransaction = getTransaction;
36
- //# sourceMappingURL=out.js.map
36
+ //# sourceMappingURL=chunk-G6X5IGQD.cjs.map
37
37
  //# sourceMappingURL=chunk-G6X5IGQD.cjs.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../../src/public/Transaction.ts"],"names":[],"mappings":";;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAgBA,SAAS,wBAAwB,6BAA6B;AAG9D,IAAM,qBAAqB,CAAC,GAAG,iCAAiC,CAAC;AAQ1D,SAAS,kBAAkB,SAAS,MAAM;AAC/C,SAAO,sBAAsB,MAAM,oBAAoB,GAAG,IAAI;AAChE;AACA,IAAM,kBAAkB,CAAC,GAAG,qCAAqC,CAAC;AAQ3D,SAAS,eAAe,SAAS,MAAM;AAC5C,SAAO,sBAAsB,MAAM,iBAAiB,GAAG,IAAI;AAC7D;AACA,IAAM,qBAAqB,CAAC,GAAG,4CAA4C,CAAC;AASrE,SAAS,kBAAkB,SAAS,MAAM;AAC/C,SAAO,sBAAsB,MAAM,oBAAoB,GAAG,IAAI;AAChE;AACA,IAAM,oBAAoB,CAAC,GAAG,2CAA2C,CAAC;AASnE,SAAS,iBAAiB,SAAS,MAAM;AAC9C,SAAO,sBAAsB,MAAM,mBAAmB,GAAG,IAAI;AAC/D","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 { foundryPlatformFetch as $foundryPlatformFetch } from \"@osdk/shared.net.platformapi\";\n//\n\nconst _createTransaction = [1, \"/v2/datasets/{0}/transactions\", 3];\n\n/**\n * Creates a Transaction on a Branch of a Dataset.\n *\n * Required Scopes: [api:datasets-write]\n * URL: /v2/datasets/{datasetRid}/transactions\n */\nexport function createTransaction($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _createTransaction, ...args);\n}\nconst _getTransaction = [0, \"/v2/datasets/{0}/transactions/{1}\", 2];\n\n/**\n * Gets a Transaction of a Dataset.\n *\n * Required Scopes: [api:datasets-read]\n * URL: /v2/datasets/{datasetRid}/transactions/{transactionRid}\n */\nexport function getTransaction($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _getTransaction, ...args);\n}\nconst _commitTransaction = [1, \"/v2/datasets/{0}/transactions/{1}/commit\", 2];\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 * Required Scopes: [api:datasets-write]\n * URL: /v2/datasets/{datasetRid}/transactions/{transactionRid}/commit\n */\nexport function commitTransaction($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _commitTransaction, ...args);\n}\nconst _abortTransaction = [1, \"/v2/datasets/{0}/transactions/{1}/abort\", 2];\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 * Required Scopes: [api:datasets-write]\n * URL: /v2/datasets/{datasetRid}/transactions/{transactionRid}/abort\n */\nexport function abortTransaction($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _abortTransaction, ...args);\n}"]}
1
+ {"version":3,"sources":["../../src/public/Transaction.ts"],"names":["__export","$foundryPlatformFetch"],"mappings":";;;;;;AAAA,IAAA,mBAAA,GAAA,GAAA;AAAAA,0BAAA,CAAA,mBAAA,EAAA;AAAA,EAAA,gBAAA,EAAA,MAAA,gBAAA;AAAA,EAAA,iBAAA,EAAA,MAAA,iBAAA;AAAA,EAAA,iBAAA,EAAA,MAAA,iBAAA;AAAA,EAAA,cAAA,EAAA,MAAA,cAAA;AAAA,CAAA,CAAA,CAAA;AAmBA,IAAM,kBAAqB,GAAA,CAAC,CAAG,EAAA,+BAAA,EAAiC,CAAC,CAAA,CAAA;AAQ1D,SAAS,iBAAA,CAAkB,SAAS,IAAM,EAAA;AAC/C,EAAA,OAAOC,2CAAsB,CAAA,IAAA,EAAM,kBAAoB,EAAA,GAAG,IAAI,CAAA,CAAA;AAChE,CAAA;AACA,IAAM,eAAkB,GAAA,CAAC,CAAG,EAAA,mCAAA,EAAqC,CAAC,CAAA,CAAA;AAQ3D,SAAS,cAAA,CAAe,SAAS,IAAM,EAAA;AAC5C,EAAA,OAAOA,2CAAsB,CAAA,IAAA,EAAM,eAAiB,EAAA,GAAG,IAAI,CAAA,CAAA;AAC7D,CAAA;AACA,IAAM,kBAAqB,GAAA,CAAC,CAAG,EAAA,0CAAA,EAA4C,CAAC,CAAA,CAAA;AASrE,SAAS,iBAAA,CAAkB,SAAS,IAAM,EAAA;AAC/C,EAAA,OAAOA,2CAAsB,CAAA,IAAA,EAAM,kBAAoB,EAAA,GAAG,IAAI,CAAA,CAAA;AAChE,CAAA;AACA,IAAM,iBAAoB,GAAA,CAAC,CAAG,EAAA,yCAAA,EAA2C,CAAC,CAAA,CAAA;AASnE,SAAS,gBAAA,CAAiB,SAAS,IAAM,EAAA;AAC9C,EAAA,OAAOA,2CAAsB,CAAA,IAAA,EAAM,iBAAmB,EAAA,GAAG,IAAI,CAAA,CAAA;AAC/D","file":"chunk-G6X5IGQD.cjs","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 { foundryPlatformFetch as $foundryPlatformFetch } from \"@osdk/shared.net.platformapi\";\n//\n\nconst _createTransaction = [1, \"/v2/datasets/{0}/transactions\", 3];\n\n/**\n * Creates a Transaction on a Branch of a Dataset.\n *\n * Required Scopes: [api:datasets-write]\n * URL: /v2/datasets/{datasetRid}/transactions\n */\nexport function createTransaction($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _createTransaction, ...args);\n}\nconst _getTransaction = [0, \"/v2/datasets/{0}/transactions/{1}\", 2];\n\n/**\n * Gets a Transaction of a Dataset.\n *\n * Required Scopes: [api:datasets-read]\n * URL: /v2/datasets/{datasetRid}/transactions/{transactionRid}\n */\nexport function getTransaction($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _getTransaction, ...args);\n}\nconst _commitTransaction = [1, \"/v2/datasets/{0}/transactions/{1}/commit\", 2];\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 * Required Scopes: [api:datasets-write]\n * URL: /v2/datasets/{datasetRid}/transactions/{transactionRid}/commit\n */\nexport function commitTransaction($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _commitTransaction, ...args);\n}\nconst _abortTransaction = [1, \"/v2/datasets/{0}/transactions/{1}/abort\", 2];\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 * Required Scopes: [api:datasets-write]\n * URL: /v2/datasets/{datasetRid}/transactions/{transactionRid}/abort\n */\nexport function abortTransaction($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _abortTransaction, ...args);\n}"]}
@@ -27,5 +27,5 @@ exports.Dataset_exports = Dataset_exports;
27
27
  exports.createDataset = createDataset;
28
28
  exports.getDataset = getDataset;
29
29
  exports.readTableDataset = readTableDataset;
30
- //# sourceMappingURL=out.js.map
30
+ //# sourceMappingURL=chunk-N5JACIG2.cjs.map
31
31
  //# sourceMappingURL=chunk-N5JACIG2.cjs.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../../src/public/Dataset.ts"],"names":[],"mappings":";;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAgBA,SAAS,wBAAwB,6BAA6B;AAG9D,IAAM,iBAAiB,CAAC,GAAG,gBAAgB,CAAC;AAQrC,SAAS,cAAc,SAAS,MAAM;AAC3C,SAAO,sBAAsB,MAAM,gBAAgB,GAAG,IAAI;AAC5D;AACA,IAAM,cAAc,CAAC,GAAG,oBAAoB,CAAC;AAQtC,SAAS,WAAW,SAAS,MAAM;AACxC,SAAO,sBAAsB,MAAM,aAAa,GAAG,IAAI;AACzD;AACA,IAAM,oBAAoB,CAAC,GAAG,8BAA8B,GAAE,EAAE,0BAA0B;AAUnF,SAAS,iBAAiB,SAAS,MAAM;AAC9C,SAAO,sBAAsB,MAAM,mBAAmB,GAAG,IAAI;AAC/D","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 { foundryPlatformFetch as $foundryPlatformFetch } from \"@osdk/shared.net.platformapi\";\n//\n\nconst _createDataset = [1, \"/v2/datasets\", 3];\n\n/**\n * Creates a new Dataset. A default branch - `master` for most enrollments - will be created on the Dataset.\n *\n * Required Scopes: [api:datasets-write]\n * URL: /v2/datasets\n */\nexport function createDataset($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _createDataset, ...args);\n}\nconst _getDataset = [0, \"/v2/datasets/{0}\", 2];\n\n/**\n * Get the Dataset\n *\n * Required Scopes: [api:datasets-read]\n * URL: /v2/datasets/{datasetRid}\n */\nexport function getDataset($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _getDataset, ...args);\n}\nconst _readTableDataset = [0, \"/v2/datasets/{0}/readTable\", 2,, \"application/octet-stream\"];\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 * Required Scopes: [api:datasets-read]\n * URL: /v2/datasets/{datasetRid}/readTable\n */\nexport function readTableDataset($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _readTableDataset, ...args);\n}"]}
1
+ {"version":3,"sources":["../../src/public/Dataset.ts"],"names":["__export","$foundryPlatformFetch"],"mappings":";;;;;;AAAA,IAAA,eAAA,GAAA,GAAA;AAAAA,0BAAA,CAAA,eAAA,EAAA;AAAA,EAAA,aAAA,EAAA,MAAA,aAAA;AAAA,EAAA,UAAA,EAAA,MAAA,UAAA;AAAA,EAAA,gBAAA,EAAA,MAAA,gBAAA;AAAA,CAAA,CAAA,CAAA;AAmBA,IAAM,cAAiB,GAAA,CAAC,CAAG,EAAA,cAAA,EAAgB,CAAC,CAAA,CAAA;AAQrC,SAAS,aAAA,CAAc,SAAS,IAAM,EAAA;AAC3C,EAAA,OAAOC,2CAAsB,CAAA,IAAA,EAAM,cAAgB,EAAA,GAAG,IAAI,CAAA,CAAA;AAC5D,CAAA;AACA,IAAM,WAAc,GAAA,CAAC,CAAG,EAAA,kBAAA,EAAoB,CAAC,CAAA,CAAA;AAQtC,SAAS,UAAA,CAAW,SAAS,IAAM,EAAA;AACxC,EAAA,OAAOA,2CAAsB,CAAA,IAAA,EAAM,WAAa,EAAA,GAAG,IAAI,CAAA,CAAA;AACzD,CAAA;AACA,IAAM,oBAAoB,CAAC,CAAA,EAAG,4BAA8B,EAAA,CAAA,IAAI,0BAA0B,CAAA,CAAA;AAUnF,SAAS,gBAAA,CAAiB,SAAS,IAAM,EAAA;AAC9C,EAAA,OAAOA,2CAAsB,CAAA,IAAA,EAAM,iBAAmB,EAAA,GAAG,IAAI,CAAA,CAAA;AAC/D","file":"chunk-N5JACIG2.cjs","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 { foundryPlatformFetch as $foundryPlatformFetch } from \"@osdk/shared.net.platformapi\";\n//\n\nconst _createDataset = [1, \"/v2/datasets\", 3];\n\n/**\n * Creates a new Dataset. A default branch - `master` for most enrollments - will be created on the Dataset.\n *\n * Required Scopes: [api:datasets-write]\n * URL: /v2/datasets\n */\nexport function createDataset($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _createDataset, ...args);\n}\nconst _getDataset = [0, \"/v2/datasets/{0}\", 2];\n\n/**\n * Get the Dataset\n *\n * Required Scopes: [api:datasets-read]\n * URL: /v2/datasets/{datasetRid}\n */\nexport function getDataset($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _getDataset, ...args);\n}\nconst _readTableDataset = [0, \"/v2/datasets/{0}/readTable\", 2,, \"application/octet-stream\"];\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 * Required Scopes: [api:datasets-read]\n * URL: /v2/datasets/{datasetRid}/readTable\n */\nexport function readTableDataset($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _readTableDataset, ...args);\n}"]}
@@ -7,5 +7,5 @@ var __export = (target, all) => {
7
7
  };
8
8
 
9
9
  exports.__export = __export;
10
- //# sourceMappingURL=out.js.map
10
+ //# sourceMappingURL=chunk-Q7SFCCGT.cjs.map
11
11
  //# sourceMappingURL=chunk-Q7SFCCGT.cjs.map
@@ -1 +1 @@
1
- {"version":3,"sources":[],"names":[],"mappings":"","sourcesContent":[]}
1
+ {"version":3,"sources":[],"names":[],"mappings":"","file":"chunk-Q7SFCCGT.cjs"}
@@ -33,5 +33,5 @@ exports.createBranch = createBranch;
33
33
  exports.deleteBranch = deleteBranch;
34
34
  exports.getBranch = getBranch;
35
35
  exports.listBranches = listBranches;
36
- //# sourceMappingURL=out.js.map
36
+ //# sourceMappingURL=chunk-VPWWN4MM.cjs.map
37
37
  //# sourceMappingURL=chunk-VPWWN4MM.cjs.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../../src/public/Branch.ts"],"names":[],"mappings":";;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAgBA,SAAS,wBAAwB,6BAA6B;AAG9D,IAAM,gBAAgB,CAAC,GAAG,6BAA6B,CAAC;AAQjD,SAAS,aAAa,SAAS,MAAM;AAC1C,SAAO,sBAAsB,MAAM,eAAe,GAAG,IAAI;AAC3D;AACA,IAAM,gBAAgB,CAAC,GAAG,iCAAiC,CAAC;AAQrD,SAAS,aAAa,SAAS,MAAM;AAC1C,SAAO,sBAAsB,MAAM,eAAe,GAAG,IAAI;AAC3D;AACA,IAAM,gBAAgB,CAAC,GAAG,6BAA6B,CAAC;AAQjD,SAAS,aAAa,SAAS,MAAM;AAC1C,SAAO,sBAAsB,MAAM,eAAe,GAAG,IAAI;AAC3D;AACA,IAAM,aAAa,CAAC,GAAG,iCAAiC,CAAC;AAQlD,SAAS,UAAU,SAAS,MAAM;AACvC,SAAO,sBAAsB,MAAM,YAAY,GAAG,IAAI;AACxD","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 { foundryPlatformFetch as $foundryPlatformFetch } from \"@osdk/shared.net.platformapi\";\n//\n\nconst _createBranch = [1, \"/v2/datasets/{0}/branches\", 3];\n\n/**\n * Creates a branch on an existing dataset. A branch may optionally point to a (committed) transaction.\n *\n * Required Scopes: [api:datasets-write]\n * URL: /v2/datasets/{datasetRid}/branches\n */\nexport function createBranch($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _createBranch, ...args);\n}\nconst _deleteBranch = [3, \"/v2/datasets/{0}/branches/{1}\", 2];\n\n/**\n * Deletes the Branch with the given BranchId.\n *\n * Required Scopes: [api:datasets-write]\n * URL: /v2/datasets/{datasetRid}/branches/{branchBranchId}\n */\nexport function deleteBranch($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _deleteBranch, ...args);\n}\nconst _listBranches = [0, \"/v2/datasets/{0}/branches\", 2];\n\n/**\n * Lists the Branches of a Dataset.\n *\n * Required Scopes: [api:datasets-read]\n * URL: /v2/datasets/{datasetRid}/branches\n */\nexport function listBranches($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _listBranches, ...args);\n}\nconst _getBranch = [0, \"/v2/datasets/{0}/branches/{1}\", 2];\n\n/**\n * Get a Branch of a Dataset.\n *\n * Required Scopes: [api:datasets-read]\n * URL: /v2/datasets/{datasetRid}/branches/{branchBranchId}\n */\nexport function getBranch($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _getBranch, ...args);\n}"]}
1
+ {"version":3,"sources":["../../src/public/Branch.ts"],"names":["__export","$foundryPlatformFetch"],"mappings":";;;;;;AAAA,IAAA,cAAA,GAAA,GAAA;AAAAA,0BAAA,CAAA,cAAA,EAAA;AAAA,EAAA,YAAA,EAAA,MAAA,YAAA;AAAA,EAAA,YAAA,EAAA,MAAA,YAAA;AAAA,EAAA,SAAA,EAAA,MAAA,SAAA;AAAA,EAAA,YAAA,EAAA,MAAA,YAAA;AAAA,CAAA,CAAA,CAAA;AAmBA,IAAM,aAAgB,GAAA,CAAC,CAAG,EAAA,2BAAA,EAA6B,CAAC,CAAA,CAAA;AAQjD,SAAS,YAAA,CAAa,SAAS,IAAM,EAAA;AAC1C,EAAA,OAAOC,2CAAsB,CAAA,IAAA,EAAM,aAAe,EAAA,GAAG,IAAI,CAAA,CAAA;AAC3D,CAAA;AACA,IAAM,aAAgB,GAAA,CAAC,CAAG,EAAA,+BAAA,EAAiC,CAAC,CAAA,CAAA;AAQrD,SAAS,YAAA,CAAa,SAAS,IAAM,EAAA;AAC1C,EAAA,OAAOA,2CAAsB,CAAA,IAAA,EAAM,aAAe,EAAA,GAAG,IAAI,CAAA,CAAA;AAC3D,CAAA;AACA,IAAM,aAAgB,GAAA,CAAC,CAAG,EAAA,2BAAA,EAA6B,CAAC,CAAA,CAAA;AAQjD,SAAS,YAAA,CAAa,SAAS,IAAM,EAAA;AAC1C,EAAA,OAAOA,2CAAsB,CAAA,IAAA,EAAM,aAAe,EAAA,GAAG,IAAI,CAAA,CAAA;AAC3D,CAAA;AACA,IAAM,UAAa,GAAA,CAAC,CAAG,EAAA,+BAAA,EAAiC,CAAC,CAAA,CAAA;AAQlD,SAAS,SAAA,CAAU,SAAS,IAAM,EAAA;AACvC,EAAA,OAAOA,2CAAsB,CAAA,IAAA,EAAM,UAAY,EAAA,GAAG,IAAI,CAAA,CAAA;AACxD","file":"chunk-VPWWN4MM.cjs","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 { foundryPlatformFetch as $foundryPlatformFetch } from \"@osdk/shared.net.platformapi\";\n//\n\nconst _createBranch = [1, \"/v2/datasets/{0}/branches\", 3];\n\n/**\n * Creates a branch on an existing dataset. A branch may optionally point to a (committed) transaction.\n *\n * Required Scopes: [api:datasets-write]\n * URL: /v2/datasets/{datasetRid}/branches\n */\nexport function createBranch($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _createBranch, ...args);\n}\nconst _deleteBranch = [3, \"/v2/datasets/{0}/branches/{1}\", 2];\n\n/**\n * Deletes the Branch with the given BranchId.\n *\n * Required Scopes: [api:datasets-write]\n * URL: /v2/datasets/{datasetRid}/branches/{branchBranchId}\n */\nexport function deleteBranch($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _deleteBranch, ...args);\n}\nconst _listBranches = [0, \"/v2/datasets/{0}/branches\", 2];\n\n/**\n * Lists the Branches of a Dataset.\n *\n * Required Scopes: [api:datasets-read]\n * URL: /v2/datasets/{datasetRid}/branches\n */\nexport function listBranches($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _listBranches, ...args);\n}\nconst _getBranch = [0, \"/v2/datasets/{0}/branches/{1}\", 2];\n\n/**\n * Get a Branch of a Dataset.\n *\n * Required Scopes: [api:datasets-read]\n * URL: /v2/datasets/{datasetRid}/branches/{branchBranchId}\n */\nexport function getBranch($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _getBranch, ...args);\n}"]}
@@ -24,5 +24,5 @@ Object.defineProperty(exports, "Transactions", {
24
24
  enumerable: true,
25
25
  get: function () { return chunkG6X5IGQD_cjs.Transaction_exports; }
26
26
  });
27
- //# sourceMappingURL=out.js.map
27
+ //# sourceMappingURL=index.cjs.map
28
28
  //# sourceMappingURL=index.cjs.map
@@ -1 +1 @@
1
- {"version":3,"sources":[],"names":[],"mappings":""}
1
+ {"version":3,"sources":[],"names":[],"mappings":"","file":"index.cjs"}
@@ -21,5 +21,5 @@ Object.defineProperty(exports, "listBranches", {
21
21
  enumerable: true,
22
22
  get: function () { return chunkVPWWN4MM_cjs.listBranches; }
23
23
  });
24
- //# sourceMappingURL=out.js.map
24
+ //# sourceMappingURL=Branch.cjs.map
25
25
  //# sourceMappingURL=Branch.cjs.map
@@ -1 +1 @@
1
- {"version":3,"sources":[],"names":[],"mappings":""}
1
+ {"version":3,"sources":[],"names":[],"mappings":"","file":"Branch.cjs"}
@@ -17,5 +17,5 @@ Object.defineProperty(exports, "readTableDataset", {
17
17
  enumerable: true,
18
18
  get: function () { return chunkN5JACIG2_cjs.readTableDataset; }
19
19
  });
20
- //# sourceMappingURL=out.js.map
20
+ //# sourceMappingURL=Dataset.cjs.map
21
21
  //# sourceMappingURL=Dataset.cjs.map
@@ -1 +1 @@
1
- {"version":3,"sources":[],"names":[],"mappings":""}
1
+ {"version":3,"sources":[],"names":[],"mappings":"","file":"Dataset.cjs"}
@@ -25,5 +25,5 @@ Object.defineProperty(exports, "uploadFile", {
25
25
  enumerable: true,
26
26
  get: function () { return chunkCROYQOHH_cjs.uploadFile; }
27
27
  });
28
- //# sourceMappingURL=out.js.map
28
+ //# sourceMappingURL=File.cjs.map
29
29
  //# sourceMappingURL=File.cjs.map
@@ -1 +1 @@
1
- {"version":3,"sources":[],"names":[],"mappings":""}
1
+ {"version":3,"sources":[],"names":[],"mappings":"","file":"File.cjs"}
@@ -21,5 +21,5 @@ Object.defineProperty(exports, "getTransaction", {
21
21
  enumerable: true,
22
22
  get: function () { return chunkG6X5IGQD_cjs.getTransaction; }
23
23
  });
24
- //# sourceMappingURL=out.js.map
24
+ //# sourceMappingURL=Transaction.cjs.map
25
25
  //# sourceMappingURL=Transaction.cjs.map
@@ -1 +1 @@
1
- {"version":3,"sources":[],"names":[],"mappings":""}
1
+ {"version":3,"sources":[],"names":[],"mappings":"","file":"Transaction.cjs"}
@@ -27,5 +27,5 @@ function getBranch($ctx, ...args) {
27
27
  }
28
28
 
29
29
  export { Branch_exports, createBranch, deleteBranch, getBranch, listBranches };
30
- //# sourceMappingURL=out.js.map
30
+ //# sourceMappingURL=chunk-4Z465FSF.js.map
31
31
  //# sourceMappingURL=chunk-4Z465FSF.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../../src/public/Branch.ts"],"names":[],"mappings":";;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAgBA,SAAS,wBAAwB,6BAA6B;AAG9D,IAAM,gBAAgB,CAAC,GAAG,6BAA6B,CAAC;AAQjD,SAAS,aAAa,SAAS,MAAM;AAC1C,SAAO,sBAAsB,MAAM,eAAe,GAAG,IAAI;AAC3D;AACA,IAAM,gBAAgB,CAAC,GAAG,iCAAiC,CAAC;AAQrD,SAAS,aAAa,SAAS,MAAM;AAC1C,SAAO,sBAAsB,MAAM,eAAe,GAAG,IAAI;AAC3D;AACA,IAAM,gBAAgB,CAAC,GAAG,6BAA6B,CAAC;AAQjD,SAAS,aAAa,SAAS,MAAM;AAC1C,SAAO,sBAAsB,MAAM,eAAe,GAAG,IAAI;AAC3D;AACA,IAAM,aAAa,CAAC,GAAG,iCAAiC,CAAC;AAQlD,SAAS,UAAU,SAAS,MAAM;AACvC,SAAO,sBAAsB,MAAM,YAAY,GAAG,IAAI;AACxD","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 { foundryPlatformFetch as $foundryPlatformFetch } from \"@osdk/shared.net.platformapi\";\n//\n\nconst _createBranch = [1, \"/v2/datasets/{0}/branches\", 3];\n\n/**\n * Creates a branch on an existing dataset. A branch may optionally point to a (committed) transaction.\n *\n * Required Scopes: [api:datasets-write]\n * URL: /v2/datasets/{datasetRid}/branches\n */\nexport function createBranch($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _createBranch, ...args);\n}\nconst _deleteBranch = [3, \"/v2/datasets/{0}/branches/{1}\", 2];\n\n/**\n * Deletes the Branch with the given BranchId.\n *\n * Required Scopes: [api:datasets-write]\n * URL: /v2/datasets/{datasetRid}/branches/{branchBranchId}\n */\nexport function deleteBranch($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _deleteBranch, ...args);\n}\nconst _listBranches = [0, \"/v2/datasets/{0}/branches\", 2];\n\n/**\n * Lists the Branches of a Dataset.\n *\n * Required Scopes: [api:datasets-read]\n * URL: /v2/datasets/{datasetRid}/branches\n */\nexport function listBranches($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _listBranches, ...args);\n}\nconst _getBranch = [0, \"/v2/datasets/{0}/branches/{1}\", 2];\n\n/**\n * Get a Branch of a Dataset.\n *\n * Required Scopes: [api:datasets-read]\n * URL: /v2/datasets/{datasetRid}/branches/{branchBranchId}\n */\nexport function getBranch($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _getBranch, ...args);\n}"]}
1
+ {"version":3,"sources":["../../src/public/Branch.ts"],"names":["$foundryPlatformFetch"],"mappings":";;;;AAAA,IAAA,cAAA,GAAA,GAAA;AAAA,QAAA,CAAA,cAAA,EAAA;AAAA,EAAA,YAAA,EAAA,MAAA,YAAA;AAAA,EAAA,YAAA,EAAA,MAAA,YAAA;AAAA,EAAA,SAAA,EAAA,MAAA,SAAA;AAAA,EAAA,YAAA,EAAA,MAAA,YAAA;AAAA,CAAA,CAAA,CAAA;AAmBA,IAAM,aAAgB,GAAA,CAAC,CAAG,EAAA,2BAAA,EAA6B,CAAC,CAAA,CAAA;AAQjD,SAAS,YAAA,CAAa,SAAS,IAAM,EAAA;AAC1C,EAAA,OAAOA,oBAAsB,CAAA,IAAA,EAAM,aAAe,EAAA,GAAG,IAAI,CAAA,CAAA;AAC3D,CAAA;AACA,IAAM,aAAgB,GAAA,CAAC,CAAG,EAAA,+BAAA,EAAiC,CAAC,CAAA,CAAA;AAQrD,SAAS,YAAA,CAAa,SAAS,IAAM,EAAA;AAC1C,EAAA,OAAOA,oBAAsB,CAAA,IAAA,EAAM,aAAe,EAAA,GAAG,IAAI,CAAA,CAAA;AAC3D,CAAA;AACA,IAAM,aAAgB,GAAA,CAAC,CAAG,EAAA,2BAAA,EAA6B,CAAC,CAAA,CAAA;AAQjD,SAAS,YAAA,CAAa,SAAS,IAAM,EAAA;AAC1C,EAAA,OAAOA,oBAAsB,CAAA,IAAA,EAAM,aAAe,EAAA,GAAG,IAAI,CAAA,CAAA;AAC3D,CAAA;AACA,IAAM,UAAa,GAAA,CAAC,CAAG,EAAA,+BAAA,EAAiC,CAAC,CAAA,CAAA;AAQlD,SAAS,SAAA,CAAU,SAAS,IAAM,EAAA;AACvC,EAAA,OAAOA,oBAAsB,CAAA,IAAA,EAAM,UAAY,EAAA,GAAG,IAAI,CAAA,CAAA;AACxD","file":"chunk-4Z465FSF.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 */\n\nimport { foundryPlatformFetch as $foundryPlatformFetch } from \"@osdk/shared.net.platformapi\";\n//\n\nconst _createBranch = [1, \"/v2/datasets/{0}/branches\", 3];\n\n/**\n * Creates a branch on an existing dataset. A branch may optionally point to a (committed) transaction.\n *\n * Required Scopes: [api:datasets-write]\n * URL: /v2/datasets/{datasetRid}/branches\n */\nexport function createBranch($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _createBranch, ...args);\n}\nconst _deleteBranch = [3, \"/v2/datasets/{0}/branches/{1}\", 2];\n\n/**\n * Deletes the Branch with the given BranchId.\n *\n * Required Scopes: [api:datasets-write]\n * URL: /v2/datasets/{datasetRid}/branches/{branchBranchId}\n */\nexport function deleteBranch($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _deleteBranch, ...args);\n}\nconst _listBranches = [0, \"/v2/datasets/{0}/branches\", 2];\n\n/**\n * Lists the Branches of a Dataset.\n *\n * Required Scopes: [api:datasets-read]\n * URL: /v2/datasets/{datasetRid}/branches\n */\nexport function listBranches($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _listBranches, ...args);\n}\nconst _getBranch = [0, \"/v2/datasets/{0}/branches/{1}\", 2];\n\n/**\n * Get a Branch of a Dataset.\n *\n * Required Scopes: [api:datasets-read]\n * URL: /v2/datasets/{datasetRid}/branches/{branchBranchId}\n */\nexport function getBranch($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _getBranch, ...args);\n}"]}
@@ -22,5 +22,5 @@ function readTableDataset($ctx, ...args) {
22
22
  }
23
23
 
24
24
  export { Dataset_exports, createDataset, getDataset, readTableDataset };
25
- //# sourceMappingURL=out.js.map
25
+ //# sourceMappingURL=chunk-5SNWGDKH.js.map
26
26
  //# sourceMappingURL=chunk-5SNWGDKH.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../../src/public/Dataset.ts"],"names":[],"mappings":";;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAgBA,SAAS,wBAAwB,6BAA6B;AAG9D,IAAM,iBAAiB,CAAC,GAAG,gBAAgB,CAAC;AAQrC,SAAS,cAAc,SAAS,MAAM;AAC3C,SAAO,sBAAsB,MAAM,gBAAgB,GAAG,IAAI;AAC5D;AACA,IAAM,cAAc,CAAC,GAAG,oBAAoB,CAAC;AAQtC,SAAS,WAAW,SAAS,MAAM;AACxC,SAAO,sBAAsB,MAAM,aAAa,GAAG,IAAI;AACzD;AACA,IAAM,oBAAoB,CAAC,GAAG,8BAA8B,GAAE,EAAE,0BAA0B;AAUnF,SAAS,iBAAiB,SAAS,MAAM;AAC9C,SAAO,sBAAsB,MAAM,mBAAmB,GAAG,IAAI;AAC/D","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 { foundryPlatformFetch as $foundryPlatformFetch } from \"@osdk/shared.net.platformapi\";\n//\n\nconst _createDataset = [1, \"/v2/datasets\", 3];\n\n/**\n * Creates a new Dataset. A default branch - `master` for most enrollments - will be created on the Dataset.\n *\n * Required Scopes: [api:datasets-write]\n * URL: /v2/datasets\n */\nexport function createDataset($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _createDataset, ...args);\n}\nconst _getDataset = [0, \"/v2/datasets/{0}\", 2];\n\n/**\n * Get the Dataset\n *\n * Required Scopes: [api:datasets-read]\n * URL: /v2/datasets/{datasetRid}\n */\nexport function getDataset($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _getDataset, ...args);\n}\nconst _readTableDataset = [0, \"/v2/datasets/{0}/readTable\", 2,, \"application/octet-stream\"];\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 * Required Scopes: [api:datasets-read]\n * URL: /v2/datasets/{datasetRid}/readTable\n */\nexport function readTableDataset($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _readTableDataset, ...args);\n}"]}
1
+ {"version":3,"sources":["../../src/public/Dataset.ts"],"names":["$foundryPlatformFetch"],"mappings":";;;;AAAA,IAAA,eAAA,GAAA,GAAA;AAAA,QAAA,CAAA,eAAA,EAAA;AAAA,EAAA,aAAA,EAAA,MAAA,aAAA;AAAA,EAAA,UAAA,EAAA,MAAA,UAAA;AAAA,EAAA,gBAAA,EAAA,MAAA,gBAAA;AAAA,CAAA,CAAA,CAAA;AAmBA,IAAM,cAAiB,GAAA,CAAC,CAAG,EAAA,cAAA,EAAgB,CAAC,CAAA,CAAA;AAQrC,SAAS,aAAA,CAAc,SAAS,IAAM,EAAA;AAC3C,EAAA,OAAOA,oBAAsB,CAAA,IAAA,EAAM,cAAgB,EAAA,GAAG,IAAI,CAAA,CAAA;AAC5D,CAAA;AACA,IAAM,WAAc,GAAA,CAAC,CAAG,EAAA,kBAAA,EAAoB,CAAC,CAAA,CAAA;AAQtC,SAAS,UAAA,CAAW,SAAS,IAAM,EAAA;AACxC,EAAA,OAAOA,oBAAsB,CAAA,IAAA,EAAM,WAAa,EAAA,GAAG,IAAI,CAAA,CAAA;AACzD,CAAA;AACA,IAAM,oBAAoB,CAAC,CAAA,EAAG,4BAA8B,EAAA,CAAA,IAAI,0BAA0B,CAAA,CAAA;AAUnF,SAAS,gBAAA,CAAiB,SAAS,IAAM,EAAA;AAC9C,EAAA,OAAOA,oBAAsB,CAAA,IAAA,EAAM,iBAAmB,EAAA,GAAG,IAAI,CAAA,CAAA;AAC/D","file":"chunk-5SNWGDKH.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 */\n\nimport { foundryPlatformFetch as $foundryPlatformFetch } from \"@osdk/shared.net.platformapi\";\n//\n\nconst _createDataset = [1, \"/v2/datasets\", 3];\n\n/**\n * Creates a new Dataset. A default branch - `master` for most enrollments - will be created on the Dataset.\n *\n * Required Scopes: [api:datasets-write]\n * URL: /v2/datasets\n */\nexport function createDataset($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _createDataset, ...args);\n}\nconst _getDataset = [0, \"/v2/datasets/{0}\", 2];\n\n/**\n * Get the Dataset\n *\n * Required Scopes: [api:datasets-read]\n * URL: /v2/datasets/{datasetRid}\n */\nexport function getDataset($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _getDataset, ...args);\n}\nconst _readTableDataset = [0, \"/v2/datasets/{0}/readTable\", 2,, \"application/octet-stream\"];\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 * Required Scopes: [api:datasets-read]\n * URL: /v2/datasets/{datasetRid}/readTable\n */\nexport function readTableDataset($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _readTableDataset, ...args);\n}"]}
@@ -32,5 +32,5 @@ function getFileContent($ctx, ...args) {
32
32
  }
33
33
 
34
34
  export { File_exports, deleteFile, getFile, getFileContent, listFiles, uploadFile };
35
- //# sourceMappingURL=out.js.map
35
+ //# sourceMappingURL=chunk-C6VXNB4U.js.map
36
36
  //# sourceMappingURL=chunk-C6VXNB4U.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../../src/public/File.ts"],"names":[],"mappings":";;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAgBA,SAAS,wBAAwB,6BAA6B;AAG9D,IAAM,cAAc,CAAC,GAAG,8BAA8B,CAAC;AAiBhD,SAAS,WAAW,SAAS,MAAM;AACxC,SAAO,sBAAsB,MAAM,aAAa,GAAG,IAAI;AACzD;AACA,IAAM,aAAa,CAAC,GAAG,0BAA0B,CAAC;AAyB3C,SAAS,UAAU,SAAS,MAAM;AACvC,SAAO,sBAAsB,MAAM,YAAY,GAAG,IAAI;AACxD;AACA,IAAM,WAAW,CAAC,GAAG,8BAA8B,CAAC;AAuB7C,SAAS,QAAQ,SAAS,MAAM;AACrC,SAAO,sBAAsB,MAAM,UAAU,GAAG,IAAI;AACtD;AACA,IAAM,cAAc,CAAC,GAAG,qCAAqC,GAAG,0BAA0B;AAoBnF,SAAS,WAAW,SAAS,MAAM;AACxC,SAAO,sBAAsB,MAAM,aAAa,GAAG,IAAI;AACzD;AACA,IAAM,kBAAkB,CAAC,GAAG,sCAAsC,GAAE,EAAE,0BAA0B;AAwBzF,SAAS,eAAe,SAAS,MAAM;AAC5C,SAAO,sBAAsB,MAAM,iBAAiB,GAAG,IAAI;AAC7D","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 { foundryPlatformFetch as $foundryPlatformFetch } from \"@osdk/shared.net.platformapi\";\n//\n\nconst _deleteFile = [3, \"/v2/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 * #### Advanced Usage\n * See [Datasets Core Concepts](/docs/foundry/data-integration/datasets/) for details on using branches and transactions.\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 * 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 * Required Scopes: [api:datasets-write]\n * URL: /v2/datasets/{datasetRid}/files/{filePath}\n */\nexport function deleteFile($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _deleteFile, ...args);\n}\nconst _listFiles = [0, \"/v2/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 * #### Advanced Usage\n * See [Datasets Core Concepts](/docs/foundry/data-integration/datasets/) for details on using branches and transactions.\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 * 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 * 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 * 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 * Required Scopes: [api:datasets-read]\n * URL: /v2/datasets/{datasetRid}/files\n */\nexport function listFiles($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _listFiles, ...args);\n}\nconst _getFile = [0, \"/v2/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 * #### Advanced Usage\n * See [Datasets Core Concepts](/docs/foundry/data-integration/datasets/) for details on using branches and transactions.\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 * 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 * 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 * 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 * Required Scopes: [api:datasets-read]\n * URL: /v2/datasets/{datasetRid}/files/{filePath}\n */\nexport function getFile($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _getFile, ...args);\n}\nconst _uploadFile = [1, \"/v2/datasets/{0}/files/{1}/upload\", 3, \"application/octet-stream\"];\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 * 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 * #### Advanced Usage\n * See [Datasets Core Concepts](/docs/foundry/data-integration/datasets/) for details on using branches and transactions.\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 * 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 * Required Scopes: [api:datasets-write]\n * URL: /v2/datasets/{datasetRid}/files/{filePath}/upload\n */\nexport function uploadFile($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _uploadFile, ...args);\n}\nconst _getFileContent = [0, \"/v2/datasets/{0}/files/{1}/content\", 2,, \"application/octet-stream\"];\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 * #### Advanced Usage\n * See [Datasets Core Concepts](/docs/foundry/data-integration/datasets/) for details on using branches and transactions.\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 * 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 * 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 * 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 * Required Scopes: [api:datasets-read]\n * URL: /v2/datasets/{datasetRid}/files/{filePath}/content\n */\nexport function getFileContent($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _getFileContent, ...args);\n}"]}
1
+ {"version":3,"sources":["../../src/public/File.ts"],"names":["$foundryPlatformFetch"],"mappings":";;;;AAAA,IAAA,YAAA,GAAA,GAAA;AAAA,QAAA,CAAA,YAAA,EAAA;AAAA,EAAA,UAAA,EAAA,MAAA,UAAA;AAAA,EAAA,OAAA,EAAA,MAAA,OAAA;AAAA,EAAA,cAAA,EAAA,MAAA,cAAA;AAAA,EAAA,SAAA,EAAA,MAAA,SAAA;AAAA,EAAA,UAAA,EAAA,MAAA,UAAA;AAAA,CAAA,CAAA,CAAA;AAmBA,IAAM,WAAc,GAAA,CAAC,CAAG,EAAA,4BAAA,EAA8B,CAAC,CAAA,CAAA;AAiBhD,SAAS,UAAA,CAAW,SAAS,IAAM,EAAA;AACxC,EAAA,OAAOA,oBAAsB,CAAA,IAAA,EAAM,WAAa,EAAA,GAAG,IAAI,CAAA,CAAA;AACzD,CAAA;AACA,IAAM,UAAa,GAAA,CAAC,CAAG,EAAA,wBAAA,EAA0B,CAAC,CAAA,CAAA;AAyB3C,SAAS,SAAA,CAAU,SAAS,IAAM,EAAA;AACvC,EAAA,OAAOA,oBAAsB,CAAA,IAAA,EAAM,UAAY,EAAA,GAAG,IAAI,CAAA,CAAA;AACxD,CAAA;AACA,IAAM,QAAW,GAAA,CAAC,CAAG,EAAA,4BAAA,EAA8B,CAAC,CAAA,CAAA;AAuB7C,SAAS,OAAA,CAAQ,SAAS,IAAM,EAAA;AACrC,EAAA,OAAOA,oBAAsB,CAAA,IAAA,EAAM,QAAU,EAAA,GAAG,IAAI,CAAA,CAAA;AACtD,CAAA;AACA,IAAM,WAAc,GAAA,CAAC,CAAG,EAAA,mCAAA,EAAqC,GAAG,0BAA0B,CAAA,CAAA;AAoBnF,SAAS,UAAA,CAAW,SAAS,IAAM,EAAA;AACxC,EAAA,OAAOA,oBAAsB,CAAA,IAAA,EAAM,WAAa,EAAA,GAAG,IAAI,CAAA,CAAA;AACzD,CAAA;AACA,IAAM,kBAAkB,CAAC,CAAA,EAAG,oCAAsC,EAAA,CAAA,IAAI,0BAA0B,CAAA,CAAA;AAwBzF,SAAS,cAAA,CAAe,SAAS,IAAM,EAAA;AAC5C,EAAA,OAAOA,oBAAsB,CAAA,IAAA,EAAM,eAAiB,EAAA,GAAG,IAAI,CAAA,CAAA;AAC7D","file":"chunk-C6VXNB4U.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 */\n\nimport { foundryPlatformFetch as $foundryPlatformFetch } from \"@osdk/shared.net.platformapi\";\n//\n\nconst _deleteFile = [3, \"/v2/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 * #### Advanced Usage\n * See [Datasets Core Concepts](/docs/foundry/data-integration/datasets/) for details on using branches and transactions.\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 * 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 * Required Scopes: [api:datasets-write]\n * URL: /v2/datasets/{datasetRid}/files/{filePath}\n */\nexport function deleteFile($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _deleteFile, ...args);\n}\nconst _listFiles = [0, \"/v2/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 * #### Advanced Usage\n * See [Datasets Core Concepts](/docs/foundry/data-integration/datasets/) for details on using branches and transactions.\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 * 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 * 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 * 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 * Required Scopes: [api:datasets-read]\n * URL: /v2/datasets/{datasetRid}/files\n */\nexport function listFiles($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _listFiles, ...args);\n}\nconst _getFile = [0, \"/v2/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 * #### Advanced Usage\n * See [Datasets Core Concepts](/docs/foundry/data-integration/datasets/) for details on using branches and transactions.\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 * 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 * 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 * 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 * Required Scopes: [api:datasets-read]\n * URL: /v2/datasets/{datasetRid}/files/{filePath}\n */\nexport function getFile($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _getFile, ...args);\n}\nconst _uploadFile = [1, \"/v2/datasets/{0}/files/{1}/upload\", 3, \"application/octet-stream\"];\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 * 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 * #### Advanced Usage\n * See [Datasets Core Concepts](/docs/foundry/data-integration/datasets/) for details on using branches and transactions.\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 * 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 * Required Scopes: [api:datasets-write]\n * URL: /v2/datasets/{datasetRid}/files/{filePath}/upload\n */\nexport function uploadFile($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _uploadFile, ...args);\n}\nconst _getFileContent = [0, \"/v2/datasets/{0}/files/{1}/content\", 2,, \"application/octet-stream\"];\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 * #### Advanced Usage\n * See [Datasets Core Concepts](/docs/foundry/data-integration/datasets/) for details on using branches and transactions.\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 * 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 * 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 * 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 * Required Scopes: [api:datasets-read]\n * URL: /v2/datasets/{datasetRid}/files/{filePath}/content\n */\nexport function getFileContent($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _getFileContent, ...args);\n}"]}
@@ -27,5 +27,5 @@ function abortTransaction($ctx, ...args) {
27
27
  }
28
28
 
29
29
  export { Transaction_exports, abortTransaction, commitTransaction, createTransaction, getTransaction };
30
- //# sourceMappingURL=out.js.map
30
+ //# sourceMappingURL=chunk-ONCYXSA5.js.map
31
31
  //# sourceMappingURL=chunk-ONCYXSA5.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../../src/public/Transaction.ts"],"names":[],"mappings":";;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAgBA,SAAS,wBAAwB,6BAA6B;AAG9D,IAAM,qBAAqB,CAAC,GAAG,iCAAiC,CAAC;AAQ1D,SAAS,kBAAkB,SAAS,MAAM;AAC/C,SAAO,sBAAsB,MAAM,oBAAoB,GAAG,IAAI;AAChE;AACA,IAAM,kBAAkB,CAAC,GAAG,qCAAqC,CAAC;AAQ3D,SAAS,eAAe,SAAS,MAAM;AAC5C,SAAO,sBAAsB,MAAM,iBAAiB,GAAG,IAAI;AAC7D;AACA,IAAM,qBAAqB,CAAC,GAAG,4CAA4C,CAAC;AASrE,SAAS,kBAAkB,SAAS,MAAM;AAC/C,SAAO,sBAAsB,MAAM,oBAAoB,GAAG,IAAI;AAChE;AACA,IAAM,oBAAoB,CAAC,GAAG,2CAA2C,CAAC;AASnE,SAAS,iBAAiB,SAAS,MAAM;AAC9C,SAAO,sBAAsB,MAAM,mBAAmB,GAAG,IAAI;AAC/D","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 { foundryPlatformFetch as $foundryPlatformFetch } from \"@osdk/shared.net.platformapi\";\n//\n\nconst _createTransaction = [1, \"/v2/datasets/{0}/transactions\", 3];\n\n/**\n * Creates a Transaction on a Branch of a Dataset.\n *\n * Required Scopes: [api:datasets-write]\n * URL: /v2/datasets/{datasetRid}/transactions\n */\nexport function createTransaction($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _createTransaction, ...args);\n}\nconst _getTransaction = [0, \"/v2/datasets/{0}/transactions/{1}\", 2];\n\n/**\n * Gets a Transaction of a Dataset.\n *\n * Required Scopes: [api:datasets-read]\n * URL: /v2/datasets/{datasetRid}/transactions/{transactionRid}\n */\nexport function getTransaction($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _getTransaction, ...args);\n}\nconst _commitTransaction = [1, \"/v2/datasets/{0}/transactions/{1}/commit\", 2];\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 * Required Scopes: [api:datasets-write]\n * URL: /v2/datasets/{datasetRid}/transactions/{transactionRid}/commit\n */\nexport function commitTransaction($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _commitTransaction, ...args);\n}\nconst _abortTransaction = [1, \"/v2/datasets/{0}/transactions/{1}/abort\", 2];\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 * Required Scopes: [api:datasets-write]\n * URL: /v2/datasets/{datasetRid}/transactions/{transactionRid}/abort\n */\nexport function abortTransaction($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _abortTransaction, ...args);\n}"]}
1
+ {"version":3,"sources":["../../src/public/Transaction.ts"],"names":["$foundryPlatformFetch"],"mappings":";;;;AAAA,IAAA,mBAAA,GAAA,GAAA;AAAA,QAAA,CAAA,mBAAA,EAAA;AAAA,EAAA,gBAAA,EAAA,MAAA,gBAAA;AAAA,EAAA,iBAAA,EAAA,MAAA,iBAAA;AAAA,EAAA,iBAAA,EAAA,MAAA,iBAAA;AAAA,EAAA,cAAA,EAAA,MAAA,cAAA;AAAA,CAAA,CAAA,CAAA;AAmBA,IAAM,kBAAqB,GAAA,CAAC,CAAG,EAAA,+BAAA,EAAiC,CAAC,CAAA,CAAA;AAQ1D,SAAS,iBAAA,CAAkB,SAAS,IAAM,EAAA;AAC/C,EAAA,OAAOA,oBAAsB,CAAA,IAAA,EAAM,kBAAoB,EAAA,GAAG,IAAI,CAAA,CAAA;AAChE,CAAA;AACA,IAAM,eAAkB,GAAA,CAAC,CAAG,EAAA,mCAAA,EAAqC,CAAC,CAAA,CAAA;AAQ3D,SAAS,cAAA,CAAe,SAAS,IAAM,EAAA;AAC5C,EAAA,OAAOA,oBAAsB,CAAA,IAAA,EAAM,eAAiB,EAAA,GAAG,IAAI,CAAA,CAAA;AAC7D,CAAA;AACA,IAAM,kBAAqB,GAAA,CAAC,CAAG,EAAA,0CAAA,EAA4C,CAAC,CAAA,CAAA;AASrE,SAAS,iBAAA,CAAkB,SAAS,IAAM,EAAA;AAC/C,EAAA,OAAOA,oBAAsB,CAAA,IAAA,EAAM,kBAAoB,EAAA,GAAG,IAAI,CAAA,CAAA;AAChE,CAAA;AACA,IAAM,iBAAoB,GAAA,CAAC,CAAG,EAAA,yCAAA,EAA2C,CAAC,CAAA,CAAA;AASnE,SAAS,gBAAA,CAAiB,SAAS,IAAM,EAAA;AAC9C,EAAA,OAAOA,oBAAsB,CAAA,IAAA,EAAM,iBAAmB,EAAA,GAAG,IAAI,CAAA,CAAA;AAC/D","file":"chunk-ONCYXSA5.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 */\n\nimport { foundryPlatformFetch as $foundryPlatformFetch } from \"@osdk/shared.net.platformapi\";\n//\n\nconst _createTransaction = [1, \"/v2/datasets/{0}/transactions\", 3];\n\n/**\n * Creates a Transaction on a Branch of a Dataset.\n *\n * Required Scopes: [api:datasets-write]\n * URL: /v2/datasets/{datasetRid}/transactions\n */\nexport function createTransaction($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _createTransaction, ...args);\n}\nconst _getTransaction = [0, \"/v2/datasets/{0}/transactions/{1}\", 2];\n\n/**\n * Gets a Transaction of a Dataset.\n *\n * Required Scopes: [api:datasets-read]\n * URL: /v2/datasets/{datasetRid}/transactions/{transactionRid}\n */\nexport function getTransaction($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _getTransaction, ...args);\n}\nconst _commitTransaction = [1, \"/v2/datasets/{0}/transactions/{1}/commit\", 2];\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 * Required Scopes: [api:datasets-write]\n * URL: /v2/datasets/{datasetRid}/transactions/{transactionRid}/commit\n */\nexport function commitTransaction($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _commitTransaction, ...args);\n}\nconst _abortTransaction = [1, \"/v2/datasets/{0}/transactions/{1}/abort\", 2];\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 * Required Scopes: [api:datasets-write]\n * URL: /v2/datasets/{datasetRid}/transactions/{transactionRid}/abort\n */\nexport function abortTransaction($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _abortTransaction, ...args);\n}"]}
@@ -5,5 +5,5 @@ var __export = (target, all) => {
5
5
  };
6
6
 
7
7
  export { __export };
8
- //# sourceMappingURL=out.js.map
8
+ //# sourceMappingURL=chunk-PZ5AY32C.js.map
9
9
  //# sourceMappingURL=chunk-PZ5AY32C.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":[],"names":[],"mappings":"","sourcesContent":[]}
1
+ {"version":3,"sources":[],"names":[],"mappings":"","file":"chunk-PZ5AY32C.js"}
@@ -3,5 +3,5 @@ export { Dataset_exports as Datasets } from './chunk-5SNWGDKH.js';
3
3
  export { File_exports as Files } from './chunk-C6VXNB4U.js';
4
4
  export { Transaction_exports as Transactions } from './chunk-ONCYXSA5.js';
5
5
  import './chunk-PZ5AY32C.js';
6
- //# sourceMappingURL=out.js.map
6
+ //# sourceMappingURL=index.js.map
7
7
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":[],"names":[],"mappings":""}
1
+ {"version":3,"sources":[],"names":[],"mappings":"","file":"index.js"}
@@ -1,4 +1,4 @@
1
1
  export { createBranch, deleteBranch, getBranch, listBranches } from '../chunk-4Z465FSF.js';
2
2
  import '../chunk-PZ5AY32C.js';
3
- //# sourceMappingURL=out.js.map
3
+ //# sourceMappingURL=Branch.js.map
4
4
  //# sourceMappingURL=Branch.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":[],"names":[],"mappings":""}
1
+ {"version":3,"sources":[],"names":[],"mappings":"","file":"Branch.js"}
@@ -1,4 +1,4 @@
1
1
  export { createDataset, getDataset, readTableDataset } from '../chunk-5SNWGDKH.js';
2
2
  import '../chunk-PZ5AY32C.js';
3
- //# sourceMappingURL=out.js.map
3
+ //# sourceMappingURL=Dataset.js.map
4
4
  //# sourceMappingURL=Dataset.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":[],"names":[],"mappings":""}
1
+ {"version":3,"sources":[],"names":[],"mappings":"","file":"Dataset.js"}
@@ -1,4 +1,4 @@
1
1
  export { deleteFile, getFile, getFileContent, listFiles, uploadFile } from '../chunk-C6VXNB4U.js';
2
2
  import '../chunk-PZ5AY32C.js';
3
- //# sourceMappingURL=out.js.map
3
+ //# sourceMappingURL=File.js.map
4
4
  //# sourceMappingURL=File.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":[],"names":[],"mappings":""}
1
+ {"version":3,"sources":[],"names":[],"mappings":"","file":"File.js"}
@@ -1,4 +1,4 @@
1
1
  export { abortTransaction, commitTransaction, createTransaction, getTransaction } from '../chunk-ONCYXSA5.js';
2
2
  import '../chunk-PZ5AY32C.js';
3
- //# sourceMappingURL=out.js.map
3
+ //# sourceMappingURL=Transaction.js.map
4
4
  //# sourceMappingURL=Transaction.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":[],"names":[],"mappings":""}
1
+ {"version":3,"sources":[],"names":[],"mappings":"","file":"Transaction.js"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@osdk/foundry.datasets",
3
- "version": "2.0.0",
3
+ "version": "3.0.0-beta.0",
4
4
  "license": "Apache-2.0",
5
5
  "repository": {
6
6
  "type": "git",
@@ -17,20 +17,20 @@
17
17
  }
18
18
  },
19
19
  "dependencies": {
20
- "@osdk/foundry.core": "2.0.0",
21
- "@osdk/shared.net.platformapi": "~0.2.0",
22
- "@osdk/shared.client": "~0.0.0"
20
+ "@osdk/foundry.core": "3.0.0-beta.0",
21
+ "@osdk/shared.client": "~0.0.0",
22
+ "@osdk/shared.net.platformapi": "~0.2.0"
23
23
  },
24
24
  "peerDependencies": {
25
- "@osdk/client": "~0.20.0",
25
+ "@osdk/api": "~1.9.0",
26
26
  "@osdk/shared.net": "~1.12.0",
27
- "@osdk/api": "~1.9.0"
27
+ "@osdk/client": "~0.21.0-beta.0"
28
28
  },
29
29
  "devDependencies": {
30
- "typescript": "^5.5.2",
30
+ "typescript": "^5.5.4",
31
31
  "@osdk/monorepo.api-extractor": "~0.0.0",
32
- "@osdk/monorepo.tsconfig": "~0.0.0",
33
- "@osdk/monorepo.tsup": "~0.0.0"
32
+ "@osdk/monorepo.tsup": "~0.0.0",
33
+ "@osdk/monorepo.tsconfig": "~0.0.0"
34
34
  },
35
35
  "publishConfig": {
36
36
  "access": "public"