@cranberry-money/shared-constants 5.0.0 → 5.1.0
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/dist/api/auth.d.ts +28 -12
- package/dist/api/auth.d.ts.map +1 -1
- package/dist/api/auth.js +39 -18
- package/dist/api/config.d.ts.map +1 -1
- package/dist/api/config.js +15 -15
- package/dist/api/endpoints.js +31 -28
- package/dist/api/http.js +9 -6
- package/dist/api/index.js +20 -4
- package/dist/business/accounts.d.ts +1 -1
- package/dist/business/accounts.d.ts.map +1 -1
- package/dist/business/accounts.js +37 -35
- package/dist/business/bank-accounts.d.ts +17 -10
- package/dist/business/bank-accounts.d.ts.map +1 -1
- package/dist/business/bank-accounts.js +63 -51
- package/dist/business/banking.js +29 -26
- package/dist/business/countries.js +6 -3
- package/dist/business/documents.d.ts +12 -6
- package/dist/business/documents.d.ts.map +1 -1
- package/dist/business/documents.js +46 -43
- package/dist/business/index.d.ts +0 -1
- package/dist/business/index.d.ts.map +1 -1
- package/dist/business/index.js +74 -14
- package/dist/business/industries.js +5 -2
- package/dist/business/investments.js +56 -53
- package/dist/business/status/banks.d.ts +0 -6
- package/dist/business/status/banks.d.ts.map +1 -1
- package/dist/business/status/banks.js +14 -17
- package/dist/business/status/cash-accounts.d.ts.map +1 -1
- package/dist/business/status/cash-accounts.js +39 -37
- package/dist/business/status/documents.d.ts +4 -4
- package/dist/business/status/documents.d.ts.map +1 -1
- package/dist/business/status/documents.js +28 -24
- package/dist/business/status/index.js +23 -7
- package/dist/business/status/instruments.js +24 -21
- package/dist/business/status/portfolios.d.ts +0 -6
- package/dist/business/status/portfolios.d.ts.map +1 -1
- package/dist/business/status/portfolios.js +8 -11
- package/dist/business/status/trades.d.ts +12 -15
- package/dist/business/status/trades.d.ts.map +1 -1
- package/dist/business/status/trades.js +89 -90
- package/dist/business/status/withdrawals.d.ts +19 -18
- package/dist/business/status/withdrawals.d.ts.map +1 -1
- package/dist/business/status/withdrawals.js +102 -111
- package/dist/business/trading.js +26 -23
- package/dist/financial/currency.d.ts +0 -16
- package/dist/financial/currency.d.ts.map +1 -1
- package/dist/financial/currency.js +46 -58
- package/dist/financial/formatting.d.ts +1 -1
- package/dist/financial/formatting.d.ts.map +1 -1
- package/dist/financial/formatting.js +39 -24
- package/dist/financial/index.js +19 -3
- package/dist/financial/instruments.js +28 -25
- package/dist/index.d.ts +0 -2
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +21 -9
- package/dist/ui/colors.d.ts +10 -10
- package/dist/ui/colors.d.ts.map +1 -1
- package/dist/ui/colors.js +41 -40
- package/dist/ui/display.js +23 -20
- package/dist/ui/index.d.ts +0 -1
- package/dist/ui/index.d.ts.map +1 -1
- package/dist/ui/index.js +19 -4
- package/dist/ui/labels/index.js +49 -15
- package/dist/utilities/common.d.ts +20 -10
- package/dist/utilities/common.d.ts.map +1 -1
- package/dist/utilities/common.js +36 -16
- package/dist/utilities/defaults.d.ts.map +1 -1
- package/dist/utilities/defaults.js +37 -41
- package/dist/utilities/index.js +21 -5
- package/dist/utilities/sorting.js +16 -13
- package/dist/utilities/time.js +12 -9
- package/dist/utilities/validation.d.ts.map +1 -1
- package/dist/utilities/validation.js +8 -6
- package/package.json +1 -1
- package/dist/business/holdings.d.ts +0 -34
- package/dist/business/holdings.d.ts.map +0 -1
- package/dist/business/holdings.js +0 -34
- package/dist/common/index.d.ts +0 -2
- package/dist/common/index.d.ts.map +0 -1
- package/dist/common/index.js +0 -1
- package/dist/common/statuses.d.ts +0 -20
- package/dist/common/statuses.d.ts.map +0 -1
- package/dist/common/statuses.js +0 -19
- package/dist/config/defaults.d.ts +0 -79
- package/dist/config/defaults.d.ts.map +0 -1
- package/dist/config/defaults.js +0 -77
- package/dist/config/index.d.ts +0 -8
- package/dist/config/index.d.ts.map +0 -1
- package/dist/config/index.js +0 -7
- package/dist/config/pagination.d.ts +0 -28
- package/dist/config/pagination.d.ts.map +0 -1
- package/dist/config/pagination.js +0 -40
- package/dist/config/thresholds.d.ts +0 -65
- package/dist/config/thresholds.d.ts.map +0 -1
- package/dist/config/thresholds.js +0 -82
- package/dist/ui/status-colors-unified.d.ts +0 -91
- package/dist/ui/status-colors-unified.d.ts.map +0 -1
- package/dist/ui/status-colors-unified.js +0 -106
|
@@ -1,69 +1,81 @@
|
|
|
1
|
+
"use strict";
|
|
1
2
|
/**
|
|
2
3
|
* Bank account type constants
|
|
3
4
|
* Note: Bank account status constants are in ./status/banks.ts
|
|
4
5
|
*/
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
6
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
7
|
+
exports.BANK_ACCOUNT_TYPE_DESC_OFFSET = exports.BANK_ACCOUNT_TYPE_DESC_TERM_DEPOSIT = exports.BANK_ACCOUNT_TYPE_DESC_TRANSACTION = exports.BANK_ACCOUNT_TYPE_DESC_CHECKING = exports.BANK_ACCOUNT_TYPE_DESC_SAVINGS = exports.BANK_ACCOUNT_TYPE_LABEL_OFFSET = exports.BANK_ACCOUNT_TYPE_LABEL_TERM_DEPOSIT = exports.BANK_ACCOUNT_TYPE_LABEL_TRANSACTION = exports.BANK_ACCOUNT_TYPE_LABEL_CHECKING = exports.BANK_ACCOUNT_TYPE_LABEL_SAVINGS = exports.BANK_ACCOUNT_TYPE_OPTIONS = exports.BANK_ACCOUNT_TYPE_LABELS = exports.BANK_ACCOUNT_TYPE_OFFSET = exports.BANK_ACCOUNT_TYPE_TERM_DEPOSIT = exports.BANK_ACCOUNT_TYPE_TRANSACTION = exports.BANK_ACCOUNT_TYPE_CHECKING = exports.BANK_ACCOUNT_TYPE_SAVINGS = exports.getAccountTypeInfo = exports.ACCOUNT_TYPES = exports.getBankAccountCategoryInfo = exports.BANK_ACCOUNT_CATEGORIES_INFO = exports.BANK_ACCOUNT_CATEGORY_OPTIONS = exports.BANK_ACCOUNT_CATEGORY_DESCRIPTIONS = exports.BANK_ACCOUNT_CATEGORY_OFFSET = exports.BANK_ACCOUNT_CATEGORY_TERM_DEPOSIT = exports.BANK_ACCOUNT_CATEGORY_TRANSACTION = exports.BANK_ACCOUNT_CATEGORY_CHECKING = exports.BANK_ACCOUNT_CATEGORY_SAVINGS = exports.BANK_ACCOUNT_CATEGORY_LABELS = exports.BANK_ACCOUNT_CATEGORIES = exports.BANK_ACCOUNT_CATEGORY = void 0;
|
|
8
|
+
// Bank Account Category constants - consolidated object notation
|
|
9
|
+
exports.BANK_ACCOUNT_CATEGORY = {
|
|
10
|
+
SAVINGS: 'savings',
|
|
11
|
+
CHECKING: 'checking',
|
|
12
|
+
TRANSACTION: 'transaction',
|
|
13
|
+
TERM_DEPOSIT: 'term_deposit',
|
|
14
|
+
OFFSET: 'offset',
|
|
15
|
+
};
|
|
16
|
+
exports.BANK_ACCOUNT_CATEGORIES = [
|
|
17
|
+
exports.BANK_ACCOUNT_CATEGORY.SAVINGS,
|
|
18
|
+
exports.BANK_ACCOUNT_CATEGORY.CHECKING,
|
|
19
|
+
exports.BANK_ACCOUNT_CATEGORY.TRANSACTION,
|
|
20
|
+
exports.BANK_ACCOUNT_CATEGORY.TERM_DEPOSIT,
|
|
21
|
+
exports.BANK_ACCOUNT_CATEGORY.OFFSET,
|
|
17
22
|
];
|
|
18
23
|
// Bank Account Type labels
|
|
19
|
-
|
|
20
|
-
[
|
|
21
|
-
[
|
|
22
|
-
[
|
|
23
|
-
[
|
|
24
|
-
[
|
|
24
|
+
exports.BANK_ACCOUNT_CATEGORY_LABELS = {
|
|
25
|
+
[exports.BANK_ACCOUNT_CATEGORY.SAVINGS]: 'Savings Account',
|
|
26
|
+
[exports.BANK_ACCOUNT_CATEGORY.CHECKING]: 'Checking Account',
|
|
27
|
+
[exports.BANK_ACCOUNT_CATEGORY.TRANSACTION]: 'Transaction Account',
|
|
28
|
+
[exports.BANK_ACCOUNT_CATEGORY.TERM_DEPOSIT]: 'Term Deposit',
|
|
29
|
+
[exports.BANK_ACCOUNT_CATEGORY.OFFSET]: 'Offset Account',
|
|
25
30
|
};
|
|
31
|
+
// Backward compatibility: individual exports
|
|
32
|
+
exports.BANK_ACCOUNT_CATEGORY_SAVINGS = exports.BANK_ACCOUNT_CATEGORY.SAVINGS;
|
|
33
|
+
exports.BANK_ACCOUNT_CATEGORY_CHECKING = exports.BANK_ACCOUNT_CATEGORY.CHECKING;
|
|
34
|
+
exports.BANK_ACCOUNT_CATEGORY_TRANSACTION = exports.BANK_ACCOUNT_CATEGORY.TRANSACTION;
|
|
35
|
+
exports.BANK_ACCOUNT_CATEGORY_TERM_DEPOSIT = exports.BANK_ACCOUNT_CATEGORY.TERM_DEPOSIT;
|
|
36
|
+
exports.BANK_ACCOUNT_CATEGORY_OFFSET = exports.BANK_ACCOUNT_CATEGORY.OFFSET;
|
|
26
37
|
// Bank Account Type descriptions
|
|
27
|
-
|
|
28
|
-
[BANK_ACCOUNT_CATEGORY_SAVINGS]: 'Interest-bearing savings account',
|
|
29
|
-
[BANK_ACCOUNT_CATEGORY_CHECKING]: 'Everyday checking account',
|
|
30
|
-
[BANK_ACCOUNT_CATEGORY_TRANSACTION]: 'Daily transaction account',
|
|
31
|
-
[BANK_ACCOUNT_CATEGORY_TERM_DEPOSIT]: 'Fixed-term deposit account',
|
|
32
|
-
[BANK_ACCOUNT_CATEGORY_OFFSET]: 'Mortgage offset account',
|
|
38
|
+
exports.BANK_ACCOUNT_CATEGORY_DESCRIPTIONS = {
|
|
39
|
+
[exports.BANK_ACCOUNT_CATEGORY_SAVINGS]: 'Interest-bearing savings account',
|
|
40
|
+
[exports.BANK_ACCOUNT_CATEGORY_CHECKING]: 'Everyday checking account',
|
|
41
|
+
[exports.BANK_ACCOUNT_CATEGORY_TRANSACTION]: 'Daily transaction account',
|
|
42
|
+
[exports.BANK_ACCOUNT_CATEGORY_TERM_DEPOSIT]: 'Fixed-term deposit account',
|
|
43
|
+
[exports.BANK_ACCOUNT_CATEGORY_OFFSET]: 'Mortgage offset account',
|
|
33
44
|
};
|
|
34
45
|
// Bank Account Type options for forms with descriptions
|
|
35
|
-
|
|
46
|
+
exports.BANK_ACCOUNT_CATEGORY_OPTIONS = exports.BANK_ACCOUNT_CATEGORIES.map(type => ({
|
|
36
47
|
value: type,
|
|
37
|
-
label: BANK_ACCOUNT_CATEGORY_LABELS[type],
|
|
38
|
-
description: BANK_ACCOUNT_CATEGORY_DESCRIPTIONS[type],
|
|
48
|
+
label: exports.BANK_ACCOUNT_CATEGORY_LABELS[type],
|
|
49
|
+
description: exports.BANK_ACCOUNT_CATEGORY_DESCRIPTIONS[type],
|
|
39
50
|
}));
|
|
40
51
|
// Available account types with display information
|
|
41
|
-
|
|
52
|
+
exports.BANK_ACCOUNT_CATEGORIES_INFO = exports.BANK_ACCOUNT_CATEGORIES.map(type => ({
|
|
42
53
|
code: type,
|
|
43
|
-
name: BANK_ACCOUNT_CATEGORY_LABELS[type],
|
|
44
|
-
description: BANK_ACCOUNT_CATEGORY_DESCRIPTIONS[type],
|
|
54
|
+
name: exports.BANK_ACCOUNT_CATEGORY_LABELS[type],
|
|
55
|
+
description: exports.BANK_ACCOUNT_CATEGORY_DESCRIPTIONS[type],
|
|
45
56
|
}));
|
|
46
57
|
// Helper function to get account type info by code
|
|
47
|
-
|
|
48
|
-
return BANK_ACCOUNT_CATEGORIES_INFO.find(type => type.code === code);
|
|
58
|
+
const getBankAccountCategoryInfo = (code) => {
|
|
59
|
+
return exports.BANK_ACCOUNT_CATEGORIES_INFO.find(type => type.code === code);
|
|
49
60
|
};
|
|
50
|
-
|
|
51
|
-
|
|
61
|
+
exports.getBankAccountCategoryInfo = getBankAccountCategoryInfo;
|
|
62
|
+
exports.ACCOUNT_TYPES = exports.BANK_ACCOUNT_CATEGORIES_INFO;
|
|
63
|
+
exports.getAccountTypeInfo = exports.getBankAccountCategoryInfo;
|
|
52
64
|
// Blueberry compatibility exports - individual constants
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
65
|
+
exports.BANK_ACCOUNT_TYPE_SAVINGS = exports.BANK_ACCOUNT_CATEGORY_SAVINGS;
|
|
66
|
+
exports.BANK_ACCOUNT_TYPE_CHECKING = exports.BANK_ACCOUNT_CATEGORY_CHECKING;
|
|
67
|
+
exports.BANK_ACCOUNT_TYPE_TRANSACTION = exports.BANK_ACCOUNT_CATEGORY_TRANSACTION;
|
|
68
|
+
exports.BANK_ACCOUNT_TYPE_TERM_DEPOSIT = exports.BANK_ACCOUNT_CATEGORY_TERM_DEPOSIT;
|
|
69
|
+
exports.BANK_ACCOUNT_TYPE_OFFSET = exports.BANK_ACCOUNT_CATEGORY_OFFSET;
|
|
70
|
+
exports.BANK_ACCOUNT_TYPE_LABELS = exports.BANK_ACCOUNT_CATEGORY_LABELS;
|
|
71
|
+
exports.BANK_ACCOUNT_TYPE_OPTIONS = exports.BANK_ACCOUNT_CATEGORY_OPTIONS;
|
|
72
|
+
exports.BANK_ACCOUNT_TYPE_LABEL_SAVINGS = exports.BANK_ACCOUNT_CATEGORY_LABELS[exports.BANK_ACCOUNT_CATEGORY_SAVINGS];
|
|
73
|
+
exports.BANK_ACCOUNT_TYPE_LABEL_CHECKING = exports.BANK_ACCOUNT_CATEGORY_LABELS[exports.BANK_ACCOUNT_CATEGORY_CHECKING];
|
|
74
|
+
exports.BANK_ACCOUNT_TYPE_LABEL_TRANSACTION = exports.BANK_ACCOUNT_CATEGORY_LABELS[exports.BANK_ACCOUNT_CATEGORY_TRANSACTION];
|
|
75
|
+
exports.BANK_ACCOUNT_TYPE_LABEL_TERM_DEPOSIT = exports.BANK_ACCOUNT_CATEGORY_LABELS[exports.BANK_ACCOUNT_CATEGORY_TERM_DEPOSIT];
|
|
76
|
+
exports.BANK_ACCOUNT_TYPE_LABEL_OFFSET = exports.BANK_ACCOUNT_CATEGORY_LABELS[exports.BANK_ACCOUNT_CATEGORY_OFFSET];
|
|
77
|
+
exports.BANK_ACCOUNT_TYPE_DESC_SAVINGS = exports.BANK_ACCOUNT_CATEGORY_DESCRIPTIONS[exports.BANK_ACCOUNT_CATEGORY_SAVINGS];
|
|
78
|
+
exports.BANK_ACCOUNT_TYPE_DESC_CHECKING = exports.BANK_ACCOUNT_CATEGORY_DESCRIPTIONS[exports.BANK_ACCOUNT_CATEGORY_CHECKING];
|
|
79
|
+
exports.BANK_ACCOUNT_TYPE_DESC_TRANSACTION = exports.BANK_ACCOUNT_CATEGORY_DESCRIPTIONS[exports.BANK_ACCOUNT_CATEGORY_TRANSACTION];
|
|
80
|
+
exports.BANK_ACCOUNT_TYPE_DESC_TERM_DEPOSIT = exports.BANK_ACCOUNT_CATEGORY_DESCRIPTIONS[exports.BANK_ACCOUNT_CATEGORY_TERM_DEPOSIT];
|
|
81
|
+
exports.BANK_ACCOUNT_TYPE_DESC_OFFSET = exports.BANK_ACCOUNT_CATEGORY_DESCRIPTIONS[exports.BANK_ACCOUNT_CATEGORY_OFFSET];
|
package/dist/business/banking.js
CHANGED
|
@@ -1,23 +1,26 @@
|
|
|
1
|
+
"use strict";
|
|
1
2
|
/**
|
|
2
3
|
* Banking-related business constants
|
|
3
4
|
*/
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.ACCOUNT_NUMBER_VALIDATION = exports.BSB_VALIDATION = exports.VERIFICATION_METHOD_LABELS = exports.VERIFICATION_METHOD = exports.BANKING_INSTITUTION_LABELS = exports.BANKING_INSTITUTION = exports.BANK_ACCOUNT_TYPE_LABELS = exports.BANK_ACCOUNT_TYPE = void 0;
|
|
4
7
|
// Bank account types
|
|
5
|
-
|
|
8
|
+
exports.BANK_ACCOUNT_TYPE = {
|
|
6
9
|
CHECKING: 'CHECKING',
|
|
7
10
|
SAVINGS: 'SAVINGS',
|
|
8
11
|
BUSINESS: 'BUSINESS',
|
|
9
12
|
INVESTMENT: 'INVESTMENT',
|
|
10
13
|
OTHER: 'OTHER',
|
|
11
14
|
};
|
|
12
|
-
|
|
13
|
-
[BANK_ACCOUNT_TYPE.CHECKING]: 'Checking Account',
|
|
14
|
-
[BANK_ACCOUNT_TYPE.SAVINGS]: 'Savings Account',
|
|
15
|
-
[BANK_ACCOUNT_TYPE.BUSINESS]: 'Business Account',
|
|
16
|
-
[BANK_ACCOUNT_TYPE.INVESTMENT]: 'Investment Account',
|
|
17
|
-
[BANK_ACCOUNT_TYPE.OTHER]: 'Other',
|
|
15
|
+
exports.BANK_ACCOUNT_TYPE_LABELS = {
|
|
16
|
+
[exports.BANK_ACCOUNT_TYPE.CHECKING]: 'Checking Account',
|
|
17
|
+
[exports.BANK_ACCOUNT_TYPE.SAVINGS]: 'Savings Account',
|
|
18
|
+
[exports.BANK_ACCOUNT_TYPE.BUSINESS]: 'Business Account',
|
|
19
|
+
[exports.BANK_ACCOUNT_TYPE.INVESTMENT]: 'Investment Account',
|
|
20
|
+
[exports.BANK_ACCOUNT_TYPE.OTHER]: 'Other',
|
|
18
21
|
};
|
|
19
22
|
// Banking institutions (Australia-focused)
|
|
20
|
-
|
|
23
|
+
exports.BANKING_INSTITUTION = {
|
|
21
24
|
// Big Four
|
|
22
25
|
CBA: 'CBA',
|
|
23
26
|
ANZ: 'ANZ',
|
|
@@ -31,38 +34,38 @@ export const BANKING_INSTITUTION = {
|
|
|
31
34
|
// Other
|
|
32
35
|
OTHER: 'OTHER',
|
|
33
36
|
};
|
|
34
|
-
|
|
35
|
-
[BANKING_INSTITUTION.CBA]: 'Commonwealth Bank',
|
|
36
|
-
[BANKING_INSTITUTION.ANZ]: 'ANZ Bank',
|
|
37
|
-
[BANKING_INSTITUTION.NAB]: 'National Australia Bank',
|
|
38
|
-
[BANKING_INSTITUTION.WESTPAC]: 'Westpac',
|
|
39
|
-
[BANKING_INSTITUTION.MACQUARIE]: 'Macquarie Bank',
|
|
40
|
-
[BANKING_INSTITUTION.ING]: 'ING Australia',
|
|
41
|
-
[BANKING_INSTITUTION.BENDIGO]: 'Bendigo Bank',
|
|
42
|
-
[BANKING_INSTITUTION.SUNCORP]: 'Suncorp Bank',
|
|
43
|
-
[BANKING_INSTITUTION.OTHER]: 'Other',
|
|
37
|
+
exports.BANKING_INSTITUTION_LABELS = {
|
|
38
|
+
[exports.BANKING_INSTITUTION.CBA]: 'Commonwealth Bank',
|
|
39
|
+
[exports.BANKING_INSTITUTION.ANZ]: 'ANZ Bank',
|
|
40
|
+
[exports.BANKING_INSTITUTION.NAB]: 'National Australia Bank',
|
|
41
|
+
[exports.BANKING_INSTITUTION.WESTPAC]: 'Westpac',
|
|
42
|
+
[exports.BANKING_INSTITUTION.MACQUARIE]: 'Macquarie Bank',
|
|
43
|
+
[exports.BANKING_INSTITUTION.ING]: 'ING Australia',
|
|
44
|
+
[exports.BANKING_INSTITUTION.BENDIGO]: 'Bendigo Bank',
|
|
45
|
+
[exports.BANKING_INSTITUTION.SUNCORP]: 'Suncorp Bank',
|
|
46
|
+
[exports.BANKING_INSTITUTION.OTHER]: 'Other',
|
|
44
47
|
};
|
|
45
48
|
// Account verification methods
|
|
46
|
-
|
|
49
|
+
exports.VERIFICATION_METHOD = {
|
|
47
50
|
MICRO_DEPOSIT: 'MICRO_DEPOSIT',
|
|
48
51
|
INSTANT: 'INSTANT',
|
|
49
52
|
MANUAL: 'MANUAL',
|
|
50
53
|
DOCUMENT: 'DOCUMENT',
|
|
51
54
|
};
|
|
52
|
-
|
|
53
|
-
[VERIFICATION_METHOD.MICRO_DEPOSIT]: 'Micro Deposit',
|
|
54
|
-
[VERIFICATION_METHOD.INSTANT]: 'Instant Verification',
|
|
55
|
-
[VERIFICATION_METHOD.MANUAL]: 'Manual Verification',
|
|
56
|
-
[VERIFICATION_METHOD.DOCUMENT]: 'Document Verification',
|
|
55
|
+
exports.VERIFICATION_METHOD_LABELS = {
|
|
56
|
+
[exports.VERIFICATION_METHOD.MICRO_DEPOSIT]: 'Micro Deposit',
|
|
57
|
+
[exports.VERIFICATION_METHOD.INSTANT]: 'Instant Verification',
|
|
58
|
+
[exports.VERIFICATION_METHOD.MANUAL]: 'Manual Verification',
|
|
59
|
+
[exports.VERIFICATION_METHOD.DOCUMENT]: 'Document Verification',
|
|
57
60
|
};
|
|
58
61
|
// BSB validation (Australian Bank State Branch)
|
|
59
|
-
|
|
62
|
+
exports.BSB_VALIDATION = {
|
|
60
63
|
LENGTH: 6,
|
|
61
64
|
PATTERN: /^\d{6}$/,
|
|
62
65
|
FORMAT_PATTERN: /^\d{3}-?\d{3}$/,
|
|
63
66
|
};
|
|
64
67
|
// Account number validation
|
|
65
|
-
|
|
68
|
+
exports.ACCOUNT_NUMBER_VALIDATION = {
|
|
66
69
|
MIN_LENGTH: 4,
|
|
67
70
|
MAX_LENGTH: 10,
|
|
68
71
|
PATTERN: /^\d{4,10}$/,
|
|
@@ -1,11 +1,14 @@
|
|
|
1
|
+
"use strict";
|
|
1
2
|
/**
|
|
2
3
|
* Countries domain constants
|
|
3
4
|
*/
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.COUNTRY_STATUS_UNAVAILABLE = exports.COUNTRY_STATUS_AVAILABLE = exports.COUNTRY_STATUS = void 0;
|
|
4
7
|
// Country availability status
|
|
5
|
-
|
|
8
|
+
exports.COUNTRY_STATUS = {
|
|
6
9
|
AVAILABLE: true,
|
|
7
10
|
UNAVAILABLE: false,
|
|
8
11
|
};
|
|
9
12
|
// Individual exports for easy migration from Blueberry
|
|
10
|
-
|
|
11
|
-
|
|
13
|
+
exports.COUNTRY_STATUS_AVAILABLE = exports.COUNTRY_STATUS.AVAILABLE;
|
|
14
|
+
exports.COUNTRY_STATUS_UNAVAILABLE = exports.COUNTRY_STATUS.UNAVAILABLE;
|
|
@@ -1,9 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Document-related business constants
|
|
3
3
|
*/
|
|
4
|
-
export declare const DOCUMENT_TYPE_MDA = "mda";
|
|
5
|
-
export declare const DOCUMENT_TYPE_SOA = "soa";
|
|
6
|
-
export declare const DOCUMENT_TYPE_AGREEMENT = "agreement";
|
|
7
4
|
export declare const DOCUMENT_TYPE: {
|
|
8
5
|
readonly MDA: "mda";
|
|
9
6
|
readonly SOA: "soa";
|
|
@@ -19,10 +16,19 @@ export declare const DOCUMENT_TYPE_LABEL_MDA = "Management Discretionary Agreeme
|
|
|
19
16
|
export declare const DOCUMENT_TYPE_LABEL_SOA = "Statement of Advice";
|
|
20
17
|
export declare const DOCUMENT_TYPE_LABEL_AGREEMENT = "Client Agreement";
|
|
21
18
|
export declare const DOCUMENT_TYPE_LABELS: Record<string, string>;
|
|
22
|
-
export declare const DOCUMENT_TYPE_OPTIONS: {
|
|
23
|
-
value:
|
|
19
|
+
export declare const DOCUMENT_TYPE_OPTIONS: ({
|
|
20
|
+
value: "mda";
|
|
24
21
|
label: string;
|
|
25
|
-
}
|
|
22
|
+
} | {
|
|
23
|
+
value: "soa";
|
|
24
|
+
label: string;
|
|
25
|
+
} | {
|
|
26
|
+
value: "agreement";
|
|
27
|
+
label: string;
|
|
28
|
+
})[];
|
|
29
|
+
export declare const DOCUMENT_TYPE_MDA: "mda";
|
|
30
|
+
export declare const DOCUMENT_TYPE_SOA: "soa";
|
|
31
|
+
export declare const DOCUMENT_TYPE_AGREEMENT: "agreement";
|
|
26
32
|
export declare const DOCUMENT_CATEGORY: {
|
|
27
33
|
readonly ONBOARDING: "ONBOARDING";
|
|
28
34
|
readonly ACCOUNT: "ACCOUNT";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"documents.d.ts","sourceRoot":"","sources":["../../src/business/documents.ts"],"names":[],"mappings":"AAAA;;GAEG;AAGH,eAAO,MAAM,
|
|
1
|
+
{"version":3,"file":"documents.d.ts","sourceRoot":"","sources":["../../src/business/documents.ts"],"names":[],"mappings":"AAAA;;GAEG;AAGH,eAAO,MAAM,aAAa;;;;;;;;;CAShB,CAAC;AAEX,MAAM,MAAM,YAAY,GAAG,CAAC,OAAO,aAAa,CAAC,CAAC,MAAM,OAAO,aAAa,CAAC,CAAC;AAG9E,eAAO,MAAM,uBAAuB,uCAAuC,CAAC;AAC5E,eAAO,MAAM,uBAAuB,wBAAwB,CAAC;AAC7D,eAAO,MAAM,6BAA6B,qBAAqB,CAAC;AAEhE,eAAO,MAAM,oBAAoB,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAS9C,CAAC;AAGX,eAAO,MAAM,qBAAqB;;;;;;;;;IAIjC,CAAC;AAGF,eAAO,MAAM,iBAAiB,OAAoB,CAAC;AACnD,eAAO,MAAM,iBAAiB,OAAoB,CAAC;AACnD,eAAO,MAAM,uBAAuB,aAA0B,CAAC;AAG/D,eAAO,MAAM,iBAAiB;;;;;;;CAOpB,CAAC;AAEX,MAAM,MAAM,gBAAgB,GAAG,CAAC,OAAO,iBAAiB,CAAC,CAAC,MAAM,OAAO,iBAAiB,CAAC,CAAC;AAE1F,eAAO,MAAM,wBAAwB,EAAE,MAAM,CAAC,gBAAgB,EAAE,MAAM,CAO5D,CAAC;AAGX,eAAO,MAAM,eAAe;;;;;CAKlB,CAAC;AAEX,MAAM,MAAM,cAAc,GAAG,CAAC,OAAO,eAAe,CAAC,CAAC,MAAM,OAAO,eAAe,CAAC,CAAC;AAGpF,eAAO,MAAM,mBAAmB,EAAE,MAAM,CAAC,cAAc,EAAE,MAAM,CAKrD,CAAC;AAGX,eAAO,MAAM,yBAAyB,MAAM,CAAC;AAC7C,eAAO,MAAM,kBAAkB,aAAa,CAAC;AAG7C,eAAO,MAAM,kBAAkB,SAAS,CAAC;AACzC,eAAO,MAAM,gBAAgB,QAAQ,CAAC"}
|
|
@@ -1,15 +1,14 @@
|
|
|
1
|
+
"use strict";
|
|
1
2
|
/**
|
|
2
3
|
* Document-related business constants
|
|
3
4
|
*/
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
SOA: DOCUMENT_TYPE_SOA,
|
|
12
|
-
AGREEMENT: DOCUMENT_TYPE_AGREEMENT,
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.CONTENT_TYPE_ANY = exports.RESPONSE_TYPE_BLOB = exports.DOWNLOAD_ATTRIBUTE = exports.DOWNLOAD_LINK_ELEMENT_TAG = exports.DOCUMENT_MIME_TYPES = exports.DOCUMENT_FORMAT = exports.DOCUMENT_CATEGORY_LABELS = exports.DOCUMENT_CATEGORY = exports.DOCUMENT_TYPE_AGREEMENT = exports.DOCUMENT_TYPE_SOA = exports.DOCUMENT_TYPE_MDA = exports.DOCUMENT_TYPE_OPTIONS = exports.DOCUMENT_TYPE_LABELS = exports.DOCUMENT_TYPE_LABEL_AGREEMENT = exports.DOCUMENT_TYPE_LABEL_SOA = exports.DOCUMENT_TYPE_LABEL_MDA = exports.DOCUMENT_TYPE = void 0;
|
|
7
|
+
// Document types - consolidated object notation
|
|
8
|
+
exports.DOCUMENT_TYPE = {
|
|
9
|
+
MDA: 'mda',
|
|
10
|
+
SOA: 'soa',
|
|
11
|
+
AGREEMENT: 'agreement',
|
|
13
12
|
STATEMENT: 'STATEMENT',
|
|
14
13
|
REPORT: 'REPORT',
|
|
15
14
|
CONFIRMATION: 'CONFIRMATION',
|
|
@@ -17,27 +16,31 @@ export const DOCUMENT_TYPE = {
|
|
|
17
16
|
OTHER: 'OTHER',
|
|
18
17
|
};
|
|
19
18
|
// Document type label constants
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
[DOCUMENT_TYPE.MDA]: DOCUMENT_TYPE_LABEL_MDA,
|
|
25
|
-
[DOCUMENT_TYPE.SOA]: DOCUMENT_TYPE_LABEL_SOA,
|
|
26
|
-
[DOCUMENT_TYPE.AGREEMENT]: DOCUMENT_TYPE_LABEL_AGREEMENT,
|
|
27
|
-
[DOCUMENT_TYPE.STATEMENT]: 'Statement',
|
|
28
|
-
[DOCUMENT_TYPE.REPORT]: 'Report',
|
|
29
|
-
[DOCUMENT_TYPE.CONFIRMATION]: 'Confirmation',
|
|
30
|
-
[DOCUMENT_TYPE.TAX_DOCUMENT]: 'Tax Document',
|
|
31
|
-
[DOCUMENT_TYPE.OTHER]: 'Other',
|
|
19
|
+
exports.DOCUMENT_TYPE_LABEL_MDA = 'Management Discretionary Agreement';
|
|
20
|
+
exports.DOCUMENT_TYPE_LABEL_SOA = 'Statement of Advice';
|
|
21
|
+
exports.DOCUMENT_TYPE_LABEL_AGREEMENT = 'Client Agreement';
|
|
22
|
+
exports.DOCUMENT_TYPE_LABELS = {
|
|
23
|
+
[exports.DOCUMENT_TYPE.MDA]: exports.DOCUMENT_TYPE_LABEL_MDA,
|
|
24
|
+
[exports.DOCUMENT_TYPE.SOA]: exports.DOCUMENT_TYPE_LABEL_SOA,
|
|
25
|
+
[exports.DOCUMENT_TYPE.AGREEMENT]: exports.DOCUMENT_TYPE_LABEL_AGREEMENT,
|
|
26
|
+
[exports.DOCUMENT_TYPE.STATEMENT]: 'Statement',
|
|
27
|
+
[exports.DOCUMENT_TYPE.REPORT]: 'Report',
|
|
28
|
+
[exports.DOCUMENT_TYPE.CONFIRMATION]: 'Confirmation',
|
|
29
|
+
[exports.DOCUMENT_TYPE.TAX_DOCUMENT]: 'Tax Document',
|
|
30
|
+
[exports.DOCUMENT_TYPE.OTHER]: 'Other',
|
|
32
31
|
};
|
|
33
32
|
// Document type options for forms
|
|
34
|
-
|
|
35
|
-
{ value:
|
|
36
|
-
{ value:
|
|
37
|
-
{ value:
|
|
33
|
+
exports.DOCUMENT_TYPE_OPTIONS = [
|
|
34
|
+
{ value: exports.DOCUMENT_TYPE.MDA, label: exports.DOCUMENT_TYPE_LABEL_MDA },
|
|
35
|
+
{ value: exports.DOCUMENT_TYPE.SOA, label: exports.DOCUMENT_TYPE_LABEL_SOA },
|
|
36
|
+
{ value: exports.DOCUMENT_TYPE.AGREEMENT, label: exports.DOCUMENT_TYPE_LABEL_AGREEMENT },
|
|
38
37
|
];
|
|
38
|
+
// Backward compatibility: individual exports
|
|
39
|
+
exports.DOCUMENT_TYPE_MDA = exports.DOCUMENT_TYPE.MDA;
|
|
40
|
+
exports.DOCUMENT_TYPE_SOA = exports.DOCUMENT_TYPE.SOA;
|
|
41
|
+
exports.DOCUMENT_TYPE_AGREEMENT = exports.DOCUMENT_TYPE.AGREEMENT;
|
|
39
42
|
// Document categories
|
|
40
|
-
|
|
43
|
+
exports.DOCUMENT_CATEGORY = {
|
|
41
44
|
ONBOARDING: 'ONBOARDING',
|
|
42
45
|
ACCOUNT: 'ACCOUNT',
|
|
43
46
|
TRADING: 'TRADING',
|
|
@@ -45,31 +48,31 @@ export const DOCUMENT_CATEGORY = {
|
|
|
45
48
|
COMPLIANCE: 'COMPLIANCE',
|
|
46
49
|
GENERAL: 'GENERAL',
|
|
47
50
|
};
|
|
48
|
-
|
|
49
|
-
[DOCUMENT_CATEGORY.ONBOARDING]: 'Onboarding',
|
|
50
|
-
[DOCUMENT_CATEGORY.ACCOUNT]: 'Account',
|
|
51
|
-
[DOCUMENT_CATEGORY.TRADING]: 'Trading',
|
|
52
|
-
[DOCUMENT_CATEGORY.TAX]: 'Tax',
|
|
53
|
-
[DOCUMENT_CATEGORY.COMPLIANCE]: 'Compliance',
|
|
54
|
-
[DOCUMENT_CATEGORY.GENERAL]: 'General',
|
|
51
|
+
exports.DOCUMENT_CATEGORY_LABELS = {
|
|
52
|
+
[exports.DOCUMENT_CATEGORY.ONBOARDING]: 'Onboarding',
|
|
53
|
+
[exports.DOCUMENT_CATEGORY.ACCOUNT]: 'Account',
|
|
54
|
+
[exports.DOCUMENT_CATEGORY.TRADING]: 'Trading',
|
|
55
|
+
[exports.DOCUMENT_CATEGORY.TAX]: 'Tax',
|
|
56
|
+
[exports.DOCUMENT_CATEGORY.COMPLIANCE]: 'Compliance',
|
|
57
|
+
[exports.DOCUMENT_CATEGORY.GENERAL]: 'General',
|
|
55
58
|
};
|
|
56
59
|
// Document formats
|
|
57
|
-
|
|
60
|
+
exports.DOCUMENT_FORMAT = {
|
|
58
61
|
PDF: 'PDF',
|
|
59
62
|
DOCX: 'DOCX',
|
|
60
63
|
CSV: 'CSV',
|
|
61
64
|
XLSX: 'XLSX',
|
|
62
65
|
};
|
|
63
66
|
// Document mime types
|
|
64
|
-
|
|
65
|
-
[DOCUMENT_FORMAT.PDF]: 'application/pdf',
|
|
66
|
-
[DOCUMENT_FORMAT.DOCX]: 'application/vnd.openxmlformats-officedocument.wordprocessingml.document',
|
|
67
|
-
[DOCUMENT_FORMAT.CSV]: 'text/csv',
|
|
68
|
-
[DOCUMENT_FORMAT.XLSX]: 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet',
|
|
67
|
+
exports.DOCUMENT_MIME_TYPES = {
|
|
68
|
+
[exports.DOCUMENT_FORMAT.PDF]: 'application/pdf',
|
|
69
|
+
[exports.DOCUMENT_FORMAT.DOCX]: 'application/vnd.openxmlformats-officedocument.wordprocessingml.document',
|
|
70
|
+
[exports.DOCUMENT_FORMAT.CSV]: 'text/csv',
|
|
71
|
+
[exports.DOCUMENT_FORMAT.XLSX]: 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet',
|
|
69
72
|
};
|
|
70
73
|
// Download-related constants
|
|
71
|
-
|
|
72
|
-
|
|
74
|
+
exports.DOWNLOAD_LINK_ELEMENT_TAG = 'a';
|
|
75
|
+
exports.DOWNLOAD_ATTRIBUTE = 'download';
|
|
73
76
|
// HTTP constants for documents
|
|
74
|
-
|
|
75
|
-
|
|
77
|
+
exports.RESPONSE_TYPE_BLOB = 'blob';
|
|
78
|
+
exports.CONTENT_TYPE_ANY = '*/*';
|
package/dist/business/index.d.ts
CHANGED
|
@@ -11,5 +11,4 @@ export { BANK_ACCOUNT_CATEGORY_SAVINGS, BANK_ACCOUNT_CATEGORY_CHECKING, BANK_ACC
|
|
|
11
11
|
export { CASH_ACCOUNT_TRANSACTION_TYPE, type CashAccountTransactionType, CASH_ACCOUNT_TRANSACTION_TYPE_LABELS, CASH_ACCOUNT_TRANSACTION_STATUS, type CashAccountTransactionStatus, CASH_ACCOUNT_TRANSACTION_STATUS_LABELS, TRANSACTION_TYPE_LABEL_DEPOSIT, TRANSACTION_TYPE_LABEL_WITHDRAWAL, TRANSACTION_TYPE_LABEL_TRADE_SETTLEMENT, TRANSACTION_TYPE_LABEL_DISTRIBUTION, TRANSACTION_TYPE_LABEL_FEE, TRANSACTION_TYPE_LABEL_INTEREST, TRANSACTION_TYPE_LABEL_OTHER, TRANSACTION_TYPE_OPTIONS, } from './status/cash-accounts';
|
|
12
12
|
export * from './countries';
|
|
13
13
|
export * from './industries';
|
|
14
|
-
export * from './holdings';
|
|
15
14
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/business/index.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,cAAc,UAAU,CAAC;AACzB,cAAc,YAAY,CAAC;AAC3B,cAAc,aAAa,CAAC;AAC5B,cAAc,eAAe,CAAC;AAE9B,OAAO,EACL,mBAAmB,EACnB,KAAK,kBAAkB,EACvB,0BAA0B,EAC1B,mBAAmB,EACnB,KAAK,kBAAkB,EACvB,0BAA0B,EAC1B,cAAc,EACd,yBAAyB,GAC1B,MAAM,WAAW,CAAC;AACnB,cAAc,WAAW,CAAC;AAE1B,OAAO,EAEL,6BAA6B,EAC7B,8BAA8B,EAC9B,iCAAiC,EACjC,kCAAkC,EAClC,4BAA4B,EAC5B,uBAAuB,EACvB,KAAK,mBAAmB,EACxB,4BAA4B,EAC5B,kCAAkC,EAClC,6BAA6B,EAC7B,KAAK,uBAAuB,EAC5B,4BAA4B,EAC5B,0BAA0B,EAE1B,yBAAyB,EACzB,0BAA0B,EAC1B,6BAA6B,EAC7B,8BAA8B,EAC9B,wBAAwB,EACxB,yBAAyB,EACzB,+BAA+B,EAC/B,gCAAgC,EAChC,mCAAmC,EACnC,oCAAoC,EACpC,8BAA8B,EAC9B,8BAA8B,EAC9B,+BAA+B,EAC/B,kCAAkC,EAClC,mCAAmC,EACnC,6BAA6B,EAC7B,KAAK,eAAe,EACpB,aAAa,EACb,kBAAkB,GACnB,MAAM,iBAAiB,CAAC;AAIzB,OAAO,EACL,6BAA6B,EAC7B,KAAK,0BAA0B,EAC/B,oCAAoC,EACpC,+BAA+B,EAC/B,KAAK,4BAA4B,EACjC,sCAAsC,EACtC,8BAA8B,EAC9B,iCAAiC,EACjC,uCAAuC,EACvC,mCAAmC,EACnC,0BAA0B,EAC1B,+BAA+B,EAC/B,4BAA4B,EAC5B,wBAAwB,GACzB,MAAM,wBAAwB,CAAC;AAGhC,cAAc,aAAa,CAAC;AAG5B,cAAc,cAAc,CAAC
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/business/index.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,cAAc,UAAU,CAAC;AACzB,cAAc,YAAY,CAAC;AAC3B,cAAc,aAAa,CAAC;AAC5B,cAAc,eAAe,CAAC;AAE9B,OAAO,EACL,mBAAmB,EACnB,KAAK,kBAAkB,EACvB,0BAA0B,EAC1B,mBAAmB,EACnB,KAAK,kBAAkB,EACvB,0BAA0B,EAC1B,cAAc,EACd,yBAAyB,GAC1B,MAAM,WAAW,CAAC;AACnB,cAAc,WAAW,CAAC;AAE1B,OAAO,EAEL,6BAA6B,EAC7B,8BAA8B,EAC9B,iCAAiC,EACjC,kCAAkC,EAClC,4BAA4B,EAC5B,uBAAuB,EACvB,KAAK,mBAAmB,EACxB,4BAA4B,EAC5B,kCAAkC,EAClC,6BAA6B,EAC7B,KAAK,uBAAuB,EAC5B,4BAA4B,EAC5B,0BAA0B,EAE1B,yBAAyB,EACzB,0BAA0B,EAC1B,6BAA6B,EAC7B,8BAA8B,EAC9B,wBAAwB,EACxB,yBAAyB,EACzB,+BAA+B,EAC/B,gCAAgC,EAChC,mCAAmC,EACnC,oCAAoC,EACpC,8BAA8B,EAC9B,8BAA8B,EAC9B,+BAA+B,EAC/B,kCAAkC,EAClC,mCAAmC,EACnC,6BAA6B,EAC7B,KAAK,eAAe,EACpB,aAAa,EACb,kBAAkB,GACnB,MAAM,iBAAiB,CAAC;AAIzB,OAAO,EACL,6BAA6B,EAC7B,KAAK,0BAA0B,EAC/B,oCAAoC,EACpC,+BAA+B,EAC/B,KAAK,4BAA4B,EACjC,sCAAsC,EACtC,8BAA8B,EAC9B,iCAAiC,EACjC,uCAAuC,EACvC,mCAAmC,EACnC,0BAA0B,EAC1B,+BAA+B,EAC/B,4BAA4B,EAC5B,wBAAwB,GACzB,MAAM,wBAAwB,CAAC;AAGhC,cAAc,aAAa,CAAC;AAG5B,cAAc,cAAc,CAAC"}
|
package/dist/business/index.js
CHANGED
|
@@ -1,25 +1,85 @@
|
|
|
1
|
+
"use strict";
|
|
1
2
|
/**
|
|
2
3
|
* Business domain constants
|
|
3
4
|
*/
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
17
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
18
|
+
};
|
|
19
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
20
|
+
exports.TRANSACTION_TYPE_OPTIONS = exports.TRANSACTION_TYPE_LABEL_OTHER = exports.TRANSACTION_TYPE_LABEL_INTEREST = exports.TRANSACTION_TYPE_LABEL_FEE = exports.TRANSACTION_TYPE_LABEL_DISTRIBUTION = exports.TRANSACTION_TYPE_LABEL_TRADE_SETTLEMENT = exports.TRANSACTION_TYPE_LABEL_WITHDRAWAL = exports.TRANSACTION_TYPE_LABEL_DEPOSIT = exports.CASH_ACCOUNT_TRANSACTION_STATUS_LABELS = exports.CASH_ACCOUNT_TRANSACTION_STATUS = exports.CASH_ACCOUNT_TRANSACTION_TYPE_LABELS = exports.CASH_ACCOUNT_TRANSACTION_TYPE = exports.getAccountTypeInfo = exports.ACCOUNT_TYPES = exports.BANK_ACCOUNT_TYPE_DESC_OFFSET = exports.BANK_ACCOUNT_TYPE_DESC_TERM_DEPOSIT = exports.BANK_ACCOUNT_TYPE_DESC_TRANSACTION = exports.BANK_ACCOUNT_TYPE_DESC_CHECKING = exports.BANK_ACCOUNT_TYPE_DESC_SAVINGS = exports.BANK_ACCOUNT_TYPE_LABEL_OFFSET = exports.BANK_ACCOUNT_TYPE_LABEL_TERM_DEPOSIT = exports.BANK_ACCOUNT_TYPE_LABEL_TRANSACTION = exports.BANK_ACCOUNT_TYPE_LABEL_CHECKING = exports.BANK_ACCOUNT_TYPE_LABEL_SAVINGS = exports.BANK_ACCOUNT_TYPE_OPTIONS = exports.BANK_ACCOUNT_TYPE_OFFSET = exports.BANK_ACCOUNT_TYPE_TERM_DEPOSIT = exports.BANK_ACCOUNT_TYPE_TRANSACTION = exports.BANK_ACCOUNT_TYPE_CHECKING = exports.BANK_ACCOUNT_TYPE_SAVINGS = exports.getBankAccountCategoryInfo = exports.BANK_ACCOUNT_CATEGORIES_INFO = exports.BANK_ACCOUNT_CATEGORY_OPTIONS = exports.BANK_ACCOUNT_CATEGORY_DESCRIPTIONS = exports.BANK_ACCOUNT_CATEGORY_LABELS = exports.BANK_ACCOUNT_CATEGORIES = exports.BANK_ACCOUNT_CATEGORY_OFFSET = exports.BANK_ACCOUNT_CATEGORY_TERM_DEPOSIT = exports.BANK_ACCOUNT_CATEGORY_TRANSACTION = exports.BANK_ACCOUNT_CATEGORY_CHECKING = exports.BANK_ACCOUNT_CATEGORY_SAVINGS = exports.ACCOUNT_NUMBER_VALIDATION = exports.BSB_VALIDATION = exports.VERIFICATION_METHOD_LABELS = exports.VERIFICATION_METHOD = exports.BANKING_INSTITUTION_LABELS = exports.BANKING_INSTITUTION = void 0;
|
|
21
|
+
__exportStar(require("./status"), exports);
|
|
22
|
+
__exportStar(require("./accounts"), exports);
|
|
23
|
+
__exportStar(require("./documents"), exports);
|
|
24
|
+
__exportStar(require("./investments"), exports);
|
|
8
25
|
// Export banking constants except the conflicting ones
|
|
9
|
-
|
|
10
|
-
|
|
26
|
+
var banking_1 = require("./banking");
|
|
27
|
+
Object.defineProperty(exports, "BANKING_INSTITUTION", { enumerable: true, get: function () { return banking_1.BANKING_INSTITUTION; } });
|
|
28
|
+
Object.defineProperty(exports, "BANKING_INSTITUTION_LABELS", { enumerable: true, get: function () { return banking_1.BANKING_INSTITUTION_LABELS; } });
|
|
29
|
+
Object.defineProperty(exports, "VERIFICATION_METHOD", { enumerable: true, get: function () { return banking_1.VERIFICATION_METHOD; } });
|
|
30
|
+
Object.defineProperty(exports, "VERIFICATION_METHOD_LABELS", { enumerable: true, get: function () { return banking_1.VERIFICATION_METHOD_LABELS; } });
|
|
31
|
+
Object.defineProperty(exports, "BSB_VALIDATION", { enumerable: true, get: function () { return banking_1.BSB_VALIDATION; } });
|
|
32
|
+
Object.defineProperty(exports, "ACCOUNT_NUMBER_VALIDATION", { enumerable: true, get: function () { return banking_1.ACCOUNT_NUMBER_VALIDATION; } });
|
|
33
|
+
__exportStar(require("./trading"), exports);
|
|
11
34
|
// Export bank-accounts with alias to avoid conflicts
|
|
12
|
-
|
|
35
|
+
var bank_accounts_1 = require("./bank-accounts");
|
|
13
36
|
// Re-export with specific names to avoid conflicts
|
|
14
|
-
|
|
37
|
+
Object.defineProperty(exports, "BANK_ACCOUNT_CATEGORY_SAVINGS", { enumerable: true, get: function () { return bank_accounts_1.BANK_ACCOUNT_CATEGORY_SAVINGS; } });
|
|
38
|
+
Object.defineProperty(exports, "BANK_ACCOUNT_CATEGORY_CHECKING", { enumerable: true, get: function () { return bank_accounts_1.BANK_ACCOUNT_CATEGORY_CHECKING; } });
|
|
39
|
+
Object.defineProperty(exports, "BANK_ACCOUNT_CATEGORY_TRANSACTION", { enumerable: true, get: function () { return bank_accounts_1.BANK_ACCOUNT_CATEGORY_TRANSACTION; } });
|
|
40
|
+
Object.defineProperty(exports, "BANK_ACCOUNT_CATEGORY_TERM_DEPOSIT", { enumerable: true, get: function () { return bank_accounts_1.BANK_ACCOUNT_CATEGORY_TERM_DEPOSIT; } });
|
|
41
|
+
Object.defineProperty(exports, "BANK_ACCOUNT_CATEGORY_OFFSET", { enumerable: true, get: function () { return bank_accounts_1.BANK_ACCOUNT_CATEGORY_OFFSET; } });
|
|
42
|
+
Object.defineProperty(exports, "BANK_ACCOUNT_CATEGORIES", { enumerable: true, get: function () { return bank_accounts_1.BANK_ACCOUNT_CATEGORIES; } });
|
|
43
|
+
Object.defineProperty(exports, "BANK_ACCOUNT_CATEGORY_LABELS", { enumerable: true, get: function () { return bank_accounts_1.BANK_ACCOUNT_CATEGORY_LABELS; } });
|
|
44
|
+
Object.defineProperty(exports, "BANK_ACCOUNT_CATEGORY_DESCRIPTIONS", { enumerable: true, get: function () { return bank_accounts_1.BANK_ACCOUNT_CATEGORY_DESCRIPTIONS; } });
|
|
45
|
+
Object.defineProperty(exports, "BANK_ACCOUNT_CATEGORY_OPTIONS", { enumerable: true, get: function () { return bank_accounts_1.BANK_ACCOUNT_CATEGORY_OPTIONS; } });
|
|
46
|
+
Object.defineProperty(exports, "BANK_ACCOUNT_CATEGORIES_INFO", { enumerable: true, get: function () { return bank_accounts_1.BANK_ACCOUNT_CATEGORIES_INFO; } });
|
|
47
|
+
Object.defineProperty(exports, "getBankAccountCategoryInfo", { enumerable: true, get: function () { return bank_accounts_1.getBankAccountCategoryInfo; } });
|
|
15
48
|
// Legacy exports
|
|
16
|
-
|
|
49
|
+
Object.defineProperty(exports, "BANK_ACCOUNT_TYPE_SAVINGS", { enumerable: true, get: function () { return bank_accounts_1.BANK_ACCOUNT_TYPE_SAVINGS; } });
|
|
50
|
+
Object.defineProperty(exports, "BANK_ACCOUNT_TYPE_CHECKING", { enumerable: true, get: function () { return bank_accounts_1.BANK_ACCOUNT_TYPE_CHECKING; } });
|
|
51
|
+
Object.defineProperty(exports, "BANK_ACCOUNT_TYPE_TRANSACTION", { enumerable: true, get: function () { return bank_accounts_1.BANK_ACCOUNT_TYPE_TRANSACTION; } });
|
|
52
|
+
Object.defineProperty(exports, "BANK_ACCOUNT_TYPE_TERM_DEPOSIT", { enumerable: true, get: function () { return bank_accounts_1.BANK_ACCOUNT_TYPE_TERM_DEPOSIT; } });
|
|
53
|
+
Object.defineProperty(exports, "BANK_ACCOUNT_TYPE_OFFSET", { enumerable: true, get: function () { return bank_accounts_1.BANK_ACCOUNT_TYPE_OFFSET; } });
|
|
54
|
+
Object.defineProperty(exports, "BANK_ACCOUNT_TYPE_OPTIONS", { enumerable: true, get: function () { return bank_accounts_1.BANK_ACCOUNT_TYPE_OPTIONS; } });
|
|
55
|
+
Object.defineProperty(exports, "BANK_ACCOUNT_TYPE_LABEL_SAVINGS", { enumerable: true, get: function () { return bank_accounts_1.BANK_ACCOUNT_TYPE_LABEL_SAVINGS; } });
|
|
56
|
+
Object.defineProperty(exports, "BANK_ACCOUNT_TYPE_LABEL_CHECKING", { enumerable: true, get: function () { return bank_accounts_1.BANK_ACCOUNT_TYPE_LABEL_CHECKING; } });
|
|
57
|
+
Object.defineProperty(exports, "BANK_ACCOUNT_TYPE_LABEL_TRANSACTION", { enumerable: true, get: function () { return bank_accounts_1.BANK_ACCOUNT_TYPE_LABEL_TRANSACTION; } });
|
|
58
|
+
Object.defineProperty(exports, "BANK_ACCOUNT_TYPE_LABEL_TERM_DEPOSIT", { enumerable: true, get: function () { return bank_accounts_1.BANK_ACCOUNT_TYPE_LABEL_TERM_DEPOSIT; } });
|
|
59
|
+
Object.defineProperty(exports, "BANK_ACCOUNT_TYPE_LABEL_OFFSET", { enumerable: true, get: function () { return bank_accounts_1.BANK_ACCOUNT_TYPE_LABEL_OFFSET; } });
|
|
60
|
+
Object.defineProperty(exports, "BANK_ACCOUNT_TYPE_DESC_SAVINGS", { enumerable: true, get: function () { return bank_accounts_1.BANK_ACCOUNT_TYPE_DESC_SAVINGS; } });
|
|
61
|
+
Object.defineProperty(exports, "BANK_ACCOUNT_TYPE_DESC_CHECKING", { enumerable: true, get: function () { return bank_accounts_1.BANK_ACCOUNT_TYPE_DESC_CHECKING; } });
|
|
62
|
+
Object.defineProperty(exports, "BANK_ACCOUNT_TYPE_DESC_TRANSACTION", { enumerable: true, get: function () { return bank_accounts_1.BANK_ACCOUNT_TYPE_DESC_TRANSACTION; } });
|
|
63
|
+
Object.defineProperty(exports, "BANK_ACCOUNT_TYPE_DESC_TERM_DEPOSIT", { enumerable: true, get: function () { return bank_accounts_1.BANK_ACCOUNT_TYPE_DESC_TERM_DEPOSIT; } });
|
|
64
|
+
Object.defineProperty(exports, "BANK_ACCOUNT_TYPE_DESC_OFFSET", { enumerable: true, get: function () { return bank_accounts_1.BANK_ACCOUNT_TYPE_DESC_OFFSET; } });
|
|
65
|
+
Object.defineProperty(exports, "ACCOUNT_TYPES", { enumerable: true, get: function () { return bank_accounts_1.ACCOUNT_TYPES; } });
|
|
66
|
+
Object.defineProperty(exports, "getAccountTypeInfo", { enumerable: true, get: function () { return bank_accounts_1.getAccountTypeInfo; } });
|
|
17
67
|
// Don't export the conflicting type aliases and BANK_ACCOUNT_TYPE_LABELS from bank-accounts
|
|
18
68
|
// Export all cash account constants
|
|
19
|
-
|
|
69
|
+
var cash_accounts_1 = require("./status/cash-accounts");
|
|
70
|
+
Object.defineProperty(exports, "CASH_ACCOUNT_TRANSACTION_TYPE", { enumerable: true, get: function () { return cash_accounts_1.CASH_ACCOUNT_TRANSACTION_TYPE; } });
|
|
71
|
+
Object.defineProperty(exports, "CASH_ACCOUNT_TRANSACTION_TYPE_LABELS", { enumerable: true, get: function () { return cash_accounts_1.CASH_ACCOUNT_TRANSACTION_TYPE_LABELS; } });
|
|
72
|
+
Object.defineProperty(exports, "CASH_ACCOUNT_TRANSACTION_STATUS", { enumerable: true, get: function () { return cash_accounts_1.CASH_ACCOUNT_TRANSACTION_STATUS; } });
|
|
73
|
+
Object.defineProperty(exports, "CASH_ACCOUNT_TRANSACTION_STATUS_LABELS", { enumerable: true, get: function () { return cash_accounts_1.CASH_ACCOUNT_TRANSACTION_STATUS_LABELS; } });
|
|
74
|
+
Object.defineProperty(exports, "TRANSACTION_TYPE_LABEL_DEPOSIT", { enumerable: true, get: function () { return cash_accounts_1.TRANSACTION_TYPE_LABEL_DEPOSIT; } });
|
|
75
|
+
Object.defineProperty(exports, "TRANSACTION_TYPE_LABEL_WITHDRAWAL", { enumerable: true, get: function () { return cash_accounts_1.TRANSACTION_TYPE_LABEL_WITHDRAWAL; } });
|
|
76
|
+
Object.defineProperty(exports, "TRANSACTION_TYPE_LABEL_TRADE_SETTLEMENT", { enumerable: true, get: function () { return cash_accounts_1.TRANSACTION_TYPE_LABEL_TRADE_SETTLEMENT; } });
|
|
77
|
+
Object.defineProperty(exports, "TRANSACTION_TYPE_LABEL_DISTRIBUTION", { enumerable: true, get: function () { return cash_accounts_1.TRANSACTION_TYPE_LABEL_DISTRIBUTION; } });
|
|
78
|
+
Object.defineProperty(exports, "TRANSACTION_TYPE_LABEL_FEE", { enumerable: true, get: function () { return cash_accounts_1.TRANSACTION_TYPE_LABEL_FEE; } });
|
|
79
|
+
Object.defineProperty(exports, "TRANSACTION_TYPE_LABEL_INTEREST", { enumerable: true, get: function () { return cash_accounts_1.TRANSACTION_TYPE_LABEL_INTEREST; } });
|
|
80
|
+
Object.defineProperty(exports, "TRANSACTION_TYPE_LABEL_OTHER", { enumerable: true, get: function () { return cash_accounts_1.TRANSACTION_TYPE_LABEL_OTHER; } });
|
|
81
|
+
Object.defineProperty(exports, "TRANSACTION_TYPE_OPTIONS", { enumerable: true, get: function () { return cash_accounts_1.TRANSACTION_TYPE_OPTIONS; } });
|
|
20
82
|
// Export countries constants
|
|
21
|
-
|
|
83
|
+
__exportStar(require("./countries"), exports);
|
|
22
84
|
// Export industries constants
|
|
23
|
-
|
|
24
|
-
// Export holdings constants
|
|
25
|
-
export * from './holdings';
|
|
85
|
+
__exportStar(require("./industries"), exports);
|
|
@@ -1,9 +1,12 @@
|
|
|
1
|
+
"use strict";
|
|
1
2
|
/**
|
|
2
3
|
* Industries domain constants
|
|
3
4
|
*/
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.NO_SECTOR_KEY = exports.INDUSTRY_GROUPING = void 0;
|
|
4
7
|
// Common industry grouping constants
|
|
5
|
-
|
|
8
|
+
exports.INDUSTRY_GROUPING = {
|
|
6
9
|
NO_SECTOR_KEY: 'No Sector',
|
|
7
10
|
};
|
|
8
11
|
// Individual exports for easy migration from Blueberry
|
|
9
|
-
|
|
12
|
+
exports.NO_SECTOR_KEY = exports.INDUSTRY_GROUPING.NO_SECTOR_KEY;
|