@wix/bex-utils 2.40.0 → 2.42.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.
- package/@wix/bex-bundled-mini-essentials/CHANGELOG.md +4 -0
- package/@wix/bex-bundled-mini-essentials/package.json +1 -1
- package/@wix/bi-logger-os-data/dist/cjs/index.js +18 -0
- package/@wix/bi-logger-os-data/dist/cjs/index.js.map +1 -1
- package/@wix/bi-logger-os-data/dist/cjs/testkit/client-testkit.js +18 -0
- package/@wix/bi-logger-os-data/dist/cjs/testkit/client-testkit.js.map +1 -1
- package/@wix/bi-logger-os-data/dist/cjs/testkit/common.js +340 -14
- package/@wix/bi-logger-os-data/dist/cjs/testkit/common.js.map +1 -1
- package/@wix/bi-logger-os-data/dist/cjs/testkit/node-testkit.js +18 -0
- package/@wix/bi-logger-os-data/dist/cjs/testkit/node-testkit.js.map +1 -1
- package/@wix/bi-logger-os-data/dist/cjs/v2/index.js +159 -19
- package/@wix/bi-logger-os-data/dist/cjs/v2/index.js.map +1 -1
- package/@wix/bi-logger-os-data/dist/esm/index.js +18 -0
- package/@wix/bi-logger-os-data/dist/esm/index.js.map +1 -1
- package/@wix/bi-logger-os-data/dist/esm/testkit/client-testkit.js +18 -0
- package/@wix/bi-logger-os-data/dist/esm/testkit/client-testkit.js.map +1 -1
- package/@wix/bi-logger-os-data/dist/esm/testkit/common.js +340 -14
- package/@wix/bi-logger-os-data/dist/esm/testkit/common.js.map +1 -1
- package/@wix/bi-logger-os-data/dist/esm/testkit/node-testkit.js +18 -0
- package/@wix/bi-logger-os-data/dist/esm/testkit/node-testkit.js.map +1 -1
- package/@wix/bi-logger-os-data/dist/esm/v2/index.js +138 -4
- package/@wix/bi-logger-os-data/dist/esm/v2/index.js.map +1 -1
- package/@wix/bi-logger-os-data/dist/types/index.d.ts +8 -2
- package/@wix/bi-logger-os-data/dist/types/testkit/client-testkit.d.ts +73 -3
- package/@wix/bi-logger-os-data/dist/types/testkit/node-testkit.d.ts +73 -3
- package/@wix/bi-logger-os-data/dist/types/types.d.ts +73 -3
- package/@wix/bi-logger-os-data/dist/types/v2/index.d.ts +127 -5
- package/@wix/bi-logger-os-data/package.json +2 -2
- package/@wix/bi-logger-os-data/src/index.ts +26 -2
- package/@wix/bi-logger-os-data/src/testkit/client-testkit.ts +91 -3
- package/@wix/bi-logger-os-data/src/testkit/common.ts +394 -16
- package/@wix/bi-logger-os-data/src/testkit/node-testkit.ts +91 -3
- package/@wix/bi-logger-os-data/src/types.ts +135 -6
- package/@wix/bi-logger-os-data/src/v2/index.ts +145 -5
- package/package.json +4 -4
|
@@ -300,6 +300,7 @@ export function pikachuItemCategorySelected(params) {
|
|
|
300
300
|
* @property {string} hostingPlatformContextId - the id of the context entity that the user view or edit (app/account/site)
|
|
301
301
|
*
|
|
302
302
|
* @property {string} theme - relevant to custom field - inline / card
|
|
303
|
+
* @property {string} consumerId - consumer Id - relevant for artifact_id = item selection module
|
|
303
304
|
* @property {boolean} routerUsage - returns true if Wix Patterns router is being used, else false
|
|
304
305
|
*
|
|
305
306
|
* @property {boolean} isCurrentViewCustomMade - will be True if the current view is custom-made; otherwise, it will be False
|
|
@@ -342,6 +343,7 @@ export function loadStart(params) {
|
|
|
342
343
|
* @property {string} hostingPlatformContextId - the id of the context entity that the user view or edit (app/account/site)
|
|
343
344
|
*
|
|
344
345
|
* @property {string} theme - relevant to custom field - inline / card
|
|
346
|
+
* @property {string} consumerId - consumer Id - relevant for artifact_id = item selection module
|
|
345
347
|
* @property {boolean} routerUsage - returns true if Wix Patterns router is being used, else false
|
|
346
348
|
* @property {boolean} isCurrentViewCustomMade - will be True if the current view is custom-made; otherwise, it will be False
|
|
347
349
|
*
|
|
@@ -2111,6 +2113,7 @@ export function cairoSearchForTags(params) {
|
|
|
2111
2113
|
* @property {string} itemId - The entity ID (that the widget was loaded in its page)
|
|
2112
2114
|
* @property {string} appId - app_id
|
|
2113
2115
|
* @property {string} product - Name of the product/api from FQDN (contacts, booking, site_properties, etc.)
|
|
2116
|
+
* @property {string} theme - Card/ Inline
|
|
2114
2117
|
* @return {LogObject<cairoTagsWidgetLoadedParams>} LogObject<cairoTagsWidgetLoadedParams>
|
|
2115
2118
|
*/
|
|
2116
2119
|
export function cairoTagsWidgetLoaded(params) {
|
|
@@ -2136,6 +2139,7 @@ export function cairoTagsWidgetLoaded(params) {
|
|
|
2136
2139
|
* @property {string} itemId - The entity ID
|
|
2137
2140
|
* @property {string} appId - app_id
|
|
2138
2141
|
* @property {string} product - Name of the product/api from FQDN (contacts, booking, site_properties, etc.)
|
|
2142
|
+
* @property {string} theme - Card/ Inline
|
|
2139
2143
|
* @return {LogObject<cairoTagsWidgetClickOnCtaParams>} LogObject<cairoTagsWidgetClickOnCtaParams>
|
|
2140
2144
|
*/
|
|
2141
2145
|
export function cairoTagsWidgetClickOnCta(params) {
|
|
@@ -2165,6 +2169,7 @@ export function cairoTagsWidgetClickOnCta(params) {
|
|
|
2165
2169
|
* @property {string} appId - app_id
|
|
2166
2170
|
* @property {boolean} isFromSearch - Is the action made from a list of tags search results?
|
|
2167
2171
|
* @property {string} product - Name of the product/api from FQDN (contacts, booking, site_properties, etc.)
|
|
2172
|
+
* @property {string} theme - Card/ Inline
|
|
2168
2173
|
* @return {LogObject<cairoTagsAssignTagParams>} LogObject<cairoTagsAssignTagParams>
|
|
2169
2174
|
*/
|
|
2170
2175
|
export function cairoTagsAssignTag(params) {
|
|
@@ -2471,6 +2476,7 @@ export function httpClientErrorMappingSrc176Evid100(params) {
|
|
|
2471
2476
|
*
|
|
2472
2477
|
* @param {getResolvedErrorSrc176Evid101Params} params - The parameters for this event
|
|
2473
2478
|
* @property {string} session_id - the key for connecting the error event
|
|
2479
|
+
* @property {boolean} isEn - True if the user sees the message in english
|
|
2474
2480
|
* @property {string} mapped_error_not_available - mapped_error_not_available
|
|
2475
2481
|
* @property {string} translated_message - the translated message of the error
|
|
2476
2482
|
* @property {string} action_text - the action of the text
|
|
@@ -2488,6 +2494,7 @@ export function getResolvedErrorSrc176Evid101(params) {
|
|
|
2488
2494
|
*
|
|
2489
2495
|
* @param {showErrorSrc176Evid102Params} params - The parameters for this event
|
|
2490
2496
|
* @property {string} session_id - the key for connecting the error event
|
|
2497
|
+
* @property {boolean} isEn - True if the user sees the message in english
|
|
2491
2498
|
* @property {string} displayed_message - displayed_message to the user
|
|
2492
2499
|
* @property {string} displayed_action - displayed_action to the user
|
|
2493
2500
|
* @property {string} action_was_provided - action_was_provided
|
|
@@ -2995,6 +3002,7 @@ export function dashboardDeleteAndRestoreSiteOpenPopup(params) {
|
|
|
2995
3002
|
* @property {number} score - accuracy of the page type
|
|
2996
3003
|
* @property {Url} url - url
|
|
2997
3004
|
* @property {string} previewUrl - preview
|
|
3005
|
+
* @property {boolean} isPatternsPage - yes if it is on Patterns
|
|
2998
3006
|
* @return {LogObject<pageClassifierSrc5Evid10000Params>} LogObject<pageClassifierSrc5Evid10000Params>
|
|
2999
3007
|
*/
|
|
3000
3008
|
export function pageClassifierSrc5Evid10000(params) {
|
|
@@ -9111,7 +9119,9 @@ export function teamManagementInvitePeoplePageLoad(params) {
|
|
|
9111
9119
|
/**
|
|
9112
9120
|
* A function to create a log object for the 'teamManagementInvitePeopleSendInvite' event (evid: 1411)
|
|
9113
9121
|
*
|
|
9114
|
-
* Event description: User clicks on 'send invite' in the add people window
|
|
9122
|
+
* Event description: User clicks on 'send invite' in the add people window.
|
|
9123
|
+
*
|
|
9124
|
+
*
|
|
9115
9125
|
*
|
|
9116
9126
|
* @param {teamManagementInvitePeopleSendInviteParams} params - The parameters for this event
|
|
9117
9127
|
* @property {string} context - account/site
|
|
@@ -9128,6 +9138,9 @@ export function teamManagementInvitePeoplePageLoad(params) {
|
|
|
9128
9138
|
* @property {number} num_folders - the distinct number of folders in the invite (null if all)
|
|
9129
9139
|
* @property {number} contributors_quota - How many contributors can be added to the site based on the premium package quota
|
|
9130
9140
|
*
|
|
9141
|
+
* @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").
|
|
9131
9144
|
* @property {number} contributors_count - How many contributors are actually active on the site
|
|
9132
9145
|
* @property {string} app_id - app_id (context = app)
|
|
9133
9146
|
* @property {boolean} Has_ai_assistant - Does the user has AI assistant on this page
|
|
@@ -9244,8 +9257,6 @@ export function teamManagementManageRolesRolePageLoad(params) {
|
|
|
9244
9257
|
* @property {string} role_id - role_id of the role that the user is duplicating
|
|
9245
9258
|
* @property {string} role_type - custom/predefined
|
|
9246
9259
|
* @property {string} origin - where the user clicked from - roles list/role page
|
|
9247
|
-
* @property {string} platform - platform
|
|
9248
|
-
* @property {GUID} msid - msid
|
|
9249
9260
|
* @return {LogObject<teamManagementManageRolesDuplicateAndEditRoleParams>} LogObject<teamManagementManageRolesDuplicateAndEditRoleParams>
|
|
9250
9261
|
*/
|
|
9251
9262
|
export function teamManagementManageRolesDuplicateAndEditRole(params) {
|
|
@@ -9259,8 +9270,8 @@ export function teamManagementManageRolesDuplicateAndEditRole(params) {
|
|
|
9259
9270
|
* @param {teamManagementManageRolesEditCustomRoleParams} params - The parameters for this event
|
|
9260
9271
|
* @property {string} context - account/site
|
|
9261
9272
|
* @property {string} role_id - the role_id
|
|
9262
|
-
* @property {string} platform - platform
|
|
9263
9273
|
* @property {GUID} msid - msid
|
|
9274
|
+
* @property {string} origin - where the user clicked from - roles list/role page
|
|
9264
9275
|
* @return {LogObject<teamManagementManageRolesEditCustomRoleParams>} LogObject<teamManagementManageRolesEditCustomRoleParams>
|
|
9265
9276
|
*/
|
|
9266
9277
|
export function teamManagementManageRolesEditCustomRole(params) {
|
|
@@ -13724,6 +13735,24 @@ export function searchToDeleteSrc5Evid1847(params) {
|
|
|
13724
13735
|
export function teamManagementResendInviteClick(params) {
|
|
13725
13736
|
return { evid: 185, src: 5, endpoint: '', params };
|
|
13726
13737
|
}
|
|
13738
|
+
/**
|
|
13739
|
+
* A function to create a log object for the 'leavingWithoutSavingModalOpenedSrc5Evid1858' event (evid: 1858)
|
|
13740
|
+
*
|
|
13741
|
+
* Event description: Leaving without saving - modal opened
|
|
13742
|
+
*
|
|
13743
|
+
* @param {leavingWithoutSavingModalOpenedSrc5Evid1858Params} params - The parameters for this event
|
|
13744
|
+
* @property {string} hosting_platform - accountmanagr/bizmanagr/devcenter/etc.
|
|
13745
|
+
* @property {string} page_id - the page id (the component id of the page)
|
|
13746
|
+
* @property {string} page_name - the component name of the page
|
|
13747
|
+
* @property {string} route - the page's route
|
|
13748
|
+
* @property {string} hosting_platform_context_id - 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
|
|
13749
|
+
* @property {string} internal_route - in case of internal page- in this field we will get the additional part of the route
|
|
13750
|
+
* @property {string} displayMode - main / overlay
|
|
13751
|
+
* @return {LogObject<leavingWithoutSavingModalOpenedSrc5Evid1858Params>} LogObject<leavingWithoutSavingModalOpenedSrc5Evid1858Params>
|
|
13752
|
+
*/
|
|
13753
|
+
export function leavingWithoutSavingModalOpenedSrc5Evid1858(params) {
|
|
13754
|
+
return { evid: 1858, src: 5, endpoint: '', params };
|
|
13755
|
+
}
|
|
13727
13756
|
/**
|
|
13728
13757
|
* A function to create a log object for the 'dashboardContributorsClickOnMangeRolesAndPermissions' event (evid: 187)
|
|
13729
13758
|
*
|
|
@@ -13739,6 +13768,111 @@ export function teamManagementResendInviteClick(params) {
|
|
|
13739
13768
|
export function dashboardContributorsClickOnMangeRolesAndPermissions(params) {
|
|
13740
13769
|
return { evid: 187, src: 5, endpoint: '', params };
|
|
13741
13770
|
}
|
|
13771
|
+
/**
|
|
13772
|
+
* A function to create a log object for the 'rolesAndPermissionsManageRolesEditRoleSrc5Evid1871' event (evid: 1871)
|
|
13773
|
+
*
|
|
13774
|
+
* Event description: User clicks on 'edit role' (and not edit & duplicate) from the role actions menu (considered as creating a new role). The user can click on a custom role or a pre-defined role.
|
|
13775
|
+
*
|
|
13776
|
+
* @param {rolesAndPermissionsManageRolesEditRoleSrc5Evid1871Params} params - The parameters for this event
|
|
13777
|
+
* @property {string} context - account/site
|
|
13778
|
+
* @property {string} role_id - role_id of the role that the user is duplicating
|
|
13779
|
+
* @property {string} role_type - custom/predefined
|
|
13780
|
+
* @property {string} origin - where the user clicked from - roles list/role page
|
|
13781
|
+
* @property {string} platform - platform
|
|
13782
|
+
* @property {string} role_name - role_name of the role that the user is duplicating
|
|
13783
|
+
* @property {boolean} Has_ai_assistant - Is He had AI assistant? (True/False)
|
|
13784
|
+
* @return {LogObject<rolesAndPermissionsManageRolesEditRoleSrc5Evid1871Params>} LogObject<rolesAndPermissionsManageRolesEditRoleSrc5Evid1871Params>
|
|
13785
|
+
*/
|
|
13786
|
+
export function rolesAndPermissionsManageRolesEditRoleSrc5Evid1871(params) {
|
|
13787
|
+
return { evid: 1871, src: 5, endpoint: '', params };
|
|
13788
|
+
}
|
|
13789
|
+
/**
|
|
13790
|
+
* A function to create a log object for the 'rolesAndPermissionsInviteTeammatesSendInviteClickSrc5Evid1874' event (evid: 1874)
|
|
13791
|
+
*
|
|
13792
|
+
* Event description: User clicks on 'send invites' in the invite Teammates window (user level only).
|
|
13793
|
+
*
|
|
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
|
+
* @param {rolesAndPermissionsInviteTeammatesSendInviteClickSrc5Evid1874Params} params - The parameters for this event
|
|
13802
|
+
* @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
|
+
* @property {string} origin - where the modal was clicked from
|
|
13808
|
+
* @property {GUID} invite_id - the invite_id
|
|
13809
|
+
* @property {string} platform - platform
|
|
13810
|
+
* @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)
|
|
13813
|
+
* @property {boolean} Has_ai_assistant - Does the user has AI assistant on this page
|
|
13814
|
+
*
|
|
13815
|
+
* @return {LogObject<rolesAndPermissionsInviteTeammatesSendInviteClickSrc5Evid1874Params>} LogObject<rolesAndPermissionsInviteTeammatesSendInviteClickSrc5Evid1874Params>
|
|
13816
|
+
*/
|
|
13817
|
+
export function rolesAndPermissionsInviteTeammatesSendInviteClickSrc5Evid1874(params) {
|
|
13818
|
+
return { evid: 1874, src: 5, endpoint: '', params };
|
|
13819
|
+
}
|
|
13820
|
+
/**
|
|
13821
|
+
* A function to create a log object for the 'restoreSiteModalOpenedSrc5Evid1875' event (evid: 1875)
|
|
13822
|
+
*
|
|
13823
|
+
* Event description: Restore site - modal opened
|
|
13824
|
+
*
|
|
13825
|
+
* @param {restoreSiteModalOpenedSrc5Evid1875Params} params - The parameters for this event
|
|
13826
|
+
* @property {string} hosting_platform - accountmanagr/bizmanagr/devcenter/etc.
|
|
13827
|
+
* @property {string} page_id - the page id (the component id of the page)
|
|
13828
|
+
* @property {string} page_name - the component name of the page
|
|
13829
|
+
* @property {string} route - the page's route
|
|
13830
|
+
* @property {string} hosting_platform_context_id - 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
|
|
13831
|
+
* @property {string} internal_route - in case of internal page- in this field we will get the additional part of the route
|
|
13832
|
+
* @property {string} origin - The origin from which the modal was opened
|
|
13833
|
+
* @return {LogObject<restoreSiteModalOpenedSrc5Evid1875Params>} LogObject<restoreSiteModalOpenedSrc5Evid1875Params>
|
|
13834
|
+
*/
|
|
13835
|
+
export function restoreSiteModalOpenedSrc5Evid1875(params) {
|
|
13836
|
+
return { evid: 1875, src: 5, endpoint: '', params };
|
|
13837
|
+
}
|
|
13838
|
+
/**
|
|
13839
|
+
* A function to create a log object for the 'restoreSiteModalCtaClickedSrc5Evid1876' event (evid: 1876)
|
|
13840
|
+
*
|
|
13841
|
+
* Event description: Restore site – Modal CTA clicked
|
|
13842
|
+
*
|
|
13843
|
+
* @param {restoreSiteModalCtaClickedSrc5Evid1876Params} params - The parameters for this event
|
|
13844
|
+
* @property {string} hosting_platform - accountmanagr/bizmanagr/devcenter/etc.
|
|
13845
|
+
* @property {string} page_id - the page id (the component id of the page)
|
|
13846
|
+
* @property {string} page_name - the component name of the page
|
|
13847
|
+
* @property {string} route - the page's route
|
|
13848
|
+
* @property {string} hosting_platform_context_id - 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
|
|
13849
|
+
* @property {string} internal_route - in case of internal page- in this field we will get the additional part of the route
|
|
13850
|
+
* @property {string} cta - Keep in trash / Restore site
|
|
13851
|
+
* @property {string} origin - The origin from which the modal was opened
|
|
13852
|
+
* @return {LogObject<restoreSiteModalCtaClickedSrc5Evid1876Params>} LogObject<restoreSiteModalCtaClickedSrc5Evid1876Params>
|
|
13853
|
+
*/
|
|
13854
|
+
export function restoreSiteModalCtaClickedSrc5Evid1876(params) {
|
|
13855
|
+
return { evid: 1876, src: 5, endpoint: '', params };
|
|
13856
|
+
}
|
|
13857
|
+
/**
|
|
13858
|
+
* A function to create a log object for the 'leavingWithoutSavingModalCtaClickedSrc5Evid1878' event (evid: 1878)
|
|
13859
|
+
*
|
|
13860
|
+
* Event description: Leaving without saving – Modal CTA clicked
|
|
13861
|
+
*
|
|
13862
|
+
* @param {leavingWithoutSavingModalCtaClickedSrc5Evid1878Params} params - The parameters for this event
|
|
13863
|
+
* @property {string} hosting_platform - accountmanagr/bizmanagr/devcenter/etc.
|
|
13864
|
+
* @property {string} page_id - the page id (the component id of the page)
|
|
13865
|
+
* @property {string} page_name - the component name of the page
|
|
13866
|
+
* @property {string} route - the page's route
|
|
13867
|
+
* @property {string} hosting_platform_context_id - 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
|
|
13868
|
+
* @property {string} internal_route - in case of internal page- in this field we will get the additional part of the route
|
|
13869
|
+
* @property {string} cta - Exit (click on x), Leave, Keep editing (in english)
|
|
13870
|
+
* @property {string} displayMode - main / overlay
|
|
13871
|
+
* @return {LogObject<leavingWithoutSavingModalCtaClickedSrc5Evid1878Params>} LogObject<leavingWithoutSavingModalCtaClickedSrc5Evid1878Params>
|
|
13872
|
+
*/
|
|
13873
|
+
export function leavingWithoutSavingModalCtaClickedSrc5Evid1878(params) {
|
|
13874
|
+
return { evid: 1878, src: 5, endpoint: '', params };
|
|
13875
|
+
}
|
|
13742
13876
|
/**
|
|
13743
13877
|
* A function to create a log object for the 'ascendHoverOnUpgradeAscend' event (evid: 188)
|
|
13744
13878
|
*
|