@kevludwig/eve-lexware-office 0.1.6 → 0.1.7

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.
@@ -18,6 +18,7 @@ declare const _default: import("eve/tools").ToolDefinition<{
18
18
  invoice?: undefined;
19
19
  openAmount?: undefined;
20
20
  attachment?: undefined;
21
+ effect?: undefined;
21
22
  } | {
22
23
  sent: boolean;
23
24
  to: string;
@@ -26,6 +27,17 @@ declare const _default: import("eve/tools").ToolDefinition<{
26
27
  invoice: string;
27
28
  openAmount: number;
28
29
  attachment: string;
30
+ effect: {
31
+ kind: string;
32
+ to: string;
33
+ cc: readonly string[];
34
+ test: boolean;
35
+ invoice: string;
36
+ invoiceId: string;
37
+ amount: number;
38
+ currency: string;
39
+ contentSha256: string;
40
+ };
29
41
  note: string;
30
42
  }> & {
31
43
  execute(input: {
@@ -43,6 +55,7 @@ declare const _default: import("eve/tools").ToolDefinition<{
43
55
  invoice?: undefined;
44
56
  openAmount?: undefined;
45
57
  attachment?: undefined;
58
+ effect?: undefined;
46
59
  } | {
47
60
  sent: boolean;
48
61
  to: string;
@@ -51,6 +64,17 @@ declare const _default: import("eve/tools").ToolDefinition<{
51
64
  invoice: string;
52
65
  openAmount: number;
53
66
  attachment: string;
67
+ effect: {
68
+ kind: string;
69
+ to: string;
70
+ cc: readonly string[];
71
+ test: boolean;
72
+ invoice: string;
73
+ invoiceId: string;
74
+ amount: number;
75
+ currency: string;
76
+ contentSha256: string;
77
+ };
54
78
  note: string;
55
79
  }>;
56
80
  };
@@ -174,6 +174,17 @@ var send_payment_reminder_default = defineTool({
174
174
  invoice: target.voucherNumber,
175
175
  openAmount: outcome.openAmount,
176
176
  attachment: outcome.attachment,
177
+ effect: {
178
+ kind: "payment_reminder",
179
+ to: target.to,
180
+ cc: target.cc ?? [],
181
+ test: target.test,
182
+ invoice: target.voucherNumber,
183
+ invoiceId: target.invoiceId,
184
+ amount: outcome.openAmount,
185
+ currency: target.currency,
186
+ contentSha256: outcome.contentSha256
187
+ },
177
188
  note: target.test ? `Testversand an ${target.to}. Im Echtbetrieb ginge die Erinnerung an ${target.customer ?? "den Kunden (keine Adresse hinterlegt)"}.` : `Erinnerung an ${target.to} verschickt.`
178
189
  };
179
190
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kevludwig/eve-lexware-office",
3
- "version": "0.1.6",
3
+ "version": "0.1.7",
4
4
  "type": "module",
5
5
  "eve": {
6
6
  "extension": {
@@ -24,7 +24,7 @@
24
24
  "dependencies": {
25
25
  "@vercel/blob": "^2.8.0",
26
26
  "zod": "4.5.4",
27
- "@kevludwig/lexware-office": "0.1.2"
27
+ "@kevludwig/lexware-office": "0.1.3"
28
28
  },
29
29
  "devDependencies": {
30
30
  "@types/node": "24.x",