@osdk/internal.foundry.datasets 2.78.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.
- package/CHANGELOG.md +13 -0
- package/build/browser/index.d.ts +1 -6
- package/build/browser/index.d.ts.map +1 -1
- package/build/browser/index.js +1 -4
- package/build/browser/index.js.map +1 -1
- package/build/browser/public/Branch.d.ts +1 -49
- package/build/browser/public/Branch.d.ts.map +1 -1
- package/build/browser/public/Branch.js +1 -50
- package/build/browser/public/Branch.js.map +1 -1
- package/build/browser/public/Dataset.d.ts +1 -91
- package/build/browser/public/Dataset.d.ts.map +1 -1
- package/build/browser/public/Dataset.js +1 -76
- package/build/browser/public/Dataset.js.map +1 -1
- package/build/browser/public/File.d.ts +1 -190
- package/build/browser/public/File.d.ts.map +1 -1
- package/build/browser/public/File.js +1 -162
- package/build/browser/public/File.js.map +1 -1
- package/build/browser/public/Transaction.d.ts +1 -56
- package/build/browser/public/Transaction.d.ts.map +1 -1
- package/build/browser/public/Transaction.js +1 -52
- package/build/browser/public/Transaction.js.map +1 -1
- package/build/browser/public/v1.d.ts +2 -0
- package/build/browser/public/v1.d.ts.map +1 -0
- package/build/browser/public/v1.js +17 -0
- package/build/browser/public/v1.js.map +1 -0
- package/build/browser/{_components.d.ts → v1/_components.d.ts} +1 -1
- package/build/browser/v1/_components.d.ts.map +1 -0
- package/build/browser/v1/_errors.d.ts.map +1 -0
- package/build/browser/v1/index.d.ts +7 -0
- package/build/browser/v1/index.d.ts.map +1 -0
- package/build/browser/v1/index.js +20 -0
- package/build/browser/v1/index.js.map +1 -0
- package/build/browser/v1/public/Branch.d.ts +50 -0
- package/build/browser/v1/public/Branch.d.ts.map +1 -0
- package/build/browser/v1/public/Branch.js +66 -0
- package/build/browser/v1/public/Branch.js.map +1 -0
- package/build/browser/v1/public/Dataset.d.ts +92 -0
- package/build/browser/v1/public/Dataset.d.ts.map +1 -0
- package/build/browser/v1/public/Dataset.js +92 -0
- package/build/browser/v1/public/Dataset.js.map +1 -0
- package/build/browser/v1/public/File.d.ts +191 -0
- package/build/browser/v1/public/File.d.ts.map +1 -0
- package/build/browser/v1/public/File.js +178 -0
- package/build/browser/v1/public/File.js.map +1 -0
- package/build/browser/v1/public/Transaction.d.ts +57 -0
- package/build/browser/v1/public/Transaction.d.ts.map +1 -0
- package/build/browser/v1/public/Transaction.js +68 -0
- package/build/browser/v1/public/Transaction.js.map +1 -0
- package/build/esm/index.d.ts +1 -6
- package/build/esm/index.d.ts.map +1 -1
- package/build/esm/index.js +1 -4
- package/build/esm/index.js.map +1 -1
- package/build/esm/public/Branch.d.ts +1 -49
- package/build/esm/public/Branch.d.ts.map +1 -1
- package/build/esm/public/Branch.js +1 -50
- package/build/esm/public/Branch.js.map +1 -1
- package/build/esm/public/Dataset.d.ts +1 -91
- package/build/esm/public/Dataset.d.ts.map +1 -1
- package/build/esm/public/Dataset.js +1 -76
- package/build/esm/public/Dataset.js.map +1 -1
- package/build/esm/public/File.d.ts +1 -190
- package/build/esm/public/File.d.ts.map +1 -1
- package/build/esm/public/File.js +1 -162
- package/build/esm/public/File.js.map +1 -1
- package/build/esm/public/Transaction.d.ts +1 -56
- package/build/esm/public/Transaction.d.ts.map +1 -1
- package/build/esm/public/Transaction.js +1 -52
- package/build/esm/public/Transaction.js.map +1 -1
- package/build/esm/public/v1.d.ts +2 -0
- package/build/esm/public/v1.d.ts.map +1 -0
- package/build/esm/public/v1.js +17 -0
- package/build/esm/public/v1.js.map +1 -0
- package/build/esm/{_components.d.ts → v1/_components.d.ts} +1 -1
- package/build/esm/v1/_components.d.ts.map +1 -0
- package/build/esm/v1/_errors.d.ts.map +1 -0
- package/build/esm/v1/index.d.ts +7 -0
- package/build/esm/v1/index.d.ts.map +1 -0
- package/build/esm/v1/index.js +20 -0
- package/build/esm/v1/index.js.map +1 -0
- package/build/esm/v1/public/Branch.d.ts +50 -0
- package/build/esm/v1/public/Branch.d.ts.map +1 -0
- package/build/esm/v1/public/Branch.js +66 -0
- package/build/esm/v1/public/Branch.js.map +1 -0
- package/build/esm/v1/public/Dataset.d.ts +92 -0
- package/build/esm/v1/public/Dataset.d.ts.map +1 -0
- package/build/esm/v1/public/Dataset.js +92 -0
- package/build/esm/v1/public/Dataset.js.map +1 -0
- package/build/esm/v1/public/File.d.ts +191 -0
- package/build/esm/v1/public/File.d.ts.map +1 -0
- package/build/esm/v1/public/File.js +178 -0
- package/build/esm/v1/public/File.js.map +1 -0
- package/build/esm/v1/public/Transaction.d.ts +57 -0
- package/build/esm/v1/public/Transaction.d.ts.map +1 -0
- package/build/esm/v1/public/Transaction.js +68 -0
- package/build/esm/v1/public/Transaction.js.map +1 -0
- package/package.json +9 -4
- package/v1.d.ts +17 -0
- package/build/browser/_components.d.ts.map +0 -1
- package/build/browser/_errors.d.ts.map +0 -1
- package/build/esm/_components.d.ts.map +0 -1
- package/build/esm/_errors.d.ts.map +0 -1
- /package/build/browser/{_components.js → v1/_components.js} +0 -0
- /package/build/browser/{_components.js.map → v1/_components.js.map} +0 -0
- /package/build/browser/{_errors.d.ts → v1/_errors.d.ts} +0 -0
- /package/build/browser/{_errors.js → v1/_errors.js} +0 -0
- /package/build/browser/{_errors.js.map → v1/_errors.js.map} +0 -0
- /package/build/esm/{_components.js → v1/_components.js} +0 -0
- /package/build/esm/{_components.js.map → v1/_components.js.map} +0 -0
- /package/build/esm/{_errors.d.ts → v1/_errors.d.ts} +0 -0
- /package/build/esm/{_errors.js → v1/_errors.js} +0 -0
- /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":[]}
|
package/build/esm/index.d.ts
CHANGED
|
@@ -1,7 +1,2 @@
|
|
|
1
|
-
export
|
|
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
|
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,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAgBA,cAAc,eAAe,CAAC"}
|
package/build/esm/index.js
CHANGED
|
@@ -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 *
|
|
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
|
package/build/esm/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","names":[
|
|
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
|
-
|
|
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,
|
|
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
|
-
|
|
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":[
|
|
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
|
-
|
|
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":"AAgBA,
|
|
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
|
-
|
|
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":[
|
|
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":[]}
|