@bubblelab/shared-schemas 0.1.34 → 0.1.36
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/bubbleflow-schema.d.ts +83 -8
- package/dist/bubbleflow-schema.d.ts.map +1 -1
- package/dist/credential-schema.d.ts +18 -18
- package/dist/database-definition-schema.d.ts +4 -4
- package/dist/generate-bubbleflow-schema.d.ts +2 -2
- package/dist/index.d.ts +2 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +812 -492
- package/dist/index.js.map +1 -1
- package/dist/organization-schema.d.ts +274 -0
- package/dist/organization-schema.d.ts.map +1 -0
- package/dist/permission-schema.d.ts +267 -0
- package/dist/permission-schema.d.ts.map +1 -0
- package/dist/subscription-status-schema.d.ts +2 -2
- package/package.json +1 -1
|
@@ -1236,6 +1236,26 @@ export declare const createEmptyBubbleFlowResponseSchema: z.ZodObject<{
|
|
|
1236
1236
|
active: boolean;
|
|
1237
1237
|
} | undefined;
|
|
1238
1238
|
}>;
|
|
1239
|
+
export declare const usedCredentialSchema: z.ZodObject<{
|
|
1240
|
+
id: z.ZodNumber;
|
|
1241
|
+
name: z.ZodString;
|
|
1242
|
+
type: z.ZodNativeEnum<typeof CredentialType>;
|
|
1243
|
+
ownerId: z.ZodString;
|
|
1244
|
+
isMine: z.ZodBoolean;
|
|
1245
|
+
}, "strip", z.ZodTypeAny, {
|
|
1246
|
+
name: string;
|
|
1247
|
+
type: CredentialType;
|
|
1248
|
+
id: number;
|
|
1249
|
+
ownerId: string;
|
|
1250
|
+
isMine: boolean;
|
|
1251
|
+
}, {
|
|
1252
|
+
name: string;
|
|
1253
|
+
type: CredentialType;
|
|
1254
|
+
id: number;
|
|
1255
|
+
ownerId: string;
|
|
1256
|
+
isMine: boolean;
|
|
1257
|
+
}>;
|
|
1258
|
+
export type UsedCredential = z.infer<typeof usedCredentialSchema>;
|
|
1239
1259
|
export declare const bubbleFlowDetailsResponseSchema: z.ZodObject<{
|
|
1240
1260
|
id: z.ZodNumber;
|
|
1241
1261
|
name: z.ZodString;
|
|
@@ -1249,7 +1269,27 @@ export declare const bubbleFlowDetailsResponseSchema: z.ZodObject<{
|
|
|
1249
1269
|
cronActive: z.ZodOptional<z.ZodBoolean>;
|
|
1250
1270
|
defaultInputs: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1251
1271
|
isActive: z.ZodBoolean;
|
|
1272
|
+
organizationId: z.ZodOptional<z.ZodNumber>;
|
|
1252
1273
|
requiredCredentials: z.ZodRecord<z.ZodString, z.ZodArray<z.ZodNativeEnum<typeof CredentialType>, "many">>;
|
|
1274
|
+
usedCredentials: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1275
|
+
id: z.ZodNumber;
|
|
1276
|
+
name: z.ZodString;
|
|
1277
|
+
type: z.ZodNativeEnum<typeof CredentialType>;
|
|
1278
|
+
ownerId: z.ZodString;
|
|
1279
|
+
isMine: z.ZodBoolean;
|
|
1280
|
+
}, "strip", z.ZodTypeAny, {
|
|
1281
|
+
name: string;
|
|
1282
|
+
type: CredentialType;
|
|
1283
|
+
id: number;
|
|
1284
|
+
ownerId: string;
|
|
1285
|
+
isMine: boolean;
|
|
1286
|
+
}, {
|
|
1287
|
+
name: string;
|
|
1288
|
+
type: CredentialType;
|
|
1289
|
+
id: number;
|
|
1290
|
+
ownerId: string;
|
|
1291
|
+
isMine: boolean;
|
|
1292
|
+
}>, "many">>;
|
|
1253
1293
|
displayedBubbleParameters: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
1254
1294
|
variableName: z.ZodString;
|
|
1255
1295
|
bubbleName: z.ZodString;
|
|
@@ -1664,6 +1704,7 @@ export declare const bubbleFlowDetailsResponseSchema: z.ZodObject<{
|
|
|
1664
1704
|
}>;
|
|
1665
1705
|
}>>;
|
|
1666
1706
|
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1707
|
+
permission: z.ZodOptional<z.ZodEnum<["owner", "editor", "runner", "viewer"]>>;
|
|
1667
1708
|
createdAt: z.ZodString;
|
|
1668
1709
|
updatedAt: z.ZodString;
|
|
1669
1710
|
webhook_url: z.ZodString;
|
|
@@ -1674,6 +1715,7 @@ export declare const bubbleFlowDetailsResponseSchema: z.ZodObject<{
|
|
|
1674
1715
|
webhook_url: string;
|
|
1675
1716
|
eventType: string;
|
|
1676
1717
|
requiredCredentials: Record<string, CredentialType[]>;
|
|
1718
|
+
updatedAt: string;
|
|
1677
1719
|
bubbleParameters: Record<string, {
|
|
1678
1720
|
location: {
|
|
1679
1721
|
startLine: number;
|
|
@@ -1711,7 +1753,6 @@ export declare const bubbleFlowDetailsResponseSchema: z.ZodObject<{
|
|
|
1711
1753
|
}>;
|
|
1712
1754
|
isActive: boolean;
|
|
1713
1755
|
createdAt: string;
|
|
1714
|
-
updatedAt: string;
|
|
1715
1756
|
description?: string | undefined;
|
|
1716
1757
|
workflow?: {
|
|
1717
1758
|
root: import("./bubble-definition-schema.js").WorkflowNode[];
|
|
@@ -1756,8 +1797,16 @@ export declare const bubbleFlowDetailsResponseSchema: z.ZodObject<{
|
|
|
1756
1797
|
metadata?: Record<string, unknown> | undefined;
|
|
1757
1798
|
cron?: string | null | undefined;
|
|
1758
1799
|
cronActive?: boolean | undefined;
|
|
1800
|
+
organizationId?: number | undefined;
|
|
1759
1801
|
prompt?: string | undefined;
|
|
1760
1802
|
generationError?: string | null | undefined;
|
|
1803
|
+
usedCredentials?: {
|
|
1804
|
+
name: string;
|
|
1805
|
+
type: CredentialType;
|
|
1806
|
+
id: number;
|
|
1807
|
+
ownerId: string;
|
|
1808
|
+
isMine: boolean;
|
|
1809
|
+
}[] | undefined;
|
|
1761
1810
|
displayedBubbleParameters?: Record<string, {
|
|
1762
1811
|
variableName: string;
|
|
1763
1812
|
className: string;
|
|
@@ -1770,6 +1819,7 @@ export declare const bubbleFlowDetailsResponseSchema: z.ZodObject<{
|
|
|
1770
1819
|
hasActionCall: boolean;
|
|
1771
1820
|
bubbleName: string;
|
|
1772
1821
|
}> | undefined;
|
|
1822
|
+
permission?: "owner" | "editor" | "runner" | "viewer" | undefined;
|
|
1773
1823
|
}, {
|
|
1774
1824
|
name: string;
|
|
1775
1825
|
code: string;
|
|
@@ -1777,6 +1827,7 @@ export declare const bubbleFlowDetailsResponseSchema: z.ZodObject<{
|
|
|
1777
1827
|
webhook_url: string;
|
|
1778
1828
|
eventType: string;
|
|
1779
1829
|
requiredCredentials: Record<string, CredentialType[]>;
|
|
1830
|
+
updatedAt: string;
|
|
1780
1831
|
bubbleParameters: Record<string, {
|
|
1781
1832
|
location: {
|
|
1782
1833
|
startLine: number;
|
|
@@ -1814,7 +1865,6 @@ export declare const bubbleFlowDetailsResponseSchema: z.ZodObject<{
|
|
|
1814
1865
|
}>;
|
|
1815
1866
|
isActive: boolean;
|
|
1816
1867
|
createdAt: string;
|
|
1817
|
-
updatedAt: string;
|
|
1818
1868
|
description?: string | undefined;
|
|
1819
1869
|
workflow?: {
|
|
1820
1870
|
root: import("./bubble-definition-schema.js").WorkflowNode[];
|
|
@@ -1859,8 +1909,16 @@ export declare const bubbleFlowDetailsResponseSchema: z.ZodObject<{
|
|
|
1859
1909
|
metadata?: Record<string, unknown> | undefined;
|
|
1860
1910
|
cron?: string | null | undefined;
|
|
1861
1911
|
cronActive?: boolean | undefined;
|
|
1912
|
+
organizationId?: number | undefined;
|
|
1862
1913
|
prompt?: string | undefined;
|
|
1863
1914
|
generationError?: string | null | undefined;
|
|
1915
|
+
usedCredentials?: {
|
|
1916
|
+
name: string;
|
|
1917
|
+
type: CredentialType;
|
|
1918
|
+
id: number;
|
|
1919
|
+
ownerId: string;
|
|
1920
|
+
isMine: boolean;
|
|
1921
|
+
}[] | undefined;
|
|
1864
1922
|
displayedBubbleParameters?: Record<string, {
|
|
1865
1923
|
variableName: string;
|
|
1866
1924
|
className: string;
|
|
@@ -1873,6 +1931,7 @@ export declare const bubbleFlowDetailsResponseSchema: z.ZodObject<{
|
|
|
1873
1931
|
hasActionCall: boolean;
|
|
1874
1932
|
bubbleName: string;
|
|
1875
1933
|
}> | undefined;
|
|
1934
|
+
permission?: "owner" | "editor" | "runner" | "viewer" | undefined;
|
|
1876
1935
|
}>;
|
|
1877
1936
|
export declare const bubbleFlowListItemSchema: z.ZodObject<{
|
|
1878
1937
|
id: z.ZodNumber;
|
|
@@ -1895,6 +1954,8 @@ export declare const bubbleFlowListItemSchema: z.ZodObject<{
|
|
|
1895
1954
|
className: string;
|
|
1896
1955
|
bubbleName: BubbleName;
|
|
1897
1956
|
}>, "many">>;
|
|
1957
|
+
permission: z.ZodOptional<z.ZodEnum<["owner", "editor", "runner", "viewer"]>>;
|
|
1958
|
+
organizationId: z.ZodOptional<z.ZodNumber>;
|
|
1898
1959
|
createdAt: z.ZodString;
|
|
1899
1960
|
updatedAt: z.ZodString;
|
|
1900
1961
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -1902,9 +1963,9 @@ export declare const bubbleFlowListItemSchema: z.ZodObject<{
|
|
|
1902
1963
|
id: number;
|
|
1903
1964
|
eventType: string;
|
|
1904
1965
|
cronActive: boolean;
|
|
1966
|
+
updatedAt: string;
|
|
1905
1967
|
isActive: boolean;
|
|
1906
1968
|
createdAt: string;
|
|
1907
|
-
updatedAt: string;
|
|
1908
1969
|
webhookExecutionCount: number;
|
|
1909
1970
|
webhookFailureCount: number;
|
|
1910
1971
|
executionCount: number;
|
|
@@ -1913,15 +1974,17 @@ export declare const bubbleFlowListItemSchema: z.ZodObject<{
|
|
|
1913
1974
|
className: string;
|
|
1914
1975
|
bubbleName: BubbleName;
|
|
1915
1976
|
}[] | undefined;
|
|
1977
|
+
organizationId?: number | undefined;
|
|
1978
|
+
permission?: "owner" | "editor" | "runner" | "viewer" | undefined;
|
|
1916
1979
|
cronSchedule?: string | undefined;
|
|
1917
1980
|
}, {
|
|
1918
1981
|
name: string;
|
|
1919
1982
|
id: number;
|
|
1920
1983
|
eventType: string;
|
|
1921
1984
|
cronActive: boolean;
|
|
1985
|
+
updatedAt: string;
|
|
1922
1986
|
isActive: boolean;
|
|
1923
1987
|
createdAt: string;
|
|
1924
|
-
updatedAt: string;
|
|
1925
1988
|
webhookExecutionCount: number;
|
|
1926
1989
|
webhookFailureCount: number;
|
|
1927
1990
|
executionCount: number;
|
|
@@ -1930,6 +1993,8 @@ export declare const bubbleFlowListItemSchema: z.ZodObject<{
|
|
|
1930
1993
|
className: string;
|
|
1931
1994
|
bubbleName: BubbleName;
|
|
1932
1995
|
}[] | undefined;
|
|
1996
|
+
organizationId?: number | undefined;
|
|
1997
|
+
permission?: "owner" | "editor" | "runner" | "viewer" | undefined;
|
|
1933
1998
|
cronSchedule?: string | undefined;
|
|
1934
1999
|
}>;
|
|
1935
2000
|
export declare const bubbleFlowListResponseSchema: z.ZodObject<{
|
|
@@ -1954,6 +2019,8 @@ export declare const bubbleFlowListResponseSchema: z.ZodObject<{
|
|
|
1954
2019
|
className: string;
|
|
1955
2020
|
bubbleName: BubbleName;
|
|
1956
2021
|
}>, "many">>;
|
|
2022
|
+
permission: z.ZodOptional<z.ZodEnum<["owner", "editor", "runner", "viewer"]>>;
|
|
2023
|
+
organizationId: z.ZodOptional<z.ZodNumber>;
|
|
1957
2024
|
createdAt: z.ZodString;
|
|
1958
2025
|
updatedAt: z.ZodString;
|
|
1959
2026
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -1961,9 +2028,9 @@ export declare const bubbleFlowListResponseSchema: z.ZodObject<{
|
|
|
1961
2028
|
id: number;
|
|
1962
2029
|
eventType: string;
|
|
1963
2030
|
cronActive: boolean;
|
|
2031
|
+
updatedAt: string;
|
|
1964
2032
|
isActive: boolean;
|
|
1965
2033
|
createdAt: string;
|
|
1966
|
-
updatedAt: string;
|
|
1967
2034
|
webhookExecutionCount: number;
|
|
1968
2035
|
webhookFailureCount: number;
|
|
1969
2036
|
executionCount: number;
|
|
@@ -1972,15 +2039,17 @@ export declare const bubbleFlowListResponseSchema: z.ZodObject<{
|
|
|
1972
2039
|
className: string;
|
|
1973
2040
|
bubbleName: BubbleName;
|
|
1974
2041
|
}[] | undefined;
|
|
2042
|
+
organizationId?: number | undefined;
|
|
2043
|
+
permission?: "owner" | "editor" | "runner" | "viewer" | undefined;
|
|
1975
2044
|
cronSchedule?: string | undefined;
|
|
1976
2045
|
}, {
|
|
1977
2046
|
name: string;
|
|
1978
2047
|
id: number;
|
|
1979
2048
|
eventType: string;
|
|
1980
2049
|
cronActive: boolean;
|
|
2050
|
+
updatedAt: string;
|
|
1981
2051
|
isActive: boolean;
|
|
1982
2052
|
createdAt: string;
|
|
1983
|
-
updatedAt: string;
|
|
1984
2053
|
webhookExecutionCount: number;
|
|
1985
2054
|
webhookFailureCount: number;
|
|
1986
2055
|
executionCount: number;
|
|
@@ -1989,6 +2058,8 @@ export declare const bubbleFlowListResponseSchema: z.ZodObject<{
|
|
|
1989
2058
|
className: string;
|
|
1990
2059
|
bubbleName: BubbleName;
|
|
1991
2060
|
}[] | undefined;
|
|
2061
|
+
organizationId?: number | undefined;
|
|
2062
|
+
permission?: "owner" | "editor" | "runner" | "viewer" | undefined;
|
|
1992
2063
|
cronSchedule?: string | undefined;
|
|
1993
2064
|
}>, "many">>;
|
|
1994
2065
|
userMonthlyUsage: z.ZodObject<{
|
|
@@ -2004,9 +2075,9 @@ export declare const bubbleFlowListResponseSchema: z.ZodObject<{
|
|
|
2004
2075
|
id: number;
|
|
2005
2076
|
eventType: string;
|
|
2006
2077
|
cronActive: boolean;
|
|
2078
|
+
updatedAt: string;
|
|
2007
2079
|
isActive: boolean;
|
|
2008
2080
|
createdAt: string;
|
|
2009
|
-
updatedAt: string;
|
|
2010
2081
|
webhookExecutionCount: number;
|
|
2011
2082
|
webhookFailureCount: number;
|
|
2012
2083
|
executionCount: number;
|
|
@@ -2015,6 +2086,8 @@ export declare const bubbleFlowListResponseSchema: z.ZodObject<{
|
|
|
2015
2086
|
className: string;
|
|
2016
2087
|
bubbleName: BubbleName;
|
|
2017
2088
|
}[] | undefined;
|
|
2089
|
+
organizationId?: number | undefined;
|
|
2090
|
+
permission?: "owner" | "editor" | "runner" | "viewer" | undefined;
|
|
2018
2091
|
cronSchedule?: string | undefined;
|
|
2019
2092
|
}[];
|
|
2020
2093
|
userMonthlyUsage: {
|
|
@@ -2029,9 +2102,9 @@ export declare const bubbleFlowListResponseSchema: z.ZodObject<{
|
|
|
2029
2102
|
id: number;
|
|
2030
2103
|
eventType: string;
|
|
2031
2104
|
cronActive: boolean;
|
|
2105
|
+
updatedAt: string;
|
|
2032
2106
|
isActive: boolean;
|
|
2033
2107
|
createdAt: string;
|
|
2034
|
-
updatedAt: string;
|
|
2035
2108
|
webhookExecutionCount: number;
|
|
2036
2109
|
webhookFailureCount: number;
|
|
2037
2110
|
executionCount: number;
|
|
@@ -2040,6 +2113,8 @@ export declare const bubbleFlowListResponseSchema: z.ZodObject<{
|
|
|
2040
2113
|
className: string;
|
|
2041
2114
|
bubbleName: BubbleName;
|
|
2042
2115
|
}[] | undefined;
|
|
2116
|
+
organizationId?: number | undefined;
|
|
2117
|
+
permission?: "owner" | "editor" | "runner" | "viewer" | undefined;
|
|
2043
2118
|
cronSchedule?: string | undefined;
|
|
2044
2119
|
}[] | undefined;
|
|
2045
2120
|
}>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"bubbleflow-schema.d.ts","sourceRoot":"","sources":["../src/bubbleflow-schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,mBAAmB,CAAC;AACtC,OAAO,EAGL,mBAAmB,EAEpB,MAAM,+BAA+B,CAAC;AACvC,OAAO,EAAE,cAAc,EAAE,MAAM,YAAY,CAAC;AAC5C,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,YAAY,CAAC;
|
|
1
|
+
{"version":3,"file":"bubbleflow-schema.d.ts","sourceRoot":"","sources":["../src/bubbleflow-schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EA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ACnC,CAAC;AACF,MAAM,MAAM,6BAA6B,GAAG,CAAC,CAAC,KAAK,CACjD,OAAO,mCAAmC,CAC3C,CAAC;AACF,MAAM,MAAM,wBAAwB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,uBAAuB,CAAC,CAAC;AAE/E,MAAM,MAAM,iCAAiC,GAAG,CAAC,CAAC,KAAK,CACrD,OAAO,gCAAgC,CACxC,CAAC;AACF,MAAM,MAAM,kCAAkC,GAAG,CAAC,CAAC,KAAK,CACtD,OAAO,gCAAgC,CACxC,CAAC;AACF,MAAM,MAAM,2BAA2B,GAAG,CAAC,CAAC,KAAK,CAC/C,OAAO,0BAA0B,CAClC,CAAC;AACF,MAAM,MAAM,yBAAyB,GAAG,CAAC,CAAC,KAAK,CAC7C,OAAO,+BAA+B,CACvC,CAAC;AAEF,MAAM,MAAM,sBAAsB,GAAG,CAAC,CAAC,KAAK,CAC1C,OAAO,4BAA4B,CACpC,CAAC;AACF,MAAM,MAAM,kBAAkB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,wBAAwB,CAAC,CAAC"}
|
|
@@ -139,14 +139,14 @@ export declare const createCredentialSchema: z.ZodObject<{
|
|
|
139
139
|
updatedAt: z.ZodString;
|
|
140
140
|
}, "strip", z.ZodTypeAny, {
|
|
141
141
|
id: string;
|
|
142
|
-
createdAt: string;
|
|
143
142
|
updatedAt: string;
|
|
143
|
+
createdAt: string;
|
|
144
144
|
text: string;
|
|
145
145
|
enabled: boolean;
|
|
146
146
|
}, {
|
|
147
147
|
id: string;
|
|
148
|
-
createdAt: string;
|
|
149
148
|
updatedAt: string;
|
|
149
|
+
createdAt: string;
|
|
150
150
|
text: string;
|
|
151
151
|
enabled: boolean;
|
|
152
152
|
}>, "many">>;
|
|
@@ -159,8 +159,8 @@ export declare const createCredentialSchema: z.ZodObject<{
|
|
|
159
159
|
databaseType?: "postgresql" | "mysql" | "sqlite" | "mssql" | "oracle" | undefined;
|
|
160
160
|
rules?: {
|
|
161
161
|
id: string;
|
|
162
|
-
createdAt: string;
|
|
163
162
|
updatedAt: string;
|
|
163
|
+
createdAt: string;
|
|
164
164
|
text: string;
|
|
165
165
|
enabled: boolean;
|
|
166
166
|
}[] | undefined;
|
|
@@ -173,8 +173,8 @@ export declare const createCredentialSchema: z.ZodObject<{
|
|
|
173
173
|
databaseType?: "postgresql" | "mysql" | "sqlite" | "mssql" | "oracle" | undefined;
|
|
174
174
|
rules?: {
|
|
175
175
|
id: string;
|
|
176
|
-
createdAt: string;
|
|
177
176
|
updatedAt: string;
|
|
177
|
+
createdAt: string;
|
|
178
178
|
text: string;
|
|
179
179
|
enabled: boolean;
|
|
180
180
|
}[] | undefined;
|
|
@@ -192,8 +192,8 @@ export declare const createCredentialSchema: z.ZodObject<{
|
|
|
192
192
|
databaseType?: "postgresql" | "mysql" | "sqlite" | "mssql" | "oracle" | undefined;
|
|
193
193
|
rules?: {
|
|
194
194
|
id: string;
|
|
195
|
-
createdAt: string;
|
|
196
195
|
updatedAt: string;
|
|
196
|
+
createdAt: string;
|
|
197
197
|
text: string;
|
|
198
198
|
enabled: boolean;
|
|
199
199
|
}[] | undefined;
|
|
@@ -213,8 +213,8 @@ export declare const createCredentialSchema: z.ZodObject<{
|
|
|
213
213
|
databaseType?: "postgresql" | "mysql" | "sqlite" | "mssql" | "oracle" | undefined;
|
|
214
214
|
rules?: {
|
|
215
215
|
id: string;
|
|
216
|
-
createdAt: string;
|
|
217
216
|
updatedAt: string;
|
|
217
|
+
createdAt: string;
|
|
218
218
|
text: string;
|
|
219
219
|
enabled: boolean;
|
|
220
220
|
}[] | undefined;
|
|
@@ -242,14 +242,14 @@ export declare const updateCredentialSchema: z.ZodObject<{
|
|
|
242
242
|
updatedAt: z.ZodString;
|
|
243
243
|
}, "strip", z.ZodTypeAny, {
|
|
244
244
|
id: string;
|
|
245
|
-
createdAt: string;
|
|
246
245
|
updatedAt: string;
|
|
246
|
+
createdAt: string;
|
|
247
247
|
text: string;
|
|
248
248
|
enabled: boolean;
|
|
249
249
|
}, {
|
|
250
250
|
id: string;
|
|
251
|
-
createdAt: string;
|
|
252
251
|
updatedAt: string;
|
|
252
|
+
createdAt: string;
|
|
253
253
|
text: string;
|
|
254
254
|
enabled: boolean;
|
|
255
255
|
}>, "many">>;
|
|
@@ -262,8 +262,8 @@ export declare const updateCredentialSchema: z.ZodObject<{
|
|
|
262
262
|
databaseType?: "postgresql" | "mysql" | "sqlite" | "mssql" | "oracle" | undefined;
|
|
263
263
|
rules?: {
|
|
264
264
|
id: string;
|
|
265
|
-
createdAt: string;
|
|
266
265
|
updatedAt: string;
|
|
266
|
+
createdAt: string;
|
|
267
267
|
text: string;
|
|
268
268
|
enabled: boolean;
|
|
269
269
|
}[] | undefined;
|
|
@@ -276,8 +276,8 @@ export declare const updateCredentialSchema: z.ZodObject<{
|
|
|
276
276
|
databaseType?: "postgresql" | "mysql" | "sqlite" | "mssql" | "oracle" | undefined;
|
|
277
277
|
rules?: {
|
|
278
278
|
id: string;
|
|
279
|
-
createdAt: string;
|
|
280
279
|
updatedAt: string;
|
|
280
|
+
createdAt: string;
|
|
281
281
|
text: string;
|
|
282
282
|
enabled: boolean;
|
|
283
283
|
}[] | undefined;
|
|
@@ -294,8 +294,8 @@ export declare const updateCredentialSchema: z.ZodObject<{
|
|
|
294
294
|
databaseType?: "postgresql" | "mysql" | "sqlite" | "mssql" | "oracle" | undefined;
|
|
295
295
|
rules?: {
|
|
296
296
|
id: string;
|
|
297
|
-
createdAt: string;
|
|
298
297
|
updatedAt: string;
|
|
298
|
+
createdAt: string;
|
|
299
299
|
text: string;
|
|
300
300
|
enabled: boolean;
|
|
301
301
|
}[] | undefined;
|
|
@@ -314,8 +314,8 @@ export declare const updateCredentialSchema: z.ZodObject<{
|
|
|
314
314
|
databaseType?: "postgresql" | "mysql" | "sqlite" | "mssql" | "oracle" | undefined;
|
|
315
315
|
rules?: {
|
|
316
316
|
id: string;
|
|
317
|
-
createdAt: string;
|
|
318
317
|
updatedAt: string;
|
|
318
|
+
createdAt: string;
|
|
319
319
|
text: string;
|
|
320
320
|
enabled: boolean;
|
|
321
321
|
}[] | undefined;
|
|
@@ -342,14 +342,14 @@ export declare const credentialResponseSchema: z.ZodObject<{
|
|
|
342
342
|
updatedAt: z.ZodString;
|
|
343
343
|
}, "strip", z.ZodTypeAny, {
|
|
344
344
|
id: string;
|
|
345
|
-
createdAt: string;
|
|
346
345
|
updatedAt: string;
|
|
346
|
+
createdAt: string;
|
|
347
347
|
text: string;
|
|
348
348
|
enabled: boolean;
|
|
349
349
|
}, {
|
|
350
350
|
id: string;
|
|
351
|
-
createdAt: string;
|
|
352
351
|
updatedAt: string;
|
|
352
|
+
createdAt: string;
|
|
353
353
|
text: string;
|
|
354
354
|
enabled: boolean;
|
|
355
355
|
}>, "many">>;
|
|
@@ -362,8 +362,8 @@ export declare const credentialResponseSchema: z.ZodObject<{
|
|
|
362
362
|
databaseType?: "postgresql" | "mysql" | "sqlite" | "mssql" | "oracle" | undefined;
|
|
363
363
|
rules?: {
|
|
364
364
|
id: string;
|
|
365
|
-
createdAt: string;
|
|
366
365
|
updatedAt: string;
|
|
366
|
+
createdAt: string;
|
|
367
367
|
text: string;
|
|
368
368
|
enabled: boolean;
|
|
369
369
|
}[] | undefined;
|
|
@@ -376,8 +376,8 @@ export declare const credentialResponseSchema: z.ZodObject<{
|
|
|
376
376
|
databaseType?: "postgresql" | "mysql" | "sqlite" | "mssql" | "oracle" | undefined;
|
|
377
377
|
rules?: {
|
|
378
378
|
id: string;
|
|
379
|
-
createdAt: string;
|
|
380
379
|
updatedAt: string;
|
|
380
|
+
createdAt: string;
|
|
381
381
|
text: string;
|
|
382
382
|
enabled: boolean;
|
|
383
383
|
}[] | undefined;
|
|
@@ -428,8 +428,8 @@ export declare const credentialResponseSchema: z.ZodObject<{
|
|
|
428
428
|
databaseType?: "postgresql" | "mysql" | "sqlite" | "mssql" | "oracle" | undefined;
|
|
429
429
|
rules?: {
|
|
430
430
|
id: string;
|
|
431
|
-
createdAt: string;
|
|
432
431
|
updatedAt: string;
|
|
432
|
+
createdAt: string;
|
|
433
433
|
text: string;
|
|
434
434
|
enabled: boolean;
|
|
435
435
|
}[] | undefined;
|
|
@@ -463,8 +463,8 @@ export declare const credentialResponseSchema: z.ZodObject<{
|
|
|
463
463
|
databaseType?: "postgresql" | "mysql" | "sqlite" | "mssql" | "oracle" | undefined;
|
|
464
464
|
rules?: {
|
|
465
465
|
id: string;
|
|
466
|
-
createdAt: string;
|
|
467
466
|
updatedAt: string;
|
|
467
|
+
createdAt: string;
|
|
468
468
|
text: string;
|
|
469
469
|
enabled: boolean;
|
|
470
470
|
}[] | undefined;
|
|
@@ -51,14 +51,14 @@ export declare const databaseMetadataSchema: z.ZodObject<{
|
|
|
51
51
|
updatedAt: z.ZodString;
|
|
52
52
|
}, "strip", z.ZodTypeAny, {
|
|
53
53
|
id: string;
|
|
54
|
-
createdAt: string;
|
|
55
54
|
updatedAt: string;
|
|
55
|
+
createdAt: string;
|
|
56
56
|
text: string;
|
|
57
57
|
enabled: boolean;
|
|
58
58
|
}, {
|
|
59
59
|
id: string;
|
|
60
|
-
createdAt: string;
|
|
61
60
|
updatedAt: string;
|
|
61
|
+
createdAt: string;
|
|
62
62
|
text: string;
|
|
63
63
|
enabled: boolean;
|
|
64
64
|
}>, "many">>;
|
|
@@ -71,8 +71,8 @@ export declare const databaseMetadataSchema: z.ZodObject<{
|
|
|
71
71
|
databaseType?: "postgresql" | "mysql" | "sqlite" | "mssql" | "oracle" | undefined;
|
|
72
72
|
rules?: {
|
|
73
73
|
id: string;
|
|
74
|
-
createdAt: string;
|
|
75
74
|
updatedAt: string;
|
|
75
|
+
createdAt: string;
|
|
76
76
|
text: string;
|
|
77
77
|
enabled: boolean;
|
|
78
78
|
}[] | undefined;
|
|
@@ -85,8 +85,8 @@ export declare const databaseMetadataSchema: z.ZodObject<{
|
|
|
85
85
|
databaseType?: "postgresql" | "mysql" | "sqlite" | "mssql" | "oracle" | undefined;
|
|
86
86
|
rules?: {
|
|
87
87
|
id: string;
|
|
88
|
-
createdAt: string;
|
|
89
88
|
updatedAt: string;
|
|
89
|
+
createdAt: string;
|
|
90
90
|
text: string;
|
|
91
91
|
enabled: boolean;
|
|
92
92
|
}[] | undefined;
|
|
@@ -1445,6 +1445,7 @@ export declare const bubbleFlowTemplateResponseSchema: z.ZodObject<{
|
|
|
1445
1445
|
description: string;
|
|
1446
1446
|
id: number;
|
|
1447
1447
|
eventType: string;
|
|
1448
|
+
updatedAt: string;
|
|
1448
1449
|
bubbleParameters: Record<string, {
|
|
1449
1450
|
variableName: string;
|
|
1450
1451
|
className: string;
|
|
@@ -1470,7 +1471,6 @@ export declare const bubbleFlowTemplateResponseSchema: z.ZodObject<{
|
|
|
1470
1471
|
bubbleName: string;
|
|
1471
1472
|
}>;
|
|
1472
1473
|
createdAt: string;
|
|
1473
|
-
updatedAt: string;
|
|
1474
1474
|
requiredCredentials?: Record<string, CredentialType[]> | undefined;
|
|
1475
1475
|
webhook?: {
|
|
1476
1476
|
path: string;
|
|
@@ -1483,6 +1483,7 @@ export declare const bubbleFlowTemplateResponseSchema: z.ZodObject<{
|
|
|
1483
1483
|
description: string;
|
|
1484
1484
|
id: number;
|
|
1485
1485
|
eventType: string;
|
|
1486
|
+
updatedAt: string;
|
|
1486
1487
|
bubbleParameters: Record<string, {
|
|
1487
1488
|
variableName: string;
|
|
1488
1489
|
className: string;
|
|
@@ -1508,7 +1509,6 @@ export declare const bubbleFlowTemplateResponseSchema: z.ZodObject<{
|
|
|
1508
1509
|
bubbleName: string;
|
|
1509
1510
|
}>;
|
|
1510
1511
|
createdAt: string;
|
|
1511
|
-
updatedAt: string;
|
|
1512
1512
|
requiredCredentials?: Record<string, CredentialType[]> | undefined;
|
|
1513
1513
|
webhook?: {
|
|
1514
1514
|
path: string;
|
package/dist/index.d.ts
CHANGED
|
@@ -27,4 +27,6 @@ export * from './error-enhancer.js';
|
|
|
27
27
|
export * from './hash-utils.js';
|
|
28
28
|
export * from './agent-memory.js';
|
|
29
29
|
export * from './parameter-formatter.js';
|
|
30
|
+
export * from './permission-schema.js';
|
|
31
|
+
export * from './organization-schema.js';
|
|
30
32
|
//# sourceMappingURL=index.d.ts.map
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAEA,cAAc,iBAAiB,CAAC;AAChC,cAAc,iCAAiC,CAAC;AAChD,cAAc,wBAAwB,CAAC;AACvC,cAAc,+BAA+B,CAAC;AAC9C,cAAc,YAAY,CAAC;AAC3B,cAAc,uBAAuB,CAAC;AACtC,cAAc,0BAA0B,CAAC;AACzC,cAAc,mBAAmB,CAAC;AAClC,cAAc,sBAAsB,CAAC;AACrC,cAAc,wBAAwB,CAAC;AACvC,cAAc,kCAAkC,CAAC;AACjD,cAAc,iCAAiC,CAAC;AAChD,cAAc,qBAAqB,CAAC;AACpC,cAAc,iCAAiC,CAAC;AAChD,cAAc,iBAAiB,CAAC;AAChC,cAAc,eAAe,CAAC;AAC9B,cAAc,YAAY,CAAC;AAC3B,cAAc,aAAa,CAAC;AAC5B,cAAc,WAAW,CAAC;AAC1B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,iBAAiB,CAAC;AAChC,cAAc,cAAc,CAAC;AAC7B,cAAc,oCAAoC,CAAC;AACnD,cAAc,oBAAoB,CAAC;AACnC,cAAc,kBAAkB,CAAC;AACjC,cAAc,qBAAqB,CAAC;AACpC,cAAc,iBAAiB,CAAC;AAChC,cAAc,mBAAmB,CAAC;AAClC,cAAc,0BAA0B,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAEA,cAAc,iBAAiB,CAAC;AAChC,cAAc,iCAAiC,CAAC;AAChD,cAAc,wBAAwB,CAAC;AACvC,cAAc,+BAA+B,CAAC;AAC9C,cAAc,YAAY,CAAC;AAC3B,cAAc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