Socket
Socket
Sign inDemoInstall

@giosg/types

Package Overview
Dependencies
Maintainers
19
Versions
97
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@giosg/types - npm Package Compare versions

Comparing version 12.0.0 to 12.0.1

4

lib/cjs/actions.d.ts

@@ -51,3 +51,3 @@ import { UserUid } from "./types";

};
export type ActionType = (typeof ActionTypes)[keyof typeof ActionTypes];
export type ActionType = typeof ActionTypes[keyof typeof ActionTypes];
export type ActionTypeString = keyof typeof ActionTypes;

@@ -73,3 +73,3 @@ export declare const ACTION_TYPES: ("SEND_AUTOSUGGEST" | "JOIN_ROOMS" | "NO_CHATBUTTON" | "NO_AUTOSUGGEST" | "RUN_JAVASCRIPT" | "ENABLE_CHATBUTTON" | "SHOW_ELEMENTS" | "HIDE_ELEMENTS" | "REDIRECT" | "LOAD_LEAD_FORM" | "CHANGE_CB_TEXT" | "CHANGE_CB_TARGET" | "CHANGE_LANGUAGE" | "SHOW_LEAD_FORM" | "SET_LEAD_FORM_PROCESSOR" | "SHOW_BUTTON" | "SHOW_CHAT_DIALOG" | "SET_VISITOR_PRIORITY" | "DISABLE_CAPACITY_CHECK" | "INJECT_CSS" | "SEND_SYSTEM_MESSAGE" | "LOAD_INTERACTION" | "SEND_INTERACTION_TO_CHAT" | "HIDE_INTERACTION")[];

export declare const ACTION_STYLES: readonly ["primary", "secondary", "info", "success", "warning", "danger", "link", "brand_primary", "brand_secondary"];
export type ActionStyle = (typeof ACTION_STYLES)[number];
export type ActionStyle = typeof ACTION_STYLES[number];
//# sourceMappingURL=actions.d.ts.map
export declare const TIMEZONES: readonly ["EET", "Africa/Abidjan", "Africa/Accra", "Africa/Addis_Ababa", "Africa/Algiers", "Africa/Asmara", "Africa/Bamako", "Africa/Bangui", "Africa/Banjul", "Africa/Bissau", "Africa/Blantyre", "Africa/Brazzaville", "Africa/Bujumbura", "Africa/Cairo", "Africa/Casablanca", "Africa/Ceuta", "Africa/Conakry", "Africa/Dakar", "Africa/Dar_es_Salaam", "Africa/Djibouti", "Africa/Douala", "Africa/El_Aaiun", "Africa/Freetown", "Africa/Gaborone", "Africa/Harare", "Africa/Johannesburg", "Africa/Juba", "Africa/Kampala", "Africa/Khartoum", "Africa/Kigali", "Africa/Kinshasa", "Africa/Lagos", "Africa/Libreville", "Africa/Lome", "Africa/Luanda", "Africa/Lubumbashi", "Africa/Lusaka", "Africa/Malabo", "Africa/Maputo", "Africa/Maseru", "Africa/Mbabane", "Africa/Mogadishu", "Africa/Monrovia", "Africa/Nairobi", "Africa/Ndjamena", "Africa/Niamey", "Africa/Nouakchott", "Africa/Ouagadougou", "Africa/Porto-Novo", "Africa/Sao_Tome", "Africa/Tripoli", "Africa/Tunis", "Africa/Windhoek", "America/Adak", "America/Anchorage", "America/Anguilla", "America/Antigua", "America/Araguaina", "America/Argentina/Buenos_Aires", "America/Argentina/Catamarca", "America/Argentina/Cordoba", "America/Argentina/Jujuy", "America/Argentina/La_Rioja", "America/Argentina/Mendoza", "America/Argentina/Rio_Gallegos", "America/Argentina/Salta", "America/Argentina/San_Juan", "America/Argentina/San_Luis", "America/Argentina/Tucuman", "America/Argentina/Ushuaia", "America/Aruba", "America/Asuncion", "America/Atikokan", "America/Bahia", "America/Bahia_Banderas", "America/Barbados", "America/Belem", "America/Belize", "America/Blanc-Sablon", "America/Boa_Vista", "America/Bogota", "America/Boise", "America/Cambridge_Bay", "America/Campo_Grande", "America/Cancun", "America/Caracas", "America/Cayenne", "America/Cayman", "America/Chicago", "America/Chihuahua", "America/Costa_Rica", "America/Creston", "America/Cuiaba", "America/Curacao", "America/Danmarkshavn", "America/Dawson", "America/Dawson_Creek", "America/Denver", "America/Detroit", "America/Dominica", "America/Edmonton", "America/Eirunepe", "America/El_Salvador", "America/Fort_Nelson", "America/Fortaleza", "America/Glace_Bay", "America/Godthab", "America/Goose_Bay", "America/Grand_Turk", "America/Grenada", "America/Guadeloupe", "America/Guatemala", "America/Guayaquil", "America/Guyana", "America/Halifax", "America/Havana", "America/Hermosillo", "America/Indiana/Indianapolis", "America/Indiana/Knox", "America/Indiana/Marengo", "America/Indiana/Petersburg", "America/Indiana/Tell_City", "America/Indiana/Vevay", "America/Indiana/Vincennes", "America/Indiana/Winamac", "America/Inuvik", "America/Iqaluit", "America/Jamaica", "America/Juneau", "America/Kentucky/Louisville", "America/Kentucky/Monticello", "America/Kralendijk", "America/La_Paz", "America/Lima", "America/Los_Angeles", "America/Lower_Princes", "America/Maceio", "America/Managua", "America/Manaus", "America/Marigot", "America/Martinique", "America/Matamoros", "America/Mazatlan", "America/Menominee", "America/Merida", "America/Metlakatla", "America/Mexico_City", "America/Miquelon", "America/Moncton", "America/Monterrey", "America/Montevideo", "America/Montserrat", "America/Nassau", "America/New_York", "America/Nipigon", "America/Nome", "America/Noronha", "America/North_Dakota/Beulah", "America/North_Dakota/Center", "America/North_Dakota/New_Salem", "America/Ojinaga", "America/Panama", "America/Pangnirtung", "America/Paramaribo", "America/Phoenix", "America/Port-au-Prince", "America/Port_of_Spain", "America/Porto_Velho", "America/Puerto_Rico", "America/Punta_Arenas", "America/Rainy_River", "America/Rankin_Inlet", "America/Recife", "America/Regina", "America/Resolute", "America/Rio_Branco", "America/Santarem", "America/Santiago", "America/Santo_Domingo", "America/Sao_Paulo", "America/Scoresbysund", "America/Sitka", "America/St_Barthelemy", "America/St_Johns", "America/St_Kitts", "America/St_Lucia", "America/St_Thomas", "America/St_Vincent", "America/Swift_Current", "America/Tegucigalpa", "America/Thule", "America/Thunder_Bay", "America/Tijuana", "America/Toronto", "America/Tortola", "America/Vancouver", "America/Whitehorse", "America/Winnipeg", "America/Yakutat", "America/Yellowknife", "Antarctica/Casey", "Antarctica/Davis", "Antarctica/DumontDUrville", "Antarctica/Macquarie", "Antarctica/Mawson", "Antarctica/McMurdo", "Antarctica/Palmer", "Antarctica/Rothera", "Antarctica/Syowa", "Antarctica/Troll", "Antarctica/Vostok", "Arctic/Longyearbyen", "Asia/Aden", "Asia/Almaty", "Asia/Amman", "Asia/Anadyr", "Asia/Aqtau", "Asia/Aqtobe", "Asia/Ashgabat", "Asia/Atyrau", "Asia/Baghdad", "Asia/Bahrain", "Asia/Baku", "Asia/Bangkok", "Asia/Barnaul", "Asia/Beirut", "Asia/Bishkek", "Asia/Brunei", "Asia/Chita", "Asia/Choibalsan", "Asia/Colombo", "Asia/Damascus", "Asia/Dhaka", "Asia/Dili", "Asia/Dubai", "Asia/Dushanbe", "Asia/Famagusta", "Asia/Gaza", "Asia/Hebron", "Asia/Ho_Chi_Minh", "Asia/Hong_Kong", "Asia/Hovd", "Asia/Irkutsk", "Asia/Jakarta", "Asia/Jayapura", "Asia/Jerusalem", "Asia/Kabul", "Asia/Kamchatka", "Asia/Karachi", "Asia/Kathmandu", "Asia/Khandyga", "Asia/Kolkata", "Asia/Krasnoyarsk", "Asia/Kuala_Lumpur", "Asia/Kuching", "Asia/Kuwait", "Asia/Macau", "Asia/Magadan", "Asia/Makassar", "Asia/Manila", "Asia/Muscat", "Asia/Nicosia", "Asia/Novokuznetsk", "Asia/Novosibirsk", "Asia/Omsk", "Asia/Oral", "Asia/Phnom_Penh", "Asia/Pontianak", "Asia/Pyongyang", "Asia/Qatar", "Asia/Qyzylorda", "Asia/Riyadh", "Asia/Sakhalin", "Asia/Samarkand", "Asia/Seoul", "Asia/Shanghai", "Asia/Singapore", "Asia/Srednekolymsk", "Asia/Taipei", "Asia/Tashkent", "Asia/Tbilisi", "Asia/Tehran", "Asia/Thimphu", "Asia/Tokyo", "Asia/Tomsk", "Asia/Ulaanbaatar", "Asia/Urumqi", "Asia/Ust-Nera", "Asia/Vientiane", "Asia/Vladivostok", "Asia/Yakutsk", "Asia/Yangon", "Asia/Yekaterinburg", "Asia/Yerevan", "Atlantic/Azores", "Atlantic/Bermuda", "Atlantic/Canary", "Atlantic/Cape_Verde", "Atlantic/Faroe", "Atlantic/Madeira", "Atlantic/Reykjavik", "Atlantic/South_Georgia", "Atlantic/St_Helena", "Atlantic/Stanley", "Australia/Adelaide", "Australia/Brisbane", "Australia/Broken_Hill", "Australia/Currie", "Australia/Darwin", "Australia/Eucla", "Australia/Hobart", "Australia/Lindeman", "Australia/Lord_Howe", "Australia/Melbourne", "Australia/Perth", "Australia/Sydney", "Canada/Atlantic", "Canada/Central", "Canada/Eastern", "Canada/Mountain", "Canada/Newfoundland", "Canada/Pacific", "Europe/Amsterdam", "Europe/Andorra", "Europe/Astrakhan", "Europe/Athens", "Europe/Belgrade", "Europe/Berlin", "Europe/Bratislava", "Europe/Brussels", "Europe/Bucharest", "Europe/Budapest", "Europe/Busingen", "Europe/Chisinau", "Europe/Copenhagen", "Europe/Dublin", "Europe/Gibraltar", "Europe/Guernsey", "Europe/Helsinki", "Europe/Isle_of_Man", "Europe/Istanbul", "Europe/Jersey", "Europe/Kaliningrad", "Europe/Kiev", "Europe/Kirov", "Europe/Lisbon", "Europe/Ljubljana", "Europe/London", "Europe/Luxembourg", "Europe/Madrid", "Europe/Malta", "Europe/Mariehamn", "Europe/Minsk", "Europe/Monaco", "Europe/Moscow", "Europe/Oslo", "Europe/Paris", "Europe/Podgorica", "Europe/Prague", "Europe/Riga", "Europe/Rome", "Europe/Samara", "Europe/San_Marino", "Europe/Sarajevo", "Europe/Saratov", "Europe/Simferopol", "Europe/Skopje", "Europe/Sofia", "Europe/Stockholm", "Europe/Tallinn", "Europe/Tirane", "Europe/Ulyanovsk", "Europe/Uzhgorod", "Europe/Vaduz", "Europe/Vatican", "Europe/Vienna", "Europe/Vilnius", "Europe/Volgograd", "Europe/Warsaw", "Europe/Zagreb", "Europe/Zaporozhye", "Europe/Zurich", "GMT", "Indian/Antananarivo", "Indian/Chagos", "Indian/Christmas", "Indian/Cocos", "Indian/Comoro", "Indian/Kerguelen", "Indian/Mahe", "Indian/Maldives", "Indian/Mauritius", "Indian/Mayotte", "Indian/Reunion", "Pacific/Apia", "Pacific/Auckland", "Pacific/Bougainville", "Pacific/Chatham", "Pacific/Chuuk", "Pacific/Easter", "Pacific/Efate", "Pacific/Enderbury", "Pacific/Fakaofo", "Pacific/Fiji", "Pacific/Funafuti", "Pacific/Galapagos", "Pacific/Gambier", "Pacific/Guadalcanal", "Pacific/Guam", "Pacific/Honolulu", "Pacific/Kiritimati", "Pacific/Kosrae", "Pacific/Kwajalein", "Pacific/Majuro", "Pacific/Marquesas", "Pacific/Midway", "Pacific/Nauru", "Pacific/Niue", "Pacific/Norfolk", "Pacific/Noumea", "Pacific/Pago_Pago", "Pacific/Palau", "Pacific/Pitcairn", "Pacific/Pohnpei", "Pacific/Port_Moresby", "Pacific/Rarotonga", "Pacific/Saipan", "Pacific/Tahiti", "Pacific/Tarawa", "Pacific/Tongatapu", "Pacific/Wake", "Pacific/Wallis", "US/Alaska", "US/Arizona", "US/Central", "US/Eastern", "US/Hawaii", "US/Mountain", "US/Pacific", "UTC"];
export type Timezone = (typeof TIMEZONES)[number];
export type Timezone = typeof TIMEZONES[number];
export declare const CURRENCIES: readonly ["AED", "AFN", "ALL", "AMD", "ANG", "AOA", "ARS", "AUD", "AWG", "AZN", "BAM", "BBD", "BDT", "BGN", "BHD", "BIF", "BMD", "BND", "BOB", "BRL", "BSD", "BTN", "BWP", "BYR", "BZD", "CAD", "CDF", "CHF", "CLP", "CNY", "COP", "CRC", "CUC", "CVE", "CZK", "DJF", "DKK", "DOP", "DZD", "EEK", "EGP", "ERN", "ETB", "EUR", "FJD", "FKP", "GBP", "GEL", "GHS", "GIP", "GMD", "GNF", "GQE", "GTQ", "GYD", "HKD", "HNL", "HRK", "HTG", "HUF", "IDR", "ILS", "INR", "IQD", "IRR", "ISK", "JMD", "JOD", "JPY", "KES", "KGS", "KHR", "KMF", "KPW", "KRW", "KWD", "KYD", "KZT", "LAK", "LBP", "LKR", "LRD", "LSL", "LTL", "LVL", "LYD", "MAD", "MDL", "MGA", "MKD", "MMK", "MNT", "MOP", "MRO", "MUR", "MVR", "MWK", "MXN", "MYR", "MZM", "NAD", "NGN", "NIO", "NOK", "NPR", "NZD", "OMR", "PAB", "PEN", "PGK", "PHP", "PKR", "PLN", "PYG", "QAR", "RON", "RSD", "RUB", "SAR", "SBD", "SCR", "SDG", "SEK", "SGD", "SHP", "SLL", "SOS", "SRD", "SYP", "SZL", "THB", "TJS", "TMT", "TND", "TRY", "TTD", "TWD", "TZS", "UAH", "UGX", "USD", "UYU", "UZS", "VEB", "VND", "VUV", "WST", "XAF", "XCD", "XDR", "XOF", "XPF", "YER", "ZAR", "ZMK", "ZWR", "DOGE"];
export type Currency = (typeof CURRENCIES)[number];
export type Currency = typeof CURRENCIES[number];
export declare const LANGUAGE_CODES: readonly ["cs", "de", "en", "es", "et", "fi", "fr", "ga", "he", "it", "ja", "ko", "lv", "lt", "nb", "nl", "pl", "ru", "sv", "zh-cn", "zh-tw", "th"];
export type LanguageCode = (typeof LANGUAGE_CODES)[number];
export type LanguageCode = typeof LANGUAGE_CODES[number];
//# sourceMappingURL=common.d.ts.map

@@ -81,3 +81,3 @@ export declare const ConditionTypes: {

};
export type ConditionType = (typeof ConditionTypes)[keyof typeof ConditionTypes];
export type ConditionType = typeof ConditionTypes[keyof typeof ConditionTypes];
export type ConditionTypeString = keyof typeof ConditionTypes;

@@ -84,0 +84,0 @@ export declare const CONDITION_TYPES: ("VISITOR_CITY" | "CSS_SELECTOR" | "PREVIOUS_PAGE_URL_REGEXP" | "REFERRER_URL_REGEXP" | "PAGE_URL_REGEXP" | "VISITOR_COUNTRY" | "VISIT_COUNT_MORE_THAN" | "CART_SIZE_MORE_THAN" | "CART_SIZE_LESS_THAN" | "PRODUCT_NAMES_IN_CART" | "PIPELINE_STEP" | "JS_FUNCTION_RETURNS_TRUE" | "VISIT_COUNT_LESS_THAN" | "PURCHASE_COUNT_MORE_THAN" | "VISITOR_IP_ADDR" | "PAGE_URL_SIMPLE" | "OPERATOR_PRESENCE" | "AFTER_TIMEOUT" | "CLICK_ELEMENT" | "CLICK_BUTTON" | "DEVICE_TYPE" | "WEEKLY_SCHEDULE" | "VISITOR_PRIORITY_MORE_THAN" | "VISITOR_PRIORITY_LESS_THAN" | "VISITOR_CART_LOCKED" | "VISITOR_SENT_LEAD" | "PREVIOUS_PAGE_URL_SIMPLE" | "REFERRER_URL_SIMPLE" | "VISITOR_HAS_WAITED_FOR" | "HAS_CHATTED" | "CHAT_HAS_AT_LEAST_ONE_OF_TAGS" | "VISITOR_HAS_WAITED_FOR_THE_FIRST_ANSWER" | "VISITOR_BELONGS_TO_AN_USER_EXPERIMENT_GROUP" | "AVERAGE_WAITING_TIME" | "GIOSG_EVENT_TRIGGERED" | "CALL_STATE" | "CUSTOM_SCHEDULE" | "VISITOR_ISP_NAME" | "CSS_SELECTOR_JS")[];

export declare const supportedEventTypes: readonly ["tcChange"];
export type EventType = (typeof supportedEventTypes)[number];
export type EventType = typeof supportedEventTypes[number];
export type TCEventListener = (consent: TCPreferences) => void;

@@ -4,0 +4,0 @@ /**

@@ -20,3 +20,3 @@ "use strict";

Purpose[Purpose["DevelopAndImproveProducts"] = 10] = "DevelopAndImproveProducts";
})(Purpose || (exports.Purpose = Purpose = {}));
})(Purpose = exports.Purpose || (exports.Purpose = {}));
var Service;

@@ -26,2 +26,2 @@ (function (Service) {

Service[Service["Chat"] = 1] = "Chat";
})(Service || (exports.Service = Service = {}));
})(Service = exports.Service || (exports.Service = {}));
import { ApplicationUid } from "./types";
export declare const OAUTH_BASE_URL = "https://service.giosg.com/identity/authorize";
export declare const OAUTH_SCOPE_OPTIONS: readonly ["openid", "openid profile", "openid email", "openid profile email"];
export type OauthScopeOptions = (typeof OAUTH_SCOPE_OPTIONS)[number];
export type OauthScopeOptions = typeof OAUTH_SCOPE_OPTIONS[number];
export declare const OAUTH_RESPONSE_TYPES: readonly ["id_token", "id_token token"];
export type OauthResponseType = (typeof OAUTH_RESPONSE_TYPES)[number];
export type OauthResponseType = typeof OAUTH_RESPONSE_TYPES[number];
export declare const OAUTH_PROMPT_OPTIONS: readonly ["none", "login"];
export type OauthPromptOption = (typeof OAUTH_PROMPT_OPTIONS)[number];
export type OauthPromptOption = typeof OAUTH_PROMPT_OPTIONS[number];
export declare const OAUTH_ERROR_TYPES: readonly ["invalid_request", "invalid_client", "invalid_scope", "interaction_required", "login_required"];
export type OauthErrorType = (typeof OAUTH_ERROR_TYPES)[number];
export type OauthErrorType = typeof OAUTH_ERROR_TYPES[number];
export interface OAuthRequestParams {

@@ -12,0 +12,0 @@ /** A "list" of "scope" strings separated by single whitespace characters. The selected scopes affect the information included to the ID token */

@@ -16,3 +16,3 @@ import { NestedAvatar } from "./customer";

};
export type AutoSuggestPermissionOption = (typeof AutosuggestPermissionOptions)[keyof typeof AutosuggestPermissionOptions];
export type AutoSuggestPermissionOption = typeof AutosuggestPermissionOptions[keyof typeof AutosuggestPermissionOptions];
export type AutosuggestPermissionOptionString = keyof typeof AutosuggestPermissionOptions;

@@ -19,0 +19,0 @@ export declare const AUTOSUGGEST_PERMISSION_OPTIONS: ("NOT_AVAILABLE" | "DISABLED" | "ENABLED")[];

@@ -208,12 +208,12 @@ export type ApplicationUid = string & {

export declare const ASSET_TYPES: readonly ["image", "css", "javascript", "font"];
export type AssetType = (typeof ASSET_TYPES)[number];
export type AssetType = typeof ASSET_TYPES[number];
export declare const EXPERIMENT_GROUP_TYPES: readonly ["target_algorithm", "target_algorithm_beta1", "target_algorithm_beta2", "target_algorithm_beta3", "target_random", "control", "user_defined"];
export type ExperimentGroupType = (typeof EXPERIMENT_GROUP_TYPES)[number];
export type ExperimentGroupType = typeof EXPERIMENT_GROUP_TYPES[number];
export declare const CHAT_STATUS_MESSAGE_TYPES: readonly ["join", "leave", "action", "call_ended"];
export type ChatStatusMessageType = (typeof CHAT_STATUS_MESSAGE_TYPES)[number];
export declare const CHAT_DATA_MESSAGE_TYPES: readonly ["msg", "autosuggest", "system", "interaction_submit", "call_request", "tag_created", "tag_deleted", "shoppingcart_locked", "shoppingcart_item_added", "shoppingcart_item_removed"];
export type ChatDataMessageType = (typeof CHAT_DATA_MESSAGE_TYPES)[number];
export type ChatStatusMessageType = typeof CHAT_STATUS_MESSAGE_TYPES[number];
export declare const CHAT_DATA_MESSAGE_TYPES: readonly ["msg", "autosuggest", "system", "interaction_submit", "call_request", "tag_created", "tag_deleted", "shoppingcart_locked", "shoppingcart_item_added", "shoppingcart_item_removed", "visitor_data_deleted"];
export type ChatDataMessageType = typeof CHAT_DATA_MESSAGE_TYPES[number];
export type ChatMessageType = ChatStatusMessageType | ChatDataMessageType;
export declare const USER_PERMISSION_SCOPES: readonly ["settings", "reports", "users"];
export type UserPermissionScope = (typeof USER_PERMISSION_SCOPES)[number];
export type UserPermissionScope = typeof USER_PERMISSION_SCOPES[number];
//# sourceMappingURL=types.d.ts.map

@@ -27,3 +27,4 @@ "use strict";

"shoppingcart_item_removed",
"visitor_data_deleted",
];
exports.USER_PERMISSION_SCOPES = ["settings", "reports", "users"];

@@ -51,3 +51,3 @@ import { UserUid } from "./types";

};
export type ActionType = (typeof ActionTypes)[keyof typeof ActionTypes];
export type ActionType = typeof ActionTypes[keyof typeof ActionTypes];
export type ActionTypeString = keyof typeof ActionTypes;

@@ -73,3 +73,3 @@ export declare const ACTION_TYPES: ("SEND_AUTOSUGGEST" | "JOIN_ROOMS" | "NO_CHATBUTTON" | "NO_AUTOSUGGEST" | "RUN_JAVASCRIPT" | "ENABLE_CHATBUTTON" | "SHOW_ELEMENTS" | "HIDE_ELEMENTS" | "REDIRECT" | "LOAD_LEAD_FORM" | "CHANGE_CB_TEXT" | "CHANGE_CB_TARGET" | "CHANGE_LANGUAGE" | "SHOW_LEAD_FORM" | "SET_LEAD_FORM_PROCESSOR" | "SHOW_BUTTON" | "SHOW_CHAT_DIALOG" | "SET_VISITOR_PRIORITY" | "DISABLE_CAPACITY_CHECK" | "INJECT_CSS" | "SEND_SYSTEM_MESSAGE" | "LOAD_INTERACTION" | "SEND_INTERACTION_TO_CHAT" | "HIDE_INTERACTION")[];

export declare const ACTION_STYLES: readonly ["primary", "secondary", "info", "success", "warning", "danger", "link", "brand_primary", "brand_secondary"];
export type ActionStyle = (typeof ACTION_STYLES)[number];
export type ActionStyle = typeof ACTION_STYLES[number];
//# sourceMappingURL=actions.d.ts.map
export declare const TIMEZONES: readonly ["EET", "Africa/Abidjan", "Africa/Accra", "Africa/Addis_Ababa", "Africa/Algiers", "Africa/Asmara", "Africa/Bamako", "Africa/Bangui", "Africa/Banjul", "Africa/Bissau", "Africa/Blantyre", "Africa/Brazzaville", "Africa/Bujumbura", "Africa/Cairo", "Africa/Casablanca", "Africa/Ceuta", "Africa/Conakry", "Africa/Dakar", "Africa/Dar_es_Salaam", "Africa/Djibouti", "Africa/Douala", "Africa/El_Aaiun", "Africa/Freetown", "Africa/Gaborone", "Africa/Harare", "Africa/Johannesburg", "Africa/Juba", "Africa/Kampala", "Africa/Khartoum", "Africa/Kigali", "Africa/Kinshasa", "Africa/Lagos", "Africa/Libreville", "Africa/Lome", "Africa/Luanda", "Africa/Lubumbashi", "Africa/Lusaka", "Africa/Malabo", "Africa/Maputo", "Africa/Maseru", "Africa/Mbabane", "Africa/Mogadishu", "Africa/Monrovia", "Africa/Nairobi", "Africa/Ndjamena", "Africa/Niamey", "Africa/Nouakchott", "Africa/Ouagadougou", "Africa/Porto-Novo", "Africa/Sao_Tome", "Africa/Tripoli", "Africa/Tunis", "Africa/Windhoek", "America/Adak", "America/Anchorage", "America/Anguilla", "America/Antigua", "America/Araguaina", "America/Argentina/Buenos_Aires", "America/Argentina/Catamarca", "America/Argentina/Cordoba", "America/Argentina/Jujuy", "America/Argentina/La_Rioja", "America/Argentina/Mendoza", "America/Argentina/Rio_Gallegos", "America/Argentina/Salta", "America/Argentina/San_Juan", "America/Argentina/San_Luis", "America/Argentina/Tucuman", "America/Argentina/Ushuaia", "America/Aruba", "America/Asuncion", "America/Atikokan", "America/Bahia", "America/Bahia_Banderas", "America/Barbados", "America/Belem", "America/Belize", "America/Blanc-Sablon", "America/Boa_Vista", "America/Bogota", "America/Boise", "America/Cambridge_Bay", "America/Campo_Grande", "America/Cancun", "America/Caracas", "America/Cayenne", "America/Cayman", "America/Chicago", "America/Chihuahua", "America/Costa_Rica", "America/Creston", "America/Cuiaba", "America/Curacao", "America/Danmarkshavn", "America/Dawson", "America/Dawson_Creek", "America/Denver", "America/Detroit", "America/Dominica", "America/Edmonton", "America/Eirunepe", "America/El_Salvador", "America/Fort_Nelson", "America/Fortaleza", "America/Glace_Bay", "America/Godthab", "America/Goose_Bay", "America/Grand_Turk", "America/Grenada", "America/Guadeloupe", "America/Guatemala", "America/Guayaquil", "America/Guyana", "America/Halifax", "America/Havana", "America/Hermosillo", "America/Indiana/Indianapolis", "America/Indiana/Knox", "America/Indiana/Marengo", "America/Indiana/Petersburg", "America/Indiana/Tell_City", "America/Indiana/Vevay", "America/Indiana/Vincennes", "America/Indiana/Winamac", "America/Inuvik", "America/Iqaluit", "America/Jamaica", "America/Juneau", "America/Kentucky/Louisville", "America/Kentucky/Monticello", "America/Kralendijk", "America/La_Paz", "America/Lima", "America/Los_Angeles", "America/Lower_Princes", "America/Maceio", "America/Managua", "America/Manaus", "America/Marigot", "America/Martinique", "America/Matamoros", "America/Mazatlan", "America/Menominee", "America/Merida", "America/Metlakatla", "America/Mexico_City", "America/Miquelon", "America/Moncton", "America/Monterrey", "America/Montevideo", "America/Montserrat", "America/Nassau", "America/New_York", "America/Nipigon", "America/Nome", "America/Noronha", "America/North_Dakota/Beulah", "America/North_Dakota/Center", "America/North_Dakota/New_Salem", "America/Ojinaga", "America/Panama", "America/Pangnirtung", "America/Paramaribo", "America/Phoenix", "America/Port-au-Prince", "America/Port_of_Spain", "America/Porto_Velho", "America/Puerto_Rico", "America/Punta_Arenas", "America/Rainy_River", "America/Rankin_Inlet", "America/Recife", "America/Regina", "America/Resolute", "America/Rio_Branco", "America/Santarem", "America/Santiago", "America/Santo_Domingo", "America/Sao_Paulo", "America/Scoresbysund", "America/Sitka", "America/St_Barthelemy", "America/St_Johns", "America/St_Kitts", "America/St_Lucia", "America/St_Thomas", "America/St_Vincent", "America/Swift_Current", "America/Tegucigalpa", "America/Thule", "America/Thunder_Bay", "America/Tijuana", "America/Toronto", "America/Tortola", "America/Vancouver", "America/Whitehorse", "America/Winnipeg", "America/Yakutat", "America/Yellowknife", "Antarctica/Casey", "Antarctica/Davis", "Antarctica/DumontDUrville", "Antarctica/Macquarie", "Antarctica/Mawson", "Antarctica/McMurdo", "Antarctica/Palmer", "Antarctica/Rothera", "Antarctica/Syowa", "Antarctica/Troll", "Antarctica/Vostok", "Arctic/Longyearbyen", "Asia/Aden", "Asia/Almaty", "Asia/Amman", "Asia/Anadyr", "Asia/Aqtau", "Asia/Aqtobe", "Asia/Ashgabat", "Asia/Atyrau", "Asia/Baghdad", "Asia/Bahrain", "Asia/Baku", "Asia/Bangkok", "Asia/Barnaul", "Asia/Beirut", "Asia/Bishkek", "Asia/Brunei", "Asia/Chita", "Asia/Choibalsan", "Asia/Colombo", "Asia/Damascus", "Asia/Dhaka", "Asia/Dili", "Asia/Dubai", "Asia/Dushanbe", "Asia/Famagusta", "Asia/Gaza", "Asia/Hebron", "Asia/Ho_Chi_Minh", "Asia/Hong_Kong", "Asia/Hovd", "Asia/Irkutsk", "Asia/Jakarta", "Asia/Jayapura", "Asia/Jerusalem", "Asia/Kabul", "Asia/Kamchatka", "Asia/Karachi", "Asia/Kathmandu", "Asia/Khandyga", "Asia/Kolkata", "Asia/Krasnoyarsk", "Asia/Kuala_Lumpur", "Asia/Kuching", "Asia/Kuwait", "Asia/Macau", "Asia/Magadan", "Asia/Makassar", "Asia/Manila", "Asia/Muscat", "Asia/Nicosia", "Asia/Novokuznetsk", "Asia/Novosibirsk", "Asia/Omsk", "Asia/Oral", "Asia/Phnom_Penh", "Asia/Pontianak", "Asia/Pyongyang", "Asia/Qatar", "Asia/Qyzylorda", "Asia/Riyadh", "Asia/Sakhalin", "Asia/Samarkand", "Asia/Seoul", "Asia/Shanghai", "Asia/Singapore", "Asia/Srednekolymsk", "Asia/Taipei", "Asia/Tashkent", "Asia/Tbilisi", "Asia/Tehran", "Asia/Thimphu", "Asia/Tokyo", "Asia/Tomsk", "Asia/Ulaanbaatar", "Asia/Urumqi", "Asia/Ust-Nera", "Asia/Vientiane", "Asia/Vladivostok", "Asia/Yakutsk", "Asia/Yangon", "Asia/Yekaterinburg", "Asia/Yerevan", "Atlantic/Azores", "Atlantic/Bermuda", "Atlantic/Canary", "Atlantic/Cape_Verde", "Atlantic/Faroe", "Atlantic/Madeira", "Atlantic/Reykjavik", "Atlantic/South_Georgia", "Atlantic/St_Helena", "Atlantic/Stanley", "Australia/Adelaide", "Australia/Brisbane", "Australia/Broken_Hill", "Australia/Currie", "Australia/Darwin", "Australia/Eucla", "Australia/Hobart", "Australia/Lindeman", "Australia/Lord_Howe", "Australia/Melbourne", "Australia/Perth", "Australia/Sydney", "Canada/Atlantic", "Canada/Central", "Canada/Eastern", "Canada/Mountain", "Canada/Newfoundland", "Canada/Pacific", "Europe/Amsterdam", "Europe/Andorra", "Europe/Astrakhan", "Europe/Athens", "Europe/Belgrade", "Europe/Berlin", "Europe/Bratislava", "Europe/Brussels", "Europe/Bucharest", "Europe/Budapest", "Europe/Busingen", "Europe/Chisinau", "Europe/Copenhagen", "Europe/Dublin", "Europe/Gibraltar", "Europe/Guernsey", "Europe/Helsinki", "Europe/Isle_of_Man", "Europe/Istanbul", "Europe/Jersey", "Europe/Kaliningrad", "Europe/Kiev", "Europe/Kirov", "Europe/Lisbon", "Europe/Ljubljana", "Europe/London", "Europe/Luxembourg", "Europe/Madrid", "Europe/Malta", "Europe/Mariehamn", "Europe/Minsk", "Europe/Monaco", "Europe/Moscow", "Europe/Oslo", "Europe/Paris", "Europe/Podgorica", "Europe/Prague", "Europe/Riga", "Europe/Rome", "Europe/Samara", "Europe/San_Marino", "Europe/Sarajevo", "Europe/Saratov", "Europe/Simferopol", "Europe/Skopje", "Europe/Sofia", "Europe/Stockholm", "Europe/Tallinn", "Europe/Tirane", "Europe/Ulyanovsk", "Europe/Uzhgorod", "Europe/Vaduz", "Europe/Vatican", "Europe/Vienna", "Europe/Vilnius", "Europe/Volgograd", "Europe/Warsaw", "Europe/Zagreb", "Europe/Zaporozhye", "Europe/Zurich", "GMT", "Indian/Antananarivo", "Indian/Chagos", "Indian/Christmas", "Indian/Cocos", "Indian/Comoro", "Indian/Kerguelen", "Indian/Mahe", "Indian/Maldives", "Indian/Mauritius", "Indian/Mayotte", "Indian/Reunion", "Pacific/Apia", "Pacific/Auckland", "Pacific/Bougainville", "Pacific/Chatham", "Pacific/Chuuk", "Pacific/Easter", "Pacific/Efate", "Pacific/Enderbury", "Pacific/Fakaofo", "Pacific/Fiji", "Pacific/Funafuti", "Pacific/Galapagos", "Pacific/Gambier", "Pacific/Guadalcanal", "Pacific/Guam", "Pacific/Honolulu", "Pacific/Kiritimati", "Pacific/Kosrae", "Pacific/Kwajalein", "Pacific/Majuro", "Pacific/Marquesas", "Pacific/Midway", "Pacific/Nauru", "Pacific/Niue", "Pacific/Norfolk", "Pacific/Noumea", "Pacific/Pago_Pago", "Pacific/Palau", "Pacific/Pitcairn", "Pacific/Pohnpei", "Pacific/Port_Moresby", "Pacific/Rarotonga", "Pacific/Saipan", "Pacific/Tahiti", "Pacific/Tarawa", "Pacific/Tongatapu", "Pacific/Wake", "Pacific/Wallis", "US/Alaska", "US/Arizona", "US/Central", "US/Eastern", "US/Hawaii", "US/Mountain", "US/Pacific", "UTC"];
export type Timezone = (typeof TIMEZONES)[number];
export type Timezone = typeof TIMEZONES[number];
export declare const CURRENCIES: readonly ["AED", "AFN", "ALL", "AMD", "ANG", "AOA", "ARS", "AUD", "AWG", "AZN", "BAM", "BBD", "BDT", "BGN", "BHD", "BIF", "BMD", "BND", "BOB", "BRL", "BSD", "BTN", "BWP", "BYR", "BZD", "CAD", "CDF", "CHF", "CLP", "CNY", "COP", "CRC", "CUC", "CVE", "CZK", "DJF", "DKK", "DOP", "DZD", "EEK", "EGP", "ERN", "ETB", "EUR", "FJD", "FKP", "GBP", "GEL", "GHS", "GIP", "GMD", "GNF", "GQE", "GTQ", "GYD", "HKD", "HNL", "HRK", "HTG", "HUF", "IDR", "ILS", "INR", "IQD", "IRR", "ISK", "JMD", "JOD", "JPY", "KES", "KGS", "KHR", "KMF", "KPW", "KRW", "KWD", "KYD", "KZT", "LAK", "LBP", "LKR", "LRD", "LSL", "LTL", "LVL", "LYD", "MAD", "MDL", "MGA", "MKD", "MMK", "MNT", "MOP", "MRO", "MUR", "MVR", "MWK", "MXN", "MYR", "MZM", "NAD", "NGN", "NIO", "NOK", "NPR", "NZD", "OMR", "PAB", "PEN", "PGK", "PHP", "PKR", "PLN", "PYG", "QAR", "RON", "RSD", "RUB", "SAR", "SBD", "SCR", "SDG", "SEK", "SGD", "SHP", "SLL", "SOS", "SRD", "SYP", "SZL", "THB", "TJS", "TMT", "TND", "TRY", "TTD", "TWD", "TZS", "UAH", "UGX", "USD", "UYU", "UZS", "VEB", "VND", "VUV", "WST", "XAF", "XCD", "XDR", "XOF", "XPF", "YER", "ZAR", "ZMK", "ZWR", "DOGE"];
export type Currency = (typeof CURRENCIES)[number];
export type Currency = typeof CURRENCIES[number];
export declare const LANGUAGE_CODES: readonly ["cs", "de", "en", "es", "et", "fi", "fr", "ga", "he", "it", "ja", "ko", "lv", "lt", "nb", "nl", "pl", "ru", "sv", "zh-cn", "zh-tw", "th"];
export type LanguageCode = (typeof LANGUAGE_CODES)[number];
export type LanguageCode = typeof LANGUAGE_CODES[number];
//# sourceMappingURL=common.d.ts.map

@@ -81,3 +81,3 @@ export declare const ConditionTypes: {

};
export type ConditionType = (typeof ConditionTypes)[keyof typeof ConditionTypes];
export type ConditionType = typeof ConditionTypes[keyof typeof ConditionTypes];
export type ConditionTypeString = keyof typeof ConditionTypes;

@@ -84,0 +84,0 @@ export declare const CONDITION_TYPES: ("VISITOR_CITY" | "CSS_SELECTOR" | "PREVIOUS_PAGE_URL_REGEXP" | "REFERRER_URL_REGEXP" | "PAGE_URL_REGEXP" | "VISITOR_COUNTRY" | "VISIT_COUNT_MORE_THAN" | "CART_SIZE_MORE_THAN" | "CART_SIZE_LESS_THAN" | "PRODUCT_NAMES_IN_CART" | "PIPELINE_STEP" | "JS_FUNCTION_RETURNS_TRUE" | "VISIT_COUNT_LESS_THAN" | "PURCHASE_COUNT_MORE_THAN" | "VISITOR_IP_ADDR" | "PAGE_URL_SIMPLE" | "OPERATOR_PRESENCE" | "AFTER_TIMEOUT" | "CLICK_ELEMENT" | "CLICK_BUTTON" | "DEVICE_TYPE" | "WEEKLY_SCHEDULE" | "VISITOR_PRIORITY_MORE_THAN" | "VISITOR_PRIORITY_LESS_THAN" | "VISITOR_CART_LOCKED" | "VISITOR_SENT_LEAD" | "PREVIOUS_PAGE_URL_SIMPLE" | "REFERRER_URL_SIMPLE" | "VISITOR_HAS_WAITED_FOR" | "HAS_CHATTED" | "CHAT_HAS_AT_LEAST_ONE_OF_TAGS" | "VISITOR_HAS_WAITED_FOR_THE_FIRST_ANSWER" | "VISITOR_BELONGS_TO_AN_USER_EXPERIMENT_GROUP" | "AVERAGE_WAITING_TIME" | "GIOSG_EVENT_TRIGGERED" | "CALL_STATE" | "CUSTOM_SCHEDULE" | "VISITOR_ISP_NAME" | "CSS_SELECTOR_JS")[];

export declare const supportedEventTypes: readonly ["tcChange"];
export type EventType = (typeof supportedEventTypes)[number];
export type EventType = typeof supportedEventTypes[number];
export type TCEventListener = (consent: TCPreferences) => void;

@@ -4,0 +4,0 @@ /**

import { ApplicationUid } from "./types";
export declare const OAUTH_BASE_URL = "https://service.giosg.com/identity/authorize";
export declare const OAUTH_SCOPE_OPTIONS: readonly ["openid", "openid profile", "openid email", "openid profile email"];
export type OauthScopeOptions = (typeof OAUTH_SCOPE_OPTIONS)[number];
export type OauthScopeOptions = typeof OAUTH_SCOPE_OPTIONS[number];
export declare const OAUTH_RESPONSE_TYPES: readonly ["id_token", "id_token token"];
export type OauthResponseType = (typeof OAUTH_RESPONSE_TYPES)[number];
export type OauthResponseType = typeof OAUTH_RESPONSE_TYPES[number];
export declare const OAUTH_PROMPT_OPTIONS: readonly ["none", "login"];
export type OauthPromptOption = (typeof OAUTH_PROMPT_OPTIONS)[number];
export type OauthPromptOption = typeof OAUTH_PROMPT_OPTIONS[number];
export declare const OAUTH_ERROR_TYPES: readonly ["invalid_request", "invalid_client", "invalid_scope", "interaction_required", "login_required"];
export type OauthErrorType = (typeof OAUTH_ERROR_TYPES)[number];
export type OauthErrorType = typeof OAUTH_ERROR_TYPES[number];
export interface OAuthRequestParams {

@@ -12,0 +12,0 @@ /** A "list" of "scope" strings separated by single whitespace characters. The selected scopes affect the information included to the ID token */

@@ -16,3 +16,3 @@ import { NestedAvatar } from "./customer";

};
export type AutoSuggestPermissionOption = (typeof AutosuggestPermissionOptions)[keyof typeof AutosuggestPermissionOptions];
export type AutoSuggestPermissionOption = typeof AutosuggestPermissionOptions[keyof typeof AutosuggestPermissionOptions];
export type AutosuggestPermissionOptionString = keyof typeof AutosuggestPermissionOptions;

@@ -19,0 +19,0 @@ export declare const AUTOSUGGEST_PERMISSION_OPTIONS: ("NOT_AVAILABLE" | "DISABLED" | "ENABLED")[];

@@ -208,12 +208,12 @@ export type ApplicationUid = string & {

export declare const ASSET_TYPES: readonly ["image", "css", "javascript", "font"];
export type AssetType = (typeof ASSET_TYPES)[number];
export type AssetType = typeof ASSET_TYPES[number];
export declare const EXPERIMENT_GROUP_TYPES: readonly ["target_algorithm", "target_algorithm_beta1", "target_algorithm_beta2", "target_algorithm_beta3", "target_random", "control", "user_defined"];
export type ExperimentGroupType = (typeof EXPERIMENT_GROUP_TYPES)[number];
export type ExperimentGroupType = typeof EXPERIMENT_GROUP_TYPES[number];
export declare const CHAT_STATUS_MESSAGE_TYPES: readonly ["join", "leave", "action", "call_ended"];
export type ChatStatusMessageType = (typeof CHAT_STATUS_MESSAGE_TYPES)[number];
export declare const CHAT_DATA_MESSAGE_TYPES: readonly ["msg", "autosuggest", "system", "interaction_submit", "call_request", "tag_created", "tag_deleted", "shoppingcart_locked", "shoppingcart_item_added", "shoppingcart_item_removed"];
export type ChatDataMessageType = (typeof CHAT_DATA_MESSAGE_TYPES)[number];
export type ChatStatusMessageType = typeof CHAT_STATUS_MESSAGE_TYPES[number];
export declare const CHAT_DATA_MESSAGE_TYPES: readonly ["msg", "autosuggest", "system", "interaction_submit", "call_request", "tag_created", "tag_deleted", "shoppingcart_locked", "shoppingcart_item_added", "shoppingcart_item_removed", "visitor_data_deleted"];
export type ChatDataMessageType = typeof CHAT_DATA_MESSAGE_TYPES[number];
export type ChatMessageType = ChatStatusMessageType | ChatDataMessageType;
export declare const USER_PERMISSION_SCOPES: readonly ["settings", "reports", "users"];
export type UserPermissionScope = (typeof USER_PERMISSION_SCOPES)[number];
export type UserPermissionScope = typeof USER_PERMISSION_SCOPES[number];
//# sourceMappingURL=types.d.ts.map

@@ -24,3 +24,4 @@ // Types

"shoppingcart_item_removed",
"visitor_data_deleted",
];
export const USER_PERMISSION_SCOPES = ["settings", "reports", "users"];
{
"name": "@giosg/types",
"version": "12.0.0",
"version": "12.0.1",
"description": "TypeScript interfaces for GiosgAPI",

@@ -5,0 +5,0 @@ "main": "lib/cjs/index.js",

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc