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.
Files changed (98) hide show
  1. package/lib/commonjs/types/shared/checkDeposit.types.js.map +1 -1
  2. package/lib/commonjs/unitComponentsSdkManager/UnitComponentsSdkManager.js +1 -1
  3. package/lib/module/types/shared/checkDeposit.types.js.map +1 -1
  4. package/lib/module/unitComponentsSdkManager/UnitComponentsSdkManager.js +1 -1
  5. package/lib/typescript/src/types/shared/account.types.d.ts +3 -3
  6. package/lib/typescript/src/types/shared/account.types.d.ts.map +1 -1
  7. package/lib/typescript/src/types/shared/authorization.types.d.ts +1 -1
  8. package/lib/typescript/src/types/shared/authorization.types.d.ts.map +1 -1
  9. package/lib/typescript/src/types/shared/checkDeposit.types.d.ts +8 -5
  10. package/lib/typescript/src/types/shared/checkDeposit.types.d.ts.map +1 -1
  11. package/lib/typescript/src/types/shared/counterparty.types.d.ts +2 -2
  12. package/lib/typescript/src/types/shared/payment/bookPayment.types.d.ts +2 -2
  13. package/lib/typescript/src/types/shared/payment/payments.types.d.ts +3 -3
  14. package/lib/typescript/src/types/shared/payment/wirePayment.types.d.ts +1 -1
  15. package/lib/typescript/src/types/shared/transaction/UNAccountLowBalanceClosureTransaction.d.ts +4 -4
  16. package/lib/typescript/src/types/shared/transaction/UNAdjustmentTransaction.d.ts +4 -4
  17. package/lib/typescript/src/types/shared/transaction/UNAtmTransaction.d.ts +4 -4
  18. package/lib/typescript/src/types/shared/transaction/UNBankRepaymentTransaction.d.ts +5 -5
  19. package/lib/typescript/src/types/shared/transaction/UNBillPayTransaction.d.ts +4 -4
  20. package/lib/typescript/src/types/shared/transaction/UNBookTransaction.d.ts +4 -4
  21. package/lib/typescript/src/types/shared/transaction/UNCardReversalTransaction.d.ts +5 -5
  22. package/lib/typescript/src/types/shared/transaction/UNCardTransaction.d.ts +4 -4
  23. package/lib/typescript/src/types/shared/transaction/UNCashDepositTransaction.d.ts +3 -3
  24. package/lib/typescript/src/types/shared/transaction/UNChargebackTransaction.d.ts +6 -6
  25. package/lib/typescript/src/types/shared/transaction/UNCheckDepositTransaction.d.ts +2 -2
  26. package/lib/typescript/src/types/shared/transaction/UNCustomerRepaymentReturnedTransaction.d.ts +5 -5
  27. package/lib/typescript/src/types/shared/transaction/UNCustomerRepaymentTransaction.d.ts +5 -5
  28. package/lib/typescript/src/types/shared/transaction/UNDishonoredAchTransaction.d.ts +4 -4
  29. package/lib/typescript/src/types/shared/transaction/UNDisputeSettlementTransaction.d.ts +4 -4
  30. package/lib/typescript/src/types/shared/transaction/UNDisputeTransaction.d.ts +4 -4
  31. package/lib/typescript/src/types/shared/transaction/UNFeeReversalTransaction.d.ts +5 -5
  32. package/lib/typescript/src/types/shared/transaction/UNFeeTransaction.d.ts +5 -5
  33. package/lib/typescript/src/types/shared/transaction/UNInterchangeShareTransaction.d.ts +4 -4
  34. package/lib/typescript/src/types/shared/transaction/UNInterestShareTransaction.d.ts +4 -4
  35. package/lib/typescript/src/types/shared/transaction/UNInterestTransaction.d.ts +4 -4
  36. package/lib/typescript/src/types/shared/transaction/UNNegativeBalanceCoverageTransaction.d.ts +4 -4
  37. package/lib/typescript/src/types/shared/transaction/UNNegativeBalanceCoverageTransaction.d.ts.map +1 -1
  38. package/lib/typescript/src/types/shared/transaction/UNOriginatedAchTransaction.d.ts +3 -3
  39. package/lib/typescript/src/types/shared/transaction/UNPaymentAdvanceTransaction.d.ts +5 -5
  40. package/lib/typescript/src/types/shared/transaction/UNPaymentCanceledTransaction.d.ts +4 -4
  41. package/lib/typescript/src/types/shared/transaction/UNPurchaseTransaction.d.ts +4 -4
  42. package/lib/typescript/src/types/shared/transaction/UNReceivedAchTransaction.d.ts +5 -5
  43. package/lib/typescript/src/types/shared/transaction/UNReleaseTransaction.d.ts +4 -4
  44. package/lib/typescript/src/types/shared/transaction/UNRepaidPaymentAdvanceTransaction.d.ts +6 -6
  45. package/lib/typescript/src/types/shared/transaction/UNReturnedAchTransaction.d.ts +4 -4
  46. package/lib/typescript/src/types/shared/transaction/UNReturnedCheckDepositTransaction.d.ts +4 -4
  47. package/lib/typescript/src/types/shared/transaction/UNReturnedReceivedAchTransaction.d.ts +5 -5
  48. package/lib/typescript/src/types/shared/transaction/UNRewardTransaction.d.ts +5 -5
  49. package/lib/typescript/src/types/shared/transaction/UNSettlementTransaction.d.ts +4 -4
  50. package/lib/typescript/src/types/shared/transaction/UNSponsoredInterestTransaction.d.ts +4 -4
  51. package/lib/typescript/src/types/shared/transaction/UNWireTransaction.d.ts +4 -4
  52. package/lib/typescript/src/types/shared/transaction/transactions.types.d.ts +1 -1
  53. package/package.json +1 -1
  54. package/src/types/shared/account.types.ts +3 -3
  55. package/src/types/shared/authorization.types.ts +1 -1
  56. package/src/types/shared/checkDeposit.types.ts +8 -5
  57. package/src/types/shared/counterparty.types.ts +2 -2
  58. package/src/types/shared/payment/bookPayment.types.ts +2 -2
  59. package/src/types/shared/payment/payments.types.ts +3 -3
  60. package/src/types/shared/payment/wirePayment.types.ts +1 -1
  61. package/src/types/shared/transaction/UNAccountLowBalanceClosureTransaction.ts +4 -4
  62. package/src/types/shared/transaction/UNAdjustmentTransaction.ts +4 -4
  63. package/src/types/shared/transaction/UNAtmTransaction.ts +4 -4
  64. package/src/types/shared/transaction/UNBankRepaymentTransaction.ts +5 -5
  65. package/src/types/shared/transaction/UNBillPayTransaction.ts +4 -4
  66. package/src/types/shared/transaction/UNBookTransaction.ts +4 -4
  67. package/src/types/shared/transaction/UNCardReversalTransaction.ts +5 -5
  68. package/src/types/shared/transaction/UNCardTransaction.ts +4 -4
  69. package/src/types/shared/transaction/UNCashDepositTransaction.ts +3 -3
  70. package/src/types/shared/transaction/UNChargebackTransaction.ts +6 -6
  71. package/src/types/shared/transaction/UNCheckDepositTransaction.ts +2 -2
  72. package/src/types/shared/transaction/UNCustomerRepaymentReturnedTransaction.ts +5 -5
  73. package/src/types/shared/transaction/UNCustomerRepaymentTransaction.ts +5 -5
  74. package/src/types/shared/transaction/UNDishonoredAchTransaction.ts +4 -4
  75. package/src/types/shared/transaction/UNDisputeSettlementTransaction.ts +4 -4
  76. package/src/types/shared/transaction/UNDisputeTransaction.ts +4 -4
  77. package/src/types/shared/transaction/UNFeeReversalTransaction.ts +5 -5
  78. package/src/types/shared/transaction/UNFeeTransaction.ts +5 -5
  79. package/src/types/shared/transaction/UNInterchangeShareTransaction.ts +4 -4
  80. package/src/types/shared/transaction/UNInterestShareTransaction.ts +4 -4
  81. package/src/types/shared/transaction/UNInterestTransaction.ts +4 -4
  82. package/src/types/shared/transaction/UNNegativeBalanceCoverageTransaction.ts +5 -5
  83. package/src/types/shared/transaction/UNOriginatedAchTransaction.ts +3 -3
  84. package/src/types/shared/transaction/UNPaymentAdvanceTransaction.ts +5 -5
  85. package/src/types/shared/transaction/UNPaymentCanceledTransaction.ts +4 -4
  86. package/src/types/shared/transaction/UNPurchaseTransaction.ts +4 -4
  87. package/src/types/shared/transaction/UNReceivedAchTransaction.ts +5 -5
  88. package/src/types/shared/transaction/UNReleaseTransaction.ts +4 -4
  89. package/src/types/shared/transaction/UNRepaidPaymentAdvanceTransaction.ts +6 -6
  90. package/src/types/shared/transaction/UNReturnedAchTransaction.ts +4 -4
  91. package/src/types/shared/transaction/UNReturnedCheckDepositTransaction.ts +4 -4
  92. package/src/types/shared/transaction/UNReturnedReceivedAchTransaction.ts +5 -5
  93. package/src/types/shared/transaction/UNRewardTransaction.ts +5 -5
  94. package/src/types/shared/transaction/UNSettlementTransaction.ts +4 -4
  95. package/src/types/shared/transaction/UNSponsoredInterestTransaction.ts +4 -4
  96. package/src/types/shared/transaction/UNWireTransaction.ts +4 -4
  97. package/src/types/shared/transaction/transactions.types.ts +1 -1
  98. package/src/unitComponentsSdkManager/UnitComponentsSdkManager.ts +1 -1
@@ -3,7 +3,7 @@ import { UNTransactionTypes } from './transactions.types';
3
3
  import { UNDirection } from '../types';
4
4
  export type UNReturnedCheckDepositTransaction = {
5
5
  type: UNTransactionTypes.ReturnedCheckDeposit;
6
- id: number;
6
+ id: string;
7
7
  attributes: {
8
8
  createdAt: Date;
9
9
  amount: UNCents;
@@ -15,13 +15,13 @@ export type UNReturnedCheckDepositTransaction = {
15
15
  account: {
16
16
  data: {
17
17
  type: string;
18
- id: number;
18
+ id: string;
19
19
  };
20
20
  };
21
21
  customer?: {
22
22
  data: {
23
23
  type: string;
24
- id: number;
24
+ id: string;
25
25
  };
26
26
  };
27
27
  customers?: {
@@ -35,7 +35,7 @@ export type UNReturnedCheckDepositTransaction = {
35
35
  org?: {
36
36
  data: {
37
37
  type: string;
38
- id: number;
38
+ id: string;
39
39
  };
40
40
  };
41
41
  };
@@ -3,7 +3,7 @@ import { UNTransactionTypes } from './transactions.types';
3
3
  import { UNDirection } from '../types';
4
4
  export type UNReturnedReceivedAchTransaction = {
5
5
  type: UNTransactionTypes.ReturnedReceivedACH;
6
- id: number;
6
+ id: string;
7
7
  attributes: {
8
8
  createdAt: Date;
9
9
  amount: UNCents;
@@ -19,13 +19,13 @@ export type UNReturnedReceivedAchTransaction = {
19
19
  account: {
20
20
  data: {
21
21
  type: string;
22
- id: number;
22
+ id: string;
23
23
  };
24
24
  };
25
25
  customer?: {
26
26
  data: {
27
27
  type: string;
28
- id: number;
28
+ id: string;
29
29
  };
30
30
  };
31
31
  customers?: {
@@ -39,13 +39,13 @@ export type UNReturnedReceivedAchTransaction = {
39
39
  org?: {
40
40
  data: {
41
41
  type: string;
42
- id: number;
42
+ id: string;
43
43
  };
44
44
  };
45
45
  returned: {
46
46
  data: {
47
47
  type: string;
48
- id: number;
48
+ id: string;
49
49
  };
50
50
  };
51
51
  };
@@ -3,7 +3,7 @@ import { UNTransactionTypes } from './transactions.types';
3
3
  import { UNDirection } from '../types';
4
4
  export type UNRewardTransaction = {
5
5
  type: UNTransactionTypes.Reward;
6
- id: number;
6
+ id: string;
7
7
  attributes: {
8
8
  createdAt: Date;
9
9
  amount: UNCents;
@@ -19,13 +19,13 @@ export type UNRewardTransaction = {
19
19
  account: {
20
20
  data: {
21
21
  type: string;
22
- id: number;
22
+ id: string;
23
23
  };
24
24
  };
25
25
  customer?: {
26
26
  data: {
27
27
  type: string;
28
- id: number;
28
+ id: string;
29
29
  };
30
30
  };
31
31
  customers?: {
@@ -39,13 +39,13 @@ export type UNRewardTransaction = {
39
39
  org?: {
40
40
  data: {
41
41
  type: string;
42
- id: number;
42
+ id: string;
43
43
  };
44
44
  };
45
45
  reward: {
46
46
  data: {
47
47
  type: string;
48
- id: number;
48
+ id: string;
49
49
  };
50
50
  };
51
51
  };
@@ -3,7 +3,7 @@ import { UNTransactionTypes } from './transactions.types';
3
3
  import { UNDirection } from '../types';
4
4
  export type UNSettlementTransaction = {
5
5
  type: UNTransactionTypes.Settlement;
6
- id: number;
6
+ id: string;
7
7
  attributes: {
8
8
  createdAt: Date;
9
9
  amount: UNCents;
@@ -15,13 +15,13 @@ export type UNSettlementTransaction = {
15
15
  account: {
16
16
  data: {
17
17
  type: string;
18
- id: number;
18
+ id: string;
19
19
  };
20
20
  };
21
21
  customer?: {
22
22
  data: {
23
23
  type: string;
24
- id: number;
24
+ id: string;
25
25
  };
26
26
  };
27
27
  customers?: {
@@ -35,7 +35,7 @@ export type UNSettlementTransaction = {
35
35
  org?: {
36
36
  data: {
37
37
  type: string;
38
- id: number;
38
+ id: string;
39
39
  };
40
40
  };
41
41
  };
@@ -3,7 +3,7 @@ import { UNTransactionTypes } from './transactions.types';
3
3
  import { UNDirection } from '../types';
4
4
  export type UNSponsoredInterestTransaction = {
5
5
  type: UNTransactionTypes.SponsoredInterest;
6
- id: number;
6
+ id: string;
7
7
  attributes: {
8
8
  createdAt: Date;
9
9
  amount: UNCents;
@@ -15,13 +15,13 @@ export type UNSponsoredInterestTransaction = {
15
15
  account: {
16
16
  data: {
17
17
  type: string;
18
- id: number;
18
+ id: string;
19
19
  };
20
20
  };
21
21
  customer?: {
22
22
  data: {
23
23
  type: string;
24
- id: number;
24
+ id: string;
25
25
  };
26
26
  };
27
27
  customers?: {
@@ -35,7 +35,7 @@ export type UNSponsoredInterestTransaction = {
35
35
  org?: {
36
36
  data: {
37
37
  type: string;
38
- id: number;
38
+ id: string;
39
39
  };
40
40
  };
41
41
  };
@@ -3,7 +3,7 @@ import { UNTransactionTypes } from './transactions.types';
3
3
  import { UNDirection } from '../types';
4
4
  export type UNWireTransaction = {
5
5
  type: UNTransactionTypes.Wire;
6
- id: number;
6
+ id: string;
7
7
  attributes: {
8
8
  createdAt: Date;
9
9
  amount: UNCents;
@@ -16,13 +16,13 @@ export type UNWireTransaction = {
16
16
  account: {
17
17
  data: {
18
18
  type: string;
19
- id: number;
19
+ id: string;
20
20
  };
21
21
  };
22
22
  customer?: {
23
23
  data: {
24
24
  type: string;
25
- id: number;
25
+ id: string;
26
26
  };
27
27
  };
28
28
  customers?: {
@@ -36,7 +36,7 @@ export type UNWireTransaction = {
36
36
  org?: {
37
37
  data: {
38
38
  type: string;
39
- id: number;
39
+ id: string;
40
40
  };
41
41
  };
42
42
  };
@@ -112,7 +112,7 @@ export declare enum UNTransactionType {
112
112
  }
113
113
  export type UNMerchant = {
114
114
  name?: string;
115
- type?: string;
115
+ type?: number;
116
116
  category?: string;
117
117
  location?: string;
118
118
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-native-unit-components",
3
- "version": "2.0.0",
3
+ "version": "2.0.1",
4
4
  "description": "Unit React Native components",
5
5
  "main": "lib/commonjs/index",
6
6
  "module": "lib/module/index",
@@ -20,7 +20,7 @@ export type UNDepositAccount = {
20
20
  }
21
21
  balance: number
22
22
  hold: number
23
- reserve: number
23
+ reserve?: number
24
24
  available: number
25
25
  overdraftLimit?: number
26
26
  currency: string
@@ -71,7 +71,7 @@ export type UNBatchAccount = {
71
71
  maskedAccountNumber?: string
72
72
  balance: number
73
73
  hold: number
74
- reserve: number
74
+ reserve?: number
75
75
  available: number
76
76
  currency: string
77
77
  status: UNAccountStatus
@@ -101,7 +101,7 @@ export type UNCreditAccount = {
101
101
  creditTerms: string
102
102
  balance: number
103
103
  hold: number
104
- reserve: number
104
+ reserve?: number
105
105
  available: number
106
106
  creditLimit: number
107
107
  currency: string
@@ -30,7 +30,7 @@ export type UNAuthorizationRelationships = {
30
30
  customer?: {
31
31
  data: {
32
32
  type: string
33
- id: number | null
33
+ id: string
34
34
  }
35
35
  }
36
36
  }
@@ -1,5 +1,5 @@
1
1
  import { UNActivityType } from '../shared';
2
- import { UNCents, UNRelationshipsAccount } from './payment/payments.types';
2
+ import { UNCents } from './payment/payments.types';
3
3
 
4
4
  export type UNCheckDeposit = {
5
5
  id: string
@@ -13,18 +13,21 @@ export type UNCheckDeposit = {
13
13
  amount: UNCents
14
14
  vendor?: UNCheckDepositVendors
15
15
  checkNumber?: string
16
- counterparty: UNCheckCounterparty
16
+ counterparty?: UNCheckCounterparty
17
17
  frontImage?: string
18
18
  backImage?: string
19
19
  settlementDate?: Date
20
20
  statusCreatedAt?: Date
21
21
  statusSetBy?: string
22
- statusHistory: UNStatusEvent[]
22
+ statusHistory?: UNStatusEvent[]
23
23
  tags?: { [key: string]: string }
24
24
  }
25
25
  relationships: {
26
26
  account: {
27
- data: UNRelationshipsAccount
27
+ data: {
28
+ type: string
29
+ id: string
30
+ }
28
31
  }
29
32
  customer?: {
30
33
  data: {
@@ -48,7 +51,7 @@ export type UNCheckDeposit = {
48
51
  }
49
52
  transaction?: {
50
53
  data: {
51
- type: UNActivityType
54
+ type: UNActivityType.Transaction
52
55
  id: string
53
56
  }
54
57
  }
@@ -15,7 +15,7 @@ export type UNCounterparty = {
15
15
  customer: {
16
16
  data: {
17
17
  type: 'customer'
18
- id: number
18
+ id: string
19
19
  }
20
20
  }
21
21
  }
@@ -47,7 +47,7 @@ export type UNConnectedAccount = {
47
47
  customer: {
48
48
  data: {
49
49
  type: 'customer'
50
- id: number
50
+ id: string
51
51
  }
52
52
  }
53
53
  }
@@ -29,13 +29,13 @@ export type UNBookPayment = {
29
29
  counterpartyAccount: {
30
30
  data: {
31
31
  type: string
32
- id: number
32
+ id: string
33
33
  }
34
34
  }
35
35
  counterpartyCustomer: {
36
36
  data: {
37
37
  type: string
38
- id: number
38
+ id: string
39
39
  }
40
40
  }
41
41
  recurringPayment?: {
@@ -55,17 +55,17 @@ export type UNCents = number
55
55
 
56
56
  export type UNRelationshipsTransaction = {
57
57
  type: string
58
- id: number
58
+ id: string
59
59
  }
60
60
 
61
61
  export type UNRelationshipsCounterparty = {
62
62
  type: string
63
- id: number
63
+ id: string
64
64
  }
65
65
 
66
66
  export type UNRelationshipsRecurringPayment = {
67
67
  type: string
68
- id: number
68
+ id: string
69
69
  }
70
70
 
71
71
  export type UNRelationshipsAccount = {
@@ -30,7 +30,7 @@ export type UNWirePayment = {
30
30
  counterpartyAccount: {
31
31
  data: {
32
32
  type: string
33
- id: number
33
+ id: string
34
34
  }
35
35
  }
36
36
  org?: {
@@ -4,7 +4,7 @@ import { UNTransactionTypes } from './transactions.types';
4
4
 
5
5
  export type UNAccountLowBalanceClosureTransaction = {
6
6
  type: UNTransactionTypes.AccountLowBalanceClosure
7
- id: number
7
+ id: string
8
8
  attributes: {
9
9
  createdAt: Date
10
10
  amount: UNCents
@@ -16,13 +16,13 @@ export type UNAccountLowBalanceClosureTransaction = {
16
16
  account: {
17
17
  data: {
18
18
  type: string
19
- id: number
19
+ id: string
20
20
  }
21
21
  }
22
22
  customer?: {
23
23
  data: {
24
24
  type: string
25
- id: number
25
+ id: string
26
26
  }
27
27
  }
28
28
  customers?: {
@@ -36,7 +36,7 @@ export type UNAccountLowBalanceClosureTransaction = {
36
36
  org?: {
37
37
  data: {
38
38
  type: string
39
- id: number
39
+ id: string
40
40
  }
41
41
  }
42
42
  }
@@ -4,7 +4,7 @@ import { UNDirection } from '../types';
4
4
 
5
5
  export type UNAdjustmentTransaction = {
6
6
  type: UNTransactionTypes.Adjustment
7
- id: number
7
+ id: string
8
8
  attributes: {
9
9
  createdAt: Date
10
10
  amount: UNCents
@@ -16,13 +16,13 @@ export type UNAdjustmentTransaction = {
16
16
  account: {
17
17
  data: {
18
18
  type: string
19
- id: number
19
+ id: string
20
20
  }
21
21
  }
22
22
  customer?: {
23
23
  data: {
24
24
  type: string
25
- id: number
25
+ id: string
26
26
  }
27
27
  }
28
28
  customers?: {
@@ -36,7 +36,7 @@ export type UNAdjustmentTransaction = {
36
36
  org?: {
37
37
  data: {
38
38
  type: string
39
- id: number
39
+ id: string
40
40
  }
41
41
  }
42
42
  }
@@ -4,7 +4,7 @@ import { UNTransactionTypes } from './transactions.types';
4
4
 
5
5
  export type UNAtmTransaction = {
6
6
  type: UNTransactionTypes.ATM
7
- id: number
7
+ id: string
8
8
  attributes: {
9
9
  createdAt: Date
10
10
  amount: UNCents
@@ -21,13 +21,13 @@ export type UNAtmTransaction = {
21
21
  account: {
22
22
  data: {
23
23
  type: string
24
- id: number
24
+ id: string
25
25
  }
26
26
  }
27
27
  customer?: {
28
28
  data: {
29
29
  type: string
30
- id: number
30
+ id: string
31
31
  }
32
32
  }
33
33
  customers?: {
@@ -41,7 +41,7 @@ export type UNAtmTransaction = {
41
41
  org?: {
42
42
  data: {
43
43
  type: string
44
- id: number
44
+ id: string
45
45
  }
46
46
  }
47
47
  }
@@ -4,7 +4,7 @@ import { UNDirection } from '../types';
4
4
 
5
5
  export type UNBankRepaymentTransaction = {
6
6
  type: UNTransactionTypes.BankRepayment
7
- id: number
7
+ id: string
8
8
  attributes: {
9
9
  createdAt: Date
10
10
  amount: UNCents
@@ -18,19 +18,19 @@ export type UNBankRepaymentTransaction = {
18
18
  account: {
19
19
  data: {
20
20
  type: string
21
- id: number
21
+ id: string
22
22
  }
23
23
  }
24
24
  receivingAccount: {
25
25
  data: {
26
26
  type: string
27
- id: number
27
+ id: string
28
28
  }
29
29
  }
30
30
  customer?: {
31
31
  data: {
32
32
  type: string
33
- id: number
33
+ id: string
34
34
  }
35
35
  }
36
36
  customers?: {
@@ -44,7 +44,7 @@ export type UNBankRepaymentTransaction = {
44
44
  org?: {
45
45
  data: {
46
46
  type: string
47
- id: number
47
+ id: string
48
48
  }
49
49
  }
50
50
  }
@@ -4,7 +4,7 @@ import { UNDirection } from '../types';
4
4
 
5
5
  export type UNBillPayTransaction = {
6
6
  type: UNTransactionTypes.BillPay
7
- id: number
7
+ id: string
8
8
  attributes: {
9
9
  createdAt: Date
10
10
  amount: UNCents
@@ -16,13 +16,13 @@ export type UNBillPayTransaction = {
16
16
  account: {
17
17
  data: {
18
18
  type: string
19
- id: number
19
+ id: string
20
20
  }
21
21
  }
22
22
  customer?: {
23
23
  data: {
24
24
  type: string
25
- id: number
25
+ id: string
26
26
  }
27
27
  }
28
28
  customers?: {
@@ -36,7 +36,7 @@ export type UNBillPayTransaction = {
36
36
  org?: {
37
37
  data: {
38
38
  type: string
39
- id: number
39
+ id: string
40
40
  }
41
41
  }
42
42
  }
@@ -4,7 +4,7 @@ import { UNDirection } from '../types';
4
4
 
5
5
  export type UNBookTransaction = {
6
6
  type: UNTransactionTypes.Book
7
- id: number
7
+ id: string
8
8
  attributes: {
9
9
  createdAt: Date
10
10
  amount: UNCents
@@ -18,13 +18,13 @@ export type UNBookTransaction = {
18
18
  account: {
19
19
  data: {
20
20
  type: string
21
- id: number
21
+ id: string
22
22
  }
23
23
  }
24
24
  customer?: {
25
25
  data: {
26
26
  type: string
27
- id: number
27
+ id: string
28
28
  }
29
29
  }
30
30
  customers?: {
@@ -38,7 +38,7 @@ export type UNBookTransaction = {
38
38
  org?: {
39
39
  data: {
40
40
  type: string
41
- id: number
41
+ id: string
42
42
  }
43
43
  }
44
44
  counterpartyAccount?: {
@@ -4,7 +4,7 @@ import { UNDirection } from '../types';
4
4
 
5
5
  export type UNCardReversalTransaction = {
6
6
  type: UNTransactionTypes.CardReversal
7
- id: number
7
+ id: string
8
8
  attributes: {
9
9
  createdAt: Date
10
10
  amount: UNCents
@@ -17,13 +17,13 @@ export type UNCardReversalTransaction = {
17
17
  account: {
18
18
  data: {
19
19
  type: string
20
- id: number
20
+ id: string
21
21
  }
22
22
  }
23
23
  customer?: {
24
24
  data: {
25
25
  type: string
26
- id: number
26
+ id: string
27
27
  }
28
28
  }
29
29
  customers?: {
@@ -37,13 +37,13 @@ export type UNCardReversalTransaction = {
37
37
  relatedTransaction?: {
38
38
  data: {
39
39
  type: string
40
- id: number
40
+ id: string
41
41
  }
42
42
  }
43
43
  org?: {
44
44
  data: {
45
45
  type: string
46
- id: number
46
+ id: string
47
47
  }
48
48
  }
49
49
  }
@@ -4,7 +4,7 @@ import { UNDirection } from '../types';
4
4
 
5
5
  export type UNCardTransaction = {
6
6
  type: UNTransactionTypes.Card
7
- id: number
7
+ id: string
8
8
  attributes: {
9
9
  cardNetwork: string
10
10
  cardLast4Digits: string
@@ -24,13 +24,13 @@ export type UNCardTransaction = {
24
24
  account: {
25
25
  data: {
26
26
  type: string
27
- id: number
27
+ id: string
28
28
  }
29
29
  }
30
30
  customer?: {
31
31
  data: {
32
32
  type: string
33
- id: number
33
+ id: string
34
34
  }
35
35
  }
36
36
  customers?: {
@@ -44,7 +44,7 @@ export type UNCardTransaction = {
44
44
  org?: {
45
45
  data: {
46
46
  type: string
47
- id: number
47
+ id: string
48
48
  }
49
49
  }
50
50
  }