@ampsec/platform-client 30.0.0 → 31.1.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.
|
@@ -37,12 +37,6 @@ export type FindingUpsertDto = BaseUpsertDto & {
|
|
|
37
37
|
uid?: string | undefined | null;
|
|
38
38
|
/** Id of the SaasComponent related to the given finding */
|
|
39
39
|
scid?: string | undefined | null;
|
|
40
|
-
/**
|
|
41
|
-
* Used as the naive implementation of notification schedules inside Flows.
|
|
42
|
-
* "Resets" notifications schedule after pause or failed verification.
|
|
43
|
-
* Defaults to "NOW".
|
|
44
|
-
*/
|
|
45
|
-
nextNotificationAfter?: string;
|
|
46
40
|
/** Number of times this finding was marked PENDING_VERIFIED. Defaults to `0` */
|
|
47
41
|
verificationCount?: number;
|
|
48
42
|
/** Optionally populated when requested through query param `include=user` */
|
|
@@ -28,5 +28,7 @@ export type NotificationUpsertDto = BaseUpsertDto & {
|
|
|
28
28
|
status: NotificationStatus;
|
|
29
29
|
/** Data to be used for the notification */
|
|
30
30
|
data: NotificationStepData;
|
|
31
|
+
/** Optional user provided notification message */
|
|
32
|
+
rawContent?: string;
|
|
31
33
|
};
|
|
32
34
|
export type NotificationDto = NotificationUpsertDto & BaseDto;
|
|
@@ -48,11 +48,5 @@ export type SaasComponentUpsertDto = ChangeAwareUpsertDto & {
|
|
|
48
48
|
extKey: string;
|
|
49
49
|
/** Component display value */
|
|
50
50
|
displayValue: string;
|
|
51
|
-
/**
|
|
52
|
-
* Used as the naive implementation of notification schedules inside Flows.
|
|
53
|
-
* "Resets" notifications schedule after pause or failed verification.
|
|
54
|
-
* Defaults to "NOW".
|
|
55
|
-
*/
|
|
56
|
-
nextNotificationAfter?: string;
|
|
57
51
|
};
|
|
58
52
|
export type SaasComponentDto = ChangeAwareDto & SaasComponentUpsertDto;
|
package/package.json
CHANGED
package/src/dto/findings.dto.ts
CHANGED
|
@@ -39,12 +39,6 @@ export type FindingUpsertDto = BaseUpsertDto & {
|
|
|
39
39
|
uid?: string | undefined | null;
|
|
40
40
|
/** Id of the SaasComponent related to the given finding */
|
|
41
41
|
scid?: string | undefined | null;
|
|
42
|
-
/**
|
|
43
|
-
* Used as the naive implementation of notification schedules inside Flows.
|
|
44
|
-
* "Resets" notifications schedule after pause or failed verification.
|
|
45
|
-
* Defaults to "NOW".
|
|
46
|
-
*/
|
|
47
|
-
nextNotificationAfter?: string;
|
|
48
42
|
/** Number of times this finding was marked PENDING_VERIFIED. Defaults to `0` */
|
|
49
43
|
verificationCount?: number;
|
|
50
44
|
/** Optionally populated when requested through query param `include=user` */
|
|
@@ -30,6 +30,8 @@ export type NotificationUpsertDto = BaseUpsertDto & {
|
|
|
30
30
|
status: NotificationStatus;
|
|
31
31
|
/** Data to be used for the notification */
|
|
32
32
|
data: NotificationStepData;
|
|
33
|
+
/** Optional user provided notification message */
|
|
34
|
+
rawContent?: string;
|
|
33
35
|
};
|
|
34
36
|
|
|
35
37
|
export type NotificationDto = NotificationUpsertDto & BaseDto;
|
|
@@ -50,12 +50,6 @@ export type SaasComponentUpsertDto = ChangeAwareUpsertDto & {
|
|
|
50
50
|
extKey: string;
|
|
51
51
|
/** Component display value */
|
|
52
52
|
displayValue: string;
|
|
53
|
-
/**
|
|
54
|
-
* Used as the naive implementation of notification schedules inside Flows.
|
|
55
|
-
* "Resets" notifications schedule after pause or failed verification.
|
|
56
|
-
* Defaults to "NOW".
|
|
57
|
-
*/
|
|
58
|
-
nextNotificationAfter?: string;
|
|
59
53
|
};
|
|
60
54
|
|
|
61
55
|
export type SaasComponentDto = ChangeAwareDto & SaasComponentUpsertDto;
|