@ampsec/platform-client 58.9.2 → 58.11.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 +795 -40
- package/build/src/FilterCriteria.js +82 -0
- package/build/src/FilterCriteria.js.map +1 -1
- package/build/src/dto/assets.dto.d.ts +10 -1
- package/build/src/dto/base.dto.d.ts +27 -9
- package/build/src/dto/base.dto.js +2 -4
- package/build/src/dto/base.dto.js.map +1 -1
- package/build/src/dto/coverage.dto.d.ts +11 -11
- package/build/src/dto/enums/finding.status.d.ts +3 -1
- package/build/src/dto/enums/finding.status.js +2 -0
- package/build/src/dto/enums/finding.status.js.map +1 -1
- package/build/src/dto/flows.dto.d.ts +819 -0
- package/build/src/dto/flows.dto.js +85 -0
- package/build/src/dto/flows.dto.js.map +1 -0
- package/build/src/dto/index.d.ts +1 -0
- package/build/src/dto/index.js +1 -0
- package/build/src/dto/index.js.map +1 -1
- package/build/src/dto/platform/index.d.ts +1 -0
- package/build/src/dto/platform/index.js +1 -0
- package/build/src/dto/platform/index.js.map +1 -1
- package/build/src/dto/platform/platform.flows.dto.d.ts +540 -0
- package/build/src/dto/platform/platform.flows.dto.js +32 -0
- package/build/src/dto/platform/platform.flows.dto.js.map +1 -0
- package/build/src/dto/platform/tenant.based.dto.d.ts +40 -8
- package/build/src/dto/platform/tenant.based.dto.js +7 -0
- package/build/src/dto/platform/tenant.based.dto.js.map +1 -1
- package/build/src/dto/saasAssets.dto.d.ts +10 -1
- package/build/src/dto/saasUsers.dto.d.ts +15 -6
- package/build/src/services/AmpSdk.d.ts +3 -0
- package/build/src/services/AmpSdk.js +2 -0
- package/build/src/services/AmpSdk.js.map +1 -1
- package/build/src/services/constants.d.ts +2 -0
- package/build/src/services/constants.js +2 -0
- package/build/src/services/constants.js.map +1 -1
- package/build/src/services/utils.d.ts +3 -0
- package/build/src/services/utils.js +16 -1
- package/build/src/services/utils.js.map +1 -1
- package/package.json +2 -1
- package/src/FilterCriteria.ts +104 -39
- package/src/dto/base.dto.ts +4 -6
- package/src/dto/enums/finding.status.ts +2 -0
- package/src/dto/flows.dto.ts +107 -0
- package/src/dto/index.ts +1 -0
- package/src/dto/platform/index.ts +1 -0
- package/src/dto/platform/platform.flows.dto.ts +38 -0
- package/src/dto/platform/tenant.based.dto.ts +8 -9
- package/src/services/AmpSdk.ts +5 -0
- package/src/services/constants.ts +2 -0
- package/src/services/utils.ts +16 -0
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports._FlowSpecFilter = exports._FlowSpecUpsertDto = exports._FlowSpecDto = exports._FlowStateFilter = exports._FlowStateUpsertDto = exports._FlowStateDto = exports._FlowStateStatusDto = exports._FlowHistoryEntry = exports._FlowSystemEventDto = exports._FlowTriggerEventDto = void 0;
|
|
4
|
+
const zod_1 = require("zod");
|
|
5
|
+
const base_dto_1 = require("./base.dto");
|
|
6
|
+
const FilterCriteria_1 = require("../FilterCriteria");
|
|
7
|
+
/*
|
|
8
|
+
* /============================\
|
|
9
|
+
* | Events + History |
|
|
10
|
+
* \============================/
|
|
11
|
+
*/
|
|
12
|
+
exports._FlowTriggerEventDto = zod_1.z.object({
|
|
13
|
+
kind: zod_1.z.string(),
|
|
14
|
+
tid: zod_1.z.string(),
|
|
15
|
+
correlationId: zod_1.z.string().optional(),
|
|
16
|
+
fid: zod_1.z.string().optional(),
|
|
17
|
+
user: zod_1.z
|
|
18
|
+
.object({
|
|
19
|
+
uid: zod_1.z.string().optional(),
|
|
20
|
+
email: zod_1.z.string().optional(),
|
|
21
|
+
})
|
|
22
|
+
.optional(),
|
|
23
|
+
device: zod_1.z
|
|
24
|
+
.object({
|
|
25
|
+
aid: zod_1.z.string().optional(),
|
|
26
|
+
sn: zod_1.z.string().optional(),
|
|
27
|
+
mac: zod_1.z.string().optional(),
|
|
28
|
+
})
|
|
29
|
+
.optional(),
|
|
30
|
+
payload: zod_1.z.unknown().optional(),
|
|
31
|
+
});
|
|
32
|
+
exports._FlowSystemEventDto = zod_1.z.object({
|
|
33
|
+
type: zod_1.z.string(),
|
|
34
|
+
flowId: zod_1.z.string(),
|
|
35
|
+
correlationId: zod_1.z.string().optional(),
|
|
36
|
+
payload: zod_1.z.unknown().optional(),
|
|
37
|
+
error: zod_1.z.unknown().optional(),
|
|
38
|
+
});
|
|
39
|
+
exports._FlowHistoryEntry = zod_1.z.object({
|
|
40
|
+
nodeName: zod_1.z.string(),
|
|
41
|
+
ts: zod_1.z.number(),
|
|
42
|
+
e: exports._FlowTriggerEventDto.merge(exports._FlowSystemEventDto).partial(),
|
|
43
|
+
});
|
|
44
|
+
/*
|
|
45
|
+
* /=====================\
|
|
46
|
+
* | FlowState |
|
|
47
|
+
* \=====================/
|
|
48
|
+
*/
|
|
49
|
+
exports._FlowStateStatusDto = zod_1.z.enum(['RUNNING', 'ERROR', 'SUCCESS', 'CANCELLED', 'EXPIRED']);
|
|
50
|
+
exports._FlowStateDto = base_dto_1._BaseDto.extend({
|
|
51
|
+
specId: zod_1.z.string(),
|
|
52
|
+
uid: zod_1.z.string().optional(),
|
|
53
|
+
fid: zod_1.z.string().optional(),
|
|
54
|
+
status: exports._FlowStateStatusDto,
|
|
55
|
+
nodeName: zod_1.z.string(),
|
|
56
|
+
totalSteps: zod_1.z.number(),
|
|
57
|
+
currentStep: zod_1.z.number(),
|
|
58
|
+
endTime: zod_1.z.string().nullable(),
|
|
59
|
+
history: zod_1.z.array(exports._FlowHistoryEntry),
|
|
60
|
+
});
|
|
61
|
+
exports._FlowStateUpsertDto = exports._FlowStateDto.merge(base_dto_1._BaseUpsertDto);
|
|
62
|
+
exports._FlowStateFilter = exports._FlowStateDto.omit({ history: true }).partial().merge(FilterCriteria_1._PaginationFilter).merge(FilterCriteria_1._SortFilter);
|
|
63
|
+
/*
|
|
64
|
+
* /====================\
|
|
65
|
+
* | FlowSpec |
|
|
66
|
+
* \====================/
|
|
67
|
+
*/
|
|
68
|
+
exports._FlowSpecDto = base_dto_1._BaseDto.merge(zod_1.z.object({
|
|
69
|
+
id: zod_1.z.string(),
|
|
70
|
+
tid: zod_1.z.string().optional(),
|
|
71
|
+
name: zod_1.z.string(),
|
|
72
|
+
fslStrategy: zod_1.z.enum(['STANDARD']),
|
|
73
|
+
triggerFilter: zod_1.z.object({
|
|
74
|
+
trigger: zod_1.z.string(),
|
|
75
|
+
custom: zod_1.z.record(zod_1.z.unknown()).optional(),
|
|
76
|
+
}),
|
|
77
|
+
/** cohort filter */
|
|
78
|
+
filter: zod_1.z.object({
|
|
79
|
+
cohorts: zod_1.z.unknown().optional(),
|
|
80
|
+
custom: zod_1.z.record(zod_1.z.unknown()).optional(),
|
|
81
|
+
}),
|
|
82
|
+
}));
|
|
83
|
+
exports._FlowSpecUpsertDto = exports._FlowSpecDto.merge(base_dto_1._BaseUpsertDto);
|
|
84
|
+
exports._FlowSpecFilter = exports._FlowSpecDto.omit({ triggerFilter: true, filter: true }).partial().merge(FilterCriteria_1._PaginationFilter).merge(FilterCriteria_1._SortFilter);
|
|
85
|
+
//# sourceMappingURL=flows.dto.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"flows.dto.js","sourceRoot":"","sources":["../../../src/dto/flows.dto.ts"],"names":[],"mappings":"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"}
|
package/build/src/dto/index.d.ts
CHANGED
|
@@ -12,6 +12,7 @@ export * from './enums';
|
|
|
12
12
|
export * from './extKeyMap.dto';
|
|
13
13
|
export * from './findings.dto';
|
|
14
14
|
export * from './findingsInsights.dto';
|
|
15
|
+
export * from './flows.dto';
|
|
15
16
|
export * from './jwt';
|
|
16
17
|
export * from './message.dto';
|
|
17
18
|
export * from './notification.dto';
|
package/build/src/dto/index.js
CHANGED
|
@@ -28,6 +28,7 @@ __exportStar(require("./enums"), exports);
|
|
|
28
28
|
__exportStar(require("./extKeyMap.dto"), exports);
|
|
29
29
|
__exportStar(require("./findings.dto"), exports);
|
|
30
30
|
__exportStar(require("./findingsInsights.dto"), exports);
|
|
31
|
+
__exportStar(require("./flows.dto"), exports);
|
|
31
32
|
__exportStar(require("./jwt"), exports);
|
|
32
33
|
__exportStar(require("./message.dto"), exports);
|
|
33
34
|
__exportStar(require("./notification.dto"), exports);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/dto/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,+CAA6B;AAC7B,+CAA6B;AAC7B,8CAA4B;AAC5B,6CAA2B;AAC3B,mDAAiC;AACjC,8CAA4B;AAC5B,iDAA+B;AAC/B,yDAAuC;AACvC,0DAAwC;AACxC,6CAA2B;AAC3B,0CAAwB;AACxB,kDAAgC;AAChC,iDAA+B;AAC/B,yDAAuC;AACvC,wCAAsB;AACtB,gDAA8B;AAC9B,qDAAmC;AACnC,6CAA2B;AAC3B,6CAA2B;AAC3B,kDAAgC;AAChC,sDAAoC;AACpC,yDAAuC;AACvC,mDAAiC;AACjC,uDAAqC;AACrC,kDAAgC;AAChC,mDAAiC;AACjC,gDAA8B;AAC9B,8CAA4B;AAC5B,iDAA+B;AAC/B,sDAAoC"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/dto/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,+CAA6B;AAC7B,+CAA6B;AAC7B,8CAA4B;AAC5B,6CAA2B;AAC3B,mDAAiC;AACjC,8CAA4B;AAC5B,iDAA+B;AAC/B,yDAAuC;AACvC,0DAAwC;AACxC,6CAA2B;AAC3B,0CAAwB;AACxB,kDAAgC;AAChC,iDAA+B;AAC/B,yDAAuC;AACvC,8CAA4B;AAC5B,wCAAsB;AACtB,gDAA8B;AAC9B,qDAAmC;AACnC,6CAA2B;AAC3B,6CAA2B;AAC3B,kDAAgC;AAChC,sDAAoC;AACpC,yDAAuC;AACvC,mDAAiC;AACjC,uDAAqC;AACrC,kDAAgC;AAChC,mDAAiC;AACjC,gDAA8B;AAC9B,8CAA4B;AAC5B,iDAA+B;AAC/B,sDAAoC"}
|
|
@@ -3,6 +3,7 @@ export * from './platform.assets.dto';
|
|
|
3
3
|
export * from './platform.connectors.dto';
|
|
4
4
|
export * from './platform.findingsInsights.dto';
|
|
5
5
|
export * from './platform.findings.dto';
|
|
6
|
+
export * from './platform.flows.dto';
|
|
6
7
|
export * from './platform.jobExecutionState.dto';
|
|
7
8
|
export * from './platform.jobSpec.dto';
|
|
8
9
|
export * from './platform.notification.dto';
|
|
@@ -19,6 +19,7 @@ __exportStar(require("./platform.assets.dto"), exports);
|
|
|
19
19
|
__exportStar(require("./platform.connectors.dto"), exports);
|
|
20
20
|
__exportStar(require("./platform.findingsInsights.dto"), exports);
|
|
21
21
|
__exportStar(require("./platform.findings.dto"), exports);
|
|
22
|
+
__exportStar(require("./platform.flows.dto"), exports);
|
|
22
23
|
__exportStar(require("./platform.jobExecutionState.dto"), exports);
|
|
23
24
|
__exportStar(require("./platform.jobSpec.dto"), exports);
|
|
24
25
|
__exportStar(require("./platform.notification.dto"), exports);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/dto/platform/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,wDAAsC;AACtC,wDAAsC;AACtC,4DAA0C;AAC1C,kEAAgD;AAChD,0DAAwC;AACxC,mEAAiD;AACjD,yDAAuC;AACvC,8DAA4C;AAC5C,2DAAyC;AACzC,+DAA6C;AAC7C,iEAA+C;AAC/C,4DAA0C;AAC1C,gEAA8C;AAC9C,2DAAyC;AACzC,4DAA0C;AAC1C,yDAAuC;AACvC,uDAAqC;AACrC,qDAAmC;AACnC,0DAAwC"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/dto/platform/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,wDAAsC;AACtC,wDAAsC;AACtC,4DAA0C;AAC1C,kEAAgD;AAChD,0DAAwC;AACxC,uDAAqC;AACrC,mEAAiD;AACjD,yDAAuC;AACvC,8DAA4C;AAC5C,2DAAyC;AACzC,+DAA6C;AAC7C,iEAA+C;AAC/C,4DAA0C;AAC1C,gEAA8C;AAC9C,2DAAyC;AACzC,4DAA0C;AAC1C,yDAAuC;AACvC,uDAAqC;AACrC,qDAAmC;AACnC,0DAAwC"}
|
|
@@ -0,0 +1,540 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
export declare const _PlatformFlowSpecUpsertDto: z.ZodObject<{
|
|
3
|
+
filter: z.ZodObject<{
|
|
4
|
+
cohorts: z.ZodOptional<z.ZodUnknown>;
|
|
5
|
+
custom: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
6
|
+
}, "strip", z.ZodTypeAny, {
|
|
7
|
+
cohorts?: unknown;
|
|
8
|
+
custom?: Record<string, unknown> | undefined;
|
|
9
|
+
}, {
|
|
10
|
+
cohorts?: unknown;
|
|
11
|
+
custom?: Record<string, unknown> | undefined;
|
|
12
|
+
}>;
|
|
13
|
+
name: z.ZodString;
|
|
14
|
+
tid: z.ZodOptional<z.ZodString>;
|
|
15
|
+
fslStrategy: z.ZodEnum<["STANDARD"]>;
|
|
16
|
+
triggerFilter: z.ZodObject<{
|
|
17
|
+
trigger: z.ZodString;
|
|
18
|
+
custom: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
19
|
+
}, "strip", z.ZodTypeAny, {
|
|
20
|
+
trigger: string;
|
|
21
|
+
custom?: Record<string, unknown> | undefined;
|
|
22
|
+
}, {
|
|
23
|
+
trigger: string;
|
|
24
|
+
custom?: Record<string, unknown> | undefined;
|
|
25
|
+
}>;
|
|
26
|
+
id: z.ZodOptional<z.ZodString>;
|
|
27
|
+
createdAt: z.ZodOptional<z.ZodString>;
|
|
28
|
+
updatedAt: z.ZodOptional<z.ZodString>;
|
|
29
|
+
deletedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
30
|
+
}, "strip", z.ZodTypeAny, {
|
|
31
|
+
filter: {
|
|
32
|
+
cohorts?: unknown;
|
|
33
|
+
custom?: Record<string, unknown> | undefined;
|
|
34
|
+
};
|
|
35
|
+
name: string;
|
|
36
|
+
fslStrategy: "STANDARD";
|
|
37
|
+
triggerFilter: {
|
|
38
|
+
trigger: string;
|
|
39
|
+
custom?: Record<string, unknown> | undefined;
|
|
40
|
+
};
|
|
41
|
+
tid?: string | undefined;
|
|
42
|
+
id?: string | undefined;
|
|
43
|
+
createdAt?: string | undefined;
|
|
44
|
+
updatedAt?: string | undefined;
|
|
45
|
+
deletedAt?: string | null | undefined;
|
|
46
|
+
}, {
|
|
47
|
+
filter: {
|
|
48
|
+
cohorts?: unknown;
|
|
49
|
+
custom?: Record<string, unknown> | undefined;
|
|
50
|
+
};
|
|
51
|
+
name: string;
|
|
52
|
+
fslStrategy: "STANDARD";
|
|
53
|
+
triggerFilter: {
|
|
54
|
+
trigger: string;
|
|
55
|
+
custom?: Record<string, unknown> | undefined;
|
|
56
|
+
};
|
|
57
|
+
tid?: string | undefined;
|
|
58
|
+
id?: string | undefined;
|
|
59
|
+
createdAt?: string | undefined;
|
|
60
|
+
updatedAt?: string | undefined;
|
|
61
|
+
deletedAt?: string | null | undefined;
|
|
62
|
+
}>;
|
|
63
|
+
export type PlatformFlowSpecUpsertDto = z.infer<typeof _PlatformFlowSpecUpsertDto>;
|
|
64
|
+
export declare const _PlatformFlowSpecDto: z.ZodObject<{
|
|
65
|
+
createdAt: z.ZodString;
|
|
66
|
+
updatedAt: z.ZodString;
|
|
67
|
+
deletedAt: z.ZodNullable<z.ZodString>;
|
|
68
|
+
id: z.ZodString;
|
|
69
|
+
tid: z.ZodOptional<z.ZodString>;
|
|
70
|
+
name: z.ZodString;
|
|
71
|
+
fslStrategy: z.ZodEnum<["STANDARD"]>;
|
|
72
|
+
triggerFilter: z.ZodObject<{
|
|
73
|
+
trigger: z.ZodString;
|
|
74
|
+
custom: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
75
|
+
}, "strip", z.ZodTypeAny, {
|
|
76
|
+
trigger: string;
|
|
77
|
+
custom?: Record<string, unknown> | undefined;
|
|
78
|
+
}, {
|
|
79
|
+
trigger: string;
|
|
80
|
+
custom?: Record<string, unknown> | undefined;
|
|
81
|
+
}>;
|
|
82
|
+
filter: z.ZodObject<{
|
|
83
|
+
cohorts: z.ZodOptional<z.ZodUnknown>;
|
|
84
|
+
custom: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
85
|
+
}, "strip", z.ZodTypeAny, {
|
|
86
|
+
cohorts?: unknown;
|
|
87
|
+
custom?: Record<string, unknown> | undefined;
|
|
88
|
+
}, {
|
|
89
|
+
cohorts?: unknown;
|
|
90
|
+
custom?: Record<string, unknown> | undefined;
|
|
91
|
+
}>;
|
|
92
|
+
}, "strip", z.ZodTypeAny, {
|
|
93
|
+
filter: {
|
|
94
|
+
cohorts?: unknown;
|
|
95
|
+
custom?: Record<string, unknown> | undefined;
|
|
96
|
+
};
|
|
97
|
+
name: string;
|
|
98
|
+
id: string;
|
|
99
|
+
createdAt: string;
|
|
100
|
+
updatedAt: string;
|
|
101
|
+
deletedAt: string | null;
|
|
102
|
+
fslStrategy: "STANDARD";
|
|
103
|
+
triggerFilter: {
|
|
104
|
+
trigger: string;
|
|
105
|
+
custom?: Record<string, unknown> | undefined;
|
|
106
|
+
};
|
|
107
|
+
tid?: string | undefined;
|
|
108
|
+
}, {
|
|
109
|
+
filter: {
|
|
110
|
+
cohorts?: unknown;
|
|
111
|
+
custom?: Record<string, unknown> | undefined;
|
|
112
|
+
};
|
|
113
|
+
name: string;
|
|
114
|
+
id: string;
|
|
115
|
+
createdAt: string;
|
|
116
|
+
updatedAt: string;
|
|
117
|
+
deletedAt: string | null;
|
|
118
|
+
fslStrategy: "STANDARD";
|
|
119
|
+
triggerFilter: {
|
|
120
|
+
trigger: string;
|
|
121
|
+
custom?: Record<string, unknown> | undefined;
|
|
122
|
+
};
|
|
123
|
+
tid?: string | undefined;
|
|
124
|
+
}>;
|
|
125
|
+
export type PlatformFlowSpecDto = z.infer<typeof _PlatformFlowSpecDto>;
|
|
126
|
+
export declare const _PlatformFlowStateUpsertDto: z.ZodObject<{
|
|
127
|
+
status: z.ZodEnum<["RUNNING", "ERROR", "SUCCESS", "CANCELLED", "EXPIRED"]>;
|
|
128
|
+
uid: z.ZodOptional<z.ZodString>;
|
|
129
|
+
fid: z.ZodOptional<z.ZodString>;
|
|
130
|
+
nodeName: z.ZodString;
|
|
131
|
+
specId: z.ZodString;
|
|
132
|
+
totalSteps: z.ZodNumber;
|
|
133
|
+
currentStep: z.ZodNumber;
|
|
134
|
+
endTime: z.ZodNullable<z.ZodString>;
|
|
135
|
+
history: z.ZodArray<z.ZodObject<{
|
|
136
|
+
nodeName: z.ZodString;
|
|
137
|
+
ts: z.ZodNumber;
|
|
138
|
+
e: z.ZodObject<{
|
|
139
|
+
tid: z.ZodOptional<z.ZodString>;
|
|
140
|
+
kind: z.ZodOptional<z.ZodString>;
|
|
141
|
+
fid: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
142
|
+
user: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
|
143
|
+
uid: z.ZodOptional<z.ZodString>;
|
|
144
|
+
email: z.ZodOptional<z.ZodString>;
|
|
145
|
+
}, "strip", z.ZodTypeAny, {
|
|
146
|
+
uid?: string | undefined;
|
|
147
|
+
email?: string | undefined;
|
|
148
|
+
}, {
|
|
149
|
+
uid?: string | undefined;
|
|
150
|
+
email?: string | undefined;
|
|
151
|
+
}>>>;
|
|
152
|
+
device: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
|
153
|
+
aid: z.ZodOptional<z.ZodString>;
|
|
154
|
+
sn: z.ZodOptional<z.ZodString>;
|
|
155
|
+
mac: z.ZodOptional<z.ZodString>;
|
|
156
|
+
}, "strip", z.ZodTypeAny, {
|
|
157
|
+
aid?: string | undefined;
|
|
158
|
+
sn?: string | undefined;
|
|
159
|
+
mac?: string | undefined;
|
|
160
|
+
}, {
|
|
161
|
+
aid?: string | undefined;
|
|
162
|
+
sn?: string | undefined;
|
|
163
|
+
mac?: string | undefined;
|
|
164
|
+
}>>>;
|
|
165
|
+
type: z.ZodOptional<z.ZodString>;
|
|
166
|
+
flowId: z.ZodOptional<z.ZodString>;
|
|
167
|
+
correlationId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
168
|
+
payload: z.ZodOptional<z.ZodOptional<z.ZodUnknown>>;
|
|
169
|
+
error: z.ZodOptional<z.ZodOptional<z.ZodUnknown>>;
|
|
170
|
+
}, "strip", z.ZodTypeAny, {
|
|
171
|
+
tid?: string | undefined;
|
|
172
|
+
kind?: string | undefined;
|
|
173
|
+
fid?: string | undefined;
|
|
174
|
+
user?: {
|
|
175
|
+
uid?: string | undefined;
|
|
176
|
+
email?: string | undefined;
|
|
177
|
+
} | undefined;
|
|
178
|
+
device?: {
|
|
179
|
+
aid?: string | undefined;
|
|
180
|
+
sn?: string | undefined;
|
|
181
|
+
mac?: string | undefined;
|
|
182
|
+
} | undefined;
|
|
183
|
+
type?: string | undefined;
|
|
184
|
+
flowId?: string | undefined;
|
|
185
|
+
correlationId?: string | undefined;
|
|
186
|
+
payload?: unknown;
|
|
187
|
+
error?: unknown;
|
|
188
|
+
}, {
|
|
189
|
+
tid?: string | undefined;
|
|
190
|
+
kind?: string | undefined;
|
|
191
|
+
fid?: string | undefined;
|
|
192
|
+
user?: {
|
|
193
|
+
uid?: string | undefined;
|
|
194
|
+
email?: string | undefined;
|
|
195
|
+
} | undefined;
|
|
196
|
+
device?: {
|
|
197
|
+
aid?: string | undefined;
|
|
198
|
+
sn?: string | undefined;
|
|
199
|
+
mac?: string | undefined;
|
|
200
|
+
} | undefined;
|
|
201
|
+
type?: string | undefined;
|
|
202
|
+
flowId?: string | undefined;
|
|
203
|
+
correlationId?: string | undefined;
|
|
204
|
+
payload?: unknown;
|
|
205
|
+
error?: unknown;
|
|
206
|
+
}>;
|
|
207
|
+
}, "strip", z.ZodTypeAny, {
|
|
208
|
+
nodeName: string;
|
|
209
|
+
ts: number;
|
|
210
|
+
e: {
|
|
211
|
+
tid?: string | undefined;
|
|
212
|
+
kind?: string | undefined;
|
|
213
|
+
fid?: string | undefined;
|
|
214
|
+
user?: {
|
|
215
|
+
uid?: string | undefined;
|
|
216
|
+
email?: string | undefined;
|
|
217
|
+
} | undefined;
|
|
218
|
+
device?: {
|
|
219
|
+
aid?: string | undefined;
|
|
220
|
+
sn?: string | undefined;
|
|
221
|
+
mac?: string | undefined;
|
|
222
|
+
} | undefined;
|
|
223
|
+
type?: string | undefined;
|
|
224
|
+
flowId?: string | undefined;
|
|
225
|
+
correlationId?: string | undefined;
|
|
226
|
+
payload?: unknown;
|
|
227
|
+
error?: unknown;
|
|
228
|
+
};
|
|
229
|
+
}, {
|
|
230
|
+
nodeName: string;
|
|
231
|
+
ts: number;
|
|
232
|
+
e: {
|
|
233
|
+
tid?: string | undefined;
|
|
234
|
+
kind?: string | undefined;
|
|
235
|
+
fid?: string | undefined;
|
|
236
|
+
user?: {
|
|
237
|
+
uid?: string | undefined;
|
|
238
|
+
email?: string | undefined;
|
|
239
|
+
} | undefined;
|
|
240
|
+
device?: {
|
|
241
|
+
aid?: string | undefined;
|
|
242
|
+
sn?: string | undefined;
|
|
243
|
+
mac?: string | undefined;
|
|
244
|
+
} | undefined;
|
|
245
|
+
type?: string | undefined;
|
|
246
|
+
flowId?: string | undefined;
|
|
247
|
+
correlationId?: string | undefined;
|
|
248
|
+
payload?: unknown;
|
|
249
|
+
error?: unknown;
|
|
250
|
+
};
|
|
251
|
+
}>, "many">;
|
|
252
|
+
id: z.ZodOptional<z.ZodString>;
|
|
253
|
+
createdAt: z.ZodOptional<z.ZodString>;
|
|
254
|
+
updatedAt: z.ZodOptional<z.ZodString>;
|
|
255
|
+
deletedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
256
|
+
tid: z.ZodOptional<z.ZodString>;
|
|
257
|
+
}, "strip", z.ZodTypeAny, {
|
|
258
|
+
status: "RUNNING" | "ERROR" | "SUCCESS" | "CANCELLED" | "EXPIRED";
|
|
259
|
+
nodeName: string;
|
|
260
|
+
specId: string;
|
|
261
|
+
totalSteps: number;
|
|
262
|
+
currentStep: number;
|
|
263
|
+
endTime: string | null;
|
|
264
|
+
history: {
|
|
265
|
+
nodeName: string;
|
|
266
|
+
ts: number;
|
|
267
|
+
e: {
|
|
268
|
+
tid?: string | undefined;
|
|
269
|
+
kind?: string | undefined;
|
|
270
|
+
fid?: string | undefined;
|
|
271
|
+
user?: {
|
|
272
|
+
uid?: string | undefined;
|
|
273
|
+
email?: string | undefined;
|
|
274
|
+
} | undefined;
|
|
275
|
+
device?: {
|
|
276
|
+
aid?: string | undefined;
|
|
277
|
+
sn?: string | undefined;
|
|
278
|
+
mac?: string | undefined;
|
|
279
|
+
} | undefined;
|
|
280
|
+
type?: string | undefined;
|
|
281
|
+
flowId?: string | undefined;
|
|
282
|
+
correlationId?: string | undefined;
|
|
283
|
+
payload?: unknown;
|
|
284
|
+
error?: unknown;
|
|
285
|
+
};
|
|
286
|
+
}[];
|
|
287
|
+
uid?: string | undefined;
|
|
288
|
+
fid?: string | undefined;
|
|
289
|
+
id?: string | undefined;
|
|
290
|
+
createdAt?: string | undefined;
|
|
291
|
+
updatedAt?: string | undefined;
|
|
292
|
+
deletedAt?: string | null | undefined;
|
|
293
|
+
tid?: string | undefined;
|
|
294
|
+
}, {
|
|
295
|
+
status: "RUNNING" | "ERROR" | "SUCCESS" | "CANCELLED" | "EXPIRED";
|
|
296
|
+
nodeName: string;
|
|
297
|
+
specId: string;
|
|
298
|
+
totalSteps: number;
|
|
299
|
+
currentStep: number;
|
|
300
|
+
endTime: string | null;
|
|
301
|
+
history: {
|
|
302
|
+
nodeName: string;
|
|
303
|
+
ts: number;
|
|
304
|
+
e: {
|
|
305
|
+
tid?: string | undefined;
|
|
306
|
+
kind?: string | undefined;
|
|
307
|
+
fid?: string | undefined;
|
|
308
|
+
user?: {
|
|
309
|
+
uid?: string | undefined;
|
|
310
|
+
email?: string | undefined;
|
|
311
|
+
} | undefined;
|
|
312
|
+
device?: {
|
|
313
|
+
aid?: string | undefined;
|
|
314
|
+
sn?: string | undefined;
|
|
315
|
+
mac?: string | undefined;
|
|
316
|
+
} | undefined;
|
|
317
|
+
type?: string | undefined;
|
|
318
|
+
flowId?: string | undefined;
|
|
319
|
+
correlationId?: string | undefined;
|
|
320
|
+
payload?: unknown;
|
|
321
|
+
error?: unknown;
|
|
322
|
+
};
|
|
323
|
+
}[];
|
|
324
|
+
uid?: string | undefined;
|
|
325
|
+
fid?: string | undefined;
|
|
326
|
+
id?: string | undefined;
|
|
327
|
+
createdAt?: string | undefined;
|
|
328
|
+
updatedAt?: string | undefined;
|
|
329
|
+
deletedAt?: string | null | undefined;
|
|
330
|
+
tid?: string | undefined;
|
|
331
|
+
}>;
|
|
332
|
+
export type PlatformFlowStateUpsertDto = z.infer<typeof _PlatformFlowStateUpsertDto>;
|
|
333
|
+
export declare const _PlatformFlowStateDto: z.ZodObject<{
|
|
334
|
+
status: z.ZodEnum<["RUNNING", "ERROR", "SUCCESS", "CANCELLED", "EXPIRED"]>;
|
|
335
|
+
uid: z.ZodOptional<z.ZodString>;
|
|
336
|
+
fid: z.ZodOptional<z.ZodString>;
|
|
337
|
+
nodeName: z.ZodString;
|
|
338
|
+
specId: z.ZodString;
|
|
339
|
+
totalSteps: z.ZodNumber;
|
|
340
|
+
currentStep: z.ZodNumber;
|
|
341
|
+
endTime: z.ZodNullable<z.ZodString>;
|
|
342
|
+
history: z.ZodArray<z.ZodObject<{
|
|
343
|
+
nodeName: z.ZodString;
|
|
344
|
+
ts: z.ZodNumber;
|
|
345
|
+
e: z.ZodObject<{
|
|
346
|
+
tid: z.ZodOptional<z.ZodString>;
|
|
347
|
+
kind: z.ZodOptional<z.ZodString>;
|
|
348
|
+
fid: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
349
|
+
user: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
|
350
|
+
uid: z.ZodOptional<z.ZodString>;
|
|
351
|
+
email: z.ZodOptional<z.ZodString>;
|
|
352
|
+
}, "strip", z.ZodTypeAny, {
|
|
353
|
+
uid?: string | undefined;
|
|
354
|
+
email?: string | undefined;
|
|
355
|
+
}, {
|
|
356
|
+
uid?: string | undefined;
|
|
357
|
+
email?: string | undefined;
|
|
358
|
+
}>>>;
|
|
359
|
+
device: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
|
360
|
+
aid: z.ZodOptional<z.ZodString>;
|
|
361
|
+
sn: z.ZodOptional<z.ZodString>;
|
|
362
|
+
mac: z.ZodOptional<z.ZodString>;
|
|
363
|
+
}, "strip", z.ZodTypeAny, {
|
|
364
|
+
aid?: string | undefined;
|
|
365
|
+
sn?: string | undefined;
|
|
366
|
+
mac?: string | undefined;
|
|
367
|
+
}, {
|
|
368
|
+
aid?: string | undefined;
|
|
369
|
+
sn?: string | undefined;
|
|
370
|
+
mac?: string | undefined;
|
|
371
|
+
}>>>;
|
|
372
|
+
type: z.ZodOptional<z.ZodString>;
|
|
373
|
+
flowId: z.ZodOptional<z.ZodString>;
|
|
374
|
+
correlationId: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
375
|
+
payload: z.ZodOptional<z.ZodOptional<z.ZodUnknown>>;
|
|
376
|
+
error: z.ZodOptional<z.ZodOptional<z.ZodUnknown>>;
|
|
377
|
+
}, "strip", z.ZodTypeAny, {
|
|
378
|
+
tid?: string | undefined;
|
|
379
|
+
kind?: string | undefined;
|
|
380
|
+
fid?: string | undefined;
|
|
381
|
+
user?: {
|
|
382
|
+
uid?: string | undefined;
|
|
383
|
+
email?: string | undefined;
|
|
384
|
+
} | undefined;
|
|
385
|
+
device?: {
|
|
386
|
+
aid?: string | undefined;
|
|
387
|
+
sn?: string | undefined;
|
|
388
|
+
mac?: string | undefined;
|
|
389
|
+
} | undefined;
|
|
390
|
+
type?: string | undefined;
|
|
391
|
+
flowId?: string | undefined;
|
|
392
|
+
correlationId?: string | undefined;
|
|
393
|
+
payload?: unknown;
|
|
394
|
+
error?: unknown;
|
|
395
|
+
}, {
|
|
396
|
+
tid?: string | undefined;
|
|
397
|
+
kind?: string | undefined;
|
|
398
|
+
fid?: string | undefined;
|
|
399
|
+
user?: {
|
|
400
|
+
uid?: string | undefined;
|
|
401
|
+
email?: string | undefined;
|
|
402
|
+
} | undefined;
|
|
403
|
+
device?: {
|
|
404
|
+
aid?: string | undefined;
|
|
405
|
+
sn?: string | undefined;
|
|
406
|
+
mac?: string | undefined;
|
|
407
|
+
} | undefined;
|
|
408
|
+
type?: string | undefined;
|
|
409
|
+
flowId?: string | undefined;
|
|
410
|
+
correlationId?: string | undefined;
|
|
411
|
+
payload?: unknown;
|
|
412
|
+
error?: unknown;
|
|
413
|
+
}>;
|
|
414
|
+
}, "strip", z.ZodTypeAny, {
|
|
415
|
+
nodeName: string;
|
|
416
|
+
ts: number;
|
|
417
|
+
e: {
|
|
418
|
+
tid?: string | undefined;
|
|
419
|
+
kind?: string | undefined;
|
|
420
|
+
fid?: string | undefined;
|
|
421
|
+
user?: {
|
|
422
|
+
uid?: string | undefined;
|
|
423
|
+
email?: string | undefined;
|
|
424
|
+
} | undefined;
|
|
425
|
+
device?: {
|
|
426
|
+
aid?: string | undefined;
|
|
427
|
+
sn?: string | undefined;
|
|
428
|
+
mac?: string | undefined;
|
|
429
|
+
} | undefined;
|
|
430
|
+
type?: string | undefined;
|
|
431
|
+
flowId?: string | undefined;
|
|
432
|
+
correlationId?: string | undefined;
|
|
433
|
+
payload?: unknown;
|
|
434
|
+
error?: unknown;
|
|
435
|
+
};
|
|
436
|
+
}, {
|
|
437
|
+
nodeName: string;
|
|
438
|
+
ts: number;
|
|
439
|
+
e: {
|
|
440
|
+
tid?: string | undefined;
|
|
441
|
+
kind?: string | undefined;
|
|
442
|
+
fid?: string | undefined;
|
|
443
|
+
user?: {
|
|
444
|
+
uid?: string | undefined;
|
|
445
|
+
email?: string | undefined;
|
|
446
|
+
} | undefined;
|
|
447
|
+
device?: {
|
|
448
|
+
aid?: string | undefined;
|
|
449
|
+
sn?: string | undefined;
|
|
450
|
+
mac?: string | undefined;
|
|
451
|
+
} | undefined;
|
|
452
|
+
type?: string | undefined;
|
|
453
|
+
flowId?: string | undefined;
|
|
454
|
+
correlationId?: string | undefined;
|
|
455
|
+
payload?: unknown;
|
|
456
|
+
error?: unknown;
|
|
457
|
+
};
|
|
458
|
+
}>, "many">;
|
|
459
|
+
id: z.ZodString;
|
|
460
|
+
createdAt: z.ZodString;
|
|
461
|
+
updatedAt: z.ZodString;
|
|
462
|
+
deletedAt: z.ZodNullable<z.ZodString>;
|
|
463
|
+
tid: z.ZodString;
|
|
464
|
+
}, "strip", z.ZodTypeAny, {
|
|
465
|
+
status: "RUNNING" | "ERROR" | "SUCCESS" | "CANCELLED" | "EXPIRED";
|
|
466
|
+
id: string;
|
|
467
|
+
tid: string;
|
|
468
|
+
createdAt: string;
|
|
469
|
+
updatedAt: string;
|
|
470
|
+
deletedAt: string | null;
|
|
471
|
+
nodeName: string;
|
|
472
|
+
specId: string;
|
|
473
|
+
totalSteps: number;
|
|
474
|
+
currentStep: number;
|
|
475
|
+
endTime: string | null;
|
|
476
|
+
history: {
|
|
477
|
+
nodeName: string;
|
|
478
|
+
ts: number;
|
|
479
|
+
e: {
|
|
480
|
+
tid?: string | undefined;
|
|
481
|
+
kind?: string | undefined;
|
|
482
|
+
fid?: string | undefined;
|
|
483
|
+
user?: {
|
|
484
|
+
uid?: string | undefined;
|
|
485
|
+
email?: string | undefined;
|
|
486
|
+
} | undefined;
|
|
487
|
+
device?: {
|
|
488
|
+
aid?: string | undefined;
|
|
489
|
+
sn?: string | undefined;
|
|
490
|
+
mac?: string | undefined;
|
|
491
|
+
} | undefined;
|
|
492
|
+
type?: string | undefined;
|
|
493
|
+
flowId?: string | undefined;
|
|
494
|
+
correlationId?: string | undefined;
|
|
495
|
+
payload?: unknown;
|
|
496
|
+
error?: unknown;
|
|
497
|
+
};
|
|
498
|
+
}[];
|
|
499
|
+
uid?: string | undefined;
|
|
500
|
+
fid?: string | undefined;
|
|
501
|
+
}, {
|
|
502
|
+
status: "RUNNING" | "ERROR" | "SUCCESS" | "CANCELLED" | "EXPIRED";
|
|
503
|
+
id: string;
|
|
504
|
+
tid: string;
|
|
505
|
+
createdAt: string;
|
|
506
|
+
updatedAt: string;
|
|
507
|
+
deletedAt: string | null;
|
|
508
|
+
nodeName: string;
|
|
509
|
+
specId: string;
|
|
510
|
+
totalSteps: number;
|
|
511
|
+
currentStep: number;
|
|
512
|
+
endTime: string | null;
|
|
513
|
+
history: {
|
|
514
|
+
nodeName: string;
|
|
515
|
+
ts: number;
|
|
516
|
+
e: {
|
|
517
|
+
tid?: string | undefined;
|
|
518
|
+
kind?: string | undefined;
|
|
519
|
+
fid?: string | undefined;
|
|
520
|
+
user?: {
|
|
521
|
+
uid?: string | undefined;
|
|
522
|
+
email?: string | undefined;
|
|
523
|
+
} | undefined;
|
|
524
|
+
device?: {
|
|
525
|
+
aid?: string | undefined;
|
|
526
|
+
sn?: string | undefined;
|
|
527
|
+
mac?: string | undefined;
|
|
528
|
+
} | undefined;
|
|
529
|
+
type?: string | undefined;
|
|
530
|
+
flowId?: string | undefined;
|
|
531
|
+
correlationId?: string | undefined;
|
|
532
|
+
payload?: unknown;
|
|
533
|
+
error?: unknown;
|
|
534
|
+
};
|
|
535
|
+
}[];
|
|
536
|
+
uid?: string | undefined;
|
|
537
|
+
fid?: string | undefined;
|
|
538
|
+
}>;
|
|
539
|
+
export type PlatformFlowStateDto = z.infer<typeof _PlatformFlowStateDto>;
|
|
540
|
+
export declare const NOOP_FLOW_SPEC: PlatformFlowSpecDto;
|