@pinelab/vendure-plugin-e-boekhouden 1.0.2 → 1.2.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/CHANGELOG.md
ADDED
package/README.md
CHANGED
|
@@ -1,7 +1,5 @@
|
|
|
1
1
|
# Vendure E-boekhouden plugin
|
|
2
2
|
|
|
3
|
-

|
|
4
|
-
|
|
5
3
|
### [Official documentation here](https://pinelab-plugins.com/plugin/vendure-plugin-e-boekhouden)
|
|
6
4
|
|
|
7
5
|
Plugin for syncing orders to the Dutch accounting platform E-boekhouden.nl.
|
|
@@ -14,7 +12,7 @@ mutation line for each taxrate of the order's tax summary.
|
|
|
14
12
|
1. Add this to your plugin in `vendure-config.ts`:
|
|
15
13
|
|
|
16
14
|
```ts
|
|
17
|
-
import { EboekhoudenPlugin } from 'vendure-plugin-e-boekhouden'
|
|
15
|
+
import { EboekhoudenPlugin } from '@pinelab/vendure-plugin-e-boekhouden'
|
|
18
16
|
|
|
19
17
|
plugins: [
|
|
20
18
|
EboekhoudenPlugin,
|
|
@@ -17,6 +17,7 @@ let EBoekhoudenConfigEntity = class EBoekhoudenConfigEntity extends core_1.Vendu
|
|
|
17
17
|
super(input);
|
|
18
18
|
}
|
|
19
19
|
};
|
|
20
|
+
exports.EBoekhoudenConfigEntity = EBoekhoudenConfigEntity;
|
|
20
21
|
__decorate([
|
|
21
22
|
(0, typeorm_1.Column)({ unique: true }),
|
|
22
23
|
__metadata("design:type", String)
|
|
@@ -45,8 +46,7 @@ __decorate([
|
|
|
45
46
|
(0, typeorm_1.Column)({ nullable: false }),
|
|
46
47
|
__metadata("design:type", String)
|
|
47
48
|
], EBoekhoudenConfigEntity.prototype, "contraAccount", void 0);
|
|
48
|
-
EBoekhoudenConfigEntity = __decorate([
|
|
49
|
+
exports.EBoekhoudenConfigEntity = EBoekhoudenConfigEntity = __decorate([
|
|
49
50
|
(0, typeorm_1.Entity)('e_boekhouden_config'),
|
|
50
51
|
__metadata("design:paramtypes", [Object])
|
|
51
52
|
], EBoekhoudenConfigEntity);
|
|
52
|
-
exports.EBoekhoudenConfigEntity = EBoekhoudenConfigEntity;
|
|
@@ -32,6 +32,7 @@ let EBoekhoudenResolver = class EBoekhoudenResolver {
|
|
|
32
32
|
return this.service.upsertConfig(ctx.channel.token, input);
|
|
33
33
|
}
|
|
34
34
|
};
|
|
35
|
+
exports.EBoekhoudenResolver = EBoekhoudenResolver;
|
|
35
36
|
__decorate([
|
|
36
37
|
(0, graphql_1.Query)(),
|
|
37
38
|
(0, core_1.Allow)(exports.eBoekhoudenPermission.Permission),
|
|
@@ -49,8 +50,7 @@ __decorate([
|
|
|
49
50
|
__metadata("design:paramtypes", [core_1.RequestContext, Object]),
|
|
50
51
|
__metadata("design:returntype", Promise)
|
|
51
52
|
], EBoekhoudenResolver.prototype, "updateEBoekhoudenConfig", null);
|
|
52
|
-
EBoekhoudenResolver = __decorate([
|
|
53
|
+
exports.EBoekhoudenResolver = EBoekhoudenResolver = __decorate([
|
|
53
54
|
(0, graphql_1.Resolver)(),
|
|
54
55
|
__metadata("design:paramtypes", [e_boekhouden_service_1.EBoekhoudenService])
|
|
55
56
|
], EBoekhoudenResolver);
|
|
56
|
-
exports.EBoekhoudenResolver = EBoekhoudenResolver;
|
|
@@ -136,7 +136,8 @@ let EBoekhoudenService = class EBoekhoudenService {
|
|
|
136
136
|
}
|
|
137
137
|
}
|
|
138
138
|
};
|
|
139
|
-
EBoekhoudenService =
|
|
139
|
+
exports.EBoekhoudenService = EBoekhoudenService;
|
|
140
|
+
exports.EBoekhoudenService = EBoekhoudenService = __decorate([
|
|
140
141
|
(0, common_1.Injectable)(),
|
|
141
142
|
__metadata("design:paramtypes", [core_1.TransactionalConnection,
|
|
142
143
|
core_1.OrderService,
|
|
@@ -144,4 +145,3 @@ EBoekhoudenService = __decorate([
|
|
|
144
145
|
core_1.EventBus,
|
|
145
146
|
core_1.JobQueueService])
|
|
146
147
|
], EBoekhoudenService);
|
|
147
|
-
exports.EBoekhoudenService = EBoekhoudenService;
|
|
@@ -18,6 +18,7 @@ const schema_graphql_1 = require("./api/schema.graphql");
|
|
|
18
18
|
const e_boekhouden_resolver_1 = require("./api/e-boekhouden.resolver");
|
|
19
19
|
let EBoekhoudenPlugin = class EBoekhoudenPlugin {
|
|
20
20
|
};
|
|
21
|
+
exports.EBoekhoudenPlugin = EBoekhoudenPlugin;
|
|
21
22
|
EBoekhoudenPlugin.ui = {
|
|
22
23
|
extensionPath: path_1.default.join(__dirname, 'ui'),
|
|
23
24
|
ngModules: [
|
|
@@ -34,7 +35,7 @@ EBoekhoudenPlugin.ui = {
|
|
|
34
35
|
},
|
|
35
36
|
],
|
|
36
37
|
};
|
|
37
|
-
EBoekhoudenPlugin = __decorate([
|
|
38
|
+
exports.EBoekhoudenPlugin = EBoekhoudenPlugin = __decorate([
|
|
38
39
|
(0, core_1.VendurePlugin)({
|
|
39
40
|
imports: [core_1.PluginCommonModule],
|
|
40
41
|
entities: [e_boekhouden_config_entity_1.EBoekhoudenConfigEntity],
|
|
@@ -50,4 +51,3 @@ EBoekhoudenPlugin = __decorate([
|
|
|
50
51
|
compatibility: '^2.0.0',
|
|
51
52
|
})
|
|
52
53
|
], EBoekhoudenPlugin);
|
|
53
|
-
exports.EBoekhoudenPlugin = EBoekhoudenPlugin;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pinelab/vendure-plugin-e-boekhouden",
|
|
3
|
-
"version": "1.0
|
|
3
|
+
"version": "1.2.0",
|
|
4
4
|
"description": "Vendure plugin for integration with the e-boekhouden accounting platform",
|
|
5
5
|
"author": "Martijn van de Brug <martijn@pinelab.studio>",
|
|
6
6
|
"homepage": "https://pinelab-plugins.com/",
|
|
@@ -14,17 +14,19 @@
|
|
|
14
14
|
"types": "dist/index.d.ts",
|
|
15
15
|
"files": [
|
|
16
16
|
"dist",
|
|
17
|
-
"README.md"
|
|
17
|
+
"README.md",
|
|
18
|
+
"CHANGELOG.md"
|
|
18
19
|
],
|
|
19
20
|
"scripts": {
|
|
20
21
|
"serve": "nodemon --watch \"src/**\" --ext \"ts,json\" --exec \"ts-node test/dev-server.ts\"",
|
|
21
22
|
"start": "ts-node test/dev-server.ts",
|
|
22
23
|
"build": "rimraf dist && yarn graphql-codegen && tsc && copyfiles -u 1 'src/ui/**/*' dist/",
|
|
23
24
|
"test": "vitest run",
|
|
24
|
-
"generate-soap-client": "rimraf src/client/eboekhoudenwsdl && wsdl-tsclient ./src/client/e-boekhouden-wsdl.xml -o ./src/client/"
|
|
25
|
+
"generate-soap-client": "rimraf src/client/eboekhoudenwsdl && wsdl-tsclient ./src/client/e-boekhouden-wsdl.xml -o ./src/client/",
|
|
26
|
+
"lint": "echo 'No linting configured'"
|
|
25
27
|
},
|
|
26
28
|
"dependencies": {
|
|
27
29
|
"soap": "^0.43.0"
|
|
28
30
|
},
|
|
29
|
-
"gitHead": "
|
|
31
|
+
"gitHead": "a4375f51797b974b3edfb15e6f68926e7ccebe96"
|
|
30
32
|
}
|