@giosg/types
Advanced tools
Comparing version 8.0.1 to 8.0.2
@@ -51,3 +51,3 @@ import { UserUid } from "./types"; | ||
}; | ||
export declare type ActionType = typeof ActionTypes[keyof typeof ActionTypes]; | ||
export declare type ActionType = (typeof ActionTypes)[keyof typeof ActionTypes]; | ||
export declare 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 declare type ActionStyle = typeof ACTION_STYLES[number]; | ||
export declare type ActionStyle = (typeof ACTION_STYLES)[number]; | ||
//# sourceMappingURL=actions.d.ts.map |
@@ -953,38 +953,4 @@ import { NestedAvatar } from "./customer"; | ||
room_id: RoomUid; | ||
/** Unique identifier of the organization which owns the room in which the chat occurred */ | ||
room_organization_id: OrganizationUid; | ||
/** Name of the room in which the chat occurred */ | ||
room_name: string; | ||
/** Number of tags associated with the chat */ | ||
tag_count: number; | ||
/** Number of messages in the chat at the moment */ | ||
message_count: number; | ||
/** Number of messages sent by operators in the chat */ | ||
user_message_count: number; | ||
/** Number of messages sent by visitors in the chat */ | ||
visitor_message_count: number; | ||
/** Defines whether there are any messages in chat */ | ||
has_messages: boolean; | ||
/** Defines whether there are any user messages in chat */ | ||
has_user_messages: boolean; | ||
/** Defines whether there are any visitor messages in chat */ | ||
has_visitor_messages: boolean; | ||
/** Number of people (visitors and users) currently participating and present at the chat */ | ||
present_participant_count: number; | ||
/** Number of users currently participating and present at the chat */ | ||
present_user_participant_count: number; | ||
/** Number of visitors currently participating and present at the chat */ | ||
present_visitor_participant_count: number; | ||
/** Number of people (visitors and users) attended or sent messages to the chat */ | ||
member_count: number; | ||
/** Number of users sent at least one message to the chat */ | ||
user_member_count: number; | ||
/** Number of visitors attended the chat */ | ||
visitor_member_count: number; | ||
/** Defines whether the chat is marked as private for its operators */ | ||
is_private: boolean; | ||
/** Defines whether the chat is an actual conversation */ | ||
is_real_conversation: boolean; | ||
/** Defines whether the chat started with an automatic autosuggestion message */ | ||
is_autosuggested: boolean; | ||
/** Defines whether the chats is new and was started by a visitor and response by a user is required */ | ||
@@ -996,8 +962,2 @@ is_waiting: boolean; | ||
is_ended: boolean; | ||
/** Defines whether the messages of the chat are stored encrypted */ | ||
is_encrypted: boolean; | ||
/** True if the message contents are available and False if they are encrypted and the encryption key is not available anymore */ | ||
is_available: boolean; | ||
/** True if chat session was removed by manual request or by data retention policy */ | ||
is_removed: boolean; | ||
/** | ||
@@ -1008,20 +968,4 @@ * Encrypted symmetric key (AES) with which all the chat messages in the chat are encrypted. | ||
encrypted_symmetric_key: string | null; | ||
/** Full URL of the page that the visitor was on when they received an autosuggest */ | ||
autosuggest_url: string | null; | ||
/** Title of the page that the visitor was on when they received an autosuggest */ | ||
autosuggest_url_title: string | null; | ||
/** Full URL of the page that the visitor was on when they sent their first message to te chat */ | ||
first_visitor_message_url: string | null; | ||
/** Title of the page that the visitor was on when they sent their first message */ | ||
first_visitor_message_url_title: string | null; | ||
/** Number of seconds the visitor had to wait for an answer to the first sent message */ | ||
visitor_wait_time: number | null; | ||
/** Duration of the chat in seconds. This value is null until the chat has ended */ | ||
duration: number | null; | ||
/** | ||
* Number of seconds of the chat duration was considered to be active time. This is calculated so | ||
* that after each message chat is assumed to be active for 60 seconds and idle after that if no new messages | ||
* are received. This value is null until the chat has ended | ||
*/ | ||
active_duration: number | null; | ||
/** Chat session latest message if exists */ | ||
@@ -1048,4 +992,2 @@ chat_session_latest_message: ChatMessage | null; | ||
visitor_id: VisitorCid | null; | ||
/** Team ID if this chat is team chat channel type, null otherwise */ | ||
team_id: TeamUid | null; | ||
} | ||
@@ -1052,0 +994,0 @@ /** TODO: Add jsdocs and check nullability of fields */ |
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 declare type Timezone = typeof TIMEZONES[number]; | ||
export declare 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 declare type Currency = typeof CURRENCIES[number]; | ||
export declare 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 declare type LanguageCode = typeof LANGUAGE_CODES[number]; | ||
export declare type LanguageCode = (typeof LANGUAGE_CODES)[number]; | ||
//# sourceMappingURL=common.d.ts.map |
@@ -72,6 +72,8 @@ export declare const ConditionTypes: { | ||
readonly GIOSG_EVENT_TRIGGERED: 38; | ||
/** value: call state */ | ||
readonly CALL_STATE: 39; | ||
}; | ||
export declare type ConditionType = typeof ConditionTypes[keyof typeof ConditionTypes]; | ||
export declare type ConditionType = (typeof ConditionTypes)[keyof typeof ConditionTypes]; | ||
export declare type ConditionTypeString = keyof typeof ConditionTypes; | ||
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")[]; | ||
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")[]; | ||
export interface ConditionWeeklyScheduleSettings { | ||
@@ -78,0 +80,0 @@ timezone: string; |
@@ -75,3 +75,5 @@ "use strict"; | ||
GIOSG_EVENT_TRIGGERED: 38, | ||
/** value: call state */ | ||
CALL_STATE: 39, | ||
}; | ||
exports.CONDITION_TYPES = Object.keys(exports.ConditionTypes); |
export declare const supportedEventTypes: readonly ["tcChange"]; | ||
export declare type EventType = typeof supportedEventTypes[number]; | ||
export declare type EventType = (typeof supportedEventTypes)[number]; | ||
export declare type TCEventListener = (consent: TCPreferences) => void; | ||
@@ -4,0 +4,0 @@ /** |
@@ -28,5 +28,4 @@ export { supportedEventTypes, EventType, TCEventListener, Purpose, Service, ConsentManagementApiType, TCPreferences, IGiosgTCApi, ITCApi, } from "./GiosgTCApi"; | ||
export { EndpointMethod, Endpoint, Language } from "./system"; | ||
export { NestedTargetRule, TargetAlgorithmVersion, NestedTargetConfig, TargetConfig, TargetExperiment, TargetedAction, TargetedActionPayload, VisitorPredictionList, VisitorPrediction, VisitorPredictionPayload, VisitorSessionPrediction, VisitorSessionPredictionPayload, } from "./target"; | ||
export { Team, NestedTeam, NestedIncomingSharedTeam, TeamPayload, TeamMembership, TeamMembershipPayload, } from "./teams"; | ||
export { ApplicationUid, AppShareUid, AssetUid, AvatarUid, BrandUid, BusinessUid, CannedAnswerUid, ChatAssignmentUid, LegacyChatDialogUid, ChatInvitationUid, ChatMessageAttachmentUid, ChatMessageAttachmentActionUid, ChatMessageUid, ChatReplySuggestionUid, ChatSessionUid, CallStatusUid, ChatUid, ExperimentGroupUid, ExperimentUid, FeatureName, GiosgAppUid, GiosgAppInstanceUid, GoalUid, InteractionUid, LeadFormDataUid, LeadFormDefinitionUid, OrganizationUid, OrganizationSettingsUid, PublicKeyUid, QuotaUid, RoomSettingsUid, RoomShareUid, RoomUid, RouterUid, RouterStepUid, RuleActionUid, RuleConditionUid, RuleUid, ShoppingCartUid, ShoppingCartProductUid, TagUid, TargetConfigUid, TeamShareUid, TeamUid, TokenUid, UserUid, UploadUid, VisitorPredictionUid, VisitorSessionPredictionUid, WebhookUid, VisitorUid, UserClientUid, BlackListUid, PackedVisitorCid, VisitorSecretId, VisitorSessionCid, VisitorSessionGid, VisitorCid, VisitorGid, UserLegacyId, ChatLegacyId, ChatUserLegacyId, OrganizationLegacyId, RoomLegacyId, RuleLegacyId, VisitorLegacyId, RoomLegacyToken, ASSET_TYPES, AssetType, EXPERIMENT_GROUP_TYPES, ExperimentGroupType, CHAT_STATUS_MESSAGE_TYPES, ChatStatusMessageType, CHAT_DATA_MESSAGE_TYPES, ChatDataMessageType, ChatMessageType, USER_PERMISSION_SCOPES, UserPermissionScope, } from "./types"; | ||
export { ApplicationUid, AppShareUid, AssetUid, AvatarUid, BrandUid, BusinessUid, CannedAnswerUid, ChatAssignmentUid, LegacyChatDialogUid, ChatInvitationUid, ChatMessageAttachmentUid, ChatMessageAttachmentActionUid, ChatMessageUid, ChatReplySuggestionUid, ChatSessionUid, CallStatusUid, ChatUid, ExperimentGroupUid, ExperimentUid, FeatureName, GiosgAppUid, GiosgAppInstanceUid, GoalUid, InteractionUid, LeadFormDataUid, LeadFormDefinitionUid, OrganizationUid, OrganizationSettingsUid, PublicKeyUid, QuotaUid, RoomSettingsUid, RoomShareUid, RoomUid, RouterUid, RouterStepUid, RuleActionUid, RuleConditionUid, RuleUid, ShoppingCartUid, ShoppingCartProductUid, TagUid, TargetConfigUid, TeamShareUid, TeamUid, TokenUid, UserUid, UploadUid, VisitorPredictionUid, VisitorSessionPredictionUid, WebhookUid, VisitorUid, UserClientUid, BlackListUid, PackedVisitorCid, VisitorSecretId, VisitorSessionCid, VisitorCid, UserLegacyId, ChatLegacyId, ChatUserLegacyId, OrganizationLegacyId, RoomLegacyId, RuleLegacyId, VisitorLegacyId, RoomLegacyToken, ASSET_TYPES, AssetType, EXPERIMENT_GROUP_TYPES, ExperimentGroupType, CHAT_STATUS_MESSAGE_TYPES, ChatStatusMessageType, CHAT_DATA_MESSAGE_TYPES, ChatDataMessageType, ChatMessageType, USER_PERMISSION_SCOPES, UserPermissionScope, } from "./types"; | ||
export { Upload, UploadPayload } from "./uploads"; | ||
@@ -33,0 +32,0 @@ export { UserClient, UserClientPayload } from "./userclients"; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.USER_PERMISSION_SCOPES = exports.CHAT_DATA_MESSAGE_TYPES = exports.CHAT_STATUS_MESSAGE_TYPES = exports.EXPERIMENT_GROUP_TYPES = exports.ASSET_TYPES = exports.AUTOSUGGEST_PERMISSION_OPTIONS = exports.AutosuggestPermissionOptions = exports.OAUTH_ERROR_TYPES = exports.OAUTH_PROMPT_OPTIONS = exports.OAUTH_RESPONSE_TYPES = exports.OAUTH_SCOPE_OPTIONS = exports.OAUTH_BASE_URL = exports.CONDITION_TYPES = exports.ConditionTypes = exports.LANGUAGE_CODES = exports.CURRENCIES = exports.TIMEZONES = exports.ACTION_STYLES = exports.ACTION_TYPES = exports.ActionTypes = exports.Service = exports.Purpose = exports.supportedEventTypes = void 0; | ||
var GiosgTCApi_1 = require("./GiosgTCApi"); | ||
@@ -4,0 +5,0 @@ Object.defineProperty(exports, "supportedEventTypes", { enumerable: true, get: function () { return GiosgTCApi_1.supportedEventTypes; } }); |
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 declare type OauthScopeOptions = typeof OAUTH_SCOPE_OPTIONS[number]; | ||
export declare type OauthScopeOptions = (typeof OAUTH_SCOPE_OPTIONS)[number]; | ||
export declare const OAUTH_RESPONSE_TYPES: readonly ["id_token", "id_token token"]; | ||
export declare type OauthResponseType = typeof OAUTH_RESPONSE_TYPES[number]; | ||
export declare type OauthResponseType = (typeof OAUTH_RESPONSE_TYPES)[number]; | ||
export declare const OAUTH_PROMPT_OPTIONS: readonly ["none", "login"]; | ||
export declare type OauthPromptOption = typeof OAUTH_PROMPT_OPTIONS[number]; | ||
export declare 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 declare type OauthErrorType = typeof OAUTH_ERROR_TYPES[number]; | ||
export declare 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 */ |
@@ -6,3 +6,3 @@ import { NestedAvatar } from "./customer"; | ||
import { Brand } from "./brands"; | ||
import { OrganizationUid, RoomUid, VisitorUid, UserUid, UserLegacyId, ChatLegacyId, ChatMessageUid, ChatUid, RuleUid, VisitorLegacyId, RuleLegacyId, RoomLegacyId, ChatMessageAttachmentUid, ChatMessageAttachmentActionUid, ChatSessionUid, VisitorSessionCid, VisitorGid, VisitorSessionGid, VisitorSecretId, ChatMessageType, VisitorCid, RoomLegacyToken } from "./types"; | ||
import { OrganizationUid, RoomUid, VisitorUid, UserUid, UserLegacyId, ChatLegacyId, ChatMessageUid, ChatUid, RuleUid, VisitorLegacyId, RuleLegacyId, RoomLegacyId, ChatMessageAttachmentUid, ChatMessageAttachmentActionUid, ChatSessionUid, VisitorSessionCid, VisitorSecretId, ChatMessageType, VisitorCid, RoomLegacyToken } from "./types"; | ||
import { LanguageCode } from "./common"; | ||
@@ -17,3 +17,3 @@ export declare const AutosuggestPermissionOptions: { | ||
}; | ||
export declare type AutoSuggestPermissionOption = typeof AutosuggestPermissionOptions[keyof typeof AutosuggestPermissionOptions]; | ||
export declare type AutoSuggestPermissionOption = (typeof AutosuggestPermissionOptions)[keyof typeof AutosuggestPermissionOptions]; | ||
export declare type AutosuggestPermissionOptionString = keyof typeof AutosuggestPermissionOptions; | ||
@@ -283,6 +283,2 @@ export declare const AUTOSUGGEST_PERMISSION_OPTIONS: ("NOT_AVAILABLE" | "DISABLED" | "ENABLED")[]; | ||
visitor_session_id: VisitorSessionCid; | ||
/** TODO: add documentation */ | ||
visitor_global_id: VisitorGid; | ||
/** TODO: add documentation */ | ||
visitor_global_session_id: VisitorSessionGid; | ||
} | ||
@@ -298,6 +294,2 @@ export interface PublicCustomVisitorIdPayload { | ||
visitor_session_id: VisitorSessionCid; | ||
/** TODO: add documentation */ | ||
visitor_global_id: VisitorGid; | ||
/** TODO: add documentation */ | ||
visitor_global_session_id: VisitorSessionGid; | ||
} | ||
@@ -310,4 +302,2 @@ /** | ||
visitor_secret_id: VisitorSecretId | null; | ||
/** TODO: add documentation */ | ||
visitor_global_id: VisitorGid | null; | ||
} | ||
@@ -317,4 +307,2 @@ export interface PublicLoginPayload { | ||
visitor_secret_id?: VisitorSecretId | null; | ||
/** TODO: add documentation */ | ||
visitor_global_id?: VisitorGid | null; | ||
} | ||
@@ -321,0 +309,0 @@ export interface GiosgBrand<T> { |
@@ -155,3 +155,3 @@ export declare type ApplicationUid = string & { | ||
* This type is a TODO for all visitorId-related things. | ||
* It should be replaced with one of VisitorCid or PackedVisitorCid or VisitorGid */ | ||
* It should be replaced with one of VisitorCid or PackedVisitorCid */ | ||
export declare type VisitorUid = string & { | ||
@@ -170,3 +170,3 @@ readonly __nominal: "9a7132fb-30c1-4353-a5cc-30159cd45ba1"; | ||
}; | ||
/** Unique identifier which is used to generate VisitorCid and VisitorGid. | ||
/** Unique identifier which is used to generate VisitorCid. | ||
* Only used inside visitor side iframes and is passed to server. | ||
@@ -181,6 +181,2 @@ */ | ||
}; | ||
/** Globally unique identifier for a visitor session. Gid stands for "Global ID". */ | ||
export declare type VisitorSessionGid = string & { | ||
readonly __nominal: "cfbe5d40-8d3c-4c29-9cd1-6a6db3ddebb8"; | ||
}; | ||
/** Unique identifier for a visitor in the scope of an organization. Cid stands for "Company ID". */ | ||
@@ -190,6 +186,2 @@ export declare type VisitorCid = string & { | ||
}; | ||
/** Globally unique identifier for a visitor. Gid stands for "Global ID". */ | ||
export declare type VisitorGid = string & { | ||
readonly __nominal: "6b3fc6d0-9230-4411-a717-0a033bc1a437"; | ||
}; | ||
export declare type UserLegacyId = number & { | ||
@@ -220,12 +212,12 @@ readonly __nominal: "85110dc1-c699-43ca-82fa-ad194ad35ea5"; | ||
export declare const ASSET_TYPES: readonly ["image", "css", "javascript", "font"]; | ||
export declare type AssetType = typeof ASSET_TYPES[number]; | ||
export declare 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 declare type ExperimentGroupType = typeof EXPERIMENT_GROUP_TYPES[number]; | ||
export declare type ExperimentGroupType = (typeof EXPERIMENT_GROUP_TYPES)[number]; | ||
export declare const CHAT_STATUS_MESSAGE_TYPES: readonly ["join", "leave", "shoppingcart_locked", "action", "call_ended"]; | ||
export declare type ChatStatusMessageType = typeof CHAT_STATUS_MESSAGE_TYPES[number]; | ||
export declare 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"]; | ||
export declare type ChatDataMessageType = typeof CHAT_DATA_MESSAGE_TYPES[number]; | ||
export declare type ChatDataMessageType = (typeof CHAT_DATA_MESSAGE_TYPES)[number]; | ||
export declare type ChatMessageType = ChatStatusMessageType | ChatDataMessageType; | ||
export declare const USER_PERMISSION_SCOPES: readonly ["settings", "reports", "users"]; | ||
export declare type UserPermissionScope = typeof USER_PERMISSION_SCOPES[number]; | ||
export declare type UserPermissionScope = (typeof USER_PERMISSION_SCOPES)[number]; | ||
//# sourceMappingURL=types.d.ts.map |
@@ -51,3 +51,3 @@ import { UserUid } from "./types"; | ||
}; | ||
export declare type ActionType = typeof ActionTypes[keyof typeof ActionTypes]; | ||
export declare type ActionType = (typeof ActionTypes)[keyof typeof ActionTypes]; | ||
export declare 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 declare type ActionStyle = typeof ACTION_STYLES[number]; | ||
export declare type ActionStyle = (typeof ACTION_STYLES)[number]; | ||
//# sourceMappingURL=actions.d.ts.map |
@@ -953,38 +953,4 @@ import { NestedAvatar } from "./customer"; | ||
room_id: RoomUid; | ||
/** Unique identifier of the organization which owns the room in which the chat occurred */ | ||
room_organization_id: OrganizationUid; | ||
/** Name of the room in which the chat occurred */ | ||
room_name: string; | ||
/** Number of tags associated with the chat */ | ||
tag_count: number; | ||
/** Number of messages in the chat at the moment */ | ||
message_count: number; | ||
/** Number of messages sent by operators in the chat */ | ||
user_message_count: number; | ||
/** Number of messages sent by visitors in the chat */ | ||
visitor_message_count: number; | ||
/** Defines whether there are any messages in chat */ | ||
has_messages: boolean; | ||
/** Defines whether there are any user messages in chat */ | ||
has_user_messages: boolean; | ||
/** Defines whether there are any visitor messages in chat */ | ||
has_visitor_messages: boolean; | ||
/** Number of people (visitors and users) currently participating and present at the chat */ | ||
present_participant_count: number; | ||
/** Number of users currently participating and present at the chat */ | ||
present_user_participant_count: number; | ||
/** Number of visitors currently participating and present at the chat */ | ||
present_visitor_participant_count: number; | ||
/** Number of people (visitors and users) attended or sent messages to the chat */ | ||
member_count: number; | ||
/** Number of users sent at least one message to the chat */ | ||
user_member_count: number; | ||
/** Number of visitors attended the chat */ | ||
visitor_member_count: number; | ||
/** Defines whether the chat is marked as private for its operators */ | ||
is_private: boolean; | ||
/** Defines whether the chat is an actual conversation */ | ||
is_real_conversation: boolean; | ||
/** Defines whether the chat started with an automatic autosuggestion message */ | ||
is_autosuggested: boolean; | ||
/** Defines whether the chats is new and was started by a visitor and response by a user is required */ | ||
@@ -996,8 +962,2 @@ is_waiting: boolean; | ||
is_ended: boolean; | ||
/** Defines whether the messages of the chat are stored encrypted */ | ||
is_encrypted: boolean; | ||
/** True if the message contents are available and False if they are encrypted and the encryption key is not available anymore */ | ||
is_available: boolean; | ||
/** True if chat session was removed by manual request or by data retention policy */ | ||
is_removed: boolean; | ||
/** | ||
@@ -1008,20 +968,4 @@ * Encrypted symmetric key (AES) with which all the chat messages in the chat are encrypted. | ||
encrypted_symmetric_key: string | null; | ||
/** Full URL of the page that the visitor was on when they received an autosuggest */ | ||
autosuggest_url: string | null; | ||
/** Title of the page that the visitor was on when they received an autosuggest */ | ||
autosuggest_url_title: string | null; | ||
/** Full URL of the page that the visitor was on when they sent their first message to te chat */ | ||
first_visitor_message_url: string | null; | ||
/** Title of the page that the visitor was on when they sent their first message */ | ||
first_visitor_message_url_title: string | null; | ||
/** Number of seconds the visitor had to wait for an answer to the first sent message */ | ||
visitor_wait_time: number | null; | ||
/** Duration of the chat in seconds. This value is null until the chat has ended */ | ||
duration: number | null; | ||
/** | ||
* Number of seconds of the chat duration was considered to be active time. This is calculated so | ||
* that after each message chat is assumed to be active for 60 seconds and idle after that if no new messages | ||
* are received. This value is null until the chat has ended | ||
*/ | ||
active_duration: number | null; | ||
/** Chat session latest message if exists */ | ||
@@ -1048,4 +992,2 @@ chat_session_latest_message: ChatMessage | null; | ||
visitor_id: VisitorCid | null; | ||
/** Team ID if this chat is team chat channel type, null otherwise */ | ||
team_id: TeamUid | null; | ||
} | ||
@@ -1052,0 +994,0 @@ /** TODO: Add jsdocs and check nullability of fields */ |
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 declare type Timezone = typeof TIMEZONES[number]; | ||
export declare 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 declare type Currency = typeof CURRENCIES[number]; | ||
export declare 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 declare type LanguageCode = typeof LANGUAGE_CODES[number]; | ||
export declare type LanguageCode = (typeof LANGUAGE_CODES)[number]; | ||
//# sourceMappingURL=common.d.ts.map |
@@ -72,6 +72,8 @@ export declare const ConditionTypes: { | ||
readonly GIOSG_EVENT_TRIGGERED: 38; | ||
/** value: call state */ | ||
readonly CALL_STATE: 39; | ||
}; | ||
export declare type ConditionType = typeof ConditionTypes[keyof typeof ConditionTypes]; | ||
export declare type ConditionType = (typeof ConditionTypes)[keyof typeof ConditionTypes]; | ||
export declare type ConditionTypeString = keyof typeof ConditionTypes; | ||
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")[]; | ||
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")[]; | ||
export interface ConditionWeeklyScheduleSettings { | ||
@@ -78,0 +80,0 @@ timezone: string; |
@@ -72,3 +72,5 @@ export const ConditionTypes = { | ||
GIOSG_EVENT_TRIGGERED: 38, | ||
/** value: call state */ | ||
CALL_STATE: 39, | ||
}; | ||
export const CONDITION_TYPES = Object.keys(ConditionTypes); |
export declare const supportedEventTypes: readonly ["tcChange"]; | ||
export declare type EventType = typeof supportedEventTypes[number]; | ||
export declare type EventType = (typeof supportedEventTypes)[number]; | ||
export declare type TCEventListener = (consent: TCPreferences) => void; | ||
@@ -4,0 +4,0 @@ /** |
@@ -28,5 +28,4 @@ export { supportedEventTypes, EventType, TCEventListener, Purpose, Service, ConsentManagementApiType, TCPreferences, IGiosgTCApi, ITCApi, } from "./GiosgTCApi"; | ||
export { EndpointMethod, Endpoint, Language } from "./system"; | ||
export { NestedTargetRule, TargetAlgorithmVersion, NestedTargetConfig, TargetConfig, TargetExperiment, TargetedAction, TargetedActionPayload, VisitorPredictionList, VisitorPrediction, VisitorPredictionPayload, VisitorSessionPrediction, VisitorSessionPredictionPayload, } from "./target"; | ||
export { Team, NestedTeam, NestedIncomingSharedTeam, TeamPayload, TeamMembership, TeamMembershipPayload, } from "./teams"; | ||
export { ApplicationUid, AppShareUid, AssetUid, AvatarUid, BrandUid, BusinessUid, CannedAnswerUid, ChatAssignmentUid, LegacyChatDialogUid, ChatInvitationUid, ChatMessageAttachmentUid, ChatMessageAttachmentActionUid, ChatMessageUid, ChatReplySuggestionUid, ChatSessionUid, CallStatusUid, ChatUid, ExperimentGroupUid, ExperimentUid, FeatureName, GiosgAppUid, GiosgAppInstanceUid, GoalUid, InteractionUid, LeadFormDataUid, LeadFormDefinitionUid, OrganizationUid, OrganizationSettingsUid, PublicKeyUid, QuotaUid, RoomSettingsUid, RoomShareUid, RoomUid, RouterUid, RouterStepUid, RuleActionUid, RuleConditionUid, RuleUid, ShoppingCartUid, ShoppingCartProductUid, TagUid, TargetConfigUid, TeamShareUid, TeamUid, TokenUid, UserUid, UploadUid, VisitorPredictionUid, VisitorSessionPredictionUid, WebhookUid, VisitorUid, UserClientUid, BlackListUid, PackedVisitorCid, VisitorSecretId, VisitorSessionCid, VisitorSessionGid, VisitorCid, VisitorGid, UserLegacyId, ChatLegacyId, ChatUserLegacyId, OrganizationLegacyId, RoomLegacyId, RuleLegacyId, VisitorLegacyId, RoomLegacyToken, ASSET_TYPES, AssetType, EXPERIMENT_GROUP_TYPES, ExperimentGroupType, CHAT_STATUS_MESSAGE_TYPES, ChatStatusMessageType, CHAT_DATA_MESSAGE_TYPES, ChatDataMessageType, ChatMessageType, USER_PERMISSION_SCOPES, UserPermissionScope, } from "./types"; | ||
export { ApplicationUid, AppShareUid, AssetUid, AvatarUid, BrandUid, BusinessUid, CannedAnswerUid, ChatAssignmentUid, LegacyChatDialogUid, ChatInvitationUid, ChatMessageAttachmentUid, ChatMessageAttachmentActionUid, ChatMessageUid, ChatReplySuggestionUid, ChatSessionUid, CallStatusUid, ChatUid, ExperimentGroupUid, ExperimentUid, FeatureName, GiosgAppUid, GiosgAppInstanceUid, GoalUid, InteractionUid, LeadFormDataUid, LeadFormDefinitionUid, OrganizationUid, OrganizationSettingsUid, PublicKeyUid, QuotaUid, RoomSettingsUid, RoomShareUid, RoomUid, RouterUid, RouterStepUid, RuleActionUid, RuleConditionUid, RuleUid, ShoppingCartUid, ShoppingCartProductUid, TagUid, TargetConfigUid, TeamShareUid, TeamUid, TokenUid, UserUid, UploadUid, VisitorPredictionUid, VisitorSessionPredictionUid, WebhookUid, VisitorUid, UserClientUid, BlackListUid, PackedVisitorCid, VisitorSecretId, VisitorSessionCid, VisitorCid, UserLegacyId, ChatLegacyId, ChatUserLegacyId, OrganizationLegacyId, RoomLegacyId, RuleLegacyId, VisitorLegacyId, RoomLegacyToken, ASSET_TYPES, AssetType, EXPERIMENT_GROUP_TYPES, ExperimentGroupType, CHAT_STATUS_MESSAGE_TYPES, ChatStatusMessageType, CHAT_DATA_MESSAGE_TYPES, ChatDataMessageType, ChatMessageType, USER_PERMISSION_SCOPES, UserPermissionScope, } from "./types"; | ||
export { Upload, UploadPayload } from "./uploads"; | ||
@@ -33,0 +32,0 @@ export { UserClient, UserClientPayload } from "./userclients"; |
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 declare type OauthScopeOptions = typeof OAUTH_SCOPE_OPTIONS[number]; | ||
export declare type OauthScopeOptions = (typeof OAUTH_SCOPE_OPTIONS)[number]; | ||
export declare const OAUTH_RESPONSE_TYPES: readonly ["id_token", "id_token token"]; | ||
export declare type OauthResponseType = typeof OAUTH_RESPONSE_TYPES[number]; | ||
export declare type OauthResponseType = (typeof OAUTH_RESPONSE_TYPES)[number]; | ||
export declare const OAUTH_PROMPT_OPTIONS: readonly ["none", "login"]; | ||
export declare type OauthPromptOption = typeof OAUTH_PROMPT_OPTIONS[number]; | ||
export declare 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 declare type OauthErrorType = typeof OAUTH_ERROR_TYPES[number]; | ||
export declare 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 */ |
@@ -6,3 +6,3 @@ import { NestedAvatar } from "./customer"; | ||
import { Brand } from "./brands"; | ||
import { OrganizationUid, RoomUid, VisitorUid, UserUid, UserLegacyId, ChatLegacyId, ChatMessageUid, ChatUid, RuleUid, VisitorLegacyId, RuleLegacyId, RoomLegacyId, ChatMessageAttachmentUid, ChatMessageAttachmentActionUid, ChatSessionUid, VisitorSessionCid, VisitorGid, VisitorSessionGid, VisitorSecretId, ChatMessageType, VisitorCid, RoomLegacyToken } from "./types"; | ||
import { OrganizationUid, RoomUid, VisitorUid, UserUid, UserLegacyId, ChatLegacyId, ChatMessageUid, ChatUid, RuleUid, VisitorLegacyId, RuleLegacyId, RoomLegacyId, ChatMessageAttachmentUid, ChatMessageAttachmentActionUid, ChatSessionUid, VisitorSessionCid, VisitorSecretId, ChatMessageType, VisitorCid, RoomLegacyToken } from "./types"; | ||
import { LanguageCode } from "./common"; | ||
@@ -17,3 +17,3 @@ export declare const AutosuggestPermissionOptions: { | ||
}; | ||
export declare type AutoSuggestPermissionOption = typeof AutosuggestPermissionOptions[keyof typeof AutosuggestPermissionOptions]; | ||
export declare type AutoSuggestPermissionOption = (typeof AutosuggestPermissionOptions)[keyof typeof AutosuggestPermissionOptions]; | ||
export declare type AutosuggestPermissionOptionString = keyof typeof AutosuggestPermissionOptions; | ||
@@ -283,6 +283,2 @@ export declare const AUTOSUGGEST_PERMISSION_OPTIONS: ("NOT_AVAILABLE" | "DISABLED" | "ENABLED")[]; | ||
visitor_session_id: VisitorSessionCid; | ||
/** TODO: add documentation */ | ||
visitor_global_id: VisitorGid; | ||
/** TODO: add documentation */ | ||
visitor_global_session_id: VisitorSessionGid; | ||
} | ||
@@ -298,6 +294,2 @@ export interface PublicCustomVisitorIdPayload { | ||
visitor_session_id: VisitorSessionCid; | ||
/** TODO: add documentation */ | ||
visitor_global_id: VisitorGid; | ||
/** TODO: add documentation */ | ||
visitor_global_session_id: VisitorSessionGid; | ||
} | ||
@@ -310,4 +302,2 @@ /** | ||
visitor_secret_id: VisitorSecretId | null; | ||
/** TODO: add documentation */ | ||
visitor_global_id: VisitorGid | null; | ||
} | ||
@@ -317,4 +307,2 @@ export interface PublicLoginPayload { | ||
visitor_secret_id?: VisitorSecretId | null; | ||
/** TODO: add documentation */ | ||
visitor_global_id?: VisitorGid | null; | ||
} | ||
@@ -321,0 +309,0 @@ export interface GiosgBrand<T> { |
@@ -155,3 +155,3 @@ export declare type ApplicationUid = string & { | ||
* This type is a TODO for all visitorId-related things. | ||
* It should be replaced with one of VisitorCid or PackedVisitorCid or VisitorGid */ | ||
* It should be replaced with one of VisitorCid or PackedVisitorCid */ | ||
export declare type VisitorUid = string & { | ||
@@ -170,3 +170,3 @@ readonly __nominal: "9a7132fb-30c1-4353-a5cc-30159cd45ba1"; | ||
}; | ||
/** Unique identifier which is used to generate VisitorCid and VisitorGid. | ||
/** Unique identifier which is used to generate VisitorCid. | ||
* Only used inside visitor side iframes and is passed to server. | ||
@@ -181,6 +181,2 @@ */ | ||
}; | ||
/** Globally unique identifier for a visitor session. Gid stands for "Global ID". */ | ||
export declare type VisitorSessionGid = string & { | ||
readonly __nominal: "cfbe5d40-8d3c-4c29-9cd1-6a6db3ddebb8"; | ||
}; | ||
/** Unique identifier for a visitor in the scope of an organization. Cid stands for "Company ID". */ | ||
@@ -190,6 +186,2 @@ export declare type VisitorCid = string & { | ||
}; | ||
/** Globally unique identifier for a visitor. Gid stands for "Global ID". */ | ||
export declare type VisitorGid = string & { | ||
readonly __nominal: "6b3fc6d0-9230-4411-a717-0a033bc1a437"; | ||
}; | ||
export declare type UserLegacyId = number & { | ||
@@ -220,12 +212,12 @@ readonly __nominal: "85110dc1-c699-43ca-82fa-ad194ad35ea5"; | ||
export declare const ASSET_TYPES: readonly ["image", "css", "javascript", "font"]; | ||
export declare type AssetType = typeof ASSET_TYPES[number]; | ||
export declare 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 declare type ExperimentGroupType = typeof EXPERIMENT_GROUP_TYPES[number]; | ||
export declare type ExperimentGroupType = (typeof EXPERIMENT_GROUP_TYPES)[number]; | ||
export declare const CHAT_STATUS_MESSAGE_TYPES: readonly ["join", "leave", "shoppingcart_locked", "action", "call_ended"]; | ||
export declare type ChatStatusMessageType = typeof CHAT_STATUS_MESSAGE_TYPES[number]; | ||
export declare 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"]; | ||
export declare type ChatDataMessageType = typeof CHAT_DATA_MESSAGE_TYPES[number]; | ||
export declare type ChatDataMessageType = (typeof CHAT_DATA_MESSAGE_TYPES)[number]; | ||
export declare type ChatMessageType = ChatStatusMessageType | ChatDataMessageType; | ||
export declare const USER_PERMISSION_SCOPES: readonly ["settings", "reports", "users"]; | ||
export declare type UserPermissionScope = typeof USER_PERMISSION_SCOPES[number]; | ||
export declare type UserPermissionScope = (typeof USER_PERMISSION_SCOPES)[number]; | ||
//# sourceMappingURL=types.d.ts.map |
{ | ||
"name": "@giosg/types", | ||
"version": "8.0.1", | ||
"version": "8.0.2", | ||
"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
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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
703059
213
11142