@membranehq/sdk 0.4.0 → 0.5.0
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 +8370 -1268
- package/dist/bundle.js +2216 -2085
- package/dist/bundle.js.map +1 -1
- package/dist/dts/accessors/connections-accessors.d.ts +57 -1
- package/dist/dts/accessors/integrations-accessors.d.ts +57 -1
- package/dist/dts/api-client.d.ts +1 -0
- package/dist/dts/client.d.ts +1 -0
- package/dist/dts/data-schema/types.d.ts +4 -3
- package/dist/dts/entity-repository.d.ts +87 -20
- package/dist/dts/formulas/dataSchemaRef.d.ts +2 -2
- package/dist/dts/http-requests.d.ts +20 -6
- package/dist/dts/iframe.d.ts +12 -4
- package/dist/dts/index.d.ts +2 -1
- package/dist/dts/sse/index.d.ts +1 -0
- package/dist/dts/sse/workspace-elements.d.ts +9 -0
- package/dist/dts/workspace-elements/api/actions-api.d.ts +702 -40
- package/dist/dts/workspace-elements/api/connections-api.d.ts +702 -41
- package/dist/dts/workspace-elements/api/customers-api.d.ts +56 -13
- package/dist/dts/workspace-elements/api/data-sources-api.d.ts +834 -77
- package/dist/dts/workspace-elements/api/external-events-api.d.ts +440 -6
- package/dist/dts/workspace-elements/api/field-mappings-api.d.ts +586 -6
- package/dist/dts/workspace-elements/api/flow-runs-api.d.ts +1 -1
- package/dist/dts/workspace-elements/api/flows-api.d.ts +2417 -50
- package/dist/dts/workspace-elements/api/integrations-api.d.ts +253 -24
- package/dist/dts/workspace-elements/api/scenarios-api.d.ts +397 -34
- package/dist/dts/workspace-elements/api/screens-api.d.ts +2 -2
- package/dist/dts/workspace-elements/base/action-instances/types.d.ts +61 -14
- package/dist/dts/workspace-elements/base/action-run-log-records/types.d.ts +30 -7
- package/dist/dts/workspace-elements/base/actions/types.d.ts +60 -17
- package/dist/dts/workspace-elements/base/app-data-schema-instances/types.d.ts +42 -7
- package/dist/dts/workspace-elements/base/app-data-schemas/types.d.ts +35 -7
- package/dist/dts/workspace-elements/base/app-event-subscriptions/types.d.ts +78 -9
- package/dist/dts/workspace-elements/base/app-event-types/types.d.ts +70 -7
- package/dist/dts/workspace-elements/base/connections/types.d.ts +76 -20
- package/dist/dts/workspace-elements/base/connectors/types.d.ts +14 -2
- package/dist/dts/workspace-elements/base/customers/index.d.ts +26 -6
- package/dist/dts/workspace-elements/base/data-collections/schemas.d.ts +75 -74
- package/dist/dts/workspace-elements/base/data-link-table-instances/types.d.ts +61 -11
- package/dist/dts/workspace-elements/base/data-link-tables/types.d.ts +26 -4
- package/dist/dts/workspace-elements/base/data-source-instances/types.d.ts +1030 -19
- package/dist/dts/workspace-elements/base/data-sources/types.d.ts +89 -22
- package/dist/dts/workspace-elements/base/external-event-log-records/types.d.ts +31 -8
- package/dist/dts/workspace-elements/base/external-event-pulls/types.d.ts +35 -8
- package/dist/dts/workspace-elements/base/external-event-subscriptions/types.d.ts +199 -23
- package/dist/dts/workspace-elements/base/external-events/types.d.ts +145 -5
- package/dist/dts/workspace-elements/base/field-mapping-instances/types.d.ts +74 -16
- package/dist/dts/workspace-elements/base/field-mappings/types.d.ts +91 -14
- package/dist/dts/workspace-elements/base/flow-instances/schemas.d.ts +39 -39
- package/dist/dts/workspace-elements/base/flow-instances/types.d.ts +155 -24
- package/dist/dts/workspace-elements/base/flow-runs/flow-node-runs.d.ts +20 -20
- package/dist/dts/workspace-elements/base/flow-runs/types.d.ts +114 -19
- package/dist/dts/workspace-elements/base/flows/types.d.ts +220 -26
- package/dist/dts/workspace-elements/base/integrations/types.d.ts +497 -24
- package/dist/dts/workspace-elements/base/scenarios/types.d.ts +723 -23
- package/dist/dts/workspace-elements/base/screens/types.d.ts +40 -6
- package/dist/index.d.ts +12141 -2138
- package/dist/index.js +1555 -522
- package/dist/index.js.map +1 -1
- package/dist/index.module.d.mts +12141 -2138
- package/dist/index.module.mjs +1414 -490
- package/dist/index.module.mjs.map +1 -1
- package/package.json +1 -1
|
@@ -1,32 +1,505 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { z } from 'zod';
|
|
2
2
|
import { DataSchema } from '../../../data-schema';
|
|
3
|
-
import { ConnectorAuthSpec
|
|
4
|
-
export
|
|
3
|
+
import { ConnectorAuthSpec } from '../connectors';
|
|
4
|
+
export declare const BaseIntegration: z.ZodObject<{
|
|
5
|
+
id: z.ZodString;
|
|
6
|
+
name: z.ZodString;
|
|
7
|
+
} & {
|
|
8
|
+
key: z.ZodString;
|
|
9
|
+
state: z.ZodOptional<z.ZodNativeEnum<typeof import("../../types").WorkspaceElementState>>;
|
|
10
|
+
errors: z.ZodOptional<z.ZodArray<any, "many">>;
|
|
11
|
+
} & {
|
|
12
|
+
logoUri: z.ZodString;
|
|
13
|
+
connectorId: z.ZodOptional<z.ZodString>;
|
|
14
|
+
connectorVersion: z.ZodOptional<z.ZodString>;
|
|
15
|
+
authOptions: z.ZodOptional<z.ZodArray<z.ZodAny, "many">>;
|
|
16
|
+
oAuthCallbackUri: z.ZodOptional<z.ZodString>;
|
|
17
|
+
parametersSchema: z.ZodOptional<z.ZodType<DataSchema, z.ZodTypeDef, DataSchema>>;
|
|
18
|
+
parameters: z.ZodOptional<z.ZodAny>;
|
|
19
|
+
baseUri: z.ZodString;
|
|
20
|
+
archivedAt: z.ZodOptional<z.ZodString>;
|
|
21
|
+
hasMissingParameters: z.ZodOptional<z.ZodBoolean>;
|
|
22
|
+
hasDocumentation: z.ZodOptional<z.ZodBoolean>;
|
|
23
|
+
hasOperations: z.ZodOptional<z.ZodBoolean>;
|
|
24
|
+
hasData: z.ZodOptional<z.ZodBoolean>;
|
|
25
|
+
hasEvents: z.ZodOptional<z.ZodBoolean>;
|
|
26
|
+
hasGlobalWebhooks: z.ZodOptional<z.ZodBoolean>;
|
|
27
|
+
hasUdm: z.ZodOptional<z.ZodBoolean>;
|
|
28
|
+
isTest: z.ZodOptional<z.ZodBoolean>;
|
|
29
|
+
appUuid: z.ZodOptional<z.ZodString>;
|
|
30
|
+
isDeactivated: z.ZodOptional<z.ZodBoolean>;
|
|
31
|
+
authType: z.ZodOptional<z.ZodEnum<["integration-app-token", "membrane-token", "oauth2", "oauth1", "client-credentials", "proxy"]>>;
|
|
32
|
+
}, "strip", z.ZodTypeAny, {
|
|
33
|
+
key: string;
|
|
34
|
+
id: string;
|
|
35
|
+
name: string;
|
|
36
|
+
baseUri: string;
|
|
5
37
|
logoUri: string;
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
authOptions?: IntegrationAuthOption[];
|
|
9
|
-
oAuthCallbackUri?: string;
|
|
10
|
-
parametersSchema?: DataSchema;
|
|
38
|
+
state?: import("../../types").WorkspaceElementState | undefined;
|
|
39
|
+
errors?: any[] | undefined;
|
|
11
40
|
parameters?: any;
|
|
41
|
+
parametersSchema?: DataSchema | undefined;
|
|
42
|
+
archivedAt?: string | undefined;
|
|
43
|
+
isTest?: boolean | undefined;
|
|
44
|
+
connectorId?: string | undefined;
|
|
45
|
+
connectorVersion?: string | undefined;
|
|
46
|
+
authOptions?: any[] | undefined;
|
|
47
|
+
oAuthCallbackUri?: string | undefined;
|
|
48
|
+
hasMissingParameters?: boolean | undefined;
|
|
49
|
+
hasDocumentation?: boolean | undefined;
|
|
50
|
+
hasOperations?: boolean | undefined;
|
|
51
|
+
hasData?: boolean | undefined;
|
|
52
|
+
hasEvents?: boolean | undefined;
|
|
53
|
+
hasGlobalWebhooks?: boolean | undefined;
|
|
54
|
+
hasUdm?: boolean | undefined;
|
|
55
|
+
appUuid?: string | undefined;
|
|
56
|
+
isDeactivated?: boolean | undefined;
|
|
57
|
+
authType?: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials" | undefined;
|
|
58
|
+
}, {
|
|
59
|
+
key: string;
|
|
60
|
+
id: string;
|
|
61
|
+
name: string;
|
|
12
62
|
baseUri: string;
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
63
|
+
logoUri: string;
|
|
64
|
+
state?: import("../../types").WorkspaceElementState | undefined;
|
|
65
|
+
errors?: any[] | undefined;
|
|
66
|
+
parameters?: any;
|
|
67
|
+
parametersSchema?: DataSchema | undefined;
|
|
68
|
+
archivedAt?: string | undefined;
|
|
69
|
+
isTest?: boolean | undefined;
|
|
70
|
+
connectorId?: string | undefined;
|
|
71
|
+
connectorVersion?: string | undefined;
|
|
72
|
+
authOptions?: any[] | undefined;
|
|
73
|
+
oAuthCallbackUri?: string | undefined;
|
|
74
|
+
hasMissingParameters?: boolean | undefined;
|
|
75
|
+
hasDocumentation?: boolean | undefined;
|
|
76
|
+
hasOperations?: boolean | undefined;
|
|
77
|
+
hasData?: boolean | undefined;
|
|
78
|
+
hasEvents?: boolean | undefined;
|
|
79
|
+
hasGlobalWebhooks?: boolean | undefined;
|
|
80
|
+
hasUdm?: boolean | undefined;
|
|
81
|
+
appUuid?: string | undefined;
|
|
82
|
+
isDeactivated?: boolean | undefined;
|
|
83
|
+
authType?: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials" | undefined;
|
|
84
|
+
}>;
|
|
85
|
+
export type BaseIntegration = z.infer<typeof BaseIntegration>;
|
|
26
86
|
export type IntegrationAuthOption = ConnectorAuthSpec & {
|
|
27
87
|
key: string;
|
|
28
88
|
};
|
|
29
|
-
export
|
|
89
|
+
export declare const AppliedToIntegrations: <Element extends z.ZodType>(elementSchema: Element) => z.ZodArray<z.ZodObject<{
|
|
90
|
+
element: Element;
|
|
91
|
+
integration: z.ZodObject<{
|
|
92
|
+
id: z.ZodString;
|
|
93
|
+
name: z.ZodString;
|
|
94
|
+
} & {
|
|
95
|
+
key: z.ZodString;
|
|
96
|
+
state: z.ZodOptional<z.ZodNativeEnum<typeof import("../../types").WorkspaceElementState>>;
|
|
97
|
+
errors: z.ZodOptional<z.ZodArray<any, "many">>;
|
|
98
|
+
} & {
|
|
99
|
+
logoUri: z.ZodString;
|
|
100
|
+
connectorId: z.ZodOptional<z.ZodString>;
|
|
101
|
+
connectorVersion: z.ZodOptional<z.ZodString>;
|
|
102
|
+
authOptions: z.ZodOptional<z.ZodArray<z.ZodAny, "many">>;
|
|
103
|
+
oAuthCallbackUri: z.ZodOptional<z.ZodString>;
|
|
104
|
+
parametersSchema: z.ZodOptional<z.ZodType<DataSchema, z.ZodTypeDef, DataSchema>>;
|
|
105
|
+
parameters: z.ZodOptional<z.ZodAny>;
|
|
106
|
+
baseUri: z.ZodString;
|
|
107
|
+
archivedAt: z.ZodOptional<z.ZodString>;
|
|
108
|
+
hasMissingParameters: z.ZodOptional<z.ZodBoolean>;
|
|
109
|
+
hasDocumentation: z.ZodOptional<z.ZodBoolean>;
|
|
110
|
+
hasOperations: z.ZodOptional<z.ZodBoolean>;
|
|
111
|
+
hasData: z.ZodOptional<z.ZodBoolean>;
|
|
112
|
+
hasEvents: z.ZodOptional<z.ZodBoolean>;
|
|
113
|
+
hasGlobalWebhooks: z.ZodOptional<z.ZodBoolean>;
|
|
114
|
+
hasUdm: z.ZodOptional<z.ZodBoolean>;
|
|
115
|
+
isTest: z.ZodOptional<z.ZodBoolean>;
|
|
116
|
+
appUuid: z.ZodOptional<z.ZodString>;
|
|
117
|
+
isDeactivated: z.ZodOptional<z.ZodBoolean>;
|
|
118
|
+
authType: z.ZodOptional<z.ZodEnum<["integration-app-token", "membrane-token", "oauth2", "oauth1", "client-credentials", "proxy"]>>;
|
|
119
|
+
}, "strip", z.ZodTypeAny, {
|
|
120
|
+
key: string;
|
|
121
|
+
id: string;
|
|
122
|
+
name: string;
|
|
123
|
+
baseUri: string;
|
|
124
|
+
logoUri: string;
|
|
125
|
+
state?: import("../../types").WorkspaceElementState | undefined;
|
|
126
|
+
errors?: any[] | undefined;
|
|
127
|
+
parameters?: any;
|
|
128
|
+
parametersSchema?: DataSchema | undefined;
|
|
129
|
+
archivedAt?: string | undefined;
|
|
130
|
+
isTest?: boolean | undefined;
|
|
131
|
+
connectorId?: string | undefined;
|
|
132
|
+
connectorVersion?: string | undefined;
|
|
133
|
+
authOptions?: any[] | undefined;
|
|
134
|
+
oAuthCallbackUri?: string | undefined;
|
|
135
|
+
hasMissingParameters?: boolean | undefined;
|
|
136
|
+
hasDocumentation?: boolean | undefined;
|
|
137
|
+
hasOperations?: boolean | undefined;
|
|
138
|
+
hasData?: boolean | undefined;
|
|
139
|
+
hasEvents?: boolean | undefined;
|
|
140
|
+
hasGlobalWebhooks?: boolean | undefined;
|
|
141
|
+
hasUdm?: boolean | undefined;
|
|
142
|
+
appUuid?: string | undefined;
|
|
143
|
+
isDeactivated?: boolean | undefined;
|
|
144
|
+
authType?: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials" | undefined;
|
|
145
|
+
}, {
|
|
146
|
+
key: string;
|
|
147
|
+
id: string;
|
|
148
|
+
name: string;
|
|
149
|
+
baseUri: string;
|
|
150
|
+
logoUri: string;
|
|
151
|
+
state?: import("../../types").WorkspaceElementState | undefined;
|
|
152
|
+
errors?: any[] | undefined;
|
|
153
|
+
parameters?: any;
|
|
154
|
+
parametersSchema?: DataSchema | undefined;
|
|
155
|
+
archivedAt?: string | undefined;
|
|
156
|
+
isTest?: boolean | undefined;
|
|
157
|
+
connectorId?: string | undefined;
|
|
158
|
+
connectorVersion?: string | undefined;
|
|
159
|
+
authOptions?: any[] | undefined;
|
|
160
|
+
oAuthCallbackUri?: string | undefined;
|
|
161
|
+
hasMissingParameters?: boolean | undefined;
|
|
162
|
+
hasDocumentation?: boolean | undefined;
|
|
163
|
+
hasOperations?: boolean | undefined;
|
|
164
|
+
hasData?: boolean | undefined;
|
|
165
|
+
hasEvents?: boolean | undefined;
|
|
166
|
+
hasGlobalWebhooks?: boolean | undefined;
|
|
167
|
+
hasUdm?: boolean | undefined;
|
|
168
|
+
appUuid?: string | undefined;
|
|
169
|
+
isDeactivated?: boolean | undefined;
|
|
170
|
+
authType?: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials" | undefined;
|
|
171
|
+
}>;
|
|
172
|
+
}, "strip", z.ZodTypeAny, z.objectUtil.addQuestionMarks<z.baseObjectOutputType<{
|
|
173
|
+
element: Element;
|
|
174
|
+
integration: z.ZodObject<{
|
|
175
|
+
id: z.ZodString;
|
|
176
|
+
name: z.ZodString;
|
|
177
|
+
} & {
|
|
178
|
+
key: z.ZodString;
|
|
179
|
+
state: z.ZodOptional<z.ZodNativeEnum<typeof import("../../types").WorkspaceElementState>>;
|
|
180
|
+
errors: z.ZodOptional<z.ZodArray<any, "many">>;
|
|
181
|
+
} & {
|
|
182
|
+
logoUri: z.ZodString;
|
|
183
|
+
connectorId: z.ZodOptional<z.ZodString>;
|
|
184
|
+
connectorVersion: z.ZodOptional<z.ZodString>;
|
|
185
|
+
authOptions: z.ZodOptional<z.ZodArray<z.ZodAny, "many">>;
|
|
186
|
+
oAuthCallbackUri: z.ZodOptional<z.ZodString>;
|
|
187
|
+
parametersSchema: z.ZodOptional<z.ZodType<DataSchema, z.ZodTypeDef, DataSchema>>;
|
|
188
|
+
parameters: z.ZodOptional<z.ZodAny>;
|
|
189
|
+
baseUri: z.ZodString;
|
|
190
|
+
archivedAt: z.ZodOptional<z.ZodString>;
|
|
191
|
+
hasMissingParameters: z.ZodOptional<z.ZodBoolean>;
|
|
192
|
+
hasDocumentation: z.ZodOptional<z.ZodBoolean>;
|
|
193
|
+
hasOperations: z.ZodOptional<z.ZodBoolean>;
|
|
194
|
+
hasData: z.ZodOptional<z.ZodBoolean>;
|
|
195
|
+
hasEvents: z.ZodOptional<z.ZodBoolean>;
|
|
196
|
+
hasGlobalWebhooks: z.ZodOptional<z.ZodBoolean>;
|
|
197
|
+
hasUdm: z.ZodOptional<z.ZodBoolean>;
|
|
198
|
+
isTest: z.ZodOptional<z.ZodBoolean>;
|
|
199
|
+
appUuid: z.ZodOptional<z.ZodString>;
|
|
200
|
+
isDeactivated: z.ZodOptional<z.ZodBoolean>;
|
|
201
|
+
authType: z.ZodOptional<z.ZodEnum<["integration-app-token", "membrane-token", "oauth2", "oauth1", "client-credentials", "proxy"]>>;
|
|
202
|
+
}, "strip", z.ZodTypeAny, {
|
|
203
|
+
key: string;
|
|
204
|
+
id: string;
|
|
205
|
+
name: string;
|
|
206
|
+
baseUri: string;
|
|
207
|
+
logoUri: string;
|
|
208
|
+
state?: import("../../types").WorkspaceElementState | undefined;
|
|
209
|
+
errors?: any[] | undefined;
|
|
210
|
+
parameters?: any;
|
|
211
|
+
parametersSchema?: DataSchema | undefined;
|
|
212
|
+
archivedAt?: string | undefined;
|
|
213
|
+
isTest?: boolean | undefined;
|
|
214
|
+
connectorId?: string | undefined;
|
|
215
|
+
connectorVersion?: string | undefined;
|
|
216
|
+
authOptions?: any[] | undefined;
|
|
217
|
+
oAuthCallbackUri?: string | undefined;
|
|
218
|
+
hasMissingParameters?: boolean | undefined;
|
|
219
|
+
hasDocumentation?: boolean | undefined;
|
|
220
|
+
hasOperations?: boolean | undefined;
|
|
221
|
+
hasData?: boolean | undefined;
|
|
222
|
+
hasEvents?: boolean | undefined;
|
|
223
|
+
hasGlobalWebhooks?: boolean | undefined;
|
|
224
|
+
hasUdm?: boolean | undefined;
|
|
225
|
+
appUuid?: string | undefined;
|
|
226
|
+
isDeactivated?: boolean | undefined;
|
|
227
|
+
authType?: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials" | undefined;
|
|
228
|
+
}, {
|
|
229
|
+
key: string;
|
|
230
|
+
id: string;
|
|
231
|
+
name: string;
|
|
232
|
+
baseUri: string;
|
|
233
|
+
logoUri: string;
|
|
234
|
+
state?: import("../../types").WorkspaceElementState | undefined;
|
|
235
|
+
errors?: any[] | undefined;
|
|
236
|
+
parameters?: any;
|
|
237
|
+
parametersSchema?: DataSchema | undefined;
|
|
238
|
+
archivedAt?: string | undefined;
|
|
239
|
+
isTest?: boolean | undefined;
|
|
240
|
+
connectorId?: string | undefined;
|
|
241
|
+
connectorVersion?: string | undefined;
|
|
242
|
+
authOptions?: any[] | undefined;
|
|
243
|
+
oAuthCallbackUri?: string | undefined;
|
|
244
|
+
hasMissingParameters?: boolean | undefined;
|
|
245
|
+
hasDocumentation?: boolean | undefined;
|
|
246
|
+
hasOperations?: boolean | undefined;
|
|
247
|
+
hasData?: boolean | undefined;
|
|
248
|
+
hasEvents?: boolean | undefined;
|
|
249
|
+
hasGlobalWebhooks?: boolean | undefined;
|
|
250
|
+
hasUdm?: boolean | undefined;
|
|
251
|
+
appUuid?: string | undefined;
|
|
252
|
+
isDeactivated?: boolean | undefined;
|
|
253
|
+
authType?: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials" | undefined;
|
|
254
|
+
}>;
|
|
255
|
+
}>, any> extends infer T ? { [k in keyof T]: z.objectUtil.addQuestionMarks<z.baseObjectOutputType<{
|
|
256
|
+
element: Element;
|
|
257
|
+
integration: z.ZodObject<{
|
|
258
|
+
id: z.ZodString;
|
|
259
|
+
name: z.ZodString;
|
|
260
|
+
} & {
|
|
261
|
+
key: z.ZodString;
|
|
262
|
+
state: z.ZodOptional<z.ZodNativeEnum<typeof import("../../types").WorkspaceElementState>>;
|
|
263
|
+
errors: z.ZodOptional<z.ZodArray<any, "many">>;
|
|
264
|
+
} & {
|
|
265
|
+
logoUri: z.ZodString;
|
|
266
|
+
connectorId: z.ZodOptional<z.ZodString>;
|
|
267
|
+
connectorVersion: z.ZodOptional<z.ZodString>;
|
|
268
|
+
authOptions: z.ZodOptional<z.ZodArray<z.ZodAny, "many">>;
|
|
269
|
+
oAuthCallbackUri: z.ZodOptional<z.ZodString>;
|
|
270
|
+
parametersSchema: z.ZodOptional<z.ZodType<DataSchema, z.ZodTypeDef, DataSchema>>;
|
|
271
|
+
parameters: z.ZodOptional<z.ZodAny>;
|
|
272
|
+
baseUri: z.ZodString;
|
|
273
|
+
archivedAt: z.ZodOptional<z.ZodString>;
|
|
274
|
+
hasMissingParameters: z.ZodOptional<z.ZodBoolean>;
|
|
275
|
+
hasDocumentation: z.ZodOptional<z.ZodBoolean>;
|
|
276
|
+
hasOperations: z.ZodOptional<z.ZodBoolean>;
|
|
277
|
+
hasData: z.ZodOptional<z.ZodBoolean>;
|
|
278
|
+
hasEvents: z.ZodOptional<z.ZodBoolean>;
|
|
279
|
+
hasGlobalWebhooks: z.ZodOptional<z.ZodBoolean>;
|
|
280
|
+
hasUdm: z.ZodOptional<z.ZodBoolean>;
|
|
281
|
+
isTest: z.ZodOptional<z.ZodBoolean>;
|
|
282
|
+
appUuid: z.ZodOptional<z.ZodString>;
|
|
283
|
+
isDeactivated: z.ZodOptional<z.ZodBoolean>;
|
|
284
|
+
authType: z.ZodOptional<z.ZodEnum<["integration-app-token", "membrane-token", "oauth2", "oauth1", "client-credentials", "proxy"]>>;
|
|
285
|
+
}, "strip", z.ZodTypeAny, {
|
|
286
|
+
key: string;
|
|
287
|
+
id: string;
|
|
288
|
+
name: string;
|
|
289
|
+
baseUri: string;
|
|
290
|
+
logoUri: string;
|
|
291
|
+
state?: import("../../types").WorkspaceElementState | undefined;
|
|
292
|
+
errors?: any[] | undefined;
|
|
293
|
+
parameters?: any;
|
|
294
|
+
parametersSchema?: DataSchema | undefined;
|
|
295
|
+
archivedAt?: string | undefined;
|
|
296
|
+
isTest?: boolean | undefined;
|
|
297
|
+
connectorId?: string | undefined;
|
|
298
|
+
connectorVersion?: string | undefined;
|
|
299
|
+
authOptions?: any[] | undefined;
|
|
300
|
+
oAuthCallbackUri?: string | undefined;
|
|
301
|
+
hasMissingParameters?: boolean | undefined;
|
|
302
|
+
hasDocumentation?: boolean | undefined;
|
|
303
|
+
hasOperations?: boolean | undefined;
|
|
304
|
+
hasData?: boolean | undefined;
|
|
305
|
+
hasEvents?: boolean | undefined;
|
|
306
|
+
hasGlobalWebhooks?: boolean | undefined;
|
|
307
|
+
hasUdm?: boolean | undefined;
|
|
308
|
+
appUuid?: string | undefined;
|
|
309
|
+
isDeactivated?: boolean | undefined;
|
|
310
|
+
authType?: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials" | undefined;
|
|
311
|
+
}, {
|
|
312
|
+
key: string;
|
|
313
|
+
id: string;
|
|
314
|
+
name: string;
|
|
315
|
+
baseUri: string;
|
|
316
|
+
logoUri: string;
|
|
317
|
+
state?: import("../../types").WorkspaceElementState | undefined;
|
|
318
|
+
errors?: any[] | undefined;
|
|
319
|
+
parameters?: any;
|
|
320
|
+
parametersSchema?: DataSchema | undefined;
|
|
321
|
+
archivedAt?: string | undefined;
|
|
322
|
+
isTest?: boolean | undefined;
|
|
323
|
+
connectorId?: string | undefined;
|
|
324
|
+
connectorVersion?: string | undefined;
|
|
325
|
+
authOptions?: any[] | undefined;
|
|
326
|
+
oAuthCallbackUri?: string | undefined;
|
|
327
|
+
hasMissingParameters?: boolean | undefined;
|
|
328
|
+
hasDocumentation?: boolean | undefined;
|
|
329
|
+
hasOperations?: boolean | undefined;
|
|
330
|
+
hasData?: boolean | undefined;
|
|
331
|
+
hasEvents?: boolean | undefined;
|
|
332
|
+
hasGlobalWebhooks?: boolean | undefined;
|
|
333
|
+
hasUdm?: boolean | undefined;
|
|
334
|
+
appUuid?: string | undefined;
|
|
335
|
+
isDeactivated?: boolean | undefined;
|
|
336
|
+
authType?: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials" | undefined;
|
|
337
|
+
}>;
|
|
338
|
+
}>, any>[k]; } : never, z.baseObjectInputType<{
|
|
339
|
+
element: Element;
|
|
340
|
+
integration: z.ZodObject<{
|
|
341
|
+
id: z.ZodString;
|
|
342
|
+
name: z.ZodString;
|
|
343
|
+
} & {
|
|
344
|
+
key: z.ZodString;
|
|
345
|
+
state: z.ZodOptional<z.ZodNativeEnum<typeof import("../../types").WorkspaceElementState>>;
|
|
346
|
+
errors: z.ZodOptional<z.ZodArray<any, "many">>;
|
|
347
|
+
} & {
|
|
348
|
+
logoUri: z.ZodString;
|
|
349
|
+
connectorId: z.ZodOptional<z.ZodString>;
|
|
350
|
+
connectorVersion: z.ZodOptional<z.ZodString>;
|
|
351
|
+
authOptions: z.ZodOptional<z.ZodArray<z.ZodAny, "many">>;
|
|
352
|
+
oAuthCallbackUri: z.ZodOptional<z.ZodString>;
|
|
353
|
+
parametersSchema: z.ZodOptional<z.ZodType<DataSchema, z.ZodTypeDef, DataSchema>>;
|
|
354
|
+
parameters: z.ZodOptional<z.ZodAny>;
|
|
355
|
+
baseUri: z.ZodString;
|
|
356
|
+
archivedAt: z.ZodOptional<z.ZodString>;
|
|
357
|
+
hasMissingParameters: z.ZodOptional<z.ZodBoolean>;
|
|
358
|
+
hasDocumentation: z.ZodOptional<z.ZodBoolean>;
|
|
359
|
+
hasOperations: z.ZodOptional<z.ZodBoolean>;
|
|
360
|
+
hasData: z.ZodOptional<z.ZodBoolean>;
|
|
361
|
+
hasEvents: z.ZodOptional<z.ZodBoolean>;
|
|
362
|
+
hasGlobalWebhooks: z.ZodOptional<z.ZodBoolean>;
|
|
363
|
+
hasUdm: z.ZodOptional<z.ZodBoolean>;
|
|
364
|
+
isTest: z.ZodOptional<z.ZodBoolean>;
|
|
365
|
+
appUuid: z.ZodOptional<z.ZodString>;
|
|
366
|
+
isDeactivated: z.ZodOptional<z.ZodBoolean>;
|
|
367
|
+
authType: z.ZodOptional<z.ZodEnum<["integration-app-token", "membrane-token", "oauth2", "oauth1", "client-credentials", "proxy"]>>;
|
|
368
|
+
}, "strip", z.ZodTypeAny, {
|
|
369
|
+
key: string;
|
|
370
|
+
id: string;
|
|
371
|
+
name: string;
|
|
372
|
+
baseUri: string;
|
|
373
|
+
logoUri: string;
|
|
374
|
+
state?: import("../../types").WorkspaceElementState | undefined;
|
|
375
|
+
errors?: any[] | undefined;
|
|
376
|
+
parameters?: any;
|
|
377
|
+
parametersSchema?: DataSchema | undefined;
|
|
378
|
+
archivedAt?: string | undefined;
|
|
379
|
+
isTest?: boolean | undefined;
|
|
380
|
+
connectorId?: string | undefined;
|
|
381
|
+
connectorVersion?: string | undefined;
|
|
382
|
+
authOptions?: any[] | undefined;
|
|
383
|
+
oAuthCallbackUri?: string | undefined;
|
|
384
|
+
hasMissingParameters?: boolean | undefined;
|
|
385
|
+
hasDocumentation?: boolean | undefined;
|
|
386
|
+
hasOperations?: boolean | undefined;
|
|
387
|
+
hasData?: boolean | undefined;
|
|
388
|
+
hasEvents?: boolean | undefined;
|
|
389
|
+
hasGlobalWebhooks?: boolean | undefined;
|
|
390
|
+
hasUdm?: boolean | undefined;
|
|
391
|
+
appUuid?: string | undefined;
|
|
392
|
+
isDeactivated?: boolean | undefined;
|
|
393
|
+
authType?: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials" | undefined;
|
|
394
|
+
}, {
|
|
395
|
+
key: string;
|
|
396
|
+
id: string;
|
|
397
|
+
name: string;
|
|
398
|
+
baseUri: string;
|
|
399
|
+
logoUri: string;
|
|
400
|
+
state?: import("../../types").WorkspaceElementState | undefined;
|
|
401
|
+
errors?: any[] | undefined;
|
|
402
|
+
parameters?: any;
|
|
403
|
+
parametersSchema?: DataSchema | undefined;
|
|
404
|
+
archivedAt?: string | undefined;
|
|
405
|
+
isTest?: boolean | undefined;
|
|
406
|
+
connectorId?: string | undefined;
|
|
407
|
+
connectorVersion?: string | undefined;
|
|
408
|
+
authOptions?: any[] | undefined;
|
|
409
|
+
oAuthCallbackUri?: string | undefined;
|
|
410
|
+
hasMissingParameters?: boolean | undefined;
|
|
411
|
+
hasDocumentation?: boolean | undefined;
|
|
412
|
+
hasOperations?: boolean | undefined;
|
|
413
|
+
hasData?: boolean | undefined;
|
|
414
|
+
hasEvents?: boolean | undefined;
|
|
415
|
+
hasGlobalWebhooks?: boolean | undefined;
|
|
416
|
+
hasUdm?: boolean | undefined;
|
|
417
|
+
appUuid?: string | undefined;
|
|
418
|
+
isDeactivated?: boolean | undefined;
|
|
419
|
+
authType?: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials" | undefined;
|
|
420
|
+
}>;
|
|
421
|
+
}> extends infer T_1 ? { [k_1 in keyof T_1]: z.baseObjectInputType<{
|
|
30
422
|
element: Element;
|
|
31
|
-
integration:
|
|
32
|
-
|
|
423
|
+
integration: z.ZodObject<{
|
|
424
|
+
id: z.ZodString;
|
|
425
|
+
name: z.ZodString;
|
|
426
|
+
} & {
|
|
427
|
+
key: z.ZodString;
|
|
428
|
+
state: z.ZodOptional<z.ZodNativeEnum<typeof import("../../types").WorkspaceElementState>>;
|
|
429
|
+
errors: z.ZodOptional<z.ZodArray<any, "many">>;
|
|
430
|
+
} & {
|
|
431
|
+
logoUri: z.ZodString;
|
|
432
|
+
connectorId: z.ZodOptional<z.ZodString>;
|
|
433
|
+
connectorVersion: z.ZodOptional<z.ZodString>;
|
|
434
|
+
authOptions: z.ZodOptional<z.ZodArray<z.ZodAny, "many">>;
|
|
435
|
+
oAuthCallbackUri: z.ZodOptional<z.ZodString>;
|
|
436
|
+
parametersSchema: z.ZodOptional<z.ZodType<DataSchema, z.ZodTypeDef, DataSchema>>;
|
|
437
|
+
parameters: z.ZodOptional<z.ZodAny>;
|
|
438
|
+
baseUri: z.ZodString;
|
|
439
|
+
archivedAt: z.ZodOptional<z.ZodString>;
|
|
440
|
+
hasMissingParameters: z.ZodOptional<z.ZodBoolean>;
|
|
441
|
+
hasDocumentation: z.ZodOptional<z.ZodBoolean>;
|
|
442
|
+
hasOperations: z.ZodOptional<z.ZodBoolean>;
|
|
443
|
+
hasData: z.ZodOptional<z.ZodBoolean>;
|
|
444
|
+
hasEvents: z.ZodOptional<z.ZodBoolean>;
|
|
445
|
+
hasGlobalWebhooks: z.ZodOptional<z.ZodBoolean>;
|
|
446
|
+
hasUdm: z.ZodOptional<z.ZodBoolean>;
|
|
447
|
+
isTest: z.ZodOptional<z.ZodBoolean>;
|
|
448
|
+
appUuid: z.ZodOptional<z.ZodString>;
|
|
449
|
+
isDeactivated: z.ZodOptional<z.ZodBoolean>;
|
|
450
|
+
authType: z.ZodOptional<z.ZodEnum<["integration-app-token", "membrane-token", "oauth2", "oauth1", "client-credentials", "proxy"]>>;
|
|
451
|
+
}, "strip", z.ZodTypeAny, {
|
|
452
|
+
key: string;
|
|
453
|
+
id: string;
|
|
454
|
+
name: string;
|
|
455
|
+
baseUri: string;
|
|
456
|
+
logoUri: string;
|
|
457
|
+
state?: import("../../types").WorkspaceElementState | undefined;
|
|
458
|
+
errors?: any[] | undefined;
|
|
459
|
+
parameters?: any;
|
|
460
|
+
parametersSchema?: DataSchema | undefined;
|
|
461
|
+
archivedAt?: string | undefined;
|
|
462
|
+
isTest?: boolean | undefined;
|
|
463
|
+
connectorId?: string | undefined;
|
|
464
|
+
connectorVersion?: string | undefined;
|
|
465
|
+
authOptions?: any[] | undefined;
|
|
466
|
+
oAuthCallbackUri?: string | undefined;
|
|
467
|
+
hasMissingParameters?: boolean | undefined;
|
|
468
|
+
hasDocumentation?: boolean | undefined;
|
|
469
|
+
hasOperations?: boolean | undefined;
|
|
470
|
+
hasData?: boolean | undefined;
|
|
471
|
+
hasEvents?: boolean | undefined;
|
|
472
|
+
hasGlobalWebhooks?: boolean | undefined;
|
|
473
|
+
hasUdm?: boolean | undefined;
|
|
474
|
+
appUuid?: string | undefined;
|
|
475
|
+
isDeactivated?: boolean | undefined;
|
|
476
|
+
authType?: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials" | undefined;
|
|
477
|
+
}, {
|
|
478
|
+
key: string;
|
|
479
|
+
id: string;
|
|
480
|
+
name: string;
|
|
481
|
+
baseUri: string;
|
|
482
|
+
logoUri: string;
|
|
483
|
+
state?: import("../../types").WorkspaceElementState | undefined;
|
|
484
|
+
errors?: any[] | undefined;
|
|
485
|
+
parameters?: any;
|
|
486
|
+
parametersSchema?: DataSchema | undefined;
|
|
487
|
+
archivedAt?: string | undefined;
|
|
488
|
+
isTest?: boolean | undefined;
|
|
489
|
+
connectorId?: string | undefined;
|
|
490
|
+
connectorVersion?: string | undefined;
|
|
491
|
+
authOptions?: any[] | undefined;
|
|
492
|
+
oAuthCallbackUri?: string | undefined;
|
|
493
|
+
hasMissingParameters?: boolean | undefined;
|
|
494
|
+
hasDocumentation?: boolean | undefined;
|
|
495
|
+
hasOperations?: boolean | undefined;
|
|
496
|
+
hasData?: boolean | undefined;
|
|
497
|
+
hasEvents?: boolean | undefined;
|
|
498
|
+
hasGlobalWebhooks?: boolean | undefined;
|
|
499
|
+
hasUdm?: boolean | undefined;
|
|
500
|
+
appUuid?: string | undefined;
|
|
501
|
+
isDeactivated?: boolean | undefined;
|
|
502
|
+
authType?: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials" | undefined;
|
|
503
|
+
}>;
|
|
504
|
+
}>[k_1]; } : never>, "many">;
|
|
505
|
+
export type AppliedToIntegrations<Element> = z.infer<ReturnType<typeof AppliedToIntegrations<z.ZodType<Element>>>>;
|