@connect-plus-online/ogabai-integrations 0.0.21 → 0.0.22

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.
package/dist/index.cjs.js CHANGED
@@ -545,6 +545,9 @@ var authSchema = {
545
545
  };
546
546
 
547
547
  // src/services/user/types/auth.type.ts
548
+ var checkRegistrationResponse = [
549
+ "isRegistered"
550
+ ];
548
551
  var changePinResponse = [
549
552
  "success"
550
553
  ];
@@ -572,6 +575,18 @@ var signUpResponse = [
572
575
 
573
576
  // src/services/user/auth.service.ts
574
577
  var createAuthService = (client) => ({
578
+ async checkRegistration(input, fetchFields, option) {
579
+ var _a;
580
+ return client.request(
581
+ authSchema.checkRegistration(
582
+ gqlQueryStringBuilder(
583
+ (_a = fetchFields == null ? void 0 : fetchFields.root) != null ? _a : checkRegistrationResponse
584
+ )
585
+ ),
586
+ input,
587
+ option
588
+ );
589
+ },
575
590
  async changePin(input, fetchFields, option) {
576
591
  var _a;
577
592
  return client.request(