@osdk/foundry.datasets 2.1.0-beta.4 → 2.1.0-beta.6

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 (74) hide show
  1. package/CHANGELOG.md +27 -0
  2. package/build/browser/_components.d.ts +124 -0
  3. package/build/browser/_components.d.ts.map +1 -0
  4. package/build/browser/_components.js +17 -0
  5. package/build/browser/_components.js.map +1 -0
  6. package/build/browser/_errors.d.ts +437 -0
  7. package/build/browser/_errors.d.ts.map +1 -0
  8. package/build/browser/_errors.js +17 -0
  9. package/build/browser/_errors.js.map +1 -0
  10. package/build/browser/index.d.ts +7 -0
  11. package/build/browser/index.d.ts.map +1 -0
  12. package/build/browser/index.js +19 -6
  13. package/build/browser/index.js.map +1 -1
  14. package/build/browser/public/Branch.d.ts +65 -0
  15. package/build/browser/public/Branch.d.ts.map +1 -0
  16. package/build/browser/public/Branch.js +65 -3
  17. package/build/browser/public/Branch.js.map +1 -1
  18. package/build/browser/public/Dataset.d.ts +54 -0
  19. package/build/browser/public/Dataset.d.ts.map +1 -0
  20. package/build/browser/public/Dataset.js +55 -3
  21. package/build/browser/public/Dataset.js.map +1 -1
  22. package/build/browser/public/File.d.ts +174 -0
  23. package/build/browser/public/File.d.ts.map +1 -0
  24. package/build/browser/public/File.js +156 -3
  25. package/build/browser/public/File.js.map +1 -1
  26. package/build/browser/public/Transaction.d.ts +67 -0
  27. package/build/browser/public/Transaction.d.ts.map +1 -0
  28. package/build/browser/public/Transaction.js +67 -3
  29. package/build/browser/public/Transaction.js.map +1 -1
  30. package/build/esm/_components.d.ts +7 -7
  31. package/build/esm/_components.d.ts.map +1 -1
  32. package/build/esm/_components.js +17 -0
  33. package/build/esm/_components.js.map +1 -0
  34. package/build/esm/_errors.js +17 -0
  35. package/build/esm/_errors.js.map +1 -0
  36. package/build/esm/index.js +19 -6
  37. package/build/esm/index.js.map +1 -1
  38. package/build/esm/public/Branch.d.ts +18 -18
  39. package/build/esm/public/Branch.d.ts.map +1 -1
  40. package/build/esm/public/Branch.js +65 -3
  41. package/build/esm/public/Branch.js.map +1 -1
  42. package/build/esm/public/Dataset.d.ts +14 -14
  43. package/build/esm/public/Dataset.d.ts.map +1 -1
  44. package/build/esm/public/Dataset.js +55 -3
  45. package/build/esm/public/Dataset.js.map +1 -1
  46. package/build/esm/public/File.d.ts +35 -35
  47. package/build/esm/public/File.d.ts.map +1 -1
  48. package/build/esm/public/File.js +156 -3
  49. package/build/esm/public/File.js.map +1 -1
  50. package/build/esm/public/Transaction.d.ts +19 -19
  51. package/build/esm/public/Transaction.d.ts.map +1 -1
  52. package/build/esm/public/Transaction.js +67 -3
  53. package/build/esm/public/Transaction.js.map +1 -1
  54. package/package.json +9 -10
  55. package/build/browser/chunk-4BZZXTWY.js +0 -31
  56. package/build/browser/chunk-4BZZXTWY.js.map +0 -1
  57. package/build/browser/chunk-MIE5PS2U.js +0 -36
  58. package/build/browser/chunk-MIE5PS2U.js.map +0 -1
  59. package/build/browser/chunk-NNUCPXIM.js +0 -31
  60. package/build/browser/chunk-NNUCPXIM.js.map +0 -1
  61. package/build/browser/chunk-NZHTY7IJ.js +0 -26
  62. package/build/browser/chunk-NZHTY7IJ.js.map +0 -1
  63. package/build/browser/chunk-PZ5AY32C.js +0 -9
  64. package/build/browser/chunk-PZ5AY32C.js.map +0 -1
  65. package/build/esm/chunk-4BZZXTWY.js +0 -31
  66. package/build/esm/chunk-4BZZXTWY.js.map +0 -1
  67. package/build/esm/chunk-MIE5PS2U.js +0 -36
  68. package/build/esm/chunk-MIE5PS2U.js.map +0 -1
  69. package/build/esm/chunk-NNUCPXIM.js +0 -31
  70. package/build/esm/chunk-NNUCPXIM.js.map +0 -1
  71. package/build/esm/chunk-NZHTY7IJ.js +0 -26
  72. package/build/esm/chunk-NZHTY7IJ.js.map +0 -1
  73. package/build/esm/chunk-PZ5AY32C.js +0 -9
  74. package/build/esm/chunk-PZ5AY32C.js.map +0 -1
@@ -1,4 +1,66 @@
1
- export { createBranch, deleteBranch, getBranch, listBranches } from '../chunk-NNUCPXIM.js';
2
- import '../chunk-PZ5AY32C.js';
3
- //# sourceMappingURL=Branch.js.map
1
+ /*
2
+ * Copyright 2024 Palantir Technologies, Inc. All rights reserved.
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
15
+ */
16
+ import { foundryPlatformFetch as $foundryPlatformFetch } from "@osdk/shared.net.platformapi";
17
+ //
18
+ const _createBranch = [1, "/v2/datasets/{0}/branches", 3];
19
+ /**
20
+ * Creates a branch on an existing dataset. A branch may optionally point to a (committed) transaction.
21
+ *
22
+ * @beta
23
+ *
24
+ * Required Scopes: [api:datasets-write]
25
+ * URL: /v2/datasets/{datasetRid}/branches
26
+ */
27
+ export function createBranch($ctx, ...args) {
28
+ return $foundryPlatformFetch($ctx, _createBranch, ...args);
29
+ }
30
+ const _deleteBranch = [3, "/v2/datasets/{0}/branches/{1}", 2];
31
+ /**
32
+ * Deletes the Branch with the given BranchName.
33
+ *
34
+ * @beta
35
+ *
36
+ * Required Scopes: [api:datasets-write]
37
+ * URL: /v2/datasets/{datasetRid}/branches/{branchName}
38
+ */
39
+ export function deleteBranch($ctx, ...args) {
40
+ return $foundryPlatformFetch($ctx, _deleteBranch, ...args);
41
+ }
42
+ const _listBranches = [0, "/v2/datasets/{0}/branches", 2];
43
+ /**
44
+ * Lists the Branches of a Dataset.
45
+ *
46
+ * @beta
47
+ *
48
+ * Required Scopes: [api:datasets-read]
49
+ * URL: /v2/datasets/{datasetRid}/branches
50
+ */
51
+ export function listBranches($ctx, ...args) {
52
+ return $foundryPlatformFetch($ctx, _listBranches, ...args);
53
+ }
54
+ const _getBranch = [0, "/v2/datasets/{0}/branches/{1}", 2];
55
+ /**
56
+ * Get a Branch of a Dataset.
57
+ *
58
+ * @beta
59
+ *
60
+ * Required Scopes: [api:datasets-read]
61
+ * URL: /v2/datasets/{datasetRid}/branches/{branchName}
62
+ */
63
+ export function getBranch($ctx, ...args) {
64
+ return $foundryPlatformFetch($ctx, _getBranch, ...args);
65
+ }
4
66
  //# sourceMappingURL=Branch.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":[],"names":[],"mappings":"","file":"Branch.js"}
1
+ {"version":3,"file":"Branch.js","names":["foundryPlatformFetch","$foundryPlatformFetch","_createBranch","createBranch","$ctx","args","_deleteBranch","deleteBranch","_listBranches","listBranches","_getBranch","getBranch"],"sources":["Branch.js"],"sourcesContent":["/*\n * Copyright 2024 Palantir Technologies, Inc. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nimport { foundryPlatformFetch as $foundryPlatformFetch } from \"@osdk/shared.net.platformapi\";\n//\nconst _createBranch = [1, \"/v2/datasets/{0}/branches\", 3];\n/**\n * Creates a branch on an existing dataset. A branch may optionally point to a (committed) transaction.\n *\n * @beta\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 * Deletes the Branch with the given BranchName.\n *\n * @beta\n *\n * Required Scopes: [api:datasets-write]\n * URL: /v2/datasets/{datasetRid}/branches/{branchName}\n */\nexport function deleteBranch($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _deleteBranch, ...args);\n}\nconst _listBranches = [0, \"/v2/datasets/{0}/branches\", 2];\n/**\n * Lists the Branches of a Dataset.\n *\n * @beta\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 * Get a Branch of a Dataset.\n *\n * @beta\n *\n * Required Scopes: [api:datasets-read]\n * URL: /v2/datasets/{datasetRid}/branches/{branchName}\n */\nexport function getBranch($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _getBranch, ...args);\n}\n"],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAASA,oBAAoB,IAAIC,qBAAqB,QAAQ,8BAA8B;AAC5F;AACA,MAAMC,aAAa,GAAG,CAAC,CAAC,EAAE,2BAA2B,EAAE,CAAC,CAAC;AACzD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,SAASC,YAAYA,CAACC,IAAI,EAAE,GAAGC,IAAI,EAAE;EACxC,OAAOJ,qBAAqB,CAACG,IAAI,EAAEF,aAAa,EAAE,GAAGG,IAAI,CAAC;AAC9D;AACA,MAAMC,aAAa,GAAG,CAAC,CAAC,EAAE,+BAA+B,EAAE,CAAC,CAAC;AAC7D;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,SAASC,YAAYA,CAACH,IAAI,EAAE,GAAGC,IAAI,EAAE;EACxC,OAAOJ,qBAAqB,CAACG,IAAI,EAAEE,aAAa,EAAE,GAAGD,IAAI,CAAC;AAC9D;AACA,MAAMG,aAAa,GAAG,CAAC,CAAC,EAAE,2BAA2B,EAAE,CAAC,CAAC;AACzD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,SAASC,YAAYA,CAACL,IAAI,EAAE,GAAGC,IAAI,EAAE;EACxC,OAAOJ,qBAAqB,CAACG,IAAI,EAAEI,aAAa,EAAE,GAAGH,IAAI,CAAC;AAC9D;AACA,MAAMK,UAAU,GAAG,CAAC,CAAC,EAAE,+BAA+B,EAAE,CAAC,CAAC;AAC1D;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,SAASC,SAASA,CAACP,IAAI,EAAE,GAAGC,IAAI,EAAE;EACrC,OAAOJ,qBAAqB,CAACG,IAAI,EAAEM,UAAU,EAAE,GAAGL,IAAI,CAAC;AAC3D","ignoreList":[]}
@@ -1,6 +1,6 @@
1
- import type { PreviewMode } from "@osdk/foundry.core";
1
+ import type * as _Core from "@osdk/foundry.core";
2
2
  import type { SharedClient as $Client, SharedClientContext as $ClientContext } from "@osdk/shared.client";
3
- import type { BranchName, CreateDatasetRequest, Dataset, DatasetRid, TableExportFormat, TransactionRid } from "../_components.js";
3
+ import type * as _Datasets from "../_components.js";
4
4
  /**
5
5
  * Creates a new Dataset. A default branch - `master` for most enrollments - will be created on the Dataset.
6
6
  *
@@ -10,11 +10,11 @@ import type { BranchName, CreateDatasetRequest, Dataset, DatasetRid, TableExport
10
10
  * URL: /v2/datasets
11
11
  */
12
12
  export declare function createDataset($ctx: $Client | $ClientContext, ...args: [
13
- $body: CreateDatasetRequest,
13
+ $body: _Datasets.CreateDatasetRequest,
14
14
  $queryParams?: {
15
- preview?: PreviewMode | undefined;
15
+ preview?: _Core.PreviewMode | undefined;
16
16
  }
17
- ]): Promise<Dataset>;
17
+ ]): Promise<_Datasets.Dataset>;
18
18
  /**
19
19
  * Get the Dataset with the specified rid.
20
20
  *
@@ -24,11 +24,11 @@ export declare function createDataset($ctx: $Client | $ClientContext, ...args: [
24
24
  * URL: /v2/datasets/{datasetRid}
25
25
  */
26
26
  export declare function getDataset($ctx: $Client | $ClientContext, ...args: [
27
- datasetRid: DatasetRid,
27
+ datasetRid: _Datasets.DatasetRid,
28
28
  $queryParams?: {
29
- preview?: PreviewMode | undefined;
29
+ preview?: _Core.PreviewMode | undefined;
30
30
  }
31
- ]): Promise<Dataset>;
31
+ ]): Promise<_Datasets.Dataset>;
32
32
  /**
33
33
  * Gets the content of a dataset as a table in the specified format.
34
34
  *
@@ -40,15 +40,15 @@ export declare function getDataset($ctx: $Client | $ClientContext, ...args: [
40
40
  * URL: /v2/datasets/{datasetRid}/readTable
41
41
  */
42
42
  export declare function readTableDataset($ctx: $Client | $ClientContext, ...args: [
43
- datasetRid: DatasetRid,
43
+ datasetRid: _Datasets.DatasetRid,
44
44
  $queryParams: {
45
- branchName?: BranchName | undefined;
46
- startTransactionRid?: TransactionRid | undefined;
47
- endTransactionRid?: TransactionRid | undefined;
48
- format: TableExportFormat;
45
+ branchName?: _Datasets.BranchName | undefined;
46
+ startTransactionRid?: _Datasets.TransactionRid | undefined;
47
+ endTransactionRid?: _Datasets.TransactionRid | undefined;
48
+ format: _Datasets.TableExportFormat;
49
49
  columns: Array<string>;
50
50
  rowLimit?: number | undefined;
51
- preview?: PreviewMode | undefined;
51
+ preview?: _Core.PreviewMode | undefined;
52
52
  }
53
53
  ]): Promise<Blob>;
54
54
  //# sourceMappingURL=Dataset.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Dataset.d.ts","sourceRoot":"","sources":["../../../src/public/Dataset.ts"],"names":[],"mappings":"AAgBA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAC;AACtD,OAAO,KAAK,EACV,YAAY,IAAI,OAAO,EACvB,mBAAmB,IAAI,cAAc,EACtC,MAAM,qBAAqB,CAAC;AAG7B,OAAO,KAAK,EACV,UAAU,EACV,oBAAoB,EACpB,OAAO,EACP,UAAU,EACV,iBAAiB,EACjB,cAAc,EACf,MAAM,mBAAmB,CAAC;AAW3B;;;;;;;GAOG;AACH,wBAAgB,aAAa,CAC3B,IAAI,EAAE,OAAO,GAAG,cA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PZ5AY32C.js';
3
- //# sourceMappingURL=Dataset.js.map
1
+ /*
2
+ * Copyright 2024 Palantir Technologies, Inc. All rights reserved.
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
15
+ */
16
+ import { foundryPlatformFetch as $foundryPlatformFetch } from "@osdk/shared.net.platformapi";
17
+ //
18
+ const _createDataset = [1, "/v2/datasets", 3];
19
+ /**
20
+ * Creates a new Dataset. A default branch - `master` for most enrollments - will be created on the Dataset.
21
+ *
22
+ * @beta
23
+ *
24
+ * Required Scopes: [api:datasets-write]
25
+ * URL: /v2/datasets
26
+ */
27
+ export function createDataset($ctx, ...args) {
28
+ return $foundryPlatformFetch($ctx, _createDataset, ...args);
29
+ }
30
+ const _getDataset = [0, "/v2/datasets/{0}", 2];
31
+ /**
32
+ * Get the Dataset with the specified rid.
33
+ *
34
+ * @beta
35
+ *
36
+ * Required Scopes: [api:datasets-read]
37
+ * URL: /v2/datasets/{datasetRid}
38
+ */
39
+ export function getDataset($ctx, ...args) {
40
+ return $foundryPlatformFetch($ctx, _getDataset, ...args);
41
+ }
42
+ const _readTableDataset = [0, "/v2/datasets/{0}/readTable", 2,, "application/octet-stream"];
43
+ /**
44
+ * Gets the content of a dataset as a table in the specified format.
45
+ *
46
+ * This endpoint currently does not support views (Virtual datasets composed of other datasets).
47
+ *
48
+ * @beta
49
+ *
50
+ * Required Scopes: [api:datasets-read]
51
+ * URL: /v2/datasets/{datasetRid}/readTable
52
+ */
53
+ export function readTableDataset($ctx, ...args) {
54
+ return $foundryPlatformFetch($ctx, _readTableDataset, ...args);
55
+ }
4
56
  //# sourceMappingURL=Dataset.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":[],"names":[],"mappings":"","file":"Dataset.js"}
1
+ {"version":3,"file":"Dataset.js","names":["foundryPlatformFetch","$foundryPlatformFetch","_createDataset","createDataset","$ctx","args","_getDataset","getDataset","_readTableDataset","readTableDataset"],"sources":["Dataset.js"],"sourcesContent":["/*\n * Copyright 2024 Palantir Technologies, Inc. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nimport { foundryPlatformFetch as $foundryPlatformFetch } from \"@osdk/shared.net.platformapi\";\n//\nconst _createDataset = [1, \"/v2/datasets\", 3];\n/**\n * Creates a new Dataset. A default branch - `master` for most enrollments - will be created on the Dataset.\n *\n * @beta\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 * Get the Dataset with the specified rid.\n *\n * @beta\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 * 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 * @beta\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}\n"],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAASA,oBAAoB,IAAIC,qBAAqB,QAAQ,8BAA8B;AAC5F;AACA,MAAMC,cAAc,GAAG,CAAC,CAAC,EAAE,cAAc,EAAE,CAAC,CAAC;AAC7C;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,SAASC,aAAaA,CAACC,IAAI,EAAE,GAAGC,IAAI,EAAE;EACzC,OAAOJ,qBAAqB,CAACG,IAAI,EAAEF,cAAc,EAAE,GAAGG,IAAI,CAAC;AAC/D;AACA,MAAMC,WAAW,GAAG,CAAC,CAAC,EAAE,kBAAkB,EAAE,CAAC,CAAC;AAC9C;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,SAASC,UAAUA,CAACH,IAAI,EAAE,GAAGC,IAAI,EAAE;EACtC,OAAOJ,qBAAqB,CAACG,IAAI,EAAEE,WAAW,EAAE,GAAGD,IAAI,CAAC;AAC5D;AACA,MAAMG,iBAAiB,GAAG,CAAC,CAAC,EAAE,4BAA4B,EAAE,CAAC,GAAI,0BAA0B,CAAC;AAC5F;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,SAASC,gBAAgBA,CAACL,IAAI,EAAE,GAAGC,IAAI,EAAE;EAC5C,OAAOJ,qBAAqB,CAACG,IAAI,EAAEI,iBAAiB,EAAE,GAAGH,IAAI,CAAC;AAClE","ignoreList":[]}
@@ -1,6 +1,6 @@
1
- import type { FilePath, PageSize, PageToken, PreviewMode } from "@osdk/foundry.core";
1
+ import type * as _Core from "@osdk/foundry.core";
2
2
  import type { SharedClient as $Client, SharedClientContext as $ClientContext } from "@osdk/shared.client";
3
- import type { BranchName, DatasetRid, File, ListFilesResponse, TransactionRid, TransactionType } from "../_components.js";
3
+ import type * as _Datasets from "../_components.js";
4
4
  /**
5
5
  * Deletes a File from a Dataset. By default the file is deleted in a new transaction on the default
6
6
  * branch - `master` for most enrollments. The file will still be visible on historical views.
@@ -21,12 +21,12 @@ import type { BranchName, DatasetRid, File, ListFilesResponse, TransactionRid, T
21
21
  * URL: /v2/datasets/{datasetRid}/files/{filePath}
22
22
  */
23
23
  export declare function deleteFile($ctx: $Client | $ClientContext, ...args: [
24
- datasetRid: DatasetRid,
25
- filePath: FilePath,
24
+ datasetRid: _Datasets.DatasetRid,
25
+ filePath: _Core.FilePath,
26
26
  $queryParams?: {
27
- branchName?: BranchName | undefined;
28
- transactionRid?: TransactionRid | undefined;
29
- preview?: PreviewMode | undefined;
27
+ branchName?: _Datasets.BranchName | undefined;
28
+ transactionRid?: _Datasets.TransactionRid | undefined;
29
+ preview?: _Core.PreviewMode | undefined;
30
30
  }
31
31
  ]): Promise<void>;
32
32
  /**
@@ -57,16 +57,16 @@ export declare function deleteFile($ctx: $Client | $ClientContext, ...args: [
57
57
  * URL: /v2/datasets/{datasetRid}/files
58
58
  */
59
59
  export declare function listFiles($ctx: $Client | $ClientContext, ...args: [
60
- datasetRid: DatasetRid,
60
+ datasetRid: _Datasets.DatasetRid,
61
61
  $queryParams?: {
62
- branchName?: BranchName | undefined;
63
- startTransactionRid?: TransactionRid | undefined;
64
- endTransactionRid?: TransactionRid | undefined;
65
- pageSize?: PageSize | undefined;
66
- pageToken?: PageToken | undefined;
67
- preview?: PreviewMode | undefined;
62
+ branchName?: _Datasets.BranchName | undefined;
63
+ startTransactionRid?: _Datasets.TransactionRid | undefined;
64
+ endTransactionRid?: _Datasets.TransactionRid | undefined;
65
+ pageSize?: _Core.PageSize | undefined;
66
+ pageToken?: _Core.PageToken | undefined;
67
+ preview?: _Core.PreviewMode | undefined;
68
68
  }
69
- ]): Promise<ListFilesResponse>;
69
+ ]): Promise<_Datasets.ListFilesResponse>;
70
70
  /**
71
71
  * Gets metadata about a File contained in a Dataset. By default this retrieves the file's metadata from the latest
72
72
  * view of the default branch - `master` for most enrollments.
@@ -93,15 +93,15 @@ export declare function listFiles($ctx: $Client | $ClientContext, ...args: [
93
93
  * URL: /v2/datasets/{datasetRid}/files/{filePath}
94
94
  */
95
95
  export declare function getFile($ctx: $Client | $ClientContext, ...args: [
96
- datasetRid: DatasetRid,
97
- filePath: FilePath,
96
+ datasetRid: _Datasets.DatasetRid,
97
+ filePath: _Core.FilePath,
98
98
  $queryParams?: {
99
- branchName?: BranchName | undefined;
100
- startTransactionRid?: TransactionRid | undefined;
101
- endTransactionRid?: TransactionRid | undefined;
102
- preview?: PreviewMode | undefined;
99
+ branchName?: _Datasets.BranchName | undefined;
100
+ startTransactionRid?: _Datasets.TransactionRid | undefined;
101
+ endTransactionRid?: _Datasets.TransactionRid | undefined;
102
+ preview?: _Core.PreviewMode | undefined;
103
103
  }
104
- ]): Promise<File>;
104
+ ]): Promise<_Datasets.File>;
105
105
  /**
106
106
  * Uploads a File to an existing Dataset.
107
107
  * The body of the request must contain the binary content of the file and the `Content-Type` header must be `application/octet-stream`.
@@ -125,16 +125,16 @@ export declare function getFile($ctx: $Client | $ClientContext, ...args: [
125
125
  * URL: /v2/datasets/{datasetRid}/files/{filePath}/upload
126
126
  */
127
127
  export declare function uploadFile($ctx: $Client | $ClientContext, ...args: [
128
- datasetRid: DatasetRid,
129
- filePath: FilePath,
128
+ datasetRid: _Datasets.DatasetRid,
129
+ filePath: _Core.FilePath,
130
130
  $body: Blob,
131
131
  $queryParams?: {
132
- branchName?: BranchName | undefined;
133
- transactionType?: TransactionType | undefined;
134
- transactionRid?: TransactionRid | undefined;
135
- preview?: PreviewMode | undefined;
132
+ branchName?: _Datasets.BranchName | undefined;
133
+ transactionType?: _Datasets.TransactionType | undefined;
134
+ transactionRid?: _Datasets.TransactionRid | undefined;
135
+ preview?: _Core.PreviewMode | undefined;
136
136
  }
137
- ]): Promise<File>;
137
+ ]): Promise<_Datasets.File>;
138
138
  /**
139
139
  * Gets the content of a File contained in a Dataset. By default this retrieves the file's content from the latest
140
140
  * view of the default branch - `master` for most enrollments.
@@ -162,13 +162,13 @@ export declare function uploadFile($ctx: $Client | $ClientContext, ...args: [
162
162
  * URL: /v2/datasets/{datasetRid}/files/{filePath}/content
163
163
  */
164
164
  export declare function getFileContent($ctx: $Client | $ClientContext, ...args: [
165
- datasetRid: DatasetRid,
166
- filePath: FilePath,
165
+ datasetRid: _Datasets.DatasetRid,
166
+ filePath: _Core.FilePath,
167
167
  $queryParams?: {
168
- branchName?: BranchName | undefined;
169
- startTransactionRid?: TransactionRid | undefined;
170
- endTransactionRid?: TransactionRid | undefined;
171
- preview?: PreviewMode | undefined;
168
+ branchName?: _Datasets.BranchName | undefined;
169
+ startTransactionRid?: _Datasets.TransactionRid | undefined;
170
+ endTransactionRid?: _Datasets.TransactionRid | undefined;
171
+ preview?: _Core.PreviewMode | undefined;
172
172
  }
173
173
  ]): Promise<Blob>;
174
174
  //# sourceMappingURL=File.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"File.d.ts","sourceRoot":"","sources":["../../../src/public/File.ts"],"names":[],"mappings":"AAgBA,OAAO,KAAK,EACV,QAAQ,EACR,QAAQ,EACR,SAAS,EACT,WAAW,EACZ,MAAM,oBAAoB,CAAC;AAC5B,OAAO,KAAK,EACV,YAAY,IAAI,OAAO,EACvB,mBAAmB,IAAI,cAAc,EACtC,MAAM,qBAAqB,CAAC;AAG7B,OAAO,KAAK,EACV,UAAU,EACV,UAAU,EACV,IAAI,EACJ,iBAAiB,EACjB,cAAc,EACd,eAAe,EAChB,MAAM,mBAAmB,CAAC;AAgB3B;;;;;;;;;;;;;;;;;;GAkBG;AACH,wBAAgB,UAAU,CACxB,IAAI,EAAE,OAAO,GAAG,cAAc,EAC9B,GAAG,IAAI,EAAE;IACP,UAAU,EAAE,UAAU;IACtB,QAAQ,EAAE,QAAQ;IAElB,YAAY,CAAC,EAAE;QACb,UAAU,CAAC,EAAE,UAAU,GAAG,SAAS,CAAC;QACpC,cAAc,CAAC,EAAE,cAAc,GAAG,SAAS,CAAC;QAC5C,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- import '../chunk-PZ5AY32C.js';
3
- //# sourceMappingURL=File.js.map
1
+ /*
2
+ * Copyright 2024 Palantir Technologies, Inc. All rights reserved.
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
15
+ */
16
+ import { foundryPlatformFetch as $foundryPlatformFetch } from "@osdk/shared.net.platformapi";
17
+ //
18
+ const _deleteFile = [3, "/v2/datasets/{0}/files/{1}", 2];
19
+ /**
20
+ * Deletes a File from a Dataset. By default the file is deleted in a new transaction on the default
21
+ * branch - `master` for most enrollments. The file will still be visible on historical views.
22
+ *
23
+ * #### Advanced Usage
24
+ *
25
+ * See [Datasets Core Concepts](https://www.palantir.com/docs/foundry/data-integration/datasets/) for details on using branches and transactions.
26
+ * To **delete a File from a specific Branch** specify the Branch's name as `branchName`. A new delete Transaction
27
+ * will be created and committed on this branch.
28
+ * To **delete a File using a manually opened Transaction**, specify the Transaction's resource identifier
29
+ * as `transactionRid`. The transaction must be of type `DELETE`. This is useful for deleting multiple files in a
30
+ * single transaction. See [createTransaction](https://www.palantir.com/docs/foundry/api/datasets-resources/transactions/create-transaction/) to
31
+ * open a transaction.
32
+ *
33
+ * @beta
34
+ *
35
+ * Required Scopes: [api:datasets-write]
36
+ * URL: /v2/datasets/{datasetRid}/files/{filePath}
37
+ */
38
+ export function deleteFile($ctx, ...args) {
39
+ return $foundryPlatformFetch($ctx, _deleteFile, ...args);
40
+ }
41
+ const _listFiles = [0, "/v2/datasets/{0}/files", 2];
42
+ /**
43
+ * Lists Files contained in a Dataset. By default files are listed on the latest view of the default
44
+ * branch - `master` for most enrollments.
45
+ *
46
+ * #### Advanced Usage
47
+ *
48
+ * See [Datasets Core Concepts](https://www.palantir.com/docs/foundry/data-integration/datasets/) for details on using branches and transactions.
49
+ * To **list files on a specific Branch** specify the Branch's name as `branchName`. This will include the most
50
+ * recent version of all files since the latest snapshot transaction, or the earliest ancestor transaction of the
51
+ * branch if there are no snapshot transactions.
52
+ * To **list files on the resolved view of a transaction** specify the Transaction's resource identifier
53
+ * as `endTransactionRid`. This will include the most recent version of all files since the latest snapshot
54
+ * transaction, or the earliest ancestor transaction if there are no snapshot transactions.
55
+ * To **list files on the resolved view of a range of transactions** specify the the start transaction's resource
56
+ * identifier as `startTransactionRid` and the end transaction's resource identifier as `endTransactionRid`. This
57
+ * will include the most recent version of all files since the `startTransactionRid` up to the `endTransactionRid`.
58
+ * Note that an intermediate snapshot transaction will remove all files from the view. Behavior is undefined when
59
+ * the start and end transactions do not belong to the same root-to-leaf path.
60
+ * To **list files on a specific transaction** specify the Transaction's resource identifier as both the
61
+ * `startTransactionRid` and `endTransactionRid`. This will include only files that were modified as part of that
62
+ * Transaction.
63
+ *
64
+ * @beta
65
+ *
66
+ * Required Scopes: [api:datasets-read]
67
+ * URL: /v2/datasets/{datasetRid}/files
68
+ */
69
+ export function listFiles($ctx, ...args) {
70
+ return $foundryPlatformFetch($ctx, _listFiles, ...args);
71
+ }
72
+ const _getFile = [0, "/v2/datasets/{0}/files/{1}", 2];
73
+ /**
74
+ * Gets metadata about a File contained in a Dataset. By default this retrieves the file's metadata from the latest
75
+ * view of the default branch - `master` for most enrollments.
76
+ *
77
+ * #### Advanced Usage
78
+ *
79
+ * See [Datasets Core Concepts](https://www.palantir.com/docs/foundry/data-integration/datasets/) for details on using branches and transactions.
80
+ * To **get a file's metadata from a specific Branch** specify the Branch's name as `branchName`. This will
81
+ * retrieve metadata for the most recent version of the file since the latest snapshot transaction, or the earliest
82
+ * ancestor transaction of the branch if there are no snapshot transactions.
83
+ * To **get a file's metadata from the resolved view of a transaction** specify the Transaction's resource identifier
84
+ * as `endTransactionRid`. This will retrieve metadata for the most recent version of the file since the latest snapshot
85
+ * transaction, or the earliest ancestor transaction if there are no snapshot transactions.
86
+ * To **get a file's metadata from the resolved view of a range of transactions** specify the the start transaction's
87
+ * resource identifier as `startTransactionRid` and the end transaction's resource identifier as `endTransactionRid`.
88
+ * This will retrieve metadata for the most recent version of the file since the `startTransactionRid` up to the
89
+ * `endTransactionRid`. Behavior is undefined when the start and end transactions do not belong to the same root-to-leaf path.
90
+ * To **get a file's metadata from a specific transaction** specify the Transaction's resource identifier as both the
91
+ * `startTransactionRid` and `endTransactionRid`.
92
+ *
93
+ * @beta
94
+ *
95
+ * Required Scopes: [api:datasets-read]
96
+ * URL: /v2/datasets/{datasetRid}/files/{filePath}
97
+ */
98
+ export function getFile($ctx, ...args) {
99
+ return $foundryPlatformFetch($ctx, _getFile, ...args);
100
+ }
101
+ const _uploadFile = [1, "/v2/datasets/{0}/files/{1}/upload", 3, "application/octet-stream"];
102
+ /**
103
+ * Uploads a File to an existing Dataset.
104
+ * The body of the request must contain the binary content of the file and the `Content-Type` header must be `application/octet-stream`.
105
+ * By default the file is uploaded to a new transaction on the default branch - `master` for most enrollments.
106
+ * If the file already exists only the most recent version will be visible in the updated view.
107
+ *
108
+ * #### Advanced Usage
109
+ *
110
+ * See [Datasets Core Concepts](https://www.palantir.com/docs/foundry/data-integration/datasets/) for details on using branches and transactions.
111
+ * To **upload a file to a specific Branch** specify the Branch's name as `branchName`. A new transaction will
112
+ * be created and committed on this branch. By default the TransactionType will be `UPDATE`, to override this
113
+ * default specify `transactionType` in addition to `branchName`.
114
+ * See [createBranch](https://www.palantir.com/docs/foundry/api/datasets-resources/branches/create-branch/) to create a custom branch.
115
+ * To **upload a file on a manually opened transaction** specify the Transaction's resource identifier as
116
+ * `transactionRid`. This is useful for uploading multiple files in a single transaction.
117
+ * See [createTransaction](https://www.palantir.com/docs/foundry/api/datasets-resources/transactions/create-transaction/) to open a transaction.
118
+ *
119
+ * @beta
120
+ *
121
+ * Required Scopes: [api:datasets-write]
122
+ * URL: /v2/datasets/{datasetRid}/files/{filePath}/upload
123
+ */
124
+ export function uploadFile($ctx, ...args) {
125
+ return $foundryPlatformFetch($ctx, _uploadFile, ...args);
126
+ }
127
+ const _getFileContent = [0, "/v2/datasets/{0}/files/{1}/content", 2,, "application/octet-stream"];
128
+ /**
129
+ * Gets the content of a File contained in a Dataset. By default this retrieves the file's content from the latest
130
+ * view of the default branch - `master` for most enrollments.
131
+ *
132
+ * #### Advanced Usage
133
+ *
134
+ * See [Datasets Core Concepts](https://www.palantir.com/docs/foundry/data-integration/datasets/) for details on using branches and transactions.
135
+ * To **get a file's content from a specific Branch** specify the Branch's name as `branchName`. This will
136
+ * retrieve the content for the most recent version of the file since the latest snapshot transaction, or the
137
+ * earliest ancestor transaction of the branch if there are no snapshot transactions.
138
+ * To **get a file's content from the resolved view of a transaction** specify the Transaction's resource identifier
139
+ * as `endTransactionRid`. This will retrieve the content for the most recent version of the file since the latest
140
+ * snapshot transaction, or the earliest ancestor transaction if there are no snapshot transactions.
141
+ * To **get a file's content from the resolved view of a range of transactions** specify the the start transaction's
142
+ * resource identifier as `startTransactionRid` and the end transaction's resource identifier as `endTransactionRid`.
143
+ * This will retrieve the content for the most recent version of the file since the `startTransactionRid` up to the
144
+ * `endTransactionRid`. Note that an intermediate snapshot transaction will remove all files from the view. Behavior
145
+ * is undefined when the start and end transactions do not belong to the same root-to-leaf path.
146
+ * To **get a file's content from a specific transaction** specify the Transaction's resource identifier as both the
147
+ * `startTransactionRid` and `endTransactionRid`.
148
+ *
149
+ * @beta
150
+ *
151
+ * Required Scopes: [api:datasets-read]
152
+ * URL: /v2/datasets/{datasetRid}/files/{filePath}/content
153
+ */
154
+ export function getFileContent($ctx, ...args) {
155
+ return $foundryPlatformFetch($ctx, _getFileContent, ...args);
156
+ }
4
157
  //# sourceMappingURL=File.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":[],"names":[],"mappings":"","file":"File.js"}
1
+ {"version":3,"file":"File.js","names":["foundryPlatformFetch","$foundryPlatformFetch","_deleteFile","deleteFile","$ctx","args","_listFiles","listFiles","_getFile","getFile","_uploadFile","uploadFile","_getFileContent","getFileContent"],"sources":["File.js"],"sourcesContent":["/*\n * Copyright 2024 Palantir Technologies, Inc. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nimport { foundryPlatformFetch as $foundryPlatformFetch } from \"@osdk/shared.net.platformapi\";\n//\nconst _deleteFile = [3, \"/v2/datasets/{0}/files/{1}\", 2];\n/**\n * Deletes a File from a Dataset. By default the file is deleted in a new transaction on the default\n * branch - `master` for most enrollments. The file will still be visible on historical views.\n *\n * #### Advanced Usage\n *\n * See [Datasets Core Concepts](https://www.palantir.com/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 name as `branchName`. 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](https://www.palantir.com/docs/foundry/api/datasets-resources/transactions/create-transaction/) to\n * open a transaction.\n *\n * @beta\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 * Lists Files contained in a Dataset. By default files are listed on the latest view of the default\n * branch - `master` for most enrollments.\n *\n * #### Advanced Usage\n *\n * See [Datasets Core Concepts](https://www.palantir.com/docs/foundry/data-integration/datasets/) for details on using branches and transactions.\n * To **list files on a specific Branch** specify the Branch's name as `branchName`. 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 * @beta\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 * Gets metadata about a File contained in a Dataset. By default this retrieves the file's metadata from the latest\n * view of the default branch - `master` for most enrollments.\n *\n * #### Advanced Usage\n *\n * See [Datasets Core Concepts](https://www.palantir.com/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 name as `branchName`. 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 * @beta\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 * 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 *\n * #### Advanced Usage\n *\n * See [Datasets Core Concepts](https://www.palantir.com/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 name as `branchName`. 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 `branchName`.\n * See [createBranch](https://www.palantir.com/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](https://www.palantir.com/docs/foundry/api/datasets-resources/transactions/create-transaction/) to open a transaction.\n *\n * @beta\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 * Gets the content of a File contained in a Dataset. By default this retrieves the file's content from the latest\n * view of the default branch - `master` for most enrollments.\n *\n * #### Advanced Usage\n *\n * See [Datasets Core Concepts](https://www.palantir.com/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 name as `branchName`. 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 * @beta\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}\n"],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAASA,oBAAoB,IAAIC,qBAAqB,QAAQ,8BAA8B;AAC5F;AACA,MAAMC,WAAW,GAAG,CAAC,CAAC,EAAE,4BAA4B,EAAE,CAAC,CAAC;AACxD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,SAASC,UAAUA,CAACC,IAAI,EAAE,GAAGC,IAAI,EAAE;EACtC,OAAOJ,qBAAqB,CAACG,IAAI,EAAEF,WAAW,EAAE,GAAGG,IAAI,CAAC;AAC5D;AACA,MAAMC,UAAU,GAAG,CAAC,CAAC,EAAE,wBAAwB,EAAE,CAAC,CAAC;AACnD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,SAASC,SAASA,CAACH,IAAI,EAAE,GAAGC,IAAI,EAAE;EACrC,OAAOJ,qBAAqB,CAACG,IAAI,EAAEE,UAAU,EAAE,GAAGD,IAAI,CAAC;AAC3D;AACA,MAAMG,QAAQ,GAAG,CAAC,CAAC,EAAE,4BAA4B,EAAE,CAAC,CAAC;AACrD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,SAASC,OAAOA,CAACL,IAAI,EAAE,GAAGC,IAAI,EAAE;EACnC,OAAOJ,qBAAqB,CAACG,IAAI,EAAEI,QAAQ,EAAE,GAAGH,IAAI,CAAC;AACzD;AACA,MAAMK,WAAW,GAAG,CAAC,CAAC,EAAE,mCAAmC,EAAE,CAAC,EAAE,0BAA0B,CAAC;AAC3F;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,SAASC,UAAUA,CAACP,IAAI,EAAE,GAAGC,IAAI,EAAE;EACtC,OAAOJ,qBAAqB,CAACG,IAAI,EAAEM,WAAW,EAAE,GAAGL,IAAI,CAAC;AAC5D;AACA,MAAMO,eAAe,GAAG,CAAC,CAAC,EAAE,oCAAoC,EAAE,CAAC,GAAI,0BAA0B,CAAC;AAClG;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,SAASC,cAAcA,CAACT,IAAI,EAAE,GAAGC,IAAI,EAAE;EAC1C,OAAOJ,qBAAqB,CAACG,IAAI,EAAEQ,eAAe,EAAE,GAAGP,IAAI,CAAC;AAChE","ignoreList":[]}
@@ -1,6 +1,6 @@
1
- import type { PreviewMode } from "@osdk/foundry.core";
1
+ import type * as _Core from "@osdk/foundry.core";
2
2
  import type { SharedClient as $Client, SharedClientContext as $ClientContext } from "@osdk/shared.client";
3
- import type { BranchName, CreateTransactionRequest, DatasetRid, Transaction, TransactionRid } from "../_components.js";
3
+ import type * as _Datasets from "../_components.js";
4
4
  /**
5
5
  * Creates a Transaction on a Branch of a Dataset.
6
6
  *
@@ -10,13 +10,13 @@ import type { BranchName, CreateTransactionRequest, DatasetRid, Transaction, Tra
10
10
  * URL: /v2/datasets/{datasetRid}/transactions
11
11
  */
12
12
  export declare function createTransaction($ctx: $Client | $ClientContext, ...args: [
13
- datasetRid: DatasetRid,
14
- $body: CreateTransactionRequest,
13
+ datasetRid: _Datasets.DatasetRid,
14
+ $body: _Datasets.CreateTransactionRequest,
15
15
  $queryParams?: {
16
- branchName?: BranchName | undefined;
17
- preview?: PreviewMode | undefined;
16
+ branchName?: _Datasets.BranchName | undefined;
17
+ preview?: _Core.PreviewMode | undefined;
18
18
  }
19
- ]): Promise<Transaction>;
19
+ ]): Promise<_Datasets.Transaction>;
20
20
  /**
21
21
  * Gets a Transaction of a Dataset.
22
22
  *
@@ -26,12 +26,12 @@ export declare function createTransaction($ctx: $Client | $ClientContext, ...arg
26
26
  * URL: /v2/datasets/{datasetRid}/transactions/{transactionRid}
27
27
  */
28
28
  export declare function getTransaction($ctx: $Client | $ClientContext, ...args: [
29
- datasetRid: DatasetRid,
30
- transactionRid: TransactionRid,
29
+ datasetRid: _Datasets.DatasetRid,
30
+ transactionRid: _Datasets.TransactionRid,
31
31
  $queryParams?: {
32
- preview?: PreviewMode | undefined;
32
+ preview?: _Core.PreviewMode | undefined;
33
33
  }
34
- ]): Promise<Transaction>;
34
+ ]): Promise<_Datasets.Transaction>;
35
35
  /**
36
36
  * Commits an open Transaction. File modifications made on this Transaction are preserved and the Branch is
37
37
  * updated to point to the Transaction.
@@ -42,12 +42,12 @@ export declare function getTransaction($ctx: $Client | $ClientContext, ...args:
42
42
  * URL: /v2/datasets/{datasetRid}/transactions/{transactionRid}/commit
43
43
  */
44
44
  export declare function commitTransaction($ctx: $Client | $ClientContext, ...args: [
45
- datasetRid: DatasetRid,
46
- transactionRid: TransactionRid,
45
+ datasetRid: _Datasets.DatasetRid,
46
+ transactionRid: _Datasets.TransactionRid,
47
47
  $queryParams?: {
48
- preview?: PreviewMode | undefined;
48
+ preview?: _Core.PreviewMode | undefined;
49
49
  }
50
- ]): Promise<Transaction>;
50
+ ]): Promise<_Datasets.Transaction>;
51
51
  /**
52
52
  * Aborts an open Transaction. File modifications made on this Transaction are not preserved and the Branch is
53
53
  * not updated.
@@ -58,10 +58,10 @@ export declare function commitTransaction($ctx: $Client | $ClientContext, ...arg
58
58
  * URL: /v2/datasets/{datasetRid}/transactions/{transactionRid}/abort
59
59
  */
60
60
  export declare function abortTransaction($ctx: $Client | $ClientContext, ...args: [
61
- datasetRid: DatasetRid,
62
- transactionRid: TransactionRid,
61
+ datasetRid: _Datasets.DatasetRid,
62
+ transactionRid: _Datasets.TransactionRid,
63
63
  $queryParams?: {
64
- preview?: PreviewMode | undefined;
64
+ preview?: _Core.PreviewMode | undefined;
65
65
  }
66
- ]): Promise<Transaction>;
66
+ ]): Promise<_Datasets.Transaction>;
67
67
  //# sourceMappingURL=Transaction.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Transaction.d.ts","sourceRoot":"","sources":["../../../src/public/Transaction.ts"],"names":[],"mappings":"AAgBA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAC;AACtD,OAAO,KAAK,EACV,YAAY,IAAI,OAAO,EACvB,mBAAmB,IAAI,cAAc,EACtC,MAAM,qBAAqB,CAAC;AAG7B,OAAO,KAAK,EACV,UAAU,EACV,wBAAwB,EACxB,UAAU,EACV,WAAW,EACX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