@flowselections/layout-maker 1.29.0 → 1.31.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/dist-lib/integrations/supabase/auth-middleware.d.ts +49 -0
- package/dist-lib/integrations/supabase/auth-middleware.d.ts.map +1 -1
- package/dist-lib/integrations/supabase/client.server.d.ts +49 -0
- package/dist-lib/integrations/supabase/client.server.d.ts.map +1 -1
- package/dist-lib/integrations/supabase/types.d.ts +49 -0
- package/dist-lib/integrations/supabase/types.d.ts.map +1 -1
- package/dist-lib/lib/aiLayout.functions.d.ts +49 -0
- package/dist-lib/lib/aiLayout.functions.d.ts.map +1 -1
- package/dist-lib/lib/htmlPdf.server.d.ts.map +1 -1
- package/dist-lib/lib/htmlPdf.server.js +68 -24
- package/dist-lib/lib/pakbonHtml.d.ts.map +1 -1
- package/dist-lib/lib/pakbonHtml.js +11 -3
- package/dist-lib/lib/printService.functions.d.ts +196 -0
- package/dist-lib/lib/printService.functions.d.ts.map +1 -1
- package/dist-lib/lib/useDocumentData.d.ts.map +1 -1
- package/dist-lib/lib/useDocumentData.js +16 -2
- package/package.json +1 -1
|
@@ -258,7 +258,9 @@ function stijlVan(n, ouder) {
|
|
|
258
258
|
const cl = klassen(n);
|
|
259
259
|
if (n.tag === "th" || cl.includes("vet") || n.tag === "b" || n.tag === "strong")
|
|
260
260
|
s.vet = true;
|
|
261
|
-
|
|
261
|
+
// De stylesheet is leidend voor .sectitel; alleen zonder opmaakregels valt de
|
|
262
|
+
// motor terug op de bekende grijze kop.
|
|
263
|
+
if (cl.includes("sectitel") && !Object.keys(eig(n)).length) {
|
|
262
264
|
s.grootte = ouder.grootte * 0.9;
|
|
263
265
|
s.vet = true;
|
|
264
266
|
s.kleur = GRIJS;
|
|
@@ -335,6 +337,8 @@ class Tekenaar {
|
|
|
335
337
|
this.paginas = [];
|
|
336
338
|
this.voetHoogte = 0;
|
|
337
339
|
this.voetTekenaar = null;
|
|
340
|
+
/** Zolang dit aanstaat komt er geen nieuwe pagina bij (voet tekenen). */
|
|
341
|
+
this.vast = false;
|
|
338
342
|
this.pagina = pdf.addPage([breedte, hoogte]);
|
|
339
343
|
this.paginas.push(this.pagina);
|
|
340
344
|
this.y = hoogte - marge;
|
|
@@ -356,6 +360,8 @@ class Tekenaar {
|
|
|
356
360
|
this.voetTekenaar = teken;
|
|
357
361
|
}
|
|
358
362
|
nieuwePagina() {
|
|
363
|
+
if (this.vast)
|
|
364
|
+
return;
|
|
359
365
|
this.pagina = this.pdf.addPage([this.breedte, this.hoogte]);
|
|
360
366
|
this.paginas.push(this.pagina);
|
|
361
367
|
this.y = this.hoogte - this.marge;
|
|
@@ -392,6 +398,26 @@ class Tekenaar {
|
|
|
392
398
|
this.voetHoogte = bewaard.voet;
|
|
393
399
|
return hoogte;
|
|
394
400
|
}
|
|
401
|
+
/** Tekent iets op een bestaande pagina, bijvoorbeeld de vaste voet. */
|
|
402
|
+
async opPagina(p, y, teken) {
|
|
403
|
+
const bewaard = { pagina: this.pagina, y: this.y, paginas: this.paginas, voet: this.voetHoogte };
|
|
404
|
+
this.pagina = p;
|
|
405
|
+
this.y = y;
|
|
406
|
+
this.paginas = [p];
|
|
407
|
+
this.voetHoogte = 0;
|
|
408
|
+
this.vast = true;
|
|
409
|
+
try {
|
|
410
|
+
await teken();
|
|
411
|
+
}
|
|
412
|
+
catch {
|
|
413
|
+
// een voet mag het document nooit blokkeren
|
|
414
|
+
}
|
|
415
|
+
this.pagina = bewaard.pagina;
|
|
416
|
+
this.y = bewaard.y;
|
|
417
|
+
this.paginas = bewaard.paginas;
|
|
418
|
+
this.voetHoogte = bewaard.voet;
|
|
419
|
+
this.vast = false;
|
|
420
|
+
}
|
|
395
421
|
rondAf() {
|
|
396
422
|
if (!this.voetTekenaar)
|
|
397
423
|
return;
|
|
@@ -735,6 +761,13 @@ async function tekenTabel(ctx, tabel, vak, s) {
|
|
|
735
761
|
const padX = compact ? 0.8 * MM : 1 * MM;
|
|
736
762
|
const randen = heeft(tabel, "rand");
|
|
737
763
|
const kopRij = rijen.find((r) => r.kinderen.some((c) => c.tag === "th")) ?? null;
|
|
764
|
+
/** Celrand onderaan: uit de stylesheet, met de klasse `onder` als terugval. */
|
|
765
|
+
const celRandOnder = (c) => randVan(eig(c)["border-bottom"]) ??
|
|
766
|
+
randVan(eig(c)["border"]) ??
|
|
767
|
+
(klassen(c).includes("onder") || klassen(c).includes("rand") ? { dikte: 0.5, kleur: LIJN } : null);
|
|
768
|
+
// Zodra de cellen zelf randen dragen, is de automatische lijn onder de koprij
|
|
769
|
+
// dubbelop en landt hij op de verkeerde regel.
|
|
770
|
+
const eigenCelRanden = rijen.some((r) => r.kinderen.some((c) => (c.tag === "td" || c.tag === "th") && !!celRandOnder(c)));
|
|
738
771
|
const tekenRij = (rij, herhaald = false) => {
|
|
739
772
|
const cellen = rij.kinderen.filter((c) => c.tag === "td" || c.tag === "th");
|
|
740
773
|
const cellenStijl = cellen.map((c) => stijlVan(c, s));
|
|
@@ -775,14 +808,28 @@ async function tekenTabel(ctx, tabel, vak, s) {
|
|
|
775
808
|
borderColor: LIJN,
|
|
776
809
|
});
|
|
777
810
|
}
|
|
811
|
+
else {
|
|
812
|
+
const cr = celRandOnder(c);
|
|
813
|
+
if (cr) {
|
|
814
|
+
tk.pagina.drawLine({
|
|
815
|
+
start: { x, y: bovenY - hoogte },
|
|
816
|
+
end: { x: x + b, y: bovenY - hoogte },
|
|
817
|
+
thickness: cr.dikte,
|
|
818
|
+
color: cr.kleur,
|
|
819
|
+
});
|
|
820
|
+
}
|
|
821
|
+
}
|
|
778
822
|
x += b;
|
|
779
823
|
});
|
|
780
|
-
|
|
824
|
+
const rijRand = randVan(eig(rij)["border-bottom"]) ?? (heeft(rij, "onder") ? { dikte: 0.5, kleur: LIJN } : null);
|
|
825
|
+
const automatisch = !eigenCelRanden && rij === kopRij ? { dikte: 0.5, kleur: LIJN } : null;
|
|
826
|
+
const lijn = !randen ? (rijRand ?? automatisch) : null;
|
|
827
|
+
if (lijn) {
|
|
781
828
|
tk.pagina.drawLine({
|
|
782
829
|
start: { x: vak.x, y: bovenY - hoogte },
|
|
783
830
|
end: { x: vak.x + vak.breedte, y: bovenY - hoogte },
|
|
784
|
-
thickness:
|
|
785
|
-
color:
|
|
831
|
+
thickness: lijn.dikte,
|
|
832
|
+
color: lijn.kleur,
|
|
786
833
|
});
|
|
787
834
|
}
|
|
788
835
|
tk.y = bovenY - hoogte;
|
|
@@ -1130,32 +1177,29 @@ export async function htmlNaarPdfBytes(opties) {
|
|
|
1130
1177
|
const tk = new Tekenaar(pdf, breedte, hoogte, marge, normaal, vet);
|
|
1131
1178
|
const ctx = { tk, afbeeldingen, beeldFouten };
|
|
1132
1179
|
const stijl = { grootte: basis, vet: false, kleur: DONKER, uitlijning: "left" };
|
|
1133
|
-
// vaste paginavoet (bijv. totalen op elke pagina)
|
|
1180
|
+
// vaste paginavoet (bijv. totalen op elke pagina) — als volwaardig blok
|
|
1181
|
+
const voetVak = { x: marge, breedte: breedte - marge * 2 };
|
|
1134
1182
|
const voetKnoop = zoekVoet(wortel);
|
|
1135
|
-
|
|
1183
|
+
const voetOuder = voetKnoop
|
|
1184
|
+
? { tag: "div", attrs: {}, kinderen: [voetKnoop] }
|
|
1185
|
+
: null;
|
|
1186
|
+
let voetHoogte = 0;
|
|
1187
|
+
if (voetOuder) {
|
|
1136
1188
|
verwijder(wortel, voetKnoop);
|
|
1137
|
-
tk.
|
|
1189
|
+
voetHoogte = await tk.meet(() => tekenKinderen(ctx, voetOuder, voetVak, stijl));
|
|
1190
|
+
tk.zetVoet(voetHoogte + 2 * MM, () => { });
|
|
1138
1191
|
}
|
|
1139
1192
|
await tekenKinderen(ctx, wortel, { x: marge, breedte: breedte - marge * 2 }, stijl);
|
|
1140
|
-
if (
|
|
1141
|
-
const
|
|
1142
|
-
|
|
1143
|
-
p.drawLine({
|
|
1144
|
-
start: { x: marge, y: marge + regelHoogte(stijl) + 1.5 * MM },
|
|
1145
|
-
end: { x: breedte - marge, y: marge + regelHoogte(stijl) + 1.5 * MM },
|
|
1146
|
-
thickness: 0.6,
|
|
1147
|
-
color: LIJN,
|
|
1148
|
-
});
|
|
1149
|
-
p.drawText(veiligeTekst(tekst).slice(0, 300), {
|
|
1150
|
-
x: marge,
|
|
1151
|
-
y: marge + 2,
|
|
1152
|
-
size: stijl.grootte,
|
|
1153
|
-
font: normaal,
|
|
1154
|
-
color: DONKER,
|
|
1155
|
-
});
|
|
1193
|
+
if (voetOuder) {
|
|
1194
|
+
for (const p of [...tk.paginas]) {
|
|
1195
|
+
await tk.opPagina(p, marge + voetHoogte + 1 * MM, () => tekenKinderen(ctx, voetOuder, voetVak, stijl));
|
|
1156
1196
|
}
|
|
1157
1197
|
}
|
|
1158
|
-
|
|
1198
|
+
// De layout bepaalt of paginanummers meegaan; zonder voorkeur alleen bij
|
|
1199
|
+
// meerdere pagina's.
|
|
1200
|
+
const uitMeta = /name=["']pdf-paginanummers["']\s+content=["']ja["']/i.test(opties.html);
|
|
1201
|
+
const nummers = opties.paginanummers ?? (uitMeta ? true : tk.paginas.length > 1);
|
|
1202
|
+
if (nummers) {
|
|
1159
1203
|
tk.paginas.forEach((p, i) => {
|
|
1160
1204
|
const t = `Pagina ${i + 1} van ${tk.paginas.length}`;
|
|
1161
1205
|
p.drawText(t, {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"pakbonHtml.d.ts","sourceRoot":"","sources":["../../src/lib/pakbonHtml.ts"],"names":[],"mappings":"AAUA,OAAO,EAmBL,KAAK,SAAS,EAEd,KAAK,YAAY,EAGlB,MAAM,iBAAiB,CAAC;AAGzB,8EAA8E;AAC9E,MAAM,MAAM,WAAW,GAAG,SAAS,CAAC;AAEpC,MAAM,WAAW,UAAU;IACzB,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,kDAAkD;IAClD,OAAO,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;CACzB;AAED,MAAM,WAAW,kBAAkB;IACjC,iDAAiD;IACjD,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,0BAA0B;IAC1B,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,oEAAoE;IACpE,KAAK,CAAC,EAAE,UAAU,EAAE,CAAC;IACrB,wEAAwE;IACxE,MAAM,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;CACxB;AAWD,wBAAgB,GAAG,CAAC,CAAC,EAAE,OAAO,GAAG,MAAM,CAKtC;AAQD;;;;GAIG;AACH,wBAAgB,eAAe,CAAC,KAAK,EAAE,OAAO,GAAG,WAAW,CAgE3D;
|
|
1
|
+
{"version":3,"file":"pakbonHtml.d.ts","sourceRoot":"","sources":["../../src/lib/pakbonHtml.ts"],"names":[],"mappings":"AAUA,OAAO,EAmBL,KAAK,SAAS,EAEd,KAAK,YAAY,EAGlB,MAAM,iBAAiB,CAAC;AAGzB,8EAA8E;AAC9E,MAAM,MAAM,WAAW,GAAG,SAAS,CAAC;AAEpC,MAAM,WAAW,UAAU;IACzB,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,kDAAkD;IAClD,OAAO,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;CACzB;AAED,MAAM,WAAW,kBAAkB;IACjC,iDAAiD;IACjD,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,0BAA0B;IAC1B,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,oEAAoE;IACpE,KAAK,CAAC,EAAE,UAAU,EAAE,CAAC;IACrB,wEAAwE;IACxE,MAAM,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;CACxB;AAWD,wBAAgB,GAAG,CAAC,CAAC,EAAE,OAAO,GAAG,MAAM,CAKtC;AAQD;;;;GAIG;AACH,wBAAgB,eAAe,CAAC,KAAK,EAAE,OAAO,GAAG,WAAW,CAgE3D;AA8oBD,oEAAoE;AACpE,wBAAgB,gBAAgB,CAC9B,MAAM,EAAE,YAAY,GAAG,OAAO,EAC9B,KAAK,EAAE,WAAW,EAClB,MAAM,GAAE,kBAAuB,GAC9B,MAAM,CA8BR;AAgBD,gEAAgE;AAChE,wBAAgB,oBAAoB,CAClC,MAAM,EAAE,YAAY,GAAG,OAAO,EAC9B,KAAK,EAAE,WAAW,EAClB,MAAM,GAAE,kBAAuB,GAC9B,MAAM,CAmER;AAED,iEAAiE;AACjE,wBAAgB,oBAAoB,IAAI,WAAW,CAElD;AAED;;;;;GAKG;AACH,wBAAgB,WAAW,CACzB,MAAM,EAAE,YAAY,GAAG,OAAO,EAC9B,KAAK,EAAE,WAAW,EAClB,MAAM,GAAE,kBAAuB,GAC9B,IAAI,CAsCN;AAED;;;;;GAKG;AACH,wBAAsB,mBAAmB,CACvC,MAAM,EAAE,YAAY,GAAG,OAAO,EAC9B,KAAK,EAAE,WAAW,EAClB,MAAM,GAAE,kBAAuB,GAC9B,OAAO,CAAC,IAAI,CAAC,CAUf"}
|
|
@@ -421,13 +421,13 @@ function fustVerzamellijstHtml(order, s) {
|
|
|
421
421
|
const totaal = groepen.reduce((n, f) => n + f.aantal, 0);
|
|
422
422
|
const blokken = groepen
|
|
423
423
|
.map((f) => {
|
|
424
|
-
const kop = `<div class="
|
|
424
|
+
const kop = `<div class="fustgroepkop"><span>${esc([f.fusttype, toonHoogte ? f.hoogte : "", toonHoogte ? f.belading : ""]
|
|
425
425
|
.filter(Boolean)
|
|
426
426
|
.join(" · "))}</span><span>${f.aantal}× fust</span></div>`;
|
|
427
427
|
if (!kolommen.length)
|
|
428
428
|
return kop;
|
|
429
429
|
const koppen = kolommen
|
|
430
|
-
.map((k) => `<th
|
|
430
|
+
.map((k) => `<th${FUST_RECHTS.has(k) ? ' style="text-align:right"' : ""}>${esc(FUST_KOLOM_LABELS[k])}</th>`)
|
|
431
431
|
.join("");
|
|
432
432
|
const rijen = f.producten
|
|
433
433
|
.map((pr) => `<tr>${kolommen
|
|
@@ -643,8 +643,14 @@ export function renderPakbonDocument(config, order, opties = {}) {
|
|
|
643
643
|
const font = opties.lettertype ?? 'Arial, Helvetica, "Segoe UI", sans-serif';
|
|
644
644
|
const grootte = opties.lettergrootte ?? 8.5;
|
|
645
645
|
const body = renderPakbonBody(config, order, opties);
|
|
646
|
+
// De layout bepaalt of er paginanummers op de afdruk komen; de PDF-motor
|
|
647
|
+
// leest dit uit de meta, zodat de wachtrij niets extra hoeft door te geven.
|
|
648
|
+
const totalen = arr(leesPakbonConfig(config).secties).find((s) => s.type === "totalen");
|
|
649
|
+
const paginanummers = !!totalen && opt(totalen, "toon_paginanummer", false) === true;
|
|
646
650
|
return `<!doctype html><html lang="nl"><head><meta charset="utf-8" />
|
|
651
|
+
<meta name="pdf-paginanummers" content="${paginanummers ? "ja" : "nee"}" />
|
|
647
652
|
<title>${esc(opties.titel ?? "Pakbon")}</title>
|
|
653
|
+
|
|
648
654
|
<style>
|
|
649
655
|
@page { size: ${b}mm ${h}mm; margin: ${marge}mm; }
|
|
650
656
|
* { box-sizing: border-box; }
|
|
@@ -652,6 +658,8 @@ html, body { margin: 0; padding: 0; }
|
|
|
652
658
|
body { font-family: ${font}; font-size: ${grootte}pt; color: #111827; line-height: 1.35; }
|
|
653
659
|
.blok { margin-bottom: 2mm; }
|
|
654
660
|
.sectitel { font-size: 90%; font-weight: 600; text-transform: uppercase; color: #6b7280; margin-bottom: 0.6mm; }
|
|
661
|
+
.fustgroepkop { display: flex; justify-content: space-between; font-weight: 600; color: #111827; border-bottom: 0.45mm solid #111827; padding-bottom: 0.5mm; margin-bottom: 0.6mm; }
|
|
662
|
+
|
|
655
663
|
.vet { font-weight: 600; }
|
|
656
664
|
.kv { display: flex; justify-content: space-between; gap: 3mm; }
|
|
657
665
|
.kv .k { color: #6b7280; }
|
|
@@ -680,7 +688,7 @@ tr.zebra td { background: #f3f4f6; }
|
|
|
680
688
|
.laagkop.compact { border-bottom: none; }
|
|
681
689
|
.meta { display: flex; gap: 3mm; font-size: 88%; font-weight: 400; color: #4b5563; }
|
|
682
690
|
.totalen { display: flex; flex-wrap: wrap; gap: 5mm; border-top: 0.25mm solid #d1d5db; padding-top: 1.2mm; font-weight: 500; }
|
|
683
|
-
.paginavoet { position: fixed; bottom: 0; left: 0; right: 0; background: #fff; }
|
|
691
|
+
.paginavoet { position: fixed; bottom: 0; left: 0; right: 0; background: #fff; border-top: 0.35mm solid #9ca3af; padding-top: 1mm; }
|
|
684
692
|
.handtekening { margin-top: 3mm; }
|
|
685
693
|
.lijnveld { margin-top: 4mm; border-bottom: 0.25mm solid #6b7280; padding-bottom: 3mm; }
|
|
686
694
|
.lijnveld.hoog { padding-bottom: 10mm; }
|
|
@@ -13576,6 +13576,39 @@ export declare const netwerkPrinters: import("@tanstack/start-client-core").Opti
|
|
|
13576
13576
|
};
|
|
13577
13577
|
Relationships: [];
|
|
13578
13578
|
};
|
|
13579
|
+
print_dedupe_events: {
|
|
13580
|
+
Row: {
|
|
13581
|
+
bestaande_job_id: string | null;
|
|
13582
|
+
created_at: string;
|
|
13583
|
+
detail: string | null;
|
|
13584
|
+
documentnaam: string | null;
|
|
13585
|
+
documenttype: string | null;
|
|
13586
|
+
id: string;
|
|
13587
|
+
idempotentie_sleutel: string;
|
|
13588
|
+
reden: string;
|
|
13589
|
+
};
|
|
13590
|
+
Insert: {
|
|
13591
|
+
bestaande_job_id?: string | null;
|
|
13592
|
+
created_at?: string;
|
|
13593
|
+
detail?: string | null;
|
|
13594
|
+
documentnaam?: string | null;
|
|
13595
|
+
documenttype?: string | null;
|
|
13596
|
+
id?: string;
|
|
13597
|
+
idempotentie_sleutel: string;
|
|
13598
|
+
reden: string;
|
|
13599
|
+
};
|
|
13600
|
+
Update: {
|
|
13601
|
+
bestaande_job_id?: string | null;
|
|
13602
|
+
created_at?: string;
|
|
13603
|
+
detail?: string | null;
|
|
13604
|
+
documentnaam?: string | null;
|
|
13605
|
+
documenttype?: string | null;
|
|
13606
|
+
id?: string;
|
|
13607
|
+
idempotentie_sleutel?: string;
|
|
13608
|
+
reden?: string;
|
|
13609
|
+
};
|
|
13610
|
+
Relationships: [];
|
|
13611
|
+
};
|
|
13579
13612
|
print_job_logs: {
|
|
13580
13613
|
Row: {
|
|
13581
13614
|
created_at: string;
|
|
@@ -22317,6 +22350,14 @@ export declare const netwerkPrinters: import("@tanstack/start-client-core").Opti
|
|
|
22317
22350
|
_session_id?: string;
|
|
22318
22351
|
};
|
|
22319
22352
|
Returns: string;
|
|
22353
|
+
} | {
|
|
22354
|
+
Args: {
|
|
22355
|
+
_is_herprint?: boolean;
|
|
22356
|
+
_printer_id?: string;
|
|
22357
|
+
_queue_item_id: string;
|
|
22358
|
+
_session_id?: string;
|
|
22359
|
+
};
|
|
22360
|
+
Returns: string;
|
|
22320
22361
|
};
|
|
22321
22362
|
pick_order_context: {
|
|
22322
22363
|
Args: {
|
|
@@ -22619,6 +22660,14 @@ export declare const netwerkPrinters: import("@tanstack/start-client-core").Opti
|
|
|
22619
22660
|
};
|
|
22620
22661
|
Returns: undefined;
|
|
22621
22662
|
};
|
|
22663
|
+
replace_order_carts: {
|
|
22664
|
+
Args: {
|
|
22665
|
+
p_buffer_id: string;
|
|
22666
|
+
p_carts: import("../integrations/supabase/types.js").Json;
|
|
22667
|
+
p_order_id: string;
|
|
22668
|
+
};
|
|
22669
|
+
Returns: import("../integrations/supabase/types.js").Json;
|
|
22670
|
+
};
|
|
22622
22671
|
reset_floriday_sync_cursor: {
|
|
22623
22672
|
Args: {
|
|
22624
22673
|
p_connection_id: string;
|
|
@@ -36830,6 +36879,39 @@ export declare const verstuurPrintOpdracht: import("@tanstack/start-client-core"
|
|
|
36830
36879
|
};
|
|
36831
36880
|
Relationships: [];
|
|
36832
36881
|
};
|
|
36882
|
+
print_dedupe_events: {
|
|
36883
|
+
Row: {
|
|
36884
|
+
bestaande_job_id: string | null;
|
|
36885
|
+
created_at: string;
|
|
36886
|
+
detail: string | null;
|
|
36887
|
+
documentnaam: string | null;
|
|
36888
|
+
documenttype: string | null;
|
|
36889
|
+
id: string;
|
|
36890
|
+
idempotentie_sleutel: string;
|
|
36891
|
+
reden: string;
|
|
36892
|
+
};
|
|
36893
|
+
Insert: {
|
|
36894
|
+
bestaande_job_id?: string | null;
|
|
36895
|
+
created_at?: string;
|
|
36896
|
+
detail?: string | null;
|
|
36897
|
+
documentnaam?: string | null;
|
|
36898
|
+
documenttype?: string | null;
|
|
36899
|
+
id?: string;
|
|
36900
|
+
idempotentie_sleutel: string;
|
|
36901
|
+
reden: string;
|
|
36902
|
+
};
|
|
36903
|
+
Update: {
|
|
36904
|
+
bestaande_job_id?: string | null;
|
|
36905
|
+
created_at?: string;
|
|
36906
|
+
detail?: string | null;
|
|
36907
|
+
documentnaam?: string | null;
|
|
36908
|
+
documenttype?: string | null;
|
|
36909
|
+
id?: string;
|
|
36910
|
+
idempotentie_sleutel?: string;
|
|
36911
|
+
reden?: string;
|
|
36912
|
+
};
|
|
36913
|
+
Relationships: [];
|
|
36914
|
+
};
|
|
36833
36915
|
print_job_logs: {
|
|
36834
36916
|
Row: {
|
|
36835
36917
|
created_at: string;
|
|
@@ -45571,6 +45653,14 @@ export declare const verstuurPrintOpdracht: import("@tanstack/start-client-core"
|
|
|
45571
45653
|
_session_id?: string;
|
|
45572
45654
|
};
|
|
45573
45655
|
Returns: string;
|
|
45656
|
+
} | {
|
|
45657
|
+
Args: {
|
|
45658
|
+
_is_herprint?: boolean;
|
|
45659
|
+
_printer_id?: string;
|
|
45660
|
+
_queue_item_id: string;
|
|
45661
|
+
_session_id?: string;
|
|
45662
|
+
};
|
|
45663
|
+
Returns: string;
|
|
45574
45664
|
};
|
|
45575
45665
|
pick_order_context: {
|
|
45576
45666
|
Args: {
|
|
@@ -45873,6 +45963,14 @@ export declare const verstuurPrintOpdracht: import("@tanstack/start-client-core"
|
|
|
45873
45963
|
};
|
|
45874
45964
|
Returns: undefined;
|
|
45875
45965
|
};
|
|
45966
|
+
replace_order_carts: {
|
|
45967
|
+
Args: {
|
|
45968
|
+
p_buffer_id: string;
|
|
45969
|
+
p_carts: import("../integrations/supabase/types.js").Json;
|
|
45970
|
+
p_order_id: string;
|
|
45971
|
+
};
|
|
45972
|
+
Returns: import("../integrations/supabase/types.js").Json;
|
|
45973
|
+
};
|
|
45876
45974
|
reset_floriday_sync_cursor: {
|
|
45877
45975
|
Args: {
|
|
45878
45976
|
p_connection_id: string;
|
|
@@ -60094,6 +60192,39 @@ export declare const printStatus: import("@tanstack/start-client-core").Required
|
|
|
60094
60192
|
};
|
|
60095
60193
|
Relationships: [];
|
|
60096
60194
|
};
|
|
60195
|
+
print_dedupe_events: {
|
|
60196
|
+
Row: {
|
|
60197
|
+
bestaande_job_id: string | null;
|
|
60198
|
+
created_at: string;
|
|
60199
|
+
detail: string | null;
|
|
60200
|
+
documentnaam: string | null;
|
|
60201
|
+
documenttype: string | null;
|
|
60202
|
+
id: string;
|
|
60203
|
+
idempotentie_sleutel: string;
|
|
60204
|
+
reden: string;
|
|
60205
|
+
};
|
|
60206
|
+
Insert: {
|
|
60207
|
+
bestaande_job_id?: string | null;
|
|
60208
|
+
created_at?: string;
|
|
60209
|
+
detail?: string | null;
|
|
60210
|
+
documentnaam?: string | null;
|
|
60211
|
+
documenttype?: string | null;
|
|
60212
|
+
id?: string;
|
|
60213
|
+
idempotentie_sleutel: string;
|
|
60214
|
+
reden: string;
|
|
60215
|
+
};
|
|
60216
|
+
Update: {
|
|
60217
|
+
bestaande_job_id?: string | null;
|
|
60218
|
+
created_at?: string;
|
|
60219
|
+
detail?: string | null;
|
|
60220
|
+
documentnaam?: string | null;
|
|
60221
|
+
documenttype?: string | null;
|
|
60222
|
+
id?: string;
|
|
60223
|
+
idempotentie_sleutel?: string;
|
|
60224
|
+
reden?: string;
|
|
60225
|
+
};
|
|
60226
|
+
Relationships: [];
|
|
60227
|
+
};
|
|
60097
60228
|
print_job_logs: {
|
|
60098
60229
|
Row: {
|
|
60099
60230
|
created_at: string;
|
|
@@ -68835,6 +68966,14 @@ export declare const printStatus: import("@tanstack/start-client-core").Required
|
|
|
68835
68966
|
_session_id?: string;
|
|
68836
68967
|
};
|
|
68837
68968
|
Returns: string;
|
|
68969
|
+
} | {
|
|
68970
|
+
Args: {
|
|
68971
|
+
_is_herprint?: boolean;
|
|
68972
|
+
_printer_id?: string;
|
|
68973
|
+
_queue_item_id: string;
|
|
68974
|
+
_session_id?: string;
|
|
68975
|
+
};
|
|
68976
|
+
Returns: string;
|
|
68838
68977
|
};
|
|
68839
68978
|
pick_order_context: {
|
|
68840
68979
|
Args: {
|
|
@@ -69137,6 +69276,14 @@ export declare const printStatus: import("@tanstack/start-client-core").Required
|
|
|
69137
69276
|
};
|
|
69138
69277
|
Returns: undefined;
|
|
69139
69278
|
};
|
|
69279
|
+
replace_order_carts: {
|
|
69280
|
+
Args: {
|
|
69281
|
+
p_buffer_id: string;
|
|
69282
|
+
p_carts: import("../integrations/supabase/types.js").Json;
|
|
69283
|
+
p_order_id: string;
|
|
69284
|
+
};
|
|
69285
|
+
Returns: import("../integrations/supabase/types.js").Json;
|
|
69286
|
+
};
|
|
69140
69287
|
reset_floriday_sync_cursor: {
|
|
69141
69288
|
Args: {
|
|
69142
69289
|
p_connection_id: string;
|
|
@@ -83352,6 +83499,39 @@ export declare const netwerkComputers: import("@tanstack/start-client-core").Opt
|
|
|
83352
83499
|
};
|
|
83353
83500
|
Relationships: [];
|
|
83354
83501
|
};
|
|
83502
|
+
print_dedupe_events: {
|
|
83503
|
+
Row: {
|
|
83504
|
+
bestaande_job_id: string | null;
|
|
83505
|
+
created_at: string;
|
|
83506
|
+
detail: string | null;
|
|
83507
|
+
documentnaam: string | null;
|
|
83508
|
+
documenttype: string | null;
|
|
83509
|
+
id: string;
|
|
83510
|
+
idempotentie_sleutel: string;
|
|
83511
|
+
reden: string;
|
|
83512
|
+
};
|
|
83513
|
+
Insert: {
|
|
83514
|
+
bestaande_job_id?: string | null;
|
|
83515
|
+
created_at?: string;
|
|
83516
|
+
detail?: string | null;
|
|
83517
|
+
documentnaam?: string | null;
|
|
83518
|
+
documenttype?: string | null;
|
|
83519
|
+
id?: string;
|
|
83520
|
+
idempotentie_sleutel: string;
|
|
83521
|
+
reden: string;
|
|
83522
|
+
};
|
|
83523
|
+
Update: {
|
|
83524
|
+
bestaande_job_id?: string | null;
|
|
83525
|
+
created_at?: string;
|
|
83526
|
+
detail?: string | null;
|
|
83527
|
+
documentnaam?: string | null;
|
|
83528
|
+
documenttype?: string | null;
|
|
83529
|
+
id?: string;
|
|
83530
|
+
idempotentie_sleutel?: string;
|
|
83531
|
+
reden?: string;
|
|
83532
|
+
};
|
|
83533
|
+
Relationships: [];
|
|
83534
|
+
};
|
|
83355
83535
|
print_job_logs: {
|
|
83356
83536
|
Row: {
|
|
83357
83537
|
created_at: string;
|
|
@@ -92093,6 +92273,14 @@ export declare const netwerkComputers: import("@tanstack/start-client-core").Opt
|
|
|
92093
92273
|
_session_id?: string;
|
|
92094
92274
|
};
|
|
92095
92275
|
Returns: string;
|
|
92276
|
+
} | {
|
|
92277
|
+
Args: {
|
|
92278
|
+
_is_herprint?: boolean;
|
|
92279
|
+
_printer_id?: string;
|
|
92280
|
+
_queue_item_id: string;
|
|
92281
|
+
_session_id?: string;
|
|
92282
|
+
};
|
|
92283
|
+
Returns: string;
|
|
92096
92284
|
};
|
|
92097
92285
|
pick_order_context: {
|
|
92098
92286
|
Args: {
|
|
@@ -92395,6 +92583,14 @@ export declare const netwerkComputers: import("@tanstack/start-client-core").Opt
|
|
|
92395
92583
|
};
|
|
92396
92584
|
Returns: undefined;
|
|
92397
92585
|
};
|
|
92586
|
+
replace_order_carts: {
|
|
92587
|
+
Args: {
|
|
92588
|
+
p_buffer_id: string;
|
|
92589
|
+
p_carts: import("../integrations/supabase/types.js").Json;
|
|
92590
|
+
p_order_id: string;
|
|
92591
|
+
};
|
|
92592
|
+
Returns: import("../integrations/supabase/types.js").Json;
|
|
92593
|
+
};
|
|
92398
92594
|
reset_floriday_sync_cursor: {
|
|
92399
92595
|
Args: {
|
|
92400
92596
|
p_connection_id: string;
|