@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
|
@@ -81,26 +81,24 @@ export declare const IntegrationEditableProperties: z.ZodObject<{
|
|
|
81
81
|
}, z.core.$strip>;
|
|
82
82
|
export type IntegrationEditableProperties = z.infer<typeof IntegrationEditableProperties>;
|
|
83
83
|
export declare const IntegrationExportProperties: z.ZodObject<{
|
|
84
|
-
uuid: z.ZodOptional<z.ZodString>;
|
|
85
84
|
key: z.ZodOptional<z.ZodString>;
|
|
86
|
-
name: z.ZodOptional<z.ZodString>;
|
|
87
85
|
description: z.ZodOptional<z.ZodString>;
|
|
86
|
+
name: z.ZodOptional<z.ZodString>;
|
|
87
|
+
uuid: z.ZodOptional<z.ZodString>;
|
|
88
88
|
meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
89
|
+
parameters: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
89
90
|
logoUri: z.ZodOptional<z.ZodString>;
|
|
90
|
-
externalAppId: z.ZodOptional<z.ZodString>;
|
|
91
|
-
externalAppUuid: z.ZodOptional<z.ZodString>;
|
|
92
91
|
appUuid: z.ZodOptional<z.ZodString>;
|
|
93
|
-
oAuthCallbackUri: z.ZodOptional<z.ZodUnion<[z.ZodURL, z.ZodLiteral<"">]>>;
|
|
94
|
-
logoBase64: z.ZodOptional<z.ZodString>;
|
|
95
92
|
connectorVersion: z.ZodOptional<z.ZodString>;
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
connectorKey: z.ZodOptional<z.ZodString>;
|
|
99
|
-
parameters: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
93
|
+
oAuthCallbackUri: z.ZodOptional<z.ZodUnion<[z.ZodURL, z.ZodLiteral<"">]>>;
|
|
94
|
+
externalAppUuid: z.ZodOptional<z.ZodString>;
|
|
100
95
|
optionsConfig: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
101
96
|
disabled: z.ZodOptional<z.ZodBoolean>;
|
|
102
97
|
parameters: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
103
98
|
}, z.core.$strip>>>;
|
|
99
|
+
logoBase64: z.ZodOptional<z.ZodString>;
|
|
100
|
+
connectorUuid: z.ZodOptional<z.ZodString>;
|
|
101
|
+
connectorKey: z.ZodOptional<z.ZodString>;
|
|
104
102
|
}, z.core.$strip>;
|
|
105
103
|
export type IntegrationExportProperties = z.infer<typeof IntegrationExportProperties>;
|
|
106
104
|
export type IntegrationAuthOptionLegacy = ConnectorAuthSpec & {
|
|
@@ -37,6 +37,8 @@ export declare enum WorkspaceElementType {
|
|
|
37
37
|
ExternalEventPull = "external-event-pull",
|
|
38
38
|
Screen = "screen",
|
|
39
39
|
ActionRunLogRecord = "action-run-log-record",
|
|
40
|
+
ExternalApiLogRecord = "external-api-log-record",
|
|
41
|
+
IncomingWebhookLogRecord = "incoming-webhook-log-record",
|
|
40
42
|
ConnectedProduct = "connected-product"
|
|
41
43
|
}
|
|
42
44
|
export declare enum WorkspaceEventType {
|
|
@@ -224,6 +226,7 @@ export declare const ActivityLogRecord: z.ZodObject<{
|
|
|
224
226
|
id: z.ZodString;
|
|
225
227
|
integrationId: z.ZodOptional<z.ZodString>;
|
|
226
228
|
connectionId: z.ZodOptional<z.ZodString>;
|
|
229
|
+
externalAppId: z.ZodOptional<z.ZodString>;
|
|
227
230
|
}, z.core.$strip>;
|
|
228
231
|
export type ActivityLogRecord = z.infer<typeof ActivityLogRecord>;
|
|
229
232
|
export interface WorkspaceElementReference {
|
|
@@ -24,6 +24,9 @@ export interface WorkspaceElementSpec {
|
|
|
24
24
|
hasUuid?: boolean;
|
|
25
25
|
hasPublicLayer?: boolean;
|
|
26
26
|
isProOnly?: boolean;
|
|
27
|
+
statsKey?: string;
|
|
28
|
+
relatedIntegrationLayerElements?: WorkspaceElementType[];
|
|
29
|
+
relatedActivityLogElements?: WorkspaceElementType[];
|
|
27
30
|
}
|
|
28
31
|
export interface WorkspaceElements {
|
|
29
32
|
flows?: Record<string, CreateFlowRequest>;
|
|
@@ -43,7 +43,9 @@ export declare enum WorkspaceSizeLimits {
|
|
|
43
43
|
TotalNumberOfConnections = "totalNumberOfConnections",
|
|
44
44
|
TotalNumberOfWorkspaceElements = "totalNumberOfWorkspaceElements",
|
|
45
45
|
InstantTasksQueueSize = "instantTasksQueueSize",
|
|
46
|
-
QueuedTasksQueueSize = "queuedTasksQueueSize"
|
|
46
|
+
QueuedTasksQueueSize = "queuedTasksQueueSize",
|
|
47
|
+
FlowRunsQueueSizePerConnection = "flowRunsQueueSizePerConnection",
|
|
48
|
+
EventsProcessingQueueSizePerConnection = "eventsProcessingQueueSizePerConnection"
|
|
47
49
|
}
|
|
48
50
|
export declare enum CustomerLimits {
|
|
49
51
|
ParallelApiRequestsPerCustomer = "parallelApiRequestsPerCustomer",
|
|
@@ -543,6 +545,8 @@ export declare const Workspace: z.ZodObject<{
|
|
|
543
545
|
totalNumberOfWorkspaceElements: import("../alerts").AlertType.totalNumberOfWorkspaceElements;
|
|
544
546
|
instantTasksQueueSize: import("../alerts").AlertType.instantTasksQueueSize;
|
|
545
547
|
queuedTasksQueueSize: import("../alerts").AlertType.queuedTasksQueueSize;
|
|
548
|
+
flowRunsQueueSizePerConnection: import("../alerts").AlertType.flowRunsQueueSizePerConnection;
|
|
549
|
+
eventsProcessingQueueSizePerConnection: import("../alerts").AlertType.eventsProcessingQueueSizePerConnection;
|
|
546
550
|
parallelApiRequests: import("../alerts").AlertType.parallelApiRequests;
|
|
547
551
|
testAlert: import("../alerts").AlertType.testAlert;
|
|
548
552
|
}>, z.ZodOptional<z.ZodObject<{
|
|
@@ -808,6 +812,8 @@ export declare const AppSchema: z.ZodObject<{
|
|
|
808
812
|
totalNumberOfWorkspaceElements: import("../alerts").AlertType.totalNumberOfWorkspaceElements;
|
|
809
813
|
instantTasksQueueSize: import("../alerts").AlertType.instantTasksQueueSize;
|
|
810
814
|
queuedTasksQueueSize: import("../alerts").AlertType.queuedTasksQueueSize;
|
|
815
|
+
flowRunsQueueSizePerConnection: import("../alerts").AlertType.flowRunsQueueSizePerConnection;
|
|
816
|
+
eventsProcessingQueueSizePerConnection: import("../alerts").AlertType.eventsProcessingQueueSizePerConnection;
|
|
811
817
|
parallelApiRequests: import("../alerts").AlertType.parallelApiRequests;
|
|
812
818
|
testAlert: import("../alerts").AlertType.testAlert;
|
|
813
819
|
}>, z.ZodOptional<z.ZodObject<{
|