@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.
- package/dist/bundle.d.ts +2 -0
- package/dist/bundle.js +6 -1
- package/dist/bundle.js.map +1 -1
- package/dist/dts/alerts/types.d.ts +14 -0
- package/dist/dts/orgs/types.d.ts +2 -0
- package/dist/dts/workspace-elements/api/connections-api.d.ts +0 -1
- package/dist/dts/workspace-elements/api/connectors-api.d.ts +1 -0
- package/dist/dts/workspace-elements/api/customers-api.d.ts +1 -0
- package/dist/dts/workspace-elements/api/external-apps-api.d.ts +1 -0
- package/dist/dts/workspace-elements/api/integrations-api.d.ts +1 -0
- package/dist/dts/workspace-elements/base/app-data-schemas/index.d.ts +4 -5
- package/dist/dts/workspace-elements/base/connectors/index.d.ts +6 -7
- package/dist/dts/workspace-elements/base/data-link-tables/index.d.ts +0 -1
- package/dist/dts/workspace-elements/base/data-sources/index.d.ts +0 -2
- package/dist/dts/workspace-elements/base/field-mappings/index.d.ts +0 -3
- package/dist/dts/workspace-elements/base/flows/index.d.ts +0 -2
- package/dist/dts/workspace-elements/base/integrations/index.d.ts +8 -10
- package/dist/dts/workspaces/types.d.ts +7 -1
- package/dist/index.browser.d.mts +45 -32
- package/dist/index.browser.d.ts +45 -32
- package/dist/index.browser.js +32 -6
- package/dist/index.browser.js.map +1 -1
- package/dist/index.browser.mjs +32 -6
- package/dist/index.browser.mjs.map +1 -1
- package/dist/index.node.d.mts +45 -32
- package/dist/index.node.d.ts +45 -32
- package/dist/index.node.js +32 -6
- package/dist/index.node.js.map +1 -1
- package/dist/index.node.mjs +32 -6
- package/dist/index.node.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.browser.d.ts
CHANGED
|
@@ -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
|
-
|
|
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
|
-
|
|
11344
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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<{
|
package/dist/index.browser.js
CHANGED
|
@@ -3766,6 +3766,9 @@ const FieldMappingEditableProperties = BaseIntegrationLevelMembraneInterfaceEdit
|
|
|
3766
3766
|
}).extend(FieldMappingSpecificProperties.shape);
|
|
3767
3767
|
const FieldMappingExportProperties = BaseIntegrationLevelMembraneInterfaceExportProperties.extend(FieldMappingSpecificProperties.shape).omit({
|
|
3768
3768
|
connectionId: true,
|
|
3769
|
+
fieldMappingId: true,
|
|
3770
|
+
universalFieldMappingId: true,
|
|
3771
|
+
dataSourceId: true,
|
|
3769
3772
|
});
|
|
3770
3773
|
const FieldMappingReadOnlyProperties = BaseIntegrationLevelMembraneInterfaceReadOnlyProperties.extend({
|
|
3771
3774
|
...TenantLayerElement.partial().shape,
|
|
@@ -9175,6 +9178,8 @@ const WriteableConnectorFields = z.z
|
|
|
9175
9178
|
.extend(WritableConnectorVersionData.shape);
|
|
9176
9179
|
const ConnectorExportProperties = WriteableConnectorFields.extend({
|
|
9177
9180
|
uuid: z.z.string().optional(),
|
|
9181
|
+
}).omit({
|
|
9182
|
+
externalAppId: true,
|
|
9178
9183
|
});
|
|
9179
9184
|
const UpdateConnectorRequest = WriteableConnectorFields;
|
|
9180
9185
|
const CreateConnectorRequest = WriteableConnectorFields.extend({
|
|
@@ -9236,6 +9241,8 @@ const DataSourceExportProperties = BaseIntegrationLevelMembraneInterfaceExportPr
|
|
|
9236
9241
|
})
|
|
9237
9242
|
.omit({
|
|
9238
9243
|
connectionId: true,
|
|
9244
|
+
dataSourceId: true,
|
|
9245
|
+
universalDataSourceId: true,
|
|
9239
9246
|
});
|
|
9240
9247
|
const DataSourceReadOnlyProperties = BaseIntegrationLevelMembraneInterfaceReadOnlyProperties.extend({
|
|
9241
9248
|
...TenantLayerElement.partial().shape,
|
|
@@ -9726,6 +9733,8 @@ const FlowEditableProperties = BaseIntegrationLevelMembraneInterfaceEditableProp
|
|
|
9726
9733
|
}).extend(FlowSpecificProperties.shape);
|
|
9727
9734
|
const FlowExportProperties = BaseIntegrationLevelMembraneInterfaceExportProperties.extend(FlowSpecificProperties.shape).omit({
|
|
9728
9735
|
connectionId: true,
|
|
9736
|
+
flowId: true,
|
|
9737
|
+
universalFlowId: true,
|
|
9729
9738
|
});
|
|
9730
9739
|
const FlowReadOnlyProperties = BaseIntegrationLevelMembraneInterfaceReadOnlyProperties.extend({
|
|
9731
9740
|
...TenantLayerElement.partial().shape,
|
|
@@ -9847,7 +9856,10 @@ const IntegrationEditableProperties = BaseMembraneInterfaceEditableProperties.ex
|
|
|
9847
9856
|
parameters: z.z.record(z.z.string(), z.z.any()).optional(),
|
|
9848
9857
|
optionsConfig: IntegrationOptions.optional(),
|
|
9849
9858
|
});
|
|
9850
|
-
const IntegrationExportProperties = IntegrationEditableProperties
|
|
9859
|
+
const IntegrationExportProperties = IntegrationEditableProperties.omit({
|
|
9860
|
+
connectorId: true,
|
|
9861
|
+
externalAppId: true,
|
|
9862
|
+
});
|
|
9851
9863
|
const AppliedToIntegrations = (elementSchema) => z.z.array(z.z.object({
|
|
9852
9864
|
element: elementSchema,
|
|
9853
9865
|
integration: BaseIntegration,
|
|
@@ -9946,6 +9958,7 @@ const DataLinkTableSpecificProperties = z.z.object({
|
|
|
9946
9958
|
const DataLinkTableEditableProperties = BaseMembraneInterfaceEditableProperties.extend(DataLinkTableSpecificProperties.shape);
|
|
9947
9959
|
const DataLinkTableExportProperties = BaseMembraneInterfaceEditableProperties.extend(DataLinkTableSpecificProperties.shape).omit({
|
|
9948
9960
|
connectionId: true,
|
|
9961
|
+
dataLinkTableId: true,
|
|
9949
9962
|
});
|
|
9950
9963
|
const DataLinkTableReadOnlyProperties = BaseMembraneInterfaceReadOnlyProperties.extend({
|
|
9951
9964
|
...TenantLayerElement.partial().shape,
|
|
@@ -10043,7 +10056,9 @@ const AppDataSchemaSpecificProperties = z.z.object({
|
|
|
10043
10056
|
code: z.z.string().optional(),
|
|
10044
10057
|
});
|
|
10045
10058
|
const AppDataSchemaEditableProperties = BaseMembraneInterfaceEditableProperties.extend(AppDataSchemaSpecificProperties.shape);
|
|
10046
|
-
const AppDataSchemaExportProperties = AppDataSchemaEditableProperties.
|
|
10059
|
+
const AppDataSchemaExportProperties = AppDataSchemaEditableProperties.omit({
|
|
10060
|
+
appDataSchemaId: true,
|
|
10061
|
+
});
|
|
10047
10062
|
const AppDataSchemaReadOnlyProperties = BaseMembraneInterfaceReadOnlyProperties.extend({
|
|
10048
10063
|
...TenantLayerElement.partial().shape,
|
|
10049
10064
|
appDataSchemaRevision: z.z.string().optional(),
|
|
@@ -10373,6 +10388,7 @@ const ConnectionExportProperties = ConnectionEditableProperties.omit({
|
|
|
10373
10388
|
credentials: true,
|
|
10374
10389
|
connectorParameters: true,
|
|
10375
10390
|
input: true,
|
|
10391
|
+
externalAppId: true,
|
|
10376
10392
|
});
|
|
10377
10393
|
const ConnectionTestResponse = z.z.object({
|
|
10378
10394
|
success: z.z.boolean(),
|
|
@@ -10456,7 +10472,7 @@ const ConnectUIOptions = ConnectPayload.omit({ input: true, redirectUri: true })
|
|
|
10456
10472
|
theme: z.z.enum(['light', 'dark', 'auto']).optional(),
|
|
10457
10473
|
});
|
|
10458
10474
|
|
|
10459
|
-
const ListPublicConnectorsQuery = PaginationQuery.extend({
|
|
10475
|
+
const ListPublicConnectorsQuery = PaginationQuery.merge(IncludeArchivedQuery).extend({
|
|
10460
10476
|
search: z.z.string().optional(),
|
|
10461
10477
|
});
|
|
10462
10478
|
|
|
@@ -10534,7 +10550,7 @@ const FindDataSourceInstanceSyncsQuery = ListDataSourceInstancesForConnectionQue
|
|
|
10534
10550
|
dataSourceInstanceId: z.z.string().optional(),
|
|
10535
10551
|
});
|
|
10536
10552
|
|
|
10537
|
-
const ListExternalAppsQuery = PaginationQuery.extend({
|
|
10553
|
+
const ListExternalAppsQuery = PaginationQuery.merge(IncludeArchivedQuery).extend({
|
|
10538
10554
|
search: z.z.string().optional(),
|
|
10539
10555
|
category: z.z
|
|
10540
10556
|
.string()
|
|
@@ -10687,7 +10703,8 @@ const FindIntegrationsQuery = z.z
|
|
|
10687
10703
|
appUuid: z.z.string().optional(),
|
|
10688
10704
|
})
|
|
10689
10705
|
.merge(PaginationQuery)
|
|
10690
|
-
.merge(SearchQuery)
|
|
10706
|
+
.merge(SearchQuery)
|
|
10707
|
+
.merge(IncludeArchivedQuery);
|
|
10691
10708
|
const IntegrationAuthUi = z.z.object({
|
|
10692
10709
|
schema: z.z.any().optional(),
|
|
10693
10710
|
helpUri: z.z.string().optional(),
|
|
@@ -10794,7 +10811,8 @@ const FindCustomersQuery = z.z
|
|
|
10794
10811
|
}),
|
|
10795
10812
|
})
|
|
10796
10813
|
.merge(PaginationQuery)
|
|
10797
|
-
.merge(SearchQuery)
|
|
10814
|
+
.merge(SearchQuery)
|
|
10815
|
+
.merge(IncludeArchivedQuery);
|
|
10798
10816
|
const CustomerSelector = z.z.object({ id: z.z.string() });
|
|
10799
10817
|
const CustomerApiResponse = BaseCustomer;
|
|
10800
10818
|
const TenantSelfResponse = BaseCustomer.extend({
|
|
@@ -12760,6 +12778,8 @@ exports.AlertType = void 0;
|
|
|
12760
12778
|
AlertType["totalNumberOfWorkspaceElements"] = "totalNumberOfWorkspaceElements";
|
|
12761
12779
|
AlertType["instantTasksQueueSize"] = "instantTasksQueueSize";
|
|
12762
12780
|
AlertType["queuedTasksQueueSize"] = "queuedTasksQueueSize";
|
|
12781
|
+
AlertType["flowRunsQueueSizePerConnection"] = "flowRunsQueueSizePerConnection";
|
|
12782
|
+
AlertType["eventsProcessingQueueSizePerConnection"] = "eventsProcessingQueueSizePerConnection";
|
|
12763
12783
|
AlertType["parallelApiRequests"] = "parallelApiRequests";
|
|
12764
12784
|
AlertType["testAlert"] = "testAlert";
|
|
12765
12785
|
})(exports.AlertType || (exports.AlertType = {}));
|
|
@@ -12795,6 +12815,8 @@ const ALERT_TYPE_CATEGORIES = {
|
|
|
12795
12815
|
[exports.AlertType.totalNumberOfWorkspaceElements]: exports.AlertCategory.WORKSPACE_SIZE,
|
|
12796
12816
|
[exports.AlertType.instantTasksQueueSize]: exports.AlertCategory.WORKSPACE_SIZE,
|
|
12797
12817
|
[exports.AlertType.queuedTasksQueueSize]: exports.AlertCategory.WORKSPACE_SIZE,
|
|
12818
|
+
[exports.AlertType.flowRunsQueueSizePerConnection]: exports.AlertCategory.WORKSPACE_SIZE,
|
|
12819
|
+
[exports.AlertType.eventsProcessingQueueSizePerConnection]: exports.AlertCategory.WORKSPACE_SIZE,
|
|
12798
12820
|
[exports.AlertType.parallelApiRequests]: exports.AlertCategory.RATE_LIMIT,
|
|
12799
12821
|
};
|
|
12800
12822
|
const Alert = z.z.object({
|
|
@@ -12892,6 +12914,8 @@ function getAlertTypeDisplayName(alertType) {
|
|
|
12892
12914
|
[exports.AlertType.totalNumberOfWorkspaceElements]: 'Total Number of Workspace Elements',
|
|
12893
12915
|
[exports.AlertType.instantTasksQueueSize]: 'Instant Tasks Queue Size',
|
|
12894
12916
|
[exports.AlertType.queuedTasksQueueSize]: 'Queued Tasks Queue Size',
|
|
12917
|
+
[exports.AlertType.flowRunsQueueSizePerConnection]: 'Flow Runs Queue Size Per Connection',
|
|
12918
|
+
[exports.AlertType.eventsProcessingQueueSizePerConnection]: 'Events Processing Queue Size Per Connection',
|
|
12895
12919
|
[exports.AlertType.parallelApiRequests]: 'Parallel API Requests',
|
|
12896
12920
|
};
|
|
12897
12921
|
return names[alertType] || alertType;
|
|
@@ -12979,6 +13003,8 @@ exports.WorkspaceSizeLimits = void 0;
|
|
|
12979
13003
|
WorkspaceSizeLimits["TotalNumberOfWorkspaceElements"] = "totalNumberOfWorkspaceElements";
|
|
12980
13004
|
WorkspaceSizeLimits["InstantTasksQueueSize"] = "instantTasksQueueSize";
|
|
12981
13005
|
WorkspaceSizeLimits["QueuedTasksQueueSize"] = "queuedTasksQueueSize";
|
|
13006
|
+
WorkspaceSizeLimits["FlowRunsQueueSizePerConnection"] = "flowRunsQueueSizePerConnection";
|
|
13007
|
+
WorkspaceSizeLimits["EventsProcessingQueueSizePerConnection"] = "eventsProcessingQueueSizePerConnection";
|
|
12982
13008
|
})(exports.WorkspaceSizeLimits || (exports.WorkspaceSizeLimits = {}));
|
|
12983
13009
|
exports.CustomerLimits = void 0;
|
|
12984
13010
|
(function (CustomerLimits) {
|