@tap-payments/auth-jsconnect 2.1.24-test → 2.1.26-test

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 (94) hide show
  1. package/build/@types/app.d.ts +17 -1
  2. package/build/@types/app.js +1 -0
  3. package/build/@types/form.d.ts +13 -2
  4. package/build/api/data.d.ts +8 -0
  5. package/build/api/data.js +16 -0
  6. package/build/api/entity.d.ts +2 -2
  7. package/build/api/index.d.ts +6 -0
  8. package/build/api/individual.d.ts +4 -0
  9. package/build/app/rootReducer.d.ts +1 -0
  10. package/build/app/rootReducer.js +3 -1
  11. package/build/app/store.d.ts +2 -0
  12. package/build/constants/api.d.ts +2 -0
  13. package/build/constants/api.js +5 -1
  14. package/build/constants/app.d.ts +7 -0
  15. package/build/constants/app.js +44 -0
  16. package/build/features/app/brand/brandStore.d.ts +97 -0
  17. package/build/features/app/brand/brandStore.js +618 -0
  18. package/build/features/app/entity/entityStore.js +52 -30
  19. package/build/features/brand/Brand.d.ts +7 -0
  20. package/build/features/brand/Brand.js +69 -0
  21. package/build/features/brand/index.d.ts +1 -0
  22. package/build/features/brand/index.js +1 -0
  23. package/build/features/brand/screens/BrandActivities/ActivitiesList.d.ts +91 -0
  24. package/build/features/brand/screens/BrandActivities/ActivitiesList.js +168 -0
  25. package/build/features/brand/screens/BrandActivities/BrandActivities.d.ts +5 -0
  26. package/build/features/brand/screens/BrandActivities/BrandActivities.js +72 -0
  27. package/build/features/brand/screens/BrandActivities/CustomerBase.d.ts +82 -0
  28. package/build/features/brand/screens/BrandActivities/CustomerBase.js +144 -0
  29. package/build/features/brand/screens/BrandActivities/ExpectedCustomers.d.ts +8 -0
  30. package/build/features/brand/screens/BrandActivities/ExpectedCustomers.js +98 -0
  31. package/build/features/brand/screens/BrandActivities/ExpectedSalesRange.d.ts +8 -0
  32. package/build/features/brand/screens/BrandActivities/ExpectedSalesRange.js +127 -0
  33. package/build/features/brand/screens/BrandActivities/OperationStartDate.d.ts +20 -0
  34. package/build/features/brand/screens/BrandActivities/OperationStartDate.js +45 -0
  35. package/build/features/brand/screens/BrandActivities/RefundPolicy.d.ts +36 -0
  36. package/build/features/brand/screens/BrandActivities/RefundPolicy.js +84 -0
  37. package/build/features/brand/screens/BrandActivities/TAC.d.ts +6 -0
  38. package/build/features/brand/screens/BrandActivities/TAC.js +87 -0
  39. package/build/features/brand/screens/BrandActivities/TransactionPolicy.d.ts +3 -0
  40. package/build/features/brand/screens/BrandActivities/TransactionPolicy.js +44 -0
  41. package/build/features/brand/screens/BrandActivities/index.d.ts +2 -0
  42. package/build/features/brand/screens/BrandActivities/index.js +2 -0
  43. package/build/features/brand/screens/BrandActivities/validation.d.ts +71 -0
  44. package/build/features/brand/screens/BrandActivities/validation.js +21 -0
  45. package/build/features/brand/screens/BrandInfo/BrandInfo.d.ts +5 -0
  46. package/build/features/brand/screens/BrandInfo/BrandInfo.js +72 -0
  47. package/build/features/brand/screens/BrandInfo/BrandName.d.ts +8 -0
  48. package/build/features/brand/screens/BrandInfo/BrandName.js +142 -0
  49. package/build/features/brand/screens/BrandInfo/SalesChannels.d.ts +5 -0
  50. package/build/features/brand/screens/BrandInfo/SalesChannels.js +30 -0
  51. package/build/features/brand/screens/BrandInfo/Segments.d.ts +8 -0
  52. package/build/features/brand/screens/BrandInfo/Segments.js +83 -0
  53. package/build/features/brand/screens/BrandInfo/TeamSize.d.ts +8 -0
  54. package/build/features/brand/screens/BrandInfo/TeamSize.js +83 -0
  55. package/build/features/brand/screens/BrandInfo/index.d.ts +2 -0
  56. package/build/features/brand/screens/BrandInfo/index.js +2 -0
  57. package/build/features/brand/screens/BrandInfo/validation.d.ts +41 -0
  58. package/build/features/brand/screens/BrandInfo/validation.js +106 -0
  59. package/build/features/brand/screens/ResetPasswordSuccess/ResetPasswordSuccess.d.ts +5 -0
  60. package/build/features/brand/screens/ResetPasswordSuccess/ResetPasswordSuccess.js +9 -0
  61. package/build/features/brand/screens/ResetPasswordSuccess/index.d.ts +3 -0
  62. package/build/features/brand/screens/ResetPasswordSuccess/index.js +2 -0
  63. package/build/features/brand/screens/Success/Success.d.ts +5 -0
  64. package/build/features/brand/screens/Success/Success.js +20 -0
  65. package/build/features/brand/screens/Success/index.d.ts +3 -0
  66. package/build/features/brand/screens/Success/index.js +2 -0
  67. package/build/features/brand/screens/SuccessWithFlowButtons/SuccessWithFlowButtons.d.ts +3 -0
  68. package/build/features/brand/screens/SuccessWithFlowButtons/SuccessWithFlowButtons.js +117 -0
  69. package/build/features/brand/screens/SuccessWithFlowButtons/index.d.ts +2 -0
  70. package/build/features/brand/screens/SuccessWithFlowButtons/index.js +2 -0
  71. package/build/features/brand/screens/Verify/OTPInput.d.ts +7 -0
  72. package/build/features/brand/screens/Verify/OTPInput.js +47 -0
  73. package/build/features/brand/screens/Verify/Verify.d.ts +5 -0
  74. package/build/features/brand/screens/Verify/Verify.js +91 -0
  75. package/build/features/brand/screens/Verify/index.d.ts +2 -0
  76. package/build/features/brand/screens/Verify/index.js +2 -0
  77. package/build/features/brand/screens/Verify/validation.d.ts +8 -0
  78. package/build/features/brand/screens/Verify/validation.js +4 -0
  79. package/build/features/business/screens/Activities/ActivitiesList.d.ts +1 -1
  80. package/build/features/business/screens/Customers/CustomerLocations.d.ts +1 -1
  81. package/build/features/connect/screens/Merchant/validation.js +2 -2
  82. package/build/features/entity/screens/EntityCapital/ActivityList.d.ts +1 -1
  83. package/build/features/entity/screens/EntityCapital/ActivityList.js +4 -1
  84. package/build/features/entity/screens/EntityName/EntityTypeList.d.ts +1 -1
  85. package/build/features/entity/screens/EntityName/EntityTypeList.js +3 -3
  86. package/build/features/featuresScreens.d.ts +1 -0
  87. package/build/features/featuresScreens.js +29 -0
  88. package/build/features/shared/Address/CountryList.d.ts +1 -1
  89. package/build/features/shared/Address/InputSelect.d.ts +1 -1
  90. package/build/features/shared/Input/Input.d.ts +1 -1
  91. package/build/hooks/useAppDispatch.d.ts +1 -0
  92. package/build/index.d.ts +3 -2
  93. package/build/index.js +4 -1
  94. package/package.json +1 -1
@@ -124,12 +124,27 @@ export interface Occupation {
124
124
  en: string;
125
125
  };
126
126
  }
127
+ export interface TeamSize {
128
+ id: string;
129
+ name: {
130
+ ar: string;
131
+ en: string;
132
+ };
133
+ }
127
134
  export interface MonthlyIncome extends SourceOfIncome {
128
135
  range: {
129
136
  ar: string;
130
137
  en: string;
131
138
  };
132
139
  }
140
+ export interface Segment {
141
+ id: string;
142
+ code: string;
143
+ name: {
144
+ ar: string;
145
+ en: string;
146
+ };
147
+ }
133
148
  export interface AppInfo {
134
149
  name: string;
135
150
  identifier?: string;
@@ -221,7 +236,8 @@ export declare enum FlowsTypes {
221
236
  TAX = "tax",
222
237
  ENTITY = "entity",
223
238
  OTP = "otp",
224
- AUTH = "auth"
239
+ AUTH = "auth",
240
+ BRAND = "brand"
225
241
  }
226
242
  export declare type FlowInfo = {
227
243
  name: string;
@@ -26,6 +26,7 @@ export var FlowsTypes;
26
26
  FlowsTypes["ENTITY"] = "entity";
27
27
  FlowsTypes["OTP"] = "otp";
28
28
  FlowsTypes["AUTH"] = "auth";
29
+ FlowsTypes["BRAND"] = "brand";
29
30
  })(FlowsTypes || (FlowsTypes = {}));
30
31
  export var AuthForType;
31
32
  (function (AuthForType) {
@@ -1,4 +1,4 @@
1
- import { Activity, BrandInfo, CountryCode, CustomerLocation, ExpectedCustomer, ExpectedSaleRange, License, MonthlyIncome, Occupation, SaleChannel, SourceOfIncome } from './app';
1
+ import { Activity, BrandInfo, CountryCode, CustomerLocation, ExpectedCustomer, ExpectedSaleRange, License, MonthlyIncome, Occupation, SaleChannel, Segment, SourceOfIncome, TeamSize } from './app';
2
2
  export declare type MobileFormValues = {
3
3
  mobile: string | null;
4
4
  countryCode: CountryCode;
@@ -32,10 +32,21 @@ export declare type IndividualFormValues = {
32
32
  };
33
33
  export declare type BrandFormValues = {
34
34
  brandName: string;
35
+ segment?: Segment | undefined;
36
+ teamSize?: TeamSize | undefined;
35
37
  salesChannels: Array<SaleChannel>;
36
- termAndConditionChecked: boolean;
38
+ termAndConditionChecked?: boolean;
37
39
  selectedBrandItem: BrandInfo;
38
40
  };
41
+ export declare type BrandActivitiesFormValues = {
42
+ activities: Array<Activity>;
43
+ customerLocations: Array<CustomerLocation>;
44
+ expectedCustomer: ExpectedCustomer | undefined;
45
+ expectedSale: ExpectedSaleRange | undefined;
46
+ termAndConditionChecked: boolean;
47
+ refundPolicy: boolean;
48
+ transactionPolicy: boolean;
49
+ };
39
50
  export declare type BusinessTypeFormValues = {
40
51
  licenseNumber: string;
41
52
  entityLegalName?: string;
@@ -2,6 +2,12 @@ import { AxiosRequestConfig } from 'axios';
2
2
  declare type GetOccupationBody = {
3
3
  page: number;
4
4
  };
5
+ declare type GetSegmentsBody = {
6
+ page: number;
7
+ };
8
+ declare type GetTeamSizeBody = {
9
+ page: number;
10
+ };
5
11
  declare type GetMonthlyIncomeBody = {
6
12
  page: number;
7
13
  country_code: Array<string>;
@@ -36,6 +42,8 @@ declare const dataService: {
36
42
  getSourceOfIncome: (data: GetSourceOfIncomeBody) => Promise<any>;
37
43
  getMonthlyIncome: (data: GetMonthlyIncomeBody) => Promise<any>;
38
44
  getOccupation: (data: GetOccupationBody) => Promise<any>;
45
+ getSegments: (data: GetSegmentsBody) => Promise<any>;
46
+ getTeamSize: (data: GetTeamSizeBody) => Promise<any>;
39
47
  getActivities: (config?: AxiosRequestConfig) => Promise<any>;
40
48
  };
41
49
  export { dataService };
package/build/api/data.js CHANGED
@@ -63,6 +63,20 @@ var getOccupation = function (data) {
63
63
  var getActivities = function (config) {
64
64
  return httpClient(__assign({ method: 'post', url: "".concat(ENDPOINT_PATHS.RETRIEVE_ACTIVITIES_LIST_PATH) }, config));
65
65
  };
66
+ var getSegments = function (data) {
67
+ return httpClient({
68
+ method: 'post',
69
+ url: "".concat(ENDPOINT_PATHS.SEGMENTS_PATH),
70
+ data: data
71
+ });
72
+ };
73
+ var getTeamSize = function (data) {
74
+ return httpClient({
75
+ method: 'post',
76
+ url: "".concat(ENDPOINT_PATHS.TEAM_SIZE_PATH),
77
+ data: data
78
+ });
79
+ };
66
80
  var dataService = {
67
81
  getChannelsOfServices: getChannelsOfServices,
68
82
  getCustomerBases: getCustomerBases,
@@ -71,6 +85,8 @@ var dataService = {
71
85
  getSourceOfIncome: getSourceOfIncome,
72
86
  getMonthlyIncome: getMonthlyIncome,
73
87
  getOccupation: getOccupation,
88
+ getSegments: getSegments,
89
+ getTeamSize: getTeamSize,
74
90
  getActivities: getActivities
75
91
  };
76
92
  export { dataService };
@@ -76,8 +76,8 @@ export declare type UpdateEntityBody = {
76
76
  type?: string;
77
77
  AOA_file_id?: string;
78
78
  capital?: {
79
- paid: string;
80
- shares: {
79
+ paid?: string;
80
+ shares?: {
81
81
  count: string;
82
82
  value: string;
83
83
  };
@@ -88,6 +88,12 @@ declare const API: {
88
88
  getOccupation: (data: {
89
89
  page: number;
90
90
  }) => Promise<any>;
91
+ getSegments: (data: {
92
+ page: number;
93
+ }) => Promise<any>;
94
+ getTeamSize: (data: {
95
+ page: number;
96
+ }) => Promise<any>;
91
97
  getActivities: (config?: import("axios").AxiosRequestConfig<any> | undefined) => Promise<any>;
92
98
  };
93
99
  individualService: {
@@ -51,6 +51,10 @@ export declare type UpdateBrandBody = {
51
51
  }>;
52
52
  };
53
53
  };
54
+ segment?: {
55
+ type: string;
56
+ team: string;
57
+ };
54
58
  term?: Array<string>;
55
59
  step_name?: string;
56
60
  encryption_contract?: Array<string>;
@@ -9,5 +9,6 @@ declare const rootReducer: {
9
9
  signIn: import("redux").Reducer<import("../features/app/signIn/signInStore").SignInState, import("redux").AnyAction>;
10
10
  entity: import("redux").Reducer<import("../features/app/entity/entityStore").EntityState, import("redux").AnyAction>;
11
11
  auth: import("redux").Reducer<import("../features/app/auth/authStore").AuthState, import("redux").AnyAction>;
12
+ brand: import("redux").Reducer<import("../features/app/brand/brandStore").BrandState, import("redux").AnyAction>;
12
13
  };
13
14
  export default rootReducer;
@@ -8,6 +8,7 @@ import password from '../features/app/password/passwordStore';
8
8
  import signIn from '../features/app/signIn/signInStore';
9
9
  import entity from '../features/app/entity/entityStore';
10
10
  import auth from '../features/app/auth/authStore';
11
+ import brand from '../features/app/brand/brandStore';
11
12
  var rootReducer = {
12
13
  settings: settings,
13
14
  connect: connect,
@@ -18,6 +19,7 @@ var rootReducer = {
18
19
  password: password,
19
20
  signIn: signIn,
20
21
  entity: entity,
21
- auth: auth
22
+ auth: auth,
23
+ brand: brand
22
24
  };
23
25
  export default rootReducer;
@@ -10,6 +10,7 @@ export declare const store: import("@reduxjs/toolkit").EnhancedStore<{
10
10
  signIn: import("../features/app/signIn/signInStore").SignInState;
11
11
  entity: import("../features/app/entity/entityStore").EntityState;
12
12
  auth: import("../features/app/auth/authStore").AuthState;
13
+ brand: import("../features/app/brand/brandStore").BrandState;
13
14
  }, import("redux").AnyAction, import("@reduxjs/toolkit").MiddlewareArray<[import("@reduxjs/toolkit").ThunkMiddleware<{
14
15
  settings: import("./settings").SettingsState;
15
16
  connect: import("../features/app/connect/connectStore").ConnectState;
@@ -21,6 +22,7 @@ export declare const store: import("@reduxjs/toolkit").EnhancedStore<{
21
22
  signIn: import("../features/app/signIn/signInStore").SignInState;
22
23
  entity: import("../features/app/entity/entityStore").EntityState;
23
24
  auth: import("../features/app/auth/authStore").AuthState;
25
+ brand: import("../features/app/brand/brandStore").BrandState;
24
26
  }, import("redux").AnyAction, undefined>]>>;
25
27
  export declare type AppDispatch = typeof store.dispatch;
26
28
  export declare type RootState = ReturnType<typeof store.getState>;
@@ -38,4 +38,6 @@ export declare const ENDPOINT_PATHS: {
38
38
  RETRIEVE_ACTIVITIES_LIST_PATH: string;
39
39
  DOCUMENT: string;
40
40
  CREATE_AUTH_NID: string;
41
+ SEGMENTS_PATH: string;
42
+ TEAM_SIZE_PATH: string;
41
43
  };
@@ -37,6 +37,8 @@ var CONNECT_PATH = '/connect';
37
37
  var CREATE_AUTH_NID_PATH = "".concat(CONNECT_PATH, "/auth");
38
38
  var VERIFY_AUTH_OTP_PATH = "".concat(CONNECT_PATH, "/auth");
39
39
  var DOCUMENT_PATH = '/document';
40
+ var SEGMENTS_PATH = '/businessSegment/list';
41
+ var TEAM_SIZE_PATH = '/businessSegment/team/list';
40
42
  var ADDRESS_PATH = '/address';
41
43
  export var ENDPOINT_PATHS = {
42
44
  ADDRESS_PATH: ADDRESS_PATH,
@@ -77,5 +79,7 @@ export var ENDPOINT_PATHS = {
77
79
  VERIFY_AUTH_OTP: VERIFY_AUTH_OTP_PATH,
78
80
  RETRIEVE_ACTIVITIES_LIST_PATH: RETRIEVE_ACTIVITIES_LIST_PATH,
79
81
  DOCUMENT: DOCUMENT_PATH,
80
- CREATE_AUTH_NID: CREATE_AUTH_NID_PATH
82
+ CREATE_AUTH_NID: CREATE_AUTH_NID_PATH,
83
+ SEGMENTS_PATH: SEGMENTS_PATH,
84
+ TEAM_SIZE_PATH: TEAM_SIZE_PATH
81
85
  };
@@ -24,6 +24,7 @@ export declare const TAX_SCREENS_NAVIGATION: Array<ScreenStepNavigation>;
24
24
  export declare const SigIn_SCREENS_NAVIGATION: Array<ScreenStepNavigation>;
25
25
  export declare const ENTITY_SCREENS_NAVIGATION: Array<ScreenStepNavigation>;
26
26
  export declare const AUTH_SCREENS_NAVIGATION: Array<ScreenStepNavigation>;
27
+ export declare const BRAND_SCREENS_NAVIGATION: Array<ScreenStepNavigation>;
27
28
  export declare const DefaultDeviceInfo: {
28
29
  source: string;
29
30
  device: {
@@ -134,6 +135,12 @@ export declare const ENTITY_STEP_NAMES: {
134
135
  ENTITY_INFO: string;
135
136
  ENTITY_SUCCESS: string;
136
137
  };
138
+ export declare const BRAND_STEP_NAMES: {
139
+ PHONE_AUTH: string;
140
+ BRAND_INFO: string;
141
+ BRAND_ACTIVITIES: string;
142
+ BRAND_SUCCESS: string;
143
+ };
137
144
  export declare const RSA_FRONTEND_MW_PUBLIC_KEY = "-----BEGIN PUBLIC KEY-----\nMIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCgC9kH1SQvjbXAUXd0PbrDUG8P\nLhRig9pJNBmdQBZjihuaxfkzYu6ToMbIMAfmYgVgQw338/y7aQ8X3m03CXNIlkxo\nOwxKCA8ymKsZQptXJn9IxlPO7yjoFgTFBrpmTgvcC4XO1uoUYTAPq3szK8kj4zgT\nucWG1hSKsOdRU7sl/wIDAQAB\n-----END PUBLIC KEY-----";
138
145
  export declare const ENCRYPTION_FLAG = "encryption_contract";
139
146
  export declare const BACKEND_ENCRYPTION_FLAG = "backend_encryption_contract";
@@ -359,6 +359,44 @@ export var AUTH_SCREENS_NAVIGATION = [
359
359
  order: 2
360
360
  }
361
361
  ];
362
+ export var BRAND_SCREENS_NAVIGATION = [
363
+ {
364
+ name: 'BRAND_VERIFY_STEP',
365
+ next: 'BRAND_INFO_STEP',
366
+ prev: '',
367
+ order: 1
368
+ },
369
+ {
370
+ name: 'BRAND_INFO_STEP',
371
+ next: 'BRAND_ACTIVITIES_STEP',
372
+ prev: '',
373
+ order: 2
374
+ },
375
+ {
376
+ name: 'BRAND_ACTIVITIES_STEP',
377
+ next: 'BRAND_DETAILS_SUCCESS_STEP',
378
+ prev: 'BRAND_INFO_STEP',
379
+ order: 3
380
+ },
381
+ {
382
+ name: 'BRAND_DETAILS_SUCCESS_STEP',
383
+ next: 'BRAND_SUCCESS_FOUR_FLOWS_BUTTONS_STEP',
384
+ prev: 'BRAND_ACTIVITIES_STEP',
385
+ order: 4
386
+ },
387
+ {
388
+ name: 'BRAND_SUCCESS_FOUR_FLOWS_BUTTONS_STEP',
389
+ next: 'BRAND_RESET_PASSWORD_SUCCESS',
390
+ prev: '',
391
+ order: 5
392
+ },
393
+ {
394
+ name: 'BRAND_RESET_PASSWORD_SUCCESS',
395
+ next: '',
396
+ prev: '',
397
+ order: 5
398
+ }
399
+ ];
362
400
  export var DefaultDeviceInfo = {
363
401
  source: 'browser',
364
402
  device: {
@@ -469,6 +507,12 @@ export var ENTITY_STEP_NAMES = {
469
507
  ENTITY_INFO: 'entity_info',
470
508
  ENTITY_SUCCESS: 'entity_completed'
471
509
  };
510
+ export var BRAND_STEP_NAMES = {
511
+ PHONE_AUTH: 'brand_phone_auth',
512
+ BRAND_INFO: 'brand_info',
513
+ BRAND_ACTIVITIES: 'band_activities',
514
+ BRAND_SUCCESS: 'brand_completed'
515
+ };
472
516
  export var RSA_FRONTEND_MW_PUBLIC_KEY = "-----BEGIN PUBLIC KEY-----\nMIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCgC9kH1SQvjbXAUXd0PbrDUG8P\nLhRig9pJNBmdQBZjihuaxfkzYu6ToMbIMAfmYgVgQw338/y7aQ8X3m03CXNIlkxo\nOwxKCA8ymKsZQptXJn9IxlPO7yjoFgTFBrpmTgvcC4XO1uoUYTAPq3szK8kj4zgT\nucWG1hSKsOdRU7sl/wIDAQAB\n-----END PUBLIC KEY-----";
473
517
  export var ENCRYPTION_FLAG = 'encryption_contract';
474
518
  export var BACKEND_ENCRYPTION_FLAG = 'backend_encryption_contract';
@@ -0,0 +1,97 @@
1
+ import { RootState } from '../../../app/store';
2
+ import { BrandActivitiesFormValues, BrandFormValues, FlowsTypes, OTPFormValues, ResponseData, SharedState } from '../../../@types';
3
+ import { CancelToken } from 'axios';
4
+ export declare const verifyLeadToken: import("@reduxjs/toolkit").AsyncThunk<{
5
+ data: any;
6
+ boardResponse: {
7
+ user: any;
8
+ brand: any;
9
+ entity: any;
10
+ bank_account: any;
11
+ merchant: any;
12
+ name: any;
13
+ contact: any;
14
+ flows: any;
15
+ };
16
+ salesChannels: any;
17
+ segmentsList: any;
18
+ teamSizeList: any;
19
+ token: string;
20
+ }, string, {}>;
21
+ export declare const resendOTP: import("@reduxjs/toolkit").AsyncThunk<{
22
+ data: any;
23
+ }, void, {}>;
24
+ export declare const verifyBrandLeadOTP: import("@reduxjs/toolkit").AsyncThunk<{
25
+ data: any;
26
+ boardResponse: {
27
+ user: any;
28
+ brand: any;
29
+ entity: any;
30
+ bank_account: any;
31
+ merchant: any;
32
+ name: any;
33
+ contact: any;
34
+ flows: any;
35
+ };
36
+ salesChannels: any;
37
+ segmentsList: any;
38
+ teamSizeList: any;
39
+ formData: OTPFormValues;
40
+ }, OTPFormValues, {}>;
41
+ export declare const retrieveBoardDetails: import("@reduxjs/toolkit").AsyncThunk<{
42
+ data: any;
43
+ }, string, {}>;
44
+ export declare const checkBrandNameAvailability: import("@reduxjs/toolkit").AsyncThunk<{
45
+ response: any;
46
+ formData: {
47
+ name: string;
48
+ };
49
+ } | undefined, {
50
+ name: string;
51
+ cancelToken: CancelToken;
52
+ onSuccess?: (() => void) | undefined;
53
+ }, {}>;
54
+ export declare const updateBrand: import("@reduxjs/toolkit").AsyncThunk<{
55
+ data: any;
56
+ formData: BrandFormValues;
57
+ }, BrandFormValues, {}>;
58
+ export declare const retrieveEntityList: import("@reduxjs/toolkit").AsyncThunk<any, {
59
+ leadId: string;
60
+ }, {}>;
61
+ export declare const updateBrandActivities: import("@reduxjs/toolkit").AsyncThunk<{
62
+ data: any;
63
+ formData: BrandActivitiesFormValues;
64
+ }, BrandActivitiesFormValues, {}>;
65
+ export declare const retrieveDataList: import("@reduxjs/toolkit").AsyncThunk<{
66
+ customerBases: any;
67
+ expectedSales: any;
68
+ expectedCustomerSales: any;
69
+ countryISO2: string;
70
+ }, void, {}>;
71
+ export declare const updateBoardSuccess: import("@reduxjs/toolkit").AsyncThunk<{
72
+ response: any;
73
+ formData: void;
74
+ } | undefined, void, {}>;
75
+ declare type VerifyData = {
76
+ token: string;
77
+ };
78
+ export interface BrandData {
79
+ verify: ResponseData & VerifyData;
80
+ otpData: OTPFormValues & ResponseData;
81
+ brandData: BrandFormValues & ResponseData;
82
+ brandActivities: BrandActivitiesFormValues & ResponseData;
83
+ flowName: FlowsTypes;
84
+ }
85
+ export interface BrandState extends SharedState<BrandData> {
86
+ customLoading?: boolean;
87
+ uploading?: boolean;
88
+ }
89
+ export declare const brandSlice: import("@reduxjs/toolkit").Slice<BrandState, {
90
+ clearError: (state: BrandState) => void;
91
+ stopLoader: (state: BrandState) => void;
92
+ resetOTPScreen: (state: BrandState) => void;
93
+ }, "brand/store">;
94
+ export declare const clearError: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<string>, stopLoader: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<string>, resetOTPScreen: import("@reduxjs/toolkit").ActionCreatorWithoutPayload<string>;
95
+ declare const _default: import("redux").Reducer<BrandState, import("redux").AnyAction>;
96
+ export default _default;
97
+ export declare const brandSelector: (state: RootState) => BrandState;