@membranehq/sdk 0.7.3 → 0.7.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (88) hide show
  1. package/dist/bundle.d.ts +2283 -14038
  2. package/dist/bundle.js +3949 -4253
  3. package/dist/bundle.js.map +1 -1
  4. package/dist/dts/accessors/connections-accessors.d.ts +28 -28
  5. package/dist/dts/accessors/integrations-accessors.d.ts +28 -28
  6. package/dist/dts/config/index.d.ts +1 -11
  7. package/dist/dts/date-time/business-day.d.ts +2 -0
  8. package/dist/dts/date-time/business-day.test.d.ts +1 -0
  9. package/dist/dts/date-time/index.d.ts +1 -0
  10. package/dist/dts/entity-repository.d.ts +13 -64
  11. package/dist/dts/http-requests.d.ts +2 -14
  12. package/dist/dts/iframe.d.ts +4 -12
  13. package/dist/dts/scenario-templates/index.d.ts +60 -484
  14. package/dist/dts/workspace-elements/api/action-instances-api.d.ts +17 -248
  15. package/dist/dts/workspace-elements/api/action-run-log-records-api.d.ts +23 -339
  16. package/dist/dts/workspace-elements/api/actions-api.d.ts +52 -639
  17. package/dist/dts/workspace-elements/api/app-data-schema-instances-api.d.ts +8 -169
  18. package/dist/dts/workspace-elements/api/app-data-schemas-api.d.ts +19 -51
  19. package/dist/dts/workspace-elements/api/app-event-log-records-api.d.ts +15 -325
  20. package/dist/dts/workspace-elements/api/app-event-subscriptions-api.d.ts +13 -248
  21. package/dist/dts/workspace-elements/api/app-event-types-api.d.ts +28 -90
  22. package/dist/dts/workspace-elements/api/connections-api.d.ts +56 -892
  23. package/dist/dts/workspace-elements/api/customers-api.d.ts +8 -68
  24. package/dist/dts/workspace-elements/api/data-link-table-instances-api.d.ts +21 -369
  25. package/dist/dts/workspace-elements/api/data-link-tables-api.d.ts +17 -45
  26. package/dist/dts/workspace-elements/api/data-source-instances-api.d.ts +86 -1359
  27. package/dist/dts/workspace-elements/api/data-sources-api.d.ts +164 -880
  28. package/dist/dts/workspace-elements/api/external-event-log-records-api.d.ts +29 -502
  29. package/dist/dts/workspace-elements/api/external-event-pulls-api.d.ts +29 -506
  30. package/dist/dts/workspace-elements/api/external-event-subscriptions-api.d.ts +21 -381
  31. package/dist/dts/workspace-elements/api/external-events-api.d.ts +20 -425
  32. package/dist/dts/workspace-elements/api/field-mapping-instances-api.d.ts +125 -2363
  33. package/dist/dts/workspace-elements/api/field-mappings-api.d.ts +109 -666
  34. package/dist/dts/workspace-elements/api/flow-runs-api.d.ts +66 -1229
  35. package/dist/dts/workspace-elements/api/flows-api.d.ts +273 -1874
  36. package/dist/dts/workspace-elements/api/integrations-api.d.ts +45 -287
  37. package/dist/dts/workspace-elements/api/scenarios-api.d.ts +27 -450
  38. package/dist/dts/workspace-elements/api/screens-api.d.ts +11 -31
  39. package/dist/dts/workspace-elements/base/action-instances/types.d.ts +6 -60
  40. package/dist/dts/workspace-elements/base/action-run-log-records/types.d.ts +3 -28
  41. package/dist/dts/workspace-elements/base/actions/index.d.ts +10 -82
  42. package/dist/dts/workspace-elements/base/app-data-schema-instances/types.d.ts +4 -47
  43. package/dist/dts/workspace-elements/base/app-data-schemas/types.d.ts +3 -36
  44. package/dist/dts/workspace-elements/base/app-event-subscriptions/types.d.ts +6 -75
  45. package/dist/dts/workspace-elements/base/app-event-types/types.d.ts +6 -69
  46. package/dist/dts/workspace-elements/base/connections/types.d.ts +11 -56
  47. package/dist/dts/workspace-elements/base/connectors/types.d.ts +1 -11
  48. package/dist/dts/workspace-elements/base/customers/index.d.ts +1 -25
  49. package/dist/dts/workspace-elements/base/data-collections/schemas.d.ts +141 -1471
  50. package/dist/dts/workspace-elements/base/data-collections/types.d.ts +1 -29
  51. package/dist/dts/workspace-elements/base/data-link-table-instances/types.d.ts +6 -61
  52. package/dist/dts/workspace-elements/base/data-link-tables/types.d.ts +3 -32
  53. package/dist/dts/workspace-elements/base/data-source-instances/types.d.ts +60 -973
  54. package/dist/dts/workspace-elements/base/data-sources/index.d.ts +57 -2
  55. package/dist/dts/workspace-elements/base/external-event-log-records/types.d.ts +4 -26
  56. package/dist/dts/workspace-elements/base/external-event-pulls/types.d.ts +4 -30
  57. package/dist/dts/workspace-elements/base/external-event-subscriptions/types.d.ts +9 -161
  58. package/dist/dts/workspace-elements/base/external-events/types.d.ts +7 -121
  59. package/dist/dts/workspace-elements/base/field-mapping-instances/types.d.ts +10 -77
  60. package/dist/dts/workspace-elements/base/field-mappings/index.d.ts +71 -1
  61. package/dist/dts/workspace-elements/base/flow-instances/schemas.d.ts +16 -194
  62. package/dist/dts/workspace-elements/base/flow-instances/types.d.ts +15 -132
  63. package/dist/dts/workspace-elements/base/flow-runs/flow-node-runs.d.ts +29 -284
  64. package/dist/dts/workspace-elements/base/flow-runs/types.d.ts +13 -93
  65. package/dist/dts/workspace-elements/base/flows/index.d.ts +80 -1
  66. package/dist/dts/workspace-elements/base/flows/nodes/base.d.ts +30 -1
  67. package/dist/dts/workspace-elements/base/flows/nodes/index.d.ts +1 -1
  68. package/dist/dts/workspace-elements/base/integrations/types.d.ts +23 -539
  69. package/dist/dts/workspace-elements/base/scenarios/index.d.ts +11 -119
  70. package/dist/dts/workspace-elements/base/screens/types.d.ts +6 -31
  71. package/dist/dts/workspace-elements/types.d.ts +15 -153
  72. package/dist/index.browser.d.mts +7609 -26109
  73. package/dist/index.browser.d.ts +7609 -26109
  74. package/dist/index.browser.js +420 -419
  75. package/dist/index.browser.js.map +1 -1
  76. package/dist/index.browser.mjs +412 -415
  77. package/dist/index.browser.mjs.map +1 -1
  78. package/dist/index.node.d.mts +7537 -26047
  79. package/dist/index.node.d.ts +7537 -26047
  80. package/dist/index.node.js +420 -419
  81. package/dist/index.node.js.map +1 -1
  82. package/dist/index.node.mjs +412 -415
  83. package/dist/index.node.mjs.map +1 -1
  84. package/package.json +2 -2
  85. package/dist/dts/workspace-elements/base/data-sources/constants.d.ts +0 -4
  86. package/dist/dts/workspace-elements/base/data-sources/types.d.ts +0 -109
  87. package/dist/dts/workspace-elements/base/field-mappings/types.d.ts +0 -136
  88. package/dist/dts/workspace-elements/base/flows/types.d.ts +0 -248
@@ -4,61 +4,25 @@ export declare const CreateCustomerRequest: z.ZodObject<{
4
4
  internalId: z.ZodString;
5
5
  fields: z.ZodOptional<z.ZodAny>;
6
6
  credentials: z.ZodOptional<z.ZodAny>;
7
- }, "strip", z.ZodTypeAny, {
8
- internalId: string;
9
- name?: string | undefined;
10
- credentials?: any;
11
- fields?: any;
12
- }, {
13
- internalId: string;
14
- name?: string | undefined;
15
- credentials?: any;
16
- fields?: any;
17
- }>;
7
+ }, z.core.$strip>;
18
8
  export type CreateCustomerRequest = z.infer<typeof CreateCustomerRequest>;
19
9
  export declare const UpdateCustomerRequest: z.ZodObject<{
20
10
  name: z.ZodOptional<z.ZodString>;
21
11
  internalId: z.ZodOptional<z.ZodString>;
22
12
  fields: z.ZodOptional<z.ZodAny>;
23
13
  credentials: z.ZodOptional<z.ZodAny>;
24
- }, "strip", z.ZodTypeAny, {
25
- name?: string | undefined;
26
- credentials?: any;
27
- fields?: any;
28
- internalId?: string | undefined;
29
- }, {
30
- name?: string | undefined;
31
- credentials?: any;
32
- fields?: any;
33
- internalId?: string | undefined;
34
- }>;
14
+ }, z.core.$strip>;
35
15
  export type UpdateCustomerRequest = z.infer<typeof UpdateCustomerRequest>;
36
16
  export declare const FindCustomersQuery: z.ZodObject<{
37
- isTest: z.ZodOptional<z.ZodEffects<z.ZodBoolean, boolean, unknown>>;
38
- } & {
39
- limit: z.ZodOptional<z.ZodNumber>;
17
+ isTest: z.ZodOptional<z.ZodPipe<z.ZodTransform<boolean, unknown>, z.ZodBoolean>>;
18
+ limit: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
40
19
  cursor: z.ZodOptional<z.ZodString>;
41
- } & {
42
20
  search: z.ZodOptional<z.ZodString>;
43
- }, "strip", z.ZodTypeAny, {
44
- search?: string | undefined;
45
- limit?: number | undefined;
46
- cursor?: string | undefined;
47
- isTest?: boolean | undefined;
48
- }, {
49
- search?: string | undefined;
50
- limit?: number | undefined;
51
- cursor?: string | undefined;
52
- isTest?: unknown;
53
- }>;
21
+ }, z.core.$strip>;
54
22
  export type FindCustomersQuery = z.infer<typeof FindCustomersQuery>;
55
23
  export declare const CustomerSelector: z.ZodObject<{
56
24
  id: z.ZodString;
57
- }, "strip", z.ZodTypeAny, {
58
- id: string;
59
- }, {
60
- id: string;
61
- }>;
25
+ }, z.core.$strip>;
62
26
  export type CustomerSelector = z.infer<typeof CustomerSelector>;
63
27
  export type CreateUserRequest = CreateCustomerRequest;
64
28
  export type UpdateUserRequest = UpdateCustomerRequest;
@@ -76,31 +40,7 @@ export declare const CustomerApiResponse: z.ZodObject<{
76
40
  isBillable: z.ZodOptional<z.ZodBoolean>;
77
41
  createdAt: z.ZodOptional<z.ZodString>;
78
42
  archivedAt: z.ZodOptional<z.ZodString>;
79
- }, "strip", z.ZodTypeAny, {
80
- id: string;
81
- name: string;
82
- internalId: string;
83
- meta?: Record<string, any> | undefined;
84
- createdAt?: string | undefined;
85
- archivedAt?: string | undefined;
86
- credentials?: any;
87
- fields?: Record<string, any> | undefined;
88
- isTest?: boolean | undefined;
89
- lastActiveAt?: string | undefined;
90
- isBillable?: boolean | undefined;
91
- }, {
92
- id: string;
93
- name: string;
94
- internalId: string;
95
- meta?: Record<string, any> | undefined;
96
- createdAt?: string | undefined;
97
- archivedAt?: string | undefined;
98
- credentials?: any;
99
- fields?: Record<string, any> | undefined;
100
- isTest?: boolean | undefined;
101
- lastActiveAt?: string | undefined;
102
- isBillable?: boolean | undefined;
103
- }>;
104
- export type CustomerApiResponse = typeof CustomerApiResponse._type;
43
+ }, z.core.$strip>;
44
+ export type CustomerApiResponse = z.infer<typeof CustomerApiResponse>;
105
45
  export type Customer = CustomerApiResponse;
106
46
  export type User = Customer;
@@ -59,20 +59,18 @@ export declare const DataLinkTableInstanceApiResponse: z.ZodObject<{
59
59
  description: z.ZodOptional<z.ZodString>;
60
60
  meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
61
61
  name: z.ZodString;
62
- state: z.ZodOptional<z.ZodNativeEnum<typeof import("..").WorkspaceElementState>>;
63
- errors: z.ZodOptional<z.ZodArray<z.ZodType<import("../..").ErrorDataSchema, z.ZodTypeDef, import("../..").ErrorDataSchema>, "many">>;
62
+ state: z.ZodOptional<z.ZodEnum<typeof import("..").WorkspaceElementState>>;
63
+ errors: z.ZodOptional<z.ZodArray<z.ZodType<import("../..").ErrorDataSchema, unknown, z.core.$ZodTypeInternals<import("../..").ErrorDataSchema, unknown>>>>;
64
64
  revision: z.ZodOptional<z.ZodString>;
65
65
  createdAt: z.ZodOptional<z.ZodString>;
66
66
  updatedAt: z.ZodOptional<z.ZodString>;
67
67
  isDeactivated: z.ZodOptional<z.ZodBoolean>;
68
- } & {
69
68
  dataLinkTableId: z.ZodOptional<z.ZodString>;
70
69
  connectionId: z.ZodOptional<z.ZodString>;
71
70
  integrationId: z.ZodString;
72
71
  instanceKey: z.ZodOptional<z.ZodString>;
73
72
  userId: z.ZodString;
74
73
  archivedAt: z.ZodOptional<z.ZodString>;
75
- } & {
76
74
  dataLinkTable: z.ZodOptional<z.ZodObject<{
77
75
  id: z.ZodString;
78
76
  key: z.ZodOptional<z.ZodString>;
@@ -80,53 +78,23 @@ export declare const DataLinkTableInstanceApiResponse: z.ZodObject<{
80
78
  description: z.ZodOptional<z.ZodString>;
81
79
  meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
82
80
  name: z.ZodString;
83
- state: z.ZodOptional<z.ZodNativeEnum<typeof import("..").WorkspaceElementState>>;
84
- errors: z.ZodOptional<z.ZodArray<z.ZodType<import("../..").ErrorDataSchema, z.ZodTypeDef, import("../..").ErrorDataSchema>, "many">>;
81
+ state: z.ZodOptional<z.ZodEnum<typeof import("..").WorkspaceElementState>>;
82
+ errors: z.ZodOptional<z.ZodArray<z.ZodType<import("../..").ErrorDataSchema, unknown, z.core.$ZodTypeInternals<import("../..").ErrorDataSchema, unknown>>>>;
85
83
  revision: z.ZodOptional<z.ZodString>;
86
84
  createdAt: z.ZodOptional<z.ZodString>;
87
85
  updatedAt: z.ZodOptional<z.ZodString>;
88
86
  isDeactivated: z.ZodOptional<z.ZodBoolean>;
89
- } & {
90
87
  archivedAt: z.ZodOptional<z.ZodString>;
91
- }, "strip", z.ZodTypeAny, {
92
- id: string;
93
- name: string;
94
- key?: string | undefined;
95
- uuid?: string | undefined;
96
- description?: string | undefined;
97
- meta?: Record<string, any> | undefined;
98
- state?: import("..").WorkspaceElementState | undefined;
99
- errors?: import("../..").ErrorDataSchema[] | undefined;
100
- revision?: string | undefined;
101
- createdAt?: string | undefined;
102
- updatedAt?: string | undefined;
103
- archivedAt?: string | undefined;
104
- isDeactivated?: boolean | undefined;
105
- }, {
106
- id: string;
107
- name: string;
108
- key?: string | undefined;
109
- uuid?: string | undefined;
110
- description?: string | undefined;
111
- meta?: Record<string, any> | undefined;
112
- state?: import("..").WorkspaceElementState | undefined;
113
- errors?: import("../..").ErrorDataSchema[] | undefined;
114
- revision?: string | undefined;
115
- createdAt?: string | undefined;
116
- updatedAt?: string | undefined;
117
- archivedAt?: string | undefined;
118
- isDeactivated?: boolean | undefined;
119
- }>>;
88
+ }, z.core.$strip>>;
120
89
  connection: z.ZodOptional<z.ZodObject<{
121
90
  id: z.ZodString;
122
- } & {
123
91
  name: z.ZodString;
124
92
  userId: z.ZodString;
125
93
  isTest: z.ZodOptional<z.ZodBoolean>;
126
94
  disconnected: z.ZodOptional<z.ZodBoolean>;
127
95
  isDefunct: z.ZodOptional<z.ZodBoolean>;
128
- state: z.ZodOptional<z.ZodNativeEnum<typeof import("..").WorkspaceElementState>>;
129
- error: z.ZodOptional<z.ZodType<import("../..").ErrorDataSchema, z.ZodTypeDef, import("../..").ErrorDataSchema>>;
96
+ state: z.ZodOptional<z.ZodEnum<typeof import("..").WorkspaceElementState>>;
97
+ error: z.ZodOptional<z.ZodType<import("../..").ErrorDataSchema, unknown, z.core.$ZodTypeInternals<import("../..").ErrorDataSchema, unknown>>>;
130
98
  integrationId: z.ZodString;
131
99
  authOptionKey: z.ZodOptional<z.ZodString>;
132
100
  createdAt: z.ZodString;
@@ -136,43 +104,7 @@ export declare const DataLinkTableInstanceApiResponse: z.ZodObject<{
136
104
  archivedAt: z.ZodOptional<z.ZodString>;
137
105
  isDeactivated: z.ZodOptional<z.ZodBoolean>;
138
106
  meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
139
- }, "strip", z.ZodTypeAny, {
140
- id: string;
141
- name: string;
142
- createdAt: string;
143
- updatedAt: string;
144
- integrationId: string;
145
- userId: string;
146
- error?: import("../..").ErrorDataSchema | undefined;
147
- meta?: Record<string, any> | undefined;
148
- state?: import("..").WorkspaceElementState | undefined;
149
- archivedAt?: string | undefined;
150
- isDeactivated?: boolean | undefined;
151
- authOptionKey?: string | undefined;
152
- isTest?: boolean | undefined;
153
- disconnected?: boolean | undefined;
154
- isDefunct?: boolean | undefined;
155
- lastActiveAt?: string | undefined;
156
- nextCredentialsRefreshAt?: string | undefined;
157
- }, {
158
- id: string;
159
- name: string;
160
- createdAt: string;
161
- updatedAt: string;
162
- integrationId: string;
163
- userId: string;
164
- error?: import("../..").ErrorDataSchema | undefined;
165
- meta?: Record<string, any> | undefined;
166
- state?: import("..").WorkspaceElementState | undefined;
167
- archivedAt?: string | undefined;
168
- isDeactivated?: boolean | undefined;
169
- authOptionKey?: string | undefined;
170
- isTest?: boolean | undefined;
171
- disconnected?: boolean | undefined;
172
- isDefunct?: boolean | undefined;
173
- lastActiveAt?: string | undefined;
174
- nextCredentialsRefreshAt?: string | undefined;
175
- }>>;
107
+ }, z.core.$strip>>;
176
108
  integration: z.ZodOptional<z.ZodObject<{
177
109
  id: z.ZodString;
178
110
  key: z.ZodOptional<z.ZodString>;
@@ -180,12 +112,11 @@ export declare const DataLinkTableInstanceApiResponse: z.ZodObject<{
180
112
  description: z.ZodOptional<z.ZodString>;
181
113
  meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
182
114
  name: z.ZodString;
183
- state: z.ZodOptional<z.ZodNativeEnum<typeof import("..").WorkspaceElementState>>;
184
- errors: z.ZodOptional<z.ZodArray<z.ZodType<import("../..").ErrorDataSchema, z.ZodTypeDef, import("../..").ErrorDataSchema>, "many">>;
115
+ state: z.ZodOptional<z.ZodEnum<typeof import("..").WorkspaceElementState>>;
116
+ errors: z.ZodOptional<z.ZodArray<z.ZodType<import("../..").ErrorDataSchema, unknown, z.core.$ZodTypeInternals<import("../..").ErrorDataSchema, unknown>>>>;
185
117
  revision: z.ZodOptional<z.ZodString>;
186
118
  createdAt: z.ZodOptional<z.ZodString>;
187
119
  updatedAt: z.ZodOptional<z.ZodString>;
188
- } & {
189
120
  logoUri: z.ZodString;
190
121
  connectorId: z.ZodOptional<z.ZodString>;
191
122
  connectorVersion: z.ZodOptional<z.ZodString>;
@@ -205,72 +136,15 @@ export declare const DataLinkTableInstanceApiResponse: z.ZodObject<{
205
136
  isTest: z.ZodOptional<z.ZodBoolean>;
206
137
  appUuid: z.ZodOptional<z.ZodString>;
207
138
  isDeactivated: z.ZodOptional<z.ZodBoolean>;
208
- authType: z.ZodOptional<z.ZodEnum<["integration-app-token", "membrane-token", "oauth2", "oauth1", "client-credentials", "proxy"]>>;
209
- }, "strip", z.ZodTypeAny, {
210
- id: string;
211
- name: string;
212
- logoUri: string;
213
- key?: string | undefined;
214
- uuid?: string | undefined;
215
- description?: string | undefined;
216
- meta?: Record<string, any> | undefined;
217
- state?: import("..").WorkspaceElementState | undefined;
218
- errors?: import("../..").ErrorDataSchema[] | undefined;
219
- revision?: string | undefined;
220
- createdAt?: string | undefined;
221
- updatedAt?: string | undefined;
222
- archivedAt?: string | undefined;
223
- isDeactivated?: boolean | undefined;
224
- parameters?: any;
225
- connectorId?: string | undefined;
226
- connectorVersion?: string | undefined;
227
- oAuthCallbackUri?: string | undefined;
228
- hasMissingParameters?: boolean | undefined;
229
- hasDocumentation?: boolean | undefined;
230
- hasOperations?: boolean | undefined;
231
- operationsCount?: number | undefined;
232
- hasData?: boolean | undefined;
233
- dataCollectionsCount?: number | undefined;
234
- hasEvents?: boolean | undefined;
235
- eventsCount?: number | undefined;
236
- hasGlobalWebhooks?: boolean | undefined;
237
- hasUdm?: boolean | undefined;
238
- isTest?: boolean | undefined;
239
- appUuid?: string | undefined;
240
- authType?: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials" | undefined;
241
- }, {
242
- id: string;
243
- name: string;
244
- logoUri: string;
245
- key?: string | undefined;
246
- uuid?: string | undefined;
247
- description?: string | undefined;
248
- meta?: Record<string, any> | undefined;
249
- state?: import("..").WorkspaceElementState | undefined;
250
- errors?: import("../..").ErrorDataSchema[] | undefined;
251
- revision?: string | undefined;
252
- createdAt?: string | undefined;
253
- updatedAt?: string | undefined;
254
- archivedAt?: string | undefined;
255
- isDeactivated?: boolean | undefined;
256
- parameters?: any;
257
- connectorId?: string | undefined;
258
- connectorVersion?: string | undefined;
259
- oAuthCallbackUri?: string | undefined;
260
- hasMissingParameters?: boolean | undefined;
261
- hasDocumentation?: boolean | undefined;
262
- hasOperations?: boolean | undefined;
263
- operationsCount?: number | undefined;
264
- hasData?: boolean | undefined;
265
- dataCollectionsCount?: number | undefined;
266
- hasEvents?: boolean | undefined;
267
- eventsCount?: number | undefined;
268
- hasGlobalWebhooks?: boolean | undefined;
269
- hasUdm?: boolean | undefined;
270
- isTest?: boolean | undefined;
271
- appUuid?: string | undefined;
272
- authType?: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials" | undefined;
273
- }>>;
139
+ authType: z.ZodOptional<z.ZodEnum<{
140
+ proxy: "proxy";
141
+ "integration-app-token": "integration-app-token";
142
+ "membrane-token": "membrane-token";
143
+ oauth2: "oauth2";
144
+ oauth1: "oauth1";
145
+ "client-credentials": "client-credentials";
146
+ }>>;
147
+ }, z.core.$strip>>;
274
148
  user: z.ZodOptional<z.ZodObject<{
275
149
  id: z.ZodString;
276
150
  name: z.ZodString;
@@ -283,229 +157,7 @@ export declare const DataLinkTableInstanceApiResponse: z.ZodObject<{
283
157
  isBillable: z.ZodOptional<z.ZodBoolean>;
284
158
  createdAt: z.ZodOptional<z.ZodString>;
285
159
  archivedAt: z.ZodOptional<z.ZodString>;
286
- }, "strip", z.ZodTypeAny, {
287
- id: string;
288
- name: string;
289
- internalId: string;
290
- meta?: Record<string, any> | undefined;
291
- createdAt?: string | undefined;
292
- archivedAt?: string | undefined;
293
- credentials?: any;
294
- fields?: Record<string, any> | undefined;
295
- isTest?: boolean | undefined;
296
- lastActiveAt?: string | undefined;
297
- isBillable?: boolean | undefined;
298
- }, {
299
- id: string;
300
- name: string;
301
- internalId: string;
302
- meta?: Record<string, any> | undefined;
303
- createdAt?: string | undefined;
304
- archivedAt?: string | undefined;
305
- credentials?: any;
306
- fields?: Record<string, any> | undefined;
307
- isTest?: boolean | undefined;
308
- lastActiveAt?: string | undefined;
309
- isBillable?: boolean | undefined;
310
- }>>;
311
- }, "strip", z.ZodTypeAny, {
312
- id: string;
313
- name: string;
314
- integrationId: string;
315
- userId: string;
316
- key?: string | undefined;
317
- connection?: {
318
- id: string;
319
- name: string;
320
- createdAt: string;
321
- updatedAt: string;
322
- integrationId: string;
323
- userId: string;
324
- error?: import("../..").ErrorDataSchema | undefined;
325
- meta?: Record<string, any> | undefined;
326
- state?: import("..").WorkspaceElementState | undefined;
327
- archivedAt?: string | undefined;
328
- isDeactivated?: boolean | undefined;
329
- authOptionKey?: string | undefined;
330
- isTest?: boolean | undefined;
331
- disconnected?: boolean | undefined;
332
- isDefunct?: boolean | undefined;
333
- lastActiveAt?: string | undefined;
334
- nextCredentialsRefreshAt?: string | undefined;
335
- } | undefined;
336
- integration?: {
337
- id: string;
338
- name: string;
339
- logoUri: string;
340
- key?: string | undefined;
341
- uuid?: string | undefined;
342
- description?: string | undefined;
343
- meta?: Record<string, any> | undefined;
344
- state?: import("..").WorkspaceElementState | undefined;
345
- errors?: import("../..").ErrorDataSchema[] | undefined;
346
- revision?: string | undefined;
347
- createdAt?: string | undefined;
348
- updatedAt?: string | undefined;
349
- archivedAt?: string | undefined;
350
- isDeactivated?: boolean | undefined;
351
- parameters?: any;
352
- connectorId?: string | undefined;
353
- connectorVersion?: string | undefined;
354
- oAuthCallbackUri?: string | undefined;
355
- hasMissingParameters?: boolean | undefined;
356
- hasDocumentation?: boolean | undefined;
357
- hasOperations?: boolean | undefined;
358
- operationsCount?: number | undefined;
359
- hasData?: boolean | undefined;
360
- dataCollectionsCount?: number | undefined;
361
- hasEvents?: boolean | undefined;
362
- eventsCount?: number | undefined;
363
- hasGlobalWebhooks?: boolean | undefined;
364
- hasUdm?: boolean | undefined;
365
- isTest?: boolean | undefined;
366
- appUuid?: string | undefined;
367
- authType?: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials" | undefined;
368
- } | undefined;
369
- uuid?: string | undefined;
370
- description?: string | undefined;
371
- meta?: Record<string, any> | undefined;
372
- state?: import("..").WorkspaceElementState | undefined;
373
- errors?: import("../..").ErrorDataSchema[] | undefined;
374
- revision?: string | undefined;
375
- createdAt?: string | undefined;
376
- updatedAt?: string | undefined;
377
- archivedAt?: string | undefined;
378
- isDeactivated?: boolean | undefined;
379
- instanceKey?: string | undefined;
380
- connectionId?: string | undefined;
381
- user?: {
382
- id: string;
383
- name: string;
384
- internalId: string;
385
- meta?: Record<string, any> | undefined;
386
- createdAt?: string | undefined;
387
- archivedAt?: string | undefined;
388
- credentials?: any;
389
- fields?: Record<string, any> | undefined;
390
- isTest?: boolean | undefined;
391
- lastActiveAt?: string | undefined;
392
- isBillable?: boolean | undefined;
393
- } | undefined;
394
- dataLinkTableId?: string | undefined;
395
- dataLinkTable?: {
396
- id: string;
397
- name: string;
398
- key?: string | undefined;
399
- uuid?: string | undefined;
400
- description?: string | undefined;
401
- meta?: Record<string, any> | undefined;
402
- state?: import("..").WorkspaceElementState | undefined;
403
- errors?: import("../..").ErrorDataSchema[] | undefined;
404
- revision?: string | undefined;
405
- createdAt?: string | undefined;
406
- updatedAt?: string | undefined;
407
- archivedAt?: string | undefined;
408
- isDeactivated?: boolean | undefined;
409
- } | undefined;
410
- }, {
411
- id: string;
412
- name: string;
413
- integrationId: string;
414
- userId: string;
415
- key?: string | undefined;
416
- connection?: {
417
- id: string;
418
- name: string;
419
- createdAt: string;
420
- updatedAt: string;
421
- integrationId: string;
422
- userId: string;
423
- error?: import("../..").ErrorDataSchema | undefined;
424
- meta?: Record<string, any> | undefined;
425
- state?: import("..").WorkspaceElementState | undefined;
426
- archivedAt?: string | undefined;
427
- isDeactivated?: boolean | undefined;
428
- authOptionKey?: string | undefined;
429
- isTest?: boolean | undefined;
430
- disconnected?: boolean | undefined;
431
- isDefunct?: boolean | undefined;
432
- lastActiveAt?: string | undefined;
433
- nextCredentialsRefreshAt?: string | undefined;
434
- } | undefined;
435
- integration?: {
436
- id: string;
437
- name: string;
438
- logoUri: string;
439
- key?: string | undefined;
440
- uuid?: string | undefined;
441
- description?: string | undefined;
442
- meta?: Record<string, any> | undefined;
443
- state?: import("..").WorkspaceElementState | undefined;
444
- errors?: import("../..").ErrorDataSchema[] | undefined;
445
- revision?: string | undefined;
446
- createdAt?: string | undefined;
447
- updatedAt?: string | undefined;
448
- archivedAt?: string | undefined;
449
- isDeactivated?: boolean | undefined;
450
- parameters?: any;
451
- connectorId?: string | undefined;
452
- connectorVersion?: string | undefined;
453
- oAuthCallbackUri?: string | undefined;
454
- hasMissingParameters?: boolean | undefined;
455
- hasDocumentation?: boolean | undefined;
456
- hasOperations?: boolean | undefined;
457
- operationsCount?: number | undefined;
458
- hasData?: boolean | undefined;
459
- dataCollectionsCount?: number | undefined;
460
- hasEvents?: boolean | undefined;
461
- eventsCount?: number | undefined;
462
- hasGlobalWebhooks?: boolean | undefined;
463
- hasUdm?: boolean | undefined;
464
- isTest?: boolean | undefined;
465
- appUuid?: string | undefined;
466
- authType?: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials" | undefined;
467
- } | undefined;
468
- uuid?: string | undefined;
469
- description?: string | undefined;
470
- meta?: Record<string, any> | undefined;
471
- state?: import("..").WorkspaceElementState | undefined;
472
- errors?: import("../..").ErrorDataSchema[] | undefined;
473
- revision?: string | undefined;
474
- createdAt?: string | undefined;
475
- updatedAt?: string | undefined;
476
- archivedAt?: string | undefined;
477
- isDeactivated?: boolean | undefined;
478
- instanceKey?: string | undefined;
479
- connectionId?: string | undefined;
480
- user?: {
481
- id: string;
482
- name: string;
483
- internalId: string;
484
- meta?: Record<string, any> | undefined;
485
- createdAt?: string | undefined;
486
- archivedAt?: string | undefined;
487
- credentials?: any;
488
- fields?: Record<string, any> | undefined;
489
- isTest?: boolean | undefined;
490
- lastActiveAt?: string | undefined;
491
- isBillable?: boolean | undefined;
492
- } | undefined;
493
- dataLinkTableId?: string | undefined;
494
- dataLinkTable?: {
495
- id: string;
496
- name: string;
497
- key?: string | undefined;
498
- uuid?: string | undefined;
499
- description?: string | undefined;
500
- meta?: Record<string, any> | undefined;
501
- state?: import("..").WorkspaceElementState | undefined;
502
- errors?: import("../..").ErrorDataSchema[] | undefined;
503
- revision?: string | undefined;
504
- createdAt?: string | undefined;
505
- updatedAt?: string | undefined;
506
- archivedAt?: string | undefined;
507
- isDeactivated?: boolean | undefined;
508
- } | undefined;
509
- }>;
160
+ }, z.core.$strip>>;
161
+ }, z.core.$strip>;
510
162
  export type DataLinkTableInstanceApiResponse = z.infer<typeof DataLinkTableInstanceApiResponse>;
511
163
  export type DataLinkTableInstance = DataLinkTableInstanceApiResponse;
@@ -1,52 +1,24 @@
1
+ import { z } from 'zod';
1
2
  import { PaginationQuery } from '../../entity-repository';
2
3
  import { BaseDataLinkTable } from '../base/data-link-tables/types';
3
4
  export interface FindDataLinkTablesQuery extends PaginationQuery {
4
5
  }
5
6
  export type CreateDataLinkTableRequest = Omit<BaseDataLinkTable, 'id' | 'userId'>;
6
7
  export type UpdateDataLinkTableRequest = CreateDataLinkTableRequest;
7
- export declare const DataLinkTableApiResponse: import("zod").ZodObject<{
8
- id: import("zod").ZodString;
9
- key: import("zod").ZodOptional<import("zod").ZodString>;
10
- uuid: import("zod").ZodOptional<import("zod").ZodString>;
11
- description: import("zod").ZodOptional<import("zod").ZodString>;
12
- meta: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodAny>>;
13
- name: import("zod").ZodString;
14
- state: import("zod").ZodOptional<import("zod").ZodNativeEnum<typeof import("..").WorkspaceElementState>>;
15
- errors: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodType<import("../..").ErrorDataSchema, import("zod").ZodTypeDef, import("../..").ErrorDataSchema>, "many">>;
16
- revision: import("zod").ZodOptional<import("zod").ZodString>;
17
- createdAt: import("zod").ZodOptional<import("zod").ZodString>;
18
- updatedAt: import("zod").ZodOptional<import("zod").ZodString>;
19
- isDeactivated: import("zod").ZodOptional<import("zod").ZodBoolean>;
20
- } & {
21
- archivedAt: import("zod").ZodOptional<import("zod").ZodString>;
22
- }, "strip", import("zod").ZodTypeAny, {
23
- id: string;
24
- name: string;
25
- key?: string | undefined;
26
- uuid?: string | undefined;
27
- description?: string | undefined;
28
- meta?: Record<string, any> | undefined;
29
- state?: import("..").WorkspaceElementState | undefined;
30
- errors?: import("../..").ErrorDataSchema[] | undefined;
31
- revision?: string | undefined;
32
- createdAt?: string | undefined;
33
- updatedAt?: string | undefined;
34
- archivedAt?: string | undefined;
35
- isDeactivated?: boolean | undefined;
36
- }, {
37
- id: string;
38
- name: string;
39
- key?: string | undefined;
40
- uuid?: string | undefined;
41
- description?: string | undefined;
42
- meta?: Record<string, any> | undefined;
43
- state?: import("..").WorkspaceElementState | undefined;
44
- errors?: import("../..").ErrorDataSchema[] | undefined;
45
- revision?: string | undefined;
46
- createdAt?: string | undefined;
47
- updatedAt?: string | undefined;
48
- archivedAt?: string | undefined;
49
- isDeactivated?: boolean | undefined;
50
- }>;
51
- export type DataLinkTableApiResponse = typeof DataLinkTableApiResponse._type;
8
+ export declare const DataLinkTableApiResponse: z.ZodObject<{
9
+ id: z.ZodString;
10
+ key: z.ZodOptional<z.ZodString>;
11
+ uuid: z.ZodOptional<z.ZodString>;
12
+ description: z.ZodOptional<z.ZodString>;
13
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
14
+ name: z.ZodString;
15
+ state: z.ZodOptional<z.ZodEnum<typeof import("..").WorkspaceElementState>>;
16
+ errors: z.ZodOptional<z.ZodArray<z.ZodType<import("../..").ErrorDataSchema, unknown, z.core.$ZodTypeInternals<import("../..").ErrorDataSchema, unknown>>>>;
17
+ revision: z.ZodOptional<z.ZodString>;
18
+ createdAt: z.ZodOptional<z.ZodString>;
19
+ updatedAt: z.ZodOptional<z.ZodString>;
20
+ isDeactivated: z.ZodOptional<z.ZodBoolean>;
21
+ archivedAt: z.ZodOptional<z.ZodString>;
22
+ }, z.core.$strip>;
23
+ export type DataLinkTableApiResponse = z.infer<typeof DataLinkTableApiResponse>;
52
24
  export type DataLinkTable = DataLinkTableApiResponse;