@activepieces/shared 0.29.0 → 0.30.0
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 +1 -1
- package/src/lib/app-connection/app-connection.d.ts +2 -0
- package/src/lib/app-connection/app-connection.js +1 -1
- package/src/lib/app-connection/app-connection.js.map +1 -1
- package/src/lib/app-connection/dto/upsert-app-connection-request.d.ts +21 -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/flows/flow.d.ts +1 -1
package/package.json
CHANGED
|
@@ -79,6 +79,7 @@ export type AppConnection<Type extends AppConnectionType = AppConnectionType> =
|
|
|
79
79
|
owner: UserWithMetaInformation | null;
|
|
80
80
|
value: AppConnectionValue<Type>;
|
|
81
81
|
metadata: Metadata | null;
|
|
82
|
+
pieceVersion: string;
|
|
82
83
|
};
|
|
83
84
|
export type OAuth2AppConnection = AppConnection<AppConnectionType.OAUTH2>;
|
|
84
85
|
export type SecretKeyAppConnection = AppConnection<AppConnectionType.SECRET_TEXT>;
|
|
@@ -113,6 +114,7 @@ export declare const AppConnectionWithoutSensitiveData: import("@sinclair/typebo
|
|
|
113
114
|
[x: string]: unknown;
|
|
114
115
|
} | null>>;
|
|
115
116
|
flowIds: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TUnsafe<string[] | null>>;
|
|
117
|
+
pieceVersion: import("@sinclair/typebox").TString;
|
|
116
118
|
id: import("@sinclair/typebox").TString;
|
|
117
119
|
created: import("@sinclair/typebox").TString;
|
|
118
120
|
updated: import("@sinclair/typebox").TString;
|
|
@@ -27,7 +27,7 @@ var AppConnectionType;
|
|
|
27
27
|
AppConnectionType["CUSTOM_AUTH"] = "CUSTOM_AUTH";
|
|
28
28
|
AppConnectionType["NO_AUTH"] = "NO_AUTH";
|
|
29
29
|
})(AppConnectionType || (exports.AppConnectionType = AppConnectionType = {}));
|
|
30
|
-
exports.AppConnectionWithoutSensitiveData = typebox_1.Type.Object(Object.assign(Object.assign({}, base_model_1.BaseModelSchema), { externalId: typebox_1.Type.String(), displayName: typebox_1.Type.String(), type: typebox_1.Type.Enum(AppConnectionType), pieceName: typebox_1.Type.String(), projectIds: typebox_1.Type.Array(id_generator_1.ApId), platformId: (0, base_model_1.Nullable)(typebox_1.Type.String()), scope: typebox_1.Type.Enum(AppConnectionScope), status: typebox_1.Type.Enum(AppConnectionStatus), ownerId: (0, base_model_1.Nullable)(typebox_1.Type.String()), owner: (0, base_model_1.Nullable)(user_1.UserWithMetaInformation), metadata: (0, base_model_1.Nullable)(metadata_1.Metadata), flowIds: (0, base_model_1.Nullable)(typebox_1.Type.Array(id_generator_1.ApId)) }), {
|
|
30
|
+
exports.AppConnectionWithoutSensitiveData = typebox_1.Type.Object(Object.assign(Object.assign({}, base_model_1.BaseModelSchema), { externalId: typebox_1.Type.String(), displayName: typebox_1.Type.String(), type: typebox_1.Type.Enum(AppConnectionType), pieceName: typebox_1.Type.String(), projectIds: typebox_1.Type.Array(id_generator_1.ApId), platformId: (0, base_model_1.Nullable)(typebox_1.Type.String()), scope: typebox_1.Type.Enum(AppConnectionScope), status: typebox_1.Type.Enum(AppConnectionStatus), ownerId: (0, base_model_1.Nullable)(typebox_1.Type.String()), owner: (0, base_model_1.Nullable)(user_1.UserWithMetaInformation), metadata: (0, base_model_1.Nullable)(metadata_1.Metadata), flowIds: (0, base_model_1.Nullable)(typebox_1.Type.Array(id_generator_1.ApId)), pieceVersion: typebox_1.Type.String() }), {
|
|
31
31
|
description: 'App connection is a connection to an external app.',
|
|
32
32
|
});
|
|
33
33
|
exports.AppConnectionOwners = typebox_1.Type.Object({
|
|
@@ -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,qDAA2E;AAC3E,yDAA6C;AAC7C,iDAA6C;AAC7C,kCAAiD;AAMjD,IAAY,mBAIX;AAJD,WAAY,mBAAmB;IAC3B,wCAAiB,CAAA;IACjB,0CAAmB,CAAA;IACnB,sCAAe,CAAA;AACnB,CAAC,EAJW,mBAAmB,mCAAnB,mBAAmB,QAI9B;AAED,IAAY,kBAGX;AAHD,WAAY,kBAAkB;IAC1B,yCAAmB,CAAA;IACnB,2CAAqB,CAAA;AACzB,CAAC,EAHW,kBAAkB,kCAAlB,kBAAkB,QAG7B;AAED,IAAY,iBAQX;AARD,WAAY,iBAAiB;IACzB,sCAAiB,CAAA;IACjB,wDAAmC,CAAA;IACnC,kDAA6B,CAAA;IAC7B,gDAA2B,CAAA;IAC3B,8CAAyB,CAAA;IACzB,gDAA2B,CAAA;IAC3B,wCAAmB,CAAA;AACvB,CAAC,EARW,iBAAiB,iCAAjB,iBAAiB,QAQ5B;
|
|
1
|
+
{"version":3,"file":"app-connection.js","sourceRoot":"","sources":["../../../../../../packages/shared/src/lib/app-connection/app-connection.ts"],"names":[],"mappings":";;;AAAA,+CAAgD;AAChD,qDAA2E;AAC3E,yDAA6C;AAC7C,iDAA6C;AAC7C,kCAAiD;AAMjD,IAAY,mBAIX;AAJD,WAAY,mBAAmB;IAC3B,wCAAiB,CAAA;IACjB,0CAAmB,CAAA;IACnB,sCAAe,CAAA;AACnB,CAAC,EAJW,mBAAmB,mCAAnB,mBAAmB,QAI9B;AAED,IAAY,kBAGX;AAHD,WAAY,kBAAkB;IAC1B,yCAAmB,CAAA;IACnB,2CAAqB,CAAA;AACzB,CAAC,EAHW,kBAAkB,kCAAlB,kBAAkB,QAG7B;AAED,IAAY,iBAQX;AARD,WAAY,iBAAiB;IACzB,sCAAiB,CAAA;IACjB,wDAAmC,CAAA;IACnC,kDAA6B,CAAA;IAC7B,gDAA2B,CAAA;IAC3B,8CAAyB,CAAA;IACzB,gDAA2B,CAAA;IAC3B,wCAAmB,CAAA;AACvB,CAAC,EARW,iBAAiB,iCAAjB,iBAAiB,QAQ5B;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C,OAAO,CAAC,KAAK,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,GAAG,EAAE,KAAK,CAAC,EAAE,EAAE;QAC3C,aAAa,GAAG,aAAa,CAAC,OAAO,CAAC,IAAI,GAAG,GAAG,EAAE,MAAM,CAAC,KAAK,CAAC,CAAC,CAAA;IACpE,CAAC,CAAC,CAAA;IACF,OAAO,aAAa,CAAA;AACxB,CAAC,CAAA;AATY,QAAA,qBAAqB,yBASjC"}
|
|
@@ -17,6 +17,7 @@ export declare const UpsertCustomAuthRequest: import("@sinclair/typebox").TObjec
|
|
|
17
17
|
pieceName: import("@sinclair/typebox").TString;
|
|
18
18
|
projectId: import("@sinclair/typebox").TString;
|
|
19
19
|
metadata: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TRecord<import("@sinclair/typebox").TString, import("@sinclair/typebox").TUnknown>>;
|
|
20
|
+
pieceVersion: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
20
21
|
}>;
|
|
21
22
|
export declare const UpsertNoAuthRequest: import("@sinclair/typebox").TObject<{
|
|
22
23
|
type: import("@sinclair/typebox").TLiteral<AppConnectionType.NO_AUTH>;
|
|
@@ -28,6 +29,7 @@ export declare const UpsertNoAuthRequest: import("@sinclair/typebox").TObject<{
|
|
|
28
29
|
pieceName: import("@sinclair/typebox").TString;
|
|
29
30
|
projectId: import("@sinclair/typebox").TString;
|
|
30
31
|
metadata: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TRecord<import("@sinclair/typebox").TString, import("@sinclair/typebox").TUnknown>>;
|
|
32
|
+
pieceVersion: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
31
33
|
}>;
|
|
32
34
|
export declare const UpsertPlatformOAuth2Request: import("@sinclair/typebox").TObject<{
|
|
33
35
|
type: import("@sinclair/typebox").TLiteral<AppConnectionType.PLATFORM_OAUTH2>;
|
|
@@ -46,6 +48,7 @@ export declare const UpsertPlatformOAuth2Request: import("@sinclair/typebox").TO
|
|
|
46
48
|
pieceName: import("@sinclair/typebox").TString;
|
|
47
49
|
projectId: import("@sinclair/typebox").TString;
|
|
48
50
|
metadata: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TRecord<import("@sinclair/typebox").TString, import("@sinclair/typebox").TUnknown>>;
|
|
51
|
+
pieceVersion: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
49
52
|
}>;
|
|
50
53
|
export declare const UpsertCloudOAuth2Request: import("@sinclair/typebox").TObject<{
|
|
51
54
|
type: import("@sinclair/typebox").TLiteral<AppConnectionType.CLOUD_OAUTH2>;
|
|
@@ -63,6 +66,7 @@ export declare const UpsertCloudOAuth2Request: import("@sinclair/typebox").TObje
|
|
|
63
66
|
pieceName: import("@sinclair/typebox").TString;
|
|
64
67
|
projectId: import("@sinclair/typebox").TString;
|
|
65
68
|
metadata: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TRecord<import("@sinclair/typebox").TString, import("@sinclair/typebox").TUnknown>>;
|
|
69
|
+
pieceVersion: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
66
70
|
}>;
|
|
67
71
|
export declare const UpsertSecretTextRequest: import("@sinclair/typebox").TObject<{
|
|
68
72
|
type: import("@sinclair/typebox").TLiteral<AppConnectionType.SECRET_TEXT>;
|
|
@@ -75,6 +79,7 @@ export declare const UpsertSecretTextRequest: import("@sinclair/typebox").TObjec
|
|
|
75
79
|
pieceName: import("@sinclair/typebox").TString;
|
|
76
80
|
projectId: import("@sinclair/typebox").TString;
|
|
77
81
|
metadata: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TRecord<import("@sinclair/typebox").TString, import("@sinclair/typebox").TUnknown>>;
|
|
82
|
+
pieceVersion: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
78
83
|
}>;
|
|
79
84
|
export declare const UpsertOAuth2Request: import("@sinclair/typebox").TObject<{
|
|
80
85
|
type: import("@sinclair/typebox").TLiteral<AppConnectionType.OAUTH2>;
|
|
@@ -95,6 +100,7 @@ export declare const UpsertOAuth2Request: import("@sinclair/typebox").TObject<{
|
|
|
95
100
|
pieceName: import("@sinclair/typebox").TString;
|
|
96
101
|
projectId: import("@sinclair/typebox").TString;
|
|
97
102
|
metadata: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TRecord<import("@sinclair/typebox").TString, import("@sinclair/typebox").TUnknown>>;
|
|
103
|
+
pieceVersion: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
98
104
|
}>;
|
|
99
105
|
export declare const UpsertBasicAuthRequest: import("@sinclair/typebox").TObject<{
|
|
100
106
|
type: import("@sinclair/typebox").TLiteral<AppConnectionType.BASIC_AUTH>;
|
|
@@ -108,6 +114,7 @@ export declare const UpsertBasicAuthRequest: import("@sinclair/typebox").TObject
|
|
|
108
114
|
pieceName: import("@sinclair/typebox").TString;
|
|
109
115
|
projectId: import("@sinclair/typebox").TString;
|
|
110
116
|
metadata: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TRecord<import("@sinclair/typebox").TString, import("@sinclair/typebox").TUnknown>>;
|
|
117
|
+
pieceVersion: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
111
118
|
}>;
|
|
112
119
|
export declare const UpsertAppConnectionRequestBody: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TObject<{
|
|
113
120
|
type: import("@sinclair/typebox").TLiteral<AppConnectionType.SECRET_TEXT>;
|
|
@@ -120,6 +127,7 @@ export declare const UpsertAppConnectionRequestBody: import("@sinclair/typebox")
|
|
|
120
127
|
pieceName: import("@sinclair/typebox").TString;
|
|
121
128
|
projectId: import("@sinclair/typebox").TString;
|
|
122
129
|
metadata: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TRecord<import("@sinclair/typebox").TString, import("@sinclair/typebox").TUnknown>>;
|
|
130
|
+
pieceVersion: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
123
131
|
}>, import("@sinclair/typebox").TObject<{
|
|
124
132
|
type: import("@sinclair/typebox").TLiteral<AppConnectionType.OAUTH2>;
|
|
125
133
|
value: import("@sinclair/typebox").TObject<{
|
|
@@ -139,6 +147,7 @@ export declare const UpsertAppConnectionRequestBody: import("@sinclair/typebox")
|
|
|
139
147
|
pieceName: import("@sinclair/typebox").TString;
|
|
140
148
|
projectId: import("@sinclair/typebox").TString;
|
|
141
149
|
metadata: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TRecord<import("@sinclair/typebox").TString, import("@sinclair/typebox").TUnknown>>;
|
|
150
|
+
pieceVersion: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
142
151
|
}>, import("@sinclair/typebox").TObject<{
|
|
143
152
|
type: import("@sinclair/typebox").TLiteral<AppConnectionType.CLOUD_OAUTH2>;
|
|
144
153
|
value: import("@sinclair/typebox").TObject<{
|
|
@@ -155,6 +164,7 @@ export declare const UpsertAppConnectionRequestBody: import("@sinclair/typebox")
|
|
|
155
164
|
pieceName: import("@sinclair/typebox").TString;
|
|
156
165
|
projectId: import("@sinclair/typebox").TString;
|
|
157
166
|
metadata: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TRecord<import("@sinclair/typebox").TString, import("@sinclair/typebox").TUnknown>>;
|
|
167
|
+
pieceVersion: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
158
168
|
}>, import("@sinclair/typebox").TObject<{
|
|
159
169
|
type: import("@sinclair/typebox").TLiteral<AppConnectionType.PLATFORM_OAUTH2>;
|
|
160
170
|
value: import("@sinclair/typebox").TObject<{
|
|
@@ -172,6 +182,7 @@ export declare const UpsertAppConnectionRequestBody: import("@sinclair/typebox")
|
|
|
172
182
|
pieceName: import("@sinclair/typebox").TString;
|
|
173
183
|
projectId: import("@sinclair/typebox").TString;
|
|
174
184
|
metadata: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TRecord<import("@sinclair/typebox").TString, import("@sinclair/typebox").TUnknown>>;
|
|
185
|
+
pieceVersion: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
175
186
|
}>, import("@sinclair/typebox").TObject<{
|
|
176
187
|
type: import("@sinclair/typebox").TLiteral<AppConnectionType.BASIC_AUTH>;
|
|
177
188
|
value: import("@sinclair/typebox").TObject<{
|
|
@@ -184,6 +195,7 @@ export declare const UpsertAppConnectionRequestBody: import("@sinclair/typebox")
|
|
|
184
195
|
pieceName: import("@sinclair/typebox").TString;
|
|
185
196
|
projectId: import("@sinclair/typebox").TString;
|
|
186
197
|
metadata: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TRecord<import("@sinclair/typebox").TString, import("@sinclair/typebox").TUnknown>>;
|
|
198
|
+
pieceVersion: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
187
199
|
}>, import("@sinclair/typebox").TObject<{
|
|
188
200
|
type: import("@sinclair/typebox").TLiteral<AppConnectionType.CUSTOM_AUTH>;
|
|
189
201
|
value: import("@sinclair/typebox").TObject<{
|
|
@@ -195,6 +207,7 @@ export declare const UpsertAppConnectionRequestBody: import("@sinclair/typebox")
|
|
|
195
207
|
pieceName: import("@sinclair/typebox").TString;
|
|
196
208
|
projectId: import("@sinclair/typebox").TString;
|
|
197
209
|
metadata: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TRecord<import("@sinclair/typebox").TString, import("@sinclair/typebox").TUnknown>>;
|
|
210
|
+
pieceVersion: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
198
211
|
}>, import("@sinclair/typebox").TObject<{
|
|
199
212
|
type: import("@sinclair/typebox").TLiteral<AppConnectionType.NO_AUTH>;
|
|
200
213
|
value: import("@sinclair/typebox").TObject<{
|
|
@@ -205,6 +218,7 @@ export declare const UpsertAppConnectionRequestBody: import("@sinclair/typebox")
|
|
|
205
218
|
pieceName: import("@sinclair/typebox").TString;
|
|
206
219
|
projectId: import("@sinclair/typebox").TString;
|
|
207
220
|
metadata: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TRecord<import("@sinclair/typebox").TString, import("@sinclair/typebox").TUnknown>>;
|
|
221
|
+
pieceVersion: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
208
222
|
}>]>;
|
|
209
223
|
export type UpsertCloudOAuth2Request = Static<typeof UpsertCloudOAuth2Request>;
|
|
210
224
|
export type UpsertPlatformOAuth2Request = Static<typeof UpsertPlatformOAuth2Request>;
|
|
@@ -232,6 +246,7 @@ export declare const UpsertGlobalConnectionRequestBody: import("@sinclair/typebo
|
|
|
232
246
|
}>;
|
|
233
247
|
type: import("@sinclair/typebox").TLiteral<AppConnectionType.SECRET_TEXT>;
|
|
234
248
|
pieceName: import("@sinclair/typebox").TString;
|
|
249
|
+
pieceVersion: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
235
250
|
metadata: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TIntersect<[import("@sinclair/typebox").TRecord<import("@sinclair/typebox").TString, import("@sinclair/typebox").TUnknown>, import("@sinclair/typebox").TRecord<import("@sinclair/typebox").TString, import("@sinclair/typebox").TUnknown>]>>;
|
|
236
251
|
displayName: import("@sinclair/typebox").TString;
|
|
237
252
|
scope: import("@sinclair/typebox").TLiteral<AppConnectionScope.PLATFORM>;
|
|
@@ -252,6 +267,7 @@ export declare const UpsertGlobalConnectionRequestBody: import("@sinclair/typebo
|
|
|
252
267
|
}>;
|
|
253
268
|
type: import("@sinclair/typebox").TLiteral<AppConnectionType.OAUTH2>;
|
|
254
269
|
pieceName: import("@sinclair/typebox").TString;
|
|
270
|
+
pieceVersion: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
255
271
|
metadata: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TIntersect<[import("@sinclair/typebox").TRecord<import("@sinclair/typebox").TString, import("@sinclair/typebox").TUnknown>, import("@sinclair/typebox").TRecord<import("@sinclair/typebox").TString, import("@sinclair/typebox").TUnknown>]>>;
|
|
256
272
|
displayName: import("@sinclair/typebox").TString;
|
|
257
273
|
scope: import("@sinclair/typebox").TLiteral<AppConnectionScope.PLATFORM>;
|
|
@@ -269,6 +285,7 @@ export declare const UpsertGlobalConnectionRequestBody: import("@sinclair/typebo
|
|
|
269
285
|
}>;
|
|
270
286
|
type: import("@sinclair/typebox").TLiteral<AppConnectionType.CLOUD_OAUTH2>;
|
|
271
287
|
pieceName: import("@sinclair/typebox").TString;
|
|
288
|
+
pieceVersion: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
272
289
|
metadata: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TIntersect<[import("@sinclair/typebox").TRecord<import("@sinclair/typebox").TString, import("@sinclair/typebox").TUnknown>, import("@sinclair/typebox").TRecord<import("@sinclair/typebox").TString, import("@sinclair/typebox").TUnknown>]>>;
|
|
273
290
|
displayName: import("@sinclair/typebox").TString;
|
|
274
291
|
scope: import("@sinclair/typebox").TLiteral<AppConnectionScope.PLATFORM>;
|
|
@@ -287,6 +304,7 @@ export declare const UpsertGlobalConnectionRequestBody: import("@sinclair/typebo
|
|
|
287
304
|
}>;
|
|
288
305
|
type: import("@sinclair/typebox").TLiteral<AppConnectionType.PLATFORM_OAUTH2>;
|
|
289
306
|
pieceName: import("@sinclair/typebox").TString;
|
|
307
|
+
pieceVersion: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
290
308
|
metadata: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TIntersect<[import("@sinclair/typebox").TRecord<import("@sinclair/typebox").TString, import("@sinclair/typebox").TUnknown>, import("@sinclair/typebox").TRecord<import("@sinclair/typebox").TString, import("@sinclair/typebox").TUnknown>]>>;
|
|
291
309
|
displayName: import("@sinclair/typebox").TString;
|
|
292
310
|
scope: import("@sinclair/typebox").TLiteral<AppConnectionScope.PLATFORM>;
|
|
@@ -300,6 +318,7 @@ export declare const UpsertGlobalConnectionRequestBody: import("@sinclair/typebo
|
|
|
300
318
|
}>;
|
|
301
319
|
type: import("@sinclair/typebox").TLiteral<AppConnectionType.BASIC_AUTH>;
|
|
302
320
|
pieceName: import("@sinclair/typebox").TString;
|
|
321
|
+
pieceVersion: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
303
322
|
metadata: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TIntersect<[import("@sinclair/typebox").TRecord<import("@sinclair/typebox").TString, import("@sinclair/typebox").TUnknown>, import("@sinclair/typebox").TRecord<import("@sinclair/typebox").TString, import("@sinclair/typebox").TUnknown>]>>;
|
|
304
323
|
displayName: import("@sinclair/typebox").TString;
|
|
305
324
|
scope: import("@sinclair/typebox").TLiteral<AppConnectionScope.PLATFORM>;
|
|
@@ -312,6 +331,7 @@ export declare const UpsertGlobalConnectionRequestBody: import("@sinclair/typebo
|
|
|
312
331
|
}>;
|
|
313
332
|
type: import("@sinclair/typebox").TLiteral<AppConnectionType.CUSTOM_AUTH>;
|
|
314
333
|
pieceName: import("@sinclair/typebox").TString;
|
|
334
|
+
pieceVersion: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
315
335
|
metadata: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TIntersect<[import("@sinclair/typebox").TRecord<import("@sinclair/typebox").TString, import("@sinclair/typebox").TUnknown>, import("@sinclair/typebox").TRecord<import("@sinclair/typebox").TString, import("@sinclair/typebox").TUnknown>]>>;
|
|
316
336
|
displayName: import("@sinclair/typebox").TString;
|
|
317
337
|
scope: import("@sinclair/typebox").TLiteral<AppConnectionScope.PLATFORM>;
|
|
@@ -323,6 +343,7 @@ export declare const UpsertGlobalConnectionRequestBody: import("@sinclair/typebo
|
|
|
323
343
|
}>;
|
|
324
344
|
type: import("@sinclair/typebox").TLiteral<AppConnectionType.NO_AUTH>;
|
|
325
345
|
pieceName: import("@sinclair/typebox").TString;
|
|
346
|
+
pieceVersion: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
326
347
|
metadata: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TIntersect<[import("@sinclair/typebox").TRecord<import("@sinclair/typebox").TString, import("@sinclair/typebox").TUnknown>, import("@sinclair/typebox").TRecord<import("@sinclair/typebox").TString, import("@sinclair/typebox").TUnknown>]>>;
|
|
327
348
|
displayName: import("@sinclair/typebox").TString;
|
|
328
349
|
scope: import("@sinclair/typebox").TLiteral<AppConnectionScope.PLATFORM>;
|
|
@@ -11,6 +11,7 @@ const commonAuthProps = {
|
|
|
11
11
|
pieceName: typebox_1.Type.String({}),
|
|
12
12
|
projectId: typebox_1.Type.String({}),
|
|
13
13
|
metadata: typebox_1.Type.Optional(metadata_1.Metadata),
|
|
14
|
+
pieceVersion: typebox_1.Type.Optional(typebox_1.Type.String({})),
|
|
14
15
|
};
|
|
15
16
|
exports.BOTH_CLIENT_CREDENTIALS_AND_AUTHORIZATION_CODE = 'both_client_credentials_and_authorization_code';
|
|
16
17
|
var 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,oDAAgD;AAChD,sDAAyE;AACzE,gFAA0E;AAE1E,MAAM,eAAe,GAAG;IACpB,UAAU,EAAE,cAAI,CAAC,MAAM,CAAC,EAAE,CAAC;IAC3B,WAAW,EAAE,cAAI,CAAC,MAAM,CAAC,EAAE,CAAC;IAC5B,SAAS,EAAE,cAAI,CAAC,MAAM,CAAC,EAAE,CAAC;IAC1B,SAAS,EAAE,cAAI,CAAC,MAAM,CAAC,EAAE,CAAC;IAC1B,QAAQ,EAAE,cAAI,CAAC,QAAQ,CAAC,mBAAQ,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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BAAuB,EAAE,CAAC,WAAW,EAAE,YAAY,CAAC,CAAC,EAAE,sBAAsB,CAAC,CAAC;IACzG,cAAI,CAAC,SAAS,CAAC,CAAC,cAAI,CAAC,IAAI,CAAC,2BAAmB,EAAE,CAAC,WAAW,EAAE,YAAY,CAAC,CAAC,EAAE,sBAAsB,CAAC,CAAC;CACxG,CAAC,CAAA;AAGO,QAAA,gCAAgC,GAAG,cAAI,CAAC,MAAM,CAAC;IACxD,qBAAqB,EAAE,cAAI,CAAC,MAAM,EAAE;IACpC,qBAAqB,EAAE,cAAI,CAAC,MAAM,EAAE;IACpC,SAAS,EAAE,cAAI,CAAC,MAAM,EAAE;CAC3B,CAAC,CAAA;AAGW,QAAA,sCAAsC,GAAG,cAAI,CAAC,MAAM,CAAC;IAC9D,sBAAsB,EAAE,cAAI,CAAC,KAAK,CAAC,cAAI,CAAC,MAAM,EAAE,CAAC;IACjD,SAAS,EAAE,cAAI,CAAC,MAAM,EAAE;CAC3B,CAAC,CAAA"}
|
package/src/lib/flows/flow.d.ts
CHANGED
|
@@ -107,11 +107,11 @@ export type PopulatedFlow = Static<typeof PopulatedFlow>;
|
|
|
107
107
|
export declare const PopulatedTriggerSource: import("@sinclair/typebox").TObject<{
|
|
108
108
|
type: import("@sinclair/typebox").TEnum<typeof import("../trigger").TriggerStrategy>;
|
|
109
109
|
pieceName: import("@sinclair/typebox").TString;
|
|
110
|
+
pieceVersion: import("@sinclair/typebox").TString;
|
|
110
111
|
id: import("@sinclair/typebox").TString;
|
|
111
112
|
created: import("@sinclair/typebox").TString;
|
|
112
113
|
updated: import("@sinclair/typebox").TString;
|
|
113
114
|
projectId: import("@sinclair/typebox").TString;
|
|
114
|
-
pieceVersion: import("@sinclair/typebox").TString;
|
|
115
115
|
flowId: import("@sinclair/typebox").TString;
|
|
116
116
|
flowVersionId: import("@sinclair/typebox").TString;
|
|
117
117
|
triggerName: import("@sinclair/typebox").TString;
|