@osdk/foundry.connectivity 2.2.0-beta.0 → 2.3.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 +28 -0
- package/build/browser/_components.d.ts +102 -5
- package/build/browser/_components.d.ts.map +1 -1
- package/build/browser/_errors.d.ts +158 -0
- package/build/browser/_errors.d.ts.map +1 -1
- package/build/browser/index.d.ts +3 -2
- package/build/browser/index.d.ts.map +1 -1
- package/build/browser/index.js +1 -0
- package/build/browser/index.js.map +1 -1
- package/build/browser/public/Connection.d.ts +35 -0
- package/build/browser/public/Connection.d.ts.map +1 -0
- package/build/browser/public/Connection.js +43 -0
- package/build/browser/public/Connection.js.map +1 -0
- package/build/browser/public/FileImport.d.ts +26 -7
- package/build/browser/public/FileImport.d.ts.map +1 -1
- package/build/browser/public/FileImport.js +18 -6
- package/build/browser/public/FileImport.js.map +1 -1
- package/build/esm/_components.d.ts +102 -5
- package/build/esm/_components.d.ts.map +1 -1
- package/build/esm/_errors.d.ts +158 -0
- package/build/esm/_errors.d.ts.map +1 -1
- package/build/esm/index.d.ts +3 -2
- package/build/esm/index.d.ts.map +1 -1
- package/build/esm/index.js +1 -0
- package/build/esm/index.js.map +1 -1
- package/build/esm/public/Connection.d.ts +35 -0
- package/build/esm/public/Connection.d.ts.map +1 -0
- package/build/esm/public/Connection.js +43 -0
- package/build/esm/public/Connection.js.map +1 -0
- package/build/esm/public/FileImport.d.ts +26 -7
- package/build/esm/public/FileImport.d.ts.map +1 -1
- package/build/esm/public/FileImport.js +18 -6
- package/build/esm/public/FileImport.js.map +1 -1
- package/package.json +9 -8
|
@@ -3,12 +3,77 @@ 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: UNSAFE
|
|
39
|
+
*/
|
|
40
|
+
export interface Connection {
|
|
41
|
+
rid: ConnectionRid;
|
|
42
|
+
displayName: ConnectionDisplayName;
|
|
43
|
+
runtimePlatform: RuntimePlatform;
|
|
44
|
+
}
|
|
45
|
+
/**
|
|
46
|
+
* Log Safety: UNSAFE
|
|
47
|
+
*/
|
|
48
|
+
export type ConnectionDisplayName = LooselyBrandedString<"ConnectionDisplayName">;
|
|
6
49
|
/**
|
|
7
50
|
* The Resource Identifier (RID) of a Connection (formerly known as a source).
|
|
8
51
|
*
|
|
9
52
|
* Log Safety: SAFE
|
|
10
53
|
*/
|
|
11
54
|
export type ConnectionRid = LooselyBrandedString<"ConnectionRid">;
|
|
55
|
+
/**
|
|
56
|
+
* Log Safety: UNSAFE
|
|
57
|
+
*/
|
|
58
|
+
export interface CreateFileImportRequest {
|
|
59
|
+
datasetRid: _Datasets.DatasetRid;
|
|
60
|
+
importMode: FileImportMode;
|
|
61
|
+
displayName: FileImportDisplayName;
|
|
62
|
+
branchName?: _Datasets.BranchName;
|
|
63
|
+
subfolder?: string;
|
|
64
|
+
fileImportFilters: Array<FileImportFilter>;
|
|
65
|
+
}
|
|
66
|
+
/**
|
|
67
|
+
* Direct connections enable users to connect
|
|
68
|
+
to data sources accessible over the Internet without needing to set up an agent. If your Foundry stack is
|
|
69
|
+
hosted on-premises, you can also connect to data sources within your on-premises network.
|
|
70
|
+
This is the preferred source connection method if the data source is accessible over the Internet.
|
|
71
|
+
*
|
|
72
|
+
* Log Safety: SAFE
|
|
73
|
+
*/
|
|
74
|
+
export interface DirectConnectionRuntime {
|
|
75
|
+
networkEgressPolicyRids: Array<NetworkEgressPolicyRid>;
|
|
76
|
+
}
|
|
12
77
|
/**
|
|
13
78
|
* Log Safety: UNSAFE
|
|
14
79
|
*/
|
|
@@ -92,14 +157,46 @@ export interface FilePathMatchesFilter {
|
|
|
92
157
|
}
|
|
93
158
|
/**
|
|
94
159
|
* Only import files whose size is between the specified minimum and maximum values.
|
|
95
|
-
At least one of
|
|
96
|
-
If both are present, the value specified for
|
|
97
|
-
lessThan.
|
|
160
|
+
At least one of gt or lt should be present.
|
|
161
|
+
If both are present, the value specified for gt must be strictly less than lt - 1.
|
|
98
162
|
*
|
|
99
163
|
* Log Safety: SAFE
|
|
100
164
|
*/
|
|
101
165
|
export interface FileSizeFilter {
|
|
102
|
-
|
|
103
|
-
|
|
166
|
+
gt?: _Core.SizeBytes;
|
|
167
|
+
lt?: _Core.SizeBytes;
|
|
168
|
+
}
|
|
169
|
+
/**
|
|
170
|
+
* The Resource Identifier (RID) of a Network Egress Policy.
|
|
171
|
+
*
|
|
172
|
+
* Log Safety: SAFE
|
|
173
|
+
*/
|
|
174
|
+
export type NetworkEgressPolicyRid = LooselyBrandedString<"NetworkEgressPolicyRid">;
|
|
175
|
+
/**
|
|
176
|
+
* Log Safety: DO_NOT_LOG
|
|
177
|
+
*/
|
|
178
|
+
export type PlaintextValue = LooselyBrandedString<"PlaintextValue">;
|
|
179
|
+
/**
|
|
180
|
+
* The runtime of a Connection, which defines the
|
|
181
|
+
networking configuration and where capabilities are executed.
|
|
182
|
+
*
|
|
183
|
+
* Log Safety: UNSAFE
|
|
184
|
+
*/
|
|
185
|
+
export type RuntimePlatform = ({
|
|
186
|
+
type: "directConnectionRuntime";
|
|
187
|
+
} & DirectConnectionRuntime) | ({
|
|
188
|
+
type: "agentProxyRuntime";
|
|
189
|
+
} & AgentProxyRuntime) | ({
|
|
190
|
+
type: "agentWorkerRuntime";
|
|
191
|
+
} & AgentWorkerRuntime);
|
|
192
|
+
/**
|
|
193
|
+
* Log Safety: UNSAFE
|
|
194
|
+
*/
|
|
195
|
+
export type SecretName = LooselyBrandedString<"SecretName">;
|
|
196
|
+
/**
|
|
197
|
+
* Log Safety: DO_NOT_LOG
|
|
198
|
+
*/
|
|
199
|
+
export interface UpdateSecretsConnectionRequest {
|
|
200
|
+
secrets: Record<SecretName, PlaintextValue>;
|
|
104
201
|
}
|
|
105
202
|
//# 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;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Ac;IAC7B,EAAE,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IACrB,EAAE,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;CACtB;AAED;;;;GAIG;AACH,MAAM,MAAM,sBAAsB,GAAG,oBAAoB,CACvD,wBAAwB,CACzB,CAAC;AAEF;;GAEG;AACH,MAAM,MAAM,cAAc,GAAG,oBAAoB,CAAC,gBAAgB,CAAC,CAAC;AAEpE;;;;;KAKK;AACL,MAAM,MAAM,eAAe,GACvB,CAAC;IAAE,IAAI,EAAE,yBAAyB,CAAA;CAAE,GAAG,uBAAuB,CAAC,GAC/D,CAAC;IAAE,IAAI,EAAE,mBAAmB,CAAA;CAAE,GAAG,iBAAiB,CAAC,GACnD,CAAC;IAAE,IAAI,EAAE,oBAAoB,CAAA;CAAE,GAAG,kBAAkB,CAAC,CAAC;AAE1D;;GAEG;AACH,MAAM,MAAM,UAAU,GAAG,oBAAoB,CAAC,YAAY,CAAC,CAAC;AAE5D;;GAEG;AACH,MAAM,WAAW,8BAA8B;IAC7C,OAAO,EAAE,MAAM,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;CAC7C"}
|
package/build/esm/_errors.d.ts
CHANGED
|
@@ -1,6 +1,47 @@
|
|
|
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
|
+
* Could not create the FileImport.
|
|
34
|
+
*
|
|
35
|
+
* Log Safety: SAFE
|
|
36
|
+
*/
|
|
37
|
+
export interface CreateFileImportPermissionDenied {
|
|
38
|
+
errorCode: "PERMISSION_DENIED";
|
|
39
|
+
errorName: "CreateFileImportPermissionDenied";
|
|
40
|
+
errorInstanceId: string;
|
|
41
|
+
parameters: {
|
|
42
|
+
connectionRid: unknown;
|
|
43
|
+
};
|
|
44
|
+
}
|
|
4
45
|
/**
|
|
5
46
|
* Could not delete the FileImport.
|
|
6
47
|
*
|
|
@@ -12,6 +53,7 @@ export interface DeleteFileImportPermissionDenied {
|
|
|
12
53
|
errorInstanceId: string;
|
|
13
54
|
parameters: {
|
|
14
55
|
fileImportRid: unknown;
|
|
56
|
+
connectionRid: unknown;
|
|
15
57
|
};
|
|
16
58
|
}
|
|
17
59
|
/**
|
|
@@ -25,6 +67,22 @@ export interface ExecuteFileImportPermissionDenied {
|
|
|
25
67
|
errorInstanceId: string;
|
|
26
68
|
parameters: {
|
|
27
69
|
fileImportRid: unknown;
|
|
70
|
+
connectionRid: unknown;
|
|
71
|
+
};
|
|
72
|
+
}
|
|
73
|
+
/**
|
|
74
|
+
* Custom file import filters can be fetched but cannot currently be used
|
|
75
|
+
when creating or updating file imports.
|
|
76
|
+
|
|
77
|
+
*
|
|
78
|
+
* Log Safety: UNSAFE
|
|
79
|
+
*/
|
|
80
|
+
export interface FileImportCustomFilterCannotBeUsedToCreateOrUpdateFileImports {
|
|
81
|
+
errorCode: "INVALID_ARGUMENT";
|
|
82
|
+
errorName: "FileImportCustomFilterCannotBeUsedToCreateOrUpdateFileImports";
|
|
83
|
+
errorInstanceId: string;
|
|
84
|
+
parameters: {
|
|
85
|
+
config: unknown;
|
|
28
86
|
};
|
|
29
87
|
}
|
|
30
88
|
/**
|
|
@@ -38,6 +96,106 @@ export interface FileImportNotFound {
|
|
|
38
96
|
errorInstanceId: string;
|
|
39
97
|
parameters: {
|
|
40
98
|
fileImportRid: unknown;
|
|
99
|
+
connectionRid: unknown;
|
|
100
|
+
};
|
|
101
|
+
}
|
|
102
|
+
/**
|
|
103
|
+
* The specified connection does not support file imports.
|
|
104
|
+
|
|
105
|
+
*
|
|
106
|
+
* Log Safety: SAFE
|
|
107
|
+
*/
|
|
108
|
+
export interface FileImportNotSupportedForConnection {
|
|
109
|
+
errorCode: "INVALID_ARGUMENT";
|
|
110
|
+
errorName: "FileImportNotSupportedForConnection";
|
|
111
|
+
errorInstanceId: string;
|
|
112
|
+
parameters: {
|
|
113
|
+
connectionRid: unknown;
|
|
114
|
+
};
|
|
115
|
+
}
|
|
116
|
+
/**
|
|
117
|
+
* The `gt` field in the FileSizeFilter cannot be a negative number.
|
|
118
|
+
|
|
119
|
+
*
|
|
120
|
+
* Log Safety: SAFE
|
|
121
|
+
*/
|
|
122
|
+
export interface FileSizeFilterGreaterThanCannotBeNegative {
|
|
123
|
+
errorCode: "INVALID_ARGUMENT";
|
|
124
|
+
errorName: "FileSizeFilterGreaterThanCannotBeNegative";
|
|
125
|
+
errorInstanceId: string;
|
|
126
|
+
parameters: {
|
|
127
|
+
gt: unknown;
|
|
128
|
+
};
|
|
129
|
+
}
|
|
130
|
+
/**
|
|
131
|
+
* The provided `gt` and `lt` fields in the FileSizeFilter are invalid. No files will ever
|
|
132
|
+
satisfy the provided range. The value specified for `gt` must be strictly less than `lt - 1`.
|
|
133
|
+
|
|
134
|
+
*
|
|
135
|
+
* Log Safety: SAFE
|
|
136
|
+
*/
|
|
137
|
+
export interface FileSizeFilterInvalidGreaterThanAndLessThanRange {
|
|
138
|
+
errorCode: "INVALID_ARGUMENT";
|
|
139
|
+
errorName: "FileSizeFilterInvalidGreaterThanAndLessThanRange";
|
|
140
|
+
errorInstanceId: string;
|
|
141
|
+
parameters: {
|
|
142
|
+
gt: unknown;
|
|
143
|
+
lt: unknown;
|
|
144
|
+
};
|
|
145
|
+
}
|
|
146
|
+
/**
|
|
147
|
+
* The `lt` field in the FileSizeFilter must be at least 1 byte.
|
|
148
|
+
|
|
149
|
+
*
|
|
150
|
+
* Log Safety: SAFE
|
|
151
|
+
*/
|
|
152
|
+
export interface FileSizeFilterLessThanMustBeOneByteOrLarger {
|
|
153
|
+
errorCode: "INVALID_ARGUMENT";
|
|
154
|
+
errorName: "FileSizeFilterLessThanMustBeOneByteOrLarger";
|
|
155
|
+
errorInstanceId: string;
|
|
156
|
+
parameters: {
|
|
157
|
+
lt: unknown;
|
|
158
|
+
};
|
|
159
|
+
}
|
|
160
|
+
/**
|
|
161
|
+
* Both the `gt` and `lt` fields are missing from the FileSizeFilter. At least one of these
|
|
162
|
+
fields must be present
|
|
163
|
+
|
|
164
|
+
*
|
|
165
|
+
* Log Safety: SAFE
|
|
166
|
+
*/
|
|
167
|
+
export interface FileSizeFilterMissingGreaterThanAndLessThan {
|
|
168
|
+
errorCode: "INVALID_ARGUMENT";
|
|
169
|
+
errorName: "FileSizeFilterMissingGreaterThanAndLessThan";
|
|
170
|
+
errorInstanceId: string;
|
|
171
|
+
parameters: {};
|
|
172
|
+
}
|
|
173
|
+
/**
|
|
174
|
+
* The secret names provided do not exist on the connection.
|
|
175
|
+
|
|
176
|
+
*
|
|
177
|
+
* Log Safety: UNSAFE
|
|
178
|
+
*/
|
|
179
|
+
export interface SecretNamesDoNotExist {
|
|
180
|
+
errorCode: "INVALID_ARGUMENT";
|
|
181
|
+
errorName: "SecretNamesDoNotExist";
|
|
182
|
+
errorInstanceId: string;
|
|
183
|
+
parameters: {
|
|
184
|
+
connectionRid: unknown;
|
|
185
|
+
secretNames: unknown;
|
|
186
|
+
};
|
|
187
|
+
}
|
|
188
|
+
/**
|
|
189
|
+
* Could not updateSecrets the Connection.
|
|
190
|
+
*
|
|
191
|
+
* Log Safety: SAFE
|
|
192
|
+
*/
|
|
193
|
+
export interface UpdateSecretsConnectionPermissionDenied {
|
|
194
|
+
errorCode: "PERMISSION_DENIED";
|
|
195
|
+
errorName: "UpdateSecretsConnectionPermissionDenied";
|
|
196
|
+
errorInstanceId: string;
|
|
197
|
+
parameters: {
|
|
198
|
+
connectionRid: unknown;
|
|
41
199
|
};
|
|
42
200
|
}
|
|
43
201
|
//# 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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AAe,EAAE,MAAM,CAAC;IACxB,UAAU,EAAE;QACV,EAAE,EAAE,OAAO,CAAC;KACb,CAAC;CACH;AAED;;;;;;KAMK;AACL,MAAM,WAAW,2CAA2C;IAC1D,SAAS,EAAE,kBAAkB,CAAC;IAC9B,SAAS,EAAE,6CAA6C,CAAC;IACzD,eAAe,EAAE,MAAM,CAAC;IACxB,UAAU,EAAE,EAAE,CAAC;CAChB;AAED;;;;;KAKK;AACL,MAAM,WAAW,qBAAqB;IACpC,SAAS,EAAE,kBAAkB,CAAC;IAC9B,SAAS,EAAE,uBAAuB,CAAC;IACnC,eAAe,EAAE,MAAM,CAAC;IACxB,UAAU,EAAE;QACV,aAAa,EAAE,OAAO,CAAC;QACvB,WAAW,EAAE,OAAO,CAAC;KACtB,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"}
|
package/build/esm/index.d.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
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, Connection, ConnectionDisplayName, ConnectionRid, CreateFileImportRequest, DirectConnectionRuntime, FileImport, FileImportCustomFilter, FileImportDisplayName, FileImportFilter, FileImportMode, FileImportRid, FileLastModifiedAfterFilter, FilePathMatchesFilter, FileSizeFilter, NetworkEgressPolicyRid, PlaintextValue, RuntimePlatform, SecretName, UpdateSecretsConnectionRequest, } from "./_components.js";
|
|
2
|
+
export type { ConnectionDetailsNotDetermined, ConnectionNotFound, CreateFileImportPermissionDenied, DeleteFileImportPermissionDenied, ExecuteFileImportPermissionDenied, FileImportCustomFilterCannotBeUsedToCreateOrUpdateFileImports, FileImportNotFound, FileImportNotSupportedForConnection, FileSizeFilterGreaterThanCannotBeNegative, FileSizeFilterInvalidGreaterThanAndLessThanRange, FileSizeFilterLessThanMustBeOneByteOrLarger, FileSizeFilterMissingGreaterThanAndLessThan, SecretNamesDoNotExist, UpdateSecretsConnectionPermissionDenied, } from "./_errors.js";
|
|
3
|
+
export * as Connections from "./public/Connection.js";
|
|
3
4
|
export * as FileImports from "./public/FileImport.js";
|
|
4
5
|
//# sourceMappingURL=index.d.ts.map
|
package/build/esm/index.d.ts.map
CHANGED
|
@@ -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,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAgBA,YAAY,EACV,iBAAiB,EACjB,QAAQ,EACR,kBAAkB,EAClB,UAAU,EACV,qBAAqB,EACrB,aAAa,EACb,uBAAuB,EACvB,uBAAuB,EACvB,UAAU,EACV,sBAAsB,EACtB,qBAAqB,EACrB,gBAAgB,EAChB,cAAc,EACd,aAAa,EACb,2BAA2B,EAC3B,qBAAqB,EACrB,cAAc,EACd,sBAAsB,EACtB,cAAc,EACd,eAAe,EACf,UAAU,EACV,8BAA8B,GAC/B,MAAM,kBAAkB,CAAC;AAC1B,YAAY,EACV,8BAA8B,EAC9B,kBAAkB,EAClB,gCAAgC,EAChC,gCAAgC,EAChC,iCAAiC,EACjC,6DAA6D,EAC7D,kBAAkB,EAClB,mCAAmC,EACnC,yCAAyC,EACzC,gDAAgD,EAChD,2CAA2C,EAC3C,2CAA2C,EAC3C,qBAAqB,EACrB,uCAAuC,GACxC,MAAM,cAAc,CAAC;AACtB,OAAO,KAAK,WAAW,MAAM,wBAAwB,CAAC;AACtD,OAAO,KAAK,WAAW,MAAM,wBAAwB,CAAC"}
|
package/build/esm/index.js
CHANGED
|
@@ -13,5 +13,6 @@
|
|
|
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";
|
|
17
18
|
//# sourceMappingURL=index.js.map
|
package/build/esm/index.js.map
CHANGED
|
@@ -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"],"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\";\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","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
|
|
@@ -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":[]}
|
|
@@ -1,7 +1,23 @@
|
|
|
1
1
|
import type * as _Core from "@osdk/foundry.core";
|
|
2
2
|
import type * as _Orchestration from "@osdk/foundry.orchestration";
|
|
3
|
-
import type { SharedClient as $
|
|
3
|
+
import type { SharedClient as $OldClient, SharedClientContext as $OldClientContext } from "@osdk/shared.client";
|
|
4
|
+
import type { SharedClient as $Client, SharedClientContext as $ClientContext } from "@osdk/shared.client2";
|
|
4
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>;
|
|
5
21
|
/**
|
|
6
22
|
* Delete the FileImport with the specified RID.
|
|
7
23
|
* Deleting the file import does not delete the destination dataset but the dataset will no longer
|
|
@@ -10,9 +26,10 @@ import type * as _Connectivity from "../_components.js";
|
|
|
10
26
|
* @alpha
|
|
11
27
|
*
|
|
12
28
|
* Required Scopes: [api:connectivity-file-import-write]
|
|
13
|
-
* URL: /v2/connectivity/fileImports/{fileImportRid}
|
|
29
|
+
* URL: /v2/connectivity/connections/{connectionRid}/fileImports/{fileImportRid}
|
|
14
30
|
*/
|
|
15
|
-
export declare function deleteFileImport($ctx: $Client | $ClientContext, ...args: [
|
|
31
|
+
export declare function deleteFileImport($ctx: $Client | $ClientContext | $OldClient | $OldClientContext, ...args: [
|
|
32
|
+
connectionRid: _Connectivity.ConnectionRid,
|
|
16
33
|
fileImportRid: _Connectivity.FileImportRid,
|
|
17
34
|
$queryParams?: {
|
|
18
35
|
preview?: _Core.PreviewMode | undefined;
|
|
@@ -24,9 +41,10 @@ export declare function deleteFileImport($ctx: $Client | $ClientContext, ...args
|
|
|
24
41
|
* @alpha
|
|
25
42
|
*
|
|
26
43
|
* Required Scopes: [api:connectivity-file-import-read]
|
|
27
|
-
* URL: /v2/connectivity/fileImports/{fileImportRid}
|
|
44
|
+
* URL: /v2/connectivity/connections/{connectionRid}/fileImports/{fileImportRid}
|
|
28
45
|
*/
|
|
29
|
-
export declare function get($ctx: $Client | $ClientContext, ...args: [
|
|
46
|
+
export declare function get($ctx: $Client | $ClientContext | $OldClient | $OldClientContext, ...args: [
|
|
47
|
+
connectionRid: _Connectivity.ConnectionRid,
|
|
30
48
|
fileImportRid: _Connectivity.FileImportRid,
|
|
31
49
|
$queryParams?: {
|
|
32
50
|
preview?: _Core.PreviewMode | undefined;
|
|
@@ -39,9 +57,10 @@ export declare function get($ctx: $Client | $ClientContext, ...args: [
|
|
|
39
57
|
* @alpha
|
|
40
58
|
*
|
|
41
59
|
* Required Scopes: [api:connectivity-file-import-execute]
|
|
42
|
-
* URL: /v2/connectivity/fileImports/{fileImportRid}/execute
|
|
60
|
+
* URL: /v2/connectivity/connections/{connectionRid}/fileImports/{fileImportRid}/execute
|
|
43
61
|
*/
|
|
44
|
-
export declare function execute($ctx: $Client | $ClientContext, ...args: [
|
|
62
|
+
export declare function execute($ctx: $Client | $ClientContext | $OldClient | $OldClientContext, ...args: [
|
|
63
|
+
connectionRid: _Connectivity.ConnectionRid,
|
|
45
64
|
fileImportRid: _Connectivity.FileImportRid,
|
|
46
65
|
$queryParams?: {
|
|
47
66
|
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,YAAY,IAAI,OAAO,EACvB,mBAAmB,IAAI,cAAc,EACtC,MAAM,
|
|
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,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;;;;;;;G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C,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
|
|
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,24 @@ 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/
|
|
44
|
+
const _get = [0, "/v2/connectivity/connections/{0}/fileImports/{1}", 2];
|
|
33
45
|
/**
|
|
34
46
|
* Get the FileImport with the specified rid.
|
|
35
47
|
*
|
|
36
48
|
* @alpha
|
|
37
49
|
*
|
|
38
50
|
* Required Scopes: [api:connectivity-file-import-read]
|
|
39
|
-
* URL: /v2/connectivity/fileImports/{fileImportRid}
|
|
51
|
+
* URL: /v2/connectivity/connections/{connectionRid}/fileImports/{fileImportRid}
|
|
40
52
|
*/
|
|
41
53
|
export function get($ctx, ...args) {
|
|
42
54
|
return $foundryPlatformFetch($ctx, _get, ...args);
|
|
43
55
|
}
|
|
44
|
-
const _execute = [1, "/v2/connectivity/
|
|
56
|
+
const _execute = [1, "/v2/connectivity/connections/{0}/fileImports/{1}/execute", 2];
|
|
45
57
|
/**
|
|
46
58
|
* Executes the FileImport, which runs asynchronously as a [Foundry Build](https://www.palantir.com/docs/foundry/data-integration/builds/).
|
|
47
59
|
* The returned BuildRid can be used to check the status via the Orchestration API.
|
|
@@ -49,7 +61,7 @@ const _execute = [1, "/v2/connectivity/fileImports/{0}/execute", 2];
|
|
|
49
61
|
* @alpha
|
|
50
62
|
*
|
|
51
63
|
* Required Scopes: [api:connectivity-file-import-execute]
|
|
52
|
-
* URL: /v2/connectivity/fileImports/{fileImportRid}/execute
|
|
64
|
+
* URL: /v2/connectivity/connections/{connectionRid}/fileImports/{fileImportRid}/execute
|
|
53
65
|
*/
|
|
54
66
|
export function execute($ctx, ...args) {
|
|
55
67
|
return $foundryPlatformFetch($ctx, _execute, ...args);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FileImport.js","names":["foundryPlatformFetch","$foundryPlatformFetch","
|
|
1
|
+
{"version":3,"file":"FileImport.js","names":["foundryPlatformFetch","$foundryPlatformFetch","_create","create","$ctx","args","_deleteFileImport","deleteFileImport","_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 _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,IAAI,GAAG,CAAC,CAAC,EAAE,kDAAkD,EAAE,CAAC,CAAC;AACvE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,SAASC,GAAGA,CAACL,IAAI,EAAE,GAAGC,IAAI,EAAE;EAC/B,OAAOJ,qBAAqB,CAACG,IAAI,EAAEI,IAAI,EAAE,GAAGH,IAAI,CAAC;AACrD;AACA,MAAMK,QAAQ,GAAG,CAAC,CAAC,EAAE,0DAA0D,EAAE,CAAC,CAAC;AACnF;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,SAASC,OAAOA,CAACP,IAAI,EAAE,GAAGC,IAAI,EAAE;EACnC,OAAOJ,qBAAqB,CAACG,IAAI,EAAEM,QAAQ,EAAE,GAAGL,IAAI,CAAC;AACzD","ignoreList":[]}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@osdk/foundry.connectivity",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.3.0",
|
|
4
4
|
"license": "Apache-2.0",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -18,16 +18,17 @@
|
|
|
18
18
|
},
|
|
19
19
|
"dependencies": {
|
|
20
20
|
"@osdk/shared.client": "^1.0.1",
|
|
21
|
-
"@osdk/shared.
|
|
22
|
-
"@osdk/
|
|
23
|
-
"@osdk/foundry.
|
|
24
|
-
"@osdk/foundry.
|
|
21
|
+
"@osdk/shared.client2": "^1.0.0",
|
|
22
|
+
"@osdk/shared.net.platformapi": "~0.3.2",
|
|
23
|
+
"@osdk/foundry.core": "2.3.0",
|
|
24
|
+
"@osdk/foundry.datasets": "2.3.0",
|
|
25
|
+
"@osdk/foundry.orchestration": "2.3.0"
|
|
25
26
|
},
|
|
26
27
|
"devDependencies": {
|
|
27
28
|
"typescript": "^5.5.4",
|
|
28
29
|
"@osdk/monorepo.api-extractor": "~0.0.0",
|
|
29
|
-
"@osdk/monorepo.
|
|
30
|
-
"@osdk/monorepo.
|
|
30
|
+
"@osdk/monorepo.tsconfig": "~0.0.0",
|
|
31
|
+
"@osdk/monorepo.tsup": "~0.0.0"
|
|
31
32
|
},
|
|
32
33
|
"publishConfig": {
|
|
33
34
|
"access": "public"
|
|
@@ -46,7 +47,7 @@
|
|
|
46
47
|
"sls": {
|
|
47
48
|
"dependencies": {
|
|
48
49
|
"com.palantir.foundry.api:api-gateway": {
|
|
49
|
-
"minVersion": "1.
|
|
50
|
+
"minVersion": "1.969.0",
|
|
50
51
|
"maxVersion": "1.x.x",
|
|
51
52
|
"optional": true
|
|
52
53
|
}
|