@ampsec/platform-client 70.0.0 → 70.2.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/build/src/FilterCriteria.d.ts +82 -45
- package/build/src/dto/actionExecution.dto.d.ts +3 -2
- package/build/src/dto/agents.dto.d.ts +3 -2
- package/build/src/dto/assets.dto.d.ts +31 -10
- package/build/src/dto/base.dto.d.ts +6 -4
- package/build/src/dto/coverage.dto.d.ts +144 -106
- package/build/src/dto/customActions.dto.d.ts +32 -28
- package/build/src/dto/customScores.dto.d.ts +8 -4
- package/build/src/dto/eng/coverage.dto.d.ts +8 -8
- package/build/src/dto/findings.dto.d.ts +41 -40
- package/build/src/dto/flows.dto.d.ts +222 -179
- package/build/src/dto/notification.dto.d.ts +157 -134
- package/build/src/dto/page.dto.d.ts +5 -5
- package/build/src/dto/platform/platform.actionExecution.dto.d.ts +26 -12
- package/build/src/dto/platform/platform.agents.dto.d.ts +3 -2
- package/build/src/dto/platform/platform.customActions.dto.d.ts +36 -32
- package/build/src/dto/platform/platform.customScores.dto.d.ts +16 -9
- package/build/src/dto/platform/platform.findings.dto.d.ts +37 -34
- package/build/src/dto/platform/platform.flows.dto.d.ts +176 -136
- package/build/src/dto/platform/platform.saasAssets.dto.d.ts +29 -25
- package/build/src/dto/platform/platform.saasUsers.dto.d.ts +48 -44
- package/build/src/dto/platform/platform.tokens.dto.d.ts +21 -9
- package/build/src/dto/platform/tenant.based.dto.d.ts +6 -5
- package/build/src/dto/saasAssets.dto.d.ts +84 -58
- package/build/src/dto/saasUsers.dto.d.ts +131 -110
- package/build/src/dto/tokens.dto.d.ts +3 -2
- package/build/src/dto/users.dto.d.ts +8 -8
- package/build/src/services/contentful.service.d.ts +12 -12
- package/build/src/settings.d.ts +3 -0
- package/build/src/settings.js +3 -0
- package/build/src/settings.js.map +1 -1
- package/package.json +1 -1
- package/src/settings.ts +3 -0
|
@@ -1,6 +1,52 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
2
|
import { FlowSpecStatusKind } from '../flows.dto';
|
|
3
|
-
export declare const _PlatformFlowSpecUpsertDto: z.ZodObject<{
|
|
3
|
+
export declare const _PlatformFlowSpecUpsertDto: z.ZodObject<z.objectUtil.extendShape<Omit<z.objectUtil.extendShape<{
|
|
4
|
+
id: z.ZodString;
|
|
5
|
+
createdAt: z.ZodString;
|
|
6
|
+
updatedAt: z.ZodString;
|
|
7
|
+
deletedAt: z.ZodNullable<z.ZodString>;
|
|
8
|
+
}, {
|
|
9
|
+
id: z.ZodString;
|
|
10
|
+
tid: z.ZodString;
|
|
11
|
+
status: z.ZodNativeEnum<typeof FlowSpecStatusKind>;
|
|
12
|
+
name: z.ZodString;
|
|
13
|
+
description: z.ZodString;
|
|
14
|
+
fslStrategy: z.ZodDefault<z.ZodOptional<z.ZodEnum<["STANDARD"]>>>;
|
|
15
|
+
triggerFilter: z.ZodObject<{
|
|
16
|
+
trigger: z.ZodArray<z.ZodObject<{
|
|
17
|
+
id: z.ZodString;
|
|
18
|
+
displayValue: z.ZodString;
|
|
19
|
+
cid: z.ZodOptional<z.ZodString>;
|
|
20
|
+
eventType: z.ZodString;
|
|
21
|
+
}, "strip", z.ZodTypeAny, {
|
|
22
|
+
id: string;
|
|
23
|
+
displayValue: string;
|
|
24
|
+
eventType: string;
|
|
25
|
+
cid?: string | undefined;
|
|
26
|
+
}, {
|
|
27
|
+
id: string;
|
|
28
|
+
displayValue: string;
|
|
29
|
+
eventType: string;
|
|
30
|
+
cid?: string | undefined;
|
|
31
|
+
}>, "many">;
|
|
32
|
+
custom: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
33
|
+
}, "strip", z.ZodTypeAny, {
|
|
34
|
+
trigger: {
|
|
35
|
+
id: string;
|
|
36
|
+
displayValue: string;
|
|
37
|
+
eventType: string;
|
|
38
|
+
cid?: string | undefined;
|
|
39
|
+
}[];
|
|
40
|
+
custom?: Record<string, unknown> | undefined;
|
|
41
|
+
}, {
|
|
42
|
+
trigger: {
|
|
43
|
+
id: string;
|
|
44
|
+
displayValue: string;
|
|
45
|
+
eventType: string;
|
|
46
|
+
cid?: string | undefined;
|
|
47
|
+
}[];
|
|
48
|
+
custom?: Record<string, unknown> | undefined;
|
|
49
|
+
}>;
|
|
4
50
|
filter: z.ZodObject<{
|
|
5
51
|
cohorts: z.ZodArray<z.ZodOptional<z.ZodObject<{
|
|
6
52
|
id: z.ZodString;
|
|
@@ -41,46 +87,6 @@ export declare const _PlatformFlowSpecUpsertDto: z.ZodObject<{
|
|
|
41
87
|
} | undefined)[];
|
|
42
88
|
custom?: Record<string, unknown> | undefined;
|
|
43
89
|
}>;
|
|
44
|
-
name: z.ZodString;
|
|
45
|
-
description: z.ZodString;
|
|
46
|
-
status: z.ZodNativeEnum<typeof FlowSpecStatusKind>;
|
|
47
|
-
tid: z.ZodString;
|
|
48
|
-
fslStrategy: z.ZodDefault<z.ZodOptional<z.ZodEnum<["STANDARD"]>>>;
|
|
49
|
-
triggerFilter: z.ZodObject<{
|
|
50
|
-
trigger: z.ZodArray<z.ZodObject<{
|
|
51
|
-
id: z.ZodString;
|
|
52
|
-
displayValue: z.ZodString;
|
|
53
|
-
cid: z.ZodOptional<z.ZodString>;
|
|
54
|
-
eventType: z.ZodString;
|
|
55
|
-
}, "strip", z.ZodTypeAny, {
|
|
56
|
-
id: string;
|
|
57
|
-
displayValue: string;
|
|
58
|
-
eventType: string;
|
|
59
|
-
cid?: string | undefined;
|
|
60
|
-
}, {
|
|
61
|
-
id: string;
|
|
62
|
-
displayValue: string;
|
|
63
|
-
eventType: string;
|
|
64
|
-
cid?: string | undefined;
|
|
65
|
-
}>, "many">;
|
|
66
|
-
custom: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
67
|
-
}, "strip", z.ZodTypeAny, {
|
|
68
|
-
trigger: {
|
|
69
|
-
id: string;
|
|
70
|
-
displayValue: string;
|
|
71
|
-
eventType: string;
|
|
72
|
-
cid?: string | undefined;
|
|
73
|
-
}[];
|
|
74
|
-
custom?: Record<string, unknown> | undefined;
|
|
75
|
-
}, {
|
|
76
|
-
trigger: {
|
|
77
|
-
id: string;
|
|
78
|
-
displayValue: string;
|
|
79
|
-
eventType: string;
|
|
80
|
-
cid?: string | undefined;
|
|
81
|
-
}[];
|
|
82
|
-
custom?: Record<string, unknown> | undefined;
|
|
83
|
-
}>;
|
|
84
90
|
engagementChannelCids: z.ZodArray<z.ZodString, "many">;
|
|
85
91
|
tone: z.ZodOptional<z.ZodObject<{
|
|
86
92
|
kind: z.ZodOptional<z.ZodString>;
|
|
@@ -274,11 +280,25 @@ export declare const _PlatformFlowSpecUpsertDto: z.ZodObject<{
|
|
|
274
280
|
}, {
|
|
275
281
|
required: boolean;
|
|
276
282
|
}>>;
|
|
283
|
+
activity: z.ZodOptional<z.ZodObject<{
|
|
284
|
+
lastTriggered: z.ZodOptional<z.ZodString>;
|
|
285
|
+
activeCount: z.ZodDefault<z.ZodNumber>;
|
|
286
|
+
totalCount: z.ZodDefault<z.ZodNumber>;
|
|
287
|
+
}, "strip", z.ZodTypeAny, {
|
|
288
|
+
totalCount: number;
|
|
289
|
+
activeCount: number;
|
|
290
|
+
lastTriggered?: string | undefined;
|
|
291
|
+
}, {
|
|
292
|
+
totalCount?: number | undefined;
|
|
293
|
+
lastTriggered?: string | undefined;
|
|
294
|
+
activeCount?: number | undefined;
|
|
295
|
+
}>>;
|
|
296
|
+
}>, "activity">, {
|
|
277
297
|
id: z.ZodOptional<z.ZodString>;
|
|
278
298
|
createdAt: z.ZodOptional<z.ZodString>;
|
|
279
299
|
updatedAt: z.ZodOptional<z.ZodString>;
|
|
280
300
|
deletedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
281
|
-
}
|
|
301
|
+
}>, "strip", z.ZodTypeAny, {
|
|
282
302
|
filter: {
|
|
283
303
|
cohorts: ({
|
|
284
304
|
inclusive: boolean;
|
|
@@ -290,8 +310,8 @@ export declare const _PlatformFlowSpecUpsertDto: z.ZodObject<{
|
|
|
290
310
|
custom?: Record<string, unknown> | undefined;
|
|
291
311
|
};
|
|
292
312
|
name: string;
|
|
293
|
-
description: string;
|
|
294
313
|
status: FlowSpecStatusKind;
|
|
314
|
+
description: string;
|
|
295
315
|
tid: string;
|
|
296
316
|
fslStrategy: "STANDARD";
|
|
297
317
|
triggerFilter: {
|
|
@@ -304,6 +324,10 @@ export declare const _PlatformFlowSpecUpsertDto: z.ZodObject<{
|
|
|
304
324
|
custom?: Record<string, unknown> | undefined;
|
|
305
325
|
};
|
|
306
326
|
engagementChannelCids: string[];
|
|
327
|
+
id?: string | undefined;
|
|
328
|
+
createdAt?: string | undefined;
|
|
329
|
+
updatedAt?: string | undefined;
|
|
330
|
+
deletedAt?: string | null | undefined;
|
|
307
331
|
tone?: {
|
|
308
332
|
kind?: string | undefined;
|
|
309
333
|
} | undefined;
|
|
@@ -364,10 +388,6 @@ export declare const _PlatformFlowSpecUpsertDto: z.ZodObject<{
|
|
|
364
388
|
scheduleConfig?: {
|
|
365
389
|
required: boolean;
|
|
366
390
|
} | undefined;
|
|
367
|
-
id?: string | undefined;
|
|
368
|
-
createdAt?: string | undefined;
|
|
369
|
-
updatedAt?: string | undefined;
|
|
370
|
-
deletedAt?: string | null | undefined;
|
|
371
391
|
}, {
|
|
372
392
|
filter: {
|
|
373
393
|
cohorts: ({
|
|
@@ -380,8 +400,8 @@ export declare const _PlatformFlowSpecUpsertDto: z.ZodObject<{
|
|
|
380
400
|
custom?: Record<string, unknown> | undefined;
|
|
381
401
|
};
|
|
382
402
|
name: string;
|
|
383
|
-
description: string;
|
|
384
403
|
status: FlowSpecStatusKind;
|
|
404
|
+
description: string;
|
|
385
405
|
tid: string;
|
|
386
406
|
triggerFilter: {
|
|
387
407
|
trigger: {
|
|
@@ -393,6 +413,10 @@ export declare const _PlatformFlowSpecUpsertDto: z.ZodObject<{
|
|
|
393
413
|
custom?: Record<string, unknown> | undefined;
|
|
394
414
|
};
|
|
395
415
|
engagementChannelCids: string[];
|
|
416
|
+
id?: string | undefined;
|
|
417
|
+
createdAt?: string | undefined;
|
|
418
|
+
updatedAt?: string | undefined;
|
|
419
|
+
deletedAt?: string | null | undefined;
|
|
396
420
|
fslStrategy?: "STANDARD" | undefined;
|
|
397
421
|
tone?: {
|
|
398
422
|
kind?: string | undefined;
|
|
@@ -454,16 +478,14 @@ export declare const _PlatformFlowSpecUpsertDto: z.ZodObject<{
|
|
|
454
478
|
scheduleConfig?: {
|
|
455
479
|
required: boolean;
|
|
456
480
|
} | undefined;
|
|
457
|
-
id?: string | undefined;
|
|
458
|
-
createdAt?: string | undefined;
|
|
459
|
-
updatedAt?: string | undefined;
|
|
460
|
-
deletedAt?: string | null | undefined;
|
|
461
481
|
}>;
|
|
462
482
|
export type PlatformFlowSpecUpsertDto = z.infer<typeof _PlatformFlowSpecUpsertDto>;
|
|
463
|
-
export declare const _PlatformFlowSpecDto: z.ZodObject<{
|
|
483
|
+
export declare const _PlatformFlowSpecDto: z.ZodObject<z.objectUtil.extendShape<{
|
|
484
|
+
id: z.ZodString;
|
|
464
485
|
createdAt: z.ZodString;
|
|
465
486
|
updatedAt: z.ZodString;
|
|
466
487
|
deletedAt: z.ZodNullable<z.ZodString>;
|
|
488
|
+
}, {
|
|
467
489
|
id: z.ZodString;
|
|
468
490
|
tid: z.ZodString;
|
|
469
491
|
status: z.ZodNativeEnum<typeof FlowSpecStatusKind>;
|
|
@@ -747,11 +769,11 @@ export declare const _PlatformFlowSpecDto: z.ZodObject<{
|
|
|
747
769
|
activeCount: number;
|
|
748
770
|
lastTriggered?: string | undefined;
|
|
749
771
|
}, {
|
|
772
|
+
totalCount?: number | undefined;
|
|
750
773
|
lastTriggered?: string | undefined;
|
|
751
774
|
activeCount?: number | undefined;
|
|
752
|
-
totalCount?: number | undefined;
|
|
753
775
|
}>>;
|
|
754
|
-
}
|
|
776
|
+
}>, "strip", z.ZodTypeAny, {
|
|
755
777
|
filter: {
|
|
756
778
|
cohorts: ({
|
|
757
779
|
inclusive: boolean;
|
|
@@ -763,8 +785,8 @@ export declare const _PlatformFlowSpecDto: z.ZodObject<{
|
|
|
763
785
|
custom?: Record<string, unknown> | undefined;
|
|
764
786
|
};
|
|
765
787
|
name: string;
|
|
766
|
-
description: string;
|
|
767
788
|
status: FlowSpecStatusKind;
|
|
789
|
+
description: string;
|
|
768
790
|
id: string;
|
|
769
791
|
tid: string;
|
|
770
792
|
createdAt: string;
|
|
@@ -858,8 +880,8 @@ export declare const _PlatformFlowSpecDto: z.ZodObject<{
|
|
|
858
880
|
custom?: Record<string, unknown> | undefined;
|
|
859
881
|
};
|
|
860
882
|
name: string;
|
|
861
|
-
description: string;
|
|
862
883
|
status: FlowSpecStatusKind;
|
|
884
|
+
description: string;
|
|
863
885
|
id: string;
|
|
864
886
|
tid: string;
|
|
865
887
|
createdAt: string;
|
|
@@ -937,19 +959,24 @@ export declare const _PlatformFlowSpecDto: z.ZodObject<{
|
|
|
937
959
|
required: boolean;
|
|
938
960
|
} | undefined;
|
|
939
961
|
activity?: {
|
|
962
|
+
totalCount?: number | undefined;
|
|
940
963
|
lastTriggered?: string | undefined;
|
|
941
964
|
activeCount?: number | undefined;
|
|
942
|
-
totalCount?: number | undefined;
|
|
943
965
|
} | undefined;
|
|
944
966
|
}>;
|
|
945
967
|
export type PlatformFlowSpecDto = z.infer<typeof _PlatformFlowSpecDto>;
|
|
946
|
-
export declare const _PlatformFlowStateUpsertDto: z.ZodObject<{
|
|
947
|
-
|
|
968
|
+
export declare const _PlatformFlowStateUpsertDto: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
969
|
+
id: z.ZodString;
|
|
970
|
+
createdAt: z.ZodString;
|
|
971
|
+
updatedAt: z.ZodString;
|
|
972
|
+
deletedAt: z.ZodNullable<z.ZodString>;
|
|
973
|
+
}, {
|
|
974
|
+
specId: z.ZodOptional<z.ZodString>;
|
|
948
975
|
uid: z.ZodOptional<z.ZodString>;
|
|
949
976
|
fid: z.ZodOptional<z.ZodString>;
|
|
950
|
-
|
|
951
|
-
specId: z.ZodOptional<z.ZodString>;
|
|
977
|
+
status: z.ZodEnum<["RUNNING", "ERROR", "SUCCESS", "CANCELLED", "EXPIRED"]>;
|
|
952
978
|
specStatus: z.ZodOptional<z.ZodNativeEnum<typeof FlowSpecStatusKind>>;
|
|
979
|
+
nodeName: z.ZodString;
|
|
953
980
|
totalSteps: z.ZodNumber;
|
|
954
981
|
currentStep: z.ZodNumber;
|
|
955
982
|
endTime: z.ZodNullable<z.ZodString>;
|
|
@@ -957,18 +984,21 @@ export declare const _PlatformFlowStateUpsertDto: z.ZodObject<{
|
|
|
957
984
|
nodeName: z.ZodString;
|
|
958
985
|
ts: z.ZodNumber;
|
|
959
986
|
e: z.ZodObject<{
|
|
987
|
+
type: z.ZodOptional<z.ZodString>;
|
|
960
988
|
tid: z.ZodOptional<z.ZodString>;
|
|
961
989
|
kind: z.ZodOptional<z.ZodString>;
|
|
990
|
+
payload: z.ZodOptional<z.ZodOptional<z.ZodUnknown>>;
|
|
991
|
+
correlationId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
962
992
|
fid: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
963
993
|
user: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
|
964
994
|
uid: z.ZodOptional<z.ZodString>;
|
|
965
995
|
email: z.ZodOptional<z.ZodString>;
|
|
966
996
|
}, "strip", z.ZodTypeAny, {
|
|
967
|
-
uid?: string | undefined;
|
|
968
997
|
email?: string | undefined;
|
|
969
|
-
}, {
|
|
970
998
|
uid?: string | undefined;
|
|
999
|
+
}, {
|
|
971
1000
|
email?: string | undefined;
|
|
1001
|
+
uid?: string | undefined;
|
|
972
1002
|
}>>>;
|
|
973
1003
|
device: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
|
974
1004
|
aid: z.ZodOptional<z.ZodString>;
|
|
@@ -983,100 +1013,103 @@ export declare const _PlatformFlowStateUpsertDto: z.ZodObject<{
|
|
|
983
1013
|
sn?: string | undefined;
|
|
984
1014
|
mac?: string | undefined;
|
|
985
1015
|
}>>>;
|
|
986
|
-
type: z.ZodOptional<z.ZodString>;
|
|
987
1016
|
flowId: z.ZodOptional<z.ZodString>;
|
|
988
|
-
correlationId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
989
|
-
payload: z.ZodOptional<z.ZodOptional<z.ZodUnknown>>;
|
|
990
1017
|
error: z.ZodOptional<z.ZodOptional<z.ZodUnknown>>;
|
|
991
1018
|
}, "strip", z.ZodTypeAny, {
|
|
1019
|
+
type?: string | undefined;
|
|
992
1020
|
tid?: string | undefined;
|
|
993
1021
|
kind?: string | undefined;
|
|
1022
|
+
payload?: unknown;
|
|
1023
|
+
correlationId?: string | undefined;
|
|
994
1024
|
fid?: string | undefined;
|
|
995
1025
|
user?: {
|
|
996
|
-
uid?: string | undefined;
|
|
997
1026
|
email?: string | undefined;
|
|
1027
|
+
uid?: string | undefined;
|
|
998
1028
|
} | undefined;
|
|
999
1029
|
device?: {
|
|
1000
1030
|
aid?: string | undefined;
|
|
1001
1031
|
sn?: string | undefined;
|
|
1002
1032
|
mac?: string | undefined;
|
|
1003
1033
|
} | undefined;
|
|
1004
|
-
type?: string | undefined;
|
|
1005
1034
|
flowId?: string | undefined;
|
|
1006
|
-
correlationId?: string | undefined;
|
|
1007
|
-
payload?: unknown;
|
|
1008
1035
|
error?: unknown;
|
|
1009
1036
|
}, {
|
|
1037
|
+
type?: string | undefined;
|
|
1010
1038
|
tid?: string | undefined;
|
|
1011
1039
|
kind?: string | undefined;
|
|
1040
|
+
payload?: unknown;
|
|
1041
|
+
correlationId?: string | undefined;
|
|
1012
1042
|
fid?: string | undefined;
|
|
1013
1043
|
user?: {
|
|
1014
|
-
uid?: string | undefined;
|
|
1015
1044
|
email?: string | undefined;
|
|
1045
|
+
uid?: string | undefined;
|
|
1016
1046
|
} | undefined;
|
|
1017
1047
|
device?: {
|
|
1018
1048
|
aid?: string | undefined;
|
|
1019
1049
|
sn?: string | undefined;
|
|
1020
1050
|
mac?: string | undefined;
|
|
1021
1051
|
} | undefined;
|
|
1022
|
-
type?: string | undefined;
|
|
1023
1052
|
flowId?: string | undefined;
|
|
1024
|
-
correlationId?: string | undefined;
|
|
1025
|
-
payload?: unknown;
|
|
1026
1053
|
error?: unknown;
|
|
1027
1054
|
}>;
|
|
1028
1055
|
}, "strip", z.ZodTypeAny, {
|
|
1029
1056
|
nodeName: string;
|
|
1030
1057
|
ts: number;
|
|
1031
1058
|
e: {
|
|
1059
|
+
type?: string | undefined;
|
|
1032
1060
|
tid?: string | undefined;
|
|
1033
1061
|
kind?: string | undefined;
|
|
1062
|
+
payload?: unknown;
|
|
1063
|
+
correlationId?: string | undefined;
|
|
1034
1064
|
fid?: string | undefined;
|
|
1035
1065
|
user?: {
|
|
1036
|
-
uid?: string | undefined;
|
|
1037
1066
|
email?: string | undefined;
|
|
1067
|
+
uid?: string | undefined;
|
|
1038
1068
|
} | undefined;
|
|
1039
1069
|
device?: {
|
|
1040
1070
|
aid?: string | undefined;
|
|
1041
1071
|
sn?: string | undefined;
|
|
1042
1072
|
mac?: string | undefined;
|
|
1043
1073
|
} | undefined;
|
|
1044
|
-
type?: string | undefined;
|
|
1045
1074
|
flowId?: string | undefined;
|
|
1046
|
-
correlationId?: string | undefined;
|
|
1047
|
-
payload?: unknown;
|
|
1048
1075
|
error?: unknown;
|
|
1049
1076
|
};
|
|
1050
1077
|
}, {
|
|
1051
1078
|
nodeName: string;
|
|
1052
1079
|
ts: number;
|
|
1053
1080
|
e: {
|
|
1081
|
+
type?: string | undefined;
|
|
1054
1082
|
tid?: string | undefined;
|
|
1055
1083
|
kind?: string | undefined;
|
|
1084
|
+
payload?: unknown;
|
|
1085
|
+
correlationId?: string | undefined;
|
|
1056
1086
|
fid?: string | undefined;
|
|
1057
1087
|
user?: {
|
|
1058
|
-
uid?: string | undefined;
|
|
1059
1088
|
email?: string | undefined;
|
|
1089
|
+
uid?: string | undefined;
|
|
1060
1090
|
} | undefined;
|
|
1061
1091
|
device?: {
|
|
1062
1092
|
aid?: string | undefined;
|
|
1063
1093
|
sn?: string | undefined;
|
|
1064
1094
|
mac?: string | undefined;
|
|
1065
1095
|
} | undefined;
|
|
1066
|
-
type?: string | undefined;
|
|
1067
1096
|
flowId?: string | undefined;
|
|
1068
|
-
correlationId?: string | undefined;
|
|
1069
|
-
payload?: unknown;
|
|
1070
1097
|
error?: unknown;
|
|
1071
1098
|
};
|
|
1072
1099
|
}>, "many">;
|
|
1073
1100
|
bucketKey: z.ZodOptional<z.ZodString>;
|
|
1101
|
+
}>, {
|
|
1074
1102
|
id: z.ZodOptional<z.ZodString>;
|
|
1075
1103
|
createdAt: z.ZodOptional<z.ZodString>;
|
|
1076
1104
|
updatedAt: z.ZodOptional<z.ZodString>;
|
|
1077
1105
|
deletedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1106
|
+
}>, {
|
|
1107
|
+
id: z.ZodOptional<z.ZodString>;
|
|
1078
1108
|
tid: z.ZodOptional<z.ZodString>;
|
|
1079
|
-
|
|
1109
|
+
createdAt: z.ZodOptional<z.ZodString>;
|
|
1110
|
+
updatedAt: z.ZodOptional<z.ZodString>;
|
|
1111
|
+
deletedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1112
|
+
}>, "strip", z.ZodTypeAny, {
|
|
1080
1113
|
status: "RUNNING" | "SUCCESS" | "ERROR" | "CANCELLED" | "EXPIRED";
|
|
1081
1114
|
nodeName: string;
|
|
1082
1115
|
totalSteps: number;
|
|
@@ -1086,35 +1119,35 @@ export declare const _PlatformFlowStateUpsertDto: z.ZodObject<{
|
|
|
1086
1119
|
nodeName: string;
|
|
1087
1120
|
ts: number;
|
|
1088
1121
|
e: {
|
|
1122
|
+
type?: string | undefined;
|
|
1089
1123
|
tid?: string | undefined;
|
|
1090
1124
|
kind?: string | undefined;
|
|
1125
|
+
payload?: unknown;
|
|
1126
|
+
correlationId?: string | undefined;
|
|
1091
1127
|
fid?: string | undefined;
|
|
1092
1128
|
user?: {
|
|
1093
|
-
uid?: string | undefined;
|
|
1094
1129
|
email?: string | undefined;
|
|
1130
|
+
uid?: string | undefined;
|
|
1095
1131
|
} | undefined;
|
|
1096
1132
|
device?: {
|
|
1097
1133
|
aid?: string | undefined;
|
|
1098
1134
|
sn?: string | undefined;
|
|
1099
1135
|
mac?: string | undefined;
|
|
1100
1136
|
} | undefined;
|
|
1101
|
-
type?: string | undefined;
|
|
1102
1137
|
flowId?: string | undefined;
|
|
1103
|
-
correlationId?: string | undefined;
|
|
1104
|
-
payload?: unknown;
|
|
1105
1138
|
error?: unknown;
|
|
1106
1139
|
};
|
|
1107
1140
|
}[];
|
|
1141
|
+
id?: string | undefined;
|
|
1142
|
+
tid?: string | undefined;
|
|
1108
1143
|
uid?: string | undefined;
|
|
1144
|
+
createdAt?: string | undefined;
|
|
1145
|
+
updatedAt?: string | undefined;
|
|
1146
|
+
deletedAt?: string | null | undefined;
|
|
1109
1147
|
fid?: string | undefined;
|
|
1110
1148
|
specId?: string | undefined;
|
|
1111
1149
|
specStatus?: FlowSpecStatusKind | undefined;
|
|
1112
1150
|
bucketKey?: string | undefined;
|
|
1113
|
-
id?: string | undefined;
|
|
1114
|
-
createdAt?: string | undefined;
|
|
1115
|
-
updatedAt?: string | undefined;
|
|
1116
|
-
deletedAt?: string | null | undefined;
|
|
1117
|
-
tid?: string | undefined;
|
|
1118
1151
|
}, {
|
|
1119
1152
|
status: "RUNNING" | "SUCCESS" | "ERROR" | "CANCELLED" | "EXPIRED";
|
|
1120
1153
|
nodeName: string;
|
|
@@ -1125,44 +1158,49 @@ export declare const _PlatformFlowStateUpsertDto: z.ZodObject<{
|
|
|
1125
1158
|
nodeName: string;
|
|
1126
1159
|
ts: number;
|
|
1127
1160
|
e: {
|
|
1161
|
+
type?: string | undefined;
|
|
1128
1162
|
tid?: string | undefined;
|
|
1129
1163
|
kind?: string | undefined;
|
|
1164
|
+
payload?: unknown;
|
|
1165
|
+
correlationId?: string | undefined;
|
|
1130
1166
|
fid?: string | undefined;
|
|
1131
1167
|
user?: {
|
|
1132
|
-
uid?: string | undefined;
|
|
1133
1168
|
email?: string | undefined;
|
|
1169
|
+
uid?: string | undefined;
|
|
1134
1170
|
} | undefined;
|
|
1135
1171
|
device?: {
|
|
1136
1172
|
aid?: string | undefined;
|
|
1137
1173
|
sn?: string | undefined;
|
|
1138
1174
|
mac?: string | undefined;
|
|
1139
1175
|
} | undefined;
|
|
1140
|
-
type?: string | undefined;
|
|
1141
1176
|
flowId?: string | undefined;
|
|
1142
|
-
correlationId?: string | undefined;
|
|
1143
|
-
payload?: unknown;
|
|
1144
1177
|
error?: unknown;
|
|
1145
1178
|
};
|
|
1146
1179
|
}[];
|
|
1180
|
+
id?: string | undefined;
|
|
1181
|
+
tid?: string | undefined;
|
|
1147
1182
|
uid?: string | undefined;
|
|
1183
|
+
createdAt?: string | undefined;
|
|
1184
|
+
updatedAt?: string | undefined;
|
|
1185
|
+
deletedAt?: string | null | undefined;
|
|
1148
1186
|
fid?: string | undefined;
|
|
1149
1187
|
specId?: string | undefined;
|
|
1150
1188
|
specStatus?: FlowSpecStatusKind | undefined;
|
|
1151
1189
|
bucketKey?: string | undefined;
|
|
1152
|
-
id?: string | undefined;
|
|
1153
|
-
createdAt?: string | undefined;
|
|
1154
|
-
updatedAt?: string | undefined;
|
|
1155
|
-
deletedAt?: string | null | undefined;
|
|
1156
|
-
tid?: string | undefined;
|
|
1157
1190
|
}>;
|
|
1158
1191
|
export type PlatformFlowStateUpsertDto = z.infer<typeof _PlatformFlowStateUpsertDto>;
|
|
1159
|
-
export declare const _PlatformFlowStateDto: z.ZodObject<{
|
|
1160
|
-
|
|
1192
|
+
export declare const _PlatformFlowStateDto: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
1193
|
+
id: z.ZodString;
|
|
1194
|
+
createdAt: z.ZodString;
|
|
1195
|
+
updatedAt: z.ZodString;
|
|
1196
|
+
deletedAt: z.ZodNullable<z.ZodString>;
|
|
1197
|
+
}, {
|
|
1198
|
+
specId: z.ZodOptional<z.ZodString>;
|
|
1161
1199
|
uid: z.ZodOptional<z.ZodString>;
|
|
1162
1200
|
fid: z.ZodOptional<z.ZodString>;
|
|
1163
|
-
|
|
1164
|
-
specId: z.ZodOptional<z.ZodString>;
|
|
1201
|
+
status: z.ZodEnum<["RUNNING", "ERROR", "SUCCESS", "CANCELLED", "EXPIRED"]>;
|
|
1165
1202
|
specStatus: z.ZodOptional<z.ZodNativeEnum<typeof FlowSpecStatusKind>>;
|
|
1203
|
+
nodeName: z.ZodString;
|
|
1166
1204
|
totalSteps: z.ZodNumber;
|
|
1167
1205
|
currentStep: z.ZodNumber;
|
|
1168
1206
|
endTime: z.ZodNullable<z.ZodString>;
|
|
@@ -1170,18 +1208,21 @@ export declare const _PlatformFlowStateDto: z.ZodObject<{
|
|
|
1170
1208
|
nodeName: z.ZodString;
|
|
1171
1209
|
ts: z.ZodNumber;
|
|
1172
1210
|
e: z.ZodObject<{
|
|
1211
|
+
type: z.ZodOptional<z.ZodString>;
|
|
1173
1212
|
tid: z.ZodOptional<z.ZodString>;
|
|
1174
1213
|
kind: z.ZodOptional<z.ZodString>;
|
|
1214
|
+
payload: z.ZodOptional<z.ZodOptional<z.ZodUnknown>>;
|
|
1215
|
+
correlationId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
1175
1216
|
fid: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
1176
1217
|
user: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
|
1177
1218
|
uid: z.ZodOptional<z.ZodString>;
|
|
1178
1219
|
email: z.ZodOptional<z.ZodString>;
|
|
1179
1220
|
}, "strip", z.ZodTypeAny, {
|
|
1180
|
-
uid?: string | undefined;
|
|
1181
1221
|
email?: string | undefined;
|
|
1182
|
-
}, {
|
|
1183
1222
|
uid?: string | undefined;
|
|
1223
|
+
}, {
|
|
1184
1224
|
email?: string | undefined;
|
|
1225
|
+
uid?: string | undefined;
|
|
1185
1226
|
}>>>;
|
|
1186
1227
|
device: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
|
1187
1228
|
aid: z.ZodOptional<z.ZodString>;
|
|
@@ -1196,100 +1237,99 @@ export declare const _PlatformFlowStateDto: z.ZodObject<{
|
|
|
1196
1237
|
sn?: string | undefined;
|
|
1197
1238
|
mac?: string | undefined;
|
|
1198
1239
|
}>>>;
|
|
1199
|
-
type: z.ZodOptional<z.ZodString>;
|
|
1200
1240
|
flowId: z.ZodOptional<z.ZodString>;
|
|
1201
|
-
correlationId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
1202
|
-
payload: z.ZodOptional<z.ZodOptional<z.ZodUnknown>>;
|
|
1203
1241
|
error: z.ZodOptional<z.ZodOptional<z.ZodUnknown>>;
|
|
1204
1242
|
}, "strip", z.ZodTypeAny, {
|
|
1243
|
+
type?: string | undefined;
|
|
1205
1244
|
tid?: string | undefined;
|
|
1206
1245
|
kind?: string | undefined;
|
|
1246
|
+
payload?: unknown;
|
|
1247
|
+
correlationId?: string | undefined;
|
|
1207
1248
|
fid?: string | undefined;
|
|
1208
1249
|
user?: {
|
|
1209
|
-
uid?: string | undefined;
|
|
1210
1250
|
email?: string | undefined;
|
|
1251
|
+
uid?: string | undefined;
|
|
1211
1252
|
} | undefined;
|
|
1212
1253
|
device?: {
|
|
1213
1254
|
aid?: string | undefined;
|
|
1214
1255
|
sn?: string | undefined;
|
|
1215
1256
|
mac?: string | undefined;
|
|
1216
1257
|
} | undefined;
|
|
1217
|
-
type?: string | undefined;
|
|
1218
1258
|
flowId?: string | undefined;
|
|
1219
|
-
correlationId?: string | undefined;
|
|
1220
|
-
payload?: unknown;
|
|
1221
1259
|
error?: unknown;
|
|
1222
1260
|
}, {
|
|
1261
|
+
type?: string | undefined;
|
|
1223
1262
|
tid?: string | undefined;
|
|
1224
1263
|
kind?: string | undefined;
|
|
1264
|
+
payload?: unknown;
|
|
1265
|
+
correlationId?: string | undefined;
|
|
1225
1266
|
fid?: string | undefined;
|
|
1226
1267
|
user?: {
|
|
1227
|
-
uid?: string | undefined;
|
|
1228
1268
|
email?: string | undefined;
|
|
1269
|
+
uid?: string | undefined;
|
|
1229
1270
|
} | undefined;
|
|
1230
1271
|
device?: {
|
|
1231
1272
|
aid?: string | undefined;
|
|
1232
1273
|
sn?: string | undefined;
|
|
1233
1274
|
mac?: string | undefined;
|
|
1234
1275
|
} | undefined;
|
|
1235
|
-
type?: string | undefined;
|
|
1236
1276
|
flowId?: string | undefined;
|
|
1237
|
-
correlationId?: string | undefined;
|
|
1238
|
-
payload?: unknown;
|
|
1239
1277
|
error?: unknown;
|
|
1240
1278
|
}>;
|
|
1241
1279
|
}, "strip", z.ZodTypeAny, {
|
|
1242
1280
|
nodeName: string;
|
|
1243
1281
|
ts: number;
|
|
1244
1282
|
e: {
|
|
1283
|
+
type?: string | undefined;
|
|
1245
1284
|
tid?: string | undefined;
|
|
1246
1285
|
kind?: string | undefined;
|
|
1286
|
+
payload?: unknown;
|
|
1287
|
+
correlationId?: string | undefined;
|
|
1247
1288
|
fid?: string | undefined;
|
|
1248
1289
|
user?: {
|
|
1249
|
-
uid?: string | undefined;
|
|
1250
1290
|
email?: string | undefined;
|
|
1291
|
+
uid?: string | undefined;
|
|
1251
1292
|
} | undefined;
|
|
1252
1293
|
device?: {
|
|
1253
1294
|
aid?: string | undefined;
|
|
1254
1295
|
sn?: string | undefined;
|
|
1255
1296
|
mac?: string | undefined;
|
|
1256
1297
|
} | undefined;
|
|
1257
|
-
type?: string | undefined;
|
|
1258
1298
|
flowId?: string | undefined;
|
|
1259
|
-
correlationId?: string | undefined;
|
|
1260
|
-
payload?: unknown;
|
|
1261
1299
|
error?: unknown;
|
|
1262
1300
|
};
|
|
1263
1301
|
}, {
|
|
1264
1302
|
nodeName: string;
|
|
1265
1303
|
ts: number;
|
|
1266
1304
|
e: {
|
|
1305
|
+
type?: string | undefined;
|
|
1267
1306
|
tid?: string | undefined;
|
|
1268
1307
|
kind?: string | undefined;
|
|
1308
|
+
payload?: unknown;
|
|
1309
|
+
correlationId?: string | undefined;
|
|
1269
1310
|
fid?: string | undefined;
|
|
1270
1311
|
user?: {
|
|
1271
|
-
uid?: string | undefined;
|
|
1272
1312
|
email?: string | undefined;
|
|
1313
|
+
uid?: string | undefined;
|
|
1273
1314
|
} | undefined;
|
|
1274
1315
|
device?: {
|
|
1275
1316
|
aid?: string | undefined;
|
|
1276
1317
|
sn?: string | undefined;
|
|
1277
1318
|
mac?: string | undefined;
|
|
1278
1319
|
} | undefined;
|
|
1279
|
-
type?: string | undefined;
|
|
1280
1320
|
flowId?: string | undefined;
|
|
1281
|
-
correlationId?: string | undefined;
|
|
1282
|
-
payload?: unknown;
|
|
1283
1321
|
error?: unknown;
|
|
1284
1322
|
};
|
|
1285
1323
|
}>, "many">;
|
|
1286
1324
|
bucketKey: z.ZodOptional<z.ZodString>;
|
|
1325
|
+
}>, z.objectUtil.extendShape<{
|
|
1287
1326
|
id: z.ZodString;
|
|
1288
1327
|
createdAt: z.ZodString;
|
|
1289
1328
|
updatedAt: z.ZodString;
|
|
1290
1329
|
deletedAt: z.ZodNullable<z.ZodString>;
|
|
1330
|
+
}, {
|
|
1291
1331
|
tid: z.ZodString;
|
|
1292
|
-
}
|
|
1332
|
+
}>>, "strip", z.ZodTypeAny, {
|
|
1293
1333
|
status: "RUNNING" | "SUCCESS" | "ERROR" | "CANCELLED" | "EXPIRED";
|
|
1294
1334
|
id: string;
|
|
1295
1335
|
tid: string;
|
|
@@ -1304,22 +1344,22 @@ export declare const _PlatformFlowStateDto: z.ZodObject<{
|
|
|
1304
1344
|
nodeName: string;
|
|
1305
1345
|
ts: number;
|
|
1306
1346
|
e: {
|
|
1347
|
+
type?: string | undefined;
|
|
1307
1348
|
tid?: string | undefined;
|
|
1308
1349
|
kind?: string | undefined;
|
|
1350
|
+
payload?: unknown;
|
|
1351
|
+
correlationId?: string | undefined;
|
|
1309
1352
|
fid?: string | undefined;
|
|
1310
1353
|
user?: {
|
|
1311
|
-
uid?: string | undefined;
|
|
1312
1354
|
email?: string | undefined;
|
|
1355
|
+
uid?: string | undefined;
|
|
1313
1356
|
} | undefined;
|
|
1314
1357
|
device?: {
|
|
1315
1358
|
aid?: string | undefined;
|
|
1316
1359
|
sn?: string | undefined;
|
|
1317
1360
|
mac?: string | undefined;
|
|
1318
1361
|
} | undefined;
|
|
1319
|
-
type?: string | undefined;
|
|
1320
1362
|
flowId?: string | undefined;
|
|
1321
|
-
correlationId?: string | undefined;
|
|
1322
|
-
payload?: unknown;
|
|
1323
1363
|
error?: unknown;
|
|
1324
1364
|
};
|
|
1325
1365
|
}[];
|
|
@@ -1343,22 +1383,22 @@ export declare const _PlatformFlowStateDto: z.ZodObject<{
|
|
|
1343
1383
|
nodeName: string;
|
|
1344
1384
|
ts: number;
|
|
1345
1385
|
e: {
|
|
1386
|
+
type?: string | undefined;
|
|
1346
1387
|
tid?: string | undefined;
|
|
1347
1388
|
kind?: string | undefined;
|
|
1389
|
+
payload?: unknown;
|
|
1390
|
+
correlationId?: string | undefined;
|
|
1348
1391
|
fid?: string | undefined;
|
|
1349
1392
|
user?: {
|
|
1350
|
-
uid?: string | undefined;
|
|
1351
1393
|
email?: string | undefined;
|
|
1394
|
+
uid?: string | undefined;
|
|
1352
1395
|
} | undefined;
|
|
1353
1396
|
device?: {
|
|
1354
1397
|
aid?: string | undefined;
|
|
1355
1398
|
sn?: string | undefined;
|
|
1356
1399
|
mac?: string | undefined;
|
|
1357
1400
|
} | undefined;
|
|
1358
|
-
type?: string | undefined;
|
|
1359
1401
|
flowId?: string | undefined;
|
|
1360
|
-
correlationId?: string | undefined;
|
|
1361
|
-
payload?: unknown;
|
|
1362
1402
|
error?: unknown;
|
|
1363
1403
|
};
|
|
1364
1404
|
}[];
|