@membranehq/sdk 0.17.6 → 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 +17 -4
- package/dist/bundle.js +26 -5
- package/dist/bundle.js.map +1 -1
- package/dist/dts/agent/session.d.ts +2 -0
- package/dist/dts/alerts/types.d.ts +14 -0
- package/dist/dts/client-tokens/types.d.ts +5 -5
- package/dist/dts/orgs/types.d.ts +2 -0
- package/dist/dts/stats/index.d.ts +8 -5
- package/dist/dts/ui.d.ts +5 -0
- package/dist/dts/workspace-elements/api/action-run-log-records-api.d.ts +3 -0
- package/dist/dts/workspace-elements/api/connected-products-api.d.ts +2 -1
- package/dist/dts/workspace-elements/api/connections-api.d.ts +1 -2
- 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/data-sources-api.d.ts +2 -2
- package/dist/dts/workspace-elements/api/external-api-logs-api.d.ts +2 -0
- package/dist/dts/workspace-elements/api/external-apps-api.d.ts +1 -0
- package/dist/dts/workspace-elements/api/external-event-log-records-api.d.ts +2 -0
- package/dist/dts/workspace-elements/api/external-event-pulls-api.d.ts +2 -0
- package/dist/dts/workspace-elements/api/external-event-subscriptions-api.d.ts +1 -0
- package/dist/dts/workspace-elements/api/external-events-api.d.ts +1 -0
- package/dist/dts/workspace-elements/api/field-mappings-api.d.ts +2 -2
- package/dist/dts/workspace-elements/api/flow-runs-api.d.ts +3 -0
- package/dist/dts/workspace-elements/api/flows-api.d.ts +1 -1
- package/dist/dts/workspace-elements/api/incoming-webhooks-api.d.ts +2 -0
- package/dist/dts/workspace-elements/api/integrations-api.d.ts +1 -0
- package/dist/dts/workspace-elements/base/action-run-log-records/index.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 +7 -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/external-event-log-records/index.d.ts +1 -0
- package/dist/dts/workspace-elements/base/external-event-pulls/index.d.ts +1 -0
- package/dist/dts/workspace-elements/base/field-mappings/index.d.ts +0 -3
- package/dist/dts/workspace-elements/base/flow-runs/index.d.ts +1 -0
- 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/workspace-elements/types.d.ts +3 -0
- package/dist/dts/workspace-elements-catalog/index.d.ts +3 -0
- package/dist/dts/workspaces/types.d.ts +7 -1
- package/dist/index.browser.d.mts +99 -49
- package/dist/index.browser.d.ts +99 -49
- package/dist/index.browser.js +214 -17
- package/dist/index.browser.js.map +1 -1
- package/dist/index.browser.mjs +214 -17
- package/dist/index.browser.mjs.map +1 -1
- package/dist/index.node.d.mts +99 -49
- package/dist/index.node.d.ts +99 -49
- package/dist/index.node.js +214 -17
- package/dist/index.node.js.map +1 -1
- package/dist/index.node.mjs +214 -17
- package/dist/index.node.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.browser.d.mts
CHANGED
|
@@ -149,6 +149,8 @@ declare enum WorkspaceElementType {
|
|
|
149
149
|
ExternalEventPull = "external-event-pull",
|
|
150
150
|
Screen = "screen",
|
|
151
151
|
ActionRunLogRecord = "action-run-log-record",
|
|
152
|
+
ExternalApiLogRecord = "external-api-log-record",
|
|
153
|
+
IncomingWebhookLogRecord = "incoming-webhook-log-record",
|
|
152
154
|
ConnectedProduct = "connected-product"
|
|
153
155
|
}
|
|
154
156
|
declare enum WorkspaceEventType {
|
|
@@ -336,6 +338,7 @@ declare const ActivityLogRecord: z.ZodObject<{
|
|
|
336
338
|
id: z.ZodString;
|
|
337
339
|
integrationId: z.ZodOptional<z.ZodString>;
|
|
338
340
|
connectionId: z.ZodOptional<z.ZodString>;
|
|
341
|
+
externalAppId: z.ZodOptional<z.ZodString>;
|
|
339
342
|
}, z.core.$strip>;
|
|
340
343
|
type ActivityLogRecord = z.infer<typeof ActivityLogRecord>;
|
|
341
344
|
interface WorkspaceElementReference {
|
|
@@ -461,9 +464,6 @@ declare const FieldMappingExportProperties: z.ZodObject<{
|
|
|
461
464
|
parentUuid: z.ZodOptional<z.ZodString>;
|
|
462
465
|
isUniversal: z.ZodOptional<z.ZodBoolean>;
|
|
463
466
|
isCustomized: z.ZodOptional<z.ZodBoolean>;
|
|
464
|
-
fieldMappingId: z.ZodOptional<z.ZodString>;
|
|
465
|
-
universalFieldMappingId: z.ZodOptional<z.ZodString>;
|
|
466
|
-
dataSourceId: z.ZodOptional<z.ZodString>;
|
|
467
467
|
dataSourceUuid: z.ZodOptional<z.ZodString>;
|
|
468
468
|
dataSourceKey: z.ZodOptional<z.ZodString>;
|
|
469
469
|
appSchema: z.ZodOptional<z.ZodType<DataSchema, unknown, z.core.$ZodTypeInternals<DataSchema, unknown>>>;
|
|
@@ -5857,6 +5857,7 @@ declare const GeneratedConnectorOption: z.ZodObject<{
|
|
|
5857
5857
|
description: z.ZodOptional<z.ZodString>;
|
|
5858
5858
|
inputSchema: z.ZodOptional<z.ZodType<DataSchema, unknown, z.core.$ZodTypeInternals<DataSchema, unknown>>>;
|
|
5859
5859
|
connectorParametersSchema: z.ZodOptional<z.ZodType<DataSchema, unknown, z.core.$ZodTypeInternals<DataSchema, unknown>>>;
|
|
5860
|
+
oAuthCallbackUri: z.ZodOptional<z.ZodString>;
|
|
5860
5861
|
}, z.core.$strip>;
|
|
5861
5862
|
type GeneratedConnectorOption = z.infer<typeof GeneratedConnectorOption>;
|
|
5862
5863
|
declare const ConnectorOptions: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
@@ -6737,12 +6738,6 @@ declare const WriteableConnectorFields: z.ZodObject<{
|
|
|
6737
6738
|
}, z.core.$strip>;
|
|
6738
6739
|
declare const ConnectorExportProperties: z.ZodObject<{
|
|
6739
6740
|
key: z.ZodOptional<z.ZodString>;
|
|
6740
|
-
name: z.ZodOptional<z.ZodString>;
|
|
6741
|
-
logoUri: z.ZodOptional<z.ZodString>;
|
|
6742
|
-
externalAppId: z.ZodOptional<z.ZodString>;
|
|
6743
|
-
externalAppUuid: z.ZodOptional<z.ZodString>;
|
|
6744
|
-
appUuid: z.ZodOptional<z.ZodString>;
|
|
6745
|
-
categories: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
6746
6741
|
type: z.ZodOptional<z.ZodEnum<{
|
|
6747
6742
|
proxy: "proxy";
|
|
6748
6743
|
"integration-app-token": "integration-app-token";
|
|
@@ -6751,6 +6746,8 @@ declare const ConnectorExportProperties: z.ZodObject<{
|
|
|
6751
6746
|
oauth1: "oauth1";
|
|
6752
6747
|
"client-credentials": "client-credentials";
|
|
6753
6748
|
}>>;
|
|
6749
|
+
name: z.ZodOptional<z.ZodString>;
|
|
6750
|
+
uuid: z.ZodOptional<z.ZodString>;
|
|
6754
6751
|
options: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
6755
6752
|
type: z.ZodOptional<z.ZodEnum<{
|
|
6756
6753
|
proxy: "proxy";
|
|
@@ -6880,6 +6877,7 @@ declare const ConnectorExportProperties: z.ZodObject<{
|
|
|
6880
6877
|
javascript: "javascript";
|
|
6881
6878
|
}>>;
|
|
6882
6879
|
}, z.core.$loose>>;
|
|
6880
|
+
logoUri: z.ZodOptional<z.ZodString>;
|
|
6883
6881
|
getOAuthConfig: z.ZodOptional<z.ZodObject<{
|
|
6884
6882
|
type: z.ZodOptional<z.ZodEnum<{
|
|
6885
6883
|
mapping: "mapping";
|
|
@@ -6926,7 +6924,9 @@ declare const ConnectorExportProperties: z.ZodObject<{
|
|
|
6926
6924
|
}>>;
|
|
6927
6925
|
}, z.core.$loose>>;
|
|
6928
6926
|
proxyKey: z.ZodOptional<z.ZodString>;
|
|
6929
|
-
|
|
6927
|
+
appUuid: z.ZodOptional<z.ZodString>;
|
|
6928
|
+
categories: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
6929
|
+
externalAppUuid: z.ZodOptional<z.ZodString>;
|
|
6930
6930
|
}, z.core.$strip>;
|
|
6931
6931
|
type ConnectorExportProperties = z.infer<typeof ConnectorExportProperties>;
|
|
6932
6932
|
interface ConnectorVersionExport {
|
|
@@ -10311,8 +10311,6 @@ declare const DataSourceExportProperties: z.ZodObject<{
|
|
|
10311
10311
|
isUniversal: z.ZodOptional<z.ZodBoolean>;
|
|
10312
10312
|
isCustomized: z.ZodOptional<z.ZodBoolean>;
|
|
10313
10313
|
udm: z.ZodOptional<z.ZodString>;
|
|
10314
|
-
dataSourceId: z.ZodOptional<z.ZodString>;
|
|
10315
|
-
universalDataSourceId: z.ZodOptional<z.ZodString>;
|
|
10316
10314
|
pullUpdatesIntervalSeconds: z.ZodOptional<z.ZodNumber>;
|
|
10317
10315
|
fullSyncIntervalSeconds: z.ZodOptional<z.ZodNumber>;
|
|
10318
10316
|
collectionKey: z.ZodOptional<z.ZodString>;
|
|
@@ -10833,6 +10831,7 @@ declare const BaseFlowRun: z.ZodObject<{
|
|
|
10833
10831
|
id: z.ZodString;
|
|
10834
10832
|
integrationId: z.ZodOptional<z.ZodString>;
|
|
10835
10833
|
connectionId: z.ZodOptional<z.ZodString>;
|
|
10834
|
+
externalAppId: z.ZodOptional<z.ZodString>;
|
|
10836
10835
|
name: z.ZodOptional<z.ZodString>;
|
|
10837
10836
|
connectionFlowId: z.ZodString;
|
|
10838
10837
|
integrationFlowId: z.ZodOptional<z.ZodString>;
|
|
@@ -11012,8 +11011,6 @@ declare const FlowExportProperties: z.ZodObject<{
|
|
|
11012
11011
|
parameters: z.ZodOptional<z.ZodAny>;
|
|
11013
11012
|
parametersSchema: z.ZodOptional<z.ZodType<DataSchema, unknown, z.core.$ZodTypeInternals<DataSchema, unknown>>>;
|
|
11014
11013
|
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
11015
|
-
flowId: z.ZodOptional<z.ZodString>;
|
|
11016
|
-
universalFlowId: z.ZodOptional<z.ZodString>;
|
|
11017
11014
|
nodes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
11018
11015
|
type: z.ZodOptional<z.ZodString>;
|
|
11019
11016
|
version: z.ZodOptional<z.ZodNumber>;
|
|
@@ -11323,26 +11320,24 @@ declare const IntegrationEditableProperties: z.ZodObject<{
|
|
|
11323
11320
|
}, z.core.$strip>;
|
|
11324
11321
|
type IntegrationEditableProperties = z.infer<typeof IntegrationEditableProperties>;
|
|
11325
11322
|
declare const IntegrationExportProperties: z.ZodObject<{
|
|
11326
|
-
uuid: z.ZodOptional<z.ZodString>;
|
|
11327
11323
|
key: z.ZodOptional<z.ZodString>;
|
|
11328
|
-
name: z.ZodOptional<z.ZodString>;
|
|
11329
11324
|
description: z.ZodOptional<z.ZodString>;
|
|
11325
|
+
name: z.ZodOptional<z.ZodString>;
|
|
11326
|
+
uuid: z.ZodOptional<z.ZodString>;
|
|
11330
11327
|
meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
11328
|
+
parameters: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
11331
11329
|
logoUri: z.ZodOptional<z.ZodString>;
|
|
11332
|
-
externalAppId: z.ZodOptional<z.ZodString>;
|
|
11333
|
-
externalAppUuid: z.ZodOptional<z.ZodString>;
|
|
11334
11330
|
appUuid: z.ZodOptional<z.ZodString>;
|
|
11335
|
-
oAuthCallbackUri: z.ZodOptional<z.ZodUnion<[z.ZodURL, z.ZodLiteral<"">]>>;
|
|
11336
|
-
logoBase64: z.ZodOptional<z.ZodString>;
|
|
11337
11331
|
connectorVersion: z.ZodOptional<z.ZodString>;
|
|
11338
|
-
|
|
11339
|
-
|
|
11340
|
-
connectorKey: z.ZodOptional<z.ZodString>;
|
|
11341
|
-
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>;
|
|
11342
11334
|
optionsConfig: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
11343
11335
|
disabled: z.ZodOptional<z.ZodBoolean>;
|
|
11344
11336
|
parameters: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
11345
11337
|
}, z.core.$strip>>>;
|
|
11338
|
+
logoBase64: z.ZodOptional<z.ZodString>;
|
|
11339
|
+
connectorUuid: z.ZodOptional<z.ZodString>;
|
|
11340
|
+
connectorKey: z.ZodOptional<z.ZodString>;
|
|
11346
11341
|
}, z.core.$strip>;
|
|
11347
11342
|
type IntegrationExportProperties = z.infer<typeof IntegrationExportProperties>;
|
|
11348
11343
|
type IntegrationAuthOptionLegacy = ConnectorAuthSpec & {
|
|
@@ -11586,7 +11581,6 @@ declare const DataLinkTableExportProperties: z.ZodObject<{
|
|
|
11586
11581
|
name: z.ZodOptional<z.ZodString>;
|
|
11587
11582
|
uuid: z.ZodOptional<z.ZodString>;
|
|
11588
11583
|
meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
11589
|
-
dataLinkTableId: z.ZodOptional<z.ZodString>;
|
|
11590
11584
|
}, z.core.$strip>;
|
|
11591
11585
|
type DataLinkTableExportProperties = z.infer<typeof DataLinkTableExportProperties>;
|
|
11592
11586
|
declare const BaseDataLinkTable: z.ZodObject<{
|
|
@@ -11754,15 +11748,14 @@ declare const AppDataSchemaEditableProperties: z.ZodObject<{
|
|
|
11754
11748
|
}, z.core.$strip>;
|
|
11755
11749
|
type AppDataSchemaEditableProperties = z.infer<typeof AppDataSchemaEditableProperties>;
|
|
11756
11750
|
declare const AppDataSchemaExportProperties: z.ZodObject<{
|
|
11757
|
-
uuid: z.ZodOptional<z.ZodString>;
|
|
11758
11751
|
key: z.ZodOptional<z.ZodString>;
|
|
11759
|
-
|
|
11752
|
+
code: z.ZodOptional<z.ZodString>;
|
|
11760
11753
|
description: z.ZodOptional<z.ZodString>;
|
|
11761
|
-
meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
11762
11754
|
instanceKey: z.ZodOptional<z.ZodString>;
|
|
11763
|
-
|
|
11755
|
+
name: z.ZodOptional<z.ZodString>;
|
|
11756
|
+
uuid: z.ZodOptional<z.ZodString>;
|
|
11757
|
+
meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
11764
11758
|
schema: z.ZodOptional<z.ZodAny>;
|
|
11765
|
-
code: z.ZodOptional<z.ZodString>;
|
|
11766
11759
|
}, z.core.$strip>;
|
|
11767
11760
|
type AppDataSchemaExportProperties = z.infer<typeof AppDataSchemaExportProperties>;
|
|
11768
11761
|
declare const BaseAppDataSchema: z.ZodObject<{
|
|
@@ -11894,6 +11887,7 @@ declare const BaseExternalEventLogRecord: z.ZodObject<{
|
|
|
11894
11887
|
userId: z.ZodString;
|
|
11895
11888
|
tenantId: z.ZodOptional<z.ZodString>;
|
|
11896
11889
|
id: z.ZodString;
|
|
11890
|
+
externalAppId: z.ZodOptional<z.ZodString>;
|
|
11897
11891
|
name: z.ZodOptional<z.ZodString>;
|
|
11898
11892
|
externalEventSubscriptionId: z.ZodString;
|
|
11899
11893
|
integrationId: z.ZodString;
|
|
@@ -11915,6 +11909,7 @@ declare const BaseExternalEventPull: z.ZodObject<{
|
|
|
11915
11909
|
userId: z.ZodString;
|
|
11916
11910
|
tenantId: z.ZodOptional<z.ZodString>;
|
|
11917
11911
|
id: z.ZodString;
|
|
11912
|
+
externalAppId: z.ZodOptional<z.ZodString>;
|
|
11918
11913
|
name: z.ZodOptional<z.ZodString>;
|
|
11919
11914
|
externalEventSubscriptionId: z.ZodString;
|
|
11920
11915
|
integrationId: z.ZodString;
|
|
@@ -11936,6 +11931,7 @@ declare const BaseActionRunLogRecord: z.ZodObject<{
|
|
|
11936
11931
|
userId: z.ZodString;
|
|
11937
11932
|
tenantId: z.ZodOptional<z.ZodString>;
|
|
11938
11933
|
id: z.ZodString;
|
|
11934
|
+
externalAppId: z.ZodOptional<z.ZodString>;
|
|
11939
11935
|
name: z.ZodString;
|
|
11940
11936
|
universalActionId: z.ZodOptional<z.ZodString>;
|
|
11941
11937
|
integrationActionId: z.ZodString;
|
|
@@ -12333,11 +12329,11 @@ declare const FindConnectionsQuery: z.ZodObject<{
|
|
|
12333
12329
|
tenantId: z.ZodOptional<z.ZodString>;
|
|
12334
12330
|
integrationId: z.ZodOptional<z.ZodString>;
|
|
12335
12331
|
connectorId: z.ZodOptional<z.ZodString>;
|
|
12332
|
+
externalAppId: z.ZodOptional<z.ZodString>;
|
|
12336
12333
|
disconnected: z.ZodOptional<z.ZodPipe<z.ZodTransform<boolean, unknown>, z.ZodBoolean>>;
|
|
12337
12334
|
isTest: z.ZodOptional<z.ZodPipe<z.ZodTransform<boolean, unknown>, z.ZodBoolean>>;
|
|
12338
12335
|
userId: z.ZodOptional<z.ZodString>;
|
|
12339
12336
|
connectorVersion: z.ZodOptional<z.ZodString>;
|
|
12340
|
-
externalAppId: z.ZodOptional<z.ZodString>;
|
|
12341
12337
|
integrationKey: z.ZodOptional<z.ZodString>;
|
|
12342
12338
|
includeSecrets: z.ZodOptional<z.ZodPipe<z.ZodTransform<boolean, unknown>, z.ZodBoolean>>;
|
|
12343
12339
|
}, z.core.$strip>;
|
|
@@ -12374,7 +12370,6 @@ type UpdateConnectionRequest = z.infer<typeof UpdateConnectionRequest>;
|
|
|
12374
12370
|
declare const ConnectionExportProperties: z.ZodObject<{
|
|
12375
12371
|
name: z.ZodOptional<z.ZodString>;
|
|
12376
12372
|
meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
12377
|
-
externalAppId: z.ZodOptional<z.ZodString>;
|
|
12378
12373
|
authOptionKey: z.ZodOptional<z.ZodString>;
|
|
12379
12374
|
externalAppUuid: z.ZodOptional<z.ZodString>;
|
|
12380
12375
|
}, z.core.$strip>;
|
|
@@ -12766,6 +12761,7 @@ declare const FindFlowRunsQuery: z.ZodObject<{
|
|
|
12766
12761
|
state: z.ZodOptional<z.ZodEnum<typeof FlowRunState>>;
|
|
12767
12762
|
integrationId: z.ZodOptional<z.ZodString>;
|
|
12768
12763
|
connectionId: z.ZodOptional<z.ZodString>;
|
|
12764
|
+
externalAppId: z.ZodOptional<z.ZodString>;
|
|
12769
12765
|
from: z.ZodOptional<z.ZodString>;
|
|
12770
12766
|
to: z.ZodOptional<z.ZodString>;
|
|
12771
12767
|
}, z.core.$strip>;
|
|
@@ -12781,6 +12777,7 @@ declare const FlowRunApiResponse: z.ZodObject<{
|
|
|
12781
12777
|
id: z.ZodString;
|
|
12782
12778
|
integrationId: z.ZodOptional<z.ZodString>;
|
|
12783
12779
|
connectionId: z.ZodOptional<z.ZodString>;
|
|
12780
|
+
externalAppId: z.ZodOptional<z.ZodString>;
|
|
12784
12781
|
name: z.ZodOptional<z.ZodString>;
|
|
12785
12782
|
connectionFlowId: z.ZodString;
|
|
12786
12783
|
integrationFlowId: z.ZodOptional<z.ZodString>;
|
|
@@ -12967,6 +12964,7 @@ declare const FindFlowRunsResponse: z.ZodObject<{
|
|
|
12967
12964
|
id: z.ZodString;
|
|
12968
12965
|
integrationId: z.ZodOptional<z.ZodString>;
|
|
12969
12966
|
connectionId: z.ZodOptional<z.ZodString>;
|
|
12967
|
+
externalAppId: z.ZodOptional<z.ZodString>;
|
|
12970
12968
|
name: z.ZodOptional<z.ZodString>;
|
|
12971
12969
|
connectionFlowId: z.ZodString;
|
|
12972
12970
|
integrationFlowId: z.ZodOptional<z.ZodString>;
|
|
@@ -13844,9 +13842,9 @@ declare const FindFlowsQuery: z.ZodObject<{
|
|
|
13844
13842
|
}>>;
|
|
13845
13843
|
universalParentId: z.ZodOptional<z.ZodString>;
|
|
13846
13844
|
tenantId: z.ZodOptional<z.ZodString>;
|
|
13847
|
-
externalAppId: z.ZodOptional<z.ZodString>;
|
|
13848
13845
|
flowId: z.ZodOptional<z.ZodString>;
|
|
13849
13846
|
universalFlowId: z.ZodOptional<z.ZodString>;
|
|
13847
|
+
externalAppId: z.ZodOptional<z.ZodString>;
|
|
13850
13848
|
}, z.core.$strip>;
|
|
13851
13849
|
type FindFlowsQuery = z.infer<typeof FindFlowsQuery>;
|
|
13852
13850
|
declare const CreateFlowRequest: z.ZodObject<{
|
|
@@ -15197,9 +15195,9 @@ declare const FindDataSourcesQuery: z.ZodObject<{
|
|
|
15197
15195
|
}>>;
|
|
15198
15196
|
universalParentId: z.ZodOptional<z.ZodString>;
|
|
15199
15197
|
tenantId: z.ZodOptional<z.ZodString>;
|
|
15200
|
-
externalAppId: z.ZodOptional<z.ZodString>;
|
|
15201
15198
|
dataSourceId: z.ZodOptional<z.ZodString>;
|
|
15202
15199
|
universalDataSourceId: z.ZodOptional<z.ZodString>;
|
|
15200
|
+
externalAppId: z.ZodOptional<z.ZodString>;
|
|
15203
15201
|
}, z.core.$strip>;
|
|
15204
15202
|
type FindDataSourcesQuery = z.infer<typeof FindDataSourcesQuery>;
|
|
15205
15203
|
declare const FindDataSourceInstancesQuery: z.ZodObject<{
|
|
@@ -15220,9 +15218,9 @@ declare const FindDataSourceInstancesQuery: z.ZodObject<{
|
|
|
15220
15218
|
}>>;
|
|
15221
15219
|
universalParentId: z.ZodOptional<z.ZodString>;
|
|
15222
15220
|
tenantId: z.ZodOptional<z.ZodString>;
|
|
15223
|
-
externalAppId: z.ZodOptional<z.ZodString>;
|
|
15224
15221
|
dataSourceId: z.ZodOptional<z.ZodString>;
|
|
15225
15222
|
universalDataSourceId: z.ZodOptional<z.ZodString>;
|
|
15223
|
+
externalAppId: z.ZodOptional<z.ZodString>;
|
|
15226
15224
|
}, z.core.$strip>;
|
|
15227
15225
|
type FindDataSourceInstancesQuery = FindDataSourcesQuery;
|
|
15228
15226
|
declare const CreateDataSourceRequest: z.ZodObject<{
|
|
@@ -15735,6 +15733,7 @@ declare const FindIntegrationsQuery: z.ZodObject<{
|
|
|
15735
15733
|
limit: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
15736
15734
|
cursor: z.ZodOptional<z.ZodString>;
|
|
15737
15735
|
search: z.ZodOptional<z.ZodString>;
|
|
15736
|
+
includeArchived: z.ZodOptional<z.ZodPipe<z.ZodTransform<boolean, unknown>, z.ZodBoolean>>;
|
|
15738
15737
|
}, z.core.$strip>;
|
|
15739
15738
|
type FindIntegrationsQuery = z.infer<typeof FindIntegrationsQuery>;
|
|
15740
15739
|
interface FindIntegrationsResponse extends PaginationResponse<IntegrationApiResponse> {
|
|
@@ -16442,9 +16441,9 @@ declare const FindFieldMappingsQuery: z.ZodObject<{
|
|
|
16442
16441
|
}>>;
|
|
16443
16442
|
universalParentId: z.ZodOptional<z.ZodString>;
|
|
16444
16443
|
tenantId: z.ZodOptional<z.ZodString>;
|
|
16445
|
-
externalAppId: z.ZodOptional<z.ZodString>;
|
|
16446
16444
|
fieldMappingId: z.ZodOptional<z.ZodString>;
|
|
16447
16445
|
universalFieldMappingId: z.ZodOptional<z.ZodString>;
|
|
16446
|
+
externalAppId: z.ZodOptional<z.ZodString>;
|
|
16448
16447
|
}, z.core.$strip>;
|
|
16449
16448
|
type FindFieldMappingsQuery = z.infer<typeof FindFieldMappingsQuery>;
|
|
16450
16449
|
declare const FindFieldMappingInstancesQuery: z.ZodObject<{
|
|
@@ -16465,9 +16464,9 @@ declare const FindFieldMappingInstancesQuery: z.ZodObject<{
|
|
|
16465
16464
|
}>>;
|
|
16466
16465
|
universalParentId: z.ZodOptional<z.ZodString>;
|
|
16467
16466
|
tenantId: z.ZodOptional<z.ZodString>;
|
|
16468
|
-
externalAppId: z.ZodOptional<z.ZodString>;
|
|
16469
16467
|
fieldMappingId: z.ZodOptional<z.ZodString>;
|
|
16470
16468
|
universalFieldMappingId: z.ZodOptional<z.ZodString>;
|
|
16469
|
+
externalAppId: z.ZodOptional<z.ZodString>;
|
|
16471
16470
|
}, z.core.$strip>;
|
|
16472
16471
|
type FindFieldMappingInstancesQuery = FindFieldMappingsQuery;
|
|
16473
16472
|
declare const CreateFieldMappingRequest: z.ZodObject<{
|
|
@@ -17058,6 +17057,7 @@ declare const FindCustomersQuery: z.ZodObject<{
|
|
|
17058
17057
|
limit: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
17059
17058
|
cursor: z.ZodOptional<z.ZodString>;
|
|
17060
17059
|
search: z.ZodOptional<z.ZodString>;
|
|
17060
|
+
includeArchived: z.ZodOptional<z.ZodPipe<z.ZodTransform<boolean, unknown>, z.ZodBoolean>>;
|
|
17061
17061
|
}, z.core.$strip>;
|
|
17062
17062
|
type FindCustomersQuery = z.infer<typeof FindCustomersQuery>;
|
|
17063
17063
|
declare const CustomerSelector: z.ZodObject<{
|
|
@@ -17288,6 +17288,7 @@ declare const ListExternalEventSubscriptionsQuery: z.ZodObject<{
|
|
|
17288
17288
|
userId: z.ZodOptional<z.ZodString>;
|
|
17289
17289
|
connectionId: z.ZodOptional<z.ZodString>;
|
|
17290
17290
|
integrationId: z.ZodOptional<z.ZodString>;
|
|
17291
|
+
externalAppId: z.ZodOptional<z.ZodString>;
|
|
17291
17292
|
}, z.core.$strip>;
|
|
17292
17293
|
type ListExternalEventSubscriptionsQuery = z.infer<typeof ListExternalEventSubscriptionsQuery>;
|
|
17293
17294
|
declare const ExternalEventSubscriptionApiResponse: z.ZodObject<{
|
|
@@ -17422,6 +17423,7 @@ interface FindExternalEventSubscriptionsQuery extends PaginationQuery {
|
|
|
17422
17423
|
userId?: string;
|
|
17423
17424
|
connectionId?: string;
|
|
17424
17425
|
integrationId?: string;
|
|
17426
|
+
externalAppId?: string;
|
|
17425
17427
|
}
|
|
17426
17428
|
interface FindExternalEventLogsQuery extends PaginationQuery {
|
|
17427
17429
|
userId?: string;
|
|
@@ -18204,6 +18206,7 @@ declare const ActionRunLogRecordApiResponse: z.ZodObject<{
|
|
|
18204
18206
|
userId: z.ZodString;
|
|
18205
18207
|
tenantId: z.ZodOptional<z.ZodString>;
|
|
18206
18208
|
id: z.ZodString;
|
|
18209
|
+
externalAppId: z.ZodOptional<z.ZodString>;
|
|
18207
18210
|
name: z.ZodString;
|
|
18208
18211
|
universalActionId: z.ZodOptional<z.ZodString>;
|
|
18209
18212
|
integrationActionId: z.ZodString;
|
|
@@ -18395,6 +18398,7 @@ declare const FindActionRunLogsQuery: z.ZodObject<{
|
|
|
18395
18398
|
tenantId: z.ZodOptional<z.ZodString>;
|
|
18396
18399
|
userId: z.ZodOptional<z.ZodString>;
|
|
18397
18400
|
status: z.ZodOptional<z.ZodEnum<typeof ActionRunLogStatus>>;
|
|
18401
|
+
externalAppId: z.ZodOptional<z.ZodString>;
|
|
18398
18402
|
from: z.ZodOptional<z.ZodString>;
|
|
18399
18403
|
to: z.ZodOptional<z.ZodString>;
|
|
18400
18404
|
}, z.core.$strip>;
|
|
@@ -18404,6 +18408,7 @@ declare const FindActionRunLogsResponse: z.ZodObject<{
|
|
|
18404
18408
|
userId: z.ZodString;
|
|
18405
18409
|
tenantId: z.ZodOptional<z.ZodString>;
|
|
18406
18410
|
id: z.ZodString;
|
|
18411
|
+
externalAppId: z.ZodOptional<z.ZodString>;
|
|
18407
18412
|
name: z.ZodString;
|
|
18408
18413
|
universalActionId: z.ZodOptional<z.ZodString>;
|
|
18409
18414
|
integrationActionId: z.ZodString;
|
|
@@ -18590,6 +18595,7 @@ type ActionRunLogRecord = ActionRunLogRecordApiResponse;
|
|
|
18590
18595
|
declare const ListPublicConnectorsQuery: z.ZodObject<{
|
|
18591
18596
|
limit: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
18592
18597
|
cursor: z.ZodOptional<z.ZodString>;
|
|
18598
|
+
includeArchived: z.ZodOptional<z.ZodPipe<z.ZodTransform<boolean, unknown>, z.ZodBoolean>>;
|
|
18593
18599
|
search: z.ZodOptional<z.ZodString>;
|
|
18594
18600
|
}, z.core.$strip>;
|
|
18595
18601
|
type ListPublicConnectorsQuery = z.infer<typeof ListPublicConnectorsQuery>;
|
|
@@ -18597,6 +18603,7 @@ type ListPublicConnectorsQuery = z.infer<typeof ListPublicConnectorsQuery>;
|
|
|
18597
18603
|
declare const ListExternalAppsQuery: z.ZodObject<{
|
|
18598
18604
|
limit: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
18599
18605
|
cursor: z.ZodOptional<z.ZodString>;
|
|
18606
|
+
includeArchived: z.ZodOptional<z.ZodPipe<z.ZodTransform<boolean, unknown>, z.ZodBoolean>>;
|
|
18600
18607
|
search: z.ZodOptional<z.ZodString>;
|
|
18601
18608
|
category: z.ZodOptional<z.ZodString>;
|
|
18602
18609
|
isConnected: z.ZodOptional<z.ZodPipe<z.ZodTransform<boolean, unknown>, z.ZodBoolean>>;
|
|
@@ -19154,6 +19161,7 @@ declare const ListExternalEventLogRecordsQuery: z.ZodObject<{
|
|
|
19154
19161
|
integrationId: z.ZodOptional<z.ZodString>;
|
|
19155
19162
|
externalEventSubscriptionId: z.ZodOptional<z.ZodString>;
|
|
19156
19163
|
status: z.ZodOptional<z.ZodEnum<typeof ExternalEventLogStatus>>;
|
|
19164
|
+
externalAppId: z.ZodOptional<z.ZodString>;
|
|
19157
19165
|
from: z.ZodOptional<z.ZodString>;
|
|
19158
19166
|
to: z.ZodOptional<z.ZodString>;
|
|
19159
19167
|
}, z.core.$strip>;
|
|
@@ -19162,6 +19170,7 @@ declare const ExternalEventLogRecordApiResponse: z.ZodObject<{
|
|
|
19162
19170
|
userId: z.ZodString;
|
|
19163
19171
|
tenantId: z.ZodOptional<z.ZodString>;
|
|
19164
19172
|
id: z.ZodString;
|
|
19173
|
+
externalAppId: z.ZodOptional<z.ZodString>;
|
|
19165
19174
|
name: z.ZodOptional<z.ZodString>;
|
|
19166
19175
|
externalEventSubscriptionId: z.ZodString;
|
|
19167
19176
|
integrationId: z.ZodString;
|
|
@@ -19319,6 +19328,7 @@ declare const FindExternalEventPullsQuery: z.ZodObject<{
|
|
|
19319
19328
|
tenantId: z.ZodOptional<z.ZodString>;
|
|
19320
19329
|
userId: z.ZodOptional<z.ZodString>;
|
|
19321
19330
|
status: z.ZodOptional<z.ZodEnum<typeof ExternalEventPullStatus>>;
|
|
19331
|
+
externalAppId: z.ZodOptional<z.ZodString>;
|
|
19322
19332
|
from: z.ZodOptional<z.ZodString>;
|
|
19323
19333
|
to: z.ZodOptional<z.ZodString>;
|
|
19324
19334
|
}, z.core.$strip>;
|
|
@@ -19327,6 +19337,7 @@ declare const ExternalEventPullApiResponse: z.ZodObject<{
|
|
|
19327
19337
|
userId: z.ZodString;
|
|
19328
19338
|
tenantId: z.ZodOptional<z.ZodString>;
|
|
19329
19339
|
id: z.ZodString;
|
|
19340
|
+
externalAppId: z.ZodOptional<z.ZodString>;
|
|
19330
19341
|
name: z.ZodOptional<z.ZodString>;
|
|
19331
19342
|
externalEventSubscriptionId: z.ZodString;
|
|
19332
19343
|
integrationId: z.ZodString;
|
|
@@ -19572,6 +19583,7 @@ declare const ListExternalApiLogsQuery: z.ZodObject<{
|
|
|
19572
19583
|
integrationId: z.ZodOptional<z.ZodString>;
|
|
19573
19584
|
connectionId: z.ZodOptional<z.ZodString>;
|
|
19574
19585
|
isSuccess: z.ZodOptional<z.ZodPipe<z.ZodTransform<boolean, unknown>, z.ZodBoolean>>;
|
|
19586
|
+
externalAppId: z.ZodOptional<z.ZodString>;
|
|
19575
19587
|
from: z.ZodOptional<z.ZodString>;
|
|
19576
19588
|
to: z.ZodOptional<z.ZodString>;
|
|
19577
19589
|
sortOrder: z.ZodOptional<z.ZodEnum<{
|
|
@@ -19586,6 +19598,7 @@ declare const ExternalApiLogApiResponse: z.ZodObject<{
|
|
|
19586
19598
|
customerId: z.ZodString;
|
|
19587
19599
|
integrationId: z.ZodString;
|
|
19588
19600
|
connectionId: z.ZodString;
|
|
19601
|
+
externalAppId: z.ZodOptional<z.ZodString>;
|
|
19589
19602
|
statusCode: z.ZodNumber;
|
|
19590
19603
|
isSuccess: z.ZodBoolean;
|
|
19591
19604
|
s3Uri: z.ZodString;
|
|
@@ -19689,6 +19702,7 @@ declare const ListIncomingWebhooksQuery: z.ZodObject<{
|
|
|
19689
19702
|
integrationId: z.ZodOptional<z.ZodString>;
|
|
19690
19703
|
connectionId: z.ZodOptional<z.ZodString>;
|
|
19691
19704
|
status: z.ZodOptional<z.ZodEnum<typeof IncomingWebhooksState>>;
|
|
19705
|
+
externalAppId: z.ZodOptional<z.ZodString>;
|
|
19692
19706
|
from: z.ZodOptional<z.ZodString>;
|
|
19693
19707
|
to: z.ZodOptional<z.ZodString>;
|
|
19694
19708
|
}, z.core.$strip>;
|
|
@@ -19700,6 +19714,7 @@ declare const IncomingWebhookApiResponse: z.ZodObject<{
|
|
|
19700
19714
|
customerId: z.ZodString;
|
|
19701
19715
|
integrationId: z.ZodString;
|
|
19702
19716
|
connectionId: z.ZodString;
|
|
19717
|
+
externalAppId: z.ZodOptional<z.ZodString>;
|
|
19703
19718
|
subscriptionId: z.ZodString;
|
|
19704
19719
|
userId: z.ZodString;
|
|
19705
19720
|
uuid: z.ZodString;
|
|
@@ -19790,6 +19805,7 @@ type IncomingWebhookApiResponse = z.infer<typeof IncomingWebhookApiResponse>;
|
|
|
19790
19805
|
|
|
19791
19806
|
declare const CreateConnectedProductRequest: z.ZodObject<{
|
|
19792
19807
|
name: z.ZodString;
|
|
19808
|
+
key: z.ZodOptional<z.ZodString>;
|
|
19793
19809
|
type: z.ZodEnum<{
|
|
19794
19810
|
app: "app";
|
|
19795
19811
|
"ai-agent": "ai-agent";
|
|
@@ -19810,6 +19826,7 @@ declare const CreateConnectedProductRequest: z.ZodObject<{
|
|
|
19810
19826
|
type CreateConnectedProductRequest = z.infer<typeof CreateConnectedProductRequest>;
|
|
19811
19827
|
declare const UpdateConnectedProductRequest: z.ZodObject<{
|
|
19812
19828
|
name: z.ZodOptional<z.ZodString>;
|
|
19829
|
+
key: z.ZodOptional<z.ZodString>;
|
|
19813
19830
|
type: z.ZodOptional<z.ZodEnum<{
|
|
19814
19831
|
app: "app";
|
|
19815
19832
|
"ai-agent": "ai-agent";
|
|
@@ -19837,7 +19854,6 @@ declare const FindConnectedProductsQuery: z.ZodObject<{
|
|
|
19837
19854
|
customers: "customers";
|
|
19838
19855
|
personal: "personal";
|
|
19839
19856
|
}>>;
|
|
19840
|
-
key: z.ZodOptional<z.ZodString>;
|
|
19841
19857
|
limit: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
19842
19858
|
cursor: z.ZodOptional<z.ZodString>;
|
|
19843
19859
|
search: z.ZodOptional<z.ZodString>;
|
|
@@ -19999,6 +20015,9 @@ interface WorkspaceElementSpec {
|
|
|
19999
20015
|
hasUuid?: boolean;
|
|
20000
20016
|
hasPublicLayer?: boolean;
|
|
20001
20017
|
isProOnly?: boolean;
|
|
20018
|
+
statsKey?: string;
|
|
20019
|
+
relatedIntegrationLayerElements?: WorkspaceElementType[];
|
|
20020
|
+
relatedActivityLogElements?: WorkspaceElementType[];
|
|
20002
20021
|
}
|
|
20003
20022
|
interface WorkspaceElements {
|
|
20004
20023
|
flows?: Record<string, CreateFlowRequest>;
|
|
@@ -20055,6 +20074,8 @@ declare enum AlertType {
|
|
|
20055
20074
|
totalNumberOfWorkspaceElements = "totalNumberOfWorkspaceElements",
|
|
20056
20075
|
instantTasksQueueSize = "instantTasksQueueSize",
|
|
20057
20076
|
queuedTasksQueueSize = "queuedTasksQueueSize",
|
|
20077
|
+
flowRunsQueueSizePerConnection = "flowRunsQueueSizePerConnection",
|
|
20078
|
+
eventsProcessingQueueSizePerConnection = "eventsProcessingQueueSizePerConnection",
|
|
20058
20079
|
parallelApiRequests = "parallelApiRequests",
|
|
20059
20080
|
testAlert = "testAlert"
|
|
20060
20081
|
}
|
|
@@ -20089,6 +20110,8 @@ declare const ALERT_TYPE_CATEGORIES: {
|
|
|
20089
20110
|
readonly totalNumberOfWorkspaceElements: AlertCategory.WORKSPACE_SIZE;
|
|
20090
20111
|
readonly instantTasksQueueSize: AlertCategory.WORKSPACE_SIZE;
|
|
20091
20112
|
readonly queuedTasksQueueSize: AlertCategory.WORKSPACE_SIZE;
|
|
20113
|
+
readonly flowRunsQueueSizePerConnection: AlertCategory.WORKSPACE_SIZE;
|
|
20114
|
+
readonly eventsProcessingQueueSizePerConnection: AlertCategory.WORKSPACE_SIZE;
|
|
20092
20115
|
readonly parallelApiRequests: AlertCategory.RATE_LIMIT;
|
|
20093
20116
|
};
|
|
20094
20117
|
type AlertsByCategory<C extends AlertCategory> = {
|
|
@@ -20130,6 +20153,8 @@ declare const Alert: z.ZodObject<{
|
|
|
20130
20153
|
totalNumberOfWorkspaceElements: AlertType.totalNumberOfWorkspaceElements;
|
|
20131
20154
|
instantTasksQueueSize: AlertType.instantTasksQueueSize;
|
|
20132
20155
|
queuedTasksQueueSize: AlertType.queuedTasksQueueSize;
|
|
20156
|
+
flowRunsQueueSizePerConnection: AlertType.flowRunsQueueSizePerConnection;
|
|
20157
|
+
eventsProcessingQueueSizePerConnection: AlertType.eventsProcessingQueueSizePerConnection;
|
|
20133
20158
|
parallelApiRequests: AlertType.parallelApiRequests;
|
|
20134
20159
|
testAlert: AlertType.testAlert;
|
|
20135
20160
|
}>;
|
|
@@ -20177,6 +20202,8 @@ declare const AlertSchema: z.ZodObject<{
|
|
|
20177
20202
|
totalNumberOfWorkspaceElements: AlertType.totalNumberOfWorkspaceElements;
|
|
20178
20203
|
instantTasksQueueSize: AlertType.instantTasksQueueSize;
|
|
20179
20204
|
queuedTasksQueueSize: AlertType.queuedTasksQueueSize;
|
|
20205
|
+
flowRunsQueueSizePerConnection: AlertType.flowRunsQueueSizePerConnection;
|
|
20206
|
+
eventsProcessingQueueSizePerConnection: AlertType.eventsProcessingQueueSizePerConnection;
|
|
20180
20207
|
parallelApiRequests: AlertType.parallelApiRequests;
|
|
20181
20208
|
testAlert: AlertType.testAlert;
|
|
20182
20209
|
}>;
|
|
@@ -20233,6 +20260,8 @@ declare const AlertDeliverySettingsSchema: z.ZodObject<{
|
|
|
20233
20260
|
totalNumberOfWorkspaceElements: AlertType.totalNumberOfWorkspaceElements;
|
|
20234
20261
|
instantTasksQueueSize: AlertType.instantTasksQueueSize;
|
|
20235
20262
|
queuedTasksQueueSize: AlertType.queuedTasksQueueSize;
|
|
20263
|
+
flowRunsQueueSizePerConnection: AlertType.flowRunsQueueSizePerConnection;
|
|
20264
|
+
eventsProcessingQueueSizePerConnection: AlertType.eventsProcessingQueueSizePerConnection;
|
|
20236
20265
|
parallelApiRequests: AlertType.parallelApiRequests;
|
|
20237
20266
|
testAlert: AlertType.testAlert;
|
|
20238
20267
|
}>, z.ZodOptional<z.ZodObject<{
|
|
@@ -20281,6 +20310,8 @@ declare const FindAlertsQuery: z.ZodObject<{
|
|
|
20281
20310
|
totalNumberOfWorkspaceElements: AlertType.totalNumberOfWorkspaceElements;
|
|
20282
20311
|
instantTasksQueueSize: AlertType.instantTasksQueueSize;
|
|
20283
20312
|
queuedTasksQueueSize: AlertType.queuedTasksQueueSize;
|
|
20313
|
+
flowRunsQueueSizePerConnection: AlertType.flowRunsQueueSizePerConnection;
|
|
20314
|
+
eventsProcessingQueueSizePerConnection: AlertType.eventsProcessingQueueSizePerConnection;
|
|
20284
20315
|
parallelApiRequests: AlertType.parallelApiRequests;
|
|
20285
20316
|
testAlert: AlertType.testAlert;
|
|
20286
20317
|
}>>;
|
|
@@ -20314,6 +20345,8 @@ declare const CreateAlert: z.ZodObject<{
|
|
|
20314
20345
|
totalNumberOfWorkspaceElements: AlertType.totalNumberOfWorkspaceElements;
|
|
20315
20346
|
instantTasksQueueSize: AlertType.instantTasksQueueSize;
|
|
20316
20347
|
queuedTasksQueueSize: AlertType.queuedTasksQueueSize;
|
|
20348
|
+
flowRunsQueueSizePerConnection: AlertType.flowRunsQueueSizePerConnection;
|
|
20349
|
+
eventsProcessingQueueSizePerConnection: AlertType.eventsProcessingQueueSizePerConnection;
|
|
20317
20350
|
parallelApiRequests: AlertType.parallelApiRequests;
|
|
20318
20351
|
testAlert: AlertType.testAlert;
|
|
20319
20352
|
}>;
|
|
@@ -20384,7 +20417,9 @@ declare enum WorkspaceSizeLimits {
|
|
|
20384
20417
|
TotalNumberOfConnections = "totalNumberOfConnections",
|
|
20385
20418
|
TotalNumberOfWorkspaceElements = "totalNumberOfWorkspaceElements",
|
|
20386
20419
|
InstantTasksQueueSize = "instantTasksQueueSize",
|
|
20387
|
-
QueuedTasksQueueSize = "queuedTasksQueueSize"
|
|
20420
|
+
QueuedTasksQueueSize = "queuedTasksQueueSize",
|
|
20421
|
+
FlowRunsQueueSizePerConnection = "flowRunsQueueSizePerConnection",
|
|
20422
|
+
EventsProcessingQueueSizePerConnection = "eventsProcessingQueueSizePerConnection"
|
|
20388
20423
|
}
|
|
20389
20424
|
declare enum CustomerLimits {
|
|
20390
20425
|
ParallelApiRequestsPerCustomer = "parallelApiRequestsPerCustomer",
|
|
@@ -20884,6 +20919,8 @@ declare const AppSchema: z$1.ZodObject<{
|
|
|
20884
20919
|
totalNumberOfWorkspaceElements: AlertType.totalNumberOfWorkspaceElements;
|
|
20885
20920
|
instantTasksQueueSize: AlertType.instantTasksQueueSize;
|
|
20886
20921
|
queuedTasksQueueSize: AlertType.queuedTasksQueueSize;
|
|
20922
|
+
flowRunsQueueSizePerConnection: AlertType.flowRunsQueueSizePerConnection;
|
|
20923
|
+
eventsProcessingQueueSizePerConnection: AlertType.eventsProcessingQueueSizePerConnection;
|
|
20887
20924
|
parallelApiRequests: AlertType.parallelApiRequests;
|
|
20888
20925
|
testAlert: AlertType.testAlert;
|
|
20889
20926
|
}>, z$1.ZodOptional<z$1.ZodObject<{
|
|
@@ -21149,6 +21186,8 @@ declare const Workspace: z$1.ZodObject<{
|
|
|
21149
21186
|
totalNumberOfWorkspaceElements: AlertType.totalNumberOfWorkspaceElements;
|
|
21150
21187
|
instantTasksQueueSize: AlertType.instantTasksQueueSize;
|
|
21151
21188
|
queuedTasksQueueSize: AlertType.queuedTasksQueueSize;
|
|
21189
|
+
flowRunsQueueSizePerConnection: AlertType.flowRunsQueueSizePerConnection;
|
|
21190
|
+
eventsProcessingQueueSizePerConnection: AlertType.eventsProcessingQueueSizePerConnection;
|
|
21152
21191
|
parallelApiRequests: AlertType.parallelApiRequests;
|
|
21153
21192
|
testAlert: AlertType.testAlert;
|
|
21154
21193
|
}>, z$1.ZodOptional<z$1.ZodObject<{
|
|
@@ -21897,6 +21936,8 @@ declare const AccountResponse: z.ZodObject<{
|
|
|
21897
21936
|
totalNumberOfWorkspaceElements: AlertType.totalNumberOfWorkspaceElements;
|
|
21898
21937
|
instantTasksQueueSize: AlertType.instantTasksQueueSize;
|
|
21899
21938
|
queuedTasksQueueSize: AlertType.queuedTasksQueueSize;
|
|
21939
|
+
flowRunsQueueSizePerConnection: AlertType.flowRunsQueueSizePerConnection;
|
|
21940
|
+
eventsProcessingQueueSizePerConnection: AlertType.eventsProcessingQueueSizePerConnection;
|
|
21900
21941
|
parallelApiRequests: AlertType.parallelApiRequests;
|
|
21901
21942
|
testAlert: AlertType.testAlert;
|
|
21902
21943
|
}>, z.ZodOptional<z.ZodObject<{
|
|
@@ -22680,31 +22721,33 @@ declare const StatsFilterQuery: z.ZodObject<{
|
|
|
22680
22721
|
tenantId: z.ZodOptional<z.ZodString>;
|
|
22681
22722
|
integrationId: z.ZodOptional<z.ZodString>;
|
|
22682
22723
|
connectionId: z.ZodOptional<z.ZodString>;
|
|
22724
|
+
externalAppId: z.ZodOptional<z.ZodString>;
|
|
22683
22725
|
}, z.core.$strip>;
|
|
22684
22726
|
type StatsFilterQuery = z.infer<typeof StatsFilterQuery>;
|
|
22685
22727
|
declare const ActivityStatsQuery: z.ZodObject<{
|
|
22686
22728
|
tenantId: z.ZodOptional<z.ZodString>;
|
|
22687
22729
|
integrationId: z.ZodOptional<z.ZodString>;
|
|
22688
22730
|
connectionId: z.ZodOptional<z.ZodString>;
|
|
22731
|
+
externalAppId: z.ZodOptional<z.ZodString>;
|
|
22689
22732
|
startDatetime: z.ZodString;
|
|
22733
|
+
elementType: z.ZodOptional<z.ZodEnum<typeof WorkspaceElementType>>;
|
|
22690
22734
|
}, z.core.$strip>;
|
|
22691
22735
|
type ActivityStatsQuery = z.infer<typeof ActivityStatsQuery>;
|
|
22692
22736
|
declare const IntegrationLayerStatsQuery: z.ZodObject<{
|
|
22693
22737
|
tenantId: z.ZodOptional<z.ZodString>;
|
|
22694
22738
|
integrationId: z.ZodOptional<z.ZodString>;
|
|
22695
22739
|
connectionId: z.ZodOptional<z.ZodString>;
|
|
22740
|
+
externalAppId: z.ZodOptional<z.ZodString>;
|
|
22741
|
+
elementType: z.ZodOptional<z.ZodEnum<typeof WorkspaceElementType>>;
|
|
22696
22742
|
}, z.core.$strip>;
|
|
22697
22743
|
type IntegrationLayerStatsQuery = z.infer<typeof IntegrationLayerStatsQuery>;
|
|
22698
22744
|
declare const ActionRunsStatsQuery: z.ZodObject<{
|
|
22699
|
-
actionId: z.
|
|
22700
|
-
connectionActionId: z.ZodOptional<z.ZodString>;
|
|
22745
|
+
actionId: z.ZodString;
|
|
22701
22746
|
startDatetime: z.ZodString;
|
|
22702
22747
|
}, z.core.$strip>;
|
|
22703
22748
|
type ActionRunsStatsQuery = z.infer<typeof ActionRunsStatsQuery>;
|
|
22704
22749
|
declare const FlowRunsStatsQuery: z.ZodObject<{
|
|
22705
|
-
|
|
22706
|
-
connectionFlowId: z.ZodOptional<z.ZodString>;
|
|
22707
|
-
universalFlowId: z.ZodOptional<z.ZodString>;
|
|
22750
|
+
flowId: z.ZodString;
|
|
22708
22751
|
startDatetime: z.ZodString;
|
|
22709
22752
|
}, z.core.$strip>;
|
|
22710
22753
|
type FlowRunsStatsQuery = z.infer<typeof FlowRunsStatsQuery>;
|
|
@@ -23118,6 +23161,7 @@ declare const AgentSession: z.ZodObject<{
|
|
|
23118
23161
|
hasWorker: z.ZodBoolean;
|
|
23119
23162
|
isExternal: z.ZodOptional<z.ZodBoolean>;
|
|
23120
23163
|
agentName: z.ZodOptional<z.ZodEnum<typeof AgentName>>;
|
|
23164
|
+
output: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
23121
23165
|
createdAt: z.ZodISODateTime;
|
|
23122
23166
|
updatedAt: z.ZodISODateTime;
|
|
23123
23167
|
}, z.core.$strip>;
|
|
@@ -23145,6 +23189,7 @@ declare const PatchAgentSessionSchema: z.ZodObject<{
|
|
|
23145
23189
|
cost: z.ZodOptional<z.ZodNumber>;
|
|
23146
23190
|
error: z.ZodOptional<z.ZodType<ErrorDataSchema, unknown, z.core.$ZodTypeInternals<ErrorDataSchema, unknown>>>;
|
|
23147
23191
|
opencodeSessionUuid: z.ZodOptional<z.ZodString>;
|
|
23192
|
+
output: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
23148
23193
|
status: z.ZodOptional<z.ZodEnum<typeof AgentSessionStatus>>;
|
|
23149
23194
|
}, z.core.$strip>;
|
|
23150
23195
|
type PatchAgentSession = z.infer<typeof PatchAgentSessionSchema>;
|
|
@@ -23456,9 +23501,9 @@ type ValidateSelfHostingTokenResponse = z.infer<typeof ValidateSelfHostingTokenR
|
|
|
23456
23501
|
declare const CLIENT_TOKEN_GRANT_TYPES: readonly ["mcp-oauth", "cli-oauth", "agent-session", "api"];
|
|
23457
23502
|
declare const ClientTokenGrantType: z.ZodEnum<{
|
|
23458
23503
|
api: "api";
|
|
23504
|
+
"agent-session": "agent-session";
|
|
23459
23505
|
"mcp-oauth": "mcp-oauth";
|
|
23460
23506
|
"cli-oauth": "cli-oauth";
|
|
23461
|
-
"agent-session": "agent-session";
|
|
23462
23507
|
}>;
|
|
23463
23508
|
type ClientTokenGrantType = z.infer<typeof ClientTokenGrantType>;
|
|
23464
23509
|
declare const ClientToken: z.ZodObject<{
|
|
@@ -23468,9 +23513,9 @@ declare const ClientToken: z.ZodObject<{
|
|
|
23468
23513
|
tenantId: z.ZodOptional<z.ZodString>;
|
|
23469
23514
|
grantType: z.ZodEnum<{
|
|
23470
23515
|
api: "api";
|
|
23516
|
+
"agent-session": "agent-session";
|
|
23471
23517
|
"mcp-oauth": "mcp-oauth";
|
|
23472
23518
|
"cli-oauth": "cli-oauth";
|
|
23473
|
-
"agent-session": "agent-session";
|
|
23474
23519
|
}>;
|
|
23475
23520
|
grantId: z.ZodOptional<z.ZodString>;
|
|
23476
23521
|
grantName: z.ZodOptional<z.ZodString>;
|
|
@@ -23485,9 +23530,9 @@ declare const CreateClientTokenResponse: z.ZodObject<{
|
|
|
23485
23530
|
tenantId: z.ZodOptional<z.ZodString>;
|
|
23486
23531
|
grantType: z.ZodEnum<{
|
|
23487
23532
|
api: "api";
|
|
23533
|
+
"agent-session": "agent-session";
|
|
23488
23534
|
"mcp-oauth": "mcp-oauth";
|
|
23489
23535
|
"cli-oauth": "cli-oauth";
|
|
23490
|
-
"agent-session": "agent-session";
|
|
23491
23536
|
}>;
|
|
23492
23537
|
grantId: z.ZodOptional<z.ZodString>;
|
|
23493
23538
|
grantName: z.ZodOptional<z.ZodString>;
|
|
@@ -23499,9 +23544,9 @@ type CreateClientTokenResponse = z.infer<typeof CreateClientTokenResponse>;
|
|
|
23499
23544
|
declare const CreateClientTokenRequest: z.ZodObject<{
|
|
23500
23545
|
grantType: z.ZodEnum<{
|
|
23501
23546
|
api: "api";
|
|
23547
|
+
"agent-session": "agent-session";
|
|
23502
23548
|
"mcp-oauth": "mcp-oauth";
|
|
23503
23549
|
"cli-oauth": "cli-oauth";
|
|
23504
|
-
"agent-session": "agent-session";
|
|
23505
23550
|
}>;
|
|
23506
23551
|
grantId: z.ZodString;
|
|
23507
23552
|
grantName: z.ZodString;
|
|
@@ -23517,9 +23562,9 @@ declare const ClientTokenListResponse: z.ZodObject<{
|
|
|
23517
23562
|
tenantId: z.ZodOptional<z.ZodString>;
|
|
23518
23563
|
grantType: z.ZodEnum<{
|
|
23519
23564
|
api: "api";
|
|
23565
|
+
"agent-session": "agent-session";
|
|
23520
23566
|
"mcp-oauth": "mcp-oauth";
|
|
23521
23567
|
"cli-oauth": "cli-oauth";
|
|
23522
|
-
"agent-session": "agent-session";
|
|
23523
23568
|
}>;
|
|
23524
23569
|
grantId: z.ZodOptional<z.ZodString>;
|
|
23525
23570
|
grantName: z.ZodOptional<z.ZodString>;
|
|
@@ -23613,10 +23658,15 @@ declare const ListClustersQuery: z.ZodObject<{
|
|
|
23613
23658
|
}, z.core.$strip>;
|
|
23614
23659
|
type ListClustersQuery = z.infer<typeof ListClustersQuery>;
|
|
23615
23660
|
|
|
23661
|
+
interface UNSAFE_AgentSessionUIOptions {
|
|
23662
|
+
sessionId: string;
|
|
23663
|
+
theme?: 'light' | 'dark' | 'auto';
|
|
23664
|
+
}
|
|
23616
23665
|
declare class UI {
|
|
23617
23666
|
private client;
|
|
23618
23667
|
constructor(client: MembraneApiClient);
|
|
23619
23668
|
connect(options?: ConnectUIOptions): Promise<ConnectionApiResponse | null>;
|
|
23669
|
+
UNSAFE_agentSession(options: UNSAFE_AgentSessionUIOptions): Promise<void>;
|
|
23620
23670
|
}
|
|
23621
23671
|
|
|
23622
23672
|
interface OpenMembraneConfigurationOptions extends OpenConfigurationOptions {
|