Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@giosg/types

Package Overview
Dependencies
Maintainers
7
Versions
99
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 1.2.10 to 1.2.11

lib/visitor.d.ts

106

lib/actions.js
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.ActionTypes = {
/** value: autosuggest message as a string, settings: ActionShowAutosuggestSettings*/
SEND_AUTOSUGGEST: 1,
/** value: array of room unique identifiers, settings: none */
JOIN_ROOMS: 2,
/** value: none, settings: none */
NO_CHATBUTTON: 5,
/** value: none, settings: none */
NO_AUTOSUGGEST: 6,
/** value: JavaScript expression as a string, settings:none */
RUN_JAVASCRIPT: 7,
/** value: none, settings: none */
ENABLE_CHATBUTTON: 8,
/** value: CSS selector as a string, settings: none */
SHOW_ELEMENTS: 9,
/** value: CSS selector as a string, settings: none */
HIDE_ELEMENTS: 10,
/** value: URL as a string, settings: none */
REDIRECT: 11,
/** value: lead form unique identifier, settings: none */
LOAD_LEAD_FORM: 13,
/** value: button text as a string, settings: none */
CHANGE_CB_TEXT: 14,
/** value: room unique identifier, settings: none */
CHANGE_CB_TARGET: 15,
/** value: language as a RFC 3066 code, settings: none */
CHANGE_LANGUAGE: 16,
/** value: lead form unique identifier, settings: none */
SHOW_LEAD_FORM: 17,
/** value: lead form processor unique identifier, settings: none */
SET_LEAD_FORM_PROCESSOR: 18,
/** value: button unique identifier, settings: none */
SHOW_BUTTON: 19,
/** value: unique identifier of the parent room of the window, settings: none */
SHOW_CHAT_DIALOG: 20,
/** value: priority as an integer [1 - 10], settings: none */
SET_VISITOR_PRIORITY: 21,
/** value: none , settings: none */
DISABLE_CAPACITY_CHECK: 22,
/** value: CSS code as a string, settings: none */
INJECT_CSS: 23,
/** value: unique identifier of the element asset, settings: none */
LOAD_INTERACTION_DESIGNER_ELEMENT: 24,
/** value: message as a string, settings: ActionSendChatMessageSettings */
SEND_SYSTEM_MESSAGE: 25,
/** value: autosuggest message as a string, settings: ActionShowAutosuggestSettings*/
SEND_AUTOSUGGEST: 1,
/** value: array of room unique identifiers, settings: none */
JOIN_ROOMS: 2,
/** value: none, settings: none */
NO_CHATBUTTON: 5,
/** value: none, settings: none */
NO_AUTOSUGGEST: 6,
/** value: JavaScript expression as a string, settings:none */
RUN_JAVASCRIPT: 7,
/** value: none, settings: none */
ENABLE_CHATBUTTON: 8,
/** value: CSS selector as a string, settings: none */
SHOW_ELEMENTS: 9,
/** value: CSS selector as a string, settings: none */
HIDE_ELEMENTS: 10,
/** value: URL as a string, settings: none */
REDIRECT: 11,
/** value: lead form unique identifier, settings: none */
LOAD_LEAD_FORM: 13,
/** value: button text as a string, settings: none */
CHANGE_CB_TEXT: 14,
/** value: room unique identifier, settings: none */
CHANGE_CB_TARGET: 15,
/** value: language as a RFC 3066 code, settings: none */
CHANGE_LANGUAGE: 16,
/** value: lead form unique identifier, settings: none */
SHOW_LEAD_FORM: 17,
/** value: lead form processor unique identifier, settings: none */
SET_LEAD_FORM_PROCESSOR: 18,
/** value: button unique identifier, settings: none */
SHOW_BUTTON: 19,
/** value: unique identifier of the parent room of the window, settings: none */
SHOW_CHAT_DIALOG: 20,
/** value: priority as an integer [1 - 10], settings: none */
SET_VISITOR_PRIORITY: 21,
/** value: none , settings: none */
DISABLE_CAPACITY_CHECK: 22,
/** value: CSS code as a string, settings: none */
INJECT_CSS: 23,
/** value: unique identifier of the element asset, settings: none */
LOAD_INTERACTION_DESIGNER_ELEMENT: 24,
/** value: message as a string, settings: ActionSendChatMessageSettings */
SEND_SYSTEM_MESSAGE: 25
};
exports.ACTION_TYPES = Object.keys(exports.ActionTypes);
exports.ACTION_STYLES = [
"primary",
"secondary",
"info",
"success",
"warning",
"danger",
"link",
"brand_primary",
"brand_secondary",
"primary",
"secondary",
"info",
"success",
"warning",
"danger",
"link",
"brand_primary",
"brand_secondary"
];
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.TIMEZONES = [
"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",
"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"
];
exports.CURRENCIES = [
"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",
"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"
];
exports.LANGUAGE_CODES = [
"cs",
"de",
"en",
"es",
"et",
"fi",
"fr",
"ga",
"he",
"it",
"ja",
"ko",
"lv",
"lt",
"nb",
"nl",
"pl",
"ru",
"sv",
"zh-cn",
"zh-tw",
"th",
"cs",
"de",
"en",
"es",
"et",
"fi",
"fr",
"ga",
"he",
"it",
"ja",
"ko",
"lv",
"lt",
"nb",
"nl",
"pl",
"ru",
"sv",
"zh-cn",
"zh-tw",
"th"
];
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.ConditionTypes = {
/** value: city name as a string, settings: none */
VISITOR_CITY: 1,
/** value: CSS selector as a string, settings: none */
CSS_SELECTOR: 2,
/** value: JavaScript regular expression as a string, settings: none */
PREVIOUS_PAGE_URL_REGEXP: 3,
/** value: JavaScript regular expression as a string, settings: none */
REFERRER_URL_REGEXP: 4,
/** value: JavaScript regular expression as a string, settings: none */
PAGE_URL_REGEXP: 5,
/** value: country name as a string, settings: none */
VISITOR_COUNTRY: 6,
/** value: visit count as an integer number, settings: none */
VISIT_COUNT_MORE_THAN: 7,
/** value: cart value as a float number with two decimals, settings: none */
CART_SIZE_MORE_THAN: 8,
/**
* NOTE: no data, might be deprecated
* TODO: Confirm status, remove or add description
*/
// CART_SIZE_LESS_THAN: 9,
/** value: product name as a string, settings: none */
PRODUCT_NAMES_IN_CART: 10,
/** value: pipeline step as an integer number, settings: none */
PIPELINE_STEP: 11,
/** value: JavaScript expression as a string, settings: none */
JS_FUNCTION_RETURNS_TRUE: 12,
/**
* NOTE: no data, might be deprecated
* TODO: Confirm status, remove or add description
*/
// VISIT_COUNT_LESS_THAN: 13,
/** value: number of purchases as an integer number, settings: none */
PURCHASE_COUNT_MORE_THAN: 14,
/** value: JavaScript regular expression as a string, settings: none */
VISITOR_IP_ADDR: 15,
/** value: part of the URL as a string, settings: none */
PAGE_URL_SIMPLE: 16,
/** value: either "online" (meaning any agent is online) or "offline" (all agents are offline), settings: none */
OPERATOR_PRESENCE: 17,
/** value: number of seconds as an integer number, settings: none */
AFTER_TIMEOUT: 18,
/** value: CSS selector as a string, settings: none */
CLICK_ELEMENT: 19,
/** value: unique identifier of the custom button object, settings: none */
CLICK_BUTTON: 20,
/** value: "desktop" | "mobile" | "tablet" | "mobile,tablet", settings: none */
DEVICE_TYPE: 21,
/** value: none, settings: ConditionWeeklyScheduleSettings */
WEEKLY_SCHEDULE: 22,
/** value: priority value as an integer [1 - 10], settings: none */
VISITOR_PRIORITY_MORE_THAN: 23,
/**
* NOTE: no data, might be deprecated
* TODO: Confirm status, remove or add description
*/
// VISITOR_PRIORITY_LESS_THAN: 24,
/** value: none, settings: none */
VISITOR_TARGETED: 25,
/** value: none, settings: none */
VISITOR_CART_LOCKED: 26,
/** value: none, settings: none */
VISITOR_SENT_LEAD: 27,
/** value: part of the URL as a string, settings: none */
PREVIOUS_PAGE_URL_SIMPLE: 28,
/** value: part of the URL as a string, settings: none */
REFERRER_URL_SIMPLE: 29,
/** value: number of seconds as an integer number, settings: none */
VISITOR_HAS_WAITED_FOR: 30,
/** value: none, settings: ConditionHasChattedSettings */
HAS_CHATTED: 31,
/** value: list of tag unique identifiers, settings: none */
CHAT_HAS_AT_LEAST_ONE_OF_TAGS: 32,
/** value: experiment group as a string, settings: none */
VISITOR_BELONGS_TO_AN_TARGET_EXPERIMENT_GROUP: 33,
/** value: number of seconds as an integer number, settings: none */
VISITOR_HAS_WAITED_FOR_THE_FIRST_ANSWER: 34,
/** value: experiment group unique identifiers, settings: none */
VISITOR_BELONGS_TO_AN_USER_EXPERIMENT_GROUP: 35,
/** value: ai prediction (target) conversion probability, settings: none */
TARGET_PREDICTION_CONVERSION_PROBABILITY: 36,
/** value: city name as a string, settings: none */
VISITOR_CITY: 1,
/** value: CSS selector as a string, settings: none */
CSS_SELECTOR: 2,
/** value: JavaScript regular expression as a string, settings: none */
PREVIOUS_PAGE_URL_REGEXP: 3,
/** value: JavaScript regular expression as a string, settings: none */
REFERRER_URL_REGEXP: 4,
/** value: JavaScript regular expression as a string, settings: none */
PAGE_URL_REGEXP: 5,
/** value: country name as a string, settings: none */
VISITOR_COUNTRY: 6,
/** value: visit count as an integer number, settings: none */
VISIT_COUNT_MORE_THAN: 7,
/** value: cart value as a float number with two decimals, settings: none */
CART_SIZE_MORE_THAN: 8,
/**
* NOTE: no data, might be deprecated
* TODO: Confirm status, remove or add description
*/
// CART_SIZE_LESS_THAN: 9,
/** value: product name as a string, settings: none */
PRODUCT_NAMES_IN_CART: 10,
/** value: pipeline step as an integer number, settings: none */
PIPELINE_STEP: 11,
/** value: JavaScript expression as a string, settings: none */
JS_FUNCTION_RETURNS_TRUE: 12,
/**
* NOTE: no data, might be deprecated
* TODO: Confirm status, remove or add description
*/
// VISIT_COUNT_LESS_THAN: 13,
/** value: number of purchases as an integer number, settings: none */
PURCHASE_COUNT_MORE_THAN: 14,
/** value: JavaScript regular expression as a string, settings: none */
VISITOR_IP_ADDR: 15,
/** value: part of the URL as a string, settings: none */
PAGE_URL_SIMPLE: 16,
/** value: either "online" (meaning any agent is online) or "offline" (all agents are offline), settings: none */
OPERATOR_PRESENCE: 17,
/** value: number of seconds as an integer number, settings: none */
AFTER_TIMEOUT: 18,
/** value: CSS selector as a string, settings: none */
CLICK_ELEMENT: 19,
/** value: unique identifier of the custom button object, settings: none */
CLICK_BUTTON: 20,
/** value: "desktop" | "mobile" | "tablet" | "mobile,tablet", settings: none */
DEVICE_TYPE: 21,
/** value: none, settings: ConditionWeeklyScheduleSettings */
WEEKLY_SCHEDULE: 22,
/** value: priority value as an integer [1 - 10], settings: none */
VISITOR_PRIORITY_MORE_THAN: 23,
/**
* NOTE: no data, might be deprecated
* TODO: Confirm status, remove or add description
*/
// VISITOR_PRIORITY_LESS_THAN: 24,
/** value: none, settings: none */
VISITOR_TARGETED: 25,
/** value: none, settings: none */
VISITOR_CART_LOCKED: 26,
/** value: none, settings: none */
VISITOR_SENT_LEAD: 27,
/** value: part of the URL as a string, settings: none */
PREVIOUS_PAGE_URL_SIMPLE: 28,
/** value: part of the URL as a string, settings: none */
REFERRER_URL_SIMPLE: 29,
/** value: number of seconds as an integer number, settings: none */
VISITOR_HAS_WAITED_FOR: 30,
/** value: none, settings: ConditionHasChattedSettings */
HAS_CHATTED: 31,
/** value: list of tag unique identifiers, settings: none */
CHAT_HAS_AT_LEAST_ONE_OF_TAGS: 32,
/** value: experiment group as a string, settings: none */
VISITOR_BELONGS_TO_AN_TARGET_EXPERIMENT_GROUP: 33,
/** value: number of seconds as an integer number, settings: none */
VISITOR_HAS_WAITED_FOR_THE_FIRST_ANSWER: 34,
/** value: experiment group unique identifiers, settings: none */
VISITOR_BELONGS_TO_AN_USER_EXPERIMENT_GROUP: 35,
/** value: ai prediction (target) conversion probability, settings: none */
TARGET_PREDICTION_CONVERSION_PROBABILITY: 36
};
exports.CONDITION_TYPES = Object.keys(exports.ConditionTypes);

@@ -214,2 +214,3 @@ export {

UserClientUid,
BlackListUid,
GiosgSessionId,

@@ -240,1 +241,8 @@ UnpackedVisitorCid,

export { UserClient, UserClientPayload } from "./userclients";
export {
BlackList,
BlackListPayload,
CartLockedResponse,
RoomVisitorPageView,
RoomVisitor,
} from "./visitor";

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

exports.AutosuggestPermissionOptions = public_1.AutosuggestPermissionOptions;
exports.AUTOSUGGEST_PERMISSION_OPTIONS = public_1.AUTOSUGGEST_PERMISSION_OPTIONS;
exports.AUTOSUGGEST_PERMISSION_OPTIONS =
public_1.AUTOSUGGEST_PERMISSION_OPTIONS;
var types_1 = require("./types");

@@ -25,0 +26,0 @@ exports.ASSET_TYPES = types_1.ASSET_TYPES;

@@ -5,21 +5,21 @@ "use strict";

exports.OAUTH_SCOPE_OPTIONS = [
"openid",
"openid profile",
"openid email",
"openid profile email",
"openid",
"openid profile",
"openid email",
"openid profile email"
];
exports.OAUTH_RESPONSE_TYPES = [
/**
* @deprecated
*/
"id_token",
"id_token token",
/**
* @deprecated
*/
"id_token",
"id_token token"
];
exports.OAUTH_PROMPT_OPTIONS = ["none", "login"];
exports.OAUTH_ERROR_TYPES = [
"invalid_request",
"invalid_client",
"invalid_scope",
"interaction_required",
"login_required",
"invalid_request",
"invalid_client",
"invalid_scope",
"interaction_required",
"login_required"
];
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.AutosuggestPermissionOptions = {
/** Not allowed to autosuggest because of capacity being reached or some other reason */
NOT_AVAILABLE: 0,
/** User has disabled autosuggest */
DISABLED: 1,
/** Autosuggest is allowed */
ENABLED: 2,
/** Not allowed to autosuggest because of capacity being reached or some other reason */
NOT_AVAILABLE: 0,
/** User has disabled autosuggest */
DISABLED: 1,
/** Autosuggest is allowed */
ENABLED: 2
};
exports.AUTOSUGGEST_PERMISSION_OPTIONS = Object.keys(exports.AutosuggestPermissionOptions);
exports.AUTOSUGGEST_PERMISSION_OPTIONS = Object.keys(
exports.AutosuggestPermissionOptions
);

@@ -99,2 +99,5 @@ export declare type ApplicationUid = string & {

};
export declare type BlackListUid = string & {
readonly __nominal: unique symbol;
};
export declare type GiosgSessionId = string & {

@@ -101,0 +104,0 @@ readonly __nominal: unique symbol;

@@ -6,19 +6,19 @@ "use strict";

exports.EXPERIMENT_GROUP_TYPES = [
"target_algorithm",
"target_algorithm_beta1",
"target_algorithm_beta2",
"target_algorithm_beta3",
"target_random",
"control",
"user_defined",
"target_algorithm",
"target_algorithm_beta1",
"target_algorithm_beta2",
"target_algorithm_beta3",
"target_random",
"control",
"user_defined"
];
exports.CHAT_MESSAGE_TYPES = [
"msg",
"autosuggest",
"join",
"leave",
"shoppingcart_locked",
"action",
"system",
"msg",
"autosuggest",
"join",
"leave",
"shoppingcart_locked",
"action",
"system"
];
exports.USER_PERMISSION_SCOPES = ["settings", "reports", "users"];
{
"name": "@giosg/types",
"version": "1.2.10",
"version": "1.2.11",
"description": "TypeScript interfaces for GiosgAPI",

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

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