@osdk/internal.foundry.datasets 0.2.0-beta.6 → 0.2.0-beta.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +15 -0
- package/build/browser/{chunk-LACCW5AJ.js → chunk-EDFN5GXZ.js} +6 -6
- package/build/{esm/chunk-LACCW5AJ.js.map → browser/chunk-EDFN5GXZ.js.map} +1 -1
- package/build/browser/{chunk-S3RCUT7E.js → chunk-JIXOPP3M.js} +6 -6
- package/build/browser/chunk-JIXOPP3M.js.map +1 -0
- package/build/browser/index.js +2 -2
- package/build/browser/public/Branch.js +1 -1
- package/build/browser/public/Dataset.js +1 -1
- package/build/esm/_components.d.ts +13 -1
- package/build/esm/_components.d.ts.map +1 -1
- package/build/esm/_errors.d.ts +16 -0
- package/build/esm/_errors.d.ts.map +1 -1
- package/build/esm/{chunk-LACCW5AJ.js → chunk-EDFN5GXZ.js} +6 -6
- package/build/{browser/chunk-LACCW5AJ.js.map → esm/chunk-EDFN5GXZ.js.map} +1 -1
- package/build/esm/{chunk-S3RCUT7E.js → chunk-JIXOPP3M.js} +6 -6
- package/build/esm/chunk-JIXOPP3M.js.map +1 -0
- package/build/esm/index.d.ts +2 -2
- package/build/esm/index.d.ts.map +1 -1
- package/build/esm/index.js +2 -2
- package/build/esm/public/Branch.d.ts +19 -19
- package/build/esm/public/Branch.d.ts.map +1 -1
- package/build/esm/public/Branch.js +1 -1
- package/build/esm/public/Dataset.d.ts +12 -12
- package/build/esm/public/Dataset.d.ts.map +1 -1
- package/build/esm/public/Dataset.js +1 -1
- package/build/esm/public/File.d.ts +2 -2
- package/build/esm/public/File.d.ts.map +1 -1
- package/build/esm/public/Transaction.d.ts +1 -2
- package/build/esm/public/Transaction.d.ts.map +1 -1
- package/package.json +6 -8
- package/build/browser/chunk-S3RCUT7E.js.map +0 -1
- package/build/esm/chunk-S3RCUT7E.js.map +0 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,20 @@
|
|
|
1
1
|
# @osdk/internal.foundry.datasets
|
|
2
2
|
|
|
3
|
+
## 0.2.0-beta.7
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- 1252d94: ESM Only
|
|
8
|
+
- 5d6d5ab: Internally refactored to support new API versions
|
|
9
|
+
|
|
10
|
+
### Patch Changes
|
|
11
|
+
|
|
12
|
+
- Updated dependencies [1252d94]
|
|
13
|
+
- Updated dependencies [5d6d5ab]
|
|
14
|
+
- @osdk/internal.foundry.core@0.2.0-beta.7
|
|
15
|
+
- @osdk/shared.client@1.0.0-beta.0
|
|
16
|
+
- @osdk/shared.net.platformapi@0.3.0-beta.0
|
|
17
|
+
|
|
3
18
|
## 0.2.0-beta.6
|
|
4
19
|
|
|
5
20
|
### Patch Changes
|
|
@@ -23,19 +23,19 @@ var _readTable = [0, "/v1/datasets/{0}/readTable", 2, , "*/*"];
|
|
|
23
23
|
function readTable($ctx, ...args) {
|
|
24
24
|
return foundryPlatformFetch($ctx, _readTable, ...args);
|
|
25
25
|
}
|
|
26
|
-
var _getSchema = [0, "/v1/datasets/{0}/schema", 2];
|
|
27
|
-
function getSchema($ctx, ...args) {
|
|
28
|
-
return foundryPlatformFetch($ctx, _getSchema, ...args);
|
|
29
|
-
}
|
|
30
26
|
var _putSchema = [2, "/v1/datasets/{0}/schema", 3];
|
|
31
27
|
function putSchema($ctx, ...args) {
|
|
32
28
|
return foundryPlatformFetch($ctx, _putSchema, ...args);
|
|
33
29
|
}
|
|
30
|
+
var _getSchema = [0, "/v1/datasets/{0}/schema", 2];
|
|
31
|
+
function getSchema($ctx, ...args) {
|
|
32
|
+
return foundryPlatformFetch($ctx, _getSchema, ...args);
|
|
33
|
+
}
|
|
34
34
|
var _deleteSchema = [3, "/v1/datasets/{0}/schema", 2];
|
|
35
35
|
function deleteSchema($ctx, ...args) {
|
|
36
36
|
return foundryPlatformFetch($ctx, _deleteSchema, ...args);
|
|
37
37
|
}
|
|
38
38
|
|
|
39
39
|
export { Dataset_exports, createDataset, deleteSchema, getDataset, getSchema, putSchema, readTable };
|
|
40
|
-
//# sourceMappingURL=chunk-
|
|
41
|
-
//# sourceMappingURL=chunk-
|
|
40
|
+
//# sourceMappingURL=chunk-EDFN5GXZ.js.map
|
|
41
|
+
//# sourceMappingURL=chunk-EDFN5GXZ.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/public/Dataset.ts"],"names":["$foundryPlatformFetch"],"mappings":";;;;AAAA,IAAA,eAAA,GAAA,GAAA;AAAA,QAAA,CAAA,eAAA,EAAA;AAAA,EAAA,aAAA,EAAA,MAAA,aAAA;AAAA,EAAA,YAAA,EAAA,MAAA,YAAA;AAAA,EAAA,UAAA,EAAA,MAAA,UAAA;AAAA,EAAA,SAAA,EAAA,MAAA,SAAA;AAAA,EAAA,SAAA,EAAA,MAAA,SAAA;AAAA,EAAA,SAAA,EAAA,MAAA,SAAA;AAAA,CAAA,CAAA,CAAA;AAmBA,IAAM,cAAiB,GAAA,CAAC,CAAG,EAAA,cAAA,EAAgB,CAAC,CAAA,CAAA;AAYrC,SAAS,aAAA,CAAc,SAAS,IAAM,EAAA;AAC3C,EAAA,OAAOA,oBAAsB,CAAA,IAAA,EAAM,cAAgB,EAAA,GAAG,IAAI,CAAA,CAAA;AAC5D,CAAA;AACA,IAAM,WAAA,GAAc,CAAC,CAAA,EAAG,kBAAkB,CAAA,CAAA;AAYnC,SAAS,UAAA,CAAW,SAAS,IAAM,EAAA;AACxC,EAAA,OAAOA,oBAAsB,CAAA,IAAA,EAAM,WAAa,EAAA,GAAG,IAAI,CAAA,CAAA;AACzD,CAAA;AACA,IAAM,aAAa,CAAC,CAAA,EAAG,4BAA8B,EAAA,CAAA,IAAI,KAAK,CAAA,CAAA;AAcvD,SAAS,SAAA,CAAU,SAAS,IAAM,EAAA;AACvC,EAAA,OAAOA,oBAAsB,CAAA,IAAA,EAAM,UAAY,EAAA,GAAG,IAAI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AAA,CAAA;AAC5D,CAAA;AACA,IAAM,WAAA,GAAc,CAAC,CAAA,EAAG,kBAAkB,CAAA,CAAA;AAYnC,SAAS,UAAA,CAAW,SAAS,IAAM,EAAA;AACxC,EAAA,OAAOA,oBAAsB,CAAA,IAAA,EAAM,WAAa,EAAA,GAAG,IAAI,CAAA,CAAA;AACzD,CAAA;AACA,IAAM,aAAa,CAAC,CAAA,EAAG,4BAA8B,EAAA,CAAA,IAAI,KAAK,CAAA,CAAA;AAcvD,SAAS,SAAA,CAAU,SAAS,IAAM,EAAA;AACvC,EAAA,OAAOA,oBAAsB,CAAA,IAAA,EAAM,UAAY,EAAA,GAAG,IAAI,CAAA,CAAA;AACxD,CAAA;AACA,IAAM,UAAa,GAAA,CAAC,CAAG,EAAA,yBAAA,EAA2B,CAAC,CAAA,CAAA;AAU5C,SAAS,SAAA,CAAU,SAAS,IAAM,EAAA;AACvC,EAAA,OAAOA,oBAAsB,CAAA,IAAA,EAAM,UAAY,EAAA,GAAG,IAAI,CAAA,CAAA;AACxD,CAAA;AACA,IAAM,UAAa,GAAA,CAAC,CAAG,EAAA,yBAAA,EAA2B,CAAC,CAAA,CAAA;AAU5C,SAAS,SAAA,CAAU,SAAS,IAAM,EAAA;AACvC,EAAA,OAAOA,oBAAsB,CAAA,IAAA,EAAM,UAAY,EAAA,GAAG,IAAI,CAAA,CAAA;AACxD,CAAA;AACA,IAAM,aAAgB,GAAA,CAAC,CAAG,EAAA,yBAAA,EAA2B,CAAC,CAAA,CAAA;AAU/C,SAAS,YAAA,CAAa,SAAS,IAAM,EAAA;AAC1C,EAAA,OAAOA,oBAAsB,CAAA,IAAA,EAAM,aAAe,EAAA,GAAG,IAAI,CAAA,CAAA;AAC3D","file":"chunk-EDFN5GXZ.js","sourcesContent":["/*\n * Copyright 2024 Palantir Technologies, Inc. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport { foundryPlatformFetch as $foundryPlatformFetch } from \"@osdk/shared.net.platformapi\";\n//\n\nconst _createDataset = [1, \"/v1/datasets\", 1];\n\n/**\n * Creates a new Dataset. A default branch - `master` for most enrollments - will be created on the Dataset.\n *\n * Third-party applications using this endpoint via OAuth2 must request the following operation scope: `api:datasets-write`.\n *\n * @public\n *\n * Required Scopes: [api:datasets-write]\n * URL: /v1/datasets\n */\nexport function createDataset($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _createDataset, ...args);\n}\nconst _getDataset = [0, \"/v1/datasets/{0}\"];\n\n/**\n * Gets the Dataset with the given DatasetRid.\n *\n * Third-party applications using this endpoint via OAuth2 must request the following operation scope: `api:datasets-read`.\n *\n * @public\n *\n * Required Scopes: [api:datasets-read]\n * URL: /v1/datasets/{datasetRid}\n */\nexport function getDataset($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _getDataset, ...args);\n}\nconst _readTable = [0, \"/v1/datasets/{0}/readTable\", 2,, \"*/*\"];\n\n/**\n * Gets the content of a dataset as a table in the specified format.\n *\n * This endpoint currently does not support views (Virtual datasets composed of other datasets).\n *\n * Third-party applications using this endpoint via OAuth2 must request the following operation scope: `api:datasets-read`.\n *\n * @public\n *\n * Required Scopes: [api:datasets-read]\n * URL: /v1/datasets/{datasetRid}/readTable\n */\nexport function readTable($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _readTable, ...args);\n}\nconst _putSchema = [2, \"/v1/datasets/{0}/schema\", 3];\n\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 putSchema($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _putSchema, ...args);\n}\nconst _getSchema = [0, \"/v1/datasets/{0}/schema\", 2];\n\n/**\n * Retrieves the Schema for a Dataset and Branch, if it exists.\n *\n * @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/**\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}"]}
|
|
@@ -9,10 +9,6 @@ __export(Branch_exports, {
|
|
|
9
9
|
getBranch: () => getBranch,
|
|
10
10
|
listBranches: () => listBranches
|
|
11
11
|
});
|
|
12
|
-
var _listBranches = [0, "/v1/datasets/{0}/branches", 2];
|
|
13
|
-
function listBranches($ctx, ...args) {
|
|
14
|
-
return foundryPlatformFetch($ctx, _listBranches, ...args);
|
|
15
|
-
}
|
|
16
12
|
var _createBranch = [1, "/v1/datasets/{0}/branches", 1];
|
|
17
13
|
function createBranch($ctx, ...args) {
|
|
18
14
|
return foundryPlatformFetch($ctx, _createBranch, ...args);
|
|
@@ -25,7 +21,11 @@ var _deleteBranch = [3, "/v1/datasets/{0}/branches/{1}"];
|
|
|
25
21
|
function deleteBranch($ctx, ...args) {
|
|
26
22
|
return foundryPlatformFetch($ctx, _deleteBranch, ...args);
|
|
27
23
|
}
|
|
24
|
+
var _listBranches = [0, "/v1/datasets/{0}/branches", 2];
|
|
25
|
+
function listBranches($ctx, ...args) {
|
|
26
|
+
return foundryPlatformFetch($ctx, _listBranches, ...args);
|
|
27
|
+
}
|
|
28
28
|
|
|
29
29
|
export { Branch_exports, createBranch, deleteBranch, getBranch, listBranches };
|
|
30
|
-
//# sourceMappingURL=chunk-
|
|
31
|
-
//# s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,IAAI,CAAA,CAAA;AAC3D","file":"chunk-JIXOPP3M.js","sourcesContent":["/*\n * Copyright 2024 Palantir Technologies, Inc. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport { foundryPlatformFetch as $foundryPlatformFetch } from \"@osdk/shared.net.platformapi\";\n//\n\nconst _createBranch = [1, \"/v1/datasets/{0}/branches\", 1];\n\n/**\n * Creates a branch on an existing dataset. A branch may optionally point to a (committed) transaction.\n *\n * Third-party applications using this endpoint via OAuth2 must request the following operation scope: `api:datasets-write`.\n *\n * @public\n *\n * Required Scopes: [api:datasets-write]\n * URL: /v1/datasets/{datasetRid}/branches\n */\nexport function createBranch($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _createBranch, ...args);\n}\nconst _getBranch = [0, \"/v1/datasets/{0}/branches/{1}\"];\n\n/**\n * Get a Branch of a Dataset.\n *\n * Third-party applications using this endpoint via OAuth2 must request the following operation scope: `api:datasets-read`.\n *\n * @public\n *\n * Required Scopes: [api:datasets-read]\n * URL: /v1/datasets/{datasetRid}/branches/{branchId}\n */\nexport function getBranch($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _getBranch, ...args);\n}\nconst _deleteBranch = [3, \"/v1/datasets/{0}/branches/{1}\"];\n\n/**\n * Deletes the Branch with the given BranchId.\n *\n * Third-party applications using this endpoint via OAuth2 must request the following operation scope: `api:datasets-write`.\n *\n * @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 _listBranches = [0, \"/v1/datasets/{0}/branches\", 2];\n\n/**\n * Lists the Branches of a Dataset.\n *\n * Third-party applications using this endpoint via OAuth2 must request the following operation scope: `api:datasets-read`.\n *\n * @public\n *\n * Required Scopes: [api:datasets-read]\n * URL: /v1/datasets/{datasetRid}/branches\n */\nexport function listBranches($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _listBranches, ...args);\n}"]}
|
package/build/browser/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export { Branch_exports as Branches } from './chunk-
|
|
2
|
-
export { Dataset_exports as Datasets } from './chunk-
|
|
1
|
+
export { Branch_exports as Branches } from './chunk-JIXOPP3M.js';
|
|
2
|
+
export { Dataset_exports as Datasets } from './chunk-EDFN5GXZ.js';
|
|
3
3
|
export { File_exports as Files } from './chunk-WOQTHZR3.js';
|
|
4
4
|
export { Transaction_exports as Transactions } from './chunk-6JHAYAPR.js';
|
|
5
5
|
import './chunk-PZ5AY32C.js';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { createBranch, deleteBranch, getBranch, listBranches } from '../chunk-
|
|
1
|
+
export { createBranch, deleteBranch, getBranch, listBranches } from '../chunk-JIXOPP3M.js';
|
|
2
2
|
import '../chunk-PZ5AY32C.js';
|
|
3
3
|
//# sourceMappingURL=Branch.js.map
|
|
4
4
|
//# sourceMappingURL=Branch.js.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { createDataset, deleteSchema, getDataset, getSchema, putSchema, readTable } from '../chunk-
|
|
1
|
+
export { createDataset, deleteSchema, getDataset, getSchema, putSchema, readTable } from '../chunk-EDFN5GXZ.js';
|
|
2
2
|
import '../chunk-PZ5AY32C.js';
|
|
3
3
|
//# sourceMappingURL=Dataset.js.map
|
|
4
4
|
//# sourceMappingURL=Dataset.js.map
|
|
@@ -1,7 +1,13 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { FilePath, FolderRid, PageToken } from "@osdk/internal.foundry.core";
|
|
2
2
|
export type LooselyBrandedString<T extends string> = string & {
|
|
3
3
|
__LOOSE_BRAND?: T;
|
|
4
4
|
};
|
|
5
|
+
/**
|
|
6
|
+
* The identifier (name) of a Branch. Example: master.
|
|
7
|
+
*
|
|
8
|
+
* Log Safety: UNSAFE
|
|
9
|
+
*/
|
|
10
|
+
export type BranchId = LooselyBrandedString<"BranchId">;
|
|
5
11
|
/**
|
|
6
12
|
* The type of a Transaction.
|
|
7
13
|
*
|
|
@@ -15,6 +21,12 @@ export interface ListBranchesResponse {
|
|
|
15
21
|
nextPageToken?: PageToken;
|
|
16
22
|
data: Array<Branch>;
|
|
17
23
|
}
|
|
24
|
+
/**
|
|
25
|
+
* The Resource Identifier (RID) of a Dataset. Example: ri.foundry.main.dataset.c26f11c8-cdb3-4f44-9f5d-9816ea1c82da.
|
|
26
|
+
*
|
|
27
|
+
* Log Safety: SAFE
|
|
28
|
+
*/
|
|
29
|
+
export type DatasetRid = LooselyBrandedString<"DatasetRid">;
|
|
18
30
|
/**
|
|
19
31
|
* Log Safety: UNSAFE
|
|
20
32
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"_components.d.ts","sourceRoot":"","sources":["../../src/_components.ts"],"names":[],"mappings":"AAgBA,OAAO,KAAK,EACV,QAAQ,EACR,
|
|
1
|
+
{"version":3,"file":"_components.d.ts","sourceRoot":"","sources":["../../src/_components.ts"],"names":[],"mappings":"AAgBA,OAAO,KAAK,EACV,QAAQ,EACR,SAAS,EACT,SAAS,EACV,MAAM,6BAA6B,CAAC;AAErC,MAAM,MAAM,oBAAoB,CAAC,CAAC,SAAS,MAAM,IAAI,MAAM,GAAG;IAC5D,aAAa,CAAC,EAAE,CAAC,CAAC;CACnB,CAAC;AAEF;;;;GAIG;AACH,MAAM,MAAM,QAAQ,GAAG,oBAAoB,CAAC,UAAU,CAAC,CAAC;AAExD;;;;GAIG;AACH,MAAM,MAAM,eAAe,GAAG,QAAQ,GAAG,QAAQ,GAAG,UAAU,GAAG,Q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AW,GAAG,MAAM,CAAC;AAEjE;;;;GAIG;AACH,MAAM,WAAW,MAAM;IACrB,QAAQ,EAAE,QAAQ,CAAC;IACnB,cAAc,CAAC,EAAE,cAAc,CAAC;CACjC;AAED;;;;GAIG;AACH,MAAM,WAAW,iBAAiB;IAChC,aAAa,CAAC,EAAE,SAAS,CAAC;IAC1B,IAAI,EAAE,KAAK,CAAC,IAAI,CAAC,CAAC;CACnB;AAED;;GAEG;AACH,MAAM,WAAW,wBAAwB;IACvC,eAAe,CAAC,EAAE,eAAe,CAAC;CACnC;AAED;;;;GAIG;AACH,MAAM,MAAM,YAAY,GAAG,oBAAoB,CAAC,cAAc,CAAC,CAAC"}
|
package/build/esm/_errors.d.ts
CHANGED
|
@@ -71,6 +71,22 @@ export interface TransactionNotFound {
|
|
|
71
71
|
transactionRid: unknown;
|
|
72
72
|
};
|
|
73
73
|
}
|
|
74
|
+
/**
|
|
75
|
+
* The requested file could not be found on the given transaction range, or the client token does not have access to it.
|
|
76
|
+
*
|
|
77
|
+
* Log Safety: UNSAFE
|
|
78
|
+
*/
|
|
79
|
+
export interface FileNotFoundOnTransactionRange {
|
|
80
|
+
errorCode: "NOT_FOUND";
|
|
81
|
+
errorName: "FileNotFoundOnTransactionRange";
|
|
82
|
+
errorInstanceId: string;
|
|
83
|
+
parameters: {
|
|
84
|
+
datasetRid: unknown;
|
|
85
|
+
startTransactionRid: unknown;
|
|
86
|
+
endTransactionRid: unknown;
|
|
87
|
+
path: unknown;
|
|
88
|
+
};
|
|
89
|
+
}
|
|
74
90
|
/**
|
|
75
91
|
* The given transaction type is not valid. Valid transaction types are SNAPSHOT, UPDATE, APPEND, and DELETE.
|
|
76
92
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"_errors.d.ts","sourceRoot":"","sources":["../../src/_errors.ts"],"names":[],"mappings":"AAgBA,MAAM,MAAM,oBAAoB,CAAC,CAAC,SAAS,MAAM,IAAI,MAAM,GAAG;IAC5D,aAAa,C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,WAAW,cAAc;IAC7B,SAAS,EAAE,WAAW,CAAC;IACvB,SAAS,EAAE,gBAAgB,CAAC;IAC5B,eAAe,EAAE,MAAM,CAAC;IACxB,UAAU,EAAE;QACV,UAAU,EAAE,OAAO,CAAC;QACpB,QAAQ,EAAE,OAAO,CAAC;KACnB,CAAC;CACH;AAED;;;;GAIG;AACH,MAAM,WAAW,kBAAkB;IACjC,SAAS,EAAE,kBAAkB,CAAC;IAC9B,SAAS,EAAE,oBAAoB,CAAC;IAChC,eAAe,EAAE,MAAM,CAAC;IACxB,UAAU,EAAE;QACV,UAAU,EAAE,OAAO,CAAC;QACpB,cAAc,EAAE,OAAO,CAAC;QACxB,iBAAiB,EAAE,OAAO,CAAC;KAC5B,CAAC;CACH;AAED;;;;GAIG;AACH,MAAM,WAAW,uBAAuB;IACtC,SAAS,EAAE,kBAAkB,CAAC;IAC9B,SAAS,EAAE,yBAAyB,CAAC;IACrC,eAAe,EAAE,MAAM,CAAC;IACxB,UAAU,EAAE;QACV,UAAU,EAAE,OAAO,CAAC;KACrB,CAAC;CACH"}
|
|
@@ -23,19 +23,19 @@ var _readTable = [0, "/v1/datasets/{0}/readTable", 2, , "*/*"];
|
|
|
23
23
|
function readTable($ctx, ...args) {
|
|
24
24
|
return foundryPlatformFetch($ctx, _readTable, ...args);
|
|
25
25
|
}
|
|
26
|
-
var _getSchema = [0, "/v1/datasets/{0}/schema", 2];
|
|
27
|
-
function getSchema($ctx, ...args) {
|
|
28
|
-
return foundryPlatformFetch($ctx, _getSchema, ...args);
|
|
29
|
-
}
|
|
30
26
|
var _putSchema = [2, "/v1/datasets/{0}/schema", 3];
|
|
31
27
|
function putSchema($ctx, ...args) {
|
|
32
28
|
return foundryPlatformFetch($ctx, _putSchema, ...args);
|
|
33
29
|
}
|
|
30
|
+
var _getSchema = [0, "/v1/datasets/{0}/schema", 2];
|
|
31
|
+
function getSchema($ctx, ...args) {
|
|
32
|
+
return foundryPlatformFetch($ctx, _getSchema, ...args);
|
|
33
|
+
}
|
|
34
34
|
var _deleteSchema = [3, "/v1/datasets/{0}/schema", 2];
|
|
35
35
|
function deleteSchema($ctx, ...args) {
|
|
36
36
|
return foundryPlatformFetch($ctx, _deleteSchema, ...args);
|
|
37
37
|
}
|
|
38
38
|
|
|
39
39
|
export { Dataset_exports, createDataset, deleteSchema, getDataset, getSchema, putSchema, readTable };
|
|
40
|
-
//# sourceMappingURL=chunk-
|
|
41
|
-
//# sourceMappingURL=chunk-
|
|
40
|
+
//# sourceMappingURL=chunk-EDFN5GXZ.js.map
|
|
41
|
+
//# sourceMappingURL=chunk-EDFN5GXZ.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/public/Dataset.ts"],"names":["$foundryPlatformFetch"],"mappings":";;;;AAAA,IAAA,eAAA,GAAA,GAAA;AAAA,QAAA,CAAA,eAAA,EAAA;AAAA,EAAA,aAAA,EAAA,MAAA,aAAA;AAAA,EAAA,YAAA,EAAA,MAAA,YAAA;AAAA,EAAA,UAAA,EAAA,MAAA,UAAA;AAAA,EAAA,SAAA,EAAA,MAAA,SAAA;AAAA,EAAA,SAAA,EAAA,MAAA,SAAA;AAAA,EAAA,SAAA,EAAA,MAAA,SAAA;AAAA,CAAA,CAAA,CAAA;AAmBA,IAAM,cAAiB,GAAA,CAAC,CAAG,EAAA,cAAA,EAAgB,CAAC,CAAA,CAAA;AAYrC,SAAS,aAAA,CAAc,SAAS,IAAM,EAAA;AAC3C,EAAA,OAAOA,oBAAsB,CAAA,IAAA,EAAM,cAAgB,EAAA,GAAG,IAAI,CAAA,CAAA;AAC5D,CAAA;AACA,IAAM,WAAA,GAAc,CAAC,CAAA,EAAG,kBAAkB,CAAA,CAAA;AAYnC,SAAS,UAAA,CAAW,SAAS,IAAM,EAAA;AACxC,EAAA,OAAOA,oBAAsB,CAAA,IAAA,EAAM,WAAa,EAAA,GAAG,IAAI,CAAA,CAAA;AACzD,CAAA;AACA,IAAM,aAAa,CAAC,CAAA,EAA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unk-EDFN5GXZ.js","sourcesContent":["/*\n * Copyright 2024 Palantir Technologies, Inc. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport { foundryPlatformFetch as $foundryPlatformFetch } from \"@osdk/shared.net.platformapi\";\n//\n\nconst _createDataset = [1, \"/v1/datasets\", 1];\n\n/**\n * Creates a new Dataset. A default branch - `master` for most enrollments - will be created on the Dataset.\n *\n * Third-party applications using this endpoint via OAuth2 must request the following operation scope: `api:datasets-write`.\n *\n * @public\n *\n * Required Scopes: [api:datasets-write]\n * URL: /v1/datasets\n */\nexport function createDataset($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _createDataset, ...args);\n}\nconst _getDataset = [0, \"/v1/datasets/{0}\"];\n\n/**\n * Gets the Dataset with the given DatasetRid.\n *\n * Third-party applications using this endpoint via OAuth2 must request the following operation scope: `api:datasets-read`.\n *\n * @public\n *\n * Required Scopes: [api:datasets-read]\n * URL: /v1/datasets/{datasetRid}\n */\nexport function getDataset($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _getDataset, ...args);\n}\nconst _readTable = [0, \"/v1/datasets/{0}/readTable\", 2,, \"*/*\"];\n\n/**\n * Gets the content of a dataset as a table in the specified format.\n *\n * This endpoint currently does not support views (Virtual datasets composed of other datasets).\n *\n * Third-party applications using this endpoint via OAuth2 must request the following operation scope: `api:datasets-read`.\n *\n * @public\n *\n * Required Scopes: [api:datasets-read]\n * URL: /v1/datasets/{datasetRid}/readTable\n */\nexport function readTable($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _readTable, ...args);\n}\nconst _putSchema = [2, \"/v1/datasets/{0}/schema\", 3];\n\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 putSchema($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _putSchema, ...args);\n}\nconst _getSchema = [0, \"/v1/datasets/{0}/schema\", 2];\n\n/**\n * Retrieves the Schema for a Dataset and Branch, if it exists.\n *\n * @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/**\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}"]}
|
|
@@ -9,10 +9,6 @@ __export(Branch_exports, {
|
|
|
9
9
|
getBranch: () => getBranch,
|
|
10
10
|
listBranches: () => listBranches
|
|
11
11
|
});
|
|
12
|
-
var _listBranches = [0, "/v1/datasets/{0}/branches", 2];
|
|
13
|
-
function listBranches($ctx, ...args) {
|
|
14
|
-
return foundryPlatformFetch($ctx, _listBranches, ...args);
|
|
15
|
-
}
|
|
16
12
|
var _createBranch = [1, "/v1/datasets/{0}/branches", 1];
|
|
17
13
|
function createBranch($ctx, ...args) {
|
|
18
14
|
return foundryPlatformFetch($ctx, _createBranch, ...args);
|
|
@@ -25,7 +21,11 @@ var _deleteBranch = [3, "/v1/datasets/{0}/branches/{1}"];
|
|
|
25
21
|
function deleteBranch($ctx, ...args) {
|
|
26
22
|
return foundryPlatformFetch($ctx, _deleteBranch, ...args);
|
|
27
23
|
}
|
|
24
|
+
var _listBranches = [0, "/v1/datasets/{0}/branches", 2];
|
|
25
|
+
function listBranches($ctx, ...args) {
|
|
26
|
+
return foundryPlatformFetch($ctx, _listBranches, ...args);
|
|
27
|
+
}
|
|
28
28
|
|
|
29
29
|
export { Branch_exports, createBranch, deleteBranch, getBranch, listBranches };
|
|
30
|
-
//# sourceMappingURL=chunk-
|
|
31
|
-
//# sourceMappingURL=chunk-
|
|
30
|
+
//# sourceMappingURL=chunk-JIXOPP3M.js.map
|
|
31
|
+
//# sourceMappingURL=chunk-JIXOPP3M.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../src/public/Branch.ts"],"names":["$foundryPlatformFetch"],"mappings":";;;;AAAA,IAAA,cAAA,GAAA,GAAA;AAAA,QAAA,CAAA,cAAA,EAAA;AAAA,EAAA,YAAA,EAAA,MAAA,YAAA;AAAA,EAAA,YAAA,EAAA,MAAA,YAAA;AAAA,EAAA,SAAA,EAAA,MAAA,SAAA;AAAA,EAAA,YAAA,EAAA,MAAA,YAAA;AAAA,CAAA,CAAA,CAAA;AAmBA,IAAM,aAAgB,GAAA,CAAC,CAAG,EAAA,2BAAA,EAA6B,CAAC,CAAA,CAAA;AAYjD,SAAS,YAAA,CAAa,SAAS,IAAM,EAAA;AAC1C,EAAA,OAAOA,oBAAsB,CAAA,IAAA,EAAM,aAAe,EAAA,GAAG,IAAI,CAAA,CAAA;AAC3D,CAAA;AACA,IAAM,UAAA,GAAa,CAAC,CAAA,EAAG,+BAA+B,CAAA,CAAA;AAY/C,SAAS,SAAA,CAAU,SAAS,IAAM,EAAA;AACvC,EAAA,OAAOA,oBAAsB,CAAA,IAAA,EAAM,UAAY,EAAA,GAAG,IAAI,CAAA,CAAA;AACxD,CAAA;AACA,IAAM,aAAA,GAAgB,CAAC,CAAA,EAAG,+BAA+B,CAAA,CAAA;AAYlD,SAAS,YAAA,CAAa,SAAS,IAAM,EAAA;AAC1C,EAAA,OAAOA,oBAAsB,CAAA,IAAA,EAAM,aAAe,EAAA,GAAG,IAAI,CAAA,CAAA;AAC3D,CAAA;AACA,IAAM,aAAgB,GAAA,CAAC,CAAG,EAAA,2BAAA,EAA6B,CAAC,CAAA,CAAA;AAYjD,SAAS,YAAA,CAAa,SAAS,IAAM,EAAA;AAC1C,EAAA,OAAOA,oBAAsB,CAAA,IAAA,EAAM,aAAe,EAAA,GAAG,IAAI,CAAA,CAAA;AAC3D","file":"chunk-JIXOPP3M.js","sourcesContent":["/*\n * Copyright 2024 Palantir Technologies, Inc. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport { foundryPlatformFetch as $foundryPlatformFetch } from \"@osdk/shared.net.platformapi\";\n//\n\nconst _createBranch = [1, \"/v1/datasets/{0}/branches\", 1];\n\n/**\n * Creates a branch on an existing dataset. A branch may optionally point to a (committed) transaction.\n *\n * Third-party applications using this endpoint via OAuth2 must request the following operation scope: `api:datasets-write`.\n *\n * @public\n *\n * Required Scopes: [api:datasets-write]\n * URL: /v1/datasets/{datasetRid}/branches\n */\nexport function createBranch($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _createBranch, ...args);\n}\nconst _getBranch = [0, \"/v1/datasets/{0}/branches/{1}\"];\n\n/**\n * Get a Branch of a Dataset.\n *\n * Third-party applications using this endpoint via OAuth2 must request the following operation scope: `api:datasets-read`.\n *\n * @public\n *\n * Required Scopes: [api:datasets-read]\n * URL: /v1/datasets/{datasetRid}/branches/{branchId}\n */\nexport function getBranch($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _getBranch, ...args);\n}\nconst _deleteBranch = [3, \"/v1/datasets/{0}/branches/{1}\"];\n\n/**\n * Deletes the Branch with the given BranchId.\n *\n * Third-party applications using this endpoint via OAuth2 must request the following operation scope: `api:datasets-write`.\n *\n * @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 _listBranches = [0, \"/v1/datasets/{0}/branches\", 2];\n\n/**\n * Lists the Branches of a Dataset.\n *\n * Third-party applications using this endpoint via OAuth2 must request the following operation scope: `api:datasets-read`.\n *\n * @public\n *\n * Required Scopes: [api:datasets-read]\n * URL: /v1/datasets/{datasetRid}/branches\n */\nexport function listBranches($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _listBranches, ...args);\n}"]}
|
package/build/esm/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export type { Branch, CreateBranchRequest, CreateDatasetRequest, CreateTransactionRequest, Dataset, DatasetName, 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, InvalidBranchId, InvalidTransactionType, OpenTransactionAlreadyExists, PutSchemaPermissionDenied, ReadTablePermissionDenied, SchemaNotFound, TransactionNotCommitted, TransactionNotFound, TransactionNotOpen, UploadFilePermissionDenied, } from "./_errors.js";
|
|
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
3
|
export * as Branches from "./public/Branch.js";
|
|
4
4
|
export * as Datasets from "./public/Dataset.js";
|
|
5
5
|
export * as Files from "./public/File.js";
|
package/build/esm/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAgBA,YAAY,EACV,MAAM,EACN,mBAAmB,EACnB,oBAAoB,EACpB,wBAAwB,EACxB,OAAO,EACP,WAAW,EACX,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,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,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"}
|
package/build/esm/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export { Branch_exports as Branches } from './chunk-
|
|
2
|
-
export { Dataset_exports as Datasets } from './chunk-
|
|
1
|
+
export { Branch_exports as Branches } from './chunk-JIXOPP3M.js';
|
|
2
|
+
export { Dataset_exports as Datasets } from './chunk-EDFN5GXZ.js';
|
|
3
3
|
export { File_exports as Files } from './chunk-WOQTHZR3.js';
|
|
4
4
|
export { Transaction_exports as Transactions } from './chunk-6JHAYAPR.js';
|
|
5
5
|
import './chunk-PZ5AY32C.js';
|
|
@@ -1,23 +1,6 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { PageSize, PageToken } from "@osdk/internal.foundry.core";
|
|
2
2
|
import type { SharedClient as $Client, SharedClientContext as $ClientContext } from "@osdk/shared.client";
|
|
3
|
-
import type { Branch, CreateBranchRequest, ListBranchesResponse } from "../_components.js";
|
|
4
|
-
/**
|
|
5
|
-
* Lists the Branches of a Dataset.
|
|
6
|
-
*
|
|
7
|
-
* Third-party applications using this endpoint via OAuth2 must request the following operation scope: `api:datasets-read`.
|
|
8
|
-
*
|
|
9
|
-
* @public
|
|
10
|
-
*
|
|
11
|
-
* Required Scopes: [api:datasets-read]
|
|
12
|
-
* URL: /v1/datasets/{datasetRid}/branches
|
|
13
|
-
*/
|
|
14
|
-
export declare function listBranches($ctx: $Client | $ClientContext, ...args: [
|
|
15
|
-
datasetRid: DatasetRid,
|
|
16
|
-
$queryParams?: {
|
|
17
|
-
pageSize?: PageSize | undefined;
|
|
18
|
-
pageToken?: PageToken | undefined;
|
|
19
|
-
}
|
|
20
|
-
]): Promise<ListBranchesResponse>;
|
|
3
|
+
import type { Branch, BranchId, CreateBranchRequest, DatasetRid, ListBranchesResponse } from "../_components.js";
|
|
21
4
|
/**
|
|
22
5
|
* Creates a branch on an existing dataset. A branch may optionally point to a (committed) transaction.
|
|
23
6
|
*
|
|
@@ -51,4 +34,21 @@ export declare function getBranch($ctx: $Client | $ClientContext, ...args: [data
|
|
|
51
34
|
* URL: /v1/datasets/{datasetRid}/branches/{branchId}
|
|
52
35
|
*/
|
|
53
36
|
export declare function deleteBranch($ctx: $Client | $ClientContext, ...args: [datasetRid: DatasetRid, branchId: BranchId]): Promise<void>;
|
|
37
|
+
/**
|
|
38
|
+
* Lists the Branches of a Dataset.
|
|
39
|
+
*
|
|
40
|
+
* Third-party applications using this endpoint via OAuth2 must request the following operation scope: `api:datasets-read`.
|
|
41
|
+
*
|
|
42
|
+
* @public
|
|
43
|
+
*
|
|
44
|
+
* Required Scopes: [api:datasets-read]
|
|
45
|
+
* URL: /v1/datasets/{datasetRid}/branches
|
|
46
|
+
*/
|
|
47
|
+
export declare function listBranches($ctx: $Client | $ClientContext, ...args: [
|
|
48
|
+
datasetRid: DatasetRid,
|
|
49
|
+
$queryParams?: {
|
|
50
|
+
pageSize?: PageSize | undefined;
|
|
51
|
+
pageToken?: PageToken | undefined;
|
|
52
|
+
}
|
|
53
|
+
]): Promise<ListBranchesResponse>;
|
|
54
54
|
//# 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,
|
|
1
|
+
{"version":3,"file":"Branch.d.ts","sourceRoot":"","sources":["../../../src/public/Branch.ts"],"names":[],"mappings":"AAgBA,OAAO,KAAK,EAAE,QAAQ,EAAE,SAAS,EAAE,MAAM,6BAA6B,CAAC;AACvE,OAAO,KAAK,EACV,YAAY,IAAI,OAAO,EACvB,mBAAmB,IAAI,cAAc,EACtC,MAAM,qBAAqB,CAAC;AAG7B,OAAO,KAAK,EACV,MAAM,EACN,QAAQ,EACR,mBAAmB,EACnB,UAAU,EACV,oBAAoB,EACrB,MAAM,mBAAmB,CAAC;AAQ3B;;;;;;;;;GASG;AACH,wBAAgB,YAAY,CAC1B,IAAI,EAAE,OAAO,GAAG,cAAc,EAC9B,GAAG,IAAI,EAAE,CAAC,UAAU,EAAE,UAAU,EAAE,KAAK,EAAE,mBAAmB,CAAC,GAC5D,OAAO,CAAC,MAAM,CAAC,CAEjB;AAMD;;;;;;;;;GASG;AACH,wBAAgB,SAAS,CACvB,IAAI,EAAE,OAAO,GAAG,cAAc,EAC9B,GAAG,IAAI,EAAE,CAAC,UAAU,EAAE,UAAU,EAAE,QAAQ,EAAE,QAAQ,CAAC,GACpD,OAAO,CAAC,MAAM,CAAC,CAEjB;AAMD;;;;;;;;;GASG;AACH,wBAAgB,YAAY,CAC1B,IAAI,EAAE,OAAO,GAAG,cAAc,EAC9B,GAAG,IAAI,EAAE,CAAC,UAAU,EAAE,UAAU,EAAE,QAAQ,EAAE,QAAQ,CAAC,GACpD,OAAO,CAAC,IAAI,CAAC,CAEf;AAYD;;;;;;;;;GASG;AACH,wBAAgB,YAAY,CAC1B,IAAI,EAAE,OAAO,GAAG,cAAc,EAC9B,GAAG,IAAI,EAAE;IACP,UAAU,EAAE,UAAU;IAEtB,YAAY,CAAC,EAAE;QACb,QAAQ,CAAC,EAAE,QAAQ,GAAG,SAAS,CAAC;QAChC,SAAS,CAAC,EAAE,SAAS,GAAG,SAAS,CAAC;KACnC;CACF,GACA,OAAO,CAAC,oBAAoB,CAAC,CAE/B"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { createBranch, deleteBranch, getBranch, listBranches } from '../chunk-
|
|
1
|
+
export { createBranch, deleteBranch, getBranch, listBranches } from '../chunk-JIXOPP3M.js';
|
|
2
2
|
import '../chunk-PZ5AY32C.js';
|
|
3
3
|
//# sourceMappingURL=Branch.js.map
|
|
4
4
|
//# sourceMappingURL=Branch.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { PreviewMode } from "@osdk/internal.foundry.core";
|
|
2
2
|
import type { SharedClient as $Client, SharedClientContext as $ClientContext } from "@osdk/shared.client";
|
|
3
|
-
import type { CreateDatasetRequest, Dataset, TableExportFormat, TransactionRid } from "../_components.js";
|
|
3
|
+
import type { BranchId, CreateDatasetRequest, Dataset, DatasetRid, TableExportFormat, TransactionRid } 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
|
*
|
|
@@ -47,37 +47,37 @@ export declare function readTable($ctx: $Client | $ClientContext, ...args: [
|
|
|
47
47
|
}
|
|
48
48
|
]): Promise<Blob>;
|
|
49
49
|
/**
|
|
50
|
-
*
|
|
50
|
+
* Puts a Schema on an existing Dataset and Branch.
|
|
51
51
|
*
|
|
52
52
|
* @alpha
|
|
53
53
|
*
|
|
54
|
-
* Required Scopes: [api:datasets-
|
|
54
|
+
* Required Scopes: [api:datasets-write]
|
|
55
55
|
* URL: /v1/datasets/{datasetRid}/schema
|
|
56
56
|
*/
|
|
57
|
-
export declare function
|
|
57
|
+
export declare function putSchema($ctx: $Client | $ClientContext, ...args: [
|
|
58
58
|
datasetRid: DatasetRid,
|
|
59
|
+
$body: any,
|
|
59
60
|
$queryParams?: {
|
|
60
61
|
branchId?: BranchId | undefined;
|
|
61
|
-
transactionRid?: TransactionRid | undefined;
|
|
62
62
|
preview?: PreviewMode | undefined;
|
|
63
63
|
}
|
|
64
|
-
]): Promise<
|
|
64
|
+
]): Promise<void>;
|
|
65
65
|
/**
|
|
66
|
-
*
|
|
66
|
+
* Retrieves the Schema for a Dataset and Branch, if it exists.
|
|
67
67
|
*
|
|
68
68
|
* @alpha
|
|
69
69
|
*
|
|
70
|
-
* Required Scopes: [api:datasets-
|
|
70
|
+
* Required Scopes: [api:datasets-read]
|
|
71
71
|
* URL: /v1/datasets/{datasetRid}/schema
|
|
72
72
|
*/
|
|
73
|
-
export declare function
|
|
73
|
+
export declare function getSchema($ctx: $Client | $ClientContext, ...args: [
|
|
74
74
|
datasetRid: DatasetRid,
|
|
75
|
-
$body: any,
|
|
76
75
|
$queryParams?: {
|
|
77
76
|
branchId?: BranchId | undefined;
|
|
77
|
+
transactionRid?: TransactionRid | undefined;
|
|
78
78
|
preview?: PreviewMode | undefined;
|
|
79
79
|
}
|
|
80
|
-
]): Promise<
|
|
80
|
+
]): Promise<any | undefined>;
|
|
81
81
|
/**
|
|
82
82
|
* Deletes the Schema from a Dataset and Branch.
|
|
83
83
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Dataset.d.ts","sourceRoot":"","sources":["../../../src/public/Dataset.ts"],"names":[],"mappings":"AAgBA,OAAO,KAAK,
|
|
1
|
+
{"version":3,"file":"Dataset.d.ts","sourceRoot":"","sources":["../../../src/public/Dataset.ts"],"names":[],"mappings":"AAgBA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,6BAA6B,CAAC;AAC/D,OAAO,KAAK,EACV,YAAY,IAAI,OAAO,EACvB,mBAAmB,IAAI,cAAc,EACtC,MAAM,qBAAqB,CAAC;AAG7B,OAAO,KAAK,EACV,QAAQ,EACR,oBAAoB,EACpB,OAAO,EACP,UAAU,EACV,iBAAiB,EACjB,cAAc,EACf,MAAM,mBAAmB,CAAC;AAQ3B;;;;;;;;;GASG;AACH,wBAAgB,aAAa,CAC3B,IAAI,EAAE,OAAO,GAAG,cAAc,EAC9B,GAAG,IAAI,EAAE,CAAC,KAAK,EAAE,oBAAoB,CAAC,GACrC,OAAO,CAAC,OAAO,CAAC,CAElB;AAMD;;;;;;;;;GASG;AACH,wBAAgB,UAAU,CACxB,IAAI,EAAE,OAAO,GAAG,cAAc,EAC9B,GAAG,IAAI,EAAE,CAAC,UAAU,EAAE,UAAU,CAAC,GAChC,OAAO,CAAC,OAAO,CAAC,CAElB;AAgBD;;;;;;;;;;;GAWG;AACH,wBAAgB,SAAS,CACvB,IAAI,EAAE,OAAO,GAAG,cAAc,EAC9B,GAAG,IAAI,EAAE;IACP,UAAU,EAAE,UAAU;IAEtB,YAAY,EAAE;QACZ,QAAQ,CAAC,EAAE,QAAQ,GAAG,SAAS,CAAC;QAChC,mBAAmB,CAAC,EAAE,cAAc,GAAG,SAAS,CAAC;QACjD,iBAAiB,CAAC,EAAE,cAAc,GAAG,SAAS,CAAC;QAC/C,MAAM,EAAE,iBAAiB,CAAC;QAC1B,OAAO,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;QACvB,QAAQ,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;KAC/B;CACF,GACA,OAAO,CAAC,IAAI,CAAC,CAEf;AAaD;;;;;;;GAOG;AACH,wBAAgB,SAAS,CACvB,IAAI,EAAE,OAAO,GAAG,cAAc,EAC9B,GAAG,IAAI,EAAE;IACP,UAAU,EAAE,UAAU;IACtB,KAAK,EAAE,GAAG;IACV,YAAY,CAAC,EAAE;QACb,QAAQ,CAAC,EAAE,QAAQ,GAAG,SAAS,CAAC;QAChC,OAAO,CAAC,EAAE,WAAW,GAAG,SAAS,CAAC;KACnC;CACF,GACA,OAAO,CAAC,IAAI,CAAC,CAEf;AAaD;;;;;;;GAOG;AACH,wBAAgB,SAAS,CACvB,IAAI,EAAE,OAAO,GAAG,cAAc,EAC9B,GAAG,IAAI,EAAE;IACP,UAAU,EAAE,UAAU;IAEtB,YAAY,CAAC,EAAE;QACb,QAAQ,CAAC,EAAE,QAAQ,GAAG,SAAS,CAAC;QAChC,cAAc,CAAC,EAAE,cAAc,GAAG,SAAS,CAAC;QAC5C,OAAO,CAAC,EAAE,WAAW,GAAG,SAAS,CAAC;KACnC;CACF,GACA,OAAO,CAAC,GAAG,GAAG,SAAS,CAAC,CAE1B;AAaD;;;;;;;GAOG;AACH,wBAAgB,YAAY,CAC1B,IAAI,EAAE,OAAO,GAAG,cAAc,EAC9B,GAAG,IAAI,EAAE;IACP,UAAU,EAAE,UAAU;IAEtB,YAAY,CAAC,EAAE;QACb,QAAQ,CAAC,EAAE,QAAQ,GAAG,SAAS,CAAC;QAChC,cAAc,CAAC,EAAE,cAAc,GAAG,SAAS,CAAC;QAC5C,OAAO,CAAC,EAAE,WAAW,GAAG,SAAS,CAAC;KACnC;CACF,GACA,OAAO,CAAC,IAAI,CAAC,CAEf"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { createDataset, deleteSchema, getDataset, getSchema, putSchema, readTable } from '../chunk-
|
|
1
|
+
export { createDataset, deleteSchema, getDataset, getSchema, putSchema, readTable } from '../chunk-EDFN5GXZ.js';
|
|
2
2
|
import '../chunk-PZ5AY32C.js';
|
|
3
3
|
//# sourceMappingURL=Dataset.js.map
|
|
4
4
|
//# sourceMappingURL=Dataset.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { FilePath, PageSize, PageToken } from "@osdk/internal.foundry.core";
|
|
2
2
|
import type { SharedClient as $Client, SharedClientContext as $ClientContext } from "@osdk/shared.client";
|
|
3
|
-
import type { File, ListFilesResponse, TransactionRid, TransactionType } from "../_components.js";
|
|
3
|
+
import type { BranchId, DatasetRid, File, ListFilesResponse, TransactionRid, TransactionType } from "../_components.js";
|
|
4
4
|
/**
|
|
5
5
|
* Lists Files contained in a Dataset. By default files are listed on the latest view of the default
|
|
6
6
|
* branch - `master` for most enrollments.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"File.d.ts","sourceRoot":"","sources":["../../../src/public/File.ts"],"names":[],"mappings":"AAgBA,OAAO,KAAK,EACV,QAAQ,EACR,
|
|
1
|
+
{"version":3,"file":"File.d.ts","sourceRoot":"","sources":["../../../src/public/File.ts"],"names":[],"mappings":"AAgBA,OAAO,KAAK,EACV,QAAQ,EACR,QAAQ,EACR,SAAS,EACV,MAAM,6BAA6B,CAAC;AACrC,OAAO,KAAK,EACV,YAAY,IAAI,OAAO,EACvB,mBAAmB,IAAI,cAAc,EACtC,MAAM,qBAAqB,CAAC;AAG7B,OAAO,KAAK,EACV,QAAQ,EACR,UAAU,EACV,IAAI,EACJ,iBAAiB,EACjB,cAAc,EACd,eAAe,EAChB,MAAM,mBAAmB,CAAC;AAiB3B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAgCG;AACH,wBAAgB,SAAS,CACvB,IAAI,EAAE,OAAO,GAAG,cAAc,EAC9B,GAAG,IAAI,EAAE;IACP,UAAU,EAAE,UAAU;IAEtB,YAAY,CAAC,EAAE;QACb,QAAQ,CAAC,EAAE,QAAQ,GAAG,SAAS,CAAC;QAChC,m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YAAY,CAAC,EAAE;QACb,QAAQ,CAAC,EAAE,QAAQ,GAAG,SAAS,CAAC;QAChC,cAAc,CAAC,EAAE,cAAc,GAAG,SAAS,CAAC;KAC7C;CACF,GACA,OAAO,CAAC,IAAI,CAAC,CAEf;AAcD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA+BG;AACH,wBAAgB,cAAc,CAC5B,IAAI,EAAE,OAAO,GAAG,cAAc,EAC9B,GAAG,IAAI,EAAE;IACP,UAAU,EAAE,UAAU;IACtB,QAAQ,EAAE,QAAQ;IAElB,YAAY,CAAC,EAAE;QACb,QAAQ,CAAC,EAAE,QAAQ,GAAG,SAAS,CAAC;QAChC,mBAAmB,CAAC,EAAE,cAAc,GAAG,SAAS,CAAC;QACjD,iBAAiB,CAAC,EAAE,cAAc,GAAG,SAAS,CAAC;KAChD;CACF,GACA,OAAO,CAAC,IAAI,CAAC,CAEf"}
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import type { BranchId, DatasetRid } from "@osdk/internal.foundry.core";
|
|
2
1
|
import type { SharedClient as $Client, SharedClientContext as $ClientContext } from "@osdk/shared.client";
|
|
3
|
-
import type { CreateTransactionRequest, Transaction, TransactionRid } from "../_components.js";
|
|
2
|
+
import type { BranchId, CreateTransactionRequest, DatasetRid, Transaction, TransactionRid } from "../_components.js";
|
|
4
3
|
/**
|
|
5
4
|
* Creates a Transaction on a Branch of a Dataset.
|
|
6
5
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Transaction.d.ts","sourceRoot":"","sources":["../../../src/public/Transaction.ts"],"names":[],"mappings":"AAgBA,OAAO,KAAK,
|
|
1
|
+
{"version":3,"file":"Transaction.d.ts","sourceRoot":"","sources":["../../../src/public/Transaction.ts"],"names":[],"mappings":"AAgBA,OAAO,KAAK,EACV,YAAY,IAAI,OAAO,EACvB,mBAAmB,IAAI,cAAc,EACtC,MAAM,qBAAqB,CAAC;AAG7B,OAAO,KAAK,EACV,QAAQ,EACR,wBAAwB,EACxB,UAAU,EACV,WAAW,EACX,cAAc,EACf,MAAM,mBAAmB,CAAC;AAY3B;;;;;;;;;GASG;AACH,wBAAgB,iBAAiB,CAC/B,IAAI,EAAE,OAAO,GAAG,cAAc,EAC9B,GAAG,IAAI,EAAE;IACP,UAAU,EAAE,UAAU;IACtB,KAAK,EAAE,wBAAwB;IAC/B,YAAY,CAAC,EAAE;QAAE,QAAQ,CAAC,EAAE,QAAQ,GAAG,SAAS,CAAA;KAAE;CACnD,GACA,OAAO,CAAC,WAAW,CAAC,CAEtB;AASD;;;;;;;;;GASG;AACH,wBAAgB,cAAc,CAC5B,IAAI,EAAE,OAAO,GAAG,cAAc,EAC9B,GAAG,IAAI,EAAE,CAAC,UAAU,EAAE,UAAU,EAAE,cAAc,EAAE,cAAc,CAAC,GAChE,OAAO,CAAC,WAAW,CAAC,CAEtB;AASD;;;;;;;;;;GAUG;AACH,wBAAgB,iBAAiB,CAC/B,IAAI,EAAE,OAAO,GAAG,cAAc,EAC9B,GAAG,IAAI,EAAE,CAAC,UAAU,EAAE,UAAU,EAAE,cAAc,EAAE,cAAc,CAAC,GAChE,OAAO,CAAC,WAAW,CAAC,CAEtB;AASD;;;;;;;;;;GAUG;AACH,wBAAgB,gBAAgB,CAC9B,IAAI,EAAE,OAAO,GAAG,cAAc,EAC9B,GAAG,IAAI,EAAE,CAAC,UAAU,EAAE,UAAU,EAAE,cAAc,EAAE,cAAc,CAAC,GAChE,OAAO,CAAC,WAAW,CAAC,CAEtB"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@osdk/internal.foundry.datasets",
|
|
3
|
-
"version": "0.2.0-beta.
|
|
3
|
+
"version": "0.2.0-beta.7",
|
|
4
4
|
"license": "Apache-2.0",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -17,15 +17,14 @@
|
|
|
17
17
|
}
|
|
18
18
|
},
|
|
19
19
|
"dependencies": {
|
|
20
|
-
"@osdk/internal.foundry.core": "0.2.0-beta.
|
|
21
|
-
"@osdk/shared.net": "~
|
|
22
|
-
"@osdk/shared.
|
|
23
|
-
"@osdk/shared.client": "~0.0.0"
|
|
20
|
+
"@osdk/internal.foundry.core": "0.2.0-beta.7",
|
|
21
|
+
"@osdk/shared.net.platformapi": "~0.3.0-beta.0",
|
|
22
|
+
"@osdk/shared.client": "~1.0.0-beta.0"
|
|
24
23
|
},
|
|
25
24
|
"devDependencies": {
|
|
26
25
|
"typescript": "^5.5.4",
|
|
27
|
-
"@osdk/monorepo.api-extractor": "~0.0.0",
|
|
28
26
|
"@osdk/monorepo.tsconfig": "~0.0.0",
|
|
27
|
+
"@osdk/monorepo.api-extractor": "~0.0.0",
|
|
29
28
|
"@osdk/monorepo.tsup": "~0.0.0"
|
|
30
29
|
},
|
|
31
30
|
"publishConfig": {
|
|
@@ -40,13 +39,12 @@
|
|
|
40
39
|
"templates",
|
|
41
40
|
"*.d.ts"
|
|
42
41
|
],
|
|
43
|
-
"main": "./build/js/index.cjs",
|
|
44
42
|
"module": "./build/esm/index.js",
|
|
45
43
|
"types": "./build/esm/index.d.ts",
|
|
46
44
|
"sls": {
|
|
47
45
|
"dependencies": {
|
|
48
46
|
"com.palantir.foundry.api:api-gateway": {
|
|
49
|
-
"minVersion": "1.
|
|
47
|
+
"minVersion": "1.927.0",
|
|
50
48
|
"maxVersion": "1.x.x",
|
|
51
49
|
"optional": true
|
|
52
50
|
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/public/Branch.ts"],"names":["$foundryPlatformFetch"],"mappings":";;;;AAAA,IAAA,cAAA,GAAA,GAAA;AAAA,QAAA,CAAA,cAAA,EAAA;AAAA,EAAA,YAAA,EAAA,MAAA,YAAA;AAAA,EAAA,YAAA,EAAA,MAAA,YAAA;AAAA,EAAA,SAAA,EAAA,MAAA,SAAA;AAAA,EAAA,YAAA,EAAA,MAAA,YAAA;AAAA,CAAA,CAAA,CAAA;AAmBA,IAAM,aAAgB,GAAA,CAAC,CAAG,EAAA,2BAAA,EAA6B,CAAC,CAAA,CAAA;AAYjD,SAAS,YAAA,CAAa,SAAS,IAAM,EAAA;AAC1C,EAAA,OAAOA,oBAAsB,CAAA,IAAA,EAAM,aAAe,EAAA,GAAG,IAAI,CAAA,CAAA;AAC3D,CAAA;AACA,IAAM,aAAgB,GAAA,CAAC,CAAG,EAAA,2BAAA,EAA6B,CAAC,CAAA,CAAA;AAYjD,SAAS,YAAA,CAAa,SAAS,IAAM,EAAA;AAC1C,EAAA,OAAOA,oBAAsB,CAAA,IAAA,EAAM,aAAe,EAAA,GAAG,IAAI,CAAA,CAAA;AAC3D,CAAA;AACA,IAAM,UAAA,GAAa,CAAC,CAAA,EAAG,+BAA+B,CAAA,CAAA;AAY/C,SAAS,SAAA,CAAU,SAAS,IAAM,EAAA;AACvC,EAAA,OAAOA,oBAAsB,CAAA,IAAA,EAAM,UAAY,EAAA,GAAG,IAAI,CAAA,CAAA;AACxD,CAAA;AACA,IAAM,aAAA,GAAgB,CAAC,CAAA,EAAG,+BAA+B,CAAA,CAAA;AAYlD,SAAS,YAAA,CAAa,SAAS,IAAM,EAAA;AAC1C,EAAA,OAAOA,oBAAsB,CAAA,IAAA,EAAM,aAAe,EAAA,GAAG,IAAI,CAAA,CAAA;AAC3D","file":"chunk-S3RCUT7E.js","sourcesContent":["/*\n * Copyright 2024 Palantir Technologies, Inc. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport { foundryPlatformFetch as $foundryPlatformFetch } from \"@osdk/shared.net.platformapi\";\n//\n\nconst _listBranches = [0, \"/v1/datasets/{0}/branches\", 2];\n\n/**\n * Lists the Branches of a Dataset.\n *\n * Third-party applications using this endpoint via OAuth2 must request the following operation scope: `api:datasets-read`.\n *\n * @public\n *\n * Required Scopes: [api:datasets-read]\n * URL: /v1/datasets/{datasetRid}/branches\n */\nexport function listBranches($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _listBranches, ...args);\n}\nconst _createBranch = [1, \"/v1/datasets/{0}/branches\", 1];\n\n/**\n * Creates a branch on an existing dataset. A branch may optionally point to a (committed) transaction.\n *\n * Third-party applications using this endpoint via OAuth2 must request the following operation scope: `api:datasets-write`.\n *\n * @public\n *\n * Required Scopes: [api:datasets-write]\n * URL: /v1/datasets/{datasetRid}/branches\n */\nexport function createBranch($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _createBranch, ...args);\n}\nconst _getBranch = [0, \"/v1/datasets/{0}/branches/{1}\"];\n\n/**\n * Get a Branch of a Dataset.\n *\n * Third-party applications using this endpoint via OAuth2 must request the following operation scope: `api:datasets-read`.\n *\n * @public\n *\n * Required Scopes: [api:datasets-read]\n * URL: /v1/datasets/{datasetRid}/branches/{branchId}\n */\nexport function getBranch($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _getBranch, ...args);\n}\nconst _deleteBranch = [3, \"/v1/datasets/{0}/branches/{1}\"];\n\n/**\n * Deletes the Branch with the given BranchId.\n *\n * Third-party applications using this endpoint via OAuth2 must request the following operation scope: `api:datasets-write`.\n *\n * @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}"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/public/Branch.ts"],"names":["$foundryPlatformFetch"],"mappings":";;;;AAAA,IAAA,cAAA,GAAA,GAAA;AAAA,QAAA,CAAA,cAAA,EAAA;AAAA,EAAA,YAAA,EAAA,MAAA,YAAA;AAAA,EAAA,YAAA,EAAA,MAAA,YAAA;AAAA,EAAA,SAAA,EAAA,MAAA,SAAA;AAAA,EAAA,YAAA,EAAA,MAAA,YAAA;AAAA,CAAA,CAAA,CAAA;AAmBA,IAAM,aAAgB,GAAA,CAAC,CAAG,EAAA,2BAAA,EAA6B,CAAC,CAAA,CAAA;AAYjD,SAAS,YAAA,CAAa,SAAS,IAAM,EAAA;AAC1C,EAAA,OAAOA,oBAAsB,CAAA,IAAA,EAAM,aAAe,EAAA,GAAG,IAAI,CAAA,CAAA;AAC3D,CAAA;AACA,IAAM,aAAgB,GAAA,CAAC,CAAG,EAAA,2BAAA,EAA6B,CAAC,CAAA,CAAA;AAYjD,SAAS,YAAA,CAAa,SAAS,IAAM,EAAA;AAC1C,EAAA,OAAOA,oBAAsB,CAAA,IAAA,EAAM,aAAe,EAAA,GAAG,IAAI,CAAA,CAAA;AAC3D,CAAA;AACA,IAAM,UAAA,GAAa,CAAC,CAAA,EAAG,+BAA+B,CAAA,CAAA;AAY/C,SAAS,SAAA,CAAU,SAAS,IAAM,EAAA;AACvC,EAAA,OAAOA,oBAAsB,CAAA,IAAA,EAAM,UAAY,EAAA,GAAG,IAAI,CAAA,CAAA;AACxD,CAAA;AACA,IAAM,aAAA,GAAgB,CAAC,CAAA,EAAG,+BAA+B,CAAA,CAAA;AAYlD,SAAS,YAAA,CAAa,SAAS,IAAM,EAAA;AAC1C,EAAA,OAAOA,oBAAsB,CAAA,IAAA,EAAM,aAAe,EAAA,GAAG,IAAI,CAAA,CAAA;AAC3D","file":"chunk-S3RCUT7E.js","sourcesContent":["/*\n * Copyright 2024 Palantir Technologies, Inc. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport { foundryPlatformFetch as $foundryPlatformFetch } from \"@osdk/shared.net.platformapi\";\n//\n\nconst _listBranches = [0, \"/v1/datasets/{0}/branches\", 2];\n\n/**\n * Lists the Branches of a Dataset.\n *\n * Third-party applications using this endpoint via OAuth2 must request the following operation scope: `api:datasets-read`.\n *\n * @public\n *\n * Required Scopes: [api:datasets-read]\n * URL: /v1/datasets/{datasetRid}/branches\n */\nexport function listBranches($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _listBranches, ...args);\n}\nconst _createBranch = [1, \"/v1/datasets/{0}/branches\", 1];\n\n/**\n * Creates a branch on an existing dataset. A branch may optionally point to a (committed) transaction.\n *\n * Third-party applications using this endpoint via OAuth2 must request the following operation scope: `api:datasets-write`.\n *\n * @public\n *\n * Required Scopes: [api:datasets-write]\n * URL: /v1/datasets/{datasetRid}/branches\n */\nexport function createBranch($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _createBranch, ...args);\n}\nconst _getBranch = [0, \"/v1/datasets/{0}/branches/{1}\"];\n\n/**\n * Get a Branch of a Dataset.\n *\n * Third-party applications using this endpoint via OAuth2 must request the following operation scope: `api:datasets-read`.\n *\n * @public\n *\n * Required Scopes: [api:datasets-read]\n * URL: /v1/datasets/{datasetRid}/branches/{branchId}\n */\nexport function getBranch($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _getBranch, ...args);\n}\nconst _deleteBranch = [3, \"/v1/datasets/{0}/branches/{1}\"];\n\n/**\n * Deletes the Branch with the given BranchId.\n *\n * Third-party applications using this endpoint via OAuth2 must request the following operation scope: `api:datasets-write`.\n *\n * @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}"]}
|