@membranehq/sdk 0.25.0 → 0.26.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/dts/membrane-instances/types.d.ts +32 -0
- package/dist/dts/usage/types.d.ts +2 -1
- package/dist/dts/workspace-elements/base/connectors/functions.d.ts +3 -2
- package/dist/dts/workspace-elements/base/connectors/index.d.ts +1 -0
- package/dist/index.browser.d.mts +36 -2
- package/dist/index.browser.d.ts +36 -2
- package/dist/index.browser.js +20 -0
- package/dist/index.browser.js.map +1 -1
- package/dist/index.browser.mjs +20 -0
- package/dist/index.browser.mjs.map +1 -1
- package/dist/index.node.d.mts +36 -2
- package/dist/index.node.d.ts +36 -2
- package/dist/index.node.js +20 -0
- package/dist/index.node.js.map +1 -1
- package/dist/index.node.mjs +20 -0
- package/dist/index.node.mjs.map +1 -1
- package/package.json +1 -1
|
@@ -21,6 +21,14 @@ export declare const MembraneInstance: z.ZodObject<{
|
|
|
21
21
|
lastReportedAt: z.ZodOptional<z.ZodCoercedDate<unknown>>;
|
|
22
22
|
activeTenants: z.ZodOptional<z.ZodNumber>;
|
|
23
23
|
billableTenants: z.ZodOptional<z.ZodNumber>;
|
|
24
|
+
clusterName: z.ZodOptional<z.ZodString>;
|
|
25
|
+
argoCdUrl: z.ZodOptional<z.ZodURL>;
|
|
26
|
+
grafanaUrl: z.ZodOptional<z.ZodURL>;
|
|
27
|
+
mongoAtlasUrl: z.ZodOptional<z.ZodURL>;
|
|
28
|
+
helmBranch: z.ZodOptional<z.ZodString>;
|
|
29
|
+
helmValuesPath: z.ZodOptional<z.ZodURL>;
|
|
30
|
+
awsAccountName: z.ZodOptional<z.ZodString>;
|
|
31
|
+
awsSsoUrl: z.ZodOptional<z.ZodURL>;
|
|
24
32
|
}, z.core.$strip>;
|
|
25
33
|
export type MembraneInstanceDto = z.infer<typeof MembraneInstance>;
|
|
26
34
|
export declare const CreateMembraneInstanceRequest: z.ZodObject<{
|
|
@@ -35,6 +43,14 @@ export declare const UpdateMembraneInstanceRequest: z.ZodObject<{
|
|
|
35
43
|
apiBaseUri: z.ZodOptional<z.ZodString>;
|
|
36
44
|
consoleBaseUri: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
37
45
|
orgId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
46
|
+
clusterName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
47
|
+
argoCdUrl: z.ZodOptional<z.ZodNullable<z.ZodURL>>;
|
|
48
|
+
grafanaUrl: z.ZodOptional<z.ZodNullable<z.ZodURL>>;
|
|
49
|
+
mongoAtlasUrl: z.ZodOptional<z.ZodNullable<z.ZodURL>>;
|
|
50
|
+
helmBranch: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
51
|
+
helmValuesPath: z.ZodOptional<z.ZodNullable<z.ZodURL>>;
|
|
52
|
+
awsAccountName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
53
|
+
awsSsoUrl: z.ZodOptional<z.ZodNullable<z.ZodURL>>;
|
|
38
54
|
}, z.core.$strict>;
|
|
39
55
|
export type UpdateMembraneInstanceRequest = z.infer<typeof UpdateMembraneInstanceRequest>;
|
|
40
56
|
export declare const ListMembraneInstancesQuery: z.ZodObject<{
|
|
@@ -58,6 +74,14 @@ export declare const ListMembraneInstancesResponse: z.ZodObject<{
|
|
|
58
74
|
lastReportedAt: z.ZodOptional<z.ZodCoercedDate<unknown>>;
|
|
59
75
|
activeTenants: z.ZodOptional<z.ZodNumber>;
|
|
60
76
|
billableTenants: z.ZodOptional<z.ZodNumber>;
|
|
77
|
+
clusterName: z.ZodOptional<z.ZodString>;
|
|
78
|
+
argoCdUrl: z.ZodOptional<z.ZodURL>;
|
|
79
|
+
grafanaUrl: z.ZodOptional<z.ZodURL>;
|
|
80
|
+
mongoAtlasUrl: z.ZodOptional<z.ZodURL>;
|
|
81
|
+
helmBranch: z.ZodOptional<z.ZodString>;
|
|
82
|
+
helmValuesPath: z.ZodOptional<z.ZodURL>;
|
|
83
|
+
awsAccountName: z.ZodOptional<z.ZodString>;
|
|
84
|
+
awsSsoUrl: z.ZodOptional<z.ZodURL>;
|
|
61
85
|
}, z.core.$strip>>;
|
|
62
86
|
cursor: z.ZodOptional<z.ZodString>;
|
|
63
87
|
}, z.core.$strip>;
|
|
@@ -76,6 +100,14 @@ export declare const MembraneInstanceAdmin: z.ZodObject<{
|
|
|
76
100
|
lastReportedAt: z.ZodOptional<z.ZodCoercedDate<unknown>>;
|
|
77
101
|
activeTenants: z.ZodOptional<z.ZodNumber>;
|
|
78
102
|
billableTenants: z.ZodOptional<z.ZodNumber>;
|
|
103
|
+
clusterName: z.ZodOptional<z.ZodString>;
|
|
104
|
+
argoCdUrl: z.ZodOptional<z.ZodURL>;
|
|
105
|
+
grafanaUrl: z.ZodOptional<z.ZodURL>;
|
|
106
|
+
mongoAtlasUrl: z.ZodOptional<z.ZodURL>;
|
|
107
|
+
helmBranch: z.ZodOptional<z.ZodString>;
|
|
108
|
+
helmValuesPath: z.ZodOptional<z.ZodURL>;
|
|
109
|
+
awsAccountName: z.ZodOptional<z.ZodString>;
|
|
110
|
+
awsSsoUrl: z.ZodOptional<z.ZodURL>;
|
|
79
111
|
orgName: z.ZodOptional<z.ZodString>;
|
|
80
112
|
workspaceCount: z.ZodOptional<z.ZodNumber>;
|
|
81
113
|
}, z.core.$strip>;
|
|
@@ -20,7 +20,8 @@ export declare enum UsageType {
|
|
|
20
20
|
FILES_UPLOAD_SIZE = "files-upload-size",
|
|
21
21
|
CUSTOM_CODE_RUNTIME_DURATION = "custom-code-runtime-duration",
|
|
22
22
|
INSTANT_TASKS_DURATION = "instant-tasks-duration",
|
|
23
|
-
MEMBRANE_AGENT = "membrane-agent"
|
|
23
|
+
MEMBRANE_AGENT = "membrane-agent",
|
|
24
|
+
AI_GATEWAY = "ai-gateway"
|
|
24
25
|
}
|
|
25
26
|
export interface UsageWithCredits {
|
|
26
27
|
key: UsageType;
|
|
@@ -1,8 +1,9 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import type { ConnectorVersionData } from '.';
|
|
2
|
+
import { ConnectorAuthWithFunctions, ConnectorOption } from '.';
|
|
2
3
|
import { DataSchema } from '../../../data-schema';
|
|
3
4
|
import { FunctionType } from '../../../functions/base';
|
|
4
5
|
import { ConnectorAuthType } from './auth';
|
|
5
|
-
export declare function getEffectiveConnectorOption(connector:
|
|
6
|
+
export declare function getEffectiveConnectorOption(connector: ConnectorVersionData, optionKey: string): ConnectorOption;
|
|
6
7
|
export interface ConnectorFunctionSpec {
|
|
7
8
|
authTypes?: ConnectorAuthType[];
|
|
8
9
|
getInputSchema?: (authConfig: ConnectorAuthWithFunctions) => DataSchema | undefined;
|
|
@@ -2887,6 +2887,7 @@ export declare const ConnectorVersionData: z.ZodObject<{
|
|
|
2887
2887
|
credentialsSchema: z.ZodOptional<z.ZodType<DataSchema, unknown, z.core.$ZodTypeInternals<DataSchema, unknown>>>;
|
|
2888
2888
|
}, z.core.$strip>>>;
|
|
2889
2889
|
}, z.core.$strip>;
|
|
2890
|
+
export type ConnectorVersionData = z.infer<typeof ConnectorVersionData>;
|
|
2890
2891
|
export declare const ConnectorVersion: z.ZodObject<{
|
|
2891
2892
|
baseUri: z.ZodString;
|
|
2892
2893
|
revision: z.ZodOptional<z.ZodString>;
|
package/dist/index.browser.d.mts
CHANGED
|
@@ -3651,7 +3651,7 @@ declare const GenericFunctionDefinition: z.ZodObject<{
|
|
|
3651
3651
|
type GenericFunctionDefinition = z.infer<typeof GenericFunctionDefinition>;
|
|
3652
3652
|
declare function validateFunctionDefinitions(functions: Record<string, GenericFunctionDefinition>, schema: z.ZodType): void;
|
|
3653
3653
|
|
|
3654
|
-
declare function getEffectiveConnectorOption(connector:
|
|
3654
|
+
declare function getEffectiveConnectorOption(connector: ConnectorVersionData, optionKey: string): ConnectorOption;
|
|
3655
3655
|
interface ConnectorFunctionSpec {
|
|
3656
3656
|
authTypes?: ConnectorAuthType[];
|
|
3657
3657
|
getInputSchema?: (authConfig: ConnectorAuthWithFunctions) => DataSchema | undefined;
|
|
@@ -6814,6 +6814,7 @@ declare const ConnectorVersionData: z.ZodObject<{
|
|
|
6814
6814
|
credentialsSchema: z.ZodOptional<z.ZodType<DataSchema, unknown, z.core.$ZodTypeInternals<DataSchema, unknown>>>;
|
|
6815
6815
|
}, z.core.$strip>>>;
|
|
6816
6816
|
}, z.core.$strip>;
|
|
6817
|
+
type ConnectorVersionData = z.infer<typeof ConnectorVersionData>;
|
|
6817
6818
|
declare const ConnectorVersion: z.ZodObject<{
|
|
6818
6819
|
baseUri: z.ZodString;
|
|
6819
6820
|
revision: z.ZodOptional<z.ZodString>;
|
|
@@ -24124,7 +24125,8 @@ declare enum UsageType {
|
|
|
24124
24125
|
FILES_UPLOAD_SIZE = "files-upload-size",
|
|
24125
24126
|
CUSTOM_CODE_RUNTIME_DURATION = "custom-code-runtime-duration",
|
|
24126
24127
|
INSTANT_TASKS_DURATION = "instant-tasks-duration",
|
|
24127
|
-
MEMBRANE_AGENT = "membrane-agent"
|
|
24128
|
+
MEMBRANE_AGENT = "membrane-agent",
|
|
24129
|
+
AI_GATEWAY = "ai-gateway"
|
|
24128
24130
|
}
|
|
24129
24131
|
interface UsageWithCredits {
|
|
24130
24132
|
key: UsageType;
|
|
@@ -24931,6 +24933,14 @@ declare const MembraneInstance: z.ZodObject<{
|
|
|
24931
24933
|
lastReportedAt: z.ZodOptional<z.ZodCoercedDate<unknown>>;
|
|
24932
24934
|
activeTenants: z.ZodOptional<z.ZodNumber>;
|
|
24933
24935
|
billableTenants: z.ZodOptional<z.ZodNumber>;
|
|
24936
|
+
clusterName: z.ZodOptional<z.ZodString>;
|
|
24937
|
+
argoCdUrl: z.ZodOptional<z.ZodURL>;
|
|
24938
|
+
grafanaUrl: z.ZodOptional<z.ZodURL>;
|
|
24939
|
+
mongoAtlasUrl: z.ZodOptional<z.ZodURL>;
|
|
24940
|
+
helmBranch: z.ZodOptional<z.ZodString>;
|
|
24941
|
+
helmValuesPath: z.ZodOptional<z.ZodURL>;
|
|
24942
|
+
awsAccountName: z.ZodOptional<z.ZodString>;
|
|
24943
|
+
awsSsoUrl: z.ZodOptional<z.ZodURL>;
|
|
24934
24944
|
}, z.core.$strip>;
|
|
24935
24945
|
type MembraneInstanceDto = z.infer<typeof MembraneInstance>;
|
|
24936
24946
|
declare const CreateMembraneInstanceRequest: z.ZodObject<{
|
|
@@ -24945,6 +24955,14 @@ declare const UpdateMembraneInstanceRequest: z.ZodObject<{
|
|
|
24945
24955
|
apiBaseUri: z.ZodOptional<z.ZodString>;
|
|
24946
24956
|
consoleBaseUri: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
24947
24957
|
orgId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
24958
|
+
clusterName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
24959
|
+
argoCdUrl: z.ZodOptional<z.ZodNullable<z.ZodURL>>;
|
|
24960
|
+
grafanaUrl: z.ZodOptional<z.ZodNullable<z.ZodURL>>;
|
|
24961
|
+
mongoAtlasUrl: z.ZodOptional<z.ZodNullable<z.ZodURL>>;
|
|
24962
|
+
helmBranch: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
24963
|
+
helmValuesPath: z.ZodOptional<z.ZodNullable<z.ZodURL>>;
|
|
24964
|
+
awsAccountName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
24965
|
+
awsSsoUrl: z.ZodOptional<z.ZodNullable<z.ZodURL>>;
|
|
24948
24966
|
}, z.core.$strict>;
|
|
24949
24967
|
type UpdateMembraneInstanceRequest = z.infer<typeof UpdateMembraneInstanceRequest>;
|
|
24950
24968
|
declare const ListMembraneInstancesQuery: z.ZodObject<{
|
|
@@ -24968,6 +24986,14 @@ declare const ListMembraneInstancesResponse: z.ZodObject<{
|
|
|
24968
24986
|
lastReportedAt: z.ZodOptional<z.ZodCoercedDate<unknown>>;
|
|
24969
24987
|
activeTenants: z.ZodOptional<z.ZodNumber>;
|
|
24970
24988
|
billableTenants: z.ZodOptional<z.ZodNumber>;
|
|
24989
|
+
clusterName: z.ZodOptional<z.ZodString>;
|
|
24990
|
+
argoCdUrl: z.ZodOptional<z.ZodURL>;
|
|
24991
|
+
grafanaUrl: z.ZodOptional<z.ZodURL>;
|
|
24992
|
+
mongoAtlasUrl: z.ZodOptional<z.ZodURL>;
|
|
24993
|
+
helmBranch: z.ZodOptional<z.ZodString>;
|
|
24994
|
+
helmValuesPath: z.ZodOptional<z.ZodURL>;
|
|
24995
|
+
awsAccountName: z.ZodOptional<z.ZodString>;
|
|
24996
|
+
awsSsoUrl: z.ZodOptional<z.ZodURL>;
|
|
24971
24997
|
}, z.core.$strip>>;
|
|
24972
24998
|
cursor: z.ZodOptional<z.ZodString>;
|
|
24973
24999
|
}, z.core.$strip>;
|
|
@@ -24986,6 +25012,14 @@ declare const MembraneInstanceAdmin: z.ZodObject<{
|
|
|
24986
25012
|
lastReportedAt: z.ZodOptional<z.ZodCoercedDate<unknown>>;
|
|
24987
25013
|
activeTenants: z.ZodOptional<z.ZodNumber>;
|
|
24988
25014
|
billableTenants: z.ZodOptional<z.ZodNumber>;
|
|
25015
|
+
clusterName: z.ZodOptional<z.ZodString>;
|
|
25016
|
+
argoCdUrl: z.ZodOptional<z.ZodURL>;
|
|
25017
|
+
grafanaUrl: z.ZodOptional<z.ZodURL>;
|
|
25018
|
+
mongoAtlasUrl: z.ZodOptional<z.ZodURL>;
|
|
25019
|
+
helmBranch: z.ZodOptional<z.ZodString>;
|
|
25020
|
+
helmValuesPath: z.ZodOptional<z.ZodURL>;
|
|
25021
|
+
awsAccountName: z.ZodOptional<z.ZodString>;
|
|
25022
|
+
awsSsoUrl: z.ZodOptional<z.ZodURL>;
|
|
24989
25023
|
orgName: z.ZodOptional<z.ZodString>;
|
|
24990
25024
|
workspaceCount: z.ZodOptional<z.ZodNumber>;
|
|
24991
25025
|
}, z.core.$strip>;
|
package/dist/index.browser.d.ts
CHANGED
|
@@ -3651,7 +3651,7 @@ declare const GenericFunctionDefinition: z.ZodObject<{
|
|
|
3651
3651
|
type GenericFunctionDefinition = z.infer<typeof GenericFunctionDefinition>;
|
|
3652
3652
|
declare function validateFunctionDefinitions(functions: Record<string, GenericFunctionDefinition>, schema: z.ZodType): void;
|
|
3653
3653
|
|
|
3654
|
-
declare function getEffectiveConnectorOption(connector:
|
|
3654
|
+
declare function getEffectiveConnectorOption(connector: ConnectorVersionData, optionKey: string): ConnectorOption;
|
|
3655
3655
|
interface ConnectorFunctionSpec {
|
|
3656
3656
|
authTypes?: ConnectorAuthType[];
|
|
3657
3657
|
getInputSchema?: (authConfig: ConnectorAuthWithFunctions) => DataSchema | undefined;
|
|
@@ -6814,6 +6814,7 @@ declare const ConnectorVersionData: z.ZodObject<{
|
|
|
6814
6814
|
credentialsSchema: z.ZodOptional<z.ZodType<DataSchema, unknown, z.core.$ZodTypeInternals<DataSchema, unknown>>>;
|
|
6815
6815
|
}, z.core.$strip>>>;
|
|
6816
6816
|
}, z.core.$strip>;
|
|
6817
|
+
type ConnectorVersionData = z.infer<typeof ConnectorVersionData>;
|
|
6817
6818
|
declare const ConnectorVersion: z.ZodObject<{
|
|
6818
6819
|
baseUri: z.ZodString;
|
|
6819
6820
|
revision: z.ZodOptional<z.ZodString>;
|
|
@@ -24124,7 +24125,8 @@ declare enum UsageType {
|
|
|
24124
24125
|
FILES_UPLOAD_SIZE = "files-upload-size",
|
|
24125
24126
|
CUSTOM_CODE_RUNTIME_DURATION = "custom-code-runtime-duration",
|
|
24126
24127
|
INSTANT_TASKS_DURATION = "instant-tasks-duration",
|
|
24127
|
-
MEMBRANE_AGENT = "membrane-agent"
|
|
24128
|
+
MEMBRANE_AGENT = "membrane-agent",
|
|
24129
|
+
AI_GATEWAY = "ai-gateway"
|
|
24128
24130
|
}
|
|
24129
24131
|
interface UsageWithCredits {
|
|
24130
24132
|
key: UsageType;
|
|
@@ -24931,6 +24933,14 @@ declare const MembraneInstance: z.ZodObject<{
|
|
|
24931
24933
|
lastReportedAt: z.ZodOptional<z.ZodCoercedDate<unknown>>;
|
|
24932
24934
|
activeTenants: z.ZodOptional<z.ZodNumber>;
|
|
24933
24935
|
billableTenants: z.ZodOptional<z.ZodNumber>;
|
|
24936
|
+
clusterName: z.ZodOptional<z.ZodString>;
|
|
24937
|
+
argoCdUrl: z.ZodOptional<z.ZodURL>;
|
|
24938
|
+
grafanaUrl: z.ZodOptional<z.ZodURL>;
|
|
24939
|
+
mongoAtlasUrl: z.ZodOptional<z.ZodURL>;
|
|
24940
|
+
helmBranch: z.ZodOptional<z.ZodString>;
|
|
24941
|
+
helmValuesPath: z.ZodOptional<z.ZodURL>;
|
|
24942
|
+
awsAccountName: z.ZodOptional<z.ZodString>;
|
|
24943
|
+
awsSsoUrl: z.ZodOptional<z.ZodURL>;
|
|
24934
24944
|
}, z.core.$strip>;
|
|
24935
24945
|
type MembraneInstanceDto = z.infer<typeof MembraneInstance>;
|
|
24936
24946
|
declare const CreateMembraneInstanceRequest: z.ZodObject<{
|
|
@@ -24945,6 +24955,14 @@ declare const UpdateMembraneInstanceRequest: z.ZodObject<{
|
|
|
24945
24955
|
apiBaseUri: z.ZodOptional<z.ZodString>;
|
|
24946
24956
|
consoleBaseUri: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
24947
24957
|
orgId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
24958
|
+
clusterName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
24959
|
+
argoCdUrl: z.ZodOptional<z.ZodNullable<z.ZodURL>>;
|
|
24960
|
+
grafanaUrl: z.ZodOptional<z.ZodNullable<z.ZodURL>>;
|
|
24961
|
+
mongoAtlasUrl: z.ZodOptional<z.ZodNullable<z.ZodURL>>;
|
|
24962
|
+
helmBranch: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
24963
|
+
helmValuesPath: z.ZodOptional<z.ZodNullable<z.ZodURL>>;
|
|
24964
|
+
awsAccountName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
24965
|
+
awsSsoUrl: z.ZodOptional<z.ZodNullable<z.ZodURL>>;
|
|
24948
24966
|
}, z.core.$strict>;
|
|
24949
24967
|
type UpdateMembraneInstanceRequest = z.infer<typeof UpdateMembraneInstanceRequest>;
|
|
24950
24968
|
declare const ListMembraneInstancesQuery: z.ZodObject<{
|
|
@@ -24968,6 +24986,14 @@ declare const ListMembraneInstancesResponse: z.ZodObject<{
|
|
|
24968
24986
|
lastReportedAt: z.ZodOptional<z.ZodCoercedDate<unknown>>;
|
|
24969
24987
|
activeTenants: z.ZodOptional<z.ZodNumber>;
|
|
24970
24988
|
billableTenants: z.ZodOptional<z.ZodNumber>;
|
|
24989
|
+
clusterName: z.ZodOptional<z.ZodString>;
|
|
24990
|
+
argoCdUrl: z.ZodOptional<z.ZodURL>;
|
|
24991
|
+
grafanaUrl: z.ZodOptional<z.ZodURL>;
|
|
24992
|
+
mongoAtlasUrl: z.ZodOptional<z.ZodURL>;
|
|
24993
|
+
helmBranch: z.ZodOptional<z.ZodString>;
|
|
24994
|
+
helmValuesPath: z.ZodOptional<z.ZodURL>;
|
|
24995
|
+
awsAccountName: z.ZodOptional<z.ZodString>;
|
|
24996
|
+
awsSsoUrl: z.ZodOptional<z.ZodURL>;
|
|
24971
24997
|
}, z.core.$strip>>;
|
|
24972
24998
|
cursor: z.ZodOptional<z.ZodString>;
|
|
24973
24999
|
}, z.core.$strip>;
|
|
@@ -24986,6 +25012,14 @@ declare const MembraneInstanceAdmin: z.ZodObject<{
|
|
|
24986
25012
|
lastReportedAt: z.ZodOptional<z.ZodCoercedDate<unknown>>;
|
|
24987
25013
|
activeTenants: z.ZodOptional<z.ZodNumber>;
|
|
24988
25014
|
billableTenants: z.ZodOptional<z.ZodNumber>;
|
|
25015
|
+
clusterName: z.ZodOptional<z.ZodString>;
|
|
25016
|
+
argoCdUrl: z.ZodOptional<z.ZodURL>;
|
|
25017
|
+
grafanaUrl: z.ZodOptional<z.ZodURL>;
|
|
25018
|
+
mongoAtlasUrl: z.ZodOptional<z.ZodURL>;
|
|
25019
|
+
helmBranch: z.ZodOptional<z.ZodString>;
|
|
25020
|
+
helmValuesPath: z.ZodOptional<z.ZodURL>;
|
|
25021
|
+
awsAccountName: z.ZodOptional<z.ZodString>;
|
|
25022
|
+
awsSsoUrl: z.ZodOptional<z.ZodURL>;
|
|
24989
25023
|
orgName: z.ZodOptional<z.ZodString>;
|
|
24990
25024
|
workspaceCount: z.ZodOptional<z.ZodNumber>;
|
|
24991
25025
|
}, z.core.$strip>;
|
package/dist/index.browser.js
CHANGED
|
@@ -4618,6 +4618,9 @@ const CONNECTOR_EVENTS_DIR = 'events';
|
|
|
4618
4618
|
function getEffectiveConnectorOption(connector, optionKey) {
|
|
4619
4619
|
var _a, _b, _c, _d, _e, _f, _g, _h;
|
|
4620
4620
|
const option = (_a = connector.options) === null || _a === void 0 ? void 0 : _a[optionKey];
|
|
4621
|
+
if (!option) {
|
|
4622
|
+
throw new BadRequestError(`Connector doesn't have auth option ${optionKey}`);
|
|
4623
|
+
}
|
|
4621
4624
|
const connectorInputSchema = (_b = connector.inputSchema) !== null && _b !== void 0 ? _b : (_c = connector.ui) === null || _c === void 0 ? void 0 : _c.schema;
|
|
4622
4625
|
const optionInputSchema = (_d = option === null || option === void 0 ? void 0 : option.inputSchema) !== null && _d !== void 0 ? _d : (_e = option === null || option === void 0 ? void 0 : option.ui) === null || _e === void 0 ? void 0 : _e.schema;
|
|
4623
4626
|
return {
|
|
@@ -12882,6 +12885,7 @@ exports.UsageType = void 0;
|
|
|
12882
12885
|
UsageType["CUSTOM_CODE_RUNTIME_DURATION"] = "custom-code-runtime-duration";
|
|
12883
12886
|
UsageType["INSTANT_TASKS_DURATION"] = "instant-tasks-duration";
|
|
12884
12887
|
UsageType["MEMBRANE_AGENT"] = "membrane-agent";
|
|
12888
|
+
UsageType["AI_GATEWAY"] = "ai-gateway";
|
|
12885
12889
|
})(exports.UsageType || (exports.UsageType = {}));
|
|
12886
12890
|
|
|
12887
12891
|
function getNodeInputSchema(flow, nodeKey) {
|
|
@@ -15978,6 +15982,14 @@ const MembraneInstance = z.z.object({
|
|
|
15978
15982
|
lastReportedAt: z.z.coerce.date().optional(),
|
|
15979
15983
|
activeTenants: z.z.number().optional(),
|
|
15980
15984
|
billableTenants: z.z.number().optional(),
|
|
15985
|
+
clusterName: z.z.string().optional(),
|
|
15986
|
+
argoCdUrl: z.z.url().optional(),
|
|
15987
|
+
grafanaUrl: z.z.url().optional(),
|
|
15988
|
+
mongoAtlasUrl: z.z.url().optional(),
|
|
15989
|
+
helmBranch: z.z.string().optional(),
|
|
15990
|
+
helmValuesPath: z.z.url().optional(),
|
|
15991
|
+
awsAccountName: z.z.string().optional(),
|
|
15992
|
+
awsSsoUrl: z.z.url().optional(),
|
|
15981
15993
|
});
|
|
15982
15994
|
const CreateMembraneInstanceRequest = z.z.object({
|
|
15983
15995
|
name: z.z.string().min(1),
|
|
@@ -15991,6 +16003,14 @@ const UpdateMembraneInstanceRequest = z.z
|
|
|
15991
16003
|
apiBaseUri: z.z.string().min(1).optional(),
|
|
15992
16004
|
consoleBaseUri: z.z.string().min(1).nullable().optional(),
|
|
15993
16005
|
orgId: z.z.string().min(1).nullable().optional(),
|
|
16006
|
+
clusterName: z.z.string().nullable().optional(),
|
|
16007
|
+
argoCdUrl: z.z.url().nullable().optional(),
|
|
16008
|
+
grafanaUrl: z.z.url().nullable().optional(),
|
|
16009
|
+
mongoAtlasUrl: z.z.url().nullable().optional(),
|
|
16010
|
+
helmBranch: z.z.string().nullable().optional(),
|
|
16011
|
+
helmValuesPath: z.z.url().nullable().optional(),
|
|
16012
|
+
awsAccountName: z.z.string().nullable().optional(),
|
|
16013
|
+
awsSsoUrl: z.z.url().nullable().optional(),
|
|
15994
16014
|
})
|
|
15995
16015
|
.strict();
|
|
15996
16016
|
const ListMembraneInstancesQuery = PaginationQuery.extend({
|