function validateProductAvailability() {
    return integrationsApi.getIntegrationsTypes({})
        .then((data) => {
            if (data.entities.filter((integType) => integType.id === appName)[0]) {
                console.log("PRODUCT AVAILABLE");
                return (true);
            } else {
                console.log("PRODUCT NOT AVAILABLE");
                return (false);
            }
        });
}
/**
 * Checks if the PureCloud org has the premium app product enabled
 * @returns {Promise}
 */
Checks if the PureCloud org has the premium app product enabled
@returns {Promise}
Checks if the PureCloud org has the premium app product enabled @returns { Promise }
function validateProductAvailability() {
    return integrationsApi.getIntegrationsTypes({})
        .then((data) => {
            if (data.entities.filter((integType) => integType.id === appName)[0]) {
                console.log("PRODUCT AVAILABLE");
                return (true);
            } else {
                console.log("PRODUCT NOT AVAILABLE");
                return (false);
            }
        });
}
function validateProductAvailability ( ) { return integrationsApi . getIntegrationsTypes ( { } ) . then ( ( data ) => { if ( data . entities . filter ( ( integType ) => integType . id === appName ) [ 0 ] ) { console . log ( "PRODUCT AVAILABLE" ) ; return ( true ) ; } else { console . log ( "PRODUCT NOT AVAILABLE" ) ; return ( false ) ; } } ) ; }
Checks if the PureCloud org has the premium app product enabled
 @returns {Promise}
Checks if the PureCloud org has the premium app product enabled @returns { Promise }