oro-sdk-apis 1.3.0 → 1.4.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.
@@ -20,6 +20,7 @@ export interface AuthRecoverRequest {
20
20
  practiceUuid: string;
21
21
  email: string;
22
22
  }
23
+ export declare type IdentityResendConfirmEmailRequest = AuthRecoverRequest;
23
24
  export interface WhoAmIResponse {
24
25
  aud: string;
25
26
  exp: number;
@@ -2202,6 +2202,38 @@ var GuardService = /*#__PURE__*/function () {
2202
2202
  }
2203
2203
 
2204
2204
  return identityMFAQRCode;
2205
+ }()
2206
+ /**
2207
+ * Attempt to resend the email confirmation email
2208
+ *
2209
+ * @param req IdentityResendConfirmEmailRequest
2210
+ * @return void
2211
+ */
2212
+ ;
2213
+
2214
+ _proto.identitySendConfirmEmail =
2215
+ /*#__PURE__*/
2216
+ function () {
2217
+ var _identitySendConfirmEmail = /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/runtime_1.mark(function _callee10(req) {
2218
+ return runtime_1.wrap(function _callee10$(_context10) {
2219
+ while (1) {
2220
+ switch (_context10.prev = _context10.next) {
2221
+ case 0:
2222
+ return _context10.abrupt("return", this.api.post(this.baseURL + "/v1/identity/confirm", req));
2223
+
2224
+ case 1:
2225
+ case "end":
2226
+ return _context10.stop();
2227
+ }
2228
+ }
2229
+ }, _callee10, this);
2230
+ }));
2231
+
2232
+ function identitySendConfirmEmail(_x11) {
2233
+ return _identitySendConfirmEmail.apply(this, arguments);
2234
+ }
2235
+
2236
+ return identitySendConfirmEmail;
2205
2237
  }();
2206
2238
 
2207
2239
  return GuardService;