@membranehq/sdk 0.11.7 → 0.11.9
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 +49 -4
- package/dist/dts/alerts/types.d.ts +25 -2
- package/dist/dts/orgs/types.d.ts +5 -0
- package/dist/dts/workspace-elements/api/app-data-schema-instances-api.d.ts +7 -1
- package/dist/dts/workspace-elements/api/app-data-schemas-api.d.ts +22 -5
- package/dist/dts/workspace-elements/api/data-link-table-instances-api.d.ts +6 -0
- package/dist/dts/workspace-elements/api/data-link-tables-api.d.ts +27 -1
- package/dist/dts/workspace-elements/base/app-data-schemas/types.d.ts +9 -2
- package/dist/dts/workspace-elements/base/data-link-tables/types.d.ts +6 -0
- package/dist/dts/workspaces/types.d.ts +10 -0
- package/dist/index.browser.d.mts +115 -9
- package/dist/index.browser.d.ts +115 -9
- package/dist/index.browser.js +125 -6
- package/dist/index.browser.js.map +1 -1
- package/dist/index.browser.mjs +124 -7
- package/dist/index.browser.mjs.map +1 -1
- package/dist/index.node.d.mts +115 -9
- package/dist/index.node.d.ts +115 -9
- package/dist/index.node.js +125 -6
- package/dist/index.node.js.map +1 -1
- package/dist/index.node.mjs +124 -7
- package/dist/index.node.mjs.map +1 -1
- package/package.json +1 -1
package/dist/bundle.d.ts
CHANGED
|
@@ -2539,6 +2539,12 @@ declare const BaseDataLinkTable: z.ZodObject<{
|
|
|
2539
2539
|
updatedAt: z.ZodOptional<z.ZodString>;
|
|
2540
2540
|
archivedAt: z.ZodOptional<z.ZodString>;
|
|
2541
2541
|
isDeactivated: z.ZodOptional<z.ZodBoolean>;
|
|
2542
|
+
dataLinkTableId: z.ZodOptional<z.ZodString>;
|
|
2543
|
+
connectionId: z.ZodOptional<z.ZodString>;
|
|
2544
|
+
integrationId: z.ZodOptional<z.ZodString>;
|
|
2545
|
+
instanceKey: z.ZodOptional<z.ZodString>;
|
|
2546
|
+
userId: z.ZodOptional<z.ZodString>;
|
|
2547
|
+
isCustomized: z.ZodOptional<z.ZodBoolean>;
|
|
2542
2548
|
}, z.core.$strip>;
|
|
2543
2549
|
type BaseDataLinkTable = z.infer<typeof BaseDataLinkTable>;
|
|
2544
2550
|
|
|
@@ -2584,10 +2590,16 @@ declare const BaseAppDataSchema: z.ZodObject<{
|
|
|
2584
2590
|
createdAt: z.ZodOptional<z.ZodString>;
|
|
2585
2591
|
updatedAt: z.ZodOptional<z.ZodString>;
|
|
2586
2592
|
isDeactivated: z.ZodOptional<z.ZodBoolean>;
|
|
2587
|
-
schema: z.ZodAny
|
|
2593
|
+
schema: z.ZodOptional<z.ZodAny>;
|
|
2588
2594
|
code: z.ZodOptional<z.ZodString>;
|
|
2589
2595
|
archivedAt: z.ZodOptional<z.ZodString>;
|
|
2590
2596
|
revision: z.ZodOptional<z.ZodString>;
|
|
2597
|
+
userId: z.ZodOptional<z.ZodString>;
|
|
2598
|
+
appDataSchemaId: z.ZodOptional<z.ZodString>;
|
|
2599
|
+
appDataSchemaRevision: z.ZodOptional<z.ZodString>;
|
|
2600
|
+
instanceKey: z.ZodOptional<z.ZodString>;
|
|
2601
|
+
error: z.ZodOptional<z.ZodType<ErrorDataSchema, unknown, z.core.$ZodTypeInternals<ErrorDataSchema, unknown>>>;
|
|
2602
|
+
isCustomized: z.ZodOptional<z.ZodBoolean>;
|
|
2591
2603
|
}, z.core.$strip>;
|
|
2592
2604
|
type BaseAppDataSchema = z.infer<typeof BaseAppDataSchema>;
|
|
2593
2605
|
|
|
@@ -5195,6 +5207,17 @@ type FieldMappingInstanceApiResponse = z.infer<typeof FieldMappingInstanceApiRes
|
|
|
5195
5207
|
type FieldMappingInstance = FieldMappingInstanceApiResponse;
|
|
5196
5208
|
|
|
5197
5209
|
declare const FindDataLinkTablesQuery: z.ZodObject<{
|
|
5210
|
+
layer: z.ZodOptional<z.ZodEnum<{
|
|
5211
|
+
connection: "connection";
|
|
5212
|
+
universal: "universal";
|
|
5213
|
+
}>>;
|
|
5214
|
+
connectionId: z.ZodOptional<z.ZodString>;
|
|
5215
|
+
tenantId: z.ZodOptional<z.ZodString>;
|
|
5216
|
+
userId: z.ZodOptional<z.ZodString>;
|
|
5217
|
+
dataLinkTableId: z.ZodOptional<z.ZodString>;
|
|
5218
|
+
instanceKey: z.ZodOptional<z.ZodString>;
|
|
5219
|
+
integrationId: z.ZodOptional<z.ZodString>;
|
|
5220
|
+
integrationKey: z.ZodOptional<z.ZodString>;
|
|
5198
5221
|
search: z.ZodOptional<z.ZodString>;
|
|
5199
5222
|
limit: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
5200
5223
|
cursor: z.ZodOptional<z.ZodString>;
|
|
@@ -5299,6 +5322,12 @@ declare const DataLinkTableInstanceApiResponse: z.ZodObject<{
|
|
|
5299
5322
|
updatedAt: z.ZodOptional<z.ZodString>;
|
|
5300
5323
|
archivedAt: z.ZodOptional<z.ZodString>;
|
|
5301
5324
|
isDeactivated: z.ZodOptional<z.ZodBoolean>;
|
|
5325
|
+
dataLinkTableId: z.ZodOptional<z.ZodString>;
|
|
5326
|
+
connectionId: z.ZodOptional<z.ZodString>;
|
|
5327
|
+
integrationId: z.ZodOptional<z.ZodString>;
|
|
5328
|
+
instanceKey: z.ZodOptional<z.ZodString>;
|
|
5329
|
+
userId: z.ZodOptional<z.ZodString>;
|
|
5330
|
+
isCustomized: z.ZodOptional<z.ZodBoolean>;
|
|
5302
5331
|
}, z.core.$strip>>;
|
|
5303
5332
|
connection: z.ZodOptional<z.ZodObject<{
|
|
5304
5333
|
id: z.ZodString;
|
|
@@ -5500,8 +5529,18 @@ declare const AppEventSubscriptionApiResponse: z.ZodObject<{
|
|
|
5500
5529
|
type AppEventSubscriptionApiResponse = z.infer<typeof AppEventSubscriptionApiResponse>;
|
|
5501
5530
|
type AppEventSubscription = AppEventSubscriptionApiResponse;
|
|
5502
5531
|
|
|
5503
|
-
|
|
5504
|
-
|
|
5532
|
+
declare const FindAppDataSchemasQuery: z.ZodObject<{
|
|
5533
|
+
search: z.ZodOptional<z.ZodString>;
|
|
5534
|
+
limit: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
5535
|
+
cursor: z.ZodOptional<z.ZodString>;
|
|
5536
|
+
includeArchived: z.ZodOptional<z.ZodPipe<z.ZodTransform<boolean, unknown>, z.ZodBoolean>>;
|
|
5537
|
+
isUniversal: z.ZodOptional<z.ZodPipe<z.ZodTransform<boolean, unknown>, z.ZodBoolean>>;
|
|
5538
|
+
tenantId: z.ZodOptional<z.ZodString>;
|
|
5539
|
+
userId: z.ZodOptional<z.ZodString>;
|
|
5540
|
+
appDataSchemaId: z.ZodOptional<z.ZodString>;
|
|
5541
|
+
instanceKey: z.ZodOptional<z.ZodString>;
|
|
5542
|
+
}, z.core.$strip>;
|
|
5543
|
+
type FindAppDataSchemasQuery = z.infer<typeof FindAppDataSchemasQuery>;
|
|
5505
5544
|
type CreateAppDataSchemaRequest = {
|
|
5506
5545
|
key: string;
|
|
5507
5546
|
name: string;
|
|
@@ -5584,10 +5623,16 @@ declare const AppDataSchemaInstanceApiResponse: z.ZodObject<{
|
|
|
5584
5623
|
createdAt: z.ZodOptional<z.ZodString>;
|
|
5585
5624
|
updatedAt: z.ZodOptional<z.ZodString>;
|
|
5586
5625
|
isDeactivated: z.ZodOptional<z.ZodBoolean>;
|
|
5587
|
-
schema: z.ZodAny
|
|
5626
|
+
schema: z.ZodOptional<z.ZodAny>;
|
|
5588
5627
|
code: z.ZodOptional<z.ZodString>;
|
|
5589
5628
|
archivedAt: z.ZodOptional<z.ZodString>;
|
|
5590
5629
|
revision: z.ZodOptional<z.ZodString>;
|
|
5630
|
+
userId: z.ZodOptional<z.ZodString>;
|
|
5631
|
+
appDataSchemaId: z.ZodOptional<z.ZodString>;
|
|
5632
|
+
appDataSchemaRevision: z.ZodOptional<z.ZodString>;
|
|
5633
|
+
instanceKey: z.ZodOptional<z.ZodString>;
|
|
5634
|
+
error: z.ZodOptional<z.ZodType<ErrorDataSchema, unknown, z.core.$ZodTypeInternals<ErrorDataSchema, unknown>>>;
|
|
5635
|
+
isCustomized: z.ZodOptional<z.ZodBoolean>;
|
|
5591
5636
|
}, z.core.$strip>>;
|
|
5592
5637
|
}, z.core.$strip>;
|
|
5593
5638
|
type AppDataSchemaInstanceApiResponse = z.infer<typeof AppDataSchemaInstanceApiResponse>;
|
|
@@ -21,12 +21,18 @@ export declare enum AlertType {
|
|
|
21
21
|
apiRequestsPerCustomerPerHour = "apiRequestsPerCustomerPerHour",
|
|
22
22
|
webhookRequestsPerCustomerPerSecond = "webhookRequestsPerCustomerPerSecond",
|
|
23
23
|
webhookRequestsPerCustomerPerHour = "webhookRequestsPerCustomerPerHour",
|
|
24
|
-
|
|
24
|
+
engineCreditsExhaustionProjected = "engineCreditsExhaustionProjected",
|
|
25
|
+
engineCreditsExhaustionActual = "engineCreditsExhaustionActual",
|
|
26
|
+
testAlert = "testAlert",
|
|
27
|
+
totalNumberOfCustomers = "totalNumberOfCustomers",
|
|
28
|
+
totalNumberOfConnections = "totalNumberOfConnections",
|
|
29
|
+
totalNumberOfWorkspaceElements = "totalNumberOfWorkspaceElements"
|
|
25
30
|
}
|
|
26
31
|
export declare enum AlertCategory {
|
|
27
32
|
RATE_LIMIT = "rateLimit",
|
|
28
33
|
CUSTOMER_RATE_LIMIT = "customerRateLimit",
|
|
29
34
|
USAGE = "usage",
|
|
35
|
+
WORKSPACE_SIZE = "workspaceSize",
|
|
30
36
|
TEST = "test"
|
|
31
37
|
}
|
|
32
38
|
export declare const ALERT_TYPE_CATEGORIES: {
|
|
@@ -43,7 +49,12 @@ export declare const ALERT_TYPE_CATEGORIES: {
|
|
|
43
49
|
readonly apiRequestsPerCustomerPerHour: AlertCategory.CUSTOMER_RATE_LIMIT;
|
|
44
50
|
readonly webhookRequestsPerCustomerPerSecond: AlertCategory.CUSTOMER_RATE_LIMIT;
|
|
45
51
|
readonly webhookRequestsPerCustomerPerHour: AlertCategory.CUSTOMER_RATE_LIMIT;
|
|
52
|
+
readonly engineCreditsExhaustionProjected: AlertCategory.USAGE;
|
|
53
|
+
readonly engineCreditsExhaustionActual: AlertCategory.USAGE;
|
|
46
54
|
readonly testAlert: AlertCategory.TEST;
|
|
55
|
+
readonly totalNumberOfCustomers: AlertCategory.WORKSPACE_SIZE;
|
|
56
|
+
readonly totalNumberOfConnections: AlertCategory.WORKSPACE_SIZE;
|
|
57
|
+
readonly totalNumberOfWorkspaceElements: AlertCategory.WORKSPACE_SIZE;
|
|
47
58
|
};
|
|
48
59
|
type AlertsByCategory<C extends AlertCategory> = {
|
|
49
60
|
[K in keyof typeof ALERT_TYPE_CATEGORIES]: (typeof ALERT_TYPE_CATEGORIES)[K] extends C ? K : never;
|
|
@@ -52,6 +63,7 @@ export type RateLimitAlerts = AlertsByCategory<AlertCategory.RATE_LIMIT>;
|
|
|
52
63
|
export type CustomerRateLimitAlerts = AlertsByCategory<AlertCategory.CUSTOMER_RATE_LIMIT>;
|
|
53
64
|
export type UsageAlerts = AlertsByCategory<AlertCategory.USAGE>;
|
|
54
65
|
export type TestAlerts = AlertsByCategory<AlertCategory.TEST>;
|
|
66
|
+
export type WorkspaceSizeAlerts = AlertsByCategory<AlertCategory.WORKSPACE_SIZE>;
|
|
55
67
|
export declare const AlertSchema: z.ZodObject<{
|
|
56
68
|
id: z.ZodString;
|
|
57
69
|
description: z.ZodString;
|
|
@@ -73,9 +85,15 @@ export declare const AlertSchema: z.ZodObject<{
|
|
|
73
85
|
apiRequestsPerCustomerPerHour: AlertType.apiRequestsPerCustomerPerHour;
|
|
74
86
|
webhookRequestsPerCustomerPerSecond: AlertType.webhookRequestsPerCustomerPerSecond;
|
|
75
87
|
webhookRequestsPerCustomerPerHour: AlertType.webhookRequestsPerCustomerPerHour;
|
|
88
|
+
engineCreditsExhaustionProjected: AlertType.engineCreditsExhaustionProjected;
|
|
89
|
+
engineCreditsExhaustionActual: AlertType.engineCreditsExhaustionActual;
|
|
76
90
|
testAlert: AlertType.testAlert;
|
|
91
|
+
totalNumberOfCustomers: AlertType.totalNumberOfCustomers;
|
|
92
|
+
totalNumberOfConnections: AlertType.totalNumberOfConnections;
|
|
93
|
+
totalNumberOfWorkspaceElements: AlertType.totalNumberOfWorkspaceElements;
|
|
77
94
|
}>;
|
|
78
|
-
workspaceId: z.ZodString
|
|
95
|
+
workspaceId: z.ZodOptional<z.ZodString>;
|
|
96
|
+
orgId: z.ZodString;
|
|
79
97
|
createdAt: z.ZodDate;
|
|
80
98
|
updatedAt: z.ZodDate;
|
|
81
99
|
lastSeenAt: z.ZodDate;
|
|
@@ -119,7 +137,12 @@ export declare const AlertDeliverySettingsSchema: z.ZodObject<{
|
|
|
119
137
|
apiRequestsPerCustomerPerHour: AlertType.apiRequestsPerCustomerPerHour;
|
|
120
138
|
webhookRequestsPerCustomerPerSecond: AlertType.webhookRequestsPerCustomerPerSecond;
|
|
121
139
|
webhookRequestsPerCustomerPerHour: AlertType.webhookRequestsPerCustomerPerHour;
|
|
140
|
+
engineCreditsExhaustionProjected: AlertType.engineCreditsExhaustionProjected;
|
|
141
|
+
engineCreditsExhaustionActual: AlertType.engineCreditsExhaustionActual;
|
|
122
142
|
testAlert: AlertType.testAlert;
|
|
143
|
+
totalNumberOfCustomers: AlertType.totalNumberOfCustomers;
|
|
144
|
+
totalNumberOfConnections: AlertType.totalNumberOfConnections;
|
|
145
|
+
totalNumberOfWorkspaceElements: AlertType.totalNumberOfWorkspaceElements;
|
|
123
146
|
}>, z.ZodOptional<z.ZodObject<{
|
|
124
147
|
internal: z.ZodLiteral<true>;
|
|
125
148
|
webhook: z.ZodOptional<z.ZodObject<{
|
package/dist/dts/orgs/types.d.ts
CHANGED
|
@@ -603,7 +603,12 @@ export declare const AccountResponse: z.ZodObject<{
|
|
|
603
603
|
apiRequestsPerCustomerPerHour: import("../alerts").AlertType.apiRequestsPerCustomerPerHour;
|
|
604
604
|
webhookRequestsPerCustomerPerSecond: import("../alerts").AlertType.webhookRequestsPerCustomerPerSecond;
|
|
605
605
|
webhookRequestsPerCustomerPerHour: import("../alerts").AlertType.webhookRequestsPerCustomerPerHour;
|
|
606
|
+
engineCreditsExhaustionProjected: import("../alerts").AlertType.engineCreditsExhaustionProjected;
|
|
607
|
+
engineCreditsExhaustionActual: import("../alerts").AlertType.engineCreditsExhaustionActual;
|
|
606
608
|
testAlert: import("../alerts").AlertType.testAlert;
|
|
609
|
+
totalNumberOfCustomers: import("../alerts").AlertType.totalNumberOfCustomers;
|
|
610
|
+
totalNumberOfConnections: import("../alerts").AlertType.totalNumberOfConnections;
|
|
611
|
+
totalNumberOfWorkspaceElements: import("../alerts").AlertType.totalNumberOfWorkspaceElements;
|
|
607
612
|
}>, z.ZodOptional<z.ZodObject<{
|
|
608
613
|
internal: z.ZodLiteral<true>;
|
|
609
614
|
webhook: z.ZodOptional<z.ZodObject<{
|
|
@@ -67,10 +67,16 @@ export declare const AppDataSchemaInstanceApiResponse: z.ZodObject<{
|
|
|
67
67
|
createdAt: z.ZodOptional<z.ZodString>;
|
|
68
68
|
updatedAt: z.ZodOptional<z.ZodString>;
|
|
69
69
|
isDeactivated: z.ZodOptional<z.ZodBoolean>;
|
|
70
|
-
schema: z.ZodAny
|
|
70
|
+
schema: z.ZodOptional<z.ZodAny>;
|
|
71
71
|
code: z.ZodOptional<z.ZodString>;
|
|
72
72
|
archivedAt: z.ZodOptional<z.ZodString>;
|
|
73
73
|
revision: z.ZodOptional<z.ZodString>;
|
|
74
|
+
userId: z.ZodOptional<z.ZodString>;
|
|
75
|
+
appDataSchemaId: z.ZodOptional<z.ZodString>;
|
|
76
|
+
appDataSchemaRevision: z.ZodOptional<z.ZodString>;
|
|
77
|
+
instanceKey: z.ZodOptional<z.ZodString>;
|
|
78
|
+
error: z.ZodOptional<z.ZodType<import("../../errors").ErrorDataSchema, unknown, z.core.$ZodTypeInternals<import("../../errors").ErrorDataSchema, unknown>>>;
|
|
79
|
+
isCustomized: z.ZodOptional<z.ZodBoolean>;
|
|
74
80
|
}, z.core.$strip>>;
|
|
75
81
|
}, z.core.$strip>;
|
|
76
82
|
export type AppDataSchemaInstanceApiResponse = z.infer<typeof AppDataSchemaInstanceApiResponse>;
|
|
@@ -1,7 +1,16 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
2
|
+
export declare const FindAppDataSchemasQuery: z.ZodObject<{
|
|
3
|
+
search: z.ZodOptional<z.ZodString>;
|
|
4
|
+
limit: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
5
|
+
cursor: z.ZodOptional<z.ZodString>;
|
|
6
|
+
includeArchived: z.ZodOptional<z.ZodPipe<z.ZodTransform<boolean, unknown>, z.ZodBoolean>>;
|
|
7
|
+
isUniversal: z.ZodOptional<z.ZodPipe<z.ZodTransform<boolean, unknown>, z.ZodBoolean>>;
|
|
8
|
+
tenantId: z.ZodOptional<z.ZodString>;
|
|
9
|
+
userId: z.ZodOptional<z.ZodString>;
|
|
10
|
+
appDataSchemaId: z.ZodOptional<z.ZodString>;
|
|
11
|
+
instanceKey: z.ZodOptional<z.ZodString>;
|
|
12
|
+
}, z.core.$strip>;
|
|
13
|
+
export type FindAppDataSchemasQuery = z.infer<typeof FindAppDataSchemasQuery>;
|
|
5
14
|
export type CreateAppDataSchemaRequest = {
|
|
6
15
|
key: string;
|
|
7
16
|
name: string;
|
|
@@ -22,15 +31,23 @@ export declare const AppDataSchemaApiResponse: z.ZodObject<{
|
|
|
22
31
|
description: z.ZodOptional<z.ZodString>;
|
|
23
32
|
meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
24
33
|
name: z.ZodString;
|
|
25
|
-
state: z.ZodOptional<z.ZodEnum<typeof import("
|
|
34
|
+
state: z.ZodOptional<z.ZodEnum<typeof import("../types").WorkspaceElementState>>;
|
|
26
35
|
errors: z.ZodOptional<z.ZodArray<z.ZodType<import("../../errors").ErrorDataSchema, unknown, z.core.$ZodTypeInternals<import("../../errors").ErrorDataSchema, unknown>>>>;
|
|
27
36
|
createdAt: z.ZodOptional<z.ZodString>;
|
|
28
37
|
updatedAt: z.ZodOptional<z.ZodString>;
|
|
29
38
|
isDeactivated: z.ZodOptional<z.ZodBoolean>;
|
|
30
|
-
schema: z.ZodAny
|
|
39
|
+
schema: z.ZodOptional<z.ZodAny>;
|
|
31
40
|
code: z.ZodOptional<z.ZodString>;
|
|
32
41
|
archivedAt: z.ZodOptional<z.ZodString>;
|
|
33
42
|
revision: z.ZodOptional<z.ZodString>;
|
|
43
|
+
userId: z.ZodOptional<z.ZodString>;
|
|
44
|
+
appDataSchemaId: z.ZodOptional<z.ZodString>;
|
|
45
|
+
appDataSchemaRevision: z.ZodOptional<z.ZodString>;
|
|
46
|
+
instanceKey: z.ZodOptional<z.ZodString>;
|
|
47
|
+
error: z.ZodOptional<z.ZodType<import("../../errors").ErrorDataSchema, unknown, z.core.$ZodTypeInternals<import("../../errors").ErrorDataSchema, unknown>>>;
|
|
48
|
+
isCustomized: z.ZodOptional<z.ZodBoolean>;
|
|
49
|
+
user: z.ZodOptional<z.ZodAny>;
|
|
50
|
+
appDataSchema: z.ZodOptional<z.ZodAny>;
|
|
34
51
|
}, z.core.$strip>;
|
|
35
52
|
export type AppDataSchemaApiResponse = z.infer<typeof AppDataSchemaApiResponse>;
|
|
36
53
|
export type AppDataSchema = AppDataSchemaApiResponse;
|
|
@@ -125,6 +125,12 @@ export declare const DataLinkTableInstanceApiResponse: z.ZodObject<{
|
|
|
125
125
|
updatedAt: z.ZodOptional<z.ZodString>;
|
|
126
126
|
archivedAt: z.ZodOptional<z.ZodString>;
|
|
127
127
|
isDeactivated: z.ZodOptional<z.ZodBoolean>;
|
|
128
|
+
dataLinkTableId: z.ZodOptional<z.ZodString>;
|
|
129
|
+
connectionId: z.ZodOptional<z.ZodString>;
|
|
130
|
+
integrationId: z.ZodOptional<z.ZodString>;
|
|
131
|
+
instanceKey: z.ZodOptional<z.ZodString>;
|
|
132
|
+
userId: z.ZodOptional<z.ZodString>;
|
|
133
|
+
isCustomized: z.ZodOptional<z.ZodBoolean>;
|
|
128
134
|
}, z.core.$strip>>;
|
|
129
135
|
connection: z.ZodOptional<z.ZodObject<{
|
|
130
136
|
id: z.ZodString;
|
|
@@ -1,5 +1,21 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
+
export declare const DataLinkTableLayer: z.ZodEnum<{
|
|
3
|
+
connection: "connection";
|
|
4
|
+
universal: "universal";
|
|
5
|
+
}>;
|
|
6
|
+
export type DataLinkTableLayer = z.infer<typeof DataLinkTableLayer>;
|
|
2
7
|
export declare const FindDataLinkTablesQuery: z.ZodObject<{
|
|
8
|
+
layer: z.ZodOptional<z.ZodEnum<{
|
|
9
|
+
connection: "connection";
|
|
10
|
+
universal: "universal";
|
|
11
|
+
}>>;
|
|
12
|
+
connectionId: z.ZodOptional<z.ZodString>;
|
|
13
|
+
tenantId: z.ZodOptional<z.ZodString>;
|
|
14
|
+
userId: z.ZodOptional<z.ZodString>;
|
|
15
|
+
dataLinkTableId: z.ZodOptional<z.ZodString>;
|
|
16
|
+
instanceKey: z.ZodOptional<z.ZodString>;
|
|
17
|
+
integrationId: z.ZodOptional<z.ZodString>;
|
|
18
|
+
integrationKey: z.ZodOptional<z.ZodString>;
|
|
3
19
|
search: z.ZodOptional<z.ZodString>;
|
|
4
20
|
limit: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
5
21
|
cursor: z.ZodOptional<z.ZodString>;
|
|
@@ -29,13 +45,23 @@ export declare const DataLinkTableApiResponse: z.ZodObject<{
|
|
|
29
45
|
description: z.ZodOptional<z.ZodString>;
|
|
30
46
|
meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
31
47
|
name: z.ZodString;
|
|
32
|
-
state: z.ZodOptional<z.ZodEnum<typeof import("
|
|
48
|
+
state: z.ZodOptional<z.ZodEnum<typeof import("../types").WorkspaceElementState>>;
|
|
33
49
|
errors: z.ZodOptional<z.ZodArray<z.ZodType<import("../../errors").ErrorDataSchema, unknown, z.core.$ZodTypeInternals<import("../../errors").ErrorDataSchema, unknown>>>>;
|
|
34
50
|
revision: z.ZodOptional<z.ZodString>;
|
|
35
51
|
createdAt: z.ZodOptional<z.ZodString>;
|
|
36
52
|
updatedAt: z.ZodOptional<z.ZodString>;
|
|
37
53
|
archivedAt: z.ZodOptional<z.ZodString>;
|
|
38
54
|
isDeactivated: z.ZodOptional<z.ZodBoolean>;
|
|
55
|
+
dataLinkTableId: z.ZodOptional<z.ZodString>;
|
|
56
|
+
connectionId: z.ZodOptional<z.ZodString>;
|
|
57
|
+
integrationId: z.ZodOptional<z.ZodString>;
|
|
58
|
+
instanceKey: z.ZodOptional<z.ZodString>;
|
|
59
|
+
userId: z.ZodOptional<z.ZodString>;
|
|
60
|
+
isCustomized: z.ZodOptional<z.ZodBoolean>;
|
|
61
|
+
user: z.ZodOptional<z.ZodAny>;
|
|
62
|
+
connection: z.ZodOptional<z.ZodAny>;
|
|
63
|
+
integration: z.ZodOptional<z.ZodAny>;
|
|
64
|
+
dataLinkTable: z.ZodOptional<z.ZodAny>;
|
|
39
65
|
}, z.core.$strip>;
|
|
40
66
|
export type DataLinkTableApiResponse = z.infer<typeof DataLinkTableApiResponse>;
|
|
41
67
|
export type DataLinkTable = DataLinkTableApiResponse;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
+
import { ErrorDataSchema } from '../../../errors';
|
|
2
3
|
export declare const BaseAppDataSchema: z.ZodObject<{
|
|
3
4
|
id: z.ZodString;
|
|
4
5
|
uuid: z.ZodOptional<z.ZodString>;
|
|
@@ -7,14 +8,20 @@ export declare const BaseAppDataSchema: z.ZodObject<{
|
|
|
7
8
|
meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
8
9
|
name: z.ZodString;
|
|
9
10
|
state: z.ZodOptional<z.ZodEnum<typeof import("../../types").WorkspaceElementState>>;
|
|
10
|
-
errors: z.ZodOptional<z.ZodArray<z.ZodType<
|
|
11
|
+
errors: z.ZodOptional<z.ZodArray<z.ZodType<ErrorDataSchema, unknown, z.core.$ZodTypeInternals<ErrorDataSchema, unknown>>>>;
|
|
11
12
|
createdAt: z.ZodOptional<z.ZodString>;
|
|
12
13
|
updatedAt: z.ZodOptional<z.ZodString>;
|
|
13
14
|
isDeactivated: z.ZodOptional<z.ZodBoolean>;
|
|
14
|
-
schema: z.ZodAny
|
|
15
|
+
schema: z.ZodOptional<z.ZodAny>;
|
|
15
16
|
code: z.ZodOptional<z.ZodString>;
|
|
16
17
|
archivedAt: z.ZodOptional<z.ZodString>;
|
|
17
18
|
revision: z.ZodOptional<z.ZodString>;
|
|
19
|
+
userId: z.ZodOptional<z.ZodString>;
|
|
20
|
+
appDataSchemaId: z.ZodOptional<z.ZodString>;
|
|
21
|
+
appDataSchemaRevision: z.ZodOptional<z.ZodString>;
|
|
22
|
+
instanceKey: z.ZodOptional<z.ZodString>;
|
|
23
|
+
error: z.ZodOptional<z.ZodType<ErrorDataSchema, unknown, z.core.$ZodTypeInternals<ErrorDataSchema, unknown>>>;
|
|
24
|
+
isCustomized: z.ZodOptional<z.ZodBoolean>;
|
|
18
25
|
}, z.core.$strip>;
|
|
19
26
|
export type BaseAppDataSchema = z.infer<typeof BaseAppDataSchema>;
|
|
20
27
|
export declare const AppDataSchemaEditableProperties: z.ZodObject<{
|
|
@@ -34,5 +34,11 @@ export declare const BaseDataLinkTable: z.ZodObject<{
|
|
|
34
34
|
updatedAt: z.ZodOptional<z.ZodString>;
|
|
35
35
|
archivedAt: z.ZodOptional<z.ZodString>;
|
|
36
36
|
isDeactivated: z.ZodOptional<z.ZodBoolean>;
|
|
37
|
+
dataLinkTableId: z.ZodOptional<z.ZodString>;
|
|
38
|
+
connectionId: z.ZodOptional<z.ZodString>;
|
|
39
|
+
integrationId: z.ZodOptional<z.ZodString>;
|
|
40
|
+
instanceKey: z.ZodOptional<z.ZodString>;
|
|
41
|
+
userId: z.ZodOptional<z.ZodString>;
|
|
42
|
+
isCustomized: z.ZodOptional<z.ZodBoolean>;
|
|
37
43
|
}, z.core.$strip>;
|
|
38
44
|
export type BaseDataLinkTable = z.infer<typeof BaseDataLinkTable>;
|
|
@@ -501,7 +501,12 @@ export declare const Workspace: z.ZodObject<{
|
|
|
501
501
|
apiRequestsPerCustomerPerHour: import("../alerts").AlertType.apiRequestsPerCustomerPerHour;
|
|
502
502
|
webhookRequestsPerCustomerPerSecond: import("../alerts").AlertType.webhookRequestsPerCustomerPerSecond;
|
|
503
503
|
webhookRequestsPerCustomerPerHour: import("../alerts").AlertType.webhookRequestsPerCustomerPerHour;
|
|
504
|
+
engineCreditsExhaustionProjected: import("../alerts").AlertType.engineCreditsExhaustionProjected;
|
|
505
|
+
engineCreditsExhaustionActual: import("../alerts").AlertType.engineCreditsExhaustionActual;
|
|
504
506
|
testAlert: import("../alerts").AlertType.testAlert;
|
|
507
|
+
totalNumberOfCustomers: import("../alerts").AlertType.totalNumberOfCustomers;
|
|
508
|
+
totalNumberOfConnections: import("../alerts").AlertType.totalNumberOfConnections;
|
|
509
|
+
totalNumberOfWorkspaceElements: import("../alerts").AlertType.totalNumberOfWorkspaceElements;
|
|
505
510
|
}>, z.ZodOptional<z.ZodObject<{
|
|
506
511
|
internal: z.ZodLiteral<true>;
|
|
507
512
|
webhook: z.ZodOptional<z.ZodObject<{
|
|
@@ -741,7 +746,12 @@ export declare const AppSchema: z.ZodObject<{
|
|
|
741
746
|
apiRequestsPerCustomerPerHour: import("../alerts").AlertType.apiRequestsPerCustomerPerHour;
|
|
742
747
|
webhookRequestsPerCustomerPerSecond: import("../alerts").AlertType.webhookRequestsPerCustomerPerSecond;
|
|
743
748
|
webhookRequestsPerCustomerPerHour: import("../alerts").AlertType.webhookRequestsPerCustomerPerHour;
|
|
749
|
+
engineCreditsExhaustionProjected: import("../alerts").AlertType.engineCreditsExhaustionProjected;
|
|
750
|
+
engineCreditsExhaustionActual: import("../alerts").AlertType.engineCreditsExhaustionActual;
|
|
744
751
|
testAlert: import("../alerts").AlertType.testAlert;
|
|
752
|
+
totalNumberOfCustomers: import("../alerts").AlertType.totalNumberOfCustomers;
|
|
753
|
+
totalNumberOfConnections: import("../alerts").AlertType.totalNumberOfConnections;
|
|
754
|
+
totalNumberOfWorkspaceElements: import("../alerts").AlertType.totalNumberOfWorkspaceElements;
|
|
745
755
|
}>, z.ZodOptional<z.ZodObject<{
|
|
746
756
|
internal: z.ZodLiteral<true>;
|
|
747
757
|
webhook: z.ZodOptional<z.ZodObject<{
|