@tap-payments/auth-jsconnect 2.1.31-test → 2.1.33-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 +4 -0
- package/build/@types/form.d.ts +4 -4
- package/build/api/entity.d.ts +3 -1
- package/build/api/individual.d.ts +2 -1
- package/build/components/Lottie/Lottie.d.ts +209 -0
- package/build/components/Lottie/Lottie.js +3 -1
- package/build/components/Lottie/files/pulsating_circle_waves.json +236 -0
- package/build/features/app/brand/brandStore.js +3 -3
- package/build/features/app/business/businessStore.js +2 -3
- package/build/features/app/connect/connectStore.js +2 -2
- package/build/features/app/individual/individualStore.d.ts +2 -0
- package/build/features/app/individual/individualStore.js +50 -28
- package/build/features/brand/screens/BrandActivities/ExpectedSalesRange.js +1 -1
- package/build/features/business/screens/BusinessType/BusinessType.js +2 -2
- package/build/features/business/screens/BusinessType/LicenseCertificate.js +18 -20
- package/build/features/business/screens/BusinessType/validation.d.ts +6 -0
- package/build/features/business/screens/BusinessType/validation.js +13 -0
- package/build/features/business/screens/Customers/ExpectedSalesRange.js +1 -1
- package/build/features/entity/screens/EntityCapital/CapitalPaid.js +1 -1
- package/build/features/entity/screens/EntityCapital/CapitalShareValue.js +1 -1
- package/build/features/individual/screens/AdditionalIndividualInfo/CivilIDFile.js +18 -4
- package/build/features/individual/screens/AdditionalIndividualInfo/MonthlyIncome.js +1 -1
- package/build/features/individual/screens/AdditionalIndividualInfo/Occupation.js +2 -1
- package/build/features/individual/screens/AdditionalIndividualInfo/SignatureFile.js +15 -3
- package/build/features/individual/screens/AdditionalIndividualInfo/validation.d.ts +3 -3
- package/build/features/individual/screens/AdditionalIndividualInfo/validation.js +1 -1
- package/build/features/shared/PaciVerification/VerifyPACILoading.js +17 -3
- package/package.json +129 -129
package/build/@types/app.d.ts
CHANGED
package/build/@types/form.d.ts
CHANGED
|
@@ -80,7 +80,7 @@ export declare type TaxFormValues = {
|
|
|
80
80
|
vatId: string;
|
|
81
81
|
confirmPolicy: false;
|
|
82
82
|
};
|
|
83
|
-
export
|
|
83
|
+
export interface IndividualExtraFormValues extends IndividualAttachmentsFormValues {
|
|
84
84
|
occupation: Occupation | undefined;
|
|
85
85
|
sourceIncome: SourceOfIncome | undefined;
|
|
86
86
|
monthlyIncome: MonthlyIncome | undefined;
|
|
@@ -88,12 +88,12 @@ export declare type IndividualExtraFormValues = {
|
|
|
88
88
|
employerLocation: CountryCode | undefined;
|
|
89
89
|
isPEP: boolean | null;
|
|
90
90
|
isInfluencer: boolean | null;
|
|
91
|
-
}
|
|
91
|
+
}
|
|
92
92
|
export declare type IndividualAttachmentsFormValues = {
|
|
93
93
|
civilID?: string;
|
|
94
|
-
civilIDFile?:
|
|
94
|
+
civilIDFile?: File;
|
|
95
95
|
signatureFileId?: string;
|
|
96
|
-
signatureFile?:
|
|
96
|
+
signatureFile?: File;
|
|
97
97
|
civilIDUploading?: boolean;
|
|
98
98
|
signatureFileUploading?: boolean;
|
|
99
99
|
};
|
package/build/api/entity.d.ts
CHANGED
|
@@ -109,7 +109,9 @@ export declare type DocumentInfo = {
|
|
|
109
109
|
images: Array<string>;
|
|
110
110
|
};
|
|
111
111
|
export declare type DocumentUpdateBody = {
|
|
112
|
-
entity_id
|
|
112
|
+
entity_id?: boolean;
|
|
113
|
+
individual_type_id?: number;
|
|
114
|
+
country?: string;
|
|
113
115
|
documents: Array<DocumentInfo>;
|
|
114
116
|
};
|
|
115
117
|
declare const entityService: {
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { DocumentInfo } from '../api/entity';
|
|
1
2
|
export declare type BrandListBody = {
|
|
2
3
|
individual_id: string;
|
|
3
4
|
};
|
|
@@ -79,7 +80,7 @@ export declare type UpdateIndividualBody = {
|
|
|
79
80
|
};
|
|
80
81
|
is_relative_PEP?: boolean | null;
|
|
81
82
|
is_influencer?: boolean | null;
|
|
82
|
-
documents?: Array<
|
|
83
|
+
documents?: Array<DocumentInfo | undefined>;
|
|
83
84
|
occupation?: {
|
|
84
85
|
id?: string;
|
|
85
86
|
};
|
|
@@ -3663,6 +3663,215 @@ export declare const LottieAnimationFiles: {
|
|
|
3663
3663
|
})[];
|
|
3664
3664
|
markers: never[];
|
|
3665
3665
|
};
|
|
3666
|
+
readonly pulsating_circle_waves: {
|
|
3667
|
+
v: string;
|
|
3668
|
+
fr: number;
|
|
3669
|
+
ip: number;
|
|
3670
|
+
op: number;
|
|
3671
|
+
w: number;
|
|
3672
|
+
h: number;
|
|
3673
|
+
nm: string;
|
|
3674
|
+
ddd: number;
|
|
3675
|
+
assets: never[];
|
|
3676
|
+
layers: {
|
|
3677
|
+
ddd: number;
|
|
3678
|
+
ind: number;
|
|
3679
|
+
ty: number;
|
|
3680
|
+
nm: string;
|
|
3681
|
+
sr: number;
|
|
3682
|
+
ks: {
|
|
3683
|
+
o: {
|
|
3684
|
+
a: number;
|
|
3685
|
+
k: ({
|
|
3686
|
+
i: {
|
|
3687
|
+
x: number[];
|
|
3688
|
+
y: number[];
|
|
3689
|
+
};
|
|
3690
|
+
o: {
|
|
3691
|
+
x: number[];
|
|
3692
|
+
y: number[];
|
|
3693
|
+
};
|
|
3694
|
+
t: number;
|
|
3695
|
+
s: number[];
|
|
3696
|
+
} | {
|
|
3697
|
+
t: number;
|
|
3698
|
+
s: number[];
|
|
3699
|
+
i?: undefined;
|
|
3700
|
+
o?: undefined;
|
|
3701
|
+
})[];
|
|
3702
|
+
ix: number;
|
|
3703
|
+
};
|
|
3704
|
+
r: {
|
|
3705
|
+
a: number;
|
|
3706
|
+
k: number;
|
|
3707
|
+
ix: number;
|
|
3708
|
+
};
|
|
3709
|
+
p: {
|
|
3710
|
+
a: number;
|
|
3711
|
+
k: number[];
|
|
3712
|
+
ix: number;
|
|
3713
|
+
l: number;
|
|
3714
|
+
};
|
|
3715
|
+
a: {
|
|
3716
|
+
a: number;
|
|
3717
|
+
k: number[];
|
|
3718
|
+
ix: number;
|
|
3719
|
+
l: number;
|
|
3720
|
+
};
|
|
3721
|
+
s: {
|
|
3722
|
+
a: number;
|
|
3723
|
+
k: ({
|
|
3724
|
+
i: {
|
|
3725
|
+
x: number[];
|
|
3726
|
+
y: number[];
|
|
3727
|
+
};
|
|
3728
|
+
o: {
|
|
3729
|
+
x: number[];
|
|
3730
|
+
y: number[];
|
|
3731
|
+
};
|
|
3732
|
+
t: number;
|
|
3733
|
+
s: number[];
|
|
3734
|
+
} | {
|
|
3735
|
+
t: number;
|
|
3736
|
+
s: number[];
|
|
3737
|
+
i?: undefined;
|
|
3738
|
+
o?: undefined;
|
|
3739
|
+
})[];
|
|
3740
|
+
ix: number;
|
|
3741
|
+
l: number;
|
|
3742
|
+
};
|
|
3743
|
+
};
|
|
3744
|
+
ao: number;
|
|
3745
|
+
shapes: {
|
|
3746
|
+
ty: string;
|
|
3747
|
+
it: ({
|
|
3748
|
+
ind: number;
|
|
3749
|
+
ty: string;
|
|
3750
|
+
ix: number;
|
|
3751
|
+
ks: {
|
|
3752
|
+
a: number;
|
|
3753
|
+
k: {
|
|
3754
|
+
i: number[][];
|
|
3755
|
+
o: number[][];
|
|
3756
|
+
v: number[][];
|
|
3757
|
+
c: boolean;
|
|
3758
|
+
};
|
|
3759
|
+
ix: number;
|
|
3760
|
+
};
|
|
3761
|
+
nm: string;
|
|
3762
|
+
mn: string;
|
|
3763
|
+
hd: boolean;
|
|
3764
|
+
c?: undefined;
|
|
3765
|
+
o?: undefined;
|
|
3766
|
+
w?: undefined;
|
|
3767
|
+
lc?: undefined;
|
|
3768
|
+
lj?: undefined;
|
|
3769
|
+
ml?: undefined;
|
|
3770
|
+
bm?: undefined;
|
|
3771
|
+
p?: undefined;
|
|
3772
|
+
a?: undefined;
|
|
3773
|
+
s?: undefined;
|
|
3774
|
+
r?: undefined;
|
|
3775
|
+
sk?: undefined;
|
|
3776
|
+
sa?: undefined;
|
|
3777
|
+
} | {
|
|
3778
|
+
ty: string;
|
|
3779
|
+
c: {
|
|
3780
|
+
a: number;
|
|
3781
|
+
k: number[];
|
|
3782
|
+
ix: number;
|
|
3783
|
+
};
|
|
3784
|
+
o: {
|
|
3785
|
+
a: number;
|
|
3786
|
+
k: number;
|
|
3787
|
+
ix: number;
|
|
3788
|
+
};
|
|
3789
|
+
w: {
|
|
3790
|
+
a: number;
|
|
3791
|
+
k: number;
|
|
3792
|
+
ix: number;
|
|
3793
|
+
};
|
|
3794
|
+
lc: number;
|
|
3795
|
+
lj: number;
|
|
3796
|
+
ml: number;
|
|
3797
|
+
bm: number;
|
|
3798
|
+
nm: string;
|
|
3799
|
+
mn: string;
|
|
3800
|
+
hd: boolean;
|
|
3801
|
+
ind?: undefined;
|
|
3802
|
+
ix?: undefined;
|
|
3803
|
+
ks?: undefined;
|
|
3804
|
+
p?: undefined;
|
|
3805
|
+
a?: undefined;
|
|
3806
|
+
s?: undefined;
|
|
3807
|
+
r?: undefined;
|
|
3808
|
+
sk?: undefined;
|
|
3809
|
+
sa?: undefined;
|
|
3810
|
+
} | {
|
|
3811
|
+
ty: string;
|
|
3812
|
+
p: {
|
|
3813
|
+
a: number;
|
|
3814
|
+
k: number[];
|
|
3815
|
+
ix: number;
|
|
3816
|
+
};
|
|
3817
|
+
a: {
|
|
3818
|
+
a: number;
|
|
3819
|
+
k: number[];
|
|
3820
|
+
ix: number;
|
|
3821
|
+
};
|
|
3822
|
+
s: {
|
|
3823
|
+
a: number;
|
|
3824
|
+
k: number[];
|
|
3825
|
+
ix: number;
|
|
3826
|
+
};
|
|
3827
|
+
r: {
|
|
3828
|
+
a: number;
|
|
3829
|
+
k: number;
|
|
3830
|
+
ix: number;
|
|
3831
|
+
};
|
|
3832
|
+
o: {
|
|
3833
|
+
a: number;
|
|
3834
|
+
k: number;
|
|
3835
|
+
ix: number;
|
|
3836
|
+
};
|
|
3837
|
+
sk: {
|
|
3838
|
+
a: number;
|
|
3839
|
+
k: number;
|
|
3840
|
+
ix: number;
|
|
3841
|
+
};
|
|
3842
|
+
sa: {
|
|
3843
|
+
a: number;
|
|
3844
|
+
k: number;
|
|
3845
|
+
ix: number;
|
|
3846
|
+
};
|
|
3847
|
+
nm: string;
|
|
3848
|
+
ind?: undefined;
|
|
3849
|
+
ix?: undefined;
|
|
3850
|
+
ks?: undefined;
|
|
3851
|
+
mn?: undefined;
|
|
3852
|
+
hd?: undefined;
|
|
3853
|
+
c?: undefined;
|
|
3854
|
+
w?: undefined;
|
|
3855
|
+
lc?: undefined;
|
|
3856
|
+
lj?: undefined;
|
|
3857
|
+
ml?: undefined;
|
|
3858
|
+
bm?: undefined;
|
|
3859
|
+
})[];
|
|
3860
|
+
nm: string;
|
|
3861
|
+
np: number;
|
|
3862
|
+
cix: number;
|
|
3863
|
+
bm: number;
|
|
3864
|
+
ix: number;
|
|
3865
|
+
mn: string;
|
|
3866
|
+
hd: boolean;
|
|
3867
|
+
}[];
|
|
3868
|
+
ip: number;
|
|
3869
|
+
op: number;
|
|
3870
|
+
st: number;
|
|
3871
|
+
bm: number;
|
|
3872
|
+
}[];
|
|
3873
|
+
markers: never[];
|
|
3874
|
+
};
|
|
3666
3875
|
};
|
|
3667
3876
|
export declare type LottieAnimationFiles = typeof LottieAnimationFiles[keyof typeof LottieAnimationFiles];
|
|
3668
3877
|
interface LottieFileProps extends DetailedHTMLProps<HTMLAttributes<HTMLDivElement>, HTMLDivElement> {
|
|
@@ -27,11 +27,13 @@ import success from './files/success.json';
|
|
|
27
27
|
import error from './files/error.json';
|
|
28
28
|
import start_loading from './files/start_loading.json';
|
|
29
29
|
import still_loading from './files/still_loading.json';
|
|
30
|
+
import pulsating_circle_waves from './files/pulsating_circle_waves.json';
|
|
30
31
|
export var LottieAnimationFiles = {
|
|
31
32
|
success: success,
|
|
32
33
|
error: error,
|
|
33
34
|
start_loading: start_loading,
|
|
34
|
-
still_loading: still_loading
|
|
35
|
+
still_loading: still_loading,
|
|
36
|
+
pulsating_circle_waves: pulsating_circle_waves
|
|
35
37
|
};
|
|
36
38
|
var LottieFile = function (_a) {
|
|
37
39
|
var file = _a.file, width = _a.width, height = _a.height, _b = _a.loop, loop = _b === void 0 ? true : _b, props = __rest(_a, ["file", "width", "height", "loop"]);
|
|
@@ -0,0 +1,236 @@
|
|
|
1
|
+
{
|
|
2
|
+
"v": "5.7.6",
|
|
3
|
+
"fr": 60,
|
|
4
|
+
"ip": 0,
|
|
5
|
+
"op": 148,
|
|
6
|
+
"w": 530,
|
|
7
|
+
"h": 530,
|
|
8
|
+
"nm": "Searching",
|
|
9
|
+
"ddd": 0,
|
|
10
|
+
"assets": [],
|
|
11
|
+
"layers": [
|
|
12
|
+
{
|
|
13
|
+
"ddd": 0,
|
|
14
|
+
"ind": 1,
|
|
15
|
+
"ty": 4,
|
|
16
|
+
"nm": "line 2",
|
|
17
|
+
"sr": 1,
|
|
18
|
+
"ks": {
|
|
19
|
+
"o": {
|
|
20
|
+
"a": 1,
|
|
21
|
+
"k": [
|
|
22
|
+
{ "i": { "x": [0.667], "y": [1] }, "o": { "x": [0.333], "y": [0] }, "t": 30, "s": [100] },
|
|
23
|
+
{ "i": { "x": [0.667], "y": [1] }, "o": { "x": [0.333], "y": [0] }, "t": 97.184, "s": [100] },
|
|
24
|
+
{ "t": 169, "s": [0] }
|
|
25
|
+
],
|
|
26
|
+
"ix": 11
|
|
27
|
+
},
|
|
28
|
+
"r": { "a": 0, "k": 0, "ix": 10 },
|
|
29
|
+
"p": { "a": 0, "k": [264.5, 263.5, 0], "ix": 2, "l": 2 },
|
|
30
|
+
"a": { "a": 0, "k": [0.5, -100, 0], "ix": 1, "l": 2 },
|
|
31
|
+
"s": {
|
|
32
|
+
"a": 1,
|
|
33
|
+
"k": [
|
|
34
|
+
{
|
|
35
|
+
"i": { "x": [0.667, 0.667, 0.667], "y": [1, 1, 1] },
|
|
36
|
+
"o": { "x": [0.333, 0.333, 0.333], "y": [0, 0, 0] },
|
|
37
|
+
"t": 30,
|
|
38
|
+
"s": [30, 30, 100]
|
|
39
|
+
},
|
|
40
|
+
{ "t": 169, "s": [240, 240, 100] }
|
|
41
|
+
],
|
|
42
|
+
"ix": 6,
|
|
43
|
+
"l": 2
|
|
44
|
+
}
|
|
45
|
+
},
|
|
46
|
+
"ao": 0,
|
|
47
|
+
"shapes": [
|
|
48
|
+
{
|
|
49
|
+
"ty": "gr",
|
|
50
|
+
"it": [
|
|
51
|
+
{
|
|
52
|
+
"ind": 0,
|
|
53
|
+
"ty": "sh",
|
|
54
|
+
"ix": 1,
|
|
55
|
+
"ks": {
|
|
56
|
+
"a": 0,
|
|
57
|
+
"k": {
|
|
58
|
+
"i": [
|
|
59
|
+
[60.564, 0],
|
|
60
|
+
[0, -60.564],
|
|
61
|
+
[-60.564, 0],
|
|
62
|
+
[0, 60.564]
|
|
63
|
+
],
|
|
64
|
+
"o": [
|
|
65
|
+
[-60.564, 0],
|
|
66
|
+
[0, 60.564],
|
|
67
|
+
[60.564, 0],
|
|
68
|
+
[0, -60.564]
|
|
69
|
+
],
|
|
70
|
+
"v": [
|
|
71
|
+
[0, -109.66],
|
|
72
|
+
[-109.66, 0],
|
|
73
|
+
[0, 109.66],
|
|
74
|
+
[109.66, 0]
|
|
75
|
+
],
|
|
76
|
+
"c": true
|
|
77
|
+
},
|
|
78
|
+
"ix": 2
|
|
79
|
+
},
|
|
80
|
+
"nm": "Path 1",
|
|
81
|
+
"mn": "ADBE Vector Shape - Group",
|
|
82
|
+
"hd": false
|
|
83
|
+
},
|
|
84
|
+
{
|
|
85
|
+
"ty": "st",
|
|
86
|
+
"c": { "a": 0, "k": [0.901960784314, 0.905882352941, 0.905882352941, 1], "ix": 3 },
|
|
87
|
+
"o": { "a": 0, "k": 100, "ix": 4 },
|
|
88
|
+
"w": { "a": 0, "k": 1, "ix": 5 },
|
|
89
|
+
"lc": 1,
|
|
90
|
+
"lj": 1,
|
|
91
|
+
"ml": 4,
|
|
92
|
+
"bm": 0,
|
|
93
|
+
"nm": "Stroke 1",
|
|
94
|
+
"mn": "ADBE Vector Graphic - Stroke",
|
|
95
|
+
"hd": false
|
|
96
|
+
},
|
|
97
|
+
{
|
|
98
|
+
"ty": "tr",
|
|
99
|
+
"p": { "a": 0, "k": [0.5, -100], "ix": 2 },
|
|
100
|
+
"a": { "a": 0, "k": [0, 0], "ix": 1 },
|
|
101
|
+
"s": { "a": 0, "k": [100, 100], "ix": 3 },
|
|
102
|
+
"r": { "a": 0, "k": 0, "ix": 6 },
|
|
103
|
+
"o": { "a": 0, "k": 100, "ix": 7 },
|
|
104
|
+
"sk": { "a": 0, "k": 0, "ix": 4 },
|
|
105
|
+
"sa": { "a": 0, "k": 0, "ix": 5 },
|
|
106
|
+
"nm": "Transform"
|
|
107
|
+
}
|
|
108
|
+
],
|
|
109
|
+
"nm": "Ellipse 1",
|
|
110
|
+
"np": 3,
|
|
111
|
+
"cix": 2,
|
|
112
|
+
"bm": 0,
|
|
113
|
+
"ix": 1,
|
|
114
|
+
"mn": "ADBE Vector Group",
|
|
115
|
+
"hd": false
|
|
116
|
+
}
|
|
117
|
+
],
|
|
118
|
+
"ip": 30,
|
|
119
|
+
"op": 148,
|
|
120
|
+
"st": 30,
|
|
121
|
+
"bm": 0
|
|
122
|
+
},
|
|
123
|
+
{
|
|
124
|
+
"ddd": 0,
|
|
125
|
+
"ind": 2,
|
|
126
|
+
"ty": 4,
|
|
127
|
+
"nm": "line",
|
|
128
|
+
"sr": 1,
|
|
129
|
+
"ks": {
|
|
130
|
+
"o": {
|
|
131
|
+
"a": 1,
|
|
132
|
+
"k": [
|
|
133
|
+
{ "i": { "x": [0.667], "y": [1] }, "o": { "x": [0.333], "y": [0] }, "t": 0, "s": [100] },
|
|
134
|
+
{ "i": { "x": [0.667], "y": [1] }, "o": { "x": [0.333], "y": [0] }, "t": 67.184, "s": [100] },
|
|
135
|
+
{ "t": 139, "s": [0] }
|
|
136
|
+
],
|
|
137
|
+
"ix": 11
|
|
138
|
+
},
|
|
139
|
+
"r": { "a": 0, "k": 0, "ix": 10 },
|
|
140
|
+
"p": { "a": 0, "k": [264.5, 263.5, 0], "ix": 2, "l": 2 },
|
|
141
|
+
"a": { "a": 0, "k": [0.5, -100, 0], "ix": 1, "l": 2 },
|
|
142
|
+
"s": {
|
|
143
|
+
"a": 1,
|
|
144
|
+
"k": [
|
|
145
|
+
{
|
|
146
|
+
"i": { "x": [0.667, 0.667, 0.667], "y": [1, 1, 1] },
|
|
147
|
+
"o": { "x": [0.333, 0.333, 0.333], "y": [0, 0, 0] },
|
|
148
|
+
"t": 0,
|
|
149
|
+
"s": [30, 30, 100]
|
|
150
|
+
},
|
|
151
|
+
{ "t": 139, "s": [240, 240, 100] }
|
|
152
|
+
],
|
|
153
|
+
"ix": 6,
|
|
154
|
+
"l": 2
|
|
155
|
+
}
|
|
156
|
+
},
|
|
157
|
+
"ao": 0,
|
|
158
|
+
"shapes": [
|
|
159
|
+
{
|
|
160
|
+
"ty": "gr",
|
|
161
|
+
"it": [
|
|
162
|
+
{
|
|
163
|
+
"ind": 0,
|
|
164
|
+
"ty": "sh",
|
|
165
|
+
"ix": 1,
|
|
166
|
+
"ks": {
|
|
167
|
+
"a": 0,
|
|
168
|
+
"k": {
|
|
169
|
+
"i": [
|
|
170
|
+
[60.564, 0],
|
|
171
|
+
[0, -60.564],
|
|
172
|
+
[-60.564, 0],
|
|
173
|
+
[0, 60.564]
|
|
174
|
+
],
|
|
175
|
+
"o": [
|
|
176
|
+
[-60.564, 0],
|
|
177
|
+
[0, 60.564],
|
|
178
|
+
[60.564, 0],
|
|
179
|
+
[0, -60.564]
|
|
180
|
+
],
|
|
181
|
+
"v": [
|
|
182
|
+
[0, -109.66],
|
|
183
|
+
[-109.66, 0],
|
|
184
|
+
[0, 109.66],
|
|
185
|
+
[109.66, 0]
|
|
186
|
+
],
|
|
187
|
+
"c": true
|
|
188
|
+
},
|
|
189
|
+
"ix": 2
|
|
190
|
+
},
|
|
191
|
+
"nm": "Path 1",
|
|
192
|
+
"mn": "ADBE Vector Shape - Group",
|
|
193
|
+
"hd": false
|
|
194
|
+
},
|
|
195
|
+
{
|
|
196
|
+
"ty": "st",
|
|
197
|
+
"c": { "a": 0, "k": [0.901960784314, 0.905882352941, 0.905882352941, 1], "ix": 3 },
|
|
198
|
+
"o": { "a": 0, "k": 100, "ix": 4 },
|
|
199
|
+
"w": { "a": 0, "k": 1, "ix": 5 },
|
|
200
|
+
"lc": 1,
|
|
201
|
+
"lj": 1,
|
|
202
|
+
"ml": 4,
|
|
203
|
+
"bm": 0,
|
|
204
|
+
"nm": "Stroke 1",
|
|
205
|
+
"mn": "ADBE Vector Graphic - Stroke",
|
|
206
|
+
"hd": false
|
|
207
|
+
},
|
|
208
|
+
{
|
|
209
|
+
"ty": "tr",
|
|
210
|
+
"p": { "a": 0, "k": [0.5, -100], "ix": 2 },
|
|
211
|
+
"a": { "a": 0, "k": [0, 0], "ix": 1 },
|
|
212
|
+
"s": { "a": 0, "k": [100, 100], "ix": 3 },
|
|
213
|
+
"r": { "a": 0, "k": 0, "ix": 6 },
|
|
214
|
+
"o": { "a": 0, "k": 100, "ix": 7 },
|
|
215
|
+
"sk": { "a": 0, "k": 0, "ix": 4 },
|
|
216
|
+
"sa": { "a": 0, "k": 0, "ix": 5 },
|
|
217
|
+
"nm": "Transform"
|
|
218
|
+
}
|
|
219
|
+
],
|
|
220
|
+
"nm": "Ellipse 1",
|
|
221
|
+
"np": 3,
|
|
222
|
+
"cix": 2,
|
|
223
|
+
"bm": 0,
|
|
224
|
+
"ix": 1,
|
|
225
|
+
"mn": "ADBE Vector Group",
|
|
226
|
+
"hd": false
|
|
227
|
+
}
|
|
228
|
+
],
|
|
229
|
+
"ip": 0,
|
|
230
|
+
"op": 148,
|
|
231
|
+
"st": 0,
|
|
232
|
+
"bm": 0
|
|
233
|
+
}
|
|
234
|
+
],
|
|
235
|
+
"markers": []
|
|
236
|
+
}
|
|
@@ -322,7 +322,7 @@ export var updateBrandActivities = createAsyncThunk('brandUpdateBrandActivities'
|
|
|
322
322
|
customer_base: customerBase,
|
|
323
323
|
sales: sales
|
|
324
324
|
},
|
|
325
|
-
term: ['general', 'refund', '
|
|
325
|
+
term: ['general', 'refund', 'chargeback'],
|
|
326
326
|
step_name: stepName
|
|
327
327
|
};
|
|
328
328
|
return [4, API.brandService.updateBrandInfo(requestBody)];
|
|
@@ -467,7 +467,7 @@ export var brandSlice = createSlice({
|
|
|
467
467
|
if ((element === null || element === void 0 ? void 0 : element.term) === 'general') {
|
|
468
468
|
state.data.brandActivities.termAndConditionChecked = element.agree;
|
|
469
469
|
}
|
|
470
|
-
if ((element === null || element === void 0 ? void 0 : element.term) === '
|
|
470
|
+
if ((element === null || element === void 0 ? void 0 : element.term) === 'chargeback') {
|
|
471
471
|
state.data.brandActivities.transactionPolicy = element.agree;
|
|
472
472
|
}
|
|
473
473
|
if ((element === null || element === void 0 ? void 0 : element.term) === 'refund') {
|
|
@@ -521,7 +521,7 @@ export var brandSlice = createSlice({
|
|
|
521
521
|
if ((element === null || element === void 0 ? void 0 : element.term) === 'general') {
|
|
522
522
|
state.data.brandActivities.termAndConditionChecked = element.agree;
|
|
523
523
|
}
|
|
524
|
-
if ((element === null || element === void 0 ? void 0 : element.term) === '
|
|
524
|
+
if ((element === null || element === void 0 ? void 0 : element.term) === 'chargeback') {
|
|
525
525
|
state.data.brandActivities.transactionPolicy = element.agree;
|
|
526
526
|
}
|
|
527
527
|
if ((element === null || element === void 0 ? void 0 : element.term) === 'refund') {
|
|
@@ -551,7 +551,7 @@ export var uploadLicenseCertificate = createAsyncThunk('uploadLicenseCertificate
|
|
|
551
551
|
});
|
|
552
552
|
});
|
|
553
553
|
});
|
|
554
|
-
export var uploadArticle = createAsyncThunk('
|
|
554
|
+
export var uploadArticle = createAsyncThunk('businessUploadArticle', function (_a) {
|
|
555
555
|
var file = _a.file, onProgress = _a.onProgress;
|
|
556
556
|
return __awaiter(void 0, void 0, void 0, function () {
|
|
557
557
|
var typeArray, type, uploadPayload, onUploadProgress, data;
|
|
@@ -1079,8 +1079,7 @@ export var businessSlice = createSlice({
|
|
|
1079
1079
|
state.error = null;
|
|
1080
1080
|
state.uploading = false;
|
|
1081
1081
|
var data = action.payload.data;
|
|
1082
|
-
|
|
1083
|
-
state.data.businessTypeData.certificateId = __spreadArray(__spreadArray([], ids, true), [data === null || data === void 0 ? void 0 : data.id], false);
|
|
1082
|
+
state.data.businessTypeData.certificateId = data === null || data === void 0 ? void 0 : data.id;
|
|
1084
1083
|
})
|
|
1085
1084
|
.addCase(uploadLicenseCertificate.rejected, function (state) {
|
|
1086
1085
|
state.uploading = false;
|
|
@@ -488,7 +488,7 @@ export var updateLeadBrand = createAsyncThunk('updateLeadBrand', function (param
|
|
|
488
488
|
brandReqBody = {
|
|
489
489
|
id: ((_d = lead.brand) === null || _d === void 0 ? void 0 : _d.id) || '',
|
|
490
490
|
channel_services: channel_services,
|
|
491
|
-
term: ['
|
|
491
|
+
term: ['general'],
|
|
492
492
|
step_name: CONNECT_STEP_NAMES.UPDATE_BRAND_INFO
|
|
493
493
|
};
|
|
494
494
|
return [4, API.brandService.updateBrandInfo(brandReqBody)];
|
|
@@ -818,7 +818,7 @@ export var connectSlice = createSlice({
|
|
|
818
818
|
state.data.brandData.salesChannels = channel_services || [];
|
|
819
819
|
var termAndCondition = (terms || []).find(function (_a) {
|
|
820
820
|
var term = _a.term, agree = _a.agree;
|
|
821
|
-
return term === '
|
|
821
|
+
return term === 'general' && agree === true;
|
|
822
822
|
});
|
|
823
823
|
state.data.brandData.termAndConditionChecked = !!termAndCondition;
|
|
824
824
|
}
|
|
@@ -68,9 +68,11 @@ interface UploadFileParams {
|
|
|
68
68
|
}
|
|
69
69
|
export declare const uploadCivilIdFile: import("@reduxjs/toolkit").AsyncThunk<{
|
|
70
70
|
data: any;
|
|
71
|
+
file: File;
|
|
71
72
|
}, UploadFileParams, {}>;
|
|
72
73
|
export declare const uploadSignatureFile: import("@reduxjs/toolkit").AsyncThunk<{
|
|
73
74
|
data: any;
|
|
75
|
+
file: File;
|
|
74
76
|
}, UploadFileParams, {}>;
|
|
75
77
|
export declare const updateBoardSuccess: import("@reduxjs/toolkit").AsyncThunk<{
|
|
76
78
|
response: any;
|