@osdk/foundry.sqlqueries 2.20.0 → 2.22.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 CHANGED
@@ -1,5 +1,29 @@
1
1
  # @osdk/foundry.sqlqueries
2
2
 
3
+ ## 2.22.0
4
+
5
+ ### Minor Changes
6
+
7
+ - f2c6b67: Downgrade platform SDK to only contain endpoints in stable version of API Gateway
8
+
9
+ ### Patch Changes
10
+
11
+ - Updated dependencies [f2c6b67]
12
+ - @osdk/foundry.datasets@2.22.0
13
+ - @osdk/foundry.core@2.22.0
14
+
15
+ ## 2.21.0
16
+
17
+ ### Minor Changes
18
+
19
+ - 90311af: Add new private beta APIs and move SQL Queries APIs to public beta
20
+
21
+ ### Patch Changes
22
+
23
+ - Updated dependencies [90311af]
24
+ - @osdk/foundry.datasets@2.21.0
25
+ - @osdk/foundry.core@2.21.0
26
+
3
27
  ## 2.20.0
4
28
 
5
29
  ### Minor Changes
@@ -3,9 +3,11 @@ 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 _SqlQueries from "../_components.js";
5
5
  /**
6
- * Executes a new query. Only the user that invoked the query can operate on the query.
6
+ * Executes a new query. Only the user that invoked the query can operate on the query. The size of query
7
+ * results are limited by default to 1 million rows. Contact your Palantir representative to discuss limit
8
+ * increases.
7
9
  *
8
- * @alpha
10
+ * @beta
9
11
  *
10
12
  * Required Scopes: [api:sql-queries-execute]
11
13
  * URL: /v2/sqlQueries/execute
@@ -19,7 +21,7 @@ export declare function execute($ctx: $Client | $ClientContext | $OldClient | $O
19
21
  /**
20
22
  * Gets the status of a query.
21
23
  *
22
- * @alpha
24
+ * @beta
23
25
  *
24
26
  * Required Scopes: [api:sql-queries-read]
25
27
  * URL: /v2/sqlQueries/{sqlQueryId}/getStatus
@@ -33,7 +35,7 @@ export declare function getStatus($ctx: $Client | $ClientContext | $OldClient |
33
35
  /**
34
36
  * Cancels a query. If the query is no longer running this is effectively a no-op.
35
37
  *
36
- * @alpha
38
+ * @beta
37
39
  *
38
40
  * Required Scopes: [api:sql-queries-execute]
39
41
  * URL: /v2/sqlQueries/{sqlQueryId}/cancel
@@ -46,9 +48,9 @@ export declare function cancel($ctx: $Client | $ClientContext | $OldClient | $Ol
46
48
  ]): Promise<void>;
47
49
  /**
48
50
  * Gets the results of a query. This endpoint implements long polling and requests will time out after
49
- * one minute.
51
+ * one minute. They can be safely retried while the query is still running.
50
52
  *
51
- * @alpha
53
+ * @beta
52
54
  *
53
55
  * Required Scopes: [api:sql-queries-read]
54
56
  * URL: /v2/sqlQueries/{sqlQueryId}/getResults
@@ -1 +1 @@
1
- {"version":3,"file":"SqlQuery.d.ts","sourceRoot":"","sources":["../../../src/public/SqlQuery.ts"],"names":[],"mappings":"AAgBA,OAAO,KAAK,KAAK,KAAK,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,EACV,YAAY,IAAI,UAAU,EAC1B,mBAAmB,IAAI,iBAAiB,EACzC,MAAM,qBAAqB,CAAC;AAC7B,OAAO,KAAK,EACV,YAAY,IAAI,OAAO,EACvB,mBAAmB,IAAI,cAAc,EACtC,MAAM,sBAAsB,CAAC;AAG9B,OAAO,KAAK,KAAK,WAAW,MAAM,mBAAmB,CAAC;AAWtD;;;;;;;GAOG;AACH,wBAAgB,OAAO,CACrB,IAAI,EAAE,OAAO,GAAG,cAAc,GAAG,UAAU,GAAG,iBAAiB,EAC/D,GAAG,IAAI,EAAE;IACP,KAAK,EAAE,WAAW,CAAC,sBAAsB;IACzC,YAAY,CAAC,EAAE;QAAE,OAAO,CAAC,EAAE,KAAK,CAAC,WAAW,GAAG,SAAS,CAAA;KAAE;CAC3D,GACA,OAAO,CAAC,WAAW,CAAC,WAAW,CAAC,CAElC;AASD;;;;;;;GAOG;AACH,wBAAgB,SAAS,CACvB,IAAI,EAAE,OAAO,GAAG,cA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k/shared.net.
17
17
  //
18
18
  const _execute = [1, "/v2/sqlQueries/execute", 3];
19
19
  /**
20
- * Executes a new query. Only the user that invoked the query can operate on the query.
20
+ * Executes a new query. Only the user that invoked the query can operate on the query. The size of query
21
+ * results are limited by default to 1 million rows. Contact your Palantir representative to discuss limit
22
+ * increases.
21
23
  *
22
- * @alpha
24
+ * @beta
23
25
  *
24
26
  * Required Scopes: [api:sql-queries-execute]
25
27
  * URL: /v2/sqlQueries/execute
@@ -31,7 +33,7 @@ const _getStatus = [0, "/v2/sqlQueries/{0}/getStatus", 2];
31
33
  /**
32
34
  * Gets the status of a query.
33
35
  *
34
- * @alpha
36
+ * @beta
35
37
  *
36
38
  * Required Scopes: [api:sql-queries-read]
37
39
  * URL: /v2/sqlQueries/{sqlQueryId}/getStatus
@@ -43,7 +45,7 @@ const _cancel = [1, "/v2/sqlQueries/{0}/cancel", 2];
43
45
  /**
44
46
  * Cancels a query. If the query is no longer running this is effectively a no-op.
45
47
  *
46
- * @alpha
48
+ * @beta
47
49
  *
48
50
  * Required Scopes: [api:sql-queries-execute]
49
51
  * URL: /v2/sqlQueries/{sqlQueryId}/cancel
@@ -54,9 +56,9 @@ export function cancel($ctx, ...args) {
54
56
  const _getResults = [0, "/v2/sqlQueries/{0}/getResults", 2,, "application/octet-stream"];
55
57
  /**
56
58
  * Gets the results of a query. This endpoint implements long polling and requests will time out after
57
- * one minute.
59
+ * one minute. They can be safely retried while the query is still running.
58
60
  *
59
- * @alpha
61
+ * @beta
60
62
  *
61
63
  * Required Scopes: [api:sql-queries-read]
62
64
  * URL: /v2/sqlQueries/{sqlQueryId}/getResults
@@ -1 +1 @@
1
- {"version":3,"file":"SqlQuery.js","names":["foundryPlatformFetch","$foundryPlatformFetch","_execute","execute","$ctx","args","_getStatus","getStatus","_cancel","cancel","_getResults","getResults"],"sources":["SqlQuery.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 _execute = [1, \"/v2/sqlQueries/execute\", 3];\n/**\n * Executes a new query. Only the user that invoked the query can operate on the query.\n *\n * @alpha\n *\n * Required Scopes: [api:sql-queries-execute]\n * URL: /v2/sqlQueries/execute\n */\nexport function execute($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _execute, ...args);\n}\nconst _getStatus = [0, \"/v2/sqlQueries/{0}/getStatus\", 2];\n/**\n * Gets the status of a query.\n *\n * @alpha\n *\n * Required Scopes: [api:sql-queries-read]\n * URL: /v2/sqlQueries/{sqlQueryId}/getStatus\n */\nexport function getStatus($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _getStatus, ...args);\n}\nconst _cancel = [1, \"/v2/sqlQueries/{0}/cancel\", 2];\n/**\n * Cancels a query. If the query is no longer running this is effectively a no-op.\n *\n * @alpha\n *\n * Required Scopes: [api:sql-queries-execute]\n * URL: /v2/sqlQueries/{sqlQueryId}/cancel\n */\nexport function cancel($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _cancel, ...args);\n}\nconst _getResults = [0, \"/v2/sqlQueries/{0}/getResults\", 2, , \"application/octet-stream\"];\n/**\n * Gets the results of a query. This endpoint implements long polling and requests will time out after\n * one minute.\n *\n * @alpha\n *\n * Required Scopes: [api:sql-queries-read]\n * URL: /v2/sqlQueries/{sqlQueryId}/getResults\n */\nexport function getResults($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _getResults, ...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,wBAAwB,EAAE,CAAC,CAAC;AACjD;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;AACA,MAAMC,UAAU,GAAG,CAAC,CAAC,EAAE,8BAA8B,EAAE,CAAC,CAAC;AACzD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,SAASC,SAASA,CAACH,IAAI,EAAE,GAAGC,IAAI,EAAE;EACrC,OAAOJ,qBAAqB,CAACG,IAAI,EAAEE,UAAU,EAAE,GAAGD,IAAI,CAAC;AAC3D;AACA,MAAMG,OAAO,GAAG,CAAC,CAAC,EAAE,2BAA2B,EAAE,CAAC,CAAC;AACnD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,SAASC,MAAMA,CAACL,IAAI,EAAE,GAAGC,IAAI,EAAE;EAClC,OAAOJ,qBAAqB,CAACG,IAAI,EAAEI,OAAO,EAAE,GAAGH,IAAI,CAAC;AACxD;AACA,MAAMK,WAAW,GAAG,CAAC,CAAC,EAAE,+BAA+B,EAAE,CAAC,GAAI,0BAA0B,CAAC;AACzF;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,SAASC,UAAUA,CAACP,IAAI,EAAE,GAAGC,IAAI,EAAE;EACtC,OAAOJ,qBAAqB,CAACG,IAAI,EAAEM,WAAW,EAAE,GAAGL,IAAI,CAAC;AAC5D","ignoreList":[]}
1
+ {"version":3,"file":"SqlQuery.js","names":["foundryPlatformFetch","$foundryPlatformFetch","_execute","execute","$ctx","args","_getStatus","getStatus","_cancel","cancel","_getResults","getResults"],"sources":["SqlQuery.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 _execute = [1, \"/v2/sqlQueries/execute\", 3];\n/**\n * Executes a new query. Only the user that invoked the query can operate on the query. The size of query\n * results are limited by default to 1 million rows. Contact your Palantir representative to discuss limit\n * increases.\n *\n * @beta\n *\n * Required Scopes: [api:sql-queries-execute]\n * URL: /v2/sqlQueries/execute\n */\nexport function execute($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _execute, ...args);\n}\nconst _getStatus = [0, \"/v2/sqlQueries/{0}/getStatus\", 2];\n/**\n * Gets the status of a query.\n *\n * @beta\n *\n * Required Scopes: [api:sql-queries-read]\n * URL: /v2/sqlQueries/{sqlQueryId}/getStatus\n */\nexport function getStatus($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _getStatus, ...args);\n}\nconst _cancel = [1, \"/v2/sqlQueries/{0}/cancel\", 2];\n/**\n * Cancels a query. If the query is no longer running this is effectively a no-op.\n *\n * @beta\n *\n * Required Scopes: [api:sql-queries-execute]\n * URL: /v2/sqlQueries/{sqlQueryId}/cancel\n */\nexport function cancel($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _cancel, ...args);\n}\nconst _getResults = [0, \"/v2/sqlQueries/{0}/getResults\", 2, , \"application/octet-stream\"];\n/**\n * Gets the results of a query. This endpoint implements long polling and requests will time out after\n * one minute. They can be safely retried while the query is still running.\n *\n * @beta\n *\n * Required Scopes: [api:sql-queries-read]\n * URL: /v2/sqlQueries/{sqlQueryId}/getResults\n */\nexport function getResults($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _getResults, ...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,wBAAwB,EAAE,CAAC,CAAC;AACjD;AACA;AACA;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;AACA,MAAMC,UAAU,GAAG,CAAC,CAAC,EAAE,8BAA8B,EAAE,CAAC,CAAC;AACzD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,SAASC,SAASA,CAACH,IAAI,EAAE,GAAGC,IAAI,EAAE;EACrC,OAAOJ,qBAAqB,CAACG,IAAI,EAAEE,UAAU,EAAE,GAAGD,IAAI,CAAC;AAC3D;AACA,MAAMG,OAAO,GAAG,CAAC,CAAC,EAAE,2BAA2B,EAAE,CAAC,CAAC;AACnD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,SAASC,MAAMA,CAACL,IAAI,EAAE,GAAGC,IAAI,EAAE;EAClC,OAAOJ,qBAAqB,CAACG,IAAI,EAAEI,OAAO,EAAE,GAAGH,IAAI,CAAC;AACxD;AACA,MAAMK,WAAW,GAAG,CAAC,CAAC,EAAE,+BAA+B,EAAE,CAAC,GAAI,0BAA0B,CAAC;AACzF;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,SAASC,UAAUA,CAACP,IAAI,EAAE,GAAGC,IAAI,EAAE;EACtC,OAAOJ,qBAAqB,CAACG,IAAI,EAAEM,WAAW,EAAE,GAAGL,IAAI,CAAC;AAC5D","ignoreList":[]}
@@ -3,9 +3,11 @@ 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 _SqlQueries from "../_components.js";
5
5
  /**
6
- * Executes a new query. Only the user that invoked the query can operate on the query.
6
+ * Executes a new query. Only the user that invoked the query can operate on the query. The size of query
7
+ * results are limited by default to 1 million rows. Contact your Palantir representative to discuss limit
8
+ * increases.
7
9
  *
8
- * @alpha
10
+ * @beta
9
11
  *
10
12
  * Required Scopes: [api:sql-queries-execute]
11
13
  * URL: /v2/sqlQueries/execute
@@ -19,7 +21,7 @@ export declare function execute($ctx: $Client | $ClientContext | $OldClient | $O
19
21
  /**
20
22
  * Gets the status of a query.
21
23
  *
22
- * @alpha
24
+ * @beta
23
25
  *
24
26
  * Required Scopes: [api:sql-queries-read]
25
27
  * URL: /v2/sqlQueries/{sqlQueryId}/getStatus
@@ -33,7 +35,7 @@ export declare function getStatus($ctx: $Client | $ClientContext | $OldClient |
33
35
  /**
34
36
  * Cancels a query. If the query is no longer running this is effectively a no-op.
35
37
  *
36
- * @alpha
38
+ * @beta
37
39
  *
38
40
  * Required Scopes: [api:sql-queries-execute]
39
41
  * URL: /v2/sqlQueries/{sqlQueryId}/cancel
@@ -46,9 +48,9 @@ export declare function cancel($ctx: $Client | $ClientContext | $OldClient | $Ol
46
48
  ]): Promise<void>;
47
49
  /**
48
50
  * Gets the results of a query. This endpoint implements long polling and requests will time out after
49
- * one minute.
51
+ * one minute. They can be safely retried while the query is still running.
50
52
  *
51
- * @alpha
53
+ * @beta
52
54
  *
53
55
  * Required Scopes: [api:sql-queries-read]
54
56
  * URL: /v2/sqlQueries/{sqlQueryId}/getResults
@@ -1 +1 @@
1
- {"version":3,"file":"SqlQuery.d.ts","sourceRoot":"","sources":["../../../src/public/SqlQuery.ts"],"names":[],"mappings":"AAgBA,OAAO,KAAK,KAAK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AElC;AASD;;;;;;;GAOG;AACH,wBAAgB,MAAM,CACpB,IAAI,EAAE,OAAO,GAAG,cAAc,GAAG,UAAU,GAAG,iBAAiB,EAC/D,GAAG,IAAI,EAAE;IACP,UAAU,EAAE,WAAW,CAAC,UAAU;IAElC,YAAY,CAAC,EAAE;QAAE,OAAO,CAAC,EAAE,KAAK,CAAC,WAAW,GAAG,SAAS,CAAA;KAAE;CAC3D,GACA,OAAO,CAAC,IAAI,CAAC,CAEf;AASD;;;;;;;;GAQG;AACH,wBAAgB,UAAU,CACxB,IAAI,EAAE,OAAO,GAAG,cAAc,GAAG,UAAU,GAAG,iBAAiB,EAC/D,GAAG,IAAI,EAAE;IACP,UAAU,EAAE,WAAW,CAAC,UAAU;IAElC,YAAY,CAAC,EAAE;QAAE,OAAO,CAAC,EAAE,KAAK,CAAC,WAAW,GAAG,SAAS,CAAA;KAAE;CAC3D,GACA,OAAO,CAAC,QAAQ,CAAC,CAEnB"}
@@ -17,9 +17,11 @@ import { foundryPlatformFetch as $foundryPlatformFetch } from "@osdk/shared.net.
17
17
  //
18
18
  const _execute = [1, "/v2/sqlQueries/execute", 3];
19
19
  /**
20
- * Executes a new query. Only the user that invoked the query can operate on the query.
20
+ * Executes a new query. Only the user that invoked the query can operate on the query. The size of query
21
+ * results are limited by default to 1 million rows. Contact your Palantir representative to discuss limit
22
+ * increases.
21
23
  *
22
- * @alpha
24
+ * @beta
23
25
  *
24
26
  * Required Scopes: [api:sql-queries-execute]
25
27
  * URL: /v2/sqlQueries/execute
@@ -31,7 +33,7 @@ const _getStatus = [0, "/v2/sqlQueries/{0}/getStatus", 2];
31
33
  /**
32
34
  * Gets the status of a query.
33
35
  *
34
- * @alpha
36
+ * @beta
35
37
  *
36
38
  * Required Scopes: [api:sql-queries-read]
37
39
  * URL: /v2/sqlQueries/{sqlQueryId}/getStatus
@@ -43,7 +45,7 @@ const _cancel = [1, "/v2/sqlQueries/{0}/cancel", 2];
43
45
  /**
44
46
  * Cancels a query. If the query is no longer running this is effectively a no-op.
45
47
  *
46
- * @alpha
48
+ * @beta
47
49
  *
48
50
  * Required Scopes: [api:sql-queries-execute]
49
51
  * URL: /v2/sqlQueries/{sqlQueryId}/cancel
@@ -54,9 +56,9 @@ export function cancel($ctx, ...args) {
54
56
  const _getResults = [0, "/v2/sqlQueries/{0}/getResults", 2,, "application/octet-stream"];
55
57
  /**
56
58
  * Gets the results of a query. This endpoint implements long polling and requests will time out after
57
- * one minute.
59
+ * one minute. They can be safely retried while the query is still running.
58
60
  *
59
- * @alpha
61
+ * @beta
60
62
  *
61
63
  * Required Scopes: [api:sql-queries-read]
62
64
  * URL: /v2/sqlQueries/{sqlQueryId}/getResults
@@ -1 +1 @@
1
- {"version":3,"file":"SqlQuery.js","names":["foundryPlatformFetch","$foundryPlatformFetch","_execute","execute","$ctx","args","_getStatus","getStatus","_cancel","cancel","_getResults","getResults"],"sources":["SqlQuery.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 _execute = [1, \"/v2/sqlQueries/execute\", 3];\n/**\n * Executes a new query. Only the user that invoked the query can operate on the query.\n *\n * @alpha\n *\n * Required Scopes: [api:sql-queries-execute]\n * URL: /v2/sqlQueries/execute\n */\nexport function execute($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _execute, ...args);\n}\nconst _getStatus = [0, \"/v2/sqlQueries/{0}/getStatus\", 2];\n/**\n * Gets the status of a query.\n *\n * @alpha\n *\n * Required Scopes: [api:sql-queries-read]\n * URL: /v2/sqlQueries/{sqlQueryId}/getStatus\n */\nexport function getStatus($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _getStatus, ...args);\n}\nconst _cancel = [1, \"/v2/sqlQueries/{0}/cancel\", 2];\n/**\n * Cancels a query. If the query is no longer running this is effectively a no-op.\n *\n * @alpha\n *\n * Required Scopes: [api:sql-queries-execute]\n * URL: /v2/sqlQueries/{sqlQueryId}/cancel\n */\nexport function cancel($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _cancel, ...args);\n}\nconst _getResults = [0, \"/v2/sqlQueries/{0}/getResults\", 2, , \"application/octet-stream\"];\n/**\n * Gets the results of a query. This endpoint implements long polling and requests will time out after\n * one minute.\n *\n * @alpha\n *\n * Required Scopes: [api:sql-queries-read]\n * URL: /v2/sqlQueries/{sqlQueryId}/getResults\n */\nexport function getResults($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _getResults, ...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,wBAAwB,EAAE,CAAC,CAAC;AACjD;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;AACA,MAAMC,UAAU,GAAG,CAAC,CAAC,EAAE,8BAA8B,EAAE,CAAC,CAAC;AACzD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,SAASC,SAASA,CAACH,IAAI,EAAE,GAAGC,IAAI,EAAE;EACrC,OAAOJ,qBAAqB,CAACG,IAAI,EAAEE,UAAU,EAAE,GAAGD,IAAI,CAAC;AAC3D;AACA,MAAMG,OAAO,GAAG,CAAC,CAAC,EAAE,2BAA2B,EAAE,CAAC,CAAC;AACnD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,SAASC,MAAMA,CAACL,IAAI,EAAE,GAAGC,IAAI,EAAE;EAClC,OAAOJ,qBAAqB,CAACG,IAAI,EAAEI,OAAO,EAAE,GAAGH,IAAI,CAAC;AACxD;AACA,MAAMK,WAAW,GAAG,CAAC,CAAC,EAAE,+BAA+B,EAAE,CAAC,GAAI,0BAA0B,CAAC;AACzF;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,SAASC,UAAUA,CAACP,IAAI,EAAE,GAAGC,IAAI,EAAE;EACtC,OAAOJ,qBAAqB,CAACG,IAAI,EAAEM,WAAW,EAAE,GAAGL,IAAI,CAAC;AAC5D","ignoreList":[]}
1
+ {"version":3,"file":"SqlQuery.js","names":["foundryPlatformFetch","$foundryPlatformFetch","_execute","execute","$ctx","args","_getStatus","getStatus","_cancel","cancel","_getResults","getResults"],"sources":["SqlQuery.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 _execute = [1, \"/v2/sqlQueries/execute\", 3];\n/**\n * Executes a new query. Only the user that invoked the query can operate on the query. The size of query\n * results are limited by default to 1 million rows. Contact your Palantir representative to discuss limit\n * increases.\n *\n * @beta\n *\n * Required Scopes: [api:sql-queries-execute]\n * URL: /v2/sqlQueries/execute\n */\nexport function execute($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _execute, ...args);\n}\nconst _getStatus = [0, \"/v2/sqlQueries/{0}/getStatus\", 2];\n/**\n * Gets the status of a query.\n *\n * @beta\n *\n * Required Scopes: [api:sql-queries-read]\n * URL: /v2/sqlQueries/{sqlQueryId}/getStatus\n */\nexport function getStatus($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _getStatus, ...args);\n}\nconst _cancel = [1, \"/v2/sqlQueries/{0}/cancel\", 2];\n/**\n * Cancels a query. If the query is no longer running this is effectively a no-op.\n *\n * @beta\n *\n * Required Scopes: [api:sql-queries-execute]\n * URL: /v2/sqlQueries/{sqlQueryId}/cancel\n */\nexport function cancel($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _cancel, ...args);\n}\nconst _getResults = [0, \"/v2/sqlQueries/{0}/getResults\", 2, , \"application/octet-stream\"];\n/**\n * Gets the results of a query. This endpoint implements long polling and requests will time out after\n * one minute. They can be safely retried while the query is still running.\n *\n * @beta\n *\n * Required Scopes: [api:sql-queries-read]\n * URL: /v2/sqlQueries/{sqlQueryId}/getResults\n */\nexport function getResults($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _getResults, ...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,wBAAwB,EAAE,CAAC,CAAC;AACjD;AACA;AACA;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;AACA,MAAMC,UAAU,GAAG,CAAC,CAAC,EAAE,8BAA8B,EAAE,CAAC,CAAC;AACzD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,SAASC,SAASA,CAACH,IAAI,EAAE,GAAGC,IAAI,EAAE;EACrC,OAAOJ,qBAAqB,CAACG,IAAI,EAAEE,UAAU,EAAE,GAAGD,IAAI,CAAC;AAC3D;AACA,MAAMG,OAAO,GAAG,CAAC,CAAC,EAAE,2BAA2B,EAAE,CAAC,CAAC;AACnD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,SAASC,MAAMA,CAACL,IAAI,EAAE,GAAGC,IAAI,EAAE;EAClC,OAAOJ,qBAAqB,CAACG,IAAI,EAAEI,OAAO,EAAE,GAAGH,IAAI,CAAC;AACxD;AACA,MAAMK,WAAW,GAAG,CAAC,CAAC,EAAE,+BAA+B,EAAE,CAAC,GAAI,0BAA0B,CAAC;AACzF;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,SAASC,UAAUA,CAACP,IAAI,EAAE,GAAGC,IAAI,EAAE;EACtC,OAAOJ,qBAAqB,CAACG,IAAI,EAAEM,WAAW,EAAE,GAAGL,IAAI,CAAC;AAC5D","ignoreList":[]}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@osdk/foundry.sqlqueries",
3
- "version": "2.20.0",
3
+ "version": "2.22.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/shared.net.platformapi": "~1.3.0",
25
- "@osdk/foundry.core": "2.20.0",
26
- "@osdk/foundry.datasets": "2.20.0"
24
+ "@osdk/foundry.core": "2.22.0",
25
+ "@osdk/foundry.datasets": "2.22.0",
26
+ "@osdk/shared.net.platformapi": "~1.3.0"
27
27
  },
28
28
  "devDependencies": {
29
29
  "typescript": "^5.5.4",
@@ -46,7 +46,7 @@
46
46
  "sls": {
47
47
  "dependencies": {
48
48
  "com.palantir.foundry.api:api-gateway": {
49
- "minVersion": "1.1157.0",
49
+ "minVersion": "1.1178.0",
50
50
  "maxVersion": "1.x.x",
51
51
  "optional": false
52
52
  }