@jealous-robot-dev/shared-types-responses 1.18.2 → 1.18.6
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,11 @@ export declare enum ASSIcons { | |
| 20 20 | 
             
                PERSONAL_INFO = "PERSONAL_INFO",
         | 
| 21 21 | 
             
                MSG = "MSG"
         | 
| 22 22 | 
             
            }
         | 
| 23 | 
            +
            export declare enum CommonErrorReponses {
         | 
| 24 | 
            +
                NOT_FOUND = "NOT_FOUND",
         | 
| 25 | 
            +
                INTERNAL_ERROR = "INTERNAL_ERROR",
         | 
| 26 | 
            +
                BAD_REQUEST = "BAD_REQUEST"
         | 
| 27 | 
            +
            }
         | 
| 23 28 | 
             
            export interface FAQ {
         | 
| 24 29 | 
             
                question: string;
         | 
| 25 30 | 
             
                icon: ASSIcons;
         | 
    
        package/build/services/common.js
    CHANGED
    
    | @@ -1,6 +1,6 @@ | |
| 1 1 | 
             
            "use strict";
         | 
| 2 2 | 
             
            Object.defineProperty(exports, "__esModule", { value: true });
         | 
| 3 | 
            -
            exports.Languages = exports.UserPreferences = exports.CurrencyPosition = exports.ASSIcons = void 0;
         | 
| 3 | 
            +
            exports.Languages = exports.UserPreferences = exports.CurrencyPosition = exports.CommonErrorReponses = exports.ASSIcons = void 0;
         | 
| 4 4 | 
             
            var ASSIcons;
         | 
| 5 5 | 
             
            (function (ASSIcons) {
         | 
| 6 6 | 
             
                ASSIcons["PREFS"] = "PREFS";
         | 
| @@ -15,6 +15,12 @@ var ASSIcons; | |
| 15 15 | 
             
                ASSIcons["PERSONAL_INFO"] = "PERSONAL_INFO";
         | 
| 16 16 | 
             
                ASSIcons["MSG"] = "MSG";
         | 
| 17 17 | 
             
            })(ASSIcons = exports.ASSIcons || (exports.ASSIcons = {}));
         | 
| 18 | 
            +
            var CommonErrorReponses;
         | 
| 19 | 
            +
            (function (CommonErrorReponses) {
         | 
| 20 | 
            +
                CommonErrorReponses["NOT_FOUND"] = "NOT_FOUND";
         | 
| 21 | 
            +
                CommonErrorReponses["INTERNAL_ERROR"] = "INTERNAL_ERROR";
         | 
| 22 | 
            +
                CommonErrorReponses["BAD_REQUEST"] = "BAD_REQUEST";
         | 
| 23 | 
            +
            })(CommonErrorReponses = exports.CommonErrorReponses || (exports.CommonErrorReponses = {}));
         | 
| 18 24 | 
             
            var CurrencyPosition;
         | 
| 19 25 | 
             
            (function (CurrencyPosition) {
         | 
| 20 26 | 
             
                CurrencyPosition["BEFORE"] = "before";
         | 
| @@ -104,11 +104,24 @@ export interface ShortAuthFormData { | |
| 104 104 | 
             
            export interface AuthFormData {
         | 
| 105 105 | 
             
                prev_session?: ShortAuthFormData;
         | 
| 106 106 | 
             
            }
         | 
| 107 | 
            +
            export declare enum AUTH_ID_TYPE {
         | 
| 108 | 
            +
                EMAIL = "EMAIL",
         | 
| 109 | 
            +
                USERNAME = "USERNAME"
         | 
| 110 | 
            +
            }
         | 
| 107 111 | 
             
            export declare enum AuthRespErrors {
         | 
| 108 112 | 
             
                INVALID_INPUT = "INVALID_INPUT",
         | 
| 109 113 | 
             
                INVALID_PASSWORD = "INVALID_PASSWORD",
         | 
| 110 114 | 
             
                INVALID_FIRSTNAME = "INVALID_FIRSTNAME",
         | 
| 111 115 | 
             
                INVALID_LASTNAME = "INVALID_LASTNAME",
         | 
| 116 | 
            +
                EMAIL_UNVIERIFIED = "EMAIL_UNVIERIFIED",
         | 
| 112 117 | 
             
                EMAIL_IN_USE = "EMAIL_IN_USE",
         | 
| 113 | 
            -
                 | 
| 118 | 
            +
                MISSING_PARAM = "MISSING_PARAM",
         | 
| 119 | 
            +
                USERNAME_IN_USE = "USERNAME_IN_USE",
         | 
| 120 | 
            +
                USER_NOT_FOUND = "USER_NOT_FOUND"
         | 
| 121 | 
            +
            }
         | 
| 122 | 
            +
            export declare enum PositiveAuthResponse {
         | 
| 123 | 
            +
                NEW_USER = "NEW_USER",
         | 
| 124 | 
            +
                WELCOME_BACK = "WELCOME_BACK",
         | 
| 125 | 
            +
                VERIFY_DEVICE = "VERIFY_DEVICE",
         | 
| 126 | 
            +
                PASS = "PASS"
         | 
| 114 127 | 
             
            }
         | 
| @@ -1,6 +1,6 @@ | |
| 1 1 | 
             
            "use strict";
         | 
| 2 2 | 
             
            Object.defineProperty(exports, "__esModule", { value: true });
         | 
| 3 | 
            -
            exports.AuthRespErrors = exports.AuthenticationWindows = exports.AuthID = exports.AuthenticationProviders = void 0;
         | 
| 3 | 
            +
            exports.PositiveAuthResponse = exports.AuthRespErrors = exports.AUTH_ID_TYPE = exports.AuthenticationWindows = exports.AuthID = exports.AuthenticationProviders = void 0;
         | 
| 4 4 | 
             
            var AuthenticationProviders;
         | 
| 5 5 | 
             
            (function (AuthenticationProviders) {
         | 
| 6 6 | 
             
                AuthenticationProviders["GOOGLE"] = "google";
         | 
| @@ -19,12 +19,27 @@ var AuthenticationWindows; | |
| 19 19 | 
             
                AuthenticationWindows["FINISH_SIGNUP"] = "finish sign up";
         | 
| 20 20 | 
             
                AuthenticationWindows["WELCOME"] = "welcome";
         | 
| 21 21 | 
             
            })(AuthenticationWindows = exports.AuthenticationWindows || (exports.AuthenticationWindows = {}));
         | 
| 22 | 
            +
            var AUTH_ID_TYPE;
         | 
| 23 | 
            +
            (function (AUTH_ID_TYPE) {
         | 
| 24 | 
            +
                AUTH_ID_TYPE["EMAIL"] = "EMAIL";
         | 
| 25 | 
            +
                AUTH_ID_TYPE["USERNAME"] = "USERNAME";
         | 
| 26 | 
            +
            })(AUTH_ID_TYPE = exports.AUTH_ID_TYPE || (exports.AUTH_ID_TYPE = {}));
         | 
| 22 27 | 
             
            var AuthRespErrors;
         | 
| 23 28 | 
             
            (function (AuthRespErrors) {
         | 
| 24 29 | 
             
                AuthRespErrors["INVALID_INPUT"] = "INVALID_INPUT";
         | 
| 25 30 | 
             
                AuthRespErrors["INVALID_PASSWORD"] = "INVALID_PASSWORD";
         | 
| 26 31 | 
             
                AuthRespErrors["INVALID_FIRSTNAME"] = "INVALID_FIRSTNAME";
         | 
| 27 32 | 
             
                AuthRespErrors["INVALID_LASTNAME"] = "INVALID_LASTNAME";
         | 
| 33 | 
            +
                AuthRespErrors["EMAIL_UNVIERIFIED"] = "EMAIL_UNVIERIFIED";
         | 
| 28 34 | 
             
                AuthRespErrors["EMAIL_IN_USE"] = "EMAIL_IN_USE";
         | 
| 35 | 
            +
                AuthRespErrors["MISSING_PARAM"] = "MISSING_PARAM";
         | 
| 29 36 | 
             
                AuthRespErrors["USERNAME_IN_USE"] = "USERNAME_IN_USE";
         | 
| 37 | 
            +
                AuthRespErrors["USER_NOT_FOUND"] = "USER_NOT_FOUND";
         | 
| 30 38 | 
             
            })(AuthRespErrors = exports.AuthRespErrors || (exports.AuthRespErrors = {}));
         | 
| 39 | 
            +
            var PositiveAuthResponse;
         | 
| 40 | 
            +
            (function (PositiveAuthResponse) {
         | 
| 41 | 
            +
                PositiveAuthResponse["NEW_USER"] = "NEW_USER";
         | 
| 42 | 
            +
                PositiveAuthResponse["WELCOME_BACK"] = "WELCOME_BACK";
         | 
| 43 | 
            +
                PositiveAuthResponse["VERIFY_DEVICE"] = "VERIFY_DEVICE";
         | 
| 44 | 
            +
                PositiveAuthResponse["PASS"] = "PASS";
         | 
| 45 | 
            +
            })(PositiveAuthResponse = exports.PositiveAuthResponse || (exports.PositiveAuthResponse = {}));
         |