@wix/bex-utils 2.42.0 → 2.43.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 (33) hide show
  1. package/@wix/bi-logger-os-data/dist/cjs/index.js +3 -0
  2. package/@wix/bi-logger-os-data/dist/cjs/index.js.map +1 -1
  3. package/@wix/bi-logger-os-data/dist/cjs/testkit/client-testkit.js +3 -0
  4. package/@wix/bi-logger-os-data/dist/cjs/testkit/client-testkit.js.map +1 -1
  5. package/@wix/bi-logger-os-data/dist/cjs/testkit/common.js +72 -41
  6. package/@wix/bi-logger-os-data/dist/cjs/testkit/common.js.map +1 -1
  7. package/@wix/bi-logger-os-data/dist/cjs/testkit/node-testkit.js +3 -0
  8. package/@wix/bi-logger-os-data/dist/cjs/testkit/node-testkit.js.map +1 -1
  9. package/@wix/bi-logger-os-data/dist/cjs/v2/index.js +55 -45
  10. package/@wix/bi-logger-os-data/dist/cjs/v2/index.js.map +1 -1
  11. package/@wix/bi-logger-os-data/dist/esm/index.js +3 -0
  12. package/@wix/bi-logger-os-data/dist/esm/index.js.map +1 -1
  13. package/@wix/bi-logger-os-data/dist/esm/testkit/client-testkit.js +3 -0
  14. package/@wix/bi-logger-os-data/dist/esm/testkit/client-testkit.js.map +1 -1
  15. package/@wix/bi-logger-os-data/dist/esm/testkit/common.js +72 -41
  16. package/@wix/bi-logger-os-data/dist/esm/testkit/common.js.map +1 -1
  17. package/@wix/bi-logger-os-data/dist/esm/testkit/node-testkit.js +3 -0
  18. package/@wix/bi-logger-os-data/dist/esm/testkit/node-testkit.js.map +1 -1
  19. package/@wix/bi-logger-os-data/dist/esm/v2/index.js +26 -17
  20. package/@wix/bi-logger-os-data/dist/esm/v2/index.js.map +1 -1
  21. package/@wix/bi-logger-os-data/dist/types/index.d.ts +3 -2
  22. package/@wix/bi-logger-os-data/dist/types/testkit/client-testkit.d.ts +16 -9
  23. package/@wix/bi-logger-os-data/dist/types/testkit/node-testkit.d.ts +16 -9
  24. package/@wix/bi-logger-os-data/dist/types/types.d.ts +16 -9
  25. package/@wix/bi-logger-os-data/dist/types/v2/index.d.ts +25 -18
  26. package/@wix/bi-logger-os-data/package.json +2 -2
  27. package/@wix/bi-logger-os-data/src/index.ts +6 -2
  28. package/@wix/bi-logger-os-data/src/testkit/client-testkit.ts +17 -9
  29. package/@wix/bi-logger-os-data/src/testkit/common.ts +84 -49
  30. package/@wix/bi-logger-os-data/src/testkit/node-testkit.ts +17 -9
  31. package/@wix/bi-logger-os-data/src/types.ts +31 -19
  32. package/@wix/bi-logger-os-data/src/v2/index.ts +28 -18
  33. package/package.json +3 -3
@@ -189,6 +189,7 @@ export function pickerPickerOpenButton(params) {
189
189
  * @property {string} appId - app_id
190
190
  * @property {number} filteredListSize - How many items are currently presented to user (filtered)
191
191
  * @property {string} product - Name of the product/api from FQDN (contacts, booking, site_properties, etc.)
192
+ * @property {string} consumerArtifactId - consumerArtifactId - relevant for item selection
192
193
  * @return {LogObject<newItemCreationStartParams>} LogObject<newItemCreationStartParams>
193
194
  */
194
195
  export function newItemCreationStart(params) {
@@ -224,6 +225,7 @@ export function newItemCreationStart(params) {
224
225
  * @property {string} appId - app_id
225
226
  * @property {number} filteredListSize - How many items are currently presented to user (filtered)
226
227
  * @property {string} product - Name of the product/api from FQDN (contacts, booking, site_properties, etc.)
228
+ * @property {string} consumerArtifactId - consumerArtifactId - relevant for item selection
227
229
  * @return {LogObject<newItemCreationEndParams>} LogObject<newItemCreationEndParams>
228
230
  */
229
231
  export function newItemCreationEnd(params) {
@@ -301,6 +303,7 @@ export function pikachuItemCategorySelected(params) {
301
303
  *
302
304
  * @property {string} theme - relevant to custom field - inline / card
303
305
  * @property {string} consumerId - consumer Id - relevant for artifact_id = item selection module
306
+ * @property {string} consumerArtifactId - consumerArtifactId - relevant for item selection
304
307
  * @property {boolean} routerUsage - returns true if Wix Patterns router is being used, else false
305
308
  *
306
309
  * @property {boolean} isCurrentViewCustomMade - will be True if the current view is custom-made; otherwise, it will be False
@@ -344,6 +347,8 @@ export function loadStart(params) {
344
347
  *
345
348
  * @property {string} theme - relevant to custom field - inline / card
346
349
  * @property {string} consumerId - consumer Id - relevant for artifact_id = item selection module
350
+ * @property {string} consumerArtifactId - consumerArtifactId - relevant for item selection
351
+ * @property {string} route - The page's route
347
352
  * @property {boolean} routerUsage - returns true if Wix Patterns router is being used, else false
348
353
  * @property {boolean} isCurrentViewCustomMade - will be True if the current view is custom-made; otherwise, it will be False
349
354
  *
@@ -541,6 +546,8 @@ export function cairoSearchResults(params) {
541
546
  * @property {string} product - Name of the product/api from FQDN (contacts, booking, site_properties, etc.)
542
547
  * @property {string} filterType - The type of the filter - Multi Selection, Single Selection, Number Range
543
548
  * @property {boolean} isCustomField - true if the field is customized
549
+ * @property {number} loadingTime - Component loading time (in ms) after toggling
550
+ * @property {boolean} isOriginComponentLoaded - True if the original component was loaded before toggling
544
551
  * @return {LogObject<cairoFilterToggledParams>} LogObject<cairoFilterToggledParams>
545
552
  */
546
553
  export function cairoFilterToggled(params) {
@@ -2503,6 +2510,18 @@ export function getResolvedErrorSrc176Evid101(params) {
2503
2510
  export function showErrorSrc176Evid102(params) {
2504
2511
  return { evid: 102, src: 176, endpoint: '', params };
2505
2512
  }
2513
+ /**
2514
+ * A function to create a log object for the 'retryErrorSrc176Evid103' event (evid: 103)
2515
+ *
2516
+ * Event description: Support cases of errors retries
2517
+ *
2518
+ * @param {retryErrorSrc176Evid103Params} params - The parameters for this event
2519
+ * @property {string} session_id - the key for connecting the error event
2520
+ * @return {LogObject<retryErrorSrc176Evid103Params>} LogObject<retryErrorSrc176Evid103Params>
2521
+ */
2522
+ export function retryErrorSrc176Evid103(params) {
2523
+ return { evid: 103, src: 176, endpoint: '', params };
2524
+ }
2506
2525
  /**
2507
2526
  * A function to create a log object for the 'httpClientErrorSrc176Evid404' event (evid: 404)
2508
2527
  *
@@ -2519,6 +2538,7 @@ export function showErrorSrc176Evid102(params) {
2519
2538
  * @property {string} is_override_error_state_function - is_override_error_state_function
2520
2539
  * @property {string} error_json - the full error json
2521
2540
  * @property {string} translated_message - translated_message
2541
+ * @property {string} method - HTTP request method (GET,POST,HEAD etc.)
2522
2542
  * @property {string} error_message - the error message from the json
2523
2543
  * @property {string} exception_message - exception message
2524
2544
  * @property {string} client_error_code - client error code (browser code)
@@ -3003,6 +3023,7 @@ export function dashboardDeleteAndRestoreSiteOpenPopup(params) {
3003
3023
  * @property {Url} url - url
3004
3024
  * @property {string} previewUrl - preview
3005
3025
  * @property {boolean} isPatternsPage - yes if it is on Patterns
3026
+ * @property {string} fullRoute - Full Route
3006
3027
  * @return {LogObject<pageClassifierSrc5Evid10000Params>} LogObject<pageClassifierSrc5Evid10000Params>
3007
3028
  */
3008
3029
  export function pageClassifierSrc5Evid10000(params) {
@@ -9128,7 +9149,6 @@ export function teamManagementInvitePeoplePageLoad(params) {
9128
9149
  * @property {number} number_of_invalid_emails - number of invalid emails (only errors for not typing correctly - exclude errors for existing emails)
9129
9150
  * @property {string} invite_role_ids - the role_ids that the user sends to the invitees
9130
9151
  * @property {string} assignment_type - all/specific
9131
- * @property {number} number_of_existing_emails - emails that already exist in the team
9132
9152
  * @property {string} origin - where the modal was clicked from
9133
9153
  * @property {GUID} invite_id - the invite_id
9134
9154
  * @property {number} num_sites - the distinct number of sites in the invite (null if all)
@@ -9139,8 +9159,6 @@ export function teamManagementInvitePeoplePageLoad(params) {
9139
9159
  * @property {number} contributors_quota - How many contributors can be added to the site based on the premium package quota
9140
9160
  *
9141
9161
  * @property {string} invite_role_names - the names of the rols assigned in the invite.
9142
- * @property {string} Invite_predefined_role_ids - all the roles which are predefined in an array (passed as string) in the invite (“123, 456”)
9143
- * @property {string} invite_custom_role_ids - all the roles which are custom in an array (passed as string) in the invite ("123", "456").
9144
9162
  * @property {number} contributors_count - How many contributors are actually active on the site
9145
9163
  * @property {string} app_id - app_id (context = app)
9146
9164
  * @property {boolean} Has_ai_assistant - Does the user has AI assistant on this page
@@ -13791,25 +13809,13 @@ export function rolesAndPermissionsManageRolesEditRoleSrc5Evid1871(params) {
13791
13809
  *
13792
13810
  * Event description: User clicks on 'send invites' in the invite Teammates window (user level only).
13793
13811
  *
13794
- * About:
13795
- * Invite_predefined_role_ids - example: “123456, 789123, 1 | 345678, 0 | 547891, 145254, 134543, 0”
13796
- * Invite_custom_role_ids - example: “123456, 789123, 1 | 345678, 0 | 547891, 145254, 134543, 0”
13797
- *
13798
- * Will be passed as string for both, we will use | to different between each role in the same invite using ‘|’. For this group - 123456, 789123, 1 - the first 2 elements are the role_ids (custom / predefined depend on val).
13799
- * If last value of the rule (in this list) is 1 - it means this is a ‘All sites and users’ type of invite. If 0 this means we are not ‘All sites and users’ for this role.
13800
- *
13801
13812
  * @param {rolesAndPermissionsInviteTeammatesSendInviteClickSrc5Evid1874Params} params - The parameters for this event
13802
13813
  * @property {string} context - account
13803
- * @property {number} number_of_invalid_emails - number of invalid emails (only errors for not typing correctly - exclude errors for existing emails)
13804
- * @property {string} invite_custom_role_ids - the role_ids that the user sends to the invitees which are custom alongside binary indicator for the 'All sites and folders' (True for usage in this).
13805
- * @property {string} assignment_type - all/specific
13806
- * @property {number} number_of_existing_emails - emails that already exist in the team
13807
13814
  * @property {string} origin - where the modal was clicked from
13808
13815
  * @property {GUID} invite_id - the invite_id
13809
- * @property {string} platform - platform
13810
13816
  * @property {number} number_of_valid_emails - number of valid emails
13811
- * @property {string} invite_predefined_role_ids - the role_ids that the user sends to the invitees which are predefined alongside binary indicator for the 'All sites and folders' (True for usage in this).
13812
- * @property {string} app_id - app_id (context = app)
13817
+ * @property {string} role_ids - the role_ids that the user sends to the invitees alongside binary indicator for the 'All sites and folders' (True for usage in this).
13818
+ * @property {string} app_id - The team account id
13813
13819
  * @property {boolean} Has_ai_assistant - Does the user has AI assistant on this page
13814
13820
  *
13815
13821
  * @return {LogObject<rolesAndPermissionsInviteTeammatesSendInviteClickSrc5Evid1874Params>} LogObject<rolesAndPermissionsInviteTeammatesSendInviteClickSrc5Evid1874Params>
@@ -14384,6 +14390,7 @@ export function osFavoritesPopupCtaClicked(params) {
14384
14390
  * @property {string} favoritesName - the component name of the page that the user picks
14385
14391
  * @property {boolean} wasSuccess - Send true if the action completed successfully
14386
14392
  * @property {string} hostingPlatformContextId - context id: when the context is site - msid, when the context is app_id (like in devCenter f.e) - appDefId. In account manager is null
14393
+ * @property {string} origin - Favorites popup / sidebar
14387
14394
  * @return {LogObject<osFavoritesPagesEditParams>} LogObject<osFavoritesPagesEditParams>
14388
14395
  */
14389
14396
  export function osFavoritesPagesEdit(params) {
@@ -21464,6 +21471,7 @@ export function gdprUsersUserGdprFormSubmissionFailed(params) {
21464
21471
  * @property {Url} url - url
21465
21472
  * @property {string} origin - origin
21466
21473
  * @property {string} action - accept/settings/dismiss/read_policy/render/decline_all/save/hide
21474
+ * @property {string} esi - esi
21467
21475
  * @return {LogObject<cookiesBannerCtaParams>} LogObject<cookiesBannerCtaParams>
21468
21476
  */
21469
21477
  export function cookiesBannerCta(params) {
@@ -21478,6 +21486,7 @@ export function cookiesBannerCta(params) {
21478
21486
  * @property {Url} url - url
21479
21487
  * @property {boolean} toggle - (optional) on/off
21480
21488
  * @property {string} action - save/dismiss/toggle/read_policy
21489
+ * @property {string} esi - esi
21481
21490
  * @return {LogObject<cookiesBannerSettingsWindowCtaParams>} LogObject<cookiesBannerSettingsWindowCtaParams>
21482
21491
  */
21483
21492
  export function cookiesBannerSettingsWindowCta(params) {