@osdk/internal.foundry.datasets 0.1.0-beta.2 → 0.2.0-beta.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +39 -0
- package/build/browser/{chunk-267TDC7H.js → chunk-6JHAYAPR.js} +2 -2
- package/build/browser/chunk-6JHAYAPR.js.map +1 -0
- package/build/browser/{chunk-5ZK5IVCS.js → chunk-LACCW5AJ.js} +2 -2
- package/build/browser/chunk-LACCW5AJ.js.map +1 -0
- package/build/browser/chunk-PZ5AY32C.js +1 -1
- package/build/browser/chunk-PZ5AY32C.js.map +1 -1
- package/build/{esm/chunk-3STPFXHE.js → browser/chunk-S3RCUT7E.js} +2 -2
- package/build/browser/chunk-S3RCUT7E.js.map +1 -0
- package/build/{esm/chunk-N55YZHZU.js → browser/chunk-WOQTHZR3.js} +2 -2
- package/build/browser/chunk-WOQTHZR3.js.map +1 -0
- package/build/browser/index.js +5 -5
- package/build/browser/index.js.map +1 -1
- package/build/browser/public/Branch.js +2 -2
- package/build/browser/public/Branch.js.map +1 -1
- package/build/browser/public/Dataset.js +2 -2
- package/build/browser/public/Dataset.js.map +1 -1
- package/build/browser/public/File.js +2 -2
- package/build/browser/public/File.js.map +1 -1
- package/build/browser/public/Transaction.js +2 -2
- package/build/browser/public/Transaction.js.map +1 -1
- package/build/esm/{chunk-267TDC7H.js → chunk-6JHAYAPR.js} +2 -2
- package/build/esm/chunk-6JHAYAPR.js.map +1 -0
- package/build/esm/{chunk-5ZK5IVCS.js → chunk-LACCW5AJ.js} +2 -2
- package/build/esm/chunk-LACCW5AJ.js.map +1 -0
- package/build/esm/chunk-PZ5AY32C.js +1 -1
- package/build/esm/chunk-PZ5AY32C.js.map +1 -1
- package/build/{browser/chunk-3STPFXHE.js → esm/chunk-S3RCUT7E.js} +2 -2
- package/build/esm/chunk-S3RCUT7E.js.map +1 -0
- package/build/{browser/chunk-N55YZHZU.js → esm/chunk-WOQTHZR3.js} +2 -2
- package/build/esm/chunk-WOQTHZR3.js.map +1 -0
- package/build/esm/index.js +5 -5
- package/build/esm/index.js.map +1 -1
- package/build/esm/public/Branch.d.ts +8 -0
- package/build/esm/public/Branch.d.ts.map +1 -1
- package/build/esm/public/Branch.js +2 -2
- package/build/esm/public/Branch.js.map +1 -1
- package/build/esm/public/Dataset.d.ts +12 -0
- package/build/esm/public/Dataset.d.ts.map +1 -1
- package/build/esm/public/Dataset.js +2 -2
- package/build/esm/public/Dataset.js.map +1 -1
- package/build/esm/public/File.d.ts +18 -8
- package/build/esm/public/File.d.ts.map +1 -1
- package/build/esm/public/File.js +2 -2
- package/build/esm/public/File.js.map +1 -1
- package/build/esm/public/Transaction.d.ts +8 -0
- package/build/esm/public/Transaction.d.ts.map +1 -1
- package/build/esm/public/Transaction.js +2 -2
- package/build/esm/public/Transaction.js.map +1 -1
- package/package.json +7 -7
- package/build/browser/chunk-267TDC7H.js.map +0 -1
- package/build/browser/chunk-3STPFXHE.js.map +0 -1
- package/build/browser/chunk-5ZK5IVCS.js.map +0 -1
- package/build/browser/chunk-N55YZHZU.js.map +0 -1
- package/build/cjs/chunk-KQKBRG6Z.cjs +0 -43
- package/build/cjs/chunk-KQKBRG6Z.cjs.map +0 -1
- package/build/cjs/chunk-PUTYFUOF.cjs +0 -37
- package/build/cjs/chunk-PUTYFUOF.cjs.map +0 -1
- package/build/cjs/chunk-Q7SFCCGT.cjs +0 -11
- package/build/cjs/chunk-Q7SFCCGT.cjs.map +0 -1
- package/build/cjs/chunk-VHGBMYEV.cjs +0 -37
- package/build/cjs/chunk-VHGBMYEV.cjs.map +0 -1
- package/build/cjs/chunk-ZSNMVYJ3.cjs +0 -49
- package/build/cjs/chunk-ZSNMVYJ3.cjs.map +0 -1
- package/build/cjs/index.cjs +0 -28
- package/build/cjs/index.cjs.map +0 -1
- package/build/cjs/public/Branch.cjs +0 -25
- package/build/cjs/public/Branch.cjs.map +0 -1
- package/build/cjs/public/Dataset.cjs +0 -33
- package/build/cjs/public/Dataset.cjs.map +0 -1
- package/build/cjs/public/File.cjs +0 -29
- package/build/cjs/public/File.cjs.map +0 -1
- package/build/cjs/public/Transaction.cjs +0 -25
- package/build/cjs/public/Transaction.cjs.map +0 -1
- package/build/esm/chunk-267TDC7H.js.map +0 -1
- package/build/esm/chunk-3STPFXHE.js.map +0 -1
- package/build/esm/chunk-5ZK5IVCS.js.map +0 -1
- package/build/esm/chunk-N55YZHZU.js.map +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"File.d.ts","sourceRoot":"","sources":["../../../src/public/File.ts"],"names":[],"mappings":"AAgBA,OAAO,KAAK,EACV,QAAQ,EACR,UAAU,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,IAAI,EACJ,iBAAiB,EACjB,cAAc,EACd,eAAe,EAChB,MAAM,mBAAmB,CAAC;AAiB3B
|
|
1
|
+
{"version":3,"file":"File.d.ts","sourceRoot":"","sources":["../../../src/public/File.ts"],"names":[],"mappings":"AAgBA,OAAO,KAAK,EACV,QAAQ,EACR,UAAU,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,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,mBAAmB,CAAC,EAAE,cAAc,GAAG,SAAS,CAAC;QACjD,iBAAiB,CAAC,EAAE,cAAc,GAAG,SAAS,CAAC;QAC/C,QAAQ,CAAC,EAAE,QAAQ,GAAG,SAAS,CAAC;QAChC,SAAS,CAAC,EAAE,SAAS,GAAG,SAAS,CAAC;KACnC;CACF,GACA,OAAO,CAAC,iBAAiB,CAAC,CAE5B;AAeD;;;;;;;;;;;;;;;;;;;;;;;;;;GA0BG;AACH,wBAAgB,UAAU,CACxB,IAAI,EAAE,OAAO,GAAG,cAAc,EAC9B,GAAG,IAAI,EAAE;IACP,UAAU,EAAE,UAAU;IACtB,KAAK,EAAE,IAAI;IACX,YAAY,EAAE;QACZ,QAAQ,EAAE,QAAQ,CAAC;QACnB,QAAQ,CAAC,EAAE,QAAQ,GAAG,SAAS,CAAC;QAChC,eAAe,CAAC,EAAE,eAAe,GAAG,SAAS,CAAC;QAC9C,cAAc,CAAC,EAAE,cAAc,GAAG,SAAS,CAAC;KAC7C;CACF,GACA,OAAO,CAAC,IAAI,CAAC,CAEf;AAcD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA8BG;AACH,wBAAgB,eAAe,CAC7B,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;AAaD;;;;;;;;;;;;;;;;;;;;;;GAsBG;AACH,wBAAgB,UAAU,CACxB,IAAI,EAAE,OAAO,GAAG,cAAc,EAC9B,GAAG,IAAI,EAAE;IACP,UAAU,EAAE,UAAU;IACtB,QAAQ,EAAE,QAAQ;IAElB,YAAY,CAAC,EAAE;QACb,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"}
|
package/build/esm/public/File.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { deleteFile, getFileContent, getFileMetadata, listFiles, uploadFile } from '../chunk-
|
|
1
|
+
export { deleteFile, getFileContent, getFileMetadata, listFiles, uploadFile } from '../chunk-WOQTHZR3.js';
|
|
2
2
|
import '../chunk-PZ5AY32C.js';
|
|
3
|
-
//# sourceMappingURL=
|
|
3
|
+
//# sourceMappingURL=File.js.map
|
|
4
4
|
//# sourceMappingURL=File.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":[],"names":[],"mappings":""}
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"File.js"}
|
|
@@ -6,6 +6,8 @@ import type { CreateTransactionRequest, Transaction, TransactionRid } from "../_
|
|
|
6
6
|
*
|
|
7
7
|
* Third-party applications using this endpoint via OAuth2 must request the following operation scope: `api:datasets-write`.
|
|
8
8
|
*
|
|
9
|
+
* @public
|
|
10
|
+
*
|
|
9
11
|
* Required Scopes: [api:datasets-write]
|
|
10
12
|
* URL: /v1/datasets/{datasetRid}/transactions
|
|
11
13
|
*/
|
|
@@ -21,6 +23,8 @@ export declare function createTransaction($ctx: $Client | $ClientContext, ...arg
|
|
|
21
23
|
*
|
|
22
24
|
* Third-party applications using this endpoint via OAuth2 must request the following operation scope: `api:datasets-read`.
|
|
23
25
|
*
|
|
26
|
+
* @public
|
|
27
|
+
*
|
|
24
28
|
* Required Scopes: [api:datasets-read]
|
|
25
29
|
* URL: /v1/datasets/{datasetRid}/transactions/{transactionRid}
|
|
26
30
|
*/
|
|
@@ -31,6 +35,8 @@ export declare function getTransaction($ctx: $Client | $ClientContext, ...args:
|
|
|
31
35
|
*
|
|
32
36
|
* Third-party applications using this endpoint via OAuth2 must request the following operation scope: `api:datasets-write`.
|
|
33
37
|
*
|
|
38
|
+
* @public
|
|
39
|
+
*
|
|
34
40
|
* Required Scopes: [api:datasets-write]
|
|
35
41
|
* URL: /v1/datasets/{datasetRid}/transactions/{transactionRid}/commit
|
|
36
42
|
*/
|
|
@@ -41,6 +47,8 @@ export declare function commitTransaction($ctx: $Client | $ClientContext, ...arg
|
|
|
41
47
|
*
|
|
42
48
|
* Third-party applications using this endpoint via OAuth2 must request the following operation scope: `api:datasets-write`.
|
|
43
49
|
*
|
|
50
|
+
* @public
|
|
51
|
+
*
|
|
44
52
|
* Required Scopes: [api:datasets-write]
|
|
45
53
|
* URL: /v1/datasets/{datasetRid}/transactions/{transactionRid}/abort
|
|
46
54
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Transaction.d.ts","sourceRoot":"","sources":["../../../src/public/Transaction.ts"],"names":[],"mappings":"AAgBA,OAAO,KAAK,EAAE,QAAQ,EAAE,UAAU,EAAE,MAAM,6BAA6B,CAAC;AACxE,OAAO,KAAK,EACV,YAAY,IAAI,OAAO,EACvB,mBAAmB,IAAI,cAAc,EACtC,MAAM,qBAAqB,CAAC;AAG7B,OAAO,KAAK,EACV,wBAAwB,EACxB,WAAW,EACX,cAAc,EACf,MAAM,mBAAmB,CAAC;AAY3B
|
|
1
|
+
{"version":3,"file":"Transaction.d.ts","sourceRoot":"","sources":["../../../src/public/Transaction.ts"],"names":[],"mappings":"AAgBA,OAAO,KAAK,EAAE,QAAQ,EAAE,UAAU,EAAE,MAAM,6BAA6B,CAAC;AACxE,OAAO,KAAK,EACV,YAAY,IAAI,OAAO,EACvB,mBAAmB,IAAI,cAAc,EACtC,MAAM,qBAAqB,CAAC;AAG7B,OAAO,KAAK,EACV,wBAAwB,EACxB,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"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { abortTransaction, commitTransaction, createTransaction, getTransaction } from '../chunk-
|
|
1
|
+
export { abortTransaction, commitTransaction, createTransaction, getTransaction } from '../chunk-6JHAYAPR.js';
|
|
2
2
|
import '../chunk-PZ5AY32C.js';
|
|
3
|
-
//# sourceMappingURL=
|
|
3
|
+
//# sourceMappingURL=Transaction.js.map
|
|
4
4
|
//# sourceMappingURL=Transaction.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":[],"names":[],"mappings":""}
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"Transaction.js"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@osdk/internal.foundry.datasets",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.2.0-beta.0",
|
|
4
4
|
"license": "Apache-2.0",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -17,14 +17,14 @@
|
|
|
17
17
|
}
|
|
18
18
|
},
|
|
19
19
|
"dependencies": {
|
|
20
|
-
"@osdk/api": "~1.9.0
|
|
21
|
-
"@osdk/internal.foundry.core": "0.
|
|
22
|
-
"@osdk/shared.net": "~1.12.0
|
|
20
|
+
"@osdk/api": "~1.9.0",
|
|
21
|
+
"@osdk/internal.foundry.core": "0.2.0-beta.0",
|
|
22
|
+
"@osdk/shared.net": "~1.12.0",
|
|
23
23
|
"@osdk/shared.client": "~0.0.0",
|
|
24
|
-
"@osdk/shared.net.platformapi": "~0.2.0
|
|
24
|
+
"@osdk/shared.net.platformapi": "~0.2.0"
|
|
25
25
|
},
|
|
26
26
|
"devDependencies": {
|
|
27
|
-
"typescript": "^5.5.
|
|
27
|
+
"typescript": "^5.5.4",
|
|
28
28
|
"@osdk/monorepo.api-extractor": "~0.0.0",
|
|
29
29
|
"@osdk/monorepo.tsconfig": "~0.0.0",
|
|
30
30
|
"@osdk/monorepo.tsup": "~0.0.0"
|
|
@@ -47,7 +47,7 @@
|
|
|
47
47
|
"sls": {
|
|
48
48
|
"dependencies": {
|
|
49
49
|
"com.palantir.foundry.api:api-gateway": {
|
|
50
|
-
"minVersion": "1.
|
|
50
|
+
"minVersion": "1.908.0",
|
|
51
51
|
"maxVersion": "1.x.x"
|
|
52
52
|
}
|
|
53
53
|
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/public/Transaction.ts"],"names":[],"mappings":";;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAgBA,SAAS,wBAAwB,6BAA6B;AAG9D,IAAM,qBAAqB,CAAC,GAAG,iCAAiC,CAAC;AAU1D,SAAS,kBAAkB,SAAS,MAAM;AAC/C,SAAO,sBAAsB,MAAM,oBAAoB,GAAG,IAAI;AAChE;AACA,IAAM,kBAAkB,CAAC,GAAG,mCAAmC;AAUxD,SAAS,eAAe,SAAS,MAAM;AAC5C,SAAO,sBAAsB,MAAM,iBAAiB,GAAG,IAAI;AAC7D;AACA,IAAM,qBAAqB,CAAC,GAAG,0CAA0C;AAWlE,SAAS,kBAAkB,SAAS,MAAM;AAC/C,SAAO,sBAAsB,MAAM,oBAAoB,GAAG,IAAI;AAChE;AACA,IAAM,oBAAoB,CAAC,GAAG,yCAAyC;AAWhE,SAAS,iBAAiB,SAAS,MAAM;AAC9C,SAAO,sBAAsB,MAAM,mBAAmB,GAAG,IAAI;AAC/D","sourcesContent":["/*\n * Copyright 2024 Palantir Technologies, Inc. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport { foundryPlatformFetch as $foundryPlatformFetch } from \"@osdk/shared.net.platformapi\";\n//\n\nconst _createTransaction = [1, \"/v1/datasets/{0}/transactions\", 3];\n\n/**\n * Creates a Transaction on a Branch of a Dataset.\n *\n * Third-party applications using this endpoint via OAuth2 must request the following operation scope: `api:datasets-write`.\n *\n * Required Scopes: [api:datasets-write]\n * URL: /v1/datasets/{datasetRid}/transactions\n */\nexport function createTransaction($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _createTransaction, ...args);\n}\nconst _getTransaction = [0, \"/v1/datasets/{0}/transactions/{1}\"];\n\n/**\n * Gets a Transaction of a Dataset.\n *\n * Third-party applications using this endpoint via OAuth2 must request the following operation scope: `api:datasets-read`.\n *\n * Required Scopes: [api:datasets-read]\n * URL: /v1/datasets/{datasetRid}/transactions/{transactionRid}\n */\nexport function getTransaction($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _getTransaction, ...args);\n}\nconst _commitTransaction = [1, \"/v1/datasets/{0}/transactions/{1}/commit\"];\n\n/**\n * Commits an open Transaction. File modifications made on this Transaction are preserved and the Branch is\n * updated to point to the Transaction.\n *\n * Third-party applications using this endpoint via OAuth2 must request the following operation scope: `api:datasets-write`.\n *\n * Required Scopes: [api:datasets-write]\n * URL: /v1/datasets/{datasetRid}/transactions/{transactionRid}/commit\n */\nexport function commitTransaction($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _commitTransaction, ...args);\n}\nconst _abortTransaction = [1, \"/v1/datasets/{0}/transactions/{1}/abort\"];\n\n/**\n * Aborts an open Transaction. File modifications made on this Transaction are not preserved and the Branch is\n * not updated.\n *\n * Third-party applications using this endpoint via OAuth2 must request the following operation scope: `api:datasets-write`.\n *\n * Required Scopes: [api:datasets-write]\n * URL: /v1/datasets/{datasetRid}/transactions/{transactionRid}/abort\n */\nexport function abortTransaction($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _abortTransaction, ...args);\n}"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/public/Branch.ts"],"names":[],"mappings":";;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAgBA,SAAS,wBAAwB,6BAA6B;AAG9D,IAAM,gBAAgB,CAAC,GAAG,6BAA6B,CAAC;AAUjD,SAAS,aAAa,SAAS,MAAM;AAC1C,SAAO,sBAAsB,MAAM,eAAe,GAAG,IAAI;AAC3D;AACA,IAAM,gBAAgB,CAAC,GAAG,6BAA6B,CAAC;AAUjD,SAAS,aAAa,SAAS,MAAM;AAC1C,SAAO,sBAAsB,MAAM,eAAe,GAAG,IAAI;AAC3D;AACA,IAAM,aAAa,CAAC,GAAG,+BAA+B;AAU/C,SAAS,UAAU,SAAS,MAAM;AACvC,SAAO,sBAAsB,MAAM,YAAY,GAAG,IAAI;AACxD;AACA,IAAM,gBAAgB,CAAC,GAAG,+BAA+B;AAUlD,SAAS,aAAa,SAAS,MAAM;AAC1C,SAAO,sBAAsB,MAAM,eAAe,GAAG,IAAI;AAC3D","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 * 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 * 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 * 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 * 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/Dataset.ts"],"names":[],"mappings":";;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAgBA,SAAS,wBAAwB,6BAA6B;AAG9D,IAAM,iBAAiB,CAAC,GAAG,gBAAgB,CAAC;AAUrC,SAAS,cAAc,SAAS,MAAM;AAC3C,SAAO,sBAAsB,MAAM,gBAAgB,GAAG,IAAI;AAC5D;AACA,IAAM,cAAc,CAAC,GAAG,kBAAkB;AAUnC,SAAS,WAAW,SAAS,MAAM;AACxC,SAAO,sBAAsB,MAAM,aAAa,GAAG,IAAI;AACzD;AACA,IAAM,aAAa,CAAC,GAAG,8BAA8B,GAAE,EAAE,KAAK;AAYvD,SAAS,UAAU,SAAS,MAAM;AACvC,SAAO,sBAAsB,MAAM,YAAY,GAAG,IAAI;AACxD;AACA,IAAM,aAAa,CAAC,GAAG,2BAA2B,CAAC;AAQ5C,SAAS,UAAU,SAAS,MAAM;AACvC,SAAO,sBAAsB,MAAM,YAAY,GAAG,IAAI;AACxD;AACA,IAAM,aAAa,CAAC,GAAG,2BAA2B,CAAC;AAQ5C,SAAS,UAAU,SAAS,MAAM;AACvC,SAAO,sBAAsB,MAAM,YAAY,GAAG,IAAI;AACxD;AACA,IAAM,gBAAgB,CAAC,GAAG,2BAA2B,CAAC;AAQ/C,SAAS,aAAa,SAAS,MAAM;AAC1C,SAAO,sBAAsB,MAAM,eAAe,GAAG,IAAI;AAC3D","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 * 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 * 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 * 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 _getSchema = [0, \"/v1/datasets/{0}/schema\", 2];\n\n/**\n * Retrieves the Schema for a Dataset and Branch, if it exists.\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 _putSchema = [2, \"/v1/datasets/{0}/schema\", 3];\n\n/**\n * Puts a Schema on an existing Dataset and Branch.\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 _deleteSchema = [3, \"/v1/datasets/{0}/schema\", 2];\n\n/**\n * Deletes the Schema from a Dataset and Branch.\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}"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/public/File.ts"],"names":[],"mappings":";;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAgBA,SAAS,wBAAwB,6BAA6B;AAG9D,IAAM,aAAa,CAAC,GAAG,0BAA0B,CAAC;AAiC3C,SAAS,UAAU,SAAS,MAAM;AACvC,SAAO,sBAAsB,MAAM,YAAY,GAAG,IAAI;AACxD;AACA,IAAM,cAAc,CAAC,GAAG,iCAAiC,GAAG,KAAK;AA2B1D,SAAS,WAAW,SAAS,MAAM;AACxC,SAAO,sBAAsB,MAAM,aAAa,GAAG,IAAI;AACzD;AACA,IAAM,mBAAmB,CAAC,GAAG,8BAA8B,CAAC;AA+BrD,SAAS,gBAAgB,SAAS,MAAM;AAC7C,SAAO,sBAAsB,MAAM,kBAAkB,GAAG,IAAI;AAC9D;AACA,IAAM,cAAc,CAAC,GAAG,8BAA8B,CAAC;AAuBhD,SAAS,WAAW,SAAS,MAAM;AACxC,SAAO,sBAAsB,MAAM,aAAa,GAAG,IAAI;AACzD;AACA,IAAM,kBAAkB,CAAC,GAAG,sCAAsC,GAAE,EAAE,KAAK;AAgCpE,SAAS,eAAe,SAAS,MAAM;AAC5C,SAAO,sBAAsB,MAAM,iBAAiB,GAAG,IAAI;AAC7D","sourcesContent":["/*\n * Copyright 2024 Palantir Technologies, Inc. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport { foundryPlatformFetch as $foundryPlatformFetch } from \"@osdk/shared.net.platformapi\";\n//\n\nconst _listFiles = [0, \"/v1/datasets/{0}/files\", 2];\n\n/**\n * Lists Files contained in a Dataset. By default files are listed on the latest view of the default\n * branch - `master` for most enrollments.\n *\n * #### Advanced Usage\n *\n * See [Datasets Core Concepts](/docs/foundry/data-integration/datasets/) for details on using branches and transactions.\n *\n * To **list files on a specific Branch** specify the Branch's identifier as `branchId`. This will include the most\n * recent version of all files since the latest snapshot transaction, or the earliest ancestor transaction of the\n * branch if there are no snapshot transactions.\n *\n * To **list files on the resolved view of a transaction** specify the Transaction's resource identifier\n * as `endTransactionRid`. This will include the most recent version of all files since the latest snapshot\n * transaction, or the earliest ancestor transaction if there are no snapshot transactions.\n *\n * To **list files on the resolved view of a range of transactions** specify the the start transaction's resource\n * identifier as `startTransactionRid` and the end transaction's resource identifier as `endTransactionRid`. This\n * will include the most recent version of all files since the `startTransactionRid` up to the `endTransactionRid`.\n * Note that an intermediate snapshot transaction will remove all files from the view. Behavior is undefined when\n * the start and end transactions do not belong to the same root-to-leaf path.\n *\n * To **list files on a specific transaction** specify the Transaction's resource identifier as both the\n * `startTransactionRid` and `endTransactionRid`. This will include only files that were modified as part of that\n * Transaction.\n *\n * Third-party applications using this endpoint via OAuth2 must request the following operation scope: `api:datasets-read`.\n *\n * Required Scopes: [api:datasets-read]\n * URL: /v1/datasets/{datasetRid}/files\n */\nexport function listFiles($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _listFiles, ...args);\n}\nconst _uploadFile = [1, \"/v1/datasets/{0}/files:upload\", 3, \"*/*\"];\n\n/**\n * Uploads a File to an existing Dataset.\n * The body of the request must contain the binary content of the file and the `Content-Type` header must be `application/octet-stream`.\n *\n * By default the file is uploaded to a new transaction on the default branch - `master` for most enrollments.\n * If the file already exists only the most recent version will be visible in the updated view.\n *\n * #### Advanced Usage\n *\n * See [Datasets Core Concepts](/docs/foundry/data-integration/datasets/) for details on using branches and transactions.\n *\n * To **upload a file to a specific Branch** specify the Branch's identifier as `branchId`. A new transaction will\n * be created and committed on this branch. By default the TransactionType will be `UPDATE`, to override this\n * default specify `transactionType` in addition to `branchId`.\n * See [createBranch](/docs/foundry/api/datasets-resources/branches/create-branch/) to create a custom branch.\n *\n * To **upload a file on a manually opened transaction** specify the Transaction's resource identifier as\n * `transactionRid`. This is useful for uploading multiple files in a single transaction.\n * See [createTransaction](/docs/foundry/api/datasets-resources/transactions/create-transaction/) to open a transaction.\n *\n * Third-party applications using this endpoint via OAuth2 must request the following operation scope: `api:datasets-write`.\n *\n * Required Scopes: [api:datasets-write]\n * URL: /v1/datasets/{datasetRid}/files:upload\n */\nexport function uploadFile($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _uploadFile, ...args);\n}\nconst _getFileMetadata = [0, \"/v1/datasets/{0}/files/{1}\", 2];\n\n/**\n * Gets metadata about a File contained in a Dataset. By default this retrieves the file's metadata from the latest\n * view of the default branch - `master` for most enrollments.\n *\n * #### Advanced Usage\n *\n * See [Datasets Core Concepts](/docs/foundry/data-integration/datasets/) for details on using branches and transactions.\n *\n * To **get a file's metadata from a specific Branch** specify the Branch's identifier as `branchId`. This will\n * retrieve metadata for the most recent version of the file since the latest snapshot transaction, or the earliest\n * ancestor transaction of the branch if there are no snapshot transactions.\n *\n * To **get a file's metadata from the resolved view of a transaction** specify the Transaction's resource identifier\n * as `endTransactionRid`. This will retrieve metadata for the most recent version of the file since the latest snapshot\n * transaction, or the earliest ancestor transaction if there are no snapshot transactions.\n *\n * To **get a file's metadata from the resolved view of a range of transactions** specify the the start transaction's\n * resource identifier as `startTransactionRid` and the end transaction's resource identifier as `endTransactionRid`.\n * This will retrieve metadata for the most recent version of the file since the `startTransactionRid` up to the\n * `endTransactionRid`. Behavior is undefined when the start and end transactions do not belong to the same root-to-leaf path.\n *\n * To **get a file's metadata from a specific transaction** specify the Transaction's resource identifier as both the\n * `startTransactionRid` and `endTransactionRid`.\n *\n * Third-party applications using this endpoint via OAuth2 must request the following operation scope: `api:datasets-read`.\n *\n * Required Scopes: [api:datasets-read]\n * URL: /v1/datasets/{datasetRid}/files/{filePath}\n */\nexport function getFileMetadata($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _getFileMetadata, ...args);\n}\nconst _deleteFile = [3, \"/v1/datasets/{0}/files/{1}\", 2];\n\n/**\n * Deletes a File from a Dataset. By default the file is deleted in a new transaction on the default\n * branch - `master` for most enrollments. The file will still be visible on historical views.\n *\n * #### Advanced Usage\n *\n * See [Datasets Core Concepts](/docs/foundry/data-integration/datasets/) for details on using branches and transactions.\n *\n * To **delete a File from a specific Branch** specify the Branch's identifier as `branchId`. A new delete Transaction\n * will be created and committed on this branch.\n *\n * To **delete a File using a manually opened Transaction**, specify the Transaction's resource identifier\n * as `transactionRid`. The transaction must be of type `DELETE`. This is useful for deleting multiple files in a\n * single transaction. See [createTransaction](/docs/foundry/api/datasets-resources/transactions/create-transaction/) to\n * open a transaction.\n *\n * Third-party applications using this endpoint via OAuth2 must request the following operation scope: `api:datasets-write`.\n *\n * Required Scopes: [api:datasets-write]\n * URL: /v1/datasets/{datasetRid}/files/{filePath}\n */\nexport function deleteFile($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _deleteFile, ...args);\n}\nconst _getFileContent = [0, \"/v1/datasets/{0}/files/{1}/content\", 2,, \"*/*\"];\n\n/**\n * Gets the content of a File contained in a Dataset. By default this retrieves the file's content from the latest\n * view of the default branch - `master` for most enrollments.\n *\n * #### Advanced Usage\n *\n * See [Datasets Core Concepts](/docs/foundry/data-integration/datasets/) for details on using branches and transactions.\n *\n * To **get a file's content from a specific Branch** specify the Branch's identifier as `branchId`. This will\n * retrieve the content for the most recent version of the file since the latest snapshot transaction, or the\n * earliest ancestor transaction of the branch if there are no snapshot transactions.\n *\n * To **get a file's content from the resolved view of a transaction** specify the Transaction's resource identifier\n * as `endTransactionRid`. This will retrieve the content for the most recent version of the file since the latest\n * snapshot transaction, or the earliest ancestor transaction if there are no snapshot transactions.\n *\n * To **get a file's content from the resolved view of a range of transactions** specify the the start transaction's\n * resource identifier as `startTransactionRid` and the end transaction's resource identifier as `endTransactionRid`.\n * This will retrieve the content for the most recent version of the file since the `startTransactionRid` up to the\n * `endTransactionRid`. Note that an intermediate snapshot transaction will remove all files from the view. Behavior\n * is undefined when the start and end transactions do not belong to the same root-to-leaf path.\n *\n * To **get a file's content from a specific transaction** specify the Transaction's resource identifier as both the\n * `startTransactionRid` and `endTransactionRid`.\n *\n * Third-party applications using this endpoint via OAuth2 must request the following operation scope: `api:datasets-read`.\n *\n * Required Scopes: [api:datasets-read]\n * URL: /v1/datasets/{datasetRid}/files/{filePath}/content\n */\nexport function getFileContent($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _getFileContent, ...args);\n}"]}
|
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
var chunkQ7SFCCGT_cjs = require('./chunk-Q7SFCCGT.cjs');
|
|
4
|
-
var shared_net_platformapi = require('@osdk/shared.net.platformapi');
|
|
5
|
-
|
|
6
|
-
// src/public/File.ts
|
|
7
|
-
var File_exports = {};
|
|
8
|
-
chunkQ7SFCCGT_cjs.__export(File_exports, {
|
|
9
|
-
deleteFile: () => deleteFile,
|
|
10
|
-
getFileContent: () => getFileContent,
|
|
11
|
-
getFileMetadata: () => getFileMetadata,
|
|
12
|
-
listFiles: () => listFiles,
|
|
13
|
-
uploadFile: () => uploadFile
|
|
14
|
-
});
|
|
15
|
-
var _listFiles = [0, "/v1/datasets/{0}/files", 2];
|
|
16
|
-
function listFiles($ctx, ...args) {
|
|
17
|
-
return shared_net_platformapi.foundryPlatformFetch($ctx, _listFiles, ...args);
|
|
18
|
-
}
|
|
19
|
-
var _uploadFile = [1, "/v1/datasets/{0}/files:upload", 3, "*/*"];
|
|
20
|
-
function uploadFile($ctx, ...args) {
|
|
21
|
-
return shared_net_platformapi.foundryPlatformFetch($ctx, _uploadFile, ...args);
|
|
22
|
-
}
|
|
23
|
-
var _getFileMetadata = [0, "/v1/datasets/{0}/files/{1}", 2];
|
|
24
|
-
function getFileMetadata($ctx, ...args) {
|
|
25
|
-
return shared_net_platformapi.foundryPlatformFetch($ctx, _getFileMetadata, ...args);
|
|
26
|
-
}
|
|
27
|
-
var _deleteFile = [3, "/v1/datasets/{0}/files/{1}", 2];
|
|
28
|
-
function deleteFile($ctx, ...args) {
|
|
29
|
-
return shared_net_platformapi.foundryPlatformFetch($ctx, _deleteFile, ...args);
|
|
30
|
-
}
|
|
31
|
-
var _getFileContent = [0, "/v1/datasets/{0}/files/{1}/content", 2, , "*/*"];
|
|
32
|
-
function getFileContent($ctx, ...args) {
|
|
33
|
-
return shared_net_platformapi.foundryPlatformFetch($ctx, _getFileContent, ...args);
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
exports.File_exports = File_exports;
|
|
37
|
-
exports.deleteFile = deleteFile;
|
|
38
|
-
exports.getFileContent = getFileContent;
|
|
39
|
-
exports.getFileMetadata = getFileMetadata;
|
|
40
|
-
exports.listFiles = listFiles;
|
|
41
|
-
exports.uploadFile = uploadFile;
|
|
42
|
-
//# sourceMappingURL=out.js.map
|
|
43
|
-
//# sourceMappingURL=chunk-KQKBRG6Z.cjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/public/File.ts"],"names":[],"mappings":";;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAgBA,SAAS,wBAAwB,6BAA6B;AAG9D,IAAM,aAAa,CAAC,GAAG,0BAA0B,CAAC;AAiC3C,SAAS,UAAU,SAAS,MAAM;AACvC,SAAO,sBAAsB,MAAM,YAAY,GAAG,IAAI;AACxD;AACA,IAAM,cAAc,CAAC,GAAG,iCAAiC,GAAG,KAAK;AA2B1D,SAAS,WAAW,SAAS,MAAM;AACxC,SAAO,sBAAsB,MAAM,aAAa,GAAG,IAAI;AACzD;AACA,IAAM,mBAAmB,CAAC,GAAG,8BAA8B,CAAC;AA+BrD,SAAS,gBAAgB,SAAS,MAAM;AAC7C,SAAO,sBAAsB,MAAM,kBAAkB,GAAG,IAAI;AAC9D;AACA,IAAM,cAAc,CAAC,GAAG,8BAA8B,CAAC;AAuBhD,SAAS,WAAW,SAAS,MAAM;AACxC,SAAO,sBAAsB,MAAM,aAAa,GAAG,IAAI;AACzD;AACA,IAAM,kBAAkB,CAAC,GAAG,sCAAsC,GAAE,EAAE,KAAK;AAgCpE,SAAS,eAAe,SAAS,MAAM;AAC5C,SAAO,sBAAsB,MAAM,iBAAiB,GAAG,IAAI;AAC7D","sourcesContent":["/*\n * Copyright 2024 Palantir Technologies, Inc. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport { foundryPlatformFetch as $foundryPlatformFetch } from \"@osdk/shared.net.platformapi\";\n//\n\nconst _listFiles = [0, \"/v1/datasets/{0}/files\", 2];\n\n/**\n * Lists Files contained in a Dataset. By default files are listed on the latest view of the default\n * branch - `master` for most enrollments.\n *\n * #### Advanced Usage\n *\n * See [Datasets Core Concepts](/docs/foundry/data-integration/datasets/) for details on using branches and transactions.\n *\n * To **list files on a specific Branch** specify the Branch's identifier as `branchId`. This will include the most\n * recent version of all files since the latest snapshot transaction, or the earliest ancestor transaction of the\n * branch if there are no snapshot transactions.\n *\n * To **list files on the resolved view of a transaction** specify the Transaction's resource identifier\n * as `endTransactionRid`. This will include the most recent version of all files since the latest snapshot\n * transaction, or the earliest ancestor transaction if there are no snapshot transactions.\n *\n * To **list files on the resolved view of a range of transactions** specify the the start transaction's resource\n * identifier as `startTransactionRid` and the end transaction's resource identifier as `endTransactionRid`. This\n * will include the most recent version of all files since the `startTransactionRid` up to the `endTransactionRid`.\n * Note that an intermediate snapshot transaction will remove all files from the view. Behavior is undefined when\n * the start and end transactions do not belong to the same root-to-leaf path.\n *\n * To **list files on a specific transaction** specify the Transaction's resource identifier as both the\n * `startTransactionRid` and `endTransactionRid`. This will include only files that were modified as part of that\n * Transaction.\n *\n * Third-party applications using this endpoint via OAuth2 must request the following operation scope: `api:datasets-read`.\n *\n * Required Scopes: [api:datasets-read]\n * URL: /v1/datasets/{datasetRid}/files\n */\nexport function listFiles($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _listFiles, ...args);\n}\nconst _uploadFile = [1, \"/v1/datasets/{0}/files:upload\", 3, \"*/*\"];\n\n/**\n * Uploads a File to an existing Dataset.\n * The body of the request must contain the binary content of the file and the `Content-Type` header must be `application/octet-stream`.\n *\n * By default the file is uploaded to a new transaction on the default branch - `master` for most enrollments.\n * If the file already exists only the most recent version will be visible in the updated view.\n *\n * #### Advanced Usage\n *\n * See [Datasets Core Concepts](/docs/foundry/data-integration/datasets/) for details on using branches and transactions.\n *\n * To **upload a file to a specific Branch** specify the Branch's identifier as `branchId`. A new transaction will\n * be created and committed on this branch. By default the TransactionType will be `UPDATE`, to override this\n * default specify `transactionType` in addition to `branchId`.\n * See [createBranch](/docs/foundry/api/datasets-resources/branches/create-branch/) to create a custom branch.\n *\n * To **upload a file on a manually opened transaction** specify the Transaction's resource identifier as\n * `transactionRid`. This is useful for uploading multiple files in a single transaction.\n * See [createTransaction](/docs/foundry/api/datasets-resources/transactions/create-transaction/) to open a transaction.\n *\n * Third-party applications using this endpoint via OAuth2 must request the following operation scope: `api:datasets-write`.\n *\n * Required Scopes: [api:datasets-write]\n * URL: /v1/datasets/{datasetRid}/files:upload\n */\nexport function uploadFile($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _uploadFile, ...args);\n}\nconst _getFileMetadata = [0, \"/v1/datasets/{0}/files/{1}\", 2];\n\n/**\n * Gets metadata about a File contained in a Dataset. By default this retrieves the file's metadata from the latest\n * view of the default branch - `master` for most enrollments.\n *\n * #### Advanced Usage\n *\n * See [Datasets Core Concepts](/docs/foundry/data-integration/datasets/) for details on using branches and transactions.\n *\n * To **get a file's metadata from a specific Branch** specify the Branch's identifier as `branchId`. This will\n * retrieve metadata for the most recent version of the file since the latest snapshot transaction, or the earliest\n * ancestor transaction of the branch if there are no snapshot transactions.\n *\n * To **get a file's metadata from the resolved view of a transaction** specify the Transaction's resource identifier\n * as `endTransactionRid`. This will retrieve metadata for the most recent version of the file since the latest snapshot\n * transaction, or the earliest ancestor transaction if there are no snapshot transactions.\n *\n * To **get a file's metadata from the resolved view of a range of transactions** specify the the start transaction's\n * resource identifier as `startTransactionRid` and the end transaction's resource identifier as `endTransactionRid`.\n * This will retrieve metadata for the most recent version of the file since the `startTransactionRid` up to the\n * `endTransactionRid`. Behavior is undefined when the start and end transactions do not belong to the same root-to-leaf path.\n *\n * To **get a file's metadata from a specific transaction** specify the Transaction's resource identifier as both the\n * `startTransactionRid` and `endTransactionRid`.\n *\n * Third-party applications using this endpoint via OAuth2 must request the following operation scope: `api:datasets-read`.\n *\n * Required Scopes: [api:datasets-read]\n * URL: /v1/datasets/{datasetRid}/files/{filePath}\n */\nexport function getFileMetadata($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _getFileMetadata, ...args);\n}\nconst _deleteFile = [3, \"/v1/datasets/{0}/files/{1}\", 2];\n\n/**\n * Deletes a File from a Dataset. By default the file is deleted in a new transaction on the default\n * branch - `master` for most enrollments. The file will still be visible on historical views.\n *\n * #### Advanced Usage\n *\n * See [Datasets Core Concepts](/docs/foundry/data-integration/datasets/) for details on using branches and transactions.\n *\n * To **delete a File from a specific Branch** specify the Branch's identifier as `branchId`. A new delete Transaction\n * will be created and committed on this branch.\n *\n * To **delete a File using a manually opened Transaction**, specify the Transaction's resource identifier\n * as `transactionRid`. The transaction must be of type `DELETE`. This is useful for deleting multiple files in a\n * single transaction. See [createTransaction](/docs/foundry/api/datasets-resources/transactions/create-transaction/) to\n * open a transaction.\n *\n * Third-party applications using this endpoint via OAuth2 must request the following operation scope: `api:datasets-write`.\n *\n * Required Scopes: [api:datasets-write]\n * URL: /v1/datasets/{datasetRid}/files/{filePath}\n */\nexport function deleteFile($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _deleteFile, ...args);\n}\nconst _getFileContent = [0, \"/v1/datasets/{0}/files/{1}/content\", 2,, \"*/*\"];\n\n/**\n * Gets the content of a File contained in a Dataset. By default this retrieves the file's content from the latest\n * view of the default branch - `master` for most enrollments.\n *\n * #### Advanced Usage\n *\n * See [Datasets Core Concepts](/docs/foundry/data-integration/datasets/) for details on using branches and transactions.\n *\n * To **get a file's content from a specific Branch** specify the Branch's identifier as `branchId`. This will\n * retrieve the content for the most recent version of the file since the latest snapshot transaction, or the\n * earliest ancestor transaction of the branch if there are no snapshot transactions.\n *\n * To **get a file's content from the resolved view of a transaction** specify the Transaction's resource identifier\n * as `endTransactionRid`. This will retrieve the content for the most recent version of the file since the latest\n * snapshot transaction, or the earliest ancestor transaction if there are no snapshot transactions.\n *\n * To **get a file's content from the resolved view of a range of transactions** specify the the start transaction's\n * resource identifier as `startTransactionRid` and the end transaction's resource identifier as `endTransactionRid`.\n * This will retrieve the content for the most recent version of the file since the `startTransactionRid` up to the\n * `endTransactionRid`. Note that an intermediate snapshot transaction will remove all files from the view. Behavior\n * is undefined when the start and end transactions do not belong to the same root-to-leaf path.\n *\n * To **get a file's content from a specific transaction** specify the Transaction's resource identifier as both the\n * `startTransactionRid` and `endTransactionRid`.\n *\n * Third-party applications using this endpoint via OAuth2 must request the following operation scope: `api:datasets-read`.\n *\n * Required Scopes: [api:datasets-read]\n * URL: /v1/datasets/{datasetRid}/files/{filePath}/content\n */\nexport function getFileContent($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _getFileContent, ...args);\n}"]}
|
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
var chunkQ7SFCCGT_cjs = require('./chunk-Q7SFCCGT.cjs');
|
|
4
|
-
var shared_net_platformapi = require('@osdk/shared.net.platformapi');
|
|
5
|
-
|
|
6
|
-
// src/public/Transaction.ts
|
|
7
|
-
var Transaction_exports = {};
|
|
8
|
-
chunkQ7SFCCGT_cjs.__export(Transaction_exports, {
|
|
9
|
-
abortTransaction: () => abortTransaction,
|
|
10
|
-
commitTransaction: () => commitTransaction,
|
|
11
|
-
createTransaction: () => createTransaction,
|
|
12
|
-
getTransaction: () => getTransaction
|
|
13
|
-
});
|
|
14
|
-
var _createTransaction = [1, "/v1/datasets/{0}/transactions", 3];
|
|
15
|
-
function createTransaction($ctx, ...args) {
|
|
16
|
-
return shared_net_platformapi.foundryPlatformFetch($ctx, _createTransaction, ...args);
|
|
17
|
-
}
|
|
18
|
-
var _getTransaction = [0, "/v1/datasets/{0}/transactions/{1}"];
|
|
19
|
-
function getTransaction($ctx, ...args) {
|
|
20
|
-
return shared_net_platformapi.foundryPlatformFetch($ctx, _getTransaction, ...args);
|
|
21
|
-
}
|
|
22
|
-
var _commitTransaction = [1, "/v1/datasets/{0}/transactions/{1}/commit"];
|
|
23
|
-
function commitTransaction($ctx, ...args) {
|
|
24
|
-
return shared_net_platformapi.foundryPlatformFetch($ctx, _commitTransaction, ...args);
|
|
25
|
-
}
|
|
26
|
-
var _abortTransaction = [1, "/v1/datasets/{0}/transactions/{1}/abort"];
|
|
27
|
-
function abortTransaction($ctx, ...args) {
|
|
28
|
-
return shared_net_platformapi.foundryPlatformFetch($ctx, _abortTransaction, ...args);
|
|
29
|
-
}
|
|
30
|
-
|
|
31
|
-
exports.Transaction_exports = Transaction_exports;
|
|
32
|
-
exports.abortTransaction = abortTransaction;
|
|
33
|
-
exports.commitTransaction = commitTransaction;
|
|
34
|
-
exports.createTransaction = createTransaction;
|
|
35
|
-
exports.getTransaction = getTransaction;
|
|
36
|
-
//# sourceMappingURL=out.js.map
|
|
37
|
-
//# sourceMappingURL=chunk-PUTYFUOF.cjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/public/Transaction.ts"],"names":[],"mappings":";;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAgBA,SAAS,wBAAwB,6BAA6B;AAG9D,IAAM,qBAAqB,CAAC,GAAG,iCAAiC,CAAC;AAU1D,SAAS,kBAAkB,SAAS,MAAM;AAC/C,SAAO,sBAAsB,MAAM,oBAAoB,GAAG,IAAI;AAChE;AACA,IAAM,kBAAkB,CAAC,GAAG,mCAAmC;AAUxD,SAAS,eAAe,SAAS,MAAM;AAC5C,SAAO,sBAAsB,MAAM,iBAAiB,GAAG,IAAI;AAC7D;AACA,IAAM,qBAAqB,CAAC,GAAG,0CAA0C;AAWlE,SAAS,kBAAkB,SAAS,MAAM;AAC/C,SAAO,sBAAsB,MAAM,oBAAoB,GAAG,IAAI;AAChE;AACA,IAAM,oBAAoB,CAAC,GAAG,yCAAyC;AAWhE,SAAS,iBAAiB,SAAS,MAAM;AAC9C,SAAO,sBAAsB,MAAM,mBAAmB,GAAG,IAAI;AAC/D","sourcesContent":["/*\n * Copyright 2024 Palantir Technologies, Inc. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport { foundryPlatformFetch as $foundryPlatformFetch } from \"@osdk/shared.net.platformapi\";\n//\n\nconst _createTransaction = [1, \"/v1/datasets/{0}/transactions\", 3];\n\n/**\n * Creates a Transaction on a Branch of a Dataset.\n *\n * Third-party applications using this endpoint via OAuth2 must request the following operation scope: `api:datasets-write`.\n *\n * Required Scopes: [api:datasets-write]\n * URL: /v1/datasets/{datasetRid}/transactions\n */\nexport function createTransaction($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _createTransaction, ...args);\n}\nconst _getTransaction = [0, \"/v1/datasets/{0}/transactions/{1}\"];\n\n/**\n * Gets a Transaction of a Dataset.\n *\n * Third-party applications using this endpoint via OAuth2 must request the following operation scope: `api:datasets-read`.\n *\n * Required Scopes: [api:datasets-read]\n * URL: /v1/datasets/{datasetRid}/transactions/{transactionRid}\n */\nexport function getTransaction($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _getTransaction, ...args);\n}\nconst _commitTransaction = [1, \"/v1/datasets/{0}/transactions/{1}/commit\"];\n\n/**\n * Commits an open Transaction. File modifications made on this Transaction are preserved and the Branch is\n * updated to point to the Transaction.\n *\n * Third-party applications using this endpoint via OAuth2 must request the following operation scope: `api:datasets-write`.\n *\n * Required Scopes: [api:datasets-write]\n * URL: /v1/datasets/{datasetRid}/transactions/{transactionRid}/commit\n */\nexport function commitTransaction($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _commitTransaction, ...args);\n}\nconst _abortTransaction = [1, \"/v1/datasets/{0}/transactions/{1}/abort\"];\n\n/**\n * Aborts an open Transaction. File modifications made on this Transaction are not preserved and the Branch is\n * not updated.\n *\n * Third-party applications using this endpoint via OAuth2 must request the following operation scope: `api:datasets-write`.\n *\n * Required Scopes: [api:datasets-write]\n * URL: /v1/datasets/{datasetRid}/transactions/{transactionRid}/abort\n */\nexport function abortTransaction($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _abortTransaction, ...args);\n}"]}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
var __defProp = Object.defineProperty;
|
|
4
|
-
var __export = (target, all) => {
|
|
5
|
-
for (var name in all)
|
|
6
|
-
__defProp(target, name, { get: all[name], enumerable: true });
|
|
7
|
-
};
|
|
8
|
-
|
|
9
|
-
exports.__export = __export;
|
|
10
|
-
//# sourceMappingURL=out.js.map
|
|
11
|
-
//# sourceMappingURL=chunk-Q7SFCCGT.cjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":[],"names":[],"mappings":"","sourcesContent":[]}
|
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
var chunkQ7SFCCGT_cjs = require('./chunk-Q7SFCCGT.cjs');
|
|
4
|
-
var shared_net_platformapi = require('@osdk/shared.net.platformapi');
|
|
5
|
-
|
|
6
|
-
// src/public/Branch.ts
|
|
7
|
-
var Branch_exports = {};
|
|
8
|
-
chunkQ7SFCCGT_cjs.__export(Branch_exports, {
|
|
9
|
-
createBranch: () => createBranch,
|
|
10
|
-
deleteBranch: () => deleteBranch,
|
|
11
|
-
getBranch: () => getBranch,
|
|
12
|
-
listBranches: () => listBranches
|
|
13
|
-
});
|
|
14
|
-
var _listBranches = [0, "/v1/datasets/{0}/branches", 2];
|
|
15
|
-
function listBranches($ctx, ...args) {
|
|
16
|
-
return shared_net_platformapi.foundryPlatformFetch($ctx, _listBranches, ...args);
|
|
17
|
-
}
|
|
18
|
-
var _createBranch = [1, "/v1/datasets/{0}/branches", 1];
|
|
19
|
-
function createBranch($ctx, ...args) {
|
|
20
|
-
return shared_net_platformapi.foundryPlatformFetch($ctx, _createBranch, ...args);
|
|
21
|
-
}
|
|
22
|
-
var _getBranch = [0, "/v1/datasets/{0}/branches/{1}"];
|
|
23
|
-
function getBranch($ctx, ...args) {
|
|
24
|
-
return shared_net_platformapi.foundryPlatformFetch($ctx, _getBranch, ...args);
|
|
25
|
-
}
|
|
26
|
-
var _deleteBranch = [3, "/v1/datasets/{0}/branches/{1}"];
|
|
27
|
-
function deleteBranch($ctx, ...args) {
|
|
28
|
-
return shared_net_platformapi.foundryPlatformFetch($ctx, _deleteBranch, ...args);
|
|
29
|
-
}
|
|
30
|
-
|
|
31
|
-
exports.Branch_exports = Branch_exports;
|
|
32
|
-
exports.createBranch = createBranch;
|
|
33
|
-
exports.deleteBranch = deleteBranch;
|
|
34
|
-
exports.getBranch = getBranch;
|
|
35
|
-
exports.listBranches = listBranches;
|
|
36
|
-
//# sourceMappingURL=out.js.map
|
|
37
|
-
//# sourceMappingURL=chunk-VHGBMYEV.cjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/public/Branch.ts"],"names":[],"mappings":";;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAgBA,SAAS,wBAAwB,6BAA6B;AAG9D,IAAM,gBAAgB,CAAC,GAAG,6BAA6B,CAAC;AAUjD,SAAS,aAAa,SAAS,MAAM;AAC1C,SAAO,sBAAsB,MAAM,eAAe,GAAG,IAAI;AAC3D;AACA,IAAM,gBAAgB,CAAC,GAAG,6BAA6B,CAAC;AAUjD,SAAS,aAAa,SAAS,MAAM;AAC1C,SAAO,sBAAsB,MAAM,eAAe,GAAG,IAAI;AAC3D;AACA,IAAM,aAAa,CAAC,GAAG,+BAA+B;AAU/C,SAAS,UAAU,SAAS,MAAM;AACvC,SAAO,sBAAsB,MAAM,YAAY,GAAG,IAAI;AACxD;AACA,IAAM,gBAAgB,CAAC,GAAG,+BAA+B;AAUlD,SAAS,aAAa,SAAS,MAAM;AAC1C,SAAO,sBAAsB,MAAM,eAAe,GAAG,IAAI;AAC3D","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 * 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 * 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 * 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 * 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,49 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
var chunkQ7SFCCGT_cjs = require('./chunk-Q7SFCCGT.cjs');
|
|
4
|
-
var shared_net_platformapi = require('@osdk/shared.net.platformapi');
|
|
5
|
-
|
|
6
|
-
// src/public/Dataset.ts
|
|
7
|
-
var Dataset_exports = {};
|
|
8
|
-
chunkQ7SFCCGT_cjs.__export(Dataset_exports, {
|
|
9
|
-
createDataset: () => createDataset,
|
|
10
|
-
deleteSchema: () => deleteSchema,
|
|
11
|
-
getDataset: () => getDataset,
|
|
12
|
-
getSchema: () => getSchema,
|
|
13
|
-
putSchema: () => putSchema,
|
|
14
|
-
readTable: () => readTable
|
|
15
|
-
});
|
|
16
|
-
var _createDataset = [1, "/v1/datasets", 1];
|
|
17
|
-
function createDataset($ctx, ...args) {
|
|
18
|
-
return shared_net_platformapi.foundryPlatformFetch($ctx, _createDataset, ...args);
|
|
19
|
-
}
|
|
20
|
-
var _getDataset = [0, "/v1/datasets/{0}"];
|
|
21
|
-
function getDataset($ctx, ...args) {
|
|
22
|
-
return shared_net_platformapi.foundryPlatformFetch($ctx, _getDataset, ...args);
|
|
23
|
-
}
|
|
24
|
-
var _readTable = [0, "/v1/datasets/{0}/readTable", 2, , "*/*"];
|
|
25
|
-
function readTable($ctx, ...args) {
|
|
26
|
-
return shared_net_platformapi.foundryPlatformFetch($ctx, _readTable, ...args);
|
|
27
|
-
}
|
|
28
|
-
var _getSchema = [0, "/v1/datasets/{0}/schema", 2];
|
|
29
|
-
function getSchema($ctx, ...args) {
|
|
30
|
-
return shared_net_platformapi.foundryPlatformFetch($ctx, _getSchema, ...args);
|
|
31
|
-
}
|
|
32
|
-
var _putSchema = [2, "/v1/datasets/{0}/schema", 3];
|
|
33
|
-
function putSchema($ctx, ...args) {
|
|
34
|
-
return shared_net_platformapi.foundryPlatformFetch($ctx, _putSchema, ...args);
|
|
35
|
-
}
|
|
36
|
-
var _deleteSchema = [3, "/v1/datasets/{0}/schema", 2];
|
|
37
|
-
function deleteSchema($ctx, ...args) {
|
|
38
|
-
return shared_net_platformapi.foundryPlatformFetch($ctx, _deleteSchema, ...args);
|
|
39
|
-
}
|
|
40
|
-
|
|
41
|
-
exports.Dataset_exports = Dataset_exports;
|
|
42
|
-
exports.createDataset = createDataset;
|
|
43
|
-
exports.deleteSchema = deleteSchema;
|
|
44
|
-
exports.getDataset = getDataset;
|
|
45
|
-
exports.getSchema = getSchema;
|
|
46
|
-
exports.putSchema = putSchema;
|
|
47
|
-
exports.readTable = readTable;
|
|
48
|
-
//# sourceMappingURL=out.js.map
|
|
49
|
-
//# sourceMappingURL=chunk-ZSNMVYJ3.cjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/public/Dataset.ts"],"names":[],"mappings":";;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAgBA,SAAS,wBAAwB,6BAA6B;AAG9D,IAAM,iBAAiB,CAAC,GAAG,gBAAgB,CAAC;AAUrC,SAAS,cAAc,SAAS,MAAM;AAC3C,SAAO,sBAAsB,MAAM,gBAAgB,GAAG,IAAI;AAC5D;AACA,IAAM,cAAc,CAAC,GAAG,kBAAkB;AAUnC,SAAS,WAAW,SAAS,MAAM;AACxC,SAAO,sBAAsB,MAAM,aAAa,GAAG,IAAI;AACzD;AACA,IAAM,aAAa,CAAC,GAAG,8BAA8B,GAAE,EAAE,KAAK;AAYvD,SAAS,UAAU,SAAS,MAAM;AACvC,SAAO,sBAAsB,MAAM,YAAY,GAAG,IAAI;AACxD;AACA,IAAM,aAAa,CAAC,GAAG,2BAA2B,CAAC;AAQ5C,SAAS,UAAU,SAAS,MAAM;AACvC,SAAO,sBAAsB,MAAM,YAAY,GAAG,IAAI;AACxD;AACA,IAAM,aAAa,CAAC,GAAG,2BAA2B,CAAC;AAQ5C,SAAS,UAAU,SAAS,MAAM;AACvC,SAAO,sBAAsB,MAAM,YAAY,GAAG,IAAI;AACxD;AACA,IAAM,gBAAgB,CAAC,GAAG,2BAA2B,CAAC;AAQ/C,SAAS,aAAa,SAAS,MAAM;AAC1C,SAAO,sBAAsB,MAAM,eAAe,GAAG,IAAI;AAC3D","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 * 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 * 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 * 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 _getSchema = [0, \"/v1/datasets/{0}/schema\", 2];\n\n/**\n * Retrieves the Schema for a Dataset and Branch, if it exists.\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 _putSchema = [2, \"/v1/datasets/{0}/schema\", 3];\n\n/**\n * Puts a Schema on an existing Dataset and Branch.\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 _deleteSchema = [3, \"/v1/datasets/{0}/schema\", 2];\n\n/**\n * Deletes the Schema from a Dataset and Branch.\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}"]}
|
package/build/cjs/index.cjs
DELETED
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
var chunkVHGBMYEV_cjs = require('./chunk-VHGBMYEV.cjs');
|
|
4
|
-
var chunkZSNMVYJ3_cjs = require('./chunk-ZSNMVYJ3.cjs');
|
|
5
|
-
var chunkKQKBRG6Z_cjs = require('./chunk-KQKBRG6Z.cjs');
|
|
6
|
-
var chunkPUTYFUOF_cjs = require('./chunk-PUTYFUOF.cjs');
|
|
7
|
-
require('./chunk-Q7SFCCGT.cjs');
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
Object.defineProperty(exports, "Branches", {
|
|
12
|
-
enumerable: true,
|
|
13
|
-
get: function () { return chunkVHGBMYEV_cjs.Branch_exports; }
|
|
14
|
-
});
|
|
15
|
-
Object.defineProperty(exports, "Datasets", {
|
|
16
|
-
enumerable: true,
|
|
17
|
-
get: function () { return chunkZSNMVYJ3_cjs.Dataset_exports; }
|
|
18
|
-
});
|
|
19
|
-
Object.defineProperty(exports, "Files", {
|
|
20
|
-
enumerable: true,
|
|
21
|
-
get: function () { return chunkKQKBRG6Z_cjs.File_exports; }
|
|
22
|
-
});
|
|
23
|
-
Object.defineProperty(exports, "Transactions", {
|
|
24
|
-
enumerable: true,
|
|
25
|
-
get: function () { return chunkPUTYFUOF_cjs.Transaction_exports; }
|
|
26
|
-
});
|
|
27
|
-
//# sourceMappingURL=out.js.map
|
|
28
|
-
//# sourceMappingURL=index.cjs.map
|
package/build/cjs/index.cjs.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":[],"names":[],"mappings":""}
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
var chunkVHGBMYEV_cjs = require('../chunk-VHGBMYEV.cjs');
|
|
4
|
-
require('../chunk-Q7SFCCGT.cjs');
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
Object.defineProperty(exports, "createBranch", {
|
|
9
|
-
enumerable: true,
|
|
10
|
-
get: function () { return chunkVHGBMYEV_cjs.createBranch; }
|
|
11
|
-
});
|
|
12
|
-
Object.defineProperty(exports, "deleteBranch", {
|
|
13
|
-
enumerable: true,
|
|
14
|
-
get: function () { return chunkVHGBMYEV_cjs.deleteBranch; }
|
|
15
|
-
});
|
|
16
|
-
Object.defineProperty(exports, "getBranch", {
|
|
17
|
-
enumerable: true,
|
|
18
|
-
get: function () { return chunkVHGBMYEV_cjs.getBranch; }
|
|
19
|
-
});
|
|
20
|
-
Object.defineProperty(exports, "listBranches", {
|
|
21
|
-
enumerable: true,
|
|
22
|
-
get: function () { return chunkVHGBMYEV_cjs.listBranches; }
|
|
23
|
-
});
|
|
24
|
-
//# sourceMappingURL=out.js.map
|
|
25
|
-
//# sourceMappingURL=Branch.cjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":[],"names":[],"mappings":""}
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
var chunkZSNMVYJ3_cjs = require('../chunk-ZSNMVYJ3.cjs');
|
|
4
|
-
require('../chunk-Q7SFCCGT.cjs');
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
Object.defineProperty(exports, "createDataset", {
|
|
9
|
-
enumerable: true,
|
|
10
|
-
get: function () { return chunkZSNMVYJ3_cjs.createDataset; }
|
|
11
|
-
});
|
|
12
|
-
Object.defineProperty(exports, "deleteSchema", {
|
|
13
|
-
enumerable: true,
|
|
14
|
-
get: function () { return chunkZSNMVYJ3_cjs.deleteSchema; }
|
|
15
|
-
});
|
|
16
|
-
Object.defineProperty(exports, "getDataset", {
|
|
17
|
-
enumerable: true,
|
|
18
|
-
get: function () { return chunkZSNMVYJ3_cjs.getDataset; }
|
|
19
|
-
});
|
|
20
|
-
Object.defineProperty(exports, "getSchema", {
|
|
21
|
-
enumerable: true,
|
|
22
|
-
get: function () { return chunkZSNMVYJ3_cjs.getSchema; }
|
|
23
|
-
});
|
|
24
|
-
Object.defineProperty(exports, "putSchema", {
|
|
25
|
-
enumerable: true,
|
|
26
|
-
get: function () { return chunkZSNMVYJ3_cjs.putSchema; }
|
|
27
|
-
});
|
|
28
|
-
Object.defineProperty(exports, "readTable", {
|
|
29
|
-
enumerable: true,
|
|
30
|
-
get: function () { return chunkZSNMVYJ3_cjs.readTable; }
|
|
31
|
-
});
|
|
32
|
-
//# sourceMappingURL=out.js.map
|
|
33
|
-
//# sourceMappingURL=Dataset.cjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":[],"names":[],"mappings":""}
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
var chunkKQKBRG6Z_cjs = require('../chunk-KQKBRG6Z.cjs');
|
|
4
|
-
require('../chunk-Q7SFCCGT.cjs');
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
Object.defineProperty(exports, "deleteFile", {
|
|
9
|
-
enumerable: true,
|
|
10
|
-
get: function () { return chunkKQKBRG6Z_cjs.deleteFile; }
|
|
11
|
-
});
|
|
12
|
-
Object.defineProperty(exports, "getFileContent", {
|
|
13
|
-
enumerable: true,
|
|
14
|
-
get: function () { return chunkKQKBRG6Z_cjs.getFileContent; }
|
|
15
|
-
});
|
|
16
|
-
Object.defineProperty(exports, "getFileMetadata", {
|
|
17
|
-
enumerable: true,
|
|
18
|
-
get: function () { return chunkKQKBRG6Z_cjs.getFileMetadata; }
|
|
19
|
-
});
|
|
20
|
-
Object.defineProperty(exports, "listFiles", {
|
|
21
|
-
enumerable: true,
|
|
22
|
-
get: function () { return chunkKQKBRG6Z_cjs.listFiles; }
|
|
23
|
-
});
|
|
24
|
-
Object.defineProperty(exports, "uploadFile", {
|
|
25
|
-
enumerable: true,
|
|
26
|
-
get: function () { return chunkKQKBRG6Z_cjs.uploadFile; }
|
|
27
|
-
});
|
|
28
|
-
//# sourceMappingURL=out.js.map
|
|
29
|
-
//# sourceMappingURL=File.cjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":[],"names":[],"mappings":""}
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
var chunkPUTYFUOF_cjs = require('../chunk-PUTYFUOF.cjs');
|
|
4
|
-
require('../chunk-Q7SFCCGT.cjs');
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
Object.defineProperty(exports, "abortTransaction", {
|
|
9
|
-
enumerable: true,
|
|
10
|
-
get: function () { return chunkPUTYFUOF_cjs.abortTransaction; }
|
|
11
|
-
});
|
|
12
|
-
Object.defineProperty(exports, "commitTransaction", {
|
|
13
|
-
enumerable: true,
|
|
14
|
-
get: function () { return chunkPUTYFUOF_cjs.commitTransaction; }
|
|
15
|
-
});
|
|
16
|
-
Object.defineProperty(exports, "createTransaction", {
|
|
17
|
-
enumerable: true,
|
|
18
|
-
get: function () { return chunkPUTYFUOF_cjs.createTransaction; }
|
|
19
|
-
});
|
|
20
|
-
Object.defineProperty(exports, "getTransaction", {
|
|
21
|
-
enumerable: true,
|
|
22
|
-
get: function () { return chunkPUTYFUOF_cjs.getTransaction; }
|
|
23
|
-
});
|
|
24
|
-
//# sourceMappingURL=out.js.map
|
|
25
|
-
//# sourceMappingURL=Transaction.cjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":[],"names":[],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/public/Transaction.ts"],"names":[],"mappings":";;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAgBA,SAAS,wBAAwB,6BAA6B;AAG9D,IAAM,qBAAqB,CAAC,GAAG,iCAAiC,CAAC;AAU1D,SAAS,kBAAkB,SAAS,MAAM;AAC/C,SAAO,sBAAsB,MAAM,oBAAoB,GAAG,IAAI;AAChE;AACA,IAAM,kBAAkB,CAAC,GAAG,mCAAmC;AAUxD,SAAS,eAAe,SAAS,MAAM;AAC5C,SAAO,sBAAsB,MAAM,iBAAiB,GAAG,IAAI;AAC7D;AACA,IAAM,qBAAqB,CAAC,GAAG,0CAA0C;AAWlE,SAAS,kBAAkB,SAAS,MAAM;AAC/C,SAAO,sBAAsB,MAAM,oBAAoB,GAAG,IAAI;AAChE;AACA,IAAM,oBAAoB,CAAC,GAAG,yCAAyC;AAWhE,SAAS,iBAAiB,SAAS,MAAM;AAC9C,SAAO,sBAAsB,MAAM,mBAAmB,GAAG,IAAI;AAC/D","sourcesContent":["/*\n * Copyright 2024 Palantir Technologies, Inc. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport { foundryPlatformFetch as $foundryPlatformFetch } from \"@osdk/shared.net.platformapi\";\n//\n\nconst _createTransaction = [1, \"/v1/datasets/{0}/transactions\", 3];\n\n/**\n * Creates a Transaction on a Branch of a Dataset.\n *\n * Third-party applications using this endpoint via OAuth2 must request the following operation scope: `api:datasets-write`.\n *\n * Required Scopes: [api:datasets-write]\n * URL: /v1/datasets/{datasetRid}/transactions\n */\nexport function createTransaction($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _createTransaction, ...args);\n}\nconst _getTransaction = [0, \"/v1/datasets/{0}/transactions/{1}\"];\n\n/**\n * Gets a Transaction of a Dataset.\n *\n * Third-party applications using this endpoint via OAuth2 must request the following operation scope: `api:datasets-read`.\n *\n * Required Scopes: [api:datasets-read]\n * URL: /v1/datasets/{datasetRid}/transactions/{transactionRid}\n */\nexport function getTransaction($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _getTransaction, ...args);\n}\nconst _commitTransaction = [1, \"/v1/datasets/{0}/transactions/{1}/commit\"];\n\n/**\n * Commits an open Transaction. File modifications made on this Transaction are preserved and the Branch is\n * updated to point to the Transaction.\n *\n * Third-party applications using this endpoint via OAuth2 must request the following operation scope: `api:datasets-write`.\n *\n * Required Scopes: [api:datasets-write]\n * URL: /v1/datasets/{datasetRid}/transactions/{transactionRid}/commit\n */\nexport function commitTransaction($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _commitTransaction, ...args);\n}\nconst _abortTransaction = [1, \"/v1/datasets/{0}/transactions/{1}/abort\"];\n\n/**\n * Aborts an open Transaction. File modifications made on this Transaction are not preserved and the Branch is\n * not updated.\n *\n * Third-party applications using this endpoint via OAuth2 must request the following operation scope: `api:datasets-write`.\n *\n * Required Scopes: [api:datasets-write]\n * URL: /v1/datasets/{datasetRid}/transactions/{transactionRid}/abort\n */\nexport function abortTransaction($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _abortTransaction, ...args);\n}"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/public/Branch.ts"],"names":[],"mappings":";;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAgBA,SAAS,wBAAwB,6BAA6B;AAG9D,IAAM,gBAAgB,CAAC,GAAG,6BAA6B,CAAC;AAUjD,SAAS,aAAa,SAAS,MAAM;AAC1C,SAAO,sBAAsB,MAAM,eAAe,GAAG,IAAI;AAC3D;AACA,IAAM,gBAAgB,CAAC,GAAG,6BAA6B,CAAC;AAUjD,SAAS,aAAa,SAAS,MAAM;AAC1C,SAAO,sBAAsB,MAAM,eAAe,GAAG,IAAI;AAC3D;AACA,IAAM,aAAa,CAAC,GAAG,+BAA+B;AAU/C,SAAS,UAAU,SAAS,MAAM;AACvC,SAAO,sBAAsB,MAAM,YAAY,GAAG,IAAI;AACxD;AACA,IAAM,gBAAgB,CAAC,GAAG,+BAA+B;AAUlD,SAAS,aAAa,SAAS,MAAM;AAC1C,SAAO,sBAAsB,MAAM,eAAe,GAAG,IAAI;AAC3D","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 * 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 * 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 * 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 * 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}"]}
|