@membranehq/sdk 0.18.0 → 0.18.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (31) hide show
  1. package/dist/bundle.d.ts +2 -0
  2. package/dist/bundle.js +6 -1
  3. package/dist/bundle.js.map +1 -1
  4. package/dist/dts/alerts/types.d.ts +14 -0
  5. package/dist/dts/orgs/types.d.ts +2 -0
  6. package/dist/dts/workspace-elements/api/connections-api.d.ts +0 -1
  7. package/dist/dts/workspace-elements/api/connectors-api.d.ts +1 -0
  8. package/dist/dts/workspace-elements/api/customers-api.d.ts +1 -0
  9. package/dist/dts/workspace-elements/api/external-apps-api.d.ts +1 -0
  10. package/dist/dts/workspace-elements/api/integrations-api.d.ts +1 -0
  11. package/dist/dts/workspace-elements/base/app-data-schemas/index.d.ts +4 -5
  12. package/dist/dts/workspace-elements/base/connectors/index.d.ts +6 -7
  13. package/dist/dts/workspace-elements/base/data-link-tables/index.d.ts +0 -1
  14. package/dist/dts/workspace-elements/base/data-sources/index.d.ts +0 -2
  15. package/dist/dts/workspace-elements/base/field-mappings/index.d.ts +0 -3
  16. package/dist/dts/workspace-elements/base/flows/index.d.ts +0 -2
  17. package/dist/dts/workspace-elements/base/integrations/index.d.ts +8 -10
  18. package/dist/dts/workspaces/types.d.ts +7 -1
  19. package/dist/index.browser.d.mts +45 -32
  20. package/dist/index.browser.d.ts +45 -32
  21. package/dist/index.browser.js +32 -6
  22. package/dist/index.browser.js.map +1 -1
  23. package/dist/index.browser.mjs +32 -6
  24. package/dist/index.browser.mjs.map +1 -1
  25. package/dist/index.node.d.mts +45 -32
  26. package/dist/index.node.d.ts +45 -32
  27. package/dist/index.node.js +32 -6
  28. package/dist/index.node.js.map +1 -1
  29. package/dist/index.node.mjs +32 -6
  30. package/dist/index.node.mjs.map +1 -1
  31. package/package.json +1 -1
@@ -464,9 +464,6 @@ declare const FieldMappingExportProperties: z.ZodObject<{
464
464
  parentUuid: z.ZodOptional<z.ZodString>;
465
465
  isUniversal: z.ZodOptional<z.ZodBoolean>;
466
466
  isCustomized: z.ZodOptional<z.ZodBoolean>;
467
- fieldMappingId: z.ZodOptional<z.ZodString>;
468
- universalFieldMappingId: z.ZodOptional<z.ZodString>;
469
- dataSourceId: z.ZodOptional<z.ZodString>;
470
467
  dataSourceUuid: z.ZodOptional<z.ZodString>;
471
468
  dataSourceKey: z.ZodOptional<z.ZodString>;
472
469
  appSchema: z.ZodOptional<z.ZodType<DataSchema, unknown, z.core.$ZodTypeInternals<DataSchema, unknown>>>;
@@ -6741,12 +6738,6 @@ declare const WriteableConnectorFields: z.ZodObject<{
6741
6738
  }, z.core.$strip>;
6742
6739
  declare const ConnectorExportProperties: z.ZodObject<{
6743
6740
  key: z.ZodOptional<z.ZodString>;
6744
- name: z.ZodOptional<z.ZodString>;
6745
- logoUri: z.ZodOptional<z.ZodString>;
6746
- externalAppId: z.ZodOptional<z.ZodString>;
6747
- externalAppUuid: z.ZodOptional<z.ZodString>;
6748
- appUuid: z.ZodOptional<z.ZodString>;
6749
- categories: z.ZodOptional<z.ZodArray<z.ZodString>>;
6750
6741
  type: z.ZodOptional<z.ZodEnum<{
6751
6742
  proxy: "proxy";
6752
6743
  "integration-app-token": "integration-app-token";
@@ -6755,6 +6746,8 @@ declare const ConnectorExportProperties: z.ZodObject<{
6755
6746
  oauth1: "oauth1";
6756
6747
  "client-credentials": "client-credentials";
6757
6748
  }>>;
6749
+ name: z.ZodOptional<z.ZodString>;
6750
+ uuid: z.ZodOptional<z.ZodString>;
6758
6751
  options: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
6759
6752
  type: z.ZodOptional<z.ZodEnum<{
6760
6753
  proxy: "proxy";
@@ -6884,6 +6877,7 @@ declare const ConnectorExportProperties: z.ZodObject<{
6884
6877
  javascript: "javascript";
6885
6878
  }>>;
6886
6879
  }, z.core.$loose>>;
6880
+ logoUri: z.ZodOptional<z.ZodString>;
6887
6881
  getOAuthConfig: z.ZodOptional<z.ZodObject<{
6888
6882
  type: z.ZodOptional<z.ZodEnum<{
6889
6883
  mapping: "mapping";
@@ -6930,7 +6924,9 @@ declare const ConnectorExportProperties: z.ZodObject<{
6930
6924
  }>>;
6931
6925
  }, z.core.$loose>>;
6932
6926
  proxyKey: z.ZodOptional<z.ZodString>;
6933
- uuid: z.ZodOptional<z.ZodString>;
6927
+ appUuid: z.ZodOptional<z.ZodString>;
6928
+ categories: z.ZodOptional<z.ZodArray<z.ZodString>>;
6929
+ externalAppUuid: z.ZodOptional<z.ZodString>;
6934
6930
  }, z.core.$strip>;
6935
6931
  type ConnectorExportProperties = z.infer<typeof ConnectorExportProperties>;
6936
6932
  interface ConnectorVersionExport {
@@ -10315,8 +10311,6 @@ declare const DataSourceExportProperties: z.ZodObject<{
10315
10311
  isUniversal: z.ZodOptional<z.ZodBoolean>;
10316
10312
  isCustomized: z.ZodOptional<z.ZodBoolean>;
10317
10313
  udm: z.ZodOptional<z.ZodString>;
10318
- dataSourceId: z.ZodOptional<z.ZodString>;
10319
- universalDataSourceId: z.ZodOptional<z.ZodString>;
10320
10314
  pullUpdatesIntervalSeconds: z.ZodOptional<z.ZodNumber>;
10321
10315
  fullSyncIntervalSeconds: z.ZodOptional<z.ZodNumber>;
10322
10316
  collectionKey: z.ZodOptional<z.ZodString>;
@@ -11017,8 +11011,6 @@ declare const FlowExportProperties: z.ZodObject<{
11017
11011
  parameters: z.ZodOptional<z.ZodAny>;
11018
11012
  parametersSchema: z.ZodOptional<z.ZodType<DataSchema, unknown, z.core.$ZodTypeInternals<DataSchema, unknown>>>;
11019
11013
  enabled: z.ZodOptional<z.ZodBoolean>;
11020
- flowId: z.ZodOptional<z.ZodString>;
11021
- universalFlowId: z.ZodOptional<z.ZodString>;
11022
11014
  nodes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
11023
11015
  type: z.ZodOptional<z.ZodString>;
11024
11016
  version: z.ZodOptional<z.ZodNumber>;
@@ -11328,26 +11320,24 @@ declare const IntegrationEditableProperties: z.ZodObject<{
11328
11320
  }, z.core.$strip>;
11329
11321
  type IntegrationEditableProperties = z.infer<typeof IntegrationEditableProperties>;
11330
11322
  declare const IntegrationExportProperties: z.ZodObject<{
11331
- uuid: z.ZodOptional<z.ZodString>;
11332
11323
  key: z.ZodOptional<z.ZodString>;
11333
- name: z.ZodOptional<z.ZodString>;
11334
11324
  description: z.ZodOptional<z.ZodString>;
11325
+ name: z.ZodOptional<z.ZodString>;
11326
+ uuid: z.ZodOptional<z.ZodString>;
11335
11327
  meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
11328
+ parameters: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
11336
11329
  logoUri: z.ZodOptional<z.ZodString>;
11337
- externalAppId: z.ZodOptional<z.ZodString>;
11338
- externalAppUuid: z.ZodOptional<z.ZodString>;
11339
11330
  appUuid: z.ZodOptional<z.ZodString>;
11340
- oAuthCallbackUri: z.ZodOptional<z.ZodUnion<[z.ZodURL, z.ZodLiteral<"">]>>;
11341
- logoBase64: z.ZodOptional<z.ZodString>;
11342
11331
  connectorVersion: z.ZodOptional<z.ZodString>;
11343
- connectorId: z.ZodOptional<z.ZodString>;
11344
- connectorUuid: z.ZodOptional<z.ZodString>;
11345
- connectorKey: z.ZodOptional<z.ZodString>;
11346
- parameters: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
11332
+ oAuthCallbackUri: z.ZodOptional<z.ZodUnion<[z.ZodURL, z.ZodLiteral<"">]>>;
11333
+ externalAppUuid: z.ZodOptional<z.ZodString>;
11347
11334
  optionsConfig: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
11348
11335
  disabled: z.ZodOptional<z.ZodBoolean>;
11349
11336
  parameters: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
11350
11337
  }, z.core.$strip>>>;
11338
+ logoBase64: z.ZodOptional<z.ZodString>;
11339
+ connectorUuid: z.ZodOptional<z.ZodString>;
11340
+ connectorKey: z.ZodOptional<z.ZodString>;
11351
11341
  }, z.core.$strip>;
11352
11342
  type IntegrationExportProperties = z.infer<typeof IntegrationExportProperties>;
11353
11343
  type IntegrationAuthOptionLegacy = ConnectorAuthSpec & {
@@ -11591,7 +11581,6 @@ declare const DataLinkTableExportProperties: z.ZodObject<{
11591
11581
  name: z.ZodOptional<z.ZodString>;
11592
11582
  uuid: z.ZodOptional<z.ZodString>;
11593
11583
  meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
11594
- dataLinkTableId: z.ZodOptional<z.ZodString>;
11595
11584
  }, z.core.$strip>;
11596
11585
  type DataLinkTableExportProperties = z.infer<typeof DataLinkTableExportProperties>;
11597
11586
  declare const BaseDataLinkTable: z.ZodObject<{
@@ -11759,15 +11748,14 @@ declare const AppDataSchemaEditableProperties: z.ZodObject<{
11759
11748
  }, z.core.$strip>;
11760
11749
  type AppDataSchemaEditableProperties = z.infer<typeof AppDataSchemaEditableProperties>;
11761
11750
  declare const AppDataSchemaExportProperties: z.ZodObject<{
11762
- uuid: z.ZodOptional<z.ZodString>;
11763
11751
  key: z.ZodOptional<z.ZodString>;
11764
- name: z.ZodOptional<z.ZodString>;
11752
+ code: z.ZodOptional<z.ZodString>;
11765
11753
  description: z.ZodOptional<z.ZodString>;
11766
- meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
11767
11754
  instanceKey: z.ZodOptional<z.ZodString>;
11768
- appDataSchemaId: z.ZodOptional<z.ZodString>;
11755
+ name: z.ZodOptional<z.ZodString>;
11756
+ uuid: z.ZodOptional<z.ZodString>;
11757
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
11769
11758
  schema: z.ZodOptional<z.ZodAny>;
11770
- code: z.ZodOptional<z.ZodString>;
11771
11759
  }, z.core.$strip>;
11772
11760
  type AppDataSchemaExportProperties = z.infer<typeof AppDataSchemaExportProperties>;
11773
11761
  declare const BaseAppDataSchema: z.ZodObject<{
@@ -12382,7 +12370,6 @@ type UpdateConnectionRequest = z.infer<typeof UpdateConnectionRequest>;
12382
12370
  declare const ConnectionExportProperties: z.ZodObject<{
12383
12371
  name: z.ZodOptional<z.ZodString>;
12384
12372
  meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
12385
- externalAppId: z.ZodOptional<z.ZodString>;
12386
12373
  authOptionKey: z.ZodOptional<z.ZodString>;
12387
12374
  externalAppUuid: z.ZodOptional<z.ZodString>;
12388
12375
  }, z.core.$strip>;
@@ -15746,6 +15733,7 @@ declare const FindIntegrationsQuery: z.ZodObject<{
15746
15733
  limit: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
15747
15734
  cursor: z.ZodOptional<z.ZodString>;
15748
15735
  search: z.ZodOptional<z.ZodString>;
15736
+ includeArchived: z.ZodOptional<z.ZodPipe<z.ZodTransform<boolean, unknown>, z.ZodBoolean>>;
15749
15737
  }, z.core.$strip>;
15750
15738
  type FindIntegrationsQuery = z.infer<typeof FindIntegrationsQuery>;
15751
15739
  interface FindIntegrationsResponse extends PaginationResponse<IntegrationApiResponse> {
@@ -17069,6 +17057,7 @@ declare const FindCustomersQuery: z.ZodObject<{
17069
17057
  limit: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
17070
17058
  cursor: z.ZodOptional<z.ZodString>;
17071
17059
  search: z.ZodOptional<z.ZodString>;
17060
+ includeArchived: z.ZodOptional<z.ZodPipe<z.ZodTransform<boolean, unknown>, z.ZodBoolean>>;
17072
17061
  }, z.core.$strip>;
17073
17062
  type FindCustomersQuery = z.infer<typeof FindCustomersQuery>;
17074
17063
  declare const CustomerSelector: z.ZodObject<{
@@ -18606,6 +18595,7 @@ type ActionRunLogRecord = ActionRunLogRecordApiResponse;
18606
18595
  declare const ListPublicConnectorsQuery: z.ZodObject<{
18607
18596
  limit: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
18608
18597
  cursor: z.ZodOptional<z.ZodString>;
18598
+ includeArchived: z.ZodOptional<z.ZodPipe<z.ZodTransform<boolean, unknown>, z.ZodBoolean>>;
18609
18599
  search: z.ZodOptional<z.ZodString>;
18610
18600
  }, z.core.$strip>;
18611
18601
  type ListPublicConnectorsQuery = z.infer<typeof ListPublicConnectorsQuery>;
@@ -18613,6 +18603,7 @@ type ListPublicConnectorsQuery = z.infer<typeof ListPublicConnectorsQuery>;
18613
18603
  declare const ListExternalAppsQuery: z.ZodObject<{
18614
18604
  limit: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
18615
18605
  cursor: z.ZodOptional<z.ZodString>;
18606
+ includeArchived: z.ZodOptional<z.ZodPipe<z.ZodTransform<boolean, unknown>, z.ZodBoolean>>;
18616
18607
  search: z.ZodOptional<z.ZodString>;
18617
18608
  category: z.ZodOptional<z.ZodString>;
18618
18609
  isConnected: z.ZodOptional<z.ZodPipe<z.ZodTransform<boolean, unknown>, z.ZodBoolean>>;
@@ -20083,6 +20074,8 @@ declare enum AlertType {
20083
20074
  totalNumberOfWorkspaceElements = "totalNumberOfWorkspaceElements",
20084
20075
  instantTasksQueueSize = "instantTasksQueueSize",
20085
20076
  queuedTasksQueueSize = "queuedTasksQueueSize",
20077
+ flowRunsQueueSizePerConnection = "flowRunsQueueSizePerConnection",
20078
+ eventsProcessingQueueSizePerConnection = "eventsProcessingQueueSizePerConnection",
20086
20079
  parallelApiRequests = "parallelApiRequests",
20087
20080
  testAlert = "testAlert"
20088
20081
  }
@@ -20117,6 +20110,8 @@ declare const ALERT_TYPE_CATEGORIES: {
20117
20110
  readonly totalNumberOfWorkspaceElements: AlertCategory.WORKSPACE_SIZE;
20118
20111
  readonly instantTasksQueueSize: AlertCategory.WORKSPACE_SIZE;
20119
20112
  readonly queuedTasksQueueSize: AlertCategory.WORKSPACE_SIZE;
20113
+ readonly flowRunsQueueSizePerConnection: AlertCategory.WORKSPACE_SIZE;
20114
+ readonly eventsProcessingQueueSizePerConnection: AlertCategory.WORKSPACE_SIZE;
20120
20115
  readonly parallelApiRequests: AlertCategory.RATE_LIMIT;
20121
20116
  };
20122
20117
  type AlertsByCategory<C extends AlertCategory> = {
@@ -20158,6 +20153,8 @@ declare const Alert: z.ZodObject<{
20158
20153
  totalNumberOfWorkspaceElements: AlertType.totalNumberOfWorkspaceElements;
20159
20154
  instantTasksQueueSize: AlertType.instantTasksQueueSize;
20160
20155
  queuedTasksQueueSize: AlertType.queuedTasksQueueSize;
20156
+ flowRunsQueueSizePerConnection: AlertType.flowRunsQueueSizePerConnection;
20157
+ eventsProcessingQueueSizePerConnection: AlertType.eventsProcessingQueueSizePerConnection;
20161
20158
  parallelApiRequests: AlertType.parallelApiRequests;
20162
20159
  testAlert: AlertType.testAlert;
20163
20160
  }>;
@@ -20205,6 +20202,8 @@ declare const AlertSchema: z.ZodObject<{
20205
20202
  totalNumberOfWorkspaceElements: AlertType.totalNumberOfWorkspaceElements;
20206
20203
  instantTasksQueueSize: AlertType.instantTasksQueueSize;
20207
20204
  queuedTasksQueueSize: AlertType.queuedTasksQueueSize;
20205
+ flowRunsQueueSizePerConnection: AlertType.flowRunsQueueSizePerConnection;
20206
+ eventsProcessingQueueSizePerConnection: AlertType.eventsProcessingQueueSizePerConnection;
20208
20207
  parallelApiRequests: AlertType.parallelApiRequests;
20209
20208
  testAlert: AlertType.testAlert;
20210
20209
  }>;
@@ -20261,6 +20260,8 @@ declare const AlertDeliverySettingsSchema: z.ZodObject<{
20261
20260
  totalNumberOfWorkspaceElements: AlertType.totalNumberOfWorkspaceElements;
20262
20261
  instantTasksQueueSize: AlertType.instantTasksQueueSize;
20263
20262
  queuedTasksQueueSize: AlertType.queuedTasksQueueSize;
20263
+ flowRunsQueueSizePerConnection: AlertType.flowRunsQueueSizePerConnection;
20264
+ eventsProcessingQueueSizePerConnection: AlertType.eventsProcessingQueueSizePerConnection;
20264
20265
  parallelApiRequests: AlertType.parallelApiRequests;
20265
20266
  testAlert: AlertType.testAlert;
20266
20267
  }>, z.ZodOptional<z.ZodObject<{
@@ -20309,6 +20310,8 @@ declare const FindAlertsQuery: z.ZodObject<{
20309
20310
  totalNumberOfWorkspaceElements: AlertType.totalNumberOfWorkspaceElements;
20310
20311
  instantTasksQueueSize: AlertType.instantTasksQueueSize;
20311
20312
  queuedTasksQueueSize: AlertType.queuedTasksQueueSize;
20313
+ flowRunsQueueSizePerConnection: AlertType.flowRunsQueueSizePerConnection;
20314
+ eventsProcessingQueueSizePerConnection: AlertType.eventsProcessingQueueSizePerConnection;
20312
20315
  parallelApiRequests: AlertType.parallelApiRequests;
20313
20316
  testAlert: AlertType.testAlert;
20314
20317
  }>>;
@@ -20342,6 +20345,8 @@ declare const CreateAlert: z.ZodObject<{
20342
20345
  totalNumberOfWorkspaceElements: AlertType.totalNumberOfWorkspaceElements;
20343
20346
  instantTasksQueueSize: AlertType.instantTasksQueueSize;
20344
20347
  queuedTasksQueueSize: AlertType.queuedTasksQueueSize;
20348
+ flowRunsQueueSizePerConnection: AlertType.flowRunsQueueSizePerConnection;
20349
+ eventsProcessingQueueSizePerConnection: AlertType.eventsProcessingQueueSizePerConnection;
20345
20350
  parallelApiRequests: AlertType.parallelApiRequests;
20346
20351
  testAlert: AlertType.testAlert;
20347
20352
  }>;
@@ -20412,7 +20417,9 @@ declare enum WorkspaceSizeLimits {
20412
20417
  TotalNumberOfConnections = "totalNumberOfConnections",
20413
20418
  TotalNumberOfWorkspaceElements = "totalNumberOfWorkspaceElements",
20414
20419
  InstantTasksQueueSize = "instantTasksQueueSize",
20415
- QueuedTasksQueueSize = "queuedTasksQueueSize"
20420
+ QueuedTasksQueueSize = "queuedTasksQueueSize",
20421
+ FlowRunsQueueSizePerConnection = "flowRunsQueueSizePerConnection",
20422
+ EventsProcessingQueueSizePerConnection = "eventsProcessingQueueSizePerConnection"
20416
20423
  }
20417
20424
  declare enum CustomerLimits {
20418
20425
  ParallelApiRequestsPerCustomer = "parallelApiRequestsPerCustomer",
@@ -20912,6 +20919,8 @@ declare const AppSchema: z$1.ZodObject<{
20912
20919
  totalNumberOfWorkspaceElements: AlertType.totalNumberOfWorkspaceElements;
20913
20920
  instantTasksQueueSize: AlertType.instantTasksQueueSize;
20914
20921
  queuedTasksQueueSize: AlertType.queuedTasksQueueSize;
20922
+ flowRunsQueueSizePerConnection: AlertType.flowRunsQueueSizePerConnection;
20923
+ eventsProcessingQueueSizePerConnection: AlertType.eventsProcessingQueueSizePerConnection;
20915
20924
  parallelApiRequests: AlertType.parallelApiRequests;
20916
20925
  testAlert: AlertType.testAlert;
20917
20926
  }>, z$1.ZodOptional<z$1.ZodObject<{
@@ -21177,6 +21186,8 @@ declare const Workspace: z$1.ZodObject<{
21177
21186
  totalNumberOfWorkspaceElements: AlertType.totalNumberOfWorkspaceElements;
21178
21187
  instantTasksQueueSize: AlertType.instantTasksQueueSize;
21179
21188
  queuedTasksQueueSize: AlertType.queuedTasksQueueSize;
21189
+ flowRunsQueueSizePerConnection: AlertType.flowRunsQueueSizePerConnection;
21190
+ eventsProcessingQueueSizePerConnection: AlertType.eventsProcessingQueueSizePerConnection;
21180
21191
  parallelApiRequests: AlertType.parallelApiRequests;
21181
21192
  testAlert: AlertType.testAlert;
21182
21193
  }>, z$1.ZodOptional<z$1.ZodObject<{
@@ -21925,6 +21936,8 @@ declare const AccountResponse: z.ZodObject<{
21925
21936
  totalNumberOfWorkspaceElements: AlertType.totalNumberOfWorkspaceElements;
21926
21937
  instantTasksQueueSize: AlertType.instantTasksQueueSize;
21927
21938
  queuedTasksQueueSize: AlertType.queuedTasksQueueSize;
21939
+ flowRunsQueueSizePerConnection: AlertType.flowRunsQueueSizePerConnection;
21940
+ eventsProcessingQueueSizePerConnection: AlertType.eventsProcessingQueueSizePerConnection;
21928
21941
  parallelApiRequests: AlertType.parallelApiRequests;
21929
21942
  testAlert: AlertType.testAlert;
21930
21943
  }>, z.ZodOptional<z.ZodObject<{
@@ -464,9 +464,6 @@ declare const FieldMappingExportProperties: z.ZodObject<{
464
464
  parentUuid: z.ZodOptional<z.ZodString>;
465
465
  isUniversal: z.ZodOptional<z.ZodBoolean>;
466
466
  isCustomized: z.ZodOptional<z.ZodBoolean>;
467
- fieldMappingId: z.ZodOptional<z.ZodString>;
468
- universalFieldMappingId: z.ZodOptional<z.ZodString>;
469
- dataSourceId: z.ZodOptional<z.ZodString>;
470
467
  dataSourceUuid: z.ZodOptional<z.ZodString>;
471
468
  dataSourceKey: z.ZodOptional<z.ZodString>;
472
469
  appSchema: z.ZodOptional<z.ZodType<DataSchema, unknown, z.core.$ZodTypeInternals<DataSchema, unknown>>>;
@@ -6741,12 +6738,6 @@ declare const WriteableConnectorFields: z.ZodObject<{
6741
6738
  }, z.core.$strip>;
6742
6739
  declare const ConnectorExportProperties: z.ZodObject<{
6743
6740
  key: z.ZodOptional<z.ZodString>;
6744
- name: z.ZodOptional<z.ZodString>;
6745
- logoUri: z.ZodOptional<z.ZodString>;
6746
- externalAppId: z.ZodOptional<z.ZodString>;
6747
- externalAppUuid: z.ZodOptional<z.ZodString>;
6748
- appUuid: z.ZodOptional<z.ZodString>;
6749
- categories: z.ZodOptional<z.ZodArray<z.ZodString>>;
6750
6741
  type: z.ZodOptional<z.ZodEnum<{
6751
6742
  proxy: "proxy";
6752
6743
  "integration-app-token": "integration-app-token";
@@ -6755,6 +6746,8 @@ declare const ConnectorExportProperties: z.ZodObject<{
6755
6746
  oauth1: "oauth1";
6756
6747
  "client-credentials": "client-credentials";
6757
6748
  }>>;
6749
+ name: z.ZodOptional<z.ZodString>;
6750
+ uuid: z.ZodOptional<z.ZodString>;
6758
6751
  options: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
6759
6752
  type: z.ZodOptional<z.ZodEnum<{
6760
6753
  proxy: "proxy";
@@ -6884,6 +6877,7 @@ declare const ConnectorExportProperties: z.ZodObject<{
6884
6877
  javascript: "javascript";
6885
6878
  }>>;
6886
6879
  }, z.core.$loose>>;
6880
+ logoUri: z.ZodOptional<z.ZodString>;
6887
6881
  getOAuthConfig: z.ZodOptional<z.ZodObject<{
6888
6882
  type: z.ZodOptional<z.ZodEnum<{
6889
6883
  mapping: "mapping";
@@ -6930,7 +6924,9 @@ declare const ConnectorExportProperties: z.ZodObject<{
6930
6924
  }>>;
6931
6925
  }, z.core.$loose>>;
6932
6926
  proxyKey: z.ZodOptional<z.ZodString>;
6933
- uuid: z.ZodOptional<z.ZodString>;
6927
+ appUuid: z.ZodOptional<z.ZodString>;
6928
+ categories: z.ZodOptional<z.ZodArray<z.ZodString>>;
6929
+ externalAppUuid: z.ZodOptional<z.ZodString>;
6934
6930
  }, z.core.$strip>;
6935
6931
  type ConnectorExportProperties = z.infer<typeof ConnectorExportProperties>;
6936
6932
  interface ConnectorVersionExport {
@@ -10315,8 +10311,6 @@ declare const DataSourceExportProperties: z.ZodObject<{
10315
10311
  isUniversal: z.ZodOptional<z.ZodBoolean>;
10316
10312
  isCustomized: z.ZodOptional<z.ZodBoolean>;
10317
10313
  udm: z.ZodOptional<z.ZodString>;
10318
- dataSourceId: z.ZodOptional<z.ZodString>;
10319
- universalDataSourceId: z.ZodOptional<z.ZodString>;
10320
10314
  pullUpdatesIntervalSeconds: z.ZodOptional<z.ZodNumber>;
10321
10315
  fullSyncIntervalSeconds: z.ZodOptional<z.ZodNumber>;
10322
10316
  collectionKey: z.ZodOptional<z.ZodString>;
@@ -11017,8 +11011,6 @@ declare const FlowExportProperties: z.ZodObject<{
11017
11011
  parameters: z.ZodOptional<z.ZodAny>;
11018
11012
  parametersSchema: z.ZodOptional<z.ZodType<DataSchema, unknown, z.core.$ZodTypeInternals<DataSchema, unknown>>>;
11019
11013
  enabled: z.ZodOptional<z.ZodBoolean>;
11020
- flowId: z.ZodOptional<z.ZodString>;
11021
- universalFlowId: z.ZodOptional<z.ZodString>;
11022
11014
  nodes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
11023
11015
  type: z.ZodOptional<z.ZodString>;
11024
11016
  version: z.ZodOptional<z.ZodNumber>;
@@ -11328,26 +11320,24 @@ declare const IntegrationEditableProperties: z.ZodObject<{
11328
11320
  }, z.core.$strip>;
11329
11321
  type IntegrationEditableProperties = z.infer<typeof IntegrationEditableProperties>;
11330
11322
  declare const IntegrationExportProperties: z.ZodObject<{
11331
- uuid: z.ZodOptional<z.ZodString>;
11332
11323
  key: z.ZodOptional<z.ZodString>;
11333
- name: z.ZodOptional<z.ZodString>;
11334
11324
  description: z.ZodOptional<z.ZodString>;
11325
+ name: z.ZodOptional<z.ZodString>;
11326
+ uuid: z.ZodOptional<z.ZodString>;
11335
11327
  meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
11328
+ parameters: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
11336
11329
  logoUri: z.ZodOptional<z.ZodString>;
11337
- externalAppId: z.ZodOptional<z.ZodString>;
11338
- externalAppUuid: z.ZodOptional<z.ZodString>;
11339
11330
  appUuid: z.ZodOptional<z.ZodString>;
11340
- oAuthCallbackUri: z.ZodOptional<z.ZodUnion<[z.ZodURL, z.ZodLiteral<"">]>>;
11341
- logoBase64: z.ZodOptional<z.ZodString>;
11342
11331
  connectorVersion: z.ZodOptional<z.ZodString>;
11343
- connectorId: z.ZodOptional<z.ZodString>;
11344
- connectorUuid: z.ZodOptional<z.ZodString>;
11345
- connectorKey: z.ZodOptional<z.ZodString>;
11346
- parameters: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
11332
+ oAuthCallbackUri: z.ZodOptional<z.ZodUnion<[z.ZodURL, z.ZodLiteral<"">]>>;
11333
+ externalAppUuid: z.ZodOptional<z.ZodString>;
11347
11334
  optionsConfig: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
11348
11335
  disabled: z.ZodOptional<z.ZodBoolean>;
11349
11336
  parameters: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
11350
11337
  }, z.core.$strip>>>;
11338
+ logoBase64: z.ZodOptional<z.ZodString>;
11339
+ connectorUuid: z.ZodOptional<z.ZodString>;
11340
+ connectorKey: z.ZodOptional<z.ZodString>;
11351
11341
  }, z.core.$strip>;
11352
11342
  type IntegrationExportProperties = z.infer<typeof IntegrationExportProperties>;
11353
11343
  type IntegrationAuthOptionLegacy = ConnectorAuthSpec & {
@@ -11591,7 +11581,6 @@ declare const DataLinkTableExportProperties: z.ZodObject<{
11591
11581
  name: z.ZodOptional<z.ZodString>;
11592
11582
  uuid: z.ZodOptional<z.ZodString>;
11593
11583
  meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
11594
- dataLinkTableId: z.ZodOptional<z.ZodString>;
11595
11584
  }, z.core.$strip>;
11596
11585
  type DataLinkTableExportProperties = z.infer<typeof DataLinkTableExportProperties>;
11597
11586
  declare const BaseDataLinkTable: z.ZodObject<{
@@ -11759,15 +11748,14 @@ declare const AppDataSchemaEditableProperties: z.ZodObject<{
11759
11748
  }, z.core.$strip>;
11760
11749
  type AppDataSchemaEditableProperties = z.infer<typeof AppDataSchemaEditableProperties>;
11761
11750
  declare const AppDataSchemaExportProperties: z.ZodObject<{
11762
- uuid: z.ZodOptional<z.ZodString>;
11763
11751
  key: z.ZodOptional<z.ZodString>;
11764
- name: z.ZodOptional<z.ZodString>;
11752
+ code: z.ZodOptional<z.ZodString>;
11765
11753
  description: z.ZodOptional<z.ZodString>;
11766
- meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
11767
11754
  instanceKey: z.ZodOptional<z.ZodString>;
11768
- appDataSchemaId: z.ZodOptional<z.ZodString>;
11755
+ name: z.ZodOptional<z.ZodString>;
11756
+ uuid: z.ZodOptional<z.ZodString>;
11757
+ meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
11769
11758
  schema: z.ZodOptional<z.ZodAny>;
11770
- code: z.ZodOptional<z.ZodString>;
11771
11759
  }, z.core.$strip>;
11772
11760
  type AppDataSchemaExportProperties = z.infer<typeof AppDataSchemaExportProperties>;
11773
11761
  declare const BaseAppDataSchema: z.ZodObject<{
@@ -12382,7 +12370,6 @@ type UpdateConnectionRequest = z.infer<typeof UpdateConnectionRequest>;
12382
12370
  declare const ConnectionExportProperties: z.ZodObject<{
12383
12371
  name: z.ZodOptional<z.ZodString>;
12384
12372
  meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
12385
- externalAppId: z.ZodOptional<z.ZodString>;
12386
12373
  authOptionKey: z.ZodOptional<z.ZodString>;
12387
12374
  externalAppUuid: z.ZodOptional<z.ZodString>;
12388
12375
  }, z.core.$strip>;
@@ -15746,6 +15733,7 @@ declare const FindIntegrationsQuery: z.ZodObject<{
15746
15733
  limit: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
15747
15734
  cursor: z.ZodOptional<z.ZodString>;
15748
15735
  search: z.ZodOptional<z.ZodString>;
15736
+ includeArchived: z.ZodOptional<z.ZodPipe<z.ZodTransform<boolean, unknown>, z.ZodBoolean>>;
15749
15737
  }, z.core.$strip>;
15750
15738
  type FindIntegrationsQuery = z.infer<typeof FindIntegrationsQuery>;
15751
15739
  interface FindIntegrationsResponse extends PaginationResponse<IntegrationApiResponse> {
@@ -17069,6 +17057,7 @@ declare const FindCustomersQuery: z.ZodObject<{
17069
17057
  limit: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
17070
17058
  cursor: z.ZodOptional<z.ZodString>;
17071
17059
  search: z.ZodOptional<z.ZodString>;
17060
+ includeArchived: z.ZodOptional<z.ZodPipe<z.ZodTransform<boolean, unknown>, z.ZodBoolean>>;
17072
17061
  }, z.core.$strip>;
17073
17062
  type FindCustomersQuery = z.infer<typeof FindCustomersQuery>;
17074
17063
  declare const CustomerSelector: z.ZodObject<{
@@ -18606,6 +18595,7 @@ type ActionRunLogRecord = ActionRunLogRecordApiResponse;
18606
18595
  declare const ListPublicConnectorsQuery: z.ZodObject<{
18607
18596
  limit: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
18608
18597
  cursor: z.ZodOptional<z.ZodString>;
18598
+ includeArchived: z.ZodOptional<z.ZodPipe<z.ZodTransform<boolean, unknown>, z.ZodBoolean>>;
18609
18599
  search: z.ZodOptional<z.ZodString>;
18610
18600
  }, z.core.$strip>;
18611
18601
  type ListPublicConnectorsQuery = z.infer<typeof ListPublicConnectorsQuery>;
@@ -18613,6 +18603,7 @@ type ListPublicConnectorsQuery = z.infer<typeof ListPublicConnectorsQuery>;
18613
18603
  declare const ListExternalAppsQuery: z.ZodObject<{
18614
18604
  limit: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
18615
18605
  cursor: z.ZodOptional<z.ZodString>;
18606
+ includeArchived: z.ZodOptional<z.ZodPipe<z.ZodTransform<boolean, unknown>, z.ZodBoolean>>;
18616
18607
  search: z.ZodOptional<z.ZodString>;
18617
18608
  category: z.ZodOptional<z.ZodString>;
18618
18609
  isConnected: z.ZodOptional<z.ZodPipe<z.ZodTransform<boolean, unknown>, z.ZodBoolean>>;
@@ -20083,6 +20074,8 @@ declare enum AlertType {
20083
20074
  totalNumberOfWorkspaceElements = "totalNumberOfWorkspaceElements",
20084
20075
  instantTasksQueueSize = "instantTasksQueueSize",
20085
20076
  queuedTasksQueueSize = "queuedTasksQueueSize",
20077
+ flowRunsQueueSizePerConnection = "flowRunsQueueSizePerConnection",
20078
+ eventsProcessingQueueSizePerConnection = "eventsProcessingQueueSizePerConnection",
20086
20079
  parallelApiRequests = "parallelApiRequests",
20087
20080
  testAlert = "testAlert"
20088
20081
  }
@@ -20117,6 +20110,8 @@ declare const ALERT_TYPE_CATEGORIES: {
20117
20110
  readonly totalNumberOfWorkspaceElements: AlertCategory.WORKSPACE_SIZE;
20118
20111
  readonly instantTasksQueueSize: AlertCategory.WORKSPACE_SIZE;
20119
20112
  readonly queuedTasksQueueSize: AlertCategory.WORKSPACE_SIZE;
20113
+ readonly flowRunsQueueSizePerConnection: AlertCategory.WORKSPACE_SIZE;
20114
+ readonly eventsProcessingQueueSizePerConnection: AlertCategory.WORKSPACE_SIZE;
20120
20115
  readonly parallelApiRequests: AlertCategory.RATE_LIMIT;
20121
20116
  };
20122
20117
  type AlertsByCategory<C extends AlertCategory> = {
@@ -20158,6 +20153,8 @@ declare const Alert: z.ZodObject<{
20158
20153
  totalNumberOfWorkspaceElements: AlertType.totalNumberOfWorkspaceElements;
20159
20154
  instantTasksQueueSize: AlertType.instantTasksQueueSize;
20160
20155
  queuedTasksQueueSize: AlertType.queuedTasksQueueSize;
20156
+ flowRunsQueueSizePerConnection: AlertType.flowRunsQueueSizePerConnection;
20157
+ eventsProcessingQueueSizePerConnection: AlertType.eventsProcessingQueueSizePerConnection;
20161
20158
  parallelApiRequests: AlertType.parallelApiRequests;
20162
20159
  testAlert: AlertType.testAlert;
20163
20160
  }>;
@@ -20205,6 +20202,8 @@ declare const AlertSchema: z.ZodObject<{
20205
20202
  totalNumberOfWorkspaceElements: AlertType.totalNumberOfWorkspaceElements;
20206
20203
  instantTasksQueueSize: AlertType.instantTasksQueueSize;
20207
20204
  queuedTasksQueueSize: AlertType.queuedTasksQueueSize;
20205
+ flowRunsQueueSizePerConnection: AlertType.flowRunsQueueSizePerConnection;
20206
+ eventsProcessingQueueSizePerConnection: AlertType.eventsProcessingQueueSizePerConnection;
20208
20207
  parallelApiRequests: AlertType.parallelApiRequests;
20209
20208
  testAlert: AlertType.testAlert;
20210
20209
  }>;
@@ -20261,6 +20260,8 @@ declare const AlertDeliverySettingsSchema: z.ZodObject<{
20261
20260
  totalNumberOfWorkspaceElements: AlertType.totalNumberOfWorkspaceElements;
20262
20261
  instantTasksQueueSize: AlertType.instantTasksQueueSize;
20263
20262
  queuedTasksQueueSize: AlertType.queuedTasksQueueSize;
20263
+ flowRunsQueueSizePerConnection: AlertType.flowRunsQueueSizePerConnection;
20264
+ eventsProcessingQueueSizePerConnection: AlertType.eventsProcessingQueueSizePerConnection;
20264
20265
  parallelApiRequests: AlertType.parallelApiRequests;
20265
20266
  testAlert: AlertType.testAlert;
20266
20267
  }>, z.ZodOptional<z.ZodObject<{
@@ -20309,6 +20310,8 @@ declare const FindAlertsQuery: z.ZodObject<{
20309
20310
  totalNumberOfWorkspaceElements: AlertType.totalNumberOfWorkspaceElements;
20310
20311
  instantTasksQueueSize: AlertType.instantTasksQueueSize;
20311
20312
  queuedTasksQueueSize: AlertType.queuedTasksQueueSize;
20313
+ flowRunsQueueSizePerConnection: AlertType.flowRunsQueueSizePerConnection;
20314
+ eventsProcessingQueueSizePerConnection: AlertType.eventsProcessingQueueSizePerConnection;
20312
20315
  parallelApiRequests: AlertType.parallelApiRequests;
20313
20316
  testAlert: AlertType.testAlert;
20314
20317
  }>>;
@@ -20342,6 +20345,8 @@ declare const CreateAlert: z.ZodObject<{
20342
20345
  totalNumberOfWorkspaceElements: AlertType.totalNumberOfWorkspaceElements;
20343
20346
  instantTasksQueueSize: AlertType.instantTasksQueueSize;
20344
20347
  queuedTasksQueueSize: AlertType.queuedTasksQueueSize;
20348
+ flowRunsQueueSizePerConnection: AlertType.flowRunsQueueSizePerConnection;
20349
+ eventsProcessingQueueSizePerConnection: AlertType.eventsProcessingQueueSizePerConnection;
20345
20350
  parallelApiRequests: AlertType.parallelApiRequests;
20346
20351
  testAlert: AlertType.testAlert;
20347
20352
  }>;
@@ -20412,7 +20417,9 @@ declare enum WorkspaceSizeLimits {
20412
20417
  TotalNumberOfConnections = "totalNumberOfConnections",
20413
20418
  TotalNumberOfWorkspaceElements = "totalNumberOfWorkspaceElements",
20414
20419
  InstantTasksQueueSize = "instantTasksQueueSize",
20415
- QueuedTasksQueueSize = "queuedTasksQueueSize"
20420
+ QueuedTasksQueueSize = "queuedTasksQueueSize",
20421
+ FlowRunsQueueSizePerConnection = "flowRunsQueueSizePerConnection",
20422
+ EventsProcessingQueueSizePerConnection = "eventsProcessingQueueSizePerConnection"
20416
20423
  }
20417
20424
  declare enum CustomerLimits {
20418
20425
  ParallelApiRequestsPerCustomer = "parallelApiRequestsPerCustomer",
@@ -20912,6 +20919,8 @@ declare const AppSchema: z$1.ZodObject<{
20912
20919
  totalNumberOfWorkspaceElements: AlertType.totalNumberOfWorkspaceElements;
20913
20920
  instantTasksQueueSize: AlertType.instantTasksQueueSize;
20914
20921
  queuedTasksQueueSize: AlertType.queuedTasksQueueSize;
20922
+ flowRunsQueueSizePerConnection: AlertType.flowRunsQueueSizePerConnection;
20923
+ eventsProcessingQueueSizePerConnection: AlertType.eventsProcessingQueueSizePerConnection;
20915
20924
  parallelApiRequests: AlertType.parallelApiRequests;
20916
20925
  testAlert: AlertType.testAlert;
20917
20926
  }>, z$1.ZodOptional<z$1.ZodObject<{
@@ -21177,6 +21186,8 @@ declare const Workspace: z$1.ZodObject<{
21177
21186
  totalNumberOfWorkspaceElements: AlertType.totalNumberOfWorkspaceElements;
21178
21187
  instantTasksQueueSize: AlertType.instantTasksQueueSize;
21179
21188
  queuedTasksQueueSize: AlertType.queuedTasksQueueSize;
21189
+ flowRunsQueueSizePerConnection: AlertType.flowRunsQueueSizePerConnection;
21190
+ eventsProcessingQueueSizePerConnection: AlertType.eventsProcessingQueueSizePerConnection;
21180
21191
  parallelApiRequests: AlertType.parallelApiRequests;
21181
21192
  testAlert: AlertType.testAlert;
21182
21193
  }>, z$1.ZodOptional<z$1.ZodObject<{
@@ -21925,6 +21936,8 @@ declare const AccountResponse: z.ZodObject<{
21925
21936
  totalNumberOfWorkspaceElements: AlertType.totalNumberOfWorkspaceElements;
21926
21937
  instantTasksQueueSize: AlertType.instantTasksQueueSize;
21927
21938
  queuedTasksQueueSize: AlertType.queuedTasksQueueSize;
21939
+ flowRunsQueueSizePerConnection: AlertType.flowRunsQueueSizePerConnection;
21940
+ eventsProcessingQueueSizePerConnection: AlertType.eventsProcessingQueueSizePerConnection;
21928
21941
  parallelApiRequests: AlertType.parallelApiRequests;
21929
21942
  testAlert: AlertType.testAlert;
21930
21943
  }>, z.ZodOptional<z.ZodObject<{