@membranehq/sdk 0.5.0 → 0.5.2

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