@membranehq/sdk 0.8.0 → 0.8.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 (38) hide show
  1. package/dist/bundle.d.ts +346 -118
  2. package/dist/bundle.js +410 -235
  3. package/dist/bundle.js.map +1 -1
  4. package/dist/dts/accessors/action-instances-accessors.d.ts +1 -2
  5. package/dist/dts/accessors/scenarios-accessors.d.ts +6 -4
  6. package/dist/dts/alerts/types.d.ts +3 -1
  7. package/dist/dts/client.d.ts +3 -3
  8. package/dist/dts/sse/workspace-elements.d.ts +7 -0
  9. package/dist/dts/webhooks/types.d.ts +5 -2
  10. package/dist/dts/workspace-elements/api/action-run-log-records-api.d.ts +5 -0
  11. package/dist/dts/workspace-elements/api/actions-api.d.ts +334 -8
  12. package/dist/dts/workspace-elements/api/data-source-instances-api.d.ts +1 -1
  13. package/dist/dts/workspace-elements/api/data-sources-api.d.ts +4 -4
  14. package/dist/dts/workspace-elements/api/field-mapping-instances-api.d.ts +2 -2
  15. package/dist/dts/workspace-elements/api/field-mappings-api.d.ts +4 -4
  16. package/dist/dts/workspace-elements/api/index.d.ts +1 -2
  17. package/dist/dts/workspace-elements/api/{scenarios-api.d.ts → packages-api.d.ts} +8 -7
  18. package/dist/dts/workspace-elements/base/action-instances/types.d.ts +14 -9
  19. package/dist/dts/workspace-elements/base/actions/index.d.ts +46 -0
  20. package/dist/dts/workspace-elements/base/data-sources/index.d.ts +2 -2
  21. package/dist/dts/workspace-elements/base/field-mappings/index.d.ts +2 -2
  22. package/dist/dts/workspace-elements/base/index.d.ts +1 -2
  23. package/dist/dts/workspace-elements/base/{scenarios → packages}/index.d.ts +8 -8
  24. package/dist/dts/workspace-elements/types.d.ts +26 -1
  25. package/dist/index.browser.d.mts +742 -453
  26. package/dist/index.browser.d.ts +742 -453
  27. package/dist/index.browser.js +139 -127
  28. package/dist/index.browser.js.map +1 -1
  29. package/dist/index.browser.mjs +128 -121
  30. package/dist/index.browser.mjs.map +1 -1
  31. package/dist/index.node.d.mts +742 -453
  32. package/dist/index.node.d.ts +742 -453
  33. package/dist/index.node.js +139 -127
  34. package/dist/index.node.js.map +1 -1
  35. package/dist/index.node.mjs +128 -121
  36. package/dist/index.node.mjs.map +1 -1
  37. package/package.json +2 -2
  38. package/dist/dts/workspace-elements/api/action-instances-api.d.ts +0 -94
@@ -102,77 +102,6 @@ declare class CustomCodeError extends MembraneError {
102
102
  constructor(arg: ErrorConstructorArg);
103
103
  }
104
104
 
105
- interface MembraneClientOptions {
106
- token?: string;
107
- fetchToken?: () => Promise<string>;
108
- credentials?: any;
109
- fetchCredentials?: () => Promise<any>;
110
- apiUri?: string;
111
- uiUri?: string;
112
- accessToken?: string;
113
- }
114
- declare class MembraneApiClient {
115
- apiUri: string;
116
- uiUri: string;
117
- token?: string;
118
- protected fetchToken?: () => Promise<string>;
119
- constructor({ uiUri, apiUri, accessToken, token, fetchToken, fetchCredentials, credentials, }?: MembraneClientOptions);
120
- setCredentials(credentials: any): Promise<any>;
121
- getToken(): Promise<string>;
122
- get<T = any>(uri: string, queryParams?: Record<string, any>, options?: AxiosRequestConfig): Promise<T>;
123
- post<T = any>(uri: string, data?: any, options?: AxiosRequestConfig): Promise<T>;
124
- put<T = any>(uri: string, data?: any, options?: AxiosRequestConfig): Promise<T>;
125
- patch<T = any>(uri: string, data?: any, options?: AxiosRequestConfig): Promise<T>;
126
- delete<T = any>(uri: string, data?: any, options?: AxiosRequestConfig): Promise<T>;
127
- createEventSource(uri: string, queryParams?: Record<string, any>): Promise<EventSource>;
128
- getEmbedUri(page: string, pageParams?: Record<string, any>, options?: {
129
- embedMode: 'isolated-embed' | 'popup-embed';
130
- }): Promise<string>;
131
- private makeApiRequest;
132
- private handleRequestError;
133
- }
134
-
135
- declare const zodBooleanCoercion: () => z.ZodPipe<z.ZodTransform<boolean, unknown>, z.ZodBoolean>;
136
- declare const IncludeArchivedQuery: z.ZodObject<{
137
- includeArchived: z.ZodOptional<z.ZodPipe<z.ZodTransform<boolean, unknown>, z.ZodBoolean>>;
138
- }, z.core.$strip>;
139
- type IncludeArchivedQuery = z.infer<typeof IncludeArchivedQuery>;
140
- declare const SearchQuery: z.ZodObject<{
141
- search: z.ZodOptional<z.ZodString>;
142
- }, z.core.$strip>;
143
- type SearchQuery = z.infer<typeof SearchQuery>;
144
- declare const PaginationQuery: z.ZodObject<{
145
- limit: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
146
- cursor: z.ZodOptional<z.ZodString>;
147
- }, z.core.$strip>;
148
- type PaginationQuery = z.infer<typeof PaginationQuery>;
149
- declare const CommonListElementsQuery: z.ZodObject<{
150
- search: z.ZodOptional<z.ZodString>;
151
- limit: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
152
- cursor: z.ZodOptional<z.ZodString>;
153
- includeArchived: z.ZodOptional<z.ZodPipe<z.ZodTransform<boolean, unknown>, z.ZodBoolean>>;
154
- }, z.core.$strip>;
155
- type CommonListElementsQuery = z.infer<typeof CommonListElementsQuery>;
156
- declare const CommonInstancesListQuery: z.ZodObject<{
157
- search: z.ZodOptional<z.ZodString>;
158
- limit: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
159
- cursor: z.ZodOptional<z.ZodString>;
160
- includeArchived: z.ZodOptional<z.ZodPipe<z.ZodTransform<boolean, unknown>, z.ZodBoolean>>;
161
- userId: z.ZodOptional<z.ZodString>;
162
- instanceKey: z.ZodOptional<z.ZodString>;
163
- }, z.core.$strip>;
164
- type CommonInstancesListQuery = z.infer<typeof CommonInstancesListQuery>;
165
- declare const CommonIntegrationOrConnectionQuery: z.ZodObject<{
166
- connectionId: z.ZodOptional<z.ZodString>;
167
- integrationId: z.ZodOptional<z.ZodString>;
168
- integrationKey: z.ZodOptional<z.ZodString>;
169
- }, z.core.$strip>;
170
- type CommonIntegrationOrConnectionQuery = z.infer<typeof CommonIntegrationOrConnectionQuery>;
171
- declare class PaginationResponse<T> {
172
- items: T[];
173
- cursor?: string;
174
- }
175
-
176
105
  interface ConfigurationStateResult {
177
106
  state: ConfigurationState;
178
107
  message?: string;
@@ -190,7 +119,7 @@ declare enum WorkspaceElementType {
190
119
  FlowInstance = "flow-instance",
191
120
  FlowRun = "flow-run",
192
121
  Action = "action",
193
- Scenario = "scenario",
122
+ Package = "package",
194
123
  ActionInstance = "action-instance",
195
124
  Connection = "connection",
196
125
  FieldMapping = "field-mapping",
@@ -293,6 +222,31 @@ declare const BaseIntegrationLevelMembraneInterfaceReadOnlyProperties: z.ZodObje
293
222
  isDeactivated: z.ZodOptional<z.ZodBoolean>;
294
223
  isCustomized: z.ZodOptional<z.ZodBoolean>;
295
224
  }, z.core.$strip>;
225
+ declare const IntegrationLevelMembraneInterfaceSelectorQuery: z.ZodObject<{
226
+ integrationKey: z.ZodOptional<z.ZodString>;
227
+ connectionId: z.ZodOptional<z.ZodString>;
228
+ instanceKey: z.ZodOptional<z.ZodString>;
229
+ }, z.core.$strip>;
230
+ type IntegrationLevelMembraneInterfaceSelectorQuery = z.infer<typeof IntegrationLevelMembraneInterfaceSelectorQuery>;
231
+ declare const FindIntegrationLevelMembraneInterfaceQuery: z.ZodObject<{
232
+ integrationKey: z.ZodOptional<z.ZodString>;
233
+ connectionId: z.ZodOptional<z.ZodString>;
234
+ instanceKey: z.ZodOptional<z.ZodString>;
235
+ search: z.ZodOptional<z.ZodString>;
236
+ limit: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
237
+ cursor: z.ZodOptional<z.ZodString>;
238
+ includeArchived: z.ZodOptional<z.ZodPipe<z.ZodTransform<boolean, unknown>, z.ZodBoolean>>;
239
+ layer: z.ZodOptional<z.ZodEnum<{
240
+ connection: "connection";
241
+ integration: "integration";
242
+ universal: "universal";
243
+ }>>;
244
+ integrationId: z.ZodOptional<z.ZodString>;
245
+ parentId: z.ZodOptional<z.ZodString>;
246
+ universalParentId: z.ZodOptional<z.ZodString>;
247
+ userId: z.ZodOptional<z.ZodString>;
248
+ }, z.core.$strip>;
249
+ type FindIntegrationLevelMembraneInterfaceQuery = z.infer<typeof FindIntegrationLevelMembraneInterfaceQuery>;
296
250
  declare const BaseIntegrationLevelMembraneInterface: z.ZodObject<{
297
251
  id: z.ZodString;
298
252
  key: z.ZodOptional<z.ZodString>;
@@ -321,166 +275,45 @@ interface WorkspaceElementDependency extends WorkspaceElementReference {
321
275
  data?: unknown;
322
276
  }
323
277
 
324
- interface BaseElementInstance {
325
- id: string;
326
- }
327
- interface ElementInstanceSelector {
328
- id?: string;
329
- autoCreate?: boolean;
330
- instanceKey?: string;
331
- userId?: string;
332
- parentKey?: string;
333
- parentId?: string;
334
- }
335
- interface IntegrationSpecificElementSelector {
336
- id?: string;
337
- key?: string;
338
- integrationId?: string;
339
- integrationKey?: string;
340
- }
341
- type SelectorType = {
342
- id?: string;
343
- } | string;
344
- declare class ElementAccessor<Element, UpdateRequest, Selector extends SelectorType = string> {
345
- protected options: {
346
- client: MembraneApiClient;
347
- path: string;
348
- selector: string | Selector;
349
- };
350
- constructor(options: {
351
- client: MembraneApiClient;
352
- path: string;
353
- selector: string | Selector;
354
- });
355
- getUniqueIdentifier(): string;
356
- get(): Promise<Element>;
357
- put(data: UpdateRequest): Promise<Element>;
358
- patch(data: Partial<UpdateRequest>): Promise<Element>;
359
- archive(): Promise<void>;
360
- restore(): Promise<Element>;
361
- getPath(operation?: string): string;
362
- }
363
- declare class ElementListAccessor<Element, FindQuery, CreateRequest> {
364
- private client;
365
- private path;
366
- constructor(client: MembraneApiClient, path: string);
367
- find(query?: FindQuery): Promise<PaginationResponse<Element>>;
368
- findAll(query?: Omit<FindQuery, 'limit'>): Promise<Element[]>;
369
- create(data: CreateRequest): Promise<Element>;
370
- }
371
- declare class ElementInstanceListAccessor<ElementInstance extends BaseElementInstance, FindQuery> {
372
- protected client: MembraneApiClient;
373
- private path;
374
- constructor(client: MembraneApiClient, path: string);
375
- find(query?: FindQuery): Promise<PaginationResponse<ElementInstance>>;
376
- }
377
- declare class ElementInstanceAccessor<ElementInstance extends BaseElementInstance, Selector extends {
378
- id?: string;
379
- }, CreateRequest, UpdateRequest> {
380
- protected options: {
381
- client: MembraneApiClient;
382
- instancePath: string;
383
- selector: string | Selector;
384
- type?: WorkspaceElementType;
385
- };
386
- private id;
387
- constructor(options: {
388
- client: MembraneApiClient;
389
- instancePath: string;
390
- selector: string | Selector;
391
- type?: WorkspaceElementType;
392
- });
393
- getUniqueIdentifier(): string;
394
- get(): Promise<ElementInstance>;
395
- getId(): Promise<string>;
396
- create(data?: CreateRequest): Promise<ElementInstance>;
397
- put(data: CreateRequest): Promise<ElementInstance>;
398
- patch(data: UpdateRequest): Promise<ElementInstance>;
399
- archive(): Promise<void>;
400
- delete(): Promise<void>;
401
- restore(): Promise<ElementInstance>;
402
- protected getPath(operation?: string): string;
403
- private getSelector;
404
- }
405
-
406
- declare class IntegrationLevelElementAccessor<Element, UpdateElementData> {
407
- protected client: MembraneApiClient;
408
- protected integrationSelector: string;
409
- protected elementSelector: string;
410
- protected elementKey: string;
411
- protected endpoint: string;
412
- constructor(client: MembraneApiClient, integrationSelector: string, elementSelector: string, elementKey: string);
413
- getUniqueIdentifier(): string;
414
- get(): Promise<Element>;
415
- patch(data: Partial<UpdateElementData>): Promise<Element>;
416
- put(data: UpdateElementData): Promise<Element>;
417
- archive(): Promise<void>;
418
- reset(): Promise<Element>;
419
- }
420
- declare class IntegrationLevelElementsListAccessor<Element, Query, CreateElementData> {
421
- protected client: MembraneApiClient;
422
- protected integrationSelector: string;
423
- protected elementKey: string;
424
- protected endpoint: string;
425
- constructor(client: MembraneApiClient, integrationSelector: string, elementKey: string);
426
- list(query?: Query): Promise<PaginationResponse<Element>>;
427
- create(data: CreateElementData): Promise<Element>;
428
- }
429
-
430
- declare class ActionsAccessor extends ElementListAccessor<Action, FindActionsQuery, CreateActionRequest> {
431
- constructor(client: MembraneApiClient);
432
- }
433
- declare class ActionAccessor extends ElementAccessor<Action, UpdateActionRequest, ActionSelector> {
434
- constructor(client: MembraneApiClient, selector: ActionSelector | string);
435
- reset(): Promise<any>;
436
- }
437
- declare class IntegrationLevelActionAccessor extends IntegrationLevelElementAccessor<Action, UpdateActionRequest> {
438
- client: MembraneApiClient;
439
- integrationSelector: string;
440
- actionSelector: string;
441
- constructor(client: MembraneApiClient, integrationSelector: string, actionSelector: string);
442
- }
443
- declare class IntegrationLevelActionsListAccessor extends IntegrationLevelElementsListAccessor<Action, Omit<FindActionsQuery, 'integrationId'>, Omit<CreateActionRequest, 'integrationId'>> {
444
- client: MembraneApiClient;
445
- integrationSelector: string;
446
- constructor(client: MembraneApiClient, integrationSelector: string);
447
- }
448
-
449
- interface OpenConfigurationOptions {
450
- onClose?: (...args: any[]) => void;
451
- showPoweredBy?: boolean;
452
- }
453
-
454
- type InstanceKeyQuery = {
455
- instanceKey?: string;
456
- };
457
-
458
- declare class ConnectionLevelElementAccessor<Element, UpdateElement> {
459
- protected client: MembraneApiClient;
460
- protected connectionSelector: string;
461
- protected selector: string;
462
- protected elementKey: string;
463
- protected query: Record<string, any>;
464
- protected endpoint: string;
465
- constructor(client: MembraneApiClient, connectionSelector: string, selector: string, elementKey: string, query: Record<string, any>);
466
- protected uri(path?: string, query?: {}): string;
467
- getUniqueIdentifier(): string;
468
- get(query?: {
469
- autoCreate?: boolean;
470
- }): Promise<Element>;
471
- create(): Promise<Element>;
472
- patch(data: Partial<UpdateElement>): Promise<Element>;
473
- put(data: UpdateElement): Promise<Element>;
474
- archive(): Promise<void>;
475
- reset(): Promise<Element>;
476
- setup(): Promise<Element>;
477
- }
478
- declare class ConnectionLevelElementsListAccessor<Element, Query> {
479
- protected client: MembraneApiClient;
480
- protected connectionSelector: string;
481
- protected elementKey: string;
482
- constructor(client: MembraneApiClient, connectionSelector: string, elementKey: string);
483
- list(query?: Query): Promise<PaginationResponse<Element[]>>;
278
+ declare const zodBooleanCoercion: () => z.ZodPipe<z.ZodTransform<boolean, unknown>, z.ZodBoolean>;
279
+ declare const IncludeArchivedQuery: z.ZodObject<{
280
+ includeArchived: z.ZodOptional<z.ZodPipe<z.ZodTransform<boolean, unknown>, z.ZodBoolean>>;
281
+ }, z.core.$strip>;
282
+ type IncludeArchivedQuery = z.infer<typeof IncludeArchivedQuery>;
283
+ declare const SearchQuery: z.ZodObject<{
284
+ search: z.ZodOptional<z.ZodString>;
285
+ }, z.core.$strip>;
286
+ type SearchQuery = z.infer<typeof SearchQuery>;
287
+ declare const PaginationQuery: z.ZodObject<{
288
+ limit: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
289
+ cursor: z.ZodOptional<z.ZodString>;
290
+ }, z.core.$strip>;
291
+ type PaginationQuery = z.infer<typeof PaginationQuery>;
292
+ declare const CommonListElementsQuery: z.ZodObject<{
293
+ search: z.ZodOptional<z.ZodString>;
294
+ limit: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
295
+ cursor: z.ZodOptional<z.ZodString>;
296
+ includeArchived: z.ZodOptional<z.ZodPipe<z.ZodTransform<boolean, unknown>, z.ZodBoolean>>;
297
+ }, z.core.$strip>;
298
+ type CommonListElementsQuery = z.infer<typeof CommonListElementsQuery>;
299
+ declare const CommonInstancesListQuery: z.ZodObject<{
300
+ search: z.ZodOptional<z.ZodString>;
301
+ limit: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
302
+ cursor: z.ZodOptional<z.ZodString>;
303
+ includeArchived: z.ZodOptional<z.ZodPipe<z.ZodTransform<boolean, unknown>, z.ZodBoolean>>;
304
+ userId: z.ZodOptional<z.ZodString>;
305
+ instanceKey: z.ZodOptional<z.ZodString>;
306
+ }, z.core.$strip>;
307
+ type CommonInstancesListQuery = z.infer<typeof CommonInstancesListQuery>;
308
+ declare const CommonIntegrationOrConnectionQuery: z.ZodObject<{
309
+ connectionId: z.ZodOptional<z.ZodString>;
310
+ integrationId: z.ZodOptional<z.ZodString>;
311
+ integrationKey: z.ZodOptional<z.ZodString>;
312
+ }, z.core.$strip>;
313
+ type CommonIntegrationOrConnectionQuery = z.infer<typeof CommonIntegrationOrConnectionQuery>;
314
+ declare class PaginationResponse<T> {
315
+ items: T[];
316
+ cursor?: string;
484
317
  }
485
318
 
486
319
  declare const FindConnectionsQuery: z.ZodObject<{
@@ -749,97 +582,197 @@ declare const ConnectionMessagePayload: z.ZodDiscriminatedUnion<[z.ZodObject<{
749
582
  }, z.core.$strip>], "type">;
750
583
  type ConnectionMessagePayload = z.infer<typeof ConnectionMessagePayload>;
751
584
 
752
- declare const ActionInstanceApiResponse: z.ZodObject<{
753
- id: z.ZodString;
754
- key: z.ZodOptional<z.ZodString>;
755
- uuid: z.ZodOptional<z.ZodString>;
756
- description: z.ZodOptional<z.ZodString>;
757
- meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
758
- name: z.ZodString;
759
- state: z.ZodOptional<z.ZodEnum<typeof WorkspaceElementState>>;
760
- errors: z.ZodOptional<z.ZodArray<z.ZodType<ErrorDataSchema, unknown, z.core.$ZodTypeInternals<ErrorDataSchema, unknown>>>>;
761
- revision: z.ZodOptional<z.ZodString>;
762
- createdAt: z.ZodOptional<z.ZodString>;
763
- updatedAt: z.ZodOptional<z.ZodString>;
764
- archivedAt: z.ZodOptional<z.ZodString>;
765
- isDeactivated: z.ZodOptional<z.ZodBoolean>;
766
- parentId: z.ZodOptional<z.ZodString>;
767
- universalParentId: z.ZodOptional<z.ZodString>;
768
- userId: z.ZodString;
769
- instanceKey: z.ZodOptional<z.ZodString>;
770
- type: z.ZodOptional<z.ZodEnum<typeof ActionType>>;
771
- inputSchema: z.ZodOptional<z.ZodAny>;
772
- config: z.ZodOptional<z.ZodAny>;
773
- outputSchema: z.ZodOptional<z.ZodAny>;
774
- user: z.ZodOptional<z.ZodObject<{
775
- id: z.ZodString;
776
- name: z.ZodString;
777
- meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
778
- internalId: z.ZodString;
779
- fields: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
780
- credentials: z.ZodOptional<z.ZodAny>;
781
- lastActiveAt: z.ZodOptional<z.ZodString>;
782
- isTest: z.ZodOptional<z.ZodBoolean>;
783
- isBillable: z.ZodOptional<z.ZodBoolean>;
784
- createdAt: z.ZodOptional<z.ZodString>;
785
- archivedAt: z.ZodOptional<z.ZodString>;
786
- }, z.core.$strip>>;
787
- parent: z.ZodOptional<z.ZodObject<{
788
- id: z.ZodString;
789
- key: z.ZodOptional<z.ZodString>;
790
- uuid: z.ZodOptional<z.ZodString>;
791
- description: z.ZodOptional<z.ZodString>;
792
- meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
793
- integrationId: z.ZodOptional<z.ZodString>;
794
- parentId: z.ZodOptional<z.ZodString>;
795
- inputSchema: z.ZodOptional<z.ZodType<DataSchema, unknown, z.core.$ZodTypeInternals<DataSchema, unknown>>>;
796
- type: z.ZodOptional<z.ZodEnum<typeof ActionType>>;
797
- config: z.ZodOptional<z.ZodAny>;
798
- outputMapping: z.ZodOptional<z.ZodAny>;
799
- customOutputSchema: z.ZodOptional<z.ZodType<DataSchema, unknown, z.core.$ZodTypeInternals<DataSchema, unknown>>>;
800
- name: z.ZodString;
801
- state: z.ZodOptional<z.ZodEnum<typeof WorkspaceElementState>>;
802
- errors: z.ZodOptional<z.ZodArray<z.ZodType<ErrorDataSchema, unknown, z.core.$ZodTypeInternals<ErrorDataSchema, unknown>>>>;
803
- revision: z.ZodOptional<z.ZodString>;
804
- createdAt: z.ZodOptional<z.ZodString>;
805
- updatedAt: z.ZodOptional<z.ZodString>;
806
- archivedAt: z.ZodOptional<z.ZodString>;
807
- isDeactivated: z.ZodOptional<z.ZodBoolean>;
808
- isCustomized: z.ZodOptional<z.ZodBoolean>;
809
- }, z.core.$strip>>;
810
- }, z.core.$strip>;
811
- type ActionInstanceApiResponse = z.infer<typeof ActionInstanceApiResponse>;
812
- type ActionInstance = ActionInstanceApiResponse;
813
- interface ActionInstanceSelector extends ConnectionSelector, ElementInstanceSelector {
585
+ interface MembraneClientOptions {
586
+ token?: string;
587
+ fetchToken?: () => Promise<string>;
588
+ credentials?: any;
589
+ fetchCredentials?: () => Promise<any>;
590
+ apiUri?: string;
591
+ uiUri?: string;
592
+ accessToken?: string;
593
+ }
594
+ declare class MembraneApiClient {
595
+ apiUri: string;
596
+ uiUri: string;
597
+ token?: string;
598
+ protected fetchToken?: () => Promise<string>;
599
+ constructor({ uiUri, apiUri, accessToken, token, fetchToken, fetchCredentials, credentials, }?: MembraneClientOptions);
600
+ setCredentials(credentials: any): Promise<any>;
601
+ getToken(): Promise<string>;
602
+ get<T = any>(uri: string, queryParams?: Record<string, any>, options?: AxiosRequestConfig): Promise<T>;
603
+ post<T = any>(uri: string, data?: any, options?: AxiosRequestConfig): Promise<T>;
604
+ put<T = any>(uri: string, data?: any, options?: AxiosRequestConfig): Promise<T>;
605
+ patch<T = any>(uri: string, data?: any, options?: AxiosRequestConfig): Promise<T>;
606
+ delete<T = any>(uri: string, data?: any, options?: AxiosRequestConfig): Promise<T>;
607
+ createEventSource(uri: string, queryParams?: Record<string, any>): Promise<EventSource>;
608
+ getEmbedUri(page: string, pageParams?: Record<string, any>, options?: {
609
+ embedMode: 'isolated-embed' | 'popup-embed';
610
+ }): Promise<string>;
611
+ private makeApiRequest;
612
+ private handleRequestError;
613
+ }
614
+
615
+ interface BaseElementInstance {
616
+ id: string;
617
+ }
618
+ interface ElementInstanceSelector {
619
+ id?: string;
620
+ autoCreate?: boolean;
621
+ instanceKey?: string;
622
+ userId?: string;
623
+ parentKey?: string;
624
+ parentId?: string;
625
+ }
626
+ interface IntegrationSpecificElementSelector {
627
+ id?: string;
628
+ key?: string;
629
+ integrationId?: string;
630
+ integrationKey?: string;
631
+ }
632
+ type SelectorType = {
633
+ id?: string;
634
+ } | string;
635
+ declare class ElementAccessor<Element, UpdateRequest, Selector extends SelectorType = string> {
636
+ protected options: {
637
+ client: MembraneApiClient;
638
+ path: string;
639
+ selector: string | Selector;
640
+ };
641
+ constructor(options: {
642
+ client: MembraneApiClient;
643
+ path: string;
644
+ selector: string | Selector;
645
+ });
646
+ getUniqueIdentifier(): string;
647
+ get(): Promise<Element>;
648
+ put(data: UpdateRequest): Promise<Element>;
649
+ patch(data: Partial<UpdateRequest>): Promise<Element>;
650
+ archive(): Promise<void>;
651
+ restore(): Promise<Element>;
652
+ getPath(operation?: string): string;
653
+ }
654
+ declare class ElementListAccessor<Element, FindQuery, CreateRequest> {
655
+ private client;
656
+ private path;
657
+ constructor(client: MembraneApiClient, path: string);
658
+ find(query?: FindQuery): Promise<PaginationResponse<Element>>;
659
+ findAll(query?: Omit<FindQuery, 'limit'>): Promise<Element[]>;
660
+ create(data: CreateRequest): Promise<Element>;
661
+ }
662
+ declare class ElementInstanceListAccessor<ElementInstance extends BaseElementInstance, FindQuery> {
663
+ protected client: MembraneApiClient;
664
+ private path;
665
+ constructor(client: MembraneApiClient, path: string);
666
+ find(query?: FindQuery): Promise<PaginationResponse<ElementInstance>>;
667
+ }
668
+ declare class ElementInstanceAccessor<ElementInstance extends BaseElementInstance, Selector extends {
669
+ id?: string;
670
+ }, CreateRequest, UpdateRequest> {
671
+ protected options: {
672
+ client: MembraneApiClient;
673
+ instancePath: string;
674
+ selector: string | Selector;
675
+ type?: WorkspaceElementType;
676
+ };
677
+ private id;
678
+ constructor(options: {
679
+ client: MembraneApiClient;
680
+ instancePath: string;
681
+ selector: string | Selector;
682
+ type?: WorkspaceElementType;
683
+ });
684
+ getUniqueIdentifier(): string;
685
+ get(): Promise<ElementInstance>;
686
+ getId(): Promise<string>;
687
+ create(data?: CreateRequest): Promise<ElementInstance>;
688
+ put(data: CreateRequest): Promise<ElementInstance>;
689
+ patch(data: UpdateRequest): Promise<ElementInstance>;
690
+ archive(): Promise<void>;
691
+ delete(): Promise<void>;
692
+ restore(): Promise<ElementInstance>;
693
+ protected getPath(operation?: string): string;
694
+ private getSelector;
695
+ }
696
+
697
+ declare class IntegrationLevelElementAccessor<Element, UpdateElementData> {
698
+ protected client: MembraneApiClient;
699
+ protected integrationSelector: string;
700
+ protected elementSelector: string;
701
+ protected elementKey: string;
702
+ protected endpoint: string;
703
+ constructor(client: MembraneApiClient, integrationSelector: string, elementSelector: string, elementKey: string);
704
+ getUniqueIdentifier(): string;
705
+ get(): Promise<Element>;
706
+ patch(data: Partial<UpdateElementData>): Promise<Element>;
707
+ put(data: UpdateElementData): Promise<Element>;
708
+ archive(): Promise<void>;
709
+ reset(): Promise<Element>;
710
+ }
711
+ declare class IntegrationLevelElementsListAccessor<Element, Query, CreateElementData> {
712
+ protected client: MembraneApiClient;
713
+ protected integrationSelector: string;
714
+ protected elementKey: string;
715
+ protected endpoint: string;
716
+ constructor(client: MembraneApiClient, integrationSelector: string, elementKey: string);
717
+ list(query?: Query): Promise<PaginationResponse<Element>>;
718
+ create(data: CreateElementData): Promise<Element>;
719
+ }
720
+
721
+ declare class ActionsAccessor extends ElementListAccessor<Action, FindActionsQuery, CreateActionRequest> {
722
+ constructor(client: MembraneApiClient);
723
+ }
724
+ declare class ActionAccessor extends ElementAccessor<Action, UpdateActionRequest, ActionSelector> {
725
+ constructor(client: MembraneApiClient, selector: ActionSelector | string);
726
+ reset(): Promise<any>;
727
+ }
728
+ declare class IntegrationLevelActionAccessor extends IntegrationLevelElementAccessor<Action, UpdateActionRequest> {
729
+ client: MembraneApiClient;
730
+ integrationSelector: string;
731
+ actionSelector: string;
732
+ constructor(client: MembraneApiClient, integrationSelector: string, actionSelector: string);
733
+ }
734
+ declare class IntegrationLevelActionsListAccessor extends IntegrationLevelElementsListAccessor<Action, Omit<FindActionsQuery, 'integrationId'>, Omit<CreateActionRequest, 'integrationId'>> {
735
+ client: MembraneApiClient;
736
+ integrationSelector: string;
737
+ constructor(client: MembraneApiClient, integrationSelector: string);
738
+ }
739
+
740
+ interface OpenConfigurationOptions {
741
+ onClose?: (...args: any[]) => void;
742
+ showPoweredBy?: boolean;
743
+ }
744
+
745
+ type InstanceKeyQuery = {
746
+ instanceKey?: string;
747
+ };
748
+
749
+ declare class ConnectionLevelElementAccessor<Element, UpdateElement> {
750
+ protected client: MembraneApiClient;
751
+ protected connectionSelector: string;
752
+ protected selector: string;
753
+ protected elementKey: string;
754
+ protected query: Record<string, any>;
755
+ protected endpoint: string;
756
+ constructor(client: MembraneApiClient, connectionSelector: string, selector: string, elementKey: string, query: Record<string, any>);
757
+ protected uri(path?: string, query?: {}): string;
758
+ getUniqueIdentifier(): string;
759
+ get(query?: {
760
+ autoCreate?: boolean;
761
+ }): Promise<Element>;
762
+ create(): Promise<Element>;
763
+ patch(data: Partial<UpdateElement>): Promise<Element>;
764
+ put(data: UpdateElement): Promise<Element>;
765
+ archive(): Promise<void>;
766
+ reset(): Promise<Element>;
767
+ setup(): Promise<Element>;
768
+ }
769
+ declare class ConnectionLevelElementsListAccessor<Element, Query> {
770
+ protected client: MembraneApiClient;
771
+ protected connectionSelector: string;
772
+ protected elementKey: string;
773
+ constructor(client: MembraneApiClient, connectionSelector: string, elementKey: string);
774
+ list(query?: Query): Promise<PaginationResponse<Element[]>>;
814
775
  }
815
- declare const ListActionInstancesForConnectionQuery: z.ZodObject<{
816
- parentId: z.ZodOptional<z.ZodString>;
817
- universalParentId: z.ZodOptional<z.ZodString>;
818
- limit: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
819
- cursor: z.ZodOptional<z.ZodString>;
820
- }, z.core.$strip>;
821
- type ListActionInstancesForConnectionQuery = z.infer<typeof ListActionInstancesForConnectionQuery>;
822
- declare const FindActionInstancesQuery: z.ZodObject<{
823
- parentId: z.ZodOptional<z.ZodString>;
824
- universalParentId: z.ZodOptional<z.ZodString>;
825
- limit: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
826
- cursor: z.ZodOptional<z.ZodString>;
827
- integrationKey: z.ZodOptional<z.ZodString>;
828
- integrationId: z.ZodOptional<z.ZodString>;
829
- userId: z.ZodOptional<z.ZodString>;
830
- connectionId: z.ZodOptional<z.ZodString>;
831
- }, z.core.$strip>;
832
- type FindActionInstancesQuery = z.infer<typeof FindActionInstancesQuery>;
833
- declare const CreateActionInstanceRequest: z.ZodObject<{
834
- parentId: z.ZodString;
835
- connectionId: z.ZodString;
836
- config: z.ZodOptional<z.ZodAny>;
837
- }, z.core.$strip>;
838
- type CreateActionInstanceRequest = z.infer<typeof CreateActionInstanceRequest>;
839
- declare const UpdateActionInstanceRequest: z.ZodObject<{
840
- config: z.ZodOptional<z.ZodAny>;
841
- }, z.core.$strip>;
842
- type UpdateActionInstanceRequest = z.infer<typeof UpdateActionInstanceRequest>;
843
776
 
844
777
  interface OpenActionConfigurationOptions extends OpenConfigurationOptions {
845
778
  }
@@ -1026,9 +959,9 @@ declare const DataSourceInstanceApiResponse: z.ZodObject<{
1026
959
  id: z.ZodString;
1027
960
  key: z.ZodOptional<z.ZodString>;
1028
961
  description: z.ZodOptional<z.ZodString>;
962
+ integrationId: z.ZodOptional<z.ZodString>;
1029
963
  uuid: z.ZodOptional<z.ZodString>;
1030
964
  meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
1031
- integrationId: z.ZodOptional<z.ZodString>;
1032
965
  universalDataSourceId: z.ZodOptional<z.ZodString>;
1033
966
  udm: z.ZodOptional<z.ZodString>;
1034
967
  pullUpdatesIntervalSeconds: z.ZodOptional<z.ZodNumber>;
@@ -2146,9 +2079,9 @@ declare const DataSourceApiResponse: z.ZodObject<{
2146
2079
  id: z.ZodString;
2147
2080
  key: z.ZodOptional<z.ZodString>;
2148
2081
  description: z.ZodOptional<z.ZodString>;
2082
+ integrationId: z.ZodOptional<z.ZodString>;
2149
2083
  uuid: z.ZodOptional<z.ZodString>;
2150
2084
  meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
2151
- integrationId: z.ZodOptional<z.ZodString>;
2152
2085
  universalDataSourceId: z.ZodOptional<z.ZodString>;
2153
2086
  udm: z.ZodOptional<z.ZodString>;
2154
2087
  pullUpdatesIntervalSeconds: z.ZodOptional<z.ZodNumber>;
@@ -2211,9 +2144,9 @@ declare const DataSourceApiResponse: z.ZodObject<{
2211
2144
  id: z.ZodString;
2212
2145
  key: z.ZodOptional<z.ZodString>;
2213
2146
  description: z.ZodOptional<z.ZodString>;
2147
+ integrationId: z.ZodOptional<z.ZodString>;
2214
2148
  uuid: z.ZodOptional<z.ZodString>;
2215
2149
  meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
2216
- integrationId: z.ZodOptional<z.ZodString>;
2217
2150
  universalDataSourceId: z.ZodOptional<z.ZodString>;
2218
2151
  udm: z.ZodOptional<z.ZodString>;
2219
2152
  pullUpdatesIntervalSeconds: z.ZodOptional<z.ZodNumber>;
@@ -2289,10 +2222,10 @@ type FindDataSourcesQuery = z.infer<typeof FindDataSourcesQuery>;
2289
2222
  declare const CreateDataSourceRequest: z.ZodObject<{
2290
2223
  key: z.ZodOptional<z.ZodString>;
2291
2224
  description: z.ZodOptional<z.ZodString>;
2225
+ integrationId: z.ZodOptional<z.ZodString>;
2292
2226
  name: z.ZodOptional<z.ZodString>;
2293
2227
  uuid: z.ZodOptional<z.ZodString>;
2294
2228
  meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
2295
- integrationId: z.ZodOptional<z.ZodString>;
2296
2229
  universalDataSourceId: z.ZodOptional<z.ZodString>;
2297
2230
  udm: z.ZodOptional<z.ZodString>;
2298
2231
  pullUpdatesIntervalSeconds: z.ZodOptional<z.ZodNumber>;
@@ -2305,10 +2238,10 @@ type CreateDataSourceRequest = z.infer<typeof CreateDataSourceRequest>;
2305
2238
  declare const UpdateDataSourceRequest: z.ZodObject<{
2306
2239
  key: z.ZodOptional<z.ZodOptional<z.ZodString>>;
2307
2240
  description: z.ZodOptional<z.ZodOptional<z.ZodString>>;
2241
+ integrationId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
2308
2242
  name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
2309
2243
  uuid: z.ZodOptional<z.ZodOptional<z.ZodString>>;
2310
2244
  meta: z.ZodOptional<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>;
2311
- integrationId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
2312
2245
  universalDataSourceId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
2313
2246
  udm: z.ZodOptional<z.ZodOptional<z.ZodString>>;
2314
2247
  pullUpdatesIntervalSeconds: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
@@ -3894,10 +3827,10 @@ declare enum FieldMappingDirection {
3894
3827
  declare const FieldMappingEditableProperties: z.ZodObject<{
3895
3828
  key: z.ZodOptional<z.ZodString>;
3896
3829
  description: z.ZodOptional<z.ZodString>;
3830
+ integrationId: z.ZodOptional<z.ZodString>;
3897
3831
  name: z.ZodOptional<z.ZodString>;
3898
3832
  uuid: z.ZodOptional<z.ZodString>;
3899
3833
  meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
3900
- integrationId: z.ZodOptional<z.ZodString>;
3901
3834
  universalFieldMappingId: z.ZodOptional<z.ZodString>;
3902
3835
  dataSourceKey: z.ZodOptional<z.ZodString>;
3903
3836
  dataSourceId: z.ZodOptional<z.ZodString>;
@@ -3916,9 +3849,9 @@ declare const BaseFieldMapping: z.ZodObject<{
3916
3849
  id: z.ZodString;
3917
3850
  key: z.ZodOptional<z.ZodString>;
3918
3851
  description: z.ZodOptional<z.ZodString>;
3852
+ integrationId: z.ZodOptional<z.ZodString>;
3919
3853
  uuid: z.ZodOptional<z.ZodString>;
3920
3854
  meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
3921
- integrationId: z.ZodOptional<z.ZodString>;
3922
3855
  universalFieldMappingId: z.ZodOptional<z.ZodString>;
3923
3856
  dataSourceKey: z.ZodOptional<z.ZodString>;
3924
3857
  dataSourceId: z.ZodOptional<z.ZodString>;
@@ -4088,9 +4021,9 @@ declare const FieldMappingInstanceApiResponse: z.ZodObject<{
4088
4021
  id: z.ZodString;
4089
4022
  key: z.ZodOptional<z.ZodString>;
4090
4023
  description: z.ZodOptional<z.ZodString>;
4024
+ integrationId: z.ZodOptional<z.ZodString>;
4091
4025
  uuid: z.ZodOptional<z.ZodString>;
4092
4026
  meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
4093
- integrationId: z.ZodOptional<z.ZodString>;
4094
4027
  universalFieldMappingId: z.ZodOptional<z.ZodString>;
4095
4028
  dataSourceKey: z.ZodOptional<z.ZodString>;
4096
4029
  dataSourceId: z.ZodOptional<z.ZodString>;
@@ -4272,9 +4205,9 @@ declare const FieldMappingInstanceApiResponse: z.ZodObject<{
4272
4205
  id: z.ZodString;
4273
4206
  key: z.ZodOptional<z.ZodString>;
4274
4207
  description: z.ZodOptional<z.ZodString>;
4208
+ integrationId: z.ZodOptional<z.ZodString>;
4275
4209
  uuid: z.ZodOptional<z.ZodString>;
4276
4210
  meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
4277
- integrationId: z.ZodOptional<z.ZodString>;
4278
4211
  universalDataSourceId: z.ZodOptional<z.ZodString>;
4279
4212
  udm: z.ZodOptional<z.ZodString>;
4280
4213
  pullUpdatesIntervalSeconds: z.ZodOptional<z.ZodNumber>;
@@ -4692,9 +4625,9 @@ declare const FieldMappingApiResponse: z.ZodObject<{
4692
4625
  id: z.ZodString;
4693
4626
  key: z.ZodOptional<z.ZodString>;
4694
4627
  description: z.ZodOptional<z.ZodString>;
4628
+ integrationId: z.ZodOptional<z.ZodString>;
4695
4629
  uuid: z.ZodOptional<z.ZodString>;
4696
4630
  meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
4697
- integrationId: z.ZodOptional<z.ZodString>;
4698
4631
  universalFieldMappingId: z.ZodOptional<z.ZodString>;
4699
4632
  dataSourceKey: z.ZodOptional<z.ZodString>;
4700
4633
  dataSourceId: z.ZodOptional<z.ZodString>;
@@ -4762,9 +4695,9 @@ declare const FieldMappingApiResponse: z.ZodObject<{
4762
4695
  id: z.ZodString;
4763
4696
  key: z.ZodOptional<z.ZodString>;
4764
4697
  description: z.ZodOptional<z.ZodString>;
4698
+ integrationId: z.ZodOptional<z.ZodString>;
4765
4699
  uuid: z.ZodOptional<z.ZodString>;
4766
4700
  meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
4767
- integrationId: z.ZodOptional<z.ZodString>;
4768
4701
  universalFieldMappingId: z.ZodOptional<z.ZodString>;
4769
4702
  dataSourceKey: z.ZodOptional<z.ZodString>;
4770
4703
  dataSourceId: z.ZodOptional<z.ZodString>;
@@ -4845,10 +4778,10 @@ type FindFieldMappingsQuery = z.infer<typeof FindFieldMappingsQuery>;
4845
4778
  declare const CreateFieldMappingRequest: z.ZodObject<{
4846
4779
  key: z.ZodOptional<z.ZodString>;
4847
4780
  description: z.ZodOptional<z.ZodString>;
4781
+ integrationId: z.ZodOptional<z.ZodString>;
4848
4782
  name: z.ZodOptional<z.ZodString>;
4849
4783
  uuid: z.ZodOptional<z.ZodString>;
4850
4784
  meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
4851
- integrationId: z.ZodOptional<z.ZodString>;
4852
4785
  universalFieldMappingId: z.ZodOptional<z.ZodString>;
4853
4786
  dataSourceKey: z.ZodOptional<z.ZodString>;
4854
4787
  dataSourceId: z.ZodOptional<z.ZodString>;
@@ -4866,10 +4799,10 @@ type CreateFieldMappingRequest = z.infer<typeof CreateFieldMappingRequest>;
4866
4799
  declare const UpdateFieldMappingRequest: z.ZodObject<{
4867
4800
  key: z.ZodOptional<z.ZodOptional<z.ZodString>>;
4868
4801
  description: z.ZodOptional<z.ZodOptional<z.ZodString>>;
4802
+ integrationId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
4869
4803
  name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
4870
4804
  uuid: z.ZodOptional<z.ZodOptional<z.ZodString>>;
4871
4805
  meta: z.ZodOptional<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>;
4872
- integrationId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
4873
4806
  universalFieldMappingId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
4874
4807
  dataSourceKey: z.ZodOptional<z.ZodOptional<z.ZodString>>;
4875
4808
  dataSourceId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
@@ -5307,13 +5240,13 @@ interface IntegrationElementInstanceDependency {
5307
5240
  data?: any;
5308
5241
  }
5309
5242
 
5310
- declare const ScenarioElementApi: z.ZodObject<{
5243
+ declare const PackageElementApi: z.ZodObject<{
5311
5244
  id: z.ZodString;
5312
5245
  type: z.ZodEnum<typeof IntegrationElementType>;
5313
5246
  element: z.ZodOptional<z.ZodAny>;
5314
5247
  }, z.core.$strip>;
5315
- type ScenarioElementApi = z.infer<typeof ScenarioElementApi>;
5316
- declare const FindScenariosQuery: z.ZodObject<{
5248
+ type PackageElementApi = z.infer<typeof PackageElementApi>;
5249
+ declare const FindPackagesQuery: z.ZodObject<{
5317
5250
  integrationId: z.ZodOptional<z.ZodString>;
5318
5251
  integrationKey: z.ZodOptional<z.ZodString>;
5319
5252
  parentId: z.ZodOptional<z.ZodString>;
@@ -5322,8 +5255,8 @@ declare const FindScenariosQuery: z.ZodObject<{
5322
5255
  cursor: z.ZodOptional<z.ZodString>;
5323
5256
  includeArchived: z.ZodOptional<z.ZodPipe<z.ZodTransform<boolean, unknown>, z.ZodBoolean>>;
5324
5257
  }, z.core.$strip>;
5325
- type FindScenariosQuery = z.infer<typeof FindScenariosQuery>;
5326
- declare const ScenarioApiResponse: z.ZodObject<{
5258
+ type FindPackagesQuery = z.infer<typeof FindPackagesQuery>;
5259
+ declare const PackageApiResponse: z.ZodObject<{
5327
5260
  id: z.ZodString;
5328
5261
  state: z.ZodOptional<z.ZodEnum<typeof WorkspaceElementState>>;
5329
5262
  errors: z.ZodOptional<z.ZodArray<z.ZodType<ErrorDataSchema, unknown, z.core.$ZodTypeInternals<ErrorDataSchema, unknown>>>>;
@@ -5413,15 +5346,18 @@ declare const ScenarioApiResponse: z.ZodObject<{
5413
5346
  }, z.core.$strip>;
5414
5347
  }, z.core.$strip>>>;
5415
5348
  }, z.core.$strip>;
5416
- type ScenarioApiResponse = z.infer<typeof ScenarioApiResponse>;
5417
- type Scenario = ScenarioApiResponse;
5349
+ type PackageApiResponse = z.infer<typeof PackageApiResponse>;
5350
+ type Package = PackageApiResponse;
5351
+ type Scenario = PackageApiResponse;
5418
5352
 
5419
- declare class ScenariosAccessor extends ElementListAccessor<Scenario, FindScenariosQuery, ScenarioEditableProperties> {
5353
+ declare class PackagesAccessor extends ElementListAccessor<PackageApiResponse, FindPackagesQuery, PackageEditableProperties> {
5420
5354
  constructor(client: MembraneApiClient);
5421
5355
  }
5422
- declare class ScenarioAccessor extends ElementAccessor<Scenario, Partial<ScenarioEditableProperties>> {
5356
+ declare class PackageAccessor extends ElementAccessor<PackageApiResponse, Partial<PackageEditableProperties>> {
5423
5357
  constructor(client: MembraneApiClient, selector: string);
5424
5358
  }
5359
+ declare const ScenariosAccessor: typeof PackagesAccessor;
5360
+ declare const ScenarioAccessor: typeof PackageAccessor;
5425
5361
 
5426
5362
  declare enum ScreenType {
5427
5363
  Integration = "integration"
@@ -6349,33 +6285,315 @@ declare const ExternalEvent: z.ZodObject<{
6349
6285
  }, z.core.$strip>;
6350
6286
  }, z.core.$strip>>>;
6351
6287
  }, z.core.$strip>;
6352
- type ExternalEvent = z.infer<typeof ExternalEvent>;
6353
- type ExternalEventApiResponse = ExternalEvent;
6354
-
6355
- declare class ExternalEventSubscriptionsAccessor extends ElementInstanceListAccessor<ExternalEventSubscription, FindExternalEventSubscriptionsQuery> {
6356
- constructor(client: MembraneApiClient);
6357
- }
6358
- declare class ExternalEventSubscriptionAccessor {
6359
- private client;
6360
- private id;
6361
- constructor(client: MembraneApiClient, id: string);
6362
- get(): Promise<ExternalEventSubscription>;
6363
- setup(): Promise<void>;
6364
- subscribe(): Promise<void>;
6365
- unsubscribe(): Promise<void>;
6366
- resubscribe(): Promise<void>;
6367
- pullEvents(): Promise<void>;
6368
- private getPath;
6369
- }
6370
-
6371
- declare const ActionApiResponse: z.ZodObject<{
6288
+ type ExternalEvent = z.infer<typeof ExternalEvent>;
6289
+ type ExternalEventApiResponse = ExternalEvent;
6290
+
6291
+ declare class ExternalEventSubscriptionsAccessor extends ElementInstanceListAccessor<ExternalEventSubscription, FindExternalEventSubscriptionsQuery> {
6292
+ constructor(client: MembraneApiClient);
6293
+ }
6294
+ declare class ExternalEventSubscriptionAccessor {
6295
+ private client;
6296
+ private id;
6297
+ constructor(client: MembraneApiClient, id: string);
6298
+ get(): Promise<ExternalEventSubscription>;
6299
+ setup(): Promise<void>;
6300
+ subscribe(): Promise<void>;
6301
+ unsubscribe(): Promise<void>;
6302
+ resubscribe(): Promise<void>;
6303
+ pullEvents(): Promise<void>;
6304
+ private getPath;
6305
+ }
6306
+
6307
+ declare const ActionApiResponse: z.ZodObject<{
6308
+ id: z.ZodString;
6309
+ key: z.ZodOptional<z.ZodString>;
6310
+ uuid: z.ZodOptional<z.ZodString>;
6311
+ description: z.ZodOptional<z.ZodString>;
6312
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
6313
+ integrationId: z.ZodOptional<z.ZodString>;
6314
+ connectionId: z.ZodOptional<z.ZodString>;
6315
+ parentId: z.ZodOptional<z.ZodString>;
6316
+ instanceKey: z.ZodOptional<z.ZodString>;
6317
+ inputSchema: z.ZodOptional<z.ZodType<DataSchema, unknown, z.core.$ZodTypeInternals<DataSchema, unknown>>>;
6318
+ type: z.ZodOptional<z.ZodEnum<typeof ActionType>>;
6319
+ config: z.ZodOptional<z.ZodAny>;
6320
+ outputMapping: z.ZodOptional<z.ZodAny>;
6321
+ customOutputSchema: z.ZodOptional<z.ZodType<DataSchema, unknown, z.core.$ZodTypeInternals<DataSchema, unknown>>>;
6322
+ name: z.ZodString;
6323
+ state: z.ZodOptional<z.ZodEnum<typeof WorkspaceElementState>>;
6324
+ errors: z.ZodOptional<z.ZodArray<z.ZodType<ErrorDataSchema, unknown, z.core.$ZodTypeInternals<ErrorDataSchema, unknown>>>>;
6325
+ revision: z.ZodOptional<z.ZodString>;
6326
+ createdAt: z.ZodOptional<z.ZodString>;
6327
+ updatedAt: z.ZodOptional<z.ZodString>;
6328
+ archivedAt: z.ZodOptional<z.ZodString>;
6329
+ isDeactivated: z.ZodOptional<z.ZodBoolean>;
6330
+ isCustomized: z.ZodOptional<z.ZodBoolean>;
6331
+ universalParentId: z.ZodOptional<z.ZodString>;
6332
+ userId: z.ZodOptional<z.ZodString>;
6333
+ integration: z.ZodOptional<z.ZodObject<{
6334
+ id: z.ZodString;
6335
+ key: z.ZodOptional<z.ZodString>;
6336
+ uuid: z.ZodOptional<z.ZodString>;
6337
+ description: z.ZodOptional<z.ZodString>;
6338
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
6339
+ name: z.ZodString;
6340
+ state: z.ZodOptional<z.ZodEnum<typeof WorkspaceElementState>>;
6341
+ errors: z.ZodOptional<z.ZodArray<z.ZodType<ErrorDataSchema, unknown, z.core.$ZodTypeInternals<ErrorDataSchema, unknown>>>>;
6342
+ revision: z.ZodOptional<z.ZodString>;
6343
+ createdAt: z.ZodOptional<z.ZodString>;
6344
+ updatedAt: z.ZodOptional<z.ZodString>;
6345
+ logoUri: z.ZodString;
6346
+ connectorId: z.ZodOptional<z.ZodString>;
6347
+ connectorVersion: z.ZodOptional<z.ZodString>;
6348
+ oAuthCallbackUri: z.ZodOptional<z.ZodString>;
6349
+ parameters: z.ZodOptional<z.ZodAny>;
6350
+ archivedAt: z.ZodOptional<z.ZodString>;
6351
+ hasMissingParameters: z.ZodOptional<z.ZodBoolean>;
6352
+ hasDocumentation: z.ZodOptional<z.ZodBoolean>;
6353
+ hasOperations: z.ZodOptional<z.ZodBoolean>;
6354
+ operationsCount: z.ZodOptional<z.ZodNumber>;
6355
+ hasData: z.ZodOptional<z.ZodBoolean>;
6356
+ dataCollectionsCount: z.ZodOptional<z.ZodNumber>;
6357
+ hasEvents: z.ZodOptional<z.ZodBoolean>;
6358
+ eventsCount: z.ZodOptional<z.ZodNumber>;
6359
+ hasGlobalWebhooks: z.ZodOptional<z.ZodBoolean>;
6360
+ hasUdm: z.ZodOptional<z.ZodBoolean>;
6361
+ isTest: z.ZodOptional<z.ZodBoolean>;
6362
+ appUuid: z.ZodOptional<z.ZodString>;
6363
+ isDeactivated: z.ZodOptional<z.ZodBoolean>;
6364
+ authType: z.ZodOptional<z.ZodEnum<{
6365
+ proxy: "proxy";
6366
+ "integration-app-token": "integration-app-token";
6367
+ "membrane-token": "membrane-token";
6368
+ oauth2: "oauth2";
6369
+ oauth1: "oauth1";
6370
+ "client-credentials": "client-credentials";
6371
+ }>>;
6372
+ }, z.core.$strip>>;
6373
+ user: z.ZodOptional<z.ZodObject<{
6374
+ id: z.ZodString;
6375
+ name: z.ZodString;
6376
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
6377
+ internalId: z.ZodString;
6378
+ fields: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
6379
+ credentials: z.ZodOptional<z.ZodAny>;
6380
+ lastActiveAt: z.ZodOptional<z.ZodString>;
6381
+ isTest: z.ZodOptional<z.ZodBoolean>;
6382
+ isBillable: z.ZodOptional<z.ZodBoolean>;
6383
+ createdAt: z.ZodOptional<z.ZodString>;
6384
+ archivedAt: z.ZodOptional<z.ZodString>;
6385
+ }, z.core.$strip>>;
6386
+ parent: z.ZodOptional<z.ZodObject<{
6387
+ id: z.ZodString;
6388
+ key: z.ZodOptional<z.ZodString>;
6389
+ uuid: z.ZodOptional<z.ZodString>;
6390
+ description: z.ZodOptional<z.ZodString>;
6391
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
6392
+ integrationId: z.ZodOptional<z.ZodString>;
6393
+ connectionId: z.ZodOptional<z.ZodString>;
6394
+ parentId: z.ZodOptional<z.ZodString>;
6395
+ instanceKey: z.ZodOptional<z.ZodString>;
6396
+ inputSchema: z.ZodOptional<z.ZodType<DataSchema, unknown, z.core.$ZodTypeInternals<DataSchema, unknown>>>;
6397
+ type: z.ZodOptional<z.ZodEnum<typeof ActionType>>;
6398
+ config: z.ZodOptional<z.ZodAny>;
6399
+ outputMapping: z.ZodOptional<z.ZodAny>;
6400
+ customOutputSchema: z.ZodOptional<z.ZodType<DataSchema, unknown, z.core.$ZodTypeInternals<DataSchema, unknown>>>;
6401
+ name: z.ZodString;
6402
+ state: z.ZodOptional<z.ZodEnum<typeof WorkspaceElementState>>;
6403
+ errors: z.ZodOptional<z.ZodArray<z.ZodType<ErrorDataSchema, unknown, z.core.$ZodTypeInternals<ErrorDataSchema, unknown>>>>;
6404
+ revision: z.ZodOptional<z.ZodString>;
6405
+ createdAt: z.ZodOptional<z.ZodString>;
6406
+ updatedAt: z.ZodOptional<z.ZodString>;
6407
+ archivedAt: z.ZodOptional<z.ZodString>;
6408
+ isDeactivated: z.ZodOptional<z.ZodBoolean>;
6409
+ isCustomized: z.ZodOptional<z.ZodBoolean>;
6410
+ universalParentId: z.ZodOptional<z.ZodString>;
6411
+ userId: z.ZodOptional<z.ZodString>;
6412
+ outputSchema: z.ZodOptional<z.ZodAny>;
6413
+ }, z.core.$strip>>;
6414
+ appliedToIntegrations: z.ZodOptional<z.ZodArray<z.ZodObject<{
6415
+ element: z.ZodObject<{
6416
+ id: z.ZodString;
6417
+ key: z.ZodOptional<z.ZodString>;
6418
+ uuid: z.ZodOptional<z.ZodString>;
6419
+ description: z.ZodOptional<z.ZodString>;
6420
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
6421
+ integrationId: z.ZodOptional<z.ZodString>;
6422
+ connectionId: z.ZodOptional<z.ZodString>;
6423
+ parentId: z.ZodOptional<z.ZodString>;
6424
+ instanceKey: z.ZodOptional<z.ZodString>;
6425
+ inputSchema: z.ZodOptional<z.ZodType<DataSchema, unknown, z.core.$ZodTypeInternals<DataSchema, unknown>>>;
6426
+ type: z.ZodOptional<z.ZodEnum<typeof ActionType>>;
6427
+ config: z.ZodOptional<z.ZodAny>;
6428
+ outputMapping: z.ZodOptional<z.ZodAny>;
6429
+ customOutputSchema: z.ZodOptional<z.ZodType<DataSchema, unknown, z.core.$ZodTypeInternals<DataSchema, unknown>>>;
6430
+ name: z.ZodString;
6431
+ state: z.ZodOptional<z.ZodEnum<typeof WorkspaceElementState>>;
6432
+ errors: z.ZodOptional<z.ZodArray<z.ZodType<ErrorDataSchema, unknown, z.core.$ZodTypeInternals<ErrorDataSchema, unknown>>>>;
6433
+ revision: z.ZodOptional<z.ZodString>;
6434
+ createdAt: z.ZodOptional<z.ZodString>;
6435
+ updatedAt: z.ZodOptional<z.ZodString>;
6436
+ archivedAt: z.ZodOptional<z.ZodString>;
6437
+ isDeactivated: z.ZodOptional<z.ZodBoolean>;
6438
+ isCustomized: z.ZodOptional<z.ZodBoolean>;
6439
+ universalParentId: z.ZodOptional<z.ZodString>;
6440
+ userId: z.ZodOptional<z.ZodString>;
6441
+ outputSchema: z.ZodOptional<z.ZodAny>;
6442
+ }, z.core.$strip>;
6443
+ integration: z.ZodObject<{
6444
+ id: z.ZodString;
6445
+ key: z.ZodOptional<z.ZodString>;
6446
+ uuid: z.ZodOptional<z.ZodString>;
6447
+ description: z.ZodOptional<z.ZodString>;
6448
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
6449
+ name: z.ZodString;
6450
+ state: z.ZodOptional<z.ZodEnum<typeof WorkspaceElementState>>;
6451
+ errors: z.ZodOptional<z.ZodArray<z.ZodType<ErrorDataSchema, unknown, z.core.$ZodTypeInternals<ErrorDataSchema, unknown>>>>;
6452
+ revision: z.ZodOptional<z.ZodString>;
6453
+ createdAt: z.ZodOptional<z.ZodString>;
6454
+ updatedAt: z.ZodOptional<z.ZodString>;
6455
+ logoUri: z.ZodString;
6456
+ connectorId: z.ZodOptional<z.ZodString>;
6457
+ connectorVersion: z.ZodOptional<z.ZodString>;
6458
+ oAuthCallbackUri: z.ZodOptional<z.ZodString>;
6459
+ parameters: z.ZodOptional<z.ZodAny>;
6460
+ archivedAt: z.ZodOptional<z.ZodString>;
6461
+ hasMissingParameters: z.ZodOptional<z.ZodBoolean>;
6462
+ hasDocumentation: z.ZodOptional<z.ZodBoolean>;
6463
+ hasOperations: z.ZodOptional<z.ZodBoolean>;
6464
+ operationsCount: z.ZodOptional<z.ZodNumber>;
6465
+ hasData: z.ZodOptional<z.ZodBoolean>;
6466
+ dataCollectionsCount: z.ZodOptional<z.ZodNumber>;
6467
+ hasEvents: z.ZodOptional<z.ZodBoolean>;
6468
+ eventsCount: z.ZodOptional<z.ZodNumber>;
6469
+ hasGlobalWebhooks: z.ZodOptional<z.ZodBoolean>;
6470
+ hasUdm: z.ZodOptional<z.ZodBoolean>;
6471
+ isTest: z.ZodOptional<z.ZodBoolean>;
6472
+ appUuid: z.ZodOptional<z.ZodString>;
6473
+ isDeactivated: z.ZodOptional<z.ZodBoolean>;
6474
+ authType: z.ZodOptional<z.ZodEnum<{
6475
+ proxy: "proxy";
6476
+ "integration-app-token": "integration-app-token";
6477
+ "membrane-token": "membrane-token";
6478
+ oauth2: "oauth2";
6479
+ oauth1: "oauth1";
6480
+ "client-credentials": "client-credentials";
6481
+ }>>;
6482
+ }, z.core.$strip>;
6483
+ }, z.core.$strip>>>;
6484
+ defaultOutputSchema: z.ZodOptional<z.ZodType<DataSchema, unknown, z.core.$ZodTypeInternals<DataSchema, unknown>>>;
6485
+ transformedOutputSchema: z.ZodOptional<z.ZodType<DataSchema, unknown, z.core.$ZodTypeInternals<DataSchema, unknown>>>;
6486
+ outputSchema: z.ZodOptional<z.ZodType<DataSchema, unknown, z.core.$ZodTypeInternals<DataSchema, unknown>>>;
6487
+ dependencies: z.ZodOptional<z.ZodArray<z.ZodAny>>;
6488
+ }, z.core.$strip>;
6489
+ type ActionApiResponse = z.infer<typeof ActionApiResponse>;
6490
+ type Action = ActionApiResponse;
6491
+ declare const FindActionsQuery: z.ZodObject<{
6492
+ integrationKey: z.ZodOptional<z.ZodString>;
6493
+ connectionId: z.ZodOptional<z.ZodString>;
6494
+ instanceKey: z.ZodOptional<z.ZodString>;
6495
+ search: z.ZodOptional<z.ZodString>;
6496
+ limit: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
6497
+ cursor: z.ZodOptional<z.ZodString>;
6498
+ includeArchived: z.ZodOptional<z.ZodPipe<z.ZodTransform<boolean, unknown>, z.ZodBoolean>>;
6499
+ layer: z.ZodOptional<z.ZodEnum<{
6500
+ connection: "connection";
6501
+ integration: "integration";
6502
+ universal: "universal";
6503
+ }>>;
6504
+ integrationId: z.ZodOptional<z.ZodString>;
6505
+ parentId: z.ZodOptional<z.ZodString>;
6506
+ universalParentId: z.ZodOptional<z.ZodString>;
6507
+ userId: z.ZodOptional<z.ZodString>;
6508
+ }, z.core.$strip>;
6509
+ type FindActionsQuery = z.infer<typeof FindActionsQuery>;
6510
+ declare const CreateActionRequest: z.ZodObject<{
6511
+ key: z.ZodOptional<z.ZodString>;
6512
+ name: z.ZodOptional<z.ZodString>;
6513
+ uuid: z.ZodOptional<z.ZodString>;
6514
+ description: z.ZodOptional<z.ZodString>;
6515
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
6516
+ integrationId: z.ZodOptional<z.ZodString>;
6517
+ connectionId: z.ZodOptional<z.ZodString>;
6518
+ parentId: z.ZodOptional<z.ZodString>;
6519
+ instanceKey: z.ZodOptional<z.ZodString>;
6520
+ inputSchema: z.ZodOptional<z.ZodType<DataSchema, unknown, z.core.$ZodTypeInternals<DataSchema, unknown>>>;
6521
+ type: z.ZodOptional<z.ZodEnum<typeof ActionType>>;
6522
+ config: z.ZodOptional<z.ZodAny>;
6523
+ outputMapping: z.ZodOptional<z.ZodAny>;
6524
+ customOutputSchema: z.ZodOptional<z.ZodType<DataSchema, unknown, z.core.$ZodTypeInternals<DataSchema, unknown>>>;
6525
+ }, z.core.$strip>;
6526
+ type CreateActionRequest = z.infer<typeof CreateActionRequest>;
6527
+ declare const UpdateActionRequest: z.ZodObject<{
6528
+ key: z.ZodOptional<z.ZodOptional<z.ZodString>>;
6529
+ name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
6530
+ uuid: z.ZodOptional<z.ZodOptional<z.ZodString>>;
6531
+ description: z.ZodOptional<z.ZodOptional<z.ZodString>>;
6532
+ meta: z.ZodOptional<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>;
6533
+ integrationId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
6534
+ connectionId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
6535
+ parentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
6536
+ instanceKey: z.ZodOptional<z.ZodOptional<z.ZodString>>;
6537
+ inputSchema: z.ZodOptional<z.ZodOptional<z.ZodType<DataSchema, unknown, z.core.$ZodTypeInternals<DataSchema, unknown>>>>;
6538
+ type: z.ZodOptional<z.ZodOptional<z.ZodEnum<typeof ActionType>>>;
6539
+ config: z.ZodOptional<z.ZodOptional<z.ZodAny>>;
6540
+ outputMapping: z.ZodOptional<z.ZodOptional<z.ZodAny>>;
6541
+ customOutputSchema: z.ZodOptional<z.ZodOptional<z.ZodType<DataSchema, unknown, z.core.$ZodTypeInternals<DataSchema, unknown>>>>;
6542
+ }, z.core.$strip>;
6543
+ type UpdateActionRequest = z.infer<typeof UpdateActionRequest>;
6544
+ declare const CreateActionInstanceRequest: z.ZodObject<{
6545
+ key: z.ZodOptional<z.ZodString>;
6546
+ name: z.ZodOptional<z.ZodString>;
6547
+ uuid: z.ZodOptional<z.ZodString>;
6548
+ description: z.ZodOptional<z.ZodString>;
6549
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
6550
+ integrationId: z.ZodOptional<z.ZodString>;
6551
+ connectionId: z.ZodOptional<z.ZodString>;
6552
+ parentId: z.ZodOptional<z.ZodString>;
6553
+ instanceKey: z.ZodOptional<z.ZodString>;
6554
+ inputSchema: z.ZodOptional<z.ZodType<DataSchema, unknown, z.core.$ZodTypeInternals<DataSchema, unknown>>>;
6555
+ type: z.ZodOptional<z.ZodEnum<typeof ActionType>>;
6556
+ config: z.ZodOptional<z.ZodAny>;
6557
+ outputMapping: z.ZodOptional<z.ZodAny>;
6558
+ customOutputSchema: z.ZodOptional<z.ZodType<DataSchema, unknown, z.core.$ZodTypeInternals<DataSchema, unknown>>>;
6559
+ }, z.core.$strip>;
6560
+ type CreateActionInstanceRequest = CreateActionRequest;
6561
+ declare const UpdateActionInstanceRequest: z.ZodObject<{
6562
+ key: z.ZodOptional<z.ZodOptional<z.ZodString>>;
6563
+ name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
6564
+ uuid: z.ZodOptional<z.ZodOptional<z.ZodString>>;
6565
+ description: z.ZodOptional<z.ZodOptional<z.ZodString>>;
6566
+ meta: z.ZodOptional<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>;
6567
+ integrationId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
6568
+ connectionId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
6569
+ parentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
6570
+ instanceKey: z.ZodOptional<z.ZodOptional<z.ZodString>>;
6571
+ inputSchema: z.ZodOptional<z.ZodOptional<z.ZodType<DataSchema, unknown, z.core.$ZodTypeInternals<DataSchema, unknown>>>>;
6572
+ type: z.ZodOptional<z.ZodOptional<z.ZodEnum<typeof ActionType>>>;
6573
+ config: z.ZodOptional<z.ZodOptional<z.ZodAny>>;
6574
+ outputMapping: z.ZodOptional<z.ZodOptional<z.ZodAny>>;
6575
+ customOutputSchema: z.ZodOptional<z.ZodOptional<z.ZodType<DataSchema, unknown, z.core.$ZodTypeInternals<DataSchema, unknown>>>>;
6576
+ }, z.core.$strip>;
6577
+ type UpdateActionInstanceRequest = UpdateActionRequest;
6578
+ declare const RunActionRequest: z.ZodObject<{
6579
+ input: z.ZodOptional<z.ZodAny>;
6580
+ }, z.core.$strip>;
6581
+ type RunActionRequest = z.infer<typeof RunActionRequest>;
6582
+ declare const ActionRunResponse: z.ZodObject<{
6583
+ output: z.ZodOptional<z.ZodAny>;
6584
+ logs: z.ZodOptional<z.ZodArray<z.ZodAny>>;
6585
+ }, z.core.$strip>;
6586
+ type ActionRunResponse = z.infer<typeof ActionRunResponse>;
6587
+ declare const ActionInstanceApiResponse: z.ZodObject<{
6372
6588
  id: z.ZodString;
6373
6589
  key: z.ZodOptional<z.ZodString>;
6374
6590
  uuid: z.ZodOptional<z.ZodString>;
6375
6591
  description: z.ZodOptional<z.ZodString>;
6376
6592
  meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
6377
6593
  integrationId: z.ZodOptional<z.ZodString>;
6594
+ connectionId: z.ZodOptional<z.ZodString>;
6378
6595
  parentId: z.ZodOptional<z.ZodString>;
6596
+ instanceKey: z.ZodOptional<z.ZodString>;
6379
6597
  inputSchema: z.ZodOptional<z.ZodType<DataSchema, unknown, z.core.$ZodTypeInternals<DataSchema, unknown>>>;
6380
6598
  type: z.ZodOptional<z.ZodEnum<typeof ActionType>>;
6381
6599
  config: z.ZodOptional<z.ZodAny>;
@@ -6390,6 +6608,8 @@ declare const ActionApiResponse: z.ZodObject<{
6390
6608
  archivedAt: z.ZodOptional<z.ZodString>;
6391
6609
  isDeactivated: z.ZodOptional<z.ZodBoolean>;
6392
6610
  isCustomized: z.ZodOptional<z.ZodBoolean>;
6611
+ universalParentId: z.ZodOptional<z.ZodString>;
6612
+ userId: z.ZodOptional<z.ZodString>;
6393
6613
  integration: z.ZodOptional<z.ZodObject<{
6394
6614
  id: z.ZodString;
6395
6615
  key: z.ZodOptional<z.ZodString>;
@@ -6430,6 +6650,47 @@ declare const ActionApiResponse: z.ZodObject<{
6430
6650
  "client-credentials": "client-credentials";
6431
6651
  }>>;
6432
6652
  }, z.core.$strip>>;
6653
+ user: z.ZodOptional<z.ZodObject<{
6654
+ id: z.ZodString;
6655
+ name: z.ZodString;
6656
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
6657
+ internalId: z.ZodString;
6658
+ fields: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
6659
+ credentials: z.ZodOptional<z.ZodAny>;
6660
+ lastActiveAt: z.ZodOptional<z.ZodString>;
6661
+ isTest: z.ZodOptional<z.ZodBoolean>;
6662
+ isBillable: z.ZodOptional<z.ZodBoolean>;
6663
+ createdAt: z.ZodOptional<z.ZodString>;
6664
+ archivedAt: z.ZodOptional<z.ZodString>;
6665
+ }, z.core.$strip>>;
6666
+ parent: z.ZodOptional<z.ZodObject<{
6667
+ id: z.ZodString;
6668
+ key: z.ZodOptional<z.ZodString>;
6669
+ uuid: z.ZodOptional<z.ZodString>;
6670
+ description: z.ZodOptional<z.ZodString>;
6671
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
6672
+ integrationId: z.ZodOptional<z.ZodString>;
6673
+ connectionId: z.ZodOptional<z.ZodString>;
6674
+ parentId: z.ZodOptional<z.ZodString>;
6675
+ instanceKey: z.ZodOptional<z.ZodString>;
6676
+ inputSchema: z.ZodOptional<z.ZodType<DataSchema, unknown, z.core.$ZodTypeInternals<DataSchema, unknown>>>;
6677
+ type: z.ZodOptional<z.ZodEnum<typeof ActionType>>;
6678
+ config: z.ZodOptional<z.ZodAny>;
6679
+ outputMapping: z.ZodOptional<z.ZodAny>;
6680
+ customOutputSchema: z.ZodOptional<z.ZodType<DataSchema, unknown, z.core.$ZodTypeInternals<DataSchema, unknown>>>;
6681
+ name: z.ZodString;
6682
+ state: z.ZodOptional<z.ZodEnum<typeof WorkspaceElementState>>;
6683
+ errors: z.ZodOptional<z.ZodArray<z.ZodType<ErrorDataSchema, unknown, z.core.$ZodTypeInternals<ErrorDataSchema, unknown>>>>;
6684
+ revision: z.ZodOptional<z.ZodString>;
6685
+ createdAt: z.ZodOptional<z.ZodString>;
6686
+ updatedAt: z.ZodOptional<z.ZodString>;
6687
+ archivedAt: z.ZodOptional<z.ZodString>;
6688
+ isDeactivated: z.ZodOptional<z.ZodBoolean>;
6689
+ isCustomized: z.ZodOptional<z.ZodBoolean>;
6690
+ universalParentId: z.ZodOptional<z.ZodString>;
6691
+ userId: z.ZodOptional<z.ZodString>;
6692
+ outputSchema: z.ZodOptional<z.ZodAny>;
6693
+ }, z.core.$strip>>;
6433
6694
  appliedToIntegrations: z.ZodOptional<z.ZodArray<z.ZodObject<{
6434
6695
  element: z.ZodObject<{
6435
6696
  id: z.ZodString;
@@ -6438,7 +6699,9 @@ declare const ActionApiResponse: z.ZodObject<{
6438
6699
  description: z.ZodOptional<z.ZodString>;
6439
6700
  meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
6440
6701
  integrationId: z.ZodOptional<z.ZodString>;
6702
+ connectionId: z.ZodOptional<z.ZodString>;
6441
6703
  parentId: z.ZodOptional<z.ZodString>;
6704
+ instanceKey: z.ZodOptional<z.ZodString>;
6442
6705
  inputSchema: z.ZodOptional<z.ZodType<DataSchema, unknown, z.core.$ZodTypeInternals<DataSchema, unknown>>>;
6443
6706
  type: z.ZodOptional<z.ZodEnum<typeof ActionType>>;
6444
6707
  config: z.ZodOptional<z.ZodAny>;
@@ -6453,6 +6716,9 @@ declare const ActionApiResponse: z.ZodObject<{
6453
6716
  archivedAt: z.ZodOptional<z.ZodString>;
6454
6717
  isDeactivated: z.ZodOptional<z.ZodBoolean>;
6455
6718
  isCustomized: z.ZodOptional<z.ZodBoolean>;
6719
+ universalParentId: z.ZodOptional<z.ZodString>;
6720
+ userId: z.ZodOptional<z.ZodString>;
6721
+ outputSchema: z.ZodOptional<z.ZodAny>;
6456
6722
  }, z.core.$strip>;
6457
6723
  integration: z.ZodObject<{
6458
6724
  id: z.ZodString;
@@ -6500,53 +6766,48 @@ declare const ActionApiResponse: z.ZodObject<{
6500
6766
  outputSchema: z.ZodOptional<z.ZodType<DataSchema, unknown, z.core.$ZodTypeInternals<DataSchema, unknown>>>;
6501
6767
  dependencies: z.ZodOptional<z.ZodArray<z.ZodAny>>;
6502
6768
  }, z.core.$strip>;
6503
- type ActionApiResponse = z.infer<typeof ActionApiResponse>;
6504
- type Action = ActionApiResponse;
6505
- declare const FindActionsQuery: z.ZodObject<{
6769
+ type ActionInstanceApiResponse = ActionApiResponse;
6770
+ type ActionInstance = ActionInstanceApiResponse;
6771
+ interface ActionInstanceSelector extends ConnectionSelector, ElementInstanceSelector {
6772
+ }
6773
+ declare const ListActionInstancesForConnectionQuery: z.ZodObject<{
6774
+ integrationKey: z.ZodOptional<z.ZodString>;
6775
+ connectionId: z.ZodOptional<z.ZodString>;
6776
+ instanceKey: z.ZodOptional<z.ZodString>;
6777
+ search: z.ZodOptional<z.ZodString>;
6506
6778
  limit: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
6507
6779
  cursor: z.ZodOptional<z.ZodString>;
6780
+ includeArchived: z.ZodOptional<z.ZodPipe<z.ZodTransform<boolean, unknown>, z.ZodBoolean>>;
6781
+ layer: z.ZodOptional<z.ZodEnum<{
6782
+ connection: "connection";
6783
+ integration: "integration";
6784
+ universal: "universal";
6785
+ }>>;
6508
6786
  integrationId: z.ZodOptional<z.ZodString>;
6509
6787
  parentId: z.ZodOptional<z.ZodString>;
6788
+ universalParentId: z.ZodOptional<z.ZodString>;
6789
+ userId: z.ZodOptional<z.ZodString>;
6790
+ }, z.core.$strip>;
6791
+ type ListActionInstancesForConnectionQuery = FindActionsQuery;
6792
+ declare const FindActionInstancesQuery: z.ZodObject<{
6510
6793
  integrationKey: z.ZodOptional<z.ZodString>;
6794
+ connectionId: z.ZodOptional<z.ZodString>;
6795
+ instanceKey: z.ZodOptional<z.ZodString>;
6511
6796
  search: z.ZodOptional<z.ZodString>;
6797
+ limit: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
6798
+ cursor: z.ZodOptional<z.ZodString>;
6512
6799
  includeArchived: z.ZodOptional<z.ZodPipe<z.ZodTransform<boolean, unknown>, z.ZodBoolean>>;
6513
- }, z.core.$strip>;
6514
- type FindActionsQuery = z.infer<typeof FindActionsQuery>;
6515
- declare const CreateActionRequest: z.ZodObject<{
6516
- key: z.ZodOptional<z.ZodString>;
6517
- name: z.ZodOptional<z.ZodString>;
6518
- uuid: z.ZodOptional<z.ZodString>;
6519
- description: z.ZodOptional<z.ZodString>;
6520
- meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
6800
+ layer: z.ZodOptional<z.ZodEnum<{
6801
+ connection: "connection";
6802
+ integration: "integration";
6803
+ universal: "universal";
6804
+ }>>;
6521
6805
  integrationId: z.ZodOptional<z.ZodString>;
6522
6806
  parentId: z.ZodOptional<z.ZodString>;
6523
- inputSchema: z.ZodOptional<z.ZodType<DataSchema, unknown, z.core.$ZodTypeInternals<DataSchema, unknown>>>;
6524
- type: z.ZodOptional<z.ZodEnum<typeof ActionType>>;
6525
- config: z.ZodOptional<z.ZodAny>;
6526
- outputMapping: z.ZodOptional<z.ZodAny>;
6527
- customOutputSchema: z.ZodOptional<z.ZodType<DataSchema, unknown, z.core.$ZodTypeInternals<DataSchema, unknown>>>;
6528
- }, z.core.$strip>;
6529
- type CreateActionRequest = z.infer<typeof CreateActionRequest>;
6530
- declare const UpdateActionRequest: z.ZodObject<{
6531
- key: z.ZodOptional<z.ZodOptional<z.ZodString>>;
6532
- name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
6533
- uuid: z.ZodOptional<z.ZodOptional<z.ZodString>>;
6534
- description: z.ZodOptional<z.ZodOptional<z.ZodString>>;
6535
- meta: z.ZodOptional<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>;
6536
- integrationId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
6537
- parentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
6538
- inputSchema: z.ZodOptional<z.ZodOptional<z.ZodType<DataSchema, unknown, z.core.$ZodTypeInternals<DataSchema, unknown>>>>;
6539
- type: z.ZodOptional<z.ZodOptional<z.ZodEnum<typeof ActionType>>>;
6540
- config: z.ZodOptional<z.ZodOptional<z.ZodAny>>;
6541
- outputMapping: z.ZodOptional<z.ZodOptional<z.ZodAny>>;
6542
- customOutputSchema: z.ZodOptional<z.ZodOptional<z.ZodType<DataSchema, unknown, z.core.$ZodTypeInternals<DataSchema, unknown>>>>;
6543
- }, z.core.$strip>;
6544
- type UpdateActionRequest = z.infer<typeof UpdateActionRequest>;
6545
- declare const ActionRunResponse: z.ZodObject<{
6546
- output: z.ZodOptional<z.ZodAny>;
6547
- logs: z.ZodOptional<z.ZodArray<z.ZodAny>>;
6807
+ universalParentId: z.ZodOptional<z.ZodString>;
6808
+ userId: z.ZodOptional<z.ZodString>;
6548
6809
  }, z.core.$strip>;
6549
- type ActionRunResponse = z.infer<typeof ActionRunResponse>;
6810
+ type FindActionInstancesQuery = FindActionsQuery;
6550
6811
  interface ActionSelector extends IntegrationSpecificElementSelector {
6551
6812
  }
6552
6813
 
@@ -6588,7 +6849,9 @@ declare const ActionRunLogRecordApiResponse: z.ZodObject<{
6588
6849
  description: z.ZodOptional<z.ZodString>;
6589
6850
  meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
6590
6851
  integrationId: z.ZodOptional<z.ZodString>;
6852
+ connectionId: z.ZodOptional<z.ZodString>;
6591
6853
  parentId: z.ZodOptional<z.ZodString>;
6854
+ instanceKey: z.ZodOptional<z.ZodString>;
6592
6855
  inputSchema: z.ZodOptional<z.ZodType<DataSchema, unknown, z.core.$ZodTypeInternals<DataSchema, unknown>>>;
6593
6856
  type: z.ZodOptional<z.ZodEnum<typeof ActionType>>;
6594
6857
  config: z.ZodOptional<z.ZodAny>;
@@ -6603,6 +6866,9 @@ declare const ActionRunLogRecordApiResponse: z.ZodObject<{
6603
6866
  archivedAt: z.ZodOptional<z.ZodString>;
6604
6867
  isDeactivated: z.ZodOptional<z.ZodBoolean>;
6605
6868
  isCustomized: z.ZodOptional<z.ZodBoolean>;
6869
+ universalParentId: z.ZodOptional<z.ZodString>;
6870
+ userId: z.ZodOptional<z.ZodString>;
6871
+ outputSchema: z.ZodOptional<z.ZodAny>;
6606
6872
  }, z.core.$strip>>;
6607
6873
  integration: z.ZodOptional<z.ZodObject<{
6608
6874
  id: z.ZodString;
@@ -8286,9 +8552,12 @@ interface OrgWorkspace {
8286
8552
  declare enum WebhookTypeEnum {
8287
8553
  USER_INVITED_TO_ORG = "user-invited-to-org",
8288
8554
  ORG_ACCESS_REQUESTED = "org-access-requested",
8289
- ORG_CREATED = "org-created"
8555
+ ORG_CREATED = "org-created",
8556
+ TASK_CREATED = "task-created",
8557
+ TASK_UPDATED = "task-updated",
8558
+ TASK_ACTIVITY_CREATED = "task-activity-created"
8290
8559
  }
8291
- type WebhookType = WebhookTypeEnum.USER_INVITED_TO_ORG | WebhookTypeEnum.ORG_ACCESS_REQUESTED | WebhookTypeEnum.ORG_CREATED;
8560
+ type WebhookType = WebhookTypeEnum.USER_INVITED_TO_ORG | WebhookTypeEnum.ORG_ACCESS_REQUESTED | WebhookTypeEnum.ORG_CREATED | WebhookTypeEnum.TASK_CREATED | WebhookTypeEnum.TASK_UPDATED | WebhookTypeEnum.TASK_ACTIVITY_CREATED;
8292
8561
  interface Webhook {
8293
8562
  type: WebhookType;
8294
8563
  url: string;
@@ -8304,7 +8573,9 @@ declare enum AlertSeverity {
8304
8573
  WARNING = "warning"
8305
8574
  }
8306
8575
  declare enum AlertType {
8307
- externalEventsPerCustomerPerDay = "externalEventsPerCustomerPerDay"
8576
+ externalEventsPerCustomerPerDay = "externalEventsPerCustomerPerDay",
8577
+ totalUsagePerDay = "totalUsagePerDay",
8578
+ totalUsagePer30Days = "totalUsagePer30Days"
8308
8579
  }
8309
8580
  interface Alert {
8310
8581
  id: string;
@@ -8327,6 +8598,13 @@ interface WorkspaceSyncEvent {
8327
8598
  type: WorkspaceSyncEventType;
8328
8599
  elementType: WorkspaceElementType;
8329
8600
  elementId: string;
8601
+ data?: any;
8602
+ }
8603
+ declare enum ConnectorFileUpdateType {
8604
+ ConnectorFileUpdated = "connector-file-updated",
8605
+ ConnectorFileDeleted = "connector-file-deleted",
8606
+ ConnectorDirectoryRenamed = "connector-directory-renamed",
8607
+ ConnectorDirectoryDeleted = "connector-directory-deleted"
8330
8608
  }
8331
8609
 
8332
8610
  declare enum ScenarioTemplateCategory {
@@ -8620,8 +8898,8 @@ declare class MembraneClient extends MembraneApiClient {
8620
8898
  appDataSchemaInstance(selector: string | AppDataSchemaInstanceSelector): AppDataSchemaInstanceAccessor;
8621
8899
  customer(selector: string | CustomerSelector): CustomerAccessor;
8622
8900
  get customers(): CustomersAccessor;
8623
- scenario(selector: string): ScenarioAccessor;
8624
- get scenarios(): ScenariosAccessor;
8901
+ package(selector: string): PackageAccessor;
8902
+ get packages(): PackagesAccessor;
8625
8903
  createEventSource(uri: string, queryParams?: Record<string, any>): Promise<EventSource>;
8626
8904
  connectionRequest(connectionId: string, uri: string, data?: any): Promise<any>;
8627
8905
  }
@@ -8652,6 +8930,16 @@ interface ActionSpec {
8652
8930
  declare function isDataActionType(type: string | ActionType): any;
8653
8931
  declare const ACTIONS: Record<ActionType, ActionSpec>;
8654
8932
 
8933
+ declare enum ActionDependencyType {
8934
+ FieldMapping = "FieldMapping",
8935
+ DataSource = "DataSource"
8936
+ }
8937
+ declare const ActionDependency: z.ZodObject<{
8938
+ type: z.ZodEnum<typeof ActionDependencyType>;
8939
+ key: z.ZodString;
8940
+ element: z.ZodOptional<z.ZodAny>;
8941
+ }, z.core.$strip>;
8942
+ type ActionDependency = z.infer<typeof ActionDependency>;
8655
8943
  declare const ActionEditableProperties: z.ZodObject<{
8656
8944
  key: z.ZodOptional<z.ZodString>;
8657
8945
  name: z.ZodOptional<z.ZodString>;
@@ -8659,7 +8947,9 @@ declare const ActionEditableProperties: z.ZodObject<{
8659
8947
  description: z.ZodOptional<z.ZodString>;
8660
8948
  meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
8661
8949
  integrationId: z.ZodOptional<z.ZodString>;
8950
+ connectionId: z.ZodOptional<z.ZodString>;
8662
8951
  parentId: z.ZodOptional<z.ZodString>;
8952
+ instanceKey: z.ZodOptional<z.ZodString>;
8663
8953
  inputSchema: z.ZodOptional<z.ZodType<DataSchema, unknown, z.core.$ZodTypeInternals<DataSchema, unknown>>>;
8664
8954
  type: z.ZodOptional<z.ZodEnum<typeof ActionType>>;
8665
8955
  config: z.ZodOptional<z.ZodAny>;
@@ -8674,7 +8964,9 @@ declare const BaseAction: z.ZodObject<{
8674
8964
  description: z.ZodOptional<z.ZodString>;
8675
8965
  meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
8676
8966
  integrationId: z.ZodOptional<z.ZodString>;
8967
+ connectionId: z.ZodOptional<z.ZodString>;
8677
8968
  parentId: z.ZodOptional<z.ZodString>;
8969
+ instanceKey: z.ZodOptional<z.ZodString>;
8678
8970
  inputSchema: z.ZodOptional<z.ZodType<DataSchema, unknown, z.core.$ZodTypeInternals<DataSchema, unknown>>>;
8679
8971
  type: z.ZodOptional<z.ZodEnum<typeof ActionType>>;
8680
8972
  config: z.ZodOptional<z.ZodAny>;
@@ -8689,8 +8981,40 @@ declare const BaseAction: z.ZodObject<{
8689
8981
  archivedAt: z.ZodOptional<z.ZodString>;
8690
8982
  isDeactivated: z.ZodOptional<z.ZodBoolean>;
8691
8983
  isCustomized: z.ZodOptional<z.ZodBoolean>;
8984
+ universalParentId: z.ZodOptional<z.ZodString>;
8985
+ userId: z.ZodOptional<z.ZodString>;
8986
+ outputSchema: z.ZodOptional<z.ZodAny>;
8692
8987
  }, z.core.$strip>;
8693
8988
  type BaseAction = z.infer<typeof BaseAction>;
8989
+ declare const BaseActionInstance: z.ZodObject<{
8990
+ id: z.ZodString;
8991
+ key: z.ZodOptional<z.ZodString>;
8992
+ uuid: z.ZodOptional<z.ZodString>;
8993
+ description: z.ZodOptional<z.ZodString>;
8994
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
8995
+ integrationId: z.ZodOptional<z.ZodString>;
8996
+ connectionId: z.ZodOptional<z.ZodString>;
8997
+ parentId: z.ZodOptional<z.ZodString>;
8998
+ instanceKey: z.ZodOptional<z.ZodString>;
8999
+ inputSchema: z.ZodOptional<z.ZodType<DataSchema, unknown, z.core.$ZodTypeInternals<DataSchema, unknown>>>;
9000
+ type: z.ZodOptional<z.ZodEnum<typeof ActionType>>;
9001
+ config: z.ZodOptional<z.ZodAny>;
9002
+ outputMapping: z.ZodOptional<z.ZodAny>;
9003
+ customOutputSchema: z.ZodOptional<z.ZodType<DataSchema, unknown, z.core.$ZodTypeInternals<DataSchema, unknown>>>;
9004
+ name: z.ZodString;
9005
+ state: z.ZodOptional<z.ZodEnum<typeof WorkspaceElementState>>;
9006
+ errors: z.ZodOptional<z.ZodArray<z.ZodType<ErrorDataSchema, unknown, z.core.$ZodTypeInternals<ErrorDataSchema, unknown>>>>;
9007
+ revision: z.ZodOptional<z.ZodString>;
9008
+ createdAt: z.ZodOptional<z.ZodString>;
9009
+ updatedAt: z.ZodOptional<z.ZodString>;
9010
+ archivedAt: z.ZodOptional<z.ZodString>;
9011
+ isDeactivated: z.ZodOptional<z.ZodBoolean>;
9012
+ isCustomized: z.ZodOptional<z.ZodBoolean>;
9013
+ universalParentId: z.ZodOptional<z.ZodString>;
9014
+ userId: z.ZodOptional<z.ZodString>;
9015
+ outputSchema: z.ZodOptional<z.ZodAny>;
9016
+ }, z.core.$strip>;
9017
+ type BaseActionInstance = BaseAction;
8694
9018
 
8695
9019
  declare const DEFAULT_PULL_UPDATES_INTERVAL_SECONDS: number;
8696
9020
  declare const DEFAULT_FULL_SYNC_INTERVAL_SECONDS: number;
@@ -8699,10 +9023,10 @@ declare const MIN_PULL_UPDATES_INTERVAL_SECONDS: number;
8699
9023
  declare const DataSourceEditableProperties: z.ZodObject<{
8700
9024
  key: z.ZodOptional<z.ZodString>;
8701
9025
  description: z.ZodOptional<z.ZodString>;
9026
+ integrationId: z.ZodOptional<z.ZodString>;
8702
9027
  name: z.ZodOptional<z.ZodString>;
8703
9028
  uuid: z.ZodOptional<z.ZodString>;
8704
9029
  meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
8705
- integrationId: z.ZodOptional<z.ZodString>;
8706
9030
  universalDataSourceId: z.ZodOptional<z.ZodString>;
8707
9031
  udm: z.ZodOptional<z.ZodString>;
8708
9032
  pullUpdatesIntervalSeconds: z.ZodOptional<z.ZodNumber>;
@@ -8716,9 +9040,9 @@ declare const BaseDataSource: z.ZodObject<{
8716
9040
  id: z.ZodString;
8717
9041
  key: z.ZodOptional<z.ZodString>;
8718
9042
  description: z.ZodOptional<z.ZodString>;
9043
+ integrationId: z.ZodOptional<z.ZodString>;
8719
9044
  uuid: z.ZodOptional<z.ZodString>;
8720
9045
  meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
8721
- integrationId: z.ZodOptional<z.ZodString>;
8722
9046
  universalDataSourceId: z.ZodOptional<z.ZodString>;
8723
9047
  udm: z.ZodOptional<z.ZodString>;
8724
9048
  pullUpdatesIntervalSeconds: z.ZodOptional<z.ZodNumber>;
@@ -9142,13 +9466,13 @@ declare const AppliedToIntegrations: <Element extends z.ZodType>(elementSchema:
9142
9466
  }, z.core.$strip>>;
9143
9467
  type AppliedToIntegrations<Element> = z.infer<ReturnType<typeof AppliedToIntegrations<z.ZodType<Element>>>>;
9144
9468
 
9145
- declare const ScenarioElement: z.ZodObject<{
9469
+ declare const PackageElement: z.ZodObject<{
9146
9470
  id: z.ZodString;
9147
9471
  type: z.ZodEnum<typeof IntegrationElementType>;
9148
9472
  element: z.ZodOptional<z.ZodAny>;
9149
9473
  }, z.core.$strip>;
9150
- type ScenarioElement = z.infer<typeof ScenarioElement>;
9151
- declare const ScenarioEditableProperties: z.ZodObject<{
9474
+ type PackageElement = z.infer<typeof PackageElement>;
9475
+ declare const PackageEditableProperties: z.ZodObject<{
9152
9476
  key: z.ZodOptional<z.ZodString>;
9153
9477
  name: z.ZodOptional<z.ZodString>;
9154
9478
  uuid: z.ZodOptional<z.ZodString>;
@@ -9163,14 +9487,14 @@ declare const ScenarioEditableProperties: z.ZodObject<{
9163
9487
  integrationId: z.ZodOptional<z.ZodString>;
9164
9488
  parentId: z.ZodOptional<z.ZodString>;
9165
9489
  }, z.core.$strip>;
9166
- type ScenarioEditableProperties = z.infer<typeof ScenarioEditableProperties>;
9167
- declare const ScenarioCalculatedProperties: z.ZodObject<{
9490
+ type PackageEditableProperties = z.infer<typeof PackageEditableProperties>;
9491
+ declare const PackageCalculatedProperties: z.ZodObject<{
9168
9492
  key: z.ZodString;
9169
9493
  name: z.ZodString;
9170
9494
  isCustomized: z.ZodOptional<z.ZodBoolean>;
9171
9495
  }, z.core.$strip>;
9172
- type ScenarioCalculatedProperties = z.infer<typeof ScenarioCalculatedProperties>;
9173
- declare const BaseScenario: z.ZodObject<{
9496
+ type PackageCalculatedProperties = z.infer<typeof PackageCalculatedProperties>;
9497
+ declare const BasePackage: z.ZodObject<{
9174
9498
  id: z.ZodString;
9175
9499
  state: z.ZodOptional<z.ZodEnum<typeof WorkspaceElementState>>;
9176
9500
  errors: z.ZodOptional<z.ZodArray<z.ZodType<ErrorDataSchema, unknown, z.core.$ZodTypeInternals<ErrorDataSchema, unknown>>>>;
@@ -9194,7 +9518,7 @@ declare const BaseScenario: z.ZodObject<{
9194
9518
  name: z.ZodString;
9195
9519
  isCustomized: z.ZodOptional<z.ZodBoolean>;
9196
9520
  }, z.core.$strip>;
9197
- type BaseScenario = z.infer<typeof BaseScenario>;
9521
+ type BasePackage = z.infer<typeof BasePackage>;
9198
9522
 
9199
9523
  declare const BaseCustomer: z.ZodObject<{
9200
9524
  id: z.ZodString;
@@ -9275,41 +9599,6 @@ declare const FlowInstanceNode: z.ZodObject<{
9275
9599
  }, z.core.$strip>;
9276
9600
  type FlowInstanceNode = z.infer<typeof FlowInstanceNode>;
9277
9601
 
9278
- declare enum ActionDependencyType {
9279
- FieldMapping = "FieldMapping",
9280
- DataSource = "DataSource"
9281
- }
9282
- declare const ActionDependency: z.ZodObject<{
9283
- type: z.ZodEnum<typeof ActionDependencyType>;
9284
- key: z.ZodString;
9285
- element: z.ZodOptional<z.ZodAny>;
9286
- }, z.core.$strip>;
9287
- type ActionDependency = z.infer<typeof ActionDependency>;
9288
- declare const BaseActionInstance: z.ZodObject<{
9289
- id: z.ZodString;
9290
- key: z.ZodOptional<z.ZodString>;
9291
- uuid: z.ZodOptional<z.ZodString>;
9292
- description: z.ZodOptional<z.ZodString>;
9293
- meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
9294
- name: z.ZodString;
9295
- state: z.ZodOptional<z.ZodEnum<typeof WorkspaceElementState>>;
9296
- errors: z.ZodOptional<z.ZodArray<z.ZodType<ErrorDataSchema, unknown, z.core.$ZodTypeInternals<ErrorDataSchema, unknown>>>>;
9297
- revision: z.ZodOptional<z.ZodString>;
9298
- createdAt: z.ZodOptional<z.ZodString>;
9299
- updatedAt: z.ZodOptional<z.ZodString>;
9300
- archivedAt: z.ZodOptional<z.ZodString>;
9301
- isDeactivated: z.ZodOptional<z.ZodBoolean>;
9302
- parentId: z.ZodOptional<z.ZodString>;
9303
- universalParentId: z.ZodOptional<z.ZodString>;
9304
- userId: z.ZodString;
9305
- instanceKey: z.ZodOptional<z.ZodString>;
9306
- type: z.ZodOptional<z.ZodEnum<typeof ActionType>>;
9307
- inputSchema: z.ZodOptional<z.ZodAny>;
9308
- config: z.ZodOptional<z.ZodAny>;
9309
- outputSchema: z.ZodOptional<z.ZodAny>;
9310
- }, z.core.$strip>;
9311
- type BaseActionInstance = z.infer<typeof BaseActionInstance>;
9312
-
9313
9602
  declare const BaseFieldMappingInstance: z.ZodObject<{
9314
9603
  id: z.ZodString;
9315
9604
  key: z.ZodOptional<z.ZodString>;
@@ -9419,5 +9708,5 @@ declare function getParentNodeKeys(flow: Flow | FlowInstance, nodeKey: string):
9419
9708
  declare function getUpstreamNodeKeys(flow: Flow | FlowInstance, nodeKey: string): string[];
9420
9709
  declare function hasCycles(nodes?: Record<string, FlowNode>): boolean;
9421
9710
 
9422
- export { ACTIONS, AccessDeniedError, ActionAccessor, ActionApiResponse, ActionDependency, ActionDependencyType, ActionEditableProperties, ActionInstanceAccessor, ActionInstanceApiResponse, ActionInstanceSetupError, ActionInstancesAccessor, ActionRunError, ActionRunLogRecordApiResponse, ActionRunLogStatus, ActionRunResponse, ActionType, ActionsAccessor, AlertSeverity, AlertStatus, AlertType, ApiRequestSpec, AppDataSchemaAccessor, AppDataSchemaApiResponse, AppDataSchemaInstanceAccessor, AppDataSchemaInstanceApiResponse, AppDataSchemaInstancesAccessor, AppDataSchemasAccessor, AppEventLogRecordApiResponse, AppEventSubscriptionAccessor, AppEventSubscriptionApiResponse, AppEventSubscriptionsAccessor, AppEventTypeAccessor, AppEventTypeApiResponse, AppEventTypesAccessor, AppliedToIntegrations, BadRequestError, BadRequestErrorKey, BaseAction, BaseActionInstance, BaseActionRunLogRecord, BaseAppDataSchema, BaseAppDataSchemaInstance, BaseAppEventSubscription, BaseAppEventType, BaseConnection, BaseCustomer, BaseDataLinkTable, BaseDataLinkTableInstance, BaseDataSource, BaseDataSourceInstance, BaseExternalEvent, BaseExternalEventLogRecord, BaseExternalEventPull, BaseExternalEventSubscription, BaseFieldMapping, BaseFieldMappingInstance, BaseFlow, BaseFlowInstance, BaseFlowRun, BaseIntegration, BaseIntegrationLevelMembraneInterface, BaseIntegrationLevelMembraneInterfaceEditableProperties, BaseIntegrationLevelMembraneInterfaceReadOnlyProperties, BaseMembraneInterface, BaseMembraneInterfaceEditableProperties, BaseMembraneInterfaceReadOnlyProperties, BaseScenario, BaseScreen, BaseWorkspaceElement, CONFIG_FILE_NAME, CONNECTOR_AUTH_TYPES, CONNECTOR_CATEGORIES, CONNECTOR_DATA_DIR, CONNECTOR_DOCS_DIR, CONNECTOR_EVENTS_DIR, CONNECTOR_GLOBAL_WEBHOOKS_DIR, CONNECTOR_METHOD_IMPLEMENTATION_SUFFIXES, CONNECTOR_OPERATIONS_DIR, CommonInstancesListQuery, CommonIntegrationOrConnectionQuery, CommonListElementsQuery, ConcurrencyError, ConcurrencyErrorKey, ConfigurationError, ConfigurationState, ConnectionAccessor, ConnectionApiResponse, ConnectionApiResponseWithSecrets, ConnectionDataCollectionAccessor, ConnectionError, ConnectionErrorKey, ConnectionLevelActionAccessor, ConnectionLevelActionsAccessor, ConnectionLevelDataSourceAccessor, ConnectionLevelDataSourcesAccessor, ConnectionLevelFieldMappingAccessor, ConnectionLevelFieldMappingsAccessor, ConnectionLevelFlowAccessor, ConnectionLevelFlowsAccessor, ConnectionMessagePayload, ConnectionOperationAccessor, ConnectionProxy, ConnectionRequest, ConnectionSelector, ConnectionSpec, ConnectionsAccessor, ConnectorAuthMethodTypes, ConnectorCopilotFileChunkTopicKey, ConnectorCopilotSuggestionType, ConnectorDataCollectionEventImplementationType, ConnectorDataCollectionMethodKeys, ConnectorDataLocationTypes, ConnectorEventHandlerMethods, ConnectorEventImplementationType, ConnectorMethodImplementationType, ConnectorOperationMethodImplementationTypes, ConnectorStatus, CopilotActionStatus, CopilotActionType, CopilotActivityScope, CopilotActivityType, CopilotTaskStatus, CopilotTaskType, CreateActionInstanceRequest, CreateActionRequest, CreateConnectionRequest, CreateCustomerRequest, CreateDataSourceInstanceRequest, CreateDataSourceRequest, CreateFieldMappingRequest, CreateFlowNodeRequest, CreateFlowRequest, CreateFlowRunRequest, CreateIntegrationRequest, CustomCodeError, CustomerAccessor, CustomerApiResponse, CustomerLimits, CustomerSelector, CustomersAccessor, DATA_RECORD_SCHEMA, DEFAULT_FULL_SYNC_INTERVAL_SECONDS, DEFAULT_PULL_UPDATES_INTERVAL_SECONDS, DataBuilderFormulaType, DataCollectionCreateRequest, DataCollectionCreateResponse, DataCollectionCreateSpec, DataCollectionDeleteRequest, DataCollectionDeleteResponse, DataCollectionDeleteSpec, DataCollectionEventType, DataCollectionEventTypeSpec, DataCollectionEventsSpec, DataCollectionFindByIdRequest, DataCollectionFindByIdResponse, DataCollectionFindByIdSpec, DataCollectionFindRequest, DataCollectionFindResponse, DataCollectionFindSpec, DataCollectionListRequest, DataCollectionListResponse, DataCollectionListResponseDrilldown, DataCollectionListSpec, DataCollectionMatchRequest, DataCollectionMatchResponse, DataCollectionMatchSpec, DataCollectionMethodRequest, DataCollectionMethodSpec, DataCollectionSearchRequest, DataCollectionSearchResponse, DataCollectionSearchSpec, DataCollectionSpec, DataCollectionUdmSpec, DataCollectionUdmsSpec, DataCollectionUpdateRequest, DataCollectionUpdateResponse, DataCollectionUpdateSpec, DataFilterCondition, DataForm, DataLink, DataLinkDirection, DataLinkTableAccessor, DataLinkTableApiResponse, DataLinkTableConfig, DataLinkTableInstanceAccessor, DataLinkTableInstanceApiResponse, DataLinkTableInstancesAccessor, DataLinkTablesAccessor, DataLocationMethodImplementationTypes, DataLocationTypeCollection, DataLocatorStep, DataLocatorStepArrayItem, DataLocatorStepObjectProperty, DataLocatorStepType, DataRecordSchema, DataSchema, DataSourceAccessor, DataSourceApiResponse, DataSourceEditableProperties, DataSourceInstanceAccessor, DataSourceInstanceApiResponse, DataSourceInstancesAccessor, DataSourceUnitConfig, DataSourcesAccessor, DependencyError, DownstreamFlowNodeRunSchema, EDITABLE_LIMITS, ElementAccessor, ElementInstanceAccessor, ElementInstanceListAccessor, ElementListAccessor, ElementsExportFields, ErrorData, ErrorDataSchema, ErrorType, ExternalEvent, ExternalEventLogRecordApiResponse, ExternalEventLogStatus, ExternalEventPullApiResponse, ExternalEventPullStatus, ExternalEventSubscriptionAccessor, ExternalEventSubscriptionApiResponse, ExternalEventSubscriptionConfig, ExternalEventSubscriptionStatus, ExternalEventSubscriptionType, ExternalEventSubscriptionsAccessor, ExternalEventType, ExternalEventUnitConfig, FLOW_NODE_SPECS, FieldMappingAccessor, FieldMappingApiResponse, FieldMappingDirection, FieldMappingEditableProperties, FieldMappingInstanceAccessor, FieldMappingInstanceApiResponse, FieldMappingInstancesAccessor, FieldMappingUnitConfig, FieldMappingsAccessor, FindActionInstancesQuery, FindActionsQuery, FindConnectionsQuery, FindConnectionsResponse, FindCustomersQuery, FindDataSourceEventsQuery, FindDataSourceInstanceSyncsQuery, FindDataSourceInstancesQuery, FindDataSourceSyncsQuery, FindDataSourcesQuery, FindFieldMappingsQuery, FindFlowInstancesQuery, FindFlowRunsQuery, FindFlowRunsResponse, FindFlowsQuery, FindIntegrationsQuery, FindScenariosQuery, FlowAccessor, FlowApiResponse, FlowEditableProperties, FlowInstanceAccessor, FlowInstanceApiResponse, FlowInstanceNode, FlowInstanceNodeState, FlowInstanceSetupError, FlowInstancesAccessor, FlowNode, FlowNodeLink, FlowNodeRunOutputMetadataSchema, FlowNodeRunOutputSchema, FlowNodeRunOutputWithoutDownstreamRunsSchema, FlowNodeRunParametersSchema, FlowNodeRunRecordSchema, FlowNodeRunRecordWithoutOutputsDataSchema, FlowNodeRunResultSchema, FlowNodeRunStatus, FlowNodeSpec, FlowNodeType, FlowRunAccessor, FlowRunApiResponse, FlowRunError, FlowRunLaunchedBy, FlowRunLaunchedByApi, FlowRunLaunchedByTrigger, FlowRunNode, FlowRunNodeState, FlowRunState, FlowRunsAccessor, FlowsAccessor, Formula, HTTP_REQUEST_SCHEMA, HandyScenarioTemplateElement, HttpRequestMethod, HttpRequestSpec, IncludeArchivedQuery, IncomingWebhooksState, IntegrationAccessor, IntegrationApiResponse, MembraneClient as IntegrationAppClient, IntegrationAuthOption, IntegrationAuthUi, IntegrationElementLevel, IntegrationElementType, IntegrationLevelActionAccessor, IntegrationLevelActionsListAccessor, IntegrationLevelDataSourceAccessor, IntegrationLevelDataSourcesListAccessor, IntegrationLevelFieldMappingAccessor, IntegrationLevelFieldMappingsListAccessor, IntegrationLevelFlowAccessor, IntegrationLevelFlowsListAccessor, IntegrationsAccessor, InternalError, InvalidLocatorError, LimitUnits, ListActionInstancesForConnectionQuery, ListDataSourceInstancesForConnectionQuery, ListExternalEventLogRecordsQuery, ListExternalEventPullsQuery, ListFlowInstancesForConnectionQuery, LogRecordType, MIN_FULL_SYNC_INTERVAL_SECONDS, MIN_PULL_UPDATES_INTERVAL_SECONDS, MembraneClient, MembraneConfigLoader, MembraneError, MinimalConnector, NotAuthenticatedError, NotFoundError, OAUTH1_CONFIG_SCHEMA, OAUTH_CONFIG_SCHEMA, OrgLimitsType, OrgUserRole, OrgUserStatus, PARALLEL_EXECUTION_LIMITS, PaginationQuery, PaginationResponse, ParallelExecutionLimits, RATE_LIMITS, RateLimitExceededError, RateLimits, ResetFlowInstanceOptions, ScenarioAccessor, ScenarioApiResponse, ScenarioCalculatedProperties, ScenarioEditableProperties, ScenarioElement, ScenarioElementApi, ScenarioTemplate, ScenarioTemplateCategory, ScenarioTemplateElements, ScenariosAccessor, ScreenAccessor, ScreenApiResponse, ScreenBlock, ScreenBlockType, ScreenType, ScreensAccessor, SearchQuery, SelfAccessor, UDM, UNIFIED_DATA_MODELS, UnitRunError, UpdateActionInstanceRequest, UpdateActionRequest, UpdateConnectionRequest, UpdateCustomerRequest, UpdateDataSourceInstanceRequest, UpdateDataSourceRequest, UpdateFieldMappingRequest, UpdateFlowRequest, UpdateIntegrationRequest, UpstreamFlowNodeRunSchema, UsageType, UserAccessor, UsersAccessor, WORKSPACE_SIZE_LIMITS, WebhookTypeEnum, WorkspaceElementDependencyType, WorkspaceElementSpecs, WorkspaceElementState, WorkspaceElementType, WorkspaceEventType, WorkspaceNotificationType, WorkspaceOnboardingStep, WorkspaceSizeLimits, WorkspaceSyncEventType, WorkspaceType, __resolveValue, addRequiredFieldsToSchema, addUdmFallbackFields, backwardCompatibleFilterMatch, buildData, buildDataSchema, buildValue, compressDataSchema, createCompoundSchema, createFlowInstanceSchema, createObjectFromLocators, createOrUpdateConnection, createSchema, dataCollectionEventTypeToExternalEventType, dataLocationParametersMatch, doesMatchFilter, excludeFieldsFromSchema, excludeFieldsFromValue, excludeReadOnlyFieldsFromSchema, excludeWriteOnlyFieldsFromSchema, externalEventTypeToDataCollectionEventType, extractFieldLocator, extractMembraneErrorData, findUdmCollectionMapping, findUdmDefaultCollection, findUdmRootLocation, findValueLocators, generateExampleFromSchema, getActionInstanceVariableSchema, getActionRunTimeVariablesSchema, getAllEventMethodFilePaths, getBusinessDaysBetween, getChildNodeKeys, getDataCollectionCreateFields, getDataCollectionUpdateFields, getDataLocationMethodPath, getDefaultMembraneConfigLoader, getDownstreamNodeKeys, getErrorFromData, getEventMethodFileKey, getFilterFieldValuesByLocator, getFlowInstanceNodeDependency, getFlowNode, getFlowNodeConfigTimeVariablesSchema, getFlowNodeDescription, getFlowNodeRunTimeVariablesSchema, getFlowNodeSpec, getFlowNodeTitle, getFormula$1 as getFormula, getFormulaLocators, getFormula as getFormula_internalDoNotUse, getFullNameForLocator, getFullTitleForLocator, getIconUriForLocator, getLocatorsFromData, getLocatorsFromSchema, getMissingRequiredFields, getNameComponentsForLocator, getNameForLocator, getNodeInputSchema, getOperatorsBySchema, getParentNodeKeys, getReferenceCollectionPathForSchema, getReferenceCollectionPointerForSchema, getRequiredFieldsFromSchema, getRootNodeKeys, getSchemaByLocator, getSchemaFromValue, getUpstreamNodeKeys, getValueAtLocator, getValueByLocator, getVariableLocators, getWritableFieldsSchema, hasCycles, hasFormulas$1 as hasFormulas, hasFormulas as hasFormulas_internalDoNotUse, hasMembraneCredentials, injectFormulaCatalog, isBusinessDay, isDataActionType, isDataLocationMethodSupported, isFormula$1 as isFormula, isFormula as isFormula_internalDoNotUse, isMembraneError, isObject, isSameDataLocation, isSchemaEmpty, isStream, isValidLocator, loadMembraneConfig, locatorToField, locatorToSteps, locatorToString, makeDataLocationOperationPath, makeDataLocationPath, makeDataRecordSchema, makeObjectPropertyLocator, makeSchemaForLocator, membraneConfigSchema, mergeSchemas, mergeWithFormulas, nonEmptyObjectProperties, parseDataLocationPath, parseDate, patchSchema, pickFieldsFromSchema, pickFieldsFromValue, populateSchemaTitles, processCopy, removeNonExistentVars, removeRequiredFieldsFromSchema, resolveFormulas, schemaAllowsCustomValue, schemaHasFixedValues, schemaHasProperties, schemaIsNumber, schemaIsScalar, schemaTypeFromValue, schemaWithTitle, setSchemaAtLocator, setValueAtLocator, stepsToLocator, streamToString, transformVariablesWith, transformVars, truncateData, unwrapSchema, unwrapSchemas, updateFlowInstanceSchema, updateImpliedSchema, valueToSchema, valueToString, walkSchema, wrapAnyOfSchema, zodBooleanCoercion };
9423
- export type { Action, ActionInstance, ActionInstanceSelector, ActionRunLogRecord, ActionSelector, ActionSpec, Alert, App, AppCategory, AppDataSchema, AppDataSchemaInstance, AppDataSchemaInstanceSelector, AppEvent, AppEventSubscription, AppEventSubscriptionCreateRequest, AppEventSubscriptionSelector, AppEventSubscriptionUpdateRequest, AppEventType, BaseConnector, BaseElementInstance, CaseFormulaValue, CaseFormulaValueItem, ConfigurationStateResult, Connection, ConnectionUiSpec, ConnectorApiType, ConnectorAuth, ConnectorAuthClientCredentials, ConnectorAuthHandlerBase, ConnectorAuthIntegrationAppToken, ConnectorAuthMembraneToken, ConnectorAuthOAuth1, ConnectorAuthOAuth1Config, ConnectorAuthOAuth2, ConnectorAuthOAuth2Config, ConnectorAuthOAuthConfig, ConnectorAuthProxy, ConnectorAuthSpec, ConnectorAuthType, ConnectorCopilotSuggestion, ConnectorCopilotSuggestionAction, ConnectorDataCollection, ConnectorDataCollectionBase, ConnectorDataCollectionEvent, ConnectorDataCollectionEventCustomPull, ConnectorDataCollectionEventFullScan, ConnectorDataCollectionEventImplementationTypeKey, ConnectorDataCollectionEventPullLatestRecords, ConnectorDataCollectionEventType, ConnectorDataCollectionEventWebhook, ConnectorDataCollectionMethod, ConnectorEventGlobalWebhookGetEventSelectorResponse, ConnectorEventHandler, ConnectorEventListItem, ConnectorEventSpec, ConnectorGlobalWebhookHandleRequest, ConnectorGlobalWebhookHandleResponse, ConnectorGlobalWebhookHandler, ConnectorGlobalWebhookListItem, ConnectorGlobalWebhookSpec, ConnectorMethodImplementation, ConnectorMethodImplementationBase, ConnectorMethodImplementationGraphqlApiMapping, ConnectorMethodImplementationJavascript, ConnectorMethodImplementationMapping, ConnectorMethodImplementationNotSupported, ConnectorMethodImplementationOperationMapping, ConnectorMethodImplementationRestApiMapping, ConnectorOperationHandler, ConnectorOperationMethod, ConnectorSpec, ConnectorUdmCollectionMapping, ConnectorUdmListLitem, ConnectorUdmSpec, ConnectorUiSpec, CopilotAction, CopilotActionReference, CopilotActivity, CopilotActivityDataTask, CopilotActivityNotificationData, CopilotTask, CreateAppDataSchemaInstanceRequest, CreateAppDataSchemaRequest, CreateAppEventSubscriptionRequest, CreateAppEventTypeRequest, CreateDataLinkRequest, CreateDataLinkTableInstanceRequest, CreateDataLinkTableRequest, CreateFieldMappingInstanceRequest, CreateFlowInstanceRequest, CreateScenarioTemplateRequest, CreateScreenRequest, CreateUserRequest, Customer, DataCollectionEvent, DataCollectionEventsRequest, DataCollectionEventsResponse, DataCollectionListItem, DataCollectionMixin, DataCollectionParseUnifiedFieldsRequest, DataCollectionParseUnifiedFieldsResponse, DataCollectionSubscribeRequest, DataCollectionSubscribeResponse, DataCollectionUnsubscribeRequest, DataCollectionUnsubscribeResponse, DataCollectionUpdateSubscriptionRequest, DataCollectionUpdateSubscriptionResponse, DataEventWebhookPayload, DataFilter, DataFormArgs, DataLinkInTableSelector, DataLinkSelector, DataLinkTable, DataLinkTableInstance, DataLinkTableInstanceSelector, DataLocationPointer, DataLocator, DataRecord, DataSource, DataSourceInstance, DataSourceInstanceSelector, DataSourceSelector, DeleteDataLinkRequest, DownstreamFlowNodeRun, ElementInstanceFields, ElementInstanceSelector, ElementTemplateFields, EngineWorkspace, EngineWorkspaceSettings, EngineWorkspaceWithOrgData, ErrorConstructorArg, EvalOperator, ExternalEventApiResponse, ExternalEventCustomPullCollectEventsRequest, ExternalEventCustomPullCollectEventsResponse, ExternalEventCustomPullSubscribeResponse, ExternalEventLogRecord, ExternalEventPull, ExternalEventSubscription, ExternalEventWebhookHandleRequest, ExternalEventWebhookHandleResponse, ExternalEventWebhookRefreshRequest, ExternalEventWebhookRefreshResponse, ExternalEventWebhookSubscribeRequest, ExternalEventWebhookSubscribeResponse, ExternalEventWebhookUnsubscribeRequest, FieldMapping, FieldMappingInstance, FieldMappingInstanceSelector, FieldMappingSelector, FieldValueOption, FindAppDataSchemaInstancesQuery, FindAppDataSchemasQuery, FindAppEventSubscriptionsQuery, FindAppEventTypesQuery, FindAppEventsQuery, FindDataLinkQuery, FindDataLinkTableInstancesQuery, FindDataLinkTablesQuery, FindDataLinksInTableQuery, FindDataLinksQuery, FindDataLinksResponse, FindDataSourceInstancesResponse, FindExternalEventLogsQuery, FindExternalEventPullsQuery, FindExternalEventSubscriptionsQuery, FindFieldMappingInstancesQuery, FindIntegrationsResponse, FindScenarioTemplatesQuery, FindScreensQuery, FindUsersQuery, Flow, FlowInstance, FlowInstanceSelector, FlowNodeHandlerRunResponse, FlowNodeRunOutput, FlowNodeRunOutputMetadata, FlowNodeRunOutputWithoutDownstreamRuns, FlowNodeRunParameters, FlowNodeRunRecord, FlowNodeRunRecordWithoutOutputsData, FlowNodeRunResult, FlowRun, FlowSelector, GraphQLApiMapping, GraphQLFieldMapping, GraphqlApiClientInput, HandyScenarioTemplateElementApi, IWorkspaceUpdate, Integration, IntegrationAuthOptionLegacy, IntegrationElement, IntegrationElementInstance, IntegrationElementInstanceDependency, IntegrationSpecificElementSelector, ListDataSourcesForIntegrationQuery, ListFieldMappingInstancesForConnectionQuery, ListFieldMappingsForIntegrationQuery, ListFlowsForIntegrationQuery, LoadConfigOptions, LogRecord, LookupValue, MapFormulaValue, MappingItem, MembraneConfig, OpenActionConfigurationOptions, OpenDataSourceConfigurationOptions, OpenFieldMappingInstanceConfigurationOptions, OpenFlowInstanceConfigurationOptions, OpenFlowInstanceEditorOptions, OpenFlowRunEditorOptions, OpenNewConnectionOptions, OpenapiMapping, OperationListItem, OperationMapping, OperationRunRequest, OperationRunResponse, OperationSpec, Org, OrgLimits, OrgUser, OrgWorkspace, PartialMembraneConfig, PatchSchemaOption, PlatformUser, PullLatestRecordsEventOutput, ResolveFormulaParams, RestApiClientConstructorOptions, RestApiClientInput, RestApiClientOptions, RestApiClientOutput, RestApiClientOverride, RestApiClientResponseHandler, RestApiMapping, RunFlowOptions, Scenario, ScenarioTemplateElementOverride, ScenarioTemplateElementsApi, ScenarioTemplateIntegration, ScenarioTemplateKeyCollision, Screen, ScreenBlockApi, ScreenSelector, Self, UnifiedDataModel, UpdateAppDataSchemaInstanceRequest, UpdateAppDataSchemaRequest, UpdateAppEventSubscriptionRequest, UpdateAppEventTypeRequest, UpdateDataLinkTableInstanceRequest, UpdateDataLinkTableRequest, UpdateFieldMappingInstanceRequest, UpdateFlowInstanceRequest, UpdateScenarioTemplateRequest, UpdateScreenRequest, UpdateUserRequest, UpstreamFlowNodeRun, UsageEntry, UsageWithCredits, User, UserSelector, UserWorkspaceSettings, ValueToSchemaOptions, Webhook, WebhookType, WithExecutionLogs, Workspace, WorkspaceElementCalculateStateResult, WorkspaceElementDependency, WorkspaceElementReference, WorkspaceElementSpec, WorkspaceElements, WorkspaceLimit, WorkspaceLimits, WorkspaceNotification, WorkspaceSyncEvent, WorkspaceUpdate, WorkspaceUser };
9711
+ export { ACTIONS, AccessDeniedError, ActionAccessor, ActionApiResponse, ActionDependency, ActionDependencyType, ActionEditableProperties, ActionInstanceAccessor, ActionInstanceApiResponse, ActionInstanceSetupError, ActionInstancesAccessor, ActionRunError, ActionRunLogRecordApiResponse, ActionRunLogStatus, ActionRunResponse, ActionType, ActionsAccessor, AlertSeverity, AlertStatus, AlertType, ApiRequestSpec, AppDataSchemaAccessor, AppDataSchemaApiResponse, AppDataSchemaInstanceAccessor, AppDataSchemaInstanceApiResponse, AppDataSchemaInstancesAccessor, AppDataSchemasAccessor, AppEventLogRecordApiResponse, AppEventSubscriptionAccessor, AppEventSubscriptionApiResponse, AppEventSubscriptionsAccessor, AppEventTypeAccessor, AppEventTypeApiResponse, AppEventTypesAccessor, AppliedToIntegrations, BadRequestError, BadRequestErrorKey, BaseAction, BaseActionInstance, BaseActionRunLogRecord, BaseAppDataSchema, BaseAppDataSchemaInstance, BaseAppEventSubscription, BaseAppEventType, BaseConnection, BaseCustomer, BaseDataLinkTable, BaseDataLinkTableInstance, BaseDataSource, BaseDataSourceInstance, BaseExternalEvent, BaseExternalEventLogRecord, BaseExternalEventPull, BaseExternalEventSubscription, BaseFieldMapping, BaseFieldMappingInstance, BaseFlow, BaseFlowInstance, BaseFlowRun, BaseIntegration, BaseIntegrationLevelMembraneInterface, BaseIntegrationLevelMembraneInterfaceEditableProperties, BaseIntegrationLevelMembraneInterfaceReadOnlyProperties, BaseMembraneInterface, BaseMembraneInterfaceEditableProperties, BaseMembraneInterfaceReadOnlyProperties, BasePackage, BaseScreen, BaseWorkspaceElement, CONFIG_FILE_NAME, CONNECTOR_AUTH_TYPES, CONNECTOR_CATEGORIES, CONNECTOR_DATA_DIR, CONNECTOR_DOCS_DIR, CONNECTOR_EVENTS_DIR, CONNECTOR_GLOBAL_WEBHOOKS_DIR, CONNECTOR_METHOD_IMPLEMENTATION_SUFFIXES, CONNECTOR_OPERATIONS_DIR, CommonInstancesListQuery, CommonIntegrationOrConnectionQuery, CommonListElementsQuery, ConcurrencyError, ConcurrencyErrorKey, ConfigurationError, ConfigurationState, ConnectionAccessor, ConnectionApiResponse, ConnectionApiResponseWithSecrets, ConnectionDataCollectionAccessor, ConnectionError, ConnectionErrorKey, ConnectionLevelActionAccessor, ConnectionLevelActionsAccessor, ConnectionLevelDataSourceAccessor, ConnectionLevelDataSourcesAccessor, ConnectionLevelFieldMappingAccessor, ConnectionLevelFieldMappingsAccessor, ConnectionLevelFlowAccessor, ConnectionLevelFlowsAccessor, ConnectionMessagePayload, ConnectionOperationAccessor, ConnectionProxy, ConnectionRequest, ConnectionSelector, ConnectionSpec, ConnectionsAccessor, ConnectorAuthMethodTypes, ConnectorCopilotFileChunkTopicKey, ConnectorCopilotSuggestionType, ConnectorDataCollectionEventImplementationType, ConnectorDataCollectionMethodKeys, ConnectorDataLocationTypes, ConnectorEventHandlerMethods, ConnectorEventImplementationType, ConnectorFileUpdateType, ConnectorMethodImplementationType, ConnectorOperationMethodImplementationTypes, ConnectorStatus, CopilotActionStatus, CopilotActionType, CopilotActivityScope, CopilotActivityType, CopilotTaskStatus, CopilotTaskType, CreateActionInstanceRequest, CreateActionRequest, CreateConnectionRequest, CreateCustomerRequest, CreateDataSourceInstanceRequest, CreateDataSourceRequest, CreateFieldMappingRequest, CreateFlowNodeRequest, CreateFlowRequest, CreateFlowRunRequest, CreateIntegrationRequest, CustomCodeError, CustomerAccessor, CustomerApiResponse, CustomerLimits, CustomerSelector, CustomersAccessor, DATA_RECORD_SCHEMA, DEFAULT_FULL_SYNC_INTERVAL_SECONDS, DEFAULT_PULL_UPDATES_INTERVAL_SECONDS, DataBuilderFormulaType, DataCollectionCreateRequest, DataCollectionCreateResponse, DataCollectionCreateSpec, DataCollectionDeleteRequest, DataCollectionDeleteResponse, DataCollectionDeleteSpec, DataCollectionEventType, DataCollectionEventTypeSpec, DataCollectionEventsSpec, DataCollectionFindByIdRequest, DataCollectionFindByIdResponse, DataCollectionFindByIdSpec, DataCollectionFindRequest, DataCollectionFindResponse, DataCollectionFindSpec, DataCollectionListRequest, DataCollectionListResponse, DataCollectionListResponseDrilldown, DataCollectionListSpec, DataCollectionMatchRequest, DataCollectionMatchResponse, DataCollectionMatchSpec, DataCollectionMethodRequest, DataCollectionMethodSpec, DataCollectionSearchRequest, DataCollectionSearchResponse, DataCollectionSearchSpec, DataCollectionSpec, DataCollectionUdmSpec, DataCollectionUdmsSpec, DataCollectionUpdateRequest, DataCollectionUpdateResponse, DataCollectionUpdateSpec, DataFilterCondition, DataForm, DataLink, DataLinkDirection, DataLinkTableAccessor, DataLinkTableApiResponse, DataLinkTableConfig, DataLinkTableInstanceAccessor, DataLinkTableInstanceApiResponse, DataLinkTableInstancesAccessor, DataLinkTablesAccessor, DataLocationMethodImplementationTypes, DataLocationTypeCollection, DataLocatorStep, DataLocatorStepArrayItem, DataLocatorStepObjectProperty, DataLocatorStepType, DataRecordSchema, DataSchema, DataSourceAccessor, DataSourceApiResponse, DataSourceEditableProperties, DataSourceInstanceAccessor, DataSourceInstanceApiResponse, DataSourceInstancesAccessor, DataSourceUnitConfig, DataSourcesAccessor, DependencyError, DownstreamFlowNodeRunSchema, EDITABLE_LIMITS, ElementAccessor, ElementInstanceAccessor, ElementInstanceListAccessor, ElementListAccessor, ElementsExportFields, ErrorData, ErrorDataSchema, ErrorType, ExternalEvent, ExternalEventLogRecordApiResponse, ExternalEventLogStatus, ExternalEventPullApiResponse, ExternalEventPullStatus, ExternalEventSubscriptionAccessor, ExternalEventSubscriptionApiResponse, ExternalEventSubscriptionConfig, ExternalEventSubscriptionStatus, ExternalEventSubscriptionType, ExternalEventSubscriptionsAccessor, ExternalEventType, ExternalEventUnitConfig, FLOW_NODE_SPECS, FieldMappingAccessor, FieldMappingApiResponse, FieldMappingDirection, FieldMappingEditableProperties, FieldMappingInstanceAccessor, FieldMappingInstanceApiResponse, FieldMappingInstancesAccessor, FieldMappingUnitConfig, FieldMappingsAccessor, FindActionInstancesQuery, FindActionsQuery, FindConnectionsQuery, FindConnectionsResponse, FindCustomersQuery, FindDataSourceEventsQuery, FindDataSourceInstanceSyncsQuery, FindDataSourceInstancesQuery, FindDataSourceSyncsQuery, FindDataSourcesQuery, FindFieldMappingsQuery, FindFlowInstancesQuery, FindFlowRunsQuery, FindFlowRunsResponse, FindFlowsQuery, FindIntegrationLevelMembraneInterfaceQuery, FindIntegrationsQuery, FindPackagesQuery, FlowAccessor, FlowApiResponse, FlowEditableProperties, FlowInstanceAccessor, FlowInstanceApiResponse, FlowInstanceNode, FlowInstanceNodeState, FlowInstanceSetupError, FlowInstancesAccessor, FlowNode, FlowNodeLink, FlowNodeRunOutputMetadataSchema, FlowNodeRunOutputSchema, FlowNodeRunOutputWithoutDownstreamRunsSchema, FlowNodeRunParametersSchema, FlowNodeRunRecordSchema, FlowNodeRunRecordWithoutOutputsDataSchema, FlowNodeRunResultSchema, FlowNodeRunStatus, FlowNodeSpec, FlowNodeType, FlowRunAccessor, FlowRunApiResponse, FlowRunError, FlowRunLaunchedBy, FlowRunLaunchedByApi, FlowRunLaunchedByTrigger, FlowRunNode, FlowRunNodeState, FlowRunState, FlowRunsAccessor, FlowsAccessor, Formula, HTTP_REQUEST_SCHEMA, HandyScenarioTemplateElement, HttpRequestMethod, HttpRequestSpec, IncludeArchivedQuery, IncomingWebhooksState, IntegrationAccessor, IntegrationApiResponse, MembraneClient as IntegrationAppClient, IntegrationAuthOption, IntegrationAuthUi, IntegrationElementLevel, IntegrationElementType, IntegrationLevelActionAccessor, IntegrationLevelActionsListAccessor, IntegrationLevelDataSourceAccessor, IntegrationLevelDataSourcesListAccessor, IntegrationLevelFieldMappingAccessor, IntegrationLevelFieldMappingsListAccessor, IntegrationLevelFlowAccessor, IntegrationLevelFlowsListAccessor, IntegrationLevelMembraneInterfaceSelectorQuery, IntegrationsAccessor, InternalError, InvalidLocatorError, LimitUnits, ListActionInstancesForConnectionQuery, ListDataSourceInstancesForConnectionQuery, ListExternalEventLogRecordsQuery, ListExternalEventPullsQuery, ListFlowInstancesForConnectionQuery, LogRecordType, MIN_FULL_SYNC_INTERVAL_SECONDS, MIN_PULL_UPDATES_INTERVAL_SECONDS, MembraneClient, MembraneConfigLoader, MembraneError, MinimalConnector, NotAuthenticatedError, NotFoundError, OAUTH1_CONFIG_SCHEMA, OAUTH_CONFIG_SCHEMA, OrgLimitsType, OrgUserRole, OrgUserStatus, PARALLEL_EXECUTION_LIMITS, PackageAccessor, PackageApiResponse, PackageCalculatedProperties, PackageEditableProperties, PackageElement, PackageElementApi, PackagesAccessor, PaginationQuery, PaginationResponse, ParallelExecutionLimits, RATE_LIMITS, RateLimitExceededError, RateLimits, ResetFlowInstanceOptions, RunActionRequest, ScenarioAccessor, ScenarioTemplate, ScenarioTemplateCategory, ScenarioTemplateElements, ScenariosAccessor, ScreenAccessor, ScreenApiResponse, ScreenBlock, ScreenBlockType, ScreenType, ScreensAccessor, SearchQuery, SelfAccessor, UDM, UNIFIED_DATA_MODELS, UnitRunError, UpdateActionInstanceRequest, UpdateActionRequest, UpdateConnectionRequest, UpdateCustomerRequest, UpdateDataSourceInstanceRequest, UpdateDataSourceRequest, UpdateFieldMappingRequest, UpdateFlowRequest, UpdateIntegrationRequest, UpstreamFlowNodeRunSchema, UsageType, UserAccessor, UsersAccessor, WORKSPACE_SIZE_LIMITS, WebhookTypeEnum, WorkspaceElementDependencyType, WorkspaceElementSpecs, WorkspaceElementState, WorkspaceElementType, WorkspaceEventType, WorkspaceNotificationType, WorkspaceOnboardingStep, WorkspaceSizeLimits, WorkspaceSyncEventType, WorkspaceType, __resolveValue, addRequiredFieldsToSchema, addUdmFallbackFields, backwardCompatibleFilterMatch, buildData, buildDataSchema, buildValue, compressDataSchema, createCompoundSchema, createFlowInstanceSchema, createObjectFromLocators, createOrUpdateConnection, createSchema, dataCollectionEventTypeToExternalEventType, dataLocationParametersMatch, doesMatchFilter, excludeFieldsFromSchema, excludeFieldsFromValue, excludeReadOnlyFieldsFromSchema, excludeWriteOnlyFieldsFromSchema, externalEventTypeToDataCollectionEventType, extractFieldLocator, extractMembraneErrorData, findUdmCollectionMapping, findUdmDefaultCollection, findUdmRootLocation, findValueLocators, generateExampleFromSchema, getActionInstanceVariableSchema, getActionRunTimeVariablesSchema, getAllEventMethodFilePaths, getBusinessDaysBetween, getChildNodeKeys, getDataCollectionCreateFields, getDataCollectionUpdateFields, getDataLocationMethodPath, getDefaultMembraneConfigLoader, getDownstreamNodeKeys, getErrorFromData, getEventMethodFileKey, getFilterFieldValuesByLocator, getFlowInstanceNodeDependency, getFlowNode, getFlowNodeConfigTimeVariablesSchema, getFlowNodeDescription, getFlowNodeRunTimeVariablesSchema, getFlowNodeSpec, getFlowNodeTitle, getFormula$1 as getFormula, getFormulaLocators, getFormula as getFormula_internalDoNotUse, getFullNameForLocator, getFullTitleForLocator, getIconUriForLocator, getLocatorsFromData, getLocatorsFromSchema, getMissingRequiredFields, getNameComponentsForLocator, getNameForLocator, getNodeInputSchema, getOperatorsBySchema, getParentNodeKeys, getReferenceCollectionPathForSchema, getReferenceCollectionPointerForSchema, getRequiredFieldsFromSchema, getRootNodeKeys, getSchemaByLocator, getSchemaFromValue, getUpstreamNodeKeys, getValueAtLocator, getValueByLocator, getVariableLocators, getWritableFieldsSchema, hasCycles, hasFormulas$1 as hasFormulas, hasFormulas as hasFormulas_internalDoNotUse, hasMembraneCredentials, injectFormulaCatalog, isBusinessDay, isDataActionType, isDataLocationMethodSupported, isFormula$1 as isFormula, isFormula as isFormula_internalDoNotUse, isMembraneError, isObject, isSameDataLocation, isSchemaEmpty, isStream, isValidLocator, loadMembraneConfig, locatorToField, locatorToSteps, locatorToString, makeDataLocationOperationPath, makeDataLocationPath, makeDataRecordSchema, makeObjectPropertyLocator, makeSchemaForLocator, membraneConfigSchema, mergeSchemas, mergeWithFormulas, nonEmptyObjectProperties, parseDataLocationPath, parseDate, patchSchema, pickFieldsFromSchema, pickFieldsFromValue, populateSchemaTitles, processCopy, removeNonExistentVars, removeRequiredFieldsFromSchema, resolveFormulas, schemaAllowsCustomValue, schemaHasFixedValues, schemaHasProperties, schemaIsNumber, schemaIsScalar, schemaTypeFromValue, schemaWithTitle, setSchemaAtLocator, setValueAtLocator, stepsToLocator, streamToString, transformVariablesWith, transformVars, truncateData, unwrapSchema, unwrapSchemas, updateFlowInstanceSchema, updateImpliedSchema, valueToSchema, valueToString, walkSchema, wrapAnyOfSchema, zodBooleanCoercion };
9712
+ export type { Action, ActionInstance, ActionInstanceSelector, ActionRunLogRecord, ActionSelector, ActionSpec, Alert, App, AppCategory, AppDataSchema, AppDataSchemaInstance, AppDataSchemaInstanceSelector, AppEvent, AppEventSubscription, AppEventSubscriptionCreateRequest, AppEventSubscriptionSelector, AppEventSubscriptionUpdateRequest, AppEventType, BaseConnector, BaseElementInstance, CaseFormulaValue, CaseFormulaValueItem, ConfigurationStateResult, Connection, ConnectionUiSpec, ConnectorApiType, ConnectorAuth, ConnectorAuthClientCredentials, ConnectorAuthHandlerBase, ConnectorAuthIntegrationAppToken, ConnectorAuthMembraneToken, ConnectorAuthOAuth1, ConnectorAuthOAuth1Config, ConnectorAuthOAuth2, ConnectorAuthOAuth2Config, ConnectorAuthOAuthConfig, ConnectorAuthProxy, ConnectorAuthSpec, ConnectorAuthType, ConnectorCopilotSuggestion, ConnectorCopilotSuggestionAction, ConnectorDataCollection, ConnectorDataCollectionBase, ConnectorDataCollectionEvent, ConnectorDataCollectionEventCustomPull, ConnectorDataCollectionEventFullScan, ConnectorDataCollectionEventImplementationTypeKey, ConnectorDataCollectionEventPullLatestRecords, ConnectorDataCollectionEventType, ConnectorDataCollectionEventWebhook, ConnectorDataCollectionMethod, ConnectorEventGlobalWebhookGetEventSelectorResponse, ConnectorEventHandler, ConnectorEventListItem, ConnectorEventSpec, ConnectorGlobalWebhookHandleRequest, ConnectorGlobalWebhookHandleResponse, ConnectorGlobalWebhookHandler, ConnectorGlobalWebhookListItem, ConnectorGlobalWebhookSpec, ConnectorMethodImplementation, ConnectorMethodImplementationBase, ConnectorMethodImplementationGraphqlApiMapping, ConnectorMethodImplementationJavascript, ConnectorMethodImplementationMapping, ConnectorMethodImplementationNotSupported, ConnectorMethodImplementationOperationMapping, ConnectorMethodImplementationRestApiMapping, ConnectorOperationHandler, ConnectorOperationMethod, ConnectorSpec, ConnectorUdmCollectionMapping, ConnectorUdmListLitem, ConnectorUdmSpec, ConnectorUiSpec, CopilotAction, CopilotActionReference, CopilotActivity, CopilotActivityDataTask, CopilotActivityNotificationData, CopilotTask, CreateAppDataSchemaInstanceRequest, CreateAppDataSchemaRequest, CreateAppEventSubscriptionRequest, CreateAppEventTypeRequest, CreateDataLinkRequest, CreateDataLinkTableInstanceRequest, CreateDataLinkTableRequest, CreateFieldMappingInstanceRequest, CreateFlowInstanceRequest, CreateScenarioTemplateRequest, CreateScreenRequest, CreateUserRequest, Customer, DataCollectionEvent, DataCollectionEventsRequest, DataCollectionEventsResponse, DataCollectionListItem, DataCollectionMixin, DataCollectionParseUnifiedFieldsRequest, DataCollectionParseUnifiedFieldsResponse, DataCollectionSubscribeRequest, DataCollectionSubscribeResponse, DataCollectionUnsubscribeRequest, DataCollectionUnsubscribeResponse, DataCollectionUpdateSubscriptionRequest, DataCollectionUpdateSubscriptionResponse, DataEventWebhookPayload, DataFilter, DataFormArgs, DataLinkInTableSelector, DataLinkSelector, DataLinkTable, DataLinkTableInstance, DataLinkTableInstanceSelector, DataLocationPointer, DataLocator, DataRecord, DataSource, DataSourceInstance, DataSourceInstanceSelector, DataSourceSelector, DeleteDataLinkRequest, DownstreamFlowNodeRun, ElementInstanceFields, ElementInstanceSelector, ElementTemplateFields, EngineWorkspace, EngineWorkspaceSettings, EngineWorkspaceWithOrgData, ErrorConstructorArg, EvalOperator, ExternalEventApiResponse, ExternalEventCustomPullCollectEventsRequest, ExternalEventCustomPullCollectEventsResponse, ExternalEventCustomPullSubscribeResponse, ExternalEventLogRecord, ExternalEventPull, ExternalEventSubscription, ExternalEventWebhookHandleRequest, ExternalEventWebhookHandleResponse, ExternalEventWebhookRefreshRequest, ExternalEventWebhookRefreshResponse, ExternalEventWebhookSubscribeRequest, ExternalEventWebhookSubscribeResponse, ExternalEventWebhookUnsubscribeRequest, FieldMapping, FieldMappingInstance, FieldMappingInstanceSelector, FieldMappingSelector, FieldValueOption, FindAppDataSchemaInstancesQuery, FindAppDataSchemasQuery, FindAppEventSubscriptionsQuery, FindAppEventTypesQuery, FindAppEventsQuery, FindDataLinkQuery, FindDataLinkTableInstancesQuery, FindDataLinkTablesQuery, FindDataLinksInTableQuery, FindDataLinksQuery, FindDataLinksResponse, FindDataSourceInstancesResponse, FindExternalEventLogsQuery, FindExternalEventPullsQuery, FindExternalEventSubscriptionsQuery, FindFieldMappingInstancesQuery, FindIntegrationsResponse, FindScenarioTemplatesQuery, FindScreensQuery, FindUsersQuery, Flow, FlowInstance, FlowInstanceSelector, FlowNodeHandlerRunResponse, FlowNodeRunOutput, FlowNodeRunOutputMetadata, FlowNodeRunOutputWithoutDownstreamRuns, FlowNodeRunParameters, FlowNodeRunRecord, FlowNodeRunRecordWithoutOutputsData, FlowNodeRunResult, FlowRun, FlowSelector, GraphQLApiMapping, GraphQLFieldMapping, GraphqlApiClientInput, HandyScenarioTemplateElementApi, IWorkspaceUpdate, Integration, IntegrationAuthOptionLegacy, IntegrationElement, IntegrationElementInstance, IntegrationElementInstanceDependency, IntegrationSpecificElementSelector, ListDataSourcesForIntegrationQuery, ListFieldMappingInstancesForConnectionQuery, ListFieldMappingsForIntegrationQuery, ListFlowsForIntegrationQuery, LoadConfigOptions, LogRecord, LookupValue, MapFormulaValue, MappingItem, MembraneConfig, OpenActionConfigurationOptions, OpenDataSourceConfigurationOptions, OpenFieldMappingInstanceConfigurationOptions, OpenFlowInstanceConfigurationOptions, OpenFlowInstanceEditorOptions, OpenFlowRunEditorOptions, OpenNewConnectionOptions, OpenapiMapping, OperationListItem, OperationMapping, OperationRunRequest, OperationRunResponse, OperationSpec, Org, OrgLimits, OrgUser, OrgWorkspace, Package, PartialMembraneConfig, PatchSchemaOption, PlatformUser, PullLatestRecordsEventOutput, ResolveFormulaParams, RestApiClientConstructorOptions, RestApiClientInput, RestApiClientOptions, RestApiClientOutput, RestApiClientOverride, RestApiClientResponseHandler, RestApiMapping, RunFlowOptions, Scenario, ScenarioTemplateElementOverride, ScenarioTemplateElementsApi, ScenarioTemplateIntegration, ScenarioTemplateKeyCollision, Screen, ScreenBlockApi, ScreenSelector, Self, UnifiedDataModel, UpdateAppDataSchemaInstanceRequest, UpdateAppDataSchemaRequest, UpdateAppEventSubscriptionRequest, UpdateAppEventTypeRequest, UpdateDataLinkTableInstanceRequest, UpdateDataLinkTableRequest, UpdateFieldMappingInstanceRequest, UpdateFlowInstanceRequest, UpdateScenarioTemplateRequest, UpdateScreenRequest, UpdateUserRequest, UpstreamFlowNodeRun, UsageEntry, UsageWithCredits, User, UserSelector, UserWorkspaceSettings, ValueToSchemaOptions, Webhook, WebhookType, WithExecutionLogs, Workspace, WorkspaceElementCalculateStateResult, WorkspaceElementDependency, WorkspaceElementReference, WorkspaceElementSpec, WorkspaceElements, WorkspaceLimit, WorkspaceLimits, WorkspaceNotification, WorkspaceSyncEvent, WorkspaceUpdate, WorkspaceUser };