@osdk/foundry.notepad 2.48.0 → 2.50.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/_components.d.ts +1 -1
- package/build/browser/public/ExportJob.d.ts +3 -3
- package/build/browser/public/ExportJob.js +3 -3
- package/build/browser/public/ExportJob.js.map +1 -1
- package/build/browser/public/File.d.ts +1 -1
- package/build/browser/public/File.js +1 -1
- package/build/browser/public/File.js.map +1 -1
- package/build/browser/public/GenerationJob.d.ts +2 -2
- package/build/browser/public/GenerationJob.js +2 -2
- package/build/browser/public/GenerationJob.js.map +1 -1
- package/build/browser/public/Template.d.ts +1 -1
- package/build/browser/public/Template.js +1 -1
- package/build/browser/public/Template.js.map +1 -1
- package/build/esm/_components.d.ts +1 -1
- package/build/esm/public/ExportJob.d.ts +3 -3
- package/build/esm/public/ExportJob.js +3 -3
- package/build/esm/public/ExportJob.js.map +1 -1
- package/build/esm/public/File.d.ts +1 -1
- package/build/esm/public/File.js +1 -1
- package/build/esm/public/File.js.map +1 -1
- package/build/esm/public/GenerationJob.d.ts +2 -2
- package/build/esm/public/GenerationJob.js +2 -2
- package/build/esm/public/GenerationJob.js.map +1 -1
- package/build/esm/public/Template.d.ts +1 -1
- package/build/esm/public/Template.js +1 -1
- package/build/esm/public/Template.js.map +1 -1
- package/package.json +5 -5
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,31 @@
|
|
|
1
1
|
# @osdk/foundry.notepad
|
|
2
2
|
|
|
3
|
+
## 2.50.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- e7d3aec: Regenerate platform sdks, notably, for branching params in queries.
|
|
8
|
+
|
|
9
|
+
### Patch Changes
|
|
10
|
+
|
|
11
|
+
- Updated dependencies [e7d3aec]
|
|
12
|
+
- @osdk/foundry.filesystem@2.50.0
|
|
13
|
+
- @osdk/foundry.ontologies@2.50.0
|
|
14
|
+
- @osdk/foundry.core@2.50.0
|
|
15
|
+
|
|
16
|
+
## 2.49.0
|
|
17
|
+
|
|
18
|
+
### Minor Changes
|
|
19
|
+
|
|
20
|
+
- ed3ac19: Regenerate Platform SDKs
|
|
21
|
+
|
|
22
|
+
### Patch Changes
|
|
23
|
+
|
|
24
|
+
- Updated dependencies [ed3ac19]
|
|
25
|
+
- @osdk/foundry.filesystem@2.49.0
|
|
26
|
+
- @osdk/foundry.ontologies@2.49.0
|
|
27
|
+
- @osdk/foundry.core@2.49.0
|
|
28
|
+
|
|
3
29
|
## 2.48.0
|
|
4
30
|
|
|
5
31
|
### Minor Changes
|
|
@@ -3,9 +3,9 @@ import type { SharedClient as $OldClient, SharedClientContext as $OldClientConte
|
|
|
3
3
|
import type { SharedClient as $Client, SharedClientContext as $ClientContext } from "@osdk/shared.client2";
|
|
4
4
|
import type * as _Notepad from "../_components.js";
|
|
5
5
|
/**
|
|
6
|
-
* Loads
|
|
6
|
+
* Loads an ExportJob. This endpoint is used to monitor job progress.
|
|
7
7
|
*
|
|
8
|
-
* @
|
|
8
|
+
* @beta
|
|
9
9
|
*
|
|
10
10
|
* Required Scopes: [api:notepad-export]
|
|
11
11
|
* URL: /v2/notepad/exportJobs/{exportJobRid}
|
|
@@ -20,7 +20,7 @@ export declare function get($ctx: $Client | $ClientContext | $OldClient | $OldCl
|
|
|
20
20
|
* Creates a new ExportJob either from an existing Document or using the content generated by a GenerationJob.
|
|
21
21
|
* If an ExportJob succeeds, it will produce a File that can be downloaded.
|
|
22
22
|
*
|
|
23
|
-
* @
|
|
23
|
+
* @beta
|
|
24
24
|
*
|
|
25
25
|
* Required Scopes: [api:notepad-export]
|
|
26
26
|
* URL: /v2/notepad/exportJobs/create
|
|
@@ -17,9 +17,9 @@ import { foundryPlatformFetch as $foundryPlatformFetch } from "@osdk/shared.net.
|
|
|
17
17
|
//
|
|
18
18
|
const _get = [0, "/v2/notepad/exportJobs/{0}", 2];
|
|
19
19
|
/**
|
|
20
|
-
* Loads
|
|
20
|
+
* Loads an ExportJob. This endpoint is used to monitor job progress.
|
|
21
21
|
*
|
|
22
|
-
* @
|
|
22
|
+
* @beta
|
|
23
23
|
*
|
|
24
24
|
* Required Scopes: [api:notepad-export]
|
|
25
25
|
* URL: /v2/notepad/exportJobs/{exportJobRid}
|
|
@@ -32,7 +32,7 @@ const _create = [1, "/v2/notepad/exportJobs/create", 3];
|
|
|
32
32
|
* Creates a new ExportJob either from an existing Document or using the content generated by a GenerationJob.
|
|
33
33
|
* If an ExportJob succeeds, it will produce a File that can be downloaded.
|
|
34
34
|
*
|
|
35
|
-
* @
|
|
35
|
+
* @beta
|
|
36
36
|
*
|
|
37
37
|
* Required Scopes: [api:notepad-export]
|
|
38
38
|
* URL: /v2/notepad/exportJobs/create
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ExportJob.js","names":["foundryPlatformFetch","$foundryPlatformFetch","_get","get","$ctx","args","_create","create"],"sources":["ExportJob.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 _get = [0, \"/v2/notepad/exportJobs/{0}\", 2];\n/**\n * Loads
|
|
1
|
+
{"version":3,"file":"ExportJob.js","names":["foundryPlatformFetch","$foundryPlatformFetch","_get","get","$ctx","args","_create","create"],"sources":["ExportJob.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 _get = [0, \"/v2/notepad/exportJobs/{0}\", 2];\n/**\n * Loads an ExportJob. This endpoint is used to monitor job progress.\n *\n * @beta\n *\n * Required Scopes: [api:notepad-export]\n * URL: /v2/notepad/exportJobs/{exportJobRid}\n */\nexport function get($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _get, ...args);\n}\nconst _create = [1, \"/v2/notepad/exportJobs/create\", 3];\n/**\n * Creates a new ExportJob either from an existing Document or using the content generated by a GenerationJob.\n * If an ExportJob succeeds, it will produce a File that can be downloaded.\n *\n * @beta\n *\n * Required Scopes: [api:notepad-export]\n * URL: /v2/notepad/exportJobs/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,IAAI,GAAG,CAAC,CAAC,EAAE,4BAA4B,EAAE,CAAC,CAAC;AACjD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,SAASC,GAAGA,CAACC,IAAI,EAAE,GAAGC,IAAI,EAAE;EAC/B,OAAOJ,qBAAqB,CAACG,IAAI,EAAEF,IAAI,EAAE,GAAGG,IAAI,CAAC;AACrD;AACA,MAAMC,OAAO,GAAG,CAAC,CAAC,EAAE,+BAA+B,EAAE,CAAC,CAAC;AACvD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,SAASC,MAAMA,CAACH,IAAI,EAAE,GAAGC,IAAI,EAAE;EAClC,OAAOJ,qBAAqB,CAACG,IAAI,EAAEE,OAAO,EAAE,GAAGD,IAAI,CAAC;AACxD","ignoreList":[]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"File.js","names":["foundryPlatformFetch","$foundryPlatformFetch","_content","content","$ctx","args"],"sources":["File.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 _content = [0, \"/v2/notepad/files/{0}/content\", 2, , \"application/octet-stream\"];\n/**\n * Download file content.\n *\n * @
|
|
1
|
+
{"version":3,"file":"File.js","names":["foundryPlatformFetch","$foundryPlatformFetch","_content","content","$ctx","args"],"sources":["File.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 _content = [0, \"/v2/notepad/files/{0}/content\", 2, , \"application/octet-stream\"];\n/**\n * Download file content.\n *\n * @beta\n *\n * Required Scopes: [api:notepad-export]\n * URL: /v2/notepad/files/{fileRid}/content\n */\nexport function content($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _content, ...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,QAAQ,GAAG,CAAC,CAAC,EAAE,+BAA+B,EAAE,CAAC,GAAI,0BAA0B,CAAC;AACtF;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,SAASC,OAAOA,CAACC,IAAI,EAAE,GAAGC,IAAI,EAAE;EACnC,OAAOJ,qBAAqB,CAACG,IAAI,EAAEF,QAAQ,EAAE,GAAGG,IAAI,CAAC;AACzD","ignoreList":[]}
|
|
@@ -5,7 +5,7 @@ import type * as _Notepad from "../_components.js";
|
|
|
5
5
|
/**
|
|
6
6
|
* Load an existing GenerationJob. This is used to monitor job progress.
|
|
7
7
|
*
|
|
8
|
-
* @
|
|
8
|
+
* @beta
|
|
9
9
|
*
|
|
10
10
|
* Required Scopes: [api:notepad-write]
|
|
11
11
|
* URL: /v2/notepad/templates/{templateRid}/generationJobs/{generationJobRid}
|
|
@@ -20,7 +20,7 @@ export declare function get($ctx: $Client | $ClientContext | $OldClient | $OldCl
|
|
|
20
20
|
/**
|
|
21
21
|
* Save generated content as a new notepad document. This is only possible if the GenerationJob succeeded.
|
|
22
22
|
*
|
|
23
|
-
* @
|
|
23
|
+
* @beta
|
|
24
24
|
*
|
|
25
25
|
* Required Scopes: [api:notepad-write]
|
|
26
26
|
* URL: /v2/notepad/templates/{templateRid}/generationJobs/{generationJobRid}/saveDocument
|
|
@@ -19,7 +19,7 @@ const _get = [0, "/v2/notepad/templates/{0}/generationJobs/{1}", 2];
|
|
|
19
19
|
/**
|
|
20
20
|
* Load an existing GenerationJob. This is used to monitor job progress.
|
|
21
21
|
*
|
|
22
|
-
* @
|
|
22
|
+
* @beta
|
|
23
23
|
*
|
|
24
24
|
* Required Scopes: [api:notepad-write]
|
|
25
25
|
* URL: /v2/notepad/templates/{templateRid}/generationJobs/{generationJobRid}
|
|
@@ -31,7 +31,7 @@ const _saveDocument = [1, "/v2/notepad/templates/{0}/generationJobs/{1}/saveDocu
|
|
|
31
31
|
/**
|
|
32
32
|
* Save generated content as a new notepad document. This is only possible if the GenerationJob succeeded.
|
|
33
33
|
*
|
|
34
|
-
* @
|
|
34
|
+
* @beta
|
|
35
35
|
*
|
|
36
36
|
* Required Scopes: [api:notepad-write]
|
|
37
37
|
* URL: /v2/notepad/templates/{templateRid}/generationJobs/{generationJobRid}/saveDocument
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"GenerationJob.js","names":["foundryPlatformFetch","$foundryPlatformFetch","_get","get","$ctx","args","_saveDocument","saveDocument"],"sources":["GenerationJob.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 _get = [0, \"/v2/notepad/templates/{0}/generationJobs/{1}\", 2];\n/**\n * Load an existing GenerationJob. This is used to monitor job progress.\n *\n * @
|
|
1
|
+
{"version":3,"file":"GenerationJob.js","names":["foundryPlatformFetch","$foundryPlatformFetch","_get","get","$ctx","args","_saveDocument","saveDocument"],"sources":["GenerationJob.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 _get = [0, \"/v2/notepad/templates/{0}/generationJobs/{1}\", 2];\n/**\n * Load an existing GenerationJob. This is used to monitor job progress.\n *\n * @beta\n *\n * Required Scopes: [api:notepad-write]\n * URL: /v2/notepad/templates/{templateRid}/generationJobs/{generationJobRid}\n */\nexport function get($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _get, ...args);\n}\nconst _saveDocument = [1, \"/v2/notepad/templates/{0}/generationJobs/{1}/saveDocument\", 3];\n/**\n * Save generated content as a new notepad document. This is only possible if the GenerationJob succeeded.\n *\n * @beta\n *\n * Required Scopes: [api:notepad-write]\n * URL: /v2/notepad/templates/{templateRid}/generationJobs/{generationJobRid}/saveDocument\n */\nexport function saveDocument($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _saveDocument, ...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,IAAI,GAAG,CAAC,CAAC,EAAE,8CAA8C,EAAE,CAAC,CAAC;AACnE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,SAASC,GAAGA,CAACC,IAAI,EAAE,GAAGC,IAAI,EAAE;EAC/B,OAAOJ,qBAAqB,CAACG,IAAI,EAAEF,IAAI,EAAE,GAAGG,IAAI,CAAC;AACrD;AACA,MAAMC,aAAa,GAAG,CAAC,CAAC,EAAE,2DAA2D,EAAE,CAAC,CAAC;AACzF;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,SAASC,YAAYA,CAACH,IAAI,EAAE,GAAGC,IAAI,EAAE;EACxC,OAAOJ,qBAAqB,CAACG,IAAI,EAAEE,aAAa,EAAE,GAAGD,IAAI,CAAC;AAC9D","ignoreList":[]}
|
|
@@ -10,7 +10,7 @@ import type * as _Notepad from "../_components.js";
|
|
|
10
10
|
* The user must have the api:notepad-write scope to create GenerationJobs. Once created a GenerationJob
|
|
11
11
|
* is only accessible to the user that created it.
|
|
12
12
|
*
|
|
13
|
-
* @
|
|
13
|
+
* @beta
|
|
14
14
|
*
|
|
15
15
|
* Required Scopes: [api:notepad-write]
|
|
16
16
|
* URL: /v2/notepad/templates/{templateRid}/generate
|
|
@@ -24,7 +24,7 @@ const _generate = [1, "/v2/notepad/templates/{0}/generate", 3];
|
|
|
24
24
|
* The user must have the api:notepad-write scope to create GenerationJobs. Once created a GenerationJob
|
|
25
25
|
* is only accessible to the user that created it.
|
|
26
26
|
*
|
|
27
|
-
* @
|
|
27
|
+
* @beta
|
|
28
28
|
*
|
|
29
29
|
* Required Scopes: [api:notepad-write]
|
|
30
30
|
* URL: /v2/notepad/templates/{templateRid}/generate
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Template.js","names":["foundryPlatformFetch","$foundryPlatformFetch","_generate","generate","$ctx","args"],"sources":["Template.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 _generate = [1, \"/v2/notepad/templates/{0}/generate\", 3];\n/**\n * Creates a new GenerationJob. The template generation job will produce new document content by applying\n * template parameters to an existing template. If the GenerationJob succeeds, the resulting contents can\n * be saved as a new Document or exported to a File.\n *\n * The user must have the api:notepad-write scope to create GenerationJobs. Once created a GenerationJob\n * is only accessible to the user that created it.\n *\n * @
|
|
1
|
+
{"version":3,"file":"Template.js","names":["foundryPlatformFetch","$foundryPlatformFetch","_generate","generate","$ctx","args"],"sources":["Template.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 _generate = [1, \"/v2/notepad/templates/{0}/generate\", 3];\n/**\n * Creates a new GenerationJob. The template generation job will produce new document content by applying\n * template parameters to an existing template. If the GenerationJob succeeds, the resulting contents can\n * be saved as a new Document or exported to a File.\n *\n * The user must have the api:notepad-write scope to create GenerationJobs. Once created a GenerationJob\n * is only accessible to the user that created it.\n *\n * @beta\n *\n * Required Scopes: [api:notepad-write]\n * URL: /v2/notepad/templates/{templateRid}/generate\n */\nexport function generate($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _generate, ...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,SAAS,GAAG,CAAC,CAAC,EAAE,oCAAoC,EAAE,CAAC,CAAC;AAC9D;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,SAASC,QAAQA,CAACC,IAAI,EAAE,GAAGC,IAAI,EAAE;EACpC,OAAOJ,qBAAqB,CAACG,IAAI,EAAEF,SAAS,EAAE,GAAGG,IAAI,CAAC;AAC1D","ignoreList":[]}
|
|
@@ -3,9 +3,9 @@ import type { SharedClient as $OldClient, SharedClientContext as $OldClientConte
|
|
|
3
3
|
import type { SharedClient as $Client, SharedClientContext as $ClientContext } from "@osdk/shared.client2";
|
|
4
4
|
import type * as _Notepad from "../_components.js";
|
|
5
5
|
/**
|
|
6
|
-
* Loads
|
|
6
|
+
* Loads an ExportJob. This endpoint is used to monitor job progress.
|
|
7
7
|
*
|
|
8
|
-
* @
|
|
8
|
+
* @beta
|
|
9
9
|
*
|
|
10
10
|
* Required Scopes: [api:notepad-export]
|
|
11
11
|
* URL: /v2/notepad/exportJobs/{exportJobRid}
|
|
@@ -20,7 +20,7 @@ export declare function get($ctx: $Client | $ClientContext | $OldClient | $OldCl
|
|
|
20
20
|
* Creates a new ExportJob either from an existing Document or using the content generated by a GenerationJob.
|
|
21
21
|
* If an ExportJob succeeds, it will produce a File that can be downloaded.
|
|
22
22
|
*
|
|
23
|
-
* @
|
|
23
|
+
* @beta
|
|
24
24
|
*
|
|
25
25
|
* Required Scopes: [api:notepad-export]
|
|
26
26
|
* URL: /v2/notepad/exportJobs/create
|
|
@@ -17,9 +17,9 @@ import { foundryPlatformFetch as $foundryPlatformFetch } from "@osdk/shared.net.
|
|
|
17
17
|
//
|
|
18
18
|
const _get = [0, "/v2/notepad/exportJobs/{0}", 2];
|
|
19
19
|
/**
|
|
20
|
-
* Loads
|
|
20
|
+
* Loads an ExportJob. This endpoint is used to monitor job progress.
|
|
21
21
|
*
|
|
22
|
-
* @
|
|
22
|
+
* @beta
|
|
23
23
|
*
|
|
24
24
|
* Required Scopes: [api:notepad-export]
|
|
25
25
|
* URL: /v2/notepad/exportJobs/{exportJobRid}
|
|
@@ -32,7 +32,7 @@ const _create = [1, "/v2/notepad/exportJobs/create", 3];
|
|
|
32
32
|
* Creates a new ExportJob either from an existing Document or using the content generated by a GenerationJob.
|
|
33
33
|
* If an ExportJob succeeds, it will produce a File that can be downloaded.
|
|
34
34
|
*
|
|
35
|
-
* @
|
|
35
|
+
* @beta
|
|
36
36
|
*
|
|
37
37
|
* Required Scopes: [api:notepad-export]
|
|
38
38
|
* URL: /v2/notepad/exportJobs/create
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ExportJob.js","names":["foundryPlatformFetch","$foundryPlatformFetch","_get","get","$ctx","args","_create","create"],"sources":["ExportJob.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 _get = [0, \"/v2/notepad/exportJobs/{0}\", 2];\n/**\n * Loads
|
|
1
|
+
{"version":3,"file":"ExportJob.js","names":["foundryPlatformFetch","$foundryPlatformFetch","_get","get","$ctx","args","_create","create"],"sources":["ExportJob.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 _get = [0, \"/v2/notepad/exportJobs/{0}\", 2];\n/**\n * Loads an ExportJob. This endpoint is used to monitor job progress.\n *\n * @beta\n *\n * Required Scopes: [api:notepad-export]\n * URL: /v2/notepad/exportJobs/{exportJobRid}\n */\nexport function get($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _get, ...args);\n}\nconst _create = [1, \"/v2/notepad/exportJobs/create\", 3];\n/**\n * Creates a new ExportJob either from an existing Document or using the content generated by a GenerationJob.\n * If an ExportJob succeeds, it will produce a File that can be downloaded.\n *\n * @beta\n *\n * Required Scopes: [api:notepad-export]\n * URL: /v2/notepad/exportJobs/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,IAAI,GAAG,CAAC,CAAC,EAAE,4BAA4B,EAAE,CAAC,CAAC;AACjD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,SAASC,GAAGA,CAACC,IAAI,EAAE,GAAGC,IAAI,EAAE;EAC/B,OAAOJ,qBAAqB,CAACG,IAAI,EAAEF,IAAI,EAAE,GAAGG,IAAI,CAAC;AACrD;AACA,MAAMC,OAAO,GAAG,CAAC,CAAC,EAAE,+BAA+B,EAAE,CAAC,CAAC;AACvD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,SAASC,MAAMA,CAACH,IAAI,EAAE,GAAGC,IAAI,EAAE;EAClC,OAAOJ,qBAAqB,CAACG,IAAI,EAAEE,OAAO,EAAE,GAAGD,IAAI,CAAC;AACxD","ignoreList":[]}
|
package/build/esm/public/File.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"File.js","names":["foundryPlatformFetch","$foundryPlatformFetch","_content","content","$ctx","args"],"sources":["File.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 _content = [0, \"/v2/notepad/files/{0}/content\", 2, , \"application/octet-stream\"];\n/**\n * Download file content.\n *\n * @
|
|
1
|
+
{"version":3,"file":"File.js","names":["foundryPlatformFetch","$foundryPlatformFetch","_content","content","$ctx","args"],"sources":["File.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 _content = [0, \"/v2/notepad/files/{0}/content\", 2, , \"application/octet-stream\"];\n/**\n * Download file content.\n *\n * @beta\n *\n * Required Scopes: [api:notepad-export]\n * URL: /v2/notepad/files/{fileRid}/content\n */\nexport function content($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _content, ...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,QAAQ,GAAG,CAAC,CAAC,EAAE,+BAA+B,EAAE,CAAC,GAAI,0BAA0B,CAAC;AACtF;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,SAASC,OAAOA,CAACC,IAAI,EAAE,GAAGC,IAAI,EAAE;EACnC,OAAOJ,qBAAqB,CAACG,IAAI,EAAEF,QAAQ,EAAE,GAAGG,IAAI,CAAC;AACzD","ignoreList":[]}
|
|
@@ -5,7 +5,7 @@ import type * as _Notepad from "../_components.js";
|
|
|
5
5
|
/**
|
|
6
6
|
* Load an existing GenerationJob. This is used to monitor job progress.
|
|
7
7
|
*
|
|
8
|
-
* @
|
|
8
|
+
* @beta
|
|
9
9
|
*
|
|
10
10
|
* Required Scopes: [api:notepad-write]
|
|
11
11
|
* URL: /v2/notepad/templates/{templateRid}/generationJobs/{generationJobRid}
|
|
@@ -20,7 +20,7 @@ export declare function get($ctx: $Client | $ClientContext | $OldClient | $OldCl
|
|
|
20
20
|
/**
|
|
21
21
|
* Save generated content as a new notepad document. This is only possible if the GenerationJob succeeded.
|
|
22
22
|
*
|
|
23
|
-
* @
|
|
23
|
+
* @beta
|
|
24
24
|
*
|
|
25
25
|
* Required Scopes: [api:notepad-write]
|
|
26
26
|
* URL: /v2/notepad/templates/{templateRid}/generationJobs/{generationJobRid}/saveDocument
|
|
@@ -19,7 +19,7 @@ const _get = [0, "/v2/notepad/templates/{0}/generationJobs/{1}", 2];
|
|
|
19
19
|
/**
|
|
20
20
|
* Load an existing GenerationJob. This is used to monitor job progress.
|
|
21
21
|
*
|
|
22
|
-
* @
|
|
22
|
+
* @beta
|
|
23
23
|
*
|
|
24
24
|
* Required Scopes: [api:notepad-write]
|
|
25
25
|
* URL: /v2/notepad/templates/{templateRid}/generationJobs/{generationJobRid}
|
|
@@ -31,7 +31,7 @@ const _saveDocument = [1, "/v2/notepad/templates/{0}/generationJobs/{1}/saveDocu
|
|
|
31
31
|
/**
|
|
32
32
|
* Save generated content as a new notepad document. This is only possible if the GenerationJob succeeded.
|
|
33
33
|
*
|
|
34
|
-
* @
|
|
34
|
+
* @beta
|
|
35
35
|
*
|
|
36
36
|
* Required Scopes: [api:notepad-write]
|
|
37
37
|
* URL: /v2/notepad/templates/{templateRid}/generationJobs/{generationJobRid}/saveDocument
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"GenerationJob.js","names":["foundryPlatformFetch","$foundryPlatformFetch","_get","get","$ctx","args","_saveDocument","saveDocument"],"sources":["GenerationJob.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 _get = [0, \"/v2/notepad/templates/{0}/generationJobs/{1}\", 2];\n/**\n * Load an existing GenerationJob. This is used to monitor job progress.\n *\n * @
|
|
1
|
+
{"version":3,"file":"GenerationJob.js","names":["foundryPlatformFetch","$foundryPlatformFetch","_get","get","$ctx","args","_saveDocument","saveDocument"],"sources":["GenerationJob.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 _get = [0, \"/v2/notepad/templates/{0}/generationJobs/{1}\", 2];\n/**\n * Load an existing GenerationJob. This is used to monitor job progress.\n *\n * @beta\n *\n * Required Scopes: [api:notepad-write]\n * URL: /v2/notepad/templates/{templateRid}/generationJobs/{generationJobRid}\n */\nexport function get($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _get, ...args);\n}\nconst _saveDocument = [1, \"/v2/notepad/templates/{0}/generationJobs/{1}/saveDocument\", 3];\n/**\n * Save generated content as a new notepad document. This is only possible if the GenerationJob succeeded.\n *\n * @beta\n *\n * Required Scopes: [api:notepad-write]\n * URL: /v2/notepad/templates/{templateRid}/generationJobs/{generationJobRid}/saveDocument\n */\nexport function saveDocument($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _saveDocument, ...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,IAAI,GAAG,CAAC,CAAC,EAAE,8CAA8C,EAAE,CAAC,CAAC;AACnE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,SAASC,GAAGA,CAACC,IAAI,EAAE,GAAGC,IAAI,EAAE;EAC/B,OAAOJ,qBAAqB,CAACG,IAAI,EAAEF,IAAI,EAAE,GAAGG,IAAI,CAAC;AACrD;AACA,MAAMC,aAAa,GAAG,CAAC,CAAC,EAAE,2DAA2D,EAAE,CAAC,CAAC;AACzF;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,SAASC,YAAYA,CAACH,IAAI,EAAE,GAAGC,IAAI,EAAE;EACxC,OAAOJ,qBAAqB,CAACG,IAAI,EAAEE,aAAa,EAAE,GAAGD,IAAI,CAAC;AAC9D","ignoreList":[]}
|
|
@@ -10,7 +10,7 @@ import type * as _Notepad from "../_components.js";
|
|
|
10
10
|
* The user must have the api:notepad-write scope to create GenerationJobs. Once created a GenerationJob
|
|
11
11
|
* is only accessible to the user that created it.
|
|
12
12
|
*
|
|
13
|
-
* @
|
|
13
|
+
* @beta
|
|
14
14
|
*
|
|
15
15
|
* Required Scopes: [api:notepad-write]
|
|
16
16
|
* URL: /v2/notepad/templates/{templateRid}/generate
|
|
@@ -24,7 +24,7 @@ const _generate = [1, "/v2/notepad/templates/{0}/generate", 3];
|
|
|
24
24
|
* The user must have the api:notepad-write scope to create GenerationJobs. Once created a GenerationJob
|
|
25
25
|
* is only accessible to the user that created it.
|
|
26
26
|
*
|
|
27
|
-
* @
|
|
27
|
+
* @beta
|
|
28
28
|
*
|
|
29
29
|
* Required Scopes: [api:notepad-write]
|
|
30
30
|
* URL: /v2/notepad/templates/{templateRid}/generate
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Template.js","names":["foundryPlatformFetch","$foundryPlatformFetch","_generate","generate","$ctx","args"],"sources":["Template.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 _generate = [1, \"/v2/notepad/templates/{0}/generate\", 3];\n/**\n * Creates a new GenerationJob. The template generation job will produce new document content by applying\n * template parameters to an existing template. If the GenerationJob succeeds, the resulting contents can\n * be saved as a new Document or exported to a File.\n *\n * The user must have the api:notepad-write scope to create GenerationJobs. Once created a GenerationJob\n * is only accessible to the user that created it.\n *\n * @
|
|
1
|
+
{"version":3,"file":"Template.js","names":["foundryPlatformFetch","$foundryPlatformFetch","_generate","generate","$ctx","args"],"sources":["Template.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 _generate = [1, \"/v2/notepad/templates/{0}/generate\", 3];\n/**\n * Creates a new GenerationJob. The template generation job will produce new document content by applying\n * template parameters to an existing template. If the GenerationJob succeeds, the resulting contents can\n * be saved as a new Document or exported to a File.\n *\n * The user must have the api:notepad-write scope to create GenerationJobs. Once created a GenerationJob\n * is only accessible to the user that created it.\n *\n * @beta\n *\n * Required Scopes: [api:notepad-write]\n * URL: /v2/notepad/templates/{templateRid}/generate\n */\nexport function generate($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _generate, ...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,SAAS,GAAG,CAAC,CAAC,EAAE,oCAAoC,EAAE,CAAC,CAAC;AAC9D;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,SAASC,QAAQA,CAACC,IAAI,EAAE,GAAGC,IAAI,EAAE;EACpC,OAAOJ,qBAAqB,CAACG,IAAI,EAAEF,SAAS,EAAE,GAAGG,IAAI,CAAC;AAC1D","ignoreList":[]}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@osdk/foundry.notepad",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.50.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.
|
|
26
|
-
"@osdk/foundry.
|
|
24
|
+
"@osdk/foundry.core": "2.50.0",
|
|
25
|
+
"@osdk/foundry.filesystem": "2.50.0",
|
|
26
|
+
"@osdk/foundry.ontologies": "2.50.0",
|
|
27
27
|
"@osdk/shared.net.platformapi": "~1.6.0"
|
|
28
28
|
},
|
|
29
29
|
"devDependencies": {
|
|
@@ -47,7 +47,7 @@
|
|
|
47
47
|
"sls": {
|
|
48
48
|
"dependencies": {
|
|
49
49
|
"com.palantir.foundry.api:api-gateway": {
|
|
50
|
-
"minVersion": "1.
|
|
50
|
+
"minVersion": "1.1488.0",
|
|
51
51
|
"maxVersion": "1.x.x",
|
|
52
52
|
"optional": false
|
|
53
53
|
}
|