oro-sdk-apis 6.0.0 → 6.0.1

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.
@@ -104,6 +104,12 @@ export declare class GuardService {
104
104
  * @return void
105
105
  */
106
106
  identitySendConfirmEmail(req: IdentityResendConfirmEmailRequest): Promise<void>;
107
+ /**
108
+ * Notifies the guard and confirms the phishing attempt
109
+ * @param attemptUuid the guard logged attempt id
110
+ * @returns void
111
+ */
112
+ authConfirmPhishingAttempts(attemptUuid: Uuid): Promise<void>;
107
113
  /**
108
114
  * Get an identity using a customer email (format: customer+[b64Hash]@orohealth.me)
109
115
  *
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "6.0.0",
2
+ "version": "6.0.1",
3
3
  "main": "dist/index.js",
4
4
  "typings": "dist/index.d.ts",
5
5
  "files": [
@@ -273,6 +273,15 @@ export class GuardService {
273
273
  return this.api.post<void>(`${this.baseURL}/v1/identity/confirm`, req)
274
274
  }
275
275
 
276
+ /**
277
+ * Notifies the guard and confirms the phishing attempt
278
+ * @param attemptUuid the guard logged attempt id
279
+ * @returns void
280
+ */
281
+ public async authConfirmPhishingAttempts(attemptUuid: Uuid): Promise<void> {
282
+ return this.api.put<void>(`${this.baseURL}/v1/auth/attempts/${attemptUuid}`, {})
283
+ }
284
+
276
285
  /**
277
286
  * Get an identity using a customer email (format: customer+[b64Hash]@orohealth.me)
278
287
  *