@studyportals/sp-lord-business-interface
Advanced tools
Comparing version 0.0.1-96 to 0.0.1-97
{ | ||
"name": "@studyportals/sp-lord-business-interface", | ||
"version": "0.0.1-96", | ||
"version": "0.0.1-97", | ||
"description": "Typescript library containing resources that facilitate integration with Lord Business.", | ||
@@ -5,0 +5,0 @@ "main": "bin/index.js", |
@@ -7,7 +7,9 @@ export declare enum EnrolmentIdentificationSource { | ||
PIXEL_TRACKING = 40, | ||
COOKIE_TRACKING = 50 | ||
COOKIE_TRACKING = 50, | ||
COMPANY_X = 60 | ||
} | ||
export declare namespace EnrolmentIdentificationSource { | ||
function isClientSideTracking(input: EnrolmentIdentificationSource): boolean; | ||
function isInternalTracking(input: EnrolmentIdentificationSource): boolean; | ||
function members(): EnrolmentIdentificationSource[]; | ||
} |
@@ -11,2 +11,3 @@ "use strict"; | ||
EnrolmentIdentificationSource[EnrolmentIdentificationSource["COOKIE_TRACKING"] = 50] = "COOKIE_TRACKING"; | ||
EnrolmentIdentificationSource[EnrolmentIdentificationSource["COMPANY_X"] = 60] = "COMPANY_X"; | ||
})(EnrolmentIdentificationSource = exports.EnrolmentIdentificationSource || (exports.EnrolmentIdentificationSource = {})); | ||
@@ -26,2 +27,12 @@ (function (EnrolmentIdentificationSource) { | ||
EnrolmentIdentificationSource.isClientSideTracking = isClientSideTracking; | ||
function isInternalTracking(input) { | ||
switch (input) { | ||
case EnrolmentIdentificationSource.STUDENT_SURVEY: | ||
case EnrolmentIdentificationSource.COMPANY_X: | ||
return true; | ||
default: | ||
return false; | ||
} | ||
} | ||
EnrolmentIdentificationSource.isInternalTracking = isInternalTracking; | ||
function members() { | ||
@@ -28,0 +39,0 @@ const enumerationMembers = []; |
Sorry, the diff of this file is not supported yet
85471
1055