@voyantjs/finance 0.4.4 → 0.5.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/README.md CHANGED
@@ -24,7 +24,7 @@ const app = createApp({
24
24
 
25
25
  - **Invoices** + **Invoice lines** (`inv`, `inli`)
26
26
  - **Payments** (`pay`)
27
- - **Credit notes** + **Credit note lines** (`crnt`, `cnli`)
27
+ - **Credit notes** + **Credit note lines** (`crn`, `cnli`)
28
28
  - **Supplier payments** (`spay`)
29
29
  - **Finance notes** (`fnot`)
30
30
  - **Invoice number series** (`invs`)
package/dist/index.js CHANGED
@@ -21,7 +21,7 @@ export const creditNoteLinkable = {
21
21
  module: "finance",
22
22
  entity: "creditNote",
23
23
  table: "credit_notes",
24
- idPrefix: "crnt",
24
+ idPrefix: "crn",
25
25
  };
26
26
  export const financeLinkable = {
27
27
  invoice: invoiceLinkable,
package/dist/routes.d.ts CHANGED
@@ -684,11 +684,11 @@ export declare const financeRoutes: import("hono/hono-base").HonoBase<Env, {
684
684
  updatedAt: string;
685
685
  notes: string | null;
686
686
  metadata: import("hono/utils/types").JSONValue;
687
+ label: string;
687
688
  ownerType: "internal" | "supplier" | "other" | "client" | "channel" | "agency";
688
689
  supplierId: string | null;
689
690
  channelId: string | null;
690
691
  instrumentType: "other" | "voucher" | "wallet" | "credit_card" | "debit_card" | "cash" | "direct_bill" | "bank_account";
691
- label: string;
692
692
  provider: string | null;
693
693
  last4: string | null;
694
694
  holderName: string | null;
package/dist/service.d.ts CHANGED
@@ -150,11 +150,11 @@ export declare const financeService: {
150
150
  updatedAt: Date;
151
151
  notes: string | null;
152
152
  metadata: unknown;
153
+ label: string;
153
154
  ownerType: "internal" | "supplier" | "other" | "client" | "channel" | "agency";
154
155
  supplierId: string | null;
155
156
  channelId: string | null;
156
157
  instrumentType: "other" | "voucher" | "wallet" | "credit_card" | "debit_card" | "cash" | "direct_bill" | "bank_account";
157
- label: string;
158
158
  provider: string | null;
159
159
  last4: string | null;
160
160
  holderName: string | null;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@voyantjs/finance",
3
- "version": "0.4.4",
3
+ "version": "0.5.0",
4
4
  "license": "FSL-1.1-Apache-2.0",
5
5
  "type": "module",
6
6
  "exports": {
@@ -33,12 +33,12 @@
33
33
  "drizzle-orm": "^0.45.2",
34
34
  "hono": "^4.12.10",
35
35
  "zod": "^4.3.6",
36
- "@voyantjs/bookings": "0.4.4",
37
- "@voyantjs/core": "0.4.4",
38
- "@voyantjs/db": "0.4.4",
39
- "@voyantjs/hono": "0.4.4",
40
- "@voyantjs/utils": "0.4.4",
41
- "@voyantjs/voyant-storage": "0.4.4"
36
+ "@voyantjs/bookings": "0.5.0",
37
+ "@voyantjs/core": "0.5.0",
38
+ "@voyantjs/db": "0.5.0",
39
+ "@voyantjs/hono": "0.5.0",
40
+ "@voyantjs/utils": "0.5.0",
41
+ "@voyantjs/voyant-storage": "0.5.0"
42
42
  },
43
43
  "devDependencies": {
44
44
  "typescript": "^6.0.2",