@membranehq/sdk 0.9.3 → 0.9.4

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 (35) hide show
  1. package/dist/bundle.d.ts +27 -6
  2. package/dist/dts/agent/session.d.ts +2 -2
  3. package/dist/dts/apps/types.d.ts +2 -372
  4. package/dist/dts/auth/index.d.ts +2 -2
  5. package/dist/dts/errors/index.d.ts +1 -0
  6. package/dist/dts/orgs/types.d.ts +13 -0
  7. package/dist/dts/sse/workspace-elements.d.ts +9 -4
  8. package/dist/dts/webhooks/types.d.ts +3 -2
  9. package/dist/dts/workspace-elements/api/app-event-log-records-api.d.ts +1 -0
  10. package/dist/dts/workspace-elements/api/app-event-subscriptions-api.d.ts +1 -0
  11. package/dist/dts/workspace-elements/api/app-event-types-api.d.ts +1 -0
  12. package/dist/dts/workspace-elements/api/data-link-table-instances-api.d.ts +1 -1
  13. package/dist/dts/workspace-elements/api/data-link-tables-api.d.ts +24 -7
  14. package/dist/dts/workspace-elements/base/app-data-schemas/types.d.ts +20 -0
  15. package/dist/dts/workspace-elements/base/app-event-types/types.d.ts +28 -0
  16. package/dist/dts/workspace-elements/base/data-link-tables/types.d.ts +17 -1
  17. package/dist/dts/workspace-elements/index.d.ts +0 -1
  18. package/dist/dts/{workspace-elements → workspaces}/compare.d.ts +4 -2
  19. package/dist/dts/workspaces/compare.test.d.ts +1 -0
  20. package/dist/dts/workspaces/index.d.ts +1 -0
  21. package/dist/dts/workspaces/types.d.ts +432 -63
  22. package/dist/index.browser.d.mts +1378 -1271
  23. package/dist/index.browser.d.ts +1378 -1271
  24. package/dist/index.browser.js +1189 -1108
  25. package/dist/index.browser.js.map +1 -1
  26. package/dist/index.browser.mjs +224 -154
  27. package/dist/index.browser.mjs.map +1 -1
  28. package/dist/index.node.d.mts +1378 -1271
  29. package/dist/index.node.d.ts +1378 -1271
  30. package/dist/index.node.js +1194 -1113
  31. package/dist/index.node.js.map +1 -1
  32. package/dist/index.node.mjs +224 -154
  33. package/dist/index.node.mjs.map +1 -1
  34. package/package.json +1 -1
  35. /package/dist/dts/{workspace-elements/compare.test.d.ts → backward-compat.test.d.ts} +0 -0
@@ -106,6 +106,7 @@ declare class CustomCodeError extends MembraneError {
106
106
  declare class InsufficientCreditsError extends MembraneError {
107
107
  constructor(arg: ErrorConstructorArg);
108
108
  }
109
+ declare const IntegrationAppError: typeof MembraneError;
109
110
 
110
111
  interface ConfigurationStateResult {
111
112
  state: ConfigurationState;
@@ -3652,6 +3653,22 @@ declare enum DataLinkDirection {
3652
3653
  EXPORT = "export",
3653
3654
  BOTH = "both"
3654
3655
  }
3656
+ declare const DataLinkTableEditableProperties: z.ZodObject<{
3657
+ uuid: z.ZodOptional<z.ZodString>;
3658
+ key: z.ZodOptional<z.ZodString>;
3659
+ name: z.ZodOptional<z.ZodString>;
3660
+ description: z.ZodOptional<z.ZodString>;
3661
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
3662
+ }, z.core.$strip>;
3663
+ type DataLinkTableEditableProperties = z.infer<typeof DataLinkTableEditableProperties>;
3664
+ declare const DataLinkTableExportProperties: z.ZodObject<{
3665
+ uuid: z.ZodOptional<z.ZodString>;
3666
+ key: z.ZodOptional<z.ZodString>;
3667
+ name: z.ZodOptional<z.ZodString>;
3668
+ description: z.ZodOptional<z.ZodString>;
3669
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
3670
+ }, z.core.$strip>;
3671
+ type DataLinkTableExportProperties = z.infer<typeof DataLinkTableExportProperties>;
3655
3672
  declare const BaseDataLinkTable: z.ZodObject<{
3656
3673
  id: z.ZodString;
3657
3674
  uuid: z.ZodOptional<z.ZodString>;
@@ -3664,8 +3681,8 @@ declare const BaseDataLinkTable: z.ZodObject<{
3664
3681
  revision: z.ZodOptional<z.ZodString>;
3665
3682
  createdAt: z.ZodOptional<z.ZodString>;
3666
3683
  updatedAt: z.ZodOptional<z.ZodString>;
3667
- isDeactivated: z.ZodOptional<z.ZodBoolean>;
3668
3684
  archivedAt: z.ZodOptional<z.ZodString>;
3685
+ isDeactivated: z.ZodOptional<z.ZodBoolean>;
3669
3686
  }, z.core.$strip>;
3670
3687
  type BaseDataLinkTable = z.infer<typeof BaseDataLinkTable>;
3671
3688
 
@@ -3717,6 +3734,7 @@ declare const BaseAppEventType: z.ZodObject<{
3717
3734
  isDeactivated: z.ZodOptional<z.ZodBoolean>;
3718
3735
  revision: z.ZodString;
3719
3736
  archivedAt: z.ZodOptional<z.ZodString>;
3737
+ webhookKey: z.ZodString;
3720
3738
  subscribeRequest: z.ZodOptional<z.ZodObject<{
3721
3739
  method: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodEnum<typeof HttpRequestMethod>>>;
3722
3740
  uri: z.ZodAny;
@@ -3731,6 +3749,33 @@ declare const BaseAppEventType: z.ZodObject<{
3731
3749
  userIdFormula: z.ZodOptional<z.ZodAny>;
3732
3750
  }, z.core.$strip>;
3733
3751
  type BaseAppEventType = z.infer<typeof BaseAppEventType>;
3752
+ declare const AppEventTypeEditableProperties: z.ZodObject<{
3753
+ uuid: z.ZodOptional<z.ZodString>;
3754
+ key: z.ZodOptional<z.ZodString>;
3755
+ name: z.ZodOptional<z.ZodString>;
3756
+ description: z.ZodOptional<z.ZodString>;
3757
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
3758
+ schema: z.ZodOptional<z.ZodType<DataSchema, unknown, z.core.$ZodTypeInternals<DataSchema, unknown>>>;
3759
+ example: z.ZodOptional<z.ZodAny>;
3760
+ tenantIdFormula: z.ZodOptional<z.ZodAny>;
3761
+ userIdFormula: z.ZodOptional<z.ZodAny>;
3762
+ subscribeRequest: z.ZodOptional<z.ZodObject<{
3763
+ method: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodEnum<typeof HttpRequestMethod>>>;
3764
+ uri: z.ZodAny;
3765
+ headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
3766
+ query: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
3767
+ body: z.ZodOptional<z.ZodAny>;
3768
+ }, z.core.$strip>>;
3769
+ }, z.core.$strip>;
3770
+ type AppEventTypeEditableProperties = z.infer<typeof AppEventTypeEditableProperties>;
3771
+ declare const AppEventTypeExportProperties: z.ZodObject<{
3772
+ uuid: z.ZodOptional<z.ZodString>;
3773
+ key: z.ZodOptional<z.ZodString>;
3774
+ name: z.ZodOptional<z.ZodString>;
3775
+ description: z.ZodOptional<z.ZodString>;
3776
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
3777
+ }, z.core.$strip>;
3778
+ type AppEventTypeExportProperties = z.infer<typeof AppEventTypeExportProperties>;
3734
3779
 
3735
3780
  declare const BaseAppEventSubscription: z.ZodObject<{
3736
3781
  id: z.ZodString;
@@ -3781,6 +3826,26 @@ declare const BaseAppDataSchema: z.ZodObject<{
3781
3826
  revision: z.ZodOptional<z.ZodString>;
3782
3827
  }, z.core.$strip>;
3783
3828
  type BaseAppDataSchema = z.infer<typeof BaseAppDataSchema>;
3829
+ declare const AppDataSchemaEditableProperties: z.ZodObject<{
3830
+ uuid: z.ZodOptional<z.ZodString>;
3831
+ key: z.ZodOptional<z.ZodString>;
3832
+ name: z.ZodOptional<z.ZodString>;
3833
+ description: z.ZodOptional<z.ZodString>;
3834
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
3835
+ schema: z.ZodAny;
3836
+ code: z.ZodOptional<z.ZodString>;
3837
+ }, z.core.$strip>;
3838
+ type AppDataSchemaEditableProperties = z.infer<typeof AppDataSchemaEditableProperties>;
3839
+ declare const AppDataSchemaExportProperties: z.ZodObject<{
3840
+ uuid: z.ZodOptional<z.ZodString>;
3841
+ key: z.ZodOptional<z.ZodString>;
3842
+ name: z.ZodOptional<z.ZodString>;
3843
+ description: z.ZodOptional<z.ZodString>;
3844
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
3845
+ schema: z.ZodAny;
3846
+ code: z.ZodOptional<z.ZodString>;
3847
+ }, z.core.$strip>;
3848
+ type AppDataSchemaExportProperties = z.infer<typeof AppDataSchemaExportProperties>;
3784
3849
 
3785
3850
  declare const BaseAppDataSchemaInstance: z.ZodObject<{
3786
3851
  id: z.ZodString;
@@ -7089,8 +7154,8 @@ declare const DataLinkTableInstanceApiResponse: z.ZodObject<{
7089
7154
  revision: z.ZodOptional<z.ZodString>;
7090
7155
  createdAt: z.ZodOptional<z.ZodString>;
7091
7156
  updatedAt: z.ZodOptional<z.ZodString>;
7092
- isDeactivated: z.ZodOptional<z.ZodBoolean>;
7093
7157
  archivedAt: z.ZodOptional<z.ZodString>;
7158
+ isDeactivated: z.ZodOptional<z.ZodBoolean>;
7094
7159
  }, z.core.$strip>>;
7095
7160
  connection: z.ZodOptional<z.ZodObject<{
7096
7161
  id: z.ZodString;
@@ -7250,6 +7315,7 @@ declare const AppEventSubscriptionApiResponse: z.ZodObject<{
7250
7315
  isDeactivated: z.ZodOptional<z.ZodBoolean>;
7251
7316
  revision: z.ZodString;
7252
7317
  archivedAt: z.ZodOptional<z.ZodString>;
7318
+ webhookKey: z.ZodString;
7253
7319
  subscribeRequest: z.ZodOptional<z.ZodObject<{
7254
7320
  method: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodEnum<typeof HttpRequestMethod>>>;
7255
7321
  uri: z.ZodAny;
@@ -8286,10 +8352,29 @@ declare const ActionRunLogRecordApiResponse: z.ZodObject<{
8286
8352
  type ActionRunLogRecordApiResponse = z.infer<typeof ActionRunLogRecordApiResponse>;
8287
8353
  type ActionRunLogRecord = ActionRunLogRecordApiResponse;
8288
8354
 
8289
- interface FindDataLinkTablesQuery extends PaginationQuery {
8290
- }
8291
- type CreateDataLinkTableRequest = Omit<BaseDataLinkTable, 'id' | 'userId'>;
8292
- type UpdateDataLinkTableRequest = CreateDataLinkTableRequest;
8355
+ declare const FindDataLinkTablesQuery: z.ZodObject<{
8356
+ search: z.ZodOptional<z.ZodString>;
8357
+ limit: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
8358
+ cursor: z.ZodOptional<z.ZodString>;
8359
+ includeArchived: z.ZodOptional<z.ZodPipe<z.ZodTransform<boolean, unknown>, z.ZodBoolean>>;
8360
+ }, z.core.$strip>;
8361
+ type FindDataLinkTablesQuery = z.infer<typeof FindDataLinkTablesQuery>;
8362
+ declare const CreateDataLinkTableRequest: z.ZodObject<{
8363
+ uuid: z.ZodOptional<z.ZodString>;
8364
+ key: z.ZodOptional<z.ZodString>;
8365
+ name: z.ZodOptional<z.ZodString>;
8366
+ description: z.ZodOptional<z.ZodString>;
8367
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
8368
+ }, z.core.$strip>;
8369
+ type CreateDataLinkTableRequest = z.infer<typeof CreateDataLinkTableRequest>;
8370
+ declare const UpdateDataLinkTableRequest: z.ZodObject<{
8371
+ uuid: z.ZodOptional<z.ZodOptional<z.ZodString>>;
8372
+ key: z.ZodOptional<z.ZodOptional<z.ZodString>>;
8373
+ name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
8374
+ description: z.ZodOptional<z.ZodOptional<z.ZodString>>;
8375
+ meta: z.ZodOptional<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>;
8376
+ }, z.core.$strip>;
8377
+ type UpdateDataLinkTableRequest = z.infer<typeof UpdateDataLinkTableRequest>;
8293
8378
  declare const DataLinkTableApiResponse: z.ZodObject<{
8294
8379
  id: z.ZodString;
8295
8380
  uuid: z.ZodOptional<z.ZodString>;
@@ -8302,8 +8387,8 @@ declare const DataLinkTableApiResponse: z.ZodObject<{
8302
8387
  revision: z.ZodOptional<z.ZodString>;
8303
8388
  createdAt: z.ZodOptional<z.ZodString>;
8304
8389
  updatedAt: z.ZodOptional<z.ZodString>;
8305
- isDeactivated: z.ZodOptional<z.ZodBoolean>;
8306
8390
  archivedAt: z.ZodOptional<z.ZodString>;
8391
+ isDeactivated: z.ZodOptional<z.ZodBoolean>;
8307
8392
  }, z.core.$strip>;
8308
8393
  type DataLinkTableApiResponse = z.infer<typeof DataLinkTableApiResponse>;
8309
8394
  type DataLinkTable = DataLinkTableApiResponse;
@@ -8346,6 +8431,7 @@ declare const AppEventTypeApiResponse: z.ZodObject<{
8346
8431
  isDeactivated: z.ZodOptional<z.ZodBoolean>;
8347
8432
  revision: z.ZodString;
8348
8433
  archivedAt: z.ZodOptional<z.ZodString>;
8434
+ webhookKey: z.ZodString;
8349
8435
  subscribeRequest: z.ZodOptional<z.ZodObject<{
8350
8436
  method: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodEnum<typeof HttpRequestMethod>>>;
8351
8437
  uri: z.ZodAny;
@@ -8703,6 +8789,7 @@ declare const AppEventLogRecordApiResponse: z.ZodObject<{
8703
8789
  isDeactivated: z.ZodOptional<z.ZodBoolean>;
8704
8790
  revision: z.ZodString;
8705
8791
  archivedAt: z.ZodOptional<z.ZodString>;
8792
+ webhookKey: z.ZodString;
8706
8793
  subscribeRequest: z.ZodOptional<z.ZodObject<{
8707
8794
  method: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodEnum<typeof HttpRequestMethod>>>;
8708
8795
  uri: z.ZodAny;
@@ -8771,22 +8858,6 @@ declare function getParentNodeKeys(flow: Flow | FlowInstance, nodeKey: string):
8771
8858
  declare function getUpstreamNodeKeys(flow: Flow | FlowInstance, nodeKey: string): string[];
8772
8859
  declare function hasCycles(nodes?: Record<string, FlowNode>): boolean;
8773
8860
 
8774
- declare enum WorkspaceElementChangeType {
8775
- CREATE = "create",
8776
- UPDATE = "update",
8777
- DELETE = "delete"
8778
- }
8779
- interface WorkspaceElementChange {
8780
- type: WorkspaceElementChangeType;
8781
- uuid: string;
8782
- }
8783
- interface WorkspaceExportComparison {
8784
- [WorkspaceElementChangeType.CREATE]: Set<string>;
8785
- [WorkspaceElementChangeType.UPDATE]: Set<string>;
8786
- [WorkspaceElementChangeType.DELETE]: Set<string>;
8787
- }
8788
- declare function compareWorkspaceExports(primaryExport: Partial<Record<WorkspaceElementType, any[]>>, targetExport: Partial<Record<WorkspaceElementType, any[]>>): WorkspaceExportComparison;
8789
-
8790
8861
  interface WorkspaceElementSpec {
8791
8862
  type: WorkspaceElementType;
8792
8863
  apiPath: string;
@@ -8829,467 +8900,21 @@ interface IWorkspaceUpdate {
8829
8900
  apiRequestQuery: Record<string, any>;
8830
8901
  }
8831
8902
 
8832
- interface App {
8833
- id: string;
8834
- apiDocsUri: string;
8835
- appUri: string;
8836
- categories: string[];
8837
- defaultConnectorId: string;
8838
- key: string;
8839
- logoUri: string;
8840
- name: string;
8841
- popularity: number;
8842
- uuid: string;
8843
- knowledgeBaseUuid?: string;
8844
- hasFreeTestAccount?: boolean;
8845
- freeTestAccountGuide?: string;
8846
- isPublic?: boolean;
8847
- isReadOnly: boolean;
8848
- }
8849
- interface AppCategory {
8850
- count: number;
8851
- category: string;
8903
+ declare enum WorkspaceType {
8904
+ PRODUCTION = "production",
8905
+ DEVELOPMENT = "development"
8852
8906
  }
8853
- declare const WorkspaceLimitsSchema: z.ZodObject<{
8854
- parallelEventPulls: z.ZodOptional<z.ZodObject<{
8855
- value: z.ZodOptional<z.ZodNumber>;
8856
- defaultValue: z.ZodOptional<z.ZodNumber>;
8857
- unit: z.ZodEnum<typeof LimitUnits>;
8858
- }, z.core.$strip>>;
8859
- parallelIncrementalEventPullsPerConnection: z.ZodOptional<z.ZodObject<{
8860
- value: z.ZodOptional<z.ZodNumber>;
8861
- defaultValue: z.ZodOptional<z.ZodNumber>;
8862
- unit: z.ZodEnum<typeof LimitUnits>;
8863
- }, z.core.$strip>>;
8864
- parallelFullSyncEventPullsPerConnection: z.ZodOptional<z.ZodObject<{
8865
- value: z.ZodOptional<z.ZodNumber>;
8866
- defaultValue: z.ZodOptional<z.ZodNumber>;
8867
- unit: z.ZodEnum<typeof LimitUnits>;
8868
- }, z.core.$strip>>;
8869
- parallelFlowRuns: z.ZodOptional<z.ZodObject<{
8870
- value: z.ZodOptional<z.ZodNumber>;
8871
- defaultValue: z.ZodOptional<z.ZodNumber>;
8872
- unit: z.ZodEnum<typeof LimitUnits>;
8873
- }, z.core.$strip>>;
8874
- parallelFlowRunsPerConnection: z.ZodOptional<z.ZodObject<{
8875
- value: z.ZodOptional<z.ZodNumber>;
8876
- defaultValue: z.ZodOptional<z.ZodNumber>;
8877
- unit: z.ZodEnum<typeof LimitUnits>;
8878
- }, z.core.$strip>>;
8879
- parallelApiRequests: z.ZodOptional<z.ZodObject<{
8880
- value: z.ZodOptional<z.ZodNumber>;
8881
- defaultValue: z.ZodOptional<z.ZodNumber>;
8882
- unit: z.ZodEnum<typeof LimitUnits>;
8883
- }, z.core.$strip>>;
8884
- parallelSseRequests: z.ZodOptional<z.ZodObject<{
8885
- value: z.ZodOptional<z.ZodNumber>;
8886
- defaultValue: z.ZodOptional<z.ZodNumber>;
8887
- unit: z.ZodEnum<typeof LimitUnits>;
8888
- }, z.core.$strip>>;
8889
- parallelBackgroundJobs: z.ZodOptional<z.ZodObject<{
8890
- value: z.ZodOptional<z.ZodNumber>;
8891
- defaultValue: z.ZodOptional<z.ZodNumber>;
8892
- unit: z.ZodEnum<typeof LimitUnits>;
8893
- }, z.core.$strip>>;
8894
- parallelEventLogs: z.ZodOptional<z.ZodObject<{
8895
- value: z.ZodOptional<z.ZodNumber>;
8896
- defaultValue: z.ZodOptional<z.ZodNumber>;
8897
- unit: z.ZodEnum<typeof LimitUnits>;
8898
- }, z.core.$strip>>;
8899
- parallelEventLogsPerConnection: z.ZodOptional<z.ZodObject<{
8900
- value: z.ZodOptional<z.ZodNumber>;
8901
- defaultValue: z.ZodOptional<z.ZodNumber>;
8902
- unit: z.ZodEnum<typeof LimitUnits>;
8903
- }, z.core.$strip>>;
8904
- ParallelWriteDatabaseRequests: z.ZodOptional<z.ZodObject<{
8905
- value: z.ZodOptional<z.ZodNumber>;
8906
- defaultValue: z.ZodOptional<z.ZodNumber>;
8907
- unit: z.ZodEnum<typeof LimitUnits>;
8908
- }, z.core.$strip>>;
8909
- fileUploadsMbPerHour: z.ZodOptional<z.ZodObject<{
8910
- value: z.ZodOptional<z.ZodNumber>;
8911
- defaultValue: z.ZodOptional<z.ZodNumber>;
8912
- unit: z.ZodEnum<typeof LimitUnits>;
8913
- }, z.core.$strip>>;
8914
- apiRequestsPerSecond: z.ZodOptional<z.ZodObject<{
8915
- value: z.ZodOptional<z.ZodNumber>;
8916
- defaultValue: z.ZodOptional<z.ZodNumber>;
8917
- unit: z.ZodEnum<typeof LimitUnits>;
8918
- }, z.core.$strip>>;
8919
- apiRequestsPerHour: z.ZodOptional<z.ZodObject<{
8920
- value: z.ZodOptional<z.ZodNumber>;
8921
- defaultValue: z.ZodOptional<z.ZodNumber>;
8922
- unit: z.ZodEnum<typeof LimitUnits>;
8923
- }, z.core.$strip>>;
8924
- webhookRequestsPerSecond: z.ZodOptional<z.ZodObject<{
8925
- value: z.ZodOptional<z.ZodNumber>;
8926
- defaultValue: z.ZodOptional<z.ZodNumber>;
8927
- unit: z.ZodEnum<typeof LimitUnits>;
8928
- }, z.core.$strip>>;
8929
- webhookRequestsPerHour: z.ZodOptional<z.ZodObject<{
8930
- value: z.ZodOptional<z.ZodNumber>;
8931
- defaultValue: z.ZodOptional<z.ZodNumber>;
8932
- unit: z.ZodEnum<typeof LimitUnits>;
8933
- }, z.core.$strip>>;
8934
- workspaceElementCreationsPerSecond: z.ZodOptional<z.ZodObject<{
8935
- value: z.ZodOptional<z.ZodNumber>;
8936
- defaultValue: z.ZodOptional<z.ZodNumber>;
8937
- unit: z.ZodEnum<typeof LimitUnits>;
8938
- }, z.core.$strip>>;
8939
- workspaceElementCreationsPerHour: z.ZodOptional<z.ZodObject<{
8940
- value: z.ZodOptional<z.ZodNumber>;
8941
- defaultValue: z.ZodOptional<z.ZodNumber>;
8942
- unit: z.ZodEnum<typeof LimitUnits>;
8943
- }, z.core.$strip>>;
8944
- createDatabaseRequestsPerSecond: z.ZodOptional<z.ZodObject<{
8945
- value: z.ZodOptional<z.ZodNumber>;
8946
- defaultValue: z.ZodOptional<z.ZodNumber>;
8947
- unit: z.ZodEnum<typeof LimitUnits>;
8948
- }, z.core.$strip>>;
8949
- totalNumberOfCustomers: z.ZodOptional<z.ZodObject<{
8950
- value: z.ZodOptional<z.ZodNumber>;
8951
- defaultValue: z.ZodOptional<z.ZodNumber>;
8952
- unit: z.ZodEnum<typeof LimitUnits>;
8953
- }, z.core.$strip>>;
8954
- totalNumberOfConnections: z.ZodOptional<z.ZodObject<{
8955
- value: z.ZodOptional<z.ZodNumber>;
8956
- defaultValue: z.ZodOptional<z.ZodNumber>;
8957
- unit: z.ZodEnum<typeof LimitUnits>;
8958
- }, z.core.$strip>>;
8959
- totalNumberOfWorkspaceElements: z.ZodOptional<z.ZodObject<{
8960
- value: z.ZodOptional<z.ZodNumber>;
8961
- defaultValue: z.ZodOptional<z.ZodNumber>;
8962
- unit: z.ZodEnum<typeof LimitUnits>;
8963
- }, z.core.$strip>>;
8964
- parallelApiRequestsPerCustomer: z.ZodOptional<z.ZodObject<{
8965
- value: z.ZodOptional<z.ZodNumber>;
8966
- defaultValue: z.ZodOptional<z.ZodNumber>;
8967
- unit: z.ZodEnum<typeof LimitUnits>;
8968
- }, z.core.$strip>>;
8969
- parallelBackgroundJobsPerCustomer: z.ZodOptional<z.ZodObject<{
8970
- value: z.ZodOptional<z.ZodNumber>;
8971
- defaultValue: z.ZodOptional<z.ZodNumber>;
8972
- unit: z.ZodEnum<typeof LimitUnits>;
8973
- }, z.core.$strip>>;
8974
- apiRequestsPerCustomerPerSecond: z.ZodOptional<z.ZodObject<{
8975
- value: z.ZodOptional<z.ZodNumber>;
8976
- defaultValue: z.ZodOptional<z.ZodNumber>;
8977
- unit: z.ZodEnum<typeof LimitUnits>;
8978
- }, z.core.$strip>>;
8979
- apiRequestsPerCustomerPerHour: z.ZodOptional<z.ZodObject<{
8980
- value: z.ZodOptional<z.ZodNumber>;
8981
- defaultValue: z.ZodOptional<z.ZodNumber>;
8982
- unit: z.ZodEnum<typeof LimitUnits>;
8983
- }, z.core.$strip>>;
8984
- webhookRequestsPerCustomerPerSecond: z.ZodOptional<z.ZodObject<{
8985
- value: z.ZodOptional<z.ZodNumber>;
8986
- defaultValue: z.ZodOptional<z.ZodNumber>;
8987
- unit: z.ZodEnum<typeof LimitUnits>;
8988
- }, z.core.$strip>>;
8989
- webhookRequestsPerCustomerPerHour: z.ZodOptional<z.ZodObject<{
8990
- value: z.ZodOptional<z.ZodNumber>;
8991
- defaultValue: z.ZodOptional<z.ZodNumber>;
8992
- unit: z.ZodEnum<typeof LimitUnits>;
8993
- }, z.core.$strip>>;
8994
- externalEventsPerCustomerPerDay: z.ZodOptional<z.ZodObject<{
8995
- value: z.ZodOptional<z.ZodNumber>;
8996
- defaultValue: z.ZodOptional<z.ZodNumber>;
8997
- unit: z.ZodEnum<typeof LimitUnits>;
8998
- }, z.core.$strip>>;
8999
- createDatabaseRequestsPerCustomerPerSecond: z.ZodOptional<z.ZodObject<{
9000
- value: z.ZodOptional<z.ZodNumber>;
9001
- defaultValue: z.ZodOptional<z.ZodNumber>;
9002
- unit: z.ZodEnum<typeof LimitUnits>;
9003
- }, z.core.$strip>>;
9004
- updateDatabaseRequestsPerCustomerPerSecond: z.ZodOptional<z.ZodObject<{
9005
- value: z.ZodOptional<z.ZodNumber>;
9006
- defaultValue: z.ZodOptional<z.ZodNumber>;
9007
- unit: z.ZodEnum<typeof LimitUnits>;
9008
- }, z.core.$strip>>;
9009
- parallelWriteDatabaseRequestsPerCustomer: z.ZodOptional<z.ZodObject<{
9010
- value: z.ZodOptional<z.ZodNumber>;
9011
- defaultValue: z.ZodOptional<z.ZodNumber>;
9012
- unit: z.ZodEnum<typeof LimitUnits>;
9013
- }, z.core.$strip>>;
9014
- }, z.core.$strip>;
9015
- declare const EngineWorkspaceSettingsSchema: z.ZodObject<{
9016
- enableApiLogs: z.ZodOptional<z.ZodBoolean>;
9017
- enableWebhookLogs: z.ZodOptional<z.ZodBoolean>;
9018
- enableActionRunLogs: z.ZodOptional<z.ZodBoolean>;
9019
- disableSecretKeyAuth: z.ZodOptional<z.ZodBoolean>;
9020
- }, z.core.$strip>;
9021
- declare const AppPublicKey: z.ZodObject<{
9022
- name: z.ZodString;
9023
- publicKey: z.ZodString;
9024
- }, z.core.$strip>;
9025
- declare const AppSchema: z.ZodObject<{
9026
- id: z.ZodString;
9027
- key: z.ZodString;
9028
- logoUri: z.ZodOptional<z.ZodString>;
9029
- userFieldsSchema: z.ZodOptional<z.ZodAny>;
9030
- apiBaseUri: z.ZodOptional<z.ZodString>;
9031
- webhookUri: z.ZodOptional<z.ZodString>;
9032
- publicKey: z.ZodOptional<z.ZodString>;
9033
- publicKeys: z.ZodOptional<z.ZodArray<z.ZodObject<{
9034
- name: z.ZodString;
9035
- publicKey: z.ZodString;
9036
- }, z.core.$strip>>>;
9037
- enabledWebhookEvents: z.ZodOptional<z.ZodArray<z.ZodString>>;
9038
- auth: z.ZodOptional<z.ZodAny>;
9039
- credentialsSchema: z.ZodOptional<z.ZodAny>;
9040
- apiClient: z.ZodOptional<z.ZodAny>;
9041
- apiRequestHeaders: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
9042
- apiRequestQuery: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
9043
- isOnPrem: z.ZodOptional<z.ZodBoolean>;
9044
- connectorBaseUri: z.ZodOptional<z.ZodString>;
9045
- connectorRevision: z.ZodOptional<z.ZodString>;
9046
- featureFlags: z.ZodOptional<z.ZodArray<z.ZodString>>;
9047
- limits: z.ZodOptional<z.ZodObject<{
9048
- parallelEventPulls: z.ZodOptional<z.ZodObject<{
9049
- value: z.ZodOptional<z.ZodNumber>;
9050
- defaultValue: z.ZodOptional<z.ZodNumber>;
9051
- unit: z.ZodEnum<typeof LimitUnits>;
9052
- }, z.core.$strip>>;
9053
- parallelIncrementalEventPullsPerConnection: z.ZodOptional<z.ZodObject<{
9054
- value: z.ZodOptional<z.ZodNumber>;
9055
- defaultValue: z.ZodOptional<z.ZodNumber>;
9056
- unit: z.ZodEnum<typeof LimitUnits>;
9057
- }, z.core.$strip>>;
9058
- parallelFullSyncEventPullsPerConnection: z.ZodOptional<z.ZodObject<{
9059
- value: z.ZodOptional<z.ZodNumber>;
9060
- defaultValue: z.ZodOptional<z.ZodNumber>;
9061
- unit: z.ZodEnum<typeof LimitUnits>;
9062
- }, z.core.$strip>>;
9063
- parallelFlowRuns: z.ZodOptional<z.ZodObject<{
9064
- value: z.ZodOptional<z.ZodNumber>;
9065
- defaultValue: z.ZodOptional<z.ZodNumber>;
9066
- unit: z.ZodEnum<typeof LimitUnits>;
9067
- }, z.core.$strip>>;
9068
- parallelFlowRunsPerConnection: z.ZodOptional<z.ZodObject<{
9069
- value: z.ZodOptional<z.ZodNumber>;
9070
- defaultValue: z.ZodOptional<z.ZodNumber>;
9071
- unit: z.ZodEnum<typeof LimitUnits>;
9072
- }, z.core.$strip>>;
9073
- parallelApiRequests: z.ZodOptional<z.ZodObject<{
9074
- value: z.ZodOptional<z.ZodNumber>;
9075
- defaultValue: z.ZodOptional<z.ZodNumber>;
9076
- unit: z.ZodEnum<typeof LimitUnits>;
9077
- }, z.core.$strip>>;
9078
- parallelSseRequests: z.ZodOptional<z.ZodObject<{
9079
- value: z.ZodOptional<z.ZodNumber>;
9080
- defaultValue: z.ZodOptional<z.ZodNumber>;
9081
- unit: z.ZodEnum<typeof LimitUnits>;
9082
- }, z.core.$strip>>;
9083
- parallelBackgroundJobs: z.ZodOptional<z.ZodObject<{
9084
- value: z.ZodOptional<z.ZodNumber>;
9085
- defaultValue: z.ZodOptional<z.ZodNumber>;
9086
- unit: z.ZodEnum<typeof LimitUnits>;
9087
- }, z.core.$strip>>;
9088
- parallelEventLogs: z.ZodOptional<z.ZodObject<{
9089
- value: z.ZodOptional<z.ZodNumber>;
9090
- defaultValue: z.ZodOptional<z.ZodNumber>;
9091
- unit: z.ZodEnum<typeof LimitUnits>;
9092
- }, z.core.$strip>>;
9093
- parallelEventLogsPerConnection: z.ZodOptional<z.ZodObject<{
9094
- value: z.ZodOptional<z.ZodNumber>;
9095
- defaultValue: z.ZodOptional<z.ZodNumber>;
9096
- unit: z.ZodEnum<typeof LimitUnits>;
9097
- }, z.core.$strip>>;
9098
- ParallelWriteDatabaseRequests: z.ZodOptional<z.ZodObject<{
9099
- value: z.ZodOptional<z.ZodNumber>;
9100
- defaultValue: z.ZodOptional<z.ZodNumber>;
9101
- unit: z.ZodEnum<typeof LimitUnits>;
9102
- }, z.core.$strip>>;
9103
- fileUploadsMbPerHour: z.ZodOptional<z.ZodObject<{
9104
- value: z.ZodOptional<z.ZodNumber>;
9105
- defaultValue: z.ZodOptional<z.ZodNumber>;
9106
- unit: z.ZodEnum<typeof LimitUnits>;
9107
- }, z.core.$strip>>;
9108
- apiRequestsPerSecond: z.ZodOptional<z.ZodObject<{
9109
- value: z.ZodOptional<z.ZodNumber>;
9110
- defaultValue: z.ZodOptional<z.ZodNumber>;
9111
- unit: z.ZodEnum<typeof LimitUnits>;
9112
- }, z.core.$strip>>;
9113
- apiRequestsPerHour: z.ZodOptional<z.ZodObject<{
9114
- value: z.ZodOptional<z.ZodNumber>;
9115
- defaultValue: z.ZodOptional<z.ZodNumber>;
9116
- unit: z.ZodEnum<typeof LimitUnits>;
9117
- }, z.core.$strip>>;
9118
- webhookRequestsPerSecond: z.ZodOptional<z.ZodObject<{
9119
- value: z.ZodOptional<z.ZodNumber>;
9120
- defaultValue: z.ZodOptional<z.ZodNumber>;
9121
- unit: z.ZodEnum<typeof LimitUnits>;
9122
- }, z.core.$strip>>;
9123
- webhookRequestsPerHour: z.ZodOptional<z.ZodObject<{
9124
- value: z.ZodOptional<z.ZodNumber>;
9125
- defaultValue: z.ZodOptional<z.ZodNumber>;
9126
- unit: z.ZodEnum<typeof LimitUnits>;
9127
- }, z.core.$strip>>;
9128
- workspaceElementCreationsPerSecond: z.ZodOptional<z.ZodObject<{
9129
- value: z.ZodOptional<z.ZodNumber>;
9130
- defaultValue: z.ZodOptional<z.ZodNumber>;
9131
- unit: z.ZodEnum<typeof LimitUnits>;
9132
- }, z.core.$strip>>;
9133
- workspaceElementCreationsPerHour: z.ZodOptional<z.ZodObject<{
9134
- value: z.ZodOptional<z.ZodNumber>;
9135
- defaultValue: z.ZodOptional<z.ZodNumber>;
9136
- unit: z.ZodEnum<typeof LimitUnits>;
9137
- }, z.core.$strip>>;
9138
- createDatabaseRequestsPerSecond: z.ZodOptional<z.ZodObject<{
9139
- value: z.ZodOptional<z.ZodNumber>;
9140
- defaultValue: z.ZodOptional<z.ZodNumber>;
9141
- unit: z.ZodEnum<typeof LimitUnits>;
9142
- }, z.core.$strip>>;
9143
- totalNumberOfCustomers: z.ZodOptional<z.ZodObject<{
9144
- value: z.ZodOptional<z.ZodNumber>;
9145
- defaultValue: z.ZodOptional<z.ZodNumber>;
9146
- unit: z.ZodEnum<typeof LimitUnits>;
9147
- }, z.core.$strip>>;
9148
- totalNumberOfConnections: z.ZodOptional<z.ZodObject<{
9149
- value: z.ZodOptional<z.ZodNumber>;
9150
- defaultValue: z.ZodOptional<z.ZodNumber>;
9151
- unit: z.ZodEnum<typeof LimitUnits>;
9152
- }, z.core.$strip>>;
9153
- totalNumberOfWorkspaceElements: z.ZodOptional<z.ZodObject<{
9154
- value: z.ZodOptional<z.ZodNumber>;
9155
- defaultValue: z.ZodOptional<z.ZodNumber>;
9156
- unit: z.ZodEnum<typeof LimitUnits>;
9157
- }, z.core.$strip>>;
9158
- parallelApiRequestsPerCustomer: z.ZodOptional<z.ZodObject<{
9159
- value: z.ZodOptional<z.ZodNumber>;
9160
- defaultValue: z.ZodOptional<z.ZodNumber>;
9161
- unit: z.ZodEnum<typeof LimitUnits>;
9162
- }, z.core.$strip>>;
9163
- parallelBackgroundJobsPerCustomer: z.ZodOptional<z.ZodObject<{
9164
- value: z.ZodOptional<z.ZodNumber>;
9165
- defaultValue: z.ZodOptional<z.ZodNumber>;
9166
- unit: z.ZodEnum<typeof LimitUnits>;
9167
- }, z.core.$strip>>;
9168
- apiRequestsPerCustomerPerSecond: z.ZodOptional<z.ZodObject<{
9169
- value: z.ZodOptional<z.ZodNumber>;
9170
- defaultValue: z.ZodOptional<z.ZodNumber>;
9171
- unit: z.ZodEnum<typeof LimitUnits>;
9172
- }, z.core.$strip>>;
9173
- apiRequestsPerCustomerPerHour: z.ZodOptional<z.ZodObject<{
9174
- value: z.ZodOptional<z.ZodNumber>;
9175
- defaultValue: z.ZodOptional<z.ZodNumber>;
9176
- unit: z.ZodEnum<typeof LimitUnits>;
9177
- }, z.core.$strip>>;
9178
- webhookRequestsPerCustomerPerSecond: z.ZodOptional<z.ZodObject<{
9179
- value: z.ZodOptional<z.ZodNumber>;
9180
- defaultValue: z.ZodOptional<z.ZodNumber>;
9181
- unit: z.ZodEnum<typeof LimitUnits>;
9182
- }, z.core.$strip>>;
9183
- webhookRequestsPerCustomerPerHour: z.ZodOptional<z.ZodObject<{
9184
- value: z.ZodOptional<z.ZodNumber>;
9185
- defaultValue: z.ZodOptional<z.ZodNumber>;
9186
- unit: z.ZodEnum<typeof LimitUnits>;
9187
- }, z.core.$strip>>;
9188
- externalEventsPerCustomerPerDay: z.ZodOptional<z.ZodObject<{
9189
- value: z.ZodOptional<z.ZodNumber>;
9190
- defaultValue: z.ZodOptional<z.ZodNumber>;
9191
- unit: z.ZodEnum<typeof LimitUnits>;
9192
- }, z.core.$strip>>;
9193
- createDatabaseRequestsPerCustomerPerSecond: z.ZodOptional<z.ZodObject<{
9194
- value: z.ZodOptional<z.ZodNumber>;
9195
- defaultValue: z.ZodOptional<z.ZodNumber>;
9196
- unit: z.ZodEnum<typeof LimitUnits>;
9197
- }, z.core.$strip>>;
9198
- updateDatabaseRequestsPerCustomerPerSecond: z.ZodOptional<z.ZodObject<{
9199
- value: z.ZodOptional<z.ZodNumber>;
9200
- defaultValue: z.ZodOptional<z.ZodNumber>;
9201
- unit: z.ZodEnum<typeof LimitUnits>;
9202
- }, z.core.$strip>>;
9203
- parallelWriteDatabaseRequestsPerCustomer: z.ZodOptional<z.ZodObject<{
9204
- value: z.ZodOptional<z.ZodNumber>;
9205
- defaultValue: z.ZodOptional<z.ZodNumber>;
9206
- unit: z.ZodEnum<typeof LimitUnits>;
9207
- }, z.core.$strip>>;
9208
- }, z.core.$strip>>;
9209
- settings: z.ZodOptional<z.ZodObject<{
9210
- enableApiLogs: z.ZodOptional<z.ZodBoolean>;
9211
- enableWebhookLogs: z.ZodOptional<z.ZodBoolean>;
9212
- enableActionRunLogs: z.ZodOptional<z.ZodBoolean>;
9213
- disableSecretKeyAuth: z.ZodOptional<z.ZodBoolean>;
9214
- }, z.core.$strip>>;
9215
- type: z.ZodOptional<z.ZodEnum<typeof WorkspaceType>>;
9216
- jwksUri: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9217
- isTrial: z.ZodOptional<z.ZodBoolean>;
9218
- isThrottled: z.ZodOptional<z.ZodBoolean>;
9219
- isDisabled: z.ZodOptional<z.ZodBoolean>;
9220
- isBackgroundJobsDisabled: z.ZodOptional<z.ZodBoolean>;
9221
- }, z.core.$strip>;
9222
-
9223
8907
  declare enum WorkspaceOnboardingStep {
9224
8908
  AddConnectors = "add-connectors",
9225
8909
  ConnectYourApp = "first-connection",
9226
8910
  BuildIntegrations = "build-integrations",
9227
8911
  Completed = "completed"
9228
8912
  }
9229
- interface Workspace {
9230
- id: string;
9231
- key: string;
9232
- secret: string;
9233
- name: string;
9234
- orgId: string;
9235
- engineAccessToken?: string;
9236
- createdAt: Date;
9237
- updatedAt: Date;
9238
- onboardingStep?: WorkspaceOnboardingStep;
9239
- trialEndDate?: string;
9240
- }
9241
- type EngineWorkspaceSettings = z$1.Infer<typeof EngineWorkspaceSettingsSchema>;
9242
- interface EngineWorkspace {
9243
- id: string;
9244
- key: string;
9245
- logoUri?: string;
9246
- webhookUri?: string;
9247
- publicKey?: string;
9248
- publicKeys?: {
9249
- name?: string;
9250
- publicKey: string;
9251
- }[];
9252
- enabledWebhookEvents?: string[];
9253
- userFieldsSchema?: DataSchema;
9254
- auth?: ConnectorAuth;
9255
- credentialsSchema?: DataSchema;
9256
- apiClient?: RestApiClientOptions;
9257
- apiBaseUri?: string;
9258
- apiRequestHeaders: Record<string, any>;
9259
- apiRequestQuery: Record<string, any>;
9260
- isOnPrem?: boolean;
9261
- connectorBaseUri?: string;
9262
- limits: WorkspaceLimits;
9263
- settings?: EngineWorkspaceSettings;
9264
- type?: WorkspaceType;
9265
- jwksUri?: string | null;
9266
- }
9267
- interface WorkspaceUser {
9268
- id: string;
9269
- workspaceId: string;
9270
- testCustomerId: string;
9271
- userId: string;
9272
- role: string;
9273
- }
9274
- interface UserWorkspaceSettings {
9275
- id: string;
9276
- userId: string;
9277
- workspaceId: string;
9278
- testCustomerId: string;
9279
- }
9280
8913
  declare enum WorkspaceNotificationType {
9281
8914
  WorkspaceUpdate = "workspace-update",
9282
8915
  CopilotActivity = "copilot-activity",
9283
8916
  LocalClientUpdate = "local-client-update"
9284
8917
  }
9285
- interface WorkspaceNotification<DataType = unknown> {
9286
- type: WorkspaceNotificationType;
9287
- workspaceId: string;
9288
- data: DataType;
9289
- }
9290
- interface CopilotActivityNotificationData {
9291
- scopes: string[];
9292
- }
9293
8918
  declare const enum ParallelExecutionLimits {
9294
8919
  ParallelEventPulls = "parallelEventPulls",
9295
8920
  ParallelIncrementalEventPullsPerConnection = "parallelIncrementalEventPullsPerConnection",
@@ -9348,13 +8973,436 @@ interface EngineWorkspaceWithOrgData {
9348
8973
  type?: WorkspaceType;
9349
8974
  isTrial: string;
9350
8975
  }
9351
- declare enum WorkspaceType {
9352
- PRODUCTION = "production",
9353
- DEVELOPMENT = "development"
9354
- }
9355
-
9356
- declare const PARALLEL_EXECUTION_LIMITS: string[];
9357
- declare const RATE_LIMITS: string[];
8976
+ declare const WorkspaceLimitsSchema: z$1.ZodObject<{
8977
+ parallelEventPulls: z$1.ZodOptional<z$1.ZodObject<{
8978
+ value: z$1.ZodOptional<z$1.ZodNumber>;
8979
+ defaultValue: z$1.ZodOptional<z$1.ZodNumber>;
8980
+ unit: z$1.ZodEnum<typeof LimitUnits>;
8981
+ }, z$1.core.$strip>>;
8982
+ parallelIncrementalEventPullsPerConnection: z$1.ZodOptional<z$1.ZodObject<{
8983
+ value: z$1.ZodOptional<z$1.ZodNumber>;
8984
+ defaultValue: z$1.ZodOptional<z$1.ZodNumber>;
8985
+ unit: z$1.ZodEnum<typeof LimitUnits>;
8986
+ }, z$1.core.$strip>>;
8987
+ parallelFullSyncEventPullsPerConnection: z$1.ZodOptional<z$1.ZodObject<{
8988
+ value: z$1.ZodOptional<z$1.ZodNumber>;
8989
+ defaultValue: z$1.ZodOptional<z$1.ZodNumber>;
8990
+ unit: z$1.ZodEnum<typeof LimitUnits>;
8991
+ }, z$1.core.$strip>>;
8992
+ parallelFlowRuns: z$1.ZodOptional<z$1.ZodObject<{
8993
+ value: z$1.ZodOptional<z$1.ZodNumber>;
8994
+ defaultValue: z$1.ZodOptional<z$1.ZodNumber>;
8995
+ unit: z$1.ZodEnum<typeof LimitUnits>;
8996
+ }, z$1.core.$strip>>;
8997
+ parallelFlowRunsPerConnection: z$1.ZodOptional<z$1.ZodObject<{
8998
+ value: z$1.ZodOptional<z$1.ZodNumber>;
8999
+ defaultValue: z$1.ZodOptional<z$1.ZodNumber>;
9000
+ unit: z$1.ZodEnum<typeof LimitUnits>;
9001
+ }, z$1.core.$strip>>;
9002
+ parallelApiRequests: z$1.ZodOptional<z$1.ZodObject<{
9003
+ value: z$1.ZodOptional<z$1.ZodNumber>;
9004
+ defaultValue: z$1.ZodOptional<z$1.ZodNumber>;
9005
+ unit: z$1.ZodEnum<typeof LimitUnits>;
9006
+ }, z$1.core.$strip>>;
9007
+ parallelSseRequests: z$1.ZodOptional<z$1.ZodObject<{
9008
+ value: z$1.ZodOptional<z$1.ZodNumber>;
9009
+ defaultValue: z$1.ZodOptional<z$1.ZodNumber>;
9010
+ unit: z$1.ZodEnum<typeof LimitUnits>;
9011
+ }, z$1.core.$strip>>;
9012
+ parallelBackgroundJobs: z$1.ZodOptional<z$1.ZodObject<{
9013
+ value: z$1.ZodOptional<z$1.ZodNumber>;
9014
+ defaultValue: z$1.ZodOptional<z$1.ZodNumber>;
9015
+ unit: z$1.ZodEnum<typeof LimitUnits>;
9016
+ }, z$1.core.$strip>>;
9017
+ parallelEventLogs: z$1.ZodOptional<z$1.ZodObject<{
9018
+ value: z$1.ZodOptional<z$1.ZodNumber>;
9019
+ defaultValue: z$1.ZodOptional<z$1.ZodNumber>;
9020
+ unit: z$1.ZodEnum<typeof LimitUnits>;
9021
+ }, z$1.core.$strip>>;
9022
+ parallelEventLogsPerConnection: z$1.ZodOptional<z$1.ZodObject<{
9023
+ value: z$1.ZodOptional<z$1.ZodNumber>;
9024
+ defaultValue: z$1.ZodOptional<z$1.ZodNumber>;
9025
+ unit: z$1.ZodEnum<typeof LimitUnits>;
9026
+ }, z$1.core.$strip>>;
9027
+ ParallelWriteDatabaseRequests: z$1.ZodOptional<z$1.ZodObject<{
9028
+ value: z$1.ZodOptional<z$1.ZodNumber>;
9029
+ defaultValue: z$1.ZodOptional<z$1.ZodNumber>;
9030
+ unit: z$1.ZodEnum<typeof LimitUnits>;
9031
+ }, z$1.core.$strip>>;
9032
+ fileUploadsMbPerHour: z$1.ZodOptional<z$1.ZodObject<{
9033
+ value: z$1.ZodOptional<z$1.ZodNumber>;
9034
+ defaultValue: z$1.ZodOptional<z$1.ZodNumber>;
9035
+ unit: z$1.ZodEnum<typeof LimitUnits>;
9036
+ }, z$1.core.$strip>>;
9037
+ apiRequestsPerSecond: z$1.ZodOptional<z$1.ZodObject<{
9038
+ value: z$1.ZodOptional<z$1.ZodNumber>;
9039
+ defaultValue: z$1.ZodOptional<z$1.ZodNumber>;
9040
+ unit: z$1.ZodEnum<typeof LimitUnits>;
9041
+ }, z$1.core.$strip>>;
9042
+ apiRequestsPerHour: z$1.ZodOptional<z$1.ZodObject<{
9043
+ value: z$1.ZodOptional<z$1.ZodNumber>;
9044
+ defaultValue: z$1.ZodOptional<z$1.ZodNumber>;
9045
+ unit: z$1.ZodEnum<typeof LimitUnits>;
9046
+ }, z$1.core.$strip>>;
9047
+ webhookRequestsPerSecond: z$1.ZodOptional<z$1.ZodObject<{
9048
+ value: z$1.ZodOptional<z$1.ZodNumber>;
9049
+ defaultValue: z$1.ZodOptional<z$1.ZodNumber>;
9050
+ unit: z$1.ZodEnum<typeof LimitUnits>;
9051
+ }, z$1.core.$strip>>;
9052
+ webhookRequestsPerHour: z$1.ZodOptional<z$1.ZodObject<{
9053
+ value: z$1.ZodOptional<z$1.ZodNumber>;
9054
+ defaultValue: z$1.ZodOptional<z$1.ZodNumber>;
9055
+ unit: z$1.ZodEnum<typeof LimitUnits>;
9056
+ }, z$1.core.$strip>>;
9057
+ workspaceElementCreationsPerSecond: z$1.ZodOptional<z$1.ZodObject<{
9058
+ value: z$1.ZodOptional<z$1.ZodNumber>;
9059
+ defaultValue: z$1.ZodOptional<z$1.ZodNumber>;
9060
+ unit: z$1.ZodEnum<typeof LimitUnits>;
9061
+ }, z$1.core.$strip>>;
9062
+ workspaceElementCreationsPerHour: z$1.ZodOptional<z$1.ZodObject<{
9063
+ value: z$1.ZodOptional<z$1.ZodNumber>;
9064
+ defaultValue: z$1.ZodOptional<z$1.ZodNumber>;
9065
+ unit: z$1.ZodEnum<typeof LimitUnits>;
9066
+ }, z$1.core.$strip>>;
9067
+ createDatabaseRequestsPerSecond: z$1.ZodOptional<z$1.ZodObject<{
9068
+ value: z$1.ZodOptional<z$1.ZodNumber>;
9069
+ defaultValue: z$1.ZodOptional<z$1.ZodNumber>;
9070
+ unit: z$1.ZodEnum<typeof LimitUnits>;
9071
+ }, z$1.core.$strip>>;
9072
+ totalNumberOfCustomers: z$1.ZodOptional<z$1.ZodObject<{
9073
+ value: z$1.ZodOptional<z$1.ZodNumber>;
9074
+ defaultValue: z$1.ZodOptional<z$1.ZodNumber>;
9075
+ unit: z$1.ZodEnum<typeof LimitUnits>;
9076
+ }, z$1.core.$strip>>;
9077
+ totalNumberOfConnections: z$1.ZodOptional<z$1.ZodObject<{
9078
+ value: z$1.ZodOptional<z$1.ZodNumber>;
9079
+ defaultValue: z$1.ZodOptional<z$1.ZodNumber>;
9080
+ unit: z$1.ZodEnum<typeof LimitUnits>;
9081
+ }, z$1.core.$strip>>;
9082
+ totalNumberOfWorkspaceElements: z$1.ZodOptional<z$1.ZodObject<{
9083
+ value: z$1.ZodOptional<z$1.ZodNumber>;
9084
+ defaultValue: z$1.ZodOptional<z$1.ZodNumber>;
9085
+ unit: z$1.ZodEnum<typeof LimitUnits>;
9086
+ }, z$1.core.$strip>>;
9087
+ parallelApiRequestsPerCustomer: z$1.ZodOptional<z$1.ZodObject<{
9088
+ value: z$1.ZodOptional<z$1.ZodNumber>;
9089
+ defaultValue: z$1.ZodOptional<z$1.ZodNumber>;
9090
+ unit: z$1.ZodEnum<typeof LimitUnits>;
9091
+ }, z$1.core.$strip>>;
9092
+ parallelBackgroundJobsPerCustomer: z$1.ZodOptional<z$1.ZodObject<{
9093
+ value: z$1.ZodOptional<z$1.ZodNumber>;
9094
+ defaultValue: z$1.ZodOptional<z$1.ZodNumber>;
9095
+ unit: z$1.ZodEnum<typeof LimitUnits>;
9096
+ }, z$1.core.$strip>>;
9097
+ apiRequestsPerCustomerPerSecond: z$1.ZodOptional<z$1.ZodObject<{
9098
+ value: z$1.ZodOptional<z$1.ZodNumber>;
9099
+ defaultValue: z$1.ZodOptional<z$1.ZodNumber>;
9100
+ unit: z$1.ZodEnum<typeof LimitUnits>;
9101
+ }, z$1.core.$strip>>;
9102
+ apiRequestsPerCustomerPerHour: z$1.ZodOptional<z$1.ZodObject<{
9103
+ value: z$1.ZodOptional<z$1.ZodNumber>;
9104
+ defaultValue: z$1.ZodOptional<z$1.ZodNumber>;
9105
+ unit: z$1.ZodEnum<typeof LimitUnits>;
9106
+ }, z$1.core.$strip>>;
9107
+ webhookRequestsPerCustomerPerSecond: z$1.ZodOptional<z$1.ZodObject<{
9108
+ value: z$1.ZodOptional<z$1.ZodNumber>;
9109
+ defaultValue: z$1.ZodOptional<z$1.ZodNumber>;
9110
+ unit: z$1.ZodEnum<typeof LimitUnits>;
9111
+ }, z$1.core.$strip>>;
9112
+ webhookRequestsPerCustomerPerHour: z$1.ZodOptional<z$1.ZodObject<{
9113
+ value: z$1.ZodOptional<z$1.ZodNumber>;
9114
+ defaultValue: z$1.ZodOptional<z$1.ZodNumber>;
9115
+ unit: z$1.ZodEnum<typeof LimitUnits>;
9116
+ }, z$1.core.$strip>>;
9117
+ externalEventsPerCustomerPerDay: z$1.ZodOptional<z$1.ZodObject<{
9118
+ value: z$1.ZodOptional<z$1.ZodNumber>;
9119
+ defaultValue: z$1.ZodOptional<z$1.ZodNumber>;
9120
+ unit: z$1.ZodEnum<typeof LimitUnits>;
9121
+ }, z$1.core.$strip>>;
9122
+ createDatabaseRequestsPerCustomerPerSecond: z$1.ZodOptional<z$1.ZodObject<{
9123
+ value: z$1.ZodOptional<z$1.ZodNumber>;
9124
+ defaultValue: z$1.ZodOptional<z$1.ZodNumber>;
9125
+ unit: z$1.ZodEnum<typeof LimitUnits>;
9126
+ }, z$1.core.$strip>>;
9127
+ updateDatabaseRequestsPerCustomerPerSecond: z$1.ZodOptional<z$1.ZodObject<{
9128
+ value: z$1.ZodOptional<z$1.ZodNumber>;
9129
+ defaultValue: z$1.ZodOptional<z$1.ZodNumber>;
9130
+ unit: z$1.ZodEnum<typeof LimitUnits>;
9131
+ }, z$1.core.$strip>>;
9132
+ parallelWriteDatabaseRequestsPerCustomer: z$1.ZodOptional<z$1.ZodObject<{
9133
+ value: z$1.ZodOptional<z$1.ZodNumber>;
9134
+ defaultValue: z$1.ZodOptional<z$1.ZodNumber>;
9135
+ unit: z$1.ZodEnum<typeof LimitUnits>;
9136
+ }, z$1.core.$strip>>;
9137
+ }, z$1.core.$strip>;
9138
+ interface WorkspaceExport {
9139
+ [WorkspaceElementType.AppDataSchema]: AppDataSchemaExportProperties[];
9140
+ [WorkspaceElementType.AppEventType]: AppEventTypeExportProperties[];
9141
+ [WorkspaceElementType.DataLinkTable]: DataLinkTableExportProperties[];
9142
+ [WorkspaceElementType.Integration]: IntegrationExportProperties[];
9143
+ [WorkspaceElementType.DataSource]: DataSourceExportProperties[];
9144
+ [WorkspaceElementType.FieldMapping]: FieldMappingExportProperties[];
9145
+ [WorkspaceElementType.Action]: ActionExportProperties[];
9146
+ [WorkspaceElementType.Flow]: FlowExportProperties[];
9147
+ [WorkspaceElementType.Package]: PackageExportProperties[];
9148
+ }
9149
+ declare const EngineWorkspaceSettingsSchema: z$1.ZodObject<{
9150
+ enableApiLogs: z$1.ZodOptional<z$1.ZodBoolean>;
9151
+ enableWebhookLogs: z$1.ZodOptional<z$1.ZodBoolean>;
9152
+ enableActionRunLogs: z$1.ZodOptional<z$1.ZodBoolean>;
9153
+ disableSecretKeyAuth: z$1.ZodOptional<z$1.ZodBoolean>;
9154
+ }, z$1.core.$strip>;
9155
+ declare const WorkspacePublicKey: z$1.ZodObject<{
9156
+ name: z$1.ZodString;
9157
+ publicKey: z$1.ZodString;
9158
+ }, z$1.core.$strip>;
9159
+ declare const AppSchema: z$1.ZodObject<{
9160
+ id: z$1.ZodString;
9161
+ key: z$1.ZodString;
9162
+ logoUri: z$1.ZodOptional<z$1.ZodString>;
9163
+ userFieldsSchema: z$1.ZodOptional<z$1.ZodAny>;
9164
+ apiBaseUri: z$1.ZodOptional<z$1.ZodString>;
9165
+ webhookUri: z$1.ZodOptional<z$1.ZodString>;
9166
+ publicKey: z$1.ZodOptional<z$1.ZodString>;
9167
+ publicKeys: z$1.ZodOptional<z$1.ZodArray<z$1.ZodObject<{
9168
+ name: z$1.ZodString;
9169
+ publicKey: z$1.ZodString;
9170
+ }, z$1.core.$strip>>>;
9171
+ enabledWebhookEvents: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString>>;
9172
+ auth: z$1.ZodOptional<z$1.ZodAny>;
9173
+ credentialsSchema: z$1.ZodOptional<z$1.ZodAny>;
9174
+ apiClient: z$1.ZodOptional<z$1.ZodAny>;
9175
+ apiRequestHeaders: z$1.ZodOptional<z$1.ZodRecord<z$1.ZodString, z$1.ZodAny>>;
9176
+ apiRequestQuery: z$1.ZodOptional<z$1.ZodRecord<z$1.ZodString, z$1.ZodAny>>;
9177
+ isOnPrem: z$1.ZodOptional<z$1.ZodBoolean>;
9178
+ connectorBaseUri: z$1.ZodOptional<z$1.ZodString>;
9179
+ connectorRevision: z$1.ZodOptional<z$1.ZodString>;
9180
+ featureFlags: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString>>;
9181
+ limits: z$1.ZodOptional<z$1.ZodObject<{
9182
+ parallelEventPulls: z$1.ZodOptional<z$1.ZodObject<{
9183
+ value: z$1.ZodOptional<z$1.ZodNumber>;
9184
+ defaultValue: z$1.ZodOptional<z$1.ZodNumber>;
9185
+ unit: z$1.ZodEnum<typeof LimitUnits>;
9186
+ }, z$1.core.$strip>>;
9187
+ parallelIncrementalEventPullsPerConnection: z$1.ZodOptional<z$1.ZodObject<{
9188
+ value: z$1.ZodOptional<z$1.ZodNumber>;
9189
+ defaultValue: z$1.ZodOptional<z$1.ZodNumber>;
9190
+ unit: z$1.ZodEnum<typeof LimitUnits>;
9191
+ }, z$1.core.$strip>>;
9192
+ parallelFullSyncEventPullsPerConnection: z$1.ZodOptional<z$1.ZodObject<{
9193
+ value: z$1.ZodOptional<z$1.ZodNumber>;
9194
+ defaultValue: z$1.ZodOptional<z$1.ZodNumber>;
9195
+ unit: z$1.ZodEnum<typeof LimitUnits>;
9196
+ }, z$1.core.$strip>>;
9197
+ parallelFlowRuns: z$1.ZodOptional<z$1.ZodObject<{
9198
+ value: z$1.ZodOptional<z$1.ZodNumber>;
9199
+ defaultValue: z$1.ZodOptional<z$1.ZodNumber>;
9200
+ unit: z$1.ZodEnum<typeof LimitUnits>;
9201
+ }, z$1.core.$strip>>;
9202
+ parallelFlowRunsPerConnection: z$1.ZodOptional<z$1.ZodObject<{
9203
+ value: z$1.ZodOptional<z$1.ZodNumber>;
9204
+ defaultValue: z$1.ZodOptional<z$1.ZodNumber>;
9205
+ unit: z$1.ZodEnum<typeof LimitUnits>;
9206
+ }, z$1.core.$strip>>;
9207
+ parallelApiRequests: z$1.ZodOptional<z$1.ZodObject<{
9208
+ value: z$1.ZodOptional<z$1.ZodNumber>;
9209
+ defaultValue: z$1.ZodOptional<z$1.ZodNumber>;
9210
+ unit: z$1.ZodEnum<typeof LimitUnits>;
9211
+ }, z$1.core.$strip>>;
9212
+ parallelSseRequests: z$1.ZodOptional<z$1.ZodObject<{
9213
+ value: z$1.ZodOptional<z$1.ZodNumber>;
9214
+ defaultValue: z$1.ZodOptional<z$1.ZodNumber>;
9215
+ unit: z$1.ZodEnum<typeof LimitUnits>;
9216
+ }, z$1.core.$strip>>;
9217
+ parallelBackgroundJobs: z$1.ZodOptional<z$1.ZodObject<{
9218
+ value: z$1.ZodOptional<z$1.ZodNumber>;
9219
+ defaultValue: z$1.ZodOptional<z$1.ZodNumber>;
9220
+ unit: z$1.ZodEnum<typeof LimitUnits>;
9221
+ }, z$1.core.$strip>>;
9222
+ parallelEventLogs: z$1.ZodOptional<z$1.ZodObject<{
9223
+ value: z$1.ZodOptional<z$1.ZodNumber>;
9224
+ defaultValue: z$1.ZodOptional<z$1.ZodNumber>;
9225
+ unit: z$1.ZodEnum<typeof LimitUnits>;
9226
+ }, z$1.core.$strip>>;
9227
+ parallelEventLogsPerConnection: z$1.ZodOptional<z$1.ZodObject<{
9228
+ value: z$1.ZodOptional<z$1.ZodNumber>;
9229
+ defaultValue: z$1.ZodOptional<z$1.ZodNumber>;
9230
+ unit: z$1.ZodEnum<typeof LimitUnits>;
9231
+ }, z$1.core.$strip>>;
9232
+ ParallelWriteDatabaseRequests: z$1.ZodOptional<z$1.ZodObject<{
9233
+ value: z$1.ZodOptional<z$1.ZodNumber>;
9234
+ defaultValue: z$1.ZodOptional<z$1.ZodNumber>;
9235
+ unit: z$1.ZodEnum<typeof LimitUnits>;
9236
+ }, z$1.core.$strip>>;
9237
+ fileUploadsMbPerHour: z$1.ZodOptional<z$1.ZodObject<{
9238
+ value: z$1.ZodOptional<z$1.ZodNumber>;
9239
+ defaultValue: z$1.ZodOptional<z$1.ZodNumber>;
9240
+ unit: z$1.ZodEnum<typeof LimitUnits>;
9241
+ }, z$1.core.$strip>>;
9242
+ apiRequestsPerSecond: z$1.ZodOptional<z$1.ZodObject<{
9243
+ value: z$1.ZodOptional<z$1.ZodNumber>;
9244
+ defaultValue: z$1.ZodOptional<z$1.ZodNumber>;
9245
+ unit: z$1.ZodEnum<typeof LimitUnits>;
9246
+ }, z$1.core.$strip>>;
9247
+ apiRequestsPerHour: z$1.ZodOptional<z$1.ZodObject<{
9248
+ value: z$1.ZodOptional<z$1.ZodNumber>;
9249
+ defaultValue: z$1.ZodOptional<z$1.ZodNumber>;
9250
+ unit: z$1.ZodEnum<typeof LimitUnits>;
9251
+ }, z$1.core.$strip>>;
9252
+ webhookRequestsPerSecond: z$1.ZodOptional<z$1.ZodObject<{
9253
+ value: z$1.ZodOptional<z$1.ZodNumber>;
9254
+ defaultValue: z$1.ZodOptional<z$1.ZodNumber>;
9255
+ unit: z$1.ZodEnum<typeof LimitUnits>;
9256
+ }, z$1.core.$strip>>;
9257
+ webhookRequestsPerHour: z$1.ZodOptional<z$1.ZodObject<{
9258
+ value: z$1.ZodOptional<z$1.ZodNumber>;
9259
+ defaultValue: z$1.ZodOptional<z$1.ZodNumber>;
9260
+ unit: z$1.ZodEnum<typeof LimitUnits>;
9261
+ }, z$1.core.$strip>>;
9262
+ workspaceElementCreationsPerSecond: z$1.ZodOptional<z$1.ZodObject<{
9263
+ value: z$1.ZodOptional<z$1.ZodNumber>;
9264
+ defaultValue: z$1.ZodOptional<z$1.ZodNumber>;
9265
+ unit: z$1.ZodEnum<typeof LimitUnits>;
9266
+ }, z$1.core.$strip>>;
9267
+ workspaceElementCreationsPerHour: z$1.ZodOptional<z$1.ZodObject<{
9268
+ value: z$1.ZodOptional<z$1.ZodNumber>;
9269
+ defaultValue: z$1.ZodOptional<z$1.ZodNumber>;
9270
+ unit: z$1.ZodEnum<typeof LimitUnits>;
9271
+ }, z$1.core.$strip>>;
9272
+ createDatabaseRequestsPerSecond: z$1.ZodOptional<z$1.ZodObject<{
9273
+ value: z$1.ZodOptional<z$1.ZodNumber>;
9274
+ defaultValue: z$1.ZodOptional<z$1.ZodNumber>;
9275
+ unit: z$1.ZodEnum<typeof LimitUnits>;
9276
+ }, z$1.core.$strip>>;
9277
+ totalNumberOfCustomers: z$1.ZodOptional<z$1.ZodObject<{
9278
+ value: z$1.ZodOptional<z$1.ZodNumber>;
9279
+ defaultValue: z$1.ZodOptional<z$1.ZodNumber>;
9280
+ unit: z$1.ZodEnum<typeof LimitUnits>;
9281
+ }, z$1.core.$strip>>;
9282
+ totalNumberOfConnections: z$1.ZodOptional<z$1.ZodObject<{
9283
+ value: z$1.ZodOptional<z$1.ZodNumber>;
9284
+ defaultValue: z$1.ZodOptional<z$1.ZodNumber>;
9285
+ unit: z$1.ZodEnum<typeof LimitUnits>;
9286
+ }, z$1.core.$strip>>;
9287
+ totalNumberOfWorkspaceElements: z$1.ZodOptional<z$1.ZodObject<{
9288
+ value: z$1.ZodOptional<z$1.ZodNumber>;
9289
+ defaultValue: z$1.ZodOptional<z$1.ZodNumber>;
9290
+ unit: z$1.ZodEnum<typeof LimitUnits>;
9291
+ }, z$1.core.$strip>>;
9292
+ parallelApiRequestsPerCustomer: z$1.ZodOptional<z$1.ZodObject<{
9293
+ value: z$1.ZodOptional<z$1.ZodNumber>;
9294
+ defaultValue: z$1.ZodOptional<z$1.ZodNumber>;
9295
+ unit: z$1.ZodEnum<typeof LimitUnits>;
9296
+ }, z$1.core.$strip>>;
9297
+ parallelBackgroundJobsPerCustomer: z$1.ZodOptional<z$1.ZodObject<{
9298
+ value: z$1.ZodOptional<z$1.ZodNumber>;
9299
+ defaultValue: z$1.ZodOptional<z$1.ZodNumber>;
9300
+ unit: z$1.ZodEnum<typeof LimitUnits>;
9301
+ }, z$1.core.$strip>>;
9302
+ apiRequestsPerCustomerPerSecond: z$1.ZodOptional<z$1.ZodObject<{
9303
+ value: z$1.ZodOptional<z$1.ZodNumber>;
9304
+ defaultValue: z$1.ZodOptional<z$1.ZodNumber>;
9305
+ unit: z$1.ZodEnum<typeof LimitUnits>;
9306
+ }, z$1.core.$strip>>;
9307
+ apiRequestsPerCustomerPerHour: z$1.ZodOptional<z$1.ZodObject<{
9308
+ value: z$1.ZodOptional<z$1.ZodNumber>;
9309
+ defaultValue: z$1.ZodOptional<z$1.ZodNumber>;
9310
+ unit: z$1.ZodEnum<typeof LimitUnits>;
9311
+ }, z$1.core.$strip>>;
9312
+ webhookRequestsPerCustomerPerSecond: z$1.ZodOptional<z$1.ZodObject<{
9313
+ value: z$1.ZodOptional<z$1.ZodNumber>;
9314
+ defaultValue: z$1.ZodOptional<z$1.ZodNumber>;
9315
+ unit: z$1.ZodEnum<typeof LimitUnits>;
9316
+ }, z$1.core.$strip>>;
9317
+ webhookRequestsPerCustomerPerHour: z$1.ZodOptional<z$1.ZodObject<{
9318
+ value: z$1.ZodOptional<z$1.ZodNumber>;
9319
+ defaultValue: z$1.ZodOptional<z$1.ZodNumber>;
9320
+ unit: z$1.ZodEnum<typeof LimitUnits>;
9321
+ }, z$1.core.$strip>>;
9322
+ externalEventsPerCustomerPerDay: z$1.ZodOptional<z$1.ZodObject<{
9323
+ value: z$1.ZodOptional<z$1.ZodNumber>;
9324
+ defaultValue: z$1.ZodOptional<z$1.ZodNumber>;
9325
+ unit: z$1.ZodEnum<typeof LimitUnits>;
9326
+ }, z$1.core.$strip>>;
9327
+ createDatabaseRequestsPerCustomerPerSecond: z$1.ZodOptional<z$1.ZodObject<{
9328
+ value: z$1.ZodOptional<z$1.ZodNumber>;
9329
+ defaultValue: z$1.ZodOptional<z$1.ZodNumber>;
9330
+ unit: z$1.ZodEnum<typeof LimitUnits>;
9331
+ }, z$1.core.$strip>>;
9332
+ updateDatabaseRequestsPerCustomerPerSecond: z$1.ZodOptional<z$1.ZodObject<{
9333
+ value: z$1.ZodOptional<z$1.ZodNumber>;
9334
+ defaultValue: z$1.ZodOptional<z$1.ZodNumber>;
9335
+ unit: z$1.ZodEnum<typeof LimitUnits>;
9336
+ }, z$1.core.$strip>>;
9337
+ parallelWriteDatabaseRequestsPerCustomer: z$1.ZodOptional<z$1.ZodObject<{
9338
+ value: z$1.ZodOptional<z$1.ZodNumber>;
9339
+ defaultValue: z$1.ZodOptional<z$1.ZodNumber>;
9340
+ unit: z$1.ZodEnum<typeof LimitUnits>;
9341
+ }, z$1.core.$strip>>;
9342
+ }, z$1.core.$strip>>;
9343
+ settings: z$1.ZodOptional<z$1.ZodObject<{
9344
+ enableApiLogs: z$1.ZodOptional<z$1.ZodBoolean>;
9345
+ enableWebhookLogs: z$1.ZodOptional<z$1.ZodBoolean>;
9346
+ enableActionRunLogs: z$1.ZodOptional<z$1.ZodBoolean>;
9347
+ disableSecretKeyAuth: z$1.ZodOptional<z$1.ZodBoolean>;
9348
+ }, z$1.core.$strip>>;
9349
+ type: z$1.ZodOptional<z$1.ZodEnum<typeof WorkspaceType>>;
9350
+ jwksUri: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodString>>;
9351
+ isTrial: z$1.ZodOptional<z$1.ZodBoolean>;
9352
+ isThrottled: z$1.ZodOptional<z$1.ZodBoolean>;
9353
+ isDisabled: z$1.ZodOptional<z$1.ZodBoolean>;
9354
+ isBackgroundJobsDisabled: z$1.ZodOptional<z$1.ZodBoolean>;
9355
+ }, z$1.core.$strip>;
9356
+ type EngineWorkspaceSettings = z$1.Infer<typeof EngineWorkspaceSettingsSchema>;
9357
+ interface EngineWorkspace {
9358
+ id: string;
9359
+ key: string;
9360
+ logoUri?: string;
9361
+ webhookUri?: string;
9362
+ publicKey?: string;
9363
+ publicKeys?: {
9364
+ name?: string;
9365
+ publicKey: string;
9366
+ }[];
9367
+ enabledWebhookEvents?: string[];
9368
+ userFieldsSchema?: DataSchema;
9369
+ auth?: ConnectorAuth;
9370
+ credentialsSchema?: DataSchema;
9371
+ apiClient?: RestApiClientOptions;
9372
+ apiBaseUri?: string;
9373
+ apiRequestHeaders: Record<string, any>;
9374
+ apiRequestQuery: Record<string, any>;
9375
+ isOnPrem?: boolean;
9376
+ connectorBaseUri?: string;
9377
+ limits: WorkspaceLimits;
9378
+ settings?: EngineWorkspaceSettings;
9379
+ type?: WorkspaceType;
9380
+ jwksUri?: string | null;
9381
+ }
9382
+ interface WorkspaceUser {
9383
+ id: string;
9384
+ workspaceId: string;
9385
+ testCustomerId: string;
9386
+ userId: string;
9387
+ role: string;
9388
+ }
9389
+ interface UserWorkspaceSettings {
9390
+ id: string;
9391
+ userId: string;
9392
+ workspaceId: string;
9393
+ testCustomerId: string;
9394
+ }
9395
+ interface WorkspaceNotification<DataType = unknown> {
9396
+ type: WorkspaceNotificationType;
9397
+ workspaceId: string;
9398
+ data: DataType;
9399
+ }
9400
+ interface CopilotActivityNotificationData {
9401
+ scopes: string[];
9402
+ }
9403
+
9404
+ declare const PARALLEL_EXECUTION_LIMITS: string[];
9405
+ declare const RATE_LIMITS: string[];
9358
9406
  declare const WORKSPACE_SIZE_LIMITS: string[];
9359
9407
  declare const EDITABLE_LIMITS: string[];
9360
9408
 
@@ -9381,801 +9429,103 @@ declare const OrgWorkspaceUser: z.ZodObject<{
9381
9429
  role: z.ZodString;
9382
9430
  }, z.core.$strip>;
9383
9431
 
9384
- declare class SelfAccessor {
9385
- private client;
9386
- constructor(client: MembraneApiClient);
9387
- get(): Promise<Customer>;
9388
- patch(data: Partial<{
9389
- credentials: any;
9390
- }>): Promise<Customer>;
9432
+ declare enum WorkspaceElementChangeType {
9433
+ CREATE = "create",
9434
+ UPDATE = "update",
9435
+ DELETE = "delete"
9391
9436
  }
9392
-
9393
- interface Self {
9394
- user: User;
9395
- workspace: Workspace;
9437
+ interface WorkspaceElementChange {
9438
+ type: WorkspaceElementChangeType;
9439
+ uuid: string;
9396
9440
  }
9397
-
9398
- declare enum DataBuilderFormulaType {
9399
- VAR = "var",
9400
- COPY = "copy",
9401
- TPL = "tpl",
9402
- RECORD = "record",
9403
- LOOKUP = "lookup",
9404
- PLAIN = "plain",
9405
- MAP = "map",
9406
- CONCAT = "concat",
9407
- FIRST_NAME = "firstName",
9408
- LAST_NAME = "lastName",
9409
- ITERATE = "iterate",
9410
- CASE = "case",
9411
- EXTRACT_DATE = "extractDate",
9412
- EXTRACT_TIME = "extractTime",
9413
- FIND_EXTERNAL_RECORD_ID = "findExternalRecordId",
9414
- FIND_APP_RECORD_ID = "findAppRecordId",
9415
- EVAL = "eval",
9416
- AND = "and",
9417
- OR = "or",
9418
- MERGE_OBJECTS = "mergeObjects",
9419
- FIRST_NOT_EMPTY = "firstNotEmpty",
9420
- DOMAIN_FROM_EMAIL = "domainFromEmail",
9421
- FORMULA = "formula",
9422
- JSONATA = "jsonata",
9423
- DATA_SCHEMA_REF = "dataSchemaRef"
9441
+ interface WorkspaceExportComparison {
9442
+ [WorkspaceElementChangeType.CREATE]: Set<string>;
9443
+ [WorkspaceElementChangeType.UPDATE]: Set<string>;
9444
+ [WorkspaceElementChangeType.DELETE]: Set<string>;
9424
9445
  }
9446
+ declare function compareWorkspaceExports(baseExport: Partial<WorkspaceExport>, targetExport: Partial<WorkspaceExport>): WorkspaceExportComparison;
9447
+ declare function getElementSelector(type: WorkspaceElementType, key: string, integrationIdentifier?: string): string;
9425
9448
 
9426
- interface LookupValue {
9427
- query: Record<string, any>;
9428
- createIfNotFound?: boolean;
9429
- create?: {
9430
- fields: any;
9431
- };
9449
+ declare enum OrgLimitsType {
9450
+ NUMBER_OF_WORKSPACES = "numberOfWorkspaces",
9451
+ TODAY_USAGE = "todayUsage",
9452
+ LAST_THIRTY_DAY_USAGE = "lastThirtyDayUsage",
9453
+ MEMBRANE_EXPERT_CREDITS_CAP = "membraneExpertCreditsCapPerMonth"
9432
9454
  }
9433
- interface DataBuilderFormula {
9434
- resolveValue(params: ResolveFormulaParams): Promise<unknown>;
9435
- getValue(variables: any): any;
9436
- getSchema(variablesSchema: any): any;
9437
- toObject(): any;
9438
- toString(variablesSchema?: any): string;
9455
+ interface Org {
9456
+ id: string;
9457
+ key: string;
9458
+ secret?: string;
9459
+ name: string;
9460
+ createdAt: Date;
9461
+ updatedAt: Date;
9462
+ trialEndDate?: string;
9463
+ lastTrialExtensionDate?: string;
9464
+ limits?: OrgLimits;
9465
+ lastThirtyDayUsagePercent?: number;
9466
+ todayUsagePercent?: number;
9467
+ featureFlags?: string[];
9468
+ freeAiMonthlyCredits?: number;
9469
+ paidAiCredits?: number;
9470
+ autoChargeEnabled?: boolean;
9471
+ autoChargeThreshold?: number;
9472
+ autoChargePurchaseAmount?: number;
9473
+ autoChargeMonthlyLimit?: number;
9439
9474
  }
9440
- interface ResolveFormulaParams {
9441
- variables?: unknown;
9442
- schema?: DataSchema | undefined;
9443
- getDataCollection?: (key: string, parameters?: Record<string, unknown>) => Promise<DataCollectionSpec>;
9444
- getInternalDataSchema?: (key: string) => Promise<DataSchema>;
9445
- resolveImportDataLink?: (options: {
9446
- dataLinkTableKey: string;
9447
- recordId: string;
9448
- }) => Promise<string | undefined>;
9449
- resolveExportDataLink?: (options: {
9450
- dataLinkTableKey: string;
9451
- recordId: string;
9452
- }) => Promise<string | undefined>;
9453
- resolveLookup?: ({ lookup, schema, fullValue, }: {
9454
- lookup: LookupValue;
9455
- schema: DataSchema | undefined;
9456
- fullValue: unknown;
9457
- }) => Promise<string | undefined>;
9458
- fullValue?: unknown;
9475
+ declare enum OrgUserRole {
9476
+ Admin = "admin",
9477
+ Member = "member"
9459
9478
  }
9460
- declare abstract class DataBuilderFormulaBase<ArgsType = any> implements DataBuilderFormula {
9461
- type: DataBuilderFormulaType;
9462
- args: ArgsType;
9463
- constructor(type: DataBuilderFormulaType, args: ArgsType);
9464
- resolveValue(params: ResolveFormulaParams): Promise<any>;
9465
- abstract getSchema(variablesSchema: any): any;
9466
- toObject(): any;
9467
- toString(_variablesSchema?: any): string;
9468
- getVariableLocators(): string[];
9469
- transformVars(transformations: any): any;
9470
- abstract getValue(variables: any): any;
9479
+ declare enum OrgUserStatus {
9480
+ Invited = "invited",
9481
+ Active = "active"
9471
9482
  }
9472
-
9473
- declare let getFormula$1: (value: any) => DataBuilderFormulaBase | undefined;
9474
- declare let isFormula$1: (value: any) => boolean;
9475
- declare let hasFormulas$1: (value: any) => boolean;
9476
- declare function injectFormulaCatalog(getFormulaFn: any, isFormulaFn: any, hasFormulasFn: any): void;
9477
-
9478
- declare function buildData(value: any, variables?: any): any;
9479
- declare function buildValue(value: any, variables: any): any;
9480
- declare function __resolveValue<T = unknown>(value: unknown, params: ResolveFormulaParams): Promise<T>;
9481
- declare function transformVars(value: any, transformations: Record<string, any>): any;
9482
- declare function valueToString(value: any, variablesSchema: any): string;
9483
- declare function resolveFormulas<T = unknown>(value: any, params: ResolveFormulaParams): Promise<T>;
9484
- declare function processCopy(data: any): any;
9485
- declare function getVariableLocators(data: any): string[];
9486
- declare function removeNonExistentVars(value: any, schema: DataSchema): any;
9487
- declare function transformVariablesWith(data: any, transformFunction: (locator: string) => string): any;
9488
-
9489
- interface DataFilterOperator {
9490
- type: string;
9483
+ interface PlatformUser {
9484
+ id: string;
9485
+ email: string;
9491
9486
  name: string;
9492
- operandSchema: any;
9493
- }
9494
-
9495
- declare function makeObjectPropertyLocator(objectLocator: string | undefined, propertyName: string): string;
9496
- declare enum DataLocatorStepType {
9497
- OBJECT_PROPERTY = "object_property",
9498
- ARRAY_ITEM = "array_item"
9487
+ trialRequested: boolean;
9499
9488
  }
9500
- declare class DataLocatorStep {
9501
- type: DataLocatorStepType;
9489
+ interface OrgUser {
9490
+ id: string;
9491
+ orgId: string;
9492
+ userId: string;
9493
+ role: OrgUserRole;
9494
+ status: OrgUserStatus;
9495
+ workspaces: string[];
9496
+ user: PlatformUser;
9502
9497
  }
9503
- declare class DataLocatorStepObjectProperty extends DataLocatorStep {
9504
- propertyName: string;
9505
- constructor(propertyName: string);
9498
+ interface OrgWorkspace {
9499
+ id: string;
9500
+ key: string;
9501
+ name: string;
9502
+ orgId: string;
9503
+ logoUri?: string;
9504
+ secret: string;
9505
+ createdAt: Date;
9506
+ updatedAt: Date;
9507
+ archivedAt?: Date;
9508
+ engineAccessToken?: string;
9509
+ trialEndDate?: string;
9510
+ featureFlags?: string[];
9506
9511
  }
9507
- declare class DataLocatorStepArrayItem extends DataLocatorStep {
9508
- index: number;
9509
- constructor(index: number);
9512
+ interface OrgLimits {
9513
+ [OrgLimitsType.NUMBER_OF_WORKSPACES]?: number;
9514
+ [OrgLimitsType.TODAY_USAGE]?: number;
9515
+ [OrgLimitsType.LAST_THIRTY_DAY_USAGE]?: number;
9516
+ [OrgLimitsType.MEMBRANE_EXPERT_CREDITS_CAP]?: number | null;
9510
9517
  }
9511
- type DataLocator = DataLocatorStep[] | string;
9512
- declare class InvalidLocatorError extends Error {
9513
- }
9514
- declare function locatorToField(locator: string): string;
9515
- declare function getLocatorsFromSchema(schema?: DataSchema, rootLocator?: string): string[];
9516
- declare function getSchemaByLocator(schema: any, locator: DataLocator): any;
9517
- declare function getValueByLocator(variables: any, locator: DataLocator): any;
9518
- declare function findValueLocators(data: any, value: any): string[];
9519
- declare function getValueAtLocator(data: any, locator: DataLocator): any;
9520
- declare function setValueAtLocator(obj: any, locator: string, value: any): any;
9521
- declare function pickFieldsFromValue(value: any, fields: string[]): any;
9522
- declare function excludeFieldsFromValue(value: any, fields: string[]): any;
9523
- declare function setSchemaAtLocator(schema: any, locator: DataLocator, schemaAtLocator: any): any;
9524
- declare function extractFieldLocator(locator: string): string;
9525
- declare function makeSchemaForLocator(locator: DataLocator, locatorSchema: any): any;
9526
- declare function getNameForLocator(schema: any, locator: DataLocator): string | null | undefined;
9527
- declare function getNameComponentsForLocator(schema: any, locator: DataLocator): string[] | undefined;
9528
- declare function getFullNameForLocator(schema: any, locator: DataLocator): string | undefined;
9529
- declare function getIconUriForLocator(schema: any, locator: DataLocator): string;
9530
- declare function getLocatorsFromData(data: any, parentLocator?: string): any;
9531
- declare const getFullTitleForLocator: typeof getFullNameForLocator;
9532
- declare function isValidLocator(locator: DataLocator): boolean;
9533
- declare function locatorToSteps(sourceLocator: DataLocator): DataLocatorStep[];
9534
- declare function locatorToString(locator: DataLocator): string;
9535
- declare function stepsToLocator(steps: DataLocatorStep[]): string;
9536
- declare function createObjectFromLocators(locators?: string[], placeholderValue?: string): {};
9537
- declare function getFormulaLocators(formulaType: string, data: any): string[];
9538
-
9539
- declare function backwardCompatibleFilterMatch(filter: any, variables: any): any;
9540
- declare function doesMatchFilter(data: any, filter: DataFilter): boolean;
9541
- declare class DataFilterCondition {
9542
- field: string;
9543
- operator: string;
9544
- value?: any | undefined;
9545
- constructor(field: string, operator: string, value?: any | undefined);
9546
- }
9547
- type DataFilter = DataFilterCondition[];
9548
- declare function getOperatorsBySchema(schema: any): DataFilterOperator[];
9549
- declare function getFilterFieldValuesByLocator(data: any, locator: DataLocator): any[];
9550
-
9551
- declare class And extends DataBuilderFormulaBase {
9552
- constructor(args: any[]);
9553
- getValue(variables: any): boolean | undefined;
9554
- resolveValue(params: ResolveFormulaParams): Promise<boolean | undefined>;
9555
- getSchema(): {
9556
- type: string;
9557
- };
9558
- }
9559
-
9560
- interface CaseFormulaValueItem {
9561
- filter?: any;
9562
- value?: any;
9563
- }
9564
- type CaseFormulaValue = {
9565
- cases: CaseFormulaValueItem[];
9566
- default?: any;
9567
- };
9568
- declare class DataBuilderFormulaCase extends DataBuilderFormulaBase {
9569
- value: CaseFormulaValue;
9570
- constructor(value: CaseFormulaValueItem[] | CaseFormulaValue);
9571
- getValue(variables: any): any;
9572
- resolveValue(params: ResolveFormulaParams): Promise<unknown>;
9573
- getSchema(variablesSchema: any): any;
9574
- isValueValid(): boolean;
9575
- transformVars(transformations: any): any;
9576
- }
9577
-
9578
- type AnyValue = any;
9579
- type ConcatFormulaOptions = {
9580
- delimiter?: AnyValue;
9581
- values?: AnyValue[];
9582
- };
9583
- declare class DataBuilderFormulaConcat extends DataBuilderFormulaBase {
9584
- options: ConcatFormulaOptions | null;
9585
- delimiter: AnyValue;
9586
- values: AnyValue[];
9587
- constructor(options: ConcatFormulaOptions | null);
9588
- getValue(variables: any): string | undefined;
9589
- resolveValue(params: ResolveFormulaParams): Promise<string | undefined>;
9590
- getSchema(): {
9591
- type: string;
9592
- };
9593
- toString(variablesSchema: any): string;
9594
- }
9595
-
9596
- declare class DataBuilderFormulaCopy extends DataBuilderFormulaBase {
9597
- locator: string;
9598
- constructor(locator: string);
9599
- getValue(variables: any): {
9600
- $copy: any;
9601
- };
9602
- resolveValue(params: ResolveFormulaParams): Promise<any>;
9603
- getSchema(): null;
9604
- }
9605
-
9606
- interface DataSchemaRegArgsDataCollection {
9607
- type: 'data-collection';
9608
- key: unknown;
9609
- parameters?: unknown;
9610
- }
9611
- interface DataSchemaRegArgsInternalDataSchema {
9612
- type: 'internal-data-schema';
9613
- key: unknown;
9614
- }
9615
- type DataSchemaRefArgs = DataSchemaRegArgsDataCollection | DataSchemaRegArgsInternalDataSchema;
9616
- declare class DataSchemaRef extends DataBuilderFormulaBase<DataSchemaRefArgs> {
9617
- value: any;
9618
- constructor(value: any);
9619
- getValue(): undefined;
9620
- resolveValue(params: ResolveFormulaParams): Promise<DataSchema | undefined>;
9621
- resolveDataCollection(args: DataSchemaRegArgsDataCollection, params: ResolveFormulaParams): Promise<DataSchema | undefined>;
9622
- resolveInternalDataSchema(args: DataSchemaRegArgsInternalDataSchema, params: ResolveFormulaParams): Promise<DataSchema | undefined>;
9623
- getSchema(): {
9624
- type: string;
9625
- };
9626
- }
9627
-
9628
- declare class DomainFromEmail extends DataBuilderFormulaBase {
9629
- value: any;
9630
- constructor(value: any);
9631
- getValue(variables: any): string | undefined;
9632
- resolveValue(params: ResolveFormulaParams): Promise<string | undefined>;
9633
- getSchema(): {
9634
- type: string;
9635
- };
9636
- }
9637
-
9638
- interface EvalOperator {
9639
- key: string;
9640
- name: string;
9641
- operandSchema: any;
9642
- hasOperand: boolean;
9643
- }
9644
- declare class Eval extends DataBuilderFormulaBase {
9645
- value: any;
9646
- operatorKey: string;
9647
- operand: any;
9648
- constructor(args: any, formulaValue: any);
9649
- getAvailableOperators(variablesSchema: DataSchema): EvalOperator[];
9650
- getOperator(variablesSchema: any): EvalOperator;
9651
- getValue(variables: any): boolean;
9652
- resolveValue(params: ResolveFormulaParams): Promise<boolean>;
9653
- getSchema(): {
9654
- type: string;
9655
- };
9656
- toObject(): {
9657
- $eval: any;
9658
- };
9659
- transformVars(transformations: any): {
9660
- [x: string]: any;
9661
- $eval: any;
9662
- } | undefined;
9663
- }
9664
-
9665
- declare class DataBuilderFormulaExtractDate extends DataBuilderFormulaBase {
9666
- value: any;
9667
- constructor(value: any);
9668
- getValue(variables: any): string | undefined;
9669
- resolveValue(params: ResolveFormulaParams): Promise<string | undefined>;
9670
- getSchema(): {
9671
- type: string;
9672
- format: string;
9673
- };
9674
- }
9675
-
9676
- declare class DataBuilderFormulaExtractTime extends DataBuilderFormulaBase {
9677
- value: any;
9678
- constructor(value: any);
9679
- getValue(variables: any): string;
9680
- resolveValue(params: ResolveFormulaParams): Promise<string | undefined>;
9681
- getSchema(): {
9682
- type: string;
9683
- format: string;
9684
- };
9685
- }
9686
-
9687
- interface FindAppRecordIdArgs {
9688
- dataLinkTable: DataLinkTableConfig;
9689
- recordId: string;
9690
- }
9691
- declare class DataBuilderFormulaFindAppRecordId extends DataBuilderFormulaBase {
9692
- args: FindAppRecordIdArgs;
9693
- constructor(args: FindAppRecordIdArgs);
9694
- getValue(variables: any): {
9695
- $findAppRecordId: any;
9696
- };
9697
- resolveValue(params: ResolveFormulaParams): Promise<any>;
9698
- getSchema(): {
9699
- type: string;
9700
- };
9701
- }
9702
-
9703
- interface FindExternalRecordIdArgs {
9704
- dataLinkTable: DataLinkTableConfig;
9705
- recordId: string;
9706
- }
9707
- declare class DataBuilderFormulaFindExternalRecordId extends DataBuilderFormulaBase {
9708
- args: FindExternalRecordIdArgs;
9709
- constructor(args: FindExternalRecordIdArgs);
9710
- getValue(variables: any): {
9711
- $findExternalRecordId: any;
9712
- };
9713
- resolveValue(params: ResolveFormulaParams): Promise<any>;
9714
- getSchema(): {
9715
- type: string;
9716
- };
9717
- }
9718
-
9719
- declare class DataBuilderFormulaFirstName extends DataBuilderFormulaBase {
9720
- value: any;
9721
- constructor(value: any);
9722
- getValue(variables: any): any;
9723
- resolveValue(params: ResolveFormulaParams): Promise<string | undefined>;
9724
- getSchema(): {
9725
- type: string;
9726
- };
9727
- }
9728
-
9729
- declare class FirstNotEmpty extends DataBuilderFormulaBase {
9730
- constructor(args: any[]);
9731
- getValue(variables: any): any;
9732
- resolveValue(params: ResolveFormulaParams): Promise<any>;
9733
- getSchema(variablesSchema: any): any;
9734
- }
9735
-
9736
- declare class FormulaFormula extends DataBuilderFormulaBase {
9737
- constructor(args: any);
9738
- getValue(variables: any): any;
9739
- resolveValue(params: ResolveFormulaParams): Promise<any>;
9740
- getSchema(): undefined;
9741
- transformVars(transformations: any): any;
9742
- }
9743
-
9744
- interface IterateArguments {
9745
- source: any;
9746
- item?: any;
9747
- }
9748
- declare class DataBuilderFormulaIterate extends DataBuilderFormulaBase {
9749
- args: IterateArguments;
9750
- source: any;
9751
- item: any;
9752
- constructor(args: IterateArguments);
9753
- getValue(variables: any): never[] | undefined;
9754
- resolveValue(params: ResolveFormulaParams): Promise<any>;
9755
- getSchema(variablesSchema: any): {
9756
- type: string;
9757
- items: any;
9758
- };
9759
- getVariableLocators(): string[];
9760
- transformVars(transformations: any): any;
9761
- }
9762
-
9763
- declare class JsonataFormula extends DataBuilderFormulaBase {
9764
- expression: any;
9765
- constructor(expression: any);
9766
- getValue(variables: any): any;
9767
- resolveValue(params: ResolveFormulaParams): Promise<any>;
9768
- getSchema(): any;
9769
- }
9770
-
9771
- declare class DataBuilderFormulaLastName extends DataBuilderFormulaBase {
9772
- value: any;
9773
- constructor(value: any);
9774
- getValue(variables: any): any;
9775
- resolveValue(params: ResolveFormulaParams): Promise<string | undefined>;
9776
- getSchema(): {
9777
- type: string;
9778
- };
9779
- toString(variablesSchema: any): string;
9780
- }
9781
-
9782
- declare class DataBuilderFormulaLookup extends DataBuilderFormulaBase {
9783
- value: LookupValue;
9784
- constructor(value: LookupValue);
9785
- getValue(variables: any): {
9786
- $lookup: any;
9787
- };
9788
- resolveValue(params: ResolveFormulaParams): Promise<any>;
9789
- getSchema(): {
9790
- type: string;
9791
- };
9792
- }
9793
-
9794
- interface MappingItem {
9795
- from: any;
9796
- to?: any;
9797
- }
9798
- interface MapFormulaValue {
9799
- value: any;
9800
- mapping: MappingItem[];
9801
- default?: any;
9802
- }
9803
- declare class DataBuilderFormulaMap extends DataBuilderFormulaBase {
9804
- args: MapFormulaValue;
9805
- constructor(args: MapFormulaValue);
9806
- getValue(variables: any): any;
9807
- resolveValue(params: ResolveFormulaParams): Promise<any>;
9808
- getSchema(variablesSchema: any): any;
9809
- }
9810
-
9811
- declare class MergeObjects extends DataBuilderFormulaBase {
9812
- constructor(args: any[]);
9813
- getValue(variables: any): {} | undefined;
9814
- resolveValue(params: ResolveFormulaParams): Promise<any>;
9815
- getSchema(variablesSchema: any): {
9816
- type: string;
9817
- properties: {};
9818
- } | {
9819
- type: string;
9820
- };
9821
- }
9822
-
9823
- declare class Or extends DataBuilderFormulaBase {
9824
- constructor(args: any[]);
9825
- getValue(variables: any): boolean | undefined;
9826
- resolveValue(params: ResolveFormulaParams): Promise<boolean | undefined>;
9827
- getSchema(): {
9828
- type: string;
9829
- };
9830
- }
9831
-
9832
- declare class DataBuilderFormulaPlain extends DataBuilderFormulaBase {
9833
- value: any;
9834
- constructor(value: any);
9835
- getValue(): any;
9836
- resolveValue(_params: ResolveFormulaParams): Promise<any>;
9837
- getSchema(): any;
9838
- }
9839
-
9840
- declare class DataBuilderFormulaRecord extends DataBuilderFormulaBase {
9841
- record: DataRecord;
9842
- constructor(record: DataRecord);
9843
- getValue(): string;
9844
- resolveValue(_params: ResolveFormulaParams): Promise<string | undefined>;
9845
- getSchema(): {
9846
- type: string;
9847
- };
9848
- }
9849
-
9850
- type TplFormulaArgs = {
9851
- template: string;
9852
- values: Record<string, any>;
9853
- };
9854
- declare class DataBuilderFormulaTpl extends DataBuilderFormulaBase {
9855
- args: TplFormulaArgs;
9856
- constructor(args: TplFormulaArgs);
9857
- getValue(variables: any): string;
9858
- resolveValue(params: ResolveFormulaParams): Promise<string | undefined>;
9859
- getSchema(): {
9860
- type: string;
9861
- };
9862
- }
9863
-
9864
- declare class DataBuilderFormulaVar extends DataBuilderFormulaBase {
9865
- locator: string;
9866
- constructor(locator: string);
9867
- getValue(variables: any): any;
9868
- resolveValue(params: ResolveFormulaParams): Promise<any>;
9869
- getSchema(variablesSchema: any): any;
9870
- toString(variablesSchema: any): string;
9871
- getVariableLocators(): string[];
9872
- transformVars(transformations: any): any;
9873
- }
9874
-
9875
- declare const Formula: {
9876
- Var: typeof DataBuilderFormulaVar;
9877
- Record: typeof DataBuilderFormulaRecord;
9878
- Tpl: typeof DataBuilderFormulaTpl;
9879
- Lookup: typeof DataBuilderFormulaLookup;
9880
- Plain: typeof DataBuilderFormulaPlain;
9881
- Map: typeof DataBuilderFormulaMap;
9882
- And: typeof And;
9883
- Or: typeof Or;
9884
- MergeObjects: typeof MergeObjects;
9885
- FirstNotEmpty: typeof FirstNotEmpty;
9886
- DomainFromEmail: typeof DomainFromEmail;
9887
- Formula: typeof FormulaFormula;
9888
- Base: typeof DataBuilderFormulaBase;
9889
- Case: typeof DataBuilderFormulaCase;
9890
- Concat: typeof DataBuilderFormulaConcat;
9891
- Copy: typeof DataBuilderFormulaCopy;
9892
- Eval: typeof Eval;
9893
- ExtractDate: typeof DataBuilderFormulaExtractDate;
9894
- ExtractTime: typeof DataBuilderFormulaExtractTime;
9895
- FindAppRecordId: typeof DataBuilderFormulaFindAppRecordId;
9896
- FindExternalRecordId: typeof DataBuilderFormulaFindExternalRecordId;
9897
- FirstName: typeof DataBuilderFormulaFirstName;
9898
- LastName: typeof DataBuilderFormulaLastName;
9899
- Iterate: typeof DataBuilderFormulaIterate;
9900
- Jsonata: typeof JsonataFormula;
9901
- DataSchemaRef: typeof DataSchemaRef;
9902
- };
9903
- type Formula = {
9904
- Var: DataBuilderFormulaVar;
9905
- Record: DataBuilderFormulaRecord;
9906
- Tpl: DataBuilderFormulaTpl;
9907
- Lookup: DataBuilderFormulaLookup;
9908
- Plain: DataBuilderFormulaPlain;
9909
- Map: DataBuilderFormulaMap;
9910
- And: And;
9911
- Or: Or;
9912
- MergeObjects: MergeObjects;
9913
- FirstNotEmpty: FirstNotEmpty;
9914
- DomainFromEmail: DomainFromEmail;
9915
- Formula: FormulaFormula;
9916
- Base: DataBuilderFormulaBase;
9917
- Case: DataBuilderFormulaCase;
9918
- Concat: DataBuilderFormulaConcat;
9919
- Copy: DataBuilderFormulaCopy;
9920
- Eval: Eval;
9921
- ExtractDate: DataBuilderFormulaExtractDate;
9922
- ExtractTime: DataBuilderFormulaExtractTime;
9923
- FindAppRecordId: DataBuilderFormulaFindAppRecordId;
9924
- FindExternalRecordId: DataBuilderFormulaFindExternalRecordId;
9925
- FirstName: DataBuilderFormulaFirstName;
9926
- LastName: DataBuilderFormulaLastName;
9927
- Iterate: DataBuilderFormulaIterate;
9928
- Jsonata: JsonataFormula;
9929
- DataSchemaRef: DataSchemaRef;
9930
- };
9931
- declare function isFormula(value: any): boolean;
9932
- declare function hasFormulas(value: any): any;
9933
- declare function getFormula(value: any): DataBuilderFormulaBase | undefined;
9934
-
9935
- declare function getErrorFromData(data: any): any;
9936
- declare function extractMembraneErrorData(error: any): ErrorData;
9937
-
9938
- interface DataField {
9939
- name: string;
9940
- locator: string;
9941
- schema: DataSchema;
9942
- value: any;
9943
- }
9944
-
9945
- interface DataFormArgs {
9946
- schema: DataSchema;
9947
- value: any;
9948
- variablesSchema?: DataSchema;
9949
- }
9950
- interface FieldValueOption {
9951
- name: string;
9952
- value: any;
9953
- selected?: boolean;
9954
- }
9955
- interface DataForm extends DataFormArgs {
9956
- }
9957
- declare class DataForm {
9958
- constructor(args: DataFormArgs);
9959
- getFields(): DataField[];
9960
- getFieldValueOptions(field: DataField): FieldValueOption[];
9961
- setFieldValue(field: DataField, value: any): any;
9962
- private makeDataField;
9963
- }
9964
-
9965
- declare function updateImpliedSchema({ schema, value, variablesSchema, }: {
9966
- schema: DataSchema | undefined;
9967
- value: any;
9968
- variablesSchema?: DataSchema;
9969
- }): DataSchema | undefined;
9970
- declare function updateImpliedSchema({ schema, value, variablesSchema, }: {
9971
- schema: DataSchema;
9972
- value: any;
9973
- variablesSchema?: DataSchema | undefined;
9974
- }): DataSchema;
9975
- declare function schemaHasProperties(schema?: DataSchema): boolean;
9976
- declare function nonEmptyObjectProperties(properties: Record<string, DataSchema | undefined | null>): Record<string, DataSchema>;
9977
- declare function schemaTypeFromValue(value: any): "object" | "boolean" | "number" | "string" | "array" | undefined;
9978
- declare function buildDataSchema(value: any, variablesSchema?: any): any;
9979
- declare function getSchemaFromValue(value: any, variablesSchema: any, ignoreFormulas?: boolean): any;
9980
- interface ValueToSchemaOptions {
9981
- addDefaults?: boolean;
9982
- skipUnknownFields?: boolean;
9983
- skipReadOnlyFields?: boolean;
9984
- normalizeValues?: boolean;
9985
- valueHasFormulas?: boolean;
9986
- }
9987
- declare function valueToSchema(value: any, schema: DataSchema | undefined, options?: ValueToSchemaOptions, field?: string): any;
9988
- declare function schemaIsScalar(schema: DataSchema): boolean;
9989
- declare function schemaHasFixedValues(schema: DataSchema): boolean;
9990
- declare function schemaAllowsCustomValue(schema: DataSchema): boolean | undefined;
9991
- declare function schemaIsNumber(schema: DataSchema): boolean;
9992
- declare function schemaWithTitle(schema: DataSchema, title: string): DataSchema;
9993
- declare function schemaWithTitle(schema: DataSchema | undefined, title: string): DataSchema | undefined;
9994
- declare function pickFieldsFromSchema(schema: DataSchema | undefined, fields: string[] | undefined): any;
9995
- declare function excludeReadOnlyFieldsFromSchema(schema?: DataSchema): DataSchema | undefined;
9996
- declare function excludeWriteOnlyFieldsFromSchema(schema?: DataSchema): DataSchema | undefined;
9997
- declare function excludeFieldsFromSchema(schema: DataSchema | undefined, fields: string[] | undefined): any;
9998
- declare function getRequiredFieldsFromSchema(schema: DataSchema): string[];
9999
- declare function addRequiredFieldsToSchema(schema: DataSchema | undefined, fields: string[] | undefined): any;
10000
- declare function removeRequiredFieldsFromSchema(schema: DataSchema): any;
10001
- declare function getMissingRequiredFields(schema: DataSchema | undefined, value: any): string[];
10002
- declare function populateSchemaTitles(schema: DataSchema | undefined): DataSchema | undefined;
10003
- declare function populateSchemaTitles(schema: DataSchema): DataSchema;
10004
- declare function generateExampleFromSchema(schema: DataSchema | undefined): any;
10005
- declare function isSchemaEmpty(schema: DataSchema): boolean;
10006
- declare function compressDataSchema(schema: DataSchema): DataSchema;
10007
- declare function walkSchema(schema: DataSchema | undefined, callback: (schema: DataSchema, locator: string) => DataSchema | undefined, locator?: string): DataSchema | undefined;
10008
-
10009
- declare function parseDate(value: any): Date | undefined;
10010
-
10011
- declare function isBusinessDay(date: Date): boolean;
10012
- declare function getBusinessDaysBetween(startDate: Date, endDate: Date): Set<string>;
10013
-
10014
- declare enum LogRecordType {
10015
- MSG = "message",
10016
- TEXT = "text",
10017
- ERR = "error",
10018
- DATA = "data",
10019
- COMP = "compare",
10020
- API = "api-request"
10021
- }
10022
- interface LogRecord {
10023
- type?: LogRecordType;
10024
- msg?: string;
10025
- data?: any;
10026
- }
10027
-
10028
- type WithExecutionLogs<T extends Record<string, any>> = T & {
10029
- logs?: any[];
10030
- };
10031
- declare function isStream(obj: any): boolean;
10032
- declare function streamToString(stream: Readable): Promise<string>;
10033
- declare function truncateData(data: any, depth?: number): any;
10034
-
10035
- declare enum UsageType {
10036
- FLOW_RUNS_DURATION = "flow-runs-duration",
10037
- FLOW_RUNS_NUMBER = "flow-runs-number",
10038
- FLOW_RUNS_LOG_SIZE = "flow-runs-log-size",
10039
- API_LOGS_NUMBER = "api-logs-number",
10040
- API_LOGS_SIZE = "api-logs-size",
10041
- WEBHOOK_LOGS_NUMBER = "webhook-logs-number",
10042
- WEBHOOK_LOGS_SIZE = "webhook-logs-size",
10043
- EVENT_LOGS_NUMBER = "event-logs-number",
10044
- EVENT_LOGS_SIZE = "event-logs-size",
10045
- EVENT_LOGS_DURATION = "event-logs-duration",
10046
- EXTERNAL_EVENTS_PULL_DURATION = "external-events-pull-duration",
10047
- EXTERNAL_EVENT_PULL_NUMBER = "external-event-pull-number",
10048
- EXTERNAL_EVENT_PULL_LOG_SIZE = "external-event-pull-log-size",
10049
- APP_EVENTS_NUMBER = "app-events-number",
10050
- APP_EVENTS_SIZE = "app-events-size",
10051
- FILES_UPLOAD_NUMBER = "files-upload-number",
10052
- FILES_UPLOAD_SIZE = "files-upload-size",
10053
- CUSTOM_CODE_RUNTIME_DURATION = "custom-code-runtime-duration",
10054
- MEMBRANE_AGENT = "membrane-agent"
10055
- }
10056
- interface UsageWithCredits {
10057
- key: UsageType;
10058
- value: number;
10059
- credits: number;
10060
- }
10061
- interface UsageEntry {
10062
- workspaceId?: string;
10063
- orgId?: string;
10064
- customerId?: string;
10065
- connectionId?: string;
10066
- key: UsageType;
10067
- time: string;
10068
- value: number;
10069
- }
10070
-
10071
- declare function getNodeInputSchema(flow: FlowInstance, nodeKey: string): any;
10072
- declare function getFlowNodeConfigTimeVariablesSchema({ parametersSchema, userSchema, }: {
10073
- parametersSchema: DataSchema;
10074
- userSchema: DataSchema;
10075
- }): DataSchema;
10076
- declare function getActionRunTimeVariablesSchema({ inputSchema, userSchema }: {
10077
- inputSchema: any;
10078
- userSchema: any;
10079
- }): DataSchema;
10080
- declare function getActionInstanceVariableSchema(): {
10081
- type: string;
10082
- properties: {
10083
- id: {
10084
- type: string;
10085
- };
10086
- instanceKey: {
10087
- type: string;
10088
- };
10089
- };
10090
- };
10091
- declare function getFlowNodeRunTimeVariablesSchema({ parametersSchema, inputSchema, userSchema, }: {
10092
- parametersSchema: DataSchema;
10093
- inputSchema: DataSchema;
10094
- userSchema: DataSchema;
10095
- }): DataSchema;
10096
-
10097
- interface WorkspaceUpdate {
10098
- id: string;
10099
- path: string;
10100
- before?: unknown;
10101
- after?: unknown;
10102
- }
10103
-
10104
- declare enum OrgLimitsType {
10105
- NUMBER_OF_WORKSPACES = "numberOfWorkspaces",
10106
- TODAY_USAGE = "todayUsage",
10107
- LAST_THIRTY_DAY_USAGE = "lastThirtyDayUsage",
10108
- MEMBRANE_EXPERT_CREDITS_CAP = "membraneExpertCreditsCapPerMonth"
10109
- }
10110
- interface Org {
10111
- id: string;
10112
- key: string;
10113
- secret?: string;
10114
- name: string;
10115
- createdAt: Date;
10116
- updatedAt: Date;
10117
- trialEndDate?: string;
10118
- lastTrialExtensionDate?: string;
10119
- limits?: OrgLimits;
10120
- lastThirtyDayUsagePercent?: number;
10121
- todayUsagePercent?: number;
10122
- featureFlags?: string[];
10123
- freeAiMonthlyCredits?: number;
10124
- paidAiCredits?: number;
10125
- }
10126
- declare enum OrgUserRole {
10127
- Admin = "admin",
10128
- Member = "member"
10129
- }
10130
- declare enum OrgUserStatus {
10131
- Invited = "invited",
10132
- Active = "active"
10133
- }
10134
- interface PlatformUser {
10135
- id: string;
10136
- email: string;
10137
- name: string;
10138
- trialRequested: boolean;
10139
- }
10140
- interface OrgUser {
10141
- id: string;
10142
- orgId: string;
10143
- userId: string;
10144
- role: OrgUserRole;
10145
- status: OrgUserStatus;
10146
- workspaces: string[];
10147
- user: PlatformUser;
10148
- }
10149
- interface OrgWorkspace {
10150
- id: string;
10151
- key: string;
10152
- name: string;
10153
- orgId: string;
10154
- logoUri?: string;
10155
- secret: string;
10156
- createdAt: Date;
10157
- updatedAt: Date;
10158
- archivedAt?: Date;
10159
- trialEndDate?: string;
10160
- featureFlags?: string[];
10161
- }
10162
- interface OrgLimits {
10163
- [OrgLimitsType.NUMBER_OF_WORKSPACES]?: number;
10164
- [OrgLimitsType.TODAY_USAGE]?: number;
10165
- [OrgLimitsType.LAST_THIRTY_DAY_USAGE]?: number;
10166
- [OrgLimitsType.MEMBRANE_EXPERT_CREDITS_CAP]?: number | null;
10167
- }
10168
- declare const OrgLimits: z.ZodOptional<z.ZodObject<{
10169
- numberOfWorkspaces: z.ZodOptional<z.ZodNumber>;
10170
- todayUsage: z.ZodOptional<z.ZodNumber>;
10171
- lastThirtyDayUsage: z.ZodOptional<z.ZodNumber>;
10172
- membraneAgentLastThirtyDaysUsage: z.ZodOptional<z.ZodNumber>;
10173
- membraneExpertCreditsCapPerMonth: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
10174
- }, z.core.$strip>>;
10175
- interface MembraneAgentKey {
10176
- key: string;
10177
- activityDate: Date;
10178
- hash: string;
9518
+ declare const OrgLimits: z.ZodOptional<z.ZodObject<{
9519
+ numberOfWorkspaces: z.ZodOptional<z.ZodNumber>;
9520
+ todayUsage: z.ZodOptional<z.ZodNumber>;
9521
+ lastThirtyDayUsage: z.ZodOptional<z.ZodNumber>;
9522
+ membraneAgentLastThirtyDaysUsage: z.ZodOptional<z.ZodNumber>;
9523
+ membraneExpertCreditsCapPerMonth: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
9524
+ }, z.core.$strip>>;
9525
+ interface MembraneAgentKey {
9526
+ key: string;
9527
+ activityDate: Date;
9528
+ hash: string;
10179
9529
  }
10180
9530
  declare const MembraneAgentKey: z.ZodOptional<z.ZodObject<{
10181
9531
  key: z.ZodOptional<z.ZodString>;
@@ -10204,6 +9554,10 @@ declare const OrgSchema: z.ZodObject<{
10204
9554
  freeAiMonthlyCredits: z.ZodOptional<z.ZodNumber>;
10205
9555
  paidAiCredits: z.ZodOptional<z.ZodNumber>;
10206
9556
  stripeCustomerId: z.ZodOptional<z.ZodString>;
9557
+ autoChargeEnabled: z.ZodOptional<z.ZodBoolean>;
9558
+ autoChargeThreshold: z.ZodOptional<z.ZodNumber>;
9559
+ autoChargePurchaseAmount: z.ZodOptional<z.ZodNumber>;
9560
+ autoChargeMonthlyLimit: z.ZodOptional<z.ZodNumber>;
10207
9561
  }, z.core.$strip>;
10208
9562
  declare const AccountResponse: z.ZodObject<{
10209
9563
  user: z.ZodOptional<z.ZodObject<{
@@ -10504,12 +9858,759 @@ declare const AccountResponse: z.ZodObject<{
10504
9858
  freeAiMonthlyCredits: z.ZodOptional<z.ZodNumber>;
10505
9859
  paidAiCredits: z.ZodOptional<z.ZodNumber>;
10506
9860
  stripeCustomerId: z.ZodOptional<z.ZodString>;
9861
+ autoChargeEnabled: z.ZodOptional<z.ZodBoolean>;
9862
+ autoChargeThreshold: z.ZodOptional<z.ZodNumber>;
9863
+ autoChargePurchaseAmount: z.ZodOptional<z.ZodNumber>;
9864
+ autoChargeMonthlyLimit: z.ZodOptional<z.ZodNumber>;
10507
9865
  }, z.core.$strip>>>;
10508
9866
  permissions: z.ZodOptional<z.ZodArray<z.ZodString>>;
10509
9867
  message: z.ZodOptional<z.ZodString>;
10510
9868
  error: z.ZodOptional<z.ZodString>;
10511
9869
  }, z.core.$strip>;
10512
9870
 
9871
+ declare class SelfAccessor {
9872
+ private client;
9873
+ constructor(client: MembraneApiClient);
9874
+ get(): Promise<Customer>;
9875
+ patch(data: Partial<{
9876
+ credentials: any;
9877
+ }>): Promise<Customer>;
9878
+ }
9879
+
9880
+ interface Self {
9881
+ user: User;
9882
+ workspace: OrgWorkspace;
9883
+ }
9884
+
9885
+ declare enum DataBuilderFormulaType {
9886
+ VAR = "var",
9887
+ COPY = "copy",
9888
+ TPL = "tpl",
9889
+ RECORD = "record",
9890
+ LOOKUP = "lookup",
9891
+ PLAIN = "plain",
9892
+ MAP = "map",
9893
+ CONCAT = "concat",
9894
+ FIRST_NAME = "firstName",
9895
+ LAST_NAME = "lastName",
9896
+ ITERATE = "iterate",
9897
+ CASE = "case",
9898
+ EXTRACT_DATE = "extractDate",
9899
+ EXTRACT_TIME = "extractTime",
9900
+ FIND_EXTERNAL_RECORD_ID = "findExternalRecordId",
9901
+ FIND_APP_RECORD_ID = "findAppRecordId",
9902
+ EVAL = "eval",
9903
+ AND = "and",
9904
+ OR = "or",
9905
+ MERGE_OBJECTS = "mergeObjects",
9906
+ FIRST_NOT_EMPTY = "firstNotEmpty",
9907
+ DOMAIN_FROM_EMAIL = "domainFromEmail",
9908
+ FORMULA = "formula",
9909
+ JSONATA = "jsonata",
9910
+ DATA_SCHEMA_REF = "dataSchemaRef"
9911
+ }
9912
+
9913
+ interface LookupValue {
9914
+ query: Record<string, any>;
9915
+ createIfNotFound?: boolean;
9916
+ create?: {
9917
+ fields: any;
9918
+ };
9919
+ }
9920
+ interface DataBuilderFormula {
9921
+ resolveValue(params: ResolveFormulaParams): Promise<unknown>;
9922
+ getValue(variables: any): any;
9923
+ getSchema(variablesSchema: any): any;
9924
+ toObject(): any;
9925
+ toString(variablesSchema?: any): string;
9926
+ }
9927
+ interface ResolveFormulaParams {
9928
+ variables?: unknown;
9929
+ schema?: DataSchema | undefined;
9930
+ getDataCollection?: (key: string, parameters?: Record<string, unknown>) => Promise<DataCollectionSpec>;
9931
+ getInternalDataSchema?: (key: string) => Promise<DataSchema>;
9932
+ resolveImportDataLink?: (options: {
9933
+ dataLinkTableKey: string;
9934
+ recordId: string;
9935
+ }) => Promise<string | undefined>;
9936
+ resolveExportDataLink?: (options: {
9937
+ dataLinkTableKey: string;
9938
+ recordId: string;
9939
+ }) => Promise<string | undefined>;
9940
+ resolveLookup?: ({ lookup, schema, fullValue, }: {
9941
+ lookup: LookupValue;
9942
+ schema: DataSchema | undefined;
9943
+ fullValue: unknown;
9944
+ }) => Promise<string | undefined>;
9945
+ fullValue?: unknown;
9946
+ }
9947
+ declare abstract class DataBuilderFormulaBase<ArgsType = any> implements DataBuilderFormula {
9948
+ type: DataBuilderFormulaType;
9949
+ args: ArgsType;
9950
+ constructor(type: DataBuilderFormulaType, args: ArgsType);
9951
+ resolveValue(params: ResolveFormulaParams): Promise<any>;
9952
+ abstract getSchema(variablesSchema: any): any;
9953
+ toObject(): any;
9954
+ toString(_variablesSchema?: any): string;
9955
+ getVariableLocators(): string[];
9956
+ transformVars(transformations: any): any;
9957
+ abstract getValue(variables: any): any;
9958
+ }
9959
+
9960
+ declare let getFormula$1: (value: any) => DataBuilderFormulaBase | undefined;
9961
+ declare let isFormula$1: (value: any) => boolean;
9962
+ declare let hasFormulas$1: (value: any) => boolean;
9963
+ declare function injectFormulaCatalog(getFormulaFn: any, isFormulaFn: any, hasFormulasFn: any): void;
9964
+
9965
+ declare function buildData(value: any, variables?: any): any;
9966
+ declare function buildValue(value: any, variables: any): any;
9967
+ declare function __resolveValue<T = unknown>(value: unknown, params: ResolveFormulaParams): Promise<T>;
9968
+ declare function transformVars(value: any, transformations: Record<string, any>): any;
9969
+ declare function valueToString(value: any, variablesSchema: any): string;
9970
+ declare function resolveFormulas<T = unknown>(value: any, params: ResolveFormulaParams): Promise<T>;
9971
+ declare function processCopy(data: any): any;
9972
+ declare function getVariableLocators(data: any): string[];
9973
+ declare function removeNonExistentVars(value: any, schema: DataSchema): any;
9974
+ declare function transformVariablesWith(data: any, transformFunction: (locator: string) => string): any;
9975
+
9976
+ interface DataFilterOperator {
9977
+ type: string;
9978
+ name: string;
9979
+ operandSchema: any;
9980
+ }
9981
+
9982
+ declare function makeObjectPropertyLocator(objectLocator: string | undefined, propertyName: string): string;
9983
+ declare enum DataLocatorStepType {
9984
+ OBJECT_PROPERTY = "object_property",
9985
+ ARRAY_ITEM = "array_item"
9986
+ }
9987
+ declare class DataLocatorStep {
9988
+ type: DataLocatorStepType;
9989
+ }
9990
+ declare class DataLocatorStepObjectProperty extends DataLocatorStep {
9991
+ propertyName: string;
9992
+ constructor(propertyName: string);
9993
+ }
9994
+ declare class DataLocatorStepArrayItem extends DataLocatorStep {
9995
+ index: number;
9996
+ constructor(index: number);
9997
+ }
9998
+ type DataLocator = DataLocatorStep[] | string;
9999
+ declare class InvalidLocatorError extends Error {
10000
+ }
10001
+ declare function locatorToField(locator: string): string;
10002
+ declare function getLocatorsFromSchema(schema?: DataSchema, rootLocator?: string): string[];
10003
+ declare function getSchemaByLocator(schema: any, locator: DataLocator): any;
10004
+ declare function getValueByLocator(variables: any, locator: DataLocator): any;
10005
+ declare function findValueLocators(data: any, value: any): string[];
10006
+ declare function getValueAtLocator(data: any, locator: DataLocator): any;
10007
+ declare function setValueAtLocator(obj: any, locator: string, value: any): any;
10008
+ declare function pickFieldsFromValue(value: any, fields: string[]): any;
10009
+ declare function excludeFieldsFromValue(value: any, fields: string[]): any;
10010
+ declare function setSchemaAtLocator(schema: any, locator: DataLocator, schemaAtLocator: any): any;
10011
+ declare function extractFieldLocator(locator: string): string;
10012
+ declare function makeSchemaForLocator(locator: DataLocator, locatorSchema: any): any;
10013
+ declare function getNameForLocator(schema: any, locator: DataLocator): string | null | undefined;
10014
+ declare function getNameComponentsForLocator(schema: any, locator: DataLocator): string[] | undefined;
10015
+ declare function getFullNameForLocator(schema: any, locator: DataLocator): string | undefined;
10016
+ declare function getIconUriForLocator(schema: any, locator: DataLocator): string;
10017
+ declare function getLocatorsFromData(data: any, parentLocator?: string): any;
10018
+ declare const getFullTitleForLocator: typeof getFullNameForLocator;
10019
+ declare function isValidLocator(locator: DataLocator): boolean;
10020
+ declare function locatorToSteps(sourceLocator: DataLocator): DataLocatorStep[];
10021
+ declare function locatorToString(locator: DataLocator): string;
10022
+ declare function stepsToLocator(steps: DataLocatorStep[]): string;
10023
+ declare function createObjectFromLocators(locators?: string[], placeholderValue?: string): {};
10024
+ declare function getFormulaLocators(formulaType: string, data: any): string[];
10025
+
10026
+ declare function backwardCompatibleFilterMatch(filter: any, variables: any): any;
10027
+ declare function doesMatchFilter(data: any, filter: DataFilter): boolean;
10028
+ declare class DataFilterCondition {
10029
+ field: string;
10030
+ operator: string;
10031
+ value?: any | undefined;
10032
+ constructor(field: string, operator: string, value?: any | undefined);
10033
+ }
10034
+ type DataFilter = DataFilterCondition[];
10035
+ declare function getOperatorsBySchema(schema: any): DataFilterOperator[];
10036
+ declare function getFilterFieldValuesByLocator(data: any, locator: DataLocator): any[];
10037
+
10038
+ declare class And extends DataBuilderFormulaBase {
10039
+ constructor(args: any[]);
10040
+ getValue(variables: any): boolean | undefined;
10041
+ resolveValue(params: ResolveFormulaParams): Promise<boolean | undefined>;
10042
+ getSchema(): {
10043
+ type: string;
10044
+ };
10045
+ }
10046
+
10047
+ interface CaseFormulaValueItem {
10048
+ filter?: any;
10049
+ value?: any;
10050
+ }
10051
+ type CaseFormulaValue = {
10052
+ cases: CaseFormulaValueItem[];
10053
+ default?: any;
10054
+ };
10055
+ declare class DataBuilderFormulaCase extends DataBuilderFormulaBase {
10056
+ value: CaseFormulaValue;
10057
+ constructor(value: CaseFormulaValueItem[] | CaseFormulaValue);
10058
+ getValue(variables: any): any;
10059
+ resolveValue(params: ResolveFormulaParams): Promise<unknown>;
10060
+ getSchema(variablesSchema: any): any;
10061
+ isValueValid(): boolean;
10062
+ transformVars(transformations: any): any;
10063
+ }
10064
+
10065
+ type AnyValue = any;
10066
+ type ConcatFormulaOptions = {
10067
+ delimiter?: AnyValue;
10068
+ values?: AnyValue[];
10069
+ };
10070
+ declare class DataBuilderFormulaConcat extends DataBuilderFormulaBase {
10071
+ options: ConcatFormulaOptions | null;
10072
+ delimiter: AnyValue;
10073
+ values: AnyValue[];
10074
+ constructor(options: ConcatFormulaOptions | null);
10075
+ getValue(variables: any): string | undefined;
10076
+ resolveValue(params: ResolveFormulaParams): Promise<string | undefined>;
10077
+ getSchema(): {
10078
+ type: string;
10079
+ };
10080
+ toString(variablesSchema: any): string;
10081
+ }
10082
+
10083
+ declare class DataBuilderFormulaCopy extends DataBuilderFormulaBase {
10084
+ locator: string;
10085
+ constructor(locator: string);
10086
+ getValue(variables: any): {
10087
+ $copy: any;
10088
+ };
10089
+ resolveValue(params: ResolveFormulaParams): Promise<any>;
10090
+ getSchema(): null;
10091
+ }
10092
+
10093
+ interface DataSchemaRegArgsDataCollection {
10094
+ type: 'data-collection';
10095
+ key: unknown;
10096
+ parameters?: unknown;
10097
+ }
10098
+ interface DataSchemaRegArgsInternalDataSchema {
10099
+ type: 'internal-data-schema';
10100
+ key: unknown;
10101
+ }
10102
+ type DataSchemaRefArgs = DataSchemaRegArgsDataCollection | DataSchemaRegArgsInternalDataSchema;
10103
+ declare class DataSchemaRef extends DataBuilderFormulaBase<DataSchemaRefArgs> {
10104
+ value: any;
10105
+ constructor(value: any);
10106
+ getValue(): undefined;
10107
+ resolveValue(params: ResolveFormulaParams): Promise<DataSchema | undefined>;
10108
+ resolveDataCollection(args: DataSchemaRegArgsDataCollection, params: ResolveFormulaParams): Promise<DataSchema | undefined>;
10109
+ resolveInternalDataSchema(args: DataSchemaRegArgsInternalDataSchema, params: ResolveFormulaParams): Promise<DataSchema | undefined>;
10110
+ getSchema(): {
10111
+ type: string;
10112
+ };
10113
+ }
10114
+
10115
+ declare class DomainFromEmail extends DataBuilderFormulaBase {
10116
+ value: any;
10117
+ constructor(value: any);
10118
+ getValue(variables: any): string | undefined;
10119
+ resolveValue(params: ResolveFormulaParams): Promise<string | undefined>;
10120
+ getSchema(): {
10121
+ type: string;
10122
+ };
10123
+ }
10124
+
10125
+ interface EvalOperator {
10126
+ key: string;
10127
+ name: string;
10128
+ operandSchema: any;
10129
+ hasOperand: boolean;
10130
+ }
10131
+ declare class Eval extends DataBuilderFormulaBase {
10132
+ value: any;
10133
+ operatorKey: string;
10134
+ operand: any;
10135
+ constructor(args: any, formulaValue: any);
10136
+ getAvailableOperators(variablesSchema: DataSchema): EvalOperator[];
10137
+ getOperator(variablesSchema: any): EvalOperator;
10138
+ getValue(variables: any): boolean;
10139
+ resolveValue(params: ResolveFormulaParams): Promise<boolean>;
10140
+ getSchema(): {
10141
+ type: string;
10142
+ };
10143
+ toObject(): {
10144
+ $eval: any;
10145
+ };
10146
+ transformVars(transformations: any): {
10147
+ [x: string]: any;
10148
+ $eval: any;
10149
+ } | undefined;
10150
+ }
10151
+
10152
+ declare class DataBuilderFormulaExtractDate extends DataBuilderFormulaBase {
10153
+ value: any;
10154
+ constructor(value: any);
10155
+ getValue(variables: any): string | undefined;
10156
+ resolveValue(params: ResolveFormulaParams): Promise<string | undefined>;
10157
+ getSchema(): {
10158
+ type: string;
10159
+ format: string;
10160
+ };
10161
+ }
10162
+
10163
+ declare class DataBuilderFormulaExtractTime extends DataBuilderFormulaBase {
10164
+ value: any;
10165
+ constructor(value: any);
10166
+ getValue(variables: any): string;
10167
+ resolveValue(params: ResolveFormulaParams): Promise<string | undefined>;
10168
+ getSchema(): {
10169
+ type: string;
10170
+ format: string;
10171
+ };
10172
+ }
10173
+
10174
+ interface FindAppRecordIdArgs {
10175
+ dataLinkTable: DataLinkTableConfig;
10176
+ recordId: string;
10177
+ }
10178
+ declare class DataBuilderFormulaFindAppRecordId extends DataBuilderFormulaBase {
10179
+ args: FindAppRecordIdArgs;
10180
+ constructor(args: FindAppRecordIdArgs);
10181
+ getValue(variables: any): {
10182
+ $findAppRecordId: any;
10183
+ };
10184
+ resolveValue(params: ResolveFormulaParams): Promise<any>;
10185
+ getSchema(): {
10186
+ type: string;
10187
+ };
10188
+ }
10189
+
10190
+ interface FindExternalRecordIdArgs {
10191
+ dataLinkTable: DataLinkTableConfig;
10192
+ recordId: string;
10193
+ }
10194
+ declare class DataBuilderFormulaFindExternalRecordId extends DataBuilderFormulaBase {
10195
+ args: FindExternalRecordIdArgs;
10196
+ constructor(args: FindExternalRecordIdArgs);
10197
+ getValue(variables: any): {
10198
+ $findExternalRecordId: any;
10199
+ };
10200
+ resolveValue(params: ResolveFormulaParams): Promise<any>;
10201
+ getSchema(): {
10202
+ type: string;
10203
+ };
10204
+ }
10205
+
10206
+ declare class DataBuilderFormulaFirstName extends DataBuilderFormulaBase {
10207
+ value: any;
10208
+ constructor(value: any);
10209
+ getValue(variables: any): any;
10210
+ resolveValue(params: ResolveFormulaParams): Promise<string | undefined>;
10211
+ getSchema(): {
10212
+ type: string;
10213
+ };
10214
+ }
10215
+
10216
+ declare class FirstNotEmpty extends DataBuilderFormulaBase {
10217
+ constructor(args: any[]);
10218
+ getValue(variables: any): any;
10219
+ resolveValue(params: ResolveFormulaParams): Promise<any>;
10220
+ getSchema(variablesSchema: any): any;
10221
+ }
10222
+
10223
+ declare class FormulaFormula extends DataBuilderFormulaBase {
10224
+ constructor(args: any);
10225
+ getValue(variables: any): any;
10226
+ resolveValue(params: ResolveFormulaParams): Promise<any>;
10227
+ getSchema(): undefined;
10228
+ transformVars(transformations: any): any;
10229
+ }
10230
+
10231
+ interface IterateArguments {
10232
+ source: any;
10233
+ item?: any;
10234
+ }
10235
+ declare class DataBuilderFormulaIterate extends DataBuilderFormulaBase {
10236
+ args: IterateArguments;
10237
+ source: any;
10238
+ item: any;
10239
+ constructor(args: IterateArguments);
10240
+ getValue(variables: any): never[] | undefined;
10241
+ resolveValue(params: ResolveFormulaParams): Promise<any>;
10242
+ getSchema(variablesSchema: any): {
10243
+ type: string;
10244
+ items: any;
10245
+ };
10246
+ getVariableLocators(): string[];
10247
+ transformVars(transformations: any): any;
10248
+ }
10249
+
10250
+ declare class JsonataFormula extends DataBuilderFormulaBase {
10251
+ expression: any;
10252
+ constructor(expression: any);
10253
+ getValue(variables: any): any;
10254
+ resolveValue(params: ResolveFormulaParams): Promise<any>;
10255
+ getSchema(): any;
10256
+ }
10257
+
10258
+ declare class DataBuilderFormulaLastName extends DataBuilderFormulaBase {
10259
+ value: any;
10260
+ constructor(value: any);
10261
+ getValue(variables: any): any;
10262
+ resolveValue(params: ResolveFormulaParams): Promise<string | undefined>;
10263
+ getSchema(): {
10264
+ type: string;
10265
+ };
10266
+ toString(variablesSchema: any): string;
10267
+ }
10268
+
10269
+ declare class DataBuilderFormulaLookup extends DataBuilderFormulaBase {
10270
+ value: LookupValue;
10271
+ constructor(value: LookupValue);
10272
+ getValue(variables: any): {
10273
+ $lookup: any;
10274
+ };
10275
+ resolveValue(params: ResolveFormulaParams): Promise<any>;
10276
+ getSchema(): {
10277
+ type: string;
10278
+ };
10279
+ }
10280
+
10281
+ interface MappingItem {
10282
+ from: any;
10283
+ to?: any;
10284
+ }
10285
+ interface MapFormulaValue {
10286
+ value: any;
10287
+ mapping: MappingItem[];
10288
+ default?: any;
10289
+ }
10290
+ declare class DataBuilderFormulaMap extends DataBuilderFormulaBase {
10291
+ args: MapFormulaValue;
10292
+ constructor(args: MapFormulaValue);
10293
+ getValue(variables: any): any;
10294
+ resolveValue(params: ResolveFormulaParams): Promise<any>;
10295
+ getSchema(variablesSchema: any): any;
10296
+ }
10297
+
10298
+ declare class MergeObjects extends DataBuilderFormulaBase {
10299
+ constructor(args: any[]);
10300
+ getValue(variables: any): {} | undefined;
10301
+ resolveValue(params: ResolveFormulaParams): Promise<any>;
10302
+ getSchema(variablesSchema: any): {
10303
+ type: string;
10304
+ properties: {};
10305
+ } | {
10306
+ type: string;
10307
+ };
10308
+ }
10309
+
10310
+ declare class Or extends DataBuilderFormulaBase {
10311
+ constructor(args: any[]);
10312
+ getValue(variables: any): boolean | undefined;
10313
+ resolveValue(params: ResolveFormulaParams): Promise<boolean | undefined>;
10314
+ getSchema(): {
10315
+ type: string;
10316
+ };
10317
+ }
10318
+
10319
+ declare class DataBuilderFormulaPlain extends DataBuilderFormulaBase {
10320
+ value: any;
10321
+ constructor(value: any);
10322
+ getValue(): any;
10323
+ resolveValue(_params: ResolveFormulaParams): Promise<any>;
10324
+ getSchema(): any;
10325
+ }
10326
+
10327
+ declare class DataBuilderFormulaRecord extends DataBuilderFormulaBase {
10328
+ record: DataRecord;
10329
+ constructor(record: DataRecord);
10330
+ getValue(): string;
10331
+ resolveValue(_params: ResolveFormulaParams): Promise<string | undefined>;
10332
+ getSchema(): {
10333
+ type: string;
10334
+ };
10335
+ }
10336
+
10337
+ type TplFormulaArgs = {
10338
+ template: string;
10339
+ values: Record<string, any>;
10340
+ };
10341
+ declare class DataBuilderFormulaTpl extends DataBuilderFormulaBase {
10342
+ args: TplFormulaArgs;
10343
+ constructor(args: TplFormulaArgs);
10344
+ getValue(variables: any): string;
10345
+ resolveValue(params: ResolveFormulaParams): Promise<string | undefined>;
10346
+ getSchema(): {
10347
+ type: string;
10348
+ };
10349
+ }
10350
+
10351
+ declare class DataBuilderFormulaVar extends DataBuilderFormulaBase {
10352
+ locator: string;
10353
+ constructor(locator: string);
10354
+ getValue(variables: any): any;
10355
+ resolveValue(params: ResolveFormulaParams): Promise<any>;
10356
+ getSchema(variablesSchema: any): any;
10357
+ toString(variablesSchema: any): string;
10358
+ getVariableLocators(): string[];
10359
+ transformVars(transformations: any): any;
10360
+ }
10361
+
10362
+ declare const Formula: {
10363
+ Var: typeof DataBuilderFormulaVar;
10364
+ Record: typeof DataBuilderFormulaRecord;
10365
+ Tpl: typeof DataBuilderFormulaTpl;
10366
+ Lookup: typeof DataBuilderFormulaLookup;
10367
+ Plain: typeof DataBuilderFormulaPlain;
10368
+ Map: typeof DataBuilderFormulaMap;
10369
+ And: typeof And;
10370
+ Or: typeof Or;
10371
+ MergeObjects: typeof MergeObjects;
10372
+ FirstNotEmpty: typeof FirstNotEmpty;
10373
+ DomainFromEmail: typeof DomainFromEmail;
10374
+ Formula: typeof FormulaFormula;
10375
+ Base: typeof DataBuilderFormulaBase;
10376
+ Case: typeof DataBuilderFormulaCase;
10377
+ Concat: typeof DataBuilderFormulaConcat;
10378
+ Copy: typeof DataBuilderFormulaCopy;
10379
+ Eval: typeof Eval;
10380
+ ExtractDate: typeof DataBuilderFormulaExtractDate;
10381
+ ExtractTime: typeof DataBuilderFormulaExtractTime;
10382
+ FindAppRecordId: typeof DataBuilderFormulaFindAppRecordId;
10383
+ FindExternalRecordId: typeof DataBuilderFormulaFindExternalRecordId;
10384
+ FirstName: typeof DataBuilderFormulaFirstName;
10385
+ LastName: typeof DataBuilderFormulaLastName;
10386
+ Iterate: typeof DataBuilderFormulaIterate;
10387
+ Jsonata: typeof JsonataFormula;
10388
+ DataSchemaRef: typeof DataSchemaRef;
10389
+ };
10390
+ type Formula = {
10391
+ Var: DataBuilderFormulaVar;
10392
+ Record: DataBuilderFormulaRecord;
10393
+ Tpl: DataBuilderFormulaTpl;
10394
+ Lookup: DataBuilderFormulaLookup;
10395
+ Plain: DataBuilderFormulaPlain;
10396
+ Map: DataBuilderFormulaMap;
10397
+ And: And;
10398
+ Or: Or;
10399
+ MergeObjects: MergeObjects;
10400
+ FirstNotEmpty: FirstNotEmpty;
10401
+ DomainFromEmail: DomainFromEmail;
10402
+ Formula: FormulaFormula;
10403
+ Base: DataBuilderFormulaBase;
10404
+ Case: DataBuilderFormulaCase;
10405
+ Concat: DataBuilderFormulaConcat;
10406
+ Copy: DataBuilderFormulaCopy;
10407
+ Eval: Eval;
10408
+ ExtractDate: DataBuilderFormulaExtractDate;
10409
+ ExtractTime: DataBuilderFormulaExtractTime;
10410
+ FindAppRecordId: DataBuilderFormulaFindAppRecordId;
10411
+ FindExternalRecordId: DataBuilderFormulaFindExternalRecordId;
10412
+ FirstName: DataBuilderFormulaFirstName;
10413
+ LastName: DataBuilderFormulaLastName;
10414
+ Iterate: DataBuilderFormulaIterate;
10415
+ Jsonata: JsonataFormula;
10416
+ DataSchemaRef: DataSchemaRef;
10417
+ };
10418
+ declare function isFormula(value: any): boolean;
10419
+ declare function hasFormulas(value: any): any;
10420
+ declare function getFormula(value: any): DataBuilderFormulaBase | undefined;
10421
+
10422
+ declare function getErrorFromData(data: any): any;
10423
+ declare function extractMembraneErrorData(error: any): ErrorData;
10424
+
10425
+ interface DataField {
10426
+ name: string;
10427
+ locator: string;
10428
+ schema: DataSchema;
10429
+ value: any;
10430
+ }
10431
+
10432
+ interface DataFormArgs {
10433
+ schema: DataSchema;
10434
+ value: any;
10435
+ variablesSchema?: DataSchema;
10436
+ }
10437
+ interface FieldValueOption {
10438
+ name: string;
10439
+ value: any;
10440
+ selected?: boolean;
10441
+ }
10442
+ interface DataForm extends DataFormArgs {
10443
+ }
10444
+ declare class DataForm {
10445
+ constructor(args: DataFormArgs);
10446
+ getFields(): DataField[];
10447
+ getFieldValueOptions(field: DataField): FieldValueOption[];
10448
+ setFieldValue(field: DataField, value: any): any;
10449
+ private makeDataField;
10450
+ }
10451
+
10452
+ declare function updateImpliedSchema({ schema, value, variablesSchema, }: {
10453
+ schema: DataSchema | undefined;
10454
+ value: any;
10455
+ variablesSchema?: DataSchema;
10456
+ }): DataSchema | undefined;
10457
+ declare function updateImpliedSchema({ schema, value, variablesSchema, }: {
10458
+ schema: DataSchema;
10459
+ value: any;
10460
+ variablesSchema?: DataSchema | undefined;
10461
+ }): DataSchema;
10462
+ declare function schemaHasProperties(schema?: DataSchema): boolean;
10463
+ declare function nonEmptyObjectProperties(properties: Record<string, DataSchema | undefined | null>): Record<string, DataSchema>;
10464
+ declare function schemaTypeFromValue(value: any): "object" | "boolean" | "number" | "string" | "array" | undefined;
10465
+ declare function buildDataSchema(value: any, variablesSchema?: any): any;
10466
+ declare function getSchemaFromValue(value: any, variablesSchema: any, ignoreFormulas?: boolean): any;
10467
+ interface ValueToSchemaOptions {
10468
+ addDefaults?: boolean;
10469
+ skipUnknownFields?: boolean;
10470
+ skipReadOnlyFields?: boolean;
10471
+ normalizeValues?: boolean;
10472
+ valueHasFormulas?: boolean;
10473
+ }
10474
+ declare function valueToSchema(value: any, schema: DataSchema | undefined, options?: ValueToSchemaOptions, field?: string): any;
10475
+ declare function schemaIsScalar(schema: DataSchema): boolean;
10476
+ declare function schemaHasFixedValues(schema: DataSchema): boolean;
10477
+ declare function schemaAllowsCustomValue(schema: DataSchema): boolean | undefined;
10478
+ declare function schemaIsNumber(schema: DataSchema): boolean;
10479
+ declare function schemaWithTitle(schema: DataSchema, title: string): DataSchema;
10480
+ declare function schemaWithTitle(schema: DataSchema | undefined, title: string): DataSchema | undefined;
10481
+ declare function pickFieldsFromSchema(schema: DataSchema | undefined, fields: string[] | undefined): any;
10482
+ declare function excludeReadOnlyFieldsFromSchema(schema?: DataSchema): DataSchema | undefined;
10483
+ declare function excludeWriteOnlyFieldsFromSchema(schema?: DataSchema): DataSchema | undefined;
10484
+ declare function excludeFieldsFromSchema(schema: DataSchema | undefined, fields: string[] | undefined): any;
10485
+ declare function getRequiredFieldsFromSchema(schema: DataSchema): string[];
10486
+ declare function addRequiredFieldsToSchema(schema: DataSchema | undefined, fields: string[] | undefined): any;
10487
+ declare function removeRequiredFieldsFromSchema(schema: DataSchema): any;
10488
+ declare function getMissingRequiredFields(schema: DataSchema | undefined, value: any): string[];
10489
+ declare function populateSchemaTitles(schema: DataSchema | undefined): DataSchema | undefined;
10490
+ declare function populateSchemaTitles(schema: DataSchema): DataSchema;
10491
+ declare function generateExampleFromSchema(schema: DataSchema | undefined): any;
10492
+ declare function isSchemaEmpty(schema: DataSchema): boolean;
10493
+ declare function compressDataSchema(schema: DataSchema): DataSchema;
10494
+ declare function walkSchema(schema: DataSchema | undefined, callback: (schema: DataSchema, locator: string) => DataSchema | undefined, locator?: string): DataSchema | undefined;
10495
+
10496
+ declare function parseDate(value: any): Date | undefined;
10497
+
10498
+ declare function isBusinessDay(date: Date): boolean;
10499
+ declare function getBusinessDaysBetween(startDate: Date, endDate: Date): Set<string>;
10500
+
10501
+ declare enum LogRecordType {
10502
+ MSG = "message",
10503
+ TEXT = "text",
10504
+ ERR = "error",
10505
+ DATA = "data",
10506
+ COMP = "compare",
10507
+ API = "api-request"
10508
+ }
10509
+ interface LogRecord {
10510
+ type?: LogRecordType;
10511
+ msg?: string;
10512
+ data?: any;
10513
+ }
10514
+
10515
+ type WithExecutionLogs<T extends Record<string, any>> = T & {
10516
+ logs?: any[];
10517
+ };
10518
+ declare function isStream(obj: any): boolean;
10519
+ declare function streamToString(stream: Readable): Promise<string>;
10520
+ declare function truncateData(data: any, depth?: number): any;
10521
+
10522
+ declare enum UsageType {
10523
+ FLOW_RUNS_DURATION = "flow-runs-duration",
10524
+ FLOW_RUNS_NUMBER = "flow-runs-number",
10525
+ FLOW_RUNS_LOG_SIZE = "flow-runs-log-size",
10526
+ API_LOGS_NUMBER = "api-logs-number",
10527
+ API_LOGS_SIZE = "api-logs-size",
10528
+ WEBHOOK_LOGS_NUMBER = "webhook-logs-number",
10529
+ WEBHOOK_LOGS_SIZE = "webhook-logs-size",
10530
+ EVENT_LOGS_NUMBER = "event-logs-number",
10531
+ EVENT_LOGS_SIZE = "event-logs-size",
10532
+ EVENT_LOGS_DURATION = "event-logs-duration",
10533
+ EXTERNAL_EVENTS_PULL_DURATION = "external-events-pull-duration",
10534
+ EXTERNAL_EVENT_PULL_NUMBER = "external-event-pull-number",
10535
+ EXTERNAL_EVENT_PULL_LOG_SIZE = "external-event-pull-log-size",
10536
+ APP_EVENTS_NUMBER = "app-events-number",
10537
+ APP_EVENTS_SIZE = "app-events-size",
10538
+ FILES_UPLOAD_NUMBER = "files-upload-number",
10539
+ FILES_UPLOAD_SIZE = "files-upload-size",
10540
+ CUSTOM_CODE_RUNTIME_DURATION = "custom-code-runtime-duration",
10541
+ MEMBRANE_AGENT = "membrane-agent"
10542
+ }
10543
+ interface UsageWithCredits {
10544
+ key: UsageType;
10545
+ value: number;
10546
+ credits: number;
10547
+ }
10548
+ interface UsageEntry {
10549
+ workspaceId?: string;
10550
+ orgId?: string;
10551
+ customerId?: string;
10552
+ connectionId?: string;
10553
+ key: UsageType;
10554
+ time: string;
10555
+ value: number;
10556
+ }
10557
+
10558
+ declare function getNodeInputSchema(flow: FlowInstance, nodeKey: string): any;
10559
+ declare function getFlowNodeConfigTimeVariablesSchema({ parametersSchema, userSchema, }: {
10560
+ parametersSchema: DataSchema;
10561
+ userSchema: DataSchema;
10562
+ }): DataSchema;
10563
+ declare function getActionRunTimeVariablesSchema({ inputSchema, userSchema }: {
10564
+ inputSchema: any;
10565
+ userSchema: any;
10566
+ }): DataSchema;
10567
+ declare function getActionInstanceVariableSchema(): {
10568
+ type: string;
10569
+ properties: {
10570
+ id: {
10571
+ type: string;
10572
+ };
10573
+ instanceKey: {
10574
+ type: string;
10575
+ };
10576
+ };
10577
+ };
10578
+ declare function getFlowNodeRunTimeVariablesSchema({ parametersSchema, inputSchema, userSchema, }: {
10579
+ parametersSchema: DataSchema;
10580
+ inputSchema: DataSchema;
10581
+ userSchema: DataSchema;
10582
+ }): DataSchema;
10583
+
10584
+ interface App {
10585
+ id: string;
10586
+ apiDocsUri: string;
10587
+ appUri: string;
10588
+ categories: string[];
10589
+ defaultConnectorId: string;
10590
+ key: string;
10591
+ logoUri: string;
10592
+ name: string;
10593
+ popularity: number;
10594
+ uuid: string;
10595
+ knowledgeBaseUuid?: string;
10596
+ hasFreeTestAccount?: boolean | null;
10597
+ freeTestAccountGuide?: string;
10598
+ readmeSlug?: string;
10599
+ isPublic?: boolean;
10600
+ isReadOnly: boolean;
10601
+ }
10602
+ interface AppCategory {
10603
+ count: number;
10604
+ category: string;
10605
+ }
10606
+
10607
+ interface WorkspaceUpdate {
10608
+ id: string;
10609
+ path: string;
10610
+ before?: unknown;
10611
+ after?: unknown;
10612
+ }
10613
+
10513
10614
  declare const PlatformUserSchema: z.ZodObject<{
10514
10615
  id: z.ZodString;
10515
10616
  email: z.ZodString;
@@ -10540,9 +10641,10 @@ declare enum WebhookTypeEnum {
10540
10641
  ORG_CREATED = "org-created",
10541
10642
  TASK_CREATED = "task-created",
10542
10643
  TASK_UPDATED = "task-updated",
10543
- TASK_ACTIVITY_CREATED = "task-activity-created"
10644
+ TASK_ACTIVITY_CREATED = "task-activity-created",
10645
+ CONNECTOR_VERSION_PUBLISHED = "connector-version-published"
10544
10646
  }
10545
- type WebhookType = WebhookTypeEnum.USER_INVITED_TO_ORG | WebhookTypeEnum.ORG_ACCESS_REQUESTED | WebhookTypeEnum.ORG_CREATED | WebhookTypeEnum.TASK_CREATED | WebhookTypeEnum.TASK_UPDATED | WebhookTypeEnum.TASK_ACTIVITY_CREATED;
10647
+ type WebhookType = WebhookTypeEnum.USER_INVITED_TO_ORG | WebhookTypeEnum.ORG_ACCESS_REQUESTED | WebhookTypeEnum.ORG_CREATED | WebhookTypeEnum.TASK_CREATED | WebhookTypeEnum.TASK_UPDATED | WebhookTypeEnum.TASK_ACTIVITY_CREATED | WebhookTypeEnum.CONNECTOR_VERSION_PUBLISHED;
10546
10648
  interface Webhook {
10547
10649
  type: WebhookType;
10548
10650
  url: string;
@@ -10578,14 +10680,19 @@ interface Alert {
10578
10680
  }
10579
10681
 
10580
10682
  declare enum WorkspaceSyncEventType {
10581
- ElementUpdate = "element-update"
10683
+ ElementUpdate = "element-update",
10684
+ Connected = "connected"
10582
10685
  }
10583
- interface WorkspaceSyncEvent {
10584
- type: WorkspaceSyncEventType;
10686
+ type WorkspaceSyncEvent = {
10687
+ type: WorkspaceSyncEventType.ElementUpdate;
10585
10688
  elementType: WorkspaceElementType;
10586
10689
  elementId: string;
10587
10690
  data?: any;
10588
- }
10691
+ } | {
10692
+ type: WorkspaceSyncEventType.Connected;
10693
+ message: string;
10694
+ timestamp?: string;
10695
+ };
10589
10696
  declare enum ConnectorFileUpdateType {
10590
10697
  ConnectorFileUpdated = "connector-file-updated",
10591
10698
  ConnectorFileDeleted = "connector-file-deleted",
@@ -10836,8 +10943,8 @@ declare const AgentSession: z.ZodObject<{
10836
10943
  }, z.core.$strip>;
10837
10944
  type AgentSession = z.infer<typeof AgentSession>;
10838
10945
  declare const CreateAgentSession: z.ZodObject<{
10839
- workspaceElementType: z.ZodEnum<typeof WorkspaceElementType>;
10840
- workspaceElementId: z.ZodString;
10946
+ workspaceElementType: z.ZodOptional<z.ZodEnum<typeof WorkspaceElementType>>;
10947
+ workspaceElementId: z.ZodOptional<z.ZodString>;
10841
10948
  prompt: z.ZodString;
10842
10949
  testCustomerId: z.ZodOptional<z.ZodString>;
10843
10950
  }, z.core.$strip>;
@@ -10902,5 +11009,5 @@ declare class MembraneClient extends MembraneApiClient {
10902
11009
  connectionRequest(connectionId: string, uri: string, data?: any): Promise<any>;
10903
11010
  }
10904
11011
 
10905
- export { ACTIONS, AccessDeniedError, AccountResponse, ActionAccessor, ActionApiResponse, ActionDependency, ActionDependencyType, ActionEditableProperties, ActionExportProperties, ActionInstanceAccessor, ActionInstanceApiResponse, ActionInstanceSetupError, ActionInstancesAccessor, ActionRunError, ActionRunLogRecordApiResponse, ActionRunLogStatus, ActionRunResponse, ActionType, ActionsAccessor, AgentSession, AgentSessionInputSchema, AgentSessionStatus, AlertSeverity, AlertStatus, AlertType, ApiRequestSpec, AppDataSchemaAccessor, AppDataSchemaApiResponse, AppDataSchemaInstanceAccessor, AppDataSchemaInstanceApiResponse, AppDataSchemaInstancesAccessor, AppDataSchemasAccessor, AppEventLogRecordApiResponse, AppEventSubscriptionAccessor, AppEventSubscriptionApiResponse, AppEventSubscriptionsAccessor, AppEventTypeAccessor, AppEventTypeApiResponse, AppEventTypesAccessor, AppPublicKey, AppSchema, AppliedToIntegrations, BackwardCompatibleDataSourceEditableProperties, 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, BaseIntegrationLevelMembraneInterfaceExportProperties, BaseIntegrationLevelMembraneInterfaceReadOnlyProperties, BaseMembraneInterface, BaseMembraneInterfaceEditableProperties, BaseMembraneInterfaceReadOnlyProperties, BasePackage, BaseScreen, BaseWorkspaceElement, 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, ConnectorDataCollectionEventImplementationType, ConnectorDataCollectionMethodKeys, ConnectorDataLocationTypes, ConnectorEventHandlerMethods, ConnectorEventImplementationType, ConnectorFileUpdateType, ConnectorMethodImplementationType, ConnectorOperationMethodImplementationTypes, ConnectorStatus, CreateActionInstanceRequest, CreateActionRequest, CreateAgentSession, CreateConnectionRequest, CreateCustomerRequest, CreateDataSourceInstanceRequest, CreateDataSourceRequest, CreateFieldMappingRequest, CreateFlowNodeRequest, CreateFlowRequest, CreateFlowRunRequest, CreateIntegrationRequest, CreatePackageRequest, 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, DataSourceExportProperties, DataSourceInstanceAccessor, DataSourceInstanceApiResponse, DataSourceInstancesAccessor, DataSourceUnitConfig, DataSourcesAccessor, DependencyError, DownstreamFlowNodeRunSchema, EDITABLE_LIMITS, ElementAccessor, ElementInstanceAccessor, ElementInstanceListAccessor, ElementListAccessor, ElementsExportFields, EngineWorkspaceSettingsSchema, ErrorData, ErrorDataSchema, ErrorType, ExternalEvent, ExternalEventLogRecordApiResponse, ExternalEventLogStatus, ExternalEventPullApiResponse, ExternalEventPullStatus, ExternalEventSubscriptionAccessor, ExternalEventSubscriptionApiResponse, ExternalEventSubscriptionConfig, ExternalEventSubscriptionStatus, ExternalEventSubscriptionType, ExternalEventSubscriptionsAccessor, ExternalEventType, ExternalEventUnitConfig, FLOW_NODE_SPECS, FieldMappingAccessor, FieldMappingApiResponse, FieldMappingDirection, FieldMappingEditableProperties, FieldMappingExportProperties, 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, FlowExportProperties, 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, FullPlatformUser, HTTP_REQUEST_SCHEMA, HandyScenarioTemplateElement, HttpRequestMethod, HttpRequestSpec, IncludeArchivedQuery, IncomingWebhooksState, InsufficientCreditsError, IntegrationAccessor, IntegrationApiResponse, MembraneClient as IntegrationAppClient, IntegrationAuthOption, IntegrationAuthUi, IntegrationElementLevel, IntegrationElementType, IntegrationExportProperties, IntegrationLevelActionAccessor, IntegrationLevelActionsListAccessor, IntegrationLevelDataSourceAccessor, IntegrationLevelDataSourcesListAccessor, IntegrationLevelFieldMappingAccessor, IntegrationLevelFieldMappingsListAccessor, IntegrationLevelFlowAccessor, IntegrationLevelFlowsListAccessor, IntegrationLevelMembraneInterfaceSelectorQuery, IntegrationsAccessor, InternalError, InvalidLocatorError, LimitUnits, ListActionInstancesForConnectionQuery, ListDataSourceInstancesForConnectionQuery, ListExternalEventLogRecordsQuery, ListExternalEventPullsQuery, ListFlowInstancesForConnectionQuery, LogRecordType, MEMBRANE_ELEMENT_CONFIG_FILE_NAME, MIN_FULL_SYNC_INTERVAL_SECONDS, MIN_PULL_UPDATES_INTERVAL_SECONDS, MembraneAgentKey, axios as MembraneAxiosInstance, MembraneClient, MembraneError, MinimalConnector, NotAuthenticatedError, NotFoundError, OAUTH1_CONFIG_SCHEMA, OAUTH_CONFIG_SCHEMA, OrgLimits, OrgLimitsType, OrgSchema, OrgUserRole, OrgUserStatus, OrgWorkspaceSchema, OrgWorkspaceUser, PARALLEL_EXECUTION_LIMITS, PackageAccessor, PackageApiResponse, PackageCalculatedProperties, PackageEditableProperties, PackageElement, PackageElementApi, PackageElementExport, PackageExportProperties, PackagesAccessor, PaginationQuery, PaginationResponse, ParallelExecutionLimits, PlatformUserSchema, RATE_LIMITS, RateLimitExceededError, RateLimits, ResetFlowInstanceOptions, RunActionRequest, RunFlowApiRequest, 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, UpdatePackageRequest, UpstreamFlowNodeRunSchema, UsageType, UserAccessor, UsersAccessor, WORKSPACE_SIZE_LIMITS, WebhookTypeEnum, WorkspaceElementChangeType, WorkspaceElementDependencyType, WorkspaceElementSpecs, WorkspaceElementState, WorkspaceElementType, WorkspaceEventType, WorkspaceLimitsSchema, WorkspaceNotificationType, WorkspaceOnboardingStep, WorkspaceSizeLimits, WorkspaceSyncEventType, WorkspaceType, __resolveValue, addRequiredFieldsToSchema, addUdmFallbackFields, backwardCompatibleFilterMatch, buildData, buildDataSchema, buildValue, compareWorkspaceExports, 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, 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, getMembraneElementPath, 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, injectFormulaCatalog, isBusinessDay, isDataActionType, isDataLocationMethodSupported, isFormula$1 as isFormula, isFormula as isFormula_internalDoNotUse, isMembraneError, isObject, isSameDataLocation, isSchemaEmpty, isStream, isValidLocator, locatorToField, locatorToSteps, locatorToString, makeDataLocationOperationPath, makeDataLocationPath, makeDataRecordSchema, makeObjectPropertyLocator, makeSchemaForLocator, mergeSchemas, mergeWithFormulas, nonEmptyObjectProperties, parseDataLocationPath, parseDate, parseMembraneElementPath, 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 };
10906
- export type { Action, ActionInstance, ActionInstanceSelector, ActionRunLogRecord, ActionSelector, ActionSpec, AgentSessionInput, Alert, App, AppCategory, AppDataSchema, AppDataSchemaInstance, AppDataSchemaInstanceSelector, AppEvent, AppEventSubscription, AppEventSubscriptionCreateRequest, AppEventSubscriptionSelector, AppEventSubscriptionUpdateRequest, AppEventType, BaseConnector, BaseElementInstance, CaseFormulaValue, CaseFormulaValueItem, ConfigurationStateResult, Connection, ConnectionUiSpec, Connector, ConnectorApiType, ConnectorAuth, ConnectorAuthClientCredentials, ConnectorAuthHandlerBase, ConnectorAuthIntegrationAppToken, ConnectorAuthMembraneToken, ConnectorAuthOAuth1, ConnectorAuthOAuth1Config, ConnectorAuthOAuth2, ConnectorAuthOAuth2Config, ConnectorAuthOAuthConfig, ConnectorAuthProxy, ConnectorAuthSpec, ConnectorAuthType, 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, CopilotActivityNotificationData, 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, LogRecord, LookupValue, MapFormulaValue, MappingItem, OpenActionConfigurationOptions, OpenDataSourceConfigurationOptions, OpenFieldMappingInstanceConfigurationOptions, OpenFlowInstanceConfigurationOptions, OpenFlowInstanceEditorOptions, OpenFlowRunEditorOptions, OpenNewConnectionOptions, OpenapiMapping, OperationListItem, OperationMapping, OperationRunRequest, OperationRunResponse, OperationSpec, Org, OrgUser, OrgWorkspace, Package, 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, WorkspaceElementChange, WorkspaceElementDependency, WorkspaceElementReference, WorkspaceElementSpec, WorkspaceElements, WorkspaceExportComparison, WorkspaceLimit, WorkspaceLimits, WorkspaceNotification, WorkspaceSyncEvent, WorkspaceUpdate, WorkspaceUser };
11012
+ export { ACTIONS, AccessDeniedError, AccountResponse, ActionAccessor, ActionApiResponse, ActionDependency, ActionDependencyType, ActionEditableProperties, ActionExportProperties, ActionInstanceAccessor, ActionInstanceApiResponse, ActionInstanceSetupError, ActionInstancesAccessor, ActionRunError, ActionRunLogRecordApiResponse, ActionRunLogStatus, ActionRunResponse, ActionType, ActionsAccessor, AgentSession, AgentSessionInputSchema, AgentSessionStatus, AlertSeverity, AlertStatus, AlertType, ApiRequestSpec, AppDataSchemaAccessor, AppDataSchemaApiResponse, AppDataSchemaEditableProperties, AppDataSchemaExportProperties, AppDataSchemaInstanceAccessor, AppDataSchemaInstanceApiResponse, AppDataSchemaInstancesAccessor, AppDataSchemasAccessor, AppEventLogRecordApiResponse, AppEventSubscriptionAccessor, AppEventSubscriptionApiResponse, AppEventSubscriptionsAccessor, AppEventTypeAccessor, AppEventTypeApiResponse, AppEventTypeEditableProperties, AppEventTypeExportProperties, AppEventTypesAccessor, AppSchema, AppliedToIntegrations, BackwardCompatibleDataSourceEditableProperties, 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, BaseIntegrationLevelMembraneInterfaceExportProperties, BaseIntegrationLevelMembraneInterfaceReadOnlyProperties, BaseMembraneInterface, BaseMembraneInterfaceEditableProperties, BaseMembraneInterfaceReadOnlyProperties, BasePackage, BaseScreen, BaseWorkspaceElement, 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, ConnectorDataCollectionEventImplementationType, ConnectorDataCollectionMethodKeys, ConnectorDataLocationTypes, ConnectorEventHandlerMethods, ConnectorEventImplementationType, ConnectorFileUpdateType, ConnectorMethodImplementationType, ConnectorOperationMethodImplementationTypes, ConnectorStatus, CreateActionInstanceRequest, CreateActionRequest, CreateAgentSession, CreateConnectionRequest, CreateCustomerRequest, CreateDataLinkTableRequest, CreateDataSourceInstanceRequest, CreateDataSourceRequest, CreateFieldMappingRequest, CreateFlowNodeRequest, CreateFlowRequest, CreateFlowRunRequest, CreateIntegrationRequest, CreatePackageRequest, 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, DataLinkTableEditableProperties, DataLinkTableExportProperties, DataLinkTableInstanceAccessor, DataLinkTableInstanceApiResponse, DataLinkTableInstancesAccessor, DataLinkTablesAccessor, DataLocationMethodImplementationTypes, DataLocationTypeCollection, DataLocatorStep, DataLocatorStepArrayItem, DataLocatorStepObjectProperty, DataLocatorStepType, DataRecordSchema, DataSchema, DataSourceAccessor, DataSourceApiResponse, DataSourceEditableProperties, DataSourceExportProperties, DataSourceInstanceAccessor, DataSourceInstanceApiResponse, DataSourceInstancesAccessor, DataSourceUnitConfig, DataSourcesAccessor, DependencyError, DownstreamFlowNodeRunSchema, EDITABLE_LIMITS, ElementAccessor, ElementInstanceAccessor, ElementInstanceListAccessor, ElementListAccessor, ElementsExportFields, EngineWorkspaceSettingsSchema, ErrorData, ErrorDataSchema, ErrorType, ExternalEvent, ExternalEventLogRecordApiResponse, ExternalEventLogStatus, ExternalEventPullApiResponse, ExternalEventPullStatus, ExternalEventSubscriptionAccessor, ExternalEventSubscriptionApiResponse, ExternalEventSubscriptionConfig, ExternalEventSubscriptionStatus, ExternalEventSubscriptionType, ExternalEventSubscriptionsAccessor, ExternalEventType, ExternalEventUnitConfig, FLOW_NODE_SPECS, FieldMappingAccessor, FieldMappingApiResponse, FieldMappingDirection, FieldMappingEditableProperties, FieldMappingExportProperties, FieldMappingInstanceAccessor, FieldMappingInstanceApiResponse, FieldMappingInstancesAccessor, FieldMappingUnitConfig, FieldMappingsAccessor, FindActionInstancesQuery, FindActionsQuery, FindConnectionsQuery, FindConnectionsResponse, FindCustomersQuery, FindDataLinkTablesQuery, FindDataSourceEventsQuery, FindDataSourceInstanceSyncsQuery, FindDataSourceInstancesQuery, FindDataSourceSyncsQuery, FindDataSourcesQuery, FindFieldMappingsQuery, FindFlowInstancesQuery, FindFlowRunsQuery, FindFlowRunsResponse, FindFlowsQuery, FindIntegrationLevelMembraneInterfaceQuery, FindIntegrationsQuery, FindPackagesQuery, FlowAccessor, FlowApiResponse, FlowEditableProperties, FlowExportProperties, 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, FullPlatformUser, HTTP_REQUEST_SCHEMA, HandyScenarioTemplateElement, HttpRequestMethod, HttpRequestSpec, IncludeArchivedQuery, IncomingWebhooksState, InsufficientCreditsError, IntegrationAccessor, IntegrationApiResponse, MembraneClient as IntegrationAppClient, IntegrationAppError, IntegrationAuthOption, IntegrationAuthUi, IntegrationElementLevel, IntegrationElementType, IntegrationExportProperties, IntegrationLevelActionAccessor, IntegrationLevelActionsListAccessor, IntegrationLevelDataSourceAccessor, IntegrationLevelDataSourcesListAccessor, IntegrationLevelFieldMappingAccessor, IntegrationLevelFieldMappingsListAccessor, IntegrationLevelFlowAccessor, IntegrationLevelFlowsListAccessor, IntegrationLevelMembraneInterfaceSelectorQuery, IntegrationsAccessor, InternalError, InvalidLocatorError, LimitUnits, ListActionInstancesForConnectionQuery, ListDataSourceInstancesForConnectionQuery, ListExternalEventLogRecordsQuery, ListExternalEventPullsQuery, ListFlowInstancesForConnectionQuery, LogRecordType, MEMBRANE_ELEMENT_CONFIG_FILE_NAME, MIN_FULL_SYNC_INTERVAL_SECONDS, MIN_PULL_UPDATES_INTERVAL_SECONDS, MembraneAgentKey, axios as MembraneAxiosInstance, MembraneClient, MembraneError, MinimalConnector, NotAuthenticatedError, NotFoundError, OAUTH1_CONFIG_SCHEMA, OAUTH_CONFIG_SCHEMA, OrgLimits, OrgLimitsType, OrgSchema, OrgUserRole, OrgUserStatus, OrgWorkspaceSchema, OrgWorkspaceUser, PARALLEL_EXECUTION_LIMITS, PackageAccessor, PackageApiResponse, PackageCalculatedProperties, PackageEditableProperties, PackageElement, PackageElementApi, PackageElementExport, PackageExportProperties, PackagesAccessor, PaginationQuery, PaginationResponse, ParallelExecutionLimits, PlatformUserSchema, RATE_LIMITS, RateLimitExceededError, RateLimits, ResetFlowInstanceOptions, RunActionRequest, RunFlowApiRequest, ScenarioAccessor, ScenarioTemplate, ScenarioTemplateCategory, ScenarioTemplateElements, ScenariosAccessor, ScreenAccessor, ScreenApiResponse, ScreenBlock, ScreenBlockType, ScreenType, ScreensAccessor, SearchQuery, SelfAccessor, UDM, UNIFIED_DATA_MODELS, UnitRunError, UpdateActionInstanceRequest, UpdateActionRequest, UpdateConnectionRequest, UpdateCustomerRequest, UpdateDataLinkTableRequest, UpdateDataSourceInstanceRequest, UpdateDataSourceRequest, UpdateFieldMappingRequest, UpdateFlowRequest, UpdateIntegrationRequest, UpdatePackageRequest, UpstreamFlowNodeRunSchema, UsageType, UserAccessor, UsersAccessor, WORKSPACE_SIZE_LIMITS, WebhookTypeEnum, WorkspaceElementChangeType, WorkspaceElementDependencyType, WorkspaceElementSpecs, WorkspaceElementState, WorkspaceElementType, WorkspaceEventType, WorkspaceLimitsSchema, WorkspaceNotificationType, WorkspaceOnboardingStep, WorkspacePublicKey, WorkspaceSizeLimits, WorkspaceSyncEventType, WorkspaceType, __resolveValue, addRequiredFieldsToSchema, addUdmFallbackFields, backwardCompatibleFilterMatch, buildData, buildDataSchema, buildValue, compareWorkspaceExports, 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, getDownstreamNodeKeys, getElementSelector, getErrorFromData, getEventMethodFileKey, getFilterFieldValuesByLocator, getFlowInstanceNodeDependency, getFlowNode, getFlowNodeConfigTimeVariablesSchema, getFlowNodeDescription, getFlowNodeRunTimeVariablesSchema, getFlowNodeSpec, getFlowNodeTitle, getFormula$1 as getFormula, getFormulaLocators, getFormula as getFormula_internalDoNotUse, getFullNameForLocator, getFullTitleForLocator, getIconUriForLocator, getLocatorsFromData, getLocatorsFromSchema, getMembraneElementPath, 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, injectFormulaCatalog, isBusinessDay, isDataActionType, isDataLocationMethodSupported, isFormula$1 as isFormula, isFormula as isFormula_internalDoNotUse, isMembraneError, isObject, isSameDataLocation, isSchemaEmpty, isStream, isValidLocator, locatorToField, locatorToSteps, locatorToString, makeDataLocationOperationPath, makeDataLocationPath, makeDataRecordSchema, makeObjectPropertyLocator, makeSchemaForLocator, mergeSchemas, mergeWithFormulas, nonEmptyObjectProperties, parseDataLocationPath, parseDate, parseMembraneElementPath, 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 };
11013
+ export type { Action, ActionInstance, ActionInstanceSelector, ActionRunLogRecord, ActionSelector, ActionSpec, AgentSessionInput, Alert, App, AppCategory, AppDataSchema, AppDataSchemaInstance, AppDataSchemaInstanceSelector, AppEvent, AppEventSubscription, AppEventSubscriptionCreateRequest, AppEventSubscriptionSelector, AppEventSubscriptionUpdateRequest, AppEventType, BaseConnector, BaseElementInstance, CaseFormulaValue, CaseFormulaValueItem, ConfigurationStateResult, Connection, ConnectionUiSpec, Connector, ConnectorApiType, ConnectorAuth, ConnectorAuthClientCredentials, ConnectorAuthHandlerBase, ConnectorAuthIntegrationAppToken, ConnectorAuthMembraneToken, ConnectorAuthOAuth1, ConnectorAuthOAuth1Config, ConnectorAuthOAuth2, ConnectorAuthOAuth2Config, ConnectorAuthOAuthConfig, ConnectorAuthProxy, ConnectorAuthSpec, ConnectorAuthType, 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, CopilotActivityNotificationData, CreateAppDataSchemaInstanceRequest, CreateAppDataSchemaRequest, CreateAppEventSubscriptionRequest, CreateAppEventTypeRequest, CreateDataLinkRequest, CreateDataLinkTableInstanceRequest, 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, 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, LogRecord, LookupValue, MapFormulaValue, MappingItem, OpenActionConfigurationOptions, OpenDataSourceConfigurationOptions, OpenFieldMappingInstanceConfigurationOptions, OpenFlowInstanceConfigurationOptions, OpenFlowInstanceEditorOptions, OpenFlowRunEditorOptions, OpenNewConnectionOptions, OpenapiMapping, OperationListItem, OperationMapping, OperationRunRequest, OperationRunResponse, OperationSpec, Org, OrgUser, OrgWorkspace, Package, 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, UpdateFieldMappingInstanceRequest, UpdateFlowInstanceRequest, UpdateScenarioTemplateRequest, UpdateScreenRequest, UpdateUserRequest, UpstreamFlowNodeRun, UsageEntry, UsageWithCredits, User, UserSelector, UserWorkspaceSettings, ValueToSchemaOptions, Webhook, WebhookType, WithExecutionLogs, WorkspaceElementCalculateStateResult, WorkspaceElementChange, WorkspaceElementDependency, WorkspaceElementReference, WorkspaceElementSpec, WorkspaceElements, WorkspaceExport, WorkspaceExportComparison, WorkspaceLimit, WorkspaceLimits, WorkspaceNotification, WorkspaceSyncEvent, WorkspaceUpdate, WorkspaceUser };