@activepieces/shared 0.10.40 → 0.10.41
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/package.json +2 -2
- package/src/lib/app-connection/app-connection.js +3 -1
- package/src/lib/app-connection/app-connection.js.map +1 -1
- package/src/lib/app-connection/dto/read-app-connection-request.d.ts +1 -0
- package/src/lib/app-connection/dto/read-app-connection-request.js +1 -0
- package/src/lib/app-connection/dto/read-app-connection-request.js.map +1 -1
- package/src/lib/app-connection/dto/upsert-app-connection-request.d.ts +12 -0
- package/src/lib/app-connection/dto/upsert-app-connection-request.js +1 -0
- package/src/lib/app-connection/dto/upsert-app-connection-request.js.map +1 -1
- package/src/lib/common/base-model.d.ts +1 -1
- package/src/lib/common/base-model.js +1 -1
- package/src/lib/common/base-model.js.map +1 -1
- package/src/lib/flows/flow.d.ts +1 -1
package/package.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@activepieces/shared",
|
|
3
|
-
"version": "0.10.
|
|
3
|
+
"version": "0.10.41",
|
|
4
4
|
"type": "commonjs",
|
|
5
5
|
"dependencies": {
|
|
6
6
|
"@sinclair/typebox": "0.26.8",
|
|
7
7
|
"nanoid": "3.3.6",
|
|
8
8
|
"semver": "7.5.4",
|
|
9
|
-
"tslib": "
|
|
9
|
+
"tslib": "2.6.2"
|
|
10
10
|
},
|
|
11
11
|
"main": "./src/index.js"
|
|
12
12
|
}
|
|
@@ -18,5 +18,7 @@ var AppConnectionType;
|
|
|
18
18
|
AppConnectionType["BASIC_AUTH"] = "BASIC_AUTH";
|
|
19
19
|
AppConnectionType["CUSTOM_AUTH"] = "CUSTOM_AUTH";
|
|
20
20
|
})(AppConnectionType || (exports.AppConnectionType = AppConnectionType = {}));
|
|
21
|
-
exports.AppConnectionWithoutSensitiveData = typebox_1.Type.Object(Object.assign(Object.assign({}, base_model_1.BaseModelSchema), { name: typebox_1.Type.String(), type: typebox_1.Type.Enum(AppConnectionType), appName: typebox_1.Type.String(), projectId: id_generator_1.ApId, status: typebox_1.Type.Enum(AppConnectionStatus) })
|
|
21
|
+
exports.AppConnectionWithoutSensitiveData = typebox_1.Type.Object(Object.assign(Object.assign({}, base_model_1.BaseModelSchema), { name: typebox_1.Type.String(), type: typebox_1.Type.Enum(AppConnectionType), appName: typebox_1.Type.String(), projectId: id_generator_1.ApId, status: typebox_1.Type.Enum(AppConnectionStatus) }), {
|
|
22
|
+
description: 'App connection is a connection to an external app.',
|
|
23
|
+
});
|
|
22
24
|
//# sourceMappingURL=app-connection.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"app-connection.js","sourceRoot":"","sources":["../../../../../../packages/shared/src/lib/app-connection/app-connection.ts"],"names":[],"mappings":";;;AAAA,+CAAgD;AAChD,qDAAiE;AAEjE,yDAA6C;AAK7C,IAAY,mBAGX;AAHD,WAAY,mBAAmB;IAC3B,wCAAiB,CAAA;IACjB,sCAAe,CAAA;AACnB,CAAC,EAHW,mBAAmB,mCAAnB,mBAAmB,QAG9B;AAED,IAAY,iBAOX;AAPD,WAAY,iBAAiB;IACzB,sCAAiB,CAAA;IACjB,wDAAmC,CAAA;IACnC,kDAA6B,CAAA;IAC7B,gDAA2B,CAAA;IAC3B,8CAAyB,CAAA;IACzB,gDAA2B,CAAA;AAC/B,CAAC,EAPW,iBAAiB,iCAAjB,iBAAiB,QAO5B;AAwEY,QAAA,iCAAiC,GAAG,cAAI,CAAC,MAAM,iCACrD,4BAAe,KAClB,IAAI,EAAE,cAAI,CAAC,MAAM,EAAE,EACnB,IAAI,EAAE,cAAI,CAAC,IAAI,CAAC,iBAAiB,CAAC,EAClC,OAAO,EAAE,cAAI,CAAC,MAAM,EAAE,EACtB,SAAS,EAAE,mBAAI,EACf,MAAM,EAAE,cAAI,CAAC,IAAI,CAAC,mBAAmB,CAAC,
|
|
1
|
+
{"version":3,"file":"app-connection.js","sourceRoot":"","sources":["../../../../../../packages/shared/src/lib/app-connection/app-connection.ts"],"names":[],"mappings":";;;AAAA,+CAAgD;AAChD,qDAAiE;AAEjE,yDAA6C;AAK7C,IAAY,mBAGX;AAHD,WAAY,mBAAmB;IAC3B,wCAAiB,CAAA;IACjB,sCAAe,CAAA;AACnB,CAAC,EAHW,mBAAmB,mCAAnB,mBAAmB,QAG9B;AAED,IAAY,iBAOX;AAPD,WAAY,iBAAiB;IACzB,sCAAiB,CAAA;IACjB,wDAAmC,CAAA;IACnC,kDAA6B,CAAA;IAC7B,gDAA2B,CAAA;IAC3B,8CAAyB,CAAA;IACzB,gDAA2B,CAAA;AAC/B,CAAC,EAPW,iBAAiB,iCAAjB,iBAAiB,QAO5B;AAwEY,QAAA,iCAAiC,GAAG,cAAI,CAAC,MAAM,iCACrD,4BAAe,KAClB,IAAI,EAAE,cAAI,CAAC,MAAM,EAAE,EACnB,IAAI,EAAE,cAAI,CAAC,IAAI,CAAC,iBAAiB,CAAC,EAClC,OAAO,EAAE,cAAI,CAAC,MAAM,EAAE,EACtB,SAAS,EAAE,mBAAI,EACf,MAAM,EAAE,cAAI,CAAC,IAAI,CAAC,mBAAmB,CAAC,KACvC;IACC,WAAW,EAAE,oDAAoD;CACpE,CAAC,CAAA"}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { Static } from '@sinclair/typebox';
|
|
2
2
|
export declare const ListAppConnectionsRequestQuery: import("@sinclair/typebox").TObject<{
|
|
3
3
|
cursor: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString<string>>;
|
|
4
|
+
projectId: import("@sinclair/typebox").TString<string>;
|
|
4
5
|
appName: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString<string>>;
|
|
5
6
|
limit: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
|
|
6
7
|
}>;
|
|
@@ -4,6 +4,7 @@ exports.ListAppConnectionsRequestQuery = void 0;
|
|
|
4
4
|
const typebox_1 = require("@sinclair/typebox");
|
|
5
5
|
exports.ListAppConnectionsRequestQuery = typebox_1.Type.Object({
|
|
6
6
|
cursor: typebox_1.Type.Optional(typebox_1.Type.String({})),
|
|
7
|
+
projectId: typebox_1.Type.String(),
|
|
7
8
|
appName: typebox_1.Type.Optional(typebox_1.Type.String({})),
|
|
8
9
|
limit: typebox_1.Type.Optional(typebox_1.Type.Number({})),
|
|
9
10
|
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"read-app-connection-request.js","sourceRoot":"","sources":["../../../../../../../packages/shared/src/lib/app-connection/dto/read-app-connection-request.ts"],"names":[],"mappings":";;;AAAA,+CAAgD;AAEnC,QAAA,8BAA8B,GAAG,cAAI,CAAC,MAAM,CAAC;IACtD,MAAM,EAAE,cAAI,CAAC,QAAQ,CAAC,cAAI,CAAC,MAAM,CAAC,EAAE,CAAC,CAAC;IACtC,OAAO,EAAE,cAAI,CAAC,QAAQ,CAAC,cAAI,CAAC,MAAM,CAAC,EAAE,CAAC,CAAC;IACvC,KAAK,EAAE,cAAI,CAAC,QAAQ,CAAC,cAAI,CAAC,MAAM,CAAC,EAAE,CAAC,CAAC;CACxC,CAAC,CAAA"}
|
|
1
|
+
{"version":3,"file":"read-app-connection-request.js","sourceRoot":"","sources":["../../../../../../../packages/shared/src/lib/app-connection/dto/read-app-connection-request.ts"],"names":[],"mappings":";;;AAAA,+CAAgD;AAEnC,QAAA,8BAA8B,GAAG,cAAI,CAAC,MAAM,CAAC;IACtD,MAAM,EAAE,cAAI,CAAC,QAAQ,CAAC,cAAI,CAAC,MAAM,CAAC,EAAE,CAAC,CAAC;IACtC,SAAS,EAAE,cAAI,CAAC,MAAM,EAAE;IACxB,OAAO,EAAE,cAAI,CAAC,QAAQ,CAAC,cAAI,CAAC,MAAM,CAAC,EAAE,CAAC,CAAC;IACvC,KAAK,EAAE,cAAI,CAAC,QAAQ,CAAC,cAAI,CAAC,MAAM,CAAC,EAAE,CAAC,CAAC;CACxC,CAAC,CAAA"}
|
|
@@ -13,6 +13,7 @@ export declare const UpsertCustomAuthRequest: import("@sinclair/typebox").TObjec
|
|
|
13
13
|
}>;
|
|
14
14
|
name: import("@sinclair/typebox").TString<string>;
|
|
15
15
|
appName: import("@sinclair/typebox").TString<string>;
|
|
16
|
+
projectId: import("@sinclair/typebox").TString<string>;
|
|
16
17
|
}>;
|
|
17
18
|
export declare const UpsertPlatformOAuth2Request: import("@sinclair/typebox").TObject<{
|
|
18
19
|
type: import("@sinclair/typebox").TLiteral<AppConnectionType.PLATFORM_OAUTH2>;
|
|
@@ -29,6 +30,7 @@ export declare const UpsertPlatformOAuth2Request: import("@sinclair/typebox").TO
|
|
|
29
30
|
}>;
|
|
30
31
|
name: import("@sinclair/typebox").TString<string>;
|
|
31
32
|
appName: import("@sinclair/typebox").TString<string>;
|
|
33
|
+
projectId: import("@sinclair/typebox").TString<string>;
|
|
32
34
|
}>;
|
|
33
35
|
export declare const UpsertCloudOAuth2Request: import("@sinclair/typebox").TObject<{
|
|
34
36
|
type: import("@sinclair/typebox").TLiteral<AppConnectionType.CLOUD_OAUTH2>;
|
|
@@ -44,6 +46,7 @@ export declare const UpsertCloudOAuth2Request: import("@sinclair/typebox").TObje
|
|
|
44
46
|
}>;
|
|
45
47
|
name: import("@sinclair/typebox").TString<string>;
|
|
46
48
|
appName: import("@sinclair/typebox").TString<string>;
|
|
49
|
+
projectId: import("@sinclair/typebox").TString<string>;
|
|
47
50
|
}>;
|
|
48
51
|
export declare const UpsertSecretTextRequest: import("@sinclair/typebox").TObject<{
|
|
49
52
|
type: import("@sinclair/typebox").TLiteral<AppConnectionType.SECRET_TEXT>;
|
|
@@ -53,6 +56,7 @@ export declare const UpsertSecretTextRequest: import("@sinclair/typebox").TObjec
|
|
|
53
56
|
}>;
|
|
54
57
|
name: import("@sinclair/typebox").TString<string>;
|
|
55
58
|
appName: import("@sinclair/typebox").TString<string>;
|
|
59
|
+
projectId: import("@sinclair/typebox").TString<string>;
|
|
56
60
|
}>;
|
|
57
61
|
export declare const UpsertOAuth2Request: import("@sinclair/typebox").TObject<{
|
|
58
62
|
type: import("@sinclair/typebox").TLiteral<AppConnectionType.OAUTH2>;
|
|
@@ -71,6 +75,7 @@ export declare const UpsertOAuth2Request: import("@sinclair/typebox").TObject<{
|
|
|
71
75
|
}>;
|
|
72
76
|
name: import("@sinclair/typebox").TString<string>;
|
|
73
77
|
appName: import("@sinclair/typebox").TString<string>;
|
|
78
|
+
projectId: import("@sinclair/typebox").TString<string>;
|
|
74
79
|
}>;
|
|
75
80
|
export declare const UpsertBasicAuthRequest: import("@sinclair/typebox").TObject<{
|
|
76
81
|
type: import("@sinclair/typebox").TLiteral<AppConnectionType.BASIC_AUTH>;
|
|
@@ -81,6 +86,7 @@ export declare const UpsertBasicAuthRequest: import("@sinclair/typebox").TObject
|
|
|
81
86
|
}>;
|
|
82
87
|
name: import("@sinclair/typebox").TString<string>;
|
|
83
88
|
appName: import("@sinclair/typebox").TString<string>;
|
|
89
|
+
projectId: import("@sinclair/typebox").TString<string>;
|
|
84
90
|
}>;
|
|
85
91
|
export declare const UpsertAppConnectionRequestBody: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TObject<{
|
|
86
92
|
type: import("@sinclair/typebox").TLiteral<AppConnectionType.SECRET_TEXT>;
|
|
@@ -90,6 +96,7 @@ export declare const UpsertAppConnectionRequestBody: import("@sinclair/typebox")
|
|
|
90
96
|
}>;
|
|
91
97
|
name: import("@sinclair/typebox").TString<string>;
|
|
92
98
|
appName: import("@sinclair/typebox").TString<string>;
|
|
99
|
+
projectId: import("@sinclair/typebox").TString<string>;
|
|
93
100
|
}>, import("@sinclair/typebox").TObject<{
|
|
94
101
|
type: import("@sinclair/typebox").TLiteral<AppConnectionType.OAUTH2>;
|
|
95
102
|
value: import("@sinclair/typebox").TObject<{
|
|
@@ -107,6 +114,7 @@ export declare const UpsertAppConnectionRequestBody: import("@sinclair/typebox")
|
|
|
107
114
|
}>;
|
|
108
115
|
name: import("@sinclair/typebox").TString<string>;
|
|
109
116
|
appName: import("@sinclair/typebox").TString<string>;
|
|
117
|
+
projectId: import("@sinclair/typebox").TString<string>;
|
|
110
118
|
}>, import("@sinclair/typebox").TObject<{
|
|
111
119
|
type: import("@sinclair/typebox").TLiteral<AppConnectionType.CLOUD_OAUTH2>;
|
|
112
120
|
value: import("@sinclair/typebox").TObject<{
|
|
@@ -121,6 +129,7 @@ export declare const UpsertAppConnectionRequestBody: import("@sinclair/typebox")
|
|
|
121
129
|
}>;
|
|
122
130
|
name: import("@sinclair/typebox").TString<string>;
|
|
123
131
|
appName: import("@sinclair/typebox").TString<string>;
|
|
132
|
+
projectId: import("@sinclair/typebox").TString<string>;
|
|
124
133
|
}>, import("@sinclair/typebox").TObject<{
|
|
125
134
|
type: import("@sinclair/typebox").TLiteral<AppConnectionType.PLATFORM_OAUTH2>;
|
|
126
135
|
value: import("@sinclair/typebox").TObject<{
|
|
@@ -136,6 +145,7 @@ export declare const UpsertAppConnectionRequestBody: import("@sinclair/typebox")
|
|
|
136
145
|
}>;
|
|
137
146
|
name: import("@sinclair/typebox").TString<string>;
|
|
138
147
|
appName: import("@sinclair/typebox").TString<string>;
|
|
148
|
+
projectId: import("@sinclair/typebox").TString<string>;
|
|
139
149
|
}>, import("@sinclair/typebox").TObject<{
|
|
140
150
|
type: import("@sinclair/typebox").TLiteral<AppConnectionType.BASIC_AUTH>;
|
|
141
151
|
value: import("@sinclair/typebox").TObject<{
|
|
@@ -145,6 +155,7 @@ export declare const UpsertAppConnectionRequestBody: import("@sinclair/typebox")
|
|
|
145
155
|
}>;
|
|
146
156
|
name: import("@sinclair/typebox").TString<string>;
|
|
147
157
|
appName: import("@sinclair/typebox").TString<string>;
|
|
158
|
+
projectId: import("@sinclair/typebox").TString<string>;
|
|
148
159
|
}>, import("@sinclair/typebox").TObject<{
|
|
149
160
|
type: import("@sinclair/typebox").TLiteral<AppConnectionType.CUSTOM_AUTH>;
|
|
150
161
|
value: import("@sinclair/typebox").TObject<{
|
|
@@ -153,6 +164,7 @@ export declare const UpsertAppConnectionRequestBody: import("@sinclair/typebox")
|
|
|
153
164
|
}>;
|
|
154
165
|
name: import("@sinclair/typebox").TString<string>;
|
|
155
166
|
appName: import("@sinclair/typebox").TString<string>;
|
|
167
|
+
projectId: import("@sinclair/typebox").TString<string>;
|
|
156
168
|
}>]>;
|
|
157
169
|
export type UpsertCloudOAuth2Request = Static<typeof UpsertCloudOAuth2Request>;
|
|
158
170
|
export type UpsertPlatformOAuth2Request = Static<typeof UpsertPlatformOAuth2Request>;
|
|
@@ -7,6 +7,7 @@ const oauth2_authorization_method_1 = require("../oauth2-authorization-method");
|
|
|
7
7
|
const commonAuthProps = {
|
|
8
8
|
name: typebox_1.Type.String({}),
|
|
9
9
|
appName: typebox_1.Type.String({}),
|
|
10
|
+
projectId: typebox_1.Type.String({}),
|
|
10
11
|
};
|
|
11
12
|
var OAuth2GrantType;
|
|
12
13
|
(function (OAuth2GrantType) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"upsert-app-connection-request.js","sourceRoot":"","sources":["../../../../../../../packages/shared/src/lib/app-connection/dto/upsert-app-connection-request.ts"],"names":[],"mappings":";;;AAAA,+CAAgD;AAChD,sDAAqD;AACrD,gFAA0E;AAE1E,MAAM,eAAe,GAAG;IACpB,IAAI,EAAE,cAAI,CAAC,MAAM,CAAC,EAAE,CAAC;IACrB,OAAO,EAAE,cAAI,CAAC,MAAM,CAAC,EAAE,CAAC;
|
|
1
|
+
{"version":3,"file":"upsert-app-connection-request.js","sourceRoot":"","sources":["../../../../../../../packages/shared/src/lib/app-connection/dto/upsert-app-connection-request.ts"],"names":[],"mappings":";;;AAAA,+CAAgD;AAChD,sDAAqD;AACrD,gFAA0E;AAE1E,MAAM,eAAe,GAAG;IACpB,IAAI,EAAE,cAAI,CAAC,MAAM,CAAC,EAAE,CAAC;IACrB,OAAO,EAAE,cAAI,CAAC,MAAM,CAAC,EAAE,CAAC;IACxB,SAAS,EAAE,cAAI,CAAC,MAAM,CAAC,EAAE,CAA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AAI,CAAC,MAAM,iCAC1C,eAAe,KAClB,IAAI,EAAE,cAAI,CAAC,OAAO,CAAC,kCAAiB,CAAC,UAAU,CAAC,EAChD,KAAK,EAAE,cAAI,CAAC,MAAM,CAAC;QACf,QAAQ,EAAE,cAAI,CAAC,MAAM,CAAC,EAAE,CAAC;QACzB,QAAQ,EAAE,cAAI,CAAC,MAAM,CAAC,EAAE,CAAC;QACzB,IAAI,EAAE,cAAI,CAAC,OAAO,CAAC,kCAAiB,CAAC,UAAU,CAAC;KACnD,CAAC,KACH;IACC,KAAK,EAAE,YAAY;IACnB,WAAW,EAAE,YAAY;CAC5B,CAAC,CAAA;AAEW,QAAA,8BAA8B,GAAG,cAAI,CAAC,KAAK,CAAC;IACrD,+BAAuB;IACvB,2BAAmB;IACnB,gCAAwB;IACxB,mCAA2B;IAC3B,8BAAsB;IACtB,+BAAuB;CAC1B,CAAC,CAAA"}
|
|
@@ -9,4 +9,4 @@ export declare const BaseModelSchema: {
|
|
|
9
9
|
created: import("@sinclair/typebox").TString<string>;
|
|
10
10
|
updated: import("@sinclair/typebox").TString<string>;
|
|
11
11
|
};
|
|
12
|
-
export declare const Nullable: <T extends TSchema>(schema: T) => import("@sinclair/typebox").TUnsafe<Static<T> | null
|
|
12
|
+
export declare const Nullable: <T extends TSchema>(schema: T) => import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<Static<T> | null>>;
|
|
@@ -8,6 +8,6 @@ exports.BaseModelSchema = {
|
|
|
8
8
|
updated: typebox_1.Type.String(),
|
|
9
9
|
};
|
|
10
10
|
// Used to generate valid nullable in OpenAPI Schema
|
|
11
|
-
const Nullable = (schema) => typebox_1.Type.Unsafe(Object.assign(Object.assign({}, schema), { nullable: true }));
|
|
11
|
+
const Nullable = (schema) => typebox_1.Type.Optional(typebox_1.Type.Unsafe(Object.assign(Object.assign({}, schema), { nullable: true })));
|
|
12
12
|
exports.Nullable = Nullable;
|
|
13
13
|
//# sourceMappingURL=base-model.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"base-model.js","sourceRoot":"","sources":["../../../../../../packages/shared/src/lib/common/base-model.ts"],"names":[],"mappings":";;;AAAA,+CAAyD;AAQ5C,QAAA,eAAe,GAAG;IAC3B,EAAE,EAAE,cAAI,CAAC,MAAM,EAAE;IACjB,OAAO,EAAE,cAAI,CAAC,MAAM,EAAE;IACtB,OAAO,EAAE,cAAI,CAAC,MAAM,EAAE;CACzB,CAAA;AAED,oDAAoD;AAC7C,MAAM,QAAQ,GAAG,CAAoB,MAAS,EAAE,EAAE,CAAC,cAAI,CAAC,MAAM,
|
|
1
|
+
{"version":3,"file":"base-model.js","sourceRoot":"","sources":["../../../../../../packages/shared/src/lib/common/base-model.ts"],"names":[],"mappings":";;;AAAA,+CAAyD;AAQ5C,QAAA,eAAe,GAAG;IAC3B,EAAE,EAAE,cAAI,CAAC,MAAM,EAAE;IACjB,OAAO,EAAE,cAAI,CAAC,MAAM,EAAE;IACtB,OAAO,EAAE,cAAI,CAAC,MAAM,EAAE;CACzB,CAAA;AAED,oDAAoD;AAC7C,MAAM,QAAQ,GAAG,CAAoB,MAAS,EAAE,EAAE,CAAC,cAAI,CAAC,QAAQ,CAAC,cAAI,CAAC,MAAM,iCAC5E,MAAM,KAAE,QAAQ,EAAE,IAAI,IAC3B,CAAC,CAAA;AAFU,QAAA,QAAQ,YAElB"}
|
package/src/lib/flows/flow.d.ts
CHANGED
|
@@ -4,7 +4,7 @@ import { Static } from '@sinclair/typebox';
|
|
|
4
4
|
export type FlowId = ApId;
|
|
5
5
|
export declare const Flow: import("@sinclair/typebox").TObject<{
|
|
6
6
|
projectId: import("@sinclair/typebox").TString<string>;
|
|
7
|
-
folderId: import("@sinclair/typebox").TUnsafe<string | null
|
|
7
|
+
folderId: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<string | null>>;
|
|
8
8
|
version: import("@sinclair/typebox").TObject<{
|
|
9
9
|
flowId: import("@sinclair/typebox").TString<string>;
|
|
10
10
|
displayName: import("@sinclair/typebox").TString<string>;
|