react-native-unit-components 2.0.0 → 2.0.1
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/lib/commonjs/types/shared/checkDeposit.types.js.map +1 -1
- package/lib/commonjs/unitComponentsSdkManager/UnitComponentsSdkManager.js +1 -1
- package/lib/module/types/shared/checkDeposit.types.js.map +1 -1
- package/lib/module/unitComponentsSdkManager/UnitComponentsSdkManager.js +1 -1
- package/lib/typescript/src/types/shared/account.types.d.ts +3 -3
- package/lib/typescript/src/types/shared/account.types.d.ts.map +1 -1
- package/lib/typescript/src/types/shared/authorization.types.d.ts +1 -1
- package/lib/typescript/src/types/shared/authorization.types.d.ts.map +1 -1
- package/lib/typescript/src/types/shared/checkDeposit.types.d.ts +8 -5
- package/lib/typescript/src/types/shared/checkDeposit.types.d.ts.map +1 -1
- package/lib/typescript/src/types/shared/counterparty.types.d.ts +2 -2
- package/lib/typescript/src/types/shared/payment/bookPayment.types.d.ts +2 -2
- package/lib/typescript/src/types/shared/payment/payments.types.d.ts +3 -3
- package/lib/typescript/src/types/shared/payment/wirePayment.types.d.ts +1 -1
- package/lib/typescript/src/types/shared/transaction/UNAccountLowBalanceClosureTransaction.d.ts +4 -4
- package/lib/typescript/src/types/shared/transaction/UNAdjustmentTransaction.d.ts +4 -4
- package/lib/typescript/src/types/shared/transaction/UNAtmTransaction.d.ts +4 -4
- package/lib/typescript/src/types/shared/transaction/UNBankRepaymentTransaction.d.ts +5 -5
- package/lib/typescript/src/types/shared/transaction/UNBillPayTransaction.d.ts +4 -4
- package/lib/typescript/src/types/shared/transaction/UNBookTransaction.d.ts +4 -4
- package/lib/typescript/src/types/shared/transaction/UNCardReversalTransaction.d.ts +5 -5
- package/lib/typescript/src/types/shared/transaction/UNCardTransaction.d.ts +4 -4
- package/lib/typescript/src/types/shared/transaction/UNCashDepositTransaction.d.ts +3 -3
- package/lib/typescript/src/types/shared/transaction/UNChargebackTransaction.d.ts +6 -6
- package/lib/typescript/src/types/shared/transaction/UNCheckDepositTransaction.d.ts +2 -2
- package/lib/typescript/src/types/shared/transaction/UNCustomerRepaymentReturnedTransaction.d.ts +5 -5
- package/lib/typescript/src/types/shared/transaction/UNCustomerRepaymentTransaction.d.ts +5 -5
- package/lib/typescript/src/types/shared/transaction/UNDishonoredAchTransaction.d.ts +4 -4
- package/lib/typescript/src/types/shared/transaction/UNDisputeSettlementTransaction.d.ts +4 -4
- package/lib/typescript/src/types/shared/transaction/UNDisputeTransaction.d.ts +4 -4
- package/lib/typescript/src/types/shared/transaction/UNFeeReversalTransaction.d.ts +5 -5
- package/lib/typescript/src/types/shared/transaction/UNFeeTransaction.d.ts +5 -5
- package/lib/typescript/src/types/shared/transaction/UNInterchangeShareTransaction.d.ts +4 -4
- package/lib/typescript/src/types/shared/transaction/UNInterestShareTransaction.d.ts +4 -4
- package/lib/typescript/src/types/shared/transaction/UNInterestTransaction.d.ts +4 -4
- package/lib/typescript/src/types/shared/transaction/UNNegativeBalanceCoverageTransaction.d.ts +4 -4
- package/lib/typescript/src/types/shared/transaction/UNNegativeBalanceCoverageTransaction.d.ts.map +1 -1
- package/lib/typescript/src/types/shared/transaction/UNOriginatedAchTransaction.d.ts +3 -3
- package/lib/typescript/src/types/shared/transaction/UNPaymentAdvanceTransaction.d.ts +5 -5
- package/lib/typescript/src/types/shared/transaction/UNPaymentCanceledTransaction.d.ts +4 -4
- package/lib/typescript/src/types/shared/transaction/UNPurchaseTransaction.d.ts +4 -4
- package/lib/typescript/src/types/shared/transaction/UNReceivedAchTransaction.d.ts +5 -5
- package/lib/typescript/src/types/shared/transaction/UNReleaseTransaction.d.ts +4 -4
- package/lib/typescript/src/types/shared/transaction/UNRepaidPaymentAdvanceTransaction.d.ts +6 -6
- package/lib/typescript/src/types/shared/transaction/UNReturnedAchTransaction.d.ts +4 -4
- package/lib/typescript/src/types/shared/transaction/UNReturnedCheckDepositTransaction.d.ts +4 -4
- package/lib/typescript/src/types/shared/transaction/UNReturnedReceivedAchTransaction.d.ts +5 -5
- package/lib/typescript/src/types/shared/transaction/UNRewardTransaction.d.ts +5 -5
- package/lib/typescript/src/types/shared/transaction/UNSettlementTransaction.d.ts +4 -4
- package/lib/typescript/src/types/shared/transaction/UNSponsoredInterestTransaction.d.ts +4 -4
- package/lib/typescript/src/types/shared/transaction/UNWireTransaction.d.ts +4 -4
- package/lib/typescript/src/types/shared/transaction/transactions.types.d.ts +1 -1
- package/package.json +1 -1
- package/src/types/shared/account.types.ts +3 -3
- package/src/types/shared/authorization.types.ts +1 -1
- package/src/types/shared/checkDeposit.types.ts +8 -5
- package/src/types/shared/counterparty.types.ts +2 -2
- package/src/types/shared/payment/bookPayment.types.ts +2 -2
- package/src/types/shared/payment/payments.types.ts +3 -3
- package/src/types/shared/payment/wirePayment.types.ts +1 -1
- package/src/types/shared/transaction/UNAccountLowBalanceClosureTransaction.ts +4 -4
- package/src/types/shared/transaction/UNAdjustmentTransaction.ts +4 -4
- package/src/types/shared/transaction/UNAtmTransaction.ts +4 -4
- package/src/types/shared/transaction/UNBankRepaymentTransaction.ts +5 -5
- package/src/types/shared/transaction/UNBillPayTransaction.ts +4 -4
- package/src/types/shared/transaction/UNBookTransaction.ts +4 -4
- package/src/types/shared/transaction/UNCardReversalTransaction.ts +5 -5
- package/src/types/shared/transaction/UNCardTransaction.ts +4 -4
- package/src/types/shared/transaction/UNCashDepositTransaction.ts +3 -3
- package/src/types/shared/transaction/UNChargebackTransaction.ts +6 -6
- package/src/types/shared/transaction/UNCheckDepositTransaction.ts +2 -2
- package/src/types/shared/transaction/UNCustomerRepaymentReturnedTransaction.ts +5 -5
- package/src/types/shared/transaction/UNCustomerRepaymentTransaction.ts +5 -5
- package/src/types/shared/transaction/UNDishonoredAchTransaction.ts +4 -4
- package/src/types/shared/transaction/UNDisputeSettlementTransaction.ts +4 -4
- package/src/types/shared/transaction/UNDisputeTransaction.ts +4 -4
- package/src/types/shared/transaction/UNFeeReversalTransaction.ts +5 -5
- package/src/types/shared/transaction/UNFeeTransaction.ts +5 -5
- package/src/types/shared/transaction/UNInterchangeShareTransaction.ts +4 -4
- package/src/types/shared/transaction/UNInterestShareTransaction.ts +4 -4
- package/src/types/shared/transaction/UNInterestTransaction.ts +4 -4
- package/src/types/shared/transaction/UNNegativeBalanceCoverageTransaction.ts +5 -5
- package/src/types/shared/transaction/UNOriginatedAchTransaction.ts +3 -3
- package/src/types/shared/transaction/UNPaymentAdvanceTransaction.ts +5 -5
- package/src/types/shared/transaction/UNPaymentCanceledTransaction.ts +4 -4
- package/src/types/shared/transaction/UNPurchaseTransaction.ts +4 -4
- package/src/types/shared/transaction/UNReceivedAchTransaction.ts +5 -5
- package/src/types/shared/transaction/UNReleaseTransaction.ts +4 -4
- package/src/types/shared/transaction/UNRepaidPaymentAdvanceTransaction.ts +6 -6
- package/src/types/shared/transaction/UNReturnedAchTransaction.ts +4 -4
- package/src/types/shared/transaction/UNReturnedCheckDepositTransaction.ts +4 -4
- package/src/types/shared/transaction/UNReturnedReceivedAchTransaction.ts +5 -5
- package/src/types/shared/transaction/UNRewardTransaction.ts +5 -5
- package/src/types/shared/transaction/UNSettlementTransaction.ts +4 -4
- package/src/types/shared/transaction/UNSponsoredInterestTransaction.ts +4 -4
- package/src/types/shared/transaction/UNWireTransaction.ts +4 -4
- package/src/types/shared/transaction/transactions.types.ts +1 -1
- package/src/unitComponentsSdkManager/UnitComponentsSdkManager.ts +1 -1
|
@@ -4,7 +4,7 @@ import { UNDirection } from '../types';
|
|
|
4
4
|
|
|
5
5
|
export type UNReleaseTransaction = {
|
|
6
6
|
type: UNTransactionTypes.Release
|
|
7
|
-
id:
|
|
7
|
+
id: string
|
|
8
8
|
attributes: {
|
|
9
9
|
createdAt: Date
|
|
10
10
|
amount: UNCents
|
|
@@ -16,13 +16,13 @@ export type UNReleaseTransaction = {
|
|
|
16
16
|
account: {
|
|
17
17
|
data: {
|
|
18
18
|
type: string
|
|
19
|
-
id:
|
|
19
|
+
id: string
|
|
20
20
|
}
|
|
21
21
|
}
|
|
22
22
|
customer?: {
|
|
23
23
|
data: {
|
|
24
24
|
type: string
|
|
25
|
-
id:
|
|
25
|
+
id: string
|
|
26
26
|
}
|
|
27
27
|
}
|
|
28
28
|
customers?: {
|
|
@@ -36,7 +36,7 @@ export type UNReleaseTransaction = {
|
|
|
36
36
|
org?: {
|
|
37
37
|
data: {
|
|
38
38
|
type: string
|
|
39
|
-
id:
|
|
39
|
+
id: string
|
|
40
40
|
}
|
|
41
41
|
}
|
|
42
42
|
}
|
|
@@ -4,7 +4,7 @@ import { UNDirection } from '../types';
|
|
|
4
4
|
|
|
5
5
|
export type UNRepaidPaymentAdvanceTransaction = {
|
|
6
6
|
type: UNTransactionTypes.RepaidPaymentAdvance
|
|
7
|
-
id:
|
|
7
|
+
id: string
|
|
8
8
|
attributes: {
|
|
9
9
|
createdAt: Date
|
|
10
10
|
amount: UNCents
|
|
@@ -17,13 +17,13 @@ export type UNRepaidPaymentAdvanceTransaction = {
|
|
|
17
17
|
account: {
|
|
18
18
|
data: {
|
|
19
19
|
type: string
|
|
20
|
-
id:
|
|
20
|
+
id: string
|
|
21
21
|
}
|
|
22
22
|
}
|
|
23
23
|
customer?: {
|
|
24
24
|
data: {
|
|
25
25
|
type: string
|
|
26
|
-
id:
|
|
26
|
+
id: string
|
|
27
27
|
}
|
|
28
28
|
}
|
|
29
29
|
customers?: {
|
|
@@ -37,19 +37,19 @@ export type UNRepaidPaymentAdvanceTransaction = {
|
|
|
37
37
|
org?: {
|
|
38
38
|
data: {
|
|
39
39
|
type: string
|
|
40
|
-
id:
|
|
40
|
+
id: string
|
|
41
41
|
}
|
|
42
42
|
}
|
|
43
43
|
receivedPayment?: {
|
|
44
44
|
data: {
|
|
45
45
|
type: 'receivedPayment'
|
|
46
|
-
id:
|
|
46
|
+
id: string
|
|
47
47
|
}
|
|
48
48
|
}
|
|
49
49
|
paymentAdvanceTransaction?: {
|
|
50
50
|
data: {
|
|
51
51
|
type: 'paymentAdvanceTransaction'
|
|
52
|
-
id:
|
|
52
|
+
id: string
|
|
53
53
|
}
|
|
54
54
|
}
|
|
55
55
|
}
|
|
@@ -4,7 +4,7 @@ import { UNTransactionTypes } from './transactions.types';
|
|
|
4
4
|
|
|
5
5
|
export type UNReturnedAchTransaction = {
|
|
6
6
|
type: UNTransactionTypes.ReturnedACH
|
|
7
|
-
id:
|
|
7
|
+
id: string
|
|
8
8
|
attributes: {
|
|
9
9
|
createdAt: Date
|
|
10
10
|
amount: UNCents
|
|
@@ -20,13 +20,13 @@ export type UNReturnedAchTransaction = {
|
|
|
20
20
|
account: {
|
|
21
21
|
data: {
|
|
22
22
|
type: string
|
|
23
|
-
id:
|
|
23
|
+
id: string
|
|
24
24
|
}
|
|
25
25
|
}
|
|
26
26
|
customer?: {
|
|
27
27
|
data: {
|
|
28
28
|
type: string
|
|
29
|
-
id:
|
|
29
|
+
id: string
|
|
30
30
|
}
|
|
31
31
|
}
|
|
32
32
|
customers?: {
|
|
@@ -40,7 +40,7 @@ export type UNReturnedAchTransaction = {
|
|
|
40
40
|
org?: {
|
|
41
41
|
data: {
|
|
42
42
|
type: string
|
|
43
|
-
id:
|
|
43
|
+
id: string
|
|
44
44
|
}
|
|
45
45
|
}
|
|
46
46
|
}
|
|
@@ -4,7 +4,7 @@ import { UNDirection } from '../types';
|
|
|
4
4
|
|
|
5
5
|
export type UNReturnedCheckDepositTransaction = {
|
|
6
6
|
type: UNTransactionTypes.ReturnedCheckDeposit
|
|
7
|
-
id:
|
|
7
|
+
id: string
|
|
8
8
|
attributes: {
|
|
9
9
|
createdAt: Date
|
|
10
10
|
amount: UNCents
|
|
@@ -16,13 +16,13 @@ export type UNReturnedCheckDepositTransaction = {
|
|
|
16
16
|
account: {
|
|
17
17
|
data: {
|
|
18
18
|
type: string
|
|
19
|
-
id:
|
|
19
|
+
id: string
|
|
20
20
|
}
|
|
21
21
|
}
|
|
22
22
|
customer?: {
|
|
23
23
|
data: {
|
|
24
24
|
type: string
|
|
25
|
-
id:
|
|
25
|
+
id: string
|
|
26
26
|
}
|
|
27
27
|
}
|
|
28
28
|
customers?: {
|
|
@@ -36,7 +36,7 @@ export type UNReturnedCheckDepositTransaction = {
|
|
|
36
36
|
org?: {
|
|
37
37
|
data: {
|
|
38
38
|
type: string
|
|
39
|
-
id:
|
|
39
|
+
id: string
|
|
40
40
|
}
|
|
41
41
|
}
|
|
42
42
|
}
|
|
@@ -4,7 +4,7 @@ import { UNDirection } from '../types';
|
|
|
4
4
|
|
|
5
5
|
export type UNReturnedReceivedAchTransaction = {
|
|
6
6
|
type: UNTransactionTypes.ReturnedReceivedACH
|
|
7
|
-
id:
|
|
7
|
+
id: string
|
|
8
8
|
attributes: {
|
|
9
9
|
createdAt: Date
|
|
10
10
|
amount: UNCents
|
|
@@ -20,13 +20,13 @@ export type UNReturnedReceivedAchTransaction = {
|
|
|
20
20
|
account: {
|
|
21
21
|
data: {
|
|
22
22
|
type: string
|
|
23
|
-
id:
|
|
23
|
+
id: string
|
|
24
24
|
}
|
|
25
25
|
}
|
|
26
26
|
customer?: {
|
|
27
27
|
data: {
|
|
28
28
|
type: string
|
|
29
|
-
id:
|
|
29
|
+
id: string
|
|
30
30
|
}
|
|
31
31
|
}
|
|
32
32
|
customers?: {
|
|
@@ -40,13 +40,13 @@ export type UNReturnedReceivedAchTransaction = {
|
|
|
40
40
|
org?: {
|
|
41
41
|
data: {
|
|
42
42
|
type: string
|
|
43
|
-
id:
|
|
43
|
+
id: string
|
|
44
44
|
}
|
|
45
45
|
}
|
|
46
46
|
returned: {
|
|
47
47
|
data: {
|
|
48
48
|
type: string
|
|
49
|
-
id:
|
|
49
|
+
id: string
|
|
50
50
|
}
|
|
51
51
|
}
|
|
52
52
|
}
|
|
@@ -4,7 +4,7 @@ import { UNDirection } from '../types';
|
|
|
4
4
|
|
|
5
5
|
export type UNRewardTransaction = {
|
|
6
6
|
type: UNTransactionTypes.Reward
|
|
7
|
-
id:
|
|
7
|
+
id: string
|
|
8
8
|
attributes: {
|
|
9
9
|
createdAt: Date
|
|
10
10
|
amount: UNCents
|
|
@@ -18,13 +18,13 @@ export type UNRewardTransaction = {
|
|
|
18
18
|
account: {
|
|
19
19
|
data: {
|
|
20
20
|
type: string
|
|
21
|
-
id:
|
|
21
|
+
id: string
|
|
22
22
|
}
|
|
23
23
|
}
|
|
24
24
|
customer?: {
|
|
25
25
|
data: {
|
|
26
26
|
type: string
|
|
27
|
-
id:
|
|
27
|
+
id: string
|
|
28
28
|
}
|
|
29
29
|
}
|
|
30
30
|
customers?: {
|
|
@@ -38,13 +38,13 @@ export type UNRewardTransaction = {
|
|
|
38
38
|
org?: {
|
|
39
39
|
data: {
|
|
40
40
|
type: string
|
|
41
|
-
id:
|
|
41
|
+
id: string
|
|
42
42
|
}
|
|
43
43
|
}
|
|
44
44
|
reward: {
|
|
45
45
|
data: {
|
|
46
46
|
type: string
|
|
47
|
-
id:
|
|
47
|
+
id: string
|
|
48
48
|
}
|
|
49
49
|
}
|
|
50
50
|
}
|
|
@@ -4,7 +4,7 @@ import { UNDirection } from '../types';
|
|
|
4
4
|
|
|
5
5
|
export type UNSettlementTransaction = {
|
|
6
6
|
type: UNTransactionTypes.Settlement
|
|
7
|
-
id:
|
|
7
|
+
id: string
|
|
8
8
|
attributes: {
|
|
9
9
|
createdAt: Date
|
|
10
10
|
amount: UNCents
|
|
@@ -16,13 +16,13 @@ export type UNSettlementTransaction = {
|
|
|
16
16
|
account: {
|
|
17
17
|
data: {
|
|
18
18
|
type: string
|
|
19
|
-
id:
|
|
19
|
+
id: string
|
|
20
20
|
}
|
|
21
21
|
}
|
|
22
22
|
customer?: {
|
|
23
23
|
data: {
|
|
24
24
|
type: string
|
|
25
|
-
id:
|
|
25
|
+
id: string
|
|
26
26
|
}
|
|
27
27
|
}
|
|
28
28
|
customers?: {
|
|
@@ -36,7 +36,7 @@ export type UNSettlementTransaction = {
|
|
|
36
36
|
org?: {
|
|
37
37
|
data: {
|
|
38
38
|
type: string
|
|
39
|
-
id:
|
|
39
|
+
id: string
|
|
40
40
|
}
|
|
41
41
|
}
|
|
42
42
|
}
|
|
@@ -4,7 +4,7 @@ import { UNDirection } from '../types';
|
|
|
4
4
|
|
|
5
5
|
export type UNSponsoredInterestTransaction = {
|
|
6
6
|
type: UNTransactionTypes.SponsoredInterest
|
|
7
|
-
id:
|
|
7
|
+
id: string
|
|
8
8
|
attributes: {
|
|
9
9
|
createdAt: Date
|
|
10
10
|
amount: UNCents
|
|
@@ -16,13 +16,13 @@ export type UNSponsoredInterestTransaction = {
|
|
|
16
16
|
account: {
|
|
17
17
|
data: {
|
|
18
18
|
type: string
|
|
19
|
-
id:
|
|
19
|
+
id: string
|
|
20
20
|
}
|
|
21
21
|
}
|
|
22
22
|
customer?: {
|
|
23
23
|
data: {
|
|
24
24
|
type: string
|
|
25
|
-
id:
|
|
25
|
+
id: string
|
|
26
26
|
}
|
|
27
27
|
}
|
|
28
28
|
customers?: {
|
|
@@ -36,7 +36,7 @@ export type UNSponsoredInterestTransaction = {
|
|
|
36
36
|
org?: {
|
|
37
37
|
data: {
|
|
38
38
|
type: string
|
|
39
|
-
id:
|
|
39
|
+
id: string
|
|
40
40
|
}
|
|
41
41
|
}
|
|
42
42
|
}
|
|
@@ -4,7 +4,7 @@ import { UNDirection } from '../types';
|
|
|
4
4
|
|
|
5
5
|
export type UNWireTransaction = {
|
|
6
6
|
type: UNTransactionTypes.Wire
|
|
7
|
-
id:
|
|
7
|
+
id: string
|
|
8
8
|
attributes: {
|
|
9
9
|
createdAt: Date
|
|
10
10
|
amount: UNCents
|
|
@@ -17,13 +17,13 @@ export type UNWireTransaction = {
|
|
|
17
17
|
account: {
|
|
18
18
|
data: {
|
|
19
19
|
type: string
|
|
20
|
-
id:
|
|
20
|
+
id: string
|
|
21
21
|
}
|
|
22
22
|
}
|
|
23
23
|
customer?: {
|
|
24
24
|
data: {
|
|
25
25
|
type: string
|
|
26
|
-
id:
|
|
26
|
+
id: string
|
|
27
27
|
}
|
|
28
28
|
}
|
|
29
29
|
customers?: {
|
|
@@ -37,7 +37,7 @@ export type UNWireTransaction = {
|
|
|
37
37
|
org?: {
|
|
38
38
|
data: {
|
|
39
39
|
type: string
|
|
40
|
-
id:
|
|
40
|
+
id: string
|
|
41
41
|
}
|
|
42
42
|
}
|
|
43
43
|
}
|
|
@@ -25,7 +25,7 @@ export class UnitComponentsSDK {
|
|
|
25
25
|
protected static fonts?: UNFonts;
|
|
26
26
|
protected static signedNonce?: string;
|
|
27
27
|
protected static pushProvisionModule?: typeof NativeModules;
|
|
28
|
-
protected static sdkVersion = '2.0.
|
|
28
|
+
protected static sdkVersion = '2.0.1';
|
|
29
29
|
|
|
30
30
|
public static init = async (
|
|
31
31
|
env: UNComponentsEnvironment,
|