@membranehq/sdk 0.5.1 → 0.6.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/dist/bundle.d.ts +1949 -3947
- package/dist/bundle.js +9 -4
- package/dist/bundle.js.map +1 -1
- package/dist/dts/accessors/action-instances-accessors.d.ts +5 -2
- package/dist/dts/accessors/actions-accessors.d.ts +2 -2
- package/dist/dts/accessors/connections-accessors.d.ts +8 -22
- package/dist/dts/accessors/integrations-accessors.d.ts +8 -22
- package/dist/dts/errors/index.d.ts +10 -1
- package/dist/dts/workspace-elements/api/action-instances-api.d.ts +122 -68
- package/dist/dts/workspace-elements/api/action-run-log-records-api.d.ts +74 -189
- package/dist/dts/workspace-elements/api/actions-api.d.ts +253 -531
- package/dist/dts/workspace-elements/api/app-data-schema-instances-api.d.ts +21 -21
- package/dist/dts/workspace-elements/api/app-data-schemas-api.d.ts +7 -7
- package/dist/dts/workspace-elements/api/app-event-log-records-api.d.ts +22 -22
- package/dist/dts/workspace-elements/api/app-event-subscriptions-api.d.ts +18 -18
- package/dist/dts/workspace-elements/api/app-event-types-api.d.ts +7 -7
- package/dist/dts/workspace-elements/api/connections-api.d.ts +354 -273
- package/dist/dts/workspace-elements/api/data-link-table-instances-api.d.ts +55 -149
- package/dist/dts/workspace-elements/api/data-link-tables-api.d.ts +7 -7
- package/dist/dts/workspace-elements/api/data-source-instances-api.d.ts +60 -154
- package/dist/dts/workspace-elements/api/data-sources-api.d.ts +62 -254
- package/dist/dts/workspace-elements/api/external-event-log-records-api.d.ts +45 -139
- package/dist/dts/workspace-elements/api/external-event-pulls-api.d.ts +45 -139
- package/dist/dts/workspace-elements/api/external-event-subscriptions-api.d.ts +40 -134
- package/dist/dts/workspace-elements/api/external-events-api.d.ts +20 -128
- package/dist/dts/workspace-elements/api/field-mapping-instances-api.d.ts +158 -374
- package/dist/dts/workspace-elements/api/field-mappings-api.d.ts +56 -248
- package/dist/dts/workspace-elements/api/flow-runs-api.d.ts +140 -356
- package/dist/dts/workspace-elements/api/flows-api.d.ts +265 -753
- package/dist/dts/workspace-elements/api/integrations-api.d.ts +135 -101
- package/dist/dts/workspace-elements/api/scenarios-api.d.ts +21 -105
- package/dist/dts/workspace-elements/base/action-instances/types.d.ts +13 -13
- package/dist/dts/workspace-elements/base/action-run-log-records/types.d.ts +4 -3
- package/dist/dts/workspace-elements/base/actions/index.d.ts +111 -1
- package/dist/dts/workspace-elements/base/app-data-schema-instances/types.d.ts +11 -10
- package/dist/dts/workspace-elements/base/app-data-schemas/types.d.ts +7 -7
- package/dist/dts/workspace-elements/base/app-event-subscriptions/types.d.ts +7 -7
- package/dist/dts/workspace-elements/base/app-event-types/types.d.ts +7 -7
- package/dist/dts/workspace-elements/base/connections/types.d.ts +14 -19
- package/dist/dts/workspace-elements/base/data-link-table-instances/types.d.ts +7 -7
- package/dist/dts/workspace-elements/base/data-link-tables/types.d.ts +7 -7
- package/dist/dts/workspace-elements/base/data-source-instances/types.d.ts +10 -9
- package/dist/dts/workspace-elements/base/data-sources/types.d.ts +8 -8
- package/dist/dts/workspace-elements/base/external-event-log-records/types.d.ts +4 -3
- package/dist/dts/workspace-elements/base/external-event-pulls/types.d.ts +4 -3
- package/dist/dts/workspace-elements/base/external-event-subscriptions/types.d.ts +4 -3
- package/dist/dts/workspace-elements/base/field-mapping-instances/types.d.ts +11 -10
- package/dist/dts/workspace-elements/base/field-mappings/types.d.ts +9 -9
- package/dist/dts/workspace-elements/base/flow-instances/schemas.d.ts +12 -12
- package/dist/dts/workspace-elements/base/flow-instances/types.d.ts +17 -16
- package/dist/dts/workspace-elements/base/flow-runs/flow-node-runs.d.ts +16 -16
- package/dist/dts/workspace-elements/base/flow-runs/types.d.ts +6 -5
- package/dist/dts/workspace-elements/base/flows/types.d.ts +21 -21
- package/dist/dts/workspace-elements/base/integrations/types.d.ts +48 -455
- package/dist/dts/workspace-elements/base/scenarios/types.d.ts +7 -7
- package/dist/dts/workspace-elements/types.d.ts +53 -9
- package/dist/dts/workspace-elements-catalog/index.d.ts +3 -0
- package/dist/dts/workspaces/types.d.ts +3 -1
- package/dist/index.d.ts +2791 -5337
- package/dist/index.js +70 -66
- package/dist/index.js.map +1 -1
- package/dist/index.module.d.mts +2791 -5337
- package/dist/index.module.mjs +67 -66
- package/dist/index.module.mjs.map +1 -1
- package/package.json +1 -3
- package/dist/dts/workspace-elements/base/actions/types.d.ts +0 -85
|
@@ -54,16 +54,16 @@ export interface DataLinkSelector extends DataLinkInTableSelector {
|
|
|
54
54
|
}
|
|
55
55
|
export declare const DataLinkTableInstanceApiResponse: z.ZodObject<{
|
|
56
56
|
id: z.ZodString;
|
|
57
|
-
name: z.ZodString;
|
|
58
57
|
key: z.ZodOptional<z.ZodString>;
|
|
59
58
|
uuid: z.ZodOptional<z.ZodString>;
|
|
60
59
|
description: z.ZodOptional<z.ZodString>;
|
|
60
|
+
name: z.ZodString;
|
|
61
61
|
state: z.ZodOptional<z.ZodNativeEnum<typeof import("..").WorkspaceElementState>>;
|
|
62
|
-
errors: z.ZodOptional<z.ZodArray<
|
|
62
|
+
errors: z.ZodOptional<z.ZodArray<z.ZodType<import("../..").ErrorDataSchema, z.ZodTypeDef, import("../..").ErrorDataSchema>, "many">>;
|
|
63
63
|
revision: z.ZodOptional<z.ZodString>;
|
|
64
|
-
isDeactivated: z.ZodOptional<z.ZodBoolean>;
|
|
65
64
|
createdAt: z.ZodOptional<z.ZodString>;
|
|
66
65
|
updatedAt: z.ZodOptional<z.ZodString>;
|
|
66
|
+
isDeactivated: z.ZodOptional<z.ZodBoolean>;
|
|
67
67
|
} & {
|
|
68
68
|
dataLinkTableId: z.ZodOptional<z.ZodString>;
|
|
69
69
|
connectionId: z.ZodOptional<z.ZodString>;
|
|
@@ -74,16 +74,16 @@ export declare const DataLinkTableInstanceApiResponse: z.ZodObject<{
|
|
|
74
74
|
} & {
|
|
75
75
|
dataLinkTable: z.ZodOptional<z.ZodObject<{
|
|
76
76
|
id: z.ZodString;
|
|
77
|
-
name: z.ZodString;
|
|
78
77
|
key: z.ZodOptional<z.ZodString>;
|
|
79
78
|
uuid: z.ZodOptional<z.ZodString>;
|
|
80
79
|
description: z.ZodOptional<z.ZodString>;
|
|
80
|
+
name: z.ZodString;
|
|
81
81
|
state: z.ZodOptional<z.ZodNativeEnum<typeof import("..").WorkspaceElementState>>;
|
|
82
|
-
errors: z.ZodOptional<z.ZodArray<
|
|
82
|
+
errors: z.ZodOptional<z.ZodArray<z.ZodType<import("../..").ErrorDataSchema, z.ZodTypeDef, import("../..").ErrorDataSchema>, "many">>;
|
|
83
83
|
revision: z.ZodOptional<z.ZodString>;
|
|
84
|
-
isDeactivated: z.ZodOptional<z.ZodBoolean>;
|
|
85
84
|
createdAt: z.ZodOptional<z.ZodString>;
|
|
86
85
|
updatedAt: z.ZodOptional<z.ZodString>;
|
|
86
|
+
isDeactivated: z.ZodOptional<z.ZodBoolean>;
|
|
87
87
|
} & {
|
|
88
88
|
archivedAt: z.ZodOptional<z.ZodString>;
|
|
89
89
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -93,12 +93,12 @@ export declare const DataLinkTableInstanceApiResponse: z.ZodObject<{
|
|
|
93
93
|
uuid?: string | undefined;
|
|
94
94
|
description?: string | undefined;
|
|
95
95
|
state?: import("..").WorkspaceElementState | undefined;
|
|
96
|
-
errors?:
|
|
96
|
+
errors?: import("../..").ErrorDataSchema[] | undefined;
|
|
97
97
|
revision?: string | undefined;
|
|
98
|
-
isDeactivated?: boolean | undefined;
|
|
99
98
|
createdAt?: string | undefined;
|
|
100
99
|
updatedAt?: string | undefined;
|
|
101
100
|
archivedAt?: string | undefined;
|
|
101
|
+
isDeactivated?: boolean | undefined;
|
|
102
102
|
}, {
|
|
103
103
|
id: string;
|
|
104
104
|
name: string;
|
|
@@ -106,12 +106,12 @@ export declare const DataLinkTableInstanceApiResponse: z.ZodObject<{
|
|
|
106
106
|
uuid?: string | undefined;
|
|
107
107
|
description?: string | undefined;
|
|
108
108
|
state?: import("..").WorkspaceElementState | undefined;
|
|
109
|
-
errors?:
|
|
109
|
+
errors?: import("../..").ErrorDataSchema[] | undefined;
|
|
110
110
|
revision?: string | undefined;
|
|
111
|
-
isDeactivated?: boolean | undefined;
|
|
112
111
|
createdAt?: string | undefined;
|
|
113
112
|
updatedAt?: string | undefined;
|
|
114
113
|
archivedAt?: string | undefined;
|
|
114
|
+
isDeactivated?: boolean | undefined;
|
|
115
115
|
}>>;
|
|
116
116
|
connection: z.ZodOptional<z.ZodObject<{
|
|
117
117
|
id: z.ZodString;
|
|
@@ -121,11 +121,9 @@ export declare const DataLinkTableInstanceApiResponse: z.ZodObject<{
|
|
|
121
121
|
isTest: z.ZodOptional<z.ZodBoolean>;
|
|
122
122
|
disconnected: z.ZodOptional<z.ZodBoolean>;
|
|
123
123
|
isDefunct: z.ZodOptional<z.ZodBoolean>;
|
|
124
|
-
error:
|
|
124
|
+
error: z.ZodOptional<z.ZodType<import("../..").ErrorDataSchema, z.ZodTypeDef, import("../..").ErrorDataSchema>>;
|
|
125
125
|
integrationId: z.ZodString;
|
|
126
|
-
|
|
127
|
-
parameters: z.ZodOptional<z.ZodUnknown>;
|
|
128
|
-
connectorParameters: z.ZodOptional<z.ZodUnknown>;
|
|
126
|
+
authOptionKey: z.ZodOptional<z.ZodString>;
|
|
129
127
|
createdAt: z.ZodString;
|
|
130
128
|
updatedAt: z.ZodString;
|
|
131
129
|
lastActiveAt: z.ZodOptional<z.ZodString>;
|
|
@@ -133,7 +131,7 @@ export declare const DataLinkTableInstanceApiResponse: z.ZodObject<{
|
|
|
133
131
|
archivedAt: z.ZodOptional<z.ZodString>;
|
|
134
132
|
isDeactivated: z.ZodOptional<z.ZodBoolean>;
|
|
135
133
|
state: z.ZodOptional<z.ZodNativeEnum<typeof import("..").WorkspaceElementState>>;
|
|
136
|
-
errors: z.ZodOptional<z.ZodArray<
|
|
134
|
+
errors: z.ZodOptional<z.ZodArray<z.ZodType<import("../..").ErrorDataSchema, z.ZodTypeDef, import("../..").ErrorDataSchema>, "many">>;
|
|
137
135
|
meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
138
136
|
}, "strip", z.ZodTypeAny, {
|
|
139
137
|
id: string;
|
|
@@ -142,20 +140,18 @@ export declare const DataLinkTableInstanceApiResponse: z.ZodObject<{
|
|
|
142
140
|
updatedAt: string;
|
|
143
141
|
userId: string;
|
|
144
142
|
integrationId: string;
|
|
145
|
-
error?:
|
|
143
|
+
error?: import("../..").ErrorDataSchema | undefined;
|
|
146
144
|
state?: import("..").WorkspaceElementState | undefined;
|
|
147
|
-
errors?:
|
|
148
|
-
isDeactivated?: boolean | undefined;
|
|
145
|
+
errors?: import("../..").ErrorDataSchema[] | undefined;
|
|
149
146
|
archivedAt?: string | undefined;
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
connectorParameters?: unknown;
|
|
147
|
+
isDeactivated?: boolean | undefined;
|
|
148
|
+
authOptionKey?: string | undefined;
|
|
153
149
|
isTest?: boolean | undefined;
|
|
150
|
+
meta?: Record<string, any> | undefined;
|
|
154
151
|
disconnected?: boolean | undefined;
|
|
155
152
|
isDefunct?: boolean | undefined;
|
|
156
153
|
lastActiveAt?: string | undefined;
|
|
157
154
|
nextCredentialsRefreshAt?: string | undefined;
|
|
158
|
-
meta?: Record<string, any> | undefined;
|
|
159
155
|
}, {
|
|
160
156
|
id: string;
|
|
161
157
|
name: string;
|
|
@@ -163,29 +159,27 @@ export declare const DataLinkTableInstanceApiResponse: z.ZodObject<{
|
|
|
163
159
|
updatedAt: string;
|
|
164
160
|
userId: string;
|
|
165
161
|
integrationId: string;
|
|
166
|
-
error?:
|
|
162
|
+
error?: import("../..").ErrorDataSchema | undefined;
|
|
167
163
|
state?: import("..").WorkspaceElementState | undefined;
|
|
168
|
-
errors?:
|
|
169
|
-
isDeactivated?: boolean | undefined;
|
|
164
|
+
errors?: import("../..").ErrorDataSchema[] | undefined;
|
|
170
165
|
archivedAt?: string | undefined;
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
connectorParameters?: unknown;
|
|
166
|
+
isDeactivated?: boolean | undefined;
|
|
167
|
+
authOptionKey?: string | undefined;
|
|
174
168
|
isTest?: boolean | undefined;
|
|
169
|
+
meta?: Record<string, any> | undefined;
|
|
175
170
|
disconnected?: boolean | undefined;
|
|
176
171
|
isDefunct?: boolean | undefined;
|
|
177
172
|
lastActiveAt?: string | undefined;
|
|
178
173
|
nextCredentialsRefreshAt?: string | undefined;
|
|
179
|
-
meta?: Record<string, any> | undefined;
|
|
180
174
|
}>>;
|
|
181
175
|
integration: z.ZodOptional<z.ZodObject<{
|
|
182
176
|
id: z.ZodString;
|
|
183
|
-
name: z.ZodString;
|
|
184
177
|
key: z.ZodOptional<z.ZodString>;
|
|
185
178
|
uuid: z.ZodOptional<z.ZodString>;
|
|
186
179
|
description: z.ZodOptional<z.ZodString>;
|
|
180
|
+
name: z.ZodString;
|
|
187
181
|
state: z.ZodOptional<z.ZodNativeEnum<typeof import("..").WorkspaceElementState>>;
|
|
188
|
-
errors: z.ZodOptional<z.ZodArray<
|
|
182
|
+
errors: z.ZodOptional<z.ZodArray<z.ZodType<import("../..").ErrorDataSchema, z.ZodTypeDef, import("../..").ErrorDataSchema>, "many">>;
|
|
189
183
|
revision: z.ZodOptional<z.ZodString>;
|
|
190
184
|
createdAt: z.ZodOptional<z.ZodString>;
|
|
191
185
|
updatedAt: z.ZodOptional<z.ZodString>;
|
|
@@ -193,44 +187,8 @@ export declare const DataLinkTableInstanceApiResponse: z.ZodObject<{
|
|
|
193
187
|
logoUri: z.ZodString;
|
|
194
188
|
connectorId: z.ZodOptional<z.ZodString>;
|
|
195
189
|
connectorVersion: z.ZodOptional<z.ZodString>;
|
|
196
|
-
authOptions: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
197
|
-
key: z.ZodString;
|
|
198
|
-
type: z.ZodEnum<["integration-app-token", "membrane-token", "oauth2", "oauth1", "client-credentials", "proxy"]>;
|
|
199
|
-
title: z.ZodOptional<z.ZodString>;
|
|
200
|
-
description: z.ZodOptional<z.ZodString>;
|
|
201
|
-
ui: z.ZodOptional<z.ZodObject<{
|
|
202
|
-
schema: z.ZodOptional<z.ZodAny>;
|
|
203
|
-
helpUri: z.ZodOptional<z.ZodString>;
|
|
204
|
-
}, "strip", z.ZodTypeAny, {
|
|
205
|
-
schema?: any;
|
|
206
|
-
helpUri?: string | undefined;
|
|
207
|
-
}, {
|
|
208
|
-
schema?: any;
|
|
209
|
-
helpUri?: string | undefined;
|
|
210
|
-
}>>;
|
|
211
|
-
}, "strip", z.ZodTypeAny, {
|
|
212
|
-
key: string;
|
|
213
|
-
type: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials";
|
|
214
|
-
description?: string | undefined;
|
|
215
|
-
title?: string | undefined;
|
|
216
|
-
ui?: {
|
|
217
|
-
schema?: any;
|
|
218
|
-
helpUri?: string | undefined;
|
|
219
|
-
} | undefined;
|
|
220
|
-
}, {
|
|
221
|
-
key: string;
|
|
222
|
-
type: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials";
|
|
223
|
-
description?: string | undefined;
|
|
224
|
-
title?: string | undefined;
|
|
225
|
-
ui?: {
|
|
226
|
-
schema?: any;
|
|
227
|
-
helpUri?: string | undefined;
|
|
228
|
-
} | undefined;
|
|
229
|
-
}>, "many">>;
|
|
230
190
|
oAuthCallbackUri: z.ZodOptional<z.ZodString>;
|
|
231
|
-
parametersSchema: z.ZodOptional<z.ZodType<import("../..").DataSchema, z.ZodTypeDef, import("../..").DataSchema>>;
|
|
232
191
|
parameters: z.ZodOptional<z.ZodAny>;
|
|
233
|
-
baseUri: z.ZodString;
|
|
234
192
|
archivedAt: z.ZodOptional<z.ZodString>;
|
|
235
193
|
hasMissingParameters: z.ZodOptional<z.ZodBoolean>;
|
|
236
194
|
hasDocumentation: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -249,33 +207,20 @@ export declare const DataLinkTableInstanceApiResponse: z.ZodObject<{
|
|
|
249
207
|
}, "strip", z.ZodTypeAny, {
|
|
250
208
|
id: string;
|
|
251
209
|
name: string;
|
|
252
|
-
baseUri: string;
|
|
253
210
|
logoUri: string;
|
|
254
211
|
key?: string | undefined;
|
|
255
212
|
uuid?: string | undefined;
|
|
256
213
|
description?: string | undefined;
|
|
257
214
|
state?: import("..").WorkspaceElementState | undefined;
|
|
258
|
-
errors?:
|
|
215
|
+
errors?: import("../..").ErrorDataSchema[] | undefined;
|
|
259
216
|
revision?: string | undefined;
|
|
260
|
-
isDeactivated?: boolean | undefined;
|
|
261
217
|
createdAt?: string | undefined;
|
|
262
218
|
updatedAt?: string | undefined;
|
|
263
219
|
archivedAt?: string | undefined;
|
|
220
|
+
isDeactivated?: boolean | undefined;
|
|
264
221
|
parameters?: any;
|
|
265
|
-
parametersSchema?: import("../..").DataSchema | undefined;
|
|
266
|
-
isTest?: boolean | undefined;
|
|
267
222
|
connectorId?: string | undefined;
|
|
268
223
|
connectorVersion?: string | undefined;
|
|
269
|
-
authOptions?: {
|
|
270
|
-
key: string;
|
|
271
|
-
type: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials";
|
|
272
|
-
description?: string | undefined;
|
|
273
|
-
title?: string | undefined;
|
|
274
|
-
ui?: {
|
|
275
|
-
schema?: any;
|
|
276
|
-
helpUri?: string | undefined;
|
|
277
|
-
} | undefined;
|
|
278
|
-
}[] | undefined;
|
|
279
224
|
oAuthCallbackUri?: string | undefined;
|
|
280
225
|
hasMissingParameters?: boolean | undefined;
|
|
281
226
|
hasDocumentation?: boolean | undefined;
|
|
@@ -287,38 +232,26 @@ export declare const DataLinkTableInstanceApiResponse: z.ZodObject<{
|
|
|
287
232
|
eventsCount?: number | undefined;
|
|
288
233
|
hasGlobalWebhooks?: boolean | undefined;
|
|
289
234
|
hasUdm?: boolean | undefined;
|
|
235
|
+
isTest?: boolean | undefined;
|
|
290
236
|
appUuid?: string | undefined;
|
|
291
237
|
authType?: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials" | undefined;
|
|
292
238
|
}, {
|
|
293
239
|
id: string;
|
|
294
240
|
name: string;
|
|
295
|
-
baseUri: string;
|
|
296
241
|
logoUri: string;
|
|
297
242
|
key?: string | undefined;
|
|
298
243
|
uuid?: string | undefined;
|
|
299
244
|
description?: string | undefined;
|
|
300
245
|
state?: import("..").WorkspaceElementState | undefined;
|
|
301
|
-
errors?:
|
|
246
|
+
errors?: import("../..").ErrorDataSchema[] | undefined;
|
|
302
247
|
revision?: string | undefined;
|
|
303
|
-
isDeactivated?: boolean | undefined;
|
|
304
248
|
createdAt?: string | undefined;
|
|
305
249
|
updatedAt?: string | undefined;
|
|
306
250
|
archivedAt?: string | undefined;
|
|
251
|
+
isDeactivated?: boolean | undefined;
|
|
307
252
|
parameters?: any;
|
|
308
|
-
parametersSchema?: import("../..").DataSchema | undefined;
|
|
309
|
-
isTest?: boolean | undefined;
|
|
310
253
|
connectorId?: string | undefined;
|
|
311
254
|
connectorVersion?: string | undefined;
|
|
312
|
-
authOptions?: {
|
|
313
|
-
key: string;
|
|
314
|
-
type: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials";
|
|
315
|
-
description?: string | undefined;
|
|
316
|
-
title?: string | undefined;
|
|
317
|
-
ui?: {
|
|
318
|
-
schema?: any;
|
|
319
|
-
helpUri?: string | undefined;
|
|
320
|
-
} | undefined;
|
|
321
|
-
}[] | undefined;
|
|
322
255
|
oAuthCallbackUri?: string | undefined;
|
|
323
256
|
hasMissingParameters?: boolean | undefined;
|
|
324
257
|
hasDocumentation?: boolean | undefined;
|
|
@@ -330,6 +263,7 @@ export declare const DataLinkTableInstanceApiResponse: z.ZodObject<{
|
|
|
330
263
|
eventsCount?: number | undefined;
|
|
331
264
|
hasGlobalWebhooks?: boolean | undefined;
|
|
332
265
|
hasUdm?: boolean | undefined;
|
|
266
|
+
isTest?: boolean | undefined;
|
|
333
267
|
appUuid?: string | undefined;
|
|
334
268
|
authType?: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials" | undefined;
|
|
335
269
|
}>>;
|
|
@@ -380,51 +314,36 @@ export declare const DataLinkTableInstanceApiResponse: z.ZodObject<{
|
|
|
380
314
|
updatedAt: string;
|
|
381
315
|
userId: string;
|
|
382
316
|
integrationId: string;
|
|
383
|
-
error?:
|
|
317
|
+
error?: import("../..").ErrorDataSchema | undefined;
|
|
384
318
|
state?: import("..").WorkspaceElementState | undefined;
|
|
385
|
-
errors?:
|
|
386
|
-
isDeactivated?: boolean | undefined;
|
|
319
|
+
errors?: import("../..").ErrorDataSchema[] | undefined;
|
|
387
320
|
archivedAt?: string | undefined;
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
connectorParameters?: unknown;
|
|
321
|
+
isDeactivated?: boolean | undefined;
|
|
322
|
+
authOptionKey?: string | undefined;
|
|
391
323
|
isTest?: boolean | undefined;
|
|
324
|
+
meta?: Record<string, any> | undefined;
|
|
392
325
|
disconnected?: boolean | undefined;
|
|
393
326
|
isDefunct?: boolean | undefined;
|
|
394
327
|
lastActiveAt?: string | undefined;
|
|
395
328
|
nextCredentialsRefreshAt?: string | undefined;
|
|
396
|
-
meta?: Record<string, any> | undefined;
|
|
397
329
|
} | undefined;
|
|
398
330
|
integration?: {
|
|
399
331
|
id: string;
|
|
400
332
|
name: string;
|
|
401
|
-
baseUri: string;
|
|
402
333
|
logoUri: string;
|
|
403
334
|
key?: string | undefined;
|
|
404
335
|
uuid?: string | undefined;
|
|
405
336
|
description?: string | undefined;
|
|
406
337
|
state?: import("..").WorkspaceElementState | undefined;
|
|
407
|
-
errors?:
|
|
338
|
+
errors?: import("../..").ErrorDataSchema[] | undefined;
|
|
408
339
|
revision?: string | undefined;
|
|
409
|
-
isDeactivated?: boolean | undefined;
|
|
410
340
|
createdAt?: string | undefined;
|
|
411
341
|
updatedAt?: string | undefined;
|
|
412
342
|
archivedAt?: string | undefined;
|
|
343
|
+
isDeactivated?: boolean | undefined;
|
|
413
344
|
parameters?: any;
|
|
414
|
-
parametersSchema?: import("../..").DataSchema | undefined;
|
|
415
|
-
isTest?: boolean | undefined;
|
|
416
345
|
connectorId?: string | undefined;
|
|
417
346
|
connectorVersion?: string | undefined;
|
|
418
|
-
authOptions?: {
|
|
419
|
-
key: string;
|
|
420
|
-
type: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials";
|
|
421
|
-
description?: string | undefined;
|
|
422
|
-
title?: string | undefined;
|
|
423
|
-
ui?: {
|
|
424
|
-
schema?: any;
|
|
425
|
-
helpUri?: string | undefined;
|
|
426
|
-
} | undefined;
|
|
427
|
-
}[] | undefined;
|
|
428
347
|
oAuthCallbackUri?: string | undefined;
|
|
429
348
|
hasMissingParameters?: boolean | undefined;
|
|
430
349
|
hasDocumentation?: boolean | undefined;
|
|
@@ -436,18 +355,19 @@ export declare const DataLinkTableInstanceApiResponse: z.ZodObject<{
|
|
|
436
355
|
eventsCount?: number | undefined;
|
|
437
356
|
hasGlobalWebhooks?: boolean | undefined;
|
|
438
357
|
hasUdm?: boolean | undefined;
|
|
358
|
+
isTest?: boolean | undefined;
|
|
439
359
|
appUuid?: string | undefined;
|
|
440
360
|
authType?: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials" | undefined;
|
|
441
361
|
} | undefined;
|
|
442
362
|
uuid?: string | undefined;
|
|
443
363
|
description?: string | undefined;
|
|
444
364
|
state?: import("..").WorkspaceElementState | undefined;
|
|
445
|
-
errors?:
|
|
365
|
+
errors?: import("../..").ErrorDataSchema[] | undefined;
|
|
446
366
|
revision?: string | undefined;
|
|
447
|
-
isDeactivated?: boolean | undefined;
|
|
448
367
|
createdAt?: string | undefined;
|
|
449
368
|
updatedAt?: string | undefined;
|
|
450
369
|
archivedAt?: string | undefined;
|
|
370
|
+
isDeactivated?: boolean | undefined;
|
|
451
371
|
instanceKey?: string | undefined;
|
|
452
372
|
connectionId?: string | undefined;
|
|
453
373
|
user?: {
|
|
@@ -470,12 +390,12 @@ export declare const DataLinkTableInstanceApiResponse: z.ZodObject<{
|
|
|
470
390
|
uuid?: string | undefined;
|
|
471
391
|
description?: string | undefined;
|
|
472
392
|
state?: import("..").WorkspaceElementState | undefined;
|
|
473
|
-
errors?:
|
|
393
|
+
errors?: import("../..").ErrorDataSchema[] | undefined;
|
|
474
394
|
revision?: string | undefined;
|
|
475
|
-
isDeactivated?: boolean | undefined;
|
|
476
395
|
createdAt?: string | undefined;
|
|
477
396
|
updatedAt?: string | undefined;
|
|
478
397
|
archivedAt?: string | undefined;
|
|
398
|
+
isDeactivated?: boolean | undefined;
|
|
479
399
|
} | undefined;
|
|
480
400
|
}, {
|
|
481
401
|
id: string;
|
|
@@ -490,51 +410,36 @@ export declare const DataLinkTableInstanceApiResponse: z.ZodObject<{
|
|
|
490
410
|
updatedAt: string;
|
|
491
411
|
userId: string;
|
|
492
412
|
integrationId: string;
|
|
493
|
-
error?:
|
|
413
|
+
error?: import("../..").ErrorDataSchema | undefined;
|
|
494
414
|
state?: import("..").WorkspaceElementState | undefined;
|
|
495
|
-
errors?:
|
|
496
|
-
isDeactivated?: boolean | undefined;
|
|
415
|
+
errors?: import("../..").ErrorDataSchema[] | undefined;
|
|
497
416
|
archivedAt?: string | undefined;
|
|
498
|
-
|
|
499
|
-
|
|
500
|
-
connectorParameters?: unknown;
|
|
417
|
+
isDeactivated?: boolean | undefined;
|
|
418
|
+
authOptionKey?: string | undefined;
|
|
501
419
|
isTest?: boolean | undefined;
|
|
420
|
+
meta?: Record<string, any> | undefined;
|
|
502
421
|
disconnected?: boolean | undefined;
|
|
503
422
|
isDefunct?: boolean | undefined;
|
|
504
423
|
lastActiveAt?: string | undefined;
|
|
505
424
|
nextCredentialsRefreshAt?: string | undefined;
|
|
506
|
-
meta?: Record<string, any> | undefined;
|
|
507
425
|
} | undefined;
|
|
508
426
|
integration?: {
|
|
509
427
|
id: string;
|
|
510
428
|
name: string;
|
|
511
|
-
baseUri: string;
|
|
512
429
|
logoUri: string;
|
|
513
430
|
key?: string | undefined;
|
|
514
431
|
uuid?: string | undefined;
|
|
515
432
|
description?: string | undefined;
|
|
516
433
|
state?: import("..").WorkspaceElementState | undefined;
|
|
517
|
-
errors?:
|
|
434
|
+
errors?: import("../..").ErrorDataSchema[] | undefined;
|
|
518
435
|
revision?: string | undefined;
|
|
519
|
-
isDeactivated?: boolean | undefined;
|
|
520
436
|
createdAt?: string | undefined;
|
|
521
437
|
updatedAt?: string | undefined;
|
|
522
438
|
archivedAt?: string | undefined;
|
|
439
|
+
isDeactivated?: boolean | undefined;
|
|
523
440
|
parameters?: any;
|
|
524
|
-
parametersSchema?: import("../..").DataSchema | undefined;
|
|
525
|
-
isTest?: boolean | undefined;
|
|
526
441
|
connectorId?: string | undefined;
|
|
527
442
|
connectorVersion?: string | undefined;
|
|
528
|
-
authOptions?: {
|
|
529
|
-
key: string;
|
|
530
|
-
type: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials";
|
|
531
|
-
description?: string | undefined;
|
|
532
|
-
title?: string | undefined;
|
|
533
|
-
ui?: {
|
|
534
|
-
schema?: any;
|
|
535
|
-
helpUri?: string | undefined;
|
|
536
|
-
} | undefined;
|
|
537
|
-
}[] | undefined;
|
|
538
443
|
oAuthCallbackUri?: string | undefined;
|
|
539
444
|
hasMissingParameters?: boolean | undefined;
|
|
540
445
|
hasDocumentation?: boolean | undefined;
|
|
@@ -546,18 +451,19 @@ export declare const DataLinkTableInstanceApiResponse: z.ZodObject<{
|
|
|
546
451
|
eventsCount?: number | undefined;
|
|
547
452
|
hasGlobalWebhooks?: boolean | undefined;
|
|
548
453
|
hasUdm?: boolean | undefined;
|
|
454
|
+
isTest?: boolean | undefined;
|
|
549
455
|
appUuid?: string | undefined;
|
|
550
456
|
authType?: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials" | undefined;
|
|
551
457
|
} | undefined;
|
|
552
458
|
uuid?: string | undefined;
|
|
553
459
|
description?: string | undefined;
|
|
554
460
|
state?: import("..").WorkspaceElementState | undefined;
|
|
555
|
-
errors?:
|
|
461
|
+
errors?: import("../..").ErrorDataSchema[] | undefined;
|
|
556
462
|
revision?: string | undefined;
|
|
557
|
-
isDeactivated?: boolean | undefined;
|
|
558
463
|
createdAt?: string | undefined;
|
|
559
464
|
updatedAt?: string | undefined;
|
|
560
465
|
archivedAt?: string | undefined;
|
|
466
|
+
isDeactivated?: boolean | undefined;
|
|
561
467
|
instanceKey?: string | undefined;
|
|
562
468
|
connectionId?: string | undefined;
|
|
563
469
|
user?: {
|
|
@@ -580,12 +486,12 @@ export declare const DataLinkTableInstanceApiResponse: z.ZodObject<{
|
|
|
580
486
|
uuid?: string | undefined;
|
|
581
487
|
description?: string | undefined;
|
|
582
488
|
state?: import("..").WorkspaceElementState | undefined;
|
|
583
|
-
errors?:
|
|
489
|
+
errors?: import("../..").ErrorDataSchema[] | undefined;
|
|
584
490
|
revision?: string | undefined;
|
|
585
|
-
isDeactivated?: boolean | undefined;
|
|
586
491
|
createdAt?: string | undefined;
|
|
587
492
|
updatedAt?: string | undefined;
|
|
588
493
|
archivedAt?: string | undefined;
|
|
494
|
+
isDeactivated?: boolean | undefined;
|
|
589
495
|
} | undefined;
|
|
590
496
|
}>;
|
|
591
497
|
export type DataLinkTableInstanceApiResponse = z.infer<typeof DataLinkTableInstanceApiResponse>;
|
|
@@ -6,16 +6,16 @@ export type CreateDataLinkTableRequest = Omit<BaseDataLinkTable, 'id' | 'userId'
|
|
|
6
6
|
export type UpdateDataLinkTableRequest = CreateDataLinkTableRequest;
|
|
7
7
|
export declare const DataLinkTableApiResponse: import("zod").ZodObject<{
|
|
8
8
|
id: import("zod").ZodString;
|
|
9
|
-
name: import("zod").ZodString;
|
|
10
9
|
key: import("zod").ZodOptional<import("zod").ZodString>;
|
|
11
10
|
uuid: import("zod").ZodOptional<import("zod").ZodString>;
|
|
12
11
|
description: import("zod").ZodOptional<import("zod").ZodString>;
|
|
12
|
+
name: import("zod").ZodString;
|
|
13
13
|
state: import("zod").ZodOptional<import("zod").ZodNativeEnum<typeof import("..").WorkspaceElementState>>;
|
|
14
|
-
errors: import("zod").ZodOptional<import("zod").ZodArray<
|
|
14
|
+
errors: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodType<import("../..").ErrorDataSchema, import("zod").ZodTypeDef, import("../..").ErrorDataSchema>, "many">>;
|
|
15
15
|
revision: import("zod").ZodOptional<import("zod").ZodString>;
|
|
16
|
-
isDeactivated: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
17
16
|
createdAt: import("zod").ZodOptional<import("zod").ZodString>;
|
|
18
17
|
updatedAt: import("zod").ZodOptional<import("zod").ZodString>;
|
|
18
|
+
isDeactivated: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
19
19
|
} & {
|
|
20
20
|
archivedAt: import("zod").ZodOptional<import("zod").ZodString>;
|
|
21
21
|
}, "strip", import("zod").ZodTypeAny, {
|
|
@@ -25,12 +25,12 @@ export declare const DataLinkTableApiResponse: import("zod").ZodObject<{
|
|
|
25
25
|
uuid?: string | undefined;
|
|
26
26
|
description?: string | undefined;
|
|
27
27
|
state?: import("..").WorkspaceElementState | undefined;
|
|
28
|
-
errors?:
|
|
28
|
+
errors?: import("../..").ErrorDataSchema[] | undefined;
|
|
29
29
|
revision?: string | undefined;
|
|
30
|
-
isDeactivated?: boolean | undefined;
|
|
31
30
|
createdAt?: string | undefined;
|
|
32
31
|
updatedAt?: string | undefined;
|
|
33
32
|
archivedAt?: string | undefined;
|
|
33
|
+
isDeactivated?: boolean | undefined;
|
|
34
34
|
}, {
|
|
35
35
|
id: string;
|
|
36
36
|
name: string;
|
|
@@ -38,12 +38,12 @@ export declare const DataLinkTableApiResponse: import("zod").ZodObject<{
|
|
|
38
38
|
uuid?: string | undefined;
|
|
39
39
|
description?: string | undefined;
|
|
40
40
|
state?: import("..").WorkspaceElementState | undefined;
|
|
41
|
-
errors?:
|
|
41
|
+
errors?: import("../..").ErrorDataSchema[] | undefined;
|
|
42
42
|
revision?: string | undefined;
|
|
43
|
-
isDeactivated?: boolean | undefined;
|
|
44
43
|
createdAt?: string | undefined;
|
|
45
44
|
updatedAt?: string | undefined;
|
|
46
45
|
archivedAt?: string | undefined;
|
|
46
|
+
isDeactivated?: boolean | undefined;
|
|
47
47
|
}>;
|
|
48
48
|
export type DataLinkTableApiResponse = typeof DataLinkTableApiResponse._type;
|
|
49
49
|
export type DataLinkTable = DataLinkTableApiResponse;
|