@membranehq/sdk 0.7.3 → 0.7.4
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 +1180 -1049
- package/dist/dts/workspace-elements/api/data-source-instances-api.d.ts +9 -20
- package/dist/dts/workspace-elements/api/data-sources-api.d.ts +452 -453
- package/dist/dts/workspace-elements/api/field-mapping-instances-api.d.ts +43 -69
- package/dist/dts/workspace-elements/api/field-mappings-api.d.ts +208 -110
- package/dist/dts/workspace-elements/api/flow-runs-api.d.ts +6 -6
- package/dist/dts/workspace-elements/api/flows-api.d.ts +583 -497
- package/dist/dts/workspace-elements/base/data-source-instances/types.d.ts +2 -2
- package/dist/dts/workspace-elements/base/data-sources/index.d.ts +153 -2
- package/dist/dts/workspace-elements/base/field-mapping-instances/types.d.ts +1 -1
- package/dist/dts/workspace-elements/base/field-mappings/index.d.ts +191 -1
- package/dist/dts/workspace-elements/base/flow-runs/types.d.ts +2 -2
- package/dist/dts/workspace-elements/base/flows/index.d.ts +300 -1
- package/dist/dts/workspace-elements/base/flows/nodes/base.d.ts +79 -1
- package/dist/dts/workspace-elements/base/flows/nodes/index.d.ts +1 -1
- package/dist/index.browser.d.mts +1749 -1375
- package/dist/index.browser.d.ts +1749 -1375
- package/dist/index.browser.js +128 -133
- package/dist/index.browser.js.map +1 -1
- package/dist/index.browser.mjs +123 -132
- package/dist/index.browser.mjs.map +1 -1
- package/dist/index.node.d.mts +1749 -1375
- package/dist/index.node.d.ts +1749 -1375
- package/dist/index.node.js +128 -133
- package/dist/index.node.js.map +1 -1
- package/dist/index.node.mjs +123 -132
- package/dist/index.node.mjs.map +1 -1
- package/package.json +1 -1
- package/dist/dts/workspace-elements/base/data-sources/constants.d.ts +0 -4
- package/dist/dts/workspace-elements/base/data-sources/types.d.ts +0 -109
- package/dist/dts/workspace-elements/base/field-mappings/types.d.ts +0 -136
- package/dist/dts/workspace-elements/base/flows/types.d.ts +0 -248
|
@@ -1,37 +1,5 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
2
|
import { IntegrationSpecificElementSelector } from '../../accessors';
|
|
3
|
-
import { DataSchema } from '../../data-schema';
|
|
4
|
-
import { CommonListElementsQuery } from '../../entity-repository';
|
|
5
|
-
import { FieldMappingDirection } from '../base/field-mappings';
|
|
6
|
-
export interface ListFieldMappingsForIntegrationQuery extends CommonListElementsQuery {
|
|
7
|
-
universalFieldMappingId?: string | 'null';
|
|
8
|
-
}
|
|
9
|
-
export interface FindFieldMappingsQuery extends ListFieldMappingsForIntegrationQuery {
|
|
10
|
-
integrationId?: string | 'null';
|
|
11
|
-
}
|
|
12
|
-
export interface UpdateFieldMappingRequest {
|
|
13
|
-
key?: string;
|
|
14
|
-
name?: string;
|
|
15
|
-
dataSourceKey?: string;
|
|
16
|
-
dataSourceId?: string;
|
|
17
|
-
appSchema?: DataSchema;
|
|
18
|
-
direction?: FieldMappingDirection;
|
|
19
|
-
defaultImportValue?: any;
|
|
20
|
-
exportValue?: any;
|
|
21
|
-
importValue?: any;
|
|
22
|
-
defaultExportValue?: any;
|
|
23
|
-
frozenImportFields?: any;
|
|
24
|
-
frozenExportFields?: any;
|
|
25
|
-
frozenUnifiedExportFields?: any;
|
|
26
|
-
archivedAt?: string;
|
|
27
|
-
}
|
|
28
|
-
export interface CreateFieldMappingRequest extends UpdateFieldMappingRequest {
|
|
29
|
-
key: string;
|
|
30
|
-
name: string;
|
|
31
|
-
integrationId?: string;
|
|
32
|
-
}
|
|
33
|
-
export interface FieldMappingSelector extends IntegrationSpecificElementSelector {
|
|
34
|
-
}
|
|
35
3
|
export declare const FieldMappingApiResponse: z.ZodObject<{
|
|
36
4
|
id: z.ZodString;
|
|
37
5
|
key: z.ZodOptional<z.ZodString>;
|
|
@@ -39,7 +7,18 @@ export declare const FieldMappingApiResponse: z.ZodObject<{
|
|
|
39
7
|
description: z.ZodOptional<z.ZodString>;
|
|
40
8
|
meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
41
9
|
integrationId: z.ZodOptional<z.ZodString>;
|
|
42
|
-
|
|
10
|
+
universalFieldMappingId: z.ZodOptional<z.ZodString>;
|
|
11
|
+
dataSourceKey: z.ZodOptional<z.ZodString>;
|
|
12
|
+
dataSourceId: z.ZodOptional<z.ZodString>;
|
|
13
|
+
appSchema: z.ZodOptional<z.ZodType<import("../..").DataSchema, z.ZodTypeDef, import("../..").DataSchema>>;
|
|
14
|
+
direction: z.ZodOptional<z.ZodNativeEnum<typeof import("../base/field-mappings").FieldMappingDirection>>;
|
|
15
|
+
defaultImportValue: z.ZodOptional<z.ZodAny>;
|
|
16
|
+
defaultExportValue: z.ZodOptional<z.ZodAny>;
|
|
17
|
+
importValue: z.ZodOptional<z.ZodAny>;
|
|
18
|
+
exportValue: z.ZodOptional<z.ZodAny>;
|
|
19
|
+
frozenImportFields: z.ZodOptional<z.ZodAny>;
|
|
20
|
+
frozenExportFields: z.ZodOptional<z.ZodAny>;
|
|
21
|
+
frozenUnifiedExportFields: z.ZodOptional<z.ZodAny>;
|
|
43
22
|
} & {
|
|
44
23
|
name: z.ZodString;
|
|
45
24
|
state: z.ZodOptional<z.ZodNativeEnum<typeof import("..").WorkspaceElementState>>;
|
|
@@ -50,21 +29,7 @@ export declare const FieldMappingApiResponse: z.ZodObject<{
|
|
|
50
29
|
archivedAt: z.ZodOptional<z.ZodString>;
|
|
51
30
|
isDeactivated: z.ZodOptional<z.ZodBoolean>;
|
|
52
31
|
isCustomized: z.ZodOptional<z.ZodBoolean>;
|
|
53
|
-
} & {
|
|
54
|
-
publishedRevision: z.ZodOptional<z.ZodString>;
|
|
55
|
-
universalFieldMappingId: z.ZodOptional<z.ZodString>;
|
|
56
32
|
universalFieldMappingRevision: z.ZodOptional<z.ZodString>;
|
|
57
|
-
dataSourceId: z.ZodOptional<z.ZodString>;
|
|
58
|
-
dataSourceKey: z.ZodOptional<z.ZodString>;
|
|
59
|
-
appSchema: z.ZodOptional<z.ZodType<DataSchema, z.ZodTypeDef, DataSchema>>;
|
|
60
|
-
direction: z.ZodOptional<z.ZodNativeEnum<typeof FieldMappingDirection>>;
|
|
61
|
-
defaultImportValue: z.ZodOptional<z.ZodAny>;
|
|
62
|
-
defaultExportValue: z.ZodOptional<z.ZodAny>;
|
|
63
|
-
importValue: z.ZodOptional<z.ZodAny>;
|
|
64
|
-
exportValue: z.ZodOptional<z.ZodAny>;
|
|
65
|
-
frozenImportFields: z.ZodOptional<z.ZodAny>;
|
|
66
|
-
frozenExportFields: z.ZodOptional<z.ZodAny>;
|
|
67
|
-
frozenUnifiedExportFields: z.ZodOptional<z.ZodAny>;
|
|
68
33
|
} & {
|
|
69
34
|
integration: z.ZodOptional<z.ZodObject<{
|
|
70
35
|
id: z.ZodString;
|
|
@@ -172,7 +137,18 @@ export declare const FieldMappingApiResponse: z.ZodObject<{
|
|
|
172
137
|
description: z.ZodOptional<z.ZodString>;
|
|
173
138
|
meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
174
139
|
integrationId: z.ZodOptional<z.ZodString>;
|
|
175
|
-
|
|
140
|
+
universalFieldMappingId: z.ZodOptional<z.ZodString>;
|
|
141
|
+
dataSourceKey: z.ZodOptional<z.ZodString>;
|
|
142
|
+
dataSourceId: z.ZodOptional<z.ZodString>;
|
|
143
|
+
appSchema: z.ZodOptional<z.ZodType<import("../..").DataSchema, z.ZodTypeDef, import("../..").DataSchema>>;
|
|
144
|
+
direction: z.ZodOptional<z.ZodNativeEnum<typeof import("../base/field-mappings").FieldMappingDirection>>;
|
|
145
|
+
defaultImportValue: z.ZodOptional<z.ZodAny>;
|
|
146
|
+
defaultExportValue: z.ZodOptional<z.ZodAny>;
|
|
147
|
+
importValue: z.ZodOptional<z.ZodAny>;
|
|
148
|
+
exportValue: z.ZodOptional<z.ZodAny>;
|
|
149
|
+
frozenImportFields: z.ZodOptional<z.ZodAny>;
|
|
150
|
+
frozenExportFields: z.ZodOptional<z.ZodAny>;
|
|
151
|
+
frozenUnifiedExportFields: z.ZodOptional<z.ZodAny>;
|
|
176
152
|
} & {
|
|
177
153
|
name: z.ZodString;
|
|
178
154
|
state: z.ZodOptional<z.ZodNativeEnum<typeof import("..").WorkspaceElementState>>;
|
|
@@ -183,21 +159,7 @@ export declare const FieldMappingApiResponse: z.ZodObject<{
|
|
|
183
159
|
archivedAt: z.ZodOptional<z.ZodString>;
|
|
184
160
|
isDeactivated: z.ZodOptional<z.ZodBoolean>;
|
|
185
161
|
isCustomized: z.ZodOptional<z.ZodBoolean>;
|
|
186
|
-
} & {
|
|
187
|
-
publishedRevision: z.ZodOptional<z.ZodString>;
|
|
188
|
-
universalFieldMappingId: z.ZodOptional<z.ZodString>;
|
|
189
162
|
universalFieldMappingRevision: z.ZodOptional<z.ZodString>;
|
|
190
|
-
dataSourceId: z.ZodOptional<z.ZodString>;
|
|
191
|
-
dataSourceKey: z.ZodOptional<z.ZodString>;
|
|
192
|
-
appSchema: z.ZodOptional<z.ZodType<DataSchema, z.ZodTypeDef, DataSchema>>;
|
|
193
|
-
direction: z.ZodOptional<z.ZodNativeEnum<typeof FieldMappingDirection>>;
|
|
194
|
-
defaultImportValue: z.ZodOptional<z.ZodAny>;
|
|
195
|
-
defaultExportValue: z.ZodOptional<z.ZodAny>;
|
|
196
|
-
importValue: z.ZodOptional<z.ZodAny>;
|
|
197
|
-
exportValue: z.ZodOptional<z.ZodAny>;
|
|
198
|
-
frozenImportFields: z.ZodOptional<z.ZodAny>;
|
|
199
|
-
frozenExportFields: z.ZodOptional<z.ZodAny>;
|
|
200
|
-
frozenUnifiedExportFields: z.ZodOptional<z.ZodAny>;
|
|
201
163
|
}, "strip", z.ZodTypeAny, {
|
|
202
164
|
id: string;
|
|
203
165
|
name: string;
|
|
@@ -213,15 +175,12 @@ export declare const FieldMappingApiResponse: z.ZodObject<{
|
|
|
213
175
|
archivedAt?: string | undefined;
|
|
214
176
|
isDeactivated?: boolean | undefined;
|
|
215
177
|
integrationId?: string | undefined;
|
|
216
|
-
parentId?: string | undefined;
|
|
217
178
|
isCustomized?: boolean | undefined;
|
|
218
|
-
publishedRevision?: string | undefined;
|
|
219
179
|
universalFieldMappingId?: string | undefined;
|
|
220
|
-
universalFieldMappingRevision?: string | undefined;
|
|
221
|
-
dataSourceId?: string | undefined;
|
|
222
180
|
dataSourceKey?: string | undefined;
|
|
223
|
-
|
|
224
|
-
|
|
181
|
+
dataSourceId?: string | undefined;
|
|
182
|
+
appSchema?: import("../..").DataSchema | undefined;
|
|
183
|
+
direction?: import("../base/field-mappings").FieldMappingDirection | undefined;
|
|
225
184
|
defaultImportValue?: any;
|
|
226
185
|
defaultExportValue?: any;
|
|
227
186
|
importValue?: any;
|
|
@@ -229,6 +188,7 @@ export declare const FieldMappingApiResponse: z.ZodObject<{
|
|
|
229
188
|
frozenImportFields?: any;
|
|
230
189
|
frozenExportFields?: any;
|
|
231
190
|
frozenUnifiedExportFields?: any;
|
|
191
|
+
universalFieldMappingRevision?: string | undefined;
|
|
232
192
|
}, {
|
|
233
193
|
id: string;
|
|
234
194
|
name: string;
|
|
@@ -244,15 +204,12 @@ export declare const FieldMappingApiResponse: z.ZodObject<{
|
|
|
244
204
|
archivedAt?: string | undefined;
|
|
245
205
|
isDeactivated?: boolean | undefined;
|
|
246
206
|
integrationId?: string | undefined;
|
|
247
|
-
parentId?: string | undefined;
|
|
248
207
|
isCustomized?: boolean | undefined;
|
|
249
|
-
publishedRevision?: string | undefined;
|
|
250
208
|
universalFieldMappingId?: string | undefined;
|
|
251
|
-
universalFieldMappingRevision?: string | undefined;
|
|
252
|
-
dataSourceId?: string | undefined;
|
|
253
209
|
dataSourceKey?: string | undefined;
|
|
254
|
-
|
|
255
|
-
|
|
210
|
+
dataSourceId?: string | undefined;
|
|
211
|
+
appSchema?: import("../..").DataSchema | undefined;
|
|
212
|
+
direction?: import("../base/field-mappings").FieldMappingDirection | undefined;
|
|
256
213
|
defaultImportValue?: any;
|
|
257
214
|
defaultExportValue?: any;
|
|
258
215
|
importValue?: any;
|
|
@@ -260,6 +217,7 @@ export declare const FieldMappingApiResponse: z.ZodObject<{
|
|
|
260
217
|
frozenImportFields?: any;
|
|
261
218
|
frozenExportFields?: any;
|
|
262
219
|
frozenUnifiedExportFields?: any;
|
|
220
|
+
universalFieldMappingRevision?: string | undefined;
|
|
263
221
|
}>;
|
|
264
222
|
integration: z.ZodObject<{
|
|
265
223
|
id: z.ZodString;
|
|
@@ -408,15 +366,12 @@ export declare const FieldMappingApiResponse: z.ZodObject<{
|
|
|
408
366
|
archivedAt?: string | undefined;
|
|
409
367
|
isDeactivated?: boolean | undefined;
|
|
410
368
|
integrationId?: string | undefined;
|
|
411
|
-
parentId?: string | undefined;
|
|
412
369
|
isCustomized?: boolean | undefined;
|
|
413
|
-
publishedRevision?: string | undefined;
|
|
414
370
|
universalFieldMappingId?: string | undefined;
|
|
415
|
-
universalFieldMappingRevision?: string | undefined;
|
|
416
|
-
dataSourceId?: string | undefined;
|
|
417
371
|
dataSourceKey?: string | undefined;
|
|
418
|
-
|
|
419
|
-
|
|
372
|
+
dataSourceId?: string | undefined;
|
|
373
|
+
appSchema?: import("../..").DataSchema | undefined;
|
|
374
|
+
direction?: import("../base/field-mappings").FieldMappingDirection | undefined;
|
|
420
375
|
defaultImportValue?: any;
|
|
421
376
|
defaultExportValue?: any;
|
|
422
377
|
importValue?: any;
|
|
@@ -424,6 +379,7 @@ export declare const FieldMappingApiResponse: z.ZodObject<{
|
|
|
424
379
|
frozenImportFields?: any;
|
|
425
380
|
frozenExportFields?: any;
|
|
426
381
|
frozenUnifiedExportFields?: any;
|
|
382
|
+
universalFieldMappingRevision?: string | undefined;
|
|
427
383
|
};
|
|
428
384
|
}, {
|
|
429
385
|
integration: {
|
|
@@ -474,15 +430,12 @@ export declare const FieldMappingApiResponse: z.ZodObject<{
|
|
|
474
430
|
archivedAt?: string | undefined;
|
|
475
431
|
isDeactivated?: boolean | undefined;
|
|
476
432
|
integrationId?: string | undefined;
|
|
477
|
-
parentId?: string | undefined;
|
|
478
433
|
isCustomized?: boolean | undefined;
|
|
479
|
-
publishedRevision?: string | undefined;
|
|
480
434
|
universalFieldMappingId?: string | undefined;
|
|
481
|
-
universalFieldMappingRevision?: string | undefined;
|
|
482
|
-
dataSourceId?: string | undefined;
|
|
483
435
|
dataSourceKey?: string | undefined;
|
|
484
|
-
|
|
485
|
-
|
|
436
|
+
dataSourceId?: string | undefined;
|
|
437
|
+
appSchema?: import("../..").DataSchema | undefined;
|
|
438
|
+
direction?: import("../base/field-mappings").FieldMappingDirection | undefined;
|
|
486
439
|
defaultImportValue?: any;
|
|
487
440
|
defaultExportValue?: any;
|
|
488
441
|
importValue?: any;
|
|
@@ -490,6 +443,7 @@ export declare const FieldMappingApiResponse: z.ZodObject<{
|
|
|
490
443
|
frozenImportFields?: any;
|
|
491
444
|
frozenExportFields?: any;
|
|
492
445
|
frozenUnifiedExportFields?: any;
|
|
446
|
+
universalFieldMappingRevision?: string | undefined;
|
|
493
447
|
};
|
|
494
448
|
}>, "many">>;
|
|
495
449
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -540,15 +494,12 @@ export declare const FieldMappingApiResponse: z.ZodObject<{
|
|
|
540
494
|
archivedAt?: string | undefined;
|
|
541
495
|
isDeactivated?: boolean | undefined;
|
|
542
496
|
integrationId?: string | undefined;
|
|
543
|
-
parentId?: string | undefined;
|
|
544
497
|
isCustomized?: boolean | undefined;
|
|
545
|
-
publishedRevision?: string | undefined;
|
|
546
498
|
universalFieldMappingId?: string | undefined;
|
|
547
|
-
universalFieldMappingRevision?: string | undefined;
|
|
548
|
-
dataSourceId?: string | undefined;
|
|
549
499
|
dataSourceKey?: string | undefined;
|
|
550
|
-
|
|
551
|
-
|
|
500
|
+
dataSourceId?: string | undefined;
|
|
501
|
+
appSchema?: import("../..").DataSchema | undefined;
|
|
502
|
+
direction?: import("../base/field-mappings").FieldMappingDirection | undefined;
|
|
552
503
|
defaultImportValue?: any;
|
|
553
504
|
defaultExportValue?: any;
|
|
554
505
|
importValue?: any;
|
|
@@ -556,6 +507,7 @@ export declare const FieldMappingApiResponse: z.ZodObject<{
|
|
|
556
507
|
frozenImportFields?: any;
|
|
557
508
|
frozenExportFields?: any;
|
|
558
509
|
frozenUnifiedExportFields?: any;
|
|
510
|
+
universalFieldMappingRevision?: string | undefined;
|
|
559
511
|
appliedToIntegrations?: {
|
|
560
512
|
integration: {
|
|
561
513
|
id: string;
|
|
@@ -605,15 +557,12 @@ export declare const FieldMappingApiResponse: z.ZodObject<{
|
|
|
605
557
|
archivedAt?: string | undefined;
|
|
606
558
|
isDeactivated?: boolean | undefined;
|
|
607
559
|
integrationId?: string | undefined;
|
|
608
|
-
parentId?: string | undefined;
|
|
609
560
|
isCustomized?: boolean | undefined;
|
|
610
|
-
publishedRevision?: string | undefined;
|
|
611
561
|
universalFieldMappingId?: string | undefined;
|
|
612
|
-
universalFieldMappingRevision?: string | undefined;
|
|
613
|
-
dataSourceId?: string | undefined;
|
|
614
562
|
dataSourceKey?: string | undefined;
|
|
615
|
-
|
|
616
|
-
|
|
563
|
+
dataSourceId?: string | undefined;
|
|
564
|
+
appSchema?: import("../..").DataSchema | undefined;
|
|
565
|
+
direction?: import("../base/field-mappings").FieldMappingDirection | undefined;
|
|
617
566
|
defaultImportValue?: any;
|
|
618
567
|
defaultExportValue?: any;
|
|
619
568
|
importValue?: any;
|
|
@@ -621,6 +570,7 @@ export declare const FieldMappingApiResponse: z.ZodObject<{
|
|
|
621
570
|
frozenImportFields?: any;
|
|
622
571
|
frozenExportFields?: any;
|
|
623
572
|
frozenUnifiedExportFields?: any;
|
|
573
|
+
universalFieldMappingRevision?: string | undefined;
|
|
624
574
|
};
|
|
625
575
|
}[] | undefined;
|
|
626
576
|
}, {
|
|
@@ -671,15 +621,12 @@ export declare const FieldMappingApiResponse: z.ZodObject<{
|
|
|
671
621
|
archivedAt?: string | undefined;
|
|
672
622
|
isDeactivated?: boolean | undefined;
|
|
673
623
|
integrationId?: string | undefined;
|
|
674
|
-
parentId?: string | undefined;
|
|
675
624
|
isCustomized?: boolean | undefined;
|
|
676
|
-
publishedRevision?: string | undefined;
|
|
677
625
|
universalFieldMappingId?: string | undefined;
|
|
678
|
-
universalFieldMappingRevision?: string | undefined;
|
|
679
|
-
dataSourceId?: string | undefined;
|
|
680
626
|
dataSourceKey?: string | undefined;
|
|
681
|
-
|
|
682
|
-
|
|
627
|
+
dataSourceId?: string | undefined;
|
|
628
|
+
appSchema?: import("../..").DataSchema | undefined;
|
|
629
|
+
direction?: import("../base/field-mappings").FieldMappingDirection | undefined;
|
|
683
630
|
defaultImportValue?: any;
|
|
684
631
|
defaultExportValue?: any;
|
|
685
632
|
importValue?: any;
|
|
@@ -687,6 +634,7 @@ export declare const FieldMappingApiResponse: z.ZodObject<{
|
|
|
687
634
|
frozenImportFields?: any;
|
|
688
635
|
frozenExportFields?: any;
|
|
689
636
|
frozenUnifiedExportFields?: any;
|
|
637
|
+
universalFieldMappingRevision?: string | undefined;
|
|
690
638
|
appliedToIntegrations?: {
|
|
691
639
|
integration: {
|
|
692
640
|
id: string;
|
|
@@ -736,15 +684,12 @@ export declare const FieldMappingApiResponse: z.ZodObject<{
|
|
|
736
684
|
archivedAt?: string | undefined;
|
|
737
685
|
isDeactivated?: boolean | undefined;
|
|
738
686
|
integrationId?: string | undefined;
|
|
739
|
-
parentId?: string | undefined;
|
|
740
687
|
isCustomized?: boolean | undefined;
|
|
741
|
-
publishedRevision?: string | undefined;
|
|
742
688
|
universalFieldMappingId?: string | undefined;
|
|
743
|
-
universalFieldMappingRevision?: string | undefined;
|
|
744
|
-
dataSourceId?: string | undefined;
|
|
745
689
|
dataSourceKey?: string | undefined;
|
|
746
|
-
|
|
747
|
-
|
|
690
|
+
dataSourceId?: string | undefined;
|
|
691
|
+
appSchema?: import("../..").DataSchema | undefined;
|
|
692
|
+
direction?: import("../base/field-mappings").FieldMappingDirection | undefined;
|
|
748
693
|
defaultImportValue?: any;
|
|
749
694
|
defaultExportValue?: any;
|
|
750
695
|
importValue?: any;
|
|
@@ -752,8 +697,161 @@ export declare const FieldMappingApiResponse: z.ZodObject<{
|
|
|
752
697
|
frozenImportFields?: any;
|
|
753
698
|
frozenExportFields?: any;
|
|
754
699
|
frozenUnifiedExportFields?: any;
|
|
700
|
+
universalFieldMappingRevision?: string | undefined;
|
|
755
701
|
};
|
|
756
702
|
}[] | undefined;
|
|
757
703
|
}>;
|
|
758
704
|
export type FieldMappingApiResponse = z.infer<typeof FieldMappingApiResponse>;
|
|
759
705
|
export type FieldMapping = FieldMappingApiResponse;
|
|
706
|
+
export declare const FindFieldMappingsQuery: z.ZodObject<{
|
|
707
|
+
limit: z.ZodOptional<z.ZodNumber>;
|
|
708
|
+
cursor: z.ZodOptional<z.ZodString>;
|
|
709
|
+
} & {
|
|
710
|
+
integrationId: z.ZodOptional<z.ZodString>;
|
|
711
|
+
integrationKey: z.ZodOptional<z.ZodString>;
|
|
712
|
+
universalFieldMappingId: z.ZodOptional<z.ZodString>;
|
|
713
|
+
search: z.ZodOptional<z.ZodString>;
|
|
714
|
+
includeArchived: z.ZodOptional<z.ZodEffects<z.ZodBoolean, boolean, unknown>>;
|
|
715
|
+
}, "strip", z.ZodTypeAny, {
|
|
716
|
+
search?: string | undefined;
|
|
717
|
+
integrationId?: string | undefined;
|
|
718
|
+
includeArchived?: boolean | undefined;
|
|
719
|
+
limit?: number | undefined;
|
|
720
|
+
cursor?: string | undefined;
|
|
721
|
+
integrationKey?: string | undefined;
|
|
722
|
+
universalFieldMappingId?: string | undefined;
|
|
723
|
+
}, {
|
|
724
|
+
search?: string | undefined;
|
|
725
|
+
integrationId?: string | undefined;
|
|
726
|
+
includeArchived?: unknown;
|
|
727
|
+
limit?: number | undefined;
|
|
728
|
+
cursor?: string | undefined;
|
|
729
|
+
integrationKey?: string | undefined;
|
|
730
|
+
universalFieldMappingId?: string | undefined;
|
|
731
|
+
}>;
|
|
732
|
+
export type FindFieldMappingsQuery = z.infer<typeof FindFieldMappingsQuery>;
|
|
733
|
+
export declare const CreateFieldMappingRequest: z.ZodObject<Omit<{
|
|
734
|
+
key: z.ZodOptional<z.ZodString>;
|
|
735
|
+
name: z.ZodOptional<z.ZodString>;
|
|
736
|
+
uuid: z.ZodOptional<z.ZodString>;
|
|
737
|
+
description: z.ZodOptional<z.ZodString>;
|
|
738
|
+
meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
739
|
+
} & {
|
|
740
|
+
integrationId: z.ZodOptional<z.ZodString>;
|
|
741
|
+
parentId: z.ZodOptional<z.ZodString>;
|
|
742
|
+
}, "parentId"> & {
|
|
743
|
+
universalFieldMappingId: z.ZodOptional<z.ZodString>;
|
|
744
|
+
dataSourceKey: z.ZodOptional<z.ZodString>;
|
|
745
|
+
dataSourceId: z.ZodOptional<z.ZodString>;
|
|
746
|
+
appSchema: z.ZodOptional<z.ZodType<import("../..").DataSchema, z.ZodTypeDef, import("../..").DataSchema>>;
|
|
747
|
+
direction: z.ZodOptional<z.ZodNativeEnum<typeof import("../base/field-mappings").FieldMappingDirection>>;
|
|
748
|
+
defaultImportValue: z.ZodOptional<z.ZodAny>;
|
|
749
|
+
defaultExportValue: z.ZodOptional<z.ZodAny>;
|
|
750
|
+
importValue: z.ZodOptional<z.ZodAny>;
|
|
751
|
+
exportValue: z.ZodOptional<z.ZodAny>;
|
|
752
|
+
frozenImportFields: z.ZodOptional<z.ZodAny>;
|
|
753
|
+
frozenExportFields: z.ZodOptional<z.ZodAny>;
|
|
754
|
+
frozenUnifiedExportFields: z.ZodOptional<z.ZodAny>;
|
|
755
|
+
}, "strip", z.ZodTypeAny, {
|
|
756
|
+
key?: string | undefined;
|
|
757
|
+
name?: string | undefined;
|
|
758
|
+
uuid?: string | undefined;
|
|
759
|
+
description?: string | undefined;
|
|
760
|
+
meta?: Record<string, any> | undefined;
|
|
761
|
+
integrationId?: string | undefined;
|
|
762
|
+
universalFieldMappingId?: string | undefined;
|
|
763
|
+
dataSourceKey?: string | undefined;
|
|
764
|
+
dataSourceId?: string | undefined;
|
|
765
|
+
appSchema?: import("../..").DataSchema | undefined;
|
|
766
|
+
direction?: import("../base/field-mappings").FieldMappingDirection | undefined;
|
|
767
|
+
defaultImportValue?: any;
|
|
768
|
+
defaultExportValue?: any;
|
|
769
|
+
importValue?: any;
|
|
770
|
+
exportValue?: any;
|
|
771
|
+
frozenImportFields?: any;
|
|
772
|
+
frozenExportFields?: any;
|
|
773
|
+
frozenUnifiedExportFields?: any;
|
|
774
|
+
}, {
|
|
775
|
+
key?: string | undefined;
|
|
776
|
+
name?: string | undefined;
|
|
777
|
+
uuid?: string | undefined;
|
|
778
|
+
description?: string | undefined;
|
|
779
|
+
meta?: Record<string, any> | undefined;
|
|
780
|
+
integrationId?: string | undefined;
|
|
781
|
+
universalFieldMappingId?: string | undefined;
|
|
782
|
+
dataSourceKey?: string | undefined;
|
|
783
|
+
dataSourceId?: string | undefined;
|
|
784
|
+
appSchema?: import("../..").DataSchema | undefined;
|
|
785
|
+
direction?: import("../base/field-mappings").FieldMappingDirection | undefined;
|
|
786
|
+
defaultImportValue?: any;
|
|
787
|
+
defaultExportValue?: any;
|
|
788
|
+
importValue?: any;
|
|
789
|
+
exportValue?: any;
|
|
790
|
+
frozenImportFields?: any;
|
|
791
|
+
frozenExportFields?: any;
|
|
792
|
+
frozenUnifiedExportFields?: any;
|
|
793
|
+
}>;
|
|
794
|
+
export type CreateFieldMappingRequest = z.infer<typeof CreateFieldMappingRequest>;
|
|
795
|
+
export declare const UpdateFieldMappingRequest: z.ZodObject<{
|
|
796
|
+
key: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
797
|
+
name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
798
|
+
uuid: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
799
|
+
description: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
800
|
+
meta: z.ZodOptional<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>;
|
|
801
|
+
integrationId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
802
|
+
universalFieldMappingId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
803
|
+
dataSourceKey: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
804
|
+
dataSourceId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
805
|
+
appSchema: z.ZodOptional<z.ZodOptional<z.ZodType<import("../..").DataSchema, z.ZodTypeDef, import("../..").DataSchema>>>;
|
|
806
|
+
direction: z.ZodOptional<z.ZodOptional<z.ZodNativeEnum<typeof import("../base/field-mappings").FieldMappingDirection>>>;
|
|
807
|
+
defaultImportValue: z.ZodOptional<z.ZodOptional<z.ZodAny>>;
|
|
808
|
+
defaultExportValue: z.ZodOptional<z.ZodOptional<z.ZodAny>>;
|
|
809
|
+
importValue: z.ZodOptional<z.ZodOptional<z.ZodAny>>;
|
|
810
|
+
exportValue: z.ZodOptional<z.ZodOptional<z.ZodAny>>;
|
|
811
|
+
frozenImportFields: z.ZodOptional<z.ZodOptional<z.ZodAny>>;
|
|
812
|
+
frozenExportFields: z.ZodOptional<z.ZodOptional<z.ZodAny>>;
|
|
813
|
+
frozenUnifiedExportFields: z.ZodOptional<z.ZodOptional<z.ZodAny>>;
|
|
814
|
+
}, "strip", z.ZodTypeAny, {
|
|
815
|
+
key?: string | undefined;
|
|
816
|
+
name?: string | undefined;
|
|
817
|
+
uuid?: string | undefined;
|
|
818
|
+
description?: string | undefined;
|
|
819
|
+
meta?: Record<string, any> | undefined;
|
|
820
|
+
integrationId?: string | undefined;
|
|
821
|
+
universalFieldMappingId?: string | undefined;
|
|
822
|
+
dataSourceKey?: string | undefined;
|
|
823
|
+
dataSourceId?: string | undefined;
|
|
824
|
+
appSchema?: import("../..").DataSchema | undefined;
|
|
825
|
+
direction?: import("../base/field-mappings").FieldMappingDirection | undefined;
|
|
826
|
+
defaultImportValue?: any;
|
|
827
|
+
defaultExportValue?: any;
|
|
828
|
+
importValue?: any;
|
|
829
|
+
exportValue?: any;
|
|
830
|
+
frozenImportFields?: any;
|
|
831
|
+
frozenExportFields?: any;
|
|
832
|
+
frozenUnifiedExportFields?: any;
|
|
833
|
+
}, {
|
|
834
|
+
key?: string | undefined;
|
|
835
|
+
name?: string | undefined;
|
|
836
|
+
uuid?: string | undefined;
|
|
837
|
+
description?: string | undefined;
|
|
838
|
+
meta?: Record<string, any> | undefined;
|
|
839
|
+
integrationId?: string | undefined;
|
|
840
|
+
universalFieldMappingId?: string | undefined;
|
|
841
|
+
dataSourceKey?: string | undefined;
|
|
842
|
+
dataSourceId?: string | undefined;
|
|
843
|
+
appSchema?: import("../..").DataSchema | undefined;
|
|
844
|
+
direction?: import("../base/field-mappings").FieldMappingDirection | undefined;
|
|
845
|
+
defaultImportValue?: any;
|
|
846
|
+
defaultExportValue?: any;
|
|
847
|
+
importValue?: any;
|
|
848
|
+
exportValue?: any;
|
|
849
|
+
frozenImportFields?: any;
|
|
850
|
+
frozenExportFields?: any;
|
|
851
|
+
frozenUnifiedExportFields?: any;
|
|
852
|
+
}>;
|
|
853
|
+
export type UpdateFieldMappingRequest = z.infer<typeof UpdateFieldMappingRequest>;
|
|
854
|
+
export interface FieldMappingSelector extends IntegrationSpecificElementSelector {
|
|
855
|
+
}
|
|
856
|
+
export interface ListFieldMappingsForIntegrationQuery extends Omit<FindFieldMappingsQuery, 'integrationId' | 'integrationKey'> {
|
|
857
|
+
}
|
|
@@ -457,7 +457,6 @@ export declare const FlowRunApiResponse: z.ZodObject<{
|
|
|
457
457
|
errors?: import("../..").ErrorDataSchema[] | undefined;
|
|
458
458
|
integrationId?: string | undefined;
|
|
459
459
|
connectionId?: string | undefined;
|
|
460
|
-
input?: any;
|
|
461
460
|
endTime?: string | undefined;
|
|
462
461
|
user?: {
|
|
463
462
|
id: string;
|
|
@@ -472,6 +471,7 @@ export declare const FlowRunApiResponse: z.ZodObject<{
|
|
|
472
471
|
lastActiveAt?: string | undefined;
|
|
473
472
|
isBillable?: boolean | undefined;
|
|
474
473
|
} | undefined;
|
|
474
|
+
input?: any;
|
|
475
475
|
universalFlowId?: string | undefined;
|
|
476
476
|
nodes?: Record<string, {
|
|
477
477
|
state: import("../base/flow-runs").FlowRunNodeState;
|
|
@@ -576,7 +576,6 @@ export declare const FlowRunApiResponse: z.ZodObject<{
|
|
|
576
576
|
errors?: import("../..").ErrorDataSchema[] | undefined;
|
|
577
577
|
integrationId?: string | undefined;
|
|
578
578
|
connectionId?: string | undefined;
|
|
579
|
-
input?: any;
|
|
580
579
|
endTime?: string | undefined;
|
|
581
580
|
user?: {
|
|
582
581
|
id: string;
|
|
@@ -591,6 +590,7 @@ export declare const FlowRunApiResponse: z.ZodObject<{
|
|
|
591
590
|
lastActiveAt?: string | undefined;
|
|
592
591
|
isBillable?: boolean | undefined;
|
|
593
592
|
} | undefined;
|
|
593
|
+
input?: any;
|
|
594
594
|
universalFlowId?: string | undefined;
|
|
595
595
|
nodes?: Record<string, {
|
|
596
596
|
state: import("../base/flow-runs").FlowRunNodeState;
|
|
@@ -1025,7 +1025,6 @@ export declare const FindFlowRunsResponse: z.ZodObject<{
|
|
|
1025
1025
|
errors?: import("../..").ErrorDataSchema[] | undefined;
|
|
1026
1026
|
integrationId?: string | undefined;
|
|
1027
1027
|
connectionId?: string | undefined;
|
|
1028
|
-
input?: any;
|
|
1029
1028
|
endTime?: string | undefined;
|
|
1030
1029
|
user?: {
|
|
1031
1030
|
id: string;
|
|
@@ -1040,6 +1039,7 @@ export declare const FindFlowRunsResponse: z.ZodObject<{
|
|
|
1040
1039
|
lastActiveAt?: string | undefined;
|
|
1041
1040
|
isBillable?: boolean | undefined;
|
|
1042
1041
|
} | undefined;
|
|
1042
|
+
input?: any;
|
|
1043
1043
|
universalFlowId?: string | undefined;
|
|
1044
1044
|
nodes?: Record<string, {
|
|
1045
1045
|
state: import("../base/flow-runs").FlowRunNodeState;
|
|
@@ -1144,7 +1144,6 @@ export declare const FindFlowRunsResponse: z.ZodObject<{
|
|
|
1144
1144
|
errors?: import("../..").ErrorDataSchema[] | undefined;
|
|
1145
1145
|
integrationId?: string | undefined;
|
|
1146
1146
|
connectionId?: string | undefined;
|
|
1147
|
-
input?: any;
|
|
1148
1147
|
endTime?: string | undefined;
|
|
1149
1148
|
user?: {
|
|
1150
1149
|
id: string;
|
|
@@ -1159,6 +1158,7 @@ export declare const FindFlowRunsResponse: z.ZodObject<{
|
|
|
1159
1158
|
lastActiveAt?: string | undefined;
|
|
1160
1159
|
isBillable?: boolean | undefined;
|
|
1161
1160
|
} | undefined;
|
|
1161
|
+
input?: any;
|
|
1162
1162
|
universalFlowId?: string | undefined;
|
|
1163
1163
|
nodes?: Record<string, {
|
|
1164
1164
|
state: import("../base/flow-runs").FlowRunNodeState;
|
|
@@ -1266,7 +1266,6 @@ export declare const FindFlowRunsResponse: z.ZodObject<{
|
|
|
1266
1266
|
errors?: import("../..").ErrorDataSchema[] | undefined;
|
|
1267
1267
|
integrationId?: string | undefined;
|
|
1268
1268
|
connectionId?: string | undefined;
|
|
1269
|
-
input?: any;
|
|
1270
1269
|
endTime?: string | undefined;
|
|
1271
1270
|
user?: {
|
|
1272
1271
|
id: string;
|
|
@@ -1281,6 +1280,7 @@ export declare const FindFlowRunsResponse: z.ZodObject<{
|
|
|
1281
1280
|
lastActiveAt?: string | undefined;
|
|
1282
1281
|
isBillable?: boolean | undefined;
|
|
1283
1282
|
} | undefined;
|
|
1283
|
+
input?: any;
|
|
1284
1284
|
universalFlowId?: string | undefined;
|
|
1285
1285
|
nodes?: Record<string, {
|
|
1286
1286
|
state: import("../base/flow-runs").FlowRunNodeState;
|
|
@@ -1388,7 +1388,6 @@ export declare const FindFlowRunsResponse: z.ZodObject<{
|
|
|
1388
1388
|
errors?: import("../..").ErrorDataSchema[] | undefined;
|
|
1389
1389
|
integrationId?: string | undefined;
|
|
1390
1390
|
connectionId?: string | undefined;
|
|
1391
|
-
input?: any;
|
|
1392
1391
|
endTime?: string | undefined;
|
|
1393
1392
|
user?: {
|
|
1394
1393
|
id: string;
|
|
@@ -1403,6 +1402,7 @@ export declare const FindFlowRunsResponse: z.ZodObject<{
|
|
|
1403
1402
|
lastActiveAt?: string | undefined;
|
|
1404
1403
|
isBillable?: boolean | undefined;
|
|
1405
1404
|
} | undefined;
|
|
1405
|
+
input?: any;
|
|
1406
1406
|
universalFlowId?: string | undefined;
|
|
1407
1407
|
nodes?: Record<string, {
|
|
1408
1408
|
state: import("../base/flow-runs").FlowRunNodeState;
|