@membranehq/sdk 0.8.4 → 0.9.0
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 +423 -293
- package/dist/bundle.js +142 -103
- package/dist/bundle.js.map +1 -1
- package/dist/dts/accessors/action-instances-accessors.d.ts +1 -16
- package/dist/dts/accessors/actions-accessors.d.ts +26 -7
- package/dist/dts/accessors/actions-accessors.test.d.ts +1 -0
- package/dist/dts/accessors/connections-accessors.d.ts +7 -5
- package/dist/dts/accessors/integrations-accessors.d.ts +7 -5
- package/dist/dts/agent/index.d.ts +2 -0
- package/dist/dts/agent/mcp.d.ts +6 -0
- package/dist/dts/agent/session.d.ts +4 -1
- package/dist/dts/alerts/types.d.ts +2 -1
- package/dist/dts/api-version.generated.d.ts +10 -0
- package/dist/dts/apps/types.d.ts +371 -0
- package/dist/dts/entity-repository.d.ts +0 -1
- package/dist/dts/errors/index.d.ts +5 -1
- package/dist/dts/formulas/dataSchemaRef.d.ts +3 -3
- package/dist/dts/index.browser.d.ts +4 -2
- package/dist/dts/orgs/types.d.ts +342 -3
- package/dist/dts/platform-users.d.ts +24 -0
- package/dist/dts/usage/types.d.ts +4 -2
- package/dist/dts/validation/types.d.ts +2 -0
- package/dist/dts/workspace-elements/api/action-run-log-records-api.d.ts +15 -11
- package/dist/dts/workspace-elements/api/actions-api.d.ts +57 -55
- package/dist/dts/workspace-elements/api/app-data-schema-instances-api.d.ts +5 -5
- package/dist/dts/workspace-elements/api/app-data-schemas-api.d.ts +2 -2
- package/dist/dts/workspace-elements/api/app-event-log-records-api.d.ts +9 -8
- package/dist/dts/workspace-elements/api/app-event-subscriptions-api.d.ts +9 -8
- package/dist/dts/workspace-elements/api/app-event-types-api.d.ts +3 -2
- package/dist/dts/workspace-elements/api/connections-api.d.ts +9 -3
- package/dist/dts/workspace-elements/api/data-link-table-instances-api.d.ts +9 -7
- package/dist/dts/workspace-elements/api/data-link-tables-api.d.ts +2 -2
- package/dist/dts/workspace-elements/api/data-source-instances-api.d.ts +11 -8
- package/dist/dts/workspace-elements/api/data-sources-api.d.ts +10 -6
- package/dist/dts/workspace-elements/api/external-event-log-records-api.d.ts +10 -7
- package/dist/dts/workspace-elements/api/external-event-pulls-api.d.ts +10 -7
- package/dist/dts/workspace-elements/api/external-event-subscriptions-api.d.ts +9 -6
- package/dist/dts/workspace-elements/api/external-events-api.d.ts +8 -6
- package/dist/dts/workspace-elements/api/field-mapping-instances-api.d.ts +24 -19
- package/dist/dts/workspace-elements/api/field-mappings-api.d.ts +14 -14
- package/dist/dts/workspace-elements/api/flow-runs-api.d.ts +18 -14
- package/dist/dts/workspace-elements/api/flows-api.d.ts +133 -29
- package/dist/dts/workspace-elements/api/integrations-api.d.ts +5 -3
- package/dist/dts/workspace-elements/api/packages-api.d.ts +30 -18
- package/dist/dts/workspace-elements/base/action-instances/types.d.ts +7 -7
- package/dist/dts/workspace-elements/base/action-run-log-records/types.d.ts +2 -0
- package/dist/dts/workspace-elements/base/actions/index.d.ts +30 -14
- package/dist/dts/workspace-elements/base/app-data-schema-instances/types.d.ts +1 -1
- package/dist/dts/workspace-elements/base/app-data-schemas/types.d.ts +2 -2
- package/dist/dts/workspace-elements/base/app-event-subscriptions/types.d.ts +2 -2
- package/dist/dts/workspace-elements/base/app-event-types/types.d.ts +3 -2
- package/dist/dts/workspace-elements/base/connections/types.d.ts +2 -0
- package/dist/dts/workspace-elements/base/connectors/types.d.ts +2 -0
- package/dist/dts/workspace-elements/base/data-link-table-instances/types.d.ts +2 -2
- package/dist/dts/workspace-elements/base/data-link-tables/types.d.ts +2 -2
- package/dist/dts/workspace-elements/base/data-source-instances/types.d.ts +3 -3
- package/dist/dts/workspace-elements/base/data-sources/index.d.ts +22 -3
- package/dist/dts/workspace-elements/base/external-event-subscriptions/types.d.ts +6 -4
- package/dist/dts/workspace-elements/base/external-events/types.d.ts +6 -4
- package/dist/dts/workspace-elements/base/field-mapping-instances/types.d.ts +1 -1
- package/dist/dts/workspace-elements/base/field-mappings/index.d.ts +23 -3
- package/dist/dts/workspace-elements/base/flow-instances/types.d.ts +1 -1
- package/dist/dts/workspace-elements/base/flows/index.d.ts +45 -3
- package/dist/dts/workspace-elements/base/integrations/types.d.ts +18 -4
- package/dist/dts/workspace-elements/base/packages/index.d.ts +35 -8
- package/dist/dts/workspace-elements/compare.d.ts +16 -0
- package/dist/dts/workspace-elements/compare.test.d.ts +1 -0
- package/dist/dts/workspace-elements/index.d.ts +1 -0
- package/dist/dts/workspace-elements/paths.d.ts +8 -0
- package/dist/dts/workspace-elements/paths.test.d.ts +1 -0
- package/dist/dts/workspace-elements/types.d.ts +21 -9
- package/dist/dts/workspace-elements-catalog/index.d.ts +1 -0
- package/dist/dts/workspaces/index.d.ts +1 -0
- package/dist/dts/workspaces/schemas.d.ts +24 -0
- package/dist/dts/workspaces/types.d.ts +3 -9
- package/dist/index.browser.d.mts +9626 -8664
- package/dist/index.browser.d.ts +9626 -8664
- package/dist/index.browser.js +526 -273
- package/dist/index.browser.js.map +1 -1
- package/dist/index.browser.mjs +502 -273
- package/dist/index.browser.mjs.map +1 -1
- package/dist/index.node.d.mts +9647 -8685
- package/dist/index.node.d.ts +9647 -8685
- package/dist/index.node.js +526 -273
- package/dist/index.node.js.map +1 -1
- package/dist/index.node.mjs +502 -273
- package/dist/index.node.mjs.map +1 -1
- package/package.json +2 -1
- package/dist/dts/connector-copilot/types.d.ts +0 -160
- package/dist/dts/index.d.ts +0 -34
- /package/dist/dts/{connector-copilot → validation}/index.d.ts +0 -0
|
@@ -1,9 +1,7 @@
|
|
|
1
1
|
import { MembraneApiClient } from '../api-client';
|
|
2
2
|
import { OpenConfigurationOptions } from '../iframe';
|
|
3
3
|
import { ElementInstanceAccessor, ElementInstanceListAccessor } from './base-accessors';
|
|
4
|
-
import {
|
|
5
|
-
import { ConnectionLevelElementAccessor, ConnectionLevelElementsListAccessor } from '../integration-elements/connection-level-element.accessor';
|
|
6
|
-
import { ActionInstance, ActionInstanceSelector, CreateActionInstanceRequest, FindActionInstancesQuery, ListActionInstancesForConnectionQuery, UpdateActionInstanceRequest, ActionRunResponse } from '../workspace-elements/api/actions-api';
|
|
4
|
+
import { ActionInstance, ActionInstanceSelector, CreateActionInstanceRequest, FindActionInstancesQuery, UpdateActionInstanceRequest, ActionRunResponse } from '../workspace-elements/api/actions-api';
|
|
7
5
|
export interface OpenActionConfigurationOptions extends OpenConfigurationOptions {
|
|
8
6
|
}
|
|
9
7
|
export declare class ActionInstancesAccessor extends ElementInstanceListAccessor<ActionInstance, FindActionInstancesQuery> {
|
|
@@ -17,16 +15,3 @@ export declare class ActionInstanceAccessor extends ElementInstanceAccessor<Acti
|
|
|
17
15
|
run(input?: any): Promise<ActionRunResponse>;
|
|
18
16
|
open({ onClose }?: OpenActionConfigurationOptions): Promise<void>;
|
|
19
17
|
}
|
|
20
|
-
export declare class ConnectionLevelActionAccessor extends ConnectionLevelElementAccessor<ActionInstance, UpdateActionInstanceRequest> {
|
|
21
|
-
client: MembraneApiClient;
|
|
22
|
-
connectionSelector: string;
|
|
23
|
-
actionSelector: string;
|
|
24
|
-
query: InstanceKeyQuery;
|
|
25
|
-
constructor(client: MembraneApiClient, connectionSelector: string, actionSelector: string, query: InstanceKeyQuery);
|
|
26
|
-
run(input?: any): Promise<ActionRunResponse>;
|
|
27
|
-
}
|
|
28
|
-
export declare class ConnectionLevelActionsAccessor extends ConnectionLevelElementsListAccessor<ActionInstance, ListActionInstancesForConnectionQuery> {
|
|
29
|
-
client: MembraneApiClient;
|
|
30
|
-
connectionSelector: string;
|
|
31
|
-
constructor(client: MembraneApiClient, connectionSelector: string);
|
|
32
|
-
}
|
|
@@ -1,22 +1,41 @@
|
|
|
1
1
|
import { MembraneApiClient } from '../api-client';
|
|
2
|
-
import { ElementAccessor, ElementListAccessor } from './base-accessors';
|
|
2
|
+
import { ElementAccessor, ElementListAccessor, IntegrationSpecificElementSelector } from './base-accessors';
|
|
3
|
+
import { InstanceKeyQuery } from '../integration-elements/common';
|
|
4
|
+
import { ConnectionLevelElementAccessor, ConnectionLevelElementsListAccessor } from '../integration-elements/connection-level-element.accessor';
|
|
3
5
|
import { IntegrationLevelElementAccessor, IntegrationLevelElementsListAccessor } from '../integration-elements/integration-level-element.accessor';
|
|
4
|
-
import {
|
|
5
|
-
export declare class ActionsAccessor extends ElementListAccessor<
|
|
6
|
+
import { ActionApiResponse, ActionInstanceApiResponse, ActionRunResponse, CreateActionRequest, FindActionsQuery, UpdateActionInstanceRequest, UpdateActionRequest } from '../workspace-elements/api/actions-api';
|
|
7
|
+
export declare class ActionsAccessor extends ElementListAccessor<ActionApiResponse, FindActionsQuery, CreateActionRequest> {
|
|
6
8
|
constructor(client: MembraneApiClient);
|
|
7
9
|
}
|
|
8
|
-
export declare class ActionAccessor extends ElementAccessor<
|
|
9
|
-
constructor(client: MembraneApiClient, selector:
|
|
10
|
+
export declare class ActionAccessor<RunInput = any, RunOutput = any> extends ElementAccessor<ActionApiResponse, UpdateActionRequest, IntegrationSpecificElementSelector> {
|
|
11
|
+
constructor(client: MembraneApiClient, selector: IntegrationSpecificElementSelector | string);
|
|
10
12
|
reset(): Promise<any>;
|
|
13
|
+
run(input?: RunInput, options?: {
|
|
14
|
+
integrationKey?: string;
|
|
15
|
+
connectionId?: string;
|
|
16
|
+
}): Promise<ActionRunResponse<RunOutput>>;
|
|
11
17
|
}
|
|
12
|
-
export declare class IntegrationLevelActionAccessor extends IntegrationLevelElementAccessor<
|
|
18
|
+
export declare class IntegrationLevelActionAccessor extends IntegrationLevelElementAccessor<ActionApiResponse, UpdateActionRequest> {
|
|
13
19
|
client: MembraneApiClient;
|
|
14
20
|
integrationSelector: string;
|
|
15
21
|
actionSelector: string;
|
|
16
22
|
constructor(client: MembraneApiClient, integrationSelector: string, actionSelector: string);
|
|
17
23
|
}
|
|
18
|
-
export declare class IntegrationLevelActionsListAccessor extends IntegrationLevelElementsListAccessor<
|
|
24
|
+
export declare class IntegrationLevelActionsListAccessor extends IntegrationLevelElementsListAccessor<ActionApiResponse, Omit<FindActionsQuery, 'integrationId'>, Omit<CreateActionRequest, 'integrationId'>> {
|
|
19
25
|
client: MembraneApiClient;
|
|
20
26
|
integrationSelector: string;
|
|
21
27
|
constructor(client: MembraneApiClient, integrationSelector: string);
|
|
22
28
|
}
|
|
29
|
+
export declare class ConnectionLevelActionAccessor<RunInput = any, RunOutput = any> extends ConnectionLevelElementAccessor<ActionInstanceApiResponse, UpdateActionInstanceRequest> {
|
|
30
|
+
client: MembraneApiClient;
|
|
31
|
+
connectionSelector: string;
|
|
32
|
+
actionSelector: string;
|
|
33
|
+
query: InstanceKeyQuery;
|
|
34
|
+
constructor(client: MembraneApiClient, connectionSelector: string, actionSelector: string, query: InstanceKeyQuery);
|
|
35
|
+
run(input?: RunInput): Promise<ActionRunResponse<RunOutput>>;
|
|
36
|
+
}
|
|
37
|
+
export declare class ConnectionLevelActionsAccessor extends ConnectionLevelElementsListAccessor<ActionInstanceApiResponse, FindActionsQuery> {
|
|
38
|
+
client: MembraneApiClient;
|
|
39
|
+
connectionSelector: string;
|
|
40
|
+
constructor(client: MembraneApiClient, connectionSelector: string);
|
|
41
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ConnectionLevelActionAccessor, ConnectionLevelActionsAccessor } from './
|
|
1
|
+
import { ConnectionLevelActionAccessor, ConnectionLevelActionsAccessor } from './actions-accessors';
|
|
2
2
|
import { ElementInstanceListAccessor } from './base-accessors';
|
|
3
3
|
import { ConnectionLevelDataSourceAccessor, ConnectionLevelDataSourcesAccessor } from './data-sources-accessors';
|
|
4
4
|
import { ConnectionLevelFieldMappingAccessor, ConnectionLevelFieldMappingsAccessor } from './field-mapping-instances-accessors';
|
|
@@ -19,7 +19,7 @@ export declare class ConnectionAccessor {
|
|
|
19
19
|
connectionSelector: string;
|
|
20
20
|
constructor(client: MembraneApiClient, connectionSelector: string);
|
|
21
21
|
get actions(): ConnectionLevelActionsAccessor;
|
|
22
|
-
action(actionSelector: string, query?: InstanceKeyQuery): ConnectionLevelActionAccessor
|
|
22
|
+
action(actionSelector: string, query?: InstanceKeyQuery): ConnectionLevelActionAccessor<any, any>;
|
|
23
23
|
get flows(): ConnectionLevelFlowsAccessor;
|
|
24
24
|
flow(flowSelector: string, query?: InstanceKeyQuery): ConnectionLevelFlowAccessor;
|
|
25
25
|
get dataSources(): ConnectionLevelDataSourcesAccessor;
|
|
@@ -50,11 +50,13 @@ export declare class ConnectionAccessor {
|
|
|
50
50
|
isTest?: boolean | undefined;
|
|
51
51
|
disconnected?: boolean | undefined;
|
|
52
52
|
isDefunct?: boolean | undefined;
|
|
53
|
-
state?: import("
|
|
53
|
+
state?: import("../workspace-elements").WorkspaceElementState | undefined;
|
|
54
54
|
error?: import("../errors").ErrorDataSchema | undefined;
|
|
55
55
|
authOptionKey?: string | undefined;
|
|
56
56
|
lastActiveAt?: string | undefined;
|
|
57
57
|
nextCredentialsRefreshAt?: string | undefined;
|
|
58
|
+
nextRetryTimestamp?: string | undefined;
|
|
59
|
+
retryAttempts?: number | undefined;
|
|
58
60
|
archivedAt?: string | undefined;
|
|
59
61
|
isDeactivated?: boolean | undefined;
|
|
60
62
|
meta?: Record<string, any> | undefined;
|
|
@@ -75,11 +77,11 @@ export declare class ConnectionAccessor {
|
|
|
75
77
|
id: string;
|
|
76
78
|
name: string;
|
|
77
79
|
logoUri: string;
|
|
78
|
-
key?: string | undefined;
|
|
79
80
|
uuid?: string | undefined;
|
|
81
|
+
key?: string | undefined;
|
|
80
82
|
description?: string | undefined;
|
|
81
83
|
meta?: Record<string, any> | undefined;
|
|
82
|
-
state?: import("
|
|
84
|
+
state?: import("../workspace-elements").WorkspaceElementState | undefined;
|
|
83
85
|
errors?: import("../errors").ErrorDataSchema[] | undefined;
|
|
84
86
|
revision?: string | undefined;
|
|
85
87
|
createdAt?: string | undefined;
|
|
@@ -54,11 +54,13 @@ export declare class IntegrationAccessor extends ElementAccessor<Integration, Up
|
|
|
54
54
|
isTest?: boolean | undefined;
|
|
55
55
|
disconnected?: boolean | undefined;
|
|
56
56
|
isDefunct?: boolean | undefined;
|
|
57
|
-
state?: import("
|
|
58
|
-
error?: import("
|
|
57
|
+
state?: import("../workspace-elements").WorkspaceElementState | undefined;
|
|
58
|
+
error?: import("../errors").ErrorDataSchema | undefined;
|
|
59
59
|
authOptionKey?: string | undefined;
|
|
60
60
|
lastActiveAt?: string | undefined;
|
|
61
61
|
nextCredentialsRefreshAt?: string | undefined;
|
|
62
|
+
nextRetryTimestamp?: string | undefined;
|
|
63
|
+
retryAttempts?: number | undefined;
|
|
62
64
|
archivedAt?: string | undefined;
|
|
63
65
|
isDeactivated?: boolean | undefined;
|
|
64
66
|
meta?: Record<string, any> | undefined;
|
|
@@ -79,12 +81,12 @@ export declare class IntegrationAccessor extends ElementAccessor<Integration, Up
|
|
|
79
81
|
id: string;
|
|
80
82
|
name: string;
|
|
81
83
|
logoUri: string;
|
|
82
|
-
key?: string | undefined;
|
|
83
84
|
uuid?: string | undefined;
|
|
85
|
+
key?: string | undefined;
|
|
84
86
|
description?: string | undefined;
|
|
85
87
|
meta?: Record<string, any> | undefined;
|
|
86
|
-
state?: import("
|
|
87
|
-
errors?: import("
|
|
88
|
+
state?: import("../workspace-elements").WorkspaceElementState | undefined;
|
|
89
|
+
errors?: import("../errors").ErrorDataSchema[] | undefined;
|
|
88
90
|
revision?: string | undefined;
|
|
89
91
|
createdAt?: string | undefined;
|
|
90
92
|
updatedAt?: string | undefined;
|
|
@@ -27,15 +27,18 @@ export declare const AgentSession: z.ZodObject<{
|
|
|
27
27
|
storedMessagesUri: z.ZodOptional<z.ZodString>;
|
|
28
28
|
sessionFilesZipUri: z.ZodOptional<z.ZodString>;
|
|
29
29
|
logs: z.ZodOptional<z.ZodArray<z.ZodAny>>;
|
|
30
|
+
usage: z.ZodOptional<z.ZodNumber>;
|
|
30
31
|
}, z.core.$strip>;
|
|
31
32
|
export type AgentSession = z.infer<typeof AgentSession>;
|
|
32
33
|
export declare const CreateAgentSession: z.ZodObject<{
|
|
33
34
|
workspaceElementType: z.ZodEnum<typeof WorkspaceElementType>;
|
|
34
35
|
workspaceElementId: z.ZodString;
|
|
35
36
|
prompt: z.ZodString;
|
|
37
|
+
testCustomerId: z.ZodOptional<z.ZodString>;
|
|
36
38
|
}, z.core.$strip>;
|
|
37
39
|
export type CreateAgentSession = z.infer<typeof CreateAgentSession>;
|
|
38
40
|
export declare const AgentSessionInputSchema: z.ZodObject<{
|
|
39
|
-
input: z.
|
|
41
|
+
input: z.ZodString;
|
|
42
|
+
synthetic: z.ZodOptional<z.ZodBoolean>;
|
|
40
43
|
}, z.core.$strip>;
|
|
41
44
|
export type AgentSessionInput = z.infer<typeof AgentSessionInputSchema>;
|
|
@@ -9,7 +9,8 @@ export declare enum AlertSeverity {
|
|
|
9
9
|
export declare enum AlertType {
|
|
10
10
|
externalEventsPerCustomerPerDay = "externalEventsPerCustomerPerDay",
|
|
11
11
|
totalUsagePerDay = "totalUsagePerDay",
|
|
12
|
-
totalUsagePer30Days = "totalUsagePer30Days"
|
|
12
|
+
totalUsagePer30Days = "totalUsagePer30Days",
|
|
13
|
+
membraneAgentUsagePer30Days = "membraneAgentUsagePer30Days"
|
|
13
14
|
}
|
|
14
15
|
export interface Alert {
|
|
15
16
|
id: string;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export declare const API_VERSIONS: {
|
|
2
|
+
readonly LEGACY: "legacy";
|
|
3
|
+
readonly '2025-10-21': "2025-10-21";
|
|
4
|
+
};
|
|
5
|
+
export type ApiVersion = (typeof API_VERSIONS)[keyof typeof API_VERSIONS];
|
|
6
|
+
export declare const AVAILABLE_VERSIONS: ("legacy" | "2025-10-21")[];
|
|
7
|
+
export declare const CHRONOLOGICAL_VERSIONS: readonly ApiVersion[];
|
|
8
|
+
export declare const LATEST_API_VERSION: ApiVersion;
|
|
9
|
+
export declare const DEFAULT_VERSION: "legacy";
|
|
10
|
+
export declare const VERSION_HEADER = "membrane-api-version";
|
package/dist/dts/apps/types.d.ts
CHANGED
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
import { LimitUnits, WorkspaceType } from '../workspaces/types';
|
|
1
3
|
export interface App {
|
|
2
4
|
id: string;
|
|
3
5
|
apiDocsUri: string;
|
|
@@ -18,3 +20,372 @@ export interface AppCategory {
|
|
|
18
20
|
count: number;
|
|
19
21
|
category: string;
|
|
20
22
|
}
|
|
23
|
+
export declare const WorkspaceLimitsSchema: z.ZodObject<{
|
|
24
|
+
parallelEventPulls: z.ZodOptional<z.ZodObject<{
|
|
25
|
+
value: z.ZodOptional<z.ZodNumber>;
|
|
26
|
+
defaultValue: z.ZodOptional<z.ZodNumber>;
|
|
27
|
+
unit: z.ZodEnum<typeof LimitUnits>;
|
|
28
|
+
}, z.core.$strip>>;
|
|
29
|
+
parallelIncrementalEventPullsPerConnection: z.ZodOptional<z.ZodObject<{
|
|
30
|
+
value: z.ZodOptional<z.ZodNumber>;
|
|
31
|
+
defaultValue: z.ZodOptional<z.ZodNumber>;
|
|
32
|
+
unit: z.ZodEnum<typeof LimitUnits>;
|
|
33
|
+
}, z.core.$strip>>;
|
|
34
|
+
parallelFullSyncEventPullsPerConnection: z.ZodOptional<z.ZodObject<{
|
|
35
|
+
value: z.ZodOptional<z.ZodNumber>;
|
|
36
|
+
defaultValue: z.ZodOptional<z.ZodNumber>;
|
|
37
|
+
unit: z.ZodEnum<typeof LimitUnits>;
|
|
38
|
+
}, z.core.$strip>>;
|
|
39
|
+
parallelFlowRuns: z.ZodOptional<z.ZodObject<{
|
|
40
|
+
value: z.ZodOptional<z.ZodNumber>;
|
|
41
|
+
defaultValue: z.ZodOptional<z.ZodNumber>;
|
|
42
|
+
unit: z.ZodEnum<typeof LimitUnits>;
|
|
43
|
+
}, z.core.$strip>>;
|
|
44
|
+
parallelFlowRunsPerConnection: z.ZodOptional<z.ZodObject<{
|
|
45
|
+
value: z.ZodOptional<z.ZodNumber>;
|
|
46
|
+
defaultValue: z.ZodOptional<z.ZodNumber>;
|
|
47
|
+
unit: z.ZodEnum<typeof LimitUnits>;
|
|
48
|
+
}, z.core.$strip>>;
|
|
49
|
+
parallelApiRequests: z.ZodOptional<z.ZodObject<{
|
|
50
|
+
value: z.ZodOptional<z.ZodNumber>;
|
|
51
|
+
defaultValue: z.ZodOptional<z.ZodNumber>;
|
|
52
|
+
unit: z.ZodEnum<typeof LimitUnits>;
|
|
53
|
+
}, z.core.$strip>>;
|
|
54
|
+
parallelSseRequests: z.ZodOptional<z.ZodObject<{
|
|
55
|
+
value: z.ZodOptional<z.ZodNumber>;
|
|
56
|
+
defaultValue: z.ZodOptional<z.ZodNumber>;
|
|
57
|
+
unit: z.ZodEnum<typeof LimitUnits>;
|
|
58
|
+
}, z.core.$strip>>;
|
|
59
|
+
parallelBackgroundJobs: z.ZodOptional<z.ZodObject<{
|
|
60
|
+
value: z.ZodOptional<z.ZodNumber>;
|
|
61
|
+
defaultValue: z.ZodOptional<z.ZodNumber>;
|
|
62
|
+
unit: z.ZodEnum<typeof LimitUnits>;
|
|
63
|
+
}, z.core.$strip>>;
|
|
64
|
+
parallelEventLogs: z.ZodOptional<z.ZodObject<{
|
|
65
|
+
value: z.ZodOptional<z.ZodNumber>;
|
|
66
|
+
defaultValue: z.ZodOptional<z.ZodNumber>;
|
|
67
|
+
unit: z.ZodEnum<typeof LimitUnits>;
|
|
68
|
+
}, z.core.$strip>>;
|
|
69
|
+
parallelEventLogsPerConnection: z.ZodOptional<z.ZodObject<{
|
|
70
|
+
value: z.ZodOptional<z.ZodNumber>;
|
|
71
|
+
defaultValue: z.ZodOptional<z.ZodNumber>;
|
|
72
|
+
unit: z.ZodEnum<typeof LimitUnits>;
|
|
73
|
+
}, z.core.$strip>>;
|
|
74
|
+
ParallelWriteDatabaseRequests: z.ZodOptional<z.ZodObject<{
|
|
75
|
+
value: z.ZodOptional<z.ZodNumber>;
|
|
76
|
+
defaultValue: z.ZodOptional<z.ZodNumber>;
|
|
77
|
+
unit: z.ZodEnum<typeof LimitUnits>;
|
|
78
|
+
}, z.core.$strip>>;
|
|
79
|
+
fileUploadsMbPerHour: z.ZodOptional<z.ZodObject<{
|
|
80
|
+
value: z.ZodOptional<z.ZodNumber>;
|
|
81
|
+
defaultValue: z.ZodOptional<z.ZodNumber>;
|
|
82
|
+
unit: z.ZodEnum<typeof LimitUnits>;
|
|
83
|
+
}, z.core.$strip>>;
|
|
84
|
+
apiRequestsPerSecond: z.ZodOptional<z.ZodObject<{
|
|
85
|
+
value: z.ZodOptional<z.ZodNumber>;
|
|
86
|
+
defaultValue: z.ZodOptional<z.ZodNumber>;
|
|
87
|
+
unit: z.ZodEnum<typeof LimitUnits>;
|
|
88
|
+
}, z.core.$strip>>;
|
|
89
|
+
apiRequestsPerHour: z.ZodOptional<z.ZodObject<{
|
|
90
|
+
value: z.ZodOptional<z.ZodNumber>;
|
|
91
|
+
defaultValue: z.ZodOptional<z.ZodNumber>;
|
|
92
|
+
unit: z.ZodEnum<typeof LimitUnits>;
|
|
93
|
+
}, z.core.$strip>>;
|
|
94
|
+
webhookRequestsPerSecond: z.ZodOptional<z.ZodObject<{
|
|
95
|
+
value: z.ZodOptional<z.ZodNumber>;
|
|
96
|
+
defaultValue: z.ZodOptional<z.ZodNumber>;
|
|
97
|
+
unit: z.ZodEnum<typeof LimitUnits>;
|
|
98
|
+
}, z.core.$strip>>;
|
|
99
|
+
webhookRequestsPerHour: z.ZodOptional<z.ZodObject<{
|
|
100
|
+
value: z.ZodOptional<z.ZodNumber>;
|
|
101
|
+
defaultValue: z.ZodOptional<z.ZodNumber>;
|
|
102
|
+
unit: z.ZodEnum<typeof LimitUnits>;
|
|
103
|
+
}, z.core.$strip>>;
|
|
104
|
+
workspaceElementCreationsPerSecond: z.ZodOptional<z.ZodObject<{
|
|
105
|
+
value: z.ZodOptional<z.ZodNumber>;
|
|
106
|
+
defaultValue: z.ZodOptional<z.ZodNumber>;
|
|
107
|
+
unit: z.ZodEnum<typeof LimitUnits>;
|
|
108
|
+
}, z.core.$strip>>;
|
|
109
|
+
workspaceElementCreationsPerHour: z.ZodOptional<z.ZodObject<{
|
|
110
|
+
value: z.ZodOptional<z.ZodNumber>;
|
|
111
|
+
defaultValue: z.ZodOptional<z.ZodNumber>;
|
|
112
|
+
unit: z.ZodEnum<typeof LimitUnits>;
|
|
113
|
+
}, z.core.$strip>>;
|
|
114
|
+
createDatabaseRequestsPerSecond: z.ZodOptional<z.ZodObject<{
|
|
115
|
+
value: z.ZodOptional<z.ZodNumber>;
|
|
116
|
+
defaultValue: z.ZodOptional<z.ZodNumber>;
|
|
117
|
+
unit: z.ZodEnum<typeof LimitUnits>;
|
|
118
|
+
}, z.core.$strip>>;
|
|
119
|
+
totalNumberOfCustomers: z.ZodOptional<z.ZodObject<{
|
|
120
|
+
value: z.ZodOptional<z.ZodNumber>;
|
|
121
|
+
defaultValue: z.ZodOptional<z.ZodNumber>;
|
|
122
|
+
unit: z.ZodEnum<typeof LimitUnits>;
|
|
123
|
+
}, z.core.$strip>>;
|
|
124
|
+
totalNumberOfConnections: z.ZodOptional<z.ZodObject<{
|
|
125
|
+
value: z.ZodOptional<z.ZodNumber>;
|
|
126
|
+
defaultValue: z.ZodOptional<z.ZodNumber>;
|
|
127
|
+
unit: z.ZodEnum<typeof LimitUnits>;
|
|
128
|
+
}, z.core.$strip>>;
|
|
129
|
+
totalNumberOfWorkspaceElements: z.ZodOptional<z.ZodObject<{
|
|
130
|
+
value: z.ZodOptional<z.ZodNumber>;
|
|
131
|
+
defaultValue: z.ZodOptional<z.ZodNumber>;
|
|
132
|
+
unit: z.ZodEnum<typeof LimitUnits>;
|
|
133
|
+
}, z.core.$strip>>;
|
|
134
|
+
parallelApiRequestsPerCustomer: z.ZodOptional<z.ZodObject<{
|
|
135
|
+
value: z.ZodOptional<z.ZodNumber>;
|
|
136
|
+
defaultValue: z.ZodOptional<z.ZodNumber>;
|
|
137
|
+
unit: z.ZodEnum<typeof LimitUnits>;
|
|
138
|
+
}, z.core.$strip>>;
|
|
139
|
+
parallelBackgroundJobsPerCustomer: z.ZodOptional<z.ZodObject<{
|
|
140
|
+
value: z.ZodOptional<z.ZodNumber>;
|
|
141
|
+
defaultValue: z.ZodOptional<z.ZodNumber>;
|
|
142
|
+
unit: z.ZodEnum<typeof LimitUnits>;
|
|
143
|
+
}, z.core.$strip>>;
|
|
144
|
+
apiRequestsPerCustomerPerSecond: z.ZodOptional<z.ZodObject<{
|
|
145
|
+
value: z.ZodOptional<z.ZodNumber>;
|
|
146
|
+
defaultValue: z.ZodOptional<z.ZodNumber>;
|
|
147
|
+
unit: z.ZodEnum<typeof LimitUnits>;
|
|
148
|
+
}, z.core.$strip>>;
|
|
149
|
+
apiRequestsPerCustomerPerHour: z.ZodOptional<z.ZodObject<{
|
|
150
|
+
value: z.ZodOptional<z.ZodNumber>;
|
|
151
|
+
defaultValue: z.ZodOptional<z.ZodNumber>;
|
|
152
|
+
unit: z.ZodEnum<typeof LimitUnits>;
|
|
153
|
+
}, z.core.$strip>>;
|
|
154
|
+
webhookRequestsPerCustomerPerSecond: z.ZodOptional<z.ZodObject<{
|
|
155
|
+
value: z.ZodOptional<z.ZodNumber>;
|
|
156
|
+
defaultValue: z.ZodOptional<z.ZodNumber>;
|
|
157
|
+
unit: z.ZodEnum<typeof LimitUnits>;
|
|
158
|
+
}, z.core.$strip>>;
|
|
159
|
+
webhookRequestsPerCustomerPerHour: z.ZodOptional<z.ZodObject<{
|
|
160
|
+
value: z.ZodOptional<z.ZodNumber>;
|
|
161
|
+
defaultValue: z.ZodOptional<z.ZodNumber>;
|
|
162
|
+
unit: z.ZodEnum<typeof LimitUnits>;
|
|
163
|
+
}, z.core.$strip>>;
|
|
164
|
+
externalEventsPerCustomerPerDay: z.ZodOptional<z.ZodObject<{
|
|
165
|
+
value: z.ZodOptional<z.ZodNumber>;
|
|
166
|
+
defaultValue: z.ZodOptional<z.ZodNumber>;
|
|
167
|
+
unit: z.ZodEnum<typeof LimitUnits>;
|
|
168
|
+
}, z.core.$strip>>;
|
|
169
|
+
createDatabaseRequestsPerCustomerPerSecond: z.ZodOptional<z.ZodObject<{
|
|
170
|
+
value: z.ZodOptional<z.ZodNumber>;
|
|
171
|
+
defaultValue: z.ZodOptional<z.ZodNumber>;
|
|
172
|
+
unit: z.ZodEnum<typeof LimitUnits>;
|
|
173
|
+
}, z.core.$strip>>;
|
|
174
|
+
updateDatabaseRequestsPerCustomerPerSecond: z.ZodOptional<z.ZodObject<{
|
|
175
|
+
value: z.ZodOptional<z.ZodNumber>;
|
|
176
|
+
defaultValue: z.ZodOptional<z.ZodNumber>;
|
|
177
|
+
unit: z.ZodEnum<typeof LimitUnits>;
|
|
178
|
+
}, z.core.$strip>>;
|
|
179
|
+
parallelWriteDatabaseRequestsPerCustomer: z.ZodOptional<z.ZodObject<{
|
|
180
|
+
value: z.ZodOptional<z.ZodNumber>;
|
|
181
|
+
defaultValue: z.ZodOptional<z.ZodNumber>;
|
|
182
|
+
unit: z.ZodEnum<typeof LimitUnits>;
|
|
183
|
+
}, z.core.$strip>>;
|
|
184
|
+
}, z.core.$strip>;
|
|
185
|
+
export declare const EngineWorkspaceSettingsSchema: z.ZodObject<{
|
|
186
|
+
enableApiLogs: z.ZodOptional<z.ZodBoolean>;
|
|
187
|
+
enableWebhookLogs: z.ZodOptional<z.ZodBoolean>;
|
|
188
|
+
enableActionRunLogs: z.ZodOptional<z.ZodBoolean>;
|
|
189
|
+
disableSecretKeyAuth: z.ZodOptional<z.ZodBoolean>;
|
|
190
|
+
}, z.core.$strip>;
|
|
191
|
+
export declare const AppPublicKey: z.ZodObject<{
|
|
192
|
+
name: z.ZodString;
|
|
193
|
+
publicKey: z.ZodString;
|
|
194
|
+
}, z.core.$strip>;
|
|
195
|
+
export declare const AppSchema: z.ZodObject<{
|
|
196
|
+
id: z.ZodString;
|
|
197
|
+
key: z.ZodString;
|
|
198
|
+
logoUri: z.ZodOptional<z.ZodString>;
|
|
199
|
+
userFieldsSchema: z.ZodOptional<z.ZodAny>;
|
|
200
|
+
apiBaseUri: z.ZodOptional<z.ZodString>;
|
|
201
|
+
webhookUri: z.ZodOptional<z.ZodString>;
|
|
202
|
+
publicKey: z.ZodOptional<z.ZodString>;
|
|
203
|
+
publicKeys: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
204
|
+
name: z.ZodString;
|
|
205
|
+
publicKey: z.ZodString;
|
|
206
|
+
}, z.core.$strip>>>;
|
|
207
|
+
enabledWebhookEvents: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
208
|
+
auth: z.ZodOptional<z.ZodAny>;
|
|
209
|
+
credentialsSchema: z.ZodOptional<z.ZodAny>;
|
|
210
|
+
apiClient: z.ZodOptional<z.ZodAny>;
|
|
211
|
+
apiRequestHeaders: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
212
|
+
apiRequestQuery: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
213
|
+
isOnPrem: z.ZodOptional<z.ZodBoolean>;
|
|
214
|
+
connectorBaseUri: z.ZodOptional<z.ZodString>;
|
|
215
|
+
connectorRevision: z.ZodOptional<z.ZodString>;
|
|
216
|
+
featureFlags: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
217
|
+
limits: z.ZodOptional<z.ZodObject<{
|
|
218
|
+
parallelEventPulls: z.ZodOptional<z.ZodObject<{
|
|
219
|
+
value: z.ZodOptional<z.ZodNumber>;
|
|
220
|
+
defaultValue: z.ZodOptional<z.ZodNumber>;
|
|
221
|
+
unit: z.ZodEnum<typeof LimitUnits>;
|
|
222
|
+
}, z.core.$strip>>;
|
|
223
|
+
parallelIncrementalEventPullsPerConnection: z.ZodOptional<z.ZodObject<{
|
|
224
|
+
value: z.ZodOptional<z.ZodNumber>;
|
|
225
|
+
defaultValue: z.ZodOptional<z.ZodNumber>;
|
|
226
|
+
unit: z.ZodEnum<typeof LimitUnits>;
|
|
227
|
+
}, z.core.$strip>>;
|
|
228
|
+
parallelFullSyncEventPullsPerConnection: z.ZodOptional<z.ZodObject<{
|
|
229
|
+
value: z.ZodOptional<z.ZodNumber>;
|
|
230
|
+
defaultValue: z.ZodOptional<z.ZodNumber>;
|
|
231
|
+
unit: z.ZodEnum<typeof LimitUnits>;
|
|
232
|
+
}, z.core.$strip>>;
|
|
233
|
+
parallelFlowRuns: z.ZodOptional<z.ZodObject<{
|
|
234
|
+
value: z.ZodOptional<z.ZodNumber>;
|
|
235
|
+
defaultValue: z.ZodOptional<z.ZodNumber>;
|
|
236
|
+
unit: z.ZodEnum<typeof LimitUnits>;
|
|
237
|
+
}, z.core.$strip>>;
|
|
238
|
+
parallelFlowRunsPerConnection: z.ZodOptional<z.ZodObject<{
|
|
239
|
+
value: z.ZodOptional<z.ZodNumber>;
|
|
240
|
+
defaultValue: z.ZodOptional<z.ZodNumber>;
|
|
241
|
+
unit: z.ZodEnum<typeof LimitUnits>;
|
|
242
|
+
}, z.core.$strip>>;
|
|
243
|
+
parallelApiRequests: z.ZodOptional<z.ZodObject<{
|
|
244
|
+
value: z.ZodOptional<z.ZodNumber>;
|
|
245
|
+
defaultValue: z.ZodOptional<z.ZodNumber>;
|
|
246
|
+
unit: z.ZodEnum<typeof LimitUnits>;
|
|
247
|
+
}, z.core.$strip>>;
|
|
248
|
+
parallelSseRequests: z.ZodOptional<z.ZodObject<{
|
|
249
|
+
value: z.ZodOptional<z.ZodNumber>;
|
|
250
|
+
defaultValue: z.ZodOptional<z.ZodNumber>;
|
|
251
|
+
unit: z.ZodEnum<typeof LimitUnits>;
|
|
252
|
+
}, z.core.$strip>>;
|
|
253
|
+
parallelBackgroundJobs: z.ZodOptional<z.ZodObject<{
|
|
254
|
+
value: z.ZodOptional<z.ZodNumber>;
|
|
255
|
+
defaultValue: z.ZodOptional<z.ZodNumber>;
|
|
256
|
+
unit: z.ZodEnum<typeof LimitUnits>;
|
|
257
|
+
}, z.core.$strip>>;
|
|
258
|
+
parallelEventLogs: z.ZodOptional<z.ZodObject<{
|
|
259
|
+
value: z.ZodOptional<z.ZodNumber>;
|
|
260
|
+
defaultValue: z.ZodOptional<z.ZodNumber>;
|
|
261
|
+
unit: z.ZodEnum<typeof LimitUnits>;
|
|
262
|
+
}, z.core.$strip>>;
|
|
263
|
+
parallelEventLogsPerConnection: z.ZodOptional<z.ZodObject<{
|
|
264
|
+
value: z.ZodOptional<z.ZodNumber>;
|
|
265
|
+
defaultValue: z.ZodOptional<z.ZodNumber>;
|
|
266
|
+
unit: z.ZodEnum<typeof LimitUnits>;
|
|
267
|
+
}, z.core.$strip>>;
|
|
268
|
+
ParallelWriteDatabaseRequests: z.ZodOptional<z.ZodObject<{
|
|
269
|
+
value: z.ZodOptional<z.ZodNumber>;
|
|
270
|
+
defaultValue: z.ZodOptional<z.ZodNumber>;
|
|
271
|
+
unit: z.ZodEnum<typeof LimitUnits>;
|
|
272
|
+
}, z.core.$strip>>;
|
|
273
|
+
fileUploadsMbPerHour: z.ZodOptional<z.ZodObject<{
|
|
274
|
+
value: z.ZodOptional<z.ZodNumber>;
|
|
275
|
+
defaultValue: z.ZodOptional<z.ZodNumber>;
|
|
276
|
+
unit: z.ZodEnum<typeof LimitUnits>;
|
|
277
|
+
}, z.core.$strip>>;
|
|
278
|
+
apiRequestsPerSecond: z.ZodOptional<z.ZodObject<{
|
|
279
|
+
value: z.ZodOptional<z.ZodNumber>;
|
|
280
|
+
defaultValue: z.ZodOptional<z.ZodNumber>;
|
|
281
|
+
unit: z.ZodEnum<typeof LimitUnits>;
|
|
282
|
+
}, z.core.$strip>>;
|
|
283
|
+
apiRequestsPerHour: z.ZodOptional<z.ZodObject<{
|
|
284
|
+
value: z.ZodOptional<z.ZodNumber>;
|
|
285
|
+
defaultValue: z.ZodOptional<z.ZodNumber>;
|
|
286
|
+
unit: z.ZodEnum<typeof LimitUnits>;
|
|
287
|
+
}, z.core.$strip>>;
|
|
288
|
+
webhookRequestsPerSecond: z.ZodOptional<z.ZodObject<{
|
|
289
|
+
value: z.ZodOptional<z.ZodNumber>;
|
|
290
|
+
defaultValue: z.ZodOptional<z.ZodNumber>;
|
|
291
|
+
unit: z.ZodEnum<typeof LimitUnits>;
|
|
292
|
+
}, z.core.$strip>>;
|
|
293
|
+
webhookRequestsPerHour: z.ZodOptional<z.ZodObject<{
|
|
294
|
+
value: z.ZodOptional<z.ZodNumber>;
|
|
295
|
+
defaultValue: z.ZodOptional<z.ZodNumber>;
|
|
296
|
+
unit: z.ZodEnum<typeof LimitUnits>;
|
|
297
|
+
}, z.core.$strip>>;
|
|
298
|
+
workspaceElementCreationsPerSecond: z.ZodOptional<z.ZodObject<{
|
|
299
|
+
value: z.ZodOptional<z.ZodNumber>;
|
|
300
|
+
defaultValue: z.ZodOptional<z.ZodNumber>;
|
|
301
|
+
unit: z.ZodEnum<typeof LimitUnits>;
|
|
302
|
+
}, z.core.$strip>>;
|
|
303
|
+
workspaceElementCreationsPerHour: z.ZodOptional<z.ZodObject<{
|
|
304
|
+
value: z.ZodOptional<z.ZodNumber>;
|
|
305
|
+
defaultValue: z.ZodOptional<z.ZodNumber>;
|
|
306
|
+
unit: z.ZodEnum<typeof LimitUnits>;
|
|
307
|
+
}, z.core.$strip>>;
|
|
308
|
+
createDatabaseRequestsPerSecond: z.ZodOptional<z.ZodObject<{
|
|
309
|
+
value: z.ZodOptional<z.ZodNumber>;
|
|
310
|
+
defaultValue: z.ZodOptional<z.ZodNumber>;
|
|
311
|
+
unit: z.ZodEnum<typeof LimitUnits>;
|
|
312
|
+
}, z.core.$strip>>;
|
|
313
|
+
totalNumberOfCustomers: z.ZodOptional<z.ZodObject<{
|
|
314
|
+
value: z.ZodOptional<z.ZodNumber>;
|
|
315
|
+
defaultValue: z.ZodOptional<z.ZodNumber>;
|
|
316
|
+
unit: z.ZodEnum<typeof LimitUnits>;
|
|
317
|
+
}, z.core.$strip>>;
|
|
318
|
+
totalNumberOfConnections: z.ZodOptional<z.ZodObject<{
|
|
319
|
+
value: z.ZodOptional<z.ZodNumber>;
|
|
320
|
+
defaultValue: z.ZodOptional<z.ZodNumber>;
|
|
321
|
+
unit: z.ZodEnum<typeof LimitUnits>;
|
|
322
|
+
}, z.core.$strip>>;
|
|
323
|
+
totalNumberOfWorkspaceElements: z.ZodOptional<z.ZodObject<{
|
|
324
|
+
value: z.ZodOptional<z.ZodNumber>;
|
|
325
|
+
defaultValue: z.ZodOptional<z.ZodNumber>;
|
|
326
|
+
unit: z.ZodEnum<typeof LimitUnits>;
|
|
327
|
+
}, z.core.$strip>>;
|
|
328
|
+
parallelApiRequestsPerCustomer: z.ZodOptional<z.ZodObject<{
|
|
329
|
+
value: z.ZodOptional<z.ZodNumber>;
|
|
330
|
+
defaultValue: z.ZodOptional<z.ZodNumber>;
|
|
331
|
+
unit: z.ZodEnum<typeof LimitUnits>;
|
|
332
|
+
}, z.core.$strip>>;
|
|
333
|
+
parallelBackgroundJobsPerCustomer: z.ZodOptional<z.ZodObject<{
|
|
334
|
+
value: z.ZodOptional<z.ZodNumber>;
|
|
335
|
+
defaultValue: z.ZodOptional<z.ZodNumber>;
|
|
336
|
+
unit: z.ZodEnum<typeof LimitUnits>;
|
|
337
|
+
}, z.core.$strip>>;
|
|
338
|
+
apiRequestsPerCustomerPerSecond: z.ZodOptional<z.ZodObject<{
|
|
339
|
+
value: z.ZodOptional<z.ZodNumber>;
|
|
340
|
+
defaultValue: z.ZodOptional<z.ZodNumber>;
|
|
341
|
+
unit: z.ZodEnum<typeof LimitUnits>;
|
|
342
|
+
}, z.core.$strip>>;
|
|
343
|
+
apiRequestsPerCustomerPerHour: z.ZodOptional<z.ZodObject<{
|
|
344
|
+
value: z.ZodOptional<z.ZodNumber>;
|
|
345
|
+
defaultValue: z.ZodOptional<z.ZodNumber>;
|
|
346
|
+
unit: z.ZodEnum<typeof LimitUnits>;
|
|
347
|
+
}, z.core.$strip>>;
|
|
348
|
+
webhookRequestsPerCustomerPerSecond: z.ZodOptional<z.ZodObject<{
|
|
349
|
+
value: z.ZodOptional<z.ZodNumber>;
|
|
350
|
+
defaultValue: z.ZodOptional<z.ZodNumber>;
|
|
351
|
+
unit: z.ZodEnum<typeof LimitUnits>;
|
|
352
|
+
}, z.core.$strip>>;
|
|
353
|
+
webhookRequestsPerCustomerPerHour: z.ZodOptional<z.ZodObject<{
|
|
354
|
+
value: z.ZodOptional<z.ZodNumber>;
|
|
355
|
+
defaultValue: z.ZodOptional<z.ZodNumber>;
|
|
356
|
+
unit: z.ZodEnum<typeof LimitUnits>;
|
|
357
|
+
}, z.core.$strip>>;
|
|
358
|
+
externalEventsPerCustomerPerDay: z.ZodOptional<z.ZodObject<{
|
|
359
|
+
value: z.ZodOptional<z.ZodNumber>;
|
|
360
|
+
defaultValue: z.ZodOptional<z.ZodNumber>;
|
|
361
|
+
unit: z.ZodEnum<typeof LimitUnits>;
|
|
362
|
+
}, z.core.$strip>>;
|
|
363
|
+
createDatabaseRequestsPerCustomerPerSecond: z.ZodOptional<z.ZodObject<{
|
|
364
|
+
value: z.ZodOptional<z.ZodNumber>;
|
|
365
|
+
defaultValue: z.ZodOptional<z.ZodNumber>;
|
|
366
|
+
unit: z.ZodEnum<typeof LimitUnits>;
|
|
367
|
+
}, z.core.$strip>>;
|
|
368
|
+
updateDatabaseRequestsPerCustomerPerSecond: z.ZodOptional<z.ZodObject<{
|
|
369
|
+
value: z.ZodOptional<z.ZodNumber>;
|
|
370
|
+
defaultValue: z.ZodOptional<z.ZodNumber>;
|
|
371
|
+
unit: z.ZodEnum<typeof LimitUnits>;
|
|
372
|
+
}, z.core.$strip>>;
|
|
373
|
+
parallelWriteDatabaseRequestsPerCustomer: z.ZodOptional<z.ZodObject<{
|
|
374
|
+
value: z.ZodOptional<z.ZodNumber>;
|
|
375
|
+
defaultValue: z.ZodOptional<z.ZodNumber>;
|
|
376
|
+
unit: z.ZodEnum<typeof LimitUnits>;
|
|
377
|
+
}, z.core.$strip>>;
|
|
378
|
+
}, z.core.$strip>>;
|
|
379
|
+
settings: z.ZodOptional<z.ZodObject<{
|
|
380
|
+
enableApiLogs: z.ZodOptional<z.ZodBoolean>;
|
|
381
|
+
enableWebhookLogs: z.ZodOptional<z.ZodBoolean>;
|
|
382
|
+
enableActionRunLogs: z.ZodOptional<z.ZodBoolean>;
|
|
383
|
+
disableSecretKeyAuth: z.ZodOptional<z.ZodBoolean>;
|
|
384
|
+
}, z.core.$strip>>;
|
|
385
|
+
type: z.ZodOptional<z.ZodEnum<typeof WorkspaceType>>;
|
|
386
|
+
jwksUri: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
387
|
+
isTrial: z.ZodOptional<z.ZodBoolean>;
|
|
388
|
+
isThrottled: z.ZodOptional<z.ZodBoolean>;
|
|
389
|
+
isDisabled: z.ZodOptional<z.ZodBoolean>;
|
|
390
|
+
isBackgroundJobsDisabled: z.ZodOptional<z.ZodBoolean>;
|
|
391
|
+
}, z.core.$strip>;
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
-
export declare const zodBooleanCoercion: () => z.ZodPipe<z.ZodTransform<boolean, unknown>, z.ZodBoolean>;
|
|
3
2
|
export declare const IncludeArchivedQuery: z.ZodObject<{
|
|
4
3
|
includeArchived: z.ZodOptional<z.ZodPipe<z.ZodTransform<boolean, unknown>, z.ZodBoolean>>;
|
|
5
4
|
}, z.core.$strip>;
|
|
@@ -11,7 +11,8 @@ export declare enum ErrorType {
|
|
|
11
11
|
ACTION_RUN = "action_run",
|
|
12
12
|
ACTION_INSTANCE_SETUP = "action_instance_setup",
|
|
13
13
|
UNIT_RUN = "unit_run",
|
|
14
|
-
CUSTOM_CODE = "custom_code"
|
|
14
|
+
CUSTOM_CODE = "custom_code",
|
|
15
|
+
INSUFFICIENT_CREDIT = "insufficient_credit"
|
|
15
16
|
}
|
|
16
17
|
export declare enum BadRequestErrorKey {
|
|
17
18
|
NOT_FOUND = "not_found",
|
|
@@ -97,4 +98,7 @@ export declare class AccessDeniedError extends BadRequestError {
|
|
|
97
98
|
export declare class CustomCodeError extends MembraneError {
|
|
98
99
|
constructor(arg: ErrorConstructorArg);
|
|
99
100
|
}
|
|
101
|
+
export declare class InsufficientCreditsError extends MembraneError {
|
|
102
|
+
constructor(arg: ErrorConstructorArg);
|
|
103
|
+
}
|
|
100
104
|
export {};
|
|
@@ -13,9 +13,9 @@ export declare class DataSchemaRef extends DataBuilderFormulaBase<DataSchemaRefA
|
|
|
13
13
|
value: any;
|
|
14
14
|
constructor(value: any);
|
|
15
15
|
getValue(): undefined;
|
|
16
|
-
resolveValue(params: ResolveFormulaParams): Promise<import("
|
|
17
|
-
resolveDataCollection(args: DataSchemaRegArgsDataCollection, params: ResolveFormulaParams): Promise<import("
|
|
18
|
-
resolveInternalDataSchema(args: DataSchemaRegArgsInternalDataSchema, params: ResolveFormulaParams): Promise<import("
|
|
16
|
+
resolveValue(params: ResolveFormulaParams): Promise<import("../data-schema").DataSchema | undefined>;
|
|
17
|
+
resolveDataCollection(args: DataSchemaRegArgsDataCollection, params: ResolveFormulaParams): Promise<import("../data-schema").DataSchema | undefined>;
|
|
18
|
+
resolveInternalDataSchema(args: DataSchemaRegArgsInternalDataSchema, params: ResolveFormulaParams): Promise<import("../data-schema").DataSchema | undefined>;
|
|
19
19
|
getSchema(): {
|
|
20
20
|
type: string;
|
|
21
21
|
};
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
export * from './errors';
|
|
2
2
|
export * from './workspace-elements';
|
|
3
3
|
export * from './workspace-elements-catalog';
|
|
4
|
+
export * from './workspace-elements/paths';
|
|
4
5
|
export * from './auth';
|
|
5
|
-
export * from './connector-copilot';
|
|
6
6
|
export * from './data-builder';
|
|
7
7
|
export * from './data-filter';
|
|
8
8
|
export * from './formulas';
|
|
@@ -22,12 +22,14 @@ export * from './workspaces';
|
|
|
22
22
|
export * from './apps';
|
|
23
23
|
export * from './workspace-updates';
|
|
24
24
|
export * from './orgs';
|
|
25
|
+
export * from './platform-users';
|
|
25
26
|
export * from './webhooks';
|
|
26
27
|
export * from './alerts';
|
|
27
28
|
export * from './accessors';
|
|
28
29
|
export * from './sse';
|
|
29
30
|
export * from './scenario-templates';
|
|
30
|
-
export * from './agent
|
|
31
|
+
export * from './agent';
|
|
32
|
+
export * from './validation';
|
|
31
33
|
export { MembraneClient as IntegrationAppClient } from './client';
|
|
32
34
|
export { MembraneClient as MembraneClient } from './client';
|
|
33
35
|
export { axios as MembraneAxiosInstance } from './api-client';
|