@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.
Files changed (35) hide show
  1. package/@wix/bex-bundled-mini-essentials/CHANGELOG.md +4 -0
  2. package/@wix/bex-bundled-mini-essentials/package.json +1 -1
  3. package/@wix/bi-logger-os-data/dist/cjs/index.js +18 -0
  4. package/@wix/bi-logger-os-data/dist/cjs/index.js.map +1 -1
  5. package/@wix/bi-logger-os-data/dist/cjs/testkit/client-testkit.js +18 -0
  6. package/@wix/bi-logger-os-data/dist/cjs/testkit/client-testkit.js.map +1 -1
  7. package/@wix/bi-logger-os-data/dist/cjs/testkit/common.js +340 -14
  8. package/@wix/bi-logger-os-data/dist/cjs/testkit/common.js.map +1 -1
  9. package/@wix/bi-logger-os-data/dist/cjs/testkit/node-testkit.js +18 -0
  10. package/@wix/bi-logger-os-data/dist/cjs/testkit/node-testkit.js.map +1 -1
  11. package/@wix/bi-logger-os-data/dist/cjs/v2/index.js +159 -19
  12. package/@wix/bi-logger-os-data/dist/cjs/v2/index.js.map +1 -1
  13. package/@wix/bi-logger-os-data/dist/esm/index.js +18 -0
  14. package/@wix/bi-logger-os-data/dist/esm/index.js.map +1 -1
  15. package/@wix/bi-logger-os-data/dist/esm/testkit/client-testkit.js +18 -0
  16. package/@wix/bi-logger-os-data/dist/esm/testkit/client-testkit.js.map +1 -1
  17. package/@wix/bi-logger-os-data/dist/esm/testkit/common.js +340 -14
  18. package/@wix/bi-logger-os-data/dist/esm/testkit/common.js.map +1 -1
  19. package/@wix/bi-logger-os-data/dist/esm/testkit/node-testkit.js +18 -0
  20. package/@wix/bi-logger-os-data/dist/esm/testkit/node-testkit.js.map +1 -1
  21. package/@wix/bi-logger-os-data/dist/esm/v2/index.js +138 -4
  22. package/@wix/bi-logger-os-data/dist/esm/v2/index.js.map +1 -1
  23. package/@wix/bi-logger-os-data/dist/types/index.d.ts +8 -2
  24. package/@wix/bi-logger-os-data/dist/types/testkit/client-testkit.d.ts +73 -3
  25. package/@wix/bi-logger-os-data/dist/types/testkit/node-testkit.d.ts +73 -3
  26. package/@wix/bi-logger-os-data/dist/types/types.d.ts +73 -3
  27. package/@wix/bi-logger-os-data/dist/types/v2/index.d.ts +127 -5
  28. package/@wix/bi-logger-os-data/package.json +2 -2
  29. package/@wix/bi-logger-os-data/src/index.ts +26 -2
  30. package/@wix/bi-logger-os-data/src/testkit/client-testkit.ts +91 -3
  31. package/@wix/bi-logger-os-data/src/testkit/common.ts +394 -16
  32. package/@wix/bi-logger-os-data/src/testkit/node-testkit.ts +91 -3
  33. package/@wix/bi-logger-os-data/src/types.ts +135 -6
  34. package/@wix/bi-logger-os-data/src/v2/index.ts +145 -5
  35. package/package.json +4 -4
@@ -295,6 +295,7 @@ export class WixBiSchemaNodeTestkit extends TestkitBase {
295
295
  product: string;
296
296
  hostingPlatformContextId: string;
297
297
  theme: string;
298
+ consumerId: string;
298
299
  routerUsage: boolean;
299
300
  isCurrentViewCustomMade: boolean;
300
301
  artifactIdNew: string;
@@ -329,6 +330,7 @@ export class WixBiSchemaNodeTestkit extends TestkitBase {
329
330
  product: string;
330
331
  hostingPlatformContextId: string;
331
332
  theme: string;
333
+ consumerId: string;
332
334
  routerUsage: boolean;
333
335
  isCurrentViewCustomMade: boolean;
334
336
  artifactIdNew: string;
@@ -1722,6 +1724,7 @@ export class WixBiSchemaNodeTestkit extends TestkitBase {
1722
1724
  itemId: string;
1723
1725
  appId: string;
1724
1726
  product: string;
1727
+ theme: string;
1725
1728
  }>(this.util.getRawEvents, 144, 171, this.validate);
1726
1729
  }
1727
1730
 
@@ -1741,6 +1744,7 @@ export class WixBiSchemaNodeTestkit extends TestkitBase {
1741
1744
  itemId: string;
1742
1745
  appId: string;
1743
1746
  product: string;
1747
+ theme: string;
1744
1748
  }>(this.util.getRawEvents, 144, 172, this.validate);
1745
1749
  }
1746
1750
 
@@ -1764,6 +1768,7 @@ export class WixBiSchemaNodeTestkit extends TestkitBase {
1764
1768
  appId: string;
1765
1769
  isFromSearch: boolean;
1766
1770
  product: string;
1771
+ theme: string;
1767
1772
  }>(this.util.getRawEvents, 144, 173, this.validate);
1768
1773
  }
1769
1774
 
@@ -1988,6 +1993,7 @@ export class WixBiSchemaNodeTestkit extends TestkitBase {
1988
1993
  get getResolvedErrorSrc176Evid101() {
1989
1994
  return new EventsFilter<{
1990
1995
  session_id: string;
1996
+ isEn: boolean;
1991
1997
  mapped_error_not_available: string;
1992
1998
  translated_message: string;
1993
1999
  action_text: string;
@@ -1999,6 +2005,7 @@ export class WixBiSchemaNodeTestkit extends TestkitBase {
1999
2005
  get showErrorSrc176Evid102() {
2000
2006
  return new EventsFilter<{
2001
2007
  session_id: string;
2008
+ isEn: boolean;
2002
2009
  displayed_message: string;
2003
2010
  displayed_action: string;
2004
2011
  action_was_provided: string;
@@ -2360,6 +2367,7 @@ export class WixBiSchemaNodeTestkit extends TestkitBase {
2360
2367
  score: number;
2361
2368
  url: Url;
2362
2369
  previewUrl: string;
2370
+ isPatternsPage: boolean;
2363
2371
  }>(this.util.getRawEvents, 5, 10000, this.validate);
2364
2372
  }
2365
2373
 
@@ -6268,6 +6276,9 @@ export class WixBiSchemaNodeTestkit extends TestkitBase {
6268
6276
  number_of_valid_emails: number;
6269
6277
  num_folders: number;
6270
6278
  contributors_quota: number;
6279
+ invite_role_names: string;
6280
+ Invite_predefined_role_ids: string;
6281
+ invite_custom_role_ids: string;
6271
6282
  contributors_count: number;
6272
6283
  app_id: string;
6273
6284
  Has_ai_assistant: boolean;
@@ -6341,8 +6352,6 @@ export class WixBiSchemaNodeTestkit extends TestkitBase {
6341
6352
  role_id: string;
6342
6353
  role_type: string;
6343
6354
  origin: string;
6344
- platform: string;
6345
- msid: GUID;
6346
6355
  }>(this.util.getRawEvents, 5, 1418, this.validate);
6347
6356
  }
6348
6357
 
@@ -6350,8 +6359,8 @@ export class WixBiSchemaNodeTestkit extends TestkitBase {
6350
6359
  return new EventsFilter<{
6351
6360
  context: string;
6352
6361
  role_id: string;
6353
- platform: string;
6354
6362
  msid: GUID;
6363
+ origin: string;
6355
6364
  }>(this.util.getRawEvents, 5, 1419, this.validate);
6356
6365
  }
6357
6366
 
@@ -9243,6 +9252,18 @@ export class WixBiSchemaNodeTestkit extends TestkitBase {
9243
9252
  }>(this.util.getRawEvents, 5, 185, this.validate);
9244
9253
  }
9245
9254
 
9255
+ get leavingWithoutSavingModalOpenedSrc5Evid1858() {
9256
+ return new EventsFilter<{
9257
+ hosting_platform: string;
9258
+ page_id: string;
9259
+ page_name: string;
9260
+ route: string;
9261
+ hosting_platform_context_id: string;
9262
+ internal_route: string;
9263
+ displayMode: string;
9264
+ }>(this.util.getRawEvents, 5, 1858, this.validate);
9265
+ }
9266
+
9246
9267
  get dashboardContributorsClickOnMangeRolesAndPermissions() {
9247
9268
  return new EventsFilter<{
9248
9269
  view_type: string;
@@ -9252,6 +9273,73 @@ export class WixBiSchemaNodeTestkit extends TestkitBase {
9252
9273
  }>(this.util.getRawEvents, 5, 187, this.validate);
9253
9274
  }
9254
9275
 
9276
+ get rolesAndPermissionsManageRolesEditRoleSrc5Evid1871() {
9277
+ return new EventsFilter<{
9278
+ context: string;
9279
+ role_id: string;
9280
+ role_type: string;
9281
+ origin: string;
9282
+ platform: string;
9283
+ role_name: string;
9284
+ Has_ai_assistant: boolean;
9285
+ }>(this.util.getRawEvents, 5, 1871, this.validate);
9286
+ }
9287
+
9288
+ get rolesAndPermissionsInviteTeammatesSendInviteClickSrc5Evid1874() {
9289
+ return new EventsFilter<{
9290
+ context: string;
9291
+ number_of_invalid_emails: number;
9292
+ invite_custom_role_ids: string;
9293
+ assignment_type: string;
9294
+ number_of_existing_emails: number;
9295
+ origin: string;
9296
+ invite_id: GUID;
9297
+ platform: string;
9298
+ number_of_valid_emails: number;
9299
+ invite_predefined_role_ids: string;
9300
+ app_id: string;
9301
+ Has_ai_assistant: boolean;
9302
+ }>(this.util.getRawEvents, 5, 1874, this.validate);
9303
+ }
9304
+
9305
+ get restoreSiteModalOpenedSrc5Evid1875() {
9306
+ return new EventsFilter<{
9307
+ hosting_platform: string;
9308
+ page_id: string;
9309
+ page_name: string;
9310
+ route: string;
9311
+ hosting_platform_context_id: string;
9312
+ internal_route: string;
9313
+ origin: string;
9314
+ }>(this.util.getRawEvents, 5, 1875, this.validate);
9315
+ }
9316
+
9317
+ get restoreSiteModalCtaClickedSrc5Evid1876() {
9318
+ return new EventsFilter<{
9319
+ hosting_platform: string;
9320
+ page_id: string;
9321
+ page_name: string;
9322
+ route: string;
9323
+ hosting_platform_context_id: string;
9324
+ internal_route: string;
9325
+ cta: string;
9326
+ origin: string;
9327
+ }>(this.util.getRawEvents, 5, 1876, this.validate);
9328
+ }
9329
+
9330
+ get leavingWithoutSavingModalCtaClickedSrc5Evid1878() {
9331
+ return new EventsFilter<{
9332
+ hosting_platform: string;
9333
+ page_id: string;
9334
+ page_name: string;
9335
+ route: string;
9336
+ hosting_platform_context_id: string;
9337
+ internal_route: string;
9338
+ cta: string;
9339
+ displayMode: string;
9340
+ }>(this.util.getRawEvents, 5, 1878, this.validate);
9341
+ }
9342
+
9255
9343
  get ascendHoverOnUpgradeAscend() {
9256
9344
  return new EventsFilter<{
9257
9345
  appName: string;
@@ -412,6 +412,8 @@ export type loadStartParams = {
412
412
  hostingPlatformContextId?: string;
413
413
  // relevant to custom field - inline / card
414
414
  theme?: string;
415
+ // consumer Id - relevant for artifact_id = item selection module
416
+ consumerId?: string;
415
417
  // returns true if Wix Patterns router is being used, else false
416
418
  //
417
419
  routerUsage?: boolean;
@@ -474,6 +476,8 @@ export type loadEndParams = {
474
476
  hostingPlatformContextId?: string;
475
477
  // relevant to custom field - inline / card
476
478
  theme?: string;
479
+ // consumer Id - relevant for artifact_id = item selection module
480
+ consumerId?: string;
477
481
  // returns true if Wix Patterns router is being used, else false
478
482
  routerUsage?: boolean;
479
483
  // will be True if the current view is custom-made; otherwise, it will be False
@@ -2782,6 +2786,8 @@ export type cairoTagsWidgetLoadedParams = {
2782
2786
  appId?: string;
2783
2787
  // Name of the product/api from FQDN (contacts, booking, site_properties, etc.)
2784
2788
  product?: string;
2789
+ // Card/ Inline
2790
+ theme?: string;
2785
2791
  };
2786
2792
  export type cairoTagsWidgetClickOnCtaParams = {
2787
2793
  // Artifact that owns the component
@@ -2812,6 +2818,8 @@ export type cairoTagsWidgetClickOnCtaParams = {
2812
2818
  appId?: string;
2813
2819
  // Name of the product/api from FQDN (contacts, booking, site_properties, etc.)
2814
2820
  product?: string;
2821
+ // Card/ Inline
2822
+ theme?: string;
2815
2823
  };
2816
2824
  export type cairoTagsAssignTagParams = {
2817
2825
  // Artifact that owns the component
@@ -2850,6 +2858,8 @@ export type cairoTagsAssignTagParams = {
2850
2858
  isFromSearch?: boolean;
2851
2859
  // Name of the product/api from FQDN (contacts, booking, site_properties, etc.)
2852
2860
  product?: string;
2861
+ // Card/ Inline
2862
+ theme?: string;
2853
2863
  };
2854
2864
  export type cairoPageDiscardChangesBeforeSaveParams = {
2855
2865
  // Artifact that owns the component
@@ -3198,6 +3208,8 @@ export type httpClientErrorMappingSrc176Evid100Params = {
3198
3208
  export type getResolvedErrorSrc176Evid101Params = {
3199
3209
  // the key for connecting the error event
3200
3210
  session_id?: string;
3211
+ // True if the user sees the message in english
3212
+ isEn?: boolean;
3201
3213
  // mapped_error_not_available
3202
3214
  mapped_error_not_available?: string;
3203
3215
  // the translated message of the error
@@ -3212,6 +3224,8 @@ export type getResolvedErrorSrc176Evid101Params = {
3212
3224
  export type showErrorSrc176Evid102Params = {
3213
3225
  // the key for connecting the error event
3214
3226
  session_id?: string;
3227
+ // True if the user sees the message in english
3228
+ isEn?: boolean;
3215
3229
  // displayed_message to the user
3216
3230
  displayed_message?: string;
3217
3231
  // displayed_action to the user
@@ -3754,6 +3768,8 @@ export type pageClassifierSrc5Evid10000Params = {
3754
3768
  url?: Url;
3755
3769
  // preview
3756
3770
  previewUrl?: string;
3771
+ // yes if it is on Patterns
3772
+ isPatternsPage?: boolean;
3757
3773
  };
3758
3774
  export type dashboardDeleteAndRestoreSiteRestoreSiteClickParams = {
3759
3775
  // view_type
@@ -8719,6 +8735,12 @@ export type teamManagementInvitePeopleSendInviteParams = {
8719
8735
  // How many contributors can be added to the site based on the premium package quota
8720
8736
  //
8721
8737
  contributors_quota?: number;
8738
+ // the names of the rols assigned in the invite.
8739
+ invite_role_names?: string;
8740
+ // all the roles which are predefined in an array (passed as string) in the invite (“123, 456”)
8741
+ Invite_predefined_role_ids?: string;
8742
+ // all the roles which are custom in an array (passed as string) in the invite ("123", "456").
8743
+ invite_custom_role_ids?: string;
8722
8744
  // How many contributors are actually active on the site
8723
8745
  contributors_count?: number;
8724
8746
  // app_id (context = app)
@@ -8810,20 +8832,16 @@ export type teamManagementManageRolesDuplicateAndEditRoleParams = {
8810
8832
  role_type?: string;
8811
8833
  // where the user clicked from - roles list/role page
8812
8834
  origin?: string;
8813
- // platform
8814
- platform?: string;
8815
- // msid
8816
- msid?: GUID;
8817
8835
  };
8818
8836
  export type teamManagementManageRolesEditCustomRoleParams = {
8819
8837
  // account/site
8820
8838
  context?: string;
8821
8839
  // the role_id
8822
8840
  role_id?: string;
8823
- // platform
8824
- platform?: string;
8825
8841
  // msid
8826
8842
  msid?: GUID;
8843
+ // where the user clicked from - roles list/role page
8844
+ origin?: string;
8827
8845
  };
8828
8846
  export type teamManagementManageRolesUpdateRoleParams = {
8829
8847
  // number of scopes chosen for the custom role
@@ -12543,6 +12561,22 @@ export type teamManagementResendInviteClickParams = {
12543
12561
  // platform
12544
12562
  platform?: string;
12545
12563
  };
12564
+ export type leavingWithoutSavingModalOpenedSrc5Evid1858Params = {
12565
+ // accountmanagr/bizmanagr/devcenter/etc.
12566
+ hosting_platform?: string;
12567
+ // the page id (the component id of the page)
12568
+ page_id?: string;
12569
+ // the component name of the page
12570
+ page_name?: string;
12571
+ // the page's route
12572
+ route?: string;
12573
+ // 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
12574
+ hosting_platform_context_id?: string;
12575
+ // in case of internal page- in this field we will get the additional part of the route
12576
+ internal_route?: string;
12577
+ // main / overlay
12578
+ displayMode?: string;
12579
+ };
12546
12580
  export type dashboardContributorsClickOnMangeRolesAndPermissionsParams = {
12547
12581
  // view_type
12548
12582
  view_type?: string;
@@ -12553,6 +12587,101 @@ export type dashboardContributorsClickOnMangeRolesAndPermissionsParams = {
12553
12587
  // --
12554
12588
  msid?: GUID;
12555
12589
  };
12590
+ export type rolesAndPermissionsManageRolesEditRoleSrc5Evid1871Params = {
12591
+ // account/site
12592
+ context?: string;
12593
+ // role_id of the role that the user is duplicating
12594
+ role_id?: string;
12595
+ // custom/predefined
12596
+ role_type?: string;
12597
+ // where the user clicked from - roles list/role page
12598
+ origin?: string;
12599
+ // platform
12600
+ platform?: string;
12601
+ // role_name of the role that the user is duplicating
12602
+ role_name?: string;
12603
+ // Is He had AI assistant? (True/False)
12604
+ Has_ai_assistant?: boolean;
12605
+ };
12606
+ export type rolesAndPermissionsInviteTeammatesSendInviteClickSrc5Evid1874Params = {
12607
+ // account
12608
+ context?: string;
12609
+ // number of invalid emails (only errors for not typing correctly - exclude errors for existing emails)
12610
+ number_of_invalid_emails?: number;
12611
+ // 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).
12612
+ invite_custom_role_ids?: string;
12613
+ // all/specific
12614
+ assignment_type?: string;
12615
+ // emails that already exist in the team
12616
+ number_of_existing_emails?: number;
12617
+ // where the modal was clicked from
12618
+ origin?: string;
12619
+ // the invite_id
12620
+ invite_id?: GUID;
12621
+ // platform
12622
+ platform?: string;
12623
+ // number of valid emails
12624
+ number_of_valid_emails?: number;
12625
+ // 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).
12626
+ invite_predefined_role_ids?: string;
12627
+ // app_id (context = app)
12628
+ app_id?: string;
12629
+ // Does the user has AI assistant on this page
12630
+ //
12631
+ Has_ai_assistant?: boolean;
12632
+ };
12633
+ export type restoreSiteModalOpenedSrc5Evid1875Params = {
12634
+ // accountmanagr/bizmanagr/devcenter/etc.
12635
+ hosting_platform?: string;
12636
+ // the page id (the component id of the page)
12637
+ page_id?: string;
12638
+ // the component name of the page
12639
+ page_name?: string;
12640
+ // the page's route
12641
+ route?: string;
12642
+ // 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
12643
+ hosting_platform_context_id?: string;
12644
+ // in case of internal page- in this field we will get the additional part of the route
12645
+ internal_route?: string;
12646
+ // The origin from which the modal was opened
12647
+ origin?: string;
12648
+ };
12649
+ export type restoreSiteModalCtaClickedSrc5Evid1876Params = {
12650
+ // accountmanagr/bizmanagr/devcenter/etc.
12651
+ hosting_platform?: string;
12652
+ // the page id (the component id of the page)
12653
+ page_id?: string;
12654
+ // the component name of the page
12655
+ page_name?: string;
12656
+ // the page's route
12657
+ route?: string;
12658
+ // 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
12659
+ hosting_platform_context_id?: string;
12660
+ // in case of internal page- in this field we will get the additional part of the route
12661
+ internal_route?: string;
12662
+ // Keep in trash / Restore site
12663
+ cta?: string;
12664
+ // The origin from which the modal was opened
12665
+ origin?: string;
12666
+ };
12667
+ export type leavingWithoutSavingModalCtaClickedSrc5Evid1878Params = {
12668
+ // accountmanagr/bizmanagr/devcenter/etc.
12669
+ hosting_platform?: string;
12670
+ // the page id (the component id of the page)
12671
+ page_id?: string;
12672
+ // the component name of the page
12673
+ page_name?: string;
12674
+ // the page's route
12675
+ route?: string;
12676
+ // 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
12677
+ hosting_platform_context_id?: string;
12678
+ // in case of internal page- in this field we will get the additional part of the route
12679
+ internal_route?: string;
12680
+ // Exit (click on x), Leave, Keep editing (in english)
12681
+ cta?: string;
12682
+ // main / overlay
12683
+ displayMode?: string;
12684
+ };
12556
12685
  export type ascendHoverOnUpgradeAscendParams = {
12557
12686
  // BM App
12558
12687
  appName?: string;