Why Gemfury? Push, build, and install  RubyGems npm packages Python packages Maven artifacts PHP packages Go Modules Debian packages RPM packages NuGet packages

Repository URL to install this package:

Details    
@skava/graphql / dist / graphql-modules / user / stream / endpoints / defaultParams.d.ts
Size: Mime:
export declare const registerParams: {
    userName: string;
};
export declare const registerGuestParams: {
    userName: string;
    userinfo: string;
};
export declare const loginParams: {};
export declare const logoutParams: {};
export declare const addAddressParams: {};
export declare const removeAddressParams: {
    customparams: string;
};
export declare const updateAddressParams: {};
export declare const changeDefaultAddressParams: {};
export declare const addCardParams: {};
export declare const deleteCardParams: {};
export declare const changeDefaultCardParams: {};
export declare const getProfileParams: {};
export declare const defaultUpdateProfileParams: {
    firstName: string;
    lastName: string;
    userId: string;
};
export declare function toUpdateProfileParams(namedParams?: {
    firstName: string;
    lastName: string;
    userId: string;
}): {
    userinfo: string;
    customparams: string;
};
export declare const updateProfileParams: {
    userinfo: string;
    customparams: string;
};
export declare function toUpdatePasswordParams(namedParams: any): Promise<{
    userinfo: {
        verificationDetails: {
            oldPassword: string;
            password: string;
        };
    };
    customparams: {
        locale: string;
        messageCampaignId: string;
    };
}>;
export declare const updatePasswordParams: Promise<{
    userinfo: {
        verificationDetails: {
            oldPassword: string;
            password: string;
        };
    };
    customparams: {
        locale: string;
        messageCampaignId: string;
    };
}>;
export declare function toUpdateSecurityParams(namedParams: any): {
    userinfo: {
        verificationDetails: {
            userName: any;
        };
        addresses: {
            type: string;
            verificationDetails: {
                challengeQuestion: any;
                challengeAnswer: any;
            };
        }[];
    };
    customparams: {
        locale: string;
    };
};
export declare const addSecurityQuestionParams: {
    userinfo: {
        verificationDetails: {
            userName: any;
        };
        addresses: {
            type: string;
            verificationDetails: {
                challengeQuestion: any;
                challengeAnswer: any;
            };
        }[];
    };
    customparams: {
        locale: string;
    };
};
export declare const toResetPasswordByEmailParams: (namedParams: any) => {
    userinfo: {
        addresses: {
            type: string;
            value: string;
            id: any;
            customParams: {
                type: string[];
            };
        }[];
    };
    customparams: {
        messageCampaignId: string;
        locale: string;
        resetMethod: string;
        channel: string;
    };
};
export declare const resetPasswordByEmailParams: {
    userinfo: {
        addresses: {
            type: string;
            value: string;
            id: any;
            customParams: {
                type: string[];
            };
        }[];
    };
    customparams: {
        messageCampaignId: string;
        locale: string;
        resetMethod: string;
        channel: string;
    };
};
export declare const validatePasswordByEmailParams: (namedParams: any) => {
    userinfo: {
        verificationDetails: {
            password: any;
        };
        addresses: {
            type: string;
            value: string;
            customParams: {
                type: string[];
            };
        }[];
        customParams: {
            resetMethod: string[];
        };
    };
    customparams: {
        resetParam: any;
        locale: string;
        channel: string;
        messageCampaignId: string;
        mailerId: string;
    };
};
export declare const validateResetPasswordByEmailParams: {
    userinfo: {
        verificationDetails: {
            password: any;
        };
        addresses: {
            type: string;
            value: string;
            customParams: {
                type: string[];
            };
        }[];
        customParams: {
            resetMethod: string[];
        };
    };
    customparams: {
        resetParam: any;
        locale: string;
        channel: string;
        messageCampaignId: string;
        mailerId: string;
    };
};
export declare const toResetPasswordBySMSParams: (email: any) => {
    userinfo: {
        addresses: {
            type: string;
            value: string;
            id: any;
            customParams: {
                type: string[];
            };
        }[];
    };
    customparams: {
        messageCampaignId: string;
        locale: string;
        resetMethod: string;
        channel: string;
    };
};
export declare const resetPasswordBySMSParams: {
    userinfo: {
        addresses: {
            type: string;
            value: string;
            id: any;
            customParams: {
                type: string[];
            };
        }[];
    };
    customparams: {
        messageCampaignId: string;
        locale: string;
        resetMethod: string;
        channel: string;
    };
};
export declare const validateResetPasswordBySMSParams: {
    userinfo: string;
    customparams: string;
};
export declare const twittertokenParams: {
    userName: string;
};
export declare const defaultSecurityParams: {
    emailId: string;
};
export declare function toSecurityParams(namedParams?: {
    emailId: string;
}): {
    userinfo: {
        addresses: {
            type: string;
            id: string;
            value: string;
            customParams: {
                type: string[];
                channel: string[];
            };
        }[];
    };
};
export declare const getSecurityQuestionsParams: {
    userinfo: {
        addresses: {
            type: string;
            id: string;
            value: string;
            customParams: {
                type: string[];
                channel: string[];
            };
        }[];
    };
};
export declare const resetPasswordSecurityParams: (namedParams: any) => Promise<{
    userinfo: {
        addresses: ({
            type: string;
            value: string;
            id: any;
            customParams: {
                type: string[];
            };
            verificationDetails?: undefined;
        } | {
            type: string;
            verificationDetails: {
                challengeQuestion: any;
                challengeAnswer: any;
            };
            value?: undefined;
            id?: undefined;
            customParams?: undefined;
        })[];
        verificationDetails: {
            password: string;
        };
    };
    customparams: {
        messageCampaignId: string;
        resetMethod: string;
        channel: string;
    };
}>;
export declare const resetPasswordBySecurityQuestionsParams: Promise<{
    userinfo: {
        addresses: ({
            type: string;
            value: string;
            id: any;
            customParams: {
                type: string[];
            };
            verificationDetails?: undefined;
        } | {
            type: string;
            verificationDetails: {
                challengeQuestion: any;
                challengeAnswer: any;
            };
            value?: undefined;
            id?: undefined;
            customParams?: undefined;
        })[];
        verificationDetails: {
            password: string;
        };
    };
    customparams: {
        messageCampaignId: string;
        resetMethod: string;
        channel: string;
    };
}>;
export declare const defaultAddPaymentCardParams: {
    messageCampaignId: string;
};
export declare function getAddPaymentCardParams(params: {
    messageCampaignId: string;
}, email: any): {
    payment: {
        creditCard: {
            type: any;
            number: any;
            expirationMonth: any;
            expirationYear: any;
            expiryDate: any;
            name: any;
            customParams: {
                cardBrand: any;
                validated: string;
                default: any;
            };
        }[];
        address: {
            type: string;
            addressLine1: string;
            city: string;
            state: string;
            postalCode: string;
            country: string;
            email: any;
            firstName: any;
            lastName: any;
            makeDefaultCard: any;
            securityCode: any;
            phone: string;
            customParams: {
                validated: string[];
                override: string[];
                default: string[];
            };
        }[];
    };
    customparams: {
        locale: string;
        channel: string;
        linkBAddrToCard: string;
        messageCampaignId: string;
    };
};
export declare function getDeletePaymentCardParams(params: any): {
    carddetail: {
        cards: {
            id: any;
        }[];
    };
    customparams: {
        type: string;
        value: string;
        userId: any;
        messageCampaignId: string;
    };
};
export declare const changeDefaultPaymentCardParams: {
    payment: string;
    messageCampaignId: string;
};
export declare function getChangeDefaultCardParams(changeCardParams?: {
    payment: string;
    messageCampaignId: string;
}): {
    payment: string;
    customparams: {
        locale: string;
        channel: string;
        linkBAddrToCard: string;
    };
};
export declare function getProfileCustomParams(shouldEnablePaymentRetrival: any): {
    customparams: {
        shouldEnablePaymentRetrival: any[];
    };
};
/**
 * @see toUpdatePasswordParams
 * @todo !!! THIS NEEDS FIXING - SHOULD NOT BE A STRING
 */
export declare function toRegisterParams(params: any): Promise<{
    userinfo: {
        verificationDetails: {
            userName: any;
            password: string;
        };
        email: any;
        phone: any;
        firstName: any;
        lastName: any;
        addresses: {
            type: string;
            value: string;
            customParams: {
                type: string[];
            };
        }[];
        customParams: {
            resetMethod: string[];
            status: string[];
            contactPreferences: string[];
            additionalPreferences: string[];
            promotions: string[];
            preferences: string[];
        };
    };
    customparams: {
        /**
         * @todo @fixme - messageid is wrong
         */
        messageCampaignId: string;
        validationMethod: string;
        sendWelcomeEmail: string;
        skipValidations: string;
    };
}>;
export declare function toLoginParams(params: any): Promise<{
    customparams: {
        authToken: any;
        type: string | number;
        value: any;
        /**
         * @todo @fixme - messageid is wrong
         */
        messageCampaignId: string;
        promocode: string;
        promocampaign: string;
        locale: string;
        channel: string;
    };
    userinfo?: undefined;
} | {
    userinfo: {
        userName: any;
        password: string;
    };
    customparams: {
        type: string | number;
        value: any;
        /**
         * @todo @fixme - messageid is wrong
         */
        messageCampaignId: string;
        promocode: string;
        promocampaign: string;
        locale: string;
        channel: string;
    };
}>;