@maxzima/wa-communicator 1.0.15 → 1.0.17

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 (27) hide show
  1. package/dist/engine/AccountTracker/Enums/AccountTrackerEnum.d.ts +1 -4
  2. package/dist/engine/AccountTracker/Public/AccountTracker.d.ts +1 -1
  3. package/dist/engine/AccountTracker/Public/AccountTracker.js +7 -9
  4. package/dist/engine/AccountTracker/Types/TAccountTracker.d.ts +2 -8
  5. package/dist/engine/Communicator/Enums/CommunicatorEnum.d.ts +2 -1
  6. package/dist/engine/Communicator/Public/Communicator.d.ts +2 -1
  7. package/dist/engine/Communicator/Public/Communicator.js +6 -0
  8. package/dist/enums/CommunicatorCountriesTypes.d.ts +10 -0
  9. package/dist/enums/CommunicatorCountriesTypes.js +11 -0
  10. package/dist/enums/index.d.ts +1 -0
  11. package/dist/enums/index.js +1 -0
  12. package/dist/types/TCommunicator.d.ts +4 -1
  13. package/package.json +1 -1
  14. package/src/engine/AccountTracker/Enums/AccountTrackerEnum.ts +1 -5
  15. package/src/engine/AccountTracker/Public/AccountTracker.ts +7 -10
  16. package/src/engine/AccountTracker/Types/TAccountTracker.ts +2 -8
  17. package/src/engine/Communicator/Enums/CommunicatorEnum.ts +1 -0
  18. package/src/engine/Communicator/Public/Communicator.ts +14 -2
  19. package/src/enums/CommunicatorCountriesTypes.ts +11 -0
  20. package/src/enums/index.ts +1 -0
  21. package/src/types/TCommunicator.ts +7 -0
  22. package/test/__snapshots__/communicator.spec.ts.snap +14 -0
  23. package/test/accountTracker.spec.ts +7 -9
  24. package/test/communicator.spec.ts +6 -0
  25. package/test/testunits/accountTracker/events.ts +6 -14
  26. package/test/testunits/accountTracker/general.ts +1 -1
  27. package/test/testunits/communicator/requests.ts +12 -3
@@ -1,7 +1,4 @@
1
- declare const enum GA4EventActionEnum {
2
- VERIFY_CONTACT = "verify_contact"
3
- }
4
- declare const enum GA4EventContactEnum {
1
+ declare const enum GTMEventEnum {
5
2
  PHONE = "phone",
6
3
  EMAIL = "email"
7
4
  }
@@ -4,6 +4,6 @@ export declare class AccountTracker {
4
4
  sendPhoneVerifyEvent(): void;
5
5
  sendEmailVerifyEvent(): void;
6
6
  sendRegistrationSuccessEvent(): void;
7
- private sendGA4Event;
7
+ private sendGtmEvent;
8
8
  private sendLinkedInEvent;
9
9
  }
@@ -1,15 +1,13 @@
1
1
  export class AccountTracker {
2
2
  constructor(props) {
3
- this.sendGA4Event = (action, contact) => {
4
- if (typeof this.props.gtag === 'undefined' || !this.props.ga4Id) {
3
+ this.sendGtmEvent = (event) => {
4
+ if (typeof this.props.gtmDataLayer === 'undefined' || !this.props.gtmId) {
5
5
  return;
6
6
  }
7
- const params = {
8
- contact: contact,
7
+ this.props.gtmDataLayer.push({
8
+ event,
9
9
  origin: this.props.origin || null,
10
- send_to: this.props.ga4Id,
11
- };
12
- this.props.gtag('event', action, params);
10
+ });
13
11
  };
14
12
  this.sendLinkedInEvent = (id) => {
15
13
  if (typeof this.props.lintrk === 'undefined') {
@@ -22,11 +20,11 @@ export class AccountTracker {
22
20
  this.props = props;
23
21
  }
24
22
  sendPhoneVerifyEvent() {
25
- this.sendGA4Event("verify_contact", "phone");
23
+ this.sendGtmEvent("phone");
26
24
  this.sendLinkedInEvent(8612332);
27
25
  }
28
26
  sendEmailVerifyEvent() {
29
- this.sendGA4Event("verify_contact", "email");
27
+ this.sendGtmEvent("email");
30
28
  this.sendLinkedInEvent(8612340);
31
29
  }
32
30
  sendRegistrationSuccessEvent() {
@@ -1,15 +1,9 @@
1
- /// <reference types="gtag.js" />
2
1
  declare type TLintrkOptions = {
3
2
  conversation_id: LintrkEventIdEnum;
4
3
  };
5
- declare type TGA4Event = {
6
- contact: GA4EventContactEnum;
7
- send_to: TAccountTrackerProps['ga4Id'];
8
- origin?: TAccountTrackerProps['origin'];
9
- };
10
4
  declare type TAccountTrackerProps = {
11
5
  origin?: string;
12
- gtag?: Gtag.Gtag;
6
+ gtmDataLayer?: object[];
13
7
  lintrk?: (action: LintrkActionTypeEnum, options: TLintrkOptions) => void;
14
- ga4Id?: string;
8
+ gtmId?: string;
15
9
  };
@@ -2,7 +2,8 @@ declare const enum CommunicatorFAPIEndpointEnum {
2
2
  GEO_BY_IP = "geo-by-ip",
3
3
  USER = "user",
4
4
  REGISTRATION = "clients/registration",
5
- STORAGE = "storage"
5
+ STORAGE = "storage",
6
+ RESTRICTED_COUNTRIES = "access-control/restricted-countries"
6
7
  }
7
8
  declare const enum CommunicatorAuthAPIEndpointEnum {
8
9
  SIGN_IN = "sign-in",
@@ -1,4 +1,4 @@
1
- import { TCreateSessionRequestData, TEmailUpdateRequestData, TGetCurrentUserProfileRequestData, TRegistrationRequestData, TResponse, TSetupChallengeRequestData, TSignInByMobileRequestData, TSignUpByMobileRequestData, TVerifyChallengeRequestData, TStorageRequestData } from "@root/types";
1
+ import type { TCreateSessionRequestData, TEmailUpdateRequestData, TGetCurrentUserProfileRequestData, TRegistrationRequestData, TResponse, TSetupChallengeRequestData, TSignInByMobileRequestData, TSignUpByMobileRequestData, TVerifyChallengeRequestData, TStorageRequestData, TGetRestrictedCountriesData } from "@root/types";
2
2
  export declare class Communicator {
3
3
  private props;
4
4
  constructor(props: TCommunicatorProps);
@@ -11,6 +11,7 @@ export declare class Communicator {
11
11
  getCurrentUserProfile(data: TGetCurrentUserProfileRequestData): Promise<TResponse>;
12
12
  registration(data: TRegistrationRequestData): Promise<TResponse>;
13
13
  setStorageValues(data: TStorageRequestData): Promise<TResponse>;
14
+ getRestrictedCountries(data?: TGetRestrictedCountriesData): Promise<TResponse>;
14
15
  private send;
15
16
  private getHeaders;
16
17
  private getMeta;
@@ -163,6 +163,12 @@ export class Communicator {
163
163
  });
164
164
  });
165
165
  }
166
+ getRestrictedCountries(data) {
167
+ return __awaiter(this, void 0, void 0, function* () {
168
+ const headers = this.getHeaders();
169
+ return yield this.send(Object.assign({ method: 'GET', url: `${this.props.clientFAPIBaseUrl}${"access-control/restricted-countries"}`, headers }, ((data === null || data === void 0 ? void 0 : data.entityType) && { queryParams: { entity_type: data.entityType } })));
170
+ });
171
+ }
166
172
  send(requestInitProps) {
167
173
  return __awaiter(this, void 0, void 0, function* () {
168
174
  let url = requestInitProps.url;
@@ -0,0 +1,10 @@
1
+ export declare enum CountryTypeEnum {
2
+ COUNTRIES = "countries",
3
+ EMPLOYEE = "employee",
4
+ CARD_USER = "carduser",
5
+ CLIENT_INFORMATION = "client_information",
6
+ CLIENT_PERSON = "client_person",
7
+ CLIENT_COMPANY = "client_company",
8
+ USER = "user",
9
+ GLOBAL = "global"
10
+ }
@@ -0,0 +1,11 @@
1
+ export var CountryTypeEnum;
2
+ (function (CountryTypeEnum) {
3
+ CountryTypeEnum["COUNTRIES"] = "countries";
4
+ CountryTypeEnum["EMPLOYEE"] = "employee";
5
+ CountryTypeEnum["CARD_USER"] = "carduser";
6
+ CountryTypeEnum["CLIENT_INFORMATION"] = "client_information";
7
+ CountryTypeEnum["CLIENT_PERSON"] = "client_person";
8
+ CountryTypeEnum["CLIENT_COMPANY"] = "client_company";
9
+ CountryTypeEnum["USER"] = "user";
10
+ CountryTypeEnum["GLOBAL"] = "global";
11
+ })(CountryTypeEnum || (CountryTypeEnum = {}));
@@ -1 +1,2 @@
1
1
  export * from "./CommunicatorErrorEnum";
2
+ export * from "./CommunicatorCountriesTypes";
@@ -1 +1,2 @@
1
1
  export * from "./CommunicatorErrorEnum";
2
+ export * from "./CommunicatorCountriesTypes";
@@ -123,4 +123,7 @@ declare type TStorageRequestData = {
123
123
  accessToken: string;
124
124
  origin: string;
125
125
  };
126
- export { TRegistrationRequestBodySourceDeviceType, TChallenge, TAuditSource, TRequestProps, TRequestQueryParams, TResponse, TSignInStartRequestBody, TAccountMeta, TAccountBrowserData, TSignInByMobileRequestData, TSignInByMobileResponse, TSignUpStartRequestBody, TSignUpByMobileRequestData, TSetupChallengeRequestData, TSetupChallengeResponse, TVerifyChallengeRequestBody, TVerifyChallengeRequestData, TVerifyChallengeResponse, TEmailUpdateRequestData, TCreateSessionRequestData, TCreateSessionResponse, TGetCurrentUserProfileResponseUser, TGetCurrentUserProfileRequestData, TRegistrationRequestData, TStorageRequestData, };
126
+ declare type TGetRestrictedCountriesData = {
127
+ entityType?: import('@root/enums').CountryTypeEnum;
128
+ };
129
+ export { TRegistrationRequestBodySourceDeviceType, TChallenge, TAuditSource, TRequestProps, TRequestQueryParams, TResponse, TSignInStartRequestBody, TAccountMeta, TAccountBrowserData, TSignInByMobileRequestData, TSignInByMobileResponse, TSignUpStartRequestBody, TSignUpByMobileRequestData, TSetupChallengeRequestData, TSetupChallengeResponse, TVerifyChallengeRequestBody, TVerifyChallengeRequestData, TVerifyChallengeResponse, TEmailUpdateRequestData, TCreateSessionRequestData, TCreateSessionResponse, TGetCurrentUserProfileResponseUser, TGetCurrentUserProfileRequestData, TRegistrationRequestData, TStorageRequestData, TGetRestrictedCountriesData, };
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "1.0.15",
2
+ "version": "1.0.17",
3
3
  "name": "@maxzima/wa-communicator",
4
4
  "description": "",
5
5
  "author": "Noname",
@@ -1,8 +1,4 @@
1
- const enum GA4EventActionEnum {
2
- VERIFY_CONTACT = 'verify_contact',
3
- }
4
-
5
- const enum GA4EventContactEnum {
1
+ const enum GTMEventEnum {
6
2
  PHONE = 'phone',
7
3
  EMAIL = 'email',
8
4
  }
@@ -6,12 +6,12 @@ export class AccountTracker {
6
6
  }
7
7
 
8
8
  public sendPhoneVerifyEvent () {
9
- this.sendGA4Event(GA4EventActionEnum.VERIFY_CONTACT, GA4EventContactEnum.PHONE);
9
+ this.sendGtmEvent(GTMEventEnum.PHONE);
10
10
  this.sendLinkedInEvent(LintrkEventIdEnum.PHONE);
11
11
  }
12
12
 
13
13
  public sendEmailVerifyEvent () {
14
- this.sendGA4Event(GA4EventActionEnum.VERIFY_CONTACT, GA4EventContactEnum.EMAIL);
14
+ this.sendGtmEvent(GTMEventEnum.EMAIL);
15
15
  this.sendLinkedInEvent(LintrkEventIdEnum.EMAIL);
16
16
  }
17
17
 
@@ -19,18 +19,15 @@ export class AccountTracker {
19
19
  this.sendLinkedInEvent(LintrkEventIdEnum.REGISTRATION);
20
20
  }
21
21
 
22
- private sendGA4Event = (action: GA4EventActionEnum, contact: GA4EventContactEnum) => {
23
- if (typeof this.props.gtag === 'undefined' || !this.props.ga4Id) {
22
+ private sendGtmEvent = (event: GTMEventEnum) => {
23
+ if (typeof this.props.gtmDataLayer === 'undefined' || !this.props.gtmId) {
24
24
  return;
25
25
  }
26
26
 
27
- const params: TGA4Event = {
28
- contact: contact,
27
+ this.props.gtmDataLayer.push({
28
+ event,
29
29
  origin: this.props.origin || null,
30
- send_to: this.props.ga4Id,
31
- };
32
-
33
- this.props.gtag('event', action, params);
30
+ });
34
31
  };
35
32
 
36
33
  private sendLinkedInEvent = (id: LintrkEventIdEnum) => {
@@ -2,15 +2,9 @@ type TLintrkOptions = {
2
2
  conversation_id: LintrkEventIdEnum;
3
3
  }
4
4
 
5
- type TGA4Event = {
6
- contact: GA4EventContactEnum;
7
- send_to: TAccountTrackerProps['ga4Id'];
8
- origin?: TAccountTrackerProps['origin'];
9
- }
10
-
11
5
  type TAccountTrackerProps = {
12
6
  origin?: string;
13
- gtag?: Gtag.Gtag;
7
+ gtmDataLayer?: object[];
14
8
  lintrk?: (action: LintrkActionTypeEnum, options: TLintrkOptions) => void;
15
- ga4Id?: string;
9
+ gtmId?: string;
16
10
  }
@@ -3,6 +3,7 @@ const enum CommunicatorFAPIEndpointEnum {
3
3
  USER = 'user',
4
4
  REGISTRATION = 'clients/registration',
5
5
  STORAGE = 'storage',
6
+ RESTRICTED_COUNTRIES = 'access-control/restricted-countries',
6
7
  }
7
8
 
8
9
  const enum CommunicatorAuthAPIEndpointEnum {
@@ -1,4 +1,4 @@
1
- import {
1
+ import type {
2
2
  TAccountBrowserData,
3
3
  TAccountMeta,
4
4
  TCreateSessionRequestData,
@@ -15,7 +15,8 @@ import {
15
15
  TSignUpStartRequestBody,
16
16
  TVerifyChallengeRequestBody,
17
17
  TVerifyChallengeRequestData,
18
- TStorageRequestData
18
+ TStorageRequestData,
19
+ TGetRestrictedCountriesData
19
20
  } from "@root/types";
20
21
  import {CommunicatorDefaultRequestData} from "./../Constants/Communicator";
21
22
 
@@ -160,6 +161,17 @@ export class Communicator {
160
161
  });
161
162
  }
162
163
 
164
+ public async getRestrictedCountries(data?: TGetRestrictedCountriesData) {
165
+ const headers = this.getHeaders();
166
+
167
+ return await this.send({
168
+ method: 'GET',
169
+ url: `${this.props.clientFAPIBaseUrl}${CommunicatorFAPIEndpointEnum.RESTRICTED_COUNTRIES}`,
170
+ headers,
171
+ ...(data?.entityType && {queryParams: {entity_type: data.entityType}}),
172
+ });
173
+ }
174
+
163
175
  private async send(requestInitProps: TRequestProps): Promise<TResponse> {
164
176
  let url = requestInitProps.url;
165
177
 
@@ -0,0 +1,11 @@
1
+ /* Categories can change during some times, check FAPI for validating this list. */
2
+ export enum CountryTypeEnum {
3
+ COUNTRIES = 'countries',
4
+ EMPLOYEE = 'employee',
5
+ CARD_USER = 'carduser',
6
+ CLIENT_INFORMATION = 'client_information',
7
+ CLIENT_PERSON = 'client_person',
8
+ CLIENT_COMPANY = 'client_company',
9
+ USER = 'user',
10
+ GLOBAL = 'global',
11
+ }
@@ -1 +1,2 @@
1
1
  export * from "./CommunicatorErrorEnum";
2
+ export * from "./CommunicatorCountriesTypes";
@@ -175,6 +175,12 @@ type TStorageRequestData = {
175
175
  }
176
176
  /* endregion registration */
177
177
 
178
+ /* region getRestrictedCountries */
179
+ type TGetRestrictedCountriesData = {
180
+ entityType?: import('@root/enums').CountryTypeEnum;
181
+ }
182
+ /* endregion getRestrictedCountries */
183
+
178
184
  export {
179
185
  TRegistrationRequestBodySourceDeviceType,
180
186
  TChallenge,
@@ -201,4 +207,5 @@ export {
201
207
  TGetCurrentUserProfileRequestData,
202
208
  TRegistrationRequestData,
203
209
  TStorageRequestData,
210
+ TGetRestrictedCountriesData,
204
211
  };
@@ -68,6 +68,20 @@ Object {
68
68
  }
69
69
  `;
70
70
 
71
+ exports[`Communicator requests getRestrictedCountries 1`] = `
72
+ Object {
73
+ "headers": Object {
74
+ "Accept": "application/json, text/plain, */*",
75
+ "Content-Type": "application/json",
76
+ },
77
+ "method": "GET",
78
+ "queryParams": Object {
79
+ "entity_type": "global",
80
+ },
81
+ "url": "https://google.com/access-control/restricted-countries",
82
+ }
83
+ `;
84
+
71
85
  exports[`Communicator requests registration 1`] = `
72
86
  Object {
73
87
  "body": "{\\"name\\":\\"_companyName_\\",\\"country_code\\":\\"CAN\\",\\"source\\":{\\"hash\\":\\"_hash_\\",\\"device_type\\":\\"mobile\\",\\"ga_id\\":\\"_gaId_\\",\\"origin\\":\\"_origin_\\"}}",
@@ -2,13 +2,15 @@ import {AccountTracker} from "../src";
2
2
  import {accountTrackerInitPropsNormal} from "./testunits/accountTracker/general";
3
3
  import {emailVerifyEvents, phoneVerifyEvents, registrationSuccessEvents} from "./testunits/accountTracker/events";
4
4
 
5
- const mockGtag = jest.fn().mockImplementation();
6
5
  const mockLintrk = jest.fn().mockImplementation();
6
+ const mockGtmDataLayer = [];
7
+
7
8
  const accountTrackerInitProps = {
8
9
  ...accountTrackerInitPropsNormal,
9
- gtag: mockGtag,
10
+ gtmDataLayer: mockGtmDataLayer,
10
11
  lintrk: mockLintrk,
11
12
  };
13
+
12
14
  const accountTracker = new AccountTracker(accountTrackerInitProps);
13
15
 
14
16
  describe('AccountTracker', () => {
@@ -19,9 +21,7 @@ describe('AccountTracker', () => {
19
21
  test('sendPhoneVerifyEvent', () => {
20
22
  accountTracker.sendPhoneVerifyEvent();
21
23
 
22
- expect(mockGtag.mock.calls[0][1]).toBe(phoneVerifyEvents.ga4.action);
23
- expect(mockGtag.mock.calls[0][2]).toEqual(phoneVerifyEvents.ga4.event);
24
- expect(mockGtag).toHaveBeenCalled();
24
+ expect(mockGtmDataLayer[0]).toEqual({...phoneVerifyEvents.gtm});
25
25
 
26
26
  expect(mockLintrk.mock.calls[0][0]).toBe(phoneVerifyEvents.linkedIn.action);
27
27
  expect(mockLintrk.mock.calls[0][1]).toEqual(phoneVerifyEvents.linkedIn.event);
@@ -31,9 +31,7 @@ describe('AccountTracker', () => {
31
31
  test('sendEmailVerifyEvent', () => {
32
32
  accountTracker.sendEmailVerifyEvent();
33
33
 
34
- expect(mockGtag.mock.calls[0][1]).toBe(emailVerifyEvents.ga4.action);
35
- expect(mockGtag.mock.calls[0][2]).toEqual(emailVerifyEvents.ga4.event);
36
- expect(mockGtag).toHaveBeenCalled();
34
+ expect(mockGtmDataLayer[1]).toEqual({...emailVerifyEvents.gtm});
37
35
 
38
36
  expect(mockLintrk.mock.calls[0][0]).toBe(emailVerifyEvents.linkedIn.action);
39
37
  expect(mockLintrk.mock.calls[0][1]).toEqual(emailVerifyEvents.linkedIn.event);
@@ -43,7 +41,7 @@ describe('AccountTracker', () => {
43
41
  test('sendRegistrationSuccessEvent', () => {
44
42
  accountTracker.sendRegistrationSuccessEvent();
45
43
 
46
- expect(mockGtag).not.toHaveBeenCalled();
44
+ expect(mockGtmDataLayer).toHaveLength(2);
47
45
 
48
46
  expect(mockLintrk.mock.calls[0][0]).toBe(registrationSuccessEvents.linkedIn.action);
49
47
  expect(mockLintrk.mock.calls[0][1]).toEqual(registrationSuccessEvents.linkedIn.event);
@@ -14,6 +14,7 @@ import {
14
14
  signUpData,
15
15
  verifyChallengeData,
16
16
  setStorageValuesData,
17
+ getRestrictedCountriesData,
17
18
  } from "./testunits/communicator/requests";
18
19
  import {communicatorTestData} from "./testunits/communicator/general";
19
20
 
@@ -102,4 +103,9 @@ describe('Communicator requests', () => {
102
103
  const setStorageValuesRequestData = await communicator.setStorageValues(setStorageValuesData);
103
104
  expect(setStorageValuesRequestData).toMatchSnapshot();
104
105
  });
106
+
107
+ test('getRestrictedCountries', async () => {
108
+ const getRestrictedCountriesRequestData = await communicator.getRestrictedCountries(getRestrictedCountriesData);
109
+ expect(getRestrictedCountriesRequestData).toMatchSnapshot();
110
+ });
105
111
  });
@@ -1,13 +1,9 @@
1
1
  import {accountTrackerInitPropsNormal} from "./general";
2
2
 
3
3
  const phoneVerifyEvents = {
4
- ga4: {
5
- action: 'verify_contact',
6
- event: {
7
- contact: 'phone',
8
- origin: accountTrackerInitPropsNormal.origin,
9
- send_to: accountTrackerInitPropsNormal.ga4Id,
10
- },
4
+ gtm: {
5
+ event: 'phone',
6
+ origin: accountTrackerInitPropsNormal.origin,
11
7
  },
12
8
  linkedIn: {
13
9
  action: 'track',
@@ -18,13 +14,9 @@ const phoneVerifyEvents = {
18
14
  };
19
15
 
20
16
  const emailVerifyEvents = {
21
- ga4: {
22
- action: 'verify_contact',
23
- event: {
24
- contact: 'email',
25
- origin: accountTrackerInitPropsNormal.origin,
26
- send_to: accountTrackerInitPropsNormal.ga4Id,
27
- },
17
+ gtm: {
18
+ event: 'email',
19
+ origin: accountTrackerInitPropsNormal.origin,
28
20
  },
29
21
  linkedIn: {
30
22
  action: 'track',
@@ -1,6 +1,6 @@
1
1
  const accountTrackerInitPropsNormal = {
2
2
  origin: '_origin_',
3
- ga4Id: '_ga4Id_',
3
+ gtmId: '_gtmId_'
4
4
  };
5
5
 
6
6
  export {
@@ -1,13 +1,17 @@
1
- import {
1
+ import type {
2
2
  TCreateSessionRequestData,
3
- TEmailUpdateRequestData, TGetCurrentUserProfileRequestData, TRegistrationRequestData,
3
+ TEmailUpdateRequestData,
4
+ TGetCurrentUserProfileRequestData,
5
+ TGetRestrictedCountriesData,
6
+ TRegistrationRequestData,
4
7
  TSetupChallengeRequestData,
5
8
  TSignInByMobileRequestData,
6
9
  TSignUpByMobileRequestData,
7
- TVerifyChallengeRequestData,
8
10
  TStorageRequestData,
11
+ TVerifyChallengeRequestData,
9
12
  } from "../../../src/types";
10
13
  import {communicatorTestData} from "./general";
14
+ import {CountryTypeEnum} from "../../../src/enums";
11
15
 
12
16
  const signInData: TSignInByMobileRequestData = {
13
17
  phoneNumber: communicatorTestData.phoneNumber,
@@ -59,6 +63,10 @@ const setStorageValuesData: TStorageRequestData = {
59
63
  origin: communicatorTestData.origin,
60
64
  };
61
65
 
66
+ const getRestrictedCountriesData: TGetRestrictedCountriesData = {
67
+ entityType: CountryTypeEnum.GLOBAL
68
+ };
69
+
62
70
  export {
63
71
  signInData,
64
72
  signUpData,
@@ -69,4 +77,5 @@ export {
69
77
  getCurrentUserProfileData,
70
78
  registrationData,
71
79
  setStorageValuesData,
80
+ getRestrictedCountriesData,
72
81
  };