@membranehq/sdk 0.7.3 → 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 +2283 -14038
- 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 +86 -1359
- package/dist/dts/workspace-elements/api/data-sources-api.d.ts +164 -880
- 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 +125 -2363
- package/dist/dts/workspace-elements/api/field-mappings-api.d.ts +109 -666
- package/dist/dts/workspace-elements/api/flow-runs-api.d.ts +66 -1229
- package/dist/dts/workspace-elements/api/flows-api.d.ts +273 -1874
- 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 +57 -2
- 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 +10 -77
- package/dist/dts/workspace-elements/base/field-mappings/index.d.ts +71 -1
- 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 +80 -1
- package/dist/dts/workspace-elements/base/flows/nodes/base.d.ts +30 -1
- package/dist/dts/workspace-elements/base/flows/nodes/index.d.ts +1 -1
- 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 +7609 -26109
- package/dist/index.browser.d.ts +7609 -26109
- package/dist/index.browser.js +420 -419
- package/dist/index.browser.js.map +1 -1
- package/dist/index.browser.mjs +412 -415
- package/dist/index.browser.mjs.map +1 -1
- package/dist/index.node.d.mts +7537 -26047
- package/dist/index.node.d.ts +7537 -26047
- package/dist/index.node.js +420 -419
- package/dist/index.node.js.map +1 -1
- package/dist/index.node.mjs +412 -415
- package/dist/index.node.mjs.map +1 -1
- package/package.json +2 -2
- 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
|
@@ -2,35 +2,14 @@ import { z } from 'zod';
|
|
|
2
2
|
import { ExternalEventPullStatus } from '../base/external-event-pulls';
|
|
3
3
|
export declare const ListExternalEventPullsQuery: z.ZodObject<{
|
|
4
4
|
search: z.ZodOptional<z.ZodString>;
|
|
5
|
-
|
|
6
|
-
limit: z.ZodOptional<z.ZodNumber>;
|
|
5
|
+
limit: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
7
6
|
cursor: z.ZodOptional<z.ZodString>;
|
|
8
|
-
|
|
9
|
-
includeArchived: z.ZodOptional<z.ZodEffects<z.ZodBoolean, boolean, unknown>>;
|
|
10
|
-
} & {
|
|
7
|
+
includeArchived: z.ZodOptional<z.ZodPipe<z.ZodTransform<boolean, unknown>, z.ZodBoolean>>;
|
|
11
8
|
connectionId: z.ZodOptional<z.ZodString>;
|
|
12
9
|
integrationId: z.ZodOptional<z.ZodString>;
|
|
13
10
|
externalEventSubscriptionId: z.ZodOptional<z.ZodString>;
|
|
14
|
-
status: z.ZodOptional<z.
|
|
15
|
-
},
|
|
16
|
-
search?: string | undefined;
|
|
17
|
-
status?: ExternalEventPullStatus | undefined;
|
|
18
|
-
integrationId?: string | undefined;
|
|
19
|
-
includeArchived?: boolean | undefined;
|
|
20
|
-
limit?: number | undefined;
|
|
21
|
-
cursor?: string | undefined;
|
|
22
|
-
connectionId?: string | undefined;
|
|
23
|
-
externalEventSubscriptionId?: string | undefined;
|
|
24
|
-
}, {
|
|
25
|
-
search?: string | undefined;
|
|
26
|
-
status?: ExternalEventPullStatus | undefined;
|
|
27
|
-
integrationId?: string | undefined;
|
|
28
|
-
includeArchived?: unknown;
|
|
29
|
-
limit?: number | undefined;
|
|
30
|
-
cursor?: string | undefined;
|
|
31
|
-
connectionId?: string | undefined;
|
|
32
|
-
externalEventSubscriptionId?: string | undefined;
|
|
33
|
-
}>;
|
|
11
|
+
status: z.ZodOptional<z.ZodEnum<typeof ExternalEventPullStatus>>;
|
|
12
|
+
}, z.core.$strip>;
|
|
34
13
|
export type ListExternalEventPullsQuery = z.infer<typeof ListExternalEventPullsQuery>;
|
|
35
14
|
export declare const ExternalEventPullApiResponse: z.ZodObject<{
|
|
36
15
|
id: z.ZodString;
|
|
@@ -42,10 +21,9 @@ export declare const ExternalEventPullApiResponse: z.ZodObject<{
|
|
|
42
21
|
startDatetime: z.ZodString;
|
|
43
22
|
endDatetime: z.ZodString;
|
|
44
23
|
isFullScan: z.ZodOptional<z.ZodBoolean>;
|
|
45
|
-
status: z.
|
|
46
|
-
collectedEventIds: z.ZodArray<z.ZodString
|
|
47
|
-
error: z.ZodOptional<z.ZodType<import("../..").ErrorDataSchema, z.
|
|
48
|
-
} & {
|
|
24
|
+
status: z.ZodEnum<typeof ExternalEventPullStatus>;
|
|
25
|
+
collectedEventIds: z.ZodArray<z.ZodString>;
|
|
26
|
+
error: z.ZodOptional<z.ZodType<import("../..").ErrorDataSchema, unknown, z.core.$ZodTypeInternals<import("../..").ErrorDataSchema, unknown>>>;
|
|
49
27
|
user: z.ZodOptional<z.ZodObject<{
|
|
50
28
|
id: z.ZodString;
|
|
51
29
|
name: z.ZodString;
|
|
@@ -58,31 +36,7 @@ export declare const ExternalEventPullApiResponse: z.ZodObject<{
|
|
|
58
36
|
isBillable: z.ZodOptional<z.ZodBoolean>;
|
|
59
37
|
createdAt: z.ZodOptional<z.ZodString>;
|
|
60
38
|
archivedAt: z.ZodOptional<z.ZodString>;
|
|
61
|
-
},
|
|
62
|
-
id: string;
|
|
63
|
-
name: string;
|
|
64
|
-
internalId: string;
|
|
65
|
-
meta?: Record<string, any> | undefined;
|
|
66
|
-
createdAt?: string | undefined;
|
|
67
|
-
archivedAt?: string | undefined;
|
|
68
|
-
credentials?: any;
|
|
69
|
-
fields?: Record<string, any> | undefined;
|
|
70
|
-
isTest?: boolean | undefined;
|
|
71
|
-
lastActiveAt?: string | undefined;
|
|
72
|
-
isBillable?: boolean | undefined;
|
|
73
|
-
}, {
|
|
74
|
-
id: string;
|
|
75
|
-
name: string;
|
|
76
|
-
internalId: string;
|
|
77
|
-
meta?: Record<string, any> | undefined;
|
|
78
|
-
createdAt?: string | undefined;
|
|
79
|
-
archivedAt?: string | undefined;
|
|
80
|
-
credentials?: any;
|
|
81
|
-
fields?: Record<string, any> | undefined;
|
|
82
|
-
isTest?: boolean | undefined;
|
|
83
|
-
lastActiveAt?: string | undefined;
|
|
84
|
-
isBillable?: boolean | undefined;
|
|
85
|
-
}>>;
|
|
39
|
+
}, z.core.$strip>>;
|
|
86
40
|
externalEventSubscription: z.ZodOptional<z.ZodObject<{
|
|
87
41
|
id: z.ZodString;
|
|
88
42
|
name: z.ZodOptional<z.ZodString>;
|
|
@@ -90,7 +44,7 @@ export declare const ExternalEventPullApiResponse: z.ZodObject<{
|
|
|
90
44
|
connectionId: z.ZodString;
|
|
91
45
|
integrationId: z.ZodString;
|
|
92
46
|
config: z.ZodOptional<z.ZodObject<{
|
|
93
|
-
type: z.
|
|
47
|
+
type: z.ZodEnum<typeof import("../base/external-event-subscriptions").ExternalEventSubscriptionType>;
|
|
94
48
|
dataSource: z.ZodOptional<z.ZodObject<{
|
|
95
49
|
key: z.ZodOptional<z.ZodString>;
|
|
96
50
|
collectionKey: z.ZodOptional<z.ZodAny>;
|
|
@@ -99,54 +53,12 @@ export declare const ExternalEventPullApiResponse: z.ZodObject<{
|
|
|
99
53
|
path: z.ZodOptional<z.ZodString>;
|
|
100
54
|
pullUpdatesIntervalSeconds: z.ZodOptional<z.ZodNumber>;
|
|
101
55
|
fullSyncIntervalSeconds: z.ZodOptional<z.ZodNumber>;
|
|
102
|
-
},
|
|
103
|
-
key?: string | undefined;
|
|
104
|
-
path?: string | undefined;
|
|
105
|
-
udm?: any;
|
|
106
|
-
collectionKey?: any;
|
|
107
|
-
collectionParameters?: any;
|
|
108
|
-
pullUpdatesIntervalSeconds?: number | undefined;
|
|
109
|
-
fullSyncIntervalSeconds?: number | undefined;
|
|
110
|
-
}, {
|
|
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
|
-
}>>;
|
|
56
|
+
}, z.core.$strip>>;
|
|
119
57
|
eventKey: z.ZodOptional<z.ZodString>;
|
|
120
58
|
eventParameters: z.ZodOptional<z.ZodAny>;
|
|
121
|
-
},
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
eventParameters?: any;
|
|
125
|
-
dataSource?: {
|
|
126
|
-
key?: string | undefined;
|
|
127
|
-
path?: string | undefined;
|
|
128
|
-
udm?: any;
|
|
129
|
-
collectionKey?: any;
|
|
130
|
-
collectionParameters?: any;
|
|
131
|
-
pullUpdatesIntervalSeconds?: number | undefined;
|
|
132
|
-
fullSyncIntervalSeconds?: number | undefined;
|
|
133
|
-
} | undefined;
|
|
134
|
-
}, {
|
|
135
|
-
type: import("../base/external-event-subscriptions").ExternalEventSubscriptionType;
|
|
136
|
-
eventKey?: string | undefined;
|
|
137
|
-
eventParameters?: any;
|
|
138
|
-
dataSource?: {
|
|
139
|
-
key?: string | undefined;
|
|
140
|
-
path?: string | undefined;
|
|
141
|
-
udm?: any;
|
|
142
|
-
collectionKey?: any;
|
|
143
|
-
collectionParameters?: any;
|
|
144
|
-
pullUpdatesIntervalSeconds?: number | undefined;
|
|
145
|
-
fullSyncIntervalSeconds?: number | undefined;
|
|
146
|
-
} | undefined;
|
|
147
|
-
}>>;
|
|
148
|
-
status: z.ZodOptional<z.ZodNativeEnum<typeof import("../base/external-event-subscriptions").ExternalEventSubscriptionStatus>>;
|
|
149
|
-
error: z.ZodOptional<z.ZodType<import("../..").ErrorDataSchema, z.ZodTypeDef, import("../..").ErrorDataSchema>>;
|
|
59
|
+
}, z.core.$strip>>;
|
|
60
|
+
status: z.ZodOptional<z.ZodEnum<typeof import("../base/external-event-subscriptions").ExternalEventSubscriptionStatus>>;
|
|
61
|
+
error: z.ZodOptional<z.ZodType<import("../..").ErrorDataSchema, unknown, z.core.$ZodTypeInternals<import("../..").ErrorDataSchema, unknown>>>;
|
|
150
62
|
isRealTime: z.ZodOptional<z.ZodBoolean>;
|
|
151
63
|
requiresPull: z.ZodOptional<z.ZodBoolean>;
|
|
152
64
|
requiresFullSync: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -159,75 +71,7 @@ export declare const ExternalEventPullApiResponse: z.ZodObject<{
|
|
|
159
71
|
nextRefreshTimestamp: z.ZodOptional<z.ZodNumber>;
|
|
160
72
|
globalWebhookKey: z.ZodOptional<z.ZodString>;
|
|
161
73
|
globalWebhookEventSelector: z.ZodOptional<z.ZodString>;
|
|
162
|
-
},
|
|
163
|
-
id: string;
|
|
164
|
-
integrationId: string;
|
|
165
|
-
userId: string;
|
|
166
|
-
connectionId: string;
|
|
167
|
-
status?: import("../base/external-event-subscriptions").ExternalEventSubscriptionStatus | undefined;
|
|
168
|
-
error?: import("../..").ErrorDataSchema | undefined;
|
|
169
|
-
name?: string | undefined;
|
|
170
|
-
createdAt?: string | undefined;
|
|
171
|
-
archivedAt?: string | undefined;
|
|
172
|
-
nextRefreshTimestamp?: number | undefined;
|
|
173
|
-
config?: {
|
|
174
|
-
type: import("../base/external-event-subscriptions").ExternalEventSubscriptionType;
|
|
175
|
-
eventKey?: string | undefined;
|
|
176
|
-
eventParameters?: any;
|
|
177
|
-
dataSource?: {
|
|
178
|
-
key?: string | undefined;
|
|
179
|
-
path?: string | undefined;
|
|
180
|
-
udm?: any;
|
|
181
|
-
collectionKey?: any;
|
|
182
|
-
collectionParameters?: any;
|
|
183
|
-
pullUpdatesIntervalSeconds?: number | undefined;
|
|
184
|
-
fullSyncIntervalSeconds?: number | undefined;
|
|
185
|
-
} | undefined;
|
|
186
|
-
} | undefined;
|
|
187
|
-
pullUpdatesIntervalSeconds?: number | undefined;
|
|
188
|
-
fullSyncIntervalSeconds?: number | undefined;
|
|
189
|
-
isRealTime?: boolean | undefined;
|
|
190
|
-
requiresPull?: boolean | undefined;
|
|
191
|
-
requiresFullSync?: boolean | undefined;
|
|
192
|
-
stateData?: any;
|
|
193
|
-
nextPullEventsTimestamp?: number | undefined;
|
|
194
|
-
globalWebhookKey?: string | undefined;
|
|
195
|
-
globalWebhookEventSelector?: string | undefined;
|
|
196
|
-
}, {
|
|
197
|
-
id: string;
|
|
198
|
-
integrationId: string;
|
|
199
|
-
userId: string;
|
|
200
|
-
connectionId: string;
|
|
201
|
-
status?: import("../base/external-event-subscriptions").ExternalEventSubscriptionStatus | undefined;
|
|
202
|
-
error?: import("../..").ErrorDataSchema | undefined;
|
|
203
|
-
name?: string | undefined;
|
|
204
|
-
createdAt?: string | undefined;
|
|
205
|
-
archivedAt?: string | undefined;
|
|
206
|
-
nextRefreshTimestamp?: number | undefined;
|
|
207
|
-
config?: {
|
|
208
|
-
type: import("../base/external-event-subscriptions").ExternalEventSubscriptionType;
|
|
209
|
-
eventKey?: string | undefined;
|
|
210
|
-
eventParameters?: any;
|
|
211
|
-
dataSource?: {
|
|
212
|
-
key?: string | undefined;
|
|
213
|
-
path?: string | undefined;
|
|
214
|
-
udm?: any;
|
|
215
|
-
collectionKey?: any;
|
|
216
|
-
collectionParameters?: any;
|
|
217
|
-
pullUpdatesIntervalSeconds?: number | undefined;
|
|
218
|
-
fullSyncIntervalSeconds?: number | undefined;
|
|
219
|
-
} | undefined;
|
|
220
|
-
} | undefined;
|
|
221
|
-
pullUpdatesIntervalSeconds?: number | undefined;
|
|
222
|
-
fullSyncIntervalSeconds?: number | undefined;
|
|
223
|
-
isRealTime?: boolean | undefined;
|
|
224
|
-
requiresPull?: boolean | undefined;
|
|
225
|
-
requiresFullSync?: boolean | undefined;
|
|
226
|
-
stateData?: any;
|
|
227
|
-
nextPullEventsTimestamp?: number | undefined;
|
|
228
|
-
globalWebhookKey?: string | undefined;
|
|
229
|
-
globalWebhookEventSelector?: string | undefined;
|
|
230
|
-
}>>;
|
|
74
|
+
}, z.core.$strip>>;
|
|
231
75
|
integration: z.ZodOptional<z.ZodObject<{
|
|
232
76
|
id: z.ZodString;
|
|
233
77
|
key: z.ZodOptional<z.ZodString>;
|
|
@@ -235,12 +79,11 @@ export declare const ExternalEventPullApiResponse: z.ZodObject<{
|
|
|
235
79
|
description: z.ZodOptional<z.ZodString>;
|
|
236
80
|
meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
237
81
|
name: z.ZodString;
|
|
238
|
-
state: z.ZodOptional<z.
|
|
239
|
-
errors: z.ZodOptional<z.ZodArray<z.ZodType<import("../..").ErrorDataSchema, z.
|
|
82
|
+
state: z.ZodOptional<z.ZodEnum<typeof import("..").WorkspaceElementState>>;
|
|
83
|
+
errors: z.ZodOptional<z.ZodArray<z.ZodType<import("../..").ErrorDataSchema, unknown, z.core.$ZodTypeInternals<import("../..").ErrorDataSchema, unknown>>>>;
|
|
240
84
|
revision: z.ZodOptional<z.ZodString>;
|
|
241
85
|
createdAt: z.ZodOptional<z.ZodString>;
|
|
242
86
|
updatedAt: z.ZodOptional<z.ZodString>;
|
|
243
|
-
} & {
|
|
244
87
|
logoUri: z.ZodString;
|
|
245
88
|
connectorId: z.ZodOptional<z.ZodString>;
|
|
246
89
|
connectorVersion: z.ZodOptional<z.ZodString>;
|
|
@@ -260,82 +103,24 @@ export declare const ExternalEventPullApiResponse: z.ZodObject<{
|
|
|
260
103
|
isTest: z.ZodOptional<z.ZodBoolean>;
|
|
261
104
|
appUuid: z.ZodOptional<z.ZodString>;
|
|
262
105
|
isDeactivated: z.ZodOptional<z.ZodBoolean>;
|
|
263
|
-
authType: z.ZodOptional<z.ZodEnum<
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
state?: import("..").WorkspaceElementState | undefined;
|
|
273
|
-
errors?: import("../..").ErrorDataSchema[] | undefined;
|
|
274
|
-
revision?: string | undefined;
|
|
275
|
-
createdAt?: string | undefined;
|
|
276
|
-
updatedAt?: string | undefined;
|
|
277
|
-
archivedAt?: string | undefined;
|
|
278
|
-
isDeactivated?: boolean | undefined;
|
|
279
|
-
parameters?: any;
|
|
280
|
-
connectorId?: string | undefined;
|
|
281
|
-
connectorVersion?: string | undefined;
|
|
282
|
-
oAuthCallbackUri?: string | undefined;
|
|
283
|
-
hasMissingParameters?: boolean | undefined;
|
|
284
|
-
hasDocumentation?: boolean | undefined;
|
|
285
|
-
hasOperations?: boolean | undefined;
|
|
286
|
-
operationsCount?: number | undefined;
|
|
287
|
-
hasData?: boolean | undefined;
|
|
288
|
-
dataCollectionsCount?: number | undefined;
|
|
289
|
-
hasEvents?: boolean | undefined;
|
|
290
|
-
eventsCount?: number | undefined;
|
|
291
|
-
hasGlobalWebhooks?: boolean | undefined;
|
|
292
|
-
hasUdm?: boolean | undefined;
|
|
293
|
-
isTest?: boolean | undefined;
|
|
294
|
-
appUuid?: string | undefined;
|
|
295
|
-
authType?: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials" | undefined;
|
|
296
|
-
}, {
|
|
297
|
-
id: string;
|
|
298
|
-
name: string;
|
|
299
|
-
logoUri: string;
|
|
300
|
-
key?: string | undefined;
|
|
301
|
-
uuid?: string | undefined;
|
|
302
|
-
description?: string | undefined;
|
|
303
|
-
meta?: Record<string, any> | undefined;
|
|
304
|
-
state?: import("..").WorkspaceElementState | undefined;
|
|
305
|
-
errors?: import("../..").ErrorDataSchema[] | undefined;
|
|
306
|
-
revision?: string | undefined;
|
|
307
|
-
createdAt?: string | undefined;
|
|
308
|
-
updatedAt?: string | undefined;
|
|
309
|
-
archivedAt?: string | undefined;
|
|
310
|
-
isDeactivated?: boolean | undefined;
|
|
311
|
-
parameters?: any;
|
|
312
|
-
connectorId?: string | undefined;
|
|
313
|
-
connectorVersion?: string | undefined;
|
|
314
|
-
oAuthCallbackUri?: string | undefined;
|
|
315
|
-
hasMissingParameters?: boolean | undefined;
|
|
316
|
-
hasDocumentation?: boolean | undefined;
|
|
317
|
-
hasOperations?: boolean | undefined;
|
|
318
|
-
operationsCount?: number | undefined;
|
|
319
|
-
hasData?: boolean | undefined;
|
|
320
|
-
dataCollectionsCount?: number | undefined;
|
|
321
|
-
hasEvents?: boolean | undefined;
|
|
322
|
-
eventsCount?: number | undefined;
|
|
323
|
-
hasGlobalWebhooks?: boolean | undefined;
|
|
324
|
-
hasUdm?: boolean | undefined;
|
|
325
|
-
isTest?: boolean | undefined;
|
|
326
|
-
appUuid?: string | undefined;
|
|
327
|
-
authType?: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials" | undefined;
|
|
328
|
-
}>>;
|
|
106
|
+
authType: z.ZodOptional<z.ZodEnum<{
|
|
107
|
+
proxy: "proxy";
|
|
108
|
+
"integration-app-token": "integration-app-token";
|
|
109
|
+
"membrane-token": "membrane-token";
|
|
110
|
+
oauth2: "oauth2";
|
|
111
|
+
oauth1: "oauth1";
|
|
112
|
+
"client-credentials": "client-credentials";
|
|
113
|
+
}>>;
|
|
114
|
+
}, z.core.$strip>>;
|
|
329
115
|
connection: z.ZodOptional<z.ZodObject<{
|
|
330
116
|
id: z.ZodString;
|
|
331
|
-
} & {
|
|
332
117
|
name: z.ZodString;
|
|
333
118
|
userId: z.ZodString;
|
|
334
119
|
isTest: z.ZodOptional<z.ZodBoolean>;
|
|
335
120
|
disconnected: z.ZodOptional<z.ZodBoolean>;
|
|
336
121
|
isDefunct: z.ZodOptional<z.ZodBoolean>;
|
|
337
|
-
state: z.ZodOptional<z.
|
|
338
|
-
error: z.ZodOptional<z.ZodType<import("../..").ErrorDataSchema, z.
|
|
122
|
+
state: z.ZodOptional<z.ZodEnum<typeof import("..").WorkspaceElementState>>;
|
|
123
|
+
error: z.ZodOptional<z.ZodType<import("../..").ErrorDataSchema, unknown, z.core.$ZodTypeInternals<import("../..").ErrorDataSchema, unknown>>>;
|
|
339
124
|
integrationId: z.ZodString;
|
|
340
125
|
authOptionKey: z.ZodOptional<z.ZodString>;
|
|
341
126
|
createdAt: z.ZodString;
|
|
@@ -345,269 +130,7 @@ export declare const ExternalEventPullApiResponse: z.ZodObject<{
|
|
|
345
130
|
archivedAt: z.ZodOptional<z.ZodString>;
|
|
346
131
|
isDeactivated: z.ZodOptional<z.ZodBoolean>;
|
|
347
132
|
meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
348
|
-
},
|
|
349
|
-
|
|
350
|
-
name: string;
|
|
351
|
-
createdAt: string;
|
|
352
|
-
updatedAt: string;
|
|
353
|
-
integrationId: string;
|
|
354
|
-
userId: string;
|
|
355
|
-
error?: import("../..").ErrorDataSchema | undefined;
|
|
356
|
-
meta?: Record<string, any> | undefined;
|
|
357
|
-
state?: import("..").WorkspaceElementState | undefined;
|
|
358
|
-
archivedAt?: string | undefined;
|
|
359
|
-
isDeactivated?: boolean | undefined;
|
|
360
|
-
authOptionKey?: string | undefined;
|
|
361
|
-
isTest?: boolean | undefined;
|
|
362
|
-
disconnected?: boolean | undefined;
|
|
363
|
-
isDefunct?: boolean | undefined;
|
|
364
|
-
lastActiveAt?: string | undefined;
|
|
365
|
-
nextCredentialsRefreshAt?: string | undefined;
|
|
366
|
-
}, {
|
|
367
|
-
id: string;
|
|
368
|
-
name: string;
|
|
369
|
-
createdAt: string;
|
|
370
|
-
updatedAt: string;
|
|
371
|
-
integrationId: string;
|
|
372
|
-
userId: string;
|
|
373
|
-
error?: import("../..").ErrorDataSchema | undefined;
|
|
374
|
-
meta?: Record<string, any> | undefined;
|
|
375
|
-
state?: import("..").WorkspaceElementState | undefined;
|
|
376
|
-
archivedAt?: string | undefined;
|
|
377
|
-
isDeactivated?: boolean | undefined;
|
|
378
|
-
authOptionKey?: string | undefined;
|
|
379
|
-
isTest?: boolean | undefined;
|
|
380
|
-
disconnected?: boolean | undefined;
|
|
381
|
-
isDefunct?: boolean | undefined;
|
|
382
|
-
lastActiveAt?: string | undefined;
|
|
383
|
-
nextCredentialsRefreshAt?: string | undefined;
|
|
384
|
-
}>>;
|
|
385
|
-
}, "strip", z.ZodTypeAny, {
|
|
386
|
-
status: ExternalEventPullStatus;
|
|
387
|
-
id: string;
|
|
388
|
-
integrationId: string;
|
|
389
|
-
userId: string;
|
|
390
|
-
connectionId: string;
|
|
391
|
-
startDatetime: string;
|
|
392
|
-
endDatetime: string;
|
|
393
|
-
externalEventSubscriptionId: string;
|
|
394
|
-
collectedEventIds: string[];
|
|
395
|
-
connection?: {
|
|
396
|
-
id: string;
|
|
397
|
-
name: string;
|
|
398
|
-
createdAt: string;
|
|
399
|
-
updatedAt: string;
|
|
400
|
-
integrationId: string;
|
|
401
|
-
userId: string;
|
|
402
|
-
error?: import("../..").ErrorDataSchema | undefined;
|
|
403
|
-
meta?: Record<string, any> | undefined;
|
|
404
|
-
state?: import("..").WorkspaceElementState | undefined;
|
|
405
|
-
archivedAt?: string | undefined;
|
|
406
|
-
isDeactivated?: boolean | undefined;
|
|
407
|
-
authOptionKey?: string | undefined;
|
|
408
|
-
isTest?: boolean | undefined;
|
|
409
|
-
disconnected?: boolean | undefined;
|
|
410
|
-
isDefunct?: boolean | undefined;
|
|
411
|
-
lastActiveAt?: string | undefined;
|
|
412
|
-
nextCredentialsRefreshAt?: string | undefined;
|
|
413
|
-
} | undefined;
|
|
414
|
-
error?: import("../..").ErrorDataSchema | undefined;
|
|
415
|
-
integration?: {
|
|
416
|
-
id: string;
|
|
417
|
-
name: string;
|
|
418
|
-
logoUri: string;
|
|
419
|
-
key?: string | undefined;
|
|
420
|
-
uuid?: string | undefined;
|
|
421
|
-
description?: string | undefined;
|
|
422
|
-
meta?: Record<string, any> | undefined;
|
|
423
|
-
state?: import("..").WorkspaceElementState | undefined;
|
|
424
|
-
errors?: import("../..").ErrorDataSchema[] | undefined;
|
|
425
|
-
revision?: string | undefined;
|
|
426
|
-
createdAt?: string | undefined;
|
|
427
|
-
updatedAt?: string | undefined;
|
|
428
|
-
archivedAt?: string | undefined;
|
|
429
|
-
isDeactivated?: boolean | undefined;
|
|
430
|
-
parameters?: any;
|
|
431
|
-
connectorId?: string | undefined;
|
|
432
|
-
connectorVersion?: string | undefined;
|
|
433
|
-
oAuthCallbackUri?: string | undefined;
|
|
434
|
-
hasMissingParameters?: boolean | undefined;
|
|
435
|
-
hasDocumentation?: boolean | undefined;
|
|
436
|
-
hasOperations?: boolean | undefined;
|
|
437
|
-
operationsCount?: number | undefined;
|
|
438
|
-
hasData?: boolean | undefined;
|
|
439
|
-
dataCollectionsCount?: number | undefined;
|
|
440
|
-
hasEvents?: boolean | undefined;
|
|
441
|
-
eventsCount?: number | undefined;
|
|
442
|
-
hasGlobalWebhooks?: boolean | undefined;
|
|
443
|
-
hasUdm?: boolean | undefined;
|
|
444
|
-
isTest?: boolean | undefined;
|
|
445
|
-
appUuid?: string | undefined;
|
|
446
|
-
authType?: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials" | undefined;
|
|
447
|
-
} | undefined;
|
|
448
|
-
name?: string | undefined;
|
|
449
|
-
isFullScan?: boolean | undefined;
|
|
450
|
-
user?: {
|
|
451
|
-
id: string;
|
|
452
|
-
name: string;
|
|
453
|
-
internalId: string;
|
|
454
|
-
meta?: Record<string, any> | undefined;
|
|
455
|
-
createdAt?: string | undefined;
|
|
456
|
-
archivedAt?: string | undefined;
|
|
457
|
-
credentials?: any;
|
|
458
|
-
fields?: Record<string, any> | undefined;
|
|
459
|
-
isTest?: boolean | undefined;
|
|
460
|
-
lastActiveAt?: string | undefined;
|
|
461
|
-
isBillable?: boolean | undefined;
|
|
462
|
-
} | undefined;
|
|
463
|
-
externalEventSubscription?: {
|
|
464
|
-
id: string;
|
|
465
|
-
integrationId: string;
|
|
466
|
-
userId: string;
|
|
467
|
-
connectionId: string;
|
|
468
|
-
status?: import("../base/external-event-subscriptions").ExternalEventSubscriptionStatus | undefined;
|
|
469
|
-
error?: import("../..").ErrorDataSchema | undefined;
|
|
470
|
-
name?: string | undefined;
|
|
471
|
-
createdAt?: string | undefined;
|
|
472
|
-
archivedAt?: string | undefined;
|
|
473
|
-
nextRefreshTimestamp?: number | undefined;
|
|
474
|
-
config?: {
|
|
475
|
-
type: import("../base/external-event-subscriptions").ExternalEventSubscriptionType;
|
|
476
|
-
eventKey?: string | undefined;
|
|
477
|
-
eventParameters?: any;
|
|
478
|
-
dataSource?: {
|
|
479
|
-
key?: string | undefined;
|
|
480
|
-
path?: string | undefined;
|
|
481
|
-
udm?: any;
|
|
482
|
-
collectionKey?: any;
|
|
483
|
-
collectionParameters?: any;
|
|
484
|
-
pullUpdatesIntervalSeconds?: number | undefined;
|
|
485
|
-
fullSyncIntervalSeconds?: number | undefined;
|
|
486
|
-
} | undefined;
|
|
487
|
-
} | undefined;
|
|
488
|
-
pullUpdatesIntervalSeconds?: number | undefined;
|
|
489
|
-
fullSyncIntervalSeconds?: number | undefined;
|
|
490
|
-
isRealTime?: boolean | undefined;
|
|
491
|
-
requiresPull?: boolean | undefined;
|
|
492
|
-
requiresFullSync?: boolean | undefined;
|
|
493
|
-
stateData?: any;
|
|
494
|
-
nextPullEventsTimestamp?: number | undefined;
|
|
495
|
-
globalWebhookKey?: string | undefined;
|
|
496
|
-
globalWebhookEventSelector?: string | undefined;
|
|
497
|
-
} | undefined;
|
|
498
|
-
}, {
|
|
499
|
-
status: ExternalEventPullStatus;
|
|
500
|
-
id: string;
|
|
501
|
-
integrationId: string;
|
|
502
|
-
userId: string;
|
|
503
|
-
connectionId: string;
|
|
504
|
-
startDatetime: string;
|
|
505
|
-
endDatetime: string;
|
|
506
|
-
externalEventSubscriptionId: string;
|
|
507
|
-
collectedEventIds: string[];
|
|
508
|
-
connection?: {
|
|
509
|
-
id: string;
|
|
510
|
-
name: string;
|
|
511
|
-
createdAt: string;
|
|
512
|
-
updatedAt: string;
|
|
513
|
-
integrationId: string;
|
|
514
|
-
userId: string;
|
|
515
|
-
error?: import("../..").ErrorDataSchema | undefined;
|
|
516
|
-
meta?: Record<string, any> | undefined;
|
|
517
|
-
state?: import("..").WorkspaceElementState | undefined;
|
|
518
|
-
archivedAt?: string | undefined;
|
|
519
|
-
isDeactivated?: boolean | undefined;
|
|
520
|
-
authOptionKey?: string | undefined;
|
|
521
|
-
isTest?: boolean | undefined;
|
|
522
|
-
disconnected?: boolean | undefined;
|
|
523
|
-
isDefunct?: boolean | undefined;
|
|
524
|
-
lastActiveAt?: string | undefined;
|
|
525
|
-
nextCredentialsRefreshAt?: string | undefined;
|
|
526
|
-
} | undefined;
|
|
527
|
-
error?: import("../..").ErrorDataSchema | undefined;
|
|
528
|
-
integration?: {
|
|
529
|
-
id: string;
|
|
530
|
-
name: string;
|
|
531
|
-
logoUri: string;
|
|
532
|
-
key?: string | undefined;
|
|
533
|
-
uuid?: string | undefined;
|
|
534
|
-
description?: string | undefined;
|
|
535
|
-
meta?: Record<string, any> | undefined;
|
|
536
|
-
state?: import("..").WorkspaceElementState | undefined;
|
|
537
|
-
errors?: import("../..").ErrorDataSchema[] | undefined;
|
|
538
|
-
revision?: string | undefined;
|
|
539
|
-
createdAt?: string | undefined;
|
|
540
|
-
updatedAt?: string | undefined;
|
|
541
|
-
archivedAt?: string | undefined;
|
|
542
|
-
isDeactivated?: boolean | undefined;
|
|
543
|
-
parameters?: any;
|
|
544
|
-
connectorId?: string | undefined;
|
|
545
|
-
connectorVersion?: string | undefined;
|
|
546
|
-
oAuthCallbackUri?: string | undefined;
|
|
547
|
-
hasMissingParameters?: boolean | undefined;
|
|
548
|
-
hasDocumentation?: boolean | undefined;
|
|
549
|
-
hasOperations?: boolean | undefined;
|
|
550
|
-
operationsCount?: number | undefined;
|
|
551
|
-
hasData?: boolean | undefined;
|
|
552
|
-
dataCollectionsCount?: number | undefined;
|
|
553
|
-
hasEvents?: boolean | undefined;
|
|
554
|
-
eventsCount?: number | undefined;
|
|
555
|
-
hasGlobalWebhooks?: boolean | undefined;
|
|
556
|
-
hasUdm?: boolean | undefined;
|
|
557
|
-
isTest?: boolean | undefined;
|
|
558
|
-
appUuid?: string | undefined;
|
|
559
|
-
authType?: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials" | undefined;
|
|
560
|
-
} | undefined;
|
|
561
|
-
name?: string | undefined;
|
|
562
|
-
isFullScan?: boolean | undefined;
|
|
563
|
-
user?: {
|
|
564
|
-
id: string;
|
|
565
|
-
name: string;
|
|
566
|
-
internalId: string;
|
|
567
|
-
meta?: Record<string, any> | undefined;
|
|
568
|
-
createdAt?: string | undefined;
|
|
569
|
-
archivedAt?: string | undefined;
|
|
570
|
-
credentials?: any;
|
|
571
|
-
fields?: Record<string, any> | undefined;
|
|
572
|
-
isTest?: boolean | undefined;
|
|
573
|
-
lastActiveAt?: string | undefined;
|
|
574
|
-
isBillable?: boolean | undefined;
|
|
575
|
-
} | undefined;
|
|
576
|
-
externalEventSubscription?: {
|
|
577
|
-
id: string;
|
|
578
|
-
integrationId: string;
|
|
579
|
-
userId: string;
|
|
580
|
-
connectionId: string;
|
|
581
|
-
status?: import("../base/external-event-subscriptions").ExternalEventSubscriptionStatus | undefined;
|
|
582
|
-
error?: import("../..").ErrorDataSchema | undefined;
|
|
583
|
-
name?: string | undefined;
|
|
584
|
-
createdAt?: string | undefined;
|
|
585
|
-
archivedAt?: string | undefined;
|
|
586
|
-
nextRefreshTimestamp?: number | undefined;
|
|
587
|
-
config?: {
|
|
588
|
-
type: import("../base/external-event-subscriptions").ExternalEventSubscriptionType;
|
|
589
|
-
eventKey?: string | undefined;
|
|
590
|
-
eventParameters?: any;
|
|
591
|
-
dataSource?: {
|
|
592
|
-
key?: string | undefined;
|
|
593
|
-
path?: string | undefined;
|
|
594
|
-
udm?: any;
|
|
595
|
-
collectionKey?: any;
|
|
596
|
-
collectionParameters?: any;
|
|
597
|
-
pullUpdatesIntervalSeconds?: number | undefined;
|
|
598
|
-
fullSyncIntervalSeconds?: number | undefined;
|
|
599
|
-
} | undefined;
|
|
600
|
-
} | undefined;
|
|
601
|
-
pullUpdatesIntervalSeconds?: number | undefined;
|
|
602
|
-
fullSyncIntervalSeconds?: number | undefined;
|
|
603
|
-
isRealTime?: boolean | undefined;
|
|
604
|
-
requiresPull?: boolean | undefined;
|
|
605
|
-
requiresFullSync?: boolean | undefined;
|
|
606
|
-
stateData?: any;
|
|
607
|
-
nextPullEventsTimestamp?: number | undefined;
|
|
608
|
-
globalWebhookKey?: string | undefined;
|
|
609
|
-
globalWebhookEventSelector?: string | undefined;
|
|
610
|
-
} | undefined;
|
|
611
|
-
}>;
|
|
133
|
+
}, z.core.$strip>>;
|
|
134
|
+
}, z.core.$strip>;
|
|
612
135
|
export type ExternalEventPullApiResponse = z.infer<typeof ExternalEventPullApiResponse>;
|
|
613
136
|
export type ExternalEventPull = ExternalEventPullApiResponse;
|