@membranehq/sdk 0.11.1 → 0.11.3
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 +4492 -4487
- package/dist/bundle.js +1 -0
- package/dist/bundle.js.map +1 -1
- package/dist/dts/alerts/types.d.ts +0 -8
- package/dist/dts/async-requests/index.d.ts +1 -0
- package/dist/dts/async-requests/types.d.ts +20 -0
- package/dist/dts/index.browser.d.ts +1 -0
- package/dist/dts/orgs/types.d.ts +28 -2
- package/dist/dts/workspace-elements/api/actions-api.d.ts +19 -19
- package/dist/dts/workspace-elements/api/app-data-schema-instances-api.d.ts +12 -9
- package/dist/dts/workspace-elements/api/app-event-subscriptions-api.d.ts +3 -2
- package/dist/dts/workspace-elements/api/connections-api.d.ts +11 -12
- package/dist/dts/workspace-elements/api/data-link-table-instances-api.d.ts +5 -4
- package/dist/dts/workspace-elements/api/external-apps-api.d.ts +0 -2
- package/dist/dts/workspace-elements/api/external-event-subscriptions-api.d.ts +3 -2
- package/dist/dts/workspace-elements/api/packages-api.d.ts +5 -5
- package/dist/dts/workspace-elements/types.d.ts +5 -5
- package/dist/dts/workspaces/types.d.ts +33 -5
- package/dist/index.browser.d.mts +129 -60
- package/dist/index.browser.d.ts +129 -60
- package/dist/index.browser.js +158 -24
- package/dist/index.browser.js.map +1 -1
- package/dist/index.browser.mjs +156 -25
- package/dist/index.browser.mjs.map +1 -1
- package/dist/index.node.d.mts +129 -60
- package/dist/index.node.d.ts +129 -60
- package/dist/index.node.js +158 -24
- package/dist/index.node.js.map +1 -1
- package/dist/index.node.mjs +156 -25
- package/dist/index.node.mjs.map +1 -1
- package/package.json +1 -1
|
@@ -20,8 +20,6 @@ export declare enum AlertType {
|
|
|
20
20
|
apiRequestsPerCustomerPerHour = "apiRequestsPerCustomerPerHour",
|
|
21
21
|
webhookRequestsPerCustomerPerSecond = "webhookRequestsPerCustomerPerSecond",
|
|
22
22
|
webhookRequestsPerCustomerPerHour = "webhookRequestsPerCustomerPerHour",
|
|
23
|
-
totalUsagePerDay = "totalUsagePerDay",
|
|
24
|
-
totalUsagePer30Days = "totalUsagePer30Days",
|
|
25
23
|
testAlert = "testAlert"
|
|
26
24
|
}
|
|
27
25
|
export declare enum AlertCategory {
|
|
@@ -43,8 +41,6 @@ export declare const ALERT_TYPE_CATEGORIES: {
|
|
|
43
41
|
readonly apiRequestsPerCustomerPerHour: AlertCategory.CUSTOMER_RATE_LIMIT;
|
|
44
42
|
readonly webhookRequestsPerCustomerPerSecond: AlertCategory.CUSTOMER_RATE_LIMIT;
|
|
45
43
|
readonly webhookRequestsPerCustomerPerHour: AlertCategory.CUSTOMER_RATE_LIMIT;
|
|
46
|
-
readonly totalUsagePerDay: AlertCategory.USAGE;
|
|
47
|
-
readonly totalUsagePer30Days: AlertCategory.USAGE;
|
|
48
44
|
readonly testAlert: AlertCategory.TEST;
|
|
49
45
|
};
|
|
50
46
|
type AlertsByCategory<C extends AlertCategory> = {
|
|
@@ -74,8 +70,6 @@ export declare const AlertSchema: z.ZodObject<{
|
|
|
74
70
|
apiRequestsPerCustomerPerHour: AlertType.apiRequestsPerCustomerPerHour;
|
|
75
71
|
webhookRequestsPerCustomerPerSecond: AlertType.webhookRequestsPerCustomerPerSecond;
|
|
76
72
|
webhookRequestsPerCustomerPerHour: AlertType.webhookRequestsPerCustomerPerHour;
|
|
77
|
-
totalUsagePerDay: AlertType.totalUsagePerDay;
|
|
78
|
-
totalUsagePer30Days: AlertType.totalUsagePer30Days;
|
|
79
73
|
testAlert: AlertType.testAlert;
|
|
80
74
|
}>;
|
|
81
75
|
workspaceId: z.ZodString;
|
|
@@ -121,8 +115,6 @@ export declare const AlertDeliverySettingsSchema: z.ZodObject<{
|
|
|
121
115
|
apiRequestsPerCustomerPerHour: AlertType.apiRequestsPerCustomerPerHour;
|
|
122
116
|
webhookRequestsPerCustomerPerSecond: AlertType.webhookRequestsPerCustomerPerSecond;
|
|
123
117
|
webhookRequestsPerCustomerPerHour: AlertType.webhookRequestsPerCustomerPerHour;
|
|
124
|
-
totalUsagePerDay: AlertType.totalUsagePerDay;
|
|
125
|
-
totalUsagePer30Days: AlertType.totalUsagePer30Days;
|
|
126
118
|
testAlert: AlertType.testAlert;
|
|
127
119
|
}>, z.ZodOptional<z.ZodObject<{
|
|
128
120
|
internal: z.ZodLiteral<true>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './types';
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
import { ErrorDataSchema } from '../errors';
|
|
3
|
+
export declare enum AsyncRequestStatus {
|
|
4
|
+
PENDING = "pending",
|
|
5
|
+
ACTIVE = "active",
|
|
6
|
+
COMPLETED = "completed",
|
|
7
|
+
FAILED = "failed"
|
|
8
|
+
}
|
|
9
|
+
export type AsyncRequestStatusResponse<T = Record<string, any>> = {
|
|
10
|
+
id: string;
|
|
11
|
+
status: AsyncRequestStatus;
|
|
12
|
+
progress?: number;
|
|
13
|
+
result?: T;
|
|
14
|
+
error?: z.infer<typeof ErrorDataSchema>;
|
|
15
|
+
};
|
|
16
|
+
export declare const AsyncRequestTriggerResponse: z.ZodObject<{
|
|
17
|
+
jobId: z.ZodString;
|
|
18
|
+
accessKey: z.ZodString;
|
|
19
|
+
}, z.core.$strip>;
|
|
20
|
+
export type AsyncRequestTriggerResponse = z.infer<typeof AsyncRequestTriggerResponse>;
|
|
@@ -33,6 +33,7 @@ export * from './agent';
|
|
|
33
33
|
export * from './validation';
|
|
34
34
|
export * from './functions';
|
|
35
35
|
export * from './dto';
|
|
36
|
+
export * from './async-requests';
|
|
36
37
|
export { MembraneClient as IntegrationAppClient } from './client';
|
|
37
38
|
export { MembraneClient as MembraneClient } from './client';
|
|
38
39
|
export { axios as MembraneAxiosInstance } from './api-client';
|
package/dist/dts/orgs/types.d.ts
CHANGED
|
@@ -139,6 +139,24 @@ export declare const OrgSchema: z.ZodObject<{
|
|
|
139
139
|
infraAutoChargeMonthlyLimit: z.ZodOptional<z.ZodNumber>;
|
|
140
140
|
effectiveFeatureFlags: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodBoolean>>;
|
|
141
141
|
}, z.core.$strip>;
|
|
142
|
+
export declare const EngineCreditsProjectionResponse: z.ZodObject<{
|
|
143
|
+
averageDailyUsage: z.ZodNumber;
|
|
144
|
+
daysRemainingInMonth: z.ZodNumber;
|
|
145
|
+
totalBudget: z.ZodNumber;
|
|
146
|
+
budgetBreakdown: z.ZodObject<{
|
|
147
|
+
currentCredits: z.ZodNumber;
|
|
148
|
+
freeMonthlyRefill: z.ZodNumber;
|
|
149
|
+
autoPurchaseBudget: z.ZodNumber;
|
|
150
|
+
}, z.core.$strip>;
|
|
151
|
+
dailyProjections: z.ZodArray<z.ZodObject<{
|
|
152
|
+
date: z.ZodString;
|
|
153
|
+
projectedUsage: z.ZodNumber;
|
|
154
|
+
projectedBalance: z.ZodNumber;
|
|
155
|
+
}, z.core.$strip>>;
|
|
156
|
+
daysUntilExhaustion: z.ZodNullable<z.ZodNumber>;
|
|
157
|
+
willRunOut: z.ZodBoolean;
|
|
158
|
+
}, z.core.$strip>;
|
|
159
|
+
export type EngineCreditsProjection = z.infer<typeof EngineCreditsProjectionResponse>;
|
|
142
160
|
export declare const AccountResponse: z.ZodObject<{
|
|
143
161
|
user: z.ZodOptional<z.ZodObject<{
|
|
144
162
|
id: z.ZodString;
|
|
@@ -306,6 +324,11 @@ export declare const AccountResponse: z.ZodObject<{
|
|
|
306
324
|
defaultValue: z.ZodOptional<z.ZodNumber>;
|
|
307
325
|
unit: z.ZodEnum<typeof import("../workspaces").LimitUnits>;
|
|
308
326
|
}, z.core.$strip>>;
|
|
327
|
+
parallelCustomCodeRuns: z.ZodOptional<z.ZodObject<{
|
|
328
|
+
value: z.ZodOptional<z.ZodNumber>;
|
|
329
|
+
defaultValue: z.ZodOptional<z.ZodNumber>;
|
|
330
|
+
unit: z.ZodEnum<typeof import("../workspaces").LimitUnits>;
|
|
331
|
+
}, z.core.$strip>>;
|
|
309
332
|
ParallelWriteDatabaseRequests: z.ZodOptional<z.ZodObject<{
|
|
310
333
|
value: z.ZodOptional<z.ZodNumber>;
|
|
311
334
|
defaultValue: z.ZodOptional<z.ZodNumber>;
|
|
@@ -386,6 +409,11 @@ export declare const AccountResponse: z.ZodObject<{
|
|
|
386
409
|
defaultValue: z.ZodOptional<z.ZodNumber>;
|
|
387
410
|
unit: z.ZodEnum<typeof import("../workspaces").LimitUnits>;
|
|
388
411
|
}, z.core.$strip>>;
|
|
412
|
+
parallelCustomCodeRunsPerCustomer: z.ZodOptional<z.ZodObject<{
|
|
413
|
+
value: z.ZodOptional<z.ZodNumber>;
|
|
414
|
+
defaultValue: z.ZodOptional<z.ZodNumber>;
|
|
415
|
+
unit: z.ZodEnum<typeof import("../workspaces").LimitUnits>;
|
|
416
|
+
}, z.core.$strip>>;
|
|
389
417
|
apiRequestsPerCustomerPerSecond: z.ZodOptional<z.ZodObject<{
|
|
390
418
|
value: z.ZodOptional<z.ZodNumber>;
|
|
391
419
|
defaultValue: z.ZodOptional<z.ZodNumber>;
|
|
@@ -448,8 +476,6 @@ export declare const AccountResponse: z.ZodObject<{
|
|
|
448
476
|
apiRequestsPerCustomerPerHour: import("../alerts").AlertType.apiRequestsPerCustomerPerHour;
|
|
449
477
|
webhookRequestsPerCustomerPerSecond: import("../alerts").AlertType.webhookRequestsPerCustomerPerSecond;
|
|
450
478
|
webhookRequestsPerCustomerPerHour: import("../alerts").AlertType.webhookRequestsPerCustomerPerHour;
|
|
451
|
-
totalUsagePerDay: import("../alerts").AlertType.totalUsagePerDay;
|
|
452
|
-
totalUsagePer30Days: import("../alerts").AlertType.totalUsagePer30Days;
|
|
453
479
|
testAlert: import("../alerts").AlertType.testAlert;
|
|
454
480
|
}>, z.ZodOptional<z.ZodObject<{
|
|
455
481
|
internal: z.ZodLiteral<true>;
|
|
@@ -205,11 +205,6 @@ export declare const ActionApiResponse: z.ZodObject<{
|
|
|
205
205
|
export type ActionApiResponse = z.infer<typeof ActionApiResponse>;
|
|
206
206
|
export type Action = ActionApiResponse;
|
|
207
207
|
export declare const FindActionsQuery: z.ZodObject<{
|
|
208
|
-
layer: z.ZodOptional<z.ZodEnum<{
|
|
209
|
-
connection: "connection";
|
|
210
|
-
integration: "integration";
|
|
211
|
-
universal: "universal";
|
|
212
|
-
}>>;
|
|
213
208
|
integrationKey: z.ZodOptional<z.ZodString>;
|
|
214
209
|
integrationId: z.ZodOptional<z.ZodString>;
|
|
215
210
|
connectionId: z.ZodOptional<z.ZodString>;
|
|
@@ -218,12 +213,17 @@ export declare const FindActionsQuery: z.ZodObject<{
|
|
|
218
213
|
limit: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
219
214
|
cursor: z.ZodOptional<z.ZodString>;
|
|
220
215
|
includeArchived: z.ZodOptional<z.ZodPipe<z.ZodTransform<boolean, unknown>, z.ZodBoolean>>;
|
|
221
|
-
parentId: z.ZodOptional<z.ZodString>;
|
|
222
|
-
universalParentId: z.ZodOptional<z.ZodString>;
|
|
223
216
|
tenantId: z.ZodOptional<z.ZodString>;
|
|
224
217
|
userId: z.ZodOptional<z.ZodString>;
|
|
225
218
|
isUniversal: z.ZodOptional<z.ZodPipe<z.ZodTransform<boolean, unknown>, z.ZodBoolean>>;
|
|
226
219
|
externalAppId: z.ZodOptional<z.ZodString>;
|
|
220
|
+
layer: z.ZodOptional<z.ZodEnum<{
|
|
221
|
+
connection: "connection";
|
|
222
|
+
integration: "integration";
|
|
223
|
+
universal: "universal";
|
|
224
|
+
}>>;
|
|
225
|
+
parentId: z.ZodOptional<z.ZodString>;
|
|
226
|
+
universalParentId: z.ZodOptional<z.ZodString>;
|
|
227
227
|
}, z.core.$strip>;
|
|
228
228
|
export type FindActionsQuery = z.infer<typeof FindActionsQuery>;
|
|
229
229
|
export declare const CreateActionRequest: z.ZodObject<{
|
|
@@ -522,11 +522,6 @@ export type ActionInstance = ActionInstanceApiResponse;
|
|
|
522
522
|
export interface ActionInstanceSelector extends ConnectionSelector, ElementInstanceSelector {
|
|
523
523
|
}
|
|
524
524
|
export declare const ListActionInstancesForConnectionQuery: z.ZodObject<{
|
|
525
|
-
layer: z.ZodOptional<z.ZodEnum<{
|
|
526
|
-
connection: "connection";
|
|
527
|
-
integration: "integration";
|
|
528
|
-
universal: "universal";
|
|
529
|
-
}>>;
|
|
530
525
|
integrationKey: z.ZodOptional<z.ZodString>;
|
|
531
526
|
integrationId: z.ZodOptional<z.ZodString>;
|
|
532
527
|
connectionId: z.ZodOptional<z.ZodString>;
|
|
@@ -535,20 +530,20 @@ export declare const ListActionInstancesForConnectionQuery: z.ZodObject<{
|
|
|
535
530
|
limit: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
536
531
|
cursor: z.ZodOptional<z.ZodString>;
|
|
537
532
|
includeArchived: z.ZodOptional<z.ZodPipe<z.ZodTransform<boolean, unknown>, z.ZodBoolean>>;
|
|
538
|
-
parentId: z.ZodOptional<z.ZodString>;
|
|
539
|
-
universalParentId: z.ZodOptional<z.ZodString>;
|
|
540
533
|
tenantId: z.ZodOptional<z.ZodString>;
|
|
541
534
|
userId: z.ZodOptional<z.ZodString>;
|
|
542
535
|
isUniversal: z.ZodOptional<z.ZodPipe<z.ZodTransform<boolean, unknown>, z.ZodBoolean>>;
|
|
543
536
|
externalAppId: z.ZodOptional<z.ZodString>;
|
|
544
|
-
}, z.core.$strip>;
|
|
545
|
-
export type ListActionInstancesForConnectionQuery = FindActionsQuery;
|
|
546
|
-
export declare const FindActionInstancesQuery: z.ZodObject<{
|
|
547
537
|
layer: z.ZodOptional<z.ZodEnum<{
|
|
548
538
|
connection: "connection";
|
|
549
539
|
integration: "integration";
|
|
550
540
|
universal: "universal";
|
|
551
541
|
}>>;
|
|
542
|
+
parentId: z.ZodOptional<z.ZodString>;
|
|
543
|
+
universalParentId: z.ZodOptional<z.ZodString>;
|
|
544
|
+
}, z.core.$strip>;
|
|
545
|
+
export type ListActionInstancesForConnectionQuery = FindActionsQuery;
|
|
546
|
+
export declare const FindActionInstancesQuery: z.ZodObject<{
|
|
552
547
|
integrationKey: z.ZodOptional<z.ZodString>;
|
|
553
548
|
integrationId: z.ZodOptional<z.ZodString>;
|
|
554
549
|
connectionId: z.ZodOptional<z.ZodString>;
|
|
@@ -557,12 +552,17 @@ export declare const FindActionInstancesQuery: z.ZodObject<{
|
|
|
557
552
|
limit: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
558
553
|
cursor: z.ZodOptional<z.ZodString>;
|
|
559
554
|
includeArchived: z.ZodOptional<z.ZodPipe<z.ZodTransform<boolean, unknown>, z.ZodBoolean>>;
|
|
560
|
-
parentId: z.ZodOptional<z.ZodString>;
|
|
561
|
-
universalParentId: z.ZodOptional<z.ZodString>;
|
|
562
555
|
tenantId: z.ZodOptional<z.ZodString>;
|
|
563
556
|
userId: z.ZodOptional<z.ZodString>;
|
|
564
557
|
isUniversal: z.ZodOptional<z.ZodPipe<z.ZodTransform<boolean, unknown>, z.ZodBoolean>>;
|
|
565
558
|
externalAppId: z.ZodOptional<z.ZodString>;
|
|
559
|
+
layer: z.ZodOptional<z.ZodEnum<{
|
|
560
|
+
connection: "connection";
|
|
561
|
+
integration: "integration";
|
|
562
|
+
universal: "universal";
|
|
563
|
+
}>>;
|
|
564
|
+
parentId: z.ZodOptional<z.ZodString>;
|
|
565
|
+
universalParentId: z.ZodOptional<z.ZodString>;
|
|
566
566
|
}, z.core.$strip>;
|
|
567
567
|
export type FindActionInstancesQuery = FindActionsQuery;
|
|
568
568
|
export interface ActionSelector extends IntegrationSpecificElementSelector {
|
|
@@ -1,11 +1,14 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
2
|
+
export declare const FindAppDataSchemaInstancesQuery: z.ZodObject<{
|
|
3
|
+
limit: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
4
|
+
cursor: z.ZodOptional<z.ZodString>;
|
|
5
|
+
id: z.ZodOptional<z.ZodString>;
|
|
6
|
+
tenantId: z.ZodOptional<z.ZodString>;
|
|
7
|
+
userId: z.ZodOptional<z.ZodString>;
|
|
8
|
+
appDataSchemaId: z.ZodOptional<z.ZodString>;
|
|
9
|
+
instanceKey: z.ZodOptional<z.ZodString>;
|
|
10
|
+
}, z.core.$strip>;
|
|
11
|
+
export type FindAppDataSchemaInstancesQuery = z.infer<typeof FindAppDataSchemaInstancesQuery>;
|
|
9
12
|
export interface AppDataSchemaInstanceSelector {
|
|
10
13
|
id?: string;
|
|
11
14
|
appDataSchemaKey?: string;
|
|
@@ -24,7 +27,7 @@ export declare const AppDataSchemaInstanceApiResponse: z.ZodObject<{
|
|
|
24
27
|
description: z.ZodOptional<z.ZodString>;
|
|
25
28
|
meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
26
29
|
name: z.ZodString;
|
|
27
|
-
state: z.ZodOptional<z.ZodEnum<typeof import("
|
|
30
|
+
state: z.ZodOptional<z.ZodEnum<typeof import("../types").WorkspaceElementState>>;
|
|
28
31
|
errors: z.ZodOptional<z.ZodArray<z.ZodType<import("../../errors").ErrorDataSchema, unknown, z.core.$ZodTypeInternals<import("../../errors").ErrorDataSchema, unknown>>>>;
|
|
29
32
|
revision: z.ZodOptional<z.ZodString>;
|
|
30
33
|
createdAt: z.ZodOptional<z.ZodString>;
|
|
@@ -59,7 +62,7 @@ export declare const AppDataSchemaInstanceApiResponse: z.ZodObject<{
|
|
|
59
62
|
description: z.ZodOptional<z.ZodString>;
|
|
60
63
|
meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
61
64
|
name: z.ZodString;
|
|
62
|
-
state: z.ZodOptional<z.ZodEnum<typeof import("
|
|
65
|
+
state: z.ZodOptional<z.ZodEnum<typeof import("../types").WorkspaceElementState>>;
|
|
63
66
|
errors: z.ZodOptional<z.ZodArray<z.ZodType<import("../../errors").ErrorDataSchema, unknown, z.core.$ZodTypeInternals<import("../../errors").ErrorDataSchema, unknown>>>>;
|
|
64
67
|
createdAt: z.ZodOptional<z.ZodString>;
|
|
65
68
|
updatedAt: z.ZodOptional<z.ZodString>;
|
|
@@ -6,6 +6,7 @@ export declare const FindAppEventSubscriptionsQuery: z.ZodObject<{
|
|
|
6
6
|
search: z.ZodOptional<z.ZodString>;
|
|
7
7
|
includeArchived: z.ZodOptional<z.ZodPipe<z.ZodTransform<boolean, unknown>, z.ZodBoolean>>;
|
|
8
8
|
id: z.ZodOptional<z.ZodString>;
|
|
9
|
+
tenantId: z.ZodOptional<z.ZodString>;
|
|
9
10
|
userId: z.ZodOptional<z.ZodString>;
|
|
10
11
|
appEventTypeId: z.ZodOptional<z.ZodString>;
|
|
11
12
|
isSubscribed: z.ZodOptional<z.ZodPipe<z.ZodTransform<boolean, unknown>, z.ZodBoolean>>;
|
|
@@ -32,7 +33,7 @@ export declare const AppEventSubscriptionApiResponse: z.ZodObject<{
|
|
|
32
33
|
description: z.ZodOptional<z.ZodString>;
|
|
33
34
|
meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
34
35
|
name: z.ZodString;
|
|
35
|
-
state: z.ZodOptional<z.ZodEnum<typeof import("
|
|
36
|
+
state: z.ZodOptional<z.ZodEnum<typeof import("../types").WorkspaceElementState>>;
|
|
36
37
|
errors: z.ZodOptional<z.ZodArray<z.ZodType<import("../../errors").ErrorDataSchema, unknown, z.core.$ZodTypeInternals<import("../../errors").ErrorDataSchema, unknown>>>>;
|
|
37
38
|
createdAt: z.ZodOptional<z.ZodString>;
|
|
38
39
|
updatedAt: z.ZodOptional<z.ZodString>;
|
|
@@ -60,7 +61,7 @@ export declare const AppEventSubscriptionApiResponse: z.ZodObject<{
|
|
|
60
61
|
description: z.ZodOptional<z.ZodString>;
|
|
61
62
|
meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
62
63
|
name: z.ZodString;
|
|
63
|
-
state: z.ZodOptional<z.ZodEnum<typeof import("
|
|
64
|
+
state: z.ZodOptional<z.ZodEnum<typeof import("../types").WorkspaceElementState>>;
|
|
64
65
|
errors: z.ZodOptional<z.ZodArray<z.ZodType<import("../../errors").ErrorDataSchema, unknown, z.core.$ZodTypeInternals<import("../../errors").ErrorDataSchema, unknown>>>>;
|
|
65
66
|
createdAt: z.ZodOptional<z.ZodString>;
|
|
66
67
|
updatedAt: z.ZodOptional<z.ZodString>;
|
|
@@ -6,14 +6,13 @@ export declare const FindConnectionsQuery: z.ZodObject<{
|
|
|
6
6
|
cursor: z.ZodOptional<z.ZodString>;
|
|
7
7
|
search: z.ZodOptional<z.ZodString>;
|
|
8
8
|
includeArchived: z.ZodOptional<z.ZodPipe<z.ZodTransform<boolean, unknown>, z.ZodBoolean>>;
|
|
9
|
+
tenantId: z.ZodOptional<z.ZodString>;
|
|
10
|
+
integrationId: z.ZodOptional<z.ZodString>;
|
|
9
11
|
connectorId: z.ZodOptional<z.ZodString>;
|
|
10
|
-
connectorVersion: z.ZodOptional<z.ZodString>;
|
|
11
|
-
id: z.ZodOptional<z.ZodString>;
|
|
12
|
-
userId: z.ZodOptional<z.ZodString>;
|
|
13
|
-
name: z.ZodOptional<z.ZodString>;
|
|
14
|
-
isTest: z.ZodOptional<z.ZodPipe<z.ZodTransform<boolean, unknown>, z.ZodBoolean>>;
|
|
15
12
|
disconnected: z.ZodOptional<z.ZodPipe<z.ZodTransform<boolean, unknown>, z.ZodBoolean>>;
|
|
16
|
-
|
|
13
|
+
isTest: z.ZodOptional<z.ZodPipe<z.ZodTransform<boolean, unknown>, z.ZodBoolean>>;
|
|
14
|
+
userId: z.ZodOptional<z.ZodString>;
|
|
15
|
+
connectorVersion: z.ZodOptional<z.ZodString>;
|
|
17
16
|
integrationKey: z.ZodOptional<z.ZodString>;
|
|
18
17
|
includeSecrets: z.ZodOptional<z.ZodPipe<z.ZodTransform<boolean, unknown>, z.ZodBoolean>>;
|
|
19
18
|
}, z.core.$strip>;
|
|
@@ -46,7 +45,7 @@ export declare const ConnectionApiResponse: z.ZodObject<{
|
|
|
46
45
|
isTest: z.ZodOptional<z.ZodBoolean>;
|
|
47
46
|
disconnected: z.ZodOptional<z.ZodBoolean>;
|
|
48
47
|
isDefunct: z.ZodOptional<z.ZodBoolean>;
|
|
49
|
-
state: z.ZodOptional<z.ZodEnum<typeof import("
|
|
48
|
+
state: z.ZodOptional<z.ZodEnum<typeof import("../types").WorkspaceElementState>>;
|
|
50
49
|
error: z.ZodOptional<z.ZodType<ErrorDataSchema, unknown, z.core.$ZodTypeInternals<ErrorDataSchema, unknown>>>;
|
|
51
50
|
integrationId: z.ZodOptional<z.ZodString>;
|
|
52
51
|
connectorId: z.ZodOptional<z.ZodString>;
|
|
@@ -84,7 +83,7 @@ export declare const ConnectionApiResponse: z.ZodObject<{
|
|
|
84
83
|
description: z.ZodOptional<z.ZodString>;
|
|
85
84
|
meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
86
85
|
name: z.ZodString;
|
|
87
|
-
state: z.ZodOptional<z.ZodEnum<typeof import("
|
|
86
|
+
state: z.ZodOptional<z.ZodEnum<typeof import("../types").WorkspaceElementState>>;
|
|
88
87
|
errors: z.ZodOptional<z.ZodArray<z.ZodType<ErrorDataSchema, unknown, z.core.$ZodTypeInternals<ErrorDataSchema, unknown>>>>;
|
|
89
88
|
revision: z.ZodOptional<z.ZodString>;
|
|
90
89
|
createdAt: z.ZodOptional<z.ZodString>;
|
|
@@ -130,7 +129,7 @@ export declare const ConnectionApiResponseWithSecrets: z.ZodObject<{
|
|
|
130
129
|
isTest: z.ZodOptional<z.ZodBoolean>;
|
|
131
130
|
disconnected: z.ZodOptional<z.ZodBoolean>;
|
|
132
131
|
isDefunct: z.ZodOptional<z.ZodBoolean>;
|
|
133
|
-
state: z.ZodOptional<z.ZodEnum<typeof import("
|
|
132
|
+
state: z.ZodOptional<z.ZodEnum<typeof import("../types").WorkspaceElementState>>;
|
|
134
133
|
error: z.ZodOptional<z.ZodType<ErrorDataSchema, unknown, z.core.$ZodTypeInternals<ErrorDataSchema, unknown>>>;
|
|
135
134
|
integrationId: z.ZodOptional<z.ZodString>;
|
|
136
135
|
connectorId: z.ZodOptional<z.ZodString>;
|
|
@@ -168,7 +167,7 @@ export declare const ConnectionApiResponseWithSecrets: z.ZodObject<{
|
|
|
168
167
|
description: z.ZodOptional<z.ZodString>;
|
|
169
168
|
meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
170
169
|
name: z.ZodString;
|
|
171
|
-
state: z.ZodOptional<z.ZodEnum<typeof import("
|
|
170
|
+
state: z.ZodOptional<z.ZodEnum<typeof import("../types").WorkspaceElementState>>;
|
|
172
171
|
errors: z.ZodOptional<z.ZodArray<z.ZodType<ErrorDataSchema, unknown, z.core.$ZodTypeInternals<ErrorDataSchema, unknown>>>>;
|
|
173
172
|
revision: z.ZodOptional<z.ZodString>;
|
|
174
173
|
createdAt: z.ZodOptional<z.ZodString>;
|
|
@@ -222,7 +221,7 @@ export declare const ConnectionMessagePayload: z.ZodDiscriminatedUnion<[z.ZodObj
|
|
|
222
221
|
isTest: z.ZodOptional<z.ZodBoolean>;
|
|
223
222
|
disconnected: z.ZodOptional<z.ZodBoolean>;
|
|
224
223
|
isDefunct: z.ZodOptional<z.ZodBoolean>;
|
|
225
|
-
state: z.ZodOptional<z.ZodEnum<typeof import("
|
|
224
|
+
state: z.ZodOptional<z.ZodEnum<typeof import("../types").WorkspaceElementState>>;
|
|
226
225
|
error: z.ZodOptional<z.ZodType<ErrorDataSchema, unknown, z.core.$ZodTypeInternals<ErrorDataSchema, unknown>>>;
|
|
227
226
|
integrationId: z.ZodOptional<z.ZodString>;
|
|
228
227
|
connectorId: z.ZodOptional<z.ZodString>;
|
|
@@ -260,7 +259,7 @@ export declare const ConnectionMessagePayload: z.ZodDiscriminatedUnion<[z.ZodObj
|
|
|
260
259
|
description: z.ZodOptional<z.ZodString>;
|
|
261
260
|
meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
262
261
|
name: z.ZodString;
|
|
263
|
-
state: z.ZodOptional<z.ZodEnum<typeof import("
|
|
262
|
+
state: z.ZodOptional<z.ZodEnum<typeof import("../types").WorkspaceElementState>>;
|
|
264
263
|
errors: z.ZodOptional<z.ZodArray<z.ZodType<ErrorDataSchema, unknown, z.core.$ZodTypeInternals<ErrorDataSchema, unknown>>>>;
|
|
265
264
|
revision: z.ZodOptional<z.ZodString>;
|
|
266
265
|
createdAt: z.ZodOptional<z.ZodString>;
|
|
@@ -7,6 +7,7 @@ export declare const FindDataLinkTableInstancesQuery: z.ZodObject<{
|
|
|
7
7
|
limit: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
8
8
|
cursor: z.ZodOptional<z.ZodString>;
|
|
9
9
|
id: z.ZodOptional<z.ZodString>;
|
|
10
|
+
tenantId: z.ZodOptional<z.ZodString>;
|
|
10
11
|
userId: z.ZodOptional<z.ZodString>;
|
|
11
12
|
dataLinkTableId: z.ZodOptional<z.ZodString>;
|
|
12
13
|
connectionId: z.ZodOptional<z.ZodString>;
|
|
@@ -97,7 +98,7 @@ export declare const DataLinkTableInstanceApiResponse: z.ZodObject<{
|
|
|
97
98
|
description: z.ZodOptional<z.ZodString>;
|
|
98
99
|
meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
99
100
|
name: z.ZodString;
|
|
100
|
-
state: z.ZodOptional<z.ZodEnum<typeof import("
|
|
101
|
+
state: z.ZodOptional<z.ZodEnum<typeof import("../types").WorkspaceElementState>>;
|
|
101
102
|
errors: z.ZodOptional<z.ZodArray<z.ZodType<import("../../errors").ErrorDataSchema, unknown, z.core.$ZodTypeInternals<import("../../errors").ErrorDataSchema, unknown>>>>;
|
|
102
103
|
revision: z.ZodOptional<z.ZodString>;
|
|
103
104
|
createdAt: z.ZodOptional<z.ZodString>;
|
|
@@ -116,7 +117,7 @@ export declare const DataLinkTableInstanceApiResponse: z.ZodObject<{
|
|
|
116
117
|
description: z.ZodOptional<z.ZodString>;
|
|
117
118
|
meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
118
119
|
name: z.ZodString;
|
|
119
|
-
state: z.ZodOptional<z.ZodEnum<typeof import("
|
|
120
|
+
state: z.ZodOptional<z.ZodEnum<typeof import("../types").WorkspaceElementState>>;
|
|
120
121
|
errors: z.ZodOptional<z.ZodArray<z.ZodType<import("../../errors").ErrorDataSchema, unknown, z.core.$ZodTypeInternals<import("../../errors").ErrorDataSchema, unknown>>>>;
|
|
121
122
|
revision: z.ZodOptional<z.ZodString>;
|
|
122
123
|
createdAt: z.ZodOptional<z.ZodString>;
|
|
@@ -131,7 +132,7 @@ export declare const DataLinkTableInstanceApiResponse: z.ZodObject<{
|
|
|
131
132
|
isTest: z.ZodOptional<z.ZodBoolean>;
|
|
132
133
|
disconnected: z.ZodOptional<z.ZodBoolean>;
|
|
133
134
|
isDefunct: z.ZodOptional<z.ZodBoolean>;
|
|
134
|
-
state: z.ZodOptional<z.ZodEnum<typeof import("
|
|
135
|
+
state: z.ZodOptional<z.ZodEnum<typeof import("../types").WorkspaceElementState>>;
|
|
135
136
|
error: z.ZodOptional<z.ZodType<import("../../errors").ErrorDataSchema, unknown, z.core.$ZodTypeInternals<import("../../errors").ErrorDataSchema, unknown>>>;
|
|
136
137
|
integrationId: z.ZodOptional<z.ZodString>;
|
|
137
138
|
connectorId: z.ZodOptional<z.ZodString>;
|
|
@@ -156,7 +157,7 @@ export declare const DataLinkTableInstanceApiResponse: z.ZodObject<{
|
|
|
156
157
|
description: z.ZodOptional<z.ZodString>;
|
|
157
158
|
meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
158
159
|
name: z.ZodString;
|
|
159
|
-
state: z.ZodOptional<z.ZodEnum<typeof import("
|
|
160
|
+
state: z.ZodOptional<z.ZodEnum<typeof import("../types").WorkspaceElementState>>;
|
|
160
161
|
errors: z.ZodOptional<z.ZodArray<z.ZodType<import("../../errors").ErrorDataSchema, unknown, z.core.$ZodTypeInternals<import("../../errors").ErrorDataSchema, unknown>>>>;
|
|
161
162
|
revision: z.ZodOptional<z.ZodString>;
|
|
162
163
|
createdAt: z.ZodOptional<z.ZodString>;
|
|
@@ -4,7 +4,5 @@ export declare const ListExternalAppsQuery: z.ZodObject<{
|
|
|
4
4
|
cursor: z.ZodOptional<z.ZodString>;
|
|
5
5
|
search: z.ZodOptional<z.ZodString>;
|
|
6
6
|
category: z.ZodOptional<z.ZodString>;
|
|
7
|
-
hasAuth: z.ZodOptional<z.ZodPipe<z.ZodTransform<boolean, unknown>, z.ZodBoolean>>;
|
|
8
|
-
hasData: z.ZodOptional<z.ZodPipe<z.ZodTransform<boolean, unknown>, z.ZodBoolean>>;
|
|
9
7
|
}, z.core.$strip>;
|
|
10
8
|
export type ListExternalAppsQuery = z.infer<typeof ListExternalAppsQuery>;
|
|
@@ -4,6 +4,7 @@ export declare const ListExternalEventSubscriptionsQuery: z.ZodObject<{
|
|
|
4
4
|
limit: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
5
5
|
cursor: z.ZodOptional<z.ZodString>;
|
|
6
6
|
includeArchived: z.ZodOptional<z.ZodPipe<z.ZodTransform<boolean, unknown>, z.ZodBoolean>>;
|
|
7
|
+
tenantId: z.ZodOptional<z.ZodString>;
|
|
7
8
|
userId: z.ZodOptional<z.ZodString>;
|
|
8
9
|
connectionId: z.ZodOptional<z.ZodString>;
|
|
9
10
|
integrationId: z.ZodOptional<z.ZodString>;
|
|
@@ -66,7 +67,7 @@ export declare const ExternalEventSubscriptionApiResponse: z.ZodObject<{
|
|
|
66
67
|
isTest: z.ZodOptional<z.ZodBoolean>;
|
|
67
68
|
disconnected: z.ZodOptional<z.ZodBoolean>;
|
|
68
69
|
isDefunct: z.ZodOptional<z.ZodBoolean>;
|
|
69
|
-
state: z.ZodOptional<z.ZodEnum<typeof import("
|
|
70
|
+
state: z.ZodOptional<z.ZodEnum<typeof import("../types").WorkspaceElementState>>;
|
|
70
71
|
error: z.ZodOptional<z.ZodType<import("../../errors").ErrorDataSchema, unknown, z.core.$ZodTypeInternals<import("../../errors").ErrorDataSchema, unknown>>>;
|
|
71
72
|
integrationId: z.ZodOptional<z.ZodString>;
|
|
72
73
|
connectorId: z.ZodOptional<z.ZodString>;
|
|
@@ -91,7 +92,7 @@ export declare const ExternalEventSubscriptionApiResponse: z.ZodObject<{
|
|
|
91
92
|
description: z.ZodOptional<z.ZodString>;
|
|
92
93
|
meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
93
94
|
name: z.ZodString;
|
|
94
|
-
state: z.ZodOptional<z.ZodEnum<typeof import("
|
|
95
|
+
state: z.ZodOptional<z.ZodEnum<typeof import("../types").WorkspaceElementState>>;
|
|
95
96
|
errors: z.ZodOptional<z.ZodArray<z.ZodType<import("../../errors").ErrorDataSchema, unknown, z.core.$ZodTypeInternals<import("../../errors").ErrorDataSchema, unknown>>>>;
|
|
96
97
|
revision: z.ZodOptional<z.ZodString>;
|
|
97
98
|
createdAt: z.ZodOptional<z.ZodString>;
|
|
@@ -7,11 +7,6 @@ export declare const PackageElementApi: z.ZodObject<{
|
|
|
7
7
|
}, z.core.$strip>;
|
|
8
8
|
export type PackageElementApi = z.infer<typeof PackageElementApi>;
|
|
9
9
|
export declare const FindPackagesQuery: z.ZodObject<{
|
|
10
|
-
layer: z.ZodOptional<z.ZodEnum<{
|
|
11
|
-
connection: "connection";
|
|
12
|
-
integration: "integration";
|
|
13
|
-
universal: "universal";
|
|
14
|
-
}>>;
|
|
15
10
|
integrationKey: z.ZodOptional<z.ZodString>;
|
|
16
11
|
integrationId: z.ZodOptional<z.ZodString>;
|
|
17
12
|
connectionId: z.ZodOptional<z.ZodString>;
|
|
@@ -25,6 +20,11 @@ export declare const FindPackagesQuery: z.ZodObject<{
|
|
|
25
20
|
tenantId: z.ZodOptional<z.ZodString>;
|
|
26
21
|
userId: z.ZodOptional<z.ZodString>;
|
|
27
22
|
isUniversal: z.ZodOptional<z.ZodPipe<z.ZodTransform<boolean, unknown>, z.ZodBoolean>>;
|
|
23
|
+
layer: z.ZodOptional<z.ZodEnum<{
|
|
24
|
+
connection: "connection";
|
|
25
|
+
integration: "integration";
|
|
26
|
+
universal: "universal";
|
|
27
|
+
}>>;
|
|
28
28
|
externalAppId: z.ZodOptional<z.ZodString>;
|
|
29
29
|
}, z.core.$strip>;
|
|
30
30
|
export type FindPackagesQuery = z.infer<typeof FindPackagesQuery>;
|
|
@@ -158,11 +158,6 @@ export declare const IntegrationLevelMembraneInterfaceSelectorQuery: z.ZodObject
|
|
|
158
158
|
}, z.core.$strip>;
|
|
159
159
|
export type IntegrationLevelMembraneInterfaceSelectorQuery = z.infer<typeof IntegrationLevelMembraneInterfaceSelectorQuery>;
|
|
160
160
|
export declare const FindIntegrationLevelMembraneInterfaceQuery: z.ZodObject<{
|
|
161
|
-
layer: z.ZodOptional<z.ZodEnum<{
|
|
162
|
-
connection: "connection";
|
|
163
|
-
integration: "integration";
|
|
164
|
-
universal: "universal";
|
|
165
|
-
}>>;
|
|
166
161
|
integrationKey: z.ZodOptional<z.ZodString>;
|
|
167
162
|
integrationId: z.ZodOptional<z.ZodString>;
|
|
168
163
|
connectionId: z.ZodOptional<z.ZodString>;
|
|
@@ -176,6 +171,11 @@ export declare const FindIntegrationLevelMembraneInterfaceQuery: z.ZodObject<{
|
|
|
176
171
|
tenantId: z.ZodOptional<z.ZodString>;
|
|
177
172
|
userId: z.ZodOptional<z.ZodString>;
|
|
178
173
|
isUniversal: z.ZodOptional<z.ZodPipe<z.ZodTransform<boolean, unknown>, z.ZodBoolean>>;
|
|
174
|
+
layer: z.ZodOptional<z.ZodEnum<{
|
|
175
|
+
connection: "connection";
|
|
176
|
+
integration: "integration";
|
|
177
|
+
universal: "universal";
|
|
178
|
+
}>>;
|
|
179
179
|
}, z.core.$strip>;
|
|
180
180
|
export type FindIntegrationLevelMembraneInterfaceQuery = z.infer<typeof FindIntegrationLevelMembraneInterfaceQuery>;
|
|
181
181
|
export declare const BaseIntegrationLevelMembraneInterface: z.ZodObject<{
|
|
@@ -28,7 +28,8 @@ export declare enum ParallelExecutionLimits {
|
|
|
28
28
|
ParallelEventLogs = "parallelEventLogs",
|
|
29
29
|
ParallelEventLogsPerConnection = "parallelEventLogsPerConnection",
|
|
30
30
|
ParallelPathfinderAgentSessions = "parallelPathfinderAgentSessions",
|
|
31
|
-
ParallelInstantTasksActiveJobs = "parallelInstantTasksActiveJobs"
|
|
31
|
+
ParallelInstantTasksActiveJobs = "parallelInstantTasksActiveJobs",
|
|
32
|
+
ParallelCustomCodeRuns = "parallelCustomCodeRuns"
|
|
32
33
|
}
|
|
33
34
|
export declare enum RateLimits {
|
|
34
35
|
fileUploadsMbPerHour = "fileUploadsMbPerHour",
|
|
@@ -50,6 +51,7 @@ export declare enum WorkspaceSizeLimits {
|
|
|
50
51
|
export declare enum CustomerLimits {
|
|
51
52
|
ParallelApiRequestsPerCustomer = "parallelApiRequestsPerCustomer",
|
|
52
53
|
ParallelBackgroundJobsPerCustomer = "parallelBackgroundJobsPerCustomer",
|
|
54
|
+
ParallelCustomCodeRunsPerCustomer = "parallelCustomCodeRunsPerCustomer",
|
|
53
55
|
ApiRequestsPerCustomerPerSecond = "apiRequestsPerCustomerPerSecond",
|
|
54
56
|
ApiRequestsPerCustomerPerHour = "apiRequestsPerCustomerPerHour",
|
|
55
57
|
WebhookRequestsPerCustomerPerSecond = "webhookRequestsPerCustomerPerSecond",
|
|
@@ -138,6 +140,11 @@ export declare const WorkspaceLimitsSchema: z.ZodObject<{
|
|
|
138
140
|
defaultValue: z.ZodOptional<z.ZodNumber>;
|
|
139
141
|
unit: z.ZodEnum<typeof LimitUnits>;
|
|
140
142
|
}, z.core.$strip>>;
|
|
143
|
+
parallelCustomCodeRuns: z.ZodOptional<z.ZodObject<{
|
|
144
|
+
value: z.ZodOptional<z.ZodNumber>;
|
|
145
|
+
defaultValue: z.ZodOptional<z.ZodNumber>;
|
|
146
|
+
unit: z.ZodEnum<typeof LimitUnits>;
|
|
147
|
+
}, z.core.$strip>>;
|
|
141
148
|
ParallelWriteDatabaseRequests: z.ZodOptional<z.ZodObject<{
|
|
142
149
|
value: z.ZodOptional<z.ZodNumber>;
|
|
143
150
|
defaultValue: z.ZodOptional<z.ZodNumber>;
|
|
@@ -218,6 +225,11 @@ export declare const WorkspaceLimitsSchema: z.ZodObject<{
|
|
|
218
225
|
defaultValue: z.ZodOptional<z.ZodNumber>;
|
|
219
226
|
unit: z.ZodEnum<typeof LimitUnits>;
|
|
220
227
|
}, z.core.$strip>>;
|
|
228
|
+
parallelCustomCodeRunsPerCustomer: 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>>;
|
|
221
233
|
apiRequestsPerCustomerPerSecond: z.ZodOptional<z.ZodObject<{
|
|
222
234
|
value: z.ZodOptional<z.ZodNumber>;
|
|
223
235
|
defaultValue: z.ZodOptional<z.ZodNumber>;
|
|
@@ -371,6 +383,11 @@ export declare const Workspace: z.ZodObject<{
|
|
|
371
383
|
defaultValue: z.ZodOptional<z.ZodNumber>;
|
|
372
384
|
unit: z.ZodEnum<typeof LimitUnits>;
|
|
373
385
|
}, z.core.$strip>>;
|
|
386
|
+
parallelCustomCodeRuns: z.ZodOptional<z.ZodObject<{
|
|
387
|
+
value: z.ZodOptional<z.ZodNumber>;
|
|
388
|
+
defaultValue: z.ZodOptional<z.ZodNumber>;
|
|
389
|
+
unit: z.ZodEnum<typeof LimitUnits>;
|
|
390
|
+
}, z.core.$strip>>;
|
|
374
391
|
ParallelWriteDatabaseRequests: z.ZodOptional<z.ZodObject<{
|
|
375
392
|
value: z.ZodOptional<z.ZodNumber>;
|
|
376
393
|
defaultValue: z.ZodOptional<z.ZodNumber>;
|
|
@@ -451,6 +468,11 @@ export declare const Workspace: z.ZodObject<{
|
|
|
451
468
|
defaultValue: z.ZodOptional<z.ZodNumber>;
|
|
452
469
|
unit: z.ZodEnum<typeof LimitUnits>;
|
|
453
470
|
}, z.core.$strip>>;
|
|
471
|
+
parallelCustomCodeRunsPerCustomer: z.ZodOptional<z.ZodObject<{
|
|
472
|
+
value: z.ZodOptional<z.ZodNumber>;
|
|
473
|
+
defaultValue: z.ZodOptional<z.ZodNumber>;
|
|
474
|
+
unit: z.ZodEnum<typeof LimitUnits>;
|
|
475
|
+
}, z.core.$strip>>;
|
|
454
476
|
apiRequestsPerCustomerPerSecond: z.ZodOptional<z.ZodObject<{
|
|
455
477
|
value: z.ZodOptional<z.ZodNumber>;
|
|
456
478
|
defaultValue: z.ZodOptional<z.ZodNumber>;
|
|
@@ -513,8 +535,6 @@ export declare const Workspace: z.ZodObject<{
|
|
|
513
535
|
apiRequestsPerCustomerPerHour: import("../alerts").AlertType.apiRequestsPerCustomerPerHour;
|
|
514
536
|
webhookRequestsPerCustomerPerSecond: import("../alerts").AlertType.webhookRequestsPerCustomerPerSecond;
|
|
515
537
|
webhookRequestsPerCustomerPerHour: import("../alerts").AlertType.webhookRequestsPerCustomerPerHour;
|
|
516
|
-
totalUsagePerDay: import("../alerts").AlertType.totalUsagePerDay;
|
|
517
|
-
totalUsagePer30Days: import("../alerts").AlertType.totalUsagePer30Days;
|
|
518
538
|
testAlert: import("../alerts").AlertType.testAlert;
|
|
519
539
|
}>, z.ZodOptional<z.ZodObject<{
|
|
520
540
|
internal: z.ZodLiteral<true>;
|
|
@@ -617,6 +637,11 @@ export declare const AppSchema: z.ZodObject<{
|
|
|
617
637
|
defaultValue: z.ZodOptional<z.ZodNumber>;
|
|
618
638
|
unit: z.ZodEnum<typeof LimitUnits>;
|
|
619
639
|
}, z.core.$strip>>;
|
|
640
|
+
parallelCustomCodeRuns: z.ZodOptional<z.ZodObject<{
|
|
641
|
+
value: z.ZodOptional<z.ZodNumber>;
|
|
642
|
+
defaultValue: z.ZodOptional<z.ZodNumber>;
|
|
643
|
+
unit: z.ZodEnum<typeof LimitUnits>;
|
|
644
|
+
}, z.core.$strip>>;
|
|
620
645
|
ParallelWriteDatabaseRequests: z.ZodOptional<z.ZodObject<{
|
|
621
646
|
value: z.ZodOptional<z.ZodNumber>;
|
|
622
647
|
defaultValue: z.ZodOptional<z.ZodNumber>;
|
|
@@ -697,6 +722,11 @@ export declare const AppSchema: z.ZodObject<{
|
|
|
697
722
|
defaultValue: z.ZodOptional<z.ZodNumber>;
|
|
698
723
|
unit: z.ZodEnum<typeof LimitUnits>;
|
|
699
724
|
}, z.core.$strip>>;
|
|
725
|
+
parallelCustomCodeRunsPerCustomer: z.ZodOptional<z.ZodObject<{
|
|
726
|
+
value: z.ZodOptional<z.ZodNumber>;
|
|
727
|
+
defaultValue: z.ZodOptional<z.ZodNumber>;
|
|
728
|
+
unit: z.ZodEnum<typeof LimitUnits>;
|
|
729
|
+
}, z.core.$strip>>;
|
|
700
730
|
apiRequestsPerCustomerPerSecond: z.ZodOptional<z.ZodObject<{
|
|
701
731
|
value: z.ZodOptional<z.ZodNumber>;
|
|
702
732
|
defaultValue: z.ZodOptional<z.ZodNumber>;
|
|
@@ -759,8 +789,6 @@ export declare const AppSchema: z.ZodObject<{
|
|
|
759
789
|
apiRequestsPerCustomerPerHour: import("../alerts").AlertType.apiRequestsPerCustomerPerHour;
|
|
760
790
|
webhookRequestsPerCustomerPerSecond: import("../alerts").AlertType.webhookRequestsPerCustomerPerSecond;
|
|
761
791
|
webhookRequestsPerCustomerPerHour: import("../alerts").AlertType.webhookRequestsPerCustomerPerHour;
|
|
762
|
-
totalUsagePerDay: import("../alerts").AlertType.totalUsagePerDay;
|
|
763
|
-
totalUsagePer30Days: import("../alerts").AlertType.totalUsagePer30Days;
|
|
764
792
|
testAlert: import("../alerts").AlertType.testAlert;
|
|
765
793
|
}>, z.ZodOptional<z.ZodObject<{
|
|
766
794
|
internal: z.ZodLiteral<true>;
|