@membranehq/sdk 0.5.0 → 0.5.2
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 +10513 -4612
- package/dist/bundle.js +149 -1
- package/dist/bundle.js.map +1 -1
- package/dist/dts/accessors/connections-accessors.d.ts +22 -15
- package/dist/dts/accessors/integrations-accessors.d.ts +22 -15
- 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 +435 -10
- package/dist/dts/workspace-elements/api/actions-api.d.ts +225 -114
- 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 +505 -135
- 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 +447 -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 +1496 -12
- package/dist/dts/workspace-elements/api/data-sources-api.d.ts +189 -103
- package/dist/dts/workspace-elements/api/external-event-log-records-api.d.ts +602 -19
- package/dist/dts/workspace-elements/api/external-event-pulls-api.d.ts +608 -19
- package/dist/dts/workspace-elements/api/external-event-subscriptions-api.d.ts +465 -10
- package/dist/dts/workspace-elements/api/external-events-api.d.ts +75 -41
- package/dist/dts/workspace-elements/api/field-mapping-instances-api.d.ts +2570 -14
- package/dist/dts/workspace-elements/api/field-mappings-api.d.ts +199 -93
- package/dist/dts/workspace-elements/api/flow-runs-api.d.ts +1436 -47
- package/dist/dts/workspace-elements/api/flows-api.d.ts +590 -295
- package/dist/dts/workspace-elements/api/index.d.ts +1 -1
- package/dist/dts/workspace-elements/api/integrations-api.d.ts +176 -58
- package/dist/dts/workspace-elements/api/scenarios-api.d.ts +77 -36
- package/dist/dts/workspace-elements/api/screens-api.d.ts +33 -13
- package/dist/dts/workspace-elements/base/action-instances/types.d.ts +31 -15
- 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 +21 -21
- 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 +2 -2
- package/dist/dts/workspace-elements/base/flow-instances/types.d.ts +24 -9
- package/dist/dts/workspace-elements/base/flow-runs/types.d.ts +14 -1
- package/dist/dts/workspace-elements/base/flows/types.d.ts +20 -6
- package/dist/dts/workspace-elements/base/integrations/types.d.ts +187 -104
- 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 +5 -4
- package/dist/index.d.ts +20345 -9526
- package/dist/index.js +268 -115
- package/dist/index.js.map +1 -1
- package/dist/index.module.d.mts +20345 -9526
- package/dist/index.module.mjs +234 -107
- 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,25 +66,29 @@ 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.ZodAny, "many">>;
|
|
74
81
|
oAuthCallbackUri: z.ZodOptional<z.ZodString>;
|
|
75
|
-
parametersSchema: z.ZodOptional<z.ZodType<DataSchema, z.ZodTypeDef, DataSchema>>;
|
|
76
82
|
parameters: z.ZodOptional<z.ZodAny>;
|
|
77
|
-
baseUri: z.ZodString;
|
|
78
83
|
archivedAt: z.ZodOptional<z.ZodString>;
|
|
79
84
|
hasMissingParameters: z.ZodOptional<z.ZodBoolean>;
|
|
80
85
|
hasDocumentation: z.ZodOptional<z.ZodBoolean>;
|
|
81
86
|
hasOperations: z.ZodOptional<z.ZodBoolean>;
|
|
87
|
+
operationsCount: z.ZodOptional<z.ZodNumber>;
|
|
82
88
|
hasData: z.ZodOptional<z.ZodBoolean>;
|
|
89
|
+
dataCollectionsCount: z.ZodOptional<z.ZodNumber>;
|
|
83
90
|
hasEvents: z.ZodOptional<z.ZodBoolean>;
|
|
91
|
+
eventsCount: z.ZodOptional<z.ZodNumber>;
|
|
84
92
|
hasGlobalWebhooks: z.ZodOptional<z.ZodBoolean>;
|
|
85
93
|
hasUdm: z.ZodOptional<z.ZodBoolean>;
|
|
86
94
|
isTest: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -88,66 +96,80 @@ export declare const FieldMapping: z.ZodObject<{
|
|
|
88
96
|
isDeactivated: z.ZodOptional<z.ZodBoolean>;
|
|
89
97
|
authType: z.ZodOptional<z.ZodEnum<["integration-app-token", "membrane-token", "oauth2", "oauth1", "client-credentials", "proxy"]>>;
|
|
90
98
|
}, "strip", z.ZodTypeAny, {
|
|
91
|
-
key: string;
|
|
92
99
|
id: string;
|
|
93
100
|
name: string;
|
|
94
|
-
baseUri: string;
|
|
95
101
|
logoUri: string;
|
|
102
|
+
key?: string | undefined;
|
|
103
|
+
uuid?: string | undefined;
|
|
104
|
+
description?: string | undefined;
|
|
96
105
|
state?: import("..").WorkspaceElementState | undefined;
|
|
97
106
|
errors?: any[] | undefined;
|
|
98
|
-
|
|
99
|
-
|
|
107
|
+
revision?: string | undefined;
|
|
108
|
+
isDeactivated?: boolean | undefined;
|
|
109
|
+
createdAt?: string | undefined;
|
|
110
|
+
updatedAt?: string | undefined;
|
|
100
111
|
archivedAt?: string | undefined;
|
|
112
|
+
parameters?: any;
|
|
101
113
|
isTest?: boolean | undefined;
|
|
102
114
|
connectorId?: string | undefined;
|
|
103
115
|
connectorVersion?: string | undefined;
|
|
104
|
-
authOptions?: any[] | undefined;
|
|
105
116
|
oAuthCallbackUri?: string | undefined;
|
|
106
117
|
hasMissingParameters?: boolean | undefined;
|
|
107
118
|
hasDocumentation?: boolean | undefined;
|
|
108
119
|
hasOperations?: boolean | undefined;
|
|
120
|
+
operationsCount?: number | undefined;
|
|
109
121
|
hasData?: boolean | undefined;
|
|
122
|
+
dataCollectionsCount?: number | undefined;
|
|
110
123
|
hasEvents?: boolean | undefined;
|
|
124
|
+
eventsCount?: number | undefined;
|
|
111
125
|
hasGlobalWebhooks?: boolean | undefined;
|
|
112
126
|
hasUdm?: boolean | undefined;
|
|
113
127
|
appUuid?: string | undefined;
|
|
114
|
-
isDeactivated?: boolean | undefined;
|
|
115
128
|
authType?: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials" | undefined;
|
|
116
129
|
}, {
|
|
117
|
-
key: string;
|
|
118
130
|
id: string;
|
|
119
131
|
name: string;
|
|
120
|
-
baseUri: string;
|
|
121
132
|
logoUri: string;
|
|
133
|
+
key?: string | undefined;
|
|
134
|
+
uuid?: string | undefined;
|
|
135
|
+
description?: string | undefined;
|
|
122
136
|
state?: import("..").WorkspaceElementState | undefined;
|
|
123
137
|
errors?: any[] | undefined;
|
|
124
|
-
|
|
125
|
-
|
|
138
|
+
revision?: string | undefined;
|
|
139
|
+
isDeactivated?: boolean | undefined;
|
|
140
|
+
createdAt?: string | undefined;
|
|
141
|
+
updatedAt?: string | undefined;
|
|
126
142
|
archivedAt?: string | undefined;
|
|
143
|
+
parameters?: any;
|
|
127
144
|
isTest?: boolean | undefined;
|
|
128
145
|
connectorId?: string | undefined;
|
|
129
146
|
connectorVersion?: string | undefined;
|
|
130
|
-
authOptions?: any[] | undefined;
|
|
131
147
|
oAuthCallbackUri?: string | undefined;
|
|
132
148
|
hasMissingParameters?: boolean | undefined;
|
|
133
149
|
hasDocumentation?: boolean | undefined;
|
|
134
150
|
hasOperations?: boolean | undefined;
|
|
151
|
+
operationsCount?: number | undefined;
|
|
135
152
|
hasData?: boolean | undefined;
|
|
153
|
+
dataCollectionsCount?: number | undefined;
|
|
136
154
|
hasEvents?: boolean | undefined;
|
|
155
|
+
eventsCount?: number | undefined;
|
|
137
156
|
hasGlobalWebhooks?: boolean | undefined;
|
|
138
157
|
hasUdm?: boolean | undefined;
|
|
139
158
|
appUuid?: string | undefined;
|
|
140
|
-
isDeactivated?: boolean | undefined;
|
|
141
159
|
authType?: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials" | undefined;
|
|
142
160
|
}>>;
|
|
143
161
|
appliedToIntegrations: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
144
162
|
element: z.ZodObject<{
|
|
145
163
|
id: z.ZodString;
|
|
146
164
|
name: z.ZodString;
|
|
147
|
-
|
|
148
|
-
|
|
165
|
+
key: z.ZodOptional<z.ZodString>;
|
|
166
|
+
uuid: z.ZodOptional<z.ZodString>;
|
|
167
|
+
description: z.ZodOptional<z.ZodString>;
|
|
149
168
|
state: z.ZodOptional<z.ZodNativeEnum<typeof import("..").WorkspaceElementState>>;
|
|
150
169
|
errors: z.ZodOptional<z.ZodArray<any, "many">>;
|
|
170
|
+
isDeactivated: z.ZodOptional<z.ZodBoolean>;
|
|
171
|
+
createdAt: z.ZodOptional<z.ZodString>;
|
|
172
|
+
updatedAt: z.ZodOptional<z.ZodString>;
|
|
151
173
|
} & {
|
|
152
174
|
revision: z.ZodString;
|
|
153
175
|
publishedRevision: z.ZodOptional<z.ZodString>;
|
|
@@ -168,7 +190,6 @@ export declare const FieldMapping: z.ZodObject<{
|
|
|
168
190
|
archivedAt: z.ZodOptional<z.ZodString>;
|
|
169
191
|
customized: z.ZodOptional<z.ZodBoolean>;
|
|
170
192
|
}, "strip", z.ZodTypeAny, {
|
|
171
|
-
key: string;
|
|
172
193
|
id: string;
|
|
173
194
|
name: string;
|
|
174
195
|
revision: string;
|
|
@@ -176,10 +197,16 @@ export declare const FieldMapping: z.ZodObject<{
|
|
|
176
197
|
dataSourceKey: string;
|
|
177
198
|
appSchema: DataSchema;
|
|
178
199
|
direction: FieldMappingDirection;
|
|
200
|
+
key?: string | undefined;
|
|
201
|
+
uuid?: string | undefined;
|
|
202
|
+
description?: string | undefined;
|
|
179
203
|
state?: import("..").WorkspaceElementState | undefined;
|
|
180
204
|
errors?: any[] | undefined;
|
|
181
|
-
|
|
205
|
+
isDeactivated?: boolean | undefined;
|
|
206
|
+
createdAt?: string | undefined;
|
|
207
|
+
updatedAt?: string | undefined;
|
|
182
208
|
archivedAt?: string | undefined;
|
|
209
|
+
integrationId?: string | undefined;
|
|
183
210
|
publishedRevision?: string | undefined;
|
|
184
211
|
universalFieldMappingId?: string | undefined;
|
|
185
212
|
universalFieldMappingRevision?: string | undefined;
|
|
@@ -192,7 +219,6 @@ export declare const FieldMapping: z.ZodObject<{
|
|
|
192
219
|
frozenUnifiedExportFields?: any;
|
|
193
220
|
customized?: boolean | undefined;
|
|
194
221
|
}, {
|
|
195
|
-
key: string;
|
|
196
222
|
id: string;
|
|
197
223
|
name: string;
|
|
198
224
|
revision: string;
|
|
@@ -200,10 +226,16 @@ export declare const FieldMapping: z.ZodObject<{
|
|
|
200
226
|
dataSourceKey: string;
|
|
201
227
|
appSchema: DataSchema;
|
|
202
228
|
direction: FieldMappingDirection;
|
|
229
|
+
key?: string | undefined;
|
|
230
|
+
uuid?: string | undefined;
|
|
231
|
+
description?: string | undefined;
|
|
203
232
|
state?: import("..").WorkspaceElementState | undefined;
|
|
204
233
|
errors?: any[] | undefined;
|
|
205
|
-
|
|
234
|
+
isDeactivated?: boolean | undefined;
|
|
235
|
+
createdAt?: string | undefined;
|
|
236
|
+
updatedAt?: string | undefined;
|
|
206
237
|
archivedAt?: string | undefined;
|
|
238
|
+
integrationId?: string | undefined;
|
|
207
239
|
publishedRevision?: string | undefined;
|
|
208
240
|
universalFieldMappingId?: string | undefined;
|
|
209
241
|
universalFieldMappingRevision?: string | undefined;
|
|
@@ -219,25 +251,29 @@ export declare const FieldMapping: z.ZodObject<{
|
|
|
219
251
|
integration: z.ZodObject<{
|
|
220
252
|
id: z.ZodString;
|
|
221
253
|
name: z.ZodString;
|
|
222
|
-
|
|
223
|
-
|
|
254
|
+
key: z.ZodOptional<z.ZodString>;
|
|
255
|
+
uuid: z.ZodOptional<z.ZodString>;
|
|
256
|
+
description: z.ZodOptional<z.ZodString>;
|
|
224
257
|
state: z.ZodOptional<z.ZodNativeEnum<typeof import("..").WorkspaceElementState>>;
|
|
225
258
|
errors: z.ZodOptional<z.ZodArray<any, "many">>;
|
|
259
|
+
revision: z.ZodOptional<z.ZodString>;
|
|
260
|
+
createdAt: z.ZodOptional<z.ZodString>;
|
|
261
|
+
updatedAt: z.ZodOptional<z.ZodString>;
|
|
226
262
|
} & {
|
|
227
263
|
logoUri: z.ZodString;
|
|
228
264
|
connectorId: z.ZodOptional<z.ZodString>;
|
|
229
265
|
connectorVersion: z.ZodOptional<z.ZodString>;
|
|
230
|
-
authOptions: z.ZodOptional<z.ZodArray<z.ZodAny, "many">>;
|
|
231
266
|
oAuthCallbackUri: z.ZodOptional<z.ZodString>;
|
|
232
|
-
parametersSchema: z.ZodOptional<z.ZodType<DataSchema, z.ZodTypeDef, DataSchema>>;
|
|
233
267
|
parameters: z.ZodOptional<z.ZodAny>;
|
|
234
|
-
baseUri: z.ZodString;
|
|
235
268
|
archivedAt: z.ZodOptional<z.ZodString>;
|
|
236
269
|
hasMissingParameters: z.ZodOptional<z.ZodBoolean>;
|
|
237
270
|
hasDocumentation: z.ZodOptional<z.ZodBoolean>;
|
|
238
271
|
hasOperations: z.ZodOptional<z.ZodBoolean>;
|
|
272
|
+
operationsCount: z.ZodOptional<z.ZodNumber>;
|
|
239
273
|
hasData: z.ZodOptional<z.ZodBoolean>;
|
|
274
|
+
dataCollectionsCount: z.ZodOptional<z.ZodNumber>;
|
|
240
275
|
hasEvents: z.ZodOptional<z.ZodBoolean>;
|
|
276
|
+
eventsCount: z.ZodOptional<z.ZodNumber>;
|
|
241
277
|
hasGlobalWebhooks: z.ZodOptional<z.ZodBoolean>;
|
|
242
278
|
hasUdm: z.ZodOptional<z.ZodBoolean>;
|
|
243
279
|
isTest: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -245,88 +281,102 @@ export declare const FieldMapping: z.ZodObject<{
|
|
|
245
281
|
isDeactivated: z.ZodOptional<z.ZodBoolean>;
|
|
246
282
|
authType: z.ZodOptional<z.ZodEnum<["integration-app-token", "membrane-token", "oauth2", "oauth1", "client-credentials", "proxy"]>>;
|
|
247
283
|
}, "strip", z.ZodTypeAny, {
|
|
248
|
-
key: string;
|
|
249
284
|
id: string;
|
|
250
285
|
name: string;
|
|
251
|
-
baseUri: string;
|
|
252
286
|
logoUri: string;
|
|
287
|
+
key?: string | undefined;
|
|
288
|
+
uuid?: string | undefined;
|
|
289
|
+
description?: string | undefined;
|
|
253
290
|
state?: import("..").WorkspaceElementState | undefined;
|
|
254
291
|
errors?: any[] | undefined;
|
|
255
|
-
|
|
256
|
-
|
|
292
|
+
revision?: string | undefined;
|
|
293
|
+
isDeactivated?: boolean | undefined;
|
|
294
|
+
createdAt?: string | undefined;
|
|
295
|
+
updatedAt?: string | undefined;
|
|
257
296
|
archivedAt?: string | undefined;
|
|
297
|
+
parameters?: any;
|
|
258
298
|
isTest?: boolean | undefined;
|
|
259
299
|
connectorId?: string | undefined;
|
|
260
300
|
connectorVersion?: string | undefined;
|
|
261
|
-
authOptions?: any[] | undefined;
|
|
262
301
|
oAuthCallbackUri?: string | undefined;
|
|
263
302
|
hasMissingParameters?: boolean | undefined;
|
|
264
303
|
hasDocumentation?: boolean | undefined;
|
|
265
304
|
hasOperations?: boolean | undefined;
|
|
305
|
+
operationsCount?: number | undefined;
|
|
266
306
|
hasData?: boolean | undefined;
|
|
307
|
+
dataCollectionsCount?: number | undefined;
|
|
267
308
|
hasEvents?: boolean | undefined;
|
|
309
|
+
eventsCount?: number | undefined;
|
|
268
310
|
hasGlobalWebhooks?: boolean | undefined;
|
|
269
311
|
hasUdm?: boolean | undefined;
|
|
270
312
|
appUuid?: string | undefined;
|
|
271
|
-
isDeactivated?: boolean | undefined;
|
|
272
313
|
authType?: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials" | undefined;
|
|
273
314
|
}, {
|
|
274
|
-
key: string;
|
|
275
315
|
id: string;
|
|
276
316
|
name: string;
|
|
277
|
-
baseUri: string;
|
|
278
317
|
logoUri: string;
|
|
318
|
+
key?: string | undefined;
|
|
319
|
+
uuid?: string | undefined;
|
|
320
|
+
description?: string | undefined;
|
|
279
321
|
state?: import("..").WorkspaceElementState | undefined;
|
|
280
322
|
errors?: any[] | undefined;
|
|
281
|
-
|
|
282
|
-
|
|
323
|
+
revision?: string | undefined;
|
|
324
|
+
isDeactivated?: boolean | undefined;
|
|
325
|
+
createdAt?: string | undefined;
|
|
326
|
+
updatedAt?: string | undefined;
|
|
283
327
|
archivedAt?: string | undefined;
|
|
328
|
+
parameters?: any;
|
|
284
329
|
isTest?: boolean | undefined;
|
|
285
330
|
connectorId?: string | undefined;
|
|
286
331
|
connectorVersion?: string | undefined;
|
|
287
|
-
authOptions?: any[] | undefined;
|
|
288
332
|
oAuthCallbackUri?: string | undefined;
|
|
289
333
|
hasMissingParameters?: boolean | undefined;
|
|
290
334
|
hasDocumentation?: boolean | undefined;
|
|
291
335
|
hasOperations?: boolean | undefined;
|
|
336
|
+
operationsCount?: number | undefined;
|
|
292
337
|
hasData?: boolean | undefined;
|
|
338
|
+
dataCollectionsCount?: number | undefined;
|
|
293
339
|
hasEvents?: boolean | undefined;
|
|
340
|
+
eventsCount?: number | undefined;
|
|
294
341
|
hasGlobalWebhooks?: boolean | undefined;
|
|
295
342
|
hasUdm?: boolean | undefined;
|
|
296
343
|
appUuid?: string | undefined;
|
|
297
|
-
isDeactivated?: boolean | undefined;
|
|
298
344
|
authType?: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials" | undefined;
|
|
299
345
|
}>;
|
|
300
346
|
}, "strip", z.ZodTypeAny, {
|
|
301
347
|
integration: {
|
|
302
|
-
key: string;
|
|
303
348
|
id: string;
|
|
304
349
|
name: string;
|
|
305
|
-
baseUri: string;
|
|
306
350
|
logoUri: string;
|
|
351
|
+
key?: string | undefined;
|
|
352
|
+
uuid?: string | undefined;
|
|
353
|
+
description?: string | undefined;
|
|
307
354
|
state?: import("..").WorkspaceElementState | undefined;
|
|
308
355
|
errors?: any[] | undefined;
|
|
309
|
-
|
|
310
|
-
|
|
356
|
+
revision?: string | undefined;
|
|
357
|
+
isDeactivated?: boolean | undefined;
|
|
358
|
+
createdAt?: string | undefined;
|
|
359
|
+
updatedAt?: string | undefined;
|
|
311
360
|
archivedAt?: string | undefined;
|
|
361
|
+
parameters?: any;
|
|
312
362
|
isTest?: boolean | undefined;
|
|
313
363
|
connectorId?: string | undefined;
|
|
314
364
|
connectorVersion?: string | undefined;
|
|
315
|
-
authOptions?: any[] | undefined;
|
|
316
365
|
oAuthCallbackUri?: string | undefined;
|
|
317
366
|
hasMissingParameters?: boolean | undefined;
|
|
318
367
|
hasDocumentation?: boolean | undefined;
|
|
319
368
|
hasOperations?: boolean | undefined;
|
|
369
|
+
operationsCount?: number | undefined;
|
|
320
370
|
hasData?: boolean | undefined;
|
|
371
|
+
dataCollectionsCount?: number | undefined;
|
|
321
372
|
hasEvents?: boolean | undefined;
|
|
373
|
+
eventsCount?: number | undefined;
|
|
322
374
|
hasGlobalWebhooks?: boolean | undefined;
|
|
323
375
|
hasUdm?: boolean | undefined;
|
|
324
376
|
appUuid?: string | undefined;
|
|
325
|
-
isDeactivated?: boolean | undefined;
|
|
326
377
|
authType?: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials" | undefined;
|
|
327
378
|
};
|
|
328
379
|
element: {
|
|
329
|
-
key: string;
|
|
330
380
|
id: string;
|
|
331
381
|
name: string;
|
|
332
382
|
revision: string;
|
|
@@ -334,10 +384,16 @@ export declare const FieldMapping: z.ZodObject<{
|
|
|
334
384
|
dataSourceKey: string;
|
|
335
385
|
appSchema: DataSchema;
|
|
336
386
|
direction: FieldMappingDirection;
|
|
387
|
+
key?: string | undefined;
|
|
388
|
+
uuid?: string | undefined;
|
|
389
|
+
description?: string | undefined;
|
|
337
390
|
state?: import("..").WorkspaceElementState | undefined;
|
|
338
391
|
errors?: any[] | undefined;
|
|
339
|
-
|
|
392
|
+
isDeactivated?: boolean | undefined;
|
|
393
|
+
createdAt?: string | undefined;
|
|
394
|
+
updatedAt?: string | undefined;
|
|
340
395
|
archivedAt?: string | undefined;
|
|
396
|
+
integrationId?: string | undefined;
|
|
341
397
|
publishedRevision?: string | undefined;
|
|
342
398
|
universalFieldMappingId?: string | undefined;
|
|
343
399
|
universalFieldMappingRevision?: string | undefined;
|
|
@@ -352,34 +408,38 @@ export declare const FieldMapping: z.ZodObject<{
|
|
|
352
408
|
};
|
|
353
409
|
}, {
|
|
354
410
|
integration: {
|
|
355
|
-
key: string;
|
|
356
411
|
id: string;
|
|
357
412
|
name: string;
|
|
358
|
-
baseUri: string;
|
|
359
413
|
logoUri: string;
|
|
414
|
+
key?: string | undefined;
|
|
415
|
+
uuid?: string | undefined;
|
|
416
|
+
description?: string | undefined;
|
|
360
417
|
state?: import("..").WorkspaceElementState | undefined;
|
|
361
418
|
errors?: any[] | undefined;
|
|
362
|
-
|
|
363
|
-
|
|
419
|
+
revision?: string | undefined;
|
|
420
|
+
isDeactivated?: boolean | undefined;
|
|
421
|
+
createdAt?: string | undefined;
|
|
422
|
+
updatedAt?: string | undefined;
|
|
364
423
|
archivedAt?: string | undefined;
|
|
424
|
+
parameters?: any;
|
|
365
425
|
isTest?: boolean | undefined;
|
|
366
426
|
connectorId?: string | undefined;
|
|
367
427
|
connectorVersion?: string | undefined;
|
|
368
|
-
authOptions?: any[] | undefined;
|
|
369
428
|
oAuthCallbackUri?: string | undefined;
|
|
370
429
|
hasMissingParameters?: boolean | undefined;
|
|
371
430
|
hasDocumentation?: boolean | undefined;
|
|
372
431
|
hasOperations?: boolean | undefined;
|
|
432
|
+
operationsCount?: number | undefined;
|
|
373
433
|
hasData?: boolean | undefined;
|
|
434
|
+
dataCollectionsCount?: number | undefined;
|
|
374
435
|
hasEvents?: boolean | undefined;
|
|
436
|
+
eventsCount?: number | undefined;
|
|
375
437
|
hasGlobalWebhooks?: boolean | undefined;
|
|
376
438
|
hasUdm?: boolean | undefined;
|
|
377
439
|
appUuid?: string | undefined;
|
|
378
|
-
isDeactivated?: boolean | undefined;
|
|
379
440
|
authType?: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials" | undefined;
|
|
380
441
|
};
|
|
381
442
|
element: {
|
|
382
|
-
key: string;
|
|
383
443
|
id: string;
|
|
384
444
|
name: string;
|
|
385
445
|
revision: string;
|
|
@@ -387,10 +447,16 @@ export declare const FieldMapping: z.ZodObject<{
|
|
|
387
447
|
dataSourceKey: string;
|
|
388
448
|
appSchema: DataSchema;
|
|
389
449
|
direction: FieldMappingDirection;
|
|
450
|
+
key?: string | undefined;
|
|
451
|
+
uuid?: string | undefined;
|
|
452
|
+
description?: string | undefined;
|
|
390
453
|
state?: import("..").WorkspaceElementState | undefined;
|
|
391
454
|
errors?: any[] | undefined;
|
|
392
|
-
|
|
455
|
+
isDeactivated?: boolean | undefined;
|
|
456
|
+
createdAt?: string | undefined;
|
|
457
|
+
updatedAt?: string | undefined;
|
|
393
458
|
archivedAt?: string | undefined;
|
|
459
|
+
integrationId?: string | undefined;
|
|
394
460
|
publishedRevision?: string | undefined;
|
|
395
461
|
universalFieldMappingId?: string | undefined;
|
|
396
462
|
universalFieldMappingRevision?: string | undefined;
|
|
@@ -405,7 +471,6 @@ export declare const FieldMapping: z.ZodObject<{
|
|
|
405
471
|
};
|
|
406
472
|
}>, "many">>;
|
|
407
473
|
}, "strip", z.ZodTypeAny, {
|
|
408
|
-
key: string;
|
|
409
474
|
id: string;
|
|
410
475
|
name: string;
|
|
411
476
|
revision: string;
|
|
@@ -413,37 +478,48 @@ export declare const FieldMapping: z.ZodObject<{
|
|
|
413
478
|
dataSourceKey: string;
|
|
414
479
|
appSchema: DataSchema;
|
|
415
480
|
direction: FieldMappingDirection;
|
|
481
|
+
key?: string | undefined;
|
|
416
482
|
integration?: {
|
|
417
|
-
key: string;
|
|
418
483
|
id: string;
|
|
419
484
|
name: string;
|
|
420
|
-
baseUri: string;
|
|
421
485
|
logoUri: string;
|
|
486
|
+
key?: string | undefined;
|
|
487
|
+
uuid?: string | undefined;
|
|
488
|
+
description?: string | undefined;
|
|
422
489
|
state?: import("..").WorkspaceElementState | undefined;
|
|
423
490
|
errors?: any[] | undefined;
|
|
424
|
-
|
|
425
|
-
|
|
491
|
+
revision?: string | undefined;
|
|
492
|
+
isDeactivated?: boolean | undefined;
|
|
493
|
+
createdAt?: string | undefined;
|
|
494
|
+
updatedAt?: string | undefined;
|
|
426
495
|
archivedAt?: string | undefined;
|
|
496
|
+
parameters?: any;
|
|
427
497
|
isTest?: boolean | undefined;
|
|
428
498
|
connectorId?: string | undefined;
|
|
429
499
|
connectorVersion?: string | undefined;
|
|
430
|
-
authOptions?: any[] | undefined;
|
|
431
500
|
oAuthCallbackUri?: string | undefined;
|
|
432
501
|
hasMissingParameters?: boolean | undefined;
|
|
433
502
|
hasDocumentation?: boolean | undefined;
|
|
434
503
|
hasOperations?: boolean | undefined;
|
|
504
|
+
operationsCount?: number | undefined;
|
|
435
505
|
hasData?: boolean | undefined;
|
|
506
|
+
dataCollectionsCount?: number | undefined;
|
|
436
507
|
hasEvents?: boolean | undefined;
|
|
508
|
+
eventsCount?: number | undefined;
|
|
437
509
|
hasGlobalWebhooks?: boolean | undefined;
|
|
438
510
|
hasUdm?: boolean | undefined;
|
|
439
511
|
appUuid?: string | undefined;
|
|
440
|
-
isDeactivated?: boolean | undefined;
|
|
441
512
|
authType?: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials" | undefined;
|
|
442
513
|
} | undefined;
|
|
514
|
+
uuid?: string | undefined;
|
|
515
|
+
description?: string | undefined;
|
|
443
516
|
state?: import("..").WorkspaceElementState | undefined;
|
|
444
517
|
errors?: any[] | undefined;
|
|
445
|
-
|
|
518
|
+
isDeactivated?: boolean | undefined;
|
|
519
|
+
createdAt?: string | undefined;
|
|
520
|
+
updatedAt?: string | undefined;
|
|
446
521
|
archivedAt?: string | undefined;
|
|
522
|
+
integrationId?: string | undefined;
|
|
447
523
|
publishedRevision?: string | undefined;
|
|
448
524
|
universalFieldMappingId?: string | undefined;
|
|
449
525
|
universalFieldMappingRevision?: string | undefined;
|
|
@@ -457,34 +533,38 @@ export declare const FieldMapping: z.ZodObject<{
|
|
|
457
533
|
customized?: boolean | undefined;
|
|
458
534
|
appliedToIntegrations?: {
|
|
459
535
|
integration: {
|
|
460
|
-
key: string;
|
|
461
536
|
id: string;
|
|
462
537
|
name: string;
|
|
463
|
-
baseUri: string;
|
|
464
538
|
logoUri: string;
|
|
539
|
+
key?: string | undefined;
|
|
540
|
+
uuid?: string | undefined;
|
|
541
|
+
description?: string | undefined;
|
|
465
542
|
state?: import("..").WorkspaceElementState | undefined;
|
|
466
543
|
errors?: any[] | undefined;
|
|
467
|
-
|
|
468
|
-
|
|
544
|
+
revision?: string | undefined;
|
|
545
|
+
isDeactivated?: boolean | undefined;
|
|
546
|
+
createdAt?: string | undefined;
|
|
547
|
+
updatedAt?: string | undefined;
|
|
469
548
|
archivedAt?: string | undefined;
|
|
549
|
+
parameters?: any;
|
|
470
550
|
isTest?: boolean | undefined;
|
|
471
551
|
connectorId?: string | undefined;
|
|
472
552
|
connectorVersion?: string | undefined;
|
|
473
|
-
authOptions?: any[] | undefined;
|
|
474
553
|
oAuthCallbackUri?: string | undefined;
|
|
475
554
|
hasMissingParameters?: boolean | undefined;
|
|
476
555
|
hasDocumentation?: boolean | undefined;
|
|
477
556
|
hasOperations?: boolean | undefined;
|
|
557
|
+
operationsCount?: number | undefined;
|
|
478
558
|
hasData?: boolean | undefined;
|
|
559
|
+
dataCollectionsCount?: number | undefined;
|
|
479
560
|
hasEvents?: boolean | undefined;
|
|
561
|
+
eventsCount?: number | undefined;
|
|
480
562
|
hasGlobalWebhooks?: boolean | undefined;
|
|
481
563
|
hasUdm?: boolean | undefined;
|
|
482
564
|
appUuid?: string | undefined;
|
|
483
|
-
isDeactivated?: boolean | undefined;
|
|
484
565
|
authType?: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials" | undefined;
|
|
485
566
|
};
|
|
486
567
|
element: {
|
|
487
|
-
key: string;
|
|
488
568
|
id: string;
|
|
489
569
|
name: string;
|
|
490
570
|
revision: string;
|
|
@@ -492,10 +572,16 @@ export declare const FieldMapping: z.ZodObject<{
|
|
|
492
572
|
dataSourceKey: string;
|
|
493
573
|
appSchema: DataSchema;
|
|
494
574
|
direction: FieldMappingDirection;
|
|
575
|
+
key?: string | undefined;
|
|
576
|
+
uuid?: string | undefined;
|
|
577
|
+
description?: string | undefined;
|
|
495
578
|
state?: import("..").WorkspaceElementState | undefined;
|
|
496
579
|
errors?: any[] | undefined;
|
|
497
|
-
|
|
580
|
+
isDeactivated?: boolean | undefined;
|
|
581
|
+
createdAt?: string | undefined;
|
|
582
|
+
updatedAt?: string | undefined;
|
|
498
583
|
archivedAt?: string | undefined;
|
|
584
|
+
integrationId?: string | undefined;
|
|
499
585
|
publishedRevision?: string | undefined;
|
|
500
586
|
universalFieldMappingId?: string | undefined;
|
|
501
587
|
universalFieldMappingRevision?: string | undefined;
|
|
@@ -510,7 +596,6 @@ export declare const FieldMapping: z.ZodObject<{
|
|
|
510
596
|
};
|
|
511
597
|
}[] | undefined;
|
|
512
598
|
}, {
|
|
513
|
-
key: string;
|
|
514
599
|
id: string;
|
|
515
600
|
name: string;
|
|
516
601
|
revision: string;
|
|
@@ -518,37 +603,48 @@ export declare const FieldMapping: z.ZodObject<{
|
|
|
518
603
|
dataSourceKey: string;
|
|
519
604
|
appSchema: DataSchema;
|
|
520
605
|
direction: FieldMappingDirection;
|
|
606
|
+
key?: string | undefined;
|
|
521
607
|
integration?: {
|
|
522
|
-
key: string;
|
|
523
608
|
id: string;
|
|
524
609
|
name: string;
|
|
525
|
-
baseUri: string;
|
|
526
610
|
logoUri: string;
|
|
611
|
+
key?: string | undefined;
|
|
612
|
+
uuid?: string | undefined;
|
|
613
|
+
description?: string | undefined;
|
|
527
614
|
state?: import("..").WorkspaceElementState | undefined;
|
|
528
615
|
errors?: any[] | undefined;
|
|
529
|
-
|
|
530
|
-
|
|
616
|
+
revision?: string | undefined;
|
|
617
|
+
isDeactivated?: boolean | undefined;
|
|
618
|
+
createdAt?: string | undefined;
|
|
619
|
+
updatedAt?: string | undefined;
|
|
531
620
|
archivedAt?: string | undefined;
|
|
621
|
+
parameters?: any;
|
|
532
622
|
isTest?: boolean | undefined;
|
|
533
623
|
connectorId?: string | undefined;
|
|
534
624
|
connectorVersion?: string | undefined;
|
|
535
|
-
authOptions?: any[] | undefined;
|
|
536
625
|
oAuthCallbackUri?: string | undefined;
|
|
537
626
|
hasMissingParameters?: boolean | undefined;
|
|
538
627
|
hasDocumentation?: boolean | undefined;
|
|
539
628
|
hasOperations?: boolean | undefined;
|
|
629
|
+
operationsCount?: number | undefined;
|
|
540
630
|
hasData?: boolean | undefined;
|
|
631
|
+
dataCollectionsCount?: number | undefined;
|
|
541
632
|
hasEvents?: boolean | undefined;
|
|
633
|
+
eventsCount?: number | undefined;
|
|
542
634
|
hasGlobalWebhooks?: boolean | undefined;
|
|
543
635
|
hasUdm?: boolean | undefined;
|
|
544
636
|
appUuid?: string | undefined;
|
|
545
|
-
isDeactivated?: boolean | undefined;
|
|
546
637
|
authType?: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials" | undefined;
|
|
547
638
|
} | undefined;
|
|
639
|
+
uuid?: string | undefined;
|
|
640
|
+
description?: string | undefined;
|
|
548
641
|
state?: import("..").WorkspaceElementState | undefined;
|
|
549
642
|
errors?: any[] | undefined;
|
|
550
|
-
|
|
643
|
+
isDeactivated?: boolean | undefined;
|
|
644
|
+
createdAt?: string | undefined;
|
|
645
|
+
updatedAt?: string | undefined;
|
|
551
646
|
archivedAt?: string | undefined;
|
|
647
|
+
integrationId?: string | undefined;
|
|
552
648
|
publishedRevision?: string | undefined;
|
|
553
649
|
universalFieldMappingId?: string | undefined;
|
|
554
650
|
universalFieldMappingRevision?: string | undefined;
|
|
@@ -562,34 +658,38 @@ export declare const FieldMapping: z.ZodObject<{
|
|
|
562
658
|
customized?: boolean | undefined;
|
|
563
659
|
appliedToIntegrations?: {
|
|
564
660
|
integration: {
|
|
565
|
-
key: string;
|
|
566
661
|
id: string;
|
|
567
662
|
name: string;
|
|
568
|
-
baseUri: string;
|
|
569
663
|
logoUri: string;
|
|
664
|
+
key?: string | undefined;
|
|
665
|
+
uuid?: string | undefined;
|
|
666
|
+
description?: string | undefined;
|
|
570
667
|
state?: import("..").WorkspaceElementState | undefined;
|
|
571
668
|
errors?: any[] | undefined;
|
|
572
|
-
|
|
573
|
-
|
|
669
|
+
revision?: string | undefined;
|
|
670
|
+
isDeactivated?: boolean | undefined;
|
|
671
|
+
createdAt?: string | undefined;
|
|
672
|
+
updatedAt?: string | undefined;
|
|
574
673
|
archivedAt?: string | undefined;
|
|
674
|
+
parameters?: any;
|
|
575
675
|
isTest?: boolean | undefined;
|
|
576
676
|
connectorId?: string | undefined;
|
|
577
677
|
connectorVersion?: string | undefined;
|
|
578
|
-
authOptions?: any[] | undefined;
|
|
579
678
|
oAuthCallbackUri?: string | undefined;
|
|
580
679
|
hasMissingParameters?: boolean | undefined;
|
|
581
680
|
hasDocumentation?: boolean | undefined;
|
|
582
681
|
hasOperations?: boolean | undefined;
|
|
682
|
+
operationsCount?: number | undefined;
|
|
583
683
|
hasData?: boolean | undefined;
|
|
684
|
+
dataCollectionsCount?: number | undefined;
|
|
584
685
|
hasEvents?: boolean | undefined;
|
|
686
|
+
eventsCount?: number | undefined;
|
|
585
687
|
hasGlobalWebhooks?: boolean | undefined;
|
|
586
688
|
hasUdm?: boolean | undefined;
|
|
587
689
|
appUuid?: string | undefined;
|
|
588
|
-
isDeactivated?: boolean | undefined;
|
|
589
690
|
authType?: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials" | undefined;
|
|
590
691
|
};
|
|
591
692
|
element: {
|
|
592
|
-
key: string;
|
|
593
693
|
id: string;
|
|
594
694
|
name: string;
|
|
595
695
|
revision: string;
|
|
@@ -597,10 +697,16 @@ export declare const FieldMapping: z.ZodObject<{
|
|
|
597
697
|
dataSourceKey: string;
|
|
598
698
|
appSchema: DataSchema;
|
|
599
699
|
direction: FieldMappingDirection;
|
|
700
|
+
key?: string | undefined;
|
|
701
|
+
uuid?: string | undefined;
|
|
702
|
+
description?: string | undefined;
|
|
600
703
|
state?: import("..").WorkspaceElementState | undefined;
|
|
601
704
|
errors?: any[] | undefined;
|
|
602
|
-
|
|
705
|
+
isDeactivated?: boolean | undefined;
|
|
706
|
+
createdAt?: string | undefined;
|
|
707
|
+
updatedAt?: string | undefined;
|
|
603
708
|
archivedAt?: string | undefined;
|
|
709
|
+
integrationId?: string | undefined;
|
|
604
710
|
publishedRevision?: string | undefined;
|
|
605
711
|
universalFieldMappingId?: string | undefined;
|
|
606
712
|
universalFieldMappingRevision?: string | undefined;
|
|
@@ -615,5 +721,5 @@ export declare const FieldMapping: z.ZodObject<{
|
|
|
615
721
|
};
|
|
616
722
|
}[] | undefined;
|
|
617
723
|
}>;
|
|
618
|
-
export type
|
|
619
|
-
export type
|
|
724
|
+
export type FieldMappingApiResponse = z.infer<typeof FieldMappingApiResponse>;
|
|
725
|
+
export type FieldMapping = FieldMappingApiResponse;
|