@osdk/internal.foundry.datasets 2.77.0 → 2.79.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 (111) hide show
  1. package/CHANGELOG.md +24 -0
  2. package/build/browser/index.d.ts +1 -6
  3. package/build/browser/index.d.ts.map +1 -1
  4. package/build/browser/index.js +1 -4
  5. package/build/browser/index.js.map +1 -1
  6. package/build/browser/public/Branch.d.ts +1 -49
  7. package/build/browser/public/Branch.d.ts.map +1 -1
  8. package/build/browser/public/Branch.js +1 -50
  9. package/build/browser/public/Branch.js.map +1 -1
  10. package/build/browser/public/Dataset.d.ts +1 -91
  11. package/build/browser/public/Dataset.d.ts.map +1 -1
  12. package/build/browser/public/Dataset.js +1 -76
  13. package/build/browser/public/Dataset.js.map +1 -1
  14. package/build/browser/public/File.d.ts +1 -190
  15. package/build/browser/public/File.d.ts.map +1 -1
  16. package/build/browser/public/File.js +1 -162
  17. package/build/browser/public/File.js.map +1 -1
  18. package/build/browser/public/Transaction.d.ts +1 -56
  19. package/build/browser/public/Transaction.d.ts.map +1 -1
  20. package/build/browser/public/Transaction.js +1 -52
  21. package/build/browser/public/Transaction.js.map +1 -1
  22. package/build/browser/public/v1.d.ts +2 -0
  23. package/build/browser/public/v1.d.ts.map +1 -0
  24. package/build/browser/public/v1.js +17 -0
  25. package/build/browser/public/v1.js.map +1 -0
  26. package/build/browser/{_components.d.ts → v1/_components.d.ts} +1 -1
  27. package/build/browser/v1/_components.d.ts.map +1 -0
  28. package/build/browser/v1/_errors.d.ts.map +1 -0
  29. package/build/browser/v1/index.d.ts +7 -0
  30. package/build/browser/v1/index.d.ts.map +1 -0
  31. package/build/browser/v1/index.js +20 -0
  32. package/build/browser/v1/index.js.map +1 -0
  33. package/build/browser/v1/public/Branch.d.ts +50 -0
  34. package/build/browser/v1/public/Branch.d.ts.map +1 -0
  35. package/build/browser/v1/public/Branch.js +66 -0
  36. package/build/browser/v1/public/Branch.js.map +1 -0
  37. package/build/browser/v1/public/Dataset.d.ts +92 -0
  38. package/build/browser/v1/public/Dataset.d.ts.map +1 -0
  39. package/build/browser/v1/public/Dataset.js +92 -0
  40. package/build/browser/v1/public/Dataset.js.map +1 -0
  41. package/build/browser/v1/public/File.d.ts +191 -0
  42. package/build/browser/v1/public/File.d.ts.map +1 -0
  43. package/build/browser/v1/public/File.js +178 -0
  44. package/build/browser/v1/public/File.js.map +1 -0
  45. package/build/browser/v1/public/Transaction.d.ts +57 -0
  46. package/build/browser/v1/public/Transaction.d.ts.map +1 -0
  47. package/build/browser/v1/public/Transaction.js +68 -0
  48. package/build/browser/v1/public/Transaction.js.map +1 -0
  49. package/build/esm/index.d.ts +1 -6
  50. package/build/esm/index.d.ts.map +1 -1
  51. package/build/esm/index.js +1 -4
  52. package/build/esm/index.js.map +1 -1
  53. package/build/esm/public/Branch.d.ts +1 -49
  54. package/build/esm/public/Branch.d.ts.map +1 -1
  55. package/build/esm/public/Branch.js +1 -50
  56. package/build/esm/public/Branch.js.map +1 -1
  57. package/build/esm/public/Dataset.d.ts +1 -91
  58. package/build/esm/public/Dataset.d.ts.map +1 -1
  59. package/build/esm/public/Dataset.js +1 -76
  60. package/build/esm/public/Dataset.js.map +1 -1
  61. package/build/esm/public/File.d.ts +1 -190
  62. package/build/esm/public/File.d.ts.map +1 -1
  63. package/build/esm/public/File.js +1 -162
  64. package/build/esm/public/File.js.map +1 -1
  65. package/build/esm/public/Transaction.d.ts +1 -56
  66. package/build/esm/public/Transaction.d.ts.map +1 -1
  67. package/build/esm/public/Transaction.js +1 -52
  68. package/build/esm/public/Transaction.js.map +1 -1
  69. package/build/esm/public/v1.d.ts +2 -0
  70. package/build/esm/public/v1.d.ts.map +1 -0
  71. package/build/esm/public/v1.js +17 -0
  72. package/build/esm/public/v1.js.map +1 -0
  73. package/build/esm/{_components.d.ts → v1/_components.d.ts} +1 -1
  74. package/build/esm/v1/_components.d.ts.map +1 -0
  75. package/build/esm/v1/_errors.d.ts.map +1 -0
  76. package/build/esm/v1/index.d.ts +7 -0
  77. package/build/esm/v1/index.d.ts.map +1 -0
  78. package/build/esm/v1/index.js +20 -0
  79. package/build/esm/v1/index.js.map +1 -0
  80. package/build/esm/v1/public/Branch.d.ts +50 -0
  81. package/build/esm/v1/public/Branch.d.ts.map +1 -0
  82. package/build/esm/v1/public/Branch.js +66 -0
  83. package/build/esm/v1/public/Branch.js.map +1 -0
  84. package/build/esm/v1/public/Dataset.d.ts +92 -0
  85. package/build/esm/v1/public/Dataset.d.ts.map +1 -0
  86. package/build/esm/v1/public/Dataset.js +92 -0
  87. package/build/esm/v1/public/Dataset.js.map +1 -0
  88. package/build/esm/v1/public/File.d.ts +191 -0
  89. package/build/esm/v1/public/File.d.ts.map +1 -0
  90. package/build/esm/v1/public/File.js +178 -0
  91. package/build/esm/v1/public/File.js.map +1 -0
  92. package/build/esm/v1/public/Transaction.d.ts +57 -0
  93. package/build/esm/v1/public/Transaction.d.ts.map +1 -0
  94. package/build/esm/v1/public/Transaction.js +68 -0
  95. package/build/esm/v1/public/Transaction.js.map +1 -0
  96. package/package.json +9 -4
  97. package/v1.d.ts +17 -0
  98. package/build/browser/_components.d.ts.map +0 -1
  99. package/build/browser/_errors.d.ts.map +0 -1
  100. package/build/esm/_components.d.ts.map +0 -1
  101. package/build/esm/_errors.d.ts.map +0 -1
  102. /package/build/browser/{_components.js → v1/_components.js} +0 -0
  103. /package/build/browser/{_components.js.map → v1/_components.js.map} +0 -0
  104. /package/build/browser/{_errors.d.ts → v1/_errors.d.ts} +0 -0
  105. /package/build/browser/{_errors.js → v1/_errors.js} +0 -0
  106. /package/build/browser/{_errors.js.map → v1/_errors.js.map} +0 -0
  107. /package/build/esm/{_components.js → v1/_components.js} +0 -0
  108. /package/build/esm/{_components.js.map → v1/_components.js.map} +0 -0
  109. /package/build/esm/{_errors.d.ts → v1/_errors.d.ts} +0 -0
  110. /package/build/esm/{_errors.js → v1/_errors.js} +0 -0
  111. /package/build/esm/{_errors.js.map → v1/_errors.js.map} +0 -0
@@ -0,0 +1,57 @@
1
+ import type { SharedClient as $OldClient, SharedClientContext as $OldClientContext } from "@osdk/shared.client";
2
+ import type { SharedClient as $Client, SharedClientContext as $ClientContext } from "@osdk/shared.client2";
3
+ import type * as _Datasets from "../_components.js";
4
+ /**
5
+ * Creates a Transaction on a Branch of a Dataset.
6
+ *
7
+ * @public
8
+ *
9
+ * Required Scopes: [api:datasets-write]
10
+ * URL: /v1/datasets/{datasetRid}/transactions
11
+ */
12
+ export declare function create($ctx: $Client | $ClientContext | $OldClient | $OldClientContext, ...args: [
13
+ datasetRid: _Datasets.DatasetRid,
14
+ $body: _Datasets.CreateTransactionRequest,
15
+ $queryParams?: {
16
+ branchId?: _Datasets.BranchId | undefined;
17
+ }
18
+ ]): Promise<_Datasets.Transaction>;
19
+ /**
20
+ * Gets a Transaction of a Dataset.
21
+ *
22
+ * @public
23
+ *
24
+ * Required Scopes: [api:datasets-read]
25
+ * URL: /v1/datasets/{datasetRid}/transactions/{transactionRid}
26
+ */
27
+ export declare function get($ctx: $Client | $ClientContext | $OldClient | $OldClientContext, ...args: [
28
+ datasetRid: _Datasets.DatasetRid,
29
+ transactionRid: _Datasets.TransactionRid
30
+ ]): Promise<_Datasets.Transaction>;
31
+ /**
32
+ * Commits an open Transaction. File modifications made on this Transaction are preserved and the Branch is
33
+ * updated to point to the Transaction.
34
+ *
35
+ * @public
36
+ *
37
+ * Required Scopes: [api:datasets-write]
38
+ * URL: /v1/datasets/{datasetRid}/transactions/{transactionRid}/commit
39
+ */
40
+ export declare function commit($ctx: $Client | $ClientContext | $OldClient | $OldClientContext, ...args: [
41
+ datasetRid: _Datasets.DatasetRid,
42
+ transactionRid: _Datasets.TransactionRid
43
+ ]): Promise<_Datasets.Transaction>;
44
+ /**
45
+ * Aborts an open Transaction. File modifications made on this Transaction are not preserved and the Branch is
46
+ * not updated.
47
+ *
48
+ * @public
49
+ *
50
+ * Required Scopes: [api:datasets-write]
51
+ * URL: /v1/datasets/{datasetRid}/transactions/{transactionRid}/abort
52
+ */
53
+ export declare function abort($ctx: $Client | $ClientContext | $OldClient | $OldClientContext, ...args: [
54
+ datasetRid: _Datasets.DatasetRid,
55
+ transactionRid: _Datasets.TransactionRid
56
+ ]): Promise<_Datasets.Transaction>;
57
+ //# sourceMappingURL=Transaction.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Transaction.d.ts","sourceRoot":"","sources":["../../../../src/v1/public/Transaction.ts"],"names":[],"mappings":"AAgBA,OAAO,KAAK,EACV,YAAY,IAAI,UAAU,EAC1B,mBAAmB,IAAI,iBAAiB,EACzC,MAAM,qBAAqB,CAAC;AAC7B,OAAO,KAAK,EACV,YAAY,IAAI,OAAO,EACvB,mBAAmB,IAAI,cAAc,EACtC,MAAM,sBAAsB,CAAC;AAG9B,OAAO,KAAK,KAAK,SAAS,MAAM,mBAAmB,CAAC;AAYpD;;;;;;;GAOG;AACH,wBAAgB,MAAM,CACpB,IAAI,EAAE,OAAO,GAAG,cAAc,GAAG,UAAU,GAAG,iBAAiB,EAC/D,GAAG,IAAI,EAAE;IACP,UAAU,EAAE,SAAS,CAAC,UAAU;IAChC,KAAK,EAAE,SAAS,CAAC,wBAAwB;IACzC,YAAY,CAAC,EAAE;QAAE,QAAQ,CAAC,EAAE,SAAS,CAAC,QAAQ,GAAG,SAAS,CAAA;KAAE;CAC7D,GACA,OAAO,CAAC,SAAS,CAAC,WAAW,CAAC,CAEhC;AASD;;;;;;;GAOG;AACH,wBAAgB,GAAG,CACjB,IAAI,EAAE,OAAO,GAAG,cAAc,GAAG,UAAU,GAAG,iBAAiB,EAC/D,GAAG,IAAI,EAAE;IACP,UAAU,EAAE,SAAS,CAAC,UAAU;IAChC,cAAc,EAAE,SAAS,CAAC,cAAc;CACzC,GACA,OAAO,CAAC,SAAS,CAAC,WAAW,CAAC,CAEhC;AASD;;;;;;;;GAQG;AACH,wBAAgB,MAAM,CACpB,IAAI,EAAE,OAAO,GAAG,cAAc,GAAG,UAAU,GAAG,iBAAiB,EAC/D,GAAG,IAAI,EAAE;IACP,UAAU,EAAE,SAAS,CAAC,UAAU;IAChC,cAAc,EAAE,SAAS,CAAC,cAAc;CACzC,GACA,OAAO,CAAC,SAAS,CAAC,WAAW,CAAC,CAEhC;AASD;;;;;;;;GAQG;AACH,wBAAgB,KAAK,CACnB,IAAI,EAAE,OAAO,GAAG,cAAc,GAAG,UAAU,GAAG,iBAAiB,EAC/D,GAAG,IAAI,EAAE;IACP,UAAU,EAAE,SAAS,CAAC,UAAU;IAChC,cAAc,EAAE,SAAS,CAAC,cAAc;CACzC,GACA,OAAO,CAAC,SAAS,CAAC,WAAW,CAAC,CAEhC"}
@@ -0,0 +1,68 @@
1
+ /*
2
+ * Copyright 2024 Palantir Technologies, Inc. All rights reserved.
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
15
+ */
16
+ import { foundryPlatformFetch as $foundryPlatformFetch } from "@osdk/shared.net.platformapi";
17
+ //
18
+ const _create = [1, "/v1/datasets/{0}/transactions", 3];
19
+ /**
20
+ * Creates a Transaction on a Branch of a Dataset.
21
+ *
22
+ * @public
23
+ *
24
+ * Required Scopes: [api:datasets-write]
25
+ * URL: /v1/datasets/{datasetRid}/transactions
26
+ */
27
+ export function create($ctx, ...args) {
28
+ return $foundryPlatformFetch($ctx, _create, ...args);
29
+ }
30
+ const _get = [0, "/v1/datasets/{0}/transactions/{1}"];
31
+ /**
32
+ * Gets a Transaction of a Dataset.
33
+ *
34
+ * @public
35
+ *
36
+ * Required Scopes: [api:datasets-read]
37
+ * URL: /v1/datasets/{datasetRid}/transactions/{transactionRid}
38
+ */
39
+ export function get($ctx, ...args) {
40
+ return $foundryPlatformFetch($ctx, _get, ...args);
41
+ }
42
+ const _commit = [1, "/v1/datasets/{0}/transactions/{1}/commit"];
43
+ /**
44
+ * Commits an open Transaction. File modifications made on this Transaction are preserved and the Branch is
45
+ * updated to point to the Transaction.
46
+ *
47
+ * @public
48
+ *
49
+ * Required Scopes: [api:datasets-write]
50
+ * URL: /v1/datasets/{datasetRid}/transactions/{transactionRid}/commit
51
+ */
52
+ export function commit($ctx, ...args) {
53
+ return $foundryPlatformFetch($ctx, _commit, ...args);
54
+ }
55
+ const _abort = [1, "/v1/datasets/{0}/transactions/{1}/abort"];
56
+ /**
57
+ * Aborts an open Transaction. File modifications made on this Transaction are not preserved and the Branch is
58
+ * not updated.
59
+ *
60
+ * @public
61
+ *
62
+ * Required Scopes: [api:datasets-write]
63
+ * URL: /v1/datasets/{datasetRid}/transactions/{transactionRid}/abort
64
+ */
65
+ export function abort($ctx, ...args) {
66
+ return $foundryPlatformFetch($ctx, _abort, ...args);
67
+ }
68
+ //# sourceMappingURL=Transaction.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Transaction.js","names":["foundryPlatformFetch","$foundryPlatformFetch","_create","create","$ctx","args","_get","get","_commit","commit","_abort","abort"],"sources":["Transaction.js"],"sourcesContent":["/*\n * Copyright 2024 Palantir Technologies, Inc. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nimport { foundryPlatformFetch as $foundryPlatformFetch } from \"@osdk/shared.net.platformapi\";\n//\nconst _create = [1, \"/v1/datasets/{0}/transactions\", 3];\n/**\n * Creates a Transaction on a Branch of a Dataset.\n *\n * @public\n *\n * Required Scopes: [api:datasets-write]\n * URL: /v1/datasets/{datasetRid}/transactions\n */\nexport function create($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _create, ...args);\n}\nconst _get = [0, \"/v1/datasets/{0}/transactions/{1}\"];\n/**\n * Gets a Transaction of a Dataset.\n *\n * @public\n *\n * Required Scopes: [api:datasets-read]\n * URL: /v1/datasets/{datasetRid}/transactions/{transactionRid}\n */\nexport function get($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _get, ...args);\n}\nconst _commit = [1, \"/v1/datasets/{0}/transactions/{1}/commit\"];\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 * @public\n *\n * Required Scopes: [api:datasets-write]\n * URL: /v1/datasets/{datasetRid}/transactions/{transactionRid}/commit\n */\nexport function commit($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _commit, ...args);\n}\nconst _abort = [1, \"/v1/datasets/{0}/transactions/{1}/abort\"];\n/**\n * Aborts an open Transaction. File modifications made on this Transaction are not preserved and the Branch is\n * not updated.\n *\n * @public\n *\n * Required Scopes: [api:datasets-write]\n * URL: /v1/datasets/{datasetRid}/transactions/{transactionRid}/abort\n */\nexport function abort($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _abort, ...args);\n}\n"],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAASA,oBAAoB,IAAIC,qBAAqB,QAAQ,8BAA8B;AAC5F;AACA,MAAMC,OAAO,GAAG,CAAC,CAAC,EAAE,+BAA+B,EAAE,CAAC,CAAC;AACvD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,SAASC,MAAMA,CAACC,IAAI,EAAE,GAAGC,IAAI,EAAE;EAClC,OAAOJ,qBAAqB,CAACG,IAAI,EAAEF,OAAO,EAAE,GAAGG,IAAI,CAAC;AACxD;AACA,MAAMC,IAAI,GAAG,CAAC,CAAC,EAAE,mCAAmC,CAAC;AACrD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,SAASC,GAAGA,CAACH,IAAI,EAAE,GAAGC,IAAI,EAAE;EAC/B,OAAOJ,qBAAqB,CAACG,IAAI,EAAEE,IAAI,EAAE,GAAGD,IAAI,CAAC;AACrD;AACA,MAAMG,OAAO,GAAG,CAAC,CAAC,EAAE,0CAA0C,CAAC;AAC/D;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,SAASC,MAAMA,CAACL,IAAI,EAAE,GAAGC,IAAI,EAAE;EAClC,OAAOJ,qBAAqB,CAACG,IAAI,EAAEI,OAAO,EAAE,GAAGH,IAAI,CAAC;AACxD;AACA,MAAMK,MAAM,GAAG,CAAC,CAAC,EAAE,yCAAyC,CAAC;AAC7D;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,SAASC,KAAKA,CAACP,IAAI,EAAE,GAAGC,IAAI,EAAE;EACjC,OAAOJ,qBAAqB,CAACG,IAAI,EAAEM,MAAM,EAAE,GAAGL,IAAI,CAAC;AACvD","ignoreList":[]}
@@ -1,7 +1,2 @@
1
- export type { Branch, BranchId, CreateBranchRequest, CreateDatasetRequest, CreateTransactionRequest, Dataset, DatasetName, DatasetRid, File, ListBranchesResponse, ListFilesResponse, ResourcePath, TableExportFormat, Transaction, TransactionRid, TransactionStatus, TransactionType, } from "./_components.js";
2
- export type { AbortTransactionPermissionDenied, BranchAlreadyExists, BranchNotFound, ColumnTypesNotSupported, CommitTransactionPermissionDenied, CreateBranchPermissionDenied, CreateDatasetPermissionDenied, CreateTransactionPermissionDenied, DatasetNotFound, DatasetReadNotSupported, DeleteBranchPermissionDenied, DeleteSchemaPermissionDenied, FileAlreadyExists, FileNotFoundOnBranch, FileNotFoundOnTransactionRange, InvalidBranchId, InvalidTransactionType, OpenTransactionAlreadyExists, PutSchemaPermissionDenied, ReadTablePermissionDenied, SchemaNotFound, TransactionNotCommitted, TransactionNotFound, TransactionNotOpen, UploadFilePermissionDenied, } from "./_errors.js";
3
- export * as Branches from "./public/Branch.js";
4
- export * as Datasets from "./public/Dataset.js";
5
- export * as Files from "./public/File.js";
6
- export * as Transactions from "./public/Transaction.js";
1
+ export * from "./v1/index.js";
7
2
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAgBA,YAAY,EACV,MAAM,EACN,QAAQ,EACR,mBAAmB,EACnB,oBAAoB,EACpB,wBAAwB,EACxB,OAAO,EACP,WAAW,EACX,UAAU,EACV,IAAI,EACJ,oBAAoB,EACpB,iBAAiB,EACjB,YAAY,EACZ,iBAAiB,EACjB,WAAW,EACX,cAAc,EACd,iBAAiB,EACjB,eAAe,GAChB,MAAM,kBAAkB,CAAC;AAC1B,YAAY,EACV,gCAAgC,EAChC,mBAAmB,EACnB,cAAc,EACd,uBAAuB,EACvB,iCAAiC,EACjC,4BAA4B,EAC5B,6BAA6B,EAC7B,iCAAiC,EACjC,eAAe,EACf,uBAAuB,EACvB,4BAA4B,EAC5B,4BAA4B,EAC5B,iBAAiB,EACjB,oBAAoB,EACpB,8BAA8B,EAC9B,eAAe,EACf,sBAAsB,EACtB,4BAA4B,EAC5B,yBAAyB,EACzB,yBAAyB,EACzB,cAAc,EACd,uBAAuB,EACvB,mBAAmB,EACnB,kBAAkB,EAClB,0BAA0B,GAC3B,MAAM,cAAc,CAAC;AACtB,OAAO,KAAK,QAAQ,MAAM,oBAAoB,CAAC;AAC/C,OAAO,KAAK,QAAQ,MAAM,qBAAqB,CAAC;AAChD,OAAO,KAAK,KAAK,MAAM,kBAAkB,CAAC;AAC1C,OAAO,KAAK,YAAY,MAAM,yBAAyB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAgBA,cAAc,eAAe,CAAC"}
@@ -13,8 +13,5 @@
13
13
  * See the License for the specific language governing permissions and
14
14
  * limitations under the License.
15
15
  */
16
- export * as Branches from "./public/Branch.js";
17
- export * as Datasets from "./public/Dataset.js";
18
- export * as Files from "./public/File.js";
19
- export * as Transactions from "./public/Transaction.js";
16
+ export * from "./v1/index.js";
20
17
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","names":["Branches","Datasets","Files","Transactions"],"sources":["index.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 */\nexport * as Branches from \"./public/Branch.js\";\nexport * as Datasets from \"./public/Dataset.js\";\nexport * as Files from \"./public/File.js\";\nexport * as Transactions from \"./public/Transaction.js\";\n"],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,KAAKA,QAAQ,MAAM,oBAAoB;AAC9C,OAAO,KAAKC,QAAQ,MAAM,qBAAqB;AAC/C,OAAO,KAAKC,KAAK,MAAM,kBAAkB;AACzC,OAAO,KAAKC,YAAY,MAAM,yBAAyB","ignoreList":[]}
1
+ {"version":3,"file":"index.js","names":[],"sources":["index.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 */\nexport * from \"./v1/index.js\";\n"],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,cAAc,eAAe","ignoreList":[]}
@@ -1,50 +1,2 @@
1
- import type * as _Core from "@osdk/internal.foundry.core";
2
- import type { SharedClient as $OldClient, SharedClientContext as $OldClientContext } from "@osdk/shared.client";
3
- import type { SharedClient as $Client, SharedClientContext as $ClientContext } from "@osdk/shared.client2";
4
- import type * as _Datasets from "../_components.js";
5
- /**
6
- * Creates a branch on an existing dataset. A branch may optionally point to a (committed) transaction.
7
- *
8
- * @public
9
- *
10
- * Required Scopes: [api:datasets-write]
11
- * URL: /v1/datasets/{datasetRid}/branches
12
- */
13
- export declare function create($ctx: $Client | $ClientContext | $OldClient | $OldClientContext, ...args: [
14
- datasetRid: _Datasets.DatasetRid,
15
- $body: _Datasets.CreateBranchRequest
16
- ]): Promise<_Datasets.Branch>;
17
- /**
18
- * Get a Branch of a Dataset.
19
- *
20
- * @public
21
- *
22
- * Required Scopes: [api:datasets-read]
23
- * URL: /v1/datasets/{datasetRid}/branches/{branchId}
24
- */
25
- export declare function get($ctx: $Client | $ClientContext | $OldClient | $OldClientContext, ...args: [datasetRid: _Datasets.DatasetRid, branchId: _Datasets.BranchId]): Promise<_Datasets.Branch>;
26
- /**
27
- * Deletes the Branch with the given BranchId.
28
- *
29
- * @public
30
- *
31
- * Required Scopes: [api:datasets-write]
32
- * URL: /v1/datasets/{datasetRid}/branches/{branchId}
33
- */
34
- export declare function deleteBranch($ctx: $Client | $ClientContext | $OldClient | $OldClientContext, ...args: [datasetRid: _Datasets.DatasetRid, branchId: _Datasets.BranchId]): Promise<void>;
35
- /**
36
- * Lists the Branches of a Dataset.
37
- *
38
- * @public
39
- *
40
- * Required Scopes: [api:datasets-read]
41
- * URL: /v1/datasets/{datasetRid}/branches
42
- */
43
- export declare function list($ctx: $Client | $ClientContext | $OldClient | $OldClientContext, ...args: [
44
- datasetRid: _Datasets.DatasetRid,
45
- $queryParams?: {
46
- pageSize?: _Core.PageSize | undefined;
47
- pageToken?: _Core.PageToken | undefined;
48
- }
49
- ]): Promise<_Datasets.ListBranchesResponse>;
1
+ export * from "../v1/public/Branch.js";
50
2
  //# sourceMappingURL=Branch.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Branch.d.ts","sourceRoot":"","sources":["../../../src/public/Branch.ts"],"names":[],"mappings":"AAgBA,OAAO,KAAK,KAAK,KAAK,MAAM,6BAA6B,CAAC;AAC1D,OAAO,KAAK,EACV,YAAY,IAAI,UAAU,EAC1B,mBAAmB,IAAI,iBAAiB,EACzC,MAAM,qBAAqB,CAAC;AAC7B,OAAO,KAAK,EACV,YAAY,IAAI,OAAO,EACvB,mBAAmB,IAAI,cAAc,EACtC,MAAM,sBAAsB,CAAC;AAG9B,OAAO,KAAK,KAAK,SAAS,MAAM,mBAAmB,CAAC;AAWpD;;;;;;;GAOG;AACH,wBAAgB,MAAM,CACpB,IAAI,EAAE,OAAO,GAAG,cAAc,GAAG,UAAU,GAAG,iBAAiB,EAC/D,GAAG,IAAI,EAAE;IACP,UAAU,EAAE,SAAS,CAAC,UAAU;IAChC,KAAK,EAAE,SAAS,CAAC,mBAAmB;CACrC,GACA,OAAO,CAAC,SAAS,CAAC,MAAM,CAAC,CAE3B;AASD;;;;;;;GAOG;AACH,wBAAgB,GAAG,CACjB,IAAI,EAAE,OAAO,GAAG,cAAc,GAAG,UAAU,GAAG,iBAAiB,EAC/D,GAAG,IAAI,EAAE,CAAC,UAAU,EAAE,SAAS,CAAC,UAAU,EAAE,QAAQ,EAAE,SAAS,CAAC,QAAQ,CAAC,GACxE,OAAO,CAAC,SAAS,CAAC,MAAM,CAAC,CAE3B;AASD;;;;;;;GAOG;AACH,wBAAgB,YAAY,CAC1B,IAAI,EAAE,OAAO,GAAG,cAAc,GAAG,UAAU,GAAG,iBAAiB,EAC/D,GAAG,IAAI,EAAE,CAAC,UAAU,EAAE,SAAS,CAAC,UAAU,EAAE,QAAQ,EAAE,SAAS,CAAC,QAAQ,CAAC,GACxE,OAAO,CAAC,IAAI,CAAC,CAEf;AAYD;;;;;;;GAOG;AACH,wBAAgB,IAAI,CAClB,IAAI,EAAE,OAAO,GAAG,cAAc,GAAG,UAAU,GAAG,iBAAiB,EAC/D,GAAG,IAAI,EAAE;IACP,UAAU,EAAE,SAAS,CAAC,UAAU;IAEhC,YAAY,CAAC,EAAE;QACb,QAAQ,CAAC,EAAE,KAAK,CAAC,QAAQ,GAAG,SAAS,CAAC;QACtC,SAAS,CAAC,EAAE,KAAK,CAAC,SAAS,GAAG,SAAS,CAAC;KACzC;CACF,GACA,OAAO,CAAC,SAAS,CAAC,oBAAoB,CAAC,CAEzC"}
1
+ {"version":3,"file":"Branch.d.ts","sourceRoot":"","sources":["../../../src/public/Branch.ts"],"names":[],"mappings":"AAgBA,cAAc,wBAAwB,CAAC"}
@@ -13,54 +13,5 @@
13
13
  * See the License for the specific language governing permissions and
14
14
  * limitations under the License.
15
15
  */
16
- import { foundryPlatformFetch as $foundryPlatformFetch } from "@osdk/shared.net.platformapi";
17
- //
18
- const _create = [1, "/v1/datasets/{0}/branches", 1];
19
- /**
20
- * Creates a branch on an existing dataset. A branch may optionally point to a (committed) transaction.
21
- *
22
- * @public
23
- *
24
- * Required Scopes: [api:datasets-write]
25
- * URL: /v1/datasets/{datasetRid}/branches
26
- */
27
- export function create($ctx, ...args) {
28
- return $foundryPlatformFetch($ctx, _create, ...args);
29
- }
30
- const _get = [0, "/v1/datasets/{0}/branches/{1}"];
31
- /**
32
- * Get a Branch of a Dataset.
33
- *
34
- * @public
35
- *
36
- * Required Scopes: [api:datasets-read]
37
- * URL: /v1/datasets/{datasetRid}/branches/{branchId}
38
- */
39
- export function get($ctx, ...args) {
40
- return $foundryPlatformFetch($ctx, _get, ...args);
41
- }
42
- const _deleteBranch = [3, "/v1/datasets/{0}/branches/{1}"];
43
- /**
44
- * Deletes the Branch with the given BranchId.
45
- *
46
- * @public
47
- *
48
- * Required Scopes: [api:datasets-write]
49
- * URL: /v1/datasets/{datasetRid}/branches/{branchId}
50
- */
51
- export function deleteBranch($ctx, ...args) {
52
- return $foundryPlatformFetch($ctx, _deleteBranch, ...args);
53
- }
54
- const _list = [0, "/v1/datasets/{0}/branches", 2];
55
- /**
56
- * Lists the Branches of a Dataset.
57
- *
58
- * @public
59
- *
60
- * Required Scopes: [api:datasets-read]
61
- * URL: /v1/datasets/{datasetRid}/branches
62
- */
63
- export function list($ctx, ...args) {
64
- return $foundryPlatformFetch($ctx, _list, ...args);
65
- }
16
+ export * from "../v1/public/Branch.js";
66
17
  //# sourceMappingURL=Branch.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"Branch.js","names":["foundryPlatformFetch","$foundryPlatformFetch","_create","create","$ctx","args","_get","get","_deleteBranch","deleteBranch","_list","list"],"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 _create = [1, \"/v1/datasets/{0}/branches\", 1];\n/**\n * Creates a branch on an existing dataset. A branch may optionally point to a (committed) transaction.\n *\n * @public\n *\n * Required Scopes: [api:datasets-write]\n * URL: /v1/datasets/{datasetRid}/branches\n */\nexport function create($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _create, ...args);\n}\nconst _get = [0, \"/v1/datasets/{0}/branches/{1}\"];\n/**\n * Get a Branch of a Dataset.\n *\n * @public\n *\n * Required Scopes: [api:datasets-read]\n * URL: /v1/datasets/{datasetRid}/branches/{branchId}\n */\nexport function get($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _get, ...args);\n}\nconst _deleteBranch = [3, \"/v1/datasets/{0}/branches/{1}\"];\n/**\n * Deletes the Branch with the given BranchId.\n *\n * @public\n *\n * Required Scopes: [api:datasets-write]\n * URL: /v1/datasets/{datasetRid}/branches/{branchId}\n */\nexport function deleteBranch($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _deleteBranch, ...args);\n}\nconst _list = [0, \"/v1/datasets/{0}/branches\", 2];\n/**\n * Lists the Branches of a Dataset.\n *\n * @public\n *\n * Required Scopes: [api:datasets-read]\n * URL: /v1/datasets/{datasetRid}/branches\n */\nexport function list($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _list, ...args);\n}\n"],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAASA,oBAAoB,IAAIC,qBAAqB,QAAQ,8BAA8B;AAC5F;AACA,MAAMC,OAAO,GAAG,CAAC,CAAC,EAAE,2BAA2B,EAAE,CAAC,CAAC;AACnD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,SAASC,MAAMA,CAACC,IAAI,EAAE,GAAGC,IAAI,EAAE;EAClC,OAAOJ,qBAAqB,CAACG,IAAI,EAAEF,OAAO,EAAE,GAAGG,IAAI,CAAC;AACxD;AACA,MAAMC,IAAI,GAAG,CAAC,CAAC,EAAE,+BAA+B,CAAC;AACjD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,SAASC,GAAGA,CAACH,IAAI,EAAE,GAAGC,IAAI,EAAE;EAC/B,OAAOJ,qBAAqB,CAACG,IAAI,EAAEE,IAAI,EAAE,GAAGD,IAAI,CAAC;AACrD;AACA,MAAMG,aAAa,GAAG,CAAC,CAAC,EAAE,+BAA+B,CAAC;AAC1D;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,KAAK,GAAG,CAAC,CAAC,EAAE,2BAA2B,EAAE,CAAC,CAAC;AACjD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,SAASC,IAAIA,CAACP,IAAI,EAAE,GAAGC,IAAI,EAAE;EAChC,OAAOJ,qBAAqB,CAACG,IAAI,EAAEM,KAAK,EAAE,GAAGL,IAAI,CAAC;AACtD","ignoreList":[]}
1
+ {"version":3,"file":"Branch.js","names":[],"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 */\nexport * from \"../v1/public/Branch.js\";\n"],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,cAAc,wBAAwB","ignoreList":[]}
@@ -1,92 +1,2 @@
1
- import type * as _Core from "@osdk/internal.foundry.core";
2
- import type { SharedClient as $OldClient, SharedClientContext as $OldClientContext } from "@osdk/shared.client";
3
- import type { SharedClient as $Client, SharedClientContext as $ClientContext } from "@osdk/shared.client2";
4
- import type * as _Datasets from "../_components.js";
5
- /**
6
- * Creates a new Dataset. A default branch - `master` for most enrollments - will be created on the Dataset.
7
- *
8
- * @public
9
- *
10
- * Required Scopes: [api:datasets-write]
11
- * URL: /v1/datasets
12
- */
13
- export declare function create($ctx: $Client | $ClientContext | $OldClient | $OldClientContext, ...args: [$body: _Datasets.CreateDatasetRequest]): Promise<_Datasets.Dataset>;
14
- /**
15
- * Gets the Dataset with the given DatasetRid.
16
- *
17
- * @public
18
- *
19
- * Required Scopes: [api:datasets-read]
20
- * URL: /v1/datasets/{datasetRid}
21
- */
22
- export declare function get($ctx: $Client | $ClientContext | $OldClient | $OldClientContext, ...args: [datasetRid: _Datasets.DatasetRid]): Promise<_Datasets.Dataset>;
23
- /**
24
- * Gets the content of a dataset as a table in the specified format.
25
- *
26
- * This endpoint currently does not support views (virtual datasets composed of other datasets). For more information, refer to the [views documentation](https://www.palantir.com/docs/foundry/data-integration/views).
27
- *
28
- * @public
29
- *
30
- * Required Scopes: [api:datasets-read]
31
- * URL: /v1/datasets/{datasetRid}/readTable
32
- */
33
- export declare function read($ctx: $Client | $ClientContext | $OldClient | $OldClientContext, ...args: [
34
- datasetRid: _Datasets.DatasetRid,
35
- $queryParams: {
36
- branchId?: _Datasets.BranchId | undefined;
37
- startTransactionRid?: _Datasets.TransactionRid | undefined;
38
- endTransactionRid?: _Datasets.TransactionRid | undefined;
39
- format: _Datasets.TableExportFormat;
40
- columns: Array<string>;
41
- rowLimit?: number | undefined;
42
- }
43
- ]): Promise<Response>;
44
- /**
45
- * Puts a Schema on an existing Dataset and Branch.
46
- *
47
- * @alpha
48
- *
49
- * Required Scopes: [api:datasets-write]
50
- * URL: /v1/datasets/{datasetRid}/schema
51
- */
52
- export declare function replaceSchema($ctx: $Client | $ClientContext | $OldClient | $OldClientContext, ...args: [
53
- datasetRid: _Datasets.DatasetRid,
54
- $body: any,
55
- $queryParams?: {
56
- branchId?: _Datasets.BranchId | undefined;
57
- preview?: _Core.PreviewMode | undefined;
58
- }
59
- ]): Promise<void>;
60
- /**
61
- * Retrieves the Schema for a Dataset and Branch, if it exists.
62
- *
63
- * @alpha
64
- *
65
- * Required Scopes: [api:datasets-read]
66
- * URL: /v1/datasets/{datasetRid}/schema
67
- */
68
- export declare function getSchema($ctx: $Client | $ClientContext | $OldClient | $OldClientContext, ...args: [
69
- datasetRid: _Datasets.DatasetRid,
70
- $queryParams?: {
71
- branchId?: _Datasets.BranchId | undefined;
72
- transactionRid?: _Datasets.TransactionRid | undefined;
73
- preview?: _Core.PreviewMode | undefined;
74
- }
75
- ]): Promise<any | undefined>;
76
- /**
77
- * Deletes the Schema from a Dataset and Branch.
78
- *
79
- * @alpha
80
- *
81
- * Required Scopes: [api:datasets-write]
82
- * URL: /v1/datasets/{datasetRid}/schema
83
- */
84
- export declare function deleteSchema($ctx: $Client | $ClientContext | $OldClient | $OldClientContext, ...args: [
85
- datasetRid: _Datasets.DatasetRid,
86
- $queryParams?: {
87
- branchId?: _Datasets.BranchId | undefined;
88
- transactionRid?: _Datasets.TransactionRid | undefined;
89
- preview?: _Core.PreviewMode | undefined;
90
- }
91
- ]): Promise<void>;
1
+ export * from "../v1/public/Dataset.js";
92
2
  //# sourceMappingURL=Dataset.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Dataset.d.ts","sourceRoot":"","sources":["../../../src/public/Dataset.ts"],"names":[],"mappings":"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"}
1
+ {"version":3,"file":"Dataset.d.ts","sourceRoot":"","sources":["../../../src/public/Dataset.ts"],"names":[],"mappings":"AAgBA,cAAc,yBAAyB,CAAC"}
@@ -13,80 +13,5 @@
13
13
  * See the License for the specific language governing permissions and
14
14
  * limitations under the License.
15
15
  */
16
- import { foundryPlatformFetch as $foundryPlatformFetch } from "@osdk/shared.net.platformapi";
17
- //
18
- const _create = [1, "/v1/datasets", 1];
19
- /**
20
- * Creates a new Dataset. A default branch - `master` for most enrollments - will be created on the Dataset.
21
- *
22
- * @public
23
- *
24
- * Required Scopes: [api:datasets-write]
25
- * URL: /v1/datasets
26
- */
27
- export function create($ctx, ...args) {
28
- return $foundryPlatformFetch($ctx, _create, ...args);
29
- }
30
- const _get = [0, "/v1/datasets/{0}"];
31
- /**
32
- * Gets the Dataset with the given DatasetRid.
33
- *
34
- * @public
35
- *
36
- * Required Scopes: [api:datasets-read]
37
- * URL: /v1/datasets/{datasetRid}
38
- */
39
- export function get($ctx, ...args) {
40
- return $foundryPlatformFetch($ctx, _get, ...args);
41
- }
42
- const _read = [0, "/v1/datasets/{0}/readTable", 2,, "*/*"];
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). For more information, refer to the [views documentation](https://www.palantir.com/docs/foundry/data-integration/views).
47
- *
48
- * @public
49
- *
50
- * Required Scopes: [api:datasets-read]
51
- * URL: /v1/datasets/{datasetRid}/readTable
52
- */
53
- export function read($ctx, ...args) {
54
- return $foundryPlatformFetch($ctx, _read, ...args);
55
- }
56
- const _replaceSchema = [2, "/v1/datasets/{0}/schema", 3];
57
- /**
58
- * Puts a Schema on an existing Dataset and Branch.
59
- *
60
- * @alpha
61
- *
62
- * Required Scopes: [api:datasets-write]
63
- * URL: /v1/datasets/{datasetRid}/schema
64
- */
65
- export function replaceSchema($ctx, ...args) {
66
- return $foundryPlatformFetch($ctx, _replaceSchema, ...args);
67
- }
68
- const _getSchema = [0, "/v1/datasets/{0}/schema", 2];
69
- /**
70
- * Retrieves the Schema for a Dataset and Branch, if it exists.
71
- *
72
- * @alpha
73
- *
74
- * Required Scopes: [api:datasets-read]
75
- * URL: /v1/datasets/{datasetRid}/schema
76
- */
77
- export function getSchema($ctx, ...args) {
78
- return $foundryPlatformFetch($ctx, _getSchema, ...args);
79
- }
80
- const _deleteSchema = [3, "/v1/datasets/{0}/schema", 2];
81
- /**
82
- * Deletes the Schema from a Dataset and Branch.
83
- *
84
- * @alpha
85
- *
86
- * Required Scopes: [api:datasets-write]
87
- * URL: /v1/datasets/{datasetRid}/schema
88
- */
89
- export function deleteSchema($ctx, ...args) {
90
- return $foundryPlatformFetch($ctx, _deleteSchema, ...args);
91
- }
16
+ export * from "../v1/public/Dataset.js";
92
17
  //# sourceMappingURL=Dataset.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"Dataset.js","names":["foundryPlatformFetch","$foundryPlatformFetch","_create","create","$ctx","args","_get","get","_read","read","_replaceSchema","replaceSchema","_getSchema","getSchema","_deleteSchema","deleteSchema"],"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 _create = [1, \"/v1/datasets\", 1];\n/**\n * Creates a new Dataset. A default branch - `master` for most enrollments - will be created on the Dataset.\n *\n * @public\n *\n * Required Scopes: [api:datasets-write]\n * URL: /v1/datasets\n */\nexport function create($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _create, ...args);\n}\nconst _get = [0, \"/v1/datasets/{0}\"];\n/**\n * Gets the Dataset with the given DatasetRid.\n *\n * @public\n *\n * Required Scopes: [api:datasets-read]\n * URL: /v1/datasets/{datasetRid}\n */\nexport function get($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _get, ...args);\n}\nconst _read = [0, \"/v1/datasets/{0}/readTable\", 2, , \"*/*\"];\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). For more information, refer to the [views documentation](https://www.palantir.com/docs/foundry/data-integration/views).\n *\n * @public\n *\n * Required Scopes: [api:datasets-read]\n * URL: /v1/datasets/{datasetRid}/readTable\n */\nexport function read($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _read, ...args);\n}\nconst _replaceSchema = [2, \"/v1/datasets/{0}/schema\", 3];\n/**\n * Puts a Schema on an existing Dataset and Branch.\n *\n * @alpha\n *\n * Required Scopes: [api:datasets-write]\n * URL: /v1/datasets/{datasetRid}/schema\n */\nexport function replaceSchema($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _replaceSchema, ...args);\n}\nconst _getSchema = [0, \"/v1/datasets/{0}/schema\", 2];\n/**\n * Retrieves the Schema for a Dataset and Branch, if it exists.\n *\n * @alpha\n *\n * Required Scopes: [api:datasets-read]\n * URL: /v1/datasets/{datasetRid}/schema\n */\nexport function getSchema($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _getSchema, ...args);\n}\nconst _deleteSchema = [3, \"/v1/datasets/{0}/schema\", 2];\n/**\n * Deletes the Schema from a Dataset and Branch.\n *\n * @alpha\n *\n * Required Scopes: [api:datasets-write]\n * URL: /v1/datasets/{datasetRid}/schema\n */\nexport function deleteSchema($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _deleteSchema, ...args);\n}\n"],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAASA,oBAAoB,IAAIC,qBAAqB,QAAQ,8BAA8B;AAC5F;AACA,MAAMC,OAAO,GAAG,CAAC,CAAC,EAAE,cAAc,EAAE,CAAC,CAAC;AACtC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,SAASC,MAAMA,CAACC,IAAI,EAAE,GAAGC,IAAI,EAAE;EAClC,OAAOJ,qBAAqB,CAACG,IAAI,EAAEF,OAAO,EAAE,GAAGG,IAAI,CAAC;AACxD;AACA,MAAMC,IAAI,GAAG,CAAC,CAAC,EAAE,kBAAkB,CAAC;AACpC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,SAASC,GAAGA,CAACH,IAAI,EAAE,GAAGC,IAAI,EAAE;EAC/B,OAAOJ,qBAAqB,CAACG,IAAI,EAAEE,IAAI,EAAE,GAAGD,IAAI,CAAC;AACrD;AACA,MAAMG,KAAK,GAAG,CAAC,CAAC,EAAE,4BAA4B,EAAE,CAAC,GAAI,KAAK,CAAC;AAC3D;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,SAASC,IAAIA,CAACL,IAAI,EAAE,GAAGC,IAAI,EAAE;EAChC,OAAOJ,qBAAqB,CAACG,IAAI,EAAEI,KAAK,EAAE,GAAGH,IAAI,CAAC;AACtD;AACA,MAAMK,cAAc,GAAG,CAAC,CAAC,EAAE,yBAAyB,EAAE,CAAC,CAAC;AACxD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,SAASC,aAAaA,CAACP,IAAI,EAAE,GAAGC,IAAI,EAAE;EACzC,OAAOJ,qBAAqB,CAACG,IAAI,EAAEM,cAAc,EAAE,GAAGL,IAAI,CAAC;AAC/D;AACA,MAAMO,UAAU,GAAG,CAAC,CAAC,EAAE,yBAAyB,EAAE,CAAC,CAAC;AACpD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,SAASC,SAASA,CAACT,IAAI,EAAE,GAAGC,IAAI,EAAE;EACrC,OAAOJ,qBAAqB,CAACG,IAAI,EAAEQ,UAAU,EAAE,GAAGP,IAAI,CAAC;AAC3D;AACA,MAAMS,aAAa,GAAG,CAAC,CAAC,EAAE,yBAAyB,EAAE,CAAC,CAAC;AACvD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,SAASC,YAAYA,CAACX,IAAI,EAAE,GAAGC,IAAI,EAAE;EACxC,OAAOJ,qBAAqB,CAACG,IAAI,EAAEU,aAAa,EAAE,GAAGT,IAAI,CAAC;AAC9D","ignoreList":[]}
1
+ {"version":3,"file":"Dataset.js","names":[],"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 */\nexport * from \"../v1/public/Dataset.js\";\n"],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,cAAc,yBAAyB","ignoreList":[]}