@membranehq/sdk 0.11.0 → 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 +199 -0
- package/dist/bundle.js +177 -48
- package/dist/bundle.js.map +1 -1
- package/dist/dts/accessors/connections-accessors.d.ts +7 -0
- package/dist/dts/accessors/integrations-accessors.d.ts +7 -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 +12 -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 +21 -0
- 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 -0
- 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 -0
- 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 +651 -33
- package/dist/index.browser.d.ts +651 -33
- package/dist/index.browser.js +182 -12
- package/dist/index.browser.js.map +1 -1
- package/dist/index.browser.mjs +172 -13
- package/dist/index.browser.mjs.map +1 -1
- package/dist/index.node.d.mts +651 -33
- package/dist/index.node.d.ts +651 -33
- package/dist/index.node.js +182 -12
- package/dist/index.node.js.map +1 -1
- package/dist/index.node.mjs +172 -13
- 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>;
|
|
@@ -65,6 +65,8 @@ export declare class IntegrationAccessor extends ElementAccessor<IntegrationApiR
|
|
|
65
65
|
nextCredentialsRefreshAt?: string | undefined;
|
|
66
66
|
nextRetryTimestamp?: string | undefined;
|
|
67
67
|
retryAttempts?: number | undefined;
|
|
68
|
+
canTest?: boolean | undefined;
|
|
69
|
+
canRefreshCredentials?: boolean | undefined;
|
|
68
70
|
archivedAt?: string | undefined;
|
|
69
71
|
isDeactivated?: boolean | undefined;
|
|
70
72
|
meta?: Record<string, any> | undefined;
|
|
@@ -78,6 +80,7 @@ export declare class IntegrationAccessor extends ElementAccessor<IntegrationApiR
|
|
|
78
80
|
lastActiveAt?: string | undefined;
|
|
79
81
|
isTest?: boolean | undefined;
|
|
80
82
|
isBillable?: boolean | undefined;
|
|
83
|
+
isActive?: boolean | undefined;
|
|
81
84
|
createdAt?: string | undefined;
|
|
82
85
|
archivedAt?: string | undefined;
|
|
83
86
|
} | undefined;
|
|
@@ -113,6 +116,10 @@ export declare class IntegrationAccessor extends ElementAccessor<IntegrationApiR
|
|
|
113
116
|
appUuid?: string | undefined;
|
|
114
117
|
isDeactivated?: boolean | undefined;
|
|
115
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;
|
|
116
123
|
} | undefined;
|
|
117
124
|
} | null>;
|
|
118
125
|
createConnection({ parameters, name, }: {
|
|
@@ -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
|
@@ -205,6 +205,7 @@ export declare const AccountResponse: z.ZodObject<{
|
|
|
205
205
|
lastActiveAt: z.ZodOptional<z.ZodString>;
|
|
206
206
|
isTest: z.ZodOptional<z.ZodBoolean>;
|
|
207
207
|
isBillable: z.ZodOptional<z.ZodBoolean>;
|
|
208
|
+
isActive: z.ZodOptional<z.ZodBoolean>;
|
|
208
209
|
createdAt: z.ZodOptional<z.ZodString>;
|
|
209
210
|
archivedAt: z.ZodOptional<z.ZodString>;
|
|
210
211
|
}, z.core.$strip>>;
|
|
@@ -218,6 +219,7 @@ export declare const AccountResponse: z.ZodObject<{
|
|
|
218
219
|
lastActiveAt: z.ZodOptional<z.ZodString>;
|
|
219
220
|
isTest: z.ZodOptional<z.ZodBoolean>;
|
|
220
221
|
isBillable: z.ZodOptional<z.ZodBoolean>;
|
|
222
|
+
isActive: z.ZodOptional<z.ZodBoolean>;
|
|
221
223
|
createdAt: z.ZodOptional<z.ZodString>;
|
|
222
224
|
archivedAt: z.ZodOptional<z.ZodString>;
|
|
223
225
|
}, z.core.$strip>>;
|
|
@@ -299,6 +301,11 @@ export declare const AccountResponse: z.ZodObject<{
|
|
|
299
301
|
defaultValue: z.ZodOptional<z.ZodNumber>;
|
|
300
302
|
unit: z.ZodEnum<typeof import("../workspaces").LimitUnits>;
|
|
301
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>>;
|
|
302
309
|
ParallelWriteDatabaseRequests: z.ZodOptional<z.ZodObject<{
|
|
303
310
|
value: z.ZodOptional<z.ZodNumber>;
|
|
304
311
|
defaultValue: z.ZodOptional<z.ZodNumber>;
|
|
@@ -437,6 +444,10 @@ export declare const AccountResponse: z.ZodObject<{
|
|
|
437
444
|
workspaceElementCreationsPerSecond: import("../alerts").AlertType.workspaceElementCreationsPerSecond;
|
|
438
445
|
workspaceElementCreationsPerHour: import("../alerts").AlertType.workspaceElementCreationsPerHour;
|
|
439
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;
|
|
440
451
|
totalUsagePerDay: import("../alerts").AlertType.totalUsagePerDay;
|
|
441
452
|
totalUsagePer30Days: import("../alerts").AlertType.totalUsagePer30Days;
|
|
442
453
|
testAlert: import("../alerts").AlertType.testAlert;
|
|
@@ -456,6 +467,7 @@ export declare const AccountResponse: z.ZodObject<{
|
|
|
456
467
|
isThrottled: z.ZodOptional<z.ZodBoolean>;
|
|
457
468
|
isDisabled: z.ZodOptional<z.ZodBoolean>;
|
|
458
469
|
isBackgroundJobsDisabled: z.ZodOptional<z.ZodBoolean>;
|
|
470
|
+
lastExternalApiRequestDate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
459
471
|
}, z.core.$strip>>;
|
|
460
472
|
superAdminToken: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
461
473
|
orgs: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -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,6 +200,10 @@ 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>;
|
|
@@ -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>;
|
|
@@ -143,6 +143,8 @@ export declare const DataLinkTableInstanceApiResponse: z.ZodObject<{
|
|
|
143
143
|
nextCredentialsRefreshAt: z.ZodOptional<z.ZodString>;
|
|
144
144
|
nextRetryTimestamp: z.ZodOptional<z.ZodString>;
|
|
145
145
|
retryAttempts: z.ZodOptional<z.ZodNumber>;
|
|
146
|
+
canTest: z.ZodOptional<z.ZodBoolean>;
|
|
147
|
+
canRefreshCredentials: z.ZodOptional<z.ZodBoolean>;
|
|
146
148
|
archivedAt: z.ZodOptional<z.ZodString>;
|
|
147
149
|
isDeactivated: z.ZodOptional<z.ZodBoolean>;
|
|
148
150
|
meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
@@ -186,6 +188,10 @@ export declare const DataLinkTableInstanceApiResponse: z.ZodObject<{
|
|
|
186
188
|
oauth1: "oauth1";
|
|
187
189
|
"client-credentials": "client-credentials";
|
|
188
190
|
}>>;
|
|
191
|
+
optionsConfig: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
192
|
+
disabled: z.ZodOptional<z.ZodBoolean>;
|
|
193
|
+
parameters: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
194
|
+
}, z.core.$strip>>>;
|
|
189
195
|
}, z.core.$strip>>;
|
|
190
196
|
user: z.ZodOptional<z.ZodObject<{
|
|
191
197
|
id: z.ZodString;
|
|
@@ -197,6 +203,7 @@ export declare const DataLinkTableInstanceApiResponse: z.ZodObject<{
|
|
|
197
203
|
lastActiveAt: z.ZodOptional<z.ZodString>;
|
|
198
204
|
isTest: z.ZodOptional<z.ZodBoolean>;
|
|
199
205
|
isBillable: z.ZodOptional<z.ZodBoolean>;
|
|
206
|
+
isActive: z.ZodOptional<z.ZodBoolean>;
|
|
200
207
|
createdAt: z.ZodOptional<z.ZodString>;
|
|
201
208
|
archivedAt: z.ZodOptional<z.ZodString>;
|
|
202
209
|
}, z.core.$strip>>;
|
|
@@ -165,6 +165,7 @@ export declare const DataSourceInstanceApiResponse: z.ZodObject<{
|
|
|
165
165
|
lastActiveAt: z.ZodOptional<z.ZodString>;
|
|
166
166
|
isTest: z.ZodOptional<z.ZodBoolean>;
|
|
167
167
|
isBillable: z.ZodOptional<z.ZodBoolean>;
|
|
168
|
+
isActive: z.ZodOptional<z.ZodBoolean>;
|
|
168
169
|
createdAt: z.ZodOptional<z.ZodString>;
|
|
169
170
|
archivedAt: z.ZodOptional<z.ZodString>;
|
|
170
171
|
}, z.core.$strip>>;
|
|
@@ -178,6 +179,7 @@ export declare const DataSourceInstanceApiResponse: z.ZodObject<{
|
|
|
178
179
|
meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
179
180
|
integrationUuid: z.ZodOptional<z.ZodString>;
|
|
180
181
|
parentUuid: z.ZodOptional<z.ZodString>;
|
|
182
|
+
isUniversal: z.ZodOptional<z.ZodBoolean>;
|
|
181
183
|
connectionId: z.ZodOptional<z.ZodString>;
|
|
182
184
|
dataSourceId: z.ZodOptional<z.ZodString>;
|
|
183
185
|
universalDataSourceId: z.ZodOptional<z.ZodString>;
|
|
@@ -216,6 +218,8 @@ export declare const DataSourceInstanceApiResponse: z.ZodObject<{
|
|
|
216
218
|
nextCredentialsRefreshAt: z.ZodOptional<z.ZodString>;
|
|
217
219
|
nextRetryTimestamp: z.ZodOptional<z.ZodString>;
|
|
218
220
|
retryAttempts: z.ZodOptional<z.ZodNumber>;
|
|
221
|
+
canTest: z.ZodOptional<z.ZodBoolean>;
|
|
222
|
+
canRefreshCredentials: z.ZodOptional<z.ZodBoolean>;
|
|
219
223
|
archivedAt: z.ZodOptional<z.ZodString>;
|
|
220
224
|
isDeactivated: z.ZodOptional<z.ZodBoolean>;
|
|
221
225
|
meta: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
@@ -259,6 +263,10 @@ export declare const DataSourceInstanceApiResponse: z.ZodObject<{
|
|
|
259
263
|
oauth1: "oauth1";
|
|
260
264
|
"client-credentials": "client-credentials";
|
|
261
265
|
}>>;
|
|
266
|
+
optionsConfig: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
267
|
+
disabled: z.ZodOptional<z.ZodBoolean>;
|
|
268
|
+
parameters: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
269
|
+
}, z.core.$strip>>>;
|
|
262
270
|
}, z.core.$strip>>;
|
|
263
271
|
path: z.ZodOptional<z.ZodString>;
|
|
264
272
|
defaultPath: z.ZodOptional<z.ZodString>;
|