@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,7 +1,7 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
2
|
export declare const getTypedPageSchema: <DataT>(dataSchema?: z.ZodType<DataT>) => z.ZodObject<{
|
|
3
3
|
kind: z.ZodString;
|
|
4
|
-
data: z.ZodArray<z.ZodType<DataT, z.ZodTypeDef,
|
|
4
|
+
data: z.ZodArray<z.ZodType<DataT, z.ZodTypeDef, any>, "many">;
|
|
5
5
|
error: z.ZodNullable<z.ZodString>;
|
|
6
6
|
hints: z.ZodIntersection<z.ZodObject<{
|
|
7
7
|
limit: z.ZodOptional<z.ZodNumber>;
|
|
@@ -26,9 +26,9 @@ export declare const getTypedPageSchema: <DataT>(dataSchema?: z.ZodType<DataT>)
|
|
|
26
26
|
links?: Record<string, string> | undefined;
|
|
27
27
|
}>, z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodNumber, z.ZodString, z.ZodBoolean, z.ZodNull, z.ZodRecord<z.ZodString, z.ZodString>, z.ZodUndefined]>>>;
|
|
28
28
|
}, "strip", z.ZodTypeAny, {
|
|
29
|
+
kind: string;
|
|
29
30
|
error: string | null;
|
|
30
31
|
data: DataT[];
|
|
31
|
-
kind: string;
|
|
32
32
|
hints: {
|
|
33
33
|
limit?: number | undefined;
|
|
34
34
|
offset?: number | undefined;
|
|
@@ -38,9 +38,9 @@ export declare const getTypedPageSchema: <DataT>(dataSchema?: z.ZodType<DataT>)
|
|
|
38
38
|
links?: Record<string, string> | undefined;
|
|
39
39
|
} & Record<string, string | number | boolean | Record<string, string> | null | undefined>;
|
|
40
40
|
}, {
|
|
41
|
-
error: string | null;
|
|
42
|
-
data: DataT[];
|
|
43
41
|
kind: string;
|
|
42
|
+
error: string | null;
|
|
43
|
+
data: any[];
|
|
44
44
|
hints: {
|
|
45
45
|
limit?: number | undefined;
|
|
46
46
|
offset?: number | undefined;
|
|
@@ -52,8 +52,8 @@ export declare const getTypedPageSchema: <DataT>(dataSchema?: z.ZodType<DataT>)
|
|
|
52
52
|
}>;
|
|
53
53
|
export declare const toTypedPage: <DataT>(dataSchema: z.ZodType<DataT>, data: unknown) => {
|
|
54
54
|
data: DataT[];
|
|
55
|
-
error: string | null;
|
|
56
55
|
kind: string;
|
|
56
|
+
error: string | null;
|
|
57
57
|
hints: {
|
|
58
58
|
limit?: number | undefined;
|
|
59
59
|
offset?: number | undefined;
|
|
@@ -1,18 +1,26 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
-
export declare const _PlatformActionExecutionDto: z.ZodObject<{
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
2
|
+
export declare const _PlatformActionExecutionDto: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
3
|
+
id: z.ZodString;
|
|
4
|
+
createdAt: z.ZodString;
|
|
5
|
+
updatedAt: z.ZodString;
|
|
6
|
+
deletedAt: z.ZodNullable<z.ZodString>;
|
|
7
|
+
}, {
|
|
8
|
+
tid: z.ZodString;
|
|
6
9
|
actionSpecId: z.ZodString;
|
|
10
|
+
flowStateId: z.ZodNullable<z.ZodString>;
|
|
11
|
+
status: z.ZodNativeEnum<typeof import("..").ActionExecutionStatus>;
|
|
12
|
+
input: z.ZodUnknown;
|
|
7
13
|
output: z.ZodUnknown;
|
|
8
14
|
executionTime: z.ZodNullable<z.ZodString>;
|
|
9
15
|
executionDuration: z.ZodNullable<z.ZodNumber>;
|
|
16
|
+
}>, z.objectUtil.extendShape<{
|
|
10
17
|
id: z.ZodString;
|
|
11
18
|
createdAt: z.ZodString;
|
|
12
19
|
updatedAt: z.ZodString;
|
|
13
20
|
deletedAt: z.ZodNullable<z.ZodString>;
|
|
21
|
+
}, {
|
|
14
22
|
tid: z.ZodString;
|
|
15
|
-
}
|
|
23
|
+
}>>, "strip", z.ZodTypeAny, {
|
|
16
24
|
status: import("..").ActionExecutionStatus;
|
|
17
25
|
id: string;
|
|
18
26
|
tid: string;
|
|
@@ -40,32 +48,38 @@ export declare const _PlatformActionExecutionDto: z.ZodObject<{
|
|
|
40
48
|
output?: unknown;
|
|
41
49
|
}>;
|
|
42
50
|
export type PlatformActionExecutionDto = z.infer<typeof _PlatformActionExecutionDto>;
|
|
43
|
-
export declare const _PlatformActionExecutionUpsertDto: z.ZodObject<{
|
|
51
|
+
export declare const _PlatformActionExecutionUpsertDto: z.ZodObject<z.objectUtil.extendShape<{
|
|
44
52
|
input: z.ZodUnknown;
|
|
45
53
|
status: z.ZodNativeEnum<typeof import("..").ActionExecutionStatus>;
|
|
54
|
+
id: z.ZodOptional<z.ZodString>;
|
|
55
|
+
tid: z.ZodString;
|
|
56
|
+
createdAt: z.ZodOptional<z.ZodString>;
|
|
57
|
+
updatedAt: z.ZodOptional<z.ZodString>;
|
|
58
|
+
deletedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
46
59
|
flowStateId: z.ZodNullable<z.ZodString>;
|
|
47
60
|
actionSpecId: z.ZodString;
|
|
48
61
|
output: z.ZodUnknown;
|
|
49
62
|
executionTime: z.ZodNullable<z.ZodString>;
|
|
50
63
|
executionDuration: z.ZodNullable<z.ZodNumber>;
|
|
64
|
+
}, {
|
|
51
65
|
id: z.ZodOptional<z.ZodString>;
|
|
66
|
+
tid: z.ZodOptional<z.ZodString>;
|
|
52
67
|
createdAt: z.ZodOptional<z.ZodString>;
|
|
53
68
|
updatedAt: z.ZodOptional<z.ZodString>;
|
|
54
69
|
deletedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
55
|
-
|
|
56
|
-
}, "strip", z.ZodTypeAny, {
|
|
70
|
+
}>, "strip", z.ZodTypeAny, {
|
|
57
71
|
status: import("..").ActionExecutionStatus;
|
|
58
72
|
flowStateId: string | null;
|
|
59
73
|
actionSpecId: string;
|
|
60
74
|
executionTime: string | null;
|
|
61
75
|
executionDuration: number | null;
|
|
62
76
|
input?: unknown;
|
|
63
|
-
output?: unknown;
|
|
64
77
|
id?: string | undefined;
|
|
78
|
+
tid?: string | undefined;
|
|
65
79
|
createdAt?: string | undefined;
|
|
66
80
|
updatedAt?: string | undefined;
|
|
67
81
|
deletedAt?: string | null | undefined;
|
|
68
|
-
|
|
82
|
+
output?: unknown;
|
|
69
83
|
}, {
|
|
70
84
|
status: import("..").ActionExecutionStatus;
|
|
71
85
|
flowStateId: string | null;
|
|
@@ -73,11 +87,11 @@ export declare const _PlatformActionExecutionUpsertDto: z.ZodObject<{
|
|
|
73
87
|
executionTime: string | null;
|
|
74
88
|
executionDuration: number | null;
|
|
75
89
|
input?: unknown;
|
|
76
|
-
output?: unknown;
|
|
77
90
|
id?: string | undefined;
|
|
91
|
+
tid?: string | undefined;
|
|
78
92
|
createdAt?: string | undefined;
|
|
79
93
|
updatedAt?: string | undefined;
|
|
80
94
|
deletedAt?: string | null | undefined;
|
|
81
|
-
|
|
95
|
+
output?: unknown;
|
|
82
96
|
}>;
|
|
83
97
|
export type PlatformActionExecutionUpsertDto = z.infer<typeof _PlatformActionExecutionUpsertDto>;
|
|
@@ -29,11 +29,12 @@ export declare const _PlatformAgentMembership: z.ZodObject<{
|
|
|
29
29
|
lastLoggedIn: string | null;
|
|
30
30
|
}>;
|
|
31
31
|
export type PlatformAgentMembership = z.infer<typeof _PlatformAgentMembership>;
|
|
32
|
-
export declare const _PlatformAgentDto: z.ZodObject<{
|
|
32
|
+
export declare const _PlatformAgentDto: z.ZodObject<z.objectUtil.extendShape<{
|
|
33
33
|
id: z.ZodString;
|
|
34
34
|
createdAt: z.ZodString;
|
|
35
35
|
updatedAt: z.ZodString;
|
|
36
36
|
deletedAt: z.ZodNullable<z.ZodString>;
|
|
37
|
+
}, {
|
|
37
38
|
firstName: z.ZodNullable<z.ZodString>;
|
|
38
39
|
lastName: z.ZodNullable<z.ZodString>;
|
|
39
40
|
email: z.ZodString;
|
|
@@ -66,7 +67,7 @@ export declare const _PlatformAgentDto: z.ZodObject<{
|
|
|
66
67
|
lastLoggedIn: string | null;
|
|
67
68
|
}>, "many">;
|
|
68
69
|
pictureUrl: z.ZodNullable<z.ZodString>;
|
|
69
|
-
}
|
|
70
|
+
}>, "strip", z.ZodTypeAny, {
|
|
70
71
|
email: string;
|
|
71
72
|
id: string;
|
|
72
73
|
createdAt: string;
|
|
@@ -1,11 +1,28 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
-
export declare const _PlatformCustomActionDto: z.ZodObject<{
|
|
3
|
-
description: z.ZodOptional<z.ZodString>;
|
|
2
|
+
export declare const _PlatformCustomActionDto: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
4
3
|
id: z.ZodString;
|
|
5
4
|
createdAt: z.ZodString;
|
|
6
5
|
updatedAt: z.ZodString;
|
|
7
6
|
deletedAt: z.ZodNullable<z.ZodString>;
|
|
7
|
+
}, {
|
|
8
8
|
displayValue: z.ZodString;
|
|
9
|
+
description: z.ZodOptional<z.ZodString>;
|
|
10
|
+
isTemplate: z.ZodBoolean;
|
|
11
|
+
retryStrategy: z.ZodOptional<z.ZodObject<{
|
|
12
|
+
kind: z.ZodLiteral<"CONSTANT_BACKOFF">;
|
|
13
|
+
maxRetries: z.ZodNumber;
|
|
14
|
+
delay: z.ZodNumber;
|
|
15
|
+
}, "strip", z.ZodTypeAny, {
|
|
16
|
+
kind: "CONSTANT_BACKOFF";
|
|
17
|
+
maxRetries: number;
|
|
18
|
+
delay: number;
|
|
19
|
+
}, {
|
|
20
|
+
kind: "CONSTANT_BACKOFF";
|
|
21
|
+
maxRetries: number;
|
|
22
|
+
delay: number;
|
|
23
|
+
}>>;
|
|
24
|
+
}>, {
|
|
25
|
+
kind: z.ZodLiteral<"REST_ACTION">;
|
|
9
26
|
meta: z.ZodObject<{
|
|
10
27
|
request: z.ZodObject<{
|
|
11
28
|
url: z.ZodString;
|
|
@@ -28,69 +45,55 @@ export declare const _PlatformCustomActionDto: z.ZodObject<{
|
|
|
28
45
|
}, "strip", z.ZodTypeAny, {
|
|
29
46
|
method: string;
|
|
30
47
|
url: string;
|
|
48
|
+
params?: Record<string, string> | undefined;
|
|
31
49
|
payload?: {
|
|
32
50
|
value: string;
|
|
33
51
|
kind: "TEMPLATE";
|
|
34
52
|
format: "JSON";
|
|
35
53
|
} | undefined;
|
|
36
54
|
headers?: Record<string, string> | undefined;
|
|
37
|
-
params?: Record<string, string> | undefined;
|
|
38
55
|
}, {
|
|
39
56
|
method: string;
|
|
40
57
|
url: string;
|
|
58
|
+
params?: Record<string, string> | undefined;
|
|
41
59
|
payload?: {
|
|
42
60
|
value: string;
|
|
43
61
|
kind: "TEMPLATE";
|
|
44
62
|
format: "JSON";
|
|
45
63
|
} | undefined;
|
|
46
64
|
headers?: Record<string, string> | undefined;
|
|
47
|
-
params?: Record<string, string> | undefined;
|
|
48
65
|
}>;
|
|
49
66
|
timeout: z.ZodOptional<z.ZodNumber>;
|
|
50
67
|
}, "strip", z.ZodTypeAny, {
|
|
51
68
|
request: {
|
|
52
69
|
method: string;
|
|
53
70
|
url: string;
|
|
71
|
+
params?: Record<string, string> | undefined;
|
|
54
72
|
payload?: {
|
|
55
73
|
value: string;
|
|
56
74
|
kind: "TEMPLATE";
|
|
57
75
|
format: "JSON";
|
|
58
76
|
} | undefined;
|
|
59
77
|
headers?: Record<string, string> | undefined;
|
|
60
|
-
params?: Record<string, string> | undefined;
|
|
61
78
|
};
|
|
62
79
|
timeout?: number | undefined;
|
|
63
80
|
}, {
|
|
64
81
|
request: {
|
|
65
82
|
method: string;
|
|
66
83
|
url: string;
|
|
84
|
+
params?: Record<string, string> | undefined;
|
|
67
85
|
payload?: {
|
|
68
86
|
value: string;
|
|
69
87
|
kind: "TEMPLATE";
|
|
70
88
|
format: "JSON";
|
|
71
89
|
} | undefined;
|
|
72
90
|
headers?: Record<string, string> | undefined;
|
|
73
|
-
params?: Record<string, string> | undefined;
|
|
74
91
|
};
|
|
75
92
|
timeout?: number | undefined;
|
|
76
93
|
}>;
|
|
77
|
-
|
|
78
|
-
kind: z.ZodLiteral<"REST_ACTION">;
|
|
79
|
-
retryStrategy: z.ZodOptional<z.ZodObject<{
|
|
80
|
-
kind: z.ZodLiteral<"CONSTANT_BACKOFF">;
|
|
81
|
-
maxRetries: z.ZodNumber;
|
|
82
|
-
delay: z.ZodNumber;
|
|
83
|
-
}, "strip", z.ZodTypeAny, {
|
|
84
|
-
kind: "CONSTANT_BACKOFF";
|
|
85
|
-
maxRetries: number;
|
|
86
|
-
delay: number;
|
|
87
|
-
}, {
|
|
88
|
-
kind: "CONSTANT_BACKOFF";
|
|
89
|
-
maxRetries: number;
|
|
90
|
-
delay: number;
|
|
91
|
-
}>>;
|
|
94
|
+
}>, {
|
|
92
95
|
tid: z.ZodString;
|
|
93
|
-
}
|
|
96
|
+
}>, "strip", z.ZodTypeAny, {
|
|
94
97
|
id: string;
|
|
95
98
|
tid: string;
|
|
96
99
|
createdAt: string;
|
|
@@ -101,13 +104,13 @@ export declare const _PlatformCustomActionDto: z.ZodObject<{
|
|
|
101
104
|
request: {
|
|
102
105
|
method: string;
|
|
103
106
|
url: string;
|
|
107
|
+
params?: Record<string, string> | undefined;
|
|
104
108
|
payload?: {
|
|
105
109
|
value: string;
|
|
106
110
|
kind: "TEMPLATE";
|
|
107
111
|
format: "JSON";
|
|
108
112
|
} | undefined;
|
|
109
113
|
headers?: Record<string, string> | undefined;
|
|
110
|
-
params?: Record<string, string> | undefined;
|
|
111
114
|
};
|
|
112
115
|
timeout?: number | undefined;
|
|
113
116
|
};
|
|
@@ -130,13 +133,13 @@ export declare const _PlatformCustomActionDto: z.ZodObject<{
|
|
|
130
133
|
request: {
|
|
131
134
|
method: string;
|
|
132
135
|
url: string;
|
|
136
|
+
params?: Record<string, string> | undefined;
|
|
133
137
|
payload?: {
|
|
134
138
|
value: string;
|
|
135
139
|
kind: "TEMPLATE";
|
|
136
140
|
format: "JSON";
|
|
137
141
|
} | undefined;
|
|
138
142
|
headers?: Record<string, string> | undefined;
|
|
139
|
-
params?: Record<string, string> | undefined;
|
|
140
143
|
};
|
|
141
144
|
timeout?: number | undefined;
|
|
142
145
|
};
|
|
@@ -150,7 +153,7 @@ export declare const _PlatformCustomActionDto: z.ZodObject<{
|
|
|
150
153
|
} | undefined;
|
|
151
154
|
}>;
|
|
152
155
|
export type PlatformCustomActionDto = z.infer<typeof _PlatformCustomActionDto>;
|
|
153
|
-
export declare const _PlatformCustomActionUpsertDto: z.ZodObject<{
|
|
156
|
+
export declare const _PlatformCustomActionUpsertDto: z.ZodObject<z.objectUtil.extendShape<{
|
|
154
157
|
description: z.ZodOptional<z.ZodString>;
|
|
155
158
|
id: z.ZodOptional<z.ZodString>;
|
|
156
159
|
createdAt: z.ZodOptional<z.ZodString>;
|
|
@@ -179,49 +182,49 @@ export declare const _PlatformCustomActionUpsertDto: z.ZodObject<{
|
|
|
179
182
|
}, "strip", z.ZodTypeAny, {
|
|
180
183
|
method: string;
|
|
181
184
|
url: string;
|
|
185
|
+
params?: Record<string, string> | undefined;
|
|
182
186
|
payload?: {
|
|
183
187
|
value: string;
|
|
184
188
|
kind: "TEMPLATE";
|
|
185
189
|
format: "JSON";
|
|
186
190
|
} | undefined;
|
|
187
191
|
headers?: Record<string, string> | undefined;
|
|
188
|
-
params?: Record<string, string> | undefined;
|
|
189
192
|
}, {
|
|
190
193
|
method: string;
|
|
191
194
|
url: string;
|
|
195
|
+
params?: Record<string, string> | undefined;
|
|
192
196
|
payload?: {
|
|
193
197
|
value: string;
|
|
194
198
|
kind: "TEMPLATE";
|
|
195
199
|
format: "JSON";
|
|
196
200
|
} | undefined;
|
|
197
201
|
headers?: Record<string, string> | undefined;
|
|
198
|
-
params?: Record<string, string> | undefined;
|
|
199
202
|
}>;
|
|
200
203
|
timeout: z.ZodOptional<z.ZodNumber>;
|
|
201
204
|
}, "strip", z.ZodTypeAny, {
|
|
202
205
|
request: {
|
|
203
206
|
method: string;
|
|
204
207
|
url: string;
|
|
208
|
+
params?: Record<string, string> | undefined;
|
|
205
209
|
payload?: {
|
|
206
210
|
value: string;
|
|
207
211
|
kind: "TEMPLATE";
|
|
208
212
|
format: "JSON";
|
|
209
213
|
} | undefined;
|
|
210
214
|
headers?: Record<string, string> | undefined;
|
|
211
|
-
params?: Record<string, string> | undefined;
|
|
212
215
|
};
|
|
213
216
|
timeout?: number | undefined;
|
|
214
217
|
}, {
|
|
215
218
|
request: {
|
|
216
219
|
method: string;
|
|
217
220
|
url: string;
|
|
221
|
+
params?: Record<string, string> | undefined;
|
|
218
222
|
payload?: {
|
|
219
223
|
value: string;
|
|
220
224
|
kind: "TEMPLATE";
|
|
221
225
|
format: "JSON";
|
|
222
226
|
} | undefined;
|
|
223
227
|
headers?: Record<string, string> | undefined;
|
|
224
|
-
params?: Record<string, string> | undefined;
|
|
225
228
|
};
|
|
226
229
|
timeout?: number | undefined;
|
|
227
230
|
}>;
|
|
@@ -240,21 +243,22 @@ export declare const _PlatformCustomActionUpsertDto: z.ZodObject<{
|
|
|
240
243
|
maxRetries: number;
|
|
241
244
|
delay: number;
|
|
242
245
|
}>>;
|
|
246
|
+
}, {
|
|
243
247
|
tid: z.ZodString;
|
|
244
|
-
}
|
|
248
|
+
}>, "strip", z.ZodTypeAny, {
|
|
245
249
|
tid: string;
|
|
246
250
|
displayValue: string;
|
|
247
251
|
meta: {
|
|
248
252
|
request: {
|
|
249
253
|
method: string;
|
|
250
254
|
url: string;
|
|
255
|
+
params?: Record<string, string> | undefined;
|
|
251
256
|
payload?: {
|
|
252
257
|
value: string;
|
|
253
258
|
kind: "TEMPLATE";
|
|
254
259
|
format: "JSON";
|
|
255
260
|
} | undefined;
|
|
256
261
|
headers?: Record<string, string> | undefined;
|
|
257
|
-
params?: Record<string, string> | undefined;
|
|
258
262
|
};
|
|
259
263
|
timeout?: number | undefined;
|
|
260
264
|
};
|
|
@@ -277,13 +281,13 @@ export declare const _PlatformCustomActionUpsertDto: z.ZodObject<{
|
|
|
277
281
|
request: {
|
|
278
282
|
method: string;
|
|
279
283
|
url: string;
|
|
284
|
+
params?: Record<string, string> | undefined;
|
|
280
285
|
payload?: {
|
|
281
286
|
value: string;
|
|
282
287
|
kind: "TEMPLATE";
|
|
283
288
|
format: "JSON";
|
|
284
289
|
} | undefined;
|
|
285
290
|
headers?: Record<string, string> | undefined;
|
|
286
|
-
params?: Record<string, string> | undefined;
|
|
287
291
|
};
|
|
288
292
|
timeout?: number | undefined;
|
|
289
293
|
};
|
|
@@ -1,13 +1,15 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
-
export declare const _PlatformCustomScoreValueDto: z.ZodObject<{
|
|
3
|
-
value: z.ZodNumber;
|
|
2
|
+
export declare const _PlatformCustomScoreValueDto: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
4
3
|
id: z.ZodString;
|
|
5
4
|
createdAt: z.ZodString;
|
|
6
5
|
updatedAt: z.ZodString;
|
|
7
6
|
deletedAt: z.ZodNullable<z.ZodString>;
|
|
7
|
+
}, {
|
|
8
8
|
findingSpecId: z.ZodString;
|
|
9
|
+
value: z.ZodNumber;
|
|
10
|
+
}>, {
|
|
9
11
|
tid: z.ZodString;
|
|
10
|
-
}
|
|
12
|
+
}>, "strip", z.ZodTypeAny, {
|
|
11
13
|
value: number;
|
|
12
14
|
id: string;
|
|
13
15
|
tid: string;
|
|
@@ -25,15 +27,16 @@ export declare const _PlatformCustomScoreValueDto: z.ZodObject<{
|
|
|
25
27
|
findingSpecId: string;
|
|
26
28
|
}>;
|
|
27
29
|
export type PlatformCustomScoreValueDto = z.infer<typeof _PlatformCustomScoreValueDto>;
|
|
28
|
-
export declare const _PlatformCustomScoreValueUpsertDto: z.ZodObject<{
|
|
30
|
+
export declare const _PlatformCustomScoreValueUpsertDto: z.ZodObject<z.objectUtil.extendShape<{
|
|
29
31
|
value: z.ZodNumber;
|
|
30
32
|
id: z.ZodOptional<z.ZodString>;
|
|
31
33
|
createdAt: z.ZodOptional<z.ZodString>;
|
|
32
34
|
updatedAt: z.ZodOptional<z.ZodString>;
|
|
33
35
|
deletedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
34
36
|
findingSpecId: z.ZodString;
|
|
37
|
+
}, {
|
|
35
38
|
tid: z.ZodString;
|
|
36
|
-
}
|
|
39
|
+
}>, "strip", z.ZodTypeAny, {
|
|
37
40
|
value: number;
|
|
38
41
|
tid: string;
|
|
39
42
|
findingSpecId: string;
|
|
@@ -51,11 +54,12 @@ export declare const _PlatformCustomScoreValueUpsertDto: z.ZodObject<{
|
|
|
51
54
|
deletedAt?: string | null | undefined;
|
|
52
55
|
}>;
|
|
53
56
|
export type PlatformCustomScoreValueUpsertDto = z.infer<typeof _PlatformCustomScoreValueUpsertDto>;
|
|
54
|
-
export declare const _PlatformCustomScoreCohortDto: z.ZodObject<{
|
|
57
|
+
export declare const _PlatformCustomScoreCohortDto: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
55
58
|
id: z.ZodString;
|
|
56
59
|
createdAt: z.ZodString;
|
|
57
60
|
updatedAt: z.ZodString;
|
|
58
61
|
deletedAt: z.ZodNullable<z.ZodString>;
|
|
62
|
+
}, {
|
|
59
63
|
cohort: z.ZodArray<z.ZodObject<{
|
|
60
64
|
id: z.ZodString;
|
|
61
65
|
kind: z.ZodNativeEnum<typeof import("..").CohortKind>;
|
|
@@ -76,8 +80,9 @@ export declare const _PlatformCustomScoreCohortDto: z.ZodObject<{
|
|
|
76
80
|
kind: import("..").CohortKind;
|
|
77
81
|
}>, "many">;
|
|
78
82
|
multiplier: z.ZodNumber;
|
|
83
|
+
}>, {
|
|
79
84
|
tid: z.ZodString;
|
|
80
|
-
}
|
|
85
|
+
}>, "strip", z.ZodTypeAny, {
|
|
81
86
|
id: string;
|
|
82
87
|
tid: string;
|
|
83
88
|
createdAt: string;
|
|
@@ -107,11 +112,12 @@ export declare const _PlatformCustomScoreCohortDto: z.ZodObject<{
|
|
|
107
112
|
multiplier: number;
|
|
108
113
|
}>;
|
|
109
114
|
export type PlatformCustomScoreCohortDto = z.infer<typeof _PlatformCustomScoreCohortDto>;
|
|
110
|
-
export declare const _PlatformCustomScoreCohortUpsertDto: z.ZodObject<{
|
|
115
|
+
export declare const _PlatformCustomScoreCohortUpsertDto: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
111
116
|
id: z.ZodString;
|
|
112
117
|
createdAt: z.ZodString;
|
|
113
118
|
updatedAt: z.ZodString;
|
|
114
119
|
deletedAt: z.ZodNullable<z.ZodString>;
|
|
120
|
+
}, {
|
|
115
121
|
cohort: z.ZodArray<z.ZodObject<{
|
|
116
122
|
id: z.ZodString;
|
|
117
123
|
kind: z.ZodNativeEnum<typeof import("..").CohortKind>;
|
|
@@ -132,8 +138,9 @@ export declare const _PlatformCustomScoreCohortUpsertDto: z.ZodObject<{
|
|
|
132
138
|
kind: import("..").CohortKind;
|
|
133
139
|
}>, "many">;
|
|
134
140
|
multiplier: z.ZodNumber;
|
|
141
|
+
}>, {
|
|
135
142
|
tid: z.ZodString;
|
|
136
|
-
}
|
|
143
|
+
}>, "strip", z.ZodTypeAny, {
|
|
137
144
|
id: string;
|
|
138
145
|
tid: string;
|
|
139
146
|
createdAt: string;
|