@wix/bex-utils 2.5.0 → 2.7.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (76) hide show
  1. package/@wix/bi-logger-os-data/dist/cjs/index.js +4279 -0
  2. package/@wix/bi-logger-os-data/dist/cjs/index.js.map +1 -0
  3. package/@wix/bi-logger-os-data/dist/cjs/testkit/client-testkit.js +4288 -0
  4. package/@wix/bi-logger-os-data/dist/cjs/testkit/client-testkit.js.map +1 -0
  5. package/@wix/bi-logger-os-data/dist/cjs/testkit/common.js +56732 -0
  6. package/@wix/bi-logger-os-data/dist/cjs/testkit/common.js.map +1 -0
  7. package/@wix/bi-logger-os-data/dist/cjs/testkit/node-testkit.js +4314 -0
  8. package/@wix/bi-logger-os-data/dist/cjs/testkit/node-testkit.js.map +1 -0
  9. package/@wix/bi-logger-os-data/dist/cjs/v2/index.js +26632 -0
  10. package/@wix/bi-logger-os-data/dist/cjs/v2/index.js.map +1 -0
  11. package/@wix/bi-logger-os-data/dist/esm/index.js +4274 -0
  12. package/@wix/bi-logger-os-data/dist/esm/index.js.map +1 -0
  13. package/@wix/bi-logger-os-data/dist/esm/testkit/client-testkit.js +4279 -0
  14. package/@wix/bi-logger-os-data/dist/esm/testkit/client-testkit.js.map +1 -0
  15. package/@wix/bi-logger-os-data/dist/esm/testkit/common.js +56727 -0
  16. package/@wix/bi-logger-os-data/dist/esm/testkit/common.js.map +1 -0
  17. package/@wix/bi-logger-os-data/dist/esm/testkit/node-testkit.js +4285 -0
  18. package/@wix/bi-logger-os-data/dist/esm/testkit/node-testkit.js.map +1 -0
  19. package/@wix/bi-logger-os-data/dist/esm/v2/index.js +25192 -0
  20. package/@wix/bi-logger-os-data/dist/esm/v2/index.js.map +1 -0
  21. package/@wix/bi-logger-os-data/dist/types/index.d.ts +1426 -0
  22. package/@wix/bi-logger-os-data/dist/types/testkit/client-testkit.d.ts +12457 -0
  23. package/@wix/bi-logger-os-data/dist/types/testkit/node-testkit.d.ts +12458 -0
  24. package/@wix/bi-logger-os-data/dist/types/types.d.ts +12452 -0
  25. package/@wix/bi-logger-os-data/dist/types/v2/index.d.ts +22374 -0
  26. package/@wix/{bi-logger-cairo-os → bi-logger-os-data}/package.json +6 -6
  27. package/@wix/bi-logger-os-data/src/index.ts +5678 -0
  28. package/@wix/bi-logger-os-data/src/testkit/client-testkit.ts +16678 -0
  29. package/@wix/bi-logger-os-data/src/testkit/common.ts +65077 -0
  30. package/@wix/bi-logger-os-data/src/testkit/node-testkit.ts +16688 -0
  31. package/@wix/bi-logger-os-data/src/types.ts +22122 -0
  32. package/@wix/bi-logger-os-data/src/v2/index.ts +26601 -0
  33. package/README.md +1 -1
  34. package/package.json +3 -3
  35. package/@wix/bi-logger-cairo-os/dist/cjs/index.js +0 -297
  36. package/@wix/bi-logger-cairo-os/dist/cjs/index.js.map +0 -1
  37. package/@wix/bi-logger-cairo-os/dist/cjs/testkit/client-testkit.js +0 -603
  38. package/@wix/bi-logger-cairo-os/dist/cjs/testkit/client-testkit.js.map +0 -1
  39. package/@wix/bi-logger-cairo-os/dist/cjs/testkit/common.js +0 -7239
  40. package/@wix/bi-logger-cairo-os/dist/cjs/testkit/common.js.map +0 -1
  41. package/@wix/bi-logger-cairo-os/dist/cjs/testkit/node-testkit.js +0 -647
  42. package/@wix/bi-logger-cairo-os/dist/cjs/testkit/node-testkit.js.map +0 -1
  43. package/@wix/bi-logger-cairo-os/dist/cjs/v2/index.js +0 -2267
  44. package/@wix/bi-logger-cairo-os/dist/cjs/v2/index.js.map +0 -1
  45. package/@wix/bi-logger-cairo-os/dist/esm/index.js +0 -293
  46. package/@wix/bi-logger-cairo-os/dist/esm/index.js.map +0 -1
  47. package/@wix/bi-logger-cairo-os/dist/esm/testkit/client-testkit.js +0 -595
  48. package/@wix/bi-logger-cairo-os/dist/esm/testkit/client-testkit.js.map +0 -1
  49. package/@wix/bi-logger-cairo-os/dist/esm/testkit/common.js +0 -7235
  50. package/@wix/bi-logger-cairo-os/dist/esm/testkit/common.js.map +0 -1
  51. package/@wix/bi-logger-cairo-os/dist/esm/testkit/node-testkit.js +0 -619
  52. package/@wix/bi-logger-cairo-os/dist/esm/testkit/node-testkit.js.map +0 -1
  53. package/@wix/bi-logger-cairo-os/dist/esm/v2/index.js +0 -2186
  54. package/@wix/bi-logger-cairo-os/dist/esm/v2/index.js.map +0 -1
  55. package/@wix/bi-logger-cairo-os/dist/types/index.d.ts +0 -94
  56. package/@wix/bi-logger-cairo-os/dist/types/testkit/client-testkit.d.ts +0 -1510
  57. package/@wix/bi-logger-cairo-os/dist/types/testkit/node-testkit.d.ts +0 -1511
  58. package/@wix/bi-logger-cairo-os/dist/types/types.d.ts +0 -1505
  59. package/@wix/bi-logger-cairo-os/dist/types/v2/index.d.ts +0 -2032
  60. package/@wix/bi-logger-cairo-os/src/index.ts +0 -350
  61. package/@wix/bi-logger-cairo-os/src/testkit/client-testkit.ts +0 -1771
  62. package/@wix/bi-logger-cairo-os/src/testkit/common.ts +0 -7312
  63. package/@wix/bi-logger-cairo-os/src/testkit/node-testkit.ts +0 -1781
  64. package/@wix/bi-logger-cairo-os/src/types.ts +0 -2596
  65. package/@wix/bi-logger-cairo-os/src/v2/index.ts +0 -2263
  66. package/@wix/bi-logger-cairo-os/testkit/package.json +0 -6
  67. /package/@wix/{bi-logger-cairo-os → bi-logger-os-data}/dist/cjs/types.js +0 -0
  68. /package/@wix/{bi-logger-cairo-os → bi-logger-os-data}/dist/cjs/types.js.map +0 -0
  69. /package/@wix/{bi-logger-cairo-os → bi-logger-os-data}/dist/esm/types.js +0 -0
  70. /package/@wix/{bi-logger-cairo-os → bi-logger-os-data}/dist/esm/types.js.map +0 -0
  71. /package/@wix/{bi-logger-cairo-os → bi-logger-os-data}/dist/types/testkit/common.d.ts +0 -0
  72. /package/@wix/{bi-logger-cairo-os → bi-logger-os-data}/src/external-types.d.ts +0 -0
  73. /package/@wix/{bi-logger-cairo-os → bi-logger-os-data}/testkit/client/package.json +0 -0
  74. /package/@wix/{bi-logger-cairo-os → bi-logger-os-data}/testkit/node/package.json +0 -0
  75. /package/@wix/{bi-logger-cairo-os → bi-logger-os-data}/v2/package.json +0 -0
  76. /package/@wix/{bi-logger-cairo-os → bi-logger-os-data}/v2/types.d.ts +0 -0
@@ -1,2032 +0,0 @@
1
- import { LogObject, cairoAllFiltersClearedParams, cairoApiRequestDataLoadEndParams, cairoApplyButtonClickedParams, cairoAssignTagsToEntitiesParams, cairoCancelExportModalCtaClickedParams, cairoChangesBeforeApplyParams, cairoComponentSortedParams, cairoCtaClickedParams, cairoCustomizeColumnsInSidePanelParams, cairoDataExAddCustomFieldParams, cairoDataExCustomFieldAdvancesSettingsParams, cairoDataExCustomFieldEndProcessParams, cairoDataExtensionUnsuccessfulUpdateInServerParams, cairoDiscardChangesBeforeApplyParams, cairoDragActionUnsuccessfulUpdateInServerParams, cairoDragItemEndDropParams, cairoDragItemParams, cairoErrorInLoadingAComponentParams, cairoExportCtaClickedParams, cairoExportFailedModalCtaClickedParams, cairoExportModalCtaClickedParams, cairoExportProcessEndParams, cairoExportProcessStartParams, cairoFileDownloadToastDismissedParams, cairoFileDownloadToastDisplayedParams, cairoFileDownloadToastDownloadButtonClickedParams, cairoFilterToggledParams, cairoFiltersPanelUsedParams, cairoItemSelectionToggledParams, cairoItemToggledInExportModalParams, cairoLearnMoreParams, cairoManageViewActionSelectedParams, cairoManageViewClickedParams, cairoModalCtaClickedParams, cairoNestedTableCollapseAndExpandParams, cairoPageBackOrBreadcrumbClickedParams, cairoPageCtaClickedParams, cairoPageDiscardChangesBeforeSaveParams, cairoReloadErrorStateParams, cairoReorderingSortColumnsParams, cairoSearchForTagsParams, cairoSearchResultsParams, cairoSearchViewInViewsParams, cairoSectionCtaClickedParams, cairoSortPanelUsedParams, cairoSortUnsuccessfulUpdateInServerParams, cairoTabSelectedParams, cairoTableTopNotificationDismissedParams, cairoTableTopNotificationDisplayedParams, cairoTagsAddDeleteTagParams, cairoTagsAssignTagParams, cairoTagsModalEndProcessParams, cairoTagsModalStartLoadParams, cairoTagsUnsuccessfulUpdateInServerParams, cairoTagsWidgetClickOnCtaParams, cairoTagsWidgetLoadedParams, cairoTpaSCtaClickedParams, cairoTryAgainClickedParams, cairoUndoClickedParams, cairoUserAttemptsToCancelTheExportParams, cairoViewDeletedParams, cairoViewSavedParams, cairoViewSelectedParams, cairoViewsUnsuccessfulUpdateInServerParams, componentDismissedParams, loadEndParams, loadMoreParams, loadStartParams, newItemCreationEndParams, newItemCreationStartParams, pickerEndLoadParams, pickerModalUsabilityParams, pickerPickModalCtaButtonClickOrImmediateCtaParams, pickerPickerOpenButtonParams, pickerStartLoadParams, pikachuCategoriesDropdownButtonClickedParams, pikachuItemCategorySelectedParams } from '../types';
2
- /**
3
- * A function to create a log object for the 'componentDismissed' event (evid: 113)
4
- *
5
- * Event description: Sent when a component is dismissed. Relevant components: Picker Modal.
6
- *
7
- * @param {componentDismissedParams} params - The parameters for this event
8
- * @property {string} appId
9
- * @property {string} artifactId - Artifact that owns the component
10
- * @property {string} cairoVersion
11
- * @property {string} componentName - (Optional) Component name, if there are two components of the same type per artifact
12
- * @property {string} componentType - Picker Modal / Picker Dropdown
13
- * @property {GUID} csid
14
- * @property {string} domain - (Optional) Domain name from FQDN (CRM, Store, etc.)
15
- * @property {boolean} isTPA
16
- * @property {string} origin - X button/Cancel button
17
- * @property {string} product - Name of the product/api from FQDN (contacts, booking, site_properties, etc.)
18
- * @property {string} resource - Singular form of the resource name from FQDN, "goal" of component (order, contact, etc.)
19
- * @return {LogObject<componentDismissedParams>} LogObject<componentDismissedParams>
20
- */
21
- export declare function componentDismissed(params: componentDismissedParams): LogObject<componentDismissedParams>;
22
- /**
23
- * A function to create a log object for the 'loadMore' event (evid: 112)
24
- *
25
- * Event description: Sent when a Cairo component is done loading more items (after scrolling). Relevant components: Picker Standalone, Picker Modal, Table, Cards.
26
- *
27
- * @param {loadMoreParams} params - The parameters for this event
28
- * @property {string} appId
29
- * @property {string} artifactId - Artifact that owns the component
30
- * @property {string} cairoVersion
31
- * @property {string} componentName - Component name, if there are two components of the same type per artifact
32
- * @property {string} componentType - Picker Standalone/Picker Modal/Table/Cards
33
- * @property {GUID} csid
34
- * @property {string} currentFilters - A list of filters that are currently displayed to user: {"filter1": "filterValue1", "filter2": "filterValue2a", "filterValue2b"}. Relevant for Table and Cards.
35
- * @property {string} currentSortOrder - Which column is currently used to sort the list: {"columnName": "asc"/"desc"}. Relevant for Table and Cards.
36
- * @property {string} currentTab - Which tab is currently displayed to the user. Relevant for Table and Cards.
37
- * @property {string} currentView - Which view is currently displayed to the user. Relevant for Table and Cards.
38
- * @property {string} domain - Optional domain name from FQDN (crm, stores, etc.)
39
- * @property {number} filteredListSize - How many items are to be presented (filtered)
40
- * @property {boolean} isTPA
41
- * @property {number} loadedItems - How many new items were loaded in this action
42
- * @property {number} loadingTime - Component loading time in ms
43
- * @property {string} product - Name of the product/api from FQDN (contacts, booking, site_properties, etc.)
44
- * @property {string} resource - Singular form of the resource name from FQDN, "goal" of component (order, contact, etc.)
45
- * @return {LogObject<loadMoreParams>} LogObject<loadMoreParams>
46
- */
47
- export declare function loadMore(params: loadMoreParams): LogObject<loadMoreParams>;
48
- /**
49
- * A function to create a log object for the 'cairoDragItemEndDrop' event (evid: 139)
50
- *
51
- * Event description: Sent when a user finish to drag an item
52
- *
53
- * @param {cairoDragItemEndDropParams} params - The parameters for this event
54
- * @property {string} appId
55
- * @property {string} artifactId - Artifact that owns the component
56
- * @property {string} cairoVersion - cairo version
57
- * @property {string} componentName - (Optional) Component name, if there are two components of the same type per artifact
58
- * @property {string} componentType - Picker Standalone/Picker Modal/Table/Cards
59
- * @property {GUID} csid
60
- * @property {string} currentFilters - A list of filters that are currently displayed to user: {"filter1": "filterValue1", "filter2": "filterValue2a", "filterValue2b"}. Relevant for Table and Cards. For now, it can only be a "category filter" that is displayed in this event. (relate to ticket 525+521).
61
- * @property {string} currentSortOrder - Which columns are currently used to sort the list: [{"fieldName": "FIELD_NAME", "order": "asc"}
62
- * @property {string} currentTab - Which tab is currently displayed to the user. Relevant for Table and Cards.
63
- * @property {string} currentView - Which view is currently displayed to the user. Relevant for Table and Cards.
64
- * @property {string} domain - (Optional) Domain name from FQDN (crm, stores, etc.)
65
- * @property {GUID} dragAndDropID - A "couple" identifier , match between drag action and its drop action
66
- * @property {number} duration - duration in ms from starting to drag the item untill the action has ended
67
- * @property {string} endType - (happy flow+ ticket 529) how did the "drag action" end? Will get one of the following:
68
- * "drop succeeded" = the item has been dropped inside the collection
69
- * "drop back" = the item has been dropped to it's original index (itemIndexBefore=itenIndexAfter)
70
- * "drop outside" = the item has been dropped outside the collection (itemIndexBefore=itenIndexAfter)
71
- * "clicked ESC" = the user clicked on the ESC button and the action was cancelled. "drag disabled" = the user tried to drag an item when the this feature is disabled. If the action was cancelled due to external-to-Cairo logic- event 144:140 will be sent instead.
72
- * @property {number} filteredListSize - How many items are to be presented (filtered)
73
- * @property {number} initialItems - Initial number of items loaded (before scroll and autoload)
74
- * @property {boolean} isFromHandle - Is the item dragged from the handle area?
75
- * @property {boolean} isFromSearch - Did the user try to drag the item from a list of search results (relate to ticket 521).
76
- * @property {boolean} isTPA
77
- * @property {string} itemId - ID of the item that the user tries to drag
78
- * @property {number} itemIndexAfter - Out of the list of results, what is the new index of the dragged item (after dragging). ** filteredListSize = X --> (1 <= itemIndexAfter <= X) **when endType <> drop succeeded --> itemIndexAfter = itemIndexBefore
79
- * @property {number} itemIndexBefore - Out of the list of results, what was the index of the dragged item (before dragging). ** filteredListSize = X --> (1 <= itemIndexBefore <= X)
80
- * @property {number} numItemsBefore - (relate to ticket 526). How many items have been selected before user clicks item and starts the drag action?
81
- * @property {string} product - Name of the product/api from FQDN (contacts, booking, site_properties, etc.)
82
- * @property {string} resource - Singular form of the resource name from FQDN, "goal" of component (order, contact, etc.)
83
- * @property {string} searchQuery - What did the user search? isFromSearch = FALSE --> searchQuery = null (relate to ticket 521).
84
- * @return {LogObject<cairoDragItemEndDropParams>} LogObject<cairoDragItemEndDropParams>
85
- */
86
- export declare function cairoDragItemEndDrop(params: cairoDragItemEndDropParams): LogObject<cairoDragItemEndDropParams>;
87
- /**
88
- * A function to create a log object for the 'pickerPickerOpenButton' event (evid: 105)
89
- *
90
- * Event description: Picker button actions (not within the modal)
91
- *
92
- * @param {pickerPickerOpenButtonParams} params - The parameters for this event
93
- * @property {string} action - Any picker button option (render/hover/click)
94
- * @property {string} appId
95
- * @property {string} artifactId - Artifact that owns the component
96
- * @property {string} cairoVersion
97
- * @property {string} componentName - Optional in case having 2 pickers under the same artifact
98
- * @property {string} componentType
99
- * @property {GUID} csid
100
- * @property {string} domain - Optional domain name from FDQN (CRM, Store, etc.)
101
- * @property {number} filteredListSize - How many items are to presented (filtered)
102
- * @property {number} initialItems - Initial number of items loaded (before scroll and autoload)
103
- * @property {boolean} isTPA
104
- * @property {number} listSize - How many items exist (full list)
105
- * @property {number} maxItems - Max items to select in picker
106
- * @property {string} product - Name of the product / api. E.g. contacts, booking, site_properties, etc. from FDQN
107
- * @property {string} resource - Singular form of the resource name. E.g. order, contact, etc. from FDQN ("goal" of picker)
108
- * @property {string} type - standalone/modal
109
- * @return {LogObject<pickerPickerOpenButtonParams>} LogObject<pickerPickerOpenButtonParams>
110
- */
111
- export declare function pickerPickerOpenButton(params: pickerPickerOpenButtonParams): LogObject<pickerPickerOpenButtonParams>;
112
- /**
113
- * A function to create a log object for the 'cairoDiscardChangesBeforeApply' event (evid: 161)
114
- *
115
- * Event description: Sent when a user chose to discard his changes in a Cairo component. Relevant components: Table, with apply behavior in the filters panel, or with custom fields option.
116
- *
117
- * @param {cairoDiscardChangesBeforeApplyParams} params - The parameters for this event
118
- * @property {string} appId
119
- * @property {string} artifactId - Artifact that owns the component
120
- * @property {string} cairoVersion - Cairo version
121
- * @property {string} componentName - (Optional) Component name, if there are two components of the same type per artifact
122
- * @property {string} componentType - Table/Cards / Picker
123
- * @property {GUID} csid - Cairo session ID
124
- * @property {string} currentStatus - (Optional, relevant for Filters) Json field: The state of feature, if the user would have clicked on the apply button. [{"fieldName": "FIELD_NAME1", "field_value": "VALUE1"}] (for filters -all the filters will appear in this list, filters that not active will get NULL in the filters' value)
125
- * @property {string} domain - (Optional) Domain name from FQDN (crm, stores, etc.)
126
- * @property {string} feature - Filters / Drag and Drop
127
- * @property {boolean} isTPA
128
- * @property {number} numActiveFields - (Optional, relevant for Filters) How many fields are active after the apply button is clicked? (fields that their value is not NULL)
129
- * @property {number} numOfActions - (Optional, relevant for Drag and Drop) Number of actions/changes that are applied together
130
- * @property {number} numOptionalFields - (Optional, relevant for Filters) If there is an optional fields list (like for filters)- how many options are there?
131
- * @property {string} origin - Feature's Side Panel / Table Toolbar
132
- * @property {string} product - Name of the product/api from FQDN (contacts, booking, site_properties, etc.)
133
- * @property {string} resource - Singular form of the resource name from FQDN, "goal" of component (order, contact, etc.)
134
- * @return {LogObject<cairoDiscardChangesBeforeApplyParams>} LogObject<cairoDiscardChangesBeforeApplyParams>
135
- */
136
- export declare function cairoDiscardChangesBeforeApply(params: cairoDiscardChangesBeforeApplyParams): LogObject<cairoDiscardChangesBeforeApplyParams>;
137
- /**
138
- * A function to create a log object for the 'cairoItemSelectionToggled' event (evid: 114)
139
- *
140
- * Event description: Sent when a user select/deselects an item(s) in a list
141
- *
142
- * @param {cairoItemSelectionToggledParams} params - The parameters for this event
143
- * @property {string} appId
144
- * @property {string} artifactId - Artifact that owns the component
145
- * @property {string} cairoVersion
146
- * @property {string} clickType - The click purpose : "Selection" / "Deselection"
147
- * @property {string} componentName - (Optional) Component name, if there are two components of the same type per artifact
148
- * @property {string} componentType - Picker Standalone/Picker Modal/ Picker Dropdown /Table/Cards
149
- * @property {GUID} csid
150
- * @property {string} currentFilters - A list of filters that are currently displayed to user: {"filter1": "filterValue1", "filter2": "filterValue2a", "filterValue2b"}. Relevant for Table and Cards.
151
- * @property {number} currentLevel - What is the hierarchy level (or step) of the selected item? (out of numLevels)
152
- * @property {string} currentSortOrder - Which columns are currently used to sort the list: [{"fieldName": "FIELD_NAME", "order": "asc"}
153
- * @property {string} currentStep - What is the step (or hierarchy level) of the selected item?
154
- * @property {string} currentTab - Which tab is currently displayed to the user. Relevant for Table and Cards.
155
- * @property {string} currentView - Which view is currently displayed to the user. Relevant for Table and Cards.
156
- * @property {string} domain - (Optional) Domain name from FQDN (crm, stores, etc.)
157
- * @property {number} filteredListSize - How many items are to be presented (filtered)
158
- * @property {number} initialItems - Initial number of items loaded (before scroll and autoload)
159
- * @property {boolean} isFromSearch - Is the item selected from a list of search results
160
- * @property {boolean} isSelectAll - Did the user click the "Select All" check box (will get "true" regardless the label attached to the check box: "Select All" or "Deselect All").
161
- * @property {boolean} isTPA
162
- * @property {string} itemId - ID of item that is checked/unchecked (isSelectAll = TRUE --> itemId = "All")
163
- * @property {number} itemIndex - Out of the list of results, what is the index of the clicked item.
164
- * ** isSelectAll = TRUE --> itemIndex = 0
165
- * @property {string} location - Location: Table List Header (for using the checkbox) /
166
- * Table Bulk Toolbar (for using the CTA)(new from Dec 2022)
167
- * @property {number} maxItems - (Optional) Max number of items that can be selected. null if there's no limit.
168
- * @property {number} numItemsAfter - How many items have been selected after user clicks items.
169
- * @property {number} numItemsBefore - How many items have been selected before user clicks items
170
- * @property {number} numLevels - How many levels (or steps) exist in the selected item's hierarchy?
171
- * @property {string} product - Name of the product/api from FQDN (contacts, booking, site_properties, etc.)
172
- * @property {string} resource - Singular form of the resource name from FQDN, "goal" of component (order, contact, etc.)
173
- * @property {string} searchQuery - What did the user search?
174
- * @property {number} timeFromAction - The time from user selection until he gets feedback and sees his item(s) checked as selected, in ms (new from Dec 2022)
175
- * @return {LogObject<cairoItemSelectionToggledParams>} LogObject<cairoItemSelectionToggledParams>
176
- */
177
- export declare function cairoItemSelectionToggled(params: cairoItemSelectionToggledParams): LogObject<cairoItemSelectionToggledParams>;
178
- /**
179
- * A function to create a log object for the 'pickerEndLoad' event (evid: 102)
180
- *
181
- * Event description: Cairo picker finished loading
182
- *
183
- * @param {pickerEndLoadParams} params - The parameters for this event
184
- * @property {string} appId
185
- * @property {string} artifactId - Artifact that owns the component
186
- * @property {string} cairoVersion
187
- * @property {string} componentName - Optional in case having 2 pickers under the same artifact
188
- * @property {string} componentType
189
- * @property {GUID} csid
190
- * @property {string} domain - Optional domain name from FDQN (CRM, Store, etc.)
191
- * @property {number} filteredListSize - How many items are to presented (filtered)
192
- * @property {number} initialItems - Initial number of items loaded (before scroll and autoload)
193
- * @property {boolean} isTPA
194
- * @property {number} listSize - How many items exist (full list)
195
- * @property {number} loadingTime - ms
196
- * @property {number} maxItems - Max items to select in picker
197
- * @property {string} product - Name of the product / api. E.g. contacts, booking, site_properties, etc. from FDQN
198
- * @property {string} resource - Singular form of the resource name. E.g. order, contact, etc. from FDQN ("goal" of picker)
199
- * @property {string} type - standalone/modal
200
- * @return {LogObject<pickerEndLoadParams>} LogObject<pickerEndLoadParams>
201
- */
202
- export declare function pickerEndLoad(params: pickerEndLoadParams): LogObject<pickerEndLoadParams>;
203
- /**
204
- * A function to create a log object for the 'cairoNestedTableCollapseAndExpand' event (evid: 165)
205
- *
206
- * Event description: Sent when a user clicks on a category item in a nested table, to collapse or expand it (to hide or unhide the items under this category)
207
- *
208
- * @param {cairoNestedTableCollapseAndExpandParams} params - The parameters for this event
209
- * @property {string} appId
210
- * @property {string} artifactId - Artifact that owns the component
211
- * @property {string} cairoVersion - cairo version
212
- * @property {string} clickType - The click purpose : "Collapse" / "Expand"
213
- * @property {string} componentName - (Optional) Component name, if there are two components of the same type per artifact
214
- * @property {string} componentType - Picker Standalone/Picker Modal/ Picker Dropdown /Table/Cards
215
- * @property {number} countItems - The value the user see as the count of this item. If "Is select all"= true, then Null
216
- * @property {GUID} csid - Cairo session id
217
- * @property {string} currentFilters - A list of filters that are currently displayed to user: {"filter1": "filterValue1", "filter2": "filterValue2a", "filterValue2b"}. Relevant for Table and Cards.
218
- * @property {number} currentLevel - What is the hierarchy level (or step) of the clicked item? (out of numLevels). If "Is select all"= true, then Null
219
- * @property {string} currentSortOrder - Which columns are currently used to sort the list: [{"fieldName": "FIELD_NAME", "order": "asc"}
220
- * @property {string} currentTab - Which tab is currently displayed to the user. Relevant for Table and Cards.
221
- * @property {string} currentView - Which view is currently displayed to the user. Relevant for Table and Cards.
222
- * @property {string} domain - (Optional) Domain name from FQDN (crm, stores, etc.)
223
- * @property {number} filteredListSize - How many items are to be presented (filtered)
224
- * @property {boolean} isFromSearch - Is the item selected from a list of search results
225
- * @property {boolean} isSelectAll - True if the user chose to collapse / expand all categories simultaneously
226
- * @property {boolean} isTPA
227
- * @property {string} itemId - ID of the clicked item .If "Is select all"= true, then Null
228
- * @property {number} itemIndex - Out of the list of results, what is the index of the clicked item .If "Is select all"= true, then Null
229
- * @property {number} numLevels - How many levels (or steps) exist in the selected item's hierarchy?
230
- * @property {string} product - Name of the product/api from FQDN (contacts, booking, site_properties, etc.)
231
- * @property {string} resource - Singular form of the resource name from FQDN, "goal" of component (order, contact, etc.)
232
- * @property {string} searchQuery - What did the user search?
233
- * @return {LogObject<cairoNestedTableCollapseAndExpandParams>} LogObject<cairoNestedTableCollapseAndExpandParams>
234
- */
235
- export declare function cairoNestedTableCollapseAndExpand(params: cairoNestedTableCollapseAndExpandParams): LogObject<cairoNestedTableCollapseAndExpandParams>;
236
- /**
237
- * A function to create a log object for the 'loadEnd' event (evid: 111)
238
- *
239
- * Event description: Sent when a Cairo component is done loading. Relevant components: Picker Standalone, Picker Modal, Table, Cards.
240
- *
241
- * @param {loadEndParams} params - The parameters for this event
242
- * @property {string} appId
243
- * @property {string} artifactId - Artifact that owns the component
244
- * @property {string} cairoVersion
245
- * @property {string} componentName - (Optional) Component name, if there are two components of the same type per artifact
246
- * @property {string} componentStatus - for CustomFieldsWidget component: expanded /collapsed. for table-grid switch components: table layout / grid layout. for nested table :All items collapsed / expanded. Null otherwise
247
- * @property {string} componentType - Picker Standalone/Picker Modal/ Picker Dropdown/ Table/Cards
248
- * @property {GUID} csid
249
- * @property {string} currentFilters - A list of filters that are currently displayed to user: {"filter1": "filterValue1", "filter2": "filterValue2a", "filterValue2b"}. Relevant for Table and Cards.
250
- * @property {string} currentSortOrder - Which columns are currently used to sort the list: [{"fieldName": "FIELD_NAME", "order": "asc"}, {"fieldName": "FIELD_NAME_1", "order": "desc"}]. Relevant for Table and Cards.
251
- * @property {string} currentTab - Which tab is currently displayed to the user. Relevant for Table and Cards.
252
- * @property {string} currentView - Which view is currently displayed to the user. Relevant for Table and Cards.
253
- * @property {string} domain - (Optional) Domain name from FQDN (crm, stores, etc.)
254
- * @property {number} filteredListSize - How many items are to be presented (filtered)
255
- * @property {number} initialItems - Initial number of items loaded (before scroll and autoload)
256
- * @property {boolean} isInternalPage - Is under bo.wix.com (new from 03/2023)
257
- * @property {boolean} isTPA
258
- * @property {number} listSize - How many items exist (full list, unfiltered). Relevant for Picker.
259
- * @property {number} loadingTime - Component loading time in ms
260
- * @property {string} product - Name of the product/api from FQDN (contacts, booking, site_properties, etc.)
261
- * @property {string} resource - Singular form of the resource name from FQDN, "goal" of component (order, contact, etc.)
262
- * @property {Url} url - The page's url (new from 03/2023)
263
- * @return {LogObject<loadEndParams>} LogObject<loadEndParams>
264
- */
265
- export declare function loadEnd(params: loadEndParams): LogObject<loadEndParams>;
266
- /**
267
- * A function to create a log object for the 'cairoTagsAddDeleteTag' event (evid: 168)
268
- *
269
- * Event description: Send when a user add or delete a tag from his component. Relevant for Verticals who allow use tags in their tables.
270
- *
271
- * @param {cairoTagsAddDeleteTagParams} params - The parameters for this event
272
- * @property {string} actionName - Add / Delete / Rename
273
- * @property {string} appId
274
- * @property {string} artifactId - Artifact that owns the component
275
- * @property {string} cairoVersion - Cairo version
276
- * @property {string} componentName - (Optional) Page name, if there are two pages of the same type per artifact
277
- * @property {string} componentType - Component type
278
- * @property {GUID} csid - Cairo session ID
279
- * @property {string} domain - (Optional) Domain name from FQDN (CRM, Store, etc.)
280
- * @property {boolean} isFromSearch - Is the action made from a list of tags search results?
281
- * @property {boolean} isTPA
282
- * @property {number} numTags - How many tags are in the modal after this action?
283
- * @property {string} origin - Where did the user make the action from? Tags Modal /
284
- * @property {string} previousName - (Relevant only for action name=Rename) The tag's name, before the change
285
- * @property {string} product - Name of the product/api from FQDN (contacts, booking, site_properties, etc.)
286
- * @property {string} resource - resource
287
- * @property {string} tagName - The name of the removed/added tag, or the new tag's name - incase of rename tag
288
- * @return {LogObject<cairoTagsAddDeleteTagParams>} LogObject<cairoTagsAddDeleteTagParams>
289
- */
290
- export declare function cairoTagsAddDeleteTag(params: cairoTagsAddDeleteTagParams): LogObject<cairoTagsAddDeleteTagParams>;
291
- /**
292
- * A function to create a log object for the 'cairoExportProcessStart' event (evid: 128)
293
- *
294
- * Event description: Sent when the export process begins
295
- *
296
- * @param {cairoExportProcessStartParams} params - The parameters for this event
297
- * @property {string} appId
298
- * @property {string} artifactId - Artifact that owns the component
299
- * @property {string} cairoVersion
300
- * @property {string} componentName - (Optional) Component name, if there are two components of the same type per artifact
301
- * @property {string} componentType - Table
302
- * @property {GUID} csid
303
- * @property {string} domain - (Optional) Domain name from FQDN (CRM, Store, etc.)
304
- * @property {string} exportId - A unique ID that will help join all events related to a specific export process
305
- * @property {boolean} isTPA
306
- * @property {number} numItems - How many items does the user want to export. If no items have been selected (selectedExportType = "All Items"), then all items in list.
307
- * @property {string} product - Name of the product/api from FQDN (contacts, booking, site_properties, etc.)
308
- * @property {string} resource - Singular form of the resource name from FQDN, "goal" of component (order, contact, etc.)
309
- * @property {string} selectedExportType - What type of export does the user want: "All Items"/"Filtered Items"/"Selected Items"
310
- * @property {boolean} supportsTotal - Does the vertical using Cairo support total number of items in list
311
- * @property {number} try - Which try is this; if try > 1, this is a retry
312
- * @return {LogObject<cairoExportProcessStartParams>} LogObject<cairoExportProcessStartParams>
313
- */
314
- export declare function cairoExportProcessStart(params: cairoExportProcessStartParams): LogObject<cairoExportProcessStartParams>;
315
- /**
316
- * A function to create a log object for the 'cairoExportFailedModalCtaClicked' event (evid: 135)
317
- *
318
- * Event description: Sent when the user clicks a CTA in the "Export Failed" modal
319
- *
320
- * @param {cairoExportFailedModalCtaClickedParams} params - The parameters for this event
321
- * @property {string} appId
322
- * @property {string} artifactId - Artifact that owns the component
323
- * @property {string} cairoVersion
324
- * @property {string} componentName - (Optional) Component name, if there are two components of the same type per artifact
325
- * @property {string} componentType - Table
326
- * @property {GUID} csid
327
- * @property {string} ctaName - Which CTA did the user click in the Export Failed modal: "Cancel"/"X Button" (export is cancelled) OR "Try Again" (export process restarts) OR "learn more" (user is led to contact support)
328
- * @property {string} domain - (Optional) Domain name from FQDN (CRM, Store, etc.)
329
- * @property {string} exportId - A unique ID that will help join all events related to a specific export process
330
- * @property {boolean} isTPA
331
- * @property {number} numItems - How many items did the user export. If no items have been selected (selectedExportType = "All Items"), then all items in list.
332
- * @property {number} numItemsExported - How many items were exported before the export failed.
333
- * @property {string} product - Name of the product/api from FQDN (contacts, booking, site_properties, etc.)
334
- * @property {string} resource - Singular form of the resource name from FQDN, "goal" of component (order, contact, etc.)
335
- * @property {string} selectedExportType - What type of export did the user choose: "All Items"/"Filtered Items"/"Selected Items"
336
- * @property {boolean} supportsTotal - Does the vertical using Cairo support total number of items in list
337
- * @property {number} try - Which try is this; if try > 1, this is a retry
338
- * @return {LogObject<cairoExportFailedModalCtaClickedParams>} LogObject<cairoExportFailedModalCtaClickedParams>
339
- */
340
- export declare function cairoExportFailedModalCtaClicked(params: cairoExportFailedModalCtaClickedParams): LogObject<cairoExportFailedModalCtaClickedParams>;
341
- /**
342
- * A function to create a log object for the 'cairoSearchViewInViews' event (evid: 151)
343
- *
344
- * Event description: Sent when the search results are displayed, after a user searches for a view in a Cairo views list. Relevant components: Table, Cards.
345
- *
346
- * @param {cairoSearchViewInViewsParams} params - The parameters for this event
347
- * @property {string} appId
348
- * @property {string} artifactId - Artifact that owns the component
349
- * @property {string} cairoVersion - Cairo version
350
- * @property {string} componentName - (Optional) Component name, if there are two components of the same type per artifact
351
- * @property {string} componentType - Picker Standalone/Picker Modal/Table/Cards
352
- * @property {GUID} csid
353
- * @property {string} domain - (Optional) Domain name from FQDN (CRM, Store, etc.)
354
- * @property {string} endType - How did the search action end? "View selected"- the user chose one of the search results, "Search dismissed"- the user cancel the search by any other action. When the "end Type" is "view selected" but "search term" is null= then the user typed and searched, deleted his term and then manually selected a view from his views (not from search results).
355
- * @property {boolean} isTPA
356
- * @property {number} numCategoriesInResults - Out of searchResultsCnt - how many results are from type of "categories"?
357
- * @property {number} numViews - The distinct views IDs the users has when he searches a view
358
- * @property {string} product - Name of the product/api from FQDN (contacts, booking, site_properties, etc.)
359
- * @property {string} resource - Singular form of the resource name from FQDN, "goal" of component (order, contact, etc.)
360
- * @property {number} searchResultsCnt - How many results appeared for the search query. numSearchReults = 0 --> user saw empty state. This count includes "views" and "categories" results.
361
- * @property {string} searchTerm - What did the user search? "" if removed search term.
362
- * @return {LogObject<cairoSearchViewInViewsParams>} LogObject<cairoSearchViewInViewsParams>
363
- */
364
- export declare function cairoSearchViewInViews(params: cairoSearchViewInViewsParams): LogObject<cairoSearchViewInViewsParams>;
365
- /**
366
- * A function to create a log object for the 'pickerStartLoad' event (evid: 101)
367
- *
368
- * Event description: Cairo picker starts loading
369
- *
370
- * @param {pickerStartLoadParams} params - The parameters for this event
371
- * @property {string} appId
372
- * @property {string} artifactId - Artifact that owns the component
373
- * @property {string} cairoVersion
374
- * @property {string} componentName - Optional in case having 2 pickers under the same artifact
375
- * @property {string} componentType
376
- * @property {GUID} csid
377
- * @property {string} domain - Optional domain name from FDQN (CRM, Store, etc.)
378
- * @property {number} filteredListSize - How many items are to presented (filtered)
379
- * @property {number} initialItems - Initial number of items loaded (before scroll and autoload)
380
- * @property {boolean} isTPA
381
- * @property {number} listSize - How many items exist (full list)
382
- * @property {number} maxItems - Max items to select in picker
383
- * @property {string} product - Name of the product / api. E.g. contacts, booking, site_properties, etc. from FDQN
384
- * @property {string} resource - Singular form of the resource name. E.g. order, contact, etc. from FDQN ("goal" of picker)
385
- * @property {string} type - standalone/modal
386
- * @return {LogObject<pickerStartLoadParams>} LogObject<pickerStartLoadParams>
387
- */
388
- export declare function pickerStartLoad(params: pickerStartLoadParams): LogObject<pickerStartLoadParams>;
389
- /**
390
- * A function to create a log object for the 'loadStart' event (evid: 110)
391
- *
392
- * Event description: Sent when a Cairo component starts loading. Relevant components: Picker Standalone, Picker Modal, Table, Cards.
393
- *
394
- * @param {loadStartParams} params - The parameters for this event
395
- * @property {string} additionalFeaturesAvailability - Json field :({featureName: boolean}) (new from 06/2023), for features that don't suppose to impact performance
396
- * @property {string} appId
397
- * @property {string} artifactId - Artifact that owns the component
398
- * @property {string} cairoVersion - cairo version
399
- * @property {string} componentName - (Optional) Component name, if there are two components of the same type per artifact
400
- * @property {string} componentType - Picker Standalone/Picker Modal/Picker Dropdown Table/Cards
401
- * @property {GUID} csid
402
- * @property {string} currentFilters - A list of filters that are currently displayed to user: {"filter1": "filterValue1", "filter2": "filterValue2a", "filterValue2b"}. Relevant for Table and Cards.
403
- * @property {string} currentSortOrder - Which columns are currently used to sort the list: [{"fieldName": "FIELD_NAME", "order": "asc"}, {"fieldName": "FIELD_NAME_1", "order": "desc"}]. Relevant for Table and Cards.
404
- * @property {string} currentTab - Which tab is currently displayed to the user. Relevant for Table and Cards.
405
- * @property {string} currentView - Which view is currently displayed to the user. Relevant for Table and Cards.
406
- * @property {string} domain - (Optional) Domain name from FQDN (crm, stores, etc.)
407
- * @property {string} featuresAvailability - Json field :({featureName: boolean}) (new from 03/2023)
408
- * @property {boolean} isTPA
409
- * @property {string} product - Name of the product/api from FQDN (contacts, booking, site_properties, etc.)
410
- * @property {string} resource - Singular form of the resource name from FQDN, "goal" of component (order, contact, etc.)
411
- * @property {Url} url - The page's url (new from 03/2023)
412
- * @return {LogObject<loadStartParams>} LogObject<loadStartParams>
413
- */
414
- export declare function loadStart(params: loadStartParams): LogObject<loadStartParams>;
415
- /**
416
- * A function to create a log object for the 'pikachuItemCategorySelected' event (evid: 109)
417
- *
418
- * Event description: Sent when user selects a category from the Pikachu category menu (e.g. Coupons/Services/Products)
419
- *
420
- * @param {pikachuItemCategorySelectedParams} params - The parameters for this event
421
- * @property {string} appId
422
- * @property {string} artifactId - Artifact that owns the component
423
- * @property {string} cairoVersion
424
- * @property {string} componentName - (Optional) Component name, if there are two components of the same type per artifact
425
- * @property {string} componentType
426
- * @property {GUID} csid
427
- * @property {string} domain - Optional domain name from FQDN (CRM, Store, etc.)
428
- * @property {boolean} isTPA
429
- * @property {string} itemCategory - Which type of item would we like to pick: 'Collection'/'Product'/'Service'/'Coupon'/'Standalone form'/'Invoice'/'Price quote'
430
- * @property {string} product - Name of the product/api from FQDN (contacts, booking, site_properties, etc.)
431
- * @property {string} resource - Singular form of the resource name from FQDN, "goal" of component (order, contact, etc.)
432
- * @return {LogObject<pikachuItemCategorySelectedParams>} LogObject<pikachuItemCategorySelectedParams>
433
- */
434
- export declare function pikachuItemCategorySelected(params: pikachuItemCategorySelectedParams): LogObject<pikachuItemCategorySelectedParams>;
435
- /**
436
- * A function to create a log object for the 'cairoExportCtaClicked' event (evid: 125)
437
- *
438
- * Event description: Sent when a user clicks the "Export" CTA in a Cairo component
439
- *
440
- * @param {cairoExportCtaClickedParams} params - The parameters for this event
441
- * @property {string} appId
442
- * @property {string} artifactId - Artifact that owns the component
443
- * @property {string} availableExportTypes - A list of all of the available export types, along with the number of items that would be exported using each of the options. E.g. {"All Items": 100, "Filtered Items": 80, "Selected Items": 10}
444
- * @property {string} cairoVersion
445
- * @property {string} componentName - (Optional) Component name, if there are two components of the same type per artifact
446
- * @property {string} componentType - Table
447
- * @property {GUID} csid
448
- * @property {string} defaultExportType - What type of export is automatically selected when the user clicks the export CTA: "All Items"/"Filtered Items"/"Selected Items"
449
- * @property {string} domain - (Optional) Domain name from FQDN (CRM, Store, etc.)
450
- * @property {string} exportId - A unique ID that will help join all events related to a specific export process
451
- * @property {number} filteredListSize - How many items are currently presented to user (filtered)
452
- * @property {boolean} isTPA
453
- * @property {number} numSelectedItems - How many items does the user wish to export
454
- * @property {string} product - Name of the product/api from FQDN (contacts, booking, site_properties, etc.)
455
- * @property {string} resource - Singular form of the resource name from FQDN, "goal" of component (order, contact, etc.)
456
- * @return {LogObject<cairoExportCtaClickedParams>} LogObject<cairoExportCtaClickedParams>
457
- */
458
- export declare function cairoExportCtaClicked(params: cairoExportCtaClickedParams): LogObject<cairoExportCtaClickedParams>;
459
- /**
460
- * A function to create a log object for the 'cairoCancelExportModalCtaClicked' event (evid: 130)
461
- *
462
- * Event description: Sent when the user clicks any of the CTAs in the "Cancel the export?" modal
463
- *
464
- * @param {cairoCancelExportModalCtaClickedParams} params - The parameters for this event
465
- * @property {string} appId
466
- * @property {string} artifactId - Artifact that owns the component
467
- * @property {string} cairoVersion
468
- * @property {string} componentName - (Optional) Component name, if there are two components of the same type per artifact
469
- * @property {string} componentType - Table
470
- * @property {GUID} csid
471
- * @property {string} ctaName - Which CTA did the user click in the Cancel Export modal: "Cancel Export"/"Go Back"/"X Button" (modalType = "Export") OR "Cancel"/"Leave" (modalType = "Browser")
472
- * @property {string} domain - (Optional) Domain name from FQDN (CRM, Store, etc.)
473
- * @property {number} duration - How much time (in ms) did it take since the export process began
474
- * @property {string} exportId - A unique ID that will help join all events related to a specific export process
475
- * @property {boolean} isTPA
476
- * @property {string} modalType - Did the user try to close the tab ("Browser") or cancel the export ("Export")
477
- * @property {number} numItems - How many items does the user want to export. If no items have been selected (selectedExportType = "All Items"), then all items in list.
478
- * @property {number} numItemsExported - How many items were exported before the user tried to cancel the export
479
- * @property {string} product - Name of the product/api from FQDN (contacts, booking, site_properties, etc.)
480
- * @property {string} resource - Singular form of the resource name from FQDN, "goal" of component (order, contact, etc.)
481
- * @property {string} selectedExportType - What type of export does the user want: "All Items"/"Filtered Items"/"Selected Items"
482
- * @property {boolean} supportsTotal - Does the vertical using Cairo support total number of items in list
483
- * @property {number} try - Which try is this; if try > 1, this is a retry
484
- * @return {LogObject<cairoCancelExportModalCtaClickedParams>} LogObject<cairoCancelExportModalCtaClickedParams>
485
- */
486
- export declare function cairoCancelExportModalCtaClicked(params: cairoCancelExportModalCtaClickedParams): LogObject<cairoCancelExportModalCtaClickedParams>;
487
- /**
488
- * A function to create a log object for the 'cairoPageDiscardChangesBeforeSave' event (evid: 174)
489
- *
490
- * Event description: Sent when a user chose to discard his changes in a Cairo's page. (by clicking on cancel / navigate to another page / click on the back button / click on the breadcrumb button)
491
- *
492
- * @param {cairoPageDiscardChangesBeforeSaveParams} params - The parameters for this event
493
- * @property {string} appId
494
- * @property {string} artifactId - Artifact that owns the component
495
- * @property {string} cairoVersion - Cairo version
496
- * @property {string} componentName - (Optional) Component name, if there are two components of the same type per artifact
497
- * @property {string} componentType - Table/Cards / Picker
498
- * @property {GUID} csid - Cairo session ID
499
- * @property {string} domain - (Optional) Domain name from FQDN (crm, stores, etc.)
500
- * @property {boolean} isTPA
501
- * @property {number} numOfActions - Number of changed fields that their changes can be lost
502
- * @property {number} numOfFields - How many fields are there that can be change in this page?
503
- * @property {string} origin - Cancel CTA / Breadcrumbs / Back button / Navigation
504
- * @property {string} pageType - Entity /
505
- * @property {string} product - Name of the product/api from FQDN (contacts, booking, site_properties, etc.)
506
- * @property {string} resource - Singular form of the resource name from FQDN, "goal" of component (order, contact, etc.)
507
- * @return {LogObject<cairoPageDiscardChangesBeforeSaveParams>} LogObject<cairoPageDiscardChangesBeforeSaveParams>
508
- */
509
- export declare function cairoPageDiscardChangesBeforeSave(params: cairoPageDiscardChangesBeforeSaveParams): LogObject<cairoPageDiscardChangesBeforeSaveParams>;
510
- /**
511
- * A function to create a log object for the 'cairoFileDownloadToastDownloadButtonClicked' event (evid: 134)
512
- *
513
- * Event description: Sent when the user clicks the "Download Manually" button in the toast that is displayed after the export process is complete
514
- *
515
- * @param {cairoFileDownloadToastDownloadButtonClickedParams} params - The parameters for this event
516
- * @property {string} appId
517
- * @property {string} artifactId - Artifact that owns the component
518
- * @property {string} cairoVersion
519
- * @property {string} componentName - (Optional) Component name, if there are two components of the same type per artifact
520
- * @property {string} componentType - Table
521
- * @property {GUID} csid
522
- * @property {string} domain - (Optional) Domain name from FQDN (CRM, Store, etc.)
523
- * @property {number} duration - How much time (in ms) was the notification displayed before the button was clicked
524
- * @property {string} exportId - A unique ID that will help join all events related to a specific export process
525
- * @property {string} exportType - What type of export did the user choose: "All Items"/"Filtered Items"/"Selected Items"
526
- * @property {boolean} isTPA
527
- * @property {number} numSelectedItems - How many items did the user export. If no items have been selected (selectedExportType = "All Items"), then all items in list.
528
- * @property {string} product - Name of the product/api from FQDN (contacts, booking, site_properties, etc.)
529
- * @property {string} resource - Singular form of the resource name from FQDN, "goal" of component (order, contact, etc.)
530
- * @return {LogObject<cairoFileDownloadToastDownloadButtonClickedParams>} LogObject<cairoFileDownloadToastDownloadButtonClickedParams>
531
- */
532
- export declare function cairoFileDownloadToastDownloadButtonClicked(params: cairoFileDownloadToastDownloadButtonClickedParams): LogObject<cairoFileDownloadToastDownloadButtonClickedParams>;
533
- /**
534
- * A function to create a log object for the 'cairoCustomizeColumnsInSidePanel' event (evid: 177)
535
- *
536
- * Event description: Sent when a user is making his first change in visible columns- add / remove / reorder them- for every time he opened the side panel. Relevant components: Table, Cards.
537
- *
538
- * @param {cairoCustomizeColumnsInSidePanelParams} params - The parameters for this event
539
- * @property {string} actionName - Visibility / Reorder
540
- * @property {string} appId
541
- * @property {string} artifactId - Artifact that owns the component
542
- * @property {string} cairoVersion - version
543
- * @property {string} componentName - (Optional) Component name, if there are two components of the same type per artifact
544
- * @property {string} componentType - Table/Cards
545
- * @property {GUID} csid - cairo session id
546
- * @property {string} currentView - Which view is currently displayed to the user. Relevant for Table and Cards. (new field from 01/2023)
547
- * @property {string} domain - (Optional) Domain name from FQDN (CRM, Store, etc.)
548
- * @property {boolean} isPredefined - Is it a view that was predefined by the vertical. Will get "true" for predefined views include "All Items" view, "false" if it's a user view and "null" if the action wasn't made over any view (new field from 01/2023)
549
- * @property {boolean} isTPA
550
- * @property {number} numColumns - How many columns are shown? (new field from 01/2023)
551
- * @property {number} numFiltersActive - The number of active filters when the user opened/closed the panel/menu
552
- * @property {number} numFiltersInView - How many filters comprise the saved view (new field from 01/2023)
553
- * @property {number} numSortedColumns - How many columns actively sort the data? (new field from 01/2023)
554
- * @property {string} product - Name of the product/api from FQDN (contacts, booking, site_properties, etc.)
555
- * @property {string} resource - Singular form of the resource name from FQDN, "goal" of component (order, contact, etc.)
556
- * @property {string} visibleColumnsOrder - Which columns are currently shown to the user - by the order the user defined (new field from 01/2023)
557
- * @return {LogObject<cairoCustomizeColumnsInSidePanelParams>} LogObject<cairoCustomizeColumnsInSidePanelParams>
558
- */
559
- export declare function cairoCustomizeColumnsInSidePanel(params: cairoCustomizeColumnsInSidePanelParams): LogObject<cairoCustomizeColumnsInSidePanelParams>;
560
- /**
561
- * A function to create a log object for the 'cairoTabSelected' event (evid: 121)
562
- *
563
- * Event description: Sent when a user selects a tab in a Cairo component. Relevant components: Table, Cards.
564
- *
565
- * @param {cairoTabSelectedParams} params - The parameters for this event
566
- * @property {string} appId
567
- * @property {string} artifactId - Artifact that owns the component
568
- * @property {string} cairoVersion
569
- * @property {string} componentName - (Optional) Component name, if there are two components of the same type per artifact
570
- * @property {string} componentType - Table/Cards
571
- * @property {GUID} csid
572
- * @property {string} domain - (Optional) Domain name from FQDN (CRM, Store, etc.)
573
- * @property {number} filteredListSize - How many items are currently presented to user, after new tab selection
574
- * @property {boolean} hasAllTab - TRUE if "All" tab is displayed for this component; FALSE otherwise
575
- * @property {boolean} isTPA
576
- * @property {string} newTabId - Name of the newly selected tab
577
- * @property {number} newTabIndex - Index of the newly selected tab. 1 <= newTabIndex <= numTabs.
578
- * @property {number} numTabs - How many tabs are dispalyed to the user
579
- * @property {string} prevTabId - (Optional) Name of the previous tab that the user had selected. null if no tab was selected.
580
- * @property {number} prevTabIndex - (Optional) Index of the previous tab that the user had selected. 1 <= prevTabIndex <= numTabs; null if no tab was selected.
581
- * @property {string} product - Name of the product/api from FQDN (contacts, booking, site_properties, etc.)
582
- * @property {string} resource - Singular form of the resource name from FQDN, "goal" of component (order, contact, etc.)
583
- * @return {LogObject<cairoTabSelectedParams>} LogObject<cairoTabSelectedParams>
584
- */
585
- export declare function cairoTabSelected(params: cairoTabSelectedParams): LogObject<cairoTabSelectedParams>;
586
- /**
587
- * A function to create a log object for the 'cairoViewsUnsuccessfulUpdateInServer' event (evid: 145)
588
- *
589
- * Event description: Sent when a user made an action on a view, but his changes weren't update in the server from different reasons
590
- *
591
- * @param {cairoViewsUnsuccessfulUpdateInServerParams} params - The parameters for this event
592
- * @property {string} actionName - "Save as New View"/"Save Changes"/"Rename"/"Delete" etc... (in English, not localized)
593
- * @property {string} appId
594
- * @property {string} artifactId - Artifact that owns the component
595
- * @property {string} cairoVersion - cairo version
596
- * @property {string} componentName - (Optional) Component name, if there are two components of the same type per artifact
597
- * @property {string} componentType - Picker Standalone/Picker Modal/Table/Cards
598
- * @property {GUID} csid
599
- * @property {string} currentFilters - A list of filters that are currently displayed to user: {"filter1": "filterValue1", "filter2": "filterValue2a", "filterValue2b"}. Relevant for Table and Cards. For now, it can only be a "category filter" that is displayed in this event. (relate to ticket 525+521).
600
- * @property {string} currentTab - Which tab is currently displayed to the user. Relevant for Table and Cards.
601
- * @property {string} currentView - Which view is currently displayed to the user. Relevant for Table and Cards.
602
- * @property {string} domain - (Optional) Domain name from FQDN (crm, stores, etc.)
603
- * @property {string} errorType - What is the type of the error? "Update failed" = updates has failed in the server, "Window closed" = the user clicked the X button to close the window before the server finished the update, "Left page"= the user try navigate to another page before the server finished the update
604
- * @property {number} filteredListSize - How many items are to be presented (filtered)
605
- * @property {number} filteredListSizeShown - How many items were presented (filtered) to the user when he made the failed action?
606
- * @property {string} filtersApplied - A list of filters that were displayed to user when he made the failed action: {"filter1": "filterValue1", "filter2": "filterValue2a", "filterValue2b"}. Relevant for Table and Cards.
607
- * @property {boolean} isFromSearch - Was the failed action made on a search results?
608
- * @property {boolean} isTPA
609
- * @property {number} numOfWaitingUpdates - number of updates in the sequence that follow the failed action
610
- * @property {string} product - Name of the product/api from FQDN (contacts, booking, site_properties, etc.)
611
- * @property {string} resource - Singular form of the resource name from FQDN, "goal" of component (order, contact, etc.)
612
- * @property {string} searchQuery - (not relevant for now) What did the user search? isFromSearch = FALSE --> searchQuery = null .
613
- * @property {number} timeFromEndAction - duration in ms from the end of the failed action until the error indication
614
- * @property {string} viewId - Which view was the failed action made on. Relevant for Table and Cards.
615
- * @return {LogObject<cairoViewsUnsuccessfulUpdateInServerParams>} LogObject<cairoViewsUnsuccessfulUpdateInServerParams>
616
- */
617
- export declare function cairoViewsUnsuccessfulUpdateInServer(params: cairoViewsUnsuccessfulUpdateInServerParams): LogObject<cairoViewsUnsuccessfulUpdateInServerParams>;
618
- /**
619
- * A function to create a log object for the 'cairoModalCtaClicked' event (evid: 162)
620
- *
621
- * Event description: Sent when a user clicks on a CTA in an an opened modal
622
- *
623
- * @param {cairoModalCtaClickedParams} params - The parameters for this event
624
- * @property {string} appId
625
- * @property {string} artifactId - Artifact that owns the component
626
- * @property {string} cairoVersion - cairo version
627
- * @property {string} componentName - (Optional) Component name, if there are two components of the same type per artifact
628
- * @property {string} componentType - Picker Standalone/Picker Modal/Table/Cards
629
- * @property {GUID} csid - Cairo session id
630
- * @property {string} ctaName - The CTA name the user chose to do in the modal (for example: save, cancel, archive etc.). English only, not localized
631
- * @property {string} domain - (Optional) Domain name from FQDN (crm, stores, etc.)
632
- * @property {boolean} isTPA
633
- * @property {string} localizedCtaName - The CTA name, localized
634
- * @property {string} modalName - The modal's title (Archive custom field, etc.)
635
- * @property {string} product - Name of the product/api from FQDN (contacts, booking, site_properties, etc.)
636
- * @property {string} resource - Singular form of the resource name from FQDN, "goal" of component (order, contact, etc.)
637
- * @return {LogObject<cairoModalCtaClickedParams>} LogObject<cairoModalCtaClickedParams>
638
- */
639
- export declare function cairoModalCtaClicked(params: cairoModalCtaClickedParams): LogObject<cairoModalCtaClickedParams>;
640
- /**
641
- * A function to create a log object for the 'cairoAllFiltersCleared' event (evid: 118)
642
- *
643
- * Event description: Sent when a user clears all of the filters used in a Cairo component. Relevant components: Table, Cards.
644
- *
645
- * @param {cairoAllFiltersClearedParams} params - The parameters for this event
646
- * @property {string} appId
647
- * @property {string} artifactId - Artifact that owns the component
648
- * @property {string} cairoVersion
649
- * @property {string} componentName - (Optional) Component name, if there are two components of the same type per artifact
650
- * @property {string} componentType - Table/Cards
651
- * @property {GUID} csid
652
- * @property {string} domain - (Optional) Domain name from FQDN (CRM, Store, etc.)
653
- * @property {string} filterNames - Comma separated list of filter names that have been cleared
654
- * @property {number} filteredListSize - How many items were presented to user, before all of the filters were cleared
655
- * @property {boolean} isTPA
656
- * @property {number} numFiltersCleared - How many filters have been cleared
657
- * @property {string} origin - "sidebar"/"toolbar"
658
- * @property {string} product - Name of the product/api from FQDN (contacts, booking, site_properties, etc.)
659
- * @property {string} resource - Singular form of the resource name from FQDN, "goal" of component (order, contact, etc.)
660
- * @return {LogObject<cairoAllFiltersClearedParams>} LogObject<cairoAllFiltersClearedParams>
661
- */
662
- export declare function cairoAllFiltersCleared(params: cairoAllFiltersClearedParams): LogObject<cairoAllFiltersClearedParams>;
663
- /**
664
- * A function to create a log object for the 'cairoCtaClicked' event (evid: 115)
665
- *
666
- * Event description: Sent when a user clicks a CTA ('save', 'add', 'delete', 'continue', etc.) in a Cairo component. Relevant components: Picker Standalone, Picker Modal, Table, Cards.
667
- *
668
- * @param {cairoCtaClickedParams} params - The parameters for this event
669
- * @property {string} appId
670
- * @property {string} artifactId - Artifact that owns the component
671
- * @property {string} cairoVersion
672
- * @property {string} componentName - (Optional) Component name, if there are two components of the same type per artifact
673
- * @property {string} componentType - Picker Standalone/Picker Modal/Table/Cards
674
- * @property {GUID} csid - cairo sessionId
675
- * @property {number} ctaIndex - 1 <= ctaIndex <= numCtas -- the number of the CTA out of all CTAs in the specific location
676
- * @property {string} ctaName - "Continue"/"Delete"/"Save"/"Accept"/"Edit"... (in English, not localized)
677
- * @property {number} currentLevel - What is the hierarchy level (or step) of the selected item? (out of numLevels)
678
- * @property {string} domain - (Optional) Domain name from FQDN (CRM, Store, etc.)
679
- * @property {number} filteredListSize - How many items are to be presented (filtered)
680
- * @property {boolean} isSelectAll - Are all items in the list selected. numItems = filteredListSize ==> isSelectAll = TRUE
681
- * @property {boolean} isTPA
682
- * @property {string} itemId - ID of the item that the user clicked on its CTA
683
- * @property {number} itemIndex - Out of the list of items, what is the index of the clicked item . ** filteredListSize = X --> (1 <= itemIndex <= X)
684
- * @property {string} localizedCtaName - The CTA name, localized
685
- * @property {string} location - CTA location: multi bulk action toolbar, bulk action toolbar, action cell, Customize columns action cell
686
- * @property {number} maxItems - (Optional) Max number of items that can be selected. null if there's no limit.
687
- * @property {number} moreActionsIndex - (Optional) If the CTA is part of a "more actions" dropdown, its index in the dropdown; otherwise, null
688
- * @property {number} numCtas - How many CTAs are available in the current location
689
- * @property {number} numItems - How many items have been selected
690
- * @property {number} numLevels - How many levels (or steps) exist in the selected item's hierarchy?
691
- * @property {string} product - Name of the product/api from FQDN (contacts, booking, site_properties, etc.)
692
- * @property {string} resource - Singular form of the resource name from FQDN, "goal" of component (order, contact, etc.)
693
- * @property {number} timeFromAction - The time from user CTA click until he gets feedback , in ms (new from Dec 2022)
694
- * @return {LogObject<cairoCtaClickedParams>} LogObject<cairoCtaClickedParams>
695
- */
696
- export declare function cairoCtaClicked(params: cairoCtaClickedParams): LogObject<cairoCtaClickedParams>;
697
- /**
698
- * A function to create a log object for the 'cairoChangesBeforeApply' event (evid: 160)
699
- *
700
- * Event description: Sent when a user changes his choices before he clicks on the apply button in a Cairo component. Relevant components: Table, with apply behavior in the filters panel, or with custom fields option.
701
- *
702
- * @param {cairoChangesBeforeApplyParams} params - The parameters for this event
703
- * @property {string} appId
704
- * @property {string} artifactId - Artifact that owns the component
705
- * @property {string} cairoVersion - Cairo version
706
- * @property {string} componentName - (Optional) Component name, if there are two components of the same type per artifact
707
- * @property {string} componentType - Table/Cards / Picker (from 12/2022)
708
- * @property {GUID} csid - Cairo session ID
709
- * @property {string} domain - (Optional) Domain name from FQDN (crm, stores, etc.)
710
- * @property {string} feature - Filters / Add Custom Field / Edit Custom Field
711
- * @property {string} fieldName - The field that the user chose to change (not necessary to save) (Null if the user clicked on "clear")
712
- * @property {string} fieldValue - The chosen value of the field (Null if the user clicked on "clear")
713
- * @property {boolean} isClearButton - True if the user clicked on the clear button, False otherwise .
714
- * @property {boolean} isTPA
715
- * @property {number} numActiveFields - (relevant only when click on "clear") How many fields were active when the user clicked on the clear button? (fields that their value were not NULL)
716
- * @property {string} product - Name of the product/api from FQDN (contacts, booking, site_properties, etc.)
717
- * @property {string} resource - Singular form of the resource name from FQDN, "goal" of component (order, contact, etc.)
718
- * @return {LogObject<cairoChangesBeforeApplyParams>} LogObject<cairoChangesBeforeApplyParams>
719
- */
720
- export declare function cairoChangesBeforeApply(params: cairoChangesBeforeApplyParams): LogObject<cairoChangesBeforeApplyParams>;
721
- /**
722
- * A function to create a log object for the 'cairoTagsWidgetClickOnCta' event (evid: 172)
723
- *
724
- * Event description: Send when a user click on the widget's ctas (not including assigning tag). Relevant for Verticals who allow use tags in their tables.
725
- *
726
- * @param {cairoTagsWidgetClickOnCtaParams} params - The parameters for this event
727
- * @property {string} actionName - Assign tags / Create tags / Manage tags
728
- * @property {string} appId
729
- * @property {string} artifactId - Artifact that owns the component
730
- * @property {string} cairoVersion - Cairo version
731
- * @property {string} componentName - (Optional) Component name, if there are two components of the same type per artifact
732
- * @property {string} componentType - Component type
733
- * @property {GUID} csid - Cairo session ID
734
- * @property {string} domain - (Optional) Domain name from FQDN (CRM, Store, etc.)
735
- * @property {boolean} isTPA
736
- * @property {string} itemId - The entity ID
737
- * @property {number} numTags - How many tags are existing? will get 0 if the user didn't create any tag and an empty state will be opened
738
- * @property {number} numTagsAssigned - How many tags are already assigned to that item?
739
- * @property {string} product - Name of the product/api from FQDN (contacts, booking, site_properties, etc.)
740
- * @property {string} resource - resource
741
- * @return {LogObject<cairoTagsWidgetClickOnCtaParams>} LogObject<cairoTagsWidgetClickOnCtaParams>
742
- */
743
- export declare function cairoTagsWidgetClickOnCta(params: cairoTagsWidgetClickOnCtaParams): LogObject<cairoTagsWidgetClickOnCtaParams>;
744
- /**
745
- * A function to create a log object for the 'cairoDataExtensionUnsuccessfulUpdateInServer' event (evid: 163)
746
- *
747
- * Event description: Sent when a user tried to save a custom field but his changes weren't update in the server from different reasons
748
- *
749
- * @param {cairoDataExtensionUnsuccessfulUpdateInServerParams} params - The parameters for this event
750
- * @property {string} actionName - The action the user tried to do: Add/ Edit etc. (in English, not localized)
751
- * @property {string} appId
752
- * @property {string} artifactId - Artifact that owns the component
753
- * @property {string} cairoVersion - cairo version
754
- * @property {string} componentName - (Optional) Component name, if there are two components of the same type per artifact
755
- * @property {string} componentType - Picker Standalone/Picker Modal/Table/Cards
756
- * @property {GUID} csid - Cairo session id
757
- * @property {string} domain - (Optional) Domain name from FQDN (crm, stores, etc.)
758
- * @property {string} errorType - What is the type of the error? Technical issue / Network error / 10k Limitation
759
- * @property {string} fieldName - The name the user typed
760
- * @property {string} fieldType - What type is the added field? Long text / Date / Number etc.
761
- * @property {boolean} isTPA
762
- * @property {string} key - The key value
763
- * @property {string} origin - Where did the user click on "add custom field" from? Custom columns panel / Entity page
764
- * @property {string} permissions - Json field: {"Installed apps": "Value", "Site visitors": "Value"}. The value can be: Null (the user didn't chose anything), Read, Write, Read and Write.
765
- * @property {string} product - Name of the product/api from FQDN (contacts, booking, site_properties, etc.)
766
- * @property {string} resource - Singular form of the resource name from FQDN, "goal" of component (order, contact, etc.)
767
- * @return {LogObject<cairoDataExtensionUnsuccessfulUpdateInServerParams>} LogObject<cairoDataExtensionUnsuccessfulUpdateInServerParams>
768
- */
769
- export declare function cairoDataExtensionUnsuccessfulUpdateInServer(params: cairoDataExtensionUnsuccessfulUpdateInServerParams): LogObject<cairoDataExtensionUnsuccessfulUpdateInServerParams>;
770
- /**
771
- * A function to create a log object for the 'cairoErrorInLoadingAComponent' event (evid: 164)
772
- *
773
- * Event description: Sent when a an error in Cairo component loading process happen . Relevant components: Picker Standalone, Picker Modal, Table, Cards.
774
- *
775
- * @param {cairoErrorInLoadingAComponentParams} params - The parameters for this event
776
- * @property {string} appId
777
- * @property {string} artifactId - Artifact that owns the component
778
- * @property {string} cairoVersion - cairo version
779
- * @property {string} componentName - (Optional) Component name, if there are two components of the same type per artifact
780
- * @property {string} componentType - Picker Standalone/Picker Modal/Picker Dropdown Table/Cards
781
- * @property {GUID} csid - Cairo session id
782
- * @property {string} currentFilters - A list of filters that are currently displayed to user: {"filter1": "filterValue1", "filter2": "filterValue2a", "filterValue2b"}. Relevant for Table and Cards.
783
- * @property {string} currentSortOrder - Which columns are currently used to sort the list: [{"fieldName": "FIELD_NAME", "order": "asc"}, {"fieldName": "FIELD_NAME_1", "order": "desc"}]. Relevant for Table and Cards.
784
- * @property {string} currentTab - Which tab is currently displayed to the user. Relevant for Table and Cards.
785
- * @property {string} currentView - Which view is currently displayed to the user. Relevant for Table and Cards.
786
- * @property {string} domain - (Optional) Domain name from FQDN (crm, stores, etc.)
787
- * @property {string} errorType - Error type (if known): LoadCustomFieldsWidgetLazyContentFailed /
788
- * InitCustomFieldsDataExtensionFailed /
789
- * InitCustomFieldsWidgetContainerFailed / InitCustomFieldsDataExtensionFailed
790
- * @property {string} featuresAvailability - Json field :({featureName: boolean}) (new from 03/2023)
791
- * @property {boolean} isTPA
792
- * @property {string} product - Name of the product/api from FQDN (contacts, booking, site_properties, etc.)
793
- * @property {string} resource - Singular form of the resource name from FQDN, "goal" of component (order, contact, etc.)
794
- * @property {Url} url - The page's url
795
- * @return {LogObject<cairoErrorInLoadingAComponentParams>} LogObject<cairoErrorInLoadingAComponentParams>
796
- */
797
- export declare function cairoErrorInLoadingAComponent(params: cairoErrorInLoadingAComponentParams): LogObject<cairoErrorInLoadingAComponentParams>;
798
- /**
799
- * A function to create a log object for the 'cairoReloadErrorState' event (evid: 176)
800
- *
801
- * Event description: Sent when a an error in Cairo component loading process happened and the user reload the state
802
- *
803
- * @param {cairoReloadErrorStateParams} params - The parameters for this event
804
- * @property {string} appId
805
- * @property {string} artifactId - Artifact that owns the component
806
- * @property {string} cairoVersion - cairo version
807
- * @property {string} componentName - (Optional) Component name, if there are two components of the same type per artifact
808
- * @property {string} componentType - Picker Standalone/Picker Modal/Picker Dropdown Table/Cards
809
- * @property {GUID} csid - Cairo session id
810
- * @property {string} cta - cta
811
- * @property {string} currentFilters - A list of filters that are currently displayed to user: {"filter1": "filterValue1", "filter2": "filterValue2a", "filterValue2b"}. Relevant for Table and Cards.
812
- * @property {string} currentSortOrder - Which columns are currently used to sort the list: [{"fieldName": "FIELD_NAME", "order": "asc"}, {"fieldName": "FIELD_NAME_1", "order": "desc"}]. Relevant for Table and Cards.
813
- * @property {string} currentTab - Which tab is currently displayed to the user. Relevant for Table and Cards.
814
- * @property {string} currentView - Which view is currently displayed to the user. Relevant for Table and Cards.
815
- * @property {string} domain - (Optional) Domain name from FQDN (crm, stores, etc.)
816
- * @property {string} errorType - Error type (if known): LoadCustomFieldsWidgetLazyContentFailed /
817
- * InitCustomFieldsDataExtensionFailed /
818
- * InitCustomFieldsWidgetContainerFailed / InitCustomFieldsDataExtensionFailed
819
- * @property {string} featuresAvailability - Json field :({featureName: boolean}) (new from 03/2023)
820
- * @property {boolean} isTPA
821
- * @property {string} product - Name of the product/api from FQDN (contacts, booking, site_properties, etc.)
822
- * @property {string} resource - Singular form of the resource name from FQDN, "goal" of component (order, contact, etc.)
823
- * @property {Url} url - The page's url
824
- * @return {LogObject<cairoReloadErrorStateParams>} LogObject<cairoReloadErrorStateParams>
825
- */
826
- export declare function cairoReloadErrorState(params: cairoReloadErrorStateParams): LogObject<cairoReloadErrorStateParams>;
827
- /**
828
- * A function to create a log object for the 'newItemCreationEnd' event (evid: 107)
829
- *
830
- * Event description: Sent when the "create new" process ends (and the result is shown to the user)
831
- *
832
- * @param {newItemCreationEndParams} params - The parameters for this event
833
- * @property {string} appId
834
- * @property {string} artifactId - Artifact that owns the component
835
- * @property {string} cairoVersion
836
- * @property {string} componentName - (Optional) Component name, if there are two components of the same type per artifact
837
- * @property {string} componentType - Picker Standalone/Picker Modal/Table/Cards
838
- * @property {GUID} csid
839
- * @property {string} currentFilters - filters
840
- * @property {string} currentSortOrder - sort order
841
- * @property {string} domain - Optional domain name from FQDN (CRM, Store, etc.)
842
- * @property {number} filteredListSize - How many items are currently presented to user (filtered)
843
- * @property {boolean} isTPA
844
- * @property {string} itemId - resultType= "success" --> itemId = ID of newly created item; resultType = "dismissed" --> itemId = null
845
- * @property {number} listSize - How many items exist, after item creation (full list, unfiltered)
846
- * @property {number} maxItems - Max number of items that can be selected
847
- * @property {number} numColumns - columns
848
- * @property {number} numFiltersActive - filters
849
- * @property {number} numSelectedItems - How many items have been selected before trying to create a new one. 0 <= numItems < maxItems
850
- * @property {number} numSortedColumns - sort
851
- * @property {string} origin - "Add New" click source: "Main CTA" / "Card CTA"
852
- * @property {string} product - Name of the product/api from FQDN (contacts, booking, site_properties, etc.)
853
- * @property {string} resource - Singular form of the resource name from FQDN, "goal" of component (order, contact, etc.)
854
- * @property {string} resultType - "success"/"dismissed"
855
- * @property {string} type - standalone/modal
856
- * @property {string} visibleColumnsOrder - visible columns order
857
- * @return {LogObject<newItemCreationEndParams>} LogObject<newItemCreationEndParams>
858
- */
859
- export declare function newItemCreationEnd(params: newItemCreationEndParams): LogObject<newItemCreationEndParams>;
860
- /**
861
- * A function to create a log object for the 'cairoTagsWidgetLoaded' event (evid: 171)
862
- *
863
- * Event description: Send when a Tags' widget is loaded. Relevant for Verticals who allow use tags in their tables.
864
- *
865
- * @param {cairoTagsWidgetLoadedParams} params - The parameters for this event
866
- * @property {string} appId
867
- * @property {string} artifactId - Artifact that owns the component
868
- * @property {string} cairoVersion - Cairo version
869
- * @property {string} componentName - (Optional) Component name, if there are two components of the same type per artifact
870
- * @property {string} componentType - Component type
871
- * @property {GUID} csid - Cairo session ID
872
- * @property {string} domain - (Optional) Domain name from FQDN (CRM, Store, etc.)
873
- * @property {boolean} isTPA
874
- * @property {string} itemId - The entity ID (that the widget was loaded in its page)
875
- * @property {number} numTags - How many tags are existing? will get 0 if the user didn't create any tag and an empty state will be opened
876
- * @property {number} numTagsAssigned - How many tags are assigned to that entity when the widget is loaded?
877
- * @property {string} product - Name of the product/api from FQDN (contacts, booking, site_properties, etc.)
878
- * @property {string} resource - resource
879
- * @return {LogObject<cairoTagsWidgetLoadedParams>} LogObject<cairoTagsWidgetLoadedParams>
880
- */
881
- export declare function cairoTagsWidgetLoaded(params: cairoTagsWidgetLoadedParams): LogObject<cairoTagsWidgetLoadedParams>;
882
- /**
883
- * A function to create a log object for the 'cairoTableTopNotificationDismissed' event (evid: 137)
884
- *
885
- * Event description: Sent when the notification at the top of the table is dismissed, either manually or automatically
886
- *
887
- * @param {cairoTableTopNotificationDismissedParams} params - The parameters for this event
888
- * @property {string} appId
889
- * @property {string} artifactId - Artifact that owns the component
890
- * @property {string} cairoVersion
891
- * @property {string} componentName - (Optional) Component name, if there are two components of the same type per artifact
892
- * @property {string} componentType - Table
893
- * @property {GUID} csid
894
- * @property {string} dismissMode - Did the user click the X button ("manual") or was the notification automatically dismissed ("automatic")
895
- * @property {string} domain - (Optional) Domain name from FQDN (CRM, Store, etc.)
896
- * @property {number} duration - How much time (in ms) was the notification displayed before it was dismissed
897
- * @property {number} filteredListSize - How many items are currently presented to user (full list, filtered)
898
- * @property {boolean} isTPA
899
- * @property {string} notificationText - What is displayed to the user, localized
900
- * @property {string} product - Name of the product/api from FQDN (contacts, booking, site_properties, etc.)
901
- * @property {string} resource - Singular form of the resource name from FQDN, "goal" of component (order, contact, etc.)
902
- * @return {LogObject<cairoTableTopNotificationDismissedParams>} LogObject<cairoTableTopNotificationDismissedParams>
903
- */
904
- export declare function cairoTableTopNotificationDismissed(params: cairoTableTopNotificationDismissedParams): LogObject<cairoTableTopNotificationDismissedParams>;
905
- /**
906
- * A function to create a log object for the 'cairoSectionCtaClicked' event (evid: 153)
907
- *
908
- * Event description: Send when a user click on a section CTA (show more / show less etc.)
909
- *
910
- * @param {cairoSectionCtaClickedParams} params - The parameters for this event
911
- * @property {string} appId
912
- * @property {string} artifactId - Artifact that owns the component
913
- * @property {string} cairoVersion - Cairo version
914
- * @property {string} componentName - (Optional) Page name, if there are two pages of the same type per artifact
915
- * @property {string} componentType - Section name (Folders)
916
- * @property {GUID} csid
917
- * @property {string} ctaId - CTA ID
918
- * @property {string} ctaName - cta key (show more / show less etc.)
919
- * @property {string} ctaType - Main / Secondary / More actions
920
- * @property {string} domain - (Optional) Domain name from FQDN (CRM, Store, etc.)
921
- * @property {boolean} isTPA
922
- * @property {string} localizedCtaName - The CTA name, localized
923
- * @property {string} loaction - CTA location: Section Toolbar, Collection Toolbar
924
- * @property {string} location - CTA location: Section Toolbar, Collection Toolbar
925
- * @property {string} product - Name of the product/api from FQDN (contacts, booking, site_properties, etc.)
926
- * @property {string} resource - Singular form of the resource name from FQDN, "goal" of component (order, contact, etc.)
927
- * @property {string} sectionType - For example: Folders, Table/Grid switch etc.
928
- * @return {LogObject<cairoSectionCtaClickedParams>} LogObject<cairoSectionCtaClickedParams>
929
- */
930
- export declare function cairoSectionCtaClicked(params: cairoSectionCtaClickedParams): LogObject<cairoSectionCtaClickedParams>;
931
- /**
932
- * A function to create a log object for the 'cairoFileDownloadToastDisplayed' event (evid: 132)
933
- *
934
- * Event description: Sent when the export ends successfully and the user is prompted that the file is being downloaded
935
- *
936
- * @param {cairoFileDownloadToastDisplayedParams} params - The parameters for this event
937
- * @property {string} appId
938
- * @property {string} artifactId - Artifact that owns the component
939
- * @property {string} cairoVersion
940
- * @property {string} componentName - (Optional) Component name, if there are two components of the same type per artifact
941
- * @property {string} componentType - Table
942
- * @property {GUID} csid
943
- * @property {string} domain - (Optional) Domain name from FQDN (CRM, Store, etc.)
944
- * @property {string} exportId - A unique ID that will help join all events related to a specific export process
945
- * @property {string} exportType - What type of export did the user choose: "All Items"/"Filtered Items"/"Selected Items"
946
- * @property {boolean} isTPA
947
- * @property {number} numSelectedItems - How many items did the user export. If no items have been selected (selectedExportType = "All Items"), then all items in list.
948
- * @property {string} product - Name of the product/api from FQDN (contacts, booking, site_properties, etc.)
949
- * @property {string} resource - Singular form of the resource name from FQDN, "goal" of component (order, contact, etc.)
950
- * @property {number} try - Which try is this; if try > 1, this is a retry
951
- * @return {LogObject<cairoFileDownloadToastDisplayedParams>} LogObject<cairoFileDownloadToastDisplayedParams>
952
- */
953
- export declare function cairoFileDownloadToastDisplayed(params: cairoFileDownloadToastDisplayedParams): LogObject<cairoFileDownloadToastDisplayedParams>;
954
- /**
955
- * A function to create a log object for the 'cairoSearchResults' event (evid: 116)
956
- *
957
- * Event description: Sent when the search results are displayed, after a user searches for something in a Cairo component. Relevant components: Picker Standalone, Picker Modal, Table, Cards.
958
- *
959
- * @param {cairoSearchResultsParams} params - The parameters for this event
960
- * @property {string} appId
961
- * @property {string} artifactId - Artifact that owns the component
962
- * @property {string} cairoVersion
963
- * @property {string} componentName - (Optional) Component name, if there are two components of the same type per artifact
964
- * @property {string} componentType - Picker Standalone/Picker Modal/Table/Cards
965
- * @property {GUID} csid
966
- * @property {string} domain - (Optional) Domain name from FQDN (CRM, Store, etc.)
967
- * @property {boolean} isTPA
968
- * @property {number} loadingTime - How much time (in ms) did it take to load the results for searchQuery
969
- * @property {string} product - Name of the product/api from FQDN (contacts, booking, site_properties, etc.)
970
- * @property {string} resource - Singular form of the resource name from FQDN, "goal" of component (order, contact, etc.)
971
- * @property {number} searchResultsCnt - How many results appeared for the search query. numSearchReults = 0 --> user saw empty state.
972
- * @property {string} searchTerm - What did the user search? "" if removed search term.
973
- * @return {LogObject<cairoSearchResultsParams>} LogObject<cairoSearchResultsParams>
974
- */
975
- export declare function cairoSearchResults(params: cairoSearchResultsParams): LogObject<cairoSearchResultsParams>;
976
- /**
977
- * A function to create a log object for the 'cairoTagsModalEndProcess' event (evid: 167)
978
- *
979
- * Event description: Send when a user click on button that will close "Tags Modal". Relevant for Verticals who allow use tags in their tables.
980
- *
981
- * @param {cairoTagsModalEndProcessParams} params - The parameters for this event
982
- * @property {string} appId
983
- * @property {string} artifactId - Artifact that owns the component
984
- * @property {string} cairoVersion - Cairo version
985
- * @property {string} componentName - (Optional) Page name, if there are two pages of the same type per artifact
986
- * @property {string} componentType - Component type
987
- * @property {GUID} csid - Cairo session ID
988
- * @property {string} domain - (Optional) Domain name from FQDN (CRM, Store, etc.)
989
- * @property {string} endType - Close without changes
990
- * @property {boolean} isTPA
991
- * @property {number} numTags - How many tags are in the modal?
992
- * @property {string} origin - Where did the user open Manage Tags modal from?
993
- * @property {string} product - Name of the product/api from FQDN (contacts, booking, site_properties, etc.)
994
- * @property {string} resource - resource
995
- * @return {LogObject<cairoTagsModalEndProcessParams>} LogObject<cairoTagsModalEndProcessParams>
996
- */
997
- export declare function cairoTagsModalEndProcess(params: cairoTagsModalEndProcessParams): LogObject<cairoTagsModalEndProcessParams>;
998
- /**
999
- * A function to create a log object for the 'cairoManageViewClicked' event (evid: 142)
1000
- *
1001
- * Event description: Sent when a user clicks on "Manage View" in a Cairo component. Relevant components: Table, Cards.
1002
- *
1003
- * @param {cairoManageViewClickedParams} params - The parameters for this event
1004
- * @property {string} appId
1005
- * @property {string} artifactId - Artifact that owns the component
1006
- * @property {string} cairoVersion - Cairo version
1007
- * @property {string} componentName - (Optional) Component name, if there are two components of the same type per artifact
1008
- * @property {string} componentType - Table/Cards
1009
- * @property {GUID} csid
1010
- * @property {string} currentView - Which view is currently displayed to the user. Relevant for Table and Cards.
1011
- * @property {string} domain - (Optional) Domain name from FQDN (CRM, Store, etc.)
1012
- * @property {boolean} isPredefined - Is it a view that was predefined by the vertical. Will get "true" for predefined views include "All Items" view.
1013
- * @property {boolean} isTPA
1014
- * @property {number} numFiltersInView - How many filters comprise the saved view
1015
- * @property {string} product - Name of the product/api from FQDN (contacts, booking, site_properties, etc.)
1016
- * @property {string} resource - Singular form of the resource name from FQDN, "goal" of component (order, contact, etc.)
1017
- * @return {LogObject<cairoManageViewClickedParams>} LogObject<cairoManageViewClickedParams>
1018
- */
1019
- export declare function cairoManageViewClicked(params: cairoManageViewClickedParams): LogObject<cairoManageViewClickedParams>;
1020
- /**
1021
- * A function to create a log object for the 'cairoTagsModalStartLoad' event (evid: 166)
1022
- *
1023
- * Event description: Send when a user click on a "Tags Modal". Relevant for Verticals who allow use tags in their tables.
1024
- *
1025
- * @param {cairoTagsModalStartLoadParams} params - The parameters for this event
1026
- * @property {string} appId
1027
- * @property {string} artifactId - Artifact that owns the component
1028
- * @property {string} cairoVersion - Cairo version
1029
- * @property {string} componentName - (Optional) Page name, if there are two pages of the same type per artifact
1030
- * @property {string} componentType - Component type
1031
- * @property {GUID} csid - Cairo session ID
1032
- * @property {string} domain - (Optional) Domain name from FQDN (CRM, Store, etc.)
1033
- * @property {boolean} isTPA
1034
- * @property {number} numTags - How many tags are to be presented?
1035
- * @property {string} origin - Where did the user open Manage Tags modal from?
1036
- * @property {string} product - Name of the product/api from FQDN (contacts, booking, site_properties, etc.)
1037
- * @property {string} resource - resource
1038
- * @return {LogObject<cairoTagsModalStartLoadParams>} LogObject<cairoTagsModalStartLoadParams>
1039
- */
1040
- export declare function cairoTagsModalStartLoad(params: cairoTagsModalStartLoadParams): LogObject<cairoTagsModalStartLoadParams>;
1041
- /**
1042
- * A function to create a log object for the 'cairoSortUnsuccessfulUpdateInServer' event (evid: 148)
1043
- *
1044
- * Event description: Sent when a user made a sort action but his changes weren't update in the server from different reasons
1045
- *
1046
- * @param {cairoSortUnsuccessfulUpdateInServerParams} params - The parameters for this event
1047
- * @property {string} actionName - The action the user tried to do on the sorting column: "Add new sort"/"Change sort column"/"Change sort type"/"Remove sort" / "Reorder sort columns".(in English, not localized)
1048
- * @property {string} appId
1049
- * @property {string} artifactId - Artifact that owns the component
1050
- * @property {string} cairoVersion - cairo version
1051
- * @property {string} componentName - (Optional) Component name, if there are two components of the same type per artifact
1052
- * @property {string} componentType - Picker Standalone/Picker Modal/Table/Cards
1053
- * @property {GUID} csid
1054
- * @property {string} currentFilters - A list of filters that are currently displayed to user: {"filter1": "filterValue1", "filter2": "filterValue2a", "filterValue2b"}. Relevant for Table and Cards. For now, it can only be a "category filter" that is displayed in this event. (relate to ticket 525+521).
1055
- * @property {string} currentTab - Which tab is currently displayed to the user. Relevant for Table and Cards.
1056
- * @property {string} currentView - Which view is currently displayed to the user. Relevant for Table and Cards.
1057
- * @property {string} domain - (Optional) Domain name from FQDN (crm, stores, etc.)
1058
- * @property {string} errorType - What is the type of the error? "Update failed" = updates has failed in the server, "Window closed" = the user clicked the X button to close the window before the server finished the update, "Left page"= the user try navigate to another page before the server finished the update
1059
- * @property {number} filteredListSize - How many items are to be presented (filtered)
1060
- * @property {number} filteredListSizeShown - How many items were presented (filtered) to the user when he made the failed action?
1061
- * @property {string} filtersApplied - A list of filters that were displayed to user when he made the failed action: {"filter1": "filterValue1", "filter2": "filterValue2a", "filterValue2b"}. Relevant for Table and Cards.
1062
- * @property {boolean} isFromSearch - Was the failed action made on a search results?
1063
- * @property {boolean} isTPA
1064
- * @property {number} numOfWaitingUpdates - number of updates in the sequence that follow the failed action
1065
- * @property {string} origin - The location thefailed sort action was made from :"SidePanel"/"ColumnHeader"
1066
- * @property {string} product - Name of the product/api from FQDN (contacts, booking, site_properties, etc.)
1067
- * @property {string} resource - Singular form of the resource name from FQDN, "goal" of component (order, contact, etc.)
1068
- * @property {string} searchQuery - (not relevant for now) What did the user search? isFromSearch = FALSE --> searchQuery = null .
1069
- * @property {string} sortOrderApplied - Which columns were used to sort the list when the user made the failed action: [{"fieldName": "FIELD_NAME", "order": "asc"}
1070
- * @property {string} sortingColumn - The sorted column that the user attempted to update (but failed).
1071
- * @property {string} tabShown
1072
- * @property {number} timeFromEndAction - duration in ms from the end of the failed action until the error indication
1073
- * @property {string} viewShown
1074
- * @property {string} visibleColumnsOrder - Which columns are currently comprise the saved view- by the order the user defined
1075
- * @return {LogObject<cairoSortUnsuccessfulUpdateInServerParams>} LogObject<cairoSortUnsuccessfulUpdateInServerParams>
1076
- */
1077
- export declare function cairoSortUnsuccessfulUpdateInServer(params: cairoSortUnsuccessfulUpdateInServerParams): LogObject<cairoSortUnsuccessfulUpdateInServerParams>;
1078
- /**
1079
- * A function to create a log object for the 'cairoItemToggledInExportModal' event (evid: 126)
1080
- *
1081
- * Event description: Sent when user changes selection in the Cairo export modal
1082
- *
1083
- * @param {cairoItemToggledInExportModalParams} params - The parameters for this event
1084
- * @property {string} appId
1085
- * @property {string} artifactId - Artifact that owns the component
1086
- * @property {string} availableExportTypes - A list of all of the available export types, along with the number of items that would be exported using each of the options. E.g. {"All Items": 100, "Filtered Items": 80, "Selected Items": 10}
1087
- * @property {string} cairoVersion
1088
- * @property {string} componentName - (Optional) Component name, if there are two components of the same type per artifact
1089
- * @property {string} componentType - Table
1090
- * @property {GUID} csid
1091
- * @property {string} domain - (Optional) Domain name from FQDN (CRM, Store, etc.)
1092
- * @property {string} exportId - A unique ID that will help join all events related to a specific export process
1093
- * @property {number} filteredListSize - How many items are currently presented to user (filtered)
1094
- * @property {boolean} isTPA
1095
- * @property {string} newSelectedExportType - What type of export did the user switch to: "All Items"/"Filtered Items"/"Selected Items"
1096
- * @property {string} prevSelectedExportType - What type of export did the user have selected before swiching to newSelectedExportType: "All Items"/"Filtered Items"/"Selected Items"
1097
- * @property {string} product - Name of the product/api from FQDN (contacts, booking, site_properties, etc.)
1098
- * @property {string} resource - Singular form of the resource name from FQDN, "goal" of component (order, contact, etc.)
1099
- * @return {LogObject<cairoItemToggledInExportModalParams>} LogObject<cairoItemToggledInExportModalParams>
1100
- */
1101
- export declare function cairoItemToggledInExportModal(params: cairoItemToggledInExportModalParams): LogObject<cairoItemToggledInExportModalParams>;
1102
- /**
1103
- * A function to create a log object for the 'cairoDragActionUnsuccessfulUpdateInServer' event (evid: 140)
1104
- *
1105
- * Event description: Sent when a user finish to drag items but those changes weren't update in the server from different reasons
1106
- *
1107
- * @param {cairoDragActionUnsuccessfulUpdateInServerParams} params - The parameters for this event
1108
- * @property {string} appId
1109
- * @property {string} artifactId - Artifact that owns the component
1110
- * @property {string} cairoVersion - cairo version
1111
- * @property {string} componentName - (Optional) Component name, if there are two components of the same type per artifact
1112
- * @property {string} componentType - Picker Standalone/Picker Modal/Table/Cards
1113
- * @property {GUID} csid
1114
- * @property {string} currentFilters - A list of filters that are currently displayed to user: {"filter1": "filterValue1", "filter2": "filterValue2a", "filterValue2b"}. Relevant for Table and Cards. For now, it can only be a "category filter" that is displayed in this event. (relate to ticket 525+521).
1115
- * @property {string} domain - (Optional) Domain name from FQDN (crm, stores, etc.)
1116
- * @property {GUID} dragAndDropID - A "couple" identifier , match between drag action and its drop action- will get the identifier of the failed action
1117
- * @property {string} errorType - What is the type of the error? "Update failed" = updates has failed in the server, "Window closed" = the user clicked the X button to close the window before the server finished the update, "Left page"= the user try navigate to another page before the server finished the update, "External logic" = the action was cancelled due to a vertical logic
1118
- * @property {number} filteredListSize - How many items are to be presented (filtered)?
1119
- * @property {number} filteredListSizeShown - How many items were presented (filtered) to the user when he made the failed action?
1120
- * @property {string} filtersApplied - A list of filters that were displayed to user when he made the failed action: {"filter1": "filterValue1", "filter2": "filterValue2a", "filterValue2b"}. Relevant for Table and Cards.
1121
- * @property {boolean} isTPA
1122
- * @property {string} itemId - ID of the item that the user tries to drag
1123
- * @property {number} itemIndexAfter - Out of the list of results, what is the new index of the clicked item (after dragging, the new index). ** filteredListSize = X --> (1 <= itemIndexAfter <= X) **when endType <> drop succeeded --> itemIndexAfter = itemIndexBefore
1124
- * @property {number} itemIndexBefore - Out of the list of results, what was the index of the clicked item (before dragging). ** filteredListSize = X --> (1 <= itemIndexBefore <= X)
1125
- * @property {number} numItemsBefore - How many items have been selected before user clicks item and starts the drag action?
1126
- * @property {number} numItemsBeforeFailed - How many items have been selected when user made the failed action?
1127
- * @property {number} numOfWaitingUpdates - number of updates in the sequence that follow the failed action
1128
- * @property {string} product - Name of the product/api from FQDN (contacts, booking, site_properties, etc.)
1129
- * @property {string} resource - Singular form of the resource name from FQDN, "goal" of component (order, contact, etc.)
1130
- * @property {string} searchQuery - (not relevant for now) What did the user search? isFromSearch = FALSE --> searchQuery = null .
1131
- * @property {string} sortOrderApplied - Which columns were used to sort the list when the user made the failed action: [{"fieldName": "FIELD_NAME", "order": "asc"}
1132
- * @property {string} tabShown - Which tab was displayed to the user when he made the failed action. Relevant for Table and Cards.
1133
- * @property {number} timeFromEndDrag - duration in ms from the end of the drag action until the error indication
1134
- * @property {string} viewShown - Which view was displayed to the user when he made the failed action. Relevant for Table and Cards.
1135
- * @property {boolean} wasFromHandle - Was the failed action made from the handle area?
1136
- * @return {LogObject<cairoDragActionUnsuccessfulUpdateInServerParams>} LogObject<cairoDragActionUnsuccessfulUpdateInServerParams>
1137
- */
1138
- export declare function cairoDragActionUnsuccessfulUpdateInServer(params: cairoDragActionUnsuccessfulUpdateInServerParams): LogObject<cairoDragActionUnsuccessfulUpdateInServerParams>;
1139
- /**
1140
- * A function to create a log object for the 'cairoSearchForTags' event (evid: 170)
1141
- *
1142
- * Event description: Sent when the search results are displayed, after a user searches for a tag. Relevant for tables that enabled using tags.
1143
- *
1144
- * @param {cairoSearchForTagsParams} params - The parameters for this event
1145
- * @property {string} appId
1146
- * @property {string} artifactId - Artifact that owns the component
1147
- * @property {string} cairoVersion - Cairo version
1148
- * @property {string} componentName - (Optional) Component name, if there are two components of the same type per artifact
1149
- * @property {string} componentType - Picker Standalone/Picker Modal/Table/Cards
1150
- * @property {GUID} csid - Cairo session id
1151
- * @property {string} domain - (Optional) Domain name from FQDN (CRM, Store, etc.)
1152
- * @property {string} endType - How did the search action end? "Tag selected"- the user chose one of the search results, "Search dismissed"- the user cancel the search by any other action, "Add new tag"- when the searched tag doesn't exist and the user choose to add it as new
1153
- * @property {boolean} isTPA
1154
- * @property {string} location - Where did the user search for the tag? Manage tags modal /
1155
- * @property {string} product - Name of the product/api from FQDN (contacts, booking, site_properties, etc.)
1156
- * @property {string} resource - Singular form of the resource name from FQDN, "goal" of component (order, contact, etc.)
1157
- * @property {number} searchResultsCnt - How many results appeared for the search query. numSearchReults = 0 --> user saw the option to add this tag as new
1158
- * @property {string} searchTerm - What did the user search? "" if removed search term.
1159
- * @return {LogObject<cairoSearchForTagsParams>} LogObject<cairoSearchForTagsParams>
1160
- */
1161
- export declare function cairoSearchForTags(params: cairoSearchForTagsParams): LogObject<cairoSearchForTagsParams>;
1162
- /**
1163
- * A function to create a log object for the 'cairoManageViewActionSelected' event (evid: 143)
1164
- *
1165
- * Event description: Sent when a user selects one of the actions in "manage view" menu.
1166
- *
1167
- * @param {cairoManageViewActionSelectedParams} params - The parameters for this event
1168
- * @property {number} actionIndex - 1 <= actionIndex <= numActions -- the number of the action out of all actions in the menu
1169
- * @property {string} actionName - "view-save-new"/"Save Changes"/"Rename"/"Delete" etc... (in English, not localized)
1170
- * @property {string} appId
1171
- * @property {string} artifactId - Artifact that owns the component
1172
- * @property {string} cairoVersion - cairo version
1173
- * @property {string} componentName - (Optional) Component name, if there are two components of the same type per artifact
1174
- * @property {string} componentType - Picker Standalone/Picker Modal/Table/Cards
1175
- * @property {GUID} csid
1176
- * @property {string} currentView - Which view is currently displayed to the user. Relevant for Table and Cards.
1177
- * @property {string} domain - (Optional) Domain name from FQDN (CRM, Store, etc.)
1178
- * @property {boolean} isTPA
1179
- * @property {number} numActions - How many actions are existing in the current menu (including disabled actions)?
1180
- * @property {string} product - Name of the product/api from FQDN (contacts, booking, site_properties, etc.)
1181
- * @property {string} resource - Singular form of the resource name from FQDN, "goal" of component (order, contact, etc.)
1182
- * @return {LogObject<cairoManageViewActionSelectedParams>} LogObject<cairoManageViewActionSelectedParams>
1183
- */
1184
- export declare function cairoManageViewActionSelected(params: cairoManageViewActionSelectedParams): LogObject<cairoManageViewActionSelectedParams>;
1185
- /**
1186
- * A function to create a log object for the 'cairoLearnMore' event (evid: 158)
1187
- *
1188
- * Event description: Send when a user click on "Learn More" from Cairo component.
1189
- *
1190
- * @param {cairoLearnMoreParams} params - The parameters for this event
1191
- * @property {string} appId
1192
- * @property {string} artifactId - Artifact that owns the component
1193
- * @property {string} cairoVersion - Cairo version
1194
- * @property {string} componentName - (Optional) Page name, if there are two pages of the same type per artifact
1195
- * @property {string} componentType - Section name (Folders)
1196
- * @property {GUID} csid - Cairo session ID
1197
- * @property {string} domain - (Optional) Domain name from FQDN (CRM, Store, etc.)
1198
- * @property {boolean} isTPA
1199
- * @property {string} origin - Where did the user click on "Learn more" from? Add Custom Field Modal/ Edit Custom Field Modal / Table Toolbar
1200
- * @property {string} product - Name of the product/api from FQDN (contacts, booking, site_properties, etc.)
1201
- * @property {string} resource - Singular form of the resource name from FQDN, "goal" of component (order, contact, etc.)
1202
- * @return {LogObject<cairoLearnMoreParams>} LogObject<cairoLearnMoreParams>
1203
- */
1204
- export declare function cairoLearnMore(params: cairoLearnMoreParams): LogObject<cairoLearnMoreParams>;
1205
- /**
1206
- * A function to create a log object for the 'cairoAssignTagsToEntities' event (evid: 175)
1207
- *
1208
- * Event description: Assign Tags to entities
1209
- *
1210
- * @param {cairoAssignTagsToEntitiesParams} params - The parameters for this event
1211
- * @property {string} actionName - Assign / Remove
1212
- * @property {string} appId
1213
- * @property {string} artifactId - Artifact that owns the component
1214
- * @property {string} assignedTags - array of tags that were assigned (empty array if none)
1215
- * @property {string} cairoVersion - Cairo version
1216
- * @property {string} componentName - (Optional) Component name, if there are two components of the same type per artifact
1217
- * @property {string} componentType - Component type
1218
- * @property {GUID} csid - Cairo session ID
1219
- * @property {string} domain - (Optional) Domain name from FQDN (CRM, Store, etc.)
1220
- * @property {boolean} isFromSearch - Is the action made from a list of tags search results?
1221
- * @property {boolean} isTPA
1222
- * @property {string} itemIds - array of items ids that were selected
1223
- * @property {number} numItems - How many items have been selected?
1224
- * @property {string} origin - Where did the user make the action from?
1225
- * @property {string} product - Name of the product/api from FQDN (contacts, booking, site_properties, etc.)
1226
- * @property {string} resource - resource
1227
- * @property {string} unAssignedTags - array of tags that were unassigned (empty array if none)
1228
- * @return {LogObject<cairoAssignTagsToEntitiesParams>} LogObject<cairoAssignTagsToEntitiesParams>
1229
- */
1230
- export declare function cairoAssignTagsToEntities(params: cairoAssignTagsToEntitiesParams): LogObject<cairoAssignTagsToEntitiesParams>;
1231
- /**
1232
- * A function to create a log object for the 'cairoPageCtaClicked' event (evid: 150)
1233
- *
1234
- * Event description: Sent when a user clicks a Page CTA ('add', 'more actions' etc.).
1235
- *
1236
- * @param {cairoPageCtaClickedParams} params - The parameters for this event
1237
- * @property {string} appId
1238
- * @property {string} artifactId - Artifact that owns the component
1239
- * @property {string} cairoVersion - Cairo version
1240
- * @property {string} componentName - (Optional) Page name, if there are two pages of the same type per artifact
1241
- * @property {string} componentType - Page
1242
- * @property {GUID} csid
1243
- * @property {string} ctaName - "Add New"/"More Actions"... (in English only, not localized). For section= vertical / Cairo - it will be defined as unique title. For section=TPA: it will be the component_id of the TPA. To get the TPA app_id - use the table mysql.app_service.components- join on table.component_id= event.ctaName
1244
- * @property {string} ctaType - Main / Secondary / More Actions Dropdown / More Actions Option
1245
- * @property {string} domain - (Optional) Domain name from FQDN (CRM, Store, etc.)
1246
- * @property {boolean} isTPA
1247
- * @property {boolean} isValid - (Relevant only for Save CTA) True=if all fields are validated, False= if there are validation errors
1248
- * @property {string} location - CTA location: TBD
1249
- * @property {number} moreActionsIndex - (Relevant only for 'More Action Option' CTA) 0 <= moreActionsIndex <= numCtas -- the number of the CTA out of all CTAs in the more action dropdown
1250
- * @property {number} numCtas - (Relevant only for 'More Action Option' CTA) How many CTAs are available in the more action dropdown?
1251
- * @property {string} pageType - Collection / Entity
1252
- * @property {string} product - Name of the product/api from FQDN (contacts, booking, site_properties, etc.)
1253
- * @property {string} resource - Singular form of the resource name from FQDN, "goal" of component (order, contact, etc.)
1254
- * @property {string} section - Relevant only for "cta type"="more actions option". Will get one of the values: Vertical / Cairo / TPA
1255
- * @return {LogObject<cairoPageCtaClickedParams>} LogObject<cairoPageCtaClickedParams>
1256
- */
1257
- export declare function cairoPageCtaClicked(params: cairoPageCtaClickedParams): LogObject<cairoPageCtaClickedParams>;
1258
- /**
1259
- * A function to create a log object for the 'cairoTableTopNotificationDisplayed' event (evid: 136)
1260
- *
1261
- * Event description: Sent when a notification is displayed, showing a message that appears between the table header and the table rows
1262
- *
1263
- * @param {cairoTableTopNotificationDisplayedParams} params - The parameters for this event
1264
- * @property {string} appId
1265
- * @property {string} artifactId - Artifact that owns the component
1266
- * @property {string} cairoVersion
1267
- * @property {string} componentName - (Optional) Component name, if there are two components of the same type per artifact
1268
- * @property {string} componentType - Table
1269
- * @property {GUID} csid
1270
- * @property {string} domain - (Optional) Domain name from FQDN (CRM, Store, etc.)
1271
- * @property {number} filteredListSize - How many items are currently presented to user (full list, filtered)
1272
- * @property {boolean} isTPA
1273
- * @property {string} notificationText - What is displayed to the user, localized
1274
- * @property {string} product - Name of the product/api from FQDN (contacts, booking, site_properties, etc.)
1275
- * @property {string} resource - Singular form of the resource name from FQDN, "goal" of component (order, contact, etc.)
1276
- * @return {LogObject<cairoTableTopNotificationDisplayedParams>} LogObject<cairoTableTopNotificationDisplayedParams>
1277
- */
1278
- export declare function cairoTableTopNotificationDisplayed(params: cairoTableTopNotificationDisplayedParams): LogObject<cairoTableTopNotificationDisplayedParams>;
1279
- /**
1280
- * A function to create a log object for the 'cairoTryAgainClicked' event (evid: 141)
1281
- *
1282
- * Event description: Sent when a user clicks on a "try again" CTA he gets in an error notification
1283
- *
1284
- * @param {cairoTryAgainClickedParams} params - The parameters for this event
1285
- * @property {string} actionName - the action name that failed and triggered the notification (for example: drag, column reorder etc.)
1286
- * @property {string} appId
1287
- * @property {string} artifactId - Artifact that owns the component
1288
- * @property {string} cairoVersion - cairo version
1289
- * @property {string} componentName - (Optional) Component name, if there are two components of the same type per artifact
1290
- * @property {string} componentType - Picker Standalone/Picker Modal/Table/Cards
1291
- * @property {GUID} csid
1292
- * @property {string} domain - (Optional) Domain name from FQDN (crm, stores, etc.)
1293
- * @property {number} filteredListSize - How many items were presented when the user made the failed action (filtered)
1294
- * @property {boolean} isFromSearch - Did the user made the failed action on a list of search results
1295
- * @property {boolean} isTPA
1296
- * @property {string} loaction - Toast / Custom fields widget / View only widget / Component error state
1297
- * @property {number} numOfWaitingUpdates - (optional) number of updates in the sequence that follow the failed action
1298
- * @property {string} product - Name of the product/api from FQDN (contacts, booking, site_properties, etc.)
1299
- * @property {string} resource - Singular form of the resource name from FQDN, "goal" of component (order, contact, etc.)
1300
- * @return {LogObject<cairoTryAgainClickedParams>} LogObject<cairoTryAgainClickedParams>
1301
- */
1302
- export declare function cairoTryAgainClicked(params: cairoTryAgainClickedParams): LogObject<cairoTryAgainClickedParams>;
1303
- /**
1304
- * A function to create a log object for the 'cairoFiltersPanelUsed' event (evid: 119)
1305
- *
1306
- * Event description: (This event was changed in 01/2023 from filter panel used to more generic - any feature panel). Sent when a feature sidebar/menu in a Cairo component is opened or closed. Relevant features: Filters, Sort, Views, Costume Columns. Relevant components: Table, Cards.
1307
- *
1308
- * @param {cairoFiltersPanelUsedParams} params - The parameters for this event
1309
- * @property {string} appId
1310
- * @property {string} artifactId - Artifact that owns the component
1311
- * @property {string} cairoVersion
1312
- * @property {string} componentName - (Optional) Component name, if there are two components of the same type per artifact
1313
- * @property {string} componentType - Table/Cards
1314
- * @property {GUID} csid
1315
- * @property {string} currentSortOrder - Which columns are currently used to sort the list: [{"fieldName": "FIELD_NAME", "order": "asc"} (new field from 01/2023)
1316
- * @property {string} currentView - Which view is currently displayed to the user. Relevant for Table and Cards. (new field from 01/2023)
1317
- * @property {string} domain - (Optional) Domain name from FQDN (CRM, Store, etc.)
1318
- * @property {string} feature - Filter / Sort / Costume Columns / Manage Views / Manage custom fields (new field from 01/2023)/Tags
1319
- * @property {boolean} isOpened - TRUE if the user just opened the sidebar; FALSE if closed
1320
- * @property {boolean} isPredefined - Is it a view that was predefined by the vertical. Will get "true" for predefined views include "All Items" view, "false" if it's a user view and "null" if the action wasn't made over any view (new field from 01/2023)
1321
- * @property {boolean} isTPA
1322
- * @property {number} numColumns - How many columns are shown? (new field from 01/2023)
1323
- * @property {number} numFiltersActive - The number of active filters when the user opened/closed the panel/menu
1324
- * @property {number} numFiltersInView - How many filters comprise the saved view (new field from 01/2023)
1325
- * @property {number} numSortedColumns - How many columns actively sort the data? (new field from 01/2023)
1326
- * @property {string} origin - From where did the user open/close the panel: Create View, Filter Button, X Button, Sort CTA, Costume Columns CTA, Manage Views, Entity page custom fields, Assign Tags
1327
- * @property {string} product - Name of the product/api from FQDN (contacts, booking, site_properties, etc.)
1328
- * @property {string} resource - Singular form of the resource name from FQDN, "goal" of component (order, contact, etc.)
1329
- * @property {number} timeFromAction - The time from user click on open/close filter panel until he gets feedback and sees the panel opened/closed, in ms (new from Dec 2022, relevant only for filter)
1330
- * @property {string} visibleColumnsOrder - Which columns are currently shown to the user - by the order the user defined (new field from 01/2023)
1331
- * @return {LogObject<cairoFiltersPanelUsedParams>} LogObject<cairoFiltersPanelUsedParams>
1332
- */
1333
- export declare function cairoFiltersPanelUsed(params: cairoFiltersPanelUsedParams): LogObject<cairoFiltersPanelUsedParams>;
1334
- /**
1335
- * A function to create a log object for the 'cairoDragItem' event (evid: 138)
1336
- *
1337
- * Event description: Sent when a user clicks on an item and tries to drag it, in order to sort the items manually
1338
- *
1339
- * @param {cairoDragItemParams} params - The parameters for this event
1340
- * @property {string} appId
1341
- * @property {string} artifactId - Artifact that owns the component
1342
- * @property {string} cairoVersion - cairo version
1343
- * @property {string} componentName - (Optional) Component name, if there are two components of the same type per artifact
1344
- * @property {string} componentType - Picker Standalone/Picker Modal/Table/Cards
1345
- * @property {GUID} csid
1346
- * @property {string} currentFilters - A list of filters that are currently displayed to user: {"filter1": "filterValue1", "filter2": "filterValue2a", "filterValue2b"}. Relevant for Table and Cards. For now, it can only be a "category filter" that is displayed in this event. (relate to ticket 525+521).
1347
- * @property {string} currentSortOrder - Which columns are currently used to sort the list: [{"fieldName": "FIELD_NAME", "order": "asc"}
1348
- * @property {string} currentTab - Which tab is currently displayed to the user. Relevant for Table and Cards.
1349
- * @property {string} currentView - Which view is currently displayed to the user. Relevant for Table and Cards.
1350
- * @property {string} domain - (Optional) Domain name from FQDN (crm, stores, etc.)
1351
- * @property {GUID} dragAndDropID - A "couple" identifier , match between drag action and its drop action
1352
- * @property {number} filteredListSize - How many items are to be presented (filtered)
1353
- * @property {number} initialItems - Initial number of items loaded (before scroll and autoload)
1354
- * @property {boolean} isFromHandle - Is the item dragged from the handle area?
1355
- * @property {boolean} isFromSearch - Did the user try to drag the item from a list of search results (relate to ticket 521).
1356
- * @property {boolean} isTPA
1357
- * @property {string} itemId - ID of the item that the user tries to drag.
1358
- * @property {number} itemIndex - Out of the list of results, what was the index of the dragged item (before dragging). ** filteredListSize = X --> (1 <= itemIndex <= X)
1359
- * @property {number} numItemsBefore - (relate to ticket 526). How many items have been selected before user clicks item and starts the drag action?
1360
- * @property {string} product - Name of the product/api from FQDN (contacts, booking, site_properties, etc.)
1361
- * @property {string} resource - Singular form of the resource name from FQDN, "goal" of component (order, contact, etc.)
1362
- * @property {string} searchQuery - What did the user search? isFromSearch = FALSE --> searchQuery = null. (relate to ticket 521).
1363
- * @return {LogObject<cairoDragItemParams>} LogObject<cairoDragItemParams>
1364
- */
1365
- export declare function cairoDragItem(params: cairoDragItemParams): LogObject<cairoDragItemParams>;
1366
- /**
1367
- * A function to create a log object for the 'cairoFileDownloadToastDismissed' event (evid: 133)
1368
- *
1369
- * Event description: Sent when the toast that tells the user that the export is done and the file is being downloaded is dismissed (by user or automatically).
1370
- *
1371
- * @param {cairoFileDownloadToastDismissedParams} params - The parameters for this event
1372
- * @property {string} appId
1373
- * @property {string} artifactId - Artifact that owns the component
1374
- * @property {string} cairoVersion
1375
- * @property {string} componentName - (Optional) Component name, if there are two components of the same type per artifact
1376
- * @property {string} componentType - Table
1377
- * @property {GUID} csid
1378
- * @property {string} dismissMode - Did the user click the X button ("manual") or was the notification automatically dismissed ("automatic")
1379
- * @property {string} domain - (Optional) Domain name from FQDN (CRM, Store, etc.)
1380
- * @property {number} duration - How much time (in ms) was the notification displayed before it was dismissed
1381
- * @property {string} exportId - A unique ID that will help join all events related to a specific export process
1382
- * @property {string} exportType - What type of export did the user choose: "All Items"/"Filtered Items"/"Selected Items"
1383
- * @property {boolean} isTPA
1384
- * @property {number} numSelectedItems - How many items did the user export. If no items have been selected (selectedExportType = "All Items"), then all items in list.
1385
- * @property {string} product - Name of the product/api from FQDN (contacts, booking, site_properties, etc.)
1386
- * @property {string} resource - Singular form of the resource name from FQDN, "goal" of component (order, contact, etc.)
1387
- * @return {LogObject<cairoFileDownloadToastDismissedParams>} LogObject<cairoFileDownloadToastDismissedParams>
1388
- */
1389
- export declare function cairoFileDownloadToastDismissed(params: cairoFileDownloadToastDismissedParams): LogObject<cairoFileDownloadToastDismissedParams>;
1390
- /**
1391
- * A function to create a log object for the 'cairoUserAttemptsToCancelTheExport' event (evid: 129)
1392
- *
1393
- * Event description: Sent when the user tries to cancel the export process AFTER it has begun
1394
- *
1395
- * @param {cairoUserAttemptsToCancelTheExportParams} params - The parameters for this event
1396
- * @property {string} appId
1397
- * @property {string} artifactId - Artifact that owns the component
1398
- * @property {string} cairoVersion
1399
- * @property {string} componentName - (Optional) Component name, if there are two components of the same type per artifact
1400
- * @property {string} componentType - Table
1401
- * @property {GUID} csid
1402
- * @property {string} domain - (Optional) Domain name from FQDN (CRM, Store, etc.)
1403
- * @property {number} duration - How much time (in ms) did it take since the export process began
1404
- * @property {string} exportId - A unique ID that will help join all events related to a specific export process
1405
- * @property {boolean} isTPA
1406
- * @property {number} numItems - How many items does the user want to export. If no items have been selected (selectedExportType = "All Items"), then all items in list.
1407
- * @property {number} numItemsExported - How many items were exported before the user tried to cancel the export
1408
- * @property {string} origin - How did the user try to cancel the export process: "Tab Closed"/"Cancel Buton"/"X Button"
1409
- * @property {string} product - Name of the product/api from FQDN (contacts, booking, site_properties, etc.)
1410
- * @property {string} resource - Singular form of the resource name from FQDN, "goal" of component (order, contact, etc.)
1411
- * @property {string} selectedExportType - What type of export does the user want: "All Items"/"Filtered Items"/"Selected Items"
1412
- * @property {boolean} supportsTotal - Does the vertical using Cairo support total number of items in list
1413
- * @property {number} try - Which try is this; if try > 1, this is a retry
1414
- * @return {LogObject<cairoUserAttemptsToCancelTheExportParams>} LogObject<cairoUserAttemptsToCancelTheExportParams>
1415
- */
1416
- export declare function cairoUserAttemptsToCancelTheExport(params: cairoUserAttemptsToCancelTheExportParams): LogObject<cairoUserAttemptsToCancelTheExportParams>;
1417
- /**
1418
- * A function to create a log object for the 'pickerPickModalCtaButtonClickOrImmediateCta' event (evid: 104)
1419
- *
1420
- * Event description: Actual pick inside the Cairo picker (CTA button or immediate CTA)
1421
- *
1422
- * @param {pickerPickModalCtaButtonClickOrImmediateCtaParams} params - The parameters for this event
1423
- * @property {string} appId
1424
- * @property {string} artifactId - Artifact that owns the component
1425
- * @property {string} cairoVersion
1426
- * @property {string} componentName - Optional in case having 2 pickers under the same artifact
1427
- * @property {string} componentType
1428
- * @property {GUID} csid
1429
- * @property {string} domain - Optional domain name from FDQN (CRM, Store, etc.)
1430
- * @property {number} filteredListSize - How many items are to presented (filtered)
1431
- * @property {number} initialItems - Initial number of items loaded (before scroll and autoload)
1432
- * @property {boolean} isImmediate - Is it an immediate CTA
1433
- * @property {boolean} isTPA
1434
- * @property {number} itemsCnt - Number of total items picked
1435
- * @property {number} listSize - How many items exist (full list)
1436
- * @property {number} maxItems - Max items to select in picker
1437
- * @property {string} product - Name of the product / api. E.g. contacts, booking, site_properties, etc. from FDQN
1438
- * @property {string} resource - Singular form of the resource name. E.g. order, contact, etc. from FDQN ("goal" of picker)
1439
- * @property {string} type - standalone/modal
1440
- * @return {LogObject<pickerPickModalCtaButtonClickOrImmediateCtaParams>} LogObject<pickerPickModalCtaButtonClickOrImmediateCtaParams>
1441
- */
1442
- export declare function pickerPickModalCtaButtonClickOrImmediateCta(params: pickerPickModalCtaButtonClickOrImmediateCtaParams): LogObject<pickerPickModalCtaButtonClickOrImmediateCtaParams>;
1443
- /**
1444
- * A function to create a log object for the 'newItemCreationStart' event (evid: 106)
1445
- *
1446
- * Event description: Sent when the user clicks the "create new" button
1447
- *
1448
- * @param {newItemCreationStartParams} params - The parameters for this event
1449
- * @property {string} appId
1450
- * @property {string} artifactId - Artifact that owns the component
1451
- * @property {string} cairoVersion
1452
- * @property {string} componentName - (Optional) Component name, if there are two components of the same type per artifact
1453
- * @property {string} componentType - Picker Standalone/Picker Modal/Table/Cards
1454
- * @property {GUID} csid
1455
- * @property {string} currentFilters - current filters
1456
- * @property {string} currentSortOrder - sorts
1457
- * @property {string} domain - Optional domain name from FQDN (CRM, Store, etc.)
1458
- * @property {number} filteredListSize - How many items are currently presented to user (filtered)
1459
- * @property {boolean} isTPA
1460
- * @property {number} listSize - How many items exist, after item creation (full list, unfiltered)
1461
- * @property {number} maxItems - Max number of items that can be selected
1462
- * @property {number} numColumns - columns
1463
- * @property {number} numFiltersActive - filters
1464
- * @property {number} numSelectedItems - How many items have been selected before trying to create a new one. 0 <= numSelectedItems < maxItems
1465
- * @property {number} numSortedColumns - sort
1466
- * @property {string} origin - "Add New" click source: "Main CTA" / "Card CTA"
1467
- * @property {string} product - Name of the product/api from FQDN (contacts, booking, site_properties, etc.)
1468
- * @property {string} resource - Singular form of the resource name from FQDN, "goal" of component (order, contact, etc.)
1469
- * @property {string} type - standalone/modal
1470
- * @property {string} visibleColumnsOrder - visible columns order
1471
- * @return {LogObject<newItemCreationStartParams>} LogObject<newItemCreationStartParams>
1472
- */
1473
- export declare function newItemCreationStart(params: newItemCreationStartParams): LogObject<newItemCreationStartParams>;
1474
- /**
1475
- * A function to create a log object for the 'cairoViewSelected' event (evid: 123)
1476
- *
1477
- * Event description: Sent when a user selects a view in a Cairo component. Relevant components: Table, Cards.
1478
- *
1479
- * @param {cairoViewSelectedParams} params - The parameters for this event
1480
- * @property {string} appId
1481
- * @property {string} artifactId - Artifact that owns the component
1482
- * @property {string} cairoVersion
1483
- * @property {string} componentName - (Optional) Component name, if there are two components of the same type per artifact
1484
- * @property {string} componentType - Table/Cards
1485
- * @property {GUID} csid
1486
- * @property {string} currentFilters - The current state of filters, after the new view selection
1487
- * @property {string} currentView - The selected view ID (match to "new view name", new field from 12/2022)
1488
- * @property {string} domain - (Optional) Domain name from FQDN (CRM, Store, etc.)
1489
- * @property {number} filteredListSize - How many items are currently presented to user, after filter toggle (filtered)
1490
- * @property {boolean} isDefault - Is the selected view defined as default view?
1491
- * @property {boolean} isFromSearchView - True if the view was selected from "search view in views dropdown" results (new from 01/2023)
1492
- * @property {boolean} isPredefined - Is it a view that was predefined by the vertical. Will get "true" for predefined views include "All Items" view.
1493
- * @property {boolean} isTPA
1494
- * @property {string} newViewName - Name of the newly selected view
1495
- * @property {number} numFiltersActive - How many filters are active after view selection
1496
- * @property {string} prevFilters - (Optional) The prevoius state of filters, before the new view selection
1497
- * @property {string} prevViewName - (Optional) Name of the previous view that the user was using. null if no view was selected.
1498
- * @property {string} product - Name of the product/api from FQDN (contacts, booking, site_properties, etc.)
1499
- * @property {string} resource - Singular form of the resource name from FQDN, "goal" of component (order, contact, etc.)
1500
- * @return {LogObject<cairoViewSelectedParams>} LogObject<cairoViewSelectedParams>
1501
- */
1502
- export declare function cairoViewSelected(params: cairoViewSelectedParams): LogObject<cairoViewSelectedParams>;
1503
- /**
1504
- * A function to create a log object for the 'cairoDataExAddCustomField' event (evid: 155)
1505
- *
1506
- * Event description: Send when a user click on a "Add Custom Field". Relevant for Verticals who allow data extensions
1507
- *
1508
- * @param {cairoDataExAddCustomFieldParams} params - The parameters for this event
1509
- * @property {string} appId
1510
- * @property {string} artifactId - Artifact that owns the component
1511
- * @property {string} cairoVersion - Cairo version
1512
- * @property {string} componentName - (Optional) Page name, if there are two pages of the same type per artifact
1513
- * @property {string} componentType - Component type
1514
- * @property {GUID} csid - Cairo session ID
1515
- * @property {string} domain - (Optional) Domain name from FQDN (CRM, Store, etc.)
1516
- * @property {boolean} isTPA
1517
- * @property {number} numColumns - How many columns are shown?
1518
- * @property {string} origin - Where did the user click on "add custom field" from? Custom columns panel / Entity page / Manage custom fields / Custom fields widget / External (the origin is external to Cairo)
1519
- * @property {string} product - Name of the product/api from FQDN (contacts, booking, site_properties, etc.)
1520
- * @property {string} resource
1521
- * @property {string} visibleColumnsOrder - Which columns are currently shown to the user - by the order the user defined
1522
- * @return {LogObject<cairoDataExAddCustomFieldParams>} LogObject<cairoDataExAddCustomFieldParams>
1523
- */
1524
- export declare function cairoDataExAddCustomField(params: cairoDataExAddCustomFieldParams): LogObject<cairoDataExAddCustomFieldParams>;
1525
- /**
1526
- * A function to create a log object for the 'cairoFilterToggled' event (evid: 117)
1527
- *
1528
- * Event description: Sent when a user triggers/removes a filter from a Cairo component. Relevant components: Table, Cards.
1529
- *
1530
- * @param {cairoFilterToggledParams} params - The parameters for this event
1531
- * @property {string} actionType - "add"/"remove" -- Did we add or remove filterName from the list of filters
1532
- * @property {string} appId
1533
- * @property {string} artifactId - Artifact that owns the component
1534
- * @property {string} cairoVersion
1535
- * @property {string} componentName - (Optional) Component name, if there are two components of the same type per artifact
1536
- * @property {string} componentType - Table/Cards / Picker (from 12/2022)
1537
- * @property {GUID} csid - Cairo session ID
1538
- * @property {string} currentFilters - The current state of filters, following the filter trigger
1539
- * @property {string} domain - (Optional) Domain name from FQDN (crm, stores, etc.)
1540
- * @property {string} filterName - Which column filter do we want to toggle now, e.g. Beginner / Amateur
1541
- * @property {string} filterValue - JSON containing filterName's new value
1542
- * @property {number} filteredListSize - How many items are currently presented to user, after filter toggle (filtered)
1543
- * @property {boolean} isTPA
1544
- * @property {number} listSize - How many items exist (full list, unfiltered)
1545
- * @property {number} numFiltersActive - How many filters are active after filterName is toggled. actionType = "add" --> numFiltersActive >= 1; actionType = "remove" --> numFiltersActive < numColumns
1546
- * @property {string} origin - "Panel"/"SubToolbar"/"Toolbar"
1547
- * @property {string} product - Name of the product/api from FQDN (contacts, booking, site_properties, etc.)
1548
- * @property {string} resource - Singular form of the resource name from FQDN, "goal" of component (order, contact, etc.)
1549
- * @return {LogObject<cairoFilterToggledParams>} LogObject<cairoFilterToggledParams>
1550
- */
1551
- export declare function cairoFilterToggled(params: cairoFilterToggledParams): LogObject<cairoFilterToggledParams>;
1552
- /**
1553
- * A function to create a log object for the 'cairoDataExCustomFieldAdvancesSettings' event (evid: 157)
1554
- *
1555
- * Event description: Send when a user click on "Advanced Settings" in the "Add Custom Field" modal. Relevant for Verticals who allowed data extensions
1556
- *
1557
- * @param {cairoDataExCustomFieldAdvancesSettingsParams} params - The parameters for this event
1558
- * @property {string} actionName - Open / Close the advanced settings
1559
- * @property {string} appId
1560
- * @property {string} artifactId - Artifact that owns the component
1561
- * @property {string} cairoVersion - Cairo version
1562
- * @property {string} componentName - (Optional) Page name, if there are two pages of the same type per artifact
1563
- * @property {string} componentType - Component type
1564
- * @property {GUID} csid - Cairo session ID
1565
- * @property {string} domain - (Optional) Domain name from FQDN (CRM, Store, etc.)
1566
- * @property {boolean} isTPA
1567
- * @property {string} origin - Where did the user click on "Advanced Settings" from? Add Custom Field Modal / Edit Custom Field Modal
1568
- * @property {string} product - Name of the product/api from FQDN (contacts, booking, site_properties, etc.)
1569
- * @property {string} resource - Singular form of the resource name from FQDN, "goal" of component (order, contact, etc.)
1570
- * @return {LogObject<cairoDataExCustomFieldAdvancesSettingsParams>} LogObject<cairoDataExCustomFieldAdvancesSettingsParams>
1571
- */
1572
- export declare function cairoDataExCustomFieldAdvancesSettings(params: cairoDataExCustomFieldAdvancesSettingsParams): LogObject<cairoDataExCustomFieldAdvancesSettingsParams>;
1573
- /**
1574
- * A function to create a log object for the 'cairoViewSaved' event (evid: 122)
1575
- *
1576
- * Event description: Sent when a user creates/saves a view in a Cairo component. Relevant components: Table, Cards.
1577
- *
1578
- * @param {cairoViewSavedParams} params - The parameters for this event
1579
- * @property {string} appId
1580
- * @property {string} artifactId - Artifact that owns the component
1581
- * @property {string} cairoVersion - Cairo version
1582
- * @property {string} changedAttributes - Which attributes have changed from the last view version? If it's a new view - all the attributes that define the view will be noted. The attributes can be: Filters, Columns Order, Columns Visibility, Sorting, Search (new field from 11/2022)
1583
- * @property {string} componentName - (Optional) Component name, if there are two components of the same type per artifact
1584
- * @property {string} componentType - Table/Cards
1585
- * @property {GUID} csid
1586
- * @property {string} viewFilters - The filters that comprise the view that was just saved
1587
- * @property {string} currentSortOrder - Which columns are currently used to sort the list: [{"fieldName": "FIELD_NAME", "order": "asc"} (new field from 11/2022)
1588
- * @property {string} domain - (Optional) Domain name from FQDN (CRM, Store, etc.)
1589
- * @property {boolean} isDefault - Is the saved view defined as default view?
1590
- * @property {boolean} isPredefined - (Relevant only for "save as new view" action, will get null in other cases). Is it a view that was predefined by the vertical. Will get "true" for predefined views include "All Items" view. (new field from 11/2022)
1591
- * @property {boolean} isTPA
1592
- * @property {string} newViewName - Name of the newly created/saved/renamed view
1593
- * @property {number} numColumnsInView - How many columns comprise the saved view (new field from 11/2022)
1594
- * @property {number} numFiltersInView - How many filters comprise the saved view
1595
- * @property {string} origin - From where was the view created: Panel, SubToolbar, Toolbar
1596
- * @property {string} prevName - View's previous name. In case of 'save as new view' will get null, in case of 'save changes': prev name=new view name, in case of 'rename' will get the previous version of the view's name (new field from 11/2022)
1597
- * @property {string} product - Name of the product/api from FQDN (contacts, booking, site_properties, etc.)
1598
- * @property {string} resource - Singular form of the resource name from FQDN, "goal" of component (order, contact, etc.)
1599
- * @property {string} saveType - The save type the user chose from the 'manage view' menu: "save as new view"/ "save changes" / "rename" (new field from 11/2022)
1600
- * @property {string} searchQuery - What did the user search? If there wasn't any search --> searchQuery = null. (new field from 11/2022)
1601
- * @property {string} viewId - The "new view name" unique identifier (new field from 11/2022)
1602
- * @property {string} visibleColumnsOrder - Which columns are currently comprise the saved view- by the order the user defined (new field from 11/2022)
1603
- * @return {LogObject<cairoViewSavedParams>} LogObject<cairoViewSavedParams>
1604
- */
1605
- export declare function cairoViewSaved(params: cairoViewSavedParams): LogObject<cairoViewSavedParams>;
1606
- /**
1607
- * A function to create a log object for the 'cairoViewDeleted' event (evid: 124)
1608
- *
1609
- * Event description: Sent when a user deletes a view in a Cairo component. Relevant components: Table, Cards.
1610
- *
1611
- * @param {cairoViewDeletedParams} params - The parameters for this event
1612
- * @property {string} appId
1613
- * @property {string} artifactId - Artifact that owns the component
1614
- * @property {string} cairoVersion
1615
- * @property {string} componentName - (Optional) Component name, if there are two components of the same type per artifact
1616
- * @property {string} componentType - Table/Cards
1617
- * @property {GUID} csid
1618
- * @property {string} domain - (Optional) Domain name from FQDN (CRM, Store, etc.)
1619
- * @property {boolean} isDefault - Was the deleted view defined as default view?
1620
- * @property {boolean} isTPA
1621
- * @property {number} numFiltersInView - How many filters comprised the deleted view
1622
- * @property {string} product - Name of the product/api from FQDN (contacts, booking, site_properties, etc.)
1623
- * @property {string} resource - Singular form of the resource name from FQDN, "goal" of component (order, contact, etc.)
1624
- * @property {string} viewFilters - The filters that comprised the view that was just deleted
1625
- * @property {string} viewId - The "view name" (deleted view) unique identifier (new field from 11/2022)
1626
- * @property {string} viewName - Name of the deleted view
1627
- * @property {boolean} wasSelected - TRUE if viewName was the selected view before deletion; FALSE otherwise
1628
- * @return {LogObject<cairoViewDeletedParams>} LogObject<cairoViewDeletedParams>
1629
- */
1630
- export declare function cairoViewDeleted(params: cairoViewDeletedParams): LogObject<cairoViewDeletedParams>;
1631
- /**
1632
- * A function to create a log object for the 'cairoDataExCustomFieldEndProcess' event (evid: 156)
1633
- *
1634
- * Event description: Send when a user click on cancel / add field in the "Add Custom Field" modal. Relevant for Verticals who allowed data extensions
1635
- *
1636
- * @param {cairoDataExCustomFieldEndProcessParams} params - The parameters for this event
1637
- * @property {string} actionName - Add/ Edit
1638
- * @property {string} appId
1639
- * @property {string} artifactId - Artifact that owns the component
1640
- * @property {string} cairoVersion - Cairo version
1641
- * @property {string} changedFields - (Relevant when action type is edit) Name / Permission / Name and Permission / No changes
1642
- * @property {string} componentName - (Optional) Page name, if there are two pages of the same type per artifact
1643
- * @property {string} componentType - Section name (Folders)
1644
- * @property {GUID} csid - Cairo session ID
1645
- * @property {string} currentDropdownOptions - Only for fieldType= dropdown, the options list by its order
1646
- * @property {string} domain - (Optional) Domain name from FQDN (CRM, Store, etc.)
1647
- * @property {string} endType - What did the user chose in the modal? Add field / Cancel
1648
- * @property {string} fieldName - (Relevant when a field was added/edited) The name the user typed
1649
- * @property {string} fieldType - (Relevant when a field was added) What type is the added field? Long text / Date / Number etc.
1650
- * @property {boolean} isTPA
1651
- * @property {string} key - The key value
1652
- * @property {number} numAdded - (Relevant when a field was added/edited) How many added fields are there in the component (including the current added field)
1653
- * @property {number} numDropdownOptions - Only for fieldType= dropdown, how many options were saved?
1654
- * @property {string} origin - Where did the user click on "add custom field" from? Custom columns panel / Entity page
1655
- * @property {string} permissions - Json field: {"Installed apps": "Value", "Site visitors": "Value"}. The value can be: Null (the user didn't chose anything), Read, Write, Read and Write.
1656
- * @property {string} product - Name of the product/api from FQDN (contacts, booking, site_properties, etc.)
1657
- * @property {string} resource - Singular form of the resource name from FQDN, "goal" of component (order, contact, etc.)
1658
- * @return {LogObject<cairoDataExCustomFieldEndProcessParams>} LogObject<cairoDataExCustomFieldEndProcessParams>
1659
- */
1660
- export declare function cairoDataExCustomFieldEndProcess(params: cairoDataExCustomFieldEndProcessParams): LogObject<cairoDataExCustomFieldEndProcessParams>;
1661
- /**
1662
- * A function to create a log object for the 'cairoComponentSorted' event (evid: 120)
1663
- *
1664
- * Event description: Sent when a user sorts a Cairo component. Relevant components: Table, Cards.
1665
- *
1666
- * @param {cairoComponentSortedParams} params - The parameters for this event
1667
- * @property {string} appId
1668
- * @property {string} artifactId - Artifact that owns the component
1669
- * @property {string} cairoVersion - Cairo version
1670
- * @property {string} componentName - (Optional) Component name, if there are two components of the same type per artifact
1671
- * @property {string} componentType - Table/Cards
1672
- * @property {GUID} csid
1673
- * @property {string} domain - (Optional) Domain name from FQDN (CRM, Store, etc.)
1674
- * @property {number} filteredListSize - How many items are currently presented to user, after filter toggle (filtered)
1675
- * @property {boolean} isAddNewSort - Indication for adding new sort. Will get "true" for cases the event was sent for adding new sort (and "false" for changing the sorted column, sorted order or remove sort) (new from 12/2022)
1676
- * @property {boolean} isTPA
1677
- * @property {number} itemIndex - The item index inside the sort panel. First row will get 0. In case of simple sort (only 1 column sorts the table) from the column header - the index will be 0. In case a sorting column was removed from sorting- will get (-1)
1678
- * @property {number} listSize - How many items exist (full list, unfiltered)
1679
- * @property {string} newSortOrder - Which columns are currently used to sort the list, by the order the user defined: [{"fieldName": "FIELD_NAME", "order": "asc"}, {"fieldName": "FIELD_NAME_1", "order": "desc"}]. Relevant for Table and Cards. (new field from 11/2022)
1680
- * @property {string} newSortedColumn - By which column are we adding sorting now
1681
- * @property {string} newSortingOrder - "asc"/"desc"/"removed" (was "null" until 12/2022, then changed to "removed")
1682
- * @property {number} numSortingColumns - The number of columns that sorting the component after the current action
1683
- * @property {string} origin - The location the sort action was made from :"SidePanel"/"ColumnHeader" (new field from 11/2022)
1684
- * @property {number} prevNumSortingColumns - The number of columns that were sorting the component before the current action
1685
- * @property {string} prevSortOrder - Which columns were used to sort the list (before the current addition), by the order the user defined: [{"fieldName": "FIELD_NAME", "order": "asc"}, {"fieldName": "FIELD_NAME_1", "order": "desc"}]. Relevant for Table and Cards. (new field from 11/2022)
1686
- * @property {string} prevSortedColumn - The column the user used to sort the component with in the previous sort action. If list wasn't sorted, this should be null
1687
- * @property {string} prevSortingOrder - The last order the user used to sort the list by "prev sorting column" : "asc"/"desc"/null (if wasn't sorted)
1688
- * @property {string} product - Name of the product/api from FQDN (contacts, booking, site_properties, etc.)
1689
- * @property {string} resource - Singular form of the resource name from FQDN, "goal" of component (order, contact, etc.)
1690
- * @return {LogObject<cairoComponentSortedParams>} LogObject<cairoComponentSortedParams>
1691
- */
1692
- export declare function cairoComponentSorted(params: cairoComponentSortedParams): LogObject<cairoComponentSortedParams>;
1693
- /**
1694
- * A function to create a log object for the 'cairoReorderingSortColumns' event (evid: 147)
1695
- *
1696
- * Event description: Sent when a user changes the order of the columns that sort a Cairo component. Relevant components: Table, Cards.
1697
- *
1698
- * @param {cairoReorderingSortColumnsParams} params - The parameters for this event
1699
- * @property {string} appId
1700
- * @property {string} artifactId - Artifact that owns the component
1701
- * @property {string} cairoVersion - Cairo version
1702
- * @property {number} columnIndexAfter - Out of the list of sorting columns, what is the index of the sorting column (after reordering). ** numSortingColumns = X --> (1 <= columnIndexAfter <= X)
1703
- * @property {number} columnIndexBefore - Out of the list of sorting columns, what was the index of the sorting column (before reordering). ** numSortingColumns = X --> (1 <= columnIndexBefore <= X)
1704
- * @property {string} componentName - (Optional) Component name, if there are two components of the same type per artifact
1705
- * @property {string} componentType - Table/Cards
1706
- * @property {GUID} csid
1707
- * @property {string} domain - (Optional) Domain name from FQDN (CRM, Store, etc.)
1708
- * @property {number} filteredListSize - How many items are currently presented to user, after filter toggle (filtered)
1709
- * @property {boolean} isTPA
1710
- * @property {number} listSize - How many items exist (full list, unfiltered)
1711
- * @property {string} newSortOrder - Which columns are currently used to sort the list, by the new order the user defined: [{"fieldName": "FIELD_NAME", "order": "asc"}, {"fieldName": "FIELD_NAME_1", "order": "desc"}]. Relevant for Table and Cards.
1712
- * @property {number} numSortingColumns - How many columns are been used for sorting the component?
1713
- * @property {string} prevSortOrder - Which columns are currently used to sort the list, by the previus order the user defined (before the reordering action) : [{"fieldName": "FIELD_NAME", "order": "asc"}, {"fieldName": "FIELD_NAME_1", "order": "desc"}]. Relevant for Table and Cards.
1714
- * @property {string} product - Name of the product/api from FQDN (contacts, booking, site_properties, etc.)
1715
- * @property {string} resource - Singular form of the resource name from FQDN, "goal" of component (order, contact, etc.)
1716
- * @property {string} sortingColumn - The sorting column that the user changes its place in the sort hierarchy
1717
- * @property {number} timeFromAction - Time (in ms) that has passed since the user added this specific row in the sort panel. Will give data up to 10 sec from adding the row (if it's over these 10 sec- will get null). When sent for clicking on "add new sort" / for clicking for the first time on a column's header- will get '0'.
1718
- * @return {LogObject<cairoReorderingSortColumnsParams>} LogObject<cairoReorderingSortColumnsParams>
1719
- */
1720
- export declare function cairoReorderingSortColumns(params: cairoReorderingSortColumnsParams): LogObject<cairoReorderingSortColumnsParams>;
1721
- /**
1722
- * A function to create a log object for the 'cairoExportProcessEnd' event (evid: 131)
1723
- *
1724
- * Event description: Sent when the export process ends, either successfully or not (failed/stopped by user)
1725
- *
1726
- * @param {cairoExportProcessEndParams} params - The parameters for this event
1727
- * @property {string} appId
1728
- * @property {string} artifactId - Artifact that owns the component
1729
- * @property {string} cairoVersion
1730
- * @property {string} componentName - (Optional) Component name, if there are two components of the same type per artifact
1731
- * @property {string} componentType - Table
1732
- * @property {GUID} csid
1733
- * @property {string} domain - (Optional) Domain name from FQDN (CRM, Store, etc.)
1734
- * @property {number} duration - How much time (in ms) did it take since the export process began
1735
- * @property {string} exportId - A unique ID that will help join all events related to a specific export process
1736
- * @property {string} fileName - (Optional) Name of the file to be exported
1737
- * @property {boolean} isTPA
1738
- * @property {number} numItems - How many items does the user want to export. If no items have been selected (selectedExportType = "All Items"), then all items in list.
1739
- * @property {number} numItemsExported - How many items were exported before the export ended, either successfully or not.
1740
- * @property {string} product - Name of the product/api from FQDN (contacts, booking, site_properties, etc.)
1741
- * @property {string} resource - Singular form of the resource name from FQDN, "goal" of component (order, contact, etc.)
1742
- * @property {string} result - Was the export successful or did it fail/stopped by user: "success"/'fail"/"stopped by user"
1743
- * @property {string} selectedExportType - What type of export does the user want: "All Items"/"Filtered Items"/"Selected Items"
1744
- * @property {boolean} supportsTotal - Does the vertical using Cairo support total number of items in list
1745
- * @property {number} try - Which try is this; if try > 1, this is a retry
1746
- * @return {LogObject<cairoExportProcessEndParams>} LogObject<cairoExportProcessEndParams>
1747
- */
1748
- export declare function cairoExportProcessEnd(params: cairoExportProcessEndParams): LogObject<cairoExportProcessEndParams>;
1749
- /**
1750
- * A function to create a log object for the 'cairoApplyButtonClicked' event (evid: 159)
1751
- *
1752
- * Event description: Sent when a user clicks on apply button in a Cairo component. Relevant components: Table, Cards.
1753
- *
1754
- * @param {cairoApplyButtonClickedParams} params - The parameters for this event
1755
- * @property {string} appId
1756
- * @property {string} artifactId
1757
- * @property {string} cairoVersion - Cairo version
1758
- * @property {string} changedLevels - In which levels of hierarchy the user changed the order? (numbers with commas between them, 1=the highest parent level )
1759
- * @property {string} componentName - (Optional) Component name, if there are two components of the same type per artifact
1760
- * @property {string} componentType - Table/Cards / Picker (from 12/2022)
1761
- * @property {GUID} csid - Cairo session ID
1762
- * @property {string} currentStatus - (Optional, relevant for Filters) Json field: The current state of feature, following the apply button. [{"fieldName": "FIELD_NAME1", "field_value": "VALUE1"}] (for filters -all the filters will appear in this list, filters that not active will get NULL in the filters' value)
1763
- * @property {string} domain - (Optional) Domain name from FQDN (crm, stores, etc.)
1764
- * @property {string} feature - Filters / Drag and Drop
1765
- * @property {number} filteredListSize - How many items are currently presented to user, after filters toggled (filtered)
1766
- * @property {boolean} isTPA
1767
- * @property {number} listSize - How many items exist (full list, unfiltered)
1768
- * @property {number} numActiveFields - (Optional, relevant for Filters) How many fields are active after the apply button is clicked? (fields that their value is not NULL)
1769
- * @property {number} numOfActions - (Optional, relevant for Drag and Drop) Number of actions/changes that are applied together
1770
- * @property {number} numOptionalFields - (Optional, relevant for Filters) If there is an optional fields list (like for filters)- how many options are there?
1771
- * @property {string} origin - Feature's Side Panel / Table Toolbar
1772
- * @property {string} product - Name of the product/api from FQDN (contacts, booking, site_properties, etc.)
1773
- * @property {string} resource - Singular form of the resource name from FQDN, "goal" of component (order, contact, etc.)
1774
- * @return {LogObject<cairoApplyButtonClickedParams>} LogObject<cairoApplyButtonClickedParams>
1775
- */
1776
- export declare function cairoApplyButtonClicked(params: cairoApplyButtonClickedParams): LogObject<cairoApplyButtonClickedParams>;
1777
- /**
1778
- * A function to create a log object for the 'cairoExportModalCtaClicked' event (evid: 127)
1779
- *
1780
- * Event description: Sent when the user clicks any CTA in the export modal
1781
- *
1782
- * @param {cairoExportModalCtaClickedParams} params - The parameters for this event
1783
- * @property {string} action - Does the user want to proceed with the export or dismiss the modal
1784
- * @property {string} appId
1785
- * @property {string} artifactId - Artifact that owns the component
1786
- * @property {string} availableExportTypes - A list of all of the available export types, along with the number of items that would be exported using each of the options
1787
- * @property {string} cairoVersion
1788
- * @property {string} componentName - (Optional) Component name, if there are two components of the same type per artifact
1789
- * @property {string} componentType - Table
1790
- * @property {GUID} csid
1791
- * @property {string} domain - (Optional) Domain name from FQDN (CRM, Store, etc.)
1792
- * @property {string} exportId - A unique ID that will help join all events related to a specific export process
1793
- * @property {boolean} isTPA
1794
- * @property {number} numItems - How many items does the user want to export. If no items have been selected (selectedExportType = "All Items"), then all items in list.
1795
- * @property {string} origin - From where did the user close the modal: "Export Button"/"Cancel Button"/"X Button"
1796
- * @property {string} product - Name of the product/api from FQDN (contacts, booking, site_properties, etc.)
1797
- * @property {string} resource - Singular form of the resource name from FQDN, "goal" of component (order, contact, etc.)
1798
- * @property {string} selectedExportType - What type of export does the user want: "All Items"/"Filtered Items"/"Selected Items"
1799
- * @property {boolean} supportsTotal - Does the vertical using Cairo support total number of items in list
1800
- * @return {LogObject<cairoExportModalCtaClickedParams>} LogObject<cairoExportModalCtaClickedParams>
1801
- */
1802
- export declare function cairoExportModalCtaClicked(params: cairoExportModalCtaClickedParams): LogObject<cairoExportModalCtaClickedParams>;
1803
- /**
1804
- * A function to create a log object for the 'cairoUndoClicked' event (evid: 144)
1805
- *
1806
- * Event description: Sent when a user clicks on a "undo" CTA he gets in a toast confirming an action was made
1807
- *
1808
- * @param {cairoUndoClickedParams} params - The parameters for this event
1809
- * @property {string} actionName - The action's name the user wants to undo and triggered the toast (for example: view- save changes, view- rename, view- delete etc.)
1810
- * @property {string} appId
1811
- * @property {string} artifactId - Artifact that owns the component
1812
- * @property {string} cairoVersion - cairo version
1813
- * @property {string} changedAttributes - Which attributes have changed from the saved status to the current
1814
- * @property {string} componentName - (Optional) Component name, if there are two components of the same type per artifact
1815
- * @property {string} componentType - Picker Standalone/Picker Modal/Table/Cards
1816
- * @property {GUID} csid
1817
- * @property {string} currentFilters - A list of filters that are currently displayed to user: {"filter1": "filterValue1", "filter2": "filterValue2a", "filterValue2b"}. Relevant for Table and Cards.
1818
- * @property {string} currentSortOrder - Which columns are currently used to sort the list: [{"fieldName": "FIELD_NAME", "order": "asc"}
1819
- * @property {string} currentTab - Which tab is currently displayed to the user. Relevant for Table and Cards.
1820
- * @property {string} currentView - Which view is currently displayed to the user. Relevant for Table and Cards.
1821
- * @property {string} domain - (Optional) Domain name from FQDN (crm, stores, etc.)
1822
- * @property {number} filteredListSize - How many items are to be presented (filtered)
1823
- * @property {number} filteredListSizeShown - How many items were presented (filtered) to the user when he made the action he wants to undo?
1824
- * @property {boolean} isTPA
1825
- * @property {string} product - Name of the product/api from FQDN (contacts, booking, site_properties, etc.)
1826
- * @property {string} resource - Singular form of the resource name from FQDN, "goal" of component (order, contact, etc.)
1827
- * @property {string} sortOrderApplied - Which columns were used to sort the list when the user made the action he wants to undo: [{"fieldName": "FIELD_NAME", "order": "asc"}
1828
- * @property {string} viewId - The view that the undo action was made on
1829
- * @property {string} viewName - The view name that the undo action was made on (in case of rename view- this will give the original view name)
1830
- * @property {string} viewNameApplied - In case of action name=rename view - the new name the user gave to the view and now he undo it
1831
- * @return {LogObject<cairoUndoClickedParams>} LogObject<cairoUndoClickedParams>
1832
- */
1833
- export declare function cairoUndoClicked(params: cairoUndoClickedParams): LogObject<cairoUndoClickedParams>;
1834
- /**
1835
- * A function to create a log object for the 'cairoPageBackOrBreadcrumbClicked' event (evid: 152)
1836
- *
1837
- * Event description: Sent when a user clicks a Back button or on the higher hierarchy in the breadcrumbs
1838
- *
1839
- * @param {cairoPageBackOrBreadcrumbClickedParams} params - The parameters for this event
1840
- * @property {string} appId
1841
- * @property {string} artifactId - Artifact that owns the component
1842
- * @property {string} buttonName - 'Back' (for back button clicked) / The category's name the users clicked on.
1843
- * @property {string} cairoVersion - Cairo version
1844
- * @property {string} componentName - (Optional) Page name, if there are two pages of the same type per artifact
1845
- * @property {string} componentType - Page
1846
- * @property {GUID} csid
1847
- * @property {string} destination_page_type - Higher hierarchy (can be relevant both for back button and breadcrumb clicked )/ Last page in BM (relevant only for back button clicked)
1848
- * @property {string} domain - (Optional) Domain name from FQDN (CRM, Store, etc.)
1849
- * @property {boolean} isTPA
1850
- * @property {string} pageType - Collection Page
1851
- * @property {string} product - Name of the product/api from FQDN (contacts, booking, site_properties, etc.)
1852
- * @property {string} resource - Singular form of the resource name from FQDN, "goal" of component (order, contact, etc.)
1853
- * @property {string} section - Relevant only for "cta type"="more actions option". For now, will get one of the values: Vertical / Cairo
1854
- * @return {LogObject<cairoPageBackOrBreadcrumbClickedParams>} LogObject<cairoPageBackOrBreadcrumbClickedParams>
1855
- */
1856
- export declare function cairoPageBackOrBreadcrumbClicked(params: cairoPageBackOrBreadcrumbClickedParams): LogObject<cairoPageBackOrBreadcrumbClickedParams>;
1857
- /**
1858
- * A function to create a log object for the 'cairoTpaSCtaClicked' event (evid: 154)
1859
- *
1860
- * Event description: Send when a user click on a TPA's CTA from a Cairo component
1861
- *
1862
- * @param {cairoTpaSCtaClickedParams} params - The parameters for this event
1863
- * @property {GUID} appId - App ID (for now- please look at tpaComponentId field description to get this data)
1864
- * @property {string} artifactId - Artifact that owns the component
1865
- * @property {string} cairoVersion - Cairo version
1866
- * @property {string} componentName - (Optional) Component's name, if there are two components of the same type per artifact
1867
- * @property {string} componentType - Table, Grid, Page etc.
1868
- * @property {GUID} csid
1869
- * @property {number} ctaIndex - 0 <= ctaIndex <= numCtas -- the number of the CTA out of all CTAs in the page dropdown menu/ Toolbar
1870
- * @property {string} ctaName - TPA's component_id. To get the TPA app_id - use the table mysql.app_service.components- join on table.component_id= event.ctaName
1871
- * @property {string} domain - (Optional) Domain name from FQDN (CRM, Store, etc.)
1872
- * @property {boolean} isTPA
1873
- * @property {string} location - Page More Action Dropdown / Component Bulk action Toolbar
1874
- * @property {number} numCtas - How many CTAs are available in the page dropdown menu / toolbar?
1875
- * @property {string} product - Name of the product/api from FQDN (contacts, booking, site_properties, etc.)
1876
- * @property {string} resource - Singular form of the resource name from FQDN, "goal" of component (order, contact, etc.)
1877
- * @property {string} tpaComponentId - TPA's component_id from dev center. To get the TPA app_id - use the table mysql.app_service.components- join on table.component_id= event.tpa_component_id
1878
- * @return {LogObject<cairoTpaSCtaClickedParams>} LogObject<cairoTpaSCtaClickedParams>
1879
- */
1880
- export declare function cairoTpaSCtaClicked(params: cairoTpaSCtaClickedParams): LogObject<cairoTpaSCtaClickedParams>;
1881
- /**
1882
- * A function to create a log object for the 'pikachuCategoriesDropdownButtonClicked' event (evid: 108)
1883
- *
1884
- * Event description: Sent when user clicks the general "+"/"Add Items" button that opens Pikachu
1885
- *
1886
- * @param {pikachuCategoriesDropdownButtonClickedParams} params - The parameters for this event
1887
- * @property {string} appId
1888
- * @property {string} artifactId - Artifact that owns the component
1889
- * @property {string} cairoVersion
1890
- * @property {string} componentName - (Optional) Component name, if there are two components of the same type per artifact
1891
- * @property {string} componentType
1892
- * @property {GUID} csid
1893
- * @property {string} domain - Optional domain name from FQDN (CRM, Store, etc.)
1894
- * @property {boolean} isTPA
1895
- * @property {string} product - Name of the product/api from FQDN (contacts, booking, site_properties, etc.)
1896
- * @property {string} resource - Singular form of the resource name from FQDN, "goal" of component (order, contact, etc.)
1897
- * @return {LogObject<pikachuCategoriesDropdownButtonClickedParams>} LogObject<pikachuCategoriesDropdownButtonClickedParams>
1898
- */
1899
- export declare function pikachuCategoriesDropdownButtonClicked(params: pikachuCategoriesDropdownButtonClickedParams): LogObject<pikachuCategoriesDropdownButtonClickedParams>;
1900
- /**
1901
- * A function to create a log object for the 'cairoTagsUnsuccessfulUpdateInServer' event (evid: 169)
1902
- *
1903
- * Event description: Send when a user tried to add/delete/rename/assign/remove assigned tag, but his changes weren't update in the server from different reasons. Relevant for Verticals who allow use tags in their tables.
1904
- *
1905
- * @param {cairoTagsUnsuccessfulUpdateInServerParams} params - The parameters for this event
1906
- * @property {string} actionName - Add / Delete / Rename / Assign / Remove assign / Add and assign / Load tags widget
1907
- * @property {string} appId
1908
- * @property {string} artifactId - Artifact that owns the component
1909
- * @property {string} cairoVersion - Cairo version
1910
- * @property {string} componentName - (Optional) Page name, if there are two pages of the same type per artifact
1911
- * @property {string} componentType - Component type
1912
- * @property {GUID} csid - Cairo session ID
1913
- * @property {string} domain - (Optional) Domain name from FQDN (CRM, Store, etc.)
1914
- * @property {string} errorType - What is the type of the error? Technical issue / Network error
1915
- * @property {boolean} isTPA
1916
- * @property {number} numTags - How many tags are in the modal after this action?
1917
- * @property {string} origin - Where did the user make the action from? Tags Modal / Entity page
1918
- * @property {string} product - Name of the product/api from FQDN (contacts, booking, site_properties, etc.)
1919
- * @property {string} resource - resource
1920
- * @property {string} tagName - The name of the removed/added/assigned tag
1921
- * @return {LogObject<cairoTagsUnsuccessfulUpdateInServerParams>} LogObject<cairoTagsUnsuccessfulUpdateInServerParams>
1922
- */
1923
- export declare function cairoTagsUnsuccessfulUpdateInServer(params: cairoTagsUnsuccessfulUpdateInServerParams): LogObject<cairoTagsUnsuccessfulUpdateInServerParams>;
1924
- /**
1925
- * A function to create a log object for the 'pickerModalUsability' event (evid: 103)
1926
- *
1927
- * Event description: Any usability action performed inside the picker
1928
- *
1929
- * @param {pickerModalUsabilityParams} params - The parameters for this event
1930
- * @property {string} action - Use cases: search/search results/checkbox/continue/dismiss/load more
1931
- * @property {string} appId
1932
- * @property {string} artifactId - Artifact that owns the component
1933
- * @property {string} cairoVersion
1934
- * @property {string} componentName - Optional in case having 2 pickers under the same artifact
1935
- * @property {string} componentType
1936
- * @property {GUID} csid
1937
- * @property {string} domain - Optional domain name from FDQN (CRM, Store, etc.)
1938
- * @property {number} filteredListSize - How many items are to presented (filtered)
1939
- * @property {boolean} isTPA
1940
- * @property {string} itemId - (Optional) ID of item checked
1941
- * @property {number} itemsCnt - (Optional) Number of total items checked
1942
- * @property {number} itemsLoadedCnt - (Optional) Number of additional items loaded
1943
- * @property {number} listSize - How many items exist (full list)
1944
- * @property {number} loadingTime - (Optional) Loading time for use cases such as search results or load more
1945
- * @property {number} maxItems - Max items to select in picker
1946
- * @property {string} pickSource - The instance that lead to this (Inbox)
1947
- * @property {string} product - Name of the product / api. E.g. contacts, booking, site_properties, etc. from FDQN
1948
- * @property {string} resource - Singular form of the resource name. E.g. order, contact, etc. from FDQN ("goal" of picker)
1949
- * @property {number} searchResultsCnt - (Optional) Number of search results
1950
- * @property {string} searchTerm - (Optional) Search term used
1951
- * @property {string} type - standalone/modal
1952
- * @return {LogObject<pickerModalUsabilityParams>} LogObject<pickerModalUsabilityParams>
1953
- */
1954
- export declare function pickerModalUsability(params: pickerModalUsabilityParams): LogObject<pickerModalUsabilityParams>;
1955
- /**
1956
- * A function to create a log object for the 'cairoSortPanelUsed' event (evid: 146)
1957
- *
1958
- * Event description: Sent when the sort sidebar in a Cairo component is opened or closed. Relevant components: Table, Cards.
1959
- *
1960
- * @param {cairoSortPanelUsedParams} params - The parameters for this event
1961
- * @property {string} appId
1962
- * @property {string} artifactId
1963
- * @property {string} cairoVersion - Cairo version
1964
- * @property {string} componentName - (Optional) Component name, if there are two components of the same type per artifact
1965
- * @property {string} componentType - Table/Cards
1966
- * @property {GUID} csid
1967
- * @property {string} currentSortOrder - Which columns are currently used to sort the list: [{"fieldName": "FIELD_NAME", "order": "asc"}
1968
- * @property {string} domain - (Optional) Domain name from FQDN (CRM, Store, etc.)
1969
- * @property {boolean} isOpened - TRUE if the user just opened the sidebar; FALSE if closed
1970
- * @property {boolean} isTPA
1971
- * @property {number} numSortedColumns - How many columns actively sort the data?
1972
- * @property {string} product - Name of the product/api from FQDN (contacts, booking, site_properties, etc.)
1973
- * @property {string} resource - Singular form of the resource name from FQDN, "goal" of component (order, contact, etc.)
1974
- * @return {LogObject<cairoSortPanelUsedParams>} LogObject<cairoSortPanelUsedParams>
1975
- */
1976
- export declare function cairoSortPanelUsed(params: cairoSortPanelUsedParams): LogObject<cairoSortPanelUsedParams>;
1977
- /**
1978
- * A function to create a log object for the 'cairoTagsAssignTag' event (evid: 173)
1979
- *
1980
- * Event description: Send when a user assign or remove a tag from an item. Relevant for Verticals who allow use tags in their tables.
1981
- *
1982
- * @param {cairoTagsAssignTagParams} params - The parameters for this event
1983
- * @property {string} actionName - Assign / Remove
1984
- * @property {string} appId
1985
- * @property {string} artifactId - Artifact that owns the component
1986
- * @property {string} cairoVersion - Cairo version
1987
- * @property {string} componentName - (Optional) Component name, if there are two components of the same type per artifact
1988
- * @property {string} componentType - Component type
1989
- * @property {GUID} csid - Cairo session ID
1990
- * @property {string} domain - (Optional) Domain name from FQDN (CRM, Store, etc.)
1991
- * @property {boolean} isFromSearch - Is the action made from a list of tags search results?
1992
- * @property {boolean} isTPA
1993
- * @property {string} itemId - (Relevant if numItems=1) The Item which the tag was assigned to / removed from
1994
- * @property {number} numItems - How many items have been selected?
1995
- * @property {number} numTags - How many tags are existing? will get 0 if the user didn't create any tag and an empty state will be opened
1996
- * @property {number} numTagsAssigned - (Relevant if numItems=1) How many tags are assigned to that item after this action?
1997
- * @property {string} origin - Where did the user make the action from? Entity page /
1998
- * @property {string} product - Name of the product/api from FQDN (contacts, booking, site_properties, etc.)
1999
- * @property {string} resource - resource
2000
- * @property {string} tagName - The name of the assigned/ removed tag
2001
- * @return {LogObject<cairoTagsAssignTagParams>} LogObject<cairoTagsAssignTagParams>
2002
- */
2003
- export declare function cairoTagsAssignTag(params: cairoTagsAssignTagParams): LogObject<cairoTagsAssignTagParams>;
2004
- /**
2005
- * A function to create a log object for the 'cairoApiRequestDataLoadEnd' event (evid: 149)
2006
- *
2007
- * Event description: Sent when a Cairo's page can't be saved due to an error.
2008
- *
2009
- * @param {cairoApiRequestDataLoadEndParams} params - The parameters for this event
2010
- * @property {string} appId
2011
- * @property {string} artifactId - Artifact that owns the component
2012
- * @property {string} cairoVersion - Cairo version
2013
- * @property {string} componentName - (Optional) Component name, if there are two components of the same type per artifact
2014
- * @property {string} componentType - Picker Standalone/Picker Modal/Table/Cards
2015
- * @property {GUID} csid
2016
- * @property {string} currentFilters - A list of filters that are currently displayed to user: {"filter1": "filterValue1", "filter2": "filterValue2a", "filterValue2b"}. Relevant for Table and Cards.
2017
- * @property {string} currentSortOrder - Which columns are currently used to sort the list: [{"fieldName": "FIELD_NAME", "order": "asc"}, {"fieldName": "FIELD_NAME_1", "order": "desc"}]. Relevant for Table and Cards.
2018
- * @property {string} currentTab - Which tab is currently displayed to the user. Relevant for Table and Cards.
2019
- * @property {string} currentView - Which view is currently displayed to the user. Relevant for Table and Cards.
2020
- * @property {string} domain - (Optional) Domain name from FQDN (crm, stores, etc.)
2021
- * @property {number} duration - Duration in ms, from clicking on the save button until getting the error indication
2022
- * @property {string} errorType - Technical issue / Logic error / Network error / External error
2023
- * @property {number} filteredListSize - How many items are to be presented (filtered)
2024
- * @property {number} initialItems - Initial number of items loaded (before scroll and autoload)
2025
- * @property {boolean} isTPA
2026
- * @property {string} pageType - Entity / Collection
2027
- * @property {string} product - Name of the product/api from FQDN (contacts, booking, site_properties, etc.)
2028
- * @property {string} resource - Singular form of the resource name from FQDN, "goal" of component (order, contact, etc.)
2029
- * @property {string} route - the page's route
2030
- * @return {LogObject<cairoApiRequestDataLoadEndParams>} LogObject<cairoApiRequestDataLoadEndParams>
2031
- */
2032
- export declare function cairoApiRequestDataLoadEnd(params: cairoApiRequestDataLoadEndParams): LogObject<cairoApiRequestDataLoadEndParams>;