@wisemen/wise-invoicing-web 0.17.0 → 0.19.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.
Files changed (55) hide show
  1. package/dist/{ApprovalReminderSettingsViewDataProvider-CSvHKx35.js → ApprovalReminderSettingsViewDataProvider-C1cI6KQq.js} +11 -11
  2. package/dist/{BillingDocumentDetailViewDataProvider-BSZiFFDZ.js → BillingDocumentDetailViewDataProvider-BZCFhsjA.js} +1338 -1317
  3. package/dist/BillingDocumentDetailViewDataProvider.css +1 -1
  4. package/dist/{BillingDocumentPdf-DQWebrh4.js → BillingDocumentPdf-DMTwOlzG.js} +79 -79
  5. package/dist/{DunningCaseSendDialog-MJ8KSI2s.js → DunningCaseSendDialog-DfMYo2LV.js} +23 -23
  6. package/dist/{InvoiceApprovalOutOfSyncIndicator-BNlaBokg.js → InvoiceApprovalOutOfSyncIndicator-BjlBhzNg.js} +1 -1
  7. package/dist/{InvoiceApprovalOverviewView-2zmnNJJM.js → InvoiceApprovalOverviewView-BH5rJgk6.js} +22 -22
  8. package/dist/{InvoiceApprovalStatusBadge-C7-CrTtD.js → InvoiceApprovalStatusBadge-CaVSCtI0.js} +4 -4
  9. package/dist/{InvoicePdfView-DA34o3C4.js → InvoicePdfView-DRqX3P-X.js} +2 -2
  10. package/dist/{InvoicePublicProFormaPdfViewDataProvider-DljBWIFb.js → InvoicePublicProFormaPdfViewDataProvider-Dz2jGWVg.js} +3 -3
  11. package/dist/{InvoiceApproveDialogDataProvider-CclSNBDj.js → InvoiceRejectDialog-_5i8eFuk.js} +178 -178
  12. package/dist/{invoiceDeliveryStatus.util-CJGCDiFf.js → InvoiceStatusBadge-BI41yxpr.js} +72 -72
  13. package/dist/{InvoicingFileUploadProvider-B3ZzLMR8.js → InvoicingFileUploadProvider-rU9APFrt.js} +2 -2
  14. package/dist/IssuerSettingsViewDataProvider-nNg0lR7Y.js +544 -0
  15. package/dist/{PeppolSettingsViewDataProvider-BD2CGw2K.js → PeppolSettingsViewDataProvider-CFelH70Q.js} +32 -32
  16. package/dist/{api.util-BMza-ojm.js → api.util-sW4gNny-.js} +1 -0
  17. package/dist/{billingDocumentDetail.transformer-D8lwLPds.js → billingDocumentDetail.transformer-Ifa6tWtE.js} +14 -13
  18. package/dist/client/types.gen.d.ts +1 -0
  19. package/dist/client/zod.gen.d.ts +35 -0
  20. package/dist/{creditNoteDetail.query-8g2bZ21Y.js → creditNoteDetail.query-C4DvgGFR.js} +5 -3
  21. package/dist/{InvoiceDeliverySendDialog-BjFaLTOg.js → customFieldDefinitionIndex.query-BBqxMfvT.js} +272 -203
  22. package/dist/{deliveryReason.util-B9ZPSt7J.js → deliveryReason.util-KBh3q_-P.js} +2 -2
  23. package/dist/{dist-Ck8ZEByl.js → dist-47-1LAzT.js} +8 -8
  24. package/dist/{dist-ByzJNujV.js → dist-CyUNvdkD.js} +1 -1
  25. package/dist/{documentTitle.composable-QdSLs6eT.js → documentTitle.composable-Dl8Cm3v3.js} +1 -1
  26. package/dist/{i18n.lib-Bs40rct-.js → i18n.lib-DckceEsg.js} +4 -0
  27. package/dist/index.d.ts +8 -0
  28. package/dist/index.js +5974 -3081
  29. package/dist/{invoice.service-Dqj-rXA5.js → invoice.service-v9uIoFgR.js} +115 -113
  30. package/dist/{invoiceApproval.service-C4ZxwGB8.js → invoiceApproval.service-DXIKgCI_.js} +2 -2
  31. package/dist/{invoiceApprovalStatus.util-B6IhZXLq.js → invoiceApprovalStatus.util-CB5pi_hm.js} +2 -2
  32. package/dist/{invoiceCustomer.service-BNekA43U.js → invoiceCustomer.service-Bl4vN_U5.js} +2 -2
  33. package/dist/{invoiceDetail.query-xl08jVB3.js → invoiceDetail.query-MElhxTMM.js} +1 -1
  34. package/dist/{invoicingConfig.composable-B0Kj9ini.js → invoicingConfig.composable-D-hxnEnh.js} +2 -2
  35. package/dist/{issuerSettings.query-Cmt5oUiJ.js → issuerSettings.query-CR7EtvNm.js} +2 -2
  36. package/dist/libs/i18n.lib.d.ts +4 -0
  37. package/dist/locales/en-US.json.d.ts +2 -0
  38. package/dist/locales/nl-BE.json.d.ts +2 -0
  39. package/dist/models/billing-document/billingDocumentDetail.model.d.ts +1 -0
  40. package/dist/modules/credit-note/api/mutations/creditNoteUpdate.mutation.d.ts +1 -0
  41. package/dist/modules/credit-note/models/update/creditNoteUpdateForm.model.d.ts +1 -0
  42. package/dist/modules/invoice/api/mutations/invoiceUpdate.mutation.d.ts +1 -0
  43. package/dist/modules/invoice/models/invoice/payment/invoicePaymentCreateForm.model.d.ts +1 -1
  44. package/dist/modules/invoice/models/invoice/update/invoiceUpdateForm.model.d.ts +1 -0
  45. package/dist/modules/invoice/use-cases/overview/components/InvoiceOverviewBulkActionBar.vue.d.ts +2 -2
  46. package/dist/{reminderConfig.query-DDLxE3no.js → reminderConfig.query-DJmhJp6W.js} +2 -2
  47. package/dist/style.css +1 -1
  48. package/dist/ui/billing-document/table/field/BillingDocumentLineItemsTableField.vue.d.ts +1 -1
  49. package/package.json +4 -4
  50. package/dist/CreditNoteDetailViewDataProvider-Bs8kadYX.js +0 -799
  51. package/dist/CreditNotePdfViewDataProvider-DxojGCdS.js +0 -22
  52. package/dist/InvoiceDetailViewDataProvider-DK5Tandr.js +0 -2167
  53. package/dist/InvoicePdfViewDataProvider-Bl7a578G.js +0 -22
  54. package/dist/IssuerSettingsViewDataProvider-BgpoLQZL.js +0 -544
  55. package/dist/download.util-LyRpGWKA.js +0 -25
@@ -1,8 +1,8 @@
1
- import "./api.util-BMza-ojm.js";
2
- import { E as e, t } from "./documentTitle.composable-QdSLs6eT.js";
3
- import { t as n } from "./DataProvider-BtnD-BzI.js";
4
- import { t as r } from "./formango.util-D5c2ql--.js";
5
- import { i, n as a, r as o, t as s } from "./deliveryReason.util-B9ZPSt7J.js";
1
+ import "./api.util-sW4gNny-.js";
2
+ import { E as e, t } from "./documentTitle.composable-Dl8Cm3v3.js";
3
+ import { i as n, n as r, r as i, t as a } from "./deliveryReason.util-KBh3q_-P.js";
4
+ import { t as o } from "./formango.util-D5c2ql--.js";
5
+ import { t as s } from "./DataProvider-BtnD-BzI.js";
6
6
  import c from "zod";
7
7
  import { useI18n as l } from "vue-i18n";
8
8
  import { computed as u, createBlock as d, createElementVNode as f, createVNode as p, defineComponent as m, mergeProps as h, openBlock as g, ref as _, unref as v, withCtx as y } from "vue";
@@ -12,7 +12,7 @@ import { useForm as N } from "formango";
12
12
  //#region src/modules/invoice-delivery/api/mutations/peppolConnectionUpdate.mutation.ts
13
13
  function P() {
14
14
  return b({
15
- queryFn: (e) => o.update(e.body),
15
+ queryFn: (e) => i.update(e.body),
16
16
  queryKeysToInvalidate: { peppolConnection: {} }
17
17
  });
18
18
  }
@@ -26,7 +26,7 @@ var F = /* @__PURE__ */ m({
26
26
  },
27
27
  setup(e) {
28
28
  let t = e, n = l();
29
- return (e, i) => (g(), d(v(A), h(v(r)(t.field), {
29
+ return (e, r) => (g(), d(v(A), h(v(o)(t.field), {
30
30
  label: v(n).t("wise_invoicing.delivery.settings.api_key"),
31
31
  hint: v(n).t(t.hasSavedKey ? "wise_invoicing.delivery.settings.key_saved" : "wise_invoicing.delivery.settings.key_hint"),
32
32
  type: "password",
@@ -42,17 +42,17 @@ var F = /* @__PURE__ */ m({
42
42
  field: {}
43
43
  },
44
44
  setup(e) {
45
- let t = e, n = l(), i = u(() => t.isTestCurrent ? j(t.companies.map((e) => e.id)) : j(t.savedPartyId === null ? [] : [t.savedPartyId]));
46
- function a(e) {
45
+ let t = e, n = l(), r = u(() => t.isTestCurrent ? j(t.companies.map((e) => e.id)) : j(t.savedPartyId === null ? [] : [t.savedPartyId]));
46
+ function i(e) {
47
47
  let r = t.companies.find((t) => t.id === e);
48
48
  return r === void 0 ? e : n.t("wise_invoicing.delivery.settings.company_option", {
49
49
  name: r.name,
50
50
  vatNumber: r.vatNumber
51
51
  });
52
52
  }
53
- return (e, o) => (g(), d(v(k), h(v(r)(t.field), {
54
- items: i.value,
55
- "display-fn": a,
53
+ return (e, a) => (g(), d(v(k), h(v(o)(t.field), {
54
+ items: r.value,
55
+ "display-fn": i,
56
56
  label: v(n).t("wise_invoicing.delivery.settings.company"),
57
57
  "is-disabled": !t.isTestCurrent,
58
58
  "is-required": !0
@@ -67,7 +67,7 @@ var F = /* @__PURE__ */ m({
67
67
  props: { field: {} },
68
68
  setup(e) {
69
69
  let t = e, n = l();
70
- return (e, i) => (g(), d(v(S), h(v(r)(t.field), { label: v(n).t("wise_invoicing.delivery.settings.enabled") }), null, 16, ["label"]));
70
+ return (e, r) => (g(), d(v(S), h(v(o)(t.field), { label: v(n).t("wise_invoicing.delivery.settings.enabled") }), null, 16, ["label"]));
71
71
  }
72
72
  }), R = /* @__PURE__ */ m({
73
73
  __name: "PeppolConnectionFormProviderField",
@@ -77,7 +77,7 @@ var F = /* @__PURE__ */ m({
77
77
  },
78
78
  setup(e) {
79
79
  let t = e, n = l();
80
- return (e, i) => (g(), d(v(k), h(v(r)(t.field), {
80
+ return (e, r) => (g(), d(v(k), h(v(o)(t.field), {
81
81
  items: v(j)(t.providers),
82
82
  "display-fn": (e) => v(n).t(`wise_invoicing.delivery.provider.${e}`),
83
83
  label: v(n).t("wise_invoicing.delivery.settings.provider"),
@@ -96,15 +96,15 @@ var F = /* @__PURE__ */ m({
96
96
  }), B = { class: "flex max-w-xl flex-col gap-lg" }, V = /* @__PURE__ */ m({
97
97
  __name: "PeppolSettingsView",
98
98
  props: { settings: {} },
99
- setup(n) {
100
- let r = n, a = l(), c = M(), m = t(), h = P(), b = _([]), S = _(!1), k = _(null);
101
- m.set(() => a.t("wise_invoicing.delivery.settings.title"));
99
+ setup(r) {
100
+ let o = r, s = l(), c = M(), m = t(), h = P(), b = _([]), S = _(!1), k = _(null);
101
+ m.set(() => s.t("wise_invoicing.delivery.settings.title"));
102
102
  let A = N({
103
- initialState: u(() => i.toForm(r.settings)),
103
+ initialState: u(() => n.toForm(o.settings)),
104
104
  schema: z,
105
105
  onSubmit: async (e) => {
106
106
  let t = await h.execute({ body: e });
107
- t.isErr() ? q(t.error) : (K(), k.value = null, c.show({ message: a.t("wise_invoicing.delivery.settings.saved") }));
107
+ t.isErr() ? q(t.error) : (K(), k.value = null, c.show({ message: s.t("wise_invoicing.delivery.settings.saved") }));
108
108
  },
109
109
  onSubmitError: () => c.unableToSave()
110
110
  }), j = A.register("provider", e.SOLUZ), V = A.register("apiKey", ""), H = A.register("partyId", ""), U = A.register("enabled", !1), W = u(() => JSON.stringify([j.modelValue.value, V.modelValue.value])), G = u(() => k.value === W.value);
@@ -112,25 +112,25 @@ var F = /* @__PURE__ */ m({
112
112
  V.setValue("");
113
113
  }
114
114
  function q(e) {
115
- let t = s.fromApiError(e);
115
+ let t = a.fromApiError(e);
116
116
  t === null ? c.apiError(e) : c.show({
117
- message: a.t(t),
117
+ message: s.t(t),
118
118
  variant: "error"
119
119
  });
120
120
  }
121
121
  async function J() {
122
122
  S.value = !0;
123
- let e = W.value, t = await o.test({
123
+ let e = W.value, t = await i.test({
124
124
  partyId: H.modelValue.value,
125
125
  apiKey: V.modelValue.value,
126
126
  enabled: U.modelValue.value,
127
127
  provider: j.modelValue.value
128
128
  });
129
- S.value = !1, e === W.value && (t.isErr() ? q(t.error) : (b.value = t.value, t.value.some((e) => e.id === H.modelValue.value) || H.setValue(""), k.value = e, c.show({ message: a.t("wise_invoicing.delivery.settings.test_success") })));
129
+ S.value = !1, e === W.value && (t.isErr() ? q(t.error) : (b.value = t.value, t.value.some((e) => e.id === H.modelValue.value) || H.setValue(""), k.value = e, c.show({ message: s.t("wise_invoicing.delivery.settings.test_success") })));
130
130
  }
131
131
  return (e, t) => (g(), d(v(C), {
132
- title: v(a).t("wise_invoicing.delivery.settings.title"),
133
- description: v(a).t("wise_invoicing.delivery.settings.description")
132
+ title: v(s).t("wise_invoicing.delivery.settings.title"),
133
+ description: v(s).t("wise_invoicing.delivery.settings.description")
134
134
  }, {
135
135
  default: y(() => [p(v(w), null, {
136
136
  default: y(() => [p(v(T), {
@@ -145,10 +145,10 @@ var F = /* @__PURE__ */ m({
145
145
  }, {
146
146
  default: y(() => [p(R, {
147
147
  field: v(j),
148
- providers: r.settings.providers
148
+ providers: o.settings.providers
149
149
  }, null, 8, ["field", "providers"]), p(F, {
150
150
  field: v(V),
151
- "has-saved-key": r.settings.connection?.hasApiKey ?? !1
151
+ "has-saved-key": o.settings.connection?.hasApiKey ?? !1
152
152
  }, null, 8, ["field", "has-saved-key"])]),
153
153
  _: 1
154
154
  })]),
@@ -156,7 +156,7 @@ var F = /* @__PURE__ */ m({
156
156
  }),
157
157
  p(v(x), {
158
158
  "is-loading": S.value,
159
- label: v(a).t("wise_invoicing.delivery.settings.test"),
159
+ label: v(s).t("wise_invoicing.delivery.settings.test"),
160
160
  type: "button",
161
161
  variant: "secondary",
162
162
  onClick: J
@@ -165,7 +165,7 @@ var F = /* @__PURE__ */ m({
165
165
  field: v(H),
166
166
  companies: b.value,
167
167
  "is-test-current": G.value,
168
- "saved-party-id": r.settings.connection?.partyId ?? null
168
+ "saved-party-id": o.settings.connection?.partyId ?? null
169
169
  }, null, 8, [
170
170
  "field",
171
171
  "companies",
@@ -173,7 +173,7 @@ var F = /* @__PURE__ */ m({
173
173
  "saved-party-id"
174
174
  ]),
175
175
  p(L, { field: v(U) }, null, 8, ["field"]),
176
- p(v(O), { label: v(a).t("wise_invoicing.common.save") }, null, 8, ["label"])
176
+ p(v(O), { label: v(s).t("wise_invoicing.common.save") }, null, 8, ["label"])
177
177
  ])]),
178
178
  _: 1
179
179
  }, 8, ["form"])]),
@@ -185,8 +185,8 @@ var F = /* @__PURE__ */ m({
185
185
  }), H = /* @__PURE__ */ m({
186
186
  __name: "PeppolSettingsViewDataProvider",
187
187
  setup(e) {
188
- let t = a();
189
- return (e, r) => (g(), d(n, { queries: { settings: v(t) } }, {
188
+ let t = r();
189
+ return (e, n) => (g(), d(s, { queries: { settings: v(t) } }, {
190
190
  default: y(({ data: e }) => [p(V, { settings: e.settings }, null, 8, ["settings"])]),
191
191
  _: 1
192
192
  }, 8, ["queries"]));
@@ -1368,6 +1368,7 @@ var C = e.object({
1368
1368
  description: e.string().nullable()
1369
1369
  }), ln = e.enum([
1370
1370
  "piece",
1371
+ "minute",
1371
1372
  "hour",
1372
1373
  "day",
1373
1374
  "kilometer",
@@ -1,9 +1,9 @@
1
- import "./api.util-BMza-ojm.js";
2
- import { m as e, u as t } from "./documentTitle.composable-QdSLs6eT.js";
1
+ import "./api.util-sW4gNny-.js";
2
+ import { m as e, u as t } from "./documentTitle.composable-Dl8Cm3v3.js";
3
3
  import { t as n } from "./address.transformer-jGddczLV.js";
4
4
  import { n as r, r as i, t as a } from "./plainDate.transformer-Bhiz9jW7.js";
5
- import { n as o } from "./percentage.util-Bl78kSSk.js";
6
- import { t as s } from "./dist-CwkVU5yS.js";
5
+ import { t as o } from "./dist-CwkVU5yS.js";
6
+ import { n as s } from "./percentage.util-Bl78kSSk.js";
7
7
  import { Temporal as c } from "temporal-polyfill";
8
8
  //#region src/models/billing-document/activity-log/billingDocumentActivityLog.transformer.ts
9
9
  var l = class {
@@ -21,7 +21,7 @@ var l = class {
21
21
  static fromDto(t) {
22
22
  if (t === null) return null;
23
23
  if (t.type === e.PERCENTAGE) {
24
- let e = o.fromNullableDto(t.percentage);
24
+ let e = s.fromNullableDto(t.percentage);
25
25
  return e?.getValue() === 0 ? null : {
26
26
  amount: null,
27
27
  description: t.description,
@@ -32,7 +32,7 @@ var l = class {
32
32
  return {
33
33
  amount: t.amount === null ? null : r.fromDto(t.amount),
34
34
  description: t.description,
35
- percentage: o.fromNullableDto(t.percentage),
35
+ percentage: s.fromNullableDto(t.percentage),
36
36
  type: t.type
37
37
  };
38
38
  }
@@ -40,12 +40,12 @@ var l = class {
40
40
  return t === null ? null : t.type === e.PERCENTAGE ? {
41
41
  amount: null,
42
42
  description: t.description,
43
- percentage: o.toNullableDto(t.percentage),
43
+ percentage: s.toNullableDto(t.percentage),
44
44
  type: t.type
45
45
  } : {
46
46
  amount: r.toNullableDto(t.amount),
47
47
  description: t.description,
48
- percentage: o.toNullableDto(t.percentage),
48
+ percentage: s.toNullableDto(t.percentage),
49
49
  type: t.type
50
50
  };
51
51
  }
@@ -188,7 +188,7 @@ function h(e) {
188
188
  unit: e.unit,
189
189
  unitPrice: r.fromDto(e.unitPrice),
190
190
  vatRate: e.vatRate,
191
- vatRatePercentage: o.fromDto(e.vatRatePercentage)
191
+ vatRatePercentage: s.fromDto(e.vatRatePercentage)
192
192
  };
193
193
  }
194
194
  function g(e) {
@@ -229,7 +229,7 @@ function y(e) {
229
229
  }) : null;
230
230
  }
231
231
  var b = class {
232
- static fromViewInvoiceDetailDto(e, t, o) {
232
+ static fromViewInvoiceDetailDto(e, t, s) {
233
233
  let l = e.ungroupedLines.map(h), p = e.groups.toSorted((e, t) => e.position - t.position).map(g), b = [...l, ...d.flattenLines(p)].toSorted((e, t) => e.position - t.position);
234
234
  return {
235
235
  uuid: t,
@@ -270,7 +270,7 @@ var b = class {
270
270
  customFields: e.customFields.map(m.fromDto),
271
271
  deliveryStatus: e.deliveryStatus,
272
272
  effectiveNet: r.fromDto(e.effectiveNet),
273
- externalRemarks: s.trimOrNull(e.externalRemarks),
273
+ externalRemarks: o.trimOrNull(e.externalRemarks),
274
274
  file: f.fromNullableDto(e.file),
275
275
  globalDiscount: u.fromDto(e.globalDiscount),
276
276
  grossAmount: r.fromDto(e.grossAmount),
@@ -287,14 +287,15 @@ var b = class {
287
287
  name: `${e.preparedBy.firstName ?? "-"} ${e.preparedBy.lastName ?? "-"}`
288
288
  },
289
289
  recipient: v(e.requiresPriorApproval ? e.approvalRecipient : e.billingDocumentRecipient),
290
+ reference: e.reference,
290
291
  rejectionFiles: e.rejectionFiles.map(f.fromDto),
291
292
  sequence: e.sequence,
292
293
  settlementStatus: e.settlementStatus,
293
294
  status: e.status,
294
- subject: s.trimOrNull(e.subject),
295
+ subject: o.trimOrNull(e.subject),
295
296
  totalCreditedAmount: y(e),
296
297
  totalDiscountAmount: r.fromNullableDto(e.totalDiscountAmount),
297
- type: o,
298
+ type: s,
298
299
  ungroupedLines: l,
299
300
  vatAmount: r.fromDto(e.vatAmount),
300
301
  vatSummaries: e.vatSummaries.map((e) => ({
@@ -1607,6 +1607,7 @@ export type DiscountDto = {
1607
1607
  };
1608
1608
  export declare enum UnitOfMeasurement {
1609
1609
  PIECE = "piece",
1610
+ MINUTE = "minute",
1610
1611
  HOUR = "hour",
1611
1612
  DAY = "day",
1612
1613
  KILOMETER = "kilometer",
@@ -5575,6 +5575,7 @@ export declare const zDiscountDto: z.ZodObject<{
5575
5575
  }, z.core.$strip>;
5576
5576
  export declare const zUnitOfMeasurement: z.ZodEnum<{
5577
5577
  piece: "piece";
5578
+ minute: "minute";
5578
5579
  hour: "hour";
5579
5580
  day: "day";
5580
5581
  kilometer: "kilometer";
@@ -6592,6 +6593,7 @@ export declare const zViewPublicInvoiceDetailLineResponse: z.ZodObject<{
6592
6593
  }, z.core.$strip>>;
6593
6594
  unit: z.ZodEnum<{
6594
6595
  piece: "piece";
6596
+ minute: "minute";
6595
6597
  hour: "hour";
6596
6598
  day: "day";
6597
6599
  kilometer: "kilometer";
@@ -7864,6 +7866,7 @@ export declare const zViewPublicInvoiceDetailGroupResponse: z.ZodObject<{
7864
7866
  }, z.core.$strip>>;
7865
7867
  unit: z.ZodEnum<{
7866
7868
  piece: "piece";
7869
+ minute: "minute";
7867
7870
  hour: "hour";
7868
7871
  day: "day";
7869
7872
  kilometer: "kilometer";
@@ -9666,6 +9669,7 @@ export declare const zViewPublicInvoiceDetailResponse: z.ZodObject<{
9666
9669
  }, z.core.$strip>>;
9667
9670
  unit: z.ZodEnum<{
9668
9671
  piece: "piece";
9672
+ minute: "minute";
9669
9673
  hour: "hour";
9670
9674
  day: "day";
9671
9675
  kilometer: "kilometer";
@@ -10938,6 +10942,7 @@ export declare const zViewPublicInvoiceDetailResponse: z.ZodObject<{
10938
10942
  }, z.core.$strip>>;
10939
10943
  unit: z.ZodEnum<{
10940
10944
  piece: "piece";
10945
+ minute: "minute";
10941
10946
  hour: "hour";
10942
10947
  day: "day";
10943
10948
  kilometer: "kilometer";
@@ -13282,6 +13287,7 @@ export declare const zInvoiceLineCommand: z.ZodObject<{
13282
13287
  }, z.core.$strip>>;
13283
13288
  unit: z.ZodEnum<{
13284
13289
  piece: "piece";
13290
+ minute: "minute";
13285
13291
  hour: "hour";
13286
13292
  day: "day";
13287
13293
  kilometer: "kilometer";
@@ -13936,6 +13942,7 @@ export declare const zUpdateInvoiceLinesGroupCommand: z.ZodObject<{
13936
13942
  }, z.core.$strip>>;
13937
13943
  unit: z.ZodEnum<{
13938
13944
  piece: "piece";
13945
+ minute: "minute";
13939
13946
  hour: "hour";
13940
13947
  day: "day";
13941
13948
  kilometer: "kilometer";
@@ -14841,6 +14848,7 @@ export declare const zUpdateInvoiceLinesCommand: z.ZodObject<{
14841
14848
  }, z.core.$strip>>;
14842
14849
  unit: z.ZodEnum<{
14843
14850
  piece: "piece";
14851
+ minute: "minute";
14844
14852
  hour: "hour";
14845
14853
  day: "day";
14846
14854
  kilometer: "kilometer";
@@ -15740,6 +15748,7 @@ export declare const zUpdateInvoiceLinesCommand: z.ZodObject<{
15740
15748
  }, z.core.$strip>>;
15741
15749
  unit: z.ZodEnum<{
15742
15750
  piece: "piece";
15751
+ minute: "minute";
15743
15752
  hour: "hour";
15744
15753
  day: "day";
15745
15754
  kilometer: "kilometer";
@@ -16670,6 +16679,7 @@ export declare const zCreateInvoiceCommand: z.ZodObject<{
16670
16679
  }, z.core.$strip>>;
16671
16680
  unit: z.ZodEnum<{
16672
16681
  piece: "piece";
16682
+ minute: "minute";
16673
16683
  hour: "hour";
16674
16684
  day: "day";
16675
16685
  kilometer: "kilometer";
@@ -17569,6 +17579,7 @@ export declare const zCreateInvoiceCommand: z.ZodObject<{
17569
17579
  }, z.core.$strip>>;
17570
17580
  unit: z.ZodEnum<{
17571
17581
  piece: "piece";
17582
+ minute: "minute";
17572
17583
  hour: "hour";
17573
17584
  day: "day";
17574
17585
  kilometer: "kilometer";
@@ -18919,6 +18930,7 @@ export declare const zViewInvoiceDetailLineResponse: z.ZodObject<{
18919
18930
  }, z.core.$strip>>;
18920
18931
  unit: z.ZodEnum<{
18921
18932
  piece: "piece";
18933
+ minute: "minute";
18922
18934
  hour: "hour";
18923
18935
  day: "day";
18924
18936
  kilometer: "kilometer";
@@ -20198,6 +20210,7 @@ export declare const zViewInvoiceDetailGroupResponse: z.ZodObject<{
20198
20210
  }, z.core.$strip>>;
20199
20211
  unit: z.ZodEnum<{
20200
20212
  piece: "piece";
20213
+ minute: "minute";
20201
20214
  hour: "hour";
20202
20215
  day: "day";
20203
20216
  kilometer: "kilometer";
@@ -23053,6 +23066,7 @@ export declare const zViewInvoiceDetailResponse: z.ZodObject<{
23053
23066
  }, z.core.$strip>>;
23054
23067
  unit: z.ZodEnum<{
23055
23068
  piece: "piece";
23069
+ minute: "minute";
23056
23070
  hour: "hour";
23057
23071
  day: "day";
23058
23072
  kilometer: "kilometer";
@@ -24332,6 +24346,7 @@ export declare const zViewInvoiceDetailResponse: z.ZodObject<{
24332
24346
  }, z.core.$strip>>;
24333
24347
  unit: z.ZodEnum<{
24334
24348
  piece: "piece";
24349
+ minute: "minute";
24335
24350
  hour: "hour";
24336
24351
  day: "day";
24337
24352
  kilometer: "kilometer";
@@ -33216,6 +33231,7 @@ export declare const zCreditNoteInvoiceLineCommand: z.ZodObject<{
33216
33231
  }, z.core.$strip>>;
33217
33232
  unit: z.ZodEnum<{
33218
33233
  piece: "piece";
33234
+ minute: "minute";
33219
33235
  hour: "hour";
33220
33236
  day: "day";
33221
33237
  kilometer: "kilometer";
@@ -33870,6 +33886,7 @@ export declare const zUpdateCreditNoteInvoiceLinesGroupCommand: z.ZodObject<{
33870
33886
  }, z.core.$strip>>;
33871
33887
  unit: z.ZodEnum<{
33872
33888
  piece: "piece";
33889
+ minute: "minute";
33873
33890
  hour: "hour";
33874
33891
  day: "day";
33875
33892
  kilometer: "kilometer";
@@ -34775,6 +34792,7 @@ export declare const zUpdateCreditNoteInvoiceLinesCommand: z.ZodObject<{
34775
34792
  }, z.core.$strip>>;
34776
34793
  unit: z.ZodEnum<{
34777
34794
  piece: "piece";
34795
+ minute: "minute";
34778
34796
  hour: "hour";
34779
34797
  day: "day";
34780
34798
  kilometer: "kilometer";
@@ -35674,6 +35692,7 @@ export declare const zUpdateCreditNoteInvoiceLinesCommand: z.ZodObject<{
35674
35692
  }, z.core.$strip>>;
35675
35693
  unit: z.ZodEnum<{
35676
35694
  piece: "piece";
35695
+ minute: "minute";
35677
35696
  hour: "hour";
35678
35697
  day: "day";
35679
35698
  kilometer: "kilometer";
@@ -50529,6 +50548,7 @@ export declare const zViewPublicProFormaDetailLineResponse: z.ZodObject<{
50529
50548
  }, z.core.$strip>>;
50530
50549
  unit: z.ZodEnum<{
50531
50550
  piece: "piece";
50551
+ minute: "minute";
50532
50552
  hour: "hour";
50533
50553
  day: "day";
50534
50554
  kilometer: "kilometer";
@@ -51801,6 +51821,7 @@ export declare const zViewPublicProFormaDetailGroupResponse: z.ZodObject<{
51801
51821
  }, z.core.$strip>>;
51802
51822
  unit: z.ZodEnum<{
51803
51823
  piece: "piece";
51824
+ minute: "minute";
51804
51825
  hour: "hour";
51805
51826
  day: "day";
51806
51827
  kilometer: "kilometer";
@@ -53505,6 +53526,7 @@ export declare const zViewPublicProFormaDetailResponse: z.ZodObject<{
53505
53526
  }, z.core.$strip>>;
53506
53527
  unit: z.ZodEnum<{
53507
53528
  piece: "piece";
53529
+ minute: "minute";
53508
53530
  hour: "hour";
53509
53531
  day: "day";
53510
53532
  kilometer: "kilometer";
@@ -54777,6 +54799,7 @@ export declare const zViewPublicProFormaDetailResponse: z.ZodObject<{
54777
54799
  }, z.core.$strip>>;
54778
54800
  unit: z.ZodEnum<{
54779
54801
  piece: "piece";
54802
+ minute: "minute";
54780
54803
  hour: "hour";
54781
54804
  day: "day";
54782
54805
  kilometer: "kilometer";
@@ -61448,6 +61471,7 @@ export declare const zViewPublicInvoiceDetailV1Response: z.ZodObject<{
61448
61471
  }, z.core.$strip>>;
61449
61472
  unit: z.ZodEnum<{
61450
61473
  piece: "piece";
61474
+ minute: "minute";
61451
61475
  hour: "hour";
61452
61476
  day: "day";
61453
61477
  kilometer: "kilometer";
@@ -62720,6 +62744,7 @@ export declare const zViewPublicInvoiceDetailV1Response: z.ZodObject<{
62720
62744
  }, z.core.$strip>>;
62721
62745
  unit: z.ZodEnum<{
62722
62746
  piece: "piece";
62747
+ minute: "minute";
62723
62748
  hour: "hour";
62724
62749
  day: "day";
62725
62750
  kilometer: "kilometer";
@@ -66855,6 +66880,7 @@ export declare const zCreateInvoiceV1Body: z.ZodObject<{
66855
66880
  }, z.core.$strip>>;
66856
66881
  unit: z.ZodEnum<{
66857
66882
  piece: "piece";
66883
+ minute: "minute";
66858
66884
  hour: "hour";
66859
66885
  day: "day";
66860
66886
  kilometer: "kilometer";
@@ -67754,6 +67780,7 @@ export declare const zCreateInvoiceV1Body: z.ZodObject<{
67754
67780
  }, z.core.$strip>>;
67755
67781
  unit: z.ZodEnum<{
67756
67782
  piece: "piece";
67783
+ minute: "minute";
67757
67784
  hour: "hour";
67758
67785
  day: "day";
67759
67786
  kilometer: "kilometer";
@@ -69397,6 +69424,7 @@ export declare const zViewInvoiceDetailV1Response: z.ZodObject<{
69397
69424
  }, z.core.$strip>>;
69398
69425
  unit: z.ZodEnum<{
69399
69426
  piece: "piece";
69427
+ minute: "minute";
69400
69428
  hour: "hour";
69401
69429
  day: "day";
69402
69430
  kilometer: "kilometer";
@@ -70676,6 +70704,7 @@ export declare const zViewInvoiceDetailV1Response: z.ZodObject<{
70676
70704
  }, z.core.$strip>>;
70677
70705
  unit: z.ZodEnum<{
70678
70706
  piece: "piece";
70707
+ minute: "minute";
70679
70708
  hour: "hour";
70680
70709
  day: "day";
70681
70710
  kilometer: "kilometer";
@@ -75858,6 +75887,7 @@ export declare const zUpdateInvoiceLinesV1Body: z.ZodObject<{
75858
75887
  }, z.core.$strip>>;
75859
75888
  unit: z.ZodEnum<{
75860
75889
  piece: "piece";
75890
+ minute: "minute";
75861
75891
  hour: "hour";
75862
75892
  day: "day";
75863
75893
  kilometer: "kilometer";
@@ -76757,6 +76787,7 @@ export declare const zUpdateInvoiceLinesV1Body: z.ZodObject<{
76757
76787
  }, z.core.$strip>>;
76758
76788
  unit: z.ZodEnum<{
76759
76789
  piece: "piece";
76790
+ minute: "minute";
76760
76791
  hour: "hour";
76761
76792
  day: "day";
76762
76793
  kilometer: "kilometer";
@@ -77832,6 +77863,7 @@ export declare const zUpdateCreditNoteInvoiceLinesV1Body: z.ZodObject<{
77832
77863
  }, z.core.$strip>>;
77833
77864
  unit: z.ZodEnum<{
77834
77865
  piece: "piece";
77866
+ minute: "minute";
77835
77867
  hour: "hour";
77836
77868
  day: "day";
77837
77869
  kilometer: "kilometer";
@@ -78731,6 +78763,7 @@ export declare const zUpdateCreditNoteInvoiceLinesV1Body: z.ZodObject<{
78731
78763
  }, z.core.$strip>>;
78732
78764
  unit: z.ZodEnum<{
78733
78765
  piece: "piece";
78766
+ minute: "minute";
78734
78767
  hour: "hour";
78735
78768
  day: "day";
78736
78769
  kilometer: "kilometer";
@@ -88627,6 +88660,7 @@ export declare const zViewPublicProFormaDetailV1Response: z.ZodObject<{
88627
88660
  }, z.core.$strip>>;
88628
88661
  unit: z.ZodEnum<{
88629
88662
  piece: "piece";
88663
+ minute: "minute";
88630
88664
  hour: "hour";
88631
88665
  day: "day";
88632
88666
  kilometer: "kilometer";
@@ -89899,6 +89933,7 @@ export declare const zViewPublicProFormaDetailV1Response: z.ZodObject<{
89899
89933
  }, z.core.$strip>>;
89900
89934
  unit: z.ZodEnum<{
89901
89935
  piece: "piece";
89936
+ minute: "minute";
89902
89937
  hour: "hour";
89903
89938
  day: "day";
89904
89939
  kilometer: "kilometer";
@@ -1,7 +1,7 @@
1
- import { $ as e, D as t, G as n, K as r, _ as i, f as a, lt as o, t as s, w as c, x as l } from "./api.util-BMza-ojm.js";
2
- import { C as u, r as d } from "./documentTitle.composable-QdSLs6eT.js";
1
+ import { $ as e, D as t, G as n, K as r, _ as i, f as a, lt as o, t as s, w as c, x as l } from "./api.util-sW4gNny-.js";
2
+ import { C as u, r as d } from "./documentTitle.composable-Dl8Cm3v3.js";
3
3
  import { n as f, t as p } from "./plainDate.transformer-Bhiz9jW7.js";
4
- import { a as m, n as h, o as g, t as _ } from "./billingDocumentDetail.transformer-D8lwLPds.js";
4
+ import { a as m, n as h, o as g, t as _ } from "./billingDocumentDetail.transformer-Ifa6tWtE.js";
5
5
  import { t as v } from "./dist-CwkVU5yS.js";
6
6
  import { useQuery as y } from "@wisemen/vue-core-api-utils";
7
7
  //#region src/modules/credit-note/models/detail/creditNoteDetail.transformer.ts
@@ -15,6 +15,7 @@ var b = class {
15
15
  issuedOn: p.toDto(e.issuedOn),
16
16
  externalRemarks: v.trimOrNull(e.externalRemarks),
17
17
  poNumber: v.trimOrNull(e.poNumber),
18
+ reference: v.trimOrNull(e.reference),
18
19
  subject: v.trimOrNull(e.subject)
19
20
  };
20
21
  }
@@ -23,6 +24,7 @@ var b = class {
23
24
  issuedOn: e.issueOn,
24
25
  externalRemarks: e.externalRemarks ?? "",
25
26
  poNumber: e.poNumber ?? "",
27
+ reference: e.reference ?? "",
26
28
  subject: e.subject ?? ""
27
29
  };
28
30
  }