@cranberry-money/shared-constants 4.5.0 → 4.6.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.
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Bank account type constants
|
|
3
|
+
* Note: Bank account status constants are in ./status/banks.ts
|
|
4
|
+
*/
|
|
5
|
+
export declare const BANK_ACCOUNT_CATEGORY_SAVINGS = "savings";
|
|
6
|
+
export declare const BANK_ACCOUNT_CATEGORY_CHECKING = "checking";
|
|
7
|
+
export declare const BANK_ACCOUNT_CATEGORY_TRANSACTION = "transaction";
|
|
8
|
+
export declare const BANK_ACCOUNT_CATEGORY_TERM_DEPOSIT = "term_deposit";
|
|
9
|
+
export declare const BANK_ACCOUNT_CATEGORY_OFFSET = "offset";
|
|
10
|
+
export declare const BANK_ACCOUNT_CATEGORIES: readonly ["savings", "checking", "transaction", "term_deposit", "offset"];
|
|
11
|
+
export type BankAccountCategory = typeof BANK_ACCOUNT_CATEGORIES[number];
|
|
12
|
+
export declare const BANK_ACCOUNT_CATEGORY_LABELS: {
|
|
13
|
+
readonly savings: "Savings Account";
|
|
14
|
+
readonly checking: "Checking Account";
|
|
15
|
+
readonly transaction: "Transaction Account";
|
|
16
|
+
readonly term_deposit: "Term Deposit";
|
|
17
|
+
readonly offset: "Offset Account";
|
|
18
|
+
};
|
|
19
|
+
export declare const BANK_ACCOUNT_CATEGORY_DESCRIPTIONS: {
|
|
20
|
+
readonly savings: "Interest-bearing savings account";
|
|
21
|
+
readonly checking: "Everyday checking account";
|
|
22
|
+
readonly transaction: "Daily transaction account";
|
|
23
|
+
readonly term_deposit: "Fixed-term deposit account";
|
|
24
|
+
readonly offset: "Mortgage offset account";
|
|
25
|
+
};
|
|
26
|
+
export declare const BANK_ACCOUNT_CATEGORY_OPTIONS: {
|
|
27
|
+
value: "savings" | "checking" | "transaction" | "term_deposit" | "offset";
|
|
28
|
+
label: "Transaction Account" | "Savings Account" | "Checking Account" | "Term Deposit" | "Offset Account";
|
|
29
|
+
description: "Interest-bearing savings account" | "Everyday checking account" | "Daily transaction account" | "Fixed-term deposit account" | "Mortgage offset account";
|
|
30
|
+
}[];
|
|
31
|
+
export interface BankAccountCategoryInfo {
|
|
32
|
+
readonly code: BankAccountCategory;
|
|
33
|
+
readonly name: string;
|
|
34
|
+
readonly description: string;
|
|
35
|
+
}
|
|
36
|
+
export declare const BANK_ACCOUNT_CATEGORIES_INFO: readonly BankAccountCategoryInfo[];
|
|
37
|
+
export declare const getBankAccountCategoryInfo: (code: BankAccountCategory) => BankAccountCategoryInfo | undefined;
|
|
38
|
+
export interface AccountTypeInfo extends BankAccountCategoryInfo {
|
|
39
|
+
}
|
|
40
|
+
export declare const ACCOUNT_TYPES: readonly BankAccountCategoryInfo[];
|
|
41
|
+
export declare const getAccountTypeInfo: (code: BankAccountCategory) => BankAccountCategoryInfo | undefined;
|
|
42
|
+
export declare const BANK_ACCOUNT_TYPE_SAVINGS = "savings";
|
|
43
|
+
export declare const BANK_ACCOUNT_TYPE_CHECKING = "checking";
|
|
44
|
+
export declare const BANK_ACCOUNT_TYPE_TRANSACTION = "transaction";
|
|
45
|
+
export declare const BANK_ACCOUNT_TYPE_TERM_DEPOSIT = "term_deposit";
|
|
46
|
+
export declare const BANK_ACCOUNT_TYPE_OFFSET = "offset";
|
|
47
|
+
export declare const BANK_ACCOUNT_TYPE_LABELS: {
|
|
48
|
+
readonly savings: "Savings Account";
|
|
49
|
+
readonly checking: "Checking Account";
|
|
50
|
+
readonly transaction: "Transaction Account";
|
|
51
|
+
readonly term_deposit: "Term Deposit";
|
|
52
|
+
readonly offset: "Offset Account";
|
|
53
|
+
};
|
|
54
|
+
export declare const BANK_ACCOUNT_TYPE_OPTIONS: {
|
|
55
|
+
value: "savings" | "checking" | "transaction" | "term_deposit" | "offset";
|
|
56
|
+
label: "Transaction Account" | "Savings Account" | "Checking Account" | "Term Deposit" | "Offset Account";
|
|
57
|
+
description: "Interest-bearing savings account" | "Everyday checking account" | "Daily transaction account" | "Fixed-term deposit account" | "Mortgage offset account";
|
|
58
|
+
}[];
|
|
59
|
+
export type BankAccountType = BankAccountCategory;
|
|
60
|
+
export declare const BANK_ACCOUNT_TYPE_LABEL_SAVINGS: "Savings Account";
|
|
61
|
+
export declare const BANK_ACCOUNT_TYPE_LABEL_CHECKING: "Checking Account";
|
|
62
|
+
export declare const BANK_ACCOUNT_TYPE_LABEL_TRANSACTION: "Transaction Account";
|
|
63
|
+
export declare const BANK_ACCOUNT_TYPE_LABEL_TERM_DEPOSIT: "Term Deposit";
|
|
64
|
+
export declare const BANK_ACCOUNT_TYPE_LABEL_OFFSET: "Offset Account";
|
|
65
|
+
export declare const BANK_ACCOUNT_TYPE_DESC_SAVINGS: "Interest-bearing savings account";
|
|
66
|
+
export declare const BANK_ACCOUNT_TYPE_DESC_CHECKING: "Everyday checking account";
|
|
67
|
+
export declare const BANK_ACCOUNT_TYPE_DESC_TRANSACTION: "Daily transaction account";
|
|
68
|
+
export declare const BANK_ACCOUNT_TYPE_DESC_TERM_DEPOSIT: "Fixed-term deposit account";
|
|
69
|
+
export declare const BANK_ACCOUNT_TYPE_DESC_OFFSET: "Mortgage offset account";
|
|
70
|
+
export type AccountType = BankAccountCategory;
|
|
71
|
+
//# sourceMappingURL=bank-accounts.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"bank-accounts.d.ts","sourceRoot":"","sources":["../../src/business/bank-accounts.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAGH,eAAO,MAAM,6BAA6B,YAAY,CAAC;AACvD,eAAO,MAAM,8BAA8B,aAAa,CAAC;AACzD,eAAO,MAAM,iCAAiC,gBAAgB,CAAC;AAC/D,eAAO,MAAM,kCAAkC,iBAAiB,CAAC;AACjE,eAAO,MAAM,4BAA4B,WAAW,CAAC;AAErD,eAAO,MAAM,uBAAuB,2EAM1B,CAAC;AAEX,MAAM,MAAM,mBAAmB,GAAG,OAAO,uBAAuB,CAAC,MAAM,CAAC,CAAC;AAGzE,eAAO,MAAM,4BAA4B;;;;;;CAM/B,CAAC;AAGX,eAAO,MAAM,kCAAkC;;;;;;CAMrC,CAAC;AAGX,eAAO,MAAM,6BAA6B;;;;GAIvC,CAAC;AAGJ,MAAM,WAAW,uBAAuB;IACtC,QAAQ,CAAC,IAAI,EAAE,mBAAmB,CAAC;IACnC,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;IACtB,QAAQ,CAAC,WAAW,EAAE,MAAM,CAAC;CAC9B;AAGD,eAAO,MAAM,4BAA4B,EAAE,SAAS,uBAAuB,EAIxE,CAAC;AAGJ,eAAO,MAAM,0BAA0B,GAAI,MAAM,mBAAmB,KAAG,uBAAuB,GAAG,SAEhG,CAAC;AAGF,MAAM,WAAW,eAAgB,SAAQ,uBAAuB;CAAG;AACnE,eAAO,MAAM,aAAa,oCAA+B,CAAC;AAC1D,eAAO,MAAM,kBAAkB,SAPkB,mBAAmB,KAAG,uBAAuB,GAAG,SAOrC,CAAC;AAG7D,eAAO,MAAM,yBAAyB,YAAgC,CAAC;AACvE,eAAO,MAAM,0BAA0B,aAAiC,CAAC;AACzE,eAAO,MAAM,6BAA6B,gBAAoC,CAAC;AAC/E,eAAO,MAAM,8BAA8B,iBAAqC,CAAC;AACjF,eAAO,MAAM,wBAAwB,WAA+B,CAAC;AAErE,eAAO,MAAM,wBAAwB;;;;;;CAA+B,CAAC;AACrE,eAAO,MAAM,yBAAyB;;;;GAAgC,CAAC;AACvE,MAAM,MAAM,eAAe,GAAG,mBAAmB,CAAC;AAElD,eAAO,MAAM,+BAA+B,mBAA8D,CAAC;AAC3G,eAAO,MAAM,gCAAgC,oBAA+D,CAAC;AAC7G,eAAO,MAAM,mCAAmC,uBAAkE,CAAC;AACnH,eAAO,MAAM,oCAAoC,gBAAmE,CAAC;AACrH,eAAO,MAAM,8BAA8B,kBAA6D,CAAC;AAEzG,eAAO,MAAM,8BAA8B,oCAAoE,CAAC;AAChH,eAAO,MAAM,+BAA+B,6BAAqE,CAAC;AAClH,eAAO,MAAM,kCAAkC,6BAAwE,CAAC;AACxH,eAAO,MAAM,mCAAmC,8BAAyE,CAAC;AAC1H,eAAO,MAAM,6BAA6B,2BAAmE,CAAC;AAC9G,MAAM,MAAM,WAAW,GAAG,mBAAmB,CAAC"}
|
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Bank account type constants
|
|
4
|
+
* Note: Bank account status constants are in ./status/banks.ts
|
|
5
|
+
*/
|
|
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_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 = void 0;
|
|
8
|
+
// Bank Account Type constants
|
|
9
|
+
exports.BANK_ACCOUNT_CATEGORY_SAVINGS = 'savings';
|
|
10
|
+
exports.BANK_ACCOUNT_CATEGORY_CHECKING = 'checking';
|
|
11
|
+
exports.BANK_ACCOUNT_CATEGORY_TRANSACTION = 'transaction';
|
|
12
|
+
exports.BANK_ACCOUNT_CATEGORY_TERM_DEPOSIT = 'term_deposit';
|
|
13
|
+
exports.BANK_ACCOUNT_CATEGORY_OFFSET = 'offset';
|
|
14
|
+
exports.BANK_ACCOUNT_CATEGORIES = [
|
|
15
|
+
exports.BANK_ACCOUNT_CATEGORY_SAVINGS,
|
|
16
|
+
exports.BANK_ACCOUNT_CATEGORY_CHECKING,
|
|
17
|
+
exports.BANK_ACCOUNT_CATEGORY_TRANSACTION,
|
|
18
|
+
exports.BANK_ACCOUNT_CATEGORY_TERM_DEPOSIT,
|
|
19
|
+
exports.BANK_ACCOUNT_CATEGORY_OFFSET,
|
|
20
|
+
];
|
|
21
|
+
// Bank Account Type labels
|
|
22
|
+
exports.BANK_ACCOUNT_CATEGORY_LABELS = {
|
|
23
|
+
[exports.BANK_ACCOUNT_CATEGORY_SAVINGS]: 'Savings Account',
|
|
24
|
+
[exports.BANK_ACCOUNT_CATEGORY_CHECKING]: 'Checking Account',
|
|
25
|
+
[exports.BANK_ACCOUNT_CATEGORY_TRANSACTION]: 'Transaction Account',
|
|
26
|
+
[exports.BANK_ACCOUNT_CATEGORY_TERM_DEPOSIT]: 'Term Deposit',
|
|
27
|
+
[exports.BANK_ACCOUNT_CATEGORY_OFFSET]: 'Offset Account',
|
|
28
|
+
};
|
|
29
|
+
// Bank Account Type descriptions
|
|
30
|
+
exports.BANK_ACCOUNT_CATEGORY_DESCRIPTIONS = {
|
|
31
|
+
[exports.BANK_ACCOUNT_CATEGORY_SAVINGS]: 'Interest-bearing savings account',
|
|
32
|
+
[exports.BANK_ACCOUNT_CATEGORY_CHECKING]: 'Everyday checking account',
|
|
33
|
+
[exports.BANK_ACCOUNT_CATEGORY_TRANSACTION]: 'Daily transaction account',
|
|
34
|
+
[exports.BANK_ACCOUNT_CATEGORY_TERM_DEPOSIT]: 'Fixed-term deposit account',
|
|
35
|
+
[exports.BANK_ACCOUNT_CATEGORY_OFFSET]: 'Mortgage offset account',
|
|
36
|
+
};
|
|
37
|
+
// Bank Account Type options for forms with descriptions
|
|
38
|
+
exports.BANK_ACCOUNT_CATEGORY_OPTIONS = exports.BANK_ACCOUNT_CATEGORIES.map(type => ({
|
|
39
|
+
value: type,
|
|
40
|
+
label: exports.BANK_ACCOUNT_CATEGORY_LABELS[type],
|
|
41
|
+
description: exports.BANK_ACCOUNT_CATEGORY_DESCRIPTIONS[type],
|
|
42
|
+
}));
|
|
43
|
+
// Available account types with display information
|
|
44
|
+
exports.BANK_ACCOUNT_CATEGORIES_INFO = exports.BANK_ACCOUNT_CATEGORIES.map(type => ({
|
|
45
|
+
code: type,
|
|
46
|
+
name: exports.BANK_ACCOUNT_CATEGORY_LABELS[type],
|
|
47
|
+
description: exports.BANK_ACCOUNT_CATEGORY_DESCRIPTIONS[type],
|
|
48
|
+
}));
|
|
49
|
+
// Helper function to get account type info by code
|
|
50
|
+
const getBankAccountCategoryInfo = (code) => {
|
|
51
|
+
return exports.BANK_ACCOUNT_CATEGORIES_INFO.find((type) => type.code === code);
|
|
52
|
+
};
|
|
53
|
+
exports.getBankAccountCategoryInfo = getBankAccountCategoryInfo;
|
|
54
|
+
exports.ACCOUNT_TYPES = exports.BANK_ACCOUNT_CATEGORIES_INFO;
|
|
55
|
+
exports.getAccountTypeInfo = exports.getBankAccountCategoryInfo;
|
|
56
|
+
// Blueberry compatibility exports - individual constants
|
|
57
|
+
exports.BANK_ACCOUNT_TYPE_SAVINGS = exports.BANK_ACCOUNT_CATEGORY_SAVINGS;
|
|
58
|
+
exports.BANK_ACCOUNT_TYPE_CHECKING = exports.BANK_ACCOUNT_CATEGORY_CHECKING;
|
|
59
|
+
exports.BANK_ACCOUNT_TYPE_TRANSACTION = exports.BANK_ACCOUNT_CATEGORY_TRANSACTION;
|
|
60
|
+
exports.BANK_ACCOUNT_TYPE_TERM_DEPOSIT = exports.BANK_ACCOUNT_CATEGORY_TERM_DEPOSIT;
|
|
61
|
+
exports.BANK_ACCOUNT_TYPE_OFFSET = exports.BANK_ACCOUNT_CATEGORY_OFFSET;
|
|
62
|
+
exports.BANK_ACCOUNT_TYPE_LABELS = exports.BANK_ACCOUNT_CATEGORY_LABELS;
|
|
63
|
+
exports.BANK_ACCOUNT_TYPE_OPTIONS = exports.BANK_ACCOUNT_CATEGORY_OPTIONS;
|
|
64
|
+
exports.BANK_ACCOUNT_TYPE_LABEL_SAVINGS = exports.BANK_ACCOUNT_CATEGORY_LABELS[exports.BANK_ACCOUNT_CATEGORY_SAVINGS];
|
|
65
|
+
exports.BANK_ACCOUNT_TYPE_LABEL_CHECKING = exports.BANK_ACCOUNT_CATEGORY_LABELS[exports.BANK_ACCOUNT_CATEGORY_CHECKING];
|
|
66
|
+
exports.BANK_ACCOUNT_TYPE_LABEL_TRANSACTION = exports.BANK_ACCOUNT_CATEGORY_LABELS[exports.BANK_ACCOUNT_CATEGORY_TRANSACTION];
|
|
67
|
+
exports.BANK_ACCOUNT_TYPE_LABEL_TERM_DEPOSIT = exports.BANK_ACCOUNT_CATEGORY_LABELS[exports.BANK_ACCOUNT_CATEGORY_TERM_DEPOSIT];
|
|
68
|
+
exports.BANK_ACCOUNT_TYPE_LABEL_OFFSET = exports.BANK_ACCOUNT_CATEGORY_LABELS[exports.BANK_ACCOUNT_CATEGORY_OFFSET];
|
|
69
|
+
exports.BANK_ACCOUNT_TYPE_DESC_SAVINGS = exports.BANK_ACCOUNT_CATEGORY_DESCRIPTIONS[exports.BANK_ACCOUNT_CATEGORY_SAVINGS];
|
|
70
|
+
exports.BANK_ACCOUNT_TYPE_DESC_CHECKING = exports.BANK_ACCOUNT_CATEGORY_DESCRIPTIONS[exports.BANK_ACCOUNT_CATEGORY_CHECKING];
|
|
71
|
+
exports.BANK_ACCOUNT_TYPE_DESC_TRANSACTION = exports.BANK_ACCOUNT_CATEGORY_DESCRIPTIONS[exports.BANK_ACCOUNT_CATEGORY_TRANSACTION];
|
|
72
|
+
exports.BANK_ACCOUNT_TYPE_DESC_TERM_DEPOSIT = exports.BANK_ACCOUNT_CATEGORY_DESCRIPTIONS[exports.BANK_ACCOUNT_CATEGORY_TERM_DEPOSIT];
|
|
73
|
+
exports.BANK_ACCOUNT_TYPE_DESC_OFFSET = exports.BANK_ACCOUNT_CATEGORY_DESCRIPTIONS[exports.BANK_ACCOUNT_CATEGORY_OFFSET];
|
package/dist/business/index.d.ts
CHANGED
|
@@ -5,6 +5,7 @@ export * from './status';
|
|
|
5
5
|
export * from './accounts';
|
|
6
6
|
export * from './documents';
|
|
7
7
|
export * from './investments';
|
|
8
|
-
export
|
|
8
|
+
export { BANKING_INSTITUTION, type BankingInstitution, BANKING_INSTITUTION_LABELS, VERIFICATION_METHOD, type VerificationMethod, VERIFICATION_METHOD_LABELS, BSB_VALIDATION, ACCOUNT_NUMBER_VALIDATION, } from './banking';
|
|
9
9
|
export * from './trading';
|
|
10
|
+
export { BANK_ACCOUNT_CATEGORY_SAVINGS, BANK_ACCOUNT_CATEGORY_CHECKING, BANK_ACCOUNT_CATEGORY_TRANSACTION, BANK_ACCOUNT_CATEGORY_TERM_DEPOSIT, BANK_ACCOUNT_CATEGORY_OFFSET, BANK_ACCOUNT_CATEGORIES, type BankAccountCategory, BANK_ACCOUNT_CATEGORY_LABELS, BANK_ACCOUNT_CATEGORY_DESCRIPTIONS, BANK_ACCOUNT_CATEGORY_OPTIONS, type BankAccountCategoryInfo, BANK_ACCOUNT_CATEGORIES_INFO, getBankAccountCategoryInfo, BANK_ACCOUNT_TYPE_SAVINGS, BANK_ACCOUNT_TYPE_CHECKING, BANK_ACCOUNT_TYPE_TRANSACTION, BANK_ACCOUNT_TYPE_TERM_DEPOSIT, BANK_ACCOUNT_TYPE_OFFSET, BANK_ACCOUNT_TYPE_OPTIONS, BANK_ACCOUNT_TYPE_LABEL_SAVINGS, BANK_ACCOUNT_TYPE_LABEL_CHECKING, BANK_ACCOUNT_TYPE_LABEL_TRANSACTION, BANK_ACCOUNT_TYPE_LABEL_TERM_DEPOSIT, BANK_ACCOUNT_TYPE_LABEL_OFFSET, BANK_ACCOUNT_TYPE_DESC_SAVINGS, BANK_ACCOUNT_TYPE_DESC_CHECKING, BANK_ACCOUNT_TYPE_DESC_TRANSACTION, BANK_ACCOUNT_TYPE_DESC_TERM_DEPOSIT, BANK_ACCOUNT_TYPE_DESC_OFFSET, type AccountTypeInfo, ACCOUNT_TYPES, getAccountTypeInfo, } from './bank-accounts';
|
|
10
11
|
//# 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;
|
|
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"}
|
package/dist/business/index.js
CHANGED
|
@@ -17,9 +17,51 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
17
17
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
18
18
|
};
|
|
19
19
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
20
|
+
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;
|
|
20
21
|
__exportStar(require("./status"), exports);
|
|
21
22
|
__exportStar(require("./accounts"), exports);
|
|
22
23
|
__exportStar(require("./documents"), exports);
|
|
23
24
|
__exportStar(require("./investments"), exports);
|
|
24
|
-
|
|
25
|
+
// Export banking constants except the conflicting ones
|
|
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; } });
|
|
25
33
|
__exportStar(require("./trading"), exports);
|
|
34
|
+
// Export bank-accounts with alias to avoid conflicts
|
|
35
|
+
var bank_accounts_1 = require("./bank-accounts");
|
|
36
|
+
// Re-export with specific names to avoid conflicts
|
|
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; } });
|
|
48
|
+
// Legacy exports
|
|
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; } });
|
|
67
|
+
// Don't export the conflicting type aliases and BANK_ACCOUNT_TYPE_LABELS from bank-accounts
|