@persei/perseed-api 5.0.21 → 5.0.22
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/client.cjs +678 -37
- package/dist/client.cjs.map +1 -1
- package/dist/client.mjs +678 -37
- package/dist/client.mjs.map +1 -1
- package/dist/{lib-CDM5aEJG.cjs → dates.helper-CDM5aEJG.cjs} +1 -1
- package/dist/dates.helper-CDM5aEJG.cjs.map +1 -0
- package/dist/{lib-XRCJ_UAQ.js → dates.helper-XRCJ_UAQ.js} +1 -1
- package/dist/dates.helper-XRCJ_UAQ.js.map +1 -0
- package/dist/ecosystem-action-system.cjs +42 -32
- package/dist/ecosystem-action-system.cjs.map +1 -1
- package/dist/ecosystem-action-system.mjs +42 -32
- package/dist/ecosystem-action-system.mjs.map +1 -1
- package/dist/ecosystem-container-widget.cjs +6 -6
- package/dist/ecosystem-container-widget.cjs.map +1 -1
- package/dist/ecosystem-container-widget.mjs +1 -1
- package/dist/global-dates.cjs +9 -3
- package/dist/global-dates.cjs.map +1 -1
- package/dist/global-dates.mjs +7 -1
- package/dist/global-dates.mjs.map +1 -1
- package/dist/lib/src/generated/client.d.ts +5338 -879
- package/dist/lib/src/generated/client.d.ts.map +1 -1
- package/dist/src/Services/TriggerService.d.ts.map +1 -1
- package/dist/src/config/apiPublicKey.d.ts +19 -4
- package/dist/src/config/apiPublicKey.d.ts.map +1 -1
- package/dist/src/config/apiPublicKey.test.d.ts +2 -0
- package/dist/src/config/apiPublicKey.test.d.ts.map +1 -0
- package/dist/src/constants/SeedPrivilege.d.ts +1 -0
- package/dist/src/constants/SeedPrivilege.d.ts.map +1 -1
- package/dist/src/controllers/IntrospectionController.d.ts.map +1 -1
- package/dist/src/controllers/UserController.d.ts.map +1 -1
- package/dist/src/schemas/container_widget/create_widget_payload.schema.json +1 -1
- package/dist/src/schemas/container_widget/update_widget_payload.schema.json +1 -1
- package/dist/src/schemas/container_widget/widgetTypes/PatientListProps.d.ts +2 -1
- package/dist/src/schemas/container_widget/widgetTypes/PatientListProps.d.ts.map +1 -1
- package/dist/src/test/e2e-permissions.d.ts +32 -3
- package/dist/src/test/e2e-permissions.d.ts.map +1 -1
- package/dist/src/test/test-helpers.d.ts +12 -0
- package/dist/src/test/test-helpers.d.ts.map +1 -1
- package/dist/src/v2/modules/ecosystem/action-system/action-system.helper/action-system.helper.d.ts +1 -1
- package/dist/src/v2/modules/ecosystem/action-system/action-system.helper/action-system.helper.d.ts.map +1 -1
- package/dist/src/v2/modules/ecosystem/action-system/action-system.helper/manual-trigger.helper.d.ts.map +1 -1
- package/dist/src/v2/modules/ecosystem/action-system/action-system.model.d.ts +5 -2
- package/dist/src/v2/modules/ecosystem/action-system/action-system.model.d.ts.map +1 -1
- package/dist/src/v2/modules/ecosystem/action-system/action-system.model.test.d.ts +2 -0
- package/dist/src/v2/modules/ecosystem/action-system/action-system.model.test.d.ts.map +1 -0
- package/dist/src/v2/modules/ecosystem/action-system/action-system.schema.d.ts +69 -58
- package/dist/src/v2/modules/ecosystem/action-system/action-system.schema.d.ts.map +1 -1
- package/dist/src/v2/modules/ecosystem/action-system/action-system.service/automatic-trigger.service.d.ts +14 -6
- package/dist/src/v2/modules/ecosystem/action-system/action-system.service/automatic-trigger.service.d.ts.map +1 -1
- package/dist/src/v2/modules/ecosystem/action-system/action-system.service/manual-trigger.service.d.ts +18 -10
- package/dist/src/v2/modules/ecosystem/action-system/action-system.service/manual-trigger.service.d.ts.map +1 -1
- package/dist/src/v2/modules/ecosystem/action-system/action-system.service/trigger-engine.service.d.ts +1 -0
- package/dist/src/v2/modules/ecosystem/action-system/action-system.service/trigger-engine.service.d.ts.map +1 -1
- package/dist/src/v2/modules/ecosystem/alert/alert.controller.d.ts +12 -0
- package/dist/src/v2/modules/ecosystem/alert/alert.controller.d.ts.map +1 -0
- package/dist/src/v2/modules/ecosystem/alert/alert.controller.e2e.d.ts +2 -0
- package/dist/src/v2/modules/ecosystem/alert/alert.controller.e2e.d.ts.map +1 -0
- package/dist/src/v2/modules/ecosystem/alert/alert.controller.test.d.ts +2 -0
- package/dist/src/v2/modules/ecosystem/alert/alert.controller.test.d.ts.map +1 -0
- package/dist/src/v2/modules/ecosystem/alert/alert.helper.d.ts +55 -0
- package/dist/src/v2/modules/ecosystem/alert/alert.helper.d.ts.map +1 -0
- package/dist/src/v2/modules/ecosystem/alert/alert.helper.test.d.ts +2 -0
- package/dist/src/v2/modules/ecosystem/alert/alert.helper.test.d.ts.map +1 -0
- package/dist/src/v2/modules/ecosystem/alert/alert.model.d.ts +61 -0
- package/dist/src/v2/modules/ecosystem/alert/alert.model.d.ts.map +1 -0
- package/dist/src/v2/modules/ecosystem/alert/alert.model.test.d.ts +2 -0
- package/dist/src/v2/modules/ecosystem/alert/alert.model.test.d.ts.map +1 -0
- package/dist/src/v2/modules/ecosystem/alert/alert.schema.d.ts +134 -0
- package/dist/src/v2/modules/ecosystem/alert/alert.schema.d.ts.map +1 -0
- package/dist/src/v2/modules/ecosystem/alert/alert.service.d.ts +73 -0
- package/dist/src/v2/modules/ecosystem/alert/alert.service.d.ts.map +1 -0
- package/dist/src/v2/modules/ecosystem/alert/alert.service.test.d.ts +2 -0
- package/dist/src/v2/modules/ecosystem/alert/alert.service.test.d.ts.map +1 -0
- package/dist/src/v2/modules/ecosystem/alert/index.d.ts +7 -0
- package/dist/src/v2/modules/ecosystem/alert/index.d.ts.map +1 -0
- package/dist/src/v2/modules/ecosystem/alert-type/alert-type.controller.d.ts +6 -0
- package/dist/src/v2/modules/ecosystem/alert-type/alert-type.controller.d.ts.map +1 -0
- package/dist/src/v2/modules/ecosystem/alert-type/alert-type.controller.e2e.d.ts +2 -0
- package/dist/src/v2/modules/ecosystem/alert-type/alert-type.controller.e2e.d.ts.map +1 -0
- package/dist/src/v2/modules/ecosystem/alert-type/alert-type.controller.test.d.ts +2 -0
- package/dist/src/v2/modules/ecosystem/alert-type/alert-type.controller.test.d.ts.map +1 -0
- package/dist/src/v2/modules/ecosystem/alert-type/alert-type.helper.d.ts +14 -0
- package/dist/src/v2/modules/ecosystem/alert-type/alert-type.helper.d.ts.map +1 -0
- package/dist/src/v2/modules/ecosystem/alert-type/alert-type.helper.test.d.ts +2 -0
- package/dist/src/v2/modules/ecosystem/alert-type/alert-type.helper.test.d.ts.map +1 -0
- package/dist/src/v2/modules/ecosystem/alert-type/alert-type.model.d.ts +18 -0
- package/dist/src/v2/modules/ecosystem/alert-type/alert-type.model.d.ts.map +1 -0
- package/dist/src/v2/modules/ecosystem/alert-type/alert-type.schema.d.ts +29 -0
- package/dist/src/v2/modules/ecosystem/alert-type/alert-type.schema.d.ts.map +1 -0
- package/dist/src/v2/modules/ecosystem/alert-type/alert-type.service.d.ts +38 -0
- package/dist/src/v2/modules/ecosystem/alert-type/alert-type.service.d.ts.map +1 -0
- package/dist/src/v2/modules/ecosystem/alert-type/alert-type.service.test.d.ts +2 -0
- package/dist/src/v2/modules/ecosystem/alert-type/alert-type.service.test.d.ts.map +1 -0
- package/dist/src/v2/modules/ecosystem/alert-type/index.d.ts +6 -0
- package/dist/src/v2/modules/ecosystem/alert-type/index.d.ts.map +1 -0
- package/dist/src/v2/modules/global/auth-token/auth-token.controller.d.ts.map +1 -1
- package/dist/src/v2/modules/global/dates/dates.helper.d.ts.map +1 -1
- package/dist/src/v2/modules/global/dates/dates.schema.d.ts +39 -0
- package/dist/src/v2/modules/global/dates/dates.schema.d.ts.map +1 -1
- package/dist/src/v2/modules/global/permissions/index.d.ts +2 -0
- package/dist/src/v2/modules/global/permissions/index.d.ts.map +1 -0
- package/dist/src/v2/modules/global/permissions/permissions.helper.d.ts +32 -0
- package/dist/src/v2/modules/global/permissions/permissions.helper.d.ts.map +1 -0
- package/dist/src/v2/modules/global/permissions/permissions.helper.test.d.ts +2 -0
- package/dist/src/v2/modules/global/permissions/permissions.helper.test.d.ts.map +1 -0
- package/dist/src/v2/routes/v2/ecosystem/_ecosystemName/alert/index.d.ts +3 -0
- package/dist/src/v2/routes/v2/ecosystem/_ecosystemName/alert/index.d.ts.map +1 -0
- package/dist/src/v2/routes/v2/ecosystem/_ecosystemName/alert-type/index.d.ts +3 -0
- package/dist/src/v2/routes/v2/ecosystem/_ecosystemName/alert-type/index.d.ts.map +1 -0
- package/dist/src/v2/routes/v2/ecosystem/_ecosystemName/project/_projectName/alert/index.d.ts +3 -0
- package/dist/src/v2/routes/v2/ecosystem/_ecosystemName/project/_projectName/alert/index.d.ts.map +1 -0
- package/dist/v1/perseed-api.cjs +2 -0
- package/dist/v1/perseed-api.cjs.map +1 -1
- package/dist/v1/perseed-api.mjs +2 -0
- package/dist/v1/perseed-api.mjs.map +1 -1
- package/package.json +1 -1
- package/dist/lib-CDM5aEJG.cjs.map +0 -1
- package/dist/lib-XRCJ_UAQ.js.map +0 -1
- package/dist/src/test/global-setup.d.ts +0 -2
- package/dist/src/test/global-setup.d.ts.map +0 -1
|
@@ -5,12 +5,20 @@ export declare const ConditionsFormat: {
|
|
|
5
5
|
};
|
|
6
6
|
export declare const conditionsFormatSchema: Type.TEnum<("jsonLogic" | "custom")[]>;
|
|
7
7
|
export type ConditionsFormat = Static<typeof conditionsFormatSchema>;
|
|
8
|
+
/**
|
|
9
|
+
* What a trigger binds to: a row of a model, or the data of a form.
|
|
10
|
+
*
|
|
11
|
+
* These are the two the platform emits — `emitModelAfterSave` for one, the form save for the
|
|
12
|
+
* other — and the two `resolveTargetQuery` can load an entity from. A third, `designer` (the form
|
|
13
|
+
* definition), was declared and never emitted: an automatic trigger bound to it could not fire,
|
|
14
|
+
* and a manual one answered 404 both when listing its availability and when running it, because
|
|
15
|
+
* the name of a form does not resolve through the relation-loadable models it fell back to.
|
|
16
|
+
*/
|
|
8
17
|
export declare const TriggerSource: {
|
|
9
18
|
readonly MODEL: "model";
|
|
10
|
-
readonly DESIGNER: "designer";
|
|
11
19
|
readonly DISPLAYER: "displayer";
|
|
12
20
|
};
|
|
13
|
-
export declare const triggerSourceSchema: Type.TEnum<("model" | "
|
|
21
|
+
export declare const triggerSourceSchema: Type.TEnum<("model" | "displayer")[]>;
|
|
14
22
|
export type TriggerSource = Static<typeof triggerSourceSchema>;
|
|
15
23
|
export declare const TriggerOperation: {
|
|
16
24
|
readonly CREATE: "create";
|
|
@@ -73,7 +81,7 @@ export type TriggerRelations = Static<typeof triggerRelationsSchema>;
|
|
|
73
81
|
export declare const actionSchema: Type.TObject<{
|
|
74
82
|
id: Type.TNumber;
|
|
75
83
|
project_id: Type.TOptional<Type.TUnion<[Type.TNumber, Type.TNull]>>;
|
|
76
|
-
name: Type.TString
|
|
84
|
+
name: Type.TOptional<Type.TUnion<[Type.TString, Type.TNull]>>;
|
|
77
85
|
type: Type.TEnum<"ApiAction"[]>;
|
|
78
86
|
config: Type.TUnion<[Type.TIntersect<[Type.TObject<{
|
|
79
87
|
id: Type.TString;
|
|
@@ -89,7 +97,7 @@ export declare const actionSchema: Type.TObject<{
|
|
|
89
97
|
export type ActionData = Static<typeof actionSchema>;
|
|
90
98
|
export declare const createActionSchema: Type.TObject<{
|
|
91
99
|
type: Type.TEnum<"ApiAction"[]>;
|
|
92
|
-
name: Type.TString
|
|
100
|
+
name: Type.TOptional<Type.TUnion<[Type.TString, Type.TNull]>>;
|
|
93
101
|
config: Type.TUnion<[Type.TIntersect<[Type.TObject<{
|
|
94
102
|
id: Type.TString;
|
|
95
103
|
location: Type.TOptional<Type.TString>;
|
|
@@ -104,7 +112,7 @@ export declare const createActionSchema: Type.TObject<{
|
|
|
104
112
|
export type CreateActionData = Static<typeof createActionSchema>;
|
|
105
113
|
export declare const updateActionSchema: Type.TObject<{
|
|
106
114
|
type: Type.TOptional<Type.TEnum<"ApiAction"[]>>;
|
|
107
|
-
name: Type.TOptional<Type.TString
|
|
115
|
+
name: Type.TOptional<Type.TUnion<[Type.TString, Type.TNull]>>;
|
|
108
116
|
config: Type.TOptional<Type.TUnion<[Type.TIntersect<[Type.TObject<{
|
|
109
117
|
id: Type.TString;
|
|
110
118
|
location: Type.TOptional<Type.TString>;
|
|
@@ -119,7 +127,7 @@ export declare const updateActionSchema: Type.TObject<{
|
|
|
119
127
|
export type UpdateActionData = Static<typeof updateActionSchema>;
|
|
120
128
|
export declare const triggerActionInputSchema: Type.TUnion<[Type.TNumber, Type.TObject<{
|
|
121
129
|
type: Type.TEnum<"ApiAction"[]>;
|
|
122
|
-
name: Type.TString
|
|
130
|
+
name: Type.TOptional<Type.TUnion<[Type.TString, Type.TNull]>>;
|
|
123
131
|
config: Type.TUnion<[Type.TIntersect<[Type.TObject<{
|
|
124
132
|
id: Type.TString;
|
|
125
133
|
location: Type.TOptional<Type.TString>;
|
|
@@ -132,7 +140,7 @@ export declare const triggerActionInputSchema: Type.TUnion<[Type.TNumber, Type.T
|
|
|
132
140
|
library: Type.TOptional<Type.TBoolean>;
|
|
133
141
|
}>, Type.TObject<{
|
|
134
142
|
type: Type.TOptional<Type.TEnum<"ApiAction"[]>>;
|
|
135
|
-
name: Type.TOptional<Type.TString
|
|
143
|
+
name: Type.TOptional<Type.TUnion<[Type.TString, Type.TNull]>>;
|
|
136
144
|
config: Type.TOptional<Type.TUnion<[Type.TIntersect<[Type.TObject<{
|
|
137
145
|
id: Type.TString;
|
|
138
146
|
location: Type.TOptional<Type.TString>;
|
|
@@ -148,7 +156,7 @@ export declare const triggerActionInputSchema: Type.TUnion<[Type.TNumber, Type.T
|
|
|
148
156
|
export type TriggerActionInput = Static<typeof triggerActionInputSchema>;
|
|
149
157
|
export declare const triggerActionsInputSchema: Type.TArray<Type.TUnion<[Type.TNumber, Type.TObject<{
|
|
150
158
|
type: Type.TEnum<"ApiAction"[]>;
|
|
151
|
-
name: Type.TString
|
|
159
|
+
name: Type.TOptional<Type.TUnion<[Type.TString, Type.TNull]>>;
|
|
152
160
|
config: Type.TUnion<[Type.TIntersect<[Type.TObject<{
|
|
153
161
|
id: Type.TString;
|
|
154
162
|
location: Type.TOptional<Type.TString>;
|
|
@@ -161,7 +169,7 @@ export declare const triggerActionsInputSchema: Type.TArray<Type.TUnion<[Type.TN
|
|
|
161
169
|
library: Type.TOptional<Type.TBoolean>;
|
|
162
170
|
}>, Type.TObject<{
|
|
163
171
|
type: Type.TOptional<Type.TEnum<"ApiAction"[]>>;
|
|
164
|
-
name: Type.TOptional<Type.TString
|
|
172
|
+
name: Type.TOptional<Type.TUnion<[Type.TString, Type.TNull]>>;
|
|
165
173
|
config: Type.TOptional<Type.TUnion<[Type.TIntersect<[Type.TObject<{
|
|
166
174
|
id: Type.TString;
|
|
167
175
|
location: Type.TOptional<Type.TString>;
|
|
@@ -177,7 +185,9 @@ export declare const triggerActionsInputSchema: Type.TArray<Type.TUnion<[Type.TN
|
|
|
177
185
|
export declare const automaticTriggerSchema: Type.TObject<{
|
|
178
186
|
id: Type.TNumber;
|
|
179
187
|
project_id: Type.TOptional<Type.TUnion<[Type.TNumber, Type.TNull]>>;
|
|
180
|
-
|
|
188
|
+
name: Type.TOptional<Type.TUnion<[Type.TString, Type.TNull]>>;
|
|
189
|
+
description: Type.TOptional<Type.TUnion<[Type.TString, Type.TNull]>>;
|
|
190
|
+
source: Type.TEnum<("model" | "displayer")[]>;
|
|
181
191
|
target: Type.TOptional<Type.TUnion<[Type.TString, Type.TNull]>>;
|
|
182
192
|
operation: Type.TOptional<Type.TUnion<[Type.TEnum<("delete" | "update" | "create")[]>, Type.TNull]>>;
|
|
183
193
|
conditions: Type.TOptional<Type.TUnion<[Type.TObject<{}>, Type.TNull]>>;
|
|
@@ -192,7 +202,9 @@ export declare const includeActionsQuerySchema: Type.TObject<{
|
|
|
192
202
|
includeActions: Type.TOptional<Type.TBoolean>;
|
|
193
203
|
}>;
|
|
194
204
|
export declare const createAutomaticTriggerSchema: Type.TObject<{
|
|
195
|
-
|
|
205
|
+
name: Type.TOptional<Type.TUnion<[Type.TString, Type.TNull]>>;
|
|
206
|
+
description: Type.TOptional<Type.TUnion<[Type.TString, Type.TNull]>>;
|
|
207
|
+
source: Type.TEnum<("model" | "displayer")[]>;
|
|
196
208
|
target: Type.TOptional<Type.TUnion<[Type.TString, Type.TNull]>>;
|
|
197
209
|
operation: Type.TOptional<Type.TUnion<[Type.TEnum<("delete" | "update" | "create")[]>, Type.TNull]>>;
|
|
198
210
|
conditions: Type.TOptional<Type.TUnion<[Type.TObject<{}>, Type.TNull]>>;
|
|
@@ -203,7 +215,7 @@ export declare const createAutomaticTriggerSchema: Type.TObject<{
|
|
|
203
215
|
retention_days: Type.TOptional<Type.TUnion<[Type.TNumber, Type.TNull]>>;
|
|
204
216
|
actions: Type.TOptional<Type.TArray<Type.TUnion<[Type.TNumber, Type.TObject<{
|
|
205
217
|
type: Type.TEnum<"ApiAction"[]>;
|
|
206
|
-
name: Type.TString
|
|
218
|
+
name: Type.TOptional<Type.TUnion<[Type.TString, Type.TNull]>>;
|
|
207
219
|
config: Type.TUnion<[Type.TIntersect<[Type.TObject<{
|
|
208
220
|
id: Type.TString;
|
|
209
221
|
location: Type.TOptional<Type.TString>;
|
|
@@ -216,7 +228,7 @@ export declare const createAutomaticTriggerSchema: Type.TObject<{
|
|
|
216
228
|
library: Type.TOptional<Type.TBoolean>;
|
|
217
229
|
}>, Type.TObject<{
|
|
218
230
|
type: Type.TOptional<Type.TEnum<"ApiAction"[]>>;
|
|
219
|
-
name: Type.TOptional<Type.TString
|
|
231
|
+
name: Type.TOptional<Type.TUnion<[Type.TString, Type.TNull]>>;
|
|
220
232
|
config: Type.TOptional<Type.TUnion<[Type.TIntersect<[Type.TObject<{
|
|
221
233
|
id: Type.TString;
|
|
222
234
|
location: Type.TOptional<Type.TString>;
|
|
@@ -232,7 +244,9 @@ export declare const createAutomaticTriggerSchema: Type.TObject<{
|
|
|
232
244
|
}>;
|
|
233
245
|
export type CreateAutomaticTriggerData = Static<typeof createAutomaticTriggerSchema>;
|
|
234
246
|
export declare const updateAutomaticTriggerSchema: Type.TObject<{
|
|
235
|
-
|
|
247
|
+
name: Type.TOptional<Type.TUnion<[Type.TString, Type.TNull]>>;
|
|
248
|
+
description: Type.TOptional<Type.TUnion<[Type.TString, Type.TNull]>>;
|
|
249
|
+
source: Type.TOptional<Type.TEnum<("model" | "displayer")[]>>;
|
|
236
250
|
target: Type.TOptional<Type.TUnion<[Type.TString, Type.TNull]>>;
|
|
237
251
|
operation: Type.TOptional<Type.TUnion<[Type.TEnum<("delete" | "update" | "create")[]>, Type.TNull]>>;
|
|
238
252
|
conditions: Type.TOptional<Type.TUnion<[Type.TObject<{}>, Type.TNull]>>;
|
|
@@ -243,7 +257,7 @@ export declare const updateAutomaticTriggerSchema: Type.TObject<{
|
|
|
243
257
|
retention_days: Type.TOptional<Type.TUnion<[Type.TNumber, Type.TNull]>>;
|
|
244
258
|
actions: Type.TOptional<Type.TArray<Type.TUnion<[Type.TNumber, Type.TObject<{
|
|
245
259
|
type: Type.TEnum<"ApiAction"[]>;
|
|
246
|
-
name: Type.TString
|
|
260
|
+
name: Type.TOptional<Type.TUnion<[Type.TString, Type.TNull]>>;
|
|
247
261
|
config: Type.TUnion<[Type.TIntersect<[Type.TObject<{
|
|
248
262
|
id: Type.TString;
|
|
249
263
|
location: Type.TOptional<Type.TString>;
|
|
@@ -256,7 +270,7 @@ export declare const updateAutomaticTriggerSchema: Type.TObject<{
|
|
|
256
270
|
library: Type.TOptional<Type.TBoolean>;
|
|
257
271
|
}>, Type.TObject<{
|
|
258
272
|
type: Type.TOptional<Type.TEnum<"ApiAction"[]>>;
|
|
259
|
-
name: Type.TOptional<Type.TString
|
|
273
|
+
name: Type.TOptional<Type.TUnion<[Type.TString, Type.TNull]>>;
|
|
260
274
|
config: Type.TOptional<Type.TUnion<[Type.TIntersect<[Type.TObject<{
|
|
261
275
|
id: Type.TString;
|
|
262
276
|
location: Type.TOptional<Type.TString>;
|
|
@@ -285,6 +299,7 @@ export declare const iconPositionSchema: Type.TEnum<("left" | "right")[]>;
|
|
|
285
299
|
export type IconPosition = Static<typeof iconPositionSchema>;
|
|
286
300
|
export declare const manualTriggerButtonStyleSchema: Type.TObject<{
|
|
287
301
|
text: Type.TOptional<Type.TString>;
|
|
302
|
+
tooltip: Type.TOptional<Type.TString>;
|
|
288
303
|
textColor: Type.TOptional<Type.TString>;
|
|
289
304
|
bgColor: Type.TOptional<Type.TString>;
|
|
290
305
|
icon: Type.TOptional<Type.TString>;
|
|
@@ -293,6 +308,7 @@ export declare const manualTriggerButtonStyleSchema: Type.TObject<{
|
|
|
293
308
|
export type ManualTriggerButtonStyleData = Static<typeof manualTriggerButtonStyleSchema>;
|
|
294
309
|
export declare const manualTriggerConditionalStyleSchema: Type.TIntersect<[Type.TObject<{
|
|
295
310
|
text: Type.TOptional<Type.TString>;
|
|
311
|
+
tooltip: Type.TOptional<Type.TString>;
|
|
296
312
|
textColor: Type.TOptional<Type.TString>;
|
|
297
313
|
bgColor: Type.TOptional<Type.TString>;
|
|
298
314
|
icon: Type.TOptional<Type.TString>;
|
|
@@ -315,6 +331,7 @@ export declare const manualTriggerConfigSchema: Type.TObject<{
|
|
|
315
331
|
unmatchedBehavior: Type.TOptional<Type.TEnum<("hide" | "disable")[]>>;
|
|
316
332
|
styles: Type.TOptional<Type.TObject<{
|
|
317
333
|
text: Type.TOptional<Type.TString>;
|
|
334
|
+
tooltip: Type.TOptional<Type.TString>;
|
|
318
335
|
textColor: Type.TOptional<Type.TString>;
|
|
319
336
|
bgColor: Type.TOptional<Type.TString>;
|
|
320
337
|
icon: Type.TOptional<Type.TString>;
|
|
@@ -322,6 +339,7 @@ export declare const manualTriggerConfigSchema: Type.TObject<{
|
|
|
322
339
|
}>>;
|
|
323
340
|
conditionalStyles: Type.TOptional<Type.TArray<Type.TIntersect<[Type.TObject<{
|
|
324
341
|
text: Type.TOptional<Type.TString>;
|
|
342
|
+
tooltip: Type.TOptional<Type.TString>;
|
|
325
343
|
textColor: Type.TOptional<Type.TString>;
|
|
326
344
|
bgColor: Type.TOptional<Type.TString>;
|
|
327
345
|
icon: Type.TOptional<Type.TString>;
|
|
@@ -335,8 +353,9 @@ export type ManualTriggerConfigData = Static<typeof manualTriggerConfigSchema>;
|
|
|
335
353
|
export declare const manualTriggerSchema: Type.TObject<{
|
|
336
354
|
id: Type.TNumber;
|
|
337
355
|
project_id: Type.TOptional<Type.TUnion<[Type.TNumber, Type.TNull]>>;
|
|
338
|
-
name: Type.TString
|
|
339
|
-
|
|
356
|
+
name: Type.TOptional<Type.TUnion<[Type.TString, Type.TNull]>>;
|
|
357
|
+
description: Type.TOptional<Type.TUnion<[Type.TString, Type.TNull]>>;
|
|
358
|
+
source: Type.TEnum<("model" | "displayer")[]>;
|
|
340
359
|
target: Type.TString;
|
|
341
360
|
conditions: Type.TOptional<Type.TUnion<[Type.TObject<{}>, Type.TNull]>>;
|
|
342
361
|
relations: Type.TOptional<Type.TUnion<[Type.TObject<{
|
|
@@ -348,6 +367,7 @@ export declare const manualTriggerSchema: Type.TObject<{
|
|
|
348
367
|
unmatchedBehavior: Type.TOptional<Type.TEnum<("hide" | "disable")[]>>;
|
|
349
368
|
styles: Type.TOptional<Type.TObject<{
|
|
350
369
|
text: Type.TOptional<Type.TString>;
|
|
370
|
+
tooltip: Type.TOptional<Type.TString>;
|
|
351
371
|
textColor: Type.TOptional<Type.TString>;
|
|
352
372
|
bgColor: Type.TOptional<Type.TString>;
|
|
353
373
|
icon: Type.TOptional<Type.TString>;
|
|
@@ -355,6 +375,7 @@ export declare const manualTriggerSchema: Type.TObject<{
|
|
|
355
375
|
}>>;
|
|
356
376
|
conditionalStyles: Type.TOptional<Type.TArray<Type.TIntersect<[Type.TObject<{
|
|
357
377
|
text: Type.TOptional<Type.TString>;
|
|
378
|
+
tooltip: Type.TOptional<Type.TString>;
|
|
358
379
|
textColor: Type.TOptional<Type.TString>;
|
|
359
380
|
bgColor: Type.TOptional<Type.TString>;
|
|
360
381
|
icon: Type.TOptional<Type.TString>;
|
|
@@ -367,8 +388,9 @@ export declare const manualTriggerSchema: Type.TObject<{
|
|
|
367
388
|
}>;
|
|
368
389
|
export type ManualTriggerData = Static<typeof manualTriggerSchema>;
|
|
369
390
|
export declare const createManualTriggerSchema: Type.TObject<{
|
|
370
|
-
name: Type.TString
|
|
371
|
-
|
|
391
|
+
name: Type.TOptional<Type.TUnion<[Type.TString, Type.TNull]>>;
|
|
392
|
+
description: Type.TOptional<Type.TUnion<[Type.TString, Type.TNull]>>;
|
|
393
|
+
source: Type.TEnum<("model" | "displayer")[]>;
|
|
372
394
|
target: Type.TString;
|
|
373
395
|
conditions: Type.TOptional<Type.TUnion<[Type.TObject<{}>, Type.TNull]>>;
|
|
374
396
|
relations: Type.TOptional<Type.TUnion<[Type.TObject<{
|
|
@@ -380,6 +402,7 @@ export declare const createManualTriggerSchema: Type.TObject<{
|
|
|
380
402
|
unmatchedBehavior: Type.TOptional<Type.TEnum<("hide" | "disable")[]>>;
|
|
381
403
|
styles: Type.TOptional<Type.TObject<{
|
|
382
404
|
text: Type.TOptional<Type.TString>;
|
|
405
|
+
tooltip: Type.TOptional<Type.TString>;
|
|
383
406
|
textColor: Type.TOptional<Type.TString>;
|
|
384
407
|
bgColor: Type.TOptional<Type.TString>;
|
|
385
408
|
icon: Type.TOptional<Type.TString>;
|
|
@@ -387,6 +410,7 @@ export declare const createManualTriggerSchema: Type.TObject<{
|
|
|
387
410
|
}>>;
|
|
388
411
|
conditionalStyles: Type.TOptional<Type.TArray<Type.TIntersect<[Type.TObject<{
|
|
389
412
|
text: Type.TOptional<Type.TString>;
|
|
413
|
+
tooltip: Type.TOptional<Type.TString>;
|
|
390
414
|
textColor: Type.TOptional<Type.TString>;
|
|
391
415
|
bgColor: Type.TOptional<Type.TString>;
|
|
392
416
|
icon: Type.TOptional<Type.TString>;
|
|
@@ -398,7 +422,7 @@ export declare const createManualTriggerSchema: Type.TObject<{
|
|
|
398
422
|
}>, Type.TNull]>>;
|
|
399
423
|
actions: Type.TOptional<Type.TArray<Type.TUnion<[Type.TNumber, Type.TObject<{
|
|
400
424
|
type: Type.TEnum<"ApiAction"[]>;
|
|
401
|
-
name: Type.TString
|
|
425
|
+
name: Type.TOptional<Type.TUnion<[Type.TString, Type.TNull]>>;
|
|
402
426
|
config: Type.TUnion<[Type.TIntersect<[Type.TObject<{
|
|
403
427
|
id: Type.TString;
|
|
404
428
|
location: Type.TOptional<Type.TString>;
|
|
@@ -411,7 +435,7 @@ export declare const createManualTriggerSchema: Type.TObject<{
|
|
|
411
435
|
library: Type.TOptional<Type.TBoolean>;
|
|
412
436
|
}>, Type.TObject<{
|
|
413
437
|
type: Type.TOptional<Type.TEnum<"ApiAction"[]>>;
|
|
414
|
-
name: Type.TOptional<Type.TString
|
|
438
|
+
name: Type.TOptional<Type.TUnion<[Type.TString, Type.TNull]>>;
|
|
415
439
|
config: Type.TOptional<Type.TUnion<[Type.TIntersect<[Type.TObject<{
|
|
416
440
|
id: Type.TString;
|
|
417
441
|
location: Type.TOptional<Type.TString>;
|
|
@@ -427,8 +451,9 @@ export declare const createManualTriggerSchema: Type.TObject<{
|
|
|
427
451
|
}>;
|
|
428
452
|
export type CreateManualTriggerData = Static<typeof createManualTriggerSchema>;
|
|
429
453
|
export declare const updateManualTriggerSchema: Type.TObject<{
|
|
430
|
-
name: Type.TOptional<Type.TString
|
|
431
|
-
|
|
454
|
+
name: Type.TOptional<Type.TUnion<[Type.TString, Type.TNull]>>;
|
|
455
|
+
description: Type.TOptional<Type.TUnion<[Type.TString, Type.TNull]>>;
|
|
456
|
+
source: Type.TOptional<Type.TEnum<("model" | "displayer")[]>>;
|
|
432
457
|
target: Type.TOptional<Type.TString>;
|
|
433
458
|
conditions: Type.TOptional<Type.TUnion<[Type.TObject<{}>, Type.TNull]>>;
|
|
434
459
|
relations: Type.TOptional<Type.TUnion<[Type.TObject<{
|
|
@@ -440,6 +465,7 @@ export declare const updateManualTriggerSchema: Type.TObject<{
|
|
|
440
465
|
unmatchedBehavior: Type.TOptional<Type.TEnum<("hide" | "disable")[]>>;
|
|
441
466
|
styles: Type.TOptional<Type.TObject<{
|
|
442
467
|
text: Type.TOptional<Type.TString>;
|
|
468
|
+
tooltip: Type.TOptional<Type.TString>;
|
|
443
469
|
textColor: Type.TOptional<Type.TString>;
|
|
444
470
|
bgColor: Type.TOptional<Type.TString>;
|
|
445
471
|
icon: Type.TOptional<Type.TString>;
|
|
@@ -447,6 +473,7 @@ export declare const updateManualTriggerSchema: Type.TObject<{
|
|
|
447
473
|
}>>;
|
|
448
474
|
conditionalStyles: Type.TOptional<Type.TArray<Type.TIntersect<[Type.TObject<{
|
|
449
475
|
text: Type.TOptional<Type.TString>;
|
|
476
|
+
tooltip: Type.TOptional<Type.TString>;
|
|
450
477
|
textColor: Type.TOptional<Type.TString>;
|
|
451
478
|
bgColor: Type.TOptional<Type.TString>;
|
|
452
479
|
icon: Type.TOptional<Type.TString>;
|
|
@@ -458,7 +485,7 @@ export declare const updateManualTriggerSchema: Type.TObject<{
|
|
|
458
485
|
}>, Type.TNull]>>;
|
|
459
486
|
actions: Type.TOptional<Type.TArray<Type.TUnion<[Type.TNumber, Type.TObject<{
|
|
460
487
|
type: Type.TEnum<"ApiAction"[]>;
|
|
461
|
-
name: Type.TString
|
|
488
|
+
name: Type.TOptional<Type.TUnion<[Type.TString, Type.TNull]>>;
|
|
462
489
|
config: Type.TUnion<[Type.TIntersect<[Type.TObject<{
|
|
463
490
|
id: Type.TString;
|
|
464
491
|
location: Type.TOptional<Type.TString>;
|
|
@@ -471,7 +498,7 @@ export declare const updateManualTriggerSchema: Type.TObject<{
|
|
|
471
498
|
library: Type.TOptional<Type.TBoolean>;
|
|
472
499
|
}>, Type.TObject<{
|
|
473
500
|
type: Type.TOptional<Type.TEnum<"ApiAction"[]>>;
|
|
474
|
-
name: Type.TOptional<Type.TString
|
|
501
|
+
name: Type.TOptional<Type.TUnion<[Type.TString, Type.TNull]>>;
|
|
475
502
|
config: Type.TOptional<Type.TUnion<[Type.TIntersect<[Type.TObject<{
|
|
476
503
|
id: Type.TString;
|
|
477
504
|
location: Type.TOptional<Type.TString>;
|
|
@@ -488,7 +515,7 @@ export declare const updateManualTriggerSchema: Type.TObject<{
|
|
|
488
515
|
export type UpdateManualTriggerData = Static<typeof updateManualTriggerSchema>;
|
|
489
516
|
export declare const manualTriggerAvailabilitySchema: Type.TObject<{
|
|
490
517
|
id: Type.TNumber;
|
|
491
|
-
name: Type.TString
|
|
518
|
+
name: Type.TOptional<Type.TUnion<[Type.TString, Type.TNull]>>;
|
|
492
519
|
matched: Type.TBoolean;
|
|
493
520
|
actionsCount: Type.TNumber;
|
|
494
521
|
relationsSkipped: Type.TOptional<Type.TUnion<[Type.TString, Type.TNull]>>;
|
|
@@ -498,6 +525,7 @@ export declare const manualTriggerAvailabilitySchema: Type.TObject<{
|
|
|
498
525
|
*/
|
|
499
526
|
style: Type.TOptional<Type.TObject<{
|
|
500
527
|
text: Type.TOptional<Type.TString>;
|
|
528
|
+
tooltip: Type.TOptional<Type.TString>;
|
|
501
529
|
textColor: Type.TOptional<Type.TString>;
|
|
502
530
|
bgColor: Type.TOptional<Type.TString>;
|
|
503
531
|
icon: Type.TOptional<Type.TString>;
|
|
@@ -508,7 +536,7 @@ export type ManualTriggerAvailability = Static<typeof manualTriggerAvailabilityS
|
|
|
508
536
|
export declare const manualTriggerAvailabilityListSchema: Type.TObject<{
|
|
509
537
|
results: Type.TArray<Type.TObject<{
|
|
510
538
|
id: Type.TNumber;
|
|
511
|
-
name: Type.TString
|
|
539
|
+
name: Type.TOptional<Type.TUnion<[Type.TString, Type.TNull]>>;
|
|
512
540
|
matched: Type.TBoolean;
|
|
513
541
|
actionsCount: Type.TNumber;
|
|
514
542
|
relationsSkipped: Type.TOptional<Type.TUnion<[Type.TString, Type.TNull]>>;
|
|
@@ -518,6 +546,7 @@ export declare const manualTriggerAvailabilityListSchema: Type.TObject<{
|
|
|
518
546
|
*/
|
|
519
547
|
style: Type.TOptional<Type.TObject<{
|
|
520
548
|
text: Type.TOptional<Type.TString>;
|
|
549
|
+
tooltip: Type.TOptional<Type.TString>;
|
|
521
550
|
textColor: Type.TOptional<Type.TString>;
|
|
522
551
|
bgColor: Type.TOptional<Type.TString>;
|
|
523
552
|
icon: Type.TOptional<Type.TString>;
|
|
@@ -526,7 +555,7 @@ export declare const manualTriggerAvailabilityListSchema: Type.TObject<{
|
|
|
526
555
|
}>>;
|
|
527
556
|
}>;
|
|
528
557
|
export declare const manualTriggerAvailabilityQuerySchema: Type.TObject<{
|
|
529
|
-
source: Type.TEnum<("model" | "
|
|
558
|
+
source: Type.TEnum<("model" | "displayer")[]>;
|
|
530
559
|
target: Type.TString;
|
|
531
560
|
entityId: Type.TNumber;
|
|
532
561
|
}>;
|
|
@@ -542,18 +571,6 @@ export declare const automaticTriggerActionSchema: Type.TObject<{
|
|
|
542
571
|
execution_order: Type.TNumber;
|
|
543
572
|
}>;
|
|
544
573
|
export type AutomaticTriggerActionData = Static<typeof automaticTriggerActionSchema>;
|
|
545
|
-
export declare const createAutomaticTriggerActionSchema: Type.TObject<{
|
|
546
|
-
automatic_trigger_id: Type.TNumber;
|
|
547
|
-
action_id: Type.TNumber;
|
|
548
|
-
execution_order: Type.TNumber;
|
|
549
|
-
}>;
|
|
550
|
-
export type CreateAutomaticTriggerActionData = Static<typeof createAutomaticTriggerActionSchema>;
|
|
551
|
-
export declare const updateAutomaticTriggerActionSchema: Type.TObject<{
|
|
552
|
-
automatic_trigger_id: Type.TOptional<Type.TNumber>;
|
|
553
|
-
action_id: Type.TOptional<Type.TNumber>;
|
|
554
|
-
execution_order: Type.TOptional<Type.TNumber>;
|
|
555
|
-
}>;
|
|
556
|
-
export type UpdateAutomaticTriggerActionData = Static<typeof updateAutomaticTriggerActionSchema>;
|
|
557
574
|
export declare const manualTriggerActionSchema: Type.TObject<{
|
|
558
575
|
id: Type.TNumber;
|
|
559
576
|
manual_trigger_id: Type.TNumber;
|
|
@@ -561,22 +578,12 @@ export declare const manualTriggerActionSchema: Type.TObject<{
|
|
|
561
578
|
execution_order: Type.TNumber;
|
|
562
579
|
}>;
|
|
563
580
|
export type ManualTriggerActionData = Static<typeof manualTriggerActionSchema>;
|
|
564
|
-
export declare const createManualTriggerActionSchema: Type.TObject<{
|
|
565
|
-
action_id: Type.TNumber;
|
|
566
|
-
execution_order: Type.TNumber;
|
|
567
|
-
manual_trigger_id: Type.TNumber;
|
|
568
|
-
}>;
|
|
569
|
-
export type CreateManualTriggerActionData = Static<typeof createManualTriggerActionSchema>;
|
|
570
|
-
export declare const updateManualTriggerActionSchema: Type.TObject<{
|
|
571
|
-
action_id: Type.TOptional<Type.TNumber>;
|
|
572
|
-
execution_order: Type.TOptional<Type.TNumber>;
|
|
573
|
-
manual_trigger_id: Type.TOptional<Type.TNumber>;
|
|
574
|
-
}>;
|
|
575
|
-
export type UpdateManualTriggerActionData = Static<typeof updateManualTriggerActionSchema>;
|
|
576
581
|
export declare const automaticTriggerWithActionsSchema: Type.TIntersect<[Type.TObject<{
|
|
577
582
|
id: Type.TNumber;
|
|
578
583
|
project_id: Type.TOptional<Type.TUnion<[Type.TNumber, Type.TNull]>>;
|
|
579
|
-
|
|
584
|
+
name: Type.TOptional<Type.TUnion<[Type.TString, Type.TNull]>>;
|
|
585
|
+
description: Type.TOptional<Type.TUnion<[Type.TString, Type.TNull]>>;
|
|
586
|
+
source: Type.TEnum<("model" | "displayer")[]>;
|
|
580
587
|
target: Type.TOptional<Type.TUnion<[Type.TString, Type.TNull]>>;
|
|
581
588
|
operation: Type.TOptional<Type.TUnion<[Type.TEnum<("delete" | "update" | "create")[]>, Type.TNull]>>;
|
|
582
589
|
conditions: Type.TOptional<Type.TUnion<[Type.TObject<{}>, Type.TNull]>>;
|
|
@@ -589,7 +596,7 @@ export declare const automaticTriggerWithActionsSchema: Type.TIntersect<[Type.TO
|
|
|
589
596
|
actions: Type.TOptional<Type.TArray<Type.TObject<{
|
|
590
597
|
id: Type.TNumber;
|
|
591
598
|
project_id: Type.TOptional<Type.TUnion<[Type.TNumber, Type.TNull]>>;
|
|
592
|
-
name: Type.TString
|
|
599
|
+
name: Type.TOptional<Type.TUnion<[Type.TString, Type.TNull]>>;
|
|
593
600
|
type: Type.TEnum<"ApiAction"[]>;
|
|
594
601
|
config: Type.TUnion<[Type.TIntersect<[Type.TObject<{
|
|
595
602
|
id: Type.TString;
|
|
@@ -607,8 +614,9 @@ export type AutomaticTriggerWithActionsData = Static<typeof automaticTriggerWith
|
|
|
607
614
|
export declare const manualTriggerWithActionsSchema: Type.TIntersect<[Type.TObject<{
|
|
608
615
|
id: Type.TNumber;
|
|
609
616
|
project_id: Type.TOptional<Type.TUnion<[Type.TNumber, Type.TNull]>>;
|
|
610
|
-
name: Type.TString
|
|
611
|
-
|
|
617
|
+
name: Type.TOptional<Type.TUnion<[Type.TString, Type.TNull]>>;
|
|
618
|
+
description: Type.TOptional<Type.TUnion<[Type.TString, Type.TNull]>>;
|
|
619
|
+
source: Type.TEnum<("model" | "displayer")[]>;
|
|
612
620
|
target: Type.TString;
|
|
613
621
|
conditions: Type.TOptional<Type.TUnion<[Type.TObject<{}>, Type.TNull]>>;
|
|
614
622
|
relations: Type.TOptional<Type.TUnion<[Type.TObject<{
|
|
@@ -620,6 +628,7 @@ export declare const manualTriggerWithActionsSchema: Type.TIntersect<[Type.TObje
|
|
|
620
628
|
unmatchedBehavior: Type.TOptional<Type.TEnum<("hide" | "disable")[]>>;
|
|
621
629
|
styles: Type.TOptional<Type.TObject<{
|
|
622
630
|
text: Type.TOptional<Type.TString>;
|
|
631
|
+
tooltip: Type.TOptional<Type.TString>;
|
|
623
632
|
textColor: Type.TOptional<Type.TString>;
|
|
624
633
|
bgColor: Type.TOptional<Type.TString>;
|
|
625
634
|
icon: Type.TOptional<Type.TString>;
|
|
@@ -627,6 +636,7 @@ export declare const manualTriggerWithActionsSchema: Type.TIntersect<[Type.TObje
|
|
|
627
636
|
}>>;
|
|
628
637
|
conditionalStyles: Type.TOptional<Type.TArray<Type.TIntersect<[Type.TObject<{
|
|
629
638
|
text: Type.TOptional<Type.TString>;
|
|
639
|
+
tooltip: Type.TOptional<Type.TString>;
|
|
630
640
|
textColor: Type.TOptional<Type.TString>;
|
|
631
641
|
bgColor: Type.TOptional<Type.TString>;
|
|
632
642
|
icon: Type.TOptional<Type.TString>;
|
|
@@ -640,7 +650,7 @@ export declare const manualTriggerWithActionsSchema: Type.TIntersect<[Type.TObje
|
|
|
640
650
|
actions: Type.TOptional<Type.TArray<Type.TObject<{
|
|
641
651
|
id: Type.TNumber;
|
|
642
652
|
project_id: Type.TOptional<Type.TUnion<[Type.TNumber, Type.TNull]>>;
|
|
643
|
-
name: Type.TString
|
|
653
|
+
name: Type.TOptional<Type.TUnion<[Type.TString, Type.TNull]>>;
|
|
644
654
|
type: Type.TEnum<"ApiAction"[]>;
|
|
645
655
|
config: Type.TUnion<[Type.TIntersect<[Type.TObject<{
|
|
646
656
|
id: Type.TString;
|
|
@@ -667,6 +677,7 @@ export declare const triggerExecutionResultSchema: Type.TObject<{
|
|
|
667
677
|
matched: Type.TBoolean;
|
|
668
678
|
actionsRun: Type.TNumber;
|
|
669
679
|
actionsAborted: Type.TNumber;
|
|
680
|
+
actionsFailed: Type.TNumber;
|
|
670
681
|
}>;
|
|
671
682
|
export type TriggerExecutionResult = Static<typeof triggerExecutionResultSchema>;
|
|
672
683
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"action-system.schema.d.ts","sourceRoot":"","sources":["../../../../../../../src/v2/modules/ecosystem/action-system/action-system.schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,EAAE,KAAK,OAAO,EAAE,MAAM,SAAS,CAAA;AAQpD,eAAO,MAAM,gBAAgB;;;CAGnB,CAAA;AACV,eAAO,MAAM,sBAAsB,wCAGjC,CAAA;AACF,MAAM,MAAM,gBAAgB,GAAG,MAAM,CAAC,OAAO,sBAAsB,CAAC,CAAA;AAEpE,eAAO,MAAM,aAAa
|
|
1
|
+
{"version":3,"file":"action-system.schema.d.ts","sourceRoot":"","sources":["../../../../../../../src/v2/modules/ecosystem/action-system/action-system.schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,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AAM,WAAW,uBAAuB;IACtC,EAAE,EAAE,OAAO,CAAA;IACX,IAAI,EAAE,MAAM,CAAA;IACZ,UAAU,EAAE;QAAE,IAAI,EAAE,MAAM,CAAC;QAAC,OAAO,EAAE,MAAM,CAAA;KAAE,EAAE,CAAA;IAC/C,WAAW,EAAE,MAAM,EAAE,CAAA;IACrB,cAAc,EAAE,MAAM,EAAE,CAAA;IACxB,iBAAiB,EAAE,MAAM,EAAE,CAAA;CAC5B;AAKD,MAAM,WAAW,gBAAgB;IAC/B,OAAO,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAA;IACjC,WAAW,CAAC,EAAE,MAAM,EAAE,CAAA;IACtB,OAAO,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAA;CAClC;AAED,MAAM,WAAW,qBAAqB;IACpC,SAAS,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAA;IAClC,iBAAiB,EAAE,MAAM,EAAE,CAAA;CAC5B;AAKD,eAAO,MAAM,qBAAqB;;EAGjC,CAAA;AAED,eAAO,MAAM,kBAAkB;;;;;;IAG9B,CAAA"}
|
|
@@ -5,6 +5,8 @@ import { CreateAutomaticTriggerData, UpdateAutomaticTriggerData } from '../actio
|
|
|
5
5
|
declare function listAutomaticTriggers(ctx: RequestContext, pagination: PaginatedQuery, includeActions?: boolean): Promise<import('objection').Page<AutomaticTrigger> | {
|
|
6
6
|
results: ({
|
|
7
7
|
enabled?: boolean | undefined;
|
|
8
|
+
name?: string | null | undefined;
|
|
9
|
+
description?: string | null | undefined;
|
|
8
10
|
project_id?: number | null | undefined;
|
|
9
11
|
target?: string | null | undefined;
|
|
10
12
|
conditions?: object | null | undefined;
|
|
@@ -14,15 +16,15 @@ declare function listAutomaticTriggers(ctx: RequestContext, pagination: Paginate
|
|
|
14
16
|
join?: string[] | undefined;
|
|
15
17
|
} | null | undefined;
|
|
16
18
|
id: number;
|
|
17
|
-
source: "model" | "
|
|
19
|
+
source: "model" | "displayer";
|
|
18
20
|
} & {
|
|
19
21
|
actions?: {
|
|
22
|
+
name?: string | null | undefined;
|
|
20
23
|
project_id?: number | null | undefined;
|
|
21
24
|
retention_days?: number | null | undefined;
|
|
22
25
|
library?: boolean | undefined;
|
|
23
26
|
id: number;
|
|
24
27
|
type: "ApiAction";
|
|
25
|
-
name: string;
|
|
26
28
|
config: {
|
|
27
29
|
default?: Record<string, unknown> | undefined;
|
|
28
30
|
location?: string | undefined;
|
|
@@ -37,6 +39,8 @@ declare function listAutomaticTriggers(ctx: RequestContext, pagination: Paginate
|
|
|
37
39
|
}>;
|
|
38
40
|
declare function getAutomaticTriggerById(ctx: RequestContext, id: number, includeActions?: boolean): Promise<({
|
|
39
41
|
enabled?: boolean | undefined;
|
|
42
|
+
name?: string | null | undefined;
|
|
43
|
+
description?: string | null | undefined;
|
|
40
44
|
project_id?: number | null | undefined;
|
|
41
45
|
target?: string | null | undefined;
|
|
42
46
|
conditions?: object | null | undefined;
|
|
@@ -46,15 +50,15 @@ declare function getAutomaticTriggerById(ctx: RequestContext, id: number, includ
|
|
|
46
50
|
join?: string[] | undefined;
|
|
47
51
|
} | null | undefined;
|
|
48
52
|
id: number;
|
|
49
|
-
source: "model" | "
|
|
53
|
+
source: "model" | "displayer";
|
|
50
54
|
} & {
|
|
51
55
|
actions?: {
|
|
56
|
+
name?: string | null | undefined;
|
|
52
57
|
project_id?: number | null | undefined;
|
|
53
58
|
retention_days?: number | null | undefined;
|
|
54
59
|
library?: boolean | undefined;
|
|
55
60
|
id: number;
|
|
56
61
|
type: "ApiAction";
|
|
57
|
-
name: string;
|
|
58
62
|
config: {
|
|
59
63
|
default?: Record<string, unknown> | undefined;
|
|
60
64
|
location?: string | undefined;
|
|
@@ -67,12 +71,12 @@ declare function getAutomaticTriggerById(ctx: RequestContext, id: number, includ
|
|
|
67
71
|
}) | AutomaticTrigger | undefined>;
|
|
68
72
|
declare function createAutomaticTrigger(ctx: RequestContext, data: CreateAutomaticTriggerData): Promise<AutomaticTrigger | {
|
|
69
73
|
actions: {
|
|
74
|
+
name?: string | null | undefined;
|
|
70
75
|
project_id?: number | null | undefined;
|
|
71
76
|
retention_days?: number | null | undefined;
|
|
72
77
|
library?: boolean | undefined;
|
|
73
78
|
id: number;
|
|
74
79
|
type: "ApiAction";
|
|
75
|
-
name: string;
|
|
76
80
|
config: {
|
|
77
81
|
default?: Record<string, unknown> | undefined;
|
|
78
82
|
location?: string | undefined;
|
|
@@ -83,6 +87,8 @@ declare function createAutomaticTrigger(ctx: RequestContext, data: CreateAutomat
|
|
|
83
87
|
};
|
|
84
88
|
}[];
|
|
85
89
|
project_id?: number | null;
|
|
90
|
+
name?: string | null;
|
|
91
|
+
description?: string | null;
|
|
86
92
|
source: import('../action-system.schema').TriggerSource;
|
|
87
93
|
target?: string | null;
|
|
88
94
|
operation?: import('../action-system.schema').TriggerOperation | null;
|
|
@@ -97,12 +103,12 @@ declare function createAutomaticTrigger(ctx: RequestContext, data: CreateAutomat
|
|
|
97
103
|
}>;
|
|
98
104
|
declare function updateAutomaticTrigger(ctx: RequestContext, id: number, data: UpdateAutomaticTriggerData): Promise<AutomaticTrigger | {
|
|
99
105
|
actions: {
|
|
106
|
+
name?: string | null | undefined;
|
|
100
107
|
project_id?: number | null | undefined;
|
|
101
108
|
retention_days?: number | null | undefined;
|
|
102
109
|
library?: boolean | undefined;
|
|
103
110
|
id: number;
|
|
104
111
|
type: "ApiAction";
|
|
105
|
-
name: string;
|
|
106
112
|
config: {
|
|
107
113
|
default?: Record<string, unknown> | undefined;
|
|
108
114
|
location?: string | undefined;
|
|
@@ -113,6 +119,8 @@ declare function updateAutomaticTrigger(ctx: RequestContext, id: number, data: U
|
|
|
113
119
|
};
|
|
114
120
|
}[];
|
|
115
121
|
project_id?: number | null;
|
|
122
|
+
name?: string | null;
|
|
123
|
+
description?: string | null;
|
|
116
124
|
source: import('../action-system.schema').TriggerSource;
|
|
117
125
|
target?: string | null;
|
|
118
126
|
operation?: import('../action-system.schema').TriggerOperation | null;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"automatic-trigger.service.d.ts","sourceRoot":"","sources":["../../../../../../../../src/v2/modules/ecosystem/action-system/action-system.service/automatic-trigger.service.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,cAAc,MAAM,mCAAmC,CAAA;AACnE,OAAO,EAAE,cAAc,EAAiB,MAAM,6BAA6B,CAAA;AAG3E,OAAO,EAAE,gBAAgB,EAAE,sBAAsB,EAAE,MAAM,wBAAwB,CAAA;AACjF,OAAO,KAAK,EAEV,0BAA0B,EAC1B,0BAA0B,EAC3B,MAAM,yBAAyB,CAAA;AAqBhC,iBAAe,qBAAqB,CAAC,GAAG,EAAE,cAAc,EAAE,UAAU,EAAE,cAAc,EAAE,cAAc,UAAQ
|
|
1
|
+
{"version":3,"file":"automatic-trigger.service.d.ts","sourceRoot":"","sources":["../../../../../../../../src/v2/modules/ecosystem/action-system/action-system.service/automatic-trigger.service.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,cAAc,MAAM,mCAAmC,CAAA;AACnE,OAAO,EAAE,cAAc,EAAiB,MAAM,6BAA6B,CAAA;AAG3E,OAAO,EAAE,gBAAgB,EAAE,sBAAsB,EAAE,MAAM,wBAAwB,CAAA;AACjF,OAAO,KAAK,EAEV,0BAA0B,EAC1B,0BAA0B,EAC3B,MAAM,yBAAyB,CAAA;AAqBhC,iBAAe,qBAAqB,CAAC,GAAG,EAAE,cAAc,EAAE,UAAU,EAAE,cAAc,EAAE,cAAc,UAAQ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAa3G;AAED,iBAAe,uBAAuB,CAAC,GAAG,EAAE,cAAc,EAAE,EAAE,EAAE,MAAM,EAAE,cAAc,UAAQ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;mCAW7F;AAMD,iBAAe,sBAAsB,CAAC,GAAG,EAAE,cAAc,EAAE,IAAI,EAAE,0BAA0B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAsB1F;AAyBD,iBAAe,sBAAsB,CAAC,GAAG,EAAE,cAAc,EAAE,EAAE,EAAE,MAAM,EAAE,IAAI,EAAE,0BAA0B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAsBtG;AAED,iBAAe,sBAAsB,CAAC,GAAG,EAAE,cAAc,EAAE,EAAE,EAAE,MAAM,oBAEpE;AAED,eAAO,MAAM,uBAAuB;;;;;;CAMnC,CAAA"}
|