@membranehq/sdk 0.5.0 → 0.5.1
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 +13011 -5117
- package/dist/bundle.js +149 -1
- package/dist/bundle.js.map +1 -1
- package/dist/dts/accessors/connections-accessors.d.ts +31 -10
- package/dist/dts/accessors/integrations-accessors.d.ts +31 -10
- package/dist/dts/data-schema/index.d.ts +0 -1
- package/dist/dts/entity-repository.d.ts +7 -6
- package/dist/dts/http-requests.d.ts +2 -2
- package/dist/dts/workspace-elements/api/action-instances-api.d.ts +269 -8
- package/dist/dts/workspace-elements/api/action-run-log-records-api.d.ts +529 -10
- package/dist/dts/workspace-elements/api/actions-api.d.ts +393 -90
- package/dist/dts/workspace-elements/api/app-data-schema-instances-api.d.ts +203 -8
- package/dist/dts/workspace-elements/api/app-data-schemas-api.d.ts +49 -3
- package/dist/dts/workspace-elements/api/app-event-log-records-api.d.ts +376 -0
- package/dist/dts/workspace-elements/api/app-event-subscriptions-api.d.ts +293 -8
- package/dist/dts/workspace-elements/api/app-event-types-api.d.ts +88 -3
- package/dist/dts/workspace-elements/api/connections-api.d.ts +387 -97
- package/dist/dts/workspace-elements/api/customers-api.d.ts +38 -5
- package/dist/dts/workspace-elements/api/data-link-table-instances-api.d.ts +541 -12
- package/dist/dts/workspace-elements/api/data-link-tables-api.d.ts +43 -2
- package/dist/dts/workspace-elements/api/data-source-instances-api.d.ts +1590 -12
- package/dist/dts/workspace-elements/api/data-sources-api.d.ts +357 -79
- package/dist/dts/workspace-elements/api/external-event-log-records-api.d.ts +696 -19
- package/dist/dts/workspace-elements/api/external-event-pulls-api.d.ts +702 -19
- package/dist/dts/workspace-elements/api/external-event-subscriptions-api.d.ts +559 -10
- package/dist/dts/workspace-elements/api/external-events-api.d.ts +169 -27
- package/dist/dts/workspace-elements/api/field-mapping-instances-api.d.ts +2786 -14
- package/dist/dts/workspace-elements/api/field-mappings-api.d.ts +367 -69
- package/dist/dts/workspace-elements/api/flow-runs-api.d.ts +1652 -47
- package/dist/dts/workspace-elements/api/flows-api.d.ts +1040 -257
- package/dist/dts/workspace-elements/api/index.d.ts +1 -1
- package/dist/dts/workspace-elements/api/integrations-api.d.ts +121 -37
- package/dist/dts/workspace-elements/api/scenarios-api.d.ts +151 -26
- package/dist/dts/workspace-elements/api/screens-api.d.ts +33 -13
- package/dist/dts/workspace-elements/base/action-instances/types.d.ts +28 -12
- package/dist/dts/workspace-elements/base/action-run-log-records/types.d.ts +12 -10
- package/dist/dts/workspace-elements/base/actions/types.d.ts +28 -11
- package/dist/dts/workspace-elements/base/app-data-schema-instances/types.d.ts +23 -6
- package/dist/dts/workspace-elements/base/app-data-schemas/types.d.ts +22 -8
- package/dist/dts/workspace-elements/base/app-event-subscriptions/types.d.ts +25 -11
- package/dist/dts/workspace-elements/base/app-event-types/types.d.ts +23 -9
- package/dist/dts/workspace-elements/base/connections/types.d.ts +18 -12
- package/dist/dts/workspace-elements/base/customers/index.d.ts +8 -2
- package/dist/dts/workspace-elements/base/data-collections/schemas.d.ts +18 -18
- package/dist/dts/workspace-elements/base/data-link-table-instances/types.d.ts +23 -6
- package/dist/dts/workspace-elements/base/data-link-tables/types.d.ts +21 -4
- package/dist/dts/workspace-elements/base/data-source-instances/types.d.ts +59 -41
- package/dist/dts/workspace-elements/base/data-sources/types.d.ts +16 -8
- package/dist/dts/workspace-elements/base/external-event-subscriptions/types.d.ts +2 -5
- package/dist/dts/workspace-elements/base/field-mapping-instances/types.d.ts +23 -5
- package/dist/dts/workspace-elements/base/field-mappings/types.d.ts +20 -6
- package/dist/dts/workspace-elements/base/flow-instances/schemas.d.ts +6 -6
- package/dist/dts/workspace-elements/base/flow-instances/types.d.ts +26 -11
- package/dist/dts/workspace-elements/base/flow-runs/types.d.ts +14 -1
- package/dist/dts/workspace-elements/base/flows/types.d.ts +26 -12
- package/dist/dts/workspace-elements/base/integrations/types.d.ts +557 -67
- package/dist/dts/workspace-elements/base/scenarios/types.d.ts +21 -4
- package/dist/dts/workspace-elements/base/screens/types.d.ts +9 -1
- package/dist/dts/workspace-elements/types.d.ts +25 -3
- package/dist/dts/workspaces/types.d.ts +4 -3
- package/dist/index.d.ts +21959 -8561
- package/dist/index.js +258 -109
- package/dist/index.js.map +1 -1
- package/dist/index.module.d.mts +21959 -8561
- package/dist/index.module.mjs +225 -101
- package/dist/index.module.mjs.map +1 -1
- package/package.json +3 -2
- package/dist/dts/data-schema/schemas.d.ts +0 -4
- package/dist/dts/workspace-elements/api/app-events-api.d.ts +0 -17
|
@@ -32,13 +32,17 @@ export interface CreateFieldMappingRequest extends UpdateFieldMappingRequest {
|
|
|
32
32
|
}
|
|
33
33
|
export interface FieldMappingSelector extends IntegrationSpecificElementSelector {
|
|
34
34
|
}
|
|
35
|
-
export declare const
|
|
35
|
+
export declare const FieldMappingApiResponse: z.ZodObject<{
|
|
36
36
|
id: z.ZodString;
|
|
37
37
|
name: z.ZodString;
|
|
38
|
-
|
|
39
|
-
|
|
38
|
+
key: z.ZodOptional<z.ZodString>;
|
|
39
|
+
uuid: z.ZodOptional<z.ZodString>;
|
|
40
|
+
description: z.ZodOptional<z.ZodString>;
|
|
40
41
|
state: z.ZodOptional<z.ZodNativeEnum<typeof import("..").WorkspaceElementState>>;
|
|
41
42
|
errors: z.ZodOptional<z.ZodArray<any, "many">>;
|
|
43
|
+
isDeactivated: z.ZodOptional<z.ZodBoolean>;
|
|
44
|
+
createdAt: z.ZodOptional<z.ZodString>;
|
|
45
|
+
updatedAt: z.ZodOptional<z.ZodString>;
|
|
42
46
|
} & {
|
|
43
47
|
revision: z.ZodString;
|
|
44
48
|
publishedRevision: z.ZodOptional<z.ZodString>;
|
|
@@ -62,15 +66,52 @@ export declare const FieldMapping: z.ZodObject<{
|
|
|
62
66
|
integration: z.ZodOptional<z.ZodObject<{
|
|
63
67
|
id: z.ZodString;
|
|
64
68
|
name: z.ZodString;
|
|
65
|
-
|
|
66
|
-
|
|
69
|
+
key: z.ZodOptional<z.ZodString>;
|
|
70
|
+
uuid: z.ZodOptional<z.ZodString>;
|
|
71
|
+
description: z.ZodOptional<z.ZodString>;
|
|
67
72
|
state: z.ZodOptional<z.ZodNativeEnum<typeof import("..").WorkspaceElementState>>;
|
|
68
73
|
errors: z.ZodOptional<z.ZodArray<any, "many">>;
|
|
74
|
+
revision: z.ZodOptional<z.ZodString>;
|
|
75
|
+
createdAt: z.ZodOptional<z.ZodString>;
|
|
76
|
+
updatedAt: z.ZodOptional<z.ZodString>;
|
|
69
77
|
} & {
|
|
70
78
|
logoUri: z.ZodString;
|
|
71
79
|
connectorId: z.ZodOptional<z.ZodString>;
|
|
72
80
|
connectorVersion: z.ZodOptional<z.ZodString>;
|
|
73
|
-
authOptions: z.ZodOptional<z.ZodArray<z.
|
|
81
|
+
authOptions: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
82
|
+
key: z.ZodString;
|
|
83
|
+
type: z.ZodEnum<["integration-app-token", "membrane-token", "oauth2", "oauth1", "client-credentials", "proxy"]>;
|
|
84
|
+
title: z.ZodOptional<z.ZodString>;
|
|
85
|
+
description: z.ZodOptional<z.ZodString>;
|
|
86
|
+
ui: z.ZodOptional<z.ZodObject<{
|
|
87
|
+
schema: z.ZodOptional<z.ZodAny>;
|
|
88
|
+
helpUri: z.ZodOptional<z.ZodString>;
|
|
89
|
+
}, "strip", z.ZodTypeAny, {
|
|
90
|
+
schema?: any;
|
|
91
|
+
helpUri?: string | undefined;
|
|
92
|
+
}, {
|
|
93
|
+
schema?: any;
|
|
94
|
+
helpUri?: string | undefined;
|
|
95
|
+
}>>;
|
|
96
|
+
}, "strip", z.ZodTypeAny, {
|
|
97
|
+
key: string;
|
|
98
|
+
type: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials";
|
|
99
|
+
description?: string | undefined;
|
|
100
|
+
title?: string | undefined;
|
|
101
|
+
ui?: {
|
|
102
|
+
schema?: any;
|
|
103
|
+
helpUri?: string | undefined;
|
|
104
|
+
} | undefined;
|
|
105
|
+
}, {
|
|
106
|
+
key: string;
|
|
107
|
+
type: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials";
|
|
108
|
+
description?: string | undefined;
|
|
109
|
+
title?: string | undefined;
|
|
110
|
+
ui?: {
|
|
111
|
+
schema?: any;
|
|
112
|
+
helpUri?: string | undefined;
|
|
113
|
+
} | undefined;
|
|
114
|
+
}>, "many">>;
|
|
74
115
|
oAuthCallbackUri: z.ZodOptional<z.ZodString>;
|
|
75
116
|
parametersSchema: z.ZodOptional<z.ZodType<DataSchema, z.ZodTypeDef, DataSchema>>;
|
|
76
117
|
parameters: z.ZodOptional<z.ZodAny>;
|
|
@@ -79,8 +120,11 @@ export declare const FieldMapping: z.ZodObject<{
|
|
|
79
120
|
hasMissingParameters: z.ZodOptional<z.ZodBoolean>;
|
|
80
121
|
hasDocumentation: z.ZodOptional<z.ZodBoolean>;
|
|
81
122
|
hasOperations: z.ZodOptional<z.ZodBoolean>;
|
|
123
|
+
operationsCount: z.ZodOptional<z.ZodNumber>;
|
|
82
124
|
hasData: z.ZodOptional<z.ZodBoolean>;
|
|
125
|
+
dataCollectionsCount: z.ZodOptional<z.ZodNumber>;
|
|
83
126
|
hasEvents: z.ZodOptional<z.ZodBoolean>;
|
|
127
|
+
eventsCount: z.ZodOptional<z.ZodNumber>;
|
|
84
128
|
hasGlobalWebhooks: z.ZodOptional<z.ZodBoolean>;
|
|
85
129
|
hasUdm: z.ZodOptional<z.ZodBoolean>;
|
|
86
130
|
isTest: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -88,66 +132,104 @@ export declare const FieldMapping: z.ZodObject<{
|
|
|
88
132
|
isDeactivated: z.ZodOptional<z.ZodBoolean>;
|
|
89
133
|
authType: z.ZodOptional<z.ZodEnum<["integration-app-token", "membrane-token", "oauth2", "oauth1", "client-credentials", "proxy"]>>;
|
|
90
134
|
}, "strip", z.ZodTypeAny, {
|
|
91
|
-
key: string;
|
|
92
135
|
id: string;
|
|
93
136
|
name: string;
|
|
94
137
|
baseUri: string;
|
|
95
138
|
logoUri: string;
|
|
139
|
+
key?: string | undefined;
|
|
140
|
+
uuid?: string | undefined;
|
|
141
|
+
description?: string | undefined;
|
|
96
142
|
state?: import("..").WorkspaceElementState | undefined;
|
|
97
143
|
errors?: any[] | undefined;
|
|
144
|
+
revision?: string | undefined;
|
|
145
|
+
isDeactivated?: boolean | undefined;
|
|
146
|
+
createdAt?: string | undefined;
|
|
147
|
+
updatedAt?: string | undefined;
|
|
148
|
+
archivedAt?: string | undefined;
|
|
98
149
|
parameters?: any;
|
|
99
150
|
parametersSchema?: DataSchema | undefined;
|
|
100
|
-
archivedAt?: string | undefined;
|
|
101
151
|
isTest?: boolean | undefined;
|
|
102
152
|
connectorId?: string | undefined;
|
|
103
153
|
connectorVersion?: string | undefined;
|
|
104
|
-
authOptions?:
|
|
154
|
+
authOptions?: {
|
|
155
|
+
key: string;
|
|
156
|
+
type: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials";
|
|
157
|
+
description?: string | undefined;
|
|
158
|
+
title?: string | undefined;
|
|
159
|
+
ui?: {
|
|
160
|
+
schema?: any;
|
|
161
|
+
helpUri?: string | undefined;
|
|
162
|
+
} | undefined;
|
|
163
|
+
}[] | undefined;
|
|
105
164
|
oAuthCallbackUri?: string | undefined;
|
|
106
165
|
hasMissingParameters?: boolean | undefined;
|
|
107
166
|
hasDocumentation?: boolean | undefined;
|
|
108
167
|
hasOperations?: boolean | undefined;
|
|
168
|
+
operationsCount?: number | undefined;
|
|
109
169
|
hasData?: boolean | undefined;
|
|
170
|
+
dataCollectionsCount?: number | undefined;
|
|
110
171
|
hasEvents?: boolean | undefined;
|
|
172
|
+
eventsCount?: number | undefined;
|
|
111
173
|
hasGlobalWebhooks?: boolean | undefined;
|
|
112
174
|
hasUdm?: boolean | undefined;
|
|
113
175
|
appUuid?: string | undefined;
|
|
114
|
-
isDeactivated?: boolean | undefined;
|
|
115
176
|
authType?: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials" | undefined;
|
|
116
177
|
}, {
|
|
117
|
-
key: string;
|
|
118
178
|
id: string;
|
|
119
179
|
name: string;
|
|
120
180
|
baseUri: string;
|
|
121
181
|
logoUri: string;
|
|
182
|
+
key?: string | undefined;
|
|
183
|
+
uuid?: string | undefined;
|
|
184
|
+
description?: string | undefined;
|
|
122
185
|
state?: import("..").WorkspaceElementState | undefined;
|
|
123
186
|
errors?: any[] | undefined;
|
|
187
|
+
revision?: string | undefined;
|
|
188
|
+
isDeactivated?: boolean | undefined;
|
|
189
|
+
createdAt?: string | undefined;
|
|
190
|
+
updatedAt?: string | undefined;
|
|
191
|
+
archivedAt?: string | undefined;
|
|
124
192
|
parameters?: any;
|
|
125
193
|
parametersSchema?: DataSchema | undefined;
|
|
126
|
-
archivedAt?: string | undefined;
|
|
127
194
|
isTest?: boolean | undefined;
|
|
128
195
|
connectorId?: string | undefined;
|
|
129
196
|
connectorVersion?: string | undefined;
|
|
130
|
-
authOptions?:
|
|
197
|
+
authOptions?: {
|
|
198
|
+
key: string;
|
|
199
|
+
type: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials";
|
|
200
|
+
description?: string | undefined;
|
|
201
|
+
title?: string | undefined;
|
|
202
|
+
ui?: {
|
|
203
|
+
schema?: any;
|
|
204
|
+
helpUri?: string | undefined;
|
|
205
|
+
} | undefined;
|
|
206
|
+
}[] | undefined;
|
|
131
207
|
oAuthCallbackUri?: string | undefined;
|
|
132
208
|
hasMissingParameters?: boolean | undefined;
|
|
133
209
|
hasDocumentation?: boolean | undefined;
|
|
134
210
|
hasOperations?: boolean | undefined;
|
|
211
|
+
operationsCount?: number | undefined;
|
|
135
212
|
hasData?: boolean | undefined;
|
|
213
|
+
dataCollectionsCount?: number | undefined;
|
|
136
214
|
hasEvents?: boolean | undefined;
|
|
215
|
+
eventsCount?: number | undefined;
|
|
137
216
|
hasGlobalWebhooks?: boolean | undefined;
|
|
138
217
|
hasUdm?: boolean | undefined;
|
|
139
218
|
appUuid?: string | undefined;
|
|
140
|
-
isDeactivated?: boolean | undefined;
|
|
141
219
|
authType?: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials" | undefined;
|
|
142
220
|
}>>;
|
|
143
221
|
appliedToIntegrations: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
144
222
|
element: z.ZodObject<{
|
|
145
223
|
id: z.ZodString;
|
|
146
224
|
name: z.ZodString;
|
|
147
|
-
|
|
148
|
-
|
|
225
|
+
key: z.ZodOptional<z.ZodString>;
|
|
226
|
+
uuid: z.ZodOptional<z.ZodString>;
|
|
227
|
+
description: z.ZodOptional<z.ZodString>;
|
|
149
228
|
state: z.ZodOptional<z.ZodNativeEnum<typeof import("..").WorkspaceElementState>>;
|
|
150
229
|
errors: z.ZodOptional<z.ZodArray<any, "many">>;
|
|
230
|
+
isDeactivated: z.ZodOptional<z.ZodBoolean>;
|
|
231
|
+
createdAt: z.ZodOptional<z.ZodString>;
|
|
232
|
+
updatedAt: z.ZodOptional<z.ZodString>;
|
|
151
233
|
} & {
|
|
152
234
|
revision: z.ZodString;
|
|
153
235
|
publishedRevision: z.ZodOptional<z.ZodString>;
|
|
@@ -168,7 +250,6 @@ export declare const FieldMapping: z.ZodObject<{
|
|
|
168
250
|
archivedAt: z.ZodOptional<z.ZodString>;
|
|
169
251
|
customized: z.ZodOptional<z.ZodBoolean>;
|
|
170
252
|
}, "strip", z.ZodTypeAny, {
|
|
171
|
-
key: string;
|
|
172
253
|
id: string;
|
|
173
254
|
name: string;
|
|
174
255
|
revision: string;
|
|
@@ -176,10 +257,16 @@ export declare const FieldMapping: z.ZodObject<{
|
|
|
176
257
|
dataSourceKey: string;
|
|
177
258
|
appSchema: DataSchema;
|
|
178
259
|
direction: FieldMappingDirection;
|
|
260
|
+
key?: string | undefined;
|
|
261
|
+
uuid?: string | undefined;
|
|
262
|
+
description?: string | undefined;
|
|
179
263
|
state?: import("..").WorkspaceElementState | undefined;
|
|
180
264
|
errors?: any[] | undefined;
|
|
181
|
-
|
|
265
|
+
isDeactivated?: boolean | undefined;
|
|
266
|
+
createdAt?: string | undefined;
|
|
267
|
+
updatedAt?: string | undefined;
|
|
182
268
|
archivedAt?: string | undefined;
|
|
269
|
+
integrationId?: string | undefined;
|
|
183
270
|
publishedRevision?: string | undefined;
|
|
184
271
|
universalFieldMappingId?: string | undefined;
|
|
185
272
|
universalFieldMappingRevision?: string | undefined;
|
|
@@ -192,7 +279,6 @@ export declare const FieldMapping: z.ZodObject<{
|
|
|
192
279
|
frozenUnifiedExportFields?: any;
|
|
193
280
|
customized?: boolean | undefined;
|
|
194
281
|
}, {
|
|
195
|
-
key: string;
|
|
196
282
|
id: string;
|
|
197
283
|
name: string;
|
|
198
284
|
revision: string;
|
|
@@ -200,10 +286,16 @@ export declare const FieldMapping: z.ZodObject<{
|
|
|
200
286
|
dataSourceKey: string;
|
|
201
287
|
appSchema: DataSchema;
|
|
202
288
|
direction: FieldMappingDirection;
|
|
289
|
+
key?: string | undefined;
|
|
290
|
+
uuid?: string | undefined;
|
|
291
|
+
description?: string | undefined;
|
|
203
292
|
state?: import("..").WorkspaceElementState | undefined;
|
|
204
293
|
errors?: any[] | undefined;
|
|
205
|
-
|
|
294
|
+
isDeactivated?: boolean | undefined;
|
|
295
|
+
createdAt?: string | undefined;
|
|
296
|
+
updatedAt?: string | undefined;
|
|
206
297
|
archivedAt?: string | undefined;
|
|
298
|
+
integrationId?: string | undefined;
|
|
207
299
|
publishedRevision?: string | undefined;
|
|
208
300
|
universalFieldMappingId?: string | undefined;
|
|
209
301
|
universalFieldMappingRevision?: string | undefined;
|
|
@@ -219,15 +311,52 @@ export declare const FieldMapping: z.ZodObject<{
|
|
|
219
311
|
integration: z.ZodObject<{
|
|
220
312
|
id: z.ZodString;
|
|
221
313
|
name: z.ZodString;
|
|
222
|
-
|
|
223
|
-
|
|
314
|
+
key: z.ZodOptional<z.ZodString>;
|
|
315
|
+
uuid: z.ZodOptional<z.ZodString>;
|
|
316
|
+
description: z.ZodOptional<z.ZodString>;
|
|
224
317
|
state: z.ZodOptional<z.ZodNativeEnum<typeof import("..").WorkspaceElementState>>;
|
|
225
318
|
errors: z.ZodOptional<z.ZodArray<any, "many">>;
|
|
319
|
+
revision: z.ZodOptional<z.ZodString>;
|
|
320
|
+
createdAt: z.ZodOptional<z.ZodString>;
|
|
321
|
+
updatedAt: z.ZodOptional<z.ZodString>;
|
|
226
322
|
} & {
|
|
227
323
|
logoUri: z.ZodString;
|
|
228
324
|
connectorId: z.ZodOptional<z.ZodString>;
|
|
229
325
|
connectorVersion: z.ZodOptional<z.ZodString>;
|
|
230
|
-
authOptions: z.ZodOptional<z.ZodArray<z.
|
|
326
|
+
authOptions: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
327
|
+
key: z.ZodString;
|
|
328
|
+
type: z.ZodEnum<["integration-app-token", "membrane-token", "oauth2", "oauth1", "client-credentials", "proxy"]>;
|
|
329
|
+
title: z.ZodOptional<z.ZodString>;
|
|
330
|
+
description: z.ZodOptional<z.ZodString>;
|
|
331
|
+
ui: z.ZodOptional<z.ZodObject<{
|
|
332
|
+
schema: z.ZodOptional<z.ZodAny>;
|
|
333
|
+
helpUri: z.ZodOptional<z.ZodString>;
|
|
334
|
+
}, "strip", z.ZodTypeAny, {
|
|
335
|
+
schema?: any;
|
|
336
|
+
helpUri?: string | undefined;
|
|
337
|
+
}, {
|
|
338
|
+
schema?: any;
|
|
339
|
+
helpUri?: string | undefined;
|
|
340
|
+
}>>;
|
|
341
|
+
}, "strip", z.ZodTypeAny, {
|
|
342
|
+
key: string;
|
|
343
|
+
type: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials";
|
|
344
|
+
description?: string | undefined;
|
|
345
|
+
title?: string | undefined;
|
|
346
|
+
ui?: {
|
|
347
|
+
schema?: any;
|
|
348
|
+
helpUri?: string | undefined;
|
|
349
|
+
} | undefined;
|
|
350
|
+
}, {
|
|
351
|
+
key: string;
|
|
352
|
+
type: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials";
|
|
353
|
+
description?: string | undefined;
|
|
354
|
+
title?: string | undefined;
|
|
355
|
+
ui?: {
|
|
356
|
+
schema?: any;
|
|
357
|
+
helpUri?: string | undefined;
|
|
358
|
+
} | undefined;
|
|
359
|
+
}>, "many">>;
|
|
231
360
|
oAuthCallbackUri: z.ZodOptional<z.ZodString>;
|
|
232
361
|
parametersSchema: z.ZodOptional<z.ZodType<DataSchema, z.ZodTypeDef, DataSchema>>;
|
|
233
362
|
parameters: z.ZodOptional<z.ZodAny>;
|
|
@@ -236,8 +365,11 @@ export declare const FieldMapping: z.ZodObject<{
|
|
|
236
365
|
hasMissingParameters: z.ZodOptional<z.ZodBoolean>;
|
|
237
366
|
hasDocumentation: z.ZodOptional<z.ZodBoolean>;
|
|
238
367
|
hasOperations: z.ZodOptional<z.ZodBoolean>;
|
|
368
|
+
operationsCount: z.ZodOptional<z.ZodNumber>;
|
|
239
369
|
hasData: z.ZodOptional<z.ZodBoolean>;
|
|
370
|
+
dataCollectionsCount: z.ZodOptional<z.ZodNumber>;
|
|
240
371
|
hasEvents: z.ZodOptional<z.ZodBoolean>;
|
|
372
|
+
eventsCount: z.ZodOptional<z.ZodNumber>;
|
|
241
373
|
hasGlobalWebhooks: z.ZodOptional<z.ZodBoolean>;
|
|
242
374
|
hasUdm: z.ZodOptional<z.ZodBoolean>;
|
|
243
375
|
isTest: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -245,88 +377,138 @@ export declare const FieldMapping: z.ZodObject<{
|
|
|
245
377
|
isDeactivated: z.ZodOptional<z.ZodBoolean>;
|
|
246
378
|
authType: z.ZodOptional<z.ZodEnum<["integration-app-token", "membrane-token", "oauth2", "oauth1", "client-credentials", "proxy"]>>;
|
|
247
379
|
}, "strip", z.ZodTypeAny, {
|
|
248
|
-
key: string;
|
|
249
380
|
id: string;
|
|
250
381
|
name: string;
|
|
251
382
|
baseUri: string;
|
|
252
383
|
logoUri: string;
|
|
384
|
+
key?: string | undefined;
|
|
385
|
+
uuid?: string | undefined;
|
|
386
|
+
description?: string | undefined;
|
|
253
387
|
state?: import("..").WorkspaceElementState | undefined;
|
|
254
388
|
errors?: any[] | undefined;
|
|
389
|
+
revision?: string | undefined;
|
|
390
|
+
isDeactivated?: boolean | undefined;
|
|
391
|
+
createdAt?: string | undefined;
|
|
392
|
+
updatedAt?: string | undefined;
|
|
393
|
+
archivedAt?: string | undefined;
|
|
255
394
|
parameters?: any;
|
|
256
395
|
parametersSchema?: DataSchema | undefined;
|
|
257
|
-
archivedAt?: string | undefined;
|
|
258
396
|
isTest?: boolean | undefined;
|
|
259
397
|
connectorId?: string | undefined;
|
|
260
398
|
connectorVersion?: string | undefined;
|
|
261
|
-
authOptions?:
|
|
399
|
+
authOptions?: {
|
|
400
|
+
key: string;
|
|
401
|
+
type: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials";
|
|
402
|
+
description?: string | undefined;
|
|
403
|
+
title?: string | undefined;
|
|
404
|
+
ui?: {
|
|
405
|
+
schema?: any;
|
|
406
|
+
helpUri?: string | undefined;
|
|
407
|
+
} | undefined;
|
|
408
|
+
}[] | undefined;
|
|
262
409
|
oAuthCallbackUri?: string | undefined;
|
|
263
410
|
hasMissingParameters?: boolean | undefined;
|
|
264
411
|
hasDocumentation?: boolean | undefined;
|
|
265
412
|
hasOperations?: boolean | undefined;
|
|
413
|
+
operationsCount?: number | undefined;
|
|
266
414
|
hasData?: boolean | undefined;
|
|
415
|
+
dataCollectionsCount?: number | undefined;
|
|
267
416
|
hasEvents?: boolean | undefined;
|
|
417
|
+
eventsCount?: number | undefined;
|
|
268
418
|
hasGlobalWebhooks?: boolean | undefined;
|
|
269
419
|
hasUdm?: boolean | undefined;
|
|
270
420
|
appUuid?: string | undefined;
|
|
271
|
-
isDeactivated?: boolean | undefined;
|
|
272
421
|
authType?: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials" | undefined;
|
|
273
422
|
}, {
|
|
274
|
-
key: string;
|
|
275
423
|
id: string;
|
|
276
424
|
name: string;
|
|
277
425
|
baseUri: string;
|
|
278
426
|
logoUri: string;
|
|
427
|
+
key?: string | undefined;
|
|
428
|
+
uuid?: string | undefined;
|
|
429
|
+
description?: string | undefined;
|
|
279
430
|
state?: import("..").WorkspaceElementState | undefined;
|
|
280
431
|
errors?: any[] | undefined;
|
|
432
|
+
revision?: string | undefined;
|
|
433
|
+
isDeactivated?: boolean | undefined;
|
|
434
|
+
createdAt?: string | undefined;
|
|
435
|
+
updatedAt?: string | undefined;
|
|
436
|
+
archivedAt?: string | undefined;
|
|
281
437
|
parameters?: any;
|
|
282
438
|
parametersSchema?: DataSchema | undefined;
|
|
283
|
-
archivedAt?: string | undefined;
|
|
284
439
|
isTest?: boolean | undefined;
|
|
285
440
|
connectorId?: string | undefined;
|
|
286
441
|
connectorVersion?: string | undefined;
|
|
287
|
-
authOptions?:
|
|
442
|
+
authOptions?: {
|
|
443
|
+
key: string;
|
|
444
|
+
type: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials";
|
|
445
|
+
description?: string | undefined;
|
|
446
|
+
title?: string | undefined;
|
|
447
|
+
ui?: {
|
|
448
|
+
schema?: any;
|
|
449
|
+
helpUri?: string | undefined;
|
|
450
|
+
} | undefined;
|
|
451
|
+
}[] | undefined;
|
|
288
452
|
oAuthCallbackUri?: string | undefined;
|
|
289
453
|
hasMissingParameters?: boolean | undefined;
|
|
290
454
|
hasDocumentation?: boolean | undefined;
|
|
291
455
|
hasOperations?: boolean | undefined;
|
|
456
|
+
operationsCount?: number | undefined;
|
|
292
457
|
hasData?: boolean | undefined;
|
|
458
|
+
dataCollectionsCount?: number | undefined;
|
|
293
459
|
hasEvents?: boolean | undefined;
|
|
460
|
+
eventsCount?: number | undefined;
|
|
294
461
|
hasGlobalWebhooks?: boolean | undefined;
|
|
295
462
|
hasUdm?: boolean | undefined;
|
|
296
463
|
appUuid?: string | undefined;
|
|
297
|
-
isDeactivated?: boolean | undefined;
|
|
298
464
|
authType?: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials" | undefined;
|
|
299
465
|
}>;
|
|
300
466
|
}, "strip", z.ZodTypeAny, {
|
|
301
467
|
integration: {
|
|
302
|
-
key: string;
|
|
303
468
|
id: string;
|
|
304
469
|
name: string;
|
|
305
470
|
baseUri: string;
|
|
306
471
|
logoUri: string;
|
|
472
|
+
key?: string | undefined;
|
|
473
|
+
uuid?: string | undefined;
|
|
474
|
+
description?: string | undefined;
|
|
307
475
|
state?: import("..").WorkspaceElementState | undefined;
|
|
308
476
|
errors?: any[] | undefined;
|
|
477
|
+
revision?: string | undefined;
|
|
478
|
+
isDeactivated?: boolean | undefined;
|
|
479
|
+
createdAt?: string | undefined;
|
|
480
|
+
updatedAt?: string | undefined;
|
|
481
|
+
archivedAt?: string | undefined;
|
|
309
482
|
parameters?: any;
|
|
310
483
|
parametersSchema?: DataSchema | undefined;
|
|
311
|
-
archivedAt?: string | undefined;
|
|
312
484
|
isTest?: boolean | undefined;
|
|
313
485
|
connectorId?: string | undefined;
|
|
314
486
|
connectorVersion?: string | undefined;
|
|
315
|
-
authOptions?:
|
|
487
|
+
authOptions?: {
|
|
488
|
+
key: string;
|
|
489
|
+
type: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials";
|
|
490
|
+
description?: string | undefined;
|
|
491
|
+
title?: string | undefined;
|
|
492
|
+
ui?: {
|
|
493
|
+
schema?: any;
|
|
494
|
+
helpUri?: string | undefined;
|
|
495
|
+
} | undefined;
|
|
496
|
+
}[] | undefined;
|
|
316
497
|
oAuthCallbackUri?: string | undefined;
|
|
317
498
|
hasMissingParameters?: boolean | undefined;
|
|
318
499
|
hasDocumentation?: boolean | undefined;
|
|
319
500
|
hasOperations?: boolean | undefined;
|
|
501
|
+
operationsCount?: number | undefined;
|
|
320
502
|
hasData?: boolean | undefined;
|
|
503
|
+
dataCollectionsCount?: number | undefined;
|
|
321
504
|
hasEvents?: boolean | undefined;
|
|
505
|
+
eventsCount?: number | undefined;
|
|
322
506
|
hasGlobalWebhooks?: boolean | undefined;
|
|
323
507
|
hasUdm?: boolean | undefined;
|
|
324
508
|
appUuid?: string | undefined;
|
|
325
|
-
isDeactivated?: boolean | undefined;
|
|
326
509
|
authType?: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials" | undefined;
|
|
327
510
|
};
|
|
328
511
|
element: {
|
|
329
|
-
key: string;
|
|
330
512
|
id: string;
|
|
331
513
|
name: string;
|
|
332
514
|
revision: string;
|
|
@@ -334,10 +516,16 @@ export declare const FieldMapping: z.ZodObject<{
|
|
|
334
516
|
dataSourceKey: string;
|
|
335
517
|
appSchema: DataSchema;
|
|
336
518
|
direction: FieldMappingDirection;
|
|
519
|
+
key?: string | undefined;
|
|
520
|
+
uuid?: string | undefined;
|
|
521
|
+
description?: string | undefined;
|
|
337
522
|
state?: import("..").WorkspaceElementState | undefined;
|
|
338
523
|
errors?: any[] | undefined;
|
|
339
|
-
|
|
524
|
+
isDeactivated?: boolean | undefined;
|
|
525
|
+
createdAt?: string | undefined;
|
|
526
|
+
updatedAt?: string | undefined;
|
|
340
527
|
archivedAt?: string | undefined;
|
|
528
|
+
integrationId?: string | undefined;
|
|
341
529
|
publishedRevision?: string | undefined;
|
|
342
530
|
universalFieldMappingId?: string | undefined;
|
|
343
531
|
universalFieldMappingRevision?: string | undefined;
|
|
@@ -352,34 +540,50 @@ export declare const FieldMapping: z.ZodObject<{
|
|
|
352
540
|
};
|
|
353
541
|
}, {
|
|
354
542
|
integration: {
|
|
355
|
-
key: string;
|
|
356
543
|
id: string;
|
|
357
544
|
name: string;
|
|
358
545
|
baseUri: string;
|
|
359
546
|
logoUri: string;
|
|
547
|
+
key?: string | undefined;
|
|
548
|
+
uuid?: string | undefined;
|
|
549
|
+
description?: string | undefined;
|
|
360
550
|
state?: import("..").WorkspaceElementState | undefined;
|
|
361
551
|
errors?: any[] | undefined;
|
|
552
|
+
revision?: string | undefined;
|
|
553
|
+
isDeactivated?: boolean | undefined;
|
|
554
|
+
createdAt?: string | undefined;
|
|
555
|
+
updatedAt?: string | undefined;
|
|
556
|
+
archivedAt?: string | undefined;
|
|
362
557
|
parameters?: any;
|
|
363
558
|
parametersSchema?: DataSchema | undefined;
|
|
364
|
-
archivedAt?: string | undefined;
|
|
365
559
|
isTest?: boolean | undefined;
|
|
366
560
|
connectorId?: string | undefined;
|
|
367
561
|
connectorVersion?: string | undefined;
|
|
368
|
-
authOptions?:
|
|
562
|
+
authOptions?: {
|
|
563
|
+
key: string;
|
|
564
|
+
type: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials";
|
|
565
|
+
description?: string | undefined;
|
|
566
|
+
title?: string | undefined;
|
|
567
|
+
ui?: {
|
|
568
|
+
schema?: any;
|
|
569
|
+
helpUri?: string | undefined;
|
|
570
|
+
} | undefined;
|
|
571
|
+
}[] | undefined;
|
|
369
572
|
oAuthCallbackUri?: string | undefined;
|
|
370
573
|
hasMissingParameters?: boolean | undefined;
|
|
371
574
|
hasDocumentation?: boolean | undefined;
|
|
372
575
|
hasOperations?: boolean | undefined;
|
|
576
|
+
operationsCount?: number | undefined;
|
|
373
577
|
hasData?: boolean | undefined;
|
|
578
|
+
dataCollectionsCount?: number | undefined;
|
|
374
579
|
hasEvents?: boolean | undefined;
|
|
580
|
+
eventsCount?: number | undefined;
|
|
375
581
|
hasGlobalWebhooks?: boolean | undefined;
|
|
376
582
|
hasUdm?: boolean | undefined;
|
|
377
583
|
appUuid?: string | undefined;
|
|
378
|
-
isDeactivated?: boolean | undefined;
|
|
379
584
|
authType?: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials" | undefined;
|
|
380
585
|
};
|
|
381
586
|
element: {
|
|
382
|
-
key: string;
|
|
383
587
|
id: string;
|
|
384
588
|
name: string;
|
|
385
589
|
revision: string;
|
|
@@ -387,10 +591,16 @@ export declare const FieldMapping: z.ZodObject<{
|
|
|
387
591
|
dataSourceKey: string;
|
|
388
592
|
appSchema: DataSchema;
|
|
389
593
|
direction: FieldMappingDirection;
|
|
594
|
+
key?: string | undefined;
|
|
595
|
+
uuid?: string | undefined;
|
|
596
|
+
description?: string | undefined;
|
|
390
597
|
state?: import("..").WorkspaceElementState | undefined;
|
|
391
598
|
errors?: any[] | undefined;
|
|
392
|
-
|
|
599
|
+
isDeactivated?: boolean | undefined;
|
|
600
|
+
createdAt?: string | undefined;
|
|
601
|
+
updatedAt?: string | undefined;
|
|
393
602
|
archivedAt?: string | undefined;
|
|
603
|
+
integrationId?: string | undefined;
|
|
394
604
|
publishedRevision?: string | undefined;
|
|
395
605
|
universalFieldMappingId?: string | undefined;
|
|
396
606
|
universalFieldMappingRevision?: string | undefined;
|
|
@@ -405,7 +615,6 @@ export declare const FieldMapping: z.ZodObject<{
|
|
|
405
615
|
};
|
|
406
616
|
}>, "many">>;
|
|
407
617
|
}, "strip", z.ZodTypeAny, {
|
|
408
|
-
key: string;
|
|
409
618
|
id: string;
|
|
410
619
|
name: string;
|
|
411
620
|
revision: string;
|
|
@@ -413,37 +622,60 @@ export declare const FieldMapping: z.ZodObject<{
|
|
|
413
622
|
dataSourceKey: string;
|
|
414
623
|
appSchema: DataSchema;
|
|
415
624
|
direction: FieldMappingDirection;
|
|
625
|
+
key?: string | undefined;
|
|
416
626
|
integration?: {
|
|
417
|
-
key: string;
|
|
418
627
|
id: string;
|
|
419
628
|
name: string;
|
|
420
629
|
baseUri: string;
|
|
421
630
|
logoUri: string;
|
|
631
|
+
key?: string | undefined;
|
|
632
|
+
uuid?: string | undefined;
|
|
633
|
+
description?: string | undefined;
|
|
422
634
|
state?: import("..").WorkspaceElementState | undefined;
|
|
423
635
|
errors?: any[] | undefined;
|
|
636
|
+
revision?: string | undefined;
|
|
637
|
+
isDeactivated?: boolean | undefined;
|
|
638
|
+
createdAt?: string | undefined;
|
|
639
|
+
updatedAt?: string | undefined;
|
|
640
|
+
archivedAt?: string | undefined;
|
|
424
641
|
parameters?: any;
|
|
425
642
|
parametersSchema?: DataSchema | undefined;
|
|
426
|
-
archivedAt?: string | undefined;
|
|
427
643
|
isTest?: boolean | undefined;
|
|
428
644
|
connectorId?: string | undefined;
|
|
429
645
|
connectorVersion?: string | undefined;
|
|
430
|
-
authOptions?:
|
|
646
|
+
authOptions?: {
|
|
647
|
+
key: string;
|
|
648
|
+
type: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials";
|
|
649
|
+
description?: string | undefined;
|
|
650
|
+
title?: string | undefined;
|
|
651
|
+
ui?: {
|
|
652
|
+
schema?: any;
|
|
653
|
+
helpUri?: string | undefined;
|
|
654
|
+
} | undefined;
|
|
655
|
+
}[] | undefined;
|
|
431
656
|
oAuthCallbackUri?: string | undefined;
|
|
432
657
|
hasMissingParameters?: boolean | undefined;
|
|
433
658
|
hasDocumentation?: boolean | undefined;
|
|
434
659
|
hasOperations?: boolean | undefined;
|
|
660
|
+
operationsCount?: number | undefined;
|
|
435
661
|
hasData?: boolean | undefined;
|
|
662
|
+
dataCollectionsCount?: number | undefined;
|
|
436
663
|
hasEvents?: boolean | undefined;
|
|
664
|
+
eventsCount?: number | undefined;
|
|
437
665
|
hasGlobalWebhooks?: boolean | undefined;
|
|
438
666
|
hasUdm?: boolean | undefined;
|
|
439
667
|
appUuid?: string | undefined;
|
|
440
|
-
isDeactivated?: boolean | undefined;
|
|
441
668
|
authType?: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials" | undefined;
|
|
442
669
|
} | undefined;
|
|
670
|
+
uuid?: string | undefined;
|
|
671
|
+
description?: string | undefined;
|
|
443
672
|
state?: import("..").WorkspaceElementState | undefined;
|
|
444
673
|
errors?: any[] | undefined;
|
|
445
|
-
|
|
674
|
+
isDeactivated?: boolean | undefined;
|
|
675
|
+
createdAt?: string | undefined;
|
|
676
|
+
updatedAt?: string | undefined;
|
|
446
677
|
archivedAt?: string | undefined;
|
|
678
|
+
integrationId?: string | undefined;
|
|
447
679
|
publishedRevision?: string | undefined;
|
|
448
680
|
universalFieldMappingId?: string | undefined;
|
|
449
681
|
universalFieldMappingRevision?: string | undefined;
|
|
@@ -457,34 +689,50 @@ export declare const FieldMapping: z.ZodObject<{
|
|
|
457
689
|
customized?: boolean | undefined;
|
|
458
690
|
appliedToIntegrations?: {
|
|
459
691
|
integration: {
|
|
460
|
-
key: string;
|
|
461
692
|
id: string;
|
|
462
693
|
name: string;
|
|
463
694
|
baseUri: string;
|
|
464
695
|
logoUri: string;
|
|
696
|
+
key?: string | undefined;
|
|
697
|
+
uuid?: string | undefined;
|
|
698
|
+
description?: string | undefined;
|
|
465
699
|
state?: import("..").WorkspaceElementState | undefined;
|
|
466
700
|
errors?: any[] | undefined;
|
|
701
|
+
revision?: string | undefined;
|
|
702
|
+
isDeactivated?: boolean | undefined;
|
|
703
|
+
createdAt?: string | undefined;
|
|
704
|
+
updatedAt?: string | undefined;
|
|
705
|
+
archivedAt?: string | undefined;
|
|
467
706
|
parameters?: any;
|
|
468
707
|
parametersSchema?: DataSchema | undefined;
|
|
469
|
-
archivedAt?: string | undefined;
|
|
470
708
|
isTest?: boolean | undefined;
|
|
471
709
|
connectorId?: string | undefined;
|
|
472
710
|
connectorVersion?: string | undefined;
|
|
473
|
-
authOptions?:
|
|
711
|
+
authOptions?: {
|
|
712
|
+
key: string;
|
|
713
|
+
type: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials";
|
|
714
|
+
description?: string | undefined;
|
|
715
|
+
title?: string | undefined;
|
|
716
|
+
ui?: {
|
|
717
|
+
schema?: any;
|
|
718
|
+
helpUri?: string | undefined;
|
|
719
|
+
} | undefined;
|
|
720
|
+
}[] | undefined;
|
|
474
721
|
oAuthCallbackUri?: string | undefined;
|
|
475
722
|
hasMissingParameters?: boolean | undefined;
|
|
476
723
|
hasDocumentation?: boolean | undefined;
|
|
477
724
|
hasOperations?: boolean | undefined;
|
|
725
|
+
operationsCount?: number | undefined;
|
|
478
726
|
hasData?: boolean | undefined;
|
|
727
|
+
dataCollectionsCount?: number | undefined;
|
|
479
728
|
hasEvents?: boolean | undefined;
|
|
729
|
+
eventsCount?: number | undefined;
|
|
480
730
|
hasGlobalWebhooks?: boolean | undefined;
|
|
481
731
|
hasUdm?: boolean | undefined;
|
|
482
732
|
appUuid?: string | undefined;
|
|
483
|
-
isDeactivated?: boolean | undefined;
|
|
484
733
|
authType?: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials" | undefined;
|
|
485
734
|
};
|
|
486
735
|
element: {
|
|
487
|
-
key: string;
|
|
488
736
|
id: string;
|
|
489
737
|
name: string;
|
|
490
738
|
revision: string;
|
|
@@ -492,10 +740,16 @@ export declare const FieldMapping: z.ZodObject<{
|
|
|
492
740
|
dataSourceKey: string;
|
|
493
741
|
appSchema: DataSchema;
|
|
494
742
|
direction: FieldMappingDirection;
|
|
743
|
+
key?: string | undefined;
|
|
744
|
+
uuid?: string | undefined;
|
|
745
|
+
description?: string | undefined;
|
|
495
746
|
state?: import("..").WorkspaceElementState | undefined;
|
|
496
747
|
errors?: any[] | undefined;
|
|
497
|
-
|
|
748
|
+
isDeactivated?: boolean | undefined;
|
|
749
|
+
createdAt?: string | undefined;
|
|
750
|
+
updatedAt?: string | undefined;
|
|
498
751
|
archivedAt?: string | undefined;
|
|
752
|
+
integrationId?: string | undefined;
|
|
499
753
|
publishedRevision?: string | undefined;
|
|
500
754
|
universalFieldMappingId?: string | undefined;
|
|
501
755
|
universalFieldMappingRevision?: string | undefined;
|
|
@@ -510,7 +764,6 @@ export declare const FieldMapping: z.ZodObject<{
|
|
|
510
764
|
};
|
|
511
765
|
}[] | undefined;
|
|
512
766
|
}, {
|
|
513
|
-
key: string;
|
|
514
767
|
id: string;
|
|
515
768
|
name: string;
|
|
516
769
|
revision: string;
|
|
@@ -518,37 +771,60 @@ export declare const FieldMapping: z.ZodObject<{
|
|
|
518
771
|
dataSourceKey: string;
|
|
519
772
|
appSchema: DataSchema;
|
|
520
773
|
direction: FieldMappingDirection;
|
|
774
|
+
key?: string | undefined;
|
|
521
775
|
integration?: {
|
|
522
|
-
key: string;
|
|
523
776
|
id: string;
|
|
524
777
|
name: string;
|
|
525
778
|
baseUri: string;
|
|
526
779
|
logoUri: string;
|
|
780
|
+
key?: string | undefined;
|
|
781
|
+
uuid?: string | undefined;
|
|
782
|
+
description?: string | undefined;
|
|
527
783
|
state?: import("..").WorkspaceElementState | undefined;
|
|
528
784
|
errors?: any[] | undefined;
|
|
785
|
+
revision?: string | undefined;
|
|
786
|
+
isDeactivated?: boolean | undefined;
|
|
787
|
+
createdAt?: string | undefined;
|
|
788
|
+
updatedAt?: string | undefined;
|
|
789
|
+
archivedAt?: string | undefined;
|
|
529
790
|
parameters?: any;
|
|
530
791
|
parametersSchema?: DataSchema | undefined;
|
|
531
|
-
archivedAt?: string | undefined;
|
|
532
792
|
isTest?: boolean | undefined;
|
|
533
793
|
connectorId?: string | undefined;
|
|
534
794
|
connectorVersion?: string | undefined;
|
|
535
|
-
authOptions?:
|
|
795
|
+
authOptions?: {
|
|
796
|
+
key: string;
|
|
797
|
+
type: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials";
|
|
798
|
+
description?: string | undefined;
|
|
799
|
+
title?: string | undefined;
|
|
800
|
+
ui?: {
|
|
801
|
+
schema?: any;
|
|
802
|
+
helpUri?: string | undefined;
|
|
803
|
+
} | undefined;
|
|
804
|
+
}[] | undefined;
|
|
536
805
|
oAuthCallbackUri?: string | undefined;
|
|
537
806
|
hasMissingParameters?: boolean | undefined;
|
|
538
807
|
hasDocumentation?: boolean | undefined;
|
|
539
808
|
hasOperations?: boolean | undefined;
|
|
809
|
+
operationsCount?: number | undefined;
|
|
540
810
|
hasData?: boolean | undefined;
|
|
811
|
+
dataCollectionsCount?: number | undefined;
|
|
541
812
|
hasEvents?: boolean | undefined;
|
|
813
|
+
eventsCount?: number | undefined;
|
|
542
814
|
hasGlobalWebhooks?: boolean | undefined;
|
|
543
815
|
hasUdm?: boolean | undefined;
|
|
544
816
|
appUuid?: string | undefined;
|
|
545
|
-
isDeactivated?: boolean | undefined;
|
|
546
817
|
authType?: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials" | undefined;
|
|
547
818
|
} | undefined;
|
|
819
|
+
uuid?: string | undefined;
|
|
820
|
+
description?: string | undefined;
|
|
548
821
|
state?: import("..").WorkspaceElementState | undefined;
|
|
549
822
|
errors?: any[] | undefined;
|
|
550
|
-
|
|
823
|
+
isDeactivated?: boolean | undefined;
|
|
824
|
+
createdAt?: string | undefined;
|
|
825
|
+
updatedAt?: string | undefined;
|
|
551
826
|
archivedAt?: string | undefined;
|
|
827
|
+
integrationId?: string | undefined;
|
|
552
828
|
publishedRevision?: string | undefined;
|
|
553
829
|
universalFieldMappingId?: string | undefined;
|
|
554
830
|
universalFieldMappingRevision?: string | undefined;
|
|
@@ -562,34 +838,50 @@ export declare const FieldMapping: z.ZodObject<{
|
|
|
562
838
|
customized?: boolean | undefined;
|
|
563
839
|
appliedToIntegrations?: {
|
|
564
840
|
integration: {
|
|
565
|
-
key: string;
|
|
566
841
|
id: string;
|
|
567
842
|
name: string;
|
|
568
843
|
baseUri: string;
|
|
569
844
|
logoUri: string;
|
|
845
|
+
key?: string | undefined;
|
|
846
|
+
uuid?: string | undefined;
|
|
847
|
+
description?: string | undefined;
|
|
570
848
|
state?: import("..").WorkspaceElementState | undefined;
|
|
571
849
|
errors?: any[] | undefined;
|
|
850
|
+
revision?: string | undefined;
|
|
851
|
+
isDeactivated?: boolean | undefined;
|
|
852
|
+
createdAt?: string | undefined;
|
|
853
|
+
updatedAt?: string | undefined;
|
|
854
|
+
archivedAt?: string | undefined;
|
|
572
855
|
parameters?: any;
|
|
573
856
|
parametersSchema?: DataSchema | undefined;
|
|
574
|
-
archivedAt?: string | undefined;
|
|
575
857
|
isTest?: boolean | undefined;
|
|
576
858
|
connectorId?: string | undefined;
|
|
577
859
|
connectorVersion?: string | undefined;
|
|
578
|
-
authOptions?:
|
|
860
|
+
authOptions?: {
|
|
861
|
+
key: string;
|
|
862
|
+
type: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials";
|
|
863
|
+
description?: string | undefined;
|
|
864
|
+
title?: string | undefined;
|
|
865
|
+
ui?: {
|
|
866
|
+
schema?: any;
|
|
867
|
+
helpUri?: string | undefined;
|
|
868
|
+
} | undefined;
|
|
869
|
+
}[] | undefined;
|
|
579
870
|
oAuthCallbackUri?: string | undefined;
|
|
580
871
|
hasMissingParameters?: boolean | undefined;
|
|
581
872
|
hasDocumentation?: boolean | undefined;
|
|
582
873
|
hasOperations?: boolean | undefined;
|
|
874
|
+
operationsCount?: number | undefined;
|
|
583
875
|
hasData?: boolean | undefined;
|
|
876
|
+
dataCollectionsCount?: number | undefined;
|
|
584
877
|
hasEvents?: boolean | undefined;
|
|
878
|
+
eventsCount?: number | undefined;
|
|
585
879
|
hasGlobalWebhooks?: boolean | undefined;
|
|
586
880
|
hasUdm?: boolean | undefined;
|
|
587
881
|
appUuid?: string | undefined;
|
|
588
|
-
isDeactivated?: boolean | undefined;
|
|
589
882
|
authType?: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials" | undefined;
|
|
590
883
|
};
|
|
591
884
|
element: {
|
|
592
|
-
key: string;
|
|
593
885
|
id: string;
|
|
594
886
|
name: string;
|
|
595
887
|
revision: string;
|
|
@@ -597,10 +889,16 @@ export declare const FieldMapping: z.ZodObject<{
|
|
|
597
889
|
dataSourceKey: string;
|
|
598
890
|
appSchema: DataSchema;
|
|
599
891
|
direction: FieldMappingDirection;
|
|
892
|
+
key?: string | undefined;
|
|
893
|
+
uuid?: string | undefined;
|
|
894
|
+
description?: string | undefined;
|
|
600
895
|
state?: import("..").WorkspaceElementState | undefined;
|
|
601
896
|
errors?: any[] | undefined;
|
|
602
|
-
|
|
897
|
+
isDeactivated?: boolean | undefined;
|
|
898
|
+
createdAt?: string | undefined;
|
|
899
|
+
updatedAt?: string | undefined;
|
|
603
900
|
archivedAt?: string | undefined;
|
|
901
|
+
integrationId?: string | undefined;
|
|
604
902
|
publishedRevision?: string | undefined;
|
|
605
903
|
universalFieldMappingId?: string | undefined;
|
|
606
904
|
universalFieldMappingRevision?: string | undefined;
|
|
@@ -615,5 +913,5 @@ export declare const FieldMapping: z.ZodObject<{
|
|
|
615
913
|
};
|
|
616
914
|
}[] | undefined;
|
|
617
915
|
}>;
|
|
618
|
-
export type
|
|
619
|
-
export type
|
|
916
|
+
export type FieldMappingApiResponse = z.infer<typeof FieldMappingApiResponse>;
|
|
917
|
+
export type FieldMapping = FieldMappingApiResponse;
|