@osdk/foundry.connectivity 2.51.0 → 2.53.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 +24 -0
- package/build/browser/_components.d.ts +2 -8
- package/build/browser/_components.d.ts.map +1 -1
- package/build/browser/index.d.ts +1 -1
- package/build/browser/index.d.ts.map +1 -1
- package/build/browser/public/Connection.d.ts +11 -34
- package/build/browser/public/Connection.d.ts.map +1 -1
- package/build/browser/public/Connection.js +11 -11
- package/build/browser/public/Connection.js.map +1 -1
- package/build/browser/public/FileImport.d.ts +11 -27
- package/build/browser/public/FileImport.d.ts.map +1 -1
- package/build/browser/public/FileImport.js +11 -11
- package/build/browser/public/FileImport.js.map +1 -1
- package/build/browser/public/TableImport.d.ts +11 -27
- package/build/browser/public/TableImport.d.ts.map +1 -1
- package/build/browser/public/TableImport.js +11 -11
- package/build/browser/public/TableImport.js.map +1 -1
- package/build/browser/public/VirtualTable.d.ts +2 -6
- package/build/browser/public/VirtualTable.d.ts.map +1 -1
- package/build/browser/public/VirtualTable.js +2 -2
- package/build/browser/public/VirtualTable.js.map +1 -1
- package/build/esm/_components.d.ts +2 -8
- package/build/esm/_components.d.ts.map +1 -1
- package/build/esm/index.d.ts +1 -1
- package/build/esm/index.d.ts.map +1 -1
- package/build/esm/public/Connection.d.ts +11 -34
- package/build/esm/public/Connection.d.ts.map +1 -1
- package/build/esm/public/Connection.js +11 -11
- package/build/esm/public/Connection.js.map +1 -1
- package/build/esm/public/FileImport.d.ts +11 -27
- package/build/esm/public/FileImport.d.ts.map +1 -1
- package/build/esm/public/FileImport.js +11 -11
- package/build/esm/public/FileImport.js.map +1 -1
- package/build/esm/public/TableImport.d.ts +11 -27
- package/build/esm/public/TableImport.d.ts.map +1 -1
- package/build/esm/public/TableImport.js +11 -11
- package/build/esm/public/TableImport.js.map +1 -1
- package/build/esm/public/VirtualTable.d.ts +2 -6
- package/build/esm/public/VirtualTable.d.ts.map +1 -1
- package/build/esm/public/VirtualTable.js +2 -2
- package/build/esm/public/VirtualTable.js.map +1 -1
- package/package.json +7 -7
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import type * as _Core from "@osdk/foundry.core";
|
|
2
1
|
import type { SharedClient as $OldClient, SharedClientContext as $OldClientContext } from "@osdk/shared.client";
|
|
3
2
|
import type { SharedClient as $Client, SharedClientContext as $ClientContext } from "@osdk/shared.client2";
|
|
4
3
|
import type * as _Connectivity from "../_components.js";
|
|
@@ -13,46 +12,33 @@ import type * as _Connectivity from "../_components.js";
|
|
|
13
12
|
* in-memory handling of secrets. If you do not want your secrets to be temporarily decrypted, you should
|
|
14
13
|
* use the Foundry UI instead.
|
|
15
14
|
*
|
|
16
|
-
* @
|
|
15
|
+
* @public
|
|
17
16
|
*
|
|
18
17
|
* Required Scopes: [api:connectivity-connection-write]
|
|
19
18
|
* URL: /v2/connectivity/connections
|
|
20
19
|
*/
|
|
21
|
-
export declare function create($ctx: $Client | $ClientContext | $OldClient | $OldClientContext, ...args: [
|
|
22
|
-
$body: _Connectivity.CreateConnectionRequest,
|
|
23
|
-
$queryParams?: {
|
|
24
|
-
preview?: _Core.PreviewMode | undefined;
|
|
25
|
-
}
|
|
26
|
-
]): Promise<_Connectivity.Connection>;
|
|
20
|
+
export declare function create($ctx: $Client | $ClientContext | $OldClient | $OldClientContext, ...args: [$body: _Connectivity.CreateConnectionRequest]): Promise<_Connectivity.Connection>;
|
|
27
21
|
/**
|
|
28
22
|
* Get the Connection with the specified rid.
|
|
29
23
|
*
|
|
30
|
-
* @
|
|
24
|
+
* @public
|
|
31
25
|
*
|
|
32
26
|
* Required Scopes: [api:connectivity-connection-read]
|
|
33
27
|
* URL: /v2/connectivity/connections/{connectionRid}
|
|
34
28
|
*/
|
|
35
|
-
export declare function get($ctx: $Client | $ClientContext | $OldClient | $OldClientContext, ...args: [
|
|
36
|
-
connectionRid: _Connectivity.ConnectionRid,
|
|
37
|
-
$queryParams?: {
|
|
38
|
-
preview?: _Core.PreviewMode | undefined;
|
|
39
|
-
}
|
|
40
|
-
]): Promise<_Connectivity.Connection>;
|
|
29
|
+
export declare function get($ctx: $Client | $ClientContext | $OldClient | $OldClientContext, ...args: [connectionRid: _Connectivity.ConnectionRid]): Promise<_Connectivity.Connection>;
|
|
41
30
|
/**
|
|
42
31
|
* Updates the [export settings on the Connection.](https://www.palantir.com/docs/foundry/data-connection/export-overview/#enable-exports-for-source)
|
|
43
32
|
* Only users with Information Security Officer role can modify the export settings.
|
|
44
33
|
*
|
|
45
|
-
* @
|
|
34
|
+
* @public
|
|
46
35
|
*
|
|
47
36
|
* Required Scopes: [api:connectivity-connection-write]
|
|
48
37
|
* URL: /v2/connectivity/connections/{connectionRid}/updateExportSettings
|
|
49
38
|
*/
|
|
50
39
|
export declare function updateExportSettings($ctx: $Client | $ClientContext | $OldClient | $OldClientContext, ...args: [
|
|
51
40
|
connectionRid: _Connectivity.ConnectionRid,
|
|
52
|
-
$body: _Connectivity.UpdateExportSettingsForConnectionRequest
|
|
53
|
-
$queryParams?: {
|
|
54
|
-
preview?: _Core.PreviewMode | undefined;
|
|
55
|
-
}
|
|
41
|
+
$body: _Connectivity.UpdateExportSettingsForConnectionRequest
|
|
56
42
|
]): Promise<void>;
|
|
57
43
|
/**
|
|
58
44
|
* Updates the secrets on the connection to the specified secret values.
|
|
@@ -80,39 +66,31 @@ export declare function updateSecrets($ctx: $Client | $ClientContext | $OldClien
|
|
|
80
66
|
* Retrieves the ConnectionConfiguration of the [Connection](https://www.palantir.com/docs/foundry/data-connection/set-up-source/) itself.
|
|
81
67
|
* This operation is intended for use when other Connection data is not required, providing a lighter-weight alternative to `getConnection` operation.
|
|
82
68
|
*
|
|
83
|
-
* @
|
|
69
|
+
* @public
|
|
84
70
|
*
|
|
85
71
|
* Required Scopes: [api:connectivity-connection-read]
|
|
86
72
|
* URL: /v2/connectivity/connections/{connectionRid}/getConfiguration
|
|
87
73
|
*/
|
|
88
|
-
export declare function getConfiguration($ctx: $Client | $ClientContext | $OldClient | $OldClientContext, ...args: [
|
|
89
|
-
connectionRid: _Connectivity.ConnectionRid,
|
|
90
|
-
$queryParams?: {
|
|
91
|
-
preview?: _Core.PreviewMode | undefined;
|
|
92
|
-
}
|
|
93
|
-
]): Promise<_Connectivity.ConnectionConfiguration>;
|
|
74
|
+
export declare function getConfiguration($ctx: $Client | $ClientContext | $OldClient | $OldClientContext, ...args: [connectionRid: _Connectivity.ConnectionRid]): Promise<_Connectivity.ConnectionConfiguration>;
|
|
94
75
|
/**
|
|
95
76
|
* Returns a map of Connection RIDs to their corresponding configurations.
|
|
96
77
|
* Connections are filtered from the response if they don't exist or the requesting token lacks the required permissions.
|
|
97
78
|
*
|
|
98
79
|
* The maximum batch size for this endpoint is 200.
|
|
99
80
|
*
|
|
100
|
-
* @
|
|
81
|
+
* @public
|
|
101
82
|
*
|
|
102
83
|
* Required Scopes: [api:connectivity-connection-read]
|
|
103
84
|
* URL: /v2/connectivity/connections/getConfigurationBatch
|
|
104
85
|
*/
|
|
105
86
|
export declare function getConfigurationBatch($ctx: $Client | $ClientContext | $OldClient | $OldClientContext, ...args: [
|
|
106
|
-
$body: Array<_Connectivity.GetConfigurationConnectionsBatchRequestElement
|
|
107
|
-
$queryParams?: {
|
|
108
|
-
preview?: _Core.PreviewMode | undefined;
|
|
109
|
-
}
|
|
87
|
+
$body: Array<_Connectivity.GetConfigurationConnectionsBatchRequestElement>
|
|
110
88
|
]): Promise<_Connectivity.GetConfigurationConnectionsBatchResponse>;
|
|
111
89
|
/**
|
|
112
90
|
* Upload custom jdbc drivers to an existing JDBC connection.
|
|
113
91
|
* The body of the request must contain the binary content of the file and the `Content-Type` header must be `application/octet-stream`.
|
|
114
92
|
*
|
|
115
|
-
* @
|
|
93
|
+
* @public
|
|
116
94
|
*
|
|
117
95
|
* Required Scopes: [api:connectivity-connection-write]
|
|
118
96
|
* URL: /v2/connectivity/connections/{connectionRid}/uploadCustomJdbcDrivers
|
|
@@ -122,7 +100,6 @@ export declare function uploadCustomJdbcDrivers($ctx: $Client | $ClientContext |
|
|
|
122
100
|
$body: Blob,
|
|
123
101
|
$queryParams: {
|
|
124
102
|
fileName: string;
|
|
125
|
-
preview?: _Core.PreviewMode | undefined;
|
|
126
103
|
}
|
|
127
104
|
]): Promise<_Connectivity.Connection>;
|
|
128
105
|
//# sourceMappingURL=Connection.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Connection.d.ts","sourceRoot":"","sources":["../../../src/public/Connection.ts"],"names":[],"mappings":"AAgBA,OAAO,KAAK,
|
|
1
|
+
{"version":3,"file":"Connection.d.ts","sourceRoot":"","sources":["../../../src/public/Connection.ts"],"names":[],"mappings":"AAgBA,OAAO,KAAK,EACV,YAAY,IAAI,UAAU,EAC1B,mBAAmB,IAAI,iBAAiB,EACzC,MAAM,qBAAqB,CAAC;AAC7B,OAAO,KAAK,EACV,YAAY,IAAI,OAAO,EACvB,mBAAmB,IAAI,cAAc,EACtC,MAAM,sBAAsB,CAAC;AAG9B,OAAO,KAAK,KAAK,aAAa,MAAM,mBAAmB,CAAC;AAUxD;;;;;;;;;;;;;;;GAeG;AACH,wBAAgB,MAAM,CACpB,IAAI,EAAE,OAAO,GAAG,cAAc,GAAG,UAAU,GAAG,iBAAiB,EAC/D,GAAG,IAAI,EAAE,CAAC,KAAK,EAAE,aAAa,CAAC,uBAAuB,CAAC,GACtD,OAAO,CAAC,aAAa,CAAC,UAAU,CAAC,CAEnC;AAQD;;;;;;;GAOG;AACH,wBAAgB,GAAG,CACjB,IAAI,EAAE,OAAO,GAAG,cAAc,GAAG,UAAU,GAAG,iBAAiB,EAC/D,GAAG,IAAI,EAAE,CAAC,aAAa,EAAE,aAAa,CAAC,aAAa,CAAC,GACpD,OAAO,CAAC,aAAa,CAAC,UAAU,CAAC,CAEnC;AASD;;;;;;;;GAQG;AACH,wBAAgB,oBAAoB,CAClC,IAAI,EAAE,OAAO,GAAG,cAAc,GAAG,UAAU,GAA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
import { foundryPlatformFetch as $foundryPlatformFetch } from "@osdk/shared.net.platformapi";
|
|
17
17
|
//
|
|
18
|
-
const _create = [1, "/v2/connectivity/connections",
|
|
18
|
+
const _create = [1, "/v2/connectivity/connections", 1];
|
|
19
19
|
/**
|
|
20
20
|
* Creates a new Connection with a [direct connection](https://www.palantir.com/docs/foundry/data-connection/core-concepts/#direct-connection) runtime.
|
|
21
21
|
*
|
|
@@ -27,7 +27,7 @@ const _create = [1, "/v2/connectivity/connections", 3];
|
|
|
27
27
|
* in-memory handling of secrets. If you do not want your secrets to be temporarily decrypted, you should
|
|
28
28
|
* use the Foundry UI instead.
|
|
29
29
|
*
|
|
30
|
-
* @
|
|
30
|
+
* @public
|
|
31
31
|
*
|
|
32
32
|
* Required Scopes: [api:connectivity-connection-write]
|
|
33
33
|
* URL: /v2/connectivity/connections
|
|
@@ -35,11 +35,11 @@ const _create = [1, "/v2/connectivity/connections", 3];
|
|
|
35
35
|
export function create($ctx, ...args) {
|
|
36
36
|
return $foundryPlatformFetch($ctx, _create, ...args);
|
|
37
37
|
}
|
|
38
|
-
const _get = [0, "/v2/connectivity/connections/{0}"
|
|
38
|
+
const _get = [0, "/v2/connectivity/connections/{0}"];
|
|
39
39
|
/**
|
|
40
40
|
* Get the Connection with the specified rid.
|
|
41
41
|
*
|
|
42
|
-
* @
|
|
42
|
+
* @public
|
|
43
43
|
*
|
|
44
44
|
* Required Scopes: [api:connectivity-connection-read]
|
|
45
45
|
* URL: /v2/connectivity/connections/{connectionRid}
|
|
@@ -47,12 +47,12 @@ const _get = [0, "/v2/connectivity/connections/{0}", 2];
|
|
|
47
47
|
export function get($ctx, ...args) {
|
|
48
48
|
return $foundryPlatformFetch($ctx, _get, ...args);
|
|
49
49
|
}
|
|
50
|
-
const _updateExportSettings = [1, "/v2/connectivity/connections/{0}/updateExportSettings",
|
|
50
|
+
const _updateExportSettings = [1, "/v2/connectivity/connections/{0}/updateExportSettings", 1];
|
|
51
51
|
/**
|
|
52
52
|
* Updates the [export settings on the Connection.](https://www.palantir.com/docs/foundry/data-connection/export-overview/#enable-exports-for-source)
|
|
53
53
|
* Only users with Information Security Officer role can modify the export settings.
|
|
54
54
|
*
|
|
55
|
-
* @
|
|
55
|
+
* @public
|
|
56
56
|
*
|
|
57
57
|
* Required Scopes: [api:connectivity-connection-write]
|
|
58
58
|
* URL: /v2/connectivity/connections/{connectionRid}/updateExportSettings
|
|
@@ -82,12 +82,12 @@ const _updateSecrets = [1, "/v2/connectivity/connections/{0}/updateSecrets", 1];
|
|
|
82
82
|
export function updateSecrets($ctx, ...args) {
|
|
83
83
|
return $foundryPlatformFetch($ctx, _updateSecrets, ...args);
|
|
84
84
|
}
|
|
85
|
-
const _getConfiguration = [0, "/v2/connectivity/connections/{0}/getConfiguration"
|
|
85
|
+
const _getConfiguration = [0, "/v2/connectivity/connections/{0}/getConfiguration"];
|
|
86
86
|
/**
|
|
87
87
|
* Retrieves the ConnectionConfiguration of the [Connection](https://www.palantir.com/docs/foundry/data-connection/set-up-source/) itself.
|
|
88
88
|
* This operation is intended for use when other Connection data is not required, providing a lighter-weight alternative to `getConnection` operation.
|
|
89
89
|
*
|
|
90
|
-
* @
|
|
90
|
+
* @public
|
|
91
91
|
*
|
|
92
92
|
* Required Scopes: [api:connectivity-connection-read]
|
|
93
93
|
* URL: /v2/connectivity/connections/{connectionRid}/getConfiguration
|
|
@@ -95,14 +95,14 @@ const _getConfiguration = [0, "/v2/connectivity/connections/{0}/getConfiguration
|
|
|
95
95
|
export function getConfiguration($ctx, ...args) {
|
|
96
96
|
return $foundryPlatformFetch($ctx, _getConfiguration, ...args);
|
|
97
97
|
}
|
|
98
|
-
const _getConfigurationBatch = [1, "/v2/connectivity/connections/getConfigurationBatch",
|
|
98
|
+
const _getConfigurationBatch = [1, "/v2/connectivity/connections/getConfigurationBatch", 1];
|
|
99
99
|
/**
|
|
100
100
|
* Returns a map of Connection RIDs to their corresponding configurations.
|
|
101
101
|
* Connections are filtered from the response if they don't exist or the requesting token lacks the required permissions.
|
|
102
102
|
*
|
|
103
103
|
* The maximum batch size for this endpoint is 200.
|
|
104
104
|
*
|
|
105
|
-
* @
|
|
105
|
+
* @public
|
|
106
106
|
*
|
|
107
107
|
* Required Scopes: [api:connectivity-connection-read]
|
|
108
108
|
* URL: /v2/connectivity/connections/getConfigurationBatch
|
|
@@ -115,7 +115,7 @@ const _uploadCustomJdbcDrivers = [1, "/v2/connectivity/connections/{0}/uploadCus
|
|
|
115
115
|
* Upload custom jdbc drivers to an existing JDBC connection.
|
|
116
116
|
* The body of the request must contain the binary content of the file and the `Content-Type` header must be `application/octet-stream`.
|
|
117
117
|
*
|
|
118
|
-
* @
|
|
118
|
+
* @public
|
|
119
119
|
*
|
|
120
120
|
* Required Scopes: [api:connectivity-connection-write]
|
|
121
121
|
* URL: /v2/connectivity/connections/{connectionRid}/uploadCustomJdbcDrivers
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Connection.js","names":["foundryPlatformFetch","$foundryPlatformFetch","_create","create","$ctx","args","_get","get","_updateExportSettings","updateExportSettings","_updateSecrets","updateSecrets","_getConfiguration","getConfiguration","_getConfigurationBatch","getConfigurationBatch","_uploadCustomJdbcDrivers","uploadCustomJdbcDrivers"],"sources":["Connection.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/connectivity/connections\",
|
|
1
|
+
{"version":3,"file":"Connection.js","names":["foundryPlatformFetch","$foundryPlatformFetch","_create","create","$ctx","args","_get","get","_updateExportSettings","updateExportSettings","_updateSecrets","updateSecrets","_getConfiguration","getConfiguration","_getConfigurationBatch","getConfigurationBatch","_uploadCustomJdbcDrivers","uploadCustomJdbcDrivers"],"sources":["Connection.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/connectivity/connections\", 1];\n/**\n * Creates a new Connection with a [direct connection](https://www.palantir.com/docs/foundry/data-connection/core-concepts/#direct-connection) runtime.\n *\n * Any secrets specified in the request body are transmitted over the network encrypted using TLS. Once the\n * secrets reach Foundry's servers, they will be temporarily decrypted and remain in plaintext in memory to\n * be processed as needed. They will stay in plaintext in memory until the garbage collection process cleans\n * up the memory. The secrets are always stored encrypted on our servers.\n * By using this endpoint, you acknowledge and accept any potential risks associated with the temporary\n * in-memory handling of secrets. If you do not want your secrets to be temporarily decrypted, you should\n * use the Foundry UI instead.\n *\n * @public\n *\n * Required Scopes: [api:connectivity-connection-write]\n * URL: /v2/connectivity/connections\n */\nexport function create($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _create, ...args);\n}\nconst _get = [0, \"/v2/connectivity/connections/{0}\"];\n/**\n * Get the Connection with the specified rid.\n *\n * @public\n *\n * Required Scopes: [api:connectivity-connection-read]\n * URL: /v2/connectivity/connections/{connectionRid}\n */\nexport function get($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _get, ...args);\n}\nconst _updateExportSettings = [1, \"/v2/connectivity/connections/{0}/updateExportSettings\", 1];\n/**\n * Updates the [export settings on the Connection.](https://www.palantir.com/docs/foundry/data-connection/export-overview/#enable-exports-for-source)\n * Only users with Information Security Officer role can modify the export settings.\n *\n * @public\n *\n * Required Scopes: [api:connectivity-connection-write]\n * URL: /v2/connectivity/connections/{connectionRid}/updateExportSettings\n */\nexport function updateExportSettings($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _updateExportSettings, ...args);\n}\nconst _updateSecrets = [1, \"/v2/connectivity/connections/{0}/updateSecrets\", 1];\n/**\n * Updates the secrets on the connection to the specified secret values.\n * Secrets that are currently configured on the connection but are omitted in the request will remain unchanged.\n *\n * Secrets are transmitted over the network encrypted using TLS. Once the secrets reach Foundry's servers,\n * they will be temporarily decrypted and remain in plaintext in memory to be processed as needed.\n * They will stay in plaintext in memory until the garbage collection process cleans up the memory.\n * The secrets are always stored encrypted on our servers.\n *\n * By using this endpoint, you acknowledge and accept any potential risks associated with the temporary\n * in-memory handling of secrets. If you do not want your secrets to be temporarily decrypted, you should\n * use the Foundry UI instead.\n *\n * @public\n *\n * Required Scopes: [api:connectivity-connection-write]\n * URL: /v2/connectivity/connections/{connectionRid}/updateSecrets\n */\nexport function updateSecrets($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _updateSecrets, ...args);\n}\nconst _getConfiguration = [0, \"/v2/connectivity/connections/{0}/getConfiguration\"];\n/**\n * Retrieves the ConnectionConfiguration of the [Connection](https://www.palantir.com/docs/foundry/data-connection/set-up-source/) itself.\n * This operation is intended for use when other Connection data is not required, providing a lighter-weight alternative to `getConnection` operation.\n *\n * @public\n *\n * Required Scopes: [api:connectivity-connection-read]\n * URL: /v2/connectivity/connections/{connectionRid}/getConfiguration\n */\nexport function getConfiguration($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _getConfiguration, ...args);\n}\nconst _getConfigurationBatch = [1, \"/v2/connectivity/connections/getConfigurationBatch\", 1];\n/**\n * Returns a map of Connection RIDs to their corresponding configurations.\n * Connections are filtered from the response if they don't exist or the requesting token lacks the required permissions.\n *\n * The maximum batch size for this endpoint is 200.\n *\n * @public\n *\n * Required Scopes: [api:connectivity-connection-read]\n * URL: /v2/connectivity/connections/getConfigurationBatch\n */\nexport function getConfigurationBatch($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _getConfigurationBatch, ...args);\n}\nconst _uploadCustomJdbcDrivers = [\n 1,\n \"/v2/connectivity/connections/{0}/uploadCustomJdbcDrivers\",\n 3,\n \"application/octet-stream\",\n];\n/**\n * Upload custom jdbc drivers to an existing JDBC connection.\n * The body of the request must contain the binary content of the file and the `Content-Type` header must be `application/octet-stream`.\n *\n * @public\n *\n * Required Scopes: [api:connectivity-connection-write]\n * URL: /v2/connectivity/connections/{connectionRid}/uploadCustomJdbcDrivers\n */\nexport function uploadCustomJdbcDrivers($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _uploadCustomJdbcDrivers, ...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,8BAA8B,EAAE,CAAC,CAAC;AACtD;AACA;AACA;AACA;AACA;AACA;AACA;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;AACA,MAAMC,IAAI,GAAG,CAAC,CAAC,EAAE,kCAAkC,CAAC;AACpD;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,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ACA;AACA;AACA,OAAO,SAASC,uBAAuBA,CAACb,IAAI,EAAE,GAAGC,IAAI,EAAE;EACnD,OAAOJ,qBAAqB,CAACG,IAAI,EAAEY,wBAAwB,EAAE,GAAGX,IAAI,CAAC;AACzE","ignoreList":[]}
|
|
@@ -5,40 +5,34 @@ import type * as _Connectivity from "../_components.js";
|
|
|
5
5
|
/**
|
|
6
6
|
* Creates a new FileImport.
|
|
7
7
|
*
|
|
8
|
-
* @
|
|
8
|
+
* @public
|
|
9
9
|
*
|
|
10
10
|
* Required Scopes: [api:connectivity-file-import-write]
|
|
11
11
|
* URL: /v2/connectivity/connections/{connectionRid}/fileImports
|
|
12
12
|
*/
|
|
13
13
|
export declare function create($ctx: $Client | $ClientContext | $OldClient | $OldClientContext, ...args: [
|
|
14
14
|
connectionRid: _Connectivity.ConnectionRid,
|
|
15
|
-
$body: _Connectivity.CreateFileImportRequest
|
|
16
|
-
$queryParams?: {
|
|
17
|
-
preview?: _Core.PreviewMode | undefined;
|
|
18
|
-
}
|
|
15
|
+
$body: _Connectivity.CreateFileImportRequest
|
|
19
16
|
]): Promise<_Connectivity.FileImport>;
|
|
20
17
|
/**
|
|
21
18
|
* Delete the FileImport with the specified RID.
|
|
22
19
|
* Deleting the file import does not delete the destination dataset but the dataset will no longer
|
|
23
20
|
* be updated by this import.
|
|
24
21
|
*
|
|
25
|
-
* @
|
|
22
|
+
* @public
|
|
26
23
|
*
|
|
27
24
|
* Required Scopes: [api:connectivity-file-import-write]
|
|
28
25
|
* URL: /v2/connectivity/connections/{connectionRid}/fileImports/{fileImportRid}
|
|
29
26
|
*/
|
|
30
27
|
export declare function deleteFileImport($ctx: $Client | $ClientContext | $OldClient | $OldClientContext, ...args: [
|
|
31
28
|
connectionRid: _Connectivity.ConnectionRid,
|
|
32
|
-
fileImportRid: _Connectivity.FileImportRid
|
|
33
|
-
$queryParams?: {
|
|
34
|
-
preview?: _Core.PreviewMode | undefined;
|
|
35
|
-
}
|
|
29
|
+
fileImportRid: _Connectivity.FileImportRid
|
|
36
30
|
]): Promise<void>;
|
|
37
31
|
/**
|
|
38
32
|
* Lists all file imports defined for this connection.
|
|
39
33
|
* Only file imports that the user has permissions to view will be returned.
|
|
40
34
|
*
|
|
41
|
-
* @
|
|
35
|
+
* @public
|
|
42
36
|
*
|
|
43
37
|
* Required Scopes: [api:connectivity-file-import-read]
|
|
44
38
|
* URL: /v2/connectivity/connections/{connectionRid}/fileImports
|
|
@@ -48,28 +42,24 @@ export declare function list($ctx: $Client | $ClientContext | $OldClient | $OldC
|
|
|
48
42
|
$queryParams?: {
|
|
49
43
|
pageSize?: _Core.PageSize | undefined;
|
|
50
44
|
pageToken?: _Core.PageToken | undefined;
|
|
51
|
-
preview?: _Core.PreviewMode | undefined;
|
|
52
45
|
}
|
|
53
46
|
]): Promise<_Connectivity.ListFileImportsResponse>;
|
|
54
47
|
/**
|
|
55
48
|
* Get the FileImport with the specified rid.
|
|
56
49
|
*
|
|
57
|
-
* @
|
|
50
|
+
* @public
|
|
58
51
|
*
|
|
59
52
|
* Required Scopes: [api:connectivity-file-import-read]
|
|
60
53
|
* URL: /v2/connectivity/connections/{connectionRid}/fileImports/{fileImportRid}
|
|
61
54
|
*/
|
|
62
55
|
export declare function get($ctx: $Client | $ClientContext | $OldClient | $OldClientContext, ...args: [
|
|
63
56
|
connectionRid: _Connectivity.ConnectionRid,
|
|
64
|
-
fileImportRid: _Connectivity.FileImportRid
|
|
65
|
-
$queryParams?: {
|
|
66
|
-
preview?: _Core.PreviewMode | undefined;
|
|
67
|
-
}
|
|
57
|
+
fileImportRid: _Connectivity.FileImportRid
|
|
68
58
|
]): Promise<_Connectivity.FileImport>;
|
|
69
59
|
/**
|
|
70
60
|
* Replace the FileImport with the specified rid.
|
|
71
61
|
*
|
|
72
|
-
* @
|
|
62
|
+
* @public
|
|
73
63
|
*
|
|
74
64
|
* Required Scopes: [api:connectivity-file-import-write]
|
|
75
65
|
* URL: /v2/connectivity/connections/{connectionRid}/fileImports/{fileImportRid}
|
|
@@ -77,25 +67,19 @@ export declare function get($ctx: $Client | $ClientContext | $OldClient | $OldCl
|
|
|
77
67
|
export declare function replace($ctx: $Client | $ClientContext | $OldClient | $OldClientContext, ...args: [
|
|
78
68
|
connectionRid: _Connectivity.ConnectionRid,
|
|
79
69
|
fileImportRid: _Connectivity.FileImportRid,
|
|
80
|
-
$body: _Connectivity.ReplaceFileImportRequest
|
|
81
|
-
$queryParams?: {
|
|
82
|
-
preview?: _Core.PreviewMode | undefined;
|
|
83
|
-
}
|
|
70
|
+
$body: _Connectivity.ReplaceFileImportRequest
|
|
84
71
|
]): Promise<_Connectivity.FileImport>;
|
|
85
72
|
/**
|
|
86
73
|
* Executes the FileImport, which runs asynchronously as a [Foundry Build](https://www.palantir.com/docs/foundry/data-integration/builds/).
|
|
87
74
|
* The returned BuildRid can be used to check the status via the Orchestration API.
|
|
88
75
|
*
|
|
89
|
-
* @
|
|
76
|
+
* @public
|
|
90
77
|
*
|
|
91
78
|
* Required Scopes: [api:connectivity-file-import-execute]
|
|
92
79
|
* URL: /v2/connectivity/connections/{connectionRid}/fileImports/{fileImportRid}/execute
|
|
93
80
|
*/
|
|
94
81
|
export declare function execute($ctx: $Client | $ClientContext | $OldClient | $OldClientContext, ...args: [
|
|
95
82
|
connectionRid: _Connectivity.ConnectionRid,
|
|
96
|
-
fileImportRid: _Connectivity.FileImportRid
|
|
97
|
-
$queryParams?: {
|
|
98
|
-
preview?: _Core.PreviewMode | undefined;
|
|
99
|
-
}
|
|
83
|
+
fileImportRid: _Connectivity.FileImportRid
|
|
100
84
|
]): Promise<_Core.BuildRid>;
|
|
101
85
|
//# sourceMappingURL=FileImport.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FileImport.d.ts","sourceRoot":"","sources":["../../../src/public/FileImport.ts"],"names":[],"mappings":"AAgBA,OAAO,KAAK,KAAK,KAAK,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,EACV,YAAY,IA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a,EAAE,aAAa,CAAC,aAAa;IAE1C,YAAY,CAAC,EAAE;QACb,QAAQ,CAAC,EAAE,KAAK,CAAC,QAAQ,GAAG,SAAS,CAAC;QACtC,SAAS,CAAC,EAAE,KAAK,CAAC,SAAS,GAAG,SAAS,CAAC;KACzC;CACF,GACA,OAAO,CAAC,aAAa,CAAC,uBAAuB,CAAC,CAEhD;AASD;;;;;;;GAOG;AACH,wBAAgB,GAAG,CACjB,IAAI,EAAE,OAAO,GAAG,cAAc,GAAG,UAAU,GAAG,iBAAiB,EAC/D,GAAG,IAAI,EAAE;IACP,aAAa,EAAE,aAAa,CAAC,aAAa;IAC1C,aAAa,EAAE,aAAa,CAAC,aAAa;CAC3C,GACA,OAAO,CAAC,aAAa,CAAC,UAAU,CAAC,CAEnC;AAUD;;;;;;;GAOG;AACH,wBAAgB,OAAO,CACrB,IAAI,EAAE,OAAO,GAAG,cAAc,GAAG,UAAU,GAAG,iBAAiB,EAC/D,GAAG,IAAI,EAAE;IACP,aAAa,EAAE,aAAa,CAAC,aAAa;IAC1C,aAAa,EAAE,aAAa,CAAC,aAAa;IAC1C,KAAK,EAAE,aAAa,CAAC,wBAAwB;CAC9C,GACA,OAAO,CAAC,aAAa,CAAC,UAAU,CAAC,CAEnC;AASD;;;;;;;;GAQG;AACH,wBAAgB,OAAO,CACrB,IAAI,EAAE,OAAO,GAAG,cAAc,GAAG,UAAU,GAAG,iBAAiB,EAC/D,GAAG,IAAI,EAAE;IACP,aAAa,EAAE,aAAa,CAAC,aAAa;IAC1C,aAAa,EAAE,aAAa,CAAC,aAAa;CAC3C,GACA,OAAO,CAAC,KAAK,CAAC,QAAQ,CAAC,CAEzB"}
|
|
@@ -15,11 +15,11 @@
|
|
|
15
15
|
*/
|
|
16
16
|
import { foundryPlatformFetch as $foundryPlatformFetch } from "@osdk/shared.net.platformapi";
|
|
17
17
|
//
|
|
18
|
-
const _create = [1, "/v2/connectivity/connections/{0}/fileImports",
|
|
18
|
+
const _create = [1, "/v2/connectivity/connections/{0}/fileImports", 1];
|
|
19
19
|
/**
|
|
20
20
|
* Creates a new FileImport.
|
|
21
21
|
*
|
|
22
|
-
* @
|
|
22
|
+
* @public
|
|
23
23
|
*
|
|
24
24
|
* Required Scopes: [api:connectivity-file-import-write]
|
|
25
25
|
* URL: /v2/connectivity/connections/{connectionRid}/fileImports
|
|
@@ -27,13 +27,13 @@ const _create = [1, "/v2/connectivity/connections/{0}/fileImports", 3];
|
|
|
27
27
|
export function create($ctx, ...args) {
|
|
28
28
|
return $foundryPlatformFetch($ctx, _create, ...args);
|
|
29
29
|
}
|
|
30
|
-
const _deleteFileImport = [3, "/v2/connectivity/connections/{0}/fileImports/{1}"
|
|
30
|
+
const _deleteFileImport = [3, "/v2/connectivity/connections/{0}/fileImports/{1}"];
|
|
31
31
|
/**
|
|
32
32
|
* Delete the FileImport with the specified RID.
|
|
33
33
|
* Deleting the file import does not delete the destination dataset but the dataset will no longer
|
|
34
34
|
* be updated by this import.
|
|
35
35
|
*
|
|
36
|
-
* @
|
|
36
|
+
* @public
|
|
37
37
|
*
|
|
38
38
|
* Required Scopes: [api:connectivity-file-import-write]
|
|
39
39
|
* URL: /v2/connectivity/connections/{connectionRid}/fileImports/{fileImportRid}
|
|
@@ -46,7 +46,7 @@ const _list = [0, "/v2/connectivity/connections/{0}/fileImports", 2];
|
|
|
46
46
|
* Lists all file imports defined for this connection.
|
|
47
47
|
* Only file imports that the user has permissions to view will be returned.
|
|
48
48
|
*
|
|
49
|
-
* @
|
|
49
|
+
* @public
|
|
50
50
|
*
|
|
51
51
|
* Required Scopes: [api:connectivity-file-import-read]
|
|
52
52
|
* URL: /v2/connectivity/connections/{connectionRid}/fileImports
|
|
@@ -54,11 +54,11 @@ const _list = [0, "/v2/connectivity/connections/{0}/fileImports", 2];
|
|
|
54
54
|
export function list($ctx, ...args) {
|
|
55
55
|
return $foundryPlatformFetch($ctx, _list, ...args);
|
|
56
56
|
}
|
|
57
|
-
const _get = [0, "/v2/connectivity/connections/{0}/fileImports/{1}"
|
|
57
|
+
const _get = [0, "/v2/connectivity/connections/{0}/fileImports/{1}"];
|
|
58
58
|
/**
|
|
59
59
|
* Get the FileImport with the specified rid.
|
|
60
60
|
*
|
|
61
|
-
* @
|
|
61
|
+
* @public
|
|
62
62
|
*
|
|
63
63
|
* Required Scopes: [api:connectivity-file-import-read]
|
|
64
64
|
* URL: /v2/connectivity/connections/{connectionRid}/fileImports/{fileImportRid}
|
|
@@ -66,11 +66,11 @@ const _get = [0, "/v2/connectivity/connections/{0}/fileImports/{1}", 2];
|
|
|
66
66
|
export function get($ctx, ...args) {
|
|
67
67
|
return $foundryPlatformFetch($ctx, _get, ...args);
|
|
68
68
|
}
|
|
69
|
-
const _replace = [2, "/v2/connectivity/connections/{0}/fileImports/{1}",
|
|
69
|
+
const _replace = [2, "/v2/connectivity/connections/{0}/fileImports/{1}", 1];
|
|
70
70
|
/**
|
|
71
71
|
* Replace the FileImport with the specified rid.
|
|
72
72
|
*
|
|
73
|
-
* @
|
|
73
|
+
* @public
|
|
74
74
|
*
|
|
75
75
|
* Required Scopes: [api:connectivity-file-import-write]
|
|
76
76
|
* URL: /v2/connectivity/connections/{connectionRid}/fileImports/{fileImportRid}
|
|
@@ -78,12 +78,12 @@ const _replace = [2, "/v2/connectivity/connections/{0}/fileImports/{1}", 3];
|
|
|
78
78
|
export function replace($ctx, ...args) {
|
|
79
79
|
return $foundryPlatformFetch($ctx, _replace, ...args);
|
|
80
80
|
}
|
|
81
|
-
const _execute = [1, "/v2/connectivity/connections/{0}/fileImports/{1}/execute"
|
|
81
|
+
const _execute = [1, "/v2/connectivity/connections/{0}/fileImports/{1}/execute"];
|
|
82
82
|
/**
|
|
83
83
|
* Executes the FileImport, which runs asynchronously as a [Foundry Build](https://www.palantir.com/docs/foundry/data-integration/builds/).
|
|
84
84
|
* The returned BuildRid can be used to check the status via the Orchestration API.
|
|
85
85
|
*
|
|
86
|
-
* @
|
|
86
|
+
* @public
|
|
87
87
|
*
|
|
88
88
|
* Required Scopes: [api:connectivity-file-import-execute]
|
|
89
89
|
* URL: /v2/connectivity/connections/{connectionRid}/fileImports/{fileImportRid}/execute
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FileImport.js","names":["foundryPlatformFetch","$foundryPlatformFetch","_create","create","$ctx","args","_deleteFileImport","deleteFileImport","_list","list","_get","get","_replace","replace","_execute","execute"],"sources":["FileImport.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/connectivity/connections/{0}/fileImports\",
|
|
1
|
+
{"version":3,"file":"FileImport.js","names":["foundryPlatformFetch","$foundryPlatformFetch","_create","create","$ctx","args","_deleteFileImport","deleteFileImport","_list","list","_get","get","_replace","replace","_execute","execute"],"sources":["FileImport.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/connectivity/connections/{0}/fileImports\", 1];\n/**\n * Creates a new FileImport.\n *\n * @public\n *\n * Required Scopes: [api:connectivity-file-import-write]\n * URL: /v2/connectivity/connections/{connectionRid}/fileImports\n */\nexport function create($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _create, ...args);\n}\nconst _deleteFileImport = [3, \"/v2/connectivity/connections/{0}/fileImports/{1}\"];\n/**\n * Delete the FileImport with the specified RID.\n * Deleting the file import does not delete the destination dataset but the dataset will no longer\n * be updated by this import.\n *\n * @public\n *\n * Required Scopes: [api:connectivity-file-import-write]\n * URL: /v2/connectivity/connections/{connectionRid}/fileImports/{fileImportRid}\n */\nexport function deleteFileImport($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _deleteFileImport, ...args);\n}\nconst _list = [0, \"/v2/connectivity/connections/{0}/fileImports\", 2];\n/**\n * Lists all file imports defined for this connection.\n * Only file imports that the user has permissions to view will be returned.\n *\n * @public\n *\n * Required Scopes: [api:connectivity-file-import-read]\n * URL: /v2/connectivity/connections/{connectionRid}/fileImports\n */\nexport function list($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _list, ...args);\n}\nconst _get = [0, \"/v2/connectivity/connections/{0}/fileImports/{1}\"];\n/**\n * Get the FileImport with the specified rid.\n *\n * @public\n *\n * Required Scopes: [api:connectivity-file-import-read]\n * URL: /v2/connectivity/connections/{connectionRid}/fileImports/{fileImportRid}\n */\nexport function get($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _get, ...args);\n}\nconst _replace = [2, \"/v2/connectivity/connections/{0}/fileImports/{1}\", 1];\n/**\n * Replace the FileImport with the specified rid.\n *\n * @public\n *\n * Required Scopes: [api:connectivity-file-import-write]\n * URL: /v2/connectivity/connections/{connectionRid}/fileImports/{fileImportRid}\n */\nexport function replace($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _replace, ...args);\n}\nconst _execute = [1, \"/v2/connectivity/connections/{0}/fileImports/{1}/execute\"];\n/**\n * Executes the FileImport, which runs asynchronously as a [Foundry Build](https://www.palantir.com/docs/foundry/data-integration/builds/).\n * The returned BuildRid can be used to check the status via the Orchestration API.\n *\n * @public\n *\n * Required Scopes: [api:connectivity-file-import-execute]\n * URL: /v2/connectivity/connections/{connectionRid}/fileImports/{fileImportRid}/execute\n */\nexport function execute($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _execute, ...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,8CAA8C,EAAE,CAAC,CAAC;AACtE;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,iBAAiB,GAAG,CAAC,CAAC,EAAE,kDAAkD,CAAC;AACjF;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,SAASC,gBAAgBA,CAACH,IAAI,EAAE,GAAGC,IAAI,EAAE;EAC5C,OAAOJ,qBAAqB,CAACG,IAAI,EAAEE,iBAAiB,EAAE,GAAGD,IAAI,CAAC;AAClE;AACA,MAAMG,KAAK,GAAG,CAAC,CAAC,EAAE,8CAA8C,EAAE,CAAC,CAAC;AACpE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,SAASC,IAAIA,CAACL,IAAI,EAAE,GAAGC,IAAI,EAAE;EAChC,OAAOJ,qBAAqB,CAACG,IAAI,EAAEI,KAAK,EAAE,GAAGH,IAAI,CAAC;AACtD;AACA,MAAMK,IAAI,GAAG,CAAC,CAAC,EAAE,kDAAkD,CAAC;AACpE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,SAASC,GAAGA,CAACP,IAAI,EAAE,GAAGC,IAAI,EAAE;EAC/B,OAAOJ,qBAAqB,CAACG,IAAI,EAAEM,IAAI,EAAE,GAAGL,IAAI,CAAC;AACrD;AACA,MAAMO,QAAQ,GAAG,CAAC,CAAC,EAAE,kDAAkD,EAAE,CAAC,CAAC;AAC3E;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,SAASC,OAAOA,CAACT,IAAI,EAAE,GAAGC,IAAI,EAAE;EACnC,OAAOJ,qBAAqB,CAACG,IAAI,EAAEQ,QAAQ,EAAE,GAAGP,IAAI,CAAC;AACzD;AACA,MAAMS,QAAQ,GAAG,CAAC,CAAC,EAAE,0DAA0D,CAAC;AAChF;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,SAASC,OAAOA,CAACX,IAAI,EAAE,GAAGC,IAAI,EAAE;EACnC,OAAOJ,qBAAqB,CAACG,IAAI,EAAEU,QAAQ,EAAE,GAAGT,IAAI,CAAC;AACzD","ignoreList":[]}
|
|
@@ -5,40 +5,34 @@ import type * as _Connectivity from "../_components.js";
|
|
|
5
5
|
/**
|
|
6
6
|
* Creates a new TableImport.
|
|
7
7
|
*
|
|
8
|
-
* @
|
|
8
|
+
* @public
|
|
9
9
|
*
|
|
10
10
|
* Required Scopes: [api:connectivity-table-import-write]
|
|
11
11
|
* URL: /v2/connectivity/connections/{connectionRid}/tableImports
|
|
12
12
|
*/
|
|
13
13
|
export declare function create($ctx: $Client | $ClientContext | $OldClient | $OldClientContext, ...args: [
|
|
14
14
|
connectionRid: _Connectivity.ConnectionRid,
|
|
15
|
-
$body: _Connectivity.CreateTableImportRequest
|
|
16
|
-
$queryParams?: {
|
|
17
|
-
preview?: _Core.PreviewMode | undefined;
|
|
18
|
-
}
|
|
15
|
+
$body: _Connectivity.CreateTableImportRequest
|
|
19
16
|
]): Promise<_Connectivity.TableImport>;
|
|
20
17
|
/**
|
|
21
18
|
* Delete the TableImport with the specified RID.
|
|
22
19
|
* Deleting the table import does not delete the destination dataset but the dataset will no longer
|
|
23
20
|
* be updated by this import.
|
|
24
21
|
*
|
|
25
|
-
* @
|
|
22
|
+
* @public
|
|
26
23
|
*
|
|
27
24
|
* Required Scopes: [api:connectivity-table-import-write]
|
|
28
25
|
* URL: /v2/connectivity/connections/{connectionRid}/tableImports/{tableImportRid}
|
|
29
26
|
*/
|
|
30
27
|
export declare function deleteTableImport($ctx: $Client | $ClientContext | $OldClient | $OldClientContext, ...args: [
|
|
31
28
|
connectionRid: _Connectivity.ConnectionRid,
|
|
32
|
-
tableImportRid: _Connectivity.TableImportRid
|
|
33
|
-
$queryParams?: {
|
|
34
|
-
preview?: _Core.PreviewMode | undefined;
|
|
35
|
-
}
|
|
29
|
+
tableImportRid: _Connectivity.TableImportRid
|
|
36
30
|
]): Promise<void>;
|
|
37
31
|
/**
|
|
38
32
|
* Lists all table imports defined for this connection.
|
|
39
33
|
* Only table imports that the user has permissions to view will be returned.
|
|
40
34
|
*
|
|
41
|
-
* @
|
|
35
|
+
* @public
|
|
42
36
|
*
|
|
43
37
|
* Required Scopes: [api:connectivity-table-import-read]
|
|
44
38
|
* URL: /v2/connectivity/connections/{connectionRid}/tableImports
|
|
@@ -48,28 +42,24 @@ export declare function list($ctx: $Client | $ClientContext | $OldClient | $OldC
|
|
|
48
42
|
$queryParams?: {
|
|
49
43
|
pageSize?: _Core.PageSize | undefined;
|
|
50
44
|
pageToken?: _Core.PageToken | undefined;
|
|
51
|
-
preview?: _Core.PreviewMode | undefined;
|
|
52
45
|
}
|
|
53
46
|
]): Promise<_Connectivity.ListTableImportsResponse>;
|
|
54
47
|
/**
|
|
55
48
|
* Get the TableImport with the specified rid.
|
|
56
49
|
*
|
|
57
|
-
* @
|
|
50
|
+
* @public
|
|
58
51
|
*
|
|
59
52
|
* Required Scopes: [api:connectivity-table-import-read]
|
|
60
53
|
* URL: /v2/connectivity/connections/{connectionRid}/tableImports/{tableImportRid}
|
|
61
54
|
*/
|
|
62
55
|
export declare function get($ctx: $Client | $ClientContext | $OldClient | $OldClientContext, ...args: [
|
|
63
56
|
connectionRid: _Connectivity.ConnectionRid,
|
|
64
|
-
tableImportRid: _Connectivity.TableImportRid
|
|
65
|
-
$queryParams?: {
|
|
66
|
-
preview?: _Core.PreviewMode | undefined;
|
|
67
|
-
}
|
|
57
|
+
tableImportRid: _Connectivity.TableImportRid
|
|
68
58
|
]): Promise<_Connectivity.TableImport>;
|
|
69
59
|
/**
|
|
70
60
|
* Replace the TableImport with the specified rid.
|
|
71
61
|
*
|
|
72
|
-
* @
|
|
62
|
+
* @public
|
|
73
63
|
*
|
|
74
64
|
* Required Scopes: [api:connectivity-table-import-write]
|
|
75
65
|
* URL: /v2/connectivity/connections/{connectionRid}/tableImports/{tableImportRid}
|
|
@@ -77,25 +67,19 @@ export declare function get($ctx: $Client | $ClientContext | $OldClient | $OldCl
|
|
|
77
67
|
export declare function replace($ctx: $Client | $ClientContext | $OldClient | $OldClientContext, ...args: [
|
|
78
68
|
connectionRid: _Connectivity.ConnectionRid,
|
|
79
69
|
tableImportRid: _Connectivity.TableImportRid,
|
|
80
|
-
$body: _Connectivity.ReplaceTableImportRequest
|
|
81
|
-
$queryParams?: {
|
|
82
|
-
preview?: _Core.PreviewMode | undefined;
|
|
83
|
-
}
|
|
70
|
+
$body: _Connectivity.ReplaceTableImportRequest
|
|
84
71
|
]): Promise<_Connectivity.TableImport>;
|
|
85
72
|
/**
|
|
86
73
|
* Executes the TableImport, which runs asynchronously as a [Foundry Build](https://www.palantir.com/docs/foundry/data-integration/builds/).
|
|
87
74
|
* The returned BuildRid can be used to check the status via the Orchestration API.
|
|
88
75
|
*
|
|
89
|
-
* @
|
|
76
|
+
* @public
|
|
90
77
|
*
|
|
91
78
|
* Required Scopes: [api:connectivity-table-import-execute]
|
|
92
79
|
* URL: /v2/connectivity/connections/{connectionRid}/tableImports/{tableImportRid}/execute
|
|
93
80
|
*/
|
|
94
81
|
export declare function execute($ctx: $Client | $ClientContext | $OldClient | $OldClientContext, ...args: [
|
|
95
82
|
connectionRid: _Connectivity.ConnectionRid,
|
|
96
|
-
tableImportRid: _Connectivity.TableImportRid
|
|
97
|
-
$queryParams?: {
|
|
98
|
-
preview?: _Core.PreviewMode | undefined;
|
|
99
|
-
}
|
|
83
|
+
tableImportRid: _Connectivity.TableImportRid
|
|
100
84
|
]): Promise<_Core.BuildRid>;
|
|
101
85
|
//# sourceMappingURL=TableImport.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TableImport.d.ts","sourceRoot":"","sources":["../../../src/public/TableImport.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,aAAa,MAAM,mBAAmB,CAAC;
|
|
1
|
+
{"version":3,"file":"TableImport.d.ts","sourceRoot":"","sources":["../../../src/public/TableImport.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,aAAa,MAAM,mBAAmB,CAAC;AAWxD;;;;;;;GAOG;AACH,wBAAgB,MAAM,CACpB,IAAI,EAAE,OAAO,GAAG,cAAc,GAAG,UAAU,GAAG,iBAAiB,EAC/D,GAAG,IAAI,EAAE;IACP,aAAa,EAAE,aAAa,CAAC,aAAa;IAC1C,KAAK,EAAE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