@@ -264,6 +264,10 @@ type TokenContainer {
264
264
refreshToken : String
265
265
}
266
266
267
+ type VerifiedPhoneNumberResponse {
268
+ encryptedPhoneNumber : String !
269
+ }
270
+
267
271
scalar Void
268
272
269
273
type WalletAcl {
@@ -721,24 +725,16 @@ type mutation_root {
721
725
recover_backup (schemaName : String ! ): RecoverBackupResponse
722
726
refresh_session (refreshToken : String ! ): TokenContainer
723
727
refresh_session_v2 (refreshToken : String ! ): SessionPermit
724
- """
725
- Allows registering even if a previous registration is verified or pending verification.
726
- """
727
- request_phone_number_verification (number : String ! ): Void
728
-
729
- """
730
- If a distinct phone number was previously registered, expire it in case this
731
- new one gets verified.
732
- """
733
- verify_phone_number (number : String ! , otp : String ! ): Void
734
728
register_notification_token (language : String ! , notificationToken : String ! ): Token
735
729
register_topup (email : String , orderId : String ! ): RegisterTopupResponse
736
730
report_payment_telemetry (events : PaymentTelemetryEventsInput , telemetryId : String ! ): ReportPaymentTelemetryResponse
731
+ request_phone_number_verification (encryptedNumber : String ! , number : String ! ): Void
737
732
start_prepared_session (challenge : String ! , challengeSignature : String ! , challengeSignatureType : ChallengeSignatureType , preparedPermissionToken : String ! ): TokenContainer
738
733
start_prepared_session_v2 (challenge : String ! , challengeSignature : String ! , challengeSignatureType : ChallengeSignatureType , preparedPermissionToken : String ! ): SessionPermit
739
734
start_session (authPubKey : String ! , challenge : String ! , challengeSignature : String ! , challengeSignatureType : ChallengeSignatureType , signedAuthPubKey : String ! , walletPubKey : String ! ): TokenContainer
740
735
start_session_v2 (authPubKey : String ! , challenge : String ! , challengeSignature : String ! , challengeSignatureType : ChallengeSignatureType , signedAuthPubKey : String ! , walletPubKey : String ! ): SessionPermit
741
736
submit_lnurl_pay_invoice (id : String ! , invoice : String ): Void
737
+ verify_phone_number (number : String ! , otp : String ! ): Void
742
738
}
743
739
744
740
scalar numeric
@@ -826,12 +822,6 @@ type query_root {
826
822
"""fetch data from the table: "country" using primary key columns"""
827
823
country_by_pk (countryCode : String ! ): country
828
824
829
- """
830
- Returns the PhoneNumberResponse corresponding to the VERIFIED registration.
831
- If there's no VERIFIED registration, it returns null.
832
- """
833
- verified_phone_number : PhoneNumberResponse
834
-
835
825
"""
836
826
fetch data from the table: "currency"
837
827
"""
@@ -884,6 +874,7 @@ type query_root {
884
874
notification_service_version : String
885
875
payment_service_version : String
886
876
prepare_wallet_session (challenge : String ! , ownerPubKeyId : String ! , signature : String ! ): String
877
+ sms_service_version : String
887
878
888
879
"""
889
880
fetch data from the table: "token"
@@ -931,6 +922,7 @@ type query_root {
931
922
"""fetch data from the table: "topup" using primary key columns"""
932
923
topup_by_pk (id : uuid ! ): topup
933
924
topup_service_version : String
925
+ verified_phone_number : VerifiedPhoneNumberResponse
934
926
935
927
"""
936
928
fetch data from the table: "wallet_acl"
@@ -956,10 +948,6 @@ type query_root {
956
948
wallet_acl_by_pk (id : uuid ! ): wallet_acl
957
949
}
958
950
959
- type PhoneNumberResponse {
960
- phoneNumber : String !
961
- }
962
-
963
951
enum service_enum {
964
952
LIPA_WALLET
965
953
POCKET_EXCHANGE
0 commit comments