@wix/bex-utils 2.16.0 → 2.18.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 (44) hide show
  1. package/@wix/bex-bundled-mini-essentials/dist/cjs/bex-bundled-mini-essentials.js +43 -18
  2. package/@wix/bex-bundled-mini-essentials/dist/cjs/bex-bundled-mini-essentials.js.map +1 -1
  3. package/@wix/bex-bundled-mini-essentials/dist/cjs/exports/http-client/testkit/client.js +1 -0
  4. package/@wix/bex-bundled-mini-essentials/dist/cjs/exports/http-client/testkit/client.js.map +1 -1
  5. package/@wix/bex-bundled-mini-essentials/dist/cjs/exports/testkit/index.js +1 -0
  6. package/@wix/bex-bundled-mini-essentials/dist/cjs/exports/testkit/index.js.map +1 -1
  7. package/@wix/bex-bundled-mini-essentials/dist/esm/bex-bundled-mini-essentials.js +43 -19
  8. package/@wix/bex-bundled-mini-essentials/dist/esm/bex-bundled-mini-essentials.js.map +1 -1
  9. package/@wix/bex-bundled-mini-essentials/dist/tsconfig.tsbuildinfo +1 -1
  10. package/@wix/bi-logger-os-data/dist/cjs/index.js +6 -0
  11. package/@wix/bi-logger-os-data/dist/cjs/index.js.map +1 -1
  12. package/@wix/bi-logger-os-data/dist/cjs/testkit/client-testkit.js +6 -0
  13. package/@wix/bi-logger-os-data/dist/cjs/testkit/client-testkit.js.map +1 -1
  14. package/@wix/bi-logger-os-data/dist/cjs/testkit/common.js +190 -18
  15. package/@wix/bi-logger-os-data/dist/cjs/testkit/common.js.map +1 -1
  16. package/@wix/bi-logger-os-data/dist/cjs/testkit/node-testkit.js +6 -0
  17. package/@wix/bi-logger-os-data/dist/cjs/testkit/node-testkit.js.map +1 -1
  18. package/@wix/bi-logger-os-data/dist/cjs/v2/index.js +95 -37
  19. package/@wix/bi-logger-os-data/dist/cjs/v2/index.js.map +1 -1
  20. package/@wix/bi-logger-os-data/dist/esm/index.js +6 -0
  21. package/@wix/bi-logger-os-data/dist/esm/index.js.map +1 -1
  22. package/@wix/bi-logger-os-data/dist/esm/testkit/client-testkit.js +6 -0
  23. package/@wix/bi-logger-os-data/dist/esm/testkit/client-testkit.js.map +1 -1
  24. package/@wix/bi-logger-os-data/dist/esm/testkit/common.js +190 -18
  25. package/@wix/bi-logger-os-data/dist/esm/testkit/common.js.map +1 -1
  26. package/@wix/bi-logger-os-data/dist/esm/testkit/node-testkit.js +6 -0
  27. package/@wix/bi-logger-os-data/dist/esm/testkit/node-testkit.js.map +1 -1
  28. package/@wix/bi-logger-os-data/dist/esm/v2/index.js +64 -8
  29. package/@wix/bi-logger-os-data/dist/esm/v2/index.js.map +1 -1
  30. package/@wix/bi-logger-os-data/dist/types/index.d.ts +4 -2
  31. package/@wix/bi-logger-os-data/dist/types/testkit/client-testkit.d.ts +43 -7
  32. package/@wix/bi-logger-os-data/dist/types/testkit/node-testkit.d.ts +43 -7
  33. package/@wix/bi-logger-os-data/dist/types/types.d.ts +43 -7
  34. package/@wix/bi-logger-os-data/dist/types/v2/index.d.ts +61 -9
  35. package/@wix/bi-logger-os-data/package.json +2 -2
  36. package/@wix/bi-logger-os-data/src/index.ts +10 -2
  37. package/@wix/bi-logger-os-data/src/testkit/client-testkit.ts +49 -7
  38. package/@wix/bi-logger-os-data/src/testkit/common.ts +221 -19
  39. package/@wix/bi-logger-os-data/src/testkit/node-testkit.ts +49 -7
  40. package/@wix/bi-logger-os-data/src/types.ts +85 -15
  41. package/@wix/bi-logger-os-data/src/v2/index.ts +67 -9
  42. package/@wix/wix-i18n-config/dist/tsconfig.tsbuildinfo +1 -1
  43. package/@wix/wix-i18n-config/package.json +3 -3
  44. package/package.json +3 -3
@@ -20,6 +20,58 @@
20
20
  export function wixPatternsSummaryBarIsShownSrc144Evid1(params) {
21
21
  return { evid: 1, src: 144, endpoint: '', params };
22
22
  }
23
+ /**
24
+ * A function to create a log object for the 'wixPatternsPageInteractiveSrc144Evid1000' event (evid: 1000)
25
+ *
26
+ * Event description: Sent when a Wix Patterns page becomes interactive, indicating that significant content is being displayed
27
+ *
28
+ * @param {wixPatternsPageInteractiveSrc144Evid1000Params} params - The parameters for this event
29
+ * @property {string} artifactId - Artifact that owns the component
30
+ * @property {GUID} csid - csid
31
+ * @property {Url} url - The page's url (new from 03/2023)
32
+ * @property {string} cairoVersion - Wix Patterns_version(cairo_version)
33
+ * @property {string} domain - (Optional) Domain name from FQDN (crm, stores, etc.)
34
+ * @property {string} componentName - (Optional) Component name, if there are two components of the same type per artifact
35
+ * @property {string} componentType - Entity page / Collection
36
+ * @property {string} resource - Singular form of the resource name from FQDN, "goal" of component (order, contact, etc.)
37
+ * @property {number} loadingTime - Page loading time will be measured from the start of the page loading process (5:9002, FPP)
38
+ * @property {string} appId - app_id
39
+ * @property {string} product - Name of the product/api from FQDN (contacts, booking, site_properties, etc.)
40
+ * @property {string} route - the page's route
41
+ * @property {string} hostingPlatformContextId - the id of the context entity that the user view or edit (app/account/site)
42
+ *
43
+ * @property {boolean} routerUsage - returns true if Wix Patterns router is being used, else false
44
+ * @return {LogObject<wixPatternsPageInteractiveSrc144Evid1000Params>} LogObject<wixPatternsPageInteractiveSrc144Evid1000Params>
45
+ */
46
+ export function wixPatternsPageInteractiveSrc144Evid1000(params) {
47
+ return { evid: 1000, src: 144, endpoint: '', params };
48
+ }
49
+ /**
50
+ * A function to create a log object for the 'wixPatternsFullPageLoadCompletedSrc144Evid1001' event (evid: 1001)
51
+ *
52
+ * Event description: Sent when a Wix Patterns page has been fully loaded
53
+ *
54
+ * @param {wixPatternsFullPageLoadCompletedSrc144Evid1001Params} params - The parameters for this event
55
+ * @property {string} artifactId - Artifact that owns the component
56
+ * @property {GUID} csid - csid
57
+ * @property {Url} url - The page's url (new from 03/2023)
58
+ * @property {string} cairoVersion - Wix Patterns_version(cairo_version)
59
+ * @property {string} domain - (Optional) Domain name from FQDN (crm, stores, etc.)
60
+ * @property {string} componentName - (Optional) Component name, if there are two components of the same type per artifact
61
+ * @property {string} componentType - Entity page / Collection
62
+ * @property {string} resource - Singular form of the resource name from FQDN, "goal" of component (order, contact, etc.)
63
+ * @property {number} loadingTime - Page loading time will be measured from the start of the page loading process (5:9002, FPP)
64
+ * @property {string} appId - app_id
65
+ * @property {string} product - Name of the product/api from FQDN (contacts, booking, site_properties, etc.)
66
+ * @property {string} route - the page's route
67
+ * @property {string} hostingPlatformContextId - the id of the context entity that the user view or edit (app/account/site)
68
+ *
69
+ * @property {boolean} routerUsage - returns true if Wix Patterns router is being used, else false
70
+ * @return {LogObject<wixPatternsFullPageLoadCompletedSrc144Evid1001Params>} LogObject<wixPatternsFullPageLoadCompletedSrc144Evid1001Params>
71
+ */
72
+ export function wixPatternsFullPageLoadCompletedSrc144Evid1001(params) {
73
+ return { evid: 1001, src: 144, endpoint: '', params };
74
+ }
23
75
  /**
24
76
  * A function to create a log object for the 'pickerModalUsability' event (evid: 103)
25
77
  *
@@ -2294,6 +2346,8 @@ export function wixPatternsClickOnViewDropdownSrc144Evid4(params) {
2294
2346
  * @property {string} appId - app_id
2295
2347
  * @property {string} components - list of all components per artifact and component type
2296
2348
  * @property {string} pageType - type of page (collection page / entity / settings)
2349
+ * @property {string} componentId - component id
2350
+ * @property {boolean} isSinglePage - Returns True if it is a single page
2297
2351
  * @return {LogObject<wixPatternsMappingPagesSrc144Evid5Params>} LogObject<wixPatternsMappingPagesSrc144Evid5Params>
2298
2352
  */
2299
2353
  export function wixPatternsMappingPagesSrc144Evid5(params) {
@@ -2334,18 +2388,17 @@ export function wixPatternsSelectAProviderSrc144Evid6(params) {
2334
2388
  * @property {string} artifact_id - the artifact_id
2335
2389
  * @property {string} hosting_platform - relevant hosting_platform
2336
2390
  * @property {string} app_id - app_id
2337
- * @property {string} initial_page_id - the first page where the message appeared
2338
- * @property {string} active_page_id - the active page where the message appeared
2339
- * @property {number} error_code - the error status code
2340
- * @property {string} application_error - application_error
2341
- * @property {string} message - the message of the error
2391
+ * @property {number} error_code - http status code for ex: 404
2342
2392
  * @property {string} is_override_error - Has override errors object
2343
2393
  * @property {string} is_override_error_state_function - is_override_error_state_function
2344
- * @property {string} msid - msid
2345
- * @property {string} project - project
2346
- * @property {string} owner - owner
2347
2394
  * @property {string} action - action
2348
2395
  * @property {string} error_json - the full error json
2396
+ * @property {string} translated_message - the translated message
2397
+ * @property {string} error_message - the error message from the json
2398
+ * @property {string} exception_message - exception message
2399
+ * @property {string} client_error_code - client error code (browser code)
2400
+ * @property {string} error_type - the error type (application/validation/system)
2401
+ * @property {boolean} is_consumer_resolved_error - dev provided error message
2349
2402
  * @return {LogObject<httpClientErrorSrc176Evid404Params>} LogObject<httpClientErrorSrc176Evid404Params>
2350
2403
  */
2351
2404
  export function httpClientErrorSrc176Evid404(params) {
@@ -22890,6 +22943,7 @@ export function sdkLoaded9000(params) {
22890
22943
  * @property {boolean} is_internal_page - true if it's an internal page
22891
22944
  * @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
22892
22945
  * @property {string} internal_route - in case of internal page- in this field we will get the additional part of the route
22946
+ * @property {string} prevRoute - the previous route
22893
22947
  * @return {LogObject<gizaPageStartLoading9001Params>} LogObject<gizaPageStartLoading9001Params>
22894
22948
  */
22895
22949
  export function gizaPageStartLoading9001(params) {
@@ -22920,6 +22974,7 @@ export function gizaPageStartLoading9001(params) {
22920
22974
  * @property {string} internal_route - in case of internal page- in this field we will get the additional part of the route
22921
22975
  * @property {number} loading_time_from_first_feedback - loading time from first feedback event (in milliseconds)
22922
22976
  * @property {number} loading_time - loading time from the moment the loader of the page is shown (in milliseconds)
22977
+ * @property {string} prevRoute - the previous route
22923
22978
  * @return {LogObject<gizaPageFinishLoading9002Params>} LogObject<gizaPageFinishLoading9002Params>
22924
22979
  */
22925
22980
  export function gizaPageFinishLoading9002(params) {
@@ -23197,6 +23252,7 @@ export function wixInvoicesBannerWhenCreatingInvoiceOrder(params) {
23197
23252
  * @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
23198
23253
  * @property {string} internal_route - in case of internal page- in this field we will get the additional part of the route
23199
23254
  * @property {number} loading_time - loading time from event 9001 (page start load) until all the loaders are down (in milliseconds)
23255
+ * @property {string} prevRoute - the previous route
23200
23256
  * @return {LogObject<allPageLoadersAreDown9029Params>} LogObject<allPageLoadersAreDown9029Params>
23201
23257
  */
23202
23258
  export function allPageLoadersAreDown9029(params) {