@things-factory/integration-barobill 0.0.0-stage → 10.1.282
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/README.md +5 -2
- package/dist-server/engine/connector/barobill-client.d.ts +106 -0
- package/dist-server/engine/connector/barobill-client.js +180 -0
- package/dist-server/engine/connector/barobill-connector.d.ts +36 -0
- package/dist-server/engine/connector/barobill-connector.js +51 -0
- package/dist-server/engine/connector/soap-xml.d.ts +23 -0
- package/dist-server/engine/connector/soap-xml.js +94 -0
- package/dist-server/engine/index.d.ts +2 -0
- package/dist-server/engine/index.js +5 -0
- package/dist-server/engine/rules/bank-lines.d.ts +49 -0
- package/dist-server/engine/rules/bank-lines.js +77 -0
- package/dist-server/engine/rules/card-charges.d.ts +47 -0
- package/dist-server/engine/rules/card-charges.js +63 -0
- package/dist-server/engine/rules/period.d.ts +12 -0
- package/dist-server/engine/rules/period.js +31 -0
- package/dist-server/engine/rules/tax-invoices.d.ts +40 -0
- package/dist-server/engine/rules/tax-invoices.js +45 -0
- package/dist-server/engine/task/bank-lines.d.ts +22 -0
- package/dist-server/engine/task/bank-lines.js +28 -0
- package/dist-server/engine/task/card-charges.d.ts +19 -0
- package/dist-server/engine/task/card-charges.js +23 -0
- package/dist-server/engine/task/index.d.ts +3 -0
- package/dist-server/engine/task/index.js +6 -0
- package/dist-server/engine/task/task-input.d.ts +19 -0
- package/dist-server/engine/task/task-input.js +27 -0
- package/dist-server/engine/task/tax-invoices.d.ts +25 -0
- package/dist-server/engine/task/tax-invoices.js +28 -0
- package/dist-server/index.d.ts +7 -0
- package/dist-server/index.js +14 -0
- package/dist-server/service/barobill-setting-rules.d.ts +40 -0
- package/dist-server/service/barobill-setting-rules.js +71 -0
- package/dist-server/service/barobill-setting.d.ts +21 -0
- package/dist-server/service/barobill-setting.js +121 -0
- package/dist-server/service/index.d.ts +5 -0
- package/dist-server/service/index.js +10 -0
- package/helps/integration/connector/barobill-connector.md +21 -0
- package/helps/integration/task/barobill-bank-lines.md +5 -0
- package/helps/integration/task/barobill-card-charges.md +5 -0
- package/helps/integration/task/barobill-tax-invoices.md +5 -0
- package/package.json +41 -4
- package/things-factory.config.js +1 -0
- package/translations/en.json +16 -0
- package/translations/es.json +16 -0
- package/translations/ja.json +16 -0
- package/translations/ko.json +16 -0
- package/translations/ms.json +16 -0
- package/translations/zh.json +16 -0
|
@@ -0,0 +1,121 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.BarobillSettingResolver = exports.BarobillSettingPatch = exports.BarobillSetting = void 0;
|
|
4
|
+
const tslib_1 = require("tslib");
|
|
5
|
+
const type_graphql_1 = require("type-graphql");
|
|
6
|
+
const typeorm_1 = require("typeorm");
|
|
7
|
+
const shell_1 = require("@things-factory/shell");
|
|
8
|
+
const barobill_setting_rules_1 = require("./barobill-setting-rules");
|
|
9
|
+
let BarobillSetting = class BarobillSetting {
|
|
10
|
+
};
|
|
11
|
+
exports.BarobillSetting = BarobillSetting;
|
|
12
|
+
tslib_1.__decorate([
|
|
13
|
+
(0, type_graphql_1.Field)({ description: 'Whether the Barobill partner key (CERTKEY) is set.' }),
|
|
14
|
+
tslib_1.__metadata("design:type", Boolean)
|
|
15
|
+
], BarobillSetting.prototype, "certKeySet", void 0);
|
|
16
|
+
tslib_1.__decorate([
|
|
17
|
+
(0, type_graphql_1.Field)({ nullable: true, description: 'The key as a secret is shown - its last characters only, to tell which key it is.' }),
|
|
18
|
+
tslib_1.__metadata("design:type", String)
|
|
19
|
+
], BarobillSetting.prototype, "certKeyHint", void 0);
|
|
20
|
+
tslib_1.__decorate([
|
|
21
|
+
(0, type_graphql_1.Field)({ nullable: true, description: 'The business number Barobill knows the company by, digits only.' }),
|
|
22
|
+
tslib_1.__metadata("design:type", String)
|
|
23
|
+
], BarobillSetting.prototype, "corpNum", void 0);
|
|
24
|
+
tslib_1.__decorate([
|
|
25
|
+
(0, type_graphql_1.Field)({ nullable: true, description: 'The Barobill user id.' }),
|
|
26
|
+
tslib_1.__metadata("design:type", String)
|
|
27
|
+
], BarobillSetting.prototype, "userId", void 0);
|
|
28
|
+
tslib_1.__decorate([
|
|
29
|
+
(0, type_graphql_1.Field)({ nullable: true, description: 'test or production.' }),
|
|
30
|
+
tslib_1.__metadata("design:type", String)
|
|
31
|
+
], BarobillSetting.prototype, "server", void 0);
|
|
32
|
+
exports.BarobillSetting = BarobillSetting = tslib_1.__decorate([
|
|
33
|
+
(0, type_graphql_1.ObjectType)({ description: 'The Barobill setting of this domain - whether the key is set, never the key itself (ADR-0204).' })
|
|
34
|
+
], BarobillSetting);
|
|
35
|
+
let BarobillSettingPatch = class BarobillSettingPatch {
|
|
36
|
+
};
|
|
37
|
+
exports.BarobillSettingPatch = BarobillSettingPatch;
|
|
38
|
+
tslib_1.__decorate([
|
|
39
|
+
(0, type_graphql_1.Field)({ nullable: true, description: 'The Barobill partner key (CERTKEY).' }),
|
|
40
|
+
tslib_1.__metadata("design:type", String)
|
|
41
|
+
], BarobillSettingPatch.prototype, "certKey", void 0);
|
|
42
|
+
tslib_1.__decorate([
|
|
43
|
+
(0, type_graphql_1.Field)({ nullable: true, description: 'The business number, with or without hyphens.' }),
|
|
44
|
+
tslib_1.__metadata("design:type", String)
|
|
45
|
+
], BarobillSettingPatch.prototype, "corpNum", void 0);
|
|
46
|
+
tslib_1.__decorate([
|
|
47
|
+
(0, type_graphql_1.Field)({ nullable: true, description: 'The Barobill user id.' }),
|
|
48
|
+
tslib_1.__metadata("design:type", String)
|
|
49
|
+
], BarobillSettingPatch.prototype, "userId", void 0);
|
|
50
|
+
tslib_1.__decorate([
|
|
51
|
+
(0, type_graphql_1.Field)({ nullable: true, description: 'test or production.' }),
|
|
52
|
+
tslib_1.__metadata("design:type", String)
|
|
53
|
+
], BarobillSettingPatch.prototype, "server", void 0);
|
|
54
|
+
exports.BarobillSettingPatch = BarobillSettingPatch = tslib_1.__decorate([
|
|
55
|
+
(0, type_graphql_1.InputType)({ description: 'A change to the Barobill setting. A field left out stays as it is; an empty one clears it.' })
|
|
56
|
+
], BarobillSettingPatch);
|
|
57
|
+
async function barobillAttributes(domain, manager) {
|
|
58
|
+
const ids = await (0, shell_1.getDomainIdsWithAncestors)(domain);
|
|
59
|
+
const names = barobill_setting_rules_1.BAROBILL_PARAMS.map(barobill_setting_rules_1.attributeOf);
|
|
60
|
+
const rows = await manager.getRepository(shell_1.EnvVar).find({ where: { domain: { id: (0, typeorm_1.In)(ids) }, name: (0, typeorm_1.In)(names), active: true } });
|
|
61
|
+
return Object.fromEntries((0, shell_1.dedupByClosestDomain)(rows, ids, one => one.name).map(one => [one.name, one.value]));
|
|
62
|
+
}
|
|
63
|
+
/**
|
|
64
|
+
* The Settings screen's door to the Barobill setting. The values are domain attributes (EnvVar), so the EnvVar
|
|
65
|
+
* privilege opens them, as it does the notice channels.
|
|
66
|
+
*/
|
|
67
|
+
let BarobillSettingResolver = class BarobillSettingResolver {
|
|
68
|
+
async barobillSetting(context) {
|
|
69
|
+
const { domain, tx } = context.state;
|
|
70
|
+
return (0, barobill_setting_rules_1.barobillSettingState)(await barobillAttributes(domain, tx ?? (0, shell_1.getDataSource)().manager), shell_1.secretHint);
|
|
71
|
+
}
|
|
72
|
+
async updateBarobillSetting(patch, context) {
|
|
73
|
+
const { domain, tx } = context.state;
|
|
74
|
+
let writes;
|
|
75
|
+
try {
|
|
76
|
+
writes = (0, barobill_setting_rules_1.barobillSettingWrites)(patch);
|
|
77
|
+
}
|
|
78
|
+
catch (error) {
|
|
79
|
+
if (error instanceof barobill_setting_rules_1.BarobillSettingRefusal)
|
|
80
|
+
throw new shell_1.Refusal(error.code, { field: error.field }, error.message);
|
|
81
|
+
throw error;
|
|
82
|
+
}
|
|
83
|
+
const repository = tx.getRepository(shell_1.EnvVar);
|
|
84
|
+
for (const { name, value } of writes) {
|
|
85
|
+
const own = await repository.findOne({ where: { domain: { id: domain.id }, name } });
|
|
86
|
+
if (value === null) {
|
|
87
|
+
if (own)
|
|
88
|
+
await repository.delete(own.id);
|
|
89
|
+
}
|
|
90
|
+
else if (own)
|
|
91
|
+
await repository.save({ ...own, value, active: true });
|
|
92
|
+
else
|
|
93
|
+
await repository.save({ domain, name, value, active: true, description: 'Barobill (ADR-0204) - set on the Settings screen' });
|
|
94
|
+
}
|
|
95
|
+
return (0, barobill_setting_rules_1.barobillSettingState)(await barobillAttributes(domain, tx), shell_1.secretHint);
|
|
96
|
+
}
|
|
97
|
+
};
|
|
98
|
+
exports.BarobillSettingResolver = BarobillSettingResolver;
|
|
99
|
+
tslib_1.__decorate([
|
|
100
|
+
(0, type_graphql_1.Directive)('@privilege(category: "env-var", privilege: "query", domainOwnerGranted: true)'),
|
|
101
|
+
(0, type_graphql_1.Query)(returns => BarobillSetting, { description: 'The Barobill setting of this domain - never the key.' }),
|
|
102
|
+
tslib_1.__param(0, (0, type_graphql_1.Ctx)()),
|
|
103
|
+
tslib_1.__metadata("design:type", Function),
|
|
104
|
+
tslib_1.__metadata("design:paramtypes", [Object]),
|
|
105
|
+
tslib_1.__metadata("design:returntype", Promise)
|
|
106
|
+
], BarobillSettingResolver.prototype, "barobillSetting", null);
|
|
107
|
+
tslib_1.__decorate([
|
|
108
|
+
(0, type_graphql_1.Directive)('@transaction'),
|
|
109
|
+
(0, type_graphql_1.Directive)('@privilege(category: "env-var", privilege: "mutation", domainOwnerGranted: true)'),
|
|
110
|
+
(0, type_graphql_1.Mutation)(returns => BarobillSetting, { description: 'To change the Barobill setting of this domain.' }),
|
|
111
|
+
tslib_1.__param(0, (0, type_graphql_1.Arg)('patch', type => BarobillSettingPatch)),
|
|
112
|
+
tslib_1.__param(1, (0, type_graphql_1.Ctx)()),
|
|
113
|
+
tslib_1.__metadata("design:type", Function),
|
|
114
|
+
tslib_1.__metadata("design:paramtypes", [BarobillSettingPatch, Object]),
|
|
115
|
+
tslib_1.__metadata("design:returntype", Promise)
|
|
116
|
+
], BarobillSettingResolver.prototype, "updateBarobillSetting", null);
|
|
117
|
+
exports.BarobillSettingResolver = BarobillSettingResolver = tslib_1.__decorate([
|
|
118
|
+
(0, type_graphql_1.Resolver)(),
|
|
119
|
+
(0, type_graphql_1.UseMiddleware)(shell_1.SpeakRefusals)
|
|
120
|
+
], BarobillSettingResolver);
|
|
121
|
+
//# sourceMappingURL=barobill-setting.js.map
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.schema = void 0;
|
|
4
|
+
const tslib_1 = require("tslib");
|
|
5
|
+
const barobill_setting_1 = require("./barobill-setting");
|
|
6
|
+
tslib_1.__exportStar(require("./barobill-setting-rules"), exports);
|
|
7
|
+
exports.schema = {
|
|
8
|
+
resolverClasses: [barobill_setting_1.BarobillSettingResolver]
|
|
9
|
+
};
|
|
10
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
# Barobill Connector
|
|
2
|
+
|
|
3
|
+
바로빌(baroservice.com)에 등록한 은행 계좌 입출금, 법인카드 승인 내역, 세금계산서를 읽는다. 읽기만 한다 — 계좌·카드 등록, 세금계산서 발행은 바로빌 화면에서 한다.
|
|
4
|
+
|
|
5
|
+
## Connection 필드
|
|
6
|
+
|
|
7
|
+
| 필드 | 필수 | 설명 |
|
|
8
|
+
| --- | --- | --- |
|
|
9
|
+
| `certKey` | O | 바로빌 연동 인증키(CERTKEY). 도메인 시크릿으로 저장 |
|
|
10
|
+
| `corpNum` | O | 회사 사업자번호(10자리, 하이픈 무관) |
|
|
11
|
+
| `userId` | O | 바로빌 아이디 |
|
|
12
|
+
| `server` | O | `test`(testws.baroservice.com) · `production`(ws.baroservice.com) |
|
|
13
|
+
| `endpoint` | | 비워 둔다. 모의 서버를 쓸 때만 그 주소 |
|
|
14
|
+
|
|
15
|
+
은행·카드사·홈택스 아이디와 비밀번호는 바로빌에만 등록한다.
|
|
16
|
+
|
|
17
|
+
## 작업
|
|
18
|
+
|
|
19
|
+
- `barobill-bank-lines` — 계좌 입출금 줄
|
|
20
|
+
- `barobill-card-charges` — 카드 승인·취소
|
|
21
|
+
- `barobill-tax-invoices` — 매출·매입 세금계산서
|
package/package.json
CHANGED
|
@@ -1,6 +1,43 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@things-factory/integration-barobill",
|
|
3
|
-
"version": "
|
|
4
|
-
"
|
|
5
|
-
"
|
|
6
|
-
|
|
3
|
+
"version": "10.1.282",
|
|
4
|
+
"main": "dist-server/index.js",
|
|
5
|
+
"files": [
|
|
6
|
+
"README.md",
|
|
7
|
+
"dist-server",
|
|
8
|
+
"helps",
|
|
9
|
+
"things-factory.config.js",
|
|
10
|
+
"translations",
|
|
11
|
+
"!**/*.map",
|
|
12
|
+
"!**/*.test.*",
|
|
13
|
+
"!**/test/**",
|
|
14
|
+
"!**/*.tsbuildinfo",
|
|
15
|
+
"!**/.DS_Store"
|
|
16
|
+
],
|
|
17
|
+
"things-factory": true,
|
|
18
|
+
"author": "heartyoh <heartyoh@hatiolab.com>",
|
|
19
|
+
"description": "Barobill connector for the Things-Factory integration engine: bank account lines, corporate card approvals and tax invoices, read only.",
|
|
20
|
+
"license": "MIT",
|
|
21
|
+
"publishConfig": {
|
|
22
|
+
"access": "public",
|
|
23
|
+
"@things-factory:registry": "https://registry.npmjs.org"
|
|
24
|
+
},
|
|
25
|
+
"repository": {
|
|
26
|
+
"type": "git",
|
|
27
|
+
"url": "git+https://github.com/hatiolab/things-factory.git",
|
|
28
|
+
"directory": "packages/integration-barobill"
|
|
29
|
+
},
|
|
30
|
+
"scripts": {
|
|
31
|
+
"build": "tsc --p tsconfig.json",
|
|
32
|
+
"build:server": "npm run clean:server && tsc",
|
|
33
|
+
"clean:server": "rm -rf dist-server",
|
|
34
|
+
"clean": "npm run clean:server",
|
|
35
|
+
"test": "tsc -p tsconfig.json && node --test test/*.test.mjs",
|
|
36
|
+
"probe": "tsc -p tsconfig.json && node scripts/probe.mjs"
|
|
37
|
+
},
|
|
38
|
+
"dependencies": {
|
|
39
|
+
"@things-factory/integration-base": "^10.1.282",
|
|
40
|
+
"@things-factory/shell": "^10.1.282"
|
|
41
|
+
},
|
|
42
|
+
"gitHead": "6a232e670bdb52e1420b1d33cdeeb37ceb0f26b8"
|
|
43
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export default {}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
{
|
|
2
|
+
"label.barobill-cert-key": "Barobill partner key (CERTKEY)",
|
|
3
|
+
"label.barobill-corp-num": "Business number",
|
|
4
|
+
"label.barobill-user-id": "Barobill user id",
|
|
5
|
+
"label.barobill-server": "Server (test·production)",
|
|
6
|
+
"label.barobill-days": "Past days",
|
|
7
|
+
"label.barobill-from": "From",
|
|
8
|
+
"label.barobill-to": "To",
|
|
9
|
+
"label.barobill-account-number": "Account number",
|
|
10
|
+
"label.barobill-card-number": "Card number",
|
|
11
|
+
"label.barobill-side": "Sales·purchase",
|
|
12
|
+
"error.barobill-cert-key-invalid": "The Barobill key is the 36-character key (8-4-4-4-12) on the developer center.",
|
|
13
|
+
"error.barobill-corp-num-invalid": "The business number is 10 digits.",
|
|
14
|
+
"error.barobill-user-id-invalid": "The Barobill user id is 6 to 20 letters, digits or - _ . @.",
|
|
15
|
+
"error.barobill-server-invalid": "The server is test or production."
|
|
16
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
{
|
|
2
|
+
"label.barobill-cert-key": "Clave de socio Barobill (CERTKEY)",
|
|
3
|
+
"label.barobill-corp-num": "Número de empresa",
|
|
4
|
+
"label.barobill-user-id": "Usuario de Barobill",
|
|
5
|
+
"label.barobill-server": "Servidor (test·production)",
|
|
6
|
+
"label.barobill-days": "Días anteriores",
|
|
7
|
+
"label.barobill-from": "Desde",
|
|
8
|
+
"label.barobill-to": "Hasta",
|
|
9
|
+
"label.barobill-account-number": "Número de cuenta",
|
|
10
|
+
"label.barobill-card-number": "Número de tarjeta",
|
|
11
|
+
"label.barobill-side": "Ventas·compras",
|
|
12
|
+
"error.barobill-cert-key-invalid": "The Barobill key is the 36-character key (8-4-4-4-12) on the developer center.",
|
|
13
|
+
"error.barobill-corp-num-invalid": "The business number is 10 digits.",
|
|
14
|
+
"error.barobill-user-id-invalid": "The Barobill user id is 6 to 20 letters, digits or - _ . @.",
|
|
15
|
+
"error.barobill-server-invalid": "The server is test or production."
|
|
16
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
{
|
|
2
|
+
"label.barobill-cert-key": "Barobill連携キー(CERTKEY)",
|
|
3
|
+
"label.barobill-corp-num": "事業者番号",
|
|
4
|
+
"label.barobill-user-id": "BarobillユーザーID",
|
|
5
|
+
"label.barobill-server": "サーバー(test·production)",
|
|
6
|
+
"label.barobill-days": "過去の日数",
|
|
7
|
+
"label.barobill-from": "開始日",
|
|
8
|
+
"label.barobill-to": "終了日",
|
|
9
|
+
"label.barobill-account-number": "口座番号",
|
|
10
|
+
"label.barobill-card-number": "カード番号",
|
|
11
|
+
"label.barobill-side": "売上·仕入",
|
|
12
|
+
"error.barobill-cert-key-invalid": "The Barobill key is the 36-character key (8-4-4-4-12) on the developer center.",
|
|
13
|
+
"error.barobill-corp-num-invalid": "The business number is 10 digits.",
|
|
14
|
+
"error.barobill-user-id-invalid": "The Barobill user id is 6 to 20 letters, digits or - _ . @.",
|
|
15
|
+
"error.barobill-server-invalid": "The server is test or production."
|
|
16
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
{
|
|
2
|
+
"label.barobill-cert-key": "바로빌 연동 인증키(CERTKEY)",
|
|
3
|
+
"label.barobill-corp-num": "사업자번호",
|
|
4
|
+
"label.barobill-user-id": "바로빌 아이디",
|
|
5
|
+
"label.barobill-server": "연동 서버(test·production)",
|
|
6
|
+
"label.barobill-days": "지난 며칠",
|
|
7
|
+
"label.barobill-from": "시작일",
|
|
8
|
+
"label.barobill-to": "종료일",
|
|
9
|
+
"label.barobill-account-number": "계좌번호",
|
|
10
|
+
"label.barobill-card-number": "카드번호",
|
|
11
|
+
"label.barobill-side": "매출·매입",
|
|
12
|
+
"error.barobill-cert-key-invalid": "바로빌 연동 인증키는 36자리(8-4-4-4-12 형식)여야 합니다. 바로빌 개발자센터에서 인증키를 확인하세요.",
|
|
13
|
+
"error.barobill-corp-num-invalid": "사업자등록번호는 숫자 10자리여야 합니다.",
|
|
14
|
+
"error.barobill-user-id-invalid": "바로빌 아이디는 영문, 숫자, 특수문자(- _ . @)를 사용하여 6~20자로 입력해야 합니다.",
|
|
15
|
+
"error.barobill-server-invalid": "연동 서버는 「테스트」 또는 「운영」 중에서 선택해야 합니다."
|
|
16
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
{
|
|
2
|
+
"label.barobill-cert-key": "Kunci rakan Barobill (CERTKEY)",
|
|
3
|
+
"label.barobill-corp-num": "Nombor perniagaan",
|
|
4
|
+
"label.barobill-user-id": "ID pengguna Barobill",
|
|
5
|
+
"label.barobill-server": "Pelayan (test·production)",
|
|
6
|
+
"label.barobill-days": "Hari lepas",
|
|
7
|
+
"label.barobill-from": "Dari",
|
|
8
|
+
"label.barobill-to": "Hingga",
|
|
9
|
+
"label.barobill-account-number": "Nombor akaun",
|
|
10
|
+
"label.barobill-card-number": "Nombor kad",
|
|
11
|
+
"label.barobill-side": "Jualan·belian",
|
|
12
|
+
"error.barobill-cert-key-invalid": "The Barobill key is the 36-character key (8-4-4-4-12) on the developer center.",
|
|
13
|
+
"error.barobill-corp-num-invalid": "The business number is 10 digits.",
|
|
14
|
+
"error.barobill-user-id-invalid": "The Barobill user id is 6 to 20 letters, digits or - _ . @.",
|
|
15
|
+
"error.barobill-server-invalid": "The server is test or production."
|
|
16
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
{
|
|
2
|
+
"label.barobill-cert-key": "Barobill 对接密钥(CERTKEY)",
|
|
3
|
+
"label.barobill-corp-num": "营业执照号",
|
|
4
|
+
"label.barobill-user-id": "Barobill 用户ID",
|
|
5
|
+
"label.barobill-server": "服务器(test·production)",
|
|
6
|
+
"label.barobill-days": "过去天数",
|
|
7
|
+
"label.barobill-from": "开始日期",
|
|
8
|
+
"label.barobill-to": "结束日期",
|
|
9
|
+
"label.barobill-account-number": "账号",
|
|
10
|
+
"label.barobill-card-number": "卡号",
|
|
11
|
+
"label.barobill-side": "销售·采购",
|
|
12
|
+
"error.barobill-cert-key-invalid": "The Barobill key is the 36-character key (8-4-4-4-12) on the developer center.",
|
|
13
|
+
"error.barobill-corp-num-invalid": "The business number is 10 digits.",
|
|
14
|
+
"error.barobill-user-id-invalid": "The Barobill user id is 6 to 20 letters, digits or - _ . @.",
|
|
15
|
+
"error.barobill-server-invalid": "The server is test or production."
|
|
16
|
+
}
|