@databricks/sdk-uc-connections 0.27.0 → 0.35.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.
@@ -1,259 +1,262 @@
1
- import { z } from 'zod';
2
- export declare const ConnectionType: {
3
- readonly UNKNOWN_CONNECTION_TYPE: "UNKNOWN_CONNECTION_TYPE";
4
- readonly MYSQL: "MYSQL";
5
- readonly POSTGRESQL: "POSTGRESQL";
6
- readonly SNOWFLAKE: "SNOWFLAKE";
7
- readonly REDSHIFT: "REDSHIFT";
8
- readonly SQLDW: "SQLDW";
9
- readonly SQLSERVER: "SQLSERVER";
10
- readonly DATABRICKS: "DATABRICKS";
11
- readonly SALESFORCE: "SALESFORCE";
12
- readonly BIGQUERY: "BIGQUERY";
13
- readonly WORKDAY_RAAS: "WORKDAY_RAAS";
14
- readonly HIVE_METASTORE: "HIVE_METASTORE";
15
- readonly GA4_RAW_DATA: "GA4_RAW_DATA";
16
- readonly SERVICENOW: "SERVICENOW";
17
- readonly SALESFORCE_DATA_CLOUD: "SALESFORCE_DATA_CLOUD";
18
- readonly GLUE: "GLUE";
19
- readonly ORACLE: "ORACLE";
20
- readonly TERADATA: "TERADATA";
21
- readonly HTTP: "HTTP";
22
- readonly POWER_BI: "POWER_BI";
23
- readonly DYNAMICS365: "DYNAMICS365";
24
- readonly CONFLUENCE: "CONFLUENCE";
25
- readonly JDBC: "JDBC";
26
- readonly META_MARKETING: "META_MARKETING";
27
- readonly HUBSPOT: "HUBSPOT";
28
- readonly ZENDESK: "ZENDESK";
29
- readonly GITHUB: "GITHUB";
30
- readonly OUTLOOK: "OUTLOOK";
31
- readonly SMARTSHEET: "SMARTSHEET";
1
+ import { z } from "zod";
2
+
3
+ //#region src/v1/model.d.ts
4
+ declare const ConnectionType: {
5
+ readonly UNKNOWN_CONNECTION_TYPE: "UNKNOWN_CONNECTION_TYPE";
6
+ readonly MYSQL: "MYSQL";
7
+ readonly POSTGRESQL: "POSTGRESQL";
8
+ readonly SNOWFLAKE: "SNOWFLAKE";
9
+ readonly REDSHIFT: "REDSHIFT";
10
+ readonly SQLDW: "SQLDW";
11
+ readonly SQLSERVER: "SQLSERVER";
12
+ readonly DATABRICKS: "DATABRICKS";
13
+ readonly SALESFORCE: "SALESFORCE";
14
+ readonly BIGQUERY: "BIGQUERY";
15
+ readonly NETSUITE: "NETSUITE";
16
+ readonly WORKDAY_RAAS: "WORKDAY_RAAS";
17
+ readonly HIVE_METASTORE: "HIVE_METASTORE";
18
+ readonly GA4_RAW_DATA: "GA4_RAW_DATA";
19
+ readonly SERVICENOW: "SERVICENOW";
20
+ readonly SALESFORCE_DATA_CLOUD: "SALESFORCE_DATA_CLOUD";
21
+ readonly GLUE: "GLUE";
22
+ readonly ORACLE: "ORACLE";
23
+ readonly TERADATA: "TERADATA";
24
+ readonly HTTP: "HTTP";
25
+ readonly POWER_BI: "POWER_BI";
26
+ readonly DYNAMICS365: "DYNAMICS365";
27
+ readonly CONFLUENCE: "CONFLUENCE";
28
+ readonly JDBC: "JDBC";
29
+ readonly META_MARKETING: "META_MARKETING";
30
+ readonly HUBSPOT: "HUBSPOT";
31
+ readonly ZENDESK: "ZENDESK";
32
+ readonly GITHUB: "GITHUB";
33
+ readonly OUTLOOK: "OUTLOOK";
34
+ readonly SMARTSHEET: "SMARTSHEET";
32
35
  };
33
- export type ConnectionType = (typeof ConnectionType)[keyof typeof ConnectionType] | (string & {});
34
- export declare const CredentialType: {
35
- readonly UNKNOWN_CREDENTIAL_TYPE: "UNKNOWN_CREDENTIAL_TYPE";
36
- readonly USERNAME_PASSWORD: "USERNAME_PASSWORD";
37
- readonly OAUTH_U2M: "OAUTH_U2M";
38
- readonly OAUTH_M2M: "OAUTH_M2M";
39
- readonly OAUTH_REFRESH_TOKEN: "OAUTH_REFRESH_TOKEN";
40
- readonly OAUTH_ACCESS_TOKEN: "OAUTH_ACCESS_TOKEN";
41
- readonly OAUTH_RESOURCE_OWNER_PASSWORD: "OAUTH_RESOURCE_OWNER_PASSWORD";
42
- readonly SERVICE_CREDENTIAL: "SERVICE_CREDENTIAL";
43
- readonly BEARER_TOKEN: "BEARER_TOKEN";
44
- readonly OIDC_TOKEN: "OIDC_TOKEN";
45
- readonly PEM_PRIVATE_KEY: "PEM_PRIVATE_KEY";
46
- readonly OAUTH_U2M_MAPPING: "OAUTH_U2M_MAPPING";
47
- readonly ANY_STATIC_CREDENTIAL: "ANY_STATIC_CREDENTIAL";
48
- readonly OAUTH_MTLS: "OAUTH_MTLS";
49
- readonly SSWS_TOKEN: "SSWS_TOKEN";
50
- readonly EDGEGRID_AKAMAI: "EDGEGRID_AKAMAI";
36
+ type ConnectionType = (typeof ConnectionType)[keyof typeof ConnectionType] | (string & {});
37
+ declare const CredentialType: {
38
+ readonly UNKNOWN_CREDENTIAL_TYPE: "UNKNOWN_CREDENTIAL_TYPE";
39
+ readonly USERNAME_PASSWORD: "USERNAME_PASSWORD";
40
+ readonly OAUTH_U2M: "OAUTH_U2M";
41
+ readonly OAUTH_M2M: "OAUTH_M2M";
42
+ readonly OAUTH_REFRESH_TOKEN: "OAUTH_REFRESH_TOKEN";
43
+ readonly OAUTH_ACCESS_TOKEN: "OAUTH_ACCESS_TOKEN";
44
+ readonly OAUTH_RESOURCE_OWNER_PASSWORD: "OAUTH_RESOURCE_OWNER_PASSWORD";
45
+ readonly SERVICE_CREDENTIAL: "SERVICE_CREDENTIAL";
46
+ readonly BEARER_TOKEN: "BEARER_TOKEN";
47
+ readonly OIDC_TOKEN: "OIDC_TOKEN";
48
+ readonly PEM_PRIVATE_KEY: "PEM_PRIVATE_KEY";
49
+ readonly OAUTH_U2M_MAPPING: "OAUTH_U2M_MAPPING";
50
+ readonly ANY_STATIC_CREDENTIAL: "ANY_STATIC_CREDENTIAL";
51
+ readonly OAUTH_MTLS: "OAUTH_MTLS";
52
+ readonly SSWS_TOKEN: "SSWS_TOKEN";
53
+ readonly EDGEGRID_AKAMAI: "EDGEGRID_AKAMAI";
51
54
  };
52
- export type CredentialType = (typeof CredentialType)[keyof typeof CredentialType] | (string & {});
55
+ type CredentialType = (typeof CredentialType)[keyof typeof CredentialType] | (string & {});
53
56
  /** The type of Unity Catalog securable. */
54
- export declare const SecurableType: {
55
- readonly CATALOG: "CATALOG";
56
- readonly SCHEMA: "SCHEMA";
57
- readonly TABLE: "TABLE";
58
- readonly STORAGE_CREDENTIAL: "STORAGE_CREDENTIAL";
59
- readonly EXTERNAL_LOCATION: "EXTERNAL_LOCATION";
60
- readonly FUNCTION: "FUNCTION";
61
- readonly SHARE: "SHARE";
62
- readonly PROVIDER: "PROVIDER";
63
- readonly RECIPIENT: "RECIPIENT";
64
- readonly CLEAN_ROOM: "CLEAN_ROOM";
65
- readonly METASTORE: "METASTORE";
66
- readonly PIPELINE: "PIPELINE";
67
- readonly VOLUME: "VOLUME";
68
- readonly CONNECTION: "CONNECTION";
69
- readonly CREDENTIAL: "CREDENTIAL";
70
- readonly EXTERNAL_METADATA: "EXTERNAL_METADATA";
71
- /** TODO: [UC-2980] Staging tables aren't full-fleged securables yet. */
72
- readonly STAGING_TABLE: "STAGING_TABLE";
57
+ declare const SecurableType: {
58
+ readonly CATALOG: "CATALOG";
59
+ readonly SCHEMA: "SCHEMA";
60
+ readonly TABLE: "TABLE";
61
+ readonly STORAGE_CREDENTIAL: "STORAGE_CREDENTIAL";
62
+ readonly EXTERNAL_LOCATION: "EXTERNAL_LOCATION";
63
+ readonly FUNCTION: "FUNCTION";
64
+ readonly SHARE: "SHARE";
65
+ readonly PROVIDER: "PROVIDER";
66
+ readonly RECIPIENT: "RECIPIENT";
67
+ readonly CLEAN_ROOM: "CLEAN_ROOM";
68
+ readonly METASTORE: "METASTORE";
69
+ readonly PIPELINE: "PIPELINE";
70
+ readonly VOLUME: "VOLUME";
71
+ readonly CONNECTION: "CONNECTION";
72
+ readonly CREDENTIAL: "CREDENTIAL";
73
+ readonly EXTERNAL_METADATA: "EXTERNAL_METADATA"; /** TODO: [UC-2980] Staging tables aren't full-fleged securables yet. */
74
+ readonly STAGING_TABLE: "STAGING_TABLE";
73
75
  };
74
- export type SecurableType = (typeof SecurableType)[keyof typeof SecurableType] | (string & {});
75
- export declare const ProvisioningInfo_State: {
76
- readonly STATE_UNSPECIFIED: "";
77
- readonly PROVISIONING: "PROVISIONING";
78
- readonly ACTIVE: "ACTIVE";
79
- readonly FAILED: "FAILED";
80
- readonly DELETING: "DELETING";
81
- readonly UPDATING: "UPDATING";
82
- readonly DEGRADED: "DEGRADED";
76
+ type SecurableType = (typeof SecurableType)[keyof typeof SecurableType] | (string & {});
77
+ declare const ProvisioningInfo_State: {
78
+ readonly STATE_UNSPECIFIED: "STATE_UNSPECIFIED";
79
+ readonly PROVISIONING: "PROVISIONING";
80
+ readonly ACTIVE: "ACTIVE";
81
+ readonly FAILED: "FAILED";
82
+ readonly DELETING: "DELETING";
83
+ readonly UPDATING: "UPDATING";
84
+ readonly DEGRADED: "DEGRADED";
83
85
  };
84
- export type ProvisioningInfo_State = (typeof ProvisioningInfo_State)[keyof typeof ProvisioningInfo_State] | (string & {});
85
- export interface ConnectionInfo {
86
- /** Name of the connection. */
87
- name?: string | undefined;
88
- /** The type of connection. */
89
- connectionType?: ConnectionType | undefined;
90
- /** Username of current owner of the connection. */
91
- owner?: string | undefined;
92
- /** If the connection is read only. */
93
- readOnly?: boolean | undefined;
94
- /** User-provided free-form text description. */
95
- comment?: string | undefined;
96
- /** [Create,Update:OPT] Connection environment settings as EnvironmentSettings object. */
97
- environmentSettings?: EnvironmentSettings | undefined;
98
- /** Full name of connection. */
99
- fullName?: string | undefined;
100
- /** URL of the remote data source, extracted from options. */
101
- url?: string | undefined;
102
- /** The type of credential. */
103
- credentialType?: CredentialType | undefined;
104
- /** Unique identifier of the Connection. */
105
- connectionId?: string | undefined;
106
- /** Unique identifier of parent metastore. */
107
- metastoreId?: string | undefined;
108
- /** Time at which this connection was created, in epoch milliseconds. */
109
- createdAt?: bigint | undefined;
110
- /** Username of connection creator. */
111
- createdBy?: string | undefined;
112
- /** Time at which this connection was updated, in epoch milliseconds. */
113
- updatedAt?: bigint | undefined;
114
- /** Username of user who last modified connection. */
115
- updatedBy?: string | undefined;
116
- securableType?: SecurableType | undefined;
117
- provisioningInfo?: ProvisioningInfo | undefined;
118
- /** A map of key-value properties attached to the securable. */
119
- options?: Record<string, string> | undefined;
120
- /** A map of key-value properties attached to the securable. */
121
- properties?: Record<string, string> | undefined;
86
+ type ProvisioningInfo_State = (typeof ProvisioningInfo_State)[keyof typeof ProvisioningInfo_State] | (string & {});
87
+ interface ConnectionInfo {
88
+ /** Name of the connection. */
89
+ name?: string | undefined;
90
+ /** The type of connection. */
91
+ connectionType?: ConnectionType | undefined;
92
+ /** Username of current owner of the connection. */
93
+ owner?: string | undefined;
94
+ /** If the connection is read only. */
95
+ readOnly?: boolean | undefined;
96
+ /** User-provided free-form text description. */
97
+ comment?: string | undefined;
98
+ /** [Create,Update:OPT] Connection environment settings as EnvironmentSettings object. */
99
+ environmentSettings?: EnvironmentSettings | undefined;
100
+ /** Full name of connection. */
101
+ fullName?: string | undefined;
102
+ /** URL of the remote data source, extracted from options. */
103
+ url?: string | undefined;
104
+ /** The type of credential. */
105
+ credentialType?: CredentialType | undefined;
106
+ /** Unique identifier of the Connection. */
107
+ connectionId?: string | undefined;
108
+ /** Unique identifier of parent metastore. */
109
+ metastoreId?: string | undefined;
110
+ /** Time at which this connection was created, in epoch milliseconds. */
111
+ createdAt?: bigint | undefined;
112
+ /** Username of connection creator. */
113
+ createdBy?: string | undefined;
114
+ /** Time at which this connection was updated, in epoch milliseconds. */
115
+ updatedAt?: bigint | undefined;
116
+ /** Username of user who last modified connection. */
117
+ updatedBy?: string | undefined;
118
+ securableType?: SecurableType | undefined;
119
+ provisioningInfo?: ProvisioningInfo | undefined;
120
+ /** A map of key-value properties attached to the securable. */
121
+ options?: Record<string, string> | undefined;
122
+ /** A map of key-value properties attached to the securable. */
123
+ properties?: Record<string, string> | undefined;
122
124
  }
123
- export interface CreateConnectionRequest {
124
- /**
125
- * Parent schema for schema-level connections, in format "schemas/{catalog}.{schema}".
126
- * Absent for metastore-level (L1) connections.
127
- */
128
- parent?: string | undefined;
129
- /** Name of the connection. */
130
- name?: string | undefined;
131
- /** The type of connection. */
132
- connectionType?: ConnectionType | undefined;
133
- /** Username of current owner of the connection. */
134
- owner?: string | undefined;
135
- /** If the connection is read only. */
136
- readOnly?: boolean | undefined;
137
- /** User-provided free-form text description. */
138
- comment?: string | undefined;
139
- /** [Create,Update:OPT] Connection environment settings as EnvironmentSettings object. */
140
- environmentSettings?: EnvironmentSettings | undefined;
141
- /** Full name of connection. */
142
- fullName?: string | undefined;
143
- /** URL of the remote data source, extracted from options. */
144
- url?: string | undefined;
145
- /** The type of credential. */
146
- credentialType?: CredentialType | undefined;
147
- /** Unique identifier of the Connection. */
148
- connectionId?: string | undefined;
149
- /** Unique identifier of parent metastore. */
150
- metastoreId?: string | undefined;
151
- /** Time at which this connection was created, in epoch milliseconds. */
152
- createdAt?: bigint | undefined;
153
- /** Username of connection creator. */
154
- createdBy?: string | undefined;
155
- /** Time at which this connection was updated, in epoch milliseconds. */
156
- updatedAt?: bigint | undefined;
157
- /** Username of user who last modified connection. */
158
- updatedBy?: string | undefined;
159
- securableType?: SecurableType | undefined;
160
- provisioningInfo?: ProvisioningInfo | undefined;
161
- /** A map of key-value properties attached to the securable. */
162
- options?: Record<string, string> | undefined;
163
- /** A map of key-value properties attached to the securable. */
164
- properties?: Record<string, string> | undefined;
125
+ interface CreateConnectionRequest {
126
+ /**
127
+ * Parent schema for schema-level connections, in format "schemas/{catalog}.{schema}".
128
+ * Absent for metastore-level (L1) connections.
129
+ */
130
+ parent?: string | undefined;
131
+ /** Name of the connection. */
132
+ name?: string | undefined;
133
+ /** The type of connection. */
134
+ connectionType?: ConnectionType | undefined;
135
+ /** Username of current owner of the connection. */
136
+ owner?: string | undefined;
137
+ /** If the connection is read only. */
138
+ readOnly?: boolean | undefined;
139
+ /** User-provided free-form text description. */
140
+ comment?: string | undefined;
141
+ /** [Create,Update:OPT] Connection environment settings as EnvironmentSettings object. */
142
+ environmentSettings?: EnvironmentSettings | undefined;
143
+ /** Full name of connection. */
144
+ fullName?: string | undefined;
145
+ /** URL of the remote data source, extracted from options. */
146
+ url?: string | undefined;
147
+ /** The type of credential. */
148
+ credentialType?: CredentialType | undefined;
149
+ /** Unique identifier of the Connection. */
150
+ connectionId?: string | undefined;
151
+ /** Unique identifier of parent metastore. */
152
+ metastoreId?: string | undefined;
153
+ /** Time at which this connection was created, in epoch milliseconds. */
154
+ createdAt?: bigint | undefined;
155
+ /** Username of connection creator. */
156
+ createdBy?: string | undefined;
157
+ /** Time at which this connection was updated, in epoch milliseconds. */
158
+ updatedAt?: bigint | undefined;
159
+ /** Username of user who last modified connection. */
160
+ updatedBy?: string | undefined;
161
+ securableType?: SecurableType | undefined;
162
+ provisioningInfo?: ProvisioningInfo | undefined;
163
+ /** A map of key-value properties attached to the securable. */
164
+ options?: Record<string, string> | undefined;
165
+ /** A map of key-value properties attached to the securable. */
166
+ properties?: Record<string, string> | undefined;
165
167
  }
166
- export interface DeleteConnectionRequest {
167
- /** The name of the connection to be deleted. */
168
- nameArg?: string | undefined;
168
+ interface DeleteConnectionRequest {
169
+ /** The name of the connection to be deleted. */
170
+ nameArg?: string | undefined;
169
171
  }
170
- export interface DeleteConnectionResponse {
172
+ interface DeleteConnectionResponse {}
173
+ interface EnvironmentSettings {
174
+ javaDependencies?: string[] | undefined;
175
+ environmentVersion?: string | undefined;
171
176
  }
172
- export interface EnvironmentSettings {
173
- javaDependencies?: string[] | undefined;
174
- environmentVersion?: string | undefined;
177
+ interface GetConnectionRequest {
178
+ /** Name of the connection. */
179
+ nameArg?: string | undefined;
175
180
  }
176
- export interface GetConnectionRequest {
177
- /** Name of the connection. */
178
- nameArg?: string | undefined;
181
+ interface ListConnectionsRequest {
182
+ /**
183
+ * Maximum number of connections to return.
184
+ * - If not set, all connections are returned (not recommended).
185
+ * - when set to a value greater than 0, the page length is the minimum of this value and a server configured value;
186
+ * - when set to 0, the page length is set to a server configured value (recommended);
187
+ * - when set to a value less than 0, an invalid parameter error is returned;
188
+ */
189
+ maxResults?: number | undefined;
190
+ /** Opaque pagination token to go to next page based on previous query. */
191
+ pageToken?: string | undefined;
192
+ /** Optional. Parent schema filter for listing schema-level connections, in format "schemas/{catalog}.{schema}". */
193
+ parent?: string | undefined;
179
194
  }
180
- export interface ListConnectionsRequest {
181
- /**
182
- * Maximum number of connections to return.
183
- * - If not set, all connections are returned (not recommended).
184
- * - when set to a value greater than 0, the page length is the minimum of this value and a server configured value;
185
- * - when set to 0, the page length is set to a server configured value (recommended);
186
- * - when set to a value less than 0, an invalid parameter error is returned;
187
- */
188
- maxResults?: number | undefined;
189
- /** Opaque pagination token to go to next page based on previous query. */
190
- pageToken?: string | undefined;
191
- /** Optional. Parent schema filter for listing schema-level connections, in format "schemas/{catalog}.{schema}". */
192
- parent?: string | undefined;
193
- }
194
- export interface ListConnectionsResponse {
195
- /** An array of connection information objects. */
196
- connections?: ConnectionInfo[] | undefined;
197
- /**
198
- * Opaque token to retrieve the next page of results. Absent if there are no more pages.
199
- * __page_token__ should be set to this value for the next request (for the next page of results).
200
- */
201
- nextPageToken?: string | undefined;
195
+ interface ListConnectionsResponse {
196
+ /** An array of connection information objects. */
197
+ connections?: ConnectionInfo[] | undefined;
198
+ /**
199
+ * Opaque token to retrieve the next page of results. Absent if there are no more pages.
200
+ * __page_token__ should be set to this value for the next request (for the next page of results).
201
+ */
202
+ nextPageToken?: string | undefined;
202
203
  }
203
204
  /** Status of an asynchronously provisioned resource. */
204
- export interface ProvisioningInfo {
205
- /** The provisioning state of the resource. */
206
- state?: ProvisioningInfo_State | undefined;
205
+ interface ProvisioningInfo {
206
+ /** The provisioning state of the resource. */
207
+ state?: ProvisioningInfo_State | undefined;
207
208
  }
208
- export interface UpdateConnectionRequest {
209
- /** Name of the connection. */
210
- nameArg?: string | undefined;
211
- /** New name for the connection. */
212
- newName?: string | undefined;
213
- /** Name of the connection. */
214
- name?: string | undefined;
215
- /** The type of connection. */
216
- connectionType?: ConnectionType | undefined;
217
- /** Username of current owner of the connection. */
218
- owner?: string | undefined;
219
- /** If the connection is read only. */
220
- readOnly?: boolean | undefined;
221
- /** User-provided free-form text description. */
222
- comment?: string | undefined;
223
- /** [Create,Update:OPT] Connection environment settings as EnvironmentSettings object. */
224
- environmentSettings?: EnvironmentSettings | undefined;
225
- /** Full name of connection. */
226
- fullName?: string | undefined;
227
- /** URL of the remote data source, extracted from options. */
228
- url?: string | undefined;
229
- /** The type of credential. */
230
- credentialType?: CredentialType | undefined;
231
- /** Unique identifier of the Connection. */
232
- connectionId?: string | undefined;
233
- /** Unique identifier of parent metastore. */
234
- metastoreId?: string | undefined;
235
- /** Time at which this connection was created, in epoch milliseconds. */
236
- createdAt?: bigint | undefined;
237
- /** Username of connection creator. */
238
- createdBy?: string | undefined;
239
- /** Time at which this connection was updated, in epoch milliseconds. */
240
- updatedAt?: bigint | undefined;
241
- /** Username of user who last modified connection. */
242
- updatedBy?: string | undefined;
243
- securableType?: SecurableType | undefined;
244
- provisioningInfo?: ProvisioningInfo | undefined;
245
- /** A map of key-value properties attached to the securable. */
246
- options?: Record<string, string> | undefined;
247
- /** A map of key-value properties attached to the securable. */
248
- properties?: Record<string, string> | undefined;
209
+ interface UpdateConnectionRequest {
210
+ /** Name of the connection. */
211
+ nameArg?: string | undefined;
212
+ /** New name for the connection. */
213
+ newName?: string | undefined;
214
+ /** Name of the connection. */
215
+ name?: string | undefined;
216
+ /** The type of connection. */
217
+ connectionType?: ConnectionType | undefined;
218
+ /** Username of current owner of the connection. */
219
+ owner?: string | undefined;
220
+ /** If the connection is read only. */
221
+ readOnly?: boolean | undefined;
222
+ /** User-provided free-form text description. */
223
+ comment?: string | undefined;
224
+ /** [Create,Update:OPT] Connection environment settings as EnvironmentSettings object. */
225
+ environmentSettings?: EnvironmentSettings | undefined;
226
+ /** Full name of connection. */
227
+ fullName?: string | undefined;
228
+ /** URL of the remote data source, extracted from options. */
229
+ url?: string | undefined;
230
+ /** The type of credential. */
231
+ credentialType?: CredentialType | undefined;
232
+ /** Unique identifier of the Connection. */
233
+ connectionId?: string | undefined;
234
+ /** Unique identifier of parent metastore. */
235
+ metastoreId?: string | undefined;
236
+ /** Time at which this connection was created, in epoch milliseconds. */
237
+ createdAt?: bigint | undefined;
238
+ /** Username of connection creator. */
239
+ createdBy?: string | undefined;
240
+ /** Time at which this connection was updated, in epoch milliseconds. */
241
+ updatedAt?: bigint | undefined;
242
+ /** Username of user who last modified connection. */
243
+ updatedBy?: string | undefined;
244
+ securableType?: SecurableType | undefined;
245
+ provisioningInfo?: ProvisioningInfo | undefined;
246
+ /** A map of key-value properties attached to the securable. */
247
+ options?: Record<string, string> | undefined;
248
+ /** A map of key-value properties attached to the securable. */
249
+ properties?: Record<string, string> | undefined;
249
250
  }
250
- export declare const unmarshalConnectionInfoSchema: z.ZodType<ConnectionInfo>;
251
- export declare const unmarshalDeleteConnectionResponseSchema: z.ZodType<DeleteConnectionResponse>;
252
- export declare const unmarshalEnvironmentSettingsSchema: z.ZodType<EnvironmentSettings>;
253
- export declare const unmarshalListConnectionsResponseSchema: z.ZodType<ListConnectionsResponse>;
254
- export declare const unmarshalProvisioningInfoSchema: z.ZodType<ProvisioningInfo>;
255
- export declare const marshalCreateConnectionRequestSchema: z.ZodType;
256
- export declare const marshalEnvironmentSettingsSchema: z.ZodType;
257
- export declare const marshalProvisioningInfoSchema: z.ZodType;
258
- export declare const marshalUpdateConnectionRequestSchema: z.ZodType;
251
+ declare const unmarshalConnectionInfoSchema: z.ZodType<ConnectionInfo>;
252
+ declare const unmarshalDeleteConnectionResponseSchema: z.ZodType<DeleteConnectionResponse>;
253
+ declare const unmarshalEnvironmentSettingsSchema: z.ZodType<EnvironmentSettings>;
254
+ declare const unmarshalListConnectionsResponseSchema: z.ZodType<ListConnectionsResponse>;
255
+ declare const unmarshalProvisioningInfoSchema: z.ZodType<ProvisioningInfo>;
256
+ declare const marshalCreateConnectionRequestSchema: z.ZodType;
257
+ declare const marshalEnvironmentSettingsSchema: z.ZodType;
258
+ declare const marshalProvisioningInfoSchema: z.ZodType;
259
+ declare const marshalUpdateConnectionRequestSchema: z.ZodType;
260
+ //#endregion
261
+ export { ConnectionInfo, ConnectionType, CreateConnectionRequest, CredentialType, DeleteConnectionRequest, DeleteConnectionResponse, EnvironmentSettings, GetConnectionRequest, ListConnectionsRequest, ListConnectionsResponse, ProvisioningInfo, ProvisioningInfo_State, SecurableType, UpdateConnectionRequest, marshalCreateConnectionRequestSchema, marshalEnvironmentSettingsSchema, marshalProvisioningInfoSchema, marshalUpdateConnectionRequestSchema, unmarshalConnectionInfoSchema, unmarshalDeleteConnectionResponseSchema, unmarshalEnvironmentSettingsSchema, unmarshalListConnectionsResponseSchema, unmarshalProvisioningInfoSchema };
259
262
  //# sourceMappingURL=model.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"model.d.ts","sourceRoot":"","sources":["../../src/v1/model.ts"],"names":[],"mappings":"AAEA,OAAO,EAAC,CAAC,EAAC,MAAM,KAAK,CAAC;AAGtB,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA8BjB,CAAC;AACX,MAAM,MAAM,cAAc,GACtB,CAAC,OAAO,cAAc,CAAC,CAAC,MAAM,OAAO,cAAc,CAAC,GACpD,CAAC,MAAM,GAAG,EAAE,CAAC,CAAC;AAGlB,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;CAiBjB,CAAC;AACX,MAAM,MAAM,cAAc,GACtB,CAAC,OAAO,cAAc,CAAC,CAAC,MAAM,OAAO,cAAc,CAAC,GACpD,CAAC,MAAM,GAAG,EAAE,CAAC,CAAC;AAElB,2CAA2C;AAE3C,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;IAiBxB,wEAAwE;;CAEhE,CAAC;AACX,MAAM,MAAM,aAAa,GACrB,CAAC,OAAO,aAAa,CAAC,CAAC,M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