@osdk/foundry.connectivity 2.2.0 → 2.4.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.
Files changed (42) hide show
  1. package/CHANGELOG.md +26 -0
  2. package/build/browser/_components.d.ts +291 -5
  3. package/build/browser/_components.d.ts.map +1 -1
  4. package/build/browser/_errors.d.ts +228 -0
  5. package/build/browser/_errors.d.ts.map +1 -1
  6. package/build/browser/index.d.ts +4 -2
  7. package/build/browser/index.d.ts.map +1 -1
  8. package/build/browser/index.js +2 -0
  9. package/build/browser/index.js.map +1 -1
  10. package/build/browser/public/Connection.d.ts +35 -0
  11. package/build/browser/public/Connection.d.ts.map +1 -0
  12. package/build/browser/public/Connection.js +43 -0
  13. package/build/browser/public/Connection.js.map +1 -0
  14. package/build/browser/public/FileImport.d.ts +38 -3
  15. package/build/browser/public/FileImport.d.ts.map +1 -1
  16. package/build/browser/public/FileImport.js +31 -6
  17. package/build/browser/public/FileImport.js.map +1 -1
  18. package/build/browser/public/TableImport.d.ts +20 -0
  19. package/build/browser/public/TableImport.d.ts.map +1 -0
  20. package/build/browser/public/TableImport.js +30 -0
  21. package/build/browser/public/TableImport.js.map +1 -0
  22. package/build/esm/_components.d.ts +291 -5
  23. package/build/esm/_components.d.ts.map +1 -1
  24. package/build/esm/_errors.d.ts +228 -0
  25. package/build/esm/_errors.d.ts.map +1 -1
  26. package/build/esm/index.d.ts +4 -2
  27. package/build/esm/index.d.ts.map +1 -1
  28. package/build/esm/index.js +2 -0
  29. package/build/esm/index.js.map +1 -1
  30. package/build/esm/public/Connection.d.ts +35 -0
  31. package/build/esm/public/Connection.d.ts.map +1 -0
  32. package/build/esm/public/Connection.js +43 -0
  33. package/build/esm/public/Connection.js.map +1 -0
  34. package/build/esm/public/FileImport.d.ts +38 -3
  35. package/build/esm/public/FileImport.d.ts.map +1 -1
  36. package/build/esm/public/FileImport.js +31 -6
  37. package/build/esm/public/FileImport.js.map +1 -1
  38. package/build/esm/public/TableImport.d.ts +20 -0
  39. package/build/esm/public/TableImport.d.ts.map +1 -0
  40. package/build/esm/public/TableImport.js +30 -0
  41. package/build/esm/public/TableImport.js.map +1 -0
  42. package/package.json +5 -5
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Connection.d.ts","sourceRoot":"","sources":["../../../src/public/Connection.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,GAAG,CACjB,IAAI,EAAE,OAAO,GAAG,cAAc,GAAG,UAAU,GAAG,iBAAiB,EAC/D,GAAG,IAAI,EAAE;IACP,aAAa,EAAE,aAAa,CAAC,aAAa;IAE1C,YAAY,CAAC,EAAE;QAAE,OAAO,CAAC,EAAE,KAAK,CAAC,WAAW,GAAG,SAAS,CAAA;KAAE;CAC3D,GACA,OAAO,CAAC,aAAa,CAAC,UAAU,CAAC,CAEnC;AAUD;;;;;;;;GAQG;AACH,wBAAgB,aAAa,CAC3B,IAAI,EAAE,OAAO,GAAG,cAAc,GAAG,UAAU,GAAG,iBAAiB,EAC/D,GAAG,IAAI,EAAE;IACP,aAAa,EAAE,aAAa,CAAC,aAAa;IAC1C,KAAK,EAAE,aAAa,CAAC,8BAA8B;IACnD,YAAY,CAAC,EAAE;QAAE,OAAO,CAAC,EAAE,KAAK,CAAC,WAAW,GAAG,SAAS,CAAA;KAAE;CAC3D,GACA,OAAO,CAAC,IAAI,CAAC,CAEf"}
@@ -0,0 +1,43 @@
1
+ /*
2
+ * Copyright 2024 Palantir Technologies, Inc. All rights reserved.
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
15
+ */
16
+ import { foundryPlatformFetch as $foundryPlatformFetch } from "@osdk/shared.net.platformapi";
17
+ //
18
+ const _get = [0, "/v2/connectivity/connections/{0}", 2];
19
+ /**
20
+ * Get the Connection with the specified rid.
21
+ *
22
+ * @alpha
23
+ *
24
+ * Required Scopes: [api:connectivity-connection-read]
25
+ * URL: /v2/connectivity/connections/{connectionRid}
26
+ */
27
+ export function get($ctx, ...args) {
28
+ return $foundryPlatformFetch($ctx, _get, ...args);
29
+ }
30
+ const _updateSecrets = [1, "/v2/connectivity/connections/{0}/updateSecrets", 3];
31
+ /**
32
+ * Updates the secrets on the connection to the specified secret values.
33
+ * Secrets that are currently configured on the connection but are omitted in the request will remain unchanged.
34
+ *
35
+ * @alpha
36
+ *
37
+ * Required Scopes: [api:connectivity-connection-write]
38
+ * URL: /v2/connectivity/connections/{connectionRid}/updateSecrets
39
+ */
40
+ export function updateSecrets($ctx, ...args) {
41
+ return $foundryPlatformFetch($ctx, _updateSecrets, ...args);
42
+ }
43
+ //# sourceMappingURL=Connection.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Connection.js","names":["foundryPlatformFetch","$foundryPlatformFetch","_get","get","$ctx","args","_updateSecrets","updateSecrets"],"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 _get = [0, \"/v2/connectivity/connections/{0}\", 2];\n/**\n * Get the Connection with the specified rid.\n *\n * @alpha\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 _updateSecrets = [1, \"/v2/connectivity/connections/{0}/updateSecrets\", 3];\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 * @alpha\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}\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,kCAAkC,EAAE,CAAC,CAAC;AACvD;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,cAAc,GAAG,CAAC,CAAC,EAAE,gDAAgD,EAAE,CAAC,CAAC;AAC/E;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,SAASC,aAAaA,CAACH,IAAI,EAAE,GAAGC,IAAI,EAAE;EACzC,OAAOJ,qBAAqB,CAACG,IAAI,EAAEE,cAAc,EAAE,GAAGD,IAAI,CAAC;AAC/D","ignoreList":[]}
@@ -3,6 +3,21 @@ import type * as _Orchestration from "@osdk/foundry.orchestration";
3
3
  import type { SharedClient as $OldClient, SharedClientContext as $OldClientContext } from "@osdk/shared.client";
4
4
  import type { SharedClient as $Client, SharedClientContext as $ClientContext } from "@osdk/shared.client2";
5
5
  import type * as _Connectivity from "../_components.js";
6
+ /**
7
+ * Creates a new FileImport.
8
+ *
9
+ * @alpha
10
+ *
11
+ * Required Scopes: [api:connectivity-file-import-write]
12
+ * URL: /v2/connectivity/connections/{connectionRid}/fileImports
13
+ */
14
+ export declare function create($ctx: $Client | $ClientContext | $OldClient | $OldClientContext, ...args: [
15
+ connectionRid: _Connectivity.ConnectionRid,
16
+ $body: _Connectivity.CreateFileImportRequest,
17
+ $queryParams?: {
18
+ preview?: _Core.PreviewMode | undefined;
19
+ }
20
+ ]): Promise<_Connectivity.FileImport>;
6
21
  /**
7
22
  * Delete the FileImport with the specified RID.
8
23
  * Deleting the file import does not delete the destination dataset but the dataset will no longer
@@ -11,23 +26,42 @@ import type * as _Connectivity from "../_components.js";
11
26
  * @alpha
12
27
  *
13
28
  * Required Scopes: [api:connectivity-file-import-write]
14
- * URL: /v2/connectivity/fileImports/{fileImportRid}
29
+ * URL: /v2/connectivity/connections/{connectionRid}/fileImports/{fileImportRid}
15
30
  */
16
31
  export declare function deleteFileImport($ctx: $Client | $ClientContext | $OldClient | $OldClientContext, ...args: [
32
+ connectionRid: _Connectivity.ConnectionRid,
17
33
  fileImportRid: _Connectivity.FileImportRid,
18
34
  $queryParams?: {
19
35
  preview?: _Core.PreviewMode | undefined;
20
36
  }
21
37
  ]): Promise<void>;
38
+ /**
39
+ * Lists all file imports defined for this connection.
40
+ * Only file imports that the user has permissions to view will be returned.
41
+ *
42
+ * @alpha
43
+ *
44
+ * Required Scopes: [api:connectivity-file-import-read]
45
+ * URL: /v2/connectivity/connections/{connectionRid}/fileImports
46
+ */
47
+ export declare function list($ctx: $Client | $ClientContext | $OldClient | $OldClientContext, ...args: [
48
+ connectionRid: _Connectivity.ConnectionRid,
49
+ $queryParams?: {
50
+ pageSize?: _Core.PageSize | undefined;
51
+ pageToken?: _Core.PageToken | undefined;
52
+ preview?: _Core.PreviewMode | undefined;
53
+ }
54
+ ]): Promise<_Connectivity.ListFileImportsResponse>;
22
55
  /**
23
56
  * Get the FileImport with the specified rid.
24
57
  *
25
58
  * @alpha
26
59
  *
27
60
  * Required Scopes: [api:connectivity-file-import-read]
28
- * URL: /v2/connectivity/fileImports/{fileImportRid}
61
+ * URL: /v2/connectivity/connections/{connectionRid}/fileImports/{fileImportRid}
29
62
  */
30
63
  export declare function get($ctx: $Client | $ClientContext | $OldClient | $OldClientContext, ...args: [
64
+ connectionRid: _Connectivity.ConnectionRid,
31
65
  fileImportRid: _Connectivity.FileImportRid,
32
66
  $queryParams?: {
33
67
  preview?: _Core.PreviewMode | undefined;
@@ -40,9 +74,10 @@ export declare function get($ctx: $Client | $ClientContext | $OldClient | $OldCl
40
74
  * @alpha
41
75
  *
42
76
  * Required Scopes: [api:connectivity-file-import-execute]
43
- * URL: /v2/connectivity/fileImports/{fileImportRid}/execute
77
+ * URL: /v2/connectivity/connections/{connectionRid}/fileImports/{fileImportRid}/execute
44
78
  */
45
79
  export declare function execute($ctx: $Client | $ClientContext | $OldClient | $OldClientContext, ...args: [
80
+ connectionRid: _Connectivity.ConnectionRid,
46
81
  fileImportRid: _Connectivity.FileImportRid,
47
82
  $queryParams?: {
48
83
  preview?: _Core.PreviewMode | undefined;
@@ -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,KAAK,cAAc,MAAM,6BAA6B,CAAC;AACnE,OAAO,KAAK,EACV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AK,CAAC,QAAQ,GAAG,SAAS,CAAC;QACtC,SAAS,CAAC,EAAE,KAAK,CAAC,SAAS,GAAG,SAAS,CAAC;QACxC,OAAO,CAAC,EAAE,KAAK,CAAC,WAAW,GAAG,SAAS,CAAC;KACzC;CACF,GACA,OAAO,CAAC,aAAa,CAAC,uBAAuB,CAAC,CAEhD;AAUD;;;;;;;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;IAE1C,YAAY,CAAC,EAAE;QAAE,OAAO,CAAC,EAAE,KAAK,CAAC,WAAW,GAAG,SAAS,CAAA;KAAE;CAC3D,GACA,OAAO,CAAC,aAAa,CAAC,UAAU,CAAC,CAEnC;AAUD;;;;;;;;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;IAE1C,YAAY,CAAC,EAAE;QAAE,OAAO,CAAC,EAAE,KAAK,CAAC,WAAW,GAAG,SAAS,CAAA;KAAE;CAC3D,GACA,OAAO,CAAC,cAAc,CAAC,QAAQ,CAAC,CAElC"}
@@ -15,7 +15,19 @@
15
15
  */
16
16
  import { foundryPlatformFetch as $foundryPlatformFetch } from "@osdk/shared.net.platformapi";
17
17
  //
18
- const _deleteFileImport = [3, "/v2/connectivity/fileImports/{0}", 2];
18
+ const _create = [1, "/v2/connectivity/connections/{0}/fileImports", 3];
19
+ /**
20
+ * Creates a new FileImport.
21
+ *
22
+ * @alpha
23
+ *
24
+ * Required Scopes: [api:connectivity-file-import-write]
25
+ * URL: /v2/connectivity/connections/{connectionRid}/fileImports
26
+ */
27
+ export function create($ctx, ...args) {
28
+ return $foundryPlatformFetch($ctx, _create, ...args);
29
+ }
30
+ const _deleteFileImport = [3, "/v2/connectivity/connections/{0}/fileImports/{1}", 2];
19
31
  /**
20
32
  * Delete the FileImport with the specified RID.
21
33
  * Deleting the file import does not delete the destination dataset but the dataset will no longer
@@ -24,24 +36,37 @@ const _deleteFileImport = [3, "/v2/connectivity/fileImports/{0}", 2];
24
36
  * @alpha
25
37
  *
26
38
  * Required Scopes: [api:connectivity-file-import-write]
27
- * URL: /v2/connectivity/fileImports/{fileImportRid}
39
+ * URL: /v2/connectivity/connections/{connectionRid}/fileImports/{fileImportRid}
28
40
  */
29
41
  export function deleteFileImport($ctx, ...args) {
30
42
  return $foundryPlatformFetch($ctx, _deleteFileImport, ...args);
31
43
  }
32
- const _get = [0, "/v2/connectivity/fileImports/{0}", 2];
44
+ const _list = [0, "/v2/connectivity/connections/{0}/fileImports", 2];
45
+ /**
46
+ * Lists all file imports defined for this connection.
47
+ * Only file imports that the user has permissions to view will be returned.
48
+ *
49
+ * @alpha
50
+ *
51
+ * Required Scopes: [api:connectivity-file-import-read]
52
+ * URL: /v2/connectivity/connections/{connectionRid}/fileImports
53
+ */
54
+ export function list($ctx, ...args) {
55
+ return $foundryPlatformFetch($ctx, _list, ...args);
56
+ }
57
+ const _get = [0, "/v2/connectivity/connections/{0}/fileImports/{1}", 2];
33
58
  /**
34
59
  * Get the FileImport with the specified rid.
35
60
  *
36
61
  * @alpha
37
62
  *
38
63
  * Required Scopes: [api:connectivity-file-import-read]
39
- * URL: /v2/connectivity/fileImports/{fileImportRid}
64
+ * URL: /v2/connectivity/connections/{connectionRid}/fileImports/{fileImportRid}
40
65
  */
41
66
  export function get($ctx, ...args) {
42
67
  return $foundryPlatformFetch($ctx, _get, ...args);
43
68
  }
44
- const _execute = [1, "/v2/connectivity/fileImports/{0}/execute", 2];
69
+ const _execute = [1, "/v2/connectivity/connections/{0}/fileImports/{1}/execute", 2];
45
70
  /**
46
71
  * Executes the FileImport, which runs asynchronously as a [Foundry Build](https://www.palantir.com/docs/foundry/data-integration/builds/).
47
72
  * The returned BuildRid can be used to check the status via the Orchestration API.
@@ -49,7 +74,7 @@ const _execute = [1, "/v2/connectivity/fileImports/{0}/execute", 2];
49
74
  * @alpha
50
75
  *
51
76
  * Required Scopes: [api:connectivity-file-import-execute]
52
- * URL: /v2/connectivity/fileImports/{fileImportRid}/execute
77
+ * URL: /v2/connectivity/connections/{connectionRid}/fileImports/{fileImportRid}/execute
53
78
  */
54
79
  export function execute($ctx, ...args) {
55
80
  return $foundryPlatformFetch($ctx, _execute, ...args);
@@ -1 +1 @@
1
- {"version":3,"file":"FileImport.js","names":["foundryPlatformFetch","$foundryPlatformFetch","_deleteFileImport","deleteFileImport","$ctx","args","_get","get","_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 _deleteFileImport = [3, \"/v2/connectivity/fileImports/{0}\", 2];\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 * @alpha\n *\n * Required Scopes: [api:connectivity-file-import-write]\n * URL: /v2/connectivity/fileImports/{fileImportRid}\n */\nexport function deleteFileImport($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _deleteFileImport, ...args);\n}\nconst _get = [0, \"/v2/connectivity/fileImports/{0}\", 2];\n/**\n * Get the FileImport with the specified rid.\n *\n * @alpha\n *\n * Required Scopes: [api:connectivity-file-import-read]\n * URL: /v2/connectivity/fileImports/{fileImportRid}\n */\nexport function get($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _get, ...args);\n}\nconst _execute = [1, \"/v2/connectivity/fileImports/{0}/execute\", 2];\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 * @alpha\n *\n * Required Scopes: [api:connectivity-file-import-execute]\n * URL: /v2/connectivity/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,iBAAiB,GAAG,CAAC,CAAC,EAAE,kCAAkC,EAAE,CAAC,CAAC;AACpE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,SAASC,gBAAgBA,CAACC,IAAI,EAAE,GAAGC,IAAI,EAAE;EAC5C,OAAOJ,qBAAqB,CAACG,IAAI,EAAEF,iBAAiB,EAAE,GAAGG,IAAI,CAAC;AAClE;AACA,MAAMC,IAAI,GAAG,CAAC,CAAC,EAAE,kCAAkC,EAAE,CAAC,CAAC;AACvD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,SAASC,GAAGA,CAACH,IAAI,EAAE,GAAGC,IAAI,EAAE;EAC/B,OAAOJ,qBAAqB,CAACG,IAAI,EAAEE,IAAI,EAAE,GAAGD,IAAI,CAAC;AACrD;AACA,MAAMG,QAAQ,GAAG,CAAC,CAAC,EAAE,0CAA0C,EAAE,CAAC,CAAC;AACnE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,SAASC,OAAOA,CAACL,IAAI,EAAE,GAAGC,IAAI,EAAE;EACnC,OAAOJ,qBAAqB,CAACG,IAAI,EAAEI,QAAQ,EAAE,GAAGH,IAAI,CAAC;AACzD","ignoreList":[]}
1
+ {"version":3,"file":"FileImport.js","names":["foundryPlatformFetch","$foundryPlatformFetch","_create","create","$ctx","args","_deleteFileImport","deleteFileImport","_list","list","_get","get","_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\", 3];\n/**\n * Creates a new FileImport.\n *\n * @alpha\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}\", 2];\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 * @alpha\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 * @alpha\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}\", 2];\n/**\n * Get the FileImport with the specified rid.\n *\n * @alpha\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 _execute = [1, \"/v2/connectivity/connections/{0}/fileImports/{1}/execute\", 2];\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 * @alpha\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,EAAE,CAAC,CAAC;AACpF;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,EAAE,CAAC,CAAC;AACvE;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,0DAA0D,EAAE,CAAC,CAAC;AACnF;AACA;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","ignoreList":[]}
@@ -0,0 +1,20 @@
1
+ import type * as _Core from "@osdk/foundry.core";
2
+ import type { SharedClient as $OldClient, SharedClientContext as $OldClientContext } from "@osdk/shared.client";
3
+ import type { SharedClient as $Client, SharedClientContext as $ClientContext } from "@osdk/shared.client2";
4
+ import type * as _Connectivity from "../_components.js";
5
+ /**
6
+ * Get the TableImport with the specified rid.
7
+ *
8
+ * @alpha
9
+ *
10
+ * Required Scopes: []
11
+ * URL: /v2/connectivity/connections/{connectionRid}/tableImports/{tableImportRid}
12
+ */
13
+ export declare function get($ctx: $Client | $ClientContext | $OldClient | $OldClientContext, ...args: [
14
+ connectionRid: _Connectivity.ConnectionRid,
15
+ tableImportRid: _Connectivity.TableImportRid,
16
+ $queryParams?: {
17
+ preview?: _Core.PreviewMode | undefined;
18
+ }
19
+ ]): Promise<_Connectivity.TableImport>;
20
+ //# sourceMappingURL=TableImport.d.ts.map
@@ -0,0 +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;AAYxD;;;;;;;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,cAAc,EAAE,aAAa,CAAC,cAAc;IAE5C,YAAY,CAAC,EAAE;QAAE,OAAO,CAAC,EAAE,KAAK,CAAC,WAAW,GAAG,SAAS,CAAA;KAAE;CAC3D,GACA,OAAO,CAAC,aAAa,CAAC,WAAW,CAAC,CAEpC"}
@@ -0,0 +1,30 @@
1
+ /*
2
+ * Copyright 2024 Palantir Technologies, Inc. All rights reserved.
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
15
+ */
16
+ import { foundryPlatformFetch as $foundryPlatformFetch } from "@osdk/shared.net.platformapi";
17
+ //
18
+ const _get = [0, "/v2/connectivity/connections/{0}/tableImports/{1}", 2];
19
+ /**
20
+ * Get the TableImport with the specified rid.
21
+ *
22
+ * @alpha
23
+ *
24
+ * Required Scopes: []
25
+ * URL: /v2/connectivity/connections/{connectionRid}/tableImports/{tableImportRid}
26
+ */
27
+ export function get($ctx, ...args) {
28
+ return $foundryPlatformFetch($ctx, _get, ...args);
29
+ }
30
+ //# sourceMappingURL=TableImport.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"TableImport.js","names":["foundryPlatformFetch","$foundryPlatformFetch","_get","get","$ctx","args"],"sources":["TableImport.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/connectivity/connections/{0}/tableImports/{1}\", 2];\n/**\n * Get the TableImport with the specified rid.\n *\n * @alpha\n *\n * Required Scopes: []\n * URL: /v2/connectivity/connections/{connectionRid}/tableImports/{tableImportRid}\n */\nexport function get($ctx, ...args) {\n return $foundryPlatformFetch($ctx, _get, ...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,mDAAmD,EAAE,CAAC,CAAC;AACxE;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","ignoreList":[]}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@osdk/foundry.connectivity",
3
- "version": "2.2.0",
3
+ "version": "2.4.0",
4
4
  "license": "Apache-2.0",
5
5
  "repository": {
6
6
  "type": "git",
@@ -20,9 +20,9 @@
20
20
  "@osdk/shared.client": "^1.0.1",
21
21
  "@osdk/shared.client2": "^1.0.0",
22
22
  "@osdk/shared.net.platformapi": "~0.3.2",
23
- "@osdk/foundry.core": "2.2.0",
24
- "@osdk/foundry.datasets": "2.2.0",
25
- "@osdk/foundry.orchestration": "2.2.0"
23
+ "@osdk/foundry.core": "2.4.0",
24
+ "@osdk/foundry.orchestration": "2.4.0",
25
+ "@osdk/foundry.datasets": "2.4.0"
26
26
  },
27
27
  "devDependencies": {
28
28
  "typescript": "^5.5.4",
@@ -47,7 +47,7 @@
47
47
  "sls": {
48
48
  "dependencies": {
49
49
  "com.palantir.foundry.api:api-gateway": {
50
- "minVersion": "1.950.0",
50
+ "minVersion": "1.986.0",
51
51
  "maxVersion": "1.x.x",
52
52
  "optional": true
53
53
  }