@osdk/foundry.streams 2.6.0 → 2.8.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 +26 -0
- package/build/browser/public/Dataset.d.ts +1 -1
- package/build/browser/public/Dataset.js +1 -1
- package/build/browser/public/Dataset.js.map +1 -1
- package/build/browser/public/Stream.d.ts +6 -6
- package/build/browser/public/Stream.js +6 -6
- package/build/browser/public/Stream.js.map +1 -1
- package/build/esm/public/Dataset.d.ts +1 -1
- package/build/esm/public/Dataset.js +1 -1
- package/build/esm/public/Dataset.js.map +1 -1
- package/build/esm/public/Stream.d.ts +6 -6
- package/build/esm/public/Stream.js +6 -6
- package/build/esm/public/Stream.js.map +1 -1
- package/package.json +6 -6
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,31 @@
|
|
|
1
1
|
# @osdk/foundry.streams
|
|
2
2
|
|
|
3
|
+
## 2.8.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- b025652: Update APIs and make backend dependency non-optional.
|
|
8
|
+
|
|
9
|
+
### Patch Changes
|
|
10
|
+
|
|
11
|
+
- Updated dependencies [b025652]
|
|
12
|
+
- @osdk/foundry.filesystem@2.8.0
|
|
13
|
+
- @osdk/foundry.datasets@2.8.0
|
|
14
|
+
- @osdk/foundry.core@2.8.0
|
|
15
|
+
|
|
16
|
+
## 2.7.0
|
|
17
|
+
|
|
18
|
+
### Minor Changes
|
|
19
|
+
|
|
20
|
+
- 5f8048f: Updating platform APIs to include media APIs.
|
|
21
|
+
|
|
22
|
+
### Patch Changes
|
|
23
|
+
|
|
24
|
+
- Updated dependencies [5f8048f]
|
|
25
|
+
- @osdk/foundry.filesystem@2.7.0
|
|
26
|
+
- @osdk/foundry.datasets@2.7.0
|
|
27
|
+
- @osdk/foundry.core@2.7.0
|
|
28
|
+
|
|
3
29
|
## 2.6.0
|
|
4
30
|
|
|
5
31
|
### Minor Changes
|
|
@@ -7,7 +7,7 @@ import type * as _Streams from "../_components.js";
|
|
|
7
7
|
* default branch ('master' for most enrollments). For more information on streaming datasets, refer to the
|
|
8
8
|
* [streams](https://www.palantir.com/docs/foundry/data-integration/streams/) user documentation.
|
|
9
9
|
*
|
|
10
|
-
* @
|
|
10
|
+
* @beta
|
|
11
11
|
*
|
|
12
12
|
* Required Scopes: [api:streams-write]
|
|
13
13
|
* URL: /v2/streams/datasets/create
|
|
@@ -21,7 +21,7 @@ const _create = [1, "/v2/streams/datasets/create", 3];
|
|
|
21
21
|
* default branch ('master' for most enrollments). For more information on streaming datasets, refer to the
|
|
22
22
|
* [streams](https://www.palantir.com/docs/foundry/data-integration/streams/) user documentation.
|
|
23
23
|
*
|
|
24
|
-
* @
|
|
24
|
+
* @beta
|
|
25
25
|
*
|
|
26
26
|
* Required Scopes: [api:streams-write]
|
|
27
27
|
* URL: /v2/streams/datasets/create
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Dataset.js","names":["foundryPlatformFetch","$foundryPlatformFetch","_create","create","$ctx","args"],"sources":["Dataset.js"],"sourcesContent":["/*\n * Copyright 2024 Palantir Technologies, Inc. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nimport { foundryPlatformFetch as $foundryPlatformFetch } from \"@osdk/shared.net.platformapi\";\n//\nconst _create = [1, \"/v2/streams/datasets/create\", 3];\n/**\n * Creates a streaming dataset with a stream on the specified branch, or if no branch is specified, on the\n * default branch ('master' for most enrollments). For more information on streaming datasets, refer to the\n * [streams](https://www.palantir.com/docs/foundry/data-integration/streams/) user documentation.\n *\n * @
|
|
1
|
+
{"version":3,"file":"Dataset.js","names":["foundryPlatformFetch","$foundryPlatformFetch","_create","create","$ctx","args"],"sources":["Dataset.js"],"sourcesContent":["/*\n * Copyright 2024 Palantir Technologies, Inc. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nimport { foundryPlatformFetch as $foundryPlatformFetch } from \"@osdk/shared.net.platformapi\";\n//\nconst _create = [1, \"/v2/streams/datasets/create\", 3];\n/**\n * Creates a streaming dataset with a stream on the specified branch, or if no branch is specified, on the\n * default branch ('master' for most enrollments). For more information on streaming datasets, refer to the\n * [streams](https://www.palantir.com/docs/foundry/data-integration/streams/) user documentation.\n *\n * @beta\n *\n * Required Scopes: [api:streams-write]\n * URL: /v2/streams/datasets/create\n */\nexport function create($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _create, ...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,6BAA6B,EAAE,CAAC,CAAC;AACrD;AACA;AACA;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","ignoreList":[]}
|
|
@@ -6,7 +6,7 @@ import type * as _Streams from "../_components.js";
|
|
|
6
6
|
/**
|
|
7
7
|
* Creates a new branch on the backing streaming dataset, and creates a new stream on that branch.
|
|
8
8
|
*
|
|
9
|
-
* @
|
|
9
|
+
* @beta
|
|
10
10
|
*
|
|
11
11
|
* Required Scopes: [api:streams-write]
|
|
12
12
|
* URL: /v2/streams/datasets/{datasetRid}/streams
|
|
@@ -22,7 +22,7 @@ export declare function create($ctx: $Client | $ClientContext | $OldClient | $Ol
|
|
|
22
22
|
* Get a stream by its branch name. If the branch does not exist, there is no stream on that branch, or the
|
|
23
23
|
* user does not have permission to access the stream, a 404 error will be returned.
|
|
24
24
|
*
|
|
25
|
-
* @
|
|
25
|
+
* @beta
|
|
26
26
|
*
|
|
27
27
|
* Required Scopes: [api:streams-read]
|
|
28
28
|
* URL: /v2/streams/datasets/{datasetRid}/streams/{streamBranchName}
|
|
@@ -38,7 +38,7 @@ export declare function get($ctx: $Client | $ClientContext | $OldClient | $OldCl
|
|
|
38
38
|
* Publish a single record to the stream. The record will be validated against the stream's schema, and
|
|
39
39
|
* rejected if it is invalid.
|
|
40
40
|
*
|
|
41
|
-
* @
|
|
41
|
+
* @beta
|
|
42
42
|
*
|
|
43
43
|
* Required Scopes: [api:streams-write]
|
|
44
44
|
* URL: /v2/highScale/streams/datasets/{datasetRid}/streams/{streamBranchName}/publishRecord
|
|
@@ -55,7 +55,7 @@ export declare function publishRecord($ctx: $Client | $ClientContext | $OldClien
|
|
|
55
55
|
* Publish a batch of records to the stream. The records will be validated against the stream's schema, and
|
|
56
56
|
* the batch will be rejected if one or more of the records are invalid.
|
|
57
57
|
*
|
|
58
|
-
* @
|
|
58
|
+
* @beta
|
|
59
59
|
*
|
|
60
60
|
* Required Scopes: [api:streams-write]
|
|
61
61
|
* URL: /v2/highScale/streams/datasets/{datasetRid}/streams/{streamBranchName}/publishRecords
|
|
@@ -71,7 +71,7 @@ export declare function publishRecords($ctx: $Client | $ClientContext | $OldClie
|
|
|
71
71
|
/**
|
|
72
72
|
* Publish a single binary record to the stream. The stream's schema must be a single binary field.
|
|
73
73
|
*
|
|
74
|
-
* @
|
|
74
|
+
* @beta
|
|
75
75
|
*
|
|
76
76
|
* Required Scopes: [api:streams-write]
|
|
77
77
|
* URL: /v2/highScale/streams/datasets/{datasetRid}/streams/{streamBranchName}/publishBinaryRecord
|
|
@@ -94,7 +94,7 @@ export declare function publishBinaryRecord($ctx: $Client | $ClientContext | $Ol
|
|
|
94
94
|
* This will create a new stream view (as seen by the change of the `viewRid` on the branch),
|
|
95
95
|
* which will be the new stream view that will be written to for the branch.
|
|
96
96
|
*
|
|
97
|
-
* @
|
|
97
|
+
* @beta
|
|
98
98
|
*
|
|
99
99
|
* Required Scopes: [api:streams-write]
|
|
100
100
|
* URL: /v2/streams/datasets/{datasetRid}/streams/{streamBranchName}/reset
|
|
@@ -19,7 +19,7 @@ const _create = [1, "/v2/streams/datasets/{0}/streams", 3];
|
|
|
19
19
|
/**
|
|
20
20
|
* Creates a new branch on the backing streaming dataset, and creates a new stream on that branch.
|
|
21
21
|
*
|
|
22
|
-
* @
|
|
22
|
+
* @beta
|
|
23
23
|
*
|
|
24
24
|
* Required Scopes: [api:streams-write]
|
|
25
25
|
* URL: /v2/streams/datasets/{datasetRid}/streams
|
|
@@ -32,7 +32,7 @@ const _get = [0, "/v2/streams/datasets/{0}/streams/{1}", 2];
|
|
|
32
32
|
* Get a stream by its branch name. If the branch does not exist, there is no stream on that branch, or the
|
|
33
33
|
* user does not have permission to access the stream, a 404 error will be returned.
|
|
34
34
|
*
|
|
35
|
-
* @
|
|
35
|
+
* @beta
|
|
36
36
|
*
|
|
37
37
|
* Required Scopes: [api:streams-read]
|
|
38
38
|
* URL: /v2/streams/datasets/{datasetRid}/streams/{streamBranchName}
|
|
@@ -45,7 +45,7 @@ const _publishRecord = [1, "/v2/highScale/streams/datasets/{0}/streams/{1}/publi
|
|
|
45
45
|
* Publish a single record to the stream. The record will be validated against the stream's schema, and
|
|
46
46
|
* rejected if it is invalid.
|
|
47
47
|
*
|
|
48
|
-
* @
|
|
48
|
+
* @beta
|
|
49
49
|
*
|
|
50
50
|
* Required Scopes: [api:streams-write]
|
|
51
51
|
* URL: /v2/highScale/streams/datasets/{datasetRid}/streams/{streamBranchName}/publishRecord
|
|
@@ -58,7 +58,7 @@ const _publishRecords = [1, "/v2/highScale/streams/datasets/{0}/streams/{1}/publ
|
|
|
58
58
|
* Publish a batch of records to the stream. The records will be validated against the stream's schema, and
|
|
59
59
|
* the batch will be rejected if one or more of the records are invalid.
|
|
60
60
|
*
|
|
61
|
-
* @
|
|
61
|
+
* @beta
|
|
62
62
|
*
|
|
63
63
|
* Required Scopes: [api:streams-write]
|
|
64
64
|
* URL: /v2/highScale/streams/datasets/{datasetRid}/streams/{streamBranchName}/publishRecords
|
|
@@ -70,7 +70,7 @@ const _publishBinaryRecord = [1, "/v2/highScale/streams/datasets/{0}/streams/{1}
|
|
|
70
70
|
/**
|
|
71
71
|
* Publish a single binary record to the stream. The stream's schema must be a single binary field.
|
|
72
72
|
*
|
|
73
|
-
* @
|
|
73
|
+
* @beta
|
|
74
74
|
*
|
|
75
75
|
* Required Scopes: [api:streams-write]
|
|
76
76
|
* URL: /v2/highScale/streams/datasets/{datasetRid}/streams/{streamBranchName}/publishBinaryRecord
|
|
@@ -88,7 +88,7 @@ const _reset = [1, "/v2/streams/datasets/{0}/streams/{1}/reset", 3];
|
|
|
88
88
|
* This will create a new stream view (as seen by the change of the `viewRid` on the branch),
|
|
89
89
|
* which will be the new stream view that will be written to for the branch.
|
|
90
90
|
*
|
|
91
|
-
* @
|
|
91
|
+
* @beta
|
|
92
92
|
*
|
|
93
93
|
* Required Scopes: [api:streams-write]
|
|
94
94
|
* URL: /v2/streams/datasets/{datasetRid}/streams/{streamBranchName}/reset
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Stream.js","names":["foundryPlatformFetch","$foundryPlatformFetch","_create","create","$ctx","args","_get","get","_publishRecord","publishRecord","_publishRecords","publishRecords","_publishBinaryRecord","publishBinaryRecord","_reset","reset"],"sources":["Stream.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, \"/v2/streams/datasets/{0}/streams\", 3];\n/**\n * Creates a new branch on the backing streaming dataset, and creates a new stream on that branch.\n *\n * @
|
|
1
|
+
{"version":3,"file":"Stream.js","names":["foundryPlatformFetch","$foundryPlatformFetch","_create","create","$ctx","args","_get","get","_publishRecord","publishRecord","_publishRecords","publishRecords","_publishBinaryRecord","publishBinaryRecord","_reset","reset"],"sources":["Stream.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, \"/v2/streams/datasets/{0}/streams\", 3];\n/**\n * Creates a new branch on the backing streaming dataset, and creates a new stream on that branch.\n *\n * @beta\n *\n * Required Scopes: [api:streams-write]\n * URL: /v2/streams/datasets/{datasetRid}/streams\n */\nexport function create($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _create, ...args);\n}\nconst _get = [0, \"/v2/streams/datasets/{0}/streams/{1}\", 2];\n/**\n * Get a stream by its branch name. If the branch does not exist, there is no stream on that branch, or the\n * user does not have permission to access the stream, a 404 error will be returned.\n *\n * @beta\n *\n * Required Scopes: [api:streams-read]\n * URL: /v2/streams/datasets/{datasetRid}/streams/{streamBranchName}\n */\nexport function get($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _get, ...args);\n}\nconst _publishRecord = [1, \"/v2/highScale/streams/datasets/{0}/streams/{1}/publishRecord\", 3];\n/**\n * Publish a single record to the stream. The record will be validated against the stream's schema, and\n * rejected if it is invalid.\n *\n * @beta\n *\n * Required Scopes: [api:streams-write]\n * URL: /v2/highScale/streams/datasets/{datasetRid}/streams/{streamBranchName}/publishRecord\n */\nexport function publishRecord($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _publishRecord, ...args);\n}\nconst _publishRecords = [1, \"/v2/highScale/streams/datasets/{0}/streams/{1}/publishRecords\", 3];\n/**\n * Publish a batch of records to the stream. The records will be validated against the stream's schema, and\n * the batch will be rejected if one or more of the records are invalid.\n *\n * @beta\n *\n * Required Scopes: [api:streams-write]\n * URL: /v2/highScale/streams/datasets/{datasetRid}/streams/{streamBranchName}/publishRecords\n */\nexport function publishRecords($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _publishRecords, ...args);\n}\nconst _publishBinaryRecord = [\n 1,\n \"/v2/highScale/streams/datasets/{0}/streams/{1}/publishBinaryRecord\",\n 3,\n \"application/octet-stream\",\n];\n/**\n * Publish a single binary record to the stream. The stream's schema must be a single binary field.\n *\n * @beta\n *\n * Required Scopes: [api:streams-write]\n * URL: /v2/highScale/streams/datasets/{datasetRid}/streams/{streamBranchName}/publishBinaryRecord\n */\nexport function publishBinaryRecord($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _publishBinaryRecord, ...args);\n}\nconst _reset = [1, \"/v2/streams/datasets/{0}/streams/{1}/reset\", 3];\n/**\n * Reset the stream on the given dataset branch, clearing the existing records and allowing new configurations\n * to be applied.\n *\n * To change the stream settings without clearing the records, update the stream settings in-platform.\n *\n * This will create a new stream view (as seen by the change of the `viewRid` on the branch),\n * which will be the new stream view that will be written to for the branch.\n *\n * @beta\n *\n * Required Scopes: [api:streams-write]\n * URL: /v2/streams/datasets/{datasetRid}/streams/{streamBranchName}/reset\n */\nexport function reset($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _reset, ...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,kCAAkC,EAAE,CAAC,CAAC;AAC1D;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,sCAAsC,EAAE,CAAC,CAAC;AAC3D;AACA;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,cAAc,GAAG,CAAC,CAAC,EAAE,8DAA8D,EAAE,CAAC,CAAC;AAC7F;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,SAASC,aAAaA,CAACL,IAAI,EAAE,GAAGC,IAAI,EAAE;EACzC,OAAOJ,qBAAqB,CAACG,IAAI,EAAEI,cAAc,EAAE,GAAGH,IAAI,CAAC;AAC/D;AACA,MAAMK,eAAe,GAAG,CAAC,CAAC,EAAE,+DAA+D,EAAE,CAAC,CAAC;AAC/F;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,SAASC,cAAcA,CAACP,IAAI,EAAE,GAAGC,IAAI,EAAE;EAC1C,OAAOJ,qBAAqB,CAACG,IAAI,EAAEM,eAAe,EAAE,GAAGL,IAAI,CAAC;AAChE;AACA,MAAMO,oBAAoB,GAAG,CACzB,CAAC,EACD,oEAAoE,EACpE,CAAC,EACD,0BAA0B,CAC7B;AACD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,SAASC,mBAAmBA,CAACT,IAAI,EAAE,GAAGC,IAAI,EAAE;EAC/C,OAAOJ,qBAAqB,CAACG,IAAI,EAAEQ,oBAAoB,EAAE,GAAGP,IAAI,CAAC;AACrE;AACA,MAAMS,MAAM,GAAG,CAAC,CAAC,EAAE,4CAA4C,EAAE,CAAC,CAAC;AACnE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,SAASC,KAAKA,CAACX,IAAI,EAAE,GAAGC,IAAI,EAAE;EACjC,OAAOJ,qBAAqB,CAACG,IAAI,EAAEU,MAAM,EAAE,GAAGT,IAAI,CAAC;AACvD","ignoreList":[]}
|
|
@@ -7,7 +7,7 @@ import type * as _Streams from "../_components.js";
|
|
|
7
7
|
* default branch ('master' for most enrollments). For more information on streaming datasets, refer to the
|
|
8
8
|
* [streams](https://www.palantir.com/docs/foundry/data-integration/streams/) user documentation.
|
|
9
9
|
*
|
|
10
|
-
* @
|
|
10
|
+
* @beta
|
|
11
11
|
*
|
|
12
12
|
* Required Scopes: [api:streams-write]
|
|
13
13
|
* URL: /v2/streams/datasets/create
|
|
@@ -21,7 +21,7 @@ const _create = [1, "/v2/streams/datasets/create", 3];
|
|
|
21
21
|
* default branch ('master' for most enrollments). For more information on streaming datasets, refer to the
|
|
22
22
|
* [streams](https://www.palantir.com/docs/foundry/data-integration/streams/) user documentation.
|
|
23
23
|
*
|
|
24
|
-
* @
|
|
24
|
+
* @beta
|
|
25
25
|
*
|
|
26
26
|
* Required Scopes: [api:streams-write]
|
|
27
27
|
* URL: /v2/streams/datasets/create
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Dataset.js","names":["foundryPlatformFetch","$foundryPlatformFetch","_create","create","$ctx","args"],"sources":["Dataset.js"],"sourcesContent":["/*\n * Copyright 2024 Palantir Technologies, Inc. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nimport { foundryPlatformFetch as $foundryPlatformFetch } from \"@osdk/shared.net.platformapi\";\n//\nconst _create = [1, \"/v2/streams/datasets/create\", 3];\n/**\n * Creates a streaming dataset with a stream on the specified branch, or if no branch is specified, on the\n * default branch ('master' for most enrollments). For more information on streaming datasets, refer to the\n * [streams](https://www.palantir.com/docs/foundry/data-integration/streams/) user documentation.\n *\n * @
|
|
1
|
+
{"version":3,"file":"Dataset.js","names":["foundryPlatformFetch","$foundryPlatformFetch","_create","create","$ctx","args"],"sources":["Dataset.js"],"sourcesContent":["/*\n * Copyright 2024 Palantir Technologies, Inc. All rights reserved.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nimport { foundryPlatformFetch as $foundryPlatformFetch } from \"@osdk/shared.net.platformapi\";\n//\nconst _create = [1, \"/v2/streams/datasets/create\", 3];\n/**\n * Creates a streaming dataset with a stream on the specified branch, or if no branch is specified, on the\n * default branch ('master' for most enrollments). For more information on streaming datasets, refer to the\n * [streams](https://www.palantir.com/docs/foundry/data-integration/streams/) user documentation.\n *\n * @beta\n *\n * Required Scopes: [api:streams-write]\n * URL: /v2/streams/datasets/create\n */\nexport function create($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _create, ...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,6BAA6B,EAAE,CAAC,CAAC;AACrD;AACA;AACA;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","ignoreList":[]}
|
|
@@ -6,7 +6,7 @@ import type * as _Streams from "../_components.js";
|
|
|
6
6
|
/**
|
|
7
7
|
* Creates a new branch on the backing streaming dataset, and creates a new stream on that branch.
|
|
8
8
|
*
|
|
9
|
-
* @
|
|
9
|
+
* @beta
|
|
10
10
|
*
|
|
11
11
|
* Required Scopes: [api:streams-write]
|
|
12
12
|
* URL: /v2/streams/datasets/{datasetRid}/streams
|
|
@@ -22,7 +22,7 @@ export declare function create($ctx: $Client | $ClientContext | $OldClient | $Ol
|
|
|
22
22
|
* Get a stream by its branch name. If the branch does not exist, there is no stream on that branch, or the
|
|
23
23
|
* user does not have permission to access the stream, a 404 error will be returned.
|
|
24
24
|
*
|
|
25
|
-
* @
|
|
25
|
+
* @beta
|
|
26
26
|
*
|
|
27
27
|
* Required Scopes: [api:streams-read]
|
|
28
28
|
* URL: /v2/streams/datasets/{datasetRid}/streams/{streamBranchName}
|
|
@@ -38,7 +38,7 @@ export declare function get($ctx: $Client | $ClientContext | $OldClient | $OldCl
|
|
|
38
38
|
* Publish a single record to the stream. The record will be validated against the stream's schema, and
|
|
39
39
|
* rejected if it is invalid.
|
|
40
40
|
*
|
|
41
|
-
* @
|
|
41
|
+
* @beta
|
|
42
42
|
*
|
|
43
43
|
* Required Scopes: [api:streams-write]
|
|
44
44
|
* URL: /v2/highScale/streams/datasets/{datasetRid}/streams/{streamBranchName}/publishRecord
|
|
@@ -55,7 +55,7 @@ export declare function publishRecord($ctx: $Client | $ClientContext | $OldClien
|
|
|
55
55
|
* Publish a batch of records to the stream. The records will be validated against the stream's schema, and
|
|
56
56
|
* the batch will be rejected if one or more of the records are invalid.
|
|
57
57
|
*
|
|
58
|
-
* @
|
|
58
|
+
* @beta
|
|
59
59
|
*
|
|
60
60
|
* Required Scopes: [api:streams-write]
|
|
61
61
|
* URL: /v2/highScale/streams/datasets/{datasetRid}/streams/{streamBranchName}/publishRecords
|
|
@@ -71,7 +71,7 @@ export declare function publishRecords($ctx: $Client | $ClientContext | $OldClie
|
|
|
71
71
|
/**
|
|
72
72
|
* Publish a single binary record to the stream. The stream's schema must be a single binary field.
|
|
73
73
|
*
|
|
74
|
-
* @
|
|
74
|
+
* @beta
|
|
75
75
|
*
|
|
76
76
|
* Required Scopes: [api:streams-write]
|
|
77
77
|
* URL: /v2/highScale/streams/datasets/{datasetRid}/streams/{streamBranchName}/publishBinaryRecord
|
|
@@ -94,7 +94,7 @@ export declare function publishBinaryRecord($ctx: $Client | $ClientContext | $Ol
|
|
|
94
94
|
* This will create a new stream view (as seen by the change of the `viewRid` on the branch),
|
|
95
95
|
* which will be the new stream view that will be written to for the branch.
|
|
96
96
|
*
|
|
97
|
-
* @
|
|
97
|
+
* @beta
|
|
98
98
|
*
|
|
99
99
|
* Required Scopes: [api:streams-write]
|
|
100
100
|
* URL: /v2/streams/datasets/{datasetRid}/streams/{streamBranchName}/reset
|
|
@@ -19,7 +19,7 @@ const _create = [1, "/v2/streams/datasets/{0}/streams", 3];
|
|
|
19
19
|
/**
|
|
20
20
|
* Creates a new branch on the backing streaming dataset, and creates a new stream on that branch.
|
|
21
21
|
*
|
|
22
|
-
* @
|
|
22
|
+
* @beta
|
|
23
23
|
*
|
|
24
24
|
* Required Scopes: [api:streams-write]
|
|
25
25
|
* URL: /v2/streams/datasets/{datasetRid}/streams
|
|
@@ -32,7 +32,7 @@ const _get = [0, "/v2/streams/datasets/{0}/streams/{1}", 2];
|
|
|
32
32
|
* Get a stream by its branch name. If the branch does not exist, there is no stream on that branch, or the
|
|
33
33
|
* user does not have permission to access the stream, a 404 error will be returned.
|
|
34
34
|
*
|
|
35
|
-
* @
|
|
35
|
+
* @beta
|
|
36
36
|
*
|
|
37
37
|
* Required Scopes: [api:streams-read]
|
|
38
38
|
* URL: /v2/streams/datasets/{datasetRid}/streams/{streamBranchName}
|
|
@@ -45,7 +45,7 @@ const _publishRecord = [1, "/v2/highScale/streams/datasets/{0}/streams/{1}/publi
|
|
|
45
45
|
* Publish a single record to the stream. The record will be validated against the stream's schema, and
|
|
46
46
|
* rejected if it is invalid.
|
|
47
47
|
*
|
|
48
|
-
* @
|
|
48
|
+
* @beta
|
|
49
49
|
*
|
|
50
50
|
* Required Scopes: [api:streams-write]
|
|
51
51
|
* URL: /v2/highScale/streams/datasets/{datasetRid}/streams/{streamBranchName}/publishRecord
|
|
@@ -58,7 +58,7 @@ const _publishRecords = [1, "/v2/highScale/streams/datasets/{0}/streams/{1}/publ
|
|
|
58
58
|
* Publish a batch of records to the stream. The records will be validated against the stream's schema, and
|
|
59
59
|
* the batch will be rejected if one or more of the records are invalid.
|
|
60
60
|
*
|
|
61
|
-
* @
|
|
61
|
+
* @beta
|
|
62
62
|
*
|
|
63
63
|
* Required Scopes: [api:streams-write]
|
|
64
64
|
* URL: /v2/highScale/streams/datasets/{datasetRid}/streams/{streamBranchName}/publishRecords
|
|
@@ -70,7 +70,7 @@ const _publishBinaryRecord = [1, "/v2/highScale/streams/datasets/{0}/streams/{1}
|
|
|
70
70
|
/**
|
|
71
71
|
* Publish a single binary record to the stream. The stream's schema must be a single binary field.
|
|
72
72
|
*
|
|
73
|
-
* @
|
|
73
|
+
* @beta
|
|
74
74
|
*
|
|
75
75
|
* Required Scopes: [api:streams-write]
|
|
76
76
|
* URL: /v2/highScale/streams/datasets/{datasetRid}/streams/{streamBranchName}/publishBinaryRecord
|
|
@@ -88,7 +88,7 @@ const _reset = [1, "/v2/streams/datasets/{0}/streams/{1}/reset", 3];
|
|
|
88
88
|
* This will create a new stream view (as seen by the change of the `viewRid` on the branch),
|
|
89
89
|
* which will be the new stream view that will be written to for the branch.
|
|
90
90
|
*
|
|
91
|
-
* @
|
|
91
|
+
* @beta
|
|
92
92
|
*
|
|
93
93
|
* Required Scopes: [api:streams-write]
|
|
94
94
|
* URL: /v2/streams/datasets/{datasetRid}/streams/{streamBranchName}/reset
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Stream.js","names":["foundryPlatformFetch","$foundryPlatformFetch","_create","create","$ctx","args","_get","get","_publishRecord","publishRecord","_publishRecords","publishRecords","_publishBinaryRecord","publishBinaryRecord","_reset","reset"],"sources":["Stream.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, \"/v2/streams/datasets/{0}/streams\", 3];\n/**\n * Creates a new branch on the backing streaming dataset, and creates a new stream on that branch.\n *\n * @
|
|
1
|
+
{"version":3,"file":"Stream.js","names":["foundryPlatformFetch","$foundryPlatformFetch","_create","create","$ctx","args","_get","get","_publishRecord","publishRecord","_publishRecords","publishRecords","_publishBinaryRecord","publishBinaryRecord","_reset","reset"],"sources":["Stream.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, \"/v2/streams/datasets/{0}/streams\", 3];\n/**\n * Creates a new branch on the backing streaming dataset, and creates a new stream on that branch.\n *\n * @beta\n *\n * Required Scopes: [api:streams-write]\n * URL: /v2/streams/datasets/{datasetRid}/streams\n */\nexport function create($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _create, ...args);\n}\nconst _get = [0, \"/v2/streams/datasets/{0}/streams/{1}\", 2];\n/**\n * Get a stream by its branch name. If the branch does not exist, there is no stream on that branch, or the\n * user does not have permission to access the stream, a 404 error will be returned.\n *\n * @beta\n *\n * Required Scopes: [api:streams-read]\n * URL: /v2/streams/datasets/{datasetRid}/streams/{streamBranchName}\n */\nexport function get($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _get, ...args);\n}\nconst _publishRecord = [1, \"/v2/highScale/streams/datasets/{0}/streams/{1}/publishRecord\", 3];\n/**\n * Publish a single record to the stream. The record will be validated against the stream's schema, and\n * rejected if it is invalid.\n *\n * @beta\n *\n * Required Scopes: [api:streams-write]\n * URL: /v2/highScale/streams/datasets/{datasetRid}/streams/{streamBranchName}/publishRecord\n */\nexport function publishRecord($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _publishRecord, ...args);\n}\nconst _publishRecords = [1, \"/v2/highScale/streams/datasets/{0}/streams/{1}/publishRecords\", 3];\n/**\n * Publish a batch of records to the stream. The records will be validated against the stream's schema, and\n * the batch will be rejected if one or more of the records are invalid.\n *\n * @beta\n *\n * Required Scopes: [api:streams-write]\n * URL: /v2/highScale/streams/datasets/{datasetRid}/streams/{streamBranchName}/publishRecords\n */\nexport function publishRecords($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _publishRecords, ...args);\n}\nconst _publishBinaryRecord = [\n 1,\n \"/v2/highScale/streams/datasets/{0}/streams/{1}/publishBinaryRecord\",\n 3,\n \"application/octet-stream\",\n];\n/**\n * Publish a single binary record to the stream. The stream's schema must be a single binary field.\n *\n * @beta\n *\n * Required Scopes: [api:streams-write]\n * URL: /v2/highScale/streams/datasets/{datasetRid}/streams/{streamBranchName}/publishBinaryRecord\n */\nexport function publishBinaryRecord($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _publishBinaryRecord, ...args);\n}\nconst _reset = [1, \"/v2/streams/datasets/{0}/streams/{1}/reset\", 3];\n/**\n * Reset the stream on the given dataset branch, clearing the existing records and allowing new configurations\n * to be applied.\n *\n * To change the stream settings without clearing the records, update the stream settings in-platform.\n *\n * This will create a new stream view (as seen by the change of the `viewRid` on the branch),\n * which will be the new stream view that will be written to for the branch.\n *\n * @beta\n *\n * Required Scopes: [api:streams-write]\n * URL: /v2/streams/datasets/{datasetRid}/streams/{streamBranchName}/reset\n */\nexport function reset($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _reset, ...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,kCAAkC,EAAE,CAAC,CAAC;AAC1D;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,sCAAsC,EAAE,CAAC,CAAC;AAC3D;AACA;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,cAAc,GAAG,CAAC,CAAC,EAAE,8DAA8D,EAAE,CAAC,CAAC;AAC7F;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,SAASC,aAAaA,CAACL,IAAI,EAAE,GAAGC,IAAI,EAAE;EACzC,OAAOJ,qBAAqB,CAACG,IAAI,EAAEI,cAAc,EAAE,GAAGH,IAAI,CAAC;AAC/D;AACA,MAAMK,eAAe,GAAG,CAAC,CAAC,EAAE,+DAA+D,EAAE,CAAC,CAAC;AAC/F;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,SAASC,cAAcA,CAACP,IAAI,EAAE,GAAGC,IAAI,EAAE;EAC1C,OAAOJ,qBAAqB,CAACG,IAAI,EAAEM,eAAe,EAAE,GAAGL,IAAI,CAAC;AAChE;AACA,MAAMO,oBAAoB,GAAG,CACzB,CAAC,EACD,oEAAoE,EACpE,CAAC,EACD,0BAA0B,CAC7B;AACD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,SAASC,mBAAmBA,CAACT,IAAI,EAAE,GAAGC,IAAI,EAAE;EAC/C,OAAOJ,qBAAqB,CAACG,IAAI,EAAEQ,oBAAoB,EAAE,GAAGP,IAAI,CAAC;AACrE;AACA,MAAMS,MAAM,GAAG,CAAC,CAAC,EAAE,4CAA4C,EAAE,CAAC,CAAC;AACnE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,SAASC,KAAKA,CAACX,IAAI,EAAE,GAAGC,IAAI,EAAE;EACjC,OAAOJ,qBAAqB,CAACG,IAAI,EAAEU,MAAM,EAAE,GAAGT,IAAI,CAAC;AACvD","ignoreList":[]}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@osdk/foundry.streams",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.8.0",
|
|
4
4
|
"license": "Apache-2.0",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -21,9 +21,9 @@
|
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@osdk/shared.client": "^1.0.1",
|
|
23
23
|
"@osdk/shared.client2": "^1.0.0",
|
|
24
|
-
"@osdk/foundry.core": "2.
|
|
25
|
-
"@osdk/foundry.filesystem": "2.
|
|
26
|
-
"@osdk/foundry.datasets": "2.
|
|
24
|
+
"@osdk/foundry.core": "2.8.0",
|
|
25
|
+
"@osdk/foundry.filesystem": "2.8.0",
|
|
26
|
+
"@osdk/foundry.datasets": "2.8.0",
|
|
27
27
|
"@osdk/shared.net.platformapi": "~1.2.0"
|
|
28
28
|
},
|
|
29
29
|
"devDependencies": {
|
|
@@ -47,9 +47,9 @@
|
|
|
47
47
|
"sls": {
|
|
48
48
|
"dependencies": {
|
|
49
49
|
"com.palantir.foundry.api:api-gateway": {
|
|
50
|
-
"minVersion": "1.
|
|
50
|
+
"minVersion": "1.1014.0",
|
|
51
51
|
"maxVersion": "1.x.x",
|
|
52
|
-
"optional":
|
|
52
|
+
"optional": false
|
|
53
53
|
}
|
|
54
54
|
}
|
|
55
55
|
},
|