@flowrunner/cli 0.1.10 → 0.1.12
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/ai-docs/instructions/service-code-format/01-service-structure.md +1 -0
- package/ai-docs/instructions/service-code-format/11-output-model.md +1 -1
- package/dist/cli.js +5 -3
- package/dist/cli.js.map +2 -2
- package/dist/index.js +4 -2
- package/dist/index.js.map +2 -2
- package/dist/types/flow-extension-runner/src/v2/model/model-types.d.ts +1 -1
- package/dist/types/flow-extension-runner/src/v2/types.d.ts +5 -0
- package/dist/types/shared/src/constants/shared-extensions.d.ts +12 -0
- package/dist/types/shared/src/scheme/access-keys/dto.d.ts +101 -0
- package/dist/types/shared/src/scheme/access-keys/index.d.ts +2 -0
- package/dist/types/shared/src/scheme/flowrunner/custom-elements.d.ts +8 -8
- package/dist/types/shared/src/scheme/index.d.ts +1 -0
- package/dist/types/shared/src/scheme/mcp-oauth/dto.d.ts +7 -5
- package/dist/types/shared/src/scheme/shared-extensions/base.d.ts +1 -1
- package/dist/types/shared/src/scheme/shared-extensions/custom-extensions.d.ts +9 -9
- package/dist/types/shared/src/scheme/shared-extensions/extension.d.ts +8 -8
- package/dist/types/shared/src/scheme/shared-extensions/index.d.ts +1 -0
- package/dist/types/shared/src/scheme/shared-extensions/list.d.ts +209 -0
- package/dist/types/shared/src/scheme/shared-extensions/resolve.d.ts +6 -6
- package/dist/types/shared/src/scheme/shared-extensions/search.d.ts +4 -4
- package/dist/types/shared/src/scheme/shared-extensions/service-info.d.ts +1 -1
- package/package.json +1 -1
- package/runtime/index.js +3 -1
- package/runtime/index.js.map +2 -2
- package/runtime/types/flow-extension-runner/src/v2/model/model-types.d.ts +1 -1
- package/runtime/types/flow-extension-runner/src/v2/types.d.ts +5 -0
- package/runtime/types/shared/src/constants/shared-extensions.d.ts +12 -0
- package/runtime/types/shared/src/scheme/access-keys/dto.d.ts +101 -0
- package/runtime/types/shared/src/scheme/access-keys/index.d.ts +2 -0
- package/runtime/types/shared/src/scheme/flowrunner/custom-elements.d.ts +8 -8
- package/runtime/types/shared/src/scheme/index.d.ts +1 -0
- package/runtime/types/shared/src/scheme/mcp-oauth/dto.d.ts +7 -5
- package/runtime/types/shared/src/scheme/shared-extensions/base.d.ts +1 -1
- package/runtime/types/shared/src/scheme/shared-extensions/custom-extensions.d.ts +9 -9
- package/runtime/types/shared/src/scheme/shared-extensions/extension.d.ts +8 -8
- package/runtime/types/shared/src/scheme/shared-extensions/index.d.ts +1 -0
- package/runtime/types/shared/src/scheme/shared-extensions/list.d.ts +209 -0
- package/runtime/types/shared/src/scheme/shared-extensions/resolve.d.ts +6 -6
- package/runtime/types/shared/src/scheme/shared-extensions/search.d.ts +4 -4
- package/runtime/types/shared/src/scheme/shared-extensions/service-info.d.ts +1 -1
|
@@ -58,7 +58,7 @@ export interface SharedExtensionMethod {
|
|
|
58
58
|
paramsSchema?: ParamsSchemaJSON | null;
|
|
59
59
|
}
|
|
60
60
|
export interface SharedExtensionServiceInfo {
|
|
61
|
-
serviceClassName
|
|
61
|
+
serviceClassName?: string;
|
|
62
62
|
integrationName: string;
|
|
63
63
|
integrationIcon: string | null;
|
|
64
64
|
description?: string | null;
|
|
@@ -46,6 +46,11 @@ export interface ExtensionProps<TConfigSchema extends AnySchema = AnySchema, TCo
|
|
|
46
46
|
logo: string;
|
|
47
47
|
appearanceColors?: [string, string];
|
|
48
48
|
usesFileStorage?: boolean;
|
|
49
|
+
/**
|
|
50
|
+
* @deprecated Shared extensions migrated from v1 only, and will be removed: the v1 service class name
|
|
51
|
+
* (`GeminiAIService`). Flows, configs and OAuth connections saved against the v1 service still reference it.
|
|
52
|
+
*/
|
|
53
|
+
serviceClassName?: string;
|
|
49
54
|
configItems?: TConfigSchema;
|
|
50
55
|
initContext?: (bag: {
|
|
51
56
|
config: Infer<TConfigSchema>;
|
|
@@ -6,6 +6,18 @@ export declare const SharedExtensionStatuses: {
|
|
|
6
6
|
readonly MISSING_DB: "missing_db";
|
|
7
7
|
};
|
|
8
8
|
export type SharedExtensionStatusesT = typeof SharedExtensionStatuses[keyof typeof SharedExtensionStatuses];
|
|
9
|
+
export declare const SharedExtensionListStatuses: {
|
|
10
|
+
readonly UP_TO_DATE: "up_to_date";
|
|
11
|
+
readonly UPDATE_AVAILABLE: "update_available";
|
|
12
|
+
readonly LEGACY: "legacy";
|
|
13
|
+
};
|
|
14
|
+
export type SharedExtensionListStatusesT = typeof SharedExtensionListStatuses[keyof typeof SharedExtensionListStatuses];
|
|
15
|
+
export declare const SharedExtensionConfigStatuses: {
|
|
16
|
+
readonly CONFIGURED: "configured";
|
|
17
|
+
readonly MISSING: "missing";
|
|
18
|
+
readonly NOT_NEEDED: "not_needed";
|
|
19
|
+
};
|
|
20
|
+
export type SharedExtensionConfigStatusesT = typeof SharedExtensionConfigStatuses[keyof typeof SharedExtensionConfigStatuses];
|
|
9
21
|
export declare const SharedExtensionRegisterAs: {
|
|
10
22
|
readonly ACTION: "ACTION";
|
|
11
23
|
readonly DICTIONARY: "DICTIONARY";
|
|
@@ -0,0 +1,101 @@
|
|
|
1
|
+
import '../../extensions/zod';
|
|
2
|
+
import { z } from 'zod';
|
|
3
|
+
export declare const AccessKeyStatus: {
|
|
4
|
+
readonly ACTIVE: "active";
|
|
5
|
+
readonly REVOKED: "revoked";
|
|
6
|
+
};
|
|
7
|
+
export type AccessKeyStatus = typeof AccessKeyStatus[keyof typeof AccessKeyStatus];
|
|
8
|
+
export declare const AccessKeyStatusSchema: z.ZodEnum<{
|
|
9
|
+
readonly ACTIVE: "active";
|
|
10
|
+
readonly REVOKED: "revoked";
|
|
11
|
+
}>;
|
|
12
|
+
export declare const AccessKeyRole: {
|
|
13
|
+
readonly INTERNAL: "INTERNAL";
|
|
14
|
+
readonly PUBLIC: "PUBLIC";
|
|
15
|
+
};
|
|
16
|
+
export type AccessKeyRole = typeof AccessKeyRole[keyof typeof AccessKeyRole];
|
|
17
|
+
export declare const AccessKeyRoleSchema: z.ZodEnum<{
|
|
18
|
+
readonly INTERNAL: "INTERNAL";
|
|
19
|
+
readonly PUBLIC: "PUBLIC";
|
|
20
|
+
}>;
|
|
21
|
+
export declare const AccessKeyTransport: {
|
|
22
|
+
readonly HEADER: "header";
|
|
23
|
+
readonly QUERY: "query";
|
|
24
|
+
readonly PATH: "path";
|
|
25
|
+
};
|
|
26
|
+
export type AccessKeyTransport = typeof AccessKeyTransport[keyof typeof AccessKeyTransport];
|
|
27
|
+
export declare const AccessKeyTransportSchema: z.ZodEnum<{
|
|
28
|
+
readonly HEADER: "header";
|
|
29
|
+
readonly QUERY: "query";
|
|
30
|
+
readonly PATH: "path";
|
|
31
|
+
}>;
|
|
32
|
+
export declare const DEFAULT_NEW_KEY_TRANSPORTS: AccessKeyTransport[];
|
|
33
|
+
export declare const AccessKeyScopeSchema: z.ZodObject<{
|
|
34
|
+
flows: z.ZodArray<z.ZodString>;
|
|
35
|
+
ipRanges: z.ZodArray<z.ZodString>;
|
|
36
|
+
}, z.core.$strip>;
|
|
37
|
+
export type AccessKeyScope = z.infer<typeof AccessKeyScopeSchema>;
|
|
38
|
+
export declare const AccessKeyLimitsSchema: z.ZodObject<{
|
|
39
|
+
ratePerMin: z.ZodOptional<z.ZodNumber>;
|
|
40
|
+
concurrency: z.ZodOptional<z.ZodNumber>;
|
|
41
|
+
monthlyQuota: z.ZodOptional<z.ZodNumber>;
|
|
42
|
+
}, z.core.$strip>;
|
|
43
|
+
export type AccessKeyLimits = z.infer<typeof AccessKeyLimitsSchema>;
|
|
44
|
+
export declare const AccessKeySchema: z.ZodObject<{
|
|
45
|
+
id: z.ZodString;
|
|
46
|
+
label: z.ZodString;
|
|
47
|
+
secret: z.ZodString;
|
|
48
|
+
prefix: z.ZodString;
|
|
49
|
+
status: z.ZodEnum<{
|
|
50
|
+
readonly ACTIVE: "active";
|
|
51
|
+
readonly REVOKED: "revoked";
|
|
52
|
+
}>;
|
|
53
|
+
role: z.ZodOptional<z.ZodEnum<{
|
|
54
|
+
readonly INTERNAL: "INTERNAL";
|
|
55
|
+
readonly PUBLIC: "PUBLIC";
|
|
56
|
+
}>>;
|
|
57
|
+
createdAt: z.ZodNumber;
|
|
58
|
+
lastUsedAt: z.ZodOptional<z.ZodNumber>;
|
|
59
|
+
scope: z.ZodOptional<z.ZodObject<{
|
|
60
|
+
flows: z.ZodArray<z.ZodString>;
|
|
61
|
+
ipRanges: z.ZodArray<z.ZodString>;
|
|
62
|
+
}, z.core.$strip>>;
|
|
63
|
+
limits: z.ZodOptional<z.ZodObject<{
|
|
64
|
+
ratePerMin: z.ZodOptional<z.ZodNumber>;
|
|
65
|
+
concurrency: z.ZodOptional<z.ZodNumber>;
|
|
66
|
+
monthlyQuota: z.ZodOptional<z.ZodNumber>;
|
|
67
|
+
}, z.core.$strip>>;
|
|
68
|
+
transports: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
69
|
+
readonly HEADER: "header";
|
|
70
|
+
readonly QUERY: "query";
|
|
71
|
+
readonly PATH: "path";
|
|
72
|
+
}>>>;
|
|
73
|
+
usageThisMonth: z.ZodOptional<z.ZodNumber>;
|
|
74
|
+
}, z.core.$strip>;
|
|
75
|
+
export type AccessKey = z.infer<typeof AccessKeySchema>;
|
|
76
|
+
export declare const NewAccessKeySchema: z.ZodObject<{
|
|
77
|
+
label: z.ZodString;
|
|
78
|
+
}, z.core.$strip>;
|
|
79
|
+
export type NewAccessKey = z.infer<typeof NewAccessKeySchema>;
|
|
80
|
+
export declare const UpdateAccessKeySchema: z.ZodObject<{
|
|
81
|
+
label: z.ZodOptional<z.ZodString>;
|
|
82
|
+
scope: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
83
|
+
flows: z.ZodArray<z.ZodString>;
|
|
84
|
+
ipRanges: z.ZodArray<z.ZodString>;
|
|
85
|
+
}, z.core.$strip>>>;
|
|
86
|
+
limits: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
87
|
+
ratePerMin: z.ZodOptional<z.ZodNumber>;
|
|
88
|
+
concurrency: z.ZodOptional<z.ZodNumber>;
|
|
89
|
+
monthlyQuota: z.ZodOptional<z.ZodNumber>;
|
|
90
|
+
}, z.core.$strip>>>;
|
|
91
|
+
transports: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodEnum<{
|
|
92
|
+
readonly HEADER: "header";
|
|
93
|
+
readonly QUERY: "query";
|
|
94
|
+
readonly PATH: "path";
|
|
95
|
+
}>>>>;
|
|
96
|
+
}, z.core.$strip>;
|
|
97
|
+
export type UpdateAccessKey = z.infer<typeof UpdateAccessKeySchema>;
|
|
98
|
+
export declare const AccessKeysWorkspaceStateSchema: z.ZodObject<{
|
|
99
|
+
externalInvocationSuspended: z.ZodBoolean;
|
|
100
|
+
}, z.core.$strip>;
|
|
101
|
+
export type AccessKeysWorkspaceState = z.infer<typeof AccessKeysWorkspaceStateSchema>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
2
|
export declare const CustomElementServiceInfoSchema: z.ZodObject<{
|
|
3
|
-
serviceClassName: z.ZodString
|
|
3
|
+
serviceClassName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4
4
|
integrationName: z.ZodString;
|
|
5
5
|
integrationIcon: z.ZodNullable<z.ZodString>;
|
|
6
6
|
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -30,7 +30,7 @@ export declare const CustomElementServiceInfoSchema: z.ZodObject<{
|
|
|
30
30
|
serviceId: z.ZodString;
|
|
31
31
|
newServiceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
32
32
|
legacyServiceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
33
|
-
serviceName: z.ZodString
|
|
33
|
+
serviceName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
34
34
|
oauthConnectionsGroupId: z.ZodString;
|
|
35
35
|
legacyOauthConnectionsGroupId: z.ZodString;
|
|
36
36
|
runnerVersion: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
@@ -88,7 +88,7 @@ export declare const CustomElementMethodSchema: z.ZodObject<{
|
|
|
88
88
|
}, z.core.$strip>;
|
|
89
89
|
export declare const CustomElementsBundleSchema: z.ZodObject<{
|
|
90
90
|
serviceInfo: z.ZodObject<{
|
|
91
|
-
serviceClassName: z.ZodString
|
|
91
|
+
serviceClassName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
92
92
|
integrationName: z.ZodString;
|
|
93
93
|
integrationIcon: z.ZodNullable<z.ZodString>;
|
|
94
94
|
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -118,7 +118,7 @@ export declare const CustomElementsBundleSchema: z.ZodObject<{
|
|
|
118
118
|
serviceId: z.ZodString;
|
|
119
119
|
newServiceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
120
120
|
legacyServiceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
121
|
-
serviceName: z.ZodString
|
|
121
|
+
serviceName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
122
122
|
oauthConnectionsGroupId: z.ZodString;
|
|
123
123
|
legacyOauthConnectionsGroupId: z.ZodString;
|
|
124
124
|
runnerVersion: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
@@ -178,7 +178,7 @@ export declare const CustomElementsBundleSchema: z.ZodObject<{
|
|
|
178
178
|
export declare const SharedExtensionsElementsSchema: z.ZodObject<{
|
|
179
179
|
services: z.ZodArray<z.ZodObject<{
|
|
180
180
|
serviceInfo: z.ZodObject<{
|
|
181
|
-
serviceClassName: z.ZodString
|
|
181
|
+
serviceClassName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
182
182
|
integrationName: z.ZodString;
|
|
183
183
|
integrationIcon: z.ZodNullable<z.ZodString>;
|
|
184
184
|
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -208,7 +208,7 @@ export declare const SharedExtensionsElementsSchema: z.ZodObject<{
|
|
|
208
208
|
serviceId: z.ZodString;
|
|
209
209
|
newServiceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
210
210
|
legacyServiceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
211
|
-
serviceName: z.ZodString
|
|
211
|
+
serviceName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
212
212
|
oauthConnectionsGroupId: z.ZodString;
|
|
213
213
|
legacyOauthConnectionsGroupId: z.ZodString;
|
|
214
214
|
runnerVersion: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
@@ -301,7 +301,7 @@ export declare const CustomElementMethodWithServiceInfoSchema: z.ZodObject<{
|
|
|
301
301
|
fields: z.ZodArray<z.ZodType<import("../shared-extensions/params-schema").ParamsSchemaField, unknown, z.core.$ZodTypeInternals<import("../shared-extensions/params-schema").ParamsSchemaField, unknown>>>;
|
|
302
302
|
}, z.core.$loose>>>;
|
|
303
303
|
serviceInfo: z.ZodObject<{
|
|
304
|
-
serviceClassName: z.ZodString
|
|
304
|
+
serviceClassName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
305
305
|
integrationName: z.ZodString;
|
|
306
306
|
integrationIcon: z.ZodNullable<z.ZodString>;
|
|
307
307
|
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -331,7 +331,7 @@ export declare const CustomElementMethodWithServiceInfoSchema: z.ZodObject<{
|
|
|
331
331
|
serviceId: z.ZodString;
|
|
332
332
|
newServiceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
333
333
|
legacyServiceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
334
|
-
serviceName: z.ZodString
|
|
334
|
+
serviceName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
335
335
|
oauthConnectionsGroupId: z.ZodString;
|
|
336
336
|
legacyOauthConnectionsGroupId: z.ZodString;
|
|
337
337
|
runnerVersion: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
-
export declare const
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
2
|
+
export declare const MCPOAuthClientInfoJavaDTOSchema: z.ZodObject<{
|
|
3
|
+
client_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4
|
+
is_mcp: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
5
|
+
approved: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
6
|
+
logo_uri: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
7
|
+
redirect_uris: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
6
8
|
}, z.core.$strip>;
|
|
7
|
-
export type
|
|
9
|
+
export type MCPOAuthClientInfoJavaDTO = z.infer<typeof MCPOAuthClientInfoJavaDTOSchema>;
|
|
@@ -12,7 +12,7 @@ export declare const BaseInstalledExtensionDTOSchema: z.ZodObject<{
|
|
|
12
12
|
createdAt: z.ZodCoercedDate<unknown>;
|
|
13
13
|
updatedAt: z.ZodCoercedDate<unknown>;
|
|
14
14
|
serviceInfo: z.ZodObject<{
|
|
15
|
-
serviceClassName: z.ZodString
|
|
15
|
+
serviceClassName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
16
16
|
integrationName: z.ZodString;
|
|
17
17
|
integrationIcon: z.ZodNullable<z.ZodString>;
|
|
18
18
|
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -12,7 +12,7 @@ export declare const CustomExtensionDTOSchema: z.ZodObject<{
|
|
|
12
12
|
createdAt: z.ZodCoercedDate<unknown>;
|
|
13
13
|
updatedAt: z.ZodCoercedDate<unknown>;
|
|
14
14
|
serviceInfo: z.ZodObject<{
|
|
15
|
-
serviceClassName: z.ZodString
|
|
15
|
+
serviceClassName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
16
16
|
integrationName: z.ZodString;
|
|
17
17
|
integrationIcon: z.ZodNullable<z.ZodString>;
|
|
18
18
|
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -88,12 +88,12 @@ export declare const CustomExtensionDTOSchema: z.ZodObject<{
|
|
|
88
88
|
* One version of a custom extension service in full — what the version detail view renders.
|
|
89
89
|
*/
|
|
90
90
|
export declare const CustomExtensionVersionDetailSchema: z.ZodObject<{
|
|
91
|
+
createdAt: z.ZodCoercedDate<unknown>;
|
|
91
92
|
serviceId: z.ZodString;
|
|
92
93
|
serviceName: z.ZodString;
|
|
93
|
-
createdAt: z.ZodCoercedDate<unknown>;
|
|
94
94
|
sourceHash: z.ZodString;
|
|
95
95
|
serviceInfo: z.ZodObject<{
|
|
96
|
-
serviceClassName: z.ZodString
|
|
96
|
+
serviceClassName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
97
97
|
integrationName: z.ZodString;
|
|
98
98
|
integrationIcon: z.ZodNullable<z.ZodString>;
|
|
99
99
|
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -233,7 +233,7 @@ export declare const CustomExtensionDeployServiceSchema: z.ZodObject<{
|
|
|
233
233
|
serviceId: z.ZodString;
|
|
234
234
|
serviceFilePath: z.ZodString;
|
|
235
235
|
serviceInfo: z.ZodObject<{
|
|
236
|
-
serviceClassName: z.ZodString
|
|
236
|
+
serviceClassName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
237
237
|
integrationName: z.ZodString;
|
|
238
238
|
integrationIcon: z.ZodNullable<z.ZodString>;
|
|
239
239
|
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -306,7 +306,7 @@ export declare const CustomExtensionDeployDefinitionSchema: z.ZodObject<{
|
|
|
306
306
|
serviceId: z.ZodString;
|
|
307
307
|
serviceFilePath: z.ZodString;
|
|
308
308
|
serviceInfo: z.ZodObject<{
|
|
309
|
-
serviceClassName: z.ZodString
|
|
309
|
+
serviceClassName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
310
310
|
integrationName: z.ZodString;
|
|
311
311
|
integrationIcon: z.ZodNullable<z.ZodString>;
|
|
312
312
|
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -424,7 +424,7 @@ export declare const CustomExtensionElementsFullSchema: z.ZodObject<{
|
|
|
424
424
|
unchanged: z.ZodLiteral<false>;
|
|
425
425
|
services: z.ZodArray<z.ZodObject<{
|
|
426
426
|
serviceInfo: z.ZodObject<{
|
|
427
|
-
serviceClassName: z.ZodString
|
|
427
|
+
serviceClassName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
428
428
|
integrationName: z.ZodString;
|
|
429
429
|
integrationIcon: z.ZodNullable<z.ZodString>;
|
|
430
430
|
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -454,7 +454,7 @@ export declare const CustomExtensionElementsFullSchema: z.ZodObject<{
|
|
|
454
454
|
serviceId: z.ZodString;
|
|
455
455
|
newServiceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
456
456
|
legacyServiceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
457
|
-
serviceName: z.ZodString
|
|
457
|
+
serviceName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
458
458
|
oauthConnectionsGroupId: z.ZodString;
|
|
459
459
|
legacyOauthConnectionsGroupId: z.ZodString;
|
|
460
460
|
runnerVersion: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
@@ -521,7 +521,7 @@ export declare const CustomExtensionElementsSchema: z.ZodDiscriminatedUnion<[z.Z
|
|
|
521
521
|
unchanged: z.ZodLiteral<false>;
|
|
522
522
|
services: z.ZodArray<z.ZodObject<{
|
|
523
523
|
serviceInfo: z.ZodObject<{
|
|
524
|
-
serviceClassName: z.ZodString
|
|
524
|
+
serviceClassName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
525
525
|
integrationName: z.ZodString;
|
|
526
526
|
integrationIcon: z.ZodNullable<z.ZodString>;
|
|
527
527
|
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -551,7 +551,7 @@ export declare const CustomExtensionElementsSchema: z.ZodDiscriminatedUnion<[z.Z
|
|
|
551
551
|
serviceId: z.ZodString;
|
|
552
552
|
newServiceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
553
553
|
legacyServiceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
554
|
-
serviceName: z.ZodString
|
|
554
|
+
serviceName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
555
555
|
oauthConnectionsGroupId: z.ZodString;
|
|
556
556
|
legacyOauthConnectionsGroupId: z.ZodString;
|
|
557
557
|
runnerVersion: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
@@ -20,7 +20,7 @@ export declare const InstalledSharedExtensionDTOSchema: z.ZodObject<{
|
|
|
20
20
|
createdAt: z.ZodCoercedDate<unknown>;
|
|
21
21
|
updatedAt: z.ZodCoercedDate<unknown>;
|
|
22
22
|
serviceInfo: z.ZodObject<{
|
|
23
|
-
serviceClassName: z.ZodString
|
|
23
|
+
serviceClassName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
24
24
|
integrationName: z.ZodString;
|
|
25
25
|
integrationIcon: z.ZodNullable<z.ZodString>;
|
|
26
26
|
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -68,7 +68,7 @@ export declare const InstalledSharedExtensionDTOSchema: z.ZodObject<{
|
|
|
68
68
|
fields: z.ZodArray<z.ZodType<import("./params-schema").ParamsSchemaField, unknown, z.core.$ZodTypeInternals<import("./params-schema").ParamsSchemaField, unknown>>>;
|
|
69
69
|
}, z.core.$loose>>>;
|
|
70
70
|
status: z.ZodLiteral<"installed">;
|
|
71
|
-
legacyServiceId: z.ZodString
|
|
71
|
+
legacyServiceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
72
72
|
sharedConfigDescriptions: z.ZodArray<z.ZodObject<{
|
|
73
73
|
shared: z.ZodBoolean;
|
|
74
74
|
name: z.ZodString;
|
|
@@ -115,7 +115,7 @@ export declare const MissingFSSharedExtensionDTOSchema: z.ZodObject<{
|
|
|
115
115
|
createdAt: z.ZodCoercedDate<unknown>;
|
|
116
116
|
updatedAt: z.ZodCoercedDate<unknown>;
|
|
117
117
|
serviceInfo: z.ZodObject<{
|
|
118
|
-
serviceClassName: z.ZodString
|
|
118
|
+
serviceClassName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
119
119
|
integrationName: z.ZodString;
|
|
120
120
|
integrationIcon: z.ZodNullable<z.ZodString>;
|
|
121
121
|
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -162,7 +162,7 @@ export declare const MissingFSSharedExtensionDTOSchema: z.ZodObject<{
|
|
|
162
162
|
v: z.ZodNumber;
|
|
163
163
|
fields: z.ZodArray<z.ZodType<import("./params-schema").ParamsSchemaField, unknown, z.core.$ZodTypeInternals<import("./params-schema").ParamsSchemaField, unknown>>>;
|
|
164
164
|
}, z.core.$loose>>>;
|
|
165
|
-
legacyServiceId: z.ZodString
|
|
165
|
+
legacyServiceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
166
166
|
sharedConfigDescriptions: z.ZodArray<z.ZodObject<{
|
|
167
167
|
shared: z.ZodBoolean;
|
|
168
168
|
name: z.ZodString;
|
|
@@ -220,7 +220,7 @@ export declare const AnySharedExtensionVersionSchema: z.ZodDiscriminatedUnion<[z
|
|
|
220
220
|
createdAt: z.ZodCoercedDate<unknown>;
|
|
221
221
|
updatedAt: z.ZodCoercedDate<unknown>;
|
|
222
222
|
serviceInfo: z.ZodObject<{
|
|
223
|
-
serviceClassName: z.ZodString
|
|
223
|
+
serviceClassName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
224
224
|
integrationName: z.ZodString;
|
|
225
225
|
integrationIcon: z.ZodNullable<z.ZodString>;
|
|
226
226
|
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -268,7 +268,7 @@ export declare const AnySharedExtensionVersionSchema: z.ZodDiscriminatedUnion<[z
|
|
|
268
268
|
fields: z.ZodArray<z.ZodType<import("./params-schema").ParamsSchemaField, unknown, z.core.$ZodTypeInternals<import("./params-schema").ParamsSchemaField, unknown>>>;
|
|
269
269
|
}, z.core.$loose>>>;
|
|
270
270
|
status: z.ZodLiteral<"installed">;
|
|
271
|
-
legacyServiceId: z.ZodString
|
|
271
|
+
legacyServiceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
272
272
|
sharedConfigDescriptions: z.ZodArray<z.ZodObject<{
|
|
273
273
|
shared: z.ZodBoolean;
|
|
274
274
|
name: z.ZodString;
|
|
@@ -314,7 +314,7 @@ export declare const AnySharedExtensionVersionSchema: z.ZodDiscriminatedUnion<[z
|
|
|
314
314
|
createdAt: z.ZodCoercedDate<unknown>;
|
|
315
315
|
updatedAt: z.ZodCoercedDate<unknown>;
|
|
316
316
|
serviceInfo: z.ZodObject<{
|
|
317
|
-
serviceClassName: z.ZodString
|
|
317
|
+
serviceClassName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
318
318
|
integrationName: z.ZodString;
|
|
319
319
|
integrationIcon: z.ZodNullable<z.ZodString>;
|
|
320
320
|
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -361,7 +361,7 @@ export declare const AnySharedExtensionVersionSchema: z.ZodDiscriminatedUnion<[z
|
|
|
361
361
|
v: z.ZodNumber;
|
|
362
362
|
fields: z.ZodArray<z.ZodType<import("./params-schema").ParamsSchemaField, unknown, z.core.$ZodTypeInternals<import("./params-schema").ParamsSchemaField, unknown>>>;
|
|
363
363
|
}, z.core.$loose>>>;
|
|
364
|
-
legacyServiceId: z.ZodString
|
|
364
|
+
legacyServiceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
365
365
|
sharedConfigDescriptions: z.ZodArray<z.ZodObject<{
|
|
366
366
|
shared: z.ZodBoolean;
|
|
367
367
|
name: z.ZodString;
|
|
@@ -0,0 +1,209 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
export declare const SHARED_EXTENSIONS_LIST_MAX_LIMIT = 100;
|
|
3
|
+
export declare const SharedExtensionListStatusSchema: z.ZodEnum<{
|
|
4
|
+
up_to_date: "up_to_date";
|
|
5
|
+
update_available: "update_available";
|
|
6
|
+
legacy: "legacy";
|
|
7
|
+
}>;
|
|
8
|
+
export declare const SharedExtensionConfigStatusSchema: z.ZodEnum<{
|
|
9
|
+
configured: "configured";
|
|
10
|
+
missing: "missing";
|
|
11
|
+
not_needed: "not_needed";
|
|
12
|
+
}>;
|
|
13
|
+
export declare const InstalledSharedExtensionsSortFieldSchema: z.ZodEnum<{
|
|
14
|
+
status: "status";
|
|
15
|
+
name: "name";
|
|
16
|
+
serviceId: "serviceId";
|
|
17
|
+
updatedAt: "updatedAt";
|
|
18
|
+
runnerVersion: "runnerVersion";
|
|
19
|
+
}>;
|
|
20
|
+
export declare const InstalledSharedExtensionsQuerySchema: z.ZodObject<{
|
|
21
|
+
runnerVersion: z.ZodOptional<z.ZodEnum<{
|
|
22
|
+
v1: "v1";
|
|
23
|
+
v2: "v2";
|
|
24
|
+
}>>;
|
|
25
|
+
status: z.ZodOptional<z.ZodEnum<{
|
|
26
|
+
up_to_date: "up_to_date";
|
|
27
|
+
update_available: "update_available";
|
|
28
|
+
legacy: "legacy";
|
|
29
|
+
}>>;
|
|
30
|
+
oauth: z.ZodOptional<z.ZodEnum<{
|
|
31
|
+
true: "true";
|
|
32
|
+
false: "false";
|
|
33
|
+
}>>;
|
|
34
|
+
config: z.ZodOptional<z.ZodEnum<{
|
|
35
|
+
configured: "configured";
|
|
36
|
+
missing: "missing";
|
|
37
|
+
}>>;
|
|
38
|
+
sortBy: z.ZodDefault<z.ZodEnum<{
|
|
39
|
+
status: "status";
|
|
40
|
+
name: "name";
|
|
41
|
+
serviceId: "serviceId";
|
|
42
|
+
updatedAt: "updatedAt";
|
|
43
|
+
runnerVersion: "runnerVersion";
|
|
44
|
+
}>>;
|
|
45
|
+
sortOrder: z.ZodDefault<z.ZodEnum<{
|
|
46
|
+
asc: "asc";
|
|
47
|
+
desc: "desc";
|
|
48
|
+
}>>;
|
|
49
|
+
search: z.ZodOptional<z.ZodString>;
|
|
50
|
+
page: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
|
|
51
|
+
limit: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
|
|
52
|
+
}, z.core.$strip>;
|
|
53
|
+
export declare const InstalledSharedExtensionListItemSchema: z.ZodObject<{
|
|
54
|
+
serviceId: z.ZodString;
|
|
55
|
+
name: z.ZodString;
|
|
56
|
+
sourceHash: z.ZodString;
|
|
57
|
+
sourceLatestHash: z.ZodNullable<z.ZodString>;
|
|
58
|
+
runnerVersion: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
59
|
+
v1: "v1";
|
|
60
|
+
v2: "v2";
|
|
61
|
+
}>>>;
|
|
62
|
+
enabled: z.ZodBoolean;
|
|
63
|
+
status: z.ZodEnum<{
|
|
64
|
+
up_to_date: "up_to_date";
|
|
65
|
+
update_available: "update_available";
|
|
66
|
+
legacy: "legacy";
|
|
67
|
+
}>;
|
|
68
|
+
requireOAuth: z.ZodBoolean;
|
|
69
|
+
configStatus: z.ZodEnum<{
|
|
70
|
+
configured: "configured";
|
|
71
|
+
missing: "missing";
|
|
72
|
+
not_needed: "not_needed";
|
|
73
|
+
}>;
|
|
74
|
+
iconUrl: z.ZodNullable<z.ZodString>;
|
|
75
|
+
updatedAt: z.ZodNullable<z.ZodCoercedDate<unknown>>;
|
|
76
|
+
}, z.core.$strip>;
|
|
77
|
+
export declare const InstalledSharedExtensionsCountsSchema: z.ZodObject<{
|
|
78
|
+
all: z.ZodNumber;
|
|
79
|
+
runner: z.ZodObject<{
|
|
80
|
+
any: z.ZodNumber;
|
|
81
|
+
v1: z.ZodNumber;
|
|
82
|
+
v2: z.ZodNumber;
|
|
83
|
+
}, z.core.$strip>;
|
|
84
|
+
status: z.ZodObject<{
|
|
85
|
+
any: z.ZodNumber;
|
|
86
|
+
upToDate: z.ZodNumber;
|
|
87
|
+
updateAvailable: z.ZodNumber;
|
|
88
|
+
legacy: z.ZodNumber;
|
|
89
|
+
}, z.core.$strip>;
|
|
90
|
+
oauth: z.ZodObject<{
|
|
91
|
+
any: z.ZodNumber;
|
|
92
|
+
enabled: z.ZodNumber;
|
|
93
|
+
none: z.ZodNumber;
|
|
94
|
+
}, z.core.$strip>;
|
|
95
|
+
config: z.ZodObject<{
|
|
96
|
+
any: z.ZodNumber;
|
|
97
|
+
configured: z.ZodNumber;
|
|
98
|
+
missing: z.ZodNumber;
|
|
99
|
+
}, z.core.$strip>;
|
|
100
|
+
}, z.core.$strip>;
|
|
101
|
+
export declare const InstalledSharedExtensionsPageSchema: z.ZodObject<{
|
|
102
|
+
items: z.ZodArray<z.ZodObject<{
|
|
103
|
+
serviceId: z.ZodString;
|
|
104
|
+
name: z.ZodString;
|
|
105
|
+
sourceHash: z.ZodString;
|
|
106
|
+
sourceLatestHash: z.ZodNullable<z.ZodString>;
|
|
107
|
+
runnerVersion: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
108
|
+
v1: "v1";
|
|
109
|
+
v2: "v2";
|
|
110
|
+
}>>>;
|
|
111
|
+
enabled: z.ZodBoolean;
|
|
112
|
+
status: z.ZodEnum<{
|
|
113
|
+
up_to_date: "up_to_date";
|
|
114
|
+
update_available: "update_available";
|
|
115
|
+
legacy: "legacy";
|
|
116
|
+
}>;
|
|
117
|
+
requireOAuth: z.ZodBoolean;
|
|
118
|
+
configStatus: z.ZodEnum<{
|
|
119
|
+
configured: "configured";
|
|
120
|
+
missing: "missing";
|
|
121
|
+
not_needed: "not_needed";
|
|
122
|
+
}>;
|
|
123
|
+
iconUrl: z.ZodNullable<z.ZodString>;
|
|
124
|
+
updatedAt: z.ZodNullable<z.ZodCoercedDate<unknown>>;
|
|
125
|
+
}, z.core.$strip>>;
|
|
126
|
+
total: z.ZodNumber;
|
|
127
|
+
page: z.ZodNumber;
|
|
128
|
+
limit: z.ZodNumber;
|
|
129
|
+
counts: z.ZodObject<{
|
|
130
|
+
all: z.ZodNumber;
|
|
131
|
+
runner: z.ZodObject<{
|
|
132
|
+
any: z.ZodNumber;
|
|
133
|
+
v1: z.ZodNumber;
|
|
134
|
+
v2: z.ZodNumber;
|
|
135
|
+
}, z.core.$strip>;
|
|
136
|
+
status: z.ZodObject<{
|
|
137
|
+
any: z.ZodNumber;
|
|
138
|
+
upToDate: z.ZodNumber;
|
|
139
|
+
updateAvailable: z.ZodNumber;
|
|
140
|
+
legacy: z.ZodNumber;
|
|
141
|
+
}, z.core.$strip>;
|
|
142
|
+
oauth: z.ZodObject<{
|
|
143
|
+
any: z.ZodNumber;
|
|
144
|
+
enabled: z.ZodNumber;
|
|
145
|
+
none: z.ZodNumber;
|
|
146
|
+
}, z.core.$strip>;
|
|
147
|
+
config: z.ZodObject<{
|
|
148
|
+
any: z.ZodNumber;
|
|
149
|
+
configured: z.ZodNumber;
|
|
150
|
+
missing: z.ZodNumber;
|
|
151
|
+
}, z.core.$strip>;
|
|
152
|
+
}, z.core.$strip>;
|
|
153
|
+
}, z.core.$strip>;
|
|
154
|
+
export declare const NotInstalledSharedExtensionsSortFieldSchema: z.ZodEnum<{
|
|
155
|
+
name: "name";
|
|
156
|
+
serviceId: "serviceId";
|
|
157
|
+
}>;
|
|
158
|
+
export declare const NotInstalledSharedExtensionsQuerySchema: z.ZodObject<{
|
|
159
|
+
sortBy: z.ZodDefault<z.ZodEnum<{
|
|
160
|
+
name: "name";
|
|
161
|
+
serviceId: "serviceId";
|
|
162
|
+
}>>;
|
|
163
|
+
sortOrder: z.ZodDefault<z.ZodEnum<{
|
|
164
|
+
asc: "asc";
|
|
165
|
+
desc: "desc";
|
|
166
|
+
}>>;
|
|
167
|
+
search: z.ZodOptional<z.ZodString>;
|
|
168
|
+
page: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
|
|
169
|
+
limit: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
|
|
170
|
+
}, z.core.$strip>;
|
|
171
|
+
export declare const NotInstalledSharedExtensionsPageSchema: z.ZodObject<{
|
|
172
|
+
items: z.ZodArray<z.ZodObject<{
|
|
173
|
+
serviceId: z.ZodString;
|
|
174
|
+
serviceName: z.ZodString;
|
|
175
|
+
sourceHash: z.ZodString;
|
|
176
|
+
}, z.core.$strip>>;
|
|
177
|
+
total: z.ZodNumber;
|
|
178
|
+
page: z.ZodNumber;
|
|
179
|
+
limit: z.ZodNumber;
|
|
180
|
+
}, z.core.$strip>;
|
|
181
|
+
export declare const SharedExtensionBulkTargetSchema: z.ZodObject<{
|
|
182
|
+
serviceId: z.ZodString;
|
|
183
|
+
enabled: z.ZodBoolean;
|
|
184
|
+
}, z.core.$strip>;
|
|
185
|
+
export declare const SharedExtensionBulkTargetsSchema: z.ZodObject<{
|
|
186
|
+
update: z.ZodArray<z.ZodObject<{
|
|
187
|
+
serviceId: z.ZodString;
|
|
188
|
+
enabled: z.ZodBoolean;
|
|
189
|
+
}, z.core.$strip>>;
|
|
190
|
+
reinstall: z.ZodArray<z.ZodObject<{
|
|
191
|
+
serviceId: z.ZodString;
|
|
192
|
+
enabled: z.ZodBoolean;
|
|
193
|
+
}, z.core.$strip>>;
|
|
194
|
+
install: z.ZodArray<z.ZodString>;
|
|
195
|
+
}, z.core.$strip>;
|
|
196
|
+
export type SharedExtensionListStatus = z.infer<typeof SharedExtensionListStatusSchema>;
|
|
197
|
+
export type SharedExtensionConfigStatus = z.infer<typeof SharedExtensionConfigStatusSchema>;
|
|
198
|
+
export type InstalledSharedExtensionsSortField = z.infer<typeof InstalledSharedExtensionsSortFieldSchema>;
|
|
199
|
+
export type InstalledSharedExtensionsQuery = z.infer<typeof InstalledSharedExtensionsQuerySchema>;
|
|
200
|
+
export type InstalledSharedExtensionsQueryInput = z.input<typeof InstalledSharedExtensionsQuerySchema>;
|
|
201
|
+
export type InstalledSharedExtensionListItem = z.infer<typeof InstalledSharedExtensionListItemSchema>;
|
|
202
|
+
export type InstalledSharedExtensionsCounts = z.infer<typeof InstalledSharedExtensionsCountsSchema>;
|
|
203
|
+
export type InstalledSharedExtensionsPage = z.infer<typeof InstalledSharedExtensionsPageSchema>;
|
|
204
|
+
export type NotInstalledSharedExtensionsSortField = z.infer<typeof NotInstalledSharedExtensionsSortFieldSchema>;
|
|
205
|
+
export type NotInstalledSharedExtensionsQuery = z.infer<typeof NotInstalledSharedExtensionsQuerySchema>;
|
|
206
|
+
export type NotInstalledSharedExtensionsQueryInput = z.input<typeof NotInstalledSharedExtensionsQuerySchema>;
|
|
207
|
+
export type NotInstalledSharedExtensionsPage = z.infer<typeof NotInstalledSharedExtensionsPageSchema>;
|
|
208
|
+
export type SharedExtensionBulkTarget = z.infer<typeof SharedExtensionBulkTargetSchema>;
|
|
209
|
+
export type SharedExtensionBulkTargets = z.infer<typeof SharedExtensionBulkTargetsSchema>;
|