@membranehq/sdk 0.5.0 → 0.5.1
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 +13011 -5117
- package/dist/bundle.js +149 -1
- package/dist/bundle.js.map +1 -1
- package/dist/dts/accessors/connections-accessors.d.ts +31 -10
- package/dist/dts/accessors/integrations-accessors.d.ts +31 -10
- package/dist/dts/data-schema/index.d.ts +0 -1
- package/dist/dts/entity-repository.d.ts +7 -6
- package/dist/dts/http-requests.d.ts +2 -2
- package/dist/dts/workspace-elements/api/action-instances-api.d.ts +269 -8
- package/dist/dts/workspace-elements/api/action-run-log-records-api.d.ts +529 -10
- package/dist/dts/workspace-elements/api/actions-api.d.ts +393 -90
- package/dist/dts/workspace-elements/api/app-data-schema-instances-api.d.ts +203 -8
- package/dist/dts/workspace-elements/api/app-data-schemas-api.d.ts +49 -3
- package/dist/dts/workspace-elements/api/app-event-log-records-api.d.ts +376 -0
- package/dist/dts/workspace-elements/api/app-event-subscriptions-api.d.ts +293 -8
- package/dist/dts/workspace-elements/api/app-event-types-api.d.ts +88 -3
- package/dist/dts/workspace-elements/api/connections-api.d.ts +387 -97
- package/dist/dts/workspace-elements/api/customers-api.d.ts +38 -5
- package/dist/dts/workspace-elements/api/data-link-table-instances-api.d.ts +541 -12
- package/dist/dts/workspace-elements/api/data-link-tables-api.d.ts +43 -2
- package/dist/dts/workspace-elements/api/data-source-instances-api.d.ts +1590 -12
- package/dist/dts/workspace-elements/api/data-sources-api.d.ts +357 -79
- package/dist/dts/workspace-elements/api/external-event-log-records-api.d.ts +696 -19
- package/dist/dts/workspace-elements/api/external-event-pulls-api.d.ts +702 -19
- package/dist/dts/workspace-elements/api/external-event-subscriptions-api.d.ts +559 -10
- package/dist/dts/workspace-elements/api/external-events-api.d.ts +169 -27
- package/dist/dts/workspace-elements/api/field-mapping-instances-api.d.ts +2786 -14
- package/dist/dts/workspace-elements/api/field-mappings-api.d.ts +367 -69
- package/dist/dts/workspace-elements/api/flow-runs-api.d.ts +1652 -47
- package/dist/dts/workspace-elements/api/flows-api.d.ts +1040 -257
- package/dist/dts/workspace-elements/api/index.d.ts +1 -1
- package/dist/dts/workspace-elements/api/integrations-api.d.ts +121 -37
- package/dist/dts/workspace-elements/api/scenarios-api.d.ts +151 -26
- package/dist/dts/workspace-elements/api/screens-api.d.ts +33 -13
- package/dist/dts/workspace-elements/base/action-instances/types.d.ts +28 -12
- package/dist/dts/workspace-elements/base/action-run-log-records/types.d.ts +12 -10
- package/dist/dts/workspace-elements/base/actions/types.d.ts +28 -11
- package/dist/dts/workspace-elements/base/app-data-schema-instances/types.d.ts +23 -6
- package/dist/dts/workspace-elements/base/app-data-schemas/types.d.ts +22 -8
- package/dist/dts/workspace-elements/base/app-event-subscriptions/types.d.ts +25 -11
- package/dist/dts/workspace-elements/base/app-event-types/types.d.ts +23 -9
- package/dist/dts/workspace-elements/base/connections/types.d.ts +18 -12
- package/dist/dts/workspace-elements/base/customers/index.d.ts +8 -2
- package/dist/dts/workspace-elements/base/data-collections/schemas.d.ts +18 -18
- package/dist/dts/workspace-elements/base/data-link-table-instances/types.d.ts +23 -6
- package/dist/dts/workspace-elements/base/data-link-tables/types.d.ts +21 -4
- package/dist/dts/workspace-elements/base/data-source-instances/types.d.ts +59 -41
- package/dist/dts/workspace-elements/base/data-sources/types.d.ts +16 -8
- package/dist/dts/workspace-elements/base/external-event-subscriptions/types.d.ts +2 -5
- package/dist/dts/workspace-elements/base/field-mapping-instances/types.d.ts +23 -5
- package/dist/dts/workspace-elements/base/field-mappings/types.d.ts +20 -6
- package/dist/dts/workspace-elements/base/flow-instances/schemas.d.ts +6 -6
- package/dist/dts/workspace-elements/base/flow-instances/types.d.ts +26 -11
- package/dist/dts/workspace-elements/base/flow-runs/types.d.ts +14 -1
- package/dist/dts/workspace-elements/base/flows/types.d.ts +26 -12
- package/dist/dts/workspace-elements/base/integrations/types.d.ts +557 -67
- package/dist/dts/workspace-elements/base/scenarios/types.d.ts +21 -4
- package/dist/dts/workspace-elements/base/screens/types.d.ts +9 -1
- package/dist/dts/workspace-elements/types.d.ts +25 -3
- package/dist/dts/workspaces/types.d.ts +4 -3
- package/dist/index.d.ts +21959 -8561
- package/dist/index.js +258 -109
- package/dist/index.js.map +1 -1
- package/dist/index.module.d.mts +21959 -8561
- package/dist/index.module.mjs +225 -101
- package/dist/index.module.mjs.map +1 -1
- package/package.json +3 -2
- package/dist/dts/data-schema/schemas.d.ts +0 -4
- package/dist/dts/workspace-elements/api/app-events-api.d.ts +0 -17
|
@@ -1,18 +1,101 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
2
|
import { DataSchema } from '../../../data-schema';
|
|
3
3
|
import { ConnectorAuthSpec } from '../connectors';
|
|
4
|
+
export declare const IntegrationAuthUi: z.ZodObject<{
|
|
5
|
+
schema: z.ZodOptional<z.ZodAny>;
|
|
6
|
+
helpUri: z.ZodOptional<z.ZodString>;
|
|
7
|
+
}, "strip", z.ZodTypeAny, {
|
|
8
|
+
schema?: any;
|
|
9
|
+
helpUri?: string | undefined;
|
|
10
|
+
}, {
|
|
11
|
+
schema?: any;
|
|
12
|
+
helpUri?: string | undefined;
|
|
13
|
+
}>;
|
|
14
|
+
export type IntegrationAuthUi = z.infer<typeof IntegrationAuthUi>;
|
|
15
|
+
export declare const IntegrationAuthOption: z.ZodObject<{
|
|
16
|
+
key: z.ZodString;
|
|
17
|
+
type: z.ZodEnum<["integration-app-token", "membrane-token", "oauth2", "oauth1", "client-credentials", "proxy"]>;
|
|
18
|
+
title: z.ZodOptional<z.ZodString>;
|
|
19
|
+
description: z.ZodOptional<z.ZodString>;
|
|
20
|
+
ui: z.ZodOptional<z.ZodObject<{
|
|
21
|
+
schema: z.ZodOptional<z.ZodAny>;
|
|
22
|
+
helpUri: z.ZodOptional<z.ZodString>;
|
|
23
|
+
}, "strip", z.ZodTypeAny, {
|
|
24
|
+
schema?: any;
|
|
25
|
+
helpUri?: string | undefined;
|
|
26
|
+
}, {
|
|
27
|
+
schema?: any;
|
|
28
|
+
helpUri?: string | undefined;
|
|
29
|
+
}>>;
|
|
30
|
+
}, "strip", z.ZodTypeAny, {
|
|
31
|
+
key: string;
|
|
32
|
+
type: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials";
|
|
33
|
+
description?: string | undefined;
|
|
34
|
+
title?: string | undefined;
|
|
35
|
+
ui?: {
|
|
36
|
+
schema?: any;
|
|
37
|
+
helpUri?: string | undefined;
|
|
38
|
+
} | undefined;
|
|
39
|
+
}, {
|
|
40
|
+
key: string;
|
|
41
|
+
type: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials";
|
|
42
|
+
description?: string | undefined;
|
|
43
|
+
title?: string | undefined;
|
|
44
|
+
ui?: {
|
|
45
|
+
schema?: any;
|
|
46
|
+
helpUri?: string | undefined;
|
|
47
|
+
} | undefined;
|
|
48
|
+
}>;
|
|
49
|
+
export type IntegrationAuthOption = z.infer<typeof IntegrationAuthOption>;
|
|
4
50
|
export declare const BaseIntegration: z.ZodObject<{
|
|
5
51
|
id: z.ZodString;
|
|
6
52
|
name: z.ZodString;
|
|
7
|
-
|
|
8
|
-
|
|
53
|
+
key: z.ZodOptional<z.ZodString>;
|
|
54
|
+
uuid: z.ZodOptional<z.ZodString>;
|
|
55
|
+
description: z.ZodOptional<z.ZodString>;
|
|
9
56
|
state: z.ZodOptional<z.ZodNativeEnum<typeof import("../../types").WorkspaceElementState>>;
|
|
10
57
|
errors: z.ZodOptional<z.ZodArray<any, "many">>;
|
|
58
|
+
revision: z.ZodOptional<z.ZodString>;
|
|
59
|
+
createdAt: z.ZodOptional<z.ZodString>;
|
|
60
|
+
updatedAt: z.ZodOptional<z.ZodString>;
|
|
11
61
|
} & {
|
|
12
62
|
logoUri: z.ZodString;
|
|
13
63
|
connectorId: z.ZodOptional<z.ZodString>;
|
|
14
64
|
connectorVersion: z.ZodOptional<z.ZodString>;
|
|
15
|
-
authOptions: z.ZodOptional<z.ZodArray<z.
|
|
65
|
+
authOptions: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
66
|
+
key: z.ZodString;
|
|
67
|
+
type: z.ZodEnum<["integration-app-token", "membrane-token", "oauth2", "oauth1", "client-credentials", "proxy"]>;
|
|
68
|
+
title: z.ZodOptional<z.ZodString>;
|
|
69
|
+
description: z.ZodOptional<z.ZodString>;
|
|
70
|
+
ui: z.ZodOptional<z.ZodObject<{
|
|
71
|
+
schema: z.ZodOptional<z.ZodAny>;
|
|
72
|
+
helpUri: z.ZodOptional<z.ZodString>;
|
|
73
|
+
}, "strip", z.ZodTypeAny, {
|
|
74
|
+
schema?: any;
|
|
75
|
+
helpUri?: string | undefined;
|
|
76
|
+
}, {
|
|
77
|
+
schema?: any;
|
|
78
|
+
helpUri?: string | undefined;
|
|
79
|
+
}>>;
|
|
80
|
+
}, "strip", z.ZodTypeAny, {
|
|
81
|
+
key: string;
|
|
82
|
+
type: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials";
|
|
83
|
+
description?: string | undefined;
|
|
84
|
+
title?: string | undefined;
|
|
85
|
+
ui?: {
|
|
86
|
+
schema?: any;
|
|
87
|
+
helpUri?: string | undefined;
|
|
88
|
+
} | undefined;
|
|
89
|
+
}, {
|
|
90
|
+
key: string;
|
|
91
|
+
type: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials";
|
|
92
|
+
description?: string | undefined;
|
|
93
|
+
title?: string | undefined;
|
|
94
|
+
ui?: {
|
|
95
|
+
schema?: any;
|
|
96
|
+
helpUri?: string | undefined;
|
|
97
|
+
} | undefined;
|
|
98
|
+
}>, "many">>;
|
|
16
99
|
oAuthCallbackUri: z.ZodOptional<z.ZodString>;
|
|
17
100
|
parametersSchema: z.ZodOptional<z.ZodType<DataSchema, z.ZodTypeDef, DataSchema>>;
|
|
18
101
|
parameters: z.ZodOptional<z.ZodAny>;
|
|
@@ -21,8 +104,11 @@ export declare const BaseIntegration: z.ZodObject<{
|
|
|
21
104
|
hasMissingParameters: z.ZodOptional<z.ZodBoolean>;
|
|
22
105
|
hasDocumentation: z.ZodOptional<z.ZodBoolean>;
|
|
23
106
|
hasOperations: z.ZodOptional<z.ZodBoolean>;
|
|
107
|
+
operationsCount: z.ZodOptional<z.ZodNumber>;
|
|
24
108
|
hasData: z.ZodOptional<z.ZodBoolean>;
|
|
109
|
+
dataCollectionsCount: z.ZodOptional<z.ZodNumber>;
|
|
25
110
|
hasEvents: z.ZodOptional<z.ZodBoolean>;
|
|
111
|
+
eventsCount: z.ZodOptional<z.ZodNumber>;
|
|
26
112
|
hasGlobalWebhooks: z.ZodOptional<z.ZodBoolean>;
|
|
27
113
|
hasUdm: z.ZodOptional<z.ZodBoolean>;
|
|
28
114
|
isTest: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -30,60 +116,94 @@ export declare const BaseIntegration: z.ZodObject<{
|
|
|
30
116
|
isDeactivated: z.ZodOptional<z.ZodBoolean>;
|
|
31
117
|
authType: z.ZodOptional<z.ZodEnum<["integration-app-token", "membrane-token", "oauth2", "oauth1", "client-credentials", "proxy"]>>;
|
|
32
118
|
}, "strip", z.ZodTypeAny, {
|
|
33
|
-
key: string;
|
|
34
119
|
id: string;
|
|
35
120
|
name: string;
|
|
36
121
|
baseUri: string;
|
|
37
122
|
logoUri: string;
|
|
123
|
+
key?: string | undefined;
|
|
124
|
+
uuid?: string | undefined;
|
|
125
|
+
description?: string | undefined;
|
|
38
126
|
state?: import("../../types").WorkspaceElementState | undefined;
|
|
39
127
|
errors?: any[] | undefined;
|
|
128
|
+
revision?: string | undefined;
|
|
129
|
+
isDeactivated?: boolean | undefined;
|
|
130
|
+
createdAt?: string | undefined;
|
|
131
|
+
updatedAt?: string | undefined;
|
|
132
|
+
archivedAt?: string | undefined;
|
|
40
133
|
parameters?: any;
|
|
41
134
|
parametersSchema?: DataSchema | undefined;
|
|
42
|
-
archivedAt?: string | undefined;
|
|
43
135
|
isTest?: boolean | undefined;
|
|
44
136
|
connectorId?: string | undefined;
|
|
45
137
|
connectorVersion?: string | undefined;
|
|
46
|
-
authOptions?:
|
|
138
|
+
authOptions?: {
|
|
139
|
+
key: string;
|
|
140
|
+
type: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials";
|
|
141
|
+
description?: string | undefined;
|
|
142
|
+
title?: string | undefined;
|
|
143
|
+
ui?: {
|
|
144
|
+
schema?: any;
|
|
145
|
+
helpUri?: string | undefined;
|
|
146
|
+
} | undefined;
|
|
147
|
+
}[] | undefined;
|
|
47
148
|
oAuthCallbackUri?: string | undefined;
|
|
48
149
|
hasMissingParameters?: boolean | undefined;
|
|
49
150
|
hasDocumentation?: boolean | undefined;
|
|
50
151
|
hasOperations?: boolean | undefined;
|
|
152
|
+
operationsCount?: number | undefined;
|
|
51
153
|
hasData?: boolean | undefined;
|
|
154
|
+
dataCollectionsCount?: number | undefined;
|
|
52
155
|
hasEvents?: boolean | undefined;
|
|
156
|
+
eventsCount?: number | undefined;
|
|
53
157
|
hasGlobalWebhooks?: boolean | undefined;
|
|
54
158
|
hasUdm?: boolean | undefined;
|
|
55
159
|
appUuid?: string | undefined;
|
|
56
|
-
isDeactivated?: boolean | undefined;
|
|
57
160
|
authType?: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials" | undefined;
|
|
58
161
|
}, {
|
|
59
|
-
key: string;
|
|
60
162
|
id: string;
|
|
61
163
|
name: string;
|
|
62
164
|
baseUri: string;
|
|
63
165
|
logoUri: string;
|
|
166
|
+
key?: string | undefined;
|
|
167
|
+
uuid?: string | undefined;
|
|
168
|
+
description?: string | undefined;
|
|
64
169
|
state?: import("../../types").WorkspaceElementState | undefined;
|
|
65
170
|
errors?: any[] | undefined;
|
|
171
|
+
revision?: string | undefined;
|
|
172
|
+
isDeactivated?: boolean | undefined;
|
|
173
|
+
createdAt?: string | undefined;
|
|
174
|
+
updatedAt?: string | undefined;
|
|
175
|
+
archivedAt?: string | undefined;
|
|
66
176
|
parameters?: any;
|
|
67
177
|
parametersSchema?: DataSchema | undefined;
|
|
68
|
-
archivedAt?: string | undefined;
|
|
69
178
|
isTest?: boolean | undefined;
|
|
70
179
|
connectorId?: string | undefined;
|
|
71
180
|
connectorVersion?: string | undefined;
|
|
72
|
-
authOptions?:
|
|
181
|
+
authOptions?: {
|
|
182
|
+
key: string;
|
|
183
|
+
type: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials";
|
|
184
|
+
description?: string | undefined;
|
|
185
|
+
title?: string | undefined;
|
|
186
|
+
ui?: {
|
|
187
|
+
schema?: any;
|
|
188
|
+
helpUri?: string | undefined;
|
|
189
|
+
} | undefined;
|
|
190
|
+
}[] | undefined;
|
|
73
191
|
oAuthCallbackUri?: string | undefined;
|
|
74
192
|
hasMissingParameters?: boolean | undefined;
|
|
75
193
|
hasDocumentation?: boolean | undefined;
|
|
76
194
|
hasOperations?: boolean | undefined;
|
|
195
|
+
operationsCount?: number | undefined;
|
|
77
196
|
hasData?: boolean | undefined;
|
|
197
|
+
dataCollectionsCount?: number | undefined;
|
|
78
198
|
hasEvents?: boolean | undefined;
|
|
199
|
+
eventsCount?: number | undefined;
|
|
79
200
|
hasGlobalWebhooks?: boolean | undefined;
|
|
80
201
|
hasUdm?: boolean | undefined;
|
|
81
202
|
appUuid?: string | undefined;
|
|
82
|
-
isDeactivated?: boolean | undefined;
|
|
83
203
|
authType?: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials" | undefined;
|
|
84
204
|
}>;
|
|
85
205
|
export type BaseIntegration = z.infer<typeof BaseIntegration>;
|
|
86
|
-
export type
|
|
206
|
+
export type IntegrationAuthOptionLegacy = ConnectorAuthSpec & {
|
|
87
207
|
key: string;
|
|
88
208
|
};
|
|
89
209
|
export declare const AppliedToIntegrations: <Element extends z.ZodType>(elementSchema: Element) => z.ZodArray<z.ZodObject<{
|
|
@@ -91,15 +211,52 @@ export declare const AppliedToIntegrations: <Element extends z.ZodType>(elementS
|
|
|
91
211
|
integration: z.ZodObject<{
|
|
92
212
|
id: z.ZodString;
|
|
93
213
|
name: z.ZodString;
|
|
94
|
-
|
|
95
|
-
|
|
214
|
+
key: z.ZodOptional<z.ZodString>;
|
|
215
|
+
uuid: z.ZodOptional<z.ZodString>;
|
|
216
|
+
description: z.ZodOptional<z.ZodString>;
|
|
96
217
|
state: z.ZodOptional<z.ZodNativeEnum<typeof import("../../types").WorkspaceElementState>>;
|
|
97
218
|
errors: z.ZodOptional<z.ZodArray<any, "many">>;
|
|
219
|
+
revision: z.ZodOptional<z.ZodString>;
|
|
220
|
+
createdAt: z.ZodOptional<z.ZodString>;
|
|
221
|
+
updatedAt: z.ZodOptional<z.ZodString>;
|
|
98
222
|
} & {
|
|
99
223
|
logoUri: z.ZodString;
|
|
100
224
|
connectorId: z.ZodOptional<z.ZodString>;
|
|
101
225
|
connectorVersion: z.ZodOptional<z.ZodString>;
|
|
102
|
-
authOptions: z.ZodOptional<z.ZodArray<z.
|
|
226
|
+
authOptions: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
227
|
+
key: z.ZodString;
|
|
228
|
+
type: z.ZodEnum<["integration-app-token", "membrane-token", "oauth2", "oauth1", "client-credentials", "proxy"]>;
|
|
229
|
+
title: z.ZodOptional<z.ZodString>;
|
|
230
|
+
description: z.ZodOptional<z.ZodString>;
|
|
231
|
+
ui: z.ZodOptional<z.ZodObject<{
|
|
232
|
+
schema: z.ZodOptional<z.ZodAny>;
|
|
233
|
+
helpUri: z.ZodOptional<z.ZodString>;
|
|
234
|
+
}, "strip", z.ZodTypeAny, {
|
|
235
|
+
schema?: any;
|
|
236
|
+
helpUri?: string | undefined;
|
|
237
|
+
}, {
|
|
238
|
+
schema?: any;
|
|
239
|
+
helpUri?: string | undefined;
|
|
240
|
+
}>>;
|
|
241
|
+
}, "strip", z.ZodTypeAny, {
|
|
242
|
+
key: string;
|
|
243
|
+
type: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials";
|
|
244
|
+
description?: string | undefined;
|
|
245
|
+
title?: string | undefined;
|
|
246
|
+
ui?: {
|
|
247
|
+
schema?: any;
|
|
248
|
+
helpUri?: string | undefined;
|
|
249
|
+
} | undefined;
|
|
250
|
+
}, {
|
|
251
|
+
key: string;
|
|
252
|
+
type: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials";
|
|
253
|
+
description?: string | undefined;
|
|
254
|
+
title?: string | undefined;
|
|
255
|
+
ui?: {
|
|
256
|
+
schema?: any;
|
|
257
|
+
helpUri?: string | undefined;
|
|
258
|
+
} | undefined;
|
|
259
|
+
}>, "many">>;
|
|
103
260
|
oAuthCallbackUri: z.ZodOptional<z.ZodString>;
|
|
104
261
|
parametersSchema: z.ZodOptional<z.ZodType<DataSchema, z.ZodTypeDef, DataSchema>>;
|
|
105
262
|
parameters: z.ZodOptional<z.ZodAny>;
|
|
@@ -108,8 +265,11 @@ export declare const AppliedToIntegrations: <Element extends z.ZodType>(elementS
|
|
|
108
265
|
hasMissingParameters: z.ZodOptional<z.ZodBoolean>;
|
|
109
266
|
hasDocumentation: z.ZodOptional<z.ZodBoolean>;
|
|
110
267
|
hasOperations: z.ZodOptional<z.ZodBoolean>;
|
|
268
|
+
operationsCount: z.ZodOptional<z.ZodNumber>;
|
|
111
269
|
hasData: z.ZodOptional<z.ZodBoolean>;
|
|
270
|
+
dataCollectionsCount: z.ZodOptional<z.ZodNumber>;
|
|
112
271
|
hasEvents: z.ZodOptional<z.ZodBoolean>;
|
|
272
|
+
eventsCount: z.ZodOptional<z.ZodNumber>;
|
|
113
273
|
hasGlobalWebhooks: z.ZodOptional<z.ZodBoolean>;
|
|
114
274
|
hasUdm: z.ZodOptional<z.ZodBoolean>;
|
|
115
275
|
isTest: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -117,56 +277,90 @@ export declare const AppliedToIntegrations: <Element extends z.ZodType>(elementS
|
|
|
117
277
|
isDeactivated: z.ZodOptional<z.ZodBoolean>;
|
|
118
278
|
authType: z.ZodOptional<z.ZodEnum<["integration-app-token", "membrane-token", "oauth2", "oauth1", "client-credentials", "proxy"]>>;
|
|
119
279
|
}, "strip", z.ZodTypeAny, {
|
|
120
|
-
key: string;
|
|
121
280
|
id: string;
|
|
122
281
|
name: string;
|
|
123
282
|
baseUri: string;
|
|
124
283
|
logoUri: string;
|
|
284
|
+
key?: string | undefined;
|
|
285
|
+
uuid?: string | undefined;
|
|
286
|
+
description?: string | undefined;
|
|
125
287
|
state?: import("../../types").WorkspaceElementState | undefined;
|
|
126
288
|
errors?: any[] | undefined;
|
|
289
|
+
revision?: string | undefined;
|
|
290
|
+
isDeactivated?: boolean | undefined;
|
|
291
|
+
createdAt?: string | undefined;
|
|
292
|
+
updatedAt?: string | undefined;
|
|
293
|
+
archivedAt?: string | undefined;
|
|
127
294
|
parameters?: any;
|
|
128
295
|
parametersSchema?: DataSchema | undefined;
|
|
129
|
-
archivedAt?: string | undefined;
|
|
130
296
|
isTest?: boolean | undefined;
|
|
131
297
|
connectorId?: string | undefined;
|
|
132
298
|
connectorVersion?: string | undefined;
|
|
133
|
-
authOptions?:
|
|
299
|
+
authOptions?: {
|
|
300
|
+
key: string;
|
|
301
|
+
type: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials";
|
|
302
|
+
description?: string | undefined;
|
|
303
|
+
title?: string | undefined;
|
|
304
|
+
ui?: {
|
|
305
|
+
schema?: any;
|
|
306
|
+
helpUri?: string | undefined;
|
|
307
|
+
} | undefined;
|
|
308
|
+
}[] | undefined;
|
|
134
309
|
oAuthCallbackUri?: string | undefined;
|
|
135
310
|
hasMissingParameters?: boolean | undefined;
|
|
136
311
|
hasDocumentation?: boolean | undefined;
|
|
137
312
|
hasOperations?: boolean | undefined;
|
|
313
|
+
operationsCount?: number | undefined;
|
|
138
314
|
hasData?: boolean | undefined;
|
|
315
|
+
dataCollectionsCount?: number | undefined;
|
|
139
316
|
hasEvents?: boolean | undefined;
|
|
317
|
+
eventsCount?: number | undefined;
|
|
140
318
|
hasGlobalWebhooks?: boolean | undefined;
|
|
141
319
|
hasUdm?: boolean | undefined;
|
|
142
320
|
appUuid?: string | undefined;
|
|
143
|
-
isDeactivated?: boolean | undefined;
|
|
144
321
|
authType?: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials" | undefined;
|
|
145
322
|
}, {
|
|
146
|
-
key: string;
|
|
147
323
|
id: string;
|
|
148
324
|
name: string;
|
|
149
325
|
baseUri: string;
|
|
150
326
|
logoUri: string;
|
|
327
|
+
key?: string | undefined;
|
|
328
|
+
uuid?: string | undefined;
|
|
329
|
+
description?: string | undefined;
|
|
151
330
|
state?: import("../../types").WorkspaceElementState | undefined;
|
|
152
331
|
errors?: any[] | undefined;
|
|
332
|
+
revision?: string | undefined;
|
|
333
|
+
isDeactivated?: boolean | undefined;
|
|
334
|
+
createdAt?: string | undefined;
|
|
335
|
+
updatedAt?: string | undefined;
|
|
336
|
+
archivedAt?: string | undefined;
|
|
153
337
|
parameters?: any;
|
|
154
338
|
parametersSchema?: DataSchema | undefined;
|
|
155
|
-
archivedAt?: string | undefined;
|
|
156
339
|
isTest?: boolean | undefined;
|
|
157
340
|
connectorId?: string | undefined;
|
|
158
341
|
connectorVersion?: string | undefined;
|
|
159
|
-
authOptions?:
|
|
342
|
+
authOptions?: {
|
|
343
|
+
key: string;
|
|
344
|
+
type: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials";
|
|
345
|
+
description?: string | undefined;
|
|
346
|
+
title?: string | undefined;
|
|
347
|
+
ui?: {
|
|
348
|
+
schema?: any;
|
|
349
|
+
helpUri?: string | undefined;
|
|
350
|
+
} | undefined;
|
|
351
|
+
}[] | undefined;
|
|
160
352
|
oAuthCallbackUri?: string | undefined;
|
|
161
353
|
hasMissingParameters?: boolean | undefined;
|
|
162
354
|
hasDocumentation?: boolean | undefined;
|
|
163
355
|
hasOperations?: boolean | undefined;
|
|
356
|
+
operationsCount?: number | undefined;
|
|
164
357
|
hasData?: boolean | undefined;
|
|
358
|
+
dataCollectionsCount?: number | undefined;
|
|
165
359
|
hasEvents?: boolean | undefined;
|
|
360
|
+
eventsCount?: number | undefined;
|
|
166
361
|
hasGlobalWebhooks?: boolean | undefined;
|
|
167
362
|
hasUdm?: boolean | undefined;
|
|
168
363
|
appUuid?: string | undefined;
|
|
169
|
-
isDeactivated?: boolean | undefined;
|
|
170
364
|
authType?: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials" | undefined;
|
|
171
365
|
}>;
|
|
172
366
|
}, "strip", z.ZodTypeAny, z.objectUtil.addQuestionMarks<z.baseObjectOutputType<{
|
|
@@ -174,15 +368,52 @@ export declare const AppliedToIntegrations: <Element extends z.ZodType>(elementS
|
|
|
174
368
|
integration: z.ZodObject<{
|
|
175
369
|
id: z.ZodString;
|
|
176
370
|
name: z.ZodString;
|
|
177
|
-
|
|
178
|
-
|
|
371
|
+
key: z.ZodOptional<z.ZodString>;
|
|
372
|
+
uuid: z.ZodOptional<z.ZodString>;
|
|
373
|
+
description: z.ZodOptional<z.ZodString>;
|
|
179
374
|
state: z.ZodOptional<z.ZodNativeEnum<typeof import("../../types").WorkspaceElementState>>;
|
|
180
375
|
errors: z.ZodOptional<z.ZodArray<any, "many">>;
|
|
376
|
+
revision: z.ZodOptional<z.ZodString>;
|
|
377
|
+
createdAt: z.ZodOptional<z.ZodString>;
|
|
378
|
+
updatedAt: z.ZodOptional<z.ZodString>;
|
|
181
379
|
} & {
|
|
182
380
|
logoUri: z.ZodString;
|
|
183
381
|
connectorId: z.ZodOptional<z.ZodString>;
|
|
184
382
|
connectorVersion: z.ZodOptional<z.ZodString>;
|
|
185
|
-
authOptions: z.ZodOptional<z.ZodArray<z.
|
|
383
|
+
authOptions: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
384
|
+
key: z.ZodString;
|
|
385
|
+
type: z.ZodEnum<["integration-app-token", "membrane-token", "oauth2", "oauth1", "client-credentials", "proxy"]>;
|
|
386
|
+
title: z.ZodOptional<z.ZodString>;
|
|
387
|
+
description: z.ZodOptional<z.ZodString>;
|
|
388
|
+
ui: z.ZodOptional<z.ZodObject<{
|
|
389
|
+
schema: z.ZodOptional<z.ZodAny>;
|
|
390
|
+
helpUri: z.ZodOptional<z.ZodString>;
|
|
391
|
+
}, "strip", z.ZodTypeAny, {
|
|
392
|
+
schema?: any;
|
|
393
|
+
helpUri?: string | undefined;
|
|
394
|
+
}, {
|
|
395
|
+
schema?: any;
|
|
396
|
+
helpUri?: string | undefined;
|
|
397
|
+
}>>;
|
|
398
|
+
}, "strip", z.ZodTypeAny, {
|
|
399
|
+
key: string;
|
|
400
|
+
type: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials";
|
|
401
|
+
description?: string | undefined;
|
|
402
|
+
title?: string | undefined;
|
|
403
|
+
ui?: {
|
|
404
|
+
schema?: any;
|
|
405
|
+
helpUri?: string | undefined;
|
|
406
|
+
} | undefined;
|
|
407
|
+
}, {
|
|
408
|
+
key: string;
|
|
409
|
+
type: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials";
|
|
410
|
+
description?: string | undefined;
|
|
411
|
+
title?: string | undefined;
|
|
412
|
+
ui?: {
|
|
413
|
+
schema?: any;
|
|
414
|
+
helpUri?: string | undefined;
|
|
415
|
+
} | undefined;
|
|
416
|
+
}>, "many">>;
|
|
186
417
|
oAuthCallbackUri: z.ZodOptional<z.ZodString>;
|
|
187
418
|
parametersSchema: z.ZodOptional<z.ZodType<DataSchema, z.ZodTypeDef, DataSchema>>;
|
|
188
419
|
parameters: z.ZodOptional<z.ZodAny>;
|
|
@@ -191,8 +422,11 @@ export declare const AppliedToIntegrations: <Element extends z.ZodType>(elementS
|
|
|
191
422
|
hasMissingParameters: z.ZodOptional<z.ZodBoolean>;
|
|
192
423
|
hasDocumentation: z.ZodOptional<z.ZodBoolean>;
|
|
193
424
|
hasOperations: z.ZodOptional<z.ZodBoolean>;
|
|
425
|
+
operationsCount: z.ZodOptional<z.ZodNumber>;
|
|
194
426
|
hasData: z.ZodOptional<z.ZodBoolean>;
|
|
427
|
+
dataCollectionsCount: z.ZodOptional<z.ZodNumber>;
|
|
195
428
|
hasEvents: z.ZodOptional<z.ZodBoolean>;
|
|
429
|
+
eventsCount: z.ZodOptional<z.ZodNumber>;
|
|
196
430
|
hasGlobalWebhooks: z.ZodOptional<z.ZodBoolean>;
|
|
197
431
|
hasUdm: z.ZodOptional<z.ZodBoolean>;
|
|
198
432
|
isTest: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -200,56 +434,90 @@ export declare const AppliedToIntegrations: <Element extends z.ZodType>(elementS
|
|
|
200
434
|
isDeactivated: z.ZodOptional<z.ZodBoolean>;
|
|
201
435
|
authType: z.ZodOptional<z.ZodEnum<["integration-app-token", "membrane-token", "oauth2", "oauth1", "client-credentials", "proxy"]>>;
|
|
202
436
|
}, "strip", z.ZodTypeAny, {
|
|
203
|
-
key: string;
|
|
204
437
|
id: string;
|
|
205
438
|
name: string;
|
|
206
439
|
baseUri: string;
|
|
207
440
|
logoUri: string;
|
|
441
|
+
key?: string | undefined;
|
|
442
|
+
uuid?: string | undefined;
|
|
443
|
+
description?: string | undefined;
|
|
208
444
|
state?: import("../../types").WorkspaceElementState | undefined;
|
|
209
445
|
errors?: any[] | undefined;
|
|
446
|
+
revision?: string | undefined;
|
|
447
|
+
isDeactivated?: boolean | undefined;
|
|
448
|
+
createdAt?: string | undefined;
|
|
449
|
+
updatedAt?: string | undefined;
|
|
450
|
+
archivedAt?: string | undefined;
|
|
210
451
|
parameters?: any;
|
|
211
452
|
parametersSchema?: DataSchema | undefined;
|
|
212
|
-
archivedAt?: string | undefined;
|
|
213
453
|
isTest?: boolean | undefined;
|
|
214
454
|
connectorId?: string | undefined;
|
|
215
455
|
connectorVersion?: string | undefined;
|
|
216
|
-
authOptions?:
|
|
456
|
+
authOptions?: {
|
|
457
|
+
key: string;
|
|
458
|
+
type: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials";
|
|
459
|
+
description?: string | undefined;
|
|
460
|
+
title?: string | undefined;
|
|
461
|
+
ui?: {
|
|
462
|
+
schema?: any;
|
|
463
|
+
helpUri?: string | undefined;
|
|
464
|
+
} | undefined;
|
|
465
|
+
}[] | undefined;
|
|
217
466
|
oAuthCallbackUri?: string | undefined;
|
|
218
467
|
hasMissingParameters?: boolean | undefined;
|
|
219
468
|
hasDocumentation?: boolean | undefined;
|
|
220
469
|
hasOperations?: boolean | undefined;
|
|
470
|
+
operationsCount?: number | undefined;
|
|
221
471
|
hasData?: boolean | undefined;
|
|
472
|
+
dataCollectionsCount?: number | undefined;
|
|
222
473
|
hasEvents?: boolean | undefined;
|
|
474
|
+
eventsCount?: number | undefined;
|
|
223
475
|
hasGlobalWebhooks?: boolean | undefined;
|
|
224
476
|
hasUdm?: boolean | undefined;
|
|
225
477
|
appUuid?: string | undefined;
|
|
226
|
-
isDeactivated?: boolean | undefined;
|
|
227
478
|
authType?: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials" | undefined;
|
|
228
479
|
}, {
|
|
229
|
-
key: string;
|
|
230
480
|
id: string;
|
|
231
481
|
name: string;
|
|
232
482
|
baseUri: string;
|
|
233
483
|
logoUri: string;
|
|
484
|
+
key?: string | undefined;
|
|
485
|
+
uuid?: string | undefined;
|
|
486
|
+
description?: string | undefined;
|
|
234
487
|
state?: import("../../types").WorkspaceElementState | undefined;
|
|
235
488
|
errors?: any[] | undefined;
|
|
489
|
+
revision?: string | undefined;
|
|
490
|
+
isDeactivated?: boolean | undefined;
|
|
491
|
+
createdAt?: string | undefined;
|
|
492
|
+
updatedAt?: string | undefined;
|
|
493
|
+
archivedAt?: string | undefined;
|
|
236
494
|
parameters?: any;
|
|
237
495
|
parametersSchema?: DataSchema | undefined;
|
|
238
|
-
archivedAt?: string | undefined;
|
|
239
496
|
isTest?: boolean | undefined;
|
|
240
497
|
connectorId?: string | undefined;
|
|
241
498
|
connectorVersion?: string | undefined;
|
|
242
|
-
authOptions?:
|
|
499
|
+
authOptions?: {
|
|
500
|
+
key: string;
|
|
501
|
+
type: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials";
|
|
502
|
+
description?: string | undefined;
|
|
503
|
+
title?: string | undefined;
|
|
504
|
+
ui?: {
|
|
505
|
+
schema?: any;
|
|
506
|
+
helpUri?: string | undefined;
|
|
507
|
+
} | undefined;
|
|
508
|
+
}[] | undefined;
|
|
243
509
|
oAuthCallbackUri?: string | undefined;
|
|
244
510
|
hasMissingParameters?: boolean | undefined;
|
|
245
511
|
hasDocumentation?: boolean | undefined;
|
|
246
512
|
hasOperations?: boolean | undefined;
|
|
513
|
+
operationsCount?: number | undefined;
|
|
247
514
|
hasData?: boolean | undefined;
|
|
515
|
+
dataCollectionsCount?: number | undefined;
|
|
248
516
|
hasEvents?: boolean | undefined;
|
|
517
|
+
eventsCount?: number | undefined;
|
|
249
518
|
hasGlobalWebhooks?: boolean | undefined;
|
|
250
519
|
hasUdm?: boolean | undefined;
|
|
251
520
|
appUuid?: string | undefined;
|
|
252
|
-
isDeactivated?: boolean | undefined;
|
|
253
521
|
authType?: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials" | undefined;
|
|
254
522
|
}>;
|
|
255
523
|
}>, any> extends infer T ? { [k in keyof T]: z.objectUtil.addQuestionMarks<z.baseObjectOutputType<{
|
|
@@ -257,15 +525,52 @@ export declare const AppliedToIntegrations: <Element extends z.ZodType>(elementS
|
|
|
257
525
|
integration: z.ZodObject<{
|
|
258
526
|
id: z.ZodString;
|
|
259
527
|
name: z.ZodString;
|
|
260
|
-
|
|
261
|
-
|
|
528
|
+
key: z.ZodOptional<z.ZodString>;
|
|
529
|
+
uuid: z.ZodOptional<z.ZodString>;
|
|
530
|
+
description: z.ZodOptional<z.ZodString>;
|
|
262
531
|
state: z.ZodOptional<z.ZodNativeEnum<typeof import("../../types").WorkspaceElementState>>;
|
|
263
532
|
errors: z.ZodOptional<z.ZodArray<any, "many">>;
|
|
533
|
+
revision: z.ZodOptional<z.ZodString>;
|
|
534
|
+
createdAt: z.ZodOptional<z.ZodString>;
|
|
535
|
+
updatedAt: z.ZodOptional<z.ZodString>;
|
|
264
536
|
} & {
|
|
265
537
|
logoUri: z.ZodString;
|
|
266
538
|
connectorId: z.ZodOptional<z.ZodString>;
|
|
267
539
|
connectorVersion: z.ZodOptional<z.ZodString>;
|
|
268
|
-
authOptions: z.ZodOptional<z.ZodArray<z.
|
|
540
|
+
authOptions: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
541
|
+
key: z.ZodString;
|
|
542
|
+
type: z.ZodEnum<["integration-app-token", "membrane-token", "oauth2", "oauth1", "client-credentials", "proxy"]>;
|
|
543
|
+
title: z.ZodOptional<z.ZodString>;
|
|
544
|
+
description: z.ZodOptional<z.ZodString>;
|
|
545
|
+
ui: z.ZodOptional<z.ZodObject<{
|
|
546
|
+
schema: z.ZodOptional<z.ZodAny>;
|
|
547
|
+
helpUri: z.ZodOptional<z.ZodString>;
|
|
548
|
+
}, "strip", z.ZodTypeAny, {
|
|
549
|
+
schema?: any;
|
|
550
|
+
helpUri?: string | undefined;
|
|
551
|
+
}, {
|
|
552
|
+
schema?: any;
|
|
553
|
+
helpUri?: string | undefined;
|
|
554
|
+
}>>;
|
|
555
|
+
}, "strip", z.ZodTypeAny, {
|
|
556
|
+
key: string;
|
|
557
|
+
type: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials";
|
|
558
|
+
description?: string | undefined;
|
|
559
|
+
title?: string | undefined;
|
|
560
|
+
ui?: {
|
|
561
|
+
schema?: any;
|
|
562
|
+
helpUri?: string | undefined;
|
|
563
|
+
} | undefined;
|
|
564
|
+
}, {
|
|
565
|
+
key: string;
|
|
566
|
+
type: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials";
|
|
567
|
+
description?: string | undefined;
|
|
568
|
+
title?: string | undefined;
|
|
569
|
+
ui?: {
|
|
570
|
+
schema?: any;
|
|
571
|
+
helpUri?: string | undefined;
|
|
572
|
+
} | undefined;
|
|
573
|
+
}>, "many">>;
|
|
269
574
|
oAuthCallbackUri: z.ZodOptional<z.ZodString>;
|
|
270
575
|
parametersSchema: z.ZodOptional<z.ZodType<DataSchema, z.ZodTypeDef, DataSchema>>;
|
|
271
576
|
parameters: z.ZodOptional<z.ZodAny>;
|
|
@@ -274,8 +579,11 @@ export declare const AppliedToIntegrations: <Element extends z.ZodType>(elementS
|
|
|
274
579
|
hasMissingParameters: z.ZodOptional<z.ZodBoolean>;
|
|
275
580
|
hasDocumentation: z.ZodOptional<z.ZodBoolean>;
|
|
276
581
|
hasOperations: z.ZodOptional<z.ZodBoolean>;
|
|
582
|
+
operationsCount: z.ZodOptional<z.ZodNumber>;
|
|
277
583
|
hasData: z.ZodOptional<z.ZodBoolean>;
|
|
584
|
+
dataCollectionsCount: z.ZodOptional<z.ZodNumber>;
|
|
278
585
|
hasEvents: z.ZodOptional<z.ZodBoolean>;
|
|
586
|
+
eventsCount: z.ZodOptional<z.ZodNumber>;
|
|
279
587
|
hasGlobalWebhooks: z.ZodOptional<z.ZodBoolean>;
|
|
280
588
|
hasUdm: z.ZodOptional<z.ZodBoolean>;
|
|
281
589
|
isTest: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -283,56 +591,90 @@ export declare const AppliedToIntegrations: <Element extends z.ZodType>(elementS
|
|
|
283
591
|
isDeactivated: z.ZodOptional<z.ZodBoolean>;
|
|
284
592
|
authType: z.ZodOptional<z.ZodEnum<["integration-app-token", "membrane-token", "oauth2", "oauth1", "client-credentials", "proxy"]>>;
|
|
285
593
|
}, "strip", z.ZodTypeAny, {
|
|
286
|
-
key: string;
|
|
287
594
|
id: string;
|
|
288
595
|
name: string;
|
|
289
596
|
baseUri: string;
|
|
290
597
|
logoUri: string;
|
|
598
|
+
key?: string | undefined;
|
|
599
|
+
uuid?: string | undefined;
|
|
600
|
+
description?: string | undefined;
|
|
291
601
|
state?: import("../../types").WorkspaceElementState | undefined;
|
|
292
602
|
errors?: any[] | undefined;
|
|
603
|
+
revision?: string | undefined;
|
|
604
|
+
isDeactivated?: boolean | undefined;
|
|
605
|
+
createdAt?: string | undefined;
|
|
606
|
+
updatedAt?: string | undefined;
|
|
607
|
+
archivedAt?: string | undefined;
|
|
293
608
|
parameters?: any;
|
|
294
609
|
parametersSchema?: DataSchema | undefined;
|
|
295
|
-
archivedAt?: string | undefined;
|
|
296
610
|
isTest?: boolean | undefined;
|
|
297
611
|
connectorId?: string | undefined;
|
|
298
612
|
connectorVersion?: string | undefined;
|
|
299
|
-
authOptions?:
|
|
613
|
+
authOptions?: {
|
|
614
|
+
key: string;
|
|
615
|
+
type: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials";
|
|
616
|
+
description?: string | undefined;
|
|
617
|
+
title?: string | undefined;
|
|
618
|
+
ui?: {
|
|
619
|
+
schema?: any;
|
|
620
|
+
helpUri?: string | undefined;
|
|
621
|
+
} | undefined;
|
|
622
|
+
}[] | undefined;
|
|
300
623
|
oAuthCallbackUri?: string | undefined;
|
|
301
624
|
hasMissingParameters?: boolean | undefined;
|
|
302
625
|
hasDocumentation?: boolean | undefined;
|
|
303
626
|
hasOperations?: boolean | undefined;
|
|
627
|
+
operationsCount?: number | undefined;
|
|
304
628
|
hasData?: boolean | undefined;
|
|
629
|
+
dataCollectionsCount?: number | undefined;
|
|
305
630
|
hasEvents?: boolean | undefined;
|
|
631
|
+
eventsCount?: number | undefined;
|
|
306
632
|
hasGlobalWebhooks?: boolean | undefined;
|
|
307
633
|
hasUdm?: boolean | undefined;
|
|
308
634
|
appUuid?: string | undefined;
|
|
309
|
-
isDeactivated?: boolean | undefined;
|
|
310
635
|
authType?: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials" | undefined;
|
|
311
636
|
}, {
|
|
312
|
-
key: string;
|
|
313
637
|
id: string;
|
|
314
638
|
name: string;
|
|
315
639
|
baseUri: string;
|
|
316
640
|
logoUri: string;
|
|
641
|
+
key?: string | undefined;
|
|
642
|
+
uuid?: string | undefined;
|
|
643
|
+
description?: string | undefined;
|
|
317
644
|
state?: import("../../types").WorkspaceElementState | undefined;
|
|
318
645
|
errors?: any[] | undefined;
|
|
646
|
+
revision?: string | undefined;
|
|
647
|
+
isDeactivated?: boolean | undefined;
|
|
648
|
+
createdAt?: string | undefined;
|
|
649
|
+
updatedAt?: string | undefined;
|
|
650
|
+
archivedAt?: string | undefined;
|
|
319
651
|
parameters?: any;
|
|
320
652
|
parametersSchema?: DataSchema | undefined;
|
|
321
|
-
archivedAt?: string | undefined;
|
|
322
653
|
isTest?: boolean | undefined;
|
|
323
654
|
connectorId?: string | undefined;
|
|
324
655
|
connectorVersion?: string | undefined;
|
|
325
|
-
authOptions?:
|
|
656
|
+
authOptions?: {
|
|
657
|
+
key: string;
|
|
658
|
+
type: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials";
|
|
659
|
+
description?: string | undefined;
|
|
660
|
+
title?: string | undefined;
|
|
661
|
+
ui?: {
|
|
662
|
+
schema?: any;
|
|
663
|
+
helpUri?: string | undefined;
|
|
664
|
+
} | undefined;
|
|
665
|
+
}[] | undefined;
|
|
326
666
|
oAuthCallbackUri?: string | undefined;
|
|
327
667
|
hasMissingParameters?: boolean | undefined;
|
|
328
668
|
hasDocumentation?: boolean | undefined;
|
|
329
669
|
hasOperations?: boolean | undefined;
|
|
670
|
+
operationsCount?: number | undefined;
|
|
330
671
|
hasData?: boolean | undefined;
|
|
672
|
+
dataCollectionsCount?: number | undefined;
|
|
331
673
|
hasEvents?: boolean | undefined;
|
|
674
|
+
eventsCount?: number | undefined;
|
|
332
675
|
hasGlobalWebhooks?: boolean | undefined;
|
|
333
676
|
hasUdm?: boolean | undefined;
|
|
334
677
|
appUuid?: string | undefined;
|
|
335
|
-
isDeactivated?: boolean | undefined;
|
|
336
678
|
authType?: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials" | undefined;
|
|
337
679
|
}>;
|
|
338
680
|
}>, any>[k]; } : never, z.baseObjectInputType<{
|
|
@@ -340,15 +682,52 @@ export declare const AppliedToIntegrations: <Element extends z.ZodType>(elementS
|
|
|
340
682
|
integration: z.ZodObject<{
|
|
341
683
|
id: z.ZodString;
|
|
342
684
|
name: z.ZodString;
|
|
343
|
-
|
|
344
|
-
|
|
685
|
+
key: z.ZodOptional<z.ZodString>;
|
|
686
|
+
uuid: z.ZodOptional<z.ZodString>;
|
|
687
|
+
description: z.ZodOptional<z.ZodString>;
|
|
345
688
|
state: z.ZodOptional<z.ZodNativeEnum<typeof import("../../types").WorkspaceElementState>>;
|
|
346
689
|
errors: z.ZodOptional<z.ZodArray<any, "many">>;
|
|
690
|
+
revision: z.ZodOptional<z.ZodString>;
|
|
691
|
+
createdAt: z.ZodOptional<z.ZodString>;
|
|
692
|
+
updatedAt: z.ZodOptional<z.ZodString>;
|
|
347
693
|
} & {
|
|
348
694
|
logoUri: z.ZodString;
|
|
349
695
|
connectorId: z.ZodOptional<z.ZodString>;
|
|
350
696
|
connectorVersion: z.ZodOptional<z.ZodString>;
|
|
351
|
-
authOptions: z.ZodOptional<z.ZodArray<z.
|
|
697
|
+
authOptions: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
698
|
+
key: z.ZodString;
|
|
699
|
+
type: z.ZodEnum<["integration-app-token", "membrane-token", "oauth2", "oauth1", "client-credentials", "proxy"]>;
|
|
700
|
+
title: z.ZodOptional<z.ZodString>;
|
|
701
|
+
description: z.ZodOptional<z.ZodString>;
|
|
702
|
+
ui: z.ZodOptional<z.ZodObject<{
|
|
703
|
+
schema: z.ZodOptional<z.ZodAny>;
|
|
704
|
+
helpUri: z.ZodOptional<z.ZodString>;
|
|
705
|
+
}, "strip", z.ZodTypeAny, {
|
|
706
|
+
schema?: any;
|
|
707
|
+
helpUri?: string | undefined;
|
|
708
|
+
}, {
|
|
709
|
+
schema?: any;
|
|
710
|
+
helpUri?: string | undefined;
|
|
711
|
+
}>>;
|
|
712
|
+
}, "strip", z.ZodTypeAny, {
|
|
713
|
+
key: string;
|
|
714
|
+
type: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials";
|
|
715
|
+
description?: string | undefined;
|
|
716
|
+
title?: string | undefined;
|
|
717
|
+
ui?: {
|
|
718
|
+
schema?: any;
|
|
719
|
+
helpUri?: string | undefined;
|
|
720
|
+
} | undefined;
|
|
721
|
+
}, {
|
|
722
|
+
key: string;
|
|
723
|
+
type: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials";
|
|
724
|
+
description?: string | undefined;
|
|
725
|
+
title?: string | undefined;
|
|
726
|
+
ui?: {
|
|
727
|
+
schema?: any;
|
|
728
|
+
helpUri?: string | undefined;
|
|
729
|
+
} | undefined;
|
|
730
|
+
}>, "many">>;
|
|
352
731
|
oAuthCallbackUri: z.ZodOptional<z.ZodString>;
|
|
353
732
|
parametersSchema: z.ZodOptional<z.ZodType<DataSchema, z.ZodTypeDef, DataSchema>>;
|
|
354
733
|
parameters: z.ZodOptional<z.ZodAny>;
|
|
@@ -357,8 +736,11 @@ export declare const AppliedToIntegrations: <Element extends z.ZodType>(elementS
|
|
|
357
736
|
hasMissingParameters: z.ZodOptional<z.ZodBoolean>;
|
|
358
737
|
hasDocumentation: z.ZodOptional<z.ZodBoolean>;
|
|
359
738
|
hasOperations: z.ZodOptional<z.ZodBoolean>;
|
|
739
|
+
operationsCount: z.ZodOptional<z.ZodNumber>;
|
|
360
740
|
hasData: z.ZodOptional<z.ZodBoolean>;
|
|
741
|
+
dataCollectionsCount: z.ZodOptional<z.ZodNumber>;
|
|
361
742
|
hasEvents: z.ZodOptional<z.ZodBoolean>;
|
|
743
|
+
eventsCount: z.ZodOptional<z.ZodNumber>;
|
|
362
744
|
hasGlobalWebhooks: z.ZodOptional<z.ZodBoolean>;
|
|
363
745
|
hasUdm: z.ZodOptional<z.ZodBoolean>;
|
|
364
746
|
isTest: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -366,56 +748,90 @@ export declare const AppliedToIntegrations: <Element extends z.ZodType>(elementS
|
|
|
366
748
|
isDeactivated: z.ZodOptional<z.ZodBoolean>;
|
|
367
749
|
authType: z.ZodOptional<z.ZodEnum<["integration-app-token", "membrane-token", "oauth2", "oauth1", "client-credentials", "proxy"]>>;
|
|
368
750
|
}, "strip", z.ZodTypeAny, {
|
|
369
|
-
key: string;
|
|
370
751
|
id: string;
|
|
371
752
|
name: string;
|
|
372
753
|
baseUri: string;
|
|
373
754
|
logoUri: string;
|
|
755
|
+
key?: string | undefined;
|
|
756
|
+
uuid?: string | undefined;
|
|
757
|
+
description?: string | undefined;
|
|
374
758
|
state?: import("../../types").WorkspaceElementState | undefined;
|
|
375
759
|
errors?: any[] | undefined;
|
|
760
|
+
revision?: string | undefined;
|
|
761
|
+
isDeactivated?: boolean | undefined;
|
|
762
|
+
createdAt?: string | undefined;
|
|
763
|
+
updatedAt?: string | undefined;
|
|
764
|
+
archivedAt?: string | undefined;
|
|
376
765
|
parameters?: any;
|
|
377
766
|
parametersSchema?: DataSchema | undefined;
|
|
378
|
-
archivedAt?: string | undefined;
|
|
379
767
|
isTest?: boolean | undefined;
|
|
380
768
|
connectorId?: string | undefined;
|
|
381
769
|
connectorVersion?: string | undefined;
|
|
382
|
-
authOptions?:
|
|
770
|
+
authOptions?: {
|
|
771
|
+
key: string;
|
|
772
|
+
type: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials";
|
|
773
|
+
description?: string | undefined;
|
|
774
|
+
title?: string | undefined;
|
|
775
|
+
ui?: {
|
|
776
|
+
schema?: any;
|
|
777
|
+
helpUri?: string | undefined;
|
|
778
|
+
} | undefined;
|
|
779
|
+
}[] | undefined;
|
|
383
780
|
oAuthCallbackUri?: string | undefined;
|
|
384
781
|
hasMissingParameters?: boolean | undefined;
|
|
385
782
|
hasDocumentation?: boolean | undefined;
|
|
386
783
|
hasOperations?: boolean | undefined;
|
|
784
|
+
operationsCount?: number | undefined;
|
|
387
785
|
hasData?: boolean | undefined;
|
|
786
|
+
dataCollectionsCount?: number | undefined;
|
|
388
787
|
hasEvents?: boolean | undefined;
|
|
788
|
+
eventsCount?: number | undefined;
|
|
389
789
|
hasGlobalWebhooks?: boolean | undefined;
|
|
390
790
|
hasUdm?: boolean | undefined;
|
|
391
791
|
appUuid?: string | undefined;
|
|
392
|
-
isDeactivated?: boolean | undefined;
|
|
393
792
|
authType?: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials" | undefined;
|
|
394
793
|
}, {
|
|
395
|
-
key: string;
|
|
396
794
|
id: string;
|
|
397
795
|
name: string;
|
|
398
796
|
baseUri: string;
|
|
399
797
|
logoUri: string;
|
|
798
|
+
key?: string | undefined;
|
|
799
|
+
uuid?: string | undefined;
|
|
800
|
+
description?: string | undefined;
|
|
400
801
|
state?: import("../../types").WorkspaceElementState | undefined;
|
|
401
802
|
errors?: any[] | undefined;
|
|
803
|
+
revision?: string | undefined;
|
|
804
|
+
isDeactivated?: boolean | undefined;
|
|
805
|
+
createdAt?: string | undefined;
|
|
806
|
+
updatedAt?: string | undefined;
|
|
807
|
+
archivedAt?: string | undefined;
|
|
402
808
|
parameters?: any;
|
|
403
809
|
parametersSchema?: DataSchema | undefined;
|
|
404
|
-
archivedAt?: string | undefined;
|
|
405
810
|
isTest?: boolean | undefined;
|
|
406
811
|
connectorId?: string | undefined;
|
|
407
812
|
connectorVersion?: string | undefined;
|
|
408
|
-
authOptions?:
|
|
813
|
+
authOptions?: {
|
|
814
|
+
key: string;
|
|
815
|
+
type: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials";
|
|
816
|
+
description?: string | undefined;
|
|
817
|
+
title?: string | undefined;
|
|
818
|
+
ui?: {
|
|
819
|
+
schema?: any;
|
|
820
|
+
helpUri?: string | undefined;
|
|
821
|
+
} | undefined;
|
|
822
|
+
}[] | undefined;
|
|
409
823
|
oAuthCallbackUri?: string | undefined;
|
|
410
824
|
hasMissingParameters?: boolean | undefined;
|
|
411
825
|
hasDocumentation?: boolean | undefined;
|
|
412
826
|
hasOperations?: boolean | undefined;
|
|
827
|
+
operationsCount?: number | undefined;
|
|
413
828
|
hasData?: boolean | undefined;
|
|
829
|
+
dataCollectionsCount?: number | undefined;
|
|
414
830
|
hasEvents?: boolean | undefined;
|
|
831
|
+
eventsCount?: number | undefined;
|
|
415
832
|
hasGlobalWebhooks?: boolean | undefined;
|
|
416
833
|
hasUdm?: boolean | undefined;
|
|
417
834
|
appUuid?: string | undefined;
|
|
418
|
-
isDeactivated?: boolean | undefined;
|
|
419
835
|
authType?: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials" | undefined;
|
|
420
836
|
}>;
|
|
421
837
|
}> extends infer T_1 ? { [k_1 in keyof T_1]: z.baseObjectInputType<{
|
|
@@ -423,15 +839,52 @@ export declare const AppliedToIntegrations: <Element extends z.ZodType>(elementS
|
|
|
423
839
|
integration: z.ZodObject<{
|
|
424
840
|
id: z.ZodString;
|
|
425
841
|
name: z.ZodString;
|
|
426
|
-
|
|
427
|
-
|
|
842
|
+
key: z.ZodOptional<z.ZodString>;
|
|
843
|
+
uuid: z.ZodOptional<z.ZodString>;
|
|
844
|
+
description: z.ZodOptional<z.ZodString>;
|
|
428
845
|
state: z.ZodOptional<z.ZodNativeEnum<typeof import("../../types").WorkspaceElementState>>;
|
|
429
846
|
errors: z.ZodOptional<z.ZodArray<any, "many">>;
|
|
847
|
+
revision: z.ZodOptional<z.ZodString>;
|
|
848
|
+
createdAt: z.ZodOptional<z.ZodString>;
|
|
849
|
+
updatedAt: z.ZodOptional<z.ZodString>;
|
|
430
850
|
} & {
|
|
431
851
|
logoUri: z.ZodString;
|
|
432
852
|
connectorId: z.ZodOptional<z.ZodString>;
|
|
433
853
|
connectorVersion: z.ZodOptional<z.ZodString>;
|
|
434
|
-
authOptions: z.ZodOptional<z.ZodArray<z.
|
|
854
|
+
authOptions: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
855
|
+
key: z.ZodString;
|
|
856
|
+
type: z.ZodEnum<["integration-app-token", "membrane-token", "oauth2", "oauth1", "client-credentials", "proxy"]>;
|
|
857
|
+
title: z.ZodOptional<z.ZodString>;
|
|
858
|
+
description: z.ZodOptional<z.ZodString>;
|
|
859
|
+
ui: z.ZodOptional<z.ZodObject<{
|
|
860
|
+
schema: z.ZodOptional<z.ZodAny>;
|
|
861
|
+
helpUri: z.ZodOptional<z.ZodString>;
|
|
862
|
+
}, "strip", z.ZodTypeAny, {
|
|
863
|
+
schema?: any;
|
|
864
|
+
helpUri?: string | undefined;
|
|
865
|
+
}, {
|
|
866
|
+
schema?: any;
|
|
867
|
+
helpUri?: string | undefined;
|
|
868
|
+
}>>;
|
|
869
|
+
}, "strip", z.ZodTypeAny, {
|
|
870
|
+
key: string;
|
|
871
|
+
type: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials";
|
|
872
|
+
description?: string | undefined;
|
|
873
|
+
title?: string | undefined;
|
|
874
|
+
ui?: {
|
|
875
|
+
schema?: any;
|
|
876
|
+
helpUri?: string | undefined;
|
|
877
|
+
} | undefined;
|
|
878
|
+
}, {
|
|
879
|
+
key: string;
|
|
880
|
+
type: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials";
|
|
881
|
+
description?: string | undefined;
|
|
882
|
+
title?: string | undefined;
|
|
883
|
+
ui?: {
|
|
884
|
+
schema?: any;
|
|
885
|
+
helpUri?: string | undefined;
|
|
886
|
+
} | undefined;
|
|
887
|
+
}>, "many">>;
|
|
435
888
|
oAuthCallbackUri: z.ZodOptional<z.ZodString>;
|
|
436
889
|
parametersSchema: z.ZodOptional<z.ZodType<DataSchema, z.ZodTypeDef, DataSchema>>;
|
|
437
890
|
parameters: z.ZodOptional<z.ZodAny>;
|
|
@@ -440,8 +893,11 @@ export declare const AppliedToIntegrations: <Element extends z.ZodType>(elementS
|
|
|
440
893
|
hasMissingParameters: z.ZodOptional<z.ZodBoolean>;
|
|
441
894
|
hasDocumentation: z.ZodOptional<z.ZodBoolean>;
|
|
442
895
|
hasOperations: z.ZodOptional<z.ZodBoolean>;
|
|
896
|
+
operationsCount: z.ZodOptional<z.ZodNumber>;
|
|
443
897
|
hasData: z.ZodOptional<z.ZodBoolean>;
|
|
898
|
+
dataCollectionsCount: z.ZodOptional<z.ZodNumber>;
|
|
444
899
|
hasEvents: z.ZodOptional<z.ZodBoolean>;
|
|
900
|
+
eventsCount: z.ZodOptional<z.ZodNumber>;
|
|
445
901
|
hasGlobalWebhooks: z.ZodOptional<z.ZodBoolean>;
|
|
446
902
|
hasUdm: z.ZodOptional<z.ZodBoolean>;
|
|
447
903
|
isTest: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -449,56 +905,90 @@ export declare const AppliedToIntegrations: <Element extends z.ZodType>(elementS
|
|
|
449
905
|
isDeactivated: z.ZodOptional<z.ZodBoolean>;
|
|
450
906
|
authType: z.ZodOptional<z.ZodEnum<["integration-app-token", "membrane-token", "oauth2", "oauth1", "client-credentials", "proxy"]>>;
|
|
451
907
|
}, "strip", z.ZodTypeAny, {
|
|
452
|
-
key: string;
|
|
453
908
|
id: string;
|
|
454
909
|
name: string;
|
|
455
910
|
baseUri: string;
|
|
456
911
|
logoUri: string;
|
|
912
|
+
key?: string | undefined;
|
|
913
|
+
uuid?: string | undefined;
|
|
914
|
+
description?: string | undefined;
|
|
457
915
|
state?: import("../../types").WorkspaceElementState | undefined;
|
|
458
916
|
errors?: any[] | undefined;
|
|
917
|
+
revision?: string | undefined;
|
|
918
|
+
isDeactivated?: boolean | undefined;
|
|
919
|
+
createdAt?: string | undefined;
|
|
920
|
+
updatedAt?: string | undefined;
|
|
921
|
+
archivedAt?: string | undefined;
|
|
459
922
|
parameters?: any;
|
|
460
923
|
parametersSchema?: DataSchema | undefined;
|
|
461
|
-
archivedAt?: string | undefined;
|
|
462
924
|
isTest?: boolean | undefined;
|
|
463
925
|
connectorId?: string | undefined;
|
|
464
926
|
connectorVersion?: string | undefined;
|
|
465
|
-
authOptions?:
|
|
927
|
+
authOptions?: {
|
|
928
|
+
key: string;
|
|
929
|
+
type: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials";
|
|
930
|
+
description?: string | undefined;
|
|
931
|
+
title?: string | undefined;
|
|
932
|
+
ui?: {
|
|
933
|
+
schema?: any;
|
|
934
|
+
helpUri?: string | undefined;
|
|
935
|
+
} | undefined;
|
|
936
|
+
}[] | undefined;
|
|
466
937
|
oAuthCallbackUri?: string | undefined;
|
|
467
938
|
hasMissingParameters?: boolean | undefined;
|
|
468
939
|
hasDocumentation?: boolean | undefined;
|
|
469
940
|
hasOperations?: boolean | undefined;
|
|
941
|
+
operationsCount?: number | undefined;
|
|
470
942
|
hasData?: boolean | undefined;
|
|
943
|
+
dataCollectionsCount?: number | undefined;
|
|
471
944
|
hasEvents?: boolean | undefined;
|
|
945
|
+
eventsCount?: number | undefined;
|
|
472
946
|
hasGlobalWebhooks?: boolean | undefined;
|
|
473
947
|
hasUdm?: boolean | undefined;
|
|
474
948
|
appUuid?: string | undefined;
|
|
475
|
-
isDeactivated?: boolean | undefined;
|
|
476
949
|
authType?: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials" | undefined;
|
|
477
950
|
}, {
|
|
478
|
-
key: string;
|
|
479
951
|
id: string;
|
|
480
952
|
name: string;
|
|
481
953
|
baseUri: string;
|
|
482
954
|
logoUri: string;
|
|
955
|
+
key?: string | undefined;
|
|
956
|
+
uuid?: string | undefined;
|
|
957
|
+
description?: string | undefined;
|
|
483
958
|
state?: import("../../types").WorkspaceElementState | undefined;
|
|
484
959
|
errors?: any[] | undefined;
|
|
960
|
+
revision?: string | undefined;
|
|
961
|
+
isDeactivated?: boolean | undefined;
|
|
962
|
+
createdAt?: string | undefined;
|
|
963
|
+
updatedAt?: string | undefined;
|
|
964
|
+
archivedAt?: string | undefined;
|
|
485
965
|
parameters?: any;
|
|
486
966
|
parametersSchema?: DataSchema | undefined;
|
|
487
|
-
archivedAt?: string | undefined;
|
|
488
967
|
isTest?: boolean | undefined;
|
|
489
968
|
connectorId?: string | undefined;
|
|
490
969
|
connectorVersion?: string | undefined;
|
|
491
|
-
authOptions?:
|
|
970
|
+
authOptions?: {
|
|
971
|
+
key: string;
|
|
972
|
+
type: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials";
|
|
973
|
+
description?: string | undefined;
|
|
974
|
+
title?: string | undefined;
|
|
975
|
+
ui?: {
|
|
976
|
+
schema?: any;
|
|
977
|
+
helpUri?: string | undefined;
|
|
978
|
+
} | undefined;
|
|
979
|
+
}[] | undefined;
|
|
492
980
|
oAuthCallbackUri?: string | undefined;
|
|
493
981
|
hasMissingParameters?: boolean | undefined;
|
|
494
982
|
hasDocumentation?: boolean | undefined;
|
|
495
983
|
hasOperations?: boolean | undefined;
|
|
984
|
+
operationsCount?: number | undefined;
|
|
496
985
|
hasData?: boolean | undefined;
|
|
986
|
+
dataCollectionsCount?: number | undefined;
|
|
497
987
|
hasEvents?: boolean | undefined;
|
|
988
|
+
eventsCount?: number | undefined;
|
|
498
989
|
hasGlobalWebhooks?: boolean | undefined;
|
|
499
990
|
hasUdm?: boolean | undefined;
|
|
500
991
|
appUuid?: string | undefined;
|
|
501
|
-
isDeactivated?: boolean | undefined;
|
|
502
992
|
authType?: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials" | undefined;
|
|
503
993
|
}>;
|
|
504
994
|
}>[k_1]; } : never>, "many">;
|