@ampsec/platform-client 48.1.0 → 48.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.
@@ -45,6 +45,8 @@ export type CreateNotificationDto = BaseUpsertDto & {
45
45
  uid?: string;
46
46
  /** The finding id this notification is in regards to */
47
47
  fid?: string;
48
+ /** ID of the user from which the notification was sent */
49
+ fuid?: string | null;
48
50
  };
49
51
  export type FindingNotificationContext = {
50
52
  /** Severity of the finding */
@@ -89,11 +91,17 @@ export type ProviderNotificationContext = {
89
91
  export type NotificationContext = {
90
92
  /** Estimated completion time for the remediation described by the notification */
91
93
  estimatedCompletionTime: number;
94
+ /** Asset to which the notification refers */
92
95
  asset?: AssetNotificationContext;
96
+ /** Finding that generated the notification */
93
97
  finding?: FindingNotificationContext;
98
+ /** Provider to which the notification is associated */
94
99
  provider?: ProviderNotificationContext;
100
+ /** Training to which the notification refers */
95
101
  training?: TrainingNotificationContext;
102
+ /** User to which the notification is being sent */
96
103
  user?: UserNotificationContext;
104
+ /** Vulnerability to which the notification refers */
97
105
  vulnerability?: VulnerabilityNotificationContext;
98
106
  };
99
107
  export type ContentStrategySpecification = {
@@ -142,5 +150,7 @@ export type NotificationUpsertDto = BaseUpsertDto & {
142
150
  fid?: string | null;
143
151
  /** ID of the user to which the notification is being sent */
144
152
  uid?: string | null;
153
+ /** ID of the user from which the notification was sent */
154
+ fuid?: string | null;
145
155
  };
146
156
  export type NotificationDto = NotificationUpsertDto & BaseDto;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ampsec/platform-client",
3
- "version": "48.1.0",
3
+ "version": "48.2.0",
4
4
  "description": "",
5
5
  "main": "build/src/index.js",
6
6
  "runkitExampleFilename": "example/main.js",
@@ -52,6 +52,8 @@ export type CreateNotificationDto = BaseUpsertDto & {
52
52
  uid?: string;
53
53
  /** The finding id this notification is in regards to */
54
54
  fid?: string;
55
+ /** ID of the user from which the notification was sent */
56
+ fuid?: string | null;
55
57
  };
56
58
 
57
59
  export type FindingNotificationContext = {
@@ -102,11 +104,17 @@ export type ProviderNotificationContext = {
102
104
  export type NotificationContext = {
103
105
  /** Estimated completion time for the remediation described by the notification */
104
106
  estimatedCompletionTime: number;
107
+ /** Asset to which the notification refers */
105
108
  asset?: AssetNotificationContext;
109
+ /** Finding that generated the notification */
106
110
  finding?: FindingNotificationContext;
111
+ /** Provider to which the notification is associated */
107
112
  provider?: ProviderNotificationContext;
113
+ /** Training to which the notification refers */
108
114
  training?: TrainingNotificationContext;
115
+ /** User to which the notification is being sent */
109
116
  user?: UserNotificationContext;
117
+ /** Vulnerability to which the notification refers */
110
118
  vulnerability?: VulnerabilityNotificationContext;
111
119
  };
112
120
 
@@ -159,6 +167,8 @@ export type NotificationUpsertDto = BaseUpsertDto & {
159
167
  fid?: string | null;
160
168
  /** ID of the user to which the notification is being sent */
161
169
  uid?: string | null;
170
+ /** ID of the user from which the notification was sent */
171
+ fuid?: string | null;
162
172
  };
163
173
 
164
174
  export type NotificationDto = NotificationUpsertDto & BaseDto;