@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
@@ -3,12 +3,149 @@ import type * as _Datasets from "@osdk/foundry.datasets";
3
3
  export type LooselyBrandedString<T extends string> = string & {
4
4
  __LOOSE_BRAND?: T;
5
5
  };
6
+ /**
7
+ * The agent proxy runtime is used to connect
8
+ to data sources not accessible over the Internet. The agent acts as an inverting network proxy, forwarding
9
+ network traffic originating in Foundry into the network where the agent is deployed, and relaying traffic
10
+ back to Foundry. This allows capabilities in Foundry to work almost exactly the same as when using a
11
+ direct connection but without requiring you to allow inbound network traffic to your systems originating
12
+ from Foundry's IP addresses.
13
+ *
14
+ * Log Safety: UNSAFE
15
+ */
16
+ export interface AgentProxyRuntime {
17
+ agentRids: Array<AgentRid>;
18
+ }
19
+ /**
20
+ * The Resource Identifier (RID) of an Agent.
21
+ *
22
+ * Log Safety: UNSAFE
23
+ */
24
+ export type AgentRid = LooselyBrandedString<"AgentRid">;
25
+ /**
26
+ * The agent worker runtime is used to
27
+ connect to data sources not accessible over the Internet. An agent worker should only be used when the desired
28
+ connector does not support the agent proxy runtime. Agent worker runtimes are associated with a single or
29
+ multiple agents that store the source configuration and credentials locally in an encrypted format,
30
+ and run source capabilities on the agent itself.
31
+ *
32
+ * Log Safety: UNSAFE
33
+ */
34
+ export interface AgentWorkerRuntime {
35
+ agentRids: Array<AgentRid>;
36
+ }
37
+ /**
38
+ * Log Safety: DO_NOT_LOG
39
+ */
40
+ export interface AsPlaintextValue {
41
+ value: PlaintextValue;
42
+ }
43
+ /**
44
+ * Log Safety: UNSAFE
45
+ */
46
+ export interface AsSecretName {
47
+ value: SecretName;
48
+ }
49
+ /**
50
+ * Access keys are long-term
51
+ credentials for an IAM user or the AWS account root user.
52
+ Access keys consist of two parts: an access key ID (for example, AKIAIOSFODNN7EXAMPLE) and a secret access
53
+ key (for example, wJalrXUtnFEMI/K7MDENG/bPxRfiCYEXAMPLEKEY). You must use both the access key ID and
54
+ secret access key together to authenticate your requests.
55
+ *
56
+ * Log Safety: UNSAFE
57
+ */
58
+ export interface AwsAccessKey {
59
+ accessKeyId: string;
60
+ secretAccessKey: EncryptedProperty;
61
+ }
62
+ /**
63
+ * Log Safety: UNSAFE
64
+ */
65
+ export interface Connection {
66
+ rid: ConnectionRid;
67
+ displayName: ConnectionDisplayName;
68
+ runtimePlatform: RuntimePlatform;
69
+ configuration: ConnectionConfiguration;
70
+ }
71
+ /**
72
+ * Log Safety: UNSAFE
73
+ */
74
+ export type ConnectionConfiguration = {
75
+ type: "s3";
76
+ } & S3ConnectionConfiguration;
77
+ /**
78
+ * Log Safety: UNSAFE
79
+ */
80
+ export type ConnectionDisplayName = LooselyBrandedString<"ConnectionDisplayName">;
6
81
  /**
7
82
  * The Resource Identifier (RID) of a Connection (formerly known as a source).
8
83
  *
9
84
  * Log Safety: SAFE
10
85
  */
11
86
  export type ConnectionRid = LooselyBrandedString<"ConnectionRid">;
87
+ /**
88
+ * Log Safety: UNSAFE
89
+ */
90
+ export interface CreateFileImportRequest {
91
+ datasetRid: _Datasets.DatasetRid;
92
+ importMode: FileImportMode;
93
+ displayName: FileImportDisplayName;
94
+ branchName?: _Datasets.BranchName;
95
+ subfolder?: string;
96
+ fileImportFilters: Array<FileImportFilter>;
97
+ }
98
+ /**
99
+ * Direct connections enable users to connect
100
+ to data sources accessible over the Internet without needing to set up an agent. If your Foundry stack is
101
+ hosted on-premises, you can also connect to data sources within your on-premises network.
102
+ This is the preferred source connection method if the data source is accessible over the Internet.
103
+ *
104
+ * Log Safety: SAFE
105
+ */
106
+ export interface DirectConnectionRuntime {
107
+ networkEgressPolicyRids: Array<NetworkEgressPolicyRid>;
108
+ }
109
+ /**
110
+ * When reading an encrypted property, the secret name representing the encrypted value will be returned.
111
+ When writing to an encrypted property:
112
+
113
+ If a plaintext value is passed as an input, the plaintext value will be encrypted and saved to the property.
114
+ If a secret name is passed as an input, the secret name must match the existing secret name of the property
115
+ and the property will retain its previously encrypted value.
116
+ *
117
+ * Log Safety: UNSAFE
118
+ */
119
+ export type EncryptedProperty = ({
120
+ type: "asSecretName";
121
+ } & AsSecretName) | ({
122
+ type: "asPlaintextValue";
123
+ } & AsPlaintextValue);
124
+ /**
125
+ * If any file has a relative path matching the regular expression, sync all files in the subfolder that are not otherwise filtered.
126
+ *
127
+ * Log Safety: UNSAFE
128
+ */
129
+ export interface FileAnyPathMatchesFilter {
130
+ regex: string;
131
+ }
132
+ /**
133
+ * Import all filtered files only if there are at least the specified number of files remaining.
134
+ *
135
+ * Log Safety: SAFE
136
+ */
137
+ export interface FileAtLeastCountFilter {
138
+ minFilesCount: number;
139
+ }
140
+ /**
141
+ * Only import files that have changed or been added since the last import run. Whether or not a file is considered to be changed is determined by the specified file properties.
142
+ This will exclude files uploaded in any previous imports, regardless of the file import mode used. A SNAPSHOT file import mode does not reset the filter.
143
+ *
144
+ * Log Safety: SAFE
145
+ */
146
+ export interface FileChangedSinceLastUploadFilter {
147
+ fileProperties: Array<FileProperty>;
148
+ }
12
149
  /**
13
150
  * Log Safety: UNSAFE
14
151
  */
@@ -42,12 +179,22 @@ before they are imported into Foundry.
42
179
  * Log Safety: UNSAFE
43
180
  */
44
181
  export type FileImportFilter = ({
182
+ type: "pathNotMatchesFilter";
183
+ } & FilePathNotMatchesFilter) | ({
184
+ type: "anyPathMatchesFilter";
185
+ } & FileAnyPathMatchesFilter) | ({
186
+ type: "filesCountLimitFilter";
187
+ } & FilesCountLimitFilter) | ({
188
+ type: "changedSinceLastUploadFilter";
189
+ } & FileChangedSinceLastUploadFilter) | ({
45
190
  type: "customFilter";
46
191
  } & FileImportCustomFilter) | ({
47
192
  type: "lastModifiedAfterFilter";
48
193
  } & FileLastModifiedAfterFilter) | ({
49
194
  type: "pathMatchesFilter";
50
195
  } & FilePathMatchesFilter) | ({
196
+ type: "atLeastCountFilter";
197
+ } & FileAtLeastCountFilter) | ({
51
198
  type: "fileSizeFilter";
52
199
  } & FileSizeFilter);
53
200
  /**
@@ -90,16 +237,155 @@ With the relative/subfolder/include-.*.txt regex, only relative/subfolder/includ
90
237
  export interface FilePathMatchesFilter {
91
238
  regex: string;
92
239
  }
240
+ /**
241
+ * Only import files whose path (relative to the root of the source) does not match the regular expression.
242
+ Example
243
+ Suppose we are importing files from relative/subfolder.
244
+ relative/subfolder contains:
245
+
246
+ relative/subfolder/include-file.txt
247
+ relative/subfolder/exclude-file.txt
248
+ relative/subfolder/other-file.txt
249
+
250
+ With the relative/subfolder/exclude-.*.txt regex, both relative/subfolder/include-file.txt and relative/subfolder/other-file.txt will be imported,
251
+ and relative/subfolder/exclude-file.txt will be excluded from the import.
252
+ *
253
+ * Log Safety: UNSAFE
254
+ */
255
+ export interface FilePathNotMatchesFilter {
256
+ regex: string;
257
+ }
258
+ /**
259
+ * Log Safety: SAFE
260
+ */
261
+ export type FileProperty = "LAST_MODIFIED" | "SIZE";
93
262
  /**
94
263
  * Only import files whose size is between the specified minimum and maximum values.
95
- At least one of greaterThan or lessThan should be present.
96
- If both are present, the value specified for greaterThan must be strictly less than the value specified for
97
- lessThan.
264
+ At least one of gt or lt should be present.
265
+ If both are present, the value specified for gt must be strictly less than lt - 1.
98
266
  *
99
267
  * Log Safety: SAFE
100
268
  */
101
269
  export interface FileSizeFilter {
102
- greaterThan?: _Core.SizeBytes;
103
- lessThan?: _Core.SizeBytes;
270
+ gt?: _Core.SizeBytes;
271
+ lt?: _Core.SizeBytes;
272
+ }
273
+ /**
274
+ * Only retain filesCount number of files in each transaction.
275
+ The choice of files to retain is made without any guarantee of order.
276
+ This option can increase the reliability of incremental syncs.
277
+ *
278
+ * Log Safety: SAFE
279
+ */
280
+ export interface FilesCountLimitFilter {
281
+ filesCount: number;
282
+ }
283
+ /**
284
+ * Log Safety: UNSAFE
285
+ */
286
+ export interface ListFileImportsResponse {
287
+ data: Array<FileImport>;
288
+ nextPageToken?: _Core.PageToken;
289
+ }
290
+ /**
291
+ * The import configuration for a Microsoft Access connection.
292
+ *
293
+ * Log Safety: UNSAFE
294
+ */
295
+ export type MicrosoftAccessImportConfig = PalantirProvidedDriversImportConfig;
296
+ /**
297
+ * The Resource Identifier (RID) of a Network Egress Policy.
298
+ *
299
+ * Log Safety: SAFE
300
+ */
301
+ export type NetworkEgressPolicyRid = LooselyBrandedString<"NetworkEgressPolicyRid">;
302
+ /**
303
+ * The configuration for all connectors that are Palantir-provided drivers.
304
+ *
305
+ * Log Safety: UNSAFE
306
+ */
307
+ export interface PalantirProvidedDriversImportConfig {
308
+ query: string;
309
+ }
310
+ /**
311
+ * Log Safety: DO_NOT_LOG
312
+ */
313
+ export type PlaintextValue = LooselyBrandedString<"PlaintextValue">;
314
+ /**
315
+ * The runtime of a Connection, which defines the
316
+ networking configuration and where capabilities are executed.
317
+ *
318
+ * Log Safety: UNSAFE
319
+ */
320
+ export type RuntimePlatform = ({
321
+ type: "directConnectionRuntime";
322
+ } & DirectConnectionRuntime) | ({
323
+ type: "agentProxyRuntime";
324
+ } & AgentProxyRuntime) | ({
325
+ type: "agentWorkerRuntime";
326
+ } & AgentWorkerRuntime);
327
+ /**
328
+ * Log Safety: UNSAFE
329
+ */
330
+ export type S3AuthenticationMode = {
331
+ type: "awsAccessKey";
332
+ } & AwsAccessKey;
333
+ /**
334
+ * The configuration needed to connect to an AWS S3 external system (or any other S3-like external systems that
335
+ implement the s3a protocol).
336
+ *
337
+ * Log Safety: UNSAFE
338
+ */
339
+ export interface S3ConnectionConfiguration {
340
+ bucketUrl: string;
341
+ authenticationMode?: S3AuthenticationMode;
342
+ }
343
+ /**
344
+ * Log Safety: UNSAFE
345
+ */
346
+ export type SecretName = LooselyBrandedString<"SecretName">;
347
+ /**
348
+ * Log Safety: UNSAFE
349
+ */
350
+ export interface TableImport {
351
+ rid: TableImportRid;
352
+ connectionRid: ConnectionRid;
353
+ datasetRid: _Datasets.DatasetRid;
354
+ branchName?: _Datasets.BranchName;
355
+ displayName: TableImportDisplayName;
356
+ importMode: TableImportMode;
357
+ config: TableImportConfig;
358
+ }
359
+ /**
360
+ * The import configuration for a specific connector type.
361
+ *
362
+ * Log Safety: UNSAFE
363
+ */
364
+ export type TableImportConfig = {
365
+ type: "microsoftAccessImportConfig";
366
+ } & MicrosoftAccessImportConfig;
367
+ /**
368
+ * Log Safety: UNSAFE
369
+ */
370
+ export type TableImportDisplayName = LooselyBrandedString<"TableImportDisplayName">;
371
+ /**
372
+ * Import mode governs how data is read from an external system, and written into a Foundry dataset.
373
+ SNAPSHOT: Defines a new dataset state consisting only of data from a particular import execution.
374
+ APPEND: Purely additive and yields data from previous import executions in addition to newly added data.
375
+ *
376
+ * Log Safety: SAFE
377
+ */
378
+ export type TableImportMode = "SNAPSHOT" | "APPEND";
379
+ /**
380
+ * The Resource Identifier (RID) of a TableImport (formerly known as a batch sync).
381
+ *
382
+ * Log Safety: SAFE
383
+ */
384
+ export type TableImportRid = LooselyBrandedString<"TableImportRid">;
385
+ /**
386
+ * Log Safety: DO_NOT_LOG
387
+ */
388
+ export interface UpdateSecretsConnectionRequest {
389
+ secrets: Record<SecretName, PlaintextValue>;
104
390
  }
105
391
  //# sourceMappingURL=_components.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"_components.d.ts","sourceRoot":"","sources":["../../src/_components.ts"],"names":[],"mappings":"AAgBA,OAAO,KAAK,KAAK,KAAK,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,KAAK,SAAS,MAAM,wBAAwB,CAAC;AAEzD,MAAM,MAAM,oBAAoB,CAAC,CAAC,SAAS,MAAM,IAAI,MAAM,GAAG;IAC5D,aAAa,CAAC,EAAE,CAAC,CAAC;CACnB,CAAC;AAEF;;;;GAIG;AACH,MAAM,MAAM,aAAa,GAAG,oBAAoB,CAAC,eAAe,CAAC,CAAC;AAElE;;GAEG;AACH,MAAM,WAAW,UAAU;IACzB,GAAG,EAAE,aAAa,CAAC;IACnB,aAAa,EAAE,aAAa,CA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oB,CAAC,YAAY,CAAC,CAAC;AAE5D;;GAEG;AACH,MAAM,WAAW,WAAW;IAC1B,GAAG,EAAE,cAAc,CAAC;IACpB,aAAa,EAAE,aAAa,CAAC;IAC7B,UAAU,EAAE,SAAS,CAAC,UAAU,CAAC;IACjC,UAAU,CAAC,EAAE,SAAS,CAAC,UAAU,CAAC;IAClC,WAAW,EAAE,sBAAsB,CAAC;IACpC,UAAU,EAAE,eAAe,CAAC;IAC5B,MAAM,EAAE,iBAAiB,CAAC;CAC3B;AAED;;;;GAIG;AACH,MAAM,MAAM,iBAAiB,GAAG;IAC9B,IAAI,EAAE,6BAA6B,CAAC;CACrC,GAAG,2BAA2B,CAAC;AAEhC;;GAEG;AACH,MAAM,MAAM,sBAAsB,GAAG,oBAAoB,CACvD,wBAAwB,CACzB,CAAC;AAEF;;;;;;KAMK;AACL,MAAM,MAAM,eAAe,GAAG,UAAU,GAAG,QAAQ,CAAC;AAEpD;;;;GAIG;AACH,MAAM,MAAM,cAAc,GAAG,oBAAoB,CAAC,gBAAgB,CAAC,CAAC;AAEpE;;GAEG;AACH,MAAM,WAAW,8BAA8B;IAC7C,OAAO,EAAE,MAAM,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;CAC7C"}
@@ -1,6 +1,61 @@
1
1
  export type LooselyBrandedString<T extends string> = string & {
2
2
  __LOOSE_BRAND?: T;
3
3
  };
4
+ /**
5
+ * Details of the connection (such as which types of import it supports) could not be determined.
6
+
7
+ *
8
+ * Log Safety: UNSAFE
9
+ */
10
+ export interface ConnectionDetailsNotDetermined {
11
+ errorCode: "INTERNAL";
12
+ errorName: "ConnectionDetailsNotDetermined";
13
+ errorInstanceId: string;
14
+ parameters: {
15
+ connectionRid: unknown;
16
+ connectionType: unknown;
17
+ };
18
+ }
19
+ /**
20
+ * The given Connection could not be found.
21
+ *
22
+ * Log Safety: SAFE
23
+ */
24
+ export interface ConnectionNotFound {
25
+ errorCode: "NOT_FOUND";
26
+ errorName: "ConnectionNotFound";
27
+ errorInstanceId: string;
28
+ parameters: {
29
+ connectionRid: unknown;
30
+ };
31
+ }
32
+ /**
33
+ * The specified connection is not yet supported in the Platform API.
34
+
35
+ *
36
+ * Log Safety: UNSAFE
37
+ */
38
+ export interface ConnectionTypeNotSupported {
39
+ errorCode: "INTERNAL";
40
+ errorName: "ConnectionTypeNotSupported";
41
+ errorInstanceId: string;
42
+ parameters: {
43
+ connectionType: unknown;
44
+ };
45
+ }
46
+ /**
47
+ * Could not create the FileImport.
48
+ *
49
+ * Log Safety: SAFE
50
+ */
51
+ export interface CreateFileImportPermissionDenied {
52
+ errorCode: "PERMISSION_DENIED";
53
+ errorName: "CreateFileImportPermissionDenied";
54
+ errorInstanceId: string;
55
+ parameters: {
56
+ connectionRid: unknown;
57
+ };
58
+ }
4
59
  /**
5
60
  * Could not delete the FileImport.
6
61
  *
@@ -12,6 +67,7 @@ export interface DeleteFileImportPermissionDenied {
12
67
  errorInstanceId: string;
13
68
  parameters: {
14
69
  fileImportRid: unknown;
70
+ connectionRid: unknown;
15
71
  };
16
72
  }
17
73
  /**
@@ -25,6 +81,36 @@ export interface ExecuteFileImportPermissionDenied {
25
81
  errorInstanceId: string;
26
82
  parameters: {
27
83
  fileImportRid: unknown;
84
+ connectionRid: unknown;
85
+ };
86
+ }
87
+ /**
88
+ * The provided `minFilesCount` field in the FileAtLeastCountFilter must be strictly greater than 0.
89
+
90
+ *
91
+ * Log Safety: SAFE
92
+ */
93
+ export interface FileAtLeastCountFilterInvalidMinCount {
94
+ errorCode: "INVALID_ARGUMENT";
95
+ errorName: "FileAtLeastCountFilterInvalidMinCount";
96
+ errorInstanceId: string;
97
+ parameters: {
98
+ minFilesCount: unknown;
99
+ };
100
+ }
101
+ /**
102
+ * Custom file import filters can be fetched but cannot currently be used
103
+ when creating or updating file imports.
104
+
105
+ *
106
+ * Log Safety: UNSAFE
107
+ */
108
+ export interface FileImportCustomFilterCannotBeUsedToCreateOrUpdateFileImports {
109
+ errorCode: "INVALID_ARGUMENT";
110
+ errorName: "FileImportCustomFilterCannotBeUsedToCreateOrUpdateFileImports";
111
+ errorInstanceId: string;
112
+ parameters: {
113
+ config: unknown;
28
114
  };
29
115
  }
30
116
  /**
@@ -38,6 +124,148 @@ export interface FileImportNotFound {
38
124
  errorInstanceId: string;
39
125
  parameters: {
40
126
  fileImportRid: unknown;
127
+ connectionRid: unknown;
128
+ };
129
+ }
130
+ /**
131
+ * The specified connection does not support file imports.
132
+
133
+ *
134
+ * Log Safety: SAFE
135
+ */
136
+ export interface FileImportNotSupportedForConnection {
137
+ errorCode: "INVALID_ARGUMENT";
138
+ errorName: "FileImportNotSupportedForConnection";
139
+ errorInstanceId: string;
140
+ parameters: {
141
+ connectionRid: unknown;
142
+ };
143
+ }
144
+ /**
145
+ * The `gt` field in the FileSizeFilter cannot be a negative number.
146
+
147
+ *
148
+ * Log Safety: SAFE
149
+ */
150
+ export interface FileSizeFilterGreaterThanCannotBeNegative {
151
+ errorCode: "INVALID_ARGUMENT";
152
+ errorName: "FileSizeFilterGreaterThanCannotBeNegative";
153
+ errorInstanceId: string;
154
+ parameters: {
155
+ gt: unknown;
156
+ };
157
+ }
158
+ /**
159
+ * The provided `gt` and `lt` fields in the FileSizeFilter are invalid. No files will ever
160
+ satisfy the provided range. The value specified for `gt` must be strictly less than `lt - 1`.
161
+
162
+ *
163
+ * Log Safety: SAFE
164
+ */
165
+ export interface FileSizeFilterInvalidGreaterThanAndLessThanRange {
166
+ errorCode: "INVALID_ARGUMENT";
167
+ errorName: "FileSizeFilterInvalidGreaterThanAndLessThanRange";
168
+ errorInstanceId: string;
169
+ parameters: {
170
+ gt: unknown;
171
+ lt: unknown;
172
+ };
173
+ }
174
+ /**
175
+ * The `lt` field in the FileSizeFilter must be at least 1 byte.
176
+
177
+ *
178
+ * Log Safety: SAFE
179
+ */
180
+ export interface FileSizeFilterLessThanMustBeOneByteOrLarger {
181
+ errorCode: "INVALID_ARGUMENT";
182
+ errorName: "FileSizeFilterLessThanMustBeOneByteOrLarger";
183
+ errorInstanceId: string;
184
+ parameters: {
185
+ lt: unknown;
186
+ };
187
+ }
188
+ /**
189
+ * Both the `gt` and `lt` fields are missing from the FileSizeFilter. At least one of these
190
+ fields must be present
191
+
192
+ *
193
+ * Log Safety: SAFE
194
+ */
195
+ export interface FileSizeFilterMissingGreaterThanAndLessThan {
196
+ errorCode: "INVALID_ARGUMENT";
197
+ errorName: "FileSizeFilterMissingGreaterThanAndLessThan";
198
+ errorInstanceId: string;
199
+ parameters: {};
200
+ }
201
+ /**
202
+ * The `filesCount` field in the FilesCountLimitFilter must be strictly greater than 0.
203
+
204
+ *
205
+ * Log Safety: SAFE
206
+ */
207
+ export interface FilesCountLimitFilterInvalidLimit {
208
+ errorCode: "INVALID_ARGUMENT";
209
+ errorName: "FilesCountLimitFilterInvalidLimit";
210
+ errorInstanceId: string;
211
+ parameters: {
212
+ filesCount: unknown;
213
+ };
214
+ }
215
+ /**
216
+ * The secret names provided do not exist on the connection.
217
+
218
+ *
219
+ * Log Safety: UNSAFE
220
+ */
221
+ export interface SecretNamesDoNotExist {
222
+ errorCode: "INVALID_ARGUMENT";
223
+ errorName: "SecretNamesDoNotExist";
224
+ errorInstanceId: string;
225
+ parameters: {
226
+ connectionRid: unknown;
227
+ secretNames: unknown;
228
+ };
229
+ }
230
+ /**
231
+ * The given TableImport could not be found.
232
+ *
233
+ * Log Safety: SAFE
234
+ */
235
+ export interface TableImportNotFound {
236
+ errorCode: "NOT_FOUND";
237
+ errorName: "TableImportNotFound";
238
+ errorInstanceId: string;
239
+ parameters: {
240
+ tableImportRid: unknown;
241
+ connectionRid: unknown;
242
+ };
243
+ }
244
+ /**
245
+ * The specified table import type is not yet supported in the Platform API.
246
+
247
+ *
248
+ * Log Safety: UNSAFE
249
+ */
250
+ export interface TableImportTypeNotSupported {
251
+ errorCode: "INTERNAL";
252
+ errorName: "TableImportTypeNotSupported";
253
+ errorInstanceId: string;
254
+ parameters: {
255
+ tableImportType: unknown;
256
+ };
257
+ }
258
+ /**
259
+ * Could not updateSecrets the Connection.
260
+ *
261
+ * Log Safety: SAFE
262
+ */
263
+ export interface UpdateSecretsConnectionPermissionDenied {
264
+ errorCode: "PERMISSION_DENIED";
265
+ errorName: "UpdateSecretsConnectionPermissionDenied";
266
+ errorInstanceId: string;
267
+ parameters: {
268
+ connectionRid: unknown;
41
269
  };
42
270
  }
43
271
  //# sourceMappingURL=_errors.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"_errors.d.ts","sourceRoot":"","sources":["../../src/_errors.ts"],"names":[],"mappings":"AAgBA,MAAM,MAAM,oBAAoB,CAAC,CAAC,SAAS,MAAM,IAAI,MAAM,GAAG;IAC5D,aAAa,CAAC,EAAE,CAAC,CAAC;CACnB,CAAC;AAEF;;;;GAIG;AACH,MAAM,WAAW,gCAAgC;IAC/C,SAAS,EAAE,mBAAmB,CAAC;IAC/B,SAAS,EAAE,kCAAkC,CAAC;IAC9C,eAAe,EAAE,MAAM,CAAC;IACxB,UAAU,EAAE;QACV,aAAa,EAAE,OAAO,CAAC;KACxB,CAAC;CACH;AAED;;;;GAIG;AACH,MAAM,WAAW,iCAAiC;IAChD,SAAS,EAAE,mBAAmB,CAAC;IAC/B,SAAS,EAAE,mCAAmC,CAAC;IAC/C,eAAe,EAAE,MAAM,CAAC;IACxB,UAAU,EAAE;QACV,aAAa,EAAE,OAAO,CAAC;KACxB,CAAC;CACH;AAED;;;;GAIG;AACH,MAAM,WAAW,kBAAkB;IACjC,SAAS,EAAE,WAAW,CAAC;IACvB,SAAS,EAAE,oBAAoB,CAAC;IAChC,eAAe,EAAE,MAAM,CAAC;IACxB,UAAU,EAAE;QACV,aAAa,EAAE,OAAO,CAAC;KACxB,CAAC;CACH"}
1
+ {"version":3,"file":"_errors.d.ts","sourceRoot":"","sources":["../../src/_errors.ts"],"names":[],"mappings":"AAgBA,MAAM,MAAM,oBAAoB,CAAC,CAAC,SAAS,MAAM,IAAI,MAAM,GAAG;IAC5D,aAAa,CAA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IACtB,SAAS,EAAE,6BAA6B,CAAC;IACzC,eAAe,EAAE,MAAM,CAAC;IACxB,UAAU,EAAE;QACV,eAAe,EAAE,OAAO,CAAC;KAC1B,CAAC;CACH;AAED;;;;GAIG;AACH,MAAM,WAAW,uCAAuC;IACtD,SAAS,EAAE,mBAAmB,CAAC;IAC/B,SAAS,EAAE,yCAAyC,CAAC;IACrD,eAAe,EAAE,MAAM,CAAC;IACxB,UAAU,EAAE;QACV,aAAa,EAAE,OAAO,CAAC;KACxB,CAAC;CACH"}
@@ -1,4 +1,6 @@
1
- export type { ConnectionRid, FileImport, FileImportCustomFilter, FileImportDisplayName, FileImportFilter, FileImportMode, FileImportRid, FileLastModifiedAfterFilter, FilePathMatchesFilter, FileSizeFilter, } from "./_components.js";
2
- export type { DeleteFileImportPermissionDenied, ExecuteFileImportPermissionDenied, FileImportNotFound, } from "./_errors.js";
1
+ export type { AgentProxyRuntime, AgentRid, AgentWorkerRuntime, AsPlaintextValue, AsSecretName, AwsAccessKey, Connection, ConnectionConfiguration, ConnectionDisplayName, ConnectionRid, CreateFileImportRequest, DirectConnectionRuntime, EncryptedProperty, FileAnyPathMatchesFilter, FileAtLeastCountFilter, FileChangedSinceLastUploadFilter, FileImport, FileImportCustomFilter, FileImportDisplayName, FileImportFilter, FileImportMode, FileImportRid, FileLastModifiedAfterFilter, FilePathMatchesFilter, FilePathNotMatchesFilter, FileProperty, FilesCountLimitFilter, FileSizeFilter, ListFileImportsResponse, MicrosoftAccessImportConfig, NetworkEgressPolicyRid, PalantirProvidedDriversImportConfig, PlaintextValue, RuntimePlatform, S3AuthenticationMode, S3ConnectionConfiguration, SecretName, TableImport, TableImportConfig, TableImportDisplayName, TableImportMode, TableImportRid, UpdateSecretsConnectionRequest, } from "./_components.js";
2
+ export type { ConnectionDetailsNotDetermined, ConnectionNotFound, ConnectionTypeNotSupported, CreateFileImportPermissionDenied, DeleteFileImportPermissionDenied, ExecuteFileImportPermissionDenied, FileAtLeastCountFilterInvalidMinCount, FileImportCustomFilterCannotBeUsedToCreateOrUpdateFileImports, FileImportNotFound, FileImportNotSupportedForConnection, FilesCountLimitFilterInvalidLimit, FileSizeFilterGreaterThanCannotBeNegative, FileSizeFilterInvalidGreaterThanAndLessThanRange, FileSizeFilterLessThanMustBeOneByteOrLarger, FileSizeFilterMissingGreaterThanAndLessThan, SecretNamesDoNotExist, TableImportNotFound, TableImportTypeNotSupported, UpdateSecretsConnectionPermissionDenied, } from "./_errors.js";
3
+ export * as Connections from "./public/Connection.js";
3
4
  export * as FileImports from "./public/FileImport.js";
5
+ export * as TableImports from "./public/TableImport.js";
4
6
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAgBA,YAAY,EACV,aAAa,EACb,UAAU,EACV,sBAAsB,EACtB,qBAAqB,EACrB,gBAAgB,EAChB,cAAc,EACd,aAAa,EACb,2BAA2B,EAC3B,qBAAqB,EACrB,cAAc,GACf,MAAM,kBAAkB,CAAC;AAC1B,YAAY,EACV,gCAAgC,EAChC,iCAAiC,EACjC,kBAAkB,GACnB,MAAM,cAAc,CAAC;AACtB,OAAO,KAAK,WAAW,MAAM,wBAAwB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAgBA,YAAY,EACV,iBAAiB,EACjB,QAAQ,EACR,kBAAkB,EAClB,gBAAgB,EAChB,YAAY,EACZ,YAAY,EACZ,UAAU,EACV,uBAAuB,EACvB,qBAAqB,EACrB,aAAa,EACb,uBAAuB,EACvB,uBAAuB,EACvB,iBAAiB,EACjB,wBAAwB,EACxB,sBAAsB,EACtB,gCAAgC,EAChC,UAAU,EACV,sBAAsB,EACtB,qBAAqB,EACrB,gBAAgB,EAChB,cAAc,EACd,aAAa,EACb,2BAA2B,EAC3B,qBAAqB,EACrB,wBAAwB,EACxB,YAAY,EACZ,qBAAqB,EACrB,cAAc,EACd,uBAAuB,EACvB,2BAA2B,EAC3B,sBAAsB,EACtB,mCAAmC,EACnC,cAAc,EACd,eAAe,EACf,oBAAoB,EACpB,yBAAyB,EACzB,UAAU,EACV,WAAW,EACX,iBAAiB,EACjB,sBAAsB,EACtB,eAAe,EACf,cAAc,EACd,8BAA8B,GAC/B,MAAM,kBAAkB,CAAC;AAC1B,YAAY,EACV,8BAA8B,EAC9B,kBAAkB,EAClB,0BAA0B,EAC1B,gCAAgC,EAChC,gCAAgC,EAChC,iCAAiC,EACjC,qCAAqC,EACrC,6DAA6D,EAC7D,kBAAkB,EAClB,mCAAmC,EACnC,iCAAiC,EACjC,yCAAyC,EACzC,gDAAgD,EAChD,2CAA2C,EAC3C,2CAA2C,EAC3C,qBAAqB,EACrB,mBAAmB,EACnB,2BAA2B,EAC3B,uCAAuC,GACxC,MAAM,cAAc,CAAC;AACtB,OAAO,KAAK,WAAW,MAAM,wBAAwB,CAAC;AACtD,OAAO,KAAK,WAAW,MAAM,wBAAwB,CAAC;AACtD,OAAO,KAAK,YAAY,MAAM,yBAAyB,CAAC"}
@@ -13,5 +13,7 @@
13
13
  * See the License for the specific language governing permissions and
14
14
  * limitations under the License.
15
15
  */
16
+ export * as Connections from "./public/Connection.js";
16
17
  export * as FileImports from "./public/FileImport.js";
18
+ export * as TableImports from "./public/TableImport.js";
17
19
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","names":["FileImports"],"sources":["index.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 */\nexport * as FileImports from \"./public/FileImport.js\";\n"],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,KAAKA,WAAW,MAAM,wBAAwB","ignoreList":[]}
1
+ {"version":3,"file":"index.js","names":["Connections","FileImports","TableImports"],"sources":["index.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 */\nexport * as Connections from \"./public/Connection.js\";\nexport * as FileImports from \"./public/FileImport.js\";\nexport * as TableImports from \"./public/TableImport.js\";\n"],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,KAAKA,WAAW,MAAM,wBAAwB;AACrD,OAAO,KAAKC,WAAW,MAAM,wBAAwB;AACrD,OAAO,KAAKC,YAAY,MAAM,yBAAyB","ignoreList":[]}
@@ -0,0 +1,35 @@
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 Connection with the specified rid.
7
+ *
8
+ * @alpha
9
+ *
10
+ * Required Scopes: [api:connectivity-connection-read]
11
+ * URL: /v2/connectivity/connections/{connectionRid}
12
+ */
13
+ export declare function get($ctx: $Client | $ClientContext | $OldClient | $OldClientContext, ...args: [
14
+ connectionRid: _Connectivity.ConnectionRid,
15
+ $queryParams?: {
16
+ preview?: _Core.PreviewMode | undefined;
17
+ }
18
+ ]): Promise<_Connectivity.Connection>;
19
+ /**
20
+ * Updates the secrets on the connection to the specified secret values.
21
+ * Secrets that are currently configured on the connection but are omitted in the request will remain unchanged.
22
+ *
23
+ * @alpha
24
+ *
25
+ * Required Scopes: [api:connectivity-connection-write]
26
+ * URL: /v2/connectivity/connections/{connectionRid}/updateSecrets
27
+ */
28
+ export declare function updateSecrets($ctx: $Client | $ClientContext | $OldClient | $OldClientContext, ...args: [
29
+ connectionRid: _Connectivity.ConnectionRid,
30
+ $body: _Connectivity.UpdateSecretsConnectionRequest,
31
+ $queryParams?: {
32
+ preview?: _Core.PreviewMode | undefined;
33
+ }
34
+ ]): Promise<void>;
35
+ //# sourceMappingURL=Connection.d.ts.map