@ampsec/platform-client 63.3.0 → 64.0.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.
@@ -10,7 +10,8 @@ export declare const _ActionExecutionDto: z.ZodObject<{
10
10
  updatedAt: z.ZodString;
11
11
  deletedAt: z.ZodNullable<z.ZodString>;
12
12
  tid: z.ZodString;
13
- specId: z.ZodString;
13
+ actionSpecId: z.ZodString;
14
+ flowStateId: z.ZodNullable<z.ZodString>;
14
15
  status: z.ZodNativeEnum<typeof ActionExecutionStatus>;
15
16
  input: z.ZodUnknown;
16
17
  output: z.ZodUnknown;
@@ -23,7 +24,8 @@ export declare const _ActionExecutionDto: z.ZodObject<{
23
24
  createdAt: string;
24
25
  updatedAt: string;
25
26
  deletedAt: string | null;
26
- specId: string;
27
+ actionSpecId: string;
28
+ flowStateId: string | null;
27
29
  executionTime: string | null;
28
30
  executionDuration: number | null;
29
31
  input?: unknown;
@@ -35,7 +37,8 @@ export declare const _ActionExecutionDto: z.ZodObject<{
35
37
  createdAt: string;
36
38
  updatedAt: string;
37
39
  deletedAt: string | null;
38
- specId: string;
40
+ actionSpecId: string;
41
+ flowStateId: string | null;
39
42
  executionTime: string | null;
40
43
  executionDuration: number | null;
41
44
  input?: unknown;
@@ -50,14 +53,16 @@ export declare const _ActionExecutionUpsertDto: z.ZodObject<{
50
53
  createdAt: z.ZodOptional<z.ZodString>;
51
54
  updatedAt: z.ZodOptional<z.ZodString>;
52
55
  deletedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
53
- specId: z.ZodString;
56
+ actionSpecId: z.ZodString;
57
+ flowStateId: z.ZodNullable<z.ZodString>;
54
58
  output: z.ZodUnknown;
55
59
  executionTime: z.ZodNullable<z.ZodString>;
56
60
  executionDuration: z.ZodNullable<z.ZodNumber>;
57
61
  }, "strip", z.ZodTypeAny, {
58
62
  status: ActionExecutionStatus;
59
63
  tid: string;
60
- specId: string;
64
+ actionSpecId: string;
65
+ flowStateId: string | null;
61
66
  executionTime: string | null;
62
67
  executionDuration: number | null;
63
68
  input?: unknown;
@@ -69,7 +74,8 @@ export declare const _ActionExecutionUpsertDto: z.ZodObject<{
69
74
  }, {
70
75
  status: ActionExecutionStatus;
71
76
  tid: string;
72
- specId: string;
77
+ actionSpecId: string;
78
+ flowStateId: string | null;
73
79
  executionTime: string | null;
74
80
  executionDuration: number | null;
75
81
  input?: unknown;
@@ -10,7 +10,8 @@ exports._ActionExecutionInput = zod_1.z.unknown();
10
10
  exports._ActionExecutionOutput = zod_1.z.unknown();
11
11
  exports._ActionExecutionDto = base_dto_1._BaseDto.extend({
12
12
  tid: zod_1.z.string(),
13
- specId: zod_1.z.string(),
13
+ actionSpecId: zod_1.z.string(),
14
+ flowStateId: zod_1.z.nullable(zod_1.z.string()),
14
15
  status: zod_1.z.nativeEnum(actionExecution_status_1.ActionExecutionStatus),
15
16
  input: exports._ActionExecutionInput,
16
17
  output: exports._ActionExecutionOutput,
@@ -1 +1 @@
1
- {"version":3,"file":"actionExecution.dto.js","sourceRoot":"","sources":["../../../src/dto/actionExecution.dto.ts"],"names":[],"mappings":";;;AAAA,6BAAsB;AACtB,yCAAqD;AACrD,2EAAqE;AAErE,kIAAkI;AACrH,QAAA,qBAAqB,GAAG,OAAC,CAAC,OAAO,EAAE,CAAC;AAEjD,kIAAkI;AACrH,QAAA,sBAAsB,GAAG,OAAC,CAAC,OAAO,EAAE,CAAC;AAGrC,QAAA,mBAAmB,GAAG,mBAAQ,CAAC,MAAM,CAAC;IACjD,GAAG,EAAE,OAAC,CAAC,MAAM,EAAE;IACf,MAAM,EAAE,OAAC,CAAC,MAAM,EAAE;IAClB,MAAM,EAAE,OAAC,CAAC,UAAU,CAAC,8CAAqB,CAAC;IAC3C,KAAK,EAAE,6BAAqB;IAC5B,MAAM,EAAE,8BAAsB;IAC9B,aAAa,EAAE,OAAC,CAAC,QAAQ,CAAC,OAAC,CAAC,MAAM,EAAE,CAAC;IACrC,iBAAiB,EAAE,OAAC,CAAC,QAAQ,CAAC,OAAC,CAAC,MAAM,EAAE,CAAC;CAC1C,CAAC,CAAC;AAGU,QAAA,yBAAyB,GAAG,2BAAmB,CAAC,OAAO,CAAC,0BAAe,CAAC,CAAC"}
1
+ {"version":3,"file":"actionExecution.dto.js","sourceRoot":"","sources":["../../../src/dto/actionExecution.dto.ts"],"names":[],"mappings":";;;AAAA,6BAAsB;AACtB,yCAAqD;AACrD,2EAAqE;AAErE,kIAAkI;AACrH,QAAA,qBAAqB,GAAG,OAAC,CAAC,OAAO,EAAE,CAAC;AAEjD,kIAAkI;AACrH,QAAA,sBAAsB,GAAG,OAAC,CAAC,OAAO,EAAE,CAAC;AAGrC,QAAA,mBAAmB,GAAG,mBAAQ,CAAC,MAAM,CAAC;IACjD,GAAG,EAAE,OAAC,CAAC,MAAM,EAAE;IACf,YAAY,EAAE,OAAC,CAAC,MAAM,EAAE;IACxB,WAAW,EAAE,OAAC,CAAC,QAAQ,CAAC,OAAC,CAAC,MAAM,EAAE,CAAC;IACnC,MAAM,EAAE,OAAC,CAAC,UAAU,CAAC,8CAAqB,CAAC;IAC3C,KAAK,EAAE,6BAAqB;IAC5B,MAAM,EAAE,8BAAsB;IAC9B,aAAa,EAAE,OAAC,CAAC,QAAQ,CAAC,OAAC,CAAC,MAAM,EAAE,CAAC;IACrC,iBAAiB,EAAE,OAAC,CAAC,QAAQ,CAAC,OAAC,CAAC,MAAM,EAAE,CAAC;CAC1C,CAAC,CAAC;AAGU,QAAA,yBAAyB,GAAG,2BAAmB,CAAC,OAAO,CAAC,0BAAe,CAAC,CAAC"}
@@ -2,7 +2,8 @@ import { z } from 'zod';
2
2
  export declare const _PlatformActionExecutionDto: z.ZodObject<{
3
3
  input: z.ZodUnknown;
4
4
  status: z.ZodNativeEnum<typeof import("..").ActionExecutionStatus>;
5
- specId: z.ZodString;
5
+ actionSpecId: z.ZodString;
6
+ flowStateId: z.ZodNullable<z.ZodString>;
6
7
  output: z.ZodUnknown;
7
8
  executionTime: z.ZodNullable<z.ZodString>;
8
9
  executionDuration: z.ZodNullable<z.ZodNumber>;
@@ -18,7 +19,8 @@ export declare const _PlatformActionExecutionDto: z.ZodObject<{
18
19
  createdAt: string;
19
20
  updatedAt: string;
20
21
  deletedAt: string | null;
21
- specId: string;
22
+ actionSpecId: string;
23
+ flowStateId: string | null;
22
24
  executionTime: string | null;
23
25
  executionDuration: number | null;
24
26
  input?: unknown;
@@ -30,7 +32,8 @@ export declare const _PlatformActionExecutionDto: z.ZodObject<{
30
32
  createdAt: string;
31
33
  updatedAt: string;
32
34
  deletedAt: string | null;
33
- specId: string;
35
+ actionSpecId: string;
36
+ flowStateId: string | null;
34
37
  executionTime: string | null;
35
38
  executionDuration: number | null;
36
39
  input?: unknown;
@@ -40,7 +43,8 @@ export type PlatformActionExecutionDto = z.infer<typeof _PlatformActionExecution
40
43
  export declare const _PlatformActionExecutionUpsertDto: z.ZodObject<{
41
44
  input: z.ZodUnknown;
42
45
  status: z.ZodNativeEnum<typeof import("..").ActionExecutionStatus>;
43
- specId: z.ZodString;
46
+ actionSpecId: z.ZodString;
47
+ flowStateId: z.ZodNullable<z.ZodString>;
44
48
  output: z.ZodUnknown;
45
49
  executionTime: z.ZodNullable<z.ZodString>;
46
50
  executionDuration: z.ZodNullable<z.ZodNumber>;
@@ -51,7 +55,8 @@ export declare const _PlatformActionExecutionUpsertDto: z.ZodObject<{
51
55
  tid: z.ZodOptional<z.ZodString>;
52
56
  }, "strip", z.ZodTypeAny, {
53
57
  status: import("..").ActionExecutionStatus;
54
- specId: string;
58
+ actionSpecId: string;
59
+ flowStateId: string | null;
55
60
  executionTime: string | null;
56
61
  executionDuration: number | null;
57
62
  input?: unknown;
@@ -63,7 +68,8 @@ export declare const _PlatformActionExecutionUpsertDto: z.ZodObject<{
63
68
  tid?: string | undefined;
64
69
  }, {
65
70
  status: import("..").ActionExecutionStatus;
66
- specId: string;
71
+ actionSpecId: string;
72
+ flowStateId: string | null;
67
73
  executionTime: string | null;
68
74
  executionDuration: number | null;
69
75
  input?: unknown;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ampsec/platform-client",
3
- "version": "63.3.0",
3
+ "version": "64.0.0",
4
4
  "description": "",
5
5
  "main": "build/src/index.js",
6
6
  "runkitExampleFilename": "example/main.js",
@@ -11,7 +11,8 @@ export type ActionExecutionOutput = z.infer<typeof _ActionExecutionOutput>;
11
11
 
12
12
  export const _ActionExecutionDto = _BaseDto.extend({
13
13
  tid: z.string(),
14
- specId: z.string(),
14
+ actionSpecId: z.string(),
15
+ flowStateId: z.nullable(z.string()),
15
16
  status: z.nativeEnum(ActionExecutionStatus),
16
17
  input: _ActionExecutionInput,
17
18
  output: _ActionExecutionOutput,