@membranehq/sdk 0.10.10 → 0.11.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/bundle.d.ts +201 -4
- package/dist/bundle.js +182 -53
- package/dist/bundle.js.map +1 -1
- package/dist/dts/accessors/connections-accessors.d.ts +8 -1
- package/dist/dts/accessors/integrations-accessors.d.ts +9 -1
- package/dist/dts/agent/session.d.ts +5 -0
- package/dist/dts/alerts/types.d.ts +18 -0
- package/dist/dts/index.browser.d.ts +1 -0
- package/dist/dts/orgs/types.d.ts +17 -0
- package/dist/dts/stats/index.d.ts +33 -0
- package/dist/dts/workspace-elements/api/action-run-log-records-api.d.ts +18 -0
- package/dist/dts/workspace-elements/api/actions-api.d.ts +34 -0
- package/dist/dts/workspace-elements/api/app-data-schema-instances-api.d.ts +1 -0
- package/dist/dts/workspace-elements/api/app-event-log-records-api.d.ts +1 -0
- package/dist/dts/workspace-elements/api/app-event-subscriptions-api.d.ts +1 -0
- package/dist/dts/workspace-elements/api/connections-api.d.ts +22 -1
- package/dist/dts/workspace-elements/api/customers-api.d.ts +1 -0
- package/dist/dts/workspace-elements/api/data-link-table-instances-api.d.ts +7 -0
- package/dist/dts/workspace-elements/api/data-source-instances-api.d.ts +8 -0
- package/dist/dts/workspace-elements/api/data-sources-api.d.ts +14 -0
- package/dist/dts/workspace-elements/api/external-event-log-records-api.d.ts +7 -0
- package/dist/dts/workspace-elements/api/external-event-pulls-api.d.ts +7 -0
- package/dist/dts/workspace-elements/api/external-event-subscriptions-api.d.ts +7 -0
- package/dist/dts/workspace-elements/api/external-events-api.d.ts +4 -0
- package/dist/dts/workspace-elements/api/field-mapping-instances-api.d.ts +16 -0
- package/dist/dts/workspace-elements/api/field-mappings-api.d.ts +14 -0
- package/dist/dts/workspace-elements/api/flow-runs-api.d.ts +14 -0
- package/dist/dts/workspace-elements/api/flows-api.d.ts +38 -0
- package/dist/dts/workspace-elements/api/integrations-api.d.ts +16 -3
- package/dist/dts/workspace-elements/api/packages-api.d.ts +10 -0
- package/dist/dts/workspace-elements/base/action-instances/types.d.ts +1 -0
- package/dist/dts/workspace-elements/base/actions/index.d.ts +3 -0
- package/dist/dts/workspace-elements/base/connections/types.d.ts +2 -0
- package/dist/dts/workspace-elements/base/customers/index.d.ts +1 -0
- package/dist/dts/workspace-elements/base/data-sources/index.d.ts +3 -0
- package/dist/dts/workspace-elements/base/external-apps/index.d.ts +1 -0
- package/dist/dts/workspace-elements/base/field-mappings/index.d.ts +2 -0
- package/dist/dts/workspace-elements/base/flows/index.d.ts +2 -0
- package/dist/dts/workspace-elements/base/integrations/index.d.ts +28 -2
- package/dist/dts/workspace-elements/base/packages/index.d.ts +2 -0
- package/dist/dts/workspace-elements/filter-meta.d.ts +9 -0
- package/dist/dts/workspace-elements/index.d.ts +1 -0
- package/dist/dts/workspace-elements/types.d.ts +4 -0
- package/dist/dts/workspaces/types.d.ts +276 -34
- package/dist/index.browser.d.mts +665 -41
- package/dist/index.browser.d.ts +665 -41
- package/dist/index.browser.js +202 -24
- package/dist/index.browser.js.map +1 -1
- package/dist/index.browser.mjs +191 -25
- package/dist/index.browser.mjs.map +1 -1
- package/dist/index.node.d.mts +665 -41
- package/dist/index.node.d.ts +665 -41
- package/dist/index.node.js +202 -24
- package/dist/index.node.js.map +1 -1
- package/dist/index.node.mjs +191 -25
- package/dist/index.node.mjs.map +1 -1
- package/package.json +2 -2
|
@@ -60,6 +60,8 @@ export declare class ConnectionAccessor {
|
|
|
60
60
|
nextCredentialsRefreshAt?: string | undefined;
|
|
61
61
|
nextRetryTimestamp?: string | undefined;
|
|
62
62
|
retryAttempts?: number | undefined;
|
|
63
|
+
canTest?: boolean | undefined;
|
|
64
|
+
canRefreshCredentials?: boolean | undefined;
|
|
63
65
|
archivedAt?: string | undefined;
|
|
64
66
|
isDeactivated?: boolean | undefined;
|
|
65
67
|
meta?: Record<string, any> | undefined;
|
|
@@ -73,6 +75,7 @@ export declare class ConnectionAccessor {
|
|
|
73
75
|
lastActiveAt?: string | undefined;
|
|
74
76
|
isTest?: boolean | undefined;
|
|
75
77
|
isBillable?: boolean | undefined;
|
|
78
|
+
isActive?: boolean | undefined;
|
|
76
79
|
createdAt?: string | undefined;
|
|
77
80
|
archivedAt?: string | undefined;
|
|
78
81
|
} | undefined;
|
|
@@ -108,6 +111,10 @@ export declare class ConnectionAccessor {
|
|
|
108
111
|
appUuid?: string | undefined;
|
|
109
112
|
isDeactivated?: boolean | undefined;
|
|
110
113
|
authType?: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials" | undefined;
|
|
114
|
+
optionsConfig?: Record<string, {
|
|
115
|
+
disabled?: boolean | undefined;
|
|
116
|
+
parameters?: Record<string, any> | undefined;
|
|
117
|
+
}> | undefined;
|
|
111
118
|
} | undefined;
|
|
112
119
|
} | null>;
|
|
113
120
|
openReconnectUI({}?: OpenConfigurationOptions): Promise<ConnectionApiResponse | null>;
|
|
@@ -150,7 +157,7 @@ export declare class ConnectionProxy {
|
|
|
150
157
|
export declare function createOrUpdateConnection(options?: {
|
|
151
158
|
authOptionKey?: string;
|
|
152
159
|
name?: string;
|
|
153
|
-
|
|
160
|
+
input?: any;
|
|
154
161
|
connectorParameters?: any;
|
|
155
162
|
integrationId?: string;
|
|
156
163
|
connectorId?: string;
|
|
@@ -32,8 +32,9 @@ export declare class IntegrationAccessor extends ElementAccessor<IntegrationApiR
|
|
|
32
32
|
getConnectorSpec(): Promise<ConnectionSpec>;
|
|
33
33
|
open({ onClose }?: OpenIntegrationUIIntegrationConfigurationOptions): Promise<void>;
|
|
34
34
|
openNewConnection({ allowMultipleConnections, name, connectorParameters, }?: OpenNewConnectionOptions): Promise<ConnectionApiResponse | null>;
|
|
35
|
-
connect({ name, parameters, connectorParameters, authOptionKey, allowMultipleConnections, redirectUri, sameWindow, onPopupClosed, }?: {
|
|
35
|
+
connect({ name, input, parameters, connectorParameters, authOptionKey, allowMultipleConnections, redirectUri, sameWindow, onPopupClosed, }?: {
|
|
36
36
|
name?: string;
|
|
37
|
+
input?: any;
|
|
37
38
|
parameters?: any;
|
|
38
39
|
connectorParameters?: any;
|
|
39
40
|
authOptionKey?: string;
|
|
@@ -64,6 +65,8 @@ export declare class IntegrationAccessor extends ElementAccessor<IntegrationApiR
|
|
|
64
65
|
nextCredentialsRefreshAt?: string | undefined;
|
|
65
66
|
nextRetryTimestamp?: string | undefined;
|
|
66
67
|
retryAttempts?: number | undefined;
|
|
68
|
+
canTest?: boolean | undefined;
|
|
69
|
+
canRefreshCredentials?: boolean | undefined;
|
|
67
70
|
archivedAt?: string | undefined;
|
|
68
71
|
isDeactivated?: boolean | undefined;
|
|
69
72
|
meta?: Record<string, any> | undefined;
|
|
@@ -77,6 +80,7 @@ export declare class IntegrationAccessor extends ElementAccessor<IntegrationApiR
|
|
|
77
80
|
lastActiveAt?: string | undefined;
|
|
78
81
|
isTest?: boolean | undefined;
|
|
79
82
|
isBillable?: boolean | undefined;
|
|
83
|
+
isActive?: boolean | undefined;
|
|
80
84
|
createdAt?: string | undefined;
|
|
81
85
|
archivedAt?: string | undefined;
|
|
82
86
|
} | undefined;
|
|
@@ -112,6 +116,10 @@ export declare class IntegrationAccessor extends ElementAccessor<IntegrationApiR
|
|
|
112
116
|
appUuid?: string | undefined;
|
|
113
117
|
isDeactivated?: boolean | undefined;
|
|
114
118
|
authType?: "proxy" | "integration-app-token" | "membrane-token" | "oauth2" | "oauth1" | "client-credentials" | undefined;
|
|
119
|
+
optionsConfig?: Record<string, {
|
|
120
|
+
disabled?: boolean | undefined;
|
|
121
|
+
parameters?: Record<string, any> | undefined;
|
|
122
|
+
}> | undefined;
|
|
115
123
|
} | undefined;
|
|
116
124
|
} | null>;
|
|
117
125
|
createConnection({ parameters, name, }: {
|
|
@@ -13,6 +13,10 @@ export declare enum AgentSessionState {
|
|
|
13
13
|
BUSY = "busy",
|
|
14
14
|
IDLE = "idle"
|
|
15
15
|
}
|
|
16
|
+
export declare enum AgentName {
|
|
17
|
+
MEMBRANE = "membrane",
|
|
18
|
+
SELF_INTEGRATING = "self-integrating"
|
|
19
|
+
}
|
|
16
20
|
export declare const AgentSession: z.ZodObject<{
|
|
17
21
|
id: z.ZodString;
|
|
18
22
|
workspaceId: z.ZodString;
|
|
@@ -31,6 +35,7 @@ export declare const AgentSession: z.ZodObject<{
|
|
|
31
35
|
usage: z.ZodOptional<z.ZodNumber>;
|
|
32
36
|
hasWorker: z.ZodBoolean;
|
|
33
37
|
isExternal: z.ZodOptional<z.ZodBoolean>;
|
|
38
|
+
agentName: z.ZodOptional<z.ZodEnum<typeof AgentName>>;
|
|
34
39
|
createdAt: z.ZodISODateTime;
|
|
35
40
|
updatedAt: z.ZodISODateTime;
|
|
36
41
|
}, z.core.$strip>;
|
|
@@ -16,12 +16,17 @@ export declare enum AlertType {
|
|
|
16
16
|
workspaceElementCreationsPerSecond = "workspaceElementCreationsPerSecond",
|
|
17
17
|
workspaceElementCreationsPerHour = "workspaceElementCreationsPerHour",
|
|
18
18
|
externalEventsPerCustomerPerDay = "externalEventsPerCustomerPerDay",
|
|
19
|
+
apiRequestsPerCustomerPerSecond = "apiRequestsPerCustomerPerSecond",
|
|
20
|
+
apiRequestsPerCustomerPerHour = "apiRequestsPerCustomerPerHour",
|
|
21
|
+
webhookRequestsPerCustomerPerSecond = "webhookRequestsPerCustomerPerSecond",
|
|
22
|
+
webhookRequestsPerCustomerPerHour = "webhookRequestsPerCustomerPerHour",
|
|
19
23
|
totalUsagePerDay = "totalUsagePerDay",
|
|
20
24
|
totalUsagePer30Days = "totalUsagePer30Days",
|
|
21
25
|
testAlert = "testAlert"
|
|
22
26
|
}
|
|
23
27
|
export declare enum AlertCategory {
|
|
24
28
|
RATE_LIMIT = "rateLimit",
|
|
29
|
+
CUSTOMER_RATE_LIMIT = "customerRateLimit",
|
|
25
30
|
USAGE = "usage",
|
|
26
31
|
TEST = "test"
|
|
27
32
|
}
|
|
@@ -34,6 +39,10 @@ export declare const ALERT_TYPE_CATEGORIES: {
|
|
|
34
39
|
readonly workspaceElementCreationsPerSecond: AlertCategory.RATE_LIMIT;
|
|
35
40
|
readonly workspaceElementCreationsPerHour: AlertCategory.RATE_LIMIT;
|
|
36
41
|
readonly externalEventsPerCustomerPerDay: AlertCategory.RATE_LIMIT;
|
|
42
|
+
readonly apiRequestsPerCustomerPerSecond: AlertCategory.CUSTOMER_RATE_LIMIT;
|
|
43
|
+
readonly apiRequestsPerCustomerPerHour: AlertCategory.CUSTOMER_RATE_LIMIT;
|
|
44
|
+
readonly webhookRequestsPerCustomerPerSecond: AlertCategory.CUSTOMER_RATE_LIMIT;
|
|
45
|
+
readonly webhookRequestsPerCustomerPerHour: AlertCategory.CUSTOMER_RATE_LIMIT;
|
|
37
46
|
readonly totalUsagePerDay: AlertCategory.USAGE;
|
|
38
47
|
readonly totalUsagePer30Days: AlertCategory.USAGE;
|
|
39
48
|
readonly testAlert: AlertCategory.TEST;
|
|
@@ -42,6 +51,7 @@ type AlertsByCategory<C extends AlertCategory> = {
|
|
|
42
51
|
[K in keyof typeof ALERT_TYPE_CATEGORIES]: (typeof ALERT_TYPE_CATEGORIES)[K] extends C ? K : never;
|
|
43
52
|
}[keyof typeof ALERT_TYPE_CATEGORIES];
|
|
44
53
|
export type RateLimitAlerts = AlertsByCategory<AlertCategory.RATE_LIMIT>;
|
|
54
|
+
export type CustomerRateLimitAlerts = AlertsByCategory<AlertCategory.CUSTOMER_RATE_LIMIT>;
|
|
45
55
|
export type UsageAlerts = AlertsByCategory<AlertCategory.USAGE>;
|
|
46
56
|
export type TestAlerts = AlertsByCategory<AlertCategory.TEST>;
|
|
47
57
|
export declare const AlertSchema: z.ZodObject<{
|
|
@@ -60,6 +70,10 @@ export declare const AlertSchema: z.ZodObject<{
|
|
|
60
70
|
workspaceElementCreationsPerSecond: AlertType.workspaceElementCreationsPerSecond;
|
|
61
71
|
workspaceElementCreationsPerHour: AlertType.workspaceElementCreationsPerHour;
|
|
62
72
|
externalEventsPerCustomerPerDay: AlertType.externalEventsPerCustomerPerDay;
|
|
73
|
+
apiRequestsPerCustomerPerSecond: AlertType.apiRequestsPerCustomerPerSecond;
|
|
74
|
+
apiRequestsPerCustomerPerHour: AlertType.apiRequestsPerCustomerPerHour;
|
|
75
|
+
webhookRequestsPerCustomerPerSecond: AlertType.webhookRequestsPerCustomerPerSecond;
|
|
76
|
+
webhookRequestsPerCustomerPerHour: AlertType.webhookRequestsPerCustomerPerHour;
|
|
63
77
|
totalUsagePerDay: AlertType.totalUsagePerDay;
|
|
64
78
|
totalUsagePer30Days: AlertType.totalUsagePer30Days;
|
|
65
79
|
testAlert: AlertType.testAlert;
|
|
@@ -103,6 +117,10 @@ export declare const AlertDeliverySettingsSchema: z.ZodObject<{
|
|
|
103
117
|
workspaceElementCreationsPerSecond: AlertType.workspaceElementCreationsPerSecond;
|
|
104
118
|
workspaceElementCreationsPerHour: AlertType.workspaceElementCreationsPerHour;
|
|
105
119
|
externalEventsPerCustomerPerDay: AlertType.externalEventsPerCustomerPerDay;
|
|
120
|
+
apiRequestsPerCustomerPerSecond: AlertType.apiRequestsPerCustomerPerSecond;
|
|
121
|
+
apiRequestsPerCustomerPerHour: AlertType.apiRequestsPerCustomerPerHour;
|
|
122
|
+
webhookRequestsPerCustomerPerSecond: AlertType.webhookRequestsPerCustomerPerSecond;
|
|
123
|
+
webhookRequestsPerCustomerPerHour: AlertType.webhookRequestsPerCustomerPerHour;
|
|
106
124
|
totalUsagePerDay: AlertType.totalUsagePerDay;
|
|
107
125
|
totalUsagePer30Days: AlertType.totalUsagePer30Days;
|
|
108
126
|
testAlert: AlertType.testAlert;
|
|
@@ -13,6 +13,7 @@ export * from './data-schema';
|
|
|
13
13
|
export * from './data-schema-utils';
|
|
14
14
|
export * from './date-time';
|
|
15
15
|
export * from './api';
|
|
16
|
+
export * from './stats';
|
|
16
17
|
export * from './http-requests';
|
|
17
18
|
export * from './integration-elements';
|
|
18
19
|
export * from './logging';
|
package/dist/dts/orgs/types.d.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
+
export type OrgFeatureFlags = Record<string, boolean>;
|
|
2
3
|
export declare enum OrgLimitsType {
|
|
3
4
|
NUMBER_OF_WORKSPACES = "numberOfWorkspaces",
|
|
4
5
|
TODAY_USAGE = "todayUsage",
|
|
@@ -39,6 +40,7 @@ export interface Org {
|
|
|
39
40
|
infraAutoChargeThreshold?: number;
|
|
40
41
|
infraAutoChargePurchaseAmount?: number;
|
|
41
42
|
infraAutoChargeMonthlyLimit?: number;
|
|
43
|
+
effectiveFeatureFlags?: OrgFeatureFlags;
|
|
42
44
|
}
|
|
43
45
|
export declare enum OrgPlan {
|
|
44
46
|
Core = "core",
|
|
@@ -98,6 +100,7 @@ export declare const MembraneAgentKey: z.ZodOptional<z.ZodObject<{
|
|
|
98
100
|
key: z.ZodOptional<z.ZodString>;
|
|
99
101
|
expiresAt: z.ZodOptional<z.ZodString>;
|
|
100
102
|
}, z.core.$strip>>;
|
|
103
|
+
export declare const OrgFeatureFlagsSchema: z.ZodRecord<z.ZodString, z.ZodBoolean>;
|
|
101
104
|
export declare const OrgSchema: z.ZodObject<{
|
|
102
105
|
id: z.ZodString;
|
|
103
106
|
key: z.ZodString;
|
|
@@ -134,6 +137,7 @@ export declare const OrgSchema: z.ZodObject<{
|
|
|
134
137
|
infraAutoChargeThreshold: z.ZodOptional<z.ZodNumber>;
|
|
135
138
|
infraAutoChargePurchaseAmount: z.ZodOptional<z.ZodNumber>;
|
|
136
139
|
infraAutoChargeMonthlyLimit: z.ZodOptional<z.ZodNumber>;
|
|
140
|
+
effectiveFeatureFlags: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodBoolean>>;
|
|
137
141
|
}, z.core.$strip>;
|
|
138
142
|
export declare const AccountResponse: z.ZodObject<{
|
|
139
143
|
user: z.ZodOptional<z.ZodObject<{
|
|
@@ -201,6 +205,7 @@ export declare const AccountResponse: z.ZodObject<{
|
|
|
201
205
|
lastActiveAt: z.ZodOptional<z.ZodString>;
|
|
202
206
|
isTest: z.ZodOptional<z.ZodBoolean>;
|
|
203
207
|
isBillable: z.ZodOptional<z.ZodBoolean>;
|
|
208
|
+
isActive: z.ZodOptional<z.ZodBoolean>;
|
|
204
209
|
createdAt: z.ZodOptional<z.ZodString>;
|
|
205
210
|
archivedAt: z.ZodOptional<z.ZodString>;
|
|
206
211
|
}, z.core.$strip>>;
|
|
@@ -214,6 +219,7 @@ export declare const AccountResponse: z.ZodObject<{
|
|
|
214
219
|
lastActiveAt: z.ZodOptional<z.ZodString>;
|
|
215
220
|
isTest: z.ZodOptional<z.ZodBoolean>;
|
|
216
221
|
isBillable: z.ZodOptional<z.ZodBoolean>;
|
|
222
|
+
isActive: z.ZodOptional<z.ZodBoolean>;
|
|
217
223
|
createdAt: z.ZodOptional<z.ZodString>;
|
|
218
224
|
archivedAt: z.ZodOptional<z.ZodString>;
|
|
219
225
|
}, z.core.$strip>>;
|
|
@@ -295,6 +301,11 @@ export declare const AccountResponse: z.ZodObject<{
|
|
|
295
301
|
defaultValue: z.ZodOptional<z.ZodNumber>;
|
|
296
302
|
unit: z.ZodEnum<typeof import("../workspaces").LimitUnits>;
|
|
297
303
|
}, z.core.$strip>>;
|
|
304
|
+
parallelPathfinderAgentSessions: z.ZodOptional<z.ZodObject<{
|
|
305
|
+
value: z.ZodOptional<z.ZodNumber>;
|
|
306
|
+
defaultValue: z.ZodOptional<z.ZodNumber>;
|
|
307
|
+
unit: z.ZodEnum<typeof import("../workspaces").LimitUnits>;
|
|
308
|
+
}, z.core.$strip>>;
|
|
298
309
|
ParallelWriteDatabaseRequests: z.ZodOptional<z.ZodObject<{
|
|
299
310
|
value: z.ZodOptional<z.ZodNumber>;
|
|
300
311
|
defaultValue: z.ZodOptional<z.ZodNumber>;
|
|
@@ -433,6 +444,10 @@ export declare const AccountResponse: z.ZodObject<{
|
|
|
433
444
|
workspaceElementCreationsPerSecond: import("../alerts").AlertType.workspaceElementCreationsPerSecond;
|
|
434
445
|
workspaceElementCreationsPerHour: import("../alerts").AlertType.workspaceElementCreationsPerHour;
|
|
435
446
|
externalEventsPerCustomerPerDay: import("../alerts").AlertType.externalEventsPerCustomerPerDay;
|
|
447
|
+
apiRequestsPerCustomerPerSecond: import("../alerts").AlertType.apiRequestsPerCustomerPerSecond;
|
|
448
|
+
apiRequestsPerCustomerPerHour: import("../alerts").AlertType.apiRequestsPerCustomerPerHour;
|
|
449
|
+
webhookRequestsPerCustomerPerSecond: import("../alerts").AlertType.webhookRequestsPerCustomerPerSecond;
|
|
450
|
+
webhookRequestsPerCustomerPerHour: import("../alerts").AlertType.webhookRequestsPerCustomerPerHour;
|
|
436
451
|
totalUsagePerDay: import("../alerts").AlertType.totalUsagePerDay;
|
|
437
452
|
totalUsagePer30Days: import("../alerts").AlertType.totalUsagePer30Days;
|
|
438
453
|
testAlert: import("../alerts").AlertType.testAlert;
|
|
@@ -452,6 +467,7 @@ export declare const AccountResponse: z.ZodObject<{
|
|
|
452
467
|
isThrottled: z.ZodOptional<z.ZodBoolean>;
|
|
453
468
|
isDisabled: z.ZodOptional<z.ZodBoolean>;
|
|
454
469
|
isBackgroundJobsDisabled: z.ZodOptional<z.ZodBoolean>;
|
|
470
|
+
lastExternalApiRequestDate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
455
471
|
}, z.core.$strip>>;
|
|
456
472
|
superAdminToken: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
457
473
|
orgs: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -490,6 +506,7 @@ export declare const AccountResponse: z.ZodObject<{
|
|
|
490
506
|
infraAutoChargeThreshold: z.ZodOptional<z.ZodNumber>;
|
|
491
507
|
infraAutoChargePurchaseAmount: z.ZodOptional<z.ZodNumber>;
|
|
492
508
|
infraAutoChargeMonthlyLimit: z.ZodOptional<z.ZodNumber>;
|
|
509
|
+
effectiveFeatureFlags: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodBoolean>>;
|
|
493
510
|
}, z.core.$strip>>>;
|
|
494
511
|
permissions: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
495
512
|
message: z.ZodOptional<z.ZodString>;
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
export declare const StatsFilterQuery: z.ZodObject<{
|
|
3
|
+
tenantId: z.ZodOptional<z.ZodString>;
|
|
4
|
+
integrationId: z.ZodOptional<z.ZodString>;
|
|
5
|
+
connectionId: z.ZodOptional<z.ZodString>;
|
|
6
|
+
}, z.core.$strip>;
|
|
7
|
+
export type StatsFilterQuery = z.infer<typeof StatsFilterQuery>;
|
|
8
|
+
export declare const ActivityStatsQuery: z.ZodObject<{
|
|
9
|
+
tenantId: z.ZodOptional<z.ZodString>;
|
|
10
|
+
integrationId: z.ZodOptional<z.ZodString>;
|
|
11
|
+
connectionId: z.ZodOptional<z.ZodString>;
|
|
12
|
+
startDatetime: z.ZodString;
|
|
13
|
+
}, z.core.$strip>;
|
|
14
|
+
export type ActivityStatsQuery = z.infer<typeof ActivityStatsQuery>;
|
|
15
|
+
export declare const IntegrationLayerStatsQuery: z.ZodObject<{
|
|
16
|
+
tenantId: z.ZodOptional<z.ZodString>;
|
|
17
|
+
integrationId: z.ZodOptional<z.ZodString>;
|
|
18
|
+
connectionId: z.ZodOptional<z.ZodString>;
|
|
19
|
+
}, z.core.$strip>;
|
|
20
|
+
export type IntegrationLayerStatsQuery = z.infer<typeof IntegrationLayerStatsQuery>;
|
|
21
|
+
export declare const ActionRunsStatsQuery: z.ZodObject<{
|
|
22
|
+
actionId: z.ZodOptional<z.ZodString>;
|
|
23
|
+
actionInstanceId: z.ZodOptional<z.ZodString>;
|
|
24
|
+
startDatetime: z.ZodString;
|
|
25
|
+
}, z.core.$strip>;
|
|
26
|
+
export type ActionRunsStatsQuery = z.infer<typeof ActionRunsStatsQuery>;
|
|
27
|
+
export declare const FlowRunsStatsQuery: z.ZodObject<{
|
|
28
|
+
flowId: z.ZodOptional<z.ZodString>;
|
|
29
|
+
flowInstanceId: z.ZodOptional<z.ZodString>;
|
|
30
|
+
universalFlowId: z.ZodOptional<z.ZodString>;
|
|
31
|
+
startDatetime: z.ZodString;
|
|
32
|
+
}, z.core.$strip>;
|
|
33
|
+
export type FlowRunsStatsQuery = z.infer<typeof FlowRunsStatsQuery>;
|
|
@@ -25,6 +25,7 @@ export declare const ActionRunLogRecordApiResponse: z.ZodObject<{
|
|
|
25
25
|
integrationUuid: z.ZodOptional<z.ZodString>;
|
|
26
26
|
parentId: z.ZodOptional<z.ZodString>;
|
|
27
27
|
parentUuid: z.ZodOptional<z.ZodString>;
|
|
28
|
+
isUniversal: z.ZodOptional<z.ZodBoolean>;
|
|
28
29
|
connectionId: z.ZodOptional<z.ZodString>;
|
|
29
30
|
instanceKey: z.ZodOptional<z.ZodString>;
|
|
30
31
|
inputSchema: z.ZodOptional<z.ZodType<import("../../data-schema").DataSchema, unknown, z.core.$ZodTypeInternals<import("../../data-schema").DataSchema, unknown>>>;
|
|
@@ -55,6 +56,7 @@ export declare const ActionRunLogRecordApiResponse: z.ZodObject<{
|
|
|
55
56
|
integrationUuid: z.ZodOptional<z.ZodString>;
|
|
56
57
|
parentId: z.ZodOptional<z.ZodString>;
|
|
57
58
|
parentUuid: z.ZodOptional<z.ZodString>;
|
|
59
|
+
isUniversal: z.ZodOptional<z.ZodBoolean>;
|
|
58
60
|
connectionId: z.ZodOptional<z.ZodString>;
|
|
59
61
|
instanceKey: z.ZodOptional<z.ZodString>;
|
|
60
62
|
inputSchema: z.ZodOptional<z.ZodType<import("../../data-schema").DataSchema, unknown, z.core.$ZodTypeInternals<import("../../data-schema").DataSchema, unknown>>>;
|
|
@@ -114,6 +116,10 @@ export declare const ActionRunLogRecordApiResponse: z.ZodObject<{
|
|
|
114
116
|
oauth1: "oauth1";
|
|
115
117
|
"client-credentials": "client-credentials";
|
|
116
118
|
}>>;
|
|
119
|
+
optionsConfig: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
120
|
+
disabled: z.ZodOptional<z.ZodBoolean>;
|
|
121
|
+
parameters: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
122
|
+
}, z.core.$strip>>>;
|
|
117
123
|
}, z.core.$strip>>;
|
|
118
124
|
connection: z.ZodOptional<z.ZodObject<{
|
|
119
125
|
id: z.ZodString;
|
|
@@ -134,6 +140,8 @@ export declare const ActionRunLogRecordApiResponse: z.ZodObject<{
|
|
|
134
140
|
nextCredentialsRefreshAt: z.ZodOptional<z.ZodString>;
|
|
135
141
|
nextRetryTimestamp: z.ZodOptional<z.ZodString>;
|
|
136
142
|
retryAttempts: z.ZodOptional<z.ZodNumber>;
|
|
143
|
+
canTest: z.ZodOptional<z.ZodBoolean>;
|
|
144
|
+
canRefreshCredentials: z.ZodOptional<z.ZodBoolean>;
|
|
137
145
|
archivedAt: z.ZodOptional<z.ZodString>;
|
|
138
146
|
isDeactivated: z.ZodOptional<z.ZodBoolean>;
|
|
139
147
|
meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
@@ -148,6 +156,7 @@ export declare const ActionRunLogRecordApiResponse: z.ZodObject<{
|
|
|
148
156
|
lastActiveAt: z.ZodOptional<z.ZodString>;
|
|
149
157
|
isTest: z.ZodOptional<z.ZodBoolean>;
|
|
150
158
|
isBillable: z.ZodOptional<z.ZodBoolean>;
|
|
159
|
+
isActive: z.ZodOptional<z.ZodBoolean>;
|
|
151
160
|
createdAt: z.ZodOptional<z.ZodString>;
|
|
152
161
|
archivedAt: z.ZodOptional<z.ZodString>;
|
|
153
162
|
}, z.core.$strip>>;
|
|
@@ -191,6 +200,7 @@ export declare const FindActionRunLogsResponse: z.ZodObject<{
|
|
|
191
200
|
integrationUuid: z.ZodOptional<z.ZodString>;
|
|
192
201
|
parentId: z.ZodOptional<z.ZodString>;
|
|
193
202
|
parentUuid: z.ZodOptional<z.ZodString>;
|
|
203
|
+
isUniversal: z.ZodOptional<z.ZodBoolean>;
|
|
194
204
|
connectionId: z.ZodOptional<z.ZodString>;
|
|
195
205
|
instanceKey: z.ZodOptional<z.ZodString>;
|
|
196
206
|
inputSchema: z.ZodOptional<z.ZodType<import("../../data-schema").DataSchema, unknown, z.core.$ZodTypeInternals<import("../../data-schema").DataSchema, unknown>>>;
|
|
@@ -221,6 +231,7 @@ export declare const FindActionRunLogsResponse: z.ZodObject<{
|
|
|
221
231
|
integrationUuid: z.ZodOptional<z.ZodString>;
|
|
222
232
|
parentId: z.ZodOptional<z.ZodString>;
|
|
223
233
|
parentUuid: z.ZodOptional<z.ZodString>;
|
|
234
|
+
isUniversal: z.ZodOptional<z.ZodBoolean>;
|
|
224
235
|
connectionId: z.ZodOptional<z.ZodString>;
|
|
225
236
|
instanceKey: z.ZodOptional<z.ZodString>;
|
|
226
237
|
inputSchema: z.ZodOptional<z.ZodType<import("../../data-schema").DataSchema, unknown, z.core.$ZodTypeInternals<import("../../data-schema").DataSchema, unknown>>>;
|
|
@@ -280,6 +291,10 @@ export declare const FindActionRunLogsResponse: z.ZodObject<{
|
|
|
280
291
|
oauth1: "oauth1";
|
|
281
292
|
"client-credentials": "client-credentials";
|
|
282
293
|
}>>;
|
|
294
|
+
optionsConfig: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
295
|
+
disabled: z.ZodOptional<z.ZodBoolean>;
|
|
296
|
+
parameters: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
297
|
+
}, z.core.$strip>>>;
|
|
283
298
|
}, z.core.$strip>>;
|
|
284
299
|
connection: z.ZodOptional<z.ZodObject<{
|
|
285
300
|
id: z.ZodString;
|
|
@@ -300,6 +315,8 @@ export declare const FindActionRunLogsResponse: z.ZodObject<{
|
|
|
300
315
|
nextCredentialsRefreshAt: z.ZodOptional<z.ZodString>;
|
|
301
316
|
nextRetryTimestamp: z.ZodOptional<z.ZodString>;
|
|
302
317
|
retryAttempts: z.ZodOptional<z.ZodNumber>;
|
|
318
|
+
canTest: z.ZodOptional<z.ZodBoolean>;
|
|
319
|
+
canRefreshCredentials: z.ZodOptional<z.ZodBoolean>;
|
|
303
320
|
archivedAt: z.ZodOptional<z.ZodString>;
|
|
304
321
|
isDeactivated: z.ZodOptional<z.ZodBoolean>;
|
|
305
322
|
meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
@@ -314,6 +331,7 @@ export declare const FindActionRunLogsResponse: z.ZodObject<{
|
|
|
314
331
|
lastActiveAt: z.ZodOptional<z.ZodString>;
|
|
315
332
|
isTest: z.ZodOptional<z.ZodBoolean>;
|
|
316
333
|
isBillable: z.ZodOptional<z.ZodBoolean>;
|
|
334
|
+
isActive: z.ZodOptional<z.ZodBoolean>;
|
|
317
335
|
createdAt: z.ZodOptional<z.ZodString>;
|
|
318
336
|
archivedAt: z.ZodOptional<z.ZodString>;
|
|
319
337
|
}, z.core.$strip>>;
|
|
@@ -12,6 +12,7 @@ export declare const ActionApiResponse: z.ZodObject<{
|
|
|
12
12
|
integrationUuid: z.ZodOptional<z.ZodString>;
|
|
13
13
|
parentId: z.ZodOptional<z.ZodString>;
|
|
14
14
|
parentUuid: z.ZodOptional<z.ZodString>;
|
|
15
|
+
isUniversal: z.ZodOptional<z.ZodBoolean>;
|
|
15
16
|
connectionId: z.ZodOptional<z.ZodString>;
|
|
16
17
|
instanceKey: z.ZodOptional<z.ZodString>;
|
|
17
18
|
inputSchema: z.ZodOptional<z.ZodType<DataSchema, unknown, z.core.$ZodTypeInternals<DataSchema, unknown>>>;
|
|
@@ -69,6 +70,10 @@ export declare const ActionApiResponse: z.ZodObject<{
|
|
|
69
70
|
oauth1: "oauth1";
|
|
70
71
|
"client-credentials": "client-credentials";
|
|
71
72
|
}>>;
|
|
73
|
+
optionsConfig: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
74
|
+
disabled: z.ZodOptional<z.ZodBoolean>;
|
|
75
|
+
parameters: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
76
|
+
}, z.core.$strip>>>;
|
|
72
77
|
}, z.core.$strip>>;
|
|
73
78
|
user: z.ZodOptional<z.ZodObject<{
|
|
74
79
|
id: z.ZodString;
|
|
@@ -80,6 +85,7 @@ export declare const ActionApiResponse: z.ZodObject<{
|
|
|
80
85
|
lastActiveAt: z.ZodOptional<z.ZodString>;
|
|
81
86
|
isTest: z.ZodOptional<z.ZodBoolean>;
|
|
82
87
|
isBillable: z.ZodOptional<z.ZodBoolean>;
|
|
88
|
+
isActive: z.ZodOptional<z.ZodBoolean>;
|
|
83
89
|
createdAt: z.ZodOptional<z.ZodString>;
|
|
84
90
|
archivedAt: z.ZodOptional<z.ZodString>;
|
|
85
91
|
}, z.core.$strip>>;
|
|
@@ -93,6 +99,7 @@ export declare const ActionApiResponse: z.ZodObject<{
|
|
|
93
99
|
integrationUuid: z.ZodOptional<z.ZodString>;
|
|
94
100
|
parentId: z.ZodOptional<z.ZodString>;
|
|
95
101
|
parentUuid: z.ZodOptional<z.ZodString>;
|
|
102
|
+
isUniversal: z.ZodOptional<z.ZodBoolean>;
|
|
96
103
|
connectionId: z.ZodOptional<z.ZodString>;
|
|
97
104
|
instanceKey: z.ZodOptional<z.ZodString>;
|
|
98
105
|
inputSchema: z.ZodOptional<z.ZodType<DataSchema, unknown, z.core.$ZodTypeInternals<DataSchema, unknown>>>;
|
|
@@ -124,6 +131,7 @@ export declare const ActionApiResponse: z.ZodObject<{
|
|
|
124
131
|
integrationUuid: z.ZodOptional<z.ZodString>;
|
|
125
132
|
parentId: z.ZodOptional<z.ZodString>;
|
|
126
133
|
parentUuid: z.ZodOptional<z.ZodString>;
|
|
134
|
+
isUniversal: z.ZodOptional<z.ZodBoolean>;
|
|
127
135
|
connectionId: z.ZodOptional<z.ZodString>;
|
|
128
136
|
instanceKey: z.ZodOptional<z.ZodString>;
|
|
129
137
|
inputSchema: z.ZodOptional<z.ZodType<DataSchema, unknown, z.core.$ZodTypeInternals<DataSchema, unknown>>>;
|
|
@@ -183,6 +191,10 @@ export declare const ActionApiResponse: z.ZodObject<{
|
|
|
183
191
|
oauth1: "oauth1";
|
|
184
192
|
"client-credentials": "client-credentials";
|
|
185
193
|
}>>;
|
|
194
|
+
optionsConfig: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
195
|
+
disabled: z.ZodOptional<z.ZodBoolean>;
|
|
196
|
+
parameters: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
197
|
+
}, z.core.$strip>>>;
|
|
186
198
|
}, z.core.$strip>;
|
|
187
199
|
}, z.core.$strip>>>;
|
|
188
200
|
defaultOutputSchema: z.ZodOptional<z.ZodType<DataSchema, unknown, z.core.$ZodTypeInternals<DataSchema, unknown>>>;
|
|
@@ -208,7 +220,9 @@ export declare const FindActionsQuery: z.ZodObject<{
|
|
|
208
220
|
includeArchived: z.ZodOptional<z.ZodPipe<z.ZodTransform<boolean, unknown>, z.ZodBoolean>>;
|
|
209
221
|
parentId: z.ZodOptional<z.ZodString>;
|
|
210
222
|
universalParentId: z.ZodOptional<z.ZodString>;
|
|
223
|
+
tenantId: z.ZodOptional<z.ZodString>;
|
|
211
224
|
userId: z.ZodOptional<z.ZodString>;
|
|
225
|
+
isUniversal: z.ZodOptional<z.ZodPipe<z.ZodTransform<boolean, unknown>, z.ZodBoolean>>;
|
|
212
226
|
externalAppId: z.ZodOptional<z.ZodString>;
|
|
213
227
|
}, z.core.$strip>;
|
|
214
228
|
export type FindActionsQuery = z.infer<typeof FindActionsQuery>;
|
|
@@ -222,6 +236,7 @@ export declare const CreateActionRequest: z.ZodObject<{
|
|
|
222
236
|
integrationUuid: z.ZodOptional<z.ZodString>;
|
|
223
237
|
parentId: z.ZodOptional<z.ZodString>;
|
|
224
238
|
parentUuid: z.ZodOptional<z.ZodString>;
|
|
239
|
+
isUniversal: z.ZodOptional<z.ZodBoolean>;
|
|
225
240
|
connectionId: z.ZodOptional<z.ZodString>;
|
|
226
241
|
instanceKey: z.ZodOptional<z.ZodString>;
|
|
227
242
|
inputSchema: z.ZodOptional<z.ZodType<DataSchema, unknown, z.core.$ZodTypeInternals<DataSchema, unknown>>>;
|
|
@@ -241,6 +256,7 @@ export declare const UpdateActionRequest: z.ZodObject<{
|
|
|
241
256
|
integrationUuid: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
242
257
|
parentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
243
258
|
parentUuid: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
259
|
+
isUniversal: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
|
|
244
260
|
connectionId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
245
261
|
instanceKey: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
246
262
|
inputSchema: z.ZodOptional<z.ZodOptional<z.ZodType<DataSchema, unknown, z.core.$ZodTypeInternals<DataSchema, unknown>>>>;
|
|
@@ -260,6 +276,7 @@ export declare const CreateActionInstanceRequest: z.ZodObject<{
|
|
|
260
276
|
integrationUuid: z.ZodOptional<z.ZodString>;
|
|
261
277
|
parentId: z.ZodOptional<z.ZodString>;
|
|
262
278
|
parentUuid: z.ZodOptional<z.ZodString>;
|
|
279
|
+
isUniversal: z.ZodOptional<z.ZodBoolean>;
|
|
263
280
|
connectionId: z.ZodOptional<z.ZodString>;
|
|
264
281
|
instanceKey: z.ZodOptional<z.ZodString>;
|
|
265
282
|
inputSchema: z.ZodOptional<z.ZodType<DataSchema, unknown, z.core.$ZodTypeInternals<DataSchema, unknown>>>;
|
|
@@ -279,6 +296,7 @@ export declare const UpdateActionInstanceRequest: z.ZodObject<{
|
|
|
279
296
|
integrationUuid: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
280
297
|
parentId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
281
298
|
parentUuid: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
299
|
+
isUniversal: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
|
|
282
300
|
connectionId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
283
301
|
instanceKey: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
284
302
|
inputSchema: z.ZodOptional<z.ZodOptional<z.ZodType<DataSchema, unknown, z.core.$ZodTypeInternals<DataSchema, unknown>>>>;
|
|
@@ -309,6 +327,7 @@ export declare const ActionInstanceApiResponse: z.ZodObject<{
|
|
|
309
327
|
integrationUuid: z.ZodOptional<z.ZodString>;
|
|
310
328
|
parentId: z.ZodOptional<z.ZodString>;
|
|
311
329
|
parentUuid: z.ZodOptional<z.ZodString>;
|
|
330
|
+
isUniversal: z.ZodOptional<z.ZodBoolean>;
|
|
312
331
|
connectionId: z.ZodOptional<z.ZodString>;
|
|
313
332
|
instanceKey: z.ZodOptional<z.ZodString>;
|
|
314
333
|
inputSchema: z.ZodOptional<z.ZodType<DataSchema, unknown, z.core.$ZodTypeInternals<DataSchema, unknown>>>;
|
|
@@ -366,6 +385,10 @@ export declare const ActionInstanceApiResponse: z.ZodObject<{
|
|
|
366
385
|
oauth1: "oauth1";
|
|
367
386
|
"client-credentials": "client-credentials";
|
|
368
387
|
}>>;
|
|
388
|
+
optionsConfig: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
389
|
+
disabled: z.ZodOptional<z.ZodBoolean>;
|
|
390
|
+
parameters: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
391
|
+
}, z.core.$strip>>>;
|
|
369
392
|
}, z.core.$strip>>;
|
|
370
393
|
user: z.ZodOptional<z.ZodObject<{
|
|
371
394
|
id: z.ZodString;
|
|
@@ -377,6 +400,7 @@ export declare const ActionInstanceApiResponse: z.ZodObject<{
|
|
|
377
400
|
lastActiveAt: z.ZodOptional<z.ZodString>;
|
|
378
401
|
isTest: z.ZodOptional<z.ZodBoolean>;
|
|
379
402
|
isBillable: z.ZodOptional<z.ZodBoolean>;
|
|
403
|
+
isActive: z.ZodOptional<z.ZodBoolean>;
|
|
380
404
|
createdAt: z.ZodOptional<z.ZodString>;
|
|
381
405
|
archivedAt: z.ZodOptional<z.ZodString>;
|
|
382
406
|
}, z.core.$strip>>;
|
|
@@ -390,6 +414,7 @@ export declare const ActionInstanceApiResponse: z.ZodObject<{
|
|
|
390
414
|
integrationUuid: z.ZodOptional<z.ZodString>;
|
|
391
415
|
parentId: z.ZodOptional<z.ZodString>;
|
|
392
416
|
parentUuid: z.ZodOptional<z.ZodString>;
|
|
417
|
+
isUniversal: z.ZodOptional<z.ZodBoolean>;
|
|
393
418
|
connectionId: z.ZodOptional<z.ZodString>;
|
|
394
419
|
instanceKey: z.ZodOptional<z.ZodString>;
|
|
395
420
|
inputSchema: z.ZodOptional<z.ZodType<DataSchema, unknown, z.core.$ZodTypeInternals<DataSchema, unknown>>>;
|
|
@@ -421,6 +446,7 @@ export declare const ActionInstanceApiResponse: z.ZodObject<{
|
|
|
421
446
|
integrationUuid: z.ZodOptional<z.ZodString>;
|
|
422
447
|
parentId: z.ZodOptional<z.ZodString>;
|
|
423
448
|
parentUuid: z.ZodOptional<z.ZodString>;
|
|
449
|
+
isUniversal: z.ZodOptional<z.ZodBoolean>;
|
|
424
450
|
connectionId: z.ZodOptional<z.ZodString>;
|
|
425
451
|
instanceKey: z.ZodOptional<z.ZodString>;
|
|
426
452
|
inputSchema: z.ZodOptional<z.ZodType<DataSchema, unknown, z.core.$ZodTypeInternals<DataSchema, unknown>>>;
|
|
@@ -480,6 +506,10 @@ export declare const ActionInstanceApiResponse: z.ZodObject<{
|
|
|
480
506
|
oauth1: "oauth1";
|
|
481
507
|
"client-credentials": "client-credentials";
|
|
482
508
|
}>>;
|
|
509
|
+
optionsConfig: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
510
|
+
disabled: z.ZodOptional<z.ZodBoolean>;
|
|
511
|
+
parameters: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
512
|
+
}, z.core.$strip>>>;
|
|
483
513
|
}, z.core.$strip>;
|
|
484
514
|
}, z.core.$strip>>>;
|
|
485
515
|
defaultOutputSchema: z.ZodOptional<z.ZodType<DataSchema, unknown, z.core.$ZodTypeInternals<DataSchema, unknown>>>;
|
|
@@ -507,7 +537,9 @@ export declare const ListActionInstancesForConnectionQuery: z.ZodObject<{
|
|
|
507
537
|
includeArchived: z.ZodOptional<z.ZodPipe<z.ZodTransform<boolean, unknown>, z.ZodBoolean>>;
|
|
508
538
|
parentId: z.ZodOptional<z.ZodString>;
|
|
509
539
|
universalParentId: z.ZodOptional<z.ZodString>;
|
|
540
|
+
tenantId: z.ZodOptional<z.ZodString>;
|
|
510
541
|
userId: z.ZodOptional<z.ZodString>;
|
|
542
|
+
isUniversal: z.ZodOptional<z.ZodPipe<z.ZodTransform<boolean, unknown>, z.ZodBoolean>>;
|
|
511
543
|
externalAppId: z.ZodOptional<z.ZodString>;
|
|
512
544
|
}, z.core.$strip>;
|
|
513
545
|
export type ListActionInstancesForConnectionQuery = FindActionsQuery;
|
|
@@ -527,7 +559,9 @@ export declare const FindActionInstancesQuery: z.ZodObject<{
|
|
|
527
559
|
includeArchived: z.ZodOptional<z.ZodPipe<z.ZodTransform<boolean, unknown>, z.ZodBoolean>>;
|
|
528
560
|
parentId: z.ZodOptional<z.ZodString>;
|
|
529
561
|
universalParentId: z.ZodOptional<z.ZodString>;
|
|
562
|
+
tenantId: z.ZodOptional<z.ZodString>;
|
|
530
563
|
userId: z.ZodOptional<z.ZodString>;
|
|
564
|
+
isUniversal: z.ZodOptional<z.ZodPipe<z.ZodTransform<boolean, unknown>, z.ZodBoolean>>;
|
|
531
565
|
externalAppId: z.ZodOptional<z.ZodString>;
|
|
532
566
|
}, z.core.$strip>;
|
|
533
567
|
export type FindActionInstancesQuery = FindActionsQuery;
|
|
@@ -48,6 +48,7 @@ export declare const AppDataSchemaInstanceApiResponse: z.ZodObject<{
|
|
|
48
48
|
lastActiveAt: z.ZodOptional<z.ZodString>;
|
|
49
49
|
isTest: z.ZodOptional<z.ZodBoolean>;
|
|
50
50
|
isBillable: z.ZodOptional<z.ZodBoolean>;
|
|
51
|
+
isActive: z.ZodOptional<z.ZodBoolean>;
|
|
51
52
|
createdAt: z.ZodOptional<z.ZodString>;
|
|
52
53
|
archivedAt: z.ZodOptional<z.ZodString>;
|
|
53
54
|
}, z.core.$strip>>;
|
|
@@ -13,6 +13,7 @@ export declare const AppEventLogRecordApiResponse: z.ZodObject<{
|
|
|
13
13
|
lastActiveAt: z.ZodOptional<z.ZodString>;
|
|
14
14
|
isTest: z.ZodOptional<z.ZodBoolean>;
|
|
15
15
|
isBillable: z.ZodOptional<z.ZodBoolean>;
|
|
16
|
+
isActive: z.ZodOptional<z.ZodBoolean>;
|
|
16
17
|
createdAt: z.ZodOptional<z.ZodString>;
|
|
17
18
|
archivedAt: z.ZodOptional<z.ZodString>;
|
|
18
19
|
}, z.core.$strip>>;
|
|
@@ -91,6 +91,7 @@ export declare const AppEventSubscriptionApiResponse: z.ZodObject<{
|
|
|
91
91
|
lastActiveAt: z.ZodOptional<z.ZodString>;
|
|
92
92
|
isTest: z.ZodOptional<z.ZodBoolean>;
|
|
93
93
|
isBillable: z.ZodOptional<z.ZodBoolean>;
|
|
94
|
+
isActive: z.ZodOptional<z.ZodBoolean>;
|
|
94
95
|
createdAt: z.ZodOptional<z.ZodString>;
|
|
95
96
|
archivedAt: z.ZodOptional<z.ZodString>;
|
|
96
97
|
}, z.core.$strip>>;
|
|
@@ -58,6 +58,8 @@ export declare const ConnectionApiResponse: z.ZodObject<{
|
|
|
58
58
|
nextCredentialsRefreshAt: z.ZodOptional<z.ZodString>;
|
|
59
59
|
nextRetryTimestamp: z.ZodOptional<z.ZodString>;
|
|
60
60
|
retryAttempts: z.ZodOptional<z.ZodNumber>;
|
|
61
|
+
canTest: z.ZodOptional<z.ZodBoolean>;
|
|
62
|
+
canRefreshCredentials: z.ZodOptional<z.ZodBoolean>;
|
|
61
63
|
archivedAt: z.ZodOptional<z.ZodString>;
|
|
62
64
|
isDeactivated: z.ZodOptional<z.ZodBoolean>;
|
|
63
65
|
meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
@@ -71,6 +73,7 @@ export declare const ConnectionApiResponse: z.ZodObject<{
|
|
|
71
73
|
lastActiveAt: z.ZodOptional<z.ZodString>;
|
|
72
74
|
isTest: z.ZodOptional<z.ZodBoolean>;
|
|
73
75
|
isBillable: z.ZodOptional<z.ZodBoolean>;
|
|
76
|
+
isActive: z.ZodOptional<z.ZodBoolean>;
|
|
74
77
|
createdAt: z.ZodOptional<z.ZodString>;
|
|
75
78
|
archivedAt: z.ZodOptional<z.ZodString>;
|
|
76
79
|
}, z.core.$strip>>;
|
|
@@ -113,6 +116,10 @@ export declare const ConnectionApiResponse: z.ZodObject<{
|
|
|
113
116
|
oauth1: "oauth1";
|
|
114
117
|
"client-credentials": "client-credentials";
|
|
115
118
|
}>>;
|
|
119
|
+
optionsConfig: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
120
|
+
disabled: z.ZodOptional<z.ZodBoolean>;
|
|
121
|
+
parameters: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
122
|
+
}, z.core.$strip>>>;
|
|
116
123
|
}, z.core.$strip>>;
|
|
117
124
|
}, z.core.$strip>;
|
|
118
125
|
export type ConnectionApiResponse = z.infer<typeof ConnectionApiResponse>;
|
|
@@ -135,6 +142,8 @@ export declare const ConnectionApiResponseWithSecrets: z.ZodObject<{
|
|
|
135
142
|
nextCredentialsRefreshAt: z.ZodOptional<z.ZodString>;
|
|
136
143
|
nextRetryTimestamp: z.ZodOptional<z.ZodString>;
|
|
137
144
|
retryAttempts: z.ZodOptional<z.ZodNumber>;
|
|
145
|
+
canTest: z.ZodOptional<z.ZodBoolean>;
|
|
146
|
+
canRefreshCredentials: z.ZodOptional<z.ZodBoolean>;
|
|
138
147
|
archivedAt: z.ZodOptional<z.ZodString>;
|
|
139
148
|
isDeactivated: z.ZodOptional<z.ZodBoolean>;
|
|
140
149
|
meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
@@ -148,6 +157,7 @@ export declare const ConnectionApiResponseWithSecrets: z.ZodObject<{
|
|
|
148
157
|
lastActiveAt: z.ZodOptional<z.ZodString>;
|
|
149
158
|
isTest: z.ZodOptional<z.ZodBoolean>;
|
|
150
159
|
isBillable: z.ZodOptional<z.ZodBoolean>;
|
|
160
|
+
isActive: z.ZodOptional<z.ZodBoolean>;
|
|
151
161
|
createdAt: z.ZodOptional<z.ZodString>;
|
|
152
162
|
archivedAt: z.ZodOptional<z.ZodString>;
|
|
153
163
|
}, z.core.$strip>>;
|
|
@@ -190,9 +200,13 @@ export declare const ConnectionApiResponseWithSecrets: z.ZodObject<{
|
|
|
190
200
|
oauth1: "oauth1";
|
|
191
201
|
"client-credentials": "client-credentials";
|
|
192
202
|
}>>;
|
|
203
|
+
optionsConfig: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
204
|
+
disabled: z.ZodOptional<z.ZodBoolean>;
|
|
205
|
+
parameters: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
206
|
+
}, z.core.$strip>>>;
|
|
193
207
|
}, z.core.$strip>>;
|
|
194
208
|
credentials: z.ZodOptional<z.ZodUnknown>;
|
|
195
|
-
|
|
209
|
+
input: z.ZodOptional<z.ZodUnknown>;
|
|
196
210
|
connectorParameters: z.ZodOptional<z.ZodUnknown>;
|
|
197
211
|
}, z.core.$strip>;
|
|
198
212
|
export type ConnectionApiResponseWithSecrets = z.infer<typeof ConnectionApiResponseWithSecrets>;
|
|
@@ -220,6 +234,8 @@ export declare const ConnectionMessagePayload: z.ZodDiscriminatedUnion<[z.ZodObj
|
|
|
220
234
|
nextCredentialsRefreshAt: z.ZodOptional<z.ZodString>;
|
|
221
235
|
nextRetryTimestamp: z.ZodOptional<z.ZodString>;
|
|
222
236
|
retryAttempts: z.ZodOptional<z.ZodNumber>;
|
|
237
|
+
canTest: z.ZodOptional<z.ZodBoolean>;
|
|
238
|
+
canRefreshCredentials: z.ZodOptional<z.ZodBoolean>;
|
|
223
239
|
archivedAt: z.ZodOptional<z.ZodString>;
|
|
224
240
|
isDeactivated: z.ZodOptional<z.ZodBoolean>;
|
|
225
241
|
meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
@@ -233,6 +249,7 @@ export declare const ConnectionMessagePayload: z.ZodDiscriminatedUnion<[z.ZodObj
|
|
|
233
249
|
lastActiveAt: z.ZodOptional<z.ZodString>;
|
|
234
250
|
isTest: z.ZodOptional<z.ZodBoolean>;
|
|
235
251
|
isBillable: z.ZodOptional<z.ZodBoolean>;
|
|
252
|
+
isActive: z.ZodOptional<z.ZodBoolean>;
|
|
236
253
|
createdAt: z.ZodOptional<z.ZodString>;
|
|
237
254
|
archivedAt: z.ZodOptional<z.ZodString>;
|
|
238
255
|
}, z.core.$strip>>;
|
|
@@ -275,6 +292,10 @@ export declare const ConnectionMessagePayload: z.ZodDiscriminatedUnion<[z.ZodObj
|
|
|
275
292
|
oauth1: "oauth1";
|
|
276
293
|
"client-credentials": "client-credentials";
|
|
277
294
|
}>>;
|
|
295
|
+
optionsConfig: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
296
|
+
disabled: z.ZodOptional<z.ZodBoolean>;
|
|
297
|
+
parameters: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
298
|
+
}, z.core.$strip>>>;
|
|
278
299
|
}, z.core.$strip>>;
|
|
279
300
|
}, z.core.$strip>;
|
|
280
301
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -38,6 +38,7 @@ export declare const CustomerApiResponse: z.ZodObject<{
|
|
|
38
38
|
lastActiveAt: z.ZodOptional<z.ZodString>;
|
|
39
39
|
isTest: z.ZodOptional<z.ZodBoolean>;
|
|
40
40
|
isBillable: z.ZodOptional<z.ZodBoolean>;
|
|
41
|
+
isActive: z.ZodOptional<z.ZodBoolean>;
|
|
41
42
|
createdAt: z.ZodOptional<z.ZodString>;
|
|
42
43
|
archivedAt: z.ZodOptional<z.ZodString>;
|
|
43
44
|
}, z.core.$strip>;
|