@membranehq/sdk 0.7.4 → 0.7.5
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 +2063 -13949
- package/dist/bundle.js +3949 -4253
- package/dist/bundle.js.map +1 -1
- package/dist/dts/accessors/connections-accessors.d.ts +28 -28
- package/dist/dts/accessors/integrations-accessors.d.ts +28 -28
- package/dist/dts/config/index.d.ts +1 -11
- package/dist/dts/date-time/business-day.d.ts +2 -0
- package/dist/dts/date-time/business-day.test.d.ts +1 -0
- package/dist/dts/date-time/index.d.ts +1 -0
- package/dist/dts/entity-repository.d.ts +13 -64
- package/dist/dts/http-requests.d.ts +2 -14
- package/dist/dts/iframe.d.ts +4 -12
- package/dist/dts/scenario-templates/index.d.ts +60 -484
- package/dist/dts/workspace-elements/api/action-instances-api.d.ts +17 -248
- package/dist/dts/workspace-elements/api/action-run-log-records-api.d.ts +23 -339
- package/dist/dts/workspace-elements/api/actions-api.d.ts +52 -639
- package/dist/dts/workspace-elements/api/app-data-schema-instances-api.d.ts +8 -169
- package/dist/dts/workspace-elements/api/app-data-schemas-api.d.ts +19 -51
- package/dist/dts/workspace-elements/api/app-event-log-records-api.d.ts +15 -325
- package/dist/dts/workspace-elements/api/app-event-subscriptions-api.d.ts +13 -248
- package/dist/dts/workspace-elements/api/app-event-types-api.d.ts +28 -90
- package/dist/dts/workspace-elements/api/connections-api.d.ts +56 -892
- package/dist/dts/workspace-elements/api/customers-api.d.ts +8 -68
- package/dist/dts/workspace-elements/api/data-link-table-instances-api.d.ts +21 -369
- package/dist/dts/workspace-elements/api/data-link-tables-api.d.ts +17 -45
- package/dist/dts/workspace-elements/api/data-source-instances-api.d.ts +79 -1341
- package/dist/dts/workspace-elements/api/data-sources-api.d.ts +52 -767
- package/dist/dts/workspace-elements/api/external-event-log-records-api.d.ts +29 -502
- package/dist/dts/workspace-elements/api/external-event-pulls-api.d.ts +29 -506
- package/dist/dts/workspace-elements/api/external-event-subscriptions-api.d.ts +21 -381
- package/dist/dts/workspace-elements/api/external-events-api.d.ts +20 -425
- package/dist/dts/workspace-elements/api/field-mapping-instances-api.d.ts +109 -2321
- package/dist/dts/workspace-elements/api/field-mappings-api.d.ts +47 -702
- package/dist/dts/workspace-elements/api/flow-runs-api.d.ts +66 -1229
- package/dist/dts/workspace-elements/api/flows-api.d.ts +149 -1836
- package/dist/dts/workspace-elements/api/integrations-api.d.ts +45 -287
- package/dist/dts/workspace-elements/api/scenarios-api.d.ts +27 -450
- package/dist/dts/workspace-elements/api/screens-api.d.ts +11 -31
- package/dist/dts/workspace-elements/base/action-instances/types.d.ts +6 -60
- package/dist/dts/workspace-elements/base/action-run-log-records/types.d.ts +3 -28
- package/dist/dts/workspace-elements/base/actions/index.d.ts +10 -82
- package/dist/dts/workspace-elements/base/app-data-schema-instances/types.d.ts +4 -47
- package/dist/dts/workspace-elements/base/app-data-schemas/types.d.ts +3 -36
- package/dist/dts/workspace-elements/base/app-event-subscriptions/types.d.ts +6 -75
- package/dist/dts/workspace-elements/base/app-event-types/types.d.ts +6 -69
- package/dist/dts/workspace-elements/base/connections/types.d.ts +11 -56
- package/dist/dts/workspace-elements/base/connectors/types.d.ts +1 -11
- package/dist/dts/workspace-elements/base/customers/index.d.ts +1 -25
- package/dist/dts/workspace-elements/base/data-collections/schemas.d.ts +141 -1471
- package/dist/dts/workspace-elements/base/data-collections/types.d.ts +1 -29
- package/dist/dts/workspace-elements/base/data-link-table-instances/types.d.ts +6 -61
- package/dist/dts/workspace-elements/base/data-link-tables/types.d.ts +3 -32
- package/dist/dts/workspace-elements/base/data-source-instances/types.d.ts +60 -973
- package/dist/dts/workspace-elements/base/data-sources/index.d.ts +8 -104
- package/dist/dts/workspace-elements/base/external-event-log-records/types.d.ts +4 -26
- package/dist/dts/workspace-elements/base/external-event-pulls/types.d.ts +4 -30
- package/dist/dts/workspace-elements/base/external-event-subscriptions/types.d.ts +9 -161
- package/dist/dts/workspace-elements/base/external-events/types.d.ts +7 -121
- package/dist/dts/workspace-elements/base/field-mapping-instances/types.d.ts +9 -76
- package/dist/dts/workspace-elements/base/field-mappings/index.d.ts +13 -133
- package/dist/dts/workspace-elements/base/flow-instances/schemas.d.ts +16 -194
- package/dist/dts/workspace-elements/base/flow-instances/types.d.ts +15 -132
- package/dist/dts/workspace-elements/base/flow-runs/flow-node-runs.d.ts +29 -284
- package/dist/dts/workspace-elements/base/flow-runs/types.d.ts +13 -93
- package/dist/dts/workspace-elements/base/flows/index.d.ts +20 -240
- package/dist/dts/workspace-elements/base/flows/nodes/base.d.ts +7 -56
- package/dist/dts/workspace-elements/base/integrations/types.d.ts +23 -539
- package/dist/dts/workspace-elements/base/scenarios/index.d.ts +11 -119
- package/dist/dts/workspace-elements/base/screens/types.d.ts +6 -31
- package/dist/dts/workspace-elements/types.d.ts +15 -153
- package/dist/index.browser.d.mts +5926 -24800
- package/dist/index.browser.d.ts +5926 -24800
- package/dist/index.browser.js +287 -281
- package/dist/index.browser.js.map +1 -1
- package/dist/index.browser.mjs +285 -279
- package/dist/index.browser.mjs.map +1 -1
- package/dist/index.node.d.mts +5956 -24840
- package/dist/index.node.d.ts +5956 -24840
- package/dist/index.node.js +287 -281
- package/dist/index.node.js.map +1 -1
- package/dist/index.node.mjs +285 -279
- package/dist/index.node.mjs.map +1 -1
- package/package.json +2 -2
|
@@ -3,16 +3,13 @@ export declare const DEFAULT_PULL_UPDATES_INTERVAL_SECONDS: number;
|
|
|
3
3
|
export declare const DEFAULT_FULL_SYNC_INTERVAL_SECONDS: number;
|
|
4
4
|
export declare const MIN_FULL_SYNC_INTERVAL_SECONDS: number;
|
|
5
5
|
export declare const MIN_PULL_UPDATES_INTERVAL_SECONDS: number;
|
|
6
|
-
export declare const DataSourceEditableProperties: z.ZodObject<
|
|
6
|
+
export declare const DataSourceEditableProperties: z.ZodObject<{
|
|
7
7
|
key: z.ZodOptional<z.ZodString>;
|
|
8
|
+
description: z.ZodOptional<z.ZodString>;
|
|
8
9
|
name: z.ZodOptional<z.ZodString>;
|
|
9
10
|
uuid: z.ZodOptional<z.ZodString>;
|
|
10
|
-
description: z.ZodOptional<z.ZodString>;
|
|
11
11
|
meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
12
|
-
} & {
|
|
13
12
|
integrationId: z.ZodOptional<z.ZodString>;
|
|
14
|
-
parentId: z.ZodOptional<z.ZodString>;
|
|
15
|
-
}, "parentId"> & {
|
|
16
13
|
universalDataSourceId: z.ZodOptional<z.ZodString>;
|
|
17
14
|
udm: z.ZodOptional<z.ZodString>;
|
|
18
15
|
pullUpdatesIntervalSeconds: z.ZodOptional<z.ZodNumber>;
|
|
@@ -20,41 +17,13 @@ export declare const DataSourceEditableProperties: z.ZodObject<Omit<{
|
|
|
20
17
|
collectionKey: z.ZodOptional<z.ZodString>;
|
|
21
18
|
collectionParameters: z.ZodOptional<z.ZodAny>;
|
|
22
19
|
defaultPath: z.ZodOptional<z.ZodString>;
|
|
23
|
-
},
|
|
24
|
-
key?: string | undefined;
|
|
25
|
-
name?: string | undefined;
|
|
26
|
-
uuid?: string | undefined;
|
|
27
|
-
description?: string | undefined;
|
|
28
|
-
meta?: Record<string, any> | undefined;
|
|
29
|
-
integrationId?: string | undefined;
|
|
30
|
-
udm?: string | undefined;
|
|
31
|
-
universalDataSourceId?: string | undefined;
|
|
32
|
-
collectionKey?: string | undefined;
|
|
33
|
-
collectionParameters?: any;
|
|
34
|
-
pullUpdatesIntervalSeconds?: number | undefined;
|
|
35
|
-
fullSyncIntervalSeconds?: number | undefined;
|
|
36
|
-
defaultPath?: string | undefined;
|
|
37
|
-
}, {
|
|
38
|
-
key?: string | undefined;
|
|
39
|
-
name?: string | undefined;
|
|
40
|
-
uuid?: string | undefined;
|
|
41
|
-
description?: string | undefined;
|
|
42
|
-
meta?: Record<string, any> | undefined;
|
|
43
|
-
integrationId?: string | undefined;
|
|
44
|
-
udm?: string | undefined;
|
|
45
|
-
universalDataSourceId?: string | undefined;
|
|
46
|
-
collectionKey?: string | undefined;
|
|
47
|
-
collectionParameters?: any;
|
|
48
|
-
pullUpdatesIntervalSeconds?: number | undefined;
|
|
49
|
-
fullSyncIntervalSeconds?: number | undefined;
|
|
50
|
-
defaultPath?: string | undefined;
|
|
51
|
-
}>;
|
|
20
|
+
}, z.core.$strip>;
|
|
52
21
|
export type DataSourceEditableProperties = z.infer<typeof DataSourceEditableProperties>;
|
|
53
22
|
export declare const BaseDataSource: z.ZodObject<{
|
|
54
23
|
id: z.ZodString;
|
|
55
24
|
key: z.ZodOptional<z.ZodString>;
|
|
56
|
-
uuid: z.ZodOptional<z.ZodString>;
|
|
57
25
|
description: z.ZodOptional<z.ZodString>;
|
|
26
|
+
uuid: z.ZodOptional<z.ZodString>;
|
|
58
27
|
meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
59
28
|
integrationId: z.ZodOptional<z.ZodString>;
|
|
60
29
|
universalDataSourceId: z.ZodOptional<z.ZodString>;
|
|
@@ -64,10 +33,9 @@ export declare const BaseDataSource: z.ZodObject<{
|
|
|
64
33
|
collectionKey: z.ZodOptional<z.ZodString>;
|
|
65
34
|
collectionParameters: z.ZodOptional<z.ZodAny>;
|
|
66
35
|
defaultPath: z.ZodOptional<z.ZodString>;
|
|
67
|
-
} & {
|
|
68
36
|
name: z.ZodString;
|
|
69
|
-
state: z.ZodOptional<z.
|
|
70
|
-
errors: z.ZodOptional<z.ZodArray<z.ZodType<import("../../..").ErrorDataSchema, z.
|
|
37
|
+
state: z.ZodOptional<z.ZodEnum<typeof import("../../types").WorkspaceElementState>>;
|
|
38
|
+
errors: z.ZodOptional<z.ZodArray<z.ZodType<import("../../..").ErrorDataSchema, unknown, z.core.$ZodTypeInternals<import("../../..").ErrorDataSchema, unknown>>>>;
|
|
71
39
|
revision: z.ZodOptional<z.ZodString>;
|
|
72
40
|
createdAt: z.ZodOptional<z.ZodString>;
|
|
73
41
|
updatedAt: z.ZodOptional<z.ZodString>;
|
|
@@ -75,55 +43,7 @@ export declare const BaseDataSource: z.ZodObject<{
|
|
|
75
43
|
isDeactivated: z.ZodOptional<z.ZodBoolean>;
|
|
76
44
|
isCustomized: z.ZodOptional<z.ZodBoolean>;
|
|
77
45
|
universalDataSourceRevision: z.ZodOptional<z.ZodString>;
|
|
78
|
-
},
|
|
79
|
-
id: string;
|
|
80
|
-
name: string;
|
|
81
|
-
key?: string | undefined;
|
|
82
|
-
uuid?: string | undefined;
|
|
83
|
-
description?: string | undefined;
|
|
84
|
-
meta?: Record<string, any> | undefined;
|
|
85
|
-
state?: import("../../types").WorkspaceElementState | undefined;
|
|
86
|
-
errors?: import("../../..").ErrorDataSchema[] | undefined;
|
|
87
|
-
revision?: string | undefined;
|
|
88
|
-
createdAt?: string | undefined;
|
|
89
|
-
updatedAt?: string | undefined;
|
|
90
|
-
archivedAt?: string | undefined;
|
|
91
|
-
isDeactivated?: boolean | undefined;
|
|
92
|
-
integrationId?: string | undefined;
|
|
93
|
-
isCustomized?: boolean | undefined;
|
|
94
|
-
udm?: string | undefined;
|
|
95
|
-
universalDataSourceId?: string | undefined;
|
|
96
|
-
collectionKey?: string | undefined;
|
|
97
|
-
collectionParameters?: any;
|
|
98
|
-
pullUpdatesIntervalSeconds?: number | undefined;
|
|
99
|
-
fullSyncIntervalSeconds?: number | undefined;
|
|
100
|
-
defaultPath?: string | undefined;
|
|
101
|
-
universalDataSourceRevision?: string | undefined;
|
|
102
|
-
}, {
|
|
103
|
-
id: string;
|
|
104
|
-
name: string;
|
|
105
|
-
key?: string | undefined;
|
|
106
|
-
uuid?: string | undefined;
|
|
107
|
-
description?: string | undefined;
|
|
108
|
-
meta?: Record<string, any> | undefined;
|
|
109
|
-
state?: import("../../types").WorkspaceElementState | undefined;
|
|
110
|
-
errors?: import("../../..").ErrorDataSchema[] | undefined;
|
|
111
|
-
revision?: string | undefined;
|
|
112
|
-
createdAt?: string | undefined;
|
|
113
|
-
updatedAt?: string | undefined;
|
|
114
|
-
archivedAt?: string | undefined;
|
|
115
|
-
isDeactivated?: boolean | undefined;
|
|
116
|
-
integrationId?: string | undefined;
|
|
117
|
-
isCustomized?: boolean | undefined;
|
|
118
|
-
udm?: string | undefined;
|
|
119
|
-
universalDataSourceId?: string | undefined;
|
|
120
|
-
collectionKey?: string | undefined;
|
|
121
|
-
collectionParameters?: any;
|
|
122
|
-
pullUpdatesIntervalSeconds?: number | undefined;
|
|
123
|
-
fullSyncIntervalSeconds?: number | undefined;
|
|
124
|
-
defaultPath?: string | undefined;
|
|
125
|
-
universalDataSourceRevision?: string | undefined;
|
|
126
|
-
}>;
|
|
46
|
+
}, z.core.$strip>;
|
|
127
47
|
export type BaseDataSource = z.infer<typeof BaseDataSource>;
|
|
128
48
|
export declare const DataSourceUnitConfig: z.ZodObject<{
|
|
129
49
|
key: z.ZodOptional<z.ZodString>;
|
|
@@ -133,21 +53,5 @@ export declare const DataSourceUnitConfig: z.ZodObject<{
|
|
|
133
53
|
path: z.ZodOptional<z.ZodString>;
|
|
134
54
|
pullUpdatesIntervalSeconds: z.ZodOptional<z.ZodNumber>;
|
|
135
55
|
fullSyncIntervalSeconds: z.ZodOptional<z.ZodNumber>;
|
|
136
|
-
},
|
|
137
|
-
key?: string | undefined;
|
|
138
|
-
path?: string | undefined;
|
|
139
|
-
udm?: any;
|
|
140
|
-
collectionKey?: any;
|
|
141
|
-
collectionParameters?: any;
|
|
142
|
-
pullUpdatesIntervalSeconds?: number | undefined;
|
|
143
|
-
fullSyncIntervalSeconds?: number | undefined;
|
|
144
|
-
}, {
|
|
145
|
-
key?: string | undefined;
|
|
146
|
-
path?: string | undefined;
|
|
147
|
-
udm?: any;
|
|
148
|
-
collectionKey?: any;
|
|
149
|
-
collectionParameters?: any;
|
|
150
|
-
pullUpdatesIntervalSeconds?: number | undefined;
|
|
151
|
-
fullSyncIntervalSeconds?: number | undefined;
|
|
152
|
-
}>;
|
|
56
|
+
}, z.core.$strip>;
|
|
153
57
|
export type DataSourceUnitConfig = z.infer<typeof DataSourceUnitConfig>;
|
|
@@ -13,30 +13,8 @@ export declare const BaseExternalEventLogRecord: z.ZodObject<{
|
|
|
13
13
|
integrationId: z.ZodString;
|
|
14
14
|
connectionId: z.ZodString;
|
|
15
15
|
payload: z.ZodOptional<z.ZodAny>;
|
|
16
|
-
launchedFlowRunIds: z.ZodOptional<z.ZodArray<z.ZodString
|
|
17
|
-
status: z.
|
|
18
|
-
error: z.ZodOptional<z.ZodType<ErrorDataSchema, z.
|
|
19
|
-
},
|
|
20
|
-
status: ExternalEventLogStatus;
|
|
21
|
-
id: string;
|
|
22
|
-
integrationId: string;
|
|
23
|
-
userId: string;
|
|
24
|
-
connectionId: string;
|
|
25
|
-
externalEventSubscriptionId: string;
|
|
26
|
-
error?: ErrorDataSchema | undefined;
|
|
27
|
-
name?: string | undefined;
|
|
28
|
-
payload?: any;
|
|
29
|
-
launchedFlowRunIds?: string[] | undefined;
|
|
30
|
-
}, {
|
|
31
|
-
status: ExternalEventLogStatus;
|
|
32
|
-
id: string;
|
|
33
|
-
integrationId: string;
|
|
34
|
-
userId: string;
|
|
35
|
-
connectionId: string;
|
|
36
|
-
externalEventSubscriptionId: string;
|
|
37
|
-
error?: ErrorDataSchema | undefined;
|
|
38
|
-
name?: string | undefined;
|
|
39
|
-
payload?: any;
|
|
40
|
-
launchedFlowRunIds?: string[] | undefined;
|
|
41
|
-
}>;
|
|
16
|
+
launchedFlowRunIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
17
|
+
status: z.ZodEnum<typeof ExternalEventLogStatus>;
|
|
18
|
+
error: z.ZodOptional<z.ZodType<ErrorDataSchema, unknown, z.core.$ZodTypeInternals<ErrorDataSchema, unknown>>>;
|
|
19
|
+
}, z.core.$strip>;
|
|
42
20
|
export type BaseExternalEventLogRecord = z.infer<typeof BaseExternalEventLogRecord>;
|
|
@@ -16,34 +16,8 @@ export declare const BaseExternalEventPull: z.ZodObject<{
|
|
|
16
16
|
startDatetime: z.ZodString;
|
|
17
17
|
endDatetime: z.ZodString;
|
|
18
18
|
isFullScan: z.ZodOptional<z.ZodBoolean>;
|
|
19
|
-
status: z.
|
|
20
|
-
collectedEventIds: z.ZodArray<z.ZodString
|
|
21
|
-
error: z.ZodOptional<z.ZodType<ErrorDataSchema, z.
|
|
22
|
-
},
|
|
23
|
-
status: ExternalEventPullStatus;
|
|
24
|
-
id: string;
|
|
25
|
-
integrationId: string;
|
|
26
|
-
userId: string;
|
|
27
|
-
connectionId: string;
|
|
28
|
-
startDatetime: string;
|
|
29
|
-
endDatetime: string;
|
|
30
|
-
externalEventSubscriptionId: string;
|
|
31
|
-
collectedEventIds: string[];
|
|
32
|
-
error?: ErrorDataSchema | undefined;
|
|
33
|
-
name?: string | undefined;
|
|
34
|
-
isFullScan?: boolean | undefined;
|
|
35
|
-
}, {
|
|
36
|
-
status: ExternalEventPullStatus;
|
|
37
|
-
id: string;
|
|
38
|
-
integrationId: string;
|
|
39
|
-
userId: string;
|
|
40
|
-
connectionId: string;
|
|
41
|
-
startDatetime: string;
|
|
42
|
-
endDatetime: string;
|
|
43
|
-
externalEventSubscriptionId: string;
|
|
44
|
-
collectedEventIds: string[];
|
|
45
|
-
error?: ErrorDataSchema | undefined;
|
|
46
|
-
name?: string | undefined;
|
|
47
|
-
isFullScan?: boolean | undefined;
|
|
48
|
-
}>;
|
|
19
|
+
status: z.ZodEnum<typeof ExternalEventPullStatus>;
|
|
20
|
+
collectedEventIds: z.ZodArray<z.ZodString>;
|
|
21
|
+
error: z.ZodOptional<z.ZodType<ErrorDataSchema, unknown, z.core.$ZodTypeInternals<ErrorDataSchema, unknown>>>;
|
|
22
|
+
}, z.core.$strip>;
|
|
49
23
|
export type BaseExternalEventPull = z.infer<typeof BaseExternalEventPull>;
|
|
@@ -12,7 +12,7 @@ export declare enum ExternalEventSubscriptionType {
|
|
|
12
12
|
ConnectorEvent = "connector-event"
|
|
13
13
|
}
|
|
14
14
|
export declare const ExternalEventSubscriptionConfig: z.ZodObject<{
|
|
15
|
-
type: z.
|
|
15
|
+
type: z.ZodEnum<typeof ExternalEventSubscriptionType>;
|
|
16
16
|
dataSource: z.ZodOptional<z.ZodObject<{
|
|
17
17
|
key: z.ZodOptional<z.ZodString>;
|
|
18
18
|
collectionKey: z.ZodOptional<z.ZodAny>;
|
|
@@ -21,52 +21,10 @@ export declare const ExternalEventSubscriptionConfig: z.ZodObject<{
|
|
|
21
21
|
path: z.ZodOptional<z.ZodString>;
|
|
22
22
|
pullUpdatesIntervalSeconds: z.ZodOptional<z.ZodNumber>;
|
|
23
23
|
fullSyncIntervalSeconds: z.ZodOptional<z.ZodNumber>;
|
|
24
|
-
},
|
|
25
|
-
key?: string | undefined;
|
|
26
|
-
path?: string | undefined;
|
|
27
|
-
udm?: any;
|
|
28
|
-
collectionKey?: any;
|
|
29
|
-
collectionParameters?: any;
|
|
30
|
-
pullUpdatesIntervalSeconds?: number | undefined;
|
|
31
|
-
fullSyncIntervalSeconds?: number | undefined;
|
|
32
|
-
}, {
|
|
33
|
-
key?: string | undefined;
|
|
34
|
-
path?: string | undefined;
|
|
35
|
-
udm?: any;
|
|
36
|
-
collectionKey?: any;
|
|
37
|
-
collectionParameters?: any;
|
|
38
|
-
pullUpdatesIntervalSeconds?: number | undefined;
|
|
39
|
-
fullSyncIntervalSeconds?: number | undefined;
|
|
40
|
-
}>>;
|
|
24
|
+
}, z.core.$strip>>;
|
|
41
25
|
eventKey: z.ZodOptional<z.ZodString>;
|
|
42
26
|
eventParameters: z.ZodOptional<z.ZodAny>;
|
|
43
|
-
},
|
|
44
|
-
type: ExternalEventSubscriptionType;
|
|
45
|
-
eventKey?: string | undefined;
|
|
46
|
-
eventParameters?: any;
|
|
47
|
-
dataSource?: {
|
|
48
|
-
key?: string | undefined;
|
|
49
|
-
path?: string | undefined;
|
|
50
|
-
udm?: any;
|
|
51
|
-
collectionKey?: any;
|
|
52
|
-
collectionParameters?: any;
|
|
53
|
-
pullUpdatesIntervalSeconds?: number | undefined;
|
|
54
|
-
fullSyncIntervalSeconds?: number | undefined;
|
|
55
|
-
} | undefined;
|
|
56
|
-
}, {
|
|
57
|
-
type: ExternalEventSubscriptionType;
|
|
58
|
-
eventKey?: string | undefined;
|
|
59
|
-
eventParameters?: any;
|
|
60
|
-
dataSource?: {
|
|
61
|
-
key?: string | undefined;
|
|
62
|
-
path?: string | undefined;
|
|
63
|
-
udm?: any;
|
|
64
|
-
collectionKey?: any;
|
|
65
|
-
collectionParameters?: any;
|
|
66
|
-
pullUpdatesIntervalSeconds?: number | undefined;
|
|
67
|
-
fullSyncIntervalSeconds?: number | undefined;
|
|
68
|
-
} | undefined;
|
|
69
|
-
}>;
|
|
27
|
+
}, z.core.$strip>;
|
|
70
28
|
export type ExternalEventSubscriptionConfig = z.infer<typeof ExternalEventSubscriptionConfig>;
|
|
71
29
|
export declare const BaseExternalEventSubscription: z.ZodObject<{
|
|
72
30
|
id: z.ZodString;
|
|
@@ -75,7 +33,7 @@ export declare const BaseExternalEventSubscription: z.ZodObject<{
|
|
|
75
33
|
connectionId: z.ZodString;
|
|
76
34
|
integrationId: z.ZodString;
|
|
77
35
|
config: z.ZodOptional<z.ZodObject<{
|
|
78
|
-
type: z.
|
|
36
|
+
type: z.ZodEnum<typeof ExternalEventSubscriptionType>;
|
|
79
37
|
dataSource: z.ZodOptional<z.ZodObject<{
|
|
80
38
|
key: z.ZodOptional<z.ZodString>;
|
|
81
39
|
collectionKey: z.ZodOptional<z.ZodAny>;
|
|
@@ -84,54 +42,12 @@ export declare const BaseExternalEventSubscription: z.ZodObject<{
|
|
|
84
42
|
path: z.ZodOptional<z.ZodString>;
|
|
85
43
|
pullUpdatesIntervalSeconds: z.ZodOptional<z.ZodNumber>;
|
|
86
44
|
fullSyncIntervalSeconds: z.ZodOptional<z.ZodNumber>;
|
|
87
|
-
},
|
|
88
|
-
key?: string | undefined;
|
|
89
|
-
path?: string | undefined;
|
|
90
|
-
udm?: any;
|
|
91
|
-
collectionKey?: any;
|
|
92
|
-
collectionParameters?: any;
|
|
93
|
-
pullUpdatesIntervalSeconds?: number | undefined;
|
|
94
|
-
fullSyncIntervalSeconds?: number | undefined;
|
|
95
|
-
}, {
|
|
96
|
-
key?: string | undefined;
|
|
97
|
-
path?: string | undefined;
|
|
98
|
-
udm?: any;
|
|
99
|
-
collectionKey?: any;
|
|
100
|
-
collectionParameters?: any;
|
|
101
|
-
pullUpdatesIntervalSeconds?: number | undefined;
|
|
102
|
-
fullSyncIntervalSeconds?: number | undefined;
|
|
103
|
-
}>>;
|
|
45
|
+
}, z.core.$strip>>;
|
|
104
46
|
eventKey: z.ZodOptional<z.ZodString>;
|
|
105
47
|
eventParameters: z.ZodOptional<z.ZodAny>;
|
|
106
|
-
},
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
eventParameters?: any;
|
|
110
|
-
dataSource?: {
|
|
111
|
-
key?: string | undefined;
|
|
112
|
-
path?: string | undefined;
|
|
113
|
-
udm?: any;
|
|
114
|
-
collectionKey?: any;
|
|
115
|
-
collectionParameters?: any;
|
|
116
|
-
pullUpdatesIntervalSeconds?: number | undefined;
|
|
117
|
-
fullSyncIntervalSeconds?: number | undefined;
|
|
118
|
-
} | undefined;
|
|
119
|
-
}, {
|
|
120
|
-
type: ExternalEventSubscriptionType;
|
|
121
|
-
eventKey?: string | undefined;
|
|
122
|
-
eventParameters?: any;
|
|
123
|
-
dataSource?: {
|
|
124
|
-
key?: string | undefined;
|
|
125
|
-
path?: string | undefined;
|
|
126
|
-
udm?: any;
|
|
127
|
-
collectionKey?: any;
|
|
128
|
-
collectionParameters?: any;
|
|
129
|
-
pullUpdatesIntervalSeconds?: number | undefined;
|
|
130
|
-
fullSyncIntervalSeconds?: number | undefined;
|
|
131
|
-
} | undefined;
|
|
132
|
-
}>>;
|
|
133
|
-
status: z.ZodOptional<z.ZodNativeEnum<typeof ExternalEventSubscriptionStatus>>;
|
|
134
|
-
error: z.ZodOptional<z.ZodType<ErrorDataSchema, z.ZodTypeDef, ErrorDataSchema>>;
|
|
48
|
+
}, z.core.$strip>>;
|
|
49
|
+
status: z.ZodOptional<z.ZodEnum<typeof ExternalEventSubscriptionStatus>>;
|
|
50
|
+
error: z.ZodOptional<z.ZodType<ErrorDataSchema, unknown, z.core.$ZodTypeInternals<ErrorDataSchema, unknown>>>;
|
|
135
51
|
isRealTime: z.ZodOptional<z.ZodBoolean>;
|
|
136
52
|
requiresPull: z.ZodOptional<z.ZodBoolean>;
|
|
137
53
|
requiresFullSync: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -144,73 +60,5 @@ export declare const BaseExternalEventSubscription: z.ZodObject<{
|
|
|
144
60
|
nextRefreshTimestamp: z.ZodOptional<z.ZodNumber>;
|
|
145
61
|
globalWebhookKey: z.ZodOptional<z.ZodString>;
|
|
146
62
|
globalWebhookEventSelector: z.ZodOptional<z.ZodString>;
|
|
147
|
-
},
|
|
148
|
-
id: string;
|
|
149
|
-
integrationId: string;
|
|
150
|
-
userId: string;
|
|
151
|
-
connectionId: string;
|
|
152
|
-
status?: ExternalEventSubscriptionStatus | undefined;
|
|
153
|
-
error?: ErrorDataSchema | undefined;
|
|
154
|
-
name?: string | undefined;
|
|
155
|
-
createdAt?: string | undefined;
|
|
156
|
-
archivedAt?: string | undefined;
|
|
157
|
-
nextRefreshTimestamp?: number | undefined;
|
|
158
|
-
config?: {
|
|
159
|
-
type: ExternalEventSubscriptionType;
|
|
160
|
-
eventKey?: string | undefined;
|
|
161
|
-
eventParameters?: any;
|
|
162
|
-
dataSource?: {
|
|
163
|
-
key?: string | undefined;
|
|
164
|
-
path?: string | undefined;
|
|
165
|
-
udm?: any;
|
|
166
|
-
collectionKey?: any;
|
|
167
|
-
collectionParameters?: any;
|
|
168
|
-
pullUpdatesIntervalSeconds?: number | undefined;
|
|
169
|
-
fullSyncIntervalSeconds?: number | undefined;
|
|
170
|
-
} | undefined;
|
|
171
|
-
} | undefined;
|
|
172
|
-
pullUpdatesIntervalSeconds?: number | undefined;
|
|
173
|
-
fullSyncIntervalSeconds?: number | undefined;
|
|
174
|
-
isRealTime?: boolean | undefined;
|
|
175
|
-
requiresPull?: boolean | undefined;
|
|
176
|
-
requiresFullSync?: boolean | undefined;
|
|
177
|
-
stateData?: any;
|
|
178
|
-
nextPullEventsTimestamp?: number | undefined;
|
|
179
|
-
globalWebhookKey?: string | undefined;
|
|
180
|
-
globalWebhookEventSelector?: string | undefined;
|
|
181
|
-
}, {
|
|
182
|
-
id: string;
|
|
183
|
-
integrationId: string;
|
|
184
|
-
userId: string;
|
|
185
|
-
connectionId: string;
|
|
186
|
-
status?: ExternalEventSubscriptionStatus | undefined;
|
|
187
|
-
error?: ErrorDataSchema | undefined;
|
|
188
|
-
name?: string | undefined;
|
|
189
|
-
createdAt?: string | undefined;
|
|
190
|
-
archivedAt?: string | undefined;
|
|
191
|
-
nextRefreshTimestamp?: number | undefined;
|
|
192
|
-
config?: {
|
|
193
|
-
type: ExternalEventSubscriptionType;
|
|
194
|
-
eventKey?: string | undefined;
|
|
195
|
-
eventParameters?: any;
|
|
196
|
-
dataSource?: {
|
|
197
|
-
key?: string | undefined;
|
|
198
|
-
path?: string | undefined;
|
|
199
|
-
udm?: any;
|
|
200
|
-
collectionKey?: any;
|
|
201
|
-
collectionParameters?: any;
|
|
202
|
-
pullUpdatesIntervalSeconds?: number | undefined;
|
|
203
|
-
fullSyncIntervalSeconds?: number | undefined;
|
|
204
|
-
} | undefined;
|
|
205
|
-
} | undefined;
|
|
206
|
-
pullUpdatesIntervalSeconds?: number | undefined;
|
|
207
|
-
fullSyncIntervalSeconds?: number | undefined;
|
|
208
|
-
isRealTime?: boolean | undefined;
|
|
209
|
-
requiresPull?: boolean | undefined;
|
|
210
|
-
requiresFullSync?: boolean | undefined;
|
|
211
|
-
stateData?: any;
|
|
212
|
-
nextPullEventsTimestamp?: number | undefined;
|
|
213
|
-
globalWebhookKey?: string | undefined;
|
|
214
|
-
globalWebhookEventSelector?: string | undefined;
|
|
215
|
-
}>;
|
|
63
|
+
}, z.core.$strip>;
|
|
216
64
|
export type BaseExternalEventSubscription = z.infer<typeof BaseExternalEventSubscription>;
|
|
@@ -10,7 +10,7 @@ export declare enum IncomingWebhooksState {
|
|
|
10
10
|
ERROR = "error"
|
|
11
11
|
}
|
|
12
12
|
export declare const ExternalEventUnitConfig: z.ZodObject<{
|
|
13
|
-
type: z.
|
|
13
|
+
type: z.ZodEnum<typeof ExternalEventType>;
|
|
14
14
|
dataSource: z.ZodOptional<z.ZodObject<{
|
|
15
15
|
key: z.ZodOptional<z.ZodString>;
|
|
16
16
|
collectionKey: z.ZodOptional<z.ZodAny>;
|
|
@@ -19,56 +19,14 @@ export declare const ExternalEventUnitConfig: z.ZodObject<{
|
|
|
19
19
|
path: z.ZodOptional<z.ZodString>;
|
|
20
20
|
pullUpdatesIntervalSeconds: z.ZodOptional<z.ZodNumber>;
|
|
21
21
|
fullSyncIntervalSeconds: z.ZodOptional<z.ZodNumber>;
|
|
22
|
-
},
|
|
23
|
-
key?: string | undefined;
|
|
24
|
-
path?: string | undefined;
|
|
25
|
-
udm?: any;
|
|
26
|
-
collectionKey?: any;
|
|
27
|
-
collectionParameters?: any;
|
|
28
|
-
pullUpdatesIntervalSeconds?: number | undefined;
|
|
29
|
-
fullSyncIntervalSeconds?: number | undefined;
|
|
30
|
-
}, {
|
|
31
|
-
key?: string | undefined;
|
|
32
|
-
path?: string | undefined;
|
|
33
|
-
udm?: any;
|
|
34
|
-
collectionKey?: any;
|
|
35
|
-
collectionParameters?: any;
|
|
36
|
-
pullUpdatesIntervalSeconds?: number | undefined;
|
|
37
|
-
fullSyncIntervalSeconds?: number | undefined;
|
|
38
|
-
}>>;
|
|
22
|
+
}, z.core.$strip>>;
|
|
39
23
|
eventKey: z.ZodOptional<z.ZodString>;
|
|
40
24
|
eventParameters: z.ZodOptional<z.ZodAny>;
|
|
41
|
-
},
|
|
42
|
-
type: ExternalEventType;
|
|
43
|
-
eventKey?: string | undefined;
|
|
44
|
-
eventParameters?: any;
|
|
45
|
-
dataSource?: {
|
|
46
|
-
key?: string | undefined;
|
|
47
|
-
path?: string | undefined;
|
|
48
|
-
udm?: any;
|
|
49
|
-
collectionKey?: any;
|
|
50
|
-
collectionParameters?: any;
|
|
51
|
-
pullUpdatesIntervalSeconds?: number | undefined;
|
|
52
|
-
fullSyncIntervalSeconds?: number | undefined;
|
|
53
|
-
} | undefined;
|
|
54
|
-
}, {
|
|
55
|
-
type: ExternalEventType;
|
|
56
|
-
eventKey?: string | undefined;
|
|
57
|
-
eventParameters?: any;
|
|
58
|
-
dataSource?: {
|
|
59
|
-
key?: string | undefined;
|
|
60
|
-
path?: string | undefined;
|
|
61
|
-
udm?: any;
|
|
62
|
-
collectionKey?: any;
|
|
63
|
-
collectionParameters?: any;
|
|
64
|
-
pullUpdatesIntervalSeconds?: number | undefined;
|
|
65
|
-
fullSyncIntervalSeconds?: number | undefined;
|
|
66
|
-
} | undefined;
|
|
67
|
-
}>;
|
|
25
|
+
}, z.core.$strip>;
|
|
68
26
|
export type ExternalEventUnitConfig = z.infer<typeof ExternalEventUnitConfig>;
|
|
69
27
|
export declare const BaseExternalEvent: z.ZodObject<{
|
|
70
28
|
config: z.ZodOptional<z.ZodObject<{
|
|
71
|
-
type: z.
|
|
29
|
+
type: z.ZodEnum<typeof ExternalEventType>;
|
|
72
30
|
dataSource: z.ZodOptional<z.ZodObject<{
|
|
73
31
|
key: z.ZodOptional<z.ZodString>;
|
|
74
32
|
collectionKey: z.ZodOptional<z.ZodAny>;
|
|
@@ -77,81 +35,9 @@ export declare const BaseExternalEvent: z.ZodObject<{
|
|
|
77
35
|
path: z.ZodOptional<z.ZodString>;
|
|
78
36
|
pullUpdatesIntervalSeconds: z.ZodOptional<z.ZodNumber>;
|
|
79
37
|
fullSyncIntervalSeconds: z.ZodOptional<z.ZodNumber>;
|
|
80
|
-
},
|
|
81
|
-
key?: string | undefined;
|
|
82
|
-
path?: string | undefined;
|
|
83
|
-
udm?: any;
|
|
84
|
-
collectionKey?: any;
|
|
85
|
-
collectionParameters?: any;
|
|
86
|
-
pullUpdatesIntervalSeconds?: number | undefined;
|
|
87
|
-
fullSyncIntervalSeconds?: number | undefined;
|
|
88
|
-
}, {
|
|
89
|
-
key?: string | undefined;
|
|
90
|
-
path?: string | undefined;
|
|
91
|
-
udm?: any;
|
|
92
|
-
collectionKey?: any;
|
|
93
|
-
collectionParameters?: any;
|
|
94
|
-
pullUpdatesIntervalSeconds?: number | undefined;
|
|
95
|
-
fullSyncIntervalSeconds?: number | undefined;
|
|
96
|
-
}>>;
|
|
38
|
+
}, z.core.$strip>>;
|
|
97
39
|
eventKey: z.ZodOptional<z.ZodString>;
|
|
98
40
|
eventParameters: z.ZodOptional<z.ZodAny>;
|
|
99
|
-
},
|
|
100
|
-
|
|
101
|
-
eventKey?: string | undefined;
|
|
102
|
-
eventParameters?: any;
|
|
103
|
-
dataSource?: {
|
|
104
|
-
key?: string | undefined;
|
|
105
|
-
path?: string | undefined;
|
|
106
|
-
udm?: any;
|
|
107
|
-
collectionKey?: any;
|
|
108
|
-
collectionParameters?: any;
|
|
109
|
-
pullUpdatesIntervalSeconds?: number | undefined;
|
|
110
|
-
fullSyncIntervalSeconds?: number | undefined;
|
|
111
|
-
} | undefined;
|
|
112
|
-
}, {
|
|
113
|
-
type: ExternalEventType;
|
|
114
|
-
eventKey?: string | undefined;
|
|
115
|
-
eventParameters?: any;
|
|
116
|
-
dataSource?: {
|
|
117
|
-
key?: string | undefined;
|
|
118
|
-
path?: string | undefined;
|
|
119
|
-
udm?: any;
|
|
120
|
-
collectionKey?: any;
|
|
121
|
-
collectionParameters?: any;
|
|
122
|
-
pullUpdatesIntervalSeconds?: number | undefined;
|
|
123
|
-
fullSyncIntervalSeconds?: number | undefined;
|
|
124
|
-
} | undefined;
|
|
125
|
-
}>>;
|
|
126
|
-
}, "strip", z.ZodTypeAny, {
|
|
127
|
-
config?: {
|
|
128
|
-
type: ExternalEventType;
|
|
129
|
-
eventKey?: string | undefined;
|
|
130
|
-
eventParameters?: any;
|
|
131
|
-
dataSource?: {
|
|
132
|
-
key?: string | undefined;
|
|
133
|
-
path?: string | undefined;
|
|
134
|
-
udm?: any;
|
|
135
|
-
collectionKey?: any;
|
|
136
|
-
collectionParameters?: any;
|
|
137
|
-
pullUpdatesIntervalSeconds?: number | undefined;
|
|
138
|
-
fullSyncIntervalSeconds?: number | undefined;
|
|
139
|
-
} | undefined;
|
|
140
|
-
} | undefined;
|
|
141
|
-
}, {
|
|
142
|
-
config?: {
|
|
143
|
-
type: ExternalEventType;
|
|
144
|
-
eventKey?: string | undefined;
|
|
145
|
-
eventParameters?: any;
|
|
146
|
-
dataSource?: {
|
|
147
|
-
key?: string | undefined;
|
|
148
|
-
path?: string | undefined;
|
|
149
|
-
udm?: any;
|
|
150
|
-
collectionKey?: any;
|
|
151
|
-
collectionParameters?: any;
|
|
152
|
-
pullUpdatesIntervalSeconds?: number | undefined;
|
|
153
|
-
fullSyncIntervalSeconds?: number | undefined;
|
|
154
|
-
} | undefined;
|
|
155
|
-
} | undefined;
|
|
156
|
-
}>;
|
|
41
|
+
}, z.core.$strip>>;
|
|
42
|
+
}, z.core.$strip>;
|
|
157
43
|
export type BaseExternalEvent = z.infer<typeof BaseExternalEvent>;
|