@tap-payments/auth-jsconnect 2.1.23-test → 2.1.25-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.
- package/build/@types/app.d.ts +48 -1
- package/build/@types/app.js +12 -0
- package/build/@types/form.d.ts +24 -8
- package/build/api/axios.js +2 -2
- package/build/api/data.d.ts +8 -0
- package/build/api/data.js +16 -0
- package/build/api/entity.d.ts +28 -1
- package/build/api/entity.js +26 -1
- package/build/api/index.d.ts +13 -3
- package/build/api/index.js +2 -2
- package/build/api/individual.d.ts +4 -0
- package/build/api/location.d.ts +5 -0
- package/build/api/location.js +19 -0
- package/build/app/rootReducer.d.ts +1 -0
- package/build/app/rootReducer.js +3 -1
- package/build/app/settings.js +1 -1
- package/build/app/store.d.ts +2 -0
- package/build/assets/locales/ar.json +21 -1
- package/build/assets/locales/en.json +21 -1
- package/build/components/SimpleList/SimpleList.d.ts +2 -1
- package/build/components/SimpleList/SimpleList.js +22 -10
- package/build/constants/api.d.ts +3 -0
- package/build/constants/api.js +7 -1
- package/build/constants/app.d.ts +7 -1
- package/build/constants/app.js +51 -8
- package/build/constants/validation.d.ts +1 -0
- package/build/constants/validation.js +1 -0
- package/build/features/app/brand/brandStore.d.ts +97 -0
- package/build/features/app/brand/brandStore.js +618 -0
- package/build/features/app/entity/entityStore.d.ts +11 -23
- package/build/features/app/entity/entityStore.js +212 -295
- package/build/features/bank/screens/SuccessWithFlowButtons/SuccessWithFlowButtons.js +3 -2
- package/build/features/brand/Brand.d.ts +7 -0
- package/build/features/brand/Brand.js +69 -0
- package/build/features/brand/index.d.ts +1 -0
- package/build/features/brand/index.js +1 -0
- package/build/features/{entity/screens/Customers/CustomerLocations.d.ts → brand/screens/BrandActivities/ActivitiesList.d.ts} +34 -61
- package/build/features/{entity/screens/EntityInfoConfirm → brand/screens/BrandActivities}/ActivitiesList.js +59 -40
- package/build/features/brand/screens/BrandActivities/BrandActivities.d.ts +5 -0
- package/build/features/brand/screens/BrandActivities/BrandActivities.js +72 -0
- package/build/features/brand/screens/BrandActivities/CustomerBase.d.ts +82 -0
- package/build/features/{entity/screens/Customers/CustomerLocations.js → brand/screens/BrandActivities/CustomerBase.js} +8 -35
- package/build/features/{entity/screens/Customers → brand/screens/BrandActivities}/ExpectedCustomers.d.ts +0 -0
- package/build/features/{entity/screens/Customers → brand/screens/BrandActivities}/ExpectedCustomers.js +6 -6
- package/build/features/{entity/screens/Customers → brand/screens/BrandActivities}/ExpectedSalesRange.d.ts +0 -0
- package/build/features/{entity/screens/Customers → brand/screens/BrandActivities}/ExpectedSalesRange.js +6 -6
- package/build/features/brand/screens/BrandActivities/OperationStartDate.d.ts +20 -0
- package/build/features/brand/screens/BrandActivities/OperationStartDate.js +45 -0
- package/build/features/{entity/screens/Customers → brand/screens/BrandActivities}/RefundPolicy.d.ts +0 -0
- package/build/features/{entity/screens/Customers → brand/screens/BrandActivities}/RefundPolicy.js +2 -2
- package/build/features/brand/screens/BrandActivities/TAC.d.ts +6 -0
- package/build/features/brand/screens/BrandActivities/TAC.js +87 -0
- package/build/features/{entity/screens/Customers → brand/screens/BrandActivities}/TransactionPolicy.d.ts +0 -0
- package/build/features/{entity/screens/Customers → brand/screens/BrandActivities}/TransactionPolicy.js +0 -0
- package/build/features/brand/screens/BrandActivities/index.d.ts +2 -0
- package/build/features/brand/screens/BrandActivities/index.js +2 -0
- package/build/features/brand/screens/BrandActivities/validation.d.ts +71 -0
- package/build/features/{entity/screens/Customers → brand/screens/BrandActivities}/validation.js +9 -1
- package/build/features/brand/screens/BrandInfo/BrandInfo.d.ts +5 -0
- package/build/features/brand/screens/BrandInfo/BrandInfo.js +72 -0
- package/build/features/brand/screens/BrandInfo/BrandName.d.ts +8 -0
- package/build/features/brand/screens/BrandInfo/BrandName.js +142 -0
- package/build/features/brand/screens/BrandInfo/SalesChannels.d.ts +5 -0
- package/build/features/brand/screens/BrandInfo/SalesChannels.js +30 -0
- package/build/features/brand/screens/BrandInfo/Segments.d.ts +8 -0
- package/build/features/brand/screens/BrandInfo/Segments.js +83 -0
- package/build/features/brand/screens/BrandInfo/TeamSize.d.ts +8 -0
- package/build/features/brand/screens/BrandInfo/TeamSize.js +83 -0
- package/build/features/brand/screens/BrandInfo/index.d.ts +2 -0
- package/build/features/brand/screens/BrandInfo/index.js +2 -0
- package/build/features/brand/screens/BrandInfo/validation.d.ts +41 -0
- package/build/features/brand/screens/BrandInfo/validation.js +106 -0
- package/build/features/brand/screens/ResetPasswordSuccess/ResetPasswordSuccess.d.ts +5 -0
- package/build/features/brand/screens/ResetPasswordSuccess/ResetPasswordSuccess.js +9 -0
- package/build/features/brand/screens/ResetPasswordSuccess/index.d.ts +3 -0
- package/build/features/brand/screens/ResetPasswordSuccess/index.js +2 -0
- package/build/features/brand/screens/Success/Success.d.ts +5 -0
- package/build/features/brand/screens/Success/Success.js +20 -0
- package/build/features/brand/screens/Success/index.d.ts +3 -0
- package/build/features/brand/screens/Success/index.js +2 -0
- package/build/features/brand/screens/SuccessWithFlowButtons/SuccessWithFlowButtons.d.ts +3 -0
- package/build/features/brand/screens/SuccessWithFlowButtons/SuccessWithFlowButtons.js +117 -0
- package/build/features/brand/screens/SuccessWithFlowButtons/index.d.ts +2 -0
- package/build/features/brand/screens/SuccessWithFlowButtons/index.js +2 -0
- package/build/features/brand/screens/Verify/OTPInput.d.ts +7 -0
- package/build/features/brand/screens/Verify/OTPInput.js +47 -0
- package/build/features/brand/screens/Verify/Verify.d.ts +5 -0
- package/build/features/brand/screens/Verify/Verify.js +91 -0
- package/build/features/brand/screens/Verify/index.d.ts +2 -0
- package/build/features/brand/screens/Verify/index.js +2 -0
- package/build/features/brand/screens/Verify/validation.d.ts +8 -0
- package/build/features/brand/screens/Verify/validation.js +4 -0
- package/build/features/business/screens/SuccessWithFlowButtons/SuccessWithFlowButtons.js +4 -2
- package/build/features/connect/screens/Merchant/validation.js +2 -2
- package/build/features/entity/screens/EntityCapital/ActivityList.d.ts +90 -0
- package/build/features/entity/screens/EntityCapital/ActivityList.js +178 -0
- package/build/features/entity/screens/EntityCapital/CapitalPaid.d.ts +5 -0
- package/build/features/entity/screens/EntityCapital/CapitalPaid.js +47 -0
- package/build/features/entity/screens/EntityCapital/CapitalShareCount.d.ts +5 -0
- package/build/features/entity/screens/EntityCapital/CapitalShareCount.js +42 -0
- package/build/features/entity/screens/EntityCapital/CapitalShareValue.d.ts +5 -0
- package/build/features/entity/screens/EntityCapital/CapitalShareValue.js +47 -0
- package/build/features/entity/screens/EntityCapital/EntityCapital.d.ts +5 -0
- package/build/features/entity/screens/EntityCapital/EntityCapital.js +75 -0
- package/build/features/entity/screens/EntityCapital/index.d.ts +2 -0
- package/build/features/entity/screens/EntityCapital/index.js +2 -0
- package/build/features/entity/screens/EntityCapital/validation.d.ts +62 -0
- package/build/features/entity/screens/EntityCapital/validation.js +25 -0
- package/build/features/entity/screens/EntityName/EntityName.d.ts +5 -0
- package/build/features/entity/screens/EntityName/EntityName.js +87 -0
- package/build/features/entity/screens/EntityName/EntityTypeList.d.ts +90 -0
- package/build/features/entity/screens/EntityName/EntityTypeList.js +151 -0
- package/build/features/entity/screens/EntityName/ExpiryDate.d.ts +19 -0
- package/build/features/entity/screens/EntityName/ExpiryDate.js +46 -0
- package/build/features/entity/screens/EntityName/IssuingDate.d.ts +19 -0
- package/build/features/entity/screens/EntityName/IssuingDate.js +46 -0
- package/build/features/entity/screens/EntityName/LegalName.d.ts +5 -0
- package/build/features/entity/screens/EntityName/LegalName.js +48 -0
- package/build/features/entity/screens/{EntityInfoConfirm → EntityName}/LicenseNumber.d.ts +0 -0
- package/build/features/entity/screens/{EntityInfoConfirm → EntityName}/LicenseNumber.js +12 -18
- package/build/features/entity/screens/EntityName/UnifiedNumber.d.ts +6 -0
- package/build/features/entity/screens/EntityName/UnifiedNumber.js +43 -0
- package/build/features/entity/screens/EntityName/index.d.ts +2 -0
- package/build/features/entity/screens/EntityName/index.js +2 -0
- package/build/features/entity/screens/EntityName/validation.d.ts +48 -0
- package/build/features/entity/screens/EntityName/validation.js +112 -0
- package/build/features/featuresScreens.d.ts +1 -0
- package/build/features/featuresScreens.js +35 -6
- package/build/features/individual/screens/SuccessWithFlowButtons/SuccessWithFlowButtons.js +4 -2
- package/build/features/password/screens/SuccessWithFlowButtons/SuccessWithFlowButtons.js +4 -2
- package/build/features/shared/AcceptancePayouts/AcceptancePayouts.js +1 -1
- package/build/features/shared/Address/Address.d.ts +11 -0
- package/build/features/shared/Address/Address.js +63 -0
- package/build/features/shared/Address/CountryList.d.ts +72 -0
- package/build/features/shared/Address/CountryList.js +89 -0
- package/build/features/{entity/screens/EntityInfoConfirm/ActivitiesList.d.ts → shared/Address/InputSelect.d.ts} +27 -11
- package/build/features/shared/Address/InputSelect.js +172 -0
- package/build/features/shared/Address/InputText.d.ts +11 -0
- package/build/features/shared/Address/InputText.js +12 -0
- package/build/features/shared/Address/index.d.ts +2 -0
- package/build/features/shared/Address/index.js +2 -0
- package/build/features/shared/Input/Input.d.ts +7 -5
- package/build/features/shared/Input/Input.js +2 -2
- package/build/features/tax/screens/SuccessWithFlowButtons/SuccessWithFlowButtons.js +4 -2
- package/build/hooks/useAppDispatch.d.ts +1 -0
- package/build/index.d.ts +3 -2
- package/build/index.js +4 -1
- package/package.json +1 -1
- package/build/api/ip.d.ts +0 -4
- package/build/api/ip.js +0 -12
- package/build/features/entity/screens/Customers/Customers.d.ts +0 -5
- package/build/features/entity/screens/Customers/Customers.js +0 -90
- package/build/features/entity/screens/Customers/index.d.ts +0 -3
- package/build/features/entity/screens/Customers/index.js +0 -2
- package/build/features/entity/screens/Customers/validation.d.ts +0 -20
- package/build/features/entity/screens/EntityInfoConfirm/Article.d.ts +0 -3
- package/build/features/entity/screens/EntityInfoConfirm/Article.js +0 -76
- package/build/features/entity/screens/EntityInfoConfirm/EntityInfo.d.ts +0 -5
- package/build/features/entity/screens/EntityInfoConfirm/EntityInfo.js +0 -84
- package/build/features/entity/screens/EntityInfoConfirm/LicenseName.d.ts +0 -5
- package/build/features/entity/screens/EntityInfoConfirm/LicenseName.js +0 -32
- package/build/features/entity/screens/EntityInfoConfirm/OperationStartDate.d.ts +0 -6
- package/build/features/entity/screens/EntityInfoConfirm/OperationStartDate.js +0 -33
- package/build/features/entity/screens/EntityInfoConfirm/index.d.ts +0 -2
- package/build/features/entity/screens/EntityInfoConfirm/index.js +0 -2
- package/build/features/entity/screens/EntityInfoConfirm/validation.d.ts +0 -141
- package/build/features/entity/screens/EntityInfoConfirm/validation.js +0 -83
package/build/constants/app.d.ts
CHANGED
|
@@ -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: {
|
|
@@ -132,9 +133,14 @@ export declare const PASSWORD_STEP_NAMES: {
|
|
|
132
133
|
export declare const ENTITY_STEP_NAMES: {
|
|
133
134
|
PHONE_AUTH: string;
|
|
134
135
|
ENTITY_INFO: string;
|
|
135
|
-
ENTITY_CUSTOMER: string;
|
|
136
136
|
ENTITY_SUCCESS: string;
|
|
137
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
|
+
};
|
|
138
144
|
export declare const RSA_FRONTEND_MW_PUBLIC_KEY = "-----BEGIN PUBLIC KEY-----\nMIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCgC9kH1SQvjbXAUXd0PbrDUG8P\nLhRig9pJNBmdQBZjihuaxfkzYu6ToMbIMAfmYgVgQw338/y7aQ8X3m03CXNIlkxo\nOwxKCA8ymKsZQptXJn9IxlPO7yjoFgTFBrpmTgvcC4XO1uoUYTAPq3szK8kj4zgT\nucWG1hSKsOdRU7sl/wIDAQAB\n-----END PUBLIC KEY-----";
|
|
139
145
|
export declare const ENCRYPTION_FLAG = "encryption_contract";
|
|
140
146
|
export declare const BACKEND_ENCRYPTION_FLAG = "backend_encryption_contract";
|
package/build/constants/app.js
CHANGED
|
@@ -310,26 +310,26 @@ export var SigIn_SCREENS_NAVIGATION = [
|
|
|
310
310
|
export var ENTITY_SCREENS_NAVIGATION = [
|
|
311
311
|
{
|
|
312
312
|
name: 'ENTITY_VERIFY_STEP',
|
|
313
|
-
next: ['
|
|
313
|
+
next: ['ENTITY_NAME_STEP', 'ENTITY_SUCCESS_FOUR_FLOWS_BUTTONS_STEP'],
|
|
314
314
|
prev: '',
|
|
315
315
|
order: 1
|
|
316
316
|
},
|
|
317
317
|
{
|
|
318
|
-
name: '
|
|
319
|
-
next: '
|
|
320
|
-
prev: '
|
|
318
|
+
name: 'ENTITY_NAME_STEP',
|
|
319
|
+
next: 'ENTITY_CAPITAL_STEP',
|
|
320
|
+
prev: '',
|
|
321
321
|
order: 2
|
|
322
322
|
},
|
|
323
323
|
{
|
|
324
|
-
name: '
|
|
324
|
+
name: 'ENTITY_CAPITAL_STEP',
|
|
325
325
|
next: 'ENTITY_DETAILS_SUCCESS_STEP',
|
|
326
|
-
prev: '
|
|
326
|
+
prev: 'ENTITY_NAME_STEP',
|
|
327
327
|
order: 3
|
|
328
328
|
},
|
|
329
329
|
{
|
|
330
330
|
name: 'ENTITY_DETAILS_SUCCESS_STEP',
|
|
331
331
|
next: 'ENTITY_SUCCESS_FOUR_FLOWS_BUTTONS_STEP',
|
|
332
|
-
prev: '
|
|
332
|
+
prev: 'ENTITY_CAPITAL_STEP',
|
|
333
333
|
order: 4
|
|
334
334
|
},
|
|
335
335
|
{
|
|
@@ -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: {
|
|
@@ -467,9 +505,14 @@ export var PASSWORD_STEP_NAMES = {
|
|
|
467
505
|
export var ENTITY_STEP_NAMES = {
|
|
468
506
|
PHONE_AUTH: 'entity_phone_auth',
|
|
469
507
|
ENTITY_INFO: 'entity_info',
|
|
470
|
-
ENTITY_CUSTOMER: 'entity_customer',
|
|
471
508
|
ENTITY_SUCCESS: 'entity_completed'
|
|
472
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
|
+
};
|
|
473
516
|
export var RSA_FRONTEND_MW_PUBLIC_KEY = "-----BEGIN PUBLIC KEY-----\nMIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCgC9kH1SQvjbXAUXd0PbrDUG8P\nLhRig9pJNBmdQBZjihuaxfkzYu6ToMbIMAfmYgVgQw338/y7aQ8X3m03CXNIlkxo\nOwxKCA8ymKsZQptXJn9IxlPO7yjoFgTFBrpmTgvcC4XO1uoUYTAPq3szK8kj4zgT\nucWG1hSKsOdRU7sl/wIDAQAB\n-----END PUBLIC KEY-----";
|
|
474
517
|
export var ENCRYPTION_FLAG = 'encryption_contract';
|
|
475
518
|
export var BACKEND_ENCRYPTION_FLAG = 'backend_encryption_contract';
|
|
@@ -5,6 +5,7 @@ export declare const VAT_ID_LENGTH = 15;
|
|
|
5
5
|
export declare const MAX_IBAN_VALUE = 34;
|
|
6
6
|
export declare const FL_NUMBER_LENGTH = 8;
|
|
7
7
|
export declare const CR_NUMBER_LENGTH = 10;
|
|
8
|
+
export declare const FL_NUMBER_ENTITY_LENGTH = 50;
|
|
8
9
|
export declare const FL_MIN_LICENSE_LENGTH = 5;
|
|
9
10
|
export declare const CR_MIN_LICENSE_LENGTH = 5;
|
|
10
11
|
export declare const KW_MIN_LICENSE_LENGTH = 3;
|
|
@@ -5,6 +5,7 @@ export var VAT_ID_LENGTH = 15;
|
|
|
5
5
|
export var MAX_IBAN_VALUE = 34;
|
|
6
6
|
export var FL_NUMBER_LENGTH = 8;
|
|
7
7
|
export var CR_NUMBER_LENGTH = 10;
|
|
8
|
+
export var FL_NUMBER_ENTITY_LENGTH = 50;
|
|
8
9
|
export var FL_MIN_LICENSE_LENGTH = 5;
|
|
9
10
|
export var CR_MIN_LICENSE_LENGTH = 5;
|
|
10
11
|
export var KW_MIN_LICENSE_LENGTH = 3;
|
|
@@ -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;
|